@univerjs-pro/collaboration-client 0.5.0-beta.0 → 0.5.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const _0x714a18=_0x420c;(function(_0x20a82e,_0x53e1ab){const _0x45d647=_0x420c,_0x15bd85=_0x20a82e();while(!![]){try{const _0x15efd5=-parseInt(_0x45d647(0x3a8))/0x1+parseInt(_0x45d647(0x481))/0x2*(parseInt(_0x45d647(0x2f7))/0x3)+parseInt(_0x45d647(0x1ff))/0x4*(parseInt(_0x45d647(0x57e))/0x5)+-parseInt(_0x45d647(0x60c))/0x6*(-parseInt(_0x45d647(0x5f8))/0x7)+parseInt(_0x45d647(0x59b))/0x8*(parseInt(_0x45d647(0x1a2))/0x9)+-parseInt(_0x45d647(0x406))/0xa*(parseInt(_0x45d647(0x380))/0xb)+-parseInt(_0x45d647(0x38c))/0xc*(parseInt(_0x45d647(0x256))/0xd);if(_0x15efd5===_0x53e1ab)break;else _0x15bd85['push'](_0x15bd85['shift']());}catch(_0x562302){_0x15bd85['push'](_0x15bd85['shift']());}}}(_0x206a,0x44e6b));var Nn=Object[_0x714a18(0x1d2)],Ln=(_0x4af45e,_0x16f2a3,_0x4f322b)=>_0x16f2a3 in _0x4af45e?Nn(_0x4af45e,_0x16f2a3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f322b}):_0x4af45e[_0x16f2a3]=_0x4f322b,I=(_0x461d0d,_0x400eb4,_0x156c51)=>Ln(_0x461d0d,typeof _0x400eb4!=_0x714a18(0x334)?_0x400eb4+'':_0x400eb4,_0x156c51);Object[_0x714a18(0x1d2)](exports,Symbol['toStringTag'],{'value':_0x714a18(0x4a9)});const a=require(_0x714a18(0x19b)),A=require('rxjs'),V=require('rxjs/operators'),Ie=require(_0x714a18(0x277)),J=require('@univerjs/network'),te=require(_0x714a18(0x336)),p=require(_0x714a18(0x57f)),xn=require(_0x714a18(0x24a)),Z=require('@univerjs/docs-ui'),B=require(_0x714a18(0x187)),K=require('@univerjs/engine-render'),ye=require(_0x714a18(0x335)),ne=require(_0x714a18(0x236)),wt=require(_0x714a18(0x44e)),Re=require(_0x714a18(0x546)),ae=require(_0x714a18(0x59f)),jn=require(_0x714a18(0x3d4)),Xt='SNAPSHOT_SERVER_URL_KEY',$n=_0x714a18(0x229),Jt='SNAPSHOT_URL_KEY',Hn=_0x714a18(0x423),kn=0x7d0,Zt=_0x714a18(0x22e),Bn=_0x714a18(0x632),Wn='/universer-api/user/session-ticket',Qt='HEARTBEAT_INTERVAL',Fn=0x7530,It=_0x714a18(0x38e),en=0x4e20,Vn=0x4e20,tn=_0x714a18(0x4c2),Gn=0x3,nn='LOCAL_CACHE_INTERVAL',Yn=0x3e8,sn=_0x714a18(0x51d),Kn='/universer-api/comb',rn=_0x714a18(0x4ba),qn='/universer-api/oidc/authpage';var on=(_0x3ffa8c=>(_0x3ffa8c[_0x3ffa8c[_0x714a18(0x310)]=0x0]=_0x714a18(0x310),_0x3ffa8c[_0x3ffa8c['OK']=0x1]='OK',_0x3ffa8c[_0x3ffa8c[_0x714a18(0x300)]=0x2]=_0x714a18(0x300),_0x3ffa8c[_0x3ffa8c['PERMISSION_DENIED']=0x3]=_0x714a18(0x309),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x61d)]=0x4]=_0x714a18(0x61d),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x620)]=0x5]='UNAUTHENTICATED',_0x3ffa8c[_0x3ffa8c['ALREADY_EXISTS']=0x6]=_0x714a18(0x411),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x49d)]=0x7]=_0x714a18(0x49d),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x35d)]=0x8]=_0x714a18(0x35d),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x1c1)]=0x9]=_0x714a18(0x1c1),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x2b9)]=0x1389]=_0x714a18(0x2b9),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x3b3)]=0x1771]=_0x714a18(0x3b3),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x443)]=0x1772]=_0x714a18(0x443),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x364)]=0x1773]=_0x714a18(0x364),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x4ee)]=0x1b59]=_0x714a18(0x4ee),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x259)]=0x1b5a]=_0x714a18(0x259),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x583)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3ffa8c[_0x3ffa8c[_0x714a18(0x1f0)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3ffa8c[_0x3ffa8c[_0x714a18(0x185)]=0x1b5d]=_0x714a18(0x185),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x1ed)]=0x1f41]=_0x714a18(0x1ed),_0x3ffa8c[_0x3ffa8c['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3ffa8c[_0x3ffa8c['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x714a18(0x522),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x402)]=0x232b]=_0x714a18(0x402),_0x3ffa8c[_0x3ffa8c[_0x714a18(0x25f)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3ffa8c[_0x3ffa8c['LICENSE_DISTRO_REJECTED']=0x232d]=_0x714a18(0x5f6),_0x3ffa8c[_0x3ffa8c['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3ffa8c[_0x3ffa8c[_0x714a18(0x5ae)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3ffa8c[_0x3ffa8c[_0x714a18(0x5cf)]=0x2713]=_0x714a18(0x5cf),_0x3ffa8c[_0x3ffa8c['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3ffa8c[_0x3ffa8c[_0x714a18(0x5c2)]=-0x1]='UNRECOGNIZED',_0x3ffa8c))(on||{}),ie=(_0x1cf3c6=>(_0x1cf3c6[_0x1cf3c6['UNIVER_UNKNOWN']=0x0]=_0x714a18(0x2b1),_0x1cf3c6[_0x1cf3c6[_0x714a18(0x5ff)]=0x1]=_0x714a18(0x5ff),_0x1cf3c6[_0x1cf3c6['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x1cf3c6[_0x1cf3c6[_0x714a18(0x3c4)]=0x3]=_0x714a18(0x3c4),_0x1cf3c6[_0x1cf3c6['UNIVER_PROJECT']=0x4]=_0x714a18(0x63d),_0x1cf3c6[_0x1cf3c6['UNRECOGNIZED']=-0x1]=_0x714a18(0x5c2),_0x1cf3c6))(ie||{}),G=(_0x361177=>(_0x361177[_0x361177[_0x714a18(0x60b)]=0x0]=_0x714a18(0x60b),_0x361177[_0x361177[_0x714a18(0x23b)]=0x1]='HELLO',_0x361177[_0x361177[_0x714a18(0x327)]=0x2]=_0x714a18(0x327),_0x361177[_0x361177['LEAVE']=0x3]=_0x714a18(0x466),_0x361177[_0x361177[_0x714a18(0x37b)]=0x4]='INGEST',_0x361177[_0x361177[_0x714a18(0x2c9)]=0x5]=_0x714a18(0x2c9),_0x361177[_0x361177['RECV']=0x6]=_0x714a18(0x293),_0x361177[_0x361177[_0x714a18(0x5c2)]=-0x1]=_0x714a18(0x5c2),_0x361177))(G||{}),Ct=(_0x2399f1=>(_0x2399f1[_0x2399f1[_0x714a18(0x3db)]=0x0]=_0x714a18(0x3db),_0x2399f1[_0x2399f1['OK']=0x1]='OK',_0x2399f1[_0x2399f1[_0x714a18(0x4b9)]=0x2]=_0x714a18(0x4b9),_0x2399f1[_0x2399f1[_0x714a18(0x354)]=0x3e9]=_0x714a18(0x354),_0x2399f1[_0x2399f1[_0x714a18(0x33f)]=0x3ea]=_0x714a18(0x33f),_0x2399f1[_0x2399f1['UNRECOGNIZED']=-0x1]=_0x714a18(0x5c2),_0x2399f1))(Ct||{}),an=(_0x5c5190=>(_0x5c5190[_0x5c5190['Undefined']=0x0]=_0x714a18(0x5f7),_0x5c5190[_0x5c5190['HttpImport']=0x1]='HttpImport',_0x5c5190[_0x5c5190[_0x714a18(0x325)]=0x2]='HttpExport',_0x5c5190[_0x5c5190['UnitEmbedded']=0x3]=_0x714a18(0x509),_0x5c5190[_0x5c5190[_0x714a18(0x5fd)]=0x4]=_0x714a18(0x5fd),_0x5c5190[_0x5c5190['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x5c5190))(an||{});const ee=_0x714a18(0x62b),zn={};function cn(_0x295f9d){const _0x34ea7b=_0x714a18;var _0x52e19c,_0x3c2ef8,_0x13eb2b,_0x39115c,_0x12d53f;const _0x3ed680=_0x295f9d[_0x34ea7b(0x539)],_0x343832=JSON[_0x34ea7b(0x55a)](_0x3ed680);switch(_0x343832[_0x34ea7b(0x425)]){case G['HEARTBEAT']:case G['HELLO']:{const _0x571af3=_0x343832['infoRsp'];return{..._0x343832,'data':_0x571af3,'cmd':_0x343832[_0x34ea7b(0x425)]};}case G[_0x34ea7b(0x327)]:{const _0x1863c3=_0x343832[_0x34ea7b(0x5da)];return{..._0x343832,'data':_0x1863c3,'cmd':_0x343832['cmd']};}case G[_0x34ea7b(0x293)]:{const _0x36ae15=_0x343832[_0x34ea7b(0x2c0)];switch(_0x36ae15[_0x34ea7b(0x298)]){case p[_0x34ea7b(0x57d)][_0x34ea7b(0x640)]:return{..._0x343832,'data':{..._0x36ae15,'data':(_0x52e19c=_0x36ae15['permissionRejEvent'])==null?void 0x0:_0x52e19c['cs']},'cmd':_0x343832['cmd']};case p[_0x34ea7b(0x57d)]['CHANGESET_ACK']:return{..._0x343832,'data':{..._0x36ae15,'data':(_0x3c2ef8=_0x36ae15[_0x34ea7b(0x3b5)])==null?void 0x0:_0x3c2ef8['cs']},'cmd':_0x343832[_0x34ea7b(0x425)]};case p[_0x34ea7b(0x57d)][_0x34ea7b(0x203)]:return{..._0x343832,'data':{..._0x36ae15,'data':(_0x13eb2b=_0x36ae15[_0x34ea7b(0x48f)])==null?void 0x0:_0x13eb2b['cs']},'cmd':_0x343832[_0x34ea7b(0x425)]};case p[_0x34ea7b(0x57d)][_0x34ea7b(0x477)]:return{..._0x343832,'data':{..._0x36ae15,'data':(_0x39115c=_0x36ae15[_0x34ea7b(0x607)])==null?void 0x0:_0x39115c['cs']},'cmd':_0x343832[_0x34ea7b(0x425)]};case p[_0x34ea7b(0x57d)][_0x34ea7b(0x549)]:return{..._0x343832,'data':{..._0x36ae15,'data':(_0x12d53f=_0x36ae15[_0x34ea7b(0x282)])==null?void 0x0:_0x12d53f['cs']},'cmd':_0x343832[_0x34ea7b(0x425)]};case p[_0x34ea7b(0x57d)]['UPDATE_CURSOR']:return{..._0x343832,'data':{..._0x36ae15,'data':_0x36ae15[_0x34ea7b(0x3d1)]},'cmd':_0x343832['cmd']};case p[_0x34ea7b(0x57d)][_0x34ea7b(0x20c)]:return{..._0x343832,'data':{..._0x36ae15,'data':_0x36ae15['joinEvent']},'cmd':_0x343832[_0x34ea7b(0x425)]};case p[_0x34ea7b(0x57d)]['USERS_LEAVE']:return{..._0x343832,'data':{..._0x36ae15,'data':_0x36ae15[_0x34ea7b(0x401)]},'cmd':_0x343832[_0x34ea7b(0x425)]};case p[_0x34ea7b(0x57d)][_0x34ea7b(0x35e)]:return{..._0x343832,'data':{..._0x36ae15,'data':_0x36ae15[_0x34ea7b(0x2a0)]},'cmd':_0x343832[_0x34ea7b(0x425)]};case p['CollaborationEvent'][_0x34ea7b(0x62d)]:case p[_0x34ea7b(0x57d)]['LIVESHARE_OPERATION']:return{..._0x343832,'data':{..._0x36ae15,'data':_0x36ae15[_0x34ea7b(0x3b8)]},'cmd':_0x343832['cmd']};case p[_0x34ea7b(0x57d)][_0x34ea7b(0x3ec)]:return{..._0x343832,'data':{..._0x36ae15,'data':_0x36ae15[_0x34ea7b(0x2a0)]},'cmd':_0x343832[_0x34ea7b(0x425)]};case p[_0x34ea7b(0x57d)][_0x34ea7b(0x46e)]:return{..._0x343832,'data':_0x36ae15,'cmd':_0x343832['cmd']};case p[_0x34ea7b(0x57d)][_0x34ea7b(0x489)]:return{..._0x343832,'data':{..._0x36ae15,'data':_0x36ae15[_0x34ea7b(0x3c7)]},'cmd':_0x343832[_0x34ea7b(0x425)]};case p[_0x34ea7b(0x57d)][_0x34ea7b(0x3e5)]:return{..._0x343832,'data':{..._0x36ae15,'data':_0x36ae15[_0x34ea7b(0x524)]},'cmd':_0x343832[_0x34ea7b(0x425)]};case p[_0x34ea7b(0x57d)][_0x34ea7b(0x626)]:return{..._0x343832,'data':{..._0x36ae15,'data':_0x36ae15[_0x34ea7b(0x5e8)]},'cmd':_0x343832['cmd']};default:return _0x343832;}}default:return _0x343832;}}function ln(_0x59f9c2){const _0x1faea2=_0x714a18;switch(_0x59f9c2[_0x1faea2(0x425)]){case G[_0x1faea2(0x2c9)]:case G[_0x1faea2(0x23b)]:return JSON['stringify']({'cmd':_0x59f9c2[_0x1faea2(0x425)],'routeKey':_0x59f9c2[_0x1faea2(0x21c)]});case G[_0x1faea2(0x37b)]:{let _0x1b7fc0;switch(_0x59f9c2['data'][_0x1faea2(0x298)]){case p['CollaborationEvent']['UPDATE_CURSOR']:{_0x1b7fc0={'eventID':p[_0x1faea2(0x57d)][_0x1faea2(0x3bc)],'updateCursorEvent':_0x59f9c2[_0x1faea2(0x539)][_0x1faea2(0x539)]};break;}case p['CollaborationEvent'][_0x1faea2(0x490)]:{_0x1b7fc0={'eventID':p[_0x1faea2(0x57d)][_0x1faea2(0x490)],'leaveEvent':_0x59f9c2['data'][_0x1faea2(0x539)]};break;}case p[_0x1faea2(0x57d)][_0x1faea2(0x20c)]:{_0x1b7fc0={'eventID':p[_0x1faea2(0x57d)]['USERS_ENTER'],'joinEvent':_0x59f9c2[_0x1faea2(0x539)][_0x1faea2(0x539)]};break;}case p[_0x1faea2(0x57d)][_0x1faea2(0x35e)]:{_0x1b7fc0={'eventID':p[_0x1faea2(0x57d)][_0x1faea2(0x35e)],'liveShareNewHost':_0x59f9c2[_0x1faea2(0x539)][_0x1faea2(0x539)]};break;}case p[_0x1faea2(0x57d)][_0x1faea2(0x452)]:{_0x1b7fc0={'eventID':p['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x59f9c2[_0x1faea2(0x539)][_0x1faea2(0x539)]};break;}case p[_0x1faea2(0x57d)][_0x1faea2(0x3ec)]:{_0x1b7fc0={'eventID':p['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x59f9c2['data'][_0x1faea2(0x539)]};break;}case p['CollaborationEvent'][_0x1faea2(0x44c)]:{_0x1b7fc0={'eventID':p[_0x1faea2(0x57d)][_0x1faea2(0x44c)],'liveShareRequestHost':_0x59f9c2[_0x1faea2(0x539)][_0x1faea2(0x539)]};break;}case p[_0x1faea2(0x57d)][_0x1faea2(0x62d)]:{_0x1b7fc0={'eventID':p[_0x1faea2(0x57d)][_0x1faea2(0x62d)]};break;}default:_0x1b7fc0={'eventID':_0x59f9c2[_0x1faea2(0x539)]['eventID']};}return JSON['stringify']({'cmd':_0x59f9c2[_0x1faea2(0x425)],'routeKey':_0x59f9c2[_0x1faea2(0x21c)],'collaMsg':_0x1b7fc0});}case G[_0x1faea2(0x327)]:return JSON['stringify']({'cmd':_0x59f9c2[_0x1faea2(0x425)],'routeKey':_0x59f9c2[_0x1faea2(0x21c)],'joinReq':_0x59f9c2[_0x1faea2(0x539)]});case G[_0x1faea2(0x466)]:return JSON[_0x1faea2(0x570)]({'cmd':_0x59f9c2[_0x1faea2(0x425)],'routeKey':_0x59f9c2[_0x1faea2(0x21c)],'leaveReq':_0x59f9c2[_0x1faea2(0x539)]});default:throw new Error(_0x1faea2(0x38a));}}var Xn=Object[_0x714a18(0x1d2)],Jn=Object[_0x714a18(0x254)],Zn=(_0x514a1f,_0x1a55fc,_0x5c0125,_0x115a51)=>{const _0x275c6f=_0x714a18;for(var _0x2e734b=_0x115a51>0x1?void 0x0:_0x115a51?Jn(_0x1a55fc,_0x5c0125):_0x1a55fc,_0x25b4e6=_0x514a1f[_0x275c6f(0x5a6)]-0x1,_0x184c09;_0x25b4e6>=0x0;_0x25b4e6--)(_0x184c09=_0x514a1f[_0x25b4e6])&&(_0x2e734b=(_0x115a51?_0x184c09(_0x1a55fc,_0x5c0125,_0x2e734b):_0x184c09(_0x2e734b))||_0x2e734b);return _0x115a51&&_0x2e734b&&Xn(_0x1a55fc,_0x5c0125,_0x2e734b),_0x2e734b;},we=(_0x14f276,_0x44b730)=>(_0x383571,_0x11638b)=>_0x44b730(_0x383571,_0x11638b,_0x14f276);const Et=a[_0x714a18(0x2d1)](_0x714a18(0x3f1));function Qn(_0x2b1c61,_0x2ba92e,_0x49507c){const _0x2519f7=_0x714a18;return _0x2b1c61+'/'+_0x2ba92e+_0x2519f7(0x272)+_0x49507c+'/new_changes';}exports[_0x714a18(0x323)]=class extends a[_0x714a18(0x5aa)]{constructor(_0x460c24,_0x352772,_0x50dc46,_0xb70cb9,_0x304f26){const _0x1fa4e8=_0x714a18;super(),this[_0x1fa4e8(0x3f9)]=_0x460c24,this[_0x1fa4e8(0x409)]=_0x352772,this['_configService']=_0x50dc46,this['_logService']=_0xb70cb9,this[_0x1fa4e8(0x3e4)]=_0x304f26;}[_0x714a18(0x573)](_0x2052b8){const _0x46b56b=_0x714a18,_0x44c41e=this[_0x46b56b(0x409)]['createSocket'](_0x2052b8);if(!_0x44c41e)throw new Error(_0x46b56b(0x1cf));const _0x39b705=new a[(_0x46b56b(0x542))](),_0x50f6e5=new A[(_0x46b56b(0x47f))]();_0x39b705[_0x46b56b(0x2fc)](_0x44c41e[_0x46b56b(0x5ad)][_0x46b56b(0x47b)](_0xb7805b=>_0x50f6e5[_0x46b56b(0x5c5)](_0xb7805b))),_0x39b705[_0x46b56b(0x2fc)](a['toDisposable'](()=>_0x50f6e5[_0x46b56b(0x414)]()));const _0x558ecd=new A['Subject']();_0x39b705[_0x46b56b(0x2fc)](_0x44c41e[_0x46b56b(0x46d)][_0x46b56b(0x47b)](_0x5aad34=>_0x558ecd['next'](_0x5aad34))),_0x39b705[_0x46b56b(0x2fc)](a['toDisposable'](()=>_0x558ecd['complete']()));const _0x285b7a=new A['Subject']();_0x39b705[_0x46b56b(0x2fc)](_0x44c41e['message$'][_0x46b56b(0x47b)](_0x386204=>{const _0x57ef2f=_0x46b56b,_0x46bf8e=cn(_0x386204);_0x285b7a[_0x57ef2f(0x5c5)](_0x46bf8e);})),_0x39b705[_0x46b56b(0x2fc)](a[_0x46b56b(0x470)](()=>_0x285b7a[_0x46b56b(0x414)]()));let _0x37769c;const _0x200a8c=()=>{const _0x13c516=_0x46b56b;_0x558ecd[_0x13c516(0x5c5)](new Event(_0x13c516(0x34d))),_0x50f6e5[_0x13c516(0x5c5)](new CloseEvent(_0x13c516(0x34d))),_0x37769c['close']();};return _0x37769c={'memberID':'','close$':_0x50f6e5['asObservable'](),'error$':_0x558ecd[_0x46b56b(0x23c)](),'open$':_0x44c41e['open$'],'message$':_0x285b7a[_0x46b56b(0x23c)](),'send':_0x91a663=>{const _0x5898b1=_0x46b56b;if(_0x91a663['cmd']===G[_0x5898b1(0x37b)]){if(_0x91a663['data'][_0x5898b1(0x298)]===p[_0x5898b1(0x57d)][_0x5898b1(0x569)]){this[_0x5898b1(0x18b)](_0x37769c,_0x91a663[_0x5898b1(0x539)])[_0x5898b1(0x22a)](_0x5d784e=>{const _0x3474f3=_0x5898b1;this[_0x3474f3(0x5be)][_0x3474f3(0x4c3)](_0x5d784e),_0x200a8c();});return;}if(_0x91a663[_0x5898b1(0x539)][_0x5898b1(0x298)]===p[_0x5898b1(0x57d)][_0x5898b1(0x43c)]){const _0x28d4b3=_0x91a663[_0x5898b1(0x539)];this[_0x5898b1(0x5cb)](_0x28d4b3)[_0x5898b1(0x27c)](_0x56a91f=>{const _0x5f1371=_0x5898b1;_0x285b7a[_0x5f1371(0x5c5)]({'cmd':G[_0x5f1371(0x293)],'code':Ct['OK'],'routeKey':_0x28d4b3[_0x5f1371(0x539)][_0x5f1371(0x576)],'routeType':'','data':{'eventID':p['CollaborationEvent'][_0x5f1371(0x1dc)],'data':{'changesets':_0x56a91f}}});})[_0x5898b1(0x22a)](_0x2fc516=>{const _0x295307=_0x5898b1;this[_0x295307(0x5be)]['error'](_0x2fc516),_0x200a8c();});return;}}_0x44c41e[_0x5898b1(0x4c5)](ln(_0x91a663));},'close':()=>{const _0x33b0cf=_0x46b56b;_0x44c41e[_0x33b0cf(0x1ce)](),_0x39b705[_0x33b0cf(0x19e)]();}},_0x37769c;}async[_0x714a18(0x18b)](_0x355c01,_0x5be3d8){const _0x5837a8=_0x714a18;var _0x670be2,_0x3bac1b;const {unitType:_0x2d88af,unitID:_0x5f39d1,changeset:_0x3c3f96}=_0x5be3d8[_0x5837a8(0x539)],_0x42f890={'unitID':_0x5f39d1,'memberID':_0x355c01[_0x5837a8(0x482)],'type':_0x2d88af,'changeset':p[_0x5837a8(0x545)](_0x3c3f96)},_0x2c948e=this['_configService'][_0x5837a8(0x49b)](sn),_0x3c77df=this[_0x5837a8(0x3dc)]['getConfig'](ee),_0x1e34df=Qn((_0x3bac1b=(_0x670be2=_0x3c77df==null?void 0x0:_0x3c77df[_0x5837a8(0x223)])!=null?_0x670be2:_0x2c948e)!=null?_0x3bac1b:Kn,_0x2d88af,_0x5f39d1);try{await this[_0x5837a8(0x3f9)]['post'](_0x1e34df,{'body':_0x42f890});}catch(_0x581737){throw this[_0x5837a8(0x5be)][_0x5837a8(0x4c3)](_0x5837a8(0x5a1),_0x5837a8(0x359)),_0x581737;}}async[_0x714a18(0x5cb)](_0xd822a5){const _0x2d9724=_0x714a18,{unitID:_0x428d80,from:_0x28e950,to:_0x43bd05,unitType:_0x2888f1}=_0xd822a5[_0x2d9724(0x539)];return(await this['_snapshotServerService'][_0x2d9724(0x5d1)]({'metadata':void 0x0},{'unitID':_0x428d80,'type':_0x2888f1,'from':_0x28e950,'to':_0x43bd05}))['changesets'];}},exports[_0x714a18(0x323)]=Zn([we(0x0,a['Inject'](J[_0x714a18(0x480)])),we(0x1,a[_0x714a18(0x5ce)](J[_0x714a18(0x23d)])),we(0x2,a[_0x714a18(0x292)]),we(0x3,a[_0x714a18(0x204)]),we(0x4,p[_0x714a18(0x53d)])],exports[_0x714a18(0x323)]);const ei=_0x714a18(0x5bb);function ti(_0x593dec){const _0x4de723=_0x714a18;return JSON[_0x4de723(0x570)](_0x593dec)[_0x4de723(0x5a6)];}class bt{constructor(){const _0x46b751=_0x714a18;I(this,_0x46b751(0x43b),new A[(_0x46b751(0x47f))]()),I(this,_0x46b751(0x291),this[_0x46b751(0x43b)][_0x46b751(0x23c)]());}[_0x714a18(0x26d)](_0x185b79){const _0x5f24cb=_0x714a18;this['_commentUpdate$'][_0x5f24cb(0x5c5)](_0x185b79);}}var ni=Object[_0x714a18(0x1d2)],ii=Object['getOwnPropertyDescriptor'],si=(_0x463535,_0x2d94ad,_0x231ea0,_0x5f27fe)=>{const _0x5e25ef=_0x714a18;for(var _0x1542ab=_0x5f27fe>0x1?void 0x0:_0x5f27fe?ii(_0x2d94ad,_0x231ea0):_0x2d94ad,_0x282c11=_0x463535[_0x5e25ef(0x5a6)]-0x1,_0x2a6c48;_0x282c11>=0x0;_0x282c11--)(_0x2a6c48=_0x463535[_0x282c11])&&(_0x1542ab=(_0x5f27fe?_0x2a6c48(_0x2d94ad,_0x231ea0,_0x1542ab):_0x2a6c48(_0x1542ab))||_0x1542ab);return _0x5f27fe&&_0x1542ab&&ni(_0x2d94ad,_0x231ea0,_0x1542ab),_0x1542ab;},Pt=(_0x5e5af8,_0x4452ab)=>(_0x560fc7,_0x40090f)=>_0x4452ab(_0x560fc7,_0x40090f,_0x5e5af8);exports[_0x714a18(0x1f1)]=class extends a[_0x714a18(0x5aa)]{constructor(_0x416387,_0xd0e54e){const _0x4c5bb9=_0x714a18;super(),I(this,'_roomMembers',new Map()),(this[_0x4c5bb9(0x4c0)]=_0x416387,this[_0x4c5bb9(0x40d)]=_0xd0e54e,this[_0x4c5bb9(0x580)](a[_0x4c5bb9(0x470)](A[_0x4c5bb9(0x3ea)](this[_0x4c5bb9(0x4c0)][_0x4c5bb9(0x5ef)](a[_0x4c5bb9(0x3ab)]['UNIVER_SHEET'])[_0x4c5bb9(0x52c)](V[_0x4c5bb9(0x556)](_0x754084=>_0x754084[_0x4c5bb9(0x2e0)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x4c5bb9(0x3ab)][_0x4c5bb9(0x5ff)])[_0x4c5bb9(0x52c)](V['map'](_0x1c2a88=>_0x1c2a88['getUnitId']())),this[_0x4c5bb9(0x4c0)][_0x4c5bb9(0x5ef)](a[_0x4c5bb9(0x3ab)][_0x4c5bb9(0x3c4)])[_0x4c5bb9(0x52c)](V[_0x4c5bb9(0x556)](_0x4861b7=>_0x4861b7[_0x4c5bb9(0x2e0)]())))[_0x4c5bb9(0x47b)](_0x2d88f0=>this[_0x4c5bb9(0x3ad)](_0x2d88f0)))));}[_0x714a18(0x37c)](_0x220f52){const _0x1288bd=_0x714a18;this[_0x1288bd(0x40d)][_0x1288bd(0x37c)](_0x220f52);}[_0x714a18(0x176)](){const _0x11f3aa=_0x714a18;return this[_0x11f3aa(0x40d)][_0x11f3aa(0x176)]();}[_0x714a18(0x43f)](_0x16e3c6,_0x20e8ef){const _0x48de36=_0x714a18;let _0x1961cd=this[_0x48de36(0x3f4)][_0x48de36(0x1bc)](_0x16e3c6);_0x1961cd||(_0x1961cd=new ri(),this[_0x48de36(0x3f4)]['set'](_0x16e3c6,_0x1961cd)),_0x1961cd[_0x48de36(0x43f)](_0x20e8ef);}['removeMember'](_0x316ab0,_0x17b120){const _0x37e374=_0x714a18,_0x80d8c=this[_0x37e374(0x3f4)]['get'](_0x316ab0);_0x80d8c&&_0x80d8c[_0x37e374(0x54d)](_0x17b120);}[_0x714a18(0x2e6)](_0x1d3d57){const _0x1130c4=_0x714a18;return this[_0x1130c4(0x3f4)]['get'](_0x1d3d57);}['getMember'](_0x2e5eec,_0x24682e){const _0x302210=_0x714a18,_0x333782=this[_0x302210(0x3f4)][_0x302210(0x1bc)](_0x2e5eec);if(_0x333782)return _0x333782['getMember'](_0x24682e);}[_0x714a18(0x3ad)](_0x2fb893){const _0x1fa28f=_0x714a18,_0x452f6f=this['_roomMembers']['get'](_0x2fb893);_0x452f6f&&(_0x452f6f[_0x1fa28f(0x19e)](),this[_0x1fa28f(0x3f4)]['delete'](_0x2fb893));}['dispose'](){const _0x268b5a=_0x714a18;this[_0x268b5a(0x3f4)][_0x268b5a(0x39e)](_0x56bd3b=>_0x56bd3b[_0x268b5a(0x19e)]()),this[_0x268b5a(0x3f4)][_0x268b5a(0x442)]();}},exports[_0x714a18(0x1f1)]=si([Pt(0x0,a[_0x714a18(0x617)]),Pt(0x1,a[_0x714a18(0x5ce)](a[_0x714a18(0x5ba)]))],exports[_0x714a18(0x1f1)]);class ri extends a[_0x714a18(0x5aa)]{constructor(){super(...arguments),I(this,'_members',new Map());}[_0x714a18(0x19e)](){this['_members']['clear']();}[_0x714a18(0x43f)](_0x2844f5){const _0x5b4bdb=_0x714a18;this[_0x5b4bdb(0x29c)][_0x5b4bdb(0x3d0)](_0x2844f5[_0x5b4bdb(0x482)],_0x2844f5);}[_0x714a18(0x54d)](_0x86cc6c){const _0x40f839=_0x714a18;this['_members'][_0x40f839(0x57c)](_0x86cc6c);}[_0x714a18(0x629)](_0x8ad1d9){const _0x5e35bf=_0x714a18;return this[_0x5e35bf(0x29c)][_0x5e35bf(0x1bc)](_0x8ad1d9);}[_0x714a18(0x571)](){const _0x1d8804=_0x714a18;return Array['from'](this['_members'][_0x1d8804(0x40c)]());}}var oi=Object[_0x714a18(0x1d2)],ai=Object['getOwnPropertyDescriptor'],ci=(_0x27d17d,_0x1cfae2,_0x140aff,_0x26cf96)=>{const _0xf6f08f=_0x714a18;for(var _0x5ab8ab=_0x26cf96>0x1?void 0x0:_0x26cf96?ai(_0x1cfae2,_0x140aff):_0x1cfae2,_0x1837e0=_0x27d17d[_0xf6f08f(0x5a6)]-0x1,_0x1e8e3e;_0x1837e0>=0x0;_0x1837e0--)(_0x1e8e3e=_0x27d17d[_0x1837e0])&&(_0x5ab8ab=(_0x26cf96?_0x1e8e3e(_0x1cfae2,_0x140aff,_0x5ab8ab):_0x1e8e3e(_0x5ab8ab))||_0x5ab8ab);return _0x26cf96&&_0x5ab8ab&&oi(_0x1cfae2,_0x140aff,_0x5ab8ab),_0x5ab8ab;},de=(_0x51b81c,_0x3cfeab)=>(_0x2499b9,_0x1f093f)=>_0x3cfeab(_0x2499b9,_0x1f093f,_0x51b81c),se=(_0x3ec924=>(_0x3ec924[_0x3ec924[_0x714a18(0x382)]=0x0]=_0x714a18(0x382),_0x3ec924[_0x3ec924[_0x714a18(0x212)]=0x1]='JOINING',_0x3ec924[_0x3ec924[_0x714a18(0x3c6)]=0x2]='OFFLINE',_0x3ec924[_0x3ec924['ONLINE']=0x3]=_0x714a18(0x32f),_0x3ec924))(se||{});exports[_0x714a18(0x31b)]=class extends a['RxDisposable']{constructor(_0x100759,_0x50a45e,_0x2328e7,_0x11dcdd,_0x7f2712,_0x4acebd,_0x33c9c4,_0xcdfaf1,_0xb8fb41,_0x49223){const _0x2bdca6=_0x714a18;super(),I(this,_0x2bdca6(0x270),new A[(_0x2bdca6(0x638))](0x0)),I(this,_0x2bdca6(0x25c),this[_0x2bdca6(0x270)][_0x2bdca6(0x23c)]()),I(this,_0x2bdca6(0x1dd),new A[(_0x2bdca6(0x47f))]()),I(this,_0x2bdca6(0x55f),this['_event$'][_0x2bdca6(0x23c)]()),I(this,_0x2bdca6(0x322)),I(this,_0x2bdca6(0x29b)),I(this,'_collaborationTimeoutTimer'),I(this,'_shouldReportTelemetry',!0x1),I(this,'_telemetryInfo',null),(this[_0x2bdca6(0x1ab)]=_0x100759,this[_0x2bdca6(0x5be)]=_0x2328e7,this['_beforeCloseService']=_0x11dcdd,this[_0x2bdca6(0x636)]=_0x7f2712,this[_0x2bdca6(0x3dc)]=_0x4acebd,this[_0x2bdca6(0x467)]=_0x33c9c4,this[_0x2bdca6(0x4bc)]=_0xcdfaf1,this[_0x2bdca6(0x534)]=_0xb8fb41,this[_0x2bdca6(0x495)]=_0x49223,this[_0x2bdca6(0x3e7)]=!!this[_0x2bdca6(0x495)],_0x50a45e[_0x2bdca6(0x52c)](A['takeUntil'](this[_0x2bdca6(0x417)]))['subscribe'](_0x35c9d6=>{const _0x5c2ad4=_0x2bdca6;var _0x1c67e8;typeof _0x35c9d6>'u'||(this[_0x5c2ad4(0x322)]=_0x35c9d6,_0x35c9d6?(this[_0x5c2ad4(0x58f)](_0x35c9d6),this[_0x5c2ad4(0x29b)]=_0x35c9d6['message$'][_0x5c2ad4(0x47b)](_0x4e0fd3=>{const _0x3e8224=_0x5c2ad4;_0x4e0fd3[_0x3e8224(0x21c)]===this['_unitID']&&this[_0x3e8224(0x3fe)](_0x4e0fd3);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x5c2ad4(0x270)]['next'](0x2),(_0x1c67e8=this[_0x5c2ad4(0x29b)])==null||_0x1c67e8[_0x5c2ad4(0x1f9)](),this['_socketMessageSubscription']=null));}),this[_0x2bdca6(0x580)](this[_0x2bdca6(0x52d)]['registerOnClose'](()=>{const _0x55a819=_0x2bdca6;var _0x352cad;(_0x352cad=this[_0x55a819(0x322)])==null||_0x352cad[_0x55a819(0x4c5)]({'cmd':G['LEAVE'],'data':{'roomID':this['_unitID']}});})));}get['sessionStatus'](){const _0x440481=_0x714a18;return this['_sessionStatus$'][_0x440481(0x416)]();}[_0x714a18(0x2d0)](){const _0x3d0e6b=_0x714a18;var _0x217468,_0x4ef86a;return(_0x4ef86a=(_0x217468=this[_0x3d0e6b(0x322)])==null?void 0x0:_0x217468['memberID'])!=null?_0x4ef86a:null;}['dispose'](){const _0x11f27d=_0x714a18;super['dispose'](),this[_0x11f27d(0x417)][_0x11f27d(0x5c5)](),this[_0x11f27d(0x417)][_0x11f27d(0x414)]();}['close'](){const _0x5c19d3=_0x714a18;var _0x1c2633,_0x374225;this['_throwTelemetryCollaborationNewChangeset'](),(_0x1c2633=this[_0x5c19d3(0x322)])==null||_0x1c2633[_0x5c19d3(0x4c5)]({'cmd':G['LEAVE'],'data':{'roomID':this[_0x5c19d3(0x1ab)]}}),(_0x374225=this[_0x5c19d3(0x322)])==null||_0x374225[_0x5c19d3(0x1ce)](),this[_0x5c19d3(0x1dd)][_0x5c19d3(0x414)](),this[_0x5c19d3(0x270)][_0x5c19d3(0x414)](),this[_0x5c19d3(0x19e)]();}[_0x714a18(0x3fe)](_0x164d7a){const _0x779e41=_0x714a18;_0x164d7a[_0x779e41(0x425)]===G[_0x779e41(0x327)]?this[_0x779e41(0x301)](_0x164d7a):_0x164d7a[_0x779e41(0x425)]===G[_0x779e41(0x293)]&&this[_0x779e41(0x5a8)](_0x164d7a);}[_0x714a18(0x58f)](_0x7d142e){const _0x1d42b3=_0x714a18;this[_0x1d42b3(0x270)][_0x1d42b3(0x5c5)](0x1),_0x7d142e[_0x1d42b3(0x4c5)]({'cmd':G[_0x1d42b3(0x327)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x1d42b3(0x1ab)]}]}});}[_0x714a18(0x301)](_0x53e1c4){const _0xc759f1=_0x714a18;var _0x2978b6;if(_0x53e1c4[_0xc759f1(0x3e1)]===Ct[_0xc759f1(0x4b9)]){this['_messageService'][_0xc759f1(0x26f)]({'type':Ie[_0xc759f1(0x4b3)][_0xc759f1(0x21a)],'content':this[_0xc759f1(0x467)]['t']('session.room-full')}),this['_sessionStatus$'][_0xc759f1(0x5c5)](0x2);return;}this[_0xc759f1(0x270)][_0xc759f1(0x5c5)](0x3);const _0x21f386=(_0x2978b6=_0x53e1c4[_0xc759f1(0x539)][_0xc759f1(0x5d3)][this[_0xc759f1(0x1ab)]])==null?void 0x0:_0x2978b6['members'];_0x21f386&&_0x21f386[_0xc759f1(0x39e)](_0x45c37c=>this[_0xc759f1(0x4bc)][_0xc759f1(0x43f)](this[_0xc759f1(0x1ab)],_0x45c37c));}['_onRecvEvent'](_0x18b1a0){const _0xd7b2ca=_0x714a18;try{const _0x1bb65e=_0x18b1a0[_0xd7b2ca(0x539)];switch(_0x1bb65e['eventID']){case p[_0xd7b2ca(0x57d)][_0xd7b2ca(0x20c)]:this['_onUserJoin'](_0x1bb65e),this['_event$'][_0xd7b2ca(0x5c5)](_0x1bb65e);break;case p[_0xd7b2ca(0x57d)][_0xd7b2ca(0x490)]:this[_0xd7b2ca(0x315)](_0x1bb65e),this[_0xd7b2ca(0x1dd)][_0xd7b2ca(0x5c5)](_0x1bb65e);break;case p[_0xd7b2ca(0x57d)][_0xd7b2ca(0x211)]:case p[_0xd7b2ca(0x57d)]['CHANGESET_SHOULD_RETRY']:this[_0xd7b2ca(0x1a6)](),this[_0xd7b2ca(0x368)](),this[_0xd7b2ca(0x1dd)][_0xd7b2ca(0x5c5)](_0x1bb65e);break;case p['CollaborationEvent'][_0xd7b2ca(0x46e)]:this[_0xd7b2ca(0x5be)][_0xd7b2ca(0x4c3)](_0xd7b2ca(0x3cc)+JSON[_0xd7b2ca(0x570)](_0x1bb65e)),this[_0xd7b2ca(0x1dd)][_0xd7b2ca(0x5c5)](_0x1bb65e);break;case p[_0xd7b2ca(0x57d)][_0xd7b2ca(0x489)]:this[_0xd7b2ca(0x534)]['onCommentUpdate'](_0x1bb65e['data']),this['_event$'][_0xd7b2ca(0x5c5)](_0x1bb65e);break;default:this[_0xd7b2ca(0x1dd)][_0xd7b2ca(0x5c5)](_0x1bb65e);}}catch(_0x33008f){this[_0xd7b2ca(0x5be)][_0xd7b2ca(0x4c3)](_0x33008f,_0x18b1a0);}}[_0x714a18(0x52a)](_0x25de06){const _0x3b03f3=_0x714a18;this[_0x3b03f3(0x4bc)][_0x3b03f3(0x43f)](this[_0x3b03f3(0x1ab)],_0x25de06['data']);}['_onUserLeave'](_0x128cbd){const _0x2d5681=_0x714a18;this[_0x2d5681(0x4bc)][_0x2d5681(0x54d)](this['_unitID'],_0x128cbd[_0x2d5681(0x539)]['memberID']);}async['send'](_0x15be17,_0x4269c7){const _0x5e2f45=_0x714a18;if(this[_0x5e2f45(0x242)]!==0x3||!this[_0x5e2f45(0x322)])throw new Error(_0x5e2f45(0x4dc));try{_0x15be17[_0x5e2f45(0x298)]===p[_0x5e2f45(0x57d)][_0x5e2f45(0x569)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x5e2f45(0x58a)](_0x15be17)),this[_0x5e2f45(0x322)][_0x5e2f45(0x4c5)]({'cmd':G['INGEST'],'routeKey':_0x4269c7,'routeType':'','data':_0x15be17});}catch(_0x30fb7a){this[_0x5e2f45(0x5be)]['error'](_0x30fb7a);}}[_0x714a18(0x604)](){const _0x384f69=_0x714a18;var _0x1006ca;this[_0x384f69(0x57a)]=window[_0x384f69(0x339)](()=>{const _0x395ae5=_0x384f69;this[_0x395ae5(0x57a)]=null,this[_0x395ae5(0x636)][_0x395ae5(0x26f)]({'type':Ie[_0x395ae5(0x4b3)]['Error'],'content':this[_0x395ae5(0x467)]['t'](_0x395ae5(0x538))});},(_0x1006ca=this[_0x384f69(0x3dc)][_0x384f69(0x49b)](It))!=null?_0x1006ca:en);}[_0x714a18(0x368)](){const _0x551bdd=_0x714a18;this[_0x551bdd(0x57a)]&&(clearTimeout(this[_0x551bdd(0x57a)]),this['_collaborationTimeoutTimer']=null);}[_0x714a18(0x58a)](_0x2861eb){const _0x57d8ca=_0x714a18;if(!this['_shouldReportTelemetry'])return;const {data:_0x363ba0}=_0x2861eb,{unitID:_0x1a346d,changeset:_0x2bcfa3}=_0x363ba0,{mutations:_0x93ad5c,type:_0x384ba9}=_0x2bcfa3;this[_0x57d8ca(0x483)]={'unitId':_0x1a346d,'type':_0x384ba9,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ti(_0x93ad5c)};}[_0x714a18(0x1a6)](){const _0x22c728=_0x714a18;if(this[_0x22c728(0x3e7)]){if(!this['_telemetryInfo']){this[_0x22c728(0x5be)][_0x22c728(0x4c3)](_0x22c728(0x5a1),_0x22c728(0x397));return;}this[_0x22c728(0x483)][_0x22c728(0x62f)]=performance[_0x22c728(0x180)](),this[_0x22c728(0x483)][_0x22c728(0x2c8)]=this['_telemetryInfo'][_0x22c728(0x62f)]-this[_0x22c728(0x483)][_0x22c728(0x5b0)],this['_telemetryService']['capture'](ei,this['_telemetryInfo']),this[_0x22c728(0x483)]=null;}}[_0x714a18(0x404)](){this['_telemetryInfo']=null;}},exports[_0x714a18(0x31b)]=ci([de(0x2,a['ILogService']),de(0x3,te[_0x714a18(0x4ac)]),de(0x4,te['IMessageService']),de(0x5,a[_0x714a18(0x292)]),de(0x6,a[_0x714a18(0x5ce)](a[_0x714a18(0x565)])),de(0x7,a['Inject'](exports[_0x714a18(0x1f1)])),de(0x8,a[_0x714a18(0x5ce)](bt)),de(0x9,a[_0x714a18(0x600)](xn[_0x714a18(0x3ed)]))],exports[_0x714a18(0x31b)]);var li=Object[_0x714a18(0x1d2)],hi=Object[_0x714a18(0x254)],_i=(_0x11bf38,_0x59e6cd,_0x293adc,_0xfb13f2)=>{const _0x1fbc35=_0x714a18;for(var _0x1b5de1=_0xfb13f2>0x1?void 0x0:_0xfb13f2?hi(_0x59e6cd,_0x293adc):_0x59e6cd,_0x3f852c=_0x11bf38[_0x1fbc35(0x5a6)]-0x1,_0x12013c;_0x3f852c>=0x0;_0x3f852c--)(_0x12013c=_0x11bf38[_0x3f852c])&&(_0x1b5de1=(_0xfb13f2?_0x12013c(_0x59e6cd,_0x293adc,_0x1b5de1):_0x12013c(_0x1b5de1))||_0x1b5de1);return _0xfb13f2&&_0x1b5de1&&li(_0x59e6cd,_0x293adc,_0x1b5de1),_0x1b5de1;},pe=(_0x2dab56,_0x13ca82)=>(_0xa8e063,_0x28c22d)=>_0x13ca82(_0xa8e063,_0x28c22d,_0x2dab56);exports['CollaborationSessionService']=class extends a['Disposable']{constructor(_0x3adac3,_0x198292,_0x102c4f,_0x53b7a6,_0x35a542,_0x287427,_0x41fa3a){const _0xa9610d=_0x714a18;super(),I(this,'_socket$',new A[(_0xa9610d(0x638))](void 0x0)),I(this,_0xa9610d(0x2ba),this[_0xa9610d(0x355)][_0xa9610d(0x23c)]()),I(this,'_candidateSocket',null),I(this,_0xa9610d(0x5b5),new Map()),I(this,_0xa9610d(0x56c),new A['BehaviorSubject'](se['IDLE'])),I(this,_0xa9610d(0x37e),this['_status$'][_0xa9610d(0x23c)]()),I(this,_0xa9610d(0x20b),!0x1),I(this,_0xa9610d(0x1bd)),I(this,_0xa9610d(0x2d4),0x0),I(this,_0xa9610d(0x530)),I(this,_0xa9610d(0x479)),(this['_injector']=_0x3adac3,this[_0xa9610d(0x467)]=_0x198292,this[_0xa9610d(0x636)]=_0x102c4f,this['_logService']=_0x53b7a6,this[_0xa9610d(0x3dc)]=_0x35a542,this[_0xa9610d(0x2de)]=_0x287427,this['_httpService']=_0x41fa3a,this['_initEventListeners']());}get['_socket'](){const _0x2f86e2=_0x714a18;return this[_0x2f86e2(0x355)][_0x2f86e2(0x416)]();}[_0x714a18(0x1b8)](){const _0x229d87=_0x714a18;this['_listenToOfflineEvent'](),this[_0x229d87(0x2cc)]();}[_0x714a18(0x19e)](){const _0x2463e5=_0x714a18;super[_0x2463e5(0x19e)](),this[_0x2463e5(0x5b5)][_0x2463e5(0x39e)](_0x398504=>_0x398504[_0x2463e5(0x19e)]()),this['_sessions']['clear'](),this[_0x2463e5(0x56c)][_0x2463e5(0x414)]();}async[_0x714a18(0x49f)](_0x5a700e){const _0x5093c2=_0x714a18;if(this[_0x5093c2(0x5b5)][_0x5093c2(0x21d)](_0x5a700e))return this[_0x5093c2(0x5b5)][_0x5093c2(0x1bc)](_0x5a700e);this[_0x5093c2(0x2ef)]();const _0x535b5d=this[_0x5093c2(0x5eb)]['createInstance'](exports[_0x5093c2(0x31b)],_0x5a700e,this[_0x5093c2(0x355)][_0x5093c2(0x23c)]());return this['_sessions'][_0x5093c2(0x3d0)](_0x5a700e,_0x535b5d),_0x535b5d;}['closeSession'](_0x1d8680){const _0x2e326f=_0x714a18;var _0xce0a8f;const _0x4bf5c1=this['_sessions']['get'](_0x1d8680);_0x4bf5c1&&(this[_0x2e326f(0x5b5)][_0x2e326f(0x57c)](_0x1d8680),_0x4bf5c1[_0x2e326f(0x1ce)]()),this[_0x2e326f(0x5b5)][_0x2e326f(0x226)]||(_0xce0a8f=this[_0x2e326f(0x322)])==null||_0xce0a8f[_0x2e326f(0x1ce)]();}[_0x714a18(0x287)](){const _0x246d79=_0x714a18;this[_0x246d79(0x2d4)]=0x0,this[_0x246d79(0x1bd)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x246d79(0x1bd)]=null),this['_tryReconnect']();}async['_getSessionTicket'](){const _0x24bbdd=_0x714a18;var _0x3fda95,_0xf4e9db,_0x405a6c;const _0x437ae4=this[_0x24bbdd(0x3dc)]['getConfig'](ee),_0x526677=(_0x3fda95=_0x437ae4==null?void 0x0:_0x437ae4[_0x24bbdd(0x5a2)])!=null?_0x3fda95:Wn;return(_0x405a6c=(_0xf4e9db=(await this[_0x24bbdd(0x4a7)][_0x24bbdd(0x1bc)](_0x526677,{'headers':{'Content-Type':_0x24bbdd(0x5b4)}}))[_0x24bbdd(0x1ee)])==null?void 0x0:_0xf4e9db[_0x24bbdd(0x239)])!=null?_0x405a6c:'';}[_0x714a18(0x4e0)](_0x5943dd){const _0x230e81=_0x714a18;var _0x483afd,_0x3926cb;const _0x2cddbe=this[_0x230e81(0x3dc)][_0x230e81(0x49b)](Zt),_0x28daeb=this[_0x230e81(0x3dc)][_0x230e81(0x49b)](ee),_0x1a1239=(_0x3926cb=(_0x483afd=_0x28daeb==null?void 0x0:_0x28daeb['collabWebSocketUrl'])!=null?_0x483afd:_0x2cddbe)!=null?_0x3926cb:Bn,_0x1aba4c=new URL(_0x1a1239,window[_0x230e81(0x1da)]['origin']);return _0x1aba4c['searchParams']['set'](_0x230e81(0x3fd),_0x5943dd),_0x1aba4c['toString']();}async[_0x714a18(0x2a8)](){const _0x50df32=_0x714a18,_0x63ab14=await this[_0x50df32(0x5ab)](),_0x420d82=this[_0x50df32(0x4e0)](_0x63ab14),_0xd695b9=this[_0x50df32(0x2de)][_0x50df32(0x573)](_0x420d82);return this[_0x50df32(0x1a1)]=_0xd695b9,_0xd695b9;}async[_0x714a18(0x2ef)](){const _0x519a67=_0x714a18;var _0x42945c,_0x2df875;try{const _0x1a9a95=(_0x2df875=(_0x42945c=this[_0x519a67(0x322)])!=null?_0x42945c:this[_0x519a67(0x1a1)])!=null?_0x2df875:await this[_0x519a67(0x2a8)]();if(_0x1a9a95){const _0x3e5b19=_0x1a9a95[_0x519a67(0x4c5)];_0x1a9a95[_0x519a67(0x4c5)]=_0xaca677=>(this['_rescheduleHeartbeat'](),_0x3e5b19[_0x519a67(0x275)](_0x1a9a95,[_0xaca677])),_0x1a9a95[_0x519a67(0x585)][_0x519a67(0x47b)](_0x29f6b7=>this[_0x519a67(0x465)](_0x1a9a95,_0x29f6b7)),_0x1a9a95['error$'][_0x519a67(0x52c)](V[_0x519a67(0x473)](0x1))['subscribe'](_0x1bb907=>this['_logService'][_0x519a67(0x4c3)](_0x519a67(0x486),_0x1bb907)),_0x1a9a95[_0x519a67(0x584)][_0x519a67(0x52c)](V['take'](0x1))['subscribe'](()=>{const _0x3614f5=_0x519a67;this[_0x3614f5(0x5de)](_0x1a9a95);}),_0x1a9a95[_0x519a67(0x5ad)]['pipe'](V['take'](0x1))['subscribe'](_0xfe5f97=>{const _0x6603f8=_0x519a67;this['_logService']['debug'](_0x6603f8(0x61f),_0x6603f8(0x1c0),_0xfe5f97),this[_0x6603f8(0x521)]();});}}catch(_0x126519){this['_logService'][_0x519a67(0x4c3)](_0x126519),this['_onConnectionFailed']();}}[_0x714a18(0x5de)](_0x4f6df7){const _0x4019f8=_0x714a18;this[_0x4019f8(0x5be)][_0x4019f8(0x188)](_0x4019f8(0x61f),_0x4019f8(0x55e)),_0x4f6df7[_0x4019f8(0x4c5)]({'cmd':G['HELLO']}),this[_0x4019f8(0x1de)]();}[_0x714a18(0x3a3)](){const _0x460a4c=_0x714a18;window['addEventListener'](_0x460a4c(0x528),()=>this[_0x460a4c(0x56e)]());}[_0x714a18(0x56e)](){const _0x44b194=_0x714a18;this['_socketReady']=!0x1,this[_0x44b194(0x1a1)]=null,this[_0x44b194(0x56c)][_0x44b194(0x5c5)](se[_0x44b194(0x3c6)]),this[_0x44b194(0x355)][_0x44b194(0x5c5)](null),this[_0x44b194(0x1d0)](),this[_0x44b194(0x5d5)]();}['_onConnectionFailed'](){const _0x1bb9f3=_0x714a18;var _0x40374d;this[_0x1bb9f3(0x56e)](),this[_0x1bb9f3(0x2d4)]<((_0x40374d=this['_configService'][_0x1bb9f3(0x49b)](tn))!=null?_0x40374d:Gn)?(this[_0x1bb9f3(0x636)][_0x1bb9f3(0x26f)]({'key':'collaboration-session-retry','type':Ie[_0x1bb9f3(0x4b3)][_0x1bb9f3(0x21a)],'content':this[_0x1bb9f3(0x467)]['t'](_0x1bb9f3(0x330))}),this[_0x1bb9f3(0x2ab)]()):this[_0x1bb9f3(0x636)][_0x1bb9f3(0x26f)]({'key':_0x1bb9f3(0x501),'type':Ie[_0x1bb9f3(0x4b3)][_0x1bb9f3(0x63a)],'content':this[_0x1bb9f3(0x467)]['t'](_0x1bb9f3(0x59e))});}['_listenToOnlineEvent'](){const _0x3ec594=_0x714a18,_0xb8174=()=>{const _0x27a1d1=_0x420c;this[_0x27a1d1(0x322)]||this['reconnect']();},_0x323c3d=()=>{const _0x20e2c3=_0x420c;this[_0x20e2c3(0x322)]||document[_0x20e2c3(0x5a7)]===_0x20e2c3(0x3df)||this[_0x20e2c3(0x287)]();};window[_0x3ec594(0x4e4)](_0x3ec594(0x548),_0xb8174),document['addEventListener'](_0x3ec594(0x4cd),_0x323c3d);}[_0x714a18(0x2ab)](){const _0x1f131f=_0x714a18;var _0x13d7dd;const _0x4888f3=this[_0x1f131f(0x2d4)],_0x21b3e1=this['_configService'][_0x1f131f(0x49b)](ee),_0x4493d5=_0x4888f3===0x0?0x0:((_0x13d7dd=_0x21b3e1==null?void 0x0:_0x21b3e1[_0x1f131f(0x550)])!=null?_0x13d7dd:Vn)*0x2**_0x4888f3;this[_0x1f131f(0x1bd)]=window[_0x1f131f(0x339)](()=>{const _0x532d9e=_0x1f131f;clearTimeout(this['_retryConnectingTimer']),this[_0x532d9e(0x1bd)]=null,this[_0x532d9e(0x2ef)]();},_0x4493d5),this[_0x1f131f(0x2d4)]+=0x1;}['_onMessage'](_0x365315,_0x2167d1){const _0x2e3cea=_0x714a18,{cmd:_0x458788}=_0x2167d1;_0x458788===G[_0x2e3cea(0x23b)]&&!this[_0x2e3cea(0x20b)]&&(_0x365315[_0x2e3cea(0x482)]=_0x2167d1[_0x2e3cea(0x539)][_0x2e3cea(0x482)],this[_0x2e3cea(0x355)][_0x2e3cea(0x5c5)](_0x365315),this['_status$'][_0x2e3cea(0x5c5)](se[_0x2e3cea(0x32f)]),this[_0x2e3cea(0x20b)]=!0x0,this['_candidateSocket']=null),_0x458788===G['HEARTBEAT']&&this[_0x2e3cea(0x1d0)](),this[_0x2e3cea(0x1de)]();}[_0x714a18(0x1de)](){const _0x335a53=_0x714a18;var _0x2d0085;this[_0x335a53(0x5d5)](),this[_0x335a53(0x530)]=window[_0x335a53(0x339)](()=>this[_0x335a53(0x28c)](),(_0x2d0085=this[_0x335a53(0x3dc)]['getConfig'](Qt))!=null?_0x2d0085:Fn);}[_0x714a18(0x28c)](){const _0x82e5a4=_0x714a18;this[_0x82e5a4(0x322)][_0x82e5a4(0x4c5)]({'cmd':G[_0x82e5a4(0x2c9)]}),this[_0x82e5a4(0x343)]();}['_waitForHeartbeatResponse'](){const _0x4fd905=_0x714a18;var _0x474c22;this[_0x4fd905(0x479)]=window[_0x4fd905(0x339)](()=>this['_onConnectionFailed'](),(_0x474c22=this[_0x4fd905(0x3dc)][_0x4fd905(0x49b)](It))!=null?_0x474c22:en);}[_0x714a18(0x5d5)](){const _0x4d62ee=_0x714a18;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x4d62ee(0x530)]=null);}['_clearTimeoutTimer'](){const _0x11b5af=_0x714a18;this[_0x11b5af(0x479)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x11b5af(0x479)]=null);}},exports[_0x714a18(0x3c2)]=_i([pe(0x0,a[_0x714a18(0x5ce)](a['Injector'])),pe(0x1,a[_0x714a18(0x5ce)](a[_0x714a18(0x565)])),pe(0x2,te[_0x714a18(0x32c)]),pe(0x3,a['ILogService']),pe(0x4,a[_0x714a18(0x292)]),pe(0x5,Et),pe(0x6,a[_0x714a18(0x5ce)](J[_0x714a18(0x480)]))],exports[_0x714a18(0x3c2)]);const Y=[];for(let s=0x0;s<0x100;++s)Y[_0x714a18(0x5a9)]((s+0x100)[_0x714a18(0x5b9)](0x10)['slice'](0x1));function ui(_0x271dd8,_0x50ff15=0x0){const _0x54b2b4=_0x714a18;return(Y[_0x271dd8[_0x50ff15+0x0]]+Y[_0x271dd8[_0x50ff15+0x1]]+Y[_0x271dd8[_0x50ff15+0x2]]+Y[_0x271dd8[_0x50ff15+0x3]]+'-'+Y[_0x271dd8[_0x50ff15+0x4]]+Y[_0x271dd8[_0x50ff15+0x5]]+'-'+Y[_0x271dd8[_0x50ff15+0x6]]+Y[_0x271dd8[_0x50ff15+0x7]]+'-'+Y[_0x271dd8[_0x50ff15+0x8]]+Y[_0x271dd8[_0x50ff15+0x9]]+'-'+Y[_0x271dd8[_0x50ff15+0xa]]+Y[_0x271dd8[_0x50ff15+0xb]]+Y[_0x271dd8[_0x50ff15+0xc]]+Y[_0x271dd8[_0x50ff15+0xd]]+Y[_0x271dd8[_0x50ff15+0xe]]+Y[_0x271dd8[_0x50ff15+0xf]])[_0x54b2b4(0x1bb)]();}let Je;const di=new Uint8Array(0x10);function fi(){const _0x52b03c=_0x714a18;if(!Je){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Je=crypto['getRandomValues'][_0x52b03c(0x48e)](crypto);}return Je(di);}const vi=typeof crypto<'u'&&crypto[_0x714a18(0x37d)]&&crypto['randomUUID']['bind'](crypto),Ut={'randomUUID':vi};function Si(_0x1d082d,_0xe6338c,_0x3a1224){const _0x5d0142=_0x714a18;if(Ut[_0x5d0142(0x37d)]&&!_0xe6338c&&!_0x1d082d)return Ut[_0x5d0142(0x37d)]();_0x1d082d=_0x1d082d||{};const _0x194ccf=_0x1d082d[_0x5d0142(0x429)]||(_0x1d082d[_0x5d0142(0x5ec)]||fi)();return _0x194ccf[0x6]=_0x194ccf[0x6]&0xf|0x40,_0x194ccf[0x8]=_0x194ccf[0x8]&0x3f|0x80,ui(_0x194ccf);}var pi=Object['defineProperty'],mi=Object[_0x714a18(0x254)],gi=(_0x2bf074,_0x3b8dd7,_0x1135fa,_0x11c92e)=>{for(var _0x1c4dc9=_0x11c92e>0x1?void 0x0:_0x11c92e?mi(_0x3b8dd7,_0x1135fa):_0x3b8dd7,_0x4ad782=_0x2bf074['length']-0x1,_0x25b19b;_0x4ad782>=0x0;_0x4ad782--)(_0x25b19b=_0x2bf074[_0x4ad782])&&(_0x1c4dc9=(_0x11c92e?_0x25b19b(_0x3b8dd7,_0x1135fa,_0x1c4dc9):_0x25b19b(_0x1c4dc9))||_0x1c4dc9);return _0x11c92e&&_0x1c4dc9&&pi(_0x3b8dd7,_0x1135fa,_0x1c4dc9),_0x1c4dc9;},Ze=(_0x292c0c,_0xa18a26)=>(_0x3a1649,_0x4acc33)=>_0xa18a26(_0x3a1649,_0x4acc33,_0x292c0c);let ke=class{constructor(_0x45193b,_0x563aca,_0x21027f){const _0x4fac02=_0x714a18;this['_injector']=_0x45193b,this[_0x4fac02(0x2e2)]=_0x563aca,this[_0x4fac02(0x4d2)]=_0x21027f;}['transformIMECache'](_0x75659b){const _0x274aab=_0x714a18;this[_0x274aab(0x62e)](_0x75659b),this[_0x274aab(0x28b)](_0x75659b);}[_0x714a18(0x31a)](_0x4dfaf4){const _0x221672=_0x714a18,{unitID:_0x4ed5d9}=_0x4dfaf4,_0x50763c=this[_0x221672(0x4d2)][_0x221672(0x36a)](_0x4ed5d9)['with'](Z[_0x221672(0x38f)]),{redoCache:_0x1a113e}=_0x50763c[_0x221672(0x582)]();if(_0x1a113e['length']===0x0)return _0x4dfaf4;let _0x43b816=a[_0x221672(0x392)][_0x221672(0x3d8)](_0x4dfaf4[_0x221672(0x2e1)][0x0]);for(let _0x57bacd=0x0;_0x57bacd<_0x1a113e[_0x221672(0x5a6)];_0x57bacd++){const _0x569b6f={'id':_0x221672(0x458),'params':{..._0x1a113e[_0x57bacd]}},_0x29be8f=this[_0x221672(0x2e2)][_0x221672(0x218)](_0x43b816,_0x569b6f,!0x1);if(p[_0x221672(0x4a4)](_0x29be8f))throw _0x29be8f[_0x221672(0x4c3)];_0x43b816=_0x29be8f[_0x221672(0x433)];}return{...a['Tools'][_0x221672(0x3d8)](_0x4dfaf4),'mutations':[_0x43b816]};}[_0x714a18(0x62e)](_0x1a7069){const _0x31a02f=_0x714a18,{unitID:_0x498279}=_0x1a7069,_0x4bd7e3=this[_0x31a02f(0x4d2)][_0x31a02f(0x36a)](_0x498279)[_0x31a02f(0x267)](Z[_0x31a02f(0x38f)]),{undoCache:_0x4692ae,redoCache:_0x5c5a7e}=_0x4bd7e3[_0x31a02f(0x582)]();if(_0x4692ae[_0x31a02f(0x5a6)]===0x0||_0x5c5a7e[_0x31a02f(0x5a6)]===0x0)return;const _0x15106d=[],_0x526e2a=[];let _0xb6d204=a[_0x31a02f(0x392)]['deepClone'](_0x1a7069[_0x31a02f(0x2e1)][0x0]),_0x15d1f9=a[_0x31a02f(0x392)][_0x31a02f(0x3d8)](_0x1a7069[_0x31a02f(0x2e1)][0x0]);for(let _0x215b73=_0x4692ae[_0x31a02f(0x5a6)]-0x1;_0x215b73>=0x0;_0x215b73--){const _0x5e7c44={'id':_0x31a02f(0x458),'params':{..._0x4692ae[_0x215b73]}},_0x3fd738={'id':'doc.mutation.rich-text-editing','params':{..._0x5c5a7e[_0x215b73]}},_0xb33822=this[_0x31a02f(0x2e2)]['transformMutation'](_0xb6d204,_0x5e7c44,!0x1),_0x1a37b5=this[_0x31a02f(0x2e2)][_0x31a02f(0x218)](_0x15d1f9,_0x3fd738,!0x1);if(p['isTransformMutationFailure'](_0xb33822))throw _0xb33822['error'];if(p[_0x31a02f(0x4a4)](_0x1a37b5))throw _0x1a37b5[_0x31a02f(0x4c3)];_0x15106d[_0x31a02f(0x251)](_0xb33822[_0x31a02f(0x3cd)][_0x31a02f(0x25e)]),_0x526e2a['unshift'](_0x1a37b5[_0x31a02f(0x3cd)][_0x31a02f(0x25e)]),_0xb6d204=_0xb33822[_0x31a02f(0x433)],_0x15d1f9=_0x1a37b5[_0x31a02f(0x433)];}_0x4bd7e3['setUndoRedoMutationParamsCache']({'undoCache':_0x15106d,'redoCache':_0x526e2a});}[_0x714a18(0x28b)](_0x5f4bc8){const _0x374112=_0x714a18,{unitID:_0x572b07}=_0x5f4bc8,_0x413a93=this[_0x374112(0x4d2)][_0x374112(0x36a)](_0x572b07)[_0x374112(0x267)](Z['DocIMEInputManagerService']),_0x46b8d1=_0x413a93[_0x374112(0x1e3)]();if(_0x46b8d1==null)return;const _0x2590dc=[{'id':_0x374112(0x458),'params':{'unitId':_0x5f4bc8[_0x374112(0x576)],'actions':null,'textRanges':[_0x46b8d1]}}],_0xfee88f=this['_transformService'][_0x374112(0x5d6)](_0x5f4bc8,_0x2590dc);if(!p[_0x374112(0x2a9)](_0xfee88f))throw _0xfee88f['error'];const _0x51edcb=_0xfee88f[_0x374112(0x3cd)][0x0][_0x374112(0x25e)][_0x374112(0x34f)];Array[_0x374112(0x3e3)](_0x51edcb)&&_0x51edcb[_0x374112(0x5a6)]&&_0x413a93['setActiveRange'](_0x51edcb[0x0]);}};ke=gi([Ze(0x0,a['Inject'](a[_0x714a18(0x2cb)])),Ze(0x1,p['ITransformService']),Ze(0x2,K[_0x714a18(0x408)])],ke);var Ii=Object[_0x714a18(0x1d2)],Ci=Object[_0x714a18(0x254)],Ei=(_0x4b18d5,_0x36eb4f,_0x16aad7,_0x1826c2)=>{const _0x11bfef=_0x714a18;for(var _0x2dcbab=_0x1826c2>0x1?void 0x0:_0x1826c2?Ci(_0x36eb4f,_0x16aad7):_0x36eb4f,_0x4e79b6=_0x4b18d5[_0x11bfef(0x5a6)]-0x1,_0x42ecef;_0x4e79b6>=0x0;_0x4e79b6--)(_0x42ecef=_0x4b18d5[_0x4e79b6])&&(_0x2dcbab=(_0x1826c2?_0x42ecef(_0x36eb4f,_0x16aad7,_0x2dcbab):_0x42ecef(_0x2dcbab))||_0x2dcbab);return _0x1826c2&&_0x2dcbab&&Ii(_0x36eb4f,_0x16aad7,_0x2dcbab),_0x2dcbab;},Pe=(_0x196fc3,_0x1e599b)=>(_0x2b69f0,_0x38c831)=>_0x1e599b(_0x2b69f0,_0x38c831,_0x196fc3);exports[_0x714a18(0x53c)]=class extends a['Disposable']{constructor(_0x36ba9f,_0x389027,_0x53d6bb,_0x22eb44,_0x134a36){const _0x145c69=_0x714a18;super(),I(this,_0x145c69(0x3bf),new Map()),I(this,_0x145c69(0x1ac),new Map()),I(this,_0x145c69(0x5d8),!0x1),(this[_0x145c69(0x3dc)]=_0x36ba9f,this[_0x145c69(0x2ad)]=_0x389027,this[_0x145c69(0x52d)]=_0x53d6bb,this[_0x145c69(0x467)]=_0x22eb44,this['_revisionService']=_0x134a36,this['_setupBeforeClosingHandler']());}['disableLocalCache'](){const _0x290c5d=_0x714a18;this[_0x290c5d(0x5d8)]=!0x0;}[_0x714a18(0x51e)](){this['_disabled']=!0x1;}[_0x714a18(0x19e)](){const _0x550900=_0x714a18;this['exhaustSavingTask']()[_0x550900(0x27c)](()=>super[_0x550900(0x19e)]());}async['loadOfflineData'](_0x26f742){const _0x567671=_0x714a18;return this['_disabled']?null:this['_localStorageService'][_0x567671(0x4a5)](Mt(_0x26f742));}async[_0x714a18(0x200)](_0x5cfa0c,_0x29382a){const _0xceb88d=_0x714a18;return!!this[_0xceb88d(0x2ad)]['setItem'](_0x5cfa0c,_0x29382a);}[_0x714a18(0x215)](_0x501bbb,_0x172f2b,_0x3e2795,_0x31d01d){const _0x2ea844=_0x714a18,_0x3fd702=this[_0x2ea844(0x574)][_0x2ea844(0x445)](_0x501bbb);this[_0x2ea844(0x3bf)][_0x2ea844(0x3d0)](_0x501bbb,{'unitID':_0x501bbb,'type':_0x172f2b,'awaitingChangeset':_0x3e2795,'mutations':_0x31d01d,'rev':_0x3fd702}),this[_0x2ea844(0x1ac)][_0x2ea844(0x21d)](_0x501bbb)||this[_0x2ea844(0x635)](_0x501bbb);}[_0x714a18(0x635)](_0x5c48c4){const _0x70c23c=_0x714a18,_0x1f7fba=this[_0x70c23c(0x510)]();_0x1f7fba===0x0?this[_0x70c23c(0x2f0)](_0x5c48c4):this['_saveTaskMap'][_0x70c23c(0x3d0)](_0x5c48c4,setTimeout(()=>this[_0x70c23c(0x2f0)](_0x5c48c4),_0x1f7fba));}[_0x714a18(0x510)](){const _0x3cefd6=_0x714a18;var _0x170621;return(_0x170621=this[_0x3cefd6(0x3dc)]['getConfig'](nn))!=null?_0x170621:Yn;}['_saveCache'](_0x206da0){const _0x1f49be=_0x714a18,_0x53c1a6=this[_0x1f49be(0x1ac)]['get'](_0x206da0);return _0x53c1a6!==void 0x0&&window['clearTimeout'](_0x53c1a6),this[_0x1f49be(0x2ad)][_0x1f49be(0x4f4)](Mt(_0x206da0),this['_cachedData'][_0x1f49be(0x1bc)](_0x206da0))[_0x1f49be(0x27c)](()=>this[_0x1f49be(0x1ac)][_0x1f49be(0x57c)](_0x206da0));}async[_0x714a18(0x33e)](){const _0x2e2977=_0x714a18,_0x2e0c8f=[];this[_0x2e2977(0x1ac)][_0x2e2977(0x39e)]((_0x5afe8b,_0x5807b0)=>{const _0x492d19=_0x2e2977;window['clearTimeout'](_0x5afe8b),_0x2e0c8f[_0x492d19(0x5a9)](this[_0x492d19(0x2f0)](_0x5807b0)['then'](()=>{const _0x115ec8=_0x492d19;this[_0x115ec8(0x1ac)][_0x115ec8(0x57c)](_0x5807b0);}));}),await Promise[_0x2e2977(0x4c1)](_0x2e0c8f);}[_0x714a18(0x1e5)](){const _0x5f188d=_0x714a18;this[_0x5f188d(0x580)](this[_0x5f188d(0x52d)][_0x5f188d(0x601)](()=>{const _0x128479=_0x5f188d;if(this['_saveTaskMap'][_0x128479(0x226)])return this['_localeService']['t'](_0x128479(0x360));}));}},exports[_0x714a18(0x53c)]=Ei([Pe(0x0,a[_0x714a18(0x292)]),Pe(0x1,a['ILocalStorageService']),Pe(0x2,te[_0x714a18(0x4ac)]),Pe(0x3,a['Inject'](a[_0x714a18(0x565)])),Pe(0x4,a['Inject'](p['RevisionService']))],exports[_0x714a18(0x53c)]);function Mt(_0x4b4f3b){const _0x5177c9=_0x714a18;return _0x5177c9(0x35f)+_0x4b4f3b;}var bi=Object[_0x714a18(0x1d2)],Ti=Object[_0x714a18(0x254)],Ri=(_0x21d41d,_0x2355a4,_0x1f16dc,_0xf857d)=>{const _0x4daff6=_0x714a18;for(var _0x4bbfff=_0xf857d>0x1?void 0x0:_0xf857d?Ti(_0x2355a4,_0x1f16dc):_0x2355a4,_0x88bce9=_0x21d41d[_0x4daff6(0x5a6)]-0x1,_0x53e071;_0x88bce9>=0x0;_0x88bce9--)(_0x53e071=_0x21d41d[_0x88bce9])&&(_0x4bbfff=(_0xf857d?_0x53e071(_0x2355a4,_0x1f16dc,_0x4bbfff):_0x53e071(_0x4bbfff))||_0x4bbfff);return _0xf857d&&_0x4bbfff&&bi(_0x2355a4,_0x1f16dc,_0x4bbfff),_0x4bbfff;},Qe=(_0x5380a4,_0x2d4e02)=>(_0x1e8570,_0x30430c)=>_0x2d4e02(_0x1e8570,_0x30430c,_0x5380a4);function yi(_0x47fab8){const _0x24bddd=_0x714a18,{unitID:_0x4dd4d9,mutations:_0x2b2e59}=_0x47fab8;return{'unitId':_0x4dd4d9,'subUnitId':_0x2b2e59[0x0]['params'][_0x24bddd(0x53f)]};}let Be=class{constructor(_0x307403,_0x56c614,_0x250ed1){const _0x395b13=_0x714a18;this[_0x395b13(0x5eb)]=_0x307403,this[_0x395b13(0x2e2)]=_0x56c614,this['_instanceService']=_0x250ed1;}[_0x714a18(0x213)](_0xf987ea){const _0x17e67=_0x714a18;var _0xce5a22,_0x3752fd,_0x535de9,_0x5b154c;const _0x18d5cc=this[_0x17e67(0x5eb)][_0x17e67(0x1bc)](B[_0x17e67(0x484)]),{unitId:_0x333d4d,subUnitId:_0x19b260}=yi(_0xf987ea),_0x1a73f0=_0x18d5cc[_0x17e67(0x26e)](_0x333d4d)[_0x17e67(0x31d)](),_0x3b7127=(_0x3752fd=(_0xce5a22=this[_0x17e67(0x615)][_0x17e67(0x34c)](_0x333d4d))==null?void 0x0:_0xce5a22['getActiveSheet']())==null?void 0x0:_0x3752fd[_0x17e67(0x424)]();if(_0x1a73f0[_0x17e67(0x5a6)]===0x0||!_0x333d4d||!_0x19b260)return;const _0x59727b=[{'id':B[_0x17e67(0x384)]['id'],'params':{'unitId':_0x333d4d,'subUnitId':_0x3b7127,'selections':a[_0x17e67(0x392)][_0x17e67(0x3d8)](_0x1a73f0)}}],_0x2ff3a2=this[_0x17e67(0x2e2)][_0x17e67(0x5d6)](_0xf987ea,_0x59727b);if(!p['isTransformMutationsWithChangesetSuccess'](_0x2ff3a2))throw _0x2ff3a2[_0x17e67(0x4c3)];const _0x120d0f=(_0x5b154c=(_0x535de9=_0x2ff3a2[_0x17e67(0x3cd)][0x0])==null?void 0x0:_0x535de9[_0x17e67(0x25e)])==null?void 0x0:_0x5b154c[_0x17e67(0x2a1)];if(Array[_0x17e67(0x3e3)](_0x120d0f)&&_0x120d0f[_0x17e67(0x5a6)]){if(_0x120d0f['length']===_0x59727b[0x0][_0x17e67(0x25e)][_0x17e67(0x2a1)][_0x17e67(0x5a6)]&&_0x120d0f[_0x17e67(0x252)]((_0x3f1317,_0x33f376)=>a['Rectangle'][_0x17e67(0x623)](_0x3f1317['range'],_0x59727b[0x0][_0x17e67(0x25e)][_0x17e67(0x2a1)][_0x33f376][_0x17e67(0x531)])))return;this[_0x17e67(0x5eb)][_0x17e67(0x1bc)](a['ICommandService'])['executeCommand'](B[_0x17e67(0x384)]['id'],{'unitId':_0x333d4d,'subUnitId':_0x3b7127,'selections':_0x120d0f});}}};Be=Ri([Qe(0x0,a[_0x714a18(0x5ce)](a[_0x714a18(0x2cb)])),Qe(0x1,p[_0x714a18(0x1db)]),Qe(0x2,a[_0x714a18(0x617)])],Be);const qe=a['createIdentifier'](_0x714a18(0x1a5));var hn=(_0x2da10d=>(_0x2da10d[_0x2da10d[_0x714a18(0x54c)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x2da10d[_0x2da10d[_0x714a18(0x1e4)]=0x1]=_0x714a18(0x1e4),_0x2da10d))(hn||{});const At=0x7530,Nt=_0x714a18(0x449);class Oi extends a[_0x714a18(0x5aa)]{constructor(){const _0x8ce0ae=_0x714a18;super(),I(this,_0x8ce0ae(0x5e9),a[_0x8ce0ae(0x392)]['generateRandomId']()),I(this,_0x8ce0ae(0x554),new Set()),I(this,'_unitOnClients',new Map()),I(this,_0x8ce0ae(0x2fa),null),I(this,_0x8ce0ae(0x561),new Map()),I(this,_0x8ce0ae(0x3a0),new Map()),this[_0x8ce0ae(0x26c)]();}[_0x714a18(0x19e)](){const _0x5ba9a1=_0x714a18;super[_0x5ba9a1(0x19e)](),this['_clearOtherTimers'][_0x5ba9a1(0x39e)]((_0x381846,_0x211b27)=>this[_0x5ba9a1(0x3b0)](_0x211b27)),this[_0x5ba9a1(0x2fa)]&&window[_0x5ba9a1(0x5f1)](this['_heartbeatTimer']);}[_0x714a18(0x2d6)](_0x2e73e3){const _0x142140=_0x714a18;return this['_ensureSubject'](_0x2e73e3)[_0x142140(0x52c)](A['distinctUntilChanged']());}[_0x714a18(0x61e)](_0x5e2227){const _0x4fa9f2=_0x714a18;this['_selfUnitIDs'][_0x4fa9f2(0x226)]===0x0&&this[_0x4fa9f2(0x4a3)](),this['_selfUnitIDs']['add'](_0x5e2227),this['_send']({'type':0x0,'memberID':this[_0x4fa9f2(0x5e9)],'unitIDs':[_0x5e2227],'isForwarded':!0x1});}[_0x714a18(0x496)](_0x44647d){const _0xa8b7e1=_0x714a18;this['_selfUnitIDs'][_0xa8b7e1(0x57c)](_0x44647d),this['_selfUnitIDs'][_0xa8b7e1(0x226)]===0x0&&this[_0xa8b7e1(0x2fa)]&&window['clearInterval'](this[_0xa8b7e1(0x2fa)]);}[_0x714a18(0x26c)](){const _0x1789a9=_0x714a18;this[_0x1789a9(0x580)](a['toDisposable'](A[_0x1789a9(0x35a)](window,'storage')[_0x1789a9(0x47b)](_0x3d7de3=>{const _0x53a5f0=_0x1789a9;if(_0x3d7de3[_0x53a5f0(0x55d)]!==Nt||!_0x3d7de3[_0x53a5f0(0x543)])return;const _0x3f99ef=JSON[_0x53a5f0(0x55a)](_0x3d7de3[_0x53a5f0(0x543)]);this[_0x53a5f0(0x1b6)](_0x3f99ef);}))),window[_0x1789a9(0x4e4)]('unload',()=>this[_0x1789a9(0x5b6)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x55cfb2){const _0x18f4e7=_0x714a18;switch(_0x55cfb2[_0x18f4e7(0x283)]){case 0x0:this['_handleJoinEvent'](_0x55cfb2);break;case 0x1:this[_0x18f4e7(0x1f3)](_0x55cfb2);break;case 0x2:this['_handleHeartbeatEvent'](_0x55cfb2);break;}}[_0x714a18(0x5bc)](_0x3de6fa){const _0x4f9d8e=_0x714a18,{unitIDs:_0x40407e,memberID:_0x1a78b1,isForwarded:_0x1081bf}=_0x3de6fa;_0x40407e[_0x4f9d8e(0x39e)](_0x2b235f=>{const _0x3f2ae2=_0x4f9d8e;if(!_0x1081bf&&this['_unitOnClients']['has'](_0x2b235f)&&this[_0x3f2ae2(0x3cf)](_0x2b235f)[_0x3f2ae2(0x5c5)](0x1),!this[_0x3f2ae2(0x2f9)][_0x3f2ae2(0x21d)](_0x2b235f)||!this[_0x3f2ae2(0x2f9)][_0x3f2ae2(0x1bc)](_0x2b235f)[_0x3f2ae2(0x21d)](_0x1a78b1)){const _0x1b14f0=this[_0x3f2ae2(0x2f9)][_0x3f2ae2(0x1bc)](_0x2b235f)||new Set();_0x1b14f0[_0x3f2ae2(0x2fc)](_0x1a78b1),this[_0x3f2ae2(0x2f9)][_0x3f2ae2(0x3d0)](_0x2b235f,_0x1b14f0),this[_0x3f2ae2(0x38b)](_0x1a78b1);}}),_0x1081bf||this[_0x4f9d8e(0x5b6)]({'type':0x0,'memberID':this[_0x4f9d8e(0x5e9)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x714a18(0x38b)](_0x52a713){const _0xf52db6=_0x714a18;this[_0xf52db6(0x3b0)](_0x52a713);const _0x3fab58=window[_0xf52db6(0x339)](()=>{const _0x52e109=_0xf52db6;this[_0x52e109(0x2f9)][_0x52e109(0x39e)](_0xa11bc8=>{_0xa11bc8['delete'](_0x52a713);});},At*0x2);this[_0xf52db6(0x561)][_0xf52db6(0x3d0)](_0x52a713,_0x3fab58);}[_0x714a18(0x3b0)](_0x47e687){const _0x53296e=_0x714a18;if(this['_clearOtherTimers'][_0x53296e(0x21d)](_0x47e687)){const _0x5365c3=this[_0x53296e(0x561)][_0x53296e(0x1bc)](_0x47e687);_0x5365c3&&window[_0x53296e(0x3af)](_0x5365c3),this[_0x53296e(0x561)][_0x53296e(0x3d0)](_0x47e687,null);}}['_handleLeaveEvent'](_0x20c839){const _0x7c0f9f=_0x714a18,{memberID:_0x15cc37,unitIDs:_0x2509e8}=_0x20c839;_0x2509e8[_0x7c0f9f(0x39e)](_0x4323fa=>{const _0x4022f7=_0x7c0f9f;var _0x43db56;const _0x56c919=this[_0x4022f7(0x2f9)][_0x4022f7(0x1bc)](_0x4323fa);_0x56c919&&(_0x56c919['delete'](_0x15cc37),(_0x43db56=this[_0x4022f7(0x3cf)](_0x4323fa))==null||_0x43db56['next'](_0x56c919['size']===0x0?0x0:0x1));}),this[_0x7c0f9f(0x3b0)](_0x15cc37);}[_0x714a18(0x4b5)](_0x29b3bb){const _0x14d850=_0x714a18;this[_0x14d850(0x38b)](_0x29b3bb[_0x14d850(0x482)]);}['_send'](_0x4b4f2d){const _0x7d0d81=_0x714a18;localStorage[_0x7d0d81(0x4f4)](Nt,JSON[_0x7d0d81(0x570)](_0x4b4f2d));}['_scheduleHeartbeat'](){const _0x862ac2=_0x714a18;this[_0x862ac2(0x2fa)]=window[_0x862ac2(0x268)](()=>{const _0x1860c1=_0x862ac2;this[_0x1860c1(0x5b6)]({'type':0x2,'memberID':this[_0x1860c1(0x5e9)]});},At);}['_ensureSubject'](_0x129c23){const _0x40ebee=_0x714a18;return this[_0x40ebee(0x3a0)][_0x40ebee(0x21d)](_0x129c23)||this[_0x40ebee(0x3a0)]['set'](_0x129c23,new A[(_0x40ebee(0x638))](0x0)),this['_unitStatus']['get'](_0x129c23);}}var Di=Object[_0x714a18(0x1d2)],wi=Object[_0x714a18(0x254)],Pi=(_0x12a358,_0x3ba88e,_0x283800,_0x3d834a)=>{const _0x27b7c7=_0x714a18;for(var _0x296d16=_0x3d834a>0x1?void 0x0:_0x3d834a?wi(_0x3ba88e,_0x283800):_0x3ba88e,_0x3dc463=_0x12a358[_0x27b7c7(0x5a6)]-0x1,_0x29bd0e;_0x3dc463>=0x0;_0x3dc463--)(_0x29bd0e=_0x12a358[_0x3dc463])&&(_0x296d16=(_0x3d834a?_0x29bd0e(_0x3ba88e,_0x283800,_0x296d16):_0x29bd0e(_0x296d16))||_0x296d16);return _0x3d834a&&_0x296d16&&Di(_0x3ba88e,_0x283800,_0x296d16),_0x296d16;},et=(_0x56a312,_0x1898d4)=>(_0x219a79,_0x191e60)=>_0x1898d4(_0x219a79,_0x191e60,_0x56a312);let We=class{constructor(_0x4e308e,_0x23dbe9,_0x23f476){const _0x20aa3c=_0x714a18;this['_injector']=_0x4e308e,this[_0x20aa3c(0x2e2)]=_0x23dbe9,this['_docStateChangeManagerService']=_0x23f476;}[_0x714a18(0x61b)](_0x542dcc){const _0x59c36a=_0x714a18;this[_0x59c36a(0x306)](_0x542dcc);}['transformRemoteChangeset'](_0x167a8b){const _0x453bd0=_0x714a18,{unitID:_0x572002}=_0x167a8b,{collaboration:_0x246fe0}=this[_0x453bd0(0x4e9)][_0x453bd0(0x3c1)](_0x572002);if(_0x246fe0[_0x453bd0(0x5a6)]===0x0)return _0x167a8b;let _0x710914=a[_0x453bd0(0x392)]['deepClone'](_0x167a8b[_0x453bd0(0x2e1)][0x0]);for(let _0x549093=0x0;_0x549093<_0x246fe0[_0x453bd0(0x5a6)];_0x549093++){const _0x354cc2={'id':_0x453bd0(0x458),'params':{'unitId':_0x246fe0[_0x549093][_0x453bd0(0x219)],..._0x246fe0[_0x549093][_0x453bd0(0x38d)]}},_0x5aa6e6=this[_0x453bd0(0x2e2)][_0x453bd0(0x218)](_0x710914,_0x354cc2,!0x1);if(p[_0x453bd0(0x4a4)](_0x5aa6e6))throw _0x5aa6e6[_0x453bd0(0x4c3)];_0x710914=_0x5aa6e6[_0x453bd0(0x433)];}return{...a[_0x453bd0(0x392)]['deepClone'](_0x167a8b),'mutations':[_0x710914]};}['_transformHistoryAndStateStack'](_0x366900){const _0x599099=_0x714a18,{unitID:_0xfc70e0}=_0x366900,{history:_0x1cecf9,collaboration:_0x1a4d3b}=this['_docStateChangeManagerService'][_0x599099(0x3c1)](_0xfc70e0);if(_0x1cecf9['length']===0x0&&_0x1a4d3b[_0x599099(0x5a6)]===0x0)return;const _0xbabe47=[],_0x2cd504=[];let _0x1d5d98=a['Tools'][_0x599099(0x3d8)](_0x366900[_0x599099(0x2e1)][0x0]),_0x5a2eca=a[_0x599099(0x392)][_0x599099(0x3d8)](_0x366900[_0x599099(0x2e1)][0x0]);for(let _0x2576a3=_0x1cecf9[_0x599099(0x5a6)]-0x1;_0x2576a3>=0x0;_0x2576a3--){const _0x16d29f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1cecf9[_0x2576a3][_0x599099(0x219)],..._0x1cecf9[_0x2576a3]['undoState']}},_0x309db5={'id':_0x599099(0x458),'params':{'unitId':_0x1cecf9[_0x2576a3][_0x599099(0x219)],..._0x1cecf9[_0x2576a3][_0x599099(0x38d)]}},_0x47ad7b=this[_0x599099(0x2e2)][_0x599099(0x218)](_0x1d5d98,_0x16d29f,!0x1),_0x57020b=this[_0x599099(0x2e2)][_0x599099(0x218)](_0x5a2eca,_0x309db5,!0x1);if(p[_0x599099(0x4a4)](_0x47ad7b))throw _0x47ad7b['error'];if(p[_0x599099(0x4a4)](_0x57020b))throw _0x57020b[_0x599099(0x4c3)];_0xbabe47[_0x599099(0x251)]({..._0x1cecf9[_0x2576a3],'undoState':_0x47ad7b[_0x599099(0x3cd)]['params'],'redoState':_0x57020b['m2Prime'][_0x599099(0x25e)]}),_0x1d5d98=_0x47ad7b['m1Prime'],_0x5a2eca=_0x57020b['m1Prime'];}_0x1d5d98=a[_0x599099(0x392)][_0x599099(0x3d8)](_0x366900[_0x599099(0x2e1)][0x0]),_0x5a2eca=a[_0x599099(0x392)][_0x599099(0x3d8)](_0x366900[_0x599099(0x2e1)][0x0]);for(let _0x1f2548=_0x1a4d3b[_0x599099(0x5a6)]-0x1;_0x1f2548>=0x0;_0x1f2548--){const _0x569278={'id':_0x599099(0x458),'params':{'unitId':_0x1a4d3b[_0x1f2548][_0x599099(0x219)],..._0x1a4d3b[_0x1f2548][_0x599099(0x338)]}},_0x830de={'id':_0x599099(0x458),'params':{'unitId':_0x1a4d3b[_0x1f2548]['unitId'],..._0x1a4d3b[_0x1f2548][_0x599099(0x38d)]}},_0xb9448e=this['_transformService']['transformMutation'](_0x1d5d98,_0x569278,!0x1),_0x3af32f=this[_0x599099(0x2e2)][_0x599099(0x218)](_0x5a2eca,_0x830de,!0x1);if(p[_0x599099(0x4a4)](_0xb9448e))throw _0xb9448e['error'];if(p[_0x599099(0x4a4)](_0x3af32f))throw _0x3af32f[_0x599099(0x4c3)];_0x2cd504[_0x599099(0x251)]({..._0x1a4d3b[_0x1f2548],'undoState':_0xb9448e['m2Prime']['params'],'redoState':_0x3af32f[_0x599099(0x3cd)][_0x599099(0x25e)]}),_0x1d5d98=_0xb9448e[_0x599099(0x433)],_0x5a2eca=_0x3af32f[_0x599099(0x433)];}this[_0x599099(0x4e9)][_0x599099(0x400)](_0xfc70e0,{'history':_0xbabe47,'collaboration':_0x2cd504});}};We=Pi([et(0x0,a[_0x714a18(0x5ce)](a[_0x714a18(0x2cb)])),et(0x1,p['ITransformService']),et(0x2,a[_0x714a18(0x5ce)](Z[_0x714a18(0x56b)]))],We);function _n(_0x2c0fee){const _0x340629=_0x714a18;let _0x562f8='';for(const _0x3b2434 of _0x2c0fee){const {startOffset:_0x62bc97,endOffset:_0xfdf7fe,isActive:_0x3bdd38,rangeType:_0x3963a9,segmentId:_0x2fefbc,segmentPage:_0x576dac}=_0x3b2434;_0x562f8[_0x340629(0x5a6)]&&(_0x562f8+=','),_0x562f8+=_0x62bc97+':'+_0xfdf7fe+':'+(_0x3bdd38?'1':'0')+':'+_0x3963a9+':'+_0x2fefbc+':'+_0x576dac;}return _0x562f8;}function Ui(_0x5da7f1){const _0x578eb2=_0x714a18,_0x537545=_0x5da7f1[_0x578eb2(0x1ea)](','),_0xbee817=[];for(const _0x333623 of _0x537545){const [_0x13cdcf,_0x15d5b8,_0x6bc9cf,_0x4ed4c7,_0x379097,_0xfcfcb2]=_0x333623[_0x578eb2(0x1ea)](':');_0xbee817[_0x578eb2(0x5a9)]({'startOffset':Number(_0x13cdcf),'endOffset':Number(_0x15d5b8),'collapsed':_0x13cdcf===_0x15d5b8,'isActive':_0x6bc9cf==='1','rangeType':_0x4ed4c7===a[_0x578eb2(0x1d7)][_0x578eb2(0x472)]?a[_0x578eb2(0x1d7)]['TEXT']:a['DOC_RANGE_TYPE'][_0x578eb2(0x5b1)],'segmentId':typeof _0x379097==_0x578eb2(0x461)?String(_0x379097):'','segmentPage':Number(_0xfcfcb2!=null?_0xfcfcb2:-0x1)});}return _0xbee817[_0x578eb2(0x627)](_0x32defc=>_0x32defc[_0x578eb2(0x41f)])||(_0xbee817[0x0]['isActive']=!0x0),_0xbee817;}class Tt extends a['RxDisposable']{constructor(){const _0x4d1162=_0x714a18;super(...arguments),I(this,_0x4d1162(0x1b2),new A[(_0x4d1162(0x638))](null)),I(this,_0x4d1162(0x3d7),this['_collabCursorState$'][_0x4d1162(0x23c)]());}[_0x714a18(0x468)](_0x3939b8){const _0x34d771=_0x714a18,{unitID:_0x42a838,memberID:_0x59afc4,textRanges:_0x23f862}=_0x3939b8,_0x26b46a=_n(_0x23f862);if(_0x26b46a==='')return;const _0x7f8f47={'unitID':_0x42a838,'memberID':_0x59afc4,'selection':_0x26b46a};this[_0x34d771(0x1b2)]['next'](_0x7f8f47);}}var Mi=Object[_0x714a18(0x1d2)],Ai=Object[_0x714a18(0x254)],Ni=(_0x429408,_0x131be3,_0x146146,_0x1d09aa)=>{const _0x134b8b=_0x714a18;for(var _0x6ed77e=_0x1d09aa>0x1?void 0x0:_0x1d09aa?Ai(_0x131be3,_0x146146):_0x131be3,_0x3020f1=_0x429408[_0x134b8b(0x5a6)]-0x1,_0x27adfb;_0x3020f1>=0x0;_0x3020f1--)(_0x27adfb=_0x429408[_0x3020f1])&&(_0x6ed77e=(_0x1d09aa?_0x27adfb(_0x131be3,_0x146146,_0x6ed77e):_0x27adfb(_0x6ed77e))||_0x6ed77e);return _0x1d09aa&&_0x6ed77e&&Mi(_0x131be3,_0x146146,_0x6ed77e),_0x6ed77e;},Lt=(_0x4b8332,_0x46a4a8)=>(_0xaadd01,_0x25587c)=>_0x46a4a8(_0xaadd01,_0x25587c,_0x4b8332);let Fe=class{constructor(_0x23afa6,_0x25a7aa){const _0xfe729=_0x714a18;this[_0xfe729(0x5eb)]=_0x23afa6,this[_0xfe729(0x2e2)]=_0x25a7aa;}['transformSelections'](_0x54ea5e){const _0x383b85=_0x714a18;var _0x3eb8ee;const _0x7a5f2a=this[_0x383b85(0x5eb)][_0x383b85(0x1bc)](ye['DocSelectionManagerService']),_0x502805=(_0x3eb8ee=_0x7a5f2a[_0x383b85(0x5e0)]())!=null?_0x3eb8ee:[];if(_0x502805[_0x383b85(0x5a6)]===0x0)return;const _0x2085da=_0x54ea5e[_0x383b85(0x576)],_0x43a2ad=[{'id':_0x383b85(0x458),'params':{'unitId':_0x2085da,'actions':null,'textRanges':_0x502805}}],_0x1e69e7=this['_transformService']['transformMutationsWithChangeset'](_0x54ea5e,_0x43a2ad);if(!p[_0x383b85(0x2a9)](_0x1e69e7))throw _0x1e69e7[_0x383b85(0x4c3)];const _0x28303a=_0x1e69e7['m2Prime'][0x0][_0x383b85(0x25e)][_0x383b85(0x34f)];Array['isArray'](_0x28303a)&&_0x28303a[_0x383b85(0x5a6)]&&_0x7a5f2a[_0x383b85(0x371)](_0x28303a,{'unitId':_0x2085da,'subUnitId':_0x2085da},!0x1);}};Fe=Ni([Lt(0x0,a[_0x714a18(0x5ce)](a[_0x714a18(0x2cb)])),Lt(0x1,p[_0x714a18(0x1db)])],Fe);const Li=new Set([B['InsertSheetMutation']['id']]);function xt(_0x492d66,_0x5d5fc2,_0xa667d2,_0x35ba68,_0x205764){const _0x581603=_0x714a18;var _0x2d83dc,_0x58fa67,_0xceb52c,_0x3b3b00;const _0x3c0935=[];for(const _0x4700f8 of _0x492d66)if(Li[_0x581603(0x21d)](_0x4700f8['id'])){if(_0x3c0935['length']>0x0)break;_0x3c0935[_0x581603(0x5a9)](_0x4700f8);break;}else _0x3c0935[_0x581603(0x5a9)](_0x4700f8);const _0x10ff3b=(_0x58fa67=(_0x2d83dc=_0x205764[_0x581603(0x176)]())==null?void 0x0:_0x2d83dc[_0x581603(0x515)])!=null?_0x58fa67:_0x581603(0x4a8),_0x270df7=(_0x3b3b00=(_0xceb52c=_0x205764[_0x581603(0x176)]())==null?void 0x0:_0xceb52c['memberID'])!=null?_0x3b3b00:'unknown';return{'changeset':{'unitID':_0x5d5fc2,'type':p[_0x581603(0x2b6)](_0xa667d2['getUnitType'](_0x5d5fc2)),'baseRev':_0x35ba68[_0x581603(0x445)](_0x5d5fc2),'revision':0x0,'userID':_0x10ff3b,'memberID':_0x270df7,'mutations':_0x3c0935},'pendingMutations':_0x492d66['slice'](_0x3c0935[_0x581603(0x5a6)])};}function xi(_0x7b6367,_0x2225f7,_0x3e8279,_0x593321,_0x2d151b){const _0x3f309e=_0x714a18;var _0x20e951,_0x50283f,_0x39ac45,_0x336ae5;const _0x215ab5=[_0x7b6367[_0x3f309e(0x4b2)]((_0x1712f1,_0x4a9ad4)=>{const _0x2b6f80=_0x3f309e;var _0xb22bd1;const {id:_0xf1116b}=_0x1712f1,{id:_0x418395,type:_0x404fc6}=_0x4a9ad4,_0x5043d0=(_0xb22bd1=_0x1712f1['params'])!=null?_0xb22bd1:{'actions':null},_0x6e3f2d=_0x4a9ad4[_0x2b6f80(0x25e)];if(_0xf1116b&&_0xf1116b!==_0x418395)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0xf1116b+_0x2b6f80(0x390)+_0x418395+'.');return{..._0x1712f1,'id':_0x418395,'type':_0x404fc6,'params':{'unitId':_0x6e3f2d[_0x2b6f80(0x219)],'textRanges':_0x6e3f2d[_0x2b6f80(0x34f)],'actions':a[_0x2b6f80(0x41d)][_0x2b6f80(0x62a)](_0x5043d0[_0x2b6f80(0x431)],_0x6e3f2d['actions'])}};},{})],_0x526144=(_0x50283f=(_0x20e951=_0x2d151b[_0x3f309e(0x176)]())==null?void 0x0:_0x20e951['userID'])!=null?_0x50283f:'unknown',_0x2fab36=(_0x336ae5=(_0x39ac45=_0x2d151b[_0x3f309e(0x176)]())==null?void 0x0:_0x39ac45[_0x3f309e(0x482)])!=null?_0x336ae5:'unknown';return{'changeset':{'unitID':_0x2225f7,'type':p[_0x3f309e(0x2b6)](_0x3e8279['getUnitType'](_0x2225f7)),'baseRev':_0x593321['getCurrentRevOfUnit'](_0x2225f7),'revision':0x0,'userID':_0x526144,'memberID':_0x2fab36,'mutations':_0x215ab5},'pendingMutations':[]};}function un(_0x529a6a,_0x1a1275){const _0x1349ed=_0x714a18,_0xd6171=new A[(_0x1349ed(0x2d8))](0x1);return setTimeout(()=>_0xd6171[_0x1349ed(0x5c5)](_0x1a1275),_0x529a6a),_0xd6171[_0x1349ed(0x23c)]()[_0x1349ed(0x52c)](A['take'](0x1));}const ji={'id':B[_0x714a18(0x286)]['id'],'type':a[_0x714a18(0x28f)][_0x714a18(0x53a)],'params':{}};var $i=Object[_0x714a18(0x1d2)],Hi=Object[_0x714a18(0x254)],Ce=(_0x1b9187,_0xb752e4,_0x5ec284,_0x4c3b60)=>{const _0x44ebc8=_0x714a18;for(var _0x19e4f6=_0x4c3b60>0x1?void 0x0:_0x4c3b60?Hi(_0xb752e4,_0x5ec284):_0xb752e4,_0x4b189e=_0x1b9187[_0x44ebc8(0x5a6)]-0x1,_0xcff499;_0x4b189e>=0x0;_0x4b189e--)(_0xcff499=_0x1b9187[_0x4b189e])&&(_0x19e4f6=(_0x4c3b60?_0xcff499(_0xb752e4,_0x5ec284,_0x19e4f6):_0xcff499(_0x19e4f6))||_0x19e4f6);return _0x4c3b60&&_0x19e4f6&&$i(_0xb752e4,_0x5ec284,_0x19e4f6),_0x19e4f6;},N=(_0x5a97fe,_0x215300)=>(_0x44eebb,_0x11840e)=>_0x215300(_0x44eebb,_0x11840e,_0x5a97fe),q=(_0xbe08ea=>(_0xbe08ea[_0x714a18(0x377)]='not_collab',_0xbe08ea[_0x714a18(0x1c2)]=_0x714a18(0x3d3),_0xbe08ea[_0x714a18(0x622)]='pending',_0xbe08ea[_0x714a18(0x274)]=_0x714a18(0x63e),_0xbe08ea['AWAITING_WITH_PENDING']=_0x714a18(0x59d),_0xbe08ea[_0x714a18(0x4d1)]=_0x714a18(0x541),_0xbe08ea[_0x714a18(0x523)]=_0x714a18(0x500),_0xbe08ea[_0x714a18(0x3c6)]=_0x714a18(0x528),_0xbe08ea))(q||{});const dn=0xea60;class Ee{constructor(_0x102ac5,_0x3782d7,_0x1fb307,_0x28f755,_0x203d99,_0x4ecb1c,_0x2c506a,_0x730f92,_0x1cec14){const _0x10e3d5=_0x714a18;I(this,_0x10e3d5(0x3c9),null),I(this,'_pendingMutations',[]),(this['unitID']=_0x102ac5,this[_0x10e3d5(0x283)]=_0x3782d7,this[_0x10e3d5(0x625)]=_0x203d99,this[_0x10e3d5(0x266)]=_0x4ecb1c,this[_0x10e3d5(0x536)]=_0x2c506a,this[_0x10e3d5(0x574)]=_0x730f92,this['_localCacheService']=_0x1cec14,this[_0x10e3d5(0x3c9)]=_0x1fb307,this[_0x10e3d5(0x5c3)]=_0x28f755);}[_0x714a18(0x205)](_0x557128){const _0x2c023d=_0x714a18,_0x45c2d9=this[_0x2c023d(0x574)][_0x2c023d(0x445)](this['unitID']);return _0x557128[_0x2c023d(0x18c)]>_0x45c2d9+0x1?(this['_handler'][_0x2c023d(0x628)]({'from':_0x45c2d9,'to':_0x557128[_0x2c023d(0x18c)]-0x1}),!0x0):!0x1;}[_0x714a18(0x3a2)](_0x455a8a){const _0x4df19c=_0x714a18;this['_undoRedoService'][_0x4df19c(0x3b1)](this[_0x4df19c(0x576)],_0x455a8a);}[_0x714a18(0x20a)](_0x3f7c94){const _0x4586fb=_0x714a18;var _0xcdf063,_0x2eacf6;(_0x2eacf6=(_0xcdf063=this[_0x4586fb(0x625)])[_0x4586fb(0x48d)])==null||_0x2eacf6['call'](_0xcdf063,_0x3f7c94);}[_0x714a18(0x22b)](_0x1396b7){const _0x1d5f75=_0x714a18;var _0x11f23a,_0x4f6cac;return(_0x4f6cac=(_0x11f23a=this[_0x1d5f75(0x625)])[_0x1d5f75(0x186)])==null?void 0x0:_0x4f6cac['call'](_0x11f23a,_0x1396b7);}[_0x714a18(0x375)](_0x5b9283){const _0x4e9d09=_0x714a18;var _0x292b34,_0x15db61;return(_0x15db61=(_0x292b34=this[_0x4e9d09(0x625)])[_0x4e9d09(0x3de)])==null?void 0x0:_0x15db61['call'](_0x292b34,_0x5b9283);}[_0x714a18(0x1df)](_0x402148){const _0x28e78a=_0x714a18;var _0x1404ea,_0x588913,_0x19b017;return(_0x19b017=(_0x588913=(_0x1404ea=this[_0x28e78a(0x625)])[_0x28e78a(0x552)])==null?void 0x0:_0x588913[_0x28e78a(0x593)](_0x1404ea,_0x402148))!=null?_0x19b017:_0x402148;}[_0x714a18(0x21f)](_0x2b7515){const _0x527880=_0x714a18;var _0xae52ff,_0x790d8b,_0x5da8bf;return(_0x5da8bf=(_0x790d8b=(_0xae52ff=this['_handler'])[_0x527880(0x48b)])==null?void 0x0:_0x790d8b[_0x527880(0x593)](_0xae52ff,_0x2b7515))!=null?_0x5da8bf:_0x2b7515;}[_0x714a18(0x26a)](_0x19504d){const _0x37bc24=_0x714a18;var _0x1a5203,_0x205d12;if(this['type']===ie[_0x37bc24(0x5ff)]){const {unitID:_0x2d9c11,mutations:_0x353ba7,memberID:_0x554175}=_0x19504d,_0x11420e=_0x353ba7[0x0][_0x37bc24(0x25e)][_0x37bc24(0x34f)];Array[_0x37bc24(0x3e3)](_0x11420e)&&_0x11420e[_0x37bc24(0x5a6)]>0x0&&((_0x205d12=(_0x1a5203=this[_0x37bc24(0x625)])[_0x37bc24(0x41a)])==null||_0x205d12['call'](_0x1a5203,{'unitID':_0x2d9c11,'memberID':_0x554175,'textRanges':_0x11420e}));}}[_0x714a18(0x2bf)](){const _0x2fc9d6=_0x714a18;this[_0x2fc9d6(0x4c7)][_0x2fc9d6(0x215)](this['unitID'],this[_0x2fc9d6(0x283)],this['_awaitingChangeset'],this[_0x2fc9d6(0x5c3)]);}[_0x714a18(0x5fc)](){const _0x140952=_0x714a18;return this[_0x140952(0x574)][_0x140952(0x445)](this[_0x140952(0x576)]);}[_0x714a18(0x2eb)](){const _0x41a2c3=_0x714a18;this[_0x41a2c3(0x574)][_0x41a2c3(0x5fa)](this['unitID']);}[_0x714a18(0x634)](_0x2e50e8){const _0x56d80c=_0x714a18;var _0x36cdda;let _0x1c702e=this[_0x56d80c(0x1df)](_0x2e50e8);_0x1c702e=this[_0x56d80c(0x21f)](_0x1c702e);const _0x4201f7=a['sequenceExecute'](_0x1c702e[_0x56d80c(0x2e1)],this[_0x56d80c(0x266)],{'fromCollab':!0x0});if(!_0x4201f7[_0x56d80c(0x3fc)])throw _0x4201f7[_0x56d80c(0x4c3)]instanceof Error?_0x4201f7['error']:new Error((_0x36cdda=_0x4201f7['error'])!=null?_0x36cdda:_0x56d80c(0x579));this[_0x56d80c(0x22b)](_0x1c702e),this[_0x56d80c(0x375)](_0x1c702e),this[_0x56d80c(0x3a2)](_0x2e50e8),this['_transformSelections'](_0x1c702e),this[_0x56d80c(0x26a)](_0x1c702e),this['_incrementRevisionNumber']();}}let Oe=class extends Ee{constructor(_0x53ee2b,_0x2bf43b,_0x5f4d6f,_0x36d58c,_0x466c07,_0x5e89ea,_0x3c69cc,_0x6d5785,_0x3a8eec,_0x337602){const _0x57877d=_0x714a18;super(_0x53ee2b,_0x2bf43b,null,[],_0x5f4d6f,_0x6d5785,_0x3c69cc,_0x36d58c,_0x466c07),I(this,_0x57877d(0x269),'synced'),(this['_injector']=_0x5e89ea,this[_0x57877d(0x5be)]=_0x3a8eec,this[_0x57877d(0x2e2)]=_0x337602);}[_0x714a18(0x28a)](_0x1f3eea){const _0x41662e=_0x714a18,_0x420e4c=this[_0x41662e(0x5eb)][_0x41662e(0x62c)](ce,this[_0x41662e(0x576)],this[_0x41662e(0x283)],[_0x1f3eea],this[_0x41662e(0x625)]);return _0x420e4c[_0x41662e(0x5ed)](),_0x420e4c[_0x41662e(0x2bf)](),_0x420e4c;}[_0x714a18(0x1bf)](_0x275bd9){const _0x1ba4d5=_0x714a18;if(this['_checkMissing'](_0x275bd9))return this[_0x1ba4d5(0x5eb)][_0x1ba4d5(0x62c)](re,this[_0x1ba4d5(0x576)],this[_0x1ba4d5(0x283)],null,[],null,[_0x275bd9],this['_handler']);try{const _0x16f8fe=this[_0x1ba4d5(0x2e2)][_0x1ba4d5(0x5d6)](_0x275bd9,[ji]);if(p[_0x1ba4d5(0x2a9)](_0x16f8fe)){const {c1Prime:_0x4c04aa}=_0x16f8fe;return this['_executeRemoteChangeset'](_0x4c04aa),this;}throw _0x16f8fe[_0x1ba4d5(0x4c3)];}catch(_0x7a9026){return this[_0x1ba4d5(0x5be)][_0x1ba4d5(0x4c3)](_0x7a9026),this[_0x1ba4d5(0x25d)](!0x1);}}[_0x714a18(0x25d)](_0x4a4435){const _0x49f935=_0x714a18;return this['_injector'][_0x49f935(0x62c)](ve,this['unitID'],this[_0x49f935(0x283)],null,[],this[_0x49f935(0x625)],_0x4a4435);}[_0x714a18(0x179)](){const _0xff9595=_0x714a18;throw new Error(_0xff9595(0x529));}[_0x714a18(0x1ca)](){const _0x43f220=_0x714a18;throw new Error(_0x43f220(0x21b));}[_0x714a18(0x30f)](){return this;}[_0x714a18(0x5b2)](){const _0x1fead7=_0x714a18;return this[_0x1fead7(0x5eb)][_0x1fead7(0x62c)](Se,this['unitID'],this[_0x1fead7(0x283)],null,[],this[_0x1fead7(0x625)]);}['toggleOnline'](){return this;}[_0x714a18(0x5f2)](){const _0x348907=_0x714a18;throw new Error(_0x348907(0x4b7));}[_0x714a18(0x1b0)](){const _0x5a3b60=_0x714a18,_0x44c1cd=this['_revisionService'][_0x5a3b60(0x445)](this[_0x5a3b60(0x576)]);return this[_0x5a3b60(0x625)][_0x5a3b60(0x628)]({'from':_0x44c1cd,'to':0x0}),this[_0x5a3b60(0x5eb)]['createInstance'](re,this[_0x5a3b60(0x576)],this[_0x5a3b60(0x283)],null,[],null,[],this[_0x5a3b60(0x625)]);}};Oe=Ce([N(0x3,a[_0x714a18(0x5ce)](p['RevisionService'])),N(0x4,a[_0x714a18(0x5ce)](exports[_0x714a18(0x53c)])),N(0x5,a['Inject'](a[_0x714a18(0x2cb)])),N(0x6,a[_0x714a18(0x535)]),N(0x7,a[_0x714a18(0x1c8)]),N(0x8,a[_0x714a18(0x204)]),N(0x9,p['ITransformService'])],Oe);let ce=class extends Ee{constructor(_0x5b2965,_0x4f08e2,_0x4d7fed,_0x4c0ba3,_0x2942bd,_0x2049cf,_0x4af2eb,_0x5a5495,_0x17f240,_0x2cb868,_0x74a64e,_0xf1704f,_0x45a992,_0x1fe601){const _0x5d044b=_0x714a18;super(_0x5b2965,_0x4f08e2,null,_0x4d7fed,_0x4c0ba3,_0x2cb868,_0x1fe601,_0x2049cf,_0x4af2eb),I(this,_0x5d044b(0x269),_0x5d044b(0x320)),I(this,_0x5d044b(0x5a4),null),I(this,_0x5d044b(0x372),null),(this['_injector']=_0x2942bd,this[_0x5d044b(0x4bc)]=_0x5a5495,this[_0x5d044b(0x5be)]=_0x17f240,this[_0x5d044b(0x3dc)]=_0x74a64e,this[_0x5d044b(0x2e2)]=_0xf1704f,this['_univerInstanceService']=_0x45a992);}[_0x714a18(0x28a)](_0x324d11){const _0x43498d=_0x714a18;return this['_pendingMutations'][_0x43498d(0x5a9)](_0x324d11),this['_updateLocalCache'](),this;}[_0x714a18(0x1bf)](_0x7f4ca7){const _0x100dc7=_0x714a18;if(this[_0x100dc7(0x205)](_0x7f4ca7))return this['_clearScheduledTask'](),this[_0x100dc7(0x5eb)][_0x100dc7(0x62c)](re,this['unitID'],this[_0x100dc7(0x283)],null,this[_0x100dc7(0x5c3)],null,[_0x7f4ca7],this[_0x100dc7(0x625)]);try{const _0xbb87c3=this[_0x100dc7(0x2e2)][_0x100dc7(0x5d6)](_0x7f4ca7,this[_0x100dc7(0x5c3)]);if(p[_0x100dc7(0x2a9)](_0xbb87c3)){const {c1Prime:_0x180e6c,m2Prime:_0x257660}=_0xbb87c3;this[_0x100dc7(0x634)](_0x180e6c);const _0x581222=this['_injector'][_0x100dc7(0x62c)](ce,this[_0x100dc7(0x576)],this[_0x100dc7(0x283)],_0x257660,this[_0x100dc7(0x625)]);return this[_0x100dc7(0x255)](),_0x581222[_0x100dc7(0x5ed)](this[_0x100dc7(0x5a4)]?Math[_0x100dc7(0x208)](0x0,new Date()[_0x100dc7(0x45d)]()-this[_0x100dc7(0x5a4)]):this[_0x100dc7(0x520)]()),_0x581222;}throw _0xbb87c3[_0x100dc7(0x4c3)];}catch(_0xca88ae){return this[_0x100dc7(0x5be)]['error'](_0xca88ae),this['_onConflict'](!0x1);}}[_0x714a18(0x179)](){const _0x5df0f3=_0x714a18;throw new Error(_0x5df0f3(0x438));}[_0x714a18(0x1ca)](){const _0xbb913f=_0x714a18;throw new Error(_0xbb913f(0x51f));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x57589a=_0x714a18;return this[_0x57589a(0x255)](),this[_0x57589a(0x5eb)][_0x57589a(0x62c)](Se,this[_0x57589a(0x576)],this['type'],null,this['_pendingMutations'],this['_handler']);}[_0x714a18(0x50e)](){return this;}[_0x714a18(0x5ed)](_0x5afe5a){const _0x3bbb34=_0x714a18,_0x131ac3=_0x5afe5a!=null?_0x5afe5a:this['_getSendChangesetTimeout']();this[_0x3bbb34(0x5a4)]=new Date()['getTime'](),this[_0x3bbb34(0x372)]=window[_0x3bbb34(0x339)](()=>{const _0x31baf5=_0x3bbb34;this[_0x31baf5(0x255)]();let _0x362654=null;switch(this[_0x31baf5(0x283)]){case ie['UNIVER_SHEET']:{_0x362654=xt(this[_0x31baf5(0x5c3)],this[_0x31baf5(0x576)],this[_0x31baf5(0x4c0)],this['_revisionService'],this[_0x31baf5(0x4bc)]);break;}case ie[_0x31baf5(0x5ff)]:{this[_0x31baf5(0x5c3)][_0x31baf5(0x252)](_0x27fc7e=>_0x27fc7e['id']===ye[_0x31baf5(0x454)]['id'])?_0x362654=xi(this['_pendingMutations'],this['unitID'],this[_0x31baf5(0x4c0)],this[_0x31baf5(0x574)],this[_0x31baf5(0x4bc)]):_0x362654=xt(this[_0x31baf5(0x5c3)],this[_0x31baf5(0x576)],this[_0x31baf5(0x4c0)],this[_0x31baf5(0x574)],this[_0x31baf5(0x4bc)]);break;}default:throw new Error(_0x31baf5(0x485)+this['type']+_0x31baf5(0x228));}const {changeset:_0x35ea45,pendingMutations:_0x4ac310}=_0x362654;this[_0x31baf5(0x625)][_0x31baf5(0x367)](_0x35ea45);const _0xe0aabf=_0x4ac310['length']?this['_injector'][_0x31baf5(0x62c)](le,this[_0x31baf5(0x576)],this[_0x31baf5(0x283)],_0x35ea45,_0x4ac310,this['_handler'],void 0x0):this[_0x31baf5(0x5eb)][_0x31baf5(0x62c)](fe,this[_0x31baf5(0x576)],this['type'],_0x35ea45,this['_handler']);_0xe0aabf[_0x31baf5(0x2bf)](),this[_0x31baf5(0x625)]['onStateChange'](this,_0xe0aabf);},_0x131ac3);}[_0x714a18(0x520)](){const _0x36c297=_0x714a18;var _0x6bbcb4;const _0x331b90=this[_0x36c297(0x3dc)][_0x36c297(0x49b)](ee);return(_0x6bbcb4=_0x331b90==null?void 0x0:_0x331b90[_0x36c297(0x25a)])!=null?_0x6bbcb4:kn;}[_0x714a18(0x5f2)](){const _0x384d58=_0x714a18;throw new Error(_0x384d58(0x558));}[_0x714a18(0x255)](){const _0xbb5b46=_0x714a18;this[_0xbb5b46(0x372)]!=null&&(clearTimeout(this[_0xbb5b46(0x372)]),this['_sendingTimer']=null);}['_onConflict'](_0x126536){const _0x56fbe2=_0x714a18;return this[_0x56fbe2(0x255)](),this['_injector'][_0x56fbe2(0x62c)](ve,this[_0x56fbe2(0x576)],this['type'],null,this[_0x56fbe2(0x5c3)],this[_0x56fbe2(0x625)],_0x126536);}};ce=Ce([N(0x4,a['Inject'](a['Injector'])),N(0x5,a[_0x714a18(0x5ce)](p['RevisionService'])),N(0x6,a['Inject'](exports['LocalCacheService'])),N(0x7,a[_0x714a18(0x5ce)](exports[_0x714a18(0x1f1)])),N(0x8,a[_0x714a18(0x204)]),N(0x9,a['ICommandService']),N(0xa,a[_0x714a18(0x292)]),N(0xb,p['ITransformService']),N(0xc,a[_0x714a18(0x617)]),N(0xd,a['IUndoRedoService'])],ce);let fe=class extends Ee{constructor(_0x5965e9,_0x57e6ce,_0x4faea6,_0x5a4b0f,_0x8b7662,_0x28f794,_0x53bb5e,_0x348c98,_0x47c184,_0x2c63a0,_0x435057){const _0x2514e5=_0x714a18;super(_0x5965e9,_0x57e6ce,_0x4faea6,[],_0x5a4b0f,_0x348c98,_0x435057,_0x28f794,_0x53bb5e),I(this,'status',_0x2514e5(0x63e)),I(this,_0x2514e5(0x614),0x0),I(this,_0x2514e5(0x27a)),I(this,_0x2514e5(0x4ec)),(this[_0x2514e5(0x5eb)]=_0x8b7662,this[_0x2514e5(0x5be)]=_0x47c184,this[_0x2514e5(0x2e2)]=_0x2c63a0);}[_0x714a18(0x28a)](_0x556237){const _0x515c89=_0x714a18;this['_clearScheduledTask']();const _0x33a351=this['_injector'][_0x515c89(0x62c)](le,this[_0x515c89(0x576)],this[_0x515c89(0x283)],this['_awaitingChangeset'],[_0x556237],this[_0x515c89(0x625)],this[_0x515c89(0x27a)]);return _0x33a351[_0x515c89(0x2bf)](),_0x33a351;}[_0x714a18(0x1bf)](_0x28ae4d){const _0x362f02=_0x714a18;if(this[_0x362f02(0x205)](_0x28ae4d))return this['_clearScheduledTask'](),this[_0x362f02(0x5eb)][_0x362f02(0x62c)](re,this[_0x362f02(0x576)],this[_0x362f02(0x283)],this[_0x362f02(0x3c9)],[],null,[_0x28ae4d],this[_0x362f02(0x625)]);try{const _0x577a2e=this['_transformService']['transformChangesets']([_0x28ae4d],[this[_0x362f02(0x3c9)]],!0x1);if(p[_0x362f02(0x4f1)](_0x577a2e)){const {c1Prime:_0xa83b81,c2Prime:_0x31054b}=_0x577a2e;this[_0x362f02(0x634)](_0xa83b81[0x0]),_0x31054b[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x4c0643=this['_injector'][_0x362f02(0x62c)](fe,this['unitID'],this[_0x362f02(0x283)],_0x31054b[0x0],this['_handler']);return _0x4c0643[_0x362f02(0x2bf)](),_0x4c0643;}return this['_onConflict'](!0x1);}catch(_0x4de4fa){return this[_0x362f02(0x5be)][_0x362f02(0x4c3)](_0x4de4fa),this['_onConflict'](!0x1);}}[_0x714a18(0x179)](_0x32eedf){const _0x8f67b8=_0x714a18;this[_0x8f67b8(0x255)]();const _0x509a1d=this[_0x8f67b8(0x574)]['getCurrentRevOfUnit'](this['unitID']);if(_0x32eedf[_0x8f67b8(0x18c)]<_0x509a1d-0x1)return this;if(this[_0x8f67b8(0x205)](_0x32eedf))return this[_0x8f67b8(0x5eb)][_0x8f67b8(0x62c)](re,this[_0x8f67b8(0x576)],this[_0x8f67b8(0x283)],null,[],this[_0x8f67b8(0x3c9)],[],this['_handler']);this[_0x8f67b8(0x2eb)]();const _0x12e17d=this[_0x8f67b8(0x5eb)][_0x8f67b8(0x62c)](Oe,this['unitID'],this[_0x8f67b8(0x283)],this[_0x8f67b8(0x625)]);return _0x12e17d[_0x8f67b8(0x2bf)](),_0x12e17d;}['onRemoteRej'](_0x449869){const _0x566514=_0x714a18;return this[_0x566514(0x25d)](!!(_0x449869!=null&&_0x449869[_0x566514(0x58e)]));}[_0x714a18(0x30f)](_0x11c15e){const _0x448287=_0x714a18;return this[_0x448287(0x614)]>dn?this[_0x448287(0x5b2)]():(this['_resendTimer']=un(this[_0x448287(0x614)],{'timeout':this[_0x448287(0x614)],'reqId':_0x11c15e[_0x448287(0x17c)]}),this[_0x448287(0x4ec)]=this[_0x448287(0x27a)]['subscribe'](({reqId:_0x2d4e9c,timeout:_0x560993})=>{const _0x40e896=_0x448287;this[_0x40e896(0x491)](_0x2d4e9c,_0x560993);}),this);}[_0x714a18(0x5b2)](){const _0x3da048=_0x714a18;return this[_0x3da048(0x255)](),this[_0x3da048(0x5eb)]['createInstance'](Se,this[_0x3da048(0x576)],this[_0x3da048(0x283)],this[_0x3da048(0x3c9)],[],this[_0x3da048(0x625)]);}[_0x714a18(0x50e)](){return this;}[_0x714a18(0x5f2)](){const _0x37d196=_0x714a18;this[_0x37d196(0x625)][_0x37d196(0x367)](this[_0x37d196(0x3c9)]);}[_0x714a18(0x25d)](_0x42b9e6){const _0x21f4bc=_0x714a18;return this[_0x21f4bc(0x255)](),this['_injector'][_0x21f4bc(0x62c)](ve,this[_0x21f4bc(0x576)],this[_0x21f4bc(0x283)],this[_0x21f4bc(0x3c9)],[],this[_0x21f4bc(0x625)],_0x42b9e6);}['_resendWithTimeout'](_0x37764b,_0x4fca17){const _0x34bce0=_0x714a18;var _0x47883a;_0x37764b===((_0x47883a=this[_0x34bce0(0x3c9)])==null?void 0x0:_0x47883a['reqId'])&&(this[_0x34bce0(0x5f2)](),this['_resendTimeout']=_0x4fca17===0x0?0x3e8:_0x4fca17*0x2);}['_clearScheduledTask'](){const _0x37dbb0=_0x714a18;var _0x9a8a62;(_0x9a8a62=this[_0x37dbb0(0x4ec)])==null||_0x9a8a62[_0x37dbb0(0x1f9)](),this[_0x37dbb0(0x614)]=0x0;}};fe=Ce([N(0x4,a[_0x714a18(0x5ce)](a[_0x714a18(0x2cb)])),N(0x5,a[_0x714a18(0x5ce)](p[_0x714a18(0x58b)])),N(0x6,a[_0x714a18(0x5ce)](exports[_0x714a18(0x53c)])),N(0x7,a[_0x714a18(0x1c8)]),N(0x8,a['ILogService']),N(0x9,p[_0x714a18(0x1db)]),N(0xa,a[_0x714a18(0x535)])],fe);let le=class extends Ee{constructor(_0x331610,_0x190d76,_0x4a39c7,_0x5d72e1,_0x51a01c,_0x4d9cf7,_0x1dceca,_0x56d244,_0x789f7b,_0x26545b,_0x85b6ae,_0x2c65c7,_0x4546e2){const _0x2f1a8c=_0x714a18;super(_0x331610,_0x190d76,_0x4a39c7,_0x5d72e1,_0x51a01c,_0x26545b,_0x4546e2,_0x56d244,_0x789f7b),I(this,_0x2f1a8c(0x269),'awaiting_with_pending'),I(this,'_resendTimeout',0x0),I(this,'_resendTimer'),I(this,_0x2f1a8c(0x4ec)),(this[_0x2f1a8c(0x5eb)]=_0x1dceca,this[_0x2f1a8c(0x5be)]=_0x85b6ae,this[_0x2f1a8c(0x2e2)]=_0x2c65c7,_0x4d9cf7&&(this[_0x2f1a8c(0x27a)]=_0x4d9cf7,this[_0x2f1a8c(0x4ec)]=this[_0x2f1a8c(0x27a)]['subscribe'](({reqId:_0x4976fb,timeout:_0x4f4dd8})=>{const _0x2fe2ad=_0x2f1a8c;this[_0x2fe2ad(0x491)](_0x4976fb,_0x4f4dd8);})));}['appendMutation'](_0x2e7d24){const _0xaadb62=_0x714a18;return this['_pendingMutations'][_0xaadb62(0x5a9)](_0x2e7d24),this;}[_0x714a18(0x1bf)](_0x3c61c2){const _0x2a1c95=_0x714a18;if(this['_checkMissing'](_0x3c61c2))return this[_0x2a1c95(0x255)](),this[_0x2a1c95(0x5eb)][_0x2a1c95(0x62c)](re,this[_0x2a1c95(0x576)],this[_0x2a1c95(0x283)],this[_0x2a1c95(0x3c9)],this[_0x2a1c95(0x5c3)],null,[_0x3c61c2],this[_0x2a1c95(0x625)]);try{const _0x5b050b=this[_0x2a1c95(0x2e2)][_0x2a1c95(0x35b)]([_0x3c61c2],[this['_awaitingChangeset']],!0x1);if(p[_0x2a1c95(0x4f1)](_0x5b050b)){const {c1Prime:_0x1a3653,c2Prime:_0x12c151}=_0x5b050b,_0x50460a=this[_0x2a1c95(0x2e2)][_0x2a1c95(0x5d6)](_0x1a3653[0x0],this['_pendingMutations']);if(p[_0x2a1c95(0x2a9)](_0x50460a)){const {c1Prime:_0x4320fb,m2Prime:_0x231482}=_0x50460a;return this[_0x2a1c95(0x634)](_0x4320fb),_0x12c151[0x0][_0x2a1c95(0x324)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this['_injector'][_0x2a1c95(0x62c)](le,this[_0x2a1c95(0x576)],this[_0x2a1c95(0x283)],_0x12c151[0x0],_0x231482,this[_0x2a1c95(0x625)],void 0x0);}throw _0x50460a[_0x2a1c95(0x4c3)];}throw _0x5b050b[_0x2a1c95(0x4c3)];}catch(_0xca94dc){return this['_logService'][_0x2a1c95(0x4c3)](_0xca94dc),this[_0x2a1c95(0x25d)](!0x1);}}[_0x714a18(0x179)](_0x54d89c){const _0x5c4a39=_0x714a18;if(this['_clearScheduledTask'](),this[_0x5c4a39(0x205)](_0x54d89c))return this[_0x5c4a39(0x5eb)][_0x5c4a39(0x62c)](re,this['unitID'],this[_0x5c4a39(0x283)],null,this['_pendingMutations'],this[_0x5c4a39(0x3c9)],[],this['_handler']);this[_0x5c4a39(0x2eb)]();const _0x4327ed=this[_0x5c4a39(0x5eb)][_0x5c4a39(0x62c)](ce,this[_0x5c4a39(0x576)],this['type'],this[_0x5c4a39(0x5c3)],this[_0x5c4a39(0x625)]);return _0x4327ed[_0x5c4a39(0x5ed)](),_0x4327ed[_0x5c4a39(0x2bf)](),_0x4327ed;}[_0x714a18(0x1ca)](_0x1ed301){return this['_onConflict'](!!(_0x1ed301!=null&&_0x1ed301['isPermissionRej']));}[_0x714a18(0x30f)](_0x45cf38){const _0x93841d=_0x714a18;return this[_0x93841d(0x614)]>dn?this[_0x93841d(0x5b2)]():(this[_0x93841d(0x27a)]=un(this[_0x93841d(0x614)],{'timeout':this['_resendTimeout'],'reqId':_0x45cf38[_0x93841d(0x17c)]}),this['_sender']=this[_0x93841d(0x27a)]['subscribe'](({reqId:_0x470468,timeout:_0x3f933b})=>{const _0x480383=_0x93841d;this[_0x480383(0x491)](_0x470468,_0x3f933b);}),this);}[_0x714a18(0x5b2)](){const _0x31a6c1=_0x714a18;return this[_0x31a6c1(0x255)](),this[_0x31a6c1(0x5eb)][_0x31a6c1(0x62c)](Se,this[_0x31a6c1(0x576)],this[_0x31a6c1(0x283)],this[_0x31a6c1(0x3c9)],this[_0x31a6c1(0x5c3)],this[_0x31a6c1(0x625)]);}['toggleOnline'](){return this;}[_0x714a18(0x5f2)](){const _0x36808d=_0x714a18;this[_0x36808d(0x625)]['onSendChangeset'](this[_0x36808d(0x3c9)]);}[_0x714a18(0x25d)](_0x15da0e){const _0x5ebc2d=_0x714a18;return this[_0x5ebc2d(0x255)](),this['_injector']['createInstance'](ve,this[_0x5ebc2d(0x576)],this['type'],null,this['_pendingMutations'],this[_0x5ebc2d(0x625)],_0x15da0e);}['_resendWithTimeout'](_0xfcc906,_0x16ea82){const _0x467e7f=_0x714a18;var _0x2f66d9;_0xfcc906===((_0x2f66d9=this[_0x467e7f(0x3c9)])==null?void 0x0:_0x2f66d9[_0x467e7f(0x17c)])&&(this[_0x467e7f(0x5f2)](),this[_0x467e7f(0x614)]=_0x16ea82===0x0?0x3e8:_0x16ea82*0x2);}[_0x714a18(0x255)](){const _0x1af43f=_0x714a18;var _0xcfb2b5;(_0xcfb2b5=this[_0x1af43f(0x4ec)])==null||_0xcfb2b5[_0x1af43f(0x1f9)](),this[_0x1af43f(0x614)]=0x0;}};le=Ce([N(0x6,a['Inject'](a[_0x714a18(0x2cb)])),N(0x7,a[_0x714a18(0x5ce)](p[_0x714a18(0x58b)])),N(0x8,a[_0x714a18(0x5ce)](exports[_0x714a18(0x53c)])),N(0x9,a['ICommandService']),N(0xa,a[_0x714a18(0x204)]),N(0xb,p[_0x714a18(0x1db)]),N(0xc,a[_0x714a18(0x535)])],le);let ve=class extends Ee{constructor(_0x28f515,_0x1c24d5,_0x302361,_0x4a09d1,_0x3c3fd3,_0x1615a6=!0x1,_0x259554,_0x5b4517,_0x58b420,_0x5bf582,_0x37538a,_0x58f751,_0x1c91dc){const _0x5b902b=_0x714a18;super(_0x28f515,_0x1c24d5,_0x302361,_0x4a09d1,_0x3c3fd3,_0x5b4517,_0x58b420,_0x37538a,_0x5bf582),I(this,_0x5b902b(0x269),_0x5b902b(0x500)),(this[_0x5b902b(0x3ff)]=_0x1615a6,this['_permissionService']=_0x259554,this[_0x5b902b(0x467)]=_0x58f751,this[_0x5b902b(0x177)]=_0x1c91dc,this[_0x5b902b(0x3a7)](),this['_clearLocalCache'](),this[_0x5b902b(0x56a)]());}['appendMutation'](){return this;}[_0x714a18(0x1bf)](){return this;}[_0x714a18(0x179)](){return this;}['onRemoteRej'](){return this;}[_0x714a18(0x30f)](){return this;}[_0x714a18(0x5b2)](){return this;}[_0x714a18(0x50e)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x714a18(0x379)](){const _0x33d470=_0x714a18;this[_0x33d470(0x4c7)][_0x33d470(0x215)](this['unitID'],this['type'],null,[]);}[_0x714a18(0x3a7)](){const _0x3dda37=_0x714a18;this[_0x3dda37(0x3ff)]?this['_notificationService'][_0x3dda37(0x26f)]({'title':this[_0x3dda37(0x467)]['t'](_0x3dda37(0x5e1)),'content':this['_localeService']['t'](_0x3dda37(0x349)),'type':'error','duration':0x0}):this[_0x3dda37(0x177)][_0x3dda37(0x26f)]({'title':this['_localeService']['t']('conflict.title'),'content':this[_0x3dda37(0x467)]['t']('conflict.content'),'type':'error','duration':0x0});}[_0x714a18(0x56a)](){const _0x15dfa5=_0x714a18;this[_0x15dfa5(0x389)][_0x15dfa5(0x492)](new B[(_0x15dfa5(0x365))](this['unitID'])['id'],!0x1);}};ve=Ce([N(0x6,a[_0x714a18(0x5ce)](a[_0x714a18(0x503)])),N(0x7,a['ICommandService']),N(0x8,a[_0x714a18(0x535)]),N(0x9,a[_0x714a18(0x5ce)](exports[_0x714a18(0x53c)])),N(0xa,a[_0x714a18(0x5ce)](p['RevisionService'])),N(0xb,a[_0x714a18(0x5ce)](a[_0x714a18(0x565)])),N(0xc,te['INotificationService'])],ve);let Se=class extends Ee{constructor(_0x30c1fb,_0x46f890,_0x6226c8,_0x500295,_0x39da00,_0x296570,_0x2caddb,_0x565ffa,_0x2f5cb4,_0x546a30){const _0x919f31=_0x714a18;super(_0x30c1fb,_0x46f890,_0x6226c8,_0x500295,_0x39da00,_0x2f5cb4,_0x546a30,_0x2caddb,_0x565ffa),I(this,'status',_0x919f31(0x528)),this[_0x919f31(0x5eb)]=_0x296570;}[_0x714a18(0x28a)](_0xea1843){const _0x11a415=_0x714a18;return this[_0x11a415(0x5c3)][_0x11a415(0x5a9)](_0xea1843),this[_0x11a415(0x2bf)](),this;}[_0x714a18(0x1bf)](_0x2e9d45){const _0x3458df=_0x714a18;throw new Error(_0x3458df(0x527));}[_0x714a18(0x179)](){const _0xa7a35c=_0x714a18;throw new Error(_0xa7a35c(0x1f4));}[_0x714a18(0x1ca)](){const _0x5f2983=_0x714a18;throw new Error(_0x5f2983(0x505));}[_0x714a18(0x30f)](){return this;}[_0x714a18(0x5b2)](){return this;}[_0x714a18(0x50e)](){const _0x475172=_0x714a18,{_injector:_0x24b9cf,_pendingMutations:_0xe91ac0,_awaitingChangeset:_0x33f9c6,unitID:_0x4ad0b3,_handler:_0xf89f70,type:_0x2737d0}=this,_0x23ca50=fn(_0x24b9cf,_0x4ad0b3,_0x2737d0,_0x33f9c6,_0xe91ac0,_0xf89f70);return _0x23ca50 instanceof ce?_0x23ca50[_0x475172(0x5ed)]():(_0x23ca50 instanceof le||_0x23ca50 instanceof fe)&&_0x23ca50[_0x475172(0x5f2)](),_0x23ca50;}[_0x714a18(0x5f2)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};Se=Ce([N(0x5,a['Inject'](a[_0x714a18(0x2cb)])),N(0x6,a['Inject'](p[_0x714a18(0x58b)])),N(0x7,a[_0x714a18(0x5ce)](exports[_0x714a18(0x53c)])),N(0x8,a[_0x714a18(0x1c8)]),N(0x9,a[_0x714a18(0x535)])],Se);let re=class extends Ee{constructor(_0x458902,_0x415b54,_0x1bbe42,_0x1289a3,_0x1608c3,_0x50cb9f,_0x1b6348,_0x3a408f,_0xd67ce1,_0x66b94e,_0xea4bb,_0x3d4878,_0x35c8a9,_0x23b220){const _0x52d230=_0x714a18;super(_0x458902,_0x415b54,_0x1bbe42,_0x1289a3,_0x1b6348,_0x3d4878,_0x35c8a9,_0xd67ce1,_0x66b94e),I(this,_0x52d230(0x269),'fetch_missing'),(this[_0x52d230(0x207)]=_0x1608c3,this[_0x52d230(0x577)]=_0x50cb9f,this['_injector']=_0x3a408f,this[_0x52d230(0x5be)]=_0xea4bb,this[_0x52d230(0x2e2)]=_0x23b220);}[_0x714a18(0x190)](_0x262c45){const _0x561bde=_0x714a18;try{const _0x3e45ab=[..._0x262c45,...this['_queuedRemoteChangesets']],_0x959045=[this['_awaitingChangeset']||this[_0x561bde(0x207)]][_0x561bde(0x630)](_0x87042b=>!!_0x87042b);let _0x4a0c6a,_0x1078e5;if(_0x959045[_0x561bde(0x5a6)]){const _0x3cb343=this['_transformService'][_0x561bde(0x35b)](_0x3e45ab,_0x959045,!0x1);if(!p[_0x561bde(0x4f1)](_0x3cb343))throw _0x3cb343['error'];_0x4a0c6a=_0x3cb343[_0x561bde(0x281)],_0x1078e5=_0x3cb343[_0x561bde(0x318)];}else _0x4a0c6a=_0x3e45ab,_0x1078e5=[];let _0x3ca47b=this[_0x561bde(0x5c3)];_0x4a0c6a[_0x561bde(0x39e)](_0x3a2e8c=>{const _0x17db6b=_0x561bde;let _0x1380ac;if(_0x3ca47b[_0x17db6b(0x5a6)]){const _0x5b4f0b=this[_0x17db6b(0x2e2)][_0x17db6b(0x5d6)](_0x3a2e8c,_0x3ca47b);if(!p['isTransformMutationsWithChangesetSuccess'](_0x5b4f0b))throw _0x5b4f0b[_0x17db6b(0x4c3)];_0x1380ac=_0x5b4f0b[_0x17db6b(0x281)],_0x3ca47b=_0x5b4f0b[_0x17db6b(0x3cd)];}else _0x1380ac=_0x3a2e8c;this[_0x17db6b(0x634)](_0x1380ac);}),this['_acknowledgedAwaitingChangeset']&&this[_0x561bde(0x2eb)](),this[_0x561bde(0x3c9)]&&_0x1078e5['length']&&(_0x1078e5[0x0][_0x561bde(0x324)]=this[_0x561bde(0x5fc)]());let _0x2bbdfb;if(this['_awaitingChangeset']&&_0x3ca47b[_0x561bde(0x5a6)]!==0x0)_0x2bbdfb=this[_0x561bde(0x5eb)][_0x561bde(0x62c)](le,this[_0x561bde(0x576)],this['type'],_0x1078e5[0x0],_0x3ca47b,this[_0x561bde(0x625)],void 0x0);else{if(this[_0x561bde(0x3c9)]&&_0x3ca47b[_0x561bde(0x5a6)]===0x0)_0x1078e5[0x0][_0x561bde(0x324)]=this['_getCurrentRevision'](),_0x2bbdfb=this[_0x561bde(0x5eb)]['createInstance'](fe,this[_0x561bde(0x576)],this[_0x561bde(0x283)],_0x1078e5[0x0],this[_0x561bde(0x625)]);else{if(_0x3ca47b[_0x561bde(0x5a6)]!==0x0){const _0x1ac57d=this[_0x561bde(0x5eb)][_0x561bde(0x62c)](ce,this['unitID'],this[_0x561bde(0x283)],_0x3ca47b,this[_0x561bde(0x625)]);_0x1ac57d['_schedule'](),_0x2bbdfb=_0x1ac57d;}else _0x2bbdfb=this[_0x561bde(0x5eb)][_0x561bde(0x62c)](Oe,this[_0x561bde(0x576)],this['type'],this['_handler']);}}return _0x2bbdfb[_0x561bde(0x2bf)](),_0x2bbdfb;}catch(_0x56e050){return this['_logService'][_0x561bde(0x4c3)](_0x561bde(0x183),_0x561bde(0x1ad),_0x56e050),this[_0x561bde(0x5eb)][_0x561bde(0x62c)](ve,this[_0x561bde(0x576)],this[_0x561bde(0x283)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x714a18(0x5f2)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x714a18(0x28a)](_0x35cfae){const _0x3a2c9a=_0x714a18;return this[_0x3a2c9a(0x5c3)][_0x3a2c9a(0x5a9)](_0x35cfae),this;}[_0x714a18(0x1bf)](_0x13d2f1){const _0x249b8a=_0x714a18;return this['_queuedRemoteChangesets'][_0x249b8a(0x5a9)](_0x13d2f1),this;}['onRemoteAck'](_0x328f88){const _0xf590f3=_0x714a18;if(this['_awaitingChangeset'])return this[_0xf590f3(0x207)]=this['_awaitingChangeset'],this[_0xf590f3(0x3c9)]=null,this;throw new Error(_0xf590f3(0x2e9));}[_0x714a18(0x1ca)](_0x5a1f4d){const _0x52c008=_0x714a18;return this[_0x52c008(0x25d)](!!(_0x5a1f4d!=null&&_0x5a1f4d[_0x52c008(0x58e)]));}[_0x714a18(0x30f)](){return this;}['toggleOffline'](){const _0x65d70=_0x714a18;return this[_0x65d70(0x5eb)][_0x65d70(0x62c)](Se,this[_0x65d70(0x576)],this[_0x65d70(0x283)],this[_0x65d70(0x3c9)],this[_0x65d70(0x5c3)],this[_0x65d70(0x625)]);}[_0x714a18(0x50e)](){return this;}['_onConflict'](_0x5e706c){const _0x2ac999=_0x714a18;return this[_0x2ac999(0x5eb)][_0x2ac999(0x62c)](ve,this[_0x2ac999(0x576)],this[_0x2ac999(0x283)],this[_0x2ac999(0x3c9)],this[_0x2ac999(0x5c3)],this[_0x2ac999(0x625)],_0x5e706c);}};re=Ce([N(0x7,a['Inject'](a[_0x714a18(0x2cb)])),N(0x8,a[_0x714a18(0x5ce)](p['RevisionService'])),N(0x9,a['Inject'](exports[_0x714a18(0x53c)])),N(0xa,a[_0x714a18(0x204)]),N(0xb,a['ICommandService']),N(0xc,a[_0x714a18(0x535)]),N(0xd,p[_0x714a18(0x1db)])],re);function fn(_0x47bb3c,_0x28b684,_0x3431a0,_0x33ab21,_0x13696c,_0x789d6){const _0x37ae48=_0x714a18;return _0x33ab21&&_0x13696c[_0x37ae48(0x5a6)]?_0x47bb3c[_0x37ae48(0x62c)](le,_0x28b684,_0x3431a0,_0x33ab21,_0x13696c,_0x789d6,void 0x0):_0x33ab21?_0x47bb3c[_0x37ae48(0x62c)](fe,_0x28b684,_0x3431a0,_0x33ab21,_0x789d6):_0x13696c['length']?_0x47bb3c[_0x37ae48(0x62c)](ce,_0x28b684,_0x3431a0,_0x13696c,_0x789d6):_0x47bb3c['createInstance'](Oe,_0x28b684,_0x3431a0,_0x789d6);}var ki=Object[_0x714a18(0x1d2)],Bi=Object[_0x714a18(0x254)],Rt=(_0x2a8fc5,_0x5cdd67,_0xb49f46,_0x18def5)=>{const _0x3ec570=_0x714a18;for(var _0x1863db=_0x18def5>0x1?void 0x0:_0x18def5?Bi(_0x5cdd67,_0xb49f46):_0x5cdd67,_0x50eead=_0x2a8fc5[_0x3ec570(0x5a6)]-0x1,_0x3cb5cc;_0x50eead>=0x0;_0x50eead--)(_0x3cb5cc=_0x2a8fc5[_0x50eead])&&(_0x1863db=(_0x18def5?_0x3cb5cc(_0x5cdd67,_0xb49f46,_0x1863db):_0x3cb5cc(_0x1863db))||_0x1863db);return _0x18def5&&_0x1863db&&ki(_0x5cdd67,_0xb49f46,_0x1863db),_0x1863db;},H=(_0x1066ff,_0x11d494)=>(_0x1c83a4,_0x4a323d)=>_0x11d494(_0x1c83a4,_0x4a323d,_0x1066ff);exports['CollaborationEntity']=class extends a[_0x714a18(0x237)]{constructor(_0x58d5a1,_0x4e16f8,_0x1cfb58,_0x2c4ad,_0x4113ca,_0x430872,_0x285809,_0x136adf,_0xa6829f,_0x174014,_0x115ff4,_0x4f56ad,_0x1e2b88){const _0x443e44=_0x714a18;super(),I(this,_0x443e44(0x47c),new A[(_0x443e44(0x638))](null)),I(this,_0x443e44(0x439),this[_0x443e44(0x47c)][_0x443e44(0x23c)]()),I(this,_0x443e44(0x48c)),I(this,_0x443e44(0x3b4),!0x1),I(this,'_changesetSessionId',''),I(this,_0x443e44(0x597),0x0),I(this,'status$',this[_0x443e44(0x439)][_0x443e44(0x52c)](A['map'](_0x17a7b5=>_0x17a7b5?_0x17a7b5[_0x443e44(0x269)]:q[_0x443e44(0x3c6)]),A[_0x443e44(0x4f7)](0x1))),I(this,_0x443e44(0x4ce),!0x1),I(this,_0x443e44(0x1ec),[]),(this[_0x443e44(0x576)]=_0x58d5a1,this['session']=_0x4e16f8,this[_0x443e44(0x63c)]=_0x1cfb58,this['_injector']=_0x2c4ad,this['_localCacheService']=_0x4113ca,this[_0x443e44(0x3ac)]=_0x430872,this[_0x443e44(0x467)]=_0x285809,this['_revisionService']=_0x136adf,this['_logService']=_0xa6829f,this[_0x443e44(0x266)]=_0x174014,this[_0x443e44(0x636)]=_0x115ff4,this[_0x443e44(0x389)]=_0x4f56ad,this[_0x443e44(0x2e7)]=_0x1e2b88);}get['state'](){const _0x3d4686=_0x714a18;return this[_0x3d4686(0x48c)];}async['init'](){const _0x338be3=_0x714a18;if(this[_0x338be3(0x420)])throw new Error(_0x338be3(0x4bf));await this[_0x338be3(0x26c)]();}[_0x714a18(0x4ea)](){const _0x53a4a9=_0x714a18;return this[_0x53a4a9(0x3b4)]=!0x0,a['toDisposable'](()=>{const _0x1ebf6f=_0x53a4a9;this[_0x1ebf6f(0x3b4)]=!0x1,this[_0x1ebf6f(0x25b)]();});}['_updateState'](_0x6b79b8){const _0x3859ba=_0x714a18;this['_state']=_0x6b79b8,this[_0x3859ba(0x47c)][_0x3859ba(0x5c5)](_0x6b79b8);}async[_0x714a18(0x26c)](){const _0x32bbf9=_0x714a18;var _0x59e520;this[_0x32bbf9(0x5d2)](await this[_0x32bbf9(0x2ec)]()),this[_0x32bbf9(0x2e7)]&&((_0x59e520=this[_0x32bbf9(0x2e7)])==null||_0x59e520[_0x32bbf9(0x61e)](this[_0x32bbf9(0x576)]),this[_0x32bbf9(0x580)](this[_0x32bbf9(0x2e7)][_0x32bbf9(0x2d6)](this[_0x32bbf9(0x576)])['subscribe'](_0x3dbe24=>{const _0x31a1f8=_0x32bbf9;this[_0x31a1f8(0x5be)][_0x31a1f8(0x188)](_0x31a1f8(0x210),'editing\x20status\x20changed\x20to',_0x3dbe24),_0x3dbe24===hn[_0x31a1f8(0x1e4)]?(this[_0x31a1f8(0x636)][_0x31a1f8(0x26f)]({'content':this[_0x31a1f8(0x467)]['t'](_0x31a1f8(0x337)),'type':Ie['MessageType'][_0x31a1f8(0x21a)]}),this[_0x31a1f8(0x389)][_0x31a1f8(0x492)](new B['WorkbookEditablePermission'](this[_0x31a1f8(0x576)])['id'],!0x1),this[_0x31a1f8(0x389)][_0x31a1f8(0x30a)](!0x1)):(this[_0x31a1f8(0x389)][_0x31a1f8(0x492)](new B[(_0x31a1f8(0x365))](this[_0x31a1f8(0x576)])['id'],!0x0),this[_0x31a1f8(0x389)][_0x31a1f8(0x30a)](!0x0));})));let _0x441a68=!0x1;return this['disposeWithMe'](this['session'][_0x32bbf9(0x25c)][_0x32bbf9(0x47b)](_0x9f0c3f=>{const _0x2b59e4=_0x32bbf9;_0x9f0c3f===se[_0x2b59e4(0x32f)]?this[_0x2b59e4(0x5e3)](_0x441a68):_0x9f0c3f===se[_0x2b59e4(0x3c6)]&&(_0x441a68=!0x0,this['_toggleOffline']());})),this[_0x32bbf9(0x580)](this['session']['event$'][_0x32bbf9(0x47b)](_0x28c461=>{const _0x570455=_0x32bbf9;try{switch(_0x28c461[_0x570455(0x298)]){case p[_0x570455(0x57d)][_0x570455(0x203)]:{this[_0x570455(0x3c5)](p['parseProtocolChangeset'](_0x28c461['data']));break;}case p[_0x570455(0x57d)][_0x570455(0x211)]:{this['_onRemoteACK'](_0x28c461[_0x570455(0x539)]);break;}case p[_0x570455(0x57d)]['CHANGESET_REJ']:{this[_0x570455(0x493)]();break;}case p[_0x570455(0x57d)][_0x570455(0x549)]:{this[_0x570455(0x487)](_0x28c461['data']);break;}case p['CollaborationEvent'][_0x570455(0x1dc)]:{this['_onFetchMissResult'](_0x28c461[_0x570455(0x539)]['changesets'][_0x570455(0x556)](_0x47b8f9=>p[_0x570455(0x3cb)](_0x47b8f9)));break;}case p[_0x570455(0x57d)][_0x570455(0x640)]:this[_0x570455(0x493)]({'isPermissionRej':!0x0});}}catch(_0x15cc32){throw console['error'](_0x570455(0x507),_0x15cc32),_0x15cc32;}})),this[_0x32bbf9(0x48c)];}[_0x714a18(0x4dd)](){const _0x5d45fe=_0x714a18;this[_0x5d45fe(0x4ce)]=!0x1;}[_0x714a18(0x4d5)](){const _0xc5100e=_0x714a18;if(this[_0xc5100e(0x4ce)])throw new Error(_0xc5100e(0x41e));this[_0xc5100e(0x4ce)]=!0x0;}['_onLocalMutation'](_0x47cac5){const _0x39e6f4=_0x714a18;this[_0x39e6f4(0x4d5)](),this[_0x39e6f4(0x5d2)](this['_state']['appendMutation'](_0x47cac5)),this['_unlockTransition']();}[_0x714a18(0x3c5)](_0x2f6ef5){const _0x82e272=_0x714a18;if(!(_0x2f6ef5[_0x82e272(0x18c)]<=this[_0x82e272(0x574)][_0x82e272(0x445)](this['unitID']))){if(this[_0x82e272(0x3b4)]){this[_0x82e272(0x1ec)][_0x82e272(0x5a9)](_0x2f6ef5);return;}this[_0x82e272(0x2e5)](_0x2f6ef5);}}[_0x714a18(0x25b)](){const _0x314f7e=_0x714a18;this[_0x314f7e(0x1ec)][_0x314f7e(0x39e)](_0xbe20ad=>this[_0x314f7e(0x2e5)](_0xbe20ad)),this[_0x314f7e(0x1ec)]=[];}[_0x714a18(0x2e5)](_0x3b2fe8){const _0x4af882=_0x714a18,_0x4a2a2a=this[_0x4af882(0x3ac)][_0x4af882(0x1d3)][_0x4af882(0x5ac)](this[_0x4af882(0x3ac)][_0x4af882(0x1d3)]['getInterceptPoints']()[_0x4af882(0x245)])(_0x3b2fe8[_0x4af882(0x2e1)],null)||_0x3b2fe8[_0x4af882(0x2e1)],_0x39dd83={..._0x3b2fe8,'mutations':_0x4a2a2a};this[_0x4af882(0x4d5)](),this[_0x4af882(0x5d2)](this[_0x4af882(0x48c)][_0x4af882(0x1bf)](_0x39dd83)),this[_0x4af882(0x4dd)]();}[_0x714a18(0x224)](_0x4da292){const _0x169bcd=_0x714a18;this[_0x169bcd(0x4d5)](),this[_0x169bcd(0x5d2)](this[_0x169bcd(0x48c)][_0x169bcd(0x179)](_0x4da292)),this[_0x169bcd(0x4dd)]();}['_onRemoteRejected'](_0x51002d){const _0x528669=_0x714a18;this[_0x528669(0x4d5)](),this[_0x528669(0x5d2)](this[_0x528669(0x48c)][_0x528669(0x1ca)](_0x51002d)),this[_0x528669(0x4dd)]();}[_0x714a18(0x487)](_0x6896d2){const _0x38d25a=_0x714a18;this[_0x38d25a(0x4d5)](),this[_0x38d25a(0x5d2)](this['_state'][_0x38d25a(0x30f)](_0x6896d2)),this[_0x38d25a(0x4dd)]();}[_0x714a18(0x575)](_0x9bded5){const _0x44fb15=_0x714a18;if(!(this[_0x44fb15(0x48c)]instanceof re))throw new TypeError(_0x44fb15(0x5cd));const _0x241019=_0x9bded5['map'](_0xc04a48=>{const _0x1c0941=_0x44fb15,_0x2cc00a=this[_0x1c0941(0x3ac)]['interceptor'][_0x1c0941(0x5ac)](this[_0x1c0941(0x3ac)][_0x1c0941(0x1d3)][_0x1c0941(0x494)]()[_0x1c0941(0x245)])(_0xc04a48[_0x1c0941(0x2e1)],null)||_0xc04a48['mutations'];return{..._0xc04a48,'mutations':_0x2cc00a};});this[_0x44fb15(0x4d5)](),this[_0x44fb15(0x5d2)](this[_0x44fb15(0x48c)][_0x44fb15(0x190)](_0x241019)),this[_0x44fb15(0x4dd)]();}[_0x714a18(0x32d)](){const _0x526761=_0x714a18;this[_0x526761(0x4d5)](),this[_0x526761(0x5d2)](this[_0x526761(0x48c)][_0x526761(0x5b2)]()),this[_0x526761(0x4dd)]();}['_toggleOnline'](_0x2cf6ac=!0x1){const _0x472adc=_0x714a18;this[_0x472adc(0x4d5)](),this[_0x472adc(0x5d2)](this[_0x472adc(0x48c)]['toggleOnline']()),this['_unlockTransition']();const _0x25697d=this[_0x472adc(0x48c)];_0x2cf6ac&&_0x25697d instanceof Oe&&(this[_0x472adc(0x4d5)](),this[_0x472adc(0x5d2)](_0x25697d[_0x472adc(0x1b0)]()),this[_0x472adc(0x4dd)]());}async[_0x714a18(0x2ec)](){return new Promise(_0x4ed1a9=>{const _0x2d0cb2=_0x420c;this[_0x2d0cb2(0x5a0)][_0x2d0cb2(0x25c)]['pipe'](A['take'](0x1))[_0x2d0cb2(0x47b)](async _0x4b0a95=>{const _0x435909=_0x2d0cb2;_0x4ed1a9(await this['_createInitialStateImpl'](_0x4b0a95===se[_0x435909(0x32f)]));});});}[_0x714a18(0x34e)](){const _0x53749d=_0x714a18,_0x51efe0=this[_0x53749d(0x576)];return{'onStateChange':(_0xe42ee7,_0x289972)=>{const _0x347052=_0x53749d;if(_0xe42ee7!==this[_0x347052(0x48c)])throw new Error(_0x347052(0x280)+_0xe42ee7['status']+_0x347052(0x2e4)+_0x289972[_0x347052(0x269)]+_0x347052(0x456)+this['_state']['status']);this[_0x347052(0x5d2)](_0x289972);},'onSendChangeset':_0x266fcd=>{const _0x3ca282=_0x53749d;_0x266fcd['sid']||(_0x266fcd['sid']=this[_0x3ca282(0x4d0)],_0x266fcd['reqId']=++this[_0x3ca282(0x597)]);const _0x5eb6c0={'eventID':p[_0x3ca282(0x57d)][_0x3ca282(0x569)],'data':{'unitID':_0x266fcd[_0x3ca282(0x576)],'unitType':this[_0x3ca282(0x63c)],'changeset':_0x266fcd,'memberID':this[_0x3ca282(0x5a0)][_0x3ca282(0x2d0)]()}};this[_0x3ca282(0x5a0)][_0x3ca282(0x4c5)](_0x5eb6c0,this[_0x3ca282(0x576)]);},'onMissingChangesets':({from:_0x13f0fe,to:_0x347a54})=>{const _0xf3f68e=_0x53749d;this['_logService'][_0xf3f68e(0x188)](_0xf3f68e(0x210),_0xf3f68e(0x415)+_0x13f0fe+_0xf3f68e(0x33d)+_0x347a54);const _0x30ee5e={'eventID':p[_0xf3f68e(0x57d)][_0xf3f68e(0x43c)],'data':{'unitID':_0x51efe0,'unitType':this[_0xf3f68e(0x63c)],'from':_0x13f0fe,'to':_0x347a54}};this[_0xf3f68e(0x5a0)][_0xf3f68e(0x4c5)](_0x30ee5e,this['unitID']);}};}async[_0x714a18(0x27b)](_0x7a5611){const _0x1ff3f0=_0x714a18;var _0x1a219e,_0x22693e;const _0x59c8f6=await this[_0x1ff3f0(0x4c7)][_0x1ff3f0(0x5af)](this[_0x1ff3f0(0x576)]),_0x10b3ae=(_0x1a219e=_0x59c8f6==null?void 0x0:_0x59c8f6['mutations'])!=null?_0x1a219e:[],_0x409fbc=(_0x22693e=_0x59c8f6==null?void 0x0:_0x59c8f6[_0x1ff3f0(0x4e6)])!=null?_0x22693e:null,_0x3afe80=!!(_0x409fbc!=null&&_0x409fbc[_0x1ff3f0(0x59c)])&&!!(_0x409fbc!=null&&_0x409fbc[_0x1ff3f0(0x17c)]);this[_0x1ff3f0(0x4d0)]=_0x3afe80?_0x409fbc['sid']:Si(),this['_changesetReqId']=_0x3afe80?_0x409fbc[_0x1ff3f0(0x17c)]:0x0;const _0x297711=this[_0x1ff3f0(0x576)];try{this[_0x1ff3f0(0x427)](_0x409fbc,_0x10b3ae);}catch(_0x5f4759){this[_0x1ff3f0(0x5be)]['error'](_0x5f4759);}const _0x5e4d78=this[_0x1ff3f0(0x34e)]();if(_0x7a5611){const _0x4fb011=fn(this['_injector'],_0x297711,this['_type'],_0x409fbc,_0x10b3ae,_0x5e4d78);return _0x4fb011 instanceof ce?_0x4fb011[_0x1ff3f0(0x5ed)]():(_0x4fb011 instanceof le||_0x4fb011 instanceof fe)&&_0x4fb011[_0x1ff3f0(0x5f2)](),_0x4fb011;}return this[_0x1ff3f0(0x5eb)][_0x1ff3f0(0x62c)](Se,_0x297711,this[_0x1ff3f0(0x63c)],_0x409fbc,_0x10b3ae,_0x5e4d78);}[_0x714a18(0x427)](_0x25d6da,_0x45d940){const _0x288ea3=_0x714a18;var _0x3a605f,_0x1eddf6;const _0x30c741=this['_compressMutationService']['interceptor'][_0x288ea3(0x5ac)](this[_0x288ea3(0x3ac)][_0x288ea3(0x1d3)][_0x288ea3(0x494)]()[_0x288ea3(0x245)]);(_0x3a605f=_0x30c741((_0x25d6da==null?void 0x0:_0x25d6da[_0x288ea3(0x2e1)])||[],null))==null||_0x3a605f[_0x288ea3(0x39e)](_0x2c6852=>this['_commandService'][_0x288ea3(0x3ce)](_0x2c6852['id'],_0x2c6852[_0x288ea3(0x25e)])),(_0x1eddf6=_0x30c741(_0x45d940||[],null))==null||_0x1eddf6[_0x288ea3(0x39e)](_0x47fcc6=>this[_0x288ea3(0x266)][_0x288ea3(0x3ce)](_0x47fcc6['id'],_0x47fcc6[_0x288ea3(0x25e)]));}},exports['CollaborationEntity']=Rt([H(0x3,a[_0x714a18(0x5ce)](a[_0x714a18(0x2cb)])),H(0x4,a[_0x714a18(0x5ce)](exports[_0x714a18(0x53c)])),H(0x5,a[_0x714a18(0x5ce)](p[_0x714a18(0x351)])),H(0x6,a[_0x714a18(0x5ce)](a[_0x714a18(0x565)])),H(0x7,a['Inject'](p[_0x714a18(0x58b)])),H(0x8,a[_0x714a18(0x204)]),H(0x9,a[_0x714a18(0x1c8)]),H(0xa,te[_0x714a18(0x32c)]),H(0xb,a[_0x714a18(0x503)]),H(0xc,a[_0x714a18(0x600)](qe))],exports[_0x714a18(0x3ee)]),exports['DocCollaborationEntity']=class extends exports['CollaborationEntity']{constructor(_0x209382,_0x53a35c,_0x433f30,_0x4145c8,_0x13514c,_0x188b55,_0x2957ff,_0x39a75b,_0x45a04b,_0x2af8d2,_0x1366a1,_0xc5be51,_0x2d29b5,_0x45da21,_0xbe1179,_0x4cfceb,_0x5bdaec,_0x2d00f5){const _0x55b7c3=_0x714a18;super(_0x209382,_0x433f30,_0x53a35c,_0x4145c8,_0x13514c,_0x188b55,_0x2957ff,_0x39a75b,_0x45da21,_0xbe1179,_0x4cfceb,_0x5bdaec,_0x2d00f5),this[_0x55b7c3(0x576)]=_0x209382,this[_0x55b7c3(0x283)]=_0x53a35c,this['_docStateChangeManagerService']=_0x45a04b,this[_0x55b7c3(0x2f8)]=_0x2af8d2,this['_docTransformStateCacheService']=_0x1366a1,this[_0x55b7c3(0x3f2)]=_0xc5be51,this[_0x55b7c3(0x285)]=_0x2d29b5;}['_createHandler'](){const _0x1305d3=_0x714a18,_0xc5bad7=super[_0x1305d3(0x34e)]();return _0xc5bad7[_0x1305d3(0x186)]=_0x419de1=>this[_0x1305d3(0x2f8)][_0x1305d3(0x47d)](_0x419de1),_0xc5bad7[_0x1305d3(0x3de)]=_0x4ecfda=>this['_docTransformStateCacheService']['transformStateCache'](_0x4ecfda),_0xc5bad7[_0x1305d3(0x48d)]=_0x56e9f8=>this[_0x1305d3(0x3f2)][_0x1305d3(0x213)](_0x56e9f8),_0xc5bad7[_0x1305d3(0x41a)]=_0x4c34f9=>this[_0x1305d3(0x285)][_0x1305d3(0x468)](_0x4c34f9),_0xc5bad7[_0x1305d3(0x552)]=_0x18e77d=>this[_0x1305d3(0x2f8)][_0x1305d3(0x31a)](_0x18e77d),_0xc5bad7[_0x1305d3(0x48b)]=_0x526b87=>this[_0x1305d3(0x52e)][_0x1305d3(0x31a)](_0x526b87),_0xc5bad7;}async[_0x714a18(0x26c)](){const _0x14669b=_0x714a18,_0x19c886=await super[_0x14669b(0x26c)]();return this[_0x14669b(0x4e9)][_0x14669b(0x39a)][_0x14669b(0x52c)](A[_0x14669b(0x3c8)](this['dispose$']))['subscribe'](_0x389c92=>{const _0xca7a9=_0x14669b;if(_0x389c92==null)return;const {unitId:_0x3e6753,redoState:_0x51d1bc,commandId:_0x367df6}=_0x389c92;if(_0x3e6753!==this[_0xca7a9(0x576)])return;const _0x4484e2={'id':_0x367df6,'type':a[_0xca7a9(0x28f)][_0xca7a9(0x53a)],'params':{'unitId':_0x3e6753,'actions':_0x51d1bc[_0xca7a9(0x431)],'textRanges':null}};this[_0xca7a9(0x616)](_0x4484e2);}),_0x19c886;}},exports[_0x714a18(0x262)]=Rt([H(0x3,a['Inject'](a[_0x714a18(0x2cb)])),H(0x4,a['Inject'](exports['LocalCacheService'])),H(0x5,a['Inject'](p[_0x714a18(0x351)])),H(0x6,a[_0x714a18(0x5ce)](a[_0x714a18(0x565)])),H(0x7,a[_0x714a18(0x5ce)](p[_0x714a18(0x58b)])),H(0x8,a[_0x714a18(0x5ce)](Z[_0x714a18(0x56b)])),H(0x9,a[_0x714a18(0x5ce)](ke)),H(0xa,a[_0x714a18(0x5ce)](We)),H(0xb,a[_0x714a18(0x5ce)](Fe)),H(0xc,a[_0x714a18(0x5ce)](Tt)),H(0xd,a[_0x714a18(0x204)]),H(0xe,a[_0x714a18(0x1c8)]),H(0xf,te['IMessageService']),H(0x10,a['IPermissionService']),H(0x11,a[_0x714a18(0x600)](qe))],exports[_0x714a18(0x262)]),exports[_0x714a18(0x5c7)]=class extends exports[_0x714a18(0x3ee)]{constructor(_0x15b801,_0x4489bd,_0x3047ad,_0x1dbe18,_0x2b0a52,_0x391500,_0x440206,_0x10c5b7,_0x5ce5ed,_0x1f348c,_0x108f17,_0x3cea3e,_0x236315,_0x129cf4){const _0x57bc6e=_0x714a18;super(_0x15b801,_0x3047ad,_0x4489bd,_0x1dbe18,_0x2b0a52,_0x391500,_0x440206,_0x10c5b7,_0x1f348c,_0x108f17,_0x3cea3e,_0x236315,_0x129cf4),this[_0x57bc6e(0x576)]=_0x15b801,this['type']=_0x4489bd,this[_0x57bc6e(0x3fb)]=_0x5ce5ed;}[_0x714a18(0x34e)](){const _0xd7ddbd=_0x714a18,_0x35d7fd=super[_0xd7ddbd(0x34e)]();return _0x35d7fd[_0xd7ddbd(0x48d)]=_0x724965=>this['_sheetTransformSelectionsService'][_0xd7ddbd(0x213)](_0x724965),_0x35d7fd;}async['_init'](){const _0x1e21d0=_0x714a18,_0x56d163=await super[_0x1e21d0(0x26c)]();return this[_0x1e21d0(0x580)](this[_0x1e21d0(0x266)]['onCommandExecuted']((_0x47e080,_0x2787c2)=>{const _0x560e2a=_0x1e21d0;if(_0x47e080['type']!==a[_0x560e2a(0x28f)][_0x560e2a(0x53a)]||_0x2787c2!=null&&_0x2787c2[_0x560e2a(0x610)]||_0x2787c2!=null&&_0x2787c2[_0x560e2a(0x17f)])return;const _0x3fd070=_0x47e080[_0x560e2a(0x25e)];if((_0x3fd070==null?void 0x0:_0x3fd070[_0x560e2a(0x219)])!==this['unitID'])return;const _0x54aed0=_0x47e080,_0x363eb0=this[_0x560e2a(0x3ac)][_0x560e2a(0x1d3)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x560e2a(0x1d3)][_0x560e2a(0x494)]()[_0x560e2a(0x4bd)])([_0x54aed0],null)||[_0x54aed0];this[_0x560e2a(0x616)](_0x363eb0[0x0]);})),_0x56d163;}},exports[_0x714a18(0x5c7)]=Rt([H(0x3,a[_0x714a18(0x5ce)](a[_0x714a18(0x2cb)])),H(0x4,a[_0x714a18(0x5ce)](exports['LocalCacheService'])),H(0x5,a['Inject'](p['CompressMutationService'])),H(0x6,a['Inject'](a['LocaleService'])),H(0x7,a[_0x714a18(0x5ce)](p[_0x714a18(0x58b)])),H(0x8,a[_0x714a18(0x5ce)](Be)),H(0x9,a[_0x714a18(0x204)]),H(0xa,a['ICommandService']),H(0xb,te['IMessageService']),H(0xc,a[_0x714a18(0x503)]),H(0xd,a[_0x714a18(0x600)](qe))],exports[_0x714a18(0x5c7)]);var Wi=Object[_0x714a18(0x1d2)],Fi=Object[_0x714a18(0x254)],Vi=(_0x8fbfe7,_0x30af6f,_0x3cfb8f,_0x1afdce)=>{const _0x3eccd9=_0x714a18;for(var _0x160b8a=_0x1afdce>0x1?void 0x0:_0x1afdce?Fi(_0x30af6f,_0x3cfb8f):_0x30af6f,_0x53c949=_0x8fbfe7[_0x3eccd9(0x5a6)]-0x1,_0x1d6137;_0x53c949>=0x0;_0x53c949--)(_0x1d6137=_0x8fbfe7[_0x53c949])&&(_0x160b8a=(_0x1afdce?_0x1d6137(_0x30af6f,_0x3cfb8f,_0x160b8a):_0x1d6137(_0x160b8a))||_0x160b8a);return _0x1afdce&&_0x160b8a&&Wi(_0x30af6f,_0x3cfb8f,_0x160b8a),_0x160b8a;},tt=(_0x11ab39,_0x3a7d10)=>(_0x28a705,_0x1f0cfc)=>_0x3a7d10(_0x28a705,_0x1f0cfc,_0x11ab39);exports[_0x714a18(0x36d)]=class extends a[_0x714a18(0x237)]{constructor(_0x1e0b4c,_0x3b4a8b,_0x33c4a9){const _0xc1d656=_0x714a18;super(),I(this,_0xc1d656(0x316),new Map()),I(this,_0xc1d656(0x5a5),new A['Subject']()),(this[_0xc1d656(0x5eb)]=_0x1e0b4c,this['_collabSessionService']=_0x3b4a8b,this[_0xc1d656(0x4c0)]=_0x33c4a9,this[_0xc1d656(0x26c)]());}[_0x714a18(0x19e)](){const _0x384dc7=_0x714a18;super[_0x384dc7(0x19e)](),this[_0x384dc7(0x316)]['forEach'](_0x3807ef=>_0x3807ef[_0x384dc7(0x19e)]()),this[_0x384dc7(0x316)]['clear']();}[_0x714a18(0x3ca)](_0x4ac602){const _0x26deb9=_0x714a18;var _0xf492b0;return(_0xf492b0=this[_0x26deb9(0x316)]['get'](_0x4ac602))!=null?_0xf492b0:null;}[_0x714a18(0x516)](_0x487a65){const _0x33d8b2=_0x714a18,_0xa7aef7=this[_0x33d8b2(0x3ca)](_0x487a65);return _0xa7aef7?A['of'](_0xa7aef7):this[_0x33d8b2(0x5a5)][_0x33d8b2(0x52c)](V[_0x33d8b2(0x630)](_0x5014f1=>_0x5014f1[_0x33d8b2(0x576)]===_0x487a65));}[_0x714a18(0x26c)](){const _0x4cefd7=_0x714a18;this[_0x4cefd7(0x4c0)][_0x4cefd7(0x3d5)](a['UniverInstanceType'][_0x4cefd7(0x2d2)])['pipe'](A[_0x4cefd7(0x3c8)](this[_0x4cefd7(0x417)]),V[_0x4cefd7(0x599)](0x10))['subscribe'](async _0xfe8a34=>{const _0x26b415=_0x4cefd7,_0x20da1c=_0xfe8a34[_0x26b415(0x2e0)](),_0x166e55=await this[_0x26b415(0x4c9)](_0x20da1c,ie[_0x26b415(0x2d2)]);this[_0x26b415(0x316)][_0x26b415(0x3d0)](_0x20da1c,_0x166e55);}),this[_0x4cefd7(0x4c0)][_0x4cefd7(0x3d5)](a[_0x4cefd7(0x3ab)][_0x4cefd7(0x5ff)])[_0x4cefd7(0x52c)](A[_0x4cefd7(0x3c8)](this[_0x4cefd7(0x417)]),V[_0x4cefd7(0x599)](0x10))[_0x4cefd7(0x52c)](V['filter'](_0x4d476d=>!_0x4d476d[_0x4cefd7(0x2e0)]()[_0x4cefd7(0x227)]('__')))[_0x4cefd7(0x47b)](async _0x1327a6=>{const _0x40e641=_0x4cefd7,_0x229041=_0x1327a6['getUnitId'](),_0x196d0a=await this[_0x40e641(0x4c9)](_0x229041,ie[_0x40e641(0x5ff)]);this[_0x40e641(0x316)][_0x40e641(0x3d0)](_0x229041,_0x196d0a);}),A[_0x4cefd7(0x3ea)](this[_0x4cefd7(0x4c0)][_0x4cefd7(0x5ef)](a['UniverInstanceType']['UNIVER_SHEET']),this[_0x4cefd7(0x4c0)]['getTypeOfUnitDisposed$'](a[_0x4cefd7(0x3ab)][_0x4cefd7(0x5ff)]))[_0x4cefd7(0x52c)](A[_0x4cefd7(0x3c8)](this[_0x4cefd7(0x417)]))[_0x4cefd7(0x47b)](_0x5cfe10=>{const _0x20f0b4=_0x4cefd7,_0x4c98cc=_0x5cfe10['getUnitId'](),_0x44fa2f=this[_0x20f0b4(0x316)][_0x20f0b4(0x1bc)](_0x4c98cc);_0x44fa2f&&(_0x44fa2f[_0x20f0b4(0x19e)](),this[_0x20f0b4(0x316)][_0x20f0b4(0x57c)](_0x4c98cc));});}async['_startCollaboration'](_0x47a182,_0x452c4a){const _0x9a652=_0x714a18,_0x29485a=await this[_0x9a652(0x540)][_0x9a652(0x49f)](_0x47a182),_0x3744fc=this[_0x9a652(0x5eb)]['createInstance'](this[_0x9a652(0x2bb)](_0x452c4a),_0x47a182,_0x452c4a,_0x29485a);return await _0x3744fc[_0x9a652(0x413)](),this[_0x9a652(0x5a5)][_0x9a652(0x5c5)](_0x3744fc),_0x3744fc;}[_0x714a18(0x2bb)](_0x45c11c){const _0xfcd4f2=_0x714a18;switch(_0x45c11c){case ie[_0xfcd4f2(0x5ff)]:return exports[_0xfcd4f2(0x262)];case ie['UNIVER_SHEET']:return exports['SheetCollaborationEntity'];default:throw new Error(_0xfcd4f2(0x1c5)+_0x45c11c);}}},exports[_0x714a18(0x36d)]=Vi([tt(0x0,a[_0x714a18(0x5ce)](a[_0x714a18(0x2cb)])),tt(0x1,a[_0x714a18(0x5ce)](exports[_0x714a18(0x3c2)])),tt(0x2,a[_0x714a18(0x617)])],exports['CollaborationController']);const jt=['purple300','jiqing500',_0x714a18(0x41b),_0x714a18(0x502),_0x714a18(0x311),_0x714a18(0x462)];class yt extends a[_0x714a18(0x5aa)]{constructor(){const _0x13a626=_0x714a18;super(...arguments),I(this,_0x13a626(0x58d),new Map()),I(this,_0x13a626(0x50a),0x0);}[_0x714a18(0x3ae)](_0x5ea019){const _0xe8cb38=_0x714a18;if(this[_0xe8cb38(0x58d)]['has'](_0x5ea019))return this['_assignedColors'][_0xe8cb38(0x1bc)](_0x5ea019);const _0x1c15c1=jt[this['_colorIndex']];return this[_0xe8cb38(0x50a)]=(this[_0xe8cb38(0x50a)]+0x1)%jt[_0xe8cb38(0x5a6)],this['_assignedColors'][_0xe8cb38(0x3d0)](_0x5ea019,_0x1c15c1),_0x1c15c1;}}var Gi=Object[_0x714a18(0x1d2)],Yi=Object[_0x714a18(0x254)],Ki=(_0x355015,_0x5de991,_0x5cbea7,_0x1a5d52)=>{const _0x26b898=_0x714a18;for(var _0xe850dd=_0x1a5d52>0x1?void 0x0:_0x1a5d52?Yi(_0x5de991,_0x5cbea7):_0x5de991,_0x4e9905=_0x355015[_0x26b898(0x5a6)]-0x1,_0x35de9f;_0x4e9905>=0x0;_0x4e9905--)(_0x35de9f=_0x355015[_0x4e9905])&&(_0xe850dd=(_0x1a5d52?_0x35de9f(_0x5de991,_0x5cbea7,_0xe850dd):_0x35de9f(_0xe850dd))||_0xe850dd);return _0x1a5d52&&_0xe850dd&&Gi(_0x5de991,_0x5cbea7,_0xe850dd),_0xe850dd;},me=(_0x38769a,_0x328f00)=>(_0x1c3429,_0x23abd8)=>_0x328f00(_0x1c3429,_0x23abd8,_0x38769a);const qi=0x12c,zi=0x64;let vt=class extends a[_0x714a18(0x237)]{constructor(_0x43b489,_0x430190,_0x3acccf,_0xed2e,_0x753bc5,_0xfa0f57,_0x27b5ea,_0x1dd52f,_0x4592b3){const _0x178ccf=_0x714a18;super(),I(this,'_online',!0x1),I(this,_0x178ccf(0x26c),!0x1),I(this,_0x178ccf(0x50c),new A[(_0x178ccf(0x638))](new Map())),I(this,'cursorInfo$',this[_0x178ccf(0x50c)][_0x178ccf(0x23c)]()),I(this,_0x178ccf(0x2b8),new A[(_0x178ccf(0x638))]([])),I(this,'roomMembers$',this[_0x178ccf(0x2b8)][_0x178ccf(0x52c)](A[_0x178ccf(0x201)](qi))),I(this,_0x178ccf(0x405),a[_0x178ccf(0x1a0)](_0xdd42c8=>{const _0x376b71=_0x178ccf,_0x17cf3c={'eventID':p['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x376b71(0x576)],'memberID':this[_0x376b71(0x1e9)][_0x376b71(0x2d0)](),'selection':_n(_0xdd42c8)}};this[_0x376b71(0x1e9)][_0x376b71(0x4c5)](_0x17cf3c,this['unitID']);},zi)),(this[_0x178ccf(0x576)]=_0x43b489,this[_0x178ccf(0x1e9)]=_0x430190,this[_0x178ccf(0x5eb)]=_0x3acccf,this[_0x178ccf(0x4e5)]=_0xed2e,this[_0x178ccf(0x4bc)]=_0x753bc5,this[_0x178ccf(0x421)]=_0xfa0f57,this[_0x178ccf(0x2e2)]=_0x27b5ea,this['_univerInstanceService']=_0x1dd52f,this['_commandService']=_0x4592b3);}get[_0x714a18(0x24d)](){const _0x1a3e50=_0x714a18;return this[_0x1a3e50(0x50c)][_0x1a3e50(0x416)]();}get[_0x714a18(0x1d1)](){const _0x33309a=_0x714a18;return this[_0x33309a(0x2b8)][_0x33309a(0x416)]();}[_0x714a18(0x19e)](){const _0x1a4500=_0x714a18;super[_0x1a4500(0x19e)](),this['_cursorInfo$']['next'](new Map()),this[_0x1a4500(0x50c)][_0x1a4500(0x414)](),this[_0x1a4500(0x2b8)][_0x1a4500(0x5c5)]([]),this[_0x1a4500(0x2b8)][_0x1a4500(0x414)]();}['init'](){const _0x38402e=_0x714a18;this[_0x38402e(0x26c)]||(this['_init']=!0x0,this[_0x38402e(0x1e9)]['sessionStatus$']['pipe'](A[_0x38402e(0x3c8)](this[_0x38402e(0x417)]))['subscribe'](_0x2dd670=>{const _0x1c3221=_0x38402e;_0x2dd670===se['ONLINE']?this['_toggleOnline']():this[_0x1c3221(0x32d)]();}),this[_0x38402e(0x1e9)][_0x38402e(0x55f)]['pipe'](A['takeUntil'](this[_0x38402e(0x417)]))[_0x38402e(0x47b)](_0xfe23fd=>{const _0x3cd746=_0x38402e,_0x3aeb0f=_0xfe23fd[_0x3cd746(0x298)];_0x3aeb0f===p['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x3cd746(0x1a7)](_0xfe23fd),_0x3aeb0f===p[_0x3cd746(0x57d)][_0x3cd746(0x490)]&&this['_onCursorDelete'](_0xfe23fd);}),this[_0x38402e(0x580)](this[_0x38402e(0x266)][_0x38402e(0x1aa)](_0x374c00=>{const _0xd279f5=_0x38402e,_0x3de396=_0x374c00[_0xd279f5(0x25e)];_0x3de396!=null&&this[_0xd279f5(0x222)]&&_0x374c00['id']===ye['SetTextSelectionsOperation']['id']&&_0x3de396[_0xd279f5(0x219)]===this[_0xd279f5(0x576)]&&_0x3de396[_0xd279f5(0x2e3)]===!0x1&&_0x3de396['ranges'][_0xd279f5(0x5a6)]>0x0&&this[_0xd279f5(0x405)](_0x3de396[_0xd279f5(0x498)]);})),this['_syncEditingCollabCursorService'][_0x38402e(0x3d7)]['pipe'](A[_0x38402e(0x3c8)](this[_0x38402e(0x417)]))[_0x38402e(0x47b)](_0x1a55c0=>{const _0x35c3d6=_0x38402e;if((_0x1a55c0==null?void 0x0:_0x1a55c0[_0x35c3d6(0x576)])!==this[_0x35c3d6(0x576)])return;const _0x4c2be4={'eventID':p[_0x35c3d6(0x57d)][_0x35c3d6(0x3bc)],'data':_0x1a55c0};this[_0x35c3d6(0x1a7)](_0x4c2be4);}),this[_0x38402e(0x580)](this[_0x38402e(0x266)][_0x38402e(0x1aa)](_0x271853=>{const _0x316ffc=_0x38402e;if(_0x271853[_0x316ffc(0x25e)]==null)return;const _0x262f50=_0x271853[_0x316ffc(0x25e)];if(_0x271853['id']!==ye[_0x316ffc(0x454)]['id']||_0x262f50[_0x316ffc(0x219)]!==this[_0x316ffc(0x576)])return;const _0x350d88={'id':_0x316ffc(0x458),'params':_0x262f50},_0x13d1be=this['cursorInfo'];for(const [_0x824e37,_0x85ae54]of _0x13d1be){const _0x5c8aeb={'id':_0x316ffc(0x458),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x85ae54[_0x316ffc(0x498)]}},_0x2446e5=this[_0x316ffc(0x2e2)]['transformMutation'](_0x350d88,_0x5c8aeb,!0x1);if(p['isTransformMutationFailure'](_0x2446e5))throw _0x2446e5[_0x316ffc(0x4c3)];_0x13d1be['set'](_0x824e37,{..._0x85ae54,'ranges':_0x2446e5[_0x316ffc(0x3cd)][_0x316ffc(0x25e)][_0x316ffc(0x34f)]});}queueMicrotask(()=>{const _0x2f7120=_0x316ffc;this[_0x2f7120(0x50c)][_0x2f7120(0x5c5)](_0x13d1be);});})));}['_onCursorUpdate'](_0x5b0066){const _0x530812=_0x714a18;var _0x364883,_0x655169;const {memberID:_0x3b60b6,selection:_0x54acba}=_0x5b0066[_0x530812(0x539)],_0x2e6b0f=Ui(_0x54acba),_0x2c7d30=(_0x655169=(_0x364883=this[_0x530812(0x4bc)][_0x530812(0x629)](this[_0x530812(0x576)],_0x3b60b6))==null?void 0x0:_0x364883[_0x530812(0x4e1)])!=null?_0x655169:'Unknown\x20user',_0x2e661d={'color':this[_0x530812(0x4e5)][_0x530812(0x3ae)](_0x3b60b6),'name':_0x2c7d30,'ranges':_0x2e6b0f},_0x29dfb9=this[_0x530812(0x24d)];_0x29dfb9[_0x530812(0x3d0)](_0x3b60b6,_0x2e661d),this[_0x530812(0x50c)][_0x530812(0x5c5)](_0x29dfb9);}['_onCursorDelete'](_0x3b23e1){const _0x4d36cd=_0x714a18,{memberID:_0x24ccb0}=_0x3b23e1[_0x4d36cd(0x539)],_0x33e206=this[_0x4d36cd(0x24d)];_0x33e206[_0x4d36cd(0x57c)](_0x24ccb0),this[_0x4d36cd(0x50c)][_0x4d36cd(0x5c5)](_0x33e206);}[_0x714a18(0x5e3)](){const _0x26ad1d=_0x714a18;var _0x1caad1;if(this[_0x26ad1d(0x222)]=!0x0,((_0x1caad1=this[_0x26ad1d(0x4c0)][_0x26ad1d(0x28e)]())==null?void 0x0:_0x1caad1[_0x26ad1d(0x2e0)]())!==this['unitID'])return;const _0x184b11=this[_0x26ad1d(0x5eb)]['get'](ye[_0x26ad1d(0x238)])[_0x26ad1d(0x5e0)]();Array['isArray'](_0x184b11)&&_0x184b11['length']>0x0&&this[_0x26ad1d(0x405)](_0x184b11);}[_0x714a18(0x32d)](){const _0x3a94d3=_0x714a18;this[_0x3a94d3(0x222)]=!0x1;}};vt=Ki([me(0x2,a[_0x714a18(0x5ce)](a[_0x714a18(0x2cb)])),me(0x3,a[_0x714a18(0x5ce)](yt)),me(0x4,a[_0x714a18(0x5ce)](exports[_0x714a18(0x1f1)])),me(0x5,a[_0x714a18(0x5ce)](Tt)),me(0x6,p[_0x714a18(0x1db)]),me(0x7,a[_0x714a18(0x617)]),me(0x8,a[_0x714a18(0x1c8)])],vt);var Xi=Object[_0x714a18(0x1d2)],Ji=Object[_0x714a18(0x254)],Zi=(_0x2ec72f,_0xb8c52c,_0x5bddb3,_0x4ed0a5)=>{const _0x5c149d=_0x714a18;for(var _0x3aff85=_0x4ed0a5>0x1?void 0x0:_0x4ed0a5?Ji(_0xb8c52c,_0x5bddb3):_0xb8c52c,_0x186a66=_0x2ec72f[_0x5c149d(0x5a6)]-0x1,_0x188766;_0x186a66>=0x0;_0x186a66--)(_0x188766=_0x2ec72f[_0x186a66])&&(_0x3aff85=(_0x4ed0a5?_0x188766(_0xb8c52c,_0x5bddb3,_0x3aff85):_0x188766(_0x3aff85))||_0x3aff85);return _0x4ed0a5&&_0x3aff85&&Xi(_0xb8c52c,_0x5bddb3,_0x3aff85),_0x3aff85;},be=(_0x556dff,_0x452b22)=>(_0x283553,_0x1bb739)=>_0x452b22(_0x283553,_0x1bb739,_0x556dff);const Qi=0x12c,es=0x64,ts=()=>{let _0x40457e=[],_0x431113=!0x1;return _0x5a397d=>{const _0x4fd168=_0x420c;_0x40457e[_0x4fd168(0x5a9)](_0x5a397d),_0x431113||(_0x431113=!0x0,setTimeout(()=>{const _0x154aa6=_0x4fd168;_0x40457e[_0x154aa6(0x39e)](_0x4e7e65=>_0x4e7e65()),_0x40457e=[],_0x431113=!0x1;}));};};let St=class extends a[_0x714a18(0x237)]{constructor(_0x5d4fc0,_0x193a83,_0x3a366e,_0x39b2b6,_0x19b59b,_0x2a5ff6,_0x13c1ee,_0x25e13f){const _0x4fbf7b=_0x714a18;super(),I(this,'_online',!0x1),I(this,'_init',!0x1),I(this,_0x4fbf7b(0x50c),new A[(_0x4fbf7b(0x638))](new Map())),I(this,'cursorInfo$',this[_0x4fbf7b(0x50c)][_0x4fbf7b(0x23c)]()),I(this,_0x4fbf7b(0x2b8),new A[(_0x4fbf7b(0x638))]([])),I(this,_0x4fbf7b(0x5d9),this['_roomMembers$'][_0x4fbf7b(0x52c)](A[_0x4fbf7b(0x201)](Qi))),I(this,'_updateLocalCursor',a['debounce']((_0x165de3,_0x18d1ad)=>{const _0x531437=_0x4fbf7b,_0x105367={'eventID':p[_0x531437(0x57d)][_0x531437(0x3bc)],'data':{'unitID':this['unitID'],'memberID':this[_0x531437(0x1e9)][_0x531437(0x2d0)](),'selection':wt[_0x531437(0x2fe)](_0x165de3,_0x18d1ad[_0x531437(0x531)])}};this[_0x531437(0x1e9)][_0x531437(0x4c5)](_0x105367,this['unitID']);},es)),(this[_0x4fbf7b(0x576)]=_0x5d4fc0,this[_0x4fbf7b(0x1e9)]=_0x193a83,this[_0x4fbf7b(0x5eb)]=_0x3a366e,this[_0x4fbf7b(0x4e5)]=_0x39b2b6,this[_0x4fbf7b(0x4bc)]=_0x19b59b,this[_0x4fbf7b(0x4c0)]=_0x2a5ff6,this[_0x4fbf7b(0x266)]=_0x13c1ee,this[_0x4fbf7b(0x525)]=_0x25e13f);}get[_0x714a18(0x24d)](){const _0x2e65f9=_0x714a18;return this[_0x2e65f9(0x50c)][_0x2e65f9(0x416)]();}get[_0x714a18(0x1d1)](){const _0x134cfc=_0x714a18;return this[_0x134cfc(0x2b8)][_0x134cfc(0x416)]();}[_0x714a18(0x19e)](){const _0x19badd=_0x714a18;super[_0x19badd(0x19e)](),this[_0x19badd(0x50c)][_0x19badd(0x5c5)](new Map()),this[_0x19badd(0x50c)]['complete'](),this[_0x19badd(0x2b8)]['next']([]),this['_roomMembers$'][_0x19badd(0x414)]();}[_0x714a18(0x413)](){const _0x2306d7=_0x714a18;this[_0x2306d7(0x26c)]||(this[_0x2306d7(0x26c)]=!0x0,this['_session']['sessionStatus$'][_0x2306d7(0x52c)](A[_0x2306d7(0x3c8)](this['dispose$']))[_0x2306d7(0x47b)](_0xf3c8f8=>{const _0x561201=_0x2306d7;_0xf3c8f8===se[_0x561201(0x32f)]?this[_0x561201(0x5e3)]():this[_0x561201(0x32d)]();}),this[_0x2306d7(0x1e9)][_0x2306d7(0x55f)][_0x2306d7(0x52c)](A[_0x2306d7(0x3c8)](this['dispose$']))[_0x2306d7(0x47b)](_0x52a7a4=>{const _0x1b35bf=_0x2306d7,_0x4ca0e0=_0x52a7a4[_0x1b35bf(0x298)];_0x4ca0e0===p[_0x1b35bf(0x57d)][_0x1b35bf(0x3bc)]&&this['_onCursorUpdate'](_0x52a7a4),_0x4ca0e0===p['CollaborationEvent'][_0x1b35bf(0x490)]&&this[_0x1b35bf(0x4aa)](_0x52a7a4);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x2306d7(0x266)][_0x2306d7(0x1aa)](_0x58c9a6=>{const _0x6683e7=_0x2306d7;if(this[_0x6683e7(0x222)]&&_0x58c9a6['id']===B[_0x6683e7(0x384)]['id']&&_0x58c9a6[_0x6683e7(0x25e)][_0x6683e7(0x219)]===this[_0x6683e7(0x576)]){const _0x22b490=_0x58c9a6[_0x6683e7(0x25e)];this[_0x6683e7(0x405)](_0x22b490[_0x6683e7(0x53f)],_0x22b490['selections'][0x0]);}})));}[_0x714a18(0x1a7)](_0x3377bb){const _0x3c9ef9=_0x714a18;var _0x179cb5,_0x3cfba5;const {memberID:_0x432c1e,selection:_0x28d633}=_0x3377bb[_0x3c9ef9(0x539)],{sheetName:_0x2feff5,range:_0x58c618}=wt[_0x3c9ef9(0x422)](_0x28d633),_0x4afd94={'name':(_0x3cfba5=(_0x179cb5=this[_0x3c9ef9(0x4bc)]['getMember'](this[_0x3c9ef9(0x576)],_0x432c1e))==null?void 0x0:_0x179cb5[_0x3c9ef9(0x4e1)])!=null?_0x3cfba5:_0x3c9ef9(0x26b),'range':this['_getMergeRange'](_0x2feff5,_0x58c618),'sheetID':_0x2feff5,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x432c1e),'selection':_0x28d633},_0x6b8b74=this[_0x3c9ef9(0x24d)];_0x6b8b74[_0x3c9ef9(0x3d0)](_0x432c1e,_0x4afd94),this[_0x3c9ef9(0x50c)]['next'](_0x6b8b74);}[_0x714a18(0x4aa)](_0x1f3729){const _0x1094d9=_0x714a18,{memberID:_0x4c1ef2}=_0x1f3729[_0x1094d9(0x539)],_0x126b57=this[_0x1094d9(0x24d)];_0x126b57[_0x1094d9(0x57c)](_0x4c1ef2),this[_0x1094d9(0x50c)][_0x1094d9(0x5c5)](_0x126b57);}[_0x714a18(0x4ca)](_0x25109c,_0x4a0b8f){const _0x457874=_0x714a18;var _0x2b135b,_0x15bb98;const _0x340c90=(_0x15bb98=(_0x2b135b=this[_0x457874(0x4c0)][_0x457874(0x4ad)](this['unitID']))==null?void 0x0:_0x2b135b[_0x457874(0x3f8)](_0x25109c))==null?void 0x0:_0x15bb98[_0x457874(0x4c4)]();return(_0x340c90==null?void 0x0:_0x340c90['find'](_0x313b14=>a['Rectangle'][_0x457874(0x5f4)](_0x313b14,_0x4a0b8f)))||_0x4a0b8f;}['_onRefRangeChange'](){const _0x52b695=_0x714a18,_0x149560=new a['DisposableCollection'](),_0x4bee56=ts(),_0x4fa7a7=()=>{const _0x2e89f0=_0x420c;_0x149560[_0x2e89f0(0x19e)]();const _0x621b5e=(_0x313595,_0x3fb866,_0x513130,_0x9fde1e)=>{const _0x1eb375=_0x2e89f0;let _0x51f1f4=[];switch(_0x313595['id']){case B[_0x1eb375(0x241)][_0x1eb375(0x294)]:{_0x51f1f4=B[_0x1eb375(0x3f5)](_0x313595,_0x9fde1e);break;}case B['EffectRefRangId'][_0x1eb375(0x609)]:{_0x51f1f4=B['handleDeleteRangeMoveUp'](_0x313595,_0x9fde1e);break;}case B[_0x1eb375(0x241)][_0x1eb375(0x555)]:{_0x51f1f4=B[_0x1eb375(0x4ab)](_0x313595,_0x9fde1e);break;}case B[_0x1eb375(0x241)][_0x1eb375(0x3ef)]:{_0x51f1f4=B['handleInsertRangeMoveDown'](_0x313595,_0x9fde1e);break;}case B[_0x1eb375(0x241)]['InsertRangeMoveRightCommandId']:{_0x51f1f4=B[_0x1eb375(0x4b6)](_0x313595,_0x9fde1e);break;}case B['EffectRefRangId'][_0x1eb375(0x5c1)]:{_0x51f1f4=B['handleInsertRow'](_0x313595,_0x9fde1e);break;}case B[_0x1eb375(0x241)][_0x1eb375(0x1d5)]:{_0x51f1f4=B[_0x1eb375(0x248)](_0x313595,_0x9fde1e);break;}case B[_0x1eb375(0x241)][_0x1eb375(0x289)]:{_0x51f1f4=B[_0x1eb375(0x428)](_0x313595,_0x9fde1e);break;}case B['EffectRefRangId'][_0x1eb375(0x350)]:{_0x51f1f4=B['handleIRemoveRow'](_0x313595,_0x9fde1e);break;}}const _0x5d1510=B[_0x1eb375(0x20e)](_0x51f1f4,_0x9fde1e),_0x2f3895=this[_0x1eb375(0x24d)][_0x1eb375(0x1bc)](_0x3fb866);if(_0x2f3895&&_0x5d1510){const _0x1cccaa={..._0x2f3895,'range':_0x5d1510};this['cursorInfo'][_0x1eb375(0x3d0)](_0x3fb866,_0x1cccaa),_0x4bee56(()=>{const _0x5be09c=_0x1eb375,_0x55ee46=this['_refRangeService'][_0x5be09c(0x47a)](_0x5d1510,_0x2dfb33=>(_0x55ee46[_0x5be09c(0x19e)](),_0x621b5e(_0x2dfb33,_0x3fb866,_0x513130,_0x5d1510)));_0x149560[_0x5be09c(0x2fc)](_0x55ee46);});}return{'redos':[],'undos':[]};};this[_0x2e89f0(0x24d)][_0x2e89f0(0x39e)]((_0x41019b,_0x298413)=>{const _0x1b701d=_0x2e89f0,{range:_0x13ab1b,sheetID:_0x257ddc}=_0x41019b,_0x1cf588=this[_0x1b701d(0x525)]['registerRefRange'](_0x13ab1b,_0x4d68d4=>(_0x1cf588['dispose'](),_0x621b5e(_0x4d68d4,_0x298413,_0x257ddc,_0x13ab1b)));_0x149560[_0x1b701d(0x2fc)](_0x1cf588);});};this[_0x52b695(0x580)](a[_0x52b695(0x470)](this[_0x52b695(0x50c)]['subscribe'](()=>{_0x4fa7a7();})));}[_0x714a18(0x5e3)](){const _0x57a6dc=_0x714a18;var _0x22819a,_0x5e7700;if(this[_0x57a6dc(0x222)]=!0x0,((_0x22819a=this[_0x57a6dc(0x4c0)][_0x57a6dc(0x28e)]())==null?void 0x0:_0x22819a[_0x57a6dc(0x2e0)]())!==this[_0x57a6dc(0x576)])return;const _0x4271ae=(_0x5e7700=this[_0x57a6dc(0x5eb)][_0x57a6dc(0x1bc)](B[_0x57a6dc(0x484)])[_0x57a6dc(0x31d)]())==null?void 0x0:_0x5e7700[0x0],_0x31b623=this[_0x57a6dc(0x4c0)][_0x57a6dc(0x441)](a[_0x57a6dc(0x3ab)][_0x57a6dc(0x2d2)])[_0x57a6dc(0x506)]();_0x4271ae&&_0x31b623&&this[_0x57a6dc(0x405)](_0x31b623[_0x57a6dc(0x424)](),_0x4271ae);}['_toggleOffline'](){const _0x4e27bf=_0x714a18;this[_0x4e27bf(0x222)]=!0x1;}};St=Zi([be(0x2,a[_0x714a18(0x5ce)](a['Injector'])),be(0x3,a['Inject'](yt)),be(0x4,a[_0x714a18(0x5ce)](exports[_0x714a18(0x1f1)])),be(0x5,a[_0x714a18(0x617)]),be(0x6,a[_0x714a18(0x1c8)]),be(0x7,a[_0x714a18(0x5ce)](B[_0x714a18(0x192)]))],St);var ns=Object['defineProperty'],is=Object[_0x714a18(0x254)],ss=(_0x3244bd,_0x3564c1,_0x29f054,_0xa9e512)=>{const _0x4dfda3=_0x714a18;for(var _0x1a844d=_0xa9e512>0x1?void 0x0:_0xa9e512?is(_0x3564c1,_0x29f054):_0x3564c1,_0x35e14c=_0x3244bd[_0x4dfda3(0x5a6)]-0x1,_0x8a4c55;_0x35e14c>=0x0;_0x35e14c--)(_0x8a4c55=_0x3244bd[_0x35e14c])&&(_0x1a844d=(_0xa9e512?_0x8a4c55(_0x3564c1,_0x29f054,_0x1a844d):_0x8a4c55(_0x1a844d))||_0x1a844d);return _0xa9e512&&_0x1a844d&&ns(_0x3564c1,_0x29f054,_0x1a844d),_0x1a844d;},nt=(_0x444f22,_0x5db0e0)=>(_0x2f2749,_0x1bb7d4)=>_0x5db0e0(_0x2f2749,_0x1bb7d4,_0x444f22);let De=class extends a['RxDisposable']{constructor(_0x53468e,_0x58b311,_0xc4d014){const _0x5ca35a=_0x714a18;super(),I(this,_0x5ca35a(0x316),new Map()),I(this,_0x5ca35a(0x5a5),new A[(_0x5ca35a(0x47f))]()),(this['_univerInstanceService']=_0x53468e,this[_0x5ca35a(0x5eb)]=_0x58b311,this['_collabSessionService']=_0xc4d014,this['_init']());}[_0x714a18(0x19e)](){const _0x862106=_0x714a18;super['dispose'](),this['_entityInit$'][_0x862106(0x414)](),this[_0x862106(0x316)][_0x862106(0x39e)](_0x3c159c=>_0x3c159c['dispose']());}[_0x714a18(0x547)](_0x2cc19a){const _0x22a593=_0x714a18;return this[_0x22a593(0x316)][_0x22a593(0x21d)](_0x2cc19a)?this[_0x22a593(0x316)][_0x22a593(0x1bc)](_0x2cc19a)[_0x22a593(0x18d)]:this['_entityInit$'][_0x22a593(0x52c)](A[_0x22a593(0x630)](_0x4e876b=>_0x4e876b[_0x22a593(0x576)]===_0x2cc19a),A[_0x22a593(0x631)](_0x4d1d8e=>_0x4d1d8e[_0x22a593(0x18d)]));}[_0x714a18(0x26c)](){const _0x1c5838=_0x714a18;this[_0x1c5838(0x4c0)][_0x1c5838(0x3d5)](a[_0x1c5838(0x3ab)][_0x1c5838(0x2d2)])[_0x1c5838(0x52c)](A['takeUntil'](this[_0x1c5838(0x417)]))[_0x1c5838(0x47b)](async _0x2a537b=>{const _0x36ad34=_0x1c5838,_0x572637=_0x2a537b[_0x36ad34(0x2e0)](),_0x52d891=await this[_0x36ad34(0x1ef)](_0x572637);this[_0x36ad34(0x5a5)][_0x36ad34(0x5c5)](_0x52d891),this['_entities'][_0x36ad34(0x3d0)](_0x572637,_0x52d891);}),this[_0x1c5838(0x4c0)][_0x1c5838(0x3d5)](a[_0x1c5838(0x3ab)][_0x1c5838(0x5ff)])['pipe'](A[_0x1c5838(0x3c8)](this[_0x1c5838(0x417)]))[_0x1c5838(0x52c)](A[_0x1c5838(0x630)](_0xfe6941=>!_0xfe6941[_0x1c5838(0x2e0)]()[_0x1c5838(0x227)]('__')))[_0x1c5838(0x47b)](async _0xdf21b3=>{const _0x15fa8c=_0x1c5838,_0x55644f=_0xdf21b3[_0x15fa8c(0x2e0)](),_0x3b767e=await this['_startDocCollabCursor'](_0x55644f);this[_0x15fa8c(0x5a5)][_0x15fa8c(0x5c5)](_0x3b767e),this[_0x15fa8c(0x316)][_0x15fa8c(0x3d0)](_0x55644f,_0x3b767e);}),A[_0x1c5838(0x3ea)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x1c5838(0x3ab)]['UNIVER_DOC']),this[_0x1c5838(0x4c0)][_0x1c5838(0x5ef)](a['UniverInstanceType'][_0x1c5838(0x2d2)]))[_0x1c5838(0x52c)](A[_0x1c5838(0x3c8)](this['dispose$']))[_0x1c5838(0x47b)](_0x2591b4=>{const _0x5b2d91=_0x1c5838,_0x19a157=_0x2591b4[_0x5b2d91(0x2e0)](),_0x2842c7=this['_entities'][_0x5b2d91(0x1bc)](_0x19a157);_0x2842c7&&(_0x2842c7['dispose'](),this[_0x5b2d91(0x316)][_0x5b2d91(0x57c)](_0x19a157));});}async[_0x714a18(0x1ef)](_0x1b92c9){const _0x11630b=_0x714a18,_0x3bb064=await this['_collabSessionService']['requireSession'](_0x1b92c9),_0x18bca3=this[_0x11630b(0x5eb)]['createInstance'](St,_0x1b92c9,_0x3bb064);return _0x18bca3[_0x11630b(0x413)](),_0x18bca3;}async[_0x714a18(0x476)](_0x29c0ba){const _0x33e429=_0x714a18,_0x108dc8=await this[_0x33e429(0x540)][_0x33e429(0x49f)](_0x29c0ba),_0x7f5343=this['_injector']['createInstance'](vt,_0x29c0ba,_0x108dc8);return _0x7f5343[_0x33e429(0x413)](),_0x7f5343;}};function _0x420c(_0x4dab7c,_0x3efc4a){const _0x206ace=_0x206a();return _0x420c=function(_0x420cdd,_0x14c3a8){_0x420cdd=_0x420cdd-0x176;let _0x7c39be=_0x206ace[_0x420cdd];return _0x7c39be;},_0x420c(_0x4dab7c,_0x3efc4a);}De=ss([nt(0x0,a[_0x714a18(0x617)]),nt(0x1,a[_0x714a18(0x5ce)](a[_0x714a18(0x2cb)])),nt(0x2,a[_0x714a18(0x5ce)](exports[_0x714a18(0x3c2)]))],De);const Le=0x14,$t=0xc8,it=0x4,rs=0x5;function os(_0x92b966,_0xe539cf){const _0x577564=_0x714a18;let {radius:_0x317600,width:_0xb227e3,height:_0x385384}=_0xe539cf;_0x317600=_0x317600!=null?_0x317600:0x0,_0xb227e3=_0xb227e3!=null?_0xb227e3:0x1e,_0x385384=_0x385384!=null?_0x385384:0x1e;let _0x242a49=0x0,_0x501956=0x0,_0x1be289=0x0;_0x242a49=_0x501956=_0x1be289=Math[_0x577564(0x33c)](_0x317600,_0xb227e3/0x2,_0x385384/0x2),_0x92b966['beginPath'](),_0x92b966[_0x577564(0x3f6)](_0x242a49,0x0),_0x92b966[_0x577564(0x60a)](_0xb227e3-_0x501956,0x0),_0x92b966[_0x577564(0x410)](_0xb227e3-_0x501956,_0x501956,_0x501956,Math['PI']*0x3/0x2,0x0,!0x1),_0x92b966[_0x577564(0x60a)](_0xb227e3,_0x385384-_0x1be289),_0x92b966[_0x577564(0x410)](_0xb227e3-_0x1be289,_0x385384-_0x1be289,_0x1be289,0x0,Math['PI']/0x2,!0x1),_0x92b966[_0x577564(0x60a)](0x0,_0x385384),_0x92b966[_0x577564(0x60a)](0x0,_0x242a49),_0x92b966[_0x577564(0x410)](_0x242a49,_0x242a49,_0x242a49,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x92b966[_0x577564(0x544)](),_0xe539cf[_0x577564(0x374)]&&(_0x92b966[_0x577564(0x2b5)](),_0x92b966['fillStyle']=_0xe539cf[_0x577564(0x374)],_0xe539cf['fillRule']===_0x577564(0x278)?_0x92b966[_0x577564(0x374)]('evenodd'):_0x92b966[_0x577564(0x374)](),_0x92b966[_0x577564(0x234)]());}class ze extends K[_0x714a18(0x54b)]{constructor(_0x5eafbd,_0x39ae2b){const _0x59fde2=_0x714a18;super(_0x5eafbd,_0x39ae2b),I(this,_0x59fde2(0x279)),I(this,_0x59fde2(0x4a2)),(this['color']=_0x39ae2b==null?void 0x0:_0x39ae2b[_0x59fde2(0x279)],this[_0x59fde2(0x4a2)]=_0x39ae2b==null?void 0x0:_0x39ae2b[_0x59fde2(0x4a2)]);}static[_0x714a18(0x59a)](_0x29944f,_0x47d23f){const _0x25f552=_0x714a18,{text:_0x1a31c6,color:_0x2739ca}=_0x47d23f;_0x29944f[_0x25f552(0x2b5)](),_0x29944f[_0x25f552(0x1d9)]=_0x25f552(0x46c);const _0x4c3433=_0x29944f[_0x25f552(0x2fb)](_0x1a31c6)[_0x25f552(0x43e)],_0x3a2204=Math[_0x25f552(0x33c)](_0x4c3433+0x2*it,$t);os(_0x29944f,{'height':Le,'radius':0x4,'width':_0x3a2204,'fill':_0x2739ca,'evented':!0x1}),_0x29944f['fillStyle']=_0x25f552(0x342);const _0x5ca7ad=it,_0x3f5a70=Le-rs,_0x4e4100=$t-0x2*it;if(_0x4c3433>_0x4e4100){let _0x1114f6='',_0x1bf33d=0x0;for(const _0x48018d of _0x1a31c6){const _0x3ca91b=_0x29944f['measureText'](_0x48018d)['width'];if(_0x1bf33d+_0x3ca91b<=_0x4e4100-_0x29944f[_0x25f552(0x2fb)]('...')[_0x25f552(0x43e)])_0x1114f6+=_0x48018d,_0x1bf33d+=_0x3ca91b;else{_0x1114f6+=_0x25f552(0x1b7);break;}}_0x29944f['fillText'](_0x1114f6,_0x5ca7ad,_0x3f5a70);}else _0x29944f['fillText'](_0x1a31c6,_0x5ca7ad,_0x3f5a70);_0x29944f[_0x25f552(0x234)]();}[_0x714a18(0x5dd)](_0xd871db){ze['drawWith'](_0xd871db,this);}}const st=_0x714a18(0x457),as=_0x714a18(0x348),cs=_0x714a18(0x4b0),Ue=0x6,ls=1.5,rt=0x4,hs=1.5,_s='rgba(255,\x20255,\x20255,\x200.01)';class Ht{constructor(_0x52adf4,_0x53bd19,_0x5b15f1,_0xe3e3ef){const _0x2df59f=_0x714a18;I(this,'_shapes',[]),I(this,_0x2df59f(0x4af),null),I(this,_0x2df59f(0x497),null),I(this,_0x2df59f(0x217),null),I(this,'_hideTimer',null),I(this,_0x2df59f(0x22d),null),(this[_0x2df59f(0x633)]=_0x52adf4,this[_0x2df59f(0x58c)]=_0x53bd19,this[_0x2df59f(0x4f0)]=_0x5b15f1,this[_0x2df59f(0x321)]=_0xe3e3ef,this[_0x2df59f(0x5e7)]());}set[_0x714a18(0x198)](_0x557f8c){const _0x4c4d7e=_0x714a18;_0x557f8c?(this[_0x4c4d7e(0x217)]&&this[_0x4c4d7e(0x217)][_0x4c4d7e(0x2c1)](),this['_textBubble']&&this['_textBubble'][_0x4c4d7e(0x26f)]()):(this['_anchorDot']&&this[_0x4c4d7e(0x217)][_0x4c4d7e(0x26f)](),this['_textBubble']&&this[_0x4c4d7e(0x497)][_0x4c4d7e(0x2c1)]());}[_0x714a18(0x19e)](){const _0x38042d=_0x714a18;for(const _0x1c65fe of this['_shapes'])_0x1c65fe[_0x38042d(0x19e)]();this['_textBubble']&&this[_0x38042d(0x497)][_0x38042d(0x19e)](),this['_anchorDot']&&this[_0x38042d(0x217)][_0x38042d(0x19e)](),this['_anchor']&&this[_0x38042d(0x4af)][_0x38042d(0x19e)](),this[_0x38042d(0x22d)]&&this[_0x38042d(0x22d)]();}[_0x714a18(0x5e7)](){const _0x4463f1=_0x714a18;var _0xa0ff85;const {_docSkeleton:_0x2ddbbe,_document:_0x2323f3}=this,{color:_0x34077f,name:_0x5614f9,ranges:_0x233551}=this['_cursor'],_0x3443a3=_0x2323f3[_0x4463f1(0x592)](),{docsLeft:_0x8c934e,docsTop:_0x34926c}=_0x3443a3,_0x540f37=new Z['NodePositionConvertToCursor'](_0x3443a3,_0x2ddbbe);for(const {startOffset:_0x1938c8,endOffset:_0x18a23a,rangeType:_0x9aa643,segmentId:_0x757080,segmentPage:_0x130d6b,collapsed:_0x4e27dd,isActive:_0x4ce3ee}of _0x233551){const _0xd3dbe3=_0x2ddbbe[_0x4463f1(0x199)](_0x1938c8,!0x0,_0x757080,_0x130d6b);let _0x416d9d=_0x2ddbbe['findNodePositionByCharIndex'](_0x18a23a,!0x0,_0x757080,_0x130d6b);if(_0x416d9d==null&&(_0x416d9d=_0x2ddbbe['findNodePositionByCharIndex'](_0x18a23a-0x1,!0x1,_0x757080,_0x130d6b)),_0x4ce3ee){const {contentBoxPointGroup:_0x5d01d3}=_0x540f37[_0x4463f1(0x53b)](_0x416d9d,_0x416d9d);if(_0x5d01d3['length']===0x0)continue;this[_0x4463f1(0x45c)](_0x34077f,_0x5d01d3,_0x8c934e,_0x34926c,_0x5614f9),this[_0x4463f1(0x22d)]=this[_0x4463f1(0x4c6)]();}if(_0xd3dbe3&&_0x416d9d){if(_0x9aa643===a[_0x4463f1(0x1d7)][_0x4463f1(0x5b1)]){const _0x4f751e=new Z['NodePositionConvertToRectRange'](_0x3443a3,_0x2ddbbe),{pointGroup:_0x30c05a}=(_0xa0ff85=_0x4f751e[_0x4463f1(0x53b)](_0xd3dbe3,_0x416d9d))!=null?_0xa0ff85:{};if(_0x30c05a==null||_0x30c05a[_0x4463f1(0x5a6)]===0x0)continue;this[_0x4463f1(0x361)](_0x34077f,_0x30c05a,_0x8c934e,_0x34926c);}else{if(!_0x4e27dd){const {borderBoxPointGroup:_0x5cb6ce}=_0x540f37[_0x4463f1(0x53b)](_0xd3dbe3,_0x416d9d);if(_0x5cb6ce[_0x4463f1(0x5a6)]===0x0)continue;this[_0x4463f1(0x1c4)](_0x34077f,_0x5cb6ce,_0x8c934e,_0x34926c);}}}}}[_0x714a18(0x45c)](_0x49c912,_0x2b7432,_0x38e37c,_0x68b23e,_0x1a7916){const _0x115aab=_0x714a18,_0xdea09b=this[_0x115aab(0x1f7)](_0x2b7432),{left:_0x2fd19c,top:_0x22fb7d,height:_0xfdd73f}=_0xdea09b,_0x546bdd=this['_getScale'](),_0x10e058=hs/_0x546bdd,_0x2c05ba=new K['Rect'](st+a[_0x115aab(0x392)][_0x115aab(0x4fb)](Ue),{'left':_0x2fd19c+_0x38e37c-_0x10e058,'top':_0x22fb7d+_0x68b23e,'height':_0xfdd73f,'width':ls,'fill':_0x49c912||K[_0x115aab(0x1e6)](a[_0x115aab(0x42f)]['black'],0x0),'strokeWidth':_0x10e058,'stroke':_s,'evented':!0x0});this['_anchor']=_0x2c05ba,this[_0x115aab(0x58c)][_0x115aab(0x1af)](_0x2c05ba,Z[_0x115aab(0x590)]);const _0x2d7dda=new K[(_0x115aab(0x181))](st+a['Tools'][_0x115aab(0x4fb)](Ue),{'left':_0x2fd19c+_0x38e37c-_0x10e058,'top':_0x22fb7d+_0x68b23e-rt/0x2,'height':rt,'width':rt,'fill':_0x49c912||K['getColor'](a[_0x115aab(0x42f)][_0x115aab(0x261)],0x0),'strokeWidth':0x0,'stroke':_0x49c912||K['getColor'](a['COLORS'][_0x115aab(0x261)],0x0),'evented':!0x1});this[_0x115aab(0x217)]=_0x2d7dda,this['_scene'][_0x115aab(0x1af)](_0x2d7dda,Z[_0x115aab(0x590)]);const _0x439c08=new ze(st+a[_0x115aab(0x392)][_0x115aab(0x4fb)](Ue),{'left':_0x2fd19c+_0x38e37c-_0x10e058,'top':_0x22fb7d+_0x68b23e-Le,'text':_0x1a7916,'color':_0x49c912});this[_0x115aab(0x497)]=_0x439c08,this[_0x115aab(0x58c)]['addObject'](_0x439c08,Z[_0x115aab(0x590)]),this[_0x115aab(0x198)]=!0x1;}[_0x714a18(0x4c6)](){const _0x364742=_0x714a18,_0x527f3d=this[_0x364742(0x4af)][_0x364742(0x313)][_0x364742(0x40a)](()=>{this['_hover']=!0x0;}),_0x1112b3=this['_anchor'][_0x364742(0x3c0)][_0x364742(0x40a)](()=>{const _0x48c11d=_0x364742;this[_0x48c11d(0x4f3)]&&clearTimeout(this[_0x48c11d(0x4f3)]),this[_0x48c11d(0x4f3)]=setTimeout(()=>{const _0x56b666=_0x48c11d;this[_0x56b666(0x198)]=!0x1;},0x7d0);});return()=>{const _0x29bc52=_0x364742;_0x527f3d[_0x29bc52(0x1f9)](),_0x1112b3[_0x29bc52(0x1f9)]();};}[_0x714a18(0x1c4)](_0x326cd4,_0x59b689,_0x183f2c,_0x3f002e){const _0x32fc21=_0x714a18,_0x45c435=new a[(_0x32fc21(0x2ce))](_0x326cd4)['setAlpha'](0.2)[_0x32fc21(0x178)](),_0xe189f=new K[(_0x32fc21(0x2da))](as+a[_0x32fc21(0x392)][_0x32fc21(0x4fb)](Ue),{'pointsGroup':_0x59b689,'fill':_0x45c435||K[_0x32fc21(0x1e6)](a[_0x32fc21(0x42f)][_0x32fc21(0x261)],0.2),'left':_0x183f2c,'top':_0x3f002e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x32fc21(0x594)]['push'](_0xe189f),this[_0x32fc21(0x58c)]['addObject'](_0xe189f,Z[_0x32fc21(0x590)]);}['_drawRectRange'](_0x10c5fe,_0x20eea7,_0x5cf6ee,_0x1cf0e3){const _0x1c9684=_0x714a18,_0x3bb7f2=new a[(_0x1c9684(0x2ce))](_0x10c5fe)[_0x1c9684(0x253)](0.2)[_0x1c9684(0x178)](),_0x3bb24f=new K[(_0x1c9684(0x2da))](cs+a[_0x1c9684(0x392)][_0x1c9684(0x4fb)](Ue),{'pointsGroup':_0x20eea7,'fill':_0x3bb7f2||K['getColor'](a[_0x1c9684(0x42f)][_0x1c9684(0x261)],0.2),'left':_0x5cf6ee,'top':_0x1cf0e3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1c9684(0x594)][_0x1c9684(0x5a9)](_0x3bb24f),this['_scene'][_0x1c9684(0x1af)](_0x3bb24f,Z['TEXT_RANGE_LAYER_INDEX']);}[_0x714a18(0x1f7)](_0xc1dab2){const _0x4cc42f=_0xc1dab2[0x0],_0x35888a=_0x4cc42f[0x0],_0x122095=_0x4cc42f[0x2],{x:_0x2fbc57,y:_0x486403}=_0x35888a,{x:_0x370ccc,y:_0x652653}=_0x122095;return{'left':_0x2fbc57,'top':_0x486403,'width':_0x370ccc-_0x2fbc57,'height':_0x652653-_0x486403};}[_0x714a18(0x290)](){const _0x2ec9b6=_0x714a18,{scaleX:_0x21ac6e,scaleY:_0x5d06c3}=this[_0x2ec9b6(0x58c)][_0x2ec9b6(0x23e)]();return Math[_0x2ec9b6(0x208)](_0x21ac6e,_0x5d06c3);}}var us=Object[_0x714a18(0x1d2)],ds=Object[_0x714a18(0x254)],fs=(_0x5ab5e3,_0x194888,_0x4dc088,_0x5941c6)=>{const _0x218f8c=_0x714a18;for(var _0x19c866=_0x5941c6>0x1?void 0x0:_0x5941c6?ds(_0x194888,_0x4dc088):_0x194888,_0x49f7db=_0x5ab5e3[_0x218f8c(0x5a6)]-0x1,_0x250052;_0x49f7db>=0x0;_0x49f7db--)(_0x250052=_0x5ab5e3[_0x49f7db])&&(_0x19c866=(_0x5941c6?_0x250052(_0x194888,_0x4dc088,_0x19c866):_0x250052(_0x19c866))||_0x19c866);return _0x5941c6&&_0x19c866&&us(_0x194888,_0x4dc088,_0x19c866),_0x19c866;},je=(_0x503b99,_0x456360)=>(_0x44ac6e,_0x2fb9e3)=>_0x456360(_0x44ac6e,_0x2fb9e3,_0x503b99);let pt=class extends a[_0x714a18(0x237)]{constructor(_0x2b4ff0,_0x48c5be,_0x299b46,_0x1f6af7,_0x187170){const _0xe945fe=_0x714a18;super(),I(this,'_cursorShapes',[]),I(this,_0xe945fe(0x20d),[]),(this[_0xe945fe(0x29f)]=_0x2b4ff0,this['_docSkeletonManagerService']=_0x48c5be,this[_0xe945fe(0x225)]=_0x299b46,this[_0xe945fe(0x266)]=_0x1f6af7,this[_0xe945fe(0x1cc)]=_0x187170,this['_init']());}[_0x714a18(0x26c)](){const _0xdec0f1=_0x714a18,_0x265c68=this[_0xdec0f1(0x29f)][_0xdec0f1(0x219)],_0x44fafb=this[_0xdec0f1(0x2c4)];this[_0xdec0f1(0x580)](A['combineLatest']([this['_collabCursorController']['getCollabCursors$'](_0x265c68),this[_0xdec0f1(0x1cc)][_0xdec0f1(0x196)]])[_0xdec0f1(0x52c)](V['map'](([_0x15a73e,_0x3b1f22])=>({'skeleton':_0x44fafb[_0xdec0f1(0x533)](),'cursors':[..._0x15a73e[_0xdec0f1(0x40c)]()][_0xdec0f1(0x243)](_0x1ff541=>({..._0x1ff541,'color':_0x3b1f22[_0x1ff541['color']]}))})))['subscribe'](_0x179bf6=>{const _0x181c00=_0xdec0f1;if(this[_0x181c00(0x2a3)](),_0x179bf6){const {skeleton:_0x3420d2,cursors:_0x399ba1}=_0x179bf6;this[_0x181c00(0x209)](_0x3420d2,_0x399ba1);}})),this[_0xdec0f1(0x50d)](),this[_0xdec0f1(0x63b)]();}[_0x714a18(0x209)](_0x1ed1d4,_0x555e7c){const _0x19aecd=_0x714a18,{scene:_0x448094,mainComponent:_0x42654f}=this[_0x19aecd(0x29f)],_0x14a97e=_0x555e7c[_0x19aecd(0x556)](_0x360867=>new Ht(_0x360867,_0x448094,_0x1ed1d4,_0x42654f));this[_0x19aecd(0x216)]=_0x14a97e,this[_0x19aecd(0x20d)]=_0x555e7c;}[_0x714a18(0x24f)](){const _0x1c9ddb=_0x714a18;this[_0x1c9ddb(0x2a3)]();const {scene:_0x16a44e,mainComponent:_0x4793e9}=this[_0x1c9ddb(0x29f)],_0x1299bb=this[_0x1c9ddb(0x2c4)]['getSkeleton'](),_0x3ff273=this[_0x1c9ddb(0x20d)][_0x1c9ddb(0x556)](_0x2fa625=>new Ht(_0x2fa625,_0x16a44e,_0x1299bb,_0x4793e9));this[_0x1c9ddb(0x216)]=_0x3ff273;}[_0x714a18(0x2a3)](){const _0x5c083d=_0x714a18;this['_cursorShapes']['forEach'](_0x1636c8=>_0x1636c8[_0x5c083d(0x19e)]()),this[_0x5c083d(0x216)]=[];}[_0x714a18(0x63b)](){const _0x40fe2e=_0x714a18,_0x520886=[Z[_0x40fe2e(0x18e)]['id']];this[_0x40fe2e(0x580)](this[_0x40fe2e(0x266)][_0x40fe2e(0x1aa)](_0x226f3c=>{const _0x14ad9b=_0x40fe2e;_0x520886[_0x14ad9b(0x2c3)](_0x226f3c['id'])&&_0x226f3c[_0x14ad9b(0x25e)][_0x14ad9b(0x219)]===this['_context'][_0x14ad9b(0x219)]&&this['_refreshCollabCursors']();}));}[_0x714a18(0x50d)](){const _0x435f54=_0x714a18;this['disposeWithMe'](a['fromEventSubject'](this['_context'][_0x435f54(0x1e2)]['onTransformChange$'])[_0x435f54(0x52c)](V['filter'](_0x11244b=>_0x11244b[_0x435f54(0x283)]===K[_0x435f54(0x42c)]['resize']),V[_0x435f54(0x5b3)](0x10))[_0x435f54(0x47b)](()=>{const _0x196508=_0x435f54;this[_0x196508(0x24f)]();}));}};pt=fs([je(0x1,a[_0x714a18(0x5ce)](ye[_0x714a18(0x5c9)])),je(0x2,a['Inject'](De)),je(0x3,a[_0x714a18(0x1c8)]),je(0x4,a[_0x714a18(0x5ce)](a['ThemeService']))],pt);const vs=0x1,Ss=1.5;class vn extends K[_0x714a18(0x54b)]{constructor(_0x3bbd52,_0x53ad90){const _0x29805e=_0x714a18;super(_0x3bbd52,_0x53ad90),I(this,_0x29805e(0x474)),I(this,_0x29805e(0x235),!0x1),I(this,_0x29805e(0x3be)),I(this,_0x29805e(0x581),''),I(this,_0x29805e(0x184),_0x29805e(0x5c4)),I(this,_0x29805e(0x57b)),(_0x53ad90&&this[_0x29805e(0x4d8)](_0x53ad90),this[_0x29805e(0x313)][_0x29805e(0x40a)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x29805e(0x3c0)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x714a18(0x4d8)](_0x3f207c){const _0x27c09e=_0x714a18;var _0x1163a7,_0x1bae6b,_0x1092dd,_0x4cda0d,_0x17ed88,_0x203633;this[_0x27c09e(0x474)]=(_0x1163a7=_0x3f207c[_0x27c09e(0x279)])!=null?_0x1163a7:this[_0x27c09e(0x474)],this[_0x27c09e(0x235)]=(_0x1bae6b=_0x3f207c[_0x27c09e(0x340)])!=null?_0x1bae6b:this[_0x27c09e(0x235)],this[_0x27c09e(0x3be)]=(_0x1092dd=_0x3f207c[_0x27c09e(0x531)])!=null?_0x1092dd:this[_0x27c09e(0x3be)],this[_0x27c09e(0x581)]=(_0x4cda0d=_0x3f207c[_0x27c09e(0x4e1)])!=null?_0x4cda0d:this[_0x27c09e(0x581)],this['_labelPosition']=(_0x17ed88=_0x3f207c['labelPosition'])!=null?_0x17ed88:this[_0x27c09e(0x184)],this[_0x27c09e(0x57b)]=(_0x203633=_0x3f207c[_0x27c09e(0x3bd)])!=null?_0x203633:this[_0x27c09e(0x57b)],this[_0x27c09e(0x475)]({'width':_0x3f207c[_0x27c09e(0x43e)],'height':_0x3f207c[_0x27c09e(0x5e2)]});}[_0x714a18(0x247)](_0x21deb6){const _0x42f613=_0x714a18,{row:_0x41a465,column:_0x5a7143}=_0x21deb6;if(_0x41a465>=this['_range']['startRow']&&_0x41a465<=this[_0x42f613(0x3be)][_0x42f613(0x189)]&&_0x5a7143>=this['_range'][_0x42f613(0x596)]&&_0x5a7143<=this['_range']['endColumn']){this[_0x42f613(0x4d8)]({'hovered':!0x0});return;}this[_0x42f613(0x4d8)]({'hovered':!0x1});}['triggerDblclick'](_0xdbb66c){return!0x1;}['_draw'](_0x369ace){const _0x12bb44=_0x714a18;K['Rect'][_0x12bb44(0x59a)](_0x369ace,{'width':this[_0x12bb44(0x43e)],'height':this[_0x12bb44(0x5e2)],'strokeWidth':Ss,'stroke':this[_0x12bb44(0x474)],'evented':!0x1,'fill':this[_0x12bb44(0x57b)]}),this['_hovered']&&(_0x369ace['save'](),_0x369ace[_0x12bb44(0x284)](0x1,0x0,0x0,0x1,this[_0x12bb44(0x43e)],this[_0x12bb44(0x184)]===_0x12bb44(0x4ae)?0x0:-Le),ze[_0x12bb44(0x59a)](_0x369ace,{'text':this[_0x12bb44(0x581)],'color':this[_0x12bb44(0x474)]}),_0x369ace[_0x12bb44(0x234)]());}}var ps=Object[_0x714a18(0x1d2)],ms=Object[_0x714a18(0x254)],gs=(_0x451cdc,_0x510857,_0x1855cf,_0x291fde)=>{for(var _0x53e2df=_0x291fde>0x1?void 0x0:_0x291fde?ms(_0x510857,_0x1855cf):_0x510857,_0x40d842=_0x451cdc['length']-0x1,_0x2d9da8;_0x40d842>=0x0;_0x40d842--)(_0x2d9da8=_0x451cdc[_0x40d842])&&(_0x53e2df=(_0x291fde?_0x2d9da8(_0x510857,_0x1855cf,_0x53e2df):_0x2d9da8(_0x53e2df))||_0x53e2df);return _0x291fde&&_0x53e2df&&ps(_0x510857,_0x1855cf,_0x53e2df),_0x53e2df;},ot=(_0x285491,_0xa8ff39)=>(_0x5e27a8,_0x268d29)=>_0xa8ff39(_0x5e27a8,_0x268d29,_0x285491);const Is=0x1389;let mt=class extends a['RxDisposable']{constructor(_0x4dd0c9,_0x201b45,_0x58f1f5,_0x2233b6){const _0x5edcd3=_0x714a18;super(),I(this,'_cursors',new Set()),I(this,_0x5edcd3(0x31e),null),(this['_context']=_0x4dd0c9,this['_sheetSkeletonManagerService']=_0x201b45,this[_0x5edcd3(0x225)]=_0x58f1f5,this[_0x5edcd3(0x1cc)]=_0x2233b6,this['_init']());}[_0x714a18(0x26c)](){const _0x4ba88a=_0x714a18;this[_0x4ba88a(0x398)][_0x4ba88a(0x362)][_0x4ba88a(0x52c)](V[_0x4ba88a(0x3c8)](this[_0x4ba88a(0x417)]),V['switchMap'](_0x52bd01=>{const _0x9ba7c1=_0x4ba88a;if(_0x52bd01){const _0x571a1f=_0x52bd01[_0x9ba7c1(0x567)];return A[_0x9ba7c1(0x3dd)](this['_collabCursorController']['getCollabCursors$'](this[_0x9ba7c1(0x29f)][_0x9ba7c1(0x219)]),this[_0x9ba7c1(0x1cc)]['currentTheme$'])[_0x9ba7c1(0x52c)](V['map'](([_0x98f16d,_0x267777])=>{const _0x8193c9=_0x9ba7c1,_0x552366=new Map();return _0x98f16d[_0x8193c9(0x39e)]((_0x1b8a66,_0x536177)=>{const _0x44b60d=_0x8193c9;if(_0x1b8a66[_0x44b60d(0x5cc)]===_0x571a1f){const _0x4e7ca7={..._0x1b8a66};_0x4e7ca7[_0x44b60d(0x279)]=_0x267777[_0x1b8a66[_0x44b60d(0x279)]],_0x552366[_0x44b60d(0x3d0)](_0x536177,_0x4e7ca7);}}),{'skeleton':_0x52bd01,'cursors':_0x552366};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))[_0x4ba88a(0x47b)](({skeleton:_0x10294,cursors:_0x5c9d6d})=>{const _0x4d0700=_0x4ba88a;this[_0x4d0700(0x2a3)](),_0x10294&&this[_0x4d0700(0x209)](_0x10294,_0x5c9d6d);}),this[_0x4ba88a(0x398)][_0x4ba88a(0x362)][_0x4ba88a(0x47b)](_0x4d9468=>{const _0x359d81=_0x4ba88a;if(_0x4d9468==null)return;const {skeleton:_0x2f15a0}=_0x4d9468,{scene:_0xf964fe}=this[_0x359d81(0x29f)];_0xf964fe[_0x359d81(0x4fc)]['subscribeEvent'](a[_0x359d81(0x1a0)](_0x5f2557=>{const _0x1c692c=_0x359d81;var _0x56d40b,_0x24832c;const {offsetX:_0x5eee04,offsetY:_0x205a05}=_0x5f2557,{x:_0x143c09,y:_0x505b77}=_0xf964fe[_0x1c692c(0x5d7)](K[_0x1c692c(0x52f)][_0x1c692c(0x45f)]([_0x5eee04,_0x205a05])),{scaleX:_0x557e43,scaleY:_0x473d87}=_0xf964fe[_0x1c692c(0x23e)](),_0x54eaeb=_0xf964fe[_0x1c692c(0x447)](Re[_0x1c692c(0x2ca)][_0x1c692c(0x519)]),_0x1362e9=_0xf964fe[_0x1c692c(0x1b3)](K[_0x1c692c(0x52f)][_0x1c692c(0x45f)]([_0x143c09,_0x505b77]),_0x54eaeb),_0x1d7bbc=_0x2f15a0[_0x1c692c(0x394)](_0x5eee04,_0x205a05,_0x557e43,_0x473d87,_0x1362e9);((_0x56d40b=this[_0x1c692c(0x31e)])==null?void 0x0:_0x56d40b[_0x1c692c(0x514)])===_0x1d7bbc[_0x1c692c(0x514)]&&((_0x24832c=this[_0x1c692c(0x31e)])==null?void 0x0:_0x24832c['row'])===_0x1d7bbc['row']||this['_cursors'][_0x1c692c(0x39e)](_0x8f94e9=>{const _0xa7bae8=_0x1c692c;_0x8f94e9[_0xa7bae8(0x247)](_0x1d7bbc);});},0x64));});}[_0x714a18(0x209)](_0x6a7adb,_0x5d578a){const _0x59bee4=_0x714a18;var _0x11ea11;const _0x527e6b=(_0x11ea11=this[_0x59bee4(0x398)][_0x59bee4(0x36f)]())==null?void 0x0:_0x11ea11[_0x59bee4(0x305)];if(!_0x527e6b)return;const _0x4baaef=this[_0x59bee4(0x3e0)]();if(!_0x4baaef)return;this[_0x59bee4(0x20d)][_0x59bee4(0x39e)](_0x47c3e9=>{const _0x1c4c1b=_0x59bee4;_0x47c3e9[_0x1c4c1b(0x5b7)]();});const {scene:_0x1aefbc}=_0x4baaef,_0x23c571=Cs(Array['from'](_0x5d578a[_0x59bee4(0x40c)]()))[_0x59bee4(0x556)](_0x69eef2=>{const _0x5e06be=_0x59bee4,{color:_0x471b18,range:_0x16aaea,name:_0x20bcad,selection:_0x14b174,sheetID:_0x38dedc}=_0x69eef2,{startColumn:_0x16cf33,startRow:_0x13031e,endColumn:_0xf4fa13,endRow:_0x32e4a6}=_0x16aaea,_0x159419=Re[_0x5e06be(0x34b)](_0x13031e,_0x16cf33,_0x1aefbc,_0x527e6b),_0x2bc477=Re[_0x5e06be(0x34b)](_0x32e4a6,_0xf4fa13,_0x1aefbc,_0x527e6b),{columnHeaderHeightAndMarginTop:_0x18468a}=_0x527e6b,{startX:_0x2b65c7,startY:_0x44c4ca}=_0x159419,{endX:_0x397a34,endY:_0x33b8b8}=_0x2bc477,_0x320bb2=_0x397a34-_0x2b65c7,_0x421922=_0x33b8b8-_0x44c4ca,_0x5cb27f={'labelPosition':_0x44c4ca-_0x18468a>=Le?_0x5e06be(0x5c4):_0x5e06be(0x4ae),'sheetID':_0x38dedc,'range':_0x16aaea,'color':_0x471b18,'name':_0x20bcad,'selection':_0x14b174,'left':_0x2b65c7,'top':_0x44c4ca,'width':_0x320bb2,'height':_0x421922,'evented':!0x1,'zIndex':Is};return new vn(_0x20bcad,_0x5cb27f);});_0x1aefbc['addObjects'](_0x23c571,vs),this[_0x59bee4(0x20d)]=new Set(_0x23c571);}[_0x714a18(0x2a3)](){const _0x3fe09a=_0x714a18;var _0x2a5f71;(_0x2a5f71=this['_cursors'])==null||_0x2a5f71[_0x3fe09a(0x39e)](_0x178294=>_0x178294[_0x3fe09a(0x19e)]());}[_0x714a18(0x3e0)](){const _0x17a0e3=_0x714a18;return Re[_0x17a0e3(0x2a7)](this[_0x17a0e3(0x29f)][_0x17a0e3(0x29d)],this[_0x17a0e3(0x29f)]);}};mt=gs([ot(0x1,a[_0x714a18(0x5ce)](Re[_0x714a18(0x455)])),ot(0x2,a[_0x714a18(0x5ce)](De)),ot(0x3,a[_0x714a18(0x5ce)](a[_0x714a18(0x1a4)]))],mt);function Cs(_0x575c25){const _0x188ffb=_0x714a18,_0x11c8d1=new Map();return _0x575c25[_0x188ffb(0x39e)](_0xe65d90=>{const _0x287062=_0x188ffb;if(_0x11c8d1['has'](_0xe65d90[_0x287062(0x3f7)])){const _0x35f796=_0x11c8d1[_0x287062(0x1bc)](_0xe65d90[_0x287062(0x3f7)]);_0x35f796[_0x287062(0x4e1)]+=',\x20'+_0xe65d90[_0x287062(0x4e1)];}else _0x11c8d1[_0x287062(0x3d0)](_0xe65d90[_0x287062(0x3f7)],_0xe65d90);}),Array[_0x188ffb(0x17b)](_0x11c8d1[_0x188ffb(0x40c)]());}var X=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x5a6365){const _0x3b9881=_0x714a18;return _0x5a6365&&_0x5a6365['__esModule']&&Object[_0x3b9881(0x2c5)][_0x3b9881(0x407)][_0x3b9881(0x593)](_0x5a6365,_0x3b9881(0x1fd))?_0x5a6365[_0x3b9881(0x1fd)]:_0x5a6365;}var Sn={'exports':{}},Xe={},Es=ae,bs=Symbol[_0x714a18(0x639)](_0x714a18(0x5e6)),Ts=Symbol[_0x714a18(0x639)](_0x714a18(0x32a)),Rs=Object[_0x714a18(0x2c5)][_0x714a18(0x407)],ys=Es['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x714a18(0x393)],Os={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function pn(_0x4880a2,_0x2ddb00,_0x4fd0a1){const _0x2e31d9=_0x714a18;var _0x526a98,_0x5d5947={},_0x324c99=null,_0x227c52=null;_0x4fd0a1!==void 0x0&&(_0x324c99=''+_0x4fd0a1),_0x2ddb00[_0x2e31d9(0x55d)]!==void 0x0&&(_0x324c99=''+_0x2ddb00['key']),_0x2ddb00[_0x2e31d9(0x3aa)]!==void 0x0&&(_0x227c52=_0x2ddb00[_0x2e31d9(0x3aa)]);for(_0x526a98 in _0x2ddb00)Rs['call'](_0x2ddb00,_0x526a98)&&!Os[_0x2e31d9(0x407)](_0x526a98)&&(_0x5d5947[_0x526a98]=_0x2ddb00[_0x526a98]);if(_0x4880a2&&_0x4880a2[_0x2e31d9(0x246)]){for(_0x526a98 in(_0x2ddb00=_0x4880a2[_0x2e31d9(0x246)],_0x2ddb00))_0x5d5947[_0x526a98]===void 0x0&&(_0x5d5947[_0x526a98]=_0x2ddb00[_0x526a98]);}return{'$$typeof':bs,'type':_0x4880a2,'key':_0x324c99,'ref':_0x227c52,'props':_0x5d5947,'_owner':ys[_0x2e31d9(0x2bd)]};}Xe[_0x714a18(0x499)]=Ts,Xe[_0x714a18(0x450)]=pn,Xe[_0x714a18(0x2ae)]=pn,Sn[_0x714a18(0x557)]=Xe;var ge=Sn[_0x714a18(0x557)],Q=function(){const _0x53714a=_0x714a18;return Q=Object[_0x53714a(0x55c)]||function(_0x5bcb8b){const _0x12048f=_0x53714a;for(var _0x5bf035,_0x22f34a=0x1,_0x15935d=arguments[_0x12048f(0x5a6)];_0x22f34a<_0x15935d;_0x22f34a++){_0x5bf035=arguments[_0x22f34a];for(var _0x26bc3b in _0x5bf035)Object[_0x12048f(0x2c5)][_0x12048f(0x407)][_0x12048f(0x593)](_0x5bf035,_0x26bc3b)&&(_0x5bcb8b[_0x26bc3b]=_0x5bf035[_0x26bc3b]);}return _0x5bcb8b;},Q[_0x53714a(0x275)](this,arguments);},Ds=function(_0x953751,_0x5a0703){const _0xaefb9f=_0x714a18;var _0x13a394={};for(var _0x1e3289 in _0x953751)Object[_0xaefb9f(0x2c5)][_0xaefb9f(0x407)]['call'](_0x953751,_0x1e3289)&&_0x5a0703[_0xaefb9f(0x30e)](_0x1e3289)<0x0&&(_0x13a394[_0x1e3289]=_0x953751[_0x1e3289]);if(_0x953751!=null&&typeof Object[_0xaefb9f(0x378)]==_0xaefb9f(0x20f)){for(var _0x4bea65=0x0,_0x1e3289=Object['getOwnPropertySymbols'](_0x953751);_0x4bea65<_0x1e3289[_0xaefb9f(0x5a6)];_0x4bea65++)_0x5a0703[_0xaefb9f(0x30e)](_0x1e3289[_0x4bea65])<0x0&&Object[_0xaefb9f(0x2c5)][_0xaefb9f(0x3c3)]['call'](_0x953751,_0x1e3289[_0x4bea65])&&(_0x13a394[_0x1e3289[_0x4bea65]]=_0x953751[_0x1e3289[_0x4bea65]]);}return _0x13a394;},Ot=ae['forwardRef'](function(_0x55dd7b,_0x298472){const _0x195a48=_0x714a18;var _0x543186=_0x55dd7b[_0x195a48(0x1e0)],_0x11b244=_0x55dd7b['id'],_0x35bd0f=_0x55dd7b[_0x195a48(0x2f5)],_0x1210fc=_0x55dd7b[_0x195a48(0x60d)],_0x11e252=Ds(_0x55dd7b,[_0x195a48(0x1e0),'id','className','extend']),_0x4e9d49='univerjs-icon\x20univerjs-icon-'[_0x195a48(0x345)](_0x11b244,'\x20')['concat'](_0x35bd0f||'')['trim'](),_0x5d0fdb=ae[_0x195a48(0x5b8)]('_'['concat'](Us()));return mn(_0x543186,''['concat'](_0x11b244),{'defIds':_0x543186[_0x195a48(0x220)],'idSuffix':_0x5d0fdb[_0x195a48(0x2bd)]},Q({'ref':_0x298472,'className':_0x4e9d49},_0x11e252),_0x1210fc);});function mn(_0x30f40f,_0x8ed515,_0x2a2295,_0x1b7f84,_0xb6725f){const _0xbb95cd=_0x714a18;return ae[_0xbb95cd(0x230)](_0x30f40f[_0xbb95cd(0x4ed)],Q(Q({'key':_0x8ed515},ws(_0x30f40f,_0x2a2295,_0xb6725f)),_0x1b7f84),(Ps(_0x30f40f,_0x2a2295)[_0xbb95cd(0x1fe)]||[])[_0xbb95cd(0x556)](function(_0x13e78a,_0x19df20){const _0x4796c9=_0xbb95cd;return mn(_0x13e78a,''[_0x4796c9(0x345)](_0x8ed515,'-')[_0x4796c9(0x345)](_0x30f40f['tag'],'-')[_0x4796c9(0x345)](_0x19df20),_0x2a2295,void 0x0,_0xb6725f);}));}function ws(_0x12bda2,_0x2b5c77,_0x457ee4){const _0x5ef743=_0x714a18;var _0x57f6b2=Q({},_0x12bda2[_0x5ef743(0x197)]);_0x457ee4!=null&&_0x457ee4[_0x5ef743(0x5ea)]&&_0x57f6b2[_0x5ef743(0x374)]==='colorChannel1'&&(_0x57f6b2['fill']=_0x457ee4[_0x5ef743(0x5ea)]);var _0x28d5f9=_0x2b5c77[_0x5ef743(0x220)];return!_0x28d5f9||_0x28d5f9['length']===0x0||(_0x12bda2[_0x5ef743(0x4ed)]===_0x5ef743(0x41c)&&_0x57f6b2[_0x5ef743(0x263)]&&(_0x57f6b2[_0x5ef743(0x263)]=_0x57f6b2['xlink:href']+_0x2b5c77['idSuffix']),Object[_0x5ef743(0x4d6)](_0x57f6b2)[_0x5ef743(0x39e)](function(_0x973503){const _0x4203f9=_0x5ef743;var _0x559c4c=_0x973503[0x0],_0x4296cd=_0x973503[0x1];typeof _0x4296cd==_0x4203f9(0x461)&&(_0x57f6b2[_0x559c4c]=_0x4296cd['replace'](/url\(#(.*)\)/,_0x4203f9(0x288)[_0x4203f9(0x345)](_0x2b5c77[_0x4203f9(0x36b)],')')));})),_0x57f6b2;}function Ps(_0x2f11a8,_0x4c8f9f){const _0x24dc29=_0x714a18;var _0x2af2dd,_0x20a58d=_0x4c8f9f[_0x24dc29(0x220)];return!_0x20a58d||_0x20a58d[_0x24dc29(0x5a6)]===0x0?_0x2f11a8:_0x2f11a8[_0x24dc29(0x4ed)]==='defs'&&(!((_0x2af2dd=_0x2f11a8[_0x24dc29(0x1fe)])===null||_0x2af2dd===void 0x0)&&_0x2af2dd[_0x24dc29(0x5a6)])?Q(Q({},_0x2f11a8),{'children':_0x2f11a8['children'][_0x24dc29(0x556)](function(_0x359e9f){const _0x53b120=_0x24dc29;return typeof _0x359e9f[_0x53b120(0x197)]['id']==_0x53b120(0x461)&&_0x20a58d&&_0x20a58d[_0x53b120(0x30e)](_0x359e9f[_0x53b120(0x197)]['id'])>-0x1?Q(Q({},_0x359e9f),{'attrs':Q(Q({},_0x359e9f[_0x53b120(0x197)]),{'id':_0x359e9f[_0x53b120(0x197)]['id']+_0x4c8f9f[_0x53b120(0x36b)]})}):_0x359e9f;})}):_0x2f11a8;}function Us(){const _0x3b3014=_0x714a18;return Math[_0x3b3014(0x429)]()[_0x3b3014(0x5b9)](0x24)[_0x3b3014(0x2aa)](0x2,0x8);}Ot['displayName']=_0x714a18(0x42d);var Ms={'tag':_0x714a18(0x2c2),'attrs':{'fill':_0x714a18(0x553),'viewBox':_0x714a18(0x5ca),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x714a18(0x2be)},'children':[{'tag':_0x714a18(0x1cd),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x714a18(0x43a),'strokeLinejoin':_0x714a18(0x43a),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x714a18(0x5ee)},'children':[{'tag':_0x714a18(0x1cd),'attrs':{'fill':_0x714a18(0x1c9),'d':_0x714a18(0x3b7)}}]}]}],'defIds':[_0x714a18(0x5ee)]},gn=ae[_0x714a18(0x3f3)](function(_0x465002,_0x46fbd9){const _0xe805cb=_0x714a18;return ae[_0xe805cb(0x230)](Ot,Object['assign']({},_0x465002,{'id':_0xe805cb(0x4a0),'ref':_0x46fbd9,'icon':Ms}));});gn[_0x714a18(0x4fd)]='OffLineSingle';var As={'tag':_0x714a18(0x2c2),'attrs':{'fill':_0x714a18(0x553),'viewBox':'0\x200\x2017\x2016','width':_0x714a18(0x4d3),'height':_0x714a18(0x4d3)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x714a18(0x1cd),'attrs':{'stroke':_0x714a18(0x4b1),'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':_0x714a18(0x43a),'strokeLinejoin':_0x714a18(0x43a),'strokeWidth':1.2}}]},{'tag':_0x714a18(0x3e8),'attrs':{},'children':[{'tag':_0x714a18(0x37a),'attrs':{'id':_0x714a18(0x1a9)},'children':[{'tag':_0x714a18(0x1cd),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x714a18(0x4cb)}}]}]}],'defIds':[_0x714a18(0x1a9)]},In=ae[_0x714a18(0x3f3)](function(_0x623d58,_0x120875){const _0x17e7a3=_0x714a18;return ae[_0x17e7a3(0x230)](Ot,Object[_0x17e7a3(0x55c)]({},_0x623d58,{'id':'on-line-single','ref':_0x120875,'icon':As}));});In[_0x714a18(0x4fd)]='OnLineSingle';function Cn(_0x280872){const _0x24f370=_0x714a18;var _0xe4e63c,_0xd07d64,_0x520976='';if(typeof _0x280872=='string'||typeof _0x280872==_0x24f370(0x603))_0x520976+=_0x280872;else{if(typeof _0x280872==_0x24f370(0x488)){if(Array[_0x24f370(0x3e3)](_0x280872)){var _0x10b526=_0x280872[_0x24f370(0x5a6)];for(_0xe4e63c=0x0;_0xe4e63c<_0x10b526;_0xe4e63c++)_0x280872[_0xe4e63c]&&(_0xd07d64=Cn(_0x280872[_0xe4e63c]))&&(_0x520976&&(_0x520976+='\x20'),_0x520976+=_0xd07d64);}else{for(_0xd07d64 in _0x280872)_0x280872[_0xd07d64]&&(_0x520976&&(_0x520976+='\x20'),_0x520976+=_0xd07d64);}}}return _0x520976;}function Ns(){for(var _0x2ace6f,_0x12ba27,_0x3bd0fc=0x0,_0x7b4e99='',_0x395e14=arguments['length'];_0x3bd0fc<_0x395e14;_0x3bd0fc++)(_0x2ace6f=arguments[_0x3bd0fc])&&(_0x12ba27=Cn(_0x2ace6f))&&(_0x7b4e99&&(_0x7b4e99+='\x20'),_0x7b4e99+=_0x12ba27);return _0x7b4e99;}const Ls='univer-online-status-icon',xs=_0x714a18(0x356),js=_0x714a18(0x4df),$s=_0x714a18(0x562),Hs=_0x714a18(0x388),Me={'onlineStatusIcon':Ls,'onlineStatusTitle':xs,'onlineStatus':js,'online':$s,'offline':Hs};function ks(_0x378288){const _0x4dce01=_0x714a18;switch(_0x378288){case q[_0x4dce01(0x3c6)]:return _0x4dce01(0x3b9);case q[_0x4dce01(0x523)]:return _0x4dce01(0x1fc);case q['FETCH_MISS']:return _0x4dce01(0x2f1);case q[_0x4dce01(0x377)]:return _0x4dce01(0x5dc);case q[_0x4dce01(0x274)]:case q['AWAITING_WITH_PENDING']:return _0x4dce01(0x508);case q['SYNCED']:case q[_0x4dce01(0x622)]:return _0x4dce01(0x33a);}}function En(_0x545d0e){const _0xfacbac=_0x714a18,{status$:_0x21590f}=_0x545d0e,_0x53cf33=te[_0xfacbac(0x5a3)](_0x21590f,q[_0xfacbac(0x377)]),_0x30e3fe=a[_0xfacbac(0x373)](a['LocaleService']),_0x2cc3f0=a[_0xfacbac(0x373)](exports[_0xfacbac(0x3c2)]),_0x32a049=_0x53cf33!==q[_0xfacbac(0x3c6)],_0x9024c5=_0x30e3fe['t'](ks(_0x53cf33)),_0x4cc3dd=Ns(Me[_0xfacbac(0x28d)],{[Me[_0xfacbac(0x548)]]:_0x32a049,[Me[_0xfacbac(0x528)]]:!_0x32a049}),_0x3a5ce1=_0x32a049?ge[_0xfacbac(0x450)](In,{}):ge['jsx'](gn,{}),_0xbac55d=ae[_0xfacbac(0x23a)](()=>{_0x32a049||_0x2cc3f0['reconnect']();},[_0x32a049,_0x2cc3f0]);function _0x1c893d(){const _0x1e1cb4=_0xfacbac;return ge['jsxs']('div',{'className':_0x4cc3dd,'onClick':_0xbac55d,'children':[ge[_0x1e1cb4(0x450)](_0x1e1cb4(0x40e),{'className':Me['onlineStatusIcon'],'children':_0x3a5ce1}),ge[_0x1e1cb4(0x450)](_0x1e1cb4(0x40e),{'className':Me[_0x1e1cb4(0x194)],'children':_0x9024c5})]});}return _0x32a049?_0x1c893d():ge['jsx'](Ie[_0xfacbac(0x191)],{'title':_0x30e3fe['t'](_0xfacbac(0x5f0)),'children':_0x1c893d()});}var Bs=Object[_0x714a18(0x1d2)],Ws=Object[_0x714a18(0x254)],Fs=(_0x22f4c9,_0x207484,_0x20394d,_0x1cd3ff)=>{const _0x3bea26=_0x714a18;for(var _0x47a494=_0x1cd3ff>0x1?void 0x0:_0x1cd3ff?Ws(_0x207484,_0x20394d):_0x207484,_0x5f1c14=_0x22f4c9[_0x3bea26(0x5a6)]-0x1,_0x118f18;_0x5f1c14>=0x0;_0x5f1c14--)(_0x118f18=_0x22f4c9[_0x5f1c14])&&(_0x47a494=(_0x1cd3ff?_0x118f18(_0x207484,_0x20394d,_0x47a494):_0x118f18(_0x47a494))||_0x47a494);return _0x1cd3ff&&_0x47a494&&Bs(_0x207484,_0x20394d,_0x47a494),_0x47a494;},$e=(_0x20f5b9,_0x491549)=>(_0x2f941f,_0x3145bb)=>_0x491549(_0x2f941f,_0x3145bb,_0x20f5b9);exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x714a18(0x5aa)]{constructor(_0x2b6a28,_0x338dcf,_0x51a3d6,_0x35cb4f){const _0x151a65=_0x714a18;super(),I(this,_0x151a65(0x56c),new A[(_0x151a65(0x638))](q['NOT_COLLAB'])),(this[_0x151a65(0x4c0)]=_0x2b6a28,this[_0x151a65(0x612)]=_0x338dcf,this[_0x151a65(0x5eb)]=_0x51a3d6,this['_collaborationController']=_0x35cb4f,this[_0x151a65(0x4b8)](),this[_0x151a65(0x1f8)]());}[_0x714a18(0x1f8)](){const _0x3d9aa5=_0x714a18;this[_0x3d9aa5(0x580)](this[_0x3d9aa5(0x4c0)][_0x3d9aa5(0x440)][_0x3d9aa5(0x52c)](A['switchMap'](()=>{const _0x413082=_0x3d9aa5,_0x2d70bf=this[_0x413082(0x4c0)][_0x413082(0x28e)]();return _0x2d70bf?this['_collaborationController']['getCollabEntity$'](_0x2d70bf['getUnitId']()):A['of'](null);}),A[_0x3d9aa5(0x631)](_0x1d6b2c=>_0x1d6b2c?_0x1d6b2c[_0x3d9aa5(0x37e)]:A['of'](q[_0x3d9aa5(0x377)])))[_0x3d9aa5(0x47b)](_0x3da7f4=>{const _0x595ff5=_0x3d9aa5;this[_0x595ff5(0x56c)][_0x595ff5(0x5c5)](_0x3da7f4);}));}[_0x714a18(0x4b8)](){const _0x12933a=_0x714a18;this[_0x12933a(0x580)](this[_0x12933a(0x612)]['registerComponent'](te['BuiltInUIPart']['HEADER_MENU'],()=>a[_0x12933a(0x386)](Vs({'status$':this[_0x12933a(0x56c)][_0x12933a(0x23c)]()}),this[_0x12933a(0x5eb)])));}},exports[_0x714a18(0x2a2)]=Fs([$e(0x0,a[_0x714a18(0x617)]),$e(0x1,te[_0x714a18(0x302)]),$e(0x2,a[_0x714a18(0x5ce)](a[_0x714a18(0x2cb)])),$e(0x3,a[_0x714a18(0x5ce)](exports[_0x714a18(0x36d)]))],exports[_0x714a18(0x2a2)]);function Vs(_0x544c7f){const {status$:_0x15a569}=_0x544c7f;return function(){const _0x5be802=_0x420c;return ge[_0x5be802(0x450)](En,{'status$':_0x15a569});};}const Dt=a['createIdentifier']('uni.network.url-service');var Gs=Object[_0x714a18(0x1d2)],Ys=Object[_0x714a18(0x254)],Ks=(_0x43bc25,_0x4f014d,_0x286333,_0x5bddee)=>{const _0xfba513=_0x714a18;for(var _0x5d729f=_0x5bddee>0x1?void 0x0:_0x5bddee?Ys(_0x4f014d,_0x286333):_0x4f014d,_0x54e99b=_0x43bc25[_0xfba513(0x5a6)]-0x1,_0x1160b4;_0x54e99b>=0x0;_0x54e99b--)(_0x1160b4=_0x43bc25[_0x54e99b])&&(_0x5d729f=(_0x5bddee?_0x1160b4(_0x4f014d,_0x286333,_0x5d729f):_0x1160b4(_0x5d729f))||_0x5d729f);return _0x5bddee&&_0x5d729f&&Gs(_0x4f014d,_0x286333,_0x5d729f),_0x5d729f;},Te=(_0x5f30c5,_0x47236a)=>(_0x2a28b7,_0x14f897)=>_0x47236a(_0x2a28b7,_0x14f897,_0x5f30c5);exports['DataLoaderController']=class extends a[_0x714a18(0x237)]{constructor(_0x55be3b,_0x4fe6aa,_0x5c5375,_0x17e4bf,_0x307757,_0x2d4f7a){const _0x270277=_0x714a18;super(),this['_urlService']=_0x55be3b,this['_logService']=_0x4fe6aa,this[_0x270277(0x266)]=_0x5c5375,this[_0x270277(0x4c7)]=_0x17e4bf,this[_0x270277(0x619)]=_0x307757,_0x2d4f7a?_0x2d4f7a==null||_0x2d4f7a[_0x270277(0x1d6)]()[_0x270277(0x27c)](()=>this[_0x270277(0x26c)]()):(this[_0x270277(0x5be)][_0x270277(0x188)](_0x270277(0x5e4),_0x270277(0x559)),this[_0x270277(0x26c)]());}async[_0x714a18(0x26c)](){const _0x55b231=_0x714a18,_0x542d47=this[_0x55b231(0x44d)][_0x55b231(0x40f)](_0x55b231(0x29d)),_0x695269=this[_0x55b231(0x44d)][_0x55b231(0x40f)]('type');if(!_0x542d47||!_0x695269){this[_0x55b231(0x5be)]['debug']('[DataLoaderController]',_0x55b231(0x512));return;}switch(Number(_0x695269)){case ie['UNIVER_SHEET']:{const _0x1bf647=await this[_0x55b231(0x1b1)](_0x542d47);this[_0x55b231(0x193)](_0x1bf647);break;}case ie[_0x55b231(0x5ff)]:{await this[_0x55b231(0x295)](_0x542d47);break;}default:{this['_logService'][_0x55b231(0x4c3)](_0x55b231(0x5e4),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x714a18(0x193)](_0x6de7cf){const _0x7cdfcd=_0x714a18;await this[_0x7cdfcd(0x60f)](_0x6de7cf),_0x6de7cf['activeSheet$'][_0x7cdfcd(0x52c)](A[_0x7cdfcd(0x3c8)](this[_0x7cdfcd(0x417)]))[_0x7cdfcd(0x47b)](_0x355074=>{const _0x1e0e79=_0x7cdfcd;_0x355074&&this[_0x1e0e79(0x5bd)](_0x355074);}),this[_0x7cdfcd(0x44d)]['urlChange$'][_0x7cdfcd(0x52c)](A['takeUntil'](this[_0x7cdfcd(0x417)]))[_0x7cdfcd(0x47b)](()=>this[_0x7cdfcd(0x60f)](_0x6de7cf));}['_updateURLWithCurrentState'](_0x38a6c7,_0x30cfa5=!0x1){const _0x341550=_0x714a18,_0x2c84fd=this[_0x341550(0x44d)][_0x341550(0x40f)](_0x341550(0x1be));_0x38a6c7[_0x341550(0x424)]()!==_0x2c84fd&&this['_urlService'][_0x341550(0x5f3)](_0x341550(0x1be),_0x38a6c7[_0x341550(0x424)](),_0x30cfa5);}async['_updateSubUnitFromURLParams'](_0x113515){const _0x52920c=_0x714a18;var _0x302e41;const _0x425af=this[_0x52920c(0x44d)][_0x52920c(0x40f)](_0x52920c(0x1be));if(!_0x425af||!_0x113515[_0x52920c(0x3f8)](_0x425af)){const _0x52cddb=_0x113515[_0x52920c(0x2b7)]()[0x0],_0x2705d9=_0x113515[_0x52920c(0x3f8)](_0x52cddb);if(!_0x2705d9)return;this[_0x52920c(0x5bd)](_0x2705d9,!0x0),await this[_0x52920c(0x266)][_0x52920c(0x3ce)](B[_0x52920c(0x265)]['id'],{'unitId':_0x113515[_0x52920c(0x2e0)](),'subUnitId':_0x52cddb});return;}((_0x302e41=_0x113515[_0x52920c(0x506)]())==null?void 0x0:_0x302e41[_0x52920c(0x424)]())!==_0x425af&&await this['_commandService'][_0x52920c(0x3ce)](B['SetWorksheetActivateCommand']['id'],{'unitId':_0x113515[_0x52920c(0x2e0)](),'subUnitId':_0x425af});}async[_0x714a18(0x1b1)](_0x5c33b4){const _0x3ac201=_0x714a18;let _0x1993d5=0x0;const _0x5a43c9=await this['_localCacheService'][_0x3ac201(0x5af)](_0x5c33b4);return _0x5a43c9&&(_0x5a43c9[_0x3ac201(0x4e6)]||_0x5a43c9[_0x3ac201(0x2e1)]['length']!==0x0)&&(_0x1993d5=_0x5a43c9[_0x3ac201(0x396)]),_0x1993d5===0x0&&this[_0x3ac201(0x5be)][_0x3ac201(0x188)](_0x3ac201(0x5e4),_0x3ac201(0x30d)),this[_0x3ac201(0x619)][_0x3ac201(0x435)](_0x5c33b4,_0x1993d5);}async[_0x714a18(0x295)](_0x4a0fc9){const _0xbe82c7=_0x714a18;let _0x57ff2f=0x0;const _0x1536a0=await this[_0xbe82c7(0x4c7)][_0xbe82c7(0x5af)](_0x4a0fc9);return _0x1536a0&&(_0x1536a0[_0xbe82c7(0x4e6)]||_0x1536a0[_0xbe82c7(0x2e1)][_0xbe82c7(0x5a6)]!==0x0)&&(_0x57ff2f=_0x1536a0['rev']),_0x57ff2f===0x0&&this[_0xbe82c7(0x5be)][_0xbe82c7(0x188)](_0xbe82c7(0x5e4),_0xbe82c7(0x30d)),this['_snapshotService'][_0xbe82c7(0x4d7)](_0x4a0fc9,_0x57ff2f);}},exports[_0x714a18(0x4eb)]=Ks([Te(0x0,Dt),Te(0x1,a['ILogService']),Te(0x2,a[_0x714a18(0x1c8)]),Te(0x3,a[_0x714a18(0x5ce)](exports['LocalCacheService'])),Te(0x4,a['Inject'](p[_0x714a18(0x419)])),Te(0x5,a[_0x714a18(0x600)](jn[_0x714a18(0x23f)]))],exports['DataLoaderController']);var qs=Object[_0x714a18(0x1d2)],zs=Object[_0x714a18(0x254)],Xs=(_0x112e6d,_0x4e2b15,_0x3fa449,_0x16953d)=>{for(var _0xaa778d=_0x16953d>0x1?void 0x0:_0x16953d?zs(_0x4e2b15,_0x3fa449):_0x4e2b15,_0x4f1e21=_0x112e6d['length']-0x1,_0x1d146a;_0x4f1e21>=0x0;_0x4f1e21--)(_0x1d146a=_0x112e6d[_0x4f1e21])&&(_0xaa778d=(_0x16953d?_0x1d146a(_0x4e2b15,_0x3fa449,_0xaa778d):_0x1d146a(_0xaa778d))||_0xaa778d);return _0x16953d&&_0xaa778d&&qs(_0x4e2b15,_0x3fa449,_0xaa778d),_0xaa778d;},kt=(_0x3b6cc3,_0x2aad8d)=>(_0x5c1c92,_0x37ecf5)=>_0x2aad8d(_0x5c1c92,_0x37ecf5,_0x3b6cc3);const Js=_0x714a18(0x55b),Zs=_0x714a18(0x53e);let Ve=class extends a['Disposable']{constructor(_0x19616f,_0x4cc034){const _0x351ce9=_0x714a18;super(),this[_0x351ce9(0x4c0)]=_0x19616f,this[_0x351ce9(0x3dc)]=_0x4cc034,this[_0x351ce9(0x26c)]();}['_init'](){const _0x467071=_0x714a18;this[_0x467071(0x580)](this[_0x467071(0x4c0)][_0x467071(0x440)][_0x467071(0x47b)](()=>{const _0x543d3e=_0x467071;var _0x93a4de;const _0xa7e48c=this[_0x543d3e(0x4c0)][_0x543d3e(0x28e)]();let _0x25399c=(_0x93a4de=this[_0x543d3e(0x3dc)]['getConfig'](Js))!=null?_0x93a4de:Zs;_0xa7e48c instanceof a[_0x543d3e(0x572)]&&(_0x25399c=_0xa7e48c[_0x543d3e(0x4e1)]),document[_0x543d3e(0x2b3)]=_0x25399c;}));}};Ve=Xs([kt(0x0,a[_0x714a18(0x617)]),kt(0x1,a[_0x714a18(0x292)])],Ve);var Qs=Object[_0x714a18(0x1d2)],er=Object[_0x714a18(0x254)],tr=(_0x4e2993,_0x34e579,_0xf83ec3,_0x287cc7)=>{const _0x3436bd=_0x714a18;for(var _0x5179a0=_0x287cc7>0x1?void 0x0:_0x287cc7?er(_0x34e579,_0xf83ec3):_0x34e579,_0x5d00a3=_0x4e2993[_0x3436bd(0x5a6)]-0x1,_0x334bb1;_0x5d00a3>=0x0;_0x5d00a3--)(_0x334bb1=_0x4e2993[_0x5d00a3])&&(_0x5179a0=(_0x287cc7?_0x334bb1(_0x34e579,_0xf83ec3,_0x5179a0):_0x334bb1(_0x5179a0))||_0x5179a0);return _0x287cc7&&_0x5179a0&&Qs(_0x34e579,_0xf83ec3,_0x5179a0),_0x5179a0;},at=(_0x567b93,_0x3125b0)=>(_0x3f99ad,_0x1301da)=>_0x3125b0(_0x3f99ad,_0x1301da,_0x567b93);let Ge=class{constructor(_0x1233a1,_0x2a4362,_0x283363){const _0x491eb0=_0x714a18;this[_0x491eb0(0x3dc)]=_0x1233a1,this[_0x491eb0(0x4a7)]=_0x2a4362,this['localeService']=_0x283363,this['init']();}[_0x714a18(0x413)](){const _0x18af42=_0x714a18;this[_0x18af42(0x4a7)][_0x18af42(0x5f9)]({'priority':0x1,'interceptor':(_0x1d9bdf,_0x33c369)=>_0x33c369(_0x1d9bdf)[_0x18af42(0x52c)](A['concatMap'](async _0x2b0557=>{const _0x4bf64e=_0x18af42,_0xbda1e2=_0x2b0557;if(_0xbda1e2[_0x4bf64e(0x269)]===0x191&&window[_0x4bf64e(0x1e8)](this[_0x4bf64e(0x459)]['t'](_0x4bf64e(0x4cc)))){const _0x38bb90=window[_0x4bf64e(0x304)](window[_0x4bf64e(0x1da)][_0x4bf64e(0x4da)]);window[_0x4bf64e(0x1da)]['href']=this[_0x4bf64e(0x27d)]()+'?url='+_0x38bb90;}return _0xbda1e2;}))});}[_0x714a18(0x27d)](){const _0x51b7d7=_0x714a18;var _0x45061e,_0x229d86;const _0xfb1ee6=this[_0x51b7d7(0x3dc)][_0x51b7d7(0x49b)](rn),_0x2127ec=this['_configService']['getConfig'](ee);return(_0x229d86=(_0x45061e=_0x2127ec==null?void 0x0:_0x2127ec[_0x51b7d7(0x2d9)])!=null?_0x45061e:_0xfb1ee6)!=null?_0x229d86:qn;}};Ge=tr([at(0x0,a[_0x714a18(0x292)]),at(0x1,a[_0x714a18(0x5ce)](J[_0x714a18(0x480)])),at(0x2,a[_0x714a18(0x5ce)](a['LocaleService']))],Ge);var nr=Object[_0x714a18(0x1d2)],ir=Object[_0x714a18(0x254)],sr=(_0x945be2,_0x224b73,_0x1c037a,_0x160939)=>{const _0x466c5d=_0x714a18;for(var _0x4b269e=_0x160939>0x1?void 0x0:_0x160939?ir(_0x224b73,_0x1c037a):_0x224b73,_0x3ff1cf=_0x945be2[_0x466c5d(0x5a6)]-0x1,_0x22d64a;_0x3ff1cf>=0x0;_0x3ff1cf--)(_0x22d64a=_0x945be2[_0x3ff1cf])&&(_0x4b269e=(_0x160939?_0x22d64a(_0x224b73,_0x1c037a,_0x4b269e):_0x22d64a(_0x4b269e))||_0x4b269e);return _0x160939&&_0x4b269e&&nr(_0x224b73,_0x1c037a,_0x4b269e),_0x4b269e;},Bt=(_0x39022e,_0x15dfe4)=>(_0x503231,_0x5a5af6)=>_0x15dfe4(_0x503231,_0x5a5af6,_0x39022e);const bn='AUTHZ_URL_KEY',rr=_0x714a18(0x344);exports[_0x714a18(0x358)]=class extends a[_0x714a18(0x5aa)]{constructor(_0x23641e,_0x7bcac){const _0x2b057c=_0x714a18;super(),this[_0x2b057c(0x314)]=_0x23641e,this[_0x2b057c(0x3dc)]=_0x7bcac,this['_initMergeInterceptor']();}[_0x714a18(0x532)](){const _0x396b7e=_0x714a18,_0x7bf555=this;this[_0x396b7e(0x580)](this['_HTTPService'][_0x396b7e(0x5f9)]({'priority':0x3e7,'interceptor':J[_0x396b7e(0x606)]({'isMatch'(_0x4cf9fc){const _0xa601d3=_0x396b7e;var _0x86095e;if(_0x4cf9fc[_0xa601d3(0x3da)]==='POST'&&((_0x86095e=_0x4cf9fc[_0xa601d3(0x17d)])!=null&&_0x86095e[_0xa601d3(0x1ee)])){const {objectID:_0x2bb2d2,objectType:_0x4f2fb0}=_0x4cf9fc[_0xa601d3(0x17d)][_0xa601d3(0x1ee)]||{};if(!_0x2bb2d2||_0x4f2fb0===void 0x0)return!0x1;const _0x314360=_0x7bf555[_0xa601d3(0x54a)]()+'/'+_0x4f2fb0+'/object/'+_0x2bb2d2+_0xa601d3(0x469);if(_0x4cf9fc[_0xa601d3(0x513)]===_0x314360)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4a56fd){const _0x23f4c4=_0x396b7e;var _0x1f98ba;return(_0x1f98ba=_0x4a56fd[_0x23f4c4(0x17d)])==null?void 0x0:_0x1f98ba[_0x23f4c4(0x1ee)];},'mergeParamsToRequest'(_0x18ac77,_0x14cd0d){const _0x1d7118=_0x396b7e,_0x40e926=_0x7bf555[_0x1d7118(0x54a)]()+_0x1d7118(0x19d),_0x4cf453=_0x18ac77[_0x1d7118(0x4b2)]((_0x3bcc42,_0x2f0b49)=>{const _0x563132=_0x1d7118,{unitID:_0xa323ee,objectID:_0x312182,objectType:_0x356c2c,actions:_0x5aa96c}=_0x2f0b49;return _0x3bcc42[_0xa323ee]||(_0x3bcc42[_0xa323ee]={}),_0x3bcc42[_0xa323ee][_0x312182]||(_0x3bcc42[_0xa323ee][_0x312182]={'objectID':_0x312182,'objectType':_0x356c2c,'actions':[]}),_0x3bcc42[_0xa323ee][_0x312182][_0x563132(0x431)][_0x563132(0x5a9)](..._0x5aa96c),_0x3bcc42;},{}),_0x55c016=[];for(const _0x18cadd in _0x4cf453)for(const _0xd7c02a in _0x4cf453[_0x18cadd]){const {actions:_0x1885be,objectType:_0x36b5bb}=_0x4cf453[_0x18cadd][_0xd7c02a],_0xd2288c=[...new Set(_0x1885be)];_0x55c016['push']({'unitID':_0x18cadd,'objectID':_0xd7c02a,'objectType':_0x36b5bb,'actions':_0xd2288c});}return new J['HTTPRequest'](_0x1d7118(0x27e),_0x40e926,{'headers':_0x14cd0d[_0x1d7118(0x1c6)],'withCredentials':_0x14cd0d['withCredentials'],'responseType':_0x14cd0d[_0x1d7118(0x346)],'body':{'requests':_0x55c016}});}},{'distributeResult'(_0xac283,_0x42b0b6){const _0x266b63=_0x396b7e,{objectActions:_0x32ad32}=_0xac283;return _0x42b0b6[_0x266b63(0x556)](_0x3aea58=>{const _0x5c2669=_0x266b63,{unitID:_0x944eca,objectID:_0x200c26,actions:_0x112395}=_0x3aea58,_0x2d8243=_0x32ad32['find'](_0x2cc1b4=>_0x2cc1b4[_0x5c2669(0x576)]===_0x944eca&&_0x2cc1b4['objectID']===_0x200c26),_0x34fd22=_0x112395['map'](_0xb7bf64=>_0x2d8243==null?void 0x0:_0x2d8243[_0x5c2669(0x431)][_0x5c2669(0x47e)](_0x6c6550=>_0x6c6550['action']===_0xb7bf64))[_0x5c2669(0x630)](_0x3a84b4=>!!_0x3a84b4);return{'config':_0x3aea58,'result':{'actions':_0x34fd22,'error':_0xac283['error']}};});}})}));}[_0x714a18(0x54a)](){const _0x30a915=_0x714a18;var _0x33da44,_0x1ea0f6;const _0x1e974d=this[_0x30a915(0x3dc)][_0x30a915(0x49b)](bn),_0x13c851=this[_0x30a915(0x3dc)][_0x30a915(0x49b)](ee);return(_0x1ea0f6=(_0x33da44=_0x13c851==null?void 0x0:_0x13c851[_0x30a915(0x578)])!=null?_0x33da44:_0x1e974d)!=null?_0x1ea0f6:rr;}async[_0x714a18(0x2cf)](_0x5cac1b){const _0x4c85d2=_0x714a18,_0x2e7ff6=this[_0x4c85d2(0x54a)]()+'/'+_0x5cac1b[_0x4c85d2(0x4f2)]+_0x4c85d2(0x1b9);return(await this[_0x4c85d2(0x314)][_0x4c85d2(0x564)](_0x2e7ff6,{'body':_0x5cac1b}))[_0x4c85d2(0x1ee)]['objectID']||'';}async['list'](_0x4423da){const _0x4d78a0=_0x714a18,_0xb70370=this[_0x4d78a0(0x54a)]()+_0x4d78a0(0x46b);return(await this[_0x4d78a0(0x314)][_0x4d78a0(0x564)](_0xb70370,{'body':_0x4423da}))[_0x4d78a0(0x1ee)][_0x4d78a0(0x1a8)];}async[_0x714a18(0x352)](_0x3b2c3e){const _0x481eea=_0x714a18,_0x115c60=this['_getAPIPrefixPath']()+'/'+_0x3b2c3e['objectType']+'/object/'+_0x3b2c3e[_0x481eea(0x1c3)];await this['_HTTPService'][_0x481eea(0x308)](_0x115c60,{'body':_0x3b2c3e});}async[_0x714a18(0x30c)](_0x50e5eb){const _0x1c1273=_0x714a18,_0x2b3c59=this['_getAPIPrefixPath']()+'/'+_0x50e5eb['objectType']+'/object/'+_0x50e5eb[_0x1c1273(0x1c3)]+'/allowed';return(await this[_0x1c1273(0x314)][_0x1c1273(0x564)](_0x2b3c59,{'body':_0x50e5eb}))[_0x1c1273(0x1ee)][_0x1c1273(0x431)];}async['batchAllowed'](_0x42bdd5){const _0x4c900b=_0x714a18,_0x5dece5=this[_0x4c900b(0x54a)]()+'/-/object/-/batch_allowed';return(await this[_0x4c900b(0x314)][_0x4c900b(0x564)](_0x5dece5,{'body':{'requests':_0x42bdd5}}))[_0x4c900b(0x1ee)][_0x4c900b(0x4bb)];}async[_0x714a18(0x2e8)](_0x2a0369){const _0x3f0011=_0x714a18,_0x1764ab=this[_0x3f0011(0x54a)]()+'/'+_0x2a0369['objectType']+_0x3f0011(0x44f),_0x21bc15=await this[_0x3f0011(0x314)][_0x3f0011(0x564)](_0x1764ab,{'body':_0x2a0369});return{'roles':_0x21bc15[_0x3f0011(0x1ee)][_0x3f0011(0x4fa)],'actions':_0x21bc15[_0x3f0011(0x1ee)][_0x3f0011(0x431)]};}async['deleteCollaborator'](_0x40982f){const _0x14fbcd=_0x714a18,_0x26aac8=this[_0x14fbcd(0x54a)]()+_0x14fbcd(0x637);await this[_0x14fbcd(0x314)][_0x14fbcd(0x57c)](_0x26aac8,{'params':{'collaboratorID':_0x40982f['collaboratorID'],'objectID':_0x40982f[_0x14fbcd(0x1c3)],'unitID':_0x40982f[_0x14fbcd(0x576)]}});}async['updateCollaborator'](_0x3827c8){const _0x37362e=_0x714a18,_0x515080=this[_0x37362e(0x54a)]()+'/collaborator';await this[_0x37362e(0x314)]['patch'](_0x515080,{'body':_0x3827c8});}async[_0x714a18(0x34a)](_0x3c051c){const _0x36ec03=_0x714a18,_0x1f9bdb=this[_0x36ec03(0x54a)]()+_0x36ec03(0x637);await this[_0x36ec03(0x314)][_0x36ec03(0x564)](_0x1f9bdb,{'body':_0x3c051c});}async[_0x714a18(0x19a)](_0x2e7347){const _0x248591=_0x714a18,_0x1b71e7=this['_getAPIPrefixPath']()+'/collaborator';return(await this['_HTTPService']['get'](_0x1b71e7,{'params':{'objectID':_0x2e7347['objectID'],'unitID':_0x2e7347['unitID']}}))[_0x248591(0x1ee)]['collaborators'];}async[_0x714a18(0x60e)](_0x1f57c5){const _0x262fd2=_0x714a18,_0x1a2c4b=this[_0x262fd2(0x54a)]()+_0x262fd2(0x637);await this[_0x262fd2(0x314)][_0x262fd2(0x308)](_0x1a2c4b,{'body':_0x1f57c5});}},exports['AuthzIoHttpService']=sr([Bt(0x0,a[_0x714a18(0x5ce)](J[_0x714a18(0x480)])),Bt(0x1,a[_0x714a18(0x5ce)](a[_0x714a18(0x292)]))],exports[_0x714a18(0x358)]);var Tn={'exports':{}};function or(_0x5588c7){const _0xa45f74=_0x714a18;throw new Error(_0xa45f74(0x526)+_0x5588c7+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var ct={'exports':{}},Wt;function oe(){const _0x358534=_0x714a18;return Wt||(Wt=0x1,function(_0x3b9154,_0x5f3749){(function(_0x23b997,_0x18f554){const _0x3f687f=_0x420c;_0x3b9154[_0x3f687f(0x557)]=_0x18f554();}(X,function(){var _0x5303ab=_0x5303ab||function(_0xf0cd7,_0x5514f6){const _0x499377=_0x420c;var _0x183bb4;if(typeof window<'u'&&window['crypto']&&(_0x183bb4=window['crypto']),typeof self<'u'&&self[_0x499377(0x312)]&&(_0x183bb4=self[_0x499377(0x312)]),typeof globalThis<'u'&&globalThis[_0x499377(0x312)]&&(_0x183bb4=globalThis['crypto']),!_0x183bb4&&typeof window<'u'&&window[_0x499377(0x3e2)]&&(_0x183bb4=window['msCrypto']),!_0x183bb4&&typeof X<'u'&&X['crypto']&&(_0x183bb4=X['crypto']),!_0x183bb4&&typeof or=='function')try{_0x183bb4=require(_0x499377(0x312));}catch{}var _0x1df190=function(){const _0x842420=_0x499377;if(_0x183bb4){if(typeof _0x183bb4['getRandomValues']==_0x842420(0x20f))try{return _0x183bb4[_0x842420(0x45b)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x183bb4[_0x842420(0x3a5)]==_0x842420(0x20f))try{return _0x183bb4[_0x842420(0x3a5)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x33bdb9=Object[_0x499377(0x2cf)]||(function(){function _0x338464(){}return function(_0x40e91d){const _0x3c4131=_0x420c;var _0x377048;return _0x338464[_0x3c4131(0x2c5)]=_0x40e91d,_0x377048=new _0x338464(),_0x338464[_0x3c4131(0x2c5)]=null,_0x377048;};}()),_0x322b57={},_0x34bd9b=_0x322b57[_0x499377(0x2ee)]={},_0x39bbdf=_0x34bd9b[_0x499377(0x273)]=(function(){return{'extend':function(_0x41b709){const _0xe559b0=_0x420c;var _0x392004=_0x33bdb9(this);return _0x41b709&&_0x392004[_0xe559b0(0x244)](_0x41b709),(!_0x392004[_0xe559b0(0x407)](_0xe559b0(0x413))||this[_0xe559b0(0x413)]===_0x392004[_0xe559b0(0x413)])&&(_0x392004[_0xe559b0(0x413)]=function(){const _0x285d1f=_0xe559b0;_0x392004['$super'][_0x285d1f(0x413)][_0x285d1f(0x275)](this,arguments);}),_0x392004[_0xe559b0(0x413)][_0xe559b0(0x2c5)]=_0x392004,_0x392004[_0xe559b0(0x453)]=this,_0x392004;},'create':function(){const _0xa8bd59=_0x420c;var _0x37d642=this[_0xa8bd59(0x60d)]();return _0x37d642[_0xa8bd59(0x413)][_0xa8bd59(0x275)](_0x37d642,arguments),_0x37d642;},'init':function(){},'mixIn':function(_0x3c9505){const _0x2fe8db=_0x420c;for(var _0x519299 in _0x3c9505)_0x3c9505[_0x2fe8db(0x407)](_0x519299)&&(this[_0x519299]=_0x3c9505[_0x519299]);_0x3c9505['hasOwnProperty'](_0x2fe8db(0x5b9))&&(this[_0x2fe8db(0x5b9)]=_0x3c9505[_0x2fe8db(0x5b9)]);},'clone':function(){const _0x18947d=_0x420c;return this[_0x18947d(0x413)]['prototype']['extend'](this);}};}()),_0x17491a=_0x34bd9b[_0x499377(0x17a)]=_0x39bbdf[_0x499377(0x60d)]({'init':function(_0x1f5404,_0xe2294e){const _0x530c31=_0x499377;_0x1f5404=this[_0x530c31(0x36c)]=_0x1f5404||[],_0xe2294e!=_0x5514f6?this[_0x530c31(0x3d6)]=_0xe2294e:this['sigBytes']=_0x1f5404[_0x530c31(0x5a6)]*0x4;},'toString':function(_0x86747a){const _0x4d73b4=_0x499377;return(_0x86747a||_0x146fca)[_0x4d73b4(0x570)](this);},'concat':function(_0x29199e){const _0x1aebcd=_0x499377;var _0x38debe=this['words'],_0xf09875=_0x29199e[_0x1aebcd(0x36c)],_0x281f91=this[_0x1aebcd(0x3d6)],_0x5de66d=_0x29199e['sigBytes'];if(this[_0x1aebcd(0x478)](),_0x281f91%0x4)for(var _0x5bbea2=0x0;_0x5bbea2<_0x5de66d;_0x5bbea2++){var _0x236c0c=_0xf09875[_0x5bbea2>>>0x2]>>>0x18-_0x5bbea2%0x4*0x8&0xff;_0x38debe[_0x281f91+_0x5bbea2>>>0x2]|=_0x236c0c<<0x18-(_0x281f91+_0x5bbea2)%0x4*0x8;}else{for(var _0x17471f=0x0;_0x17471f<_0x5de66d;_0x17471f+=0x4)_0x38debe[_0x281f91+_0x17471f>>>0x2]=_0xf09875[_0x17471f>>>0x2];}return this[_0x1aebcd(0x3d6)]+=_0x5de66d,this;},'clamp':function(){const _0x25a92f=_0x499377;var _0x117425=this['words'],_0x56d80b=this[_0x25a92f(0x3d6)];_0x117425[_0x56d80b>>>0x2]&=0xffffffff<<0x20-_0x56d80b%0x4*0x8,_0x117425[_0x25a92f(0x5a6)]=_0xf0cd7[_0x25a92f(0x45e)](_0x56d80b/0x4);},'clone':function(){const _0x9d55a4=_0x499377;var _0x40e743=_0x39bbdf['clone'][_0x9d55a4(0x593)](this);return _0x40e743[_0x9d55a4(0x36c)]=this['words'][_0x9d55a4(0x2dc)](0x0),_0x40e743;},'random':function(_0x577802){const _0x31e596=_0x499377;for(var _0x3b7c6a=[],_0x57f454=0x0;_0x57f454<_0x577802;_0x57f454+=0x4)_0x3b7c6a[_0x31e596(0x5a9)](_0x1df190());return new _0x17491a['init'](_0x3b7c6a,_0x577802);}}),_0x41cdf4=_0x322b57['enc']={},_0x146fca=_0x41cdf4[_0x499377(0x260)]={'stringify':function(_0x59b0d7){const _0x5a6170=_0x499377;for(var _0x5897dc=_0x59b0d7[_0x5a6170(0x36c)],_0x25c1c4=_0x59b0d7['sigBytes'],_0x4253f8=[],_0x5536ee=0x0;_0x5536ee<_0x25c1c4;_0x5536ee++){var _0x1433fa=_0x5897dc[_0x5536ee>>>0x2]>>>0x18-_0x5536ee%0x4*0x8&0xff;_0x4253f8[_0x5a6170(0x5a9)]((_0x1433fa>>>0x4)[_0x5a6170(0x5b9)](0x10)),_0x4253f8['push']((_0x1433fa&0xf)[_0x5a6170(0x5b9)](0x10));}return _0x4253f8[_0x5a6170(0x4db)]('');},'parse':function(_0x4670bc){const _0x151827=_0x499377;for(var _0x285d28=_0x4670bc[_0x151827(0x5a6)],_0x4979a6=[],_0x45513a=0x0;_0x45513a<_0x285d28;_0x45513a+=0x2)_0x4979a6[_0x45513a>>>0x3]|=parseInt(_0x4670bc[_0x151827(0x240)](_0x45513a,0x2),0x10)<<0x18-_0x45513a%0x8*0x4;return new _0x17491a['init'](_0x4979a6,_0x285d28/0x2);}},_0x3e9448=_0x41cdf4[_0x499377(0x56d)]={'stringify':function(_0x509d53){const _0x51e388=_0x499377;for(var _0x32ef07=_0x509d53[_0x51e388(0x36c)],_0x2a5c79=_0x509d53[_0x51e388(0x3d6)],_0x3f3eb0=[],_0x44e452=0x0;_0x44e452<_0x2a5c79;_0x44e452++){var _0x115522=_0x32ef07[_0x44e452>>>0x2]>>>0x18-_0x44e452%0x4*0x8&0xff;_0x3f3eb0['push'](String[_0x51e388(0x4d4)](_0x115522));}return _0x3f3eb0[_0x51e388(0x4db)]('');},'parse':function(_0x3de5b2){const _0x2a17d3=_0x499377;for(var _0x3568c9=_0x3de5b2[_0x2a17d3(0x5a6)],_0x26245c=[],_0x1ff875=0x0;_0x1ff875<_0x3568c9;_0x1ff875++)_0x26245c[_0x1ff875>>>0x2]|=(_0x3de5b2[_0x2a17d3(0x357)](_0x1ff875)&0xff)<<0x18-_0x1ff875%0x4*0x8;return new _0x17491a[(_0x2a17d3(0x413))](_0x26245c,_0x3568c9);}},_0x8751fc=_0x41cdf4[_0x499377(0x4c8)]={'stringify':function(_0x1ab23e){const _0x39fbc0=_0x499377;try{return decodeURIComponent(escape(_0x3e9448[_0x39fbc0(0x570)](_0x1ab23e)));}catch{throw new Error(_0x39fbc0(0x437));}},'parse':function(_0x3a3a82){const _0x333e35=_0x499377;return _0x3e9448[_0x333e35(0x55a)](unescape(encodeURIComponent(_0x3a3a82)));}},_0xdba15b=_0x34bd9b[_0x499377(0x1c7)]=_0x39bbdf['extend']({'reset':function(){this['_data']=new _0x17491a['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x14766b){const _0x3e5e8a=_0x499377;typeof _0x14766b=='string'&&(_0x14766b=_0x8751fc[_0x3e5e8a(0x55a)](_0x14766b)),this[_0x3e5e8a(0x4a6)][_0x3e5e8a(0x345)](_0x14766b),this[_0x3e5e8a(0x32b)]+=_0x14766b[_0x3e5e8a(0x3d6)];},'_process':function(_0x2ec18d){const _0x36a550=_0x499377;var _0x37bd1c,_0x3ba1da=this[_0x36a550(0x4a6)],_0xd5c200=_0x3ba1da[_0x36a550(0x36c)],_0x4fe50d=_0x3ba1da[_0x36a550(0x3d6)],_0x5db4e7=this['blockSize'],_0x467870=_0x5db4e7*0x4,_0x43658d=_0x4fe50d/_0x467870;_0x2ec18d?_0x43658d=_0xf0cd7['ceil'](_0x43658d):_0x43658d=_0xf0cd7[_0x36a550(0x208)]((_0x43658d|0x0)-this[_0x36a550(0x29a)],0x0);var _0x54f48e=_0x43658d*_0x5db4e7,_0x2c123a=_0xf0cd7['min'](_0x54f48e*0x4,_0x4fe50d);if(_0x54f48e){for(var _0x5f2866=0x0;_0x5f2866<_0x54f48e;_0x5f2866+=_0x5db4e7)this['_doProcessBlock'](_0xd5c200,_0x5f2866);_0x37bd1c=_0xd5c200[_0x36a550(0x2c7)](0x0,_0x54f48e),_0x3ba1da[_0x36a550(0x3d6)]-=_0x2c123a;}return new _0x17491a['init'](_0x37bd1c,_0x2c123a);},'clone':function(){const _0x1fb4a9=_0x499377;var _0x37d48c=_0x39bbdf[_0x1fb4a9(0x2f4)][_0x1fb4a9(0x593)](this);return _0x37d48c[_0x1fb4a9(0x4a6)]=this[_0x1fb4a9(0x4a6)][_0x1fb4a9(0x2f4)](),_0x37d48c;},'_minBufferSize':0x0});_0x34bd9b[_0x499377(0x5d4)]=_0xdba15b[_0x499377(0x60d)]({'cfg':_0x39bbdf[_0x499377(0x60d)](),'init':function(_0x2a1a21){const _0xffeace=_0x499377;this['cfg']=this[_0xffeace(0x566)][_0xffeace(0x60d)](_0x2a1a21),this[_0xffeace(0x1fa)]();},'reset':function(){const _0x2d9d7c=_0x499377;_0xdba15b[_0x2d9d7c(0x1fa)]['call'](this),this[_0x2d9d7c(0x3b6)]();},'update':function(_0x9904e0){const _0x454f8a=_0x499377;return this[_0x454f8a(0x30b)](_0x9904e0),this[_0x454f8a(0x56f)](),this;},'finalize':function(_0x1a7deb){const _0x5b64af=_0x499377;_0x1a7deb&&this[_0x5b64af(0x30b)](_0x1a7deb);var _0x275b7b=this['_doFinalize']();return _0x275b7b;},'blockSize':0x10,'_createHelper':function(_0x5208d){return function(_0x1e589a,_0x21f3b8){const _0x40f377=_0x420c;return new _0x5208d['init'](_0x21f3b8)[_0x40f377(0x611)](_0x1e589a);};},'_createHmacHelper':function(_0x12aa99){return function(_0x506194,_0x11d040){const _0x22921a=_0x420c;return new _0xaadf01[(_0x22921a(0x49a))][(_0x22921a(0x413))](_0x12aa99,_0x11d040)[_0x22921a(0x611)](_0x506194);};}});var _0xaadf01=_0x322b57[_0x499377(0x551)]={};return _0x322b57;}(Math);return _0x5303ab;}));}(ct)),ct[_0x358534(0x557)];}var Rn={'exports':{}};(function(_0x5927b3,_0x284938){(function(_0x207905,_0x5ca868){const _0x14867f=_0x420c;_0x5927b3[_0x14867f(0x557)]=_0x5ca868(oe());}(X,function(_0x5589b7){const _0x22b5a9=_0x420c;return(function(){const _0x2b8ca4=_0x420c;var _0x24c03c=_0x5589b7,_0x3d7dee=_0x24c03c[_0x2b8ca4(0x2ee)],_0x44dd55=_0x3d7dee['WordArray'],_0x2591c1=_0x24c03c['enc'];_0x2591c1['Base64']={'stringify':function(_0x451cf9){const _0x3c1206=_0x2b8ca4;var _0x151036=_0x451cf9[_0x3c1206(0x36c)],_0x78fa05=_0x451cf9['sigBytes'],_0x1087e7=this['_map'];_0x451cf9[_0x3c1206(0x478)]();for(var _0x4a5096=[],_0x5e9b25=0x0;_0x5e9b25<_0x78fa05;_0x5e9b25+=0x3)for(var _0x42d354=_0x151036[_0x5e9b25>>>0x2]>>>0x18-_0x5e9b25%0x4*0x8&0xff,_0x5d53dd=_0x151036[_0x5e9b25+0x1>>>0x2]>>>0x18-(_0x5e9b25+0x1)%0x4*0x8&0xff,_0x156bee=_0x151036[_0x5e9b25+0x2>>>0x2]>>>0x18-(_0x5e9b25+0x2)%0x4*0x8&0xff,_0x450f81=_0x42d354<<0x10|_0x5d53dd<<0x8|_0x156bee,_0x266c4a=0x0;_0x266c4a<0x4&&_0x5e9b25+_0x266c4a*0.75<_0x78fa05;_0x266c4a++)_0x4a5096[_0x3c1206(0x5a9)](_0x1087e7[_0x3c1206(0x5c8)](_0x450f81>>>0x6*(0x3-_0x266c4a)&0x3f));var _0x294fbf=_0x1087e7[_0x3c1206(0x5c8)](0x40);if(_0x294fbf){for(;_0x4a5096[_0x3c1206(0x5a6)]%0x4;)_0x4a5096['push'](_0x294fbf);}return _0x4a5096[_0x3c1206(0x4db)]('');},'parse':function(_0x29f0cb){const _0x5b6c4f=_0x2b8ca4;var _0x2d4da5=_0x29f0cb[_0x5b6c4f(0x5a6)],_0x374185=this[_0x5b6c4f(0x2a4)],_0x4ad789=this['_reverseMap'];if(!_0x4ad789){_0x4ad789=this[_0x5b6c4f(0x426)]=[];for(var _0x4fe0f3=0x0;_0x4fe0f3<_0x374185[_0x5b6c4f(0x5a6)];_0x4fe0f3++)_0x4ad789[_0x374185[_0x5b6c4f(0x357)](_0x4fe0f3)]=_0x4fe0f3;}var _0x61066f=_0x374185[_0x5b6c4f(0x5c8)](0x40);if(_0x61066f){var _0x522fde=_0x29f0cb[_0x5b6c4f(0x30e)](_0x61066f);_0x522fde!==-0x1&&(_0x2d4da5=_0x522fde);}return _0x1d5000(_0x29f0cb,_0x2d4da5,_0x4ad789);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x1d5000(_0x11fe78,_0x5d761b,_0x1a5328){const _0x399200=_0x2b8ca4;for(var _0x27bb19=[],_0x39ef25=0x0,_0x4c3a3b=0x0;_0x4c3a3b<_0x5d761b;_0x4c3a3b++)if(_0x4c3a3b%0x4){var _0x54425c=_0x1a5328[_0x11fe78[_0x399200(0x357)](_0x4c3a3b-0x1)]<<_0x4c3a3b%0x4*0x2,_0x4f0720=_0x1a5328[_0x11fe78[_0x399200(0x357)](_0x4c3a3b)]>>>0x6-_0x4c3a3b%0x4*0x2,_0x5aa012=_0x54425c|_0x4f0720;_0x27bb19[_0x39ef25>>>0x2]|=_0x5aa012<<0x18-_0x39ef25%0x4*0x8,_0x39ef25++;}return _0x44dd55['create'](_0x27bb19,_0x39ef25);}}()),_0x5589b7[_0x22b5a9(0x49e)][_0x22b5a9(0x504)];}));}(Rn));var yn=Rn['exports'];const Ft=xe(yn);var lt={'exports':{}},Vt;function ar(){const _0x5da20d=_0x714a18;return Vt||(Vt=0x1,function(_0x2a494d,_0x4f30ee){(function(_0x393933,_0xe90c84){const _0x436af8=_0x420c;_0x2a494d[_0x436af8(0x557)]=_0xe90c84(oe());}(X,function(_0x2ae822){const _0x2f4ff3=_0x420c;return function(_0x31c507){const _0x44e536=_0x420c;var _0x56111c=_0x2ae822,_0xde5e71=_0x56111c[_0x44e536(0x2ee)],_0x4ef01a=_0xde5e71[_0x44e536(0x17a)],_0x2733aa=_0xde5e71[_0x44e536(0x5d4)],_0x53f433=_0x56111c['algo'],_0x3b4077=[];(function(){const _0x38ab37=_0x44e536;for(var _0x2225a5=0x0;_0x2225a5<0x40;_0x2225a5++)_0x3b4077[_0x2225a5]=_0x31c507[_0x38ab37(0x2cd)](_0x31c507['sin'](_0x2225a5+0x1))*0x100000000|0x0;}());var _0x20c6f6=_0x53f433[_0x44e536(0x43d)]=_0x2733aa[_0x44e536(0x60d)]({'_doReset':function(){const _0x3d96e6=_0x44e536;this['_hash']=new _0x4ef01a[(_0x3d96e6(0x413))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x245633,_0x2271a5){const _0x36b79d=_0x44e536;for(var _0x6a1df2=0x0;_0x6a1df2<0x10;_0x6a1df2++){var _0xc6f3a2=_0x2271a5+_0x6a1df2,_0x563eb1=_0x245633[_0xc6f3a2];_0x245633[_0xc6f3a2]=(_0x563eb1<<0x8|_0x563eb1>>>0x18)&0xff00ff|(_0x563eb1<<0x18|_0x563eb1>>>0x8)&0xff00ff00;}var _0x4c3df4=this[_0x36b79d(0x563)][_0x36b79d(0x36c)],_0x428fec=_0x245633[_0x2271a5+0x0],_0x237f84=_0x245633[_0x2271a5+0x1],_0x50d105=_0x245633[_0x2271a5+0x2],_0x1a2367=_0x245633[_0x2271a5+0x3],_0x4d2966=_0x245633[_0x2271a5+0x4],_0x4c3ced=_0x245633[_0x2271a5+0x5],_0x527ea2=_0x245633[_0x2271a5+0x6],_0x237df2=_0x245633[_0x2271a5+0x7],_0x21508a=_0x245633[_0x2271a5+0x8],_0x3f61dd=_0x245633[_0x2271a5+0x9],_0xe59b3c=_0x245633[_0x2271a5+0xa],_0x40a7f1=_0x245633[_0x2271a5+0xb],_0x4cca63=_0x245633[_0x2271a5+0xc],_0x4f6732=_0x245633[_0x2271a5+0xd],_0x3e77a2=_0x245633[_0x2271a5+0xe],_0x133c75=_0x245633[_0x2271a5+0xf],_0x106299=_0x4c3df4[0x0],_0x5ccb13=_0x4c3df4[0x1],_0x1eb58f=_0x4c3df4[0x2],_0x397f5b=_0x4c3df4[0x3];_0x106299=_0x12e9d0(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x428fec,0x7,_0x3b4077[0x0]),_0x397f5b=_0x12e9d0(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x237f84,0xc,_0x3b4077[0x1]),_0x1eb58f=_0x12e9d0(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x50d105,0x11,_0x3b4077[0x2]),_0x5ccb13=_0x12e9d0(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x1a2367,0x16,_0x3b4077[0x3]),_0x106299=_0x12e9d0(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x4d2966,0x7,_0x3b4077[0x4]),_0x397f5b=_0x12e9d0(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x4c3ced,0xc,_0x3b4077[0x5]),_0x1eb58f=_0x12e9d0(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x527ea2,0x11,_0x3b4077[0x6]),_0x5ccb13=_0x12e9d0(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x237df2,0x16,_0x3b4077[0x7]),_0x106299=_0x12e9d0(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x21508a,0x7,_0x3b4077[0x8]),_0x397f5b=_0x12e9d0(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x3f61dd,0xc,_0x3b4077[0x9]),_0x1eb58f=_0x12e9d0(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0xe59b3c,0x11,_0x3b4077[0xa]),_0x5ccb13=_0x12e9d0(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x40a7f1,0x16,_0x3b4077[0xb]),_0x106299=_0x12e9d0(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x4cca63,0x7,_0x3b4077[0xc]),_0x397f5b=_0x12e9d0(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x4f6732,0xc,_0x3b4077[0xd]),_0x1eb58f=_0x12e9d0(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x3e77a2,0x11,_0x3b4077[0xe]),_0x5ccb13=_0x12e9d0(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x133c75,0x16,_0x3b4077[0xf]),_0x106299=_0x241d49(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x237f84,0x5,_0x3b4077[0x10]),_0x397f5b=_0x241d49(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x527ea2,0x9,_0x3b4077[0x11]),_0x1eb58f=_0x241d49(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x40a7f1,0xe,_0x3b4077[0x12]),_0x5ccb13=_0x241d49(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x428fec,0x14,_0x3b4077[0x13]),_0x106299=_0x241d49(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x4c3ced,0x5,_0x3b4077[0x14]),_0x397f5b=_0x241d49(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0xe59b3c,0x9,_0x3b4077[0x15]),_0x1eb58f=_0x241d49(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x133c75,0xe,_0x3b4077[0x16]),_0x5ccb13=_0x241d49(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x4d2966,0x14,_0x3b4077[0x17]),_0x106299=_0x241d49(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x3f61dd,0x5,_0x3b4077[0x18]),_0x397f5b=_0x241d49(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x3e77a2,0x9,_0x3b4077[0x19]),_0x1eb58f=_0x241d49(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x1a2367,0xe,_0x3b4077[0x1a]),_0x5ccb13=_0x241d49(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x21508a,0x14,_0x3b4077[0x1b]),_0x106299=_0x241d49(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x4f6732,0x5,_0x3b4077[0x1c]),_0x397f5b=_0x241d49(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x50d105,0x9,_0x3b4077[0x1d]),_0x1eb58f=_0x241d49(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x237df2,0xe,_0x3b4077[0x1e]),_0x5ccb13=_0x241d49(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x4cca63,0x14,_0x3b4077[0x1f]),_0x106299=_0x2e4fc4(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x4c3ced,0x4,_0x3b4077[0x20]),_0x397f5b=_0x2e4fc4(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x21508a,0xb,_0x3b4077[0x21]),_0x1eb58f=_0x2e4fc4(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x40a7f1,0x10,_0x3b4077[0x22]),_0x5ccb13=_0x2e4fc4(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x3e77a2,0x17,_0x3b4077[0x23]),_0x106299=_0x2e4fc4(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x237f84,0x4,_0x3b4077[0x24]),_0x397f5b=_0x2e4fc4(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x4d2966,0xb,_0x3b4077[0x25]),_0x1eb58f=_0x2e4fc4(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x237df2,0x10,_0x3b4077[0x26]),_0x5ccb13=_0x2e4fc4(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0xe59b3c,0x17,_0x3b4077[0x27]),_0x106299=_0x2e4fc4(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x4f6732,0x4,_0x3b4077[0x28]),_0x397f5b=_0x2e4fc4(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x428fec,0xb,_0x3b4077[0x29]),_0x1eb58f=_0x2e4fc4(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x1a2367,0x10,_0x3b4077[0x2a]),_0x5ccb13=_0x2e4fc4(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x527ea2,0x17,_0x3b4077[0x2b]),_0x106299=_0x2e4fc4(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x3f61dd,0x4,_0x3b4077[0x2c]),_0x397f5b=_0x2e4fc4(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x4cca63,0xb,_0x3b4077[0x2d]),_0x1eb58f=_0x2e4fc4(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x133c75,0x10,_0x3b4077[0x2e]),_0x5ccb13=_0x2e4fc4(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x50d105,0x17,_0x3b4077[0x2f]),_0x106299=_0x1a0508(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x428fec,0x6,_0x3b4077[0x30]),_0x397f5b=_0x1a0508(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x237df2,0xa,_0x3b4077[0x31]),_0x1eb58f=_0x1a0508(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x3e77a2,0xf,_0x3b4077[0x32]),_0x5ccb13=_0x1a0508(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x4c3ced,0x15,_0x3b4077[0x33]),_0x106299=_0x1a0508(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x4cca63,0x6,_0x3b4077[0x34]),_0x397f5b=_0x1a0508(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x1a2367,0xa,_0x3b4077[0x35]),_0x1eb58f=_0x1a0508(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0xe59b3c,0xf,_0x3b4077[0x36]),_0x5ccb13=_0x1a0508(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x237f84,0x15,_0x3b4077[0x37]),_0x106299=_0x1a0508(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x21508a,0x6,_0x3b4077[0x38]),_0x397f5b=_0x1a0508(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x133c75,0xa,_0x3b4077[0x39]),_0x1eb58f=_0x1a0508(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x527ea2,0xf,_0x3b4077[0x3a]),_0x5ccb13=_0x1a0508(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x4f6732,0x15,_0x3b4077[0x3b]),_0x106299=_0x1a0508(_0x106299,_0x5ccb13,_0x1eb58f,_0x397f5b,_0x4d2966,0x6,_0x3b4077[0x3c]),_0x397f5b=_0x1a0508(_0x397f5b,_0x106299,_0x5ccb13,_0x1eb58f,_0x40a7f1,0xa,_0x3b4077[0x3d]),_0x1eb58f=_0x1a0508(_0x1eb58f,_0x397f5b,_0x106299,_0x5ccb13,_0x50d105,0xf,_0x3b4077[0x3e]),_0x5ccb13=_0x1a0508(_0x5ccb13,_0x1eb58f,_0x397f5b,_0x106299,_0x3f61dd,0x15,_0x3b4077[0x3f]),_0x4c3df4[0x0]=_0x4c3df4[0x0]+_0x106299|0x0,_0x4c3df4[0x1]=_0x4c3df4[0x1]+_0x5ccb13|0x0,_0x4c3df4[0x2]=_0x4c3df4[0x2]+_0x1eb58f|0x0,_0x4c3df4[0x3]=_0x4c3df4[0x3]+_0x397f5b|0x0;},'_doFinalize':function(){const _0x3d3516=_0x44e536;var _0x598e30=this[_0x3d3516(0x4a6)],_0x1bd478=_0x598e30[_0x3d3516(0x36c)],_0x1824bc=this[_0x3d3516(0x32b)]*0x8,_0x14b32a=_0x598e30[_0x3d3516(0x3d6)]*0x8;_0x1bd478[_0x14b32a>>>0x5]|=0x80<<0x18-_0x14b32a%0x20;var _0x31d570=_0x31c507[_0x3d3516(0x328)](_0x1824bc/0x100000000),_0x56bc76=_0x1824bc;_0x1bd478[(_0x14b32a+0x40>>>0x9<<0x4)+0xf]=(_0x31d570<<0x8|_0x31d570>>>0x18)&0xff00ff|(_0x31d570<<0x18|_0x31d570>>>0x8)&0xff00ff00,_0x1bd478[(_0x14b32a+0x40>>>0x9<<0x4)+0xe]=(_0x56bc76<<0x8|_0x56bc76>>>0x18)&0xff00ff|(_0x56bc76<<0x18|_0x56bc76>>>0x8)&0xff00ff00,_0x598e30[_0x3d3516(0x3d6)]=(_0x1bd478[_0x3d3516(0x5a6)]+0x1)*0x4,this['_process']();for(var _0x46dc10=this[_0x3d3516(0x563)],_0x485900=_0x46dc10[_0x3d3516(0x36c)],_0x56b780=0x0;_0x56b780<0x4;_0x56b780++){var _0x3671b5=_0x485900[_0x56b780];_0x485900[_0x56b780]=(_0x3671b5<<0x8|_0x3671b5>>>0x18)&0xff00ff|(_0x3671b5<<0x18|_0x3671b5>>>0x8)&0xff00ff00;}return _0x46dc10;},'clone':function(){const _0x351561=_0x44e536;var _0x356662=_0x2733aa['clone']['call'](this);return _0x356662[_0x351561(0x563)]=this[_0x351561(0x563)][_0x351561(0x2f4)](),_0x356662;}});function _0x12e9d0(_0x1e0ec2,_0xd12285,_0x1c17b3,_0x2b0e1b,_0x360dd8,_0x4f710d,_0x322ccb){var _0x4f0d52=_0x1e0ec2+(_0xd12285&_0x1c17b3|~_0xd12285&_0x2b0e1b)+_0x360dd8+_0x322ccb;return(_0x4f0d52<<_0x4f710d|_0x4f0d52>>>0x20-_0x4f710d)+_0xd12285;}function _0x241d49(_0x14c8ef,_0x25a2f7,_0x7f1f4a,_0x2bce27,_0x321c77,_0xaf03a2,_0x5cc33f){var _0x289558=_0x14c8ef+(_0x25a2f7&_0x2bce27|_0x7f1f4a&~_0x2bce27)+_0x321c77+_0x5cc33f;return(_0x289558<<_0xaf03a2|_0x289558>>>0x20-_0xaf03a2)+_0x25a2f7;}function _0x2e4fc4(_0x35fd27,_0x5b32c8,_0xede56e,_0x59175f,_0x340ef9,_0x3cc7a,_0xbde1cb){var _0x313240=_0x35fd27+(_0x5b32c8^_0xede56e^_0x59175f)+_0x340ef9+_0xbde1cb;return(_0x313240<<_0x3cc7a|_0x313240>>>0x20-_0x3cc7a)+_0x5b32c8;}function _0x1a0508(_0x4094b2,_0x4ee022,_0x19fc77,_0x57c58e,_0x4f0836,_0x8e6a3b,_0xb35687){var _0xc7e3ca=_0x4094b2+(_0x19fc77^(_0x4ee022|~_0x57c58e))+_0x4f0836+_0xb35687;return(_0xc7e3ca<<_0x8e6a3b|_0xc7e3ca>>>0x20-_0x8e6a3b)+_0x4ee022;}_0x56111c[_0x44e536(0x43d)]=_0x2733aa[_0x44e536(0x42a)](_0x20c6f6),_0x56111c[_0x44e536(0x5d0)]=_0x2733aa['_createHmacHelper'](_0x20c6f6);}(Math),_0x2ae822[_0x2f4ff3(0x43d)];}));}(lt)),lt[_0x5da20d(0x557)];}var ht={'exports':{}},_t={'exports':{}},Gt;function cr(){const _0x473926=_0x714a18;return Gt||(Gt=0x1,function(_0x2c5c5e,_0xb2c6be){(function(_0xcaf08e,_0x4a9e08){const _0xe70e24=_0x420c;_0x2c5c5e[_0xe70e24(0x557)]=_0x4a9e08(oe());}(X,function(_0x5c3edc){return(function(){const _0xd4548e=_0x420c;var _0x2dd4a8=_0x5c3edc,_0x549d66=_0x2dd4a8[_0xd4548e(0x2ee)],_0x210db8=_0x549d66['WordArray'],_0x2d4524=_0x549d66[_0xd4548e(0x5d4)],_0x1e0086=_0x2dd4a8[_0xd4548e(0x551)],_0x59070f=[],_0x12d95e=_0x1e0086['SHA1']=_0x2d4524[_0xd4548e(0x60d)]({'_doReset':function(){const _0x3551db=_0xd4548e;this[_0x3551db(0x563)]=new _0x210db8[(_0x3551db(0x413))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x7a1b9a,_0x1b1d95){const _0x5a4d54=_0xd4548e;for(var _0x33b37a=this['_hash'][_0x5a4d54(0x36c)],_0x4d93a9=_0x33b37a[0x0],_0x2c4c13=_0x33b37a[0x1],_0x310f64=_0x33b37a[0x2],_0x4cd142=_0x33b37a[0x3],_0x478b88=_0x33b37a[0x4],_0x21b74a=0x0;_0x21b74a<0x50;_0x21b74a++){if(_0x21b74a<0x10)_0x59070f[_0x21b74a]=_0x7a1b9a[_0x1b1d95+_0x21b74a]|0x0;else{var _0x36e716=_0x59070f[_0x21b74a-0x3]^_0x59070f[_0x21b74a-0x8]^_0x59070f[_0x21b74a-0xe]^_0x59070f[_0x21b74a-0x10];_0x59070f[_0x21b74a]=_0x36e716<<0x1|_0x36e716>>>0x1f;}var _0x473c05=(_0x4d93a9<<0x5|_0x4d93a9>>>0x1b)+_0x478b88+_0x59070f[_0x21b74a];_0x21b74a<0x14?_0x473c05+=(_0x2c4c13&_0x310f64|~_0x2c4c13&_0x4cd142)+0x5a827999:_0x21b74a<0x28?_0x473c05+=(_0x2c4c13^_0x310f64^_0x4cd142)+0x6ed9eba1:_0x21b74a<0x3c?_0x473c05+=(_0x2c4c13&_0x310f64|_0x2c4c13&_0x4cd142|_0x310f64&_0x4cd142)-0x70e44324:_0x473c05+=(_0x2c4c13^_0x310f64^_0x4cd142)-0x359d3e2a,_0x478b88=_0x4cd142,_0x4cd142=_0x310f64,_0x310f64=_0x2c4c13<<0x1e|_0x2c4c13>>>0x2,_0x2c4c13=_0x4d93a9,_0x4d93a9=_0x473c05;}_0x33b37a[0x0]=_0x33b37a[0x0]+_0x4d93a9|0x0,_0x33b37a[0x1]=_0x33b37a[0x1]+_0x2c4c13|0x0,_0x33b37a[0x2]=_0x33b37a[0x2]+_0x310f64|0x0,_0x33b37a[0x3]=_0x33b37a[0x3]+_0x4cd142|0x0,_0x33b37a[0x4]=_0x33b37a[0x4]+_0x478b88|0x0;},'_doFinalize':function(){const _0x1746fb=_0xd4548e;var _0x30229a=this[_0x1746fb(0x4a6)],_0x111646=_0x30229a[_0x1746fb(0x36c)],_0x4a878d=this[_0x1746fb(0x32b)]*0x8,_0xf611ed=_0x30229a[_0x1746fb(0x3d6)]*0x8;return _0x111646[_0xf611ed>>>0x5]|=0x80<<0x18-_0xf611ed%0x20,_0x111646[(_0xf611ed+0x40>>>0x9<<0x4)+0xe]=Math[_0x1746fb(0x328)](_0x4a878d/0x100000000),_0x111646[(_0xf611ed+0x40>>>0x9<<0x4)+0xf]=_0x4a878d,_0x30229a[_0x1746fb(0x3d6)]=_0x111646[_0x1746fb(0x5a6)]*0x4,this[_0x1746fb(0x56f)](),this[_0x1746fb(0x563)];},'clone':function(){const _0x56173b=_0xd4548e;var _0x5773e9=_0x2d4524['clone'][_0x56173b(0x593)](this);return _0x5773e9[_0x56173b(0x563)]=this[_0x56173b(0x563)][_0x56173b(0x2f4)](),_0x5773e9;}});_0x2dd4a8[_0xd4548e(0x39b)]=_0x2d4524[_0xd4548e(0x42a)](_0x12d95e),_0x2dd4a8['HmacSHA1']=_0x2d4524[_0xd4548e(0x3d9)](_0x12d95e);}()),_0x5c3edc['SHA1'];}));}(_t)),_t[_0x473926(0x557)];}var ut={'exports':{}},Yt;function lr(){return Yt||(Yt=0x1,function(_0x3ada42,_0x56f875){(function(_0x354ac0,_0x599ea9){const _0x25102f=_0x420c;_0x3ada42[_0x25102f(0x557)]=_0x599ea9(oe());}(X,function(_0x2a4552){(function(){const _0x11a45f=_0x420c;var _0x5194ae=_0x2a4552,_0x255eb5=_0x5194ae[_0x11a45f(0x2ee)],_0x10ed5f=_0x255eb5['Base'],_0x28df56=_0x5194ae[_0x11a45f(0x49e)],_0x1916e3=_0x28df56[_0x11a45f(0x4c8)],_0x58a646=_0x5194ae[_0x11a45f(0x551)];_0x58a646[_0x11a45f(0x49a)]=_0x10ed5f[_0x11a45f(0x60d)]({'init':function(_0x1ecc30,_0x461d48){const _0xa9d34b=_0x11a45f;_0x1ecc30=this[_0xa9d34b(0x2d5)]=new _0x1ecc30[(_0xa9d34b(0x413))](),typeof _0x461d48==_0xa9d34b(0x461)&&(_0x461d48=_0x1916e3[_0xa9d34b(0x55a)](_0x461d48));var _0x2970ef=_0x1ecc30[_0xa9d34b(0x591)],_0xf62764=_0x2970ef*0x4;_0x461d48['sigBytes']>_0xf62764&&(_0x461d48=_0x1ecc30[_0xa9d34b(0x611)](_0x461d48)),_0x461d48[_0xa9d34b(0x478)]();for(var _0x42a877=this[_0xa9d34b(0x605)]=_0x461d48['clone'](),_0x1c3d1a=this['_iKey']=_0x461d48[_0xa9d34b(0x2f4)](),_0x375455=_0x42a877[_0xa9d34b(0x36c)],_0x2802f9=_0x1c3d1a[_0xa9d34b(0x36c)],_0x1cebbc=0x0;_0x1cebbc<_0x2970ef;_0x1cebbc++)_0x375455[_0x1cebbc]^=0x5c5c5c5c,_0x2802f9[_0x1cebbc]^=0x36363636;_0x42a877[_0xa9d34b(0x3d6)]=_0x1c3d1a[_0xa9d34b(0x3d6)]=_0xf62764,this[_0xa9d34b(0x1fa)]();},'reset':function(){const _0x394c41=_0x11a45f;var _0x427184=this[_0x394c41(0x2d5)];_0x427184[_0x394c41(0x1fa)](),_0x427184[_0x394c41(0x352)](this[_0x394c41(0x4f9)]);},'update':function(_0xafef40){const _0x211730=_0x11a45f;return this[_0x211730(0x2d5)][_0x211730(0x352)](_0xafef40),this;},'finalize':function(_0x3dd068){const _0xcadd63=_0x11a45f;var _0x337ff8=this[_0xcadd63(0x2d5)],_0x218215=_0x337ff8[_0xcadd63(0x611)](_0x3dd068);_0x337ff8['reset']();var _0x36993b=_0x337ff8[_0xcadd63(0x611)](this['_oKey']['clone']()[_0xcadd63(0x345)](_0x218215));return _0x36993b;}});}());}));}(ut)),ut['exports'];}var Kt;function On(){const _0x3f59ee=_0x714a18;return Kt||(Kt=0x1,function(_0x3aad8d,_0x2521d6){(function(_0x2a10b0,_0x434d15,_0x9d2ed5){const _0x2090ff=_0x420c;_0x3aad8d[_0x2090ff(0x557)]=_0x434d15(oe(),cr(),lr());}(X,function(_0x309d00){const _0x2305e3=_0x420c;return(function(){const _0x5149a8=_0x420c;var _0x5df19e=_0x309d00,_0xcde3ca=_0x5df19e[_0x5149a8(0x2ee)],_0x1a9bf1=_0xcde3ca[_0x5149a8(0x273)],_0x41ee5c=_0xcde3ca[_0x5149a8(0x17a)],_0x2f8e08=_0x5df19e[_0x5149a8(0x551)],_0x3b0b01=_0x2f8e08[_0x5149a8(0x43d)],_0x35224e=_0x2f8e08[_0x5149a8(0x2f3)]=_0x1a9bf1['extend']({'cfg':_0x1a9bf1['extend']({'keySize':0x80/0x20,'hasher':_0x3b0b01,'iterations':0x1}),'init':function(_0x369819){const _0x2f9f7c=_0x5149a8;this[_0x2f9f7c(0x566)]=this[_0x2f9f7c(0x566)][_0x2f9f7c(0x60d)](_0x369819);},'compute':function(_0x4da416,_0x4e08d4){const _0x1f968b=_0x5149a8;for(var _0x263d11,_0x25ad03=this[_0x1f968b(0x566)],_0x1ae943=_0x25ad03[_0x1f968b(0x1b4)][_0x1f968b(0x2cf)](),_0x14b711=_0x41ee5c[_0x1f968b(0x2cf)](),_0x310807=_0x14b711[_0x1f968b(0x36c)],_0x20df53=_0x25ad03[_0x1f968b(0x63f)],_0x57d2a4=_0x25ad03[_0x1f968b(0x4be)];_0x310807[_0x1f968b(0x5a6)]<_0x20df53;){_0x263d11&&_0x1ae943[_0x1f968b(0x352)](_0x263d11),_0x263d11=_0x1ae943[_0x1f968b(0x352)](_0x4da416)[_0x1f968b(0x611)](_0x4e08d4),_0x1ae943[_0x1f968b(0x1fa)]();for(var _0x1cf373=0x1;_0x1cf373<_0x57d2a4;_0x1cf373++)_0x263d11=_0x1ae943[_0x1f968b(0x611)](_0x263d11),_0x1ae943['reset']();_0x14b711[_0x1f968b(0x345)](_0x263d11);}return _0x14b711[_0x1f968b(0x3d6)]=_0x20df53*0x4,_0x14b711;}});_0x5df19e[_0x5149a8(0x2f3)]=function(_0x191ce7,_0x12b6a5,_0xd7a24d){const _0x4d1e87=_0x5149a8;return _0x35224e[_0x4d1e87(0x2cf)](_0xd7a24d)[_0x4d1e87(0x17e)](_0x191ce7,_0x12b6a5);};}()),_0x309d00[_0x2305e3(0x2f3)];}));}(ht)),ht[_0x3f59ee(0x557)];}var dt={'exports':{}},qt;function Dn(){const _0x636c9e=_0x714a18;return qt||(qt=0x1,function(_0x5f4c09,_0x321c1b){(function(_0x5333b9,_0x4ec122,_0xb62f83){const _0x14d89a=_0x420c;_0x5f4c09[_0x14d89a(0x557)]=_0x4ec122(oe(),On());}(X,function(_0x57b876){const _0x3a6f9b=_0x420c;_0x57b876[_0x3a6f9b(0x2ee)][_0x3a6f9b(0x2b2)]||function(_0x2181bb){const _0x2166d3=_0x3a6f9b;var _0x19e435=_0x57b876,_0x6da30f=_0x19e435[_0x2166d3(0x2ee)],_0x177434=_0x6da30f[_0x2166d3(0x273)],_0x37a04a=_0x6da30f[_0x2166d3(0x17a)],_0x3d6275=_0x6da30f[_0x2166d3(0x1c7)],_0x33e147=_0x19e435[_0x2166d3(0x49e)];_0x33e147['Utf8'];var _0x189f29=_0x33e147[_0x2166d3(0x504)],_0x2e8bda=_0x19e435[_0x2166d3(0x551)],_0x4db115=_0x2e8bda[_0x2166d3(0x2f3)],_0xc1475c=_0x6da30f['Cipher']=_0x3d6275[_0x2166d3(0x60d)]({'cfg':_0x177434[_0x2166d3(0x60d)](),'createEncryptor':function(_0x26d644,_0x37ab04){const _0x2ee4fe=_0x2166d3;return this[_0x2ee4fe(0x2cf)](this['_ENC_XFORM_MODE'],_0x26d644,_0x37ab04);},'createDecryptor':function(_0x175705,_0x1aa780){const _0x30faa8=_0x2166d3;return this[_0x30faa8(0x2cf)](this['_DEC_XFORM_MODE'],_0x175705,_0x1aa780);},'init':function(_0x46ce54,_0x4e772e,_0x5858c6){const _0x3c8d06=_0x2166d3;this[_0x3c8d06(0x566)]=this[_0x3c8d06(0x566)][_0x3c8d06(0x60d)](_0x5858c6),this['_xformMode']=_0x46ce54,this[_0x3c8d06(0x1d8)]=_0x4e772e,this[_0x3c8d06(0x1fa)]();},'reset':function(){const _0xa652af=_0x2166d3;_0x3d6275['reset'][_0xa652af(0x593)](this),this[_0xa652af(0x3b6)]();},'process':function(_0x55c801){const _0x117af5=_0x2166d3;return this['_append'](_0x55c801),this[_0x117af5(0x56f)]();},'finalize':function(_0x22535c){const _0x563b7e=_0x2166d3;_0x22535c&&this[_0x563b7e(0x30b)](_0x22535c);var _0x178928=this[_0x563b7e(0x299)]();return _0x178928;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x6c6cb6(_0x3fc9c4){return typeof _0x3fc9c4=='string'?_0x29ec18:_0x1836fc;}return function(_0x57b9d3){return{'encrypt':function(_0xc31cb0,_0x152e84,_0x13a0a5){const _0x1d5266=_0x420c;return _0x6c6cb6(_0x152e84)[_0x1d5266(0x3d2)](_0x57b9d3,_0xc31cb0,_0x152e84,_0x13a0a5);},'decrypt':function(_0x384042,_0x17af85,_0x439fdb){const _0x1be12c=_0x420c;return _0x6c6cb6(_0x17af85)[_0x1be12c(0x233)](_0x57b9d3,_0x384042,_0x17af85,_0x439fdb);}};};}())});_0x6da30f['StreamCipher']=_0xc1475c[_0x2166d3(0x60d)]({'_doFinalize':function(){const _0x43f60f=_0x2166d3;var _0x2a58c0=this[_0x43f60f(0x56f)](!0x0);return _0x2a58c0;},'blockSize':0x1});var _0xf04afe=_0x19e435[_0x2166d3(0x51a)]={},_0xab959b=_0x6da30f['BlockCipherMode']=_0x177434[_0x2166d3(0x60d)]({'createEncryptor':function(_0x5d7627,_0x249b5a){const _0x56c745=_0x2166d3;return this[_0x56c745(0x4e3)][_0x56c745(0x2cf)](_0x5d7627,_0x249b5a);},'createDecryptor':function(_0x2d3f82,_0x449c97){const _0x519b16=_0x2166d3;return this[_0x519b16(0x4fe)][_0x519b16(0x2cf)](_0x2d3f82,_0x449c97);},'init':function(_0xa993e3,_0x3cca15){const _0x29ac65=_0x2166d3;this['_cipher']=_0xa993e3,this[_0x29ac65(0x2d3)]=_0x3cca15;}}),_0x5a0fe8=_0xf04afe['CBC']=(function(){const _0x5ac3ae=_0x2166d3;var _0x40192b=_0xab959b[_0x5ac3ae(0x60d)]();_0x40192b['Encryptor']=_0x40192b[_0x5ac3ae(0x60d)]({'processBlock':function(_0x428eec,_0x721e42){const _0x2f70b8=_0x5ac3ae;var _0x3e88e2=this['_cipher'],_0x316f8a=_0x3e88e2['blockSize'];_0x477959[_0x2f70b8(0x593)](this,_0x428eec,_0x721e42,_0x316f8a),_0x3e88e2['encryptBlock'](_0x428eec,_0x721e42),this[_0x2f70b8(0x2ed)]=_0x428eec['slice'](_0x721e42,_0x721e42+_0x316f8a);}}),_0x40192b[_0x5ac3ae(0x4fe)]=_0x40192b[_0x5ac3ae(0x60d)]({'processBlock':function(_0x45a4eb,_0x4d0cb1){const _0x3cd03e=_0x5ac3ae;var _0x140d61=this[_0x3cd03e(0x202)],_0x1bff0f=_0x140d61[_0x3cd03e(0x591)],_0x2f13bc=_0x45a4eb[_0x3cd03e(0x2dc)](_0x4d0cb1,_0x4d0cb1+_0x1bff0f);_0x140d61[_0x3cd03e(0x595)](_0x45a4eb,_0x4d0cb1),_0x477959[_0x3cd03e(0x593)](this,_0x45a4eb,_0x4d0cb1,_0x1bff0f),this['_prevBlock']=_0x2f13bc;}});function _0x477959(_0x374ea2,_0x1d98ea,_0x2cb928){const _0x331375=_0x5ac3ae;var _0x292afa,_0x184931=this[_0x331375(0x2d3)];_0x184931?(_0x292afa=_0x184931,this[_0x331375(0x2d3)]=_0x2181bb):_0x292afa=this['_prevBlock'];for(var _0x3327cf=0x0;_0x3327cf<_0x2cb928;_0x3327cf++)_0x374ea2[_0x1d98ea+_0x3327cf]^=_0x292afa[_0x3327cf];}return _0x40192b;}()),_0x55d5a2=_0x19e435[_0x2166d3(0x448)]={},_0x48b267=_0x55d5a2['Pkcs7']={'pad':function(_0x569511,_0xf328e5){const _0x358dc0=_0x2166d3;for(var _0x334ec6=_0xf328e5*0x4,_0x14deef=_0x334ec6-_0x569511[_0x358dc0(0x3d6)]%_0x334ec6,_0x1d63ab=_0x14deef<<0x18|_0x14deef<<0x10|_0x14deef<<0x8|_0x14deef,_0x1188b9=[],_0x5ee736=0x0;_0x5ee736<_0x14deef;_0x5ee736+=0x4)_0x1188b9[_0x358dc0(0x5a9)](_0x1d63ab);var _0x241f84=_0x37a04a[_0x358dc0(0x2cf)](_0x1188b9,_0x14deef);_0x569511['concat'](_0x241f84);},'unpad':function(_0x3f9f4d){const _0x42624e=_0x2166d3;var _0x4d38c3=_0x3f9f4d[_0x42624e(0x36c)][_0x3f9f4d[_0x42624e(0x3d6)]-0x1>>>0x2]&0xff;_0x3f9f4d[_0x42624e(0x3d6)]-=_0x4d38c3;}};_0x6da30f['BlockCipher']=_0xc1475c['extend']({'cfg':_0xc1475c[_0x2166d3(0x566)][_0x2166d3(0x60d)]({'mode':_0x5a0fe8,'padding':_0x48b267}),'reset':function(){const _0x307386=_0x2166d3;var _0x5e8d88;_0xc1475c[_0x307386(0x1fa)][_0x307386(0x593)](this);var _0x41e5ea=this['cfg'],_0x75c358=_0x41e5ea['iv'],_0x205e70=_0x41e5ea[_0x307386(0x51a)];this[_0x307386(0x54e)]==this[_0x307386(0x444)]?_0x5e8d88=_0x205e70[_0x307386(0x329)]:(_0x5e8d88=_0x205e70[_0x307386(0x5f5)],this[_0x307386(0x29a)]=0x1),this[_0x307386(0x376)]&&this[_0x307386(0x376)]['__creator']==_0x5e8d88?this[_0x307386(0x376)][_0x307386(0x413)](this,_0x75c358&&_0x75c358[_0x307386(0x36c)]):(this[_0x307386(0x376)]=_0x5e8d88['call'](_0x205e70,this,_0x75c358&&_0x75c358[_0x307386(0x36c)]),this[_0x307386(0x376)][_0x307386(0x2a6)]=_0x5e8d88);},'_doProcessBlock':function(_0x103dac,_0x37dad2){this['_mode']['processBlock'](_0x103dac,_0x37dad2);},'_doFinalize':function(){const _0x143808=_0x2166d3;var _0x25958a,_0x4c3320=this[_0x143808(0x566)][_0x143808(0x54f)];return this[_0x143808(0x54e)]==this[_0x143808(0x444)]?(_0x4c3320[_0x143808(0x448)](this[_0x143808(0x4a6)],this['blockSize']),_0x25958a=this[_0x143808(0x56f)](!0x0)):(_0x25958a=this['_process'](!0x0),_0x4c3320['unpad'](_0x25958a)),_0x25958a;},'blockSize':0x80/0x20});var _0xa0ac2a=_0x6da30f[_0x2166d3(0x3f0)]=_0x177434[_0x2166d3(0x60d)]({'init':function(_0x25e224){const _0x58bcc3=_0x2166d3;this[_0x58bcc3(0x244)](_0x25e224);},'toString':function(_0x4fa30c){const _0x5c9b9c=_0x2166d3;return(_0x4fa30c||this[_0x5c9b9c(0x61a)])[_0x5c9b9c(0x570)](this);}}),_0x1ff7e5=_0x19e435['format']={},_0xee0cfc=_0x1ff7e5[_0x2166d3(0x4ff)]={'stringify':function(_0x1e6254){const _0x3791d8=_0x2166d3;var _0x49dd32,_0x2b2cea=_0x1e6254['ciphertext'],_0x43655e=_0x1e6254[_0x3791d8(0x297)];return _0x43655e?_0x49dd32=_0x37a04a[_0x3791d8(0x2cf)]([0x53616c74,0x65645f5f])['concat'](_0x43655e)[_0x3791d8(0x345)](_0x2b2cea):_0x49dd32=_0x2b2cea,_0x49dd32[_0x3791d8(0x5b9)](_0x189f29);},'parse':function(_0x546882){const _0x5681b9=_0x2166d3;var _0x336113,_0x5a8c43=_0x189f29[_0x5681b9(0x55a)](_0x546882),_0x5df0a6=_0x5a8c43[_0x5681b9(0x36c)];return _0x5df0a6[0x0]==0x53616c74&&_0x5df0a6[0x1]==0x65645f5f&&(_0x336113=_0x37a04a[_0x5681b9(0x2cf)](_0x5df0a6['slice'](0x2,0x4)),_0x5df0a6[_0x5681b9(0x2c7)](0x0,0x4),_0x5a8c43[_0x5681b9(0x3d6)]-=0x10),_0xa0ac2a[_0x5681b9(0x2cf)]({'ciphertext':_0x5a8c43,'salt':_0x336113});}},_0x1836fc=_0x6da30f[_0x2166d3(0x32e)]=_0x177434[_0x2166d3(0x60d)]({'cfg':_0x177434[_0x2166d3(0x60d)]({'format':_0xee0cfc}),'encrypt':function(_0x28804e,_0x1f39a9,_0xf3546a,_0xf5193e){const _0x5050b9=_0x2166d3;_0xf5193e=this[_0x5050b9(0x566)][_0x5050b9(0x60d)](_0xf5193e);var _0x20c5dc=_0x28804e[_0x5050b9(0x329)](_0xf3546a,_0xf5193e),_0x3a4a3c=_0x20c5dc[_0x5050b9(0x611)](_0x1f39a9),_0xa3194c=_0x20c5dc[_0x5050b9(0x566)];return _0xa0ac2a[_0x5050b9(0x2cf)]({'ciphertext':_0x3a4a3c,'key':_0xf3546a,'iv':_0xa3194c['iv'],'algorithm':_0x28804e,'mode':_0xa3194c[_0x5050b9(0x51a)],'padding':_0xa3194c[_0x5050b9(0x54f)],'blockSize':_0x28804e['blockSize'],'formatter':_0xf5193e[_0x5050b9(0x1b5)]});},'decrypt':function(_0x481e13,_0x3ccee4,_0x3db825,_0x24aa89){const _0x59bb56=_0x2166d3;_0x24aa89=this['cfg'][_0x59bb56(0x60d)](_0x24aa89),_0x3ccee4=this[_0x59bb56(0x206)](_0x3ccee4,_0x24aa89['format']);var _0x1f2c90=_0x481e13['createDecryptor'](_0x3db825,_0x24aa89)[_0x59bb56(0x611)](_0x3ccee4[_0x59bb56(0x271)]);return _0x1f2c90;},'_parse':function(_0x3aee07,_0x31943b){return typeof _0x3aee07=='string'?_0x31943b['parse'](_0x3aee07,this):_0x3aee07;}}),_0x52151c=_0x19e435[_0x2166d3(0x3ba)]={},_0x50e114=_0x52151c[_0x2166d3(0x4ff)]={'execute':function(_0x1f4c06,_0x2f1e42,_0x274ae5,_0x585cf0,_0x57abd7){const _0x506f38=_0x2166d3;if(_0x585cf0||(_0x585cf0=_0x37a04a[_0x506f38(0x429)](0x40/0x8)),_0x57abd7)var _0x497ea6=_0x4db115[_0x506f38(0x2cf)]({'keySize':_0x2f1e42+_0x274ae5,'hasher':_0x57abd7})['compute'](_0x1f4c06,_0x585cf0);else var _0x497ea6=_0x4db115[_0x506f38(0x2cf)]({'keySize':_0x2f1e42+_0x274ae5})[_0x506f38(0x17e)](_0x1f4c06,_0x585cf0);var _0x32734c=_0x37a04a['create'](_0x497ea6[_0x506f38(0x36c)][_0x506f38(0x2dc)](_0x2f1e42),_0x274ae5*0x4);return _0x497ea6[_0x506f38(0x3d6)]=_0x2f1e42*0x4,_0xa0ac2a[_0x506f38(0x2cf)]({'key':_0x497ea6,'iv':_0x32734c,'salt':_0x585cf0});}},_0x29ec18=_0x6da30f[_0x2166d3(0x586)]=_0x1836fc['extend']({'cfg':_0x1836fc[_0x2166d3(0x566)][_0x2166d3(0x60d)]({'kdf':_0x50e114}),'encrypt':function(_0x93de0d,_0x381c73,_0x47903,_0x3d0afa){const _0x26ee26=_0x2166d3;_0x3d0afa=this[_0x26ee26(0x566)][_0x26ee26(0x60d)](_0x3d0afa);var _0x1472eb=_0x3d0afa[_0x26ee26(0x3ba)][_0x26ee26(0x18f)](_0x47903,_0x93de0d[_0x26ee26(0x63f)],_0x93de0d['ivSize'],_0x3d0afa[_0x26ee26(0x297)],_0x3d0afa[_0x26ee26(0x1b4)]);_0x3d0afa['iv']=_0x1472eb['iv'];var _0x514905=_0x1836fc['encrypt'][_0x26ee26(0x593)](this,_0x93de0d,_0x381c73,_0x1472eb['key'],_0x3d0afa);return _0x514905[_0x26ee26(0x244)](_0x1472eb),_0x514905;},'decrypt':function(_0x3e3c1c,_0xfd2349,_0x23353b,_0x5ebf2c){const _0x142427=_0x2166d3;_0x5ebf2c=this[_0x142427(0x566)]['extend'](_0x5ebf2c),_0xfd2349=this['_parse'](_0xfd2349,_0x5ebf2c['format']);var _0x2ebb41=_0x5ebf2c[_0x142427(0x3ba)]['execute'](_0x23353b,_0x3e3c1c['keySize'],_0x3e3c1c[_0x142427(0x5c6)],_0xfd2349[_0x142427(0x297)],_0x5ebf2c[_0x142427(0x1b4)]);_0x5ebf2c['iv']=_0x2ebb41['iv'];var _0x20ef18=_0x1836fc['decrypt']['call'](this,_0x3e3c1c,_0xfd2349,_0x2ebb41['key'],_0x5ebf2c);return _0x20ef18;}});}();}));}(dt)),dt[_0x636c9e(0x557)];}(function(_0x25254d,_0x2189f6){(function(_0x49eff4,_0xe47ec5,_0x2e1572){_0x25254d['exports']=_0xe47ec5(oe(),yn,ar(),On(),Dn());}(X,function(_0x17f69e){const _0x2a958f=_0x420c;return(function(){const _0x4de3d5=_0x420c;var _0x51e4e6=_0x17f69e,_0x1eb6a2=_0x51e4e6[_0x4de3d5(0x2ee)],_0x289274=_0x1eb6a2[_0x4de3d5(0x4ef)],_0x5d46cd=_0x51e4e6[_0x4de3d5(0x551)],_0xa3e2=[],_0x335efc=[],_0x6d5f28=[],_0x161b87=[],_0x34d7f4=[],_0x1a8e71=[],_0x2daabb=[],_0x440694=[],_0x5f0747=[],_0x25b491=[];(function(){for(var _0x13c83c=[],_0xa25403=0x0;_0xa25403<0x100;_0xa25403++)_0xa25403<0x80?_0x13c83c[_0xa25403]=_0xa25403<<0x1:_0x13c83c[_0xa25403]=_0xa25403<<0x1^0x11b;for(var _0x3c0ed4=0x0,_0x2ee844=0x0,_0xa25403=0x0;_0xa25403<0x100;_0xa25403++){var _0x2f6030=_0x2ee844^_0x2ee844<<0x1^_0x2ee844<<0x2^_0x2ee844<<0x3^_0x2ee844<<0x4;_0x2f6030=_0x2f6030>>>0x8^_0x2f6030&0xff^0x63,_0xa3e2[_0x3c0ed4]=_0x2f6030,_0x335efc[_0x2f6030]=_0x3c0ed4;var _0x30e38f=_0x13c83c[_0x3c0ed4],_0x13b85d=_0x13c83c[_0x30e38f],_0xae95a3=_0x13c83c[_0x13b85d],_0x46001a=_0x13c83c[_0x2f6030]*0x101^_0x2f6030*0x1010100;_0x6d5f28[_0x3c0ed4]=_0x46001a<<0x18|_0x46001a>>>0x8,_0x161b87[_0x3c0ed4]=_0x46001a<<0x10|_0x46001a>>>0x10,_0x34d7f4[_0x3c0ed4]=_0x46001a<<0x8|_0x46001a>>>0x18,_0x1a8e71[_0x3c0ed4]=_0x46001a;var _0x46001a=_0xae95a3*0x1010101^_0x13b85d*0x10001^_0x30e38f*0x101^_0x3c0ed4*0x1010100;_0x2daabb[_0x2f6030]=_0x46001a<<0x18|_0x46001a>>>0x8,_0x440694[_0x2f6030]=_0x46001a<<0x10|_0x46001a>>>0x10,_0x5f0747[_0x2f6030]=_0x46001a<<0x8|_0x46001a>>>0x18,_0x25b491[_0x2f6030]=_0x46001a,_0x3c0ed4?(_0x3c0ed4=_0x30e38f^_0x13c83c[_0x13c83c[_0x13c83c[_0xae95a3^_0x30e38f]]],_0x2ee844^=_0x13c83c[_0x13c83c[_0x2ee844]]):_0x3c0ed4=_0x2ee844=0x1;}}());var _0x583073=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x30642b=_0x5d46cd['AES']=_0x289274[_0x4de3d5(0x60d)]({'_doReset':function(){const _0x1c6d9c=_0x4de3d5;var _0x1b3e6e;if(!(this[_0x1c6d9c(0x3a1)]&&this[_0x1c6d9c(0x5e5)]===this[_0x1c6d9c(0x1d8)])){for(var _0x43f64f=this[_0x1c6d9c(0x5e5)]=this[_0x1c6d9c(0x1d8)],_0x2498c1=_0x43f64f[_0x1c6d9c(0x36c)],_0x185d9a=_0x43f64f['sigBytes']/0x4,_0x21d05f=this[_0x1c6d9c(0x3a1)]=_0x185d9a+0x6,_0x5e2c40=(_0x21d05f+0x1)*0x4,_0x5f37e5=this['_keySchedule']=[],_0x11a6f5=0x0;_0x11a6f5<_0x5e2c40;_0x11a6f5++)_0x11a6f5<_0x185d9a?_0x5f37e5[_0x11a6f5]=_0x2498c1[_0x11a6f5]:(_0x1b3e6e=_0x5f37e5[_0x11a6f5-0x1],_0x11a6f5%_0x185d9a?_0x185d9a>0x6&&_0x11a6f5%_0x185d9a==0x4&&(_0x1b3e6e=_0xa3e2[_0x1b3e6e>>>0x18]<<0x18|_0xa3e2[_0x1b3e6e>>>0x10&0xff]<<0x10|_0xa3e2[_0x1b3e6e>>>0x8&0xff]<<0x8|_0xa3e2[_0x1b3e6e&0xff]):(_0x1b3e6e=_0x1b3e6e<<0x8|_0x1b3e6e>>>0x18,_0x1b3e6e=_0xa3e2[_0x1b3e6e>>>0x18]<<0x18|_0xa3e2[_0x1b3e6e>>>0x10&0xff]<<0x10|_0xa3e2[_0x1b3e6e>>>0x8&0xff]<<0x8|_0xa3e2[_0x1b3e6e&0xff],_0x1b3e6e^=_0x583073[_0x11a6f5/_0x185d9a|0x0]<<0x18),_0x5f37e5[_0x11a6f5]=_0x5f37e5[_0x11a6f5-_0x185d9a]^_0x1b3e6e);for(var _0x25b4fa=this[_0x1c6d9c(0x249)]=[],_0x40f944=0x0;_0x40f944<_0x5e2c40;_0x40f944++){var _0x11a6f5=_0x5e2c40-_0x40f944;if(_0x40f944%0x4)var _0x1b3e6e=_0x5f37e5[_0x11a6f5];else var _0x1b3e6e=_0x5f37e5[_0x11a6f5-0x4];_0x40f944<0x4||_0x11a6f5<=0x4?_0x25b4fa[_0x40f944]=_0x1b3e6e:_0x25b4fa[_0x40f944]=_0x2daabb[_0xa3e2[_0x1b3e6e>>>0x18]]^_0x440694[_0xa3e2[_0x1b3e6e>>>0x10&0xff]]^_0x5f0747[_0xa3e2[_0x1b3e6e>>>0x8&0xff]]^_0x25b491[_0xa3e2[_0x1b3e6e&0xff]];}}},'encryptBlock':function(_0x551f85,_0x29cc4b){const _0x1c6099=_0x4de3d5;this[_0x1c6099(0x624)](_0x551f85,_0x29cc4b,this['_keySchedule'],_0x6d5f28,_0x161b87,_0x34d7f4,_0x1a8e71,_0xa3e2);},'decryptBlock':function(_0x2f5b23,_0x51c333){const _0x2886a0=_0x4de3d5;var _0x5001dc=_0x2f5b23[_0x51c333+0x1];_0x2f5b23[_0x51c333+0x1]=_0x2f5b23[_0x51c333+0x3],_0x2f5b23[_0x51c333+0x3]=_0x5001dc,this[_0x2886a0(0x624)](_0x2f5b23,_0x51c333,this[_0x2886a0(0x249)],_0x2daabb,_0x440694,_0x5f0747,_0x25b491,_0x335efc);var _0x5001dc=_0x2f5b23[_0x51c333+0x1];_0x2f5b23[_0x51c333+0x1]=_0x2f5b23[_0x51c333+0x3],_0x2f5b23[_0x51c333+0x3]=_0x5001dc;},'_doCryptBlock':function(_0x2a988d,_0x15eea0,_0x5245ba,_0x21a0e5,_0x4e9e39,_0x17fc83,_0x4d0f71,_0x5a19ea){const _0x2e9876=_0x4de3d5;for(var _0x4c1b0c=this[_0x2e9876(0x3a1)],_0x5b957c=_0x2a988d[_0x15eea0]^_0x5245ba[0x0],_0x14e007=_0x2a988d[_0x15eea0+0x1]^_0x5245ba[0x1],_0x3f5974=_0x2a988d[_0x15eea0+0x2]^_0x5245ba[0x2],_0x25c07b=_0x2a988d[_0x15eea0+0x3]^_0x5245ba[0x3],_0x2456ef=0x4,_0x111e82=0x1;_0x111e82<_0x4c1b0c;_0x111e82++){var _0x122271=_0x21a0e5[_0x5b957c>>>0x18]^_0x4e9e39[_0x14e007>>>0x10&0xff]^_0x17fc83[_0x3f5974>>>0x8&0xff]^_0x4d0f71[_0x25c07b&0xff]^_0x5245ba[_0x2456ef++],_0x1bc71c=_0x21a0e5[_0x14e007>>>0x18]^_0x4e9e39[_0x3f5974>>>0x10&0xff]^_0x17fc83[_0x25c07b>>>0x8&0xff]^_0x4d0f71[_0x5b957c&0xff]^_0x5245ba[_0x2456ef++],_0x37c236=_0x21a0e5[_0x3f5974>>>0x18]^_0x4e9e39[_0x25c07b>>>0x10&0xff]^_0x17fc83[_0x5b957c>>>0x8&0xff]^_0x4d0f71[_0x14e007&0xff]^_0x5245ba[_0x2456ef++],_0x2a0346=_0x21a0e5[_0x25c07b>>>0x18]^_0x4e9e39[_0x5b957c>>>0x10&0xff]^_0x17fc83[_0x14e007>>>0x8&0xff]^_0x4d0f71[_0x3f5974&0xff]^_0x5245ba[_0x2456ef++];_0x5b957c=_0x122271,_0x14e007=_0x1bc71c,_0x3f5974=_0x37c236,_0x25c07b=_0x2a0346;}var _0x122271=(_0x5a19ea[_0x5b957c>>>0x18]<<0x18|_0x5a19ea[_0x14e007>>>0x10&0xff]<<0x10|_0x5a19ea[_0x3f5974>>>0x8&0xff]<<0x8|_0x5a19ea[_0x25c07b&0xff])^_0x5245ba[_0x2456ef++],_0x1bc71c=(_0x5a19ea[_0x14e007>>>0x18]<<0x18|_0x5a19ea[_0x3f5974>>>0x10&0xff]<<0x10|_0x5a19ea[_0x25c07b>>>0x8&0xff]<<0x8|_0x5a19ea[_0x5b957c&0xff])^_0x5245ba[_0x2456ef++],_0x37c236=(_0x5a19ea[_0x3f5974>>>0x18]<<0x18|_0x5a19ea[_0x25c07b>>>0x10&0xff]<<0x10|_0x5a19ea[_0x5b957c>>>0x8&0xff]<<0x8|_0x5a19ea[_0x14e007&0xff])^_0x5245ba[_0x2456ef++],_0x2a0346=(_0x5a19ea[_0x25c07b>>>0x18]<<0x18|_0x5a19ea[_0x5b957c>>>0x10&0xff]<<0x10|_0x5a19ea[_0x14e007>>>0x8&0xff]<<0x8|_0x5a19ea[_0x3f5974&0xff])^_0x5245ba[_0x2456ef++];_0x2a988d[_0x15eea0]=_0x122271,_0x2a988d[_0x15eea0+0x1]=_0x1bc71c,_0x2a988d[_0x15eea0+0x2]=_0x37c236,_0x2a988d[_0x15eea0+0x3]=_0x2a0346;},'keySize':0x100/0x20});_0x51e4e6[_0x4de3d5(0x383)]=_0x289274[_0x4de3d5(0x42a)](_0x30642b);}()),_0x17f69e[_0x2a958f(0x383)];}));}(Tn));var hr=Tn['exports'];const _r=xe(hr);var wn={'exports':{}};(function(_0x29e61a,_0x120036){(function(_0x21ebd2,_0x4daa33){const _0x5c04bd=_0x420c;_0x29e61a[_0x5c04bd(0x557)]=_0x4daa33(oe());}(X,function(_0x2d1d3d){const _0x4ddfae=_0x420c;return _0x2d1d3d[_0x4ddfae(0x49e)][_0x4ddfae(0x4c8)];}));}(wn));var ur=wn[_0x714a18(0x557)];const dr=xe(ur);var Pn={'exports':{}};(function(_0x301df3,_0x1d7218){(function(_0x4dafec,_0x459f90){const _0x4c9ef3=_0x420c;_0x301df3[_0x4c9ef3(0x557)]=_0x459f90(oe());}(X,function(_0x1a6e67){const _0x21e0bd=_0x420c;return(function(){const _0x44ed39=_0x420c;if(typeof ArrayBuffer==_0x44ed39(0x20f)){var _0x33d4ce=_0x1a6e67,_0x326495=_0x33d4ce[_0x44ed39(0x2ee)],_0x355d00=_0x326495[_0x44ed39(0x17a)],_0x4821a5=_0x355d00[_0x44ed39(0x413)],_0x1c5277=_0x355d00[_0x44ed39(0x413)]=function(_0x2ff814){const _0x3701a9=_0x44ed39;if(_0x2ff814 instanceof ArrayBuffer&&(_0x2ff814=new Uint8Array(_0x2ff814)),(_0x2ff814 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2ff814 instanceof Uint8ClampedArray||_0x2ff814 instanceof Int16Array||_0x2ff814 instanceof Uint16Array||_0x2ff814 instanceof Int32Array||_0x2ff814 instanceof Uint32Array||_0x2ff814 instanceof Float32Array||_0x2ff814 instanceof Float64Array)&&(_0x2ff814=new Uint8Array(_0x2ff814[_0x3701a9(0x51b)],_0x2ff814[_0x3701a9(0x48a)],_0x2ff814[_0x3701a9(0x1ba)])),_0x2ff814 instanceof Uint8Array){for(var _0x43a54f=_0x2ff814[_0x3701a9(0x1ba)],_0xa836b7=[],_0x2d11c2=0x0;_0x2d11c2<_0x43a54f;_0x2d11c2++)_0xa836b7[_0x2d11c2>>>0x2]|=_0x2ff814[_0x2d11c2]<<0x18-_0x2d11c2%0x4*0x8;_0x4821a5[_0x3701a9(0x593)](this,_0xa836b7,_0x43a54f);}else _0x4821a5[_0x3701a9(0x275)](this,arguments);};_0x1c5277[_0x44ed39(0x2c5)]=_0x355d00;}}()),_0x1a6e67[_0x21e0bd(0x2ee)]['WordArray'];}));}(Pn));var fr=Pn[_0x714a18(0x557)];const vr=xe(fr);var Un={'exports':{}};(function(_0x24b2c4,_0x300077){(function(_0x36f3cf,_0x3efd51,_0x4ca8dc){const _0x52b48a=_0x420c;_0x24b2c4[_0x52b48a(0x557)]=_0x3efd51(oe(),Dn());}(X,function(_0xfce154){const _0x3fb0d1=_0x420c;return _0xfce154[_0x3fb0d1(0x448)][_0x3fb0d1(0x332)]={'pad':function(){},'unpad':function(){}},_0xfce154['pad'][_0x3fb0d1(0x332)];}));}(Un));var Sr=Un[_0x714a18(0x557)];const pr=xe(Sr);function mr(_0x3cc359,_0x5cb7ab){const _0x58a382=_0x714a18,_0xd0458a=_0x5cb7ab-_0x3cc359[_0x58a382(0x5a6)]%_0x5cb7ab,_0x3771d4=String['fromCharCode'](_0xd0458a)[_0x58a382(0x3a6)](_0xd0458a);return _0x3cc359+_0x3771d4;}function gr(_0x300912,_0x27846c){const _0x4c1953=_0x714a18,_0x4708b1=vr[_0x4c1953(0x429)](0x10),_0x294ca1=mr(_0x300912,0x10),_0x4d429f=_r['encrypt'](dr[_0x4c1953(0x55a)](_0x294ca1),Ft['parse'](_0x27846c),{'iv':_0x4708b1,'padding':pr});return _0x4708b1['concat'](_0x4d429f[_0x4c1953(0x271)])[_0x4c1953(0x5b9)](Ft);}function Ir(){const _0x4d870c=_0x714a18,_0x1f4bc3=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x4d870c(0x3a9)];if(_0x1f4bc3){const _0x41c6ef={'time':Math[_0x4d870c(0x328)](Date[_0x4d870c(0x180)]()/0x3e8),'domain':location[_0x4d870c(0x250)]};return gr(JSON[_0x4d870c(0x570)](_0x41c6ef),_0x1f4bc3);}}var Cr=Object[_0x714a18(0x1d2)],Er=Object[_0x714a18(0x254)],br=(_0xe2bca9,_0x2f75bd,_0x4abe97,_0x39d7bd)=>{const _0x2d7d3b=_0x714a18;for(var _0x50386a=_0x39d7bd>0x1?void 0x0:_0x39d7bd?Er(_0x2f75bd,_0x4abe97):_0x2f75bd,_0x43df73=_0xe2bca9[_0x2d7d3b(0x5a6)]-0x1,_0x1ece7e;_0x43df73>=0x0;_0x43df73--)(_0x1ece7e=_0xe2bca9[_0x43df73])&&(_0x50386a=(_0x39d7bd?_0x1ece7e(_0x2f75bd,_0x4abe97,_0x50386a):_0x1ece7e(_0x50386a))||_0x50386a);return _0x39d7bd&&_0x50386a&&Cr(_0x2f75bd,_0x4abe97,_0x50386a),_0x50386a;},Tr=(_0x297042,_0x3fa2d8)=>(_0x3e9583,_0x143062)=>_0x3fa2d8(_0x3e9583,_0x143062,_0x297042);let Ye=class{constructor(_0x57041e){const _0x1f3660=_0x714a18;this['_httpService']=_0x57041e,this[_0x1f3660(0x35c)]();}[_0x714a18(0x35c)](){const _0x4bc996=_0x714a18;this[_0x4bc996(0x4a7)]['registerHTTPInterceptor']({'interceptor':(_0x44d51e,_0x58ef93)=>{const _0x217178=_0x4bc996,_0x2ff74d=_0x44d51e[_0x217178(0x1c6)],_0x25dead=Ir();return _0x25dead&&_0x2ff74d['set'](_0x217178(0x587),_0x25dead),_0x58ef93(_0x44d51e);}});}};Ye=br([Tr(0x0,a['Inject'](J[_0x714a18(0x480)]))],Ye);var Rr=Object[_0x714a18(0x1d2)],yr=Object[_0x714a18(0x254)],Or=(_0xe1db36,_0x1e1c64,_0x37a614,_0x2c6d6c)=>{const _0x45b539=_0x714a18;for(var _0x3fdb19=_0x2c6d6c>0x1?void 0x0:_0x2c6d6c?yr(_0x1e1c64,_0x37a614):_0x1e1c64,_0x53302f=_0xe1db36[_0x45b539(0x5a6)]-0x1,_0x2fc0f4;_0x53302f>=0x0;_0x53302f--)(_0x2fc0f4=_0xe1db36[_0x53302f])&&(_0x3fdb19=(_0x2c6d6c?_0x2fc0f4(_0x1e1c64,_0x37a614,_0x3fdb19):_0x2fc0f4(_0x3fdb19))||_0x3fdb19);return _0x2c6d6c&&_0x3fdb19&&Rr(_0x1e1c64,_0x37a614,_0x3fdb19),_0x3fdb19;},ft=(_0x1998f3,_0x492895)=>(_0xdc512e,_0x5db817)=>_0x492895(_0xdc512e,_0x5db817,_0x1998f3);const Dr=['image/png',_0x714a18(0x276),_0x714a18(0x19f),_0x714a18(0x4e8),_0x714a18(0x1e1)],wr=0x5*0x400*0x400,Pr=_0x714a18(0x1fb),Ur=_0x714a18(0x33b),Mr=_0x714a18(0x2f2),Ar=_0x714a18(0x3e6);exports[_0x714a18(0x2bc)]=class{constructor(_0x935f6a,_0x593e6f,_0x274cd3){const _0x4ace0b=_0x714a18;I(this,'_waitCount',0x0),I(this,_0x4ace0b(0x5c0),new A[(_0x4ace0b(0x47f))]()),I(this,_0x4ace0b(0x598),this[_0x4ace0b(0x5c0)]),I(this,_0x4ace0b(0x221),new Map()),(this['_httpService']=_0x935f6a,this[_0x4ace0b(0x3dc)]=_0x593e6f,this[_0x4ace0b(0x4c0)]=_0x274cd3);}[_0x714a18(0x391)](_0x1b7fa8){const _0x1b69e=_0x714a18;this[_0x1b69e(0x613)]=_0x1b7fa8,this['_change$'][_0x1b69e(0x5c5)](_0x1b7fa8);}[_0x714a18(0x560)](_0xb5755c,_0x35ce8b){const _0x4fd9c8=_0x714a18;if(_0x35ce8b===ne[_0x4fd9c8(0x1cb)][_0x4fd9c8(0x418)]){const _0x52ede9=new Image();return _0x52ede9[_0x4fd9c8(0x50f)]=_0xb5755c,_0x52ede9;}return this['_imageSourceCache'][_0x4fd9c8(0x1bc)](_0xb5755c);}[_0x714a18(0x37f)](_0x1f480c,_0x443105,_0xc9b92b){const _0x5e7daa=_0x714a18;_0x443105===ne[_0x5e7daa(0x1cb)][_0x5e7daa(0x418)]||_0xc9b92b==null||this[_0x5e7daa(0x221)][_0x5e7daa(0x3d0)](_0x1f480c,_0xc9b92b);}async[_0x714a18(0x1ae)](_0x327e04){const _0x5b621e=_0x714a18;try{const _0x38aea5=this['_replaceFileID'](this[_0x5b621e(0x4e7)](),''+_0x327e04),_0x498de2=(await this[_0x5b621e(0x4a7)]['get'](_0x38aea5))[_0x5b621e(0x1ee)];if(_0x498de2[_0x5b621e(0x4c3)]&&_0x498de2[_0x5b621e(0x4c3)]['code']===on['OK']){const _0x175bcc=new URL(_0x498de2[_0x5b621e(0x513)],this[_0x5b621e(0x29e)]())[_0x5b621e(0x5b9)]();return Promise[_0x5b621e(0x21e)](_0x175bcc);}return Promise[_0x5b621e(0x3fa)](_0x498de2['error']);}catch(_0x4f4bf5){return Promise[_0x5b621e(0x3fa)](_0x4f4bf5);}}async[_0x714a18(0x399)](_0x9e2bab){const _0x5c9b64=_0x714a18;let _0x207c3a='';if(!Dr[_0x5c9b64(0x2c3)](_0x9e2bab['type']))return this['_decreaseWaiting'](),Promise[_0x5c9b64(0x3fa)](new Error(ne[_0x5c9b64(0x1f2)][_0x5c9b64(0x464)]));if(_0x9e2bab['size']>wr)return this[_0x5c9b64(0x317)](),Promise[_0x5c9b64(0x3fa)](new Error(ne[_0x5c9b64(0x1f2)][_0x5c9b64(0x39f)]));try{const _0x2cd6a5=new FormData();_0x2cd6a5[_0x5c9b64(0x2b0)](_0x5c9b64(0x2db),_0x9e2bab);const _0x2c6199=this[_0x5c9b64(0x4c0)][_0x5c9b64(0x28e)](),_0x5e5af1=_0x2c6199==null?void 0x0:_0x2c6199['getUnitId']();if(!_0x5e5af1)throw new Error('unitId\x20is\x20not\x20found');const _0xa4bc06=this[_0x5c9b64(0x307)]()+'?size='+_0x9e2bab[_0x5c9b64(0x226)]['toString']()+_0x5c9b64(0x2a5)+an[_0x5c9b64(0x509)]+_0x5c9b64(0x385)+encodeURIComponent(_0x5e5af1),_0x37fb65=await(await fetch(_0xa4bc06,{'method':_0x5c9b64(0x27e),'body':_0x2cd6a5}))['json']();if(typeof _0x37fb65[_0x5c9b64(0x430)]!='string')return this[_0x5c9b64(0x317)](),Promise[_0x5c9b64(0x3fa)](new Error(ne[_0x5c9b64(0x1f2)][_0x5c9b64(0x381)]));_0x207c3a=_0x37fb65['FileId'];}catch{return this[_0x5c9b64(0x317)](),Promise[_0x5c9b64(0x3fa)](new Error(ne[_0x5c9b64(0x1f2)][_0x5c9b64(0x381)]));}return new Promise((_0x112c24,_0x46d68f)=>{const _0x40e315=_0x5c9b64,_0x2e8192=new FileReader();_0x2e8192[_0x40e315(0x568)](_0x9e2bab),_0x2e8192[_0x40e315(0x264)]=_0x580d3a=>{const _0x5e412b=_0x40e315;var _0x4dbb11;const _0x562d7c=(_0x4dbb11=_0x580d3a['target'])==null?void 0x0:_0x4dbb11['result'];if(_0x562d7c==null){this['_decreaseWaiting'](),_0x46d68f(new Error(ne[_0x5e412b(0x1f2)][_0x5e412b(0x381)]));return;}const _0x4571dc=a[_0x5e412b(0x392)]['generateRandomId'](0x6);_0x112c24({'imageId':_0x4571dc,'imageSourceType':ne[_0x5e412b(0x1cb)][_0x5e412b(0x387)],'source':_0x207c3a,'base64Cache':_0x562d7c,'status':ne[_0x5e412b(0x1f2)][_0x5e412b(0x403)]}),this[_0x5e412b(0x317)]();};});}[_0x714a18(0x307)](){const _0x5d8308=_0x714a18;var _0x34d652,_0x9b49a8;const _0x16ad72=this[_0x5d8308(0x3dc)]['getConfig'](Pr),_0x5a336a=this[_0x5d8308(0x3dc)][_0x5d8308(0x49b)](ee);return(_0x9b49a8=(_0x34d652=_0x5a336a==null?void 0x0:_0x5a336a[_0x5d8308(0x451)])!=null?_0x34d652:_0x16ad72)!=null?_0x9b49a8:Ur;}[_0x714a18(0x4e7)](){const _0x174138=_0x714a18;var _0x58a06b,_0x10a30a;const _0x5346a7=this[_0x174138(0x3dc)][_0x174138(0x49b)](Mr),_0x279e9b=this[_0x174138(0x3dc)][_0x174138(0x49b)](ee);return(_0x10a30a=(_0x58a06b=_0x279e9b==null?void 0x0:_0x279e9b[_0x174138(0x61c)])!=null?_0x58a06b:_0x5346a7)!=null?_0x10a30a:Ar;}['_getDownloadEndpointURL'](){const _0x403687=_0x714a18;var _0x3933af;const _0x16958c=this[_0x403687(0x3dc)][_0x403687(0x49b)](ee);return(_0x3933af=_0x16958c==null?void 0x0:_0x16958c['downloadEndpointUrl'])!=null?_0x3933af:location[_0x403687(0x363)];}[_0x714a18(0x366)](_0x392019,_0x3579fe){const _0x35fb23=_0x714a18;return _0x392019[_0x35fb23(0x258)](_0x35fb23(0x296),_0x3579fe);}[_0x714a18(0x317)](){const _0x307859=_0x714a18;this['_waitCount']-=0x1,this[_0x307859(0x5c0)][_0x307859(0x5c5)](this[_0x307859(0x613)]);}},exports[_0x714a18(0x2bc)]=Or([ft(0x0,a['Inject'](J[_0x714a18(0x480)])),ft(0x1,a['IConfigService']),ft(0x2,a[_0x714a18(0x5ce)](a[_0x714a18(0x617)]))],exports[_0x714a18(0x2bc)]);var Nr=Object[_0x714a18(0x1d2)],Lr=Object[_0x714a18(0x254)],xr=(_0x2debb4,_0x27d266,_0x52812f,_0x4db930)=>{for(var _0x12b5ac=_0x4db930>0x1?void 0x0:_0x4db930?Lr(_0x27d266,_0x52812f):_0x27d266,_0x3fc643=_0x2debb4['length']-0x1,_0x40b4d7;_0x3fc643>=0x0;_0x3fc643--)(_0x40b4d7=_0x2debb4[_0x3fc643])&&(_0x12b5ac=(_0x4db930?_0x40b4d7(_0x27d266,_0x52812f,_0x12b5ac):_0x40b4d7(_0x12b5ac))||_0x12b5ac);return _0x4db930&&_0x12b5ac&&Nr(_0x27d266,_0x52812f,_0x12b5ac),_0x12b5ac;},Ae=(_0x361a5d,_0x19a482)=>(_0x2cf36d,_0x558e10)=>_0x19a482(_0x2cf36d,_0x558e10,_0x361a5d);let Ke=class extends a[_0x714a18(0x237)]{constructor(_0x67fb42,_0x2b5a5e,_0x4ff03e,_0x1d0cf4,_0xa575fc){const _0x13f03c=_0x714a18;super(),this[_0x13f03c(0x5eb)]=_0x67fb42,this[_0x13f03c(0x4c0)]=_0x2b5a5e,this['_permissionService']=_0x4ff03e,this[_0x13f03c(0x40b)]=_0x1d0cf4,this[_0x13f03c(0x467)]=_0xa575fc,this[_0x13f03c(0x2fd)](),this['_initCloseConn']();}[_0x714a18(0x4f6)](){const _0x384fd9=_0x714a18,_0xe6586a=async _0xbe2c3=>{const _0x23cc7d=_0x420c;(await this[_0x23cc7d(0x40b)][_0x23cc7d(0x49f)](_0xbe2c3))[_0x23cc7d(0x55f)][_0x23cc7d(0x52c)](V[_0x23cc7d(0x630)](_0x386301=>_0x386301[_0x23cc7d(0x298)]===p[_0x23cc7d(0x57d)][_0x23cc7d(0x626)]),V[_0x23cc7d(0x3c8)](this[_0x23cc7d(0x417)]))['subscribe'](_0x1da5b8=>{const _0x3f5f0d=_0x23cc7d,_0x4e771a=_0x1da5b8,{reason:_0xb1c5ff}=_0x4e771a[_0x3f5f0d(0x539)];this['_injector'][_0x3f5f0d(0x1bc)](te[_0x3f5f0d(0x32c)])[_0x3f5f0d(0x26f)]({'type':Ie[_0x3f5f0d(0x4b3)][_0x3f5f0d(0x63a)],'content':this['_localeService']['t'](_0x3f5f0d(0x27f))+'('+_0xb1c5ff+')'}),this['_permissionService']['updatePermissionPoint'](new B['WorkbookEditablePermission'](_0xbe2c3)['id'],!0x1),this['_collaborationSessionService'][_0x3f5f0d(0x331)](_0xbe2c3);});};A[_0x384fd9(0x3ea)](this[_0x384fd9(0x4c0)]['getTypeOfUnitAdded$'](a[_0x384fd9(0x3ab)][_0x384fd9(0x2d2)]),this[_0x384fd9(0x4c0)][_0x384fd9(0x3d5)](a[_0x384fd9(0x3ab)][_0x384fd9(0x5ff)]))['pipe'](V['map'](_0x3047c1=>_0x3047c1['getUnitId']()),V[_0x384fd9(0x630)](_0x3cf6ca=>!a['isInternalEditorID'](_0x3cf6ca)),V[_0x384fd9(0x3c8)](this['dispose$']))[_0x384fd9(0x47b)](_0x5c5981=>{_0xe6586a(_0x5c5981);});}[_0x714a18(0x2fd)](){const _0x304d24=_0x714a18,_0x11183a=async _0x472ca9=>{const _0x504abe=_0x420c;(await this[_0x504abe(0x40b)][_0x504abe(0x49f)](_0x472ca9))[_0x504abe(0x55f)][_0x504abe(0x52c)](V[_0x504abe(0x630)](_0x39ab93=>_0x39ab93[_0x504abe(0x298)]===p[_0x504abe(0x57d)][_0x504abe(0x3e5)]),V[_0x504abe(0x3c8)](this[_0x504abe(0x417)]))[_0x504abe(0x47b)](_0x6c8556=>{const _0x2beb30=_0x504abe,_0x368e94=_0x6c8556,{objectId:_0x23ac8a}=_0x368e94['data'],_0x22c923=this[_0x2beb30(0x5eb)][_0x2beb30(0x1bc)](Re['SheetPermissionInitController']);_0x23ac8a===_0x472ca9?_0x22c923[_0x2beb30(0x4a1)](_0x472ca9):_0x22c923['refreshPermission'](_0x472ca9,_0x23ac8a);});};A['merge'](this[_0x304d24(0x4c0)][_0x304d24(0x3d5)](a[_0x304d24(0x3ab)][_0x304d24(0x2d2)]),this['_univerInstanceService'][_0x304d24(0x3d5)](a[_0x304d24(0x3ab)][_0x304d24(0x5ff)]))['pipe'](V[_0x304d24(0x556)](_0x18d456=>_0x18d456[_0x304d24(0x2e0)]()),V[_0x304d24(0x630)](_0x51c044=>!a[_0x304d24(0x42e)](_0x51c044)),V[_0x304d24(0x3c8)](this[_0x304d24(0x417)]))[_0x304d24(0x47b)](_0x225a3d=>{_0x11183a(_0x225a3d);});}};Ke=xr([Ae(0x0,a[_0x714a18(0x5ce)](a[_0x714a18(0x2cb)])),Ae(0x1,a[_0x714a18(0x617)]),Ae(0x2,a['IPermissionService']),Ae(0x3,a[_0x714a18(0x5ce)](exports[_0x714a18(0x3c2)])),Ae(0x4,a[_0x714a18(0x5ce)](a[_0x714a18(0x565)]))],Ke);var jr=Object['defineProperty'],$r=Object['getOwnPropertyDescriptor'],Hr=(_0x37c477,_0x9e072b,_0x29fd34,_0x28ca08)=>{const _0xd554e6=_0x714a18;for(var _0x594e03=_0x28ca08>0x1?void 0x0:_0x28ca08?$r(_0x9e072b,_0x29fd34):_0x9e072b,_0x4c0076=_0x37c477[_0xd554e6(0x5a6)]-0x1,_0x1a607f;_0x4c0076>=0x0;_0x4c0076--)(_0x1a607f=_0x37c477[_0x4c0076])&&(_0x594e03=(_0x28ca08?_0x1a607f(_0x9e072b,_0x29fd34,_0x594e03):_0x1a607f(_0x594e03))||_0x594e03);return _0x28ca08&&_0x594e03&&jr(_0x9e072b,_0x29fd34,_0x594e03),_0x594e03;},zt=(_0x569f24,_0x523266)=>(_0x4fdd8f,_0xf988d4)=>_0x523266(_0x4fdd8f,_0xf988d4,_0x569f24);exports['SnapshotServerOverHTTPService']=class{constructor(_0x482e5c,_0x22cb0e){const _0x10041=_0x714a18;this['_configService']=_0x482e5c,this[_0x10041(0x4a7)]=_0x22cb0e;}async['getUnitOnRev'](_0x12a96a,_0x53f5d8){const _0x3f8f67=_0x714a18;var _0x314076;const {unitID:_0x16e4eb,type:_0x5b48b5,revision:_0x4589af=0x0}=_0x53f5d8,_0x5a03da=this[_0x3f8f67(0x621)]()+'/'+_0x5b48b5+'/unit/'+_0x16e4eb+_0x3f8f67(0x5df)+_0x4589af,_0x52597e=(await this[_0x3f8f67(0x4a7)]['get'](_0x5a03da))[_0x3f8f67(0x1ee)],_0x1b1ccf=(_0x314076=_0x52597e['snapshot'])==null?void 0x0:_0x314076[_0x3f8f67(0x2d7)];if(_0x1b1ccf){const _0x32ff05=_0x1b1ccf==null?void 0x0:_0x1b1ccf[_0x3f8f67(0x326)],_0x2af9d2=p[_0x3f8f67(0x2df)][_0x3f8f67(0x214)](p[_0x3f8f67(0x412)](_0x32ff05));_0x1b1ccf[_0x3f8f67(0x326)]=_0x2af9d2,Object['entries'](_0x1b1ccf[_0x3f8f67(0x31f)])[_0x3f8f67(0x39e)](([,_0x21603f])=>{const _0x29f55b=_0x3f8f67,_0x45fcb5=_0x21603f['originalMeta'],_0x2ccd25=p[_0x29f55b(0x2df)][_0x29f55b(0x214)](p['b64DecodeUnicode'](_0x45fcb5));_0x21603f[_0x29f55b(0x326)]=_0x2ccd25;});}return _0x52597e;}async[_0x714a18(0x395)](_0x390e23,_0x5a0601){const _0x50ef92=_0x714a18,{unitID:_0x5db6b2,type:_0x320efb,blockID:_0x18db3a}=_0x5a0601,_0x49fee6=this['_getAPIPrefix']()+'/'+_0x320efb+_0x50ef92(0x272)+_0x5db6b2+'/block/'+_0x18db3a;return(await this[_0x50ef92(0x4a7)][_0x50ef92(0x1bc)](_0x49fee6))[_0x50ef92(0x1ee)];}async[_0x714a18(0x511)](_0x785a9e,_0x3c7a6f){const _0x58224b=_0x714a18,{unitID:_0x8c9d95,type:_0x39eea4,blockID:_0x56dbe9}=_0x3c7a6f,_0x12388b=this['_getAPIPrefix']()+_0x58224b(0x537)+_0x39eea4+_0x58224b(0x272)+_0x8c9d95+_0x58224b(0x537)+_0x56dbe9;return(await this['_httpService'][_0x58224b(0x1bc)](_0x12388b))[_0x58224b(0x1ee)];}async[_0x714a18(0x5d1)](_0x3415a4,_0x3abc2c){const _0x4e0500=_0x714a18,{unitID:_0x35a1c5,type:_0x10ef4e,from:_0x2570e5,to:_0x51a5ee}=_0x3abc2c,_0x557f48=this[_0x4e0500(0x49c)]()+'/'+_0x10ef4e+_0x4e0500(0x272)+_0x35a1c5+_0x4e0500(0x333)+_0x2570e5+_0x4e0500(0x5fb)+_0x51a5ee;return(await this[_0x4e0500(0x4a7)][_0x4e0500(0x1bc)](_0x557f48))[_0x4e0500(0x1ee)];}['_getSnapshotAPIPrefix'](){const _0x1450f0=_0x714a18;var _0xa61a54;return(_0xa61a54=this[_0x1450f0(0x3dc)][_0x1450f0(0x49b)](Jt))!=null?_0xa61a54:this[_0x1450f0(0x49c)]();}[_0x714a18(0x49c)](){const _0x5e8554=_0x714a18;var _0x27214f,_0x15fb4c;const _0x4f678d=this[_0x5e8554(0x3dc)][_0x5e8554(0x49b)](Xt),_0x479356=this[_0x5e8554(0x3dc)][_0x5e8554(0x49b)](ee);return(_0x15fb4c=(_0x27214f=_0x479356==null?void 0x0:_0x479356[_0x5e8554(0x3a4)])!=null?_0x27214f:_0x4f678d)!=null?_0x15fb4c:$n;}async[_0x714a18(0x588)](_0x3c6440,_0x44bdaa){const _0x2f3829=_0x714a18,_0x1d5aed=_0x2f3829(0x3eb)+_0x44bdaa[_0x2f3829(0x283)]+_0x2f3829(0x272)+_0x44bdaa['unitID']+_0x2f3829(0x24c);return(await this[_0x2f3829(0x4a7)][_0x2f3829(0x1bc)](_0x1d5aed,{'params':{'resourceId':JSON['stringify'](_0x44bdaa[_0x2f3829(0x1eb)])}}))['body'];}[_0x714a18(0x518)](){const _0x5f1ab9=_0x714a18;throw new Error(_0x5f1ab9(0x4cf));}[_0x714a18(0x2ff)](){const _0x17bca9=_0x714a18;throw new Error(_0x17bca9(0x4cf));}[_0x714a18(0x52b)](){const _0x1f56ba=_0x714a18;throw new Error(_0x1f56ba(0x4cf));}['copyFileMeta'](){const _0x344480=_0x714a18;throw new Error(_0x344480(0x4cf));}[_0x714a18(0x44a)](){const _0x1e61e8=_0x714a18;throw new Error(_0x1e61e8(0x4cf));}},exports['SnapshotServerOverHTTPService']=Hr([zt(0x0,a[_0x714a18(0x292)]),zt(0x1,a[_0x714a18(0x5ce)](J['HTTPService']))],exports['SnapshotServerOverHTTPService']);function _0x206a(){const _0x59a58f=['bold\x2013px\x20Source\x20Han\x20Sans\x20CN','error$','MSG_FOR_ERROR','history','toDisposable','_clearUndo','TEXT','take','_color','transformByState','_startDocCollabCursor','CHANGESET_REJ','clamp','_timeoutTimer','registerRefRange','subscribe','_state$','transformIMECache','find','Subject','HTTPService','186mlhydw','memberID','_telemetryInfo','SheetsSelectionsService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','[CollaborationSessionService]:\x20socket\x20error','_onRemoteRetry','object','COMMENT_UPDATE','byteOffset','onTransformRemoteChangesetByStateCache','_state','onTransformSelections','bind','newCsEvent','USERS_LEAVE','_resendWithTimeout','updatePermissionPoint','_onRemoteRejected','getInterceptPoints','_telemetryService','disposeUnit','_textBubble','ranges','Fragment','HMAC','getConfig','_getAPIPrefix','INVALID_ARGUMENT','enc','requireSession','off-line-single','initWorkbookPermissionChange','text','_scheduleHeartbeat','isTransformMutationFailure','getItem','_data','_httpService','unknown','Module','_onCursorDelete','handleInsertCol','IBeforeCloseService','getUniverSheetInstance','bottom','_anchor','collab-rect-range-','currentColor','reduce','MessageType','urlChange$','_handleHeartbeatEvent','handleInsertRangeMoveRight','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_initStatusComponent','FAIL','LOGIN_URL_KEY','objectActions','_memberService','COMPRESS_MUTATION_SEND','iterations','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_univerInstanceService','all','RETRY_CONNECTING_MAX_COUNT','error','getMergeData','send','_handleHover','_localCacheService','Utf8','_startCollaboration','_getMergeRange','translate(.97)','auth.needGotoLoginAlert','visibilitychange','_transitionLocked','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_changesetSessionId','FETCH_MISS','_renderManagerService','1em','fromCharCode','_lockTransition','entries','loadDoc','setShapeProps','_undoStacks','href','join','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_unlockTransition','deserializeToCombResponse','univer-online-status','_createSocketURL','name','CommentService','Encryptor','addEventListener','_colorAssignService','awaitingChangeset','_getSignURL','image/gif','_docStateChangeManagerService','pauseCollaboration','DataLoaderController','_sender','tag','APPLY_REJECT','BlockCipher','_docSkeleton','isTransformChangesetsSuccess','objectType','_hideTimer','setItem','mergeOverrideWithDependencies','_initCloseConn','shareReplay','[UniverCollaborationClientPlugin]','_iKey','roles','generateRandomId','onPointerMove$','displayName','Decryptor','OpenSSL','conflict','collaboration-session-retry','red300','IPermissionService','Base64','[OfflineState]:\x20received\x20rejection.','getActiveSheet','Error\x20on\x20receiving\x20event','collabStatus.syncing','UnitEmbedded','_colorIndex','RETRY_CONNECTING_MAX_COUNT_KEY','_cursorInfo$','_initResize','toggleOnline','src','_getSaveTimeout','getDeserializedSheetBlock','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','url','column','userID','getCollabEntity$','ThresholdInterceptorFactory','saveSnapshot','VIEW_MAIN','mode','buffer','HEARTBEAT_TIMEOUT_KEY','COLLAB_SUBMIT_CHANGESET_URL','enableLocalCache','[PendingState]:\x20received\x20rejection.','_getSendChangesetTimeout','_onConnectionFailed','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CONFLICT','updatePermissionObjEvent','_refRangeService','Could\x20not\x20dynamically\x20require\x20\x22','[OfflineState]:\x20received\x20changeset.','offline','[SyncedState]:\x20received\x20acknowledgement.','_onUserJoin','saveChangeset','pipe','_beforeCloseService','_docTransformStateCacheService','Vector2','_sendHeartbeatTimer','range','_initMergeInterceptor','getSkeleton','_commentService','IUndoRedoService','_undoRedoService','/block/','session.collaboration-timeout','data','MUTATION','getRangePointData','LocalCacheService','ISnapshotServerService','Univer','subUnitId','_collabSessionService','fetch_missing','DisposableCollection','newValue','closePath','parseChangesetToProtocol','@univerjs/sheets-ui','getCollabCursors$','online','CHANGESET_SHOULD_RETRY','_getAPIPrefixPath','Shape','NO_OTHER_CLIENTS_EDITING','removeMember','_xformMode','padding','retryConnectingInterval','algo','onTransformRemoteChangesetByIMECache','none','_selfUnitIDs','InsertColCommandId','map','exports','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','parse','DEFAULT_FILE_NAME','assign','key','socket\x20open.','event$','getImageSourceCache','_clearOtherTimers','univer-online','_hash','post','LocaleService','cfg','sheetId','readAsDataURL','SUBMIT_CHANGESET','_disableEditing','DocStateChangeManagerService','_status$','Latin1','_onOffline','_process','stringify','getAllMembers','Workbook','createSocket','_revisionService','_onFetchMissResult','unitID','_queuedRemoteChangesets','authzUrl','[CollaborationState]:\x20apply\x20error!','_collaborationTimeoutTimer','_backgroundColor','delete','CollaborationEvent','5xUOswU','@univerjs-pro/collaboration','disposeWithMe','_name','getUndoRedoMutationParamsCache','APPLY_REVISION_CONFILICT','open$','message$','PasswordBasedCipher','x-univer-host','getResourcesRequest','_substituteUndoStack','_startTelemetryCollaborationNewChangeset','RevisionService','_scene','_assignedColors','isPermissionRej','_joinRoom','TEXT_RANGE_LAYER_INDEX','blockSize','getOffsetConfig','call','_shapes','decryptBlock','startColumn','_changesetReqId','change$','delay','drawWith','8lvDeoW','sid','awaiting_with_pending','session.connection-failed','react','session','[CollaborationSession]','wsSessionTicketUrl','useObservable','_scheduleTimestamp','_entityInit$','length','visibilityState','_onRecvEvent','push','Disposable','_getSessionTicket','fetchThroughInterceptors','close$','YUUMI_URL_COL_OUT_OF_RANGE','loadOfflineData','startTime','RECT','toggleOffline','throttleTime','application/json','_sessions','_send','makeDirty','useRef','toString','UserManagerService','collaboration_new_changeset','_handleJoinEvent','_updateURLWithCurrentState','_logService','ICollaborationSocketService','_change$','InsertRowCommandId','UNRECOGNIZED','_pendingMutations','top','next','ivSize','SheetCollaborationEntity','charAt','DocSkeletonManagerService','0\x200\x2016\x2016','_fetchMissChangesets','sheetID','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','Inject','YUUMI_RATE_OVER_LIMIT','HmacMD5','fetchMissingChangesets','_updateState','roomInfos','Hasher','_clearHeartbeatTimer','transformMutationsWithChangeset','getRelativeToViewportCoord','_disabled','roomMembers$','joinRsp','COLLAB_WEB_SOCKET_URL_KEY','collabStatus.notCollab','_draw','_onConnectionOpen','/rev/','getDocRanges','permission.title','height','_toggleOnline','[DataLoaderController]','_keyPriorReset','react.element','_render','shouldCloseConn','_id','colorChannel1','_injector','rng','_schedule','off-line-single_clip0_910_343','getTypeOfUnitDisposed$','collab-client.tooltip.reconnect','clearInterval','resend','setParam','contains','createDecryptor','LICENSE_DISTRO_REJECTED','Undefined','166453brScsw','registerHTTPInterceptor','incrementRevOfUnit','&to=','_getCurrentRevision','UnitSnapshot','IContextService','UNIVER_DOC','Optional','registerBeforeClose','SheetCollabCursorShape','number','_scheduleCollaborationTimeoutTimer','_oKey','MergeInterceptorFactory','csRejEvent','transformStack\x20failed!','DeleteRangeMoveUpCommandId','lineTo','UNKNOWN_CMD','6vdQWoN','extend','putCollaborators','_updateSubUnitFromURLParams','fromCollab','finalize','_uiPartsService','_waitCount','_resendTimeout','_instanceService','_onLocalMutation','IUniverInstanceService','enableOfflineEditing','_snapshotService','formatter','transformStateCache','signUrlServerUrl','NOT_FOUND','editingUnit','[CollaborationSessionService]','UNAUTHENTICATED','_getSnapshotAPIPrefix','PENDING','equals','_doCryptBlock','_handler','SHOULD_CLOSE_CONN','some','onMissingChangesets','getMember','compose','collaboration-client.config','createInstance','LIVESHARE_FETCH_OPERATIONS','_transformUndoRedoStack','stopTime','filter','switchMap','ws://127.0.0.1:8000/universer-api/comb/connect','_cursor','_executeRemoteChangeset','_scheduleSaving','_messageService','/collaborator','BehaviorSubject','for','Error','_initCommandExecutedListener','_type','UNIVER_PROJECT','awaiting','keySize','PERMISSION_REJ','getCurrentUser','_notificationService','toRgbString','onRemoteAck','WordArray','from','reqId','requestParams','compute','onlyLocal','now','Rect','enableSingleActiveInstanceLock','[FetchMissState]','_labelPosition','APPLY_DUPLICATED','onTransformIME','@univerjs/sheets','debug','endRow','UniverCollaborationClientPlugin','_submitChangeset','revision','cursorInfo$','SetDocZoomRatioOperation','execute','onMissedChangesetFetched','Tooltip','RefRangeService','_setupSubUnitSync','onlineStatusTitle','UniverNetworkPlugin','currentTheme$','attrs','_hover','findNodePositionByCharIndex','listCollaborators','@univerjs/core','WebURLService','/-/object/-/batch_allowed','dispose','image/jpg','debounce','_candidateSocket','3480777iTEXbX','UNIVER_COLLABORATION_CLIENT_PLUGIN','ThemeService','univer-pro.collaboration-client.single-active-unit-service','_stopTelemetryCollaborationNewChangeset','_onCursorUpdate','objects','on-line-single_clip0_910_349','onCommandExecuted','_unitID','_saveTaskMap','failed\x20to\x20apply\x20missed\x20changesets!','getImage','addObject','fetchMiss','_loadSheet','_collabCursorState$','getVpScrollXYInfoByPosToVp','hasher','format','_handleEvent','...','_initEventListeners','/object','byteLength','toLowerCase','get','_retryConnectingTimer','subunit','onRemoteChangeset','socket\x20close','COMPLETION_FINISHED','SYNCED','objectID','_drawTextRange','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','headers','BufferedBlockAlgorithm','ICommandService','#fff','onRemoteRej','ImageSourceType','_themeService','path','close','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_clearTimeoutTimer','roomMembers','defineProperty','interceptor','_getRedoStack','MoveRangeCommandId','whenReady','DOC_RANGE_TYPE','_key','font','location','ITransformService','PSEUDO_FETCH_MISSING_RESULT','_event$','_rescheduleHeartbeat','_transformRemoteChangesetByIMECache','icon','image/bmp','engine','getActiveRange','OTHER_CLIENTS_EDITING','_setupBeforeClosingHandler','getColor','onReady','confirm','_session','split','resourceIDs','_remoteChangesetQueue','CONNECTOR_DATA_TOO_LARGE','body','_startSheetCollabCursor','APPLY_PERMISSION_DENIED','MemberService','ImageUploadStatusType','_handleLeaveEvent','[OfflineState]:\x20received\x20acknowledgement.','onStarting','pluginName','_getAnchorBounding','_initStatusListener','unsubscribe','reset','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','collabStatus.conflict','default','children','1696348dHApgb','saveOfflineData','debounceTime','_cipher','NEW_CHANGESETS','ILogService','_checkMissing','_parse','_acknowledgedAwaitingChangeset','max','_updateCollabCursors','_transformSelections','_socketReady','USERS_ENTER','_cursors','runRefRangeMutations','function','[CollaborationEntity]','CHANGESET_ACK','JOINING','transformSelections','encode','updateOfflineData','_cursorShapes','_anchorDot','transformMutation','unitId','Warning','[SyncedState]:\x20received\x20rejection.','routeKey','has','resolve','_transformRemoteChangesetByStateCache','defIds','_imageSourceCache','_online','collabSubmitChangesetUrl','_onRemoteACK','_collabCursorController','size','startsWith','\x20in\x20_schedule.','/universer-api/snapshot','catch','_transformIMECache','_registerRenderDependencies','_eventUnsubscribe','COLLAB_WEB_SOCKET_URL','_config','createElement','LOCAL_CACHE_INTERVAL_KEY','SessionStatus','decrypt','restore','_hovered','@univerjs/drawing','RxDisposable','DocSelectionManagerService','ticket','useCallback','HELLO','asObservable','WebSocketService','getAncestorScale','IRemoteInstanceService','substr','EffectRefRangId','sessionStatus','flatMap','mixIn','COMPRESS_MUTATION_APPLY','defaultProps','onMouseMove','handleMoveRange','_invKeySchedule','@univerjs/telemetry','SNAPSHOT_SERVER_URL_KEY','/resources','cursorInfo','SEND_CHANGESET_TIMEOUT_KEY','_refreshCollabCursors','hostname','unshift','every','setAlpha','getOwnPropertyDescriptor','_clearScheduledTask','13RoTkDS','_registerDependencies','replace','APPLY_NON_SEQUENTIAL_REVISION','sendChangesetTimeout','_exhaustRemoteChangesetQueue','sessionStatus$','_onConflict','params','LICENSE_EXPORT_SIZE_EXCEEDED','Hex','black','DocCollaborationEntity','xlink:href','onload','SetWorksheetActivateCommand','_commandService','with','setInterval','status','_syncEditingCollabCursor','Unknown\x20user','_init','onCommentUpdate','getWorkbookSelections','show','_sessionStatus$','ciphertext','/unit/','Base','AWAITING','apply','image/jpeg','@univerjs/design','evenodd','color','_resendTimer','_createInitialStateImpl','then','_getLoginPath','POST','collaboration.closeRoom','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','c1Prime','csShouldRetryEvent','type','transform','_docSyncEditingCollabCursorService','EmptyMutation','reconnect','url(#$1','RemoveColCommandId','appendMutation','_transformPreviousActiveRange','_sendHeartbeat','onlineStatus','getFocusedUnit','CommandType','_getScale','commentUpdate$','IConfigService','RECV','DeleteRangeMoveLeftCommandId','_loadDoc','{fileID}','salt','eventID','_doFinalize','_minBufferSize','_socketMessageSubscription','_members','unit','_getDownloadEndpointURL','_context','liveShareNewHost','selections','DesktopCollaborationStatusDisplayController','_removeCollabCursors','_map','&source=','__creator','getSheetObject','_createSocket','isTransformMutationsWithChangesetSuccess','substring','_tryReconnect','touchDependencies','_localStorageService','jsxs','[CollaborationUndoRedoService]','append','UNIVER_UNKNOWN','Cipher','title','IImageIoService','save','mapDocumentTypeToUniverType','getUnhiddenWorksheets','_roomMembers$','CHANGESET_REVISION_CONFILICT','socket$','_getCtorByUniverType','ImageIoService','current','url(#off-line-single_clip0_910_343)','_updateLocalCache','collaMsg','hide','svg','includes','_docSkeletonManagerService','prototype','override','splice','duration','HEARTBEAT','VIEWPORT_KEY','Injector','_listenToOnlineEvent','abs','ColorKit','create','getMemberID','createIdentifier','UNIVER_SHEET','_iv','_retryCount','_hasher','getUnitStatus$','workbook','ReplaySubject','loginUrlKey','RegularPolygon','file','slice','_initDependencies','_socketService','textEncoder','getUnitId','mutations','_transformService','isEditing','\x0aAfter:\x20','_applyRemoteChangeset','getRoom','_singleActiveUnitService','listRoles','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','disableLocalCache','_incrementRevisionNumber','_createInitialState','_prevBlock','lib','_tryEnsureSocket','_saveCache','collabStatus.fetchMiss','EXCHANGE_SIGN_URL_SERVER_URL_KEY','EvpKDF','clone','className','removeParam','10119xwmviF','_docTransformIMECacheService','_unitOnClients','_heartbeatTimer','measureText','add','_initUnitPermissionChange','serializeRangeWithSheet','saveSheetBlock','INTERNAL_ERROR','_onJoinRoomEvent','IUIPartsService','SNAPSHOT_URL_KEY','encodeURIComponent','skeleton','_transformHistoryAndStateStack','_getUploadFileURL','put','PERMISSION_DENIED','setShowComponents','_append','allowed','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','indexOf','onRemoteRetry','UNDEFINED','blue400','crypto','onPointerEnter$','_HTTPService','_onUserLeave','_entities','_decreaseWaiting','c2Prime','COLLAB_SUBMIT_CHANGESET_URL_KEY','transformRemoteChangeset','CollaborationSession','UniverCollaborationPlugin','getCurrentSelections','_lastPointer','sheets','pending','_document','_socket','CollaborationSocketService','baseRev','HttpExport','originalMeta','JOIN','floor','createEncryptor','react.fragment','_nDataBytes','IMessageService','_toggleOffline','SerializableCipher','ONLINE','session.will-retry','closeSession','NoPadding','/fetchmissing?from=','symbol','@univerjs/docs','@univerjs/ui','collaboration.single-unit.warning','undoState','setTimeout','collabStatus.synced','/universer-api/stream/file/upload','min','\x20to\x20','exhaustSavingTask','JOIN_ROOM_NOT_ALLOWED','hovered','SnapshotServerOverHTTPService','#FFF','_waitForHeartbeatResponse','/universer-api/authz','concat','responseType','_redoStacks','collab-text-range-','permission.content','createCollaborator','getCoordByCell','getUnit','connection\x20error','_createHandler','textRanges','RemoveRowCommandId','CompressMutationService','update','DependentOn','JOIN_ROOM_FULL','_socket$','univer-online-status-title','charCodeAt','AuthzIoHttpService','submit\x20changeset\x20error!','fromEvent','transformChangesets','_initRequestHeader','TOO_MANY_REQUESTS','LIVESHARE_NEW_HOST','unit-cache-','collaboration-client.offline-data-not-saved','_drawRectRange','currentSkeleton$','origin','ENSURE_SNAPSHOT_EXECUTION','WorkbookEditablePermission','_replaceFileID','onSendChangeset','_clearCollaborationTimeoutTimer','pushState','getRenderById','idSuffix','words','CollaborationController','LocalUndoRedoService','getCurrent','searchParams','replaceDocRanges','_sendingTimer','useDependency','fill','_transformStateCache','_mode','NOT_COLLAB','getOwnPropertySymbols','_clearLocalCache','clipPath','INGEST','setCurrentUser','randomUUID','status$','addImageSourceCache','22UXTkYi','ERROR_IMAGE','IDLE','AES','SetSelectionsOperation','&assign=','connectInjector','UUID','univer-offline','_permissionService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_scheduleClearOtherTimer','5594676REefvg','redoState','HEARTBEAT_TIMEOUT','DocIMEInputManagerService','\x20-\x20','setWaitCount','Tools','ReactCurrentOwner','getCellPositionByOffset','getSheetBlock','rev','telemetry\x20info\x20is\x20not\x20initialized','_sheetSkeletonManagerService','saveImage','docStateChange$','SHA1','_clearRedo','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','forEach','ERROR_EXCEED_SIZE','_unitStatus','_nRounds','_transformUndoredo','_listenToOfflineEvent','snapshotServerUrl','randomBytes','repeat','_showConflictNotification','134532JSzlQg','__Key__','ref','UniverInstanceType','_compressMutationService','_removeRoom','assignAColorForMemberID','clearTimeout','_removeClearOtherTimer','transformUndoRedo','reverse','SNAPSHOT_INVALID_SNAPSHOT','_collaborationPaused','csAckEvent','_doReset','M0\x200H16V16H0z','liveShareOperation','collabStatus.offline','kdf','_getUndoStack','UPDATE_CURSOR','backgroundColor','_range','_cachedData','onPointerLeave$','getStateCache','CollaborationSessionService','propertyIsEnumerable','UNIVER_SLIDE','_onRemoteChangeset','OFFLINE','commentUpdateEvent','takeUntil','_awaitingChangeset','getCollabEntity','parseProtocolChangeset','save\x20fail\x20reason\x20is\x20','m2Prime','executeCommand','_ensureSubject','set','updateCursorEvent','encrypt','synced','@univerjs/rpc','getTypeOfUnitAdded$','sigBytes','collabCursorState$','deepClone','_createHmacHelper','method','UNKNOWN_CODE','_configService','combineLatest','onTransformState','hidden','_getSheetObject','code','msCrypto','isArray','_snapshotServerService','UPDATE_PERMISSION_OBJ','/universer-api/file/{fileID}/sign-url','_shouldReportTelemetry','defs','CollaborationStatus','merge','/universer-api/snapshot/','LIVESHARE_TERMINATE','ITelemetryService','CollaborationEntity','InsertRangeMoveDownCommandId','CipherParams','univer-pro.collaboration-client-socket-service','_docTransformSelectionsService','forwardRef','_roomMembers','handleDeleteRangeMoveLeft','moveTo','selection','getSheetBySheetId','_http','reject','_sheetTransformSelectionsService','result','sessionTicket','_onCombEvent','_isPermissionRej','setStateCache','leaveEvent','LICENSE_IMPORT_SIZE_EXCEEDED','SUCCUSS','_throwTelemetryCollaborationNewChangeset','_updateLocalCursor','1326670YxGmee','hasOwnProperty','IRenderManagerService','_ws','subscribeEvent','_collaborationSessionService','values','_userManagerService','div','getParam','arc','ALREADY_EXISTS','b64DecodeUnicode','init','complete','fetching\x20missing\x20changesets\x20from\x20','getValue','dispose$','BASE64','SnapshotService','onSyncEditingCollabCursor','verdancy600','use','JSONX','[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.','isActive','state','_syncEditingCollabCursorService','deserializeRangeWithSheet','SEND_CHANGESET_TIMEOUT','getSheetId','cmd','_reverseMap','_replayCachedMutations','handleIRemoveCol','random','_createHelper','IURLService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','UniverIcon','isInternalEditorID','COLORS','FileId','actions','serializeCombRequest','m1Prime','_substituteRedoStack','loadSheet','replaceState','Malformed\x20UTF-8\x20data','[PendingState]:\x20received\x20acknowledgement.','state$','round','_commentUpdate$','FETCH_MISSING','MD5','width','updateMember','focused$','getCurrentUnitForType','clear','SNAPSHOT_HAS_BEEN_REMOVED','_ENC_XFORM_MODE','getCurrentRevOfUnit','registerDependencies','getViewport','pad','ACTIVE_UNIT_EVENT_CHANNEL','getLatestCsReqIdBySid','_updateStatus','LIVESHARE_REQUEST_HOST','_urlService','@univerjs/engine-formula','/role','jsx','uploadFileServerUrl','LIVESHARE_OPERATION','$super','RichTextEditingMutation','SheetSkeletonManagerService','\x0aCurrent:\x20','collab-text-anchor-','doc.mutation.rich-text-editing','localeService','_transformStack','getRandomValues','_drawAnchor','getTime','ceil','FromArray','mapTo','string','gold400','isTransformMutationsWithChangesetFailure','ERROR_IMAGE_TYPE','_onMessage','LEAVE','_localeService','syncEditingCollabCursor','/allowed','socketService','/-/object/list'];_0x206a=function(){return _0x59a58f;};return _0x206a();}var kr=Object[_0x714a18(0x1d2)],Br=Object[_0x714a18(0x254)],Wr=(_0x1b8975,_0x23f8ac,_0x299b36,_0x436dab)=>{const _0x2a2760=_0x714a18;for(var _0x4f12df=_0x436dab>0x1?void 0x0:_0x436dab?Br(_0x23f8ac,_0x299b36):_0x23f8ac,_0x3a4eef=_0x1b8975[_0x2a2760(0x5a6)]-0x1,_0x49a565;_0x3a4eef>=0x0;_0x3a4eef--)(_0x49a565=_0x1b8975[_0x3a4eef])&&(_0x4f12df=(_0x436dab?_0x49a565(_0x23f8ac,_0x299b36,_0x4f12df):_0x49a565(_0x4f12df))||_0x4f12df);return _0x436dab&&_0x4f12df&&kr(_0x23f8ac,_0x299b36,_0x4f12df),_0x4f12df;},Ne=(_0x220629,_0x1efbf0)=>(_0x4995a8,_0x2944c5)=>_0x1efbf0(_0x4995a8,_0x2944c5,_0x220629);let gt=class extends a[_0x714a18(0x36e)]{constructor(_0x4920c6,_0x27a0ef,_0x466483,_0x130c08,_0x168b2b){const _0x95e8f1=_0x714a18;super(_0x4920c6,_0x27a0ef,_0x466483),this[_0x95e8f1(0x2e2)]=_0x130c08,this[_0x95e8f1(0x5be)]=_0x168b2b;}[_0x714a18(0x3b1)](_0x503743,_0x2254f4){const _0x573039=_0x714a18,_0x5ca548=this[_0x573039(0x3bb)](_0x503743);if(_0x5ca548)try{const _0x4d563a=this[_0x573039(0x45a)](_0x5ca548,_0x2254f4);this[_0x573039(0x589)](_0x503743,_0x4d563a);}catch(_0x248fa4){this[_0x573039(0x5be)]['error']('[CollaborationUndoRedoService]',_0x248fa4),this[_0x573039(0x471)](_0x503743);}const _0x2929fe=this['_getRedoStack'](_0x503743);if(_0x2929fe)try{const _0x3907f8=this[_0x573039(0x45a)](_0x2929fe,_0x2254f4);this['_substituteRedoStack'](_0x503743,_0x3907f8);}catch(_0x259752){this[_0x573039(0x5be)][_0x573039(0x4c3)](_0x259752),this[_0x573039(0x39c)](_0x503743);}}[_0x714a18(0x471)](_0x1326ed){const _0x41464a=_0x714a18,_0x36c6a8=this[_0x41464a(0x3bb)](_0x1326ed);_0x36c6a8&&(_0x36c6a8[_0x41464a(0x5a6)]=0x0,this[_0x41464a(0x44b)]());}[_0x714a18(0x39c)](_0x150ee3){const _0x4a93b0=_0x714a18,_0x209d9c=this[_0x4a93b0(0x1d4)](_0x150ee3);_0x209d9c&&(_0x209d9c[_0x4a93b0(0x5a6)]=0x0,this[_0x4a93b0(0x44b)]());}['_substituteUndoStack'](_0x165f91,_0x5e2191){const _0x1840dd=_0x714a18;this[_0x1840dd(0x4d9)][_0x1840dd(0x3d0)](_0x165f91,_0x5e2191),this[_0x1840dd(0x44b)]();}[_0x714a18(0x434)](_0x2c26c5,_0x55bb9f){const _0x5905ef=_0x714a18;this[_0x5905ef(0x347)]['set'](_0x2c26c5,_0x55bb9f),this[_0x5905ef(0x44b)]();}[_0x714a18(0x45a)](_0x110d94,_0xdae411){const _0x54240b=_0x714a18,_0xd2debf=[];let _0x51e627=_0xdae411,_0x350a7e=_0xdae411;for(let _0x1f9575=_0x110d94['length']-0x1;_0x1f9575>=0x0;_0x1f9575--){const {unitID:_0x169d64,undoMutations:_0x2fb480,redoMutations:_0x4a49aa}=_0x110d94[_0x1f9575],_0x3ca6b2=this[_0x54240b(0x2e2)]['transformMutationsWithChangeset'](_0x51e627,_0x2fb480),_0x34b981=this[_0x54240b(0x2e2)][_0x54240b(0x5d6)](_0x350a7e,_0x4a49aa);if(p['isTransformMutationsWithChangesetFailure'](_0x3ca6b2)||p[_0x54240b(0x463)](_0x34b981)){this[_0x54240b(0x5be)][_0x54240b(0x4c3)](_0x54240b(0x2af),_0x54240b(0x608),_0x3ca6b2,_0x34b981);break;}_0x51e627=_0x3ca6b2[_0x54240b(0x281)],_0x350a7e=_0x34b981[_0x54240b(0x281)],_0xd2debf[_0x54240b(0x5a9)]({'unitID':_0x169d64,'undoMutations':_0x3ca6b2[_0x54240b(0x3cd)],'redoMutations':_0x34b981['m2Prime']});}return _0xd2debf[_0x54240b(0x3b2)]();}};gt=Wr([Ne(0x0,a[_0x714a18(0x617)]),Ne(0x1,a[_0x714a18(0x1c8)]),Ne(0x2,a[_0x714a18(0x5fe)]),Ne(0x3,p[_0x714a18(0x1db)]),Ne(0x4,a[_0x714a18(0x204)])],gt);class Mn extends a[_0x714a18(0x237)]{constructor(){const _0x358413=_0x714a18;super(),I(this,_0x358413(0x4b4)),this[_0x358413(0x4b4)]=A['fromEvent'](window,'popstate')[_0x358413(0x52c)](A[_0x358413(0x3c8)](this['dispose$']),A[_0x358413(0x4f7)](0x1),A[_0x358413(0x460)](void 0x0));}[_0x714a18(0x5f3)](_0xde5bd1,_0x568e19,_0x426dbd=!0x1){const _0x107adf=_0x714a18,_0xeb2f14=new URL(window[_0x107adf(0x1da)]['href']);_0xeb2f14['searchParams'][_0x107adf(0x3d0)](_0xde5bd1,_0x568e19),_0x426dbd?window[_0x107adf(0x46f)]['replaceState']('','',_0xeb2f14[_0x107adf(0x5b9)]()):window[_0x107adf(0x46f)]['pushState']('','',_0xeb2f14[_0x107adf(0x5b9)]());}[_0x714a18(0x2f6)](_0x44e5b8,_0x185a12=!0x1){const _0x468531=_0x714a18,_0x51d4ec=new URL(window[_0x468531(0x1da)][_0x468531(0x4da)]);_0x51d4ec[_0x468531(0x370)][_0x468531(0x57c)](_0x44e5b8),_0x185a12?window[_0x468531(0x46f)][_0x468531(0x436)]('','',_0x51d4ec['toString']()):window[_0x468531(0x46f)][_0x468531(0x369)]('','',_0x51d4ec[_0x468531(0x5b9)]());}[_0x714a18(0x40f)](_0x35de96){const _0x44d9c8=_0x714a18;var _0x94de24;return(_0x94de24=new URL(window[_0x44d9c8(0x1da)][_0x44d9c8(0x4da)])[_0x44d9c8(0x370)]['get'](_0x35de96))!=null?_0x94de24:void 0x0;}}var An=Object[_0x714a18(0x1d2)],Fr=Object[_0x714a18(0x254)],Vr=(_0x3a0905,_0xf23f16,_0x1e3d82)=>_0xf23f16 in _0x3a0905?An(_0x3a0905,_0xf23f16,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e3d82}):_0x3a0905[_0xf23f16]=_0x1e3d82,Gr=(_0x220076,_0x533c65,_0xbbf73e,_0x466a7c)=>{for(var _0x3b0a00=_0x466a7c>0x1?void 0x0:_0x466a7c?Fr(_0x533c65,_0xbbf73e):_0x533c65,_0x492bf5=_0x220076['length']-0x1,_0x29d0c2;_0x492bf5>=0x0;_0x492bf5--)(_0x29d0c2=_0x220076[_0x492bf5])&&(_0x3b0a00=(_0x466a7c?_0x29d0c2(_0x533c65,_0xbbf73e,_0x3b0a00):_0x29d0c2(_0x3b0a00))||_0x3b0a00);return _0x466a7c&&_0x3b0a00&&An(_0x533c65,_0xbbf73e,_0x3b0a00),_0x3b0a00;},He=(_0x450faf,_0x49cd7b)=>(_0x549695,_0xa0d356)=>_0x49cd7b(_0x549695,_0xa0d356,_0x450faf),Yr=(_0x31b322,_0x4d3101,_0x5c5596)=>Vr(_0x31b322,_0x4d3101+'',_0x5c5596);const Kr=_0x714a18(0x1a3);exports[_0x714a18(0x18a)]=class extends a['Plugin']{constructor(_0x834d6a=zn,_0x527ce6,_0x4bdf0f,_0x370e32,_0x448e2c){const _0x213204=_0x714a18;super(),this[_0x213204(0x22f)]=_0x834d6a,this['_logService']=_0x527ce6,this[_0x213204(0x4d2)]=_0x4bdf0f,this[_0x213204(0x5eb)]=_0x370e32,this[_0x213204(0x3dc)]=_0x448e2c;const {..._0x23741f}=this[_0x213204(0x22f)];this[_0x213204(0x3dc)]['setConfig'](ee,_0x23741f);}[_0x714a18(0x1f5)](){const _0x377ae5=_0x714a18;this[_0x377ae5(0x257)](),this[_0x377ae5(0x2dd)]();}[_0x714a18(0x1e7)](){const _0x5ca496=_0x714a18;a[_0x5ca496(0x2ac)](this[_0x5ca496(0x5eb)],[[Ve]]);}['onRendered'](){const _0x267551=_0x714a18;this[_0x267551(0x22c)]();}[_0x714a18(0x257)](){const _0x5d5345=_0x714a18;var _0x435b85,_0x1b1237,_0x19b568,_0x15101d;this[_0x5d5345(0x5eb)][_0x5d5345(0x21d)](a['IUndoRedoService'])&&this['_logService'][_0x5d5345(0x4c3)](_0x5d5345(0x4f8),_0x5d5345(0x39d));const _0x26a3b4=[[a[_0x5d5345(0x535)],{'useClass':gt}],[exports[_0x5d5345(0x3c2)]],[yt],[Dt,{'useClass':Mn}],[exports[_0x5d5345(0x1f1)]],[exports['LocalCacheService']],[J[_0x5d5345(0x23d)]],[Be],[Fe],[ke],[We],[Tt],[Ge],[Ye],[bt],[Ke],[Et,{'useClass':(_0x1b1237=(_0x435b85=this['_config'])==null?void 0x0:_0x435b85[_0x5d5345(0x46a)])!=null?_0x1b1237:exports[_0x5d5345(0x323)]}],[p['ISnapshotServerService'],{'useClass':exports[_0x5d5345(0x341)]}],[a['IAuthzIoService'],{'useClass':exports[_0x5d5345(0x358)]}],[ne[_0x5d5345(0x2b4)],{'useClass':exports['ImageIoService']}],[exports[_0x5d5345(0x36d)]],[exports[_0x5d5345(0x4eb)]],[exports['DesktopCollaborationStatusDisplayController']],[Ve],[De]];(_0x19b568=this[_0x5d5345(0x22f)])!=null&&_0x19b568[_0x5d5345(0x182)]&&_0x26a3b4[_0x5d5345(0x5a9)]([qe,{'useClass':Oi}]),a[_0x5d5345(0x446)](this[_0x5d5345(0x5eb)],a[_0x5d5345(0x4f5)](_0x26a3b4,(_0x15101d=this['_config'])==null?void 0x0:_0x15101d[_0x5d5345(0x2c6)]));}[_0x714a18(0x22c)](){const _0xfa3bd2=_0x714a18;this[_0xfa3bd2(0x580)](this[_0xfa3bd2(0x4d2)]['registerRenderModule'](a[_0xfa3bd2(0x3ab)]['UNIVER_DOC'],[pt])),this[_0xfa3bd2(0x580)](this[_0xfa3bd2(0x4d2)]['registerRenderModule'](a['UniverInstanceType'][_0xfa3bd2(0x2d2)],[mt]));}[_0x714a18(0x2dd)](){const _0xa24192=_0x714a18;var _0x7a512b,_0x4fb0f1;this[_0xa24192(0x5eb)][_0xa24192(0x1bc)](J['HTTPService'])[_0xa24192(0x5f9)]({'priority':0x14,'interceptor':J[_0xa24192(0x517)]({'maxParallel':0x6})}),(_0x7a512b=this[_0xa24192(0x22f)])!=null&&_0x7a512b[_0xa24192(0x618)]||this[_0xa24192(0x5eb)][_0xa24192(0x1bc)](exports['LocalCacheService'])[_0xa24192(0x2ea)](),(_0x4fb0f1=this[_0xa24192(0x22f)])!=null&&_0x4fb0f1['enableAuthServer']&&a[_0xa24192(0x2ac)](this[_0xa24192(0x5eb)],[[Ge]]),a[_0xa24192(0x2ac)](this['_injector'],[[Ye],[De],[exports['DataLoaderController']],[exports[_0xa24192(0x36d)]],[exports[_0xa24192(0x2a2)]],[Ke]]);}},Yr(exports[_0x714a18(0x18a)],_0x714a18(0x1f6),Kr),exports[_0x714a18(0x18a)]=Gr([a[_0x714a18(0x353)](p[_0x714a18(0x31c)],J[_0x714a18(0x195)]),He(0x1,a[_0x714a18(0x204)]),He(0x2,K[_0x714a18(0x408)]),He(0x3,a[_0x714a18(0x5ce)](a['Injector'])),He(0x4,a[_0x714a18(0x292)])],exports['UniverCollaborationClientPlugin']),exports['AUTHZ_URL_KEY']=bn,exports[_0x714a18(0x319)]=sn,exports[_0x714a18(0x5db)]=Zt,exports[_0x714a18(0x3e9)]=q,exports['CollaborationStatusDisplay']=En,exports[_0x714a18(0x4e2)]=bt,exports['HEARTBEAT_INTERVAL_KEY']=Qt,exports[_0x714a18(0x51c)]=It,exports[_0x714a18(0x5bf)]=Et,exports[_0x714a18(0x42b)]=Dt,exports[_0x714a18(0x231)]=nn,exports[_0x714a18(0x4ba)]=rn,exports[_0x714a18(0x50b)]=tn,exports[_0x714a18(0x24e)]=Hn,exports[_0x714a18(0x24b)]=Xt,exports[_0x714a18(0x303)]=Jt,exports[_0x714a18(0x232)]=se,exports[_0x714a18(0x602)]=vn,exports[_0x714a18(0x19c)]=Mn,exports[_0x714a18(0x4de)]=cn,exports[_0x714a18(0x432)]=ln;
|
1
|
+
'use strict';const _0x5a89b4=_0x4da2;(function(_0x188036,_0x1ad21f){const _0x295a52=_0x4da2,_0x2715ac=_0x188036();while(!![]){try{const _0x462a0f=-parseInt(_0x295a52(0x37e))/0x1*(-parseInt(_0x295a52(0x549))/0x2)+parseInt(_0x295a52(0x231))/0x3*(parseInt(_0x295a52(0x2b5))/0x4)+-parseInt(_0x295a52(0x572))/0x5+parseInt(_0x295a52(0x428))/0x6*(parseInt(_0x295a52(0x56b))/0x7)+parseInt(_0x295a52(0x413))/0x8+parseInt(_0x295a52(0x2f0))/0x9+-parseInt(_0x295a52(0x28b))/0xa*(parseInt(_0x295a52(0x5db))/0xb);if(_0x462a0f===_0x1ad21f)break;else _0x2715ac['push'](_0x2715ac['shift']());}catch(_0x126442){_0x2715ac['push'](_0x2715ac['shift']());}}}(_0x295e,0xd4731));var Nn=Object['defineProperty'],Ln=(_0x18c176,_0x191a91,_0x4d2cf5)=>_0x191a91 in _0x18c176?Nn(_0x18c176,_0x191a91,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d2cf5}):_0x18c176[_0x191a91]=_0x4d2cf5,I=(_0x113e57,_0x159852,_0x45fbeb)=>Ln(_0x113e57,typeof _0x159852!=_0x5a89b4(0x485)?_0x159852+'':_0x159852,_0x45fbeb);Object[_0x5a89b4(0x5bf)](exports,Symbol[_0x5a89b4(0x1f0)],{'value':_0x5a89b4(0x3a0)});const a=require(_0x5a89b4(0x35d)),A=require(_0x5a89b4(0x5d1)),V=require('rxjs/operators'),Ie=require(_0x5a89b4(0x16a)),J=require('@univerjs/network'),te=require(_0x5a89b4(0x598)),p=require(_0x5a89b4(0x1e8)),xn=require('@univerjs/telemetry'),Z=require(_0x5a89b4(0x358)),B=require(_0x5a89b4(0x29e)),K=require(_0x5a89b4(0x172)),ye=require('@univerjs/docs'),ne=require(_0x5a89b4(0x193)),wt=require(_0x5a89b4(0x389)),Re=require(_0x5a89b4(0x429)),ae=require(_0x5a89b4(0x1d8)),jn=require(_0x5a89b4(0x2a8)),Xt=_0x5a89b4(0x347),$n=_0x5a89b4(0x3a5),Jt='SNAPSHOT_URL_KEY',Hn=_0x5a89b4(0x5f2),kn=0x7d0,Zt='COLLAB_WEB_SOCKET_URL',Bn=_0x5a89b4(0x17f),Wn=_0x5a89b4(0x254),Qt=_0x5a89b4(0x4f4),Fn=0x7530,It=_0x5a89b4(0x34a),en=0x4e20,Vn=0x4e20,tn=_0x5a89b4(0x510),Gn=0x3,nn=_0x5a89b4(0x28a),Yn=0x3e8,sn=_0x5a89b4(0x295),Kn='/universer-api/comb',rn='LOGIN_URL_KEY',qn=_0x5a89b4(0x532);var on=(_0x337a10=>(_0x337a10[_0x337a10['UNDEFINED']=0x0]=_0x5a89b4(0x436),_0x337a10[_0x337a10['OK']=0x1]='OK',_0x337a10[_0x337a10[_0x5a89b4(0x3e5)]=0x2]='INTERNAL_ERROR',_0x337a10[_0x337a10['PERMISSION_DENIED']=0x3]=_0x5a89b4(0x225),_0x337a10[_0x337a10['NOT_FOUND']=0x4]='NOT_FOUND',_0x337a10[_0x337a10['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x337a10[_0x337a10['ALREADY_EXISTS']=0x6]=_0x5a89b4(0x5b7),_0x337a10[_0x337a10[_0x5a89b4(0x38e)]=0x7]='INVALID_ARGUMENT',_0x337a10[_0x337a10[_0x5a89b4(0x2f7)]=0x8]=_0x5a89b4(0x2f7),_0x337a10[_0x337a10[_0x5a89b4(0x2c5)]=0x9]=_0x5a89b4(0x2c5),_0x337a10[_0x337a10[_0x5a89b4(0x232)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x337a10[_0x337a10[_0x5a89b4(0x426)]=0x1771]=_0x5a89b4(0x426),_0x337a10[_0x337a10[_0x5a89b4(0x33f)]=0x1772]=_0x5a89b4(0x33f),_0x337a10[_0x337a10[_0x5a89b4(0x41a)]=0x1773]=_0x5a89b4(0x41a),_0x337a10[_0x337a10[_0x5a89b4(0x355)]=0x1b59]=_0x5a89b4(0x355),_0x337a10[_0x337a10['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x337a10[_0x337a10['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x5a89b4(0x3d1),_0x337a10[_0x337a10[_0x5a89b4(0x3be)]=0x1b5c]=_0x5a89b4(0x3be),_0x337a10[_0x337a10[_0x5a89b4(0x55e)]=0x1b5d]=_0x5a89b4(0x55e),_0x337a10[_0x337a10[_0x5a89b4(0x4e8)]=0x1f41]=_0x5a89b4(0x4e8),_0x337a10[_0x337a10[_0x5a89b4(0x4ae)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x337a10[_0x337a10[_0x5a89b4(0x245)]=0x232a]=_0x5a89b4(0x245),_0x337a10[_0x337a10['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x5a89b4(0x541),_0x337a10[_0x337a10[_0x5a89b4(0x297)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x337a10[_0x337a10[_0x5a89b4(0x296)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x337a10[_0x337a10[_0x5a89b4(0x350)]=0x2711]=_0x5a89b4(0x350),_0x337a10[_0x337a10[_0x5a89b4(0x21e)]=0x2712]=_0x5a89b4(0x21e),_0x337a10[_0x337a10['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5a89b4(0x357),_0x337a10[_0x337a10['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x5a89b4(0x342),_0x337a10[_0x337a10[_0x5a89b4(0x157)]=-0x1]=_0x5a89b4(0x157),_0x337a10))(on||{}),ie=(_0x33cac1=>(_0x33cac1[_0x33cac1['UNIVER_UNKNOWN']=0x0]=_0x5a89b4(0x22e),_0x33cac1[_0x33cac1[_0x5a89b4(0x222)]=0x1]=_0x5a89b4(0x222),_0x33cac1[_0x33cac1[_0x5a89b4(0x479)]=0x2]=_0x5a89b4(0x479),_0x33cac1[_0x33cac1[_0x5a89b4(0x423)]=0x3]='UNIVER_SLIDE',_0x33cac1[_0x33cac1[_0x5a89b4(0x25c)]=0x4]=_0x5a89b4(0x25c),_0x33cac1[_0x33cac1[_0x5a89b4(0x157)]=-0x1]=_0x5a89b4(0x157),_0x33cac1))(ie||{}),G=(_0x2203f2=>(_0x2203f2[_0x2203f2[_0x5a89b4(0x516)]=0x0]=_0x5a89b4(0x516),_0x2203f2[_0x2203f2[_0x5a89b4(0x49a)]=0x1]=_0x5a89b4(0x49a),_0x2203f2[_0x2203f2[_0x5a89b4(0x5ef)]=0x2]=_0x5a89b4(0x5ef),_0x2203f2[_0x2203f2[_0x5a89b4(0x5a4)]=0x3]=_0x5a89b4(0x5a4),_0x2203f2[_0x2203f2['INGEST']=0x4]=_0x5a89b4(0x3a9),_0x2203f2[_0x2203f2[_0x5a89b4(0x49e)]=0x5]=_0x5a89b4(0x49e),_0x2203f2[_0x2203f2[_0x5a89b4(0x4ff)]=0x6]=_0x5a89b4(0x4ff),_0x2203f2[_0x2203f2[_0x5a89b4(0x157)]=-0x1]=_0x5a89b4(0x157),_0x2203f2))(G||{}),Ct=(_0x3ea373=>(_0x3ea373[_0x3ea373['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x3ea373[_0x3ea373['OK']=0x1]='OK',_0x3ea373[_0x3ea373['FAIL']=0x2]=_0x5a89b4(0x40d),_0x3ea373[_0x3ea373['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x3ea373[_0x3ea373['JOIN_ROOM_NOT_ALLOWED']=0x3ea]=_0x5a89b4(0x5d8),_0x3ea373[_0x3ea373[_0x5a89b4(0x157)]=-0x1]=_0x5a89b4(0x157),_0x3ea373))(Ct||{}),an=(_0x1312fa=>(_0x1312fa[_0x1312fa[_0x5a89b4(0x46e)]=0x0]=_0x5a89b4(0x46e),_0x1312fa[_0x1312fa[_0x5a89b4(0x551)]=0x1]=_0x5a89b4(0x551),_0x1312fa[_0x1312fa[_0x5a89b4(0x55f)]=0x2]=_0x5a89b4(0x55f),_0x1312fa[_0x1312fa[_0x5a89b4(0x521)]=0x3]=_0x5a89b4(0x521),_0x1312fa[_0x1312fa['UnitSnapshot']=0x4]=_0x5a89b4(0x27e),_0x1312fa[_0x1312fa[_0x5a89b4(0x157)]=-0x1]='UNRECOGNIZED',_0x1312fa))(an||{});const ee=_0x5a89b4(0x14e),zn={};function cn(_0x24a121){const _0x32bbdc=_0x5a89b4;var _0x2e0e25,_0x5cd6ba,_0x495eb8,_0x4fa2b5,_0x3b3517;const _0x2c0ed4=_0x24a121[_0x32bbdc(0x3e4)],_0x517bd6=JSON[_0x32bbdc(0x402)](_0x2c0ed4);switch(_0x517bd6['cmd']){case G[_0x32bbdc(0x49e)]:case G['HELLO']:{const _0x4a43c4=_0x517bd6[_0x32bbdc(0x595)];return{..._0x517bd6,'data':_0x4a43c4,'cmd':_0x517bd6[_0x32bbdc(0x30e)]};}case G['JOIN']:{const _0x24a564=_0x517bd6['joinRsp'];return{..._0x517bd6,'data':_0x24a564,'cmd':_0x517bd6[_0x32bbdc(0x30e)]};}case G['RECV']:{const _0x2a6de2=_0x517bd6['collaMsg'];switch(_0x2a6de2[_0x32bbdc(0x14f)]){case p[_0x32bbdc(0x44f)][_0x32bbdc(0x2e3)]:return{..._0x517bd6,'data':{..._0x2a6de2,'data':(_0x2e0e25=_0x2a6de2['permissionRejEvent'])==null?void 0x0:_0x2e0e25['cs']},'cmd':_0x517bd6['cmd']};case p['CollaborationEvent'][_0x32bbdc(0x45a)]:return{..._0x517bd6,'data':{..._0x2a6de2,'data':(_0x5cd6ba=_0x2a6de2[_0x32bbdc(0x58e)])==null?void 0x0:_0x5cd6ba['cs']},'cmd':_0x517bd6[_0x32bbdc(0x30e)]};case p[_0x32bbdc(0x44f)][_0x32bbdc(0x233)]:return{..._0x517bd6,'data':{..._0x2a6de2,'data':(_0x495eb8=_0x2a6de2['newCsEvent'])==null?void 0x0:_0x495eb8['cs']},'cmd':_0x517bd6[_0x32bbdc(0x30e)]};case p[_0x32bbdc(0x44f)]['CHANGESET_REJ']:return{..._0x517bd6,'data':{..._0x2a6de2,'data':(_0x4fa2b5=_0x2a6de2['csRejEvent'])==null?void 0x0:_0x4fa2b5['cs']},'cmd':_0x517bd6['cmd']};case p['CollaborationEvent'][_0x32bbdc(0x45b)]:return{..._0x517bd6,'data':{..._0x2a6de2,'data':(_0x3b3517=_0x2a6de2[_0x32bbdc(0x60d)])==null?void 0x0:_0x3b3517['cs']},'cmd':_0x517bd6[_0x32bbdc(0x30e)]};case p[_0x32bbdc(0x44f)][_0x32bbdc(0x2ae)]:return{..._0x517bd6,'data':{..._0x2a6de2,'data':_0x2a6de2[_0x32bbdc(0x497)]},'cmd':_0x517bd6[_0x32bbdc(0x30e)]};case p['CollaborationEvent']['USERS_ENTER']:return{..._0x517bd6,'data':{..._0x2a6de2,'data':_0x2a6de2['joinEvent']},'cmd':_0x517bd6[_0x32bbdc(0x30e)]};case p[_0x32bbdc(0x44f)]['USERS_LEAVE']:return{..._0x517bd6,'data':{..._0x2a6de2,'data':_0x2a6de2['leaveEvent']},'cmd':_0x517bd6['cmd']};case p['CollaborationEvent'][_0x32bbdc(0x3c8)]:return{..._0x517bd6,'data':{..._0x2a6de2,'data':_0x2a6de2[_0x32bbdc(0x50f)]},'cmd':_0x517bd6[_0x32bbdc(0x30e)]};case p[_0x32bbdc(0x44f)][_0x32bbdc(0x26f)]:case p[_0x32bbdc(0x44f)][_0x32bbdc(0x2bc)]:return{..._0x517bd6,'data':{..._0x2a6de2,'data':_0x2a6de2[_0x32bbdc(0x494)]},'cmd':_0x517bd6['cmd']};case p[_0x32bbdc(0x44f)]['LIVESHARE_TERMINATE']:return{..._0x517bd6,'data':{..._0x2a6de2,'data':_0x2a6de2['liveShareNewHost']},'cmd':_0x517bd6[_0x32bbdc(0x30e)]};case p[_0x32bbdc(0x44f)][_0x32bbdc(0x45c)]:return{..._0x517bd6,'data':_0x2a6de2,'cmd':_0x517bd6[_0x32bbdc(0x30e)]};case p['CollaborationEvent']['COMMENT_UPDATE']:return{..._0x517bd6,'data':{..._0x2a6de2,'data':_0x2a6de2[_0x32bbdc(0x5b4)]},'cmd':_0x517bd6[_0x32bbdc(0x30e)]};case p['CollaborationEvent'][_0x32bbdc(0x340)]:return{..._0x517bd6,'data':{..._0x2a6de2,'data':_0x2a6de2[_0x32bbdc(0x17e)]},'cmd':_0x517bd6[_0x32bbdc(0x30e)]};case p[_0x32bbdc(0x44f)]['SHOULD_CLOSE_CONN']:return{..._0x517bd6,'data':{..._0x2a6de2,'data':_0x2a6de2[_0x32bbdc(0x25e)]},'cmd':_0x517bd6['cmd']};default:return _0x517bd6;}}default:return _0x517bd6;}}function ln(_0x4d4692){const _0xb62eff=_0x5a89b4;switch(_0x4d4692[_0xb62eff(0x30e)]){case G[_0xb62eff(0x49e)]:case G[_0xb62eff(0x49a)]:return JSON[_0xb62eff(0x456)]({'cmd':_0x4d4692[_0xb62eff(0x30e)],'routeKey':_0x4d4692[_0xb62eff(0x39b)]});case G['INGEST']:{let _0x3ead9a;switch(_0x4d4692[_0xb62eff(0x3e4)][_0xb62eff(0x14f)]){case p['CollaborationEvent'][_0xb62eff(0x2ae)]:{_0x3ead9a={'eventID':p[_0xb62eff(0x44f)][_0xb62eff(0x2ae)],'updateCursorEvent':_0x4d4692[_0xb62eff(0x3e4)]['data']};break;}case p['CollaborationEvent'][_0xb62eff(0x4fa)]:{_0x3ead9a={'eventID':p['CollaborationEvent'][_0xb62eff(0x4fa)],'leaveEvent':_0x4d4692[_0xb62eff(0x3e4)][_0xb62eff(0x3e4)]};break;}case p[_0xb62eff(0x44f)][_0xb62eff(0x2a0)]:{_0x3ead9a={'eventID':p['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0x4d4692[_0xb62eff(0x3e4)]['data']};break;}case p[_0xb62eff(0x44f)][_0xb62eff(0x3c8)]:{_0x3ead9a={'eventID':p['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x4d4692['data']['data']};break;}case p['CollaborationEvent'][_0xb62eff(0x2bc)]:{_0x3ead9a={'eventID':p['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x4d4692[_0xb62eff(0x3e4)][_0xb62eff(0x3e4)]};break;}case p[_0xb62eff(0x44f)][_0xb62eff(0x3b0)]:{_0x3ead9a={'eventID':p['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x4d4692[_0xb62eff(0x3e4)][_0xb62eff(0x3e4)]};break;}case p['CollaborationEvent'][_0xb62eff(0x180)]:{_0x3ead9a={'eventID':p[_0xb62eff(0x44f)][_0xb62eff(0x180)],'liveShareRequestHost':_0x4d4692[_0xb62eff(0x3e4)][_0xb62eff(0x3e4)]};break;}case p[_0xb62eff(0x44f)][_0xb62eff(0x26f)]:{_0x3ead9a={'eventID':p[_0xb62eff(0x44f)][_0xb62eff(0x26f)]};break;}default:_0x3ead9a={'eventID':_0x4d4692[_0xb62eff(0x3e4)][_0xb62eff(0x14f)]};}return JSON[_0xb62eff(0x456)]({'cmd':_0x4d4692[_0xb62eff(0x30e)],'routeKey':_0x4d4692[_0xb62eff(0x39b)],'collaMsg':_0x3ead9a});}case G[_0xb62eff(0x5ef)]:return JSON[_0xb62eff(0x456)]({'cmd':_0x4d4692[_0xb62eff(0x30e)],'routeKey':_0x4d4692[_0xb62eff(0x39b)],'joinReq':_0x4d4692[_0xb62eff(0x3e4)]});case G[_0xb62eff(0x5a4)]:return JSON[_0xb62eff(0x456)]({'cmd':_0x4d4692[_0xb62eff(0x30e)],'routeKey':_0x4d4692[_0xb62eff(0x39b)],'leaveReq':_0x4d4692[_0xb62eff(0x3e4)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Xn=Object[_0x5a89b4(0x5bf)],Jn=Object[_0x5a89b4(0x227)],Zn=(_0x2e7775,_0x3c1031,_0x1f1d34,_0x3fbe1c)=>{const _0x3e7181=_0x5a89b4;for(var _0x520dc6=_0x3fbe1c>0x1?void 0x0:_0x3fbe1c?Jn(_0x3c1031,_0x1f1d34):_0x3c1031,_0x510e5e=_0x2e7775[_0x3e7181(0x554)]-0x1,_0x1fd848;_0x510e5e>=0x0;_0x510e5e--)(_0x1fd848=_0x2e7775[_0x510e5e])&&(_0x520dc6=(_0x3fbe1c?_0x1fd848(_0x3c1031,_0x1f1d34,_0x520dc6):_0x1fd848(_0x520dc6))||_0x520dc6);return _0x3fbe1c&&_0x520dc6&&Xn(_0x3c1031,_0x1f1d34,_0x520dc6),_0x520dc6;},we=(_0x5246df,_0x41c3cd)=>(_0x16a843,_0x5a485d)=>_0x41c3cd(_0x16a843,_0x5a485d,_0x5246df);const Et=a[_0x5a89b4(0x2c7)](_0x5a89b4(0x4c7));function Qn(_0x122fac,_0x208283,_0x4fdefd){return _0x122fac+'/'+_0x208283+'/unit/'+_0x4fdefd+'/new_changes';}exports[_0x5a89b4(0x48d)]=class extends a[_0x5a89b4(0x4c8)]{constructor(_0x38f095,_0x3f5e94,_0x36bb9d,_0x30d61d,_0x16489c){const _0x26c3bc=_0x5a89b4;super(),this[_0x26c3bc(0x1c4)]=_0x38f095,this[_0x26c3bc(0x4e4)]=_0x3f5e94,this[_0x26c3bc(0x162)]=_0x36bb9d,this['_logService']=_0x30d61d,this[_0x26c3bc(0x2c1)]=_0x16489c;}[_0x5a89b4(0x1f9)](_0x3521fb){const _0x2d2919=_0x5a89b4,_0x5c9d7e=this[_0x2d2919(0x4e4)][_0x2d2919(0x1f9)](_0x3521fb);if(!_0x5c9d7e)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x3b75ac=new a[(_0x2d2919(0x523))](),_0x405de1=new A[(_0x2d2919(0x5d2))]();_0x3b75ac['add'](_0x5c9d7e['close$'][_0x2d2919(0x3d8)](_0x1cadc9=>_0x405de1[_0x2d2919(0x52c)](_0x1cadc9))),_0x3b75ac[_0x2d2919(0x5ba)](a[_0x2d2919(0x502)](()=>_0x405de1['complete']()));const _0x2fa4f4=new A['Subject']();_0x3b75ac['add'](_0x5c9d7e[_0x2d2919(0x4cf)][_0x2d2919(0x3d8)](_0x4d4249=>_0x2fa4f4[_0x2d2919(0x52c)](_0x4d4249))),_0x3b75ac[_0x2d2919(0x5ba)](a[_0x2d2919(0x502)](()=>_0x2fa4f4['complete']()));const _0x1a41d3=new A[(_0x2d2919(0x5d2))]();_0x3b75ac[_0x2d2919(0x5ba)](_0x5c9d7e[_0x2d2919(0x1c2)][_0x2d2919(0x3d8)](_0x35e51a=>{const _0x4a28e7=cn(_0x35e51a);_0x1a41d3['next'](_0x4a28e7);})),_0x3b75ac[_0x2d2919(0x5ba)](a['toDisposable'](()=>_0x1a41d3[_0x2d2919(0x1b0)]()));let _0xbdbd6f;const _0x2593c1=()=>{const _0x25b71d=_0x2d2919;_0x2fa4f4['next'](new Event(_0x25b71d(0x439))),_0x405de1[_0x25b71d(0x52c)](new CloseEvent(_0x25b71d(0x439))),_0xbdbd6f[_0x25b71d(0x504)]();};return _0xbdbd6f={'memberID':'','close$':_0x405de1[_0x2d2919(0x159)](),'error$':_0x2fa4f4[_0x2d2919(0x159)](),'open$':_0x5c9d7e[_0x2d2919(0x4ba)],'message$':_0x1a41d3['asObservable'](),'send':_0x4304ed=>{const _0x429f98=_0x2d2919;if(_0x4304ed[_0x429f98(0x30e)]===G[_0x429f98(0x3a9)]){if(_0x4304ed[_0x429f98(0x3e4)][_0x429f98(0x14f)]===p[_0x429f98(0x44f)][_0x429f98(0x42d)]){this[_0x429f98(0x15c)](_0xbdbd6f,_0x4304ed['data'])[_0x429f98(0x526)](_0x3f6870=>{const _0x4f3b79=_0x429f98;this[_0x4f3b79(0x52a)]['error'](_0x3f6870),_0x2593c1();});return;}if(_0x4304ed[_0x429f98(0x3e4)][_0x429f98(0x14f)]===p[_0x429f98(0x44f)][_0x429f98(0x1bc)]){const _0x387243=_0x4304ed[_0x429f98(0x3e4)];this[_0x429f98(0x198)](_0x387243)['then'](_0x176e95=>{const _0x4574b4=_0x429f98;_0x1a41d3[_0x4574b4(0x52c)]({'cmd':G[_0x4574b4(0x4ff)],'code':Ct['OK'],'routeKey':_0x387243[_0x4574b4(0x3e4)]['unitID'],'routeType':'','data':{'eventID':p[_0x4574b4(0x44f)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x176e95}}});})[_0x429f98(0x526)](_0x100453=>{const _0x5de7f3=_0x429f98;this['_logService'][_0x5de7f3(0x395)](_0x100453),_0x2593c1();});return;}}_0x5c9d7e[_0x429f98(0x2c4)](ln(_0x4304ed));},'close':()=>{const _0x29306d=_0x2d2919;_0x5c9d7e[_0x29306d(0x504)](),_0x3b75ac[_0x29306d(0x1db)]();}},_0xbdbd6f;}async[_0x5a89b4(0x15c)](_0xc73f83,_0x179cd4){const _0x51ad17=_0x5a89b4;var _0x4ced09,_0x2063c6;const {unitType:_0x18d561,unitID:_0x116e3b,changeset:_0x5d4fbe}=_0x179cd4[_0x51ad17(0x3e4)],_0x4a5d89={'unitID':_0x116e3b,'memberID':_0xc73f83['memberID'],'type':_0x18d561,'changeset':p['parseChangesetToProtocol'](_0x5d4fbe)},_0x2e1270=this['_configService'][_0x51ad17(0x287)](sn),_0x3fc012=this[_0x51ad17(0x162)][_0x51ad17(0x287)](ee),_0x27c244=Qn((_0x2063c6=(_0x4ced09=_0x3fc012==null?void 0x0:_0x3fc012[_0x51ad17(0x4ea)])!=null?_0x4ced09:_0x2e1270)!=null?_0x2063c6:Kn,_0x18d561,_0x116e3b);try{await this[_0x51ad17(0x1c4)][_0x51ad17(0x38f)](_0x27c244,{'body':_0x4a5d89});}catch(_0x4e1811){throw this['_logService'][_0x51ad17(0x395)](_0x51ad17(0x19b),'submit\x20changeset\x20error!'),_0x4e1811;}}async[_0x5a89b4(0x198)](_0x480664){const _0x1ecdec=_0x5a89b4,{unitID:_0x9270e1,from:_0x3e3206,to:_0x53df64,unitType:_0x916a02}=_0x480664[_0x1ecdec(0x3e4)];return(await this['_snapshotServerService'][_0x1ecdec(0x237)]({'metadata':void 0x0},{'unitID':_0x9270e1,'type':_0x916a02,'from':_0x3e3206,'to':_0x53df64}))[_0x1ecdec(0x602)];}},exports[_0x5a89b4(0x48d)]=Zn([we(0x0,a[_0x5a89b4(0x3d5)](J[_0x5a89b4(0x294)])),we(0x1,a[_0x5a89b4(0x3d5)](J['WebSocketService'])),we(0x2,a[_0x5a89b4(0x569)]),we(0x3,a[_0x5a89b4(0x3dd)]),we(0x4,p[_0x5a89b4(0x3a2)])],exports[_0x5a89b4(0x48d)]);const ei=_0x5a89b4(0x2d3);function ti(_0x266f6b){const _0x49c2d5=_0x5a89b4;return JSON[_0x49c2d5(0x456)](_0x266f6b)[_0x49c2d5(0x554)];}class bt{constructor(){const _0x221b3a=_0x5a89b4;I(this,_0x221b3a(0x41f),new A[(_0x221b3a(0x5d2))]()),I(this,'commentUpdate$',this['_commentUpdate$']['asObservable']());}['onCommentUpdate'](_0x134be2){const _0x119c9d=_0x5a89b4;this[_0x119c9d(0x41f)][_0x119c9d(0x52c)](_0x134be2);}}var ni=Object['defineProperty'],ii=Object[_0x5a89b4(0x227)],si=(_0x2dc86d,_0x2dcb20,_0x437d4f,_0x1349f7)=>{const _0x514c1e=_0x5a89b4;for(var _0x3bac92=_0x1349f7>0x1?void 0x0:_0x1349f7?ii(_0x2dcb20,_0x437d4f):_0x2dcb20,_0x3f3e3f=_0x2dc86d[_0x514c1e(0x554)]-0x1,_0x3cb549;_0x3f3e3f>=0x0;_0x3f3e3f--)(_0x3cb549=_0x2dc86d[_0x3f3e3f])&&(_0x3bac92=(_0x1349f7?_0x3cb549(_0x2dcb20,_0x437d4f,_0x3bac92):_0x3cb549(_0x3bac92))||_0x3bac92);return _0x1349f7&&_0x3bac92&&ni(_0x2dcb20,_0x437d4f,_0x3bac92),_0x3bac92;},Pt=(_0x4c1ed5,_0x1bef85)=>(_0x1188cb,_0x12b07e)=>_0x1bef85(_0x1188cb,_0x12b07e,_0x4c1ed5);exports[_0x5a89b4(0x5ac)]=class extends a[_0x5a89b4(0x4c8)]{constructor(_0x33c2aa,_0x59125a){const _0x3fa588=_0x5a89b4;super(),I(this,_0x3fa588(0x4d7),new Map()),(this[_0x3fa588(0x4b5)]=_0x33c2aa,this[_0x3fa588(0x4f6)]=_0x59125a,this['disposeWithMe'](a[_0x3fa588(0x502)](A[_0x3fa588(0x209)](this['_univerInstanceService'][_0x3fa588(0x2fd)](a[_0x3fa588(0x1af)][_0x3fa588(0x479)])['pipe'](V['map'](_0x34fae0=>_0x34fae0[_0x3fa588(0x5df)]())),this[_0x3fa588(0x4b5)]['getTypeOfUnitDisposed$'](a[_0x3fa588(0x1af)]['UNIVER_DOC'])[_0x3fa588(0x564)](V[_0x3fa588(0x272)](_0x50acd6=>_0x50acd6[_0x3fa588(0x5df)]())),this[_0x3fa588(0x4b5)][_0x3fa588(0x2fd)](a[_0x3fa588(0x1af)][_0x3fa588(0x423)])[_0x3fa588(0x564)](V[_0x3fa588(0x272)](_0x140fb1=>_0x140fb1[_0x3fa588(0x5df)]())))[_0x3fa588(0x3d8)](_0x3962ac=>this[_0x3fa588(0x481)](_0x3962ac)))));}[_0x5a89b4(0x562)](_0x340ac9){const _0x52428f=_0x5a89b4;this[_0x52428f(0x4f6)][_0x52428f(0x562)](_0x340ac9);}['getCurrentUser'](){const _0x1e6310=_0x5a89b4;return this[_0x1e6310(0x4f6)][_0x1e6310(0x249)]();}[_0x5a89b4(0x3ed)](_0x2d3990,_0x35bfa7){const _0x39d71c=_0x5a89b4;let _0x288c32=this[_0x39d71c(0x4d7)]['get'](_0x2d3990);_0x288c32||(_0x288c32=new ri(),this[_0x39d71c(0x4d7)][_0x39d71c(0x352)](_0x2d3990,_0x288c32)),_0x288c32['updateMember'](_0x35bfa7);}[_0x5a89b4(0x5a5)](_0x71e68b,_0x22ee46){const _0x3c7f8a=_0x5a89b4,_0x36cb8e=this[_0x3c7f8a(0x4d7)][_0x3c7f8a(0x58d)](_0x71e68b);_0x36cb8e&&_0x36cb8e['removeMember'](_0x22ee46);}['getRoom'](_0x4ec665){const _0x3a5602=_0x5a89b4;return this[_0x3a5602(0x4d7)][_0x3a5602(0x58d)](_0x4ec665);}[_0x5a89b4(0x21b)](_0x9f3c77,_0x18a827){const _0x429fb0=_0x5a89b4,_0x1f6e20=this[_0x429fb0(0x4d7)]['get'](_0x9f3c77);if(_0x1f6e20)return _0x1f6e20['getMember'](_0x18a827);}[_0x5a89b4(0x481)](_0x338aaf){const _0x4ca577=_0x5a89b4,_0x1f5be8=this[_0x4ca577(0x4d7)][_0x4ca577(0x58d)](_0x338aaf);_0x1f5be8&&(_0x1f5be8[_0x4ca577(0x1db)](),this[_0x4ca577(0x4d7)][_0x4ca577(0x204)](_0x338aaf));}[_0x5a89b4(0x1db)](){const _0x48117b=_0x5a89b4;this[_0x48117b(0x4d7)][_0x48117b(0x3a4)](_0x35b041=>_0x35b041[_0x48117b(0x1db)]()),this['_roomMembers']['clear']();}},exports[_0x5a89b4(0x5ac)]=si([Pt(0x0,a[_0x5a89b4(0x21c)]),Pt(0x1,a[_0x5a89b4(0x3d5)](a[_0x5a89b4(0x54e)]))],exports[_0x5a89b4(0x5ac)]);class ri extends a[_0x5a89b4(0x4c8)]{constructor(){const _0xb3844d=_0x5a89b4;super(...arguments),I(this,_0xb3844d(0x414),new Map());}[_0x5a89b4(0x1db)](){const _0x336fe2=_0x5a89b4;this[_0x336fe2(0x414)][_0x336fe2(0x5d5)]();}[_0x5a89b4(0x3ed)](_0x3f548c){const _0x26074=_0x5a89b4;this[_0x26074(0x414)][_0x26074(0x352)](_0x3f548c[_0x26074(0x29c)],_0x3f548c);}['removeMember'](_0x51c1c6){const _0x46dbac=_0x5a89b4;this[_0x46dbac(0x414)]['delete'](_0x51c1c6);}['getMember'](_0x31c1d8){const _0x399fe3=_0x5a89b4;return this[_0x399fe3(0x414)][_0x399fe3(0x58d)](_0x31c1d8);}[_0x5a89b4(0x2ab)](){const _0x575375=_0x5a89b4;return Array[_0x575375(0x2fc)](this[_0x575375(0x414)]['values']());}}var oi=Object['defineProperty'],ai=Object[_0x5a89b4(0x227)],ci=(_0x350e6,_0x26f290,_0x9038fd,_0x139ab8)=>{const _0x59ed89=_0x5a89b4;for(var _0x246768=_0x139ab8>0x1?void 0x0:_0x139ab8?ai(_0x26f290,_0x9038fd):_0x26f290,_0x230703=_0x350e6[_0x59ed89(0x554)]-0x1,_0x4f08c8;_0x230703>=0x0;_0x230703--)(_0x4f08c8=_0x350e6[_0x230703])&&(_0x246768=(_0x139ab8?_0x4f08c8(_0x26f290,_0x9038fd,_0x246768):_0x4f08c8(_0x246768))||_0x246768);return _0x139ab8&&_0x246768&&oi(_0x26f290,_0x9038fd,_0x246768),_0x246768;},de=(_0x928ee6,_0x18c7e3)=>(_0x633ede,_0x1403e7)=>_0x18c7e3(_0x633ede,_0x1403e7,_0x928ee6),se=(_0x3e889c=>(_0x3e889c[_0x3e889c[_0x5a89b4(0x29b)]=0x0]='IDLE',_0x3e889c[_0x3e889c['JOINING']=0x1]=_0x5a89b4(0x266),_0x3e889c[_0x3e889c[_0x5a89b4(0x289)]=0x2]=_0x5a89b4(0x289),_0x3e889c[_0x3e889c[_0x5a89b4(0x609)]=0x3]=_0x5a89b4(0x609),_0x3e889c))(se||{});exports[_0x5a89b4(0x244)]=class extends a['RxDisposable']{constructor(_0x5bfff7,_0x3a7ade,_0x57f82d,_0x27d746,_0x310cb3,_0x2c0e55,_0x52afdc,_0x340a26,_0x5dff38,_0x15ecb6){const _0xb54bdb=_0x5a89b4;super(),I(this,_0xb54bdb(0x555),new A['BehaviorSubject'](0x0)),I(this,_0xb54bdb(0x5e0),this[_0xb54bdb(0x555)]['asObservable']()),I(this,_0xb54bdb(0x1b5),new A['Subject']()),I(this,_0xb54bdb(0x52f),this[_0xb54bdb(0x1b5)][_0xb54bdb(0x159)]()),I(this,_0xb54bdb(0x464)),I(this,_0xb54bdb(0x5cb)),I(this,'_collaborationTimeoutTimer'),I(this,_0xb54bdb(0x39f),!0x1),I(this,_0xb54bdb(0x58b),null),(this[_0xb54bdb(0x22f)]=_0x5bfff7,this[_0xb54bdb(0x52a)]=_0x57f82d,this[_0xb54bdb(0x404)]=_0x27d746,this['_messageService']=_0x310cb3,this[_0xb54bdb(0x162)]=_0x2c0e55,this[_0xb54bdb(0x37c)]=_0x52afdc,this[_0xb54bdb(0x47d)]=_0x340a26,this['_commentService']=_0x5dff38,this[_0xb54bdb(0x52b)]=_0x15ecb6,this['_shouldReportTelemetry']=!!this[_0xb54bdb(0x52b)],_0x3a7ade[_0xb54bdb(0x564)](A['takeUntil'](this['dispose$']))['subscribe'](_0xf1625c=>{const _0x3dd83c=_0xb54bdb;var _0x5ef42f;typeof _0xf1625c>'u'||(this['_socket']=_0xf1625c,_0xf1625c?(this[_0x3dd83c(0x472)](_0xf1625c),this[_0x3dd83c(0x5cb)]=_0xf1625c[_0x3dd83c(0x1c2)][_0x3dd83c(0x3d8)](_0x3e5c73=>{const _0x5ddebd=_0x3dd83c;_0x3e5c73[_0x5ddebd(0x39b)]===this[_0x5ddebd(0x22f)]&&this[_0x5ddebd(0x158)](_0x3e5c73);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x3dd83c(0x555)][_0x3dd83c(0x52c)](0x2),(_0x5ef42f=this[_0x3dd83c(0x5cb)])==null||_0x5ef42f[_0x3dd83c(0x2c2)](),this[_0x3dd83c(0x5cb)]=null));}),this['disposeWithMe'](this[_0xb54bdb(0x404)][_0xb54bdb(0x173)](()=>{const _0x41127a=_0xb54bdb;var _0x3dd318;(_0x3dd318=this[_0x41127a(0x464)])==null||_0x3dd318[_0x41127a(0x2c4)]({'cmd':G['LEAVE'],'data':{'roomID':this[_0x41127a(0x22f)]}});})));}get['sessionStatus'](){const _0x5d89e4=_0x5a89b4;return this[_0x5d89e4(0x555)][_0x5d89e4(0x5fb)]();}[_0x5a89b4(0x578)](){const _0x76336c=_0x5a89b4;var _0x3d7e2b,_0x551b7d;return(_0x551b7d=(_0x3d7e2b=this[_0x76336c(0x464)])==null?void 0x0:_0x3d7e2b[_0x76336c(0x29c)])!=null?_0x551b7d:null;}['dispose'](){const _0x13c2d2=_0x5a89b4;super['dispose'](),this[_0x13c2d2(0x256)][_0x13c2d2(0x52c)](),this['dispose$']['complete']();}['close'](){const _0x3d7b58=_0x5a89b4;var _0x4ac127,_0xbecc14;this[_0x3d7b58(0x4af)](),(_0x4ac127=this['_socket'])==null||_0x4ac127[_0x3d7b58(0x2c4)]({'cmd':G['LEAVE'],'data':{'roomID':this[_0x3d7b58(0x22f)]}}),(_0xbecc14=this[_0x3d7b58(0x464)])==null||_0xbecc14[_0x3d7b58(0x504)](),this[_0x3d7b58(0x1b5)]['complete'](),this[_0x3d7b58(0x555)][_0x3d7b58(0x1b0)](),this[_0x3d7b58(0x1db)]();}[_0x5a89b4(0x158)](_0x4ac294){const _0x30e8c1=_0x5a89b4;_0x4ac294[_0x30e8c1(0x30e)]===G[_0x30e8c1(0x5ef)]?this[_0x30e8c1(0x314)](_0x4ac294):_0x4ac294[_0x30e8c1(0x30e)]===G[_0x30e8c1(0x4ff)]&&this[_0x30e8c1(0x197)](_0x4ac294);}[_0x5a89b4(0x472)](_0x1651a7){const _0x697cd=_0x5a89b4;this[_0x697cd(0x555)][_0x697cd(0x52c)](0x1),_0x1651a7[_0x697cd(0x2c4)]({'cmd':G[_0x697cd(0x5ef)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x697cd(0x22f)]}]}});}['_onJoinRoomEvent'](_0x206091){const _0xf72101=_0x5a89b4;var _0x209eec;if(_0x206091[_0xf72101(0x323)]===Ct['FAIL']){this['_messageService'][_0xf72101(0x2ad)]({'type':Ie['MessageType'][_0xf72101(0x307)],'content':this[_0xf72101(0x37c)]['t']('session.room-full')}),this[_0xf72101(0x555)][_0xf72101(0x52c)](0x2);return;}this[_0xf72101(0x555)][_0xf72101(0x52c)](0x3);const _0x575a81=(_0x209eec=_0x206091[_0xf72101(0x3e4)]['roomInfos'][this[_0xf72101(0x22f)]])==null?void 0x0:_0x209eec[_0xf72101(0x509)];_0x575a81&&_0x575a81[_0xf72101(0x3a4)](_0x45a80f=>this[_0xf72101(0x47d)][_0xf72101(0x3ed)](this[_0xf72101(0x22f)],_0x45a80f));}[_0x5a89b4(0x197)](_0x3ca14b){const _0x97cfce=_0x5a89b4;try{const _0x456330=_0x3ca14b[_0x97cfce(0x3e4)];switch(_0x456330[_0x97cfce(0x14f)]){case p[_0x97cfce(0x44f)][_0x97cfce(0x2a0)]:this[_0x97cfce(0x291)](_0x456330),this[_0x97cfce(0x1b5)][_0x97cfce(0x52c)](_0x456330);break;case p[_0x97cfce(0x44f)][_0x97cfce(0x4fa)]:this[_0x97cfce(0x5ca)](_0x456330),this[_0x97cfce(0x1b5)][_0x97cfce(0x52c)](_0x456330);break;case p[_0x97cfce(0x44f)][_0x97cfce(0x45a)]:case p[_0x97cfce(0x44f)][_0x97cfce(0x45b)]:this[_0x97cfce(0x4d0)](),this[_0x97cfce(0x3e3)](),this['_event$']['next'](_0x456330);break;case p['CollaborationEvent'][_0x97cfce(0x45c)]:this[_0x97cfce(0x52a)][_0x97cfce(0x395)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x456330)),this[_0x97cfce(0x1b5)][_0x97cfce(0x52c)](_0x456330);break;case p['CollaborationEvent'][_0x97cfce(0x4f5)]:this[_0x97cfce(0x58a)][_0x97cfce(0x416)](_0x456330['data']),this['_event$'][_0x97cfce(0x52c)](_0x456330);break;default:this[_0x97cfce(0x1b5)][_0x97cfce(0x52c)](_0x456330);}}catch(_0x3b4b33){this[_0x97cfce(0x52a)][_0x97cfce(0x395)](_0x3b4b33,_0x3ca14b);}}[_0x5a89b4(0x291)](_0xeb087e){const _0xbac910=_0x5a89b4;this[_0xbac910(0x47d)][_0xbac910(0x3ed)](this[_0xbac910(0x22f)],_0xeb087e[_0xbac910(0x3e4)]);}[_0x5a89b4(0x5ca)](_0x272bd4){const _0x59f3fc=_0x5a89b4;this[_0x59f3fc(0x47d)][_0x59f3fc(0x5a5)](this[_0x59f3fc(0x22f)],_0x272bd4[_0x59f3fc(0x3e4)][_0x59f3fc(0x29c)]);}async['send'](_0x411f1f,_0x46c163){const _0x1d203c=_0x5a89b4;if(this[_0x1d203c(0x3cb)]!==0x3||!this[_0x1d203c(0x464)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x411f1f['eventID']===p['CollaborationEvent'][_0x1d203c(0x42d)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x411f1f)),this[_0x1d203c(0x464)]['send']({'cmd':G[_0x1d203c(0x3a9)],'routeKey':_0x46c163,'routeType':'','data':_0x411f1f});}catch(_0x541e6f){this[_0x1d203c(0x52a)][_0x1d203c(0x395)](_0x541e6f);}}[_0x5a89b4(0x191)](){const _0x51769d=_0x5a89b4;var _0xf1f20e;this['_collaborationTimeoutTimer']=window[_0x51769d(0x22a)](()=>{const _0x27f66e=_0x51769d;this[_0x27f66e(0x4c9)]=null,this[_0x27f66e(0x44a)][_0x27f66e(0x2ad)]({'type':Ie[_0x27f66e(0x1cd)][_0x27f66e(0x412)],'content':this[_0x27f66e(0x37c)]['t']('session.collaboration-timeout')});},(_0xf1f20e=this[_0x51769d(0x162)]['getConfig'](It))!=null?_0xf1f20e:en);}['_clearCollaborationTimeoutTimer'](){this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x5a89b4(0x442)](_0x1baad8){const _0x4f93e6=_0x5a89b4;if(!this[_0x4f93e6(0x39f)])return;const {data:_0x5a8f23}=_0x1baad8,{unitID:_0x386451,changeset:_0x29a95e}=_0x5a8f23,{mutations:_0x1dedfd,type:_0x4dc8fd}=_0x29a95e;this[_0x4f93e6(0x58b)]={'unitId':_0x386451,'type':_0x4dc8fd,'startTime':performance[_0x4f93e6(0x38a)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x1dedfd)};}[_0x5a89b4(0x4d0)](){const _0x4a73c9=_0x5a89b4;if(this[_0x4a73c9(0x39f)]){if(!this[_0x4a73c9(0x58b)]){this[_0x4a73c9(0x52a)][_0x4a73c9(0x395)](_0x4a73c9(0x19b),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x4a73c9(0x58b)][_0x4a73c9(0x4ee)]=performance[_0x4a73c9(0x38a)](),this['_telemetryInfo'][_0x4a73c9(0x18d)]=this[_0x4a73c9(0x58b)][_0x4a73c9(0x4ee)]-this[_0x4a73c9(0x58b)][_0x4a73c9(0x3e1)],this['_telemetryService'][_0x4a73c9(0x18a)](ei,this[_0x4a73c9(0x58b)]),this[_0x4a73c9(0x58b)]=null;}}[_0x5a89b4(0x4af)](){this['_telemetryInfo']=null;}},exports[_0x5a89b4(0x244)]=ci([de(0x2,a['ILogService']),de(0x3,te[_0x5a89b4(0x321)]),de(0x4,te[_0x5a89b4(0x38b)]),de(0x5,a[_0x5a89b4(0x569)]),de(0x6,a[_0x5a89b4(0x3d5)](a['LocaleService'])),de(0x7,a[_0x5a89b4(0x3d5)](exports[_0x5a89b4(0x5ac)])),de(0x8,a[_0x5a89b4(0x3d5)](bt)),de(0x9,a[_0x5a89b4(0x587)](xn[_0x5a89b4(0x280)]))],exports[_0x5a89b4(0x244)]);var li=Object['defineProperty'],hi=Object[_0x5a89b4(0x227)],_i=(_0x59ec47,_0xc857b3,_0x3fd175,_0x3f5298)=>{const _0x3e1100=_0x5a89b4;for(var _0x3681ca=_0x3f5298>0x1?void 0x0:_0x3f5298?hi(_0xc857b3,_0x3fd175):_0xc857b3,_0x10c094=_0x59ec47[_0x3e1100(0x554)]-0x1,_0x59be97;_0x10c094>=0x0;_0x10c094--)(_0x59be97=_0x59ec47[_0x10c094])&&(_0x3681ca=(_0x3f5298?_0x59be97(_0xc857b3,_0x3fd175,_0x3681ca):_0x59be97(_0x3681ca))||_0x3681ca);return _0x3f5298&&_0x3681ca&&li(_0xc857b3,_0x3fd175,_0x3681ca),_0x3681ca;},pe=(_0x5c7ecf,_0x2176ba)=>(_0x50b189,_0x1fbb4e)=>_0x2176ba(_0x50b189,_0x1fbb4e,_0x5c7ecf);exports[_0x5a89b4(0x19c)]=class extends a[_0x5a89b4(0x4c8)]{constructor(_0x4b49e6,_0x19a40c,_0x612c2e,_0x5a87b9,_0x93fb2e,_0x4843a7,_0x12f982){const _0x2d8da=_0x5a89b4;super(),I(this,'_socket$',new A[(_0x2d8da(0x4c2))](void 0x0)),I(this,'socket$',this['_socket$']['asObservable']()),I(this,_0x2d8da(0x5bc),null),I(this,_0x2d8da(0x380),new Map()),I(this,_0x2d8da(0x386),new A[(_0x2d8da(0x4c2))](se['IDLE'])),I(this,_0x2d8da(0x178),this[_0x2d8da(0x386)][_0x2d8da(0x159)]()),I(this,_0x2d8da(0x4ce),!0x1),I(this,_0x2d8da(0x3c2)),I(this,'_retryCount',0x0),I(this,_0x2d8da(0x520)),I(this,'_timeoutTimer'),(this['_injector']=_0x4b49e6,this[_0x2d8da(0x37c)]=_0x19a40c,this[_0x2d8da(0x44a)]=_0x612c2e,this['_logService']=_0x5a87b9,this[_0x2d8da(0x162)]=_0x93fb2e,this[_0x2d8da(0x33b)]=_0x4843a7,this[_0x2d8da(0x379)]=_0x12f982,this[_0x2d8da(0x55a)]());}get[_0x5a89b4(0x464)](){const _0x45a60b=_0x5a89b4;return this[_0x45a60b(0x23b)][_0x45a60b(0x5fb)]();}[_0x5a89b4(0x55a)](){const _0x30ca0d=_0x5a89b4;this[_0x30ca0d(0x1cb)](),this['_listenToOnlineEvent']();}[_0x5a89b4(0x1db)](){const _0xb170ef=_0x5a89b4;super['dispose'](),this[_0xb170ef(0x380)][_0xb170ef(0x3a4)](_0x132a55=>_0x132a55[_0xb170ef(0x1db)]()),this[_0xb170ef(0x380)]['clear'](),this[_0xb170ef(0x386)]['complete']();}async['requireSession'](_0x23ac6a){const _0x556054=_0x5a89b4;if(this[_0x556054(0x380)][_0x556054(0x4df)](_0x23ac6a))return this[_0x556054(0x380)]['get'](_0x23ac6a);this['_tryEnsureSocket']();const _0xc4db0b=this[_0x556054(0x274)][_0x556054(0x45d)](exports['CollaborationSession'],_0x23ac6a,this['_socket$'][_0x556054(0x159)]());return this[_0x556054(0x380)][_0x556054(0x352)](_0x23ac6a,_0xc4db0b),_0xc4db0b;}[_0x5a89b4(0x4f3)](_0x3c0132){const _0xeae53f=_0x5a89b4;var _0xb8b498;const _0x3f0e3d=this[_0xeae53f(0x380)][_0xeae53f(0x58d)](_0x3c0132);_0x3f0e3d&&(this[_0xeae53f(0x380)][_0xeae53f(0x204)](_0x3c0132),_0x3f0e3d[_0xeae53f(0x504)]()),this[_0xeae53f(0x380)]['size']||(_0xb8b498=this[_0xeae53f(0x464)])==null||_0xb8b498['close']();}[_0x5a89b4(0x604)](){const _0x29c688=_0x5a89b4;this['_retryCount']=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x29c688(0x3c2)]),this['_retryConnectingTimer']=null),this[_0x29c688(0x538)]();}async[_0x5a89b4(0x270)](){const _0x4be1d3=_0x5a89b4;var _0xa768e5,_0x198542,_0x429a61;const _0x1762d2=this[_0x4be1d3(0x162)][_0x4be1d3(0x287)](ee),_0x4ff2fe=(_0xa768e5=_0x1762d2==null?void 0x0:_0x1762d2['wsSessionTicketUrl'])!=null?_0xa768e5:Wn;return(_0x429a61=(_0x198542=(await this[_0x4be1d3(0x379)][_0x4be1d3(0x58d)](_0x4ff2fe,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x198542[_0x4be1d3(0x3a6)])!=null?_0x429a61:'';}[_0x5a89b4(0x15f)](_0x67815d){const _0x324808=_0x5a89b4;var _0x1851c8,_0x3fefe7;const _0x377f9b=this[_0x324808(0x162)]['getConfig'](Zt),_0x2bf187=this[_0x324808(0x162)][_0x324808(0x287)](ee),_0x2b70bf=(_0x3fefe7=(_0x1851c8=_0x2bf187==null?void 0x0:_0x2bf187[_0x324808(0x4b6)])!=null?_0x1851c8:_0x377f9b)!=null?_0x3fefe7:Bn,_0x5da9e5=new URL(_0x2b70bf,window[_0x324808(0x5e5)][_0x324808(0x32d)]);return _0x5da9e5[_0x324808(0x2fe)][_0x324808(0x352)]('sessionTicket',_0x67815d),_0x5da9e5[_0x324808(0x54b)]();}async['_createSocket'](){const _0x418ead=_0x5a89b4,_0x5944d5=await this[_0x418ead(0x270)](),_0x390bb0=this[_0x418ead(0x15f)](_0x5944d5),_0x4a9824=this['_socketService'][_0x418ead(0x1f9)](_0x390bb0);return this[_0x418ead(0x5bc)]=_0x4a9824,_0x4a9824;}async[_0x5a89b4(0x1ba)](){const _0xa7f37f=_0x5a89b4;var _0x44f3c6,_0x2fa52f;try{const _0x48bb66=(_0x2fa52f=(_0x44f3c6=this[_0xa7f37f(0x464)])!=null?_0x44f3c6:this['_candidateSocket'])!=null?_0x2fa52f:await this[_0xa7f37f(0x44c)]();if(_0x48bb66){const _0x23a766=_0x48bb66[_0xa7f37f(0x2c4)];_0x48bb66[_0xa7f37f(0x2c4)]=_0x2956a8=>(this['_rescheduleHeartbeat'](),_0x23a766[_0xa7f37f(0x2b9)](_0x48bb66,[_0x2956a8])),_0x48bb66[_0xa7f37f(0x1c2)]['subscribe'](_0x4eec0c=>this['_onMessage'](_0x48bb66,_0x4eec0c)),_0x48bb66[_0xa7f37f(0x4cf)]['pipe'](V[_0xa7f37f(0x3ef)](0x1))['subscribe'](_0xe880c2=>this[_0xa7f37f(0x52a)][_0xa7f37f(0x395)](_0xa7f37f(0x23d),_0xe880c2)),_0x48bb66['open$'][_0xa7f37f(0x564)](V[_0xa7f37f(0x3ef)](0x1))[_0xa7f37f(0x3d8)](()=>{this['_onConnectionOpen'](_0x48bb66);}),_0x48bb66[_0xa7f37f(0x183)][_0xa7f37f(0x564)](V['take'](0x1))[_0xa7f37f(0x3d8)](_0x1da840=>{const _0x55e2b0=_0xa7f37f;this[_0x55e2b0(0x52a)][_0x55e2b0(0x210)]('[CollaborationSessionService]',_0x55e2b0(0x492),_0x1da840),this['_onConnectionFailed']();});}}catch(_0xeaedb6){this[_0xa7f37f(0x52a)][_0xa7f37f(0x395)](_0xeaedb6),this['_onConnectionFailed']();}}[_0x5a89b4(0x326)](_0xd2a2f7){const _0x2f49d7=_0x5a89b4;this[_0x2f49d7(0x52a)][_0x2f49d7(0x210)](_0x2f49d7(0x4bf),'socket\x20open.'),_0xd2a2f7[_0x2f49d7(0x2c4)]({'cmd':G[_0x2f49d7(0x49a)]}),this[_0x2f49d7(0x2a7)]();}[_0x5a89b4(0x1cb)](){const _0x4acce5=_0x5a89b4;window[_0x4acce5(0x1b6)](_0x4acce5(0x5d9),()=>this['_onOffline']());}[_0x5a89b4(0x264)](){const _0x5a6bff=_0x5a89b4;this[_0x5a6bff(0x4ce)]=!0x1,this[_0x5a6bff(0x5bc)]=null,this[_0x5a6bff(0x386)][_0x5a6bff(0x52c)](se['OFFLINE']),this[_0x5a6bff(0x23b)]['next'](null),this[_0x5a6bff(0x3ee)](),this['_clearHeartbeatTimer']();}[_0x5a89b4(0x5f3)](){const _0x3e852b=_0x5a89b4;var _0x164a13;this[_0x3e852b(0x264)](),this[_0x3e852b(0x1e5)]<((_0x164a13=this[_0x3e852b(0x162)][_0x3e852b(0x287)](tn))!=null?_0x164a13:Gn)?(this[_0x3e852b(0x44a)][_0x3e852b(0x2ad)]({'key':_0x3e852b(0x1df),'type':Ie[_0x3e852b(0x1cd)][_0x3e852b(0x307)],'content':this['_localeService']['t'](_0x3e852b(0x2c6))}),this[_0x3e852b(0x538)]()):this[_0x3e852b(0x44a)][_0x3e852b(0x2ad)]({'key':_0x3e852b(0x1df),'type':Ie[_0x3e852b(0x1cd)][_0x3e852b(0x412)],'content':this['_localeService']['t'](_0x3e852b(0x2f8))});}['_listenToOnlineEvent'](){const _0x4845bb=_0x5a89b4,_0x1562f4=()=>{const _0x44f165=_0x4da2;this[_0x44f165(0x464)]||this['reconnect']();},_0x323985=()=>{const _0x3ea575=_0x4da2;this[_0x3ea575(0x464)]||document[_0x3ea575(0x43f)]===_0x3ea575(0x4b4)||this['reconnect']();};window[_0x4845bb(0x1b6)](_0x4845bb(0x5ed),_0x1562f4),document['addEventListener'](_0x4845bb(0x49f),_0x323985);}[_0x5a89b4(0x538)](){const _0x102f54=_0x5a89b4;var _0x357727;const _0x41e644=this['_retryCount'],_0x3a6f64=this[_0x102f54(0x162)][_0x102f54(0x287)](ee),_0x39e4a8=_0x41e644===0x0?0x0:((_0x357727=_0x3a6f64==null?void 0x0:_0x3a6f64['retryConnectingInterval'])!=null?_0x357727:Vn)*0x2**_0x41e644;this[_0x102f54(0x3c2)]=window[_0x102f54(0x22a)](()=>{const _0x5de5f8=_0x102f54;clearTimeout(this['_retryConnectingTimer']),this[_0x5de5f8(0x3c2)]=null,this['_tryEnsureSocket']();},_0x39e4a8),this[_0x102f54(0x1e5)]+=0x1;}['_onMessage'](_0x2910f2,_0x3f7ced){const _0x58015e=_0x5a89b4,{cmd:_0x76541a}=_0x3f7ced;_0x76541a===G['HELLO']&&!this[_0x58015e(0x4ce)]&&(_0x2910f2[_0x58015e(0x29c)]=_0x3f7ced[_0x58015e(0x3e4)][_0x58015e(0x29c)],this[_0x58015e(0x23b)][_0x58015e(0x52c)](_0x2910f2),this['_status$'][_0x58015e(0x52c)](se[_0x58015e(0x609)]),this[_0x58015e(0x4ce)]=!0x0,this[_0x58015e(0x5bc)]=null),_0x76541a===G[_0x58015e(0x49e)]&&this[_0x58015e(0x3ee)](),this[_0x58015e(0x2a7)]();}[_0x5a89b4(0x2a7)](){const _0x2610c3=_0x5a89b4;var _0x3b94da;this['_clearHeartbeatTimer'](),this[_0x2610c3(0x520)]=window['setTimeout'](()=>this[_0x2610c3(0x315)](),(_0x3b94da=this['_configService'][_0x2610c3(0x287)](Qt))!=null?_0x3b94da:Fn);}['_sendHeartbeat'](){const _0x550bd1=_0x5a89b4;this[_0x550bd1(0x464)][_0x550bd1(0x2c4)]({'cmd':G[_0x550bd1(0x49e)]}),this[_0x550bd1(0x5be)]();}[_0x5a89b4(0x5be)](){const _0x46f55c=_0x5a89b4;var _0x11010f;this[_0x46f55c(0x522)]=window['setTimeout'](()=>this[_0x46f55c(0x5f3)](),(_0x11010f=this[_0x46f55c(0x162)][_0x46f55c(0x287)](It))!=null?_0x11010f:en);}[_0x5a89b4(0x422)](){const _0x2f1ffa=_0x5a89b4;this[_0x2f1ffa(0x520)]!=null&&(clearTimeout(this[_0x2f1ffa(0x520)]),this[_0x2f1ffa(0x520)]=null);}['_clearTimeoutTimer'](){const _0x4c8e28=_0x5a89b4;this[_0x4c8e28(0x522)]!=null&&(clearTimeout(this[_0x4c8e28(0x522)]),this['_timeoutTimer']=null);}},exports[_0x5a89b4(0x19c)]=_i([pe(0x0,a[_0x5a89b4(0x3d5)](a[_0x5a89b4(0x217)])),pe(0x1,a['Inject'](a[_0x5a89b4(0x3a3)])),pe(0x2,te[_0x5a89b4(0x38b)]),pe(0x3,a['ILogService']),pe(0x4,a[_0x5a89b4(0x569)]),pe(0x5,Et),pe(0x6,a[_0x5a89b4(0x3d5)](J['HTTPService']))],exports['CollaborationSessionService']);const Y=[];for(let s=0x0;s<0x100;++s)Y[_0x5a89b4(0x1d0)]((s+0x100)[_0x5a89b4(0x54b)](0x10)['slice'](0x1));function ui(_0x534025,_0x295c28=0x0){const _0x214e38=_0x5a89b4;return(Y[_0x534025[_0x295c28+0x0]]+Y[_0x534025[_0x295c28+0x1]]+Y[_0x534025[_0x295c28+0x2]]+Y[_0x534025[_0x295c28+0x3]]+'-'+Y[_0x534025[_0x295c28+0x4]]+Y[_0x534025[_0x295c28+0x5]]+'-'+Y[_0x534025[_0x295c28+0x6]]+Y[_0x534025[_0x295c28+0x7]]+'-'+Y[_0x534025[_0x295c28+0x8]]+Y[_0x534025[_0x295c28+0x9]]+'-'+Y[_0x534025[_0x295c28+0xa]]+Y[_0x534025[_0x295c28+0xb]]+Y[_0x534025[_0x295c28+0xc]]+Y[_0x534025[_0x295c28+0xd]]+Y[_0x534025[_0x295c28+0xe]]+Y[_0x534025[_0x295c28+0xf]])[_0x214e38(0x2d0)]();}let Je;const di=new Uint8Array(0x10);function fi(){const _0x845f30=_0x5a89b4;if(!Je){if(typeof crypto>'u'||!crypto[_0x845f30(0x25b)])throw new Error(_0x845f30(0x588));Je=crypto[_0x845f30(0x25b)][_0x845f30(0x449)](crypto);}return Je(di);}const vi=typeof crypto<'u'&&crypto[_0x5a89b4(0x1a1)]&&crypto[_0x5a89b4(0x1a1)][_0x5a89b4(0x449)](crypto),Ut={'randomUUID':vi};function Si(_0x1b1821,_0x4f8510,_0x2eeb32){const _0x488e3e=_0x5a89b4;if(Ut[_0x488e3e(0x1a1)]&&!_0x4f8510&&!_0x1b1821)return Ut[_0x488e3e(0x1a1)]();_0x1b1821=_0x1b1821||{};const _0x3d6c5a=_0x1b1821['random']||(_0x1b1821[_0x488e3e(0x418)]||fi)();return _0x3d6c5a[0x6]=_0x3d6c5a[0x6]&0xf|0x40,_0x3d6c5a[0x8]=_0x3d6c5a[0x8]&0x3f|0x80,ui(_0x3d6c5a);}var pi=Object[_0x5a89b4(0x5bf)],mi=Object['getOwnPropertyDescriptor'],gi=(_0x2d4ac4,_0x486d55,_0x4cf4e9,_0x499faa)=>{for(var _0x1d8fc8=_0x499faa>0x1?void 0x0:_0x499faa?mi(_0x486d55,_0x4cf4e9):_0x486d55,_0x357133=_0x2d4ac4['length']-0x1,_0x51f893;_0x357133>=0x0;_0x357133--)(_0x51f893=_0x2d4ac4[_0x357133])&&(_0x1d8fc8=(_0x499faa?_0x51f893(_0x486d55,_0x4cf4e9,_0x1d8fc8):_0x51f893(_0x1d8fc8))||_0x1d8fc8);return _0x499faa&&_0x1d8fc8&&pi(_0x486d55,_0x4cf4e9,_0x1d8fc8),_0x1d8fc8;},Ze=(_0x3285ff,_0x57730a)=>(_0xa9c780,_0x378d2d)=>_0x57730a(_0xa9c780,_0x378d2d,_0x3285ff);let ke=class{constructor(_0x155886,_0x4626ed,_0x9b4a09){const _0x2582f1=_0x5a89b4;this['_injector']=_0x155886,this['_transformService']=_0x4626ed,this[_0x2582f1(0x4eb)]=_0x9b4a09;}[_0x5a89b4(0x4ca)](_0x13e7ab){const _0x274397=_0x5a89b4;this[_0x274397(0x305)](_0x13e7ab),this[_0x274397(0x585)](_0x13e7ab);}[_0x5a89b4(0x30b)](_0x45ad98){const _0x3e59ce=_0x5a89b4,{unitID:_0x56477f}=_0x45ad98,_0xffaa30=this[_0x3e59ce(0x4eb)][_0x3e59ce(0x59a)](_0x56477f)[_0x3e59ce(0x4c0)](Z[_0x3e59ce(0x375)]),{redoCache:_0xe5b5f8}=_0xffaa30[_0x3e59ce(0x3c3)]();if(_0xe5b5f8['length']===0x0)return _0x45ad98;let _0x546870=a[_0x3e59ce(0x444)][_0x3e59ce(0x1c6)](_0x45ad98[_0x3e59ce(0x48a)][0x0]);for(let _0x5dfae9=0x0;_0x5dfae9<_0xe5b5f8[_0x3e59ce(0x554)];_0x5dfae9++){const _0x503f7d={'id':'doc.mutation.rich-text-editing','params':{..._0xe5b5f8[_0x5dfae9]}},_0x55482d=this['_transformService'][_0x3e59ce(0x5a8)](_0x546870,_0x503f7d,!0x1);if(p[_0x3e59ce(0x544)](_0x55482d))throw _0x55482d[_0x3e59ce(0x395)];_0x546870=_0x55482d[_0x3e59ce(0x5ff)];}return{...a['Tools']['deepClone'](_0x45ad98),'mutations':[_0x546870]};}[_0x5a89b4(0x305)](_0x569bc1){const _0x5b55fa=_0x5a89b4,{unitID:_0x135c99}=_0x569bc1,_0x3e135c=this[_0x5b55fa(0x4eb)][_0x5b55fa(0x59a)](_0x135c99)[_0x5b55fa(0x4c0)](Z[_0x5b55fa(0x375)]),{undoCache:_0x3d9537,redoCache:_0x192cf4}=_0x3e135c['getUndoRedoMutationParamsCache']();if(_0x3d9537[_0x5b55fa(0x554)]===0x0||_0x192cf4[_0x5b55fa(0x554)]===0x0)return;const _0x3a7232=[],_0x550918=[];let _0x4daf66=a[_0x5b55fa(0x444)]['deepClone'](_0x569bc1[_0x5b55fa(0x48a)][0x0]),_0x392770=a[_0x5b55fa(0x444)][_0x5b55fa(0x1c6)](_0x569bc1['mutations'][0x0]);for(let _0x4618ff=_0x3d9537[_0x5b55fa(0x554)]-0x1;_0x4618ff>=0x0;_0x4618ff--){const _0x1320f6={'id':_0x5b55fa(0x57b),'params':{..._0x3d9537[_0x4618ff]}},_0x53615a={'id':_0x5b55fa(0x57b),'params':{..._0x192cf4[_0x4618ff]}},_0x317349=this[_0x5b55fa(0x18f)][_0x5b55fa(0x5a8)](_0x4daf66,_0x1320f6,!0x1),_0x413d2f=this['_transformService'][_0x5b55fa(0x5a8)](_0x392770,_0x53615a,!0x1);if(p[_0x5b55fa(0x544)](_0x317349))throw _0x317349[_0x5b55fa(0x395)];if(p[_0x5b55fa(0x544)](_0x413d2f))throw _0x413d2f[_0x5b55fa(0x395)];_0x3a7232[_0x5b55fa(0x371)](_0x317349[_0x5b55fa(0x330)][_0x5b55fa(0x4a4)]),_0x550918[_0x5b55fa(0x371)](_0x413d2f[_0x5b55fa(0x330)]['params']),_0x4daf66=_0x317349[_0x5b55fa(0x5ff)],_0x392770=_0x413d2f[_0x5b55fa(0x5ff)];}_0x3e135c['setUndoRedoMutationParamsCache']({'undoCache':_0x3a7232,'redoCache':_0x550918});}[_0x5a89b4(0x585)](_0x2c2566){const _0x3e71df=_0x5a89b4,{unitID:_0xf4c806}=_0x2c2566,_0x1f0493=this['_renderManagerService'][_0x3e71df(0x59a)](_0xf4c806)[_0x3e71df(0x4c0)](Z[_0x3e71df(0x375)]),_0x3bbd8a=_0x1f0493['getActiveRange']();if(_0x3bbd8a==null)return;const _0x3bf323=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2c2566['unitID'],'actions':null,'textRanges':[_0x3bbd8a]}}],_0x423fab=this[_0x3e71df(0x18f)]['transformMutationsWithChangeset'](_0x2c2566,_0x3bf323);if(!p['isTransformMutationsWithChangesetSuccess'](_0x423fab))throw _0x423fab[_0x3e71df(0x395)];const _0x1509b8=_0x423fab[_0x3e71df(0x330)][0x0]['params'][_0x3e71df(0x586)];Array[_0x3e71df(0x1aa)](_0x1509b8)&&_0x1509b8[_0x3e71df(0x554)]&&_0x1f0493[_0x3e71df(0x203)](_0x1509b8[0x0]);}};ke=gi([Ze(0x0,a[_0x5a89b4(0x3d5)](a['Injector'])),Ze(0x1,p[_0x5a89b4(0x3f4)]),Ze(0x2,K[_0x5a89b4(0x18b)])],ke);var Ii=Object[_0x5a89b4(0x5bf)],Ci=Object[_0x5a89b4(0x227)],Ei=(_0x3b84ab,_0x91c2b5,_0x3d0dd1,_0x49b495)=>{const _0x99fecb=_0x5a89b4;for(var _0x1df4f9=_0x49b495>0x1?void 0x0:_0x49b495?Ci(_0x91c2b5,_0x3d0dd1):_0x91c2b5,_0x1eefe1=_0x3b84ab[_0x99fecb(0x554)]-0x1,_0x3c8158;_0x1eefe1>=0x0;_0x1eefe1--)(_0x3c8158=_0x3b84ab[_0x1eefe1])&&(_0x1df4f9=(_0x49b495?_0x3c8158(_0x91c2b5,_0x3d0dd1,_0x1df4f9):_0x3c8158(_0x1df4f9))||_0x1df4f9);return _0x49b495&&_0x1df4f9&&Ii(_0x91c2b5,_0x3d0dd1,_0x1df4f9),_0x1df4f9;},Pe=(_0x201f12,_0x2e9c90)=>(_0x4e138d,_0x2e1d2a)=>_0x2e9c90(_0x4e138d,_0x2e1d2a,_0x201f12);exports['LocalCacheService']=class extends a[_0x5a89b4(0x4c8)]{constructor(_0x37f6db,_0x1c6327,_0x220ece,_0x590657,_0x1ae4cd){const _0x85e63d=_0x5a89b4;super(),I(this,_0x85e63d(0x324),new Map()),I(this,_0x85e63d(0x573),new Map()),I(this,_0x85e63d(0x3ac),!0x1),(this[_0x85e63d(0x162)]=_0x37f6db,this['_localStorageService']=_0x1c6327,this[_0x85e63d(0x404)]=_0x220ece,this[_0x85e63d(0x37c)]=_0x590657,this['_revisionService']=_0x1ae4cd,this[_0x85e63d(0x3ab)]());}[_0x5a89b4(0x218)](){const _0x1bfd93=_0x5a89b4;this[_0x1bfd93(0x3ac)]=!0x0;}[_0x5a89b4(0x2b0)](){this['_disabled']=!0x1;}[_0x5a89b4(0x1db)](){const _0x4d6903=_0x5a89b4;this['exhaustSavingTask']()[_0x4d6903(0x1c3)](()=>super[_0x4d6903(0x1db)]());}async[_0x5a89b4(0x452)](_0x5db3d0){const _0x1efadf=_0x5a89b4;return this[_0x1efadf(0x3ac)]?null:this['_localStorageService']['getItem'](Mt(_0x5db3d0));}async[_0x5a89b4(0x41b)](_0x110063,_0x214162){const _0x2e37e6=_0x5a89b4;return!!this[_0x2e37e6(0x351)][_0x2e37e6(0x465)](_0x110063,_0x214162);}[_0x5a89b4(0x261)](_0x37da5c,_0xa67b34,_0x51a857,_0x56b022){const _0xf3f0c0=_0x5a89b4,_0x56edb=this[_0xf3f0c0(0x3f8)][_0xf3f0c0(0x1d1)](_0x37da5c);this[_0xf3f0c0(0x324)][_0xf3f0c0(0x352)](_0x37da5c,{'unitID':_0x37da5c,'type':_0xa67b34,'awaitingChangeset':_0x51a857,'mutations':_0x56b022,'rev':_0x56edb}),this[_0xf3f0c0(0x573)][_0xf3f0c0(0x4df)](_0x37da5c)||this['_scheduleSaving'](_0x37da5c);}[_0x5a89b4(0x1c1)](_0x26a659){const _0x565f1f=_0x5a89b4,_0x29bccd=this[_0x565f1f(0x24e)]();_0x29bccd===0x0?this[_0x565f1f(0x16d)](_0x26a659):this[_0x565f1f(0x573)][_0x565f1f(0x352)](_0x26a659,setTimeout(()=>this[_0x565f1f(0x16d)](_0x26a659),_0x29bccd));}[_0x5a89b4(0x24e)](){const _0x1e717d=_0x5a89b4;var _0x57d579;return(_0x57d579=this['_configService'][_0x1e717d(0x287)](nn))!=null?_0x57d579:Yn;}['_saveCache'](_0xbcdf0f){const _0xe0eebe=_0x5a89b4,_0x4c73c6=this['_saveTaskMap'][_0xe0eebe(0x58d)](_0xbcdf0f);return _0x4c73c6!==void 0x0&&window[_0xe0eebe(0x3fb)](_0x4c73c6),this[_0xe0eebe(0x351)][_0xe0eebe(0x465)](Mt(_0xbcdf0f),this[_0xe0eebe(0x324)][_0xe0eebe(0x58d)](_0xbcdf0f))[_0xe0eebe(0x1c3)](()=>this['_saveTaskMap'][_0xe0eebe(0x204)](_0xbcdf0f));}async[_0x5a89b4(0x276)](){const _0x5f3da5=_0x5a89b4,_0x3bf972=[];this[_0x5f3da5(0x573)][_0x5f3da5(0x3a4)]((_0x1ac5fd,_0x3f90e7)=>{const _0x25234e=_0x5f3da5;window['clearTimeout'](_0x1ac5fd),_0x3bf972[_0x25234e(0x1d0)](this[_0x25234e(0x16d)](_0x3f90e7)[_0x25234e(0x1c3)](()=>{const _0x3eceb2=_0x25234e;this[_0x3eceb2(0x573)][_0x3eceb2(0x204)](_0x3f90e7);}));}),await Promise[_0x5f3da5(0x4b8)](_0x3bf972);}['_setupBeforeClosingHandler'](){const _0x121bd=_0x5a89b4;this[_0x121bd(0x15e)](this[_0x121bd(0x404)][_0x121bd(0x215)](()=>{const _0x548624=_0x121bd;if(this[_0x548624(0x573)][_0x548624(0x189)])return this[_0x548624(0x37c)]['t'](_0x548624(0x1e6));}));}},exports['LocalCacheService']=Ei([Pe(0x0,a[_0x5a89b4(0x569)]),Pe(0x1,a[_0x5a89b4(0x48b)]),Pe(0x2,te['IBeforeCloseService']),Pe(0x3,a[_0x5a89b4(0x3d5)](a[_0x5a89b4(0x3a3)])),Pe(0x4,a['Inject'](p[_0x5a89b4(0x3d9)]))],exports[_0x5a89b4(0x4e3)]);function Mt(_0x34e8c7){const _0x507947=_0x5a89b4;return _0x507947(0x5fd)+_0x34e8c7;}var bi=Object[_0x5a89b4(0x5bf)],Ti=Object[_0x5a89b4(0x227)],Ri=(_0x1538bb,_0x28c242,_0x532023,_0x1bd919)=>{for(var _0x9fdffc=_0x1bd919>0x1?void 0x0:_0x1bd919?Ti(_0x28c242,_0x532023):_0x28c242,_0x53a0dc=_0x1538bb['length']-0x1,_0x30e7ea;_0x53a0dc>=0x0;_0x53a0dc--)(_0x30e7ea=_0x1538bb[_0x53a0dc])&&(_0x9fdffc=(_0x1bd919?_0x30e7ea(_0x28c242,_0x532023,_0x9fdffc):_0x30e7ea(_0x9fdffc))||_0x9fdffc);return _0x1bd919&&_0x9fdffc&&bi(_0x28c242,_0x532023,_0x9fdffc),_0x9fdffc;},Qe=(_0x234594,_0x56162b)=>(_0x27b23c,_0x484587)=>_0x56162b(_0x27b23c,_0x484587,_0x234594);function yi(_0x20d1eb){const _0x2a4214=_0x5a89b4,{unitID:_0x3ec73d,mutations:_0x50353f}=_0x20d1eb;return{'unitId':_0x3ec73d,'subUnitId':_0x50353f[0x0][_0x2a4214(0x4a4)][_0x2a4214(0x45e)]};}let Be=class{constructor(_0xc76f69,_0x5b77ae,_0x10efe6){const _0x21160d=_0x5a89b4;this[_0x21160d(0x274)]=_0xc76f69,this[_0x21160d(0x18f)]=_0x5b77ae,this[_0x21160d(0x165)]=_0x10efe6;}[_0x5a89b4(0x5f6)](_0x361c3b){const _0x346d63=_0x5a89b4;var _0x24a5c6,_0x1b4feb,_0x20330a,_0x131d75;const _0x540a17=this['_injector'][_0x346d63(0x58d)](B[_0x346d63(0x5c2)]),{unitId:_0x5a9b16,subUnitId:_0x1c9213}=yi(_0x361c3b),_0x205012=_0x540a17[_0x346d63(0x3bd)](_0x5a9b16)[_0x346d63(0x1e2)](),_0x570d5e=(_0x1b4feb=(_0x24a5c6=this[_0x346d63(0x165)]['getUnit'](_0x5a9b16))==null?void 0x0:_0x24a5c6[_0x346d63(0x265)]())==null?void 0x0:_0x1b4feb[_0x346d63(0x535)]();if(_0x205012['length']===0x0||!_0x5a9b16||!_0x1c9213)return;const _0x38e9da=[{'id':B['SetSelectionsOperation']['id'],'params':{'unitId':_0x5a9b16,'subUnitId':_0x570d5e,'selections':a[_0x346d63(0x444)][_0x346d63(0x1c6)](_0x205012)}}],_0x36bb19=this[_0x346d63(0x18f)][_0x346d63(0x4d1)](_0x361c3b,_0x38e9da);if(!p['isTransformMutationsWithChangesetSuccess'](_0x36bb19))throw _0x36bb19[_0x346d63(0x395)];const _0x376f90=(_0x131d75=(_0x20330a=_0x36bb19['m2Prime'][0x0])==null?void 0x0:_0x20330a['params'])==null?void 0x0:_0x131d75['selections'];if(Array[_0x346d63(0x1aa)](_0x376f90)&&_0x376f90[_0x346d63(0x554)]){if(_0x376f90[_0x346d63(0x554)]===_0x38e9da[0x0]['params'][_0x346d63(0x38d)]['length']&&_0x376f90[_0x346d63(0x424)]((_0x4d239d,_0x1c3e87)=>a[_0x346d63(0x42e)]['equals'](_0x4d239d[_0x346d63(0x462)],_0x38e9da[0x0][_0x346d63(0x4a4)][_0x346d63(0x38d)][_0x1c3e87][_0x346d63(0x462)])))return;this['_injector'][_0x346d63(0x58d)](a[_0x346d63(0x17d)])['executeCommand'](B[_0x346d63(0x417)]['id'],{'unitId':_0x5a9b16,'subUnitId':_0x570d5e,'selections':_0x376f90});}}};Be=Ri([Qe(0x0,a[_0x5a89b4(0x3d5)](a['Injector'])),Qe(0x1,p[_0x5a89b4(0x3f4)]),Qe(0x2,a[_0x5a89b4(0x21c)])],Be);const qe=a['createIdentifier'](_0x5a89b4(0x490));var hn=(_0x252bf7=>(_0x252bf7[_0x252bf7[_0x5a89b4(0x596)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x252bf7[_0x252bf7['OTHER_CLIENTS_EDITING']=0x1]=_0x5a89b4(0x4fb),_0x252bf7))(hn||{});const At=0x7530,Nt=_0x5a89b4(0x329);class Oi extends a[_0x5a89b4(0x4c8)]{constructor(){const _0x10a252=_0x5a89b4;super(),I(this,_0x10a252(0x50e),a['Tools']['generateRandomId']()),I(this,_0x10a252(0x415),new Set()),I(this,_0x10a252(0x325),new Map()),I(this,'_heartbeatTimer',null),I(this,'_clearOtherTimers',new Map()),I(this,_0x10a252(0x18c),new Map()),this['_init']();}[_0x5a89b4(0x1db)](){const _0x4f7f4b=_0x5a89b4;super[_0x4f7f4b(0x1db)](),this[_0x4f7f4b(0x463)][_0x4f7f4b(0x3a4)]((_0x47df90,_0x11fc60)=>this[_0x4f7f4b(0x548)](_0x11fc60)),this[_0x4f7f4b(0x580)]&&window[_0x4f7f4b(0x3c0)](this[_0x4f7f4b(0x580)]);}[_0x5a89b4(0x433)](_0x4211ec){const _0x52d7ca=_0x5a89b4;return this[_0x52d7ca(0x421)](_0x4211ec)['pipe'](A[_0x52d7ca(0x5a9)]());}['editingUnit'](_0x18b53b){const _0x95bc3d=_0x5a89b4;this['_selfUnitIDs'][_0x95bc3d(0x189)]===0x0&&this[_0x95bc3d(0x514)](),this[_0x95bc3d(0x415)][_0x95bc3d(0x5ba)](_0x18b53b),this[_0x95bc3d(0x474)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x18b53b],'isForwarded':!0x1});}[_0x5a89b4(0x4a7)](_0x4b138d){const _0x1d5e79=_0x5a89b4;this[_0x1d5e79(0x415)][_0x1d5e79(0x204)](_0x4b138d),this[_0x1d5e79(0x415)]['size']===0x0&&this[_0x1d5e79(0x580)]&&window[_0x1d5e79(0x3c0)](this[_0x1d5e79(0x580)]);}[_0x5a89b4(0x1b8)](){const _0x536749=_0x5a89b4;this[_0x536749(0x15e)](a[_0x536749(0x502)](A['fromEvent'](window,_0x536749(0x40c))[_0x536749(0x3d8)](_0x58fd87=>{const _0x1f0b14=_0x536749;if(_0x58fd87[_0x1f0b14(0x163)]!==Nt||!_0x58fd87[_0x1f0b14(0x322)])return;const _0xa5850=JSON['parse'](_0x58fd87[_0x1f0b14(0x322)]);this[_0x1f0b14(0x2e6)](_0xa5850);}))),window[_0x536749(0x1b6)]('unload',()=>this[_0x536749(0x474)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x536749(0x2fc)](this[_0x536749(0x415)])}));}[_0x5a89b4(0x2e6)](_0x5ab9e0){const _0x23851c=_0x5a89b4;switch(_0x5ab9e0['type']){case 0x0:this[_0x23851c(0x268)](_0x5ab9e0);break;case 0x1:this[_0x23851c(0x43c)](_0x5ab9e0);break;case 0x2:this[_0x23851c(0x511)](_0x5ab9e0);break;}}[_0x5a89b4(0x268)](_0x398a29){const _0x4e5e28=_0x5a89b4,{unitIDs:_0x62d213,memberID:_0x3f7518,isForwarded:_0x3565d8}=_0x398a29;_0x62d213['forEach'](_0x28b7a7=>{const _0x36e76b=_0x4da2;if(!_0x3565d8&&this[_0x36e76b(0x325)][_0x36e76b(0x4df)](_0x28b7a7)&&this[_0x36e76b(0x421)](_0x28b7a7)[_0x36e76b(0x52c)](0x1),!this[_0x36e76b(0x325)][_0x36e76b(0x4df)](_0x28b7a7)||!this[_0x36e76b(0x325)]['get'](_0x28b7a7)[_0x36e76b(0x4df)](_0x3f7518)){const _0x4822e5=this[_0x36e76b(0x325)]['get'](_0x28b7a7)||new Set();_0x4822e5['add'](_0x3f7518),this['_unitOnClients']['set'](_0x28b7a7,_0x4822e5),this[_0x36e76b(0x160)](_0x3f7518);}}),_0x3565d8||this[_0x4e5e28(0x474)]({'type':0x0,'memberID':this[_0x4e5e28(0x50e)],'unitIDs':[...this[_0x4e5e28(0x415)]],'isForwarded':!0x0});}[_0x5a89b4(0x160)](_0x3c2262){const _0x23c19f=_0x5a89b4;this['_removeClearOtherTimer'](_0x3c2262);const _0x5e5dfb=window[_0x23c19f(0x22a)](()=>{const _0x2a686a=_0x23c19f;this[_0x2a686a(0x325)]['forEach'](_0x1e034d=>{const _0x403d0e=_0x2a686a;_0x1e034d[_0x403d0e(0x204)](_0x3c2262);});},At*0x2);this['_clearOtherTimers'][_0x23c19f(0x352)](_0x3c2262,_0x5e5dfb);}['_removeClearOtherTimer'](_0xc680d2){const _0x20587a=_0x5a89b4;if(this['_clearOtherTimers'][_0x20587a(0x4df)](_0xc680d2)){const _0x461044=this[_0x20587a(0x463)][_0x20587a(0x58d)](_0xc680d2);_0x461044&&window[_0x20587a(0x3fb)](_0x461044),this[_0x20587a(0x463)][_0x20587a(0x352)](_0xc680d2,null);}}[_0x5a89b4(0x43c)](_0x1e5c2f){const _0x5d92a9=_0x5a89b4,{memberID:_0x4886f3,unitIDs:_0x45bbaf}=_0x1e5c2f;_0x45bbaf[_0x5d92a9(0x3a4)](_0x5b620f=>{const _0x9fcf3b=_0x5d92a9;var _0x3a8b5e;const _0x47d65f=this[_0x9fcf3b(0x325)]['get'](_0x5b620f);_0x47d65f&&(_0x47d65f['delete'](_0x4886f3),(_0x3a8b5e=this[_0x9fcf3b(0x421)](_0x5b620f))==null||_0x3a8b5e['next'](_0x47d65f[_0x9fcf3b(0x189)]===0x0?0x0:0x1));}),this[_0x5d92a9(0x548)](_0x4886f3);}[_0x5a89b4(0x511)](_0x17ba83){const _0x25fa88=_0x5a89b4;this[_0x25fa88(0x160)](_0x17ba83[_0x25fa88(0x29c)]);}['_send'](_0x18d738){const _0x11023c=_0x5a89b4;localStorage[_0x11023c(0x465)](Nt,JSON['stringify'](_0x18d738));}['_scheduleHeartbeat'](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x192630=_0x4da2;this['_send']({'type':0x2,'memberID':this[_0x192630(0x50e)]});},At);}['_ensureSubject'](_0xc93505){const _0xd91ea3=_0x5a89b4;return this[_0xd91ea3(0x18c)]['has'](_0xc93505)||this[_0xd91ea3(0x18c)][_0xd91ea3(0x352)](_0xc93505,new A[(_0xd91ea3(0x4c2))](0x0)),this[_0xd91ea3(0x18c)]['get'](_0xc93505);}}var Di=Object[_0x5a89b4(0x5bf)],wi=Object[_0x5a89b4(0x227)],Pi=(_0x2e4a61,_0x231858,_0x488c78,_0x4d0afb)=>{const _0x497259=_0x5a89b4;for(var _0x1d69ee=_0x4d0afb>0x1?void 0x0:_0x4d0afb?wi(_0x231858,_0x488c78):_0x231858,_0x5a28d7=_0x2e4a61[_0x497259(0x554)]-0x1,_0x47c8a0;_0x5a28d7>=0x0;_0x5a28d7--)(_0x47c8a0=_0x2e4a61[_0x5a28d7])&&(_0x1d69ee=(_0x4d0afb?_0x47c8a0(_0x231858,_0x488c78,_0x1d69ee):_0x47c8a0(_0x1d69ee))||_0x1d69ee);return _0x4d0afb&&_0x1d69ee&&Di(_0x231858,_0x488c78,_0x1d69ee),_0x1d69ee;},et=(_0x415c0c,_0x141d44)=>(_0x44e3d6,_0x4ad378)=>_0x141d44(_0x44e3d6,_0x4ad378,_0x415c0c);let We=class{constructor(_0x3dcdcb,_0x15f0a9,_0x1f4858){const _0x15d873=_0x5a89b4;this['_injector']=_0x3dcdcb,this[_0x15d873(0x18f)]=_0x15f0a9,this[_0x15d873(0x517)]=_0x1f4858;}['transformStateCache'](_0x1db842){const _0x2b19b2=_0x5a89b4;this[_0x2b19b2(0x1f2)](_0x1db842);}[_0x5a89b4(0x30b)](_0x6318bf){const _0x9821f8=_0x5a89b4,{unitID:_0x9c6d3a}=_0x6318bf,{collaboration:_0x1160c3}=this['_docStateChangeManagerService'][_0x9821f8(0x223)](_0x9c6d3a);if(_0x1160c3[_0x9821f8(0x554)]===0x0)return _0x6318bf;let _0x2da7a3=a[_0x9821f8(0x444)][_0x9821f8(0x1c6)](_0x6318bf['mutations'][0x0]);for(let _0x199761=0x0;_0x199761<_0x1160c3['length'];_0x199761++){const _0x7813d3={'id':_0x9821f8(0x57b),'params':{'unitId':_0x1160c3[_0x199761][_0x9821f8(0x3e9)],..._0x1160c3[_0x199761][_0x9821f8(0x33d)]}},_0x2c5c3a=this['_transformService'][_0x9821f8(0x5a8)](_0x2da7a3,_0x7813d3,!0x1);if(p[_0x9821f8(0x544)](_0x2c5c3a))throw _0x2c5c3a[_0x9821f8(0x395)];_0x2da7a3=_0x2c5c3a[_0x9821f8(0x5ff)];}return{...a[_0x9821f8(0x444)]['deepClone'](_0x6318bf),'mutations':[_0x2da7a3]};}[_0x5a89b4(0x1f2)](_0x22ce78){const _0x445149=_0x5a89b4,{unitID:_0xc27920}=_0x22ce78,{history:_0x2ea34a,collaboration:_0x579d08}=this[_0x445149(0x517)][_0x445149(0x223)](_0xc27920);if(_0x2ea34a[_0x445149(0x554)]===0x0&&_0x579d08[_0x445149(0x554)]===0x0)return;const _0x34a337=[],_0x433641=[];let _0x39014d=a[_0x445149(0x444)][_0x445149(0x1c6)](_0x22ce78[_0x445149(0x48a)][0x0]),_0x6c8828=a[_0x445149(0x444)][_0x445149(0x1c6)](_0x22ce78[_0x445149(0x48a)][0x0]);for(let _0x1c8281=_0x2ea34a[_0x445149(0x554)]-0x1;_0x1c8281>=0x0;_0x1c8281--){const _0x4b08b2={'id':_0x445149(0x57b),'params':{'unitId':_0x2ea34a[_0x1c8281]['unitId'],..._0x2ea34a[_0x1c8281]['undoState']}},_0x24046e={'id':_0x445149(0x57b),'params':{'unitId':_0x2ea34a[_0x1c8281][_0x445149(0x3e9)],..._0x2ea34a[_0x1c8281][_0x445149(0x33d)]}},_0x28d9e0=this[_0x445149(0x18f)][_0x445149(0x5a8)](_0x39014d,_0x4b08b2,!0x1),_0x36d8a5=this[_0x445149(0x18f)][_0x445149(0x5a8)](_0x6c8828,_0x24046e,!0x1);if(p[_0x445149(0x544)](_0x28d9e0))throw _0x28d9e0[_0x445149(0x395)];if(p[_0x445149(0x544)](_0x36d8a5))throw _0x36d8a5[_0x445149(0x395)];_0x34a337[_0x445149(0x371)]({..._0x2ea34a[_0x1c8281],'undoState':_0x28d9e0[_0x445149(0x330)]['params'],'redoState':_0x36d8a5['m2Prime'][_0x445149(0x4a4)]}),_0x39014d=_0x28d9e0[_0x445149(0x5ff)],_0x6c8828=_0x36d8a5[_0x445149(0x5ff)];}_0x39014d=a['Tools'][_0x445149(0x1c6)](_0x22ce78[_0x445149(0x48a)][0x0]),_0x6c8828=a[_0x445149(0x444)][_0x445149(0x1c6)](_0x22ce78[_0x445149(0x48a)][0x0]);for(let _0x199d56=_0x579d08['length']-0x1;_0x199d56>=0x0;_0x199d56--){const _0x2623d5={'id':_0x445149(0x57b),'params':{'unitId':_0x579d08[_0x199d56]['unitId'],..._0x579d08[_0x199d56][_0x445149(0x2d4)]}},_0x5e755b={'id':_0x445149(0x57b),'params':{'unitId':_0x579d08[_0x199d56][_0x445149(0x3e9)],..._0x579d08[_0x199d56][_0x445149(0x33d)]}},_0x4aa8e6=this[_0x445149(0x18f)][_0x445149(0x5a8)](_0x39014d,_0x2623d5,!0x1),_0x5b9437=this['_transformService']['transformMutation'](_0x6c8828,_0x5e755b,!0x1);if(p[_0x445149(0x544)](_0x4aa8e6))throw _0x4aa8e6['error'];if(p[_0x445149(0x544)](_0x5b9437))throw _0x5b9437[_0x445149(0x395)];_0x433641[_0x445149(0x371)]({..._0x579d08[_0x199d56],'undoState':_0x4aa8e6['m2Prime'][_0x445149(0x4a4)],'redoState':_0x5b9437['m2Prime'][_0x445149(0x4a4)]}),_0x39014d=_0x4aa8e6[_0x445149(0x5ff)],_0x6c8828=_0x5b9437[_0x445149(0x5ff)];}this[_0x445149(0x517)][_0x445149(0x2a5)](_0xc27920,{'history':_0x34a337,'collaboration':_0x433641});}};We=Pi([et(0x0,a[_0x5a89b4(0x3d5)](a[_0x5a89b4(0x217)])),et(0x1,p[_0x5a89b4(0x3f4)]),et(0x2,a[_0x5a89b4(0x3d5)](Z[_0x5a89b4(0x5bd)]))],We);function _n(_0x10dadd){let _0x112ea8='';for(const _0x3a6f8f of _0x10dadd){const {startOffset:_0x2166d3,endOffset:_0x57b743,isActive:_0x5d1e21,rangeType:_0xa354da,segmentId:_0xb7a4cd,segmentPage:_0x5bec90}=_0x3a6f8f;_0x112ea8['length']&&(_0x112ea8+=','),_0x112ea8+=_0x2166d3+':'+_0x57b743+':'+(_0x5d1e21?'1':'0')+':'+_0xa354da+':'+_0xb7a4cd+':'+_0x5bec90;}return _0x112ea8;}function Ui(_0x5ae0bf){const _0x1a949b=_0x5a89b4,_0x5469bc=_0x5ae0bf['split'](','),_0x440a01=[];for(const _0x5a445f of _0x5469bc){const [_0x470071,_0x5174b1,_0x1409dc,_0x3dec78,_0x3e895d,_0x4d891d]=_0x5a445f[_0x1a949b(0x2bb)](':');_0x440a01[_0x1a949b(0x1d0)]({'startOffset':Number(_0x470071),'endOffset':Number(_0x5174b1),'collapsed':_0x470071===_0x5174b1,'isActive':_0x1409dc==='1','rangeType':_0x3dec78===a['DOC_RANGE_TYPE'][_0x1a949b(0x3b2)]?a['DOC_RANGE_TYPE']['TEXT']:a['DOC_RANGE_TYPE'][_0x1a949b(0x45f)],'segmentId':typeof _0x3e895d==_0x1a949b(0x4ad)?String(_0x3e895d):'','segmentPage':Number(_0x4d891d!=null?_0x4d891d:-0x1)});}return _0x440a01[_0x1a949b(0x18e)](_0x28c329=>_0x28c329[_0x1a949b(0x2cf)])||(_0x440a01[0x0]['isActive']=!0x0),_0x440a01;}class Tt extends a[_0x5a89b4(0x2da)]{constructor(){const _0x18498b=_0x5a89b4;super(...arguments),I(this,_0x18498b(0x304),new A[(_0x18498b(0x4c2))](null)),I(this,_0x18498b(0x2ac),this[_0x18498b(0x304)][_0x18498b(0x159)]());}[_0x5a89b4(0x284)](_0x1469ec){const _0x5ca283=_0x5a89b4,{unitID:_0x3656fc,memberID:_0x538cfa,textRanges:_0x4b8c2c}=_0x1469ec,_0x4c8f10=_n(_0x4b8c2c);if(_0x4c8f10==='')return;const _0x34a7dc={'unitID':_0x3656fc,'memberID':_0x538cfa,'selection':_0x4c8f10};this[_0x5ca283(0x304)][_0x5ca283(0x52c)](_0x34a7dc);}}var Mi=Object['defineProperty'],Ai=Object['getOwnPropertyDescriptor'],Ni=(_0x2bb5b6,_0x44982e,_0x3f42d9,_0x3a85f4)=>{const _0x223caf=_0x5a89b4;for(var _0x48088d=_0x3a85f4>0x1?void 0x0:_0x3a85f4?Ai(_0x44982e,_0x3f42d9):_0x44982e,_0x19d8ad=_0x2bb5b6[_0x223caf(0x554)]-0x1,_0x5cd929;_0x19d8ad>=0x0;_0x19d8ad--)(_0x5cd929=_0x2bb5b6[_0x19d8ad])&&(_0x48088d=(_0x3a85f4?_0x5cd929(_0x44982e,_0x3f42d9,_0x48088d):_0x5cd929(_0x48088d))||_0x48088d);return _0x3a85f4&&_0x48088d&&Mi(_0x44982e,_0x3f42d9,_0x48088d),_0x48088d;},Lt=(_0x3665e0,_0x1f2d3a)=>(_0x5448c4,_0x3f0b2a)=>_0x1f2d3a(_0x5448c4,_0x3f0b2a,_0x3665e0);let Fe=class{constructor(_0x5787a8,_0x5c5db6){const _0x1c79f8=_0x5a89b4;this['_injector']=_0x5787a8,this[_0x1c79f8(0x18f)]=_0x5c5db6;}[_0x5a89b4(0x5f6)](_0x1f7a1a){const _0x34c1cf=_0x5a89b4;var _0xd7ca49;const _0x23eb43=this['_injector'][_0x34c1cf(0x58d)](ye[_0x34c1cf(0x51e)]),_0x56171a=(_0xd7ca49=_0x23eb43[_0x34c1cf(0x24d)]())!=null?_0xd7ca49:[];if(_0x56171a[_0x34c1cf(0x554)]===0x0)return;const _0x5bf0dd=_0x1f7a1a[_0x34c1cf(0x2ea)],_0x593ebe=[{'id':_0x34c1cf(0x57b),'params':{'unitId':_0x5bf0dd,'actions':null,'textRanges':_0x56171a}}],_0x4bd55e=this[_0x34c1cf(0x18f)]['transformMutationsWithChangeset'](_0x1f7a1a,_0x593ebe);if(!p[_0x34c1cf(0x584)](_0x4bd55e))throw _0x4bd55e[_0x34c1cf(0x395)];const _0x2ef763=_0x4bd55e['m2Prime'][0x0]['params'][_0x34c1cf(0x586)];Array[_0x34c1cf(0x1aa)](_0x2ef763)&&_0x2ef763[_0x34c1cf(0x554)]&&_0x23eb43['replaceDocRanges'](_0x2ef763,{'unitId':_0x5bf0dd,'subUnitId':_0x5bf0dd},!0x1);}};Fe=Ni([Lt(0x0,a[_0x5a89b4(0x3d5)](a[_0x5a89b4(0x217)])),Lt(0x1,p[_0x5a89b4(0x3f4)])],Fe);const Li=new Set([B[_0x5a89b4(0x607)]['id']]);function xt(_0x191a3b,_0x10210a,_0xd1be8,_0x393378,_0x3e053f){const _0x2eabaa=_0x5a89b4;var _0x51b974,_0x49d99c,_0x327113,_0x39d71f;const _0x2433f2=[];for(const _0x10bd41 of _0x191a3b)if(Li[_0x2eabaa(0x4df)](_0x10bd41['id'])){if(_0x2433f2['length']>0x0)break;_0x2433f2[_0x2eabaa(0x1d0)](_0x10bd41);break;}else _0x2433f2[_0x2eabaa(0x1d0)](_0x10bd41);const _0x3a63d0=(_0x49d99c=(_0x51b974=_0x3e053f[_0x2eabaa(0x249)]())==null?void 0x0:_0x51b974[_0x2eabaa(0x4f0)])!=null?_0x49d99c:'unknown',_0x546854=(_0x39d71f=(_0x327113=_0x3e053f['getCurrentUser']())==null?void 0x0:_0x327113[_0x2eabaa(0x29c)])!=null?_0x39d71f:'unknown';return{'changeset':{'unitID':_0x10210a,'type':p[_0x2eabaa(0x594)](_0xd1be8[_0x2eabaa(0x4b1)](_0x10210a)),'baseRev':_0x393378['getCurrentRevOfUnit'](_0x10210a),'revision':0x0,'userID':_0x3a63d0,'memberID':_0x546854,'mutations':_0x2433f2},'pendingMutations':_0x191a3b[_0x2eabaa(0x5b5)](_0x2433f2[_0x2eabaa(0x554)])};}function xi(_0x1ccb1f,_0x272737,_0x4c56db,_0x3b3503,_0x562bca){const _0x75e509=_0x5a89b4;var _0x1d12a0,_0x124ab8,_0x185224,_0xc15d2d;const _0x8e0a61=[_0x1ccb1f['reduce']((_0x10a0b2,_0x2246a2)=>{const _0xad3e57=_0x4da2;var _0x21cca8;const {id:_0x903056}=_0x10a0b2,{id:_0x4069bf,type:_0x2833b6}=_0x2246a2,_0x51ad88=(_0x21cca8=_0x10a0b2[_0xad3e57(0x4a4)])!=null?_0x21cca8:{'actions':null},_0x4fc0dd=_0x2246a2[_0xad3e57(0x4a4)];if(_0x903056&&_0x903056!==_0x4069bf)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x903056+_0xad3e57(0x151)+_0x4069bf+'.');return{..._0x10a0b2,'id':_0x4069bf,'type':_0x2833b6,'params':{'unitId':_0x4fc0dd[_0xad3e57(0x3e9)],'textRanges':_0x4fc0dd[_0xad3e57(0x586)],'actions':a[_0xad3e57(0x5c7)][_0xad3e57(0x377)](_0x51ad88[_0xad3e57(0x168)],_0x4fc0dd[_0xad3e57(0x168)])}};},{})],_0x26c9e7=(_0x124ab8=(_0x1d12a0=_0x562bca['getCurrentUser']())==null?void 0x0:_0x1d12a0[_0x75e509(0x4f0)])!=null?_0x124ab8:_0x75e509(0x1a4),_0x414fe9=(_0xc15d2d=(_0x185224=_0x562bca[_0x75e509(0x249)]())==null?void 0x0:_0x185224[_0x75e509(0x29c)])!=null?_0xc15d2d:'unknown';return{'changeset':{'unitID':_0x272737,'type':p[_0x75e509(0x594)](_0x4c56db['getUnitType'](_0x272737)),'baseRev':_0x3b3503[_0x75e509(0x1d1)](_0x272737),'revision':0x0,'userID':_0x26c9e7,'memberID':_0x414fe9,'mutations':_0x8e0a61},'pendingMutations':[]};}function _0x4da2(_0x5dd07b,_0x137032){const _0x295e7c=_0x295e();return _0x4da2=function(_0x4da2f1,_0x1cd537){_0x4da2f1=_0x4da2f1-0x14c;let _0x9356a=_0x295e7c[_0x4da2f1];return _0x9356a;},_0x4da2(_0x5dd07b,_0x137032);}function un(_0x4cb40d,_0x32c5ea){const _0x357de5=_0x5a89b4,_0xadb05b=new A[(_0x357de5(0x1c9))](0x1);return setTimeout(()=>_0xadb05b['next'](_0x32c5ea),_0x4cb40d),_0xadb05b[_0x357de5(0x159)]()['pipe'](A['take'](0x1));}const ji={'id':B[_0x5a89b4(0x5b2)]['id'],'type':a[_0x5a89b4(0x3ba)][_0x5a89b4(0x56f)],'params':{}};var $i=Object[_0x5a89b4(0x5bf)],Hi=Object[_0x5a89b4(0x227)],Ce=(_0x33482a,_0x272ed9,_0x2083c5,_0x569418)=>{const _0x5b47b9=_0x5a89b4;for(var _0x133d46=_0x569418>0x1?void 0x0:_0x569418?Hi(_0x272ed9,_0x2083c5):_0x272ed9,_0x3692cb=_0x33482a[_0x5b47b9(0x554)]-0x1,_0x5efc68;_0x3692cb>=0x0;_0x3692cb--)(_0x5efc68=_0x33482a[_0x3692cb])&&(_0x133d46=(_0x569418?_0x5efc68(_0x272ed9,_0x2083c5,_0x133d46):_0x5efc68(_0x133d46))||_0x133d46);return _0x569418&&_0x133d46&&$i(_0x272ed9,_0x2083c5,_0x133d46),_0x133d46;},N=(_0x57c762,_0x3cf055)=>(_0x2ff7b6,_0x62f09c)=>_0x3cf055(_0x2ff7b6,_0x62f09c,_0x57c762),q=(_0x432c36=>(_0x432c36[_0x5a89b4(0x23e)]='not_collab',_0x432c36[_0x5a89b4(0x2f2)]=_0x5a89b4(0x57f),_0x432c36['PENDING']=_0x5a89b4(0x2a4),_0x432c36[_0x5a89b4(0x53a)]=_0x5a89b4(0x4f2),_0x432c36[_0x5a89b4(0x4c1)]=_0x5a89b4(0x31a),_0x432c36[_0x5a89b4(0x3c1)]=_0x5a89b4(0x467),_0x432c36[_0x5a89b4(0x188)]='conflict',_0x432c36['OFFLINE']=_0x5a89b4(0x5d9),_0x432c36))(q||{});const dn=0xea60;class Ee{constructor(_0x35116f,_0x2e7f8c,_0x94eb92,_0x5617ca,_0x14d574,_0x27aa31,_0x183231,_0x242537,_0x3906ea){const _0x1b7538=_0x5a89b4;I(this,'_awaitingChangeset',null),I(this,_0x1b7538(0x58c),[]),(this[_0x1b7538(0x2ea)]=_0x35116f,this[_0x1b7538(0x235)]=_0x2e7f8c,this[_0x1b7538(0x3df)]=_0x14d574,this[_0x1b7538(0x5da)]=_0x27aa31,this['_undoRedoService']=_0x183231,this[_0x1b7538(0x3f8)]=_0x242537,this[_0x1b7538(0x470)]=_0x3906ea,this[_0x1b7538(0x3eb)]=_0x94eb92,this[_0x1b7538(0x58c)]=_0x5617ca);}['_checkMissing'](_0x2d19d5){const _0x49a1a2=_0x5a89b4,_0x5c2ea7=this[_0x49a1a2(0x3f8)][_0x49a1a2(0x1d1)](this['unitID']);return _0x2d19d5[_0x49a1a2(0x5c0)]>_0x5c2ea7+0x1?(this[_0x49a1a2(0x3df)][_0x49a1a2(0x335)]({'from':_0x5c2ea7,'to':_0x2d19d5[_0x49a1a2(0x5c0)]-0x1}),!0x0):!0x1;}[_0x5a89b4(0x341)](_0x2f292e){const _0x2a43d8=_0x5a89b4;this[_0x2a43d8(0x31b)][_0x2a43d8(0x408)](this[_0x2a43d8(0x2ea)],_0x2f292e);}[_0x5a89b4(0x34f)](_0x54cc9b){const _0xa5c7d7=_0x5a89b4;var _0x262013,_0x1ea096;(_0x1ea096=(_0x262013=this['_handler'])[_0xa5c7d7(0x1bb)])==null||_0x1ea096[_0xa5c7d7(0x35a)](_0x262013,_0x54cc9b);}[_0x5a89b4(0x236)](_0x57c647){const _0x41bf6a=_0x5a89b4;var _0x4224e1,_0x93ff27;return(_0x93ff27=(_0x4224e1=this[_0x41bf6a(0x3df)])[_0x41bf6a(0x59f)])==null?void 0x0:_0x93ff27['call'](_0x4224e1,_0x57c647);}[_0x5a89b4(0x3fe)](_0x39cbac){const _0x356a5e=_0x5a89b4;var _0x43b8e3,_0x57dd24;return(_0x57dd24=(_0x43b8e3=this[_0x356a5e(0x3df)])[_0x356a5e(0x5e7)])==null?void 0x0:_0x57dd24[_0x356a5e(0x35a)](_0x43b8e3,_0x39cbac);}['_transformRemoteChangesetByIMECache'](_0x14067a){const _0xca9d51=_0x5a89b4;var _0x2f4915,_0x70b37f,_0x271c1c;return(_0x271c1c=(_0x70b37f=(_0x2f4915=this[_0xca9d51(0x3df)])[_0xca9d51(0x560)])==null?void 0x0:_0x70b37f[_0xca9d51(0x35a)](_0x2f4915,_0x14067a))!=null?_0x271c1c:_0x14067a;}['_transformRemoteChangesetByStateCache'](_0x204267){const _0x14c984=_0x5a89b4;var _0x244188,_0x406d5a,_0x341260;return(_0x341260=(_0x406d5a=(_0x244188=this[_0x14c984(0x3df)])[_0x14c984(0x59d)])==null?void 0x0:_0x406d5a[_0x14c984(0x35a)](_0x244188,_0x204267))!=null?_0x341260:_0x204267;}[_0x5a89b4(0x4a0)](_0x3b39c5){const _0x17fca5=_0x5a89b4;var _0x38d528,_0x3259a5;if(this[_0x17fca5(0x235)]===ie[_0x17fca5(0x222)]){const {unitID:_0x3649ba,mutations:_0x2a436b,memberID:_0x546dc9}=_0x3b39c5,_0x126e61=_0x2a436b[0x0][_0x17fca5(0x4a4)][_0x17fca5(0x586)];Array[_0x17fca5(0x1aa)](_0x126e61)&&_0x126e61[_0x17fca5(0x554)]>0x0&&((_0x3259a5=(_0x38d528=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x3259a5[_0x17fca5(0x35a)](_0x38d528,{'unitID':_0x3649ba,'memberID':_0x546dc9,'textRanges':_0x126e61}));}}[_0x5a89b4(0x5f1)](){const _0x18856e=_0x5a89b4;this['_localCacheService']['updateOfflineData'](this[_0x18856e(0x2ea)],this[_0x18856e(0x235)],this[_0x18856e(0x3eb)],this[_0x18856e(0x58c)]);}['_getCurrentRevision'](){const _0x262092=_0x5a89b4;return this[_0x262092(0x3f8)][_0x262092(0x1d1)](this[_0x262092(0x2ea)]);}[_0x5a89b4(0x2ff)](){const _0x2ca6f1=_0x5a89b4;this['_revisionService'][_0x2ca6f1(0x519)](this['unitID']);}['_executeRemoteChangeset'](_0x4a8e96){const _0x49c912=_0x5a89b4;var _0x539a51;let _0x187af1=this['_transformRemoteChangesetByIMECache'](_0x4a8e96);_0x187af1=this[_0x49c912(0x44b)](_0x187af1);const _0x3601cd=a['sequenceExecute'](_0x187af1[_0x49c912(0x48a)],this[_0x49c912(0x5da)],{'fromCollab':!0x0});if(!_0x3601cd[_0x49c912(0x2f3)])throw _0x3601cd[_0x49c912(0x395)]instanceof Error?_0x3601cd[_0x49c912(0x395)]:new Error((_0x539a51=_0x3601cd[_0x49c912(0x395)])!=null?_0x539a51:_0x49c912(0x5ec));this[_0x49c912(0x236)](_0x187af1),this[_0x49c912(0x3fe)](_0x187af1),this[_0x49c912(0x341)](_0x4a8e96),this[_0x49c912(0x34f)](_0x187af1),this[_0x49c912(0x4a0)](_0x187af1),this[_0x49c912(0x2ff)]();}}let Oe=class extends Ee{constructor(_0x3de5ba,_0x1ff052,_0x45534b,_0x26a973,_0x1efa33,_0x19459a,_0x408943,_0x5e1ec3,_0x2248ae,_0x49a662){const _0x3644c6=_0x5a89b4;super(_0x3de5ba,_0x1ff052,null,[],_0x45534b,_0x5e1ec3,_0x408943,_0x26a973,_0x1efa33),I(this,_0x3644c6(0x54c),_0x3644c6(0x57f)),(this[_0x3644c6(0x274)]=_0x19459a,this[_0x3644c6(0x52a)]=_0x2248ae,this[_0x3644c6(0x18f)]=_0x49a662);}[_0x5a89b4(0x21f)](_0x53716e){const _0x1976df=_0x5a89b4,_0x331656=this[_0x1976df(0x274)]['createInstance'](ce,this[_0x1976df(0x2ea)],this[_0x1976df(0x235)],[_0x53716e],this[_0x1976df(0x3df)]);return _0x331656[_0x1976df(0x4bb)](),_0x331656['_updateLocalCache'](),_0x331656;}[_0x5a89b4(0x537)](_0x14943e){const _0x44520d=_0x5a89b4;if(this['_checkMissing'](_0x14943e))return this[_0x44520d(0x274)][_0x44520d(0x45d)](re,this[_0x44520d(0x2ea)],this[_0x44520d(0x235)],null,[],null,[_0x14943e],this[_0x44520d(0x3df)]);try{const _0x37193b=this[_0x44520d(0x18f)][_0x44520d(0x4d1)](_0x14943e,[ji]);if(p[_0x44520d(0x584)](_0x37193b)){const {c1Prime:_0x25c4f4}=_0x37193b;return this[_0x44520d(0x4f9)](_0x25c4f4),this;}throw _0x37193b['error'];}catch(_0x55979d){return this[_0x44520d(0x52a)][_0x44520d(0x395)](_0x55979d),this[_0x44520d(0x306)](!0x1);}}[_0x5a89b4(0x306)](_0x44b261){const _0x392ccc=_0x5a89b4;return this[_0x392ccc(0x274)]['createInstance'](ve,this['unitID'],this[_0x392ccc(0x235)],null,[],this[_0x392ccc(0x3df)],_0x44b261);}[_0x5a89b4(0x174)](){const _0x360992=_0x5a89b4;throw new Error(_0x360992(0x43d));}['onRemoteRej'](){const _0x16711f=_0x5a89b4;throw new Error(_0x16711f(0x2be));}['onRemoteRetry'](){return this;}[_0x5a89b4(0x5a0)](){const _0x3d811d=_0x5a89b4;return this[_0x3d811d(0x274)][_0x3d811d(0x45d)](Se,this[_0x3d811d(0x2ea)],this[_0x3d811d(0x235)],null,[],this['_handler']);}[_0x5a89b4(0x3c4)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){const _0x469e4c=_0x5a89b4,_0x37aa88=this[_0x469e4c(0x3f8)]['getCurrentRevOfUnit'](this[_0x469e4c(0x2ea)]);return this[_0x469e4c(0x3df)][_0x469e4c(0x335)]({'from':_0x37aa88,'to':0x0}),this[_0x469e4c(0x274)][_0x469e4c(0x45d)](re,this[_0x469e4c(0x2ea)],this[_0x469e4c(0x235)],null,[],null,[],this[_0x469e4c(0x3df)]);}};Oe=Ce([N(0x3,a[_0x5a89b4(0x3d5)](p[_0x5a89b4(0x3d9)])),N(0x4,a[_0x5a89b4(0x3d5)](exports['LocalCacheService'])),N(0x5,a[_0x5a89b4(0x3d5)](a[_0x5a89b4(0x217)])),N(0x6,a[_0x5a89b4(0x54d)]),N(0x7,a[_0x5a89b4(0x17d)]),N(0x8,a['ILogService']),N(0x9,p[_0x5a89b4(0x3f4)])],Oe);let ce=class extends Ee{constructor(_0x12ad34,_0x3067ac,_0x515ecf,_0xbb223d,_0x1dbce8,_0x1e8ce9,_0x17c361,_0x162af6,_0x1532d9,_0x34eafe,_0x522d85,_0x1bf045,_0x5b51ea,_0x2b7478){const _0x1235e9=_0x5a89b4;super(_0x12ad34,_0x3067ac,null,_0x515ecf,_0xbb223d,_0x34eafe,_0x2b7478,_0x1e8ce9,_0x17c361),I(this,_0x1235e9(0x54c),'pending'),I(this,_0x1235e9(0x409),null),I(this,_0x1235e9(0x547),null),(this[_0x1235e9(0x274)]=_0x1dbce8,this['_memberService']=_0x162af6,this[_0x1235e9(0x52a)]=_0x1532d9,this[_0x1235e9(0x162)]=_0x522d85,this[_0x1235e9(0x18f)]=_0x1bf045,this['_univerInstanceService']=_0x5b51ea);}[_0x5a89b4(0x21f)](_0x263665){const _0x12d8d5=_0x5a89b4;return this[_0x12d8d5(0x58c)][_0x12d8d5(0x1d0)](_0x263665),this[_0x12d8d5(0x5f1)](),this;}['onRemoteChangeset'](_0x3f27af){const _0x44fd9a=_0x5a89b4;if(this[_0x44fd9a(0x4cd)](_0x3f27af))return this['_clearScheduledTask'](),this['_injector'][_0x44fd9a(0x45d)](re,this[_0x44fd9a(0x2ea)],this['type'],null,this[_0x44fd9a(0x58c)],null,[_0x3f27af],this[_0x44fd9a(0x3df)]);try{const _0x4753e2=this[_0x44fd9a(0x18f)][_0x44fd9a(0x4d1)](_0x3f27af,this[_0x44fd9a(0x58c)]);if(p[_0x44fd9a(0x584)](_0x4753e2)){const {c1Prime:_0x1e3101,m2Prime:_0x2511c9}=_0x4753e2;this['_executeRemoteChangeset'](_0x1e3101);const _0x4cc29f=this['_injector'][_0x44fd9a(0x45d)](ce,this[_0x44fd9a(0x2ea)],this['type'],_0x2511c9,this['_handler']);return this[_0x44fd9a(0x3c5)](),_0x4cc29f[_0x44fd9a(0x4bb)](this[_0x44fd9a(0x409)]?Math[_0x44fd9a(0x51c)](0x0,new Date()[_0x44fd9a(0x2d9)]()-this[_0x44fd9a(0x409)]):this[_0x44fd9a(0x2d2)]()),_0x4cc29f;}throw _0x4753e2[_0x44fd9a(0x395)];}catch(_0x434bb3){return this[_0x44fd9a(0x52a)][_0x44fd9a(0x395)](_0x434bb3),this['_onConflict'](!0x1);}}['onRemoteAck'](){const _0x446a6a=_0x5a89b4;throw new Error(_0x446a6a(0x311));}[_0x5a89b4(0x496)](){const _0x5bf758=_0x5a89b4;throw new Error(_0x5bf758(0x220));}['onRemoteRetry'](){return this;}[_0x5a89b4(0x5a0)](){const _0x52b3d9=_0x5a89b4;return this[_0x52b3d9(0x3c5)](),this[_0x52b3d9(0x274)][_0x52b3d9(0x45d)](Se,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x52b3d9(0x3df)]);}[_0x5a89b4(0x3c4)](){return this;}['_schedule'](_0xb33274){const _0x239520=_0x5a89b4,_0x129f83=_0xb33274!=null?_0xb33274:this[_0x239520(0x2d2)]();this[_0x239520(0x409)]=new Date()[_0x239520(0x2d9)](),this[_0x239520(0x547)]=window['setTimeout'](()=>{const _0x422999=_0x239520;this[_0x422999(0x3c5)]();let _0x5f0e47=null;switch(this[_0x422999(0x235)]){case ie['UNIVER_SHEET']:{_0x5f0e47=xt(this[_0x422999(0x58c)],this[_0x422999(0x2ea)],this['_univerInstanceService'],this['_revisionService'],this[_0x422999(0x47d)]);break;}case ie[_0x422999(0x222)]:{this['_pendingMutations'][_0x422999(0x424)](_0x40b00c=>_0x40b00c['id']===ye[_0x422999(0x34b)]['id'])?_0x5f0e47=xi(this[_0x422999(0x58c)],this[_0x422999(0x2ea)],this[_0x422999(0x4b5)],this[_0x422999(0x3f8)],this[_0x422999(0x47d)]):_0x5f0e47=xt(this[_0x422999(0x58c)],this[_0x422999(0x2ea)],this[_0x422999(0x4b5)],this[_0x422999(0x3f8)],this[_0x422999(0x47d)]);break;}default:throw new Error(_0x422999(0x5d6)+this[_0x422999(0x235)]+'\x20in\x20_schedule.');}const {changeset:_0x4790d9,pendingMutations:_0x4920b7}=_0x5f0e47;this[_0x422999(0x3df)][_0x422999(0x1ae)](_0x4790d9);const _0x5103d9=_0x4920b7[_0x422999(0x554)]?this[_0x422999(0x274)][_0x422999(0x45d)](le,this[_0x422999(0x2ea)],this[_0x422999(0x235)],_0x4790d9,_0x4920b7,this[_0x422999(0x3df)],void 0x0):this[_0x422999(0x274)][_0x422999(0x45d)](fe,this[_0x422999(0x2ea)],this[_0x422999(0x235)],_0x4790d9,this[_0x422999(0x3df)]);_0x5103d9[_0x422999(0x5f1)](),this[_0x422999(0x3df)][_0x422999(0x453)](this,_0x5103d9);},_0x129f83);}[_0x5a89b4(0x2d2)](){const _0x2c2a1b=_0x5a89b4;var _0x5cc7d3;const _0x5356e9=this[_0x2c2a1b(0x162)][_0x2c2a1b(0x287)](ee);return(_0x5cc7d3=_0x5356e9==null?void 0x0:_0x5356e9[_0x2c2a1b(0x240)])!=null?_0x5cc7d3:kn;}[_0x5a89b4(0x32f)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5a89b4(0x3c5)](){const _0x4f3bd5=_0x5a89b4;this[_0x4f3bd5(0x547)]!=null&&(clearTimeout(this[_0x4f3bd5(0x547)]),this['_sendingTimer']=null);}[_0x5a89b4(0x306)](_0x49bc00){const _0x52b044=_0x5a89b4;return this[_0x52b044(0x3c5)](),this[_0x52b044(0x274)][_0x52b044(0x45d)](ve,this[_0x52b044(0x2ea)],this[_0x52b044(0x235)],null,this[_0x52b044(0x58c)],this['_handler'],_0x49bc00);}};ce=Ce([N(0x4,a[_0x5a89b4(0x3d5)](a[_0x5a89b4(0x217)])),N(0x5,a['Inject'](p[_0x5a89b4(0x3d9)])),N(0x6,a[_0x5a89b4(0x3d5)](exports[_0x5a89b4(0x4e3)])),N(0x7,a[_0x5a89b4(0x3d5)](exports[_0x5a89b4(0x5ac)])),N(0x8,a[_0x5a89b4(0x3dd)]),N(0x9,a[_0x5a89b4(0x17d)]),N(0xa,a['IConfigService']),N(0xb,p[_0x5a89b4(0x3f4)]),N(0xc,a[_0x5a89b4(0x21c)]),N(0xd,a[_0x5a89b4(0x54d)])],ce);let fe=class extends Ee{constructor(_0x1fbeff,_0xa8ed18,_0x636765,_0x30cd8c,_0x33d05f,_0x462f1e,_0x14d004,_0x33c4dd,_0x3ca504,_0x23c375,_0x56f867){const _0x4335f1=_0x5a89b4;super(_0x1fbeff,_0xa8ed18,_0x636765,[],_0x30cd8c,_0x33c4dd,_0x56f867,_0x462f1e,_0x14d004),I(this,_0x4335f1(0x54c),_0x4335f1(0x4f2)),I(this,_0x4335f1(0x5b1),0x0),I(this,'_resendTimer'),I(this,_0x4335f1(0x574)),(this[_0x4335f1(0x274)]=_0x33d05f,this[_0x4335f1(0x52a)]=_0x3ca504,this[_0x4335f1(0x18f)]=_0x23c375);}[_0x5a89b4(0x21f)](_0x53125c){const _0x25667c=_0x5a89b4;this[_0x25667c(0x3c5)]();const _0x388c97=this[_0x25667c(0x274)]['createInstance'](le,this['unitID'],this[_0x25667c(0x235)],this['_awaitingChangeset'],[_0x53125c],this['_handler'],this[_0x25667c(0x5e9)]);return _0x388c97[_0x25667c(0x5f1)](),_0x388c97;}[_0x5a89b4(0x537)](_0x192a37){const _0x6a38d4=_0x5a89b4;if(this[_0x6a38d4(0x4cd)](_0x192a37))return this['_clearScheduledTask'](),this['_injector'][_0x6a38d4(0x45d)](re,this[_0x6a38d4(0x2ea)],this[_0x6a38d4(0x235)],this['_awaitingChangeset'],[],null,[_0x192a37],this['_handler']);try{const _0x2b43c4=this['_transformService']['transformChangesets']([_0x192a37],[this[_0x6a38d4(0x3eb)]],!0x1);if(p[_0x6a38d4(0x394)](_0x2b43c4)){const {c1Prime:_0x37c71f,c2Prime:_0x152d78}=_0x2b43c4;this[_0x6a38d4(0x4f9)](_0x37c71f[0x0]),_0x152d78[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x6b33f8=this['_injector'][_0x6a38d4(0x45d)](fe,this[_0x6a38d4(0x2ea)],this[_0x6a38d4(0x235)],_0x152d78[0x0],this[_0x6a38d4(0x3df)]);return _0x6b33f8['_updateLocalCache'](),_0x6b33f8;}return this[_0x6a38d4(0x306)](!0x1);}catch(_0x50ee48){return this[_0x6a38d4(0x52a)][_0x6a38d4(0x395)](_0x50ee48),this[_0x6a38d4(0x306)](!0x1);}}['onRemoteAck'](_0x278f7e){const _0x4119f0=_0x5a89b4;this['_clearScheduledTask']();const _0x1ecc18=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);if(_0x278f7e[_0x4119f0(0x5c0)]<_0x1ecc18-0x1)return this;if(this[_0x4119f0(0x4cd)](_0x278f7e))return this[_0x4119f0(0x274)][_0x4119f0(0x45d)](re,this[_0x4119f0(0x2ea)],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x4119f0(0x3df)]);this[_0x4119f0(0x2ff)]();const _0x1279c0=this[_0x4119f0(0x274)]['createInstance'](Oe,this[_0x4119f0(0x2ea)],this[_0x4119f0(0x235)],this[_0x4119f0(0x3df)]);return _0x1279c0[_0x4119f0(0x5f1)](),_0x1279c0;}[_0x5a89b4(0x496)](_0x414da7){const _0xa5fef5=_0x5a89b4;return this['_onConflict'](!!(_0x414da7!=null&&_0x414da7[_0xa5fef5(0x26d)]));}[_0x5a89b4(0x348)](_0x700c73){const _0x4bff25=_0x5a89b4;return this[_0x4bff25(0x5b1)]>dn?this['toggleOffline']():(this[_0x4bff25(0x5e9)]=un(this[_0x4bff25(0x5b1)],{'timeout':this['_resendTimeout'],'reqId':_0x700c73[_0x4bff25(0x1fe)]}),this['_sender']=this['_resendTimer'][_0x4bff25(0x3d8)](({reqId:_0x553157,timeout:_0x3a75b8})=>{this['_resendWithTimeout'](_0x553157,_0x3a75b8);}),this);}['toggleOffline'](){const _0xd3454d=_0x5a89b4;return this['_clearScheduledTask'](),this[_0xd3454d(0x274)][_0xd3454d(0x45d)](Se,this[_0xd3454d(0x2ea)],this[_0xd3454d(0x235)],this[_0xd3454d(0x3eb)],[],this[_0xd3454d(0x3df)]);}[_0x5a89b4(0x3c4)](){return this;}['resend'](){const _0x34d6ff=_0x5a89b4;this['_handler'][_0x34d6ff(0x1ae)](this[_0x34d6ff(0x3eb)]);}[_0x5a89b4(0x306)](_0x107f10){const _0x427d13=_0x5a89b4;return this[_0x427d13(0x3c5)](),this[_0x427d13(0x274)][_0x427d13(0x45d)](ve,this['unitID'],this[_0x427d13(0x235)],this[_0x427d13(0x3eb)],[],this['_handler'],_0x107f10);}[_0x5a89b4(0x53d)](_0x1d08c6,_0x1c14e3){const _0x4cbb43=_0x5a89b4;var _0x59d9b9;_0x1d08c6===((_0x59d9b9=this[_0x4cbb43(0x3eb)])==null?void 0x0:_0x59d9b9[_0x4cbb43(0x1fe)])&&(this[_0x4cbb43(0x32f)](),this[_0x4cbb43(0x5b1)]=_0x1c14e3===0x0?0x3e8:_0x1c14e3*0x2);}[_0x5a89b4(0x3c5)](){const _0x92f387=_0x5a89b4;var _0x50da62;(_0x50da62=this[_0x92f387(0x574)])==null||_0x50da62[_0x92f387(0x2c2)](),this['_resendTimeout']=0x0;}};fe=Ce([N(0x4,a[_0x5a89b4(0x3d5)](a[_0x5a89b4(0x217)])),N(0x5,a[_0x5a89b4(0x3d5)](p[_0x5a89b4(0x3d9)])),N(0x6,a[_0x5a89b4(0x3d5)](exports[_0x5a89b4(0x4e3)])),N(0x7,a[_0x5a89b4(0x17d)]),N(0x8,a[_0x5a89b4(0x3dd)]),N(0x9,p[_0x5a89b4(0x3f4)]),N(0xa,a[_0x5a89b4(0x54d)])],fe);let le=class extends Ee{constructor(_0x3d37f9,_0x38d352,_0x5eaf18,_0x2d899b,_0x4674b1,_0x49e31a,_0x575745,_0x2034a4,_0x511b8a,_0x3926c4,_0x2d9d71,_0x5f572c,_0x100d41){const _0x333227=_0x5a89b4;super(_0x3d37f9,_0x38d352,_0x5eaf18,_0x2d899b,_0x4674b1,_0x3926c4,_0x100d41,_0x2034a4,_0x511b8a),I(this,_0x333227(0x54c),_0x333227(0x31a)),I(this,_0x333227(0x5b1),0x0),I(this,_0x333227(0x5e9)),I(this,_0x333227(0x574)),(this['_injector']=_0x575745,this[_0x333227(0x52a)]=_0x2d9d71,this[_0x333227(0x18f)]=_0x5f572c,_0x49e31a&&(this[_0x333227(0x5e9)]=_0x49e31a,this[_0x333227(0x574)]=this[_0x333227(0x5e9)][_0x333227(0x3d8)](({reqId:_0x21b2b1,timeout:_0x7eff13})=>{const _0xd93e58=_0x333227;this[_0xd93e58(0x53d)](_0x21b2b1,_0x7eff13);})));}[_0x5a89b4(0x21f)](_0x335f33){const _0x2244ee=_0x5a89b4;return this['_pendingMutations'][_0x2244ee(0x1d0)](_0x335f33),this;}[_0x5a89b4(0x537)](_0x169597){const _0x1cee8b=_0x5a89b4;if(this[_0x1cee8b(0x4cd)](_0x169597))return this['_clearScheduledTask'](),this[_0x1cee8b(0x274)][_0x1cee8b(0x45d)](re,this[_0x1cee8b(0x2ea)],this['type'],this[_0x1cee8b(0x3eb)],this['_pendingMutations'],null,[_0x169597],this[_0x1cee8b(0x3df)]);try{const _0x4575bc=this[_0x1cee8b(0x18f)]['transformChangesets']([_0x169597],[this['_awaitingChangeset']],!0x1);if(p[_0x1cee8b(0x394)](_0x4575bc)){const {c1Prime:_0x584033,c2Prime:_0x49e3f4}=_0x4575bc,_0x2412df=this[_0x1cee8b(0x18f)][_0x1cee8b(0x4d1)](_0x584033[0x0],this['_pendingMutations']);if(p[_0x1cee8b(0x584)](_0x2412df)){const {c1Prime:_0x5be9bc,m2Prime:_0x119e08}=_0x2412df;return this['_executeRemoteChangeset'](_0x5be9bc),_0x49e3f4[0x0][_0x1cee8b(0x47a)]=this[_0x1cee8b(0x512)](),this[_0x1cee8b(0x3c5)](),this['_injector'][_0x1cee8b(0x45d)](le,this[_0x1cee8b(0x2ea)],this[_0x1cee8b(0x235)],_0x49e3f4[0x0],_0x119e08,this[_0x1cee8b(0x3df)],void 0x0);}throw _0x2412df[_0x1cee8b(0x395)];}throw _0x4575bc[_0x1cee8b(0x395)];}catch(_0x210bdf){return this[_0x1cee8b(0x52a)]['error'](_0x210bdf),this[_0x1cee8b(0x306)](!0x1);}}[_0x5a89b4(0x174)](_0x554f06){const _0x44b8bd=_0x5a89b4;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x554f06))return this[_0x44b8bd(0x274)][_0x44b8bd(0x45d)](re,this[_0x44b8bd(0x2ea)],this[_0x44b8bd(0x235)],null,this[_0x44b8bd(0x58c)],this[_0x44b8bd(0x3eb)],[],this['_handler']);this[_0x44b8bd(0x2ff)]();const _0x52f8fc=this[_0x44b8bd(0x274)][_0x44b8bd(0x45d)](ce,this[_0x44b8bd(0x2ea)],this[_0x44b8bd(0x235)],this[_0x44b8bd(0x58c)],this[_0x44b8bd(0x3df)]);return _0x52f8fc[_0x44b8bd(0x4bb)](),_0x52f8fc[_0x44b8bd(0x5f1)](),_0x52f8fc;}['onRemoteRej'](_0x1286cd){const _0xf55f0d=_0x5a89b4;return this[_0xf55f0d(0x306)](!!(_0x1286cd!=null&&_0x1286cd[_0xf55f0d(0x26d)]));}[_0x5a89b4(0x348)](_0x432cf8){const _0x288fe8=_0x5a89b4;return this[_0x288fe8(0x5b1)]>dn?this[_0x288fe8(0x5a0)]():(this[_0x288fe8(0x5e9)]=un(this['_resendTimeout'],{'timeout':this[_0x288fe8(0x5b1)],'reqId':_0x432cf8['reqId']}),this[_0x288fe8(0x574)]=this[_0x288fe8(0x5e9)][_0x288fe8(0x3d8)](({reqId:_0x437942,timeout:_0xd0f434})=>{const _0x4892c2=_0x288fe8;this[_0x4892c2(0x53d)](_0x437942,_0xd0f434);}),this);}[_0x5a89b4(0x5a0)](){const _0x2da8ac=_0x5a89b4;return this[_0x2da8ac(0x3c5)](),this[_0x2da8ac(0x274)][_0x2da8ac(0x45d)](Se,this['unitID'],this['type'],this[_0x2da8ac(0x3eb)],this[_0x2da8ac(0x58c)],this[_0x2da8ac(0x3df)]);}[_0x5a89b4(0x3c4)](){return this;}[_0x5a89b4(0x32f)](){const _0x43a684=_0x5a89b4;this[_0x43a684(0x3df)][_0x43a684(0x1ae)](this[_0x43a684(0x3eb)]);}[_0x5a89b4(0x306)](_0x437b9b){const _0x51a359=_0x5a89b4;return this[_0x51a359(0x3c5)](),this[_0x51a359(0x274)][_0x51a359(0x45d)](ve,this[_0x51a359(0x2ea)],this[_0x51a359(0x235)],null,this[_0x51a359(0x58c)],this['_handler'],_0x437b9b);}[_0x5a89b4(0x53d)](_0x419763,_0x467667){const _0x506dc8=_0x5a89b4;var _0x5e125d;_0x419763===((_0x5e125d=this[_0x506dc8(0x3eb)])==null?void 0x0:_0x5e125d[_0x506dc8(0x1fe)])&&(this['resend'](),this[_0x506dc8(0x5b1)]=_0x467667===0x0?0x3e8:_0x467667*0x2);}[_0x5a89b4(0x3c5)](){const _0x56eba8=_0x5a89b4;var _0x13bf60;(_0x13bf60=this[_0x56eba8(0x574)])==null||_0x13bf60[_0x56eba8(0x2c2)](),this[_0x56eba8(0x5b1)]=0x0;}};le=Ce([N(0x6,a[_0x5a89b4(0x3d5)](a[_0x5a89b4(0x217)])),N(0x7,a[_0x5a89b4(0x3d5)](p[_0x5a89b4(0x3d9)])),N(0x8,a['Inject'](exports[_0x5a89b4(0x4e3)])),N(0x9,a['ICommandService']),N(0xa,a['ILogService']),N(0xb,p[_0x5a89b4(0x3f4)]),N(0xc,a[_0x5a89b4(0x54d)])],le);let ve=class extends Ee{constructor(_0x200441,_0x95d64a,_0x1a9a43,_0x5bcf4c,_0x40d92d,_0x8c7d88=!0x1,_0x5317aa,_0x14c51c,_0x8817f5,_0x116f8b,_0x2b8412,_0x1d734e,_0x33f043){const _0x5534d5=_0x5a89b4;super(_0x200441,_0x95d64a,_0x1a9a43,_0x5bcf4c,_0x40d92d,_0x14c51c,_0x8817f5,_0x2b8412,_0x116f8b),I(this,_0x5534d5(0x54c),'conflict'),(this[_0x5534d5(0x1b4)]=_0x8c7d88,this[_0x5534d5(0x56c)]=_0x5317aa,this[_0x5534d5(0x37c)]=_0x1d734e,this[_0x5534d5(0x285)]=_0x33f043,this[_0x5534d5(0x190)](),this[_0x5534d5(0x363)](),this['_disableEditing']());}[_0x5a89b4(0x21f)](){return this;}[_0x5a89b4(0x537)](){return this;}[_0x5a89b4(0x174)](){return this;}[_0x5a89b4(0x496)](){return this;}['onRemoteRetry'](){return this;}[_0x5a89b4(0x5a0)](){return this;}[_0x5a89b4(0x3c4)](){return this;}[_0x5a89b4(0x32f)](){const _0x3a1f32=_0x5a89b4;throw new Error(_0x3a1f32(0x2c8));}[_0x5a89b4(0x363)](){const _0x3a6620=_0x5a89b4;this[_0x3a6620(0x470)][_0x3a6620(0x261)](this[_0x3a6620(0x2ea)],this[_0x3a6620(0x235)],null,[]);}[_0x5a89b4(0x190)](){const _0x185049=_0x5a89b4;this[_0x185049(0x1b4)]?this[_0x185049(0x285)][_0x185049(0x2ad)]({'title':this[_0x185049(0x37c)]['t'](_0x185049(0x2e4)),'content':this[_0x185049(0x37c)]['t'](_0x185049(0x405)),'type':_0x185049(0x395),'duration':0x0}):this['_notificationService']['show']({'title':this[_0x185049(0x37c)]['t'](_0x185049(0x181)),'content':this[_0x185049(0x37c)]['t'](_0x185049(0x32e)),'type':'error','duration':0x0});}[_0x5a89b4(0x3b3)](){const _0x5e16f4=_0x5a89b4;this[_0x5e16f4(0x56c)][_0x5e16f4(0x313)](new B[(_0x5e16f4(0x170))](this[_0x5e16f4(0x2ea)])['id'],!0x1);}};ve=Ce([N(0x6,a[_0x5a89b4(0x3d5)](a[_0x5a89b4(0x2b4)])),N(0x7,a[_0x5a89b4(0x17d)]),N(0x8,a[_0x5a89b4(0x54d)]),N(0x9,a[_0x5a89b4(0x3d5)](exports[_0x5a89b4(0x4e3)])),N(0xa,a[_0x5a89b4(0x3d5)](p['RevisionService'])),N(0xb,a[_0x5a89b4(0x3d5)](a[_0x5a89b4(0x3a3)])),N(0xc,te[_0x5a89b4(0x55b)])],ve);let Se=class extends Ee{constructor(_0x58d58e,_0x2d4e1d,_0x22bfad,_0x4ce3ff,_0x2a4b3c,_0x37aaad,_0x1afec6,_0x137a99,_0x3035e3,_0x169e1f){const _0x997143=_0x5a89b4;super(_0x58d58e,_0x2d4e1d,_0x22bfad,_0x4ce3ff,_0x2a4b3c,_0x3035e3,_0x169e1f,_0x1afec6,_0x137a99),I(this,_0x997143(0x54c),_0x997143(0x5d9)),this[_0x997143(0x274)]=_0x37aaad;}[_0x5a89b4(0x21f)](_0x373ce9){const _0x529983=_0x5a89b4;return this['_pendingMutations'][_0x529983(0x1d0)](_0x373ce9),this['_updateLocalCache'](),this;}[_0x5a89b4(0x537)](_0x18d1e3){const _0x160dd3=_0x5a89b4;throw new Error(_0x160dd3(0x1ff));}[_0x5a89b4(0x174)](){const _0x2c8cfb=_0x5a89b4;throw new Error(_0x2c8cfb(0x27a));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x5a89b4(0x5a0)](){return this;}[_0x5a89b4(0x3c4)](){const _0x23e86e=_0x5a89b4,{_injector:_0x286a92,_pendingMutations:_0x27b634,_awaitingChangeset:_0x328695,unitID:_0x3de187,_handler:_0x430235,type:_0xce79a6}=this,_0x18e9ed=fn(_0x286a92,_0x3de187,_0xce79a6,_0x328695,_0x27b634,_0x430235);return _0x18e9ed instanceof ce?_0x18e9ed[_0x23e86e(0x4bb)]():(_0x18e9ed instanceof le||_0x18e9ed instanceof fe)&&_0x18e9ed[_0x23e86e(0x32f)](),_0x18e9ed;}[_0x5a89b4(0x32f)](){const _0x1747ce=_0x5a89b4;throw new Error(_0x1747ce(0x252));}};Se=Ce([N(0x5,a[_0x5a89b4(0x3d5)](a[_0x5a89b4(0x217)])),N(0x6,a['Inject'](p['RevisionService'])),N(0x7,a[_0x5a89b4(0x3d5)](exports[_0x5a89b4(0x4e3)])),N(0x8,a[_0x5a89b4(0x17d)]),N(0x9,a['IUndoRedoService'])],Se);function _0x295e(){const _0x4b95ba=['roomMembers','transformMutation','distinctUntilChanged','registerRefRange','getDeserializedSheetBlock','MemberService','sigBytes','triggerDblclick','TEXT_RANGE_LAYER_INDEX','resize','_resendTimeout','EmptyMutation','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','commentUpdateEvent','slice','clone','ALREADY_EXISTS','LOCAL_CACHE_INTERVAL_KEY','_entities','add','_setupSubUnitSync','_candidateSocket','DocStateChangeManagerService','_waitForHeartbeatResponse','defineProperty','revision','MoveRangeCommandId','SheetsSelectionsService','removeParam','_online','mapTo','concat','JSONX','_getSnapshotAPIPrefix','image/bmp','_onUserLeave','_socketMessageSubscription','unitId\x20is\x20not\x20found','Unknown\x20user','_append','ciphertext','objects','rxjs','Subject','for','_labelPosition','clear','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_startDocCollabCursor','JOIN_ROOM_NOT_ALLOWED','offline','_commandService','11GiDYZS','black','collaboration.closeRoom','initWorkbookPermissionChange','getUnitId','sessionStatus$','_getAnchorBounding','_hideTimer','_key','name','location','#FFF','onTransformState','_config','_resendTimer','UUID','CollaborationStatusDisplay','[CollaborationState]:\x20apply\x20error!','online','tag','JOIN','SnapshotService','_updateLocalCache','SEND_CHANGESET_TIMEOUT','_onConnectionFailed','awaitingChangeset','_initMergeInterceptor','transformSelections','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','DesktopCollaborationStatusDisplayController','authzUrl','currentTheme$','getValue','selection','unit-cache-','onTransformChange$','m1Prime','_onCursorDelete','c1Prime','changesets','CBC','reconnect','sheetId','...','InsertSheetMutation','_parse','ONLINE','_color','$super','gold400','csShouldRetryEvent','useRef','_updateStatus','collaboration-client.config','eventID','uni.network.url-service','\x20-\x20','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_anchorDot','{fileID}','onload','SHA1','UNRECOGNIZED','_onCombEvent','asObservable','LOGIN_URL_KEY','contains','_submitChangeset','HmacMD5','disposeWithMe','_createSocketURL','_scheduleClearOtherTimer','HEADER_MENU','_configService','key','currentColor','_instanceService','RETRY_CONNECTING_MAX_COUNT_KEY','create','actions','deleteCollaborator','@univerjs/design','SetTextSelectionsOperation','startColumn','_saveCache','endColumn','getResourcesRequest','WorkbookEditablePermission','saveImage','@univerjs/engine-render','registerOnClose','onRemoteAck','exports','_data','SessionStatus','status$','json','getFocusedUnit','children','min','ICommandService','updatePermissionObjEvent','ws://127.0.0.1:8000/universer-api/comb/connect','LIVESHARE_REQUEST_HOST','conflict.title','getSheetObject','close$','_getRedoStack','AuthzIoHttpService','[UniverCollaborationClientPlugin]','[FetchMissState]','CONFLICT','size','capture','IRenderManagerService','_unitStatus','duration','some','_transformService','_showConflictNotification','_scheduleCollaborationTimeoutTimer','format','@univerjs/drawing','_transitionLocked','_getLoginPath','serializeRangeWithSheet','_onRecvEvent','_fetchMissChangesets','runRefRangeMutations','POST','[CollaborationSession]','CollaborationSessionService','/universer-api/snapshot/','_docSyncEditingCollabCursorService','parseProtocolChangeset','finalize','randomUUID','__creator','url(#off-line-single_clip0_910_343)','unknown','use','_docTransformSelectionsService','fillRule','_assignedColors','_collaborationPaused','isArray','editing\x20status\x20changed\x20to','_createHandler','pad','onSendChangeset','UniverInstanceType','complete','url(#on-line-single_clip0_910_349)','getTypeOfUnitAdded$','blue400','_isPermissionRej','_event$','addEventListener','getCollabCursors$','_init','_removeCollabCursors','_tryEnsureSocket','onTransformSelections','FETCH_MISSING','react.element','getAncestorScale','roomMembers$','copyFileMeta','_scheduleSaving','message$','then','_http','objectID','deepClone','subunit','ref','ReplaySubject','Rect','_listenToOfflineEvent','_type','MessageType','state$','HEARTBEAT_TIMEOUT_KEY','push','getCurrentRevOfUnit','signUrlServerUrl','IImageIoService','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','DataLoaderController','CipherParams','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','react','entries','_handleHover','dispose','/block/','getVpScrollXYInfoByPosToVp','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','collaboration-session-retry','UNIVER_COLLABORATION_CLIENT_PLUGIN','InsertRangeMoveRightCommandId','getCurrentSelections','requestParams','SnapshotServerOverHTTPService','_retryCount','collaboration-client.offline-data-not-saved','join','@univerjs-pro/collaboration','src','iterations','Malformed\x20UTF-8\x20data','_docSkeleton','/allowed','splice','_createInitialStateImpl','toStringTag','_unlockTransition','_transformHistoryAndStateStack','LocalUndoRedoService','backgroundColor','univerjs-icon\x20univerjs-icon-','_prevBlock','CollaborationController','image/jpg','createSocket','font','values','DeleteRangeMoveLeftCommandId','ImageSourceType','reqId','[OfflineState]:\x20received\x20changeset.','ivSize','createCollaborator','reject','setActiveRange','delete','function','uploadFileServerUrl','_render','setShapeProps','merge','_keySchedule','MD5','RegularPolygon','0\x200\x2017\x2016','_applyRemoteChangeset','_getScale','debug','skeleton','objectActions','Utf8','cursorInfo$','registerBeforeClose','AES','Injector','disableLocalCache','_onRefRangeChange','_hash','getMember','IUniverInstanceService','bottom','YUUMI_URL_COL_OUT_OF_RANGE','appendMutation','[PendingState]:\x20received\x20rejection.','substring','UNIVER_DOC','getStateCache','_docSkeletonManagerService','PERMISSION_DENIED','_queuedRemoteChangesets','getOwnPropertyDescriptor','SetDocZoomRatioOperation','_draw','setTimeout','decrypt','append','putCollaborators','UNIVER_UNKNOWN','_unitID','_getSheetObject','438BoKbTv','CHANGESET_REVISION_CONFILICT','NEW_CHANGESETS','cursorInfo','type','_transformIMECache','fetchMissingChangesets','executeCommand','_name','_startCollaboration','_socket$','sheets','[CollaborationSessionService]:\x20socket\x20error','NOT_COLLAB','DEFAULT_FILE_NAME','sendChangesetTimeout','lib','Cipher','_sheetTransformSelectionsService','CollaborationSession','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UniverCollaborationClientPlugin','collab-client.tooltip.reconnect','handleInsertRangeMoveDown','getCurrentUser','ThemeService','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','/fetchmissing?from=','getDocRanges','_getSaveTimeout','_initResize','activeSheet$','Decryptor','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','image/jpeg','/universer-api/user/session-ticket','univer-online-status-title','dispose$','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','PENDING','_initStatusComponent','collabStatus.syncing','getRandomValues','UNIVER_PROJECT','_onRemoteRetry','shouldCloseConn','addObject','onlineStatus','updateOfflineData','getUnitOnRev','findNodePositionByCharIndex','_onOffline','getActiveSheet','JOINING','url(#$1','_handleJoinEvent','onPointerEnter$','list','COLORS','collab-text-range-','isPermissionRej','_remoteChangesetQueue','LIVESHARE_FETCH_OPERATIONS','_getSessionTicket','_createInitialState','map','_loadDoc','_injector','_clearRedo','exhaustSavingTask','&to=','enableSingleActiveInstanceLock','charCodeAt','[OfflineState]:\x20received\x20acknowledgement.','_getUndoStack','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','urlChange$','UnitSnapshot','Hex','ITelemetryService','_toggleOffline','Base64','purple300','syncEditingCollabCursor','_notificationService','OffLineSingle','getConfig','getUnhiddenWorksheets','OFFLINE','LOCAL_CACHE_INTERVAL','22655310TXGeWp','combineLatest','Base','init','_scene','defIds','_onUserJoin','getOffsetConfig','_compressMutationService','HTTPService','COLLAB_SUBMIT_CHANGESET_URL','LICENSE_DISTRO_REJECTED','LICENSE_EXPORT_SIZE_EXCEEDED','crypto','jsxs','_doReset','IDLE','memberID','_state$','@univerjs/sheets','height','USERS_ENTER','onCommandExecuted','method','clipPath','pending','setStateCache','useCallback','_rescheduleHeartbeat','@univerjs/rpc','_onCursorUpdate','salt','getAllMembers','collabCursorState$','show','UPDATE_CURSOR','propertyIsEnumerable','enableLocalCache','_DEC_XFORM_MODE','DeleteRangeMoveUpCommandId','isEditing','IPermissionService','25852ztBaYX','react.fragment','docStateChange$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','apply','\x0aAfter:\x20','split','LIVESHARE_OPERATION','endRow','[SyncedState]:\x20received\x20rejection.','touchDependencies','_process','_snapshotServerService','unsubscribe','ImageUploadStatusType','send','COMPLETION_FINISHED','session.will-retry','createIdentifier','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','round','sid','image/png','_entityInit$','SheetSkeletonManagerService','_decreaseWaiting','isActive','toLowerCase','colorChannel1','_getSendChangesetTimeout','collaboration_new_changeset','undoState','encode','rev','flatMap','CommentService','getTime','RxDisposable','width','CollaborationEntity','COMPRESS_MUTATION_SEND','COLLAB_WEB_SOCKET_URL_KEY','_initCloseConn','_initRequestHeader','HMAC','_getSignURL','PERMISSION_REJ','permission.title','UniverIcon','_handleEvent','NoPadding','algo','takeUntil','unitID','collabStatus.offline','_minBufferSize','_urlService','_transformStack','mergeOverrideWithDependencies','8507997IXylyg','addObjects','SYNCED','result','resolve','IUIPartsService','SNAPSHOT_URL_KEY','TOO_MANY_REQUESTS','session.connection-failed','lineTo','getOwnPropertySymbols','_session','from','getTypeOfUnitDisposed$','searchParams','_incrementRevisionNumber','_redoStacks','_themeService','defs','filter','_collabCursorState$','_transformUndoRedoStack','_onConflict','Warning','VIEW_MAIN','_ENC_XFORM_MODE','_registerDependencies','transformRemoteChangeset','getSheetBlock','_range','cmd','getUniverSheetInstance','collaboratorID','[PendingState]:\x20received\x20acknowledgement.','substr','updatePermissionPoint','_onJoinRoomEvent','_sendHeartbeat','padding','SEND_CHANGESET_TIMEOUT_KEY','on-line-single_clip0_910_349','MergeInterceptorFactory','awaiting_with_pending','_undoRedoService','resourceIDs','_context','_substituteUndoStack','override','_updateSubUnitFromURLParams','IBeforeCloseService','newValue','code','_cachedData','_unitOnClients','_onConnectionOpen','objectType','Shape','ACTIVE_UNIT_EVENT_CHANNEL','enc','_keyPriorReset','__Key__','origin','conflict.content','resend','m2Prime','mixIn','/-/object/list','getCollabEntity','assignAColorForMemberID','onMissingChangesets','handleIRemoveCol','moveTo','switchMap','fromCharCode','useDependency','_socketService','_clearUndo','redoState','object','SNAPSHOT_HAS_BEEN_REMOVED','UPDATE_PERMISSION_OBJ','_transformUndoredo','YUUMI_SUBSCRIPTION_NOT_FOUND','Univer','_cursors','refreshPermission','svg','SNAPSHOT_SERVER_URL_KEY','onRemoteRetry','responseType','HEARTBEAT_TIMEOUT','RichTextEditingMutation','none','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_createHelper','_transformSelections','YUUMI_UNABLE_LOAD_URL','_localStorageService','set','_updateLocalCursor','_change$','APPLY_REJECT','_drawAnchor','YUUMI_RATE_OVER_LIMIT','@univerjs/docs-ui','className','call','_shapes','readAsDataURL','@univerjs/core','RefRangeService','rgba(255,\x20255,\x20255,\x200.01)','FromArray','_startSheetCollabCursor','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_clearLocalCache','update','getInterceptPoints','createDecryptor','measureText','WebSocketService','VIEWPORT_KEY','_eventUnsubscribe','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','SheetCollabCursorShape','sheetID','_nDataBytes','sin','univer-online','unshift','handleMoveRange','getCoordByCell','univer-offline','DocIMEInputManagerService','trim','compose','onMouseMove','_httpService','onRendered','_xformMode','_localeService','transformChangesets','414zPNnOp','_initCommandExecutedListener','_sessions','collabStatus.conflict','onReady','history','getLatestCsReqIdBySid','getSheetBySheetId','_status$','fillText','headers','@univerjs/engine-formula','now','IMessageService','handleDeleteRangeMoveLeft','selections','INVALID_ARGUMENT','post','image/gif','replaceState','drawWith','Error\x20on\x20receiving\x20event','isTransformChangesetsSuccess','error','collabStatus.fetchMiss','/collaborator','fetching\x20missing\x20changesets\x20from\x20','div','_lockTransition','routeKey','unit','byteOffset','setAlpha','_shouldReportTelemetry','Module','fromCollab','ISnapshotServerService','LocaleService','forEach','/universer-api/snapshot','ticket','_nRounds','_collaborationSessionService','INGEST','socketService','_setupBeforeClosingHandler','_disabled','SHOULD_CLOSE_CONN','default','prototype','LIVESHARE_TERMINATE','Hasher','TEXT','_disableEditing','useObservable','setConfig','_syncEditingCollabCursorService','_iKey','PasswordBasedCipher','session','CommandType','b64DecodeUnicode','clamp','getWorkbookSelections','APPLY_PERMISSION_DENIED','cfg','clearInterval','FETCH_MISS','_retryConnectingTimer','getUndoRedoMutationParamsCache','toggleOnline','_clearScheduledTask','/-/object/-/batch_allowed','text','LIVESHARE_NEW_HOST','execute','off-line-single_clip0_910_343','sessionStatus','getSkeleton','shareReplay','_initStatusListener','getParam','_initDependencies','APPLY_REVISION_CONFILICT','batchAllowed','onSyncEditingCollabCursor','DocSkeletonManagerService','Inject','_updateURLWithCurrentState','_state','subscribe','RevisionService','WordArray','_getMergeRange','_getAPIPrefixPath','ILogService','_onFetchMissResult','_handler','jsx','startTime','red300','_clearCollaborationTimeoutTimer','data','INTERNAL_ERROR','_collaborationController','hostname','buffer','unitId','connectInjector','_awaitingChangeset','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','updateMember','_clearTimeoutTimer','take','blockSize','encryptBlock','registerRenderModule','[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.','ITransformService','action','_HTTPService','_anchor','_revisionService','color','getRangePointData','clearTimeout','idSuffix','SheetPermissionInitController','_transformStateCache','createEncryptor','deserializeToCombResponse','assign','parse','registerHTTPInterceptor','_beforeCloseService','permission.content','words','/unit/','transformUndoRedo','_scheduleTimestamp','_doCryptBlock','ceil','storage','FAIL','_map','downloadEndpointUrl','change$','floor','Error','8491072OxLpym','_members','_selfUnitIDs','onCommentUpdate','SetSelectionsOperation','rng','listRoles','ENSURE_SNAPSHOT_EXECUTION','saveOfflineData','Encryptor','_roomMembers$','_exhaustRemoteChangesetQueue','_commentUpdate$','find','_ensureSubject','_clearHeartbeatTimer','UNIVER_SLIDE','every','_drawRectRange','SNAPSHOT_INVALID_SNAPSHOT','_hover','18moangf','@univerjs/sheets-ui','pushState','reduce','interceptor','SUBMIT_CHANGESET','Rectangle','registerComponent','handleDeleteRangeMoveUp','hasOwnProperty','_docTransformStateCacheService','getUnitStatus$','_toggleOnline','CollaborationStatus','UNDEFINED','hasher','extend','connection\x20error','[CollaborationEntity]','_collabSessionService','_handleLeaveEvent','[SyncedState]:\x20received\x20acknowledgement.','IContextService','visibilityState','0\x200\x2016\x2016','_onRemoteChangeset','_startTelemetryCollaborationNewChangeset','_reverseMap','Tools','[DataLoaderController]','includes','M0\x200H16V16H0z','_initUnitPermissionChange','bind','_messageService','_transformRemoteChangesetByStateCache','_createSocket','collab-text-anchor-','state','CollaborationEvent','_hovered','CompressMutationService','loadOfflineData','onStateChange','BlockCipherMode','/resources','stringify','_docTransformIMECacheService','_uiPartsService','_sheetSkeletonManagerService','CHANGESET_ACK','CHANGESET_SHOULD_RETRY','MSG_FOR_ERROR','createInstance','subUnitId','RECT','_getAPIPrefix','_onRemoteRejected','range','_clearOtherTimers','_socket','setItem','isTransformMutationsWithChangesetFailure','fetch_missing','deserializeRangeWithSheet','href','DocCollaborationEntity','COMPRESS_MUTATION_APPLY','ICollaborationSocketService','updateCollaborator','Undefined','subscribeEvent','_localCacheService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_joinRoom','indexOf','_send','setShowComponents','msCrypto','row','url','UNIVER_SHEET','baseRev','transformStack\x20failed!','byteLength','_memberService','/role','_invKeySchedule','ImageIoService','_removeRoom','serializeCombRequest','Plugin','ERROR_IMAGE','symbol','save','HmacSHA1','patch','localeService','mutations','ILocalStorageService','_hasher','CollaborationSocketService','workbook','_substituteRedoStack','univer-pro.collaboration-client.single-active-unit-service','body','socket\x20close','loginUrlKey','liveShareOperation','_iv','onRemoteRej','updateCursorEvent','originalMeta','OpenSSL','HELLO','_createHmacHelper','icon','fillStyle','HEARTBEAT','visibilitychange','_syncEditingCollabCursor','charAt','CHANGESET_REJ','path','params','getImage','1em','disposeUnit','/universer-api/file/{fileID}/sign-url','auth.needGotoLoginAlert','Pkcs7','onPointerMove$','_replayCachedMutations','string','LICENSE_MAX_UNITS_EXCEEDED','_throwTelemetryCollaborationNewChangeset','ThresholdInterceptorFactory','getUnitType','current','DOC_RANGE_TYPE','hidden','_univerInstanceService','collabWebSocketUrl','RemoveRowCommandId','all','_singleActiveUnitService','open$','_schedule','abs','defaultProps','_cursor','[CollaborationSessionService]','with','AWAITING_WITH_PENDING','BehaviorSubject','setParam','arc','getColor','getCurrentUnitForType','univer-pro.collaboration-client-socket-service','Disposable','_collaborationTimeoutTimer','transformIMECache','PSEUDO_FETCH_MISSING_RESULT','EvpKDF','_checkMissing','_socketReady','error$','_stopTelemetryCollaborationNewChangeset','transformMutationsWithChangeset','evenodd','_changesetSessionId','fetchThroughInterceptors','_updateCollabCursors','/object/','_roomMembers','IRemoteInstanceService','univer-online-status-icon','HEARTBEAT_INTERVAL_KEY','saveChangeset','_cipher','xlink:href','displayName','has','/rev/','ERROR_IMAGE_TYPE','_changesetReqId','LocalCacheService','_ws','replace','&assign=','TRANSFORM_CHANGE_OBSERVABLE_TYPE','CONNECTOR_DATA_TOO_LARGE','transformByState','collabSubmitChangesetUrl','_renderManagerService','collab-rect-range-','attrs','stopTime','getViewport','userID','forwardRef','awaiting','closeSession','HEARTBEAT_INTERVAL','COMMENT_UPDATE','_userManagerService','startsWith','compute','_executeRemoteChangeset','USERS_LEAVE','OTHER_CLIENTS_EDITING','getCellPositionByOffset','_drawTextRange','[CollaborationUndoRedoService]','RECV','_cursorInfo$','readInt32LE','toDisposable','mode','close','OnLineSingle','requireSession','FileId','enableAuthServer','members','generateRandomId','_waitCount','kdf','handleIRemoveRow','_id','liveShareNewHost','RETRY_CONNECTING_MAX_COUNT','_handleHeartbeatEvent','_getCurrentRevision','debounceTime','_scheduleHeartbeat','_backgroundColor','UNKNOWN_CMD','_docStateChangeManagerService','keySize','incrementRevOfUnit','EffectRefRangId','SheetCollaborationEntity','max','onStarting','DocSelectionManagerService','getMergeData','_sendHeartbeatTimer','UnitEmbedded','_timeoutTimer','DisposableCollection','_onLocalMutation','startRow','catch','makeDirty','HTTPRequest','reset','_logService','_telemetryService','next','_collabCursorController','fetchMiss','event$','debounce','addImageSourceCache','/universer-api/oidc/authpage','NodePositionConvertToRectRange','_cursorShapes','getSheetId','saveSheetBlock','onRemoteChangeset','_tryReconnect','_textBubble','AWAITING','focused$','_refreshCollabCursors','_resendWithTimeout','collaboration.single-unit.warning','beginPath','labelPosition','LICENSE_IMPORT_SIZE_EXCEEDED','SUCCUSS','InsertRangeMoveDownCommandId','isTransformMutationFailure','univer-online-status','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_sendingTimer','_removeClearOtherTimer','5526sxHDPQ','IURLService','toString','status','IUndoRedoService','UserManagerService','_doFinalize','handleInsertRow','HttpImport','_getUploadFileURL','top','length','_sessionStatus$','fromEventSubject','\x0aCurrent:\x20','verdancy600','WebURLService','_initEventListeners','INotificationService','SetWorksheetActivateCommand','_getDownloadEndpointURL','APPLY_DUPLICATED','HttpExport','onTransformRemoteChangesetByIMECache','_loadSheet','setCurrentUser','_oKey','pipe','__esModule','BASE64','_refRangeService','random','IConfigService','_mode','1446389YZXaNr','_permissionService','_replaceFileID','AUTHZ_URL_KEY','MUTATION','textEncoder','/universer-api/stream/file/upload','7891770kjMqxi','_saveTaskMap','_sender','target','isInternalEditorID','_lastPointer','getMemberID','restore','_colorAssignService','doc.mutation.rich-text-editing','delay','column','registerDependencies','synced','_heartbeatTimer','#fff','_acknowledgedAwaitingChangeset','onPointerLeave$','isTransformMutationsWithChangesetSuccess','_transformPreviousActiveRange','textRanges','Optional','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','ColorKit','_commentService','_telemetryInfo','_pendingMutations','get','csAckEvent','_imageSourceCache','randomBytes','fill','hide','_colorIndex','mapDocumentTypeToUniverType','infoRsp','NO_OTHER_CLIENTS_EDITING','_updateState','@univerjs/ui','put','getRenderById','throttleTime','encrypt','onTransformRemoteChangesetByStateCache','ranges','onTransformIME','toggleOffline','onlyLocal','createElement','_registerRenderDependencies','LEAVE','removeMember','getImageSourceCache'];_0x295e=function(){return _0x4b95ba;};return _0x295e();}let re=class extends Ee{constructor(_0x4b95da,_0x16b345,_0x41c181,_0x2fac89,_0x2a8edf,_0x10660e,_0x4ee305,_0x1f7869,_0x236616,_0x3905ef,_0xf12d66,_0x3d9b38,_0x253b49,_0x302d3d){const _0x356ea5=_0x5a89b4;super(_0x4b95da,_0x16b345,_0x41c181,_0x2fac89,_0x4ee305,_0x3d9b38,_0x253b49,_0x236616,_0x3905ef),I(this,'status',_0x356ea5(0x467)),(this[_0x356ea5(0x582)]=_0x2a8edf,this[_0x356ea5(0x226)]=_0x10660e,this['_injector']=_0x1f7869,this[_0x356ea5(0x52a)]=_0xf12d66,this[_0x356ea5(0x18f)]=_0x302d3d);}['onMissedChangesetFetched'](_0x586ef1){const _0x557569=_0x5a89b4;try{const _0x377623=[..._0x586ef1,...this[_0x557569(0x226)]],_0x4bb27c=[this[_0x557569(0x3eb)]||this['_acknowledgedAwaitingChangeset']][_0x557569(0x303)](_0x75e752=>!!_0x75e752);let _0x38ab1e,_0x1686a7;if(_0x4bb27c['length']){const _0x13d066=this[_0x557569(0x18f)][_0x557569(0x37d)](_0x377623,_0x4bb27c,!0x1);if(!p['isTransformChangesetsSuccess'](_0x13d066))throw _0x13d066[_0x557569(0x395)];_0x38ab1e=_0x13d066['c1Prime'],_0x1686a7=_0x13d066['c2Prime'];}else _0x38ab1e=_0x377623,_0x1686a7=[];let _0x2a4531=this[_0x557569(0x58c)];_0x38ab1e[_0x557569(0x3a4)](_0x42408f=>{const _0x4f4548=_0x557569;let _0x2fa52b;if(_0x2a4531['length']){const _0x9d6fe0=this[_0x4f4548(0x18f)][_0x4f4548(0x4d1)](_0x42408f,_0x2a4531);if(!p[_0x4f4548(0x584)](_0x9d6fe0))throw _0x9d6fe0[_0x4f4548(0x395)];_0x2fa52b=_0x9d6fe0[_0x4f4548(0x601)],_0x2a4531=_0x9d6fe0[_0x4f4548(0x330)];}else _0x2fa52b=_0x42408f;this[_0x4f4548(0x4f9)](_0x2fa52b);}),this[_0x557569(0x582)]&&this['_incrementRevisionNumber'](),this[_0x557569(0x3eb)]&&_0x1686a7[_0x557569(0x554)]&&(_0x1686a7[0x0]['baseRev']=this['_getCurrentRevision']());let _0x3a690d;if(this[_0x557569(0x3eb)]&&_0x2a4531[_0x557569(0x554)]!==0x0)_0x3a690d=this['_injector'][_0x557569(0x45d)](le,this[_0x557569(0x2ea)],this[_0x557569(0x235)],_0x1686a7[0x0],_0x2a4531,this[_0x557569(0x3df)],void 0x0);else{if(this[_0x557569(0x3eb)]&&_0x2a4531[_0x557569(0x554)]===0x0)_0x1686a7[0x0]['baseRev']=this[_0x557569(0x512)](),_0x3a690d=this[_0x557569(0x274)][_0x557569(0x45d)](fe,this[_0x557569(0x2ea)],this[_0x557569(0x235)],_0x1686a7[0x0],this[_0x557569(0x3df)]);else{if(_0x2a4531[_0x557569(0x554)]!==0x0){const _0x2917ea=this['_injector'][_0x557569(0x45d)](ce,this[_0x557569(0x2ea)],this[_0x557569(0x235)],_0x2a4531,this['_handler']);_0x2917ea[_0x557569(0x4bb)](),_0x3a690d=_0x2917ea;}else _0x3a690d=this['_injector'][_0x557569(0x45d)](Oe,this[_0x557569(0x2ea)],this[_0x557569(0x235)],this[_0x557569(0x3df)]);}}return _0x3a690d[_0x557569(0x5f1)](),_0x3a690d;}catch(_0x2f897e){return this[_0x557569(0x52a)][_0x557569(0x395)](_0x557569(0x187),'failed\x20to\x20apply\x20missed\x20changesets!',_0x2f897e),this['_injector']['createInstance'](ve,this[_0x557569(0x2ea)],this[_0x557569(0x235)],this[_0x557569(0x3eb)],this[_0x557569(0x58c)],this['_handler'],!0x1);}}[_0x5a89b4(0x32f)](){const _0x54bc93=_0x5a89b4;throw new Error(_0x54bc93(0x546));}[_0x5a89b4(0x21f)](_0x32d2dd){const _0x3a4b91=_0x5a89b4;return this[_0x3a4b91(0x58c)][_0x3a4b91(0x1d0)](_0x32d2dd),this;}[_0x5a89b4(0x537)](_0x2b6e49){const _0x199b82=_0x5a89b4;return this[_0x199b82(0x226)][_0x199b82(0x1d0)](_0x2b6e49),this;}[_0x5a89b4(0x174)](_0x17eca9){const _0x3f72e2=_0x5a89b4;if(this[_0x3f72e2(0x3eb)])return this[_0x3f72e2(0x582)]=this[_0x3f72e2(0x3eb)],this['_awaitingChangeset']=null,this;throw new Error(_0x3f72e2(0x1de));}[_0x5a89b4(0x496)](_0x5ccab4){const _0x3a1940=_0x5a89b4;return this[_0x3a1940(0x306)](!!(_0x5ccab4!=null&&_0x5ccab4['isPermissionRej']));}[_0x5a89b4(0x348)](){return this;}[_0x5a89b4(0x5a0)](){const _0x3865a8=_0x5a89b4;return this[_0x3865a8(0x274)][_0x3865a8(0x45d)](Se,this[_0x3865a8(0x2ea)],this[_0x3865a8(0x235)],this[_0x3865a8(0x3eb)],this[_0x3865a8(0x58c)],this[_0x3865a8(0x3df)]);}[_0x5a89b4(0x3c4)](){return this;}[_0x5a89b4(0x306)](_0x3ee4ae){const _0x5ea957=_0x5a89b4;return this[_0x5ea957(0x274)][_0x5ea957(0x45d)](ve,this[_0x5ea957(0x2ea)],this['type'],this[_0x5ea957(0x3eb)],this[_0x5ea957(0x58c)],this['_handler'],_0x3ee4ae);}};re=Ce([N(0x7,a[_0x5a89b4(0x3d5)](a['Injector'])),N(0x8,a[_0x5a89b4(0x3d5)](p[_0x5a89b4(0x3d9)])),N(0x9,a['Inject'](exports[_0x5a89b4(0x4e3)])),N(0xa,a[_0x5a89b4(0x3dd)]),N(0xb,a[_0x5a89b4(0x17d)]),N(0xc,a[_0x5a89b4(0x54d)]),N(0xd,p[_0x5a89b4(0x3f4)])],re);function fn(_0x55ebf7,_0x25b729,_0x89cb4c,_0x195259,_0x20e475,_0x426ed8){const _0x225a6c=_0x5a89b4;return _0x195259&&_0x20e475['length']?_0x55ebf7[_0x225a6c(0x45d)](le,_0x25b729,_0x89cb4c,_0x195259,_0x20e475,_0x426ed8,void 0x0):_0x195259?_0x55ebf7[_0x225a6c(0x45d)](fe,_0x25b729,_0x89cb4c,_0x195259,_0x426ed8):_0x20e475[_0x225a6c(0x554)]?_0x55ebf7[_0x225a6c(0x45d)](ce,_0x25b729,_0x89cb4c,_0x20e475,_0x426ed8):_0x55ebf7[_0x225a6c(0x45d)](Oe,_0x25b729,_0x89cb4c,_0x426ed8);}var ki=Object[_0x5a89b4(0x5bf)],Bi=Object[_0x5a89b4(0x227)],Rt=(_0x216cc3,_0x51a74f,_0x16ec49,_0x3b84a1)=>{const _0x2e342b=_0x5a89b4;for(var _0x4421f=_0x3b84a1>0x1?void 0x0:_0x3b84a1?Bi(_0x51a74f,_0x16ec49):_0x51a74f,_0x594b85=_0x216cc3[_0x2e342b(0x554)]-0x1,_0x5bb0b8;_0x594b85>=0x0;_0x594b85--)(_0x5bb0b8=_0x216cc3[_0x594b85])&&(_0x4421f=(_0x3b84a1?_0x5bb0b8(_0x51a74f,_0x16ec49,_0x4421f):_0x5bb0b8(_0x4421f))||_0x4421f);return _0x3b84a1&&_0x4421f&&ki(_0x51a74f,_0x16ec49,_0x4421f),_0x4421f;},H=(_0x19c035,_0x1f67ef)=>(_0x451082,_0x3541b5)=>_0x1f67ef(_0x451082,_0x3541b5,_0x19c035);exports[_0x5a89b4(0x2dc)]=class extends a[_0x5a89b4(0x2da)]{constructor(_0x329104,_0x5586d0,_0x43f8b3,_0x5a8955,_0x18c8c7,_0x3fde62,_0x65a90,_0xca2671,_0x4b2a97,_0x341240,_0x413637,_0x4e1761,_0x2201cb){const _0x1c8d99=_0x5a89b4;super(),I(this,'_state$',new A[(_0x1c8d99(0x4c2))](null)),I(this,_0x1c8d99(0x1ce),this['_state$'][_0x1c8d99(0x159)]()),I(this,_0x1c8d99(0x3d7)),I(this,'_collaborationPaused',!0x1),I(this,'_changesetSessionId',''),I(this,_0x1c8d99(0x4e2),0x0),I(this,_0x1c8d99(0x178),this['state$'][_0x1c8d99(0x564)](A[_0x1c8d99(0x272)](_0x5f137f=>_0x5f137f?_0x5f137f[_0x1c8d99(0x54c)]:q[_0x1c8d99(0x289)]),A[_0x1c8d99(0x3cd)](0x1))),I(this,_0x1c8d99(0x194),!0x1),I(this,_0x1c8d99(0x26e),[]),(this[_0x1c8d99(0x2ea)]=_0x329104,this[_0x1c8d99(0x3b9)]=_0x5586d0,this[_0x1c8d99(0x1cc)]=_0x43f8b3,this[_0x1c8d99(0x274)]=_0x5a8955,this['_localCacheService']=_0x18c8c7,this[_0x1c8d99(0x293)]=_0x3fde62,this['_localeService']=_0x65a90,this[_0x1c8d99(0x3f8)]=_0xca2671,this[_0x1c8d99(0x52a)]=_0x4b2a97,this[_0x1c8d99(0x5da)]=_0x341240,this[_0x1c8d99(0x44a)]=_0x413637,this[_0x1c8d99(0x56c)]=_0x4e1761,this[_0x1c8d99(0x4b9)]=_0x2201cb);}get[_0x5a89b4(0x44e)](){return this['_state'];}async[_0x5a89b4(0x28e)](){const _0x33021d=_0x5a89b4;if(this['state'])throw new Error(_0x33021d(0x36b));await this[_0x33021d(0x1b8)]();}['pauseCollaboration'](){const _0x21024a=_0x5a89b4;return this[_0x21024a(0x1a9)]=!0x0,a[_0x21024a(0x502)](()=>{const _0x1f786b=_0x21024a;this[_0x1f786b(0x1a9)]=!0x1,this[_0x1f786b(0x41e)]();});}[_0x5a89b4(0x597)](_0x58c81c){const _0x8e8339=_0x5a89b4;this[_0x8e8339(0x3d7)]=_0x58c81c,this[_0x8e8339(0x29d)]['next'](_0x58c81c);}async['_init'](){const _0x3e2e91=_0x5a89b4;var _0x4eaccf;this['_updateState'](await this[_0x3e2e91(0x271)]()),this[_0x3e2e91(0x4b9)]&&((_0x4eaccf=this['_singleActiveUnitService'])==null||_0x4eaccf['editingUnit'](this['unitID']),this[_0x3e2e91(0x15e)](this[_0x3e2e91(0x4b9)][_0x3e2e91(0x433)](this[_0x3e2e91(0x2ea)])[_0x3e2e91(0x3d8)](_0x3e6304=>{const _0x16dd37=_0x3e2e91;this['_logService'][_0x16dd37(0x210)](_0x16dd37(0x43a),_0x16dd37(0x1ab),_0x3e6304),_0x3e6304===hn['OTHER_CLIENTS_EDITING']?(this['_messageService'][_0x16dd37(0x2ad)]({'content':this[_0x16dd37(0x37c)]['t'](_0x16dd37(0x53e)),'type':Ie[_0x16dd37(0x1cd)][_0x16dd37(0x307)]}),this['_permissionService'][_0x16dd37(0x313)](new B[(_0x16dd37(0x170))](this[_0x16dd37(0x2ea)])['id'],!0x1),this['_permissionService'][_0x16dd37(0x475)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new B[(_0x16dd37(0x170))](this[_0x16dd37(0x2ea)])['id'],!0x0),this[_0x16dd37(0x56c)][_0x16dd37(0x475)](!0x0));})));let _0x107063=!0x1;return this['disposeWithMe'](this[_0x3e2e91(0x3b9)][_0x3e2e91(0x5e0)][_0x3e2e91(0x3d8)](_0x5d8536=>{const _0x55c676=_0x3e2e91;_0x5d8536===se[_0x55c676(0x609)]?this[_0x55c676(0x434)](_0x107063):_0x5d8536===se[_0x55c676(0x289)]&&(_0x107063=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x3e2e91(0x3b9)]['event$']['subscribe'](_0x435f28=>{const _0x5d36cb=_0x3e2e91;try{switch(_0x435f28[_0x5d36cb(0x14f)]){case p[_0x5d36cb(0x44f)][_0x5d36cb(0x233)]:{this[_0x5d36cb(0x441)](p[_0x5d36cb(0x19f)](_0x435f28[_0x5d36cb(0x3e4)]));break;}case p[_0x5d36cb(0x44f)][_0x5d36cb(0x45a)]:{this['_onRemoteACK'](_0x435f28[_0x5d36cb(0x3e4)]);break;}case p[_0x5d36cb(0x44f)][_0x5d36cb(0x4a2)]:{this[_0x5d36cb(0x461)]();break;}case p[_0x5d36cb(0x44f)][_0x5d36cb(0x45b)]:{this['_onRemoteRetry'](_0x435f28['data']);break;}case p[_0x5d36cb(0x44f)][_0x5d36cb(0x4cb)]:{this[_0x5d36cb(0x3de)](_0x435f28['data']['changesets'][_0x5d36cb(0x272)](_0x22b646=>p[_0x5d36cb(0x19f)](_0x22b646)));break;}case p[_0x5d36cb(0x44f)][_0x5d36cb(0x2e3)]:this[_0x5d36cb(0x461)]({'isPermissionRej':!0x0});}}catch(_0x5ab7aa){throw console['error'](_0x5d36cb(0x393),_0x5ab7aa),_0x5ab7aa;}})),this[_0x3e2e91(0x3d7)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x5a89b4(0x39a)](){const _0x2d776a=_0x5a89b4;if(this[_0x2d776a(0x194)])throw new Error(_0x2d776a(0x3f3));this[_0x2d776a(0x194)]=!0x0;}[_0x5a89b4(0x524)](_0x40e1c4){const _0x56ec78=_0x5a89b4;this[_0x56ec78(0x39a)](),this['_updateState'](this[_0x56ec78(0x3d7)][_0x56ec78(0x21f)](_0x40e1c4)),this['_unlockTransition']();}[_0x5a89b4(0x441)](_0x3c49f9){const _0x550741=_0x5a89b4;if(!(_0x3c49f9[_0x550741(0x5c0)]<=this['_revisionService'][_0x550741(0x1d1)](this[_0x550741(0x2ea)]))){if(this['_collaborationPaused']){this[_0x550741(0x26e)][_0x550741(0x1d0)](_0x3c49f9);return;}this['_applyRemoteChangeset'](_0x3c49f9);}}[_0x5a89b4(0x41e)](){const _0x328801=_0x5a89b4;this['_remoteChangesetQueue'][_0x328801(0x3a4)](_0x3afe6=>this[_0x328801(0x20e)](_0x3afe6)),this['_remoteChangesetQueue']=[];}[_0x5a89b4(0x20e)](_0x224e21){const _0x1dd460=_0x5a89b4,_0x5bb155=this[_0x1dd460(0x293)][_0x1dd460(0x42c)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x1dd460(0x42c)]['getInterceptPoints']()[_0x1dd460(0x46b)])(_0x224e21[_0x1dd460(0x48a)],null)||_0x224e21['mutations'],_0x5e7ca4={..._0x224e21,'mutations':_0x5bb155};this[_0x1dd460(0x39a)](),this[_0x1dd460(0x597)](this[_0x1dd460(0x3d7)][_0x1dd460(0x537)](_0x5e7ca4)),this[_0x1dd460(0x1f1)]();}['_onRemoteACK'](_0x281d1e){const _0x286a6b=_0x5a89b4;this['_lockTransition'](),this[_0x286a6b(0x597)](this[_0x286a6b(0x3d7)][_0x286a6b(0x174)](_0x281d1e)),this[_0x286a6b(0x1f1)]();}[_0x5a89b4(0x461)](_0x3f4282){const _0x56727c=_0x5a89b4;this['_lockTransition'](),this['_updateState'](this[_0x56727c(0x3d7)][_0x56727c(0x496)](_0x3f4282)),this[_0x56727c(0x1f1)]();}[_0x5a89b4(0x25d)](_0x401ba8){const _0x381c5b=_0x5a89b4;this['_lockTransition'](),this[_0x381c5b(0x597)](this[_0x381c5b(0x3d7)][_0x381c5b(0x348)](_0x401ba8)),this['_unlockTransition']();}[_0x5a89b4(0x3de)](_0x26b725){const _0x30b7d8=_0x5a89b4;if(!(this[_0x30b7d8(0x3d7)]instanceof re))throw new TypeError(_0x30b7d8(0x362));const _0x52e9c2=_0x26b725['map'](_0x34d55f=>{const _0xea2df2=_0x30b7d8,_0xc4f401=this['_compressMutationService'][_0xea2df2(0x42c)]['fetchThroughInterceptors'](this['_compressMutationService'][_0xea2df2(0x42c)][_0xea2df2(0x365)]()['COMPRESS_MUTATION_APPLY'])(_0x34d55f[_0xea2df2(0x48a)],null)||_0x34d55f['mutations'];return{..._0x34d55f,'mutations':_0xc4f401};});this[_0x30b7d8(0x39a)](),this['_updateState'](this[_0x30b7d8(0x3d7)]['onMissedChangesetFetched'](_0x52e9c2)),this[_0x30b7d8(0x1f1)]();}['_toggleOffline'](){const _0x3bc85d=_0x5a89b4;this[_0x3bc85d(0x39a)](),this['_updateState'](this[_0x3bc85d(0x3d7)][_0x3bc85d(0x5a0)]()),this[_0x3bc85d(0x1f1)]();}[_0x5a89b4(0x434)](_0x2b97c9=!0x1){const _0x3c3a1a=_0x5a89b4;this['_lockTransition'](),this[_0x3c3a1a(0x597)](this[_0x3c3a1a(0x3d7)][_0x3c3a1a(0x3c4)]()),this[_0x3c3a1a(0x1f1)]();const _0x43bc6b=this[_0x3c3a1a(0x3d7)];_0x2b97c9&&_0x43bc6b instanceof Oe&&(this['_lockTransition'](),this[_0x3c3a1a(0x597)](_0x43bc6b[_0x3c3a1a(0x52e)]()),this[_0x3c3a1a(0x1f1)]());}async[_0x5a89b4(0x271)](){return new Promise(_0x525e9e=>{const _0x5bcb71=_0x4da2;this['session']['sessionStatus$'][_0x5bcb71(0x564)](A['take'](0x1))[_0x5bcb71(0x3d8)](async _0x37dd34=>{const _0x20a319=_0x5bcb71;_0x525e9e(await this['_createInitialStateImpl'](_0x37dd34===se[_0x20a319(0x609)]));});});}[_0x5a89b4(0x1ac)](){const _0x311387=_0x5a89b4,_0x5ca865=this[_0x311387(0x2ea)];return{'onStateChange':(_0x5e7d6e,_0x2a8723)=>{const _0x40f9e8=_0x311387;if(_0x5e7d6e!==this[_0x40f9e8(0x3d7)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x5e7d6e['status']+_0x40f9e8(0x2ba)+_0x2a8723['status']+_0x40f9e8(0x557)+this[_0x40f9e8(0x3d7)][_0x40f9e8(0x54c)]);this[_0x40f9e8(0x597)](_0x2a8723);},'onSendChangeset':_0x37ab2f=>{const _0x21d973=_0x311387;_0x37ab2f['sid']||(_0x37ab2f['sid']=this[_0x21d973(0x4d3)],_0x37ab2f['reqId']=++this[_0x21d973(0x4e2)]);const _0x21f1c3={'eventID':p[_0x21d973(0x44f)][_0x21d973(0x42d)],'data':{'unitID':_0x37ab2f[_0x21d973(0x2ea)],'unitType':this[_0x21d973(0x1cc)],'changeset':_0x37ab2f,'memberID':this[_0x21d973(0x3b9)][_0x21d973(0x578)]()}};this[_0x21d973(0x3b9)][_0x21d973(0x2c4)](_0x21f1c3,this['unitID']);},'onMissingChangesets':({from:_0x1af8c9,to:_0x59b558})=>{const _0x4c0d12=_0x311387;this[_0x4c0d12(0x52a)]['debug'](_0x4c0d12(0x43a),_0x4c0d12(0x398)+_0x1af8c9+'\x20to\x20'+_0x59b558);const _0x5a6b1f={'eventID':p[_0x4c0d12(0x44f)][_0x4c0d12(0x1bc)],'data':{'unitID':_0x5ca865,'unitType':this[_0x4c0d12(0x1cc)],'from':_0x1af8c9,'to':_0x59b558}};this[_0x4c0d12(0x3b9)][_0x4c0d12(0x2c4)](_0x5a6b1f,this[_0x4c0d12(0x2ea)]);}};}async[_0x5a89b4(0x1ef)](_0xa12207){const _0x5b4f83=_0x5a89b4;var _0x38d789,_0x2b02d1;const _0x420e72=await this[_0x5b4f83(0x470)]['loadOfflineData'](this[_0x5b4f83(0x2ea)]),_0x473cbd=(_0x38d789=_0x420e72==null?void 0x0:_0x420e72['mutations'])!=null?_0x38d789:[],_0x3376a8=(_0x2b02d1=_0x420e72==null?void 0x0:_0x420e72[_0x5b4f83(0x5f4)])!=null?_0x2b02d1:null,_0x20e8d1=!!(_0x3376a8!=null&&_0x3376a8[_0x5b4f83(0x2ca)])&&!!(_0x3376a8!=null&&_0x3376a8[_0x5b4f83(0x1fe)]);this[_0x5b4f83(0x4d3)]=_0x20e8d1?_0x3376a8[_0x5b4f83(0x2ca)]:Si(),this[_0x5b4f83(0x4e2)]=_0x20e8d1?_0x3376a8[_0x5b4f83(0x1fe)]:0x0;const _0x534245=this[_0x5b4f83(0x2ea)];try{this[_0x5b4f83(0x4ac)](_0x3376a8,_0x473cbd);}catch(_0x440b12){this[_0x5b4f83(0x52a)][_0x5b4f83(0x395)](_0x440b12);}const _0x267640=this[_0x5b4f83(0x1ac)]();if(_0xa12207){const _0x3e7142=fn(this[_0x5b4f83(0x274)],_0x534245,this[_0x5b4f83(0x1cc)],_0x3376a8,_0x473cbd,_0x267640);return _0x3e7142 instanceof ce?_0x3e7142['_schedule']():(_0x3e7142 instanceof le||_0x3e7142 instanceof fe)&&_0x3e7142[_0x5b4f83(0x32f)](),_0x3e7142;}return this[_0x5b4f83(0x274)]['createInstance'](Se,_0x534245,this[_0x5b4f83(0x1cc)],_0x3376a8,_0x473cbd,_0x267640);}['_replayCachedMutations'](_0x1a92ed,_0x21b208){const _0x24d7cb=_0x5a89b4;var _0x285720,_0x3d8836;const _0x84024c=this[_0x24d7cb(0x293)][_0x24d7cb(0x42c)][_0x24d7cb(0x4d4)](this[_0x24d7cb(0x293)][_0x24d7cb(0x42c)][_0x24d7cb(0x365)]()[_0x24d7cb(0x46b)]);(_0x285720=_0x84024c((_0x1a92ed==null?void 0x0:_0x1a92ed[_0x24d7cb(0x48a)])||[],null))==null||_0x285720['forEach'](_0x5e2542=>this[_0x24d7cb(0x5da)][_0x24d7cb(0x238)](_0x5e2542['id'],_0x5e2542[_0x24d7cb(0x4a4)])),(_0x3d8836=_0x84024c(_0x21b208||[],null))==null||_0x3d8836[_0x24d7cb(0x3a4)](_0x24a70e=>this[_0x24d7cb(0x5da)][_0x24d7cb(0x238)](_0x24a70e['id'],_0x24a70e['params']));}},exports[_0x5a89b4(0x2dc)]=Rt([H(0x3,a['Inject'](a['Injector'])),H(0x4,a[_0x5a89b4(0x3d5)](exports[_0x5a89b4(0x4e3)])),H(0x5,a[_0x5a89b4(0x3d5)](p[_0x5a89b4(0x451)])),H(0x6,a[_0x5a89b4(0x3d5)](a['LocaleService'])),H(0x7,a[_0x5a89b4(0x3d5)](p[_0x5a89b4(0x3d9)])),H(0x8,a['ILogService']),H(0x9,a[_0x5a89b4(0x17d)]),H(0xa,te['IMessageService']),H(0xb,a[_0x5a89b4(0x2b4)]),H(0xc,a[_0x5a89b4(0x587)](qe))],exports[_0x5a89b4(0x2dc)]),exports[_0x5a89b4(0x46a)]=class extends exports[_0x5a89b4(0x2dc)]{constructor(_0x2722ee,_0x27336e,_0x23a4b4,_0x3f1ff7,_0x26bd27,_0x29f2ec,_0x13e6a5,_0x3d4836,_0x83a0fc,_0x3ff2c2,_0x3047e1,_0x53d5e8,_0x42e2b9,_0x52d8f9,_0x10b340,_0x3359b2,_0x31551f,_0x47d002){const _0x5c6102=_0x5a89b4;super(_0x2722ee,_0x23a4b4,_0x27336e,_0x3f1ff7,_0x26bd27,_0x29f2ec,_0x13e6a5,_0x3d4836,_0x52d8f9,_0x10b340,_0x3359b2,_0x31551f,_0x47d002),this[_0x5c6102(0x2ea)]=_0x2722ee,this[_0x5c6102(0x235)]=_0x27336e,this[_0x5c6102(0x517)]=_0x83a0fc,this[_0x5c6102(0x457)]=_0x3ff2c2,this[_0x5c6102(0x432)]=_0x3047e1,this[_0x5c6102(0x1a6)]=_0x53d5e8,this[_0x5c6102(0x19e)]=_0x42e2b9;}['_createHandler'](){const _0x3435e1=_0x5a89b4,_0xc6f4d0=super[_0x3435e1(0x1ac)]();return _0xc6f4d0[_0x3435e1(0x59f)]=_0x28b6ec=>this['_docTransformIMECacheService'][_0x3435e1(0x4ca)](_0x28b6ec),_0xc6f4d0[_0x3435e1(0x5e7)]=_0x4592a2=>this[_0x3435e1(0x432)]['transformStateCache'](_0x4592a2),_0xc6f4d0[_0x3435e1(0x1bb)]=_0x29f4c3=>this[_0x3435e1(0x1a6)][_0x3435e1(0x5f6)](_0x29f4c3),_0xc6f4d0[_0x3435e1(0x3d3)]=_0x4b0058=>this[_0x3435e1(0x19e)][_0x3435e1(0x284)](_0x4b0058),_0xc6f4d0[_0x3435e1(0x560)]=_0x46d801=>this[_0x3435e1(0x457)][_0x3435e1(0x30b)](_0x46d801),_0xc6f4d0[_0x3435e1(0x59d)]=_0x26f698=>this[_0x3435e1(0x432)]['transformRemoteChangeset'](_0x26f698),_0xc6f4d0;}async[_0x5a89b4(0x1b8)](){const _0x4e0046=_0x5a89b4,_0x5518d3=await super[_0x4e0046(0x1b8)]();return this[_0x4e0046(0x517)][_0x4e0046(0x2b7)][_0x4e0046(0x564)](A[_0x4e0046(0x2e9)](this[_0x4e0046(0x256)]))['subscribe'](_0x62ebe4=>{const _0x5f7913=_0x4e0046;if(_0x62ebe4==null)return;const {unitId:_0x286b4c,redoState:_0xee3788,commandId:_0x1afcc3}=_0x62ebe4;if(_0x286b4c!==this[_0x5f7913(0x2ea)])return;const _0x3bdba3={'id':_0x1afcc3,'type':a['CommandType'][_0x5f7913(0x56f)],'params':{'unitId':_0x286b4c,'actions':_0xee3788[_0x5f7913(0x168)],'textRanges':null}};this[_0x5f7913(0x524)](_0x3bdba3);}),_0x5518d3;}},exports['DocCollaborationEntity']=Rt([H(0x3,a[_0x5a89b4(0x3d5)](a[_0x5a89b4(0x217)])),H(0x4,a[_0x5a89b4(0x3d5)](exports[_0x5a89b4(0x4e3)])),H(0x5,a['Inject'](p[_0x5a89b4(0x451)])),H(0x6,a['Inject'](a[_0x5a89b4(0x3a3)])),H(0x7,a[_0x5a89b4(0x3d5)](p[_0x5a89b4(0x3d9)])),H(0x8,a['Inject'](Z[_0x5a89b4(0x5bd)])),H(0x9,a[_0x5a89b4(0x3d5)](ke)),H(0xa,a[_0x5a89b4(0x3d5)](We)),H(0xb,a[_0x5a89b4(0x3d5)](Fe)),H(0xc,a[_0x5a89b4(0x3d5)](Tt)),H(0xd,a[_0x5a89b4(0x3dd)]),H(0xe,a['ICommandService']),H(0xf,te[_0x5a89b4(0x38b)]),H(0x10,a['IPermissionService']),H(0x11,a['Optional'](qe))],exports['DocCollaborationEntity']),exports[_0x5a89b4(0x51b)]=class extends exports[_0x5a89b4(0x2dc)]{constructor(_0x37bc05,_0x5d7f68,_0x537d30,_0x50d92a,_0x22f708,_0x5f5137,_0x4af306,_0x4a35aa,_0x11249a,_0x273d6d,_0x57520c,_0x5d3230,_0x191368,_0x8a160){const _0x5e6193=_0x5a89b4;super(_0x37bc05,_0x537d30,_0x5d7f68,_0x50d92a,_0x22f708,_0x5f5137,_0x4af306,_0x4a35aa,_0x273d6d,_0x57520c,_0x5d3230,_0x191368,_0x8a160),this[_0x5e6193(0x2ea)]=_0x37bc05,this[_0x5e6193(0x235)]=_0x5d7f68,this[_0x5e6193(0x243)]=_0x11249a;}[_0x5a89b4(0x1ac)](){const _0x540e46=_0x5a89b4,_0x4a1f47=super[_0x540e46(0x1ac)]();return _0x4a1f47['onTransformSelections']=_0x3aa66d=>this['_sheetTransformSelectionsService']['transformSelections'](_0x3aa66d),_0x4a1f47;}async[_0x5a89b4(0x1b8)](){const _0x12b3d1=_0x5a89b4,_0x420988=await super[_0x12b3d1(0x1b8)]();return this[_0x12b3d1(0x15e)](this[_0x12b3d1(0x5da)]['onCommandExecuted']((_0x4be516,_0x571d00)=>{const _0x5b71d8=_0x12b3d1;if(_0x4be516['type']!==a[_0x5b71d8(0x3ba)][_0x5b71d8(0x56f)]||_0x571d00!=null&&_0x571d00[_0x5b71d8(0x3a1)]||_0x571d00!=null&&_0x571d00[_0x5b71d8(0x5a1)])return;const _0x3f83be=_0x4be516[_0x5b71d8(0x4a4)];if((_0x3f83be==null?void 0x0:_0x3f83be[_0x5b71d8(0x3e9)])!==this[_0x5b71d8(0x2ea)])return;const _0x3a27a9=_0x4be516,_0x29cfc8=this[_0x5b71d8(0x293)]['interceptor']['fetchThroughInterceptors'](this[_0x5b71d8(0x293)][_0x5b71d8(0x42c)][_0x5b71d8(0x365)]()[_0x5b71d8(0x2dd)])([_0x3a27a9],null)||[_0x3a27a9];this['_onLocalMutation'](_0x29cfc8[0x0]);})),_0x420988;}},exports['SheetCollaborationEntity']=Rt([H(0x3,a[_0x5a89b4(0x3d5)](a[_0x5a89b4(0x217)])),H(0x4,a[_0x5a89b4(0x3d5)](exports[_0x5a89b4(0x4e3)])),H(0x5,a['Inject'](p[_0x5a89b4(0x451)])),H(0x6,a['Inject'](a[_0x5a89b4(0x3a3)])),H(0x7,a[_0x5a89b4(0x3d5)](p[_0x5a89b4(0x3d9)])),H(0x8,a[_0x5a89b4(0x3d5)](Be)),H(0x9,a[_0x5a89b4(0x3dd)]),H(0xa,a[_0x5a89b4(0x17d)]),H(0xb,te['IMessageService']),H(0xc,a[_0x5a89b4(0x2b4)]),H(0xd,a[_0x5a89b4(0x587)](qe))],exports[_0x5a89b4(0x51b)]);var Wi=Object[_0x5a89b4(0x5bf)],Fi=Object[_0x5a89b4(0x227)],Vi=(_0x44c186,_0x342f3f,_0x16c946,_0x5151e5)=>{const _0x566c6b=_0x5a89b4;for(var _0x3a9d8d=_0x5151e5>0x1?void 0x0:_0x5151e5?Fi(_0x342f3f,_0x16c946):_0x342f3f,_0x18c700=_0x44c186[_0x566c6b(0x554)]-0x1,_0x218be2;_0x18c700>=0x0;_0x18c700--)(_0x218be2=_0x44c186[_0x18c700])&&(_0x3a9d8d=(_0x5151e5?_0x218be2(_0x342f3f,_0x16c946,_0x3a9d8d):_0x218be2(_0x3a9d8d))||_0x3a9d8d);return _0x5151e5&&_0x3a9d8d&&Wi(_0x342f3f,_0x16c946,_0x3a9d8d),_0x3a9d8d;},tt=(_0x581744,_0xb55548)=>(_0x1f6d32,_0x549ce1)=>_0xb55548(_0x1f6d32,_0x549ce1,_0x581744);exports['CollaborationController']=class extends a[_0x5a89b4(0x2da)]{constructor(_0x2feada,_0x4eaa5d,_0x424725){const _0x143f42=_0x5a89b4;super(),I(this,_0x143f42(0x5b9),new Map()),I(this,_0x143f42(0x2cc),new A[(_0x143f42(0x5d2))]()),(this[_0x143f42(0x274)]=_0x2feada,this['_collabSessionService']=_0x4eaa5d,this[_0x143f42(0x4b5)]=_0x424725,this[_0x143f42(0x1b8)]());}[_0x5a89b4(0x1db)](){const _0x4efd98=_0x5a89b4;super[_0x4efd98(0x1db)](),this[_0x4efd98(0x5b9)]['forEach'](_0x3b6d15=>_0x3b6d15[_0x4efd98(0x1db)]()),this[_0x4efd98(0x5b9)][_0x4efd98(0x5d5)]();}[_0x5a89b4(0x333)](_0x578de7){const _0x4e44e5=_0x5a89b4;var _0x288bd2;return(_0x288bd2=this[_0x4e44e5(0x5b9)][_0x4e44e5(0x58d)](_0x578de7))!=null?_0x288bd2:null;}['getCollabEntity$'](_0x263abf){const _0x38be4a=_0x5a89b4,_0x194a29=this[_0x38be4a(0x333)](_0x263abf);return _0x194a29?A['of'](_0x194a29):this[_0x38be4a(0x2cc)][_0x38be4a(0x564)](V[_0x38be4a(0x303)](_0x43cc0c=>_0x43cc0c[_0x38be4a(0x2ea)]===_0x263abf));}[_0x5a89b4(0x1b8)](){const _0x1e1e51=_0x5a89b4;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x1e1e51(0x1af)][_0x1e1e51(0x479)])[_0x1e1e51(0x564)](A[_0x1e1e51(0x2e9)](this[_0x1e1e51(0x256)]),V[_0x1e1e51(0x57c)](0x10))[_0x1e1e51(0x3d8)](async _0x14a15e=>{const _0x214ab5=_0x1e1e51,_0x1ad69d=_0x14a15e[_0x214ab5(0x5df)](),_0x4182e1=await this[_0x214ab5(0x23a)](_0x1ad69d,ie[_0x214ab5(0x479)]);this[_0x214ab5(0x5b9)][_0x214ab5(0x352)](_0x1ad69d,_0x4182e1);}),this[_0x1e1e51(0x4b5)][_0x1e1e51(0x1b2)](a[_0x1e1e51(0x1af)][_0x1e1e51(0x222)])[_0x1e1e51(0x564)](A[_0x1e1e51(0x2e9)](this['dispose$']),V[_0x1e1e51(0x57c)](0x10))[_0x1e1e51(0x564)](V[_0x1e1e51(0x303)](_0x29c81a=>!_0x29c81a['getUnitId']()[_0x1e1e51(0x4f7)]('__')))[_0x1e1e51(0x3d8)](async _0x539638=>{const _0x2281be=_0x1e1e51,_0x5f1403=_0x539638['getUnitId'](),_0x50146c=await this[_0x2281be(0x23a)](_0x5f1403,ie[_0x2281be(0x222)]);this['_entities']['set'](_0x5f1403,_0x50146c);}),A[_0x1e1e51(0x209)](this[_0x1e1e51(0x4b5)][_0x1e1e51(0x2fd)](a['UniverInstanceType'][_0x1e1e51(0x479)]),this[_0x1e1e51(0x4b5)][_0x1e1e51(0x2fd)](a[_0x1e1e51(0x1af)][_0x1e1e51(0x222)]))[_0x1e1e51(0x564)](A[_0x1e1e51(0x2e9)](this[_0x1e1e51(0x256)]))['subscribe'](_0x36adb6=>{const _0x318841=_0x1e1e51,_0x87c800=_0x36adb6[_0x318841(0x5df)](),_0x12a439=this['_entities'][_0x318841(0x58d)](_0x87c800);_0x12a439&&(_0x12a439[_0x318841(0x1db)](),this[_0x318841(0x5b9)][_0x318841(0x204)](_0x87c800));});}async[_0x5a89b4(0x23a)](_0x4ab26a,_0x270473){const _0x3c65b5=_0x5a89b4,_0x15c71a=await this[_0x3c65b5(0x43b)][_0x3c65b5(0x506)](_0x4ab26a),_0x2d4758=this[_0x3c65b5(0x274)][_0x3c65b5(0x45d)](this['_getCtorByUniverType'](_0x270473),_0x4ab26a,_0x270473,_0x15c71a);return await _0x2d4758[_0x3c65b5(0x28e)](),this[_0x3c65b5(0x2cc)][_0x3c65b5(0x52c)](_0x2d4758),_0x2d4758;}['_getCtorByUniverType'](_0x2cbdec){const _0x3c7889=_0x5a89b4;switch(_0x2cbdec){case ie[_0x3c7889(0x222)]:return exports['DocCollaborationEntity'];case ie[_0x3c7889(0x479)]:return exports[_0x3c7889(0x51b)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x2cbdec);}}},exports['CollaborationController']=Vi([tt(0x0,a[_0x5a89b4(0x3d5)](a[_0x5a89b4(0x217)])),tt(0x1,a['Inject'](exports['CollaborationSessionService'])),tt(0x2,a[_0x5a89b4(0x21c)])],exports[_0x5a89b4(0x1f7)]);const jt=[_0x5a89b4(0x283),'jiqing500',_0x5a89b4(0x558),_0x5a89b4(0x3e2),_0x5a89b4(0x1b3),_0x5a89b4(0x60c)];class yt extends a[_0x5a89b4(0x4c8)]{constructor(){const _0xeb62bc=_0x5a89b4;super(...arguments),I(this,_0xeb62bc(0x1a8),new Map()),I(this,_0xeb62bc(0x593),0x0);}[_0x5a89b4(0x334)](_0x399816){const _0x4b4e99=_0x5a89b4;if(this[_0x4b4e99(0x1a8)][_0x4b4e99(0x4df)](_0x399816))return this[_0x4b4e99(0x1a8)][_0x4b4e99(0x58d)](_0x399816);const _0x56c3bb=jt[this['_colorIndex']];return this[_0x4b4e99(0x593)]=(this['_colorIndex']+0x1)%jt[_0x4b4e99(0x554)],this[_0x4b4e99(0x1a8)][_0x4b4e99(0x352)](_0x399816,_0x56c3bb),_0x56c3bb;}}var Gi=Object[_0x5a89b4(0x5bf)],Yi=Object[_0x5a89b4(0x227)],Ki=(_0x461316,_0x57c21b,_0x22973d,_0x502e61)=>{const _0x492e82=_0x5a89b4;for(var _0x141ce2=_0x502e61>0x1?void 0x0:_0x502e61?Yi(_0x57c21b,_0x22973d):_0x57c21b,_0xd817a8=_0x461316[_0x492e82(0x554)]-0x1,_0x1f471c;_0xd817a8>=0x0;_0xd817a8--)(_0x1f471c=_0x461316[_0xd817a8])&&(_0x141ce2=(_0x502e61?_0x1f471c(_0x57c21b,_0x22973d,_0x141ce2):_0x1f471c(_0x141ce2))||_0x141ce2);return _0x502e61&&_0x141ce2&&Gi(_0x57c21b,_0x22973d,_0x141ce2),_0x141ce2;},me=(_0x29129b,_0x219238)=>(_0x44a2b0,_0x1d2ae9)=>_0x219238(_0x44a2b0,_0x1d2ae9,_0x29129b);const qi=0x12c,zi=0x64;let vt=class extends a[_0x5a89b4(0x2da)]{constructor(_0xc7e671,_0x19ec0f,_0x5c0d46,_0x52193c,_0x4d62d0,_0x4461c0,_0x16a9ef,_0x83b69,_0x199809){const _0x5888cc=_0x5a89b4;super(),I(this,_0x5888cc(0x5c4),!0x1),I(this,'_init',!0x1),I(this,_0x5888cc(0x500),new A[(_0x5888cc(0x4c2))](new Map())),I(this,'cursorInfo$',this[_0x5888cc(0x500)][_0x5888cc(0x159)]()),I(this,_0x5888cc(0x41d),new A[(_0x5888cc(0x4c2))]([])),I(this,_0x5888cc(0x1bf),this[_0x5888cc(0x41d)][_0x5888cc(0x564)](A[_0x5888cc(0x513)](qi))),I(this,'_updateLocalCursor',a[_0x5888cc(0x530)](_0x49ed66=>{const _0x4fb5a7=_0x5888cc,_0x40f7cf={'eventID':p['CollaborationEvent'][_0x4fb5a7(0x2ae)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x4fb5a7(0x578)](),'selection':_n(_0x49ed66)}};this['_session'][_0x4fb5a7(0x2c4)](_0x40f7cf,this[_0x4fb5a7(0x2ea)]);},zi)),(this['unitID']=_0xc7e671,this[_0x5888cc(0x2fb)]=_0x19ec0f,this[_0x5888cc(0x274)]=_0x5c0d46,this[_0x5888cc(0x57a)]=_0x52193c,this[_0x5888cc(0x47d)]=_0x4d62d0,this['_syncEditingCollabCursorService']=_0x4461c0,this[_0x5888cc(0x18f)]=_0x16a9ef,this['_univerInstanceService']=_0x83b69,this[_0x5888cc(0x5da)]=_0x199809);}get[_0x5a89b4(0x234)](){const _0x5effb0=_0x5a89b4;return this[_0x5effb0(0x500)][_0x5effb0(0x5fb)]();}get[_0x5a89b4(0x5a7)](){const _0x2819dc=_0x5a89b4;return this[_0x2819dc(0x41d)][_0x2819dc(0x5fb)]();}[_0x5a89b4(0x1db)](){const _0x3d973e=_0x5a89b4;super['dispose'](),this[_0x3d973e(0x500)][_0x3d973e(0x52c)](new Map()),this[_0x3d973e(0x500)][_0x3d973e(0x1b0)](),this[_0x3d973e(0x41d)]['next']([]),this['_roomMembers$'][_0x3d973e(0x1b0)]();}[_0x5a89b4(0x28e)](){const _0x2e77b2=_0x5a89b4;this['_init']||(this[_0x2e77b2(0x1b8)]=!0x0,this[_0x2e77b2(0x2fb)][_0x2e77b2(0x5e0)][_0x2e77b2(0x564)](A['takeUntil'](this[_0x2e77b2(0x256)]))['subscribe'](_0x4f0736=>{const _0x4caa80=_0x2e77b2;_0x4f0736===se[_0x4caa80(0x609)]?this[_0x4caa80(0x434)]():this[_0x4caa80(0x281)]();}),this[_0x2e77b2(0x2fb)][_0x2e77b2(0x52f)][_0x2e77b2(0x564)](A[_0x2e77b2(0x2e9)](this[_0x2e77b2(0x256)]))['subscribe'](_0x1e0d37=>{const _0x1595d9=_0x2e77b2,_0x2da080=_0x1e0d37['eventID'];_0x2da080===p[_0x1595d9(0x44f)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1e0d37),_0x2da080===p[_0x1595d9(0x44f)][_0x1595d9(0x4fa)]&&this[_0x1595d9(0x600)](_0x1e0d37);}),this['disposeWithMe'](this[_0x2e77b2(0x5da)][_0x2e77b2(0x2a1)](_0x20ee75=>{const _0x5efda2=_0x2e77b2,_0x3616a9=_0x20ee75[_0x5efda2(0x4a4)];_0x3616a9!=null&&this[_0x5efda2(0x5c4)]&&_0x20ee75['id']===ye[_0x5efda2(0x16b)]['id']&&_0x3616a9[_0x5efda2(0x3e9)]===this[_0x5efda2(0x2ea)]&&_0x3616a9[_0x5efda2(0x2b3)]===!0x1&&_0x3616a9[_0x5efda2(0x59e)]['length']>0x0&&this['_updateLocalCursor'](_0x3616a9['ranges']);})),this[_0x2e77b2(0x3b6)]['collabCursorState$'][_0x2e77b2(0x564)](A['takeUntil'](this[_0x2e77b2(0x256)]))[_0x2e77b2(0x3d8)](_0x1412e3=>{const _0x53426c=_0x2e77b2;if((_0x1412e3==null?void 0x0:_0x1412e3[_0x53426c(0x2ea)])!==this[_0x53426c(0x2ea)])return;const _0x30b3e3={'eventID':p[_0x53426c(0x44f)][_0x53426c(0x2ae)],'data':_0x1412e3};this[_0x53426c(0x2a9)](_0x30b3e3);}),this[_0x2e77b2(0x15e)](this['_commandService'][_0x2e77b2(0x2a1)](_0x35f69c=>{const _0x1ef4b4=_0x2e77b2;if(_0x35f69c[_0x1ef4b4(0x4a4)]==null)return;const _0x2caca5=_0x35f69c[_0x1ef4b4(0x4a4)];if(_0x35f69c['id']!==ye[_0x1ef4b4(0x34b)]['id']||_0x2caca5['unitId']!==this[_0x1ef4b4(0x2ea)])return;const _0x312317={'id':'doc.mutation.rich-text-editing','params':_0x2caca5},_0x121966=this[_0x1ef4b4(0x234)];for(const [_0x1f44a2,_0x465703]of _0x121966){const _0x4ea56f={'id':_0x1ef4b4(0x57b),'params':{'unitId':this[_0x1ef4b4(0x2ea)],'actions':null,'textRanges':_0x465703[_0x1ef4b4(0x59e)]}},_0x740688=this[_0x1ef4b4(0x18f)][_0x1ef4b4(0x5a8)](_0x312317,_0x4ea56f,!0x1);if(p['isTransformMutationFailure'](_0x740688))throw _0x740688[_0x1ef4b4(0x395)];_0x121966['set'](_0x1f44a2,{..._0x465703,'ranges':_0x740688[_0x1ef4b4(0x330)][_0x1ef4b4(0x4a4)][_0x1ef4b4(0x586)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x121966);});})));}[_0x5a89b4(0x2a9)](_0x49eb8c){const _0x126a83=_0x5a89b4;var _0xef29d8,_0x1fdccc;const {memberID:_0x2d5734,selection:_0x497309}=_0x49eb8c[_0x126a83(0x3e4)],_0x3cf995=Ui(_0x497309),_0x4a33f4=(_0x1fdccc=(_0xef29d8=this['_memberService'][_0x126a83(0x21b)](this[_0x126a83(0x2ea)],_0x2d5734))==null?void 0x0:_0xef29d8[_0x126a83(0x5e4)])!=null?_0x1fdccc:_0x126a83(0x5cd),_0x2e02a5={'color':this['_colorAssignService'][_0x126a83(0x334)](_0x2d5734),'name':_0x4a33f4,'ranges':_0x3cf995},_0x332d93=this[_0x126a83(0x234)];_0x332d93[_0x126a83(0x352)](_0x2d5734,_0x2e02a5),this[_0x126a83(0x500)]['next'](_0x332d93);}[_0x5a89b4(0x600)](_0x4b5459){const _0x167b35=_0x5a89b4,{memberID:_0x5895cc}=_0x4b5459[_0x167b35(0x3e4)],_0x555563=this['cursorInfo'];_0x555563[_0x167b35(0x204)](_0x5895cc),this[_0x167b35(0x500)][_0x167b35(0x52c)](_0x555563);}[_0x5a89b4(0x434)](){const _0x3bdd5f=_0x5a89b4;var _0x325d41;if(this[_0x3bdd5f(0x5c4)]=!0x0,((_0x325d41=this[_0x3bdd5f(0x4b5)][_0x3bdd5f(0x17a)]())==null?void 0x0:_0x325d41[_0x3bdd5f(0x5df)]())!==this[_0x3bdd5f(0x2ea)])return;const _0x577999=this[_0x3bdd5f(0x274)]['get'](ye[_0x3bdd5f(0x51e)])[_0x3bdd5f(0x24d)]();Array[_0x3bdd5f(0x1aa)](_0x577999)&&_0x577999[_0x3bdd5f(0x554)]>0x0&&this['_updateLocalCursor'](_0x577999);}[_0x5a89b4(0x281)](){const _0xe4ef11=_0x5a89b4;this[_0xe4ef11(0x5c4)]=!0x1;}};vt=Ki([me(0x2,a['Inject'](a[_0x5a89b4(0x217)])),me(0x3,a[_0x5a89b4(0x3d5)](yt)),me(0x4,a[_0x5a89b4(0x3d5)](exports[_0x5a89b4(0x5ac)])),me(0x5,a[_0x5a89b4(0x3d5)](Tt)),me(0x6,p[_0x5a89b4(0x3f4)]),me(0x7,a[_0x5a89b4(0x21c)]),me(0x8,a['ICommandService'])],vt);var Xi=Object['defineProperty'],Ji=Object[_0x5a89b4(0x227)],Zi=(_0x1a9df5,_0x327cb8,_0x18090e,_0x2f2ce7)=>{const _0x54054b=_0x5a89b4;for(var _0x33e7fd=_0x2f2ce7>0x1?void 0x0:_0x2f2ce7?Ji(_0x327cb8,_0x18090e):_0x327cb8,_0x5396a5=_0x1a9df5[_0x54054b(0x554)]-0x1,_0x568321;_0x5396a5>=0x0;_0x5396a5--)(_0x568321=_0x1a9df5[_0x5396a5])&&(_0x33e7fd=(_0x2f2ce7?_0x568321(_0x327cb8,_0x18090e,_0x33e7fd):_0x568321(_0x33e7fd))||_0x33e7fd);return _0x2f2ce7&&_0x33e7fd&&Xi(_0x327cb8,_0x18090e,_0x33e7fd),_0x33e7fd;},be=(_0xe0cf8e,_0x2d8137)=>(_0x4bbf02,_0x16453c)=>_0x2d8137(_0x4bbf02,_0x16453c,_0xe0cf8e);const Qi=0x12c,es=0x64,ts=()=>{let _0x3d5edb=[],_0x4dc2bf=!0x1;return _0x2bb67b=>{const _0x3ae625=_0x4da2;_0x3d5edb[_0x3ae625(0x1d0)](_0x2bb67b),_0x4dc2bf||(_0x4dc2bf=!0x0,setTimeout(()=>{_0x3d5edb['forEach'](_0x31d34b=>_0x31d34b()),_0x3d5edb=[],_0x4dc2bf=!0x1;}));};};let St=class extends a[_0x5a89b4(0x2da)]{constructor(_0x3e2f70,_0x5d58ea,_0x2d78cb,_0x3de0e3,_0x320e18,_0x2c2538,_0x36c28b,_0x1921d8){const _0x303043=_0x5a89b4;super(),I(this,_0x303043(0x5c4),!0x1),I(this,'_init',!0x1),I(this,_0x303043(0x500),new A[(_0x303043(0x4c2))](new Map())),I(this,_0x303043(0x214),this[_0x303043(0x500)][_0x303043(0x159)]()),I(this,_0x303043(0x41d),new A[(_0x303043(0x4c2))]([])),I(this,_0x303043(0x1bf),this[_0x303043(0x41d)][_0x303043(0x564)](A['debounceTime'](Qi))),I(this,'_updateLocalCursor',a[_0x303043(0x530)]((_0x5751ae,_0x4a270f)=>{const _0x497811=_0x303043,_0xb37ad2={'eventID':p[_0x497811(0x44f)][_0x497811(0x2ae)],'data':{'unitID':this['unitID'],'memberID':this[_0x497811(0x2fb)][_0x497811(0x578)](),'selection':wt[_0x497811(0x196)](_0x5751ae,_0x4a270f[_0x497811(0x462)])}};this[_0x497811(0x2fb)][_0x497811(0x2c4)](_0xb37ad2,this[_0x497811(0x2ea)]);},es)),(this['unitID']=_0x3e2f70,this[_0x303043(0x2fb)]=_0x5d58ea,this[_0x303043(0x274)]=_0x2d78cb,this[_0x303043(0x57a)]=_0x3de0e3,this[_0x303043(0x47d)]=_0x320e18,this[_0x303043(0x4b5)]=_0x2c2538,this[_0x303043(0x5da)]=_0x36c28b,this[_0x303043(0x567)]=_0x1921d8);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x5a89b4(0x5a7)](){const _0x578bd4=_0x5a89b4;return this[_0x578bd4(0x41d)]['getValue']();}[_0x5a89b4(0x1db)](){const _0x129269=_0x5a89b4;super['dispose'](),this[_0x129269(0x500)][_0x129269(0x52c)](new Map()),this[_0x129269(0x500)]['complete'](),this['_roomMembers$']['next']([]),this[_0x129269(0x41d)][_0x129269(0x1b0)]();}[_0x5a89b4(0x28e)](){const _0x506dc6=_0x5a89b4;this[_0x506dc6(0x1b8)]||(this[_0x506dc6(0x1b8)]=!0x0,this[_0x506dc6(0x2fb)][_0x506dc6(0x5e0)]['pipe'](A[_0x506dc6(0x2e9)](this['dispose$']))[_0x506dc6(0x3d8)](_0x4c644e=>{const _0x3b3842=_0x506dc6;_0x4c644e===se[_0x3b3842(0x609)]?this['_toggleOnline']():this[_0x3b3842(0x281)]();}),this['_session'][_0x506dc6(0x52f)]['pipe'](A[_0x506dc6(0x2e9)](this[_0x506dc6(0x256)]))[_0x506dc6(0x3d8)](_0x2a6f61=>{const _0x45bc94=_0x506dc6,_0x5daaf0=_0x2a6f61[_0x45bc94(0x14f)];_0x5daaf0===p[_0x45bc94(0x44f)][_0x45bc94(0x2ae)]&&this[_0x45bc94(0x2a9)](_0x2a6f61),_0x5daaf0===p[_0x45bc94(0x44f)][_0x45bc94(0x4fa)]&&this[_0x45bc94(0x600)](_0x2a6f61);}),this[_0x506dc6(0x219)](),this[_0x506dc6(0x15e)](this[_0x506dc6(0x5da)][_0x506dc6(0x2a1)](_0x5f543e=>{const _0xee7a5e=_0x506dc6;if(this[_0xee7a5e(0x5c4)]&&_0x5f543e['id']===B[_0xee7a5e(0x417)]['id']&&_0x5f543e['params'][_0xee7a5e(0x3e9)]===this[_0xee7a5e(0x2ea)]){const _0x3c44d8=_0x5f543e[_0xee7a5e(0x4a4)];this[_0xee7a5e(0x353)](_0x3c44d8[_0xee7a5e(0x45e)],_0x3c44d8['selections'][0x0]);}})));}[_0x5a89b4(0x2a9)](_0x4e4441){const _0x52ab6a=_0x5a89b4;var _0x4b78c2,_0x5ebdfa;const {memberID:_0x1e0b02,selection:_0x1cd072}=_0x4e4441[_0x52ab6a(0x3e4)],{sheetName:_0x16e773,range:_0x2c432e}=wt[_0x52ab6a(0x468)](_0x1cd072),_0x8f20f5={'name':(_0x5ebdfa=(_0x4b78c2=this[_0x52ab6a(0x47d)][_0x52ab6a(0x21b)](this[_0x52ab6a(0x2ea)],_0x1e0b02))==null?void 0x0:_0x4b78c2[_0x52ab6a(0x5e4)])!=null?_0x5ebdfa:'Unknown\x20user','range':this[_0x52ab6a(0x3db)](_0x16e773,_0x2c432e),'sheetID':_0x16e773,'color':this['_colorAssignService'][_0x52ab6a(0x334)](_0x1e0b02),'selection':_0x1cd072},_0x399857=this[_0x52ab6a(0x234)];_0x399857['set'](_0x1e0b02,_0x8f20f5),this[_0x52ab6a(0x500)]['next'](_0x399857);}[_0x5a89b4(0x600)](_0x3b1d72){const _0x1808ae=_0x5a89b4,{memberID:_0xe3b27d}=_0x3b1d72['data'],_0x2acb9d=this[_0x1808ae(0x234)];_0x2acb9d['delete'](_0xe3b27d),this['_cursorInfo$'][_0x1808ae(0x52c)](_0x2acb9d);}[_0x5a89b4(0x3db)](_0x39ba17,_0x3dead3){const _0x9e617d=_0x5a89b4;var _0x51747b,_0x3118fd;const _0x430cbc=(_0x3118fd=(_0x51747b=this[_0x9e617d(0x4b5)][_0x9e617d(0x30f)](this['unitID']))==null?void 0x0:_0x51747b[_0x9e617d(0x385)](_0x39ba17))==null?void 0x0:_0x3118fd[_0x9e617d(0x51f)]();return(_0x430cbc==null?void 0x0:_0x430cbc['find'](_0x35d633=>a[_0x9e617d(0x42e)][_0x9e617d(0x15b)](_0x35d633,_0x3dead3)))||_0x3dead3;}[_0x5a89b4(0x219)](){const _0x4d7903=_0x5a89b4,_0x55dd3d=new a[(_0x4d7903(0x523))](),_0x58f0a6=ts(),_0x1a07d2=()=>{const _0x79cc9d=_0x4d7903;_0x55dd3d[_0x79cc9d(0x1db)]();const _0x3c316f=(_0x4514c5,_0x5a0a92,_0xf4a534,_0x2e8d01)=>{const _0x9e9b49=_0x79cc9d;let _0x586fff=[];switch(_0x4514c5['id']){case B['EffectRefRangId'][_0x9e9b49(0x1fc)]:{_0x586fff=B[_0x9e9b49(0x38c)](_0x4514c5,_0x2e8d01);break;}case B[_0x9e9b49(0x51a)][_0x9e9b49(0x2b2)]:{_0x586fff=B[_0x9e9b49(0x430)](_0x4514c5,_0x2e8d01);break;}case B[_0x9e9b49(0x51a)]['InsertColCommandId']:{_0x586fff=B['handleInsertCol'](_0x4514c5,_0x2e8d01);break;}case B[_0x9e9b49(0x51a)][_0x9e9b49(0x543)]:{_0x586fff=B[_0x9e9b49(0x248)](_0x4514c5,_0x2e8d01);break;}case B[_0x9e9b49(0x51a)][_0x9e9b49(0x1e1)]:{_0x586fff=B['handleInsertRangeMoveRight'](_0x4514c5,_0x2e8d01);break;}case B[_0x9e9b49(0x51a)]['InsertRowCommandId']:{_0x586fff=B[_0x9e9b49(0x550)](_0x4514c5,_0x2e8d01);break;}case B[_0x9e9b49(0x51a)][_0x9e9b49(0x5c1)]:{_0x586fff=B[_0x9e9b49(0x372)](_0x4514c5,_0x2e8d01);break;}case B['EffectRefRangId']['RemoveColCommandId']:{_0x586fff=B[_0x9e9b49(0x336)](_0x4514c5,_0x2e8d01);break;}case B[_0x9e9b49(0x51a)][_0x9e9b49(0x4b7)]:{_0x586fff=B[_0x9e9b49(0x50d)](_0x4514c5,_0x2e8d01);break;}}const _0x2c41b5=B[_0x9e9b49(0x199)](_0x586fff,_0x2e8d01),_0x392185=this[_0x9e9b49(0x234)][_0x9e9b49(0x58d)](_0x5a0a92);if(_0x392185&&_0x2c41b5){const _0x3b277f={..._0x392185,'range':_0x2c41b5};this[_0x9e9b49(0x234)][_0x9e9b49(0x352)](_0x5a0a92,_0x3b277f),_0x58f0a6(()=>{const _0x218281=_0x9e9b49,_0x764056=this[_0x218281(0x567)][_0x218281(0x5aa)](_0x2c41b5,_0x4ba44f=>(_0x764056['dispose'](),_0x3c316f(_0x4ba44f,_0x5a0a92,_0xf4a534,_0x2c41b5)));_0x55dd3d[_0x218281(0x5ba)](_0x764056);});}return{'redos':[],'undos':[]};};this[_0x79cc9d(0x234)][_0x79cc9d(0x3a4)]((_0x353512,_0x4d1a83)=>{const _0x37d2f3=_0x79cc9d,{range:_0xb7d9e3,sheetID:_0x22c6c0}=_0x353512,_0x4e6872=this[_0x37d2f3(0x567)][_0x37d2f3(0x5aa)](_0xb7d9e3,_0x47d1f6=>(_0x4e6872['dispose'](),_0x3c316f(_0x47d1f6,_0x4d1a83,_0x22c6c0,_0xb7d9e3)));_0x55dd3d[_0x37d2f3(0x5ba)](_0x4e6872);});};this[_0x4d7903(0x15e)](a['toDisposable'](this['_cursorInfo$'][_0x4d7903(0x3d8)](()=>{_0x1a07d2();})));}[_0x5a89b4(0x434)](){const _0x3deab3=_0x5a89b4;var _0x4dce60,_0x58dc34;if(this[_0x3deab3(0x5c4)]=!0x0,((_0x4dce60=this[_0x3deab3(0x4b5)][_0x3deab3(0x17a)]())==null?void 0x0:_0x4dce60['getUnitId']())!==this['unitID'])return;const _0x3bcc8d=(_0x58dc34=this[_0x3deab3(0x274)][_0x3deab3(0x58d)](B['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x58dc34[0x0],_0x95c4fb=this[_0x3deab3(0x4b5)][_0x3deab3(0x4c6)](a[_0x3deab3(0x1af)]['UNIVER_SHEET'])['getActiveSheet']();_0x3bcc8d&&_0x95c4fb&&this[_0x3deab3(0x353)](_0x95c4fb[_0x3deab3(0x535)](),_0x3bcc8d);}[_0x5a89b4(0x281)](){this['_online']=!0x1;}};St=Zi([be(0x2,a[_0x5a89b4(0x3d5)](a[_0x5a89b4(0x217)])),be(0x3,a[_0x5a89b4(0x3d5)](yt)),be(0x4,a['Inject'](exports['MemberService'])),be(0x5,a[_0x5a89b4(0x21c)]),be(0x6,a[_0x5a89b4(0x17d)]),be(0x7,a[_0x5a89b4(0x3d5)](B[_0x5a89b4(0x35e)]))],St);var ns=Object['defineProperty'],is=Object['getOwnPropertyDescriptor'],ss=(_0x3f0bab,_0x36e4c6,_0x77af38,_0x5a9f56)=>{const _0x572260=_0x5a89b4;for(var _0x39ca33=_0x5a9f56>0x1?void 0x0:_0x5a9f56?is(_0x36e4c6,_0x77af38):_0x36e4c6,_0xb15290=_0x3f0bab[_0x572260(0x554)]-0x1,_0x4310d8;_0xb15290>=0x0;_0xb15290--)(_0x4310d8=_0x3f0bab[_0xb15290])&&(_0x39ca33=(_0x5a9f56?_0x4310d8(_0x36e4c6,_0x77af38,_0x39ca33):_0x4310d8(_0x39ca33))||_0x39ca33);return _0x5a9f56&&_0x39ca33&&ns(_0x36e4c6,_0x77af38,_0x39ca33),_0x39ca33;},nt=(_0x2cfb81,_0x517fbb)=>(_0x275235,_0x4a19c4)=>_0x517fbb(_0x275235,_0x4a19c4,_0x2cfb81);let De=class extends a[_0x5a89b4(0x2da)]{constructor(_0x4cd95f,_0x32a085,_0xda7dfc){const _0x57ef06=_0x5a89b4;super(),I(this,_0x57ef06(0x5b9),new Map()),I(this,_0x57ef06(0x2cc),new A[(_0x57ef06(0x5d2))]()),(this[_0x57ef06(0x4b5)]=_0x4cd95f,this['_injector']=_0x32a085,this['_collabSessionService']=_0xda7dfc,this['_init']());}[_0x5a89b4(0x1db)](){const _0x5cf7d3=_0x5a89b4;super[_0x5cf7d3(0x1db)](),this[_0x5cf7d3(0x2cc)][_0x5cf7d3(0x1b0)](),this[_0x5cf7d3(0x5b9)][_0x5cf7d3(0x3a4)](_0x4d6256=>_0x4d6256[_0x5cf7d3(0x1db)]());}[_0x5a89b4(0x1b7)](_0x444312){const _0x42188b=_0x5a89b4;return this[_0x42188b(0x5b9)][_0x42188b(0x4df)](_0x444312)?this[_0x42188b(0x5b9)]['get'](_0x444312)[_0x42188b(0x214)]:this[_0x42188b(0x2cc)][_0x42188b(0x564)](A['filter'](_0x984dbe=>_0x984dbe['unitID']===_0x444312),A[_0x42188b(0x338)](_0x26caca=>_0x26caca['cursorInfo$']));}['_init'](){const _0xb38c16=_0x5a89b4;this[_0xb38c16(0x4b5)][_0xb38c16(0x1b2)](a['UniverInstanceType'][_0xb38c16(0x479)])['pipe'](A[_0xb38c16(0x2e9)](this[_0xb38c16(0x256)]))[_0xb38c16(0x3d8)](async _0x5e40a4=>{const _0x5a0522=_0xb38c16,_0x497457=_0x5e40a4[_0x5a0522(0x5df)](),_0xbd43fe=await this[_0x5a0522(0x361)](_0x497457);this[_0x5a0522(0x2cc)][_0x5a0522(0x52c)](_0xbd43fe),this['_entities'][_0x5a0522(0x352)](_0x497457,_0xbd43fe);}),this['_univerInstanceService'][_0xb38c16(0x1b2)](a[_0xb38c16(0x1af)][_0xb38c16(0x222)])['pipe'](A[_0xb38c16(0x2e9)](this[_0xb38c16(0x256)]))['pipe'](A[_0xb38c16(0x303)](_0xa6e845=>!_0xa6e845[_0xb38c16(0x5df)]()[_0xb38c16(0x4f7)]('__')))['subscribe'](async _0x43147c=>{const _0x544f25=_0xb38c16,_0x51f64c=_0x43147c[_0x544f25(0x5df)](),_0xe5c388=await this[_0x544f25(0x5d7)](_0x51f64c);this['_entityInit$'][_0x544f25(0x52c)](_0xe5c388),this[_0x544f25(0x5b9)][_0x544f25(0x352)](_0x51f64c,_0xe5c388);}),A[_0xb38c16(0x209)](this['_univerInstanceService'][_0xb38c16(0x2fd)](a[_0xb38c16(0x1af)][_0xb38c16(0x222)]),this['_univerInstanceService'][_0xb38c16(0x2fd)](a[_0xb38c16(0x1af)]['UNIVER_SHEET']))[_0xb38c16(0x564)](A[_0xb38c16(0x2e9)](this['dispose$']))[_0xb38c16(0x3d8)](_0x525090=>{const _0x536394=_0xb38c16,_0x52236c=_0x525090['getUnitId'](),_0x59810c=this['_entities'][_0x536394(0x58d)](_0x52236c);_0x59810c&&(_0x59810c['dispose'](),this[_0x536394(0x5b9)]['delete'](_0x52236c));});}async[_0x5a89b4(0x361)](_0x1fdad7){const _0x734db6=_0x5a89b4,_0x2d4cf6=await this[_0x734db6(0x43b)][_0x734db6(0x506)](_0x1fdad7),_0x5295ff=this['_injector'][_0x734db6(0x45d)](St,_0x1fdad7,_0x2d4cf6);return _0x5295ff[_0x734db6(0x28e)](),_0x5295ff;}async[_0x5a89b4(0x5d7)](_0x16fb18){const _0x505432=_0x5a89b4,_0x1e17a8=await this[_0x505432(0x43b)][_0x505432(0x506)](_0x16fb18),_0x38793a=this['_injector'][_0x505432(0x45d)](vt,_0x16fb18,_0x1e17a8);return _0x38793a[_0x505432(0x28e)](),_0x38793a;}};De=ss([nt(0x0,a[_0x5a89b4(0x21c)]),nt(0x1,a[_0x5a89b4(0x3d5)](a['Injector'])),nt(0x2,a[_0x5a89b4(0x3d5)](exports[_0x5a89b4(0x19c)]))],De);const Le=0x14,$t=0xc8,it=0x4,rs=0x5;function os(_0xbdb2b3,_0x73d2eb){const _0x139ba4=_0x5a89b4;let {radius:_0x5966a3,width:_0x3064a8,height:_0x252522}=_0x73d2eb;_0x5966a3=_0x5966a3!=null?_0x5966a3:0x0,_0x3064a8=_0x3064a8!=null?_0x3064a8:0x1e,_0x252522=_0x252522!=null?_0x252522:0x1e;let _0x2aaa3b=0x0,_0x58bf03=0x0,_0x56a555=0x0;_0x2aaa3b=_0x58bf03=_0x56a555=Math['min'](_0x5966a3,_0x3064a8/0x2,_0x252522/0x2),_0xbdb2b3[_0x139ba4(0x53f)](),_0xbdb2b3[_0x139ba4(0x337)](_0x2aaa3b,0x0),_0xbdb2b3[_0x139ba4(0x2f9)](_0x3064a8-_0x58bf03,0x0),_0xbdb2b3[_0x139ba4(0x4c4)](_0x3064a8-_0x58bf03,_0x58bf03,_0x58bf03,Math['PI']*0x3/0x2,0x0,!0x1),_0xbdb2b3['lineTo'](_0x3064a8,_0x252522-_0x56a555),_0xbdb2b3[_0x139ba4(0x4c4)](_0x3064a8-_0x56a555,_0x252522-_0x56a555,_0x56a555,0x0,Math['PI']/0x2,!0x1),_0xbdb2b3[_0x139ba4(0x2f9)](0x0,_0x252522),_0xbdb2b3['lineTo'](0x0,_0x2aaa3b),_0xbdb2b3[_0x139ba4(0x4c4)](_0x2aaa3b,_0x2aaa3b,_0x2aaa3b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xbdb2b3['closePath'](),_0x73d2eb[_0x139ba4(0x591)]&&(_0xbdb2b3[_0x139ba4(0x486)](),_0xbdb2b3[_0x139ba4(0x49d)]=_0x73d2eb['fill'],_0x73d2eb[_0x139ba4(0x1a7)]===_0x139ba4(0x4d2)?_0xbdb2b3['fill'](_0x139ba4(0x4d2)):_0xbdb2b3[_0x139ba4(0x591)](),_0xbdb2b3[_0x139ba4(0x579)]());}class ze extends K[_0x5a89b4(0x328)]{constructor(_0x5b0de1,_0x54f2e7){const _0x79d40f=_0x5a89b4;super(_0x5b0de1,_0x54f2e7),I(this,_0x79d40f(0x3f9)),I(this,_0x79d40f(0x3c7)),(this[_0x79d40f(0x3f9)]=_0x54f2e7==null?void 0x0:_0x54f2e7['color'],this['text']=_0x54f2e7==null?void 0x0:_0x54f2e7['text']);}static[_0x5a89b4(0x392)](_0x8979b0,_0x5434d1){const _0x3f90bd=_0x5a89b4,{text:_0x11ce0d,color:_0xd32dab}=_0x5434d1;_0x8979b0['save'](),_0x8979b0[_0x3f90bd(0x1fa)]=_0x3f90bd(0x152);const _0x367b75=_0x8979b0[_0x3f90bd(0x367)](_0x11ce0d)[_0x3f90bd(0x2db)],_0x2b1201=Math['min'](_0x367b75+0x2*it,$t);os(_0x8979b0,{'height':Le,'radius':0x4,'width':_0x2b1201,'fill':_0xd32dab,'evented':!0x1}),_0x8979b0['fillStyle']=_0x3f90bd(0x5e6);const _0x4c9d99=it,_0x43701d=Le-rs,_0x597338=$t-0x2*it;if(_0x367b75>_0x597338){let _0x317faf='',_0xe1e13b=0x0;for(const _0x153dc1 of _0x11ce0d){const _0x291f5=_0x8979b0[_0x3f90bd(0x367)](_0x153dc1)['width'];if(_0xe1e13b+_0x291f5<=_0x597338-_0x8979b0[_0x3f90bd(0x367)](_0x3f90bd(0x606))[_0x3f90bd(0x2db)])_0x317faf+=_0x153dc1,_0xe1e13b+=_0x291f5;else{_0x317faf+=_0x3f90bd(0x606);break;}}_0x8979b0[_0x3f90bd(0x387)](_0x317faf,_0x4c9d99,_0x43701d);}else _0x8979b0[_0x3f90bd(0x387)](_0x11ce0d,_0x4c9d99,_0x43701d);_0x8979b0[_0x3f90bd(0x579)]();}[_0x5a89b4(0x229)](_0x31b237){const _0x5dd115=_0x5a89b4;ze[_0x5dd115(0x392)](_0x31b237,this);}}const st=_0x5a89b4(0x44d),as=_0x5a89b4(0x26c),cs=_0x5a89b4(0x4ec),Ue=0x6,ls=1.5,rt=0x4,hs=1.5,_s=_0x5a89b4(0x35f);class Ht{constructor(_0x4e9db0,_0x3476c1,_0x313b28,_0x28112c){const _0x4f9eec=_0x5a89b4;I(this,_0x4f9eec(0x35b),[]),I(this,'_anchor',null),I(this,_0x4f9eec(0x539),null),I(this,'_anchorDot',null),I(this,_0x4f9eec(0x5e2),null),I(this,_0x4f9eec(0x36a),null),(this[_0x4f9eec(0x4be)]=_0x4e9db0,this[_0x4f9eec(0x28f)]=_0x3476c1,this[_0x4f9eec(0x1ec)]=_0x313b28,this['_document']=_0x28112c,this['_render']());}set['_hover'](_0x27b42c){const _0x272323=_0x5a89b4;_0x27b42c?(this['_anchorDot']&&this[_0x272323(0x153)][_0x272323(0x592)](),this[_0x272323(0x539)]&&this[_0x272323(0x539)][_0x272323(0x2ad)]()):(this[_0x272323(0x153)]&&this[_0x272323(0x153)][_0x272323(0x2ad)](),this[_0x272323(0x539)]&&this[_0x272323(0x539)][_0x272323(0x592)]());}[_0x5a89b4(0x1db)](){const _0x58409e=_0x5a89b4;for(const _0x5df12c of this[_0x58409e(0x35b)])_0x5df12c['dispose']();this[_0x58409e(0x539)]&&this[_0x58409e(0x539)]['dispose'](),this[_0x58409e(0x153)]&&this[_0x58409e(0x153)]['dispose'](),this[_0x58409e(0x3f7)]&&this[_0x58409e(0x3f7)][_0x58409e(0x1db)](),this[_0x58409e(0x36a)]&&this[_0x58409e(0x36a)]();}[_0x5a89b4(0x207)](){const _0x41abf5=_0x5a89b4;var _0x1fd5c6;const {_docSkeleton:_0x1a8a96,_document:_0x1eeedf}=this,{color:_0x4704c8,name:_0x3077c9,ranges:_0x2b56f0}=this[_0x41abf5(0x4be)],_0x2848fd=_0x1eeedf[_0x41abf5(0x292)](),{docsLeft:_0x4cea6f,docsTop:_0x7380d3}=_0x2848fd,_0x57f0ac=new Z['NodePositionConvertToCursor'](_0x2848fd,_0x1a8a96);for(const {startOffset:_0x46f8eb,endOffset:_0x3fadfa,rangeType:_0x2592e9,segmentId:_0x5ab2d9,segmentPage:_0x1a5b2a,collapsed:_0x3b89d3,isActive:_0x58a921}of _0x2b56f0){const _0x577af9=_0x1a8a96[_0x41abf5(0x263)](_0x46f8eb,!0x0,_0x5ab2d9,_0x1a5b2a);let _0x302d5a=_0x1a8a96['findNodePositionByCharIndex'](_0x3fadfa,!0x0,_0x5ab2d9,_0x1a5b2a);if(_0x302d5a==null&&(_0x302d5a=_0x1a8a96[_0x41abf5(0x263)](_0x3fadfa-0x1,!0x1,_0x5ab2d9,_0x1a5b2a)),_0x58a921){const {contentBoxPointGroup:_0x1f9c16}=_0x57f0ac[_0x41abf5(0x3fa)](_0x302d5a,_0x302d5a);if(_0x1f9c16[_0x41abf5(0x554)]===0x0)continue;this[_0x41abf5(0x356)](_0x4704c8,_0x1f9c16,_0x4cea6f,_0x7380d3,_0x3077c9),this[_0x41abf5(0x36a)]=this[_0x41abf5(0x1da)]();}if(_0x577af9&&_0x302d5a){if(_0x2592e9===a[_0x41abf5(0x4b3)][_0x41abf5(0x45f)]){const _0x243c24=new Z[(_0x41abf5(0x533))](_0x2848fd,_0x1a8a96),{pointGroup:_0x471eb8}=(_0x1fd5c6=_0x243c24['getRangePointData'](_0x577af9,_0x302d5a))!=null?_0x1fd5c6:{};if(_0x471eb8==null||_0x471eb8[_0x41abf5(0x554)]===0x0)continue;this[_0x41abf5(0x425)](_0x4704c8,_0x471eb8,_0x4cea6f,_0x7380d3);}else{if(!_0x3b89d3){const {borderBoxPointGroup:_0x206bb3}=_0x57f0ac[_0x41abf5(0x3fa)](_0x577af9,_0x302d5a);if(_0x206bb3[_0x41abf5(0x554)]===0x0)continue;this[_0x41abf5(0x4fd)](_0x4704c8,_0x206bb3,_0x4cea6f,_0x7380d3);}}}}}[_0x5a89b4(0x356)](_0x333594,_0x364334,_0x257155,_0x22ad8f,_0x1ea57b){const _0xff40c7=_0x5a89b4,_0x541659=this[_0xff40c7(0x5e1)](_0x364334),{left:_0x11cdad,top:_0x40b1d1,height:_0x20284c}=_0x541659,_0x45a03f=this['_getScale'](),_0x237fe0=hs/_0x45a03f,_0x30b9bf=new K['Rect'](st+a[_0xff40c7(0x444)]['generateRandomId'](Ue),{'left':_0x11cdad+_0x257155-_0x237fe0,'top':_0x40b1d1+_0x22ad8f,'height':_0x20284c,'width':ls,'fill':_0x333594||K['getColor'](a[_0xff40c7(0x26b)][_0xff40c7(0x5dc)],0x0),'strokeWidth':_0x237fe0,'stroke':_s,'evented':!0x0});this[_0xff40c7(0x3f7)]=_0x30b9bf,this[_0xff40c7(0x28f)][_0xff40c7(0x25f)](_0x30b9bf,Z[_0xff40c7(0x5af)]);const _0x177d3a=new K[(_0xff40c7(0x1ca))](st+a[_0xff40c7(0x444)][_0xff40c7(0x50a)](Ue),{'left':_0x11cdad+_0x257155-_0x237fe0,'top':_0x40b1d1+_0x22ad8f-rt/0x2,'height':rt,'width':rt,'fill':_0x333594||K[_0xff40c7(0x4c5)](a[_0xff40c7(0x26b)][_0xff40c7(0x5dc)],0x0),'strokeWidth':0x0,'stroke':_0x333594||K[_0xff40c7(0x4c5)](a[_0xff40c7(0x26b)]['black'],0x0),'evented':!0x1});this[_0xff40c7(0x153)]=_0x177d3a,this[_0xff40c7(0x28f)][_0xff40c7(0x25f)](_0x177d3a,Z[_0xff40c7(0x5af)]);const _0x7aaaac=new ze(st+a[_0xff40c7(0x444)][_0xff40c7(0x50a)](Ue),{'left':_0x11cdad+_0x257155-_0x237fe0,'top':_0x40b1d1+_0x22ad8f-Le,'text':_0x1ea57b,'color':_0x333594});this[_0xff40c7(0x539)]=_0x7aaaac,this['_scene'][_0xff40c7(0x25f)](_0x7aaaac,Z[_0xff40c7(0x5af)]),this[_0xff40c7(0x427)]=!0x1;}[_0x5a89b4(0x1da)](){const _0x5ad37c=_0x5a89b4,_0x4c71bb=this[_0x5ad37c(0x3f7)][_0x5ad37c(0x269)][_0x5ad37c(0x46f)](()=>{const _0x49c385=_0x5ad37c;this[_0x49c385(0x427)]=!0x0;}),_0x732dbd=this[_0x5ad37c(0x3f7)][_0x5ad37c(0x583)][_0x5ad37c(0x46f)](()=>{const _0x5d307e=_0x5ad37c;this[_0x5d307e(0x5e2)]&&clearTimeout(this[_0x5d307e(0x5e2)]),this[_0x5d307e(0x5e2)]=setTimeout(()=>{const _0x2cb204=_0x5d307e;this[_0x2cb204(0x427)]=!0x1;},0x7d0);});return()=>{const _0x2c7ff7=_0x5ad37c;_0x4c71bb[_0x2c7ff7(0x2c2)](),_0x732dbd[_0x2c7ff7(0x2c2)]();};}[_0x5a89b4(0x4fd)](_0x96110a,_0x3912be,_0x72cf16,_0x29b61b){const _0x52e7c4=_0x5a89b4,_0x26ae23=new a['ColorKit'](_0x96110a)[_0x52e7c4(0x39e)](0.2)['toRgbString'](),_0x4057f8=new K[(_0x52e7c4(0x20c))](as+a['Tools']['generateRandomId'](Ue),{'pointsGroup':_0x3912be,'fill':_0x26ae23||K[_0x52e7c4(0x4c5)](a[_0x52e7c4(0x26b)]['black'],0.2),'left':_0x72cf16,'top':_0x29b61b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x52e7c4(0x35b)][_0x52e7c4(0x1d0)](_0x4057f8),this[_0x52e7c4(0x28f)][_0x52e7c4(0x25f)](_0x4057f8,Z[_0x52e7c4(0x5af)]);}[_0x5a89b4(0x425)](_0x3e7582,_0x256b41,_0x4cdd9b,_0x5776c3){const _0x392025=_0x5a89b4,_0x3067fd=new a[(_0x392025(0x589))](_0x3e7582)[_0x392025(0x39e)](0.2)['toRgbString'](),_0x58b2b0=new K['RegularPolygon'](cs+a[_0x392025(0x444)][_0x392025(0x50a)](Ue),{'pointsGroup':_0x256b41,'fill':_0x3067fd||K['getColor'](a[_0x392025(0x26b)][_0x392025(0x5dc)],0.2),'left':_0x4cdd9b,'top':_0x5776c3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x392025(0x35b)][_0x392025(0x1d0)](_0x58b2b0),this['_scene']['addObject'](_0x58b2b0,Z['TEXT_RANGE_LAYER_INDEX']);}[_0x5a89b4(0x5e1)](_0x184c24){const _0x562f08=_0x184c24[0x0],_0x42d2aa=_0x562f08[0x0],_0x178f39=_0x562f08[0x2],{x:_0x5e3a43,y:_0x51fc71}=_0x42d2aa,{x:_0x2a6348,y:_0x192cbb}=_0x178f39;return{'left':_0x5e3a43,'top':_0x51fc71,'width':_0x2a6348-_0x5e3a43,'height':_0x192cbb-_0x51fc71};}[_0x5a89b4(0x20f)](){const {scaleX:_0x1ad4e1,scaleY:_0x3b3954}=this['_scene']['getAncestorScale']();return Math['max'](_0x1ad4e1,_0x3b3954);}}var us=Object[_0x5a89b4(0x5bf)],ds=Object[_0x5a89b4(0x227)],fs=(_0x4c30ae,_0x201f4c,_0x143903,_0x54ef14)=>{for(var _0x5ab44e=_0x54ef14>0x1?void 0x0:_0x54ef14?ds(_0x201f4c,_0x143903):_0x201f4c,_0x1bd99a=_0x4c30ae['length']-0x1,_0x90fa64;_0x1bd99a>=0x0;_0x1bd99a--)(_0x90fa64=_0x4c30ae[_0x1bd99a])&&(_0x5ab44e=(_0x54ef14?_0x90fa64(_0x201f4c,_0x143903,_0x5ab44e):_0x90fa64(_0x5ab44e))||_0x5ab44e);return _0x54ef14&&_0x5ab44e&&us(_0x201f4c,_0x143903,_0x5ab44e),_0x5ab44e;},je=(_0x2408b6,_0x332741)=>(_0x3b29a1,_0x122f91)=>_0x332741(_0x3b29a1,_0x122f91,_0x2408b6);let pt=class extends a[_0x5a89b4(0x2da)]{constructor(_0x2d2d36,_0x2f48b6,_0x5b6128,_0x564605,_0x5cbf25){const _0x41d9f5=_0x5a89b4;super(),I(this,_0x41d9f5(0x534),[]),I(this,_0x41d9f5(0x344),[]),(this[_0x41d9f5(0x31d)]=_0x2d2d36,this['_docSkeletonManagerService']=_0x2f48b6,this[_0x41d9f5(0x52d)]=_0x5b6128,this[_0x41d9f5(0x5da)]=_0x564605,this[_0x41d9f5(0x301)]=_0x5cbf25,this[_0x41d9f5(0x1b8)]());}[_0x5a89b4(0x1b8)](){const _0x1d81bd=_0x5a89b4,_0x204bd6=this[_0x1d81bd(0x31d)][_0x1d81bd(0x3e9)],_0x2bb7e3=this[_0x1d81bd(0x224)];this[_0x1d81bd(0x15e)](A[_0x1d81bd(0x28c)]([this[_0x1d81bd(0x52d)][_0x1d81bd(0x1b7)](_0x204bd6),this[_0x1d81bd(0x301)][_0x1d81bd(0x5fa)]])[_0x1d81bd(0x564)](V[_0x1d81bd(0x272)](([_0x4d78a8,_0x2d39cd])=>({'skeleton':_0x2bb7e3[_0x1d81bd(0x3cc)](),'cursors':[..._0x4d78a8[_0x1d81bd(0x1fb)]()][_0x1d81bd(0x2d7)](_0x3902b1=>({..._0x3902b1,'color':_0x2d39cd[_0x3902b1[_0x1d81bd(0x3f9)]]}))})))['subscribe'](_0x4d7fc0=>{const _0x1d3732=_0x1d81bd;if(this['_removeCollabCursors'](),_0x4d7fc0){const {skeleton:_0x312e8a,cursors:_0x146bed}=_0x4d7fc0;this[_0x1d3732(0x4d5)](_0x312e8a,_0x146bed);}})),this[_0x1d81bd(0x24f)](),this[_0x1d81bd(0x37f)]();}[_0x5a89b4(0x4d5)](_0x42af7d,_0x3d3cc5){const _0x5812b2=_0x5a89b4,{scene:_0x3c069c,mainComponent:_0xb9792}=this['_context'],_0x328b71=_0x3d3cc5['map'](_0x381e3b=>new Ht(_0x381e3b,_0x3c069c,_0x42af7d,_0xb9792));this[_0x5812b2(0x534)]=_0x328b71,this['_cursors']=_0x3d3cc5;}[_0x5a89b4(0x53c)](){const _0x2001f2=_0x5a89b4;this[_0x2001f2(0x1b9)]();const {scene:_0x198999,mainComponent:_0x1abaa0}=this[_0x2001f2(0x31d)],_0x1676e3=this[_0x2001f2(0x224)][_0x2001f2(0x3cc)](),_0x1a1340=this[_0x2001f2(0x344)]['map'](_0x1e001d=>new Ht(_0x1e001d,_0x198999,_0x1676e3,_0x1abaa0));this[_0x2001f2(0x534)]=_0x1a1340;}[_0x5a89b4(0x1b9)](){const _0x30a015=_0x5a89b4;this[_0x30a015(0x534)][_0x30a015(0x3a4)](_0x3c81d9=>_0x3c81d9['dispose']()),this[_0x30a015(0x534)]=[];}[_0x5a89b4(0x37f)](){const _0x10c2d4=_0x5a89b4,_0x1deb0e=[Z[_0x10c2d4(0x228)]['id']];this[_0x10c2d4(0x15e)](this[_0x10c2d4(0x5da)]['onCommandExecuted'](_0x33114a=>{const _0x5200fd=_0x10c2d4;_0x1deb0e['includes'](_0x33114a['id'])&&_0x33114a[_0x5200fd(0x4a4)][_0x5200fd(0x3e9)]===this[_0x5200fd(0x31d)][_0x5200fd(0x3e9)]&&this[_0x5200fd(0x53c)]();}));}[_0x5a89b4(0x24f)](){const _0x53a0ad=_0x5a89b4;this[_0x53a0ad(0x15e)](a[_0x53a0ad(0x556)](this[_0x53a0ad(0x31d)]['engine'][_0x53a0ad(0x5fe)])[_0x53a0ad(0x564)](V[_0x53a0ad(0x303)](_0x3b81ae=>_0x3b81ae['type']===K[_0x53a0ad(0x4e7)][_0x53a0ad(0x5b0)]),V[_0x53a0ad(0x59b)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};pt=fs([je(0x1,a[_0x5a89b4(0x3d5)](ye[_0x5a89b4(0x3d4)])),je(0x2,a[_0x5a89b4(0x3d5)](De)),je(0x3,a['ICommandService']),je(0x4,a[_0x5a89b4(0x3d5)](a['ThemeService']))],pt);const vs=0x1,Ss=1.5;class vn extends K[_0x5a89b4(0x328)]{constructor(_0xeac080,_0x4d9d06){const _0x1be3c4=_0x5a89b4;super(_0xeac080,_0x4d9d06),I(this,_0x1be3c4(0x60a)),I(this,'_hovered',!0x1),I(this,'_range'),I(this,_0x1be3c4(0x239),''),I(this,_0x1be3c4(0x5d4),_0x1be3c4(0x553)),I(this,_0x1be3c4(0x515)),(_0x4d9d06&&this[_0x1be3c4(0x208)](_0x4d9d06),this[_0x1be3c4(0x269)]['subscribeEvent'](()=>this[_0x1be3c4(0x208)]({'hovered':!0x0})),this[_0x1be3c4(0x583)][_0x1be3c4(0x46f)](()=>this[_0x1be3c4(0x208)]({'hovered':!0x1})));}[_0x5a89b4(0x208)](_0x42f48d){const _0x236109=_0x5a89b4;var _0x527cf8,_0x472cda,_0x3ffe01,_0x2d26b4,_0x595bb4,_0x2c36ce;this['_color']=(_0x527cf8=_0x42f48d[_0x236109(0x3f9)])!=null?_0x527cf8:this[_0x236109(0x60a)],this['_hovered']=(_0x472cda=_0x42f48d['hovered'])!=null?_0x472cda:this[_0x236109(0x450)],this[_0x236109(0x30d)]=(_0x3ffe01=_0x42f48d['range'])!=null?_0x3ffe01:this[_0x236109(0x30d)],this['_name']=(_0x2d26b4=_0x42f48d[_0x236109(0x5e4)])!=null?_0x2d26b4:this[_0x236109(0x239)],this[_0x236109(0x5d4)]=(_0x595bb4=_0x42f48d[_0x236109(0x540)])!=null?_0x595bb4:this['_labelPosition'],this[_0x236109(0x515)]=(_0x2c36ce=_0x42f48d[_0x236109(0x1f4)])!=null?_0x2c36ce:this['_backgroundColor'],this[_0x236109(0x4e9)]({'width':_0x42f48d[_0x236109(0x2db)],'height':_0x42f48d['height']});}['onMouseMove'](_0x254ec9){const _0x1e017e=_0x5a89b4,{row:_0x337e05,column:_0x224c44}=_0x254ec9;if(_0x337e05>=this[_0x1e017e(0x30d)][_0x1e017e(0x525)]&&_0x337e05<=this['_range'][_0x1e017e(0x2bd)]&&_0x224c44>=this[_0x1e017e(0x30d)][_0x1e017e(0x16c)]&&_0x224c44<=this[_0x1e017e(0x30d)][_0x1e017e(0x16e)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x1e017e(0x208)]({'hovered':!0x1});}[_0x5a89b4(0x5ae)](_0x43f64f){return!0x1;}[_0x5a89b4(0x229)](_0x26e209){const _0x2810a8=_0x5a89b4;K['Rect'][_0x2810a8(0x392)](_0x26e209,{'width':this[_0x2810a8(0x2db)],'height':this[_0x2810a8(0x29f)],'strokeWidth':Ss,'stroke':this[_0x2810a8(0x60a)],'evented':!0x1,'fill':this[_0x2810a8(0x515)]}),this[_0x2810a8(0x450)]&&(_0x26e209[_0x2810a8(0x486)](),_0x26e209['transform'](0x1,0x0,0x0,0x1,this[_0x2810a8(0x2db)],this[_0x2810a8(0x5d4)]===_0x2810a8(0x21d)?0x0:-Le),ze[_0x2810a8(0x392)](_0x26e209,{'text':this[_0x2810a8(0x239)],'color':this['_color']}),_0x26e209[_0x2810a8(0x579)]());}}var ps=Object[_0x5a89b4(0x5bf)],ms=Object[_0x5a89b4(0x227)],gs=(_0x46088a,_0x28197e,_0x132a1a,_0x23f076)=>{const _0x33761d=_0x5a89b4;for(var _0x4f34f9=_0x23f076>0x1?void 0x0:_0x23f076?ms(_0x28197e,_0x132a1a):_0x28197e,_0x1cbd72=_0x46088a[_0x33761d(0x554)]-0x1,_0x433e10;_0x1cbd72>=0x0;_0x1cbd72--)(_0x433e10=_0x46088a[_0x1cbd72])&&(_0x4f34f9=(_0x23f076?_0x433e10(_0x28197e,_0x132a1a,_0x4f34f9):_0x433e10(_0x4f34f9))||_0x4f34f9);return _0x23f076&&_0x4f34f9&&ps(_0x28197e,_0x132a1a,_0x4f34f9),_0x4f34f9;},ot=(_0x233413,_0x2cf269)=>(_0x3d6ce7,_0x3e4364)=>_0x2cf269(_0x3d6ce7,_0x3e4364,_0x233413);const Is=0x1389;let mt=class extends a[_0x5a89b4(0x2da)]{constructor(_0x378b36,_0x5befc0,_0x465ffe,_0x17f63e){const _0x3429be=_0x5a89b4;super(),I(this,_0x3429be(0x344),new Set()),I(this,'_lastPointer',null),(this[_0x3429be(0x31d)]=_0x378b36,this[_0x3429be(0x459)]=_0x5befc0,this[_0x3429be(0x52d)]=_0x465ffe,this[_0x3429be(0x301)]=_0x17f63e,this[_0x3429be(0x1b8)]());}[_0x5a89b4(0x1b8)](){const _0x5c5344=_0x5a89b4;this[_0x5c5344(0x459)]['currentSkeleton$']['pipe'](V[_0x5c5344(0x2e9)](this[_0x5c5344(0x256)]),V[_0x5c5344(0x338)](_0x185f42=>{const _0x3c6a1c=_0x5c5344;if(_0x185f42){const _0x50753a=_0x185f42[_0x3c6a1c(0x605)];return A['combineLatest'](this[_0x3c6a1c(0x52d)][_0x3c6a1c(0x1b7)](this[_0x3c6a1c(0x31d)][_0x3c6a1c(0x3e9)]),this[_0x3c6a1c(0x301)][_0x3c6a1c(0x5fa)])[_0x3c6a1c(0x564)](V[_0x3c6a1c(0x272)](([_0x1cff4a,_0xfb6ddf])=>{const _0x31bc92=_0x3c6a1c,_0x2d57c3=new Map();return _0x1cff4a[_0x31bc92(0x3a4)]((_0x19d900,_0x276a47)=>{const _0x35a477=_0x31bc92;if(_0x19d900[_0x35a477(0x36d)]===_0x50753a){const _0x2ba643={..._0x19d900};_0x2ba643['color']=_0xfb6ddf[_0x19d900[_0x35a477(0x3f9)]],_0x2d57c3['set'](_0x276a47,_0x2ba643);}}),{'skeleton':_0x185f42,'cursors':_0x2d57c3};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x199025,cursors:_0x5bf7a0})=>{const _0x1b174a=_0x5c5344;this[_0x1b174a(0x1b9)](),_0x199025&&this['_updateCollabCursors'](_0x199025,_0x5bf7a0);}),this[_0x5c5344(0x459)]['currentSkeleton$'][_0x5c5344(0x3d8)](_0x183e8a=>{const _0x1440e9=_0x5c5344;if(_0x183e8a==null)return;const {skeleton:_0x4297e2}=_0x183e8a,{scene:_0x4d665c}=this[_0x1440e9(0x31d)];_0x4d665c[_0x1440e9(0x4ab)][_0x1440e9(0x46f)](a[_0x1440e9(0x530)](_0xc5eb49=>{const _0x512157=_0x1440e9;var _0x587869,_0x3b3eaa;const {offsetX:_0x4e4929,offsetY:_0x281959}=_0xc5eb49,{x:_0x3c3706,y:_0x50d378}=_0x4d665c['getRelativeToViewportCoord'](K['Vector2']['FromArray']([_0x4e4929,_0x281959])),{scaleX:_0x415641,scaleY:_0x5caca4}=_0x4d665c[_0x512157(0x1be)](),_0x2889cc=_0x4d665c[_0x512157(0x4ef)](Re[_0x512157(0x369)][_0x512157(0x308)]),_0x56cdab=_0x4d665c[_0x512157(0x1dd)](K['Vector2'][_0x512157(0x360)]([_0x3c3706,_0x50d378]),_0x2889cc),_0xa6d37=_0x4297e2[_0x512157(0x4fc)](_0x4e4929,_0x281959,_0x415641,_0x5caca4,_0x56cdab);((_0x587869=this[_0x512157(0x577)])==null?void 0x0:_0x587869[_0x512157(0x57d)])===_0xa6d37[_0x512157(0x57d)]&&((_0x3b3eaa=this[_0x512157(0x577)])==null?void 0x0:_0x3b3eaa[_0x512157(0x477)])===_0xa6d37[_0x512157(0x477)]||this[_0x512157(0x344)]['forEach'](_0x77f91a=>{const _0xc3ab84=_0x512157;_0x77f91a[_0xc3ab84(0x378)](_0xa6d37);});},0x64));});}[_0x5a89b4(0x4d5)](_0x4e7557,_0x3b2d23){const _0x421c9b=_0x5a89b4;var _0x5eb896;const _0x1e2820=(_0x5eb896=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x5eb896[_0x421c9b(0x211)];if(!_0x1e2820)return;const _0x42b78d=this['_getSheetObject']();if(!_0x42b78d)return;this['_cursors']['forEach'](_0x499504=>{const _0x45b95d=_0x421c9b;_0x499504[_0x45b95d(0x527)]();});const {scene:_0x5b19b8}=_0x42b78d,_0x32c3b7=Cs(Array[_0x421c9b(0x2fc)](_0x3b2d23['values']()))[_0x421c9b(0x272)](_0x14f5e5=>{const _0x3fe998=_0x421c9b,{color:_0x4b3711,range:_0x431e77,name:_0x333506,selection:_0x7ac756,sheetID:_0x2dc10e}=_0x14f5e5,{startColumn:_0x455945,startRow:_0x5c16d3,endColumn:_0x12a7da,endRow:_0xd8b62f}=_0x431e77,_0x16c38d=Re[_0x3fe998(0x373)](_0x5c16d3,_0x455945,_0x5b19b8,_0x1e2820),_0x3a010b=Re['getCoordByCell'](_0xd8b62f,_0x12a7da,_0x5b19b8,_0x1e2820),{columnHeaderHeightAndMarginTop:_0x1a21d7}=_0x1e2820,{startX:_0x516677,startY:_0x50a217}=_0x16c38d,{endX:_0xfd92f5,endY:_0x45dc9d}=_0x3a010b,_0x3f065e=_0xfd92f5-_0x516677,_0x3e5906=_0x45dc9d-_0x50a217,_0xd5c5ed={'labelPosition':_0x50a217-_0x1a21d7>=Le?'top':_0x3fe998(0x21d),'sheetID':_0x2dc10e,'range':_0x431e77,'color':_0x4b3711,'name':_0x333506,'selection':_0x7ac756,'left':_0x516677,'top':_0x50a217,'width':_0x3f065e,'height':_0x3e5906,'evented':!0x1,'zIndex':Is};return new vn(_0x333506,_0xd5c5ed);});_0x5b19b8[_0x421c9b(0x2f1)](_0x32c3b7,vs),this[_0x421c9b(0x344)]=new Set(_0x32c3b7);}[_0x5a89b4(0x1b9)](){const _0x8fa59b=_0x5a89b4;var _0x5fa19b;(_0x5fa19b=this['_cursors'])==null||_0x5fa19b['forEach'](_0x294125=>_0x294125[_0x8fa59b(0x1db)]());}[_0x5a89b4(0x230)](){const _0x459c6f=_0x5a89b4;return Re[_0x459c6f(0x182)](this[_0x459c6f(0x31d)]['unit'],this[_0x459c6f(0x31d)]);}};mt=gs([ot(0x1,a['Inject'](Re[_0x5a89b4(0x2cd)])),ot(0x2,a[_0x5a89b4(0x3d5)](De)),ot(0x3,a[_0x5a89b4(0x3d5)](a[_0x5a89b4(0x24a)]))],mt);function Cs(_0x29bf60){const _0x2d13de=_0x5a89b4,_0xf73348=new Map();return _0x29bf60[_0x2d13de(0x3a4)](_0xdbb6fd=>{const _0x1735b4=_0x2d13de;if(_0xf73348[_0x1735b4(0x4df)](_0xdbb6fd[_0x1735b4(0x5fc)])){const _0x35d991=_0xf73348[_0x1735b4(0x58d)](_0xdbb6fd[_0x1735b4(0x5fc)]);_0x35d991[_0x1735b4(0x5e4)]+=',\x20'+_0xdbb6fd[_0x1735b4(0x5e4)];}else _0xf73348[_0x1735b4(0x352)](_0xdbb6fd[_0x1735b4(0x5fc)],_0xdbb6fd);}),Array['from'](_0xf73348[_0x2d13de(0x1fb)]());}var X=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x4c7531){const _0x29722b=_0x5a89b4;return _0x4c7531&&_0x4c7531[_0x29722b(0x565)]&&Object[_0x29722b(0x3af)][_0x29722b(0x431)][_0x29722b(0x35a)](_0x4c7531,'default')?_0x4c7531[_0x29722b(0x3ae)]:_0x4c7531;}var Sn={'exports':{}},Xe={},Es=ae,bs=Symbol[_0x5a89b4(0x5d3)](_0x5a89b4(0x1bd)),Ts=Symbol['for'](_0x5a89b4(0x2b6)),Rs=Object[_0x5a89b4(0x3af)]['hasOwnProperty'],ys=Es[_0x5a89b4(0x5f7)]['ReactCurrentOwner'],Os={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function pn(_0x200820,_0x3c2d37,_0x5bb5e1){const _0x135626=_0x5a89b4;var _0x3f5f30,_0x474749={},_0x2ddca5=null,_0x1d3632=null;_0x5bb5e1!==void 0x0&&(_0x2ddca5=''+_0x5bb5e1),_0x3c2d37['key']!==void 0x0&&(_0x2ddca5=''+_0x3c2d37['key']),_0x3c2d37[_0x135626(0x1c8)]!==void 0x0&&(_0x1d3632=_0x3c2d37['ref']);for(_0x3f5f30 in _0x3c2d37)Rs[_0x135626(0x35a)](_0x3c2d37,_0x3f5f30)&&!Os[_0x135626(0x431)](_0x3f5f30)&&(_0x474749[_0x3f5f30]=_0x3c2d37[_0x3f5f30]);if(_0x200820&&_0x200820[_0x135626(0x4bd)]){for(_0x3f5f30 in(_0x3c2d37=_0x200820['defaultProps'],_0x3c2d37))_0x474749[_0x3f5f30]===void 0x0&&(_0x474749[_0x3f5f30]=_0x3c2d37[_0x3f5f30]);}return{'$$typeof':bs,'type':_0x200820,'key':_0x2ddca5,'ref':_0x1d3632,'props':_0x474749,'_owner':ys[_0x135626(0x4b2)]};}Xe['Fragment']=Ts,Xe[_0x5a89b4(0x3e0)]=pn,Xe[_0x5a89b4(0x299)]=pn,Sn[_0x5a89b4(0x175)]=Xe;var ge=Sn['exports'],Q=function(){const _0x4434c6=_0x5a89b4;return Q=Object['assign']||function(_0x563f0f){const _0x9a1b51=_0x4da2;for(var _0x2a418e,_0x32eb5e=0x1,_0x398edf=arguments[_0x9a1b51(0x554)];_0x32eb5e<_0x398edf;_0x32eb5e++){_0x2a418e=arguments[_0x32eb5e];for(var _0x328d52 in _0x2a418e)Object[_0x9a1b51(0x3af)][_0x9a1b51(0x431)][_0x9a1b51(0x35a)](_0x2a418e,_0x328d52)&&(_0x563f0f[_0x328d52]=_0x2a418e[_0x328d52]);}return _0x563f0f;},Q[_0x4434c6(0x2b9)](this,arguments);},Ds=function(_0x3ba546,_0x3ea1a7){const _0x50f4f3=_0x5a89b4;var _0x335d9d={};for(var _0x3b7749 in _0x3ba546)Object['prototype'][_0x50f4f3(0x431)][_0x50f4f3(0x35a)](_0x3ba546,_0x3b7749)&&_0x3ea1a7[_0x50f4f3(0x473)](_0x3b7749)<0x0&&(_0x335d9d[_0x3b7749]=_0x3ba546[_0x3b7749]);if(_0x3ba546!=null&&typeof Object[_0x50f4f3(0x2fa)]==_0x50f4f3(0x205)){for(var _0x1e8b57=0x0,_0x3b7749=Object['getOwnPropertySymbols'](_0x3ba546);_0x1e8b57<_0x3b7749['length'];_0x1e8b57++)_0x3ea1a7['indexOf'](_0x3b7749[_0x1e8b57])<0x0&&Object['prototype'][_0x50f4f3(0x2af)]['call'](_0x3ba546,_0x3b7749[_0x1e8b57])&&(_0x335d9d[_0x3b7749[_0x1e8b57]]=_0x3ba546[_0x3b7749[_0x1e8b57]]);}return _0x335d9d;},Ot=ae[_0x5a89b4(0x4f1)](function(_0x2b57fc,_0x1bd232){const _0x1eb794=_0x5a89b4;var _0x1f89c2=_0x2b57fc[_0x1eb794(0x49c)],_0x379a3f=_0x2b57fc['id'],_0x5a935d=_0x2b57fc[_0x1eb794(0x359)],_0x46c988=_0x2b57fc[_0x1eb794(0x438)],_0x24229b=Ds(_0x2b57fc,['icon','id',_0x1eb794(0x359),_0x1eb794(0x438)]),_0x5b9841=_0x1eb794(0x1f5)[_0x1eb794(0x5c6)](_0x379a3f,'\x20')[_0x1eb794(0x5c6)](_0x5a935d||'')[_0x1eb794(0x376)](),_0x3bf1e2=ae[_0x1eb794(0x14c)]('_'[_0x1eb794(0x5c6)](Us()));return mn(_0x1f89c2,''['concat'](_0x379a3f),{'defIds':_0x1f89c2['defIds'],'idSuffix':_0x3bf1e2['current']},Q({'ref':_0x1bd232,'className':_0x5b9841},_0x24229b),_0x46c988);});function mn(_0x2df67b,_0x47b8e0,_0x350aec,_0x390ae2,_0x410c0a){const _0x45aca3=_0x5a89b4;return ae[_0x45aca3(0x5a2)](_0x2df67b[_0x45aca3(0x5ee)],Q(Q({'key':_0x47b8e0},ws(_0x2df67b,_0x350aec,_0x410c0a)),_0x390ae2),(Ps(_0x2df67b,_0x350aec)['children']||[])[_0x45aca3(0x272)](function(_0x2a4d79,_0x10a517){const _0x5a6d1b=_0x45aca3;return mn(_0x2a4d79,''['concat'](_0x47b8e0,'-')[_0x5a6d1b(0x5c6)](_0x2df67b[_0x5a6d1b(0x5ee)],'-')[_0x5a6d1b(0x5c6)](_0x10a517),_0x350aec,void 0x0,_0x410c0a);}));}function ws(_0xe40a20,_0x3d94d5,_0x48ca6b){const _0x1319d8=_0x5a89b4;var _0x58d861=Q({},_0xe40a20[_0x1319d8(0x4ed)]);_0x48ca6b!=null&&_0x48ca6b['colorChannel1']&&_0x58d861[_0x1319d8(0x591)]===_0x1319d8(0x2d1)&&(_0x58d861['fill']=_0x48ca6b[_0x1319d8(0x2d1)]);var _0x532f63=_0x3d94d5[_0x1319d8(0x290)];return!_0x532f63||_0x532f63['length']===0x0||(_0xe40a20[_0x1319d8(0x5ee)]===_0x1319d8(0x1a5)&&_0x58d861[_0x1319d8(0x4dd)]&&(_0x58d861['xlink:href']=_0x58d861[_0x1319d8(0x4dd)]+_0x3d94d5['idSuffix']),Object[_0x1319d8(0x1d9)](_0x58d861)[_0x1319d8(0x3a4)](function(_0xa04ee4){const _0x38efad=_0x1319d8;var _0x360953=_0xa04ee4[0x0],_0x5e752d=_0xa04ee4[0x1];typeof _0x5e752d==_0x38efad(0x4ad)&&(_0x58d861[_0x360953]=_0x5e752d[_0x38efad(0x4e5)](/url\(#(.*)\)/,_0x38efad(0x267)[_0x38efad(0x5c6)](_0x3d94d5[_0x38efad(0x3fc)],')')));})),_0x58d861;}function Ps(_0x321462,_0x2940ba){const _0x228d3c=_0x5a89b4;var _0x2025a1,_0xe56826=_0x2940ba[_0x228d3c(0x290)];return!_0xe56826||_0xe56826[_0x228d3c(0x554)]===0x0?_0x321462:_0x321462['tag']===_0x228d3c(0x302)&&(!((_0x2025a1=_0x321462[_0x228d3c(0x17b)])===null||_0x2025a1===void 0x0)&&_0x2025a1['length'])?Q(Q({},_0x321462),{'children':_0x321462[_0x228d3c(0x17b)][_0x228d3c(0x272)](function(_0x1a662c){const _0x4e6739=_0x228d3c;return typeof _0x1a662c[_0x4e6739(0x4ed)]['id']==_0x4e6739(0x4ad)&&_0xe56826&&_0xe56826[_0x4e6739(0x473)](_0x1a662c['attrs']['id'])>-0x1?Q(Q({},_0x1a662c),{'attrs':Q(Q({},_0x1a662c[_0x4e6739(0x4ed)]),{'id':_0x1a662c[_0x4e6739(0x4ed)]['id']+_0x2940ba[_0x4e6739(0x3fc)]})}):_0x1a662c;})}):_0x321462;}function Us(){const _0x44938e=_0x5a89b4;return Math[_0x44938e(0x568)]()['toString'](0x24)[_0x44938e(0x221)](0x2,0x8);}Ot['displayName']=_0x5a89b4(0x2e5);var Ms={'tag':_0x5a89b4(0x346),'attrs':{'fill':_0x5a89b4(0x34c),'viewBox':_0x5a89b4(0x440),'width':_0x5a89b4(0x4a6),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5a89b4(0x1a3)},'children':[{'tag':_0x5a89b4(0x4a3),'attrs':{'stroke':_0x5a89b4(0x164),'d':_0x5a89b4(0x24b),'strokeLinecap':_0x5a89b4(0x2c9),'strokeLinejoin':_0x5a89b4(0x2c9),'strokeWidth':1.2}}]},{'tag':_0x5a89b4(0x302),'attrs':{},'children':[{'tag':_0x5a89b4(0x2a3),'attrs':{'id':_0x5a89b4(0x3ca)},'children':[{'tag':_0x5a89b4(0x4a3),'attrs':{'fill':_0x5a89b4(0x581),'d':_0x5a89b4(0x447)}}]}]}],'defIds':[_0x5a89b4(0x3ca)]},gn=ae[_0x5a89b4(0x4f1)](function(_0x2256cc,_0x4ee681){const _0x4d180d=_0x5a89b4;return ae[_0x4d180d(0x5a2)](Ot,Object['assign']({},_0x2256cc,{'id':'off-line-single','ref':_0x4ee681,'icon':Ms}));});gn[_0x5a89b4(0x4de)]=_0x5a89b4(0x286);var As={'tag':_0x5a89b4(0x346),'attrs':{'fill':_0x5a89b4(0x34c),'viewBox':_0x5a89b4(0x20d),'width':_0x5a89b4(0x4a6),'height':_0x5a89b4(0x4a6)},'children':[{'tag':'g','attrs':{'clipPath':_0x5a89b4(0x1b1)},'children':[{'tag':_0x5a89b4(0x4a3),'attrs':{'stroke':_0x5a89b4(0x164),'d':_0x5a89b4(0x1d4),'strokeLinecap':_0x5a89b4(0x2c9),'strokeLinejoin':_0x5a89b4(0x2c9),'strokeWidth':1.2}}]},{'tag':_0x5a89b4(0x302),'attrs':{},'children':[{'tag':_0x5a89b4(0x2a3),'attrs':{'id':_0x5a89b4(0x318)},'children':[{'tag':_0x5a89b4(0x4a3),'attrs':{'fill':'#fff','d':_0x5a89b4(0x447),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},In=ae[_0x5a89b4(0x4f1)](function(_0xc31c63,_0x40cc62){const _0x4962d4=_0x5a89b4;return ae[_0x4962d4(0x5a2)](Ot,Object[_0x4962d4(0x401)]({},_0xc31c63,{'id':'on-line-single','ref':_0x40cc62,'icon':As}));});In['displayName']=_0x5a89b4(0x505);function Cn(_0x25c7a2){const _0x4da8d6=_0x5a89b4;var _0x15624c,_0x15d8d1,_0x3a7a59='';if(typeof _0x25c7a2==_0x4da8d6(0x4ad)||typeof _0x25c7a2=='number')_0x3a7a59+=_0x25c7a2;else{if(typeof _0x25c7a2==_0x4da8d6(0x33e)){if(Array[_0x4da8d6(0x1aa)](_0x25c7a2)){var _0x553d78=_0x25c7a2[_0x4da8d6(0x554)];for(_0x15624c=0x0;_0x15624c<_0x553d78;_0x15624c++)_0x25c7a2[_0x15624c]&&(_0x15d8d1=Cn(_0x25c7a2[_0x15624c]))&&(_0x3a7a59&&(_0x3a7a59+='\x20'),_0x3a7a59+=_0x15d8d1);}else{for(_0x15d8d1 in _0x25c7a2)_0x25c7a2[_0x15d8d1]&&(_0x3a7a59&&(_0x3a7a59+='\x20'),_0x3a7a59+=_0x15d8d1);}}}return _0x3a7a59;}function Ns(){for(var _0x9b23d9,_0x570fb8,_0x433844=0x0,_0x1dc625='',_0x515f09=arguments['length'];_0x433844<_0x515f09;_0x433844++)(_0x9b23d9=arguments[_0x433844])&&(_0x570fb8=Cn(_0x9b23d9))&&(_0x1dc625&&(_0x1dc625+='\x20'),_0x1dc625+=_0x570fb8);return _0x1dc625;}const Ls=_0x5a89b4(0x4d9),xs=_0x5a89b4(0x255),js=_0x5a89b4(0x545),$s=_0x5a89b4(0x370),Hs=_0x5a89b4(0x374),Me={'onlineStatusIcon':Ls,'onlineStatusTitle':xs,'onlineStatus':js,'online':$s,'offline':Hs};function ks(_0x40d032){const _0x37ccb3=_0x5a89b4;switch(_0x40d032){case q['OFFLINE']:return _0x37ccb3(0x2eb);case q['CONFLICT']:return _0x37ccb3(0x381);case q[_0x37ccb3(0x3c1)]:return _0x37ccb3(0x396);case q[_0x37ccb3(0x23e)]:return'collabStatus.notCollab';case q[_0x37ccb3(0x53a)]:case q['AWAITING_WITH_PENDING']:return _0x37ccb3(0x25a);case q['SYNCED']:case q[_0x37ccb3(0x258)]:return'collabStatus.synced';}}function En(_0x13749d){const _0x25760c=_0x5a89b4,{status$:_0x2ceb49}=_0x13749d,_0x4d1b32=te[_0x25760c(0x3b4)](_0x2ceb49,q['NOT_COLLAB']),_0x5eb37b=a[_0x25760c(0x33a)](a[_0x25760c(0x3a3)]),_0x25557d=a[_0x25760c(0x33a)](exports[_0x25760c(0x19c)]),_0x13972d=_0x4d1b32!==q[_0x25760c(0x289)],_0x423208=_0x5eb37b['t'](ks(_0x4d1b32)),_0x12d1c8=Ns(Me[_0x25760c(0x260)],{[Me['online']]:_0x13972d,[Me[_0x25760c(0x5d9)]]:!_0x13972d}),_0x20dfcd=_0x13972d?ge[_0x25760c(0x3e0)](In,{}):ge[_0x25760c(0x3e0)](gn,{}),_0x38b5a9=ae[_0x25760c(0x2a6)](()=>{const _0x5bca93=_0x25760c;_0x13972d||_0x25557d[_0x5bca93(0x604)]();},[_0x13972d,_0x25557d]);function _0x71c8c2(){const _0x3e9a9b=_0x25760c;return ge[_0x3e9a9b(0x299)]('div',{'className':_0x12d1c8,'onClick':_0x38b5a9,'children':[ge[_0x3e9a9b(0x3e0)](_0x3e9a9b(0x399),{'className':Me['onlineStatusIcon'],'children':_0x20dfcd}),ge[_0x3e9a9b(0x3e0)](_0x3e9a9b(0x399),{'className':Me['onlineStatusTitle'],'children':_0x423208})]});}return _0x13972d?_0x71c8c2():ge[_0x25760c(0x3e0)](Ie['Tooltip'],{'title':_0x5eb37b['t'](_0x25760c(0x247)),'children':_0x71c8c2()});}var Bs=Object[_0x5a89b4(0x5bf)],Ws=Object[_0x5a89b4(0x227)],Fs=(_0x4aab63,_0x313337,_0x1cdcec,_0x423469)=>{const _0x4b19dc=_0x5a89b4;for(var _0x50f6a7=_0x423469>0x1?void 0x0:_0x423469?Ws(_0x313337,_0x1cdcec):_0x313337,_0x30a14f=_0x4aab63[_0x4b19dc(0x554)]-0x1,_0x2dfe5f;_0x30a14f>=0x0;_0x30a14f--)(_0x2dfe5f=_0x4aab63[_0x30a14f])&&(_0x50f6a7=(_0x423469?_0x2dfe5f(_0x313337,_0x1cdcec,_0x50f6a7):_0x2dfe5f(_0x50f6a7))||_0x50f6a7);return _0x423469&&_0x50f6a7&&Bs(_0x313337,_0x1cdcec,_0x50f6a7),_0x50f6a7;},$e=(_0x46e44e,_0x7bcf78)=>(_0x53f24a,_0x3cbadf)=>_0x7bcf78(_0x53f24a,_0x3cbadf,_0x46e44e);exports[_0x5a89b4(0x5f8)]=class extends a['Disposable']{constructor(_0x508ba0,_0xb07a20,_0x3c1f77,_0x3c50b9){const _0x1091f8=_0x5a89b4;super(),I(this,'_status$',new A[(_0x1091f8(0x4c2))](q[_0x1091f8(0x23e)])),(this[_0x1091f8(0x4b5)]=_0x508ba0,this['_uiPartsService']=_0xb07a20,this[_0x1091f8(0x274)]=_0x3c1f77,this[_0x1091f8(0x3e6)]=_0x3c50b9,this[_0x1091f8(0x259)](),this[_0x1091f8(0x3ce)]());}['_initStatusListener'](){const _0x1c231e=_0x5a89b4;this['disposeWithMe'](this[_0x1c231e(0x4b5)][_0x1c231e(0x53b)][_0x1c231e(0x564)](A[_0x1c231e(0x338)](()=>{const _0x13aae9=_0x1c231e,_0x147599=this[_0x13aae9(0x4b5)][_0x13aae9(0x17a)]();return _0x147599?this['_collaborationController']['getCollabEntity$'](_0x147599[_0x13aae9(0x5df)]()):A['of'](null);}),A[_0x1c231e(0x338)](_0x5b944f=>_0x5b944f?_0x5b944f[_0x1c231e(0x178)]:A['of'](q[_0x1c231e(0x23e)])))[_0x1c231e(0x3d8)](_0x440e17=>{const _0x42d8ba=_0x1c231e;this[_0x42d8ba(0x386)][_0x42d8ba(0x52c)](_0x440e17);}));}[_0x5a89b4(0x259)](){const _0x3f1743=_0x5a89b4;this[_0x3f1743(0x15e)](this[_0x3f1743(0x458)][_0x3f1743(0x42f)](te['BuiltInUIPart'][_0x3f1743(0x161)],()=>a[_0x3f1743(0x3ea)](Vs({'status$':this[_0x3f1743(0x386)][_0x3f1743(0x159)]()}),this['_injector'])));}},exports[_0x5a89b4(0x5f8)]=Fs([$e(0x0,a[_0x5a89b4(0x21c)]),$e(0x1,te[_0x5a89b4(0x2f5)]),$e(0x2,a[_0x5a89b4(0x3d5)](a['Injector'])),$e(0x3,a[_0x5a89b4(0x3d5)](exports[_0x5a89b4(0x1f7)]))],exports[_0x5a89b4(0x5f8)]);function Vs(_0x416ee5){const {status$:_0x50c740}=_0x416ee5;return function(){return ge['jsx'](En,{'status$':_0x50c740});};}const Dt=a[_0x5a89b4(0x2c7)](_0x5a89b4(0x150));var Gs=Object['defineProperty'],Ys=Object[_0x5a89b4(0x227)],Ks=(_0x57c1e8,_0x2ca021,_0xf6c9fa,_0x4023c3)=>{const _0x26c9e0=_0x5a89b4;for(var _0x3bc251=_0x4023c3>0x1?void 0x0:_0x4023c3?Ys(_0x2ca021,_0xf6c9fa):_0x2ca021,_0x5f4727=_0x57c1e8[_0x26c9e0(0x554)]-0x1,_0x55837d;_0x5f4727>=0x0;_0x5f4727--)(_0x55837d=_0x57c1e8[_0x5f4727])&&(_0x3bc251=(_0x4023c3?_0x55837d(_0x2ca021,_0xf6c9fa,_0x3bc251):_0x55837d(_0x3bc251))||_0x3bc251);return _0x4023c3&&_0x3bc251&&Gs(_0x2ca021,_0xf6c9fa,_0x3bc251),_0x3bc251;},Te=(_0x50795f,_0x451052)=>(_0x53caa2,_0x652855)=>_0x451052(_0x53caa2,_0x652855,_0x50795f);exports[_0x5a89b4(0x1d5)]=class extends a[_0x5a89b4(0x2da)]{constructor(_0x11cdd2,_0x107fea,_0x52daac,_0x278a53,_0x2e4e82,_0x92a599){const _0x3c867a=_0x5a89b4;super(),this[_0x3c867a(0x2ed)]=_0x11cdd2,this[_0x3c867a(0x52a)]=_0x107fea,this[_0x3c867a(0x5da)]=_0x52daac,this[_0x3c867a(0x470)]=_0x278a53,this['_snapshotService']=_0x2e4e82,_0x92a599?_0x92a599==null||_0x92a599['whenReady']()[_0x3c867a(0x1c3)](()=>this[_0x3c867a(0x1b8)]()):(this[_0x3c867a(0x52a)]['debug']('[DataLoaderController]',_0x3c867a(0x5b3)),this[_0x3c867a(0x1b8)]());}async['_init'](){const _0x1fde10=_0x5a89b4,_0x22185b=this[_0x1fde10(0x2ed)][_0x1fde10(0x3cf)](_0x1fde10(0x39c)),_0x559c8e=this[_0x1fde10(0x2ed)][_0x1fde10(0x3cf)](_0x1fde10(0x235));if(!_0x22185b||!_0x559c8e){this[_0x1fde10(0x52a)][_0x1fde10(0x210)](_0x1fde10(0x445),_0x1fde10(0x27c));return;}switch(Number(_0x559c8e)){case ie[_0x1fde10(0x479)]:{const _0x5c06b6=await this[_0x1fde10(0x561)](_0x22185b);this['_setupSubUnitSync'](_0x5c06b6);break;}case ie[_0x1fde10(0x222)]:{await this[_0x1fde10(0x273)](_0x22185b);break;}default:{this[_0x1fde10(0x52a)]['error'](_0x1fde10(0x445),_0x1fde10(0x3ec));break;}}}async[_0x5a89b4(0x5bb)](_0x222a6b){const _0x84d48b=_0x5a89b4;await this['_updateSubUnitFromURLParams'](_0x222a6b),_0x222a6b[_0x84d48b(0x250)][_0x84d48b(0x564)](A[_0x84d48b(0x2e9)](this[_0x84d48b(0x256)]))['subscribe'](_0x18b684=>{const _0x414d18=_0x84d48b;_0x18b684&&this[_0x414d18(0x3d6)](_0x18b684);}),this['_urlService'][_0x84d48b(0x27d)][_0x84d48b(0x564)](A[_0x84d48b(0x2e9)](this['dispose$']))[_0x84d48b(0x3d8)](()=>this[_0x84d48b(0x320)](_0x222a6b));}[_0x5a89b4(0x3d6)](_0x3491dc,_0x3b7454=!0x1){const _0x4b3a08=_0x5a89b4,_0xd21185=this['_urlService'][_0x4b3a08(0x3cf)](_0x4b3a08(0x1c7));_0x3491dc[_0x4b3a08(0x535)]()!==_0xd21185&&this['_urlService'][_0x4b3a08(0x4c3)](_0x4b3a08(0x1c7),_0x3491dc[_0x4b3a08(0x535)](),_0x3b7454);}async[_0x5a89b4(0x320)](_0x5ea866){const _0x539590=_0x5a89b4;var _0x397273;const _0x2038f8=this[_0x539590(0x2ed)][_0x539590(0x3cf)](_0x539590(0x1c7));if(!_0x2038f8||!_0x5ea866[_0x539590(0x385)](_0x2038f8)){const _0x287b35=_0x5ea866[_0x539590(0x288)]()[0x0],_0x447a7c=_0x5ea866[_0x539590(0x385)](_0x287b35);if(!_0x447a7c)return;this[_0x539590(0x3d6)](_0x447a7c,!0x0),await this['_commandService'][_0x539590(0x238)](B[_0x539590(0x55c)]['id'],{'unitId':_0x5ea866[_0x539590(0x5df)](),'subUnitId':_0x287b35});return;}((_0x397273=_0x5ea866['getActiveSheet']())==null?void 0x0:_0x397273[_0x539590(0x535)]())!==_0x2038f8&&await this[_0x539590(0x5da)][_0x539590(0x238)](B[_0x539590(0x55c)]['id'],{'unitId':_0x5ea866[_0x539590(0x5df)](),'subUnitId':_0x2038f8});}async[_0x5a89b4(0x561)](_0x1570de){const _0x1d022e=_0x5a89b4;let _0x93dbdb=0x0;const _0x19a2d1=await this[_0x1d022e(0x470)][_0x1d022e(0x452)](_0x1570de);return _0x19a2d1&&(_0x19a2d1[_0x1d022e(0x5f4)]||_0x19a2d1[_0x1d022e(0x48a)][_0x1d022e(0x554)]!==0x0)&&(_0x93dbdb=_0x19a2d1['rev']),_0x93dbdb===0x0&&this[_0x1d022e(0x52a)][_0x1d022e(0x210)](_0x1d022e(0x445),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService']['loadSheet'](_0x1570de,_0x93dbdb);}async[_0x5a89b4(0x273)](_0x28c556){const _0x165086=_0x5a89b4;let _0x57f2d5=0x0;const _0x46e42e=await this[_0x165086(0x470)]['loadOfflineData'](_0x28c556);return _0x46e42e&&(_0x46e42e['awaitingChangeset']||_0x46e42e[_0x165086(0x48a)][_0x165086(0x554)]!==0x0)&&(_0x57f2d5=_0x46e42e[_0x165086(0x2d6)]),_0x57f2d5===0x0&&this[_0x165086(0x52a)][_0x165086(0x210)]('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService']['loadDoc'](_0x28c556,_0x57f2d5);}},exports[_0x5a89b4(0x1d5)]=Ks([Te(0x0,Dt),Te(0x1,a[_0x5a89b4(0x3dd)]),Te(0x2,a[_0x5a89b4(0x17d)]),Te(0x3,a['Inject'](exports['LocalCacheService'])),Te(0x4,a[_0x5a89b4(0x3d5)](p[_0x5a89b4(0x5f0)])),Te(0x5,a['Optional'](jn[_0x5a89b4(0x4d8)]))],exports[_0x5a89b4(0x1d5)]);var qs=Object['defineProperty'],zs=Object[_0x5a89b4(0x227)],Xs=(_0x2a9347,_0x4b66de,_0x26f9ed,_0x48e7f5)=>{const _0x4e1aef=_0x5a89b4;for(var _0x31c9db=_0x48e7f5>0x1?void 0x0:_0x48e7f5?zs(_0x4b66de,_0x26f9ed):_0x4b66de,_0xc3d4d7=_0x2a9347[_0x4e1aef(0x554)]-0x1,_0x4ac008;_0xc3d4d7>=0x0;_0xc3d4d7--)(_0x4ac008=_0x2a9347[_0xc3d4d7])&&(_0x31c9db=(_0x48e7f5?_0x4ac008(_0x4b66de,_0x26f9ed,_0x31c9db):_0x4ac008(_0x31c9db))||_0x31c9db);return _0x48e7f5&&_0x31c9db&&qs(_0x4b66de,_0x26f9ed,_0x31c9db),_0x31c9db;},kt=(_0x4ce5ee,_0x334a66)=>(_0x1e6f0b,_0x1c1139)=>_0x334a66(_0x1e6f0b,_0x1c1139,_0x4ce5ee);const Js=_0x5a89b4(0x23f),Zs=_0x5a89b4(0x343);let Ve=class extends a[_0x5a89b4(0x4c8)]{constructor(_0x51496a,_0xa7c86b){const _0x5b8e95=_0x5a89b4;super(),this[_0x5b8e95(0x4b5)]=_0x51496a,this[_0x5b8e95(0x162)]=_0xa7c86b,this[_0x5b8e95(0x1b8)]();}[_0x5a89b4(0x1b8)](){const _0x26aa1a=_0x5a89b4;this[_0x26aa1a(0x15e)](this[_0x26aa1a(0x4b5)][_0x26aa1a(0x53b)][_0x26aa1a(0x3d8)](()=>{const _0x32c80b=_0x26aa1a;var _0x40a2b6;const _0x194853=this[_0x32c80b(0x4b5)][_0x32c80b(0x17a)]();let _0x3a741e=(_0x40a2b6=this['_configService'][_0x32c80b(0x287)](Js))!=null?_0x40a2b6:Zs;_0x194853 instanceof a['Workbook']&&(_0x3a741e=_0x194853[_0x32c80b(0x5e4)]),document['title']=_0x3a741e;}));}};Ve=Xs([kt(0x0,a[_0x5a89b4(0x21c)]),kt(0x1,a[_0x5a89b4(0x569)])],Ve);var Qs=Object[_0x5a89b4(0x5bf)],er=Object['getOwnPropertyDescriptor'],tr=(_0x3b938c,_0x449aa7,_0x28b74f,_0x4d5b24)=>{const _0x52457b=_0x5a89b4;for(var _0x2e92d5=_0x4d5b24>0x1?void 0x0:_0x4d5b24?er(_0x449aa7,_0x28b74f):_0x449aa7,_0x462316=_0x3b938c[_0x52457b(0x554)]-0x1,_0x51ce47;_0x462316>=0x0;_0x462316--)(_0x51ce47=_0x3b938c[_0x462316])&&(_0x2e92d5=(_0x4d5b24?_0x51ce47(_0x449aa7,_0x28b74f,_0x2e92d5):_0x51ce47(_0x2e92d5))||_0x2e92d5);return _0x4d5b24&&_0x2e92d5&&Qs(_0x449aa7,_0x28b74f,_0x2e92d5),_0x2e92d5;},at=(_0x1692ff,_0x58755e)=>(_0x1328b1,_0x23e435)=>_0x58755e(_0x1328b1,_0x23e435,_0x1692ff);let Ge=class{constructor(_0x3c6531,_0x30e88f,_0x4a5c88){const _0x1a6197=_0x5a89b4;this[_0x1a6197(0x162)]=_0x3c6531,this[_0x1a6197(0x379)]=_0x30e88f,this[_0x1a6197(0x489)]=_0x4a5c88,this[_0x1a6197(0x28e)]();}[_0x5a89b4(0x28e)](){const _0x502d53=_0x5a89b4;this[_0x502d53(0x379)][_0x502d53(0x403)]({'priority':0x1,'interceptor':(_0x326d45,_0x463c3f)=>_0x463c3f(_0x326d45)[_0x502d53(0x564)](A['concatMap'](async _0x16c54f=>{const _0x444afe=_0x502d53,_0x1ba859=_0x16c54f;if(_0x1ba859[_0x444afe(0x54c)]===0x191&&window['confirm'](this[_0x444afe(0x489)]['t'](_0x444afe(0x4a9)))){const _0x1a74bf=window['encodeURIComponent'](window['location']['href']);window[_0x444afe(0x5e5)]['href']=this[_0x444afe(0x195)]()+'?url='+_0x1a74bf;}return _0x1ba859;}))});}[_0x5a89b4(0x195)](){const _0x5709c4=_0x5a89b4;var _0x5f26c9,_0x4c8120;const _0x1ca8ae=this[_0x5709c4(0x162)][_0x5709c4(0x287)](rn),_0x104226=this['_configService'][_0x5709c4(0x287)](ee);return(_0x4c8120=(_0x5f26c9=_0x104226==null?void 0x0:_0x104226[_0x5709c4(0x493)])!=null?_0x5f26c9:_0x1ca8ae)!=null?_0x4c8120:qn;}};Ge=tr([at(0x0,a['IConfigService']),at(0x1,a[_0x5a89b4(0x3d5)](J[_0x5a89b4(0x294)])),at(0x2,a[_0x5a89b4(0x3d5)](a[_0x5a89b4(0x3a3)]))],Ge);var nr=Object[_0x5a89b4(0x5bf)],ir=Object[_0x5a89b4(0x227)],sr=(_0x5db5e1,_0x2c4e6e,_0x5efa3d,_0x2d1047)=>{const _0xbaab8=_0x5a89b4;for(var _0x380607=_0x2d1047>0x1?void 0x0:_0x2d1047?ir(_0x2c4e6e,_0x5efa3d):_0x2c4e6e,_0x12288d=_0x5db5e1[_0xbaab8(0x554)]-0x1,_0x419df0;_0x12288d>=0x0;_0x12288d--)(_0x419df0=_0x5db5e1[_0x12288d])&&(_0x380607=(_0x2d1047?_0x419df0(_0x2c4e6e,_0x5efa3d,_0x380607):_0x419df0(_0x380607))||_0x380607);return _0x2d1047&&_0x380607&&nr(_0x2c4e6e,_0x5efa3d,_0x380607),_0x380607;},Bt=(_0x432124,_0x4325d1)=>(_0x5517e8,_0x33d490)=>_0x4325d1(_0x5517e8,_0x33d490,_0x432124);const bn=_0x5a89b4(0x56e),rr='/universer-api/authz';exports['AuthzIoHttpService']=class extends a[_0x5a89b4(0x4c8)]{constructor(_0x16494c,_0x4cbde9){const _0x186d9e=_0x5a89b4;super(),this[_0x186d9e(0x3f6)]=_0x16494c,this[_0x186d9e(0x162)]=_0x4cbde9,this[_0x186d9e(0x5f5)]();}[_0x5a89b4(0x5f5)](){const _0x218052=_0x5a89b4,_0x5ca434=this;this['disposeWithMe'](this['_HTTPService'][_0x218052(0x403)]({'priority':0x3e7,'interceptor':J[_0x218052(0x319)]({'isMatch'(_0x1fc880){const _0x32a2fd=_0x218052;var _0x3353b9;if(_0x1fc880[_0x32a2fd(0x2a2)]==='POST'&&((_0x3353b9=_0x1fc880['requestParams'])!=null&&_0x3353b9[_0x32a2fd(0x491)])){const {objectID:_0xc3059a,objectType:_0x18220c}=_0x1fc880[_0x32a2fd(0x1e3)]['body']||{};if(!_0xc3059a||_0x18220c===void 0x0)return!0x1;const _0x504442=_0x5ca434[_0x32a2fd(0x3dc)]()+'/'+_0x18220c+'/object/'+_0xc3059a+_0x32a2fd(0x1ed);if(_0x1fc880['url']===_0x504442)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x14755b){const _0xb8a318=_0x218052;var _0xbcafc;return(_0xbcafc=_0x14755b[_0xb8a318(0x1e3)])==null?void 0x0:_0xbcafc[_0xb8a318(0x491)];},'mergeParamsToRequest'(_0x5d2492,_0x51111c){const _0x44498d=_0x218052,_0x448155=_0x5ca434['_getAPIPrefixPath']()+_0x44498d(0x3c6),_0x365597=_0x5d2492[_0x44498d(0x42b)]((_0x22cc29,_0x3c59a4)=>{const {unitID:_0x2fcccc,objectID:_0x37bf77,objectType:_0x204eb0,actions:_0x4f9440}=_0x3c59a4;return _0x22cc29[_0x2fcccc]||(_0x22cc29[_0x2fcccc]={}),_0x22cc29[_0x2fcccc][_0x37bf77]||(_0x22cc29[_0x2fcccc][_0x37bf77]={'objectID':_0x37bf77,'objectType':_0x204eb0,'actions':[]}),_0x22cc29[_0x2fcccc][_0x37bf77]['actions']['push'](..._0x4f9440),_0x22cc29;},{}),_0x56f619=[];for(const _0x58df5a in _0x365597)for(const _0x40d055 in _0x365597[_0x58df5a]){const {actions:_0x29d6de,objectType:_0x5672af}=_0x365597[_0x58df5a][_0x40d055],_0x44c701=[...new Set(_0x29d6de)];_0x56f619[_0x44498d(0x1d0)]({'unitID':_0x58df5a,'objectID':_0x40d055,'objectType':_0x5672af,'actions':_0x44c701});}return new J[(_0x44498d(0x528))](_0x44498d(0x19a),_0x448155,{'headers':_0x51111c[_0x44498d(0x388)],'withCredentials':_0x51111c['withCredentials'],'responseType':_0x51111c[_0x44498d(0x349)],'body':{'requests':_0x56f619}});}},{'distributeResult'(_0x4fbe51,_0x261b7f){const _0x3786ec=_0x218052,{objectActions:_0x73cdcc}=_0x4fbe51;return _0x261b7f[_0x3786ec(0x272)](_0x3452bc=>{const _0x55dee7=_0x3786ec,{unitID:_0x327960,objectID:_0x397d2d,actions:_0x1a0a2e}=_0x3452bc,_0x35caad=_0x73cdcc[_0x55dee7(0x420)](_0xdb6617=>_0xdb6617[_0x55dee7(0x2ea)]===_0x327960&&_0xdb6617[_0x55dee7(0x1c5)]===_0x397d2d),_0x50f859=_0x1a0a2e[_0x55dee7(0x272)](_0x2eaff8=>_0x35caad==null?void 0x0:_0x35caad[_0x55dee7(0x168)][_0x55dee7(0x420)](_0x20111d=>_0x20111d[_0x55dee7(0x3f5)]===_0x2eaff8))[_0x55dee7(0x303)](_0x15ce80=>!!_0x15ce80);return{'config':_0x3452bc,'result':{'actions':_0x50f859,'error':_0x4fbe51[_0x55dee7(0x395)]}};});}})}));}['_getAPIPrefixPath'](){const _0x212535=_0x5a89b4;var _0x3ef5f4,_0x4df8a3;const _0x4bf809=this['_configService']['getConfig'](bn),_0x1b8145=this[_0x212535(0x162)]['getConfig'](ee);return(_0x4df8a3=(_0x3ef5f4=_0x1b8145==null?void 0x0:_0x1b8145[_0x212535(0x5f9)])!=null?_0x3ef5f4:_0x4bf809)!=null?_0x4df8a3:rr;}async[_0x5a89b4(0x167)](_0x2ef5ff){const _0x5ac152=_0x5a89b4,_0x1ac645=this[_0x5ac152(0x3dc)]()+'/'+_0x2ef5ff[_0x5ac152(0x327)]+'/object';return(await this[_0x5ac152(0x3f6)][_0x5ac152(0x38f)](_0x1ac645,{'body':_0x2ef5ff}))[_0x5ac152(0x491)][_0x5ac152(0x1c5)]||'';}async[_0x5a89b4(0x26a)](_0x4ad174){const _0x129da4=_0x5a89b4,_0x16d30a=this[_0x129da4(0x3dc)]()+_0x129da4(0x332);return(await this[_0x129da4(0x3f6)][_0x129da4(0x38f)](_0x16d30a,{'body':_0x4ad174}))[_0x129da4(0x491)][_0x129da4(0x5d0)];}async[_0x5a89b4(0x364)](_0x5d6b28){const _0x5d0b34=_0x5a89b4,_0x1b5835=this[_0x5d0b34(0x3dc)]()+'/'+_0x5d6b28['objectType']+_0x5d0b34(0x4d6)+_0x5d6b28[_0x5d0b34(0x1c5)];await this['_HTTPService'][_0x5d0b34(0x599)](_0x1b5835,{'body':_0x5d6b28});}async['allowed'](_0x321b88){const _0x2e03cc=_0x5a89b4,_0x18ef3c=this[_0x2e03cc(0x3dc)]()+'/'+_0x321b88[_0x2e03cc(0x327)]+'/object/'+_0x321b88[_0x2e03cc(0x1c5)]+_0x2e03cc(0x1ed);return(await this[_0x2e03cc(0x3f6)][_0x2e03cc(0x38f)](_0x18ef3c,{'body':_0x321b88}))[_0x2e03cc(0x491)]['actions'];}async[_0x5a89b4(0x3d2)](_0x2ea961){const _0x10a76c=_0x5a89b4,_0x4286d0=this['_getAPIPrefixPath']()+_0x10a76c(0x3c6);return(await this['_HTTPService']['post'](_0x4286d0,{'body':{'requests':_0x2ea961}}))[_0x10a76c(0x491)][_0x10a76c(0x212)];}async[_0x5a89b4(0x419)](_0x2e8b94){const _0x137c02=_0x5a89b4,_0x40b1a6=this[_0x137c02(0x3dc)]()+'/'+_0x2e8b94['objectType']+_0x137c02(0x47e),_0x26fd2f=await this[_0x137c02(0x3f6)]['post'](_0x40b1a6,{'body':_0x2e8b94});return{'roles':_0x26fd2f[_0x137c02(0x491)]['roles'],'actions':_0x26fd2f[_0x137c02(0x491)][_0x137c02(0x168)]};}async[_0x5a89b4(0x169)](_0xaa141b){const _0x417c4a=_0x5a89b4,_0x33498e=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x417c4a(0x3f6)]['delete'](_0x33498e,{'params':{'collaboratorID':_0xaa141b[_0x417c4a(0x310)],'objectID':_0xaa141b[_0x417c4a(0x1c5)],'unitID':_0xaa141b[_0x417c4a(0x2ea)]}});}async[_0x5a89b4(0x46d)](_0x12ddeb){const _0xc02977=_0x5a89b4,_0x3bc563=this[_0xc02977(0x3dc)]()+'/collaborator';await this[_0xc02977(0x3f6)][_0xc02977(0x488)](_0x3bc563,{'body':_0x12ddeb});}async[_0x5a89b4(0x201)](_0x59f374){const _0x2541cf=_0x5a89b4,_0x575f20=this[_0x2541cf(0x3dc)]()+_0x2541cf(0x397);await this['_HTTPService'][_0x2541cf(0x38f)](_0x575f20,{'body':_0x59f374});}async['listCollaborators'](_0x1343d8){const _0x21cd12=_0x5a89b4,_0x3d38ee=this['_getAPIPrefixPath']()+_0x21cd12(0x397);return(await this['_HTTPService'][_0x21cd12(0x58d)](_0x3d38ee,{'params':{'objectID':_0x1343d8[_0x21cd12(0x1c5)],'unitID':_0x1343d8[_0x21cd12(0x2ea)]}}))[_0x21cd12(0x491)]['collaborators'];}async[_0x5a89b4(0x22d)](_0x5aada2){const _0x3f2932=_0x5a89b4,_0x469943=this[_0x3f2932(0x3dc)]()+_0x3f2932(0x397);await this[_0x3f2932(0x3f6)][_0x3f2932(0x599)](_0x469943,{'body':_0x5aada2});}},exports['AuthzIoHttpService']=sr([Bt(0x0,a[_0x5a89b4(0x3d5)](J[_0x5a89b4(0x294)])),Bt(0x1,a['Inject'](a['IConfigService']))],exports[_0x5a89b4(0x185)]);var Tn={'exports':{}};function or(_0x105dcd){const _0x584c00=_0x5a89b4;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x105dcd+_0x584c00(0x257));}var ct={'exports':{}},Wt;function oe(){return Wt||(Wt=0x1,function(_0x1fb39e,_0x5118bb){(function(_0xe8b257,_0x1dacc3){const _0xe944e8=_0x4da2;_0x1fb39e[_0xe944e8(0x175)]=_0x1dacc3();}(X,function(){var _0x4238fb=_0x4238fb||function(_0x4ea1b4,_0x2e6a55){const _0x42f405=_0x4da2;var _0x4ab44e;if(typeof window<'u'&&window[_0x42f405(0x298)]&&(_0x4ab44e=window[_0x42f405(0x298)]),typeof self<'u'&&self[_0x42f405(0x298)]&&(_0x4ab44e=self[_0x42f405(0x298)]),typeof globalThis<'u'&&globalThis[_0x42f405(0x298)]&&(_0x4ab44e=globalThis[_0x42f405(0x298)]),!_0x4ab44e&&typeof window<'u'&&window[_0x42f405(0x476)]&&(_0x4ab44e=window[_0x42f405(0x476)]),!_0x4ab44e&&typeof X<'u'&&X[_0x42f405(0x298)]&&(_0x4ab44e=X[_0x42f405(0x298)]),!_0x4ab44e&&typeof or==_0x42f405(0x205))try{_0x4ab44e=require(_0x42f405(0x298));}catch{}var _0x24a152=function(){const _0xcc1e24=_0x42f405;if(_0x4ab44e){if(typeof _0x4ab44e[_0xcc1e24(0x25b)]==_0xcc1e24(0x205))try{return _0x4ab44e['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4ab44e[_0xcc1e24(0x590)]==_0xcc1e24(0x205))try{return _0x4ab44e[_0xcc1e24(0x590)](0x4)[_0xcc1e24(0x501)]();}catch{}}throw new Error(_0xcc1e24(0x1d7));},_0xcb5cfb=Object['create']||(function(){function _0x2408f6(){}return function(_0x4d4d27){const _0x57db4e=_0x4da2;var _0x383011;return _0x2408f6[_0x57db4e(0x3af)]=_0x4d4d27,_0x383011=new _0x2408f6(),_0x2408f6['prototype']=null,_0x383011;};}()),_0x4622d0={},_0x297a1d=_0x4622d0['lib']={},_0x28320e=_0x297a1d[_0x42f405(0x28d)]=(function(){return{'extend':function(_0x3b65ff){const _0x4a6054=_0x4da2;var _0x394e18=_0xcb5cfb(this);return _0x3b65ff&&_0x394e18[_0x4a6054(0x331)](_0x3b65ff),(!_0x394e18[_0x4a6054(0x431)](_0x4a6054(0x28e))||this[_0x4a6054(0x28e)]===_0x394e18[_0x4a6054(0x28e)])&&(_0x394e18[_0x4a6054(0x28e)]=function(){const _0x291eb2=_0x4a6054;_0x394e18[_0x291eb2(0x60b)][_0x291eb2(0x28e)][_0x291eb2(0x2b9)](this,arguments);}),_0x394e18['init'][_0x4a6054(0x3af)]=_0x394e18,_0x394e18[_0x4a6054(0x60b)]=this,_0x394e18;},'create':function(){const _0x4c20de=_0x4da2;var _0x100f88=this['extend']();return _0x100f88[_0x4c20de(0x28e)][_0x4c20de(0x2b9)](_0x100f88,arguments),_0x100f88;},'init':function(){},'mixIn':function(_0x1009df){const _0x16bfde=_0x4da2;for(var _0x344904 in _0x1009df)_0x1009df['hasOwnProperty'](_0x344904)&&(this[_0x344904]=_0x1009df[_0x344904]);_0x1009df['hasOwnProperty']('toString')&&(this[_0x16bfde(0x54b)]=_0x1009df[_0x16bfde(0x54b)]);},'clone':function(){const _0x53af65=_0x4da2;return this[_0x53af65(0x28e)][_0x53af65(0x3af)]['extend'](this);}};}()),_0x44454b=_0x297a1d[_0x42f405(0x3da)]=_0x28320e['extend']({'init':function(_0x15ebd5,_0x2bdc0b){const _0x2f939f=_0x42f405;_0x15ebd5=this[_0x2f939f(0x406)]=_0x15ebd5||[],_0x2bdc0b!=_0x2e6a55?this[_0x2f939f(0x5ad)]=_0x2bdc0b:this[_0x2f939f(0x5ad)]=_0x15ebd5[_0x2f939f(0x554)]*0x4;},'toString':function(_0x7139b8){const _0x1346c1=_0x42f405;return(_0x7139b8||_0x389a31)[_0x1346c1(0x456)](this);},'concat':function(_0x610742){const _0x172752=_0x42f405;var _0x5cb68b=this['words'],_0x5964c2=_0x610742['words'],_0x1f98ad=this[_0x172752(0x5ad)],_0x3c0178=_0x610742['sigBytes'];if(this[_0x172752(0x3bc)](),_0x1f98ad%0x4)for(var _0x22ccbe=0x0;_0x22ccbe<_0x3c0178;_0x22ccbe++){var _0x391761=_0x5964c2[_0x22ccbe>>>0x2]>>>0x18-_0x22ccbe%0x4*0x8&0xff;_0x5cb68b[_0x1f98ad+_0x22ccbe>>>0x2]|=_0x391761<<0x18-(_0x1f98ad+_0x22ccbe)%0x4*0x8;}else{for(var _0x30e202=0x0;_0x30e202<_0x3c0178;_0x30e202+=0x4)_0x5cb68b[_0x1f98ad+_0x30e202>>>0x2]=_0x5964c2[_0x30e202>>>0x2];}return this[_0x172752(0x5ad)]+=_0x3c0178,this;},'clamp':function(){const _0x263567=_0x42f405;var _0x2dcdff=this['words'],_0x243d50=this[_0x263567(0x5ad)];_0x2dcdff[_0x243d50>>>0x2]&=0xffffffff<<0x20-_0x243d50%0x4*0x8,_0x2dcdff['length']=_0x4ea1b4[_0x263567(0x40b)](_0x243d50/0x4);},'clone':function(){const _0x48ca82=_0x42f405;var _0x1c35fe=_0x28320e['clone'][_0x48ca82(0x35a)](this);return _0x1c35fe['words']=this[_0x48ca82(0x406)]['slice'](0x0),_0x1c35fe;},'random':function(_0x570499){const _0x468043=_0x42f405;for(var _0x3fc447=[],_0x27a0b3=0x0;_0x27a0b3<_0x570499;_0x27a0b3+=0x4)_0x3fc447[_0x468043(0x1d0)](_0x24a152());return new _0x44454b[(_0x468043(0x28e))](_0x3fc447,_0x570499);}}),_0x306f69=_0x4622d0[_0x42f405(0x32a)]={},_0x389a31=_0x306f69[_0x42f405(0x27f)]={'stringify':function(_0x559ff1){const _0x248e5f=_0x42f405;for(var _0x49ee50=_0x559ff1[_0x248e5f(0x406)],_0x534187=_0x559ff1['sigBytes'],_0x222fd0=[],_0x1ba56a=0x0;_0x1ba56a<_0x534187;_0x1ba56a++){var _0x5194b=_0x49ee50[_0x1ba56a>>>0x2]>>>0x18-_0x1ba56a%0x4*0x8&0xff;_0x222fd0[_0x248e5f(0x1d0)]((_0x5194b>>>0x4)[_0x248e5f(0x54b)](0x10)),_0x222fd0[_0x248e5f(0x1d0)]((_0x5194b&0xf)['toString'](0x10));}return _0x222fd0[_0x248e5f(0x1e7)]('');},'parse':function(_0x1c7de8){const _0x2aa6b9=_0x42f405;for(var _0x34f705=_0x1c7de8[_0x2aa6b9(0x554)],_0x19efe6=[],_0x57231a=0x0;_0x57231a<_0x34f705;_0x57231a+=0x2)_0x19efe6[_0x57231a>>>0x3]|=parseInt(_0x1c7de8[_0x2aa6b9(0x312)](_0x57231a,0x2),0x10)<<0x18-_0x57231a%0x8*0x4;return new _0x44454b[(_0x2aa6b9(0x28e))](_0x19efe6,_0x34f705/0x2);}},_0x4ba78e=_0x306f69['Latin1']={'stringify':function(_0x119ba5){const _0x3c8284=_0x42f405;for(var _0x308489=_0x119ba5['words'],_0x5c4883=_0x119ba5[_0x3c8284(0x5ad)],_0x316320=[],_0x4ed772=0x0;_0x4ed772<_0x5c4883;_0x4ed772++){var _0x3a2b8c=_0x308489[_0x4ed772>>>0x2]>>>0x18-_0x4ed772%0x4*0x8&0xff;_0x316320[_0x3c8284(0x1d0)](String[_0x3c8284(0x339)](_0x3a2b8c));}return _0x316320['join']('');},'parse':function(_0xecfc2f){const _0xcf2041=_0x42f405;for(var _0x351bfb=_0xecfc2f[_0xcf2041(0x554)],_0x428005=[],_0x3ab686=0x0;_0x3ab686<_0x351bfb;_0x3ab686++)_0x428005[_0x3ab686>>>0x2]|=(_0xecfc2f[_0xcf2041(0x279)](_0x3ab686)&0xff)<<0x18-_0x3ab686%0x4*0x8;return new _0x44454b[(_0xcf2041(0x28e))](_0x428005,_0x351bfb);}},_0x5ccd6e=_0x306f69[_0x42f405(0x213)]={'stringify':function(_0x2786ed){const _0x2ee3c3=_0x42f405;try{return decodeURIComponent(escape(_0x4ba78e['stringify'](_0x2786ed)));}catch{throw new Error(_0x2ee3c3(0x1eb));}},'parse':function(_0x5b9039){const _0x3218a1=_0x42f405;return _0x4ba78e[_0x3218a1(0x402)](unescape(encodeURIComponent(_0x5b9039)));}},_0x565922=_0x297a1d['BufferedBlockAlgorithm']=_0x28320e[_0x42f405(0x438)]({'reset':function(){const _0xcd9d03=_0x42f405;this[_0xcd9d03(0x176)]=new _0x44454b[(_0xcd9d03(0x28e))](),this[_0xcd9d03(0x36e)]=0x0;},'_append':function(_0x240369){const _0x4cb0af=_0x42f405;typeof _0x240369==_0x4cb0af(0x4ad)&&(_0x240369=_0x5ccd6e['parse'](_0x240369)),this[_0x4cb0af(0x176)]['concat'](_0x240369),this[_0x4cb0af(0x36e)]+=_0x240369['sigBytes'];},'_process':function(_0x49a1fc){const _0x1930c2=_0x42f405;var _0x50cfaa,_0x39b0ee=this['_data'],_0x4c793b=_0x39b0ee[_0x1930c2(0x406)],_0x3c2a33=_0x39b0ee[_0x1930c2(0x5ad)],_0x56f138=this[_0x1930c2(0x3f0)],_0x3ad7f7=_0x56f138*0x4,_0x57831d=_0x3c2a33/_0x3ad7f7;_0x49a1fc?_0x57831d=_0x4ea1b4[_0x1930c2(0x40b)](_0x57831d):_0x57831d=_0x4ea1b4['max']((_0x57831d|0x0)-this[_0x1930c2(0x2ec)],0x0);var _0x3f790a=_0x57831d*_0x56f138,_0x5d8a5b=_0x4ea1b4[_0x1930c2(0x17c)](_0x3f790a*0x4,_0x3c2a33);if(_0x3f790a){for(var _0x1742af=0x0;_0x1742af<_0x3f790a;_0x1742af+=_0x56f138)this['_doProcessBlock'](_0x4c793b,_0x1742af);_0x50cfaa=_0x4c793b['splice'](0x0,_0x3f790a),_0x39b0ee['sigBytes']-=_0x5d8a5b;}return new _0x44454b[(_0x1930c2(0x28e))](_0x50cfaa,_0x5d8a5b);},'clone':function(){const _0x183300=_0x42f405;var _0x1f07aa=_0x28320e[_0x183300(0x5b6)][_0x183300(0x35a)](this);return _0x1f07aa['_data']=this[_0x183300(0x176)][_0x183300(0x5b6)](),_0x1f07aa;},'_minBufferSize':0x0});_0x297a1d['Hasher']=_0x565922[_0x42f405(0x438)]({'cfg':_0x28320e[_0x42f405(0x438)](),'init':function(_0x577177){const _0x2faae1=_0x42f405;this['cfg']=this[_0x2faae1(0x3bf)][_0x2faae1(0x438)](_0x577177),this[_0x2faae1(0x529)]();},'reset':function(){const _0x4de2d9=_0x42f405;_0x565922[_0x4de2d9(0x529)][_0x4de2d9(0x35a)](this),this['_doReset']();},'update':function(_0x5686d5){const _0x1ce443=_0x42f405;return this[_0x1ce443(0x5ce)](_0x5686d5),this[_0x1ce443(0x2c0)](),this;},'finalize':function(_0x3c95dd){const _0x5c8159=_0x42f405;_0x3c95dd&&this[_0x5c8159(0x5ce)](_0x3c95dd);var _0x2cec05=this[_0x5c8159(0x54f)]();return _0x2cec05;},'blockSize':0x10,'_createHelper':function(_0x32b790){return function(_0x1f2d4c,_0x463fdd){const _0x4f92f9=_0x4da2;return new _0x32b790['init'](_0x463fdd)[_0x4f92f9(0x1a0)](_0x1f2d4c);};},'_createHmacHelper':function(_0x11c496){return function(_0x305f60,_0x591bb4){const _0x5216e4=_0x4da2;return new _0x158ce4[(_0x5216e4(0x2e1))][(_0x5216e4(0x28e))](_0x11c496,_0x591bb4)[_0x5216e4(0x1a0)](_0x305f60);};}});var _0x158ce4=_0x4622d0[_0x42f405(0x2e8)]={};return _0x4622d0;}(Math);return _0x4238fb;}));}(ct)),ct['exports'];}var Rn={'exports':{}};(function(_0x34f5df,_0x4cc23e){(function(_0x25c462,_0x3b858f){const _0x400c78=_0x4da2;_0x34f5df[_0x400c78(0x175)]=_0x3b858f(oe());}(X,function(_0x7c3eba){const _0x3c1206=_0x4da2;return(function(){const _0x233175=_0x4da2;var _0x5922cf=_0x7c3eba,_0x20eee6=_0x5922cf[_0x233175(0x241)],_0xd8b718=_0x20eee6[_0x233175(0x3da)],_0x373d66=_0x5922cf[_0x233175(0x32a)];_0x373d66[_0x233175(0x282)]={'stringify':function(_0x26cd5e){const _0x4a2936=_0x233175;var _0x42ad75=_0x26cd5e[_0x4a2936(0x406)],_0x20ed9c=_0x26cd5e[_0x4a2936(0x5ad)],_0x47edd4=this[_0x4a2936(0x40e)];_0x26cd5e[_0x4a2936(0x3bc)]();for(var _0x56a9cf=[],_0x1b2e03=0x0;_0x1b2e03<_0x20ed9c;_0x1b2e03+=0x3)for(var _0x3c9195=_0x42ad75[_0x1b2e03>>>0x2]>>>0x18-_0x1b2e03%0x4*0x8&0xff,_0x347356=_0x42ad75[_0x1b2e03+0x1>>>0x2]>>>0x18-(_0x1b2e03+0x1)%0x4*0x8&0xff,_0x2ef36b=_0x42ad75[_0x1b2e03+0x2>>>0x2]>>>0x18-(_0x1b2e03+0x2)%0x4*0x8&0xff,_0x1ca1db=_0x3c9195<<0x10|_0x347356<<0x8|_0x2ef36b,_0x14849f=0x0;_0x14849f<0x4&&_0x1b2e03+_0x14849f*0.75<_0x20ed9c;_0x14849f++)_0x56a9cf['push'](_0x47edd4[_0x4a2936(0x4a1)](_0x1ca1db>>>0x6*(0x3-_0x14849f)&0x3f));var _0x3c854f=_0x47edd4['charAt'](0x40);if(_0x3c854f){for(;_0x56a9cf[_0x4a2936(0x554)]%0x4;)_0x56a9cf[_0x4a2936(0x1d0)](_0x3c854f);}return _0x56a9cf[_0x4a2936(0x1e7)]('');},'parse':function(_0x2270d6){const _0x4a2b98=_0x233175;var _0x3d9dd4=_0x2270d6[_0x4a2b98(0x554)],_0x150f14=this['_map'],_0x1d1853=this[_0x4a2b98(0x443)];if(!_0x1d1853){_0x1d1853=this[_0x4a2b98(0x443)]=[];for(var _0x46f4e5=0x0;_0x46f4e5<_0x150f14[_0x4a2b98(0x554)];_0x46f4e5++)_0x1d1853[_0x150f14[_0x4a2b98(0x279)](_0x46f4e5)]=_0x46f4e5;}var _0x4345b3=_0x150f14[_0x4a2b98(0x4a1)](0x40);if(_0x4345b3){var _0x5d7c49=_0x2270d6['indexOf'](_0x4345b3);_0x5d7c49!==-0x1&&(_0x3d9dd4=_0x5d7c49);}return _0x9863ae(_0x2270d6,_0x3d9dd4,_0x1d1853);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x9863ae(_0x17fe88,_0x4b5cb5,_0xd2818c){const _0x211339=_0x233175;for(var _0x537895=[],_0x4ae821=0x0,_0x3d8bc7=0x0;_0x3d8bc7<_0x4b5cb5;_0x3d8bc7++)if(_0x3d8bc7%0x4){var _0x52d667=_0xd2818c[_0x17fe88[_0x211339(0x279)](_0x3d8bc7-0x1)]<<_0x3d8bc7%0x4*0x2,_0x3d3dc2=_0xd2818c[_0x17fe88[_0x211339(0x279)](_0x3d8bc7)]>>>0x6-_0x3d8bc7%0x4*0x2,_0x43c691=_0x52d667|_0x3d3dc2;_0x537895[_0x4ae821>>>0x2]|=_0x43c691<<0x18-_0x4ae821%0x4*0x8,_0x4ae821++;}return _0xd8b718[_0x211339(0x167)](_0x537895,_0x4ae821);}}()),_0x7c3eba[_0x3c1206(0x32a)][_0x3c1206(0x282)];}));}(Rn));var yn=Rn['exports'];const Ft=xe(yn);var lt={'exports':{}},Vt;function ar(){const _0x4edd3f=_0x5a89b4;return Vt||(Vt=0x1,function(_0x5cdbf0,_0x496e49){(function(_0x57c122,_0xb43b77){_0x5cdbf0['exports']=_0xb43b77(oe());}(X,function(_0x309557){return function(_0x2d323a){const _0x1b1c22=_0x4da2;var _0x1050bc=_0x309557,_0x5d5d72=_0x1050bc[_0x1b1c22(0x241)],_0x430f76=_0x5d5d72[_0x1b1c22(0x3da)],_0x2c702d=_0x5d5d72[_0x1b1c22(0x3b1)],_0x1b11d4=_0x1050bc[_0x1b1c22(0x2e8)],_0x4411a1=[];(function(){const _0xe22227=_0x1b1c22;for(var _0x447f06=0x0;_0x447f06<0x40;_0x447f06++)_0x4411a1[_0x447f06]=_0x2d323a[_0xe22227(0x4bc)](_0x2d323a[_0xe22227(0x36f)](_0x447f06+0x1))*0x100000000|0x0;}());var _0x1df17a=_0x1b11d4[_0x1b1c22(0x20b)]=_0x2c702d['extend']({'_doReset':function(){const _0x1c3959=_0x1b1c22;this[_0x1c3959(0x21a)]=new _0x430f76['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3f6033,_0x524a17){const _0x47a03c=_0x1b1c22;for(var _0x33e35d=0x0;_0x33e35d<0x10;_0x33e35d++){var _0x395df8=_0x524a17+_0x33e35d,_0x5e3464=_0x3f6033[_0x395df8];_0x3f6033[_0x395df8]=(_0x5e3464<<0x8|_0x5e3464>>>0x18)&0xff00ff|(_0x5e3464<<0x18|_0x5e3464>>>0x8)&0xff00ff00;}var _0x203019=this[_0x47a03c(0x21a)][_0x47a03c(0x406)],_0xc27ccd=_0x3f6033[_0x524a17+0x0],_0x15bf29=_0x3f6033[_0x524a17+0x1],_0x3e32f4=_0x3f6033[_0x524a17+0x2],_0xdc6680=_0x3f6033[_0x524a17+0x3],_0x36b965=_0x3f6033[_0x524a17+0x4],_0x4d1505=_0x3f6033[_0x524a17+0x5],_0xfb7fe9=_0x3f6033[_0x524a17+0x6],_0x5551b8=_0x3f6033[_0x524a17+0x7],_0x219a30=_0x3f6033[_0x524a17+0x8],_0x2ba7c6=_0x3f6033[_0x524a17+0x9],_0x53e5bc=_0x3f6033[_0x524a17+0xa],_0x279ccd=_0x3f6033[_0x524a17+0xb],_0x1157ff=_0x3f6033[_0x524a17+0xc],_0x19218e=_0x3f6033[_0x524a17+0xd],_0x3b504d=_0x3f6033[_0x524a17+0xe],_0x5b4aea=_0x3f6033[_0x524a17+0xf],_0x51885a=_0x203019[0x0],_0x1bcfab=_0x203019[0x1],_0x32534e=_0x203019[0x2],_0x4cb1f2=_0x203019[0x3];_0x51885a=_0x2a34f5(_0x51885a,_0x1bcfab,_0x32534e,_0x4cb1f2,_0xc27ccd,0x7,_0x4411a1[0x0]),_0x4cb1f2=_0x2a34f5(_0x4cb1f2,_0x51885a,_0x1bcfab,_0x32534e,_0x15bf29,0xc,_0x4411a1[0x1]),_0x32534e=_0x2a34f5(_0x32534e,_0x4cb1f2,_0x51885a,_0x1bcfab,_0x3e32f4,0x11,_0x4411a1[0x2]),_0x1bcfab=_0x2a34f5(_0x1bcfab,_0x32534e,_0x4cb1f2,_0x51885a,_0xdc6680,0x16,_0x4411a1[0x3]),_0x51885a=_0x2a34f5(_0x51885a,_0x1bcfab,_0x32534e,_0x4cb1f2,_0x36b965,0x7,_0x4411a1[0x4]),_0x4cb1f2=_0x2a34f5(_0x4cb1f2,_0x51885a,_0x1bcfab,_0x32534e,_0x4d1505,0xc,_0x4411a1[0x5]),_0x32534e=_0x2a34f5(_0x32534e,_0x4cb1f2,_0x51885a,_0x1bcfab,_0xfb7fe9,0x11,_0x4411a1[0x6]),_0x1bcfab=_0x2a34f5(_0x1bcfab,_0x32534e,_0x4cb1f2,_0x51885a,_0x5551b8,0x16,_0x4411a1[0x7]),_0x51885a=_0x2a34f5(_0x51885a,_0x1bcfab,_0x32534e,_0x4cb1f2,_0x219a30,0x7,_0x4411a1[0x8]),_0x4cb1f2=_0x2a34f5(_0x4cb1f2,_0x51885a,_0x1bcfab,_0x32534e,_0x2ba7c6,0xc,_0x4411a1[0x9]),_0x32534e=_0x2a34f5(_0x32534e,_0x4cb1f2,_0x51885a,_0x1bcfab,_0x53e5bc,0x11,_0x4411a1[0xa]),_0x1bcfab=_0x2a34f5(_0x1bcfab,_0x32534e,_0x4cb1f2,_0x51885a,_0x279ccd,0x16,_0x4411a1[0xb]),_0x51885a=_0x2a34f5(_0x51885a,_0x1bcfab,_0x32534e,_0x4cb1f2,_0x1157ff,0x7,_0x4411a1[0xc]),_0x4cb1f2=_0x2a34f5(_0x4cb1f2,_0x51885a,_0x1bcfab,_0x32534e,_0x19218e,0xc,_0x4411a1[0xd]),_0x32534e=_0x2a34f5(_0x32534e,_0x4cb1f2,_0x51885a,_0x1bcfab,_0x3b504d,0x11,_0x4411a1[0xe]),_0x1bcfab=_0x2a34f5(_0x1bcfab,_0x32534e,_0x4cb1f2,_0x51885a,_0x5b4aea,0x16,_0x4411a1[0xf]),_0x51885a=_0x5c49fa(_0x51885a,_0x1bcfab,_0x32534e,_0x4cb1f2,_0x15bf29,0x5,_0x4411a1[0x10]),_0x4cb1f2=_0x5c49fa(_0x4cb1f2,_0x51885a,_0x1bcfab,_0x32534e,_0xfb7fe9,0x9,_0x4411a1[0x11]),_0x32534e=_0x5c49fa(_0x32534e,_0x4cb1f2,_0x51885a,_0x1bcfab,_0x279ccd,0xe,_0x4411a1[0x12]),_0x1bcfab=_0x5c49fa(_0x1bcfab,_0x32534e,_0x4cb1f2,_0x51885a,_0xc27ccd,0x14,_0x4411a1[0x13]),_0x51885a=_0x5c49fa(_0x51885a,_0x1bcfab,_0x32534e,_0x4cb1f2,_0x4d1505,0x5,_0x4411a1[0x14]),_0x4cb1f2=_0x5c49fa(_0x4cb1f2,_0x51885a,_0x1bcfab,_0x32534e,_0x53e5bc,0x9,_0x4411a1[0x15]),_0x32534e=_0x5c49fa(_0x32534e,_0x4cb1f2,_0x51885a,_0x1bcfab,_0x5b4aea,0xe,_0x4411a1[0x16]),_0x1bcfab=_0x5c49fa(_0x1bcfab,_0x32534e,_0x4cb1f2,_0x51885a,_0x36b965,0x14,_0x4411a1[0x17]),_0x51885a=_0x5c49fa(_0x51885a,_0x1bcfab,_0x32534e,_0x4cb1f2,_0x2ba7c6,0x5,_0x4411a1[0x18]),_0x4cb1f2=_0x5c49fa(_0x4cb1f2,_0x51885a,_0x1bcfab,_0x32534e,_0x3b504d,0x9,_0x4411a1[0x19]),_0x32534e=_0x5c49fa(_0x32534e,_0x4cb1f2,_0x51885a,_0x1bcfab,_0xdc6680,0xe,_0x4411a1[0x1a]),_0x1bcfab=_0x5c49fa(_0x1bcfab,_0x32534e,_0x4cb1f2,_0x51885a,_0x219a30,0x14,_0x4411a1[0x1b]),_0x51885a=_0x5c49fa(_0x51885a,_0x1bcfab,_0x32534e,_0x4cb1f2,_0x19218e,0x5,_0x4411a1[0x1c]),_0x4cb1f2=_0x5c49fa(_0x4cb1f2,_0x51885a,_0x1bcfab,_0x32534e,_0x3e32f4,0x9,_0x4411a1[0x1d]),_0x32534e=_0x5c49fa(_0x32534e,_0x4cb1f2,_0x51885a,_0x1bcfab,_0x5551b8,0xe,_0x4411a1[0x1e]),_0x1bcfab=_0x5c49fa(_0x1bcfab,_0x32534e,_0x4cb1f2,_0x51885a,_0x1157ff,0x14,_0x4411a1[0x1f]),_0x51885a=_0x48a6d6(_0x51885a,_0x1bcfab,_0x32534e,_0x4cb1f2,_0x4d1505,0x4,_0x4411a1[0x20]),_0x4cb1f2=_0x48a6d6(_0x4cb1f2,_0x51885a,_0x1bcfab,_0x32534e,_0x219a30,0xb,_0x4411a1[0x21]),_0x32534e=_0x48a6d6(_0x32534e,_0x4cb1f2,_0x51885a,_0x1bcfab,_0x279ccd,0x10,_0x4411a1[0x22]),_0x1bcfab=_0x48a6d6(_0x1bcfab,_0x32534e,_0x4cb1f2,_0x51885a,_0x3b504d,0x17,_0x4411a1[0x23]),_0x51885a=_0x48a6d6(_0x51885a,_0x1bcfab,_0x32534e,_0x4cb1f2,_0x15bf29,0x4,_0x4411a1[0x24]),_0x4cb1f2=_0x48a6d6(_0x4cb1f2,_0x51885a,_0x1bcfab,_0x32534e,_0x36b965,0xb,_0x4411a1[0x25]),_0x32534e=_0x48a6d6(_0x32534e,_0x4cb1f2,_0x51885a,_0x1bcfab,_0x5551b8,0x10,_0x4411a1[0x26]),_0x1bcfab=_0x48a6d6(_0x1bcfab,_0x32534e,_0x4cb1f2,_0x51885a,_0x53e5bc,0x17,_0x4411a1[0x27]),_0x51885a=_0x48a6d6(_0x51885a,_0x1bcfab,_0x32534e,_0x4cb1f2,_0x19218e,0x4,_0x4411a1[0x28]),_0x4cb1f2=_0x48a6d6(_0x4cb1f2,_0x51885a,_0x1bcfab,_0x32534e,_0xc27ccd,0xb,_0x4411a1[0x29]),_0x32534e=_0x48a6d6(_0x32534e,_0x4cb1f2,_0x51885a,_0x1bcfab,_0xdc6680,0x10,_0x4411a1[0x2a]),_0x1bcfab=_0x48a6d6(_0x1bcfab,_0x32534e,_0x4cb1f2,_0x51885a,_0xfb7fe9,0x17,_0x4411a1[0x2b]),_0x51885a=_0x48a6d6(_0x51885a,_0x1bcfab,_0x32534e,_0x4cb1f2,_0x2ba7c6,0x4,_0x4411a1[0x2c]),_0x4cb1f2=_0x48a6d6(_0x4cb1f2,_0x51885a,_0x1bcfab,_0x32534e,_0x1157ff,0xb,_0x4411a1[0x2d]),_0x32534e=_0x48a6d6(_0x32534e,_0x4cb1f2,_0x51885a,_0x1bcfab,_0x5b4aea,0x10,_0x4411a1[0x2e]),_0x1bcfab=_0x48a6d6(_0x1bcfab,_0x32534e,_0x4cb1f2,_0x51885a,_0x3e32f4,0x17,_0x4411a1[0x2f]),_0x51885a=_0x4fa3cf(_0x51885a,_0x1bcfab,_0x32534e,_0x4cb1f2,_0xc27ccd,0x6,_0x4411a1[0x30]),_0x4cb1f2=_0x4fa3cf(_0x4cb1f2,_0x51885a,_0x1bcfab,_0x32534e,_0x5551b8,0xa,_0x4411a1[0x31]),_0x32534e=_0x4fa3cf(_0x32534e,_0x4cb1f2,_0x51885a,_0x1bcfab,_0x3b504d,0xf,_0x4411a1[0x32]),_0x1bcfab=_0x4fa3cf(_0x1bcfab,_0x32534e,_0x4cb1f2,_0x51885a,_0x4d1505,0x15,_0x4411a1[0x33]),_0x51885a=_0x4fa3cf(_0x51885a,_0x1bcfab,_0x32534e,_0x4cb1f2,_0x1157ff,0x6,_0x4411a1[0x34]),_0x4cb1f2=_0x4fa3cf(_0x4cb1f2,_0x51885a,_0x1bcfab,_0x32534e,_0xdc6680,0xa,_0x4411a1[0x35]),_0x32534e=_0x4fa3cf(_0x32534e,_0x4cb1f2,_0x51885a,_0x1bcfab,_0x53e5bc,0xf,_0x4411a1[0x36]),_0x1bcfab=_0x4fa3cf(_0x1bcfab,_0x32534e,_0x4cb1f2,_0x51885a,_0x15bf29,0x15,_0x4411a1[0x37]),_0x51885a=_0x4fa3cf(_0x51885a,_0x1bcfab,_0x32534e,_0x4cb1f2,_0x219a30,0x6,_0x4411a1[0x38]),_0x4cb1f2=_0x4fa3cf(_0x4cb1f2,_0x51885a,_0x1bcfab,_0x32534e,_0x5b4aea,0xa,_0x4411a1[0x39]),_0x32534e=_0x4fa3cf(_0x32534e,_0x4cb1f2,_0x51885a,_0x1bcfab,_0xfb7fe9,0xf,_0x4411a1[0x3a]),_0x1bcfab=_0x4fa3cf(_0x1bcfab,_0x32534e,_0x4cb1f2,_0x51885a,_0x19218e,0x15,_0x4411a1[0x3b]),_0x51885a=_0x4fa3cf(_0x51885a,_0x1bcfab,_0x32534e,_0x4cb1f2,_0x36b965,0x6,_0x4411a1[0x3c]),_0x4cb1f2=_0x4fa3cf(_0x4cb1f2,_0x51885a,_0x1bcfab,_0x32534e,_0x279ccd,0xa,_0x4411a1[0x3d]),_0x32534e=_0x4fa3cf(_0x32534e,_0x4cb1f2,_0x51885a,_0x1bcfab,_0x3e32f4,0xf,_0x4411a1[0x3e]),_0x1bcfab=_0x4fa3cf(_0x1bcfab,_0x32534e,_0x4cb1f2,_0x51885a,_0x2ba7c6,0x15,_0x4411a1[0x3f]),_0x203019[0x0]=_0x203019[0x0]+_0x51885a|0x0,_0x203019[0x1]=_0x203019[0x1]+_0x1bcfab|0x0,_0x203019[0x2]=_0x203019[0x2]+_0x32534e|0x0,_0x203019[0x3]=_0x203019[0x3]+_0x4cb1f2|0x0;},'_doFinalize':function(){const _0x1e74da=_0x1b1c22;var _0x241016=this[_0x1e74da(0x176)],_0x35720f=_0x241016[_0x1e74da(0x406)],_0x5be135=this[_0x1e74da(0x36e)]*0x8,_0x112bb2=_0x241016[_0x1e74da(0x5ad)]*0x8;_0x35720f[_0x112bb2>>>0x5]|=0x80<<0x18-_0x112bb2%0x20;var _0x46e672=_0x2d323a[_0x1e74da(0x411)](_0x5be135/0x100000000),_0x2c8daa=_0x5be135;_0x35720f[(_0x112bb2+0x40>>>0x9<<0x4)+0xf]=(_0x46e672<<0x8|_0x46e672>>>0x18)&0xff00ff|(_0x46e672<<0x18|_0x46e672>>>0x8)&0xff00ff00,_0x35720f[(_0x112bb2+0x40>>>0x9<<0x4)+0xe]=(_0x2c8daa<<0x8|_0x2c8daa>>>0x18)&0xff00ff|(_0x2c8daa<<0x18|_0x2c8daa>>>0x8)&0xff00ff00,_0x241016[_0x1e74da(0x5ad)]=(_0x35720f['length']+0x1)*0x4,this[_0x1e74da(0x2c0)]();for(var _0x4d77b2=this[_0x1e74da(0x21a)],_0x30e502=_0x4d77b2['words'],_0x56a755=0x0;_0x56a755<0x4;_0x56a755++){var _0x4727b1=_0x30e502[_0x56a755];_0x30e502[_0x56a755]=(_0x4727b1<<0x8|_0x4727b1>>>0x18)&0xff00ff|(_0x4727b1<<0x18|_0x4727b1>>>0x8)&0xff00ff00;}return _0x4d77b2;},'clone':function(){const _0x202656=_0x1b1c22;var _0x3e47eb=_0x2c702d['clone']['call'](this);return _0x3e47eb['_hash']=this[_0x202656(0x21a)][_0x202656(0x5b6)](),_0x3e47eb;}});function _0x2a34f5(_0x31c1f4,_0x3ac772,_0x142462,_0x13694c,_0x2c1efd,_0x4d5b9d,_0x4f7938){var _0x159aa2=_0x31c1f4+(_0x3ac772&_0x142462|~_0x3ac772&_0x13694c)+_0x2c1efd+_0x4f7938;return(_0x159aa2<<_0x4d5b9d|_0x159aa2>>>0x20-_0x4d5b9d)+_0x3ac772;}function _0x5c49fa(_0x1c4ae7,_0x429e94,_0x571411,_0x2f32e9,_0x55af48,_0x30414a,_0x3fb0aa){var _0x2022c0=_0x1c4ae7+(_0x429e94&_0x2f32e9|_0x571411&~_0x2f32e9)+_0x55af48+_0x3fb0aa;return(_0x2022c0<<_0x30414a|_0x2022c0>>>0x20-_0x30414a)+_0x429e94;}function _0x48a6d6(_0x111a22,_0x2814c9,_0xe386d,_0x320bbe,_0x3267e1,_0x35b137,_0x27a215){var _0x118421=_0x111a22+(_0x2814c9^_0xe386d^_0x320bbe)+_0x3267e1+_0x27a215;return(_0x118421<<_0x35b137|_0x118421>>>0x20-_0x35b137)+_0x2814c9;}function _0x4fa3cf(_0x3965dc,_0x62e44f,_0x3fb95d,_0x2ae973,_0x2a11c2,_0xcb5b76,_0x215b21){var _0x387ea6=_0x3965dc+(_0x3fb95d^(_0x62e44f|~_0x2ae973))+_0x2a11c2+_0x215b21;return(_0x387ea6<<_0xcb5b76|_0x387ea6>>>0x20-_0xcb5b76)+_0x62e44f;}_0x1050bc[_0x1b1c22(0x20b)]=_0x2c702d[_0x1b1c22(0x34e)](_0x1df17a),_0x1050bc[_0x1b1c22(0x15d)]=_0x2c702d[_0x1b1c22(0x49b)](_0x1df17a);}(Math),_0x309557['MD5'];}));}(lt)),lt[_0x4edd3f(0x175)];}var ht={'exports':{}},_t={'exports':{}},Gt;function cr(){const _0x403364=_0x5a89b4;return Gt||(Gt=0x1,function(_0x44175d,_0x14483c){(function(_0x3611e9,_0x5b1b23){const _0x486c74=_0x4da2;_0x44175d[_0x486c74(0x175)]=_0x5b1b23(oe());}(X,function(_0x4f4465){const _0x508e1a=_0x4da2;return(function(){const _0x2f624b=_0x4da2;var _0x4bb3f8=_0x4f4465,_0x12120c=_0x4bb3f8[_0x2f624b(0x241)],_0x49fe05=_0x12120c[_0x2f624b(0x3da)],_0x4741bb=_0x12120c[_0x2f624b(0x3b1)],_0x544238=_0x4bb3f8[_0x2f624b(0x2e8)],_0x3e9e5e=[],_0x43640f=_0x544238[_0x2f624b(0x156)]=_0x4741bb[_0x2f624b(0x438)]({'_doReset':function(){const _0x77f2b5=_0x2f624b;this[_0x77f2b5(0x21a)]=new _0x49fe05[(_0x77f2b5(0x28e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2524a2,_0x1a8f39){const _0x3fa00c=_0x2f624b;for(var _0x101764=this[_0x3fa00c(0x21a)][_0x3fa00c(0x406)],_0x429f46=_0x101764[0x0],_0x3857b1=_0x101764[0x1],_0x1cbb4d=_0x101764[0x2],_0x5eebf5=_0x101764[0x3],_0x321bfb=_0x101764[0x4],_0xe1d8ad=0x0;_0xe1d8ad<0x50;_0xe1d8ad++){if(_0xe1d8ad<0x10)_0x3e9e5e[_0xe1d8ad]=_0x2524a2[_0x1a8f39+_0xe1d8ad]|0x0;else{var _0x3fc6e1=_0x3e9e5e[_0xe1d8ad-0x3]^_0x3e9e5e[_0xe1d8ad-0x8]^_0x3e9e5e[_0xe1d8ad-0xe]^_0x3e9e5e[_0xe1d8ad-0x10];_0x3e9e5e[_0xe1d8ad]=_0x3fc6e1<<0x1|_0x3fc6e1>>>0x1f;}var _0x4caf74=(_0x429f46<<0x5|_0x429f46>>>0x1b)+_0x321bfb+_0x3e9e5e[_0xe1d8ad];_0xe1d8ad<0x14?_0x4caf74+=(_0x3857b1&_0x1cbb4d|~_0x3857b1&_0x5eebf5)+0x5a827999:_0xe1d8ad<0x28?_0x4caf74+=(_0x3857b1^_0x1cbb4d^_0x5eebf5)+0x6ed9eba1:_0xe1d8ad<0x3c?_0x4caf74+=(_0x3857b1&_0x1cbb4d|_0x3857b1&_0x5eebf5|_0x1cbb4d&_0x5eebf5)-0x70e44324:_0x4caf74+=(_0x3857b1^_0x1cbb4d^_0x5eebf5)-0x359d3e2a,_0x321bfb=_0x5eebf5,_0x5eebf5=_0x1cbb4d,_0x1cbb4d=_0x3857b1<<0x1e|_0x3857b1>>>0x2,_0x3857b1=_0x429f46,_0x429f46=_0x4caf74;}_0x101764[0x0]=_0x101764[0x0]+_0x429f46|0x0,_0x101764[0x1]=_0x101764[0x1]+_0x3857b1|0x0,_0x101764[0x2]=_0x101764[0x2]+_0x1cbb4d|0x0,_0x101764[0x3]=_0x101764[0x3]+_0x5eebf5|0x0,_0x101764[0x4]=_0x101764[0x4]+_0x321bfb|0x0;},'_doFinalize':function(){const _0x1066b9=_0x2f624b;var _0x2d2610=this[_0x1066b9(0x176)],_0xcd30eb=_0x2d2610[_0x1066b9(0x406)],_0x2c2f00=this[_0x1066b9(0x36e)]*0x8,_0x23caa2=_0x2d2610[_0x1066b9(0x5ad)]*0x8;return _0xcd30eb[_0x23caa2>>>0x5]|=0x80<<0x18-_0x23caa2%0x20,_0xcd30eb[(_0x23caa2+0x40>>>0x9<<0x4)+0xe]=Math[_0x1066b9(0x411)](_0x2c2f00/0x100000000),_0xcd30eb[(_0x23caa2+0x40>>>0x9<<0x4)+0xf]=_0x2c2f00,_0x2d2610[_0x1066b9(0x5ad)]=_0xcd30eb[_0x1066b9(0x554)]*0x4,this[_0x1066b9(0x2c0)](),this[_0x1066b9(0x21a)];},'clone':function(){const _0x4dd40f=_0x2f624b;var _0x892f6=_0x4741bb['clone'][_0x4dd40f(0x35a)](this);return _0x892f6['_hash']=this[_0x4dd40f(0x21a)][_0x4dd40f(0x5b6)](),_0x892f6;}});_0x4bb3f8['SHA1']=_0x4741bb['_createHelper'](_0x43640f),_0x4bb3f8[_0x2f624b(0x487)]=_0x4741bb[_0x2f624b(0x49b)](_0x43640f);}()),_0x4f4465[_0x508e1a(0x156)];}));}(_t)),_t[_0x403364(0x175)];}var ut={'exports':{}},Yt;function lr(){return Yt||(Yt=0x1,function(_0x3db94a,_0x317ff7){(function(_0x30f33f,_0x263fd6){const _0x2b5c4e=_0x4da2;_0x3db94a[_0x2b5c4e(0x175)]=_0x263fd6(oe());}(X,function(_0x20a22b){(function(){const _0x322fde=_0x4da2;var _0x33cd2e=_0x20a22b,_0x38ea52=_0x33cd2e[_0x322fde(0x241)],_0xb79a5b=_0x38ea52[_0x322fde(0x28d)],_0x51811b=_0x33cd2e[_0x322fde(0x32a)],_0x1559dc=_0x51811b[_0x322fde(0x213)],_0x424ed0=_0x33cd2e['algo'];_0x424ed0[_0x322fde(0x2e1)]=_0xb79a5b[_0x322fde(0x438)]({'init':function(_0x2592cb,_0x5222da){const _0x5ecff7=_0x322fde;_0x2592cb=this[_0x5ecff7(0x48c)]=new _0x2592cb[(_0x5ecff7(0x28e))](),typeof _0x5222da==_0x5ecff7(0x4ad)&&(_0x5222da=_0x1559dc[_0x5ecff7(0x402)](_0x5222da));var _0x194d29=_0x2592cb[_0x5ecff7(0x3f0)],_0x2cf900=_0x194d29*0x4;_0x5222da[_0x5ecff7(0x5ad)]>_0x2cf900&&(_0x5222da=_0x2592cb[_0x5ecff7(0x1a0)](_0x5222da)),_0x5222da[_0x5ecff7(0x3bc)]();for(var _0x1ee4b3=this[_0x5ecff7(0x563)]=_0x5222da[_0x5ecff7(0x5b6)](),_0x16dc96=this[_0x5ecff7(0x3b7)]=_0x5222da['clone'](),_0x519847=_0x1ee4b3[_0x5ecff7(0x406)],_0x9860c2=_0x16dc96[_0x5ecff7(0x406)],_0x32445c=0x0;_0x32445c<_0x194d29;_0x32445c++)_0x519847[_0x32445c]^=0x5c5c5c5c,_0x9860c2[_0x32445c]^=0x36363636;_0x1ee4b3['sigBytes']=_0x16dc96['sigBytes']=_0x2cf900,this[_0x5ecff7(0x529)]();},'reset':function(){const _0x54a131=_0x322fde;var _0x46c615=this['_hasher'];_0x46c615['reset'](),_0x46c615['update'](this[_0x54a131(0x3b7)]);},'update':function(_0x433588){const _0x155ecd=_0x322fde;return this[_0x155ecd(0x48c)][_0x155ecd(0x364)](_0x433588),this;},'finalize':function(_0x4a99dd){const _0x5c516c=_0x322fde;var _0x1ce27f=this['_hasher'],_0x9fb776=_0x1ce27f[_0x5c516c(0x1a0)](_0x4a99dd);_0x1ce27f[_0x5c516c(0x529)]();var _0x2a285e=_0x1ce27f[_0x5c516c(0x1a0)](this['_oKey'][_0x5c516c(0x5b6)]()[_0x5c516c(0x5c6)](_0x9fb776));return _0x2a285e;}});}());}));}(ut)),ut['exports'];}var Kt;function On(){return Kt||(Kt=0x1,function(_0x170ea4,_0x14fa01){(function(_0x2c2f02,_0x540fab,_0x26545b){const _0x4117eb=_0x4da2;_0x170ea4[_0x4117eb(0x175)]=_0x540fab(oe(),cr(),lr());}(X,function(_0x3d299b){const _0x2425b0=_0x4da2;return(function(){const _0x3ce7f6=_0x4da2;var _0x3627a8=_0x3d299b,_0x233ef0=_0x3627a8[_0x3ce7f6(0x241)],_0x58dd25=_0x233ef0['Base'],_0x9d6029=_0x233ef0[_0x3ce7f6(0x3da)],_0x3f4f9a=_0x3627a8['algo'],_0x2c2d54=_0x3f4f9a[_0x3ce7f6(0x20b)],_0x2f7689=_0x3f4f9a['EvpKDF']=_0x58dd25['extend']({'cfg':_0x58dd25[_0x3ce7f6(0x438)]({'keySize':0x80/0x20,'hasher':_0x2c2d54,'iterations':0x1}),'init':function(_0x17915f){const _0x1dbe00=_0x3ce7f6;this[_0x1dbe00(0x3bf)]=this[_0x1dbe00(0x3bf)][_0x1dbe00(0x438)](_0x17915f);},'compute':function(_0xae84fe,_0x584e68){const _0x50fc64=_0x3ce7f6;for(var _0x3cc540,_0x354b01=this[_0x50fc64(0x3bf)],_0x1621f9=_0x354b01['hasher'][_0x50fc64(0x167)](),_0x20ba0a=_0x9d6029[_0x50fc64(0x167)](),_0x4c2983=_0x20ba0a[_0x50fc64(0x406)],_0x51b131=_0x354b01[_0x50fc64(0x518)],_0x54aa5b=_0x354b01[_0x50fc64(0x1ea)];_0x4c2983[_0x50fc64(0x554)]<_0x51b131;){_0x3cc540&&_0x1621f9[_0x50fc64(0x364)](_0x3cc540),_0x3cc540=_0x1621f9[_0x50fc64(0x364)](_0xae84fe)[_0x50fc64(0x1a0)](_0x584e68),_0x1621f9['reset']();for(var _0x1ecbbf=0x1;_0x1ecbbf<_0x54aa5b;_0x1ecbbf++)_0x3cc540=_0x1621f9[_0x50fc64(0x1a0)](_0x3cc540),_0x1621f9['reset']();_0x20ba0a['concat'](_0x3cc540);}return _0x20ba0a[_0x50fc64(0x5ad)]=_0x51b131*0x4,_0x20ba0a;}});_0x3627a8['EvpKDF']=function(_0x106182,_0x25742b,_0x5a7cea){const _0x517454=_0x3ce7f6;return _0x2f7689[_0x517454(0x167)](_0x5a7cea)[_0x517454(0x4f8)](_0x106182,_0x25742b);};}()),_0x3d299b[_0x2425b0(0x4cc)];}));}(ht)),ht['exports'];}var dt={'exports':{}},qt;function Dn(){const _0x5c6c14=_0x5a89b4;return qt||(qt=0x1,function(_0x35b837,_0x2d4f19){(function(_0x339fd4,_0x50e7e3,_0x3b9ae6){const _0x386e78=_0x4da2;_0x35b837[_0x386e78(0x175)]=_0x50e7e3(oe(),On());}(X,function(_0x581f54){const _0x4a96fd=_0x4da2;_0x581f54['lib'][_0x4a96fd(0x242)]||function(_0x4b2160){const _0x32f9f5=_0x4a96fd;var _0x108ff2=_0x581f54,_0x430658=_0x108ff2[_0x32f9f5(0x241)],_0x3cccf3=_0x430658[_0x32f9f5(0x28d)],_0x4b86e1=_0x430658['WordArray'],_0x468f7f=_0x430658['BufferedBlockAlgorithm'],_0x27b063=_0x108ff2[_0x32f9f5(0x32a)];_0x27b063[_0x32f9f5(0x213)];var _0x333857=_0x27b063[_0x32f9f5(0x282)],_0x22cf21=_0x108ff2['algo'],_0x5b93c5=_0x22cf21['EvpKDF'],_0x20a5c6=_0x430658[_0x32f9f5(0x242)]=_0x468f7f['extend']({'cfg':_0x3cccf3[_0x32f9f5(0x438)](),'createEncryptor':function(_0x4db022,_0x39e891){const _0x24186d=_0x32f9f5;return this['create'](this[_0x24186d(0x309)],_0x4db022,_0x39e891);},'createDecryptor':function(_0x56c851,_0x24cf6b){const _0x462e47=_0x32f9f5;return this['create'](this[_0x462e47(0x2b1)],_0x56c851,_0x24cf6b);},'init':function(_0x3691ec,_0xfd16e8,_0x40f84c){const _0xff9ba3=_0x32f9f5;this[_0xff9ba3(0x3bf)]=this[_0xff9ba3(0x3bf)][_0xff9ba3(0x438)](_0x40f84c),this[_0xff9ba3(0x37b)]=_0x3691ec,this[_0xff9ba3(0x5e3)]=_0xfd16e8,this['reset']();},'reset':function(){const _0x109bae=_0x32f9f5;_0x468f7f[_0x109bae(0x529)][_0x109bae(0x35a)](this),this[_0x109bae(0x29a)]();},'process':function(_0x1d0955){const _0x204b29=_0x32f9f5;return this[_0x204b29(0x5ce)](_0x1d0955),this['_process']();},'finalize':function(_0x48fd2c){_0x48fd2c&&this['_append'](_0x48fd2c);var _0x33f4f9=this['_doFinalize']();return _0x33f4f9;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x554671(_0x1e354b){return typeof _0x1e354b=='string'?_0x1cd1a6:_0x40e920;}return function(_0x20d43b){return{'encrypt':function(_0x46ef76,_0x8aed06,_0x56f47a){return _0x554671(_0x8aed06)['encrypt'](_0x20d43b,_0x46ef76,_0x8aed06,_0x56f47a);},'decrypt':function(_0x385689,_0x5bbdbb,_0x6d9a7e){const _0x21efac=_0x4da2;return _0x554671(_0x5bbdbb)[_0x21efac(0x22b)](_0x20d43b,_0x385689,_0x5bbdbb,_0x6d9a7e);}};};}())});_0x430658['StreamCipher']=_0x20a5c6[_0x32f9f5(0x438)]({'_doFinalize':function(){const _0x32666a=_0x32f9f5;var _0x4ad296=this[_0x32666a(0x2c0)](!0x0);return _0x4ad296;},'blockSize':0x1});var _0x165000=_0x108ff2[_0x32f9f5(0x503)]={},_0x359bf8=_0x430658[_0x32f9f5(0x454)]=_0x3cccf3[_0x32f9f5(0x438)]({'createEncryptor':function(_0x4bc403,_0x2f7734){const _0x213a15=_0x32f9f5;return this[_0x213a15(0x41c)][_0x213a15(0x167)](_0x4bc403,_0x2f7734);},'createDecryptor':function(_0x358c98,_0x583e1b){const _0x30b2e2=_0x32f9f5;return this['Decryptor'][_0x30b2e2(0x167)](_0x358c98,_0x583e1b);},'init':function(_0x50ba8b,_0x3e0d38){const _0xd1dfd0=_0x32f9f5;this[_0xd1dfd0(0x4dc)]=_0x50ba8b,this[_0xd1dfd0(0x495)]=_0x3e0d38;}}),_0x5c56f8=_0x165000[_0x32f9f5(0x603)]=(function(){const _0x83cd5b=_0x32f9f5;var _0x11c6fc=_0x359bf8[_0x83cd5b(0x438)]();_0x11c6fc[_0x83cd5b(0x41c)]=_0x11c6fc[_0x83cd5b(0x438)]({'processBlock':function(_0x5df430,_0x34013f){const _0x5578f1=_0x83cd5b;var _0x292b26=this[_0x5578f1(0x4dc)],_0x13c9be=_0x292b26[_0x5578f1(0x3f0)];_0x585b85[_0x5578f1(0x35a)](this,_0x5df430,_0x34013f,_0x13c9be),_0x292b26[_0x5578f1(0x3f1)](_0x5df430,_0x34013f),this[_0x5578f1(0x1f6)]=_0x5df430[_0x5578f1(0x5b5)](_0x34013f,_0x34013f+_0x13c9be);}}),_0x11c6fc[_0x83cd5b(0x251)]=_0x11c6fc[_0x83cd5b(0x438)]({'processBlock':function(_0x37ce64,_0x2142ae){const _0x596a13=_0x83cd5b;var _0x3af17e=this[_0x596a13(0x4dc)],_0x7531ab=_0x3af17e[_0x596a13(0x3f0)],_0x4a5fc8=_0x37ce64[_0x596a13(0x5b5)](_0x2142ae,_0x2142ae+_0x7531ab);_0x3af17e['decryptBlock'](_0x37ce64,_0x2142ae),_0x585b85[_0x596a13(0x35a)](this,_0x37ce64,_0x2142ae,_0x7531ab),this['_prevBlock']=_0x4a5fc8;}});function _0x585b85(_0x4a292a,_0x8713b3,_0x5c64bb){const _0x2857c1=_0x83cd5b;var _0x3a9b92,_0x426e2c=this[_0x2857c1(0x495)];_0x426e2c?(_0x3a9b92=_0x426e2c,this['_iv']=_0x4b2160):_0x3a9b92=this['_prevBlock'];for(var _0x2d4bdf=0x0;_0x2d4bdf<_0x5c64bb;_0x2d4bdf++)_0x4a292a[_0x8713b3+_0x2d4bdf]^=_0x3a9b92[_0x2d4bdf];}return _0x11c6fc;}()),_0x16161e=_0x108ff2[_0x32f9f5(0x1ad)]={},_0x3fcded=_0x16161e[_0x32f9f5(0x4aa)]={'pad':function(_0x373c1d,_0x4597cb){const _0x4397eb=_0x32f9f5;for(var _0x5c2196=_0x4597cb*0x4,_0x3cd6fe=_0x5c2196-_0x373c1d['sigBytes']%_0x5c2196,_0x112285=_0x3cd6fe<<0x18|_0x3cd6fe<<0x10|_0x3cd6fe<<0x8|_0x3cd6fe,_0x40238b=[],_0x21e047=0x0;_0x21e047<_0x3cd6fe;_0x21e047+=0x4)_0x40238b[_0x4397eb(0x1d0)](_0x112285);var _0x51212b=_0x4b86e1['create'](_0x40238b,_0x3cd6fe);_0x373c1d[_0x4397eb(0x5c6)](_0x51212b);},'unpad':function(_0x4873a6){const _0x3e7d89=_0x32f9f5;var _0x4403ac=_0x4873a6['words'][_0x4873a6[_0x3e7d89(0x5ad)]-0x1>>>0x2]&0xff;_0x4873a6['sigBytes']-=_0x4403ac;}};_0x430658['BlockCipher']=_0x20a5c6['extend']({'cfg':_0x20a5c6[_0x32f9f5(0x3bf)][_0x32f9f5(0x438)]({'mode':_0x5c56f8,'padding':_0x3fcded}),'reset':function(){const _0x3722c3=_0x32f9f5;var _0x469a39;_0x20a5c6[_0x3722c3(0x529)][_0x3722c3(0x35a)](this);var _0x32b7b2=this[_0x3722c3(0x3bf)],_0x2a2c69=_0x32b7b2['iv'],_0x4c11ef=_0x32b7b2[_0x3722c3(0x503)];this['_xformMode']==this[_0x3722c3(0x309)]?_0x469a39=_0x4c11ef[_0x3722c3(0x3ff)]:(_0x469a39=_0x4c11ef['createDecryptor'],this[_0x3722c3(0x2ec)]=0x1),this[_0x3722c3(0x56a)]&&this['_mode'][_0x3722c3(0x1a2)]==_0x469a39?this[_0x3722c3(0x56a)]['init'](this,_0x2a2c69&&_0x2a2c69[_0x3722c3(0x406)]):(this[_0x3722c3(0x56a)]=_0x469a39[_0x3722c3(0x35a)](_0x4c11ef,this,_0x2a2c69&&_0x2a2c69[_0x3722c3(0x406)]),this['_mode'][_0x3722c3(0x1a2)]=_0x469a39);},'_doProcessBlock':function(_0x5bc715,_0x1b8760){const _0x48f2a3=_0x32f9f5;this[_0x48f2a3(0x56a)]['processBlock'](_0x5bc715,_0x1b8760);},'_doFinalize':function(){const _0x536df1=_0x32f9f5;var _0x1e944,_0x4d6582=this[_0x536df1(0x3bf)][_0x536df1(0x316)];return this[_0x536df1(0x37b)]==this[_0x536df1(0x309)]?(_0x4d6582[_0x536df1(0x1ad)](this[_0x536df1(0x176)],this['blockSize']),_0x1e944=this['_process'](!0x0)):(_0x1e944=this[_0x536df1(0x2c0)](!0x0),_0x4d6582['unpad'](_0x1e944)),_0x1e944;},'blockSize':0x80/0x20});var _0xd3843f=_0x430658[_0x32f9f5(0x1d6)]=_0x3cccf3[_0x32f9f5(0x438)]({'init':function(_0x477698){const _0x45cc1a=_0x32f9f5;this[_0x45cc1a(0x331)](_0x477698);},'toString':function(_0xd5b4c5){const _0x56a2c1=_0x32f9f5;return(_0xd5b4c5||this['formatter'])[_0x56a2c1(0x456)](this);}}),_0x14d592=_0x108ff2[_0x32f9f5(0x192)]={},_0x1b560d=_0x14d592[_0x32f9f5(0x499)]={'stringify':function(_0x36811d){const _0x27b170=_0x32f9f5;var _0x59ee56,_0x347db0=_0x36811d[_0x27b170(0x5cf)],_0x3aed0f=_0x36811d['salt'];return _0x3aed0f?_0x59ee56=_0x4b86e1[_0x27b170(0x167)]([0x53616c74,0x65645f5f])[_0x27b170(0x5c6)](_0x3aed0f)[_0x27b170(0x5c6)](_0x347db0):_0x59ee56=_0x347db0,_0x59ee56[_0x27b170(0x54b)](_0x333857);},'parse':function(_0x1d5adf){const _0x37e6be=_0x32f9f5;var _0x30eb46,_0x5eba13=_0x333857['parse'](_0x1d5adf),_0x325eb7=_0x5eba13[_0x37e6be(0x406)];return _0x325eb7[0x0]==0x53616c74&&_0x325eb7[0x1]==0x65645f5f&&(_0x30eb46=_0x4b86e1['create'](_0x325eb7[_0x37e6be(0x5b5)](0x2,0x4)),_0x325eb7[_0x37e6be(0x1ee)](0x0,0x4),_0x5eba13[_0x37e6be(0x5ad)]-=0x10),_0xd3843f[_0x37e6be(0x167)]({'ciphertext':_0x5eba13,'salt':_0x30eb46});}},_0x40e920=_0x430658['SerializableCipher']=_0x3cccf3['extend']({'cfg':_0x3cccf3[_0x32f9f5(0x438)]({'format':_0x1b560d}),'encrypt':function(_0x57aa98,_0x501779,_0x20eb17,_0x5a4b07){const _0x1a6003=_0x32f9f5;_0x5a4b07=this['cfg'][_0x1a6003(0x438)](_0x5a4b07);var _0x24b361=_0x57aa98[_0x1a6003(0x3ff)](_0x20eb17,_0x5a4b07),_0xc82992=_0x24b361['finalize'](_0x501779),_0x4a3894=_0x24b361[_0x1a6003(0x3bf)];return _0xd3843f[_0x1a6003(0x167)]({'ciphertext':_0xc82992,'key':_0x20eb17,'iv':_0x4a3894['iv'],'algorithm':_0x57aa98,'mode':_0x4a3894['mode'],'padding':_0x4a3894[_0x1a6003(0x316)],'blockSize':_0x57aa98[_0x1a6003(0x3f0)],'formatter':_0x5a4b07[_0x1a6003(0x192)]});},'decrypt':function(_0x4f664f,_0x3139c8,_0x1c0924,_0x3b77a6){const _0x2bb2fa=_0x32f9f5;_0x3b77a6=this[_0x2bb2fa(0x3bf)][_0x2bb2fa(0x438)](_0x3b77a6),_0x3139c8=this[_0x2bb2fa(0x608)](_0x3139c8,_0x3b77a6[_0x2bb2fa(0x192)]);var _0x531604=_0x4f664f[_0x2bb2fa(0x366)](_0x1c0924,_0x3b77a6)[_0x2bb2fa(0x1a0)](_0x3139c8['ciphertext']);return _0x531604;},'_parse':function(_0x1ab96f,_0x10fcd8){const _0xd90d52=_0x32f9f5;return typeof _0x1ab96f==_0xd90d52(0x4ad)?_0x10fcd8['parse'](_0x1ab96f,this):_0x1ab96f;}}),_0x45ba89=_0x108ff2[_0x32f9f5(0x50c)]={},_0x5dc784=_0x45ba89[_0x32f9f5(0x499)]={'execute':function(_0x37b533,_0x313108,_0x272c5a,_0x5bc0a2,_0x1bd08c){const _0x5915f1=_0x32f9f5;if(_0x5bc0a2||(_0x5bc0a2=_0x4b86e1[_0x5915f1(0x568)](0x40/0x8)),_0x1bd08c)var _0x1733f4=_0x5b93c5['create']({'keySize':_0x313108+_0x272c5a,'hasher':_0x1bd08c})[_0x5915f1(0x4f8)](_0x37b533,_0x5bc0a2);else var _0x1733f4=_0x5b93c5['create']({'keySize':_0x313108+_0x272c5a})['compute'](_0x37b533,_0x5bc0a2);var _0x2da5fa=_0x4b86e1[_0x5915f1(0x167)](_0x1733f4[_0x5915f1(0x406)][_0x5915f1(0x5b5)](_0x313108),_0x272c5a*0x4);return _0x1733f4[_0x5915f1(0x5ad)]=_0x313108*0x4,_0xd3843f['create']({'key':_0x1733f4,'iv':_0x2da5fa,'salt':_0x5bc0a2});}},_0x1cd1a6=_0x430658[_0x32f9f5(0x3b8)]=_0x40e920[_0x32f9f5(0x438)]({'cfg':_0x40e920['cfg']['extend']({'kdf':_0x5dc784}),'encrypt':function(_0x48c8d4,_0x1aae82,_0x3d3a5d,_0x5b42d1){const _0x12bd9d=_0x32f9f5;_0x5b42d1=this['cfg']['extend'](_0x5b42d1);var _0x412bc3=_0x5b42d1[_0x12bd9d(0x50c)][_0x12bd9d(0x3c9)](_0x3d3a5d,_0x48c8d4[_0x12bd9d(0x518)],_0x48c8d4[_0x12bd9d(0x200)],_0x5b42d1[_0x12bd9d(0x2aa)],_0x5b42d1[_0x12bd9d(0x437)]);_0x5b42d1['iv']=_0x412bc3['iv'];var _0x280e24=_0x40e920[_0x12bd9d(0x59c)][_0x12bd9d(0x35a)](this,_0x48c8d4,_0x1aae82,_0x412bc3[_0x12bd9d(0x163)],_0x5b42d1);return _0x280e24['mixIn'](_0x412bc3),_0x280e24;},'decrypt':function(_0xe2fa5,_0x2a3338,_0x2a2e8c,_0x308e69){const _0x40fc40=_0x32f9f5;_0x308e69=this[_0x40fc40(0x3bf)][_0x40fc40(0x438)](_0x308e69),_0x2a3338=this[_0x40fc40(0x608)](_0x2a3338,_0x308e69['format']);var _0x31e2c7=_0x308e69['kdf'][_0x40fc40(0x3c9)](_0x2a2e8c,_0xe2fa5[_0x40fc40(0x518)],_0xe2fa5['ivSize'],_0x2a3338[_0x40fc40(0x2aa)],_0x308e69[_0x40fc40(0x437)]);_0x308e69['iv']=_0x31e2c7['iv'];var _0x53de6e=_0x40e920[_0x40fc40(0x22b)][_0x40fc40(0x35a)](this,_0xe2fa5,_0x2a3338,_0x31e2c7[_0x40fc40(0x163)],_0x308e69);return _0x53de6e;}});}();}));}(dt)),dt[_0x5c6c14(0x175)];}(function(_0x3b2d5c,_0x4ab93a){(function(_0x645ebb,_0x488c57,_0xb3989e){_0x3b2d5c['exports']=_0x488c57(oe(),yn,ar(),On(),Dn());}(X,function(_0x388542){return(function(){const _0x5e210b=_0x4da2;var _0x36fd0e=_0x388542,_0x5824fe=_0x36fd0e[_0x5e210b(0x241)],_0x3561f8=_0x5824fe['BlockCipher'],_0x42240a=_0x36fd0e[_0x5e210b(0x2e8)],_0x433bfc=[],_0x45f7f8=[],_0x35815b=[],_0x1f23c1=[],_0x145a14=[],_0x56b358=[],_0x20bfd1=[],_0x4852e9=[],_0x1359a6=[],_0x5bff26=[];(function(){for(var _0x15f6de=[],_0xb37998=0x0;_0xb37998<0x100;_0xb37998++)_0xb37998<0x80?_0x15f6de[_0xb37998]=_0xb37998<<0x1:_0x15f6de[_0xb37998]=_0xb37998<<0x1^0x11b;for(var _0x36547e=0x0,_0x3b70ac=0x0,_0xb37998=0x0;_0xb37998<0x100;_0xb37998++){var _0x568419=_0x3b70ac^_0x3b70ac<<0x1^_0x3b70ac<<0x2^_0x3b70ac<<0x3^_0x3b70ac<<0x4;_0x568419=_0x568419>>>0x8^_0x568419&0xff^0x63,_0x433bfc[_0x36547e]=_0x568419,_0x45f7f8[_0x568419]=_0x36547e;var _0x363b6f=_0x15f6de[_0x36547e],_0x205e41=_0x15f6de[_0x363b6f],_0x332b96=_0x15f6de[_0x205e41],_0x488308=_0x15f6de[_0x568419]*0x101^_0x568419*0x1010100;_0x35815b[_0x36547e]=_0x488308<<0x18|_0x488308>>>0x8,_0x1f23c1[_0x36547e]=_0x488308<<0x10|_0x488308>>>0x10,_0x145a14[_0x36547e]=_0x488308<<0x8|_0x488308>>>0x18,_0x56b358[_0x36547e]=_0x488308;var _0x488308=_0x332b96*0x1010101^_0x205e41*0x10001^_0x363b6f*0x101^_0x36547e*0x1010100;_0x20bfd1[_0x568419]=_0x488308<<0x18|_0x488308>>>0x8,_0x4852e9[_0x568419]=_0x488308<<0x10|_0x488308>>>0x10,_0x1359a6[_0x568419]=_0x488308<<0x8|_0x488308>>>0x18,_0x5bff26[_0x568419]=_0x488308,_0x36547e?(_0x36547e=_0x363b6f^_0x15f6de[_0x15f6de[_0x15f6de[_0x332b96^_0x363b6f]]],_0x3b70ac^=_0x15f6de[_0x15f6de[_0x3b70ac]]):_0x36547e=_0x3b70ac=0x1;}}());var _0x59f6e3=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x45019e=_0x42240a[_0x5e210b(0x216)]=_0x3561f8[_0x5e210b(0x438)]({'_doReset':function(){const _0x28a50a=_0x5e210b;var _0x2ababf;if(!(this['_nRounds']&&this['_keyPriorReset']===this['_key'])){for(var _0x1d2a8a=this[_0x28a50a(0x32b)]=this['_key'],_0x50494d=_0x1d2a8a[_0x28a50a(0x406)],_0x43ea6e=_0x1d2a8a['sigBytes']/0x4,_0x2eaea0=this[_0x28a50a(0x3a7)]=_0x43ea6e+0x6,_0x3fa5de=(_0x2eaea0+0x1)*0x4,_0x689f95=this[_0x28a50a(0x20a)]=[],_0x4af362=0x0;_0x4af362<_0x3fa5de;_0x4af362++)_0x4af362<_0x43ea6e?_0x689f95[_0x4af362]=_0x50494d[_0x4af362]:(_0x2ababf=_0x689f95[_0x4af362-0x1],_0x4af362%_0x43ea6e?_0x43ea6e>0x6&&_0x4af362%_0x43ea6e==0x4&&(_0x2ababf=_0x433bfc[_0x2ababf>>>0x18]<<0x18|_0x433bfc[_0x2ababf>>>0x10&0xff]<<0x10|_0x433bfc[_0x2ababf>>>0x8&0xff]<<0x8|_0x433bfc[_0x2ababf&0xff]):(_0x2ababf=_0x2ababf<<0x8|_0x2ababf>>>0x18,_0x2ababf=_0x433bfc[_0x2ababf>>>0x18]<<0x18|_0x433bfc[_0x2ababf>>>0x10&0xff]<<0x10|_0x433bfc[_0x2ababf>>>0x8&0xff]<<0x8|_0x433bfc[_0x2ababf&0xff],_0x2ababf^=_0x59f6e3[_0x4af362/_0x43ea6e|0x0]<<0x18),_0x689f95[_0x4af362]=_0x689f95[_0x4af362-_0x43ea6e]^_0x2ababf);for(var _0x566698=this[_0x28a50a(0x47f)]=[],_0x3efa0d=0x0;_0x3efa0d<_0x3fa5de;_0x3efa0d++){var _0x4af362=_0x3fa5de-_0x3efa0d;if(_0x3efa0d%0x4)var _0x2ababf=_0x689f95[_0x4af362];else var _0x2ababf=_0x689f95[_0x4af362-0x4];_0x3efa0d<0x4||_0x4af362<=0x4?_0x566698[_0x3efa0d]=_0x2ababf:_0x566698[_0x3efa0d]=_0x20bfd1[_0x433bfc[_0x2ababf>>>0x18]]^_0x4852e9[_0x433bfc[_0x2ababf>>>0x10&0xff]]^_0x1359a6[_0x433bfc[_0x2ababf>>>0x8&0xff]]^_0x5bff26[_0x433bfc[_0x2ababf&0xff]];}}},'encryptBlock':function(_0x5ec6ff,_0x367715){const _0x5c20fe=_0x5e210b;this[_0x5c20fe(0x40a)](_0x5ec6ff,_0x367715,this[_0x5c20fe(0x20a)],_0x35815b,_0x1f23c1,_0x145a14,_0x56b358,_0x433bfc);},'decryptBlock':function(_0x3ffc21,_0x36c176){const _0x3e2972=_0x5e210b;var _0x28c95f=_0x3ffc21[_0x36c176+0x1];_0x3ffc21[_0x36c176+0x1]=_0x3ffc21[_0x36c176+0x3],_0x3ffc21[_0x36c176+0x3]=_0x28c95f,this[_0x3e2972(0x40a)](_0x3ffc21,_0x36c176,this[_0x3e2972(0x47f)],_0x20bfd1,_0x4852e9,_0x1359a6,_0x5bff26,_0x45f7f8);var _0x28c95f=_0x3ffc21[_0x36c176+0x1];_0x3ffc21[_0x36c176+0x1]=_0x3ffc21[_0x36c176+0x3],_0x3ffc21[_0x36c176+0x3]=_0x28c95f;},'_doCryptBlock':function(_0x47709e,_0x25105e,_0x595303,_0x39e7dd,_0x1b77f7,_0x54a46e,_0x225b5c,_0x765e8){const _0x5ed406=_0x5e210b;for(var _0x3890eb=this[_0x5ed406(0x3a7)],_0x588eb7=_0x47709e[_0x25105e]^_0x595303[0x0],_0x36b272=_0x47709e[_0x25105e+0x1]^_0x595303[0x1],_0x28a4b3=_0x47709e[_0x25105e+0x2]^_0x595303[0x2],_0x36d152=_0x47709e[_0x25105e+0x3]^_0x595303[0x3],_0x1f0843=0x4,_0x4aa57b=0x1;_0x4aa57b<_0x3890eb;_0x4aa57b++){var _0x1f94fd=_0x39e7dd[_0x588eb7>>>0x18]^_0x1b77f7[_0x36b272>>>0x10&0xff]^_0x54a46e[_0x28a4b3>>>0x8&0xff]^_0x225b5c[_0x36d152&0xff]^_0x595303[_0x1f0843++],_0x32b059=_0x39e7dd[_0x36b272>>>0x18]^_0x1b77f7[_0x28a4b3>>>0x10&0xff]^_0x54a46e[_0x36d152>>>0x8&0xff]^_0x225b5c[_0x588eb7&0xff]^_0x595303[_0x1f0843++],_0x1adce0=_0x39e7dd[_0x28a4b3>>>0x18]^_0x1b77f7[_0x36d152>>>0x10&0xff]^_0x54a46e[_0x588eb7>>>0x8&0xff]^_0x225b5c[_0x36b272&0xff]^_0x595303[_0x1f0843++],_0x2ba400=_0x39e7dd[_0x36d152>>>0x18]^_0x1b77f7[_0x588eb7>>>0x10&0xff]^_0x54a46e[_0x36b272>>>0x8&0xff]^_0x225b5c[_0x28a4b3&0xff]^_0x595303[_0x1f0843++];_0x588eb7=_0x1f94fd,_0x36b272=_0x32b059,_0x28a4b3=_0x1adce0,_0x36d152=_0x2ba400;}var _0x1f94fd=(_0x765e8[_0x588eb7>>>0x18]<<0x18|_0x765e8[_0x36b272>>>0x10&0xff]<<0x10|_0x765e8[_0x28a4b3>>>0x8&0xff]<<0x8|_0x765e8[_0x36d152&0xff])^_0x595303[_0x1f0843++],_0x32b059=(_0x765e8[_0x36b272>>>0x18]<<0x18|_0x765e8[_0x28a4b3>>>0x10&0xff]<<0x10|_0x765e8[_0x36d152>>>0x8&0xff]<<0x8|_0x765e8[_0x588eb7&0xff])^_0x595303[_0x1f0843++],_0x1adce0=(_0x765e8[_0x28a4b3>>>0x18]<<0x18|_0x765e8[_0x36d152>>>0x10&0xff]<<0x10|_0x765e8[_0x588eb7>>>0x8&0xff]<<0x8|_0x765e8[_0x36b272&0xff])^_0x595303[_0x1f0843++],_0x2ba400=(_0x765e8[_0x36d152>>>0x18]<<0x18|_0x765e8[_0x588eb7>>>0x10&0xff]<<0x10|_0x765e8[_0x36b272>>>0x8&0xff]<<0x8|_0x765e8[_0x28a4b3&0xff])^_0x595303[_0x1f0843++];_0x47709e[_0x25105e]=_0x1f94fd,_0x47709e[_0x25105e+0x1]=_0x32b059,_0x47709e[_0x25105e+0x2]=_0x1adce0,_0x47709e[_0x25105e+0x3]=_0x2ba400;},'keySize':0x100/0x20});_0x36fd0e[_0x5e210b(0x216)]=_0x3561f8['_createHelper'](_0x45019e);}()),_0x388542['AES'];}));}(Tn));var hr=Tn['exports'];const _r=xe(hr);var wn={'exports':{}};(function(_0x3d0b89,_0x3be040){(function(_0x334fe7,_0x4620a9){const _0x566398=_0x4da2;_0x3d0b89[_0x566398(0x175)]=_0x4620a9(oe());}(X,function(_0x583e94){return _0x583e94['enc']['Utf8'];}));}(wn));var ur=wn[_0x5a89b4(0x175)];const dr=xe(ur);var Pn={'exports':{}};(function(_0x390d99,_0x3a5cf9){(function(_0x1bb53f,_0x3e6bfa){const _0x66bfc1=_0x4da2;_0x390d99[_0x66bfc1(0x175)]=_0x3e6bfa(oe());}(X,function(_0x2c4720){const _0x584544=_0x4da2;return(function(){const _0x338286=_0x4da2;if(typeof ArrayBuffer==_0x338286(0x205)){var _0x23602a=_0x2c4720,_0x1c9618=_0x23602a[_0x338286(0x241)],_0x2f31b4=_0x1c9618[_0x338286(0x3da)],_0x11e0d1=_0x2f31b4[_0x338286(0x28e)],_0x3ff86e=_0x2f31b4[_0x338286(0x28e)]=function(_0x5e4e3b){const _0x501572=_0x338286;if(_0x5e4e3b instanceof ArrayBuffer&&(_0x5e4e3b=new Uint8Array(_0x5e4e3b)),(_0x5e4e3b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5e4e3b instanceof Uint8ClampedArray||_0x5e4e3b instanceof Int16Array||_0x5e4e3b instanceof Uint16Array||_0x5e4e3b instanceof Int32Array||_0x5e4e3b instanceof Uint32Array||_0x5e4e3b instanceof Float32Array||_0x5e4e3b instanceof Float64Array)&&(_0x5e4e3b=new Uint8Array(_0x5e4e3b[_0x501572(0x3e8)],_0x5e4e3b[_0x501572(0x39d)],_0x5e4e3b[_0x501572(0x47c)])),_0x5e4e3b instanceof Uint8Array){for(var _0x521911=_0x5e4e3b[_0x501572(0x47c)],_0x2bb73f=[],_0x4e0325=0x0;_0x4e0325<_0x521911;_0x4e0325++)_0x2bb73f[_0x4e0325>>>0x2]|=_0x5e4e3b[_0x4e0325]<<0x18-_0x4e0325%0x4*0x8;_0x11e0d1['call'](this,_0x2bb73f,_0x521911);}else _0x11e0d1[_0x501572(0x2b9)](this,arguments);};_0x3ff86e[_0x338286(0x3af)]=_0x2f31b4;}}()),_0x2c4720['lib'][_0x584544(0x3da)];}));}(Pn));var fr=Pn[_0x5a89b4(0x175)];const vr=xe(fr);var Un={'exports':{}};(function(_0x63cb2d,_0x115090){(function(_0x5909b5,_0x1f7747,_0x1c91dd){const _0x1f9f14=_0x4da2;_0x63cb2d[_0x1f9f14(0x175)]=_0x1f7747(oe(),Dn());}(X,function(_0x3331cf){const _0x428d7e=_0x4da2;return _0x3331cf[_0x428d7e(0x1ad)][_0x428d7e(0x2e7)]={'pad':function(){},'unpad':function(){}},_0x3331cf[_0x428d7e(0x1ad)][_0x428d7e(0x2e7)];}));}(Un));var Sr=Un['exports'];const pr=xe(Sr);function mr(_0x3bbe5c,_0x4e7aaf){const _0x3e457c=_0x5a89b4,_0x34c9e1=_0x4e7aaf-_0x3bbe5c[_0x3e457c(0x554)]%_0x4e7aaf,_0x50d647=String[_0x3e457c(0x339)](_0x34c9e1)['repeat'](_0x34c9e1);return _0x3bbe5c+_0x50d647;}function gr(_0x336df,_0x11890b){const _0x3c5ef3=_0x5a89b4,_0x19fead=vr[_0x3c5ef3(0x568)](0x10),_0x2e0fbb=mr(_0x336df,0x10),_0x5a3a1d=_r[_0x3c5ef3(0x59c)](dr[_0x3c5ef3(0x402)](_0x2e0fbb),Ft[_0x3c5ef3(0x402)](_0x11890b),{'iv':_0x19fead,'padding':pr});return _0x19fead[_0x3c5ef3(0x5c6)](_0x5a3a1d[_0x3c5ef3(0x5cf)])['toString'](Ft);}function Ir(){const _0x581ba4=_0x5a89b4,_0x4a3c50=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x581ba4(0x32c)];if(_0x4a3c50){const _0x10620f={'time':Math[_0x581ba4(0x411)](Date[_0x581ba4(0x38a)]()/0x3e8),'domain':location[_0x581ba4(0x3e7)]};return gr(JSON['stringify'](_0x10620f),_0x4a3c50);}}var Cr=Object['defineProperty'],Er=Object[_0x5a89b4(0x227)],br=(_0x337f5f,_0x207d37,_0x14bded,_0x467063)=>{const _0x36f5a3=_0x5a89b4;for(var _0x36ccbd=_0x467063>0x1?void 0x0:_0x467063?Er(_0x207d37,_0x14bded):_0x207d37,_0xbd95ab=_0x337f5f[_0x36f5a3(0x554)]-0x1,_0x538cc0;_0xbd95ab>=0x0;_0xbd95ab--)(_0x538cc0=_0x337f5f[_0xbd95ab])&&(_0x36ccbd=(_0x467063?_0x538cc0(_0x207d37,_0x14bded,_0x36ccbd):_0x538cc0(_0x36ccbd))||_0x36ccbd);return _0x467063&&_0x36ccbd&&Cr(_0x207d37,_0x14bded,_0x36ccbd),_0x36ccbd;},Tr=(_0x20d1d2,_0x274d37)=>(_0x34e58,_0x54330)=>_0x274d37(_0x34e58,_0x54330,_0x20d1d2);let Ye=class{constructor(_0x394cc5){const _0x525565=_0x5a89b4;this['_httpService']=_0x394cc5,this[_0x525565(0x2e0)]();}[_0x5a89b4(0x2e0)](){const _0x63edfd=_0x5a89b4;this[_0x63edfd(0x379)]['registerHTTPInterceptor']({'interceptor':(_0x673ea0,_0x2dd24d)=>{const _0x405f48=_0x63edfd,_0x5c2c32=_0x673ea0[_0x405f48(0x388)],_0x524f10=Ir();return _0x524f10&&_0x5c2c32['set']('x-univer-host',_0x524f10),_0x2dd24d(_0x673ea0);}});}};Ye=br([Tr(0x0,a[_0x5a89b4(0x3d5)](J[_0x5a89b4(0x294)]))],Ye);var Rr=Object['defineProperty'],yr=Object[_0x5a89b4(0x227)],Or=(_0x51b06a,_0x4856fe,_0x28f275,_0x192e14)=>{const _0xccf929=_0x5a89b4;for(var _0x106784=_0x192e14>0x1?void 0x0:_0x192e14?yr(_0x4856fe,_0x28f275):_0x4856fe,_0x5f6a4d=_0x51b06a[_0xccf929(0x554)]-0x1,_0x3810cb;_0x5f6a4d>=0x0;_0x5f6a4d--)(_0x3810cb=_0x51b06a[_0x5f6a4d])&&(_0x106784=(_0x192e14?_0x3810cb(_0x4856fe,_0x28f275,_0x106784):_0x3810cb(_0x106784))||_0x106784);return _0x192e14&&_0x106784&&Rr(_0x4856fe,_0x28f275,_0x106784),_0x106784;},ft=(_0x532709,_0x330417)=>(_0x75173c,_0x9d64d)=>_0x330417(_0x75173c,_0x9d64d,_0x532709);const Dr=[_0x5a89b4(0x2cb),_0x5a89b4(0x253),_0x5a89b4(0x1f8),_0x5a89b4(0x390),_0x5a89b4(0x5c9)],wr=0x5*0x400*0x400,Pr='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Ur=_0x5a89b4(0x571),Mr=_0x5a89b4(0x34d),Ar=_0x5a89b4(0x4a8);exports['ImageIoService']=class{constructor(_0x1f365b,_0x362d42,_0x12be10){const _0xf26a87=_0x5a89b4;I(this,_0xf26a87(0x50b),0x0),I(this,'_change$',new A['Subject']()),I(this,_0xf26a87(0x410),this[_0xf26a87(0x354)]),I(this,_0xf26a87(0x58f),new Map()),(this['_httpService']=_0x1f365b,this[_0xf26a87(0x162)]=_0x362d42,this['_univerInstanceService']=_0x12be10);}['setWaitCount'](_0x4fc512){const _0x974623=_0x5a89b4;this[_0x974623(0x50b)]=_0x4fc512,this['_change$']['next'](_0x4fc512);}[_0x5a89b4(0x5a6)](_0x51cf13,_0x2d54b0){const _0x599407=_0x5a89b4;if(_0x2d54b0===ne[_0x599407(0x1fd)]['BASE64']){const _0x44359e=new Image();return _0x44359e[_0x599407(0x1e9)]=_0x51cf13,_0x44359e;}return this[_0x599407(0x58f)]['get'](_0x51cf13);}[_0x5a89b4(0x531)](_0x38f1f9,_0x59b369,_0x527532){const _0x174254=_0x5a89b4;_0x59b369===ne[_0x174254(0x1fd)][_0x174254(0x566)]||_0x527532==null||this[_0x174254(0x58f)][_0x174254(0x352)](_0x38f1f9,_0x527532);}async[_0x5a89b4(0x4a5)](_0x102975){const _0x4d7d13=_0x5a89b4;try{const _0xa41438=this[_0x4d7d13(0x56d)](this[_0x4d7d13(0x2e2)](),''+_0x102975),_0x4170a1=(await this[_0x4d7d13(0x379)][_0x4d7d13(0x58d)](_0xa41438))[_0x4d7d13(0x491)];if(_0x4170a1['error']&&_0x4170a1[_0x4d7d13(0x395)][_0x4d7d13(0x323)]===on['OK']){const _0x30f51a=new URL(_0x4170a1[_0x4d7d13(0x478)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x4d7d13(0x2f4)](_0x30f51a);}return Promise['reject'](_0x4170a1[_0x4d7d13(0x395)]);}catch(_0x13c9da){return Promise[_0x4d7d13(0x202)](_0x13c9da);}}async[_0x5a89b4(0x171)](_0x25b405){const _0x46abe2=_0x5a89b4;let _0x26ba85='';if(!Dr[_0x46abe2(0x446)](_0x25b405[_0x46abe2(0x235)]))return this[_0x46abe2(0x2ce)](),Promise[_0x46abe2(0x202)](new Error(ne['ImageUploadStatusType'][_0x46abe2(0x4e1)]));if(_0x25b405['size']>wr)return this[_0x46abe2(0x2ce)](),Promise[_0x46abe2(0x202)](new Error(ne[_0x46abe2(0x2c3)]['ERROR_EXCEED_SIZE']));try{const _0x5c2dad=new FormData();_0x5c2dad[_0x46abe2(0x22c)]('file',_0x25b405);const _0x512e2f=this[_0x46abe2(0x4b5)][_0x46abe2(0x17a)](),_0x351ab0=_0x512e2f==null?void 0x0:_0x512e2f[_0x46abe2(0x5df)]();if(!_0x351ab0)throw new Error(_0x46abe2(0x5cc));const _0x26260a=this[_0x46abe2(0x552)]()+'?size='+_0x25b405['size']['toString']()+'&source='+an[_0x46abe2(0x521)]+_0x46abe2(0x4e6)+encodeURIComponent(_0x351ab0),_0x245ec2=await(await fetch(_0x26260a,{'method':'POST','body':_0x5c2dad}))[_0x46abe2(0x179)]();if(typeof _0x245ec2[_0x46abe2(0x507)]!='string')return this[_0x46abe2(0x2ce)](),Promise[_0x46abe2(0x202)](new Error(ne[_0x46abe2(0x2c3)][_0x46abe2(0x484)]));_0x26ba85=_0x245ec2[_0x46abe2(0x507)];}catch{return this[_0x46abe2(0x2ce)](),Promise[_0x46abe2(0x202)](new Error(ne[_0x46abe2(0x2c3)][_0x46abe2(0x484)]));}return new Promise((_0x1d1969,_0x5f3add)=>{const _0x1c3285=_0x46abe2,_0x2eedc3=new FileReader();_0x2eedc3[_0x1c3285(0x35c)](_0x25b405),_0x2eedc3[_0x1c3285(0x155)]=_0x5904a9=>{const _0x93faca=_0x1c3285;var _0x23e0dc;const _0x22e2ee=(_0x23e0dc=_0x5904a9[_0x93faca(0x575)])==null?void 0x0:_0x23e0dc[_0x93faca(0x2f3)];if(_0x22e2ee==null){this['_decreaseWaiting'](),_0x5f3add(new Error(ne[_0x93faca(0x2c3)][_0x93faca(0x484)]));return;}const _0x24454e=a[_0x93faca(0x444)]['generateRandomId'](0x6);_0x1d1969({'imageId':_0x24454e,'imageSourceType':ne[_0x93faca(0x1fd)][_0x93faca(0x5ea)],'source':_0x26ba85,'base64Cache':_0x22e2ee,'status':ne[_0x93faca(0x2c3)][_0x93faca(0x542)]}),this['_decreaseWaiting']();};});}[_0x5a89b4(0x552)](){const _0x5ebc8a=_0x5a89b4;var _0x2aa4a4,_0x29c3bf;const _0x3027b2=this[_0x5ebc8a(0x162)][_0x5ebc8a(0x287)](Pr),_0x57add0=this[_0x5ebc8a(0x162)][_0x5ebc8a(0x287)](ee);return(_0x29c3bf=(_0x2aa4a4=_0x57add0==null?void 0x0:_0x57add0[_0x5ebc8a(0x206)])!=null?_0x2aa4a4:_0x3027b2)!=null?_0x29c3bf:Ur;}[_0x5a89b4(0x2e2)](){const _0x2850a7=_0x5a89b4;var _0x137b27,_0x1dcf67;const _0x29d1d8=this[_0x2850a7(0x162)][_0x2850a7(0x287)](Mr),_0x2bcb22=this[_0x2850a7(0x162)][_0x2850a7(0x287)](ee);return(_0x1dcf67=(_0x137b27=_0x2bcb22==null?void 0x0:_0x2bcb22[_0x2850a7(0x1d2)])!=null?_0x137b27:_0x29d1d8)!=null?_0x1dcf67:Ar;}[_0x5a89b4(0x55d)](){const _0x308efa=_0x5a89b4;var _0x46b271;const _0x58994e=this[_0x308efa(0x162)][_0x308efa(0x287)](ee);return(_0x46b271=_0x58994e==null?void 0x0:_0x58994e[_0x308efa(0x40f)])!=null?_0x46b271:location[_0x308efa(0x32d)];}[_0x5a89b4(0x56d)](_0x3c838a,_0x43f571){const _0x2e1134=_0x5a89b4;return _0x3c838a[_0x2e1134(0x4e5)](_0x2e1134(0x154),_0x43f571);}[_0x5a89b4(0x2ce)](){const _0x250aed=_0x5a89b4;this[_0x250aed(0x50b)]-=0x1,this['_change$'][_0x250aed(0x52c)](this[_0x250aed(0x50b)]);}},exports[_0x5a89b4(0x480)]=Or([ft(0x0,a['Inject'](J[_0x5a89b4(0x294)])),ft(0x1,a[_0x5a89b4(0x569)]),ft(0x2,a['Inject'](a[_0x5a89b4(0x21c)]))],exports[_0x5a89b4(0x480)]);var Nr=Object[_0x5a89b4(0x5bf)],Lr=Object[_0x5a89b4(0x227)],xr=(_0x4b91aa,_0x414474,_0x3b16e3,_0x53e14f)=>{const _0x5cb968=_0x5a89b4;for(var _0x2fd7ec=_0x53e14f>0x1?void 0x0:_0x53e14f?Lr(_0x414474,_0x3b16e3):_0x414474,_0x26e31a=_0x4b91aa[_0x5cb968(0x554)]-0x1,_0x59adb8;_0x26e31a>=0x0;_0x26e31a--)(_0x59adb8=_0x4b91aa[_0x26e31a])&&(_0x2fd7ec=(_0x53e14f?_0x59adb8(_0x414474,_0x3b16e3,_0x2fd7ec):_0x59adb8(_0x2fd7ec))||_0x2fd7ec);return _0x53e14f&&_0x2fd7ec&&Nr(_0x414474,_0x3b16e3,_0x2fd7ec),_0x2fd7ec;},Ae=(_0x26bd1e,_0x2be399)=>(_0x407259,_0xa7989a)=>_0x2be399(_0x407259,_0xa7989a,_0x26bd1e);let Ke=class extends a[_0x5a89b4(0x2da)]{constructor(_0x13adf9,_0x4ffe6c,_0x5273f7,_0x532338,_0x140a64){const _0x46e3cb=_0x5a89b4;super(),this['_injector']=_0x13adf9,this[_0x46e3cb(0x4b5)]=_0x4ffe6c,this['_permissionService']=_0x5273f7,this[_0x46e3cb(0x3a8)]=_0x532338,this['_localeService']=_0x140a64,this[_0x46e3cb(0x448)](),this['_initCloseConn']();}[_0x5a89b4(0x2df)](){const _0x12310b=_0x5a89b4,_0x13dea4=async _0x56de73=>{const _0x28bd00=_0x4da2;(await this['_collaborationSessionService']['requireSession'](_0x56de73))[_0x28bd00(0x52f)][_0x28bd00(0x564)](V['filter'](_0x2b9354=>_0x2b9354['eventID']===p[_0x28bd00(0x44f)][_0x28bd00(0x3ad)]),V['takeUntil'](this[_0x28bd00(0x256)]))[_0x28bd00(0x3d8)](_0x16c7e1=>{const _0x21194f=_0x28bd00,_0x1d992a=_0x16c7e1,{reason:_0x555d51}=_0x1d992a['data'];this[_0x21194f(0x274)][_0x21194f(0x58d)](te[_0x21194f(0x38b)])[_0x21194f(0x2ad)]({'type':Ie[_0x21194f(0x1cd)][_0x21194f(0x412)],'content':this[_0x21194f(0x37c)]['t'](_0x21194f(0x5dd))+'('+_0x555d51+')'}),this[_0x21194f(0x56c)][_0x21194f(0x313)](new B['WorkbookEditablePermission'](_0x56de73)['id'],!0x1),this[_0x21194f(0x3a8)][_0x21194f(0x4f3)](_0x56de73);});};A[_0x12310b(0x209)](this[_0x12310b(0x4b5)][_0x12310b(0x1b2)](a[_0x12310b(0x1af)][_0x12310b(0x479)]),this[_0x12310b(0x4b5)][_0x12310b(0x1b2)](a[_0x12310b(0x1af)]['UNIVER_DOC']))['pipe'](V[_0x12310b(0x272)](_0x130094=>_0x130094['getUnitId']()),V[_0x12310b(0x303)](_0x4f69ed=>!a[_0x12310b(0x576)](_0x4f69ed)),V[_0x12310b(0x2e9)](this[_0x12310b(0x256)]))[_0x12310b(0x3d8)](_0x29b2b7=>{_0x13dea4(_0x29b2b7);});}[_0x5a89b4(0x448)](){const _0x3cf817=_0x5a89b4,_0x482f9d=async _0x21d940=>{const _0x528b5a=_0x4da2;(await this['_collaborationSessionService'][_0x528b5a(0x506)](_0x21d940))['event$'][_0x528b5a(0x564)](V['filter'](_0x78703b=>_0x78703b[_0x528b5a(0x14f)]===p['CollaborationEvent'][_0x528b5a(0x340)]),V['takeUntil'](this['dispose$']))[_0x528b5a(0x3d8)](_0x44bba8=>{const _0x1868dd=_0x528b5a,_0x282654=_0x44bba8,{objectId:_0xc1bafb}=_0x282654[_0x1868dd(0x3e4)],_0x35cdfc=this[_0x1868dd(0x274)][_0x1868dd(0x58d)](Re[_0x1868dd(0x3fd)]);_0xc1bafb===_0x21d940?_0x35cdfc[_0x1868dd(0x5de)](_0x21d940):_0x35cdfc[_0x1868dd(0x345)](_0x21d940,_0xc1bafb);});};A[_0x3cf817(0x209)](this['_univerInstanceService'][_0x3cf817(0x1b2)](a[_0x3cf817(0x1af)][_0x3cf817(0x479)]),this[_0x3cf817(0x4b5)][_0x3cf817(0x1b2)](a[_0x3cf817(0x1af)][_0x3cf817(0x222)]))['pipe'](V[_0x3cf817(0x272)](_0x11337b=>_0x11337b[_0x3cf817(0x5df)]()),V[_0x3cf817(0x303)](_0x4503f=>!a[_0x3cf817(0x576)](_0x4503f)),V[_0x3cf817(0x2e9)](this[_0x3cf817(0x256)]))[_0x3cf817(0x3d8)](_0x2d1a23=>{_0x482f9d(_0x2d1a23);});}};Ke=xr([Ae(0x0,a[_0x5a89b4(0x3d5)](a['Injector'])),Ae(0x1,a[_0x5a89b4(0x21c)]),Ae(0x2,a['IPermissionService']),Ae(0x3,a['Inject'](exports[_0x5a89b4(0x19c)])),Ae(0x4,a['Inject'](a[_0x5a89b4(0x3a3)]))],Ke);var jr=Object[_0x5a89b4(0x5bf)],$r=Object[_0x5a89b4(0x227)],Hr=(_0x1fb49f,_0x16cade,_0x132aeb,_0x334677)=>{for(var _0x2c4104=_0x334677>0x1?void 0x0:_0x334677?$r(_0x16cade,_0x132aeb):_0x16cade,_0x5887c7=_0x1fb49f['length']-0x1,_0x2aa2fe;_0x5887c7>=0x0;_0x5887c7--)(_0x2aa2fe=_0x1fb49f[_0x5887c7])&&(_0x2c4104=(_0x334677?_0x2aa2fe(_0x16cade,_0x132aeb,_0x2c4104):_0x2aa2fe(_0x2c4104))||_0x2c4104);return _0x334677&&_0x2c4104&&jr(_0x16cade,_0x132aeb,_0x2c4104),_0x2c4104;},zt=(_0x113bf8,_0x51c539)=>(_0x4f5750,_0x405018)=>_0x51c539(_0x4f5750,_0x405018,_0x113bf8);exports['SnapshotServerOverHTTPService']=class{constructor(_0x504e9c,_0x2b1d8c){const _0x56b12d=_0x5a89b4;this[_0x56b12d(0x162)]=_0x504e9c,this['_httpService']=_0x2b1d8c;}async[_0x5a89b4(0x262)](_0x1c0c8d,_0x407684){const _0x3befdf=_0x5a89b4;var _0xd0ab5d;const {unitID:_0x1e8e0a,type:_0x3d4f92,revision:_0x1c4316=0x0}=_0x407684,_0x24f5d3=this[_0x3befdf(0x5c8)]()+'/'+_0x3d4f92+_0x3befdf(0x407)+_0x1e8e0a+_0x3befdf(0x4e0)+_0x1c4316,_0x3ea238=(await this[_0x3befdf(0x379)]['get'](_0x24f5d3))[_0x3befdf(0x491)],_0x417e4e=(_0xd0ab5d=_0x3ea238['snapshot'])==null?void 0x0:_0xd0ab5d[_0x3befdf(0x48e)];if(_0x417e4e){const _0x27b585=_0x417e4e==null?void 0x0:_0x417e4e['originalMeta'],_0x492442=p[_0x3befdf(0x570)][_0x3befdf(0x2d5)](p[_0x3befdf(0x3bb)](_0x27b585));_0x417e4e[_0x3befdf(0x498)]=_0x492442,Object[_0x3befdf(0x1d9)](_0x417e4e[_0x3befdf(0x23c)])[_0x3befdf(0x3a4)](([,_0x41002a])=>{const _0x3cea3e=_0x3befdf,_0x57466d=_0x41002a[_0x3cea3e(0x498)],_0x4cdc4f=p[_0x3cea3e(0x570)][_0x3cea3e(0x2d5)](p[_0x3cea3e(0x3bb)](_0x57466d));_0x41002a[_0x3cea3e(0x498)]=_0x4cdc4f;});}return _0x3ea238;}async[_0x5a89b4(0x30c)](_0x34fa8c,_0x9175c2){const _0x3a5250=_0x5a89b4,{unitID:_0x35d151,type:_0x2434d8,blockID:_0x3787ca}=_0x9175c2,_0x51f6c4=this[_0x3a5250(0x460)]()+'/'+_0x2434d8+_0x3a5250(0x407)+_0x35d151+_0x3a5250(0x1dc)+_0x3787ca;return(await this['_httpService']['get'](_0x51f6c4))[_0x3a5250(0x491)];}async[_0x5a89b4(0x5ab)](_0x252647,_0x5d21da){const _0x2b7868=_0x5a89b4,{unitID:_0x82dd71,type:_0x163503,blockID:_0x350e3c}=_0x5d21da,_0xc02413=this[_0x2b7868(0x460)]()+_0x2b7868(0x1dc)+_0x163503+_0x2b7868(0x407)+_0x82dd71+_0x2b7868(0x1dc)+_0x350e3c;return(await this['_httpService']['get'](_0xc02413))[_0x2b7868(0x491)];}async[_0x5a89b4(0x237)](_0x4e5066,_0x5eafdb){const _0x4b2ad5=_0x5a89b4,{unitID:_0x574db7,type:_0xb88146,from:_0x3dfb02,to:_0x4fc730}=_0x5eafdb,_0x354623=this['_getAPIPrefix']()+'/'+_0xb88146+'/unit/'+_0x574db7+_0x4b2ad5(0x24c)+_0x3dfb02+_0x4b2ad5(0x277)+_0x4fc730;return(await this[_0x4b2ad5(0x379)][_0x4b2ad5(0x58d)](_0x354623))[_0x4b2ad5(0x491)];}[_0x5a89b4(0x5c8)](){const _0x7513b5=_0x5a89b4;var _0x157dcd;return(_0x157dcd=this['_configService']['getConfig'](Jt))!=null?_0x157dcd:this[_0x7513b5(0x460)]();}[_0x5a89b4(0x460)](){const _0x5f0707=_0x5a89b4;var _0x366dff,_0x240314;const _0x375d36=this[_0x5f0707(0x162)][_0x5f0707(0x287)](Xt),_0x51df95=this[_0x5f0707(0x162)][_0x5f0707(0x287)](ee);return(_0x240314=(_0x366dff=_0x51df95==null?void 0x0:_0x51df95['snapshotServerUrl'])!=null?_0x366dff:_0x375d36)!=null?_0x240314:$n;}async[_0x5a89b4(0x16f)](_0x439fed,_0x2a597d){const _0x3a4bef=_0x5a89b4,_0x4fb285=_0x3a4bef(0x19d)+_0x2a597d[_0x3a4bef(0x235)]+_0x3a4bef(0x407)+_0x2a597d[_0x3a4bef(0x2ea)]+_0x3a4bef(0x455);return(await this['_httpService']['get'](_0x4fb285,{'params':{'resourceId':JSON[_0x3a4bef(0x456)](_0x2a597d[_0x3a4bef(0x31c)])}}))['body'];}['saveSnapshot'](){const _0xbca55e=_0x5a89b4;throw new Error(_0xbca55e(0x2b8));}[_0x5a89b4(0x536)](){const _0x20a047=_0x5a89b4;throw new Error(_0x20a047(0x2b8));}[_0x5a89b4(0x4db)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5a89b4(0x1c0)](){const _0x1a3a2e=_0x5a89b4;throw new Error(_0x1a3a2e(0x2b8));}[_0x5a89b4(0x384)](){const _0x543a21=_0x5a89b4;throw new Error(_0x543a21(0x2b8));}},exports[_0x5a89b4(0x1e4)]=Hr([zt(0x0,a[_0x5a89b4(0x569)]),zt(0x1,a['Inject'](J[_0x5a89b4(0x294)]))],exports['SnapshotServerOverHTTPService']);var kr=Object[_0x5a89b4(0x5bf)],Br=Object[_0x5a89b4(0x227)],Wr=(_0x4c7578,_0x2d9cf0,_0x50d43f,_0x3db6cd)=>{const _0x4d3086=_0x5a89b4;for(var _0x3aa474=_0x3db6cd>0x1?void 0x0:_0x3db6cd?Br(_0x2d9cf0,_0x50d43f):_0x2d9cf0,_0x525c4d=_0x4c7578[_0x4d3086(0x554)]-0x1,_0xc65ebf;_0x525c4d>=0x0;_0x525c4d--)(_0xc65ebf=_0x4c7578[_0x525c4d])&&(_0x3aa474=(_0x3db6cd?_0xc65ebf(_0x2d9cf0,_0x50d43f,_0x3aa474):_0xc65ebf(_0x3aa474))||_0x3aa474);return _0x3db6cd&&_0x3aa474&&kr(_0x2d9cf0,_0x50d43f,_0x3aa474),_0x3aa474;},Ne=(_0x43e75a,_0x376f49)=>(_0x20d239,_0x4d43a1)=>_0x376f49(_0x20d239,_0x4d43a1,_0x43e75a);let gt=class extends a[_0x5a89b4(0x1f3)]{constructor(_0x356205,_0x391298,_0x1bb1a5,_0x168948,_0x5d5c9c){const _0x59dd4c=_0x5a89b4;super(_0x356205,_0x391298,_0x1bb1a5),this[_0x59dd4c(0x18f)]=_0x168948,this[_0x59dd4c(0x52a)]=_0x5d5c9c;}[_0x5a89b4(0x408)](_0x467dd0,_0x4fed1e){const _0x201d90=_0x5a89b4,_0x7e059e=this[_0x201d90(0x27b)](_0x467dd0);if(_0x7e059e)try{const _0x586789=this[_0x201d90(0x2ee)](_0x7e059e,_0x4fed1e);this[_0x201d90(0x31e)](_0x467dd0,_0x586789);}catch(_0x47cd1a){this['_logService'][_0x201d90(0x395)](_0x201d90(0x4fe),_0x47cd1a),this[_0x201d90(0x33c)](_0x467dd0);}const _0x4a50ac=this[_0x201d90(0x184)](_0x467dd0);if(_0x4a50ac)try{const _0x46117e=this['_transformStack'](_0x4a50ac,_0x4fed1e);this['_substituteRedoStack'](_0x467dd0,_0x46117e);}catch(_0x5c0cf6){this[_0x201d90(0x52a)][_0x201d90(0x395)](_0x5c0cf6),this['_clearRedo'](_0x467dd0);}}[_0x5a89b4(0x33c)](_0x34c840){const _0x2407a2=_0x5a89b4,_0x24c36b=this['_getUndoStack'](_0x34c840);_0x24c36b&&(_0x24c36b[_0x2407a2(0x554)]=0x0,this[_0x2407a2(0x14d)]());}[_0x5a89b4(0x275)](_0x4b5436){const _0x4c8179=_0x5a89b4,_0x311cbf=this[_0x4c8179(0x184)](_0x4b5436);_0x311cbf&&(_0x311cbf[_0x4c8179(0x554)]=0x0,this[_0x4c8179(0x14d)]());}[_0x5a89b4(0x31e)](_0x328d06,_0x26a482){const _0x3d86fb=_0x5a89b4;this['_undoStacks'][_0x3d86fb(0x352)](_0x328d06,_0x26a482),this[_0x3d86fb(0x14d)]();}[_0x5a89b4(0x48f)](_0x1e9f7e,_0x46243b){const _0x3c6ef4=_0x5a89b4;this[_0x3c6ef4(0x300)]['set'](_0x1e9f7e,_0x46243b),this[_0x3c6ef4(0x14d)]();}[_0x5a89b4(0x2ee)](_0x23365a,_0x5bf555){const _0x47705b=_0x5a89b4,_0x5099bc=[];let _0x31a67e=_0x5bf555,_0x3bec94=_0x5bf555;for(let _0x2c4a7d=_0x23365a[_0x47705b(0x554)]-0x1;_0x2c4a7d>=0x0;_0x2c4a7d--){const {unitID:_0x4043e0,undoMutations:_0xf7b098,redoMutations:_0x3c13aa}=_0x23365a[_0x2c4a7d],_0x62f113=this[_0x47705b(0x18f)][_0x47705b(0x4d1)](_0x31a67e,_0xf7b098),_0x21623e=this[_0x47705b(0x18f)][_0x47705b(0x4d1)](_0x3bec94,_0x3c13aa);if(p['isTransformMutationsWithChangesetFailure'](_0x62f113)||p[_0x47705b(0x466)](_0x21623e)){this[_0x47705b(0x52a)][_0x47705b(0x395)](_0x47705b(0x4fe),_0x47705b(0x47b),_0x62f113,_0x21623e);break;}_0x31a67e=_0x62f113['c1Prime'],_0x3bec94=_0x21623e['c1Prime'],_0x5099bc[_0x47705b(0x1d0)]({'unitID':_0x4043e0,'undoMutations':_0x62f113[_0x47705b(0x330)],'redoMutations':_0x21623e['m2Prime']});}return _0x5099bc['reverse']();}};gt=Wr([Ne(0x0,a[_0x5a89b4(0x21c)]),Ne(0x1,a[_0x5a89b4(0x17d)]),Ne(0x2,a[_0x5a89b4(0x43e)]),Ne(0x3,p[_0x5a89b4(0x3f4)]),Ne(0x4,a[_0x5a89b4(0x3dd)])],gt);class Mn extends a[_0x5a89b4(0x2da)]{constructor(){const _0x5563c9=_0x5a89b4;super(),I(this,_0x5563c9(0x27d)),this[_0x5563c9(0x27d)]=A['fromEvent'](window,'popstate')[_0x5563c9(0x564)](A[_0x5563c9(0x2e9)](this['dispose$']),A[_0x5563c9(0x3cd)](0x1),A[_0x5563c9(0x5c5)](void 0x0));}[_0x5a89b4(0x4c3)](_0x232e15,_0x11a26a,_0x5d0980=!0x1){const _0x40b703=_0x5a89b4,_0x49e103=new URL(window[_0x40b703(0x5e5)][_0x40b703(0x469)]);_0x49e103[_0x40b703(0x2fe)]['set'](_0x232e15,_0x11a26a),_0x5d0980?window[_0x40b703(0x383)][_0x40b703(0x391)]('','',_0x49e103[_0x40b703(0x54b)]()):window[_0x40b703(0x383)]['pushState']('','',_0x49e103[_0x40b703(0x54b)]());}[_0x5a89b4(0x5c3)](_0x5b6222,_0xf9d4a4=!0x1){const _0x19d6c3=_0x5a89b4,_0x2a25e9=new URL(window[_0x19d6c3(0x5e5)][_0x19d6c3(0x469)]);_0x2a25e9[_0x19d6c3(0x2fe)]['delete'](_0x5b6222),_0xf9d4a4?window[_0x19d6c3(0x383)][_0x19d6c3(0x391)]('','',_0x2a25e9['toString']()):window['history'][_0x19d6c3(0x42a)]('','',_0x2a25e9[_0x19d6c3(0x54b)]());}[_0x5a89b4(0x3cf)](_0x332bda){const _0x171ded=_0x5a89b4;var _0x5f0d03;return(_0x5f0d03=new URL(window[_0x171ded(0x5e5)][_0x171ded(0x469)])['searchParams'][_0x171ded(0x58d)](_0x332bda))!=null?_0x5f0d03:void 0x0;}}var An=Object[_0x5a89b4(0x5bf)],Fr=Object[_0x5a89b4(0x227)],Vr=(_0x456408,_0x122859,_0x2b6723)=>_0x122859 in _0x456408?An(_0x456408,_0x122859,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b6723}):_0x456408[_0x122859]=_0x2b6723,Gr=(_0x37a185,_0x3db819,_0x1e0143,_0x1b8ad6)=>{const _0xd88812=_0x5a89b4;for(var _0x32b478=_0x1b8ad6>0x1?void 0x0:_0x1b8ad6?Fr(_0x3db819,_0x1e0143):_0x3db819,_0x1e0915=_0x37a185[_0xd88812(0x554)]-0x1,_0x35fd7a;_0x1e0915>=0x0;_0x1e0915--)(_0x35fd7a=_0x37a185[_0x1e0915])&&(_0x32b478=(_0x1b8ad6?_0x35fd7a(_0x3db819,_0x1e0143,_0x32b478):_0x35fd7a(_0x32b478))||_0x32b478);return _0x1b8ad6&&_0x32b478&&An(_0x3db819,_0x1e0143,_0x32b478),_0x32b478;},He=(_0x940afb,_0x1f4cf0)=>(_0x48bdeb,_0x23055a)=>_0x1f4cf0(_0x48bdeb,_0x23055a,_0x940afb),Yr=(_0x358a74,_0x3963c9,_0x218dd6)=>Vr(_0x358a74,_0x3963c9+'',_0x218dd6);const Kr=_0x5a89b4(0x1e0);exports['UniverCollaborationClientPlugin']=class extends a[_0x5a89b4(0x483)]{constructor(_0x4cacc3=zn,_0x2434c5,_0xf2cdb8,_0x289c9d,_0x51c7e7){const _0x2fc4ae=_0x5a89b4;super(),this['_config']=_0x4cacc3,this['_logService']=_0x2434c5,this[_0x2fc4ae(0x4eb)]=_0xf2cdb8,this[_0x2fc4ae(0x274)]=_0x289c9d,this[_0x2fc4ae(0x162)]=_0x51c7e7;const {..._0x979005}=this[_0x2fc4ae(0x5e8)];this[_0x2fc4ae(0x162)][_0x2fc4ae(0x3b5)](ee,_0x979005);}[_0x5a89b4(0x51d)](){const _0x24dc7c=_0x5a89b4;this[_0x24dc7c(0x30a)](),this[_0x24dc7c(0x3d0)]();}[_0x5a89b4(0x382)](){const _0x23a756=_0x5a89b4;a[_0x23a756(0x2bf)](this[_0x23a756(0x274)],[[Ve]]);}[_0x5a89b4(0x37a)](){const _0x581857=_0x5a89b4;this[_0x581857(0x5a3)]();}[_0x5a89b4(0x30a)](){const _0x33cf8a=_0x5a89b4;var _0x54c619,_0x5d801d,_0x1ab60e,_0x5a0309;this['_injector'][_0x33cf8a(0x4df)](a[_0x33cf8a(0x54d)])&&this[_0x33cf8a(0x52a)][_0x33cf8a(0x395)](_0x33cf8a(0x186),_0x33cf8a(0x471));const _0x5b28bb=[[a[_0x33cf8a(0x54d)],{'useClass':gt}],[exports[_0x33cf8a(0x19c)]],[yt],[Dt,{'useClass':Mn}],[exports[_0x33cf8a(0x5ac)]],[exports['LocalCacheService']],[J[_0x33cf8a(0x368)]],[Be],[Fe],[ke],[We],[Tt],[Ge],[Ye],[bt],[Ke],[Et,{'useClass':(_0x5d801d=(_0x54c619=this[_0x33cf8a(0x5e8)])==null?void 0x0:_0x54c619[_0x33cf8a(0x3aa)])!=null?_0x5d801d:exports['CollaborationSocketService']}],[p[_0x33cf8a(0x3a2)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a['IAuthzIoService'],{'useClass':exports['AuthzIoHttpService']}],[ne[_0x33cf8a(0x1d3)],{'useClass':exports[_0x33cf8a(0x480)]}],[exports[_0x33cf8a(0x1f7)]],[exports[_0x33cf8a(0x1d5)]],[exports[_0x33cf8a(0x5f8)]],[Ve],[De]];(_0x1ab60e=this['_config'])!=null&&_0x1ab60e[_0x33cf8a(0x278)]&&_0x5b28bb[_0x33cf8a(0x1d0)]([qe,{'useClass':Oi}]),a[_0x33cf8a(0x57e)](this[_0x33cf8a(0x274)],a[_0x33cf8a(0x2ef)](_0x5b28bb,(_0x5a0309=this[_0x33cf8a(0x5e8)])==null?void 0x0:_0x5a0309[_0x33cf8a(0x31f)]));}[_0x5a89b4(0x5a3)](){const _0x334851=_0x5a89b4;this[_0x334851(0x15e)](this[_0x334851(0x4eb)][_0x334851(0x3f2)](a[_0x334851(0x1af)][_0x334851(0x222)],[pt])),this['disposeWithMe'](this[_0x334851(0x4eb)][_0x334851(0x3f2)](a['UniverInstanceType'][_0x334851(0x479)],[mt]));}[_0x5a89b4(0x3d0)](){const _0xc469db=_0x5a89b4;var _0x1a8841,_0x232033;this[_0xc469db(0x274)][_0xc469db(0x58d)](J['HTTPService'])[_0xc469db(0x403)]({'priority':0x14,'interceptor':J[_0xc469db(0x4b0)]({'maxParallel':0x6})}),(_0x1a8841=this[_0xc469db(0x5e8)])!=null&&_0x1a8841['enableOfflineEditing']||this['_injector']['get'](exports[_0xc469db(0x4e3)])[_0xc469db(0x218)](),(_0x232033=this['_config'])!=null&&_0x232033[_0xc469db(0x508)]&&a['touchDependencies'](this['_injector'],[[Ge]]),a[_0xc469db(0x2bf)](this[_0xc469db(0x274)],[[Ye],[De],[exports[_0xc469db(0x1d5)]],[exports[_0xc469db(0x1f7)]],[exports['DesktopCollaborationStatusDisplayController']],[Ke]]);}},Yr(exports[_0x5a89b4(0x246)],'pluginName',Kr),exports['UniverCollaborationClientPlugin']=Gr([a['DependentOn'](p['UniverCollaborationPlugin'],J['UniverNetworkPlugin']),He(0x1,a[_0x5a89b4(0x3dd)]),He(0x2,K[_0x5a89b4(0x18b)]),He(0x3,a['Inject'](a[_0x5a89b4(0x217)])),He(0x4,a[_0x5a89b4(0x569)])],exports['UniverCollaborationClientPlugin']),exports[_0x5a89b4(0x56e)]=bn,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=sn,exports[_0x5a89b4(0x2de)]=Zt,exports[_0x5a89b4(0x435)]=q,exports[_0x5a89b4(0x5eb)]=En,exports[_0x5a89b4(0x2d8)]=bt,exports[_0x5a89b4(0x4da)]=Qt,exports[_0x5a89b4(0x1cf)]=It,exports[_0x5a89b4(0x46c)]=Et,exports[_0x5a89b4(0x54a)]=Dt,exports[_0x5a89b4(0x5b8)]=nn,exports[_0x5a89b4(0x15a)]=rn,exports[_0x5a89b4(0x166)]=tn,exports[_0x5a89b4(0x317)]=Hn,exports['SNAPSHOT_SERVER_URL_KEY']=Xt,exports[_0x5a89b4(0x2f6)]=Jt,exports[_0x5a89b4(0x177)]=se,exports[_0x5a89b4(0x36c)]=vn,exports[_0x5a89b4(0x559)]=Mn,exports[_0x5a89b4(0x400)]=cn,exports[_0x5a89b4(0x482)]=ln;
|