@univerjs-pro/collaboration-client 0.5.1-nightly.202412031606 → 0.5.1-nightly.202412041606

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 _0x1ab38c=_0x33d2;(function(_0x19e6d8,_0x1e5c3c){const _0x4d88a1=_0x33d2,_0x3d64c3=_0x19e6d8();while(!![]){try{const _0x4e11ef=parseInt(_0x4d88a1(0x2ea))/0x1+parseInt(_0x4d88a1(0x171))/0x2+parseInt(_0x4d88a1(0x5c1))/0x3*(-parseInt(_0x4d88a1(0x2c4))/0x4)+-parseInt(_0x4d88a1(0x59f))/0x5+-parseInt(_0x4d88a1(0x5e9))/0x6*(-parseInt(_0x4d88a1(0x2fe))/0x7)+-parseInt(_0x4d88a1(0x2ce))/0x8*(parseInt(_0x4d88a1(0x584))/0x9)+parseInt(_0x4d88a1(0x5d1))/0xa;if(_0x4e11ef===_0x1e5c3c)break;else _0x3d64c3['push'](_0x3d64c3['shift']());}catch(_0x4b2685){_0x3d64c3['push'](_0x3d64c3['shift']());}}}(_0x2a33,0xef51d));var Fi=Object['defineProperty'],Vi=(_0x4d66d7,_0x31939b,_0x2315e9)=>_0x31939b in _0x4d66d7?Fi(_0x4d66d7,_0x31939b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2315e9}):_0x4d66d7[_0x31939b]=_0x2315e9,I=(_0x2c9aa1,_0x47f251,_0xccc494)=>Vi(_0x2c9aa1,typeof _0x47f251!=_0x1ab38c(0x177)?_0x47f251+'':_0x47f251,_0xccc494);Object[_0x1ab38c(0x322)](exports,Symbol['toStringTag'],{'value':_0x1ab38c(0x550)});const a=require(_0x1ab38c(0x316)),N=require(_0x1ab38c(0x577)),V=require(_0x1ab38c(0x360)),Ce=require('@univerjs/design'),z=require(_0x1ab38c(0x42f)),ee=require(_0x1ab38c(0x383)),m=require(_0x1ab38c(0x431)),Gi=require(_0x1ab38c(0x340)),Ie=require(_0x1ab38c(0x23b)),J=require('@univerjs/docs-ui'),k=require(_0x1ab38c(0x4c8)),Y=require(_0x1ab38c(0x2fa)),te=require(_0x1ab38c(0x253)),$t=require(_0x1ab38c(0x55b)),Le=require(_0x1ab38c(0x2ae)),oe=require('react'),Yi=require(_0x1ab38c(0x197)),fi='SNAPSHOT_SERVER_URL_KEY',qi=_0x1ab38c(0x55c),vi=_0x1ab38c(0x272),Ki=_0x1ab38c(0x504),zi=0x7d0,Si='COLLAB_WEB_SOCKET_URL',Xi='ws://127.0.0.1:8000/universer-api/comb/connect',Ji=_0x1ab38c(0x1b2),pi='HEARTBEAT_INTERVAL',Zi=0x7530,Dt=_0x1ab38c(0x352),mi=0x4e20,Qi=0x4e20,gi=_0x1ab38c(0x554),en=0x3,Ii=_0x1ab38c(0x563),tn=0x3e8,Ci=_0x1ab38c(0x1a8),nn=_0x1ab38c(0x26a),Ei=_0x1ab38c(0x285),rn=_0x1ab38c(0x3a9);var bi=(_0x2fae6e=>(_0x2fae6e[_0x2fae6e['UNDEFINED']=0x0]=_0x1ab38c(0x415),_0x2fae6e[_0x2fae6e['OK']=0x1]='OK',_0x2fae6e[_0x2fae6e['INTERNAL_ERROR']=0x2]=_0x1ab38c(0x345),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x45d)]=0x3]=_0x1ab38c(0x45d),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x2de)]=0x4]=_0x1ab38c(0x2de),_0x2fae6e[_0x2fae6e['UNAUTHENTICATED']=0x5]=_0x1ab38c(0x388),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x2a3)]=0x6]=_0x1ab38c(0x2a3),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x1de)]=0x7]=_0x1ab38c(0x1de),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x604)]=0x8]=_0x1ab38c(0x604),_0x2fae6e[_0x2fae6e['COMPLETION_FINISHED']=0x9]=_0x1ab38c(0x1c9),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x3e7)]=0x1389]=_0x1ab38c(0x3e7),_0x2fae6e[_0x2fae6e['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1ab38c(0x170),_0x2fae6e[_0x2fae6e['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2fae6e[_0x2fae6e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1ab38c(0x2f1),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x3e5)]=0x1b59]=_0x1ab38c(0x3e5),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x35e)]=0x1b5a]=_0x1ab38c(0x35e),_0x2fae6e[_0x2fae6e['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1ab38c(0x48f),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x3c1)]=0x1b5c]=_0x1ab38c(0x3c1),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x491)]=0x1b5d]=_0x1ab38c(0x491),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x400)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2fae6e[_0x2fae6e[_0x1ab38c(0x3c3)]=0x2329]=_0x1ab38c(0x3c3),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x5e4)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2fae6e[_0x2fae6e[_0x1ab38c(0x298)]=0x232b]=_0x1ab38c(0x298),_0x2fae6e[_0x2fae6e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2fae6e[_0x2fae6e[_0x1ab38c(0x1d2)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2fae6e[_0x2fae6e['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2fae6e[_0x2fae6e[_0x1ab38c(0x33b)]=0x2712]=_0x1ab38c(0x33b),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x3e1)]=0x2713]=_0x1ab38c(0x3e1),_0x2fae6e[_0x2fae6e[_0x1ab38c(0x4bd)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2fae6e[_0x2fae6e['UNRECOGNIZED']=-0x1]=_0x1ab38c(0x4d4),_0x2fae6e))(bi||{}),ie=(_0x275d48=>(_0x275d48[_0x275d48['UNIVER_UNKNOWN']=0x0]=_0x1ab38c(0x4b4),_0x275d48[_0x275d48[_0x1ab38c(0x355)]=0x1]='UNIVER_DOC',_0x275d48[_0x275d48[_0x1ab38c(0x2e0)]=0x2]=_0x1ab38c(0x2e0),_0x275d48[_0x275d48[_0x1ab38c(0x175)]=0x3]='UNIVER_SLIDE',_0x275d48[_0x275d48[_0x1ab38c(0x5f8)]=0x4]=_0x1ab38c(0x5f8),_0x275d48[_0x275d48[_0x1ab38c(0x4d4)]=-0x1]=_0x1ab38c(0x4d4),_0x275d48))(ie||{}),G=(_0x187214=>(_0x187214[_0x187214[_0x1ab38c(0x5e5)]=0x0]=_0x1ab38c(0x5e5),_0x187214[_0x187214[_0x1ab38c(0x622)]=0x1]=_0x1ab38c(0x622),_0x187214[_0x187214[_0x1ab38c(0x4ec)]=0x2]=_0x1ab38c(0x4ec),_0x187214[_0x187214[_0x1ab38c(0x59a)]=0x3]=_0x1ab38c(0x59a),_0x187214[_0x187214[_0x1ab38c(0x273)]=0x4]=_0x1ab38c(0x273),_0x187214[_0x187214[_0x1ab38c(0x27e)]=0x5]=_0x1ab38c(0x27e),_0x187214[_0x187214[_0x1ab38c(0x484)]=0x6]='RECV',_0x187214[_0x187214[_0x1ab38c(0x4d4)]=-0x1]='UNRECOGNIZED',_0x187214))(G||{}),ge=(_0x134194=>(_0x134194[_0x134194[_0x1ab38c(0x5e8)]=0x0]=_0x1ab38c(0x5e8),_0x134194[_0x134194['OK']=0x1]='OK',_0x134194[_0x134194[_0x1ab38c(0x50d)]=0x2]=_0x1ab38c(0x50d),_0x134194[_0x134194[_0x1ab38c(0x23e)]=0x3e9]='JOIN_ROOM_FULL',_0x134194[_0x134194['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x1ab38c(0x511),_0x134194[_0x134194[_0x1ab38c(0x19d)]=0x3eb]=_0x1ab38c(0x19d),_0x134194[_0x134194[_0x1ab38c(0x3f1)]=0x3ec]=_0x1ab38c(0x3f1),_0x134194[_0x134194[_0x1ab38c(0x4d4)]=-0x1]='UNRECOGNIZED',_0x134194))(ge||{}),Ti=(_0x46b6ad=>(_0x46b6ad[_0x46b6ad[_0x1ab38c(0x1d0)]=0x0]=_0x1ab38c(0x1d0),_0x46b6ad[_0x46b6ad[_0x1ab38c(0x296)]=0x1]='HttpImport',_0x46b6ad[_0x46b6ad[_0x1ab38c(0x594)]=0x2]='HttpExport',_0x46b6ad[_0x46b6ad['UnitEmbedded']=0x3]=_0x1ab38c(0x5a4),_0x46b6ad[_0x46b6ad[_0x1ab38c(0x2fd)]=0x4]=_0x1ab38c(0x2fd),_0x46b6ad[_0x46b6ad[_0x1ab38c(0x4d4)]=-0x1]='UNRECOGNIZED',_0x46b6ad))(Ti||{});const Z=_0x1ab38c(0x5c7),sn={};function Ri(_0x4432b8){const _0x2f5fb3=_0x1ab38c;var _0x32a5f8,_0x41d20e,_0x4e52e5,_0x1b5fbd,_0x5f542e;const _0x22d151=_0x4432b8['data'],_0xd95104=JSON[_0x2f5fb3(0x625)](_0x22d151);switch(_0xd95104[_0x2f5fb3(0x3ef)]){case G['HEARTBEAT']:case G[_0x2f5fb3(0x622)]:{const _0x48aa12=_0xd95104[_0x2f5fb3(0x558)];return{..._0xd95104,'data':_0x48aa12,'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};}case G[_0x2f5fb3(0x4ec)]:{const _0x5e139e=_0xd95104['joinRsp'];return{..._0xd95104,'data':_0x5e139e,'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};}case G[_0x2f5fb3(0x484)]:{const _0x4d5ee6=_0xd95104['collaMsg'];switch(_0x4d5ee6[_0x2f5fb3(0x25e)]){case m['CollaborationEvent'][_0x2f5fb3(0x399)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':(_0x32a5f8=_0x4d5ee6['permissionRejEvent'])==null?void 0x0:_0x32a5f8['cs']},'cmd':_0xd95104['cmd']};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x405)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':(_0x41d20e=_0x4d5ee6[_0x2f5fb3(0x50e)])==null?void 0x0:_0x41d20e['cs']},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x465)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':(_0x4e52e5=_0x4d5ee6[_0x2f5fb3(0x628)])==null?void 0x0:_0x4e52e5['cs']},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m['CollaborationEvent']['CHANGESET_REJ']:return{..._0xd95104,'data':{..._0x4d5ee6,'data':(_0x1b5fbd=_0x4d5ee6[_0x2f5fb3(0x3cd)])==null?void 0x0:_0x1b5fbd['cs']},'cmd':_0xd95104['cmd']};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x3e6)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':(_0x5f542e=_0x4d5ee6[_0x2f5fb3(0x1e6)])==null?void 0x0:_0x5f542e['cs']},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x57f)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6[_0x2f5fb3(0x3d6)]},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m['CollaborationEvent'][_0x2f5fb3(0x3a0)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6[_0x2f5fb3(0x523)]},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x1c0)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6['leaveEvent']},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m[_0x2f5fb3(0x60d)]['LIVESHARE_NEW_HOST']:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6[_0x2f5fb3(0x4e9)]},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x336)]:case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x478)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6[_0x2f5fb3(0x387)]},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m[_0x2f5fb3(0x60d)]['LIVESHARE_TERMINATE']:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6[_0x2f5fb3(0x4e9)]},'cmd':_0xd95104['cmd']};case m['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0xd95104,'data':_0x4d5ee6,'cmd':_0xd95104['cmd']};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x581)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6[_0x2f5fb3(0x1fa)]},'cmd':_0xd95104[_0x2f5fb3(0x3ef)]};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x231)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6[_0x2f5fb3(0x329)]},'cmd':_0xd95104['cmd']};case m[_0x2f5fb3(0x60d)][_0x2f5fb3(0x60f)]:return{..._0xd95104,'data':{..._0x4d5ee6,'data':_0x4d5ee6[_0x2f5fb3(0x420)]},'cmd':_0xd95104['cmd']};default:return _0xd95104;}}default:return _0xd95104;}}function Oi(_0x9ccd72){const _0x24e1e8=_0x1ab38c;switch(_0x9ccd72[_0x24e1e8(0x3ef)]){case G['HEARTBEAT']:case G[_0x24e1e8(0x622)]:return JSON[_0x24e1e8(0x330)]({'cmd':_0x9ccd72[_0x24e1e8(0x3ef)],'routeKey':_0x9ccd72[_0x24e1e8(0x505)]});case G[_0x24e1e8(0x273)]:{let _0x42f1ef;switch(_0x9ccd72[_0x24e1e8(0x372)][_0x24e1e8(0x25e)]){case m[_0x24e1e8(0x60d)][_0x24e1e8(0x57f)]:{_0x42f1ef={'eventID':m[_0x24e1e8(0x60d)]['UPDATE_CURSOR'],'updateCursorEvent':_0x9ccd72[_0x24e1e8(0x372)][_0x24e1e8(0x372)]};break;}case m[_0x24e1e8(0x60d)][_0x24e1e8(0x1c0)]:{_0x42f1ef={'eventID':m['CollaborationEvent'][_0x24e1e8(0x1c0)],'leaveEvent':_0x9ccd72[_0x24e1e8(0x372)][_0x24e1e8(0x372)]};break;}case m['CollaborationEvent'][_0x24e1e8(0x3a0)]:{_0x42f1ef={'eventID':m['CollaborationEvent'][_0x24e1e8(0x3a0)],'joinEvent':_0x9ccd72['data'][_0x24e1e8(0x372)]};break;}case m[_0x24e1e8(0x60d)][_0x24e1e8(0x546)]:{_0x42f1ef={'eventID':m['CollaborationEvent'][_0x24e1e8(0x546)],'liveShareNewHost':_0x9ccd72[_0x24e1e8(0x372)][_0x24e1e8(0x372)]};break;}case m['CollaborationEvent'][_0x24e1e8(0x478)]:{_0x42f1ef={'eventID':m[_0x24e1e8(0x60d)][_0x24e1e8(0x478)],'liveShareOperation':_0x9ccd72[_0x24e1e8(0x372)][_0x24e1e8(0x372)]};break;}case m['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x42f1ef={'eventID':m[_0x24e1e8(0x60d)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x9ccd72[_0x24e1e8(0x372)][_0x24e1e8(0x372)]};break;}case m[_0x24e1e8(0x60d)][_0x24e1e8(0x35c)]:{_0x42f1ef={'eventID':m['CollaborationEvent'][_0x24e1e8(0x35c)],'liveShareRequestHost':_0x9ccd72[_0x24e1e8(0x372)][_0x24e1e8(0x372)]};break;}case m[_0x24e1e8(0x60d)][_0x24e1e8(0x336)]:{_0x42f1ef={'eventID':m['CollaborationEvent'][_0x24e1e8(0x336)]};break;}default:_0x42f1ef={'eventID':_0x9ccd72[_0x24e1e8(0x372)]['eventID']};}return JSON[_0x24e1e8(0x330)]({'cmd':_0x9ccd72[_0x24e1e8(0x3ef)],'routeKey':_0x9ccd72['routeKey'],'collaMsg':_0x42f1ef});}case G[_0x24e1e8(0x4ec)]:return JSON['stringify']({'cmd':_0x9ccd72[_0x24e1e8(0x3ef)],'routeKey':_0x9ccd72[_0x24e1e8(0x505)],'joinReq':_0x9ccd72[_0x24e1e8(0x372)]});case G[_0x24e1e8(0x59a)]:return JSON[_0x24e1e8(0x330)]({'cmd':_0x9ccd72[_0x24e1e8(0x3ef)],'routeKey':_0x9ccd72[_0x24e1e8(0x505)],'leaveReq':_0x9ccd72[_0x24e1e8(0x372)]});default:throw new Error(_0x24e1e8(0x45f));}}var on=Object[_0x1ab38c(0x322)],an=Object[_0x1ab38c(0x5da)],cn=(_0x3221ef,_0x2823c7,_0x3336ea,_0x54e938)=>{for(var _0x539267=_0x54e938>0x1?void 0x0:_0x54e938?an(_0x2823c7,_0x3336ea):_0x2823c7,_0x34b059=_0x3221ef['length']-0x1,_0x1b2c01;_0x34b059>=0x0;_0x34b059--)(_0x1b2c01=_0x3221ef[_0x34b059])&&(_0x539267=(_0x54e938?_0x1b2c01(_0x2823c7,_0x3336ea,_0x539267):_0x1b2c01(_0x539267))||_0x539267);return _0x54e938&&_0x539267&&on(_0x2823c7,_0x3336ea,_0x539267),_0x539267;},De=(_0x10102d,_0x1e142a)=>(_0x10479a,_0x489abc)=>_0x1e142a(_0x10479a,_0x489abc,_0x10102d);const Pt=a[_0x1ab38c(0x4d5)](_0x1ab38c(0x23c));function ln(_0x52271e,_0x23f33a,_0x52f9d8){const _0x1424df=_0x1ab38c;return _0x52271e+'/'+_0x23f33a+_0x1424df(0x57d)+_0x52f9d8+_0x1424df(0x374);}exports[_0x1ab38c(0x5dd)]=class extends a[_0x1ab38c(0x382)]{constructor(_0x212ab0,_0x1cbe65,_0x16b780,_0x4afff1,_0xbab996){const _0x251bbb=_0x1ab38c;super(),this[_0x251bbb(0x2df)]=_0x212ab0,this[_0x251bbb(0x3ad)]=_0x1cbe65,this['_configService']=_0x16b780,this['_logService']=_0x4afff1,this['_snapshotServerService']=_0xbab996;}[_0x1ab38c(0x4ad)](_0x1f46a3){const _0x3adaa5=_0x1ab38c,_0x370051=this[_0x3adaa5(0x3ad)][_0x3adaa5(0x4ad)](_0x1f46a3);if(!_0x370051)throw new Error(_0x3adaa5(0x536));const _0x2d1a43=new a[(_0x3adaa5(0x568))](),_0x4e8cc0=new N[(_0x3adaa5(0x2dc))]();_0x2d1a43[_0x3adaa5(0x3ed)](_0x370051[_0x3adaa5(0x561)]['subscribe'](_0x579fa5=>_0x4e8cc0['next'](_0x579fa5))),_0x2d1a43[_0x3adaa5(0x3ed)](a[_0x3adaa5(0x1fb)](()=>_0x4e8cc0[_0x3adaa5(0x1b0)]()));const _0x51f881=new N[(_0x3adaa5(0x2dc))]();_0x2d1a43['add'](_0x370051['error$'][_0x3adaa5(0x2cc)](_0x277550=>_0x51f881[_0x3adaa5(0x2c0)](_0x277550))),_0x2d1a43[_0x3adaa5(0x3ed)](a[_0x3adaa5(0x1fb)](()=>_0x51f881[_0x3adaa5(0x1b0)]()));const _0xc73501=new N[(_0x3adaa5(0x2dc))]();_0x2d1a43[_0x3adaa5(0x3ed)](_0x370051[_0x3adaa5(0x233)][_0x3adaa5(0x2cc)](_0x1b23be=>{const _0x103899=_0x3adaa5,_0x52962d=Ri(_0x1b23be);_0xc73501[_0x103899(0x2c0)](_0x52962d);})),_0x2d1a43[_0x3adaa5(0x3ed)](a[_0x3adaa5(0x1fb)](()=>_0xc73501[_0x3adaa5(0x1b0)]()));let _0x31013c;const _0x4c0fc1=()=>{const _0x378eea=_0x3adaa5;_0x51f881['next'](new Event(_0x378eea(0x29f))),_0x4e8cc0[_0x378eea(0x2c0)](new CloseEvent('connection\x20error')),_0x31013c[_0x378eea(0x4d2)]();};return _0x31013c={'memberID':'','close$':_0x4e8cc0[_0x3adaa5(0x3b4)](),'error$':_0x51f881[_0x3adaa5(0x3b4)](),'open$':_0x370051[_0x3adaa5(0x492)],'message$':_0xc73501[_0x3adaa5(0x3b4)](),'send':_0x306ed8=>{const _0x5ec128=_0x3adaa5;if(_0x306ed8[_0x5ec128(0x3ef)]===G['INGEST']){if(_0x306ed8[_0x5ec128(0x372)][_0x5ec128(0x25e)]===m[_0x5ec128(0x60d)][_0x5ec128(0x25a)]){this[_0x5ec128(0x2e9)](_0x31013c,_0x306ed8[_0x5ec128(0x372)])['catch'](_0x37047e=>{const _0x3e1ba1=_0x5ec128;this[_0x3e1ba1(0x4d3)][_0x3e1ba1(0x48d)](_0x37047e),_0x4c0fc1();});return;}if(_0x306ed8[_0x5ec128(0x372)][_0x5ec128(0x25e)]===m[_0x5ec128(0x60d)][_0x5ec128(0x288)]){const _0x365fc5=_0x306ed8['data'];this[_0x5ec128(0x506)](_0x365fc5)['then'](_0xfd7cc5=>{const _0x565424=_0x5ec128;_0xc73501[_0x565424(0x2c0)]({'cmd':G['RECV'],'code':ge['OK'],'routeKey':_0x365fc5[_0x565424(0x372)][_0x565424(0x3d4)],'routeType':'','data':{'eventID':m['CollaborationEvent'][_0x565424(0x4e8)],'data':{'changesets':_0xfd7cc5}}});})[_0x5ec128(0x3fe)](_0x40d57c=>{const _0xc839cc=_0x5ec128;this[_0xc839cc(0x4d3)][_0xc839cc(0x48d)](_0x40d57c),_0x4c0fc1();});return;}}_0x370051['send'](Oi(_0x306ed8));},'close':()=>{const _0x5d1b6a=_0x3adaa5;_0x370051[_0x5d1b6a(0x4d2)](),_0x2d1a43[_0x5d1b6a(0x31c)]();}},_0x31013c;}async[_0x1ab38c(0x2e9)](_0x39a200,_0x26340b){const _0x5ee5cf=_0x1ab38c;var _0x46bca4,_0x2e5067;const {unitType:_0x149823,unitID:_0x1f3ea3,changeset:_0x5f04c4}=_0x26340b[_0x5ee5cf(0x372)],_0x4757d3={'unitID':_0x1f3ea3,'memberID':_0x39a200[_0x5ee5cf(0x4c3)],'type':_0x149823,'changeset':m[_0x5ee5cf(0x1ed)](_0x5f04c4)},_0x596967=this[_0x5ee5cf(0x3fd)]['getConfig'](Ci),_0x13f910=this[_0x5ee5cf(0x3fd)]['getConfig'](Z),_0x1a824e=ln((_0x2e5067=(_0x46bca4=_0x13f910==null?void 0x0:_0x13f910[_0x5ee5cf(0x512)])!=null?_0x46bca4:_0x596967)!=null?_0x2e5067:nn,_0x149823,_0x1f3ea3);try{await this[_0x5ee5cf(0x2df)]['post'](_0x1a824e,{'body':_0x4757d3});}catch(_0x2f5e6c){throw this[_0x5ee5cf(0x4d3)]['error'](_0x5ee5cf(0x615),_0x5ee5cf(0x45a)),_0x2f5e6c;}}async[_0x1ab38c(0x506)](_0x949984){const _0x3e074c=_0x1ab38c,{unitID:_0x2399d1,from:_0x111428,to:_0x2d9c16,unitType:_0x4b1e67}=_0x949984[_0x3e074c(0x372)];return(await this[_0x3e074c(0x3fc)][_0x3e074c(0x476)]({'metadata':void 0x0},{'unitID':_0x2399d1,'type':_0x4b1e67,'from':_0x111428,'to':_0x2d9c16}))[_0x3e074c(0x51e)];}},exports[_0x1ab38c(0x5dd)]=cn([De(0x0,a['Inject'](z['HTTPService'])),De(0x1,a[_0x1ab38c(0x56d)](z['WebSocketService'])),De(0x2,a[_0x1ab38c(0x5bc)]),De(0x3,a['ILogService']),De(0x4,m['ISnapshotServerService'])],exports['CollaborationSocketService']);const hn=_0x1ab38c(0x267);function _n(_0xc9f98c){const _0x26aa4c=_0x1ab38c;return JSON[_0x26aa4c(0x330)](_0xc9f98c)[_0x26aa4c(0x2b7)];}class wt{constructor(){const _0x5141a5=_0x1ab38c;I(this,_0x5141a5(0x45b),new N['Subject']()),I(this,_0x5141a5(0x559),this['_commentUpdate$']['asObservable']());}[_0x1ab38c(0x21b)](_0x1cfe42){const _0x26739a=_0x1ab38c;this[_0x26739a(0x45b)]['next'](_0x1cfe42);}}var un=Object[_0x1ab38c(0x322)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x51e982,_0x6ab513,_0x3cc4ee,_0x3fc6e9)=>{const _0x4f6660=_0x1ab38c;for(var _0x5233c8=_0x3fc6e9>0x1?void 0x0:_0x3fc6e9?dn(_0x6ab513,_0x3cc4ee):_0x6ab513,_0x5aced7=_0x51e982[_0x4f6660(0x2b7)]-0x1,_0x3d72ef;_0x5aced7>=0x0;_0x5aced7--)(_0x3d72ef=_0x51e982[_0x5aced7])&&(_0x5233c8=(_0x3fc6e9?_0x3d72ef(_0x6ab513,_0x3cc4ee,_0x5233c8):_0x3d72ef(_0x5233c8))||_0x5233c8);return _0x3fc6e9&&_0x5233c8&&un(_0x6ab513,_0x3cc4ee,_0x5233c8),_0x5233c8;},jt=(_0x4d40c3,_0x45ec35)=>(_0x51d2a6,_0xd93703)=>_0x45ec35(_0x51d2a6,_0xd93703,_0x4d40c3);exports[_0x1ab38c(0x32f)]=class extends a[_0x1ab38c(0x382)]{constructor(_0x1dba97,_0x20f7a7){const _0x4de5a7=_0x1ab38c;super(),I(this,'_roomMembers',new Map()),(this['_univerInstanceService']=_0x1dba97,this[_0x4de5a7(0x5d5)]=_0x20f7a7,this[_0x4de5a7(0x4ae)](a[_0x4de5a7(0x1fb)](N[_0x4de5a7(0x24f)](this[_0x4de5a7(0x3b6)]['getTypeOfUnitDisposed$'](a[_0x4de5a7(0x564)][_0x4de5a7(0x2e0)])[_0x4de5a7(0x21a)](V['map'](_0x1073d2=>_0x1073d2[_0x4de5a7(0x2f9)]())),this['_univerInstanceService'][_0x4de5a7(0x4cd)](a[_0x4de5a7(0x564)]['UNIVER_DOC'])[_0x4de5a7(0x21a)](V['map'](_0x5f15e6=>_0x5f15e6[_0x4de5a7(0x2f9)]())),this[_0x4de5a7(0x3b6)]['getTypeOfUnitDisposed$'](a[_0x4de5a7(0x564)]['UNIVER_SLIDE'])[_0x4de5a7(0x21a)](V['map'](_0x25cfff=>_0x25cfff[_0x4de5a7(0x2f9)]())))['subscribe'](_0x24299f=>this[_0x4de5a7(0x3f8)](_0x24299f)))));}[_0x1ab38c(0x5aa)](_0x1ec41e){const _0x5d6328=_0x1ab38c;this[_0x5d6328(0x5d5)][_0x5d6328(0x5aa)](_0x1ec41e);}[_0x1ab38c(0x4f4)](){const _0x1bce71=_0x1ab38c;return this[_0x1bce71(0x5d5)]['getCurrentUser']();}[_0x1ab38c(0x183)](_0x38289a,_0x281d97){const _0x2d0491=_0x1ab38c;let _0x259556=this['_roomMembers'][_0x2d0491(0x3f9)](_0x38289a);_0x259556||(_0x259556=new vn(),this[_0x2d0491(0x24e)][_0x2d0491(0x1c6)](_0x38289a,_0x259556)),_0x259556[_0x2d0491(0x183)](_0x281d97);}[_0x1ab38c(0x447)](_0x5180d6,_0x6af4e7){const _0x4c2529=_0x1ab38c,_0x5abbb8=this[_0x4c2529(0x24e)][_0x4c2529(0x3f9)](_0x5180d6);_0x5abbb8&&_0x5abbb8[_0x4c2529(0x447)](_0x6af4e7);}[_0x1ab38c(0x445)](_0xbf3a7e){const _0x359234=_0x1ab38c;return this[_0x359234(0x24e)][_0x359234(0x3f9)](_0xbf3a7e);}['getMember'](_0x50916f,_0xb86f54){const _0x189f9f=_0x1ab38c,_0x41fbfb=this['_roomMembers']['get'](_0x50916f);if(_0x41fbfb)return _0x41fbfb[_0x189f9f(0x530)](_0xb86f54);}[_0x1ab38c(0x3f8)](_0x30ca1d){const _0x1baa2c=_0x1ab38c,_0x5ddca3=this[_0x1baa2c(0x24e)][_0x1baa2c(0x3f9)](_0x30ca1d);_0x5ddca3&&(_0x5ddca3['dispose'](),this[_0x1baa2c(0x24e)][_0x1baa2c(0x5d0)](_0x30ca1d));}[_0x1ab38c(0x31c)](){const _0x82f325=_0x1ab38c;this['_roomMembers'][_0x82f325(0x3f4)](_0x93395=>_0x93395[_0x82f325(0x31c)]()),this[_0x82f325(0x24e)][_0x82f325(0x5c8)]();}},exports[_0x1ab38c(0x32f)]=fn([jt(0x0,a[_0x1ab38c(0x585)]),jt(0x1,a['Inject'](a[_0x1ab38c(0x416)]))],exports[_0x1ab38c(0x32f)]);class vn extends a[_0x1ab38c(0x382)]{constructor(){const _0x328b99=_0x1ab38c;super(...arguments),I(this,_0x328b99(0x2b5),new Map());}[_0x1ab38c(0x31c)](){const _0x32d8e4=_0x1ab38c;this[_0x32d8e4(0x2b5)][_0x32d8e4(0x5c8)]();}[_0x1ab38c(0x183)](_0x5ed3ff){const _0x2e3dd3=_0x1ab38c;this[_0x2e3dd3(0x2b5)]['set'](_0x5ed3ff[_0x2e3dd3(0x4c3)],_0x5ed3ff);}[_0x1ab38c(0x447)](_0x777b4b){const _0x5ac4d2=_0x1ab38c;this[_0x5ac4d2(0x2b5)]['delete'](_0x777b4b);}[_0x1ab38c(0x530)](_0x322597){const _0x572418=_0x1ab38c;return this[_0x572418(0x2b5)][_0x572418(0x3f9)](_0x322597);}['getAllMembers'](){const _0x51f005=_0x1ab38c;return Array[_0x51f005(0x17c)](this[_0x51f005(0x2b5)][_0x51f005(0x611)]());}}var Sn=Object[_0x1ab38c(0x322)],pn=Object['getOwnPropertyDescriptor'],mn=(_0x3a6125,_0x3276b6,_0x3f6170,_0x1615a8)=>{for(var _0x17afd6=_0x1615a8>0x1?void 0x0:_0x1615a8?pn(_0x3276b6,_0x3f6170):_0x3276b6,_0x5e1941=_0x3a6125['length']-0x1,_0x2d371a;_0x5e1941>=0x0;_0x5e1941--)(_0x2d371a=_0x3a6125[_0x5e1941])&&(_0x17afd6=(_0x1615a8?_0x2d371a(_0x3276b6,_0x3f6170,_0x17afd6):_0x2d371a(_0x17afd6))||_0x17afd6);return _0x1615a8&&_0x17afd6&&Sn(_0x3276b6,_0x3f6170,_0x17afd6),_0x17afd6;},ue=(_0x27aaad,_0x1bbdda)=>(_0x5a2f13,_0x2c9a24)=>_0x1bbdda(_0x5a2f13,_0x2c9a24,_0x27aaad),ne=(_0x38fca1=>(_0x38fca1[_0x38fca1[_0x1ab38c(0x315)]=0x0]=_0x1ab38c(0x315),_0x38fca1[_0x38fca1[_0x1ab38c(0x3c0)]=0x1]=_0x1ab38c(0x3c0),_0x38fca1[_0x38fca1[_0x1ab38c(0x1e7)]=0x2]=_0x1ab38c(0x1e7),_0x38fca1[_0x38fca1[_0x1ab38c(0x36a)]=0x3]=_0x1ab38c(0x36a),_0x38fca1))(ne||{});const Ht={[ge[_0x1ab38c(0x50d)]]:_0x1ab38c(0x2ad),[ge[_0x1ab38c(0x23e)]]:'session.room-full',[ge[_0x1ab38c(0x511)]]:'session.room-not-exists',[ge[_0x1ab38c(0x19d)]]:_0x1ab38c(0x38a),[ge[_0x1ab38c(0x3f1)]]:'session.room-cnt-exceeds'};exports[_0x1ab38c(0x3db)]=class extends a[_0x1ab38c(0x579)]{constructor(_0x2b5aa3,_0x1bfecf,_0x148061,_0xbbd782,_0x54d5ee,_0x1ffe8e,_0x239733,_0x2aa2fd,_0x40d0a1,_0x10b6eb){const _0x5301fc=_0x1ab38c;super(),I(this,'_sessionStatus$',new N['BehaviorSubject'](0x0)),I(this,_0x5301fc(0x596),this['_sessionStatus$'][_0x5301fc(0x3b4)]()),I(this,_0x5301fc(0x1f5),new N['Subject']()),I(this,'event$',this[_0x5301fc(0x1f5)][_0x5301fc(0x3b4)]()),I(this,'_socket'),I(this,_0x5301fc(0x62c)),I(this,_0x5301fc(0x32a)),I(this,_0x5301fc(0x30e),!0x1),I(this,_0x5301fc(0x514),null),(this[_0x5301fc(0x629)]=_0x2b5aa3,this[_0x5301fc(0x4d3)]=_0x148061,this['_beforeCloseService']=_0xbbd782,this[_0x5301fc(0x3d9)]=_0x54d5ee,this[_0x5301fc(0x3fd)]=_0x1ffe8e,this[_0x5301fc(0x1e1)]=_0x239733,this[_0x5301fc(0x361)]=_0x2aa2fd,this[_0x5301fc(0x2aa)]=_0x40d0a1,this[_0x5301fc(0x1b3)]=_0x10b6eb,this[_0x5301fc(0x30e)]=!!this[_0x5301fc(0x1b3)],_0x1bfecf[_0x5301fc(0x21a)](N[_0x5301fc(0x37c)](this[_0x5301fc(0x326)]))[_0x5301fc(0x2cc)](_0x2d4109=>{const _0xf668e5=_0x5301fc;var _0x30c75d;typeof _0x2d4109>'u'||(this[_0xf668e5(0x599)]=_0x2d4109,_0x2d4109?(this[_0xf668e5(0x42a)](_0x2d4109),this[_0xf668e5(0x62c)]=_0x2d4109[_0xf668e5(0x233)][_0xf668e5(0x2cc)](_0x56b169=>{const _0x346f2e=_0xf668e5;_0x56b169[_0x346f2e(0x505)]===this[_0x346f2e(0x629)]&&this[_0x346f2e(0x34c)](_0x56b169);})):(this[_0xf668e5(0x631)](),this[_0xf668e5(0x201)][_0xf668e5(0x2c0)](0x2),(_0x30c75d=this[_0xf668e5(0x62c)])==null||_0x30c75d[_0xf668e5(0x1f0)](),this[_0xf668e5(0x62c)]=null));}),this['disposeWithMe'](this[_0x5301fc(0x605)][_0x5301fc(0x39d)](()=>{const _0x438b3f=_0x5301fc;var _0x208a9f;(_0x208a9f=this[_0x438b3f(0x599)])==null||_0x208a9f[_0x438b3f(0x5fb)]({'cmd':G['LEAVE'],'data':{'roomID':this['_unitID']}});})));}get[_0x1ab38c(0x562)](){const _0x16a34c=_0x1ab38c;return this[_0x16a34c(0x201)][_0x16a34c(0x2f7)]();}[_0x1ab38c(0x342)](){const _0x695557=_0x1ab38c;var _0x4c80db,_0x52075e;return(_0x52075e=(_0x4c80db=this[_0x695557(0x599)])==null?void 0x0:_0x4c80db['memberID'])!=null?_0x52075e:null;}[_0x1ab38c(0x31c)](){const _0x2cbabd=_0x1ab38c;super[_0x2cbabd(0x31c)](),this[_0x2cbabd(0x326)][_0x2cbabd(0x2c0)](),this[_0x2cbabd(0x326)][_0x2cbabd(0x1b0)]();}[_0x1ab38c(0x4d2)](){const _0x549b22=_0x1ab38c;var _0xbaab2e,_0x48968b;this['_throwTelemetryCollaborationNewChangeset'](),(_0xbaab2e=this['_socket'])==null||_0xbaab2e[_0x549b22(0x5fb)]({'cmd':G[_0x549b22(0x59a)],'data':{'roomID':this['_unitID']}}),(_0x48968b=this[_0x549b22(0x599)])==null||_0x48968b[_0x549b22(0x4d2)](),this[_0x549b22(0x1f5)]['complete'](),this[_0x549b22(0x201)]['complete'](),this[_0x549b22(0x31c)]();}[_0x1ab38c(0x34c)](_0x112c69){const _0x15975c=_0x1ab38c;_0x112c69[_0x15975c(0x3ef)]===G[_0x15975c(0x4ec)]?this[_0x15975c(0x332)](_0x112c69):_0x112c69[_0x15975c(0x3ef)]===G[_0x15975c(0x484)]&&this[_0x15975c(0x417)](_0x112c69);}[_0x1ab38c(0x42a)](_0x2bc289){const _0x1f46e8=_0x1ab38c;this[_0x1f46e8(0x201)][_0x1f46e8(0x2c0)](0x1),_0x2bc289[_0x1f46e8(0x5fb)]({'cmd':G['JOIN'],'routeKey':this[_0x1f46e8(0x629)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1f46e8(0x629)]}]}});}[_0x1ab38c(0x332)](_0x4e288f){const _0x40a060=_0x1ab38c;var _0x4d1afa;if(_0x4e288f[_0x40a060(0x482)]in Ht){this['_messageService'][_0x40a060(0x19e)]({'type':Ce[_0x40a060(0x16e)][_0x40a060(0x475)],'content':this[_0x40a060(0x1e1)]['t'](Ht[_0x4e288f['code']])}),this['_sessionStatus$']['next'](0x2);return;}this[_0x40a060(0x201)]['next'](0x3);const _0x53a629=(_0x4d1afa=_0x4e288f[_0x40a060(0x372)][_0x40a060(0x498)][this['_unitID']])==null?void 0x0:_0x4d1afa[_0x40a060(0x588)];_0x53a629&&_0x53a629['forEach'](_0x4f59ea=>this[_0x40a060(0x361)][_0x40a060(0x183)](this['_unitID'],_0x4f59ea));}[_0x1ab38c(0x417)](_0x1cf103){const _0x1e5338=_0x1ab38c;try{const _0x17357d=_0x1cf103['data'];switch(_0x17357d[_0x1e5338(0x25e)]){case m[_0x1e5338(0x60d)][_0x1e5338(0x3a0)]:this[_0x1e5338(0x1cf)](_0x17357d),this[_0x1e5338(0x1f5)]['next'](_0x17357d);break;case m[_0x1e5338(0x60d)][_0x1e5338(0x1c0)]:this[_0x1e5338(0x299)](_0x17357d),this[_0x1e5338(0x1f5)][_0x1e5338(0x2c0)](_0x17357d);break;case m[_0x1e5338(0x60d)]['CHANGESET_ACK']:case m[_0x1e5338(0x60d)]['CHANGESET_SHOULD_RETRY']:this[_0x1e5338(0x4ce)](),this[_0x1e5338(0x279)](),this[_0x1e5338(0x1f5)][_0x1e5338(0x2c0)](_0x17357d);break;case m[_0x1e5338(0x60d)][_0x1e5338(0x3a8)]:this[_0x1e5338(0x4d3)][_0x1e5338(0x48d)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x17357d)),this[_0x1e5338(0x1f5)][_0x1e5338(0x2c0)](_0x17357d);break;case m[_0x1e5338(0x60d)][_0x1e5338(0x581)]:this[_0x1e5338(0x2aa)][_0x1e5338(0x21b)](_0x17357d[_0x1e5338(0x372)]),this[_0x1e5338(0x1f5)]['next'](_0x17357d);break;default:this['_event$'][_0x1e5338(0x2c0)](_0x17357d);}}catch(_0x4e6c6a){this[_0x1e5338(0x4d3)][_0x1e5338(0x48d)](_0x4e6c6a,_0x1cf103);}}[_0x1ab38c(0x1cf)](_0x16ebeb){const _0x330795=_0x1ab38c;this['_memberService']['updateMember'](this[_0x330795(0x629)],_0x16ebeb['data']);}[_0x1ab38c(0x299)](_0x5c3c1e){const _0xb1fe1c=_0x1ab38c;this[_0xb1fe1c(0x361)][_0xb1fe1c(0x447)](this['_unitID'],_0x5c3c1e[_0xb1fe1c(0x372)][_0xb1fe1c(0x4c3)]);}async[_0x1ab38c(0x5fb)](_0x588cbb,_0x440688){const _0x4487e4=_0x1ab38c;if(this[_0x4487e4(0x562)]!==0x3||!this[_0x4487e4(0x599)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x588cbb['eventID']===m[_0x4487e4(0x60d)][_0x4487e4(0x25a)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x4487e4(0x43d)](_0x588cbb)),this['_socket'][_0x4487e4(0x5fb)]({'cmd':G[_0x4487e4(0x273)],'routeKey':_0x440688,'routeType':'','data':_0x588cbb});}catch(_0x5a596f){this[_0x4487e4(0x4d3)]['error'](_0x5a596f);}}['_scheduleCollaborationTimeoutTimer'](){const _0x26bf5c=_0x1ab38c;var _0x5d422c;this['_collaborationTimeoutTimer']=window[_0x26bf5c(0x45c)](()=>{const _0x5b9f8e=_0x26bf5c;this['_collaborationTimeoutTimer']=null,this['_messageService']['show']({'type':Ce[_0x5b9f8e(0x16e)][_0x5b9f8e(0x527)],'content':this[_0x5b9f8e(0x1e1)]['t'](_0x5b9f8e(0x319))});},(_0x5d422c=this['_configService'][_0x26bf5c(0x489)](Dt))!=null?_0x5d422c:mi);}[_0x1ab38c(0x279)](){const _0x46014a=_0x1ab38c;this[_0x46014a(0x32a)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x46014a(0x32a)]=null);}[_0x1ab38c(0x43d)](_0x119b8b){const _0x1fc455=_0x1ab38c;if(!this[_0x1fc455(0x30e)])return;const {data:_0x558680}=_0x119b8b,{unitID:_0x1707f0,changeset:_0x5eaf25}=_0x558680,{mutations:_0x35e59b,type:_0x794c07}=_0x5eaf25;this['_telemetryInfo']={'unitId':_0x1707f0,'type':_0x794c07,'startTime':performance[_0x1fc455(0x2b1)](),'stopTime':0x0,'duration':0x0,'size':_n(_0x35e59b)};}[_0x1ab38c(0x4ce)](){const _0x3d7582=_0x1ab38c;if(this[_0x3d7582(0x30e)]){if(!this[_0x3d7582(0x514)]){this['_logService'][_0x3d7582(0x48d)](_0x3d7582(0x615),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x3d7582(0x514)][_0x3d7582(0x258)]=performance['now'](),this[_0x3d7582(0x514)][_0x3d7582(0x4a7)]=this[_0x3d7582(0x514)][_0x3d7582(0x258)]-this[_0x3d7582(0x514)][_0x3d7582(0x34f)],this[_0x3d7582(0x1b3)][_0x3d7582(0x221)](hn,this[_0x3d7582(0x514)]),this[_0x3d7582(0x514)]=null;}}[_0x1ab38c(0x631)](){const _0x2865a3=_0x1ab38c;this[_0x2865a3(0x514)]=null;}},exports[_0x1ab38c(0x3db)]=mn([ue(0x2,a['ILogService']),ue(0x3,ee[_0x1ab38c(0x179)]),ue(0x4,ee['IMessageService']),ue(0x5,a[_0x1ab38c(0x5bc)]),ue(0x6,a[_0x1ab38c(0x56d)](a['LocaleService'])),ue(0x7,a[_0x1ab38c(0x56d)](exports['MemberService'])),ue(0x8,a[_0x1ab38c(0x56d)](wt)),ue(0x9,a[_0x1ab38c(0x627)](Gi[_0x1ab38c(0x61f)]))],exports['CollaborationSession']);var gn=Object['defineProperty'],In=Object['getOwnPropertyDescriptor'],Cn=(_0x2ac848,_0x5d166d,_0x15721b,_0x133887)=>{const _0x20296f=_0x1ab38c;for(var _0x1718dd=_0x133887>0x1?void 0x0:_0x133887?In(_0x5d166d,_0x15721b):_0x5d166d,_0x3fb34a=_0x2ac848[_0x20296f(0x2b7)]-0x1,_0x4938b0;_0x3fb34a>=0x0;_0x3fb34a--)(_0x4938b0=_0x2ac848[_0x3fb34a])&&(_0x1718dd=(_0x133887?_0x4938b0(_0x5d166d,_0x15721b,_0x1718dd):_0x4938b0(_0x1718dd))||_0x1718dd);return _0x133887&&_0x1718dd&&gn(_0x5d166d,_0x15721b,_0x1718dd),_0x1718dd;},Se=(_0x3400de,_0x4ee5d4)=>(_0x3c30e2,_0x1eb071)=>_0x4ee5d4(_0x3c30e2,_0x1eb071,_0x3400de);exports[_0x1ab38c(0x1fc)]=class extends a[_0x1ab38c(0x382)]{constructor(_0x3b0fd2,_0x11f8c9,_0x3005d9,_0x3ecbbc,_0x1008c7,_0x3be00f,_0x21b3db){const _0x5b7917=_0x1ab38c;super(),I(this,_0x5b7917(0x483),new N['BehaviorSubject'](void 0x0)),I(this,_0x5b7917(0x632),this['_socket$'][_0x5b7917(0x3b4)]()),I(this,'_candidateSocket',null),I(this,_0x5b7917(0x473),new Map()),I(this,'_status$',new N[(_0x5b7917(0x3bd))](ne[_0x5b7917(0x315)])),I(this,_0x5b7917(0x1af),this[_0x5b7917(0x4f8)]['asObservable']()),I(this,'_socketReady',!0x1),I(this,_0x5b7917(0x370)),I(this,_0x5b7917(0x30c),0x0),I(this,_0x5b7917(0x2fc)),I(this,_0x5b7917(0x229)),(this[_0x5b7917(0x2f8)]=_0x3b0fd2,this[_0x5b7917(0x1e1)]=_0x11f8c9,this[_0x5b7917(0x3d9)]=_0x3005d9,this[_0x5b7917(0x4d3)]=_0x3ecbbc,this[_0x5b7917(0x3fd)]=_0x1008c7,this['_socketService']=_0x3be00f,this[_0x5b7917(0x544)]=_0x21b3db,this[_0x5b7917(0x538)]());}get['_socket'](){const _0xd78bb3=_0x1ab38c;return this[_0xd78bb3(0x483)][_0xd78bb3(0x2f7)]();}[_0x1ab38c(0x538)](){const _0x3b48de=_0x1ab38c;this[_0x3b48de(0x40c)](),this[_0x3b48de(0x1d4)]();}[_0x1ab38c(0x31c)](){const _0x41cc19=_0x1ab38c;super['dispose'](),this[_0x41cc19(0x473)][_0x41cc19(0x3f4)](_0x499971=>_0x499971[_0x41cc19(0x31c)]()),this['_sessions'][_0x41cc19(0x5c8)](),this[_0x41cc19(0x4f8)][_0x41cc19(0x1b0)]();}async[_0x1ab38c(0x1e0)](_0x1638b8){const _0x23b7cf=_0x1ab38c;if(this[_0x23b7cf(0x473)][_0x23b7cf(0x392)](_0x1638b8))return this[_0x23b7cf(0x473)][_0x23b7cf(0x3f9)](_0x1638b8);this['_tryEnsureSocket']();const _0x37493a=this[_0x23b7cf(0x2f8)][_0x23b7cf(0x440)](exports['CollaborationSession'],_0x1638b8,this[_0x23b7cf(0x483)]['asObservable']());return this['_sessions'][_0x23b7cf(0x1c6)](_0x1638b8,_0x37493a),_0x37493a;}[_0x1ab38c(0x40a)](_0x293e10){const _0x54e1e5=_0x1ab38c;var _0x1dbeee;const _0x47726d=this[_0x54e1e5(0x473)][_0x54e1e5(0x3f9)](_0x293e10);_0x47726d&&(this[_0x54e1e5(0x473)]['delete'](_0x293e10),_0x47726d[_0x54e1e5(0x4d2)]()),this['_sessions']['size']||(_0x1dbeee=this['_socket'])==null||_0x1dbeee[_0x54e1e5(0x4d2)]();}['reconnect'](){const _0x29828d=_0x1ab38c;this[_0x29828d(0x30c)]=0x0,this[_0x29828d(0x370)]!=null&&(clearTimeout(this[_0x29828d(0x370)]),this['_retryConnectingTimer']=null),this['_tryReconnect']();}async[_0x1ab38c(0x1df)](){const _0x1eb8fb=_0x1ab38c;var _0x552016,_0x21ccfa,_0x171c1c;const _0x2cf909=this[_0x1eb8fb(0x3fd)]['getConfig'](Z),_0x59d0c3=(_0x552016=_0x2cf909==null?void 0x0:_0x2cf909[_0x1eb8fb(0x5b9)])!=null?_0x552016:Ji;return(_0x171c1c=(_0x21ccfa=(await this[_0x1eb8fb(0x544)]['get'](_0x59d0c3,{'headers':{'Content-Type':_0x1eb8fb(0x19a)}}))[_0x1eb8fb(0x4cf)])==null?void 0x0:_0x21ccfa['ticket'])!=null?_0x171c1c:'';}[_0x1ab38c(0x4e7)](_0x3c7eef){const _0x371fff=_0x1ab38c;var _0x5b4c52,_0x4499fc;const _0x5d9985=this[_0x371fff(0x3fd)][_0x371fff(0x489)](Si),_0x12514a=this[_0x371fff(0x3fd)][_0x371fff(0x489)](Z),_0x4b64d5=(_0x4499fc=(_0x5b4c52=_0x12514a==null?void 0x0:_0x12514a[_0x371fff(0x472)])!=null?_0x5b4c52:_0x5d9985)!=null?_0x4499fc:Xi,_0x487c69=new URL(_0x4b64d5,window[_0x371fff(0x56a)]['origin']);return _0x487c69['searchParams'][_0x371fff(0x1c6)](_0x371fff(0x39b),_0x3c7eef),_0x487c69[_0x371fff(0x612)]();}async[_0x1ab38c(0x3a3)](){const _0x270d1e=_0x1ab38c,_0x58e49c=await this[_0x270d1e(0x1df)](),_0x2a5476=this[_0x270d1e(0x4e7)](_0x58e49c),_0xaa9fe9=this[_0x270d1e(0x532)][_0x270d1e(0x4ad)](_0x2a5476);return this['_candidateSocket']=_0xaa9fe9,_0xaa9fe9;}async['_tryEnsureSocket'](){const _0x34a292=_0x1ab38c;var _0x41e1e0,_0x13bf39;try{const _0x473fc9=(_0x13bf39=(_0x41e1e0=this[_0x34a292(0x599)])!=null?_0x41e1e0:this[_0x34a292(0x49b)])!=null?_0x13bf39:await this['_createSocket']();if(_0x473fc9){const _0x59863d=_0x473fc9[_0x34a292(0x5fb)];_0x473fc9['send']=_0x3c3c5b=>(this[_0x34a292(0x41f)](),_0x59863d[_0x34a292(0x444)](_0x473fc9,[_0x3c3c5b])),_0x473fc9[_0x34a292(0x233)]['subscribe'](_0x167ff3=>this['_onMessage'](_0x473fc9,_0x167ff3)),_0x473fc9['error$'][_0x34a292(0x21a)](V['take'](0x1))[_0x34a292(0x2cc)](_0x172fbc=>this[_0x34a292(0x4d3)][_0x34a292(0x48d)]('[CollaborationSessionService]:\x20socket\x20error',_0x172fbc)),_0x473fc9[_0x34a292(0x492)][_0x34a292(0x21a)](V[_0x34a292(0x184)](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x473fc9);}),_0x473fc9['close$'][_0x34a292(0x21a)](V[_0x34a292(0x184)](0x1))[_0x34a292(0x2cc)](_0x3ec994=>{const _0x49e80a=_0x34a292;this[_0x49e80a(0x4d3)]['debug'](_0x49e80a(0x21f),_0x49e80a(0x31d),_0x3ec994),this[_0x49e80a(0x53f)]();});}}catch(_0x573ad3){this[_0x34a292(0x4d3)][_0x34a292(0x48d)](_0x573ad3),this[_0x34a292(0x53f)]();}}[_0x1ab38c(0x2c3)](_0x167db2){const _0x5bf81b=_0x1ab38c;this[_0x5bf81b(0x4d3)][_0x5bf81b(0x479)](_0x5bf81b(0x21f),_0x5bf81b(0x245)),_0x167db2[_0x5bf81b(0x5fb)]({'cmd':G['HELLO']}),this[_0x5bf81b(0x41f)]();}[_0x1ab38c(0x40c)](){const _0x35a4e4=_0x1ab38c;window[_0x35a4e4(0x5b7)]('offline',()=>this[_0x35a4e4(0x411)]());}['_onOffline'](){const _0x5a457d=_0x1ab38c;this[_0x5a457d(0x4f3)]=!0x1,this[_0x5a457d(0x49b)]=null,this[_0x5a457d(0x4f8)][_0x5a457d(0x2c0)](ne[_0x5a457d(0x1e7)]),this['_socket$'][_0x5a457d(0x2c0)](null),this[_0x5a457d(0x350)](),this['_clearHeartbeatTimer']();}[_0x1ab38c(0x53f)](){const _0x2fe8ae=_0x1ab38c;var _0x4175fb;this[_0x2fe8ae(0x411)](),this['_retryCount']<((_0x4175fb=this['_configService'][_0x2fe8ae(0x489)](gi))!=null?_0x4175fb:en)?(this['_messageService'][_0x2fe8ae(0x19e)]({'key':'collaboration-session-retry','type':Ce['MessageType'][_0x2fe8ae(0x475)],'content':this['_localeService']['t'](_0x2fe8ae(0x4ee))}),this[_0x2fe8ae(0x38e)]()):this[_0x2fe8ae(0x3d9)][_0x2fe8ae(0x19e)]({'key':_0x2fe8ae(0x21d),'type':Ce[_0x2fe8ae(0x16e)]['Error'],'content':this[_0x2fe8ae(0x1e1)]['t']('session.connection-failed')});}[_0x1ab38c(0x1d4)](){const _0x187237=_0x1ab38c,_0x42dca0=()=>{const _0x2e67cc=_0x33d2;this[_0x2e67cc(0x599)]||this[_0x2e67cc(0x1eb)]();},_0x154552=()=>{const _0x43d911=_0x33d2;this[_0x43d911(0x599)]||document['visibilityState']===_0x43d911(0x610)||this[_0x43d911(0x1eb)]();};window['addEventListener'](_0x187237(0x46e),_0x42dca0),document[_0x187237(0x5b7)](_0x187237(0x5c4),_0x154552);}[_0x1ab38c(0x38e)](){const _0x28d909=_0x1ab38c;var _0x4daaaa;const _0x1fc068=this[_0x28d909(0x30c)],_0x1152c8=this['_configService']['getConfig'](Z),_0x425ee0=_0x1fc068===0x0?0x0:((_0x4daaaa=_0x1152c8==null?void 0x0:_0x1152c8['retryConnectingInterval'])!=null?_0x4daaaa:Qi)*0x2**_0x1fc068;this[_0x28d909(0x370)]=window[_0x28d909(0x45c)](()=>{const _0x27025c=_0x28d909;clearTimeout(this[_0x27025c(0x370)]),this[_0x27025c(0x370)]=null,this['_tryEnsureSocket']();},_0x425ee0),this['_retryCount']+=0x1;}['_onMessage'](_0x34a343,_0x5b69e3){const _0x367de3=_0x1ab38c,{cmd:_0x2d0c55}=_0x5b69e3;_0x2d0c55===G[_0x367de3(0x622)]&&!this['_socketReady']&&(_0x34a343[_0x367de3(0x4c3)]=_0x5b69e3[_0x367de3(0x372)][_0x367de3(0x4c3)],this[_0x367de3(0x483)][_0x367de3(0x2c0)](_0x34a343),this['_status$'][_0x367de3(0x2c0)](ne[_0x367de3(0x36a)]),this['_socketReady']=!0x0,this[_0x367de3(0x49b)]=null),_0x2d0c55===G['HEARTBEAT']&&this[_0x367de3(0x350)](),this[_0x367de3(0x41f)]();}[_0x1ab38c(0x41f)](){const _0x386a9b=_0x1ab38c;var _0x2b8028;this[_0x386a9b(0x5d6)](),this[_0x386a9b(0x2fc)]=window[_0x386a9b(0x45c)](()=>this['_sendHeartbeat'](),(_0x2b8028=this[_0x386a9b(0x3fd)][_0x386a9b(0x489)](pi))!=null?_0x2b8028:Zi);}[_0x1ab38c(0x3f5)](){const _0x19e921=_0x1ab38c;this[_0x19e921(0x599)][_0x19e921(0x5fb)]({'cmd':G['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x1ab38c(0x53d)](){const _0x562688=_0x1ab38c;var _0x2a842c;this[_0x562688(0x229)]=window['setTimeout'](()=>this[_0x562688(0x53f)](),(_0x2a842c=this[_0x562688(0x3fd)]['getConfig'](Dt))!=null?_0x2a842c:mi);}[_0x1ab38c(0x5d6)](){const _0x3632f5=_0x1ab38c;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x3632f5(0x2fc)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){const _0x3d2515=_0x1ab38c;this[_0x3d2515(0x229)]!=null&&(clearTimeout(this[_0x3d2515(0x229)]),this[_0x3d2515(0x229)]=null);}},exports[_0x1ab38c(0x1fc)]=Cn([Se(0x0,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),Se(0x1,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x394)])),Se(0x2,ee['IMessageService']),Se(0x3,a[_0x1ab38c(0x626)]),Se(0x4,a['IConfigService']),Se(0x5,Pt),Se(0x6,a[_0x1ab38c(0x56d)](z[_0x1ab38c(0x3a1)]))],exports[_0x1ab38c(0x1fc)]);const q=[];for(let r=0x0;r<0x100;++r)q[_0x1ab38c(0x2e4)]((r+0x100)[_0x1ab38c(0x612)](0x10)[_0x1ab38c(0x543)](0x1));function En(_0x1179fb,_0x323b02=0x0){const _0xf10faa=_0x1ab38c;return(q[_0x1179fb[_0x323b02+0x0]]+q[_0x1179fb[_0x323b02+0x1]]+q[_0x1179fb[_0x323b02+0x2]]+q[_0x1179fb[_0x323b02+0x3]]+'-'+q[_0x1179fb[_0x323b02+0x4]]+q[_0x1179fb[_0x323b02+0x5]]+'-'+q[_0x1179fb[_0x323b02+0x6]]+q[_0x1179fb[_0x323b02+0x7]]+'-'+q[_0x1179fb[_0x323b02+0x8]]+q[_0x1179fb[_0x323b02+0x9]]+'-'+q[_0x1179fb[_0x323b02+0xa]]+q[_0x1179fb[_0x323b02+0xb]]+q[_0x1179fb[_0x323b02+0xc]]+q[_0x1179fb[_0x323b02+0xd]]+q[_0x1179fb[_0x323b02+0xe]]+q[_0x1179fb[_0x323b02+0xf]])[_0xf10faa(0x291)]();}let lt;const bn=new Uint8Array(0x10);function Tn(){const _0x1ca6a8=_0x1ab38c;if(!lt){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');lt=crypto[_0x1ca6a8(0x443)][_0x1ca6a8(0x213)](crypto);}return lt(bn);}const Rn=typeof crypto<'u'&&crypto[_0x1ab38c(0x194)]&&crypto[_0x1ab38c(0x194)][_0x1ab38c(0x213)](crypto),Bt={'randomUUID':Rn};function On(_0x4be070,_0x34dc02,_0xb6b301){const _0x1e9139=_0x1ab38c;if(Bt['randomUUID']&&!_0x34dc02&&!_0x4be070)return Bt[_0x1e9139(0x194)]();_0x4be070=_0x4be070||{};const _0xf44069=_0x4be070['random']||(_0x4be070[_0x1e9139(0x313)]||Tn)();return _0xf44069[0x6]=_0xf44069[0x6]&0xf|0x40,_0xf44069[0x8]=_0xf44069[0x8]&0x3f|0x80,En(_0xf44069);}var yn=Object['defineProperty'],Dn=Object[_0x1ab38c(0x5da)],Pn=(_0x4a9cc6,_0x35c73b,_0x3fdadf,_0x5de0d1)=>{const _0x41d648=_0x1ab38c;for(var _0x1190a4=_0x5de0d1>0x1?void 0x0:_0x5de0d1?Dn(_0x35c73b,_0x3fdadf):_0x35c73b,_0x45fdf4=_0x4a9cc6[_0x41d648(0x2b7)]-0x1,_0x2cc1f2;_0x45fdf4>=0x0;_0x45fdf4--)(_0x2cc1f2=_0x4a9cc6[_0x45fdf4])&&(_0x1190a4=(_0x5de0d1?_0x2cc1f2(_0x35c73b,_0x3fdadf,_0x1190a4):_0x2cc1f2(_0x1190a4))||_0x1190a4);return _0x5de0d1&&_0x1190a4&&yn(_0x35c73b,_0x3fdadf,_0x1190a4),_0x1190a4;},ht=(_0x854825,_0x39378f)=>(_0x13c223,_0x201eda)=>_0x39378f(_0x13c223,_0x201eda,_0x854825);let Ze=class{constructor(_0x340092,_0x4c70d8,_0x12e01c){const _0x42a45a=_0x1ab38c;this[_0x42a45a(0x2f8)]=_0x340092,this['_transformService']=_0x4c70d8,this['_renderManagerService']=_0x12e01c;}[_0x1ab38c(0x18c)](_0x2deaf9){const _0x33acbf=_0x1ab38c;this[_0x33acbf(0x25b)](_0x2deaf9),this['_transformPreviousActiveRange'](_0x2deaf9);}[_0x1ab38c(0x1f3)](_0xf940ec){const _0x40061c=_0x1ab38c,{unitID:_0x5b88b3}=_0xf940ec,_0x4ebdcb=this['_renderManagerService']['getRenderById'](_0x5b88b3)[_0x40061c(0x1bf)](J['DocIMEInputManagerService']),{redoCache:_0x6786e6}=_0x4ebdcb[_0x40061c(0x541)]();if(_0x6786e6[_0x40061c(0x2b7)]===0x0)return _0xf940ec;let _0x448411=a['Tools'][_0x40061c(0x252)](_0xf940ec[_0x40061c(0x4ea)][0x0]);for(let _0x56c76b=0x0;_0x56c76b<_0x6786e6[_0x40061c(0x2b7)];_0x56c76b++){const _0x40014a={'id':_0x40061c(0x401),'params':{..._0x6786e6[_0x56c76b]}},_0xf571e6=this[_0x40061c(0x4bc)][_0x40061c(0x5cc)](_0x448411,_0x40014a,!0x1);if(m['isTransformMutationFailure'](_0xf571e6))throw _0xf571e6['error'];_0x448411=_0xf571e6['m1Prime'];}return{...a[_0x40061c(0x5ed)][_0x40061c(0x252)](_0xf940ec),'mutations':[_0x448411]};}['_transformUndoRedoStack'](_0x17118f){const _0x3cbd50=_0x1ab38c,{unitID:_0x30024e}=_0x17118f,_0x4d6337=this[_0x3cbd50(0x173)][_0x3cbd50(0x449)](_0x30024e)[_0x3cbd50(0x1bf)](J[_0x3cbd50(0x375)]),{undoCache:_0x18e7cd,redoCache:_0x5afd4e}=_0x4d6337['getUndoRedoMutationParamsCache']();if(_0x18e7cd[_0x3cbd50(0x2b7)]===0x0||_0x5afd4e[_0x3cbd50(0x2b7)]===0x0)return;const _0x6894b6=[],_0xeca9e6=[];let _0x873eee=a[_0x3cbd50(0x5ed)][_0x3cbd50(0x252)](_0x17118f[_0x3cbd50(0x4ea)][0x0]),_0x1039a0=a['Tools'][_0x3cbd50(0x252)](_0x17118f['mutations'][0x0]);for(let _0x1c45db=_0x18e7cd['length']-0x1;_0x1c45db>=0x0;_0x1c45db--){const _0x36a2c3={'id':_0x3cbd50(0x401),'params':{..._0x18e7cd[_0x1c45db]}},_0x508ae3={'id':_0x3cbd50(0x401),'params':{..._0x5afd4e[_0x1c45db]}},_0x3d67c6=this[_0x3cbd50(0x4bc)][_0x3cbd50(0x5cc)](_0x873eee,_0x36a2c3,!0x1),_0x372bef=this['_transformService'][_0x3cbd50(0x5cc)](_0x1039a0,_0x508ae3,!0x1);if(m['isTransformMutationFailure'](_0x3d67c6))throw _0x3d67c6[_0x3cbd50(0x48d)];if(m[_0x3cbd50(0x226)](_0x372bef))throw _0x372bef['error'];_0x6894b6['unshift'](_0x3d67c6[_0x3cbd50(0x1cb)][_0x3cbd50(0x1f8)]),_0xeca9e6['unshift'](_0x372bef[_0x3cbd50(0x1cb)]['params']),_0x873eee=_0x3d67c6[_0x3cbd50(0x5ad)],_0x1039a0=_0x372bef[_0x3cbd50(0x5ad)];}_0x4d6337[_0x3cbd50(0x37b)]({'undoCache':_0x6894b6,'redoCache':_0xeca9e6});}['_transformPreviousActiveRange'](_0x216fdc){const _0x5838e2=_0x1ab38c,{unitID:_0x4ee520}=_0x216fdc,_0x253157=this[_0x5838e2(0x173)][_0x5838e2(0x449)](_0x4ee520)[_0x5838e2(0x1bf)](J[_0x5838e2(0x375)]),_0x2e68ee=_0x253157['getActiveRange']();if(_0x2e68ee==null)return;const _0x135209=[{'id':_0x5838e2(0x401),'params':{'unitId':_0x216fdc[_0x5838e2(0x3d4)],'actions':null,'textRanges':[_0x2e68ee]}}],_0x3ec2ac=this[_0x5838e2(0x4bc)]['transformMutationsWithChangeset'](_0x216fdc,_0x135209);if(!m[_0x5838e2(0x60c)](_0x3ec2ac))throw _0x3ec2ac[_0x5838e2(0x48d)];const _0x511c03=_0x3ec2ac[_0x5838e2(0x1cb)][0x0][_0x5838e2(0x1f8)][_0x5838e2(0x480)];Array[_0x5838e2(0x28e)](_0x511c03)&&_0x511c03[_0x5838e2(0x2b7)]&&_0x253157[_0x5838e2(0x44f)](_0x511c03[0x0]);}};Ze=Pn([ht(0x0,a['Inject'](a[_0x1ab38c(0x26b)])),ht(0x1,m['ITransformService']),ht(0x2,Y['IRenderManagerService'])],Ze);var wn=Object[_0x1ab38c(0x322)],Un=Object[_0x1ab38c(0x5da)],Mn=(_0x41336f,_0x56284b,_0x4f516f,_0x488041)=>{for(var _0x1f1877=_0x488041>0x1?void 0x0:_0x488041?Un(_0x56284b,_0x4f516f):_0x56284b,_0x13b97f=_0x41336f['length']-0x1,_0x5a6c7b;_0x13b97f>=0x0;_0x13b97f--)(_0x5a6c7b=_0x41336f[_0x13b97f])&&(_0x1f1877=(_0x488041?_0x5a6c7b(_0x56284b,_0x4f516f,_0x1f1877):_0x5a6c7b(_0x1f1877))||_0x1f1877);return _0x488041&&_0x1f1877&&wn(_0x56284b,_0x4f516f,_0x1f1877),_0x1f1877;},Pe=(_0x251fa5,_0x44dd2a)=>(_0x45a5da,_0x16a7cd)=>_0x44dd2a(_0x45a5da,_0x16a7cd,_0x251fa5);exports[_0x1ab38c(0x516)]=class extends a['Disposable']{constructor(_0x48fc8c,_0x2a40a8,_0x5de009,_0x2c9669,_0x5f1a46){const _0x26c068=_0x1ab38c;super(),I(this,_0x26c068(0x206),new Map()),I(this,_0x26c068(0x31f),new Map()),I(this,'_disabled',!0x1),(this[_0x26c068(0x3fd)]=_0x48fc8c,this['_localStorageService']=_0x2a40a8,this[_0x26c068(0x605)]=_0x5de009,this[_0x26c068(0x1e1)]=_0x2c9669,this[_0x26c068(0x276)]=_0x5f1a46,this[_0x26c068(0x1b6)]());}[_0x1ab38c(0x379)](){const _0x5b1d12=_0x1ab38c;this[_0x5b1d12(0x28c)]=!0x0;}['enableLocalCache'](){const _0xa37ff=_0x1ab38c;this[_0xa37ff(0x28c)]=!0x1;}[_0x1ab38c(0x31c)](){const _0x37cb3f=_0x1ab38c;this[_0x37cb3f(0x2b9)]()[_0x37cb3f(0x4f9)](()=>super[_0x37cb3f(0x31c)]());}async[_0x1ab38c(0x309)](_0x532b9a){const _0x563f85=_0x1ab38c;return this[_0x563f85(0x28c)]?null:this['_localStorageService'][_0x563f85(0x27f)](kt(_0x532b9a));}async['saveOfflineData'](_0x2ea53b,_0x104666){const _0x27ac30=_0x1ab38c;return!!this[_0x27ac30(0x335)]['setItem'](_0x2ea53b,_0x104666);}[_0x1ab38c(0x2db)](_0x41ccb2,_0x2e6b1a,_0x313649,_0x381cfa){const _0x4d9a5d=_0x1ab38c,_0x43bce2=this['_revisionService'][_0x4d9a5d(0x56f)](_0x41ccb2);this[_0x4d9a5d(0x206)][_0x4d9a5d(0x1c6)](_0x41ccb2,{'unitID':_0x41ccb2,'type':_0x2e6b1a,'awaitingChangeset':_0x313649,'mutations':_0x381cfa,'rev':_0x43bce2}),this['_saveTaskMap'][_0x4d9a5d(0x392)](_0x41ccb2)||this[_0x4d9a5d(0x262)](_0x41ccb2);}[_0x1ab38c(0x262)](_0x473ce3){const _0x57e354=_0x1ab38c,_0x5f90a7=this[_0x57e354(0x265)]();_0x5f90a7===0x0?this[_0x57e354(0x21e)](_0x473ce3):this[_0x57e354(0x31f)][_0x57e354(0x1c6)](_0x473ce3,setTimeout(()=>this['_saveCache'](_0x473ce3),_0x5f90a7));}[_0x1ab38c(0x265)](){const _0x2da87c=_0x1ab38c;var _0x5c63e2;return(_0x5c63e2=this[_0x2da87c(0x3fd)]['getConfig'](Ii))!=null?_0x5c63e2:tn;}['_saveCache'](_0x33c6d5){const _0x188750=_0x1ab38c,_0x163b62=this[_0x188750(0x31f)][_0x188750(0x3f9)](_0x33c6d5);return _0x163b62!==void 0x0&&window[_0x188750(0x1db)](_0x163b62),this[_0x188750(0x335)][_0x188750(0x34e)](kt(_0x33c6d5),this[_0x188750(0x206)]['get'](_0x33c6d5))[_0x188750(0x4f9)](()=>this[_0x188750(0x31f)][_0x188750(0x5d0)](_0x33c6d5));}async['exhaustSavingTask'](){const _0x5a5a0b=_0x1ab38c,_0xf57a30=[];this['_saveTaskMap']['forEach']((_0x41c2c1,_0x3db097)=>{const _0x24295c=_0x33d2;window['clearTimeout'](_0x41c2c1),_0xf57a30['push'](this[_0x24295c(0x21e)](_0x3db097)[_0x24295c(0x4f9)](()=>{const _0x29368a=_0x24295c;this[_0x29368a(0x31f)][_0x29368a(0x5d0)](_0x3db097);}));}),await Promise[_0x5a5a0b(0x522)](_0xf57a30);}[_0x1ab38c(0x1b6)](){const _0x498da6=_0x1ab38c;this['disposeWithMe'](this[_0x498da6(0x605)][_0x498da6(0x2ab)](()=>{const _0x3a98bb=_0x498da6;if(this['_saveTaskMap'][_0x3a98bb(0x36b)])return this[_0x3a98bb(0x1e1)]['t'](_0x3a98bb(0x23d));}));}},exports[_0x1ab38c(0x516)]=Mn([Pe(0x0,a[_0x1ab38c(0x5bc)]),Pe(0x1,a[_0x1ab38c(0x2a1)]),Pe(0x2,ee[_0x1ab38c(0x179)]),Pe(0x3,a['Inject'](a['LocaleService'])),Pe(0x4,a[_0x1ab38c(0x56d)](m['RevisionService']))],exports[_0x1ab38c(0x516)]);function kt(_0x12a8a4){const _0x1e7fda=_0x1ab38c;return _0x1e7fda(0x4a1)+_0x12a8a4;}var Nn=Object[_0x1ab38c(0x322)],An=Object[_0x1ab38c(0x5da)],Ln=(_0x5e4b7a,_0xe79cef,_0x2bd8f3,_0x453ad5)=>{const _0x1a8aff=_0x1ab38c;for(var _0x4ee7ab=_0x453ad5>0x1?void 0x0:_0x453ad5?An(_0xe79cef,_0x2bd8f3):_0xe79cef,_0x3e08c1=_0x5e4b7a[_0x1a8aff(0x2b7)]-0x1,_0x5a977e;_0x3e08c1>=0x0;_0x3e08c1--)(_0x5a977e=_0x5e4b7a[_0x3e08c1])&&(_0x4ee7ab=(_0x453ad5?_0x5a977e(_0xe79cef,_0x2bd8f3,_0x4ee7ab):_0x5a977e(_0x4ee7ab))||_0x4ee7ab);return _0x453ad5&&_0x4ee7ab&&Nn(_0xe79cef,_0x2bd8f3,_0x4ee7ab),_0x4ee7ab;},_t=(_0x43ca89,_0x2c9aa2)=>(_0x50c494,_0x37feb2)=>_0x2c9aa2(_0x50c494,_0x37feb2,_0x43ca89);function xn(_0x3da07a){const _0x18deff=_0x1ab38c,{unitID:_0x25d214,mutations:_0x1e1ea2}=_0x3da07a;return{'unitId':_0x25d214,'subUnitId':_0x1e1ea2[0x0][_0x18deff(0x1f8)][_0x18deff(0x3aa)]};}let Qe=class{constructor(_0x35f196,_0x1b4945,_0x579123){const _0x40326f=_0x1ab38c;this[_0x40326f(0x2f8)]=_0x35f196,this['_transformService']=_0x1b4945,this['_instanceService']=_0x579123;}['transformSelections'](_0x222b03){const _0x3104cb=_0x1ab38c;var _0x149b1f,_0x12cfd2,_0x55ce88,_0x337618;const _0x4ea75b=this[_0x3104cb(0x2f8)][_0x3104cb(0x3f9)](k[_0x3104cb(0x23a)]),{unitId:_0x47ca3f,subUnitId:_0x20682e}=xn(_0x222b03),_0x26d0ad=_0x4ea75b[_0x3104cb(0x317)](_0x47ca3f)[_0x3104cb(0x188)](),_0x23e24c=(_0x12cfd2=(_0x149b1f=this[_0x3104cb(0x5a9)]['getUnit'](_0x47ca3f))==null?void 0x0:_0x149b1f[_0x3104cb(0x1c1)]())==null?void 0x0:_0x12cfd2[_0x3104cb(0x62b)]();if(_0x26d0ad[_0x3104cb(0x2b7)]===0x0||!_0x47ca3f||!_0x20682e)return;const _0x2320d5=[{'id':k[_0x3104cb(0x1b4)]['id'],'params':{'unitId':_0x47ca3f,'subUnitId':_0x23e24c,'selections':a['Tools']['deepClone'](_0x26d0ad)}}],_0x293df1=this['_transformService']['transformMutationsWithChangeset'](_0x222b03,_0x2320d5);if(!m[_0x3104cb(0x60c)](_0x293df1))throw _0x293df1['error'];const _0x446607=(_0x337618=(_0x55ce88=_0x293df1[_0x3104cb(0x1cb)][0x0])==null?void 0x0:_0x55ce88['params'])==null?void 0x0:_0x337618[_0x3104cb(0x2d4)];if(Array['isArray'](_0x446607)&&_0x446607[_0x3104cb(0x2b7)]){if(_0x446607[_0x3104cb(0x2b7)]===_0x2320d5[0x0][_0x3104cb(0x1f8)][_0x3104cb(0x2d4)][_0x3104cb(0x2b7)]&&_0x446607[_0x3104cb(0x3af)]((_0xe5ae7,_0x308b52)=>a['Rectangle'][_0x3104cb(0x606)](_0xe5ae7[_0x3104cb(0x1ea)],_0x2320d5[0x0]['params']['selections'][_0x308b52]['range'])))return;this[_0x3104cb(0x2f8)][_0x3104cb(0x3f9)](a[_0x3104cb(0x430)])[_0x3104cb(0x59c)](k['SetSelectionsOperation']['id'],{'unitId':_0x47ca3f,'subUnitId':_0x23e24c,'selections':_0x446607});}}};Qe=Ln([_t(0x0,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),_t(0x1,m['ITransformService']),_t(0x2,a[_0x1ab38c(0x585)])],Qe);const at=a[_0x1ab38c(0x4d5)](_0x1ab38c(0x49e));var yi=(_0x2033d8=>(_0x2033d8[_0x2033d8[_0x1ab38c(0x24a)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x2033d8[_0x2033d8[_0x1ab38c(0x42c)]=0x1]=_0x1ab38c(0x42c),_0x2033d8))(yi||{});const Wt=0x7530,Ft=_0x1ab38c(0x2e5);class $n extends a['Disposable']{constructor(){const _0x3387f6=_0x1ab38c;super(),I(this,_0x3387f6(0x242),a[_0x3387f6(0x5ed)][_0x3387f6(0x33c)]()),I(this,'_selfUnitIDs',new Set()),I(this,_0x3387f6(0x22f),new Map()),I(this,_0x3387f6(0x432),null),I(this,_0x3387f6(0x2c8),new Map()),I(this,_0x3387f6(0x174),new Map()),this[_0x3387f6(0x419)]();}[_0x1ab38c(0x31c)](){const _0x3a6955=_0x1ab38c;super[_0x3a6955(0x31c)](),this[_0x3a6955(0x2c8)][_0x3a6955(0x3f4)]((_0x4754ff,_0x2fead2)=>this[_0x3a6955(0x495)](_0x2fead2)),this['_heartbeatTimer']&&window[_0x3a6955(0x57a)](this[_0x3a6955(0x432)]);}['getUnitStatus$'](_0x233f95){const _0x5bb33d=_0x1ab38c;return this['_ensureSubject'](_0x233f95)['pipe'](N[_0x5bb33d(0x59b)]());}[_0x1ab38c(0x548)](_0x43b706){const _0x5897e2=_0x1ab38c;this[_0x5897e2(0x346)][_0x5897e2(0x36b)]===0x0&&this[_0x5897e2(0x426)](),this[_0x5897e2(0x346)]['add'](_0x43b706),this['_send']({'type':0x0,'memberID':this[_0x5897e2(0x242)],'unitIDs':[_0x43b706],'isForwarded':!0x1});}[_0x1ab38c(0x260)](_0x25080b){const _0xb076ed=_0x1ab38c;this[_0xb076ed(0x346)][_0xb076ed(0x5d0)](_0x25080b),this[_0xb076ed(0x346)][_0xb076ed(0x36b)]===0x0&&this['_heartbeatTimer']&&window[_0xb076ed(0x57a)](this[_0xb076ed(0x432)]);}[_0x1ab38c(0x419)](){const _0x65b1dc=_0x1ab38c;this[_0x65b1dc(0x4ae)](a[_0x65b1dc(0x1fb)](N[_0x65b1dc(0x4d0)](window,_0x65b1dc(0x2dd))['subscribe'](_0x448727=>{const _0x450c5d=_0x65b1dc;if(_0x448727['key']!==Ft||!_0x448727[_0x450c5d(0x5e2)])return;const _0x57b1f3=JSON[_0x450c5d(0x625)](_0x448727[_0x450c5d(0x5e2)]);this['_handleEvent'](_0x57b1f3);}))),window['addEventListener'](_0x65b1dc(0x556),()=>this[_0x65b1dc(0x466)]({'type':0x1,'memberID':this[_0x65b1dc(0x242)],'unitIDs':Array[_0x65b1dc(0x17c)](this[_0x65b1dc(0x346)])}));}['_handleEvent'](_0x3105c1){const _0x520e1a=_0x1ab38c;switch(_0x3105c1[_0x520e1a(0x57b)]){case 0x0:this[_0x520e1a(0x215)](_0x3105c1);break;case 0x1:this[_0x520e1a(0x3b9)](_0x3105c1);break;case 0x2:this[_0x520e1a(0x4df)](_0x3105c1);break;}}[_0x1ab38c(0x215)](_0x2f6b3f){const _0x43bba5=_0x1ab38c,{unitIDs:_0x11c395,memberID:_0x3ae4ac,isForwarded:_0x31772c}=_0x2f6b3f;_0x11c395[_0x43bba5(0x3f4)](_0x1878b7=>{const _0x2d03fd=_0x43bba5;if(!_0x31772c&&this[_0x2d03fd(0x22f)][_0x2d03fd(0x392)](_0x1878b7)&&this[_0x2d03fd(0x3bf)](_0x1878b7)[_0x2d03fd(0x2c0)](0x1),!this[_0x2d03fd(0x22f)][_0x2d03fd(0x392)](_0x1878b7)||!this[_0x2d03fd(0x22f)][_0x2d03fd(0x3f9)](_0x1878b7)[_0x2d03fd(0x392)](_0x3ae4ac)){const _0x4630bd=this['_unitOnClients'][_0x2d03fd(0x3f9)](_0x1878b7)||new Set();_0x4630bd[_0x2d03fd(0x3ed)](_0x3ae4ac),this[_0x2d03fd(0x22f)][_0x2d03fd(0x1c6)](_0x1878b7,_0x4630bd),this[_0x2d03fd(0x5ea)](_0x3ae4ac);}}),_0x31772c||this[_0x43bba5(0x466)]({'type':0x0,'memberID':this[_0x43bba5(0x242)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x1ab38c(0x5ea)](_0x5f083e){const _0x4e63c2=_0x1ab38c;this[_0x4e63c2(0x495)](_0x5f083e);const _0xdea6c4=window[_0x4e63c2(0x45c)](()=>{const _0x23b2e3=_0x4e63c2;this['_unitOnClients'][_0x23b2e3(0x3f4)](_0x1bbdc8=>{_0x1bbdc8['delete'](_0x5f083e);});},Wt*0x2);this[_0x4e63c2(0x2c8)]['set'](_0x5f083e,_0xdea6c4);}[_0x1ab38c(0x495)](_0x3c8e8c){const _0x20e1ca=_0x1ab38c;if(this[_0x20e1ca(0x2c8)][_0x20e1ca(0x392)](_0x3c8e8c)){const _0x514e75=this[_0x20e1ca(0x2c8)][_0x20e1ca(0x3f9)](_0x3c8e8c);_0x514e75&&window[_0x20e1ca(0x1db)](_0x514e75),this['_clearOtherTimers']['set'](_0x3c8e8c,null);}}[_0x1ab38c(0x3b9)](_0x2e9cf8){const _0xacc78e=_0x1ab38c,{memberID:_0x27f788,unitIDs:_0xa911a0}=_0x2e9cf8;_0xa911a0['forEach'](_0x5139c9=>{const _0x539939=_0x33d2;var _0x3376be;const _0x40e929=this[_0x539939(0x22f)][_0x539939(0x3f9)](_0x5139c9);_0x40e929&&(_0x40e929[_0x539939(0x5d0)](_0x27f788),(_0x3376be=this[_0x539939(0x3bf)](_0x5139c9))==null||_0x3376be[_0x539939(0x2c0)](_0x40e929[_0x539939(0x36b)]===0x0?0x0:0x1));}),this[_0xacc78e(0x495)](_0x27f788);}['_handleHeartbeatEvent'](_0xe9e553){const _0x2c53f8=_0x1ab38c;this['_scheduleClearOtherTimer'](_0xe9e553[_0x2c53f8(0x4c3)]);}['_send'](_0x34b3e0){const _0x5e3ab2=_0x1ab38c;localStorage[_0x5e3ab2(0x34e)](Ft,JSON['stringify'](_0x34b3e0));}['_scheduleHeartbeat'](){const _0x57450b=_0x1ab38c;this['_heartbeatTimer']=window[_0x57450b(0x618)](()=>{const _0x3549f2=_0x57450b;this[_0x3549f2(0x466)]({'type':0x2,'memberID':this[_0x3549f2(0x242)]});},Wt);}[_0x1ab38c(0x3bf)](_0xb9f260){const _0x2920fa=_0x1ab38c;return this[_0x2920fa(0x174)]['has'](_0xb9f260)||this[_0x2920fa(0x174)][_0x2920fa(0x1c6)](_0xb9f260,new N[(_0x2920fa(0x3bd))](0x0)),this[_0x2920fa(0x174)][_0x2920fa(0x3f9)](_0xb9f260);}}var jn=Object[_0x1ab38c(0x322)],Hn=Object[_0x1ab38c(0x5da)],Bn=(_0x2917ee,_0x36c4b2,_0x56fe33,_0x591dbd)=>{for(var _0x481f0d=_0x591dbd>0x1?void 0x0:_0x591dbd?Hn(_0x36c4b2,_0x56fe33):_0x36c4b2,_0x4dd6ad=_0x2917ee['length']-0x1,_0x45988d;_0x4dd6ad>=0x0;_0x4dd6ad--)(_0x45988d=_0x2917ee[_0x4dd6ad])&&(_0x481f0d=(_0x591dbd?_0x45988d(_0x36c4b2,_0x56fe33,_0x481f0d):_0x45988d(_0x481f0d))||_0x481f0d);return _0x591dbd&&_0x481f0d&&jn(_0x36c4b2,_0x56fe33,_0x481f0d),_0x481f0d;},ut=(_0x253be4,_0x103456)=>(_0x2b5836,_0x394c7c)=>_0x103456(_0x2b5836,_0x394c7c,_0x253be4);let et=class{constructor(_0x3e852d,_0x23c35d,_0x2adde4){const _0xba4036=_0x1ab38c;this[_0xba4036(0x2f8)]=_0x3e852d,this[_0xba4036(0x4bc)]=_0x23c35d,this[_0xba4036(0x3b3)]=_0x2adde4;}[_0x1ab38c(0x2f2)](_0x4112ab){const _0x55e6b2=_0x1ab38c;this[_0x55e6b2(0x5cd)](_0x4112ab);}[_0x1ab38c(0x1f3)](_0x5ee15e){const _0x6ef51c=_0x1ab38c,{unitID:_0x1c36e7}=_0x5ee15e,{collaboration:_0x338785}=this[_0x6ef51c(0x3b3)][_0x6ef51c(0x218)](_0x1c36e7);if(_0x338785['length']===0x0)return _0x5ee15e;let _0x3b81f0=a['Tools']['deepClone'](_0x5ee15e[_0x6ef51c(0x4ea)][0x0]);for(let _0x3b3a8b=0x0;_0x3b3a8b<_0x338785[_0x6ef51c(0x2b7)];_0x3b3a8b++){const _0x1ab302={'id':_0x6ef51c(0x401),'params':{'unitId':_0x338785[_0x3b3a8b]['unitId'],..._0x338785[_0x3b3a8b][_0x6ef51c(0x410)]}},_0x2969ad=this[_0x6ef51c(0x4bc)][_0x6ef51c(0x5cc)](_0x3b81f0,_0x1ab302,!0x1);if(m['isTransformMutationFailure'](_0x2969ad))throw _0x2969ad[_0x6ef51c(0x48d)];_0x3b81f0=_0x2969ad['m1Prime'];}return{...a[_0x6ef51c(0x5ed)][_0x6ef51c(0x252)](_0x5ee15e),'mutations':[_0x3b81f0]};}[_0x1ab38c(0x5cd)](_0x56c8c5){const _0x5d853a=_0x1ab38c,{unitID:_0x5b01a0}=_0x56c8c5,{history:_0x70a19a,collaboration:_0x420e2b}=this['_docStateChangeManagerService'][_0x5d853a(0x218)](_0x5b01a0);if(_0x70a19a[_0x5d853a(0x2b7)]===0x0&&_0x420e2b[_0x5d853a(0x2b7)]===0x0)return;const _0x2d7943=[],_0x217f90=[];let _0x49eb28=a[_0x5d853a(0x5ed)][_0x5d853a(0x252)](_0x56c8c5[_0x5d853a(0x4ea)][0x0]),_0x5cba5f=a['Tools']['deepClone'](_0x56c8c5[_0x5d853a(0x4ea)][0x0]);for(let _0xe7a461=_0x70a19a[_0x5d853a(0x2b7)]-0x1;_0xe7a461>=0x0;_0xe7a461--){const _0x175db8={'id':_0x5d853a(0x401),'params':{'unitId':_0x70a19a[_0xe7a461][_0x5d853a(0x1d7)],..._0x70a19a[_0xe7a461][_0x5d853a(0x35b)]}},_0x471034={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x70a19a[_0xe7a461][_0x5d853a(0x1d7)],..._0x70a19a[_0xe7a461][_0x5d853a(0x410)]}},_0x3e6cab=this[_0x5d853a(0x4bc)][_0x5d853a(0x5cc)](_0x49eb28,_0x175db8,!0x1),_0x19e8d6=this[_0x5d853a(0x4bc)][_0x5d853a(0x5cc)](_0x5cba5f,_0x471034,!0x1);if(m['isTransformMutationFailure'](_0x3e6cab))throw _0x3e6cab['error'];if(m[_0x5d853a(0x226)](_0x19e8d6))throw _0x19e8d6[_0x5d853a(0x48d)];_0x2d7943[_0x5d853a(0x5df)]({..._0x70a19a[_0xe7a461],'undoState':_0x3e6cab['m2Prime'][_0x5d853a(0x1f8)],'redoState':_0x19e8d6[_0x5d853a(0x1cb)][_0x5d853a(0x1f8)]}),_0x49eb28=_0x3e6cab['m1Prime'],_0x5cba5f=_0x19e8d6['m1Prime'];}_0x49eb28=a['Tools'][_0x5d853a(0x252)](_0x56c8c5['mutations'][0x0]),_0x5cba5f=a[_0x5d853a(0x5ed)]['deepClone'](_0x56c8c5[_0x5d853a(0x4ea)][0x0]);for(let _0x23c717=_0x420e2b['length']-0x1;_0x23c717>=0x0;_0x23c717--){const _0x4a1277={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x420e2b[_0x23c717][_0x5d853a(0x1d7)],..._0x420e2b[_0x23c717]['undoState']}},_0x5e62b1={'id':_0x5d853a(0x401),'params':{'unitId':_0x420e2b[_0x23c717]['unitId'],..._0x420e2b[_0x23c717]['redoState']}},_0x3d47f4=this['_transformService'][_0x5d853a(0x5cc)](_0x49eb28,_0x4a1277,!0x1),_0x2884b3=this['_transformService'][_0x5d853a(0x5cc)](_0x5cba5f,_0x5e62b1,!0x1);if(m['isTransformMutationFailure'](_0x3d47f4))throw _0x3d47f4[_0x5d853a(0x48d)];if(m['isTransformMutationFailure'](_0x2884b3))throw _0x2884b3[_0x5d853a(0x48d)];_0x217f90[_0x5d853a(0x5df)]({..._0x420e2b[_0x23c717],'undoState':_0x3d47f4[_0x5d853a(0x1cb)][_0x5d853a(0x1f8)],'redoState':_0x2884b3[_0x5d853a(0x1cb)][_0x5d853a(0x1f8)]}),_0x49eb28=_0x3d47f4[_0x5d853a(0x5ad)],_0x5cba5f=_0x2884b3[_0x5d853a(0x5ad)];}this[_0x5d853a(0x3b3)][_0x5d853a(0x487)](_0x5b01a0,{'history':_0x2d7943,'collaboration':_0x217f90});}};et=Bn([ut(0x0,a['Inject'](a[_0x1ab38c(0x26b)])),ut(0x1,m[_0x1ab38c(0x1d9)]),ut(0x2,a[_0x1ab38c(0x56d)](J[_0x1ab38c(0x553)]))],et);function Di(_0x4efcac){const _0x75b81d=_0x1ab38c;let _0x52233c='';for(const _0xf8074f of _0x4efcac){const {startOffset:_0x56924a,endOffset:_0x21db5f,isActive:_0x2ec448,rangeType:_0x512dd5,segmentId:_0xb260ab,segmentPage:_0x20582b}=_0xf8074f;_0x52233c[_0x75b81d(0x2b7)]&&(_0x52233c+=','),_0x52233c+=_0x56924a+':'+_0x21db5f+':'+(_0x2ec448?'1':'0')+':'+_0x512dd5+':'+_0xb260ab+':'+_0x20582b;}return _0x52233c;}function kn(_0x2e7129){const _0x32bf9e=_0x1ab38c,_0x1702cb=_0x2e7129[_0x32bf9e(0x463)](','),_0x238e5a=[];for(const _0x49a8f4 of _0x1702cb){const [_0xe49cb8,_0x536710,_0x3f6eff,_0x535a64,_0x82ae09,_0x287007]=_0x49a8f4[_0x32bf9e(0x463)](':');_0x238e5a[_0x32bf9e(0x2e4)]({'startOffset':Number(_0xe49cb8),'endOffset':Number(_0x536710),'collapsed':_0xe49cb8===_0x536710,'isActive':_0x3f6eff==='1','rangeType':_0x535a64===a[_0x32bf9e(0x5e6)][_0x32bf9e(0x349)]?a[_0x32bf9e(0x5e6)]['TEXT']:a['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x82ae09==_0x32bf9e(0x3a2)?String(_0x82ae09):'','segmentPage':Number(_0x287007!=null?_0x287007:-0x1)});}return _0x238e5a[_0x32bf9e(0x418)](_0x2a4c14=>_0x2a4c14[_0x32bf9e(0x2fb)])||(_0x238e5a[0x0]['isActive']=!0x0),_0x238e5a;}class Ut extends a[_0x1ab38c(0x579)]{constructor(){const _0x5490bc=_0x1ab38c;super(...arguments),I(this,_0x5490bc(0x609),new N['BehaviorSubject'](null)),I(this,_0x5490bc(0x4c0),this[_0x5490bc(0x609)]['asObservable']());}[_0x1ab38c(0x20e)](_0x4146ce){const _0x25e2e9=_0x1ab38c,{unitID:_0x3f984a,memberID:_0x45a8d2,textRanges:_0x1a2d1d}=_0x4146ce,_0xeaf1f3=Di(_0x1a2d1d);if(_0xeaf1f3==='')return;const _0xf69a26={'unitID':_0x3f984a,'memberID':_0x45a8d2,'selection':_0xeaf1f3};this[_0x25e2e9(0x609)][_0x25e2e9(0x2c0)](_0xf69a26);}}var Wn=Object[_0x1ab38c(0x322)],Fn=Object[_0x1ab38c(0x5da)],Vn=(_0x4776d1,_0x39eb2a,_0x4eceaf,_0x28966a)=>{const _0x4ef428=_0x1ab38c;for(var _0xa67b94=_0x28966a>0x1?void 0x0:_0x28966a?Fn(_0x39eb2a,_0x4eceaf):_0x39eb2a,_0x43fb0b=_0x4776d1[_0x4ef428(0x2b7)]-0x1,_0x2f7126;_0x43fb0b>=0x0;_0x43fb0b--)(_0x2f7126=_0x4776d1[_0x43fb0b])&&(_0xa67b94=(_0x28966a?_0x2f7126(_0x39eb2a,_0x4eceaf,_0xa67b94):_0x2f7126(_0xa67b94))||_0xa67b94);return _0x28966a&&_0xa67b94&&Wn(_0x39eb2a,_0x4eceaf,_0xa67b94),_0xa67b94;},Vt=(_0x373b90,_0x2d3eef)=>(_0x2ed5b9,_0x3e4940)=>_0x2d3eef(_0x2ed5b9,_0x3e4940,_0x373b90);let tt=class{constructor(_0x599b12,_0x1d71e6){const _0xd91fe8=_0x1ab38c;this[_0xd91fe8(0x2f8)]=_0x599b12,this[_0xd91fe8(0x4bc)]=_0x1d71e6;}['transformSelections'](_0x2df201){const _0x57502d=_0x1ab38c;var _0x4e4287;const _0x53ebfc=this['_injector']['get'](Ie[_0x57502d(0x195)]),_0x385d6f=(_0x4e4287=_0x53ebfc[_0x57502d(0x5fa)]())!=null?_0x4e4287:[];if(_0x385d6f[_0x57502d(0x2b7)]===0x0)return;const _0x5c1714=_0x2df201[_0x57502d(0x3d4)],_0x49d85e=[{'id':_0x57502d(0x401),'params':{'unitId':_0x5c1714,'actions':null,'textRanges':_0x385d6f}}],_0x229229=this[_0x57502d(0x4bc)]['transformMutationsWithChangeset'](_0x2df201,_0x49d85e);if(!m[_0x57502d(0x60c)](_0x229229))throw _0x229229['error'];const _0x148ce5=_0x229229[_0x57502d(0x1cb)][0x0][_0x57502d(0x1f8)][_0x57502d(0x480)];Array[_0x57502d(0x28e)](_0x148ce5)&&_0x148ce5[_0x57502d(0x2b7)]&&_0x53ebfc[_0x57502d(0x457)](_0x148ce5,{'unitId':_0x5c1714,'subUnitId':_0x5c1714},!0x1);}};tt=Vn([Vt(0x0,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),Vt(0x1,m[_0x1ab38c(0x1d9)])],tt);const Gn=new Set([k['InsertSheetMutation']['id']]);function Gt(_0xb1e6a,_0x17b3e9,_0x1e09e7,_0xb3b88f,_0x257678){const _0x39c837=_0x1ab38c;var _0x1e17aa,_0x124c17,_0x30d481,_0x2fd90b;const _0x1e7efd=[];for(const _0x32af42 of _0xb1e6a)if(Gn['has'](_0x32af42['id'])){if(_0x1e7efd[_0x39c837(0x2b7)]>0x0)break;_0x1e7efd[_0x39c837(0x2e4)](_0x32af42);break;}else _0x1e7efd[_0x39c837(0x2e4)](_0x32af42);const _0xe36949=(_0x124c17=(_0x1e17aa=_0x257678[_0x39c837(0x4f4)]())==null?void 0x0:_0x1e17aa[_0x39c837(0x438)])!=null?_0x124c17:_0x39c837(0x211),_0x508cfc=(_0x2fd90b=(_0x30d481=_0x257678[_0x39c837(0x4f4)]())==null?void 0x0:_0x30d481['memberID'])!=null?_0x2fd90b:_0x39c837(0x211);return{'changeset':{'unitID':_0x17b3e9,'type':m[_0x39c837(0x61d)](_0x1e09e7[_0x39c837(0x30d)](_0x17b3e9)),'baseRev':_0xb3b88f[_0x39c837(0x56f)](_0x17b3e9),'revision':0x0,'userID':_0xe36949,'memberID':_0x508cfc,'mutations':_0x1e7efd},'pendingMutations':_0xb1e6a['slice'](_0x1e7efd['length'])};}function Yn(_0x2eb868,_0x48553a,_0x117053,_0x24e399,_0x4e4d7a){const _0x1523fa=_0x1ab38c;var _0x1b13fb,_0x30a41d,_0x253940,_0x433311;const _0x3d0c30=[_0x2eb868['reduce']((_0x2ac7cb,_0x1ce342)=>{const _0x1bb804=_0x33d2;var _0x208913;const {id:_0x35f335}=_0x2ac7cb,{id:_0x147ddf,type:_0x2e0115}=_0x1ce342,_0x1eaca6=(_0x208913=_0x2ac7cb['params'])!=null?_0x208913:{'actions':null},_0x2705b2=_0x1ce342[_0x1bb804(0x1f8)];if(_0x35f335&&_0x35f335!==_0x147ddf)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x35f335+_0x1bb804(0x534)+_0x147ddf+'.');return{..._0x2ac7cb,'id':_0x147ddf,'type':_0x2e0115,'params':{'unitId':_0x2705b2['unitId'],'textRanges':_0x2705b2[_0x1bb804(0x480)],'actions':a[_0x1bb804(0x283)][_0x1bb804(0x531)](_0x1eaca6[_0x1bb804(0x1dc)],_0x2705b2[_0x1bb804(0x1dc)])}};},{})],_0x40ee62=(_0x30a41d=(_0x1b13fb=_0x4e4d7a['getCurrentUser']())==null?void 0x0:_0x1b13fb[_0x1523fa(0x438)])!=null?_0x30a41d:_0x1523fa(0x211),_0x4f0d65=(_0x433311=(_0x253940=_0x4e4d7a[_0x1523fa(0x4f4)]())==null?void 0x0:_0x253940[_0x1523fa(0x4c3)])!=null?_0x433311:'unknown';return{'changeset':{'unitID':_0x48553a,'type':m[_0x1523fa(0x61d)](_0x117053['getUnitType'](_0x48553a)),'baseRev':_0x24e399[_0x1523fa(0x56f)](_0x48553a),'revision':0x0,'userID':_0x40ee62,'memberID':_0x4f0d65,'mutations':_0x3d0c30},'pendingMutations':[]};}function Pi(_0x49c9b9,_0x1bae13){const _0x5b58c1=_0x1ab38c,_0x2d8f71=new N['ReplaySubject'](0x1);return setTimeout(()=>_0x2d8f71['next'](_0x1bae13),_0x49c9b9),_0x2d8f71[_0x5b58c1(0x3b4)]()[_0x5b58c1(0x21a)](N[_0x5b58c1(0x184)](0x1));}const qn={'id':k[_0x1ab38c(0x236)]['id'],'type':a[_0x1ab38c(0x395)][_0x1ab38c(0x28b)],'params':{}};var Kn=Object[_0x1ab38c(0x322)],zn=Object['getOwnPropertyDescriptor'],Ee=(_0x35401,_0x4aa565,_0x5b569a,_0x253cfd)=>{const _0x118ee7=_0x1ab38c;for(var _0x2d3607=_0x253cfd>0x1?void 0x0:_0x253cfd?zn(_0x4aa565,_0x5b569a):_0x4aa565,_0x4385f2=_0x35401[_0x118ee7(0x2b7)]-0x1,_0x265108;_0x4385f2>=0x0;_0x4385f2--)(_0x265108=_0x35401[_0x4385f2])&&(_0x2d3607=(_0x253cfd?_0x265108(_0x4aa565,_0x5b569a,_0x2d3607):_0x265108(_0x2d3607))||_0x2d3607);return _0x253cfd&&_0x2d3607&&Kn(_0x4aa565,_0x5b569a,_0x2d3607),_0x2d3607;},A=(_0x18de0d,_0xe8d9f6)=>(_0x5e5bda,_0x4ae30d)=>_0xe8d9f6(_0x5e5bda,_0x4ae30d,_0x18de0d),K=(_0x297549=>(_0x297549[_0x1ab38c(0x1d1)]=_0x1ab38c(0x5a5),_0x297549[_0x1ab38c(0x533)]=_0x1ab38c(0x396),_0x297549[_0x1ab38c(0x320)]='pending',_0x297549[_0x1ab38c(0x261)]=_0x1ab38c(0x3d7),_0x297549[_0x1ab38c(0x5b0)]=_0x1ab38c(0x1ff),_0x297549['FETCH_MISS']=_0x1ab38c(0x450),_0x297549[_0x1ab38c(0x5f1)]='conflict',_0x297549[_0x1ab38c(0x1e7)]=_0x1ab38c(0x573),_0x297549))(K||{});const wi=0xea60;class be{constructor(_0x1712e5,_0x59c917,_0x2aa0e3,_0x31a1d4,_0x54bc75,_0x32c537,_0x4035df,_0x3d1fe1,_0x39da37){const _0x5e6637=_0x1ab38c;I(this,_0x5e6637(0x4c5),null),I(this,_0x5e6637(0x1a9),[]),(this[_0x5e6637(0x3d4)]=_0x1712e5,this[_0x5e6637(0x57b)]=_0x59c917,this[_0x5e6637(0x25d)]=_0x54bc75,this[_0x5e6637(0x223)]=_0x32c537,this[_0x5e6637(0x4db)]=_0x4035df,this[_0x5e6637(0x276)]=_0x3d1fe1,this[_0x5e6637(0x28a)]=_0x39da37,this[_0x5e6637(0x4c5)]=_0x2aa0e3,this[_0x5e6637(0x1a9)]=_0x31a1d4);}[_0x1ab38c(0x52c)](_0x329ae1){const _0x4af840=_0x1ab38c,_0xc4d31e=this[_0x4af840(0x276)][_0x4af840(0x56f)](this['unitID']);return _0x329ae1['revision']>_0xc4d31e+0x1?(this[_0x4af840(0x25d)][_0x4af840(0x35d)]({'from':_0xc4d31e,'to':_0x329ae1[_0x4af840(0x3fa)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x2cc297){const _0x3f3bcc=_0x1ab38c;this[_0x3f3bcc(0x4db)][_0x3f3bcc(0x2a2)](this[_0x3f3bcc(0x3d4)],_0x2cc297);}[_0x1ab38c(0x18b)](_0x2d84a1){const _0x193982=_0x1ab38c;var _0x8c942b,_0x5ba53a;(_0x5ba53a=(_0x8c942b=this[_0x193982(0x25d)])['onTransformSelections'])==null||_0x5ba53a[_0x193982(0x4fd)](_0x8c942b,_0x2d84a1);}[_0x1ab38c(0x54e)](_0x15932d){const _0x337045=_0x1ab38c;var _0x4de85f,_0x28a751;return(_0x28a751=(_0x4de85f=this[_0x337045(0x25d)])[_0x337045(0x3c8)])==null?void 0x0:_0x28a751[_0x337045(0x4fd)](_0x4de85f,_0x15932d);}[_0x1ab38c(0x217)](_0x348d82){const _0x1c4d8e=_0x1ab38c;var _0x1cb85c,_0x1a1f9b;return(_0x1a1f9b=(_0x1cb85c=this[_0x1c4d8e(0x25d)])[_0x1c4d8e(0x216)])==null?void 0x0:_0x1a1f9b[_0x1c4d8e(0x4fd)](_0x1cb85c,_0x348d82);}[_0x1ab38c(0x4a4)](_0x249bf1){const _0x3ce19b=_0x1ab38c;var _0x5aae07,_0x501717,_0x556d91;return(_0x556d91=(_0x501717=(_0x5aae07=this['_handler'])[_0x3ce19b(0x597)])==null?void 0x0:_0x501717[_0x3ce19b(0x4fd)](_0x5aae07,_0x249bf1))!=null?_0x556d91:_0x249bf1;}[_0x1ab38c(0x630)](_0x2124b8){const _0xfe95f6=_0x1ab38c;var _0x95cb3e,_0x50ff23,_0x3037f2;return(_0x3037f2=(_0x50ff23=(_0x95cb3e=this['_handler'])[_0xfe95f6(0x26c)])==null?void 0x0:_0x50ff23[_0xfe95f6(0x4fd)](_0x95cb3e,_0x2124b8))!=null?_0x3037f2:_0x2124b8;}[_0x1ab38c(0x51b)](_0x35d6ef){const _0x4e9432=_0x1ab38c;var _0x1e18b0,_0x7a3a82;if(this[_0x4e9432(0x57b)]===ie[_0x4e9432(0x355)]){const {unitID:_0x1fb1e3,mutations:_0x57a48e,memberID:_0x222389}=_0x35d6ef,_0x285c0e=_0x57a48e[0x0][_0x4e9432(0x1f8)][_0x4e9432(0x480)];Array[_0x4e9432(0x28e)](_0x285c0e)&&_0x285c0e[_0x4e9432(0x2b7)]>0x0&&((_0x7a3a82=(_0x1e18b0=this[_0x4e9432(0x25d)])[_0x4e9432(0x46b)])==null||_0x7a3a82[_0x4e9432(0x4fd)](_0x1e18b0,{'unitID':_0x1fb1e3,'memberID':_0x222389,'textRanges':_0x285c0e}));}}[_0x1ab38c(0x293)](){const _0x22b124=_0x1ab38c;this[_0x22b124(0x28a)][_0x22b124(0x2db)](this[_0x22b124(0x3d4)],this['type'],this[_0x22b124(0x4c5)],this[_0x22b124(0x1a9)]);}[_0x1ab38c(0x1fe)](){const _0x23272e=_0x1ab38c;return this['_revisionService'][_0x23272e(0x56f)](this[_0x23272e(0x3d4)]);}['_incrementRevisionNumber'](){const _0x2524a7=_0x1ab38c;this['_revisionService'][_0x2524a7(0x46c)](this['unitID']);}['_executeRemoteChangeset'](_0x494ef4){const _0x5f8992=_0x1ab38c;var _0x352559;let _0x34d789=this[_0x5f8992(0x4a4)](_0x494ef4);_0x34d789=this[_0x5f8992(0x630)](_0x34d789);const _0x5cbd1b=a['sequenceExecute'](_0x34d789[_0x5f8992(0x4ea)],this[_0x5f8992(0x223)],{'fromCollab':!0x0});if(!_0x5cbd1b[_0x5f8992(0x590)])throw _0x5cbd1b[_0x5f8992(0x48d)]instanceof Error?_0x5cbd1b[_0x5f8992(0x48d)]:new Error((_0x352559=_0x5cbd1b[_0x5f8992(0x48d)])!=null?_0x352559:_0x5f8992(0x1b5));this[_0x5f8992(0x54e)](_0x34d789),this['_transformStateCache'](_0x34d789),this['_transformUndoredo'](_0x494ef4),this[_0x5f8992(0x18b)](_0x34d789),this[_0x5f8992(0x51b)](_0x34d789),this[_0x5f8992(0x3cb)]();}}let Oe=class extends be{constructor(_0x402c70,_0x3cb580,_0x2ece78,_0x2bff97,_0x3b0f54,_0x18f196,_0x188844,_0x481ab5,_0x46a5cf,_0x58353b){const _0xb5a1d5=_0x1ab38c;super(_0x402c70,_0x3cb580,null,[],_0x2ece78,_0x481ab5,_0x188844,_0x2bff97,_0x3b0f54),I(this,_0xb5a1d5(0x338),_0xb5a1d5(0x396)),(this[_0xb5a1d5(0x2f8)]=_0x18f196,this['_logService']=_0x46a5cf,this[_0xb5a1d5(0x4bc)]=_0x58353b);}[_0x1ab38c(0x4d7)](_0x4a9bbf){const _0x2e8cd9=_0x1ab38c,_0x156cc0=this['_injector']['createInstance'](ae,this['unitID'],this[_0x2e8cd9(0x57b)],[_0x4a9bbf],this[_0x2e8cd9(0x25d)]);return _0x156cc0[_0x2e8cd9(0x1e2)](),_0x156cc0[_0x2e8cd9(0x293)](),_0x156cc0;}[_0x1ab38c(0x452)](_0x18572a){const _0x24551f=_0x1ab38c;if(this['_checkMissing'](_0x18572a))return this[_0x24551f(0x2f8)][_0x24551f(0x440)](re,this[_0x24551f(0x3d4)],this['type'],null,[],null,[_0x18572a],this['_handler']);try{const _0x220bd5=this[_0x24551f(0x4bc)][_0x24551f(0x435)](_0x18572a,[qn]);if(m[_0x24551f(0x60c)](_0x220bd5)){const {c1Prime:_0x343bec}=_0x220bd5;return this[_0x24551f(0x357)](_0x343bec),this;}throw _0x220bd5['error'];}catch(_0x298f68){return this['_logService'][_0x24551f(0x48d)](_0x298f68),this['_onConflict'](!0x1);}}[_0x1ab38c(0x209)](_0x3c7231){const _0x57c330=_0x1ab38c;return this['_injector'][_0x57c330(0x440)](fe,this['unitID'],this[_0x57c330(0x57b)],null,[],this['_handler'],_0x3c7231);}[_0x1ab38c(0x60a)](){const _0x480f40=_0x1ab38c;throw new Error(_0x480f40(0x515));}['onRemoteRej'](){const _0x3ca32a=_0x1ab38c;throw new Error(_0x3ca32a(0x3b1));}['onRemoteRetry'](){return this;}[_0x1ab38c(0x2d2)](){const _0x2c0db5=_0x1ab38c;return this['_injector'][_0x2c0db5(0x440)](ve,this[_0x2c0db5(0x3d4)],this['type'],null,[],this[_0x2c0db5(0x25d)]);}[_0x1ab38c(0x22a)](){return this;}[_0x1ab38c(0x3ce)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1ab38c(0x4a2)](){const _0x5e3e93=_0x1ab38c,_0x387357=this['_revisionService'][_0x5e3e93(0x56f)](this[_0x5e3e93(0x3d4)]);return this[_0x5e3e93(0x25d)][_0x5e3e93(0x35d)]({'from':_0x387357,'to':0x0}),this[_0x5e3e93(0x2f8)][_0x5e3e93(0x440)](re,this[_0x5e3e93(0x3d4)],this[_0x5e3e93(0x57b)],null,[],null,[],this[_0x5e3e93(0x25d)]);}};Oe=Ee([A(0x3,a['Inject'](m[_0x1ab38c(0x187)])),A(0x4,a[_0x1ab38c(0x56d)](exports[_0x1ab38c(0x516)])),A(0x5,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),A(0x6,a['IUndoRedoService']),A(0x7,a[_0x1ab38c(0x430)]),A(0x8,a[_0x1ab38c(0x626)]),A(0x9,m[_0x1ab38c(0x1d9)])],Oe);let ae=class extends be{constructor(_0x491b5d,_0x39c5a3,_0x218c7a,_0x2e0546,_0x462c4e,_0x5ecd5c,_0x2f1857,_0x1aa8c7,_0x2005a8,_0xae96a5,_0xdbc98b,_0x2e6e30,_0x408ed8,_0x21519f){const _0x4a3952=_0x1ab38c;super(_0x491b5d,_0x39c5a3,null,_0x218c7a,_0x2e0546,_0xae96a5,_0x21519f,_0x5ecd5c,_0x2f1857),I(this,_0x4a3952(0x338),_0x4a3952(0x16a)),I(this,_0x4a3952(0x49c),null),I(this,'_sendingTimer',null),(this[_0x4a3952(0x2f8)]=_0x462c4e,this[_0x4a3952(0x361)]=_0x1aa8c7,this[_0x4a3952(0x4d3)]=_0x2005a8,this[_0x4a3952(0x3fd)]=_0xdbc98b,this[_0x4a3952(0x4bc)]=_0x2e6e30,this[_0x4a3952(0x3b6)]=_0x408ed8);}[_0x1ab38c(0x4d7)](_0x1e57ff){const _0x44dfb6=_0x1ab38c;return this[_0x44dfb6(0x1a9)][_0x44dfb6(0x2e4)](_0x1e57ff),this[_0x44dfb6(0x293)](),this;}['onRemoteChangeset'](_0x53bbd1){const _0x2222ba=_0x1ab38c;if(this[_0x2222ba(0x52c)](_0x53bbd1))return this[_0x2222ba(0x1ae)](),this[_0x2222ba(0x2f8)][_0x2222ba(0x440)](re,this['unitID'],this[_0x2222ba(0x57b)],null,this[_0x2222ba(0x1a9)],null,[_0x53bbd1],this[_0x2222ba(0x25d)]);try{const _0x51b9db=this[_0x2222ba(0x4bc)][_0x2222ba(0x435)](_0x53bbd1,this['_pendingMutations']);if(m[_0x2222ba(0x60c)](_0x51b9db)){const {c1Prime:_0x26032f,m2Prime:_0x4c5b52}=_0x51b9db;this['_executeRemoteChangeset'](_0x26032f);const _0x3afcc4=this[_0x2222ba(0x2f8)][_0x2222ba(0x440)](ae,this[_0x2222ba(0x3d4)],this['type'],_0x4c5b52,this[_0x2222ba(0x25d)]);return this[_0x2222ba(0x1ae)](),_0x3afcc4['_schedule'](this[_0x2222ba(0x49c)]?Math[_0x2222ba(0x412)](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this[_0x2222ba(0x434)]()),_0x3afcc4;}throw _0x51b9db[_0x2222ba(0x48d)];}catch(_0x2230c5){return this[_0x2222ba(0x4d3)][_0x2222ba(0x48d)](_0x2230c5),this['_onConflict'](!0x1);}}[_0x1ab38c(0x60a)](){const _0x2d3384=_0x1ab38c;throw new Error(_0x2d3384(0x524));}[_0x1ab38c(0x1ab)](){const _0x11963e=_0x1ab38c;throw new Error(_0x11963e(0x2ec));}[_0x1ab38c(0x51c)](){return this;}[_0x1ab38c(0x2d2)](){const _0x5db1e1=_0x1ab38c;return this[_0x5db1e1(0x1ae)](),this[_0x5db1e1(0x2f8)][_0x5db1e1(0x440)](ve,this[_0x5db1e1(0x3d4)],this['type'],null,this[_0x5db1e1(0x1a9)],this[_0x5db1e1(0x25d)]);}[_0x1ab38c(0x22a)](){return this;}[_0x1ab38c(0x1e2)](_0x47344c){const _0x507b30=_0x1ab38c,_0x1561ed=_0x47344c!=null?_0x47344c:this[_0x507b30(0x434)]();this[_0x507b30(0x49c)]=new Date()[_0x507b30(0x2ee)](),this['_sendingTimer']=window[_0x507b30(0x45c)](()=>{const _0x364bf7=_0x507b30;this[_0x364bf7(0x1ae)]();let _0x279b68=null;switch(this[_0x364bf7(0x57b)]){case ie[_0x364bf7(0x2e0)]:{_0x279b68=Gt(this[_0x364bf7(0x1a9)],this[_0x364bf7(0x3d4)],this[_0x364bf7(0x3b6)],this[_0x364bf7(0x276)],this[_0x364bf7(0x361)]);break;}case ie[_0x364bf7(0x355)]:{this[_0x364bf7(0x1a9)][_0x364bf7(0x3af)](_0x26cf2e=>_0x26cf2e['id']===Ie[_0x364bf7(0x2a5)]['id'])?_0x279b68=Yn(this[_0x364bf7(0x1a9)],this[_0x364bf7(0x3d4)],this[_0x364bf7(0x3b6)],this[_0x364bf7(0x276)],this[_0x364bf7(0x361)]):_0x279b68=Gt(this[_0x364bf7(0x1a9)],this[_0x364bf7(0x3d4)],this['_univerInstanceService'],this[_0x364bf7(0x276)],this[_0x364bf7(0x361)]);break;}default:throw new Error(_0x364bf7(0x5a2)+this[_0x364bf7(0x57b)]+'\x20in\x20_schedule.');}const {changeset:_0x6fe67f,pendingMutations:_0x4ac80f}=_0x279b68;this[_0x364bf7(0x25d)][_0x364bf7(0x55d)](_0x6fe67f);const _0x1b5341=_0x4ac80f[_0x364bf7(0x2b7)]?this['_injector']['createInstance'](ce,this['unitID'],this['type'],_0x6fe67f,_0x4ac80f,this[_0x364bf7(0x25d)],void 0x0):this[_0x364bf7(0x2f8)]['createInstance'](de,this['unitID'],this[_0x364bf7(0x57b)],_0x6fe67f,this[_0x364bf7(0x25d)]);_0x1b5341[_0x364bf7(0x293)](),this['_handler'][_0x364bf7(0x44c)](this,_0x1b5341);},_0x1561ed);}[_0x1ab38c(0x434)](){const _0x3604df=_0x1ab38c;var _0x1d191b;const _0x3f4182=this[_0x3604df(0x3fd)][_0x3604df(0x489)](Z);return(_0x1d191b=_0x3f4182==null?void 0x0:_0x3f4182[_0x3604df(0x62f)])!=null?_0x1d191b:zi;}[_0x1ab38c(0x3ce)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1ab38c(0x1ae)](){const _0x40ab8c=_0x1ab38c;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x40ab8c(0x334)]=null);}[_0x1ab38c(0x209)](_0x1b1054){const _0xdba55a=_0x1ab38c;return this['_clearScheduledTask'](),this['_injector']['createInstance'](fe,this[_0xdba55a(0x3d4)],this[_0xdba55a(0x57b)],null,this[_0xdba55a(0x1a9)],this[_0xdba55a(0x25d)],_0x1b1054);}};ae=Ee([A(0x4,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),A(0x5,a[_0x1ab38c(0x56d)](m['RevisionService'])),A(0x6,a[_0x1ab38c(0x56d)](exports[_0x1ab38c(0x516)])),A(0x7,a['Inject'](exports[_0x1ab38c(0x32f)])),A(0x8,a['ILogService']),A(0x9,a['ICommandService']),A(0xa,a[_0x1ab38c(0x5bc)]),A(0xb,m[_0x1ab38c(0x1d9)]),A(0xc,a['IUniverInstanceService']),A(0xd,a['IUndoRedoService'])],ae);let de=class extends be{constructor(_0x3e1b13,_0x2be1de,_0x3422d1,_0x45889c,_0x3f59a7,_0x1b3020,_0x3d4995,_0x27ca98,_0x4d2e75,_0x25679f,_0x293f7f){const _0xd7cac3=_0x1ab38c;super(_0x3e1b13,_0x2be1de,_0x3422d1,[],_0x45889c,_0x27ca98,_0x293f7f,_0x1b3020,_0x3d4995),I(this,'status',_0xd7cac3(0x3d7)),I(this,_0xd7cac3(0x61a),0x0),I(this,'_resendTimer'),I(this,'_sender'),(this['_injector']=_0x3f59a7,this[_0xd7cac3(0x4d3)]=_0x4d2e75,this['_transformService']=_0x25679f);}[_0x1ab38c(0x4d7)](_0xf73317){const _0x5f13e1=_0x1ab38c;this[_0x5f13e1(0x1ae)]();const _0x34ad2a=this[_0x5f13e1(0x2f8)]['createInstance'](ce,this['unitID'],this[_0x5f13e1(0x57b)],this[_0x5f13e1(0x4c5)],[_0xf73317],this[_0x5f13e1(0x25d)],this[_0x5f13e1(0x409)]);return _0x34ad2a['_updateLocalCache'](),_0x34ad2a;}['onRemoteChangeset'](_0x1d4b15){const _0x20f7e8=_0x1ab38c;if(this[_0x20f7e8(0x52c)](_0x1d4b15))return this['_clearScheduledTask'](),this[_0x20f7e8(0x2f8)][_0x20f7e8(0x440)](re,this['unitID'],this['type'],this[_0x20f7e8(0x4c5)],[],null,[_0x1d4b15],this[_0x20f7e8(0x25d)]);try{const _0x27e6e0=this[_0x20f7e8(0x4bc)][_0x20f7e8(0x1d6)]([_0x1d4b15],[this[_0x20f7e8(0x4c5)]],!0x1);if(m[_0x20f7e8(0x60b)](_0x27e6e0)){const {c1Prime:_0x4d2f5d,c2Prime:_0x158f28}=_0x27e6e0;this[_0x20f7e8(0x357)](_0x4d2f5d[0x0]),_0x158f28[0x0][_0x20f7e8(0x212)]=this[_0x20f7e8(0x1fe)](),this[_0x20f7e8(0x1ae)]();const _0x157f18=this[_0x20f7e8(0x2f8)][_0x20f7e8(0x440)](de,this[_0x20f7e8(0x3d4)],this[_0x20f7e8(0x57b)],_0x158f28[0x0],this['_handler']);return _0x157f18['_updateLocalCache'](),_0x157f18;}return this[_0x20f7e8(0x209)](!0x1);}catch(_0x2f7f40){return this[_0x20f7e8(0x4d3)][_0x20f7e8(0x48d)](_0x2f7f40),this['_onConflict'](!0x1);}}[_0x1ab38c(0x60a)](_0x3aaf03){const _0x463c53=_0x1ab38c;this['_clearScheduledTask']();const _0x29e29c=this[_0x463c53(0x276)]['getCurrentRevOfUnit'](this[_0x463c53(0x3d4)]);if(_0x3aaf03[_0x463c53(0x3fa)]<_0x29e29c-0x1)return this;if(this[_0x463c53(0x52c)](_0x3aaf03))return this['_injector'][_0x463c53(0x440)](re,this['unitID'],this[_0x463c53(0x57b)],null,[],this['_awaitingChangeset'],[],this[_0x463c53(0x25d)]);this['_incrementRevisionNumber']();const _0x2c946e=this['_injector']['createInstance'](Oe,this[_0x463c53(0x3d4)],this[_0x463c53(0x57b)],this['_handler']);return _0x2c946e[_0x463c53(0x293)](),_0x2c946e;}[_0x1ab38c(0x1ab)](_0x51ea33){return this['_onConflict'](!!(_0x51ea33!=null&&_0x51ea33['isPermissionRej']));}[_0x1ab38c(0x51c)](_0x2135e2){const _0x4a98e7=_0x1ab38c;return this['_resendTimeout']>wi?this[_0x4a98e7(0x2d2)]():(this[_0x4a98e7(0x409)]=Pi(this[_0x4a98e7(0x61a)],{'timeout':this['_resendTimeout'],'reqId':_0x2135e2[_0x4a98e7(0x4f6)]}),this[_0x4a98e7(0x3f3)]=this[_0x4a98e7(0x409)]['subscribe'](({reqId:_0xa1de82,timeout:_0x382db9})=>{const _0x29b219=_0x4a98e7;this[_0x29b219(0x2bc)](_0xa1de82,_0x382db9);}),this);}[_0x1ab38c(0x2d2)](){const _0x321bfb=_0x1ab38c;return this[_0x321bfb(0x1ae)](),this['_injector'][_0x321bfb(0x440)](ve,this['unitID'],this[_0x321bfb(0x57b)],this[_0x321bfb(0x4c5)],[],this[_0x321bfb(0x25d)]);}['toggleOnline'](){return this;}[_0x1ab38c(0x3ce)](){const _0x1a015c=_0x1ab38c;this[_0x1a015c(0x25d)][_0x1a015c(0x55d)](this[_0x1a015c(0x4c5)]);}[_0x1ab38c(0x209)](_0x2d9e21){const _0x143a24=_0x1ab38c;return this[_0x143a24(0x1ae)](),this[_0x143a24(0x2f8)][_0x143a24(0x440)](fe,this[_0x143a24(0x3d4)],this[_0x143a24(0x57b)],this[_0x143a24(0x4c5)],[],this[_0x143a24(0x25d)],_0x2d9e21);}[_0x1ab38c(0x2bc)](_0x247cf7,_0x35dfd4){const _0x4d459e=_0x1ab38c;var _0x3a398c;_0x247cf7===((_0x3a398c=this[_0x4d459e(0x4c5)])==null?void 0x0:_0x3a398c['reqId'])&&(this['resend'](),this[_0x4d459e(0x61a)]=_0x35dfd4===0x0?0x3e8:_0x35dfd4*0x2);}['_clearScheduledTask'](){const _0x350b42=_0x1ab38c;var _0x226cd4;(_0x226cd4=this[_0x350b42(0x3f3)])==null||_0x226cd4['unsubscribe'](),this['_resendTimeout']=0x0;}};de=Ee([A(0x4,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),A(0x5,a[_0x1ab38c(0x56d)](m[_0x1ab38c(0x187)])),A(0x6,a[_0x1ab38c(0x56d)](exports[_0x1ab38c(0x516)])),A(0x7,a[_0x1ab38c(0x430)]),A(0x8,a[_0x1ab38c(0x626)]),A(0x9,m['ITransformService']),A(0xa,a[_0x1ab38c(0x248)])],de);let ce=class extends be{constructor(_0x4296de,_0x2c3b3,_0x147847,_0x4de519,_0x3f6942,_0x42245e,_0x52dd06,_0xeaa4c7,_0x2305d1,_0x42164d,_0x24553f,_0x5bc040,_0x55d43e){const _0x3f8c59=_0x1ab38c;super(_0x4296de,_0x2c3b3,_0x147847,_0x4de519,_0x3f6942,_0x42164d,_0x55d43e,_0xeaa4c7,_0x2305d1),I(this,_0x3f8c59(0x338),_0x3f8c59(0x1ff)),I(this,'_resendTimeout',0x0),I(this,_0x3f8c59(0x409)),I(this,_0x3f8c59(0x3f3)),(this[_0x3f8c59(0x2f8)]=_0x52dd06,this['_logService']=_0x24553f,this[_0x3f8c59(0x4bc)]=_0x5bc040,_0x42245e&&(this[_0x3f8c59(0x409)]=_0x42245e,this[_0x3f8c59(0x3f3)]=this[_0x3f8c59(0x409)]['subscribe'](({reqId:_0x20a7d9,timeout:_0x3e567b})=>{const _0x10d887=_0x3f8c59;this[_0x10d887(0x2bc)](_0x20a7d9,_0x3e567b);})));}[_0x1ab38c(0x4d7)](_0x3ff937){const _0x1ac0b9=_0x1ab38c;return this[_0x1ac0b9(0x1a9)]['push'](_0x3ff937),this;}[_0x1ab38c(0x452)](_0x51371f){const _0x5105e5=_0x1ab38c;if(this[_0x5105e5(0x52c)](_0x51371f))return this[_0x5105e5(0x1ae)](),this[_0x5105e5(0x2f8)]['createInstance'](re,this['unitID'],this[_0x5105e5(0x57b)],this[_0x5105e5(0x4c5)],this['_pendingMutations'],null,[_0x51371f],this[_0x5105e5(0x25d)]);try{const _0x486e49=this[_0x5105e5(0x4bc)][_0x5105e5(0x1d6)]([_0x51371f],[this['_awaitingChangeset']],!0x1);if(m[_0x5105e5(0x60b)](_0x486e49)){const {c1Prime:_0x1a56c7,c2Prime:_0x1d66f1}=_0x486e49,_0x12897b=this[_0x5105e5(0x4bc)][_0x5105e5(0x435)](_0x1a56c7[0x0],this[_0x5105e5(0x1a9)]);if(m[_0x5105e5(0x60c)](_0x12897b)){const {c1Prime:_0xf25e20,m2Prime:_0x215112}=_0x12897b;return this['_executeRemoteChangeset'](_0xf25e20),_0x1d66f1[0x0][_0x5105e5(0x212)]=this[_0x5105e5(0x1fe)](),this[_0x5105e5(0x1ae)](),this[_0x5105e5(0x2f8)][_0x5105e5(0x440)](ce,this[_0x5105e5(0x3d4)],this[_0x5105e5(0x57b)],_0x1d66f1[0x0],_0x215112,this[_0x5105e5(0x25d)],void 0x0);}throw _0x12897b['error'];}throw _0x486e49['error'];}catch(_0x38cd68){return this[_0x5105e5(0x4d3)][_0x5105e5(0x48d)](_0x38cd68),this[_0x5105e5(0x209)](!0x1);}}[_0x1ab38c(0x60a)](_0x572d0e){const _0x1b44fe=_0x1ab38c;if(this[_0x1b44fe(0x1ae)](),this[_0x1b44fe(0x52c)](_0x572d0e))return this[_0x1b44fe(0x2f8)][_0x1b44fe(0x440)](re,this[_0x1b44fe(0x3d4)],this[_0x1b44fe(0x57b)],null,this[_0x1b44fe(0x1a9)],this[_0x1b44fe(0x4c5)],[],this[_0x1b44fe(0x25d)]);this['_incrementRevisionNumber']();const _0x14c47b=this[_0x1b44fe(0x2f8)][_0x1b44fe(0x440)](ae,this['unitID'],this['type'],this[_0x1b44fe(0x1a9)],this['_handler']);return _0x14c47b[_0x1b44fe(0x1e2)](),_0x14c47b[_0x1b44fe(0x293)](),_0x14c47b;}[_0x1ab38c(0x1ab)](_0x16a695){const _0x507863=_0x1ab38c;return this[_0x507863(0x209)](!!(_0x16a695!=null&&_0x16a695[_0x507863(0x519)]));}[_0x1ab38c(0x51c)](_0x526469){const _0x18cee6=_0x1ab38c;return this[_0x18cee6(0x61a)]>wi?this[_0x18cee6(0x2d2)]():(this['_resendTimer']=Pi(this[_0x18cee6(0x61a)],{'timeout':this[_0x18cee6(0x61a)],'reqId':_0x526469['reqId']}),this[_0x18cee6(0x3f3)]=this[_0x18cee6(0x409)]['subscribe'](({reqId:_0x5aaf08,timeout:_0x5d0b02})=>{const _0x515f62=_0x18cee6;this[_0x515f62(0x2bc)](_0x5aaf08,_0x5d0b02);}),this);}[_0x1ab38c(0x2d2)](){const _0x156002=_0x1ab38c;return this[_0x156002(0x1ae)](),this[_0x156002(0x2f8)][_0x156002(0x440)](ve,this[_0x156002(0x3d4)],this['type'],this[_0x156002(0x4c5)],this['_pendingMutations'],this[_0x156002(0x25d)]);}[_0x1ab38c(0x22a)](){return this;}['resend'](){const _0x5ac75a=_0x1ab38c;this[_0x5ac75a(0x25d)][_0x5ac75a(0x55d)](this[_0x5ac75a(0x4c5)]);}[_0x1ab38c(0x209)](_0x1ce00f){const _0x2494bb=_0x1ab38c;return this['_clearScheduledTask'](),this[_0x2494bb(0x2f8)][_0x2494bb(0x440)](fe,this[_0x2494bb(0x3d4)],this[_0x2494bb(0x57b)],null,this[_0x2494bb(0x1a9)],this[_0x2494bb(0x25d)],_0x1ce00f);}[_0x1ab38c(0x2bc)](_0x2d338b,_0x50a334){const _0x3dad09=_0x1ab38c;var _0x51f8f9;_0x2d338b===((_0x51f8f9=this[_0x3dad09(0x4c5)])==null?void 0x0:_0x51f8f9[_0x3dad09(0x4f6)])&&(this[_0x3dad09(0x3ce)](),this[_0x3dad09(0x61a)]=_0x50a334===0x0?0x3e8:_0x50a334*0x2);}[_0x1ab38c(0x1ae)](){const _0x2c34cd=_0x1ab38c;var _0x5dbab6;(_0x5dbab6=this[_0x2c34cd(0x3f3)])==null||_0x5dbab6[_0x2c34cd(0x1f0)](),this['_resendTimeout']=0x0;}};ce=Ee([A(0x6,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),A(0x7,a['Inject'](m[_0x1ab38c(0x187)])),A(0x8,a[_0x1ab38c(0x56d)](exports[_0x1ab38c(0x516)])),A(0x9,a[_0x1ab38c(0x430)]),A(0xa,a[_0x1ab38c(0x626)]),A(0xb,m[_0x1ab38c(0x1d9)]),A(0xc,a[_0x1ab38c(0x248)])],ce);let fe=class extends be{constructor(_0x4f399b,_0x486826,_0x28c175,_0x2ede05,_0x5f0a68,_0x5d92f1=!0x1,_0x59f2af,_0x101be8,_0x268845,_0x27b0c4,_0x8d58f2,_0x4bbeba,_0x467ea7){const _0x377a4f=_0x1ab38c;super(_0x4f399b,_0x486826,_0x28c175,_0x2ede05,_0x5f0a68,_0x101be8,_0x268845,_0x8d58f2,_0x27b0c4),I(this,'status',_0x377a4f(0x496)),(this[_0x377a4f(0x34a)]=_0x5d92f1,this[_0x377a4f(0x50b)]=_0x59f2af,this[_0x377a4f(0x1e1)]=_0x4bbeba,this['_notificationService']=_0x467ea7,this[_0x377a4f(0x613)](),this[_0x377a4f(0x27d)](),this['_disableEditing']());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x1ab38c(0x60a)](){return this;}[_0x1ab38c(0x1ab)](){return this;}[_0x1ab38c(0x51c)](){return this;}[_0x1ab38c(0x2d2)](){return this;}[_0x1ab38c(0x22a)](){return this;}[_0x1ab38c(0x3ce)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1ab38c(0x27d)](){const _0x3860c3=_0x1ab38c;this[_0x3860c3(0x28a)][_0x3860c3(0x2db)](this['unitID'],this[_0x3860c3(0x57b)],null,[]);}[_0x1ab38c(0x613)](){const _0x25266f=_0x1ab38c;this[_0x25266f(0x34a)]?this[_0x25266f(0x5f5)][_0x25266f(0x19e)]({'title':this[_0x25266f(0x1e1)]['t']('permission.title'),'content':this[_0x25266f(0x1e1)]['t'](_0x25266f(0x616)),'type':_0x25266f(0x48d),'duration':0x0}):this[_0x25266f(0x5f5)][_0x25266f(0x19e)]({'title':this[_0x25266f(0x1e1)]['t'](_0x25266f(0x259)),'content':this[_0x25266f(0x1e1)]['t'](_0x25266f(0x351)),'type':_0x25266f(0x48d),'duration':0x0});}[_0x1ab38c(0x3e8)](){const _0x57a53b=_0x1ab38c;this[_0x57a53b(0x50b)][_0x57a53b(0x3f0)](new k['WorkbookEditablePermission'](this[_0x57a53b(0x3d4)])['id'],!0x1);}};fe=Ee([A(0x6,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x47f)])),A(0x7,a[_0x1ab38c(0x430)]),A(0x8,a['IUndoRedoService']),A(0x9,a[_0x1ab38c(0x56d)](exports[_0x1ab38c(0x516)])),A(0xa,a['Inject'](m[_0x1ab38c(0x187)])),A(0xb,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x394)])),A(0xc,ee['INotificationService'])],fe);let ve=class extends be{constructor(_0x38f528,_0x33306a,_0x19d860,_0x3b5a77,_0x58659d,_0x551d86,_0x8a6a37,_0x2629bb,_0x2af58e,_0x279a49){const _0x2fec5c=_0x1ab38c;super(_0x38f528,_0x33306a,_0x19d860,_0x3b5a77,_0x58659d,_0x2af58e,_0x279a49,_0x8a6a37,_0x2629bb),I(this,_0x2fec5c(0x338),_0x2fec5c(0x573)),this[_0x2fec5c(0x2f8)]=_0x551d86;}[_0x1ab38c(0x4d7)](_0x17d739){const _0x3b3c12=_0x1ab38c;return this[_0x3b3c12(0x1a9)][_0x3b3c12(0x2e4)](_0x17d739),this[_0x3b3c12(0x293)](),this;}[_0x1ab38c(0x452)](_0x4b3399){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0x469e70=_0x1ab38c;throw new Error(_0x469e70(0x5f7));}['onRemoteRej'](){const _0x117bda=_0x1ab38c;throw new Error(_0x117bda(0x318));}[_0x1ab38c(0x51c)](){return this;}[_0x1ab38c(0x2d2)](){return this;}[_0x1ab38c(0x22a)](){const _0x1c8125=_0x1ab38c,{_injector:_0x44ad5c,_pendingMutations:_0x57d96d,_awaitingChangeset:_0x169a06,unitID:_0x4f673d,_handler:_0x36d022,type:_0x22e09a}=this,_0x5ed5ec=Ui(_0x44ad5c,_0x4f673d,_0x22e09a,_0x169a06,_0x57d96d,_0x36d022);return _0x5ed5ec instanceof ae?_0x5ed5ec[_0x1c8125(0x1e2)]():(_0x5ed5ec instanceof ce||_0x5ed5ec instanceof de)&&_0x5ed5ec['resend'](),_0x5ed5ec;}[_0x1ab38c(0x3ce)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ve=Ee([A(0x5,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),A(0x6,a['Inject'](m[_0x1ab38c(0x187)])),A(0x7,a[_0x1ab38c(0x56d)](exports['LocalCacheService'])),A(0x8,a['ICommandService']),A(0x9,a[_0x1ab38c(0x248)])],ve);let re=class extends be{constructor(_0x1ff214,_0x195eb8,_0x3395b8,_0x5dbd47,_0x43b37c,_0x3c27e5,_0x22f671,_0x4a3ad4,_0xa5b1e3,_0x2c02dd,_0x519d67,_0x18d17a,_0x2ae10e,_0x3b3a8d){const _0x2b73fb=_0x1ab38c;super(_0x1ff214,_0x195eb8,_0x3395b8,_0x5dbd47,_0x22f671,_0x18d17a,_0x2ae10e,_0xa5b1e3,_0x2c02dd),I(this,'status',_0x2b73fb(0x450)),(this['_acknowledgedAwaitingChangeset']=_0x43b37c,this[_0x2b73fb(0x619)]=_0x3c27e5,this[_0x2b73fb(0x2f8)]=_0x4a3ad4,this['_logService']=_0x519d67,this[_0x2b73fb(0x4bc)]=_0x3b3a8d);}[_0x1ab38c(0x18a)](_0x30dc76){const _0x1ee473=_0x1ab38c;try{const _0x3a345e=[..._0x30dc76,...this[_0x1ee473(0x619)]],_0x3eafea=[this[_0x1ee473(0x4c5)]||this['_acknowledgedAwaitingChangeset']][_0x1ee473(0x4b6)](_0x3d8196=>!!_0x3d8196);let _0x1677c4,_0x1e5f99;if(_0x3eafea[_0x1ee473(0x2b7)]){const _0x545698=this[_0x1ee473(0x4bc)][_0x1ee473(0x1d6)](_0x3a345e,_0x3eafea,!0x1);if(!m[_0x1ee473(0x60b)](_0x545698))throw _0x545698['error'];_0x1677c4=_0x545698[_0x1ee473(0x16d)],_0x1e5f99=_0x545698[_0x1ee473(0x191)];}else _0x1677c4=_0x3a345e,_0x1e5f99=[];let _0x460b64=this[_0x1ee473(0x1a9)];_0x1677c4[_0x1ee473(0x3f4)](_0x284e4d=>{const _0x8917ea=_0x1ee473;let _0x1818b6;if(_0x460b64['length']){const _0x1aef87=this[_0x8917ea(0x4bc)][_0x8917ea(0x435)](_0x284e4d,_0x460b64);if(!m[_0x8917ea(0x60c)](_0x1aef87))throw _0x1aef87['error'];_0x1818b6=_0x1aef87[_0x8917ea(0x16d)],_0x460b64=_0x1aef87[_0x8917ea(0x1cb)];}else _0x1818b6=_0x284e4d;this[_0x8917ea(0x357)](_0x1818b6);}),this[_0x1ee473(0x58e)]&&this[_0x1ee473(0x3cb)](),this[_0x1ee473(0x4c5)]&&_0x1e5f99[_0x1ee473(0x2b7)]&&(_0x1e5f99[0x0][_0x1ee473(0x212)]=this['_getCurrentRevision']());let _0x390b72;if(this['_awaitingChangeset']&&_0x460b64['length']!==0x0)_0x390b72=this[_0x1ee473(0x2f8)][_0x1ee473(0x440)](ce,this[_0x1ee473(0x3d4)],this[_0x1ee473(0x57b)],_0x1e5f99[0x0],_0x460b64,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x460b64[_0x1ee473(0x2b7)]===0x0)_0x1e5f99[0x0][_0x1ee473(0x212)]=this[_0x1ee473(0x1fe)](),_0x390b72=this[_0x1ee473(0x2f8)][_0x1ee473(0x440)](de,this['unitID'],this[_0x1ee473(0x57b)],_0x1e5f99[0x0],this[_0x1ee473(0x25d)]);else{if(_0x460b64[_0x1ee473(0x2b7)]!==0x0){const _0x5874c9=this['_injector']['createInstance'](ae,this['unitID'],this[_0x1ee473(0x57b)],_0x460b64,this[_0x1ee473(0x25d)]);_0x5874c9['_schedule'](),_0x390b72=_0x5874c9;}else _0x390b72=this[_0x1ee473(0x2f8)]['createInstance'](Oe,this[_0x1ee473(0x3d4)],this['type'],this[_0x1ee473(0x25d)]);}}return _0x390b72[_0x1ee473(0x293)](),_0x390b72;}catch(_0x5b3e67){return this[_0x1ee473(0x4d3)][_0x1ee473(0x48d)](_0x1ee473(0x5a6),'failed\x20to\x20apply\x20missed\x20changesets!',_0x5b3e67),this['_injector']['createInstance'](fe,this['unitID'],this['type'],this[_0x1ee473(0x4c5)],this['_pendingMutations'],this[_0x1ee473(0x25d)],!0x1);}}[_0x1ab38c(0x3ce)](){const _0x21fb57=_0x1ab38c;throw new Error(_0x21fb57(0x54f));}[_0x1ab38c(0x4d7)](_0x356c64){const _0x1ec815=_0x1ab38c;return this['_pendingMutations'][_0x1ec815(0x2e4)](_0x356c64),this;}[_0x1ab38c(0x452)](_0x4d29f6){const _0x5d63fb=_0x1ab38c;return this[_0x5d63fb(0x619)][_0x5d63fb(0x2e4)](_0x4d29f6),this;}['onRemoteAck'](_0x8dc274){const _0x42813e=_0x1ab38c;if(this[_0x42813e(0x4c5)])return this['_acknowledgedAwaitingChangeset']=this[_0x42813e(0x4c5)],this[_0x42813e(0x4c5)]=null,this;throw new Error(_0x42813e(0x37e));}[_0x1ab38c(0x1ab)](_0xbf1a88){const _0x4c9b62=_0x1ab38c;return this[_0x4c9b62(0x209)](!!(_0xbf1a88!=null&&_0xbf1a88[_0x4c9b62(0x519)]));}[_0x1ab38c(0x51c)](){return this;}[_0x1ab38c(0x2d2)](){const _0x1da66a=_0x1ab38c;return this[_0x1da66a(0x2f8)][_0x1da66a(0x440)](ve,this[_0x1da66a(0x3d4)],this[_0x1da66a(0x57b)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1da66a(0x25d)]);}[_0x1ab38c(0x22a)](){return this;}[_0x1ab38c(0x209)](_0x37dcc8){const _0x128c62=_0x1ab38c;return this[_0x128c62(0x2f8)][_0x128c62(0x440)](fe,this[_0x128c62(0x3d4)],this['type'],this['_awaitingChangeset'],this[_0x128c62(0x1a9)],this['_handler'],_0x37dcc8);}};re=Ee([A(0x7,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),A(0x8,a[_0x1ab38c(0x56d)](m[_0x1ab38c(0x187)])),A(0x9,a['Inject'](exports[_0x1ab38c(0x516)])),A(0xa,a[_0x1ab38c(0x626)]),A(0xb,a[_0x1ab38c(0x430)]),A(0xc,a['IUndoRedoService']),A(0xd,m['ITransformService'])],re);function Ui(_0x16773e,_0x1f0452,_0x4d6eb7,_0x1bfc08,_0x8f7d60,_0x18a9af){const _0x2ce3ac=_0x1ab38c;return _0x1bfc08&&_0x8f7d60[_0x2ce3ac(0x2b7)]?_0x16773e[_0x2ce3ac(0x440)](ce,_0x1f0452,_0x4d6eb7,_0x1bfc08,_0x8f7d60,_0x18a9af,void 0x0):_0x1bfc08?_0x16773e[_0x2ce3ac(0x440)](de,_0x1f0452,_0x4d6eb7,_0x1bfc08,_0x18a9af):_0x8f7d60['length']?_0x16773e[_0x2ce3ac(0x440)](ae,_0x1f0452,_0x4d6eb7,_0x8f7d60,_0x18a9af):_0x16773e[_0x2ce3ac(0x440)](Oe,_0x1f0452,_0x4d6eb7,_0x18a9af);}var Xn=Object[_0x1ab38c(0x322)],Jn=Object[_0x1ab38c(0x5da)],Mt=(_0xd34aaf,_0x3e5501,_0x3506eb,_0x32a664)=>{const _0x3430e4=_0x1ab38c;for(var _0x392a4f=_0x32a664>0x1?void 0x0:_0x32a664?Jn(_0x3e5501,_0x3506eb):_0x3e5501,_0x281b91=_0xd34aaf[_0x3430e4(0x2b7)]-0x1,_0x2bd2c7;_0x281b91>=0x0;_0x281b91--)(_0x2bd2c7=_0xd34aaf[_0x281b91])&&(_0x392a4f=(_0x32a664?_0x2bd2c7(_0x3e5501,_0x3506eb,_0x392a4f):_0x2bd2c7(_0x392a4f))||_0x392a4f);return _0x32a664&&_0x392a4f&&Xn(_0x3e5501,_0x3506eb,_0x392a4f),_0x392a4f;},H=(_0x321156,_0x57e65f)=>(_0x2731da,_0x2a0c12)=>_0x57e65f(_0x2731da,_0x2a0c12,_0x321156);exports['CollaborationEntity']=class extends a[_0x1ab38c(0x579)]{constructor(_0x37bf06,_0x28bd1c,_0x3a1851,_0x1a2942,_0x3659a9,_0x3e9b48,_0xee1a19,_0x358e88,_0x4fe44a,_0x175c40,_0x3962d5,_0x138e5f,_0x472ddb){const _0xe89502=_0x1ab38c;super(),I(this,'_state$',new N[(_0xe89502(0x3bd))](null)),I(this,_0xe89502(0x5ff),this[_0xe89502(0x52f)][_0xe89502(0x3b4)]()),I(this,_0xe89502(0x33f)),I(this,_0xe89502(0x249),!0x1),I(this,_0xe89502(0x1bc),''),I(this,_0xe89502(0x3e9),0x0),I(this,_0xe89502(0x1af),this[_0xe89502(0x5ff)][_0xe89502(0x21a)](N[_0xe89502(0x4e4)](_0x4893fc=>_0x4893fc?_0x4893fc[_0xe89502(0x338)]:K['OFFLINE']),N['shareReplay'](0x1))),I(this,_0xe89502(0x569),!0x1),I(this,_0xe89502(0x29d),[]),(this[_0xe89502(0x3d4)]=_0x37bf06,this[_0xe89502(0x227)]=_0x28bd1c,this[_0xe89502(0x3fb)]=_0x3a1851,this[_0xe89502(0x2f8)]=_0x1a2942,this['_localCacheService']=_0x3659a9,this[_0xe89502(0x37d)]=_0x3e9b48,this['_localeService']=_0xee1a19,this[_0xe89502(0x276)]=_0x358e88,this[_0xe89502(0x4d3)]=_0x4fe44a,this[_0xe89502(0x223)]=_0x175c40,this['_messageService']=_0x3962d5,this[_0xe89502(0x50b)]=_0x138e5f,this[_0xe89502(0x1ca)]=_0x472ddb);}get[_0x1ab38c(0x5de)](){const _0x38158a=_0x1ab38c;return this[_0x38158a(0x33f)];}async['init'](){const _0x4ec0e2=_0x1ab38c;if(this['state'])throw new Error(_0x4ec0e2(0x2e7));await this['_init']();}['pauseCollaboration'](){const _0x459291=_0x1ab38c;return this[_0x459291(0x249)]=!0x0,a['toDisposable'](()=>{const _0x53a7b5=_0x459291;this[_0x53a7b5(0x249)]=!0x1,this[_0x53a7b5(0x367)]();});}[_0x1ab38c(0x40f)](_0xd32912){const _0x40731b=_0x1ab38c;this[_0x40731b(0x33f)]=_0xd32912,this['_state$'][_0x40731b(0x2c0)](_0xd32912);}async[_0x1ab38c(0x419)](){const _0x52f462=_0x1ab38c;var _0x252bd5;this[_0x52f462(0x40f)](await this[_0x52f462(0x2d7)]()),this[_0x52f462(0x1ca)]&&((_0x252bd5=this[_0x52f462(0x1ca)])==null||_0x252bd5[_0x52f462(0x548)](this[_0x52f462(0x3d4)]),this[_0x52f462(0x4ae)](this[_0x52f462(0x1ca)]['getUnitStatus$'](this[_0x52f462(0x3d4)])['subscribe'](_0x21889c=>{const _0x2aa7bc=_0x52f462;this['_logService']['debug'](_0x2aa7bc(0x333),'editing\x20status\x20changed\x20to',_0x21889c),_0x21889c===yi['OTHER_CLIENTS_EDITING']?(this[_0x2aa7bc(0x3d9)][_0x2aa7bc(0x19e)]({'content':this[_0x2aa7bc(0x1e1)]['t']('collaboration.single-unit.warning'),'type':Ce[_0x2aa7bc(0x16e)][_0x2aa7bc(0x475)]}),this['_permissionService'][_0x2aa7bc(0x3f0)](new k[(_0x2aa7bc(0x269))](this[_0x2aa7bc(0x3d4)])['id'],!0x1),this[_0x2aa7bc(0x50b)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x2aa7bc(0x3f0)](new k['WorkbookEditablePermission'](this[_0x2aa7bc(0x3d4)])['id'],!0x0),this[_0x2aa7bc(0x50b)][_0x2aa7bc(0x239)](!0x0));})));let _0x50f47c=!0x1;return this['disposeWithMe'](this['session'][_0x52f462(0x596)]['subscribe'](_0x31368c=>{const _0x485a48=_0x52f462;_0x31368c===ne[_0x485a48(0x36a)]?this[_0x485a48(0x5b8)](_0x50f47c):_0x31368c===ne[_0x485a48(0x1e7)]&&(_0x50f47c=!0x0,this['_toggleOffline']());})),this[_0x52f462(0x4ae)](this[_0x52f462(0x227)][_0x52f462(0x4b8)][_0x52f462(0x2cc)](_0x38e2b6=>{const _0xda53ce=_0x52f462;try{switch(_0x38e2b6[_0xda53ce(0x25e)]){case m['CollaborationEvent'][_0xda53ce(0x465)]:{this[_0xda53ce(0x2d9)](m[_0xda53ce(0x348)](_0x38e2b6[_0xda53ce(0x372)]));break;}case m['CollaborationEvent'][_0xda53ce(0x405)]:{this['_onRemoteACK'](_0x38e2b6[_0xda53ce(0x372)]);break;}case m[_0xda53ce(0x60d)][_0xda53ce(0x24c)]:{this[_0xda53ce(0x485)]();break;}case m['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:{this[_0xda53ce(0x2a9)](_0x38e2b6[_0xda53ce(0x372)]);break;}case m['CollaborationEvent'][_0xda53ce(0x4e8)]:{this['_onFetchMissResult'](_0x38e2b6[_0xda53ce(0x372)]['changesets'][_0xda53ce(0x4e4)](_0x4cc796=>m['parseProtocolChangeset'](_0x4cc796)));break;}case m[_0xda53ce(0x60d)]['PERMISSION_REJ']:this[_0xda53ce(0x485)]({'isPermissionRej':!0x0});}}catch(_0x5d19ea){throw console['error'](_0xda53ce(0x583),_0x5d19ea),_0x5d19ea;}})),this['_state'];}[_0x1ab38c(0x2f6)](){this['_transitionLocked']=!0x1;}[_0x1ab38c(0x169)](){const _0x4f2aba=_0x1ab38c;if(this['_transitionLocked'])throw new Error(_0x4f2aba(0x428));this[_0x4f2aba(0x569)]=!0x0;}['_onLocalMutation'](_0x4cc32e){const _0x15862c=_0x1ab38c;this[_0x15862c(0x169)](),this[_0x15862c(0x40f)](this['_state']['appendMutation'](_0x4cc32e)),this[_0x15862c(0x2f6)]();}[_0x1ab38c(0x2d9)](_0x70fa03){const _0x363a7f=_0x1ab38c;if(!(_0x70fa03[_0x363a7f(0x3fa)]<=this[_0x363a7f(0x276)][_0x363a7f(0x56f)](this[_0x363a7f(0x3d4)]))){if(this[_0x363a7f(0x249)]){this[_0x363a7f(0x29d)][_0x363a7f(0x2e4)](_0x70fa03);return;}this[_0x363a7f(0x22e)](_0x70fa03);}}[_0x1ab38c(0x367)](){const _0x294db0=_0x1ab38c;this[_0x294db0(0x29d)][_0x294db0(0x3f4)](_0xd2ccd9=>this['_applyRemoteChangeset'](_0xd2ccd9)),this[_0x294db0(0x29d)]=[];}[_0x1ab38c(0x22e)](_0x2c4ab0){const _0x4d06e3=_0x1ab38c,_0x270851=this[_0x4d06e3(0x37d)][_0x4d06e3(0x4b5)][_0x4d06e3(0x17e)](this['_compressMutationService'][_0x4d06e3(0x4b5)][_0x4d06e3(0x5db)]()[_0x4d06e3(0x423)])(_0x2c4ab0[_0x4d06e3(0x4ea)],null)||_0x2c4ab0[_0x4d06e3(0x4ea)],_0x4f5300={..._0x2c4ab0,'mutations':_0x270851};this['_lockTransition'](),this['_updateState'](this['_state'][_0x4d06e3(0x452)](_0x4f5300)),this[_0x4d06e3(0x2f6)]();}[_0x1ab38c(0x48c)](_0x3641b5){const _0x168cf4=_0x1ab38c;this[_0x168cf4(0x169)](),this[_0x168cf4(0x40f)](this['_state'][_0x168cf4(0x60a)](_0x3641b5)),this[_0x168cf4(0x2f6)]();}[_0x1ab38c(0x485)](_0x8e1d87){const _0x4a8af4=_0x1ab38c;this[_0x4a8af4(0x169)](),this[_0x4a8af4(0x40f)](this[_0x4a8af4(0x33f)][_0x4a8af4(0x1ab)](_0x8e1d87)),this[_0x4a8af4(0x2f6)]();}[_0x1ab38c(0x2a9)](_0x4f0dc7){const _0x288776=_0x1ab38c;this[_0x288776(0x169)](),this[_0x288776(0x40f)](this[_0x288776(0x33f)]['onRemoteRetry'](_0x4f0dc7)),this[_0x288776(0x2f6)]();}['_onFetchMissResult'](_0x595d2a){const _0x569b7f=_0x1ab38c;if(!(this[_0x569b7f(0x33f)]instanceof re))throw new TypeError(_0x569b7f(0x403));const _0x479f81=_0x595d2a[_0x569b7f(0x4e4)](_0x93da25=>{const _0x432323=_0x569b7f,_0x410f26=this['_compressMutationService'][_0x432323(0x4b5)][_0x432323(0x17e)](this[_0x432323(0x37d)][_0x432323(0x4b5)][_0x432323(0x5db)]()['COMPRESS_MUTATION_APPLY'])(_0x93da25[_0x432323(0x4ea)],null)||_0x93da25[_0x432323(0x4ea)];return{..._0x93da25,'mutations':_0x410f26};});this[_0x569b7f(0x169)](),this[_0x569b7f(0x40f)](this[_0x569b7f(0x33f)][_0x569b7f(0x18a)](_0x479f81)),this[_0x569b7f(0x2f6)]();}[_0x1ab38c(0x574)](){const _0x4b897c=_0x1ab38c;this[_0x4b897c(0x169)](),this['_updateState'](this[_0x4b897c(0x33f)][_0x4b897c(0x2d2)]()),this['_unlockTransition']();}[_0x1ab38c(0x5b8)](_0x141614=!0x1){const _0x1239c4=_0x1ab38c;this[_0x1239c4(0x169)](),this[_0x1239c4(0x40f)](this[_0x1239c4(0x33f)][_0x1239c4(0x22a)]()),this[_0x1239c4(0x2f6)]();const _0x466d98=this[_0x1239c4(0x33f)];_0x141614&&_0x466d98 instanceof Oe&&(this[_0x1239c4(0x169)](),this[_0x1239c4(0x40f)](_0x466d98[_0x1239c4(0x4a2)]()),this[_0x1239c4(0x2f6)]());}async['_createInitialState'](){return new Promise(_0x178918=>{const _0x4048cb=_0x33d2;this[_0x4048cb(0x227)][_0x4048cb(0x596)][_0x4048cb(0x21a)](N[_0x4048cb(0x184)](0x1))[_0x4048cb(0x2cc)](async _0x4d1682=>{const _0x4a1af6=_0x4048cb;_0x178918(await this[_0x4a1af6(0x40e)](_0x4d1682===ne[_0x4a1af6(0x36a)]));});});}[_0x1ab38c(0x192)](){const _0x56f302=_0x1ab38c,_0x583096=this[_0x56f302(0x3d4)];return{'onStateChange':(_0x2fefe3,_0x202611)=>{const _0x4fdb13=_0x56f302;if(_0x2fefe3!==this[_0x4fdb13(0x33f)])throw new Error(_0x4fdb13(0x301)+_0x2fefe3[_0x4fdb13(0x338)]+'\x0aAfter:\x20'+_0x202611[_0x4fdb13(0x338)]+_0x4fdb13(0x5fc)+this[_0x4fdb13(0x33f)][_0x4fdb13(0x338)]);this['_updateState'](_0x202611);},'onSendChangeset':_0xd0e7b8=>{const _0x155336=_0x56f302;_0xd0e7b8['sid']||(_0xd0e7b8[_0x155336(0x26f)]=this['_changesetSessionId'],_0xd0e7b8['reqId']=++this[_0x155336(0x3e9)]);const _0x18a50f={'eventID':m[_0x155336(0x60d)]['SUBMIT_CHANGESET'],'data':{'unitID':_0xd0e7b8['unitID'],'unitType':this['_type'],'changeset':_0xd0e7b8,'memberID':this['session'][_0x155336(0x342)]()}};this[_0x155336(0x227)][_0x155336(0x5fb)](_0x18a50f,this['unitID']);},'onMissingChangesets':({from:_0x276510,to:_0x1d68ee})=>{const _0x28ffbb=_0x56f302;this[_0x28ffbb(0x4d3)][_0x28ffbb(0x479)](_0x28ffbb(0x333),'fetching\x20missing\x20changesets\x20from\x20'+_0x276510+'\x20to\x20'+_0x1d68ee);const _0x100dce={'eventID':m[_0x28ffbb(0x60d)][_0x28ffbb(0x288)],'data':{'unitID':_0x583096,'unitType':this[_0x28ffbb(0x3fb)],'from':_0x276510,'to':_0x1d68ee}};this[_0x28ffbb(0x227)][_0x28ffbb(0x5fb)](_0x100dce,this[_0x28ffbb(0x3d4)]);}};}async[_0x1ab38c(0x40e)](_0x27d4c2){const _0x381278=_0x1ab38c;var _0x3999bf,_0x24044f;const _0x266111=await this[_0x381278(0x28a)][_0x381278(0x309)](this[_0x381278(0x3d4)]),_0x24fb82=(_0x3999bf=_0x266111==null?void 0x0:_0x266111[_0x381278(0x4ea)])!=null?_0x3999bf:[],_0x3eb518=(_0x24044f=_0x266111==null?void 0x0:_0x266111[_0x381278(0x228)])!=null?_0x24044f:null,_0x328e2c=!!(_0x3eb518!=null&&_0x3eb518[_0x381278(0x26f)])&&!!(_0x3eb518!=null&&_0x3eb518[_0x381278(0x4f6)]);this[_0x381278(0x1bc)]=_0x328e2c?_0x3eb518[_0x381278(0x26f)]:On(),this[_0x381278(0x3e9)]=_0x328e2c?_0x3eb518[_0x381278(0x4f6)]:0x0;const _0x525ea1=this[_0x381278(0x3d4)];try{this[_0x381278(0x1cd)](_0x3eb518,_0x24fb82);}catch(_0xf1f17){this[_0x381278(0x4d3)][_0x381278(0x48d)](_0xf1f17);}const _0x72d784=this[_0x381278(0x192)]();if(_0x27d4c2){const _0x15da15=Ui(this[_0x381278(0x2f8)],_0x525ea1,this[_0x381278(0x3fb)],_0x3eb518,_0x24fb82,_0x72d784);return _0x15da15 instanceof ae?_0x15da15[_0x381278(0x1e2)]():(_0x15da15 instanceof ce||_0x15da15 instanceof de)&&_0x15da15['resend'](),_0x15da15;}return this[_0x381278(0x2f8)][_0x381278(0x440)](ve,_0x525ea1,this[_0x381278(0x3fb)],_0x3eb518,_0x24fb82,_0x72d784);}[_0x1ab38c(0x1cd)](_0x53c628,_0x2aa7c0){const _0x22aa37=_0x1ab38c;var _0x4a9117,_0x37542d;const _0x465f6f=this[_0x22aa37(0x37d)][_0x22aa37(0x4b5)][_0x22aa37(0x17e)](this['_compressMutationService']['interceptor'][_0x22aa37(0x5db)]()['COMPRESS_MUTATION_APPLY']);(_0x4a9117=_0x465f6f((_0x53c628==null?void 0x0:_0x53c628[_0x22aa37(0x4ea)])||[],null))==null||_0x4a9117[_0x22aa37(0x3f4)](_0xfffa53=>this[_0x22aa37(0x223)]['executeCommand'](_0xfffa53['id'],_0xfffa53[_0x22aa37(0x1f8)])),(_0x37542d=_0x465f6f(_0x2aa7c0||[],null))==null||_0x37542d[_0x22aa37(0x3f4)](_0x2007af=>this['_commandService'][_0x22aa37(0x59c)](_0x2007af['id'],_0x2007af[_0x22aa37(0x1f8)]));}},exports[_0x1ab38c(0x2cd)]=Mt([H(0x3,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),H(0x4,a['Inject'](exports[_0x1ab38c(0x516)])),H(0x5,a[_0x1ab38c(0x56d)](m[_0x1ab38c(0x4b2)])),H(0x6,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x394)])),H(0x7,a[_0x1ab38c(0x56d)](m[_0x1ab38c(0x187)])),H(0x8,a['ILogService']),H(0x9,a[_0x1ab38c(0x430)]),H(0xa,ee[_0x1ab38c(0x592)]),H(0xb,a[_0x1ab38c(0x47f)]),H(0xc,a['Optional'](at))],exports[_0x1ab38c(0x2cd)]),exports['DocCollaborationEntity']=class extends exports[_0x1ab38c(0x2cd)]{constructor(_0x44a808,_0x4ce598,_0x45256b,_0x1c6bd8,_0x479758,_0x14e698,_0x296216,_0x36db15,_0x29983f,_0x1afd78,_0x251445,_0x3371dd,_0x4cc911,_0x2cd6de,_0x4a0a1a,_0x45e1df,_0x2e834c,_0x25e368){const _0x704401=_0x1ab38c;super(_0x44a808,_0x45256b,_0x4ce598,_0x1c6bd8,_0x479758,_0x14e698,_0x296216,_0x36db15,_0x2cd6de,_0x4a0a1a,_0x45e1df,_0x2e834c,_0x25e368),this[_0x704401(0x3d4)]=_0x44a808,this[_0x704401(0x57b)]=_0x4ce598,this['_docStateChangeManagerService']=_0x29983f,this[_0x704401(0x3bc)]=_0x1afd78,this[_0x704401(0x62d)]=_0x251445,this[_0x704401(0x186)]=_0x3371dd,this['_docSyncEditingCollabCursorService']=_0x4cc911;}[_0x1ab38c(0x192)](){const _0x3b0000=_0x1ab38c,_0x198a91=super['_createHandler']();return _0x198a91['onTransformIME']=_0x4f4e2f=>this[_0x3b0000(0x3bc)]['transformIMECache'](_0x4f4e2f),_0x198a91[_0x3b0000(0x216)]=_0xbfba7c=>this[_0x3b0000(0x62d)][_0x3b0000(0x2f2)](_0xbfba7c),_0x198a91[_0x3b0000(0x453)]=_0x2395bc=>this[_0x3b0000(0x186)][_0x3b0000(0x3ab)](_0x2395bc),_0x198a91[_0x3b0000(0x46b)]=_0x4ef5d8=>this[_0x3b0000(0x5c9)][_0x3b0000(0x20e)](_0x4ef5d8),_0x198a91['onTransformRemoteChangesetByIMECache']=_0x2b1bea=>this[_0x3b0000(0x3bc)][_0x3b0000(0x1f3)](_0x2b1bea),_0x198a91[_0x3b0000(0x26c)]=_0x367740=>this[_0x3b0000(0x62d)][_0x3b0000(0x1f3)](_0x367740),_0x198a91;}async[_0x1ab38c(0x419)](){const _0x21957b=_0x1ab38c,_0x55421b=await super[_0x21957b(0x419)]();return this[_0x21957b(0x4ae)](this[_0x21957b(0x3b3)][_0x21957b(0x266)][_0x21957b(0x21a)](N['takeUntil'](this[_0x21957b(0x326)]))[_0x21957b(0x2cc)](_0x553e86=>{const _0x22c092=_0x21957b;if(_0x553e86==null)return;const {unitId:_0x1e658d,redoState:_0x9753e2,commandId:_0x6ded14}=_0x553e86;if(_0x1e658d!==this[_0x22c092(0x3d4)])return;const _0x94025a={'id':_0x6ded14,'type':a[_0x22c092(0x395)][_0x22c092(0x28b)],'params':{'unitId':_0x1e658d,'actions':_0x9753e2[_0x22c092(0x1dc)],'textRanges':null}};this[_0x22c092(0x4b7)](_0x94025a);})),this[_0x21957b(0x4ae)](this[_0x21957b(0x223)][_0x21957b(0x365)]((_0x45a6b7,_0x3d933b)=>{const _0x360ce6=_0x21957b;if(_0x45a6b7[_0x360ce6(0x57b)]!==a[_0x360ce6(0x395)][_0x360ce6(0x28b)]||_0x3d933b!=null&&_0x3d933b[_0x360ce6(0x4de)]||_0x3d933b!=null&&_0x3d933b[_0x360ce6(0x36f)]||_0x45a6b7['id']===Ie[_0x360ce6(0x2a5)]['id'])return;const _0x1a6155=_0x45a6b7[_0x360ce6(0x1f8)];if((_0x1a6155==null?void 0x0:_0x1a6155[_0x360ce6(0x1d7)])!==this[_0x360ce6(0x3d4)])return;const _0x213905=_0x45a6b7,_0x2610a4=this[_0x360ce6(0x37d)]['interceptor'][_0x360ce6(0x17e)](this[_0x360ce6(0x37d)][_0x360ce6(0x4b5)][_0x360ce6(0x5db)]()[_0x360ce6(0x4f2)])([_0x213905],null)||[_0x213905];this[_0x360ce6(0x4b7)](_0x2610a4[0x0]);})),_0x55421b;}},exports['DocCollaborationEntity']=Mt([H(0x3,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),H(0x4,a['Inject'](exports[_0x1ab38c(0x516)])),H(0x5,a[_0x1ab38c(0x56d)](m[_0x1ab38c(0x4b2)])),H(0x6,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x394)])),H(0x7,a['Inject'](m[_0x1ab38c(0x187)])),H(0x8,a[_0x1ab38c(0x56d)](J[_0x1ab38c(0x553)])),H(0x9,a[_0x1ab38c(0x56d)](Ze)),H(0xa,a['Inject'](et)),H(0xb,a[_0x1ab38c(0x56d)](tt)),H(0xc,a['Inject'](Ut)),H(0xd,a[_0x1ab38c(0x626)]),H(0xe,a[_0x1ab38c(0x430)]),H(0xf,ee['IMessageService']),H(0x10,a['IPermissionService']),H(0x11,a[_0x1ab38c(0x627)](at))],exports[_0x1ab38c(0x290)]),exports[_0x1ab38c(0x3d8)]=class extends exports['CollaborationEntity']{constructor(_0x3df5ae,_0x19af30,_0x8a60b5,_0x4e7569,_0x2e9490,_0x51cc2a,_0x4a7d5b,_0x4da525,_0x47599f,_0x169134,_0x41b3a8,_0x46f674,_0x23d365,_0x52900b){const _0x1f23ce=_0x1ab38c;super(_0x3df5ae,_0x8a60b5,_0x19af30,_0x4e7569,_0x2e9490,_0x51cc2a,_0x4a7d5b,_0x4da525,_0x169134,_0x41b3a8,_0x46f674,_0x23d365,_0x52900b),this[_0x1f23ce(0x3d4)]=_0x3df5ae,this['type']=_0x19af30,this[_0x1f23ce(0x3cc)]=_0x47599f;}['_createHandler'](){const _0x419a81=_0x1ab38c,_0x1d8f5c=super[_0x419a81(0x192)]();return _0x1d8f5c[_0x419a81(0x453)]=_0x23b680=>this[_0x419a81(0x3cc)]['transformSelections'](_0x23b680),_0x1d8f5c;}async[_0x1ab38c(0x419)](){const _0x7765c3=_0x1ab38c,_0x3f960f=await super[_0x7765c3(0x419)]();return this[_0x7765c3(0x4ae)](this['_commandService'][_0x7765c3(0x365)]((_0x305423,_0x2b708a)=>{const _0x286eed=_0x7765c3;if(_0x305423[_0x286eed(0x57b)]!==a['CommandType']['MUTATION']||_0x2b708a!=null&&_0x2b708a[_0x286eed(0x4de)]||_0x2b708a!=null&&_0x2b708a[_0x286eed(0x36f)])return;const _0x1031a9=_0x305423[_0x286eed(0x1f8)];if((_0x1031a9==null?void 0x0:_0x1031a9[_0x286eed(0x1d7)])!==this[_0x286eed(0x3d4)])return;const _0x56da04=_0x305423,_0x5b3ff6=this[_0x286eed(0x37d)][_0x286eed(0x4b5)]['fetchThroughInterceptors'](this[_0x286eed(0x37d)][_0x286eed(0x4b5)][_0x286eed(0x5db)]()['COMPRESS_MUTATION_SEND'])([_0x56da04],null)||[_0x56da04];this['_onLocalMutation'](_0x5b3ff6[0x0]);})),_0x3f960f;}},exports['SheetCollaborationEntity']=Mt([H(0x3,a['Inject'](a[_0x1ab38c(0x26b)])),H(0x4,a['Inject'](exports[_0x1ab38c(0x516)])),H(0x5,a[_0x1ab38c(0x56d)](m[_0x1ab38c(0x4b2)])),H(0x6,a['Inject'](a['LocaleService'])),H(0x7,a[_0x1ab38c(0x56d)](m[_0x1ab38c(0x187)])),H(0x8,a[_0x1ab38c(0x56d)](Qe)),H(0x9,a['ILogService']),H(0xa,a['ICommandService']),H(0xb,ee['IMessageService']),H(0xc,a['IPermissionService']),H(0xd,a['Optional'](at))],exports['SheetCollaborationEntity']);var Zn=Object[_0x1ab38c(0x322)],Qn=Object[_0x1ab38c(0x5da)],er=(_0xef0c43,_0x1273ae,_0x33ea3f,_0x9c58e7)=>{const _0x38f801=_0x1ab38c;for(var _0x217b51=_0x9c58e7>0x1?void 0x0:_0x9c58e7?Qn(_0x1273ae,_0x33ea3f):_0x1273ae,_0x47c178=_0xef0c43[_0x38f801(0x2b7)]-0x1,_0x4c46f8;_0x47c178>=0x0;_0x47c178--)(_0x4c46f8=_0xef0c43[_0x47c178])&&(_0x217b51=(_0x9c58e7?_0x4c46f8(_0x1273ae,_0x33ea3f,_0x217b51):_0x4c46f8(_0x217b51))||_0x217b51);return _0x9c58e7&&_0x217b51&&Zn(_0x1273ae,_0x33ea3f,_0x217b51),_0x217b51;},dt=(_0x50db6d,_0x43926e)=>(_0x4753ac,_0x111ab8)=>_0x43926e(_0x4753ac,_0x111ab8,_0x50db6d);exports['CollaborationController']=class extends a[_0x1ab38c(0x579)]{constructor(_0x2ca652,_0x570c6d,_0x6d1a4){const _0x46cc68=_0x1ab38c;super(),I(this,_0x46cc68(0x2c5),new Map()),I(this,_0x46cc68(0x422),new N[(_0x46cc68(0x2dc))]()),(this[_0x46cc68(0x2f8)]=_0x2ca652,this[_0x46cc68(0x25f)]=_0x570c6d,this[_0x46cc68(0x3b6)]=_0x6d1a4,this['_init']());}[_0x1ab38c(0x31c)](){const _0x10e425=_0x1ab38c;super[_0x10e425(0x31c)](),this[_0x10e425(0x2c5)][_0x10e425(0x3f4)](_0x2d702e=>_0x2d702e[_0x10e425(0x31c)]()),this[_0x10e425(0x2c5)]['clear']();}[_0x1ab38c(0x42e)](_0x70b5fe){const _0x3cf764=_0x1ab38c;var _0x24512b;return(_0x24512b=this[_0x3cf764(0x2c5)][_0x3cf764(0x3f9)](_0x70b5fe))!=null?_0x24512b:null;}['getCollabEntity$'](_0x4309f0){const _0x524a76=_0x1ab38c,_0x4c6cd0=this[_0x524a76(0x42e)](_0x4309f0);return _0x4c6cd0?N['of'](_0x4c6cd0):this[_0x524a76(0x422)][_0x524a76(0x21a)](V['filter'](_0x77c003=>_0x77c003[_0x524a76(0x3d4)]===_0x4309f0));}[_0x1ab38c(0x419)](){const _0x12821b=_0x1ab38c;this[_0x12821b(0x3b6)][_0x12821b(0x1c4)](a[_0x12821b(0x564)][_0x12821b(0x2e0)])[_0x12821b(0x21a)](N[_0x12821b(0x37c)](this[_0x12821b(0x326)]),V[_0x12821b(0x5fd)](0x10))[_0x12821b(0x2cc)](async _0x1a09b4=>{const _0x355143=_0x12821b,_0x25044b=_0x1a09b4['getUnitId'](),_0x192a15=await this['_startCollaboration'](_0x25044b,ie[_0x355143(0x2e0)]);this['_entities'][_0x355143(0x1c6)](_0x25044b,_0x192a15);}),this[_0x12821b(0x3b6)][_0x12821b(0x1c4)](a['UniverInstanceType'][_0x12821b(0x355)])['pipe'](N[_0x12821b(0x37c)](this['dispose$']),V[_0x12821b(0x5fd)](0x10))['pipe'](V[_0x12821b(0x4b6)](_0x20937b=>!_0x20937b['getUnitId']()[_0x12821b(0x3c5)]('__')))[_0x12821b(0x2cc)](async _0x5a6588=>{const _0x36f6dd=_0x12821b,_0x5e1b62=_0x5a6588[_0x36f6dd(0x2f9)](),_0xfc4b8e=await this[_0x36f6dd(0x2d1)](_0x5e1b62,ie[_0x36f6dd(0x355)]);this[_0x36f6dd(0x2c5)][_0x36f6dd(0x1c6)](_0x5e1b62,_0xfc4b8e);}),N[_0x12821b(0x24f)](this[_0x12821b(0x3b6)][_0x12821b(0x4cd)](a[_0x12821b(0x564)][_0x12821b(0x2e0)]),this[_0x12821b(0x3b6)][_0x12821b(0x4cd)](a['UniverInstanceType'][_0x12821b(0x355)]))['pipe'](N['takeUntil'](this[_0x12821b(0x326)]))['subscribe'](_0xe46015=>{const _0x4b4bc4=_0x12821b,_0x4bc371=_0xe46015[_0x4b4bc4(0x2f9)](),_0x4b4165=this[_0x4b4bc4(0x2c5)][_0x4b4bc4(0x3f9)](_0x4bc371);_0x4b4165&&(_0x4b4165['dispose'](),this[_0x4b4bc4(0x2c5)][_0x4b4bc4(0x5d0)](_0x4bc371));});}async[_0x1ab38c(0x2d1)](_0x3360f,_0x3aaeab){const _0x56fefd=_0x1ab38c,_0x1b4c7f=await this['_collabSessionService'][_0x56fefd(0x1e0)](_0x3360f),_0x1a7f82=this[_0x56fefd(0x2f8)][_0x56fefd(0x440)](this[_0x56fefd(0x1bd)](_0x3aaeab),_0x3360f,_0x3aaeab,_0x1b4c7f);return await _0x1a7f82[_0x56fefd(0x238)](),this[_0x56fefd(0x422)][_0x56fefd(0x2c0)](_0x1a7f82),_0x1a7f82;}['_getCtorByUniverType'](_0x32a2e6){const _0x580c73=_0x1ab38c;switch(_0x32a2e6){case ie[_0x580c73(0x355)]:return exports[_0x580c73(0x290)];case ie[_0x580c73(0x2e0)]:return exports[_0x580c73(0x3d8)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x32a2e6);}}},exports[_0x1ab38c(0x1d8)]=er([dt(0x0,a['Inject'](a['Injector'])),dt(0x1,a['Inject'](exports[_0x1ab38c(0x1fc)])),dt(0x2,a[_0x1ab38c(0x585)])],exports[_0x1ab38c(0x1d8)]);var tr=Object[_0x1ab38c(0x322)],ir=Object[_0x1ab38c(0x5da)],nr=(_0x80ddc,_0x1a0682,_0x263584,_0x4f60c1)=>{for(var _0x19bb37=_0x4f60c1>0x1?void 0x0:_0x4f60c1?ir(_0x1a0682,_0x263584):_0x1a0682,_0x599880=_0x80ddc['length']-0x1,_0x5e43d2;_0x599880>=0x0;_0x599880--)(_0x5e43d2=_0x80ddc[_0x599880])&&(_0x19bb37=(_0x4f60c1?_0x5e43d2(_0x1a0682,_0x263584,_0x19bb37):_0x5e43d2(_0x19bb37))||_0x19bb37);return _0x4f60c1&&_0x19bb37&&tr(_0x1a0682,_0x263584,_0x19bb37),_0x19bb37;},Yt=(_0x211b95,_0x5b603f)=>(_0x5f4116,_0x5245c5)=>_0x5b603f(_0x5f4116,_0x5245c5,_0x211b95);let it=class extends a[_0x1ab38c(0x579)]{constructor(_0x2a758b,_0x1260f8){const _0x35cc16=_0x1ab38c;super(),this[_0x35cc16(0x1b7)]=_0x2a758b,this[_0x35cc16(0x571)]=_0x1260f8,this[_0x35cc16(0x419)]();}[_0x1ab38c(0x419)](){const _0x125d0c=_0x1ab38c,_0x48b441=this;this['disposeWithMe'](this[_0x125d0c(0x1b7)][_0x125d0c(0x32e)]({'onBeforePasteImage':async _0xeecf81=>{const _0x39d7b9=_0x125d0c,_0x50c805=await _0x48b441[_0x39d7b9(0x571)][_0x39d7b9(0x1c3)](_0xeecf81);return _0x50c805?{'source':_0x50c805['source'],'imageSourceType':_0x50c805[_0x39d7b9(0x565)]}:null;}}));}};it=nr([Yt(0x0,J[_0x1ab38c(0x26d)]),Yt(0x1,te[_0x1ab38c(0x4c6)])],it);const qt=[_0x1ab38c(0x46a),_0x1ab38c(0x446),_0x1ab38c(0x28f),_0x1ab38c(0x1e3),_0x1ab38c(0x458),'gold400'];class Nt extends a[_0x1ab38c(0x382)]{constructor(){const _0x98cff=_0x1ab38c;super(...arguments),I(this,_0x98cff(0x17d),new Map()),I(this,'_colorIndex',0x0);}[_0x1ab38c(0x369)](_0x114b5a){const _0x3a4320=_0x1ab38c;if(this['_assignedColors'][_0x3a4320(0x392)](_0x114b5a))return this[_0x3a4320(0x17d)][_0x3a4320(0x3f9)](_0x114b5a);const _0x1e7b3f=qt[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%qt[_0x3a4320(0x2b7)],this['_assignedColors'][_0x3a4320(0x1c6)](_0x114b5a,_0x1e7b3f),_0x1e7b3f;}}var rr=Object[_0x1ab38c(0x322)],sr=Object[_0x1ab38c(0x5da)],or=(_0x3997c4,_0x3e8662,_0x461a88,_0x5532e9)=>{const _0x3a2b14=_0x1ab38c;for(var _0x2e259d=_0x5532e9>0x1?void 0x0:_0x5532e9?sr(_0x3e8662,_0x461a88):_0x3e8662,_0x472911=_0x3997c4[_0x3a2b14(0x2b7)]-0x1,_0x500c3b;_0x472911>=0x0;_0x472911--)(_0x500c3b=_0x3997c4[_0x472911])&&(_0x2e259d=(_0x5532e9?_0x500c3b(_0x3e8662,_0x461a88,_0x2e259d):_0x500c3b(_0x2e259d))||_0x2e259d);return _0x5532e9&&_0x2e259d&&rr(_0x3e8662,_0x461a88,_0x2e259d),_0x2e259d;},pe=(_0x42abc3,_0x2e3b84)=>(_0x10d9e5,_0x3f68a4)=>_0x2e3b84(_0x10d9e5,_0x3f68a4,_0x42abc3);const ar=0x12c,cr=0x64;let bt=class extends a['RxDisposable']{constructor(_0x3a5a90,_0x1e2d19,_0x1d22d7,_0x1a9e9b,_0x56593d,_0xfa496f,_0x244d72,_0x27f6aa,_0x4d0f4a){const _0x3a0f38=_0x1ab38c;super(),I(this,_0x3a0f38(0x44e),!0x1),I(this,_0x3a0f38(0x419),!0x1),I(this,_0x3a0f38(0x4af),new N['BehaviorSubject'](new Map())),I(this,_0x3a0f38(0x2bf),this[_0x3a0f38(0x4af)][_0x3a0f38(0x3b4)]()),I(this,_0x3a0f38(0x204),new N[(_0x3a0f38(0x3bd))]([])),I(this,_0x3a0f38(0x61c),this[_0x3a0f38(0x204)][_0x3a0f38(0x21a)](N[_0x3a0f38(0x36e)](ar))),I(this,_0x3a0f38(0x364),a[_0x3a0f38(0x30f)](_0x15b6a1=>{const _0x362540=_0x3a0f38,_0x19514d={'eventID':m[_0x362540(0x60d)][_0x362540(0x57f)],'data':{'unitID':this[_0x362540(0x3d4)],'memberID':this[_0x362540(0x1e9)]['getMemberID'](),'selection':Di(_0x15b6a1)}};this[_0x362540(0x1e9)][_0x362540(0x5fb)](_0x19514d,this[_0x362540(0x3d4)]);},cr)),(this[_0x3a0f38(0x3d4)]=_0x3a5a90,this[_0x3a0f38(0x1e9)]=_0x1e2d19,this[_0x3a0f38(0x2f8)]=_0x1d22d7,this[_0x3a0f38(0x182)]=_0x1a9e9b,this[_0x3a0f38(0x361)]=_0x56593d,this[_0x3a0f38(0x196)]=_0xfa496f,this[_0x3a0f38(0x4bc)]=_0x244d72,this[_0x3a0f38(0x3b6)]=_0x27f6aa,this['_commandService']=_0x4d0f4a);}get[_0x1ab38c(0x53e)](){const _0x369085=_0x1ab38c;return this[_0x369085(0x4af)][_0x369085(0x2f7)]();}get[_0x1ab38c(0x2b4)](){const _0x547d56=_0x1ab38c;return this['_roomMembers$'][_0x547d56(0x2f7)]();}[_0x1ab38c(0x31c)](){const _0x1dab88=_0x1ab38c;super['dispose'](),this[_0x1dab88(0x4af)][_0x1dab88(0x2c0)](new Map()),this[_0x1dab88(0x4af)][_0x1dab88(0x1b0)](),this[_0x1dab88(0x204)][_0x1dab88(0x2c0)]([]),this[_0x1dab88(0x204)]['complete']();}['init'](){const _0x43bbf5=_0x1ab38c;this[_0x43bbf5(0x419)]||(this[_0x43bbf5(0x419)]=!0x0,this[_0x43bbf5(0x1e9)][_0x43bbf5(0x596)][_0x43bbf5(0x21a)](N['takeUntil'](this[_0x43bbf5(0x326)]))[_0x43bbf5(0x2cc)](_0x35bd20=>{const _0x30f354=_0x43bbf5;_0x35bd20===ne[_0x30f354(0x36a)]?this['_toggleOnline']():this[_0x30f354(0x574)]();}),this[_0x43bbf5(0x1e9)][_0x43bbf5(0x4b8)][_0x43bbf5(0x21a)](N[_0x43bbf5(0x37c)](this['dispose$']))['subscribe'](_0x2dd59f=>{const _0x277b4a=_0x43bbf5,_0xd50787=_0x2dd59f[_0x277b4a(0x25e)];_0xd50787===m['CollaborationEvent'][_0x277b4a(0x57f)]&&this[_0x277b4a(0x42d)](_0x2dd59f),_0xd50787===m[_0x277b4a(0x60d)][_0x277b4a(0x1c0)]&&this[_0x277b4a(0x205)](_0x2dd59f);}),this[_0x43bbf5(0x4ae)](this[_0x43bbf5(0x223)]['onCommandExecuted'](_0x3a308e=>{const _0x4bd5ed=_0x43bbf5,_0x252ff3=_0x3a308e[_0x4bd5ed(0x1f8)];_0x252ff3!=null&&this['_online']&&_0x3a308e['id']===Ie[_0x4bd5ed(0x5ce)]['id']&&_0x252ff3[_0x4bd5ed(0x1d7)]===this['unitID']&&_0x252ff3[_0x4bd5ed(0x5c6)]===!0x1&&_0x252ff3[_0x4bd5ed(0x38d)][_0x4bd5ed(0x2b7)]>0x0&&this[_0x4bd5ed(0x364)](_0x252ff3[_0x4bd5ed(0x38d)]);})),this['_syncEditingCollabCursorService'][_0x43bbf5(0x4c0)][_0x43bbf5(0x21a)](N[_0x43bbf5(0x37c)](this[_0x43bbf5(0x326)]))[_0x43bbf5(0x2cc)](_0x122bc9=>{const _0x44583e=_0x43bbf5;if((_0x122bc9==null?void 0x0:_0x122bc9['unitID'])!==this[_0x44583e(0x3d4)])return;const _0x4c5905={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x122bc9};this[_0x44583e(0x42d)](_0x4c5905);}),this[_0x43bbf5(0x4ae)](this[_0x43bbf5(0x223)]['onCommandExecuted'](_0xfaaf91=>{const _0x1a35a1=_0x43bbf5;if(_0xfaaf91[_0x1a35a1(0x1f8)]==null)return;const _0x494875=_0xfaaf91[_0x1a35a1(0x1f8)];if(_0xfaaf91['id']!==Ie[_0x1a35a1(0x2a5)]['id']||_0x494875[_0x1a35a1(0x1d7)]!==this[_0x1a35a1(0x3d4)])return;const _0x1cb5a9={'id':_0x1a35a1(0x401),'params':_0x494875},_0x32228e=this[_0x1a35a1(0x53e)];for(const [_0x198f0a,_0xba7cd4]of _0x32228e){const _0x4e4afe={'id':_0x1a35a1(0x401),'params':{'unitId':this[_0x1a35a1(0x3d4)],'actions':null,'textRanges':_0xba7cd4[_0x1a35a1(0x38d)]}},_0x1d9fa0=this[_0x1a35a1(0x4bc)]['transformMutation'](_0x1cb5a9,_0x4e4afe,!0x1);if(m['isTransformMutationFailure'](_0x1d9fa0))throw _0x1d9fa0[_0x1a35a1(0x48d)];_0x32228e['set'](_0x198f0a,{..._0xba7cd4,'ranges':_0x1d9fa0['m2Prime'][_0x1a35a1(0x1f8)][_0x1a35a1(0x480)]});}queueMicrotask(()=>{const _0x32204a=_0x1a35a1;this[_0x32204a(0x4af)][_0x32204a(0x2c0)](_0x32228e);});})));}['_onCursorUpdate'](_0x4ba86e){const _0x4971e4=_0x1ab38c;var _0x58a37b,_0x1b84e9;const {memberID:_0x1ba495,selection:_0x44333c}=_0x4ba86e['data'],_0x85b2b3=kn(_0x44333c),_0x29370d=(_0x1b84e9=(_0x58a37b=this[_0x4971e4(0x361)][_0x4971e4(0x530)](this['unitID'],_0x1ba495))==null?void 0x0:_0x58a37b[_0x4971e4(0x4e0)])!=null?_0x1b84e9:'Unknown\x20user',_0x3c8cd3={'color':this[_0x4971e4(0x182)][_0x4971e4(0x369)](_0x1ba495),'name':_0x29370d,'ranges':_0x85b2b3},_0x1b14ed=this[_0x4971e4(0x53e)];_0x1b14ed[_0x4971e4(0x1c6)](_0x1ba495,_0x3c8cd3),this[_0x4971e4(0x4af)][_0x4971e4(0x2c0)](_0x1b14ed);}['_onCursorDelete'](_0x195707){const _0x243db8=_0x1ab38c,{memberID:_0x3bc883}=_0x195707[_0x243db8(0x372)],_0x2ac1f8=this['cursorInfo'];_0x2ac1f8[_0x243db8(0x5d0)](_0x3bc883),this['_cursorInfo$'][_0x243db8(0x2c0)](_0x2ac1f8);}[_0x1ab38c(0x5b8)](){const _0x29bdf1=_0x1ab38c;var _0x3a85d6;if(this['_online']=!0x0,((_0x3a85d6=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x3a85d6[_0x29bdf1(0x2f9)]())!==this['unitID'])return;const _0x3929c2=this[_0x29bdf1(0x2f8)]['get'](Ie[_0x29bdf1(0x195)])[_0x29bdf1(0x5fa)]();Array[_0x29bdf1(0x28e)](_0x3929c2)&&_0x3929c2[_0x29bdf1(0x2b7)]>0x0&&this['_updateLocalCursor'](_0x3929c2);}[_0x1ab38c(0x574)](){const _0x7f78bd=_0x1ab38c;this[_0x7f78bd(0x44e)]=!0x1;}};bt=or([pe(0x2,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),pe(0x3,a[_0x1ab38c(0x56d)](Nt)),pe(0x4,a['Inject'](exports['MemberService'])),pe(0x5,a[_0x1ab38c(0x56d)](Ut)),pe(0x6,m['ITransformService']),pe(0x7,a[_0x1ab38c(0x585)]),pe(0x8,a[_0x1ab38c(0x430)])],bt);var lr=Object[_0x1ab38c(0x322)],hr=Object[_0x1ab38c(0x5da)],_r=(_0x537b10,_0x511819,_0x13384e,_0x49464e)=>{const _0x1f5007=_0x1ab38c;for(var _0x4d48b7=_0x49464e>0x1?void 0x0:_0x49464e?hr(_0x511819,_0x13384e):_0x511819,_0x3d6fae=_0x537b10[_0x1f5007(0x2b7)]-0x1,_0x365bb5;_0x3d6fae>=0x0;_0x3d6fae--)(_0x365bb5=_0x537b10[_0x3d6fae])&&(_0x4d48b7=(_0x49464e?_0x365bb5(_0x511819,_0x13384e,_0x4d48b7):_0x365bb5(_0x4d48b7))||_0x4d48b7);return _0x49464e&&_0x4d48b7&&lr(_0x511819,_0x13384e,_0x4d48b7),_0x4d48b7;},Te=(_0x24c8b8,_0x517f7f)=>(_0x47a031,_0x1a7dc9)=>_0x517f7f(_0x47a031,_0x1a7dc9,_0x24c8b8);const ur=0x12c,dr=0x64,fr=()=>{let _0x4521b2=[],_0x3d7b90=!0x1;return _0x7979a5=>{const _0x1735bb=_0x33d2;_0x4521b2[_0x1735bb(0x2e4)](_0x7979a5),_0x3d7b90||(_0x3d7b90=!0x0,setTimeout(()=>{const _0x4f8eef=_0x1735bb;_0x4521b2[_0x4f8eef(0x3f4)](_0x127c73=>_0x127c73()),_0x4521b2=[],_0x3d7b90=!0x1;}));};};let Tt=class extends a['RxDisposable']{constructor(_0x5579d9,_0x2f660c,_0x3ae3b6,_0x522bbc,_0x1429bc,_0x37efa4,_0x1a3c8c,_0x35301e){const _0x381d9d=_0x1ab38c;super(),I(this,_0x381d9d(0x44e),!0x1),I(this,_0x381d9d(0x419),!0x1),I(this,_0x381d9d(0x4af),new N[(_0x381d9d(0x3bd))](new Map())),I(this,_0x381d9d(0x2bf),this[_0x381d9d(0x4af)][_0x381d9d(0x3b4)]()),I(this,_0x381d9d(0x204),new N['BehaviorSubject']([])),I(this,_0x381d9d(0x61c),this[_0x381d9d(0x204)][_0x381d9d(0x21a)](N[_0x381d9d(0x36e)](ur))),I(this,_0x381d9d(0x364),a['debounce']((_0x458731,_0x2c3b94)=>{const _0x425d31=_0x381d9d,_0x573eed={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x425d31(0x3d4)],'memberID':this[_0x425d31(0x1e9)][_0x425d31(0x342)](),'selection':$t[_0x425d31(0x460)](_0x458731,_0x2c3b94[_0x425d31(0x1ea)])}};this[_0x425d31(0x1e9)]['send'](_0x573eed,this[_0x425d31(0x3d4)]);},dr)),(this['unitID']=_0x5579d9,this[_0x381d9d(0x1e9)]=_0x2f660c,this[_0x381d9d(0x2f8)]=_0x3ae3b6,this[_0x381d9d(0x182)]=_0x522bbc,this[_0x381d9d(0x361)]=_0x1429bc,this[_0x381d9d(0x3b6)]=_0x37efa4,this[_0x381d9d(0x223)]=_0x1a3c8c,this[_0x381d9d(0x3eb)]=_0x35301e);}get['cursorInfo'](){const _0x402b55=_0x1ab38c;return this[_0x402b55(0x4af)][_0x402b55(0x2f7)]();}get[_0x1ab38c(0x2b4)](){const _0x3d28e1=_0x1ab38c;return this['_roomMembers$'][_0x3d28e1(0x2f7)]();}[_0x1ab38c(0x31c)](){const _0xc453ea=_0x1ab38c;super[_0xc453ea(0x31c)](),this[_0xc453ea(0x4af)][_0xc453ea(0x2c0)](new Map()),this[_0xc453ea(0x4af)][_0xc453ea(0x1b0)](),this[_0xc453ea(0x204)][_0xc453ea(0x2c0)]([]),this[_0xc453ea(0x204)][_0xc453ea(0x1b0)]();}['init'](){const _0x549d77=_0x1ab38c;this['_init']||(this['_init']=!0x0,this[_0x549d77(0x1e9)][_0x549d77(0x596)][_0x549d77(0x21a)](N['takeUntil'](this[_0x549d77(0x326)]))[_0x549d77(0x2cc)](_0x4133a6=>{const _0x59746e=_0x549d77;_0x4133a6===ne['ONLINE']?this[_0x59746e(0x5b8)]():this[_0x59746e(0x574)]();}),this[_0x549d77(0x1e9)]['event$'][_0x549d77(0x21a)](N[_0x549d77(0x37c)](this[_0x549d77(0x326)]))['subscribe'](_0x45a638=>{const _0x583f68=_0x549d77,_0x1c3ffb=_0x45a638[_0x583f68(0x25e)];_0x1c3ffb===m[_0x583f68(0x60d)][_0x583f68(0x57f)]&&this['_onCursorUpdate'](_0x45a638),_0x1c3ffb===m[_0x583f68(0x60d)]['USERS_LEAVE']&&this[_0x583f68(0x205)](_0x45a638);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x549d77(0x223)][_0x549d77(0x365)](_0x48246e=>{const _0x5e95b2=_0x549d77;if(this[_0x5e95b2(0x44e)]&&_0x48246e['id']===k[_0x5e95b2(0x1b4)]['id']&&_0x48246e['params'][_0x5e95b2(0x1d7)]===this['unitID']){const _0x5d82cf=_0x48246e[_0x5e95b2(0x1f8)];this[_0x5e95b2(0x364)](_0x5d82cf[_0x5e95b2(0x3aa)],_0x5d82cf['selections'][0x0]);}})));}[_0x1ab38c(0x42d)](_0x2510e8){const _0x39b6c9=_0x1ab38c;var _0x5e1eaa,_0x491bcf;const {memberID:_0x1828e0,selection:_0x37fb2f}=_0x2510e8[_0x39b6c9(0x372)],{sheetName:_0x17dc91,range:_0x737a2e}=$t[_0x39b6c9(0x429)](_0x37fb2f),_0x3ad2bd={'name':(_0x491bcf=(_0x5e1eaa=this[_0x39b6c9(0x361)][_0x39b6c9(0x530)](this['unitID'],_0x1828e0))==null?void 0x0:_0x5e1eaa[_0x39b6c9(0x4e0)])!=null?_0x491bcf:_0x39b6c9(0x3c4),'range':this['_getMergeRange'](_0x17dc91,_0x737a2e),'sheetID':_0x17dc91,'color':this[_0x39b6c9(0x182)]['assignAColorForMemberID'](_0x1828e0),'selection':_0x37fb2f},_0xff0765=this['cursorInfo'];_0xff0765[_0x39b6c9(0x1c6)](_0x1828e0,_0x3ad2bd),this['_cursorInfo$'][_0x39b6c9(0x2c0)](_0xff0765);}['_onCursorDelete'](_0x39085a){const _0x4ace0c=_0x1ab38c,{memberID:_0x513e71}=_0x39085a['data'],_0x28ba25=this['cursorInfo'];_0x28ba25[_0x4ace0c(0x5d0)](_0x513e71),this['_cursorInfo$'][_0x4ace0c(0x2c0)](_0x28ba25);}[_0x1ab38c(0x2c6)](_0xf2edbb,_0xee9c57){const _0x5a8119=_0x1ab38c;var _0xab72e2,_0x3109c1;const _0x494399=(_0x3109c1=(_0xab72e2=this[_0x5a8119(0x3b6)]['getUniverSheetInstance'](this[_0x5a8119(0x3d4)]))==null?void 0x0:_0xab72e2[_0x5a8119(0x54a)](_0xf2edbb))==null?void 0x0:_0x3109c1[_0x5a8119(0x520)]();return(_0x494399==null?void 0x0:_0x494399[_0x5a8119(0x2e3)](_0x4cba18=>a[_0x5a8119(0x3c9)][_0x5a8119(0x1b8)](_0x4cba18,_0xee9c57)))||_0xee9c57;}[_0x1ab38c(0x4e6)](){const _0xff5ae6=_0x1ab38c,_0x51953f=new a[(_0xff5ae6(0x568))](),_0x2c09b2=fr(),_0x2f5835=()=>{const _0x38c777=_0xff5ae6;_0x51953f[_0x38c777(0x31c)]();const _0x37e884=(_0x5ce96e,_0x35b24d,_0x41410d,_0x404130)=>{const _0xacfd28=_0x38c777;let _0xe44d4=[];switch(_0x5ce96e['id']){case k[_0xacfd28(0x2b2)][_0xacfd28(0x4d1)]:{_0xe44d4=k[_0xacfd28(0x2c9)](_0x5ce96e,_0x404130);break;}case k['EffectRefRangId'][_0xacfd28(0x56b)]:{_0xe44d4=k[_0xacfd28(0x3be)](_0x5ce96e,_0x404130);break;}case k[_0xacfd28(0x2b2)][_0xacfd28(0x5b2)]:{_0xe44d4=k[_0xacfd28(0x3dc)](_0x5ce96e,_0x404130);break;}case k['EffectRefRangId'][_0xacfd28(0x542)]:{_0xe44d4=k[_0xacfd28(0x4ca)](_0x5ce96e,_0x404130);break;}case k[_0xacfd28(0x2b2)][_0xacfd28(0x566)]:{_0xe44d4=k[_0xacfd28(0x1cc)](_0x5ce96e,_0x404130);break;}case k['EffectRefRangId'][_0xacfd28(0x5bb)]:{_0xe44d4=k[_0xacfd28(0x5a7)](_0x5ce96e,_0x404130);break;}case k[_0xacfd28(0x2b2)][_0xacfd28(0x5ba)]:{_0xe44d4=k[_0xacfd28(0x52b)](_0x5ce96e,_0x404130);break;}case k['EffectRefRangId']['RemoveColCommandId']:{_0xe44d4=k[_0xacfd28(0x17b)](_0x5ce96e,_0x404130);break;}case k[_0xacfd28(0x2b2)][_0xacfd28(0x250)]:{_0xe44d4=k[_0xacfd28(0x17f)](_0x5ce96e,_0x404130);break;}}const _0x286796=k[_0xacfd28(0x1c7)](_0xe44d4,_0x404130),_0x482565=this[_0xacfd28(0x53e)][_0xacfd28(0x3f9)](_0x35b24d);if(_0x482565&&_0x286796){const _0x246ac1={..._0x482565,'range':_0x286796};this[_0xacfd28(0x53e)][_0xacfd28(0x1c6)](_0x35b24d,_0x246ac1),_0x2c09b2(()=>{const _0x1cdf72=_0xacfd28,_0x744806=this[_0x1cdf72(0x3eb)][_0x1cdf72(0x48a)](_0x286796,_0x1de93c=>(_0x744806[_0x1cdf72(0x31c)](),_0x37e884(_0x1de93c,_0x35b24d,_0x41410d,_0x286796)));_0x51953f[_0x1cdf72(0x3ed)](_0x744806);});}return{'redos':[],'undos':[]};};this[_0x38c777(0x53e)][_0x38c777(0x3f4)]((_0x481282,_0x59ccc0)=>{const _0x3f4dff=_0x38c777,{range:_0x14841a,sheetID:_0x2bb3ae}=_0x481282,_0x420c78=this[_0x3f4dff(0x3eb)][_0x3f4dff(0x48a)](_0x14841a,_0x28cbac=>(_0x420c78['dispose'](),_0x37e884(_0x28cbac,_0x59ccc0,_0x2bb3ae,_0x14841a)));_0x51953f[_0x3f4dff(0x3ed)](_0x420c78);});};this[_0xff5ae6(0x4ae)](a[_0xff5ae6(0x1fb)](this[_0xff5ae6(0x4af)]['subscribe'](()=>{_0x2f5835();})));}[_0x1ab38c(0x5b8)](){const _0x22b5ef=_0x1ab38c;var _0x52f8c9,_0x396f3f;if(this[_0x22b5ef(0x44e)]=!0x0,((_0x52f8c9=this[_0x22b5ef(0x3b6)][_0x22b5ef(0x425)]())==null?void 0x0:_0x52f8c9[_0x22b5ef(0x2f9)]())!==this[_0x22b5ef(0x3d4)])return;const _0x225014=(_0x396f3f=this[_0x22b5ef(0x2f8)][_0x22b5ef(0x3f9)](k['SheetsSelectionsService'])[_0x22b5ef(0x188)]())==null?void 0x0:_0x396f3f[0x0],_0x5f2577=this[_0x22b5ef(0x3b6)]['getCurrentUnitForType'](a[_0x22b5ef(0x564)]['UNIVER_SHEET'])['getActiveSheet']();_0x225014&&_0x5f2577&&this[_0x22b5ef(0x364)](_0x5f2577[_0x22b5ef(0x62b)](),_0x225014);}['_toggleOffline'](){const _0x3d0d87=_0x1ab38c;this[_0x3d0d87(0x44e)]=!0x1;}};Tt=_r([Te(0x2,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),Te(0x3,a[_0x1ab38c(0x56d)](Nt)),Te(0x4,a['Inject'](exports['MemberService'])),Te(0x5,a[_0x1ab38c(0x585)]),Te(0x6,a['ICommandService']),Te(0x7,a['Inject'](k['RefRangeService']))],Tt);var vr=Object[_0x1ab38c(0x322)],Sr=Object[_0x1ab38c(0x5da)],pr=(_0x1362ea,_0xe9802b,_0x45e4ac,_0x1fe49e)=>{const _0x542020=_0x1ab38c;for(var _0x1ef12d=_0x1fe49e>0x1?void 0x0:_0x1fe49e?Sr(_0xe9802b,_0x45e4ac):_0xe9802b,_0xa3dc41=_0x1362ea[_0x542020(0x2b7)]-0x1,_0x3a9b81;_0xa3dc41>=0x0;_0xa3dc41--)(_0x3a9b81=_0x1362ea[_0xa3dc41])&&(_0x1ef12d=(_0x1fe49e?_0x3a9b81(_0xe9802b,_0x45e4ac,_0x1ef12d):_0x3a9b81(_0x1ef12d))||_0x1ef12d);return _0x1fe49e&&_0x1ef12d&&vr(_0xe9802b,_0x45e4ac,_0x1ef12d),_0x1ef12d;},ft=(_0x8a1023,_0x72185)=>(_0x116b93,_0x304ddd)=>_0x72185(_0x116b93,_0x304ddd,_0x8a1023);let ye=class extends a[_0x1ab38c(0x579)]{constructor(_0x58d7d9,_0x26e99a,_0x3e9c88){const _0x38c2b0=_0x1ab38c;super(),I(this,_0x38c2b0(0x2c5),new Map()),I(this,_0x38c2b0(0x422),new N['Subject']()),(this[_0x38c2b0(0x3b6)]=_0x58d7d9,this[_0x38c2b0(0x2f8)]=_0x26e99a,this[_0x38c2b0(0x25f)]=_0x3e9c88,this[_0x38c2b0(0x419)]());}[_0x1ab38c(0x31c)](){const _0x273468=_0x1ab38c;super[_0x273468(0x31c)](),this[_0x273468(0x422)][_0x273468(0x1b0)](),this['_entities'][_0x273468(0x3f4)](_0x4371ca=>_0x4371ca[_0x273468(0x31c)]());}['getCollabCursors$'](_0x5f34f1){const _0x2e06cb=_0x1ab38c;return this['_entities'][_0x2e06cb(0x392)](_0x5f34f1)?this[_0x2e06cb(0x2c5)]['get'](_0x5f34f1)[_0x2e06cb(0x2bf)]:this['_entityInit$']['pipe'](N[_0x2e06cb(0x4b6)](_0x369ed6=>_0x369ed6[_0x2e06cb(0x3d4)]===_0x5f34f1),N[_0x2e06cb(0x600)](_0x1fb4de=>_0x1fb4de[_0x2e06cb(0x2bf)]));}['_init'](){const _0x55508c=_0x1ab38c;this['_univerInstanceService'][_0x55508c(0x1c4)](a['UniverInstanceType'][_0x55508c(0x2e0)])[_0x55508c(0x21a)](N[_0x55508c(0x37c)](this[_0x55508c(0x326)]))['subscribe'](async _0x52136f=>{const _0x4bd1ca=_0x55508c,_0x4d3c9c=_0x52136f[_0x4bd1ca(0x2f9)](),_0x1a5f45=await this['_startSheetCollabCursor'](_0x4d3c9c);this[_0x4bd1ca(0x422)][_0x4bd1ca(0x2c0)](_0x1a5f45),this[_0x4bd1ca(0x2c5)][_0x4bd1ca(0x1c6)](_0x4d3c9c,_0x1a5f45);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x55508c(0x564)]['UNIVER_DOC'])[_0x55508c(0x21a)](N[_0x55508c(0x37c)](this[_0x55508c(0x326)]))[_0x55508c(0x21a)](N['filter'](_0x20a3bd=>!_0x20a3bd['getUnitId']()[_0x55508c(0x3c5)]('__')))[_0x55508c(0x2cc)](async _0x5976fb=>{const _0x4a3536=_0x55508c,_0x3fa149=_0x5976fb[_0x4a3536(0x2f9)](),_0xbba65e=await this[_0x4a3536(0x582)](_0x3fa149);this[_0x4a3536(0x422)]['next'](_0xbba65e),this[_0x4a3536(0x2c5)][_0x4a3536(0x1c6)](_0x3fa149,_0xbba65e);}),N['merge'](this['_univerInstanceService'][_0x55508c(0x4cd)](a['UniverInstanceType'][_0x55508c(0x355)]),this[_0x55508c(0x3b6)][_0x55508c(0x4cd)](a['UniverInstanceType']['UNIVER_SHEET']))[_0x55508c(0x21a)](N[_0x55508c(0x37c)](this['dispose$']))['subscribe'](_0x6eb909=>{const _0xef3480=_0x55508c,_0x5b8981=_0x6eb909[_0xef3480(0x2f9)](),_0x289fb1=this[_0xef3480(0x2c5)][_0xef3480(0x3f9)](_0x5b8981);_0x289fb1&&(_0x289fb1['dispose'](),this['_entities'][_0xef3480(0x5d0)](_0x5b8981));});}async['_startSheetCollabCursor'](_0x674f87){const _0xd80545=_0x1ab38c,_0x586e42=await this[_0xd80545(0x25f)][_0xd80545(0x1e0)](_0x674f87),_0x3f0a39=this[_0xd80545(0x2f8)][_0xd80545(0x440)](Tt,_0x674f87,_0x586e42);return _0x3f0a39[_0xd80545(0x238)](),_0x3f0a39;}async[_0x1ab38c(0x582)](_0x2bc806){const _0x583a2b=_0x1ab38c,_0x14142f=await this[_0x583a2b(0x25f)][_0x583a2b(0x1e0)](_0x2bc806),_0x534ba9=this[_0x583a2b(0x2f8)][_0x583a2b(0x440)](bt,_0x2bc806,_0x14142f);return _0x534ba9[_0x583a2b(0x238)](),_0x534ba9;}};ye=pr([ft(0x0,a[_0x1ab38c(0x585)]),ft(0x1,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),ft(0x2,a[_0x1ab38c(0x56d)](exports[_0x1ab38c(0x1fc)]))],ye);const xe=0x14,Kt=0xc8,vt=0x4,mr=0x5;function gr(_0x3ff666,_0x4ab361){const _0xf4dc82=_0x1ab38c;let {radius:_0x477adb,width:_0x51bc98,height:_0x3ad638}=_0x4ab361;_0x477adb=_0x477adb!=null?_0x477adb:0x0,_0x51bc98=_0x51bc98!=null?_0x51bc98:0x1e,_0x3ad638=_0x3ad638!=null?_0x3ad638:0x1e;let _0x5b3331=0x0,_0x396aaf=0x0,_0x39ee22=0x0;_0x5b3331=_0x396aaf=_0x39ee22=Math[_0xf4dc82(0x509)](_0x477adb,_0x51bc98/0x2,_0x3ad638/0x2),_0x3ff666[_0xf4dc82(0x48b)](),_0x3ff666[_0xf4dc82(0x51f)](_0x5b3331,0x0),_0x3ff666[_0xf4dc82(0x3d2)](_0x51bc98-_0x396aaf,0x0),_0x3ff666[_0xf4dc82(0x2e6)](_0x51bc98-_0x396aaf,_0x396aaf,_0x396aaf,Math['PI']*0x3/0x2,0x0,!0x1),_0x3ff666[_0xf4dc82(0x3d2)](_0x51bc98,_0x3ad638-_0x39ee22),_0x3ff666[_0xf4dc82(0x2e6)](_0x51bc98-_0x39ee22,_0x3ad638-_0x39ee22,_0x39ee22,0x0,Math['PI']/0x2,!0x1),_0x3ff666['lineTo'](0x0,_0x3ad638),_0x3ff666[_0xf4dc82(0x3d2)](0x0,_0x5b3331),_0x3ff666[_0xf4dc82(0x2e6)](_0x5b3331,_0x5b3331,_0x5b3331,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3ff666['closePath'](),_0x4ab361[_0xf4dc82(0x2d6)]&&(_0x3ff666[_0xf4dc82(0x617)](),_0x3ff666[_0xf4dc82(0x4b0)]=_0x4ab361[_0xf4dc82(0x2d6)],_0x4ab361[_0xf4dc82(0x5d3)]==='evenodd'?_0x3ff666[_0xf4dc82(0x2d6)](_0xf4dc82(0x5f4)):_0x3ff666[_0xf4dc82(0x2d6)](),_0x3ff666[_0xf4dc82(0x2cf)]());}class ct extends Y[_0x1ab38c(0x50c)]{constructor(_0x357c4f,_0x293255){const _0x58566c=_0x1ab38c;super(_0x357c4f,_0x293255),I(this,'color'),I(this,_0x58566c(0x61e)),(this[_0x58566c(0x42b)]=_0x293255==null?void 0x0:_0x293255[_0x58566c(0x42b)],this[_0x58566c(0x61e)]=_0x293255==null?void 0x0:_0x293255[_0x58566c(0x61e)]);}static[_0x1ab38c(0x289)](_0x4039d1,_0x29b7b8){const _0x1659e9=_0x1ab38c,{text:_0x54215e,color:_0x25ce4b}=_0x29b7b8;_0x4039d1[_0x1659e9(0x617)](),_0x4039d1[_0x1659e9(0x481)]=_0x1659e9(0x467);const _0x4cac64=_0x4039d1[_0x1659e9(0x47a)](_0x54215e)[_0x1659e9(0x24b)],_0x21dd66=Math['min'](_0x4cac64+0x2*vt,Kt);gr(_0x4039d1,{'height':xe,'radius':0x4,'width':_0x21dd66,'fill':_0x25ce4b,'evented':!0x1}),_0x4039d1['fillStyle']='#FFF';const _0x36422b=vt,_0x323377=xe-mr,_0x34ceab=Kt-0x2*vt;if(_0x4cac64>_0x34ceab){let _0x5ce351='',_0x133951=0x0;for(const _0x322c57 of _0x54215e){const _0x43bdfd=_0x4039d1[_0x1659e9(0x47a)](_0x322c57)[_0x1659e9(0x24b)];if(_0x133951+_0x43bdfd<=_0x34ceab-_0x4039d1[_0x1659e9(0x47a)](_0x1659e9(0x46d))[_0x1659e9(0x24b)])_0x5ce351+=_0x322c57,_0x133951+=_0x43bdfd;else{_0x5ce351+=_0x1659e9(0x46d);break;}}_0x4039d1['fillText'](_0x5ce351,_0x36422b,_0x323377);}else _0x4039d1[_0x1659e9(0x20d)](_0x54215e,_0x36422b,_0x323377);_0x4039d1[_0x1659e9(0x2cf)]();}[_0x1ab38c(0x621)](_0xd4b4f){ct['drawWith'](_0xd4b4f,this);}}const St=_0x1ab38c(0x1c5),Ir=_0x1ab38c(0x4fa),Cr=_0x1ab38c(0x398),we=0x6,Er=1.5,pt=0x4,br=1.5,Tr=_0x1ab38c(0x2ed);class zt{constructor(_0x1e235c,_0xcf6461,_0x215859,_0x44e792){const _0x49a792=_0x1ab38c;I(this,_0x49a792(0x4a3),[]),I(this,_0x49a792(0x353),null),I(this,_0x49a792(0x198),null),I(this,'_anchorDot',null),I(this,'_hideTimer',null),I(this,_0x49a792(0x499),null),(this[_0x49a792(0x202)]=_0x1e235c,this['_scene']=_0xcf6461,this[_0x49a792(0x200)]=_0x215859,this[_0x49a792(0x247)]=_0x44e792,this['_render']());}set[_0x1ab38c(0x4bf)](_0x4794f8){const _0x3b7292=_0x1ab38c;_0x4794f8?(this[_0x3b7292(0x337)]&&this[_0x3b7292(0x337)][_0x3b7292(0x328)](),this[_0x3b7292(0x198)]&&this[_0x3b7292(0x198)][_0x3b7292(0x19e)]()):(this[_0x3b7292(0x337)]&&this[_0x3b7292(0x337)][_0x3b7292(0x19e)](),this['_textBubble']&&this['_textBubble']['hide']());}[_0x1ab38c(0x31c)](){const _0x50019a=_0x1ab38c;for(const _0x1f98ac of this[_0x50019a(0x4a3)])_0x1f98ac[_0x50019a(0x31c)]();this[_0x50019a(0x198)]&&this[_0x50019a(0x198)][_0x50019a(0x31c)](),this['_anchorDot']&&this['_anchorDot'][_0x50019a(0x31c)](),this[_0x50019a(0x353)]&&this['_anchor'][_0x50019a(0x31c)](),this[_0x50019a(0x499)]&&this[_0x50019a(0x499)]();}['_render'](){const _0x5833c0=_0x1ab38c;var _0x581917;const {_docSkeleton:_0x6445,_document:_0x6f938a}=this,{color:_0x38d6bf,name:_0x48cfa3,ranges:_0x4f65ca}=this[_0x5833c0(0x202)],_0x128989=_0x6f938a[_0x5833c0(0x595)](),{docsLeft:_0x4e21e9,docsTop:_0x1fa4cb}=_0x128989,_0x34e36b=new J[(_0x5833c0(0x5a1))](_0x128989,_0x6445);for(const {startOffset:_0x34e267,endOffset:_0x2b3780,rangeType:_0x5526b7,segmentId:_0x259fec,segmentPage:_0xe05a7e,collapsed:_0x1850ec,isActive:_0x10381e}of _0x4f65ca){const _0xdd9014=_0x6445['findNodePositionByCharIndex'](_0x34e267,!0x0,_0x259fec,_0xe05a7e);let _0x249ced=_0x6445[_0x5833c0(0x20c)](_0x2b3780,!0x0,_0x259fec,_0xe05a7e);if(_0x249ced==null&&(_0x249ced=_0x6445[_0x5833c0(0x20c)](_0x2b3780-0x1,!0x1,_0x259fec,_0xe05a7e)),_0x10381e){const {contentBoxPointGroup:_0x3eed21}=_0x34e36b[_0x5833c0(0x540)](_0x249ced,_0x249ced);if(_0x3eed21[_0x5833c0(0x2b7)]===0x0)continue;this[_0x5833c0(0x50f)](_0x38d6bf,_0x3eed21,_0x4e21e9,_0x1fa4cb,_0x48cfa3),this[_0x5833c0(0x499)]=this[_0x5833c0(0x2c1)]();}if(_0xdd9014&&_0x249ced){if(_0x5526b7===a[_0x5833c0(0x5e6)]['RECT']){const _0x1e016a=new J[(_0x5833c0(0x2cb))](_0x128989,_0x6445),{pointGroup:_0x1eaf64}=(_0x581917=_0x1e016a[_0x5833c0(0x540)](_0xdd9014,_0x249ced))!=null?_0x581917:{};if(_0x1eaf64==null||_0x1eaf64[_0x5833c0(0x2b7)]===0x0)continue;this[_0x5833c0(0x3b5)](_0x38d6bf,_0x1eaf64,_0x4e21e9,_0x1fa4cb);}else{if(!_0x1850ec){const {borderBoxPointGroup:_0x16e537}=_0x34e36b[_0x5833c0(0x540)](_0xdd9014,_0x249ced);if(_0x16e537[_0x5833c0(0x2b7)]===0x0)continue;this['_drawTextRange'](_0x38d6bf,_0x16e537,_0x4e21e9,_0x1fa4cb);}}}}}[_0x1ab38c(0x50f)](_0x5cb9a9,_0x10e8d2,_0x120d6d,_0x2d1e0d,_0xc119c3){const _0x3c1be3=_0x1ab38c,_0x52e91b=this[_0x3c1be3(0x3f2)](_0x10e8d2),{left:_0xaed3fa,top:_0x1c22d0,height:_0xde40a1}=_0x52e91b,_0x2e3793=this[_0x3c1be3(0x3a6)](),_0x59760b=br/_0x2e3793,_0x56957e=new Y['Rect'](St+a['Tools'][_0x3c1be3(0x33c)](we),{'left':_0xaed3fa+_0x120d6d-_0x59760b,'top':_0x1c22d0+_0x2d1e0d,'height':_0xde40a1,'width':Er,'fill':_0x5cb9a9||Y[_0x3c1be3(0x2e8)](a[_0x3c1be3(0x251)][_0x3c1be3(0x551)],0x0),'strokeWidth':_0x59760b,'stroke':Tr,'evented':!0x0});this[_0x3c1be3(0x353)]=_0x56957e,this['_scene'][_0x3c1be3(0x5d2)](_0x56957e,J[_0x3c1be3(0x486)]);const _0xf28e95=new Y[(_0x3c1be3(0x448))](St+a['Tools'][_0x3c1be3(0x33c)](we),{'left':_0xaed3fa+_0x120d6d-_0x59760b,'top':_0x1c22d0+_0x2d1e0d-pt/0x2,'height':pt,'width':pt,'fill':_0x5cb9a9||Y['getColor'](a[_0x3c1be3(0x251)][_0x3c1be3(0x551)],0x0),'strokeWidth':0x0,'stroke':_0x5cb9a9||Y[_0x3c1be3(0x2e8)](a['COLORS'][_0x3c1be3(0x551)],0x0),'evented':!0x1});this['_anchorDot']=_0xf28e95,this[_0x3c1be3(0x31e)]['addObject'](_0xf28e95,J[_0x3c1be3(0x486)]);const _0x13918f=new ct(St+a[_0x3c1be3(0x5ed)]['generateRandomId'](we),{'left':_0xaed3fa+_0x120d6d-_0x59760b,'top':_0x1c22d0+_0x2d1e0d-xe,'text':_0xc119c3,'color':_0x5cb9a9});this[_0x3c1be3(0x198)]=_0x13918f,this[_0x3c1be3(0x31e)][_0x3c1be3(0x5d2)](_0x13918f,J['TEXT_RANGE_LAYER_INDEX']),this[_0x3c1be3(0x4bf)]=!0x1;}[_0x1ab38c(0x2c1)](){const _0x12a3f3=_0x1ab38c,_0x3470c6=this['_anchor'][_0x12a3f3(0x323)][_0x12a3f3(0x38b)](()=>{const _0x59e81c=_0x12a3f3;this[_0x59e81c(0x4bf)]=!0x0;}),_0xfaeb1f=this[_0x12a3f3(0x353)][_0x12a3f3(0x603)]['subscribeEvent'](()=>{const _0x2cf355=_0x12a3f3;this[_0x2cf355(0x377)]&&clearTimeout(this['_hideTimer']),this[_0x2cf355(0x377)]=setTimeout(()=>{const _0x13c286=_0x2cf355;this[_0x13c286(0x4bf)]=!0x1;},0x7d0);});return()=>{const _0x740573=_0x12a3f3;_0x3470c6['unsubscribe'](),_0xfaeb1f[_0x740573(0x1f0)]();};}['_drawTextRange'](_0x392d55,_0x47b762,_0x2fb9e5,_0x4889e7){const _0x46f9c2=_0x1ab38c,_0x5786c1=new a[(_0x46f9c2(0x210))](_0x392d55)[_0x46f9c2(0x3ee)](0.2)[_0x46f9c2(0x237)](),_0x58996f=new Y['RegularPolygon'](Ir+a[_0x46f9c2(0x5ed)][_0x46f9c2(0x33c)](we),{'pointsGroup':_0x47b762,'fill':_0x5786c1||Y[_0x46f9c2(0x2e8)](a['COLORS'][_0x46f9c2(0x551)],0.2),'left':_0x2fb9e5,'top':_0x4889e7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x46f9c2(0x4a3)][_0x46f9c2(0x2e4)](_0x58996f),this[_0x46f9c2(0x31e)][_0x46f9c2(0x5d2)](_0x58996f,J[_0x46f9c2(0x486)]);}['_drawRectRange'](_0x238633,_0x42cf2a,_0x131bea,_0x40d98a){const _0x1c0704=_0x1ab38c,_0x43b33c=new a[(_0x1c0704(0x210))](_0x238633)['setAlpha'](0.2)[_0x1c0704(0x237)](),_0x36a5fd=new Y['RegularPolygon'](Cr+a[_0x1c0704(0x5ed)][_0x1c0704(0x33c)](we),{'pointsGroup':_0x42cf2a,'fill':_0x43b33c||Y[_0x1c0704(0x2e8)](a['COLORS'][_0x1c0704(0x551)],0.2),'left':_0x131bea,'top':_0x40d98a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1c0704(0x4a3)][_0x1c0704(0x2e4)](_0x36a5fd),this[_0x1c0704(0x31e)][_0x1c0704(0x5d2)](_0x36a5fd,J[_0x1c0704(0x486)]);}['_getAnchorBounding'](_0xa6aa41){const _0x179e9b=_0xa6aa41[0x0],_0x150185=_0x179e9b[0x0],_0x3dd566=_0x179e9b[0x2],{x:_0x33214a,y:_0x4c4a2d}=_0x150185,{x:_0x34a603,y:_0x2359db}=_0x3dd566;return{'left':_0x33214a,'top':_0x4c4a2d,'width':_0x34a603-_0x33214a,'height':_0x2359db-_0x4c4a2d};}['_getScale'](){const _0x1be502=_0x1ab38c,{scaleX:_0x5b9a6d,scaleY:_0x3c938c}=this[_0x1be502(0x31e)]['getAncestorScale']();return Math[_0x1be502(0x412)](_0x5b9a6d,_0x3c938c);}}var Rr=Object[_0x1ab38c(0x322)],Or=Object[_0x1ab38c(0x5da)],yr=(_0x4deaba,_0x153bd1,_0x11f2e5,_0x355c04)=>{const _0x4f13d5=_0x1ab38c;for(var _0x365ae1=_0x355c04>0x1?void 0x0:_0x355c04?Or(_0x153bd1,_0x11f2e5):_0x153bd1,_0xfcfeb7=_0x4deaba[_0x4f13d5(0x2b7)]-0x1,_0x1c800f;_0xfcfeb7>=0x0;_0xfcfeb7--)(_0x1c800f=_0x4deaba[_0xfcfeb7])&&(_0x365ae1=(_0x355c04?_0x1c800f(_0x153bd1,_0x11f2e5,_0x365ae1):_0x1c800f(_0x365ae1))||_0x365ae1);return _0x355c04&&_0x365ae1&&Rr(_0x153bd1,_0x11f2e5,_0x365ae1),_0x365ae1;},je=(_0x382b59,_0x71b9c7)=>(_0x29bb6d,_0x2c9f74)=>_0x71b9c7(_0x29bb6d,_0x2c9f74,_0x382b59);let Rt=class extends a['RxDisposable']{constructor(_0x214559,_0x3ebc89,_0x51fa8a,_0x4b8571,_0xbf2606){const _0xa80ea6=_0x1ab38c;super(),I(this,_0xa80ea6(0x54b),[]),I(this,_0xa80ea6(0x4bb),[]),(this[_0xa80ea6(0x58c)]=_0x214559,this['_docSkeletonManagerService']=_0x3ebc89,this[_0xa80ea6(0x2a6)]=_0x51fa8a,this[_0xa80ea6(0x223)]=_0x4b8571,this[_0xa80ea6(0x3ca)]=_0xbf2606,this[_0xa80ea6(0x419)]());}[_0x1ab38c(0x419)](){const _0x30ef16=_0x1ab38c,_0x1fbf7e=this['_context'][_0x30ef16(0x1d7)],_0xc76ef3=this['_docSkeletonManagerService'];this[_0x30ef16(0x4ae)](N[_0x30ef16(0x3d1)]([this[_0x30ef16(0x2a6)][_0x30ef16(0x3df)](_0x1fbf7e),this[_0x30ef16(0x3ca)]['currentTheme$']])[_0x30ef16(0x21a)](V[_0x30ef16(0x4e4)](([_0x41c6a0,_0x5e361e])=>({'skeleton':_0xc76ef3['getSkeleton'](),'cursors':[..._0x41c6a0[_0x30ef16(0x611)]()][_0x30ef16(0x2a8)](_0x14ae86=>({..._0x14ae86,'color':_0x5e361e[_0x14ae86[_0x30ef16(0x42b)]]}))})))[_0x30ef16(0x2cc)](_0x3c2cf4=>{const _0x4ed1f4=_0x30ef16;if(this['_removeCollabCursors'](),_0x3c2cf4){const {skeleton:_0x523ddf,cursors:_0x2d7034}=_0x3c2cf4;this[_0x4ed1f4(0x49f)](_0x523ddf,_0x2d7034);}})),this[_0x30ef16(0x5bd)](),this[_0x30ef16(0x549)]();}[_0x1ab38c(0x49f)](_0x43152b,_0x26c8a2){const _0x51d0e7=_0x1ab38c,{scene:_0x2e9d04,mainComponent:_0x55abaa}=this['_context'],_0x57cf3e=_0x26c8a2[_0x51d0e7(0x4e4)](_0x39f301=>new zt(_0x39f301,_0x2e9d04,_0x43152b,_0x55abaa));this[_0x51d0e7(0x54b)]=_0x57cf3e,this[_0x51d0e7(0x4bb)]=_0x26c8a2;}[_0x1ab38c(0x607)](){const _0x4eefb1=_0x1ab38c;this[_0x4eefb1(0x638)]();const {scene:_0x5a0fb3,mainComponent:_0x227d43}=this['_context'],_0x334ac3=this[_0x4eefb1(0x2e1)][_0x4eefb1(0x172)](),_0x516226=this['_cursors'][_0x4eefb1(0x4e4)](_0x4b8618=>new zt(_0x4b8618,_0x5a0fb3,_0x334ac3,_0x227d43));this[_0x4eefb1(0x54b)]=_0x516226;}[_0x1ab38c(0x638)](){const _0x7e410c=_0x1ab38c;this[_0x7e410c(0x54b)][_0x7e410c(0x3f4)](_0x372cb6=>_0x372cb6[_0x7e410c(0x31c)]()),this[_0x7e410c(0x54b)]=[];}[_0x1ab38c(0x549)](){const _0x404752=_0x1ab38c,_0x281a1c=[J[_0x404752(0x277)]['id']];this['disposeWithMe'](this[_0x404752(0x223)][_0x404752(0x365)](_0x12ea99=>{const _0x14c10c=_0x404752;_0x281a1c[_0x14c10c(0x35a)](_0x12ea99['id'])&&_0x12ea99[_0x14c10c(0x1f8)][_0x14c10c(0x1d7)]===this[_0x14c10c(0x58c)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x1ab38c(0x5bd)](){const _0x291a4e=_0x1ab38c;this[_0x291a4e(0x4ae)](a[_0x291a4e(0x40b)](this[_0x291a4e(0x58c)][_0x291a4e(0x4f7)][_0x291a4e(0x436)])[_0x291a4e(0x21a)](V[_0x291a4e(0x4b6)](_0x2368a1=>_0x2368a1[_0x291a4e(0x57b)]===Y[_0x291a4e(0x598)][_0x291a4e(0x1a0)]),V['throttleTime'](0x10))[_0x291a4e(0x2cc)](()=>{this['_refreshCollabCursors']();}));}};Rt=yr([je(0x1,a[_0x1ab38c(0x56d)](Ie[_0x1ab38c(0x180)])),je(0x2,a[_0x1ab38c(0x56d)](ye)),je(0x3,a[_0x1ab38c(0x430)]),je(0x4,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x308)]))],Rt);function _0x33d2(_0xb05b6,_0x38d21a){const _0x2a3317=_0x2a33();return _0x33d2=function(_0x33d23c,_0x20c9b7){_0x33d23c=_0x33d23c-0x167;let _0x6f5ea=_0x2a3317[_0x33d23c];return _0x6f5ea;},_0x33d2(_0xb05b6,_0x38d21a);}const Dr=0x1,Pr=1.5;class Mi extends Y[_0x1ab38c(0x50c)]{constructor(_0x2a1730,_0xbfc08b){const _0x396013=_0x1ab38c;super(_0x2a1730,_0xbfc08b),I(this,'_color'),I(this,'_hovered',!0x1),I(this,_0x396013(0x241)),I(this,_0x396013(0x3d3),''),I(this,'_labelPosition',_0x396013(0x28d)),I(this,_0x396013(0x2eb)),(_0xbfc08b&&this[_0x396013(0x1e8)](_0xbfc08b),this[_0x396013(0x323)][_0x396013(0x38b)](()=>this[_0x396013(0x1e8)]({'hovered':!0x0})),this[_0x396013(0x603)]['subscribeEvent'](()=>this[_0x396013(0x1e8)]({'hovered':!0x1})));}[_0x1ab38c(0x1e8)](_0x2f230e){const _0x1ed58f=_0x1ab38c;var _0x486883,_0x39290e,_0x1a6209,_0x5a4105,_0x57b05c,_0x394db0;this[_0x1ed58f(0x5be)]=(_0x486883=_0x2f230e[_0x1ed58f(0x42b)])!=null?_0x486883:this[_0x1ed58f(0x5be)],this[_0x1ed58f(0x54d)]=(_0x39290e=_0x2f230e[_0x1ed58f(0x4ac)])!=null?_0x39290e:this[_0x1ed58f(0x54d)],this[_0x1ed58f(0x241)]=(_0x1a6209=_0x2f230e[_0x1ed58f(0x1ea)])!=null?_0x1a6209:this[_0x1ed58f(0x241)],this[_0x1ed58f(0x3d3)]=(_0x5a4105=_0x2f230e['name'])!=null?_0x5a4105:this[_0x1ed58f(0x3d3)],this['_labelPosition']=(_0x57b05c=_0x2f230e[_0x1ed58f(0x63a)])!=null?_0x57b05c:this[_0x1ed58f(0x4b3)],this[_0x1ed58f(0x2eb)]=(_0x394db0=_0x2f230e[_0x1ed58f(0x2ca)])!=null?_0x394db0:this[_0x1ed58f(0x2eb)],this[_0x1ed58f(0x468)]({'width':_0x2f230e[_0x1ed58f(0x24b)],'height':_0x2f230e[_0x1ed58f(0x256)]});}['onMouseMove'](_0x1691a4){const _0x531033=_0x1ab38c,{row:_0x260d2e,column:_0x481959}=_0x1691a4;if(_0x260d2e>=this[_0x531033(0x241)][_0x531033(0x225)]&&_0x260d2e<=this[_0x531033(0x241)][_0x531033(0x343)]&&_0x481959>=this[_0x531033(0x241)]['startColumn']&&_0x481959<=this['_range'][_0x531033(0x55e)]){this[_0x531033(0x1e8)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x1ab38c(0x601)](_0x26f495){return!0x1;}['_draw'](_0x409e82){const _0x268aac=_0x1ab38c;Y[_0x268aac(0x448)][_0x268aac(0x289)](_0x409e82,{'width':this['width'],'height':this[_0x268aac(0x256)],'strokeWidth':Pr,'stroke':this[_0x268aac(0x5be)],'evented':!0x1,'fill':this[_0x268aac(0x2eb)]}),this[_0x268aac(0x54d)]&&(_0x409e82[_0x268aac(0x617)](),_0x409e82['transform'](0x1,0x0,0x0,0x1,this[_0x268aac(0x24b)],this[_0x268aac(0x4b3)]===_0x268aac(0x5b1)?0x0:-xe),ct['drawWith'](_0x409e82,{'text':this[_0x268aac(0x3d3)],'color':this[_0x268aac(0x5be)]}),_0x409e82['restore']());}}var wr=Object[_0x1ab38c(0x322)],Ur=Object[_0x1ab38c(0x5da)],Mr=(_0x23f0b9,_0x1c7287,_0x182c8a,_0x75d095)=>{for(var _0x53985f=_0x75d095>0x1?void 0x0:_0x75d095?Ur(_0x1c7287,_0x182c8a):_0x1c7287,_0x4d46d9=_0x23f0b9['length']-0x1,_0x2caae4;_0x4d46d9>=0x0;_0x4d46d9--)(_0x2caae4=_0x23f0b9[_0x4d46d9])&&(_0x53985f=(_0x75d095?_0x2caae4(_0x1c7287,_0x182c8a,_0x53985f):_0x2caae4(_0x53985f))||_0x53985f);return _0x75d095&&_0x53985f&&wr(_0x1c7287,_0x182c8a,_0x53985f),_0x53985f;},mt=(_0x132225,_0x303f27)=>(_0x552f64,_0xf049f4)=>_0x303f27(_0x552f64,_0xf049f4,_0x132225);const Nr=0x1389;let Ot=class extends a[_0x1ab38c(0x579)]{constructor(_0x357e8b,_0x5e1577,_0x30398f,_0x233d29){const _0x37dfff=_0x1ab38c;super(),I(this,_0x37dfff(0x4bb),new Set()),I(this,_0x37dfff(0x56e),null),(this[_0x37dfff(0x58c)]=_0x357e8b,this['_sheetSkeletonManagerService']=_0x5e1577,this[_0x37dfff(0x2a6)]=_0x30398f,this[_0x37dfff(0x3ca)]=_0x233d29,this[_0x37dfff(0x419)]());}['_init'](){const _0x36b367=_0x1ab38c;this[_0x36b367(0x185)][_0x36b367(0x421)][_0x36b367(0x21a)](V[_0x36b367(0x37c)](this[_0x36b367(0x326)]),V[_0x36b367(0x600)](_0x32281e=>{const _0x45f09b=_0x36b367;if(_0x32281e){const _0x41fb51=_0x32281e[_0x45f09b(0x57e)];return N[_0x45f09b(0x3d1)](this['_collabCursorController']['getCollabCursors$'](this[_0x45f09b(0x58c)]['unitId']),this[_0x45f09b(0x3ca)][_0x45f09b(0x391)])[_0x45f09b(0x21a)](V['map'](([_0x5db8fc,_0x255ad8])=>{const _0x45fe79=_0x45f09b,_0x284ab9=new Map();return _0x5db8fc[_0x45fe79(0x3f4)]((_0x408b0f,_0x1ceda7)=>{const _0x259063=_0x45fe79;if(_0x408b0f[_0x259063(0x58d)]===_0x41fb51){const _0x44a219={..._0x408b0f};_0x44a219['color']=_0x255ad8[_0x408b0f[_0x259063(0x42b)]],_0x284ab9['set'](_0x1ceda7,_0x44a219);}}),{'skeleton':_0x32281e,'cursors':_0x284ab9};}));}return N['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x4e354d,cursors:_0x4ec3e6})=>{const _0x332568=_0x36b367;this['_removeCollabCursors'](),_0x4e354d&&this[_0x332568(0x49f)](_0x4e354d,_0x4ec3e6);}),this['_sheetSkeletonManagerService'][_0x36b367(0x421)][_0x36b367(0x2cc)](_0x1f0ba2=>{const _0x1c7802=_0x36b367;if(_0x1f0ba2==null)return;const {skeleton:_0x18a9bd}=_0x1f0ba2,{scene:_0x49a4e9}=this[_0x1c7802(0x58c)];_0x49a4e9[_0x1c7802(0x513)][_0x1c7802(0x38b)](a['debounce'](_0x3a77fb=>{const _0x49e5db=_0x1c7802;var _0x3584a4,_0x23aefc;const {offsetX:_0xdd2639,offsetY:_0x43ccdb}=_0x3a77fb,{x:_0x15cd7a,y:_0x1aafc7}=_0x49a4e9[_0x49e5db(0x281)](Y['Vector2']['FromArray']([_0xdd2639,_0x43ccdb])),{scaleX:_0x3d2de0,scaleY:_0x51d93f}=_0x49a4e9[_0x49e5db(0x16c)](),_0x4285e6=_0x49a4e9[_0x49e5db(0x306)](Y[_0x49e5db(0x623)][_0x49e5db(0x5b3)]),_0x118fc1=_0x49a4e9[_0x49e5db(0x3b0)](Y[_0x49e5db(0x4ed)][_0x49e5db(0x404)]([_0x15cd7a,_0x1aafc7]),_0x4285e6),_0x4c637d=_0x18a9bd['getCellPositionByOffset'](_0xdd2639,_0x43ccdb,_0x3d2de0,_0x51d93f,_0x118fc1);((_0x3584a4=this['_lastPointer'])==null?void 0x0:_0x3584a4['column'])===_0x4c637d['column']&&((_0x23aefc=this[_0x49e5db(0x56e)])==null?void 0x0:_0x23aefc['row'])===_0x4c637d['row']||this[_0x49e5db(0x4bb)][_0x49e5db(0x3f4)](_0x4b8f7b=>{const _0x438647=_0x49e5db;_0x4b8f7b[_0x438647(0x5e0)](_0x4c637d);});},0x64));});}['_updateCollabCursors'](_0x4814a5,_0x26674d){const _0x1f5583=_0x1ab38c;var _0x18f739;const _0x94a048=(_0x18f739=this[_0x1f5583(0x185)]['getCurrent']())==null?void 0x0:_0x18f739[_0x1f5583(0x407)];if(!_0x94a048)return;const _0x2a9892=this[_0x1f5583(0x1bb)]();if(!_0x2a9892)return;this[_0x1f5583(0x4bb)][_0x1f5583(0x3f4)](_0x163a95=>{const _0x1f53bd=_0x1f5583;_0x163a95[_0x1f53bd(0x31a)]();});const {scene:_0x432004}=_0x2a9892,_0x58086d=Ar(Array[_0x1f5583(0x17c)](_0x26674d[_0x1f5583(0x611)]()))['map'](_0x374f84=>{const _0x1bccf9=_0x1f5583,{color:_0x3d257f,range:_0xbc94be,name:_0x1e71be,selection:_0x36d224,sheetID:_0x102240}=_0x374f84,{startColumn:_0x3fd4c6,startRow:_0x3d36b7,endColumn:_0x36df70,endRow:_0x447ca7}=_0xbc94be,_0x449ee0=Le['getCoordByCell'](_0x3d36b7,_0x3fd4c6,_0x432004,_0x94a048),_0x4dc5e0=Le[_0x1bccf9(0x381)](_0x447ca7,_0x36df70,_0x432004,_0x94a048),{columnHeaderHeightAndMarginTop:_0x33c679}=_0x94a048,{startX:_0x4b8873,startY:_0x595832}=_0x449ee0,{endX:_0xf9d5dd,endY:_0x45728c}=_0x4dc5e0,_0x15b6da=_0xf9d5dd-_0x4b8873,_0x54a26b=_0x45728c-_0x595832,_0x18a029={'labelPosition':_0x595832-_0x33c679>=xe?_0x1bccf9(0x28d):'bottom','sheetID':_0x102240,'range':_0xbc94be,'color':_0x3d257f,'name':_0x1e71be,'selection':_0x36d224,'left':_0x4b8873,'top':_0x595832,'width':_0x15b6da,'height':_0x54a26b,'evented':!0x1,'zIndex':Nr};return new Mi(_0x1e71be,_0x18a029);});_0x432004[_0x1f5583(0x33a)](_0x58086d,Dr),this[_0x1f5583(0x4bb)]=new Set(_0x58086d);}[_0x1ab38c(0x638)](){const _0x2efc0e=_0x1ab38c;var _0x5762d5;(_0x5762d5=this['_cursors'])==null||_0x5762d5[_0x2efc0e(0x3f4)](_0x115e42=>_0x115e42['dispose']());}[_0x1ab38c(0x1bb)](){const _0x3cfdee=_0x1ab38c;return Le[_0x3cfdee(0x576)](this['_context'][_0x3cfdee(0x310)],this[_0x3cfdee(0x58c)]);}};Ot=Mr([mt(0x1,a[_0x1ab38c(0x56d)](Le['SheetSkeletonManagerService'])),mt(0x2,a['Inject'](ye)),mt(0x3,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x308)]))],Ot);function Ar(_0x23e51b){const _0x1b1613=_0x1ab38c,_0x5389b9=new Map();return _0x23e51b['forEach'](_0x1095a2=>{const _0x44b904=_0x33d2;if(_0x5389b9[_0x44b904(0x392)](_0x1095a2[_0x44b904(0x1b1)])){const _0x3e1748=_0x5389b9[_0x44b904(0x3f9)](_0x1095a2[_0x44b904(0x1b1)]);_0x3e1748[_0x44b904(0x4e0)]+=',\x20'+_0x1095a2['name'];}else _0x5389b9[_0x44b904(0x1c6)](_0x1095a2['selection'],_0x1095a2);}),Array[_0x1b1613(0x17c)](_0x5389b9[_0x1b1613(0x611)]());}var gt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x45a630){const _0x120766=_0x1ab38c;return _0x45a630&&_0x45a630['__esModule']&&Object[_0x120766(0x29c)][_0x120766(0x5a3)]['call'](_0x45a630,_0x120766(0x16f))?_0x45a630[_0x120766(0x16f)]:_0x45a630;}var It={'exports':{}},Ue={},Xt;function Lr(){const _0x539936=_0x1ab38c;if(Xt)return Ue;Xt=0x1;var _0x1a0b04=oe,_0x3b4ce7=Symbol[_0x539936(0x47c)](_0x539936(0x57c)),_0x497710=Symbol[_0x539936(0x47c)]('react.fragment'),_0x25f6f0=Object[_0x539936(0x29c)][_0x539936(0x5a3)],_0x33b619=_0x1a0b04['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED']['ReactCurrentOwner'],_0x4e7d17={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0xc2246(_0x5db64d,_0x981545,_0x9671ab){const _0x35aefc=_0x539936;var _0x405884,_0x5b2a1c={},_0x83cb03=null,_0x1804cd=null;_0x9671ab!==void 0x0&&(_0x83cb03=''+_0x9671ab),_0x981545[_0x35aefc(0x634)]!==void 0x0&&(_0x83cb03=''+_0x981545[_0x35aefc(0x634)]),_0x981545[_0x35aefc(0x587)]!==void 0x0&&(_0x1804cd=_0x981545[_0x35aefc(0x587)]);for(_0x405884 in _0x981545)_0x25f6f0[_0x35aefc(0x4fd)](_0x981545,_0x405884)&&!_0x4e7d17[_0x35aefc(0x5a3)](_0x405884)&&(_0x5b2a1c[_0x405884]=_0x981545[_0x405884]);if(_0x5db64d&&_0x5db64d[_0x35aefc(0x2d3)]){for(_0x405884 in(_0x981545=_0x5db64d[_0x35aefc(0x2d3)],_0x981545))_0x5b2a1c[_0x405884]===void 0x0&&(_0x5b2a1c[_0x405884]=_0x981545[_0x405884]);}return{'$$typeof':_0x3b4ce7,'type':_0x5db64d,'key':_0x83cb03,'ref':_0x1804cd,'props':_0x5b2a1c,'_owner':_0x33b619[_0x35aefc(0x4be)]};}return Ue[_0x539936(0x17a)]=_0x497710,Ue[_0x539936(0x5c5)]=_0xc2246,Ue['jsxs']=_0xc2246,Ue;}var Jt;function xr(){const _0x21724d=_0x1ab38c;return Jt||(Jt=0x1,It[_0x21724d(0x5ca)]=Lr()),It[_0x21724d(0x5ca)];}var me=xr(),Q=function(){const _0x3a60bd=_0x1ab38c;return Q=Object['assign']||function(_0x465d77){const _0x9f5f29=_0x33d2;for(var _0x1d42fa,_0x1e8fb5=0x1,_0x1b75ce=arguments[_0x9f5f29(0x2b7)];_0x1e8fb5<_0x1b75ce;_0x1e8fb5++){_0x1d42fa=arguments[_0x1e8fb5];for(var _0x889dcb in _0x1d42fa)Object[_0x9f5f29(0x29c)][_0x9f5f29(0x5a3)][_0x9f5f29(0x4fd)](_0x1d42fa,_0x889dcb)&&(_0x465d77[_0x889dcb]=_0x1d42fa[_0x889dcb]);}return _0x465d77;},Q[_0x3a60bd(0x444)](this,arguments);},$r=function(_0x3153d5,_0xfc1e4a){const _0x332929=_0x1ab38c;var _0x2cba55={};for(var _0x57a2b8 in _0x3153d5)Object[_0x332929(0x29c)][_0x332929(0x5a3)][_0x332929(0x4fd)](_0x3153d5,_0x57a2b8)&&_0xfc1e4a[_0x332929(0x5b6)](_0x57a2b8)<0x0&&(_0x2cba55[_0x57a2b8]=_0x3153d5[_0x57a2b8]);if(_0x3153d5!=null&&typeof Object[_0x332929(0x39f)]=='function'){for(var _0x28d5eb=0x0,_0x57a2b8=Object['getOwnPropertySymbols'](_0x3153d5);_0x28d5eb<_0x57a2b8['length'];_0x28d5eb++)_0xfc1e4a[_0x332929(0x5b6)](_0x57a2b8[_0x28d5eb])<0x0&&Object[_0x332929(0x29c)]['propertyIsEnumerable']['call'](_0x3153d5,_0x57a2b8[_0x28d5eb])&&(_0x2cba55[_0x57a2b8[_0x28d5eb]]=_0x3153d5[_0x57a2b8[_0x28d5eb]]);}return _0x2cba55;},At=oe['forwardRef'](function(_0x36a60a,_0x355e83){const _0xcbd9ad=_0x1ab38c;var _0x183f18=_0x36a60a[_0xcbd9ad(0x39e)],_0x84cd07=_0x36a60a['id'],_0x5eb1bc=_0x36a60a[_0xcbd9ad(0x5f9)],_0x4a80b9=_0x36a60a[_0xcbd9ad(0x270)],_0x30911f=$r(_0x36a60a,[_0xcbd9ad(0x39e),'id','className',_0xcbd9ad(0x270)]),_0x1dbe14=_0xcbd9ad(0x493)[_0xcbd9ad(0x1ac)](_0x84cd07,'\x20')[_0xcbd9ad(0x1ac)](_0x5eb1bc||'')[_0xcbd9ad(0x295)](),_0x18aacf=oe[_0xcbd9ad(0x624)]('_'[_0xcbd9ad(0x1ac)](Br()));return Ni(_0x183f18,''['concat'](_0x84cd07),{'defIds':_0x183f18[_0xcbd9ad(0x3da)],'idSuffix':_0x18aacf[_0xcbd9ad(0x4be)]},Q({'ref':_0x355e83,'className':_0x1dbe14},_0x30911f),_0x4a80b9);});function Ni(_0x394550,_0x48ba76,_0x486508,_0x34efe5,_0x46e9c4){const _0x2e411f=_0x1ab38c;return oe['createElement'](_0x394550['tag'],Q(Q({'key':_0x48ba76},jr(_0x394550,_0x486508,_0x46e9c4)),_0x34efe5),(Hr(_0x394550,_0x486508)[_0x2e411f(0x1d3)]||[])[_0x2e411f(0x4e4)](function(_0x1f1a5c,_0x26b2be){const _0x41a5da=_0x2e411f;return Ni(_0x1f1a5c,''[_0x41a5da(0x1ac)](_0x48ba76,'-')[_0x41a5da(0x1ac)](_0x394550[_0x41a5da(0x292)],'-')[_0x41a5da(0x1ac)](_0x26b2be),_0x486508,void 0x0,_0x46e9c4);}));}function jr(_0x574cdc,_0x41df65,_0x174adf){const _0x3866cd=_0x1ab38c;var _0x1687e9=Q({},_0x574cdc[_0x3866cd(0x1d5)]);_0x174adf!=null&&_0x174adf[_0x3866cd(0x18d)]&&_0x1687e9[_0x3866cd(0x2d6)]==='colorChannel1'&&(_0x1687e9['fill']=_0x174adf['colorChannel1']);var _0x553ae0=_0x41df65['defIds'];return!_0x553ae0||_0x553ae0['length']===0x0||(_0x574cdc[_0x3866cd(0x292)]===_0x3866cd(0x5f2)&&_0x1687e9[_0x3866cd(0x547)]&&(_0x1687e9['xlink:href']=_0x1687e9[_0x3866cd(0x547)]+_0x41df65['idSuffix']),Object[_0x3866cd(0x1f7)](_0x1687e9)[_0x3866cd(0x3f4)](function(_0x5d0b98){const _0x48c018=_0x3866cd;var _0x481e0c=_0x5d0b98[0x0],_0xabc714=_0x5d0b98[0x1];typeof _0xabc714=='string'&&(_0x1687e9[_0x481e0c]=_0xabc714[_0x48c018(0x5e1)](/url\(#(.*)\)/,'url(#$1'[_0x48c018(0x1ac)](_0x41df65[_0x48c018(0x2ba)],')')));})),_0x1687e9;}function Hr(_0x5d2155,_0xda7dbb){const _0x2d8b74=_0x1ab38c;var _0x35ba75,_0x5e6395=_0xda7dbb[_0x2d8b74(0x3da)];return!_0x5e6395||_0x5e6395[_0x2d8b74(0x2b7)]===0x0?_0x5d2155:_0x5d2155[_0x2d8b74(0x292)]===_0x2d8b74(0x4ba)&&(!((_0x35ba75=_0x5d2155[_0x2d8b74(0x1d3)])===null||_0x35ba75===void 0x0)&&_0x35ba75[_0x2d8b74(0x2b7)])?Q(Q({},_0x5d2155),{'children':_0x5d2155[_0x2d8b74(0x1d3)][_0x2d8b74(0x4e4)](function(_0x5748d4){const _0x14ea25=_0x2d8b74;return typeof _0x5748d4['attrs']['id']==_0x14ea25(0x3a2)&&_0x5e6395&&_0x5e6395[_0x14ea25(0x5b6)](_0x5748d4['attrs']['id'])>-0x1?Q(Q({},_0x5748d4),{'attrs':Q(Q({},_0x5748d4['attrs']),{'id':_0x5748d4['attrs']['id']+_0xda7dbb[_0x14ea25(0x2ba)]})}):_0x5748d4;})}):_0x5d2155;}function Br(){const _0x5733ad=_0x1ab38c;return Math[_0x5733ad(0x3b8)]()[_0x5733ad(0x612)](0x24)[_0x5733ad(0x3ea)](0x2,0x8);}At[_0x1ab38c(0x3c2)]=_0x1ab38c(0x1dd);var kr={'tag':_0x1ab38c(0x19c),'attrs':{'fill':_0x1ab38c(0x222),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x1ab38c(0x62e)},'children':[{'tag':'g','attrs':{'clipPath':_0x1ab38c(0x5a0)},'children':[{'tag':_0x1ab38c(0x324),'attrs':{'stroke':_0x1ab38c(0x526),'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':_0x1ab38c(0x363),'strokeLinejoin':_0x1ab38c(0x363),'strokeWidth':1.2}}]},{'tag':_0x1ab38c(0x4ba),'attrs':{},'children':[{'tag':_0x1ab38c(0x1f2),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x1ab38c(0x2f3),'d':_0x1ab38c(0x580)}}]}]}],'defIds':[_0x1ab38c(0x358)]},Ai=oe[_0x1ab38c(0x235)](function(_0x3576c5,_0x12b15f){const _0x510085=_0x1ab38c;return oe['createElement'](At,Object[_0x510085(0x307)]({},_0x3576c5,{'id':_0x510085(0x2ac),'ref':_0x12b15f,'icon':kr}));});Ai[_0x1ab38c(0x3c2)]=_0x1ab38c(0x189);var Wr={'tag':_0x1ab38c(0x19c),'attrs':{'fill':_0x1ab38c(0x222),'viewBox':_0x1ab38c(0x3e3),'width':'1em','height':_0x1ab38c(0x62e)},'children':[{'tag':'g','attrs':{'clipPath':_0x1ab38c(0x27a)},'children':[{'tag':_0x1ab38c(0x324),'attrs':{'stroke':_0x1ab38c(0x526),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1ab38c(0x4ba),'attrs':{},'children':[{'tag':_0x1ab38c(0x1f2),'attrs':{'id':_0x1ab38c(0x243)},'children':[{'tag':_0x1ab38c(0x324),'attrs':{'fill':_0x1ab38c(0x2f3),'d':_0x1ab38c(0x580),'transform':_0x1ab38c(0x2b3)}}]}]}],'defIds':[_0x1ab38c(0x243)]},Li=oe[_0x1ab38c(0x235)](function(_0x549a8a,_0x3564c7){const _0x501439=_0x1ab38c;return oe[_0x501439(0x474)](At,Object[_0x501439(0x307)]({},_0x549a8a,{'id':_0x501439(0x25c),'ref':_0x3564c7,'icon':Wr}));});Li[_0x1ab38c(0x3c2)]=_0x1ab38c(0x36d);function xi(_0x5ec539){const _0x1ee7f6=_0x1ab38c;var _0x54d655,_0x3f6ceb,_0x22464a='';if(typeof _0x5ec539=='string'||typeof _0x5ec539=='number')_0x22464a+=_0x5ec539;else{if(typeof _0x5ec539=='object'){if(Array['isArray'](_0x5ec539)){var _0x7f2878=_0x5ec539[_0x1ee7f6(0x2b7)];for(_0x54d655=0x0;_0x54d655<_0x7f2878;_0x54d655++)_0x5ec539[_0x54d655]&&(_0x3f6ceb=xi(_0x5ec539[_0x54d655]))&&(_0x22464a&&(_0x22464a+='\x20'),_0x22464a+=_0x3f6ceb);}else{for(_0x3f6ceb in _0x5ec539)_0x5ec539[_0x3f6ceb]&&(_0x22464a&&(_0x22464a+='\x20'),_0x22464a+=_0x3f6ceb);}}}return _0x22464a;}function Fr(){const _0x17b442=_0x1ab38c;for(var _0x1a80e8,_0x4cf67c,_0x46f190=0x0,_0x5ce23e='',_0xbc0d7e=arguments[_0x17b442(0x2b7)];_0x46f190<_0xbc0d7e;_0x46f190++)(_0x1a80e8=arguments[_0x46f190])&&(_0x4cf67c=xi(_0x1a80e8))&&(_0x5ce23e&&(_0x5ce23e+='\x20'),_0x5ce23e+=_0x4cf67c);return _0x5ce23e;}const Vr='univer-online-status-icon',Gr=_0x1ab38c(0x314),Yr=_0x1ab38c(0x2f4),qr='univer-online',Kr=_0x1ab38c(0x55f),Me={'onlineStatusIcon':Vr,'onlineStatusTitle':Gr,'onlineStatus':Yr,'online':qr,'offline':Kr};function zr(_0x388866){const _0x5cb792=_0x1ab38c;switch(_0x388866){case K[_0x5cb792(0x1e7)]:return _0x5cb792(0x176);case K[_0x5cb792(0x5f1)]:return _0x5cb792(0x451);case K[_0x5cb792(0x303)]:return _0x5cb792(0x4aa);case K[_0x5cb792(0x1d1)]:return _0x5cb792(0x4cc);case K[_0x5cb792(0x261)]:case K['AWAITING_WITH_PENDING']:return _0x5cb792(0x4f5);case K['SYNCED']:case K[_0x5cb792(0x320)]:return _0x5cb792(0x58b);}}function $i(_0x2ce871){const _0x2f7465=_0x1ab38c,{status$:_0x4861c5}=_0x2ce871,_0x5f11de=ee[_0x2f7465(0x1be)](_0x4861c5,K['NOT_COLLAB']),_0x14b488=a[_0x2f7465(0x59d)](a[_0x2f7465(0x394)]),_0xb62107=a[_0x2f7465(0x59d)](exports[_0x2f7465(0x1fc)]),_0x545ccd=_0x5f11de!==K[_0x2f7465(0x1e7)],_0x1c1d25=_0x14b488['t'](zr(_0x5f11de)),_0x35f09c=Fr(Me[_0x2f7465(0x380)],{[Me['online']]:_0x545ccd,[Me[_0x2f7465(0x573)]]:!_0x545ccd}),_0x37c735=_0x545ccd?me['jsx'](Li,{}):me['jsx'](Ai,{}),_0x2ded1b=oe[_0x2f7465(0x39c)](()=>{_0x545ccd||_0xb62107['reconnect']();},[_0x545ccd,_0xb62107]);function _0x404bcf(){const _0x111189=_0x2f7465;return me[_0x111189(0x508)]('div',{'className':_0x35f09c,'onClick':_0x2ded1b,'children':[me['jsx'](_0x111189(0x224),{'className':Me[_0x111189(0x5f0)],'children':_0x37c735}),me[_0x111189(0x5c5)](_0x111189(0x224),{'className':Me['onlineStatusTitle'],'children':_0x1c1d25})]});}return _0x545ccd?_0x404bcf():me[_0x2f7465(0x5c5)](Ce[_0x2f7465(0x305)],{'title':_0x14b488['t'](_0x2f7465(0x371)),'children':_0x404bcf()});}var Xr=Object['defineProperty'],Jr=Object[_0x1ab38c(0x5da)],Zr=(_0x507833,_0x53b533,_0x38711a,_0x45710f)=>{const _0x11e188=_0x1ab38c;for(var _0x299165=_0x45710f>0x1?void 0x0:_0x45710f?Jr(_0x53b533,_0x38711a):_0x53b533,_0xe27f6=_0x507833[_0x11e188(0x2b7)]-0x1,_0x383279;_0xe27f6>=0x0;_0xe27f6--)(_0x383279=_0x507833[_0xe27f6])&&(_0x299165=(_0x45710f?_0x383279(_0x53b533,_0x38711a,_0x299165):_0x383279(_0x299165))||_0x299165);return _0x45710f&&_0x299165&&Xr(_0x53b533,_0x38711a,_0x299165),_0x299165;},He=(_0x3fd06f,_0x51bc02)=>(_0x2bdd7c,_0x3e2023)=>_0x51bc02(_0x2bdd7c,_0x3e2023,_0x3fd06f);exports[_0x1ab38c(0x347)]=class extends a[_0x1ab38c(0x382)]{constructor(_0x4685db,_0x1f74e7,_0x554502,_0x5ac69f){const _0xcf3ba2=_0x1ab38c;super(),I(this,_0xcf3ba2(0x4f8),new N[(_0xcf3ba2(0x3bd))](K[_0xcf3ba2(0x1d1)])),(this[_0xcf3ba2(0x3b6)]=_0x4685db,this[_0xcf3ba2(0x53a)]=_0x1f74e7,this['_injector']=_0x554502,this[_0xcf3ba2(0x27b)]=_0x5ac69f,this[_0xcf3ba2(0x1a2)](),this[_0xcf3ba2(0x294)]());}[_0x1ab38c(0x294)](){const _0x33b823=_0x1ab38c;this[_0x33b823(0x4ae)](this[_0x33b823(0x3b6)]['focused$']['pipe'](N[_0x33b823(0x600)](()=>{const _0xe568a8=_0x33b823,_0x2f4007=this[_0xe568a8(0x3b6)][_0xe568a8(0x425)]();return _0x2f4007?this[_0xe568a8(0x27b)][_0xe568a8(0x29b)](_0x2f4007[_0xe568a8(0x2f9)]()):N['of'](null);}),N['switchMap'](_0x3168ba=>_0x3168ba?_0x3168ba[_0x33b823(0x1af)]:N['of'](K[_0x33b823(0x1d1)])))[_0x33b823(0x2cc)](_0x16efca=>{this['_status$']['next'](_0x16efca);}));}['_initStatusComponent'](){const _0x3f67fa=_0x1ab38c;this[_0x3f67fa(0x4ae)](this[_0x3f67fa(0x53a)][_0x3f67fa(0x30b)](ee['BuiltInUIPart'][_0x3f67fa(0x2d8)],()=>a['connectInjector'](Qr({'status$':this[_0x3f67fa(0x4f8)][_0x3f67fa(0x3b4)]()}),this[_0x3f67fa(0x2f8)])));}},exports[_0x1ab38c(0x347)]=Zr([He(0x0,a[_0x1ab38c(0x585)]),He(0x1,ee[_0x1ab38c(0x1ee)]),He(0x2,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),He(0x3,a[_0x1ab38c(0x56d)](exports[_0x1ab38c(0x1d8)]))],exports['DesktopCollaborationStatusDisplayController']);function Qr(_0x230886){const {status$:_0x5f0918}=_0x230886;return function(){const _0x3cba04=_0x33d2;return me[_0x3cba04(0x5c5)]($i,{'status$':_0x5f0918});};}const Lt=a[_0x1ab38c(0x4d5)](_0x1ab38c(0x464));var es=Object['defineProperty'],ts=Object['getOwnPropertyDescriptor'],is=(_0x80fb75,_0x3683ad,_0xd4986,_0x38d76d)=>{const _0x4ec907=_0x1ab38c;for(var _0xd434d3=_0x38d76d>0x1?void 0x0:_0x38d76d?ts(_0x3683ad,_0xd4986):_0x3683ad,_0x50cc76=_0x80fb75[_0x4ec907(0x2b7)]-0x1,_0x1efa11;_0x50cc76>=0x0;_0x50cc76--)(_0x1efa11=_0x80fb75[_0x50cc76])&&(_0xd434d3=(_0x38d76d?_0x1efa11(_0x3683ad,_0xd4986,_0xd434d3):_0x1efa11(_0xd434d3))||_0xd434d3);return _0x38d76d&&_0xd434d3&&es(_0x3683ad,_0xd4986,_0xd434d3),_0xd434d3;},Re=(_0x358beb,_0x58df59)=>(_0x379419,_0x14b137)=>_0x58df59(_0x379419,_0x14b137,_0x358beb);exports[_0x1ab38c(0x535)]=class extends a['RxDisposable']{constructor(_0x2f73ca,_0x4ba5c0,_0x579ef1,_0x26c5f3,_0x3e404b,_0x2ef285){const _0x422d46=_0x1ab38c;super(),this[_0x422d46(0x427)]=_0x2f73ca,this[_0x422d46(0x4d3)]=_0x4ba5c0,this[_0x422d46(0x223)]=_0x579ef1,this['_localCacheService']=_0x26c5f3,this['_snapshotService']=_0x3e404b,_0x2ef285?_0x2ef285==null||_0x2ef285['whenReady']()[_0x422d46(0x4f9)](()=>this[_0x422d46(0x419)]()):(this['_logService'][_0x422d46(0x479)](_0x422d46(0x2b0),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async['_init'](){const _0x4263d4=_0x1ab38c,_0x3cafab=this['_urlService'][_0x4263d4(0x53c)](_0x4263d4(0x310)),_0x5d6896=this[_0x4263d4(0x427)]['getParam'](_0x4263d4(0x57b));if(!_0x3cafab||!_0x5d6896){this[_0x4263d4(0x4d3)][_0x4263d4(0x479)](_0x4263d4(0x2b0),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x5d6896)){case ie[_0x4263d4(0x2e0)]:{const _0x3d5488=await this[_0x4263d4(0x4ab)](_0x3cafab);this[_0x4263d4(0x3ff)](_0x3d5488);break;}case ie[_0x4263d4(0x355)]:{await this[_0x4263d4(0x402)](_0x3cafab);break;}default:{this['_logService'][_0x4263d4(0x48d)](_0x4263d4(0x2b0),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x1ab38c(0x3ff)](_0x2309bd){const _0x1fd9bc=_0x1ab38c;await this['_updateSubUnitFromURLParams'](_0x2309bd),_0x2309bd[_0x1fd9bc(0x278)][_0x1fd9bc(0x21a)](N['takeUntil'](this[_0x1fd9bc(0x326)]))[_0x1fd9bc(0x2cc)](_0x27a67a=>{const _0x4a17bd=_0x1fd9bc;_0x27a67a&&this[_0x4a17bd(0x168)](_0x27a67a);}),this[_0x1fd9bc(0x427)][_0x1fd9bc(0x4a8)][_0x1fd9bc(0x21a)](N[_0x1fd9bc(0x37c)](this[_0x1fd9bc(0x326)]))[_0x1fd9bc(0x2cc)](()=>this[_0x1fd9bc(0x5b4)](_0x2309bd));}['_updateURLWithCurrentState'](_0x414c20,_0x47c5c7=!0x1){const _0x32aff7=_0x1ab38c,_0x215163=this[_0x32aff7(0x427)]['getParam'](_0x32aff7(0x254));_0x414c20[_0x32aff7(0x62b)]()!==_0x215163&&this[_0x32aff7(0x427)]['setParam'](_0x32aff7(0x254),_0x414c20['getSheetId'](),_0x47c5c7);}async['_updateSubUnitFromURLParams'](_0x1624cf){const _0x26db47=_0x1ab38c;var _0x4c9677;const _0x4b2d80=this['_urlService'][_0x26db47(0x53c)](_0x26db47(0x254));if(!_0x4b2d80||!_0x1624cf[_0x26db47(0x54a)](_0x4b2d80)){const _0x45e28b=_0x1624cf[_0x26db47(0x43a)]()[0x0],_0xe58e95=_0x1624cf['getSheetBySheetId'](_0x45e28b);if(!_0xe58e95)return;this[_0x26db47(0x168)](_0xe58e95,!0x0),await this[_0x26db47(0x223)]['executeCommand'](k['SetWorksheetActivateCommand']['id'],{'unitId':_0x1624cf[_0x26db47(0x2f9)](),'subUnitId':_0x45e28b});return;}((_0x4c9677=_0x1624cf['getActiveSheet']())==null?void 0x0:_0x4c9677['getSheetId']())!==_0x4b2d80&&await this['_commandService'][_0x26db47(0x59c)](k[_0x26db47(0x5cb)]['id'],{'unitId':_0x1624cf[_0x26db47(0x2f9)](),'subUnitId':_0x4b2d80});}async[_0x1ab38c(0x4ab)](_0x462cbe){const _0x3e731f=_0x1ab38c;let _0xed56d1=0x0;const _0x1a7e80=await this[_0x3e731f(0x28a)][_0x3e731f(0x309)](_0x462cbe);return _0x1a7e80&&(_0x1a7e80[_0x3e731f(0x228)]||_0x1a7e80[_0x3e731f(0x4ea)][_0x3e731f(0x2b7)]!==0x0)&&(_0xed56d1=_0x1a7e80[_0x3e731f(0x557)]),_0xed56d1===0x0&&this[_0x3e731f(0x4d3)][_0x3e731f(0x479)](_0x3e731f(0x2b0),_0x3e731f(0x34b)),this[_0x3e731f(0x5ee)][_0x3e731f(0x5c3)](_0x462cbe,_0xed56d1);}async['_loadDoc'](_0x3d6d65){const _0x579a49=_0x1ab38c;let _0x1ade3a=0x0;const _0x1d9c92=await this[_0x579a49(0x28a)]['loadOfflineData'](_0x3d6d65);return _0x1d9c92&&(_0x1d9c92[_0x579a49(0x228)]||_0x1d9c92[_0x579a49(0x4ea)][_0x579a49(0x2b7)]!==0x0)&&(_0x1ade3a=_0x1d9c92[_0x579a49(0x557)]),_0x1ade3a===0x0&&this[_0x579a49(0x4d3)][_0x579a49(0x479)](_0x579a49(0x2b0),_0x579a49(0x34b)),this[_0x579a49(0x5ee)][_0x579a49(0x4d6)](_0x3d6d65,_0x1ade3a);}},exports[_0x1ab38c(0x535)]=is([Re(0x0,Lt),Re(0x1,a[_0x1ab38c(0x626)]),Re(0x2,a[_0x1ab38c(0x430)]),Re(0x3,a['Inject'](exports['LocalCacheService'])),Re(0x4,a[_0x1ab38c(0x56d)](m[_0x1ab38c(0x4b1)])),Re(0x5,a[_0x1ab38c(0x627)](Yi[_0x1ab38c(0x56c)]))],exports[_0x1ab38c(0x535)]);var ns=Object['defineProperty'],rs=Object['getOwnPropertyDescriptor'],ss=(_0x339a6a,_0x19e7c5,_0x593e54,_0x526f4e)=>{const _0x577260=_0x1ab38c;for(var _0x335365=_0x526f4e>0x1?void 0x0:_0x526f4e?rs(_0x19e7c5,_0x593e54):_0x19e7c5,_0x1042d5=_0x339a6a[_0x577260(0x2b7)]-0x1,_0x2a7000;_0x1042d5>=0x0;_0x1042d5--)(_0x2a7000=_0x339a6a[_0x1042d5])&&(_0x335365=(_0x526f4e?_0x2a7000(_0x19e7c5,_0x593e54,_0x335365):_0x2a7000(_0x335365))||_0x335365);return _0x526f4e&&_0x335365&&ns(_0x19e7c5,_0x593e54,_0x335365),_0x335365;},Zt=(_0x11f4cd,_0x2ab334)=>(_0x3b858d,_0x2c7554)=>_0x2ab334(_0x3b858d,_0x2c7554,_0x11f4cd);const os='DEFAULT_FILE_NAME',as=_0x1ab38c(0x490);let nt=class extends a['Disposable']{constructor(_0x557349,_0x39ad46){const _0x2d0a01=_0x1ab38c;super(),this[_0x2d0a01(0x3b6)]=_0x557349,this[_0x2d0a01(0x3fd)]=_0x39ad46,this[_0x2d0a01(0x419)]();}[_0x1ab38c(0x419)](){const _0x93d948=_0x1ab38c;this[_0x93d948(0x4ae)](this[_0x93d948(0x3b6)][_0x93d948(0x275)][_0x93d948(0x2cc)](()=>{const _0x50881b=_0x93d948;var _0x3ba2f0;const _0x1ff086=this[_0x50881b(0x3b6)][_0x50881b(0x425)]();let _0x52e410=(_0x3ba2f0=this[_0x50881b(0x3fd)][_0x50881b(0x489)](os))!=null?_0x3ba2f0:as;_0x1ff086 instanceof a[_0x50881b(0x470)]&&(_0x52e410=_0x1ff086[_0x50881b(0x4e0)]),document['title']=_0x52e410;}));}};nt=ss([Zt(0x0,a[_0x1ab38c(0x585)]),Zt(0x1,a[_0x1ab38c(0x5bc)])],nt);var cs=Object[_0x1ab38c(0x322)],ls=Object['getOwnPropertyDescriptor'],hs=(_0x2f7ca8,_0x536c77,_0xf6bfe3,_0x57e029)=>{const _0x363a0c=_0x1ab38c;for(var _0xa74a56=_0x57e029>0x1?void 0x0:_0x57e029?ls(_0x536c77,_0xf6bfe3):_0x536c77,_0x2f168c=_0x2f7ca8[_0x363a0c(0x2b7)]-0x1,_0x2de900;_0x2f168c>=0x0;_0x2f168c--)(_0x2de900=_0x2f7ca8[_0x2f168c])&&(_0xa74a56=(_0x57e029?_0x2de900(_0x536c77,_0xf6bfe3,_0xa74a56):_0x2de900(_0xa74a56))||_0xa74a56);return _0x57e029&&_0xa74a56&&cs(_0x536c77,_0xf6bfe3,_0xa74a56),_0xa74a56;},Ct=(_0x45b5de,_0x2ace36)=>(_0x5641c8,_0x32453f)=>_0x2ace36(_0x5641c8,_0x32453f,_0x45b5de);let rt=class{constructor(_0x38df39,_0x21e862,_0x497efd){const _0x3f18ec=_0x1ab38c;this[_0x3f18ec(0x3fd)]=_0x38df39,this[_0x3f18ec(0x544)]=_0x21e862,this[_0x3f18ec(0x37f)]=_0x497efd,this['init']();}[_0x1ab38c(0x238)](){const _0x65cfe5=_0x1ab38c;this[_0x65cfe5(0x544)][_0x65cfe5(0x4d9)]({'priority':0x1,'interceptor':(_0x4863a7,_0x258e30)=>_0x258e30(_0x4863a7)[_0x65cfe5(0x21a)](N['concatMap'](async _0x279081=>{const _0x2d9a67=_0x65cfe5,_0x335182=_0x279081;if(_0x335182[_0x2d9a67(0x338)]===0x191&&window[_0x2d9a67(0x280)](this[_0x2d9a67(0x37f)]['t'](_0x2d9a67(0x44d)))){const _0xc2a064=window[_0x2d9a67(0x4c7)](window[_0x2d9a67(0x56a)][_0x2d9a67(0x32d)]);window[_0x2d9a67(0x56a)]['href']=this[_0x2d9a67(0x181)]()+_0x2d9a67(0x5d8)+_0xc2a064;}return _0x335182;}))});}[_0x1ab38c(0x181)](){const _0x3793d5=_0x1ab38c;var _0x5eaca7,_0x2bc36e;const _0x56cdf5=this[_0x3793d5(0x3fd)][_0x3793d5(0x489)](Ei),_0x2d1010=this[_0x3793d5(0x3fd)][_0x3793d5(0x489)](Z);return(_0x2bc36e=(_0x5eaca7=_0x2d1010==null?void 0x0:_0x2d1010[_0x3793d5(0x439)])!=null?_0x5eaca7:_0x56cdf5)!=null?_0x2bc36e:rn;}};rt=hs([Ct(0x0,a['IConfigService']),Ct(0x1,a[_0x1ab38c(0x56d)](z[_0x1ab38c(0x3a1)])),Ct(0x2,a['Inject'](a[_0x1ab38c(0x394)]))],rt);var _s=Object[_0x1ab38c(0x322)],us=Object[_0x1ab38c(0x5da)],ds=(_0x142a1a,_0x25d92e,_0x135151,_0x1502ec)=>{const _0x447f87=_0x1ab38c;for(var _0x56b10b=_0x1502ec>0x1?void 0x0:_0x1502ec?us(_0x25d92e,_0x135151):_0x25d92e,_0x5f5678=_0x142a1a[_0x447f87(0x2b7)]-0x1,_0x381aa9;_0x5f5678>=0x0;_0x5f5678--)(_0x381aa9=_0x142a1a[_0x5f5678])&&(_0x56b10b=(_0x1502ec?_0x381aa9(_0x25d92e,_0x135151,_0x56b10b):_0x381aa9(_0x56b10b))||_0x56b10b);return _0x1502ec&&_0x56b10b&&_s(_0x25d92e,_0x135151,_0x56b10b),_0x56b10b;},Qt=(_0x4a38d7,_0x3077bc)=>(_0x54b58f,_0x4f9860)=>_0x3077bc(_0x54b58f,_0x4f9860,_0x4a38d7);const xt=_0x1ab38c(0x4c9),fs='/universer-api/authz';exports[_0x1ab38c(0x456)]=class extends a[_0x1ab38c(0x382)]{constructor(_0xc293fe,_0x469c6d){const _0x396ef4=_0x1ab38c;super(),this['_HTTPService']=_0xc293fe,this[_0x396ef4(0x3fd)]=_0x469c6d,this[_0x396ef4(0x33e)]();}[_0x1ab38c(0x33e)](){const _0x394493=_0x1ab38c,_0x125d0e=this;this[_0x394493(0x4ae)](this[_0x394493(0x3d0)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':z[_0x394493(0x5c0)]({'isMatch'(_0x67b39c){const _0x868f4e=_0x394493;var _0x949b6;if(_0x67b39c[_0x868f4e(0x591)]===_0x868f4e(0x5d9)&&((_0x949b6=_0x67b39c[_0x868f4e(0x497)])!=null&&_0x949b6[_0x868f4e(0x4cf)])){const {objectID:_0x8243a6,objectType:_0xac341}=_0x67b39c[_0x868f4e(0x497)][_0x868f4e(0x4cf)]||{};if(!_0x8243a6||_0xac341===void 0x0)return!0x1;const _0xc3a38e=_0x125d0e['_getAPIPrefixPath']()+'/'+_0xac341+'/object/'+_0x8243a6+_0x868f4e(0x43f);if(_0x67b39c[_0x868f4e(0x304)]===_0xc3a38e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x51024a){var _0x4ed617;return(_0x4ed617=_0x51024a['requestParams'])==null?void 0x0:_0x4ed617['body'];},'mergeParamsToRequest'(_0x21df22,_0x28044a){const _0x194537=_0x394493,_0x4d30ac=_0x125d0e[_0x194537(0x5f6)]()+_0x194537(0x414),_0x3dd570=_0x21df22['reduce']((_0x5a5875,_0x488158)=>{const _0xf2d319=_0x194537,{unitID:_0x3e892c,objectID:_0x5c05a1,objectType:_0x383088,actions:_0x2e943f}=_0x488158;return _0x5a5875[_0x3e892c]||(_0x5a5875[_0x3e892c]={}),_0x5a5875[_0x3e892c][_0x5c05a1]||(_0x5a5875[_0x3e892c][_0x5c05a1]={'objectID':_0x5c05a1,'objectType':_0x383088,'actions':[]}),_0x5a5875[_0x3e892c][_0x5c05a1][_0xf2d319(0x1dc)][_0xf2d319(0x2e4)](..._0x2e943f),_0x5a5875;},{}),_0x4a2b38=[];for(const _0x2a1f22 in _0x3dd570)for(const _0x335939 in _0x3dd570[_0x2a1f22]){const {actions:_0x6e272,objectType:_0x4d1e64}=_0x3dd570[_0x2a1f22][_0x335939],_0x399597=[...new Set(_0x6e272)];_0x4a2b38[_0x194537(0x2e4)]({'unitID':_0x2a1f22,'objectID':_0x335939,'objectType':_0x4d1e64,'actions':_0x399597});}return new z[(_0x194537(0x50a))](_0x194537(0x5d9),_0x4d30ac,{'headers':_0x28044a[_0x194537(0x408)],'withCredentials':_0x28044a[_0x194537(0x4da)],'responseType':_0x28044a[_0x194537(0x41d)],'body':{'requests':_0x4a2b38}});}},{'distributeResult'(_0x23d43c,_0x1c2b9f){const {objectActions:_0x351a24}=_0x23d43c;return _0x1c2b9f['map'](_0x239d5e=>{const _0x42d87f=_0x33d2,{unitID:_0x3b437b,objectID:_0x4cb6d7,actions:_0x24548a}=_0x239d5e,_0x5c396c=_0x351a24['find'](_0x282ec8=>_0x282ec8[_0x42d87f(0x3d4)]===_0x3b437b&&_0x282ec8[_0x42d87f(0x1ec)]===_0x4cb6d7),_0x22b8cc=_0x24548a[_0x42d87f(0x4e4)](_0x46229e=>_0x5c396c==null?void 0x0:_0x5c396c[_0x42d87f(0x1dc)]['find'](_0x2374ab=>_0x2374ab['action']===_0x46229e))['filter'](_0x21d685=>!!_0x21d685);return{'config':_0x239d5e,'result':{'actions':_0x22b8cc,'error':_0x23d43c[_0x42d87f(0x48d)]}};});}})}));}['_getAPIPrefixPath'](){const _0x35aabf=_0x1ab38c;var _0x477fb2,_0x4a259f;const _0x30c859=this[_0x35aabf(0x3fd)][_0x35aabf(0x489)](xt),_0x391d31=this[_0x35aabf(0x3fd)][_0x35aabf(0x489)](Z);return(_0x4a259f=(_0x477fb2=_0x391d31==null?void 0x0:_0x391d31[_0x35aabf(0x286)])!=null?_0x477fb2:_0x30c859)!=null?_0x4a259f:fs;}async[_0x1ab38c(0x442)](_0xe1fadf){const _0x1f859b=_0x1ab38c,_0x52a086=this[_0x1f859b(0x5f6)]()+'/'+_0xe1fadf[_0x1f859b(0x5ab)]+_0x1f859b(0x1a3);return(await this[_0x1f859b(0x3d0)][_0x1f859b(0x22b)](_0x52a086,{'body':_0xe1fadf}))[_0x1f859b(0x4cf)][_0x1f859b(0x1ec)]||'';}async[_0x1ab38c(0x1ef)](_0x19b74c){const _0x3624b4=_0x1ab38c,_0x38de42=this[_0x3624b4(0x5f6)]()+_0x3624b4(0x5eb);return(await this[_0x3624b4(0x3d0)]['post'](_0x38de42,{'body':_0x19b74c}))['body'][_0x3624b4(0x31b)];}async[_0x1ab38c(0x47d)](_0x5446a9){const _0xfe6283=_0x1ab38c,_0xdee4a5=this[_0xfe6283(0x5f6)]()+'/'+_0x5446a9[_0xfe6283(0x5ab)]+_0xfe6283(0x608)+_0x5446a9[_0xfe6283(0x1ec)];await this[_0xfe6283(0x3d0)]['put'](_0xdee4a5,{'body':_0x5446a9});}async[_0x1ab38c(0x500)](_0x25d74f){const _0x24a02c=_0x1ab38c,_0x2d648e=this[_0x24a02c(0x5f6)]()+'/'+_0x25d74f[_0x24a02c(0x5ab)]+_0x24a02c(0x608)+_0x25d74f['objectID']+_0x24a02c(0x43f);return(await this['_HTTPService'][_0x24a02c(0x22b)](_0x2d648e,{'body':_0x25d74f}))[_0x24a02c(0x4cf)][_0x24a02c(0x1dc)];}async[_0x1ab38c(0x2c2)](_0x4dfab6){const _0x29ec19=_0x1ab38c,_0x345a5f=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x29ec19(0x3d0)][_0x29ec19(0x22b)](_0x345a5f,{'body':{'requests':_0x4dfab6}}))[_0x29ec19(0x4cf)]['objectActions'];}async[_0x1ab38c(0x61b)](_0x47cedc){const _0x3d5af1=_0x1ab38c,_0x2b1165=this[_0x3d5af1(0x5f6)]()+'/'+_0x47cedc[_0x3d5af1(0x5ab)]+_0x3d5af1(0x2be),_0x1a29c2=await this[_0x3d5af1(0x3d0)][_0x3d5af1(0x22b)](_0x2b1165,{'body':_0x47cedc});return{'roles':_0x1a29c2[_0x3d5af1(0x4cf)][_0x3d5af1(0x503)],'actions':_0x1a29c2[_0x3d5af1(0x4cf)]['actions']};}async[_0x1ab38c(0x1a7)](_0x3833e4){const _0x595d05=_0x1ab38c,_0x52bd63=this[_0x595d05(0x5f6)]()+'/collaborator';await this[_0x595d05(0x3d0)][_0x595d05(0x5d0)](_0x52bd63,{'params':{'collaboratorID':_0x3833e4[_0x595d05(0x51d)],'objectID':_0x3833e4[_0x595d05(0x1ec)],'unitID':_0x3833e4[_0x595d05(0x3d4)]}});}async['updateCollaborator'](_0xbd0b5b){const _0x44fe72=_0x1ab38c,_0x3ef22e=this[_0x44fe72(0x5f6)]()+_0x44fe72(0x27c);await this[_0x44fe72(0x3d0)][_0x44fe72(0x41e)](_0x3ef22e,{'body':_0xbd0b5b});}async[_0x1ab38c(0x4f0)](_0x5b95f6){const _0x1a8dc5=_0x1ab38c,_0x291f7b=this[_0x1a8dc5(0x5f6)]()+'/collaborator';await this['_HTTPService'][_0x1a8dc5(0x22b)](_0x291f7b,{'body':_0x5b95f6});}async['listCollaborators'](_0x2c541c){const _0x377876=_0x1ab38c,_0x2b838e=this[_0x377876(0x5f6)]()+_0x377876(0x27c);return(await this[_0x377876(0x3d0)][_0x377876(0x3f9)](_0x2b838e,{'params':{'objectID':_0x2c541c[_0x377876(0x1ec)],'unitID':_0x2c541c['unitID']}}))[_0x377876(0x4cf)]['collaborators'];}async[_0x1ab38c(0x1e4)](_0x1eb298){const _0x448950=_0x1ab38c,_0x4dd61e=this['_getAPIPrefixPath']()+_0x448950(0x27c);await this['_HTTPService'][_0x448950(0x529)](_0x4dd61e,{'body':_0x1eb298});}},exports[_0x1ab38c(0x456)]=ds([Qt(0x0,a[_0x1ab38c(0x56d)](z[_0x1ab38c(0x3a1)])),Qt(0x1,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x5bc)]))],exports['AuthzIoHttpService']);var ke={'exports':{}};function vs(_0x30e428){const _0x4867f0=_0x1ab38c;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x30e428+_0x4867f0(0x4ff));}var We={'exports':{}},Ss=We[_0x1ab38c(0x5ca)],ei;function se(){const _0x107f5e=_0x1ab38c;return ei||(ei=0x1,function(_0x45088e,_0x3c0bd6){(function(_0x20282a,_0x47ed54){const _0x37eb85=_0x33d2;_0x45088e[_0x37eb85(0x5ca)]=_0x47ed54();}(Ss,function(){var _0x373422=_0x373422||function(_0x2711a1,_0x382c29){const _0x1cf92b=_0x33d2;var _0xa97198;if(typeof window<'u'&&window[_0x1cf92b(0x41b)]&&(_0xa97198=window['crypto']),typeof self<'u'&&self[_0x1cf92b(0x41b)]&&(_0xa97198=self[_0x1cf92b(0x41b)]),typeof globalThis<'u'&&globalThis[_0x1cf92b(0x41b)]&&(_0xa97198=globalThis[_0x1cf92b(0x41b)]),!_0xa97198&&typeof window<'u'&&window[_0x1cf92b(0x58f)]&&(_0xa97198=window[_0x1cf92b(0x58f)]),!_0xa97198&&typeof gt<'u'&&gt[_0x1cf92b(0x41b)]&&(_0xa97198=gt[_0x1cf92b(0x41b)]),!_0xa97198&&typeof vs==_0x1cf92b(0x3e2))try{_0xa97198=require('crypto');}catch{}var _0x39e31c=function(){const _0x2403ee=_0x1cf92b;if(_0xa97198){if(typeof _0xa97198['getRandomValues']==_0x2403ee(0x3e2))try{return _0xa97198['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xa97198[_0x2403ee(0x4c2)]=='function')try{return _0xa97198[_0x2403ee(0x4c2)](0x4)[_0x2403ee(0x1aa)]();}catch{}}throw new Error(_0x2403ee(0x240));},_0x4eec7a=Object[_0x1cf92b(0x442)]||(function(){function _0x3941c2(){}return function(_0x540d9b){const _0x2341b7=_0x33d2;var _0x1e3d45;return _0x3941c2[_0x2341b7(0x29c)]=_0x540d9b,_0x1e3d45=new _0x3941c2(),_0x3941c2['prototype']=null,_0x1e3d45;};}()),_0x2ccf33={},_0x408801=_0x2ccf33[_0x1cf92b(0x502)]={},_0x223bd4=_0x408801[_0x1cf92b(0x4d8)]=(function(){return{'extend':function(_0x1f164f){const _0x17f2cd=_0x33d2;var _0x39244f=_0x4eec7a(this);return _0x1f164f&&_0x39244f['mixIn'](_0x1f164f),(!_0x39244f[_0x17f2cd(0x5a3)](_0x17f2cd(0x238))||this[_0x17f2cd(0x238)]===_0x39244f[_0x17f2cd(0x238)])&&(_0x39244f[_0x17f2cd(0x238)]=function(){const _0x283482=_0x17f2cd;_0x39244f[_0x283482(0x38f)][_0x283482(0x238)]['apply'](this,arguments);}),_0x39244f[_0x17f2cd(0x238)][_0x17f2cd(0x29c)]=_0x39244f,_0x39244f['$super']=this,_0x39244f;},'create':function(){const _0x39266f=_0x33d2;var _0x3835eb=this[_0x39266f(0x270)]();return _0x3835eb[_0x39266f(0x238)]['apply'](_0x3835eb,arguments),_0x3835eb;},'init':function(){},'mixIn':function(_0x5c3948){const _0x78a3d0=_0x33d2;for(var _0x3986d3 in _0x5c3948)_0x5c3948['hasOwnProperty'](_0x3986d3)&&(this[_0x3986d3]=_0x5c3948[_0x3986d3]);_0x5c3948[_0x78a3d0(0x5a3)](_0x78a3d0(0x612))&&(this[_0x78a3d0(0x612)]=_0x5c3948[_0x78a3d0(0x612)]);},'clone':function(){const _0xea56f9=_0x33d2;return this[_0xea56f9(0x238)][_0xea56f9(0x29c)]['extend'](this);}};}()),_0x3a0ad7=_0x408801[_0x1cf92b(0x389)]=_0x223bd4[_0x1cf92b(0x270)]({'init':function(_0x40f044,_0x5b568a){const _0x4172f2=_0x1cf92b;_0x40f044=this['words']=_0x40f044||[],_0x5b568a!=_0x382c29?this[_0x4172f2(0x36c)]=_0x5b568a:this[_0x4172f2(0x36c)]=_0x40f044[_0x4172f2(0x2b7)]*0x4;},'toString':function(_0x125c5d){const _0x331fd2=_0x1cf92b;return(_0x125c5d||_0x15567f)[_0x331fd2(0x330)](this);},'concat':function(_0x4cfca7){const _0x25187a=_0x1cf92b;var _0x5d3a7d=this[_0x25187a(0x5dc)],_0x55a4ee=_0x4cfca7[_0x25187a(0x5dc)],_0x14be87=this[_0x25187a(0x36c)],_0x1bb561=_0x4cfca7[_0x25187a(0x36c)];if(this['clamp'](),_0x14be87%0x4)for(var _0xb6e670=0x0;_0xb6e670<_0x1bb561;_0xb6e670++){var _0x4c777d=_0x55a4ee[_0xb6e670>>>0x2]>>>0x18-_0xb6e670%0x4*0x8&0xff;_0x5d3a7d[_0x14be87+_0xb6e670>>>0x2]|=_0x4c777d<<0x18-(_0x14be87+_0xb6e670)%0x4*0x8;}else{for(var _0x4c4673=0x0;_0x4c4673<_0x1bb561;_0x4c4673+=0x4)_0x5d3a7d[_0x14be87+_0x4c4673>>>0x2]=_0x55a4ee[_0x4c4673>>>0x2];}return this[_0x25187a(0x36c)]+=_0x1bb561,this;},'clamp':function(){const _0x1c6fe4=_0x1cf92b;var _0x12fea8=this[_0x1c6fe4(0x5dc)],_0x3c8190=this[_0x1c6fe4(0x36c)];_0x12fea8[_0x3c8190>>>0x2]&=0xffffffff<<0x20-_0x3c8190%0x4*0x8,_0x12fea8[_0x1c6fe4(0x2b7)]=_0x2711a1['ceil'](_0x3c8190/0x4);},'clone':function(){const _0x48ed06=_0x1cf92b;var _0x489443=_0x223bd4['clone'][_0x48ed06(0x4fd)](this);return _0x489443[_0x48ed06(0x5dc)]=this['words'][_0x48ed06(0x543)](0x0),_0x489443;},'random':function(_0x4ffabd){const _0xa07cd=_0x1cf92b;for(var _0x57b452=[],_0x3b81eb=0x0;_0x3b81eb<_0x4ffabd;_0x3b81eb+=0x4)_0x57b452['push'](_0x39e31c());return new _0x3a0ad7[(_0xa07cd(0x238))](_0x57b452,_0x4ffabd);}}),_0x48f941=_0x2ccf33[_0x1cf92b(0x5ef)]={},_0x15567f=_0x48f941[_0x1cf92b(0x4e5)]={'stringify':function(_0x46a6c4){const _0x38db63=_0x1cf92b;for(var _0x4909c4=_0x46a6c4[_0x38db63(0x5dc)],_0x269bbe=_0x46a6c4[_0x38db63(0x36c)],_0xf55eee=[],_0x44f218=0x0;_0x44f218<_0x269bbe;_0x44f218++){var _0x4515e9=_0x4909c4[_0x44f218>>>0x2]>>>0x18-_0x44f218%0x4*0x8&0xff;_0xf55eee[_0x38db63(0x2e4)]((_0x4515e9>>>0x4)[_0x38db63(0x612)](0x10)),_0xf55eee[_0x38db63(0x2e4)]((_0x4515e9&0xf)['toString'](0x10));}return _0xf55eee[_0x38db63(0x20f)]('');},'parse':function(_0x1bb5c9){const _0x23b841=_0x1cf92b;for(var _0x41619c=_0x1bb5c9[_0x23b841(0x2b7)],_0x4fa6b9=[],_0x5c4521=0x0;_0x5c4521<_0x41619c;_0x5c4521+=0x2)_0x4fa6b9[_0x5c4521>>>0x3]|=parseInt(_0x1bb5c9[_0x23b841(0x193)](_0x5c4521,0x2),0x10)<<0x18-_0x5c4521%0x8*0x4;return new _0x3a0ad7[(_0x23b841(0x238))](_0x4fa6b9,_0x41619c/0x2);}},_0x287db4=_0x48f941[_0x1cf92b(0x29e)]={'stringify':function(_0x584be9){const _0x58d1fd=_0x1cf92b;for(var _0x52a610=_0x584be9[_0x58d1fd(0x5dc)],_0x492825=_0x584be9[_0x58d1fd(0x36c)],_0x284b41=[],_0x42065c=0x0;_0x42065c<_0x492825;_0x42065c++){var _0x5ab191=_0x52a610[_0x42065c>>>0x2]>>>0x18-_0x42065c%0x4*0x8&0xff;_0x284b41[_0x58d1fd(0x2e4)](String['fromCharCode'](_0x5ab191));}return _0x284b41[_0x58d1fd(0x20f)]('');},'parse':function(_0x16414a){const _0x4958d7=_0x1cf92b;for(var _0x2e861d=_0x16414a['length'],_0x5e5ee9=[],_0x2d8b04=0x0;_0x2d8b04<_0x2e861d;_0x2d8b04++)_0x5e5ee9[_0x2d8b04>>>0x2]|=(_0x16414a['charCodeAt'](_0x2d8b04)&0xff)<<0x18-_0x2d8b04%0x4*0x8;return new _0x3a0ad7[(_0x4958d7(0x238))](_0x5e5ee9,_0x2e861d);}},_0x230381=_0x48f941[_0x1cf92b(0x4a9)]={'stringify':function(_0x2cf30c){const _0x31b9f5=_0x1cf92b;try{return decodeURIComponent(escape(_0x287db4['stringify'](_0x2cf30c)));}catch{throw new Error(_0x31b9f5(0x5a8));}},'parse':function(_0x53ce38){return _0x287db4['parse'](unescape(encodeURIComponent(_0x53ce38)));}},_0x5c3862=_0x408801[_0x1cf92b(0x441)]=_0x223bd4[_0x1cf92b(0x270)]({'reset':function(){const _0x20b02a=_0x1cf92b;this[_0x20b02a(0x3b2)]=new _0x3a0ad7[(_0x20b02a(0x238))](),this['_nDataBytes']=0x0;},'_append':function(_0x203db4){const _0x5c22d4=_0x1cf92b;typeof _0x203db4==_0x5c22d4(0x3a2)&&(_0x203db4=_0x230381[_0x5c22d4(0x625)](_0x203db4)),this[_0x5c22d4(0x3b2)][_0x5c22d4(0x1ac)](_0x203db4),this[_0x5c22d4(0x4a6)]+=_0x203db4[_0x5c22d4(0x36c)];},'_process':function(_0x59b05c){const _0xd39f50=_0x1cf92b;var _0x11af06,_0x4547d3=this[_0xd39f50(0x3b2)],_0x4f0368=_0x4547d3['words'],_0x5d7a26=_0x4547d3[_0xd39f50(0x36c)],_0xff7f70=this['blockSize'],_0x463236=_0xff7f70*0x4,_0xa4d898=_0x5d7a26/_0x463236;_0x59b05c?_0xa4d898=_0x2711a1[_0xd39f50(0x3f7)](_0xa4d898):_0xa4d898=_0x2711a1['max']((_0xa4d898|0x0)-this[_0xd39f50(0x2f0)],0x0);var _0x5bf152=_0xa4d898*_0xff7f70,_0x1c1010=_0x2711a1[_0xd39f50(0x509)](_0x5bf152*0x4,_0x5d7a26);if(_0x5bf152){for(var _0x4adb29=0x0;_0x4adb29<_0x5bf152;_0x4adb29+=_0xff7f70)this[_0xd39f50(0x586)](_0x4f0368,_0x4adb29);_0x11af06=_0x4f0368['splice'](0x0,_0x5bf152),_0x4547d3['sigBytes']-=_0x1c1010;}return new _0x3a0ad7[(_0xd39f50(0x238))](_0x11af06,_0x1c1010);},'clone':function(){const _0x1b288c=_0x1cf92b;var _0x29a3d1=_0x223bd4[_0x1b288c(0x22d)][_0x1b288c(0x4fd)](this);return _0x29a3d1[_0x1b288c(0x3b2)]=this[_0x1b288c(0x3b2)]['clone'](),_0x29a3d1;},'_minBufferSize':0x0});_0x408801[_0x1cf92b(0x40d)]=_0x5c3862[_0x1cf92b(0x270)]({'cfg':_0x223bd4[_0x1cf92b(0x270)](),'init':function(_0xe99c20){const _0xfb2fcf=_0x1cf92b;this['cfg']=this[_0xfb2fcf(0x572)][_0xfb2fcf(0x270)](_0xe99c20),this['reset']();},'reset':function(){const _0x1ede0f=_0x1cf92b;_0x5c3862['reset'][_0x1ede0f(0x4fd)](this),this['_doReset']();},'update':function(_0x20f9c2){const _0x142790=_0x1cf92b;return this[_0x142790(0x5f3)](_0x20f9c2),this['_process'](),this;},'finalize':function(_0x113071){const _0x343def=_0x1cf92b;_0x113071&&this[_0x343def(0x5f3)](_0x113071);var _0x29815b=this[_0x343def(0x5e3)]();return _0x29815b;},'blockSize':0x10,'_createHelper':function(_0x71cdfc){return function(_0x31f5bf,_0x411169){const _0x39ff63=_0x33d2;return new _0x71cdfc[(_0x39ff63(0x238))](_0x411169)[_0x39ff63(0x4e3)](_0x31f5bf);};},'_createHmacHelper':function(_0x1d762c){return function(_0x294b05,_0x3df1d0){const _0x1a1848=_0x33d2;return new _0x89556b[(_0x1a1848(0x3e4))][(_0x1a1848(0x238))](_0x1d762c,_0x3df1d0)[_0x1a1848(0x4e3)](_0x294b05);};}});var _0x89556b=_0x2ccf33[_0x1cf92b(0x331)]={};return _0x2ccf33;}(Math);return _0x373422;}));}(We)),We[_0x107f5e(0x5ca)];}var Fe={'exports':{}},ps=Fe['exports'],ti;function ji(){const _0x39eb16=_0x1ab38c;return ti||(ti=0x1,function(_0x30b118,_0x5556b5){(function(_0x2aefd5,_0x206c90){const _0x3555aa=_0x33d2;_0x30b118[_0x3555aa(0x5ca)]=_0x206c90(se());}(ps,function(_0x2cf3bd){const _0x1749ad=_0x33d2;return(function(){const _0x5c7014=_0x33d2;var _0x714be0=_0x2cf3bd,_0xbbc0ba=_0x714be0['lib'],_0x2e1777=_0xbbc0ba[_0x5c7014(0x389)],_0x363fb8=_0x714be0['enc'];_0x363fb8[_0x5c7014(0x3a7)]={'stringify':function(_0xfbaa5a){const _0x10e1ca=_0x5c7014;var _0x775353=_0xfbaa5a[_0x10e1ca(0x5dc)],_0x5922e1=_0xfbaa5a[_0x10e1ca(0x36c)],_0x704fe1=this['_map'];_0xfbaa5a[_0x10e1ca(0x52a)]();for(var _0x12c8be=[],_0x1445d2=0x0;_0x1445d2<_0x5922e1;_0x1445d2+=0x3)for(var _0x47b4ad=_0x775353[_0x1445d2>>>0x2]>>>0x18-_0x1445d2%0x4*0x8&0xff,_0x68f6d1=_0x775353[_0x1445d2+0x1>>>0x2]>>>0x18-(_0x1445d2+0x1)%0x4*0x8&0xff,_0x3352e2=_0x775353[_0x1445d2+0x2>>>0x2]>>>0x18-(_0x1445d2+0x2)%0x4*0x8&0xff,_0x2cde12=_0x47b4ad<<0x10|_0x68f6d1<<0x8|_0x3352e2,_0x572551=0x0;_0x572551<0x4&&_0x1445d2+_0x572551*0.75<_0x5922e1;_0x572551++)_0x12c8be[_0x10e1ca(0x2e4)](_0x704fe1[_0x10e1ca(0x302)](_0x2cde12>>>0x6*(0x3-_0x572551)&0x3f));var _0x14fd32=_0x704fe1[_0x10e1ca(0x302)](0x40);if(_0x14fd32){for(;_0x12c8be['length']%0x4;)_0x12c8be[_0x10e1ca(0x2e4)](_0x14fd32);}return _0x12c8be[_0x10e1ca(0x20f)]('');},'parse':function(_0x1ccdfc){const _0x44be8e=_0x5c7014;var _0x1cc2ca=_0x1ccdfc[_0x44be8e(0x2b7)],_0x7bcc3=this[_0x44be8e(0x4e2)],_0x554e70=this[_0x44be8e(0x32c)];if(!_0x554e70){_0x554e70=this[_0x44be8e(0x32c)]=[];for(var _0x3eeebf=0x0;_0x3eeebf<_0x7bcc3['length'];_0x3eeebf++)_0x554e70[_0x7bcc3[_0x44be8e(0x2af)](_0x3eeebf)]=_0x3eeebf;}var _0x436b44=_0x7bcc3[_0x44be8e(0x302)](0x40);if(_0x436b44){var _0x40bb55=_0x1ccdfc['indexOf'](_0x436b44);_0x40bb55!==-0x1&&(_0x1cc2ca=_0x40bb55);}return _0x5790a5(_0x1ccdfc,_0x1cc2ca,_0x554e70);},'_map':_0x5c7014(0x4dd)};function _0x5790a5(_0xc5f55e,_0x3f812e,_0x5a82f6){const _0x2aba01=_0x5c7014;for(var _0x1186b4=[],_0x1c5dcb=0x0,_0x3f1e42=0x0;_0x3f1e42<_0x3f812e;_0x3f1e42++)if(_0x3f1e42%0x4){var _0x5bf902=_0x5a82f6[_0xc5f55e['charCodeAt'](_0x3f1e42-0x1)]<<_0x3f1e42%0x4*0x2,_0x2522f2=_0x5a82f6[_0xc5f55e['charCodeAt'](_0x3f1e42)]>>>0x6-_0x3f1e42%0x4*0x2,_0x540c92=_0x5bf902|_0x2522f2;_0x1186b4[_0x1c5dcb>>>0x2]|=_0x540c92<<0x18-_0x1c5dcb%0x4*0x8,_0x1c5dcb++;}return _0x2e1777[_0x2aba01(0x442)](_0x1186b4,_0x1c5dcb);}}()),_0x2cf3bd[_0x1749ad(0x5ef)][_0x1749ad(0x3a7)];}));}(Fe)),Fe[_0x39eb16(0x5ca)];}var Ve={'exports':{}},ms=Ve[_0x1ab38c(0x5ca)],ii;function gs(){const _0x59951d=_0x1ab38c;return ii||(ii=0x1,function(_0x104304,_0xce9046){(function(_0x5b7db0,_0x5ff593){const _0x4cd594=_0x33d2;_0x104304[_0x4cd594(0x5ca)]=_0x5ff593(se());}(ms,function(_0x237504){return function(_0x4fb1a7){const _0x210436=_0x33d2;var _0x40ba18=_0x237504,_0x546304=_0x40ba18[_0x210436(0x502)],_0x44c57b=_0x546304[_0x210436(0x389)],_0x5c2db3=_0x546304[_0x210436(0x40d)],_0xdf52ff=_0x40ba18[_0x210436(0x331)],_0x1d031d=[];(function(){const _0x56c6fb=_0x210436;for(var _0x550c0e=0x0;_0x550c0e<0x40;_0x550c0e++)_0x1d031d[_0x550c0e]=_0x4fb1a7[_0x56c6fb(0x614)](_0x4fb1a7[_0x56c6fb(0x49a)](_0x550c0e+0x1))*0x100000000|0x0;}());var _0x48cf45=_0xdf52ff['MD5']=_0x5c2db3[_0x210436(0x270)]({'_doReset':function(){const _0x24aff8=_0x210436;this[_0x24aff8(0x555)]=new _0x44c57b[(_0x24aff8(0x238))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x56413e,_0x11f16c){const _0x2f26bc=_0x210436;for(var _0x463900=0x0;_0x463900<0x10;_0x463900++){var _0x4ffc58=_0x11f16c+_0x463900,_0x4e70ba=_0x56413e[_0x4ffc58];_0x56413e[_0x4ffc58]=(_0x4e70ba<<0x8|_0x4e70ba>>>0x18)&0xff00ff|(_0x4e70ba<<0x18|_0x4e70ba>>>0x8)&0xff00ff00;}var _0x7ccec5=this[_0x2f26bc(0x555)]['words'],_0x5e1e34=_0x56413e[_0x11f16c+0x0],_0x5082dc=_0x56413e[_0x11f16c+0x1],_0xfc5340=_0x56413e[_0x11f16c+0x2],_0x30d4dd=_0x56413e[_0x11f16c+0x3],_0x508327=_0x56413e[_0x11f16c+0x4],_0x401766=_0x56413e[_0x11f16c+0x5],_0x11ea1b=_0x56413e[_0x11f16c+0x6],_0x4eceb8=_0x56413e[_0x11f16c+0x7],_0x37ad07=_0x56413e[_0x11f16c+0x8],_0x228209=_0x56413e[_0x11f16c+0x9],_0x537890=_0x56413e[_0x11f16c+0xa],_0x404546=_0x56413e[_0x11f16c+0xb],_0x32fc38=_0x56413e[_0x11f16c+0xc],_0x3dedae=_0x56413e[_0x11f16c+0xd],_0x6ff9a=_0x56413e[_0x11f16c+0xe],_0x5f2681=_0x56413e[_0x11f16c+0xf],_0x36dee4=_0x7ccec5[0x0],_0x15daef=_0x7ccec5[0x1],_0x4b9be3=_0x7ccec5[0x2],_0x148d2a=_0x7ccec5[0x3];_0x36dee4=_0x2d4bb2(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x5e1e34,0x7,_0x1d031d[0x0]),_0x148d2a=_0x2d4bb2(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x5082dc,0xc,_0x1d031d[0x1]),_0x4b9be3=_0x2d4bb2(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0xfc5340,0x11,_0x1d031d[0x2]),_0x15daef=_0x2d4bb2(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x30d4dd,0x16,_0x1d031d[0x3]),_0x36dee4=_0x2d4bb2(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x508327,0x7,_0x1d031d[0x4]),_0x148d2a=_0x2d4bb2(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x401766,0xc,_0x1d031d[0x5]),_0x4b9be3=_0x2d4bb2(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x11ea1b,0x11,_0x1d031d[0x6]),_0x15daef=_0x2d4bb2(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x4eceb8,0x16,_0x1d031d[0x7]),_0x36dee4=_0x2d4bb2(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x37ad07,0x7,_0x1d031d[0x8]),_0x148d2a=_0x2d4bb2(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x228209,0xc,_0x1d031d[0x9]),_0x4b9be3=_0x2d4bb2(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x537890,0x11,_0x1d031d[0xa]),_0x15daef=_0x2d4bb2(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x404546,0x16,_0x1d031d[0xb]),_0x36dee4=_0x2d4bb2(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x32fc38,0x7,_0x1d031d[0xc]),_0x148d2a=_0x2d4bb2(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x3dedae,0xc,_0x1d031d[0xd]),_0x4b9be3=_0x2d4bb2(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x6ff9a,0x11,_0x1d031d[0xe]),_0x15daef=_0x2d4bb2(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x5f2681,0x16,_0x1d031d[0xf]),_0x36dee4=_0x100eb5(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x5082dc,0x5,_0x1d031d[0x10]),_0x148d2a=_0x100eb5(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x11ea1b,0x9,_0x1d031d[0x11]),_0x4b9be3=_0x100eb5(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x404546,0xe,_0x1d031d[0x12]),_0x15daef=_0x100eb5(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x5e1e34,0x14,_0x1d031d[0x13]),_0x36dee4=_0x100eb5(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x401766,0x5,_0x1d031d[0x14]),_0x148d2a=_0x100eb5(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x537890,0x9,_0x1d031d[0x15]),_0x4b9be3=_0x100eb5(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x5f2681,0xe,_0x1d031d[0x16]),_0x15daef=_0x100eb5(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x508327,0x14,_0x1d031d[0x17]),_0x36dee4=_0x100eb5(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x228209,0x5,_0x1d031d[0x18]),_0x148d2a=_0x100eb5(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x6ff9a,0x9,_0x1d031d[0x19]),_0x4b9be3=_0x100eb5(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x30d4dd,0xe,_0x1d031d[0x1a]),_0x15daef=_0x100eb5(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x37ad07,0x14,_0x1d031d[0x1b]),_0x36dee4=_0x100eb5(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x3dedae,0x5,_0x1d031d[0x1c]),_0x148d2a=_0x100eb5(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0xfc5340,0x9,_0x1d031d[0x1d]),_0x4b9be3=_0x100eb5(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x4eceb8,0xe,_0x1d031d[0x1e]),_0x15daef=_0x100eb5(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x32fc38,0x14,_0x1d031d[0x1f]),_0x36dee4=_0x387b42(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x401766,0x4,_0x1d031d[0x20]),_0x148d2a=_0x387b42(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x37ad07,0xb,_0x1d031d[0x21]),_0x4b9be3=_0x387b42(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x404546,0x10,_0x1d031d[0x22]),_0x15daef=_0x387b42(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x6ff9a,0x17,_0x1d031d[0x23]),_0x36dee4=_0x387b42(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x5082dc,0x4,_0x1d031d[0x24]),_0x148d2a=_0x387b42(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x508327,0xb,_0x1d031d[0x25]),_0x4b9be3=_0x387b42(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x4eceb8,0x10,_0x1d031d[0x26]),_0x15daef=_0x387b42(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x537890,0x17,_0x1d031d[0x27]),_0x36dee4=_0x387b42(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x3dedae,0x4,_0x1d031d[0x28]),_0x148d2a=_0x387b42(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x5e1e34,0xb,_0x1d031d[0x29]),_0x4b9be3=_0x387b42(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x30d4dd,0x10,_0x1d031d[0x2a]),_0x15daef=_0x387b42(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x11ea1b,0x17,_0x1d031d[0x2b]),_0x36dee4=_0x387b42(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x228209,0x4,_0x1d031d[0x2c]),_0x148d2a=_0x387b42(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x32fc38,0xb,_0x1d031d[0x2d]),_0x4b9be3=_0x387b42(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x5f2681,0x10,_0x1d031d[0x2e]),_0x15daef=_0x387b42(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0xfc5340,0x17,_0x1d031d[0x2f]),_0x36dee4=_0x2074a8(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x5e1e34,0x6,_0x1d031d[0x30]),_0x148d2a=_0x2074a8(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x4eceb8,0xa,_0x1d031d[0x31]),_0x4b9be3=_0x2074a8(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x6ff9a,0xf,_0x1d031d[0x32]),_0x15daef=_0x2074a8(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x401766,0x15,_0x1d031d[0x33]),_0x36dee4=_0x2074a8(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x32fc38,0x6,_0x1d031d[0x34]),_0x148d2a=_0x2074a8(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x30d4dd,0xa,_0x1d031d[0x35]),_0x4b9be3=_0x2074a8(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x537890,0xf,_0x1d031d[0x36]),_0x15daef=_0x2074a8(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x5082dc,0x15,_0x1d031d[0x37]),_0x36dee4=_0x2074a8(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x37ad07,0x6,_0x1d031d[0x38]),_0x148d2a=_0x2074a8(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x5f2681,0xa,_0x1d031d[0x39]),_0x4b9be3=_0x2074a8(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0x11ea1b,0xf,_0x1d031d[0x3a]),_0x15daef=_0x2074a8(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x3dedae,0x15,_0x1d031d[0x3b]),_0x36dee4=_0x2074a8(_0x36dee4,_0x15daef,_0x4b9be3,_0x148d2a,_0x508327,0x6,_0x1d031d[0x3c]),_0x148d2a=_0x2074a8(_0x148d2a,_0x36dee4,_0x15daef,_0x4b9be3,_0x404546,0xa,_0x1d031d[0x3d]),_0x4b9be3=_0x2074a8(_0x4b9be3,_0x148d2a,_0x36dee4,_0x15daef,_0xfc5340,0xf,_0x1d031d[0x3e]),_0x15daef=_0x2074a8(_0x15daef,_0x4b9be3,_0x148d2a,_0x36dee4,_0x228209,0x15,_0x1d031d[0x3f]),_0x7ccec5[0x0]=_0x7ccec5[0x0]+_0x36dee4|0x0,_0x7ccec5[0x1]=_0x7ccec5[0x1]+_0x15daef|0x0,_0x7ccec5[0x2]=_0x7ccec5[0x2]+_0x4b9be3|0x0,_0x7ccec5[0x3]=_0x7ccec5[0x3]+_0x148d2a|0x0;},'_doFinalize':function(){const _0x5c9fb1=_0x210436;var _0x1bc0c3=this[_0x5c9fb1(0x3b2)],_0x182ba3=_0x1bc0c3[_0x5c9fb1(0x5dc)],_0x35919c=this[_0x5c9fb1(0x4a6)]*0x8,_0x433407=_0x1bc0c3['sigBytes']*0x8;_0x182ba3[_0x433407>>>0x5]|=0x80<<0x18-_0x433407%0x20;var _0x3fb65f=_0x4fb1a7[_0x5c9fb1(0x494)](_0x35919c/0x100000000),_0x41275d=_0x35919c;_0x182ba3[(_0x433407+0x40>>>0x9<<0x4)+0xf]=(_0x3fb65f<<0x8|_0x3fb65f>>>0x18)&0xff00ff|(_0x3fb65f<<0x18|_0x3fb65f>>>0x8)&0xff00ff00,_0x182ba3[(_0x433407+0x40>>>0x9<<0x4)+0xe]=(_0x41275d<<0x8|_0x41275d>>>0x18)&0xff00ff|(_0x41275d<<0x18|_0x41275d>>>0x8)&0xff00ff00,_0x1bc0c3[_0x5c9fb1(0x36c)]=(_0x182ba3[_0x5c9fb1(0x2b7)]+0x1)*0x4,this['_process']();for(var _0x564be4=this[_0x5c9fb1(0x555)],_0x7a749=_0x564be4['words'],_0x332d50=0x0;_0x332d50<0x4;_0x332d50++){var _0x1c2956=_0x7a749[_0x332d50];_0x7a749[_0x332d50]=(_0x1c2956<<0x8|_0x1c2956>>>0x18)&0xff00ff|(_0x1c2956<<0x18|_0x1c2956>>>0x8)&0xff00ff00;}return _0x564be4;},'clone':function(){const _0x91203f=_0x210436;var _0x5a88a5=_0x5c2db3['clone']['call'](this);return _0x5a88a5[_0x91203f(0x555)]=this[_0x91203f(0x555)][_0x91203f(0x22d)](),_0x5a88a5;}});function _0x2d4bb2(_0x5847c6,_0x6867d7,_0x41b351,_0x270353,_0xc70ab9,_0x3a3b40,_0x22bc82){var _0x42a49a=_0x5847c6+(_0x6867d7&_0x41b351|~_0x6867d7&_0x270353)+_0xc70ab9+_0x22bc82;return(_0x42a49a<<_0x3a3b40|_0x42a49a>>>0x20-_0x3a3b40)+_0x6867d7;}function _0x100eb5(_0xd8babb,_0x181c4c,_0x168830,_0x286c52,_0x5c5ef6,_0x4a1dfb,_0x493496){var _0x406a96=_0xd8babb+(_0x181c4c&_0x286c52|_0x168830&~_0x286c52)+_0x5c5ef6+_0x493496;return(_0x406a96<<_0x4a1dfb|_0x406a96>>>0x20-_0x4a1dfb)+_0x181c4c;}function _0x387b42(_0x13d7e5,_0x3fcf40,_0x19e9cc,_0x41e3bd,_0x366641,_0x4b50b1,_0x34c8aa){var _0x3195e9=_0x13d7e5+(_0x3fcf40^_0x19e9cc^_0x41e3bd)+_0x366641+_0x34c8aa;return(_0x3195e9<<_0x4b50b1|_0x3195e9>>>0x20-_0x4b50b1)+_0x3fcf40;}function _0x2074a8(_0x1ef7b2,_0x5b8d80,_0x23567d,_0x584cad,_0x33078e,_0x7ce61b,_0xc5cc69){var _0x5d8c62=_0x1ef7b2+(_0x23567d^(_0x5b8d80|~_0x584cad))+_0x33078e+_0xc5cc69;return(_0x5d8c62<<_0x7ce61b|_0x5d8c62>>>0x20-_0x7ce61b)+_0x5b8d80;}_0x40ba18[_0x210436(0x570)]=_0x5c2db3[_0x210436(0x5ae)](_0x48cf45),_0x40ba18['HmacMD5']=_0x5c2db3[_0x210436(0x339)](_0x48cf45);}(Math),_0x237504['MD5'];}));}(Ve)),Ve[_0x59951d(0x5ca)];}var Ge={'exports':{}},Ye={'exports':{}},Is=Ye[_0x1ab38c(0x5ca)],ni;function Cs(){const _0x3c9c91=_0x1ab38c;return ni||(ni=0x1,function(_0x21fab9,_0x27451f){(function(_0x3a4197,_0x4d4314){_0x21fab9['exports']=_0x4d4314(se());}(Is,function(_0x2f36c8){const _0x3a667f=_0x33d2;return(function(){const _0x2cefb2=_0x33d2;var _0x4099f4=_0x2f36c8,_0x409ea6=_0x4099f4['lib'],_0x33761a=_0x409ea6[_0x2cefb2(0x389)],_0x3cdad9=_0x409ea6[_0x2cefb2(0x40d)],_0x4fe534=_0x4099f4[_0x2cefb2(0x331)],_0x438073=[],_0x4c1454=_0x4fe534[_0x2cefb2(0x190)]=_0x3cdad9[_0x2cefb2(0x270)]({'_doReset':function(){const _0xe64d66=_0x2cefb2;this['_hash']=new _0x33761a[(_0xe64d66(0x238))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x123d02,_0x4a4f85){for(var _0x18d926=this['_hash']['words'],_0x47a38f=_0x18d926[0x0],_0x1f0079=_0x18d926[0x1],_0x253266=_0x18d926[0x2],_0x4e3238=_0x18d926[0x3],_0x4df1d8=_0x18d926[0x4],_0x38bfc7=0x0;_0x38bfc7<0x50;_0x38bfc7++){if(_0x38bfc7<0x10)_0x438073[_0x38bfc7]=_0x123d02[_0x4a4f85+_0x38bfc7]|0x0;else{var _0x57f0ec=_0x438073[_0x38bfc7-0x3]^_0x438073[_0x38bfc7-0x8]^_0x438073[_0x38bfc7-0xe]^_0x438073[_0x38bfc7-0x10];_0x438073[_0x38bfc7]=_0x57f0ec<<0x1|_0x57f0ec>>>0x1f;}var _0x36acc8=(_0x47a38f<<0x5|_0x47a38f>>>0x1b)+_0x4df1d8+_0x438073[_0x38bfc7];_0x38bfc7<0x14?_0x36acc8+=(_0x1f0079&_0x253266|~_0x1f0079&_0x4e3238)+0x5a827999:_0x38bfc7<0x28?_0x36acc8+=(_0x1f0079^_0x253266^_0x4e3238)+0x6ed9eba1:_0x38bfc7<0x3c?_0x36acc8+=(_0x1f0079&_0x253266|_0x1f0079&_0x4e3238|_0x253266&_0x4e3238)-0x70e44324:_0x36acc8+=(_0x1f0079^_0x253266^_0x4e3238)-0x359d3e2a,_0x4df1d8=_0x4e3238,_0x4e3238=_0x253266,_0x253266=_0x1f0079<<0x1e|_0x1f0079>>>0x2,_0x1f0079=_0x47a38f,_0x47a38f=_0x36acc8;}_0x18d926[0x0]=_0x18d926[0x0]+_0x47a38f|0x0,_0x18d926[0x1]=_0x18d926[0x1]+_0x1f0079|0x0,_0x18d926[0x2]=_0x18d926[0x2]+_0x253266|0x0,_0x18d926[0x3]=_0x18d926[0x3]+_0x4e3238|0x0,_0x18d926[0x4]=_0x18d926[0x4]+_0x4df1d8|0x0;},'_doFinalize':function(){const _0x51888c=_0x2cefb2;var _0x48ec27=this['_data'],_0x42fbc8=_0x48ec27[_0x51888c(0x5dc)],_0x1f85af=this[_0x51888c(0x4a6)]*0x8,_0x464884=_0x48ec27[_0x51888c(0x36c)]*0x8;return _0x42fbc8[_0x464884>>>0x5]|=0x80<<0x18-_0x464884%0x20,_0x42fbc8[(_0x464884+0x40>>>0x9<<0x4)+0xe]=Math[_0x51888c(0x494)](_0x1f85af/0x100000000),_0x42fbc8[(_0x464884+0x40>>>0x9<<0x4)+0xf]=_0x1f85af,_0x48ec27[_0x51888c(0x36c)]=_0x42fbc8['length']*0x4,this[_0x51888c(0x203)](),this[_0x51888c(0x555)];},'clone':function(){const _0x3e70f9=_0x2cefb2;var _0x4aa7cf=_0x3cdad9[_0x3e70f9(0x22d)][_0x3e70f9(0x4fd)](this);return _0x4aa7cf[_0x3e70f9(0x555)]=this[_0x3e70f9(0x555)][_0x3e70f9(0x22d)](),_0x4aa7cf;}});_0x4099f4['SHA1']=_0x3cdad9['_createHelper'](_0x4c1454),_0x4099f4[_0x2cefb2(0x1ad)]=_0x3cdad9[_0x2cefb2(0x339)](_0x4c1454);}()),_0x2f36c8[_0x3a667f(0x190)];}));}(Ye)),Ye[_0x3c9c91(0x5ca)];}var qe={'exports':{}},Es=qe[_0x1ab38c(0x5ca)],ri;function bs(){const _0x1647b8=_0x1ab38c;return ri||(ri=0x1,function(_0x52f7a4,_0x28e094){(function(_0x44d227,_0x6970dc){const _0x270404=_0x33d2;_0x52f7a4[_0x270404(0x5ca)]=_0x6970dc(se());}(Es,function(_0x464850){(function(){const _0x5ba997=_0x33d2;var _0x322402=_0x464850,_0xd5ab01=_0x322402['lib'],_0x6d2a76=_0xd5ab01[_0x5ba997(0x4d8)],_0x29dc28=_0x322402[_0x5ba997(0x5ef)],_0x4a9684=_0x29dc28[_0x5ba997(0x4a9)],_0x598031=_0x322402[_0x5ba997(0x331)];_0x598031['HMAC']=_0x6d2a76[_0x5ba997(0x270)]({'init':function(_0x26fa51,_0x5bdd85){const _0x13f7f7=_0x5ba997;_0x26fa51=this[_0x13f7f7(0x539)]=new _0x26fa51['init'](),typeof _0x5bdd85==_0x13f7f7(0x3a2)&&(_0x5bdd85=_0x4a9684[_0x13f7f7(0x625)](_0x5bdd85));var _0x426d7a=_0x26fa51[_0x13f7f7(0x1a6)],_0x1c907f=_0x426d7a*0x4;_0x5bdd85[_0x13f7f7(0x36c)]>_0x1c907f&&(_0x5bdd85=_0x26fa51[_0x13f7f7(0x4e3)](_0x5bdd85)),_0x5bdd85[_0x13f7f7(0x52a)]();for(var _0x3c54b2=this['_oKey']=_0x5bdd85[_0x13f7f7(0x22d)](),_0x41a1dc=this[_0x13f7f7(0x52e)]=_0x5bdd85[_0x13f7f7(0x22d)](),_0x57ee31=_0x3c54b2[_0x13f7f7(0x5dc)],_0x357082=_0x41a1dc[_0x13f7f7(0x5dc)],_0x2949f9=0x0;_0x2949f9<_0x426d7a;_0x2949f9++)_0x57ee31[_0x2949f9]^=0x5c5c5c5c,_0x357082[_0x2949f9]^=0x36363636;_0x3c54b2[_0x13f7f7(0x36c)]=_0x41a1dc[_0x13f7f7(0x36c)]=_0x1c907f,this[_0x13f7f7(0x178)]();},'reset':function(){const _0x1e54fe=_0x5ba997;var _0x3095d0=this['_hasher'];_0x3095d0[_0x1e54fe(0x178)](),_0x3095d0[_0x1e54fe(0x47d)](this[_0x1e54fe(0x52e)]);},'update':function(_0x5ef7ef){const _0x4f7362=_0x5ba997;return this['_hasher'][_0x4f7362(0x47d)](_0x5ef7ef),this;},'finalize':function(_0x5b2d3a){const _0x541b88=_0x5ba997;var _0x1e1814=this[_0x541b88(0x539)],_0x247e45=_0x1e1814[_0x541b88(0x4e3)](_0x5b2d3a);_0x1e1814[_0x541b88(0x178)]();var _0x551bf3=_0x1e1814[_0x541b88(0x4e3)](this[_0x541b88(0x602)][_0x541b88(0x22d)]()['concat'](_0x247e45));return _0x551bf3;}});}());}));}(qe)),qe[_0x1647b8(0x5ca)];}var Ts=Ge[_0x1ab38c(0x5ca)],si;function Hi(){return si||(si=0x1,function(_0x3a5d2d,_0x4ec80a){(function(_0x34bbc5,_0x1dfb6a,_0x45c279){_0x3a5d2d['exports']=_0x1dfb6a(se(),Cs(),bs());}(Ts,function(_0x1c7a10){return(function(){const _0x120a05=_0x33d2;var _0x15a9d7=_0x1c7a10,_0x535b46=_0x15a9d7[_0x120a05(0x502)],_0x97ed40=_0x535b46[_0x120a05(0x4d8)],_0x4c4d1a=_0x535b46[_0x120a05(0x389)],_0x207da4=_0x15a9d7[_0x120a05(0x331)],_0x504027=_0x207da4['MD5'],_0x510737=_0x207da4[_0x120a05(0x3ba)]=_0x97ed40[_0x120a05(0x270)]({'cfg':_0x97ed40[_0x120a05(0x270)]({'keySize':0x80/0x20,'hasher':_0x504027,'iterations':0x1}),'init':function(_0xb4d48e){const _0x2b0e76=_0x120a05;this['cfg']=this['cfg'][_0x2b0e76(0x270)](_0xb4d48e);},'compute':function(_0x18f847,_0x12b08a){const _0x2f973b=_0x120a05;for(var _0x1ca013,_0x518e53=this['cfg'],_0x4faa60=_0x518e53[_0x2f973b(0x43b)][_0x2f973b(0x442)](),_0x174755=_0x4c4d1a[_0x2f973b(0x442)](),_0x653f21=_0x174755[_0x2f973b(0x5dc)],_0x229527=_0x518e53[_0x2f973b(0x44a)],_0x45ca41=_0x518e53[_0x2f973b(0x21c)];_0x653f21[_0x2f973b(0x2b7)]<_0x229527;){_0x1ca013&&_0x4faa60[_0x2f973b(0x47d)](_0x1ca013),_0x1ca013=_0x4faa60['update'](_0x18f847)['finalize'](_0x12b08a),_0x4faa60[_0x2f973b(0x178)]();for(var _0x17ffef=0x1;_0x17ffef<_0x45ca41;_0x17ffef++)_0x1ca013=_0x4faa60[_0x2f973b(0x4e3)](_0x1ca013),_0x4faa60['reset']();_0x174755['concat'](_0x1ca013);}return _0x174755[_0x2f973b(0x36c)]=_0x229527*0x4,_0x174755;}});_0x15a9d7[_0x120a05(0x3ba)]=function(_0x56e540,_0x404bed,_0x262b28){const _0x589718=_0x120a05;return _0x510737['create'](_0x262b28)[_0x589718(0x321)](_0x56e540,_0x404bed);};}()),_0x1c7a10['EvpKDF'];}));}(Ge)),Ge['exports'];}var Ke={'exports':{}},Rs=Ke[_0x1ab38c(0x5ca)],oi;function Bi(){const _0x45af7b=_0x1ab38c;return oi||(oi=0x1,function(_0x5f4a65,_0x44e32d){(function(_0x52bd4d,_0x1e2786,_0x51dc55){const _0x278a5a=_0x33d2;_0x5f4a65[_0x278a5a(0x5ca)]=_0x1e2786(se(),Hi());}(Rs,function(_0x3da002){const _0xfdbe67=_0x33d2;_0x3da002[_0xfdbe67(0x502)][_0xfdbe67(0x1c8)]||function(_0x318274){const _0x509cb2=_0xfdbe67;var _0x5be34c=_0x3da002,_0x79c0ac=_0x5be34c[_0x509cb2(0x502)],_0x4cd83e=_0x79c0ac[_0x509cb2(0x4d8)],_0x4e9f60=_0x79c0ac[_0x509cb2(0x389)],_0xef348f=_0x79c0ac[_0x509cb2(0x441)],_0x23cd87=_0x5be34c[_0x509cb2(0x5ef)];_0x23cd87[_0x509cb2(0x4a9)];var _0x248df3=_0x23cd87['Base64'],_0x5b86ba=_0x5be34c['algo'],_0x44c58a=_0x5b86ba[_0x509cb2(0x3ba)],_0xb874d7=_0x79c0ac['Cipher']=_0xef348f[_0x509cb2(0x270)]({'cfg':_0x4cd83e[_0x509cb2(0x270)](),'createEncryptor':function(_0x59e5f,_0xfda11b){const _0x375964=_0x509cb2;return this[_0x375964(0x442)](this[_0x375964(0x24d)],_0x59e5f,_0xfda11b);},'createDecryptor':function(_0x13170b,_0x4181eb){const _0xee2745=_0x509cb2;return this[_0xee2745(0x442)](this['_DEC_XFORM_MODE'],_0x13170b,_0x4181eb);},'init':function(_0x47881f,_0xd56afe,_0x14e6d9){const _0x321bf6=_0x509cb2;this[_0x321bf6(0x572)]=this[_0x321bf6(0x572)][_0x321bf6(0x270)](_0x14e6d9),this[_0x321bf6(0x26e)]=_0x47881f,this['_key']=_0xd56afe,this[_0x321bf6(0x178)]();},'reset':function(){const _0x43bd79=_0x509cb2;_0xef348f[_0x43bd79(0x178)]['call'](this),this[_0x43bd79(0x3ae)]();},'process':function(_0x307552){const _0x2687d6=_0x509cb2;return this[_0x2687d6(0x5f3)](_0x307552),this[_0x2687d6(0x203)]();},'finalize':function(_0x134ba2){const _0x4a8fd4=_0x509cb2;_0x134ba2&&this[_0x4a8fd4(0x5f3)](_0x134ba2);var _0x4e8a65=this['_doFinalize']();return _0x4e8a65;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xa76415(_0x36f855){return typeof _0x36f855=='string'?_0x266191:_0xb4374;}return function(_0x2f14fb){return{'encrypt':function(_0x11b16c,_0x1bba15,_0x53e4a1){const _0x138350=_0x33d2;return _0xa76415(_0x1bba15)[_0x138350(0x433)](_0x2f14fb,_0x11b16c,_0x1bba15,_0x53e4a1);},'decrypt':function(_0x308e65,_0x274f7c,_0x1d8162){const _0x3746dc=_0x33d2;return _0xa76415(_0x274f7c)[_0x3746dc(0x3cf)](_0x2f14fb,_0x308e65,_0x274f7c,_0x1d8162);}};};}())});_0x79c0ac[_0x509cb2(0x2d5)]=_0xb874d7[_0x509cb2(0x270)]({'_doFinalize':function(){var _0x2ad3a5=this['_process'](!0x0);return _0x2ad3a5;},'blockSize':0x1});var _0x1e3b45=_0x5be34c[_0x509cb2(0x43e)]={},_0x418fcd=_0x79c0ac[_0x509cb2(0x5ac)]=_0x4cd83e['extend']({'createEncryptor':function(_0x6e1df0,_0x3a819b){const _0xf4dff6=_0x509cb2;return this['Encryptor'][_0xf4dff6(0x442)](_0x6e1df0,_0x3a819b);},'createDecryptor':function(_0xd93aca,_0x4e8a81){const _0x4ea747=_0x509cb2;return this['Decryptor'][_0x4ea747(0x442)](_0xd93aca,_0x4e8a81);},'init':function(_0x565d9f,_0x1fcce5){const _0x49a4bf=_0x509cb2;this['_cipher']=_0x565d9f,this[_0x49a4bf(0x545)]=_0x1fcce5;}}),_0x2814fa=_0x1e3b45[_0x509cb2(0x560)]=(function(){const _0x2e4efd=_0x509cb2;var _0x4771d8=_0x418fcd[_0x2e4efd(0x270)]();_0x4771d8[_0x2e4efd(0x60e)]=_0x4771d8['extend']({'processBlock':function(_0x2f6871,_0x5af1bf){const _0x5b58ee=_0x2e4efd;var _0x93012d=this[_0x5b58ee(0x1f1)],_0x39594d=_0x93012d[_0x5b58ee(0x1a6)];_0x294df3[_0x5b58ee(0x4fd)](this,_0x2f6871,_0x5af1bf,_0x39594d),_0x93012d[_0x5b58ee(0x637)](_0x2f6871,_0x5af1bf),this[_0x5b58ee(0x5fe)]=_0x2f6871['slice'](_0x5af1bf,_0x5af1bf+_0x39594d);}}),_0x4771d8[_0x2e4efd(0x207)]=_0x4771d8[_0x2e4efd(0x270)]({'processBlock':function(_0x303838,_0x9829fa){const _0x26f8ec=_0x2e4efd;var _0x3a0a54=this[_0x26f8ec(0x1f1)],_0x1a9f51=_0x3a0a54['blockSize'],_0x78aa0=_0x303838[_0x26f8ec(0x543)](_0x9829fa,_0x9829fa+_0x1a9f51);_0x3a0a54[_0x26f8ec(0x54c)](_0x303838,_0x9829fa),_0x294df3[_0x26f8ec(0x4fd)](this,_0x303838,_0x9829fa,_0x1a9f51),this[_0x26f8ec(0x5fe)]=_0x78aa0;}});function _0x294df3(_0x1eec9b,_0x201da3,_0x2eb10a){const _0x5d2105=_0x2e4efd;var _0x138942,_0x17c638=this[_0x5d2105(0x545)];_0x17c638?(_0x138942=_0x17c638,this[_0x5d2105(0x545)]=_0x318274):_0x138942=this[_0x5d2105(0x5fe)];for(var _0x31b13a=0x0;_0x31b13a<_0x2eb10a;_0x31b13a++)_0x1eec9b[_0x201da3+_0x31b13a]^=_0x138942[_0x31b13a];}return _0x4771d8;}()),_0x2da7e8=_0x5be34c[_0x509cb2(0x327)]={},_0x3ffcf5=_0x2da7e8[_0x509cb2(0x4fc)]={'pad':function(_0x3605da,_0x3729a4){const _0x3fe91f=_0x509cb2;for(var _0x71cec2=_0x3729a4*0x4,_0x40fd1c=_0x71cec2-_0x3605da[_0x3fe91f(0x36c)]%_0x71cec2,_0x925d6e=_0x40fd1c<<0x18|_0x40fd1c<<0x10|_0x40fd1c<<0x8|_0x40fd1c,_0x2f9d18=[],_0x41c76a=0x0;_0x41c76a<_0x40fd1c;_0x41c76a+=0x4)_0x2f9d18['push'](_0x925d6e);var _0x4ed350=_0x4e9f60['create'](_0x2f9d18,_0x40fd1c);_0x3605da[_0x3fe91f(0x1ac)](_0x4ed350);},'unpad':function(_0x36f90d){const _0x109acf=_0x509cb2;var _0x413789=_0x36f90d[_0x109acf(0x5dc)][_0x36f90d[_0x109acf(0x36c)]-0x1>>>0x2]&0xff;_0x36f90d[_0x109acf(0x36c)]-=_0x413789;}};_0x79c0ac[_0x509cb2(0x45e)]=_0xb874d7['extend']({'cfg':_0xb874d7[_0x509cb2(0x572)][_0x509cb2(0x270)]({'mode':_0x2814fa,'padding':_0x3ffcf5}),'reset':function(){const _0x471702=_0x509cb2;var _0x4ca144;_0xb874d7[_0x471702(0x178)][_0x471702(0x4fd)](this);var _0x301d9c=this['cfg'],_0x2f8540=_0x301d9c['iv'],_0x227349=_0x301d9c['mode'];this[_0x471702(0x26e)]==this[_0x471702(0x24d)]?_0x4ca144=_0x227349[_0x471702(0x282)]:(_0x4ca144=_0x227349['createDecryptor'],this[_0x471702(0x2f0)]=0x1),this[_0x471702(0x1da)]&&this[_0x471702(0x1da)][_0x471702(0x5bf)]==_0x4ca144?this[_0x471702(0x1da)][_0x471702(0x238)](this,_0x2f8540&&_0x2f8540['words']):(this[_0x471702(0x1da)]=_0x4ca144['call'](_0x227349,this,_0x2f8540&&_0x2f8540[_0x471702(0x5dc)]),this[_0x471702(0x1da)][_0x471702(0x5bf)]=_0x4ca144);},'_doProcessBlock':function(_0x6fe2a7,_0x10b68e){const _0x343de8=_0x509cb2;this[_0x343de8(0x1da)]['processBlock'](_0x6fe2a7,_0x10b68e);},'_doFinalize':function(){const _0x14fa9f=_0x509cb2;var _0x228d04,_0x80107e=this[_0x14fa9f(0x572)]['padding'];return this[_0x14fa9f(0x26e)]==this['_ENC_XFORM_MODE']?(_0x80107e[_0x14fa9f(0x327)](this[_0x14fa9f(0x3b2)],this['blockSize']),_0x228d04=this['_process'](!0x0)):(_0x228d04=this[_0x14fa9f(0x203)](!0x0),_0x80107e[_0x14fa9f(0x393)](_0x228d04)),_0x228d04;},'blockSize':0x80/0x20});var _0x273c8e=_0x79c0ac[_0x509cb2(0x578)]=_0x4cd83e[_0x509cb2(0x270)]({'init':function(_0x2f5748){const _0x15cbdc=_0x509cb2;this[_0x15cbdc(0x3ec)](_0x2f5748);},'toString':function(_0x4206bd){const _0x11df35=_0x509cb2;return(_0x4206bd||this['formatter'])[_0x11df35(0x330)](this);}}),_0x2cb07f=_0x5be34c[_0x509cb2(0x2c7)]={},_0x25606b=_0x2cb07f[_0x509cb2(0x38c)]={'stringify':function(_0x25b81e){const _0xf7cf4c=_0x509cb2;var _0x4e1ff6,_0x5e97d9=_0x25b81e[_0xf7cf4c(0x44b)],_0x34024e=_0x25b81e[_0xf7cf4c(0x362)];return _0x34024e?_0x4e1ff6=_0x4e9f60[_0xf7cf4c(0x442)]([0x53616c74,0x65645f5f])[_0xf7cf4c(0x1ac)](_0x34024e)[_0xf7cf4c(0x1ac)](_0x5e97d9):_0x4e1ff6=_0x5e97d9,_0x4e1ff6[_0xf7cf4c(0x612)](_0x248df3);},'parse':function(_0x4408a2){const _0x5018c9=_0x509cb2;var _0x3501d6,_0x58fe41=_0x248df3[_0x5018c9(0x625)](_0x4408a2),_0x213302=_0x58fe41[_0x5018c9(0x5dc)];return _0x213302[0x0]==0x53616c74&&_0x213302[0x1]==0x65645f5f&&(_0x3501d6=_0x4e9f60[_0x5018c9(0x442)](_0x213302[_0x5018c9(0x543)](0x2,0x4)),_0x213302['splice'](0x0,0x4),_0x58fe41[_0x5018c9(0x36c)]-=0x10),_0x273c8e[_0x5018c9(0x442)]({'ciphertext':_0x58fe41,'salt':_0x3501d6});}},_0xb4374=_0x79c0ac[_0x509cb2(0x3ac)]=_0x4cd83e[_0x509cb2(0x270)]({'cfg':_0x4cd83e[_0x509cb2(0x270)]({'format':_0x25606b}),'encrypt':function(_0x53dcaa,_0x2cf195,_0x5d3149,_0x255697){const _0x3bf596=_0x509cb2;_0x255697=this[_0x3bf596(0x572)][_0x3bf596(0x270)](_0x255697);var _0x14c241=_0x53dcaa[_0x3bf596(0x282)](_0x5d3149,_0x255697),_0x13249f=_0x14c241['finalize'](_0x2cf195),_0x403bb4=_0x14c241[_0x3bf596(0x572)];return _0x273c8e[_0x3bf596(0x442)]({'ciphertext':_0x13249f,'key':_0x5d3149,'iv':_0x403bb4['iv'],'algorithm':_0x53dcaa,'mode':_0x403bb4['mode'],'padding':_0x403bb4[_0x3bf596(0x214)],'blockSize':_0x53dcaa[_0x3bf596(0x1a6)],'formatter':_0x255697['format']});},'decrypt':function(_0x4cfb7b,_0x5ec536,_0x2cd8bc,_0x41abb0){const _0xd19117=_0x509cb2;_0x41abb0=this[_0xd19117(0x572)]['extend'](_0x41abb0),_0x5ec536=this[_0xd19117(0x2d0)](_0x5ec536,_0x41abb0[_0xd19117(0x2c7)]);var _0x1fc62b=_0x4cfb7b[_0xd19117(0x208)](_0x2cd8bc,_0x41abb0)[_0xd19117(0x4e3)](_0x5ec536['ciphertext']);return _0x1fc62b;},'_parse':function(_0x1e8501,_0x5fe83e){const _0x46951b=_0x509cb2;return typeof _0x1e8501==_0x46951b(0x3a2)?_0x5fe83e[_0x46951b(0x625)](_0x1e8501,this):_0x1e8501;}}),_0x3d2d6d=_0x5be34c['kdf']={},_0x2d3dc7=_0x3d2d6d[_0x509cb2(0x38c)]={'execute':function(_0x1517d8,_0x1ba4e0,_0x23ffa1,_0x8a4b69,_0x39aea8){const _0x3261da=_0x509cb2;if(_0x8a4b69||(_0x8a4b69=_0x4e9f60[_0x3261da(0x3b8)](0x40/0x8)),_0x39aea8)var _0x5b08cc=_0x44c58a['create']({'keySize':_0x1ba4e0+_0x23ffa1,'hasher':_0x39aea8})['compute'](_0x1517d8,_0x8a4b69);else var _0x5b08cc=_0x44c58a[_0x3261da(0x442)]({'keySize':_0x1ba4e0+_0x23ffa1})[_0x3261da(0x321)](_0x1517d8,_0x8a4b69);var _0x7ad87b=_0x4e9f60[_0x3261da(0x442)](_0x5b08cc[_0x3261da(0x5dc)]['slice'](_0x1ba4e0),_0x23ffa1*0x4);return _0x5b08cc[_0x3261da(0x36c)]=_0x1ba4e0*0x4,_0x273c8e['create']({'key':_0x5b08cc,'iv':_0x7ad87b,'salt':_0x8a4b69});}},_0x266191=_0x79c0ac[_0x509cb2(0x2da)]=_0xb4374[_0x509cb2(0x270)]({'cfg':_0xb4374['cfg'][_0x509cb2(0x270)]({'kdf':_0x2d3dc7}),'encrypt':function(_0x1cf097,_0x4ac9a5,_0x693757,_0x4aad01){const _0x427c19=_0x509cb2;_0x4aad01=this[_0x427c19(0x572)][_0x427c19(0x270)](_0x4aad01);var _0x5dca2e=_0x4aad01[_0x427c19(0x5e7)]['execute'](_0x693757,_0x1cf097[_0x427c19(0x44a)],_0x1cf097[_0x427c19(0x525)],_0x4aad01[_0x427c19(0x362)],_0x4aad01['hasher']);_0x4aad01['iv']=_0x5dca2e['iv'];var _0x1ca26c=_0xb4374[_0x427c19(0x433)]['call'](this,_0x1cf097,_0x4ac9a5,_0x5dca2e['key'],_0x4aad01);return _0x1ca26c[_0x427c19(0x3ec)](_0x5dca2e),_0x1ca26c;},'decrypt':function(_0x48d7a7,_0x5ac8ee,_0x193311,_0x3c012b){const _0x1d4d09=_0x509cb2;_0x3c012b=this['cfg'][_0x1d4d09(0x270)](_0x3c012b),_0x5ac8ee=this[_0x1d4d09(0x2d0)](_0x5ac8ee,_0x3c012b[_0x1d4d09(0x2c7)]);var _0x4f37fe=_0x3c012b[_0x1d4d09(0x5e7)][_0x1d4d09(0x30a)](_0x193311,_0x48d7a7[_0x1d4d09(0x44a)],_0x48d7a7[_0x1d4d09(0x525)],_0x5ac8ee[_0x1d4d09(0x362)],_0x3c012b[_0x1d4d09(0x43b)]);_0x3c012b['iv']=_0x4f37fe['iv'];var _0x2f71fd=_0xb4374[_0x1d4d09(0x3cf)][_0x1d4d09(0x4fd)](this,_0x48d7a7,_0x5ac8ee,_0x4f37fe[_0x1d4d09(0x634)],_0x3c012b);return _0x2f71fd;}});}();}));}(Ke)),Ke[_0x45af7b(0x5ca)];}var Os=ke[_0x1ab38c(0x5ca)],ai;function ys(){const _0x1ebe98=_0x1ab38c;return ai||(ai=0x1,function(_0x3ece5d,_0x5b3397){(function(_0x7eb812,_0x3c6997,_0x265f51){const _0x2878cd=_0x33d2;_0x3ece5d[_0x2878cd(0x5ca)]=_0x3c6997(se(),ji(),gs(),Hi(),Bi());}(Os,function(_0x4dee19){return(function(){const _0xd6afa1=_0x33d2;var _0x6afabd=_0x4dee19,_0x7c7caa=_0x6afabd['lib'],_0x36da3c=_0x7c7caa[_0xd6afa1(0x45e)],_0x48eb5a=_0x6afabd[_0xd6afa1(0x331)],_0x41dbe3=[],_0x21b217=[],_0x54c0fd=[],_0x3c1d3d=[],_0x1eb984=[],_0x34b3d7=[],_0x5485fb=[],_0x16814e=[],_0x3ab0da=[],_0x3ece81=[];(function(){for(var _0x457cdc=[],_0x535fe5=0x0;_0x535fe5<0x100;_0x535fe5++)_0x535fe5<0x80?_0x457cdc[_0x535fe5]=_0x535fe5<<0x1:_0x457cdc[_0x535fe5]=_0x535fe5<<0x1^0x11b;for(var _0x4e396c=0x0,_0x2ce118=0x0,_0x535fe5=0x0;_0x535fe5<0x100;_0x535fe5++){var _0x1d4e38=_0x2ce118^_0x2ce118<<0x1^_0x2ce118<<0x2^_0x2ce118<<0x3^_0x2ce118<<0x4;_0x1d4e38=_0x1d4e38>>>0x8^_0x1d4e38&0xff^0x63,_0x41dbe3[_0x4e396c]=_0x1d4e38,_0x21b217[_0x1d4e38]=_0x4e396c;var _0x3eb8e4=_0x457cdc[_0x4e396c],_0x126e02=_0x457cdc[_0x3eb8e4],_0x57de9c=_0x457cdc[_0x126e02],_0x2a63cf=_0x457cdc[_0x1d4e38]*0x101^_0x1d4e38*0x1010100;_0x54c0fd[_0x4e396c]=_0x2a63cf<<0x18|_0x2a63cf>>>0x8,_0x3c1d3d[_0x4e396c]=_0x2a63cf<<0x10|_0x2a63cf>>>0x10,_0x1eb984[_0x4e396c]=_0x2a63cf<<0x8|_0x2a63cf>>>0x18,_0x34b3d7[_0x4e396c]=_0x2a63cf;var _0x2a63cf=_0x57de9c*0x1010101^_0x126e02*0x10001^_0x3eb8e4*0x101^_0x4e396c*0x1010100;_0x5485fb[_0x1d4e38]=_0x2a63cf<<0x18|_0x2a63cf>>>0x8,_0x16814e[_0x1d4e38]=_0x2a63cf<<0x10|_0x2a63cf>>>0x10,_0x3ab0da[_0x1d4e38]=_0x2a63cf<<0x8|_0x2a63cf>>>0x18,_0x3ece81[_0x1d4e38]=_0x2a63cf,_0x4e396c?(_0x4e396c=_0x3eb8e4^_0x457cdc[_0x457cdc[_0x457cdc[_0x57de9c^_0x3eb8e4]]],_0x2ce118^=_0x457cdc[_0x457cdc[_0x2ce118]]):_0x4e396c=_0x2ce118=0x1;}}());var _0x3ff624=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x150b9c=_0x48eb5a['AES']=_0x36da3c['extend']({'_doReset':function(){const _0x955760=_0xd6afa1;var _0xfc761c;if(!(this['_nRounds']&&this[_0x955760(0x2a0)]===this['_key'])){for(var _0x25f736=this['_keyPriorReset']=this['_key'],_0x38ad41=_0x25f736[_0x955760(0x5dc)],_0x4256f7=_0x25f736['sigBytes']/0x4,_0x52f7dc=this[_0x955760(0x2bd)]=_0x4256f7+0x6,_0x57f793=(_0x52f7dc+0x1)*0x4,_0x3a3ff3=this[_0x955760(0x4dc)]=[],_0x2724dc=0x0;_0x2724dc<_0x57f793;_0x2724dc++)_0x2724dc<_0x4256f7?_0x3a3ff3[_0x2724dc]=_0x38ad41[_0x2724dc]:(_0xfc761c=_0x3a3ff3[_0x2724dc-0x1],_0x2724dc%_0x4256f7?_0x4256f7>0x6&&_0x2724dc%_0x4256f7==0x4&&(_0xfc761c=_0x41dbe3[_0xfc761c>>>0x18]<<0x18|_0x41dbe3[_0xfc761c>>>0x10&0xff]<<0x10|_0x41dbe3[_0xfc761c>>>0x8&0xff]<<0x8|_0x41dbe3[_0xfc761c&0xff]):(_0xfc761c=_0xfc761c<<0x8|_0xfc761c>>>0x18,_0xfc761c=_0x41dbe3[_0xfc761c>>>0x18]<<0x18|_0x41dbe3[_0xfc761c>>>0x10&0xff]<<0x10|_0x41dbe3[_0xfc761c>>>0x8&0xff]<<0x8|_0x41dbe3[_0xfc761c&0xff],_0xfc761c^=_0x3ff624[_0x2724dc/_0x4256f7|0x0]<<0x18),_0x3a3ff3[_0x2724dc]=_0x3a3ff3[_0x2724dc-_0x4256f7]^_0xfc761c);for(var _0x158036=this[_0x955760(0x284)]=[],_0x39e83f=0x0;_0x39e83f<_0x57f793;_0x39e83f++){var _0x2724dc=_0x57f793-_0x39e83f;if(_0x39e83f%0x4)var _0xfc761c=_0x3a3ff3[_0x2724dc];else var _0xfc761c=_0x3a3ff3[_0x2724dc-0x4];_0x39e83f<0x4||_0x2724dc<=0x4?_0x158036[_0x39e83f]=_0xfc761c:_0x158036[_0x39e83f]=_0x5485fb[_0x41dbe3[_0xfc761c>>>0x18]]^_0x16814e[_0x41dbe3[_0xfc761c>>>0x10&0xff]]^_0x3ab0da[_0x41dbe3[_0xfc761c>>>0x8&0xff]]^_0x3ece81[_0x41dbe3[_0xfc761c&0xff]];}}},'encryptBlock':function(_0x403cb7,_0x1b8574){const _0x2a2d2a=_0xd6afa1;this[_0x2a2d2a(0x230)](_0x403cb7,_0x1b8574,this[_0x2a2d2a(0x4dc)],_0x54c0fd,_0x3c1d3d,_0x1eb984,_0x34b3d7,_0x41dbe3);},'decryptBlock':function(_0x5e612d,_0x507830){const _0x17572b=_0xd6afa1;var _0x3f5a9b=_0x5e612d[_0x507830+0x1];_0x5e612d[_0x507830+0x1]=_0x5e612d[_0x507830+0x3],_0x5e612d[_0x507830+0x3]=_0x3f5a9b,this[_0x17572b(0x230)](_0x5e612d,_0x507830,this[_0x17572b(0x284)],_0x5485fb,_0x16814e,_0x3ab0da,_0x3ece81,_0x21b217);var _0x3f5a9b=_0x5e612d[_0x507830+0x1];_0x5e612d[_0x507830+0x1]=_0x5e612d[_0x507830+0x3],_0x5e612d[_0x507830+0x3]=_0x3f5a9b;},'_doCryptBlock':function(_0x77a1c,_0x4d0d19,_0x57f8fc,_0x498600,_0x4abf19,_0x10566e,_0x1aeffb,_0x1f88e){for(var _0x3de5d1=this['_nRounds'],_0x3903ab=_0x77a1c[_0x4d0d19]^_0x57f8fc[0x0],_0x4a368b=_0x77a1c[_0x4d0d19+0x1]^_0x57f8fc[0x1],_0x2d3445=_0x77a1c[_0x4d0d19+0x2]^_0x57f8fc[0x2],_0xe1cac8=_0x77a1c[_0x4d0d19+0x3]^_0x57f8fc[0x3],_0x1a4731=0x4,_0xc6caa6=0x1;_0xc6caa6<_0x3de5d1;_0xc6caa6++){var _0x30e20f=_0x498600[_0x3903ab>>>0x18]^_0x4abf19[_0x4a368b>>>0x10&0xff]^_0x10566e[_0x2d3445>>>0x8&0xff]^_0x1aeffb[_0xe1cac8&0xff]^_0x57f8fc[_0x1a4731++],_0x2b0cb9=_0x498600[_0x4a368b>>>0x18]^_0x4abf19[_0x2d3445>>>0x10&0xff]^_0x10566e[_0xe1cac8>>>0x8&0xff]^_0x1aeffb[_0x3903ab&0xff]^_0x57f8fc[_0x1a4731++],_0x5ea028=_0x498600[_0x2d3445>>>0x18]^_0x4abf19[_0xe1cac8>>>0x10&0xff]^_0x10566e[_0x3903ab>>>0x8&0xff]^_0x1aeffb[_0x4a368b&0xff]^_0x57f8fc[_0x1a4731++],_0x570aa4=_0x498600[_0xe1cac8>>>0x18]^_0x4abf19[_0x3903ab>>>0x10&0xff]^_0x10566e[_0x4a368b>>>0x8&0xff]^_0x1aeffb[_0x2d3445&0xff]^_0x57f8fc[_0x1a4731++];_0x3903ab=_0x30e20f,_0x4a368b=_0x2b0cb9,_0x2d3445=_0x5ea028,_0xe1cac8=_0x570aa4;}var _0x30e20f=(_0x1f88e[_0x3903ab>>>0x18]<<0x18|_0x1f88e[_0x4a368b>>>0x10&0xff]<<0x10|_0x1f88e[_0x2d3445>>>0x8&0xff]<<0x8|_0x1f88e[_0xe1cac8&0xff])^_0x57f8fc[_0x1a4731++],_0x2b0cb9=(_0x1f88e[_0x4a368b>>>0x18]<<0x18|_0x1f88e[_0x2d3445>>>0x10&0xff]<<0x10|_0x1f88e[_0xe1cac8>>>0x8&0xff]<<0x8|_0x1f88e[_0x3903ab&0xff])^_0x57f8fc[_0x1a4731++],_0x5ea028=(_0x1f88e[_0x2d3445>>>0x18]<<0x18|_0x1f88e[_0xe1cac8>>>0x10&0xff]<<0x10|_0x1f88e[_0x3903ab>>>0x8&0xff]<<0x8|_0x1f88e[_0x4a368b&0xff])^_0x57f8fc[_0x1a4731++],_0x570aa4=(_0x1f88e[_0xe1cac8>>>0x18]<<0x18|_0x1f88e[_0x3903ab>>>0x10&0xff]<<0x10|_0x1f88e[_0x4a368b>>>0x8&0xff]<<0x8|_0x1f88e[_0x2d3445&0xff])^_0x57f8fc[_0x1a4731++];_0x77a1c[_0x4d0d19]=_0x30e20f,_0x77a1c[_0x4d0d19+0x1]=_0x2b0cb9,_0x77a1c[_0x4d0d19+0x2]=_0x5ea028,_0x77a1c[_0x4d0d19+0x3]=_0x570aa4;},'keySize':0x100/0x20});_0x6afabd[_0xd6afa1(0x386)]=_0x36da3c[_0xd6afa1(0x5ae)](_0x150b9c);}()),_0x4dee19['AES'];}));}(ke)),ke[_0x1ebe98(0x5ca)];}var Ds=ys();const Ps=$e(Ds);var ws=ji();const ci=$e(ws);var ze={'exports':{}},Us=ze[_0x1ab38c(0x5ca)],li;function Ms(){const _0x1a10e2=_0x1ab38c;return li||(li=0x1,function(_0x43d96b,_0x40be98){(function(_0x1eff8b,_0x336288){_0x43d96b['exports']=_0x336288(se());}(Us,function(_0x4a9d87){return _0x4a9d87['enc']['Utf8'];}));}(ze)),ze[_0x1a10e2(0x5ca)];}var Ns=Ms();const As=$e(Ns);var Xe={'exports':{}},Ls=Xe[_0x1ab38c(0x5ca)],hi;function xs(){const _0x438208=_0x1ab38c;return hi||(hi=0x1,function(_0x1ceb9b,_0xf5a15){(function(_0x3e1005,_0x657bdf){const _0xb88f25=_0x33d2;_0x1ceb9b[_0xb88f25(0x5ca)]=_0x657bdf(se());}(Ls,function(_0x7abef3){return(function(){const _0x379f54=_0x33d2;if(typeof ArrayBuffer=='function'){var _0x3821f4=_0x7abef3,_0x2bf5da=_0x3821f4[_0x379f54(0x502)],_0x894465=_0x2bf5da[_0x379f54(0x389)],_0x4c32ca=_0x894465[_0x379f54(0x238)],_0x5aa2c1=_0x894465[_0x379f54(0x238)]=function(_0x52f0fb){const _0x3835cc=_0x379f54;if(_0x52f0fb instanceof ArrayBuffer&&(_0x52f0fb=new Uint8Array(_0x52f0fb)),(_0x52f0fb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x52f0fb instanceof Uint8ClampedArray||_0x52f0fb instanceof Int16Array||_0x52f0fb instanceof Uint16Array||_0x52f0fb instanceof Int32Array||_0x52f0fb instanceof Uint32Array||_0x52f0fb instanceof Float32Array||_0x52f0fb instanceof Float64Array)&&(_0x52f0fb=new Uint8Array(_0x52f0fb[_0x3835cc(0x575)],_0x52f0fb['byteOffset'],_0x52f0fb['byteLength'])),_0x52f0fb instanceof Uint8Array){for(var _0xa1e56f=_0x52f0fb['byteLength'],_0x544ec7=[],_0x5e63f3=0x0;_0x5e63f3<_0xa1e56f;_0x5e63f3++)_0x544ec7[_0x5e63f3>>>0x2]|=_0x52f0fb[_0x5e63f3]<<0x18-_0x5e63f3%0x4*0x8;_0x4c32ca['call'](this,_0x544ec7,_0xa1e56f);}else _0x4c32ca[_0x3835cc(0x444)](this,arguments);};_0x5aa2c1['prototype']=_0x894465;}}()),_0x7abef3['lib']['WordArray'];}));}(Xe)),Xe[_0x438208(0x5ca)];}var $s=xs();const js=$e($s);var Je={'exports':{}},Hs=Je[_0x1ab38c(0x5ca)],_i;function Bs(){const _0x541084=_0x1ab38c;return _i||(_i=0x1,function(_0x3baa15,_0x1f0afa){(function(_0x5e2bf8,_0x474aed,_0x2df735){const _0x35349f=_0x33d2;_0x3baa15[_0x35349f(0x5ca)]=_0x474aed(se(),Bi());}(Hs,function(_0x215bab){const _0x5eb7b4=_0x33d2;return _0x215bab[_0x5eb7b4(0x327)][_0x5eb7b4(0x356)]={'pad':function(){},'unpad':function(){}},_0x215bab['pad'][_0x5eb7b4(0x356)];}));}(Je)),Je[_0x541084(0x5ca)];}var ks=Bs();const Ws=$e(ks);function Fs(_0xd896cc,_0x2a49d9){const _0x168cb0=_0x1ab38c,_0x50882f=_0x2a49d9-_0xd896cc[_0x168cb0(0x2b7)]%_0x2a49d9,_0x2ec450=String[_0x168cb0(0x4a0)](_0x50882f)['repeat'](_0x50882f);return _0xd896cc+_0x2ec450;}function Vs(_0x3668f1,_0x67dae0){const _0x2f0865=_0x1ab38c,_0x106482=js[_0x2f0865(0x3b8)](0x10),_0x3e1ccb=Fs(_0x3668f1,0x10),_0x54e7fe=Ps[_0x2f0865(0x433)](As[_0x2f0865(0x625)](_0x3e1ccb),ci[_0x2f0865(0x625)](_0x67dae0),{'iv':_0x106482,'padding':Ws});return _0x106482[_0x2f0865(0x1ac)](_0x54e7fe[_0x2f0865(0x44b)])[_0x2f0865(0x612)](ci);}function Gs(){const _0x2d8206=_0x1ab38c,_0x2db943=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x2d8206(0x2e2)];if(_0x2db943){const _0x179657={'time':Math[_0x2d8206(0x494)](Date[_0x2d8206(0x2b1)]()/0x3e8),'domain':location[_0x2d8206(0x23f)]};return Vs(JSON[_0x2d8206(0x330)](_0x179657),_0x2db943);}}var Ys=Object[_0x1ab38c(0x322)],qs=Object['getOwnPropertyDescriptor'],Ks=(_0xf2873c,_0x4b5ea0,_0x3583e4,_0x3604ba)=>{const _0x3d2582=_0x1ab38c;for(var _0x10dcb6=_0x3604ba>0x1?void 0x0:_0x3604ba?qs(_0x4b5ea0,_0x3583e4):_0x4b5ea0,_0x20a22a=_0xf2873c[_0x3d2582(0x2b7)]-0x1,_0x51f4cb;_0x20a22a>=0x0;_0x20a22a--)(_0x51f4cb=_0xf2873c[_0x20a22a])&&(_0x10dcb6=(_0x3604ba?_0x51f4cb(_0x4b5ea0,_0x3583e4,_0x10dcb6):_0x51f4cb(_0x10dcb6))||_0x10dcb6);return _0x3604ba&&_0x10dcb6&&Ys(_0x4b5ea0,_0x3583e4,_0x10dcb6),_0x10dcb6;},zs=(_0x57b6f1,_0x584e06)=>(_0x561896,_0x376c85)=>_0x584e06(_0x561896,_0x376c85,_0x57b6f1);let st=class{constructor(_0x532dda){const _0x25cf85=_0x1ab38c;this['_httpService']=_0x532dda,this[_0x25cf85(0x3e0)]();}[_0x1ab38c(0x3e0)](){const _0x30b61f=_0x1ab38c;this[_0x30b61f(0x544)][_0x30b61f(0x4d9)]({'interceptor':(_0x538211,_0x2d37e1)=>{const _0x4cd7b6=_0x30b61f,_0x4fa8af=_0x538211[_0x4cd7b6(0x408)],_0x4a6ba5=Gs();return _0x4a6ba5&&_0x4fa8af[_0x4cd7b6(0x1c6)](_0x4cd7b6(0x274),_0x4a6ba5),_0x2d37e1(_0x538211);}});}};st=Ks([zs(0x0,a[_0x1ab38c(0x56d)](z['HTTPService']))],st);var Xs=Object[_0x1ab38c(0x322)],Js=Object[_0x1ab38c(0x5da)],Zs=(_0xd360fe,_0x19d399,_0x4960ca,_0x385dc7)=>{const _0x4fc9ed=_0x1ab38c;for(var _0x17ae93=_0x385dc7>0x1?void 0x0:_0x385dc7?Js(_0x19d399,_0x4960ca):_0x19d399,_0x1df241=_0xd360fe[_0x4fc9ed(0x2b7)]-0x1,_0x6f7183;_0x1df241>=0x0;_0x1df241--)(_0x6f7183=_0xd360fe[_0x1df241])&&(_0x17ae93=(_0x385dc7?_0x6f7183(_0x19d399,_0x4960ca,_0x17ae93):_0x6f7183(_0x17ae93))||_0x17ae93);return _0x385dc7&&_0x17ae93&&Xs(_0x19d399,_0x4960ca,_0x17ae93),_0x17ae93;},Et=(_0x218478,_0x148490)=>(_0xec1e7,_0x56603a)=>_0x148490(_0xec1e7,_0x56603a,_0x218478);const Qs=[_0x1ab38c(0x29a),'image/jpeg','image/jpg',_0x1ab38c(0x1f6),_0x1ab38c(0x368)],eo=0x5*0x400*0x400,to=_0x1ab38c(0x39a),io=_0x1ab38c(0x5cf),no=_0x1ab38c(0x19f),ro=_0x1ab38c(0x2ef);exports[_0x1ab38c(0x16b)]=class{constructor(_0x426abe,_0x1bb1ed,_0x20456d){const _0x468f19=_0x1ab38c;I(this,_0x468f19(0x48e),0x0),I(this,'_change$',new N[(_0x468f19(0x2dc))]()),I(this,_0x468f19(0x5ec),this[_0x468f19(0x397)]),I(this,_0x468f19(0x264),new Map()),(this[_0x468f19(0x544)]=_0x426abe,this['_configService']=_0x1bb1ed,this[_0x468f19(0x3b6)]=_0x20456d);}[_0x1ab38c(0x22c)](_0x29657a){const _0x59ba16=_0x1ab38c;this[_0x59ba16(0x48e)]=_0x29657a,this['_change$'][_0x59ba16(0x2c0)](_0x29657a);}[_0x1ab38c(0x1f9)](_0x1dbfe8,_0x24fb75){const _0x2eb894=_0x1ab38c;if(_0x24fb75===te[_0x2eb894(0x510)][_0x2eb894(0x4a5)]){const _0x19c2a2=new Image();return _0x19c2a2[_0x2eb894(0x552)]=_0x1dbfe8,_0x19c2a2;}return this[_0x2eb894(0x264)][_0x2eb894(0x3f9)](_0x1dbfe8);}[_0x1ab38c(0x312)](_0x3fde99,_0xea1483,_0x14c5bc){const _0x1e5762=_0x1ab38c;_0xea1483===te['ImageSourceType'][_0x1e5762(0x4a5)]||_0x14c5bc==null||this[_0x1e5762(0x264)][_0x1e5762(0x1c6)](_0x3fde99,_0x14c5bc);}async[_0x1ab38c(0x3c7)](_0x3fa1bb){const _0x2da0e4=_0x1ab38c;try{const _0x3a05b1=this[_0x2da0e4(0x3dd)](this[_0x2da0e4(0x41a)](),''+_0x3fa1bb),_0x3751dc=(await this[_0x2da0e4(0x544)][_0x2da0e4(0x3f9)](_0x3a05b1))[_0x2da0e4(0x4cf)];if(_0x3751dc[_0x2da0e4(0x48d)]&&_0x3751dc['error'][_0x2da0e4(0x482)]===bi['OK']){const _0x52a8ad=new URL(_0x3751dc[_0x2da0e4(0x304)],this[_0x2da0e4(0x373)]())[_0x2da0e4(0x612)]();return Promise['resolve'](_0x52a8ad);}return Promise[_0x2da0e4(0x5d7)](_0x3751dc[_0x2da0e4(0x48d)]);}catch(_0x555fca){return Promise[_0x2da0e4(0x5d7)](_0x555fca);}}async[_0x1ab38c(0x1c3)](_0x1e25d8){const _0x3712a8=_0x1ab38c;let _0x937cfc='';if(!Qs[_0x3712a8(0x35a)](_0x1e25d8[_0x3712a8(0x57b)]))return this[_0x3712a8(0x55a)](),Promise[_0x3712a8(0x5d7)](new Error(te[_0x3712a8(0x633)]['ERROR_IMAGE_TYPE']));if(_0x1e25d8['size']>eo)return this['_decreaseWaiting'](),Promise['reject'](new Error(te[_0x3712a8(0x633)][_0x3712a8(0x41c)]));try{const _0x184e2b=new FormData();_0x184e2b[_0x3712a8(0x271)](_0x3712a8(0x311),_0x1e25d8);const _0x12c82f=this['_univerInstanceService'][_0x3712a8(0x425)](),_0x455fd8=_0x12c82f==null?void 0x0:_0x12c82f[_0x3712a8(0x2f9)]();if(!_0x455fd8)throw new Error(_0x3712a8(0x20b));const _0x459d09=this['_getUploadFileURL']()+_0x3712a8(0x1a5)+_0x1e25d8[_0x3712a8(0x36b)][_0x3712a8(0x612)]()+_0x3712a8(0x469)+Ti[_0x3712a8(0x5a4)]+_0x3712a8(0x635)+encodeURIComponent(_0x455fd8),_0x2a1702=await(await fetch(_0x459d09,{'method':'POST','body':_0x184e2b}))[_0x3712a8(0x287)]();if(typeof _0x2a1702[_0x3712a8(0x1ce)]!=_0x3712a8(0x3a2))return this[_0x3712a8(0x55a)](),Promise[_0x3712a8(0x5d7)](new Error(te['ImageUploadStatusType'][_0x3712a8(0x4b9)]));_0x937cfc=_0x2a1702[_0x3712a8(0x1ce)];}catch{return this[_0x3712a8(0x55a)](),Promise['reject'](new Error(te[_0x3712a8(0x633)]['ERROR_IMAGE']));}return new Promise((_0xd1731a,_0x1c84ef)=>{const _0x192a74=_0x3712a8,_0x4a1ebd=new FileReader();_0x4a1ebd[_0x192a74(0x459)](_0x1e25d8),_0x4a1ebd[_0x192a74(0x4f1)]=_0x483660=>{const _0x4a0f6f=_0x192a74;var _0x19cfad;const _0x2217d5=(_0x19cfad=_0x483660['target'])==null?void 0x0:_0x19cfad['result'];if(_0x2217d5==null){this[_0x4a0f6f(0x55a)](),_0x1c84ef(new Error(te[_0x4a0f6f(0x633)][_0x4a0f6f(0x4b9)]));return;}const _0xa380d7=a['Tools'][_0x4a0f6f(0x33c)](0x6);_0xd1731a({'imageId':_0xa380d7,'imageSourceType':te[_0x4a0f6f(0x510)]['UUID'],'source':_0x937cfc,'base64Cache':_0x2217d5,'status':te[_0x4a0f6f(0x633)][_0x4a0f6f(0x5d4)]}),this[_0x4a0f6f(0x55a)]();};});}['_getUploadFileURL'](){const _0x2862bb=_0x1ab38c;var _0x2f25d6,_0x563f59;const _0x323f64=this[_0x2862bb(0x3fd)][_0x2862bb(0x489)](to),_0xb040d9=this[_0x2862bb(0x3fd)]['getConfig'](Z);return(_0x563f59=(_0x2f25d6=_0xb040d9==null?void 0x0:_0xb040d9['uploadFileServerUrl'])!=null?_0x2f25d6:_0x323f64)!=null?_0x563f59:io;}[_0x1ab38c(0x41a)](){const _0x3c149d=_0x1ab38c;var _0x1d55a3,_0x1badf1;const _0x13d379=this[_0x3c149d(0x3fd)][_0x3c149d(0x489)](no),_0x13b54d=this[_0x3c149d(0x3fd)][_0x3c149d(0x489)](Z);return(_0x1badf1=(_0x1d55a3=_0x13b54d==null?void 0x0:_0x13b54d[_0x3c149d(0x378)])!=null?_0x1d55a3:_0x13d379)!=null?_0x1badf1:ro;}[_0x1ab38c(0x373)](){const _0x4015dc=_0x1ab38c;var _0x47451a;const _0x289a62=this[_0x4015dc(0x3fd)]['getConfig'](Z);return(_0x47451a=_0x289a62==null?void 0x0:_0x289a62[_0x4015dc(0x62a)])!=null?_0x47451a:location['origin'];}['_replaceFileID'](_0x2b51ad,_0x2f5efa){const _0x201a38=_0x1ab38c;return _0x2b51ad[_0x201a38(0x5e1)](_0x201a38(0x390),_0x2f5efa);}[_0x1ab38c(0x55a)](){const _0x1c2577=_0x1ab38c;this[_0x1c2577(0x48e)]-=0x1,this['_change$'][_0x1c2577(0x2c0)](this[_0x1c2577(0x48e)]);}},exports[_0x1ab38c(0x16b)]=Zs([Et(0x0,a[_0x1ab38c(0x56d)](z['HTTPService'])),Et(0x1,a['IConfigService']),Et(0x2,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x585)]))],exports[_0x1ab38c(0x16b)]);var so=Object[_0x1ab38c(0x322)],oo=Object[_0x1ab38c(0x5da)],ao=(_0x4e6784,_0x1fddbc,_0x262c24,_0x3bb8a1)=>{const _0x500063=_0x1ab38c;for(var _0x225c17=_0x3bb8a1>0x1?void 0x0:_0x3bb8a1?oo(_0x1fddbc,_0x262c24):_0x1fddbc,_0x2e02dd=_0x4e6784[_0x500063(0x2b7)]-0x1,_0x3efa2a;_0x2e02dd>=0x0;_0x2e02dd--)(_0x3efa2a=_0x4e6784[_0x2e02dd])&&(_0x225c17=(_0x3bb8a1?_0x3efa2a(_0x1fddbc,_0x262c24,_0x225c17):_0x3efa2a(_0x225c17))||_0x225c17);return _0x3bb8a1&&_0x225c17&&so(_0x1fddbc,_0x262c24,_0x225c17),_0x225c17;},ui=(_0x577d9b,_0x4cecb3)=>(_0x1c9ba6,_0x5e09c2)=>_0x4cecb3(_0x1c9ba6,_0x5e09c2,_0x577d9b);const co=_0x1ab38c(0x366);exports['MentionIoHttpService']=class{constructor(_0x43c4f4,_0x162331){const _0x4fd549=_0x1ab38c;this[_0x4fd549(0x3fd)]=_0x43c4f4,this[_0x4fd549(0x3d0)]=_0x162331;}[_0x1ab38c(0x5f6)](){const _0x55fcfa=_0x1ab38c;var _0x268a50,_0x447876;const _0x172f13=this[_0x55fcfa(0x3fd)][_0x55fcfa(0x489)](xt),_0x371155=this[_0x55fcfa(0x3fd)][_0x55fcfa(0x489)](Z);return(_0x447876=(_0x268a50=_0x371155==null?void 0x0:_0x371155[_0x55fcfa(0x286)])!=null?_0x268a50:_0x172f13)!=null?_0x447876:co;}async[_0x1ab38c(0x1ef)](_0x2e5fb5){const _0xb9fa57=_0x1ab38c,_0x39ca80=this[_0xb9fa57(0x5f6)]()+'/collaborator';return{'list':[{'title':_0xb9fa57(0x528),'mentions':(await this[_0xb9fa57(0x3d0)][_0xb9fa57(0x3f9)](_0x39ca80,{'params':{'objectID':_0x2e5fb5[_0xb9fa57(0x1d7)],'unitID':_0x2e5fb5[_0xb9fa57(0x1d7)]}}))[_0xb9fa57(0x4cf)]['collaborators'][_0xb9fa57(0x4e4)](_0x5cce47=>({'objectId':_0x5cce47['id'],'name':_0x5cce47['subject'][_0xb9fa57(0x4e0)],'metadata':{'icon':_0x5cce47[_0xb9fa57(0x51a)][_0xb9fa57(0x639)]},'label':_0x5cce47[_0xb9fa57(0x51a)]['name'],'objectType':a[_0xb9fa57(0x4ef)][_0xb9fa57(0x19b)]})),'metadata':{},'type':a[_0xb9fa57(0x4ef)][_0xb9fa57(0x19b)]}]};}},exports[_0x1ab38c(0x3de)]=ao([ui(0x0,a['Inject'](a['IConfigService'])),ui(0x1,a[_0x1ab38c(0x56d)](z['HTTPService']))],exports[_0x1ab38c(0x3de)]);var lo=Object[_0x1ab38c(0x322)],ho=Object['getOwnPropertyDescriptor'],_o=(_0x2fa846,_0x33d271,_0x3dc720,_0x1d0a8b)=>{const _0x73e7f=_0x1ab38c;for(var _0x46df2d=_0x1d0a8b>0x1?void 0x0:_0x1d0a8b?ho(_0x33d271,_0x3dc720):_0x33d271,_0x42cb10=_0x2fa846[_0x73e7f(0x2b7)]-0x1,_0x58f285;_0x42cb10>=0x0;_0x42cb10--)(_0x58f285=_0x2fa846[_0x42cb10])&&(_0x46df2d=(_0x1d0a8b?_0x58f285(_0x33d271,_0x3dc720,_0x46df2d):_0x58f285(_0x46df2d))||_0x46df2d);return _0x1d0a8b&&_0x46df2d&&lo(_0x33d271,_0x3dc720,_0x46df2d),_0x46df2d;},Ne=(_0x1a9fe2,_0x12b495)=>(_0x542535,_0x963df7)=>_0x12b495(_0x542535,_0x963df7,_0x1a9fe2);let ot=class extends a[_0x1ab38c(0x579)]{constructor(_0x368946,_0x32933a,_0x1bcc6d,_0x3489ac,_0x2309b7){const _0x5c7f02=_0x1ab38c;super(),this[_0x5c7f02(0x2f8)]=_0x368946,this[_0x5c7f02(0x3b6)]=_0x32933a,this[_0x5c7f02(0x50b)]=_0x1bcc6d,this['_collaborationSessionService']=_0x3489ac,this[_0x5c7f02(0x1e1)]=_0x2309b7,this[_0x5c7f02(0x257)](),this[_0x5c7f02(0x5c2)]();}['_initCloseConn'](){const _0x5a8181=_0x1ab38c,_0x50da29=async _0x1273eb=>{const _0x382d64=_0x33d2;(await this[_0x382d64(0x5af)][_0x382d64(0x1e0)](_0x1273eb))[_0x382d64(0x4b8)]['pipe'](V['filter'](_0xc88328=>_0xc88328[_0x382d64(0x25e)]===m[_0x382d64(0x60d)]['SHOULD_CLOSE_CONN']),V['takeUntil'](this[_0x382d64(0x326)]))[_0x382d64(0x2cc)](_0x30b031=>{const _0x3226f0=_0x382d64,_0x565183=_0x30b031,{reason:_0x31bd35}=_0x565183[_0x3226f0(0x372)];this[_0x3226f0(0x2f8)][_0x3226f0(0x3f9)](ee[_0x3226f0(0x592)])[_0x3226f0(0x19e)]({'type':Ce[_0x3226f0(0x16e)][_0x3226f0(0x527)],'content':this[_0x3226f0(0x1e1)]['t'](_0x3226f0(0x4c1))+'('+_0x31bd35+')'}),this['_permissionService'][_0x3226f0(0x3f0)](new k[(_0x3226f0(0x269))](_0x1273eb)['id'],!0x1),this[_0x3226f0(0x5af)][_0x3226f0(0x40a)](_0x1273eb);});};N[_0x5a8181(0x24f)](this['_univerInstanceService'][_0x5a8181(0x1c4)](a['UniverInstanceType']['UNIVER_SHEET']),this[_0x5a8181(0x3b6)][_0x5a8181(0x1c4)](a[_0x5a8181(0x564)]['UNIVER_DOC']))[_0x5a8181(0x21a)](V[_0x5a8181(0x4e4)](_0x58327b=>_0x58327b[_0x5a8181(0x2f9)]()),V[_0x5a8181(0x4b6)](_0x280308=>!a['isInternalEditorID'](_0x280308)),V[_0x5a8181(0x37c)](this['dispose$']))[_0x5a8181(0x2cc)](_0x2e98b7=>{_0x50da29(_0x2e98b7);});}[_0x1ab38c(0x257)](){const _0x22f9e4=_0x1ab38c,_0x14785b=async _0x175049=>{const _0x9c7094=_0x33d2;(await this['_collaborationSessionService'][_0x9c7094(0x1e0)](_0x175049))['event$']['pipe'](V[_0x9c7094(0x4b6)](_0x12f898=>_0x12f898[_0x9c7094(0x25e)]===m[_0x9c7094(0x60d)]['UPDATE_PERMISSION_OBJ']),V[_0x9c7094(0x37c)](this['dispose$']))[_0x9c7094(0x2cc)](_0x5ec380=>{const _0x3b5833=_0x9c7094,_0x8425d6=_0x5ec380,{objectId:_0x295937}=_0x8425d6[_0x3b5833(0x372)],_0x3bec84=this[_0x3b5833(0x2f8)][_0x3b5833(0x3f9)](Le[_0x3b5833(0x521)]);_0x295937===_0x175049?_0x3bec84[_0x3b5833(0x4cb)](_0x175049):_0x3bec84[_0x3b5833(0x4eb)](_0x175049,_0x295937);});};N[_0x22f9e4(0x24f)](this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x22f9e4(0x564)][_0x22f9e4(0x2e0)]),this[_0x22f9e4(0x3b6)][_0x22f9e4(0x1c4)](a[_0x22f9e4(0x564)]['UNIVER_DOC']))[_0x22f9e4(0x21a)](V[_0x22f9e4(0x4e4)](_0x2f1680=>_0x2f1680[_0x22f9e4(0x2f9)]()),V[_0x22f9e4(0x4b6)](_0x258171=>!a[_0x22f9e4(0x220)](_0x258171)),V[_0x22f9e4(0x37c)](this[_0x22f9e4(0x326)]))['subscribe'](_0x2c38c5=>{_0x14785b(_0x2c38c5);});}};ot=_o([Ne(0x0,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),Ne(0x1,a['IUniverInstanceService']),Ne(0x2,a[_0x1ab38c(0x47f)]),Ne(0x3,a[_0x1ab38c(0x56d)](exports[_0x1ab38c(0x1fc)])),Ne(0x4,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x394)]))],ot);function _0x2a33(){const _0x5c05a9=['session.will-retry','MentionType','createCollaborator','onload','COMPRESS_MUTATION_SEND','_socketReady','getCurrentUser','collabStatus.syncing','reqId','engine','_status$','then','collab-text-range-','_undoStacks','Pkcs7','call','_substituteUndoStack','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','allowed','enableSingleActiveInstanceLock','lib','roles','SEND_CHANGESET_TIMEOUT','routeKey','_fetchMissChangesets','WebSocketService','jsxs','min','HTTPRequest','_permissionService','Shape','FAIL','csAckEvent','_drawAnchor','ImageSourceType','JOIN_ROOM_NOT_EXISTS','collabSubmitChangesetUrl','onPointerMove$','_telemetryInfo','[SyncedState]:\x20received\x20acknowledgement.','LocalCacheService','/universer-api/snapshot/','getLatestCsReqIdBySid','isPermissionRej','subject','_syncEditingCollabCursor','onRemoteRetry','collaboratorID','changesets','moveTo','getMergeData','SheetPermissionInitController','all','joinEvent','[PendingState]:\x20received\x20acknowledgement.','ivSize','currentColor','Error','People','put','clamp','handleMoveRange','_checkMissing','_redoStacks','_iKey','_state$','getMember','compose','_socketService','SYNCED','\x20-\x20','DataLoaderController','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','socketService','_initEventListeners','_hasher','_uiPartsService','snapshotServerUrl','getParam','_waitForHeartbeatResponse','cursorInfo','_onConnectionFailed','getRangePointData','getUndoRedoMutationParamsCache','InsertRangeMoveDownCommandId','slice','_httpService','_iv','LIVESHARE_NEW_HOST','xlink:href','editingUnit','_initCommandExecutedListener','getSheetBySheetId','_cursorShapes','decryptBlock','_hovered','_transformIMECache','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','Module','black','src','DocStateChangeManagerService','RETRY_CONNECTING_MAX_COUNT','_hash','unload','rev','infoRsp','commentUpdate$','_decreaseWaiting','@univerjs/engine-formula','/universer-api/snapshot','onSendChangeset','endColumn','univer-offline','CBC','close$','sessionStatus','LOCAL_CACHE_INTERVAL','UniverInstanceType','imageSourceType','InsertRangeMoveRightCommandId','_clearUndo','DisposableCollection','_transitionLocked','location','DeleteRangeMoveUpCommandId','IRemoteInstanceService','Inject','_lastPointer','getCurrentRevOfUnit','MD5','_imageIoService','cfg','offline','_toggleOffline','buffer','getSheetObject','rxjs','CipherParams','RxDisposable','clearInterval','type','react.element','/unit/','sheetId','UPDATE_CURSOR','M0\x200H16V16H0z','COMMENT_UPDATE','_startDocCollabCursor','Error\x20on\x20receiving\x20event','168489KwrYEy','IUniverInstanceService','_doProcessBlock','ref','members','_substituteRedoStack','IAuthzIoService','collabStatus.synced','_context','sheetID','_acknowledgedAwaitingChangeset','msCrypto','result','method','IMessageService','replaceState','HttpExport','getOffsetConfig','sessionStatus$','onTransformRemoteChangesetByIMECache','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_socket','LEAVE','distinctUntilChanged','executeCommand','useDependency','originalMeta','5269505eNVQRp','url(#off-line-single_clip0_910_343)','NodePositionConvertToCursor','[PendingState]:\x20unhandled\x20univer\x20type:\x20','hasOwnProperty','UnitEmbedded','not_collab','[FetchMissState]','handleInsertRow','Malformed\x20UTF-8\x20data','_instanceService','setCurrentUser','objectType','BlockCipherMode','m1Prime','_createHelper','_collaborationSessionService','AWAITING_WITH_PENDING','bottom','InsertColCommandId','VIEW_MAIN','_updateSubUnitFromURLParams','onRendered','indexOf','addEventListener','_toggleOnline','wsSessionTicketUrl','MoveRangeCommandId','InsertRowCommandId','IConfigService','_initResize','_color','__creator','MergeInterceptorFactory','3DkQjId','_initCloseConn','loadSheet','visibilitychange','jsx','isEditing','collaboration-client.config','clear','_docSyncEditingCollabCursorService','exports','SetWorksheetActivateCommand','transformMutation','_transformHistoryAndStateStack','SetTextSelectionsOperation','/universer-api/stream/file/upload','delete','14967300NaIzfE','addObject','fillRule','SUCCUSS','_userManagerService','_clearHeartbeatTimer','reject','?url=','POST','getOwnPropertyDescriptor','getInterceptPoints','words','CollaborationSocketService','state','unshift','onMouseMove','replace','newValue','_doFinalize','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNKNOWN_CMD','DOC_RANGE_TYPE','kdf','UNKNOWN_CODE','798660ywAyXX','_scheduleClearOtherTimer','/-/object/list','change$','Tools','_snapshotService','enc','onlineStatusIcon','CONFLICT','use','_append','evenodd','_notificationService','_getAPIPrefixPath','[OfflineState]:\x20received\x20acknowledgement.','UNIVER_PROJECT','className','getDocRanges','send','\x0aCurrent:\x20','delay','_prevBlock','state$','switchMap','triggerDblclick','_oKey','onPointerLeave$','TOO_MANY_REQUESTS','_beforeCloseService','equals','_refreshCollabCursors','/object/','_collabCursorState$','onRemoteAck','isTransformChangesetsSuccess','isTransformMutationsWithChangesetSuccess','CollaborationEvent','Encryptor','SHOULD_CLOSE_CONN','hidden','values','toString','_showConflictNotification','abs','[CollaborationSession]','permission.content','save','setInterval','_queuedRemoteChangesets','_resendTimeout','listRoles','roomMembers$','mapDocumentTypeToUniverType','text','ITelemetryService','UniverNetworkPlugin','_draw','HELLO','SHEET_VIEWPORT_KEY','useRef','parse','ILogService','Optional','newCsEvent','_unitID','downloadEndpointUrl','getSheetId','_socketMessageSubscription','_docTransformStateCacheService','1em','sendChangesetTimeout','_transformRemoteChangesetByStateCache','_throwTelemetryCollaborationNewChangeset','socket$','ImageUploadStatusType','key','&assign=','_registerRenderDependencies','encryptBlock','_removeCollabCursors','avatar','labelPosition','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_updateURLWithCurrentState','_lockTransition','pending','CollabrationImageIoService','getAncestorScale','c1Prime','MessageType','default','SNAPSHOT_INVALID_SNAPSHOT','2350584wNuYmC','getSkeleton','_renderManagerService','_unitStatus','UNIVER_SLIDE','collabStatus.offline','symbol','reset','IBeforeCloseService','Fragment','handleIRemoveCol','from','_assignedColors','fetchThroughInterceptors','handleIRemoveRow','DocSkeletonManagerService','_getLoginPath','_colorAssignService','updateMember','take','_sheetSkeletonManagerService','_docTransformSelectionsService','RevisionService','getCurrentSelections','OffLineSingle','onMissedChangesetFetched','_transformSelections','transformIMECache','colorChannel1','enableAuthServer','getUnitOnRev','SHA1','c2Prime','_createHandler','substr','randomUUID','DocSelectionManagerService','_syncEditingCollabCursorService','@univerjs/rpc','_textBubble','SessionStatus','application/json','PERSON','svg','JOIN_ROOM_PERMISSION_DENIED','show','EXCHANGE_SIGN_URL_SERVER_URL_KEY','resize','_getRedoStack','_initStatusComponent','/object','searchParams','?size=','blockSize','deleteCollaborator','COLLAB_SUBMIT_CHANGESET_URL','_pendingMutations','readInt32LE','onRemoteRej','concat','HmacSHA1','_clearScheduledTask','status$','complete','selection','/universer-api/user/session-ticket','_telemetryService','SetSelectionsOperation','[CollaborationState]:\x20apply\x20error!','_setupBeforeClosingHandler','_docClipboardService','contains','CollaborationStatusDisplay','workbook','_getSheetObject','_changesetSessionId','_getCtorByUniverType','useObservable','with','USERS_LEAVE','getActiveSheet','reverse','saveImage','getTypeOfUnitAdded$','collab-text-anchor-','set','runRefRangeMutations','Cipher','COMPLETION_FINISHED','_singleActiveUnitService','m2Prime','handleInsertRangeMoveRight','_replayCachedMutations','FileId','_onUserJoin','Undefined','NOT_COLLAB','LICENSE_DISTRO_REJECTED','children','_listenToOnlineEvent','attrs','transformChangesets','unitId','CollaborationController','ITransformService','_mode','clearTimeout','actions','UniverIcon','INVALID_ARGUMENT','_getSessionTicket','requireSession','_localeService','_schedule','red300','putCollaborators','IMentionIOService','csShouldRetryEvent','OFFLINE','setShapeProps','_session','range','reconnect','objectID','parseChangesetToProtocol','IUIPartsService','list','unsubscribe','_cipher','clipPath','transformRemoteChangeset','/block/','_event$','image/gif','entries','params','getImageSourceCache','commentUpdateEvent','toDisposable','CollaborationSessionService','getSheetBlock','_getCurrentRevision','awaiting_with_pending','_docSkeleton','_sessionStatus$','_cursor','_process','_roomMembers$','_onCursorDelete','_cachedData','Decryptor','createDecryptor','_onConflict','serializeCombRequest','unitId\x20is\x20not\x20found','findNodePositionByCharIndex','fillText','syncEditingCollabCursor','join','ColorKit','unknown','baseRev','bind','padding','_handleJoinEvent','onTransformState','_transformStateCache','getStateCache','pushState','pipe','onCommentUpdate','iterations','collaboration-session-retry','_saveCache','[CollaborationSessionService]','isInternalEditorID','capture','none','_commandService','div','startRow','isTransformMutationFailure','session','awaitingChangeset','_timeoutTimer','toggleOnline','post','setWaitCount','clone','_applyRemoteChangeset','_unitOnClients','_doCryptBlock','UPDATE_PERMISSION_OBJ','_clearRedo','message$','_getUndoStack','forwardRef','EmptyMutation','toRgbString','init','setShowComponents','SheetsSelectionsService','@univerjs/docs','univer-pro.collaboration-client-socket-service','collaboration-client.offline-data-not-saved','JOIN_ROOM_FULL','hostname','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_range','_id','on-line-single_clip0_910_349','CommentService','socket\x20open.','COLLAB_WEB_SOCKET_URL_KEY','_document','IUndoRedoService','_collaborationPaused','NO_OTHER_CLIENTS_EDITING','width','CHANGESET_REJ','_ENC_XFORM_MODE','_roomMembers','merge','RemoveRowCommandId','COLORS','deepClone','@univerjs/drawing','subunit','ICollaborationSocketService','height','_initUnitPermissionChange','stopTime','conflict.title','SUBMIT_CHANGESET','_transformUndoRedoStack','on-line-single','_handler','eventID','_collabSessionService','disposeUnit','AWAITING','_scheduleSaving','getDeserializedSheetBlock','_imageSourceCache','_getSaveTimeout','docStateChange$','collaboration_new_changeset','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','WorkbookEditablePermission','/universer-api/comb','Injector','onTransformRemoteChangesetByStateCache','IDocClipboardService','_xformMode','sid','extend','append','SNAPSHOT_URL_KEY','INGEST','x-univer-host','focused$','_revisionService','SetDocZoomRatioOperation','activeSheet$','_clearCollaborationTimeoutTimer','url(#on-line-single_clip0_910_349)','_collaborationController','/collaborator','_clearLocalCache','HEARTBEAT','getItem','confirm','getRelativeToViewportCoord','createEncryptor','JSONX','_invKeySchedule','LOGIN_URL_KEY','authzUrl','json','FETCH_MISSING','drawWith','_localCacheService','MUTATION','_disabled','top','isArray','verdancy600','DocCollaborationEntity','toLowerCase','tag','_updateLocalCache','_initStatusListener','trim','HttpImport','CollaborationStatus','LICENSE_IMPORT_SIZE_EXCEEDED','_onUserLeave','image/png','getCollabEntity$','prototype','_remoteChangesetQueue','Latin1','connection\x20error','_keyPriorReset','ILocalStorageService','transformUndoRedo','ALREADY_EXISTS','WebURLService','RichTextEditingMutation','_collabCursorController','_registerDependencies','flatMap','_onRemoteRetry','_commentService','registerBeforeClose','off-line-single','session.join-failed','@univerjs/sheets-ui','charCodeAt','[DataLoaderController]','now','EffectRefRangId','translate(.97)','roomMembers','_members','getSnapshotAPIPath','length','sheets','exhaustSavingTask','idSuffix','UniverCollaborationPlugin','_resendWithTimeout','_nRounds','/role','cursorInfo$','next','_handleHover','batchAllowed','_onConnectionOpen','5184664gfeZSU','_entities','_getMergeRange','format','_clearOtherTimers','handleDeleteRangeMoveLeft','backgroundColor','NodePositionConvertToRectRange','subscribe','CollaborationEntity','8gmTaMX','restore','_parse','_startCollaboration','toggleOffline','defaultProps','selections','StreamCipher','fill','_createInitialState','HEADER_MENU','_onRemoteChangeset','PasswordBasedCipher','updateOfflineData','Subject','storage','NOT_FOUND','_http','UNIVER_SHEET','_docSkeletonManagerService','__Key__','find','push','ACTIVE_UNIT_EVENT_CHANNEL','arc','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','getColor','_submitChangeset','410799oBfNyu','_backgroundColor','[PendingState]:\x20received\x20rejection.','rgba(255,\x20255,\x20255,\x200.01)','getTime','/universer-api/file/{fileID}/sign-url','_minBufferSize','ENSURE_SNAPSHOT_EXECUTION','transformStateCache','#fff','univer-online-status','_updateStatus','_unlockTransition','getValue','_injector','getUnitId','@univerjs/engine-render','isActive','_sendHeartbeatTimer','UnitSnapshot','14nVhJrI','[UniverCollaborationClientPlugin]','enableOfflineEditing','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','charAt','FETCH_MISS','url','Tooltip','getViewport','assign','ThemeService','loadOfflineData','execute','registerComponent','_retryCount','getUnitType','_shouldReportTelemetry','debounce','unit','file','addImageSourceCache','rng','univer-online-status-title','IDLE','@univerjs/core','getWorkbookSelections','[OfflineState]:\x20received\x20rejection.','session.collaboration-timeout','makeDirty','objects','dispose','socket\x20close','_scene','_saveTaskMap','PENDING','compute','defineProperty','onPointerEnter$','path','resourceIDs','dispose$','pad','hide','updatePermissionObjEvent','_collaborationTimeoutTimer','history','_reverseMap','href','addClipboardHook','MemberService','stringify','algo','_onJoinRoomEvent','[CollaborationEntity]','_sendingTimer','_localStorageService','LIVESHARE_FETCH_OPERATIONS','_anchorDot','status','_createHmacHelper','addObjects','YUUMI_URL_COL_OUT_OF_RANGE','generateRandomId','setParam','_initMergeInterceptor','_state','@univerjs/telemetry','DependentOn','getMemberID','endRow','_initDependencies','INTERNAL_ERROR','_selfUnitIDs','DesktopCollaborationStatusDisplayController','parseProtocolChangeset','TEXT','_isPermissionRej','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_onCombEvent','transformStack\x20failed!','setItem','startTime','_clearTimeoutTimer','conflict.content','HEARTBEAT_TIMEOUT','_anchor','ISnapshotServerService','UNIVER_DOC','NoPadding','_executeRemoteChangeset','off-line-single_clip0_910_343','_transformStack','includes','undoState','LIVESHARE_REQUEST_HOST','onMissingChangesets','APPLY_NON_SEQUENTIAL_REVISION','IURLService','rxjs/operators','_memberService','salt','round','_updateLocalCursor','onCommandExecuted','/universer-api/authz','_exhaustRemoteChangesetQueue','image/bmp','assignAColorForMemberID','ONLINE','size','sigBytes','OnLineSingle','debounceTime','onlyLocal','_retryConnectingTimer','collab-client.tooltip.reconnect','data','_getDownloadEndpointURL','/new_changes','DocIMEInputManagerService','isTransformMutationsWithChangesetFailure','_hideTimer','signUrlServerUrl','disableLocalCache','IContextService','setUndoRedoMutationParamsCache','takeUntil','_compressMutationService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','localeService','onlineStatus','getCoordByCell','Disposable','@univerjs/ui','touchDependencies','textEncoder','AES','liveShareOperation','UNAUTHENTICATED','WordArray','session.room-permission-denied','subscribeEvent','OpenSSL','ranges','_tryReconnect','$super','{fileID}','currentTheme$','has','unpad','LocaleService','CommandType','synced','_change$','collab-rect-range-','PERMISSION_REJ','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','sessionTicket','useCallback','registerOnClose','icon','getOwnPropertySymbols','USERS_ENTER','HTTPService','string','_createSocket','onReady','COLLAB_SUBMIT_CHANGESET_URL_KEY','_getScale','Base64','MSG_FOR_ERROR','/universer-api/oidc/authpage','subUnitId','transformSelections','SerializableCipher','_ws','_doReset','every','getVpScrollXYInfoByPosToVp','[SyncedState]:\x20received\x20rejection.','_data','_docStateChangeManagerService','asObservable','_drawRectRange','_univerInstanceService','_getAPIPrefix','random','_handleLeaveEvent','EvpKDF','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_docTransformIMECacheService','BehaviorSubject','handleDeleteRangeMoveUp','_ensureSubject','JOINING','APPLY_PERMISSION_DENIED','displayName','LICENSE_MAX_UNITS_EXCEEDED','Unknown\x20user','startsWith','saveSnapshot','getImage','onTransformIME','Rectangle','_themeService','_incrementRevisionNumber','_sheetTransformSelectionsService','csRejEvent','resend','decrypt','_HTTPService','combineLatest','lineTo','_name','unitID','UNIVER_COLLABORATION_CLIENT_PLUGIN','updateCursorEvent','awaiting','SheetCollaborationEntity','_messageService','defIds','CollaborationSession','handleInsertCol','_replaceFileID','MentionIoHttpService','getCollabCursors$','_initRequestHeader','YUUMI_RATE_OVER_LIMIT','function','0\x200\x2017\x2016','HMAC','APPLY_REJECT','CHANGESET_SHOULD_RETRY','CHANGESET_REVISION_CONFILICT','_disableEditing','_changesetReqId','substring','_refRangeService','mixIn','add','setAlpha','cmd','updatePermissionPoint','GLOBAL_ROOMS_CNT_EXCEEDS','_getAnchorBounding','_sender','forEach','_sendHeartbeat','registerRenderModule','ceil','_removeRoom','get','revision','_type','_snapshotServerService','_configService','catch','_setupSubUnitSync','CONNECTOR_DATA_TOO_LARGE','doc.mutation.rich-text-editing','_loadDoc','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','FromArray','CHANGESET_ACK','snapshot','skeleton','headers','_resendTimer','closeSession','fromEventSubject','_listenToOfflineEvent','Hasher','_createInitialStateImpl','_updateState','redoState','_onOffline','max','/rev/','/-/object/-/batch_allowed','UNDEFINED','UserManagerService','_onRecvEvent','some','_init','_getSignURL','crypto','ERROR_EXCEED_SIZE','responseType','patch','_rescheduleHeartbeat','shouldCloseConn','currentSkeleton$','_entityInit$','COMPRESS_MUTATION_APPLY','UniverCollaborationClientPlugin','getFocusedUnit','_scheduleHeartbeat','_urlService','[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.','deserializeRangeWithSheet','_joinRoom','color','OTHER_CLIENTS_EDITING','_onCursorUpdate','getCollabEntity','@univerjs/network','ICommandService','@univerjs-pro/collaboration','_heartbeatTimer','encrypt','_getSendChangesetTimeout','transformMutationsWithChangeset','onTransformChange$','[CollaborationUndoRedoService]','userID','loginUrlKey','getUnhiddenWorksheets','hasher','setConfig','_startTelemetryCollaborationNewChangeset','mode','/allowed','createInstance','BufferedBlockAlgorithm','create','getRandomValues','apply','getRoom','jiqing500','removeMember','Rect','getRenderById','keySize','ciphertext','onStateChange','auth.needGotoLoginAlert','_online','setActiveRange','fetch_missing','collabStatus.conflict','onRemoteChangeset','onTransformSelections','SnapshotServerOverHTTPService','saveSheetBlock','AuthzIoHttpService','replaceDocRanges','blue400','readAsDataURL','submit\x20changeset\x20error!','_commentUpdate$','setTimeout','PERMISSION_DENIED','BlockCipher','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','serializeRangeWithSheet','b64DecodeUnicode','mergeOverrideWithDependencies','split','uni.network.url-service','NEW_CHANGESETS','_send','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','transformByState','&source=','purple300','onSyncEditingCollabCursor','incrementRevOfUnit','...','online','encode','Workbook','LOCAL_CACHE_INTERVAL_KEY','collabWebSocketUrl','_sessions','createElement','Warning','fetchMissingChangesets','SNAPSHOT_SERVER_URL_KEY','LIVESHARE_OPERATION','debug','measureText','pluginName','for','update','SheetCollabCursorShape','IPermissionService','textRanges','font','code','_socket$','RECV','_onRemoteRejected','TEXT_RANGE_LAYER_INDEX','setStateCache','_config','getConfig','registerRefRange','beginPath','_onRemoteACK','error','_waitCount','APPLY_REVISION_CONFILICT','Univer','APPLY_DUPLICATED','open$','univerjs-icon\x20univerjs-icon-','floor','_removeClearOtherTimer','conflict','requestParams','roomInfos','_eventUnsubscribe','sin','_candidateSocket','_scheduleTimestamp','override','univer-pro.collaboration-client.single-active-unit-service','_updateCollabCursors','fromCharCode','unit-cache-','fetchMiss','_shapes','_transformRemoteChangesetByIMECache','BASE64','_nDataBytes','duration','urlChange$','Utf8','collabStatus.fetchMiss','_loadSheet','hovered','createSocket','disposeWithMe','_cursorInfo$','fillStyle','SnapshotService','CompressMutationService','_labelPosition','UNIVER_UNKNOWN','interceptor','filter','_onLocalMutation','event$','ERROR_IMAGE','defs','_cursors','_transformService','YUUMI_SUBSCRIPTION_NOT_FOUND','current','_hover','collabCursorState$','collaboration.closeRoom','randomBytes','memberID','HEARTBEAT_TIMEOUT_KEY','_awaitingChangeset','IImageIoService','encodeURIComponent','@univerjs/sheets','AUTHZ_URL_KEY','handleInsertRangeMoveDown','initWorkbookPermissionChange','collabStatus.notCollab','getTypeOfUnitDisposed$','_stopTelemetryCollaborationNewChangeset','body','fromEvent','DeleteRangeMoveLeftCommandId','close','_logService','UNRECOGNIZED','createIdentifier','loadDoc','appendMutation','Base','registerHTTPInterceptor','withCredentials','_undoRedoService','_keySchedule','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','fromCollab','_handleHeartbeatEvent','name','copyFileMeta','_map','finalize','map','Hex','_onRefRangeChange','_createSocketURL','PSEUDO_FETCH_MISSING_RESULT','liveShareNewHost','mutations','refreshPermission','JOIN','Vector2'];_0x2a33=function(){return _0x5c05a9;};return _0x2a33();}var uo=Object[_0x1ab38c(0x322)],fo=Object[_0x1ab38c(0x5da)],vo=(_0x4dcbe6,_0x4f898f,_0xb1e508,_0x49cb8d)=>{const _0x4ba05f=_0x1ab38c;for(var _0xc29184=_0x49cb8d>0x1?void 0x0:_0x49cb8d?fo(_0x4f898f,_0xb1e508):_0x4f898f,_0x569242=_0x4dcbe6[_0x4ba05f(0x2b7)]-0x1,_0x3dd8b0;_0x569242>=0x0;_0x569242--)(_0x3dd8b0=_0x4dcbe6[_0x569242])&&(_0xc29184=(_0x49cb8d?_0x3dd8b0(_0x4f898f,_0xb1e508,_0xc29184):_0x3dd8b0(_0xc29184))||_0xc29184);return _0x49cb8d&&_0xc29184&&uo(_0x4f898f,_0xb1e508,_0xc29184),_0xc29184;},di=(_0x10b70d,_0x3207be)=>(_0x44cff6,_0x284a9e)=>_0x3207be(_0x44cff6,_0x284a9e,_0x10b70d);exports[_0x1ab38c(0x454)]=class{constructor(_0x5ec91f,_0x4c43ca){const _0x46d423=_0x1ab38c;this[_0x46d423(0x3fd)]=_0x5ec91f,this[_0x46d423(0x544)]=_0x4c43ca;}async[_0x1ab38c(0x18f)](_0x26f827,_0x239554){const _0x58d497=_0x1ab38c;var _0x3cd21f;const {unitID:_0x156514,type:_0x5909a0,revision:_0x1a0004=0x0}=_0x239554,_0x1c4eea=this[_0x58d497(0x2b6)]()+'/'+_0x5909a0+_0x58d497(0x57d)+_0x156514+_0x58d497(0x413)+_0x1a0004,_0x493546=(await this[_0x58d497(0x544)][_0x58d497(0x3f9)](_0x1c4eea))[_0x58d497(0x4cf)],_0x3478b2=(_0x3cd21f=_0x493546[_0x58d497(0x406)])==null?void 0x0:_0x3cd21f[_0x58d497(0x1ba)];if(_0x3478b2){const _0x586187=_0x3478b2==null?void 0x0:_0x3478b2[_0x58d497(0x59e)],_0x7c46b4=m[_0x58d497(0x385)]['encode'](m['b64DecodeUnicode'](_0x586187));_0x3478b2[_0x58d497(0x59e)]=_0x7c46b4,Object[_0x58d497(0x1f7)](_0x3478b2[_0x58d497(0x2b8)])[_0x58d497(0x3f4)](([,_0x11c23b])=>{const _0xab87d0=_0x58d497,_0x5e848b=_0x11c23b[_0xab87d0(0x59e)],_0x33ae58=m['textEncoder'][_0xab87d0(0x46f)](m[_0xab87d0(0x461)](_0x5e848b));_0x11c23b[_0xab87d0(0x59e)]=_0x33ae58;});}return _0x493546;}async[_0x1ab38c(0x1fd)](_0x22a4a8,_0x36b42a){const _0x1272d=_0x1ab38c,{unitID:_0x1a1b6e,type:_0x4426ff,blockID:_0x4b330f}=_0x36b42a,_0xb7912d=this[_0x1272d(0x3b7)]()+'/'+_0x4426ff+_0x1272d(0x57d)+_0x1a1b6e+_0x1272d(0x1f4)+_0x4b330f;return(await this[_0x1272d(0x544)][_0x1272d(0x3f9)](_0xb7912d))[_0x1272d(0x4cf)];}async[_0x1ab38c(0x263)](_0x546310,_0x33e78a){const _0x41bb2b=_0x1ab38c,{unitID:_0x4ba594,type:_0x13130d,blockID:_0x4aaa49}=_0x33e78a,_0x3286d8=this[_0x41bb2b(0x3b7)]()+'/block/'+_0x13130d+_0x41bb2b(0x57d)+_0x4ba594+_0x41bb2b(0x1f4)+_0x4aaa49;return(await this['_httpService'][_0x41bb2b(0x3f9)](_0x3286d8))[_0x41bb2b(0x4cf)];}async[_0x1ab38c(0x476)](_0x1575a5,_0x83cd91){const _0x31bad4=_0x1ab38c,{unitID:_0x124654,type:_0x146e00,from:_0xf1191f,to:_0x42972b}=_0x83cd91,_0x3203eb=this[_0x31bad4(0x3b7)]()+'/'+_0x146e00+_0x31bad4(0x57d)+_0x124654+'/fetchmissing?from='+_0xf1191f+'&to='+_0x42972b;return(await this[_0x31bad4(0x544)][_0x31bad4(0x3f9)](_0x3203eb))['body'];}[_0x1ab38c(0x2b6)](){const _0x519cce=_0x1ab38c;var _0x561947;return(_0x561947=this[_0x519cce(0x3fd)]['getConfig'](vi))!=null?_0x561947:this['_getAPIPrefix']();}[_0x1ab38c(0x3b7)](){const _0x9f5430=_0x1ab38c;var _0x34c8f2,_0x5902ea;const _0x474c4e=this[_0x9f5430(0x3fd)][_0x9f5430(0x489)](fi),_0x58da9e=this[_0x9f5430(0x3fd)]['getConfig'](Z);return(_0x5902ea=(_0x34c8f2=_0x58da9e==null?void 0x0:_0x58da9e[_0x9f5430(0x53b)])!=null?_0x34c8f2:_0x474c4e)!=null?_0x5902ea:qi;}async['getResourcesRequest'](_0x29a204,_0x4684ca){const _0x25fb89=_0x1ab38c,_0x4f9f4a=_0x25fb89(0x517)+_0x4684ca['type']+_0x25fb89(0x57d)+_0x4684ca[_0x25fb89(0x3d4)]+'/resources';return(await this[_0x25fb89(0x544)][_0x25fb89(0x3f9)](_0x4f9f4a,{'params':{'resourceId':JSON[_0x25fb89(0x330)](_0x4684ca[_0x25fb89(0x325)])}}))['body'];}[_0x1ab38c(0x3c6)](){const _0x42aa76=_0x1ab38c;throw new Error(_0x42aa76(0x3bb));}[_0x1ab38c(0x455)](){const _0x145baf=_0x1ab38c;throw new Error(_0x145baf(0x3bb));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1ab38c(0x4e1)](){const _0x394645=_0x1ab38c;throw new Error(_0x394645(0x3bb));}[_0x1ab38c(0x518)](){const _0x42a0d8=_0x1ab38c;throw new Error(_0x42a0d8(0x3bb));}},exports[_0x1ab38c(0x454)]=vo([di(0x0,a[_0x1ab38c(0x5bc)]),di(0x1,a['Inject'](z[_0x1ab38c(0x3a1)]))],exports['SnapshotServerOverHTTPService']);var So=Object['defineProperty'],po=Object[_0x1ab38c(0x5da)],mo=(_0xb1efa9,_0x2ea90d,_0x3a291b,_0x12ad89)=>{const _0x345f8f=_0x1ab38c;for(var _0x3d87c4=_0x12ad89>0x1?void 0x0:_0x12ad89?po(_0x2ea90d,_0x3a291b):_0x2ea90d,_0x450b48=_0xb1efa9[_0x345f8f(0x2b7)]-0x1,_0xf524f9;_0x450b48>=0x0;_0x450b48--)(_0xf524f9=_0xb1efa9[_0x450b48])&&(_0x3d87c4=(_0x12ad89?_0xf524f9(_0x2ea90d,_0x3a291b,_0x3d87c4):_0xf524f9(_0x3d87c4))||_0x3d87c4);return _0x12ad89&&_0x3d87c4&&So(_0x2ea90d,_0x3a291b,_0x3d87c4),_0x3d87c4;},Ae=(_0x478108,_0xb4fceb)=>(_0x37ab22,_0x1bad41)=>_0xb4fceb(_0x37ab22,_0x1bad41,_0x478108);let yt=class extends a['LocalUndoRedoService']{constructor(_0x360879,_0x41eda6,_0x516b36,_0x2e32e8,_0x5a4d98){const _0x773c18=_0x1ab38c;super(_0x360879,_0x41eda6,_0x516b36),this['_transformService']=_0x2e32e8,this[_0x773c18(0x4d3)]=_0x5a4d98;}[_0x1ab38c(0x2a2)](_0x5e274e,_0x5a5293){const _0x3d3dcb=_0x1ab38c,_0x5efc8c=this[_0x3d3dcb(0x234)](_0x5e274e);if(_0x5efc8c)try{const _0x1802dd=this['_transformStack'](_0x5efc8c,_0x5a5293);this[_0x3d3dcb(0x4fe)](_0x5e274e,_0x1802dd);}catch(_0x30e4f1){this[_0x3d3dcb(0x4d3)][_0x3d3dcb(0x48d)](_0x3d3dcb(0x437),_0x30e4f1),this[_0x3d3dcb(0x567)](_0x5e274e);}const _0x457dfd=this[_0x3d3dcb(0x1a1)](_0x5e274e);if(_0x457dfd)try{const _0x3a6612=this[_0x3d3dcb(0x359)](_0x457dfd,_0x5a5293);this[_0x3d3dcb(0x589)](_0x5e274e,_0x3a6612);}catch(_0xd72d74){this[_0x3d3dcb(0x4d3)][_0x3d3dcb(0x48d)](_0xd72d74),this[_0x3d3dcb(0x232)](_0x5e274e);}}['_clearUndo'](_0x32e78d){const _0x2b8b79=_0x1ab38c,_0x3c1978=this[_0x2b8b79(0x234)](_0x32e78d);_0x3c1978&&(_0x3c1978[_0x2b8b79(0x2b7)]=0x0,this[_0x2b8b79(0x2f5)]());}['_clearRedo'](_0x1c0c5c){const _0x428369=_0x1ab38c,_0x516c35=this['_getRedoStack'](_0x1c0c5c);_0x516c35&&(_0x516c35[_0x428369(0x2b7)]=0x0,this[_0x428369(0x2f5)]());}[_0x1ab38c(0x4fe)](_0x8df9ed,_0x2ff961){const _0x5b74f0=_0x1ab38c;this[_0x5b74f0(0x4fb)][_0x5b74f0(0x1c6)](_0x8df9ed,_0x2ff961),this[_0x5b74f0(0x2f5)]();}[_0x1ab38c(0x589)](_0x3b471a,_0x52091f){const _0x331a69=_0x1ab38c;this[_0x331a69(0x52d)]['set'](_0x3b471a,_0x52091f),this['_updateStatus']();}[_0x1ab38c(0x359)](_0x1c3c6a,_0x5e30c6){const _0xf029b3=_0x1ab38c,_0x544303=[];let _0x3dedd8=_0x5e30c6,_0x232a34=_0x5e30c6;for(let _0x5742a3=_0x1c3c6a[_0xf029b3(0x2b7)]-0x1;_0x5742a3>=0x0;_0x5742a3--){const {unitID:_0x1db17f,undoMutations:_0x40c282,redoMutations:_0x41f837}=_0x1c3c6a[_0x5742a3],_0x348ecc=this[_0xf029b3(0x4bc)]['transformMutationsWithChangeset'](_0x3dedd8,_0x40c282),_0x36766c=this[_0xf029b3(0x4bc)][_0xf029b3(0x435)](_0x232a34,_0x41f837);if(m[_0xf029b3(0x376)](_0x348ecc)||m[_0xf029b3(0x376)](_0x36766c)){this[_0xf029b3(0x4d3)][_0xf029b3(0x48d)](_0xf029b3(0x437),_0xf029b3(0x34d),_0x348ecc,_0x36766c);break;}_0x3dedd8=_0x348ecc[_0xf029b3(0x16d)],_0x232a34=_0x36766c[_0xf029b3(0x16d)],_0x544303[_0xf029b3(0x2e4)]({'unitID':_0x1db17f,'undoMutations':_0x348ecc[_0xf029b3(0x1cb)],'redoMutations':_0x36766c[_0xf029b3(0x1cb)]});}return _0x544303[_0xf029b3(0x1c2)]();}};yt=mo([Ae(0x0,a[_0x1ab38c(0x585)]),Ae(0x1,a[_0x1ab38c(0x430)]),Ae(0x2,a[_0x1ab38c(0x37a)]),Ae(0x3,m[_0x1ab38c(0x1d9)]),Ae(0x4,a['ILogService'])],yt);class ki extends a['RxDisposable']{constructor(){const _0x3759c0=_0x1ab38c;super(),I(this,_0x3759c0(0x4a8)),this[_0x3759c0(0x4a8)]=N['fromEvent'](window,'popstate')['pipe'](N['takeUntil'](this[_0x3759c0(0x326)]),N['shareReplay'](0x1),N['mapTo'](void 0x0));}[_0x1ab38c(0x33d)](_0x5889ea,_0x4934e6,_0x27d519=!0x1){const _0x57b5a0=_0x1ab38c,_0x22c38d=new URL(window[_0x57b5a0(0x56a)][_0x57b5a0(0x32d)]);_0x22c38d[_0x57b5a0(0x1a4)][_0x57b5a0(0x1c6)](_0x5889ea,_0x4934e6),_0x27d519?window['history'][_0x57b5a0(0x593)]('','',_0x22c38d[_0x57b5a0(0x612)]()):window[_0x57b5a0(0x32b)]['pushState']('','',_0x22c38d[_0x57b5a0(0x612)]());}['removeParam'](_0x3e90c2,_0x2e4818=!0x1){const _0x46d09a=_0x1ab38c,_0x483c31=new URL(window['location'][_0x46d09a(0x32d)]);_0x483c31[_0x46d09a(0x1a4)]['delete'](_0x3e90c2),_0x2e4818?window[_0x46d09a(0x32b)]['replaceState']('','',_0x483c31[_0x46d09a(0x612)]()):window['history'][_0x46d09a(0x219)]('','',_0x483c31[_0x46d09a(0x612)]());}[_0x1ab38c(0x53c)](_0x23c4d2){const _0x4daf4b=_0x1ab38c;var _0x1bda3e;return(_0x1bda3e=new URL(window['location'][_0x4daf4b(0x32d)])[_0x4daf4b(0x1a4)]['get'](_0x23c4d2))!=null?_0x1bda3e:void 0x0;}}var Wi=Object['defineProperty'],go=Object['getOwnPropertyDescriptor'],Io=(_0xe77c42,_0x42d8f4,_0x401e21)=>_0x42d8f4 in _0xe77c42?Wi(_0xe77c42,_0x42d8f4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x401e21}):_0xe77c42[_0x42d8f4]=_0x401e21,Co=(_0x4e156a,_0x5789c6,_0x20e602,_0x5d7065)=>{for(var _0x5b2d4c=_0x5d7065>0x1?void 0x0:_0x5d7065?go(_0x5789c6,_0x20e602):_0x5789c6,_0x2f7764=_0x4e156a['length']-0x1,_0xf463b;_0x2f7764>=0x0;_0x2f7764--)(_0xf463b=_0x4e156a[_0x2f7764])&&(_0x5b2d4c=(_0x5d7065?_0xf463b(_0x5789c6,_0x20e602,_0x5b2d4c):_0xf463b(_0x5b2d4c))||_0x5b2d4c);return _0x5d7065&&_0x5b2d4c&&Wi(_0x5789c6,_0x20e602,_0x5b2d4c),_0x5b2d4c;},Be=(_0x299c8a,_0x31a6ff)=>(_0x3c152e,_0x3fd7ad)=>_0x31a6ff(_0x3c152e,_0x3fd7ad,_0x299c8a),Eo=(_0x36c080,_0x2ca10e,_0x3d3841)=>Io(_0x36c080,_0x2ca10e+'',_0x3d3841);const bo=_0x1ab38c(0x3d5);exports[_0x1ab38c(0x424)]=class extends a['Plugin']{constructor(_0x1c7e7f=sn,_0x8cd1f5,_0x43c3dd,_0x5cc7ce,_0x463f06){const _0x55d985=_0x1ab38c;super(),this['_config']=_0x1c7e7f,this[_0x55d985(0x4d3)]=_0x8cd1f5,this[_0x55d985(0x173)]=_0x43c3dd,this[_0x55d985(0x2f8)]=_0x5cc7ce,this['_configService']=_0x463f06;const {..._0xeda17}=this[_0x55d985(0x488)];this[_0x55d985(0x3fd)][_0x55d985(0x43c)](Z,_0xeda17);}['onStarting'](){const _0xa753c0=_0x1ab38c;this[_0xa753c0(0x2a7)](),this[_0xa753c0(0x344)]();}[_0x1ab38c(0x3a4)](){const _0x51fe3b=_0x1ab38c;a[_0x51fe3b(0x384)](this[_0x51fe3b(0x2f8)],[[nt],[it]]);}[_0x1ab38c(0x5b5)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x5123ce=_0x1ab38c;var _0x24ce77,_0x2f32e8,_0x3148c2,_0x3bfd06;this[_0x5123ce(0x2f8)][_0x5123ce(0x392)](a['IUndoRedoService'])&&this[_0x5123ce(0x4d3)][_0x5123ce(0x48d)](_0x5123ce(0x2ff),_0x5123ce(0x268));const _0x5a5c52=[[a[_0x5123ce(0x248)],{'useClass':yt}],[exports[_0x5123ce(0x1fc)]],[Nt],[Lt,{'useClass':ki}],[exports[_0x5123ce(0x32f)]],[exports[_0x5123ce(0x516)]],[z[_0x5123ce(0x507)]],[Qe],[tt],[Ze],[et],[Ut],[rt],[st],[wt],[ot],[Pt,{'useClass':(_0x2f32e8=(_0x24ce77=this['_config'])==null?void 0x0:_0x24ce77[_0x5123ce(0x537)])!=null?_0x2f32e8:exports['CollaborationSocketService']}],[m[_0x5123ce(0x354)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x5123ce(0x58a)],{'useClass':exports[_0x5123ce(0x456)]}],[te[_0x5123ce(0x4c6)],{'useClass':exports['CollabrationImageIoService']}],[a[_0x5123ce(0x1e5)],{'useClass':exports[_0x5123ce(0x3de)]}],[exports['CollaborationController']],[exports['DataLoaderController']],[exports[_0x5123ce(0x347)]],[nt],[ye],[it]];(_0x3148c2=this['_config'])!=null&&_0x3148c2[_0x5123ce(0x501)]&&_0x5a5c52[_0x5123ce(0x2e4)]([at,{'useClass':$n}]),a['registerDependencies'](this[_0x5123ce(0x2f8)],a[_0x5123ce(0x462)](_0x5a5c52,(_0x3bfd06=this[_0x5123ce(0x488)])==null?void 0x0:_0x3bfd06[_0x5123ce(0x49d)]));}[_0x1ab38c(0x636)](){const _0x41ddae=_0x1ab38c;this[_0x41ddae(0x4ae)](this[_0x41ddae(0x173)][_0x41ddae(0x3f6)](a[_0x41ddae(0x564)]['UNIVER_DOC'],[Rt])),this[_0x41ddae(0x4ae)](this[_0x41ddae(0x173)][_0x41ddae(0x3f6)](a['UniverInstanceType']['UNIVER_SHEET'],[Ot]));}['_initDependencies'](){const _0x74d4be=_0x1ab38c;var _0x389f36,_0xb1c703;this['_injector'][_0x74d4be(0x3f9)](z['HTTPService'])[_0x74d4be(0x4d9)]({'priority':0x14,'interceptor':z['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x389f36=this['_config'])!=null&&_0x389f36[_0x74d4be(0x300)]||this[_0x74d4be(0x2f8)]['get'](exports[_0x74d4be(0x516)])[_0x74d4be(0x379)](),(_0xb1c703=this[_0x74d4be(0x488)])!=null&&_0xb1c703[_0x74d4be(0x18e)]&&a['touchDependencies'](this[_0x74d4be(0x2f8)],[[rt]]),a[_0x74d4be(0x384)](this[_0x74d4be(0x2f8)],[[st],[ye],[exports[_0x74d4be(0x535)]],[exports[_0x74d4be(0x1d8)]],[exports[_0x74d4be(0x347)]],[ot]]);}},Eo(exports[_0x1ab38c(0x424)],_0x1ab38c(0x47b),bo),exports[_0x1ab38c(0x424)]=Co([a[_0x1ab38c(0x341)](m[_0x1ab38c(0x2bb)],z[_0x1ab38c(0x620)]),Be(0x1,a['ILogService']),Be(0x2,Y['IRenderManagerService']),Be(0x3,a[_0x1ab38c(0x56d)](a[_0x1ab38c(0x26b)])),Be(0x4,a['IConfigService'])],exports['UniverCollaborationClientPlugin']),exports['AUTHZ_URL_KEY']=xt,exports[_0x1ab38c(0x167)]=Z,exports[_0x1ab38c(0x3a5)]=Ci,exports[_0x1ab38c(0x246)]=Si,exports[_0x1ab38c(0x297)]=K,exports[_0x1ab38c(0x1b9)]=$i,exports[_0x1ab38c(0x244)]=wt,exports['HEARTBEAT_INTERVAL_KEY']=pi,exports[_0x1ab38c(0x4c4)]=Dt,exports[_0x1ab38c(0x255)]=Pt,exports[_0x1ab38c(0x35f)]=Lt,exports[_0x1ab38c(0x471)]=Ii,exports['LOGIN_URL_KEY']=Ei,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=gi,exports['SEND_CHANGESET_TIMEOUT_KEY']=Ki,exports[_0x1ab38c(0x477)]=fi,exports['SNAPSHOT_URL_KEY']=vi,exports[_0x1ab38c(0x199)]=ne,exports[_0x1ab38c(0x47e)]=Mi,exports[_0x1ab38c(0x2a4)]=ki,exports['deserializeToCombResponse']=Ri,exports[_0x1ab38c(0x20a)]=Oi;
1
+ 'use strict';const _0x519f42=_0x3f43;(function(_0x40314d,_0x442fce){const _0x4d164d=_0x3f43,_0x2fca10=_0x40314d();while(!![]){try{const _0x3ba1b2=parseInt(_0x4d164d(0x3c9))/0x1+parseInt(_0x4d164d(0x2ec))/0x2*(-parseInt(_0x4d164d(0x42b))/0x3)+parseInt(_0x4d164d(0x2b1))/0x4+-parseInt(_0x4d164d(0x5f9))/0x5+parseInt(_0x4d164d(0x175))/0x6*(parseInt(_0x4d164d(0x3a1))/0x7)+-parseInt(_0x4d164d(0x2c5))/0x8+parseInt(_0x4d164d(0x4cd))/0x9;if(_0x3ba1b2===_0x442fce)break;else _0x2fca10['push'](_0x2fca10['shift']());}catch(_0x20fd6e){_0x2fca10['push'](_0x2fca10['shift']());}}}(_0x1367,0x923d9));var Fi=Object[_0x519f42(0x360)],Vi=(_0x4f9fc6,_0x430843,_0x1fec6c)=>_0x430843 in _0x4f9fc6?Fi(_0x4f9fc6,_0x430843,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1fec6c}):_0x4f9fc6[_0x430843]=_0x1fec6c,I=(_0x9ad391,_0x4f6cfd,_0x3f3c28)=>Vi(_0x9ad391,typeof _0x4f6cfd!=_0x519f42(0x38e)?_0x4f6cfd+'':_0x4f6cfd,_0x3f3c28);Object[_0x519f42(0x360)](exports,Symbol['toStringTag'],{'value':'Module'});const a=require('@univerjs/core'),N=require(_0x519f42(0x379)),V=require('rxjs/operators'),Ce=require(_0x519f42(0x316)),z=require(_0x519f42(0x24b)),ee=require(_0x519f42(0x558)),m=require(_0x519f42(0x4d8)),Gi=require(_0x519f42(0x387)),Ie=require(_0x519f42(0x3ca)),J=require(_0x519f42(0x422)),k=require('@univerjs/sheets'),Y=require(_0x519f42(0x22f)),te=require(_0x519f42(0x1af)),$t=require(_0x519f42(0x294)),Le=require(_0x519f42(0x448)),oe=require(_0x519f42(0x3ce)),Yi=require(_0x519f42(0x33e)),fi=_0x519f42(0x384),qi='/universer-api/snapshot',vi=_0x519f42(0x263),Ki=_0x519f42(0x571),zi=0x7d0,Si='COLLAB_WEB_SOCKET_URL',Xi=_0x519f42(0x3d2),Ji=_0x519f42(0x592),pi=_0x519f42(0x44d),Zi=0x7530,Dt=_0x519f42(0x4ab),mi=0x4e20,Qi=0x4e20,gi=_0x519f42(0x27f),en=0x3,Ii=_0x519f42(0x29f),tn=0x3e8,Ci='COLLAB_SUBMIT_CHANGESET_URL',nn=_0x519f42(0x380),Ei=_0x519f42(0x31d),rn=_0x519f42(0x2ce);var bi=(_0x28944f=>(_0x28944f[_0x28944f['UNDEFINED']=0x0]='UNDEFINED',_0x28944f[_0x28944f['OK']=0x1]='OK',_0x28944f[_0x28944f['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x28944f[_0x28944f[_0x519f42(0x494)]=0x3]=_0x519f42(0x494),_0x28944f[_0x28944f[_0x519f42(0x1ca)]=0x4]=_0x519f42(0x1ca),_0x28944f[_0x28944f[_0x519f42(0x381)]=0x5]=_0x519f42(0x381),_0x28944f[_0x28944f[_0x519f42(0x289)]=0x6]=_0x519f42(0x289),_0x28944f[_0x28944f[_0x519f42(0x1b1)]=0x7]=_0x519f42(0x1b1),_0x28944f[_0x28944f[_0x519f42(0x633)]=0x8]=_0x519f42(0x633),_0x28944f[_0x28944f[_0x519f42(0x25d)]=0x9]='COMPLETION_FINISHED',_0x28944f[_0x28944f[_0x519f42(0x31a)]=0x1389]=_0x519f42(0x31a),_0x28944f[_0x28944f[_0x519f42(0x1e1)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x28944f[_0x28944f['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x519f42(0x179),_0x28944f[_0x28944f[_0x519f42(0x2d2)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x28944f[_0x28944f[_0x519f42(0x3b5)]=0x1b59]=_0x519f42(0x3b5),_0x28944f[_0x28944f[_0x519f42(0x482)]=0x1b5a]=_0x519f42(0x482),_0x28944f[_0x28944f[_0x519f42(0x375)]=0x1b5b]=_0x519f42(0x375),_0x28944f[_0x28944f['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x519f42(0x5a7),_0x28944f[_0x28944f[_0x519f42(0x644)]=0x1b5d]=_0x519f42(0x644),_0x28944f[_0x28944f['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x519f42(0x3ab),_0x28944f[_0x28944f[_0x519f42(0x1bd)]=0x2329]=_0x519f42(0x1bd),_0x28944f[_0x28944f['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x519f42(0x215),_0x28944f[_0x28944f[_0x519f42(0x4fc)]=0x232b]=_0x519f42(0x4fc),_0x28944f[_0x28944f['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x519f42(0x2bc),_0x28944f[_0x28944f[_0x519f42(0x4e7)]=0x232d]=_0x519f42(0x4e7),_0x28944f[_0x28944f['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x519f42(0x362),_0x28944f[_0x28944f['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x519f42(0x642),_0x28944f[_0x28944f['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x28944f[_0x28944f[_0x519f42(0x331)]=0x2714]=_0x519f42(0x331),_0x28944f[_0x28944f['UNRECOGNIZED']=-0x1]=_0x519f42(0x500),_0x28944f))(bi||{}),ie=(_0x4e24db=>(_0x4e24db[_0x4e24db[_0x519f42(0x1d9)]=0x0]=_0x519f42(0x1d9),_0x4e24db[_0x4e24db[_0x519f42(0x249)]=0x1]='UNIVER_DOC',_0x4e24db[_0x4e24db[_0x519f42(0x248)]=0x2]=_0x519f42(0x248),_0x4e24db[_0x4e24db[_0x519f42(0x1a1)]=0x3]=_0x519f42(0x1a1),_0x4e24db[_0x4e24db[_0x519f42(0x629)]=0x4]='UNIVER_PROJECT',_0x4e24db[_0x4e24db['UNRECOGNIZED']=-0x1]=_0x519f42(0x500),_0x4e24db))(ie||{}),G=(_0x53b481=>(_0x53b481[_0x53b481[_0x519f42(0x229)]=0x0]=_0x519f42(0x229),_0x53b481[_0x53b481[_0x519f42(0x441)]=0x1]='HELLO',_0x53b481[_0x53b481[_0x519f42(0x553)]=0x2]=_0x519f42(0x553),_0x53b481[_0x53b481['LEAVE']=0x3]='LEAVE',_0x53b481[_0x53b481['INGEST']=0x4]=_0x519f42(0x260),_0x53b481[_0x53b481[_0x519f42(0x225)]=0x5]=_0x519f42(0x225),_0x53b481[_0x53b481['RECV']=0x6]=_0x519f42(0x43e),_0x53b481[_0x53b481[_0x519f42(0x500)]=-0x1]=_0x519f42(0x500),_0x53b481))(G||{}),ge=(_0x56f33a=>(_0x56f33a[_0x56f33a[_0x519f42(0x50b)]=0x0]=_0x519f42(0x50b),_0x56f33a[_0x56f33a['OK']=0x1]='OK',_0x56f33a[_0x56f33a[_0x519f42(0x35d)]=0x2]=_0x519f42(0x35d),_0x56f33a[_0x56f33a['JOIN_ROOM_FULL']=0x3e9]=_0x519f42(0x37b),_0x56f33a[_0x56f33a[_0x519f42(0x2e2)]=0x3ea]=_0x519f42(0x2e2),_0x56f33a[_0x56f33a[_0x519f42(0x1b2)]=0x3eb]=_0x519f42(0x1b2),_0x56f33a[_0x56f33a[_0x519f42(0x534)]=0x3ec]=_0x519f42(0x534),_0x56f33a[_0x56f33a[_0x519f42(0x500)]=-0x1]=_0x519f42(0x500),_0x56f33a))(ge||{}),Ti=(_0x4cd811=>(_0x4cd811[_0x4cd811[_0x519f42(0x1da)]=0x0]=_0x519f42(0x1da),_0x4cd811[_0x4cd811['HttpImport']=0x1]=_0x519f42(0x38a),_0x4cd811[_0x4cd811[_0x519f42(0x212)]=0x2]=_0x519f42(0x212),_0x4cd811[_0x4cd811[_0x519f42(0x61d)]=0x3]=_0x519f42(0x61d),_0x4cd811[_0x4cd811['UnitSnapshot']=0x4]=_0x519f42(0x302),_0x4cd811[_0x4cd811[_0x519f42(0x500)]=-0x1]=_0x519f42(0x500),_0x4cd811))(Ti||{});const Z=_0x519f42(0x4f5),sn={};function Ri(_0x6ba35c){const _0xab0ce8=_0x519f42;var _0x4b15cc,_0x31e5a2,_0x2c61bc,_0x55d7e7,_0x10ed8c;const _0x127c47=_0x6ba35c['data'],_0x57446b=JSON[_0xab0ce8(0x2f6)](_0x127c47);switch(_0x57446b[_0xab0ce8(0x25c)]){case G[_0xab0ce8(0x225)]:case G[_0xab0ce8(0x441)]:{const _0x5af170=_0x57446b['infoRsp'];return{..._0x57446b,'data':_0x5af170,'cmd':_0x57446b[_0xab0ce8(0x25c)]};}case G[_0xab0ce8(0x553)]:{const _0x50d656=_0x57446b[_0xab0ce8(0x60f)];return{..._0x57446b,'data':_0x50d656,'cmd':_0x57446b['cmd']};}case G[_0xab0ce8(0x43e)]:{const _0x177a3b=_0x57446b[_0xab0ce8(0x2d3)];switch(_0x177a3b[_0xab0ce8(0x509)]){case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x587)]:return{..._0x57446b,'data':{..._0x177a3b,'data':(_0x4b15cc=_0x177a3b[_0xab0ce8(0x2db)])==null?void 0x0:_0x4b15cc['cs']},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x47c)]:return{..._0x57446b,'data':{..._0x177a3b,'data':(_0x31e5a2=_0x177a3b['csAckEvent'])==null?void 0x0:_0x31e5a2['cs']},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x40a)]:return{..._0x57446b,'data':{..._0x177a3b,'data':(_0x2c61bc=_0x177a3b['newCsEvent'])==null?void 0x0:_0x2c61bc['cs']},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x3d7)]:return{..._0x57446b,'data':{..._0x177a3b,'data':(_0x55d7e7=_0x177a3b[_0xab0ce8(0x33a)])==null?void 0x0:_0x55d7e7['cs']},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x5f1)]:return{..._0x57446b,'data':{..._0x177a3b,'data':(_0x10ed8c=_0x177a3b[_0xab0ce8(0x4a9)])==null?void 0x0:_0x10ed8c['cs']},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x2ef)]:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b[_0xab0ce8(0x4b2)]},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)]['USERS_ENTER']:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b[_0xab0ce8(0x29c)]},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m['CollaborationEvent'][_0xab0ce8(0x41b)]:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b[_0xab0ce8(0x358)]},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)]['LIVESHARE_NEW_HOST']:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b[_0xab0ce8(0x234)]},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x32a)]:case m[_0xab0ce8(0x3bc)]['LIVESHARE_OPERATION']:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b[_0xab0ce8(0x1cd)]},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x5e9)]:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b['liveShareNewHost']},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x3d3)]:return{..._0x57446b,'data':_0x177a3b,'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)]['COMMENT_UPDATE']:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b['commentUpdateEvent']},'cmd':_0x57446b[_0xab0ce8(0x25c)]};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x605)]:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b[_0xab0ce8(0x5d1)]},'cmd':_0x57446b['cmd']};case m[_0xab0ce8(0x3bc)][_0xab0ce8(0x502)]:return{..._0x57446b,'data':{..._0x177a3b,'data':_0x177a3b[_0xab0ce8(0x241)]},'cmd':_0x57446b['cmd']};default:return _0x57446b;}}default:return _0x57446b;}}function Oi(_0x4d3b6c){const _0x3a9218=_0x519f42;switch(_0x4d3b6c['cmd']){case G['HEARTBEAT']:case G[_0x3a9218(0x441)]:return JSON[_0x3a9218(0x648)]({'cmd':_0x4d3b6c['cmd'],'routeKey':_0x4d3b6c['routeKey']});case G[_0x3a9218(0x260)]:{let _0x53cd85;switch(_0x4d3b6c[_0x3a9218(0x2f1)][_0x3a9218(0x509)]){case m[_0x3a9218(0x3bc)][_0x3a9218(0x2ef)]:{_0x53cd85={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x4d3b6c[_0x3a9218(0x2f1)][_0x3a9218(0x2f1)]};break;}case m[_0x3a9218(0x3bc)]['USERS_LEAVE']:{_0x53cd85={'eventID':m[_0x3a9218(0x3bc)][_0x3a9218(0x41b)],'leaveEvent':_0x4d3b6c[_0x3a9218(0x2f1)][_0x3a9218(0x2f1)]};break;}case m[_0x3a9218(0x3bc)][_0x3a9218(0x5b1)]:{_0x53cd85={'eventID':m[_0x3a9218(0x3bc)][_0x3a9218(0x5b1)],'joinEvent':_0x4d3b6c['data'][_0x3a9218(0x2f1)]};break;}case m['CollaborationEvent']['LIVESHARE_NEW_HOST']:{_0x53cd85={'eventID':m[_0x3a9218(0x3bc)][_0x3a9218(0x385)],'liveShareNewHost':_0x4d3b6c[_0x3a9218(0x2f1)][_0x3a9218(0x2f1)]};break;}case m[_0x3a9218(0x3bc)][_0x3a9218(0x602)]:{_0x53cd85={'eventID':m[_0x3a9218(0x3bc)][_0x3a9218(0x602)],'liveShareOperation':_0x4d3b6c[_0x3a9218(0x2f1)][_0x3a9218(0x2f1)]};break;}case m[_0x3a9218(0x3bc)][_0x3a9218(0x5e9)]:{_0x53cd85={'eventID':m[_0x3a9218(0x3bc)][_0x3a9218(0x5e9)],'liveShareTerminate':_0x4d3b6c[_0x3a9218(0x2f1)]['data']};break;}case m[_0x3a9218(0x3bc)][_0x3a9218(0x231)]:{_0x53cd85={'eventID':m[_0x3a9218(0x3bc)][_0x3a9218(0x231)],'liveShareRequestHost':_0x4d3b6c[_0x3a9218(0x2f1)][_0x3a9218(0x2f1)]};break;}case m[_0x3a9218(0x3bc)]['LIVESHARE_FETCH_OPERATIONS']:{_0x53cd85={'eventID':m[_0x3a9218(0x3bc)][_0x3a9218(0x32a)]};break;}default:_0x53cd85={'eventID':_0x4d3b6c[_0x3a9218(0x2f1)][_0x3a9218(0x509)]};}return JSON[_0x3a9218(0x648)]({'cmd':_0x4d3b6c[_0x3a9218(0x25c)],'routeKey':_0x4d3b6c[_0x3a9218(0x1c7)],'collaMsg':_0x53cd85});}case G[_0x3a9218(0x553)]:return JSON['stringify']({'cmd':_0x4d3b6c['cmd'],'routeKey':_0x4d3b6c[_0x3a9218(0x1c7)],'joinReq':_0x4d3b6c[_0x3a9218(0x2f1)]});case G['LEAVE']:return JSON[_0x3a9218(0x648)]({'cmd':_0x4d3b6c['cmd'],'routeKey':_0x4d3b6c['routeKey'],'leaveReq':_0x4d3b6c[_0x3a9218(0x2f1)]});default:throw new Error(_0x3a9218(0x5b7));}}var on=Object[_0x519f42(0x360)],an=Object[_0x519f42(0x544)],cn=(_0x250e0e,_0x4e62e0,_0x8c020a,_0xf4b502)=>{const _0x11bac3=_0x519f42;for(var _0x1d7df8=_0xf4b502>0x1?void 0x0:_0xf4b502?an(_0x4e62e0,_0x8c020a):_0x4e62e0,_0x4a31a1=_0x250e0e[_0x11bac3(0x53a)]-0x1,_0x3a150d;_0x4a31a1>=0x0;_0x4a31a1--)(_0x3a150d=_0x250e0e[_0x4a31a1])&&(_0x1d7df8=(_0xf4b502?_0x3a150d(_0x4e62e0,_0x8c020a,_0x1d7df8):_0x3a150d(_0x1d7df8))||_0x1d7df8);return _0xf4b502&&_0x1d7df8&&on(_0x4e62e0,_0x8c020a,_0x1d7df8),_0x1d7df8;},De=(_0x2400b9,_0x317995)=>(_0x33f4eb,_0x35a6ed)=>_0x317995(_0x33f4eb,_0x35a6ed,_0x2400b9);const Pt=a['createIdentifier']('univer-pro.collaboration-client-socket-service');function ln(_0x466908,_0x3d0f3b,_0x4a3013){const _0x51008e=_0x519f42;return _0x466908+'/'+_0x3d0f3b+_0x51008e(0x4ee)+_0x4a3013+'/new_changes';}exports[_0x519f42(0x1cb)]=class extends a[_0x519f42(0x5f8)]{constructor(_0x20b87c,_0x3c7e2b,_0x39078a,_0x4bae2b,_0x1ebca6){const _0x44bd45=_0x519f42;super(),this[_0x44bd45(0x58a)]=_0x20b87c,this['_ws']=_0x3c7e2b,this[_0x44bd45(0x193)]=_0x39078a,this[_0x44bd45(0x392)]=_0x4bae2b,this[_0x44bd45(0x5f7)]=_0x1ebca6;}[_0x519f42(0x4c9)](_0x4aa885){const _0x262698=_0x519f42,_0xb5ed93=this[_0x262698(0x2c7)]['createSocket'](_0x4aa885);if(!_0xb5ed93)throw new Error(_0x262698(0x5e0));const _0x47d974=new a[(_0x262698(0x3cf))](),_0x14eac7=new N['Subject']();_0x47d974[_0x262698(0x556)](_0xb5ed93['close$'][_0x262698(0x1db)](_0xc887ce=>_0x14eac7[_0x262698(0x213)](_0xc887ce))),_0x47d974[_0x262698(0x556)](a['toDisposable'](()=>_0x14eac7['complete']()));const _0x2b2f78=new N[(_0x262698(0x3ec))]();_0x47d974[_0x262698(0x556)](_0xb5ed93[_0x262698(0x488)][_0x262698(0x1db)](_0x5443dd=>_0x2b2f78[_0x262698(0x213)](_0x5443dd))),_0x47d974[_0x262698(0x556)](a[_0x262698(0x503)](()=>_0x2b2f78[_0x262698(0x324)]()));const _0x14c327=new N[(_0x262698(0x3ec))]();_0x47d974[_0x262698(0x556)](_0xb5ed93[_0x262698(0x2b9)][_0x262698(0x1db)](_0x33af64=>{const _0x1ea0ec=_0x262698,_0x5c1100=Ri(_0x33af64);_0x14c327[_0x1ea0ec(0x213)](_0x5c1100);})),_0x47d974[_0x262698(0x556)](a['toDisposable'](()=>_0x14c327['complete']()));let _0x2172ad;const _0x55d49a=()=>{const _0x4c54e4=_0x262698;_0x2b2f78[_0x4c54e4(0x213)](new Event(_0x4c54e4(0x279))),_0x14eac7[_0x4c54e4(0x213)](new CloseEvent(_0x4c54e4(0x279))),_0x2172ad['close']();};return _0x2172ad={'memberID':'','close$':_0x14eac7[_0x262698(0x20b)](),'error$':_0x2b2f78[_0x262698(0x20b)](),'open$':_0xb5ed93['open$'],'message$':_0x14c327[_0x262698(0x20b)](),'send':_0x104177=>{const _0x930f30=_0x262698;if(_0x104177[_0x930f30(0x25c)]===G[_0x930f30(0x260)]){if(_0x104177[_0x930f30(0x2f1)]['eventID']===m['CollaborationEvent'][_0x930f30(0x207)]){this[_0x930f30(0x192)](_0x2172ad,_0x104177[_0x930f30(0x2f1)])[_0x930f30(0x271)](_0x4fc87f=>{this['_logService']['error'](_0x4fc87f),_0x55d49a();});return;}if(_0x104177[_0x930f30(0x2f1)][_0x930f30(0x509)]===m[_0x930f30(0x3bc)][_0x930f30(0x269)]){const _0x378d51=_0x104177[_0x930f30(0x2f1)];this[_0x930f30(0x20e)](_0x378d51)[_0x930f30(0x5b5)](_0x218620=>{const _0x2f11c0=_0x930f30;_0x14c327[_0x2f11c0(0x213)]({'cmd':G[_0x2f11c0(0x43e)],'code':ge['OK'],'routeKey':_0x378d51[_0x2f11c0(0x2f1)][_0x2f11c0(0x57d)],'routeType':'','data':{'eventID':m['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x218620}}});})[_0x930f30(0x271)](_0x2047fa=>{const _0x3a4ba2=_0x930f30;this[_0x3a4ba2(0x392)]['error'](_0x2047fa),_0x55d49a();});return;}}_0xb5ed93[_0x930f30(0x2a8)](Oi(_0x104177));},'close':()=>{const _0xb92498=_0x262698;_0xb5ed93[_0xb92498(0x19c)](),_0x47d974[_0xb92498(0x5fa)]();}},_0x2172ad;}async[_0x519f42(0x192)](_0x19d60b,_0x47a69e){const _0x152f8b=_0x519f42;var _0x533c9e,_0x2a8527;const {unitType:_0x383823,unitID:_0xa827c6,changeset:_0x2d88fe}=_0x47a69e[_0x152f8b(0x2f1)],_0x11d093={'unitID':_0xa827c6,'memberID':_0x19d60b[_0x152f8b(0x563)],'type':_0x383823,'changeset':m[_0x152f8b(0x3cd)](_0x2d88fe)},_0x43ea42=this[_0x152f8b(0x193)][_0x152f8b(0x4ba)](Ci),_0x29d968=this[_0x152f8b(0x193)][_0x152f8b(0x4ba)](Z),_0x35851f=ln((_0x2a8527=(_0x533c9e=_0x29d968==null?void 0x0:_0x29d968['collabSubmitChangesetUrl'])!=null?_0x533c9e:_0x43ea42)!=null?_0x2a8527:nn,_0x383823,_0xa827c6);try{await this[_0x152f8b(0x58a)][_0x152f8b(0x627)](_0x35851f,{'body':_0x11d093});}catch(_0x5f4432){throw this[_0x152f8b(0x392)][_0x152f8b(0x1d8)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x5f4432;}}async[_0x519f42(0x20e)](_0x1b92ec){const _0x188417=_0x519f42,{unitID:_0x36634d,from:_0x598918,to:_0x835c42,unitType:_0x587f7d}=_0x1b92ec[_0x188417(0x2f1)];return(await this[_0x188417(0x5f7)][_0x188417(0x2bd)]({'metadata':void 0x0},{'unitID':_0x36634d,'type':_0x587f7d,'from':_0x598918,'to':_0x835c42}))[_0x188417(0x220)];}},exports[_0x519f42(0x1cb)]=cn([De(0x0,a[_0x519f42(0x3b4)](z[_0x519f42(0x623)])),De(0x1,a['Inject'](z[_0x519f42(0x2d9)])),De(0x2,a[_0x519f42(0x4e5)]),De(0x3,a[_0x519f42(0x5eb)]),De(0x4,m[_0x519f42(0x433)])],exports['CollaborationSocketService']);const hn='collaboration_new_changeset';function _n(_0x44f475){const _0x455713=_0x519f42;return JSON[_0x455713(0x648)](_0x44f475)[_0x455713(0x53a)];}class wt{constructor(){const _0x3234b9=_0x519f42;I(this,_0x3234b9(0x1ea),new N['Subject']()),I(this,'commentUpdate$',this['_commentUpdate$'][_0x3234b9(0x20b)]());}[_0x519f42(0x50c)](_0x3fa85c){const _0x37526d=_0x519f42;this[_0x37526d(0x1ea)][_0x37526d(0x213)](_0x3fa85c);}}var un=Object[_0x519f42(0x360)],dn=Object[_0x519f42(0x544)],fn=(_0x163e7b,_0x152507,_0x22bc57,_0x3adc15)=>{for(var _0x5ec314=_0x3adc15>0x1?void 0x0:_0x3adc15?dn(_0x152507,_0x22bc57):_0x152507,_0x28d946=_0x163e7b['length']-0x1,_0xe60c9f;_0x28d946>=0x0;_0x28d946--)(_0xe60c9f=_0x163e7b[_0x28d946])&&(_0x5ec314=(_0x3adc15?_0xe60c9f(_0x152507,_0x22bc57,_0x5ec314):_0xe60c9f(_0x5ec314))||_0x5ec314);return _0x3adc15&&_0x5ec314&&un(_0x152507,_0x22bc57,_0x5ec314),_0x5ec314;},jt=(_0xa5efaf,_0x2e4c49)=>(_0x3ea1f7,_0x5a18dc)=>_0x2e4c49(_0x3ea1f7,_0x5a18dc,_0xa5efaf);exports['MemberService']=class extends a[_0x519f42(0x5f8)]{constructor(_0x150ae7,_0x4c33f5){const _0x24e8ee=_0x519f42;super(),I(this,_0x24e8ee(0x53e),new Map()),(this[_0x24e8ee(0x403)]=_0x150ae7,this[_0x24e8ee(0x332)]=_0x4c33f5,this['disposeWithMe'](a[_0x24e8ee(0x503)](N['merge'](this['_univerInstanceService'][_0x24e8ee(0x610)](a[_0x24e8ee(0x475)][_0x24e8ee(0x248)])[_0x24e8ee(0x641)](V[_0x24e8ee(0x444)](_0x5e274b=>_0x5e274b['getUnitId']())),this[_0x24e8ee(0x403)][_0x24e8ee(0x610)](a[_0x24e8ee(0x475)][_0x24e8ee(0x249)])[_0x24e8ee(0x641)](V[_0x24e8ee(0x444)](_0x43462f=>_0x43462f[_0x24e8ee(0x238)]())),this[_0x24e8ee(0x403)][_0x24e8ee(0x610)](a[_0x24e8ee(0x475)][_0x24e8ee(0x1a1)])['pipe'](V[_0x24e8ee(0x444)](_0x236a90=>_0x236a90['getUnitId']())))[_0x24e8ee(0x1db)](_0x44f5dc=>this[_0x24e8ee(0x1d3)](_0x44f5dc)))));}[_0x519f42(0x31b)](_0x537e17){const _0x34bf6f=_0x519f42;this[_0x34bf6f(0x332)]['setCurrentUser'](_0x537e17);}[_0x519f42(0x484)](){const _0x5a0b7e=_0x519f42;return this[_0x5a0b7e(0x332)][_0x5a0b7e(0x484)]();}[_0x519f42(0x25e)](_0x3eaa66,_0x5b6fa6){const _0xe0fe44=_0x519f42;let _0x3d055c=this[_0xe0fe44(0x53e)][_0xe0fe44(0x4a6)](_0x3eaa66);_0x3d055c||(_0x3d055c=new vn(),this[_0xe0fe44(0x53e)][_0xe0fe44(0x3e1)](_0x3eaa66,_0x3d055c)),_0x3d055c[_0xe0fe44(0x25e)](_0x5b6fa6);}[_0x519f42(0x247)](_0x4b5d72,_0x49a008){const _0x19bf2f=_0x519f42,_0x2f2196=this[_0x19bf2f(0x53e)]['get'](_0x4b5d72);_0x2f2196&&_0x2f2196[_0x19bf2f(0x247)](_0x49a008);}[_0x519f42(0x62b)](_0xc03e92){const _0x51b970=_0x519f42;return this[_0x51b970(0x53e)][_0x51b970(0x4a6)](_0xc03e92);}['getMember'](_0x263257,_0x2f4d39){const _0x4ec7d1=_0x519f42,_0x171c41=this[_0x4ec7d1(0x53e)][_0x4ec7d1(0x4a6)](_0x263257);if(_0x171c41)return _0x171c41['getMember'](_0x2f4d39);}[_0x519f42(0x1d3)](_0x4e97cd){const _0x19eeb2=_0x519f42,_0x426c20=this['_roomMembers'][_0x19eeb2(0x4a6)](_0x4e97cd);_0x426c20&&(_0x426c20[_0x19eeb2(0x5fa)](),this[_0x19eeb2(0x53e)][_0x19eeb2(0x203)](_0x4e97cd));}[_0x519f42(0x5fa)](){const _0x4f07f3=_0x519f42;this[_0x4f07f3(0x53e)][_0x4f07f3(0x24a)](_0x279c13=>_0x279c13['dispose']()),this[_0x4f07f3(0x53e)][_0x4f07f3(0x604)]();}},exports[_0x519f42(0x1f6)]=fn([jt(0x0,a[_0x519f42(0x4aa)]),jt(0x1,a[_0x519f42(0x3b4)](a[_0x519f42(0x1aa)]))],exports['MemberService']);class vn extends a[_0x519f42(0x5f8)]{constructor(){super(...arguments),I(this,'_members',new Map());}['dispose'](){const _0x25300a=_0x519f42;this['_members'][_0x25300a(0x604)]();}['updateMember'](_0x5eeb91){const _0x5a1513=_0x519f42;this[_0x5a1513(0x1f4)][_0x5a1513(0x3e1)](_0x5eeb91[_0x5a1513(0x563)],_0x5eeb91);}[_0x519f42(0x247)](_0x15842b){const _0x12cf2f=_0x519f42;this[_0x12cf2f(0x1f4)][_0x12cf2f(0x203)](_0x15842b);}[_0x519f42(0x449)](_0x86a7cc){const _0x361026=_0x519f42;return this[_0x361026(0x1f4)][_0x361026(0x4a6)](_0x86a7cc);}[_0x519f42(0x49f)](){const _0x1e3e91=_0x519f42;return Array['from'](this['_members'][_0x1e3e91(0x426)]());}}var Sn=Object[_0x519f42(0x360)],pn=Object['getOwnPropertyDescriptor'],mn=(_0x213806,_0x14e08b,_0x189c32,_0x1f643f)=>{for(var _0x49cda2=_0x1f643f>0x1?void 0x0:_0x1f643f?pn(_0x14e08b,_0x189c32):_0x14e08b,_0x3a2766=_0x213806['length']-0x1,_0x1ddd2c;_0x3a2766>=0x0;_0x3a2766--)(_0x1ddd2c=_0x213806[_0x3a2766])&&(_0x49cda2=(_0x1f643f?_0x1ddd2c(_0x14e08b,_0x189c32,_0x49cda2):_0x1ddd2c(_0x49cda2))||_0x49cda2);return _0x1f643f&&_0x49cda2&&Sn(_0x14e08b,_0x189c32,_0x49cda2),_0x49cda2;},ue=(_0x28e359,_0xa17687)=>(_0x177d11,_0x210e56)=>_0xa17687(_0x177d11,_0x210e56,_0x28e359),ne=(_0x21675c=>(_0x21675c[_0x21675c[_0x519f42(0x56f)]=0x0]=_0x519f42(0x56f),_0x21675c[_0x21675c[_0x519f42(0x61c)]=0x1]='JOINING',_0x21675c[_0x21675c['OFFLINE']=0x2]='OFFLINE',_0x21675c[_0x21675c[_0x519f42(0x481)]=0x3]=_0x519f42(0x481),_0x21675c))(ne||{});const Ht={[ge[_0x519f42(0x35d)]]:_0x519f42(0x579),[ge[_0x519f42(0x37b)]]:_0x519f42(0x3db),[ge['JOIN_ROOM_NOT_EXISTS']]:_0x519f42(0x181),[ge[_0x519f42(0x1b2)]]:_0x519f42(0x2eb),[ge[_0x519f42(0x534)]]:_0x519f42(0x4e9)};exports[_0x519f42(0x47d)]=class extends a[_0x519f42(0x275)]{constructor(_0x302fa2,_0x9e86ca,_0x4dcf42,_0x3b2165,_0x36ae0e,_0x264068,_0x4c85b2,_0xcedb05,_0x27cc2a,_0x5e6791){const _0x3227be=_0x519f42;super(),I(this,_0x3227be(0x1a8),new N[(_0x3227be(0x46f))](0x0)),I(this,'sessionStatus$',this[_0x3227be(0x1a8)][_0x3227be(0x20b)]()),I(this,_0x3227be(0x3ea),new N[(_0x3227be(0x3ec))]()),I(this,'event$',this[_0x3227be(0x3ea)]['asObservable']()),I(this,_0x3227be(0x250)),I(this,_0x3227be(0x450)),I(this,_0x3227be(0x389)),I(this,'_shouldReportTelemetry',!0x1),I(this,_0x3227be(0x1a6),null),(this[_0x3227be(0x564)]=_0x302fa2,this[_0x3227be(0x392)]=_0x4dcf42,this[_0x3227be(0x48d)]=_0x3b2165,this[_0x3227be(0x471)]=_0x36ae0e,this[_0x3227be(0x193)]=_0x264068,this['_localeService']=_0x4c85b2,this[_0x3227be(0x24e)]=_0xcedb05,this[_0x3227be(0x370)]=_0x27cc2a,this[_0x3227be(0x40e)]=_0x5e6791,this[_0x3227be(0x56d)]=!!this[_0x3227be(0x40e)],_0x9e86ca[_0x3227be(0x641)](N[_0x3227be(0x1e9)](this[_0x3227be(0x191)]))['subscribe'](_0x4e2116=>{const _0x5f4c3a=_0x3227be;var _0x204e46;typeof _0x4e2116>'u'||(this[_0x5f4c3a(0x250)]=_0x4e2116,_0x4e2116?(this['_joinRoom'](_0x4e2116),this[_0x5f4c3a(0x450)]=_0x4e2116['message$'][_0x5f4c3a(0x1db)](_0x9dbea7=>{const _0x38d908=_0x5f4c3a;_0x9dbea7[_0x38d908(0x1c7)]===this[_0x38d908(0x564)]&&this[_0x38d908(0x3fb)](_0x9dbea7);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x5f4c3a(0x1a8)][_0x5f4c3a(0x213)](0x2),(_0x204e46=this['_socketMessageSubscription'])==null||_0x204e46[_0x5f4c3a(0x347)](),this[_0x5f4c3a(0x450)]=null));}),this['disposeWithMe'](this[_0x3227be(0x48d)][_0x3227be(0x1b5)](()=>{const _0x22d5bd=_0x3227be;var _0x503513;(_0x503513=this[_0x22d5bd(0x250)])==null||_0x503513[_0x22d5bd(0x2a8)]({'cmd':G[_0x22d5bd(0x5c1)],'data':{'roomID':this[_0x22d5bd(0x564)]}});})));}get[_0x519f42(0x36e)](){const _0x4b4b10=_0x519f42;return this[_0x4b4b10(0x1a8)]['getValue']();}[_0x519f42(0x2cd)](){const _0x3a5342=_0x519f42;var _0xb4a80f,_0x2eab45;return(_0x2eab45=(_0xb4a80f=this[_0x3a5342(0x250)])==null?void 0x0:_0xb4a80f[_0x3a5342(0x563)])!=null?_0x2eab45:null;}['dispose'](){const _0x3b7859=_0x519f42;super[_0x3b7859(0x5fa)](),this[_0x3b7859(0x191)]['next'](),this[_0x3b7859(0x191)][_0x3b7859(0x324)]();}[_0x519f42(0x19c)](){const _0x332966=_0x519f42;var _0x41aff1,_0x150e4e;this['_throwTelemetryCollaborationNewChangeset'](),(_0x41aff1=this[_0x332966(0x250)])==null||_0x41aff1['send']({'cmd':G[_0x332966(0x5c1)],'data':{'roomID':this[_0x332966(0x564)]}}),(_0x150e4e=this[_0x332966(0x250)])==null||_0x150e4e['close'](),this[_0x332966(0x3ea)][_0x332966(0x324)](),this[_0x332966(0x1a8)][_0x332966(0x324)](),this[_0x332966(0x5fa)]();}[_0x519f42(0x3fb)](_0x684b60){const _0x55c6f3=_0x519f42;_0x684b60[_0x55c6f3(0x25c)]===G[_0x55c6f3(0x553)]?this[_0x55c6f3(0x38b)](_0x684b60):_0x684b60[_0x55c6f3(0x25c)]===G[_0x55c6f3(0x43e)]&&this[_0x55c6f3(0x27e)](_0x684b60);}[_0x519f42(0x3de)](_0x400c31){const _0x584542=_0x519f42;this[_0x584542(0x1a8)]['next'](0x1),_0x400c31[_0x584542(0x2a8)]({'cmd':G[_0x584542(0x553)],'routeKey':this[_0x584542(0x564)],'routeType':'','data':{'rooms':[{'roomID':this[_0x584542(0x564)]}]}});}[_0x519f42(0x38b)](_0x30ad1b){const _0x146903=_0x519f42;var _0x312f35;if(_0x30ad1b[_0x146903(0x615)]in Ht){this['_messageService'][_0x146903(0x1e6)]({'type':Ce[_0x146903(0x57a)]['Warning'],'content':this[_0x146903(0x52f)]['t'](Ht[_0x30ad1b[_0x146903(0x615)]])}),this[_0x146903(0x1a8)][_0x146903(0x213)](0x2);return;}this[_0x146903(0x1a8)][_0x146903(0x213)](0x3);const _0x3dfaa7=(_0x312f35=_0x30ad1b[_0x146903(0x2f1)][_0x146903(0x3d4)][this[_0x146903(0x564)]])==null?void 0x0:_0x312f35[_0x146903(0x285)];_0x3dfaa7&&_0x3dfaa7[_0x146903(0x24a)](_0x3ecd04=>this[_0x146903(0x24e)]['updateMember'](this[_0x146903(0x564)],_0x3ecd04));}[_0x519f42(0x27e)](_0x53c175){const _0x5c9638=_0x519f42;try{const _0x4028c8=_0x53c175[_0x5c9638(0x2f1)];switch(_0x4028c8[_0x5c9638(0x509)]){case m[_0x5c9638(0x3bc)][_0x5c9638(0x5b1)]:this[_0x5c9638(0x47f)](_0x4028c8),this['_event$'][_0x5c9638(0x213)](_0x4028c8);break;case m[_0x5c9638(0x3bc)][_0x5c9638(0x41b)]:this['_onUserLeave'](_0x4028c8),this[_0x5c9638(0x3ea)][_0x5c9638(0x213)](_0x4028c8);break;case m[_0x5c9638(0x3bc)]['CHANGESET_ACK']:case m[_0x5c9638(0x3bc)][_0x5c9638(0x5f1)]:this[_0x5c9638(0x5ee)](),this[_0x5c9638(0x325)](),this[_0x5c9638(0x3ea)][_0x5c9638(0x213)](_0x4028c8);break;case m[_0x5c9638(0x3bc)][_0x5c9638(0x3d3)]:this[_0x5c9638(0x392)][_0x5c9638(0x1d8)](_0x5c9638(0x1a9)+JSON[_0x5c9638(0x648)](_0x4028c8)),this[_0x5c9638(0x3ea)][_0x5c9638(0x213)](_0x4028c8);break;case m[_0x5c9638(0x3bc)][_0x5c9638(0x24d)]:this[_0x5c9638(0x370)][_0x5c9638(0x50c)](_0x4028c8[_0x5c9638(0x2f1)]),this[_0x5c9638(0x3ea)]['next'](_0x4028c8);break;default:this['_event$'][_0x5c9638(0x213)](_0x4028c8);}}catch(_0x394dad){this[_0x5c9638(0x392)]['error'](_0x394dad,_0x53c175);}}[_0x519f42(0x47f)](_0x234e10){const _0x5f2cca=_0x519f42;this[_0x5f2cca(0x24e)][_0x5f2cca(0x25e)](this[_0x5f2cca(0x564)],_0x234e10['data']);}[_0x519f42(0x453)](_0x37c7a6){const _0x16b0cb=_0x519f42;this['_memberService'][_0x16b0cb(0x247)](this[_0x16b0cb(0x564)],_0x37c7a6[_0x16b0cb(0x2f1)][_0x16b0cb(0x563)]);}async[_0x519f42(0x2a8)](_0x2c20c7,_0x586835){const _0x5172b8=_0x519f42;if(this[_0x5172b8(0x36e)]!==0x3||!this[_0x5172b8(0x250)])throw new Error(_0x5172b8(0x25b));try{_0x2c20c7[_0x5172b8(0x509)]===m['CollaborationEvent'][_0x5172b8(0x207)]&&(this[_0x5172b8(0x3f4)](),this[_0x5172b8(0x54a)](_0x2c20c7)),this[_0x5172b8(0x250)][_0x5172b8(0x2a8)]({'cmd':G['INGEST'],'routeKey':_0x586835,'routeType':'','data':_0x2c20c7});}catch(_0x442661){this[_0x5172b8(0x392)][_0x5172b8(0x1d8)](_0x442661);}}['_scheduleCollaborationTimeoutTimer'](){const _0xa2b85=_0x519f42;var _0xdb96d9;this[_0xa2b85(0x389)]=window[_0xa2b85(0x2e9)](()=>{const _0x5b7f22=_0xa2b85;this[_0x5b7f22(0x389)]=null,this['_messageService'][_0x5b7f22(0x1e6)]({'type':Ce[_0x5b7f22(0x57a)]['Error'],'content':this[_0x5b7f22(0x52f)]['t'](_0x5b7f22(0x3ac))});},(_0xdb96d9=this[_0xa2b85(0x193)][_0xa2b85(0x4ba)](Dt))!=null?_0xdb96d9:mi);}[_0x519f42(0x325)](){const _0x2c94f3=_0x519f42;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x2c94f3(0x389)]),this[_0x2c94f3(0x389)]=null);}[_0x519f42(0x54a)](_0x47602d){const _0x5d5ab3=_0x519f42;if(!this[_0x5d5ab3(0x56d)])return;const {data:_0x5f1c1f}=_0x47602d,{unitID:_0x469784,changeset:_0x122141}=_0x5f1c1f,{mutations:_0x589f11,type:_0x342798}=_0x122141;this[_0x5d5ab3(0x1a6)]={'unitId':_0x469784,'type':_0x342798,'startTime':performance[_0x5d5ab3(0x59c)](),'stopTime':0x0,'duration':0x0,'size':_n(_0x589f11)};}[_0x519f42(0x5ee)](){const _0xd7f085=_0x519f42;if(this[_0xd7f085(0x56d)]){if(!this[_0xd7f085(0x1a6)]){this[_0xd7f085(0x392)][_0xd7f085(0x1d8)](_0xd7f085(0x34a),_0xd7f085(0x531));return;}this[_0xd7f085(0x1a6)][_0xd7f085(0x4fd)]=performance['now'](),this[_0xd7f085(0x1a6)][_0xd7f085(0x593)]=this[_0xd7f085(0x1a6)][_0xd7f085(0x4fd)]-this['_telemetryInfo'][_0xd7f085(0x217)],this[_0xd7f085(0x40e)][_0xd7f085(0x5b3)](hn,this[_0xd7f085(0x1a6)]),this[_0xd7f085(0x1a6)]=null;}}[_0x519f42(0x5c8)](){this['_telemetryInfo']=null;}},exports[_0x519f42(0x47d)]=mn([ue(0x2,a[_0x519f42(0x5eb)]),ue(0x3,ee[_0x519f42(0x34b)]),ue(0x4,ee[_0x519f42(0x4c8)]),ue(0x5,a['IConfigService']),ue(0x6,a[_0x519f42(0x3b4)](a[_0x519f42(0x609)])),ue(0x7,a[_0x519f42(0x3b4)](exports[_0x519f42(0x1f6)])),ue(0x8,a[_0x519f42(0x3b4)](wt)),ue(0x9,a['Optional'](Gi[_0x519f42(0x18c)]))],exports[_0x519f42(0x47d)]);var gn=Object[_0x519f42(0x360)],In=Object[_0x519f42(0x544)],Cn=(_0x13a20d,_0xb6c982,_0x2ca99f,_0x129d97)=>{const _0x3fd051=_0x519f42;for(var _0x16f496=_0x129d97>0x1?void 0x0:_0x129d97?In(_0xb6c982,_0x2ca99f):_0xb6c982,_0x5377dc=_0x13a20d[_0x3fd051(0x53a)]-0x1,_0x37b701;_0x5377dc>=0x0;_0x5377dc--)(_0x37b701=_0x13a20d[_0x5377dc])&&(_0x16f496=(_0x129d97?_0x37b701(_0xb6c982,_0x2ca99f,_0x16f496):_0x37b701(_0x16f496))||_0x16f496);return _0x129d97&&_0x16f496&&gn(_0xb6c982,_0x2ca99f,_0x16f496),_0x16f496;},Se=(_0x410bf6,_0x246fd3)=>(_0x1dc71b,_0x3b781e)=>_0x246fd3(_0x1dc71b,_0x3b781e,_0x410bf6);exports['CollaborationSessionService']=class extends a[_0x519f42(0x5f8)]{constructor(_0x2eb8da,_0x625339,_0x52404c,_0x27ff84,_0x18ec8b,_0x2a20ba,_0x4260f0){const _0x480daf=_0x519f42;super(),I(this,_0x480daf(0x2a4),new N[(_0x480daf(0x46f))](void 0x0)),I(this,_0x480daf(0x273),this[_0x480daf(0x2a4)][_0x480daf(0x20b)]()),I(this,_0x480daf(0x371),null),I(this,_0x480daf(0x628),new Map()),I(this,_0x480daf(0x646),new N[(_0x480daf(0x46f))](ne[_0x480daf(0x56f)])),I(this,_0x480daf(0x227),this[_0x480daf(0x646)][_0x480daf(0x20b)]()),I(this,_0x480daf(0x1ee),!0x1),I(this,_0x480daf(0x1d0)),I(this,_0x480daf(0x5dc),0x0),I(this,_0x480daf(0x4e1)),I(this,'_timeoutTimer'),(this[_0x480daf(0x590)]=_0x2eb8da,this[_0x480daf(0x52f)]=_0x625339,this[_0x480daf(0x471)]=_0x52404c,this['_logService']=_0x27ff84,this[_0x480daf(0x193)]=_0x18ec8b,this[_0x480daf(0x4b8)]=_0x2a20ba,this[_0x480daf(0x2a1)]=_0x4260f0,this[_0x480daf(0x243)]());}get[_0x519f42(0x250)](){const _0x4dba4a=_0x519f42;return this['_socket$'][_0x4dba4a(0x489)]();}['_initEventListeners'](){this['_listenToOfflineEvent'](),this['_listenToOnlineEvent']();}[_0x519f42(0x5fa)](){const _0x3badc4=_0x519f42;super['dispose'](),this['_sessions'][_0x3badc4(0x24a)](_0x12c33f=>_0x12c33f[_0x3badc4(0x5fa)]()),this[_0x3badc4(0x628)][_0x3badc4(0x604)](),this['_status$'][_0x3badc4(0x324)]();}async[_0x519f42(0x295)](_0x4dc429){const _0x34f2d1=_0x519f42;if(this[_0x34f2d1(0x628)][_0x34f2d1(0x443)](_0x4dc429))return this[_0x34f2d1(0x628)][_0x34f2d1(0x4a6)](_0x4dc429);this[_0x34f2d1(0x5d9)]();const _0x140912=this[_0x34f2d1(0x590)][_0x34f2d1(0x35c)](exports[_0x34f2d1(0x47d)],_0x4dc429,this[_0x34f2d1(0x2a4)]['asObservable']());return this[_0x34f2d1(0x628)][_0x34f2d1(0x3e1)](_0x4dc429,_0x140912),_0x140912;}['closeSession'](_0x254507){const _0x430dd7=_0x519f42;var _0x4e0ad1;const _0x4bb050=this['_sessions'][_0x430dd7(0x4a6)](_0x254507);_0x4bb050&&(this[_0x430dd7(0x628)][_0x430dd7(0x203)](_0x254507),_0x4bb050[_0x430dd7(0x19c)]()),this['_sessions']['size']||(_0x4e0ad1=this[_0x430dd7(0x250)])==null||_0x4e0ad1[_0x430dd7(0x19c)]();}[_0x519f42(0x4cc)](){const _0x297a57=_0x519f42;this[_0x297a57(0x5dc)]=0x0,this[_0x297a57(0x1d0)]!=null&&(clearTimeout(this[_0x297a57(0x1d0)]),this['_retryConnectingTimer']=null),this[_0x297a57(0x4df)]();}async['_getSessionTicket'](){const _0x57aa90=_0x519f42;var _0x284015,_0x342ba9,_0x47e24a;const _0x242c78=this[_0x57aa90(0x193)][_0x57aa90(0x4ba)](Z),_0x28f300=(_0x284015=_0x242c78==null?void 0x0:_0x242c78[_0x57aa90(0x613)])!=null?_0x284015:Ji;return(_0x47e24a=(_0x342ba9=(await this['_httpService'][_0x57aa90(0x4a6)](_0x28f300,{'headers':{'Content-Type':_0x57aa90(0x368)}}))['body'])==null?void 0x0:_0x342ba9[_0x57aa90(0x56e)])!=null?_0x47e24a:'';}[_0x519f42(0x56b)](_0x24f9ad){const _0x11986d=_0x519f42;var _0x4cb390,_0x18b11;const _0x2a8ae1=this[_0x11986d(0x193)][_0x11986d(0x4ba)](Si),_0x587647=this[_0x11986d(0x193)][_0x11986d(0x4ba)](Z),_0x309f3c=(_0x18b11=(_0x4cb390=_0x587647==null?void 0x0:_0x587647[_0x11986d(0x56c)])!=null?_0x4cb390:_0x2a8ae1)!=null?_0x18b11:Xi,_0x53286d=new URL(_0x309f3c,window[_0x11986d(0x376)]['origin']);return _0x53286d['searchParams'][_0x11986d(0x3e1)](_0x11986d(0x423),_0x24f9ad),_0x53286d[_0x11986d(0x1a0)]();}async[_0x519f42(0x27c)](){const _0x5706cd=_0x519f42,_0xce1327=await this[_0x5706cd(0x5b0)](),_0x3b0abb=this['_createSocketURL'](_0xce1327),_0x50f5be=this[_0x5706cd(0x4b8)]['createSocket'](_0x3b0abb);return this[_0x5706cd(0x371)]=_0x50f5be,_0x50f5be;}async[_0x519f42(0x5d9)](){const _0xb8e9df=_0x519f42;var _0x111b32,_0xf0724f;try{const _0x1c6e3b=(_0xf0724f=(_0x111b32=this['_socket'])!=null?_0x111b32:this[_0xb8e9df(0x371)])!=null?_0xf0724f:await this[_0xb8e9df(0x27c)]();if(_0x1c6e3b){const _0x4b26ad=_0x1c6e3b[_0xb8e9df(0x2a8)];_0x1c6e3b[_0xb8e9df(0x2a8)]=_0x2908b3=>(this['_rescheduleHeartbeat'](),_0x4b26ad[_0xb8e9df(0x52e)](_0x1c6e3b,[_0x2908b3])),_0x1c6e3b[_0xb8e9df(0x2b9)][_0xb8e9df(0x1db)](_0x2fc30a=>this[_0xb8e9df(0x621)](_0x1c6e3b,_0x2fc30a)),_0x1c6e3b['error$'][_0xb8e9df(0x641)](V['take'](0x1))[_0xb8e9df(0x1db)](_0x45431d=>this[_0xb8e9df(0x392)][_0xb8e9df(0x1d8)](_0xb8e9df(0x18a),_0x45431d)),_0x1c6e3b['open$'][_0xb8e9df(0x641)](V[_0xb8e9df(0x292)](0x1))[_0xb8e9df(0x1db)](()=>{const _0x413a9c=_0xb8e9df;this[_0x413a9c(0x252)](_0x1c6e3b);}),_0x1c6e3b[_0xb8e9df(0x57c)][_0xb8e9df(0x641)](V['take'](0x1))[_0xb8e9df(0x1db)](_0x527ba9=>{const _0x49f790=_0xb8e9df;this['_logService'][_0x49f790(0x408)](_0x49f790(0x617),_0x49f790(0x5a6),_0x527ba9),this[_0x49f790(0x1be)]();});}}catch(_0x2fb5f8){this[_0xb8e9df(0x392)][_0xb8e9df(0x1d8)](_0x2fb5f8),this[_0xb8e9df(0x1be)]();}}[_0x519f42(0x252)](_0x2a6a65){const _0x29dec4=_0x519f42;this[_0x29dec4(0x392)][_0x29dec4(0x408)](_0x29dec4(0x617),_0x29dec4(0x415)),_0x2a6a65[_0x29dec4(0x2a8)]({'cmd':G['HELLO']}),this[_0x29dec4(0x48f)]();}[_0x519f42(0x5c5)](){const _0x48ebc1=_0x519f42;window[_0x48ebc1(0x60a)](_0x48ebc1(0x574),()=>this[_0x48ebc1(0x486)]());}[_0x519f42(0x486)](){const _0x312dac=_0x519f42;this[_0x312dac(0x1ee)]=!0x1,this[_0x312dac(0x371)]=null,this[_0x312dac(0x646)][_0x312dac(0x213)](ne[_0x312dac(0x419)]),this[_0x312dac(0x2a4)][_0x312dac(0x213)](null),this['_clearTimeoutTimer'](),this[_0x312dac(0x581)]();}[_0x519f42(0x1be)](){const _0x269b8a=_0x519f42;var _0x4473ce;this['_onOffline'](),this[_0x269b8a(0x5dc)]<((_0x4473ce=this[_0x269b8a(0x193)][_0x269b8a(0x4ba)](gi))!=null?_0x4473ce:en)?(this[_0x269b8a(0x471)]['show']({'key':'collaboration-session-retry','type':Ce[_0x269b8a(0x57a)][_0x269b8a(0x598)],'content':this[_0x269b8a(0x52f)]['t'](_0x269b8a(0x4c6))}),this['_tryReconnect']()):this['_messageService']['show']({'key':'collaboration-session-retry','type':Ce[_0x269b8a(0x57a)][_0x269b8a(0x45a)],'content':this['_localeService']['t']('session.connection-failed')});}['_listenToOnlineEvent'](){const _0x5e9361=_0x519f42,_0xf9b2d4=()=>{const _0x30b9d3=_0x3f43;this[_0x30b9d3(0x250)]||this[_0x30b9d3(0x4cc)]();},_0x502b80=()=>{const _0x5c2da6=_0x3f43;this[_0x5c2da6(0x250)]||document['visibilityState']==='hidden'||this[_0x5c2da6(0x4cc)]();};window[_0x5e9361(0x60a)](_0x5e9361(0x306),_0xf9b2d4),document[_0x5e9361(0x60a)](_0x5e9361(0x258),_0x502b80);}[_0x519f42(0x4df)](){const _0x87202b=_0x519f42;var _0x119c0c;const _0x183deb=this['_retryCount'],_0x182f0b=this['_configService'][_0x87202b(0x4ba)](Z),_0x23bde6=_0x183deb===0x0?0x0:((_0x119c0c=_0x182f0b==null?void 0x0:_0x182f0b[_0x87202b(0x388)])!=null?_0x119c0c:Qi)*0x2**_0x183deb;this[_0x87202b(0x1d0)]=window[_0x87202b(0x2e9)](()=>{const _0xe05e3=_0x87202b;clearTimeout(this[_0xe05e3(0x1d0)]),this[_0xe05e3(0x1d0)]=null,this[_0xe05e3(0x5d9)]();},_0x23bde6),this[_0x87202b(0x5dc)]+=0x1;}[_0x519f42(0x621)](_0x295b22,_0x3adcae){const _0x13d459=_0x519f42,{cmd:_0x302344}=_0x3adcae;_0x302344===G[_0x13d459(0x441)]&&!this['_socketReady']&&(_0x295b22[_0x13d459(0x563)]=_0x3adcae[_0x13d459(0x2f1)]['memberID'],this[_0x13d459(0x2a4)][_0x13d459(0x213)](_0x295b22),this[_0x13d459(0x646)][_0x13d459(0x213)](ne[_0x13d459(0x481)]),this[_0x13d459(0x1ee)]=!0x0,this['_candidateSocket']=null),_0x302344===G[_0x13d459(0x225)]&&this[_0x13d459(0x5d8)](),this[_0x13d459(0x48f)]();}[_0x519f42(0x48f)](){const _0x30f2ff=_0x519f42;var _0x4789e3;this[_0x30f2ff(0x581)](),this[_0x30f2ff(0x4e1)]=window[_0x30f2ff(0x2e9)](()=>this['_sendHeartbeat'](),(_0x4789e3=this['_configService'][_0x30f2ff(0x4ba)](pi))!=null?_0x4789e3:Zi);}['_sendHeartbeat'](){const _0x42e6b3=_0x519f42;this[_0x42e6b3(0x250)][_0x42e6b3(0x2a8)]({'cmd':G['HEARTBEAT']}),this[_0x42e6b3(0x40b)]();}['_waitForHeartbeatResponse'](){const _0x4f5e29=_0x519f42;var _0x31a266;this['_timeoutTimer']=window[_0x4f5e29(0x2e9)](()=>this['_onConnectionFailed'](),(_0x31a266=this[_0x4f5e29(0x193)][_0x4f5e29(0x4ba)](Dt))!=null?_0x31a266:mi);}[_0x519f42(0x581)](){const _0x14a948=_0x519f42;this[_0x14a948(0x4e1)]!=null&&(clearTimeout(this[_0x14a948(0x4e1)]),this[_0x14a948(0x4e1)]=null);}[_0x519f42(0x5d8)](){const _0x1a1551=_0x519f42;this[_0x1a1551(0x49c)]!=null&&(clearTimeout(this[_0x1a1551(0x49c)]),this[_0x1a1551(0x49c)]=null);}},exports[_0x519f42(0x4ae)]=Cn([Se(0x0,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),Se(0x1,a[_0x519f42(0x3b4)](a[_0x519f42(0x609)])),Se(0x2,ee[_0x519f42(0x4c8)]),Se(0x3,a[_0x519f42(0x5eb)]),Se(0x4,a['IConfigService']),Se(0x5,Pt),Se(0x6,a['Inject'](z[_0x519f42(0x623)]))],exports[_0x519f42(0x4ae)]);const q=[];for(let r=0x0;r<0x100;++r)q[_0x519f42(0x205)]((r+0x100)[_0x519f42(0x1a0)](0x10)[_0x519f42(0x428)](0x1));function En(_0x5a0c45,_0x446692=0x0){const _0x5f48f0=_0x519f42;return(q[_0x5a0c45[_0x446692+0x0]]+q[_0x5a0c45[_0x446692+0x1]]+q[_0x5a0c45[_0x446692+0x2]]+q[_0x5a0c45[_0x446692+0x3]]+'-'+q[_0x5a0c45[_0x446692+0x4]]+q[_0x5a0c45[_0x446692+0x5]]+'-'+q[_0x5a0c45[_0x446692+0x6]]+q[_0x5a0c45[_0x446692+0x7]]+'-'+q[_0x5a0c45[_0x446692+0x8]]+q[_0x5a0c45[_0x446692+0x9]]+'-'+q[_0x5a0c45[_0x446692+0xa]]+q[_0x5a0c45[_0x446692+0xb]]+q[_0x5a0c45[_0x446692+0xc]]+q[_0x5a0c45[_0x446692+0xd]]+q[_0x5a0c45[_0x446692+0xe]]+q[_0x5a0c45[_0x446692+0xf]])[_0x5f48f0(0x365)]();}let lt;const bn=new Uint8Array(0x10);function Tn(){const _0x37872d=_0x519f42;if(!lt){if(typeof crypto>'u'||!crypto[_0x37872d(0x267)])throw new Error(_0x37872d(0x3d9));lt=crypto[_0x37872d(0x267)][_0x37872d(0x255)](crypto);}return lt(bn);}const Rn=typeof crypto<'u'&&crypto[_0x519f42(0x60c)]&&crypto[_0x519f42(0x60c)]['bind'](crypto),Bt={'randomUUID':Rn};function On(_0x58b4c0,_0x31a764,_0x42d095){const _0x397d08=_0x519f42;if(Bt['randomUUID']&&!_0x31a764&&!_0x58b4c0)return Bt['randomUUID']();_0x58b4c0=_0x58b4c0||{};const _0x38f593=_0x58b4c0[_0x397d08(0x351)]||(_0x58b4c0[_0x397d08(0x48c)]||Tn)();return _0x38f593[0x6]=_0x38f593[0x6]&0xf|0x40,_0x38f593[0x8]=_0x38f593[0x8]&0x3f|0x80,En(_0x38f593);}var yn=Object[_0x519f42(0x360)],Dn=Object[_0x519f42(0x544)],Pn=(_0x97a5b4,_0x2e9a38,_0x530a24,_0xa683b5)=>{const _0x30239b=_0x519f42;for(var _0xdbef4d=_0xa683b5>0x1?void 0x0:_0xa683b5?Dn(_0x2e9a38,_0x530a24):_0x2e9a38,_0x834d0e=_0x97a5b4[_0x30239b(0x53a)]-0x1,_0x4bc182;_0x834d0e>=0x0;_0x834d0e--)(_0x4bc182=_0x97a5b4[_0x834d0e])&&(_0xdbef4d=(_0xa683b5?_0x4bc182(_0x2e9a38,_0x530a24,_0xdbef4d):_0x4bc182(_0xdbef4d))||_0xdbef4d);return _0xa683b5&&_0xdbef4d&&yn(_0x2e9a38,_0x530a24,_0xdbef4d),_0xdbef4d;},ht=(_0x7e428e,_0x4c919f)=>(_0x46d118,_0x6cfdd0)=>_0x4c919f(_0x46d118,_0x6cfdd0,_0x7e428e);let Ze=class{constructor(_0x26f2cf,_0x5705d0,_0x2c4465){const _0xcde44f=_0x519f42;this[_0xcde44f(0x590)]=_0x26f2cf,this[_0xcde44f(0x2b6)]=_0x5705d0,this[_0xcde44f(0x42c)]=_0x2c4465;}[_0x519f42(0x4bc)](_0xffb958){const _0x19bdef=_0x519f42;this[_0x19bdef(0x4f6)](_0xffb958),this['_transformPreviousActiveRange'](_0xffb958);}[_0x519f42(0x5ce)](_0x11f661){const _0x112926=_0x519f42,{unitID:_0x2e9b1b}=_0x11f661,_0x1aa200=this[_0x112926(0x42c)][_0x112926(0x5f4)](_0x2e9b1b)[_0x112926(0x395)](J[_0x112926(0x63e)]),{redoCache:_0x3f6f6c}=_0x1aa200['getUndoRedoMutationParamsCache']();if(_0x3f6f6c[_0x112926(0x53a)]===0x0)return _0x11f661;let _0x341e77=a[_0x112926(0x2c8)]['deepClone'](_0x11f661[_0x112926(0x4af)][0x0]);for(let _0xea81dd=0x0;_0xea81dd<_0x3f6f6c[_0x112926(0x53a)];_0xea81dd++){const _0x16c0b3={'id':_0x112926(0x5d5),'params':{..._0x3f6f6c[_0xea81dd]}},_0x5f13da=this['_transformService'][_0x112926(0x18f)](_0x341e77,_0x16c0b3,!0x1);if(m[_0x112926(0x447)](_0x5f13da))throw _0x5f13da[_0x112926(0x1d8)];_0x341e77=_0x5f13da[_0x112926(0x5fb)];}return{...a[_0x112926(0x2c8)][_0x112926(0x244)](_0x11f661),'mutations':[_0x341e77]};}[_0x519f42(0x4f6)](_0x10ea18){const _0x1fd470=_0x519f42,{unitID:_0x1fdcc6}=_0x10ea18,_0x321d7f=this[_0x1fd470(0x42c)][_0x1fd470(0x5f4)](_0x1fdcc6)[_0x1fd470(0x395)](J['DocIMEInputManagerService']),{undoCache:_0x487e08,redoCache:_0x31c6b9}=_0x321d7f['getUndoRedoMutationParamsCache']();if(_0x487e08[_0x1fd470(0x53a)]===0x0||_0x31c6b9[_0x1fd470(0x53a)]===0x0)return;const _0x263bbb=[],_0x49093=[];let _0xeefb43=a[_0x1fd470(0x2c8)][_0x1fd470(0x244)](_0x10ea18[_0x1fd470(0x4af)][0x0]),_0xde8b23=a[_0x1fd470(0x2c8)]['deepClone'](_0x10ea18['mutations'][0x0]);for(let _0xceb1f2=_0x487e08[_0x1fd470(0x53a)]-0x1;_0xceb1f2>=0x0;_0xceb1f2--){const _0x527899={'id':_0x1fd470(0x5d5),'params':{..._0x487e08[_0xceb1f2]}},_0x4f546e={'id':_0x1fd470(0x5d5),'params':{..._0x31c6b9[_0xceb1f2]}},_0xc24e45=this['_transformService'][_0x1fd470(0x18f)](_0xeefb43,_0x527899,!0x1),_0x4fb282=this['_transformService'][_0x1fd470(0x18f)](_0xde8b23,_0x4f546e,!0x1);if(m[_0x1fd470(0x447)](_0xc24e45))throw _0xc24e45['error'];if(m['isTransformMutationFailure'](_0x4fb282))throw _0x4fb282['error'];_0x263bbb['unshift'](_0xc24e45[_0x1fd470(0x20d)][_0x1fd470(0x322)]),_0x49093[_0x1fd470(0x5ff)](_0x4fb282['m2Prime'][_0x1fd470(0x322)]),_0xeefb43=_0xc24e45[_0x1fd470(0x5fb)],_0xde8b23=_0x4fb282[_0x1fd470(0x5fb)];}_0x321d7f[_0x1fd470(0x383)]({'undoCache':_0x263bbb,'redoCache':_0x49093});}[_0x519f42(0x630)](_0x290c43){const _0x676ddd=_0x519f42,{unitID:_0x5349db}=_0x290c43,_0x357287=this['_renderManagerService'][_0x676ddd(0x5f4)](_0x5349db)[_0x676ddd(0x395)](J[_0x676ddd(0x63e)]),_0x25f827=_0x357287[_0x676ddd(0x508)]();if(_0x25f827==null)return;const _0x43c450=[{'id':_0x676ddd(0x5d5),'params':{'unitId':_0x290c43['unitID'],'actions':null,'textRanges':[_0x25f827]}}],_0x4814ba=this[_0x676ddd(0x2b6)][_0x676ddd(0x187)](_0x290c43,_0x43c450);if(!m['isTransformMutationsWithChangesetSuccess'](_0x4814ba))throw _0x4814ba[_0x676ddd(0x1d8)];const _0x56a291=_0x4814ba[_0x676ddd(0x20d)][0x0][_0x676ddd(0x322)][_0x676ddd(0x1e0)];Array[_0x676ddd(0x5f2)](_0x56a291)&&_0x56a291['length']&&_0x357287[_0x676ddd(0x50e)](_0x56a291[0x0]);}};Ze=Pn([ht(0x0,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),ht(0x1,m[_0x519f42(0x562)]),ht(0x2,Y[_0x519f42(0x479)])],Ze);var wn=Object[_0x519f42(0x360)],Un=Object['getOwnPropertyDescriptor'],Mn=(_0x5280f7,_0x24bf73,_0x2f7718,_0x1c1b33)=>{const _0x64a2e=_0x519f42;for(var _0x3f02d4=_0x1c1b33>0x1?void 0x0:_0x1c1b33?Un(_0x24bf73,_0x2f7718):_0x24bf73,_0x20147d=_0x5280f7[_0x64a2e(0x53a)]-0x1,_0xd48e27;_0x20147d>=0x0;_0x20147d--)(_0xd48e27=_0x5280f7[_0x20147d])&&(_0x3f02d4=(_0x1c1b33?_0xd48e27(_0x24bf73,_0x2f7718,_0x3f02d4):_0xd48e27(_0x3f02d4))||_0x3f02d4);return _0x1c1b33&&_0x3f02d4&&wn(_0x24bf73,_0x2f7718,_0x3f02d4),_0x3f02d4;},Pe=(_0x1d48ca,_0x41ac45)=>(_0x1a4e6f,_0x2c7812)=>_0x41ac45(_0x1a4e6f,_0x2c7812,_0x1d48ca);exports[_0x519f42(0x467)]=class extends a['Disposable']{constructor(_0x2b60d5,_0x4182cf,_0xfc5ba5,_0x3716b6,_0x102d2a){const _0x4fb5d0=_0x519f42;super(),I(this,_0x4fb5d0(0x62c),new Map()),I(this,_0x4fb5d0(0x501),new Map()),I(this,_0x4fb5d0(0x4f7),!0x1),(this[_0x4fb5d0(0x193)]=_0x2b60d5,this[_0x4fb5d0(0x4a7)]=_0x4182cf,this[_0x4fb5d0(0x48d)]=_0xfc5ba5,this[_0x4fb5d0(0x52f)]=_0x3716b6,this[_0x4fb5d0(0x3c7)]=_0x102d2a,this[_0x4fb5d0(0x283)]());}[_0x519f42(0x5de)](){this['_disabled']=!0x0;}[_0x519f42(0x299)](){const _0x6c57b9=_0x519f42;this[_0x6c57b9(0x4f7)]=!0x1;}[_0x519f42(0x5fa)](){const _0x561cc6=_0x519f42;this[_0x561cc6(0x649)]()[_0x561cc6(0x5b5)](()=>super[_0x561cc6(0x5fa)]());}async[_0x519f42(0x39f)](_0x1b5135){const _0x2253e1=_0x519f42;return this[_0x2253e1(0x4f7)]?null:this['_localStorageService'][_0x2253e1(0x446)](kt(_0x1b5135));}async['saveOfflineData'](_0x5883f5,_0x1630f3){const _0xa00960=_0x519f42;return!!this['_localStorageService'][_0xa00960(0x1fd)](_0x5883f5,_0x1630f3);}[_0x519f42(0x21e)](_0x48eb29,_0x11bfea,_0x15fcd9,_0x356465){const _0x9f74b1=_0x519f42,_0x38abf9=this[_0x9f74b1(0x3c7)][_0x9f74b1(0x35e)](_0x48eb29);this[_0x9f74b1(0x62c)][_0x9f74b1(0x3e1)](_0x48eb29,{'unitID':_0x48eb29,'type':_0x11bfea,'awaitingChangeset':_0x15fcd9,'mutations':_0x356465,'rev':_0x38abf9}),this[_0x9f74b1(0x501)][_0x9f74b1(0x443)](_0x48eb29)||this['_scheduleSaving'](_0x48eb29);}[_0x519f42(0x3a9)](_0xa1a02){const _0x587e51=_0x519f42,_0x10db33=this[_0x587e51(0x430)]();_0x10db33===0x0?this[_0x587e51(0x416)](_0xa1a02):this[_0x587e51(0x501)]['set'](_0xa1a02,setTimeout(()=>this[_0x587e51(0x416)](_0xa1a02),_0x10db33));}[_0x519f42(0x430)](){const _0x169118=_0x519f42;var _0x25fafa;return(_0x25fafa=this[_0x169118(0x193)][_0x169118(0x4ba)](Ii))!=null?_0x25fafa:tn;}[_0x519f42(0x416)](_0x57137a){const _0x3c2016=_0x519f42,_0x298d01=this['_saveTaskMap'][_0x3c2016(0x4a6)](_0x57137a);return _0x298d01!==void 0x0&&window[_0x3c2016(0x236)](_0x298d01),this[_0x3c2016(0x4a7)][_0x3c2016(0x1fd)](kt(_0x57137a),this[_0x3c2016(0x62c)][_0x3c2016(0x4a6)](_0x57137a))[_0x3c2016(0x5b5)](()=>this[_0x3c2016(0x501)][_0x3c2016(0x203)](_0x57137a));}async[_0x519f42(0x649)](){const _0x3ff383=_0x519f42,_0x5aac97=[];this[_0x3ff383(0x501)][_0x3ff383(0x24a)]((_0x57a23e,_0x266f73)=>{const _0x121637=_0x3ff383;window[_0x121637(0x236)](_0x57a23e),_0x5aac97['push'](this['_saveCache'](_0x266f73)['then'](()=>{const _0x4c9ab0=_0x121637;this[_0x4c9ab0(0x501)][_0x4c9ab0(0x203)](_0x266f73);}));}),await Promise[_0x3ff383(0x335)](_0x5aac97);}[_0x519f42(0x283)](){const _0x5d5139=_0x519f42;this['disposeWithMe'](this[_0x5d5139(0x48d)][_0x5d5139(0x390)](()=>{const _0x4fef8e=_0x5d5139;if(this['_saveTaskMap'][_0x4fef8e(0x542)])return this[_0x4fef8e(0x52f)]['t'](_0x4fef8e(0x1f5));}));}},exports['LocalCacheService']=Mn([Pe(0x0,a[_0x519f42(0x4e5)]),Pe(0x1,a[_0x519f42(0x2f0)]),Pe(0x2,ee[_0x519f42(0x34b)]),Pe(0x3,a['Inject'](a[_0x519f42(0x609)])),Pe(0x4,a['Inject'](m['RevisionService']))],exports['LocalCacheService']);function kt(_0x128537){const _0x44ef48=_0x519f42;return _0x44ef48(0x307)+_0x128537;}var Nn=Object['defineProperty'],An=Object[_0x519f42(0x544)],Ln=(_0x5175d7,_0x191a63,_0x2a8dca,_0x4b813d)=>{const _0x4eaea3=_0x519f42;for(var _0x141792=_0x4b813d>0x1?void 0x0:_0x4b813d?An(_0x191a63,_0x2a8dca):_0x191a63,_0x49fcd7=_0x5175d7[_0x4eaea3(0x53a)]-0x1,_0x7798e9;_0x49fcd7>=0x0;_0x49fcd7--)(_0x7798e9=_0x5175d7[_0x49fcd7])&&(_0x141792=(_0x4b813d?_0x7798e9(_0x191a63,_0x2a8dca,_0x141792):_0x7798e9(_0x141792))||_0x141792);return _0x4b813d&&_0x141792&&Nn(_0x191a63,_0x2a8dca,_0x141792),_0x141792;},_t=(_0x451bc1,_0x493bb7)=>(_0xd39da6,_0x35983e)=>_0x493bb7(_0xd39da6,_0x35983e,_0x451bc1);function xn(_0x3614ef){const {unitID:_0x2e7c71,mutations:_0x94c05d}=_0x3614ef;return{'unitId':_0x2e7c71,'subUnitId':_0x94c05d[0x0]['params']['subUnitId']};}let Qe=class{constructor(_0x2cd35a,_0x58b650,_0x4201ac){const _0x4795ed=_0x519f42;this[_0x4795ed(0x590)]=_0x2cd35a,this[_0x4795ed(0x2b6)]=_0x58b650,this[_0x4795ed(0x32c)]=_0x4201ac;}[_0x519f42(0x35b)](_0x533362){const _0x4f7812=_0x519f42;var _0xfae88a,_0x4506b2,_0x5d9bc2,_0x18e365;const _0x48a382=this[_0x4f7812(0x590)][_0x4f7812(0x4a6)](k['SheetsSelectionsService']),{unitId:_0x545584,subUnitId:_0x1a8992}=xn(_0x533362),_0x49e61=_0x48a382['getWorkbookSelections'](_0x545584)[_0x4f7812(0x1d6)](),_0x37f643=(_0x4506b2=(_0xfae88a=this[_0x4f7812(0x32c)]['getUnit'](_0x545584))==null?void 0x0:_0xfae88a[_0x4f7812(0x5fc)]())==null?void 0x0:_0x4506b2[_0x4f7812(0x584)]();if(_0x49e61['length']===0x0||!_0x545584||!_0x1a8992)return;const _0x451c58=[{'id':k[_0x4f7812(0x4bd)]['id'],'params':{'unitId':_0x545584,'subUnitId':_0x37f643,'selections':a[_0x4f7812(0x2c8)][_0x4f7812(0x244)](_0x49e61)}}],_0x2e35a2=this[_0x4f7812(0x2b6)]['transformMutationsWithChangeset'](_0x533362,_0x451c58);if(!m[_0x4f7812(0x60d)](_0x2e35a2))throw _0x2e35a2[_0x4f7812(0x1d8)];const _0x3ca33d=(_0x18e365=(_0x5d9bc2=_0x2e35a2[_0x4f7812(0x20d)][0x0])==null?void 0x0:_0x5d9bc2[_0x4f7812(0x322)])==null?void 0x0:_0x18e365[_0x4f7812(0x515)];if(Array[_0x4f7812(0x5f2)](_0x3ca33d)&&_0x3ca33d[_0x4f7812(0x53a)]){if(_0x3ca33d[_0x4f7812(0x53a)]===_0x451c58[0x0][_0x4f7812(0x322)][_0x4f7812(0x515)]['length']&&_0x3ca33d[_0x4f7812(0x3c1)]((_0x1936ba,_0x232b82)=>a[_0x4f7812(0x3f5)][_0x4f7812(0x5d3)](_0x1936ba['range'],_0x451c58[0x0][_0x4f7812(0x322)]['selections'][_0x232b82][_0x4f7812(0x400)])))return;this[_0x4f7812(0x590)][_0x4f7812(0x4a6)](a[_0x4f7812(0x3e8)])[_0x4f7812(0x237)](k[_0x4f7812(0x4bd)]['id'],{'unitId':_0x545584,'subUnitId':_0x37f643,'selections':_0x3ca33d});}}};Qe=Ln([_t(0x0,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),_t(0x1,m[_0x519f42(0x562)]),_t(0x2,a[_0x519f42(0x4aa)])],Qe);const at=a[_0x519f42(0x3c8)](_0x519f42(0x5dd));var yi=(_0xb1bf4b=>(_0xb1bf4b[_0xb1bf4b['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x519f42(0x189),_0xb1bf4b[_0xb1bf4b[_0x519f42(0x4f3)]=0x1]=_0x519f42(0x4f3),_0xb1bf4b))(yi||{});const Wt=0x7530,Ft='ACTIVE_UNIT_EVENT_CHANNEL';class $n extends a['Disposable']{constructor(){const _0x28eef8=_0x519f42;super(),I(this,'_id',a['Tools'][_0x28eef8(0x472)]()),I(this,_0x28eef8(0x421),new Set()),I(this,'_unitOnClients',new Map()),I(this,_0x28eef8(0x1ff),null),I(this,_0x28eef8(0x2e4),new Map()),I(this,'_unitStatus',new Map()),this['_init']();}['dispose'](){const _0x5b8c67=_0x519f42;super[_0x5b8c67(0x5fa)](),this['_clearOtherTimers'][_0x5b8c67(0x24a)]((_0x5cbaf6,_0x3b37bb)=>this[_0x5b8c67(0x600)](_0x3b37bb)),this[_0x5b8c67(0x1ff)]&&window[_0x5b8c67(0x477)](this['_heartbeatTimer']);}[_0x519f42(0x552)](_0x4e7bce){const _0x579832=_0x519f42;return this[_0x579832(0x19a)](_0x4e7bce)[_0x579832(0x641)](N[_0x579832(0x4ff)]());}[_0x519f42(0x401)](_0x2b15f8){const _0x953e53=_0x519f42;this[_0x953e53(0x421)]['size']===0x0&&this[_0x953e53(0x5d0)](),this[_0x953e53(0x421)]['add'](_0x2b15f8),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2b15f8],'isForwarded':!0x1});}[_0x519f42(0x40f)](_0xfd009){const _0x4adf24=_0x519f42;this[_0x4adf24(0x421)][_0x4adf24(0x203)](_0xfd009),this[_0x4adf24(0x421)]['size']===0x0&&this[_0x4adf24(0x1ff)]&&window[_0x4adf24(0x477)](this[_0x4adf24(0x1ff)]);}['_init'](){const _0xe28dcd=_0x519f42;this[_0xe28dcd(0x5db)](a['toDisposable'](N['fromEvent'](window,_0xe28dcd(0x577))[_0xe28dcd(0x1db)](_0x9378a8=>{const _0x49bc3e=_0xe28dcd;if(_0x9378a8[_0x49bc3e(0x2aa)]!==Ft||!_0x9378a8[_0x49bc3e(0x2ad)])return;const _0x2377d6=JSON[_0x49bc3e(0x2f6)](_0x9378a8[_0x49bc3e(0x2ad)]);this[_0x49bc3e(0x1e3)](_0x2377d6);}))),window['addEventListener'](_0xe28dcd(0x514),()=>this['_send']({'type':0x1,'memberID':this[_0xe28dcd(0x568)],'unitIDs':Array[_0xe28dcd(0x3fe)](this[_0xe28dcd(0x421)])}));}[_0x519f42(0x1e3)](_0x3dfc6b){const _0x3facba=_0x519f42;switch(_0x3dfc6b[_0x3facba(0x1d1)]){case 0x0:this[_0x3facba(0x4e3)](_0x3dfc6b);break;case 0x1:this[_0x3facba(0x2dc)](_0x3dfc6b);break;case 0x2:this[_0x3facba(0x5d6)](_0x3dfc6b);break;}}[_0x519f42(0x4e3)](_0x50cf13){const _0x5462d4=_0x519f42,{unitIDs:_0x58b8f9,memberID:_0x198d70,isForwarded:_0x49475a}=_0x50cf13;_0x58b8f9[_0x5462d4(0x24a)](_0x1eee36=>{const _0x54056d=_0x5462d4;if(!_0x49475a&&this['_unitOnClients'][_0x54056d(0x443)](_0x1eee36)&&this[_0x54056d(0x19a)](_0x1eee36)[_0x54056d(0x213)](0x1),!this[_0x54056d(0x374)][_0x54056d(0x443)](_0x1eee36)||!this[_0x54056d(0x374)][_0x54056d(0x4a6)](_0x1eee36)[_0x54056d(0x443)](_0x198d70)){const _0x5dfe3a=this[_0x54056d(0x374)][_0x54056d(0x4a6)](_0x1eee36)||new Set();_0x5dfe3a[_0x54056d(0x556)](_0x198d70),this['_unitOnClients'][_0x54056d(0x3e1)](_0x1eee36,_0x5dfe3a),this[_0x54056d(0x406)](_0x198d70);}}),_0x49475a||this[_0x5462d4(0x425)]({'type':0x0,'memberID':this[_0x5462d4(0x568)],'unitIDs':[...this[_0x5462d4(0x421)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x478e73){const _0x1ced92=_0x519f42;this[_0x1ced92(0x600)](_0x478e73);const _0x3e470e=window[_0x1ced92(0x2e9)](()=>{const _0x59b462=_0x1ced92;this['_unitOnClients'][_0x59b462(0x24a)](_0x1c4b5d=>{const _0xff4ccc=_0x59b462;_0x1c4b5d[_0xff4ccc(0x203)](_0x478e73);});},Wt*0x2);this[_0x1ced92(0x2e4)][_0x1ced92(0x3e1)](_0x478e73,_0x3e470e);}[_0x519f42(0x600)](_0x42c095){const _0x153f4f=_0x519f42;if(this[_0x153f4f(0x2e4)][_0x153f4f(0x443)](_0x42c095)){const _0x4f4689=this[_0x153f4f(0x2e4)]['get'](_0x42c095);_0x4f4689&&window[_0x153f4f(0x236)](_0x4f4689),this[_0x153f4f(0x2e4)][_0x153f4f(0x3e1)](_0x42c095,null);}}[_0x519f42(0x2dc)](_0x1f4051){const _0x5f34d1=_0x519f42,{memberID:_0x383d2d,unitIDs:_0x210441}=_0x1f4051;_0x210441[_0x5f34d1(0x24a)](_0x3b8a51=>{const _0x54f41a=_0x5f34d1;var _0x172dcf;const _0x15cd05=this[_0x54f41a(0x374)][_0x54f41a(0x4a6)](_0x3b8a51);_0x15cd05&&(_0x15cd05[_0x54f41a(0x203)](_0x383d2d),(_0x172dcf=this[_0x54f41a(0x19a)](_0x3b8a51))==null||_0x172dcf[_0x54f41a(0x213)](_0x15cd05[_0x54f41a(0x542)]===0x0?0x0:0x1));}),this[_0x5f34d1(0x600)](_0x383d2d);}[_0x519f42(0x5d6)](_0x2e9d77){const _0x565f0a=_0x519f42;this[_0x565f0a(0x406)](_0x2e9d77[_0x565f0a(0x563)]);}['_send'](_0x10d014){const _0xf2dc9c=_0x519f42;localStorage[_0xf2dc9c(0x1fd)](Ft,JSON[_0xf2dc9c(0x648)](_0x10d014));}[_0x519f42(0x5d0)](){const _0x39abbd=_0x519f42;this[_0x39abbd(0x1ff)]=window[_0x39abbd(0x5f6)](()=>{const _0x13fc91=_0x39abbd;this[_0x13fc91(0x425)]({'type':0x2,'memberID':this['_id']});},Wt);}[_0x519f42(0x19a)](_0x37c83e){const _0x3c75a1=_0x519f42;return this[_0x3c75a1(0x37d)]['has'](_0x37c83e)||this[_0x3c75a1(0x37d)][_0x3c75a1(0x3e1)](_0x37c83e,new N[(_0x3c75a1(0x46f))](0x0)),this[_0x3c75a1(0x37d)][_0x3c75a1(0x4a6)](_0x37c83e);}}var jn=Object[_0x519f42(0x360)],Hn=Object[_0x519f42(0x544)],Bn=(_0xf502c9,_0x90000b,_0x451044,_0x1075fa)=>{const _0x4e3de8=_0x519f42;for(var _0x591c04=_0x1075fa>0x1?void 0x0:_0x1075fa?Hn(_0x90000b,_0x451044):_0x90000b,_0x2b4d50=_0xf502c9[_0x4e3de8(0x53a)]-0x1,_0x10d3e7;_0x2b4d50>=0x0;_0x2b4d50--)(_0x10d3e7=_0xf502c9[_0x2b4d50])&&(_0x591c04=(_0x1075fa?_0x10d3e7(_0x90000b,_0x451044,_0x591c04):_0x10d3e7(_0x591c04))||_0x591c04);return _0x1075fa&&_0x591c04&&jn(_0x90000b,_0x451044,_0x591c04),_0x591c04;},ut=(_0x36f851,_0x46a898)=>(_0x315824,_0x158416)=>_0x46a898(_0x315824,_0x158416,_0x36f851);let et=class{constructor(_0x24ad47,_0x4de3bd,_0x238fe4){const _0x13d7ea=_0x519f42;this['_injector']=_0x24ad47,this[_0x13d7ea(0x2b6)]=_0x4de3bd,this[_0x13d7ea(0x596)]=_0x238fe4;}[_0x519f42(0x3e9)](_0x2dc3c7){this['_transformHistoryAndStateStack'](_0x2dc3c7);}[_0x519f42(0x5ce)](_0x25aee2){const _0x4bdcc6=_0x519f42,{unitID:_0x2bda44}=_0x25aee2,{collaboration:_0x1fa1bc}=this[_0x4bdcc6(0x596)][_0x4bdcc6(0x3d5)](_0x2bda44);if(_0x1fa1bc['length']===0x0)return _0x25aee2;let _0x24ef41=a[_0x4bdcc6(0x2c8)][_0x4bdcc6(0x244)](_0x25aee2[_0x4bdcc6(0x4af)][0x0]);for(let _0x3c858a=0x0;_0x3c858a<_0x1fa1bc[_0x4bdcc6(0x53a)];_0x3c858a++){const _0xcab725={'id':_0x4bdcc6(0x5d5),'params':{'unitId':_0x1fa1bc[_0x3c858a][_0x4bdcc6(0x235)],..._0x1fa1bc[_0x3c858a][_0x4bdcc6(0x2d6)]}},_0x18fbe3=this[_0x4bdcc6(0x2b6)][_0x4bdcc6(0x18f)](_0x24ef41,_0xcab725,!0x1);if(m['isTransformMutationFailure'](_0x18fbe3))throw _0x18fbe3[_0x4bdcc6(0x1d8)];_0x24ef41=_0x18fbe3['m1Prime'];}return{...a['Tools'][_0x4bdcc6(0x244)](_0x25aee2),'mutations':[_0x24ef41]};}[_0x519f42(0x3c0)](_0x284ea2){const _0x5c43a9=_0x519f42,{unitID:_0x1aea0f}=_0x284ea2,{history:_0x34c61a,collaboration:_0x319175}=this[_0x5c43a9(0x596)][_0x5c43a9(0x3d5)](_0x1aea0f);if(_0x34c61a[_0x5c43a9(0x53a)]===0x0&&_0x319175[_0x5c43a9(0x53a)]===0x0)return;const _0xc3a73c=[],_0x571990=[];let _0x82559c=a['Tools'][_0x5c43a9(0x244)](_0x284ea2[_0x5c43a9(0x4af)][0x0]),_0x1477bc=a[_0x5c43a9(0x2c8)][_0x5c43a9(0x244)](_0x284ea2[_0x5c43a9(0x4af)][0x0]);for(let _0x3bd546=_0x34c61a['length']-0x1;_0x3bd546>=0x0;_0x3bd546--){const _0x10bbc4={'id':_0x5c43a9(0x5d5),'params':{'unitId':_0x34c61a[_0x3bd546][_0x5c43a9(0x235)],..._0x34c61a[_0x3bd546]['undoState']}},_0x55fd5e={'id':_0x5c43a9(0x5d5),'params':{'unitId':_0x34c61a[_0x3bd546][_0x5c43a9(0x235)],..._0x34c61a[_0x3bd546][_0x5c43a9(0x2d6)]}},_0x561d83=this['_transformService'][_0x5c43a9(0x18f)](_0x82559c,_0x10bbc4,!0x1),_0x4a0667=this[_0x5c43a9(0x2b6)][_0x5c43a9(0x18f)](_0x1477bc,_0x55fd5e,!0x1);if(m['isTransformMutationFailure'](_0x561d83))throw _0x561d83[_0x5c43a9(0x1d8)];if(m['isTransformMutationFailure'](_0x4a0667))throw _0x4a0667[_0x5c43a9(0x1d8)];_0xc3a73c[_0x5c43a9(0x5ff)]({..._0x34c61a[_0x3bd546],'undoState':_0x561d83[_0x5c43a9(0x20d)][_0x5c43a9(0x322)],'redoState':_0x4a0667[_0x5c43a9(0x20d)][_0x5c43a9(0x322)]}),_0x82559c=_0x561d83['m1Prime'],_0x1477bc=_0x4a0667[_0x5c43a9(0x5fb)];}_0x82559c=a[_0x5c43a9(0x2c8)]['deepClone'](_0x284ea2[_0x5c43a9(0x4af)][0x0]),_0x1477bc=a[_0x5c43a9(0x2c8)][_0x5c43a9(0x244)](_0x284ea2[_0x5c43a9(0x4af)][0x0]);for(let _0x23ad70=_0x319175[_0x5c43a9(0x53a)]-0x1;_0x23ad70>=0x0;_0x23ad70--){const _0x4a16b5={'id':_0x5c43a9(0x5d5),'params':{'unitId':_0x319175[_0x23ad70][_0x5c43a9(0x235)],..._0x319175[_0x23ad70][_0x5c43a9(0x4d9)]}},_0x122be0={'id':_0x5c43a9(0x5d5),'params':{'unitId':_0x319175[_0x23ad70][_0x5c43a9(0x235)],..._0x319175[_0x23ad70][_0x5c43a9(0x2d6)]}},_0x3e65f3=this[_0x5c43a9(0x2b6)][_0x5c43a9(0x18f)](_0x82559c,_0x4a16b5,!0x1),_0x14e5f8=this[_0x5c43a9(0x2b6)][_0x5c43a9(0x18f)](_0x1477bc,_0x122be0,!0x1);if(m[_0x5c43a9(0x447)](_0x3e65f3))throw _0x3e65f3[_0x5c43a9(0x1d8)];if(m[_0x5c43a9(0x447)](_0x14e5f8))throw _0x14e5f8[_0x5c43a9(0x1d8)];_0x571990[_0x5c43a9(0x5ff)]({..._0x319175[_0x23ad70],'undoState':_0x3e65f3[_0x5c43a9(0x20d)][_0x5c43a9(0x322)],'redoState':_0x14e5f8[_0x5c43a9(0x20d)][_0x5c43a9(0x322)]}),_0x82559c=_0x3e65f3[_0x5c43a9(0x5fb)],_0x1477bc=_0x14e5f8[_0x5c43a9(0x5fb)];}this[_0x5c43a9(0x596)][_0x5c43a9(0x543)](_0x1aea0f,{'history':_0xc3a73c,'collaboration':_0x571990});}};et=Bn([ut(0x0,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),ut(0x1,m[_0x519f42(0x562)]),ut(0x2,a[_0x519f42(0x3b4)](J[_0x519f42(0x2ca)]))],et);function Di(_0x30767e){const _0x298f3e=_0x519f42;let _0x475b5c='';for(const _0x26b98f of _0x30767e){const {startOffset:_0x3bc5a5,endOffset:_0x570c62,isActive:_0x154f77,rangeType:_0x96ffb5,segmentId:_0x3af7d9,segmentPage:_0x92d42a}=_0x26b98f;_0x475b5c[_0x298f3e(0x53a)]&&(_0x475b5c+=','),_0x475b5c+=_0x3bc5a5+':'+_0x570c62+':'+(_0x154f77?'1':'0')+':'+_0x96ffb5+':'+_0x3af7d9+':'+_0x92d42a;}return _0x475b5c;}function kn(_0x3779cf){const _0x2f4834=_0x519f42,_0x48230a=_0x3779cf[_0x2f4834(0x3a3)](','),_0x222807=[];for(const _0x531ad5 of _0x48230a){const [_0x2e020f,_0x287dee,_0x214847,_0x12b643,_0x34fc88,_0x4e5ecc]=_0x531ad5['split'](':');_0x222807[_0x2f4834(0x205)]({'startOffset':Number(_0x2e020f),'endOffset':Number(_0x287dee),'collapsed':_0x2e020f===_0x287dee,'isActive':_0x214847==='1','rangeType':_0x12b643===a[_0x2f4834(0x5ae)][_0x2f4834(0x2c6)]?a[_0x2f4834(0x5ae)][_0x2f4834(0x2c6)]:a[_0x2f4834(0x5ae)][_0x2f4834(0x328)],'segmentId':typeof _0x34fc88==_0x2f4834(0x32b)?String(_0x34fc88):'','segmentPage':Number(_0x4e5ecc!=null?_0x4e5ecc:-0x1)});}return _0x222807['some'](_0x424f7d=>_0x424f7d[_0x2f4834(0x5ad)])||(_0x222807[0x0][_0x2f4834(0x5ad)]=!0x0),_0x222807;}class Ut extends a[_0x519f42(0x275)]{constructor(){const _0x492efb=_0x519f42;super(...arguments),I(this,_0x492efb(0x4a0),new N['BehaviorSubject'](null)),I(this,_0x492efb(0x5fe),this[_0x492efb(0x4a0)][_0x492efb(0x20b)]());}[_0x519f42(0x3e3)](_0x5c6138){const _0x132ebc=_0x519f42,{unitID:_0x314b14,memberID:_0xe50aba,textRanges:_0x1ea36c}=_0x5c6138,_0x51b072=Di(_0x1ea36c);if(_0x51b072==='')return;const _0x49400e={'unitID':_0x314b14,'memberID':_0xe50aba,'selection':_0x51b072};this[_0x132ebc(0x4a0)][_0x132ebc(0x213)](_0x49400e);}}var Wn=Object['defineProperty'],Fn=Object[_0x519f42(0x544)],Vn=(_0x23999c,_0x35ff55,_0x58e0f4,_0x2aa8f0)=>{const _0x222a82=_0x519f42;for(var _0x337618=_0x2aa8f0>0x1?void 0x0:_0x2aa8f0?Fn(_0x35ff55,_0x58e0f4):_0x35ff55,_0x1fc1b5=_0x23999c[_0x222a82(0x53a)]-0x1,_0x172c67;_0x1fc1b5>=0x0;_0x1fc1b5--)(_0x172c67=_0x23999c[_0x1fc1b5])&&(_0x337618=(_0x2aa8f0?_0x172c67(_0x35ff55,_0x58e0f4,_0x337618):_0x172c67(_0x337618))||_0x337618);return _0x2aa8f0&&_0x337618&&Wn(_0x35ff55,_0x58e0f4,_0x337618),_0x337618;},Vt=(_0x483529,_0x1a7f4a)=>(_0x29c309,_0xd88af5)=>_0x1a7f4a(_0x29c309,_0xd88af5,_0x483529);let tt=class{constructor(_0xc9b3a6,_0x2d3713){const _0x520f1b=_0x519f42;this[_0x520f1b(0x590)]=_0xc9b3a6,this[_0x520f1b(0x2b6)]=_0x2d3713;}[_0x519f42(0x35b)](_0x5b159f){const _0x137142=_0x519f42;var _0xff69df;const _0x343042=this['_injector'][_0x137142(0x4a6)](Ie['DocSelectionManagerService']),_0xf88a17=(_0xff69df=_0x343042[_0x137142(0x50d)]())!=null?_0xff69df:[];if(_0xf88a17[_0x137142(0x53a)]===0x0)return;const _0x28f548=_0x5b159f[_0x137142(0x57d)],_0x9b2fba=[{'id':_0x137142(0x5d5),'params':{'unitId':_0x28f548,'actions':null,'textRanges':_0xf88a17}}],_0x1ba59c=this[_0x137142(0x2b6)]['transformMutationsWithChangeset'](_0x5b159f,_0x9b2fba);if(!m[_0x137142(0x60d)](_0x1ba59c))throw _0x1ba59c[_0x137142(0x1d8)];const _0xfc367b=_0x1ba59c[_0x137142(0x20d)][0x0][_0x137142(0x322)][_0x137142(0x1e0)];Array['isArray'](_0xfc367b)&&_0xfc367b[_0x137142(0x53a)]&&_0x343042[_0x137142(0x28a)](_0xfc367b,{'unitId':_0x28f548,'subUnitId':_0x28f548},!0x1);}};tt=Vn([Vt(0x0,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),Vt(0x1,m[_0x519f42(0x562)])],tt);const Gn=new Set([k[_0x519f42(0x539)]['id']]);function Gt(_0x177022,_0x5e51a3,_0x2bb207,_0x17fabd,_0x7f83e){const _0x47cb71=_0x519f42;var _0x1c4a07,_0x2b51ae,_0x321db8,_0x19d02b;const _0x4a45d5=[];for(const _0xc0575b of _0x177022)if(Gn['has'](_0xc0575b['id'])){if(_0x4a45d5[_0x47cb71(0x53a)]>0x0)break;_0x4a45d5[_0x47cb71(0x205)](_0xc0575b);break;}else _0x4a45d5[_0x47cb71(0x205)](_0xc0575b);const _0xa1bdab=(_0x2b51ae=(_0x1c4a07=_0x7f83e[_0x47cb71(0x484)]())==null?void 0x0:_0x1c4a07[_0x47cb71(0x20a)])!=null?_0x2b51ae:'unknown',_0x49ecac=(_0x19d02b=(_0x321db8=_0x7f83e[_0x47cb71(0x484)]())==null?void 0x0:_0x321db8[_0x47cb71(0x563)])!=null?_0x19d02b:'unknown';return{'changeset':{'unitID':_0x5e51a3,'type':m['mapDocumentTypeToUniverType'](_0x2bb207[_0x47cb71(0x499)](_0x5e51a3)),'baseRev':_0x17fabd[_0x47cb71(0x35e)](_0x5e51a3),'revision':0x0,'userID':_0xa1bdab,'memberID':_0x49ecac,'mutations':_0x4a45d5},'pendingMutations':_0x177022['slice'](_0x4a45d5[_0x47cb71(0x53a)])};}function Yn(_0x331b16,_0x1ef47a,_0xc87dd5,_0x60fdf,_0x4eb337){const _0x40cecb=_0x519f42;var _0x50a0b4,_0xf73d12,_0x5bb72d,_0x18b75e;const _0x46e001=[_0x331b16['reduce']((_0x36f2e6,_0x3c968e)=>{const _0x13a00d=_0x3f43;var _0x46c0bd;const {id:_0x38d083}=_0x36f2e6,{id:_0xb072f,type:_0x455827}=_0x3c968e,_0x2a8a34=(_0x46c0bd=_0x36f2e6[_0x13a00d(0x322)])!=null?_0x46c0bd:{'actions':null},_0x848fc7=_0x3c968e[_0x13a00d(0x322)];if(_0x38d083&&_0x38d083!==_0xb072f)throw new Error(_0x13a00d(0x281)+_0x38d083+'\x20-\x20'+_0xb072f+'.');return{..._0x36f2e6,'id':_0xb072f,'type':_0x455827,'params':{'unitId':_0x848fc7[_0x13a00d(0x235)],'textRanges':_0x848fc7[_0x13a00d(0x1e0)],'actions':a[_0x13a00d(0x339)]['compose'](_0x2a8a34['actions'],_0x848fc7[_0x13a00d(0x36a)])}};},{})],_0x229144=(_0xf73d12=(_0x50a0b4=_0x4eb337['getCurrentUser']())==null?void 0x0:_0x50a0b4[_0x40cecb(0x20a)])!=null?_0xf73d12:_0x40cecb(0x2b7),_0xb823f0=(_0x18b75e=(_0x5bb72d=_0x4eb337['getCurrentUser']())==null?void 0x0:_0x5bb72d['memberID'])!=null?_0x18b75e:'unknown';return{'changeset':{'unitID':_0x1ef47a,'type':m[_0x40cecb(0x33b)](_0xc87dd5['getUnitType'](_0x1ef47a)),'baseRev':_0x60fdf[_0x40cecb(0x35e)](_0x1ef47a),'revision':0x0,'userID':_0x229144,'memberID':_0xb823f0,'mutations':_0x46e001},'pendingMutations':[]};}function Pi(_0x52dd10,_0x538561){const _0x23699b=_0x519f42,_0x35f2e3=new N[(_0x23699b(0x239))](0x1);return setTimeout(()=>_0x35f2e3[_0x23699b(0x213)](_0x538561),_0x52dd10),_0x35f2e3[_0x23699b(0x20b)]()[_0x23699b(0x641)](N[_0x23699b(0x292)](0x1));}const qn={'id':k[_0x519f42(0x4ea)]['id'],'type':a['CommandType'][_0x519f42(0x53f)],'params':{}};var Kn=Object['defineProperty'],zn=Object[_0x519f42(0x544)],Ee=(_0x4901be,_0x2c838f,_0xa9be65,_0x318094)=>{const _0x5a526b=_0x519f42;for(var _0x59b75a=_0x318094>0x1?void 0x0:_0x318094?zn(_0x2c838f,_0xa9be65):_0x2c838f,_0x3d8dab=_0x4901be[_0x5a526b(0x53a)]-0x1,_0x20931d;_0x3d8dab>=0x0;_0x3d8dab--)(_0x20931d=_0x4901be[_0x3d8dab])&&(_0x59b75a=(_0x318094?_0x20931d(_0x2c838f,_0xa9be65,_0x59b75a):_0x20931d(_0x59b75a))||_0x59b75a);return _0x318094&&_0x59b75a&&Kn(_0x2c838f,_0xa9be65,_0x59b75a),_0x59b75a;},A=(_0x24f679,_0x1afaa3)=>(_0x42ea23,_0x59281e)=>_0x1afaa3(_0x42ea23,_0x59281e,_0x24f679),K=(_0x4e8db9=>(_0x4e8db9[_0x519f42(0x46c)]=_0x519f42(0x612),_0x4e8db9[_0x519f42(0x445)]=_0x519f42(0x270),_0x4e8db9['PENDING']='pending',_0x4e8db9[_0x519f42(0x57b)]=_0x519f42(0x4fb),_0x4e8db9[_0x519f42(0x540)]=_0x519f42(0x312),_0x4e8db9[_0x519f42(0x52b)]=_0x519f42(0x5cb),_0x4e8db9[_0x519f42(0x51f)]=_0x519f42(0x309),_0x4e8db9[_0x519f42(0x419)]='offline',_0x4e8db9))(K||{});const wi=0xea60;class be{constructor(_0x1adfa8,_0x3d5a99,_0x4a5f16,_0x1d0e6f,_0x4daf08,_0x3571a3,_0x134dd2,_0x5cb90d,_0x5c88f4){const _0x422542=_0x519f42;I(this,_0x422542(0x43c),null),I(this,_0x422542(0x1c0),[]),(this[_0x422542(0x57d)]=_0x1adfa8,this[_0x422542(0x1d1)]=_0x3d5a99,this['_handler']=_0x4daf08,this[_0x422542(0x636)]=_0x3571a3,this['_undoRedoService']=_0x134dd2,this[_0x422542(0x3c7)]=_0x5cb90d,this[_0x422542(0x5ca)]=_0x5c88f4,this[_0x422542(0x43c)]=_0x4a5f16,this['_pendingMutations']=_0x1d0e6f);}[_0x519f42(0x647)](_0x23893e){const _0x4af999=_0x519f42,_0xd46cb5=this[_0x4af999(0x3c7)][_0x4af999(0x35e)](this['unitID']);return _0x23893e[_0x4af999(0x4db)]>_0xd46cb5+0x1?(this['_handler'][_0x4af999(0x442)]({'from':_0xd46cb5,'to':_0x23893e[_0x4af999(0x4db)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x4fe4c5){const _0x42d48b=_0x519f42;this['_undoRedoService'][_0x42d48b(0x46b)](this[_0x42d48b(0x57d)],_0x4fe4c5);}[_0x519f42(0x3a2)](_0x56a0db){const _0x4c3992=_0x519f42;var _0x40512c,_0x449564;(_0x449564=(_0x40512c=this['_handler'])[_0x4c3992(0x523)])==null||_0x449564[_0x4c3992(0x3bb)](_0x40512c,_0x56a0db);}[_0x519f42(0x5cf)](_0x32c904){const _0x161e87=_0x519f42;var _0x1305ff,_0x3d030b;return(_0x3d030b=(_0x1305ff=this[_0x161e87(0x3e2)])[_0x161e87(0x60e)])==null?void 0x0:_0x3d030b[_0x161e87(0x3bb)](_0x1305ff,_0x32c904);}[_0x519f42(0x4f0)](_0x24a459){const _0x44228c=_0x519f42;var _0x35febf,_0x2a3a82;return(_0x2a3a82=(_0x35febf=this[_0x44228c(0x3e2)])[_0x44228c(0x176)])==null?void 0x0:_0x2a3a82[_0x44228c(0x3bb)](_0x35febf,_0x24a459);}[_0x519f42(0x1b8)](_0x4fbb56){const _0x142767=_0x519f42;var _0x4f60ac,_0x217d8b,_0xec5697;return(_0xec5697=(_0x217d8b=(_0x4f60ac=this[_0x142767(0x3e2)])[_0x142767(0x1f8)])==null?void 0x0:_0x217d8b[_0x142767(0x3bb)](_0x4f60ac,_0x4fbb56))!=null?_0xec5697:_0x4fbb56;}[_0x519f42(0x202)](_0x50661c){const _0x362f2d=_0x519f42;var _0x194225,_0x5a2479,_0xd7727e;return(_0xd7727e=(_0x5a2479=(_0x194225=this[_0x362f2d(0x3e2)])[_0x362f2d(0x5ef)])==null?void 0x0:_0x5a2479[_0x362f2d(0x3bb)](_0x194225,_0x50661c))!=null?_0xd7727e:_0x50661c;}[_0x519f42(0x54c)](_0xc1d167){const _0x45e50a=_0x519f42;var _0x7db44d,_0x382a4d;if(this[_0x45e50a(0x1d1)]===ie[_0x45e50a(0x249)]){const {unitID:_0x5eaa61,mutations:_0x523fb7,memberID:_0x5d0d44}=_0xc1d167,_0xbabe37=_0x523fb7[0x0][_0x45e50a(0x322)][_0x45e50a(0x1e0)];Array[_0x45e50a(0x5f2)](_0xbabe37)&&_0xbabe37['length']>0x0&&((_0x382a4d=(_0x7db44d=this[_0x45e50a(0x3e2)])[_0x45e50a(0x4f1)])==null||_0x382a4d[_0x45e50a(0x3bb)](_0x7db44d,{'unitID':_0x5eaa61,'memberID':_0x5d0d44,'textRanges':_0xbabe37}));}}[_0x519f42(0x48b)](){const _0x3b72f3=_0x519f42;this[_0x3b72f3(0x5ca)]['updateOfflineData'](this[_0x3b72f3(0x57d)],this[_0x3b72f3(0x1d1)],this[_0x3b72f3(0x43c)],this[_0x3b72f3(0x1c0)]);}['_getCurrentRevision'](){const _0x5b9640=_0x519f42;return this['_revisionService'][_0x5b9640(0x35e)](this[_0x5b9640(0x57d)]);}['_incrementRevisionNumber'](){const _0x241764=_0x519f42;this[_0x241764(0x3c7)][_0x241764(0x1c1)](this[_0x241764(0x57d)]);}[_0x519f42(0x547)](_0x50f0a3){const _0x24e337=_0x519f42;var _0x21c2f0;let _0xe0287c=this['_transformRemoteChangesetByIMECache'](_0x50f0a3);_0xe0287c=this['_transformRemoteChangesetByStateCache'](_0xe0287c);const _0xf8486b=a[_0x24e337(0x240)](_0xe0287c[_0x24e337(0x4af)],this['_commandService'],{'fromCollab':!0x0});if(!_0xf8486b[_0x24e337(0x5f0)])throw _0xf8486b[_0x24e337(0x1d8)]instanceof Error?_0xf8486b[_0x24e337(0x1d8)]:new Error((_0x21c2f0=_0xf8486b[_0x24e337(0x1d8)])!=null?_0x21c2f0:_0x24e337(0x1b6));this[_0x24e337(0x5cf)](_0xe0287c),this[_0x24e337(0x4f0)](_0xe0287c),this[_0x24e337(0x424)](_0x50f0a3),this[_0x24e337(0x3a2)](_0xe0287c),this[_0x24e337(0x54c)](_0xe0287c),this[_0x24e337(0x637)]();}}let Oe=class extends be{constructor(_0x36e983,_0x417148,_0x27c75e,_0x4cbc3b,_0x246c62,_0x51e951,_0x4dc59b,_0x4104b0,_0x1028f6,_0x35b80c){const _0x10d039=_0x519f42;super(_0x36e983,_0x417148,null,[],_0x27c75e,_0x4104b0,_0x4dc59b,_0x4cbc3b,_0x246c62),I(this,_0x10d039(0x32e),'synced'),(this[_0x10d039(0x590)]=_0x51e951,this[_0x10d039(0x392)]=_0x1028f6,this[_0x10d039(0x2b6)]=_0x35b80c);}[_0x519f42(0x26f)](_0x23c4fc){const _0x477000=_0x519f42,_0xab86dc=this['_injector']['createInstance'](ae,this[_0x477000(0x57d)],this['type'],[_0x23c4fc],this['_handler']);return _0xab86dc[_0x477000(0x1e8)](),_0xab86dc[_0x477000(0x48b)](),_0xab86dc;}[_0x519f42(0x4de)](_0x15ce51){const _0xe4c532=_0x519f42;if(this[_0xe4c532(0x647)](_0x15ce51))return this[_0xe4c532(0x590)][_0xe4c532(0x35c)](re,this['unitID'],this[_0xe4c532(0x1d1)],null,[],null,[_0x15ce51],this[_0xe4c532(0x3e2)]);try{const _0x46aa9c=this[_0xe4c532(0x2b6)][_0xe4c532(0x187)](_0x15ce51,[qn]);if(m['isTransformMutationsWithChangesetSuccess'](_0x46aa9c)){const {c1Prime:_0x42238b}=_0x46aa9c;return this[_0xe4c532(0x547)](_0x42238b),this;}throw _0x46aa9c[_0xe4c532(0x1d8)];}catch(_0x8bf551){return this[_0xe4c532(0x392)][_0xe4c532(0x1d8)](_0x8bf551),this[_0xe4c532(0x178)](!0x1);}}[_0x519f42(0x178)](_0x2180f1){const _0x20deb6=_0x519f42;return this['_injector'][_0x20deb6(0x35c)](fe,this[_0x20deb6(0x57d)],this[_0x20deb6(0x1d1)],null,[],this[_0x20deb6(0x3e2)],_0x2180f1);}[_0x519f42(0x17e)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x519f42(0x195)](){const _0x2dbb77=_0x519f42;throw new Error(_0x2dbb77(0x516));}['onRemoteRetry'](){return this;}[_0x519f42(0x349)](){const _0x333ff6=_0x519f42;return this[_0x333ff6(0x590)][_0x333ff6(0x35c)](ve,this['unitID'],this[_0x333ff6(0x1d1)],null,[],this[_0x333ff6(0x3e2)]);}[_0x519f42(0x46e)](){return this;}[_0x519f42(0x48a)](){const _0x1a80f1=_0x519f42;throw new Error(_0x1a80f1(0x4b3));}[_0x519f42(0x520)](){const _0x29475b=_0x519f42,_0x24401a=this[_0x29475b(0x3c7)]['getCurrentRevOfUnit'](this[_0x29475b(0x57d)]);return this[_0x29475b(0x3e2)]['onMissingChangesets']({'from':_0x24401a,'to':0x0}),this['_injector']['createInstance'](re,this[_0x29475b(0x57d)],this[_0x29475b(0x1d1)],null,[],null,[],this[_0x29475b(0x3e2)]);}};Oe=Ee([A(0x3,a['Inject'](m['RevisionService'])),A(0x4,a['Inject'](exports['LocalCacheService'])),A(0x5,a[_0x519f42(0x3b4)](a['Injector'])),A(0x6,a['IUndoRedoService']),A(0x7,a[_0x519f42(0x3e8)]),A(0x8,a[_0x519f42(0x5eb)]),A(0x9,m[_0x519f42(0x562)])],Oe);let ae=class extends be{constructor(_0x48864f,_0x2dee0e,_0x1a0abb,_0x547c93,_0x1dd2fc,_0x12fcde,_0x4a0af2,_0x30f42,_0x267850,_0x2b4883,_0x326545,_0x28c5f7,_0xf271a7,_0x28f208){const _0x4f14c2=_0x519f42;super(_0x48864f,_0x2dee0e,null,_0x1a0abb,_0x547c93,_0x2b4883,_0x28f208,_0x12fcde,_0x4a0af2),I(this,_0x4f14c2(0x32e),'pending'),I(this,_0x4f14c2(0x595),null),I(this,_0x4f14c2(0x483),null),(this[_0x4f14c2(0x590)]=_0x1dd2fc,this[_0x4f14c2(0x24e)]=_0x30f42,this[_0x4f14c2(0x392)]=_0x267850,this[_0x4f14c2(0x193)]=_0x326545,this[_0x4f14c2(0x2b6)]=_0x28c5f7,this['_univerInstanceService']=_0xf271a7);}['appendMutation'](_0x5189c6){const _0x416410=_0x519f42;return this[_0x416410(0x1c0)][_0x416410(0x205)](_0x5189c6),this[_0x416410(0x48b)](),this;}['onRemoteChangeset'](_0x5105ee){const _0x441bc6=_0x519f42;if(this[_0x441bc6(0x647)](_0x5105ee))return this[_0x441bc6(0x458)](),this[_0x441bc6(0x590)][_0x441bc6(0x35c)](re,this[_0x441bc6(0x57d)],this[_0x441bc6(0x1d1)],null,this[_0x441bc6(0x1c0)],null,[_0x5105ee],this[_0x441bc6(0x3e2)]);try{const _0xbf551c=this[_0x441bc6(0x2b6)][_0x441bc6(0x187)](_0x5105ee,this[_0x441bc6(0x1c0)]);if(m['isTransformMutationsWithChangesetSuccess'](_0xbf551c)){const {c1Prime:_0x3f6f47,m2Prime:_0x1b39c6}=_0xbf551c;this[_0x441bc6(0x547)](_0x3f6f47);const _0x4edc8d=this[_0x441bc6(0x590)][_0x441bc6(0x35c)](ae,this[_0x441bc6(0x57d)],this[_0x441bc6(0x1d1)],_0x1b39c6,this['_handler']);return this[_0x441bc6(0x458)](),_0x4edc8d[_0x441bc6(0x1e8)](this[_0x441bc6(0x595)]?Math['max'](0x0,new Date()['getTime']()-this[_0x441bc6(0x595)]):this[_0x441bc6(0x510)]()),_0x4edc8d;}throw _0xbf551c['error'];}catch(_0x42a917){return this[_0x441bc6(0x392)][_0x441bc6(0x1d8)](_0x42a917),this[_0x441bc6(0x178)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x519f42(0x195)](){const _0x465e6c=_0x519f42;throw new Error(_0x465e6c(0x4b4));}[_0x519f42(0x277)](){return this;}[_0x519f42(0x349)](){const _0x3bdbe3=_0x519f42;return this['_clearScheduledTask'](),this[_0x3bdbe3(0x590)][_0x3bdbe3(0x35c)](ve,this[_0x3bdbe3(0x57d)],this['type'],null,this[_0x3bdbe3(0x1c0)],this['_handler']);}[_0x519f42(0x46e)](){return this;}[_0x519f42(0x1e8)](_0x4a4326){const _0x5f0517=_0x519f42,_0x5dbda9=_0x4a4326!=null?_0x4a4326:this[_0x5f0517(0x510)]();this['_scheduleTimestamp']=new Date()[_0x5f0517(0x345)](),this[_0x5f0517(0x483)]=window['setTimeout'](()=>{const _0x24fdc3=_0x5f0517;this['_clearScheduledTask']();let _0x3060c4=null;switch(this[_0x24fdc3(0x1d1)]){case ie[_0x24fdc3(0x248)]:{_0x3060c4=Gt(this[_0x24fdc3(0x1c0)],this[_0x24fdc3(0x57d)],this[_0x24fdc3(0x403)],this[_0x24fdc3(0x3c7)],this[_0x24fdc3(0x24e)]);break;}case ie[_0x24fdc3(0x249)]:{this[_0x24fdc3(0x1c0)][_0x24fdc3(0x3c1)](_0x3d6578=>_0x3d6578['id']===Ie[_0x24fdc3(0x1ad)]['id'])?_0x3060c4=Yn(this[_0x24fdc3(0x1c0)],this[_0x24fdc3(0x57d)],this[_0x24fdc3(0x403)],this[_0x24fdc3(0x3c7)],this[_0x24fdc3(0x24e)]):_0x3060c4=Gt(this[_0x24fdc3(0x1c0)],this['unitID'],this[_0x24fdc3(0x403)],this['_revisionService'],this[_0x24fdc3(0x24e)]);break;}default:throw new Error(_0x24fdc3(0x417)+this[_0x24fdc3(0x1d1)]+'\x20in\x20_schedule.');}const {changeset:_0x132809,pendingMutations:_0xf3043f}=_0x3060c4;this['_handler']['onSendChangeset'](_0x132809);const _0x42806f=_0xf3043f[_0x24fdc3(0x53a)]?this['_injector'][_0x24fdc3(0x35c)](ce,this[_0x24fdc3(0x57d)],this[_0x24fdc3(0x1d1)],_0x132809,_0xf3043f,this[_0x24fdc3(0x3e2)],void 0x0):this['_injector']['createInstance'](de,this[_0x24fdc3(0x57d)],this[_0x24fdc3(0x1d1)],_0x132809,this[_0x24fdc3(0x3e2)]);_0x42806f['_updateLocalCache'](),this[_0x24fdc3(0x3e2)][_0x24fdc3(0x23b)](this,_0x42806f);},_0x5dbda9);}[_0x519f42(0x510)](){const _0x307de6=_0x519f42;var _0x4f54a7;const _0x310417=this['_configService'][_0x307de6(0x4ba)](Z);return(_0x4f54a7=_0x310417==null?void 0x0:_0x310417[_0x307de6(0x183)])!=null?_0x4f54a7:zi;}['resend'](){const _0x437b2f=_0x519f42;throw new Error(_0x437b2f(0x36f));}[_0x519f42(0x458)](){const _0x2158aa=_0x519f42;this[_0x2158aa(0x483)]!=null&&(clearTimeout(this[_0x2158aa(0x483)]),this['_sendingTimer']=null);}[_0x519f42(0x178)](_0xb9a5c9){const _0x175e64=_0x519f42;return this[_0x175e64(0x458)](),this[_0x175e64(0x590)]['createInstance'](fe,this[_0x175e64(0x57d)],this[_0x175e64(0x1d1)],null,this[_0x175e64(0x1c0)],this[_0x175e64(0x3e2)],_0xb9a5c9);}};ae=Ee([A(0x4,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),A(0x5,a[_0x519f42(0x3b4)](m[_0x519f42(0x404)])),A(0x6,a['Inject'](exports[_0x519f42(0x467)])),A(0x7,a[_0x519f42(0x3b4)](exports[_0x519f42(0x1f6)])),A(0x8,a[_0x519f42(0x5eb)]),A(0x9,a[_0x519f42(0x3e8)]),A(0xa,a[_0x519f42(0x4e5)]),A(0xb,m[_0x519f42(0x562)]),A(0xc,a[_0x519f42(0x4aa)]),A(0xd,a['IUndoRedoService'])],ae);let de=class extends be{constructor(_0x2ab3a3,_0x34b1f6,_0x2fc24f,_0x5a8091,_0x5a9b63,_0x510787,_0x123974,_0x2043af,_0x4e40c1,_0x2580da,_0x17481e){const _0x4aced8=_0x519f42;super(_0x2ab3a3,_0x34b1f6,_0x2fc24f,[],_0x5a8091,_0x2043af,_0x17481e,_0x510787,_0x123974),I(this,_0x4aced8(0x32e),_0x4aced8(0x4fb)),I(this,_0x4aced8(0x201),0x0),I(this,'_resendTimer'),I(this,'_sender'),(this[_0x4aced8(0x590)]=_0x5a9b63,this[_0x4aced8(0x392)]=_0x4e40c1,this[_0x4aced8(0x2b6)]=_0x2580da);}[_0x519f42(0x26f)](_0x16c12b){const _0x4dd719=_0x519f42;this[_0x4dd719(0x458)]();const _0x5e3b62=this[_0x4dd719(0x590)][_0x4dd719(0x35c)](ce,this[_0x4dd719(0x57d)],this[_0x4dd719(0x1d1)],this[_0x4dd719(0x43c)],[_0x16c12b],this[_0x4dd719(0x3e2)],this['_resendTimer']);return _0x5e3b62[_0x4dd719(0x48b)](),_0x5e3b62;}[_0x519f42(0x4de)](_0x70beee){const _0x4f9a44=_0x519f42;if(this[_0x4f9a44(0x647)](_0x70beee))return this[_0x4f9a44(0x458)](),this[_0x4f9a44(0x590)][_0x4f9a44(0x35c)](re,this['unitID'],this['type'],this[_0x4f9a44(0x43c)],[],null,[_0x70beee],this[_0x4f9a44(0x3e2)]);try{const _0x2e2fc8=this['_transformService'][_0x4f9a44(0x45f)]([_0x70beee],[this['_awaitingChangeset']],!0x1);if(m[_0x4f9a44(0x61e)](_0x2e2fc8)){const {c1Prime:_0x3e3b3b,c2Prime:_0x1d6183}=_0x2e2fc8;this[_0x4f9a44(0x547)](_0x3e3b3b[0x0]),_0x1d6183[0x0][_0x4f9a44(0x1ef)]=this[_0x4f9a44(0x532)](),this['_clearScheduledTask']();const _0x37930c=this[_0x4f9a44(0x590)][_0x4f9a44(0x35c)](de,this[_0x4f9a44(0x57d)],this[_0x4f9a44(0x1d1)],_0x1d6183[0x0],this[_0x4f9a44(0x3e2)]);return _0x37930c[_0x4f9a44(0x48b)](),_0x37930c;}return this[_0x4f9a44(0x178)](!0x1);}catch(_0x4da289){return this[_0x4f9a44(0x392)][_0x4f9a44(0x1d8)](_0x4da289),this[_0x4f9a44(0x178)](!0x1);}}[_0x519f42(0x17e)](_0x56e032){const _0x1d2e84=_0x519f42;this[_0x1d2e84(0x458)]();const _0x5ea485=this[_0x1d2e84(0x3c7)][_0x1d2e84(0x35e)](this[_0x1d2e84(0x57d)]);if(_0x56e032[_0x1d2e84(0x4db)]<_0x5ea485-0x1)return this;if(this[_0x1d2e84(0x647)](_0x56e032))return this[_0x1d2e84(0x590)][_0x1d2e84(0x35c)](re,this['unitID'],this['type'],null,[],this[_0x1d2e84(0x43c)],[],this[_0x1d2e84(0x3e2)]);this[_0x1d2e84(0x637)]();const _0x1f5a87=this[_0x1d2e84(0x590)]['createInstance'](Oe,this[_0x1d2e84(0x57d)],this[_0x1d2e84(0x1d1)],this[_0x1d2e84(0x3e2)]);return _0x1f5a87[_0x1d2e84(0x48b)](),_0x1f5a87;}[_0x519f42(0x195)](_0x350c62){const _0x484587=_0x519f42;return this[_0x484587(0x178)](!!(_0x350c62!=null&&_0x350c62[_0x484587(0x29e)]));}[_0x519f42(0x277)](_0xa33399){const _0x4ae7dc=_0x519f42;return this['_resendTimeout']>wi?this[_0x4ae7dc(0x349)]():(this[_0x4ae7dc(0x17d)]=Pi(this[_0x4ae7dc(0x201)],{'timeout':this[_0x4ae7dc(0x201)],'reqId':_0xa33399[_0x4ae7dc(0x30e)]}),this['_sender']=this[_0x4ae7dc(0x17d)][_0x4ae7dc(0x1db)](({reqId:_0x365b48,timeout:_0x575682})=>{this['_resendWithTimeout'](_0x365b48,_0x575682);}),this);}[_0x519f42(0x349)](){const _0x57140b=_0x519f42;return this[_0x57140b(0x458)](),this[_0x57140b(0x590)][_0x57140b(0x35c)](ve,this[_0x57140b(0x57d)],this[_0x57140b(0x1d1)],this[_0x57140b(0x43c)],[],this['_handler']);}[_0x519f42(0x46e)](){return this;}['resend'](){const _0x1cca61=_0x519f42;this[_0x1cca61(0x3e2)][_0x1cca61(0x29b)](this[_0x1cca61(0x43c)]);}[_0x519f42(0x178)](_0xfb9890){const _0x271201=_0x519f42;return this[_0x271201(0x458)](),this[_0x271201(0x590)][_0x271201(0x35c)](fe,this[_0x271201(0x57d)],this[_0x271201(0x1d1)],this[_0x271201(0x43c)],[],this['_handler'],_0xfb9890);}[_0x519f42(0x338)](_0x5439e9,_0x3b4166){const _0x1248ab=_0x519f42;var _0x40c568;_0x5439e9===((_0x40c568=this[_0x1248ab(0x43c)])==null?void 0x0:_0x40c568[_0x1248ab(0x30e)])&&(this[_0x1248ab(0x48a)](),this['_resendTimeout']=_0x3b4166===0x0?0x3e8:_0x3b4166*0x2);}[_0x519f42(0x458)](){const _0x7dd2f4=_0x519f42;var _0x1bd977;(_0x1bd977=this[_0x7dd2f4(0x22e)])==null||_0x1bd977['unsubscribe'](),this[_0x7dd2f4(0x201)]=0x0;}};de=Ee([A(0x4,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),A(0x5,a[_0x519f42(0x3b4)](m['RevisionService'])),A(0x6,a['Inject'](exports['LocalCacheService'])),A(0x7,a[_0x519f42(0x3e8)]),A(0x8,a[_0x519f42(0x5eb)]),A(0x9,m[_0x519f42(0x562)]),A(0xa,a[_0x519f42(0x2da)])],de);let ce=class extends be{constructor(_0x1ccb96,_0xe50b75,_0x15005a,_0x3c87e0,_0x2fcb1c,_0x45b3f3,_0x2bc39f,_0x9994b0,_0x361477,_0x1e8d6c,_0x228b21,_0x509285,_0x5dd618){const _0x2d06c1=_0x519f42;super(_0x1ccb96,_0xe50b75,_0x15005a,_0x3c87e0,_0x2fcb1c,_0x1e8d6c,_0x5dd618,_0x9994b0,_0x361477),I(this,_0x2d06c1(0x32e),_0x2d06c1(0x312)),I(this,'_resendTimeout',0x0),I(this,_0x2d06c1(0x17d)),I(this,_0x2d06c1(0x22e)),(this[_0x2d06c1(0x590)]=_0x2bc39f,this['_logService']=_0x228b21,this['_transformService']=_0x509285,_0x45b3f3&&(this[_0x2d06c1(0x17d)]=_0x45b3f3,this[_0x2d06c1(0x22e)]=this[_0x2d06c1(0x17d)][_0x2d06c1(0x1db)](({reqId:_0x2f92a9,timeout:_0x1cb7bb})=>{const _0x19accc=_0x2d06c1;this[_0x19accc(0x338)](_0x2f92a9,_0x1cb7bb);})));}[_0x519f42(0x26f)](_0x174e2f){const _0x6ee3b9=_0x519f42;return this[_0x6ee3b9(0x1c0)]['push'](_0x174e2f),this;}['onRemoteChangeset'](_0x127888){const _0x5914d5=_0x519f42;if(this[_0x5914d5(0x647)](_0x127888))return this['_clearScheduledTask'](),this['_injector'][_0x5914d5(0x35c)](re,this[_0x5914d5(0x57d)],this[_0x5914d5(0x1d1)],this[_0x5914d5(0x43c)],this['_pendingMutations'],null,[_0x127888],this[_0x5914d5(0x3e2)]);try{const _0x20ec2b=this[_0x5914d5(0x2b6)][_0x5914d5(0x45f)]([_0x127888],[this[_0x5914d5(0x43c)]],!0x1);if(m[_0x5914d5(0x61e)](_0x20ec2b)){const {c1Prime:_0x2cd9a8,c2Prime:_0x52a8fb}=_0x20ec2b,_0x46607c=this[_0x5914d5(0x2b6)][_0x5914d5(0x187)](_0x2cd9a8[0x0],this[_0x5914d5(0x1c0)]);if(m[_0x5914d5(0x60d)](_0x46607c)){const {c1Prime:_0x2c428b,m2Prime:_0xa935d4}=_0x46607c;return this[_0x5914d5(0x547)](_0x2c428b),_0x52a8fb[0x0][_0x5914d5(0x1ef)]=this[_0x5914d5(0x532)](),this[_0x5914d5(0x458)](),this[_0x5914d5(0x590)][_0x5914d5(0x35c)](ce,this[_0x5914d5(0x57d)],this['type'],_0x52a8fb[0x0],_0xa935d4,this[_0x5914d5(0x3e2)],void 0x0);}throw _0x46607c[_0x5914d5(0x1d8)];}throw _0x20ec2b[_0x5914d5(0x1d8)];}catch(_0x421abc){return this[_0x5914d5(0x392)][_0x5914d5(0x1d8)](_0x421abc),this[_0x5914d5(0x178)](!0x1);}}['onRemoteAck'](_0x148d3e){const _0x4274d7=_0x519f42;if(this[_0x4274d7(0x458)](),this[_0x4274d7(0x647)](_0x148d3e))return this['_injector']['createInstance'](re,this[_0x4274d7(0x57d)],this[_0x4274d7(0x1d1)],null,this[_0x4274d7(0x1c0)],this['_awaitingChangeset'],[],this['_handler']);this[_0x4274d7(0x637)]();const _0x5ac821=this['_injector'][_0x4274d7(0x35c)](ae,this[_0x4274d7(0x57d)],this['type'],this[_0x4274d7(0x1c0)],this[_0x4274d7(0x3e2)]);return _0x5ac821['_schedule'](),_0x5ac821[_0x4274d7(0x48b)](),_0x5ac821;}[_0x519f42(0x195)](_0x355a08){return this['_onConflict'](!!(_0x355a08!=null&&_0x355a08['isPermissionRej']));}[_0x519f42(0x277)](_0x170b9d){const _0x26d1fa=_0x519f42;return this['_resendTimeout']>wi?this['toggleOffline']():(this[_0x26d1fa(0x17d)]=Pi(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x170b9d[_0x26d1fa(0x30e)]}),this[_0x26d1fa(0x22e)]=this['_resendTimer'][_0x26d1fa(0x1db)](({reqId:_0x32824f,timeout:_0x3f9460})=>{this['_resendWithTimeout'](_0x32824f,_0x3f9460);}),this);}[_0x519f42(0x349)](){const _0x42e929=_0x519f42;return this[_0x42e929(0x458)](),this[_0x42e929(0x590)][_0x42e929(0x35c)](ve,this['unitID'],this[_0x42e929(0x1d1)],this[_0x42e929(0x43c)],this['_pendingMutations'],this[_0x42e929(0x3e2)]);}[_0x519f42(0x46e)](){return this;}[_0x519f42(0x48a)](){const _0x5232f8=_0x519f42;this[_0x5232f8(0x3e2)][_0x5232f8(0x29b)](this['_awaitingChangeset']);}[_0x519f42(0x178)](_0x2ede08){const _0x23e130=_0x519f42;return this[_0x23e130(0x458)](),this['_injector'][_0x23e130(0x35c)](fe,this[_0x23e130(0x57d)],this[_0x23e130(0x1d1)],null,this['_pendingMutations'],this[_0x23e130(0x3e2)],_0x2ede08);}[_0x519f42(0x338)](_0x1458ed,_0x45e9e5){const _0x408a26=_0x519f42;var _0x50eb4d;_0x1458ed===((_0x50eb4d=this['_awaitingChangeset'])==null?void 0x0:_0x50eb4d[_0x408a26(0x30e)])&&(this[_0x408a26(0x48a)](),this[_0x408a26(0x201)]=_0x45e9e5===0x0?0x3e8:_0x45e9e5*0x2);}['_clearScheduledTask'](){const _0x131449=_0x519f42;var _0x3f223c;(_0x3f223c=this['_sender'])==null||_0x3f223c['unsubscribe'](),this[_0x131449(0x201)]=0x0;}};ce=Ee([A(0x6,a['Inject'](a[_0x519f42(0x377)])),A(0x7,a['Inject'](m[_0x519f42(0x404)])),A(0x8,a['Inject'](exports[_0x519f42(0x467)])),A(0x9,a[_0x519f42(0x3e8)]),A(0xa,a['ILogService']),A(0xb,m[_0x519f42(0x562)]),A(0xc,a[_0x519f42(0x2da)])],ce);let fe=class extends be{constructor(_0x434c4a,_0x57ad61,_0x13992a,_0x52e6a7,_0x538f96,_0x582c53=!0x1,_0x3fd446,_0x31753b,_0xdb98dd,_0x5046c9,_0x1168b0,_0x30671a,_0x4e37a9){const _0x39d894=_0x519f42;super(_0x434c4a,_0x57ad61,_0x13992a,_0x52e6a7,_0x538f96,_0x31753b,_0xdb98dd,_0x1168b0,_0x5046c9),I(this,'status','conflict'),(this[_0x39d894(0x24f)]=_0x582c53,this[_0x39d894(0x409)]=_0x3fd446,this['_localeService']=_0x30671a,this[_0x39d894(0x17f)]=_0x4e37a9,this[_0x39d894(0x23d)](),this['_clearLocalCache'](),this[_0x39d894(0x341)]());}[_0x519f42(0x26f)](){return this;}[_0x519f42(0x4de)](){return this;}['onRemoteAck'](){return this;}[_0x519f42(0x195)](){return this;}[_0x519f42(0x277)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}['resend'](){const _0x536191=_0x519f42;throw new Error(_0x536191(0x29d));}['_clearLocalCache'](){const _0x73541e=_0x519f42;this[_0x73541e(0x5ca)][_0x73541e(0x21e)](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){const _0x3a21b5=_0x519f42;this[_0x3a21b5(0x24f)]?this['_notificationService']['show']({'title':this[_0x3a21b5(0x52f)]['t'](_0x3a21b5(0x492)),'content':this[_0x3a21b5(0x52f)]['t'](_0x3a21b5(0x549)),'type':_0x3a21b5(0x1d8),'duration':0x0}):this[_0x3a21b5(0x17f)][_0x3a21b5(0x1e6)]({'title':this[_0x3a21b5(0x52f)]['t'](_0x3a21b5(0x228)),'content':this[_0x3a21b5(0x52f)]['t']('conflict.content'),'type':_0x3a21b5(0x1d8),'duration':0x0});}['_disableEditing'](){const _0x4873c3=_0x519f42;this[_0x4873c3(0x409)][_0x4873c3(0x4d1)](new k['WorkbookEditablePermission'](this[_0x4873c3(0x57d)])['id'],!0x1);}};fe=Ee([A(0x6,a[_0x519f42(0x3b4)](a[_0x519f42(0x3ed)])),A(0x7,a['ICommandService']),A(0x8,a['IUndoRedoService']),A(0x9,a['Inject'](exports[_0x519f42(0x467)])),A(0xa,a[_0x519f42(0x3b4)](m[_0x519f42(0x404)])),A(0xb,a[_0x519f42(0x3b4)](a['LocaleService'])),A(0xc,ee[_0x519f42(0x31c)])],fe);let ve=class extends be{constructor(_0x22698b,_0x454aec,_0x2cdcb1,_0x33a376,_0x103e3b,_0x4e4a46,_0x2dad91,_0x9bc937,_0x250f08,_0x1ad86d){const _0xbb7b3b=_0x519f42;super(_0x22698b,_0x454aec,_0x2cdcb1,_0x33a376,_0x103e3b,_0x250f08,_0x1ad86d,_0x2dad91,_0x9bc937),I(this,_0xbb7b3b(0x32e),'offline'),this[_0xbb7b3b(0x590)]=_0x4e4a46;}[_0x519f42(0x26f)](_0x26fe1e){const _0xe0fb75=_0x519f42;return this[_0xe0fb75(0x1c0)][_0xe0fb75(0x205)](_0x26fe1e),this[_0xe0fb75(0x48b)](),this;}[_0x519f42(0x4de)](_0x5c9f0e){const _0x3e3ec4=_0x519f42;throw new Error(_0x3e3ec4(0x63b));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x519f42(0x195)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x519f42(0x277)](){return this;}[_0x519f42(0x349)](){return this;}[_0x519f42(0x46e)](){const _0x338f4f=_0x519f42,{_injector:_0x63832d,_pendingMutations:_0xb8bc34,_awaitingChangeset:_0x390c55,unitID:_0x317aa3,_handler:_0x3a1eb9,type:_0x61cbbe}=this,_0x4b7c33=Ui(_0x63832d,_0x317aa3,_0x61cbbe,_0x390c55,_0xb8bc34,_0x3a1eb9);return _0x4b7c33 instanceof ae?_0x4b7c33[_0x338f4f(0x1e8)]():(_0x4b7c33 instanceof ce||_0x4b7c33 instanceof de)&&_0x4b7c33[_0x338f4f(0x48a)](),_0x4b7c33;}[_0x519f42(0x48a)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ve=Ee([A(0x5,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),A(0x6,a['Inject'](m[_0x519f42(0x404)])),A(0x7,a[_0x519f42(0x3b4)](exports[_0x519f42(0x467)])),A(0x8,a[_0x519f42(0x3e8)]),A(0x9,a[_0x519f42(0x2da)])],ve);let re=class extends be{constructor(_0x1b1ea2,_0x2393fa,_0x229c29,_0xefd68e,_0x110206,_0x378da8,_0x3ebdf6,_0x10e0a4,_0xff9a00,_0x287676,_0x4f0921,_0x55a1b8,_0x3689e7,_0x6ec1c7){const _0x188745=_0x519f42;super(_0x1b1ea2,_0x2393fa,_0x229c29,_0xefd68e,_0x3ebdf6,_0x55a1b8,_0x3689e7,_0xff9a00,_0x287676),I(this,'status',_0x188745(0x5cb)),(this[_0x188745(0x578)]=_0x110206,this[_0x188745(0x251)]=_0x378da8,this['_injector']=_0x10e0a4,this[_0x188745(0x392)]=_0x4f0921,this[_0x188745(0x2b6)]=_0x6ec1c7);}['onMissedChangesetFetched'](_0x2c2fe0){const _0x37d3b7=_0x519f42;try{const _0x21d16c=[..._0x2c2fe0,...this['_queuedRemoteChangesets']],_0x35f781=[this[_0x37d3b7(0x43c)]||this[_0x37d3b7(0x578)]]['filter'](_0x13c295=>!!_0x13c295);let _0x287dd4,_0x320350;if(_0x35f781[_0x37d3b7(0x53a)]){const _0x3496d6=this[_0x37d3b7(0x2b6)][_0x37d3b7(0x45f)](_0x21d16c,_0x35f781,!0x1);if(!m[_0x37d3b7(0x61e)](_0x3496d6))throw _0x3496d6[_0x37d3b7(0x1d8)];_0x287dd4=_0x3496d6['c1Prime'],_0x320350=_0x3496d6[_0x37d3b7(0x226)];}else _0x287dd4=_0x21d16c,_0x320350=[];let _0x1abc87=this['_pendingMutations'];_0x287dd4[_0x37d3b7(0x24a)](_0x5a5216=>{const _0x5bbf56=_0x37d3b7;let _0x380cee;if(_0x1abc87[_0x5bbf56(0x53a)]){const _0x34e464=this[_0x5bbf56(0x2b6)][_0x5bbf56(0x187)](_0x5a5216,_0x1abc87);if(!m[_0x5bbf56(0x60d)](_0x34e464))throw _0x34e464[_0x5bbf56(0x1d8)];_0x380cee=_0x34e464['c1Prime'],_0x1abc87=_0x34e464[_0x5bbf56(0x20d)];}else _0x380cee=_0x5a5216;this['_executeRemoteChangeset'](_0x380cee);}),this['_acknowledgedAwaitingChangeset']&&this[_0x37d3b7(0x637)](),this[_0x37d3b7(0x43c)]&&_0x320350['length']&&(_0x320350[0x0][_0x37d3b7(0x1ef)]=this[_0x37d3b7(0x532)]());let _0x52d44d;if(this[_0x37d3b7(0x43c)]&&_0x1abc87[_0x37d3b7(0x53a)]!==0x0)_0x52d44d=this[_0x37d3b7(0x590)][_0x37d3b7(0x35c)](ce,this[_0x37d3b7(0x57d)],this[_0x37d3b7(0x1d1)],_0x320350[0x0],_0x1abc87,this[_0x37d3b7(0x3e2)],void 0x0);else{if(this[_0x37d3b7(0x43c)]&&_0x1abc87[_0x37d3b7(0x53a)]===0x0)_0x320350[0x0][_0x37d3b7(0x1ef)]=this[_0x37d3b7(0x532)](),_0x52d44d=this[_0x37d3b7(0x590)][_0x37d3b7(0x35c)](de,this[_0x37d3b7(0x57d)],this[_0x37d3b7(0x1d1)],_0x320350[0x0],this['_handler']);else{if(_0x1abc87[_0x37d3b7(0x53a)]!==0x0){const _0x306638=this[_0x37d3b7(0x590)][_0x37d3b7(0x35c)](ae,this[_0x37d3b7(0x57d)],this[_0x37d3b7(0x1d1)],_0x1abc87,this[_0x37d3b7(0x3e2)]);_0x306638[_0x37d3b7(0x1e8)](),_0x52d44d=_0x306638;}else _0x52d44d=this[_0x37d3b7(0x590)][_0x37d3b7(0x35c)](Oe,this[_0x37d3b7(0x57d)],this[_0x37d3b7(0x1d1)],this[_0x37d3b7(0x3e2)]);}}return _0x52d44d['_updateLocalCache'](),_0x52d44d;}catch(_0x2195d8){return this['_logService']['error']('[FetchMissState]',_0x37d3b7(0x54e),_0x2195d8),this[_0x37d3b7(0x590)][_0x37d3b7(0x35c)](fe,this[_0x37d3b7(0x57d)],this[_0x37d3b7(0x1d1)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x37d3b7(0x3e2)],!0x1);}}[_0x519f42(0x48a)](){const _0x43a1f3=_0x519f42;throw new Error(_0x43a1f3(0x51c));}[_0x519f42(0x26f)](_0x4f35e8){const _0x56f748=_0x519f42;return this[_0x56f748(0x1c0)]['push'](_0x4f35e8),this;}['onRemoteChangeset'](_0x34d059){const _0x5bc943=_0x519f42;return this[_0x5bc943(0x251)]['push'](_0x34d059),this;}[_0x519f42(0x17e)](_0x5bc3f7){const _0x829c9f=_0x519f42;if(this['_awaitingChangeset'])return this[_0x829c9f(0x578)]=this[_0x829c9f(0x43c)],this[_0x829c9f(0x43c)]=null,this;throw new Error(_0x829c9f(0x45b));}[_0x519f42(0x195)](_0x1c11ab){const _0x448f27=_0x519f42;return this[_0x448f27(0x178)](!!(_0x1c11ab!=null&&_0x1c11ab['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x519f42(0x349)](){const _0x324ac=_0x519f42;return this['_injector']['createInstance'](ve,this[_0x324ac(0x57d)],this['type'],this[_0x324ac(0x43c)],this[_0x324ac(0x1c0)],this[_0x324ac(0x3e2)]);}[_0x519f42(0x46e)](){return this;}['_onConflict'](_0x1742f9){const _0x26a4cb=_0x519f42;return this[_0x26a4cb(0x590)]['createInstance'](fe,this[_0x26a4cb(0x57d)],this[_0x26a4cb(0x1d1)],this[_0x26a4cb(0x43c)],this[_0x26a4cb(0x1c0)],this['_handler'],_0x1742f9);}};re=Ee([A(0x7,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),A(0x8,a[_0x519f42(0x3b4)](m[_0x519f42(0x404)])),A(0x9,a[_0x519f42(0x3b4)](exports[_0x519f42(0x467)])),A(0xa,a[_0x519f42(0x5eb)]),A(0xb,a[_0x519f42(0x3e8)]),A(0xc,a['IUndoRedoService']),A(0xd,m[_0x519f42(0x562)])],re);function Ui(_0x5a98cf,_0x1799e2,_0xd94892,_0x36d7ff,_0x3b4ce5,_0x2bbf5c){const _0xdd9708=_0x519f42;return _0x36d7ff&&_0x3b4ce5[_0xdd9708(0x53a)]?_0x5a98cf['createInstance'](ce,_0x1799e2,_0xd94892,_0x36d7ff,_0x3b4ce5,_0x2bbf5c,void 0x0):_0x36d7ff?_0x5a98cf[_0xdd9708(0x35c)](de,_0x1799e2,_0xd94892,_0x36d7ff,_0x2bbf5c):_0x3b4ce5[_0xdd9708(0x53a)]?_0x5a98cf[_0xdd9708(0x35c)](ae,_0x1799e2,_0xd94892,_0x3b4ce5,_0x2bbf5c):_0x5a98cf[_0xdd9708(0x35c)](Oe,_0x1799e2,_0xd94892,_0x2bbf5c);}var Xn=Object[_0x519f42(0x360)],Jn=Object[_0x519f42(0x544)],Mt=(_0x3dbefc,_0x37475d,_0x13246a,_0x42d68c)=>{for(var _0x2222dd=_0x42d68c>0x1?void 0x0:_0x42d68c?Jn(_0x37475d,_0x13246a):_0x37475d,_0xcf5b95=_0x3dbefc['length']-0x1,_0x16370c;_0xcf5b95>=0x0;_0xcf5b95--)(_0x16370c=_0x3dbefc[_0xcf5b95])&&(_0x2222dd=(_0x42d68c?_0x16370c(_0x37475d,_0x13246a,_0x2222dd):_0x16370c(_0x2222dd))||_0x2222dd);return _0x42d68c&&_0x2222dd&&Xn(_0x37475d,_0x13246a,_0x2222dd),_0x2222dd;},H=(_0x5572dd,_0x2b7d70)=>(_0x1e7aa6,_0x2ce0ba)=>_0x2b7d70(_0x1e7aa6,_0x2ce0ba,_0x5572dd);exports[_0x519f42(0x4dc)]=class extends a[_0x519f42(0x275)]{constructor(_0xfafab8,_0x1172e5,_0x53e28d,_0x3b3578,_0x22ba56,_0x472e8b,_0x10d02e,_0x2f2b99,_0x115ff1,_0x542440,_0x37e4f1,_0x191ea4,_0x291ba8){const _0x585a1b=_0x519f42;super(),I(this,_0x585a1b(0x36c),new N[(_0x585a1b(0x46f))](null)),I(this,'state$',this['_state$'][_0x585a1b(0x20b)]()),I(this,_0x585a1b(0x353)),I(this,'_collaborationPaused',!0x1),I(this,_0x585a1b(0x3fc),''),I(this,_0x585a1b(0x597),0x0),I(this,_0x585a1b(0x227),this['state$'][_0x585a1b(0x641)](N[_0x585a1b(0x444)](_0xad70ff=>_0xad70ff?_0xad70ff['status']:K[_0x585a1b(0x419)]),N[_0x585a1b(0x3cb)](0x1))),I(this,_0x585a1b(0x3bd),!0x1),I(this,_0x585a1b(0x216),[]),(this[_0x585a1b(0x57d)]=_0xfafab8,this[_0x585a1b(0x468)]=_0x1172e5,this['_type']=_0x53e28d,this[_0x585a1b(0x590)]=_0x3b3578,this[_0x585a1b(0x5ca)]=_0x22ba56,this['_compressMutationService']=_0x472e8b,this[_0x585a1b(0x52f)]=_0x10d02e,this[_0x585a1b(0x3c7)]=_0x2f2b99,this[_0x585a1b(0x392)]=_0x115ff1,this[_0x585a1b(0x636)]=_0x542440,this[_0x585a1b(0x471)]=_0x37e4f1,this['_permissionService']=_0x191ea4,this['_singleActiveUnitService']=_0x291ba8);}get[_0x519f42(0x619)](){const _0x3db0cb=_0x519f42;return this[_0x3db0cb(0x353)];}async['init'](){const _0x2d74a5=_0x519f42;if(this[_0x2d74a5(0x619)])throw new Error(_0x2d74a5(0x59e));await this[_0x2d74a5(0x3b9)]();}[_0x519f42(0x585)](){const _0x59f665=_0x519f42;return this[_0x59f665(0x367)]=!0x0,a[_0x59f665(0x503)](()=>{const _0x368877=_0x59f665;this['_collaborationPaused']=!0x1,this[_0x368877(0x525)]();});}['_updateState'](_0xac5375){const _0x3638aa=_0x519f42;this['_state']=_0xac5375,this[_0x3638aa(0x36c)][_0x3638aa(0x213)](_0xac5375);}async[_0x519f42(0x3b9)](){const _0x22918d=_0x519f42;var _0x125c71;this[_0x22918d(0x222)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x125c71=this['_singleActiveUnitService'])==null||_0x125c71[_0x22918d(0x401)](this[_0x22918d(0x57d)]),this[_0x22918d(0x5db)](this[_0x22918d(0x1de)][_0x22918d(0x552)](this[_0x22918d(0x57d)])[_0x22918d(0x1db)](_0x5d4401=>{const _0x3efdb8=_0x22918d;this[_0x3efdb8(0x392)][_0x3efdb8(0x408)](_0x3efdb8(0x22d),'editing\x20status\x20changed\x20to',_0x5d4401),_0x5d4401===yi[_0x3efdb8(0x4f3)]?(this[_0x3efdb8(0x471)][_0x3efdb8(0x1e6)]({'content':this[_0x3efdb8(0x52f)]['t'](_0x3efdb8(0x4b0)),'type':Ce[_0x3efdb8(0x57a)][_0x3efdb8(0x598)]}),this[_0x3efdb8(0x409)][_0x3efdb8(0x4d1)](new k[(_0x3efdb8(0x26e))](this[_0x3efdb8(0x57d)])['id'],!0x1),this[_0x3efdb8(0x409)]['setShowComponents'](!0x1)):(this[_0x3efdb8(0x409)][_0x3efdb8(0x4d1)](new k[(_0x3efdb8(0x26e))](this['unitID'])['id'],!0x0),this[_0x3efdb8(0x409)][_0x3efdb8(0x242)](!0x0));})));let _0x1773e5=!0x1;return this[_0x22918d(0x5db)](this[_0x22918d(0x468)][_0x22918d(0x4b5)][_0x22918d(0x1db)](_0xa381f9=>{const _0x4c6193=_0x22918d;_0xa381f9===ne['ONLINE']?this[_0x4c6193(0x3ef)](_0x1773e5):_0xa381f9===ne[_0x4c6193(0x419)]&&(_0x1773e5=!0x0,this[_0x4c6193(0x214)]());})),this['disposeWithMe'](this[_0x22918d(0x468)]['event$'][_0x22918d(0x1db)](_0x5a244c=>{const _0x3d0692=_0x22918d;try{switch(_0x5a244c['eventID']){case m['CollaborationEvent']['NEW_CHANGESETS']:{this[_0x3d0692(0x42d)](m['parseProtocolChangeset'](_0x5a244c['data']));break;}case m[_0x3d0692(0x3bc)]['CHANGESET_ACK']:{this[_0x3d0692(0x47b)](_0x5a244c[_0x3d0692(0x2f1)]);break;}case m['CollaborationEvent'][_0x3d0692(0x3d7)]:{this[_0x3d0692(0x356)]();break;}case m[_0x3d0692(0x3bc)][_0x3d0692(0x5f1)]:{this['_onRemoteRetry'](_0x5a244c[_0x3d0692(0x2f1)]);break;}case m['CollaborationEvent'][_0x3d0692(0x473)]:{this['_onFetchMissResult'](_0x5a244c['data'][_0x3d0692(0x220)]['map'](_0x4a9bea=>m[_0x3d0692(0x4d2)](_0x4a9bea)));break;}case m[_0x3d0692(0x3bc)]['PERMISSION_REJ']:this[_0x3d0692(0x356)]({'isPermissionRej':!0x0});}}catch(_0x1f2f8e){throw console[_0x3d0692(0x1d8)]('Error\x20on\x20receiving\x20event',_0x1f2f8e),_0x1f2f8e;}})),this[_0x22918d(0x353)];}[_0x519f42(0x2a6)](){const _0x3e361f=_0x519f42;this[_0x3e361f(0x3bd)]=!0x1;}[_0x519f42(0x5a4)](){const _0xaa40f4=_0x519f42;if(this[_0xaa40f4(0x3bd)])throw new Error(_0xaa40f4(0x366));this[_0xaa40f4(0x3bd)]=!0x0;}[_0x519f42(0x58d)](_0x47b08c){const _0xa8c574=_0x519f42;this[_0xa8c574(0x5a4)](),this[_0xa8c574(0x222)](this[_0xa8c574(0x353)]['appendMutation'](_0x47b08c)),this[_0xa8c574(0x2a6)]();}['_onRemoteChangeset'](_0x98fd5a){const _0x20ef38=_0x519f42;if(!(_0x98fd5a[_0x20ef38(0x4db)]<=this['_revisionService'][_0x20ef38(0x35e)](this['unitID']))){if(this[_0x20ef38(0x367)]){this['_remoteChangesetQueue'][_0x20ef38(0x205)](_0x98fd5a);return;}this[_0x20ef38(0x354)](_0x98fd5a);}}[_0x519f42(0x525)](){const _0x509e08=_0x519f42;this[_0x509e08(0x216)]['forEach'](_0x136ff5=>this[_0x509e08(0x354)](_0x136ff5)),this['_remoteChangesetQueue']=[];}[_0x519f42(0x354)](_0x28ac4a){const _0x407a1f=_0x519f42,_0x35e921=this[_0x407a1f(0x259)]['interceptor'][_0x407a1f(0x352)](this[_0x407a1f(0x259)][_0x407a1f(0x4a3)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x28ac4a['mutations'],null)||_0x28ac4a[_0x407a1f(0x4af)],_0xc1bd44={..._0x28ac4a,'mutations':_0x35e921};this[_0x407a1f(0x5a4)](),this['_updateState'](this[_0x407a1f(0x353)][_0x407a1f(0x4de)](_0xc1bd44)),this[_0x407a1f(0x2a6)]();}[_0x519f42(0x47b)](_0x20703e){const _0x1e4998=_0x519f42;this[_0x1e4998(0x5a4)](),this[_0x1e4998(0x222)](this[_0x1e4998(0x353)][_0x1e4998(0x17e)](_0x20703e)),this[_0x1e4998(0x2a6)]();}['_onRemoteRejected'](_0x56c17e){const _0x2aa0d0=_0x519f42;this[_0x2aa0d0(0x5a4)](),this['_updateState'](this['_state'][_0x2aa0d0(0x195)](_0x56c17e)),this[_0x2aa0d0(0x2a6)]();}[_0x519f42(0x5fd)](_0x257fa7){const _0x849efd=_0x519f42;this['_lockTransition'](),this[_0x849efd(0x222)](this['_state'][_0x849efd(0x277)](_0x257fa7)),this[_0x849efd(0x2a6)]();}['_onFetchMissResult'](_0x4fd9f2){const _0xf8a93c=_0x519f42;if(!(this[_0xf8a93c(0x353)]instanceof re))throw new TypeError(_0xf8a93c(0x3df));const _0x35e71a=_0x4fd9f2['map'](_0x46b2ff=>{const _0x1879ef=_0xf8a93c,_0x46c913=this[_0x1879ef(0x259)][_0x1879ef(0x4a3)][_0x1879ef(0x352)](this[_0x1879ef(0x259)][_0x1879ef(0x4a3)][_0x1879ef(0x382)]()[_0x1879ef(0x3f9)])(_0x46b2ff[_0x1879ef(0x4af)],null)||_0x46b2ff[_0x1879ef(0x4af)];return{..._0x46b2ff,'mutations':_0x46c913};});this[_0xf8a93c(0x5a4)](),this[_0xf8a93c(0x222)](this['_state'][_0xf8a93c(0x194)](_0x35e71a)),this['_unlockTransition']();}[_0x519f42(0x214)](){const _0x261480=_0x519f42;this[_0x261480(0x5a4)](),this[_0x261480(0x222)](this[_0x261480(0x353)][_0x261480(0x349)]()),this['_unlockTransition']();}[_0x519f42(0x3ef)](_0x6f03ac=!0x1){const _0x1e184a=_0x519f42;this['_lockTransition'](),this[_0x1e184a(0x222)](this['_state'][_0x1e184a(0x46e)]()),this[_0x1e184a(0x2a6)]();const _0x4fb929=this[_0x1e184a(0x353)];_0x6f03ac&&_0x4fb929 instanceof Oe&&(this['_lockTransition'](),this[_0x1e184a(0x222)](_0x4fb929[_0x1e184a(0x520)]()),this[_0x1e184a(0x2a6)]());}async[_0x519f42(0x31f)](){return new Promise(_0x30c839=>{const _0x3a4eac=_0x3f43;this['session'][_0x3a4eac(0x4b5)][_0x3a4eac(0x641)](N['take'](0x1))[_0x3a4eac(0x1db)](async _0x784ca=>{const _0x15a971=_0x3a4eac;_0x30c839(await this[_0x15a971(0x315)](_0x784ca===ne[_0x15a971(0x481)]));});});}['_createHandler'](){const _0x1ef84e=_0x519f42,_0x20ff2a=this[_0x1ef84e(0x57d)];return{'onStateChange':(_0x2c2c76,_0x49d3f2)=>{const _0x310448=_0x1ef84e;if(_0x2c2c76!==this[_0x310448(0x353)])throw new Error(_0x310448(0x230)+_0x2c2c76[_0x310448(0x32e)]+_0x310448(0x3f8)+_0x49d3f2[_0x310448(0x32e)]+_0x310448(0x1b7)+this[_0x310448(0x353)][_0x310448(0x32e)]);this[_0x310448(0x222)](_0x49d3f2);},'onSendChangeset':_0x3411fb=>{const _0x54e398=_0x1ef84e;_0x3411fb[_0x54e398(0x476)]||(_0x3411fb[_0x54e398(0x476)]=this[_0x54e398(0x3fc)],_0x3411fb[_0x54e398(0x30e)]=++this[_0x54e398(0x597)]);const _0x1a08da={'eventID':m[_0x54e398(0x3bc)][_0x54e398(0x207)],'data':{'unitID':_0x3411fb['unitID'],'unitType':this['_type'],'changeset':_0x3411fb,'memberID':this[_0x54e398(0x468)][_0x54e398(0x2cd)]()}};this[_0x54e398(0x468)][_0x54e398(0x2a8)](_0x1a08da,this[_0x54e398(0x57d)]);},'onMissingChangesets':({from:_0x295f0b,to:_0x2c05ac})=>{const _0x3c8bad=_0x1ef84e;this[_0x3c8bad(0x392)][_0x3c8bad(0x408)](_0x3c8bad(0x22d),_0x3c8bad(0x26c)+_0x295f0b+'\x20to\x20'+_0x2c05ac);const _0x5e74dc={'eventID':m[_0x3c8bad(0x3bc)][_0x3c8bad(0x269)],'data':{'unitID':_0x20ff2a,'unitType':this[_0x3c8bad(0x26d)],'from':_0x295f0b,'to':_0x2c05ac}};this['session'][_0x3c8bad(0x2a8)](_0x5e74dc,this[_0x3c8bad(0x57d)]);}};}async['_createInitialStateImpl'](_0xc659f0){const _0x1a4000=_0x519f42;var _0x167d5e,_0x493802;const _0x22f632=await this[_0x1a4000(0x5ca)]['loadOfflineData'](this[_0x1a4000(0x57d)]),_0x2ed0b0=(_0x167d5e=_0x22f632==null?void 0x0:_0x22f632[_0x1a4000(0x4af)])!=null?_0x167d5e:[],_0x19dc5f=(_0x493802=_0x22f632==null?void 0x0:_0x22f632[_0x1a4000(0x3c5)])!=null?_0x493802:null,_0x30e4ad=!!(_0x19dc5f!=null&&_0x19dc5f['sid'])&&!!(_0x19dc5f!=null&&_0x19dc5f[_0x1a4000(0x30e)]);this[_0x1a4000(0x3fc)]=_0x30e4ad?_0x19dc5f[_0x1a4000(0x476)]:On(),this[_0x1a4000(0x597)]=_0x30e4ad?_0x19dc5f['reqId']:0x0;const _0x5da44c=this['unitID'];try{this['_replayCachedMutations'](_0x19dc5f,_0x2ed0b0);}catch(_0x5df4bb){this['_logService'][_0x1a4000(0x1d8)](_0x5df4bb);}const _0x1bceb1=this[_0x1a4000(0x327)]();if(_0xc659f0){const _0x581c52=Ui(this[_0x1a4000(0x590)],_0x5da44c,this[_0x1a4000(0x26d)],_0x19dc5f,_0x2ed0b0,_0x1bceb1);return _0x581c52 instanceof ae?_0x581c52[_0x1a4000(0x1e8)]():(_0x581c52 instanceof ce||_0x581c52 instanceof de)&&_0x581c52['resend'](),_0x581c52;}return this['_injector']['createInstance'](ve,_0x5da44c,this['_type'],_0x19dc5f,_0x2ed0b0,_0x1bceb1);}[_0x519f42(0x535)](_0x5d10df,_0x380aec){const _0x2fd76d=_0x519f42;var _0x3d5b9d,_0xdfc52f;const _0x52fcd6=this[_0x2fd76d(0x259)][_0x2fd76d(0x4a3)][_0x2fd76d(0x352)](this[_0x2fd76d(0x259)][_0x2fd76d(0x4a3)][_0x2fd76d(0x382)]()[_0x2fd76d(0x3f9)]);(_0x3d5b9d=_0x52fcd6((_0x5d10df==null?void 0x0:_0x5d10df[_0x2fd76d(0x4af)])||[],null))==null||_0x3d5b9d[_0x2fd76d(0x24a)](_0x2c547b=>this[_0x2fd76d(0x636)][_0x2fd76d(0x237)](_0x2c547b['id'],_0x2c547b['params'])),(_0xdfc52f=_0x52fcd6(_0x380aec||[],null))==null||_0xdfc52f['forEach'](_0x4c1fb7=>this[_0x2fd76d(0x636)][_0x2fd76d(0x237)](_0x4c1fb7['id'],_0x4c1fb7[_0x2fd76d(0x322)]));}},exports['CollaborationEntity']=Mt([H(0x3,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),H(0x4,a[_0x519f42(0x3b4)](exports[_0x519f42(0x467)])),H(0x5,a[_0x519f42(0x3b4)](m[_0x519f42(0x1d7)])),H(0x6,a[_0x519f42(0x3b4)](a[_0x519f42(0x609)])),H(0x7,a['Inject'](m[_0x519f42(0x404)])),H(0x8,a[_0x519f42(0x5eb)]),H(0x9,a[_0x519f42(0x3e8)]),H(0xa,ee['IMessageService']),H(0xb,a[_0x519f42(0x3ed)]),H(0xc,a[_0x519f42(0x462)](at))],exports['CollaborationEntity']),exports['DocCollaborationEntity']=class extends exports[_0x519f42(0x4dc)]{constructor(_0xcde323,_0x232515,_0x550cb8,_0x5cf1e8,_0x4ffce6,_0x2f7d35,_0x1a150f,_0xa78ecc,_0x149166,_0x3a049a,_0x29c43b,_0x2b00c0,_0x34034f,_0x459b88,_0x34d6c9,_0x3d7e9e,_0x207a38,_0x5002c2){const _0x5eafcc=_0x519f42;super(_0xcde323,_0x550cb8,_0x232515,_0x5cf1e8,_0x4ffce6,_0x2f7d35,_0x1a150f,_0xa78ecc,_0x459b88,_0x34d6c9,_0x3d7e9e,_0x207a38,_0x5002c2),this['unitID']=_0xcde323,this[_0x5eafcc(0x1d1)]=_0x232515,this[_0x5eafcc(0x596)]=_0x149166,this[_0x5eafcc(0x2ff)]=_0x3a049a,this[_0x5eafcc(0x2a9)]=_0x29c43b,this[_0x5eafcc(0x524)]=_0x2b00c0,this[_0x5eafcc(0x407)]=_0x34034f;}[_0x519f42(0x327)](){const _0x9b4f1a=_0x519f42,_0x5334b5=super['_createHandler']();return _0x5334b5[_0x9b4f1a(0x60e)]=_0x55d49f=>this[_0x9b4f1a(0x2ff)][_0x9b4f1a(0x4bc)](_0x55d49f),_0x5334b5['onTransformState']=_0x45c9e3=>this[_0x9b4f1a(0x2a9)][_0x9b4f1a(0x3e9)](_0x45c9e3),_0x5334b5[_0x9b4f1a(0x523)]=_0x4f2517=>this[_0x9b4f1a(0x524)][_0x9b4f1a(0x35b)](_0x4f2517),_0x5334b5[_0x9b4f1a(0x4f1)]=_0x49f508=>this['_docSyncEditingCollabCursorService'][_0x9b4f1a(0x3e3)](_0x49f508),_0x5334b5[_0x9b4f1a(0x1f8)]=_0x193735=>this[_0x9b4f1a(0x2ff)][_0x9b4f1a(0x5ce)](_0x193735),_0x5334b5[_0x9b4f1a(0x5ef)]=_0x206fc5=>this[_0x9b4f1a(0x2a9)][_0x9b4f1a(0x5ce)](_0x206fc5),_0x5334b5;}async[_0x519f42(0x3b9)](){const _0x286b93=_0x519f42,_0x3dc10e=await super[_0x286b93(0x3b9)]();return this['disposeWithMe'](this[_0x286b93(0x596)][_0x286b93(0x5da)][_0x286b93(0x641)](N['takeUntil'](this[_0x286b93(0x191)]))[_0x286b93(0x1db)](_0x4aecdd=>{const _0x2d1b7c=_0x286b93;if(_0x4aecdd==null)return;const {unitId:_0x5cf9cb,redoState:_0x35759e,commandId:_0x1d21a5}=_0x4aecdd;if(_0x5cf9cb!==this[_0x2d1b7c(0x57d)])return;const _0x36dcd1={'id':_0x1d21a5,'type':a[_0x2d1b7c(0x44c)]['MUTATION'],'params':{'unitId':_0x5cf9cb,'actions':_0x35759e[_0x2d1b7c(0x36a)],'textRanges':null}};this['_onLocalMutation'](_0x36dcd1);})),this[_0x286b93(0x5db)](this[_0x286b93(0x636)][_0x286b93(0x4a8)]((_0x387f71,_0x3c28ba)=>{const _0x2427e1=_0x286b93;if(_0x387f71[_0x2427e1(0x1d1)]!==a[_0x2427e1(0x44c)]['MUTATION']||_0x3c28ba!=null&&_0x3c28ba[_0x2427e1(0x393)]||_0x3c28ba!=null&&_0x3c28ba[_0x2427e1(0x1bf)]||_0x387f71['id']===Ie['RichTextEditingMutation']['id'])return;const _0x5163a8=_0x387f71['params'];if((_0x5163a8==null?void 0x0:_0x5163a8[_0x2427e1(0x235)])!==this[_0x2427e1(0x57d)])return;const _0x122926=_0x387f71,_0x3a8233=this[_0x2427e1(0x259)][_0x2427e1(0x4a3)][_0x2427e1(0x352)](this[_0x2427e1(0x259)][_0x2427e1(0x4a3)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x122926],null)||[_0x122926];this[_0x2427e1(0x58d)](_0x3a8233[0x0]);})),_0x3dc10e;}},exports[_0x519f42(0x2fb)]=Mt([H(0x3,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),H(0x4,a['Inject'](exports[_0x519f42(0x467)])),H(0x5,a[_0x519f42(0x3b4)](m[_0x519f42(0x1d7)])),H(0x6,a[_0x519f42(0x3b4)](a[_0x519f42(0x609)])),H(0x7,a[_0x519f42(0x3b4)](m[_0x519f42(0x404)])),H(0x8,a[_0x519f42(0x3b4)](J[_0x519f42(0x2ca)])),H(0x9,a['Inject'](Ze)),H(0xa,a[_0x519f42(0x3b4)](et)),H(0xb,a[_0x519f42(0x3b4)](tt)),H(0xc,a[_0x519f42(0x3b4)](Ut)),H(0xd,a['ILogService']),H(0xe,a['ICommandService']),H(0xf,ee[_0x519f42(0x4c8)]),H(0x10,a[_0x519f42(0x3ed)]),H(0x11,a[_0x519f42(0x462)](at))],exports[_0x519f42(0x2fb)]),exports[_0x519f42(0x2cc)]=class extends exports['CollaborationEntity']{constructor(_0x1096b3,_0x4c4bdd,_0x423a90,_0x4f3569,_0x256670,_0x46a2ae,_0x3d629f,_0x288dfa,_0x3b20bb,_0x4e5612,_0x2fe45e,_0x1aff49,_0x47883a,_0x39e1f4){const _0x2c28d7=_0x519f42;super(_0x1096b3,_0x423a90,_0x4c4bdd,_0x4f3569,_0x256670,_0x46a2ae,_0x3d629f,_0x288dfa,_0x4e5612,_0x2fe45e,_0x1aff49,_0x47883a,_0x39e1f4),this['unitID']=_0x1096b3,this[_0x2c28d7(0x1d1)]=_0x4c4bdd,this[_0x2c28d7(0x372)]=_0x3b20bb;}[_0x519f42(0x327)](){const _0x363930=_0x519f42,_0x3a7537=super['_createHandler']();return _0x3a7537[_0x363930(0x523)]=_0x316137=>this['_sheetTransformSelectionsService']['transformSelections'](_0x316137),_0x3a7537;}async[_0x519f42(0x3b9)](){const _0x32129b=_0x519f42,_0x41d026=await super[_0x32129b(0x3b9)]();return this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x5b4600,_0x5a88ed)=>{const _0x55d922=_0x32129b;if(_0x5b4600[_0x55d922(0x1d1)]!==a[_0x55d922(0x44c)][_0x55d922(0x53f)]||_0x5a88ed!=null&&_0x5a88ed[_0x55d922(0x393)]||_0x5a88ed!=null&&_0x5a88ed['onlyLocal'])return;const _0x106f6a=_0x5b4600['params'];if((_0x106f6a==null?void 0x0:_0x106f6a[_0x55d922(0x235)])!==this[_0x55d922(0x57d)])return;const _0x30db60=_0x5b4600,_0x125c50=this[_0x55d922(0x259)][_0x55d922(0x4a3)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x55d922(0x4a3)][_0x55d922(0x382)]()[_0x55d922(0x1c2)])([_0x30db60],null)||[_0x30db60];this[_0x55d922(0x58d)](_0x125c50[0x0]);})),_0x41d026;}},exports[_0x519f42(0x2cc)]=Mt([H(0x3,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),H(0x4,a[_0x519f42(0x3b4)](exports[_0x519f42(0x467)])),H(0x5,a['Inject'](m['CompressMutationService'])),H(0x6,a[_0x519f42(0x3b4)](a[_0x519f42(0x609)])),H(0x7,a[_0x519f42(0x3b4)](m[_0x519f42(0x404)])),H(0x8,a[_0x519f42(0x3b4)](Qe)),H(0x9,a[_0x519f42(0x5eb)]),H(0xa,a[_0x519f42(0x3e8)]),H(0xb,ee[_0x519f42(0x4c8)]),H(0xc,a[_0x519f42(0x3ed)]),H(0xd,a['Optional'](at))],exports['SheetCollaborationEntity']);var Zn=Object[_0x519f42(0x360)],Qn=Object['getOwnPropertyDescriptor'],er=(_0x41fa84,_0x56c0ff,_0x189d26,_0x24fb9c)=>{const _0x3243c6=_0x519f42;for(var _0x1f7470=_0x24fb9c>0x1?void 0x0:_0x24fb9c?Qn(_0x56c0ff,_0x189d26):_0x56c0ff,_0x50bba0=_0x41fa84[_0x3243c6(0x53a)]-0x1,_0x599eb4;_0x50bba0>=0x0;_0x50bba0--)(_0x599eb4=_0x41fa84[_0x50bba0])&&(_0x1f7470=(_0x24fb9c?_0x599eb4(_0x56c0ff,_0x189d26,_0x1f7470):_0x599eb4(_0x1f7470))||_0x1f7470);return _0x24fb9c&&_0x1f7470&&Zn(_0x56c0ff,_0x189d26,_0x1f7470),_0x1f7470;},dt=(_0x28dae3,_0x268dd8)=>(_0x4e5cdf,_0x12d6ef)=>_0x268dd8(_0x4e5cdf,_0x12d6ef,_0x28dae3);exports[_0x519f42(0x321)]=class extends a[_0x519f42(0x275)]{constructor(_0x28e34c,_0x149c49,_0x391701){const _0x2c6a09=_0x519f42;super(),I(this,_0x2c6a09(0x41d),new Map()),I(this,_0x2c6a09(0x276),new N['Subject']()),(this[_0x2c6a09(0x590)]=_0x28e34c,this[_0x2c6a09(0x55b)]=_0x149c49,this[_0x2c6a09(0x403)]=_0x391701,this[_0x2c6a09(0x3b9)]());}['dispose'](){const _0x1354c8=_0x519f42;super[_0x1354c8(0x5fa)](),this[_0x1354c8(0x41d)][_0x1354c8(0x24a)](_0x52569c=>_0x52569c[_0x1354c8(0x5fa)]()),this['_entities']['clear']();}[_0x519f42(0x4c4)](_0x37bd9b){const _0x4770ab=_0x519f42;var _0x2abc95;return(_0x2abc95=this[_0x4770ab(0x41d)][_0x4770ab(0x4a6)](_0x37bd9b))!=null?_0x2abc95:null;}[_0x519f42(0x4d5)](_0x472116){const _0x5b69bc=_0x519f42,_0xf203bf=this[_0x5b69bc(0x4c4)](_0x472116);return _0xf203bf?N['of'](_0xf203bf):this['_entityInit$'][_0x5b69bc(0x641)](V['filter'](_0x393934=>_0x393934[_0x5b69bc(0x57d)]===_0x472116));}[_0x519f42(0x3b9)](){const _0x453cfb=_0x519f42;this[_0x453cfb(0x403)][_0x453cfb(0x253)](a[_0x453cfb(0x475)][_0x453cfb(0x248)])[_0x453cfb(0x641)](N[_0x453cfb(0x1e9)](this[_0x453cfb(0x191)]),V[_0x453cfb(0x634)](0x10))[_0x453cfb(0x1db)](async _0x499713=>{const _0x37c1b9=_0x453cfb,_0x40966a=_0x499713[_0x37c1b9(0x238)](),_0x3ccc18=await this[_0x37c1b9(0x1a4)](_0x40966a,ie[_0x37c1b9(0x248)]);this['_entities'][_0x37c1b9(0x3e1)](_0x40966a,_0x3ccc18);}),this[_0x453cfb(0x403)]['getTypeOfUnitAdded$'](a[_0x453cfb(0x475)][_0x453cfb(0x249)])[_0x453cfb(0x641)](N['takeUntil'](this[_0x453cfb(0x191)]),V[_0x453cfb(0x634)](0x10))['pipe'](V[_0x453cfb(0x1ae)](_0x21a379=>!_0x21a379['getUnitId']()[_0x453cfb(0x2ea)]('__')))[_0x453cfb(0x1db)](async _0x566aec=>{const _0x2e9fee=_0x453cfb,_0x327854=_0x566aec['getUnitId'](),_0x2ab8a4=await this[_0x2e9fee(0x1a4)](_0x327854,ie[_0x2e9fee(0x249)]);this[_0x2e9fee(0x41d)][_0x2e9fee(0x3e1)](_0x327854,_0x2ab8a4);}),N['merge'](this[_0x453cfb(0x403)][_0x453cfb(0x610)](a[_0x453cfb(0x475)][_0x453cfb(0x248)]),this[_0x453cfb(0x403)][_0x453cfb(0x610)](a[_0x453cfb(0x475)][_0x453cfb(0x249)]))['pipe'](N[_0x453cfb(0x1e9)](this[_0x453cfb(0x191)]))[_0x453cfb(0x1db)](_0x323b9e=>{const _0x50d057=_0x453cfb,_0x404853=_0x323b9e[_0x50d057(0x238)](),_0x1a2101=this[_0x50d057(0x41d)][_0x50d057(0x4a6)](_0x404853);_0x1a2101&&(_0x1a2101[_0x50d057(0x5fa)](),this[_0x50d057(0x41d)][_0x50d057(0x203)](_0x404853));});}async[_0x519f42(0x1a4)](_0x3ba1c4,_0x16f967){const _0x185ce6=_0x519f42,_0x5600c0=await this[_0x185ce6(0x55b)][_0x185ce6(0x295)](_0x3ba1c4),_0x3b93a3=this[_0x185ce6(0x590)][_0x185ce6(0x35c)](this[_0x185ce6(0x2c9)](_0x16f967),_0x3ba1c4,_0x16f967,_0x5600c0);return await _0x3b93a3[_0x185ce6(0x1fe)](),this[_0x185ce6(0x276)][_0x185ce6(0x213)](_0x3b93a3),_0x3b93a3;}[_0x519f42(0x2c9)](_0x23abb4){const _0x56d326=_0x519f42;switch(_0x23abb4){case ie['UNIVER_DOC']:return exports[_0x56d326(0x2fb)];case ie[_0x56d326(0x248)]:return exports[_0x56d326(0x2cc)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x23abb4);}}},exports[_0x519f42(0x321)]=er([dt(0x0,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),dt(0x1,a[_0x519f42(0x3b4)](exports[_0x519f42(0x4ae)])),dt(0x2,a['IUniverInstanceService'])],exports['CollaborationController']);var tr=Object[_0x519f42(0x360)],ir=Object[_0x519f42(0x544)],nr=(_0x3f4d20,_0xf13d9,_0x103005,_0x4a724e)=>{const _0x1eeff6=_0x519f42;for(var _0x8ebe6b=_0x4a724e>0x1?void 0x0:_0x4a724e?ir(_0xf13d9,_0x103005):_0xf13d9,_0x3c9c1b=_0x3f4d20[_0x1eeff6(0x53a)]-0x1,_0x32480b;_0x3c9c1b>=0x0;_0x3c9c1b--)(_0x32480b=_0x3f4d20[_0x3c9c1b])&&(_0x8ebe6b=(_0x4a724e?_0x32480b(_0xf13d9,_0x103005,_0x8ebe6b):_0x32480b(_0x8ebe6b))||_0x8ebe6b);return _0x4a724e&&_0x8ebe6b&&tr(_0xf13d9,_0x103005,_0x8ebe6b),_0x8ebe6b;},Yt=(_0x440155,_0x5da2b2)=>(_0x5c99bb,_0x55bf96)=>_0x5da2b2(_0x5c99bb,_0x55bf96,_0x440155);let it=class extends a[_0x519f42(0x275)]{constructor(_0x27ab64,_0x577366){const _0x4303eb=_0x519f42;super(),this[_0x4303eb(0x2d8)]=_0x27ab64,this[_0x4303eb(0x4ce)]=_0x577366,this[_0x4303eb(0x3b9)]();}[_0x519f42(0x3b9)](){const _0x5983b3=_0x519f42,_0x42812f=this;this['disposeWithMe'](this[_0x5983b3(0x2d8)]['addClipboardHook']({'onBeforePasteImage':async _0x5b3fa1=>{const _0x5990ef=_0x5983b3,_0x4c22b2=await _0x42812f[_0x5990ef(0x4ce)][_0x5990ef(0x2e8)](_0x5b3fa1);return _0x4c22b2?{'source':_0x4c22b2[_0x5990ef(0x456)],'imageSourceType':_0x4c22b2[_0x5990ef(0x2c3)]}:null;}}));}};it=nr([Yt(0x0,J[_0x519f42(0x373)]),Yt(0x1,te['IImageIoService'])],it);const qt=['purple300',_0x519f42(0x607),_0x519f42(0x4b9),'red300',_0x519f42(0x3a7),_0x519f42(0x576)];class Nt extends a[_0x519f42(0x5f8)]{constructor(){const _0x211a42=_0x519f42;super(...arguments),I(this,'_assignedColors',new Map()),I(this,_0x211a42(0x30d),0x0);}[_0x519f42(0x305)](_0x590bbc){const _0x30b24d=_0x519f42;if(this[_0x30b24d(0x52c)][_0x30b24d(0x443)](_0x590bbc))return this[_0x30b24d(0x52c)][_0x30b24d(0x4a6)](_0x590bbc);const _0x200593=qt[this[_0x30b24d(0x30d)]];return this[_0x30b24d(0x30d)]=(this[_0x30b24d(0x30d)]+0x1)%qt[_0x30b24d(0x53a)],this[_0x30b24d(0x52c)][_0x30b24d(0x3e1)](_0x590bbc,_0x200593),_0x200593;}}var rr=Object[_0x519f42(0x360)],sr=Object[_0x519f42(0x544)],or=(_0x5103ae,_0x136d7f,_0x3b1c70,_0x1a281b)=>{for(var _0x585b4a=_0x1a281b>0x1?void 0x0:_0x1a281b?sr(_0x136d7f,_0x3b1c70):_0x136d7f,_0x8a41d9=_0x5103ae['length']-0x1,_0x254915;_0x8a41d9>=0x0;_0x8a41d9--)(_0x254915=_0x5103ae[_0x8a41d9])&&(_0x585b4a=(_0x1a281b?_0x254915(_0x136d7f,_0x3b1c70,_0x585b4a):_0x254915(_0x585b4a))||_0x585b4a);return _0x1a281b&&_0x585b4a&&rr(_0x136d7f,_0x3b1c70,_0x585b4a),_0x585b4a;},pe=(_0x15146a,_0x48f3f5)=>(_0x4c2710,_0xe9893c)=>_0x48f3f5(_0x4c2710,_0xe9893c,_0x15146a);const ar=0x12c,cr=0x64;let bt=class extends a['RxDisposable']{constructor(_0x3ffdf1,_0x2e422b,_0x3b8bc1,_0x3d8b6f,_0x3a1376,_0x1c72fb,_0x230a67,_0xf93db,_0x4a4aa4){const _0x17d3f2=_0x519f42;super(),I(this,_0x17d3f2(0x1a3),!0x1),I(this,_0x17d3f2(0x3b9),!0x1),I(this,_0x17d3f2(0x266),new N[(_0x17d3f2(0x46f))](new Map())),I(this,_0x17d3f2(0x5e8),this[_0x17d3f2(0x266)][_0x17d3f2(0x20b)]()),I(this,'_roomMembers$',new N[(_0x17d3f2(0x46f))]([])),I(this,_0x17d3f2(0x17a),this[_0x17d3f2(0x44f)][_0x17d3f2(0x641)](N['debounceTime'](ar))),I(this,_0x17d3f2(0x3be),a[_0x17d3f2(0x261)](_0x22e3a5=>{const _0x1a5c14=_0x17d3f2,_0x57b4a7={'eventID':m['CollaborationEvent'][_0x1a5c14(0x2ef)],'data':{'unitID':this[_0x1a5c14(0x57d)],'memberID':this[_0x1a5c14(0x37c)][_0x1a5c14(0x2cd)](),'selection':Di(_0x22e3a5)}};this[_0x1a5c14(0x37c)][_0x1a5c14(0x2a8)](_0x57b4a7,this[_0x1a5c14(0x57d)]);},cr)),(this['unitID']=_0x3ffdf1,this[_0x17d3f2(0x37c)]=_0x2e422b,this[_0x17d3f2(0x590)]=_0x3b8bc1,this[_0x17d3f2(0x223)]=_0x3d8b6f,this[_0x17d3f2(0x24e)]=_0x3a1376,this[_0x17d3f2(0x582)]=_0x1c72fb,this[_0x17d3f2(0x2b6)]=_0x230a67,this[_0x17d3f2(0x403)]=_0xf93db,this['_commandService']=_0x4a4aa4);}get['cursorInfo'](){const _0x39578f=_0x519f42;return this['_cursorInfo$'][_0x39578f(0x489)]();}get[_0x519f42(0x272)](){const _0x2331af=_0x519f42;return this[_0x2331af(0x44f)][_0x2331af(0x489)]();}[_0x519f42(0x5fa)](){const _0x34d894=_0x519f42;super[_0x34d894(0x5fa)](),this[_0x34d894(0x266)][_0x34d894(0x213)](new Map()),this['_cursorInfo$']['complete'](),this[_0x34d894(0x44f)]['next']([]),this[_0x34d894(0x44f)]['complete']();}[_0x519f42(0x1fe)](){const _0x682cbb=_0x519f42;this[_0x682cbb(0x3b9)]||(this[_0x682cbb(0x3b9)]=!0x0,this[_0x682cbb(0x37c)][_0x682cbb(0x4b5)]['pipe'](N['takeUntil'](this[_0x682cbb(0x191)]))[_0x682cbb(0x1db)](_0x2dfc0b=>{const _0x36ad56=_0x682cbb;_0x2dfc0b===ne[_0x36ad56(0x481)]?this[_0x36ad56(0x3ef)]():this[_0x36ad56(0x214)]();}),this[_0x682cbb(0x37c)][_0x682cbb(0x4c0)][_0x682cbb(0x641)](N[_0x682cbb(0x1e9)](this[_0x682cbb(0x191)]))[_0x682cbb(0x1db)](_0x14a38d=>{const _0x27d1c5=_0x682cbb,_0x1d0529=_0x14a38d[_0x27d1c5(0x509)];_0x1d0529===m[_0x27d1c5(0x3bc)]['UPDATE_CURSOR']&&this[_0x27d1c5(0x4c2)](_0x14a38d),_0x1d0529===m['CollaborationEvent'][_0x27d1c5(0x41b)]&&this[_0x27d1c5(0x2fa)](_0x14a38d);}),this[_0x682cbb(0x5db)](this[_0x682cbb(0x636)][_0x682cbb(0x4a8)](_0x5c23d7=>{const _0x58381a=_0x682cbb,_0x469007=_0x5c23d7[_0x58381a(0x322)];_0x469007!=null&&this[_0x58381a(0x1a3)]&&_0x5c23d7['id']===Ie[_0x58381a(0x20c)]['id']&&_0x469007['unitId']===this['unitID']&&_0x469007[_0x58381a(0x4ad)]===!0x1&&_0x469007[_0x58381a(0x2a5)][_0x58381a(0x53a)]>0x0&&this[_0x58381a(0x3be)](_0x469007[_0x58381a(0x2a5)]);})),this[_0x682cbb(0x582)][_0x682cbb(0x5fe)][_0x682cbb(0x641)](N['takeUntil'](this['dispose$']))['subscribe'](_0x23f548=>{const _0x48ff00=_0x682cbb;if((_0x23f548==null?void 0x0:_0x23f548[_0x48ff00(0x57d)])!==this['unitID'])return;const _0x2da0ec={'eventID':m['CollaborationEvent'][_0x48ff00(0x2ef)],'data':_0x23f548};this[_0x48ff00(0x4c2)](_0x2da0ec);}),this['disposeWithMe'](this[_0x682cbb(0x636)][_0x682cbb(0x4a8)](_0x4f9085=>{const _0x7464cf=_0x682cbb;if(_0x4f9085[_0x7464cf(0x322)]==null)return;const _0x3eb854=_0x4f9085[_0x7464cf(0x322)];if(_0x4f9085['id']!==Ie['RichTextEditingMutation']['id']||_0x3eb854['unitId']!==this['unitID'])return;const _0x571005={'id':_0x7464cf(0x5d5),'params':_0x3eb854},_0x5cd694=this[_0x7464cf(0x232)];for(const [_0x415ccb,_0x556120]of _0x5cd694){const _0x97f7b9={'id':_0x7464cf(0x5d5),'params':{'unitId':this[_0x7464cf(0x57d)],'actions':null,'textRanges':_0x556120[_0x7464cf(0x2a5)]}},_0x574160=this[_0x7464cf(0x2b6)][_0x7464cf(0x18f)](_0x571005,_0x97f7b9,!0x1);if(m['isTransformMutationFailure'](_0x574160))throw _0x574160['error'];_0x5cd694[_0x7464cf(0x3e1)](_0x415ccb,{..._0x556120,'ranges':_0x574160[_0x7464cf(0x20d)][_0x7464cf(0x322)][_0x7464cf(0x1e0)]});}queueMicrotask(()=>{const _0x3f6c42=_0x7464cf;this['_cursorInfo$'][_0x3f6c42(0x213)](_0x5cd694);});})));}[_0x519f42(0x4c2)](_0x3a092e){const _0x2fa9c7=_0x519f42;var _0x77e1d6,_0x539951;const {memberID:_0x5c5c58,selection:_0x4216a0}=_0x3a092e[_0x2fa9c7(0x2f1)],_0xbdbb=kn(_0x4216a0),_0x14dfe4=(_0x539951=(_0x77e1d6=this[_0x2fa9c7(0x24e)]['getMember'](this[_0x2fa9c7(0x57d)],_0x5c5c58))==null?void 0x0:_0x77e1d6[_0x2fa9c7(0x3b2)])!=null?_0x539951:'Unknown\x20user',_0x5d8b9c={'color':this[_0x2fa9c7(0x223)][_0x2fa9c7(0x305)](_0x5c5c58),'name':_0x14dfe4,'ranges':_0xbdbb},_0x508526=this[_0x2fa9c7(0x232)];_0x508526[_0x2fa9c7(0x3e1)](_0x5c5c58,_0x5d8b9c),this[_0x2fa9c7(0x266)][_0x2fa9c7(0x213)](_0x508526);}[_0x519f42(0x2fa)](_0x5c168d){const _0x4ea7e3=_0x519f42,{memberID:_0x444fab}=_0x5c168d[_0x4ea7e3(0x2f1)],_0x43e70c=this[_0x4ea7e3(0x232)];_0x43e70c[_0x4ea7e3(0x203)](_0x444fab),this[_0x4ea7e3(0x266)][_0x4ea7e3(0x213)](_0x43e70c);}[_0x519f42(0x3ef)](){const _0x3d9bff=_0x519f42;var _0x34c259;if(this[_0x3d9bff(0x1a3)]=!0x0,((_0x34c259=this['_univerInstanceService'][_0x3d9bff(0x5a3)]())==null?void 0x0:_0x34c259[_0x3d9bff(0x238)]())!==this[_0x3d9bff(0x57d)])return;const _0x58ea34=this[_0x3d9bff(0x590)]['get'](Ie[_0x3d9bff(0x278)])['getDocRanges']();Array['isArray'](_0x58ea34)&&_0x58ea34[_0x3d9bff(0x53a)]>0x0&&this[_0x3d9bff(0x3be)](_0x58ea34);}['_toggleOffline'](){const _0x5cae1e=_0x519f42;this[_0x5cae1e(0x1a3)]=!0x1;}};bt=or([pe(0x2,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),pe(0x3,a[_0x519f42(0x3b4)](Nt)),pe(0x4,a['Inject'](exports[_0x519f42(0x1f6)])),pe(0x5,a[_0x519f42(0x3b4)](Ut)),pe(0x6,m[_0x519f42(0x562)]),pe(0x7,a[_0x519f42(0x4aa)]),pe(0x8,a[_0x519f42(0x3e8)])],bt);var lr=Object[_0x519f42(0x360)],hr=Object[_0x519f42(0x544)],_r=(_0xd4486b,_0x491c19,_0x4566e5,_0x143624)=>{const _0x47393d=_0x519f42;for(var _0xb1c823=_0x143624>0x1?void 0x0:_0x143624?hr(_0x491c19,_0x4566e5):_0x491c19,_0xd95b3b=_0xd4486b[_0x47393d(0x53a)]-0x1,_0x1d51e5;_0xd95b3b>=0x0;_0xd95b3b--)(_0x1d51e5=_0xd4486b[_0xd95b3b])&&(_0xb1c823=(_0x143624?_0x1d51e5(_0x491c19,_0x4566e5,_0xb1c823):_0x1d51e5(_0xb1c823))||_0xb1c823);return _0x143624&&_0xb1c823&&lr(_0x491c19,_0x4566e5,_0xb1c823),_0xb1c823;},Te=(_0x2e3d53,_0x4b3c89)=>(_0xbb7504,_0x5a0721)=>_0x4b3c89(_0xbb7504,_0x5a0721,_0x2e3d53);const ur=0x12c,dr=0x64,fr=()=>{let _0x192e0b=[],_0xdc9a3c=!0x1;return _0x52031=>{_0x192e0b['push'](_0x52031),_0xdc9a3c||(_0xdc9a3c=!0x0,setTimeout(()=>{const _0x3ced2c=_0x3f43;_0x192e0b[_0x3ced2c(0x24a)](_0x533b7c=>_0x533b7c()),_0x192e0b=[],_0xdc9a3c=!0x1;}));};};let Tt=class extends a[_0x519f42(0x275)]{constructor(_0x62ea88,_0x30296d,_0x5e8e4b,_0xfe794a,_0x5e6d22,_0x408c9a,_0x2a6efc,_0x3f9bd9){const _0x232e68=_0x519f42;super(),I(this,'_online',!0x1),I(this,'_init',!0x1),I(this,_0x232e68(0x266),new N['BehaviorSubject'](new Map())),I(this,'cursorInfo$',this['_cursorInfo$'][_0x232e68(0x20b)]()),I(this,_0x232e68(0x44f),new N[(_0x232e68(0x46f))]([])),I(this,_0x232e68(0x17a),this['_roomMembers$'][_0x232e68(0x641)](N[_0x232e68(0x3a4)](ur))),I(this,_0x232e68(0x3be),a[_0x232e68(0x261)]((_0x447f93,_0x485a71)=>{const _0xe6f85d=_0x232e68,_0x414b8b={'eventID':m['CollaborationEvent'][_0xe6f85d(0x2ef)],'data':{'unitID':this['unitID'],'memberID':this[_0xe6f85d(0x37c)][_0xe6f85d(0x2cd)](),'selection':$t[_0xe6f85d(0x526)](_0x447f93,_0x485a71['range'])}};this['_session'][_0xe6f85d(0x2a8)](_0x414b8b,this['unitID']);},dr)),(this[_0x232e68(0x57d)]=_0x62ea88,this[_0x232e68(0x37c)]=_0x30296d,this['_injector']=_0x5e8e4b,this[_0x232e68(0x223)]=_0xfe794a,this['_memberService']=_0x5e6d22,this[_0x232e68(0x403)]=_0x408c9a,this['_commandService']=_0x2a6efc,this[_0x232e68(0x20f)]=_0x3f9bd9);}get[_0x519f42(0x232)](){const _0x1b147d=_0x519f42;return this[_0x1b147d(0x266)]['getValue']();}get[_0x519f42(0x272)](){const _0x1096d7=_0x519f42;return this[_0x1096d7(0x44f)][_0x1096d7(0x489)]();}[_0x519f42(0x5fa)](){const _0x14c4b4=_0x519f42;super[_0x14c4b4(0x5fa)](),this[_0x14c4b4(0x266)][_0x14c4b4(0x213)](new Map()),this[_0x14c4b4(0x266)][_0x14c4b4(0x324)](),this[_0x14c4b4(0x44f)][_0x14c4b4(0x213)]([]),this[_0x14c4b4(0x44f)][_0x14c4b4(0x324)]();}[_0x519f42(0x1fe)](){const _0x1f7e2b=_0x519f42;this[_0x1f7e2b(0x3b9)]||(this[_0x1f7e2b(0x3b9)]=!0x0,this[_0x1f7e2b(0x37c)]['sessionStatus$'][_0x1f7e2b(0x641)](N[_0x1f7e2b(0x1e9)](this['dispose$']))['subscribe'](_0x562df0=>{const _0x369266=_0x1f7e2b;_0x562df0===ne['ONLINE']?this['_toggleOnline']():this[_0x369266(0x214)]();}),this[_0x1f7e2b(0x37c)][_0x1f7e2b(0x4c0)][_0x1f7e2b(0x641)](N[_0x1f7e2b(0x1e9)](this[_0x1f7e2b(0x191)]))[_0x1f7e2b(0x1db)](_0x4c779b=>{const _0x58ddeb=_0x1f7e2b,_0x15cb48=_0x4c779b['eventID'];_0x15cb48===m[_0x58ddeb(0x3bc)][_0x58ddeb(0x2ef)]&&this[_0x58ddeb(0x4c2)](_0x4c779b),_0x15cb48===m[_0x58ddeb(0x3bc)][_0x58ddeb(0x41b)]&&this[_0x58ddeb(0x2fa)](_0x4c779b);}),this['_onRefRangeChange'](),this[_0x1f7e2b(0x5db)](this[_0x1f7e2b(0x636)][_0x1f7e2b(0x4a8)](_0x1dd0c3=>{const _0x1d7d63=_0x1f7e2b;if(this[_0x1d7d63(0x1a3)]&&_0x1dd0c3['id']===k[_0x1d7d63(0x4bd)]['id']&&_0x1dd0c3['params'][_0x1d7d63(0x235)]===this[_0x1d7d63(0x57d)]){const _0x554c40=_0x1dd0c3[_0x1d7d63(0x322)];this['_updateLocalCursor'](_0x554c40[_0x1d7d63(0x60b)],_0x554c40[_0x1d7d63(0x515)][0x0]);}})));}['_onCursorUpdate'](_0x431211){const _0x185d9c=_0x519f42;var _0x22fa5a,_0x3d11ea;const {memberID:_0xe5a8fa,selection:_0xddf58a}=_0x431211[_0x185d9c(0x2f1)],{sheetName:_0x451c8d,range:_0x38403b}=$t['deserializeRangeWithSheet'](_0xddf58a),_0x4e4ad4={'name':(_0x3d11ea=(_0x22fa5a=this[_0x185d9c(0x24e)][_0x185d9c(0x449)](this[_0x185d9c(0x57d)],_0xe5a8fa))==null?void 0x0:_0x22fa5a[_0x185d9c(0x3b2)])!=null?_0x3d11ea:_0x185d9c(0x35f),'range':this[_0x185d9c(0x61b)](_0x451c8d,_0x38403b),'sheetID':_0x451c8d,'color':this[_0x185d9c(0x223)][_0x185d9c(0x305)](_0xe5a8fa),'selection':_0xddf58a},_0x3a67d5=this[_0x185d9c(0x232)];_0x3a67d5[_0x185d9c(0x3e1)](_0xe5a8fa,_0x4e4ad4),this[_0x185d9c(0x266)][_0x185d9c(0x213)](_0x3a67d5);}[_0x519f42(0x2fa)](_0x12eeab){const _0x3909bf=_0x519f42,{memberID:_0x1ce9ab}=_0x12eeab[_0x3909bf(0x2f1)],_0x737fd0=this[_0x3909bf(0x232)];_0x737fd0[_0x3909bf(0x203)](_0x1ce9ab),this[_0x3909bf(0x266)]['next'](_0x737fd0);}[_0x519f42(0x61b)](_0x122a69,_0xf3ff6e){const _0x51887c=_0x519f42;var _0x578ffe,_0x101f1b;const _0x2a0830=(_0x101f1b=(_0x578ffe=this[_0x51887c(0x403)][_0x51887c(0x5a9)](this['unitID']))==null?void 0x0:_0x578ffe[_0x51887c(0x54d)](_0x122a69))==null?void 0x0:_0x101f1b[_0x51887c(0x397)]();return(_0x2a0830==null?void 0x0:_0x2a0830[_0x51887c(0x1c6)](_0x2eb3ab=>a[_0x51887c(0x3f5)]['contains'](_0x2eb3ab,_0xf3ff6e)))||_0xf3ff6e;}['_onRefRangeChange'](){const _0x2a81cc=_0x519f42,_0x397a25=new a[(_0x2a81cc(0x3cf))](),_0x36d717=fr(),_0x38fa12=()=>{const _0x345aab=_0x2a81cc;_0x397a25[_0x345aab(0x5fa)]();const _0x4a3857=(_0x2ac8e8,_0x460e0a,_0x2ddde1,_0x1befdb)=>{const _0xb727f2=_0x345aab;let _0x3fbe26=[];switch(_0x2ac8e8['id']){case k[_0xb727f2(0x459)][_0xb727f2(0x480)]:{_0x3fbe26=k[_0xb727f2(0x288)](_0x2ac8e8,_0x1befdb);break;}case k['EffectRefRangId'][_0xb727f2(0x5c2)]:{_0x3fbe26=k['handleDeleteRangeMoveUp'](_0x2ac8e8,_0x1befdb);break;}case k[_0xb727f2(0x459)][_0xb727f2(0x54f)]:{_0x3fbe26=k[_0xb727f2(0x4ed)](_0x2ac8e8,_0x1befdb);break;}case k[_0xb727f2(0x459)][_0xb727f2(0x61a)]:{_0x3fbe26=k['handleInsertRangeMoveDown'](_0x2ac8e8,_0x1befdb);break;}case k[_0xb727f2(0x459)][_0xb727f2(0x5c9)]:{_0x3fbe26=k['handleInsertRangeMoveRight'](_0x2ac8e8,_0x1befdb);break;}case k[_0xb727f2(0x459)]['InsertRowCommandId']:{_0x3fbe26=k[_0xb727f2(0x287)](_0x2ac8e8,_0x1befdb);break;}case k[_0xb727f2(0x459)]['MoveRangeCommandId']:{_0x3fbe26=k['handleMoveRange'](_0x2ac8e8,_0x1befdb);break;}case k[_0xb727f2(0x459)][_0xb727f2(0x3f0)]:{_0x3fbe26=k[_0xb727f2(0x533)](_0x2ac8e8,_0x1befdb);break;}case k[_0xb727f2(0x459)]['RemoveRowCommandId']:{_0x3fbe26=k[_0xb727f2(0x41e)](_0x2ac8e8,_0x1befdb);break;}}const _0x3d5963=k[_0xb727f2(0x2ac)](_0x3fbe26,_0x1befdb),_0x272540=this[_0xb727f2(0x232)][_0xb727f2(0x4a6)](_0x460e0a);if(_0x272540&&_0x3d5963){const _0x81098e={..._0x272540,'range':_0x3d5963};this[_0xb727f2(0x232)]['set'](_0x460e0a,_0x81098e),_0x36d717(()=>{const _0x1e26d4=_0xb727f2,_0x2de034=this['_refRangeService'][_0x1e26d4(0x5a2)](_0x3d5963,_0x466f6e=>(_0x2de034[_0x1e26d4(0x5fa)](),_0x4a3857(_0x466f6e,_0x460e0a,_0x2ddde1,_0x3d5963)));_0x397a25[_0x1e26d4(0x556)](_0x2de034);});}return{'redos':[],'undos':[]};};this[_0x345aab(0x232)][_0x345aab(0x24a)]((_0x19bce8,_0x2c8fde)=>{const _0x182cfa=_0x345aab,{range:_0x3bb1ec,sheetID:_0x5e0fc1}=_0x19bce8,_0x5bd678=this[_0x182cfa(0x20f)][_0x182cfa(0x5a2)](_0x3bb1ec,_0x36b10c=>(_0x5bd678[_0x182cfa(0x5fa)](),_0x4a3857(_0x36b10c,_0x2c8fde,_0x5e0fc1,_0x3bb1ec)));_0x397a25[_0x182cfa(0x556)](_0x5bd678);});};this[_0x2a81cc(0x5db)](a['toDisposable'](this[_0x2a81cc(0x266)]['subscribe'](()=>{_0x38fa12();})));}[_0x519f42(0x3ef)](){const _0x3bce9c=_0x519f42;var _0x114d4b,_0x438f1b;if(this[_0x3bce9c(0x1a3)]=!0x0,((_0x114d4b=this[_0x3bce9c(0x403)][_0x3bce9c(0x5a3)]())==null?void 0x0:_0x114d4b[_0x3bce9c(0x238)]())!==this[_0x3bce9c(0x57d)])return;const _0x28245d=(_0x438f1b=this[_0x3bce9c(0x590)]['get'](k['SheetsSelectionsService'])[_0x3bce9c(0x1d6)]())==null?void 0x0:_0x438f1b[0x0],_0x53d3c9=this['_univerInstanceService'][_0x3bce9c(0x4d6)](a[_0x3bce9c(0x475)][_0x3bce9c(0x248)])['getActiveSheet']();_0x28245d&&_0x53d3c9&&this[_0x3bce9c(0x3be)](_0x53d3c9[_0x3bce9c(0x584)](),_0x28245d);}['_toggleOffline'](){const _0x358fa1=_0x519f42;this[_0x358fa1(0x1a3)]=!0x1;}};Tt=_r([Te(0x2,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),Te(0x3,a[_0x519f42(0x3b4)](Nt)),Te(0x4,a[_0x519f42(0x3b4)](exports['MemberService'])),Te(0x5,a['IUniverInstanceService']),Te(0x6,a['ICommandService']),Te(0x7,a[_0x519f42(0x3b4)](k[_0x519f42(0x62f)]))],Tt);var vr=Object['defineProperty'],Sr=Object[_0x519f42(0x544)],pr=(_0x53c00c,_0x361159,_0x4cca72,_0x900fdd)=>{const _0x1173a8=_0x519f42;for(var _0x3f69a6=_0x900fdd>0x1?void 0x0:_0x900fdd?Sr(_0x361159,_0x4cca72):_0x361159,_0x275afd=_0x53c00c[_0x1173a8(0x53a)]-0x1,_0x58bcf2;_0x275afd>=0x0;_0x275afd--)(_0x58bcf2=_0x53c00c[_0x275afd])&&(_0x3f69a6=(_0x900fdd?_0x58bcf2(_0x361159,_0x4cca72,_0x3f69a6):_0x58bcf2(_0x3f69a6))||_0x3f69a6);return _0x900fdd&&_0x3f69a6&&vr(_0x361159,_0x4cca72,_0x3f69a6),_0x3f69a6;},ft=(_0x1749eb,_0x2878ed)=>(_0xa8478b,_0x1bfdc2)=>_0x2878ed(_0xa8478b,_0x1bfdc2,_0x1749eb);let ye=class extends a[_0x519f42(0x275)]{constructor(_0x3af524,_0x16f01e,_0x25d40d){const _0x26da1e=_0x519f42;super(),I(this,_0x26da1e(0x41d),new Map()),I(this,_0x26da1e(0x276),new N[(_0x26da1e(0x3ec))]()),(this[_0x26da1e(0x403)]=_0x3af524,this[_0x26da1e(0x590)]=_0x16f01e,this[_0x26da1e(0x55b)]=_0x25d40d,this[_0x26da1e(0x3b9)]());}['dispose'](){const _0xc747ef=_0x519f42;super[_0xc747ef(0x5fa)](),this['_entityInit$'][_0xc747ef(0x324)](),this[_0xc747ef(0x41d)][_0xc747ef(0x24a)](_0x532534=>_0x532534['dispose']());}[_0x519f42(0x199)](_0x2a7736){const _0x255209=_0x519f42;return this[_0x255209(0x41d)][_0x255209(0x443)](_0x2a7736)?this[_0x255209(0x41d)]['get'](_0x2a7736)[_0x255209(0x5e8)]:this[_0x255209(0x276)][_0x255209(0x641)](N[_0x255209(0x1ae)](_0x23458c=>_0x23458c[_0x255209(0x57d)]===_0x2a7736),N['switchMap'](_0x55a92e=>_0x55a92e[_0x255209(0x5e8)]));}[_0x519f42(0x3b9)](){const _0xcc75d4=_0x519f42;this[_0xcc75d4(0x403)][_0xcc75d4(0x253)](a[_0xcc75d4(0x475)]['UNIVER_SHEET'])['pipe'](N[_0xcc75d4(0x1e9)](this[_0xcc75d4(0x191)]))['subscribe'](async _0x1a23df=>{const _0x2816b1=_0xcc75d4,_0x2b66d3=_0x1a23df['getUnitId'](),_0x25262d=await this[_0x2816b1(0x41f)](_0x2b66d3);this[_0x2816b1(0x276)][_0x2816b1(0x213)](_0x25262d),this['_entities']['set'](_0x2b66d3,_0x25262d);}),this[_0xcc75d4(0x403)][_0xcc75d4(0x253)](a[_0xcc75d4(0x475)]['UNIVER_DOC'])[_0xcc75d4(0x641)](N['takeUntil'](this[_0xcc75d4(0x191)]))[_0xcc75d4(0x641)](N['filter'](_0x1dab26=>!_0x1dab26[_0xcc75d4(0x238)]()[_0xcc75d4(0x2ea)]('__')))[_0xcc75d4(0x1db)](async _0x185abc=>{const _0x40edfb=_0xcc75d4,_0x93f197=_0x185abc[_0x40edfb(0x238)](),_0x55be8b=await this[_0x40edfb(0x3ff)](_0x93f197);this[_0x40edfb(0x276)][_0x40edfb(0x213)](_0x55be8b),this[_0x40edfb(0x41d)]['set'](_0x93f197,_0x55be8b);}),N['merge'](this['_univerInstanceService'][_0xcc75d4(0x610)](a['UniverInstanceType'][_0xcc75d4(0x249)]),this['_univerInstanceService'][_0xcc75d4(0x610)](a[_0xcc75d4(0x475)][_0xcc75d4(0x248)]))[_0xcc75d4(0x641)](N['takeUntil'](this[_0xcc75d4(0x191)]))[_0xcc75d4(0x1db)](_0x378270=>{const _0x4d76f0=_0xcc75d4,_0x2bebee=_0x378270[_0x4d76f0(0x238)](),_0x3a04ff=this[_0x4d76f0(0x41d)]['get'](_0x2bebee);_0x3a04ff&&(_0x3a04ff[_0x4d76f0(0x5fa)](),this[_0x4d76f0(0x41d)]['delete'](_0x2bebee));});}async[_0x519f42(0x41f)](_0xa49dc){const _0x197609=_0x519f42,_0x4e3a71=await this[_0x197609(0x55b)][_0x197609(0x295)](_0xa49dc),_0x18dbdb=this[_0x197609(0x590)][_0x197609(0x35c)](Tt,_0xa49dc,_0x4e3a71);return _0x18dbdb[_0x197609(0x1fe)](),_0x18dbdb;}async['_startDocCollabCursor'](_0x2d8864){const _0x7c149b=_0x519f42,_0x162f85=await this[_0x7c149b(0x55b)]['requireSession'](_0x2d8864),_0x15d4e4=this[_0x7c149b(0x590)]['createInstance'](bt,_0x2d8864,_0x162f85);return _0x15d4e4[_0x7c149b(0x1fe)](),_0x15d4e4;}};ye=pr([ft(0x0,a['IUniverInstanceService']),ft(0x1,a['Inject'](a['Injector'])),ft(0x2,a[_0x519f42(0x3b4)](exports[_0x519f42(0x4ae)]))],ye);const xe=0x14,Kt=0xc8,vt=0x4,mr=0x5;function gr(_0x17d730,_0x57611c){const _0x9a8bcc=_0x519f42;let {radius:_0x5bf219,width:_0x12bbdf,height:_0x371c5b}=_0x57611c;_0x5bf219=_0x5bf219!=null?_0x5bf219:0x0,_0x12bbdf=_0x12bbdf!=null?_0x12bbdf:0x1e,_0x371c5b=_0x371c5b!=null?_0x371c5b:0x1e;let _0xe71c9d=0x0,_0x4a4571=0x0,_0x5b919c=0x0;_0xe71c9d=_0x4a4571=_0x5b919c=Math[_0x9a8bcc(0x3ba)](_0x5bf219,_0x12bbdf/0x2,_0x371c5b/0x2),_0x17d730[_0x9a8bcc(0x550)](),_0x17d730[_0x9a8bcc(0x62e)](_0xe71c9d,0x0),_0x17d730['lineTo'](_0x12bbdf-_0x4a4571,0x0),_0x17d730['arc'](_0x12bbdf-_0x4a4571,_0x4a4571,_0x4a4571,Math['PI']*0x3/0x2,0x0,!0x1),_0x17d730[_0x9a8bcc(0x257)](_0x12bbdf,_0x371c5b-_0x5b919c),_0x17d730[_0x9a8bcc(0x286)](_0x12bbdf-_0x5b919c,_0x371c5b-_0x5b919c,_0x5b919c,0x0,Math['PI']/0x2,!0x1),_0x17d730[_0x9a8bcc(0x257)](0x0,_0x371c5b),_0x17d730[_0x9a8bcc(0x257)](0x0,_0xe71c9d),_0x17d730[_0x9a8bcc(0x286)](_0xe71c9d,_0xe71c9d,_0xe71c9d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x17d730[_0x9a8bcc(0x504)](),_0x57611c[_0x9a8bcc(0x221)]&&(_0x17d730['save'](),_0x17d730[_0x9a8bcc(0x567)]=_0x57611c['fill'],_0x57611c[_0x9a8bcc(0x1fb)]==='evenodd'?_0x17d730[_0x9a8bcc(0x221)](_0x9a8bcc(0x55f)):_0x17d730['fill'](),_0x17d730[_0x9a8bcc(0x1a7)]());}class ct extends Y['Shape']{constructor(_0x28be89,_0x2e5824){const _0x12d7e2=_0x519f42;super(_0x28be89,_0x2e5824),I(this,'color'),I(this,_0x12d7e2(0x18d)),(this['color']=_0x2e5824==null?void 0x0:_0x2e5824['color'],this['text']=_0x2e5824==null?void 0x0:_0x2e5824[_0x12d7e2(0x18d)]);}static[_0x519f42(0x290)](_0x4739ba,_0x33cd50){const _0x34995d=_0x519f42,{text:_0x508986,color:_0x1096b}=_0x33cd50;_0x4739ba[_0x34995d(0x3c4)](),_0x4739ba[_0x34995d(0x177)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x4909c7=_0x4739ba['measureText'](_0x508986)[_0x34995d(0x5c0)],_0x40db66=Math['min'](_0x4909c7+0x2*vt,Kt);gr(_0x4739ba,{'height':xe,'radius':0x4,'width':_0x40db66,'fill':_0x1096b,'evented':!0x1}),_0x4739ba[_0x34995d(0x567)]=_0x34995d(0x184);const _0x2b48b9=vt,_0x388a65=xe-mr,_0x1cbb26=Kt-0x2*vt;if(_0x4909c7>_0x1cbb26){let _0x959276='',_0x150879=0x0;for(const _0x2ec0f3 of _0x508986){const _0x79b1c7=_0x4739ba[_0x34995d(0x545)](_0x2ec0f3)[_0x34995d(0x5c0)];if(_0x150879+_0x79b1c7<=_0x1cbb26-_0x4739ba['measureText'](_0x34995d(0x2b3))['width'])_0x959276+=_0x2ec0f3,_0x150879+=_0x79b1c7;else{_0x959276+='...';break;}}_0x4739ba[_0x34995d(0x541)](_0x959276,_0x2b48b9,_0x388a65);}else _0x4739ba[_0x34995d(0x541)](_0x508986,_0x2b48b9,_0x388a65);_0x4739ba[_0x34995d(0x1a7)]();}[_0x519f42(0x611)](_0x557863){const _0x3c9e50=_0x519f42;ct[_0x3c9e50(0x290)](_0x557863,this);}}const St='collab-text-anchor-',Ir=_0x519f42(0x33f),Cr=_0x519f42(0x264),we=0x6,Er=1.5,pt=0x4,br=1.5,Tr='rgba(255,\x20255,\x20255,\x200.01)';class zt{constructor(_0x296aaf,_0x4ac3d3,_0x5c82ae,_0x2d0862){const _0x303572=_0x519f42;I(this,_0x303572(0x463),[]),I(this,'_anchor',null),I(this,_0x303572(0x507),null),I(this,_0x303572(0x3e4),null),I(this,_0x303572(0x438),null),I(this,_0x303572(0x452),null),(this[_0x303572(0x399)]=_0x296aaf,this[_0x303572(0x1c5)]=_0x4ac3d3,this[_0x303572(0x573)]=_0x5c82ae,this['_document']=_0x2d0862,this[_0x303572(0x317)]());}set[_0x519f42(0x359)](_0x8c2a60){const _0x3d8b0e=_0x519f42;_0x8c2a60?(this[_0x3d8b0e(0x3e4)]&&this[_0x3d8b0e(0x3e4)][_0x3d8b0e(0x42a)](),this[_0x3d8b0e(0x507)]&&this['_textBubble']['show']()):(this[_0x3d8b0e(0x3e4)]&&this[_0x3d8b0e(0x3e4)][_0x3d8b0e(0x1e6)](),this[_0x3d8b0e(0x507)]&&this['_textBubble']['hide']());}['dispose'](){const _0x133971=_0x519f42;for(const _0x57977f of this['_shapes'])_0x57977f[_0x133971(0x5fa)]();this['_textBubble']&&this[_0x133971(0x507)]['dispose'](),this['_anchorDot']&&this[_0x133971(0x3e4)][_0x133971(0x5fa)](),this[_0x133971(0x344)]&&this[_0x133971(0x344)][_0x133971(0x5fa)](),this['_eventUnsubscribe']&&this[_0x133971(0x452)]();}[_0x519f42(0x317)](){const _0x2669b1=_0x519f42;var _0x3eb638;const {_docSkeleton:_0x4cdc50,_document:_0x593e93}=this,{color:_0x30d53b,name:_0x5125e8,ranges:_0x47e066}=this[_0x2669b1(0x399)],_0xfd4d16=_0x593e93[_0x2669b1(0x3b0)](),{docsLeft:_0x50a760,docsTop:_0x14443f}=_0xfd4d16,_0x212545=new J['NodePositionConvertToCursor'](_0xfd4d16,_0x4cdc50);for(const {startOffset:_0x547515,endOffset:_0xe48d8f,rangeType:_0x4e73dd,segmentId:_0x173d20,segmentPage:_0x3c143c,collapsed:_0x202445,isActive:_0xe87cf}of _0x47e066){const _0x4e7556=_0x4cdc50[_0x2669b1(0x474)](_0x547515,!0x0,_0x173d20,_0x3c143c);let _0x1b704a=_0x4cdc50['findNodePositionByCharIndex'](_0xe48d8f,!0x0,_0x173d20,_0x3c143c);if(_0x1b704a==null&&(_0x1b704a=_0x4cdc50[_0x2669b1(0x474)](_0xe48d8f-0x1,!0x1,_0x173d20,_0x3c143c)),_0xe87cf){const {contentBoxPointGroup:_0x2e3c76}=_0x212545[_0x2669b1(0x4eb)](_0x1b704a,_0x1b704a);if(_0x2e3c76['length']===0x0)continue;this['_drawAnchor'](_0x30d53b,_0x2e3c76,_0x50a760,_0x14443f,_0x5125e8),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x4e7556&&_0x1b704a){if(_0x4e73dd===a[_0x2669b1(0x5ae)]['RECT']){const _0x1c6ef2=new J[(_0x2669b1(0x27b))](_0xfd4d16,_0x4cdc50),{pointGroup:_0x4fc0ac}=(_0x3eb638=_0x1c6ef2[_0x2669b1(0x4eb)](_0x4e7556,_0x1b704a))!=null?_0x3eb638:{};if(_0x4fc0ac==null||_0x4fc0ac[_0x2669b1(0x53a)]===0x0)continue;this[_0x2669b1(0x36b)](_0x30d53b,_0x4fc0ac,_0x50a760,_0x14443f);}else{if(!_0x202445){const {borderBoxPointGroup:_0x37ec9a}=_0x212545['getRangePointData'](_0x4e7556,_0x1b704a);if(_0x37ec9a[_0x2669b1(0x53a)]===0x0)continue;this[_0x2669b1(0x1ed)](_0x30d53b,_0x37ec9a,_0x50a760,_0x14443f);}}}}}['_drawAnchor'](_0x1de6d0,_0x1039db,_0x13bb0b,_0x41a488,_0x2e7980){const _0xe91b97=_0x519f42,_0x489d92=this[_0xe91b97(0x4c3)](_0x1039db),{left:_0x1a6b65,top:_0x102450,height:_0x164cc0}=_0x489d92,_0x26e520=this[_0xe91b97(0x44a)](),_0x101932=br/_0x26e520,_0x5c7dd5=new Y[(_0xe91b97(0x1c3))](St+a['Tools'][_0xe91b97(0x472)](we),{'left':_0x1a6b65+_0x13bb0b-_0x101932,'top':_0x102450+_0x41a488,'height':_0x164cc0,'width':Er,'fill':_0x1de6d0||Y[_0xe91b97(0x357)](a[_0xe91b97(0x5cd)]['black'],0x0),'strokeWidth':_0x101932,'stroke':Tr,'evented':!0x0});this[_0xe91b97(0x344)]=_0x5c7dd5,this[_0xe91b97(0x1c5)]['addObject'](_0x5c7dd5,J[_0xe91b97(0x59f)]);const _0x459534=new Y['Rect'](St+a[_0xe91b97(0x2c8)][_0xe91b97(0x472)](we),{'left':_0x1a6b65+_0x13bb0b-_0x101932,'top':_0x102450+_0x41a488-pt/0x2,'height':pt,'width':pt,'fill':_0x1de6d0||Y['getColor'](a[_0xe91b97(0x5cd)][_0xe91b97(0x53d)],0x0),'strokeWidth':0x0,'stroke':_0x1de6d0||Y[_0xe91b97(0x357)](a[_0xe91b97(0x5cd)][_0xe91b97(0x53d)],0x0),'evented':!0x1});this[_0xe91b97(0x3e4)]=_0x459534,this['_scene'][_0xe91b97(0x180)](_0x459534,J[_0xe91b97(0x59f)]);const _0x4a5eae=new ct(St+a['Tools']['generateRandomId'](we),{'left':_0x1a6b65+_0x13bb0b-_0x101932,'top':_0x102450+_0x41a488-xe,'text':_0x2e7980,'color':_0x1de6d0});this[_0xe91b97(0x507)]=_0x4a5eae,this['_scene']['addObject'](_0x4a5eae,J[_0xe91b97(0x59f)]),this['_hover']=!0x1;}[_0x519f42(0x310)](){const _0xf3ba4=_0x519f42,_0xe4f070=this[_0xf3ba4(0x344)][_0xf3ba4(0x2cf)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x462a0e=this[_0xf3ba4(0x344)][_0xf3ba4(0x485)][_0xf3ba4(0x49d)](()=>{const _0x394199=_0xf3ba4;this[_0x394199(0x438)]&&clearTimeout(this['_hideTimer']),this[_0x394199(0x438)]=setTimeout(()=>{const _0x4a25e5=_0x394199;this[_0x4a25e5(0x359)]=!0x1;},0x7d0);});return()=>{const _0x96ded3=_0xf3ba4;_0xe4f070[_0x96ded3(0x347)](),_0x462a0e['unsubscribe']();};}[_0x519f42(0x1ed)](_0x4d327d,_0x2acd44,_0x14a7b1,_0xcb950b){const _0x358710=_0x519f42,_0x162ec6=new a[(_0x358710(0x5aa))](_0x4d327d)[_0x358710(0x551)](0.2)[_0x358710(0x3e5)](),_0x558fd0=new Y[(_0x358710(0x5c6))](Ir+a[_0x358710(0x2c8)][_0x358710(0x472)](we),{'pointsGroup':_0x2acd44,'fill':_0x162ec6||Y[_0x358710(0x357)](a[_0x358710(0x5cd)][_0x358710(0x53d)],0.2),'left':_0x14a7b1,'top':_0xcb950b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x358710(0x463)][_0x358710(0x205)](_0x558fd0),this[_0x358710(0x1c5)]['addObject'](_0x558fd0,J[_0x358710(0x59f)]);}[_0x519f42(0x36b)](_0x29de5c,_0x5e2e0f,_0x25093f,_0x4b07bb){const _0x387fcc=_0x519f42,_0x4acdc3=new a[(_0x387fcc(0x5aa))](_0x29de5c)[_0x387fcc(0x551)](0.2)[_0x387fcc(0x3e5)](),_0x50dbb3=new Y[(_0x387fcc(0x5c6))](Cr+a['Tools']['generateRandomId'](we),{'pointsGroup':_0x5e2e0f,'fill':_0x4acdc3||Y[_0x387fcc(0x357)](a[_0x387fcc(0x5cd)][_0x387fcc(0x53d)],0.2),'left':_0x25093f,'top':_0x4b07bb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x387fcc(0x463)][_0x387fcc(0x205)](_0x50dbb3),this['_scene'][_0x387fcc(0x180)](_0x50dbb3,J[_0x387fcc(0x59f)]);}['_getAnchorBounding'](_0x196126){const _0x240daa=_0x196126[0x0],_0x36a991=_0x240daa[0x0],_0x38cc4f=_0x240daa[0x2],{x:_0x453982,y:_0x5591d7}=_0x36a991,{x:_0x404623,y:_0x5e978e}=_0x38cc4f;return{'left':_0x453982,'top':_0x5591d7,'width':_0x404623-_0x453982,'height':_0x5e978e-_0x5591d7};}[_0x519f42(0x44a)](){const _0x153dcc=_0x519f42,{scaleX:_0x2ba3a9,scaleY:_0x5e9cff}=this[_0x153dcc(0x1c5)][_0x153dcc(0x30a)]();return Math['max'](_0x2ba3a9,_0x5e9cff);}}var Rr=Object[_0x519f42(0x360)],Or=Object[_0x519f42(0x544)],yr=(_0x51f305,_0x140acf,_0x1dcfd6,_0x4d0851)=>{const _0x2abcb6=_0x519f42;for(var _0xface28=_0x4d0851>0x1?void 0x0:_0x4d0851?Or(_0x140acf,_0x1dcfd6):_0x140acf,_0x511c81=_0x51f305[_0x2abcb6(0x53a)]-0x1,_0x402083;_0x511c81>=0x0;_0x511c81--)(_0x402083=_0x51f305[_0x511c81])&&(_0xface28=(_0x4d0851?_0x402083(_0x140acf,_0x1dcfd6,_0xface28):_0x402083(_0xface28))||_0xface28);return _0x4d0851&&_0xface28&&Rr(_0x140acf,_0x1dcfd6,_0xface28),_0xface28;},je=(_0x5801e5,_0x3bf739)=>(_0x3d96b0,_0x58363b)=>_0x3bf739(_0x3d96b0,_0x58363b,_0x5801e5);let Rt=class extends a['RxDisposable']{constructor(_0x125d61,_0x81a3c9,_0x55a36b,_0x2b061a,_0x4a8f8c){const _0x2eabbc=_0x519f42;super(),I(this,_0x2eabbc(0x624),[]),I(this,_0x2eabbc(0x2f9),[]),(this['_context']=_0x125d61,this[_0x2eabbc(0x304)]=_0x81a3c9,this['_collabCursorController']=_0x55a36b,this['_commandService']=_0x2b061a,this[_0x2eabbc(0x28c)]=_0x4a8f8c,this[_0x2eabbc(0x3b9)]());}[_0x519f42(0x3b9)](){const _0x1fed14=_0x519f42,_0x1b7a1c=this[_0x1fed14(0x1b0)]['unitId'],_0x881578=this[_0x1fed14(0x304)];this[_0x1fed14(0x5db)](N[_0x1fed14(0x18e)]([this[_0x1fed14(0x566)][_0x1fed14(0x199)](_0x1b7a1c),this[_0x1fed14(0x28c)][_0x1fed14(0x25f)]])[_0x1fed14(0x641)](V['map'](([_0x3f4d38,_0x5535c2])=>({'skeleton':_0x881578[_0x1fed14(0x518)](),'cursors':[..._0x3f4d38[_0x1fed14(0x426)]()]['flatMap'](_0x1d0535=>({..._0x1d0535,'color':_0x5535c2[_0x1d0535[_0x1fed14(0x350)]]}))})))[_0x1fed14(0x1db)](_0x52f6e1=>{const _0x1a7fbd=_0x1fed14;if(this[_0x1a7fbd(0x59d)](),_0x52f6e1){const {skeleton:_0x3e6d6a,cursors:_0x2ba7ce}=_0x52f6e1;this[_0x1a7fbd(0x455)](_0x3e6d6a,_0x2ba7ce);}})),this[_0x1fed14(0x420)](),this[_0x1fed14(0x3d1)]();}['_updateCollabCursors'](_0x560af4,_0x19fd24){const _0x323b21=_0x519f42,{scene:_0x26f4c1,mainComponent:_0x2ca27c}=this[_0x323b21(0x1b0)],_0x32f14c=_0x19fd24[_0x323b21(0x444)](_0x5e7ccb=>new zt(_0x5e7ccb,_0x26f4c1,_0x560af4,_0x2ca27c));this[_0x323b21(0x624)]=_0x32f14c,this['_cursors']=_0x19fd24;}[_0x519f42(0x2b2)](){const _0xc2474f=_0x519f42;this['_removeCollabCursors']();const {scene:_0x4d8869,mainComponent:_0x31d2d3}=this[_0xc2474f(0x1b0)],_0x58495b=this[_0xc2474f(0x304)][_0xc2474f(0x518)](),_0x4fdce9=this[_0xc2474f(0x2f9)]['map'](_0x2db6f4=>new zt(_0x2db6f4,_0x4d8869,_0x58495b,_0x31d2d3));this[_0xc2474f(0x624)]=_0x4fdce9;}['_removeCollabCursors'](){const _0xd8bcd6=_0x519f42;this[_0xd8bcd6(0x624)]['forEach'](_0x92a68f=>_0x92a68f[_0xd8bcd6(0x5fa)]()),this[_0xd8bcd6(0x624)]=[];}[_0x519f42(0x3d1)](){const _0x520d8f=_0x519f42,_0x100e7d=[J[_0x520d8f(0x588)]['id']];this[_0x520d8f(0x5db)](this['_commandService'][_0x520d8f(0x4a8)](_0x2493a0=>{const _0x45820f=_0x520d8f;_0x100e7d['includes'](_0x2493a0['id'])&&_0x2493a0[_0x45820f(0x322)][_0x45820f(0x235)]===this[_0x45820f(0x1b0)][_0x45820f(0x235)]&&this[_0x45820f(0x2b2)]();}));}['_initResize'](){const _0x1ab117=_0x519f42;this[_0x1ab117(0x5db)](a[_0x1ab117(0x396)](this[_0x1ab117(0x1b0)][_0x1ab117(0x23f)][_0x1ab117(0x5a5)])[_0x1ab117(0x641)](V[_0x1ab117(0x1ae)](_0x59516c=>_0x59516c[_0x1ab117(0x1d1)]===Y[_0x1ab117(0x361)][_0x1ab117(0x58b)]),V[_0x1ab117(0x21a)](0x10))[_0x1ab117(0x1db)](()=>{const _0x1c8a76=_0x1ab117;this[_0x1c8a76(0x2b2)]();}));}};Rt=yr([je(0x1,a['Inject'](Ie[_0x519f42(0x5b6)])),je(0x2,a[_0x519f42(0x3b4)](ye)),je(0x3,a['ICommandService']),je(0x4,a['Inject'](a['ThemeService']))],Rt);const Dr=0x1,Pr=1.5;class Mi extends Y['Shape']{constructor(_0x4af30b,_0x33d800){const _0xbdb16f=_0x519f42;super(_0x4af30b,_0x33d800),I(this,_0xbdb16f(0x4da)),I(this,_0xbdb16f(0x268),!0x1),I(this,_0xbdb16f(0x19f)),I(this,_0xbdb16f(0x575),''),I(this,_0xbdb16f(0x1bb),_0xbdb16f(0x2fd)),I(this,'_backgroundColor'),(_0x33d800&&this['setShapeProps'](_0x33d800),this['onPointerEnter$']['subscribeEvent'](()=>this[_0xbdb16f(0x1c9)]({'hovered':!0x0})),this[_0xbdb16f(0x485)][_0xbdb16f(0x49d)](()=>this[_0xbdb16f(0x1c9)]({'hovered':!0x1})));}[_0x519f42(0x1c9)](_0x1f66cf){const _0x5a3b3b=_0x519f42;var _0x422a60,_0x5861c1,_0x16d07d,_0x2dfe3b,_0x83cc7a,_0x510cbb;this[_0x5a3b3b(0x4da)]=(_0x422a60=_0x1f66cf[_0x5a3b3b(0x350)])!=null?_0x422a60:this[_0x5a3b3b(0x4da)],this[_0x5a3b3b(0x268)]=(_0x5861c1=_0x1f66cf[_0x5a3b3b(0x23e)])!=null?_0x5861c1:this[_0x5a3b3b(0x268)],this[_0x5a3b3b(0x19f)]=(_0x16d07d=_0x1f66cf[_0x5a3b3b(0x400)])!=null?_0x16d07d:this[_0x5a3b3b(0x19f)],this[_0x5a3b3b(0x575)]=(_0x2dfe3b=_0x1f66cf[_0x5a3b3b(0x3b2)])!=null?_0x2dfe3b:this[_0x5a3b3b(0x575)],this['_labelPosition']=(_0x83cc7a=_0x1f66cf[_0x5a3b3b(0x2dd)])!=null?_0x83cc7a:this['_labelPosition'],this[_0x5a3b3b(0x262)]=(_0x510cbb=_0x1f66cf[_0x5a3b3b(0x1c4)])!=null?_0x510cbb:this[_0x5a3b3b(0x262)],this[_0x5a3b3b(0x2d1)]({'width':_0x1f66cf[_0x5a3b3b(0x5c0)],'height':_0x1f66cf[_0x5a3b3b(0x53b)]});}[_0x519f42(0x3c3)](_0x2be35e){const _0x2fd1f1=_0x519f42,{row:_0x31c2f7,column:_0x5d51bb}=_0x2be35e;if(_0x31c2f7>=this[_0x2fd1f1(0x19f)][_0x2fd1f1(0x28b)]&&_0x31c2f7<=this[_0x2fd1f1(0x19f)][_0x2fd1f1(0x434)]&&_0x5d51bb>=this[_0x2fd1f1(0x19f)]['startColumn']&&_0x5d51bb<=this['_range'][_0x2fd1f1(0x209)]){this[_0x2fd1f1(0x1c9)]({'hovered':!0x0});return;}this[_0x2fd1f1(0x1c9)]({'hovered':!0x1});}[_0x519f42(0x570)](_0x3c344d){return!0x1;}[_0x519f42(0x611)](_0x266f4e){const _0x3479c4=_0x519f42;Y[_0x3479c4(0x1c3)][_0x3479c4(0x290)](_0x266f4e,{'width':this['width'],'height':this[_0x3479c4(0x53b)],'strokeWidth':Pr,'stroke':this[_0x3479c4(0x4da)],'evented':!0x1,'fill':this[_0x3479c4(0x262)]}),this[_0x3479c4(0x268)]&&(_0x266f4e[_0x3479c4(0x3c4)](),_0x266f4e['transform'](0x1,0x0,0x0,0x1,this[_0x3479c4(0x5c0)],this['_labelPosition']===_0x3479c4(0x21b)?0x0:-xe),ct['drawWith'](_0x266f4e,{'text':this[_0x3479c4(0x575)],'color':this[_0x3479c4(0x4da)]}),_0x266f4e[_0x3479c4(0x1a7)]());}}var wr=Object[_0x519f42(0x360)],Ur=Object[_0x519f42(0x544)],Mr=(_0xc9178f,_0x52be9f,_0x560c17,_0x2b5b76)=>{const _0x40a11f=_0x519f42;for(var _0x1b3d90=_0x2b5b76>0x1?void 0x0:_0x2b5b76?Ur(_0x52be9f,_0x560c17):_0x52be9f,_0x2277a1=_0xc9178f[_0x40a11f(0x53a)]-0x1,_0x1f2a1c;_0x2277a1>=0x0;_0x2277a1--)(_0x1f2a1c=_0xc9178f[_0x2277a1])&&(_0x1b3d90=(_0x2b5b76?_0x1f2a1c(_0x52be9f,_0x560c17,_0x1b3d90):_0x1f2a1c(_0x1b3d90))||_0x1b3d90);return _0x2b5b76&&_0x1b3d90&&wr(_0x52be9f,_0x560c17,_0x1b3d90),_0x1b3d90;},mt=(_0xe59ec2,_0xffde98)=>(_0xefb048,_0x32ee99)=>_0xffde98(_0xefb048,_0x32ee99,_0xe59ec2);const Nr=0x1389;let Ot=class extends a[_0x519f42(0x275)]{constructor(_0x279eb3,_0x4415af,_0x562170,_0x481e9e){const _0x3d9076=_0x519f42;super(),I(this,'_cursors',new Set()),I(this,_0x3d9076(0x1f2),null),(this[_0x3d9076(0x1b0)]=_0x279eb3,this[_0x3d9076(0x643)]=_0x4415af,this[_0x3d9076(0x566)]=_0x562170,this[_0x3d9076(0x28c)]=_0x481e9e,this['_init']());}[_0x519f42(0x3b9)](){const _0x2739cf=_0x519f42;this['_sheetSkeletonManagerService'][_0x2739cf(0x318)][_0x2739cf(0x641)](V[_0x2739cf(0x1e9)](this[_0x2739cf(0x191)]),V['switchMap'](_0x1a74dd=>{const _0x5222b1=_0x2739cf;if(_0x1a74dd){const _0x1c3ea5=_0x1a74dd['sheetId'];return N[_0x5222b1(0x18e)](this[_0x5222b1(0x566)][_0x5222b1(0x199)](this['_context'][_0x5222b1(0x235)]),this[_0x5222b1(0x28c)][_0x5222b1(0x25f)])[_0x5222b1(0x641)](V['map'](([_0x22957e,_0x451cc1])=>{const _0x3f8866=_0x5222b1,_0xa0b307=new Map();return _0x22957e[_0x3f8866(0x24a)]((_0x24f429,_0x53b536)=>{const _0x291af7=_0x3f8866;if(_0x24f429[_0x291af7(0x398)]===_0x1c3ea5){const _0xa02d6={..._0x24f429};_0xa02d6[_0x291af7(0x350)]=_0x451cc1[_0x24f429[_0x291af7(0x350)]],_0xa0b307['set'](_0x53b536,_0xa02d6);}}),{'skeleton':_0x1a74dd,'cursors':_0xa0b307};}));}return N['of']({'skeleton':null,'cursors':new Map()});}))[_0x2739cf(0x1db)](({skeleton:_0x21040f,cursors:_0x37e552})=>{const _0x20f5a4=_0x2739cf;this[_0x20f5a4(0x59d)](),_0x21040f&&this[_0x20f5a4(0x455)](_0x21040f,_0x37e552);}),this[_0x2739cf(0x643)][_0x2739cf(0x318)][_0x2739cf(0x1db)](_0x38362c=>{const _0x52e0e7=_0x2739cf;if(_0x38362c==null)return;const {skeleton:_0x486b54}=_0x38362c,{scene:_0x5d0a2a}=this[_0x52e0e7(0x1b0)];_0x5d0a2a[_0x52e0e7(0x4ac)][_0x52e0e7(0x49d)](a[_0x52e0e7(0x261)](_0x32ad91=>{const _0x4b3ded=_0x52e0e7;var _0x75173f,_0x4c8480;const {offsetX:_0x48d4ba,offsetY:_0x334bc6}=_0x32ad91,{x:_0x32fbf8,y:_0x697a8a}=_0x5d0a2a['getRelativeToViewportCoord'](Y['Vector2'][_0x4b3ded(0x28f)]([_0x48d4ba,_0x334bc6])),{scaleX:_0x157f0f,scaleY:_0x2b1767}=_0x5d0a2a[_0x4b3ded(0x30a)](),_0x4a63e0=_0x5d0a2a['getViewport'](Y[_0x4b3ded(0x1a5)][_0x4b3ded(0x1d5)]),_0x1593ec=_0x5d0a2a[_0x4b3ded(0x254)](Y['Vector2'][_0x4b3ded(0x28f)]([_0x32fbf8,_0x697a8a]),_0x4a63e0),_0x2ed88a=_0x486b54[_0x4b3ded(0x39d)](_0x48d4ba,_0x334bc6,_0x157f0f,_0x2b1767,_0x1593ec);((_0x75173f=this[_0x4b3ded(0x1f2)])==null?void 0x0:_0x75173f[_0x4b3ded(0x4ef)])===_0x2ed88a['column']&&((_0x4c8480=this['_lastPointer'])==null?void 0x0:_0x4c8480['row'])===_0x2ed88a[_0x4b3ded(0x519)]||this[_0x4b3ded(0x2f9)][_0x4b3ded(0x24a)](_0x2ebc62=>{_0x2ebc62['onMouseMove'](_0x2ed88a);});},0x64));});}[_0x519f42(0x455)](_0x29af43,_0x2924f7){const _0x491011=_0x519f42;var _0x12f6c9;const _0xb23ac7=(_0x12f6c9=this[_0x491011(0x643)][_0x491011(0x311)]())==null?void 0x0:_0x12f6c9['skeleton'];if(!_0xb23ac7)return;const _0x1e4752=this[_0x491011(0x435)]();if(!_0x1e4752)return;this['_cursors']['forEach'](_0x18c693=>{_0x18c693['makeDirty']();});const {scene:_0x520d53}=_0x1e4752,_0xa8ba00=Ar(Array[_0x491011(0x3fe)](_0x2924f7[_0x491011(0x426)]()))[_0x491011(0x444)](_0x1ad810=>{const _0x1bd391=_0x491011,{color:_0xcd8010,range:_0x488629,name:_0x1b9ca4,selection:_0x5e1929,sheetID:_0x452cf1}=_0x1ad810,{startColumn:_0x5d3a24,startRow:_0x14e106,endColumn:_0x45fa1b,endRow:_0x2c692b}=_0x488629,_0x2903ad=Le['getCoordByCell'](_0x14e106,_0x5d3a24,_0x520d53,_0xb23ac7),_0x28739a=Le[_0x1bd391(0x4d4)](_0x2c692b,_0x45fa1b,_0x520d53,_0xb23ac7),{columnHeaderHeightAndMarginTop:_0x302d36}=_0xb23ac7,{startX:_0x47c529,startY:_0x4fb54c}=_0x2903ad,{endX:_0x32880a,endY:_0x175219}=_0x28739a,_0x46c127=_0x32880a-_0x47c529,_0x56279e=_0x175219-_0x4fb54c,_0x5d8852={'labelPosition':_0x4fb54c-_0x302d36>=xe?_0x1bd391(0x2fd):_0x1bd391(0x21b),'sheetID':_0x452cf1,'range':_0x488629,'color':_0xcd8010,'name':_0x1b9ca4,'selection':_0x5e1929,'left':_0x47c529,'top':_0x4fb54c,'width':_0x46c127,'height':_0x56279e,'evented':!0x1,'zIndex':Nr};return new Mi(_0x1b9ca4,_0x5d8852);});_0x520d53[_0x491011(0x4bf)](_0xa8ba00,Dr),this[_0x491011(0x2f9)]=new Set(_0xa8ba00);}[_0x519f42(0x59d)](){const _0x3953c4=_0x519f42;var _0xf53a74;(_0xf53a74=this['_cursors'])==null||_0xf53a74[_0x3953c4(0x24a)](_0x3b1b68=>_0x3b1b68[_0x3953c4(0x5fa)]());}[_0x519f42(0x435)](){const _0x3dc1fc=_0x519f42;return Le[_0x3dc1fc(0x323)](this[_0x3dc1fc(0x1b0)][_0x3dc1fc(0x27a)],this[_0x3dc1fc(0x1b0)]);}};Ot=Mr([mt(0x1,a[_0x519f42(0x3b4)](Le['SheetSkeletonManagerService'])),mt(0x2,a['Inject'](ye)),mt(0x3,a[_0x519f42(0x3b4)](a['ThemeService']))],Ot);function Ar(_0x28be99){const _0x30178f=_0x519f42,_0x43f420=new Map();return _0x28be99[_0x30178f(0x24a)](_0x5a4e5e=>{const _0x4eab20=_0x30178f;if(_0x43f420['has'](_0x5a4e5e[_0x4eab20(0x204)])){const _0x1bc386=_0x43f420[_0x4eab20(0x4a6)](_0x5a4e5e[_0x4eab20(0x204)]);_0x1bc386[_0x4eab20(0x3b2)]+=',\x20'+_0x5a4e5e['name'];}else _0x43f420[_0x4eab20(0x3e1)](_0x5a4e5e['selection'],_0x5a4e5e);}),Array[_0x30178f(0x3fe)](_0x43f420[_0x30178f(0x426)]());}var gt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x3199f0){const _0x4600ce=_0x519f42;return _0x3199f0&&_0x3199f0['__esModule']&&Object[_0x4600ce(0x4f9)][_0x4600ce(0x635)][_0x4600ce(0x3bb)](_0x3199f0,'default')?_0x3199f0[_0x4600ce(0x2f5)]:_0x3199f0;}var It={'exports':{}},Ue={},Xt;function Lr(){const _0x3918f1=_0x519f42;if(Xt)return Ue;Xt=0x1;var _0x1e058b=oe,_0x3f8bff=Symbol[_0x3918f1(0x436)](_0x3918f1(0x554)),_0x182691=Symbol[_0x3918f1(0x436)]('react.fragment'),_0x4b3a65=Object[_0x3918f1(0x4f9)][_0x3918f1(0x635)],_0x37073c=_0x1e058b['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x3918f1(0x440)],_0xbb50d0={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x1be254(_0x4cd2d1,_0x25097a,_0x36f614){const _0x428fc9=_0x3918f1;var _0x580b82,_0x1b01d4={},_0x2a40ca=null,_0x364133=null;_0x36f614!==void 0x0&&(_0x2a40ca=''+_0x36f614),_0x25097a['key']!==void 0x0&&(_0x2a40ca=''+_0x25097a['key']),_0x25097a['ref']!==void 0x0&&(_0x364133=_0x25097a[_0x428fc9(0x559)]);for(_0x580b82 in _0x25097a)_0x4b3a65[_0x428fc9(0x3bb)](_0x25097a,_0x580b82)&&!_0xbb50d0[_0x428fc9(0x635)](_0x580b82)&&(_0x1b01d4[_0x580b82]=_0x25097a[_0x580b82]);if(_0x4cd2d1&&_0x4cd2d1[_0x428fc9(0x5ab)]){for(_0x580b82 in(_0x25097a=_0x4cd2d1['defaultProps'],_0x25097a))_0x1b01d4[_0x580b82]===void 0x0&&(_0x1b01d4[_0x580b82]=_0x25097a[_0x580b82]);}return{'$$typeof':_0x3f8bff,'type':_0x4cd2d1,'key':_0x2a40ca,'ref':_0x364133,'props':_0x1b01d4,'_owner':_0x37073c[_0x428fc9(0x265)]};}return Ue[_0x3918f1(0x21d)]=_0x182691,Ue[_0x3918f1(0x640)]=_0x1be254,Ue[_0x3918f1(0x3cc)]=_0x1be254,Ue;}var Jt;function xr(){const _0x26ec94=_0x519f42;return Jt||(Jt=0x1,It[_0x26ec94(0x495)]=Lr()),It[_0x26ec94(0x495)];}var me=xr(),Q=function(){const _0x99e8e8=_0x519f42;return Q=Object[_0x99e8e8(0x38d)]||function(_0x375a85){const _0x211d21=_0x99e8e8;for(var _0x57be3f,_0x48a5e9=0x1,_0x2f48b5=arguments['length'];_0x48a5e9<_0x2f48b5;_0x48a5e9++){_0x57be3f=arguments[_0x48a5e9];for(var _0x2ea0d2 in _0x57be3f)Object['prototype'][_0x211d21(0x635)][_0x211d21(0x3bb)](_0x57be3f,_0x2ea0d2)&&(_0x375a85[_0x2ea0d2]=_0x57be3f[_0x2ea0d2]);}return _0x375a85;},Q['apply'](this,arguments);},$r=function(_0x4e2309,_0x1668a6){const _0x1f63ef=_0x519f42;var _0x41fdb2={};for(var _0xa4db5e in _0x4e2309)Object[_0x1f63ef(0x4f9)][_0x1f63ef(0x635)]['call'](_0x4e2309,_0xa4db5e)&&_0x1668a6[_0x1f63ef(0x61f)](_0xa4db5e)<0x0&&(_0x41fdb2[_0xa4db5e]=_0x4e2309[_0xa4db5e]);if(_0x4e2309!=null&&typeof Object[_0x1f63ef(0x5d7)]=='function'){for(var _0x4f30a9=0x0,_0xa4db5e=Object[_0x1f63ef(0x5d7)](_0x4e2309);_0x4f30a9<_0xa4db5e[_0x1f63ef(0x53a)];_0x4f30a9++)_0x1668a6['indexOf'](_0xa4db5e[_0x4f30a9])<0x0&&Object[_0x1f63ef(0x4f9)]['propertyIsEnumerable'][_0x1f63ef(0x3bb)](_0x4e2309,_0xa4db5e[_0x4f30a9])&&(_0x41fdb2[_0xa4db5e[_0x4f30a9]]=_0x4e2309[_0xa4db5e[_0x4f30a9]]);}return _0x41fdb2;},At=oe['forwardRef'](function(_0x565c54,_0x901de3){const _0x14abab=_0x519f42;var _0x30509a=_0x565c54[_0x14abab(0x557)],_0x40f082=_0x565c54['id'],_0x324bd4=_0x565c54[_0x14abab(0x58f)],_0x2693d5=_0x565c54[_0x14abab(0x5f5)],_0x3c451f=$r(_0x565c54,[_0x14abab(0x557),'id',_0x14abab(0x58f),_0x14abab(0x5f5)]),_0x112be6=_0x14abab(0x26a)[_0x14abab(0x538)](_0x40f082,'\x20')[_0x14abab(0x538)](_0x324bd4||'')[_0x14abab(0x2f4)](),_0x5634ab=oe[_0x14abab(0x1f0)]('_'[_0x14abab(0x538)](Br()));return Ni(_0x30509a,''[_0x14abab(0x538)](_0x40f082),{'defIds':_0x30509a[_0x14abab(0x5b9)],'idSuffix':_0x5634ab[_0x14abab(0x265)]},Q({'ref':_0x901de3,'className':_0x112be6},_0x3c451f),_0x2693d5);});function Ni(_0x2c71fa,_0x33041a,_0xf7150c,_0x1163eb,_0x5c8730){const _0x1d1db8=_0x519f42;return oe['createElement'](_0x2c71fa[_0x1d1db8(0x19d)],Q(Q({'key':_0x33041a},jr(_0x2c71fa,_0xf7150c,_0x5c8730)),_0x1163eb),(Hr(_0x2c71fa,_0xf7150c)['children']||[])[_0x1d1db8(0x444)](function(_0x249ed7,_0xc5ad79){const _0x28d47a=_0x1d1db8;return Ni(_0x249ed7,''['concat'](_0x33041a,'-')[_0x28d47a(0x538)](_0x2c71fa[_0x28d47a(0x19d)],'-')[_0x28d47a(0x538)](_0xc5ad79),_0xf7150c,void 0x0,_0x5c8730);}));}function jr(_0x5cd4b2,_0x19a98f,_0x4fbbb3){const _0x1e2f4b=_0x519f42;var _0x5d2d7=Q({},_0x5cd4b2[_0x1e2f4b(0x589)]);_0x4fbbb3!=null&&_0x4fbbb3[_0x1e2f4b(0x2a0)]&&_0x5d2d7[_0x1e2f4b(0x221)]===_0x1e2f4b(0x2a0)&&(_0x5d2d7[_0x1e2f4b(0x221)]=_0x4fbbb3[_0x1e2f4b(0x2a0)]);var _0x543074=_0x19a98f[_0x1e2f4b(0x5b9)];return!_0x543074||_0x543074[_0x1e2f4b(0x53a)]===0x0||(_0x5cd4b2[_0x1e2f4b(0x19d)]===_0x1e2f4b(0x2d5)&&_0x5d2d7[_0x1e2f4b(0x2e1)]&&(_0x5d2d7['xlink:href']=_0x5d2d7[_0x1e2f4b(0x2e1)]+_0x19a98f[_0x1e2f4b(0x521)]),Object[_0x1e2f4b(0x36d)](_0x5d2d7)['forEach'](function(_0x273c81){const _0xcd8f27=_0x1e2f4b;var _0x1e25a1=_0x273c81[0x0],_0x58814f=_0x273c81[0x1];typeof _0x58814f=='string'&&(_0x5d2d7[_0x1e25a1]=_0x58814f[_0xcd8f27(0x2e5)](/url\(#(.*)\)/,_0xcd8f27(0x21c)[_0xcd8f27(0x538)](_0x19a98f['idSuffix'],')')));})),_0x5d2d7;}function Hr(_0x54b4b1,_0x3c59c6){const _0x5a17f4=_0x519f42;var _0x56ded1,_0x50506f=_0x3c59c6[_0x5a17f4(0x5b9)];return!_0x50506f||_0x50506f[_0x5a17f4(0x53a)]===0x0?_0x54b4b1:_0x54b4b1['tag']===_0x5a17f4(0x1f3)&&(!((_0x56ded1=_0x54b4b1[_0x5a17f4(0x631)])===null||_0x56ded1===void 0x0)&&_0x56ded1[_0x5a17f4(0x53a)])?Q(Q({},_0x54b4b1),{'children':_0x54b4b1['children'][_0x5a17f4(0x444)](function(_0x5394a0){const _0x2a873b=_0x5a17f4;return typeof _0x5394a0['attrs']['id']==_0x2a873b(0x32b)&&_0x50506f&&_0x50506f['indexOf'](_0x5394a0[_0x2a873b(0x589)]['id'])>-0x1?Q(Q({},_0x5394a0),{'attrs':Q(Q({},_0x5394a0[_0x2a873b(0x589)]),{'id':_0x5394a0[_0x2a873b(0x589)]['id']+_0x3c59c6[_0x2a873b(0x521)]})}):_0x5394a0;})}):_0x54b4b1;}function Br(){const _0x136acf=_0x519f42;return Math['random']()[_0x136acf(0x1a0)](0x24)[_0x136acf(0x1d4)](0x2,0x8);}At['displayName']=_0x519f42(0x355);var kr={'tag':_0x519f42(0x5b8),'attrs':{'fill':_0x519f42(0x39e),'viewBox':_0x519f42(0x33c),'width':_0x519f42(0x63f),'height':_0x519f42(0x63f)},'children':[{'tag':'g','attrs':{'clipPath':_0x519f42(0x50a)},'children':[{'tag':'path','attrs':{'stroke':_0x519f42(0x3a8),'d':_0x519f42(0x583),'strokeLinecap':_0x519f42(0x54b),'strokeLinejoin':_0x519f42(0x54b),'strokeWidth':1.2}}]},{'tag':_0x519f42(0x1f3),'attrs':{},'children':[{'tag':_0x519f42(0x211),'attrs':{'id':_0x519f42(0x491)},'children':[{'tag':_0x519f42(0x2ba),'attrs':{'fill':_0x519f42(0x461),'d':_0x519f42(0x280)}}]}]}],'defIds':[_0x519f42(0x491)]},Ai=oe[_0x519f42(0x2b8)](function(_0x483e9a,_0x27191d){const _0xa96689=_0x519f42;return oe['createElement'](At,Object[_0xa96689(0x38d)]({},_0x483e9a,{'id':_0xa96689(0x5ec),'ref':_0x27191d,'icon':kr}));});Ai[_0x519f42(0x1cf)]=_0x519f42(0x55c);var Wr={'tag':_0x519f42(0x5b8),'attrs':{'fill':_0x519f42(0x39e),'viewBox':_0x519f42(0x5bb),'width':_0x519f42(0x63f),'height':_0x519f42(0x63f)},'children':[{'tag':'g','attrs':{'clipPath':_0x519f42(0x1dd)},'children':[{'tag':'path','attrs':{'stroke':_0x519f42(0x3a8),'d':_0x519f42(0x50f),'strokeLinecap':'round','strokeLinejoin':_0x519f42(0x54b),'strokeWidth':1.2}}]},{'tag':_0x519f42(0x1f3),'attrs':{},'children':[{'tag':_0x519f42(0x211),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x519f42(0x2ba),'attrs':{'fill':_0x519f42(0x461),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x519f42(0x2ed)]},Li=oe[_0x519f42(0x2b8)](function(_0x2eb0a5,_0x4d30){const _0x478786=_0x519f42;return oe[_0x478786(0x3b1)](At,Object[_0x478786(0x38d)]({},_0x2eb0a5,{'id':_0x478786(0x614),'ref':_0x4d30,'icon':Wr}));});Li[_0x519f42(0x1cf)]=_0x519f42(0x3eb);function xi(_0x195d2c){const _0x25e755=_0x519f42;var _0x579835,_0x202211,_0x354345='';if(typeof _0x195d2c==_0x25e755(0x32b)||typeof _0x195d2c=='number')_0x354345+=_0x195d2c;else{if(typeof _0x195d2c==_0x25e755(0x330)){if(Array[_0x25e755(0x5f2)](_0x195d2c)){var _0x480bbc=_0x195d2c['length'];for(_0x579835=0x0;_0x579835<_0x480bbc;_0x579835++)_0x195d2c[_0x579835]&&(_0x202211=xi(_0x195d2c[_0x579835]))&&(_0x354345&&(_0x354345+='\x20'),_0x354345+=_0x202211);}else{for(_0x202211 in _0x195d2c)_0x195d2c[_0x202211]&&(_0x354345&&(_0x354345+='\x20'),_0x354345+=_0x202211);}}}return _0x354345;}function Fr(){const _0x11dc77=_0x519f42;for(var _0x41f9d7,_0x25ab15,_0x124d2a=0x0,_0x4b9533='',_0x27cc67=arguments[_0x11dc77(0x53a)];_0x124d2a<_0x27cc67;_0x124d2a++)(_0x41f9d7=arguments[_0x124d2a])&&(_0x25ab15=xi(_0x41f9d7))&&(_0x4b9533&&(_0x4b9533+='\x20'),_0x4b9533+=_0x25ab15);return _0x4b9533;}const Vr='univer-online-status-icon',Gr=_0x519f42(0x52d),Yr='univer-online-status',qr='univer-online',Kr='univer-offline',Me={'onlineStatusIcon':Vr,'onlineStatusTitle':Gr,'onlineStatus':Yr,'online':qr,'offline':Kr};function zr(_0x300606){const _0x4ca153=_0x519f42;switch(_0x300606){case K['OFFLINE']:return _0x4ca153(0x2b4);case K['CONFLICT']:return _0x4ca153(0x2e0);case K['FETCH_MISS']:return _0x4ca153(0x493);case K[_0x4ca153(0x46c)]:return _0x4ca153(0x1dc);case K[_0x4ca153(0x57b)]:case K['AWAITING_WITH_PENDING']:return _0x4ca153(0x601);case K[_0x4ca153(0x445)]:case K[_0x4ca153(0x546)]:return _0x4ca153(0x256);}}function $i(_0x3cbf92){const _0x36bc59=_0x519f42,{status$:_0x936cba}=_0x3cbf92,_0x382de8=ee[_0x36bc59(0x46a)](_0x936cba,K[_0x36bc59(0x46c)]),_0x314899=a[_0x36bc59(0x336)](a[_0x36bc59(0x609)]),_0x856a7a=a[_0x36bc59(0x336)](exports[_0x36bc59(0x4ae)]),_0x2a2e28=_0x382de8!==K['OFFLINE'],_0x3fc099=_0x314899['t'](zr(_0x382de8)),_0x47e432=Fr(Me[_0x36bc59(0x59b)],{[Me[_0x36bc59(0x306)]]:_0x2a2e28,[Me['offline']]:!_0x2a2e28}),_0x367dc5=_0x2a2e28?me[_0x36bc59(0x640)](Li,{}):me['jsx'](Ai,{}),_0x5e7a28=oe['useCallback'](()=>{const _0x1bb0f1=_0x36bc59;_0x2a2e28||_0x856a7a[_0x1bb0f1(0x4cc)]();},[_0x2a2e28,_0x856a7a]);function _0x2988d8(){const _0x4106f3=_0x36bc59;return me[_0x4106f3(0x3cc)](_0x4106f3(0x4f2),{'className':_0x47e432,'onClick':_0x5e7a28,'children':[me['jsx'](_0x4106f3(0x4f2),{'className':Me['onlineStatusIcon'],'children':_0x367dc5}),me[_0x4106f3(0x640)](_0x4106f3(0x4f2),{'className':Me[_0x4106f3(0x224)],'children':_0x3fc099})]});}return _0x2a2e28?_0x2988d8():me[_0x36bc59(0x640)](Ce['Tooltip'],{'title':_0x314899['t'](_0x36bc59(0x1fc)),'children':_0x2988d8()});}var Xr=Object[_0x519f42(0x360)],Jr=Object[_0x519f42(0x544)],Zr=(_0x2810ae,_0x28555a,_0x291448,_0x7b9f21)=>{const _0x2c9fb6=_0x519f42;for(var _0x48afc9=_0x7b9f21>0x1?void 0x0:_0x7b9f21?Jr(_0x28555a,_0x291448):_0x28555a,_0xe80d8c=_0x2810ae[_0x2c9fb6(0x53a)]-0x1,_0x51c492;_0xe80d8c>=0x0;_0xe80d8c--)(_0x51c492=_0x2810ae[_0xe80d8c])&&(_0x48afc9=(_0x7b9f21?_0x51c492(_0x28555a,_0x291448,_0x48afc9):_0x51c492(_0x48afc9))||_0x48afc9);return _0x7b9f21&&_0x48afc9&&Xr(_0x28555a,_0x291448,_0x48afc9),_0x48afc9;},He=(_0x1ed809,_0x3052ab)=>(_0x36fc81,_0xfc937c)=>_0x3052ab(_0x36fc81,_0xfc937c,_0x1ed809);exports[_0x519f42(0x460)]=class extends a[_0x519f42(0x5f8)]{constructor(_0x414d02,_0x286e48,_0x14d8de,_0x218790){const _0x4e7426=_0x519f42;super(),I(this,_0x4e7426(0x646),new N[(_0x4e7426(0x46f))](K[_0x4e7426(0x46c)])),(this[_0x4e7426(0x403)]=_0x414d02,this[_0x4e7426(0x429)]=_0x286e48,this[_0x4e7426(0x590)]=_0x14d8de,this[_0x4e7426(0x22a)]=_0x218790,this[_0x4e7426(0x2fe)](),this[_0x4e7426(0x300)]());}['_initStatusListener'](){const _0xe818cf=_0x519f42;this['disposeWithMe'](this[_0xe818cf(0x403)][_0xe818cf(0x297)][_0xe818cf(0x641)](N['switchMap'](()=>{const _0x262a38=_0xe818cf,_0x4acbbd=this[_0x262a38(0x403)][_0x262a38(0x5a3)]();return _0x4acbbd?this['_collaborationController']['getCollabEntity$'](_0x4acbbd['getUnitId']()):N['of'](null);}),N['switchMap'](_0xd0aebb=>_0xd0aebb?_0xd0aebb[_0xe818cf(0x227)]:N['of'](K[_0xe818cf(0x46c)])))[_0xe818cf(0x1db)](_0x3ebed1=>{const _0x37e1a7=_0xe818cf;this[_0x37e1a7(0x646)][_0x37e1a7(0x213)](_0x3ebed1);}));}[_0x519f42(0x2fe)](){const _0x343126=_0x519f42;this[_0x343126(0x5db)](this[_0x343126(0x429)]['registerComponent'](ee[_0x343126(0x210)]['HEADER_MENU'],()=>a[_0x343126(0x5bd)](Qr({'status$':this['_status$'][_0x343126(0x20b)]()}),this[_0x343126(0x590)])));}},exports['DesktopCollaborationStatusDisplayController']=Zr([He(0x0,a[_0x519f42(0x4aa)]),He(0x1,ee[_0x519f42(0x626)]),He(0x2,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),He(0x3,a[_0x519f42(0x3b4)](exports['CollaborationController']))],exports[_0x519f42(0x460)]);function Qr(_0x41b282){const {status$:_0x5b45f6}=_0x41b282;return function(){const _0x548e26=_0x3f43;return me[_0x548e26(0x640)]($i,{'status$':_0x5b45f6});};}const Lt=a[_0x519f42(0x3c8)]('uni.network.url-service');var es=Object[_0x519f42(0x360)],ts=Object[_0x519f42(0x544)],is=(_0x53fc1e,_0x1b7686,_0x5b7922,_0x295cdd)=>{const _0x412685=_0x519f42;for(var _0x48b24b=_0x295cdd>0x1?void 0x0:_0x295cdd?ts(_0x1b7686,_0x5b7922):_0x1b7686,_0x27113c=_0x53fc1e[_0x412685(0x53a)]-0x1,_0x4287c1;_0x27113c>=0x0;_0x27113c--)(_0x4287c1=_0x53fc1e[_0x27113c])&&(_0x48b24b=(_0x295cdd?_0x4287c1(_0x1b7686,_0x5b7922,_0x48b24b):_0x4287c1(_0x48b24b))||_0x48b24b);return _0x295cdd&&_0x48b24b&&es(_0x1b7686,_0x5b7922,_0x48b24b),_0x48b24b;},Re=(_0x41c702,_0x29ab19)=>(_0x3113f4,_0x18af75)=>_0x29ab19(_0x3113f4,_0x18af75,_0x41c702);exports[_0x519f42(0x31e)]=class extends a[_0x519f42(0x275)]{constructor(_0x35dbf9,_0x89cf15,_0x1d2cb2,_0x204bda,_0x2eff44,_0x335fb3){const _0x279e68=_0x519f42;super(),this[_0x279e68(0x3da)]=_0x35dbf9,this[_0x279e68(0x392)]=_0x89cf15,this['_commandService']=_0x1d2cb2,this[_0x279e68(0x5ca)]=_0x204bda,this[_0x279e68(0x608)]=_0x2eff44,_0x335fb3?_0x335fb3==null||_0x335fb3[_0x279e68(0x246)]()[_0x279e68(0x5b5)](()=>this[_0x279e68(0x3b9)]()):(this[_0x279e68(0x392)][_0x279e68(0x408)](_0x279e68(0x2b5),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x279e68(0x3b9)]());}async[_0x519f42(0x3b9)](){const _0x3650da=_0x519f42,_0x4a0e42=this[_0x3650da(0x3da)][_0x3650da(0x245)]('unit'),_0x2a3c56=this['_urlService'][_0x3650da(0x245)](_0x3650da(0x1d1));if(!_0x4a0e42||!_0x2a3c56){this[_0x3650da(0x392)][_0x3650da(0x408)](_0x3650da(0x2b5),_0x3650da(0x4cb));return;}switch(Number(_0x2a3c56)){case ie[_0x3650da(0x248)]:{const _0x5357c7=await this['_loadSheet'](_0x4a0e42);this[_0x3650da(0x3ee)](_0x5357c7);break;}case ie['UNIVER_DOC']:{await this[_0x3650da(0x62d)](_0x4a0e42);break;}default:{this[_0x3650da(0x392)][_0x3650da(0x1d8)]('[DataLoaderController]',_0x3650da(0x3f2));break;}}}async[_0x519f42(0x3ee)](_0x541e43){const _0xe19932=_0x519f42;await this['_updateSubUnitFromURLParams'](_0x541e43),_0x541e43['activeSheet$'][_0xe19932(0x641)](N[_0xe19932(0x1e9)](this['dispose$']))[_0xe19932(0x1db)](_0x28331c=>{_0x28331c&&this['_updateURLWithCurrentState'](_0x28331c);}),this[_0xe19932(0x3da)][_0xe19932(0x513)][_0xe19932(0x641)](N[_0xe19932(0x1e9)](this[_0xe19932(0x191)]))[_0xe19932(0x1db)](()=>this[_0xe19932(0x1cc)](_0x541e43));}[_0x519f42(0x5af)](_0x3f40c2,_0x84e618=!0x1){const _0x47df1b=_0x519f42,_0x218570=this[_0x47df1b(0x3da)]['getParam']('subunit');_0x3f40c2[_0x47df1b(0x584)]()!==_0x218570&&this['_urlService']['setParam']('subunit',_0x3f40c2[_0x47df1b(0x584)](),_0x84e618);}async['_updateSubUnitFromURLParams'](_0x2b0cbf){const _0x413696=_0x519f42;var _0x325c93;const _0x373fd8=this['_urlService'][_0x413696(0x245)](_0x413696(0x594));if(!_0x373fd8||!_0x2b0cbf[_0x413696(0x54d)](_0x373fd8)){const _0x311104=_0x2b0cbf[_0x413696(0x3bf)]()[0x0],_0x46d541=_0x2b0cbf[_0x413696(0x54d)](_0x311104);if(!_0x46d541)return;this['_updateURLWithCurrentState'](_0x46d541,!0x0),await this[_0x413696(0x636)][_0x413696(0x237)](k['SetWorksheetActivateCommand']['id'],{'unitId':_0x2b0cbf[_0x413696(0x238)](),'subUnitId':_0x311104});return;}((_0x325c93=_0x2b0cbf[_0x413696(0x5fc)]())==null?void 0x0:_0x325c93[_0x413696(0x584)]())!==_0x373fd8&&await this[_0x413696(0x636)][_0x413696(0x237)](k['SetWorksheetActivateCommand']['id'],{'unitId':_0x2b0cbf[_0x413696(0x238)](),'subUnitId':_0x373fd8});}async[_0x519f42(0x44b)](_0x2929b9){const _0x38e478=_0x519f42;let _0x31fe65=0x0;const _0x4ff6c5=await this[_0x38e478(0x5ca)][_0x38e478(0x39f)](_0x2929b9);return _0x4ff6c5&&(_0x4ff6c5[_0x38e478(0x3c5)]||_0x4ff6c5['mutations'][_0x38e478(0x53a)]!==0x0)&&(_0x31fe65=_0x4ff6c5[_0x38e478(0x2bf)]),_0x31fe65===0x0&&this[_0x38e478(0x392)][_0x38e478(0x408)]('[DataLoaderController]',_0x38e478(0x555)),this[_0x38e478(0x608)][_0x38e478(0x4e8)](_0x2929b9,_0x31fe65);}async[_0x519f42(0x62d)](_0x1ee49f){const _0x5184ec=_0x519f42;let _0x3da6dc=0x0;const _0x3594c3=await this[_0x5184ec(0x5ca)][_0x5184ec(0x39f)](_0x1ee49f);return _0x3594c3&&(_0x3594c3[_0x5184ec(0x3c5)]||_0x3594c3[_0x5184ec(0x4af)]['length']!==0x0)&&(_0x3da6dc=_0x3594c3[_0x5184ec(0x2bf)]),_0x3da6dc===0x0&&this[_0x5184ec(0x392)][_0x5184ec(0x408)](_0x5184ec(0x2b5),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x5184ec(0x418)](_0x1ee49f,_0x3da6dc);}},exports['DataLoaderController']=is([Re(0x0,Lt),Re(0x1,a['ILogService']),Re(0x2,a[_0x519f42(0x3e8)]),Re(0x3,a[_0x519f42(0x3b4)](exports[_0x519f42(0x467)])),Re(0x4,a[_0x519f42(0x3b4)](m[_0x519f42(0x19b)])),Re(0x5,a['Optional'](Yi[_0x519f42(0x5e2)]))],exports[_0x519f42(0x31e)]);var ns=Object[_0x519f42(0x360)],rs=Object[_0x519f42(0x544)],ss=(_0x27deeb,_0x8de378,_0x425cbe,_0x313947)=>{const _0x459a70=_0x519f42;for(var _0x2e21dd=_0x313947>0x1?void 0x0:_0x313947?rs(_0x8de378,_0x425cbe):_0x8de378,_0x33cd6d=_0x27deeb[_0x459a70(0x53a)]-0x1,_0x1cfb22;_0x33cd6d>=0x0;_0x33cd6d--)(_0x1cfb22=_0x27deeb[_0x33cd6d])&&(_0x2e21dd=(_0x313947?_0x1cfb22(_0x8de378,_0x425cbe,_0x2e21dd):_0x1cfb22(_0x2e21dd))||_0x2e21dd);return _0x313947&&_0x2e21dd&&ns(_0x8de378,_0x425cbe,_0x2e21dd),_0x2e21dd;},Zt=(_0x2bbc7d,_0x3f31d7)=>(_0x56fcbe,_0x19c9dd)=>_0x3f31d7(_0x56fcbe,_0x19c9dd,_0x2bbc7d);const os=_0x519f42(0x298),as=_0x519f42(0x25a);let nt=class extends a['Disposable']{constructor(_0x1b8583,_0x37916c){const _0x110f8b=_0x519f42;super(),this[_0x110f8b(0x403)]=_0x1b8583,this[_0x110f8b(0x193)]=_0x37916c,this['_init']();}[_0x519f42(0x3b9)](){const _0x49e20c=_0x519f42;this[_0x49e20c(0x5db)](this['_univerInstanceService']['focused$'][_0x49e20c(0x1db)](()=>{const _0x450fd3=_0x49e20c;var _0x33618b;const _0x175354=this['_univerInstanceService']['getFocusedUnit']();let _0xca98d7=(_0x33618b=this[_0x450fd3(0x193)][_0x450fd3(0x4ba)](os))!=null?_0x33618b:as;_0x175354 instanceof a[_0x450fd3(0x3aa)]&&(_0xca98d7=_0x175354['name']),document[_0x450fd3(0x5e1)]=_0xca98d7;}));}};nt=ss([Zt(0x0,a[_0x519f42(0x4aa)]),Zt(0x1,a['IConfigService'])],nt);var cs=Object[_0x519f42(0x360)],ls=Object[_0x519f42(0x544)],hs=(_0x18f101,_0x19f9b7,_0x13b303,_0x31ede1)=>{const _0x558c25=_0x519f42;for(var _0x40a765=_0x31ede1>0x1?void 0x0:_0x31ede1?ls(_0x19f9b7,_0x13b303):_0x19f9b7,_0x27c7cb=_0x18f101[_0x558c25(0x53a)]-0x1,_0x1615c0;_0x27c7cb>=0x0;_0x27c7cb--)(_0x1615c0=_0x18f101[_0x27c7cb])&&(_0x40a765=(_0x31ede1?_0x1615c0(_0x19f9b7,_0x13b303,_0x40a765):_0x1615c0(_0x40a765))||_0x40a765);return _0x31ede1&&_0x40a765&&cs(_0x19f9b7,_0x13b303,_0x40a765),_0x40a765;},Ct=(_0x1232ce,_0x5173a0)=>(_0x5e09cc,_0x1473c5)=>_0x5173a0(_0x5e09cc,_0x1473c5,_0x1232ce);let rt=class{constructor(_0x4b972b,_0x28bc7c,_0x55c9eb){const _0x1eee9d=_0x519f42;this[_0x1eee9d(0x193)]=_0x4b972b,this[_0x1eee9d(0x2a1)]=_0x28bc7c,this[_0x1eee9d(0x439)]=_0x55c9eb,this[_0x1eee9d(0x1fe)]();}[_0x519f42(0x1fe)](){const _0x160735=_0x519f42;this[_0x160735(0x2a1)][_0x160735(0x5a0)]({'priority':0x1,'interceptor':(_0x543882,_0x33c035)=>_0x33c035(_0x543882)[_0x160735(0x641)](N[_0x160735(0x4b7)](async _0x12d9b0=>{const _0x5f4462=_0x160735,_0x55fbef=_0x12d9b0;if(_0x55fbef[_0x5f4462(0x32e)]===0x191&&window[_0x5f4462(0x1eb)](this[_0x5f4462(0x439)]['t']('auth.needGotoLoginAlert'))){const _0x3d7f30=window[_0x5f4462(0x320)](window[_0x5f4462(0x376)]['href']);window[_0x5f4462(0x376)][_0x5f4462(0x1c8)]=this[_0x5f4462(0x47e)]()+_0x5f4462(0x4a2)+_0x3d7f30;}return _0x55fbef;}))});}[_0x519f42(0x47e)](){const _0x5564a1=_0x519f42;var _0x479c19,_0x34d63c;const _0x530910=this[_0x5564a1(0x193)][_0x5564a1(0x4ba)](Ei),_0x353aa9=this['_configService'][_0x5564a1(0x4ba)](Z);return(_0x34d63c=(_0x479c19=_0x353aa9==null?void 0x0:_0x353aa9[_0x5564a1(0x34c)])!=null?_0x479c19:_0x530910)!=null?_0x34d63c:rn;}};rt=hs([Ct(0x0,a[_0x519f42(0x4e5)]),Ct(0x1,a[_0x519f42(0x3b4)](z[_0x519f42(0x623)])),Ct(0x2,a[_0x519f42(0x3b4)](a[_0x519f42(0x609)]))],rt);var _s=Object[_0x519f42(0x360)],us=Object[_0x519f42(0x544)],ds=(_0x5d21ed,_0x5194ce,_0x3fe71a,_0x4f2c32)=>{const _0x2bfc64=_0x519f42;for(var _0xf4571c=_0x4f2c32>0x1?void 0x0:_0x4f2c32?us(_0x5194ce,_0x3fe71a):_0x5194ce,_0x43b2d6=_0x5d21ed[_0x2bfc64(0x53a)]-0x1,_0x210c74;_0x43b2d6>=0x0;_0x43b2d6--)(_0x210c74=_0x5d21ed[_0x43b2d6])&&(_0xf4571c=(_0x4f2c32?_0x210c74(_0x5194ce,_0x3fe71a,_0xf4571c):_0x210c74(_0xf4571c))||_0xf4571c);return _0x4f2c32&&_0xf4571c&&_s(_0x5194ce,_0x3fe71a,_0xf4571c),_0xf4571c;},Qt=(_0x16b18f,_0x2aacee)=>(_0x300ea5,_0xcb078b)=>_0x2aacee(_0x300ea5,_0xcb078b,_0x16b18f);const xt='AUTHZ_URL_KEY',fs=_0x519f42(0x343);exports['AuthzIoHttpService']=class extends a[_0x519f42(0x5f8)]{constructor(_0x270e95,_0x2d82d5){const _0x18cf60=_0x519f42;super(),this[_0x18cf60(0x51d)]=_0x270e95,this[_0x18cf60(0x193)]=_0x2d82d5,this[_0x18cf60(0x4ca)]();}[_0x519f42(0x4ca)](){const _0x5068c8=_0x519f42,_0xefd581=this;this[_0x5068c8(0x5db)](this['_HTTPService'][_0x5068c8(0x5a0)]({'priority':0x3e7,'interceptor':z['MergeInterceptorFactory']({'isMatch'(_0x454bb7){const _0x3cc046=_0x5068c8;var _0x27eaa2;if(_0x454bb7['method']===_0x3cc046(0x18b)&&((_0x27eaa2=_0x454bb7[_0x3cc046(0x1f1)])!=null&&_0x27eaa2[_0x3cc046(0x32d)])){const {objectID:_0x41b162,objectType:_0xfa3790}=_0x454bb7[_0x3cc046(0x1f1)][_0x3cc046(0x32d)]||{};if(!_0x41b162||_0xfa3790===void 0x0)return!0x1;const _0x46a97b=_0xefd581[_0x3cc046(0x394)]()+'/'+_0xfa3790+_0x3cc046(0x638)+_0x41b162+_0x3cc046(0x3fa);if(_0x454bb7[_0x3cc046(0x188)]===_0x46a97b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x249c1a){const _0x4291c6=_0x5068c8;var _0x3ef3c0;return(_0x3ef3c0=_0x249c1a[_0x4291c6(0x1f1)])==null?void 0x0:_0x3ef3c0[_0x4291c6(0x32d)];},'mergeParamsToRequest'(_0x3ae2e4,_0x539b46){const _0x5ac735=_0x5068c8,_0x2273ac=_0xefd581[_0x5ac735(0x394)]()+_0x5ac735(0x4d3),_0x3c16b5=_0x3ae2e4[_0x5ac735(0x19e)]((_0x5ef0cb,_0x3f4e4f)=>{const _0xacc92a=_0x5ac735,{unitID:_0x5e2737,objectID:_0x15e36f,objectType:_0x5067f0,actions:_0x30ad8c}=_0x3f4e4f;return _0x5ef0cb[_0x5e2737]||(_0x5ef0cb[_0x5e2737]={}),_0x5ef0cb[_0x5e2737][_0x15e36f]||(_0x5ef0cb[_0x5e2737][_0x15e36f]={'objectID':_0x15e36f,'objectType':_0x5067f0,'actions':[]}),_0x5ef0cb[_0x5e2737][_0x15e36f]['actions'][_0xacc92a(0x205)](..._0x30ad8c),_0x5ef0cb;},{}),_0x1423df=[];for(const _0x2e2e8e in _0x3c16b5)for(const _0x3f3c57 in _0x3c16b5[_0x2e2e8e]){const {actions:_0x507669,objectType:_0x1de081}=_0x3c16b5[_0x2e2e8e][_0x3f3c57],_0x32d47a=[...new Set(_0x507669)];_0x1423df['push']({'unitID':_0x2e2e8e,'objectID':_0x3f3c57,'objectType':_0x1de081,'actions':_0x32d47a});}return new z[(_0x5ac735(0x5a8))]('POST',_0x2273ac,{'headers':_0x539b46[_0x5ac735(0x1e7)],'withCredentials':_0x539b46['withCredentials'],'responseType':_0x539b46[_0x5ac735(0x3f6)],'body':{'requests':_0x1423df}});}},{'distributeResult'(_0x588b3a,_0x3b2e65){const _0x3d4434=_0x5068c8,{objectActions:_0x41b214}=_0x588b3a;return _0x3b2e65[_0x3d4434(0x444)](_0x2dca07=>{const _0x183a31=_0x3d4434,{unitID:_0x4321f7,objectID:_0x308feb,actions:_0xfe9426}=_0x2dca07,_0x1fbc88=_0x41b214['find'](_0x5d4660=>_0x5d4660[_0x183a31(0x57d)]===_0x4321f7&&_0x5d4660[_0x183a31(0x291)]===_0x308feb),_0x909505=_0xfe9426['map'](_0x36ed3a=>_0x1fbc88==null?void 0x0:_0x1fbc88[_0x183a31(0x36a)]['find'](_0x3cbc43=>_0x3cbc43[_0x183a31(0x2a7)]===_0x36ed3a))[_0x183a31(0x1ae)](_0x319971=>!!_0x319971);return{'config':_0x2dca07,'result':{'actions':_0x909505,'error':_0x588b3a[_0x183a31(0x1d8)]}};});}})}));}[_0x519f42(0x394)](){const _0x15daca=_0x519f42;var _0x52605b,_0x26b543;const _0x35e210=this[_0x15daca(0x193)]['getConfig'](xt),_0x5c2254=this['_configService']['getConfig'](Z);return(_0x26b543=(_0x52605b=_0x5c2254==null?void 0x0:_0x5c2254[_0x15daca(0x511)])!=null?_0x52605b:_0x35e210)!=null?_0x26b543:fs;}async['create'](_0x8da8f){const _0x2754e7=_0x519f42,_0x303c84=this['_getAPIPrefixPath']()+'/'+_0x8da8f[_0x2754e7(0x28e)]+_0x2754e7(0x4b1);return(await this[_0x2754e7(0x51d)][_0x2754e7(0x627)](_0x303c84,{'body':_0x8da8f}))[_0x2754e7(0x32d)]['objectID']||'';}async[_0x519f42(0x2af)](_0x4f982a){const _0x45af27=_0x519f42,_0x20dc30=this[_0x45af27(0x394)]()+_0x45af27(0x51a);return(await this[_0x45af27(0x51d)][_0x45af27(0x627)](_0x20dc30,{'body':_0x4f982a}))[_0x45af27(0x32d)]['objects'];}async[_0x519f42(0x182)](_0x5d3552){const _0x4eb303=_0x519f42,_0xbf106f=this[_0x4eb303(0x394)]()+'/'+_0x5d3552[_0x4eb303(0x28e)]+'/object/'+_0x5d3552[_0x4eb303(0x291)];await this[_0x4eb303(0x51d)][_0x4eb303(0x233)](_0xbf106f,{'body':_0x5d3552});}async[_0x519f42(0x2a2)](_0x42b85c){const _0x5d8872=_0x519f42,_0x766108=this['_getAPIPrefixPath']()+'/'+_0x42b85c['objectType']+_0x5d8872(0x638)+_0x42b85c[_0x5d8872(0x291)]+_0x5d8872(0x3fa);return(await this['_HTTPService'][_0x5d8872(0x627)](_0x766108,{'body':_0x42b85c}))[_0x5d8872(0x32d)][_0x5d8872(0x36a)];}async[_0x519f42(0x405)](_0x24a7cd){const _0x254f95=_0x519f42,_0x4dbea8=this[_0x254f95(0x394)]()+_0x254f95(0x4d3);return(await this['_HTTPService'][_0x254f95(0x627)](_0x4dbea8,{'body':{'requests':_0x24a7cd}}))[_0x254f95(0x32d)][_0x254f95(0x39a)];}async['listRoles'](_0x1fd5b1){const _0x3f423e=_0x519f42,_0x19d413=this[_0x3f423e(0x394)]()+'/'+_0x1fd5b1[_0x3f423e(0x28e)]+_0x3f423e(0x326),_0x300d56=await this['_HTTPService'][_0x3f423e(0x627)](_0x19d413,{'body':_0x1fd5b1});return{'roles':_0x300d56[_0x3f423e(0x32d)]['roles'],'actions':_0x300d56[_0x3f423e(0x32d)][_0x3f423e(0x36a)]};}async[_0x519f42(0x470)](_0x1aa344){const _0x2b2746=_0x519f42,_0x442d55=this[_0x2b2746(0x394)]()+_0x2b2746(0x3f3);await this[_0x2b2746(0x51d)][_0x2b2746(0x203)](_0x442d55,{'params':{'collaboratorID':_0x1aa344[_0x2b2746(0x206)],'objectID':_0x1aa344['objectID'],'unitID':_0x1aa344['unitID']}});}async[_0x519f42(0x2df)](_0x209e34){const _0x40cb1c=_0x519f42,_0xc68856=this[_0x40cb1c(0x394)]()+_0x40cb1c(0x3f3);await this[_0x40cb1c(0x51d)][_0x40cb1c(0x2c0)](_0xc68856,{'body':_0x209e34});}async[_0x519f42(0x190)](_0xf0b0f){const _0x460779=_0x519f42,_0x59d11f=this[_0x460779(0x394)]()+_0x460779(0x3f3);await this[_0x460779(0x51d)][_0x460779(0x627)](_0x59d11f,{'body':_0xf0b0f});}async[_0x519f42(0x1ba)](_0x56c16e){const _0x3cb44d=_0x519f42,_0x35cd90=this['_getAPIPrefixPath']()+_0x3cb44d(0x3f3);return(await this[_0x3cb44d(0x51d)][_0x3cb44d(0x4a6)](_0x35cd90,{'params':{'objectID':_0x56c16e[_0x3cb44d(0x291)],'unitID':_0x56c16e[_0x3cb44d(0x57d)]}}))[_0x3cb44d(0x32d)]['collaborators'];}async[_0x519f42(0x2ab)](_0x50281f){const _0x3584e7=_0x519f42,_0x3cde89=this['_getAPIPrefixPath']()+_0x3584e7(0x3f3);await this[_0x3584e7(0x51d)][_0x3584e7(0x233)](_0x3cde89,{'body':_0x50281f});}},exports['AuthzIoHttpService']=ds([Qt(0x0,a['Inject'](z[_0x519f42(0x623)])),Qt(0x1,a[_0x519f42(0x3b4)](a[_0x519f42(0x4e5)]))],exports['AuthzIoHttpService']);var ke={'exports':{}};function vs(_0x1dfa36){const _0x3e2ef5=_0x519f42;throw new Error(_0x3e2ef5(0x4c1)+_0x1dfa36+_0x3e2ef5(0x2f8));}var We={'exports':{}},Ss=We[_0x519f42(0x495)],ei;function se(){return ei||(ei=0x1,function(_0x3e047b,_0x5a2e45){(function(_0x2e40fc,_0x5b4d83){const _0xce0120=_0x3f43;_0x3e047b[_0xce0120(0x495)]=_0x5b4d83();}(Ss,function(){var _0x1421a5=_0x1421a5||function(_0x463c74,_0xb8b36e){const _0x2c08fa=_0x3f43;var _0x2604f5;if(typeof window<'u'&&window['crypto']&&(_0x2604f5=window[_0x2c08fa(0x5b4)]),typeof self<'u'&&self[_0x2c08fa(0x5b4)]&&(_0x2604f5=self[_0x2c08fa(0x5b4)]),typeof globalThis<'u'&&globalThis[_0x2c08fa(0x5b4)]&&(_0x2604f5=globalThis[_0x2c08fa(0x5b4)]),!_0x2604f5&&typeof window<'u'&&window[_0x2c08fa(0x45c)]&&(_0x2604f5=window['msCrypto']),!_0x2604f5&&typeof gt<'u'&&gt[_0x2c08fa(0x5b4)]&&(_0x2604f5=gt[_0x2c08fa(0x5b4)]),!_0x2604f5&&typeof vs==_0x2c08fa(0x4c7))try{_0x2604f5=require(_0x2c08fa(0x5b4));}catch{}var _0x5b9b29=function(){const _0x26bb42=_0x2c08fa;if(_0x2604f5){if(typeof _0x2604f5[_0x26bb42(0x267)]=='function')try{return _0x2604f5[_0x26bb42(0x267)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2604f5[_0x26bb42(0x48e)]==_0x26bb42(0x4c7))try{return _0x2604f5[_0x26bb42(0x48e)](0x4)[_0x26bb42(0x4d0)]();}catch{}}throw new Error(_0x26bb42(0x313));},_0x144121=Object[_0x2c08fa(0x282)]||(function(){function _0x1e5446(){}return function(_0x9f29fb){const _0x541c80=_0x3f43;var _0x30a3aa;return _0x1e5446[_0x541c80(0x4f9)]=_0x9f29fb,_0x30a3aa=new _0x1e5446(),_0x1e5446[_0x541c80(0x4f9)]=null,_0x30a3aa;};}()),_0x49e38f={},_0x59d7cf=_0x49e38f[_0x2c08fa(0x3d6)]={},_0x3f2439=_0x59d7cf['Base']=(function(){return{'extend':function(_0x1e0cb8){const _0x190635=_0x3f43;var _0x57b00f=_0x144121(this);return _0x1e0cb8&&_0x57b00f[_0x190635(0x391)](_0x1e0cb8),(!_0x57b00f[_0x190635(0x635)](_0x190635(0x1fe))||this[_0x190635(0x1fe)]===_0x57b00f[_0x190635(0x1fe)])&&(_0x57b00f[_0x190635(0x1fe)]=function(){const _0x31665a=_0x190635;_0x57b00f[_0x31665a(0x528)][_0x31665a(0x1fe)][_0x31665a(0x52e)](this,arguments);}),_0x57b00f['init'][_0x190635(0x4f9)]=_0x57b00f,_0x57b00f[_0x190635(0x528)]=this,_0x57b00f;},'create':function(){const _0x301552=_0x3f43;var _0x5c9f7c=this['extend']();return _0x5c9f7c[_0x301552(0x1fe)]['apply'](_0x5c9f7c,arguments),_0x5c9f7c;},'init':function(){},'mixIn':function(_0x98516b){const _0x33c5ae=_0x3f43;for(var _0x1a7f22 in _0x98516b)_0x98516b[_0x33c5ae(0x635)](_0x1a7f22)&&(this[_0x1a7f22]=_0x98516b[_0x1a7f22]);_0x98516b[_0x33c5ae(0x635)](_0x33c5ae(0x1a0))&&(this[_0x33c5ae(0x1a0)]=_0x98516b['toString']);},'clone':function(){const _0x341426=_0x3f43;return this[_0x341426(0x1fe)][_0x341426(0x4f9)][_0x341426(0x5f5)](this);}};}()),_0x431463=_0x59d7cf[_0x2c08fa(0x17b)]=_0x3f2439[_0x2c08fa(0x5f5)]({'init':function(_0x173e38,_0x1377d9){const _0x559763=_0x2c08fa;_0x173e38=this[_0x559763(0x1b9)]=_0x173e38||[],_0x1377d9!=_0xb8b36e?this['sigBytes']=_0x1377d9:this[_0x559763(0x386)]=_0x173e38[_0x559763(0x53a)]*0x4;},'toString':function(_0x251f81){const _0x20b1f1=_0x2c08fa;return(_0x251f81||_0x7a5017)[_0x20b1f1(0x648)](this);},'concat':function(_0x3e4706){const _0x373ff7=_0x2c08fa;var _0x32c4e0=this[_0x373ff7(0x1b9)],_0x5f3118=_0x3e4706[_0x373ff7(0x1b9)],_0x3daa64=this[_0x373ff7(0x386)],_0x263683=_0x3e4706[_0x373ff7(0x386)];if(this[_0x373ff7(0x5d4)](),_0x3daa64%0x4)for(var _0x5e8fab=0x0;_0x5e8fab<_0x263683;_0x5e8fab++){var _0x1eb8e0=_0x5f3118[_0x5e8fab>>>0x2]>>>0x18-_0x5e8fab%0x4*0x8&0xff;_0x32c4e0[_0x3daa64+_0x5e8fab>>>0x2]|=_0x1eb8e0<<0x18-(_0x3daa64+_0x5e8fab)%0x4*0x8;}else{for(var _0x21e1f0=0x0;_0x21e1f0<_0x263683;_0x21e1f0+=0x4)_0x32c4e0[_0x3daa64+_0x21e1f0>>>0x2]=_0x5f3118[_0x21e1f0>>>0x2];}return this[_0x373ff7(0x386)]+=_0x263683,this;},'clamp':function(){const _0x43c153=_0x2c08fa;var _0x18f8aa=this['words'],_0x476040=this['sigBytes'];_0x18f8aa[_0x476040>>>0x2]&=0xffffffff<<0x20-_0x476040%0x4*0x8,_0x18f8aa[_0x43c153(0x53a)]=_0x463c74[_0x43c153(0x4cf)](_0x476040/0x4);},'clone':function(){const _0x153763=_0x2c08fa;var _0xcd1d41=_0x3f2439[_0x153763(0x1ce)][_0x153763(0x3bb)](this);return _0xcd1d41[_0x153763(0x1b9)]=this[_0x153763(0x1b9)][_0x153763(0x428)](0x0),_0xcd1d41;},'random':function(_0x456537){for(var _0x853e4=[],_0x7b02a2=0x0;_0x7b02a2<_0x456537;_0x7b02a2+=0x4)_0x853e4['push'](_0x5b9b29());return new _0x431463['init'](_0x853e4,_0x456537);}}),_0x18e92d=_0x49e38f[_0x2c08fa(0x333)]={},_0x7a5017=_0x18e92d[_0x2c08fa(0x1e4)]={'stringify':function(_0xeaea1b){const _0x4436f8=_0x2c08fa;for(var _0x46fb91=_0xeaea1b[_0x4436f8(0x1b9)],_0x74fd90=_0xeaea1b[_0x4436f8(0x386)],_0x153cfc=[],_0x57f073=0x0;_0x57f073<_0x74fd90;_0x57f073++){var _0x5b0634=_0x46fb91[_0x57f073>>>0x2]>>>0x18-_0x57f073%0x4*0x8&0xff;_0x153cfc[_0x4436f8(0x205)]((_0x5b0634>>>0x4)['toString'](0x10)),_0x153cfc[_0x4436f8(0x205)]((_0x5b0634&0xf)['toString'](0x10));}return _0x153cfc[_0x4436f8(0x3b7)]('');},'parse':function(_0x170a98){const _0x484d58=_0x2c08fa;for(var _0x17a486=_0x170a98[_0x484d58(0x53a)],_0x53dc7e=[],_0x49ada1=0x0;_0x49ada1<_0x17a486;_0x49ada1+=0x2)_0x53dc7e[_0x49ada1>>>0x3]|=parseInt(_0x170a98['substr'](_0x49ada1,0x2),0x10)<<0x18-_0x49ada1%0x8*0x4;return new _0x431463[(_0x484d58(0x1fe))](_0x53dc7e,_0x17a486/0x2);}},_0x3a3901=_0x18e92d[_0x2c08fa(0x2f7)]={'stringify':function(_0x501cfd){const _0x323852=_0x2c08fa;for(var _0x41242a=_0x501cfd[_0x323852(0x1b9)],_0x185dcf=_0x501cfd['sigBytes'],_0x31c857=[],_0x668c8c=0x0;_0x668c8c<_0x185dcf;_0x668c8c++){var _0x4c5470=_0x41242a[_0x668c8c>>>0x2]>>>0x18-_0x668c8c%0x4*0x8&0xff;_0x31c857[_0x323852(0x205)](String[_0x323852(0x63c)](_0x4c5470));}return _0x31c857[_0x323852(0x3b7)]('');},'parse':function(_0x4de2d2){const _0x198dc5=_0x2c08fa;for(var _0xb2415c=_0x4de2d2[_0x198dc5(0x53a)],_0x760ad7=[],_0x1c3c9d=0x0;_0x1c3c9d<_0xb2415c;_0x1c3c9d++)_0x760ad7[_0x1c3c9d>>>0x2]|=(_0x4de2d2[_0x198dc5(0x1fa)](_0x1c3c9d)&0xff)<<0x18-_0x1c3c9d%0x4*0x8;return new _0x431463[(_0x198dc5(0x1fe))](_0x760ad7,_0xb2415c);}},_0x40dc1e=_0x18e92d[_0x2c08fa(0x4a5)]={'stringify':function(_0x11b130){try{return decodeURIComponent(escape(_0x3a3901['stringify'](_0x11b130)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x2fe7b6){const _0xa127ae=_0x2c08fa;return _0x3a3901[_0xa127ae(0x2f6)](unescape(encodeURIComponent(_0x2fe7b6)));}},_0x15cbe3=_0x59d7cf['BufferedBlockAlgorithm']=_0x3f2439['extend']({'reset':function(){const _0x3a5e50=_0x2c08fa;this['_data']=new _0x431463[(_0x3a5e50(0x1fe))](),this[_0x3a5e50(0x2c4)]=0x0;},'_append':function(_0x57de23){const _0x569f01=_0x2c08fa;typeof _0x57de23==_0x569f01(0x32b)&&(_0x57de23=_0x40dc1e[_0x569f01(0x2f6)](_0x57de23)),this[_0x569f01(0x5f3)][_0x569f01(0x538)](_0x57de23),this[_0x569f01(0x2c4)]+=_0x57de23['sigBytes'];},'_process':function(_0x1d52c7){const _0x21e8ca=_0x2c08fa;var _0x363be1,_0x525e6e=this['_data'],_0x7682fa=_0x525e6e[_0x21e8ca(0x1b9)],_0x5ac095=_0x525e6e[_0x21e8ca(0x386)],_0x2e05e1=this[_0x21e8ca(0x337)],_0x26221d=_0x2e05e1*0x4,_0x3b8cae=_0x5ac095/_0x26221d;_0x1d52c7?_0x3b8cae=_0x463c74[_0x21e8ca(0x4cf)](_0x3b8cae):_0x3b8cae=_0x463c74[_0x21e8ca(0x2f3)]((_0x3b8cae|0x0)-this['_minBufferSize'],0x0);var _0x207966=_0x3b8cae*_0x2e05e1,_0x9907f0=_0x463c74[_0x21e8ca(0x3ba)](_0x207966*0x4,_0x5ac095);if(_0x207966){for(var _0x148f6c=0x0;_0x148f6c<_0x207966;_0x148f6c+=_0x2e05e1)this[_0x21e8ca(0x4d7)](_0x7682fa,_0x148f6c);_0x363be1=_0x7682fa['splice'](0x0,_0x207966),_0x525e6e['sigBytes']-=_0x9907f0;}return new _0x431463[(_0x21e8ca(0x1fe))](_0x363be1,_0x9907f0);},'clone':function(){const _0x3133b6=_0x2c08fa;var _0x119bb0=_0x3f2439['clone']['call'](this);return _0x119bb0[_0x3133b6(0x5f3)]=this[_0x3133b6(0x5f3)][_0x3133b6(0x1ce)](),_0x119bb0;},'_minBufferSize':0x0});_0x59d7cf[_0x2c08fa(0x2bb)]=_0x15cbe3['extend']({'cfg':_0x3f2439['extend'](),'init':function(_0xc2a2f2){const _0x44b6df=_0x2c08fa;this[_0x44b6df(0x2b0)]=this['cfg'][_0x44b6df(0x5f5)](_0xc2a2f2),this[_0x44b6df(0x414)]();},'reset':function(){const _0x8600d9=_0x2c08fa;_0x15cbe3[_0x8600d9(0x414)]['call'](this),this[_0x8600d9(0x2c2)]();},'update':function(_0x4b0957){const _0x3e55e0=_0x2c08fa;return this[_0x3e55e0(0x599)](_0x4b0957),this['_process'](),this;},'finalize':function(_0x3b0a06){const _0x467f13=_0x2c08fa;_0x3b0a06&&this[_0x467f13(0x599)](_0x3b0a06);var _0x4a6ce7=this['_doFinalize']();return _0x4a6ce7;},'blockSize':0x10,'_createHelper':function(_0x36d926){return function(_0x75c18,_0x42daa8){const _0x5219f3=_0x3f43;return new _0x36d926[(_0x5219f3(0x1fe))](_0x42daa8)[_0x5219f3(0x35a)](_0x75c18);};},'_createHmacHelper':function(_0x28f714){return function(_0x3d0294,_0x485595){const _0x392daa=_0x3f43;return new _0x3f09fb['HMAC']['init'](_0x28f714,_0x485595)[_0x392daa(0x35a)](_0x3d0294);};}});var _0x3f09fb=_0x49e38f[_0x2c08fa(0x296)]={};return _0x49e38f;}(Math);return _0x1421a5;}));}(We)),We['exports'];}var Fe={'exports':{}},ps=Fe[_0x519f42(0x495)],ti;function ji(){const _0x5f4f8f=_0x519f42;return ti||(ti=0x1,function(_0x54aee7,_0xfd7277){(function(_0x1d64fb,_0x554356){_0x54aee7['exports']=_0x554356(se());}(ps,function(_0x5e21fa){const _0x28b4c4=_0x3f43;return(function(){const _0x52f400=_0x3f43;var _0x4719d3=_0x5e21fa,_0x3f9db=_0x4719d3[_0x52f400(0x3d6)],_0x1b1a36=_0x3f9db[_0x52f400(0x17b)],_0x540e7a=_0x4719d3['enc'];_0x540e7a['Base64']={'stringify':function(_0x217609){const _0x1b2dfd=_0x52f400;var _0x4f326e=_0x217609[_0x1b2dfd(0x1b9)],_0x1ab9cb=_0x217609[_0x1b2dfd(0x386)],_0x351b19=this[_0x1b2dfd(0x219)];_0x217609[_0x1b2dfd(0x5d4)]();for(var _0x943ed8=[],_0x1e4117=0x0;_0x1e4117<_0x1ab9cb;_0x1e4117+=0x3)for(var _0x3ea405=_0x4f326e[_0x1e4117>>>0x2]>>>0x18-_0x1e4117%0x4*0x8&0xff,_0x1827c1=_0x4f326e[_0x1e4117+0x1>>>0x2]>>>0x18-(_0x1e4117+0x1)%0x4*0x8&0xff,_0x475725=_0x4f326e[_0x1e4117+0x2>>>0x2]>>>0x18-(_0x1e4117+0x2)%0x4*0x8&0xff,_0x8622cd=_0x3ea405<<0x10|_0x1827c1<<0x8|_0x475725,_0x5a6890=0x0;_0x5a6890<0x4&&_0x1e4117+_0x5a6890*0.75<_0x1ab9cb;_0x5a6890++)_0x943ed8[_0x1b2dfd(0x205)](_0x351b19['charAt'](_0x8622cd>>>0x6*(0x3-_0x5a6890)&0x3f));var _0x40930e=_0x351b19[_0x1b2dfd(0x2d4)](0x40);if(_0x40930e){for(;_0x943ed8['length']%0x4;)_0x943ed8[_0x1b2dfd(0x205)](_0x40930e);}return _0x943ed8[_0x1b2dfd(0x3b7)]('');},'parse':function(_0x1696d9){const _0x2cfd2a=_0x52f400;var _0x241ad4=_0x1696d9[_0x2cfd2a(0x53a)],_0x39a5d7=this['_map'],_0x54bffe=this[_0x2cfd2a(0x3a0)];if(!_0x54bffe){_0x54bffe=this[_0x2cfd2a(0x3a0)]=[];for(var _0x14608a=0x0;_0x14608a<_0x39a5d7[_0x2cfd2a(0x53a)];_0x14608a++)_0x54bffe[_0x39a5d7[_0x2cfd2a(0x1fa)](_0x14608a)]=_0x14608a;}var _0x39142f=_0x39a5d7[_0x2cfd2a(0x2d4)](0x40);if(_0x39142f){var _0x4eac12=_0x1696d9[_0x2cfd2a(0x61f)](_0x39142f);_0x4eac12!==-0x1&&(_0x241ad4=_0x4eac12);}return _0x1795d1(_0x1696d9,_0x241ad4,_0x54bffe);},'_map':_0x52f400(0x3f7)};function _0x1795d1(_0x39d7af,_0x5d0f91,_0x3e18d5){const _0x5c240a=_0x52f400;for(var _0x324f0e=[],_0x43fb0f=0x0,_0x14f4ef=0x0;_0x14f4ef<_0x5d0f91;_0x14f4ef++)if(_0x14f4ef%0x4){var _0x52808d=_0x3e18d5[_0x39d7af[_0x5c240a(0x1fa)](_0x14f4ef-0x1)]<<_0x14f4ef%0x4*0x2,_0x431ab2=_0x3e18d5[_0x39d7af[_0x5c240a(0x1fa)](_0x14f4ef)]>>>0x6-_0x14f4ef%0x4*0x2,_0x2ff370=_0x52808d|_0x431ab2;_0x324f0e[_0x43fb0f>>>0x2]|=_0x2ff370<<0x18-_0x43fb0f%0x4*0x8,_0x43fb0f++;}return _0x1b1a36[_0x5c240a(0x282)](_0x324f0e,_0x43fb0f);}}()),_0x5e21fa[_0x28b4c4(0x333)][_0x28b4c4(0x218)];}));}(Fe)),Fe[_0x5f4f8f(0x495)];}var Ve={'exports':{}},ms=Ve[_0x519f42(0x495)],ii;function gs(){const _0x3b7f1a=_0x519f42;return ii||(ii=0x1,function(_0x158d47,_0x2ab385){(function(_0x22e433,_0x6e572c){const _0x382413=_0x3f43;_0x158d47[_0x382413(0x495)]=_0x6e572c(se());}(ms,function(_0x3da9ab){return function(_0x1626a5){const _0x5e9546=_0x3f43;var _0x198483=_0x3da9ab,_0x3e44d7=_0x198483['lib'],_0x59614a=_0x3e44d7[_0x5e9546(0x17b)],_0x58122d=_0x3e44d7[_0x5e9546(0x2bb)],_0x35a60e=_0x198483[_0x5e9546(0x296)],_0xec0bea=[];(function(){const _0x20c6dc=_0x5e9546;for(var _0x146e7a=0x0;_0x146e7a<0x40;_0x146e7a++)_0xec0bea[_0x146e7a]=_0x1626a5[_0x20c6dc(0x44e)](_0x1626a5[_0x20c6dc(0x5e3)](_0x146e7a+0x1))*0x100000000|0x0;}());var _0x7e3df6=_0x35a60e[_0x5e9546(0x23c)]=_0x58122d[_0x5e9546(0x5f5)]({'_doReset':function(){const _0x5d30fc=_0x5e9546;this[_0x5d30fc(0x301)]=new _0x59614a['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xeeab48,_0x2f8b12){const _0x4e062c=_0x5e9546;for(var _0x43b04a=0x0;_0x43b04a<0x10;_0x43b04a++){var _0x1693a9=_0x2f8b12+_0x43b04a,_0x460d90=_0xeeab48[_0x1693a9];_0xeeab48[_0x1693a9]=(_0x460d90<<0x8|_0x460d90>>>0x18)&0xff00ff|(_0x460d90<<0x18|_0x460d90>>>0x8)&0xff00ff00;}var _0x31e687=this[_0x4e062c(0x301)][_0x4e062c(0x1b9)],_0x1bfa5e=_0xeeab48[_0x2f8b12+0x0],_0x4db2da=_0xeeab48[_0x2f8b12+0x1],_0x55785f=_0xeeab48[_0x2f8b12+0x2],_0x2162da=_0xeeab48[_0x2f8b12+0x3],_0x400556=_0xeeab48[_0x2f8b12+0x4],_0x3f4ff0=_0xeeab48[_0x2f8b12+0x5],_0x3ee254=_0xeeab48[_0x2f8b12+0x6],_0x225a7c=_0xeeab48[_0x2f8b12+0x7],_0x1326fc=_0xeeab48[_0x2f8b12+0x8],_0x175c6b=_0xeeab48[_0x2f8b12+0x9],_0x327f62=_0xeeab48[_0x2f8b12+0xa],_0x12a837=_0xeeab48[_0x2f8b12+0xb],_0x29cbcd=_0xeeab48[_0x2f8b12+0xc],_0x3cf200=_0xeeab48[_0x2f8b12+0xd],_0x1cc496=_0xeeab48[_0x2f8b12+0xe],_0x29ef8d=_0xeeab48[_0x2f8b12+0xf],_0x527115=_0x31e687[0x0],_0x2ea759=_0x31e687[0x1],_0x1666ec=_0x31e687[0x2],_0x256982=_0x31e687[0x3];_0x527115=_0x593785(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x1bfa5e,0x7,_0xec0bea[0x0]),_0x256982=_0x593785(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x4db2da,0xc,_0xec0bea[0x1]),_0x1666ec=_0x593785(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x55785f,0x11,_0xec0bea[0x2]),_0x2ea759=_0x593785(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x2162da,0x16,_0xec0bea[0x3]),_0x527115=_0x593785(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x400556,0x7,_0xec0bea[0x4]),_0x256982=_0x593785(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x3f4ff0,0xc,_0xec0bea[0x5]),_0x1666ec=_0x593785(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x3ee254,0x11,_0xec0bea[0x6]),_0x2ea759=_0x593785(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x225a7c,0x16,_0xec0bea[0x7]),_0x527115=_0x593785(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x1326fc,0x7,_0xec0bea[0x8]),_0x256982=_0x593785(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x175c6b,0xc,_0xec0bea[0x9]),_0x1666ec=_0x593785(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x327f62,0x11,_0xec0bea[0xa]),_0x2ea759=_0x593785(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x12a837,0x16,_0xec0bea[0xb]),_0x527115=_0x593785(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x29cbcd,0x7,_0xec0bea[0xc]),_0x256982=_0x593785(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x3cf200,0xc,_0xec0bea[0xd]),_0x1666ec=_0x593785(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x1cc496,0x11,_0xec0bea[0xe]),_0x2ea759=_0x593785(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x29ef8d,0x16,_0xec0bea[0xf]),_0x527115=_0x1ae4b3(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x4db2da,0x5,_0xec0bea[0x10]),_0x256982=_0x1ae4b3(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x3ee254,0x9,_0xec0bea[0x11]),_0x1666ec=_0x1ae4b3(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x12a837,0xe,_0xec0bea[0x12]),_0x2ea759=_0x1ae4b3(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x1bfa5e,0x14,_0xec0bea[0x13]),_0x527115=_0x1ae4b3(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x3f4ff0,0x5,_0xec0bea[0x14]),_0x256982=_0x1ae4b3(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x327f62,0x9,_0xec0bea[0x15]),_0x1666ec=_0x1ae4b3(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x29ef8d,0xe,_0xec0bea[0x16]),_0x2ea759=_0x1ae4b3(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x400556,0x14,_0xec0bea[0x17]),_0x527115=_0x1ae4b3(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x175c6b,0x5,_0xec0bea[0x18]),_0x256982=_0x1ae4b3(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x1cc496,0x9,_0xec0bea[0x19]),_0x1666ec=_0x1ae4b3(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x2162da,0xe,_0xec0bea[0x1a]),_0x2ea759=_0x1ae4b3(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x1326fc,0x14,_0xec0bea[0x1b]),_0x527115=_0x1ae4b3(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x3cf200,0x5,_0xec0bea[0x1c]),_0x256982=_0x1ae4b3(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x55785f,0x9,_0xec0bea[0x1d]),_0x1666ec=_0x1ae4b3(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x225a7c,0xe,_0xec0bea[0x1e]),_0x2ea759=_0x1ae4b3(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x29cbcd,0x14,_0xec0bea[0x1f]),_0x527115=_0x15ab18(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x3f4ff0,0x4,_0xec0bea[0x20]),_0x256982=_0x15ab18(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x1326fc,0xb,_0xec0bea[0x21]),_0x1666ec=_0x15ab18(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x12a837,0x10,_0xec0bea[0x22]),_0x2ea759=_0x15ab18(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x1cc496,0x17,_0xec0bea[0x23]),_0x527115=_0x15ab18(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x4db2da,0x4,_0xec0bea[0x24]),_0x256982=_0x15ab18(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x400556,0xb,_0xec0bea[0x25]),_0x1666ec=_0x15ab18(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x225a7c,0x10,_0xec0bea[0x26]),_0x2ea759=_0x15ab18(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x327f62,0x17,_0xec0bea[0x27]),_0x527115=_0x15ab18(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x3cf200,0x4,_0xec0bea[0x28]),_0x256982=_0x15ab18(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x1bfa5e,0xb,_0xec0bea[0x29]),_0x1666ec=_0x15ab18(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x2162da,0x10,_0xec0bea[0x2a]),_0x2ea759=_0x15ab18(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x3ee254,0x17,_0xec0bea[0x2b]),_0x527115=_0x15ab18(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x175c6b,0x4,_0xec0bea[0x2c]),_0x256982=_0x15ab18(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x29cbcd,0xb,_0xec0bea[0x2d]),_0x1666ec=_0x15ab18(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x29ef8d,0x10,_0xec0bea[0x2e]),_0x2ea759=_0x15ab18(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x55785f,0x17,_0xec0bea[0x2f]),_0x527115=_0x19eb9f(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x1bfa5e,0x6,_0xec0bea[0x30]),_0x256982=_0x19eb9f(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x225a7c,0xa,_0xec0bea[0x31]),_0x1666ec=_0x19eb9f(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x1cc496,0xf,_0xec0bea[0x32]),_0x2ea759=_0x19eb9f(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x3f4ff0,0x15,_0xec0bea[0x33]),_0x527115=_0x19eb9f(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x29cbcd,0x6,_0xec0bea[0x34]),_0x256982=_0x19eb9f(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x2162da,0xa,_0xec0bea[0x35]),_0x1666ec=_0x19eb9f(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x327f62,0xf,_0xec0bea[0x36]),_0x2ea759=_0x19eb9f(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x4db2da,0x15,_0xec0bea[0x37]),_0x527115=_0x19eb9f(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x1326fc,0x6,_0xec0bea[0x38]),_0x256982=_0x19eb9f(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x29ef8d,0xa,_0xec0bea[0x39]),_0x1666ec=_0x19eb9f(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x3ee254,0xf,_0xec0bea[0x3a]),_0x2ea759=_0x19eb9f(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x3cf200,0x15,_0xec0bea[0x3b]),_0x527115=_0x19eb9f(_0x527115,_0x2ea759,_0x1666ec,_0x256982,_0x400556,0x6,_0xec0bea[0x3c]),_0x256982=_0x19eb9f(_0x256982,_0x527115,_0x2ea759,_0x1666ec,_0x12a837,0xa,_0xec0bea[0x3d]),_0x1666ec=_0x19eb9f(_0x1666ec,_0x256982,_0x527115,_0x2ea759,_0x55785f,0xf,_0xec0bea[0x3e]),_0x2ea759=_0x19eb9f(_0x2ea759,_0x1666ec,_0x256982,_0x527115,_0x175c6b,0x15,_0xec0bea[0x3f]),_0x31e687[0x0]=_0x31e687[0x0]+_0x527115|0x0,_0x31e687[0x1]=_0x31e687[0x1]+_0x2ea759|0x0,_0x31e687[0x2]=_0x31e687[0x2]+_0x1666ec|0x0,_0x31e687[0x3]=_0x31e687[0x3]+_0x256982|0x0;},'_doFinalize':function(){const _0x26f5fd=_0x5e9546;var _0x3b1af1=this['_data'],_0x573a27=_0x3b1af1['words'],_0x643fb7=this[_0x26f5fd(0x2c4)]*0x8,_0x4b0dc6=_0x3b1af1[_0x26f5fd(0x386)]*0x8;_0x573a27[_0x4b0dc6>>>0x5]|=0x80<<0x18-_0x4b0dc6%0x20;var _0x466cb9=_0x1626a5[_0x26f5fd(0x4e0)](_0x643fb7/0x100000000),_0x61b6ad=_0x643fb7;_0x573a27[(_0x4b0dc6+0x40>>>0x9<<0x4)+0xf]=(_0x466cb9<<0x8|_0x466cb9>>>0x18)&0xff00ff|(_0x466cb9<<0x18|_0x466cb9>>>0x8)&0xff00ff00,_0x573a27[(_0x4b0dc6+0x40>>>0x9<<0x4)+0xe]=(_0x61b6ad<<0x8|_0x61b6ad>>>0x18)&0xff00ff|(_0x61b6ad<<0x18|_0x61b6ad>>>0x8)&0xff00ff00,_0x3b1af1['sigBytes']=(_0x573a27[_0x26f5fd(0x53a)]+0x1)*0x4,this[_0x26f5fd(0x5e6)]();for(var _0x47339e=this[_0x26f5fd(0x301)],_0xdaa9fa=_0x47339e[_0x26f5fd(0x1b9)],_0x5cd3c2=0x0;_0x5cd3c2<0x4;_0x5cd3c2++){var _0x221c20=_0xdaa9fa[_0x5cd3c2];_0xdaa9fa[_0x5cd3c2]=(_0x221c20<<0x8|_0x221c20>>>0x18)&0xff00ff|(_0x221c20<<0x18|_0x221c20>>>0x8)&0xff00ff00;}return _0x47339e;},'clone':function(){const _0x5946da=_0x5e9546;var _0x1f20a9=_0x58122d[_0x5946da(0x1ce)][_0x5946da(0x3bb)](this);return _0x1f20a9[_0x5946da(0x301)]=this[_0x5946da(0x301)][_0x5946da(0x1ce)](),_0x1f20a9;}});function _0x593785(_0x17090c,_0x251045,_0x47721b,_0x4b42ce,_0x4599a9,_0x1caeef,_0x10254c){var _0x477960=_0x17090c+(_0x251045&_0x47721b|~_0x251045&_0x4b42ce)+_0x4599a9+_0x10254c;return(_0x477960<<_0x1caeef|_0x477960>>>0x20-_0x1caeef)+_0x251045;}function _0x1ae4b3(_0x55fa03,_0x3f8495,_0x22ebb2,_0x496425,_0x44d8de,_0x3a6b1d,_0x4a6a75){var _0x3b05a9=_0x55fa03+(_0x3f8495&_0x496425|_0x22ebb2&~_0x496425)+_0x44d8de+_0x4a6a75;return(_0x3b05a9<<_0x3a6b1d|_0x3b05a9>>>0x20-_0x3a6b1d)+_0x3f8495;}function _0x15ab18(_0x3e6b95,_0xb99817,_0x48a2d1,_0x1f6258,_0x12f9a9,_0x15b7a,_0x132503){var _0x139a70=_0x3e6b95+(_0xb99817^_0x48a2d1^_0x1f6258)+_0x12f9a9+_0x132503;return(_0x139a70<<_0x15b7a|_0x139a70>>>0x20-_0x15b7a)+_0xb99817;}function _0x19eb9f(_0x4edebb,_0x45ccea,_0x2832af,_0x5d5522,_0x568899,_0x51196f,_0x52c477){var _0x2ef04c=_0x4edebb+(_0x2832af^(_0x45ccea|~_0x5d5522))+_0x568899+_0x52c477;return(_0x2ef04c<<_0x51196f|_0x2ef04c>>>0x20-_0x51196f)+_0x45ccea;}_0x198483[_0x5e9546(0x23c)]=_0x58122d['_createHelper'](_0x7e3df6),_0x198483['HmacMD5']=_0x58122d['_createHmacHelper'](_0x7e3df6);}(Math),_0x3da9ab['MD5'];}));}(Ve)),Ve[_0x3b7f1a(0x495)];}var Ge={'exports':{}},Ye={'exports':{}},Is=Ye['exports'],ni;function Cs(){const _0xfa2fb0=_0x519f42;return ni||(ni=0x1,function(_0x269a46,_0xab3843){(function(_0x53ed41,_0x3f8fb3){const _0xd28957=_0x3f43;_0x269a46[_0xd28957(0x495)]=_0x3f8fb3(se());}(Is,function(_0x5472a4){const _0x8dd7d6=_0x3f43;return(function(){const _0x2d9eff=_0x3f43;var _0x142391=_0x5472a4,_0x5ae72c=_0x142391[_0x2d9eff(0x3d6)],_0x5cce83=_0x5ae72c[_0x2d9eff(0x17b)],_0x504ee9=_0x5ae72c[_0x2d9eff(0x2bb)],_0x32f2eb=_0x142391[_0x2d9eff(0x296)],_0x29a46e=[],_0x95473d=_0x32f2eb[_0x2d9eff(0x42e)]=_0x504ee9[_0x2d9eff(0x5f5)]({'_doReset':function(){const _0x7642ec=_0x2d9eff;this[_0x7642ec(0x301)]=new _0x5cce83[(_0x7642ec(0x1fe))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x113ad1,_0x5ace4f){const _0x4230cd=_0x2d9eff;for(var _0x44089e=this['_hash'][_0x4230cd(0x1b9)],_0x178336=_0x44089e[0x0],_0x499ed1=_0x44089e[0x1],_0x56c585=_0x44089e[0x2],_0x1df6d0=_0x44089e[0x3],_0x2b8458=_0x44089e[0x4],_0x4daeb4=0x0;_0x4daeb4<0x50;_0x4daeb4++){if(_0x4daeb4<0x10)_0x29a46e[_0x4daeb4]=_0x113ad1[_0x5ace4f+_0x4daeb4]|0x0;else{var _0x5121c=_0x29a46e[_0x4daeb4-0x3]^_0x29a46e[_0x4daeb4-0x8]^_0x29a46e[_0x4daeb4-0xe]^_0x29a46e[_0x4daeb4-0x10];_0x29a46e[_0x4daeb4]=_0x5121c<<0x1|_0x5121c>>>0x1f;}var _0x92a539=(_0x178336<<0x5|_0x178336>>>0x1b)+_0x2b8458+_0x29a46e[_0x4daeb4];_0x4daeb4<0x14?_0x92a539+=(_0x499ed1&_0x56c585|~_0x499ed1&_0x1df6d0)+0x5a827999:_0x4daeb4<0x28?_0x92a539+=(_0x499ed1^_0x56c585^_0x1df6d0)+0x6ed9eba1:_0x4daeb4<0x3c?_0x92a539+=(_0x499ed1&_0x56c585|_0x499ed1&_0x1df6d0|_0x56c585&_0x1df6d0)-0x70e44324:_0x92a539+=(_0x499ed1^_0x56c585^_0x1df6d0)-0x359d3e2a,_0x2b8458=_0x1df6d0,_0x1df6d0=_0x56c585,_0x56c585=_0x499ed1<<0x1e|_0x499ed1>>>0x2,_0x499ed1=_0x178336,_0x178336=_0x92a539;}_0x44089e[0x0]=_0x44089e[0x0]+_0x178336|0x0,_0x44089e[0x1]=_0x44089e[0x1]+_0x499ed1|0x0,_0x44089e[0x2]=_0x44089e[0x2]+_0x56c585|0x0,_0x44089e[0x3]=_0x44089e[0x3]+_0x1df6d0|0x0,_0x44089e[0x4]=_0x44089e[0x4]+_0x2b8458|0x0;},'_doFinalize':function(){const _0x3c98b0=_0x2d9eff;var _0x397a55=this[_0x3c98b0(0x5f3)],_0x10a3ad=_0x397a55[_0x3c98b0(0x1b9)],_0x2b2f6f=this[_0x3c98b0(0x2c4)]*0x8,_0x5e518c=_0x397a55[_0x3c98b0(0x386)]*0x8;return _0x10a3ad[_0x5e518c>>>0x5]|=0x80<<0x18-_0x5e518c%0x20,_0x10a3ad[(_0x5e518c+0x40>>>0x9<<0x4)+0xe]=Math[_0x3c98b0(0x4e0)](_0x2b2f6f/0x100000000),_0x10a3ad[(_0x5e518c+0x40>>>0x9<<0x4)+0xf]=_0x2b2f6f,_0x397a55['sigBytes']=_0x10a3ad['length']*0x4,this[_0x3c98b0(0x5e6)](),this['_hash'];},'clone':function(){const _0x251ce2=_0x2d9eff;var _0x4a21cc=_0x504ee9[_0x251ce2(0x1ce)]['call'](this);return _0x4a21cc['_hash']=this[_0x251ce2(0x301)]['clone'](),_0x4a21cc;}});_0x142391[_0x2d9eff(0x42e)]=_0x504ee9['_createHelper'](_0x95473d),_0x142391[_0x2d9eff(0x57e)]=_0x504ee9[_0x2d9eff(0x5e5)](_0x95473d);}()),_0x5472a4[_0x8dd7d6(0x42e)];}));}(Ye)),Ye[_0xfa2fb0(0x495)];}var qe={'exports':{}},Es=qe[_0x519f42(0x495)],ri;function bs(){const _0x4ddcb2=_0x519f42;return ri||(ri=0x1,function(_0x41fa42,_0x3a236f){(function(_0x3836f9,_0x455813){const _0x33c715=_0x3f43;_0x41fa42[_0x33c715(0x495)]=_0x455813(se());}(Es,function(_0x49995c){(function(){const _0x6c8dfe=_0x3f43;var _0x3455c2=_0x49995c,_0x5d2cc1=_0x3455c2[_0x6c8dfe(0x3d6)],_0x363dbf=_0x5d2cc1['Base'],_0x28edd9=_0x3455c2[_0x6c8dfe(0x333)],_0x2925c0=_0x28edd9[_0x6c8dfe(0x4a5)],_0x1aea82=_0x3455c2[_0x6c8dfe(0x296)];_0x1aea82[_0x6c8dfe(0x402)]=_0x363dbf[_0x6c8dfe(0x5f5)]({'init':function(_0x108e47,_0x586311){const _0x3ec7b7=_0x6c8dfe;_0x108e47=this[_0x3ec7b7(0x2d7)]=new _0x108e47['init'](),typeof _0x586311==_0x3ec7b7(0x32b)&&(_0x586311=_0x2925c0[_0x3ec7b7(0x2f6)](_0x586311));var _0xc3e512=_0x108e47[_0x3ec7b7(0x337)],_0x4a0d66=_0xc3e512*0x4;_0x586311['sigBytes']>_0x4a0d66&&(_0x586311=_0x108e47[_0x3ec7b7(0x35a)](_0x586311)),_0x586311[_0x3ec7b7(0x5d4)]();for(var _0x43af6e=this[_0x3ec7b7(0x43d)]=_0x586311['clone'](),_0x499d0f=this['_iKey']=_0x586311['clone'](),_0x967755=_0x43af6e['words'],_0x41d451=_0x499d0f[_0x3ec7b7(0x1b9)],_0x38f9c6=0x0;_0x38f9c6<_0xc3e512;_0x38f9c6++)_0x967755[_0x38f9c6]^=0x5c5c5c5c,_0x41d451[_0x38f9c6]^=0x36363636;_0x43af6e[_0x3ec7b7(0x386)]=_0x499d0f['sigBytes']=_0x4a0d66,this[_0x3ec7b7(0x414)]();},'reset':function(){const _0x4a5196=_0x6c8dfe;var _0xa8346a=this[_0x4a5196(0x2d7)];_0xa8346a[_0x4a5196(0x414)](),_0xa8346a[_0x4a5196(0x182)](this[_0x4a5196(0x4fa)]);},'update':function(_0x37e4af){const _0x3d4c38=_0x6c8dfe;return this[_0x3d4c38(0x2d7)][_0x3d4c38(0x182)](_0x37e4af),this;},'finalize':function(_0x59b5e4){const _0x2f9a1a=_0x6c8dfe;var _0x3fa89f=this[_0x2f9a1a(0x2d7)],_0x56fe99=_0x3fa89f[_0x2f9a1a(0x35a)](_0x59b5e4);_0x3fa89f[_0x2f9a1a(0x414)]();var _0x578872=_0x3fa89f[_0x2f9a1a(0x35a)](this['_oKey']['clone']()[_0x2f9a1a(0x538)](_0x56fe99));return _0x578872;}});}());}));}(qe)),qe[_0x4ddcb2(0x495)];}var Ts=Ge[_0x519f42(0x495)],si;function Hi(){const _0x27e8f4=_0x519f42;return si||(si=0x1,function(_0x2c832b,_0xbac0b6){(function(_0x486c0c,_0x436183,_0x1f147a){const _0x3034db=_0x3f43;_0x2c832b[_0x3034db(0x495)]=_0x436183(se(),Cs(),bs());}(Ts,function(_0x126a04){return(function(){const _0x1ac2cc=_0x3f43;var _0x4bb920=_0x126a04,_0x26e700=_0x4bb920['lib'],_0x29ef5e=_0x26e700[_0x1ac2cc(0x603)],_0x40a167=_0x26e700[_0x1ac2cc(0x17b)],_0x252b1f=_0x4bb920[_0x1ac2cc(0x296)],_0x769a0c=_0x252b1f[_0x1ac2cc(0x23c)],_0xa607ed=_0x252b1f[_0x1ac2cc(0x64a)]=_0x29ef5e[_0x1ac2cc(0x5f5)]({'cfg':_0x29ef5e['extend']({'keySize':0x80/0x20,'hasher':_0x769a0c,'iterations':0x1}),'init':function(_0x1b1d46){const _0x14fe2d=_0x1ac2cc;this[_0x14fe2d(0x2b0)]=this['cfg'][_0x14fe2d(0x5f5)](_0x1b1d46);},'compute':function(_0x21255b,_0x54f911){const _0x50e060=_0x1ac2cc;for(var _0x968d97,_0x498493=this[_0x50e060(0x2b0)],_0x20cd82=_0x498493[_0x50e060(0x5d2)][_0x50e060(0x282)](),_0x52378d=_0x40a167[_0x50e060(0x282)](),_0x28c484=_0x52378d[_0x50e060(0x1b9)],_0x2c0c45=_0x498493[_0x50e060(0x1bc)],_0x344c41=_0x498493[_0x50e060(0x1b3)];_0x28c484[_0x50e060(0x53a)]<_0x2c0c45;){_0x968d97&&_0x20cd82['update'](_0x968d97),_0x968d97=_0x20cd82[_0x50e060(0x182)](_0x21255b)[_0x50e060(0x35a)](_0x54f911),_0x20cd82['reset']();for(var _0x49adc0=0x1;_0x49adc0<_0x344c41;_0x49adc0++)_0x968d97=_0x20cd82['finalize'](_0x968d97),_0x20cd82[_0x50e060(0x414)]();_0x52378d[_0x50e060(0x538)](_0x968d97);}return _0x52378d[_0x50e060(0x386)]=_0x2c0c45*0x4,_0x52378d;}});_0x4bb920[_0x1ac2cc(0x64a)]=function(_0x12f5bc,_0x3ed2a3,_0x5883d8){const _0x2ab374=_0x1ac2cc;return _0xa607ed[_0x2ab374(0x282)](_0x5883d8)[_0x2ab374(0x622)](_0x12f5bc,_0x3ed2a3);};}()),_0x126a04['EvpKDF'];}));}(Ge)),Ge[_0x27e8f4(0x495)];}var Ke={'exports':{}},Rs=Ke[_0x519f42(0x495)],oi;function Bi(){return oi||(oi=0x1,function(_0x3ab902,_0x34dbeb){(function(_0x815432,_0x1cb38e,_0x47d487){const _0x4c0a0f=_0x3f43;_0x3ab902[_0x4c0a0f(0x495)]=_0x1cb38e(se(),Hi());}(Rs,function(_0x56bf7c){const _0x5340b0=_0x3f43;_0x56bf7c[_0x5340b0(0x3d6)]['Cipher']||function(_0x5594ef){const _0x3ee83a=_0x5340b0;var _0x1111eb=_0x56bf7c,_0x463996=_0x1111eb[_0x3ee83a(0x3d6)],_0x599053=_0x463996[_0x3ee83a(0x603)],_0x5d76d6=_0x463996['WordArray'],_0x985ebb=_0x463996[_0x3ee83a(0x4bb)],_0x562754=_0x1111eb[_0x3ee83a(0x333)];_0x562754['Utf8'];var _0x153f91=_0x562754[_0x3ee83a(0x218)],_0x380ee9=_0x1111eb[_0x3ee83a(0x296)],_0x49f8b5=_0x380ee9[_0x3ee83a(0x64a)],_0x152cb3=_0x463996[_0x3ee83a(0x30b)]=_0x985ebb[_0x3ee83a(0x5f5)]({'cfg':_0x599053[_0x3ee83a(0x5f5)](),'createEncryptor':function(_0x5d9c48,_0x42799){const _0x2bb721=_0x3ee83a;return this[_0x2bb721(0x282)](this[_0x2bb721(0x451)],_0x5d9c48,_0x42799);},'createDecryptor':function(_0x1580d3,_0x1d7348){const _0x3b7d9e=_0x3ee83a;return this['create'](this[_0x3b7d9e(0x4fe)],_0x1580d3,_0x1d7348);},'init':function(_0x2f4f59,_0x47dbd8,_0x130650){const _0x170784=_0x3ee83a;this[_0x170784(0x2b0)]=this['cfg']['extend'](_0x130650),this[_0x170784(0x2fc)]=_0x2f4f59,this[_0x170784(0x2f2)]=_0x47dbd8,this[_0x170784(0x414)]();},'reset':function(){const _0xda853b=_0x3ee83a;_0x985ebb[_0xda853b(0x414)][_0xda853b(0x3bb)](this),this[_0xda853b(0x2c2)]();},'process':function(_0x576889){const _0xc6f704=_0x3ee83a;return this['_append'](_0x576889),this[_0xc6f704(0x5e6)]();},'finalize':function(_0xc2351){const _0x89db0b=_0x3ee83a;_0xc2351&&this['_append'](_0xc2351);var _0x1b484e=this[_0x89db0b(0x4a4)]();return _0x1b484e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x278ee5(_0x455dc9){const _0x56edc2=_0x3f43;return typeof _0x455dc9==_0x56edc2(0x32b)?_0x452083:_0x4e68df;}return function(_0x3cc1cb){return{'encrypt':function(_0x114ad0,_0x9f2ab7,_0x43850c){const _0x1a84f7=_0x3f43;return _0x278ee5(_0x9f2ab7)[_0x1a84f7(0x2e3)](_0x3cc1cb,_0x114ad0,_0x9f2ab7,_0x43850c);},'decrypt':function(_0x303bf7,_0x165f65,_0x4eb68c){const _0x4c347e=_0x3f43;return _0x278ee5(_0x165f65)[_0x4c347e(0x45e)](_0x3cc1cb,_0x303bf7,_0x165f65,_0x4eb68c);}};};}())});_0x463996[_0x3ee83a(0x4ec)]=_0x152cb3[_0x3ee83a(0x5f5)]({'_doFinalize':function(){var _0x409601=this['_process'](!0x0);return _0x409601;},'blockSize':0x1});var _0x41ed50=_0x1111eb[_0x3ee83a(0x478)]={},_0x4cda54=_0x463996[_0x3ee83a(0x3c6)]=_0x599053['extend']({'createEncryptor':function(_0x2aa6e6,_0x3d3516){const _0x296e78=_0x3ee83a;return this[_0x296e78(0x548)]['create'](_0x2aa6e6,_0x3d3516);},'createDecryptor':function(_0x1ef170,_0x2e1e1c){const _0x5d6045=_0x3ee83a;return this['Decryptor'][_0x5d6045(0x282)](_0x1ef170,_0x2e1e1c);},'init':function(_0x54129e,_0xa18900){const _0x4d2923=_0x3ee83a;this[_0x4d2923(0x2de)]=_0x54129e,this[_0x4d2923(0x569)]=_0xa18900;}}),_0x1822e1=_0x41ed50[_0x3ee83a(0x3af)]=(function(){const _0x16db93=_0x3ee83a;var _0x4753fa=_0x4cda54[_0x16db93(0x5f5)]();_0x4753fa[_0x16db93(0x548)]=_0x4753fa['extend']({'processBlock':function(_0x5a7d9b,_0x11d333){const _0x28f113=_0x16db93;var _0x4b192f=this[_0x28f113(0x2de)],_0x14fe46=_0x4b192f[_0x28f113(0x337)];_0x5877e4['call'](this,_0x5a7d9b,_0x11d333,_0x14fe46),_0x4b192f[_0x28f113(0x58c)](_0x5a7d9b,_0x11d333),this[_0x28f113(0x1e5)]=_0x5a7d9b[_0x28f113(0x428)](_0x11d333,_0x11d333+_0x14fe46);}}),_0x4753fa[_0x16db93(0x3ad)]=_0x4753fa[_0x16db93(0x5f5)]({'processBlock':function(_0x23aab1,_0x3b21b6){const _0x15ed2e=_0x16db93;var _0x15edca=this[_0x15ed2e(0x2de)],_0x199ff2=_0x15edca[_0x15ed2e(0x337)],_0x36f0e9=_0x23aab1[_0x15ed2e(0x428)](_0x3b21b6,_0x3b21b6+_0x199ff2);_0x15edca['decryptBlock'](_0x23aab1,_0x3b21b6),_0x5877e4[_0x15ed2e(0x3bb)](this,_0x23aab1,_0x3b21b6,_0x199ff2),this['_prevBlock']=_0x36f0e9;}});function _0x5877e4(_0x5e0b38,_0x42b965,_0x2702e8){const _0x53b2c4=_0x16db93;var _0x115090,_0x5e5dae=this[_0x53b2c4(0x569)];_0x5e5dae?(_0x115090=_0x5e5dae,this['_iv']=_0x5594ef):_0x115090=this[_0x53b2c4(0x1e5)];for(var _0x198ed9=0x0;_0x198ed9<_0x2702e8;_0x198ed9++)_0x5e0b38[_0x42b965+_0x198ed9]^=_0x115090[_0x198ed9];}return _0x4753fa;}()),_0x10d4be=_0x1111eb[_0x3ee83a(0x49e)]={},_0x1be3e3=_0x10d4be[_0x3ee83a(0x413)]={'pad':function(_0x1d8621,_0x48bc12){const _0xc67cce=_0x3ee83a;for(var _0x5ebeb7=_0x48bc12*0x4,_0xaa1a=_0x5ebeb7-_0x1d8621['sigBytes']%_0x5ebeb7,_0x5e7b6b=_0xaa1a<<0x18|_0xaa1a<<0x10|_0xaa1a<<0x8|_0xaa1a,_0x401725=[],_0x4a41e6=0x0;_0x4a41e6<_0xaa1a;_0x4a41e6+=0x4)_0x401725['push'](_0x5e7b6b);var _0x31fccb=_0x5d76d6[_0xc67cce(0x282)](_0x401725,_0xaa1a);_0x1d8621['concat'](_0x31fccb);},'unpad':function(_0x32aa2f){const _0x24e2cb=_0x3ee83a;var _0x155b23=_0x32aa2f[_0x24e2cb(0x1b9)][_0x32aa2f[_0x24e2cb(0x386)]-0x1>>>0x2]&0xff;_0x32aa2f[_0x24e2cb(0x386)]-=_0x155b23;}};_0x463996[_0x3ee83a(0x454)]=_0x152cb3[_0x3ee83a(0x5f5)]({'cfg':_0x152cb3['cfg'][_0x3ee83a(0x5f5)]({'mode':_0x1822e1,'padding':_0x1be3e3}),'reset':function(){const _0x4fa8d9=_0x3ee83a;var _0x4fac27;_0x152cb3[_0x4fa8d9(0x414)][_0x4fa8d9(0x3bb)](this);var _0x219623=this[_0x4fa8d9(0x2b0)],_0x1d5f9c=_0x219623['iv'],_0x3bbbb3=_0x219623[_0x4fa8d9(0x478)];this['_xformMode']==this[_0x4fa8d9(0x451)]?_0x4fac27=_0x3bbbb3[_0x4fa8d9(0x431)]:(_0x4fac27=_0x3bbbb3[_0x4fa8d9(0x4dd)],this[_0x4fa8d9(0x1ab)]=0x1),this[_0x4fa8d9(0x560)]&&this['_mode'][_0x4fa8d9(0x3fd)]==_0x4fac27?this['_mode'][_0x4fa8d9(0x1fe)](this,_0x1d5f9c&&_0x1d5f9c['words']):(this['_mode']=_0x4fac27[_0x4fa8d9(0x3bb)](_0x3bbbb3,this,_0x1d5f9c&&_0x1d5f9c[_0x4fa8d9(0x1b9)]),this[_0x4fa8d9(0x560)]['__creator']=_0x4fac27);},'_doProcessBlock':function(_0x20dc26,_0xee3458){const _0xf4490d=_0x3ee83a;this[_0xf4490d(0x560)][_0xf4490d(0x2be)](_0x20dc26,_0xee3458);},'_doFinalize':function(){const _0x41e48c=_0x3ee83a;var _0xeddbd6,_0x3c066c=this[_0x41e48c(0x2b0)][_0x41e48c(0x2ae)];return this[_0x41e48c(0x2fc)]==this[_0x41e48c(0x451)]?(_0x3c066c[_0x41e48c(0x49e)](this['_data'],this[_0x41e48c(0x337)]),_0xeddbd6=this['_process'](!0x0)):(_0xeddbd6=this[_0x41e48c(0x5e6)](!0x0),_0x3c066c['unpad'](_0xeddbd6)),_0xeddbd6;},'blockSize':0x80/0x20});var _0x1866bb=_0x463996[_0x3ee83a(0x22b)]=_0x599053[_0x3ee83a(0x5f5)]({'init':function(_0x33e8ab){const _0x497f71=_0x3ee83a;this[_0x497f71(0x391)](_0x33e8ab);},'toString':function(_0x10a0e7){const _0x2a707b=_0x3ee83a;return(_0x10a0e7||this[_0x2a707b(0x2ee)])[_0x2a707b(0x648)](this);}}),_0x180d47=_0x1111eb[_0x3ee83a(0x22c)]={},_0x285b41=_0x180d47['OpenSSL']={'stringify':function(_0x50d99c){const _0x5c4a26=_0x3ee83a;var _0x3eaa58,_0x27a67d=_0x50d99c[_0x5c4a26(0x427)],_0x5f118e=_0x50d99c[_0x5c4a26(0x464)];return _0x5f118e?_0x3eaa58=_0x5d76d6['create']([0x53616c74,0x65645f5f])[_0x5c4a26(0x538)](_0x5f118e)[_0x5c4a26(0x538)](_0x27a67d):_0x3eaa58=_0x27a67d,_0x3eaa58[_0x5c4a26(0x1a0)](_0x153f91);},'parse':function(_0x83d02a){const _0x20f788=_0x3ee83a;var _0x38ae9a,_0xe704ca=_0x153f91[_0x20f788(0x2f6)](_0x83d02a),_0x2fe357=_0xe704ca['words'];return _0x2fe357[0x0]==0x53616c74&&_0x2fe357[0x1]==0x65645f5f&&(_0x38ae9a=_0x5d76d6[_0x20f788(0x282)](_0x2fe357[_0x20f788(0x428)](0x2,0x4)),_0x2fe357['splice'](0x0,0x4),_0xe704ca[_0x20f788(0x386)]-=0x10),_0x1866bb[_0x20f788(0x282)]({'ciphertext':_0xe704ca,'salt':_0x38ae9a});}},_0x4e68df=_0x463996[_0x3ee83a(0x1e2)]=_0x599053[_0x3ee83a(0x5f5)]({'cfg':_0x599053[_0x3ee83a(0x5f5)]({'format':_0x285b41}),'encrypt':function(_0x489790,_0x556959,_0x3eca34,_0x407480){const _0x3a8786=_0x3ee83a;_0x407480=this[_0x3a8786(0x2b0)][_0x3a8786(0x5f5)](_0x407480);var _0x4cce59=_0x489790[_0x3a8786(0x431)](_0x3eca34,_0x407480),_0x311a5=_0x4cce59['finalize'](_0x556959),_0x57befa=_0x4cce59[_0x3a8786(0x2b0)];return _0x1866bb['create']({'ciphertext':_0x311a5,'key':_0x3eca34,'iv':_0x57befa['iv'],'algorithm':_0x489790,'mode':_0x57befa['mode'],'padding':_0x57befa['padding'],'blockSize':_0x489790[_0x3a8786(0x337)],'formatter':_0x407480[_0x3a8786(0x22c)]});},'decrypt':function(_0x1404e3,_0x45f6ef,_0x316dff,_0x38edef){const _0x512176=_0x3ee83a;_0x38edef=this['cfg']['extend'](_0x38edef),_0x45f6ef=this[_0x512176(0x517)](_0x45f6ef,_0x38edef[_0x512176(0x22c)]);var _0x138441=_0x1404e3[_0x512176(0x4dd)](_0x316dff,_0x38edef)['finalize'](_0x45f6ef[_0x512176(0x427)]);return _0x138441;},'_parse':function(_0x29c85d,_0x3c5f05){const _0x4beec7=_0x3ee83a;return typeof _0x29c85d==_0x4beec7(0x32b)?_0x3c5f05[_0x4beec7(0x2f6)](_0x29c85d,this):_0x29c85d;}}),_0x467740=_0x1111eb[_0x3ee83a(0x465)]={},_0x93e2f8=_0x467740[_0x3ee83a(0x3ae)]={'execute':function(_0x311d5d,_0x7447c6,_0xa69c16,_0x28b3cd,_0x59628a){const _0x3e1984=_0x3ee83a;if(_0x28b3cd||(_0x28b3cd=_0x5d76d6['random'](0x40/0x8)),_0x59628a)var _0x136a39=_0x49f8b5[_0x3e1984(0x282)]({'keySize':_0x7447c6+_0xa69c16,'hasher':_0x59628a})['compute'](_0x311d5d,_0x28b3cd);else var _0x136a39=_0x49f8b5[_0x3e1984(0x282)]({'keySize':_0x7447c6+_0xa69c16})[_0x3e1984(0x622)](_0x311d5d,_0x28b3cd);var _0x58dc8c=_0x5d76d6[_0x3e1984(0x282)](_0x136a39[_0x3e1984(0x1b9)]['slice'](_0x7447c6),_0xa69c16*0x4);return _0x136a39[_0x3e1984(0x386)]=_0x7447c6*0x4,_0x1866bb[_0x3e1984(0x282)]({'key':_0x136a39,'iv':_0x58dc8c,'salt':_0x28b3cd});}},_0x452083=_0x463996[_0x3ee83a(0x32f)]=_0x4e68df[_0x3ee83a(0x5f5)]({'cfg':_0x4e68df[_0x3ee83a(0x2b0)][_0x3ee83a(0x5f5)]({'kdf':_0x93e2f8}),'encrypt':function(_0x30fad8,_0x59f2e7,_0x3fd718,_0x53a0bc){const _0x53a014=_0x3ee83a;_0x53a0bc=this[_0x53a014(0x2b0)][_0x53a014(0x5f5)](_0x53a0bc);var _0x3c45d2=_0x53a0bc[_0x53a014(0x465)]['execute'](_0x3fd718,_0x30fad8[_0x53a014(0x1bc)],_0x30fad8['ivSize'],_0x53a0bc[_0x53a014(0x464)],_0x53a0bc['hasher']);_0x53a0bc['iv']=_0x3c45d2['iv'];var _0x357d3e=_0x4e68df[_0x53a014(0x2e3)][_0x53a014(0x3bb)](this,_0x30fad8,_0x59f2e7,_0x3c45d2['key'],_0x53a0bc);return _0x357d3e[_0x53a014(0x391)](_0x3c45d2),_0x357d3e;},'decrypt':function(_0xec4ce6,_0x56ddc8,_0x474ef5,_0x28a7df){const _0x582f6e=_0x3ee83a;_0x28a7df=this['cfg'][_0x582f6e(0x5f5)](_0x28a7df),_0x56ddc8=this['_parse'](_0x56ddc8,_0x28a7df[_0x582f6e(0x22c)]);var _0x5bfc19=_0x28a7df[_0x582f6e(0x465)][_0x582f6e(0x4f8)](_0x474ef5,_0xec4ce6[_0x582f6e(0x1bc)],_0xec4ce6[_0x582f6e(0x4b6)],_0x56ddc8[_0x582f6e(0x464)],_0x28a7df['hasher']);_0x28a7df['iv']=_0x5bfc19['iv'];var _0x25b7df=_0x4e68df['decrypt']['call'](this,_0xec4ce6,_0x56ddc8,_0x5bfc19['key'],_0x28a7df);return _0x25b7df;}});}();}));}(Ke)),Ke['exports'];}var Os=ke[_0x519f42(0x495)],ai;function ys(){return ai||(ai=0x1,function(_0x2da128,_0x57698b){(function(_0x337590,_0x24bf05,_0x810da5){_0x2da128['exports']=_0x24bf05(se(),ji(),gs(),Hi(),Bi());}(Os,function(_0x34ea46){const _0x2aaaea=_0x3f43;return(function(){const _0x160edb=_0x3f43;var _0x4b8c8c=_0x34ea46,_0x335900=_0x4b8c8c[_0x160edb(0x3d6)],_0x38b34f=_0x335900[_0x160edb(0x454)],_0x34aa99=_0x4b8c8c['algo'],_0x1c8c7d=[],_0x1b3d14=[],_0x2a3abb=[],_0x10023d=[],_0x27540d=[],_0x25a3de=[],_0x49cfd0=[],_0x43fa6c=[],_0x2fe44f=[],_0x59bd7a=[];(function(){for(var _0x443ab2=[],_0x3f039b=0x0;_0x3f039b<0x100;_0x3f039b++)_0x3f039b<0x80?_0x443ab2[_0x3f039b]=_0x3f039b<<0x1:_0x443ab2[_0x3f039b]=_0x3f039b<<0x1^0x11b;for(var _0x1faa67=0x0,_0xad2307=0x0,_0x3f039b=0x0;_0x3f039b<0x100;_0x3f039b++){var _0xaa03c=_0xad2307^_0xad2307<<0x1^_0xad2307<<0x2^_0xad2307<<0x3^_0xad2307<<0x4;_0xaa03c=_0xaa03c>>>0x8^_0xaa03c&0xff^0x63,_0x1c8c7d[_0x1faa67]=_0xaa03c,_0x1b3d14[_0xaa03c]=_0x1faa67;var _0x3544ac=_0x443ab2[_0x1faa67],_0x2994e7=_0x443ab2[_0x3544ac],_0x25b995=_0x443ab2[_0x2994e7],_0x270d68=_0x443ab2[_0xaa03c]*0x101^_0xaa03c*0x1010100;_0x2a3abb[_0x1faa67]=_0x270d68<<0x18|_0x270d68>>>0x8,_0x10023d[_0x1faa67]=_0x270d68<<0x10|_0x270d68>>>0x10,_0x27540d[_0x1faa67]=_0x270d68<<0x8|_0x270d68>>>0x18,_0x25a3de[_0x1faa67]=_0x270d68;var _0x270d68=_0x25b995*0x1010101^_0x2994e7*0x10001^_0x3544ac*0x101^_0x1faa67*0x1010100;_0x49cfd0[_0xaa03c]=_0x270d68<<0x18|_0x270d68>>>0x8,_0x43fa6c[_0xaa03c]=_0x270d68<<0x10|_0x270d68>>>0x10,_0x2fe44f[_0xaa03c]=_0x270d68<<0x8|_0x270d68>>>0x18,_0x59bd7a[_0xaa03c]=_0x270d68,_0x1faa67?(_0x1faa67=_0x3544ac^_0x443ab2[_0x443ab2[_0x443ab2[_0x25b995^_0x3544ac]]],_0xad2307^=_0x443ab2[_0x443ab2[_0xad2307]]):_0x1faa67=_0xad2307=0x1;}}());var _0x4e254=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2fa2aa=_0x34aa99['AES']=_0x38b34f[_0x160edb(0x5f5)]({'_doReset':function(){const _0x1e6765=_0x160edb;var _0x29f665;if(!(this[_0x1e6765(0x586)]&&this[_0x1e6765(0x3d8)]===this['_key'])){for(var _0x545828=this[_0x1e6765(0x3d8)]=this[_0x1e6765(0x2f2)],_0x2a918e=_0x545828[_0x1e6765(0x1b9)],_0x39b50f=_0x545828[_0x1e6765(0x386)]/0x4,_0x2f92a1=this['_nRounds']=_0x39b50f+0x6,_0x42f1b1=(_0x2f92a1+0x1)*0x4,_0x9bb9c5=this[_0x1e6765(0x496)]=[],_0x4135af=0x0;_0x4135af<_0x42f1b1;_0x4135af++)_0x4135af<_0x39b50f?_0x9bb9c5[_0x4135af]=_0x2a918e[_0x4135af]:(_0x29f665=_0x9bb9c5[_0x4135af-0x1],_0x4135af%_0x39b50f?_0x39b50f>0x6&&_0x4135af%_0x39b50f==0x4&&(_0x29f665=_0x1c8c7d[_0x29f665>>>0x18]<<0x18|_0x1c8c7d[_0x29f665>>>0x10&0xff]<<0x10|_0x1c8c7d[_0x29f665>>>0x8&0xff]<<0x8|_0x1c8c7d[_0x29f665&0xff]):(_0x29f665=_0x29f665<<0x8|_0x29f665>>>0x18,_0x29f665=_0x1c8c7d[_0x29f665>>>0x18]<<0x18|_0x1c8c7d[_0x29f665>>>0x10&0xff]<<0x10|_0x1c8c7d[_0x29f665>>>0x8&0xff]<<0x8|_0x1c8c7d[_0x29f665&0xff],_0x29f665^=_0x4e254[_0x4135af/_0x39b50f|0x0]<<0x18),_0x9bb9c5[_0x4135af]=_0x9bb9c5[_0x4135af-_0x39b50f]^_0x29f665);for(var _0x2f0bbd=this[_0x1e6765(0x303)]=[],_0x5ecd8e=0x0;_0x5ecd8e<_0x42f1b1;_0x5ecd8e++){var _0x4135af=_0x42f1b1-_0x5ecd8e;if(_0x5ecd8e%0x4)var _0x29f665=_0x9bb9c5[_0x4135af];else var _0x29f665=_0x9bb9c5[_0x4135af-0x4];_0x5ecd8e<0x4||_0x4135af<=0x4?_0x2f0bbd[_0x5ecd8e]=_0x29f665:_0x2f0bbd[_0x5ecd8e]=_0x49cfd0[_0x1c8c7d[_0x29f665>>>0x18]]^_0x43fa6c[_0x1c8c7d[_0x29f665>>>0x10&0xff]]^_0x2fe44f[_0x1c8c7d[_0x29f665>>>0x8&0xff]]^_0x59bd7a[_0x1c8c7d[_0x29f665&0xff]];}}},'encryptBlock':function(_0x398021,_0x64e2ff){const _0x46ddfe=_0x160edb;this[_0x46ddfe(0x4e4)](_0x398021,_0x64e2ff,this[_0x46ddfe(0x496)],_0x2a3abb,_0x10023d,_0x27540d,_0x25a3de,_0x1c8c7d);},'decryptBlock':function(_0x5bfd82,_0x34738c){const _0x33c5fb=_0x160edb;var _0x83c381=_0x5bfd82[_0x34738c+0x1];_0x5bfd82[_0x34738c+0x1]=_0x5bfd82[_0x34738c+0x3],_0x5bfd82[_0x34738c+0x3]=_0x83c381,this[_0x33c5fb(0x4e4)](_0x5bfd82,_0x34738c,this['_invKeySchedule'],_0x49cfd0,_0x43fa6c,_0x2fe44f,_0x59bd7a,_0x1b3d14);var _0x83c381=_0x5bfd82[_0x34738c+0x1];_0x5bfd82[_0x34738c+0x1]=_0x5bfd82[_0x34738c+0x3],_0x5bfd82[_0x34738c+0x3]=_0x83c381;},'_doCryptBlock':function(_0x1f4706,_0x70404,_0x3f5cb9,_0x298d54,_0x5d82c2,_0x40f41,_0x8eeff0,_0x39bcf4){const _0x2a9a71=_0x160edb;for(var _0x51b002=this[_0x2a9a71(0x586)],_0x18ff91=_0x1f4706[_0x70404]^_0x3f5cb9[0x0],_0xced0f2=_0x1f4706[_0x70404+0x1]^_0x3f5cb9[0x1],_0x346f8c=_0x1f4706[_0x70404+0x2]^_0x3f5cb9[0x2],_0x2f8a21=_0x1f4706[_0x70404+0x3]^_0x3f5cb9[0x3],_0x2aa64e=0x4,_0x155c3c=0x1;_0x155c3c<_0x51b002;_0x155c3c++){var _0x447a5d=_0x298d54[_0x18ff91>>>0x18]^_0x5d82c2[_0xced0f2>>>0x10&0xff]^_0x40f41[_0x346f8c>>>0x8&0xff]^_0x8eeff0[_0x2f8a21&0xff]^_0x3f5cb9[_0x2aa64e++],_0x8f9920=_0x298d54[_0xced0f2>>>0x18]^_0x5d82c2[_0x346f8c>>>0x10&0xff]^_0x40f41[_0x2f8a21>>>0x8&0xff]^_0x8eeff0[_0x18ff91&0xff]^_0x3f5cb9[_0x2aa64e++],_0x2f2183=_0x298d54[_0x346f8c>>>0x18]^_0x5d82c2[_0x2f8a21>>>0x10&0xff]^_0x40f41[_0x18ff91>>>0x8&0xff]^_0x8eeff0[_0xced0f2&0xff]^_0x3f5cb9[_0x2aa64e++],_0x55d4b4=_0x298d54[_0x2f8a21>>>0x18]^_0x5d82c2[_0x18ff91>>>0x10&0xff]^_0x40f41[_0xced0f2>>>0x8&0xff]^_0x8eeff0[_0x346f8c&0xff]^_0x3f5cb9[_0x2aa64e++];_0x18ff91=_0x447a5d,_0xced0f2=_0x8f9920,_0x346f8c=_0x2f2183,_0x2f8a21=_0x55d4b4;}var _0x447a5d=(_0x39bcf4[_0x18ff91>>>0x18]<<0x18|_0x39bcf4[_0xced0f2>>>0x10&0xff]<<0x10|_0x39bcf4[_0x346f8c>>>0x8&0xff]<<0x8|_0x39bcf4[_0x2f8a21&0xff])^_0x3f5cb9[_0x2aa64e++],_0x8f9920=(_0x39bcf4[_0xced0f2>>>0x18]<<0x18|_0x39bcf4[_0x346f8c>>>0x10&0xff]<<0x10|_0x39bcf4[_0x2f8a21>>>0x8&0xff]<<0x8|_0x39bcf4[_0x18ff91&0xff])^_0x3f5cb9[_0x2aa64e++],_0x2f2183=(_0x39bcf4[_0x346f8c>>>0x18]<<0x18|_0x39bcf4[_0x2f8a21>>>0x10&0xff]<<0x10|_0x39bcf4[_0x18ff91>>>0x8&0xff]<<0x8|_0x39bcf4[_0xced0f2&0xff])^_0x3f5cb9[_0x2aa64e++],_0x55d4b4=(_0x39bcf4[_0x2f8a21>>>0x18]<<0x18|_0x39bcf4[_0x18ff91>>>0x10&0xff]<<0x10|_0x39bcf4[_0xced0f2>>>0x8&0xff]<<0x8|_0x39bcf4[_0x346f8c&0xff])^_0x3f5cb9[_0x2aa64e++];_0x1f4706[_0x70404]=_0x447a5d,_0x1f4706[_0x70404+0x1]=_0x8f9920,_0x1f4706[_0x70404+0x2]=_0x2f2183,_0x1f4706[_0x70404+0x3]=_0x55d4b4;},'keySize':0x100/0x20});_0x4b8c8c[_0x160edb(0x632)]=_0x38b34f[_0x160edb(0x522)](_0x2fa2aa);}()),_0x34ea46[_0x2aaaea(0x632)];}));}(ke)),ke['exports'];}function _0x1367(){const _0x46cb5b=['getResourcesRequest','_throwTelemetryCollaborationNewChangeset','InsertRangeMoveRightCommandId','_localCacheService','fetch_missing','&assign=','COLORS','transformRemoteChangeset','_transformIMECache','_scheduleHeartbeat','updatePermissionObjEvent','hasher','equals','clamp','doc.mutation.rich-text-editing','_handleHeartbeatEvent','getOwnPropertySymbols','_clearTimeoutTimer','_tryEnsureSocket','docStateChange$','disposeWithMe','_retryCount','univer-pro.collaboration-client.single-active-unit-service','disableLocalCache','COLLAB_WEB_SOCKET_URL_KEY','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','title','IRemoteInstanceService','sin','/fetchmissing?from=','_createHmacHelper','_process','CollaborationStatus','cursorInfo$','LIVESHARE_TERMINATE','_collaborationSessionService','ILogService','off-line-single','src','_stopTelemetryCollaborationNewChangeset','onTransformRemoteChangesetByStateCache','result','CHANGESET_SHOULD_RETRY','isArray','_data','getRenderById','extend','setInterval','_snapshotServerService','Disposable','5508830oVtEiK','dispose','m1Prime','getActiveSheet','_onRemoteRetry','collabCursorState$','unshift','_removeClearOtherTimer','collabStatus.syncing','LIVESHARE_OPERATION','Base','clear','UPDATE_PERMISSION_OBJ','replaceState','jiqing500','_snapshotService','LocaleService','addEventListener','subUnitId','randomUUID','isTransformMutationsWithChangesetSuccess','onTransformIME','joinRsp','getTypeOfUnitDisposed$','_draw','not_collab','wsSessionTicketUrl','on-line-single','code','_getUploadFileURL','[CollaborationSessionService]','_getDownloadEndpointURL','state','InsertRangeMoveDownCommandId','_getMergeRange','JOINING','UnitEmbedded','isTransformChangesetsSuccess','indexOf','registerRenderModule','_onMessage','compute','HTTPService','_cursorShapes','registerDependencies','IUIPartsService','post','_sessions','UNIVER_PROJECT','enableSingleActiveInstanceLock','getRoom','_cachedData','_loadDoc','moveTo','RefRangeService','_transformPreviousActiveRange','children','AES','TOO_MANY_REQUESTS','delay','hasOwnProperty','_commandService','_incrementRevisionNumber','/object/','textEncoder','IContextService','[OfflineState]:\x20received\x20changeset.','fromCharCode','mergeOverrideWithDependencies','DocIMEInputManagerService','1em','jsx','pipe','YUUMI_URL_COL_OUT_OF_RANGE','_sheetSkeletonManagerService','APPLY_DUPLICATED','_updateStatus','_status$','_checkMissing','stringify','exhaustSavingTask','EvpKDF','RETRY_CONNECTING_MAX_COUNT_KEY','6FvegSC','onTransformState','font','_onConflict','SNAPSHOT_HAS_BEEN_REMOVED','roomMembers$','WordArray','b64DecodeUnicode','_resendTimer','onRemoteAck','_notificationService','addObject','session.room-not-exists','update','sendChangesetTimeout','#FFF','addImageSourceCache','_initDependencies','transformMutationsWithChangeset','url','NO_OTHER_CLIENTS_EDITING','[CollaborationSessionService]:\x20socket\x20error','POST','ITelemetryService','text','combineLatest','transformMutation','createCollaborator','dispose$','_submitChangeset','_configService','onMissedChangesetFetched','onRemoteRej','append','searchParams','file','getCollabCursors$','_ensureSubject','SnapshotService','close','tag','reduce','_range','toString','UNIVER_SLIDE','deserializeToCombResponse','_online','_startCollaboration','SHEET_VIEWPORT_KEY','_telemetryInfo','restore','_sessionStatus$','save\x20fail\x20reason\x20is\x20','UserManagerService','_minBufferSize','LOCAL_CACHE_INTERVAL_KEY','RichTextEditingMutation','filter','@univerjs/drawing','_context','INVALID_ARGUMENT','JOIN_ROOM_PERMISSION_DENIED','iterations','avatar','registerOnClose','[CollaborationState]:\x20apply\x20error!','\x0aCurrent:\x20','_transformRemoteChangesetByIMECache','words','listCollaborators','_labelPosition','keySize','LICENSE_MAX_UNITS_EXCEEDED','_onConnectionFailed','onlyLocal','_pendingMutations','incrementRevOfUnit','COMPRESS_MUTATION_SEND','Rect','backgroundColor','_scene','find','routeKey','href','setShapeProps','NOT_FOUND','CollaborationSocketService','_updateSubUnitFromURLParams','liveShareOperation','clone','displayName','_retryConnectingTimer','type','setConfig','_removeRoom','substring','VIEW_MAIN','getCurrentSelections','CompressMutationService','error','UNIVER_UNKNOWN','Undefined','subscribe','collabStatus.notCollab','url(#on-line-single_clip0_910_349)','_singleActiveUnitService','refreshPermission','textRanges','SNAPSHOT_INVALID_SNAPSHOT','SerializableCipher','_handleEvent','Hex','_prevBlock','show','headers','_schedule','takeUntil','_commentUpdate$','confirm','encode','_drawTextRange','_socketReady','baseRev','useRef','requestParams','_lastPointer','defs','_members','collaboration-client.offline-data-not-saved','MemberService','HEARTBEAT_TIMEOUT_KEY','onTransformRemoteChangesetByIMECache','enableAuthServer','charCodeAt','fillRule','collab-client.tooltip.reconnect','setItem','init','_heartbeatTimer','image/png','_resendTimeout','_transformRemoteChangesetByStateCache','delete','selection','push','collaboratorID','SUBMIT_CHANGESET','_initRequestHeader','endColumn','userID','asObservable','SetTextSelectionsOperation','m2Prime','_fetchMissChangesets','_refRangeService','BuiltInUIPart','clipPath','HttpExport','next','_toggleOffline','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_remoteChangesetQueue','startTime','Base64','_map','throttleTime','bottom','url(#$1','Fragment','updateOfflineData','/universer-api/file/{fileID}/sign-url','changesets','fill','_updateState','_colorAssignService','onlineStatusTitle','HEARTBEAT','c2Prime','status$','conflict.title','UNKNOWN_CMD','_collaborationController','CipherParams','format','[CollaborationEntity]','_sender','@univerjs/engine-render','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','LIVESHARE_REQUEST_HOST','cursorInfo','put','liveShareNewHost','unitId','clearTimeout','executeCommand','getUnitId','ReplaySubject','IAuthzIoService','onStateChange','MD5','_showConflictNotification','hovered','engine','sequenceExecute','shouldCloseConn','setShowComponents','_initEventListeners','deepClone','getParam','whenReady','removeMember','UNIVER_SHEET','UNIVER_DOC','forEach','@univerjs/network','IMentionIOService','COMMENT_UPDATE','_memberService','_isPermissionRej','_socket','_queuedRemoteChangesets','_onConnectionOpen','getTypeOfUnitAdded$','getVpScrollXYInfoByPosToVp','bind','collabStatus.synced','lineTo','visibilitychange','_compressMutationService','Univer','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','cmd','COMPLETION_FINISHED','updateMember','currentTheme$','INGEST','debounce','_backgroundColor','SNAPSHOT_URL_KEY','collab-rect-range-','current','_cursorInfo$','getRandomValues','_hovered','FETCH_MISSING','univerjs-icon\x20univerjs-icon-','SheetCollabCursorShape','fetching\x20missing\x20changesets\x20from\x20','_type','WorkbookEditablePermission','appendMutation','synced','catch','roomMembers','socket$','&source=','RxDisposable','_entityInit$','onRemoteRetry','DocSelectionManagerService','connection\x20error','unit','NodePositionConvertToRectRange','_createSocket','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_onRecvEvent','RETRY_CONNECTING_MAX_COUNT','M0\x200H16V16H0z','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','create','_setupBeforeClosingHandler','collaboration.closeRoom','members','arc','handleInsertRow','handleDeleteRangeMoveLeft','ALREADY_EXISTS','replaceDocRanges','startRow','_themeService','reject','objectType','FromArray','drawWith','objectID','take','_config','@univerjs/engine-formula','requireSession','algo','focused$','DEFAULT_FILE_NAME','enableLocalCache','onStarting','onSendChangeset','joinEvent','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','isPermissionRej','LOCAL_CACHE_INTERVAL','colorChannel1','_httpService','allowed','getUnitOnRev','_socket$','ranges','_unlockTransition','action','send','_docTransformStateCacheService','key','putCollaborators','runRefRangeMutations','newValue','padding','list','cfg','241376OAmmHA','_refreshCollabCursors','...','collabStatus.offline','[DataLoaderController]','_transformService','unknown','forwardRef','message$','path','Hasher','LICENSE_EXPORT_SIZE_EXCEEDED','fetchMissingChangesets','processBlock','rev','patch','resolve','_doReset','imageSourceType','_nDataBytes','7997872hETdLW','TEXT','_ws','Tools','_getCtorByUniverType','DocStateChangeManagerService','onRendered','SheetCollaborationEntity','getMemberID','/universer-api/oidc/authpage','onPointerEnter$','getImageSourceCache','transformByState','ENSURE_SNAPSHOT_EXECUTION','collaMsg','charAt','use','redoState','_hasher','_docClipboardService','WebSocketService','IUndoRedoService','permissionRejEvent','_handleLeaveEvent','labelPosition','_cipher','updateCollaborator','collabStatus.conflict','xlink:href','JOIN_ROOM_NOT_EXISTS','encrypt','_clearOtherTimers','replace','closeSession','x-univer-host','saveImage','setTimeout','startsWith','session.room-permission-denied','2nYiAMj','on-line-single_clip0_910_349','formatter','UPDATE_CURSOR','ILocalStorageService','data','_key','max','trim','default','parse','Latin1','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_cursors','_onCursorDelete','DocCollaborationEntity','_xformMode','top','_initStatusComponent','_docTransformIMECacheService','_initStatusListener','_hash','UnitSnapshot','_invKeySchedule','_docSkeletonManagerService','assignAColorForMemberID','online','unit-cache-','EXCHANGE_SIGN_URL_SERVER_URL_KEY','conflict','getAncestorScale','Cipher','NoPadding','_colorIndex','reqId','UniverCollaborationClientPlugin','_handleHover','getCurrent','awaiting_with_pending','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','buffer','_createInitialStateImpl','@univerjs/design','_render','currentSkeleton$','unitId\x20is\x20not\x20found','CHANGESET_REVISION_CONFILICT','setCurrentUser','INotificationService','LOGIN_URL_KEY','DataLoaderController','_createInitialState','encodeURIComponent','CollaborationController','params','getSheetObject','complete','_clearCollaborationTimeoutTimer','/role','_createHandler','RECT','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','LIVESHARE_FETCH_OPERATIONS','string','_instanceService','body','status','PasswordBasedCipher','object','YUUMI_SUBSCRIPTION_NOT_FOUND','_userManagerService','enc','CommentService','all','useDependency','blockSize','_resendWithTimeout','JSONX','csRejEvent','mapDocumentTypeToUniverType','0\x200\x2016\x2016','readAsDataURL','@univerjs/rpc','collab-text-range-','_transformStack','_disableEditing','ImageSourceType','/universer-api/authz','_anchor','getTime','_substituteRedoStack','unsubscribe','/rev/','toggleOffline','[CollaborationSession]','IBeforeCloseService','loginUrlKey','serializeCombRequest','_getSignURL','origin','color','random','fetchThroughInterceptors','_state','_applyRemoteChangeset','UniverIcon','_onRemoteRejected','getColor','leaveEvent','_hover','finalize','transformSelections','createInstance','FAIL','getCurrentRevOfUnit','Unknown\x20user','defineProperty','TRANSFORM_CHANGE_OBSERVABLE_TYPE','YUUMI_UNABLE_LOAD_URL','onload','mapTo','toLowerCase','[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.','_collaborationPaused','application/json','_registerDependencies','actions','_drawRectRange','_state$','entries','sessionStatus','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_commentService','_candidateSocket','_sheetTransformSelectionsService','IDocClipboardService','_unitOnClients','APPLY_REVISION_CONFILICT','location','Injector','history','rxjs','byteLength','JOIN_ROOM_FULL','_session','_unitStatus','_waitCount','_initCloseConn','/universer-api/comb','UNAUTHENTICATED','getInterceptPoints','setUndoRedoMutationParamsCache','SNAPSHOT_SERVER_URL_KEY','LIVESHARE_NEW_HOST','sigBytes','@univerjs/telemetry','retryConnectingInterval','_collaborationTimeoutTimer','HttpImport','_onJoinRoomEvent','_change$','assign','symbol','SEND_CHANGESET_TIMEOUT_KEY','registerBeforeClose','mixIn','_logService','fromCollab','_getAPIPrefixPath','with','fromEventSubject','getMergeData','sheetID','_cursor','objectActions','_initUnitPermissionChange','getSnapshotAPIPath','getCellPositionByOffset','none','loadOfflineData','_reverseMap','5942139MbFxJE','_transformSelections','split','debounceTime','_substituteUndoStack','SessionStatus','blue400','currentColor','_scheduleSaving','Workbook','CONNECTOR_DATA_TOO_LARGE','session.collaboration-timeout','Decryptor','OpenSSL','CBC','getOffsetConfig','createElement','name','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Inject','APPLY_REJECT','c1Prime','join','merge','_init','min','call','CollaborationEvent','_transitionLocked','_updateLocalCursor','getUnhiddenWorksheets','_transformHistoryAndStateStack','every','copyFileMeta','onMouseMove','save','awaitingChangeset','BlockCipherMode','_revisionService','createIdentifier','908774opHQHH','@univerjs/docs','shareReplay','jsxs','parseChangesetToProtocol','react','DisposableCollection','fromEvent','_initCommandExecutedListener','ws://127.0.0.1:8000/universer-api/comb/connect','MSG_FOR_ERROR','roomInfos','getStateCache','lib','CHANGESET_REJ','_keyPriorReset','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_urlService','session.room-full','repeat','UUID','_joinRoom','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','snapshot','set','_handler','syncEditingCollabCursor','_anchorDot','toRgbString','popstate','pluginName','ICommandService','transformStateCache','_event$','OnLineSingle','Subject','IPermissionService','_setupSubUnitSync','_toggleOnline','RemoveColCommandId','getLatestCsReqIdBySid','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','/collaborator','_scheduleCollaborationTimeoutTimer','Rectangle','responseType','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','\x0aAfter:\x20','COMPRESS_MUTATION_APPLY','/allowed','_onCombEvent','_changesetSessionId','__creator','from','_startDocCollabCursor','range','editingUnit','HMAC','_univerInstanceService','RevisionService','batchAllowed','_scheduleClearOtherTimer','_docSyncEditingCollabCursorService','debug','_permissionService','NEW_CHANGESETS','_waitForHeartbeatResponse','ERROR_IMAGE','json','_telemetryService','disposeUnit','removeParam','_clearRedo','image/bmp','Pkcs7','reset','socket\x20open.','_saveCache','[PendingState]:\x20unhandled\x20univer\x20type:\x20','loadDoc','OFFLINE','ERROR_IMAGE_TYPE','USERS_LEAVE','_getRedoStack','_entities','handleIRemoveRow','_startSheetCollabCursor','_initResize','_selfUnitIDs','@univerjs/docs-ui','sessionTicket','_transformUndoredo','_send','values','ciphertext','slice','_uiPartsService','hide','128781DolfrU','_renderManagerService','_onRemoteChangeset','SHA1','_registerRenderDependencies','_getSaveTimeout','createEncryptor','change$','ISnapshotServerService','endRow','_getSheetObject','for','getSheetBlock','_hideTimer','localeService','IImageIoService','subject','_awaitingChangeset','_oKey','RECV','touchDependencies','ReactCurrentOwner','HELLO','onMissingChangesets','has','map','SYNCED','getItem','isTransformMutationFailure','@univerjs/sheets-ui','getMember','_getScale','_loadSheet','CommandType','HEARTBEAT_INTERVAL','abs','_roomMembers$','_socketMessageSubscription','_ENC_XFORM_MODE','_eventUnsubscribe','_onUserLeave','BlockCipher','_updateCollabCursors','source','_getAPIPrefix','_clearScheduledTask','EffectRefRangId','Error','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','msCrypto','socketService','decrypt','transformChangesets','DesktopCollaborationStatusDisplayController','#fff','Optional','_shapes','salt','kdf','COLLAB_SUBMIT_CHANGESET_URL_KEY','LocalCacheService','session','&to=','useObservable','transformUndoRedo','NOT_COLLAB','UNIVER_COLLABORATION_CLIENT_PLUGIN','toggleOnline','BehaviorSubject','deleteCollaborator','_messageService','generateRandomId','PSEUDO_FETCH_MISSING_RESULT','findNodePositionByCharIndex','UniverInstanceType','sid','clearInterval','mode','IRenderManagerService','ERROR_EXCEED_SIZE','_onRemoteACK','CHANGESET_ACK','CollaborationSession','_getLoginPath','_onUserJoin','DeleteRangeMoveLeftCommandId','ONLINE','APPLY_NON_SEQUENTIAL_REVISION','_sendingTimer','getCurrentUser','onPointerLeave$','_onOffline','originalMeta','error$','getValue','resend','_updateLocalCache','rng','_beforeCloseService','randomBytes','_rescheduleHeartbeat','initWorkbookPermissionChange','off-line-single_clip0_910_343','permission.title','collabStatus.fetchMiss','PERMISSION_DENIED','exports','_keySchedule','PERSON','CollabrationImageIoService','getUnitType','UniverCollaborationPlugin','SnapshotServerOverHTTPService','_timeoutTimer','subscribeEvent','pad','getAllMembers','_collabCursorState$','pushState','?url=','interceptor','_doFinalize','Utf8','get','_localStorageService','onCommandExecuted','csShouldRetryEvent','IUniverInstanceService','HEARTBEAT_TIMEOUT','onPointerMove$','isEditing','CollaborationSessionService','mutations','collaboration.single-unit.warning','/object','updateCursorEvent','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[PendingState]:\x20received\x20rejection.','sessionStatus$','ivSize','concatMap','_socketService','verdancy600','getConfig','BufferedBlockAlgorithm','transformIMECache','SetSelectionsOperation','_clearUndo','addObjects','event$','Could\x20not\x20dynamically\x20require\x20\x22','_onCursorUpdate','_getAnchorBounding','getCollabEntity','ImageUploadStatusType','session.will-retry','function','IMessageService','createSocket','_initMergeInterceptor','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','reconnect','8328897dIZdem','_imageIoService','ceil','readInt32LE','updatePermissionPoint','parseProtocolChangeset','/-/object/-/batch_allowed','getCoordByCell','getCollabEntity$','getCurrentUnitForType','_doProcessBlock','@univerjs-pro/collaboration','undoState','_color','revision','CollaborationEntity','createDecryptor','onRemoteChangeset','_tryReconnect','floor','_sendHeartbeatTimer','FileId','_handleJoinEvent','_doCryptBlock','IConfigService','/universer-api/stream/file/upload','LICENSE_DISTRO_REJECTED','loadSheet','session.room-cnt-exceeds','EmptyMutation','getRangePointData','StreamCipher','handleInsertCol','/unit/','column','_transformStateCache','onSyncEditingCollabCursor','div','OTHER_CLIENTS_EDITING','CollaborationStatusDisplay','collaboration-client.config','_transformUndoRedoStack','_disabled','execute','prototype','_iKey','awaiting','LICENSE_IMPORT_SIZE_EXCEEDED','stopTime','_DEC_XFORM_MODE','distinctUntilChanged','UNRECOGNIZED','_saveTaskMap','SHOULD_CLOSE_CONN','toDisposable','closePath','/resources','uploadFileServerUrl','_textBubble','getActiveRange','eventID','url(#off-line-single_clip0_910_343)','UNKNOWN_CODE','onCommentUpdate','getDocRanges','setActiveRange','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','_getSendChangesetTimeout','authzUrl','transformStack\x20failed!','urlChange$','unload','selections','[SyncedState]:\x20received\x20rejection.','_parse','getSkeleton','row','/-/object/list','[CollaborationUndoRedoService]','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_HTTPService','MentionType','CONFLICT','fetchMiss','idSuffix','_createHelper','onTransformSelections','_docTransformSelectionsService','_exhaustRemoteChangesetQueue','serializeRangeWithSheet','getImage','$super','isInternalEditorID','saveSheetBlock','FETCH_MISS','_assignedColors','univer-online-status-title','apply','_localeService','image/gif','telemetry\x20info\x20is\x20not\x20initialized','_getCurrentRevision','handleIRemoveCol','GLOBAL_ROOMS_CNT_EXCEEDS','_replayCachedMutations','LocalUndoRedoService','image/jpeg','concat','InsertSheetMutation','length','height','_decreaseWaiting','black','_roomMembers','MUTATION','AWAITING_WITH_PENDING','fillText','size','setStateCache','getOwnPropertyDescriptor','measureText','PENDING','_executeRemoteChangeset','Encryptor','permission.content','_startTelemetryCollaborationNewChangeset','round','_syncEditingCollabCursor','getSheetBySheetId','failed\x20to\x20apply\x20missed\x20changesets!','InsertColCommandId','beginPath','setAlpha','getUnitStatus$','JOIN','react.element','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','add','icon','@univerjs/ui','ref','HEARTBEAT_INTERVAL_KEY','_collabSessionService','OffLineSingle','includes','/universer-api/snapshot/','evenodd','_mode','MentionIoHttpService','ITransformService','memberID','_unitID','/block/','_collabCursorController','fillStyle','_id','_iv','_replaceFileID','_createSocketURL','collabWebSocketUrl','_shouldReportTelemetry','ticket','IDLE','triggerDblclick','SEND_CHANGESET_TIMEOUT','Plugin','_docSkeleton','offline','_name','gold400','storage','_acknowledgedAwaitingChangeset','session.join-failed','MessageType','AWAITING','close$','unitID','HmacSHA1','{fileID}','collaborators','_clearHeartbeatTimer','_syncEditingCollabCursorService','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','getSheetId','pauseCollaboration','_nRounds','PERMISSION_REJ','SetDocZoomRatioOperation','attrs','_http','resize','encryptBlock','_onLocalMutation','saveChangeset','className','_injector','saveSnapshot','/universer-api/user/session-ticket','duration','subunit','_scheduleTimestamp','_docStateChangeManagerService','_changesetReqId','Warning','_append','downloadEndpointUrl','onlineStatus','now','_removeCollabCursors','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','TEXT_RANGE_LAYER_INDEX','registerHTTPInterceptor','_getUndoStack','registerRefRange','getFocusedUnit','_lockTransition','onTransformChange$','socket\x20close','APPLY_PERMISSION_DENIED','HTTPRequest','getUniverSheetInstance','ColorKit','defaultProps','_imageSourceCache','isActive','DOC_RANGE_TYPE','_updateURLWithCurrentState','_getSessionTicket','USERS_ENTER','UniverNetworkPlugin','capture','crypto','then','DocSkeletonManagerService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','svg','defIds','IURLService','0\x200\x2017\x2016','AUTHZ_URL_KEY','connectInjector','__Key__','SheetPermissionInitController','width','LEAVE','DeleteRangeMoveUpCommandId','setWaitCount','_redoStacks','_listenToOfflineEvent','RegularPolygon'];_0x1367=function(){return _0x46cb5b;};return _0x1367();}var Ds=ys();const Ps=$e(Ds);var ws=ji();const ci=$e(ws);var ze={'exports':{}},Us=ze[_0x519f42(0x495)],li;function Ms(){const _0x597933=_0x519f42;return li||(li=0x1,function(_0x2a4ca9,_0x25778c){(function(_0xeb08a4,_0x515a42){const _0xa5b41c=_0x3f43;_0x2a4ca9[_0xa5b41c(0x495)]=_0x515a42(se());}(Us,function(_0x26296e){const _0x552fc4=_0x3f43;return _0x26296e[_0x552fc4(0x333)][_0x552fc4(0x4a5)];}));}(ze)),ze[_0x597933(0x495)];}var Ns=Ms();const As=$e(Ns);var Xe={'exports':{}},Ls=Xe[_0x519f42(0x495)],hi;function xs(){return hi||(hi=0x1,function(_0x321426,_0x106dca){(function(_0x24324f,_0x1ec2b5){const _0x47f3f4=_0x3f43;_0x321426[_0x47f3f4(0x495)]=_0x1ec2b5(se());}(Ls,function(_0x1bca49){const _0x48a537=_0x3f43;return(function(){const _0x1bb632=_0x3f43;if(typeof ArrayBuffer=='function'){var _0x276e0c=_0x1bca49,_0x9bf0d2=_0x276e0c[_0x1bb632(0x3d6)],_0x24da62=_0x9bf0d2['WordArray'],_0x519c7e=_0x24da62[_0x1bb632(0x1fe)],_0x529424=_0x24da62[_0x1bb632(0x1fe)]=function(_0xe2c9d7){const _0x43c924=_0x1bb632;if(_0xe2c9d7 instanceof ArrayBuffer&&(_0xe2c9d7=new Uint8Array(_0xe2c9d7)),(_0xe2c9d7 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xe2c9d7 instanceof Uint8ClampedArray||_0xe2c9d7 instanceof Int16Array||_0xe2c9d7 instanceof Uint16Array||_0xe2c9d7 instanceof Int32Array||_0xe2c9d7 instanceof Uint32Array||_0xe2c9d7 instanceof Float32Array||_0xe2c9d7 instanceof Float64Array)&&(_0xe2c9d7=new Uint8Array(_0xe2c9d7[_0x43c924(0x314)],_0xe2c9d7['byteOffset'],_0xe2c9d7[_0x43c924(0x37a)])),_0xe2c9d7 instanceof Uint8Array){for(var _0x316655=_0xe2c9d7[_0x43c924(0x37a)],_0x3f61cb=[],_0x46d6e2=0x0;_0x46d6e2<_0x316655;_0x46d6e2++)_0x3f61cb[_0x46d6e2>>>0x2]|=_0xe2c9d7[_0x46d6e2]<<0x18-_0x46d6e2%0x4*0x8;_0x519c7e[_0x43c924(0x3bb)](this,_0x3f61cb,_0x316655);}else _0x519c7e[_0x43c924(0x52e)](this,arguments);};_0x529424[_0x1bb632(0x4f9)]=_0x24da62;}}()),_0x1bca49[_0x48a537(0x3d6)]['WordArray'];}));}(Xe)),Xe['exports'];}var $s=xs();const js=$e($s);var Je={'exports':{}},Hs=Je[_0x519f42(0x495)],_i;function Bs(){return _i||(_i=0x1,function(_0x292d49,_0x3f0423){(function(_0x425630,_0x597b42,_0x30ea4f){const _0xac657a=_0x3f43;_0x292d49[_0xac657a(0x495)]=_0x597b42(se(),Bi());}(Hs,function(_0x43ae90){const _0x18217b=_0x3f43;return _0x43ae90[_0x18217b(0x49e)][_0x18217b(0x30c)]={'pad':function(){},'unpad':function(){}},_0x43ae90[_0x18217b(0x49e)][_0x18217b(0x30c)];}));}(Je)),Je['exports'];}var ks=Bs();const Ws=$e(ks);function Fs(_0x176a05,_0x5d8766){const _0xfb3af6=_0x519f42,_0x3ee856=_0x5d8766-_0x176a05[_0xfb3af6(0x53a)]%_0x5d8766,_0x58a590=String['fromCharCode'](_0x3ee856)[_0xfb3af6(0x3dc)](_0x3ee856);return _0x176a05+_0x58a590;}function Vs(_0xbbea39,_0x25d8a9){const _0xb151b1=_0x519f42,_0xcebc1f=js['random'](0x10),_0xe3e34=Fs(_0xbbea39,0x10),_0x221887=Ps[_0xb151b1(0x2e3)](As[_0xb151b1(0x2f6)](_0xe3e34),ci[_0xb151b1(0x2f6)](_0x25d8a9),{'iv':_0xcebc1f,'padding':Ws});return _0xcebc1f['concat'](_0x221887[_0xb151b1(0x427)])[_0xb151b1(0x1a0)](ci);}function Gs(){const _0xe38dcf=_0x519f42,_0x3db0bd=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0xe38dcf(0x5be)];if(_0x3db0bd){const _0x401e8d={'time':Math['floor'](Date[_0xe38dcf(0x59c)]()/0x3e8),'domain':location['hostname']};return Vs(JSON[_0xe38dcf(0x648)](_0x401e8d),_0x3db0bd);}}var Ys=Object[_0x519f42(0x360)],qs=Object['getOwnPropertyDescriptor'],Ks=(_0x3e6494,_0x284904,_0x7c4532,_0x167f5c)=>{const _0x2d20be=_0x519f42;for(var _0x24e376=_0x167f5c>0x1?void 0x0:_0x167f5c?qs(_0x284904,_0x7c4532):_0x284904,_0x5dd930=_0x3e6494[_0x2d20be(0x53a)]-0x1,_0x1d6a2b;_0x5dd930>=0x0;_0x5dd930--)(_0x1d6a2b=_0x3e6494[_0x5dd930])&&(_0x24e376=(_0x167f5c?_0x1d6a2b(_0x284904,_0x7c4532,_0x24e376):_0x1d6a2b(_0x24e376))||_0x24e376);return _0x167f5c&&_0x24e376&&Ys(_0x284904,_0x7c4532,_0x24e376),_0x24e376;},zs=(_0x5894a5,_0x5c7f7e)=>(_0x5e56b9,_0x3fc467)=>_0x5c7f7e(_0x5e56b9,_0x3fc467,_0x5894a5);let st=class{constructor(_0x107fb6){const _0x350051=_0x519f42;this[_0x350051(0x2a1)]=_0x107fb6,this[_0x350051(0x208)]();}[_0x519f42(0x208)](){const _0x127e46=_0x519f42;this[_0x127e46(0x2a1)][_0x127e46(0x5a0)]({'interceptor':(_0x44dc10,_0x359a22)=>{const _0x588d7e=_0x127e46,_0x3cd962=_0x44dc10['headers'],_0x3a32ba=Gs();return _0x3a32ba&&_0x3cd962[_0x588d7e(0x3e1)](_0x588d7e(0x2e7),_0x3a32ba),_0x359a22(_0x44dc10);}});}};st=Ks([zs(0x0,a[_0x519f42(0x3b4)](z[_0x519f42(0x623)]))],st);var Xs=Object[_0x519f42(0x360)],Js=Object[_0x519f42(0x544)],Zs=(_0x3f197c,_0x3d6e60,_0x44ddda,_0x31d8e1)=>{const _0x1f4de4=_0x519f42;for(var _0x2661b2=_0x31d8e1>0x1?void 0x0:_0x31d8e1?Js(_0x3d6e60,_0x44ddda):_0x3d6e60,_0x2ccc67=_0x3f197c[_0x1f4de4(0x53a)]-0x1,_0x36547b;_0x2ccc67>=0x0;_0x2ccc67--)(_0x36547b=_0x3f197c[_0x2ccc67])&&(_0x2661b2=(_0x31d8e1?_0x36547b(_0x3d6e60,_0x44ddda,_0x2661b2):_0x36547b(_0x2661b2))||_0x2661b2);return _0x31d8e1&&_0x2661b2&&Xs(_0x3d6e60,_0x44ddda,_0x2661b2),_0x2661b2;},Et=(_0x2f2556,_0x249973)=>(_0xcdc095,_0x235adb)=>_0x249973(_0xcdc095,_0x235adb,_0x2f2556);const Qs=[_0x519f42(0x200),_0x519f42(0x537),'image/jpg',_0x519f42(0x530),_0x519f42(0x412)],eo=0x5*0x400*0x400,to=_0x519f42(0x329),io=_0x519f42(0x4e6),no=_0x519f42(0x308),ro=_0x519f42(0x21f);exports[_0x519f42(0x498)]=class{constructor(_0x11a735,_0x2421e6,_0x1ee473){const _0x200aa6=_0x519f42;I(this,_0x200aa6(0x37e),0x0),I(this,_0x200aa6(0x38c),new N[(_0x200aa6(0x3ec))]()),I(this,_0x200aa6(0x432),this[_0x200aa6(0x38c)]),I(this,_0x200aa6(0x5ac),new Map()),(this[_0x200aa6(0x2a1)]=_0x11a735,this[_0x200aa6(0x193)]=_0x2421e6,this[_0x200aa6(0x403)]=_0x1ee473);}[_0x519f42(0x5c3)](_0x403567){const _0x58cfed=_0x519f42;this[_0x58cfed(0x37e)]=_0x403567,this['_change$'][_0x58cfed(0x213)](_0x403567);}[_0x519f42(0x2d0)](_0x490f80,_0xf26304){const _0x356f09=_0x519f42;if(_0xf26304===te[_0x356f09(0x342)]['BASE64']){const _0xd0546a=new Image();return _0xd0546a[_0x356f09(0x5ed)]=_0x490f80,_0xd0546a;}return this[_0x356f09(0x5ac)]['get'](_0x490f80);}[_0x519f42(0x185)](_0x2468af,_0x41aa2d,_0x3f4e54){const _0x165f4a=_0x519f42;_0x41aa2d===te[_0x165f4a(0x342)]['BASE64']||_0x3f4e54==null||this['_imageSourceCache'][_0x165f4a(0x3e1)](_0x2468af,_0x3f4e54);}async[_0x519f42(0x527)](_0x58208c){const _0x2d0b83=_0x519f42;try{const _0x1df42b=this[_0x2d0b83(0x56a)](this['_getSignURL'](),''+_0x58208c),_0xc375e4=(await this['_httpService'][_0x2d0b83(0x4a6)](_0x1df42b))[_0x2d0b83(0x32d)];if(_0xc375e4[_0x2d0b83(0x1d8)]&&_0xc375e4[_0x2d0b83(0x1d8)][_0x2d0b83(0x615)]===bi['OK']){const _0x6f8ab1=new URL(_0xc375e4[_0x2d0b83(0x188)],this[_0x2d0b83(0x618)]())[_0x2d0b83(0x1a0)]();return Promise[_0x2d0b83(0x2c1)](_0x6f8ab1);}return Promise[_0x2d0b83(0x28d)](_0xc375e4[_0x2d0b83(0x1d8)]);}catch(_0x431ac5){return Promise[_0x2d0b83(0x28d)](_0x431ac5);}}async['saveImage'](_0x54c24e){const _0xd9b685=_0x519f42;let _0x43dd36='';if(!Qs[_0xd9b685(0x55d)](_0x54c24e[_0xd9b685(0x1d1)]))return this[_0xd9b685(0x53c)](),Promise[_0xd9b685(0x28d)](new Error(te[_0xd9b685(0x4c5)][_0xd9b685(0x41a)]));if(_0x54c24e['size']>eo)return this[_0xd9b685(0x53c)](),Promise[_0xd9b685(0x28d)](new Error(te[_0xd9b685(0x4c5)][_0xd9b685(0x47a)]));try{const _0x57fee4=new FormData();_0x57fee4[_0xd9b685(0x196)](_0xd9b685(0x198),_0x54c24e);const _0x5ee945=this[_0xd9b685(0x403)][_0xd9b685(0x5a3)](),_0xb06313=_0x5ee945==null?void 0x0:_0x5ee945[_0xd9b685(0x238)]();if(!_0xb06313)throw new Error(_0xd9b685(0x319));const _0xc6bb9e=this[_0xd9b685(0x616)]()+'?size='+_0x54c24e['size'][_0xd9b685(0x1a0)]()+_0xd9b685(0x274)+Ti['UnitEmbedded']+_0xd9b685(0x5cc)+encodeURIComponent(_0xb06313),_0x4941cf=await(await fetch(_0xc6bb9e,{'method':_0xd9b685(0x18b),'body':_0x57fee4}))[_0xd9b685(0x40d)]();if(typeof _0x4941cf[_0xd9b685(0x4e2)]!=_0xd9b685(0x32b))return this['_decreaseWaiting'](),Promise[_0xd9b685(0x28d)](new Error(te[_0xd9b685(0x4c5)][_0xd9b685(0x40c)]));_0x43dd36=_0x4941cf['FileId'];}catch{return this[_0xd9b685(0x53c)](),Promise[_0xd9b685(0x28d)](new Error(te[_0xd9b685(0x4c5)]['ERROR_IMAGE']));}return new Promise((_0x194aaa,_0x3d2073)=>{const _0x32cf2b=_0xd9b685,_0x322b9c=new FileReader();_0x322b9c[_0x32cf2b(0x33d)](_0x54c24e),_0x322b9c[_0x32cf2b(0x363)]=_0x2991db=>{const _0xc70872=_0x32cf2b;var _0x190b7f;const _0x3b6616=(_0x190b7f=_0x2991db['target'])==null?void 0x0:_0x190b7f[_0xc70872(0x5f0)];if(_0x3b6616==null){this[_0xc70872(0x53c)](),_0x3d2073(new Error(te[_0xc70872(0x4c5)][_0xc70872(0x40c)]));return;}const _0x1689a9=a[_0xc70872(0x2c8)]['generateRandomId'](0x6);_0x194aaa({'imageId':_0x1689a9,'imageSourceType':te[_0xc70872(0x342)][_0xc70872(0x3dd)],'source':_0x43dd36,'base64Cache':_0x3b6616,'status':te[_0xc70872(0x4c5)]['SUCCUSS']}),this[_0xc70872(0x53c)]();};});}[_0x519f42(0x616)](){const _0x45c663=_0x519f42;var _0x38a9f8,_0x3f9401;const _0x5ed00f=this[_0x45c663(0x193)]['getConfig'](to),_0x83fbaa=this[_0x45c663(0x193)][_0x45c663(0x4ba)](Z);return(_0x3f9401=(_0x38a9f8=_0x83fbaa==null?void 0x0:_0x83fbaa[_0x45c663(0x506)])!=null?_0x38a9f8:_0x5ed00f)!=null?_0x3f9401:io;}[_0x519f42(0x34e)](){const _0x36fd4b=_0x519f42;var _0xe6df39,_0x47327b;const _0x1207ec=this['_configService'][_0x36fd4b(0x4ba)](no),_0x37fc18=this[_0x36fd4b(0x193)]['getConfig'](Z);return(_0x47327b=(_0xe6df39=_0x37fc18==null?void 0x0:_0x37fc18['signUrlServerUrl'])!=null?_0xe6df39:_0x1207ec)!=null?_0x47327b:ro;}['_getDownloadEndpointURL'](){const _0x44ec60=_0x519f42;var _0x2ee6b8;const _0x1aef3e=this['_configService']['getConfig'](Z);return(_0x2ee6b8=_0x1aef3e==null?void 0x0:_0x1aef3e[_0x44ec60(0x59a)])!=null?_0x2ee6b8:location[_0x44ec60(0x34f)];}[_0x519f42(0x56a)](_0x48cfde,_0x10475a){const _0x1cc47d=_0x519f42;return _0x48cfde[_0x1cc47d(0x2e5)](_0x1cc47d(0x57f),_0x10475a);}[_0x519f42(0x53c)](){const _0x4dcc96=_0x519f42;this[_0x4dcc96(0x37e)]-=0x1,this[_0x4dcc96(0x38c)][_0x4dcc96(0x213)](this[_0x4dcc96(0x37e)]);}},exports['CollabrationImageIoService']=Zs([Et(0x0,a[_0x519f42(0x3b4)](z[_0x519f42(0x623)])),Et(0x1,a[_0x519f42(0x4e5)]),Et(0x2,a[_0x519f42(0x3b4)](a['IUniverInstanceService']))],exports[_0x519f42(0x498)]);var so=Object[_0x519f42(0x360)],oo=Object['getOwnPropertyDescriptor'],ao=(_0x54f701,_0x3ff512,_0x50aea9,_0x455d53)=>{const _0x4119fc=_0x519f42;for(var _0x24bb66=_0x455d53>0x1?void 0x0:_0x455d53?oo(_0x3ff512,_0x50aea9):_0x3ff512,_0x587fbd=_0x54f701[_0x4119fc(0x53a)]-0x1,_0xdba5ee;_0x587fbd>=0x0;_0x587fbd--)(_0xdba5ee=_0x54f701[_0x587fbd])&&(_0x24bb66=(_0x455d53?_0xdba5ee(_0x3ff512,_0x50aea9,_0x24bb66):_0xdba5ee(_0x24bb66))||_0x24bb66);return _0x455d53&&_0x24bb66&&so(_0x3ff512,_0x50aea9,_0x24bb66),_0x24bb66;},ui=(_0x387923,_0x249a00)=>(_0x141455,_0x5d2245)=>_0x249a00(_0x141455,_0x5d2245,_0x387923);function _0x3f43(_0x416233,_0x76d056){const _0x13672b=_0x1367();return _0x3f43=function(_0x3f4315,_0x5cdd34){_0x3f4315=_0x3f4315-0x175;let _0x284b89=_0x13672b[_0x3f4315];return _0x284b89;},_0x3f43(_0x416233,_0x76d056);}const co=_0x519f42(0x343);exports['MentionIoHttpService']=class{constructor(_0x5a3c64,_0x15e4f3){const _0x2d5fce=_0x519f42;this[_0x2d5fce(0x193)]=_0x5a3c64,this[_0x2d5fce(0x51d)]=_0x15e4f3;}[_0x519f42(0x394)](){const _0x4f6431=_0x519f42;var _0x26a63b,_0x2b4863;const _0x255dc6=this[_0x4f6431(0x193)][_0x4f6431(0x4ba)](xt),_0x56c1e5=this[_0x4f6431(0x193)][_0x4f6431(0x4ba)](Z);return(_0x2b4863=(_0x26a63b=_0x56c1e5==null?void 0x0:_0x56c1e5['authzUrl'])!=null?_0x26a63b:_0x255dc6)!=null?_0x2b4863:co;}async[_0x519f42(0x2af)](_0x1905d1){const _0x53f48c=_0x519f42,_0x3d4df2=this[_0x53f48c(0x394)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this['_HTTPService']['get'](_0x3d4df2,{'params':{'objectID':_0x1905d1[_0x53f48c(0x235)],'unitID':_0x1905d1['unitId']}}))[_0x53f48c(0x32d)][_0x53f48c(0x580)][_0x53f48c(0x444)](_0x402d52=>({'objectId':_0x402d52['id'],'name':_0x402d52[_0x53f48c(0x43b)][_0x53f48c(0x3b2)],'metadata':{'icon':_0x402d52['subject'][_0x53f48c(0x1b4)]},'label':_0x402d52[_0x53f48c(0x43b)][_0x53f48c(0x3b2)],'objectType':a[_0x53f48c(0x51e)][_0x53f48c(0x497)]})),'metadata':{},'type':a[_0x53f48c(0x51e)]['PERSON']}]};}},exports[_0x519f42(0x561)]=ao([ui(0x0,a['Inject'](a[_0x519f42(0x4e5)])),ui(0x1,a[_0x519f42(0x3b4)](z['HTTPService']))],exports[_0x519f42(0x561)]);var lo=Object['defineProperty'],ho=Object[_0x519f42(0x544)],_o=(_0x500acb,_0x343942,_0x2f7a3b,_0x237b16)=>{const _0x12ffad=_0x519f42;for(var _0x279fd7=_0x237b16>0x1?void 0x0:_0x237b16?ho(_0x343942,_0x2f7a3b):_0x343942,_0x14c42d=_0x500acb[_0x12ffad(0x53a)]-0x1,_0x251668;_0x14c42d>=0x0;_0x14c42d--)(_0x251668=_0x500acb[_0x14c42d])&&(_0x279fd7=(_0x237b16?_0x251668(_0x343942,_0x2f7a3b,_0x279fd7):_0x251668(_0x279fd7))||_0x279fd7);return _0x237b16&&_0x279fd7&&lo(_0x343942,_0x2f7a3b,_0x279fd7),_0x279fd7;},Ne=(_0x2efc52,_0x1d8fde)=>(_0x387500,_0xa5a647)=>_0x1d8fde(_0x387500,_0xa5a647,_0x2efc52);let ot=class extends a[_0x519f42(0x275)]{constructor(_0xde4376,_0xad7d6d,_0x4a4e0c,_0x2b5c52,_0x4d6de5){const _0x2629bc=_0x519f42;super(),this[_0x2629bc(0x590)]=_0xde4376,this['_univerInstanceService']=_0xad7d6d,this['_permissionService']=_0x4a4e0c,this[_0x2629bc(0x5ea)]=_0x2b5c52,this[_0x2629bc(0x52f)]=_0x4d6de5,this[_0x2629bc(0x39b)](),this[_0x2629bc(0x37f)]();}[_0x519f42(0x37f)](){const _0x56d978=_0x519f42,_0x34bbde=async _0x2ffe98=>{const _0x324625=_0x3f43;(await this[_0x324625(0x5ea)][_0x324625(0x295)](_0x2ffe98))[_0x324625(0x4c0)][_0x324625(0x641)](V[_0x324625(0x1ae)](_0x252067=>_0x252067[_0x324625(0x509)]===m[_0x324625(0x3bc)][_0x324625(0x502)]),V[_0x324625(0x1e9)](this[_0x324625(0x191)]))[_0x324625(0x1db)](_0x3dc950=>{const _0x934589=_0x324625,_0x1fd29f=_0x3dc950,{reason:_0x4da1c3}=_0x1fd29f[_0x934589(0x2f1)];this[_0x934589(0x590)][_0x934589(0x4a6)](ee[_0x934589(0x4c8)])[_0x934589(0x1e6)]({'type':Ce[_0x934589(0x57a)][_0x934589(0x45a)],'content':this[_0x934589(0x52f)]['t'](_0x934589(0x284))+'('+_0x4da1c3+')'}),this[_0x934589(0x409)][_0x934589(0x4d1)](new k[(_0x934589(0x26e))](_0x2ffe98)['id'],!0x1),this['_collaborationSessionService'][_0x934589(0x2e6)](_0x2ffe98);});};N[_0x56d978(0x3b8)](this['_univerInstanceService'][_0x56d978(0x253)](a[_0x56d978(0x475)][_0x56d978(0x248)]),this[_0x56d978(0x403)]['getTypeOfUnitAdded$'](a[_0x56d978(0x475)][_0x56d978(0x249)]))[_0x56d978(0x641)](V['map'](_0x55417c=>_0x55417c['getUnitId']()),V['filter'](_0x323183=>!a[_0x56d978(0x529)](_0x323183)),V[_0x56d978(0x1e9)](this[_0x56d978(0x191)]))['subscribe'](_0x52ef94=>{_0x34bbde(_0x52ef94);});}['_initUnitPermissionChange'](){const _0x452c41=_0x519f42,_0x3b9024=async _0x209756=>{const _0x5098f7=_0x3f43;(await this[_0x5098f7(0x5ea)][_0x5098f7(0x295)](_0x209756))[_0x5098f7(0x4c0)][_0x5098f7(0x641)](V[_0x5098f7(0x1ae)](_0x17254f=>_0x17254f[_0x5098f7(0x509)]===m['CollaborationEvent'][_0x5098f7(0x605)]),V['takeUntil'](this[_0x5098f7(0x191)]))[_0x5098f7(0x1db)](_0x6d9c52=>{const _0x4ddf37=_0x5098f7,_0x2f19ff=_0x6d9c52,{objectId:_0x27e1a9}=_0x2f19ff['data'],_0x2c2915=this['_injector'][_0x4ddf37(0x4a6)](Le[_0x4ddf37(0x5bf)]);_0x27e1a9===_0x209756?_0x2c2915[_0x4ddf37(0x490)](_0x209756):_0x2c2915[_0x4ddf37(0x1df)](_0x209756,_0x27e1a9);});};N[_0x452c41(0x3b8)](this[_0x452c41(0x403)][_0x452c41(0x253)](a['UniverInstanceType']['UNIVER_SHEET']),this[_0x452c41(0x403)][_0x452c41(0x253)](a['UniverInstanceType'][_0x452c41(0x249)]))[_0x452c41(0x641)](V['map'](_0x263cd6=>_0x263cd6['getUnitId']()),V['filter'](_0x39b2ae=>!a[_0x452c41(0x529)](_0x39b2ae)),V[_0x452c41(0x1e9)](this[_0x452c41(0x191)]))[_0x452c41(0x1db)](_0x1e6f5e=>{_0x3b9024(_0x1e6f5e);});}};ot=_o([Ne(0x0,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),Ne(0x1,a[_0x519f42(0x4aa)]),Ne(0x2,a[_0x519f42(0x3ed)]),Ne(0x3,a['Inject'](exports[_0x519f42(0x4ae)])),Ne(0x4,a[_0x519f42(0x3b4)](a[_0x519f42(0x609)]))],ot);var uo=Object[_0x519f42(0x360)],fo=Object['getOwnPropertyDescriptor'],vo=(_0x3efe29,_0xc27bd,_0x446e75,_0x1a9209)=>{const _0x1499ee=_0x519f42;for(var _0x4558ef=_0x1a9209>0x1?void 0x0:_0x1a9209?fo(_0xc27bd,_0x446e75):_0xc27bd,_0x39cda4=_0x3efe29[_0x1499ee(0x53a)]-0x1,_0x4a92dc;_0x39cda4>=0x0;_0x39cda4--)(_0x4a92dc=_0x3efe29[_0x39cda4])&&(_0x4558ef=(_0x1a9209?_0x4a92dc(_0xc27bd,_0x446e75,_0x4558ef):_0x4a92dc(_0x4558ef))||_0x4558ef);return _0x1a9209&&_0x4558ef&&uo(_0xc27bd,_0x446e75,_0x4558ef),_0x4558ef;},di=(_0x5e863f,_0xfaafa7)=>(_0x313451,_0x3453a1)=>_0xfaafa7(_0x313451,_0x3453a1,_0x5e863f);exports[_0x519f42(0x49b)]=class{constructor(_0x5b74d9,_0x5469be){const _0x5cdf1d=_0x519f42;this[_0x5cdf1d(0x193)]=_0x5b74d9,this[_0x5cdf1d(0x2a1)]=_0x5469be;}async[_0x519f42(0x2a3)](_0x4e954b,_0x4f22ee){const _0x4c14d0=_0x519f42;var _0x1708e5;const {unitID:_0x2da39d,type:_0x52654a,revision:_0x4d3c54=0x0}=_0x4f22ee,_0x1d1d0b=this[_0x4c14d0(0x39c)]()+'/'+_0x52654a+_0x4c14d0(0x4ee)+_0x2da39d+_0x4c14d0(0x348)+_0x4d3c54,_0x36c5ca=(await this[_0x4c14d0(0x2a1)][_0x4c14d0(0x4a6)](_0x1d1d0b))[_0x4c14d0(0x32d)],_0x30607c=(_0x1708e5=_0x36c5ca[_0x4c14d0(0x3e0)])==null?void 0x0:_0x1708e5['workbook'];if(_0x30607c){const _0x3ab74b=_0x30607c==null?void 0x0:_0x30607c[_0x4c14d0(0x487)],_0x14eb92=m[_0x4c14d0(0x639)][_0x4c14d0(0x1ec)](m[_0x4c14d0(0x17c)](_0x3ab74b));_0x30607c[_0x4c14d0(0x487)]=_0x14eb92,Object[_0x4c14d0(0x36d)](_0x30607c['sheets'])['forEach'](([,_0x47f824])=>{const _0x2e2c1d=_0x4c14d0,_0x3b2493=_0x47f824['originalMeta'],_0x2f8b58=m['textEncoder']['encode'](m[_0x2e2c1d(0x17c)](_0x3b2493));_0x47f824['originalMeta']=_0x2f8b58;});}return _0x36c5ca;}async[_0x519f42(0x437)](_0x1df13a,_0x2bf9e2){const _0x28271c=_0x519f42,{unitID:_0x433f7b,type:_0x34680e,blockID:_0x4caa99}=_0x2bf9e2,_0xa28a98=this['_getAPIPrefix']()+'/'+_0x34680e+_0x28271c(0x4ee)+_0x433f7b+_0x28271c(0x565)+_0x4caa99;return(await this[_0x28271c(0x2a1)][_0x28271c(0x4a6)](_0xa28a98))[_0x28271c(0x32d)];}async['getDeserializedSheetBlock'](_0x3f6905,_0x3a4382){const _0x555f05=_0x519f42,{unitID:_0x1d14a8,type:_0x54a530,blockID:_0x2e21ad}=_0x3a4382,_0x5e7c11=this['_getAPIPrefix']()+_0x555f05(0x565)+_0x54a530+'/unit/'+_0x1d14a8+_0x555f05(0x565)+_0x2e21ad;return(await this[_0x555f05(0x2a1)][_0x555f05(0x4a6)](_0x5e7c11))[_0x555f05(0x32d)];}async[_0x519f42(0x2bd)](_0x5d73bb,_0x9ec84e){const _0xf2aedd=_0x519f42,{unitID:_0x51c34a,type:_0x5c0949,from:_0x4d2005,to:_0x5976cf}=_0x9ec84e,_0x183ac3=this[_0xf2aedd(0x457)]()+'/'+_0x5c0949+_0xf2aedd(0x4ee)+_0x51c34a+_0xf2aedd(0x5e4)+_0x4d2005+_0xf2aedd(0x469)+_0x5976cf;return(await this[_0xf2aedd(0x2a1)][_0xf2aedd(0x4a6)](_0x183ac3))[_0xf2aedd(0x32d)];}['getSnapshotAPIPath'](){const _0x2eeb63=_0x519f42;var _0x2efa7a;return(_0x2efa7a=this['_configService'][_0x2eeb63(0x4ba)](vi))!=null?_0x2efa7a:this[_0x2eeb63(0x457)]();}['_getAPIPrefix'](){const _0x23ab35=_0x519f42;var _0x2f464f,_0x227bfe;const _0x52e6fe=this[_0x23ab35(0x193)][_0x23ab35(0x4ba)](fi),_0x408dee=this[_0x23ab35(0x193)]['getConfig'](Z);return(_0x227bfe=(_0x2f464f=_0x408dee==null?void 0x0:_0x408dee['snapshotServerUrl'])!=null?_0x2f464f:_0x52e6fe)!=null?_0x227bfe:qi;}async[_0x519f42(0x5c7)](_0x83ee6c,_0x25b2e1){const _0x51bf4c=_0x519f42,_0x33b08e=_0x51bf4c(0x55e)+_0x25b2e1[_0x51bf4c(0x1d1)]+_0x51bf4c(0x4ee)+_0x25b2e1[_0x51bf4c(0x57d)]+_0x51bf4c(0x505);return(await this[_0x51bf4c(0x2a1)][_0x51bf4c(0x4a6)](_0x33b08e,{'params':{'resourceId':JSON['stringify'](_0x25b2e1['resourceIDs'])}}))['body'];}[_0x519f42(0x591)](){const _0x4532f6=_0x519f42;throw new Error(_0x4532f6(0x3b3));}[_0x519f42(0x52a)](){const _0x2c991b=_0x519f42;throw new Error(_0x2c991b(0x3b3));}[_0x519f42(0x58e)](){const _0x5af1ca=_0x519f42;throw new Error(_0x5af1ca(0x3b3));}[_0x519f42(0x3c2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x519f42(0x3f1)](){const _0x24d09e=_0x519f42;throw new Error(_0x24d09e(0x3b3));}},exports[_0x519f42(0x49b)]=vo([di(0x0,a[_0x519f42(0x4e5)]),di(0x1,a[_0x519f42(0x3b4)](z[_0x519f42(0x623)]))],exports[_0x519f42(0x49b)]);var So=Object['defineProperty'],po=Object['getOwnPropertyDescriptor'],mo=(_0x381ac0,_0x11ac63,_0xffc08a,_0x449826)=>{for(var _0x53cb29=_0x449826>0x1?void 0x0:_0x449826?po(_0x11ac63,_0xffc08a):_0x11ac63,_0x522354=_0x381ac0['length']-0x1,_0x57f5b7;_0x522354>=0x0;_0x522354--)(_0x57f5b7=_0x381ac0[_0x522354])&&(_0x53cb29=(_0x449826?_0x57f5b7(_0x11ac63,_0xffc08a,_0x53cb29):_0x57f5b7(_0x53cb29))||_0x53cb29);return _0x449826&&_0x53cb29&&So(_0x11ac63,_0xffc08a,_0x53cb29),_0x53cb29;},Ae=(_0x34d3e1,_0x28ce69)=>(_0x4cf18a,_0x1c87f4)=>_0x28ce69(_0x4cf18a,_0x1c87f4,_0x34d3e1);let yt=class extends a[_0x519f42(0x536)]{constructor(_0x459c31,_0x3fcdc7,_0x6865a5,_0x53053f,_0x5bf9e9){const _0x28de48=_0x519f42;super(_0x459c31,_0x3fcdc7,_0x6865a5),this[_0x28de48(0x2b6)]=_0x53053f,this['_logService']=_0x5bf9e9;}[_0x519f42(0x46b)](_0xc6361d,_0x60625b){const _0x259503=_0x519f42,_0x3d3cdb=this['_getUndoStack'](_0xc6361d);if(_0x3d3cdb)try{const _0x4fe70f=this['_transformStack'](_0x3d3cdb,_0x60625b);this[_0x259503(0x3a5)](_0xc6361d,_0x4fe70f);}catch(_0xa13a3f){this[_0x259503(0x392)][_0x259503(0x1d8)](_0x259503(0x51b),_0xa13a3f),this[_0x259503(0x4be)](_0xc6361d);}const _0x5cb428=this[_0x259503(0x41c)](_0xc6361d);if(_0x5cb428)try{const _0x583a05=this[_0x259503(0x340)](_0x5cb428,_0x60625b);this[_0x259503(0x346)](_0xc6361d,_0x583a05);}catch(_0x5cdfd9){this[_0x259503(0x392)][_0x259503(0x1d8)](_0x5cdfd9),this[_0x259503(0x411)](_0xc6361d);}}['_clearUndo'](_0x5c5726){const _0x4cde32=_0x519f42,_0x14401d=this[_0x4cde32(0x5a1)](_0x5c5726);_0x14401d&&(_0x14401d[_0x4cde32(0x53a)]=0x0,this[_0x4cde32(0x645)]());}[_0x519f42(0x411)](_0x53d4d1){const _0x5adf26=_0x519f42,_0x301f3a=this[_0x5adf26(0x41c)](_0x53d4d1);_0x301f3a&&(_0x301f3a[_0x5adf26(0x53a)]=0x0,this[_0x5adf26(0x645)]());}[_0x519f42(0x3a5)](_0x1d8484,_0x136d81){const _0x589a53=_0x519f42;this['_undoStacks'][_0x589a53(0x3e1)](_0x1d8484,_0x136d81),this[_0x589a53(0x645)]();}['_substituteRedoStack'](_0x17add8,_0x3eb8f4){const _0x427e61=_0x519f42;this[_0x427e61(0x5c4)][_0x427e61(0x3e1)](_0x17add8,_0x3eb8f4),this[_0x427e61(0x645)]();}['_transformStack'](_0x25cc24,_0x305cae){const _0x4e4616=_0x519f42,_0x924f0a=[];let _0x4c3786=_0x305cae,_0x1aec9e=_0x305cae;for(let _0x4bf15b=_0x25cc24[_0x4e4616(0x53a)]-0x1;_0x4bf15b>=0x0;_0x4bf15b--){const {unitID:_0x4aff13,undoMutations:_0x53b524,redoMutations:_0x2bafa9}=_0x25cc24[_0x4bf15b],_0x125fc0=this[_0x4e4616(0x2b6)][_0x4e4616(0x187)](_0x4c3786,_0x53b524),_0x5cb66a=this[_0x4e4616(0x2b6)][_0x4e4616(0x187)](_0x1aec9e,_0x2bafa9);if(m['isTransformMutationsWithChangesetFailure'](_0x125fc0)||m['isTransformMutationsWithChangesetFailure'](_0x5cb66a)){this[_0x4e4616(0x392)][_0x4e4616(0x1d8)]('[CollaborationUndoRedoService]',_0x4e4616(0x512),_0x125fc0,_0x5cb66a);break;}_0x4c3786=_0x125fc0[_0x4e4616(0x3b6)],_0x1aec9e=_0x5cb66a[_0x4e4616(0x3b6)],_0x924f0a[_0x4e4616(0x205)]({'unitID':_0x4aff13,'undoMutations':_0x125fc0[_0x4e4616(0x20d)],'redoMutations':_0x5cb66a[_0x4e4616(0x20d)]});}return _0x924f0a['reverse']();}};yt=mo([Ae(0x0,a['IUniverInstanceService']),Ae(0x1,a['ICommandService']),Ae(0x2,a[_0x519f42(0x63a)]),Ae(0x3,m[_0x519f42(0x562)]),Ae(0x4,a[_0x519f42(0x5eb)])],yt);class ki extends a[_0x519f42(0x275)]{constructor(){const _0x10d01d=_0x519f42;super(),I(this,_0x10d01d(0x513)),this[_0x10d01d(0x513)]=N[_0x10d01d(0x3d0)](window,_0x10d01d(0x3e6))[_0x10d01d(0x641)](N[_0x10d01d(0x1e9)](this['dispose$']),N[_0x10d01d(0x3cb)](0x1),N[_0x10d01d(0x364)](void 0x0));}['setParam'](_0x234937,_0x33918d,_0x463d18=!0x1){const _0x3d9fa0=_0x519f42,_0x2f59c9=new URL(window['location'][_0x3d9fa0(0x1c8)]);_0x2f59c9[_0x3d9fa0(0x197)][_0x3d9fa0(0x3e1)](_0x234937,_0x33918d),_0x463d18?window[_0x3d9fa0(0x378)][_0x3d9fa0(0x606)]('','',_0x2f59c9[_0x3d9fa0(0x1a0)]()):window['history'][_0x3d9fa0(0x4a1)]('','',_0x2f59c9[_0x3d9fa0(0x1a0)]());}[_0x519f42(0x410)](_0x3cbafb,_0x3af625=!0x1){const _0x4af19b=_0x519f42,_0x15ad09=new URL(window[_0x4af19b(0x376)]['href']);_0x15ad09[_0x4af19b(0x197)]['delete'](_0x3cbafb),_0x3af625?window[_0x4af19b(0x378)]['replaceState']('','',_0x15ad09[_0x4af19b(0x1a0)]()):window[_0x4af19b(0x378)][_0x4af19b(0x4a1)]('','',_0x15ad09['toString']());}['getParam'](_0x28e086){const _0x2e5945=_0x519f42;var _0x543c13;return(_0x543c13=new URL(window[_0x2e5945(0x376)]['href'])[_0x2e5945(0x197)][_0x2e5945(0x4a6)](_0x28e086))!=null?_0x543c13:void 0x0;}}var Wi=Object[_0x519f42(0x360)],go=Object[_0x519f42(0x544)],Io=(_0x977741,_0x5a4344,_0xb631c7)=>_0x5a4344 in _0x977741?Wi(_0x977741,_0x5a4344,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb631c7}):_0x977741[_0x5a4344]=_0xb631c7,Co=(_0x33d0b7,_0x43ef96,_0x634455,_0x3670eb)=>{const _0x130a69=_0x519f42;for(var _0x1ab9e7=_0x3670eb>0x1?void 0x0:_0x3670eb?go(_0x43ef96,_0x634455):_0x43ef96,_0x29cf55=_0x33d0b7[_0x130a69(0x53a)]-0x1,_0x1d3711;_0x29cf55>=0x0;_0x29cf55--)(_0x1d3711=_0x33d0b7[_0x29cf55])&&(_0x1ab9e7=(_0x3670eb?_0x1d3711(_0x43ef96,_0x634455,_0x1ab9e7):_0x1d3711(_0x1ab9e7))||_0x1ab9e7);return _0x3670eb&&_0x1ab9e7&&Wi(_0x43ef96,_0x634455,_0x1ab9e7),_0x1ab9e7;},Be=(_0x5d7d0f,_0x272148)=>(_0x3e894c,_0x2a9faa)=>_0x272148(_0x3e894c,_0x2a9faa,_0x5d7d0f),Eo=(_0x409ace,_0x8b3fb3,_0x28fbc8)=>Io(_0x409ace,_0x8b3fb3+'',_0x28fbc8);const bo=_0x519f42(0x46d);exports[_0x519f42(0x30f)]=class extends a[_0x519f42(0x572)]{constructor(_0x17229d=sn,_0x528f1f,_0x5b0862,_0xf5b4e4,_0x2f387c){const _0x266758=_0x519f42;super(),this[_0x266758(0x293)]=_0x17229d,this[_0x266758(0x392)]=_0x528f1f,this[_0x266758(0x42c)]=_0x5b0862,this[_0x266758(0x590)]=_0xf5b4e4,this[_0x266758(0x193)]=_0x2f387c;const {..._0x1c7895}=this[_0x266758(0x293)];this[_0x266758(0x193)][_0x266758(0x1d2)](Z,_0x1c7895);}[_0x519f42(0x29a)](){const _0x50c028=_0x519f42;this[_0x50c028(0x369)](),this[_0x50c028(0x186)]();}['onReady'](){const _0x2d1085=_0x519f42;a[_0x2d1085(0x43f)](this[_0x2d1085(0x590)],[[nt],[it]]);}[_0x519f42(0x2cb)](){this['_registerRenderDependencies']();}[_0x519f42(0x369)](){const _0x52edca=_0x519f42;var _0x43ca0c,_0x4ab757,_0x12c949,_0x239bf9;this[_0x52edca(0x590)]['has'](a[_0x52edca(0x2da)])&&this['_logService'][_0x52edca(0x1d8)]('[UniverCollaborationClientPlugin]',_0x52edca(0x27d));const _0x491abb=[[a[_0x52edca(0x2da)],{'useClass':yt}],[exports[_0x52edca(0x4ae)]],[Nt],[Lt,{'useClass':ki}],[exports[_0x52edca(0x1f6)]],[exports[_0x52edca(0x467)]],[z[_0x52edca(0x2d9)]],[Qe],[tt],[Ze],[et],[Ut],[rt],[st],[wt],[ot],[Pt,{'useClass':(_0x4ab757=(_0x43ca0c=this['_config'])==null?void 0x0:_0x43ca0c[_0x52edca(0x45d)])!=null?_0x4ab757:exports[_0x52edca(0x1cb)]}],[m[_0x52edca(0x433)],{'useClass':exports[_0x52edca(0x49b)]}],[a[_0x52edca(0x23a)],{'useClass':exports['AuthzIoHttpService']}],[te[_0x52edca(0x43a)],{'useClass':exports['CollabrationImageIoService']}],[a[_0x52edca(0x24c)],{'useClass':exports[_0x52edca(0x561)]}],[exports[_0x52edca(0x321)]],[exports['DataLoaderController']],[exports[_0x52edca(0x460)]],[nt],[ye],[it]];(_0x12c949=this['_config'])!=null&&_0x12c949[_0x52edca(0x62a)]&&_0x491abb['push']([at,{'useClass':$n}]),a[_0x52edca(0x625)](this['_injector'],a[_0x52edca(0x63d)](_0x491abb,(_0x239bf9=this[_0x52edca(0x293)])==null?void 0x0:_0x239bf9['override']));}[_0x519f42(0x42f)](){const _0x58c2de=_0x519f42;this[_0x58c2de(0x5db)](this[_0x58c2de(0x42c)]['registerRenderModule'](a[_0x58c2de(0x475)][_0x58c2de(0x249)],[Rt])),this[_0x58c2de(0x5db)](this[_0x58c2de(0x42c)][_0x58c2de(0x620)](a[_0x58c2de(0x475)]['UNIVER_SHEET'],[Ot]));}['_initDependencies'](){const _0x2a5a1f=_0x519f42;var _0x1bbee4,_0x3c201e;this[_0x2a5a1f(0x590)][_0x2a5a1f(0x4a6)](z[_0x2a5a1f(0x623)])[_0x2a5a1f(0x5a0)]({'priority':0x14,'interceptor':z['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x1bbee4=this['_config'])!=null&&_0x1bbee4['enableOfflineEditing']||this[_0x2a5a1f(0x590)][_0x2a5a1f(0x4a6)](exports['LocalCacheService'])[_0x2a5a1f(0x5de)](),(_0x3c201e=this['_config'])!=null&&_0x3c201e[_0x2a5a1f(0x1f9)]&&a[_0x2a5a1f(0x43f)](this[_0x2a5a1f(0x590)],[[rt]]),a[_0x2a5a1f(0x43f)](this['_injector'],[[st],[ye],[exports['DataLoaderController']],[exports[_0x2a5a1f(0x321)]],[exports[_0x2a5a1f(0x460)]],[ot]]);}},Eo(exports[_0x519f42(0x30f)],_0x519f42(0x3e7),bo),exports[_0x519f42(0x30f)]=Co([a['DependentOn'](m[_0x519f42(0x49a)],z[_0x519f42(0x5b2)]),Be(0x1,a['ILogService']),Be(0x2,Y['IRenderManagerService']),Be(0x3,a[_0x519f42(0x3b4)](a[_0x519f42(0x377)])),Be(0x4,a[_0x519f42(0x4e5)])],exports['UniverCollaborationClientPlugin']),exports[_0x519f42(0x5bc)]=xt,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Z,exports[_0x519f42(0x466)]=Ci,exports[_0x519f42(0x5df)]=Si,exports[_0x519f42(0x5e7)]=K,exports[_0x519f42(0x4f4)]=$i,exports[_0x519f42(0x334)]=wt,exports[_0x519f42(0x55a)]=pi,exports[_0x519f42(0x1f7)]=Dt,exports['ICollaborationSocketService']=Pt,exports[_0x519f42(0x5ba)]=Lt,exports[_0x519f42(0x1ac)]=Ii,exports['LOGIN_URL_KEY']=Ei,exports[_0x519f42(0x64b)]=gi,exports[_0x519f42(0x38f)]=Ki,exports[_0x519f42(0x384)]=fi,exports[_0x519f42(0x263)]=vi,exports[_0x519f42(0x3a6)]=ne,exports[_0x519f42(0x26b)]=Mi,exports['WebURLService']=ki,exports[_0x519f42(0x1a2)]=Ri,exports[_0x519f42(0x34d)]=Oi;