@univerjs-pro/collaboration-client 0.5.0-nightly.202411281606 → 0.5.0-nightly.202411291606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x1b4be4=_0x446a;(function(_0x33927e,_0x597ad1){const _0x5a8649=_0x446a,_0x5ad8b8=_0x33927e();while(!![]){try{const _0x130ec3=-parseInt(_0x5a8649(0x142))/0x1+-parseInt(_0x5a8649(0x3b7))/0x2+parseInt(_0x5a8649(0x438))/0x3+parseInt(_0x5a8649(0x271))/0x4+-parseInt(_0x5a8649(0x363))/0x5+-parseInt(_0x5a8649(0x4b1))/0x6*(-parseInt(_0x5a8649(0x5c0))/0x7)+-parseInt(_0x5a8649(0x16b))/0x8*(parseInt(_0x5a8649(0x564))/0x9);if(_0x130ec3===_0x597ad1)break;else _0x5ad8b8['push'](_0x5ad8b8['shift']());}catch(_0x5a5749){_0x5ad8b8['push'](_0x5ad8b8['shift']());}}}(_0x3362,0x746c6));var Wi=Object[_0x1b4be4(0x3c9)],Fi=(_0x2355ab,_0x4a6d47,_0x5bf537)=>_0x4a6d47 in _0x2355ab?Wi(_0x2355ab,_0x4a6d47,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5bf537}):_0x2355ab[_0x4a6d47]=_0x5bf537,I=(_0x5d5649,_0x568854,_0xa84a1d)=>Fi(_0x5d5649,typeof _0x568854!=_0x1b4be4(0x512)?_0x568854+'':_0x568854,_0xa84a1d);Object[_0x1b4be4(0x3c9)](exports,Symbol['toStringTag'],{'value':_0x1b4be4(0x3f2)});const a=require('@univerjs/core'),A=require(_0x1b4be4(0x462)),V=require(_0x1b4be4(0x4a4)),Ie=require(_0x1b4be4(0x2b2)),z=require(_0x1b4be4(0x3a5)),ee=require(_0x1b4be4(0x1ef)),m=require(_0x1b4be4(0x507)),Vi=require('@univerjs/telemetry'),ge=require(_0x1b4be4(0x496)),J=require(_0x1b4be4(0x2a2)),k=require(_0x1b4be4(0x1f9)),q=require(_0x1b4be4(0x292)),te=require('@univerjs/drawing'),$t=require(_0x1b4be4(0x4ea)),Re=require('@univerjs/sheets-ui'),oe=require('react'),Gi=require(_0x1b4be4(0x217)),di=_0x1b4be4(0x21a),Yi=_0x1b4be4(0x3fa),fi=_0x1b4be4(0x1c6),qi=_0x1b4be4(0x1eb),Ki=0x7d0,vi=_0x1b4be4(0x14b),zi=_0x1b4be4(0x436),Xi=_0x1b4be4(0x33f),pi='HEARTBEAT_INTERVAL',Ji=0x7530,Ot=_0x1b4be4(0x2a4),Si=0x4e20,Zi=0x4e20,mi='RETRY_CONNECTING_MAX_COUNT',Qi=0x3,gi=_0x1b4be4(0x488),en=0x3e8,Ii=_0x1b4be4(0x3b0),tn=_0x1b4be4(0x1d9),Ci=_0x1b4be4(0x17c),nn=_0x1b4be4(0x245);var Ei=(_0x59518a=>(_0x59518a[_0x59518a[_0x1b4be4(0x2ba)]=0x0]=_0x1b4be4(0x2ba),_0x59518a[_0x59518a['OK']=0x1]='OK',_0x59518a[_0x59518a[_0x1b4be4(0x3b5)]=0x2]='INTERNAL_ERROR',_0x59518a[_0x59518a[_0x1b4be4(0x160)]=0x3]=_0x1b4be4(0x160),_0x59518a[_0x59518a[_0x1b4be4(0x219)]=0x4]=_0x1b4be4(0x219),_0x59518a[_0x59518a['UNAUTHENTICATED']=0x5]=_0x1b4be4(0x40c),_0x59518a[_0x59518a[_0x1b4be4(0x260)]=0x6]=_0x1b4be4(0x260),_0x59518a[_0x59518a[_0x1b4be4(0x478)]=0x7]=_0x1b4be4(0x478),_0x59518a[_0x59518a['TOO_MANY_REQUESTS']=0x8]=_0x1b4be4(0x4d1),_0x59518a[_0x59518a['COMPLETION_FINISHED']=0x9]=_0x1b4be4(0x2be),_0x59518a[_0x59518a['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x1b4be4(0x4d5),_0x59518a[_0x59518a[_0x1b4be4(0x244)]=0x1771]=_0x1b4be4(0x244),_0x59518a[_0x59518a[_0x1b4be4(0x5eb)]=0x1772]=_0x1b4be4(0x5eb),_0x59518a[_0x59518a[_0x1b4be4(0x44d)]=0x1773]=_0x1b4be4(0x44d),_0x59518a[_0x59518a[_0x1b4be4(0x5d0)]=0x1b59]=_0x1b4be4(0x5d0),_0x59518a[_0x59518a[_0x1b4be4(0x2e5)]=0x1b5a]=_0x1b4be4(0x2e5),_0x59518a[_0x59518a[_0x1b4be4(0x2d9)]=0x1b5b]=_0x1b4be4(0x2d9),_0x59518a[_0x59518a[_0x1b4be4(0x5ae)]=0x1b5c]=_0x1b4be4(0x5ae),_0x59518a[_0x59518a[_0x1b4be4(0x31c)]=0x1b5d]=_0x1b4be4(0x31c),_0x59518a[_0x59518a[_0x1b4be4(0x2cc)]=0x1f41]=_0x1b4be4(0x2cc),_0x59518a[_0x59518a['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x59518a[_0x59518a['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1b4be4(0x2a7),_0x59518a[_0x59518a['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1b4be4(0x265),_0x59518a[_0x59518a['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x59518a[_0x59518a[_0x1b4be4(0x29a)]=0x232d]=_0x1b4be4(0x29a),_0x59518a[_0x59518a[_0x1b4be4(0x2e9)]=0x2711]=_0x1b4be4(0x2e9),_0x59518a[_0x59518a[_0x1b4be4(0x348)]=0x2712]=_0x1b4be4(0x348),_0x59518a[_0x59518a[_0x1b4be4(0x541)]=0x2713]=_0x1b4be4(0x541),_0x59518a[_0x59518a[_0x1b4be4(0x4bf)]=0x2714]=_0x1b4be4(0x4bf),_0x59518a[_0x59518a[_0x1b4be4(0x3ce)]=-0x1]=_0x1b4be4(0x3ce),_0x59518a))(Ei||{}),ie=(_0x14c300=>(_0x14c300[_0x14c300[_0x1b4be4(0x526)]=0x0]=_0x1b4be4(0x526),_0x14c300[_0x14c300['UNIVER_DOC']=0x1]=_0x1b4be4(0x435),_0x14c300[_0x14c300[_0x1b4be4(0x5b1)]=0x2]='UNIVER_SHEET',_0x14c300[_0x14c300[_0x1b4be4(0x5c5)]=0x3]=_0x1b4be4(0x5c5),_0x14c300[_0x14c300[_0x1b4be4(0x1cb)]=0x4]=_0x1b4be4(0x1cb),_0x14c300[_0x14c300[_0x1b4be4(0x3ce)]=-0x1]=_0x1b4be4(0x3ce),_0x14c300))(ie||{}),G=(_0x18e5d3=>(_0x18e5d3[_0x18e5d3['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x18e5d3[_0x18e5d3[_0x1b4be4(0x57f)]=0x1]=_0x1b4be4(0x57f),_0x18e5d3[_0x18e5d3[_0x1b4be4(0x15a)]=0x2]=_0x1b4be4(0x15a),_0x18e5d3[_0x18e5d3['LEAVE']=0x3]=_0x1b4be4(0x173),_0x18e5d3[_0x18e5d3[_0x1b4be4(0x31e)]=0x4]=_0x1b4be4(0x31e),_0x18e5d3[_0x18e5d3['HEARTBEAT']=0x5]='HEARTBEAT',_0x18e5d3[_0x18e5d3[_0x1b4be4(0x523)]=0x6]=_0x1b4be4(0x523),_0x18e5d3[_0x18e5d3[_0x1b4be4(0x3ce)]=-0x1]=_0x1b4be4(0x3ce),_0x18e5d3))(G||{}),Dt=(_0x18c9f1=>(_0x18c9f1[_0x18c9f1[_0x1b4be4(0x48a)]=0x0]='UNKNOWN_CODE',_0x18c9f1[_0x18c9f1['OK']=0x1]='OK',_0x18c9f1[_0x18c9f1[_0x1b4be4(0x5e5)]=0x2]=_0x1b4be4(0x5e5),_0x18c9f1[_0x18c9f1[_0x1b4be4(0x47f)]=0x3e9]=_0x1b4be4(0x47f),_0x18c9f1[_0x18c9f1[_0x1b4be4(0x308)]=0x3ea]=_0x1b4be4(0x308),_0x18c9f1[_0x18c9f1['UNRECOGNIZED']=-0x1]=_0x1b4be4(0x3ce),_0x18c9f1))(Dt||{}),bi=(_0x2cbb4f=>(_0x2cbb4f[_0x2cbb4f[_0x1b4be4(0x454)]=0x0]=_0x1b4be4(0x454),_0x2cbb4f[_0x2cbb4f[_0x1b4be4(0x4b5)]=0x1]=_0x1b4be4(0x4b5),_0x2cbb4f[_0x2cbb4f[_0x1b4be4(0x3c1)]=0x2]='HttpExport',_0x2cbb4f[_0x2cbb4f['UnitEmbedded']=0x3]=_0x1b4be4(0x2cd),_0x2cbb4f[_0x2cbb4f[_0x1b4be4(0x140)]=0x4]=_0x1b4be4(0x140),_0x2cbb4f[_0x2cbb4f['UNRECOGNIZED']=-0x1]=_0x1b4be4(0x3ce),_0x2cbb4f))(bi||{});const Z=_0x1b4be4(0x59d),rn={};function Ti(_0x1ffdd0){const _0x2e0e2b=_0x1b4be4;var _0x419dd2,_0x5e1d86,_0x38e29c,_0x49306d,_0x32bac5;const _0x304ba6=_0x1ffdd0[_0x2e0e2b(0x464)],_0xb868a=JSON[_0x2e0e2b(0x194)](_0x304ba6);switch(_0xb868a[_0x2e0e2b(0x1bf)]){case G['HEARTBEAT']:case G['HELLO']:{const _0x17173b=_0xb868a['infoRsp'];return{..._0xb868a,'data':_0x17173b,'cmd':_0xb868a[_0x2e0e2b(0x1bf)]};}case G[_0x2e0e2b(0x15a)]:{const _0x1a89f6=_0xb868a[_0x2e0e2b(0x4cd)];return{..._0xb868a,'data':_0x1a89f6,'cmd':_0xb868a[_0x2e0e2b(0x1bf)]};}case G[_0x2e0e2b(0x523)]:{const _0x4309fd=_0xb868a[_0x2e0e2b(0x52a)];switch(_0x4309fd['eventID']){case m['CollaborationEvent'][_0x2e0e2b(0x32a)]:return{..._0xb868a,'data':{..._0x4309fd,'data':(_0x419dd2=_0x4309fd[_0x2e0e2b(0x405)])==null?void 0x0:_0x419dd2['cs']},'cmd':_0xb868a[_0x2e0e2b(0x1bf)]};case m['CollaborationEvent'][_0x2e0e2b(0x486)]:return{..._0xb868a,'data':{..._0x4309fd,'data':(_0x5e1d86=_0x4309fd['csAckEvent'])==null?void 0x0:_0x5e1d86['cs']},'cmd':_0xb868a[_0x2e0e2b(0x1bf)]};case m[_0x2e0e2b(0x289)]['NEW_CHANGESETS']:return{..._0xb868a,'data':{..._0x4309fd,'data':(_0x38e29c=_0x4309fd[_0x2e0e2b(0x591)])==null?void 0x0:_0x38e29c['cs']},'cmd':_0xb868a['cmd']};case m[_0x2e0e2b(0x289)][_0x2e0e2b(0x386)]:return{..._0xb868a,'data':{..._0x4309fd,'data':(_0x49306d=_0x4309fd[_0x2e0e2b(0x440)])==null?void 0x0:_0x49306d['cs']},'cmd':_0xb868a[_0x2e0e2b(0x1bf)]};case m[_0x2e0e2b(0x289)][_0x2e0e2b(0x49e)]:return{..._0xb868a,'data':{..._0x4309fd,'data':(_0x32bac5=_0x4309fd[_0x2e0e2b(0x328)])==null?void 0x0:_0x32bac5['cs']},'cmd':_0xb868a[_0x2e0e2b(0x1bf)]};case m['CollaborationEvent'][_0x2e0e2b(0x4f1)]:return{..._0xb868a,'data':{..._0x4309fd,'data':_0x4309fd[_0x2e0e2b(0x39d)]},'cmd':_0xb868a[_0x2e0e2b(0x1bf)]};case m[_0x2e0e2b(0x289)][_0x2e0e2b(0x3fe)]:return{..._0xb868a,'data':{..._0x4309fd,'data':_0x4309fd[_0x2e0e2b(0x136)]},'cmd':_0xb868a[_0x2e0e2b(0x1bf)]};case m[_0x2e0e2b(0x289)][_0x2e0e2b(0x31a)]:return{..._0xb868a,'data':{..._0x4309fd,'data':_0x4309fd['leaveEvent']},'cmd':_0xb868a['cmd']};case m[_0x2e0e2b(0x289)][_0x2e0e2b(0x2fe)]:return{..._0xb868a,'data':{..._0x4309fd,'data':_0x4309fd[_0x2e0e2b(0x483)]},'cmd':_0xb868a['cmd']};case m[_0x2e0e2b(0x289)][_0x2e0e2b(0x383)]:case m[_0x2e0e2b(0x289)][_0x2e0e2b(0x4c9)]:return{..._0xb868a,'data':{..._0x4309fd,'data':_0x4309fd[_0x2e0e2b(0x385)]},'cmd':_0xb868a['cmd']};case m[_0x2e0e2b(0x289)][_0x2e0e2b(0x4aa)]:return{..._0xb868a,'data':{..._0x4309fd,'data':_0x4309fd[_0x2e0e2b(0x483)]},'cmd':_0xb868a['cmd']};case m[_0x2e0e2b(0x289)][_0x2e0e2b(0x379)]:return{..._0xb868a,'data':_0x4309fd,'cmd':_0xb868a[_0x2e0e2b(0x1bf)]};case m[_0x2e0e2b(0x289)][_0x2e0e2b(0x268)]:return{..._0xb868a,'data':{..._0x4309fd,'data':_0x4309fd[_0x2e0e2b(0x2ed)]},'cmd':_0xb868a[_0x2e0e2b(0x1bf)]};case m[_0x2e0e2b(0x289)][_0x2e0e2b(0x4de)]:return{..._0xb868a,'data':{..._0x4309fd,'data':_0x4309fd[_0x2e0e2b(0x52c)]},'cmd':_0xb868a[_0x2e0e2b(0x1bf)]};case m[_0x2e0e2b(0x289)][_0x2e0e2b(0x37e)]:return{..._0xb868a,'data':{..._0x4309fd,'data':_0x4309fd[_0x2e0e2b(0x337)]},'cmd':_0xb868a[_0x2e0e2b(0x1bf)]};default:return _0xb868a;}}default:return _0xb868a;}}function Ri(_0xe52c1b){const _0x4ac538=_0x1b4be4;switch(_0xe52c1b[_0x4ac538(0x1bf)]){case G[_0x4ac538(0x511)]:case G[_0x4ac538(0x57f)]:return JSON[_0x4ac538(0x397)]({'cmd':_0xe52c1b[_0x4ac538(0x1bf)],'routeKey':_0xe52c1b[_0x4ac538(0x2fc)]});case G[_0x4ac538(0x31e)]:{let _0x1b3fbe;switch(_0xe52c1b['data'][_0x4ac538(0x54f)]){case m[_0x4ac538(0x289)][_0x4ac538(0x4f1)]:{_0x1b3fbe={'eventID':m[_0x4ac538(0x289)]['UPDATE_CURSOR'],'updateCursorEvent':_0xe52c1b[_0x4ac538(0x464)][_0x4ac538(0x464)]};break;}case m[_0x4ac538(0x289)][_0x4ac538(0x31a)]:{_0x1b3fbe={'eventID':m[_0x4ac538(0x289)][_0x4ac538(0x31a)],'leaveEvent':_0xe52c1b[_0x4ac538(0x464)][_0x4ac538(0x464)]};break;}case m[_0x4ac538(0x289)][_0x4ac538(0x3fe)]:{_0x1b3fbe={'eventID':m[_0x4ac538(0x289)][_0x4ac538(0x3fe)],'joinEvent':_0xe52c1b[_0x4ac538(0x464)][_0x4ac538(0x464)]};break;}case m[_0x4ac538(0x289)][_0x4ac538(0x2fe)]:{_0x1b3fbe={'eventID':m[_0x4ac538(0x289)][_0x4ac538(0x2fe)],'liveShareNewHost':_0xe52c1b[_0x4ac538(0x464)]['data']};break;}case m['CollaborationEvent'][_0x4ac538(0x4c9)]:{_0x1b3fbe={'eventID':m[_0x4ac538(0x289)][_0x4ac538(0x4c9)],'liveShareOperation':_0xe52c1b[_0x4ac538(0x464)][_0x4ac538(0x464)]};break;}case m[_0x4ac538(0x289)][_0x4ac538(0x4aa)]:{_0x1b3fbe={'eventID':m[_0x4ac538(0x289)][_0x4ac538(0x4aa)],'liveShareTerminate':_0xe52c1b[_0x4ac538(0x464)][_0x4ac538(0x464)]};break;}case m[_0x4ac538(0x289)][_0x4ac538(0x1ae)]:{_0x1b3fbe={'eventID':m[_0x4ac538(0x289)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0xe52c1b['data']['data']};break;}case m[_0x4ac538(0x289)][_0x4ac538(0x383)]:{_0x1b3fbe={'eventID':m[_0x4ac538(0x289)][_0x4ac538(0x383)]};break;}default:_0x1b3fbe={'eventID':_0xe52c1b['data'][_0x4ac538(0x54f)]};}return JSON[_0x4ac538(0x397)]({'cmd':_0xe52c1b['cmd'],'routeKey':_0xe52c1b[_0x4ac538(0x2fc)],'collaMsg':_0x1b3fbe});}case G[_0x4ac538(0x15a)]:return JSON[_0x4ac538(0x397)]({'cmd':_0xe52c1b['cmd'],'routeKey':_0xe52c1b[_0x4ac538(0x2fc)],'joinReq':_0xe52c1b['data']});case G['LEAVE']:return JSON[_0x4ac538(0x397)]({'cmd':_0xe52c1b[_0x4ac538(0x1bf)],'routeKey':_0xe52c1b[_0x4ac538(0x2fc)],'leaveReq':_0xe52c1b[_0x4ac538(0x464)]});default:throw new Error(_0x4ac538(0x281));}}var sn=Object[_0x1b4be4(0x3c9)],on=Object['getOwnPropertyDescriptor'],an=(_0x201204,_0x5c9b0f,_0x35196d,_0x5da8c5)=>{const _0x3d7782=_0x1b4be4;for(var _0x1b455a=_0x5da8c5>0x1?void 0x0:_0x5da8c5?on(_0x5c9b0f,_0x35196d):_0x5c9b0f,_0x56c66d=_0x201204[_0x3d7782(0x1d6)]-0x1,_0x16c9ea;_0x56c66d>=0x0;_0x56c66d--)(_0x16c9ea=_0x201204[_0x56c66d])&&(_0x1b455a=(_0x5da8c5?_0x16c9ea(_0x5c9b0f,_0x35196d,_0x1b455a):_0x16c9ea(_0x1b455a))||_0x1b455a);return _0x5da8c5&&_0x1b455a&&sn(_0x5c9b0f,_0x35196d,_0x1b455a),_0x1b455a;},De=(_0x245458,_0x1938c7)=>(_0x48def2,_0x346248)=>_0x1938c7(_0x48def2,_0x346248,_0x245458);const Pt=a[_0x1b4be4(0x254)](_0x1b4be4(0x2a1));function cn(_0x13b1b8,_0x5bd649,_0x3bdcea){const _0x3cec88=_0x1b4be4;return _0x13b1b8+'/'+_0x5bd649+_0x3cec88(0x235)+_0x3bdcea+_0x3cec88(0x2af);}exports[_0x1b4be4(0x374)]=class extends a[_0x1b4be4(0x3a8)]{constructor(_0x4ae887,_0xd71ef,_0x33df7d,_0x5ab1dc,_0x2557e5){const _0x15cd15=_0x1b4be4;super(),this['_http']=_0x4ae887,this['_ws']=_0xd71ef,this[_0x15cd15(0x234)]=_0x33df7d,this[_0x15cd15(0x4fe)]=_0x5ab1dc,this[_0x15cd15(0x18e)]=_0x2557e5;}[_0x1b4be4(0x390)](_0x5b8629){const _0x53d933=_0x1b4be4,_0x16c26e=this[_0x53d933(0x49b)][_0x53d933(0x390)](_0x5b8629);if(!_0x16c26e)throw new Error(_0x53d933(0x315));const _0x55e648=new a[(_0x53d933(0x1d5))](),_0x33f22d=new A['Subject']();_0x55e648[_0x53d933(0x355)](_0x16c26e[_0x53d933(0x3b2)]['subscribe'](_0x50bc56=>_0x33f22d[_0x53d933(0x258)](_0x50bc56))),_0x55e648[_0x53d933(0x355)](a[_0x53d933(0x130)](()=>_0x33f22d[_0x53d933(0x169)]()));const _0x33eadb=new A[(_0x53d933(0x1a3))]();_0x55e648['add'](_0x16c26e[_0x53d933(0x470)]['subscribe'](_0x1f6acf=>_0x33eadb[_0x53d933(0x258)](_0x1f6acf))),_0x55e648['add'](a['toDisposable'](()=>_0x33eadb['complete']()));const _0x39dbf1=new A[(_0x53d933(0x1a3))]();_0x55e648[_0x53d933(0x355)](_0x16c26e[_0x53d933(0x4ba)]['subscribe'](_0x41acdf=>{const _0x534387=_0x53d933,_0x33f53f=Ti(_0x41acdf);_0x39dbf1[_0x534387(0x258)](_0x33f53f);})),_0x55e648['add'](a['toDisposable'](()=>_0x39dbf1[_0x53d933(0x169)]()));let _0x5a4175;const _0x5d18fb=()=>{const _0xfbb672=_0x53d933;_0x33eadb[_0xfbb672(0x258)](new Event(_0xfbb672(0x34b))),_0x33f22d[_0xfbb672(0x258)](new CloseEvent('connection\x20error')),_0x5a4175[_0xfbb672(0x588)]();};return _0x5a4175={'memberID':'','close$':_0x33f22d[_0x53d933(0x581)](),'error$':_0x33eadb[_0x53d933(0x581)](),'open$':_0x16c26e['open$'],'message$':_0x39dbf1[_0x53d933(0x581)](),'send':_0x199670=>{const _0x213018=_0x53d933;if(_0x199670[_0x213018(0x1bf)]===G[_0x213018(0x31e)]){if(_0x199670[_0x213018(0x464)][_0x213018(0x54f)]===m[_0x213018(0x289)][_0x213018(0x35a)]){this[_0x213018(0x1f7)](_0x5a4175,_0x199670['data'])[_0x213018(0x1c5)](_0x5549ec=>{const _0x4290a8=_0x213018;this[_0x4290a8(0x4fe)][_0x4290a8(0x218)](_0x5549ec),_0x5d18fb();});return;}if(_0x199670[_0x213018(0x464)]['eventID']===m[_0x213018(0x289)]['FETCH_MISSING']){const _0x539824=_0x199670[_0x213018(0x464)];this[_0x213018(0x431)](_0x539824)[_0x213018(0x561)](_0x1991f8=>{const _0x3c4b40=_0x213018;_0x39dbf1[_0x3c4b40(0x258)]({'cmd':G[_0x3c4b40(0x523)],'code':Dt['OK'],'routeKey':_0x539824[_0x3c4b40(0x464)][_0x3c4b40(0x4c2)],'routeType':'','data':{'eventID':m[_0x3c4b40(0x289)][_0x3c4b40(0x1d2)],'data':{'changesets':_0x1991f8}}});})[_0x213018(0x1c5)](_0x112b74=>{const _0x5cfc7d=_0x213018;this[_0x5cfc7d(0x4fe)]['error'](_0x112b74),_0x5d18fb();});return;}}_0x16c26e['send'](Ri(_0x199670));},'close':()=>{const _0x15c913=_0x53d933;_0x16c26e[_0x15c913(0x588)](),_0x55e648[_0x15c913(0x576)]();}},_0x5a4175;}async['_submitChangeset'](_0x3992d4,_0x30bb88){const _0x54e144=_0x1b4be4;var _0x1ddd9b,_0x3aee76;const {unitType:_0x522170,unitID:_0x23b682,changeset:_0x42dc49}=_0x30bb88[_0x54e144(0x464)],_0x564fc0={'unitID':_0x23b682,'memberID':_0x3992d4[_0x54e144(0x357)],'type':_0x522170,'changeset':m[_0x54e144(0x1f2)](_0x42dc49)},_0x4ac82e=this[_0x54e144(0x234)][_0x54e144(0x2c9)](Ii),_0x48f090=this[_0x54e144(0x234)][_0x54e144(0x2c9)](Z),_0x1691e8=cn((_0x3aee76=(_0x1ddd9b=_0x48f090==null?void 0x0:_0x48f090[_0x54e144(0x457)])!=null?_0x1ddd9b:_0x4ac82e)!=null?_0x3aee76:tn,_0x522170,_0x23b682);try{await this[_0x54e144(0x1b2)][_0x54e144(0x2c7)](_0x1691e8,{'body':_0x564fc0});}catch(_0x4ccffd){throw this[_0x54e144(0x4fe)]['error']('[CollaborationSession]',_0x54e144(0x1bc)),_0x4ccffd;}}async[_0x1b4be4(0x431)](_0x185891){const _0x55d0c4=_0x1b4be4,{unitID:_0x3c3ba7,from:_0x1eae25,to:_0x5f5186,unitType:_0x309e44}=_0x185891[_0x55d0c4(0x464)];return(await this[_0x55d0c4(0x18e)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x3c3ba7,'type':_0x309e44,'from':_0x1eae25,'to':_0x5f5186}))['changesets'];}},exports[_0x1b4be4(0x374)]=an([De(0x0,a[_0x1b4be4(0x5da)](z['HTTPService'])),De(0x1,a['Inject'](z['WebSocketService'])),De(0x2,a[_0x1b4be4(0x2ec)]),De(0x3,a[_0x1b4be4(0x509)]),De(0x4,m['ISnapshotServerService'])],exports['CollaborationSocketService']);const ln=_0x1b4be4(0x473);function hn(_0x1705da){const _0x54bcea=_0x1b4be4;return JSON[_0x54bcea(0x397)](_0x1705da)[_0x54bcea(0x1d6)];}class wt{constructor(){const _0x38d893=_0x1b4be4;I(this,_0x38d893(0x4ac),new A['Subject']()),I(this,_0x38d893(0x505),this['_commentUpdate$'][_0x38d893(0x581)]());}[_0x1b4be4(0x231)](_0xfc8c0){const _0x2cffaf=_0x1b4be4;this[_0x2cffaf(0x4ac)][_0x2cffaf(0x258)](_0xfc8c0);}}var _n=Object[_0x1b4be4(0x3c9)],un=Object['getOwnPropertyDescriptor'],dn=(_0x470a82,_0x22f7ed,_0x3f4114,_0x1c1ff0)=>{const _0x6d5f35=_0x1b4be4;for(var _0x9f470=_0x1c1ff0>0x1?void 0x0:_0x1c1ff0?un(_0x22f7ed,_0x3f4114):_0x22f7ed,_0x3bb8da=_0x470a82[_0x6d5f35(0x1d6)]-0x1,_0x488071;_0x3bb8da>=0x0;_0x3bb8da--)(_0x488071=_0x470a82[_0x3bb8da])&&(_0x9f470=(_0x1c1ff0?_0x488071(_0x22f7ed,_0x3f4114,_0x9f470):_0x488071(_0x9f470))||_0x9f470);return _0x1c1ff0&&_0x9f470&&_n(_0x22f7ed,_0x3f4114,_0x9f470),_0x9f470;},jt=(_0x31c281,_0x1c2de4)=>(_0x9255d4,_0xbc21d0)=>_0x1c2de4(_0x9255d4,_0xbc21d0,_0x31c281);exports[_0x1b4be4(0x41e)]=class extends a[_0x1b4be4(0x3a8)]{constructor(_0x397686,_0x45b64f){const _0x441cd9=_0x1b4be4;super(),I(this,_0x441cd9(0x4a1),new Map()),(this[_0x441cd9(0x471)]=_0x397686,this[_0x441cd9(0x585)]=_0x45b64f,this[_0x441cd9(0x424)](a[_0x441cd9(0x130)](A[_0x441cd9(0x351)](this[_0x441cd9(0x471)][_0x441cd9(0x5a1)](a[_0x441cd9(0x577)][_0x441cd9(0x5b1)])[_0x441cd9(0x33d)](V[_0x441cd9(0x342)](_0x2daf28=>_0x2daf28[_0x441cd9(0x133)]())),this['_univerInstanceService'][_0x441cd9(0x5a1)](a[_0x441cd9(0x577)][_0x441cd9(0x435)])['pipe'](V[_0x441cd9(0x342)](_0x12b79c=>_0x12b79c['getUnitId']())),this[_0x441cd9(0x471)][_0x441cd9(0x5a1)](a[_0x441cd9(0x577)][_0x441cd9(0x5c5)])[_0x441cd9(0x33d)](V[_0x441cd9(0x342)](_0x40c81e=>_0x40c81e['getUnitId']())))['subscribe'](_0x415665=>this[_0x441cd9(0x12c)](_0x415665)))));}[_0x1b4be4(0x3e3)](_0x17bb8c){const _0x214148=_0x1b4be4;this[_0x214148(0x585)][_0x214148(0x3e3)](_0x17bb8c);}[_0x1b4be4(0x278)](){const _0x15b15a=_0x1b4be4;return this[_0x15b15a(0x585)][_0x15b15a(0x278)]();}[_0x1b4be4(0x197)](_0x36f1fd,_0x46609c){const _0x493fc3=_0x1b4be4;let _0x5a22ac=this[_0x493fc3(0x4a1)][_0x493fc3(0x35b)](_0x36f1fd);_0x5a22ac||(_0x5a22ac=new fn(),this[_0x493fc3(0x4a1)][_0x493fc3(0x5c1)](_0x36f1fd,_0x5a22ac)),_0x5a22ac['updateMember'](_0x46609c);}['removeMember'](_0x400257,_0x80ff3c){const _0x3c60f4=_0x1b4be4,_0x1f655b=this[_0x3c60f4(0x4a1)][_0x3c60f4(0x35b)](_0x400257);_0x1f655b&&_0x1f655b[_0x3c60f4(0x4f4)](_0x80ff3c);}['getRoom'](_0x5a0a6f){const _0x812832=_0x1b4be4;return this[_0x812832(0x4a1)][_0x812832(0x35b)](_0x5a0a6f);}['getMember'](_0x909465,_0x28dd8e){const _0x8de959=_0x1b4be4,_0x4090f7=this[_0x8de959(0x4a1)][_0x8de959(0x35b)](_0x909465);if(_0x4090f7)return _0x4090f7['getMember'](_0x28dd8e);}[_0x1b4be4(0x12c)](_0x2b31ce){const _0x1c54df=_0x1b4be4,_0x58602d=this['_roomMembers']['get'](_0x2b31ce);_0x58602d&&(_0x58602d[_0x1c54df(0x576)](),this[_0x1c54df(0x4a1)][_0x1c54df(0x192)](_0x2b31ce));}['dispose'](){const _0x3f0526=_0x1b4be4;this[_0x3f0526(0x4a1)][_0x3f0526(0x3ee)](_0x29d43b=>_0x29d43b['dispose']()),this['_roomMembers']['clear']();}},exports['MemberService']=dn([jt(0x0,a['IUniverInstanceService']),jt(0x1,a[_0x1b4be4(0x5da)](a[_0x1b4be4(0x38e)]))],exports[_0x1b4be4(0x41e)]);class fn extends a[_0x1b4be4(0x3a8)]{constructor(){super(...arguments),I(this,'_members',new Map());}[_0x1b4be4(0x576)](){const _0x3ee0ff=_0x1b4be4;this[_0x3ee0ff(0x46b)][_0x3ee0ff(0x162)]();}[_0x1b4be4(0x197)](_0x1d0010){const _0x2f16b7=_0x1b4be4;this['_members'][_0x2f16b7(0x5c1)](_0x1d0010[_0x2f16b7(0x357)],_0x1d0010);}[_0x1b4be4(0x4f4)](_0x3e4abe){const _0x18f709=_0x1b4be4;this[_0x18f709(0x46b)][_0x18f709(0x192)](_0x3e4abe);}['getMember'](_0x5060dc){const _0x46f794=_0x1b4be4;return this[_0x46f794(0x46b)][_0x46f794(0x35b)](_0x5060dc);}[_0x1b4be4(0x14a)](){const _0xbd26b5=_0x1b4be4;return Array[_0xbd26b5(0x1a6)](this[_0xbd26b5(0x46b)][_0xbd26b5(0x1ab)]());}}var vn=Object[_0x1b4be4(0x3c9)],pn=Object[_0x1b4be4(0x3c7)],Sn=(_0x56009,_0x1a71be,_0x5e637b,_0xe6abbd)=>{const _0x214acb=_0x1b4be4;for(var _0x316d18=_0xe6abbd>0x1?void 0x0:_0xe6abbd?pn(_0x1a71be,_0x5e637b):_0x1a71be,_0x55738e=_0x56009[_0x214acb(0x1d6)]-0x1,_0x247569;_0x55738e>=0x0;_0x55738e--)(_0x247569=_0x56009[_0x55738e])&&(_0x316d18=(_0xe6abbd?_0x247569(_0x1a71be,_0x5e637b,_0x316d18):_0x247569(_0x316d18))||_0x316d18);return _0xe6abbd&&_0x316d18&&vn(_0x1a71be,_0x5e637b,_0x316d18),_0x316d18;},ue=(_0x4f2e3b,_0x3598f8)=>(_0x26349d,_0x71824)=>_0x3598f8(_0x26349d,_0x71824,_0x4f2e3b),ne=(_0x5f2cf9=>(_0x5f2cf9[_0x5f2cf9[_0x1b4be4(0x326)]=0x0]=_0x1b4be4(0x326),_0x5f2cf9[_0x5f2cf9['JOINING']=0x1]='JOINING',_0x5f2cf9[_0x5f2cf9['OFFLINE']=0x2]='OFFLINE',_0x5f2cf9[_0x5f2cf9[_0x1b4be4(0x163)]=0x3]=_0x1b4be4(0x163),_0x5f2cf9))(ne||{});exports[_0x1b4be4(0x276)]=class extends a[_0x1b4be4(0x472)]{constructor(_0xd12299,_0x1f375d,_0x3bb60e,_0x550e4a,_0x361332,_0x5e782c,_0x5506bc,_0x24568a,_0x5750fc,_0x5bb3fc){const _0x154d12=_0x1b4be4;super(),I(this,_0x154d12(0x4b0),new A['BehaviorSubject'](0x0)),I(this,_0x154d12(0x29d),this['_sessionStatus$'][_0x154d12(0x581)]()),I(this,'_event$',new A['Subject']()),I(this,_0x154d12(0x35f),this[_0x154d12(0x57d)][_0x154d12(0x581)]()),I(this,_0x154d12(0x494)),I(this,_0x154d12(0x508)),I(this,_0x154d12(0x3df)),I(this,_0x154d12(0x378),!0x1),I(this,_0x154d12(0x4e6),null),(this[_0x154d12(0x3ca)]=_0xd12299,this[_0x154d12(0x4fe)]=_0x3bb60e,this[_0x154d12(0x51c)]=_0x550e4a,this[_0x154d12(0x371)]=_0x361332,this[_0x154d12(0x234)]=_0x5e782c,this[_0x154d12(0x131)]=_0x5506bc,this[_0x154d12(0x580)]=_0x24568a,this[_0x154d12(0x38d)]=_0x5750fc,this['_telemetryService']=_0x5bb3fc,this[_0x154d12(0x378)]=!!this[_0x154d12(0x4d6)],_0x1f375d[_0x154d12(0x33d)](A['takeUntil'](this['dispose$']))[_0x154d12(0x559)](_0x1a9207=>{const _0x574be5=_0x154d12;var _0x4d59c1;typeof _0x1a9207>'u'||(this[_0x574be5(0x494)]=_0x1a9207,_0x1a9207?(this[_0x574be5(0x388)](_0x1a9207),this[_0x574be5(0x508)]=_0x1a9207['message$']['subscribe'](_0xa9e8df=>{const _0x1909ca=_0x574be5;_0xa9e8df[_0x1909ca(0x2fc)]===this[_0x1909ca(0x3ca)]&&this[_0x1909ca(0x20f)](_0xa9e8df);})):(this[_0x574be5(0x40e)](),this[_0x574be5(0x4b0)][_0x574be5(0x258)](0x2),(_0x4d59c1=this[_0x574be5(0x508)])==null||_0x4d59c1[_0x574be5(0x1a8)](),this[_0x574be5(0x508)]=null));}),this[_0x154d12(0x424)](this[_0x154d12(0x51c)][_0x154d12(0x1f6)](()=>{const _0x4bc31d=_0x154d12;var _0x51bced;(_0x51bced=this[_0x4bc31d(0x494)])==null||_0x51bced[_0x4bc31d(0x430)]({'cmd':G[_0x4bc31d(0x173)],'data':{'roomID':this['_unitID']}});})));}get['sessionStatus'](){const _0x1f0fb6=_0x1b4be4;return this[_0x1f0fb6(0x4b0)][_0x1f0fb6(0x51e)]();}[_0x1b4be4(0x3af)](){const _0x2f452e=_0x1b4be4;var _0x2cbd8e,_0x3c343e;return(_0x3c343e=(_0x2cbd8e=this['_socket'])==null?void 0x0:_0x2cbd8e[_0x2f452e(0x357)])!=null?_0x3c343e:null;}[_0x1b4be4(0x576)](){const _0x90e7ad=_0x1b4be4;super[_0x90e7ad(0x576)](),this[_0x90e7ad(0x372)]['next'](),this['dispose$']['complete']();}[_0x1b4be4(0x588)](){const _0x46f41d=_0x1b4be4;var _0x2e0e61,_0x53266d;this[_0x46f41d(0x40e)](),(_0x2e0e61=this[_0x46f41d(0x494)])==null||_0x2e0e61[_0x46f41d(0x430)]({'cmd':G[_0x46f41d(0x173)],'data':{'roomID':this[_0x46f41d(0x3ca)]}}),(_0x53266d=this[_0x46f41d(0x494)])==null||_0x53266d[_0x46f41d(0x588)](),this[_0x46f41d(0x57d)][_0x46f41d(0x169)](),this[_0x46f41d(0x4b0)]['complete'](),this['dispose']();}['_onCombEvent'](_0xe39ea8){const _0x4b9084=_0x1b4be4;_0xe39ea8[_0x4b9084(0x1bf)]===G[_0x4b9084(0x15a)]?this[_0x4b9084(0x239)](_0xe39ea8):_0xe39ea8[_0x4b9084(0x1bf)]===G[_0x4b9084(0x523)]&&this[_0x4b9084(0x5b0)](_0xe39ea8);}[_0x1b4be4(0x388)](_0x7dd750){const _0xfc863f=_0x1b4be4;this[_0xfc863f(0x4b0)][_0xfc863f(0x258)](0x1),_0x7dd750[_0xfc863f(0x430)]({'cmd':G['JOIN'],'routeKey':this[_0xfc863f(0x3ca)],'routeType':'','data':{'rooms':[{'roomID':this[_0xfc863f(0x3ca)]}]}});}[_0x1b4be4(0x239)](_0xe79ee4){const _0x1ceab7=_0x1b4be4;var _0x561a33;if(_0xe79ee4[_0x1ceab7(0x48c)]===Dt[_0x1ceab7(0x5e5)]){this[_0x1ceab7(0x371)][_0x1ceab7(0x53e)]({'type':Ie[_0x1ceab7(0x2a8)]['Warning'],'content':this[_0x1ceab7(0x131)]['t'](_0x1ceab7(0x42f))}),this[_0x1ceab7(0x4b0)][_0x1ceab7(0x258)](0x2);return;}this[_0x1ceab7(0x4b0)][_0x1ceab7(0x258)](0x3);const _0x35d906=(_0x561a33=_0xe79ee4[_0x1ceab7(0x464)][_0x1ceab7(0x4ce)][this['_unitID']])==null?void 0x0:_0x561a33[_0x1ceab7(0x15e)];_0x35d906&&_0x35d906[_0x1ceab7(0x3ee)](_0x11ef5a=>this[_0x1ceab7(0x580)]['updateMember'](this[_0x1ceab7(0x3ca)],_0x11ef5a));}[_0x1b4be4(0x5b0)](_0x59c218){const _0x5f37b0=_0x1b4be4;try{const _0x5f11eb=_0x59c218[_0x5f37b0(0x464)];switch(_0x5f11eb[_0x5f37b0(0x54f)]){case m['CollaborationEvent'][_0x5f37b0(0x3fe)]:this[_0x5f37b0(0x1e7)](_0x5f11eb),this[_0x5f37b0(0x57d)]['next'](_0x5f11eb);break;case m[_0x5f37b0(0x289)][_0x5f37b0(0x31a)]:this[_0x5f37b0(0x3b1)](_0x5f11eb),this[_0x5f37b0(0x57d)]['next'](_0x5f11eb);break;case m['CollaborationEvent']['CHANGESET_ACK']:case m['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x5f37b0(0x58c)](),this[_0x5f37b0(0x57d)][_0x5f37b0(0x258)](_0x5f11eb);break;case m[_0x5f37b0(0x289)]['MSG_FOR_ERROR']:this['_logService'][_0x5f37b0(0x218)](_0x5f37b0(0x211)+JSON[_0x5f37b0(0x397)](_0x5f11eb)),this[_0x5f37b0(0x57d)][_0x5f37b0(0x258)](_0x5f11eb);break;case m[_0x5f37b0(0x289)]['COMMENT_UPDATE']:this[_0x5f37b0(0x38d)][_0x5f37b0(0x231)](_0x5f11eb[_0x5f37b0(0x464)]),this[_0x5f37b0(0x57d)][_0x5f37b0(0x258)](_0x5f11eb);break;default:this[_0x5f37b0(0x57d)][_0x5f37b0(0x258)](_0x5f11eb);}}catch(_0x4cd494){this[_0x5f37b0(0x4fe)]['error'](_0x4cd494,_0x59c218);}}[_0x1b4be4(0x1e7)](_0xdebf18){const _0x11f667=_0x1b4be4;this[_0x11f667(0x580)][_0x11f667(0x197)](this[_0x11f667(0x3ca)],_0xdebf18['data']);}[_0x1b4be4(0x3b1)](_0x140993){const _0x33110b=_0x1b4be4;this['_memberService'][_0x33110b(0x4f4)](this[_0x33110b(0x3ca)],_0x140993[_0x33110b(0x464)]['memberID']);}async[_0x1b4be4(0x430)](_0x4bec78,_0x4e7b7c){const _0x13902f=_0x1b4be4;if(this[_0x13902f(0x2eb)]!==0x3||!this[_0x13902f(0x494)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x4bec78[_0x13902f(0x54f)]===m[_0x13902f(0x289)][_0x13902f(0x35a)]&&(this[_0x13902f(0x26e)](),this[_0x13902f(0x20b)](_0x4bec78)),this['_socket'][_0x13902f(0x430)]({'cmd':G['INGEST'],'routeKey':_0x4e7b7c,'routeType':'','data':_0x4bec78});}catch(_0x116402){this[_0x13902f(0x4fe)][_0x13902f(0x218)](_0x116402);}}[_0x1b4be4(0x26e)](){const _0x412529=_0x1b4be4;var _0x4351ec;this[_0x412529(0x3df)]=window[_0x412529(0x3f4)](()=>{const _0x262896=_0x412529;this[_0x262896(0x3df)]=null,this['_messageService'][_0x262896(0x53e)]({'type':Ie[_0x262896(0x2a8)][_0x262896(0x161)],'content':this[_0x262896(0x131)]['t'](_0x262896(0x419))});},(_0x4351ec=this[_0x412529(0x234)][_0x412529(0x2c9)](Ot))!=null?_0x4351ec:Si);}[_0x1b4be4(0x58c)](){const _0x3f8afc=_0x1b4be4;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x3f8afc(0x3df)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x52379e){const _0x4c4600=_0x1b4be4;if(!this['_shouldReportTelemetry'])return;const {data:_0x83eaee}=_0x52379e,{unitID:_0x4246c3,changeset:_0x1404d3}=_0x83eaee,{mutations:_0x3f212d,type:_0x27f902}=_0x1404d3;this[_0x4c4600(0x4e6)]={'unitId':_0x4246c3,'type':_0x27f902,'startTime':performance[_0x4c4600(0x168)](),'stopTime':0x0,'duration':0x0,'size':hn(_0x3f212d)};}[_0x1b4be4(0x356)](){const _0xfc3190=_0x1b4be4;if(this['_shouldReportTelemetry']){if(!this[_0xfc3190(0x4e6)]){this[_0xfc3190(0x4fe)][_0xfc3190(0x218)]('[CollaborationSession]',_0xfc3190(0x123));return;}this[_0xfc3190(0x4e6)]['stopTime']=performance['now'](),this[_0xfc3190(0x4e6)][_0xfc3190(0x584)]=this['_telemetryInfo'][_0xfc3190(0x221)]-this[_0xfc3190(0x4e6)]['startTime'],this[_0xfc3190(0x4d6)][_0xfc3190(0x5a0)](ln,this[_0xfc3190(0x4e6)]),this[_0xfc3190(0x4e6)]=null;}}[_0x1b4be4(0x40e)](){const _0x4164c7=_0x1b4be4;this[_0x4164c7(0x4e6)]=null;}},exports[_0x1b4be4(0x276)]=Sn([ue(0x2,a[_0x1b4be4(0x509)]),ue(0x3,ee[_0x1b4be4(0x3c8)]),ue(0x4,ee[_0x1b4be4(0x182)]),ue(0x5,a[_0x1b4be4(0x2ec)]),ue(0x6,a[_0x1b4be4(0x5da)](a[_0x1b4be4(0x138)])),ue(0x7,a['Inject'](exports[_0x1b4be4(0x41e)])),ue(0x8,a[_0x1b4be4(0x5da)](wt)),ue(0x9,a['Optional'](Vi['ITelemetryService']))],exports[_0x1b4be4(0x276)]);var mn=Object[_0x1b4be4(0x3c9)],gn=Object['getOwnPropertyDescriptor'],In=(_0x2f42b3,_0x3658ce,_0x13376a,_0x34bdf8)=>{const _0x31311c=_0x1b4be4;for(var _0x286cef=_0x34bdf8>0x1?void 0x0:_0x34bdf8?gn(_0x3658ce,_0x13376a):_0x3658ce,_0x5f46e0=_0x2f42b3[_0x31311c(0x1d6)]-0x1,_0x5e462f;_0x5f46e0>=0x0;_0x5f46e0--)(_0x5e462f=_0x2f42b3[_0x5f46e0])&&(_0x286cef=(_0x34bdf8?_0x5e462f(_0x3658ce,_0x13376a,_0x286cef):_0x5e462f(_0x286cef))||_0x286cef);return _0x34bdf8&&_0x286cef&&mn(_0x3658ce,_0x13376a,_0x286cef),_0x286cef;},pe=(_0x1c84e1,_0x39a4bf)=>(_0x4bf85d,_0x308976)=>_0x39a4bf(_0x4bf85d,_0x308976,_0x1c84e1);exports[_0x1b4be4(0x4bb)]=class extends a[_0x1b4be4(0x3a8)]{constructor(_0x9bbbf9,_0x1a7e0a,_0xe27d45,_0x240596,_0x48ed01,_0xc76719,_0x58a90c){const _0x391a93=_0x1b4be4;super(),I(this,_0x391a93(0x4bd),new A[(_0x391a93(0x28f))](void 0x0)),I(this,'socket$',this[_0x391a93(0x4bd)][_0x391a93(0x581)]()),I(this,_0x391a93(0x3d2),null),I(this,_0x391a93(0x59f),new Map()),I(this,'_status$',new A['BehaviorSubject'](ne['IDLE'])),I(this,_0x391a93(0x2f3),this[_0x391a93(0x327)]['asObservable']()),I(this,_0x391a93(0x3d1),!0x1),I(this,'_retryConnectingTimer'),I(this,_0x391a93(0x441),0x0),I(this,_0x391a93(0x19a)),I(this,_0x391a93(0x527)),(this[_0x391a93(0x232)]=_0x9bbbf9,this[_0x391a93(0x131)]=_0x1a7e0a,this[_0x391a93(0x371)]=_0xe27d45,this[_0x391a93(0x4fe)]=_0x240596,this[_0x391a93(0x234)]=_0x48ed01,this['_socketService']=_0xc76719,this[_0x391a93(0x515)]=_0x58a90c,this[_0x391a93(0x293)]());}get[_0x1b4be4(0x494)](){const _0x1e6172=_0x1b4be4;return this[_0x1e6172(0x4bd)]['getValue']();}[_0x1b4be4(0x293)](){const _0x3d7605=_0x1b4be4;this[_0x3d7605(0x16f)](),this[_0x3d7605(0x4ab)]();}[_0x1b4be4(0x576)](){const _0x5e4067=_0x1b4be4;super[_0x5e4067(0x576)](),this['_sessions'][_0x5e4067(0x3ee)](_0xc5040f=>_0xc5040f[_0x5e4067(0x576)]()),this[_0x5e4067(0x59f)]['clear'](),this[_0x5e4067(0x327)]['complete']();}async[_0x1b4be4(0x525)](_0x2e00ea){const _0x746f12=_0x1b4be4;if(this[_0x746f12(0x59f)][_0x746f12(0x1b5)](_0x2e00ea))return this['_sessions'][_0x746f12(0x35b)](_0x2e00ea);this['_tryEnsureSocket']();const _0xcb3758=this[_0x746f12(0x232)][_0x746f12(0x2c5)](exports[_0x746f12(0x276)],_0x2e00ea,this[_0x746f12(0x4bd)][_0x746f12(0x581)]());return this['_sessions'][_0x746f12(0x5c1)](_0x2e00ea,_0xcb3758),_0xcb3758;}[_0x1b4be4(0x3ea)](_0x28d298){const _0x514c14=_0x1b4be4;var _0x2d6874;const _0x36a84d=this[_0x514c14(0x59f)][_0x514c14(0x35b)](_0x28d298);_0x36a84d&&(this[_0x514c14(0x59f)][_0x514c14(0x192)](_0x28d298),_0x36a84d[_0x514c14(0x588)]()),this[_0x514c14(0x59f)][_0x514c14(0x233)]||(_0x2d6874=this[_0x514c14(0x494)])==null||_0x2d6874[_0x514c14(0x588)]();}[_0x1b4be4(0x5b7)](){const _0x31f4bb=_0x1b4be4;this[_0x31f4bb(0x441)]=0x0,this[_0x31f4bb(0x3c6)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x31f4bb(0x3c6)]=null),this['_tryReconnect']();}async[_0x1b4be4(0x475)](){const _0x3624ea=_0x1b4be4;var _0x339bc5,_0x1e17a6,_0x3b5eb2;const _0x16ccd2=this[_0x3624ea(0x234)]['getConfig'](Z),_0x2582f2=(_0x339bc5=_0x16ccd2==null?void 0x0:_0x16ccd2[_0x3624ea(0x4df)])!=null?_0x339bc5:Xi;return(_0x3b5eb2=(_0x1e17a6=(await this[_0x3624ea(0x515)]['get'](_0x2582f2,{'headers':{'Content-Type':_0x3624ea(0x439)}}))[_0x3624ea(0x1a7)])==null?void 0x0:_0x1e17a6['ticket'])!=null?_0x3b5eb2:'';}['_createSocketURL'](_0x41504a){const _0x33d589=_0x1b4be4;var _0x38760a,_0x4865b3;const _0x1e329d=this['_configService']['getConfig'](vi),_0x360013=this[_0x33d589(0x234)]['getConfig'](Z),_0x939533=(_0x4865b3=(_0x38760a=_0x360013==null?void 0x0:_0x360013[_0x33d589(0x460)])!=null?_0x38760a:_0x1e329d)!=null?_0x4865b3:zi,_0x1698cb=new URL(_0x939533,window[_0x33d589(0x16c)][_0x33d589(0x4ee)]);return _0x1698cb[_0x33d589(0x252)]['set'](_0x33d589(0x1d0),_0x41504a),_0x1698cb[_0x33d589(0x1d1)]();}async[_0x1b4be4(0x520)](){const _0x4fb770=_0x1b4be4,_0x47cb6f=await this[_0x4fb770(0x475)](),_0x319579=this['_createSocketURL'](_0x47cb6f),_0x5c78dd=this[_0x4fb770(0x11f)][_0x4fb770(0x390)](_0x319579);return this[_0x4fb770(0x3d2)]=_0x5c78dd,_0x5c78dd;}async[_0x1b4be4(0x4c0)](){const _0x92ccc2=_0x1b4be4;var _0xb92626,_0x2c1322;try{const _0x55f998=(_0x2c1322=(_0xb92626=this[_0x92ccc2(0x494)])!=null?_0xb92626:this['_candidateSocket'])!=null?_0x2c1322:await this[_0x92ccc2(0x520)]();if(_0x55f998){const _0x4eddb4=_0x55f998[_0x92ccc2(0x430)];_0x55f998[_0x92ccc2(0x430)]=_0x42bba7=>(this[_0x92ccc2(0x1cd)](),_0x4eddb4['apply'](_0x55f998,[_0x42bba7])),_0x55f998['message$'][_0x92ccc2(0x559)](_0x172495=>this[_0x92ccc2(0x56f)](_0x55f998,_0x172495)),_0x55f998[_0x92ccc2(0x470)]['pipe'](V['take'](0x1))['subscribe'](_0x5455f5=>this['_logService'][_0x92ccc2(0x218)](_0x92ccc2(0x375),_0x5455f5)),_0x55f998['open$'][_0x92ccc2(0x33d)](V[_0x92ccc2(0x358)](0x1))[_0x92ccc2(0x559)](()=>{const _0x51266e=_0x92ccc2;this[_0x51266e(0x288)](_0x55f998);}),_0x55f998['close$']['pipe'](V[_0x92ccc2(0x358)](0x1))[_0x92ccc2(0x559)](_0x414f97=>{const _0x3e4771=_0x92ccc2;this[_0x3e4771(0x4fe)][_0x3e4771(0x2b6)]('[CollaborationSessionService]',_0x3e4771(0x1e4),_0x414f97),this['_onConnectionFailed']();});}}catch(_0x1b3451){this[_0x92ccc2(0x4fe)][_0x92ccc2(0x218)](_0x1b3451),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x4cc2a2){const _0xac24cd=_0x1b4be4;this['_logService'][_0xac24cd(0x2b6)](_0xac24cd(0x332),_0xac24cd(0x264)),_0x4cc2a2['send']({'cmd':G[_0xac24cd(0x57f)]}),this[_0xac24cd(0x1cd)]();}['_listenToOfflineEvent'](){const _0x198ddc=_0x1b4be4;window['addEventListener'](_0x198ddc(0x5aa),()=>this[_0x198ddc(0x1fb)]());}[_0x1b4be4(0x1fb)](){const _0x45ddd9=_0x1b4be4;this[_0x45ddd9(0x3d1)]=!0x1,this[_0x45ddd9(0x3d2)]=null,this[_0x45ddd9(0x327)][_0x45ddd9(0x258)](ne[_0x45ddd9(0x466)]),this[_0x45ddd9(0x4bd)]['next'](null),this['_clearTimeoutTimer'](),this[_0x45ddd9(0x3c2)]();}['_onConnectionFailed'](){const _0x58c47f=_0x1b4be4;var _0x2807d9;this[_0x58c47f(0x1fb)](),this[_0x58c47f(0x441)]<((_0x2807d9=this['_configService']['getConfig'](mi))!=null?_0x2807d9:Qi)?(this[_0x58c47f(0x371)]['show']({'key':_0x58c47f(0x2f5),'type':Ie['MessageType'][_0x58c47f(0x1ac)],'content':this['_localeService']['t']('session.will-retry')}),this[_0x58c47f(0x13b)]()):this[_0x58c47f(0x371)][_0x58c47f(0x53e)]({'key':'collaboration-session-retry','type':Ie[_0x58c47f(0x2a8)]['Error'],'content':this[_0x58c47f(0x131)]['t'](_0x58c47f(0x2da))});}[_0x1b4be4(0x4ab)](){const _0x27f510=_0x1b4be4,_0xfff967=()=>{const _0xb17fa1=_0x446a;this[_0xb17fa1(0x494)]||this[_0xb17fa1(0x5b7)]();},_0x31dca5=()=>{const _0x3f8a90=_0x446a;this[_0x3f8a90(0x494)]||document[_0x3f8a90(0x38b)]===_0x3f8a90(0x521)||this[_0x3f8a90(0x5b7)]();};window[_0x27f510(0x195)](_0x27f510(0x164),_0xfff967),document['addEventListener'](_0x27f510(0x30d),_0x31dca5);}[_0x1b4be4(0x13b)](){const _0x24fa95=_0x1b4be4;var _0x3d083a;const _0x65ce99=this[_0x24fa95(0x441)],_0x3ced9b=this['_configService'][_0x24fa95(0x2c9)](Z),_0x571f68=_0x65ce99===0x0?0x0:((_0x3d083a=_0x3ced9b==null?void 0x0:_0x3ced9b[_0x24fa95(0x172)])!=null?_0x3d083a:Zi)*0x2**_0x65ce99;this[_0x24fa95(0x3c6)]=window[_0x24fa95(0x3f4)](()=>{const _0x5b7e3a=_0x24fa95;clearTimeout(this[_0x5b7e3a(0x3c6)]),this[_0x5b7e3a(0x3c6)]=null,this[_0x5b7e3a(0x4c0)]();},_0x571f68),this[_0x24fa95(0x441)]+=0x1;}[_0x1b4be4(0x56f)](_0x1f34fd,_0xb38841){const _0x2c8ed9=_0x1b4be4,{cmd:_0xe50bdb}=_0xb38841;_0xe50bdb===G[_0x2c8ed9(0x57f)]&&!this[_0x2c8ed9(0x3d1)]&&(_0x1f34fd[_0x2c8ed9(0x357)]=_0xb38841[_0x2c8ed9(0x464)][_0x2c8ed9(0x357)],this[_0x2c8ed9(0x4bd)][_0x2c8ed9(0x258)](_0x1f34fd),this[_0x2c8ed9(0x327)]['next'](ne[_0x2c8ed9(0x163)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0xe50bdb===G['HEARTBEAT']&&this[_0x2c8ed9(0x1f4)](),this['_rescheduleHeartbeat']();}[_0x1b4be4(0x1cd)](){const _0x30ec48=_0x1b4be4;var _0x4a5ea7;this[_0x30ec48(0x3c2)](),this[_0x30ec48(0x19a)]=window['setTimeout'](()=>this[_0x30ec48(0x122)](),(_0x4a5ea7=this[_0x30ec48(0x234)][_0x30ec48(0x2c9)](pi))!=null?_0x4a5ea7:Ji);}[_0x1b4be4(0x122)](){const _0x4dcc75=_0x1b4be4;this[_0x4dcc75(0x494)]['send']({'cmd':G[_0x4dcc75(0x511)]}),this['_waitForHeartbeatResponse']();}[_0x1b4be4(0x1b8)](){const _0x47c5d0=_0x1b4be4;var _0x4b278d;this[_0x47c5d0(0x527)]=window[_0x47c5d0(0x3f4)](()=>this[_0x47c5d0(0x314)](),(_0x4b278d=this[_0x47c5d0(0x234)][_0x47c5d0(0x2c9)](Ot))!=null?_0x4b278d:Si);}[_0x1b4be4(0x3c2)](){const _0x3d2ad8=_0x1b4be4;this[_0x3d2ad8(0x19a)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){const _0x594686=_0x1b4be4;this[_0x594686(0x527)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x594686(0x527)]=null);}},exports[_0x1b4be4(0x4bb)]=In([pe(0x0,a[_0x1b4be4(0x5da)](a[_0x1b4be4(0x3a0)])),pe(0x1,a['Inject'](a['LocaleService'])),pe(0x2,ee[_0x1b4be4(0x182)]),pe(0x3,a['ILogService']),pe(0x4,a[_0x1b4be4(0x2ec)]),pe(0x5,Pt),pe(0x6,a[_0x1b4be4(0x5da)](z[_0x1b4be4(0x3aa)]))],exports['CollaborationSessionService']);const Y=[];for(let r=0x0;r<0x100;++r)Y[_0x1b4be4(0x284)]((r+0x100)[_0x1b4be4(0x1d1)](0x10)[_0x1b4be4(0x487)](0x1));function Cn(_0x365c6c,_0x2c7102=0x0){const _0x3f071e=_0x1b4be4;return(Y[_0x365c6c[_0x2c7102+0x0]]+Y[_0x365c6c[_0x2c7102+0x1]]+Y[_0x365c6c[_0x2c7102+0x2]]+Y[_0x365c6c[_0x2c7102+0x3]]+'-'+Y[_0x365c6c[_0x2c7102+0x4]]+Y[_0x365c6c[_0x2c7102+0x5]]+'-'+Y[_0x365c6c[_0x2c7102+0x6]]+Y[_0x365c6c[_0x2c7102+0x7]]+'-'+Y[_0x365c6c[_0x2c7102+0x8]]+Y[_0x365c6c[_0x2c7102+0x9]]+'-'+Y[_0x365c6c[_0x2c7102+0xa]]+Y[_0x365c6c[_0x2c7102+0xb]]+Y[_0x365c6c[_0x2c7102+0xc]]+Y[_0x365c6c[_0x2c7102+0xd]]+Y[_0x365c6c[_0x2c7102+0xe]]+Y[_0x365c6c[_0x2c7102+0xf]])[_0x3f071e(0x4cc)]();}let ct;const En=new Uint8Array(0x10);function bn(){const _0x1bca0d=_0x1b4be4;if(!ct){if(typeof crypto>'u'||!crypto[_0x1bca0d(0x465)])throw new Error(_0x1bca0d(0x300));ct=crypto['getRandomValues']['bind'](crypto);}return ct(En);}const Tn=typeof crypto<'u'&&crypto[_0x1b4be4(0x43e)]&&crypto[_0x1b4be4(0x43e)][_0x1b4be4(0x3e5)](crypto),Ht={'randomUUID':Tn};function Rn(_0x4737a5,_0x3f1126,_0x37fc53){const _0x36b0a7=_0x1b4be4;if(Ht['randomUUID']&&!_0x3f1126&&!_0x4737a5)return Ht[_0x36b0a7(0x43e)]();_0x4737a5=_0x4737a5||{};const _0x11336f=_0x4737a5[_0x36b0a7(0x331)]||(_0x4737a5['rng']||bn)();return _0x11336f[0x6]=_0x11336f[0x6]&0xf|0x40,_0x11336f[0x8]=_0x11336f[0x8]&0x3f|0x80,Cn(_0x11336f);}var yn=Object[_0x1b4be4(0x3c9)],On=Object[_0x1b4be4(0x3c7)],Dn=(_0x4f7a89,_0x281cc1,_0xf031a5,_0x1a43fb)=>{const _0x36b103=_0x1b4be4;for(var _0x406b20=_0x1a43fb>0x1?void 0x0:_0x1a43fb?On(_0x281cc1,_0xf031a5):_0x281cc1,_0x190e24=_0x4f7a89[_0x36b103(0x1d6)]-0x1,_0x2e93d4;_0x190e24>=0x0;_0x190e24--)(_0x2e93d4=_0x4f7a89[_0x190e24])&&(_0x406b20=(_0x1a43fb?_0x2e93d4(_0x281cc1,_0xf031a5,_0x406b20):_0x2e93d4(_0x406b20))||_0x406b20);return _0x1a43fb&&_0x406b20&&yn(_0x281cc1,_0xf031a5,_0x406b20),_0x406b20;},lt=(_0x178391,_0x314f35)=>(_0x3ed579,_0x86626a)=>_0x314f35(_0x3ed579,_0x86626a,_0x178391);let Je=class{constructor(_0x3e657a,_0x5ea244,_0x851a37){const _0x5e6b71=_0x1b4be4;this[_0x5e6b71(0x232)]=_0x3e657a,this[_0x5e6b71(0x262)]=_0x5ea244,this['_renderManagerService']=_0x851a37;}[_0x1b4be4(0x200)](_0x4ac19a){const _0x12efbd=_0x1b4be4;this['_transformUndoRedoStack'](_0x4ac19a),this[_0x12efbd(0x593)](_0x4ac19a);}[_0x1b4be4(0x18d)](_0x24b25d){const _0xc9a19a=_0x1b4be4,{unitID:_0x2146a9}=_0x24b25d,_0x5e65bf=this['_renderManagerService'][_0xc9a19a(0x4e9)](_0x2146a9)['with'](J['DocIMEInputManagerService']),{redoCache:_0x346f0e}=_0x5e65bf[_0xc9a19a(0x44a)]();if(_0x346f0e[_0xc9a19a(0x1d6)]===0x0)return _0x24b25d;let _0x42721f=a['Tools'][_0xc9a19a(0x1c8)](_0x24b25d[_0xc9a19a(0x1ec)][0x0]);for(let _0x451404=0x0;_0x451404<_0x346f0e[_0xc9a19a(0x1d6)];_0x451404++){const _0x98f8b7={'id':_0xc9a19a(0x282),'params':{..._0x346f0e[_0x451404]}},_0x56496e=this[_0xc9a19a(0x262)][_0xc9a19a(0x5d5)](_0x42721f,_0x98f8b7,!0x1);if(m[_0xc9a19a(0x139)](_0x56496e))throw _0x56496e['error'];_0x42721f=_0x56496e[_0xc9a19a(0x4b3)];}return{...a['Tools'][_0xc9a19a(0x1c8)](_0x24b25d),'mutations':[_0x42721f]};}[_0x1b4be4(0x39e)](_0x2354c3){const _0xe3b3e2=_0x1b4be4,{unitID:_0x273929}=_0x2354c3,_0x2fe9cf=this[_0xe3b3e2(0x255)][_0xe3b3e2(0x4e9)](_0x273929)[_0xe3b3e2(0x1f0)](J[_0xe3b3e2(0x4ec)]),{undoCache:_0x1df256,redoCache:_0x46d887}=_0x2fe9cf['getUndoRedoMutationParamsCache']();if(_0x1df256[_0xe3b3e2(0x1d6)]===0x0||_0x46d887['length']===0x0)return;const _0x596ccc=[],_0x4f968e=[];let _0x25f293=a[_0xe3b3e2(0x59a)][_0xe3b3e2(0x1c8)](_0x2354c3['mutations'][0x0]),_0x3b028d=a[_0xe3b3e2(0x59a)][_0xe3b3e2(0x1c8)](_0x2354c3[_0xe3b3e2(0x1ec)][0x0]);for(let _0x5f1e7f=_0x1df256[_0xe3b3e2(0x1d6)]-0x1;_0x5f1e7f>=0x0;_0x5f1e7f--){const _0x545a78={'id':_0xe3b3e2(0x282),'params':{..._0x1df256[_0x5f1e7f]}},_0x414547={'id':_0xe3b3e2(0x282),'params':{..._0x46d887[_0x5f1e7f]}},_0x43d49b=this[_0xe3b3e2(0x262)][_0xe3b3e2(0x5d5)](_0x25f293,_0x545a78,!0x1),_0xab43cd=this[_0xe3b3e2(0x262)][_0xe3b3e2(0x5d5)](_0x3b028d,_0x414547,!0x1);if(m['isTransformMutationFailure'](_0x43d49b))throw _0x43d49b['error'];if(m[_0xe3b3e2(0x139)](_0xab43cd))throw _0xab43cd[_0xe3b3e2(0x218)];_0x596ccc[_0xe3b3e2(0x3f7)](_0x43d49b['m2Prime'][_0xe3b3e2(0x269)]),_0x4f968e['unshift'](_0xab43cd['m2Prime'][_0xe3b3e2(0x269)]),_0x25f293=_0x43d49b[_0xe3b3e2(0x4b3)],_0x3b028d=_0xab43cd[_0xe3b3e2(0x4b3)];}_0x2fe9cf[_0xe3b3e2(0x3b8)]({'undoCache':_0x596ccc,'redoCache':_0x4f968e});}[_0x1b4be4(0x593)](_0x546e9f){const _0x3464ea=_0x1b4be4,{unitID:_0x53aa55}=_0x546e9f,_0x11f03c=this[_0x3464ea(0x255)]['getRenderById'](_0x53aa55)[_0x3464ea(0x1f0)](J[_0x3464ea(0x4ec)]),_0x4b935b=_0x11f03c[_0x3464ea(0x249)]();if(_0x4b935b==null)return;const _0xa6a1d7=[{'id':_0x3464ea(0x282),'params':{'unitId':_0x546e9f[_0x3464ea(0x4c2)],'actions':null,'textRanges':[_0x4b935b]}}],_0x2e92b9=this[_0x3464ea(0x262)]['transformMutationsWithChangeset'](_0x546e9f,_0xa6a1d7);if(!m[_0x3464ea(0x1de)](_0x2e92b9))throw _0x2e92b9[_0x3464ea(0x218)];const _0x332b3f=_0x2e92b9['m2Prime'][0x0][_0x3464ea(0x269)][_0x3464ea(0x155)];Array[_0x3464ea(0x295)](_0x332b3f)&&_0x332b3f['length']&&_0x11f03c[_0x3464ea(0x3e9)](_0x332b3f[0x0]);}};Je=Dn([lt(0x0,a[_0x1b4be4(0x5da)](a[_0x1b4be4(0x3a0)])),lt(0x1,m[_0x1b4be4(0x1e1)]),lt(0x2,q['IRenderManagerService'])],Je);var Pn=Object['defineProperty'],wn=Object[_0x1b4be4(0x3c7)],Un=(_0x1445c9,_0xb9fc6c,_0x4eab24,_0x42f038)=>{const _0x5621d2=_0x1b4be4;for(var _0xdf10dc=_0x42f038>0x1?void 0x0:_0x42f038?wn(_0xb9fc6c,_0x4eab24):_0xb9fc6c,_0x168202=_0x1445c9[_0x5621d2(0x1d6)]-0x1,_0x146fc2;_0x168202>=0x0;_0x168202--)(_0x146fc2=_0x1445c9[_0x168202])&&(_0xdf10dc=(_0x42f038?_0x146fc2(_0xb9fc6c,_0x4eab24,_0xdf10dc):_0x146fc2(_0xdf10dc))||_0xdf10dc);return _0x42f038&&_0xdf10dc&&Pn(_0xb9fc6c,_0x4eab24,_0xdf10dc),_0xdf10dc;},Pe=(_0x3e9b26,_0x393fe0)=>(_0x34877b,_0x1a58a8)=>_0x393fe0(_0x34877b,_0x1a58a8,_0x3e9b26);exports['LocalCacheService']=class extends a[_0x1b4be4(0x3a8)]{constructor(_0x13c394,_0x467cc5,_0x4deac7,_0x3bf787,_0x42e0fb){const _0x26ead5=_0x1b4be4;super(),I(this,_0x26ead5(0x49f),new Map()),I(this,_0x26ead5(0x3dd),new Map()),I(this,_0x26ead5(0x47a),!0x1),(this[_0x26ead5(0x234)]=_0x13c394,this[_0x26ead5(0x29e)]=_0x467cc5,this['_beforeCloseService']=_0x4deac7,this[_0x26ead5(0x131)]=_0x3bf787,this[_0x26ead5(0x24e)]=_0x42e0fb,this[_0x26ead5(0x420)]());}[_0x1b4be4(0x3db)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x1a3008=_0x1b4be4;this[_0x1a3008(0x47a)]=!0x1;}['dispose'](){const _0x5bc715=_0x1b4be4;this[_0x5bc715(0x551)]()[_0x5bc715(0x561)](()=>super[_0x5bc715(0x576)]());}async['loadOfflineData'](_0x5ed321){const _0x6639bb=_0x1b4be4;return this[_0x6639bb(0x47a)]?null:this[_0x6639bb(0x29e)][_0x6639bb(0x583)](Bt(_0x5ed321));}async[_0x1b4be4(0x3da)](_0xa51f34,_0x4cd58e){const _0x3f3f4f=_0x1b4be4;return!!this[_0x3f3f4f(0x29e)][_0x3f3f4f(0x542)](_0xa51f34,_0x4cd58e);}['updateOfflineData'](_0x126716,_0x1e03b2,_0x2765f2,_0x5bb005){const _0x7386db=_0x1b4be4,_0xfdad59=this['_revisionService']['getCurrentRevOfUnit'](_0x126716);this[_0x7386db(0x49f)][_0x7386db(0x5c1)](_0x126716,{'unitID':_0x126716,'type':_0x1e03b2,'awaitingChangeset':_0x2765f2,'mutations':_0x5bb005,'rev':_0xfdad59}),this['_saveTaskMap'][_0x7386db(0x1b5)](_0x126716)||this[_0x7386db(0x592)](_0x126716);}[_0x1b4be4(0x592)](_0x577154){const _0x2159f2=_0x1b4be4,_0x402fad=this[_0x2159f2(0x51d)]();_0x402fad===0x0?this[_0x2159f2(0x4e1)](_0x577154):this[_0x2159f2(0x3dd)][_0x2159f2(0x5c1)](_0x577154,setTimeout(()=>this[_0x2159f2(0x4e1)](_0x577154),_0x402fad));}[_0x1b4be4(0x51d)](){const _0x5f287f=_0x1b4be4;var _0x4c4c33;return(_0x4c4c33=this[_0x5f287f(0x234)][_0x5f287f(0x2c9)](gi))!=null?_0x4c4c33:en;}['_saveCache'](_0x4c6060){const _0x461858=_0x1b4be4,_0x43f747=this[_0x461858(0x3dd)][_0x461858(0x35b)](_0x4c6060);return _0x43f747!==void 0x0&&window[_0x461858(0x1e9)](_0x43f747),this['_localStorageService']['setItem'](Bt(_0x4c6060),this[_0x461858(0x49f)][_0x461858(0x35b)](_0x4c6060))[_0x461858(0x561)](()=>this['_saveTaskMap']['delete'](_0x4c6060));}async[_0x1b4be4(0x551)](){const _0x570e9e=_0x1b4be4,_0x16545e=[];this[_0x570e9e(0x3dd)]['forEach']((_0xe4ed05,_0x3a9120)=>{const _0x1fb0cb=_0x570e9e;window[_0x1fb0cb(0x1e9)](_0xe4ed05),_0x16545e[_0x1fb0cb(0x284)](this[_0x1fb0cb(0x4e1)](_0x3a9120)[_0x1fb0cb(0x561)](()=>{const _0x47739f=_0x1fb0cb;this[_0x47739f(0x3dd)][_0x47739f(0x192)](_0x3a9120);}));}),await Promise[_0x570e9e(0x5ea)](_0x16545e);}[_0x1b4be4(0x420)](){const _0x506bfc=_0x1b4be4;this[_0x506bfc(0x424)](this[_0x506bfc(0x51c)][_0x506bfc(0x226)](()=>{const _0x5632df=_0x506bfc;if(this[_0x5632df(0x3dd)][_0x5632df(0x233)])return this[_0x5632df(0x131)]['t'](_0x5632df(0x5ce));}));}},exports[_0x1b4be4(0x3ec)]=Un([Pe(0x0,a[_0x1b4be4(0x2ec)]),Pe(0x1,a[_0x1b4be4(0x319)]),Pe(0x2,ee[_0x1b4be4(0x3c8)]),Pe(0x3,a['Inject'](a[_0x1b4be4(0x138)])),Pe(0x4,a[_0x1b4be4(0x5da)](m['RevisionService']))],exports[_0x1b4be4(0x3ec)]);function Bt(_0x3f0c7c){const _0x5724ea=_0x1b4be4;return _0x5724ea(0x2a9)+_0x3f0c7c;}function _0x3362(){const _0x1aef9d=['420036CXyNnE','application/json','_oKey','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','name','on-line-single','randomUUID','awaiting_with_pending','csRejEvent','_retryCount','onTransformSelections','_onRemoteRetry','localeService','react.element','onPointerMove$','AWAITING_WITH_PENDING','SEND_CHANGESET_TIMEOUT_KEY','decrypt','getUndoRedoMutationParamsCache','getColor','userID','ENSURE_SNAPSHOT_EXECUTION','image/gif','/universer-api/authz','history','auth.needGotoLoginAlert','incrementRevOfUnit','max','Undefined','PENDING','sendChangesetTimeout','collabSubmitChangesetUrl','Base64','__esModule','collabStatus.conflict','subunit','_toggleOffline','_sendingTimer','_nDataBytes','SHA1','collabWebSocketUrl','fetchMiss','rxjs','rev','data','getRandomValues','OFFLINE','CommandType','_onCursorDelete','\x20to\x20','find','_members','CompressMutationService','debounceTime','_collaborationController','actions','error$','_univerInstanceService','RxDisposable','collaboration_new_changeset','_xformMode','_getSessionTicket','fetchMissingChangesets','_scheduleClearOtherTimer','INVALID_ARGUMENT','_onRemoteRejected','_disabled','_hideTimer','hasOwnProperty','Unknown\x20user','SnapshotServerOverHTTPService','JOIN_ROOM_FULL','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','SheetsSelectionsService','getStateCache','liveShareNewHost','listCollaborators','CollaborationEntity','CHANGESET_ACK','slice','LOCAL_CACHE_INTERVAL','_collabCursorState$','UNKNOWN_CODE','ERROR_IMAGE','code','_range','InsertRangeMoveRightCommandId','_doReset','_loadSheet','ciphertext','_keySchedule','VIEW_MAIN','_socket','[CollaborationUndoRedoService]','@univerjs/docs','IImageIoService','Univer','substr','getMergeData','_ws','univer-online-status','state','CHANGESET_SHOULD_RETRY','_cachedData','fetch_missing','_roomMembers','collabCursorState$','setShapeProps','rxjs/operators','loadSheet','target','_minBufferSize','executeCommand','_clearScheduledTask','LIVESHARE_TERMINATE','_listenToOnlineEvent','_commentUpdate$','c1Prime','_anchorDot','extend','_sessionStatus$','1891698fvZKXm','_unlockTransition','m1Prime','socketService','HttpImport','json','imageSourceType','onPointerEnter$','onPointerLeave$','message$','CollaborationSessionService','displayName','_socket$','_docTransformStateCacheService','YUUMI_SUBSCRIPTION_NOT_FOUND','_tryEnsureSocket','toggleOnline','unitID','collab-text-anchor-','_clearUndo','_permissionService','unpad','getCurrentRevOfUnit','clearInterval','LIVESHARE_OPERATION','_transformHistoryAndStateStack','textEncoder','toLowerCase','joinRsp','roomInfos','_queuedRemoteChangesets','onTransformChange$','TOO_MANY_REQUESTS','subUnitId','registerRenderModule','_entityInit$','CHANGESET_REVISION_CONFILICT','_telemetryService','HEARTBEAT_TIMEOUT_KEY','removeParam','height','serializeRangeWithSheet','put','onReady','updatePermissionPoint','UPDATE_PERMISSION_OBJ','wsSessionTicketUrl','OTHER_CLIENTS_EDITING','_saveCache','ISnapshotServerService','UNIVER_COLLABORATION_CLIENT_PLUGIN','_drawRectRange','getTypeOfUnitAdded$','_telemetryInfo','RECT','onload','getRenderById','@univerjs/engine-formula','_render','DocIMEInputManagerService','msCrypto','origin','originalMeta','Plugin','UPDATE_CURSOR','collabStatus.synced','[PendingState]:\x20received\x20rejection.','removeMember','CONFLICT','BlockCipher','svg','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','SheetCollabCursorShape','revision','__Key__','_initCommandExecutedListener','IAuthzIoService','_logService','Decryptor','_iKey','_docClipboardService','collaborators','_themeService','useRef','commentUpdate$','purple300','@univerjs-pro/collaboration','_socketMessageSubscription','ILogService','conflict.title','blockSize','COMPRESS_MUTATION_APPLY','override','CipherParams','verdancy600','InsertSheetMutation','HEARTBEAT','symbol','_acknowledgedAwaitingChangeset','editing\x20status\x20changed\x20to','_httpService','fetchThroughInterceptors','useObservable','_roomMembers$','url','splice','storage','_beforeCloseService','_getSaveTimeout','getValue','RemoveRowCommandId','_createSocket','hidden','_scene','RECV','react.fragment','requireSession','UNIVER_UNKNOWN','_timeoutTimer','_color','_updateSubUnitFromURLParams','collaMsg','getActiveSheet','updatePermissionObjEvent','objectType','SessionStatus','_getRedoStack','SetWorksheetActivateCommand','/block/','getFocusedUnit','conflict.content','_docTransformIMECacheService','hasher','_eventUnsubscribe','onSyncEditingCollabCursor','univer-online-status-title','AES','handleDeleteRangeMoveLeft','_transformSelections','DocStateChangeManagerService','engine','show','signUrlServerUrl','registerComponent','YUUMI_RATE_OVER_LIMIT','setItem','RichTextEditingMutation','handleInsertRow','putCollaborators','_urlService','list','onlineStatusTitle','getOwnPropertySymbols','fillText','off-line-single_clip0_910_343','_initStatusComponent','_drawAnchor','m2Prime','eventID','WorkbookEditablePermission','exhaustSavingTask','SetDocZoomRatioOperation','defIds','onlineStatusIcon','_id','_onConflict','_initResize','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','subscribe','transformSelections','onRendered','moveTo','IMentionIOService','useDependency','[CollaborationEntity]','COLLAB_SUBMIT_CHANGESET_URL_KEY','then','substring','_onRefRangeChange','848403ugJHhr','gold400','every','_disableEditing','children','[OfflineState]:\x20received\x20changeset.','UniverIcon','IPermissionService','getCollabEntity$','url(#off-line-single_clip0_910_343)','fromEvent','_onMessage','_instanceService','_createInitialStateImpl','enableAuthServer','HmacMD5','StreamCipher','selection','dispose','UniverInstanceType','copyFileMeta','enableSingleActiveInstanceLock','startsWith','?url=','_getSnapshotAPIPrefix','_event$','save','HELLO','_memberService','asObservable','_change$','getItem','duration','_userManagerService','getUnhiddenWorksheets','/role','close','DesktopCollaborationStatusDisplayController','idSuffix','_unitStatus','_clearCollaborationTimeoutTimer','switchMap','isPermissionRej','ICommandService','_cursorInfo$','newCsEvent','_scheduleSaving','_transformPreviousActiveRange','distinctUntilChanged','UniverCollaborationClientPlugin','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','algo','ref','saveSheetBlock','Tools','setShowComponents','_invKeySchedule','collaboration-client.config','_lastPointer','_sessions','capture','getTypeOfUnitDisposed$','findNodePositionByCharIndex','floor','_doFinalize','createDecryptor','compute','_changesetSessionId','black','getCollabCursors$','offline','_createHelper','_state$','onMouseMove','APPLY_PERMISSION_DENIED','init','_onRecvEvent','UNIVER_SHEET','Workbook','_substituteRedoStack','redoState','resolve','getRangePointData','reconnect','_resendWithTimeout','unknown','DeleteRangeMoveLeftCommandId','DocCollaborationEntity','c2Prime','toggleOffline','onCommandExecuted','setConfig','21XUcXJd','set','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_startSheetCollabCursor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UNIVER_SLIDE','FromArray','transform','defs','_awaitingChangeset','kdf','COLORS','width','setWaitCount','collaboration-client.offline-data-not-saved','isActive','APPLY_REJECT','_onRemoteACK','_process','unitId','_getSendChangesetTimeout','transformMutation','handleIRemoveCol','COLLAB_CLIENT_CONFIG_KEY','_send','_updateLocalCache','Inject','_startCollaboration','/object','synced','div','onStateChange','_data','min','words','collab-client.tooltip.reconnect','IUniverInstanceService','FAIL','fill','_resendTimer','ReplaySubject','ERROR_EXCEED_SIZE','all','SNAPSHOT_HAS_BEEN_REMOVED','refreshPermission','/allowed','IContextService','_collabCursorController','_initDependencies','_map','_transformStateCache','\x20in\x20_schedule.','_getDownloadEndpointURL','_socketService','loadOfflineData','text','_sendHeartbeat','telemetry\x20info\x20is\x20not\x20initialized','[PendingState]:\x20unhandled\x20univer\x20type:\x20','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','_startDocCollabCursor','_singleActiveUnitService','[UniverCollaborationClientPlugin]','session','number','_syncEditingCollabCursor','_removeRoom','clipPath','BASE64','createCollaborator','toDisposable','_localeService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getUnitId','hovered','ceil','joinEvent','translate(.97)','LocaleService','isTransformMutationFailure','_colorAssignService','_tryReconnect','failed\x20to\x20apply\x20missed\x20changesets!','encrypt','none','[OfflineState]:\x20received\x20acknowledgement.','UnitSnapshot','_hash','19566tJmAZR','assign','LOCAL_CACHE_INTERVAL_KEY','Pkcs7','_updateCollabCursors','roomMembers','Fragment','OffLineSingle','getAllMembers','COLLAB_WEB_SOCKET_URL','onTransformRemoteChangesetByIMECache','className','onTransformIME','_getAnchorBounding','_getCtorByUniverType','toRgbString','_applyRemoteChangeset','univer-offline','DEFAULT_FILE_NAME','textRanges','_createInitialState','collaboratorID','NodePositionConvertToRectRange','getAncestorScale','JOIN','iterations','currentTheme$','contains','members','triggerDblclick','PERMISSION_DENIED','Error','clear','ONLINE','online','entries','split','Malformed\x20UTF-8\x20data','now','complete','selections','8obWNcc','location','_changesetReqId','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','_listenToOfflineEvent','_iv','ranges','retryConnectingInterval','LEAVE','getOffsetConfig','enc','randomBytes','_waitCount','subscribeEvent','_hovered','skeleton','_hover','LOGIN_URL_KEY','handleInsertRangeMoveDown','reduce','univer-pro.collaboration-client.single-active-unit-service','urlChange$','confirm','IMessageService','NOT_COLLAB','_online','Hex','[DataLoaderController]','BuiltInUIPart','registerHTTPInterceptor','path','HEADER_MENU','CollaborationStatusDisplay','_session','transformRemoteChangeset','_snapshotServerService','_backgroundColor','endRow','transformUndoRedo','delete','collaboration.closeRoom','parse','addEventListener','FETCH_MISS','updateMember','_unitOnClients','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_sendHeartbeatTimer','getDocRanges','_document','_initCloseConn','keySize','setInterval','repeat','uploadFileServerUrl','isTransformChangesetsSuccess','Subject','requestParams','Encryptor','from','body','unsubscribe','font','createElement','values','Warning','_getAPIPrefix','LIVESHARE_REQUEST_HOST','_docSkeletonManagerService','getUnitStatus$','FETCH_MISSING','_http','_transformUndoredo','on-line-single_clip0_910_349','has','reset','beginPath','_waitForHeartbeatResponse','DocSkeletonManagerService','measureText','onMissingChangesets','submit\x20changeset\x20error!','fillRule','_ENC_XFORM_MODE','cmd','_getUploadFileURL','_textBubble','restore','evenodd','currentColor','catch','SNAPSHOT_URL_KEY','ERROR_IMAGE_TYPE','deepClone','_transformStack','buffer','UNIVER_PROJECT','/rev/','_rescheduleHeartbeat','0\x200\x2017\x2016','cursorInfo','sessionTicket','toString','PSEUDO_FETCH_MISSING_RESULT','...','title','DisposableCollection','length','roomMembers$','AUTHZ_URL_KEY','/universer-api/comb','action','includes','avatar','collab-rect-range-','isTransformMutationsWithChangesetSuccess','_drawTextRange','getTime','ITransformService','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','{fileID}','socket\x20close','encode','_initUnitPermissionChange','_onUserJoin','EvpKDF','clearTimeout','runRefRangeMutations','SEND_CHANGESET_TIMEOUT','mutations','DeleteRangeMoveUpCommandId','cursorInfo$','@univerjs/ui','with','_HTTPService','parseChangesetToProtocol','endColumn','_clearTimeoutTimer','Hasher','registerOnClose','_submitChangeset','_showConflictNotification','@univerjs/sheets','cfg','_onOffline','?size=','_collabSessionService','propertyIsEnumerable','_handleHeartbeatEvent','transformIMECache','fromCharCode','formatter','reqId','_docStateChangeManagerService','HMAC','EffectRefRangId','\x0aAfter:\x20','labelPosition','fromEventSubject','responseType','_startTelemetryCollaborationNewChangeset','_type','getInterceptPoints','collaboration.single-unit.warning','_onCombEvent','getUnitType','save\x20fail\x20reason\x20is\x20','_parse','replaceDocRanges','_exhaustRemoteChangesetQueue','POST','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','@univerjs/rpc','error','NOT_FOUND','SNAPSHOT_SERVER_URL_KEY','_keyPriorReset','_updateURLWithCurrentState','hide','_transformIMECache','NoPadding','updateOfflineData','stopTime','debounce','_reverseMap','mode','appendMutation','registerBeforeClose','changesets','_doProcessBlock','TEXT','rgba(255,\x20255,\x20255,\x200.01)','Shape','onTransformState','DocSelectionManagerService','_onFetchMissResult','getUniverSheetInstance','reject','onCommentUpdate','_injector','size','_configService','/unit/','setParam','SheetPermissionInitController','undoState','_onJoinRoomEvent','_substituteUndoStack','icon','_getLoginPath','lib','resize','onRemoteAck','editingUnit','_replaceFileID','update','encryptBlock','SNAPSHOT_INVALID_SNAPSHOT','/universer-api/oidc/authpage','call','src','_undoRedoService','getActiveRange','ThemeService','compose','round','connectInjector','_revisionService','jiqing500','_getAPIPrefixPath','1em','searchParams','$super','createIdentifier','_renderManagerService','sin','top','next','Rect','_getScale','objectActions','M0\x200H16V16H0z','_loadDoc','row','workbook','ALREADY_EXISTS','_lockTransition','_transformService','snapshotServerUrl','socket\x20open.','LICENSE_IMPORT_SIZE_EXCEEDED','AWAITING','/-/object/-/batch_allowed','COMMENT_UPDATE','params','getMember','_incrementRevisionNumber','_clearLocalCache','subject','_scheduleCollaborationTimeoutTimer','_transformRemoteChangesetByStateCache','Could\x20not\x20dynamically\x20require\x20\x22','2091588QkNnkl','_syncEditingCollabCursorService','takeUntil','_transformRemoteChangesetByIMECache','setAlpha','CollaborationSession','onlyLocal','getCurrentUser','docStateChange$','_labelPosition','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','newValue','/collaborator','_initStatusListener','_cursor','replace','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','doc.mutation.rich-text-editing','_isPermissionRej','push','MentionType','syncEditingCollabCursor','loadDoc','_onConnectionOpen','CollaborationEvent','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','create','_draw','addObject','concat','BehaviorSubject','mergeOverrideWithDependencies','univer-online','@univerjs/engine-render','_initEventListeners','apply','isArray','forwardRef','attrs','Base','ColorKit','LICENSE_DISTRO_REJECTED','currentSkeleton$','colorChannel1','sessionStatus$','_localStorageService','_toggleOnline','_refreshCollabCursors','univer-pro.collaboration-client-socket-service','@univerjs/docs-ui','enableOfflineEditing','HEARTBEAT_TIMEOUT','_pendingMutations','processBlock','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','MessageType','unit-cache-','_sender','mapDocumentTypeToUniverType','_imageSourceCache','_handleLeaveEvent','sheetId','/new_changes','function','_resendTimeout','@univerjs/design','/-/object/list','WebURLService','_getMergeRange','debug','SetTextSelectionsOperation','NEW_CHANGESETS','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','UNDEFINED','activeSheet$','getSheetObject','_updateStatus','COMPLETION_FINISHED','getSkeleton','[FetchMissState]','_sheetTransformSelectionsService','pauseCollaboration','_handleHover','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','createInstance','_scheduleHeartbeat','post','getCollabEntity','getConfig','unit','deserializeRangeWithSheet','CONNECTOR_DATA_TOO_LARGE','UnitEmbedded','addObjects','ThresholdInterceptorFactory','COLLAB_WEB_SOCKET_URL_KEY','_doCryptBlock','ImageIoService','IDocClipboardService','IRenderManagerService','_shapes','_imageIoService','_localCacheService','drawWith','APPLY_REVISION_CONFILICT','session.connection-failed','pending','Cipher','_schedule','RevisionService','startColumn','indexOf','IRemoteInstanceService','_compressMutationService','sigBytes','loginUrlKey','APPLY_NON_SEQUENTIAL_REVISION','unload','getSheetBySheetId','collabStatus.offline','YUUMI_UNABLE_LOAD_URL','lineTo','sessionStatus','IConfigService','commentUpdateEvent','MUTATION','Utf8','decryptBlock','getCoordByCell','initWorkbookPermissionChange','status$','conflict','collaboration-session-retry','startRow','salt','_ensureSubject','ImageUploadStatusType','_nRounds','_name','routeKey','shareReplay','LIVESHARE_NEW_HOST','finalize','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_docSyncEditingCollabCursorService','OnLineSingle','collabStatus.notCollab','trim','onRemoteChangeset','_refRangeService','collabStatus.syncing','JOIN_ROOM_NOT_ALLOWED','WordArray','WebSocketService','NO_OTHER_CLIENTS_EDITING','xlink:href','visibilitychange','uni.network.url-service','_snapshotService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','assignAColorForMemberID','batchAllowed','throttleTime','_onConnectionFailed','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','filter','crypto','[CollaborationState]:\x20apply\x20error!','ILocalStorageService','USERS_LEAVE','INotificationService','APPLY_DUPLICATED','clone','INGEST','univerjs-icon\x20univerjs-icon-','_scheduleTimestamp','_checkMissing','tag','key','_collaborationPaused','href','IDLE','_status$','csShouldRetryEvent','baseRev','PERMISSION_REJ','_assignedColors','string','[OfflineState]:\x20received\x20rejection.','MD5','interceptor','parseProtocolChangeset','random','[CollaborationSessionService]','PERSON','useCallback','byteLength','type','shouldCloseConn','backgroundColor','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','onlineStatus','authzUrl','execute','pipe','/object/','/universer-api/user/session-ticket','IUIPartsService','_updateState','map','fromCollab','withCredentials','reverse','combineLatest','getImage','YUUMI_URL_COL_OUT_OF_RANGE','_onRemoteChangeset','getResourcesRequest','connection\x20error','range','not_collab','encodeURIComponent','_remoteChangesetQueue','_sheetSkeletonManagerService','merge','status','awaiting','UUID','add','_stopTelemetryCollaborationNewChangeset','memberID','take','_anchor','SUBMIT_CHANGESET','get','change$','_onLocalMutation','permission.title','event$','EXCHANGE_SIGN_URL_SERVER_URL_KEY','touchDependencies','mapTo','2572735BbDXew','updateCollaborator','_heartbeatTimer','replaceState','b64DecodeUnicode','_colorIndex','Rectangle','_selfUnitIDs','MentionIoHttpService','bottom','collab-text-range-','_removeClearOtherTimer','sid','pad','_messageService','dispose$','getRelativeToViewportCoord','CollaborationSocketService','[CollaborationSessionService]:\x20socket\x20error','charAt','padding','_shouldReportTelemetry','MSG_FOR_ERROR','RegularPolygon','_handler','handleMoveRange','join','SHOULD_CLOSE_CONN','_createHmacHelper','makeDirty','ImageSourceType','IURLService','LIVESHARE_FETCH_OPERATIONS','x-univer-host','liveShareOperation','CHANGESET_REJ','clamp','_joinRoom','_notificationService','setStateCache','visibilityState','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','_commentService','UserManagerService','Error\x20on\x20receiving\x20event','createSocket','result','getLatestCsReqIdBySid','image/jpg','_state','focused$','handleIRemoveRow','stringify','ReactCurrentOwner','mixIn','onRemoteRej','/universer-api/file/{fileID}/sign-url','_replayCachedMutations','updateCursorEvent','_transformUndoRedoStack','_append','Injector','TEXT_RANGE_LAYER_INDEX','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','getSheetId','_cipher','@univerjs/network','_getCurrentRevision','_commandService','Disposable','isEditing','HTTPService','Optional','IUndoRedoService','_executeRemoteChangeset','_getSignURL','getMemberID','COLLAB_SUBMIT_CHANGESET_URL','_onUserLeave','close$','arc','_removeCollabCursors','INTERNAL_ERROR','transformChangesets','1007016thPQFW','setUndoRedoMutationParamsCache','isInternalEditorID','_transitionLocked','transformStateCache','_initMergeInterceptor','getSheetBlock','onRemoteRetry','generateRandomId','some','HttpExport','_clearHeartbeatTimer','saveImage','url(#$1','use','_retryConnectingTimer','getOwnPropertyDescriptor','IBeforeCloseService','defineProperty','_unitID','getUnitOnRev','_prevBlock','pushState','UNRECOGNIZED','_cursorShapes','disposeUnit','_socketReady','_candidateSocket','onMissedChangesetFetched','CollaborationController','flatMap','/fetchmissing?from=','AuthzIoHttpService','_uiPartsService','_context','saveOfflineData','disableLocalCache','#fff','_saveTaskMap','COMPRESS_MUTATION_SEND','_collaborationTimeoutTimer','_onCursorUpdate','color','SheetCollaborationEntity','setCurrentUser','saveSnapshot','bind','headers','blue400','_entities','setActiveRange','closeSession','_collaborationSessionService','LocalCacheService','_getUndoStack','forEach','onTransformRemoteChangesetByStateCache','allowed','_getSheetObject','Module','Vector2','setTimeout','_cursors','SYNCED','unshift','resend','onSendChangeset','/universer-api/snapshot','getCurrentSelections','ACTIVE_UNIT_EVENT_CHANNEL','DOC_RANGE_TYPE','USERS_ENTER','DataLoaderController','_handleEvent','defaultProps','patch','_createHandler','closePath','permissionRejEvent','charCodeAt','image/bmp','_updateLocalCursor','transformMutationsWithChangeset','getUnit','column','UNAUTHENTICATED','registerRefRange','_throwTelemetryCollaborationNewChangeset','state$','/universer-api/snapshot/','getParam','exports','_clearRedo','_config','byteOffset','prototype','isTransformMutationsWithChangesetFailure','_initRequestHeader','session.collaboration-timeout','_clearOtherTimers','__creator','format','_registerRenderDependencies','MemberService','_handleJoinEvent','_setupBeforeClosingHandler','_init','InsertRowCommandId','_decreaseWaiting','disposeWithMe','awaitingChangeset','listRoles','image/jpeg','jsx','sequenceExecute','_key','_hasher','deleteCollaborator','createEncryptor','objectID','session.room-full','send','_fetchMissChangesets','SetSelectionsOperation','HTTPRequest','roles','UNIVER_DOC','ws://127.0.0.1:8000/universer-api/comb/connect','_mode'];_0x3362=function(){return _0x1aef9d;};return _0x3362();}var Mn=Object['defineProperty'],An=Object[_0x1b4be4(0x3c7)],Nn=(_0x530f10,_0x14dc52,_0x3f1c96,_0x2f7bd4)=>{const _0x5bf688=_0x1b4be4;for(var _0x3e274c=_0x2f7bd4>0x1?void 0x0:_0x2f7bd4?An(_0x14dc52,_0x3f1c96):_0x14dc52,_0x5d6dcb=_0x530f10[_0x5bf688(0x1d6)]-0x1,_0x5427e2;_0x5d6dcb>=0x0;_0x5d6dcb--)(_0x5427e2=_0x530f10[_0x5d6dcb])&&(_0x3e274c=(_0x2f7bd4?_0x5427e2(_0x14dc52,_0x3f1c96,_0x3e274c):_0x5427e2(_0x3e274c))||_0x3e274c);return _0x2f7bd4&&_0x3e274c&&Mn(_0x14dc52,_0x3f1c96,_0x3e274c),_0x3e274c;},ht=(_0x168937,_0x5cb6fe)=>(_0x8d7db9,_0x41c062)=>_0x5cb6fe(_0x8d7db9,_0x41c062,_0x168937);function Ln(_0x19762b){const _0x5343fb=_0x1b4be4,{unitID:_0x315d48,mutations:_0x560e61}=_0x19762b;return{'unitId':_0x315d48,'subUnitId':_0x560e61[0x0][_0x5343fb(0x269)][_0x5343fb(0x4d2)]};}let Ze=class{constructor(_0x2a4371,_0x560066,_0xf2835d){const _0x2acf50=_0x1b4be4;this['_injector']=_0x2a4371,this[_0x2acf50(0x262)]=_0x560066,this[_0x2acf50(0x570)]=_0xf2835d;}[_0x1b4be4(0x55a)](_0x50f48f){const _0x2be99d=_0x1b4be4;var _0x32d010,_0x2f7f2f,_0x1e22a0,_0x25ed6f;const _0x5d545b=this[_0x2be99d(0x232)]['get'](k[_0x2be99d(0x481)]),{unitId:_0x8e7083,subUnitId:_0x4f8e13}=Ln(_0x50f48f),_0x1f7bec=_0x5d545b['getWorkbookSelections'](_0x8e7083)[_0x2be99d(0x3fb)](),_0x4d9597=(_0x2f7f2f=(_0x32d010=this[_0x2be99d(0x570)][_0x2be99d(0x40a)](_0x8e7083))==null?void 0x0:_0x32d010[_0x2be99d(0x52b)]())==null?void 0x0:_0x2f7f2f[_0x2be99d(0x3a3)]();if(_0x1f7bec[_0x2be99d(0x1d6)]===0x0||!_0x8e7083||!_0x4f8e13)return;const _0x3ef690=[{'id':k[_0x2be99d(0x432)]['id'],'params':{'unitId':_0x8e7083,'subUnitId':_0x4d9597,'selections':a[_0x2be99d(0x59a)][_0x2be99d(0x1c8)](_0x1f7bec)}}],_0x4e5deb=this[_0x2be99d(0x262)][_0x2be99d(0x409)](_0x50f48f,_0x3ef690);if(!m[_0x2be99d(0x1de)](_0x4e5deb))throw _0x4e5deb[_0x2be99d(0x218)];const _0x55a25d=(_0x25ed6f=(_0x1e22a0=_0x4e5deb['m2Prime'][0x0])==null?void 0x0:_0x1e22a0[_0x2be99d(0x269)])==null?void 0x0:_0x25ed6f['selections'];if(Array[_0x2be99d(0x295)](_0x55a25d)&&_0x55a25d['length']){if(_0x55a25d['length']===_0x3ef690[0x0]['params'][_0x2be99d(0x16a)][_0x2be99d(0x1d6)]&&_0x55a25d[_0x2be99d(0x566)]((_0x54e35f,_0x9e1b30)=>a[_0x2be99d(0x369)]['equals'](_0x54e35f[_0x2be99d(0x34c)],_0x3ef690[0x0][_0x2be99d(0x269)][_0x2be99d(0x16a)][_0x9e1b30][_0x2be99d(0x34c)])))return;this[_0x2be99d(0x232)][_0x2be99d(0x35b)](a[_0x2be99d(0x58f)])[_0x2be99d(0x4a8)](k[_0x2be99d(0x432)]['id'],{'unitId':_0x8e7083,'subUnitId':_0x4d9597,'selections':_0x55a25d});}}};Ze=Nn([ht(0x0,a[_0x1b4be4(0x5da)](a['Injector'])),ht(0x1,m[_0x1b4be4(0x1e1)]),ht(0x2,a[_0x1b4be4(0x5e4)])],Ze);const ot=a[_0x1b4be4(0x254)](_0x1b4be4(0x17f));var yi=(_0x2cca64=>(_0x2cca64[_0x2cca64[_0x1b4be4(0x30b)]=0x0]=_0x1b4be4(0x30b),_0x2cca64[_0x2cca64[_0x1b4be4(0x4e0)]=0x1]='OTHER_CLIENTS_EDITING',_0x2cca64))(yi||{});const kt=0x7530,Wt=_0x1b4be4(0x3fc);class xn extends a['Disposable']{constructor(){const _0x2bcee0=_0x1b4be4;super(),I(this,'_id',a[_0x2bcee0(0x59a)][_0x2bcee0(0x3bf)]()),I(this,_0x2bcee0(0x36a),new Set()),I(this,'_unitOnClients',new Map()),I(this,_0x2bcee0(0x365),null),I(this,_0x2bcee0(0x41a),new Map()),I(this,_0x2bcee0(0x58b),new Map()),this[_0x2bcee0(0x421)]();}[_0x1b4be4(0x576)](){const _0x5c4907=_0x1b4be4;super['dispose'](),this[_0x5c4907(0x41a)]['forEach']((_0x55b184,_0x1be223)=>this[_0x5c4907(0x36e)](_0x1be223)),this[_0x5c4907(0x365)]&&window[_0x5c4907(0x4c8)](this[_0x5c4907(0x365)]);}[_0x1b4be4(0x1b0)](_0x4b9d99){const _0x3c3351=_0x1b4be4;return this[_0x3c3351(0x2f8)](_0x4b9d99)[_0x3c3351(0x33d)](A[_0x3c3351(0x594)]());}[_0x1b4be4(0x240)](_0x10bcb8){const _0x550e9e=_0x1b4be4;this[_0x550e9e(0x36a)][_0x550e9e(0x233)]===0x0&&this[_0x550e9e(0x2c6)](),this['_selfUnitIDs'][_0x550e9e(0x355)](_0x10bcb8),this[_0x550e9e(0x5d8)]({'type':0x0,'memberID':this[_0x550e9e(0x555)],'unitIDs':[_0x10bcb8],'isForwarded':!0x1});}[_0x1b4be4(0x3d0)](_0x2e37f5){const _0x199a31=_0x1b4be4;this[_0x199a31(0x36a)]['delete'](_0x2e37f5),this[_0x199a31(0x36a)][_0x199a31(0x233)]===0x0&&this['_heartbeatTimer']&&window[_0x199a31(0x4c8)](this[_0x199a31(0x365)]);}[_0x1b4be4(0x421)](){const _0x46a314=_0x1b4be4;this[_0x46a314(0x424)](a[_0x46a314(0x130)](A[_0x46a314(0x56e)](window,_0x46a314(0x51b))[_0x46a314(0x559)](_0x135a51=>{const _0x17ecde=_0x46a314;if(_0x135a51[_0x17ecde(0x323)]!==Wt||!_0x135a51[_0x17ecde(0x27c)])return;const _0x121b3d=JSON[_0x17ecde(0x194)](_0x135a51['newValue']);this[_0x17ecde(0x400)](_0x121b3d);}))),window[_0x46a314(0x195)](_0x46a314(0x2e6),()=>this[_0x46a314(0x5d8)]({'type':0x1,'memberID':this[_0x46a314(0x555)],'unitIDs':Array[_0x46a314(0x1a6)](this[_0x46a314(0x36a)])}));}[_0x1b4be4(0x400)](_0x32b0cb){const _0x186951=_0x1b4be4;switch(_0x32b0cb[_0x186951(0x336)]){case 0x0:this[_0x186951(0x41f)](_0x32b0cb);break;case 0x1:this[_0x186951(0x2ad)](_0x32b0cb);break;case 0x2:this[_0x186951(0x1ff)](_0x32b0cb);break;}}[_0x1b4be4(0x41f)](_0x427148){const _0x39c778=_0x1b4be4,{unitIDs:_0x590c02,memberID:_0x3116b6,isForwarded:_0x10aac5}=_0x427148;_0x590c02[_0x39c778(0x3ee)](_0x5bc298=>{const _0x36c7ae=_0x39c778;if(!_0x10aac5&&this[_0x36c7ae(0x198)][_0x36c7ae(0x1b5)](_0x5bc298)&&this['_ensureSubject'](_0x5bc298)[_0x36c7ae(0x258)](0x1),!this[_0x36c7ae(0x198)]['has'](_0x5bc298)||!this[_0x36c7ae(0x198)][_0x36c7ae(0x35b)](_0x5bc298)[_0x36c7ae(0x1b5)](_0x3116b6)){const _0x9908c1=this[_0x36c7ae(0x198)][_0x36c7ae(0x35b)](_0x5bc298)||new Set();_0x9908c1[_0x36c7ae(0x355)](_0x3116b6),this['_unitOnClients'][_0x36c7ae(0x5c1)](_0x5bc298,_0x9908c1),this[_0x36c7ae(0x477)](_0x3116b6);}}),_0x10aac5||this[_0x39c778(0x5d8)]({'type':0x0,'memberID':this[_0x39c778(0x555)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x1b4be4(0x477)](_0x545c47){const _0x3e61d7=_0x1b4be4;this[_0x3e61d7(0x36e)](_0x545c47);const _0x547553=window[_0x3e61d7(0x3f4)](()=>{const _0x17774d=_0x3e61d7;this[_0x17774d(0x198)][_0x17774d(0x3ee)](_0x25a364=>{const _0xcafd6f=_0x17774d;_0x25a364[_0xcafd6f(0x192)](_0x545c47);});},kt*0x2);this[_0x3e61d7(0x41a)][_0x3e61d7(0x5c1)](_0x545c47,_0x547553);}[_0x1b4be4(0x36e)](_0x5e89e3){const _0x22fe8c=_0x1b4be4;if(this['_clearOtherTimers'][_0x22fe8c(0x1b5)](_0x5e89e3)){const _0x14400b=this['_clearOtherTimers'][_0x22fe8c(0x35b)](_0x5e89e3);_0x14400b&&window['clearTimeout'](_0x14400b),this[_0x22fe8c(0x41a)][_0x22fe8c(0x5c1)](_0x5e89e3,null);}}['_handleLeaveEvent'](_0x1780c0){const _0x1e9df5=_0x1b4be4,{memberID:_0x11ace6,unitIDs:_0x3d491a}=_0x1780c0;_0x3d491a['forEach'](_0xbd76be=>{const _0x16fb03=_0x446a;var _0x31f710;const _0x63d7f9=this['_unitOnClients']['get'](_0xbd76be);_0x63d7f9&&(_0x63d7f9[_0x16fb03(0x192)](_0x11ace6),(_0x31f710=this[_0x16fb03(0x2f8)](_0xbd76be))==null||_0x31f710['next'](_0x63d7f9['size']===0x0?0x0:0x1));}),this[_0x1e9df5(0x36e)](_0x11ace6);}[_0x1b4be4(0x1ff)](_0x2e1104){this['_scheduleClearOtherTimer'](_0x2e1104['memberID']);}[_0x1b4be4(0x5d8)](_0x5be44f){const _0x171387=_0x1b4be4;localStorage[_0x171387(0x542)](Wt,JSON['stringify'](_0x5be44f));}[_0x1b4be4(0x2c6)](){const _0x1379a8=_0x1b4be4;this[_0x1379a8(0x365)]=window[_0x1379a8(0x19f)](()=>{const _0x2ffe71=_0x1379a8;this[_0x2ffe71(0x5d8)]({'type':0x2,'memberID':this['_id']});},kt);}[_0x1b4be4(0x2f8)](_0x217ae8){const _0xbb73ca=_0x1b4be4;return this[_0xbb73ca(0x58b)][_0xbb73ca(0x1b5)](_0x217ae8)||this[_0xbb73ca(0x58b)][_0xbb73ca(0x5c1)](_0x217ae8,new A[(_0xbb73ca(0x28f))](0x0)),this['_unitStatus'][_0xbb73ca(0x35b)](_0x217ae8);}}var $n=Object[_0x1b4be4(0x3c9)],jn=Object[_0x1b4be4(0x3c7)],Hn=(_0x4c86f1,_0x48e1db,_0x15e603,_0x2bd3c0)=>{const _0x1964dd=_0x1b4be4;for(var _0x23a59f=_0x2bd3c0>0x1?void 0x0:_0x2bd3c0?jn(_0x48e1db,_0x15e603):_0x48e1db,_0x25afce=_0x4c86f1[_0x1964dd(0x1d6)]-0x1,_0x3282ad;_0x25afce>=0x0;_0x25afce--)(_0x3282ad=_0x4c86f1[_0x25afce])&&(_0x23a59f=(_0x2bd3c0?_0x3282ad(_0x48e1db,_0x15e603,_0x23a59f):_0x3282ad(_0x23a59f))||_0x23a59f);return _0x2bd3c0&&_0x23a59f&&$n(_0x48e1db,_0x15e603,_0x23a59f),_0x23a59f;},_t=(_0x19365d,_0x4b93a3)=>(_0x1e63fa,_0x2b6b4b)=>_0x4b93a3(_0x1e63fa,_0x2b6b4b,_0x19365d);let Qe=class{constructor(_0x2f1975,_0x57221f,_0x1f70f9){const _0x590249=_0x1b4be4;this[_0x590249(0x232)]=_0x2f1975,this[_0x590249(0x262)]=_0x57221f,this[_0x590249(0x204)]=_0x1f70f9;}[_0x1b4be4(0x3bb)](_0x36297d){const _0x323846=_0x1b4be4;this[_0x323846(0x4ca)](_0x36297d);}[_0x1b4be4(0x18d)](_0x1602c5){const _0x1d30c1=_0x1b4be4,{unitID:_0x4f1d7b}=_0x1602c5,{collaboration:_0x1e8823}=this[_0x1d30c1(0x204)][_0x1d30c1(0x482)](_0x4f1d7b);if(_0x1e8823[_0x1d30c1(0x1d6)]===0x0)return _0x1602c5;let _0x49bdea=a[_0x1d30c1(0x59a)][_0x1d30c1(0x1c8)](_0x1602c5[_0x1d30c1(0x1ec)][0x0]);for(let _0x934ed2=0x0;_0x934ed2<_0x1e8823['length'];_0x934ed2++){const _0x5e054e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1e8823[_0x934ed2][_0x1d30c1(0x5d3)],..._0x1e8823[_0x934ed2][_0x1d30c1(0x5b4)]}},_0x11e807=this['_transformService'][_0x1d30c1(0x5d5)](_0x49bdea,_0x5e054e,!0x1);if(m[_0x1d30c1(0x139)](_0x11e807))throw _0x11e807['error'];_0x49bdea=_0x11e807[_0x1d30c1(0x4b3)];}return{...a[_0x1d30c1(0x59a)][_0x1d30c1(0x1c8)](_0x1602c5),'mutations':[_0x49bdea]};}[_0x1b4be4(0x4ca)](_0x8e8232){const _0x599978=_0x1b4be4,{unitID:_0x25e901}=_0x8e8232,{history:_0x30253f,collaboration:_0x314a64}=this[_0x599978(0x204)]['getStateCache'](_0x25e901);if(_0x30253f[_0x599978(0x1d6)]===0x0&&_0x314a64[_0x599978(0x1d6)]===0x0)return;const _0x18f5c6=[],_0x513ad7=[];let _0x1d77c3=a[_0x599978(0x59a)][_0x599978(0x1c8)](_0x8e8232['mutations'][0x0]),_0xf7bafc=a[_0x599978(0x59a)]['deepClone'](_0x8e8232['mutations'][0x0]);for(let _0x1194e8=_0x30253f[_0x599978(0x1d6)]-0x1;_0x1194e8>=0x0;_0x1194e8--){const _0xdb2104={'id':_0x599978(0x282),'params':{'unitId':_0x30253f[_0x1194e8][_0x599978(0x5d3)],..._0x30253f[_0x1194e8][_0x599978(0x238)]}},_0xcbf43f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x30253f[_0x1194e8]['unitId'],..._0x30253f[_0x1194e8]['redoState']}},_0x37eb89=this[_0x599978(0x262)][_0x599978(0x5d5)](_0x1d77c3,_0xdb2104,!0x1),_0x32f468=this[_0x599978(0x262)][_0x599978(0x5d5)](_0xf7bafc,_0xcbf43f,!0x1);if(m[_0x599978(0x139)](_0x37eb89))throw _0x37eb89[_0x599978(0x218)];if(m[_0x599978(0x139)](_0x32f468))throw _0x32f468['error'];_0x18f5c6[_0x599978(0x3f7)]({..._0x30253f[_0x1194e8],'undoState':_0x37eb89['m2Prime'][_0x599978(0x269)],'redoState':_0x32f468[_0x599978(0x54e)][_0x599978(0x269)]}),_0x1d77c3=_0x37eb89[_0x599978(0x4b3)],_0xf7bafc=_0x32f468['m1Prime'];}_0x1d77c3=a[_0x599978(0x59a)][_0x599978(0x1c8)](_0x8e8232[_0x599978(0x1ec)][0x0]),_0xf7bafc=a[_0x599978(0x59a)]['deepClone'](_0x8e8232['mutations'][0x0]);for(let _0x46bf15=_0x314a64[_0x599978(0x1d6)]-0x1;_0x46bf15>=0x0;_0x46bf15--){const _0x337a08={'id':_0x599978(0x282),'params':{'unitId':_0x314a64[_0x46bf15][_0x599978(0x5d3)],..._0x314a64[_0x46bf15]['undoState']}},_0x5a9f43={'id':_0x599978(0x282),'params':{'unitId':_0x314a64[_0x46bf15]['unitId'],..._0x314a64[_0x46bf15][_0x599978(0x5b4)]}},_0x33d4fb=this['_transformService'][_0x599978(0x5d5)](_0x1d77c3,_0x337a08,!0x1),_0x20e10b=this['_transformService'][_0x599978(0x5d5)](_0xf7bafc,_0x5a9f43,!0x1);if(m[_0x599978(0x139)](_0x33d4fb))throw _0x33d4fb[_0x599978(0x218)];if(m[_0x599978(0x139)](_0x20e10b))throw _0x20e10b[_0x599978(0x218)];_0x513ad7['unshift']({..._0x314a64[_0x46bf15],'undoState':_0x33d4fb[_0x599978(0x54e)][_0x599978(0x269)],'redoState':_0x20e10b[_0x599978(0x54e)][_0x599978(0x269)]}),_0x1d77c3=_0x33d4fb[_0x599978(0x4b3)],_0xf7bafc=_0x20e10b[_0x599978(0x4b3)];}this[_0x599978(0x204)][_0x599978(0x38a)](_0x25e901,{'history':_0x18f5c6,'collaboration':_0x513ad7});}};Qe=Hn([_t(0x0,a[_0x1b4be4(0x5da)](a[_0x1b4be4(0x3a0)])),_t(0x1,m['ITransformService']),_t(0x2,a['Inject'](J[_0x1b4be4(0x53c)]))],Qe);function Oi(_0x3e2986){const _0x2de920=_0x1b4be4;let _0x595070='';for(const _0x33c845 of _0x3e2986){const {startOffset:_0x2e8ed5,endOffset:_0x3fc1ce,isActive:_0x39b26b,rangeType:_0x305e9d,segmentId:_0x2ef942,segmentPage:_0x5b5fc0}=_0x33c845;_0x595070[_0x2de920(0x1d6)]&&(_0x595070+=','),_0x595070+=_0x2e8ed5+':'+_0x3fc1ce+':'+(_0x39b26b?'1':'0')+':'+_0x305e9d+':'+_0x2ef942+':'+_0x5b5fc0;}return _0x595070;}function Bn(_0x46ec59){const _0x34a145=_0x1b4be4,_0x1fca1a=_0x46ec59[_0x34a145(0x166)](','),_0x17e4b3=[];for(const _0x393de4 of _0x1fca1a){const [_0x53687a,_0x14232e,_0x4100b3,_0x4e69fa,_0xb74c37,_0x1edf08]=_0x393de4[_0x34a145(0x166)](':');_0x17e4b3[_0x34a145(0x284)]({'startOffset':Number(_0x53687a),'endOffset':Number(_0x14232e),'collapsed':_0x53687a===_0x14232e,'isActive':_0x4100b3==='1','rangeType':_0x4e69fa===a[_0x34a145(0x3fd)][_0x34a145(0x229)]?a[_0x34a145(0x3fd)][_0x34a145(0x229)]:a[_0x34a145(0x3fd)][_0x34a145(0x4e7)],'segmentId':typeof _0xb74c37==_0x34a145(0x32c)?String(_0xb74c37):'','segmentPage':Number(_0x1edf08!=null?_0x1edf08:-0x1)});}return _0x17e4b3[_0x34a145(0x3c0)](_0x53f2b5=>_0x53f2b5[_0x34a145(0x5cf)])||(_0x17e4b3[0x0][_0x34a145(0x5cf)]=!0x0),_0x17e4b3;}class Ut extends a[_0x1b4be4(0x472)]{constructor(){const _0x389268=_0x1b4be4;super(...arguments),I(this,_0x389268(0x489),new A[(_0x389268(0x28f))](null)),I(this,_0x389268(0x4a2),this['_collabCursorState$'][_0x389268(0x581)]());}['syncEditingCollabCursor'](_0x1b5260){const _0xe43592=_0x1b4be4,{unitID:_0x25cfee,memberID:_0x5230e9,textRanges:_0x3225aa}=_0x1b5260,_0x4e36bf=Oi(_0x3225aa);if(_0x4e36bf==='')return;const _0xea257a={'unitID':_0x25cfee,'memberID':_0x5230e9,'selection':_0x4e36bf};this[_0xe43592(0x489)]['next'](_0xea257a);}}var kn=Object[_0x1b4be4(0x3c9)],Wn=Object[_0x1b4be4(0x3c7)],Fn=(_0x238b28,_0x22c424,_0x1b5da5,_0x3d1915)=>{const _0x2d203f=_0x1b4be4;for(var _0x10f9bd=_0x3d1915>0x1?void 0x0:_0x3d1915?Wn(_0x22c424,_0x1b5da5):_0x22c424,_0x5f0d9a=_0x238b28[_0x2d203f(0x1d6)]-0x1,_0x5e685c;_0x5f0d9a>=0x0;_0x5f0d9a--)(_0x5e685c=_0x238b28[_0x5f0d9a])&&(_0x10f9bd=(_0x3d1915?_0x5e685c(_0x22c424,_0x1b5da5,_0x10f9bd):_0x5e685c(_0x10f9bd))||_0x10f9bd);return _0x3d1915&&_0x10f9bd&&kn(_0x22c424,_0x1b5da5,_0x10f9bd),_0x10f9bd;},Ft=(_0x4e4be5,_0x313f64)=>(_0x4660a8,_0x14885b)=>_0x313f64(_0x4660a8,_0x14885b,_0x4e4be5);let et=class{constructor(_0x436d20,_0x174222){const _0x1bbb27=_0x1b4be4;this[_0x1bbb27(0x232)]=_0x436d20,this[_0x1bbb27(0x262)]=_0x174222;}['transformSelections'](_0x5195a9){const _0x307f5e=_0x1b4be4;var _0x7ed6f;const _0x14c240=this[_0x307f5e(0x232)][_0x307f5e(0x35b)](ge[_0x307f5e(0x22d)]),_0x27daf1=(_0x7ed6f=_0x14c240['getDocRanges']())!=null?_0x7ed6f:[];if(_0x27daf1['length']===0x0)return;const _0x2794d8=_0x5195a9[_0x307f5e(0x4c2)],_0x55f92a=[{'id':_0x307f5e(0x282),'params':{'unitId':_0x2794d8,'actions':null,'textRanges':_0x27daf1}}],_0xc83998=this['_transformService'][_0x307f5e(0x409)](_0x5195a9,_0x55f92a);if(!m['isTransformMutationsWithChangesetSuccess'](_0xc83998))throw _0xc83998[_0x307f5e(0x218)];const _0x3503c4=_0xc83998[_0x307f5e(0x54e)][0x0][_0x307f5e(0x269)][_0x307f5e(0x155)];Array['isArray'](_0x3503c4)&&_0x3503c4['length']&&_0x14c240[_0x307f5e(0x213)](_0x3503c4,{'unitId':_0x2794d8,'subUnitId':_0x2794d8},!0x1);}};et=Fn([Ft(0x0,a[_0x1b4be4(0x5da)](a[_0x1b4be4(0x3a0)])),Ft(0x1,m[_0x1b4be4(0x1e1)])],et);const Vn=new Set([k[_0x1b4be4(0x510)]['id']]);function Vt(_0x790956,_0x5ae0fa,_0x2c88b5,_0x3c40c8,_0x10e7e3){const _0xefdff6=_0x1b4be4;var _0x568449,_0x16bead,_0x3bb09e,_0x2f9dbb;const _0x4dec9a=[];for(const _0x1347fd of _0x790956)if(Vn[_0xefdff6(0x1b5)](_0x1347fd['id'])){if(_0x4dec9a[_0xefdff6(0x1d6)]>0x0)break;_0x4dec9a[_0xefdff6(0x284)](_0x1347fd);break;}else _0x4dec9a['push'](_0x1347fd);const _0x1347b7=(_0x16bead=(_0x568449=_0x10e7e3[_0xefdff6(0x278)]())==null?void 0x0:_0x568449[_0xefdff6(0x44c)])!=null?_0x16bead:_0xefdff6(0x5b9),_0x4f2f9a=(_0x2f9dbb=(_0x3bb09e=_0x10e7e3[_0xefdff6(0x278)]())==null?void 0x0:_0x3bb09e['memberID'])!=null?_0x2f9dbb:_0xefdff6(0x5b9);return{'changeset':{'unitID':_0x5ae0fa,'type':m[_0xefdff6(0x2ab)](_0x2c88b5[_0xefdff6(0x210)](_0x5ae0fa)),'baseRev':_0x3c40c8['getCurrentRevOfUnit'](_0x5ae0fa),'revision':0x0,'userID':_0x1347b7,'memberID':_0x4f2f9a,'mutations':_0x4dec9a},'pendingMutations':_0x790956[_0xefdff6(0x487)](_0x4dec9a[_0xefdff6(0x1d6)])};}function Gn(_0x3a09b8,_0x11ee9b,_0x4b4e32,_0x46f60d,_0x3cb6f6){const _0xf52413=_0x1b4be4;var _0x51f317,_0x22539d,_0x4cd852,_0x109f00;const _0x417c42=[_0x3a09b8[_0xf52413(0x17e)]((_0x57ef59,_0x551093)=>{const _0x11109c=_0xf52413;var _0x45e596;const {id:_0x259217}=_0x57ef59,{id:_0x337a47,type:_0x3087c7}=_0x551093,_0x5c5e76=(_0x45e596=_0x57ef59[_0x11109c(0x269)])!=null?_0x45e596:{'actions':null},_0x1e38c2=_0x551093[_0x11109c(0x269)];if(_0x259217&&_0x259217!==_0x337a47)throw new Error(_0x11109c(0x480)+_0x259217+'\x20-\x20'+_0x337a47+'.');return{..._0x57ef59,'id':_0x337a47,'type':_0x3087c7,'params':{'unitId':_0x1e38c2[_0x11109c(0x5d3)],'textRanges':_0x1e38c2[_0x11109c(0x155)],'actions':a['JSONX'][_0x11109c(0x24b)](_0x5c5e76['actions'],_0x1e38c2[_0x11109c(0x46f)])}};},{})],_0x167f47=(_0x22539d=(_0x51f317=_0x3cb6f6[_0xf52413(0x278)]())==null?void 0x0:_0x51f317['userID'])!=null?_0x22539d:_0xf52413(0x5b9),_0x13e095=(_0x109f00=(_0x4cd852=_0x3cb6f6[_0xf52413(0x278)]())==null?void 0x0:_0x4cd852[_0xf52413(0x357)])!=null?_0x109f00:'unknown';return{'changeset':{'unitID':_0x11ee9b,'type':m[_0xf52413(0x2ab)](_0x4b4e32[_0xf52413(0x210)](_0x11ee9b)),'baseRev':_0x46f60d[_0xf52413(0x4c7)](_0x11ee9b),'revision':0x0,'userID':_0x167f47,'memberID':_0x13e095,'mutations':_0x417c42},'pendingMutations':[]};}function Di(_0x32f3a6,_0x2841e9){const _0x1e0120=_0x1b4be4,_0x597a39=new A[(_0x1e0120(0x5e8))](0x1);return setTimeout(()=>_0x597a39[_0x1e0120(0x258)](_0x2841e9),_0x32f3a6),_0x597a39[_0x1e0120(0x581)]()[_0x1e0120(0x33d)](A[_0x1e0120(0x358)](0x1));}const Yn={'id':k['EmptyMutation']['id'],'type':a['CommandType'][_0x1b4be4(0x2ee)],'params':{}};var qn=Object[_0x1b4be4(0x3c9)],Kn=Object[_0x1b4be4(0x3c7)],Ce=(_0x355f94,_0x1e8735,_0x4ab434,_0x363c04)=>{const _0xc31bbe=_0x1b4be4;for(var _0x5518e8=_0x363c04>0x1?void 0x0:_0x363c04?Kn(_0x1e8735,_0x4ab434):_0x1e8735,_0x518567=_0x355f94[_0xc31bbe(0x1d6)]-0x1,_0x1fa74;_0x518567>=0x0;_0x518567--)(_0x1fa74=_0x355f94[_0x518567])&&(_0x5518e8=(_0x363c04?_0x1fa74(_0x1e8735,_0x4ab434,_0x5518e8):_0x1fa74(_0x5518e8))||_0x5518e8);return _0x363c04&&_0x5518e8&&qn(_0x1e8735,_0x4ab434,_0x5518e8),_0x5518e8;},N=(_0x473565,_0x399149)=>(_0x573049,_0x4a0e0d)=>_0x399149(_0x573049,_0x4a0e0d,_0x473565),K=(_0x536b60=>(_0x536b60[_0x1b4be4(0x183)]=_0x1b4be4(0x34d),_0x536b60[_0x1b4be4(0x3f6)]=_0x1b4be4(0x5dd),_0x536b60[_0x1b4be4(0x455)]=_0x1b4be4(0x2db),_0x536b60[_0x1b4be4(0x266)]='awaiting',_0x536b60[_0x1b4be4(0x447)]=_0x1b4be4(0x43f),_0x536b60['FETCH_MISS']=_0x1b4be4(0x4a0),_0x536b60[_0x1b4be4(0x4f5)]=_0x1b4be4(0x2f4),_0x536b60[_0x1b4be4(0x466)]=_0x1b4be4(0x5aa),_0x536b60))(K||{});const Pi=0xea60;class Ee{constructor(_0x56a626,_0x5629b2,_0x1db340,_0x1eb5f0,_0x4e5fd5,_0xe066ca,_0x2c8da3,_0x165319,_0x17cc85){const _0x179d90=_0x1b4be4;I(this,_0x179d90(0x5c9),null),I(this,_0x179d90(0x2a5),[]),(this[_0x179d90(0x4c2)]=_0x56a626,this[_0x179d90(0x336)]=_0x5629b2,this[_0x179d90(0x37b)]=_0x4e5fd5,this[_0x179d90(0x3a7)]=_0xe066ca,this[_0x179d90(0x248)]=_0x2c8da3,this[_0x179d90(0x24e)]=_0x165319,this[_0x179d90(0x2d7)]=_0x17cc85,this['_awaitingChangeset']=_0x1db340,this['_pendingMutations']=_0x1eb5f0);}['_checkMissing'](_0x5361ae){const _0x2410d2=_0x1b4be4,_0x11ab6a=this[_0x2410d2(0x24e)][_0x2410d2(0x4c7)](this[_0x2410d2(0x4c2)]);return _0x5361ae['revision']>_0x11ab6a+0x1?(this['_handler'][_0x2410d2(0x1bb)]({'from':_0x11ab6a,'to':_0x5361ae[_0x2410d2(0x4fa)]-0x1}),!0x0):!0x1;}[_0x1b4be4(0x1b3)](_0x51cd2c){const _0x4dc45c=_0x1b4be4;this['_undoRedoService'][_0x4dc45c(0x191)](this['unitID'],_0x51cd2c);}[_0x1b4be4(0x53b)](_0xa29ae6){const _0x277c1f=_0x1b4be4;var _0x2408d6,_0x599e71;(_0x599e71=(_0x2408d6=this[_0x277c1f(0x37b)])[_0x277c1f(0x442)])==null||_0x599e71[_0x277c1f(0x246)](_0x2408d6,_0xa29ae6);}[_0x1b4be4(0x21e)](_0x2fa802){const _0x591b82=_0x1b4be4;var _0x11bbf5,_0x1b6f53;return(_0x1b6f53=(_0x11bbf5=this[_0x591b82(0x37b)])[_0x591b82(0x14e)])==null?void 0x0:_0x1b6f53[_0x591b82(0x246)](_0x11bbf5,_0x2fa802);}[_0x1b4be4(0x11c)](_0x3d8aa2){const _0x55d3ab=_0x1b4be4;var _0xd738bb,_0x210453;return(_0x210453=(_0xd738bb=this[_0x55d3ab(0x37b)])[_0x55d3ab(0x22c)])==null?void 0x0:_0x210453[_0x55d3ab(0x246)](_0xd738bb,_0x3d8aa2);}[_0x1b4be4(0x274)](_0x40b5fc){const _0xf51e66=_0x1b4be4;var _0x87bf83,_0x17a8cb,_0x5f3be8;return(_0x5f3be8=(_0x17a8cb=(_0x87bf83=this[_0xf51e66(0x37b)])[_0xf51e66(0x14c)])==null?void 0x0:_0x17a8cb['call'](_0x87bf83,_0x40b5fc))!=null?_0x5f3be8:_0x40b5fc;}[_0x1b4be4(0x26f)](_0x453841){const _0x535744=_0x1b4be4;var _0x403331,_0x12b2e4,_0x20cf47;return(_0x20cf47=(_0x12b2e4=(_0x403331=this[_0x535744(0x37b)])[_0x535744(0x3ef)])==null?void 0x0:_0x12b2e4[_0x535744(0x246)](_0x403331,_0x453841))!=null?_0x20cf47:_0x453841;}['_syncEditingCollabCursor'](_0x62b0b4){const _0x5716ec=_0x1b4be4;var _0x52ca71,_0x1c66db;if(this[_0x5716ec(0x336)]===ie['UNIVER_DOC']){const {unitID:_0x139769,mutations:_0x1d1f55,memberID:_0x459d11}=_0x62b0b4,_0x3837c5=_0x1d1f55[0x0]['params']['textRanges'];Array[_0x5716ec(0x295)](_0x3837c5)&&_0x3837c5[_0x5716ec(0x1d6)]>0x0&&((_0x1c66db=(_0x52ca71=this[_0x5716ec(0x37b)])[_0x5716ec(0x537)])==null||_0x1c66db[_0x5716ec(0x246)](_0x52ca71,{'unitID':_0x139769,'memberID':_0x459d11,'textRanges':_0x3837c5}));}}[_0x1b4be4(0x5d9)](){const _0x2a0449=_0x1b4be4;this[_0x2a0449(0x2d7)][_0x2a0449(0x220)](this[_0x2a0449(0x4c2)],this[_0x2a0449(0x336)],this[_0x2a0449(0x5c9)],this[_0x2a0449(0x2a5)]);}[_0x1b4be4(0x3a6)](){const _0x467e99=_0x1b4be4;return this[_0x467e99(0x24e)][_0x467e99(0x4c7)](this['unitID']);}[_0x1b4be4(0x26b)](){const _0x500c2a=_0x1b4be4;this['_revisionService'][_0x500c2a(0x452)](this[_0x500c2a(0x4c2)]);}[_0x1b4be4(0x3ad)](_0x18941d){const _0x105597=_0x1b4be4;var _0x2aa8f7;let _0x35b63e=this[_0x105597(0x274)](_0x18941d);_0x35b63e=this[_0x105597(0x26f)](_0x35b63e);const _0xd1c41f=a[_0x105597(0x429)](_0x35b63e[_0x105597(0x1ec)],this['_commandService'],{'fromCollab':!0x0});if(!_0xd1c41f[_0x105597(0x391)])throw _0xd1c41f['error']instanceof Error?_0xd1c41f[_0x105597(0x218)]:new Error((_0x2aa8f7=_0xd1c41f[_0x105597(0x218)])!=null?_0x2aa8f7:_0x105597(0x318));this[_0x105597(0x21e)](_0x35b63e),this[_0x105597(0x11c)](_0x35b63e),this[_0x105597(0x1b3)](_0x18941d),this[_0x105597(0x53b)](_0x35b63e),this[_0x105597(0x12b)](_0x35b63e),this[_0x105597(0x26b)]();}}let ye=class extends Ee{constructor(_0x4e8fc1,_0x30d56d,_0xdac62f,_0x1ca478,_0x1012e8,_0x975ecd,_0x146e76,_0x346e72,_0x24f7db,_0x3ba49f){const _0x4790d6=_0x1b4be4;super(_0x4e8fc1,_0x30d56d,null,[],_0xdac62f,_0x346e72,_0x146e76,_0x1ca478,_0x1012e8),I(this,'status',_0x4790d6(0x5dd)),(this['_injector']=_0x975ecd,this[_0x4790d6(0x4fe)]=_0x24f7db,this[_0x4790d6(0x262)]=_0x3ba49f);}['appendMutation'](_0x59caa2){const _0x41c0e4=_0x1b4be4,_0x6770ca=this['_injector'][_0x41c0e4(0x2c5)](ae,this[_0x41c0e4(0x4c2)],this[_0x41c0e4(0x336)],[_0x59caa2],this[_0x41c0e4(0x37b)]);return _0x6770ca[_0x41c0e4(0x2dd)](),_0x6770ca[_0x41c0e4(0x5d9)](),_0x6770ca;}['onRemoteChangeset'](_0x4880ab){const _0x4cff3d=_0x1b4be4;if(this['_checkMissing'](_0x4880ab))return this['_injector'][_0x4cff3d(0x2c5)](re,this[_0x4cff3d(0x4c2)],this['type'],null,[],null,[_0x4880ab],this[_0x4cff3d(0x37b)]);try{const _0x39112e=this[_0x4cff3d(0x262)][_0x4cff3d(0x409)](_0x4880ab,[Yn]);if(m[_0x4cff3d(0x1de)](_0x39112e)){const {c1Prime:_0x2ee0f7}=_0x39112e;return this[_0x4cff3d(0x3ad)](_0x2ee0f7),this;}throw _0x39112e[_0x4cff3d(0x218)];}catch(_0x13b908){return this['_logService'][_0x4cff3d(0x218)](_0x13b908),this[_0x4cff3d(0x556)](!0x1);}}[_0x1b4be4(0x556)](_0x4bc3ad){const _0x27cca1=_0x1b4be4;return this[_0x27cca1(0x232)]['createInstance'](fe,this[_0x27cca1(0x4c2)],this['type'],null,[],this[_0x27cca1(0x37b)],_0x4bc3ad);}[_0x1b4be4(0x23f)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x1b4be4(0x39a)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x1b4be4(0x3be)](){return this;}[_0x1b4be4(0x5bd)](){const _0xb12698=_0x1b4be4;return this['_injector'][_0xb12698(0x2c5)](ve,this[_0xb12698(0x4c2)],this[_0xb12698(0x336)],null,[],this[_0xb12698(0x37b)]);}[_0x1b4be4(0x4c1)](){return this;}[_0x1b4be4(0x3f8)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1b4be4(0x461)](){const _0x434052=_0x1b4be4,_0x10a516=this[_0x434052(0x24e)]['getCurrentRevOfUnit'](this[_0x434052(0x4c2)]);return this[_0x434052(0x37b)][_0x434052(0x1bb)]({'from':_0x10a516,'to':0x0}),this[_0x434052(0x232)]['createInstance'](re,this[_0x434052(0x4c2)],this[_0x434052(0x336)],null,[],null,[],this[_0x434052(0x37b)]);}};ye=Ce([N(0x3,a[_0x1b4be4(0x5da)](m[_0x1b4be4(0x2de)])),N(0x4,a[_0x1b4be4(0x5da)](exports[_0x1b4be4(0x3ec)])),N(0x5,a[_0x1b4be4(0x5da)](a[_0x1b4be4(0x3a0)])),N(0x6,a[_0x1b4be4(0x3ac)]),N(0x7,a[_0x1b4be4(0x58f)]),N(0x8,a[_0x1b4be4(0x509)]),N(0x9,m[_0x1b4be4(0x1e1)])],ye);let ae=class extends Ee{constructor(_0x4c8b22,_0x2c8b75,_0x32fa17,_0xef023b,_0x467c70,_0x230b75,_0x3286d1,_0x89a6f8,_0x240bd6,_0xdf44fb,_0x510868,_0x5f3de0,_0x1dc9fc,_0x41f613){const _0x3b9195=_0x1b4be4;super(_0x4c8b22,_0x2c8b75,null,_0x32fa17,_0xef023b,_0xdf44fb,_0x41f613,_0x230b75,_0x3286d1),I(this,'status',_0x3b9195(0x2db)),I(this,_0x3b9195(0x320),null),I(this,_0x3b9195(0x45d),null),(this['_injector']=_0x467c70,this[_0x3b9195(0x580)]=_0x89a6f8,this[_0x3b9195(0x4fe)]=_0x240bd6,this[_0x3b9195(0x234)]=_0x510868,this[_0x3b9195(0x262)]=_0x5f3de0,this[_0x3b9195(0x471)]=_0x1dc9fc);}[_0x1b4be4(0x225)](_0x467b9b){const _0x29d58b=_0x1b4be4;return this[_0x29d58b(0x2a5)][_0x29d58b(0x284)](_0x467b9b),this[_0x29d58b(0x5d9)](),this;}[_0x1b4be4(0x305)](_0x2e0aa){const _0x6f9f5b=_0x1b4be4;if(this['_checkMissing'](_0x2e0aa))return this['_clearScheduledTask'](),this[_0x6f9f5b(0x232)][_0x6f9f5b(0x2c5)](re,this[_0x6f9f5b(0x4c2)],this[_0x6f9f5b(0x336)],null,this['_pendingMutations'],null,[_0x2e0aa],this[_0x6f9f5b(0x37b)]);try{const _0x1e870f=this[_0x6f9f5b(0x262)][_0x6f9f5b(0x409)](_0x2e0aa,this[_0x6f9f5b(0x2a5)]);if(m[_0x6f9f5b(0x1de)](_0x1e870f)){const {c1Prime:_0x4f0e51,m2Prime:_0x4eac78}=_0x1e870f;this[_0x6f9f5b(0x3ad)](_0x4f0e51);const _0x4583a9=this[_0x6f9f5b(0x232)][_0x6f9f5b(0x2c5)](ae,this['unitID'],this[_0x6f9f5b(0x336)],_0x4eac78,this['_handler']);return this[_0x6f9f5b(0x4a9)](),_0x4583a9['_schedule'](this[_0x6f9f5b(0x320)]?Math['max'](0x0,new Date()[_0x6f9f5b(0x1e0)]()-this[_0x6f9f5b(0x320)]):this['_getSendChangesetTimeout']()),_0x4583a9;}throw _0x1e870f[_0x6f9f5b(0x218)];}catch(_0x284a65){return this['_logService'][_0x6f9f5b(0x218)](_0x284a65),this['_onConflict'](!0x1);}}[_0x1b4be4(0x23f)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x1b4be4(0x39a)](){const _0xc729b9=_0x1b4be4;throw new Error(_0xc729b9(0x4f3));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x4ca275=_0x1b4be4;return this[_0x4ca275(0x4a9)](),this[_0x4ca275(0x232)][_0x4ca275(0x2c5)](ve,this[_0x4ca275(0x4c2)],this[_0x4ca275(0x336)],null,this[_0x4ca275(0x2a5)],this[_0x4ca275(0x37b)]);}[_0x1b4be4(0x4c1)](){return this;}[_0x1b4be4(0x2dd)](_0x431a00){const _0x549078=_0x1b4be4,_0x3d30e1=_0x431a00!=null?_0x431a00:this[_0x549078(0x5d4)]();this[_0x549078(0x320)]=new Date()['getTime'](),this['_sendingTimer']=window[_0x549078(0x3f4)](()=>{const _0x3e5ce6=_0x549078;this[_0x3e5ce6(0x4a9)]();let _0x26107d=null;switch(this[_0x3e5ce6(0x336)]){case ie[_0x3e5ce6(0x5b1)]:{_0x26107d=Vt(this['_pendingMutations'],this[_0x3e5ce6(0x4c2)],this[_0x3e5ce6(0x471)],this[_0x3e5ce6(0x24e)],this[_0x3e5ce6(0x580)]);break;}case ie['UNIVER_DOC']:{this[_0x3e5ce6(0x2a5)]['every'](_0x476391=>_0x476391['id']===ge[_0x3e5ce6(0x543)]['id'])?_0x26107d=Gn(this[_0x3e5ce6(0x2a5)],this[_0x3e5ce6(0x4c2)],this[_0x3e5ce6(0x471)],this[_0x3e5ce6(0x24e)],this[_0x3e5ce6(0x580)]):_0x26107d=Vt(this[_0x3e5ce6(0x2a5)],this[_0x3e5ce6(0x4c2)],this[_0x3e5ce6(0x471)],this[_0x3e5ce6(0x24e)],this[_0x3e5ce6(0x580)]);break;}default:throw new Error(_0x3e5ce6(0x124)+this['type']+_0x3e5ce6(0x11d));}const {changeset:_0x4166c7,pendingMutations:_0xa57c96}=_0x26107d;this[_0x3e5ce6(0x37b)][_0x3e5ce6(0x3f9)](_0x4166c7);const _0x1af389=_0xa57c96[_0x3e5ce6(0x1d6)]?this[_0x3e5ce6(0x232)][_0x3e5ce6(0x2c5)](ce,this['unitID'],this[_0x3e5ce6(0x336)],_0x4166c7,_0xa57c96,this['_handler'],void 0x0):this[_0x3e5ce6(0x232)][_0x3e5ce6(0x2c5)](de,this[_0x3e5ce6(0x4c2)],this['type'],_0x4166c7,this[_0x3e5ce6(0x37b)]);_0x1af389[_0x3e5ce6(0x5d9)](),this['_handler'][_0x3e5ce6(0x5df)](this,_0x1af389);},_0x3d30e1);}[_0x1b4be4(0x5d4)](){const _0x53439d=_0x1b4be4;var _0x38728b;const _0x2b8063=this['_configService'][_0x53439d(0x2c9)](Z);return(_0x38728b=_0x2b8063==null?void 0x0:_0x2b8063[_0x53439d(0x456)])!=null?_0x38728b:Ki;}['resend'](){const _0x1b1b01=_0x1b4be4;throw new Error(_0x1b1b01(0x310));}[_0x1b4be4(0x4a9)](){const _0x50b704=_0x1b4be4;this[_0x50b704(0x45d)]!=null&&(clearTimeout(this[_0x50b704(0x45d)]),this['_sendingTimer']=null);}['_onConflict'](_0x57567a){const _0x252b75=_0x1b4be4;return this[_0x252b75(0x4a9)](),this[_0x252b75(0x232)][_0x252b75(0x2c5)](fe,this[_0x252b75(0x4c2)],this[_0x252b75(0x336)],null,this[_0x252b75(0x2a5)],this['_handler'],_0x57567a);}};ae=Ce([N(0x4,a[_0x1b4be4(0x5da)](a[_0x1b4be4(0x3a0)])),N(0x5,a['Inject'](m[_0x1b4be4(0x2de)])),N(0x6,a['Inject'](exports['LocalCacheService'])),N(0x7,a[_0x1b4be4(0x5da)](exports[_0x1b4be4(0x41e)])),N(0x8,a[_0x1b4be4(0x509)]),N(0x9,a['ICommandService']),N(0xa,a[_0x1b4be4(0x2ec)]),N(0xb,m[_0x1b4be4(0x1e1)]),N(0xc,a[_0x1b4be4(0x5e4)]),N(0xd,a['IUndoRedoService'])],ae);let de=class extends Ee{constructor(_0x3a286b,_0x30fb12,_0x3286b9,_0xe0cf42,_0x473123,_0x333de2,_0x516881,_0x28541b,_0x45977b,_0x4c58c3,_0x50f574){const _0x46fbcb=_0x1b4be4;super(_0x3a286b,_0x30fb12,_0x3286b9,[],_0xe0cf42,_0x28541b,_0x50f574,_0x333de2,_0x516881),I(this,_0x46fbcb(0x352),_0x46fbcb(0x353)),I(this,_0x46fbcb(0x2b1),0x0),I(this,'_resendTimer'),I(this,'_sender'),(this[_0x46fbcb(0x232)]=_0x473123,this[_0x46fbcb(0x4fe)]=_0x45977b,this['_transformService']=_0x4c58c3);}[_0x1b4be4(0x225)](_0x5d9ac8){const _0x21d416=_0x1b4be4;this[_0x21d416(0x4a9)]();const _0x51cd51=this['_injector']['createInstance'](ce,this[_0x21d416(0x4c2)],this[_0x21d416(0x336)],this[_0x21d416(0x5c9)],[_0x5d9ac8],this[_0x21d416(0x37b)],this[_0x21d416(0x5e7)]);return _0x51cd51[_0x21d416(0x5d9)](),_0x51cd51;}[_0x1b4be4(0x305)](_0x1bf936){const _0x61c997=_0x1b4be4;if(this[_0x61c997(0x321)](_0x1bf936))return this[_0x61c997(0x4a9)](),this['_injector']['createInstance'](re,this[_0x61c997(0x4c2)],this[_0x61c997(0x336)],this[_0x61c997(0x5c9)],[],null,[_0x1bf936],this[_0x61c997(0x37b)]);try{const _0x4fc6f8=this[_0x61c997(0x262)]['transformChangesets']([_0x1bf936],[this[_0x61c997(0x5c9)]],!0x1);if(m[_0x61c997(0x1a2)](_0x4fc6f8)){const {c1Prime:_0x5a0efe,c2Prime:_0x125494}=_0x4fc6f8;this[_0x61c997(0x3ad)](_0x5a0efe[0x0]),_0x125494[0x0]['baseRev']=this[_0x61c997(0x3a6)](),this[_0x61c997(0x4a9)]();const _0x596eea=this[_0x61c997(0x232)][_0x61c997(0x2c5)](de,this[_0x61c997(0x4c2)],this[_0x61c997(0x336)],_0x125494[0x0],this[_0x61c997(0x37b)]);return _0x596eea[_0x61c997(0x5d9)](),_0x596eea;}return this['_onConflict'](!0x1);}catch(_0x1ab268){return this[_0x61c997(0x4fe)][_0x61c997(0x218)](_0x1ab268),this[_0x61c997(0x556)](!0x1);}}[_0x1b4be4(0x23f)](_0x1178a3){const _0x3af919=_0x1b4be4;this[_0x3af919(0x4a9)]();const _0x4307f2=this[_0x3af919(0x24e)][_0x3af919(0x4c7)](this[_0x3af919(0x4c2)]);if(_0x1178a3[_0x3af919(0x4fa)]<_0x4307f2-0x1)return this;if(this[_0x3af919(0x321)](_0x1178a3))return this[_0x3af919(0x232)][_0x3af919(0x2c5)](re,this[_0x3af919(0x4c2)],this[_0x3af919(0x336)],null,[],this['_awaitingChangeset'],[],this[_0x3af919(0x37b)]);this[_0x3af919(0x26b)]();const _0x2a6a15=this[_0x3af919(0x232)]['createInstance'](ye,this[_0x3af919(0x4c2)],this[_0x3af919(0x336)],this[_0x3af919(0x37b)]);return _0x2a6a15[_0x3af919(0x5d9)](),_0x2a6a15;}['onRemoteRej'](_0x259740){return this['_onConflict'](!!(_0x259740!=null&&_0x259740['isPermissionRej']));}[_0x1b4be4(0x3be)](_0x3fd82a){const _0x493b2e=_0x1b4be4;return this[_0x493b2e(0x2b1)]>Pi?this[_0x493b2e(0x5bd)]():(this[_0x493b2e(0x5e7)]=Di(this['_resendTimeout'],{'timeout':this[_0x493b2e(0x2b1)],'reqId':_0x3fd82a['reqId']}),this[_0x493b2e(0x2aa)]=this[_0x493b2e(0x5e7)][_0x493b2e(0x559)](({reqId:_0x308773,timeout:_0x18be97})=>{const _0x2a21ec=_0x493b2e;this[_0x2a21ec(0x5b8)](_0x308773,_0x18be97);}),this);}[_0x1b4be4(0x5bd)](){const _0xf1d561=_0x1b4be4;return this[_0xf1d561(0x4a9)](),this[_0xf1d561(0x232)]['createInstance'](ve,this[_0xf1d561(0x4c2)],this[_0xf1d561(0x336)],this[_0xf1d561(0x5c9)],[],this[_0xf1d561(0x37b)]);}[_0x1b4be4(0x4c1)](){return this;}[_0x1b4be4(0x3f8)](){const _0x813633=_0x1b4be4;this[_0x813633(0x37b)][_0x813633(0x3f9)](this['_awaitingChangeset']);}[_0x1b4be4(0x556)](_0x286138){const _0x2d08fc=_0x1b4be4;return this['_clearScheduledTask'](),this[_0x2d08fc(0x232)][_0x2d08fc(0x2c5)](fe,this[_0x2d08fc(0x4c2)],this[_0x2d08fc(0x336)],this[_0x2d08fc(0x5c9)],[],this[_0x2d08fc(0x37b)],_0x286138);}[_0x1b4be4(0x5b8)](_0x2f6ea1,_0x462ef1){const _0x4cc87a=_0x1b4be4;var _0x3e82cb;_0x2f6ea1===((_0x3e82cb=this['_awaitingChangeset'])==null?void 0x0:_0x3e82cb[_0x4cc87a(0x203)])&&(this[_0x4cc87a(0x3f8)](),this[_0x4cc87a(0x2b1)]=_0x462ef1===0x0?0x3e8:_0x462ef1*0x2);}['_clearScheduledTask'](){const _0x2277dc=_0x1b4be4;var _0x3e5811;(_0x3e5811=this['_sender'])==null||_0x3e5811[_0x2277dc(0x1a8)](),this[_0x2277dc(0x2b1)]=0x0;}};de=Ce([N(0x4,a['Inject'](a[_0x1b4be4(0x3a0)])),N(0x5,a[_0x1b4be4(0x5da)](m[_0x1b4be4(0x2de)])),N(0x6,a[_0x1b4be4(0x5da)](exports['LocalCacheService'])),N(0x7,a[_0x1b4be4(0x58f)]),N(0x8,a[_0x1b4be4(0x509)]),N(0x9,m[_0x1b4be4(0x1e1)]),N(0xa,a['IUndoRedoService'])],de);let ce=class extends Ee{constructor(_0x2524a0,_0x35708c,_0x32de4d,_0x4bc62e,_0x47ec67,_0xe88dc7,_0xa631fb,_0xb9070b,_0x5ca864,_0x3ee6a3,_0x4b8a09,_0x50e529,_0x12b58f){const _0x733ca2=_0x1b4be4;super(_0x2524a0,_0x35708c,_0x32de4d,_0x4bc62e,_0x47ec67,_0x3ee6a3,_0x12b58f,_0xb9070b,_0x5ca864),I(this,_0x733ca2(0x352),_0x733ca2(0x43f)),I(this,'_resendTimeout',0x0),I(this,'_resendTimer'),I(this,'_sender'),(this['_injector']=_0xa631fb,this['_logService']=_0x4b8a09,this[_0x733ca2(0x262)]=_0x50e529,_0xe88dc7&&(this[_0x733ca2(0x5e7)]=_0xe88dc7,this[_0x733ca2(0x2aa)]=this['_resendTimer']['subscribe'](({reqId:_0x51d3f1,timeout:_0x53e2ad})=>{this['_resendWithTimeout'](_0x51d3f1,_0x53e2ad);})));}[_0x1b4be4(0x225)](_0xf2d222){const _0xdd58a=_0x1b4be4;return this[_0xdd58a(0x2a5)][_0xdd58a(0x284)](_0xf2d222),this;}[_0x1b4be4(0x305)](_0x1e59aa){const _0xf26774=_0x1b4be4;if(this[_0xf26774(0x321)](_0x1e59aa))return this[_0xf26774(0x4a9)](),this['_injector'][_0xf26774(0x2c5)](re,this[_0xf26774(0x4c2)],this[_0xf26774(0x336)],this[_0xf26774(0x5c9)],this[_0xf26774(0x2a5)],null,[_0x1e59aa],this[_0xf26774(0x37b)]);try{const _0x3425d5=this[_0xf26774(0x262)][_0xf26774(0x3b6)]([_0x1e59aa],[this['_awaitingChangeset']],!0x1);if(m[_0xf26774(0x1a2)](_0x3425d5)){const {c1Prime:_0x4b81a8,c2Prime:_0x3285d8}=_0x3425d5,_0x57b575=this['_transformService']['transformMutationsWithChangeset'](_0x4b81a8[0x0],this[_0xf26774(0x2a5)]);if(m[_0xf26774(0x1de)](_0x57b575)){const {c1Prime:_0x53b444,m2Prime:_0x1a8691}=_0x57b575;return this[_0xf26774(0x3ad)](_0x53b444),_0x3285d8[0x0][_0xf26774(0x329)]=this[_0xf26774(0x3a6)](),this[_0xf26774(0x4a9)](),this[_0xf26774(0x232)][_0xf26774(0x2c5)](ce,this['unitID'],this[_0xf26774(0x336)],_0x3285d8[0x0],_0x1a8691,this[_0xf26774(0x37b)],void 0x0);}throw _0x57b575[_0xf26774(0x218)];}throw _0x3425d5['error'];}catch(_0xf32406){return this[_0xf26774(0x4fe)]['error'](_0xf32406),this['_onConflict'](!0x1);}}[_0x1b4be4(0x23f)](_0x5415af){const _0x34085d=_0x1b4be4;if(this[_0x34085d(0x4a9)](),this[_0x34085d(0x321)](_0x5415af))return this[_0x34085d(0x232)]['createInstance'](re,this['unitID'],this['type'],null,this[_0x34085d(0x2a5)],this[_0x34085d(0x5c9)],[],this[_0x34085d(0x37b)]);this['_incrementRevisionNumber']();const _0x30e4ea=this[_0x34085d(0x232)]['createInstance'](ae,this[_0x34085d(0x4c2)],this['type'],this[_0x34085d(0x2a5)],this[_0x34085d(0x37b)]);return _0x30e4ea[_0x34085d(0x2dd)](),_0x30e4ea[_0x34085d(0x5d9)](),_0x30e4ea;}[_0x1b4be4(0x39a)](_0x160bf2){return this['_onConflict'](!!(_0x160bf2!=null&&_0x160bf2['isPermissionRej']));}['onRemoteRetry'](_0x84a89c){const _0x146101=_0x1b4be4;return this[_0x146101(0x2b1)]>Pi?this[_0x146101(0x5bd)]():(this[_0x146101(0x5e7)]=Di(this[_0x146101(0x2b1)],{'timeout':this['_resendTimeout'],'reqId':_0x84a89c[_0x146101(0x203)]}),this['_sender']=this[_0x146101(0x5e7)][_0x146101(0x559)](({reqId:_0x205832,timeout:_0x1155be})=>{this['_resendWithTimeout'](_0x205832,_0x1155be);}),this);}[_0x1b4be4(0x5bd)](){const _0x29c566=_0x1b4be4;return this[_0x29c566(0x4a9)](),this[_0x29c566(0x232)][_0x29c566(0x2c5)](ve,this[_0x29c566(0x4c2)],this[_0x29c566(0x336)],this[_0x29c566(0x5c9)],this['_pendingMutations'],this[_0x29c566(0x37b)]);}[_0x1b4be4(0x4c1)](){return this;}['resend'](){const _0x2622f0=_0x1b4be4;this[_0x2622f0(0x37b)][_0x2622f0(0x3f9)](this[_0x2622f0(0x5c9)]);}[_0x1b4be4(0x556)](_0x391918){const _0x530a9d=_0x1b4be4;return this[_0x530a9d(0x4a9)](),this['_injector'][_0x530a9d(0x2c5)](fe,this[_0x530a9d(0x4c2)],this[_0x530a9d(0x336)],null,this[_0x530a9d(0x2a5)],this[_0x530a9d(0x37b)],_0x391918);}[_0x1b4be4(0x5b8)](_0x2af7f4,_0x42250d){const _0xfaadc2=_0x1b4be4;var _0x131723;_0x2af7f4===((_0x131723=this[_0xfaadc2(0x5c9)])==null?void 0x0:_0x131723['reqId'])&&(this[_0xfaadc2(0x3f8)](),this[_0xfaadc2(0x2b1)]=_0x42250d===0x0?0x3e8:_0x42250d*0x2);}[_0x1b4be4(0x4a9)](){const _0x524b9b=_0x1b4be4;var _0x220482;(_0x220482=this[_0x524b9b(0x2aa)])==null||_0x220482[_0x524b9b(0x1a8)](),this[_0x524b9b(0x2b1)]=0x0;}};ce=Ce([N(0x6,a[_0x1b4be4(0x5da)](a[_0x1b4be4(0x3a0)])),N(0x7,a['Inject'](m['RevisionService'])),N(0x8,a['Inject'](exports[_0x1b4be4(0x3ec)])),N(0x9,a[_0x1b4be4(0x58f)]),N(0xa,a[_0x1b4be4(0x509)]),N(0xb,m[_0x1b4be4(0x1e1)]),N(0xc,a[_0x1b4be4(0x3ac)])],ce);let fe=class extends Ee{constructor(_0x1639cf,_0x487bde,_0x47dccc,_0x366cab,_0x4614a0,_0x44fb63=!0x1,_0x16cca7,_0x1d8255,_0x3c808e,_0x4d5769,_0x4c0976,_0x4e5f57,_0x3c6096){const _0x326493=_0x1b4be4;super(_0x1639cf,_0x487bde,_0x47dccc,_0x366cab,_0x4614a0,_0x1d8255,_0x3c808e,_0x4c0976,_0x4d5769),I(this,_0x326493(0x352),_0x326493(0x2f4)),(this[_0x326493(0x283)]=_0x44fb63,this[_0x326493(0x4c5)]=_0x16cca7,this[_0x326493(0x131)]=_0x4e5f57,this[_0x326493(0x389)]=_0x3c6096,this[_0x326493(0x1f8)](),this[_0x326493(0x26c)](),this[_0x326493(0x567)]());}[_0x1b4be4(0x225)](){return this;}[_0x1b4be4(0x305)](){return this;}[_0x1b4be4(0x23f)](){return this;}['onRemoteRej'](){return this;}[_0x1b4be4(0x3be)](){return this;}[_0x1b4be4(0x5bd)](){return this;}['toggleOnline'](){return this;}[_0x1b4be4(0x3f8)](){const _0x19e449=_0x1b4be4;throw new Error(_0x19e449(0x28a));}[_0x1b4be4(0x26c)](){const _0x41d8fa=_0x1b4be4;this[_0x41d8fa(0x2d7)]['updateOfflineData'](this['unitID'],this['type'],null,[]);}[_0x1b4be4(0x1f8)](){const _0x55a885=_0x1b4be4;this[_0x55a885(0x283)]?this[_0x55a885(0x389)][_0x55a885(0x53e)]({'title':this[_0x55a885(0x131)]['t'](_0x55a885(0x35e)),'content':this[_0x55a885(0x131)]['t']('permission.content'),'type':_0x55a885(0x218),'duration':0x0}):this[_0x55a885(0x389)]['show']({'title':this[_0x55a885(0x131)]['t'](_0x55a885(0x50a)),'content':this[_0x55a885(0x131)]['t'](_0x55a885(0x533)),'type':_0x55a885(0x218),'duration':0x0});}[_0x1b4be4(0x567)](){const _0x5ecff2=_0x1b4be4;this[_0x5ecff2(0x4c5)][_0x5ecff2(0x4dd)](new k[(_0x5ecff2(0x550))](this[_0x5ecff2(0x4c2)])['id'],!0x1);}};fe=Ce([N(0x6,a[_0x1b4be4(0x5da)](a['IPermissionService'])),N(0x7,a[_0x1b4be4(0x58f)]),N(0x8,a[_0x1b4be4(0x3ac)]),N(0x9,a[_0x1b4be4(0x5da)](exports[_0x1b4be4(0x3ec)])),N(0xa,a[_0x1b4be4(0x5da)](m[_0x1b4be4(0x2de)])),N(0xb,a['Inject'](a[_0x1b4be4(0x138)])),N(0xc,ee[_0x1b4be4(0x31b)])],fe);let ve=class extends Ee{constructor(_0x266eee,_0x3e09bf,_0x34e65b,_0x423b56,_0x289c6b,_0x4b1e3a,_0x466a76,_0x4869fa,_0x172b29,_0x42076d){const _0x56e4ca=_0x1b4be4;super(_0x266eee,_0x3e09bf,_0x34e65b,_0x423b56,_0x289c6b,_0x172b29,_0x42076d,_0x466a76,_0x4869fa),I(this,'status',_0x56e4ca(0x5aa)),this[_0x56e4ca(0x232)]=_0x4b1e3a;}[_0x1b4be4(0x225)](_0x5d6f9e){const _0x27ed22=_0x1b4be4;return this[_0x27ed22(0x2a5)][_0x27ed22(0x284)](_0x5d6f9e),this[_0x27ed22(0x5d9)](),this;}['onRemoteChangeset'](_0x3b0273){const _0x2aa2f8=_0x1b4be4;throw new Error(_0x2aa2f8(0x569));}[_0x1b4be4(0x23f)](){const _0x110126=_0x1b4be4;throw new Error(_0x110126(0x13f));}[_0x1b4be4(0x39a)](){const _0x369edb=_0x1b4be4;throw new Error(_0x369edb(0x32d));}[_0x1b4be4(0x3be)](){return this;}[_0x1b4be4(0x5bd)](){return this;}[_0x1b4be4(0x4c1)](){const _0x13ab51=_0x1b4be4,{_injector:_0x4c652a,_pendingMutations:_0x5ebe9c,_awaitingChangeset:_0x563e75,unitID:_0x5641e9,_handler:_0x2a591a,type:_0xbfcaaa}=this,_0x511c64=wi(_0x4c652a,_0x5641e9,_0xbfcaaa,_0x563e75,_0x5ebe9c,_0x2a591a);return _0x511c64 instanceof ae?_0x511c64[_0x13ab51(0x2dd)]():(_0x511c64 instanceof ce||_0x511c64 instanceof de)&&_0x511c64[_0x13ab51(0x3f8)](),_0x511c64;}[_0x1b4be4(0x3f8)](){const _0x47d4b3=_0x1b4be4;throw new Error(_0x47d4b3(0x3a2));}};ve=Ce([N(0x5,a[_0x1b4be4(0x5da)](a[_0x1b4be4(0x3a0)])),N(0x6,a[_0x1b4be4(0x5da)](m[_0x1b4be4(0x2de)])),N(0x7,a[_0x1b4be4(0x5da)](exports[_0x1b4be4(0x3ec)])),N(0x8,a['ICommandService']),N(0x9,a['IUndoRedoService'])],ve);let re=class extends Ee{constructor(_0x4b7bbd,_0x17c6dc,_0x5221a9,_0x4049d1,_0x4434c9,_0x575c11,_0x502a1f,_0xe40767,_0x593350,_0x31f141,_0x3dc42a,_0x1fbb3e,_0x153a19,_0x2d9038){const _0x200520=_0x1b4be4;super(_0x4b7bbd,_0x17c6dc,_0x5221a9,_0x4049d1,_0x502a1f,_0x1fbb3e,_0x153a19,_0x593350,_0x31f141),I(this,_0x200520(0x352),_0x200520(0x4a0)),(this[_0x200520(0x513)]=_0x4434c9,this[_0x200520(0x4cf)]=_0x575c11,this[_0x200520(0x232)]=_0xe40767,this[_0x200520(0x4fe)]=_0x3dc42a,this[_0x200520(0x262)]=_0x2d9038);}[_0x1b4be4(0x3d3)](_0x18192f){const _0x24f093=_0x1b4be4;try{const _0x5d4f44=[..._0x18192f,...this[_0x24f093(0x4cf)]],_0x4d5bc4=[this[_0x24f093(0x5c9)]||this[_0x24f093(0x513)]]['filter'](_0x1a1d05=>!!_0x1a1d05);let _0x2642b8,_0xfd4ccf;if(_0x4d5bc4['length']){const _0x18d032=this[_0x24f093(0x262)][_0x24f093(0x3b6)](_0x5d4f44,_0x4d5bc4,!0x1);if(!m[_0x24f093(0x1a2)](_0x18d032))throw _0x18d032[_0x24f093(0x218)];_0x2642b8=_0x18d032[_0x24f093(0x4ad)],_0xfd4ccf=_0x18d032[_0x24f093(0x5bc)];}else _0x2642b8=_0x5d4f44,_0xfd4ccf=[];let _0x2d6ee7=this['_pendingMutations'];_0x2642b8[_0x24f093(0x3ee)](_0x377b8e=>{const _0x4c0ed8=_0x24f093;let _0x28e1b7;if(_0x2d6ee7[_0x4c0ed8(0x1d6)]){const _0x1eb7be=this['_transformService'][_0x4c0ed8(0x409)](_0x377b8e,_0x2d6ee7);if(!m[_0x4c0ed8(0x1de)](_0x1eb7be))throw _0x1eb7be[_0x4c0ed8(0x218)];_0x28e1b7=_0x1eb7be[_0x4c0ed8(0x4ad)],_0x2d6ee7=_0x1eb7be[_0x4c0ed8(0x54e)];}else _0x28e1b7=_0x377b8e;this['_executeRemoteChangeset'](_0x28e1b7);}),this[_0x24f093(0x513)]&&this['_incrementRevisionNumber'](),this[_0x24f093(0x5c9)]&&_0xfd4ccf[_0x24f093(0x1d6)]&&(_0xfd4ccf[0x0][_0x24f093(0x329)]=this[_0x24f093(0x3a6)]());let _0x383365;if(this[_0x24f093(0x5c9)]&&_0x2d6ee7['length']!==0x0)_0x383365=this[_0x24f093(0x232)][_0x24f093(0x2c5)](ce,this[_0x24f093(0x4c2)],this[_0x24f093(0x336)],_0xfd4ccf[0x0],_0x2d6ee7,this[_0x24f093(0x37b)],void 0x0);else{if(this[_0x24f093(0x5c9)]&&_0x2d6ee7[_0x24f093(0x1d6)]===0x0)_0xfd4ccf[0x0][_0x24f093(0x329)]=this[_0x24f093(0x3a6)](),_0x383365=this[_0x24f093(0x232)]['createInstance'](de,this[_0x24f093(0x4c2)],this[_0x24f093(0x336)],_0xfd4ccf[0x0],this[_0x24f093(0x37b)]);else{if(_0x2d6ee7[_0x24f093(0x1d6)]!==0x0){const _0x57850c=this[_0x24f093(0x232)]['createInstance'](ae,this[_0x24f093(0x4c2)],this[_0x24f093(0x336)],_0x2d6ee7,this[_0x24f093(0x37b)]);_0x57850c[_0x24f093(0x2dd)](),_0x383365=_0x57850c;}else _0x383365=this[_0x24f093(0x232)][_0x24f093(0x2c5)](ye,this['unitID'],this[_0x24f093(0x336)],this[_0x24f093(0x37b)]);}}return _0x383365['_updateLocalCache'](),_0x383365;}catch(_0x23a569){return this[_0x24f093(0x4fe)][_0x24f093(0x218)](_0x24f093(0x2c0),_0x24f093(0x13c),_0x23a569),this[_0x24f093(0x232)][_0x24f093(0x2c5)](fe,this[_0x24f093(0x4c2)],this[_0x24f093(0x336)],this[_0x24f093(0x5c9)],this[_0x24f093(0x2a5)],this['_handler'],!0x1);}}[_0x1b4be4(0x3f8)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1b4be4(0x225)](_0x15e741){const _0x55422a=_0x1b4be4;return this[_0x55422a(0x2a5)][_0x55422a(0x284)](_0x15e741),this;}[_0x1b4be4(0x305)](_0x2948cf){const _0x39f70e=_0x1b4be4;return this[_0x39f70e(0x4cf)][_0x39f70e(0x284)](_0x2948cf),this;}[_0x1b4be4(0x23f)](_0x4ed876){const _0x377c8e=_0x1b4be4;if(this['_awaitingChangeset'])return this[_0x377c8e(0x513)]=this['_awaitingChangeset'],this[_0x377c8e(0x5c9)]=null,this;throw new Error(_0x377c8e(0x339));}[_0x1b4be4(0x39a)](_0x308d08){const _0x1b9bc1=_0x1b4be4;return this[_0x1b9bc1(0x556)](!!(_0x308d08!=null&&_0x308d08[_0x1b9bc1(0x58e)]));}[_0x1b4be4(0x3be)](){return this;}[_0x1b4be4(0x5bd)](){const _0x29a4cd=_0x1b4be4;return this[_0x29a4cd(0x232)][_0x29a4cd(0x2c5)](ve,this[_0x29a4cd(0x4c2)],this[_0x29a4cd(0x336)],this['_awaitingChangeset'],this[_0x29a4cd(0x2a5)],this[_0x29a4cd(0x37b)]);}['toggleOnline'](){return this;}['_onConflict'](_0x1d8ea5){const _0x4d70db=_0x1b4be4;return this[_0x4d70db(0x232)][_0x4d70db(0x2c5)](fe,this[_0x4d70db(0x4c2)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],_0x1d8ea5);}};re=Ce([N(0x7,a[_0x1b4be4(0x5da)](a[_0x1b4be4(0x3a0)])),N(0x8,a[_0x1b4be4(0x5da)](m[_0x1b4be4(0x2de)])),N(0x9,a['Inject'](exports['LocalCacheService'])),N(0xa,a[_0x1b4be4(0x509)]),N(0xb,a['ICommandService']),N(0xc,a[_0x1b4be4(0x3ac)]),N(0xd,m[_0x1b4be4(0x1e1)])],re);function wi(_0x15584e,_0xee80b4,_0x26b3ae,_0x14958b,_0x5c7e70,_0x12f9a0){const _0x1e8de5=_0x1b4be4;return _0x14958b&&_0x5c7e70[_0x1e8de5(0x1d6)]?_0x15584e[_0x1e8de5(0x2c5)](ce,_0xee80b4,_0x26b3ae,_0x14958b,_0x5c7e70,_0x12f9a0,void 0x0):_0x14958b?_0x15584e[_0x1e8de5(0x2c5)](de,_0xee80b4,_0x26b3ae,_0x14958b,_0x12f9a0):_0x5c7e70[_0x1e8de5(0x1d6)]?_0x15584e[_0x1e8de5(0x2c5)](ae,_0xee80b4,_0x26b3ae,_0x5c7e70,_0x12f9a0):_0x15584e[_0x1e8de5(0x2c5)](ye,_0xee80b4,_0x26b3ae,_0x12f9a0);}var zn=Object[_0x1b4be4(0x3c9)],Xn=Object[_0x1b4be4(0x3c7)],Mt=(_0x29c52b,_0x2151da,_0x35e37e,_0x2fc6d3)=>{const _0x867103=_0x1b4be4;for(var _0x36847c=_0x2fc6d3>0x1?void 0x0:_0x2fc6d3?Xn(_0x2151da,_0x35e37e):_0x2151da,_0xc40d3b=_0x29c52b[_0x867103(0x1d6)]-0x1,_0x502257;_0xc40d3b>=0x0;_0xc40d3b--)(_0x502257=_0x29c52b[_0xc40d3b])&&(_0x36847c=(_0x2fc6d3?_0x502257(_0x2151da,_0x35e37e,_0x36847c):_0x502257(_0x36847c))||_0x36847c);return _0x2fc6d3&&_0x36847c&&zn(_0x2151da,_0x35e37e,_0x36847c),_0x36847c;},H=(_0x51a8aa,_0x331612)=>(_0x5ce818,_0x275886)=>_0x331612(_0x5ce818,_0x275886,_0x51a8aa);exports[_0x1b4be4(0x485)]=class extends a[_0x1b4be4(0x472)]{constructor(_0x2cc907,_0x3381a0,_0x1887ae,_0x218131,_0x957a05,_0x4ddfa9,_0x541c37,_0x224206,_0x2fa210,_0x3b92c7,_0x5ae51b,_0x2603dc,_0x4d9923){const _0x3bd814=_0x1b4be4;super(),I(this,_0x3bd814(0x5ac),new A[(_0x3bd814(0x28f))](null)),I(this,'state$',this[_0x3bd814(0x5ac)][_0x3bd814(0x581)]()),I(this,'_state'),I(this,_0x3bd814(0x324),!0x1),I(this,_0x3bd814(0x5a7),''),I(this,_0x3bd814(0x16d),0x0),I(this,_0x3bd814(0x2f3),this[_0x3bd814(0x40f)][_0x3bd814(0x33d)](A[_0x3bd814(0x342)](_0x597127=>_0x597127?_0x597127[_0x3bd814(0x352)]:K['OFFLINE']),A['shareReplay'](0x1))),I(this,_0x3bd814(0x3ba),!0x1),I(this,_0x3bd814(0x34f),[]),(this[_0x3bd814(0x4c2)]=_0x2cc907,this[_0x3bd814(0x129)]=_0x3381a0,this[_0x3bd814(0x20c)]=_0x1887ae,this[_0x3bd814(0x232)]=_0x218131,this['_localCacheService']=_0x957a05,this[_0x3bd814(0x2e2)]=_0x4ddfa9,this[_0x3bd814(0x131)]=_0x541c37,this[_0x3bd814(0x24e)]=_0x224206,this['_logService']=_0x2fa210,this[_0x3bd814(0x3a7)]=_0x3b92c7,this['_messageService']=_0x5ae51b,this[_0x3bd814(0x4c5)]=_0x2603dc,this[_0x3bd814(0x127)]=_0x4d9923);}get['state'](){const _0x4fe2b8=_0x1b4be4;return this[_0x4fe2b8(0x394)];}async[_0x1b4be4(0x5af)](){const _0x478c87=_0x1b4be4;if(this[_0x478c87(0x49d)])throw new Error(_0x478c87(0x596));await this[_0x478c87(0x421)]();}[_0x1b4be4(0x2c2)](){const _0xa0d462=_0x1b4be4;return this['_collaborationPaused']=!0x0,a[_0xa0d462(0x130)](()=>{const _0x24acf7=_0xa0d462;this[_0x24acf7(0x324)]=!0x1,this[_0x24acf7(0x214)]();});}[_0x1b4be4(0x341)](_0x263141){this['_state']=_0x263141,this['_state$']['next'](_0x263141);}async[_0x1b4be4(0x421)](){const _0x12b02a=_0x1b4be4;var _0x242dad;this[_0x12b02a(0x341)](await this['_createInitialState']()),this[_0x12b02a(0x127)]&&((_0x242dad=this[_0x12b02a(0x127)])==null||_0x242dad[_0x12b02a(0x240)](this[_0x12b02a(0x4c2)]),this['disposeWithMe'](this[_0x12b02a(0x127)][_0x12b02a(0x1b0)](this[_0x12b02a(0x4c2)])[_0x12b02a(0x559)](_0x5b39d3=>{const _0xd6aadb=_0x12b02a;this['_logService'][_0xd6aadb(0x2b6)](_0xd6aadb(0x55f),_0xd6aadb(0x514),_0x5b39d3),_0x5b39d3===yi[_0xd6aadb(0x4e0)]?(this[_0xd6aadb(0x371)]['show']({'content':this[_0xd6aadb(0x131)]['t'](_0xd6aadb(0x20e)),'type':Ie[_0xd6aadb(0x2a8)]['Warning']}),this['_permissionService'][_0xd6aadb(0x4dd)](new k[(_0xd6aadb(0x550))](this[_0xd6aadb(0x4c2)])['id'],!0x1),this['_permissionService'][_0xd6aadb(0x59b)](!0x1)):(this[_0xd6aadb(0x4c5)][_0xd6aadb(0x4dd)](new k[(_0xd6aadb(0x550))](this[_0xd6aadb(0x4c2)])['id'],!0x0),this[_0xd6aadb(0x4c5)][_0xd6aadb(0x59b)](!0x0));})));let _0x5d9999=!0x1;return this['disposeWithMe'](this['session'][_0x12b02a(0x29d)]['subscribe'](_0x212939=>{const _0x4b48fa=_0x12b02a;_0x212939===ne[_0x4b48fa(0x163)]?this[_0x4b48fa(0x29f)](_0x5d9999):_0x212939===ne['OFFLINE']&&(_0x5d9999=!0x0,this[_0x4b48fa(0x45c)]());})),this['disposeWithMe'](this[_0x12b02a(0x129)][_0x12b02a(0x35f)][_0x12b02a(0x559)](_0x5581dc=>{const _0x114a0d=_0x12b02a;try{switch(_0x5581dc[_0x114a0d(0x54f)]){case m[_0x114a0d(0x289)][_0x114a0d(0x2b8)]:{this[_0x114a0d(0x349)](m[_0x114a0d(0x330)](_0x5581dc['data']));break;}case m[_0x114a0d(0x289)][_0x114a0d(0x486)]:{this[_0x114a0d(0x5d1)](_0x5581dc['data']);break;}case m[_0x114a0d(0x289)][_0x114a0d(0x386)]:{this['_onRemoteRejected']();break;}case m['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:{this[_0x114a0d(0x443)](_0x5581dc[_0x114a0d(0x464)]);break;}case m[_0x114a0d(0x289)][_0x114a0d(0x1d2)]:{this['_onFetchMissResult'](_0x5581dc[_0x114a0d(0x464)][_0x114a0d(0x227)][_0x114a0d(0x342)](_0x37a3f7=>m[_0x114a0d(0x330)](_0x37a3f7)));break;}case m['CollaborationEvent']['PERMISSION_REJ']:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x23aec8){throw console[_0x114a0d(0x218)](_0x114a0d(0x38f),_0x23aec8),_0x23aec8;}})),this['_state'];}['_unlockTransition'](){const _0x1f7fa7=_0x1b4be4;this[_0x1f7fa7(0x3ba)]=!0x1;}['_lockTransition'](){const _0x321e38=_0x1b4be4;if(this[_0x321e38(0x3ba)])throw new Error('[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.');this[_0x321e38(0x3ba)]=!0x0;}[_0x1b4be4(0x35d)](_0x3fc15f){const _0x188bfb=_0x1b4be4;this[_0x188bfb(0x261)](),this[_0x188bfb(0x341)](this[_0x188bfb(0x394)][_0x188bfb(0x225)](_0x3fc15f)),this['_unlockTransition']();}[_0x1b4be4(0x349)](_0x3196af){const _0x3326d2=_0x1b4be4;if(!(_0x3196af['revision']<=this[_0x3326d2(0x24e)][_0x3326d2(0x4c7)](this['unitID']))){if(this[_0x3326d2(0x324)]){this[_0x3326d2(0x34f)]['push'](_0x3196af);return;}this['_applyRemoteChangeset'](_0x3196af);}}[_0x1b4be4(0x214)](){const _0x23d4f7=_0x1b4be4;this[_0x23d4f7(0x34f)][_0x23d4f7(0x3ee)](_0x5a9e56=>this[_0x23d4f7(0x152)](_0x5a9e56)),this[_0x23d4f7(0x34f)]=[];}[_0x1b4be4(0x152)](_0x5a5180){const _0x4fef98=_0x1b4be4,_0x32ec5f=this['_compressMutationService'][_0x4fef98(0x32f)][_0x4fef98(0x516)](this[_0x4fef98(0x2e2)][_0x4fef98(0x32f)][_0x4fef98(0x20d)]()[_0x4fef98(0x50c)])(_0x5a5180['mutations'],null)||_0x5a5180[_0x4fef98(0x1ec)],_0x443abf={..._0x5a5180,'mutations':_0x32ec5f};this['_lockTransition'](),this[_0x4fef98(0x341)](this[_0x4fef98(0x394)][_0x4fef98(0x305)](_0x443abf)),this[_0x4fef98(0x4b2)]();}[_0x1b4be4(0x5d1)](_0x3c895e){const _0x197729=_0x1b4be4;this[_0x197729(0x261)](),this['_updateState'](this[_0x197729(0x394)]['onRemoteAck'](_0x3c895e)),this[_0x197729(0x4b2)]();}[_0x1b4be4(0x479)](_0x2a744a){const _0x2aa270=_0x1b4be4;this[_0x2aa270(0x261)](),this[_0x2aa270(0x341)](this['_state'][_0x2aa270(0x39a)](_0x2a744a)),this[_0x2aa270(0x4b2)]();}['_onRemoteRetry'](_0x1cb959){const _0x12fd81=_0x1b4be4;this[_0x12fd81(0x261)](),this[_0x12fd81(0x341)](this[_0x12fd81(0x394)][_0x12fd81(0x3be)](_0x1cb959)),this[_0x12fd81(0x4b2)]();}[_0x1b4be4(0x22e)](_0xc37926){const _0x482eb2=_0x1b4be4;if(!(this[_0x482eb2(0x394)]instanceof re))throw new TypeError(_0x482eb2(0x199));const _0x45e74d=_0xc37926['map'](_0x190b5f=>{const _0x446931=_0x482eb2,_0x925ee5=this['_compressMutationService'][_0x446931(0x32f)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x446931(0x32f)][_0x446931(0x20d)]()[_0x446931(0x50c)])(_0x190b5f['mutations'],null)||_0x190b5f[_0x446931(0x1ec)];return{..._0x190b5f,'mutations':_0x925ee5};});this[_0x482eb2(0x261)](),this['_updateState'](this[_0x482eb2(0x394)][_0x482eb2(0x3d3)](_0x45e74d)),this['_unlockTransition']();}[_0x1b4be4(0x45c)](){const _0x2f9ae9=_0x1b4be4;this[_0x2f9ae9(0x261)](),this['_updateState'](this[_0x2f9ae9(0x394)][_0x2f9ae9(0x5bd)]()),this[_0x2f9ae9(0x4b2)]();}['_toggleOnline'](_0xd8e87f=!0x1){const _0xdadd02=_0x1b4be4;this[_0xdadd02(0x261)](),this[_0xdadd02(0x341)](this[_0xdadd02(0x394)]['toggleOnline']()),this['_unlockTransition']();const _0x2674a5=this['_state'];_0xd8e87f&&_0x2674a5 instanceof ye&&(this[_0xdadd02(0x261)](),this[_0xdadd02(0x341)](_0x2674a5['fetchMiss']()),this[_0xdadd02(0x4b2)]());}async[_0x1b4be4(0x156)](){return new Promise(_0x112a3d=>{const _0x4e3190=_0x446a;this[_0x4e3190(0x129)]['sessionStatus$'][_0x4e3190(0x33d)](A['take'](0x1))[_0x4e3190(0x559)](async _0x504756=>{const _0x57ebaa=_0x4e3190;_0x112a3d(await this[_0x57ebaa(0x571)](_0x504756===ne['ONLINE']));});});}[_0x1b4be4(0x403)](){const _0x21c56a=this['unitID'];return{'onStateChange':(_0xeffef6,_0x34c6a2)=>{const _0x1a1c31=_0x446a;if(_0xeffef6!==this[_0x1a1c31(0x394)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0xeffef6['status']+_0x1a1c31(0x207)+_0x34c6a2[_0x1a1c31(0x352)]+'\x0aCurrent:\x20'+this[_0x1a1c31(0x394)][_0x1a1c31(0x352)]);this[_0x1a1c31(0x341)](_0x34c6a2);},'onSendChangeset':_0x2b4c99=>{const _0x46c3b1=_0x446a;_0x2b4c99['sid']||(_0x2b4c99['sid']=this[_0x46c3b1(0x5a7)],_0x2b4c99[_0x46c3b1(0x203)]=++this[_0x46c3b1(0x16d)]);const _0x5a77bf={'eventID':m[_0x46c3b1(0x289)][_0x46c3b1(0x35a)],'data':{'unitID':_0x2b4c99[_0x46c3b1(0x4c2)],'unitType':this[_0x46c3b1(0x20c)],'changeset':_0x2b4c99,'memberID':this[_0x46c3b1(0x129)]['getMemberID']()}};this[_0x46c3b1(0x129)][_0x46c3b1(0x430)](_0x5a77bf,this['unitID']);},'onMissingChangesets':({from:_0x307597,to:_0x4fb084})=>{const _0x50141c=_0x446a;this['_logService'][_0x50141c(0x2b6)](_0x50141c(0x55f),'fetching\x20missing\x20changesets\x20from\x20'+_0x307597+_0x50141c(0x469)+_0x4fb084);const _0x3fdd85={'eventID':m[_0x50141c(0x289)][_0x50141c(0x1b1)],'data':{'unitID':_0x21c56a,'unitType':this[_0x50141c(0x20c)],'from':_0x307597,'to':_0x4fb084}};this['session']['send'](_0x3fdd85,this[_0x50141c(0x4c2)]);}};}async[_0x1b4be4(0x571)](_0x4fd171){const _0x78e52b=_0x1b4be4;var _0x1d3a8b,_0x2ccfd5;const _0x734d8=await this[_0x78e52b(0x2d7)][_0x78e52b(0x120)](this[_0x78e52b(0x4c2)]),_0x50401e=(_0x1d3a8b=_0x734d8==null?void 0x0:_0x734d8['mutations'])!=null?_0x1d3a8b:[],_0x23f6aa=(_0x2ccfd5=_0x734d8==null?void 0x0:_0x734d8[_0x78e52b(0x425)])!=null?_0x2ccfd5:null,_0x4e5369=!!(_0x23f6aa!=null&&_0x23f6aa[_0x78e52b(0x36f)])&&!!(_0x23f6aa!=null&&_0x23f6aa[_0x78e52b(0x203)]);this['_changesetSessionId']=_0x4e5369?_0x23f6aa[_0x78e52b(0x36f)]:Rn(),this[_0x78e52b(0x16d)]=_0x4e5369?_0x23f6aa[_0x78e52b(0x203)]:0x0;const _0x5dd3aa=this['unitID'];try{this[_0x78e52b(0x39c)](_0x23f6aa,_0x50401e);}catch(_0x4ce214){this['_logService'][_0x78e52b(0x218)](_0x4ce214);}const _0x2c46e1=this[_0x78e52b(0x403)]();if(_0x4fd171){const _0x369639=wi(this[_0x78e52b(0x232)],_0x5dd3aa,this[_0x78e52b(0x20c)],_0x23f6aa,_0x50401e,_0x2c46e1);return _0x369639 instanceof ae?_0x369639[_0x78e52b(0x2dd)]():(_0x369639 instanceof ce||_0x369639 instanceof de)&&_0x369639[_0x78e52b(0x3f8)](),_0x369639;}return this[_0x78e52b(0x232)][_0x78e52b(0x2c5)](ve,_0x5dd3aa,this[_0x78e52b(0x20c)],_0x23f6aa,_0x50401e,_0x2c46e1);}[_0x1b4be4(0x39c)](_0x465944,_0x846021){const _0x4e2512=_0x1b4be4;var _0x3d2bd9,_0x951cbe;const _0x2e1c3e=this[_0x4e2512(0x2e2)][_0x4e2512(0x32f)][_0x4e2512(0x516)](this[_0x4e2512(0x2e2)]['interceptor'][_0x4e2512(0x20d)]()[_0x4e2512(0x50c)]);(_0x3d2bd9=_0x2e1c3e((_0x465944==null?void 0x0:_0x465944[_0x4e2512(0x1ec)])||[],null))==null||_0x3d2bd9['forEach'](_0x240fee=>this['_commandService'][_0x4e2512(0x4a8)](_0x240fee['id'],_0x240fee['params'])),(_0x951cbe=_0x2e1c3e(_0x846021||[],null))==null||_0x951cbe['forEach'](_0x284ac0=>this[_0x4e2512(0x3a7)][_0x4e2512(0x4a8)](_0x284ac0['id'],_0x284ac0['params']));}},exports[_0x1b4be4(0x485)]=Mt([H(0x3,a['Inject'](a[_0x1b4be4(0x3a0)])),H(0x4,a[_0x1b4be4(0x5da)](exports[_0x1b4be4(0x3ec)])),H(0x5,a[_0x1b4be4(0x5da)](m[_0x1b4be4(0x46c)])),H(0x6,a[_0x1b4be4(0x5da)](a[_0x1b4be4(0x138)])),H(0x7,a[_0x1b4be4(0x5da)](m[_0x1b4be4(0x2de)])),H(0x8,a[_0x1b4be4(0x509)]),H(0x9,a[_0x1b4be4(0x58f)]),H(0xa,ee[_0x1b4be4(0x182)]),H(0xb,a['IPermissionService']),H(0xc,a[_0x1b4be4(0x3ab)](ot))],exports[_0x1b4be4(0x485)]),exports[_0x1b4be4(0x5bb)]=class extends exports[_0x1b4be4(0x485)]{constructor(_0x4c323d,_0x4de1b5,_0x20c3af,_0x137000,_0x277f28,_0x1b1aeb,_0x171a56,_0x49a5a0,_0x42d377,_0x4f1f13,_0x575aa8,_0x27b747,_0x39bfd2,_0x541b46,_0x26310f,_0x11d9cc,_0x12db68,_0x251f6f){const _0x36f856=_0x1b4be4;super(_0x4c323d,_0x20c3af,_0x4de1b5,_0x137000,_0x277f28,_0x1b1aeb,_0x171a56,_0x49a5a0,_0x541b46,_0x26310f,_0x11d9cc,_0x12db68,_0x251f6f),this[_0x36f856(0x4c2)]=_0x4c323d,this[_0x36f856(0x336)]=_0x4de1b5,this[_0x36f856(0x204)]=_0x42d377,this[_0x36f856(0x534)]=_0x4f1f13,this[_0x36f856(0x4be)]=_0x575aa8,this['_docTransformSelectionsService']=_0x27b747,this['_docSyncEditingCollabCursorService']=_0x39bfd2;}['_createHandler'](){const _0x5bbbd6=_0x1b4be4,_0x55b771=super['_createHandler']();return _0x55b771[_0x5bbbd6(0x14e)]=_0x24f713=>this['_docTransformIMECacheService'][_0x5bbbd6(0x200)](_0x24f713),_0x55b771['onTransformState']=_0x4ea496=>this[_0x5bbbd6(0x4be)][_0x5bbbd6(0x3bb)](_0x4ea496),_0x55b771['onTransformSelections']=_0x57a16d=>this['_docTransformSelectionsService']['transformSelections'](_0x57a16d),_0x55b771['onSyncEditingCollabCursor']=_0x40fc05=>this[_0x5bbbd6(0x301)][_0x5bbbd6(0x286)](_0x40fc05),_0x55b771[_0x5bbbd6(0x14c)]=_0xa828d2=>this[_0x5bbbd6(0x534)][_0x5bbbd6(0x18d)](_0xa828d2),_0x55b771[_0x5bbbd6(0x3ef)]=_0x11c05f=>this[_0x5bbbd6(0x4be)][_0x5bbbd6(0x18d)](_0x11c05f),_0x55b771;}async['_init'](){const _0x2f436b=_0x1b4be4,_0x3b9ca3=await super['_init']();return this['disposeWithMe'](this['_docStateChangeManagerService'][_0x2f436b(0x279)][_0x2f436b(0x33d)](A['takeUntil'](this[_0x2f436b(0x372)]))[_0x2f436b(0x559)](_0x4d9852=>{const _0x157034=_0x2f436b;if(_0x4d9852==null)return;const {unitId:_0x4f2a3f,redoState:_0x356062,commandId:_0x1f0236}=_0x4d9852;if(_0x4f2a3f!==this[_0x157034(0x4c2)])return;const _0x336077={'id':_0x1f0236,'type':a['CommandType']['MUTATION'],'params':{'unitId':_0x4f2a3f,'actions':_0x356062['actions'],'textRanges':null}};this[_0x157034(0x35d)](_0x336077);})),this[_0x2f436b(0x424)](this[_0x2f436b(0x3a7)][_0x2f436b(0x5be)]((_0x52f5ea,_0x59801a)=>{const _0x2fe7a0=_0x2f436b;if(_0x52f5ea[_0x2fe7a0(0x336)]!==a[_0x2fe7a0(0x467)][_0x2fe7a0(0x2ee)]||_0x59801a!=null&&_0x59801a[_0x2fe7a0(0x343)]||_0x59801a!=null&&_0x59801a['onlyLocal']||_0x52f5ea['id']===ge[_0x2fe7a0(0x543)]['id'])return;const _0x26a578=_0x52f5ea[_0x2fe7a0(0x269)];if((_0x26a578==null?void 0x0:_0x26a578[_0x2fe7a0(0x5d3)])!==this[_0x2fe7a0(0x4c2)])return;const _0x10659a=_0x52f5ea,_0x49f688=this[_0x2fe7a0(0x2e2)][_0x2fe7a0(0x32f)][_0x2fe7a0(0x516)](this[_0x2fe7a0(0x2e2)][_0x2fe7a0(0x32f)][_0x2fe7a0(0x20d)]()[_0x2fe7a0(0x3de)])([_0x10659a],null)||[_0x10659a];this[_0x2fe7a0(0x35d)](_0x49f688[0x0]);})),_0x3b9ca3;}},exports[_0x1b4be4(0x5bb)]=Mt([H(0x3,a[_0x1b4be4(0x5da)](a['Injector'])),H(0x4,a['Inject'](exports[_0x1b4be4(0x3ec)])),H(0x5,a[_0x1b4be4(0x5da)](m[_0x1b4be4(0x46c)])),H(0x6,a['Inject'](a[_0x1b4be4(0x138)])),H(0x7,a[_0x1b4be4(0x5da)](m[_0x1b4be4(0x2de)])),H(0x8,a['Inject'](J[_0x1b4be4(0x53c)])),H(0x9,a[_0x1b4be4(0x5da)](Je)),H(0xa,a[_0x1b4be4(0x5da)](Qe)),H(0xb,a[_0x1b4be4(0x5da)](et)),H(0xc,a[_0x1b4be4(0x5da)](Ut)),H(0xd,a[_0x1b4be4(0x509)]),H(0xe,a[_0x1b4be4(0x58f)]),H(0xf,ee[_0x1b4be4(0x182)]),H(0x10,a[_0x1b4be4(0x56b)]),H(0x11,a[_0x1b4be4(0x3ab)](ot))],exports[_0x1b4be4(0x5bb)]),exports[_0x1b4be4(0x3e2)]=class extends exports['CollaborationEntity']{constructor(_0x3cb209,_0x82d47b,_0x11dd43,_0x4b4ca8,_0x1a6e42,_0x147676,_0x2a5a07,_0x4286c6,_0x11a6f2,_0x240874,_0x1f41c5,_0x5d0373,_0x5a99ac,_0x3c01b9){const _0x889cc8=_0x1b4be4;super(_0x3cb209,_0x11dd43,_0x82d47b,_0x4b4ca8,_0x1a6e42,_0x147676,_0x2a5a07,_0x4286c6,_0x240874,_0x1f41c5,_0x5d0373,_0x5a99ac,_0x3c01b9),this[_0x889cc8(0x4c2)]=_0x3cb209,this['type']=_0x82d47b,this[_0x889cc8(0x2c1)]=_0x11a6f2;}[_0x1b4be4(0x403)](){const _0x530760=_0x1b4be4,_0x5d99c5=super[_0x530760(0x403)]();return _0x5d99c5[_0x530760(0x442)]=_0x2a541f=>this[_0x530760(0x2c1)][_0x530760(0x55a)](_0x2a541f),_0x5d99c5;}async[_0x1b4be4(0x421)](){const _0xcd3ca5=_0x1b4be4,_0x2b66bb=await super[_0xcd3ca5(0x421)]();return this[_0xcd3ca5(0x424)](this[_0xcd3ca5(0x3a7)][_0xcd3ca5(0x5be)]((_0x1a7a87,_0x3f3b94)=>{const _0x49bdf4=_0xcd3ca5;if(_0x1a7a87[_0x49bdf4(0x336)]!==a[_0x49bdf4(0x467)][_0x49bdf4(0x2ee)]||_0x3f3b94!=null&&_0x3f3b94['fromCollab']||_0x3f3b94!=null&&_0x3f3b94[_0x49bdf4(0x277)])return;const _0x33098d=_0x1a7a87[_0x49bdf4(0x269)];if((_0x33098d==null?void 0x0:_0x33098d['unitId'])!==this['unitID'])return;const _0x4fffa2=_0x1a7a87,_0x30b741=this['_compressMutationService'][_0x49bdf4(0x32f)][_0x49bdf4(0x516)](this['_compressMutationService'][_0x49bdf4(0x32f)][_0x49bdf4(0x20d)]()[_0x49bdf4(0x3de)])([_0x4fffa2],null)||[_0x4fffa2];this[_0x49bdf4(0x35d)](_0x30b741[0x0]);})),_0x2b66bb;}},exports[_0x1b4be4(0x3e2)]=Mt([H(0x3,a[_0x1b4be4(0x5da)](a['Injector'])),H(0x4,a['Inject'](exports[_0x1b4be4(0x3ec)])),H(0x5,a[_0x1b4be4(0x5da)](m[_0x1b4be4(0x46c)])),H(0x6,a[_0x1b4be4(0x5da)](a['LocaleService'])),H(0x7,a['Inject'](m[_0x1b4be4(0x2de)])),H(0x8,a[_0x1b4be4(0x5da)](Ze)),H(0x9,a['ILogService']),H(0xa,a[_0x1b4be4(0x58f)]),H(0xb,ee[_0x1b4be4(0x182)]),H(0xc,a[_0x1b4be4(0x56b)]),H(0xd,a[_0x1b4be4(0x3ab)](ot))],exports['SheetCollaborationEntity']);var Jn=Object[_0x1b4be4(0x3c9)],Zn=Object['getOwnPropertyDescriptor'],Qn=(_0x5d19d8,_0x5ee42b,_0x506982,_0x4f84cb)=>{for(var _0x24db39=_0x4f84cb>0x1?void 0x0:_0x4f84cb?Zn(_0x5ee42b,_0x506982):_0x5ee42b,_0x38e088=_0x5d19d8['length']-0x1,_0x28eb9e;_0x38e088>=0x0;_0x38e088--)(_0x28eb9e=_0x5d19d8[_0x38e088])&&(_0x24db39=(_0x4f84cb?_0x28eb9e(_0x5ee42b,_0x506982,_0x24db39):_0x28eb9e(_0x24db39))||_0x24db39);return _0x4f84cb&&_0x24db39&&Jn(_0x5ee42b,_0x506982,_0x24db39),_0x24db39;},ut=(_0x2af15a,_0x836f3c)=>(_0x5a73cf,_0x190182)=>_0x836f3c(_0x5a73cf,_0x190182,_0x2af15a);exports[_0x1b4be4(0x3d4)]=class extends a[_0x1b4be4(0x472)]{constructor(_0x415f81,_0x2ee33e,_0x32b8a7){const _0xe40b02=_0x1b4be4;super(),I(this,_0xe40b02(0x3e8),new Map()),I(this,_0xe40b02(0x4d4),new A[(_0xe40b02(0x1a3))]()),(this[_0xe40b02(0x232)]=_0x415f81,this[_0xe40b02(0x1fd)]=_0x2ee33e,this[_0xe40b02(0x471)]=_0x32b8a7,this[_0xe40b02(0x421)]());}[_0x1b4be4(0x576)](){const _0x215c7a=_0x1b4be4;super[_0x215c7a(0x576)](),this[_0x215c7a(0x3e8)][_0x215c7a(0x3ee)](_0x46bdad=>_0x46bdad[_0x215c7a(0x576)]()),this['_entities'][_0x215c7a(0x162)]();}[_0x1b4be4(0x2c8)](_0x179f1b){const _0x58a56a=_0x1b4be4;var _0x2753cf;return(_0x2753cf=this[_0x58a56a(0x3e8)][_0x58a56a(0x35b)](_0x179f1b))!=null?_0x2753cf:null;}[_0x1b4be4(0x56c)](_0x21a376){const _0x3e09ac=_0x1b4be4,_0xc5b76e=this[_0x3e09ac(0x2c8)](_0x21a376);return _0xc5b76e?A['of'](_0xc5b76e):this['_entityInit$'][_0x3e09ac(0x33d)](V[_0x3e09ac(0x316)](_0x2924d6=>_0x2924d6['unitID']===_0x21a376));}[_0x1b4be4(0x421)](){const _0x3417e6=_0x1b4be4;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x3417e6(0x577)][_0x3417e6(0x5b1)])[_0x3417e6(0x33d)](A['takeUntil'](this[_0x3417e6(0x372)]),V['delay'](0x10))[_0x3417e6(0x559)](async _0x406320=>{const _0x4ef198=_0x3417e6,_0x3d03fa=_0x406320['getUnitId'](),_0x318625=await this[_0x4ef198(0x5db)](_0x3d03fa,ie['UNIVER_SHEET']);this[_0x4ef198(0x3e8)]['set'](_0x3d03fa,_0x318625);}),this[_0x3417e6(0x471)]['getTypeOfUnitAdded$'](a[_0x3417e6(0x577)][_0x3417e6(0x435)])[_0x3417e6(0x33d)](A['takeUntil'](this[_0x3417e6(0x372)]),V['delay'](0x10))[_0x3417e6(0x33d)](V[_0x3417e6(0x316)](_0x54edfd=>!_0x54edfd[_0x3417e6(0x133)]()[_0x3417e6(0x57a)]('__')))[_0x3417e6(0x559)](async _0x5b71c0=>{const _0xa5c9=_0x3417e6,_0x17d6d4=_0x5b71c0[_0xa5c9(0x133)](),_0x244f34=await this[_0xa5c9(0x5db)](_0x17d6d4,ie[_0xa5c9(0x435)]);this[_0xa5c9(0x3e8)][_0xa5c9(0x5c1)](_0x17d6d4,_0x244f34);}),A[_0x3417e6(0x351)](this[_0x3417e6(0x471)][_0x3417e6(0x5a1)](a[_0x3417e6(0x577)][_0x3417e6(0x5b1)]),this[_0x3417e6(0x471)][_0x3417e6(0x5a1)](a[_0x3417e6(0x577)][_0x3417e6(0x435)]))[_0x3417e6(0x33d)](A[_0x3417e6(0x273)](this['dispose$']))[_0x3417e6(0x559)](_0x16f548=>{const _0x33bed9=_0x3417e6,_0x1bf6ef=_0x16f548[_0x33bed9(0x133)](),_0x30189b=this['_entities'][_0x33bed9(0x35b)](_0x1bf6ef);_0x30189b&&(_0x30189b[_0x33bed9(0x576)](),this['_entities'][_0x33bed9(0x192)](_0x1bf6ef));});}async[_0x1b4be4(0x5db)](_0x14437c,_0x564268){const _0xbf23e1=_0x1b4be4,_0x1247c8=await this[_0xbf23e1(0x1fd)]['requireSession'](_0x14437c),_0x3b2151=this[_0xbf23e1(0x232)][_0xbf23e1(0x2c5)](this[_0xbf23e1(0x150)](_0x564268),_0x14437c,_0x564268,_0x1247c8);return await _0x3b2151['init'](),this[_0xbf23e1(0x4d4)][_0xbf23e1(0x258)](_0x3b2151),_0x3b2151;}[_0x1b4be4(0x150)](_0x42d594){const _0x1773f5=_0x1b4be4;switch(_0x42d594){case ie[_0x1773f5(0x435)]:return exports[_0x1773f5(0x5bb)];case ie[_0x1773f5(0x5b1)]:return exports[_0x1773f5(0x3e2)];default:throw new Error(_0x1773f5(0x27b)+_0x42d594);}}},exports[_0x1b4be4(0x3d4)]=Qn([ut(0x0,a[_0x1b4be4(0x5da)](a[_0x1b4be4(0x3a0)])),ut(0x1,a[_0x1b4be4(0x5da)](exports[_0x1b4be4(0x4bb)])),ut(0x2,a[_0x1b4be4(0x5e4)])],exports[_0x1b4be4(0x3d4)]);var er=Object[_0x1b4be4(0x3c9)],tr=Object[_0x1b4be4(0x3c7)],ir=(_0x380e21,_0x3e8e03,_0x5e3973,_0x1b6e58)=>{const _0x8cc567=_0x1b4be4;for(var _0x18653d=_0x1b6e58>0x1?void 0x0:_0x1b6e58?tr(_0x3e8e03,_0x5e3973):_0x3e8e03,_0x3d2e28=_0x380e21[_0x8cc567(0x1d6)]-0x1,_0x4c96d3;_0x3d2e28>=0x0;_0x3d2e28--)(_0x4c96d3=_0x380e21[_0x3d2e28])&&(_0x18653d=(_0x1b6e58?_0x4c96d3(_0x3e8e03,_0x5e3973,_0x18653d):_0x4c96d3(_0x18653d))||_0x18653d);return _0x1b6e58&&_0x18653d&&er(_0x3e8e03,_0x5e3973,_0x18653d),_0x18653d;},Gt=(_0x31fa60,_0x5be31d)=>(_0x4eb31b,_0x54c556)=>_0x5be31d(_0x4eb31b,_0x54c556,_0x31fa60);let tt=class extends a[_0x1b4be4(0x472)]{constructor(_0x3f375d,_0x4359cc){const _0x258c4e=_0x1b4be4;super(),this[_0x258c4e(0x501)]=_0x3f375d,this[_0x258c4e(0x2d6)]=_0x4359cc,this['_init']();}['_init'](){const _0x5de1f0=_0x1b4be4,_0x21b10b=this;this[_0x5de1f0(0x424)](this[_0x5de1f0(0x501)]['addClipboardHook']({'onBeforePasteImage':async _0x5739c9=>{const _0x466518=_0x5de1f0,_0x34c14c=await _0x21b10b['_imageIoService'][_0x466518(0x3c3)](_0x5739c9);return _0x34c14c?{'source':_0x34c14c['source'],'imageSourceType':_0x34c14c[_0x466518(0x4b7)]}:null;}}));}};tt=ir([Gt(0x0,J[_0x1b4be4(0x2d3)]),Gt(0x1,te[_0x1b4be4(0x497)])],tt);const Yt=[_0x1b4be4(0x506),_0x1b4be4(0x24f),_0x1b4be4(0x50f),'red300',_0x1b4be4(0x3e7),_0x1b4be4(0x565)];class At extends a[_0x1b4be4(0x3a8)]{constructor(){const _0x56addb=_0x1b4be4;super(...arguments),I(this,_0x56addb(0x32b),new Map()),I(this,_0x56addb(0x368),0x0);}[_0x1b4be4(0x311)](_0xa307d7){const _0x375d86=_0x1b4be4;if(this[_0x375d86(0x32b)][_0x375d86(0x1b5)](_0xa307d7))return this[_0x375d86(0x32b)]['get'](_0xa307d7);const _0x43d287=Yt[this['_colorIndex']];return this['_colorIndex']=(this[_0x375d86(0x368)]+0x1)%Yt[_0x375d86(0x1d6)],this[_0x375d86(0x32b)][_0x375d86(0x5c1)](_0xa307d7,_0x43d287),_0x43d287;}}var nr=Object[_0x1b4be4(0x3c9)],rr=Object[_0x1b4be4(0x3c7)],sr=(_0x5e845f,_0x488326,_0x3f31f3,_0x353b85)=>{const _0x5577b1=_0x1b4be4;for(var _0xba50dc=_0x353b85>0x1?void 0x0:_0x353b85?rr(_0x488326,_0x3f31f3):_0x488326,_0x991d2a=_0x5e845f[_0x5577b1(0x1d6)]-0x1,_0x50aa31;_0x991d2a>=0x0;_0x991d2a--)(_0x50aa31=_0x5e845f[_0x991d2a])&&(_0xba50dc=(_0x353b85?_0x50aa31(_0x488326,_0x3f31f3,_0xba50dc):_0x50aa31(_0xba50dc))||_0xba50dc);return _0x353b85&&_0xba50dc&&nr(_0x488326,_0x3f31f3,_0xba50dc),_0xba50dc;},Se=(_0x350e8d,_0x5903e3)=>(_0x581619,_0x1b4f13)=>_0x5903e3(_0x581619,_0x1b4f13,_0x350e8d);const or=0x12c,ar=0x64;let Et=class extends a[_0x1b4be4(0x472)]{constructor(_0x11c08b,_0x6a3495,_0x4c6993,_0x59e89a,_0x5e818e,_0x55160f,_0x51667c,_0x5df5ae,_0x36b7e1){const _0x1580f0=_0x1b4be4;super(),I(this,'_online',!0x1),I(this,'_init',!0x1),I(this,'_cursorInfo$',new A['BehaviorSubject'](new Map())),I(this,'cursorInfo$',this[_0x1580f0(0x590)][_0x1580f0(0x581)]()),I(this,'_roomMembers$',new A['BehaviorSubject']([])),I(this,'roomMembers$',this[_0x1580f0(0x518)][_0x1580f0(0x33d)](A[_0x1580f0(0x46d)](or))),I(this,'_updateLocalCursor',a['debounce'](_0x55d737=>{const _0x4a364c=_0x1580f0,_0x2a8e19={'eventID':m[_0x4a364c(0x289)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4a364c(0x4c2)],'memberID':this[_0x4a364c(0x18c)][_0x4a364c(0x3af)](),'selection':Oi(_0x55d737)}};this[_0x4a364c(0x18c)][_0x4a364c(0x430)](_0x2a8e19,this[_0x4a364c(0x4c2)]);},ar)),(this[_0x1580f0(0x4c2)]=_0x11c08b,this[_0x1580f0(0x18c)]=_0x6a3495,this['_injector']=_0x4c6993,this[_0x1580f0(0x13a)]=_0x59e89a,this['_memberService']=_0x5e818e,this[_0x1580f0(0x272)]=_0x55160f,this['_transformService']=_0x51667c,this[_0x1580f0(0x471)]=_0x5df5ae,this[_0x1580f0(0x3a7)]=_0x36b7e1);}get[_0x1b4be4(0x1cf)](){const _0x10157f=_0x1b4be4;return this[_0x10157f(0x590)][_0x10157f(0x51e)]();}get[_0x1b4be4(0x147)](){return this['_roomMembers$']['getValue']();}[_0x1b4be4(0x576)](){const _0x4cd124=_0x1b4be4;super[_0x4cd124(0x576)](),this[_0x4cd124(0x590)][_0x4cd124(0x258)](new Map()),this[_0x4cd124(0x590)][_0x4cd124(0x169)](),this[_0x4cd124(0x518)]['next']([]),this[_0x4cd124(0x518)][_0x4cd124(0x169)]();}[_0x1b4be4(0x5af)](){const _0x53b92a=_0x1b4be4;this[_0x53b92a(0x421)]||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x53b92a(0x33d)](A[_0x53b92a(0x273)](this[_0x53b92a(0x372)]))['subscribe'](_0x182890=>{const _0x458b9b=_0x53b92a;_0x182890===ne[_0x458b9b(0x163)]?this[_0x458b9b(0x29f)]():this[_0x458b9b(0x45c)]();}),this[_0x53b92a(0x18c)][_0x53b92a(0x35f)][_0x53b92a(0x33d)](A[_0x53b92a(0x273)](this['dispose$']))[_0x53b92a(0x559)](_0x10d6ee=>{const _0x2f5591=_0x53b92a,_0x525583=_0x10d6ee[_0x2f5591(0x54f)];_0x525583===m[_0x2f5591(0x289)][_0x2f5591(0x4f1)]&&this[_0x2f5591(0x3e0)](_0x10d6ee),_0x525583===m['CollaborationEvent']['USERS_LEAVE']&&this[_0x2f5591(0x468)](_0x10d6ee);}),this['disposeWithMe'](this['_commandService'][_0x53b92a(0x5be)](_0x1fab75=>{const _0x26c699=_0x53b92a,_0x14283c=_0x1fab75[_0x26c699(0x269)];_0x14283c!=null&&this['_online']&&_0x1fab75['id']===ge[_0x26c699(0x2b7)]['id']&&_0x14283c[_0x26c699(0x5d3)]===this[_0x26c699(0x4c2)]&&_0x14283c[_0x26c699(0x3a9)]===!0x1&&_0x14283c[_0x26c699(0x171)][_0x26c699(0x1d6)]>0x0&&this[_0x26c699(0x408)](_0x14283c['ranges']);})),this[_0x53b92a(0x272)]['collabCursorState$'][_0x53b92a(0x33d)](A[_0x53b92a(0x273)](this[_0x53b92a(0x372)]))[_0x53b92a(0x559)](_0x47d6fc=>{const _0x18dd01=_0x53b92a;if((_0x47d6fc==null?void 0x0:_0x47d6fc['unitID'])!==this[_0x18dd01(0x4c2)])return;const _0xb1933={'eventID':m[_0x18dd01(0x289)][_0x18dd01(0x4f1)],'data':_0x47d6fc};this[_0x18dd01(0x3e0)](_0xb1933);}),this[_0x53b92a(0x424)](this[_0x53b92a(0x3a7)]['onCommandExecuted'](_0x18b338=>{const _0x14d775=_0x53b92a;if(_0x18b338['params']==null)return;const _0x1c45e6=_0x18b338[_0x14d775(0x269)];if(_0x18b338['id']!==ge['RichTextEditingMutation']['id']||_0x1c45e6[_0x14d775(0x5d3)]!==this[_0x14d775(0x4c2)])return;const _0x25d036={'id':_0x14d775(0x282),'params':_0x1c45e6},_0x1810e6=this[_0x14d775(0x1cf)];for(const [_0x55419e,_0x3f56e5]of _0x1810e6){const _0x5c9554={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3f56e5['ranges']}},_0xca4ff9=this[_0x14d775(0x262)][_0x14d775(0x5d5)](_0x25d036,_0x5c9554,!0x1);if(m['isTransformMutationFailure'](_0xca4ff9))throw _0xca4ff9[_0x14d775(0x218)];_0x1810e6[_0x14d775(0x5c1)](_0x55419e,{..._0x3f56e5,'ranges':_0xca4ff9['m2Prime'][_0x14d775(0x269)][_0x14d775(0x155)]});}queueMicrotask(()=>{const _0x34a1a0=_0x14d775;this[_0x34a1a0(0x590)][_0x34a1a0(0x258)](_0x1810e6);});})));}[_0x1b4be4(0x3e0)](_0x1b7179){const _0x44e8d6=_0x1b4be4;var _0x28ca20,_0x575dca;const {memberID:_0x2ae26f,selection:_0x2e4bb1}=_0x1b7179[_0x44e8d6(0x464)],_0x5c47a2=Bn(_0x2e4bb1),_0x527cc6=(_0x575dca=(_0x28ca20=this['_memberService'][_0x44e8d6(0x26a)](this[_0x44e8d6(0x4c2)],_0x2ae26f))==null?void 0x0:_0x28ca20[_0x44e8d6(0x43c)])!=null?_0x575dca:_0x44e8d6(0x47d),_0x109cd0={'color':this[_0x44e8d6(0x13a)]['assignAColorForMemberID'](_0x2ae26f),'name':_0x527cc6,'ranges':_0x5c47a2},_0x4c1990=this[_0x44e8d6(0x1cf)];_0x4c1990[_0x44e8d6(0x5c1)](_0x2ae26f,_0x109cd0),this[_0x44e8d6(0x590)][_0x44e8d6(0x258)](_0x4c1990);}[_0x1b4be4(0x468)](_0x39417b){const _0x4503b9=_0x1b4be4,{memberID:_0x21a496}=_0x39417b[_0x4503b9(0x464)],_0x1e6644=this['cursorInfo'];_0x1e6644[_0x4503b9(0x192)](_0x21a496),this[_0x4503b9(0x590)][_0x4503b9(0x258)](_0x1e6644);}[_0x1b4be4(0x29f)](){const _0x1d7f94=_0x1b4be4;var _0x5655da;if(this[_0x1d7f94(0x184)]=!0x0,((_0x5655da=this[_0x1d7f94(0x471)]['getFocusedUnit']())==null?void 0x0:_0x5655da[_0x1d7f94(0x133)]())!==this[_0x1d7f94(0x4c2)])return;const _0x327438=this['_injector'][_0x1d7f94(0x35b)](ge[_0x1d7f94(0x22d)])[_0x1d7f94(0x19b)]();Array[_0x1d7f94(0x295)](_0x327438)&&_0x327438['length']>0x0&&this[_0x1d7f94(0x408)](_0x327438);}[_0x1b4be4(0x45c)](){const _0x4f1130=_0x1b4be4;this[_0x4f1130(0x184)]=!0x1;}};Et=sr([Se(0x2,a[_0x1b4be4(0x5da)](a['Injector'])),Se(0x3,a['Inject'](At)),Se(0x4,a['Inject'](exports[_0x1b4be4(0x41e)])),Se(0x5,a[_0x1b4be4(0x5da)](Ut)),Se(0x6,m[_0x1b4be4(0x1e1)]),Se(0x7,a[_0x1b4be4(0x5e4)]),Se(0x8,a[_0x1b4be4(0x58f)])],Et);var cr=Object['defineProperty'],lr=Object[_0x1b4be4(0x3c7)],hr=(_0x14af5b,_0x53178d,_0x215724,_0x13b04b)=>{const _0x49b6e0=_0x1b4be4;for(var _0x2fb64f=_0x13b04b>0x1?void 0x0:_0x13b04b?lr(_0x53178d,_0x215724):_0x53178d,_0x252a47=_0x14af5b[_0x49b6e0(0x1d6)]-0x1,_0x549463;_0x252a47>=0x0;_0x252a47--)(_0x549463=_0x14af5b[_0x252a47])&&(_0x2fb64f=(_0x13b04b?_0x549463(_0x53178d,_0x215724,_0x2fb64f):_0x549463(_0x2fb64f))||_0x2fb64f);return _0x13b04b&&_0x2fb64f&&cr(_0x53178d,_0x215724,_0x2fb64f),_0x2fb64f;},be=(_0x2135f5,_0x3f7982)=>(_0x3afbe7,_0x1d4c7c)=>_0x3f7982(_0x3afbe7,_0x1d4c7c,_0x2135f5);const _r=0x12c,ur=0x64,dr=()=>{let _0x25b4c1=[],_0x439e19=!0x1;return _0x114e3f=>{const _0x493454=_0x446a;_0x25b4c1[_0x493454(0x284)](_0x114e3f),_0x439e19||(_0x439e19=!0x0,setTimeout(()=>{_0x25b4c1['forEach'](_0x232b9c=>_0x232b9c()),_0x25b4c1=[],_0x439e19=!0x1;}));};};let bt=class extends a[_0x1b4be4(0x472)]{constructor(_0x481213,_0x5e8996,_0x31a09f,_0x323100,_0x12299d,_0xc0a1e2,_0x13a6a7,_0x510ab3){const _0x18c2f2=_0x1b4be4;super(),I(this,'_online',!0x1),I(this,_0x18c2f2(0x421),!0x1),I(this,'_cursorInfo$',new A[(_0x18c2f2(0x28f))](new Map())),I(this,_0x18c2f2(0x1ee),this[_0x18c2f2(0x590)][_0x18c2f2(0x581)]()),I(this,_0x18c2f2(0x518),new A['BehaviorSubject']([])),I(this,_0x18c2f2(0x1d7),this[_0x18c2f2(0x518)][_0x18c2f2(0x33d)](A[_0x18c2f2(0x46d)](_r))),I(this,'_updateLocalCursor',a[_0x18c2f2(0x222)]((_0x18f7a7,_0x3af355)=>{const _0x58d08b=_0x18c2f2,_0x13781a={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x58d08b(0x4c2)],'memberID':this[_0x58d08b(0x18c)][_0x58d08b(0x3af)](),'selection':$t[_0x58d08b(0x4da)](_0x18f7a7,_0x3af355[_0x58d08b(0x34c)])}};this[_0x58d08b(0x18c)]['send'](_0x13781a,this[_0x58d08b(0x4c2)]);},ur)),(this[_0x18c2f2(0x4c2)]=_0x481213,this['_session']=_0x5e8996,this[_0x18c2f2(0x232)]=_0x31a09f,this[_0x18c2f2(0x13a)]=_0x323100,this[_0x18c2f2(0x580)]=_0x12299d,this['_univerInstanceService']=_0xc0a1e2,this[_0x18c2f2(0x3a7)]=_0x13a6a7,this[_0x18c2f2(0x306)]=_0x510ab3);}get[_0x1b4be4(0x1cf)](){return this['_cursorInfo$']['getValue']();}get[_0x1b4be4(0x147)](){const _0x3afea3=_0x1b4be4;return this['_roomMembers$'][_0x3afea3(0x51e)]();}[_0x1b4be4(0x576)](){const _0x5cc398=_0x1b4be4;super[_0x5cc398(0x576)](),this[_0x5cc398(0x590)]['next'](new Map()),this['_cursorInfo$'][_0x5cc398(0x169)](),this[_0x5cc398(0x518)]['next']([]),this[_0x5cc398(0x518)][_0x5cc398(0x169)]();}[_0x1b4be4(0x5af)](){const _0x52b75d=_0x1b4be4;this['_init']||(this['_init']=!0x0,this[_0x52b75d(0x18c)][_0x52b75d(0x29d)][_0x52b75d(0x33d)](A['takeUntil'](this[_0x52b75d(0x372)]))[_0x52b75d(0x559)](_0x443165=>{const _0x6955d2=_0x52b75d;_0x443165===ne[_0x6955d2(0x163)]?this[_0x6955d2(0x29f)]():this[_0x6955d2(0x45c)]();}),this['_session']['event$'][_0x52b75d(0x33d)](A[_0x52b75d(0x273)](this['dispose$']))[_0x52b75d(0x559)](_0x315c42=>{const _0x455156=_0x52b75d,_0xd9d666=_0x315c42[_0x455156(0x54f)];_0xd9d666===m[_0x455156(0x289)][_0x455156(0x4f1)]&&this[_0x455156(0x3e0)](_0x315c42),_0xd9d666===m[_0x455156(0x289)][_0x455156(0x31a)]&&this[_0x455156(0x468)](_0x315c42);}),this[_0x52b75d(0x563)](),this[_0x52b75d(0x424)](this[_0x52b75d(0x3a7)][_0x52b75d(0x5be)](_0x246379=>{const _0x2397ca=_0x52b75d;if(this[_0x2397ca(0x184)]&&_0x246379['id']===k[_0x2397ca(0x432)]['id']&&_0x246379[_0x2397ca(0x269)][_0x2397ca(0x5d3)]===this[_0x2397ca(0x4c2)]){const _0x558ab7=_0x246379[_0x2397ca(0x269)];this['_updateLocalCursor'](_0x558ab7[_0x2397ca(0x4d2)],_0x558ab7['selections'][0x0]);}})));}['_onCursorUpdate'](_0xe48e12){const _0x33c283=_0x1b4be4;var _0xd42c74,_0xbe6ace;const {memberID:_0x36e09b,selection:_0x5cfc0b}=_0xe48e12[_0x33c283(0x464)],{sheetName:_0x14bf67,range:_0x28fe0a}=$t[_0x33c283(0x2cb)](_0x5cfc0b),_0x229957={'name':(_0xbe6ace=(_0xd42c74=this[_0x33c283(0x580)]['getMember'](this['unitID'],_0x36e09b))==null?void 0x0:_0xd42c74[_0x33c283(0x43c)])!=null?_0xbe6ace:'Unknown\x20user','range':this[_0x33c283(0x2b5)](_0x14bf67,_0x28fe0a),'sheetID':_0x14bf67,'color':this[_0x33c283(0x13a)][_0x33c283(0x311)](_0x36e09b),'selection':_0x5cfc0b},_0x310aa8=this['cursorInfo'];_0x310aa8[_0x33c283(0x5c1)](_0x36e09b,_0x229957),this[_0x33c283(0x590)][_0x33c283(0x258)](_0x310aa8);}['_onCursorDelete'](_0x218ac7){const _0x35e50f=_0x1b4be4,{memberID:_0x4dbf7d}=_0x218ac7['data'],_0x35f4d6=this['cursorInfo'];_0x35f4d6[_0x35e50f(0x192)](_0x4dbf7d),this[_0x35e50f(0x590)][_0x35e50f(0x258)](_0x35f4d6);}[_0x1b4be4(0x2b5)](_0x4db5b7,_0x5c8181){const _0x1bf495=_0x1b4be4;var _0x331ad8,_0x18291e;const _0x5ba719=(_0x18291e=(_0x331ad8=this[_0x1bf495(0x471)][_0x1bf495(0x22f)](this[_0x1bf495(0x4c2)]))==null?void 0x0:_0x331ad8[_0x1bf495(0x2e7)](_0x4db5b7))==null?void 0x0:_0x18291e[_0x1bf495(0x49a)]();return(_0x5ba719==null?void 0x0:_0x5ba719['find'](_0x292110=>a[_0x1bf495(0x369)][_0x1bf495(0x15d)](_0x292110,_0x5c8181)))||_0x5c8181;}[_0x1b4be4(0x563)](){const _0x217387=_0x1b4be4,_0x1945e3=new a['DisposableCollection'](),_0x990558=dr(),_0x46e993=()=>{const _0x1daa1e=_0x446a;_0x1945e3[_0x1daa1e(0x576)]();const _0x113743=(_0x394f4d,_0x450b09,_0x27c857,_0x3e67a3)=>{const _0x5ab8a8=_0x1daa1e;let _0x37e98a=[];switch(_0x394f4d['id']){case k[_0x5ab8a8(0x206)][_0x5ab8a8(0x5ba)]:{_0x37e98a=k[_0x5ab8a8(0x53a)](_0x394f4d,_0x3e67a3);break;}case k[_0x5ab8a8(0x206)][_0x5ab8a8(0x1ed)]:{_0x37e98a=k['handleDeleteRangeMoveUp'](_0x394f4d,_0x3e67a3);break;}case k[_0x5ab8a8(0x206)]['InsertColCommandId']:{_0x37e98a=k['handleInsertCol'](_0x394f4d,_0x3e67a3);break;}case k[_0x5ab8a8(0x206)]['InsertRangeMoveDownCommandId']:{_0x37e98a=k[_0x5ab8a8(0x17d)](_0x394f4d,_0x3e67a3);break;}case k[_0x5ab8a8(0x206)][_0x5ab8a8(0x48e)]:{_0x37e98a=k['handleInsertRangeMoveRight'](_0x394f4d,_0x3e67a3);break;}case k[_0x5ab8a8(0x206)][_0x5ab8a8(0x422)]:{_0x37e98a=k[_0x5ab8a8(0x544)](_0x394f4d,_0x3e67a3);break;}case k['EffectRefRangId']['MoveRangeCommandId']:{_0x37e98a=k[_0x5ab8a8(0x37c)](_0x394f4d,_0x3e67a3);break;}case k[_0x5ab8a8(0x206)]['RemoveColCommandId']:{_0x37e98a=k[_0x5ab8a8(0x5d6)](_0x394f4d,_0x3e67a3);break;}case k[_0x5ab8a8(0x206)][_0x5ab8a8(0x51f)]:{_0x37e98a=k[_0x5ab8a8(0x396)](_0x394f4d,_0x3e67a3);break;}}const _0x26f734=k[_0x5ab8a8(0x1ea)](_0x37e98a,_0x3e67a3),_0x4fbf07=this['cursorInfo'][_0x5ab8a8(0x35b)](_0x450b09);if(_0x4fbf07&&_0x26f734){const _0x1d8162={..._0x4fbf07,'range':_0x26f734};this[_0x5ab8a8(0x1cf)][_0x5ab8a8(0x5c1)](_0x450b09,_0x1d8162),_0x990558(()=>{const _0x3b1fdd=_0x5ab8a8,_0x5694c9=this[_0x3b1fdd(0x306)][_0x3b1fdd(0x40d)](_0x26f734,_0x30aa85=>(_0x5694c9[_0x3b1fdd(0x576)](),_0x113743(_0x30aa85,_0x450b09,_0x27c857,_0x26f734)));_0x1945e3['add'](_0x5694c9);});}return{'redos':[],'undos':[]};};this[_0x1daa1e(0x1cf)][_0x1daa1e(0x3ee)]((_0x37543f,_0x146fdf)=>{const _0x25587f=_0x1daa1e,{range:_0x21ac96,sheetID:_0x35e067}=_0x37543f,_0x462b73=this[_0x25587f(0x306)][_0x25587f(0x40d)](_0x21ac96,_0x4217c3=>(_0x462b73['dispose'](),_0x113743(_0x4217c3,_0x146fdf,_0x35e067,_0x21ac96)));_0x1945e3['add'](_0x462b73);});};this[_0x217387(0x424)](a[_0x217387(0x130)](this['_cursorInfo$'][_0x217387(0x559)](()=>{_0x46e993();})));}[_0x1b4be4(0x29f)](){const _0x4912fc=_0x1b4be4;var _0x4274d8,_0x282de4;if(this['_online']=!0x0,((_0x4274d8=this[_0x4912fc(0x471)][_0x4912fc(0x532)]())==null?void 0x0:_0x4274d8[_0x4912fc(0x133)]())!==this[_0x4912fc(0x4c2)])return;const _0x305eb2=(_0x282de4=this[_0x4912fc(0x232)]['get'](k[_0x4912fc(0x481)])['getCurrentSelections']())==null?void 0x0:_0x282de4[0x0],_0x1b1b3f=this[_0x4912fc(0x471)]['getCurrentUnitForType'](a['UniverInstanceType'][_0x4912fc(0x5b1)])[_0x4912fc(0x52b)]();_0x305eb2&&_0x1b1b3f&&this['_updateLocalCursor'](_0x1b1b3f[_0x4912fc(0x3a3)](),_0x305eb2);}[_0x1b4be4(0x45c)](){const _0x5ce123=_0x1b4be4;this[_0x5ce123(0x184)]=!0x1;}};bt=hr([be(0x2,a[_0x1b4be4(0x5da)](a[_0x1b4be4(0x3a0)])),be(0x3,a['Inject'](At)),be(0x4,a['Inject'](exports['MemberService'])),be(0x5,a[_0x1b4be4(0x5e4)]),be(0x6,a[_0x1b4be4(0x58f)]),be(0x7,a[_0x1b4be4(0x5da)](k['RefRangeService']))],bt);var fr=Object['defineProperty'],vr=Object[_0x1b4be4(0x3c7)],pr=(_0x3d7e59,_0x517237,_0x280b92,_0x427c71)=>{const _0x50315c=_0x1b4be4;for(var _0x2cc5fd=_0x427c71>0x1?void 0x0:_0x427c71?vr(_0x517237,_0x280b92):_0x517237,_0x306609=_0x3d7e59[_0x50315c(0x1d6)]-0x1,_0x24c405;_0x306609>=0x0;_0x306609--)(_0x24c405=_0x3d7e59[_0x306609])&&(_0x2cc5fd=(_0x427c71?_0x24c405(_0x517237,_0x280b92,_0x2cc5fd):_0x24c405(_0x2cc5fd))||_0x2cc5fd);return _0x427c71&&_0x2cc5fd&&fr(_0x517237,_0x280b92,_0x2cc5fd),_0x2cc5fd;},dt=(_0xe5f80d,_0x2a7a2c)=>(_0x576136,_0x2f6d20)=>_0x2a7a2c(_0x576136,_0x2f6d20,_0xe5f80d);let Oe=class extends a[_0x1b4be4(0x472)]{constructor(_0x242cb8,_0x253a66,_0x1273ef){const _0x38a6b6=_0x1b4be4;super(),I(this,_0x38a6b6(0x3e8),new Map()),I(this,_0x38a6b6(0x4d4),new A[(_0x38a6b6(0x1a3))]()),(this['_univerInstanceService']=_0x242cb8,this[_0x38a6b6(0x232)]=_0x253a66,this['_collabSessionService']=_0x1273ef,this[_0x38a6b6(0x421)]());}[_0x1b4be4(0x576)](){const _0x86263a=_0x1b4be4;super['dispose'](),this[_0x86263a(0x4d4)][_0x86263a(0x169)](),this[_0x86263a(0x3e8)][_0x86263a(0x3ee)](_0x4863c7=>_0x4863c7[_0x86263a(0x576)]());}['getCollabCursors$'](_0x392ae2){const _0x204ea0=_0x1b4be4;return this[_0x204ea0(0x3e8)][_0x204ea0(0x1b5)](_0x392ae2)?this[_0x204ea0(0x3e8)][_0x204ea0(0x35b)](_0x392ae2)['cursorInfo$']:this['_entityInit$'][_0x204ea0(0x33d)](A['filter'](_0x52b341=>_0x52b341[_0x204ea0(0x4c2)]===_0x392ae2),A[_0x204ea0(0x58d)](_0x2a7688=>_0x2a7688[_0x204ea0(0x1ee)]));}['_init'](){const _0x5ea8eb=_0x1b4be4;this[_0x5ea8eb(0x471)][_0x5ea8eb(0x4e5)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x5ea8eb(0x33d)](A[_0x5ea8eb(0x273)](this[_0x5ea8eb(0x372)]))[_0x5ea8eb(0x559)](async _0x2a9945=>{const _0x4ade22=_0x5ea8eb,_0x587637=_0x2a9945['getUnitId'](),_0x201294=await this[_0x4ade22(0x5c3)](_0x587637);this[_0x4ade22(0x4d4)][_0x4ade22(0x258)](_0x201294),this['_entities'][_0x4ade22(0x5c1)](_0x587637,_0x201294);}),this[_0x5ea8eb(0x471)][_0x5ea8eb(0x4e5)](a[_0x5ea8eb(0x577)][_0x5ea8eb(0x435)])[_0x5ea8eb(0x33d)](A[_0x5ea8eb(0x273)](this[_0x5ea8eb(0x372)]))[_0x5ea8eb(0x33d)](A['filter'](_0x2e8635=>!_0x2e8635['getUnitId']()[_0x5ea8eb(0x57a)]('__')))[_0x5ea8eb(0x559)](async _0x4934cb=>{const _0x558d7d=_0x5ea8eb,_0x4a2bb9=_0x4934cb[_0x558d7d(0x133)](),_0x11997c=await this[_0x558d7d(0x126)](_0x4a2bb9);this[_0x558d7d(0x4d4)][_0x558d7d(0x258)](_0x11997c),this[_0x558d7d(0x3e8)][_0x558d7d(0x5c1)](_0x4a2bb9,_0x11997c);}),A[_0x5ea8eb(0x351)](this[_0x5ea8eb(0x471)][_0x5ea8eb(0x5a1)](a['UniverInstanceType'][_0x5ea8eb(0x435)]),this[_0x5ea8eb(0x471)][_0x5ea8eb(0x5a1)](a[_0x5ea8eb(0x577)][_0x5ea8eb(0x5b1)]))[_0x5ea8eb(0x33d)](A[_0x5ea8eb(0x273)](this['dispose$']))[_0x5ea8eb(0x559)](_0x31aaeb=>{const _0x30a1ac=_0x5ea8eb,_0x34f27b=_0x31aaeb['getUnitId'](),_0x1c0475=this[_0x30a1ac(0x3e8)][_0x30a1ac(0x35b)](_0x34f27b);_0x1c0475&&(_0x1c0475[_0x30a1ac(0x576)](),this[_0x30a1ac(0x3e8)][_0x30a1ac(0x192)](_0x34f27b));});}async[_0x1b4be4(0x5c3)](_0x168ee2){const _0x4abe86=_0x1b4be4,_0x524cf8=await this[_0x4abe86(0x1fd)][_0x4abe86(0x525)](_0x168ee2),_0x5ded18=this[_0x4abe86(0x232)]['createInstance'](bt,_0x168ee2,_0x524cf8);return _0x5ded18[_0x4abe86(0x5af)](),_0x5ded18;}async[_0x1b4be4(0x126)](_0x457234){const _0x1120c8=_0x1b4be4,_0x26fed2=await this[_0x1120c8(0x1fd)]['requireSession'](_0x457234),_0x55fd2d=this[_0x1120c8(0x232)][_0x1120c8(0x2c5)](Et,_0x457234,_0x26fed2);return _0x55fd2d[_0x1120c8(0x5af)](),_0x55fd2d;}};Oe=pr([dt(0x0,a[_0x1b4be4(0x5e4)]),dt(0x1,a[_0x1b4be4(0x5da)](a[_0x1b4be4(0x3a0)])),dt(0x2,a[_0x1b4be4(0x5da)](exports[_0x1b4be4(0x4bb)]))],Oe);const Le=0x14,qt=0xc8,ft=0x4,Sr=0x5;function mr(_0x478151,_0x4ecfd9){const _0x15d409=_0x1b4be4;let {radius:_0x51e04a,width:_0x59a504,height:_0x1bf8a6}=_0x4ecfd9;_0x51e04a=_0x51e04a!=null?_0x51e04a:0x0,_0x59a504=_0x59a504!=null?_0x59a504:0x1e,_0x1bf8a6=_0x1bf8a6!=null?_0x1bf8a6:0x1e;let _0x33d04d=0x0,_0x5eb15a=0x0,_0x3a1eba=0x0;_0x33d04d=_0x5eb15a=_0x3a1eba=Math[_0x15d409(0x5e1)](_0x51e04a,_0x59a504/0x2,_0x1bf8a6/0x2),_0x478151[_0x15d409(0x1b7)](),_0x478151[_0x15d409(0x55c)](_0x33d04d,0x0),_0x478151[_0x15d409(0x2ea)](_0x59a504-_0x5eb15a,0x0),_0x478151[_0x15d409(0x3b3)](_0x59a504-_0x5eb15a,_0x5eb15a,_0x5eb15a,Math['PI']*0x3/0x2,0x0,!0x1),_0x478151[_0x15d409(0x2ea)](_0x59a504,_0x1bf8a6-_0x3a1eba),_0x478151[_0x15d409(0x3b3)](_0x59a504-_0x3a1eba,_0x1bf8a6-_0x3a1eba,_0x3a1eba,0x0,Math['PI']/0x2,!0x1),_0x478151[_0x15d409(0x2ea)](0x0,_0x1bf8a6),_0x478151[_0x15d409(0x2ea)](0x0,_0x33d04d),_0x478151[_0x15d409(0x3b3)](_0x33d04d,_0x33d04d,_0x33d04d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x478151[_0x15d409(0x404)](),_0x4ecfd9['fill']&&(_0x478151[_0x15d409(0x57e)](),_0x478151['fillStyle']=_0x4ecfd9[_0x15d409(0x5e6)],_0x4ecfd9[_0x15d409(0x1bd)]===_0x15d409(0x1c3)?_0x478151[_0x15d409(0x5e6)](_0x15d409(0x1c3)):_0x478151[_0x15d409(0x5e6)](),_0x478151['restore']());}class at extends q['Shape']{constructor(_0x145062,_0x42a60f){const _0xf2bab=_0x1b4be4;super(_0x145062,_0x42a60f),I(this,'color'),I(this,_0xf2bab(0x121)),(this['color']=_0x42a60f==null?void 0x0:_0x42a60f[_0xf2bab(0x3e1)],this[_0xf2bab(0x121)]=_0x42a60f==null?void 0x0:_0x42a60f[_0xf2bab(0x121)]);}static[_0x1b4be4(0x2d8)](_0x111d21,_0x5c4555){const _0x179f52=_0x1b4be4,{text:_0x3e1e25,color:_0x203eb3}=_0x5c4555;_0x111d21[_0x179f52(0x57e)](),_0x111d21[_0x179f52(0x1a9)]=_0x179f52(0x5c4);const _0x369a7a=_0x111d21['measureText'](_0x3e1e25)['width'],_0x348d10=Math[_0x179f52(0x5e1)](_0x369a7a+0x2*ft,qt);mr(_0x111d21,{'height':Le,'radius':0x4,'width':_0x348d10,'fill':_0x203eb3,'evented':!0x1}),_0x111d21['fillStyle']='#FFF';const _0x1e794c=ft,_0x1c98eb=Le-Sr,_0x1eb663=qt-0x2*ft;if(_0x369a7a>_0x1eb663){let _0x527883='',_0x3c2ec6=0x0;for(const _0x957bb3 of _0x3e1e25){const _0x1311e5=_0x111d21[_0x179f52(0x1ba)](_0x957bb3)['width'];if(_0x3c2ec6+_0x1311e5<=_0x1eb663-_0x111d21[_0x179f52(0x1ba)](_0x179f52(0x1d3))[_0x179f52(0x5cc)])_0x527883+=_0x957bb3,_0x3c2ec6+=_0x1311e5;else{_0x527883+=_0x179f52(0x1d3);break;}}_0x111d21[_0x179f52(0x54a)](_0x527883,_0x1e794c,_0x1c98eb);}else _0x111d21[_0x179f52(0x54a)](_0x3e1e25,_0x1e794c,_0x1c98eb);_0x111d21[_0x179f52(0x1c2)]();}[_0x1b4be4(0x28c)](_0x3e2427){const _0xa07b=_0x1b4be4;at[_0xa07b(0x2d8)](_0x3e2427,this);}}const vt=_0x1b4be4(0x4c3),gr=_0x1b4be4(0x36d),Ir=_0x1b4be4(0x1dd),we=0x6,Cr=1.5,pt=0x4,Er=1.5,br=_0x1b4be4(0x22a);class Kt{constructor(_0x58064f,_0x3ae67e,_0xc39409,_0x5bf81d){const _0x28a97a=_0x1b4be4;I(this,_0x28a97a(0x2d5),[]),I(this,_0x28a97a(0x359),null),I(this,'_textBubble',null),I(this,_0x28a97a(0x4ae),null),I(this,_0x28a97a(0x47b),null),I(this,_0x28a97a(0x536),null),(this[_0x28a97a(0x27f)]=_0x58064f,this[_0x28a97a(0x522)]=_0x3ae67e,this['_docSkeleton']=_0xc39409,this[_0x28a97a(0x19c)]=_0x5bf81d,this['_render']());}set['_hover'](_0x3fd3fd){const _0x11520d=_0x1b4be4;_0x3fd3fd?(this[_0x11520d(0x4ae)]&&this[_0x11520d(0x4ae)][_0x11520d(0x21d)](),this[_0x11520d(0x1c1)]&&this[_0x11520d(0x1c1)][_0x11520d(0x53e)]()):(this[_0x11520d(0x4ae)]&&this[_0x11520d(0x4ae)][_0x11520d(0x53e)](),this[_0x11520d(0x1c1)]&&this['_textBubble'][_0x11520d(0x21d)]());}[_0x1b4be4(0x576)](){const _0x54eb39=_0x1b4be4;for(const _0x2b3534 of this[_0x54eb39(0x2d5)])_0x2b3534[_0x54eb39(0x576)]();this[_0x54eb39(0x1c1)]&&this[_0x54eb39(0x1c1)][_0x54eb39(0x576)](),this[_0x54eb39(0x4ae)]&&this[_0x54eb39(0x4ae)][_0x54eb39(0x576)](),this[_0x54eb39(0x359)]&&this[_0x54eb39(0x359)][_0x54eb39(0x576)](),this[_0x54eb39(0x536)]&&this[_0x54eb39(0x536)]();}[_0x1b4be4(0x4eb)](){const _0x12eef0=_0x1b4be4;var _0x2f9c3e;const {_docSkeleton:_0x264fb6,_document:_0x307f11}=this,{color:_0xb498c6,name:_0x1616f4,ranges:_0x77e0fe}=this['_cursor'],_0x8c4567=_0x307f11[_0x12eef0(0x174)](),{docsLeft:_0x1a3dbe,docsTop:_0x23f38f}=_0x8c4567,_0x3884a9=new J['NodePositionConvertToCursor'](_0x8c4567,_0x264fb6);for(const {startOffset:_0x4744a1,endOffset:_0x1d1239,rangeType:_0x284c5f,segmentId:_0x549c62,segmentPage:_0x54ef5c,collapsed:_0x3434e2,isActive:_0x43c31b}of _0x77e0fe){const _0x111d4f=_0x264fb6[_0x12eef0(0x5a2)](_0x4744a1,!0x0,_0x549c62,_0x54ef5c);let _0x1a545f=_0x264fb6['findNodePositionByCharIndex'](_0x1d1239,!0x0,_0x549c62,_0x54ef5c);if(_0x1a545f==null&&(_0x1a545f=_0x264fb6[_0x12eef0(0x5a2)](_0x1d1239-0x1,!0x1,_0x549c62,_0x54ef5c)),_0x43c31b){const {contentBoxPointGroup:_0x2a7b77}=_0x3884a9[_0x12eef0(0x5b6)](_0x1a545f,_0x1a545f);if(_0x2a7b77[_0x12eef0(0x1d6)]===0x0)continue;this[_0x12eef0(0x54d)](_0xb498c6,_0x2a7b77,_0x1a3dbe,_0x23f38f,_0x1616f4),this[_0x12eef0(0x536)]=this[_0x12eef0(0x2c3)]();}if(_0x111d4f&&_0x1a545f){if(_0x284c5f===a['DOC_RANGE_TYPE'][_0x12eef0(0x4e7)]){const _0x42f0e6=new J[(_0x12eef0(0x158))](_0x8c4567,_0x264fb6),{pointGroup:_0x2f1f4b}=(_0x2f9c3e=_0x42f0e6['getRangePointData'](_0x111d4f,_0x1a545f))!=null?_0x2f9c3e:{};if(_0x2f1f4b==null||_0x2f1f4b[_0x12eef0(0x1d6)]===0x0)continue;this[_0x12eef0(0x4e4)](_0xb498c6,_0x2f1f4b,_0x1a3dbe,_0x23f38f);}else{if(!_0x3434e2){const {borderBoxPointGroup:_0x165327}=_0x3884a9[_0x12eef0(0x5b6)](_0x111d4f,_0x1a545f);if(_0x165327[_0x12eef0(0x1d6)]===0x0)continue;this[_0x12eef0(0x1df)](_0xb498c6,_0x165327,_0x1a3dbe,_0x23f38f);}}}}}['_drawAnchor'](_0x57268d,_0x514fdc,_0x10ccf1,_0x7fa87f,_0x554472){const _0x49c215=_0x1b4be4,_0x4db3cc=this[_0x49c215(0x14f)](_0x514fdc),{left:_0x45cf47,top:_0x57eefd,height:_0x29eff2}=_0x4db3cc,_0x352808=this[_0x49c215(0x25a)](),_0x461c62=Er/_0x352808,_0x4e8003=new q[(_0x49c215(0x259))](vt+a['Tools']['generateRandomId'](we),{'left':_0x45cf47+_0x10ccf1-_0x461c62,'top':_0x57eefd+_0x7fa87f,'height':_0x29eff2,'width':Cr,'fill':_0x57268d||q[_0x49c215(0x44b)](a[_0x49c215(0x5cb)]['black'],0x0),'strokeWidth':_0x461c62,'stroke':br,'evented':!0x0});this[_0x49c215(0x359)]=_0x4e8003,this[_0x49c215(0x522)]['addObject'](_0x4e8003,J[_0x49c215(0x3a1)]);const _0x10a1ff=new q[(_0x49c215(0x259))](vt+a[_0x49c215(0x59a)][_0x49c215(0x3bf)](we),{'left':_0x45cf47+_0x10ccf1-_0x461c62,'top':_0x57eefd+_0x7fa87f-pt/0x2,'height':pt,'width':pt,'fill':_0x57268d||q['getColor'](a[_0x49c215(0x5cb)][_0x49c215(0x5a8)],0x0),'strokeWidth':0x0,'stroke':_0x57268d||q['getColor'](a[_0x49c215(0x5cb)][_0x49c215(0x5a8)],0x0),'evented':!0x1});this[_0x49c215(0x4ae)]=_0x10a1ff,this['_scene'][_0x49c215(0x28d)](_0x10a1ff,J[_0x49c215(0x3a1)]);const _0x59d34a=new at(vt+a[_0x49c215(0x59a)][_0x49c215(0x3bf)](we),{'left':_0x45cf47+_0x10ccf1-_0x461c62,'top':_0x57eefd+_0x7fa87f-Le,'text':_0x554472,'color':_0x57268d});this['_textBubble']=_0x59d34a,this[_0x49c215(0x522)]['addObject'](_0x59d34a,J[_0x49c215(0x3a1)]),this['_hover']=!0x1;}[_0x1b4be4(0x2c3)](){const _0x18ce43=_0x1b4be4,_0x3d63df=this[_0x18ce43(0x359)][_0x18ce43(0x4b8)]['subscribeEvent'](()=>{const _0x58f35d=_0x18ce43;this[_0x58f35d(0x17b)]=!0x0;}),_0x13d496=this['_anchor'][_0x18ce43(0x4b9)][_0x18ce43(0x178)](()=>{const _0xfbadb6=_0x18ce43;this[_0xfbadb6(0x47b)]&&clearTimeout(this[_0xfbadb6(0x47b)]),this[_0xfbadb6(0x47b)]=setTimeout(()=>{const _0x260f67=_0xfbadb6;this[_0x260f67(0x17b)]=!0x1;},0x7d0);});return()=>{const _0x184245=_0x18ce43;_0x3d63df[_0x184245(0x1a8)](),_0x13d496[_0x184245(0x1a8)]();};}[_0x1b4be4(0x1df)](_0x3e7fa4,_0x10ea3d,_0x11f710,_0x326f6b){const _0x39fae5=_0x1b4be4,_0x319644=new a[(_0x39fae5(0x299))](_0x3e7fa4)['setAlpha'](0.2)[_0x39fae5(0x151)](),_0x38920d=new q[(_0x39fae5(0x37a))](gr+a[_0x39fae5(0x59a)]['generateRandomId'](we),{'pointsGroup':_0x10ea3d,'fill':_0x319644||q[_0x39fae5(0x44b)](a['COLORS']['black'],0.2),'left':_0x11f710,'top':_0x326f6b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x39fae5(0x2d5)][_0x39fae5(0x284)](_0x38920d),this[_0x39fae5(0x522)][_0x39fae5(0x28d)](_0x38920d,J['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x5e36db,_0x105b89,_0x559e71,_0x39c823){const _0xf82cfc=_0x1b4be4,_0x1cbc17=new a[(_0xf82cfc(0x299))](_0x5e36db)[_0xf82cfc(0x275)](0.2)[_0xf82cfc(0x151)](),_0x2a28fb=new q[(_0xf82cfc(0x37a))](Ir+a[_0xf82cfc(0x59a)][_0xf82cfc(0x3bf)](we),{'pointsGroup':_0x105b89,'fill':_0x1cbc17||q[_0xf82cfc(0x44b)](a['COLORS'][_0xf82cfc(0x5a8)],0.2),'left':_0x559e71,'top':_0x39c823,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xf82cfc(0x2d5)][_0xf82cfc(0x284)](_0x2a28fb),this['_scene'][_0xf82cfc(0x28d)](_0x2a28fb,J[_0xf82cfc(0x3a1)]);}[_0x1b4be4(0x14f)](_0x4d97f2){const _0x4c73fe=_0x4d97f2[0x0],_0x55dc01=_0x4c73fe[0x0],_0x54b1fb=_0x4c73fe[0x2],{x:_0x571aa2,y:_0x510cbd}=_0x55dc01,{x:_0x4fe62b,y:_0x4a7f6f}=_0x54b1fb;return{'left':_0x571aa2,'top':_0x510cbd,'width':_0x4fe62b-_0x571aa2,'height':_0x4a7f6f-_0x510cbd};}[_0x1b4be4(0x25a)](){const _0xb36c1=_0x1b4be4,{scaleX:_0x1f26f4,scaleY:_0x352e42}=this['_scene'][_0xb36c1(0x159)]();return Math[_0xb36c1(0x453)](_0x1f26f4,_0x352e42);}}var Tr=Object['defineProperty'],Rr=Object[_0x1b4be4(0x3c7)],yr=(_0x5a6722,_0x4c4c77,_0x42a8c7,_0x35db52)=>{const _0x269062=_0x1b4be4;for(var _0x1d415e=_0x35db52>0x1?void 0x0:_0x35db52?Rr(_0x4c4c77,_0x42a8c7):_0x4c4c77,_0x42e6d4=_0x5a6722[_0x269062(0x1d6)]-0x1,_0x88685d;_0x42e6d4>=0x0;_0x42e6d4--)(_0x88685d=_0x5a6722[_0x42e6d4])&&(_0x1d415e=(_0x35db52?_0x88685d(_0x4c4c77,_0x42a8c7,_0x1d415e):_0x88685d(_0x1d415e))||_0x1d415e);return _0x35db52&&_0x1d415e&&Tr(_0x4c4c77,_0x42a8c7,_0x1d415e),_0x1d415e;},$e=(_0x1e2448,_0x182538)=>(_0x412b77,_0xcdb6fd)=>_0x182538(_0x412b77,_0xcdb6fd,_0x1e2448);let Tt=class extends a[_0x1b4be4(0x472)]{constructor(_0x49258c,_0x74fbae,_0x3d93f6,_0x21b5ba,_0x41e042){const _0x3aa14d=_0x1b4be4;super(),I(this,_0x3aa14d(0x3cf),[]),I(this,'_cursors',[]),(this[_0x3aa14d(0x3d9)]=_0x49258c,this['_docSkeletonManagerService']=_0x74fbae,this[_0x3aa14d(0x119)]=_0x3d93f6,this[_0x3aa14d(0x3a7)]=_0x21b5ba,this['_themeService']=_0x41e042,this[_0x3aa14d(0x421)]());}[_0x1b4be4(0x421)](){const _0x14d91e=_0x1b4be4,_0x35ed9a=this['_context']['unitId'],_0x4279c6=this[_0x14d91e(0x1af)];this[_0x14d91e(0x424)](A[_0x14d91e(0x346)]([this['_collabCursorController'][_0x14d91e(0x5a9)](_0x35ed9a),this[_0x14d91e(0x503)][_0x14d91e(0x15c)]])['pipe'](V[_0x14d91e(0x342)](([_0xea9d47,_0x5d70d7])=>({'skeleton':_0x4279c6[_0x14d91e(0x2bf)](),'cursors':[..._0xea9d47[_0x14d91e(0x1ab)]()][_0x14d91e(0x3d5)](_0x59bc82=>({..._0x59bc82,'color':_0x5d70d7[_0x59bc82[_0x14d91e(0x3e1)]]}))})))[_0x14d91e(0x559)](_0x30b592=>{const _0x1e5722=_0x14d91e;if(this[_0x1e5722(0x3b4)](),_0x30b592){const {skeleton:_0xe62395,cursors:_0x45f137}=_0x30b592;this[_0x1e5722(0x146)](_0xe62395,_0x45f137);}})),this[_0x14d91e(0x557)](),this[_0x14d91e(0x4fc)]();}[_0x1b4be4(0x146)](_0x1e91f9,_0x21b355){const _0xc3dfd7=_0x1b4be4,{scene:_0x26e135,mainComponent:_0x7a62a2}=this[_0xc3dfd7(0x3d9)],_0x410f56=_0x21b355[_0xc3dfd7(0x342)](_0x59ebdb=>new Kt(_0x59ebdb,_0x26e135,_0x1e91f9,_0x7a62a2));this[_0xc3dfd7(0x3cf)]=_0x410f56,this[_0xc3dfd7(0x3f5)]=_0x21b355;}['_refreshCollabCursors'](){const _0x2dda80=_0x1b4be4;this[_0x2dda80(0x3b4)]();const {scene:_0x457c51,mainComponent:_0x306ee5}=this[_0x2dda80(0x3d9)],_0x2eae29=this[_0x2dda80(0x1af)][_0x2dda80(0x2bf)](),_0x2e5002=this[_0x2dda80(0x3f5)]['map'](_0x3c986b=>new Kt(_0x3c986b,_0x457c51,_0x2eae29,_0x306ee5));this[_0x2dda80(0x3cf)]=_0x2e5002;}[_0x1b4be4(0x3b4)](){const _0x254990=_0x1b4be4;this[_0x254990(0x3cf)][_0x254990(0x3ee)](_0x243b34=>_0x243b34[_0x254990(0x576)]()),this[_0x254990(0x3cf)]=[];}[_0x1b4be4(0x4fc)](){const _0x15c133=_0x1b4be4,_0x2f1006=[J[_0x15c133(0x552)]['id']];this['disposeWithMe'](this['_commandService'][_0x15c133(0x5be)](_0x3378be=>{const _0xe8b3f3=_0x15c133;_0x2f1006[_0xe8b3f3(0x1db)](_0x3378be['id'])&&_0x3378be[_0xe8b3f3(0x269)][_0xe8b3f3(0x5d3)]===this[_0xe8b3f3(0x3d9)]['unitId']&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x4dfa41=_0x1b4be4;this[_0x4dfa41(0x424)](a[_0x4dfa41(0x209)](this[_0x4dfa41(0x3d9)][_0x4dfa41(0x53d)][_0x4dfa41(0x4d0)])[_0x4dfa41(0x33d)](V[_0x4dfa41(0x316)](_0x38c542=>_0x38c542[_0x4dfa41(0x336)]===q['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x4dfa41(0x23e)]),V[_0x4dfa41(0x313)](0x10))[_0x4dfa41(0x559)](()=>{const _0x118e79=_0x4dfa41;this[_0x118e79(0x2a0)]();}));}};Tt=yr([$e(0x1,a['Inject'](ge[_0x1b4be4(0x1b9)])),$e(0x2,a[_0x1b4be4(0x5da)](Oe)),$e(0x3,a['ICommandService']),$e(0x4,a[_0x1b4be4(0x5da)](a['ThemeService']))],Tt);const Or=0x1,Dr=1.5;class Ui extends q[_0x1b4be4(0x22b)]{constructor(_0x1ce251,_0x38343e){const _0x267371=_0x1b4be4;super(_0x1ce251,_0x38343e),I(this,'_color'),I(this,'_hovered',!0x1),I(this,_0x267371(0x48d)),I(this,_0x267371(0x2fb),''),I(this,_0x267371(0x27a),_0x267371(0x257)),I(this,_0x267371(0x18f)),(_0x38343e&&this[_0x267371(0x4a3)](_0x38343e),this[_0x267371(0x4b8)][_0x267371(0x178)](()=>this[_0x267371(0x4a3)]({'hovered':!0x0})),this[_0x267371(0x4b9)][_0x267371(0x178)](()=>this[_0x267371(0x4a3)]({'hovered':!0x1})));}['setShapeProps'](_0x10f327){const _0x5a7f09=_0x1b4be4;var _0x1f4b9d,_0x1866da,_0xfa5c12,_0x590239,_0x30477f,_0x153994;this[_0x5a7f09(0x528)]=(_0x1f4b9d=_0x10f327[_0x5a7f09(0x3e1)])!=null?_0x1f4b9d:this[_0x5a7f09(0x528)],this[_0x5a7f09(0x179)]=(_0x1866da=_0x10f327[_0x5a7f09(0x134)])!=null?_0x1866da:this[_0x5a7f09(0x179)],this[_0x5a7f09(0x48d)]=(_0xfa5c12=_0x10f327[_0x5a7f09(0x34c)])!=null?_0xfa5c12:this[_0x5a7f09(0x48d)],this['_name']=(_0x590239=_0x10f327['name'])!=null?_0x590239:this[_0x5a7f09(0x2fb)],this['_labelPosition']=(_0x30477f=_0x10f327[_0x5a7f09(0x208)])!=null?_0x30477f:this[_0x5a7f09(0x27a)],this[_0x5a7f09(0x18f)]=(_0x153994=_0x10f327[_0x5a7f09(0x338)])!=null?_0x153994:this[_0x5a7f09(0x18f)],this['transformByState']({'width':_0x10f327[_0x5a7f09(0x5cc)],'height':_0x10f327['height']});}[_0x1b4be4(0x5ad)](_0x1325af){const _0x4aa877=_0x1b4be4,{row:_0xf3c824,column:_0x53e039}=_0x1325af;if(_0xf3c824>=this[_0x4aa877(0x48d)][_0x4aa877(0x2f6)]&&_0xf3c824<=this[_0x4aa877(0x48d)][_0x4aa877(0x190)]&&_0x53e039>=this[_0x4aa877(0x48d)][_0x4aa877(0x2df)]&&_0x53e039<=this['_range'][_0x4aa877(0x1f3)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4aa877(0x4a3)]({'hovered':!0x1});}[_0x1b4be4(0x15f)](_0x1400a0){return!0x1;}[_0x1b4be4(0x28c)](_0x147f7c){const _0x432ac9=_0x1b4be4;q[_0x432ac9(0x259)][_0x432ac9(0x2d8)](_0x147f7c,{'width':this[_0x432ac9(0x5cc)],'height':this[_0x432ac9(0x4d9)],'strokeWidth':Dr,'stroke':this[_0x432ac9(0x528)],'evented':!0x1,'fill':this[_0x432ac9(0x18f)]}),this[_0x432ac9(0x179)]&&(_0x147f7c[_0x432ac9(0x57e)](),_0x147f7c[_0x432ac9(0x5c7)](0x1,0x0,0x0,0x1,this[_0x432ac9(0x5cc)],this[_0x432ac9(0x27a)]===_0x432ac9(0x36c)?0x0:-Le),at[_0x432ac9(0x2d8)](_0x147f7c,{'text':this[_0x432ac9(0x2fb)],'color':this[_0x432ac9(0x528)]}),_0x147f7c[_0x432ac9(0x1c2)]());}}var Pr=Object[_0x1b4be4(0x3c9)],wr=Object['getOwnPropertyDescriptor'],Ur=(_0x242bee,_0x37a6c1,_0x5d9ead,_0x59d37a)=>{const _0x8bf3fb=_0x1b4be4;for(var _0x471b73=_0x59d37a>0x1?void 0x0:_0x59d37a?wr(_0x37a6c1,_0x5d9ead):_0x37a6c1,_0x1067f5=_0x242bee[_0x8bf3fb(0x1d6)]-0x1,_0x1ef9c1;_0x1067f5>=0x0;_0x1067f5--)(_0x1ef9c1=_0x242bee[_0x1067f5])&&(_0x471b73=(_0x59d37a?_0x1ef9c1(_0x37a6c1,_0x5d9ead,_0x471b73):_0x1ef9c1(_0x471b73))||_0x471b73);return _0x59d37a&&_0x471b73&&Pr(_0x37a6c1,_0x5d9ead,_0x471b73),_0x471b73;},St=(_0x3ab065,_0x54f7f5)=>(_0x7a67bd,_0x237b48)=>_0x54f7f5(_0x7a67bd,_0x237b48,_0x3ab065);const Mr=0x1389;let Rt=class extends a['RxDisposable']{constructor(_0xab204b,_0x4621e9,_0x907f84,_0x56b0de){const _0x4658bf=_0x1b4be4;super(),I(this,_0x4658bf(0x3f5),new Set()),I(this,_0x4658bf(0x59e),null),(this[_0x4658bf(0x3d9)]=_0xab204b,this['_sheetSkeletonManagerService']=_0x4621e9,this[_0x4658bf(0x119)]=_0x907f84,this[_0x4658bf(0x503)]=_0x56b0de,this['_init']());}[_0x1b4be4(0x421)](){const _0x549750=_0x1b4be4;this[_0x549750(0x350)][_0x549750(0x29b)][_0x549750(0x33d)](V[_0x549750(0x273)](this['dispose$']),V[_0x549750(0x58d)](_0x26b467=>{const _0xd4915d=_0x549750;if(_0x26b467){const _0x12557d=_0x26b467[_0xd4915d(0x2ae)];return A[_0xd4915d(0x346)](this[_0xd4915d(0x119)][_0xd4915d(0x5a9)](this[_0xd4915d(0x3d9)][_0xd4915d(0x5d3)]),this[_0xd4915d(0x503)]['currentTheme$'])[_0xd4915d(0x33d)](V[_0xd4915d(0x342)](([_0x491e67,_0x3ab6cb])=>{const _0x55b9f7=new Map();return _0x491e67['forEach']((_0x51fdfa,_0x217525)=>{const _0x1e6008=_0x446a;if(_0x51fdfa['sheetID']===_0x12557d){const _0xb86d04={..._0x51fdfa};_0xb86d04[_0x1e6008(0x3e1)]=_0x3ab6cb[_0x51fdfa[_0x1e6008(0x3e1)]],_0x55b9f7[_0x1e6008(0x5c1)](_0x217525,_0xb86d04);}}),{'skeleton':_0x26b467,'cursors':_0x55b9f7};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))[_0x549750(0x559)](({skeleton:_0x449eee,cursors:_0x28e226})=>{const _0x3919be=_0x549750;this['_removeCollabCursors'](),_0x449eee&&this[_0x3919be(0x146)](_0x449eee,_0x28e226);}),this['_sheetSkeletonManagerService'][_0x549750(0x29b)][_0x549750(0x559)](_0x6f6200=>{const _0x4ee94c=_0x549750;if(_0x6f6200==null)return;const {skeleton:_0x4f3f0c}=_0x6f6200,{scene:_0x4b529e}=this[_0x4ee94c(0x3d9)];_0x4b529e[_0x4ee94c(0x446)]['subscribeEvent'](a[_0x4ee94c(0x222)](_0x34cbb3=>{const _0x1184db=_0x4ee94c;var _0x5265ad,_0x5b5986;const {offsetX:_0x22e168,offsetY:_0x487bdf}=_0x34cbb3,{x:_0x55f579,y:_0x4675c6}=_0x4b529e[_0x1184db(0x373)](q[_0x1184db(0x3f3)][_0x1184db(0x5c6)]([_0x22e168,_0x487bdf])),{scaleX:_0x5b3278,scaleY:_0x2ba2ed}=_0x4b529e[_0x1184db(0x159)](),_0xb32193=_0x4b529e['getViewport'](Re['VIEWPORT_KEY'][_0x1184db(0x493)]),_0x5aa55a=_0x4b529e['getVpScrollXYInfoByPosToVp'](q[_0x1184db(0x3f3)][_0x1184db(0x5c6)]([_0x55f579,_0x4675c6]),_0xb32193),_0x33a784=_0x4f3f0c['getCellPositionByOffset'](_0x22e168,_0x487bdf,_0x5b3278,_0x2ba2ed,_0x5aa55a);((_0x5265ad=this[_0x1184db(0x59e)])==null?void 0x0:_0x5265ad[_0x1184db(0x40b)])===_0x33a784[_0x1184db(0x40b)]&&((_0x5b5986=this[_0x1184db(0x59e)])==null?void 0x0:_0x5b5986[_0x1184db(0x25e)])===_0x33a784[_0x1184db(0x25e)]||this[_0x1184db(0x3f5)][_0x1184db(0x3ee)](_0x3dabaa=>{_0x3dabaa['onMouseMove'](_0x33a784);});},0x64));});}['_updateCollabCursors'](_0x2798d6,_0x47668d){const _0xcf06b=_0x1b4be4;var _0x21b600;const _0x3c30a4=(_0x21b600=this[_0xcf06b(0x350)]['getCurrent']())==null?void 0x0:_0x21b600[_0xcf06b(0x17a)];if(!_0x3c30a4)return;const _0x53ccb2=this[_0xcf06b(0x3f1)]();if(!_0x53ccb2)return;this[_0xcf06b(0x3f5)]['forEach'](_0x401f8d=>{const _0x10d2ac=_0xcf06b;_0x401f8d[_0x10d2ac(0x380)]();});const {scene:_0x5f1ac5}=_0x53ccb2,_0x5a7cb0=Ar(Array[_0xcf06b(0x1a6)](_0x47668d[_0xcf06b(0x1ab)]()))['map'](_0x6a7b2d=>{const _0x8e7ef=_0xcf06b,{color:_0x14b0e8,range:_0x5e842d,name:_0x441e24,selection:_0x41a3cf,sheetID:_0x3a5f78}=_0x6a7b2d,{startColumn:_0x44563d,startRow:_0x2f5031,endColumn:_0x499676,endRow:_0x2debdc}=_0x5e842d,_0x75b23c=Re['getCoordByCell'](_0x2f5031,_0x44563d,_0x5f1ac5,_0x3c30a4),_0x1b7d75=Re[_0x8e7ef(0x2f1)](_0x2debdc,_0x499676,_0x5f1ac5,_0x3c30a4),{columnHeaderHeightAndMarginTop:_0x291f9b}=_0x3c30a4,{startX:_0x41c99d,startY:_0x44092e}=_0x75b23c,{endX:_0x44fba6,endY:_0xce68ae}=_0x1b7d75,_0x580a17=_0x44fba6-_0x41c99d,_0x4688db=_0xce68ae-_0x44092e,_0x4656f8={'labelPosition':_0x44092e-_0x291f9b>=Le?'top':'bottom','sheetID':_0x3a5f78,'range':_0x5e842d,'color':_0x14b0e8,'name':_0x441e24,'selection':_0x41a3cf,'left':_0x41c99d,'top':_0x44092e,'width':_0x580a17,'height':_0x4688db,'evented':!0x1,'zIndex':Mr};return new Ui(_0x441e24,_0x4656f8);});_0x5f1ac5[_0xcf06b(0x2ce)](_0x5a7cb0,Or),this['_cursors']=new Set(_0x5a7cb0);}[_0x1b4be4(0x3b4)](){const _0x4b522c=_0x1b4be4;var _0x3d851f;(_0x3d851f=this['_cursors'])==null||_0x3d851f[_0x4b522c(0x3ee)](_0x4936b5=>_0x4936b5['dispose']());}[_0x1b4be4(0x3f1)](){const _0x3b150d=_0x1b4be4;return Re[_0x3b150d(0x2bc)](this[_0x3b150d(0x3d9)][_0x3b150d(0x2ca)],this[_0x3b150d(0x3d9)]);}};Rt=Ur([St(0x1,a[_0x1b4be4(0x5da)](Re['SheetSkeletonManagerService'])),St(0x2,a[_0x1b4be4(0x5da)](Oe)),St(0x3,a[_0x1b4be4(0x5da)](a[_0x1b4be4(0x24a)]))],Rt);function Ar(_0x19cb92){const _0x896691=_0x1b4be4,_0xf0eaf9=new Map();return _0x19cb92[_0x896691(0x3ee)](_0x226a15=>{const _0x502c66=_0x896691;if(_0xf0eaf9[_0x502c66(0x1b5)](_0x226a15['selection'])){const _0x4f3e60=_0xf0eaf9[_0x502c66(0x35b)](_0x226a15['selection']);_0x4f3e60['name']+=',\x20'+_0x226a15[_0x502c66(0x43c)];}else _0xf0eaf9['set'](_0x226a15[_0x502c66(0x575)],_0x226a15);}),Array['from'](_0xf0eaf9['values']());}var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x942acc){const _0xef72aa=_0x1b4be4;return _0x942acc&&_0x942acc[_0xef72aa(0x459)]&&Object[_0xef72aa(0x416)][_0xef72aa(0x47c)]['call'](_0x942acc,'default')?_0x942acc['default']:_0x942acc;}var gt={'exports':{}},Ue={},zt;function Nr(){const _0x10f263=_0x1b4be4;if(zt)return Ue;zt=0x1;var _0x3fdd68=oe,_0x4305f8=Symbol['for'](_0x10f263(0x445)),_0x31c126=Symbol['for'](_0x10f263(0x524)),_0x578d53=Object[_0x10f263(0x416)][_0x10f263(0x47c)],_0x334f02=_0x3fdd68[_0x10f263(0x16e)][_0x10f263(0x398)],_0x3ade3f={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x1ec9cb(_0x7449b,_0x52e1d7,_0x2f63d5){const _0x42d450=_0x10f263;var _0x34f937,_0x1a8985={},_0x30aa7e=null,_0x2b0332=null;_0x2f63d5!==void 0x0&&(_0x30aa7e=''+_0x2f63d5),_0x52e1d7[_0x42d450(0x323)]!==void 0x0&&(_0x30aa7e=''+_0x52e1d7[_0x42d450(0x323)]),_0x52e1d7[_0x42d450(0x598)]!==void 0x0&&(_0x2b0332=_0x52e1d7[_0x42d450(0x598)]);for(_0x34f937 in _0x52e1d7)_0x578d53[_0x42d450(0x246)](_0x52e1d7,_0x34f937)&&!_0x3ade3f[_0x42d450(0x47c)](_0x34f937)&&(_0x1a8985[_0x34f937]=_0x52e1d7[_0x34f937]);if(_0x7449b&&_0x7449b[_0x42d450(0x401)]){for(_0x34f937 in(_0x52e1d7=_0x7449b['defaultProps'],_0x52e1d7))_0x1a8985[_0x34f937]===void 0x0&&(_0x1a8985[_0x34f937]=_0x52e1d7[_0x34f937]);}return{'$$typeof':_0x4305f8,'type':_0x7449b,'key':_0x30aa7e,'ref':_0x2b0332,'props':_0x1a8985,'_owner':_0x334f02['current']};}return Ue[_0x10f263(0x148)]=_0x31c126,Ue[_0x10f263(0x428)]=_0x1ec9cb,Ue['jsxs']=_0x1ec9cb,Ue;}var Xt;function Lr(){const _0xa1d6b3=_0x1b4be4;return Xt||(Xt=0x1,gt['exports']=Nr()),gt[_0xa1d6b3(0x412)];}var me=Lr(),Q=function(){const _0x241a45=_0x1b4be4;return Q=Object[_0x241a45(0x143)]||function(_0x2d8aa4){const _0x333b3c=_0x241a45;for(var _0x95f5c5,_0x3e364f=0x1,_0xab4a16=arguments[_0x333b3c(0x1d6)];_0x3e364f<_0xab4a16;_0x3e364f++){_0x95f5c5=arguments[_0x3e364f];for(var _0x206a2e in _0x95f5c5)Object[_0x333b3c(0x416)]['hasOwnProperty'][_0x333b3c(0x246)](_0x95f5c5,_0x206a2e)&&(_0x2d8aa4[_0x206a2e]=_0x95f5c5[_0x206a2e]);}return _0x2d8aa4;},Q['apply'](this,arguments);},xr=function(_0x5a585d,_0x55a7a6){const _0xde83f9=_0x1b4be4;var _0x4c4355={};for(var _0x96611b in _0x5a585d)Object[_0xde83f9(0x416)][_0xde83f9(0x47c)][_0xde83f9(0x246)](_0x5a585d,_0x96611b)&&_0x55a7a6[_0xde83f9(0x2e0)](_0x96611b)<0x0&&(_0x4c4355[_0x96611b]=_0x5a585d[_0x96611b]);if(_0x5a585d!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x421c72=0x0,_0x96611b=Object[_0xde83f9(0x549)](_0x5a585d);_0x421c72<_0x96611b[_0xde83f9(0x1d6)];_0x421c72++)_0x55a7a6[_0xde83f9(0x2e0)](_0x96611b[_0x421c72])<0x0&&Object[_0xde83f9(0x416)][_0xde83f9(0x1fe)][_0xde83f9(0x246)](_0x5a585d,_0x96611b[_0x421c72])&&(_0x4c4355[_0x96611b[_0x421c72]]=_0x5a585d[_0x96611b[_0x421c72]]);}return _0x4c4355;},Nt=oe[_0x1b4be4(0x296)](function(_0x1a9477,_0x5d998e){const _0xb68975=_0x1b4be4;var _0x56437b=_0x1a9477['icon'],_0x3f3891=_0x1a9477['id'],_0x3b7f91=_0x1a9477[_0xb68975(0x14d)],_0x6f4be1=_0x1a9477[_0xb68975(0x4af)],_0x35ad28=xr(_0x1a9477,[_0xb68975(0x23b),'id',_0xb68975(0x14d),_0xb68975(0x4af)]),_0x55e159=_0xb68975(0x31f)[_0xb68975(0x28e)](_0x3f3891,'\x20')['concat'](_0x3b7f91||'')[_0xb68975(0x304)](),_0x56af36=oe[_0xb68975(0x504)]('_'[_0xb68975(0x28e)](Hr()));return Mi(_0x56437b,''[_0xb68975(0x28e)](_0x3f3891),{'defIds':_0x56437b['defIds'],'idSuffix':_0x56af36['current']},Q({'ref':_0x5d998e,'className':_0x55e159},_0x35ad28),_0x6f4be1);});function Mi(_0x16d421,_0x4a17aa,_0x12b496,_0x2532db,_0x3ca0af){const _0x39a301=_0x1b4be4;return oe['createElement'](_0x16d421[_0x39a301(0x322)],Q(Q({'key':_0x4a17aa},$r(_0x16d421,_0x12b496,_0x3ca0af)),_0x2532db),(jr(_0x16d421,_0x12b496)[_0x39a301(0x568)]||[])[_0x39a301(0x342)](function(_0x432451,_0x23d8b9){const _0x56ff4f=_0x39a301;return Mi(_0x432451,''[_0x56ff4f(0x28e)](_0x4a17aa,'-')['concat'](_0x16d421[_0x56ff4f(0x322)],'-')[_0x56ff4f(0x28e)](_0x23d8b9),_0x12b496,void 0x0,_0x3ca0af);}));}function $r(_0x5d633a,_0x2b5374,_0x2237e2){const _0x438572=_0x1b4be4;var _0x5b7254=Q({},_0x5d633a[_0x438572(0x297)]);_0x2237e2!=null&&_0x2237e2['colorChannel1']&&_0x5b7254[_0x438572(0x5e6)]===_0x438572(0x29c)&&(_0x5b7254['fill']=_0x2237e2['colorChannel1']);var _0x27d5d6=_0x2b5374[_0x438572(0x553)];return!_0x27d5d6||_0x27d5d6[_0x438572(0x1d6)]===0x0||(_0x5d633a[_0x438572(0x322)]===_0x438572(0x3c5)&&_0x5b7254[_0x438572(0x30c)]&&(_0x5b7254['xlink:href']=_0x5b7254[_0x438572(0x30c)]+_0x2b5374[_0x438572(0x58a)]),Object[_0x438572(0x165)](_0x5b7254)['forEach'](function(_0xc932a5){const _0x513774=_0x438572;var _0xb5c6ec=_0xc932a5[0x0],_0x1760ba=_0xc932a5[0x1];typeof _0x1760ba=='string'&&(_0x5b7254[_0xb5c6ec]=_0x1760ba[_0x513774(0x280)](/url\(#(.*)\)/,_0x513774(0x3c4)[_0x513774(0x28e)](_0x2b5374['idSuffix'],')')));})),_0x5b7254;}function jr(_0x21701e,_0x2c62cf){const _0x550894=_0x1b4be4;var _0x5e58fb,_0x943b0d=_0x2c62cf['defIds'];return!_0x943b0d||_0x943b0d['length']===0x0?_0x21701e:_0x21701e[_0x550894(0x322)]===_0x550894(0x5c8)&&(!((_0x5e58fb=_0x21701e[_0x550894(0x568)])===null||_0x5e58fb===void 0x0)&&_0x5e58fb[_0x550894(0x1d6)])?Q(Q({},_0x21701e),{'children':_0x21701e[_0x550894(0x568)][_0x550894(0x342)](function(_0x205a37){const _0x49ac59=_0x550894;return typeof _0x205a37['attrs']['id']==_0x49ac59(0x32c)&&_0x943b0d&&_0x943b0d[_0x49ac59(0x2e0)](_0x205a37[_0x49ac59(0x297)]['id'])>-0x1?Q(Q({},_0x205a37),{'attrs':Q(Q({},_0x205a37[_0x49ac59(0x297)]),{'id':_0x205a37[_0x49ac59(0x297)]['id']+_0x2c62cf[_0x49ac59(0x58a)]})}):_0x205a37;})}):_0x21701e;}function Hr(){const _0x7dd2fc=_0x1b4be4;return Math[_0x7dd2fc(0x331)]()[_0x7dd2fc(0x1d1)](0x24)[_0x7dd2fc(0x562)](0x2,0x8);}Nt[_0x1b4be4(0x4bc)]=_0x1b4be4(0x56a);var Br={'tag':_0x1b4be4(0x4f7),'attrs':{'fill':_0x1b4be4(0x13e),'viewBox':'0\x200\x2016\x2016','width':_0x1b4be4(0x251),'height':_0x1b4be4(0x251)},'children':[{'tag':'g','attrs':{'clipPath':_0x1b4be4(0x56d)},'children':[{'tag':_0x1b4be4(0x189),'attrs':{'stroke':_0x1b4be4(0x1c4),'d':_0x1b4be4(0x125),'strokeLinecap':'round','strokeLinejoin':_0x1b4be4(0x24c),'strokeWidth':1.2}}]},{'tag':_0x1b4be4(0x5c8),'attrs':{},'children':[{'tag':_0x1b4be4(0x12d),'attrs':{'id':_0x1b4be4(0x54b)},'children':[{'tag':_0x1b4be4(0x189),'attrs':{'fill':_0x1b4be4(0x3dc),'d':_0x1b4be4(0x25c)}}]}]}],'defIds':[_0x1b4be4(0x54b)]},Ai=oe['forwardRef'](function(_0x2b28a2,_0x75d28){const _0x1ef1ed=_0x1b4be4;return oe[_0x1ef1ed(0x1aa)](Nt,Object[_0x1ef1ed(0x143)]({},_0x2b28a2,{'id':'off-line-single','ref':_0x75d28,'icon':Br}));});Ai[_0x1b4be4(0x4bc)]=_0x1b4be4(0x149);var kr={'tag':_0x1b4be4(0x4f7),'attrs':{'fill':'none','viewBox':_0x1b4be4(0x1ce),'width':_0x1b4be4(0x251),'height':_0x1b4be4(0x251)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x1b4be4(0x189),'attrs':{'stroke':_0x1b4be4(0x1c4),'d':_0x1b4be4(0x38c),'strokeLinecap':_0x1b4be4(0x24c),'strokeLinejoin':_0x1b4be4(0x24c),'strokeWidth':1.2}}]},{'tag':_0x1b4be4(0x5c8),'attrs':{},'children':[{'tag':_0x1b4be4(0x12d),'attrs':{'id':_0x1b4be4(0x1b4)},'children':[{'tag':_0x1b4be4(0x189),'attrs':{'fill':_0x1b4be4(0x3dc),'d':_0x1b4be4(0x25c),'transform':_0x1b4be4(0x137)}}]}]}],'defIds':[_0x1b4be4(0x1b4)]},Ni=oe[_0x1b4be4(0x296)](function(_0x4b6297,_0x3a463b){const _0x19863f=_0x1b4be4;return oe['createElement'](Nt,Object[_0x19863f(0x143)]({},_0x4b6297,{'id':_0x19863f(0x43d),'ref':_0x3a463b,'icon':kr}));});Ni[_0x1b4be4(0x4bc)]=_0x1b4be4(0x302);function Li(_0xa4f1a){const _0x3a2851=_0x1b4be4;var _0xec8766,_0x3be21a,_0x1ddd15='';if(typeof _0xa4f1a==_0x3a2851(0x32c)||typeof _0xa4f1a==_0x3a2851(0x12a))_0x1ddd15+=_0xa4f1a;else{if(typeof _0xa4f1a=='object'){if(Array[_0x3a2851(0x295)](_0xa4f1a)){var _0x1ea79c=_0xa4f1a[_0x3a2851(0x1d6)];for(_0xec8766=0x0;_0xec8766<_0x1ea79c;_0xec8766++)_0xa4f1a[_0xec8766]&&(_0x3be21a=Li(_0xa4f1a[_0xec8766]))&&(_0x1ddd15&&(_0x1ddd15+='\x20'),_0x1ddd15+=_0x3be21a);}else{for(_0x3be21a in _0xa4f1a)_0xa4f1a[_0x3be21a]&&(_0x1ddd15&&(_0x1ddd15+='\x20'),_0x1ddd15+=_0x3be21a);}}}return _0x1ddd15;}function Wr(){const _0x1974df=_0x1b4be4;for(var _0x8d15a3,_0x2ef454,_0x41f13b=0x0,_0x436319='',_0x5c6715=arguments[_0x1974df(0x1d6)];_0x41f13b<_0x5c6715;_0x41f13b++)(_0x8d15a3=arguments[_0x41f13b])&&(_0x2ef454=Li(_0x8d15a3))&&(_0x436319&&(_0x436319+='\x20'),_0x436319+=_0x2ef454);return _0x436319;}const Fr='univer-online-status-icon',Vr=_0x1b4be4(0x538),Gr=_0x1b4be4(0x49c),Yr=_0x1b4be4(0x291),qr=_0x1b4be4(0x153),Me={'onlineStatusIcon':Fr,'onlineStatusTitle':Vr,'onlineStatus':Gr,'online':Yr,'offline':qr};function Kr(_0x354b29){const _0x294a18=_0x1b4be4;switch(_0x354b29){case K['OFFLINE']:return _0x294a18(0x2e8);case K['CONFLICT']:return _0x294a18(0x45a);case K[_0x294a18(0x196)]:return'collabStatus.fetchMiss';case K[_0x294a18(0x183)]:return _0x294a18(0x303);case K[_0x294a18(0x266)]:case K[_0x294a18(0x447)]:return _0x294a18(0x307);case K[_0x294a18(0x3f6)]:case K[_0x294a18(0x455)]:return _0x294a18(0x4f2);}}function xi(_0x3875c3){const _0x4ca545=_0x1b4be4,{status$:_0x1884fb}=_0x3875c3,_0xc2550f=ee[_0x4ca545(0x517)](_0x1884fb,K[_0x4ca545(0x183)]),_0x4ba1e8=a[_0x4ca545(0x55e)](a[_0x4ca545(0x138)]),_0xbc0fa3=a[_0x4ca545(0x55e)](exports[_0x4ca545(0x4bb)]),_0x16b10e=_0xc2550f!==K['OFFLINE'],_0x4ac84f=_0x4ba1e8['t'](Kr(_0xc2550f)),_0x1d68b3=Wr(Me[_0x4ca545(0x33a)],{[Me[_0x4ca545(0x164)]]:_0x16b10e,[Me[_0x4ca545(0x5aa)]]:!_0x16b10e}),_0x535244=_0x16b10e?me[_0x4ca545(0x428)](Ni,{}):me['jsx'](Ai,{}),_0x37288c=oe[_0x4ca545(0x334)](()=>{_0x16b10e||_0xbc0fa3['reconnect']();},[_0x16b10e,_0xbc0fa3]);function _0x198a5b(){const _0x5c8a97=_0x4ca545;return me['jsxs'](_0x5c8a97(0x5de),{'className':_0x1d68b3,'onClick':_0x37288c,'children':[me[_0x5c8a97(0x428)](_0x5c8a97(0x5de),{'className':Me[_0x5c8a97(0x554)],'children':_0x535244}),me['jsx'](_0x5c8a97(0x5de),{'className':Me[_0x5c8a97(0x548)],'children':_0x4ac84f})]});}return _0x16b10e?_0x198a5b():me[_0x4ca545(0x428)](Ie['Tooltip'],{'title':_0x4ba1e8['t'](_0x4ca545(0x5e3)),'children':_0x198a5b()});}var zr=Object[_0x1b4be4(0x3c9)],Xr=Object[_0x1b4be4(0x3c7)],Jr=(_0x225bcb,_0x1dcc3c,_0x145e6d,_0xe6805f)=>{for(var _0x23b61f=_0xe6805f>0x1?void 0x0:_0xe6805f?Xr(_0x1dcc3c,_0x145e6d):_0x1dcc3c,_0xeabdfe=_0x225bcb['length']-0x1,_0x4f7b66;_0xeabdfe>=0x0;_0xeabdfe--)(_0x4f7b66=_0x225bcb[_0xeabdfe])&&(_0x23b61f=(_0xe6805f?_0x4f7b66(_0x1dcc3c,_0x145e6d,_0x23b61f):_0x4f7b66(_0x23b61f))||_0x23b61f);return _0xe6805f&&_0x23b61f&&zr(_0x1dcc3c,_0x145e6d,_0x23b61f),_0x23b61f;},je=(_0x11d1ab,_0x2011eb)=>(_0x2cab3e,_0x45fb5f)=>_0x2011eb(_0x2cab3e,_0x45fb5f,_0x11d1ab);exports[_0x1b4be4(0x589)]=class extends a[_0x1b4be4(0x3a8)]{constructor(_0x3a6c8d,_0x30c368,_0x4bc499,_0x35f67c){const _0x5f294d=_0x1b4be4;super(),I(this,_0x5f294d(0x327),new A[(_0x5f294d(0x28f))](K['NOT_COLLAB'])),(this[_0x5f294d(0x471)]=_0x3a6c8d,this[_0x5f294d(0x3d8)]=_0x30c368,this[_0x5f294d(0x232)]=_0x4bc499,this[_0x5f294d(0x46e)]=_0x35f67c,this[_0x5f294d(0x54c)](),this['_initStatusListener']());}[_0x1b4be4(0x27e)](){const _0x539383=_0x1b4be4;this['disposeWithMe'](this['_univerInstanceService'][_0x539383(0x395)]['pipe'](A[_0x539383(0x58d)](()=>{const _0x40b5c8=_0x539383,_0x5646e7=this[_0x40b5c8(0x471)][_0x40b5c8(0x532)]();return _0x5646e7?this[_0x40b5c8(0x46e)][_0x40b5c8(0x56c)](_0x5646e7[_0x40b5c8(0x133)]()):A['of'](null);}),A[_0x539383(0x58d)](_0x50cc0e=>_0x50cc0e?_0x50cc0e[_0x539383(0x2f3)]:A['of'](K[_0x539383(0x183)])))['subscribe'](_0x3e363a=>{const _0x2cc441=_0x539383;this[_0x2cc441(0x327)]['next'](_0x3e363a);}));}[_0x1b4be4(0x54c)](){const _0x5eb0ae=_0x1b4be4;this[_0x5eb0ae(0x424)](this[_0x5eb0ae(0x3d8)][_0x5eb0ae(0x540)](ee[_0x5eb0ae(0x187)][_0x5eb0ae(0x18a)],()=>a[_0x5eb0ae(0x24d)](Zr({'status$':this[_0x5eb0ae(0x327)][_0x5eb0ae(0x581)]()}),this['_injector'])));}},exports['DesktopCollaborationStatusDisplayController']=Jr([je(0x0,a[_0x1b4be4(0x5e4)]),je(0x1,ee[_0x1b4be4(0x340)]),je(0x2,a[_0x1b4be4(0x5da)](a[_0x1b4be4(0x3a0)])),je(0x3,a[_0x1b4be4(0x5da)](exports[_0x1b4be4(0x3d4)]))],exports['DesktopCollaborationStatusDisplayController']);function Zr(_0x33d2c2){const {status$:_0x25dce3}=_0x33d2c2;return function(){const _0x4f2923=_0x446a;return me[_0x4f2923(0x428)](xi,{'status$':_0x25dce3});};}const Lt=a[_0x1b4be4(0x254)](_0x1b4be4(0x30e));var Qr=Object[_0x1b4be4(0x3c9)],es=Object[_0x1b4be4(0x3c7)],ts=(_0x5b8f2f,_0xdac8eb,_0x40cb7e,_0x3e2749)=>{const _0x192e3f=_0x1b4be4;for(var _0x4abc58=_0x3e2749>0x1?void 0x0:_0x3e2749?es(_0xdac8eb,_0x40cb7e):_0xdac8eb,_0x20e81a=_0x5b8f2f[_0x192e3f(0x1d6)]-0x1,_0x17ebbe;_0x20e81a>=0x0;_0x20e81a--)(_0x17ebbe=_0x5b8f2f[_0x20e81a])&&(_0x4abc58=(_0x3e2749?_0x17ebbe(_0xdac8eb,_0x40cb7e,_0x4abc58):_0x17ebbe(_0x4abc58))||_0x4abc58);return _0x3e2749&&_0x4abc58&&Qr(_0xdac8eb,_0x40cb7e,_0x4abc58),_0x4abc58;},Te=(_0x163e09,_0x3fbacb)=>(_0x5a59d8,_0x1b3743)=>_0x3fbacb(_0x5a59d8,_0x1b3743,_0x163e09);exports[_0x1b4be4(0x3ff)]=class extends a[_0x1b4be4(0x472)]{constructor(_0x3e7c03,_0x1dea7c,_0x4e2ce6,_0x5927b6,_0x526f9e,_0xa64a8c){const _0x2bcdad=_0x1b4be4;super(),this[_0x2bcdad(0x546)]=_0x3e7c03,this['_logService']=_0x1dea7c,this[_0x2bcdad(0x3a7)]=_0x4e2ce6,this[_0x2bcdad(0x2d7)]=_0x5927b6,this[_0x2bcdad(0x30f)]=_0x526f9e,_0xa64a8c?_0xa64a8c==null||_0xa64a8c['whenReady']()[_0x2bcdad(0x561)](()=>this['_init']()):(this[_0x2bcdad(0x4fe)]['debug'](_0x2bcdad(0x186),_0x2bcdad(0x558)),this[_0x2bcdad(0x421)]());}async[_0x1b4be4(0x421)](){const _0x27838f=_0x1b4be4,_0x9badf=this[_0x27838f(0x546)][_0x27838f(0x411)](_0x27838f(0x2ca)),_0x41cf54=this[_0x27838f(0x546)]['getParam'](_0x27838f(0x336));if(!_0x9badf||!_0x41cf54){this[_0x27838f(0x4fe)]['debug'](_0x27838f(0x186),_0x27838f(0x43b));return;}switch(Number(_0x41cf54)){case ie[_0x27838f(0x5b1)]:{const _0x21071d=await this[_0x27838f(0x490)](_0x9badf);this['_setupSubUnitSync'](_0x21071d);break;}case ie[_0x27838f(0x435)]:{await this[_0x27838f(0x25d)](_0x9badf);break;}default:{this['_logService']['error'](_0x27838f(0x186),_0x27838f(0x1e2));break;}}}async['_setupSubUnitSync'](_0xdc3d9c){const _0x374818=_0x1b4be4;await this[_0x374818(0x529)](_0xdc3d9c),_0xdc3d9c[_0x374818(0x2bb)]['pipe'](A[_0x374818(0x273)](this[_0x374818(0x372)]))[_0x374818(0x559)](_0x22db13=>{const _0x5495e8=_0x374818;_0x22db13&&this[_0x5495e8(0x21c)](_0x22db13);}),this['_urlService']['urlChange$'][_0x374818(0x33d)](A[_0x374818(0x273)](this[_0x374818(0x372)]))[_0x374818(0x559)](()=>this[_0x374818(0x529)](_0xdc3d9c));}[_0x1b4be4(0x21c)](_0x4b87da,_0x10e245=!0x1){const _0x113f8b=_0x1b4be4,_0x329014=this[_0x113f8b(0x546)][_0x113f8b(0x411)](_0x113f8b(0x45b));_0x4b87da[_0x113f8b(0x3a3)]()!==_0x329014&&this['_urlService'][_0x113f8b(0x236)](_0x113f8b(0x45b),_0x4b87da[_0x113f8b(0x3a3)](),_0x10e245);}async[_0x1b4be4(0x529)](_0x33d882){const _0x58b849=_0x1b4be4;var _0x2025ef;const _0x3a58f3=this[_0x58b849(0x546)][_0x58b849(0x411)](_0x58b849(0x45b));if(!_0x3a58f3||!_0x33d882[_0x58b849(0x2e7)](_0x3a58f3)){const _0x4ae857=_0x33d882[_0x58b849(0x586)]()[0x0],_0x2358d3=_0x33d882[_0x58b849(0x2e7)](_0x4ae857);if(!_0x2358d3)return;this[_0x58b849(0x21c)](_0x2358d3,!0x0),await this[_0x58b849(0x3a7)][_0x58b849(0x4a8)](k[_0x58b849(0x530)]['id'],{'unitId':_0x33d882[_0x58b849(0x133)](),'subUnitId':_0x4ae857});return;}((_0x2025ef=_0x33d882[_0x58b849(0x52b)]())==null?void 0x0:_0x2025ef['getSheetId']())!==_0x3a58f3&&await this[_0x58b849(0x3a7)][_0x58b849(0x4a8)](k[_0x58b849(0x530)]['id'],{'unitId':_0x33d882[_0x58b849(0x133)](),'subUnitId':_0x3a58f3});}async[_0x1b4be4(0x490)](_0x25439c){const _0x3706c5=_0x1b4be4;let _0x3b1cd3=0x0;const _0x335c3a=await this['_localCacheService'][_0x3706c5(0x120)](_0x25439c);return _0x335c3a&&(_0x335c3a[_0x3706c5(0x425)]||_0x335c3a[_0x3706c5(0x1ec)]['length']!==0x0)&&(_0x3b1cd3=_0x335c3a[_0x3706c5(0x463)]),_0x3b1cd3===0x0&&this['_logService'][_0x3706c5(0x2b6)](_0x3706c5(0x186),_0x3706c5(0x4f8)),this['_snapshotService'][_0x3706c5(0x4a5)](_0x25439c,_0x3b1cd3);}async['_loadDoc'](_0x5a9f3b){const _0x5d0b85=_0x1b4be4;let _0x5edc9b=0x0;const _0x34936c=await this[_0x5d0b85(0x2d7)][_0x5d0b85(0x120)](_0x5a9f3b);return _0x34936c&&(_0x34936c['awaitingChangeset']||_0x34936c[_0x5d0b85(0x1ec)]['length']!==0x0)&&(_0x5edc9b=_0x34936c[_0x5d0b85(0x463)]),_0x5edc9b===0x0&&this['_logService'][_0x5d0b85(0x2b6)](_0x5d0b85(0x186),_0x5d0b85(0x4f8)),this[_0x5d0b85(0x30f)][_0x5d0b85(0x287)](_0x5a9f3b,_0x5edc9b);}},exports[_0x1b4be4(0x3ff)]=ts([Te(0x0,Lt),Te(0x1,a[_0x1b4be4(0x509)]),Te(0x2,a[_0x1b4be4(0x58f)]),Te(0x3,a[_0x1b4be4(0x5da)](exports[_0x1b4be4(0x3ec)])),Te(0x4,a[_0x1b4be4(0x5da)](m['SnapshotService'])),Te(0x5,a[_0x1b4be4(0x3ab)](Gi[_0x1b4be4(0x2e1)]))],exports[_0x1b4be4(0x3ff)]);var is=Object[_0x1b4be4(0x3c9)],ns=Object[_0x1b4be4(0x3c7)],rs=(_0x263f93,_0x5b3932,_0x27b6f9,_0x57817b)=>{const _0x3c701f=_0x1b4be4;for(var _0x5880bf=_0x57817b>0x1?void 0x0:_0x57817b?ns(_0x5b3932,_0x27b6f9):_0x5b3932,_0x46d85e=_0x263f93[_0x3c701f(0x1d6)]-0x1,_0x50392b;_0x46d85e>=0x0;_0x46d85e--)(_0x50392b=_0x263f93[_0x46d85e])&&(_0x5880bf=(_0x57817b?_0x50392b(_0x5b3932,_0x27b6f9,_0x5880bf):_0x50392b(_0x5880bf))||_0x5880bf);return _0x57817b&&_0x5880bf&&is(_0x5b3932,_0x27b6f9,_0x5880bf),_0x5880bf;},Jt=(_0x27aab6,_0x27d7e4)=>(_0x219dc2,_0x2046bf)=>_0x27d7e4(_0x219dc2,_0x2046bf,_0x27aab6);const ss=_0x1b4be4(0x154),os=_0x1b4be4(0x498);let it=class extends a[_0x1b4be4(0x3a8)]{constructor(_0x2bfe61,_0x544bc1){const _0x2a7f4d=_0x1b4be4;super(),this[_0x2a7f4d(0x471)]=_0x2bfe61,this['_configService']=_0x544bc1,this['_init']();}[_0x1b4be4(0x421)](){const _0x2e164c=_0x1b4be4;this['disposeWithMe'](this[_0x2e164c(0x471)]['focused$']['subscribe'](()=>{const _0x2de2cf=_0x2e164c;var _0x2309c8;const _0x2bea6b=this['_univerInstanceService'][_0x2de2cf(0x532)]();let _0xd67935=(_0x2309c8=this[_0x2de2cf(0x234)][_0x2de2cf(0x2c9)](ss))!=null?_0x2309c8:os;_0x2bea6b instanceof a[_0x2de2cf(0x5b2)]&&(_0xd67935=_0x2bea6b[_0x2de2cf(0x43c)]),document[_0x2de2cf(0x1d4)]=_0xd67935;}));}};it=rs([Jt(0x0,a[_0x1b4be4(0x5e4)]),Jt(0x1,a[_0x1b4be4(0x2ec)])],it);var as=Object[_0x1b4be4(0x3c9)],cs=Object[_0x1b4be4(0x3c7)],ls=(_0xac0f5c,_0x1bb7c1,_0xd12858,_0x2b07cd)=>{const _0x102793=_0x1b4be4;for(var _0x336359=_0x2b07cd>0x1?void 0x0:_0x2b07cd?cs(_0x1bb7c1,_0xd12858):_0x1bb7c1,_0x392835=_0xac0f5c[_0x102793(0x1d6)]-0x1,_0x44cb05;_0x392835>=0x0;_0x392835--)(_0x44cb05=_0xac0f5c[_0x392835])&&(_0x336359=(_0x2b07cd?_0x44cb05(_0x1bb7c1,_0xd12858,_0x336359):_0x44cb05(_0x336359))||_0x336359);return _0x2b07cd&&_0x336359&&as(_0x1bb7c1,_0xd12858,_0x336359),_0x336359;},It=(_0x434cba,_0xf1b59)=>(_0x8380cc,_0x3498eb)=>_0xf1b59(_0x8380cc,_0x3498eb,_0x434cba);let nt=class{constructor(_0x14a58b,_0x10e212,_0x270592){const _0x167b59=_0x1b4be4;this['_configService']=_0x14a58b,this[_0x167b59(0x515)]=_0x10e212,this[_0x167b59(0x444)]=_0x270592,this[_0x167b59(0x5af)]();}[_0x1b4be4(0x5af)](){const _0x5eb4d8=_0x1b4be4;this[_0x5eb4d8(0x515)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x20b8f4,_0xcca32f)=>_0xcca32f(_0x20b8f4)[_0x5eb4d8(0x33d)](A['concatMap'](async _0x543e39=>{const _0x42694b=_0x5eb4d8,_0x12572c=_0x543e39;if(_0x12572c['status']===0x191&&window[_0x42694b(0x181)](this['localeService']['t'](_0x42694b(0x451)))){const _0x38e49e=window[_0x42694b(0x34e)](window['location'][_0x42694b(0x325)]);window[_0x42694b(0x16c)][_0x42694b(0x325)]=this[_0x42694b(0x23c)]()+_0x42694b(0x57b)+_0x38e49e;}return _0x12572c;}))});}['_getLoginPath'](){const _0x18509f=_0x1b4be4;var _0x173beb,_0x425cc7;const _0x45a44d=this[_0x18509f(0x234)]['getConfig'](Ci),_0x470b46=this['_configService']['getConfig'](Z);return(_0x425cc7=(_0x173beb=_0x470b46==null?void 0x0:_0x470b46[_0x18509f(0x2e4)])!=null?_0x173beb:_0x45a44d)!=null?_0x425cc7:nn;}};nt=ls([It(0x0,a[_0x1b4be4(0x2ec)]),It(0x1,a[_0x1b4be4(0x5da)](z[_0x1b4be4(0x3aa)])),It(0x2,a[_0x1b4be4(0x5da)](a[_0x1b4be4(0x138)]))],nt);function _0x446a(_0x3f6e3a,_0x55e3ee){const _0x3362af=_0x3362();return _0x446a=function(_0x446a76,_0x284edd){_0x446a76=_0x446a76-0x117;let _0x35a509=_0x3362af[_0x446a76];return _0x35a509;},_0x446a(_0x3f6e3a,_0x55e3ee);}var hs=Object[_0x1b4be4(0x3c9)],_s=Object[_0x1b4be4(0x3c7)],us=(_0x1af421,_0x3810ee,_0x466ff1,_0x2c1ce6)=>{const _0x390629=_0x1b4be4;for(var _0x3a1428=_0x2c1ce6>0x1?void 0x0:_0x2c1ce6?_s(_0x3810ee,_0x466ff1):_0x3810ee,_0x7b1099=_0x1af421[_0x390629(0x1d6)]-0x1,_0x426c5f;_0x7b1099>=0x0;_0x7b1099--)(_0x426c5f=_0x1af421[_0x7b1099])&&(_0x3a1428=(_0x2c1ce6?_0x426c5f(_0x3810ee,_0x466ff1,_0x3a1428):_0x426c5f(_0x3a1428))||_0x3a1428);return _0x2c1ce6&&_0x3a1428&&hs(_0x3810ee,_0x466ff1,_0x3a1428),_0x3a1428;},Zt=(_0x5407a4,_0x5e8aab)=>(_0x26b17e,_0x1f3845)=>_0x5e8aab(_0x26b17e,_0x1f3845,_0x5407a4);const xt=_0x1b4be4(0x1d8),ds=_0x1b4be4(0x44f);exports[_0x1b4be4(0x3d7)]=class extends a[_0x1b4be4(0x3a8)]{constructor(_0x461590,_0x1c9810){const _0x3e99aa=_0x1b4be4;super(),this['_HTTPService']=_0x461590,this['_configService']=_0x1c9810,this[_0x3e99aa(0x3bc)]();}['_initMergeInterceptor'](){const _0xf7c058=_0x1b4be4,_0x16bcaf=this;this['disposeWithMe'](this[_0xf7c058(0x1f1)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':z['MergeInterceptorFactory']({'isMatch'(_0x120878){const _0x4dd09b=_0xf7c058;var _0x57db28;if(_0x120878['method']===_0x4dd09b(0x215)&&((_0x57db28=_0x120878[_0x4dd09b(0x1a4)])!=null&&_0x57db28[_0x4dd09b(0x1a7)])){const {objectID:_0x2bfc0a,objectType:_0x528f9e}=_0x120878[_0x4dd09b(0x1a4)][_0x4dd09b(0x1a7)]||{};if(!_0x2bfc0a||_0x528f9e===void 0x0)return!0x1;const _0x52422f=_0x16bcaf[_0x4dd09b(0x250)]()+'/'+_0x528f9e+_0x4dd09b(0x33e)+_0x2bfc0a+_0x4dd09b(0x117);if(_0x120878[_0x4dd09b(0x519)]===_0x52422f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x19fef4){const _0x45ddcb=_0xf7c058;var _0x3e0603;return(_0x3e0603=_0x19fef4['requestParams'])==null?void 0x0:_0x3e0603[_0x45ddcb(0x1a7)];},'mergeParamsToRequest'(_0x169fe2,_0x16c205){const _0x2843a4=_0xf7c058,_0x25037d=_0x16bcaf[_0x2843a4(0x250)]()+_0x2843a4(0x267),_0x3654bf=_0x169fe2['reduce']((_0x212418,_0x483146)=>{const _0x206cf4=_0x2843a4,{unitID:_0x13c973,objectID:_0x5f3406,objectType:_0x3fc9ae,actions:_0x2821b4}=_0x483146;return _0x212418[_0x13c973]||(_0x212418[_0x13c973]={}),_0x212418[_0x13c973][_0x5f3406]||(_0x212418[_0x13c973][_0x5f3406]={'objectID':_0x5f3406,'objectType':_0x3fc9ae,'actions':[]}),_0x212418[_0x13c973][_0x5f3406]['actions'][_0x206cf4(0x284)](..._0x2821b4),_0x212418;},{}),_0x5dc972=[];for(const _0x3ebb8d in _0x3654bf)for(const _0x373d7c in _0x3654bf[_0x3ebb8d]){const {actions:_0x322ad6,objectType:_0x35a31b}=_0x3654bf[_0x3ebb8d][_0x373d7c],_0x1af34f=[...new Set(_0x322ad6)];_0x5dc972[_0x2843a4(0x284)]({'unitID':_0x3ebb8d,'objectID':_0x373d7c,'objectType':_0x35a31b,'actions':_0x1af34f});}return new z[(_0x2843a4(0x433))]('POST',_0x25037d,{'headers':_0x16c205[_0x2843a4(0x3e6)],'withCredentials':_0x16c205[_0x2843a4(0x344)],'responseType':_0x16c205[_0x2843a4(0x20a)],'body':{'requests':_0x5dc972}});}},{'distributeResult'(_0x5936f8,_0x352f12){const _0x42b5cf=_0xf7c058,{objectActions:_0x4b6f90}=_0x5936f8;return _0x352f12[_0x42b5cf(0x342)](_0x67f29a=>{const _0x2d4302=_0x42b5cf,{unitID:_0x30c876,objectID:_0x10a525,actions:_0x48e927}=_0x67f29a,_0x56b587=_0x4b6f90[_0x2d4302(0x46a)](_0x1e91b2=>_0x1e91b2[_0x2d4302(0x4c2)]===_0x30c876&&_0x1e91b2[_0x2d4302(0x42e)]===_0x10a525),_0x1db0e3=_0x48e927[_0x2d4302(0x342)](_0x2f000f=>_0x56b587==null?void 0x0:_0x56b587['actions']['find'](_0x5f2b24=>_0x5f2b24[_0x2d4302(0x1da)]===_0x2f000f))[_0x2d4302(0x316)](_0x16eb88=>!!_0x16eb88);return{'config':_0x67f29a,'result':{'actions':_0x1db0e3,'error':_0x5936f8['error']}};});}})}));}['_getAPIPrefixPath'](){const _0x1d093c=_0x1b4be4;var _0x3d9a3e,_0xdbeb76;const _0x493cc0=this[_0x1d093c(0x234)][_0x1d093c(0x2c9)](xt),_0x3e37f0=this[_0x1d093c(0x234)][_0x1d093c(0x2c9)](Z);return(_0xdbeb76=(_0x3d9a3e=_0x3e37f0==null?void 0x0:_0x3e37f0[_0x1d093c(0x33b)])!=null?_0x3d9a3e:_0x493cc0)!=null?_0xdbeb76:ds;}async[_0x1b4be4(0x28b)](_0x4d0874){const _0x56f4ea=_0x1b4be4,_0x57cbe=this[_0x56f4ea(0x250)]()+'/'+_0x4d0874[_0x56f4ea(0x52d)]+_0x56f4ea(0x5dc);return(await this[_0x56f4ea(0x1f1)][_0x56f4ea(0x2c7)](_0x57cbe,{'body':_0x4d0874}))[_0x56f4ea(0x1a7)]['objectID']||'';}async['list'](_0x537fff){const _0x4482bd=_0x1b4be4,_0x3dc0d3=this[_0x4482bd(0x250)]()+_0x4482bd(0x2b3);return(await this[_0x4482bd(0x1f1)][_0x4482bd(0x2c7)](_0x3dc0d3,{'body':_0x537fff}))[_0x4482bd(0x1a7)]['objects'];}async[_0x1b4be4(0x242)](_0x165bb7){const _0x2b9f0c=_0x1b4be4,_0xf2d02a=this['_getAPIPrefixPath']()+'/'+_0x165bb7[_0x2b9f0c(0x52d)]+'/object/'+_0x165bb7[_0x2b9f0c(0x42e)];await this[_0x2b9f0c(0x1f1)][_0x2b9f0c(0x4db)](_0xf2d02a,{'body':_0x165bb7});}async[_0x1b4be4(0x3f0)](_0x37caa1){const _0x5ec81f=_0x1b4be4,_0x2348fe=this[_0x5ec81f(0x250)]()+'/'+_0x37caa1[_0x5ec81f(0x52d)]+_0x5ec81f(0x33e)+_0x37caa1[_0x5ec81f(0x42e)]+_0x5ec81f(0x117);return(await this['_HTTPService'][_0x5ec81f(0x2c7)](_0x2348fe,{'body':_0x37caa1}))[_0x5ec81f(0x1a7)][_0x5ec81f(0x46f)];}async[_0x1b4be4(0x312)](_0x4e39a3){const _0x34d434=_0x1b4be4,_0x4bdd19=this[_0x34d434(0x250)]()+'/-/object/-/batch_allowed';return(await this[_0x34d434(0x1f1)][_0x34d434(0x2c7)](_0x4bdd19,{'body':{'requests':_0x4e39a3}}))[_0x34d434(0x1a7)][_0x34d434(0x25b)];}async[_0x1b4be4(0x426)](_0x290813){const _0x12aa02=_0x1b4be4,_0x1fd46f=this[_0x12aa02(0x250)]()+'/'+_0x290813[_0x12aa02(0x52d)]+_0x12aa02(0x587),_0x2005ee=await this['_HTTPService'][_0x12aa02(0x2c7)](_0x1fd46f,{'body':_0x290813});return{'roles':_0x2005ee[_0x12aa02(0x1a7)][_0x12aa02(0x434)],'actions':_0x2005ee[_0x12aa02(0x1a7)][_0x12aa02(0x46f)]};}async[_0x1b4be4(0x42c)](_0x1d86dc){const _0x4d366f=_0x1b4be4,_0x5cd0f5=this[_0x4d366f(0x250)]()+_0x4d366f(0x27d);await this[_0x4d366f(0x1f1)]['delete'](_0x5cd0f5,{'params':{'collaboratorID':_0x1d86dc[_0x4d366f(0x157)],'objectID':_0x1d86dc[_0x4d366f(0x42e)],'unitID':_0x1d86dc[_0x4d366f(0x4c2)]}});}async[_0x1b4be4(0x364)](_0x35850b){const _0x3cf316=_0x1b4be4,_0x27457c=this['_getAPIPrefixPath']()+_0x3cf316(0x27d);await this[_0x3cf316(0x1f1)][_0x3cf316(0x402)](_0x27457c,{'body':_0x35850b});}async[_0x1b4be4(0x12f)](_0x275149){const _0x4786aa=_0x1b4be4,_0x3c31fd=this[_0x4786aa(0x250)]()+_0x4786aa(0x27d);await this[_0x4786aa(0x1f1)][_0x4786aa(0x2c7)](_0x3c31fd,{'body':_0x275149});}async[_0x1b4be4(0x484)](_0x3c60b1){const _0x5437d9=_0x1b4be4,_0x1f24fa=this['_getAPIPrefixPath']()+_0x5437d9(0x27d);return(await this[_0x5437d9(0x1f1)][_0x5437d9(0x35b)](_0x1f24fa,{'params':{'objectID':_0x3c60b1[_0x5437d9(0x42e)],'unitID':_0x3c60b1[_0x5437d9(0x4c2)]}}))[_0x5437d9(0x1a7)]['collaborators'];}async[_0x1b4be4(0x545)](_0x44ff71){const _0x57a75f=_0x1b4be4,_0x50dc7a=this[_0x57a75f(0x250)]()+_0x57a75f(0x27d);await this['_HTTPService'][_0x57a75f(0x4db)](_0x50dc7a,{'body':_0x44ff71});}},exports[_0x1b4be4(0x3d7)]=us([Zt(0x0,a[_0x1b4be4(0x5da)](z[_0x1b4be4(0x3aa)])),Zt(0x1,a['Inject'](a['IConfigService']))],exports['AuthzIoHttpService']);var Be={'exports':{}};function fs(_0x267f26){const _0x221de2=_0x1b4be4;throw new Error(_0x221de2(0x270)+_0x267f26+_0x221de2(0x132));}var ke={'exports':{}},vs=ke[_0x1b4be4(0x412)],Qt;function se(){const _0xeca580=_0x1b4be4;return Qt||(Qt=0x1,function(_0x421580,_0x1631b3){(function(_0x3dbd05,_0x7f907){const _0x5b299f=_0x446a;_0x421580[_0x5b299f(0x412)]=_0x7f907();}(vs,function(){var _0x23d85f=_0x23d85f||function(_0x5796f1,_0xb53e7){const _0x3282a8=_0x446a;var _0xb3546f;if(typeof window<'u'&&window[_0x3282a8(0x317)]&&(_0xb3546f=window[_0x3282a8(0x317)]),typeof self<'u'&&self['crypto']&&(_0xb3546f=self[_0x3282a8(0x317)]),typeof globalThis<'u'&&globalThis[_0x3282a8(0x317)]&&(_0xb3546f=globalThis[_0x3282a8(0x317)]),!_0xb3546f&&typeof window<'u'&&window[_0x3282a8(0x4ed)]&&(_0xb3546f=window[_0x3282a8(0x4ed)]),!_0xb3546f&&typeof mt<'u'&&mt[_0x3282a8(0x317)]&&(_0xb3546f=mt[_0x3282a8(0x317)]),!_0xb3546f&&typeof fs==_0x3282a8(0x2b0))try{_0xb3546f=require(_0x3282a8(0x317));}catch{}var _0x1bdc28=function(){const _0x21178d=_0x3282a8;if(_0xb3546f){if(typeof _0xb3546f[_0x21178d(0x465)]==_0x21178d(0x2b0))try{return _0xb3546f[_0x21178d(0x465)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xb3546f[_0x21178d(0x176)]==_0x21178d(0x2b0))try{return _0xb3546f[_0x21178d(0x176)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3032ac=Object[_0x3282a8(0x28b)]||(function(){function _0xae2536(){}return function(_0x4174a3){const _0x64b592=_0x446a;var _0x4bf202;return _0xae2536[_0x64b592(0x416)]=_0x4174a3,_0x4bf202=new _0xae2536(),_0xae2536['prototype']=null,_0x4bf202;};}()),_0x129569={},_0x5e3ec6=_0x129569[_0x3282a8(0x23d)]={},_0x51e39c=_0x5e3ec6['Base']=(function(){return{'extend':function(_0x2250ca){const _0x26908a=_0x446a;var _0x33e1ef=_0x3032ac(this);return _0x2250ca&&_0x33e1ef[_0x26908a(0x399)](_0x2250ca),(!_0x33e1ef[_0x26908a(0x47c)](_0x26908a(0x5af))||this[_0x26908a(0x5af)]===_0x33e1ef['init'])&&(_0x33e1ef[_0x26908a(0x5af)]=function(){const _0x5e7552=_0x26908a;_0x33e1ef['$super'][_0x5e7552(0x5af)][_0x5e7552(0x294)](this,arguments);}),_0x33e1ef[_0x26908a(0x5af)][_0x26908a(0x416)]=_0x33e1ef,_0x33e1ef[_0x26908a(0x253)]=this,_0x33e1ef;},'create':function(){const _0x129fc3=_0x446a;var _0xa0a67e=this[_0x129fc3(0x4af)]();return _0xa0a67e[_0x129fc3(0x5af)][_0x129fc3(0x294)](_0xa0a67e,arguments),_0xa0a67e;},'init':function(){},'mixIn':function(_0x2379af){const _0x5122fa=_0x446a;for(var _0x3e363e in _0x2379af)_0x2379af[_0x5122fa(0x47c)](_0x3e363e)&&(this[_0x3e363e]=_0x2379af[_0x3e363e]);_0x2379af[_0x5122fa(0x47c)](_0x5122fa(0x1d1))&&(this[_0x5122fa(0x1d1)]=_0x2379af[_0x5122fa(0x1d1)]);},'clone':function(){return this['init']['prototype']['extend'](this);}};}()),_0x3681fa=_0x5e3ec6[_0x3282a8(0x309)]=_0x51e39c[_0x3282a8(0x4af)]({'init':function(_0xad24d8,_0x4f15f6){const _0x4c7e06=_0x3282a8;_0xad24d8=this[_0x4c7e06(0x5e2)]=_0xad24d8||[],_0x4f15f6!=_0xb53e7?this[_0x4c7e06(0x2e3)]=_0x4f15f6:this[_0x4c7e06(0x2e3)]=_0xad24d8[_0x4c7e06(0x1d6)]*0x4;},'toString':function(_0x2ac20f){const _0x2c9de2=_0x3282a8;return(_0x2ac20f||_0x700b75)[_0x2c9de2(0x397)](this);},'concat':function(_0x24891b){const _0x4384d1=_0x3282a8;var _0x32d953=this[_0x4384d1(0x5e2)],_0x5b8f51=_0x24891b[_0x4384d1(0x5e2)],_0x4941c3=this[_0x4384d1(0x2e3)],_0x190fe8=_0x24891b[_0x4384d1(0x2e3)];if(this[_0x4384d1(0x387)](),_0x4941c3%0x4)for(var _0x5becda=0x0;_0x5becda<_0x190fe8;_0x5becda++){var _0x555b27=_0x5b8f51[_0x5becda>>>0x2]>>>0x18-_0x5becda%0x4*0x8&0xff;_0x32d953[_0x4941c3+_0x5becda>>>0x2]|=_0x555b27<<0x18-(_0x4941c3+_0x5becda)%0x4*0x8;}else{for(var _0x2478c2=0x0;_0x2478c2<_0x190fe8;_0x2478c2+=0x4)_0x32d953[_0x4941c3+_0x2478c2>>>0x2]=_0x5b8f51[_0x2478c2>>>0x2];}return this[_0x4384d1(0x2e3)]+=_0x190fe8,this;},'clamp':function(){const _0x7dce5e=_0x3282a8;var _0x34e84f=this[_0x7dce5e(0x5e2)],_0x51cfea=this[_0x7dce5e(0x2e3)];_0x34e84f[_0x51cfea>>>0x2]&=0xffffffff<<0x20-_0x51cfea%0x4*0x8,_0x34e84f[_0x7dce5e(0x1d6)]=_0x5796f1[_0x7dce5e(0x135)](_0x51cfea/0x4);},'clone':function(){const _0x44c518=_0x3282a8;var _0x1ebd19=_0x51e39c[_0x44c518(0x31d)][_0x44c518(0x246)](this);return _0x1ebd19[_0x44c518(0x5e2)]=this[_0x44c518(0x5e2)][_0x44c518(0x487)](0x0),_0x1ebd19;},'random':function(_0x17577c){const _0x2474e5=_0x3282a8;for(var _0x510bda=[],_0x33cfa6=0x0;_0x33cfa6<_0x17577c;_0x33cfa6+=0x4)_0x510bda[_0x2474e5(0x284)](_0x1bdc28());return new _0x3681fa[(_0x2474e5(0x5af))](_0x510bda,_0x17577c);}}),_0x5076d7=_0x129569[_0x3282a8(0x175)]={},_0x700b75=_0x5076d7[_0x3282a8(0x185)]={'stringify':function(_0x3b00fe){const _0x2b32ad=_0x3282a8;for(var _0x572bfb=_0x3b00fe['words'],_0x4a1e45=_0x3b00fe[_0x2b32ad(0x2e3)],_0x5e774d=[],_0x8aab4d=0x0;_0x8aab4d<_0x4a1e45;_0x8aab4d++){var _0x3f7189=_0x572bfb[_0x8aab4d>>>0x2]>>>0x18-_0x8aab4d%0x4*0x8&0xff;_0x5e774d[_0x2b32ad(0x284)]((_0x3f7189>>>0x4)[_0x2b32ad(0x1d1)](0x10)),_0x5e774d[_0x2b32ad(0x284)]((_0x3f7189&0xf)[_0x2b32ad(0x1d1)](0x10));}return _0x5e774d[_0x2b32ad(0x37d)]('');},'parse':function(_0x5b86c0){const _0x441977=_0x3282a8;for(var _0x24cea4=_0x5b86c0[_0x441977(0x1d6)],_0x486535=[],_0x731159=0x0;_0x731159<_0x24cea4;_0x731159+=0x2)_0x486535[_0x731159>>>0x3]|=parseInt(_0x5b86c0[_0x441977(0x499)](_0x731159,0x2),0x10)<<0x18-_0x731159%0x8*0x4;return new _0x3681fa[(_0x441977(0x5af))](_0x486535,_0x24cea4/0x2);}},_0x4a4f58=_0x5076d7['Latin1']={'stringify':function(_0x54f03a){const _0x47c88c=_0x3282a8;for(var _0x213720=_0x54f03a[_0x47c88c(0x5e2)],_0x4010ea=_0x54f03a[_0x47c88c(0x2e3)],_0x481677=[],_0x37d7a8=0x0;_0x37d7a8<_0x4010ea;_0x37d7a8++){var _0x475fa5=_0x213720[_0x37d7a8>>>0x2]>>>0x18-_0x37d7a8%0x4*0x8&0xff;_0x481677['push'](String[_0x47c88c(0x201)](_0x475fa5));}return _0x481677['join']('');},'parse':function(_0x2219b9){const _0x5c4fee=_0x3282a8;for(var _0x23a903=_0x2219b9[_0x5c4fee(0x1d6)],_0x3c6acf=[],_0x4945d0=0x0;_0x4945d0<_0x23a903;_0x4945d0++)_0x3c6acf[_0x4945d0>>>0x2]|=(_0x2219b9[_0x5c4fee(0x406)](_0x4945d0)&0xff)<<0x18-_0x4945d0%0x4*0x8;return new _0x3681fa[(_0x5c4fee(0x5af))](_0x3c6acf,_0x23a903);}},_0x43d363=_0x5076d7[_0x3282a8(0x2ef)]={'stringify':function(_0x1c38fa){const _0x4907e1=_0x3282a8;try{return decodeURIComponent(escape(_0x4a4f58[_0x4907e1(0x397)](_0x1c38fa)));}catch{throw new Error(_0x4907e1(0x167));}},'parse':function(_0xea5d28){const _0x434916=_0x3282a8;return _0x4a4f58[_0x434916(0x194)](unescape(encodeURIComponent(_0xea5d28)));}},_0x39dda6=_0x5e3ec6['BufferedBlockAlgorithm']=_0x51e39c[_0x3282a8(0x4af)]({'reset':function(){const _0x180350=_0x3282a8;this[_0x180350(0x5e0)]=new _0x3681fa['init'](),this[_0x180350(0x45e)]=0x0;},'_append':function(_0x18bd8a){const _0x26b07e=_0x3282a8;typeof _0x18bd8a=='string'&&(_0x18bd8a=_0x43d363[_0x26b07e(0x194)](_0x18bd8a)),this[_0x26b07e(0x5e0)][_0x26b07e(0x28e)](_0x18bd8a),this[_0x26b07e(0x45e)]+=_0x18bd8a['sigBytes'];},'_process':function(_0xa4e5a4){const _0x1cfb92=_0x3282a8;var _0x2de036,_0x15eded=this[_0x1cfb92(0x5e0)],_0x3d6d3f=_0x15eded['words'],_0x1f0566=_0x15eded[_0x1cfb92(0x2e3)],_0x187064=this['blockSize'],_0x17d1fa=_0x187064*0x4,_0x495b91=_0x1f0566/_0x17d1fa;_0xa4e5a4?_0x495b91=_0x5796f1[_0x1cfb92(0x135)](_0x495b91):_0x495b91=_0x5796f1[_0x1cfb92(0x453)]((_0x495b91|0x0)-this[_0x1cfb92(0x4a7)],0x0);var _0x5d8a6a=_0x495b91*_0x187064,_0x2c9b63=_0x5796f1['min'](_0x5d8a6a*0x4,_0x1f0566);if(_0x5d8a6a){for(var _0xab7ba7=0x0;_0xab7ba7<_0x5d8a6a;_0xab7ba7+=_0x187064)this[_0x1cfb92(0x228)](_0x3d6d3f,_0xab7ba7);_0x2de036=_0x3d6d3f[_0x1cfb92(0x51a)](0x0,_0x5d8a6a),_0x15eded[_0x1cfb92(0x2e3)]-=_0x2c9b63;}return new _0x3681fa[(_0x1cfb92(0x5af))](_0x2de036,_0x2c9b63);},'clone':function(){const _0x56e6d3=_0x3282a8;var _0x214b12=_0x51e39c[_0x56e6d3(0x31d)]['call'](this);return _0x214b12[_0x56e6d3(0x5e0)]=this[_0x56e6d3(0x5e0)][_0x56e6d3(0x31d)](),_0x214b12;},'_minBufferSize':0x0});_0x5e3ec6['Hasher']=_0x39dda6['extend']({'cfg':_0x51e39c[_0x3282a8(0x4af)](),'init':function(_0x3469c2){const _0x171898=_0x3282a8;this['cfg']=this[_0x171898(0x1fa)]['extend'](_0x3469c2),this[_0x171898(0x1b6)]();},'reset':function(){const _0x10b5f5=_0x3282a8;_0x39dda6['reset'][_0x10b5f5(0x246)](this),this[_0x10b5f5(0x48f)]();},'update':function(_0x52a509){const _0x4c888c=_0x3282a8;return this['_append'](_0x52a509),this[_0x4c888c(0x5d2)](),this;},'finalize':function(_0x99b78e){const _0x1997f9=_0x3282a8;_0x99b78e&&this[_0x1997f9(0x39f)](_0x99b78e);var _0x307fb4=this[_0x1997f9(0x5a4)]();return _0x307fb4;},'blockSize':0x10,'_createHelper':function(_0x4cee92){return function(_0x3862ed,_0x334334){return new _0x4cee92['init'](_0x334334)['finalize'](_0x3862ed);};},'_createHmacHelper':function(_0x16b5ab){return function(_0x2dad68,_0xbe65dc){const _0x1ccadf=_0x446a;return new _0x1e84a0[(_0x1ccadf(0x205))][(_0x1ccadf(0x5af))](_0x16b5ab,_0xbe65dc)['finalize'](_0x2dad68);};}});var _0x1e84a0=_0x129569[_0x3282a8(0x597)]={};return _0x129569;}(Math);return _0x23d85f;}));}(ke)),ke[_0xeca580(0x412)];}var We={'exports':{}},ps=We[_0x1b4be4(0x412)],ei;function $i(){const _0x1e21b7=_0x1b4be4;return ei||(ei=0x1,function(_0xfa3b20,_0x1b7e27){(function(_0x34861d,_0x2bbbbe){const _0x44c5d4=_0x446a;_0xfa3b20[_0x44c5d4(0x412)]=_0x2bbbbe(se());}(ps,function(_0x721eb4){const _0x5e6084=_0x446a;return(function(){const _0x5c1a21=_0x446a;var _0x818017=_0x721eb4,_0x596380=_0x818017[_0x5c1a21(0x23d)],_0x252952=_0x596380[_0x5c1a21(0x309)],_0x26e49d=_0x818017[_0x5c1a21(0x175)];_0x26e49d['Base64']={'stringify':function(_0x32332d){const _0x48534f=_0x5c1a21;var _0x526c84=_0x32332d[_0x48534f(0x5e2)],_0x4cb232=_0x32332d[_0x48534f(0x2e3)],_0x7841c4=this[_0x48534f(0x11b)];_0x32332d[_0x48534f(0x387)]();for(var _0x3aba8e=[],_0x12ba37=0x0;_0x12ba37<_0x4cb232;_0x12ba37+=0x3)for(var _0x28fc87=_0x526c84[_0x12ba37>>>0x2]>>>0x18-_0x12ba37%0x4*0x8&0xff,_0x1e445b=_0x526c84[_0x12ba37+0x1>>>0x2]>>>0x18-(_0x12ba37+0x1)%0x4*0x8&0xff,_0x34b2f5=_0x526c84[_0x12ba37+0x2>>>0x2]>>>0x18-(_0x12ba37+0x2)%0x4*0x8&0xff,_0x249a9b=_0x28fc87<<0x10|_0x1e445b<<0x8|_0x34b2f5,_0x5ab930=0x0;_0x5ab930<0x4&&_0x12ba37+_0x5ab930*0.75<_0x4cb232;_0x5ab930++)_0x3aba8e[_0x48534f(0x284)](_0x7841c4[_0x48534f(0x376)](_0x249a9b>>>0x6*(0x3-_0x5ab930)&0x3f));var _0x260fb8=_0x7841c4[_0x48534f(0x376)](0x40);if(_0x260fb8){for(;_0x3aba8e[_0x48534f(0x1d6)]%0x4;)_0x3aba8e['push'](_0x260fb8);}return _0x3aba8e[_0x48534f(0x37d)]('');},'parse':function(_0x46c860){const _0x68cb9b=_0x5c1a21;var _0x49939e=_0x46c860['length'],_0x3f38d0=this[_0x68cb9b(0x11b)],_0x3ead4=this[_0x68cb9b(0x223)];if(!_0x3ead4){_0x3ead4=this[_0x68cb9b(0x223)]=[];for(var _0x42ef56=0x0;_0x42ef56<_0x3f38d0[_0x68cb9b(0x1d6)];_0x42ef56++)_0x3ead4[_0x3f38d0[_0x68cb9b(0x406)](_0x42ef56)]=_0x42ef56;}var _0x296829=_0x3f38d0['charAt'](0x40);if(_0x296829){var _0x4c6e66=_0x46c860[_0x68cb9b(0x2e0)](_0x296829);_0x4c6e66!==-0x1&&(_0x49939e=_0x4c6e66);}return _0x4db3a8(_0x46c860,_0x49939e,_0x3ead4);},'_map':_0x5c1a21(0x5c2)};function _0x4db3a8(_0x2cb070,_0x53d54e,_0x4d5702){const _0x1cc710=_0x5c1a21;for(var _0x147411=[],_0x3b507d=0x0,_0x5465a7=0x0;_0x5465a7<_0x53d54e;_0x5465a7++)if(_0x5465a7%0x4){var _0xdf321b=_0x4d5702[_0x2cb070[_0x1cc710(0x406)](_0x5465a7-0x1)]<<_0x5465a7%0x4*0x2,_0x1da18e=_0x4d5702[_0x2cb070[_0x1cc710(0x406)](_0x5465a7)]>>>0x6-_0x5465a7%0x4*0x2,_0x3a2e1a=_0xdf321b|_0x1da18e;_0x147411[_0x3b507d>>>0x2]|=_0x3a2e1a<<0x18-_0x3b507d%0x4*0x8,_0x3b507d++;}return _0x252952[_0x1cc710(0x28b)](_0x147411,_0x3b507d);}}()),_0x721eb4[_0x5e6084(0x175)][_0x5e6084(0x458)];}));}(We)),We[_0x1e21b7(0x412)];}var Fe={'exports':{}},Ss=Fe['exports'],ti;function ms(){return ti||(ti=0x1,function(_0x23e5d3,_0x2cf951){(function(_0x3fbc62,_0x3d8d78){const _0x50af8b=_0x446a;_0x23e5d3[_0x50af8b(0x412)]=_0x3d8d78(se());}(Ss,function(_0x22d3c3){const _0x3d9e69=_0x446a;return function(_0xec8d6b){const _0x5711a6=_0x446a;var _0x5daa44=_0x22d3c3,_0x53eba5=_0x5daa44[_0x5711a6(0x23d)],_0x15e175=_0x53eba5[_0x5711a6(0x309)],_0x15f967=_0x53eba5['Hasher'],_0xc97528=_0x5daa44['algo'],_0x55c1bf=[];(function(){const _0x4c4ba6=_0x5711a6;for(var _0x3f9708=0x0;_0x3f9708<0x40;_0x3f9708++)_0x55c1bf[_0x3f9708]=_0xec8d6b['abs'](_0xec8d6b[_0x4c4ba6(0x256)](_0x3f9708+0x1))*0x100000000|0x0;}());var _0x53d8e0=_0xc97528[_0x5711a6(0x32e)]=_0x15f967[_0x5711a6(0x4af)]({'_doReset':function(){const _0x51fa6c=_0x5711a6;this[_0x51fa6c(0x141)]=new _0x15e175[(_0x51fa6c(0x5af))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xe9135d,_0x5b8baa){for(var _0x25405d=0x0;_0x25405d<0x10;_0x25405d++){var _0x5c711c=_0x5b8baa+_0x25405d,_0x2346c3=_0xe9135d[_0x5c711c];_0xe9135d[_0x5c711c]=(_0x2346c3<<0x8|_0x2346c3>>>0x18)&0xff00ff|(_0x2346c3<<0x18|_0x2346c3>>>0x8)&0xff00ff00;}var _0x3991bc=this['_hash']['words'],_0x64fd29=_0xe9135d[_0x5b8baa+0x0],_0x656292=_0xe9135d[_0x5b8baa+0x1],_0x85d1f8=_0xe9135d[_0x5b8baa+0x2],_0x37b200=_0xe9135d[_0x5b8baa+0x3],_0xd1b11=_0xe9135d[_0x5b8baa+0x4],_0x2bcf3c=_0xe9135d[_0x5b8baa+0x5],_0x2b2e5e=_0xe9135d[_0x5b8baa+0x6],_0xc672b=_0xe9135d[_0x5b8baa+0x7],_0x3e15e0=_0xe9135d[_0x5b8baa+0x8],_0x5f3fd9=_0xe9135d[_0x5b8baa+0x9],_0x33f836=_0xe9135d[_0x5b8baa+0xa],_0x4981ba=_0xe9135d[_0x5b8baa+0xb],_0x329e71=_0xe9135d[_0x5b8baa+0xc],_0xa87982=_0xe9135d[_0x5b8baa+0xd],_0x3eb7a9=_0xe9135d[_0x5b8baa+0xe],_0x47328c=_0xe9135d[_0x5b8baa+0xf],_0x224642=_0x3991bc[0x0],_0x4258a6=_0x3991bc[0x1],_0x5d211f=_0x3991bc[0x2],_0x27c45d=_0x3991bc[0x3];_0x224642=_0x59d72e(_0x224642,_0x4258a6,_0x5d211f,_0x27c45d,_0x64fd29,0x7,_0x55c1bf[0x0]),_0x27c45d=_0x59d72e(_0x27c45d,_0x224642,_0x4258a6,_0x5d211f,_0x656292,0xc,_0x55c1bf[0x1]),_0x5d211f=_0x59d72e(_0x5d211f,_0x27c45d,_0x224642,_0x4258a6,_0x85d1f8,0x11,_0x55c1bf[0x2]),_0x4258a6=_0x59d72e(_0x4258a6,_0x5d211f,_0x27c45d,_0x224642,_0x37b200,0x16,_0x55c1bf[0x3]),_0x224642=_0x59d72e(_0x224642,_0x4258a6,_0x5d211f,_0x27c45d,_0xd1b11,0x7,_0x55c1bf[0x4]),_0x27c45d=_0x59d72e(_0x27c45d,_0x224642,_0x4258a6,_0x5d211f,_0x2bcf3c,0xc,_0x55c1bf[0x5]),_0x5d211f=_0x59d72e(_0x5d211f,_0x27c45d,_0x224642,_0x4258a6,_0x2b2e5e,0x11,_0x55c1bf[0x6]),_0x4258a6=_0x59d72e(_0x4258a6,_0x5d211f,_0x27c45d,_0x224642,_0xc672b,0x16,_0x55c1bf[0x7]),_0x224642=_0x59d72e(_0x224642,_0x4258a6,_0x5d211f,_0x27c45d,_0x3e15e0,0x7,_0x55c1bf[0x8]),_0x27c45d=_0x59d72e(_0x27c45d,_0x224642,_0x4258a6,_0x5d211f,_0x5f3fd9,0xc,_0x55c1bf[0x9]),_0x5d211f=_0x59d72e(_0x5d211f,_0x27c45d,_0x224642,_0x4258a6,_0x33f836,0x11,_0x55c1bf[0xa]),_0x4258a6=_0x59d72e(_0x4258a6,_0x5d211f,_0x27c45d,_0x224642,_0x4981ba,0x16,_0x55c1bf[0xb]),_0x224642=_0x59d72e(_0x224642,_0x4258a6,_0x5d211f,_0x27c45d,_0x329e71,0x7,_0x55c1bf[0xc]),_0x27c45d=_0x59d72e(_0x27c45d,_0x224642,_0x4258a6,_0x5d211f,_0xa87982,0xc,_0x55c1bf[0xd]),_0x5d211f=_0x59d72e(_0x5d211f,_0x27c45d,_0x224642,_0x4258a6,_0x3eb7a9,0x11,_0x55c1bf[0xe]),_0x4258a6=_0x59d72e(_0x4258a6,_0x5d211f,_0x27c45d,_0x224642,_0x47328c,0x16,_0x55c1bf[0xf]),_0x224642=_0x421c74(_0x224642,_0x4258a6,_0x5d211f,_0x27c45d,_0x656292,0x5,_0x55c1bf[0x10]),_0x27c45d=_0x421c74(_0x27c45d,_0x224642,_0x4258a6,_0x5d211f,_0x2b2e5e,0x9,_0x55c1bf[0x11]),_0x5d211f=_0x421c74(_0x5d211f,_0x27c45d,_0x224642,_0x4258a6,_0x4981ba,0xe,_0x55c1bf[0x12]),_0x4258a6=_0x421c74(_0x4258a6,_0x5d211f,_0x27c45d,_0x224642,_0x64fd29,0x14,_0x55c1bf[0x13]),_0x224642=_0x421c74(_0x224642,_0x4258a6,_0x5d211f,_0x27c45d,_0x2bcf3c,0x5,_0x55c1bf[0x14]),_0x27c45d=_0x421c74(_0x27c45d,_0x224642,_0x4258a6,_0x5d211f,_0x33f836,0x9,_0x55c1bf[0x15]),_0x5d211f=_0x421c74(_0x5d211f,_0x27c45d,_0x224642,_0x4258a6,_0x47328c,0xe,_0x55c1bf[0x16]),_0x4258a6=_0x421c74(_0x4258a6,_0x5d211f,_0x27c45d,_0x224642,_0xd1b11,0x14,_0x55c1bf[0x17]),_0x224642=_0x421c74(_0x224642,_0x4258a6,_0x5d211f,_0x27c45d,_0x5f3fd9,0x5,_0x55c1bf[0x18]),_0x27c45d=_0x421c74(_0x27c45d,_0x224642,_0x4258a6,_0x5d211f,_0x3eb7a9,0x9,_0x55c1bf[0x19]),_0x5d211f=_0x421c74(_0x5d211f,_0x27c45d,_0x224642,_0x4258a6,_0x37b200,0xe,_0x55c1bf[0x1a]),_0x4258a6=_0x421c74(_0x4258a6,_0x5d211f,_0x27c45d,_0x224642,_0x3e15e0,0x14,_0x55c1bf[0x1b]),_0x224642=_0x421c74(_0x224642,_0x4258a6,_0x5d211f,_0x27c45d,_0xa87982,0x5,_0x55c1bf[0x1c]),_0x27c45d=_0x421c74(_0x27c45d,_0x224642,_0x4258a6,_0x5d211f,_0x85d1f8,0x9,_0x55c1bf[0x1d]),_0x5d211f=_0x421c74(_0x5d211f,_0x27c45d,_0x224642,_0x4258a6,_0xc672b,0xe,_0x55c1bf[0x1e]),_0x4258a6=_0x421c74(_0x4258a6,_0x5d211f,_0x27c45d,_0x224642,_0x329e71,0x14,_0x55c1bf[0x1f]),_0x224642=_0x4a34bd(_0x224642,_0x4258a6,_0x5d211f,_0x27c45d,_0x2bcf3c,0x4,_0x55c1bf[0x20]),_0x27c45d=_0x4a34bd(_0x27c45d,_0x224642,_0x4258a6,_0x5d211f,_0x3e15e0,0xb,_0x55c1bf[0x21]),_0x5d211f=_0x4a34bd(_0x5d211f,_0x27c45d,_0x224642,_0x4258a6,_0x4981ba,0x10,_0x55c1bf[0x22]),_0x4258a6=_0x4a34bd(_0x4258a6,_0x5d211f,_0x27c45d,_0x224642,_0x3eb7a9,0x17,_0x55c1bf[0x23]),_0x224642=_0x4a34bd(_0x224642,_0x4258a6,_0x5d211f,_0x27c45d,_0x656292,0x4,_0x55c1bf[0x24]),_0x27c45d=_0x4a34bd(_0x27c45d,_0x224642,_0x4258a6,_0x5d211f,_0xd1b11,0xb,_0x55c1bf[0x25]),_0x5d211f=_0x4a34bd(_0x5d211f,_0x27c45d,_0x224642,_0x4258a6,_0xc672b,0x10,_0x55c1bf[0x26]),_0x4258a6=_0x4a34bd(_0x4258a6,_0x5d211f,_0x27c45d,_0x224642,_0x33f836,0x17,_0x55c1bf[0x27]),_0x224642=_0x4a34bd(_0x224642,_0x4258a6,_0x5d211f,_0x27c45d,_0xa87982,0x4,_0x55c1bf[0x28]),_0x27c45d=_0x4a34bd(_0x27c45d,_0x224642,_0x4258a6,_0x5d211f,_0x64fd29,0xb,_0x55c1bf[0x29]),_0x5d211f=_0x4a34bd(_0x5d211f,_0x27c45d,_0x224642,_0x4258a6,_0x37b200,0x10,_0x55c1bf[0x2a]),_0x4258a6=_0x4a34bd(_0x4258a6,_0x5d211f,_0x27c45d,_0x224642,_0x2b2e5e,0x17,_0x55c1bf[0x2b]),_0x224642=_0x4a34bd(_0x224642,_0x4258a6,_0x5d211f,_0x27c45d,_0x5f3fd9,0x4,_0x55c1bf[0x2c]),_0x27c45d=_0x4a34bd(_0x27c45d,_0x224642,_0x4258a6,_0x5d211f,_0x329e71,0xb,_0x55c1bf[0x2d]),_0x5d211f=_0x4a34bd(_0x5d211f,_0x27c45d,_0x224642,_0x4258a6,_0x47328c,0x10,_0x55c1bf[0x2e]),_0x4258a6=_0x4a34bd(_0x4258a6,_0x5d211f,_0x27c45d,_0x224642,_0x85d1f8,0x17,_0x55c1bf[0x2f]),_0x224642=_0x51085e(_0x224642,_0x4258a6,_0x5d211f,_0x27c45d,_0x64fd29,0x6,_0x55c1bf[0x30]),_0x27c45d=_0x51085e(_0x27c45d,_0x224642,_0x4258a6,_0x5d211f,_0xc672b,0xa,_0x55c1bf[0x31]),_0x5d211f=_0x51085e(_0x5d211f,_0x27c45d,_0x224642,_0x4258a6,_0x3eb7a9,0xf,_0x55c1bf[0x32]),_0x4258a6=_0x51085e(_0x4258a6,_0x5d211f,_0x27c45d,_0x224642,_0x2bcf3c,0x15,_0x55c1bf[0x33]),_0x224642=_0x51085e(_0x224642,_0x4258a6,_0x5d211f,_0x27c45d,_0x329e71,0x6,_0x55c1bf[0x34]),_0x27c45d=_0x51085e(_0x27c45d,_0x224642,_0x4258a6,_0x5d211f,_0x37b200,0xa,_0x55c1bf[0x35]),_0x5d211f=_0x51085e(_0x5d211f,_0x27c45d,_0x224642,_0x4258a6,_0x33f836,0xf,_0x55c1bf[0x36]),_0x4258a6=_0x51085e(_0x4258a6,_0x5d211f,_0x27c45d,_0x224642,_0x656292,0x15,_0x55c1bf[0x37]),_0x224642=_0x51085e(_0x224642,_0x4258a6,_0x5d211f,_0x27c45d,_0x3e15e0,0x6,_0x55c1bf[0x38]),_0x27c45d=_0x51085e(_0x27c45d,_0x224642,_0x4258a6,_0x5d211f,_0x47328c,0xa,_0x55c1bf[0x39]),_0x5d211f=_0x51085e(_0x5d211f,_0x27c45d,_0x224642,_0x4258a6,_0x2b2e5e,0xf,_0x55c1bf[0x3a]),_0x4258a6=_0x51085e(_0x4258a6,_0x5d211f,_0x27c45d,_0x224642,_0xa87982,0x15,_0x55c1bf[0x3b]),_0x224642=_0x51085e(_0x224642,_0x4258a6,_0x5d211f,_0x27c45d,_0xd1b11,0x6,_0x55c1bf[0x3c]),_0x27c45d=_0x51085e(_0x27c45d,_0x224642,_0x4258a6,_0x5d211f,_0x4981ba,0xa,_0x55c1bf[0x3d]),_0x5d211f=_0x51085e(_0x5d211f,_0x27c45d,_0x224642,_0x4258a6,_0x85d1f8,0xf,_0x55c1bf[0x3e]),_0x4258a6=_0x51085e(_0x4258a6,_0x5d211f,_0x27c45d,_0x224642,_0x5f3fd9,0x15,_0x55c1bf[0x3f]),_0x3991bc[0x0]=_0x3991bc[0x0]+_0x224642|0x0,_0x3991bc[0x1]=_0x3991bc[0x1]+_0x4258a6|0x0,_0x3991bc[0x2]=_0x3991bc[0x2]+_0x5d211f|0x0,_0x3991bc[0x3]=_0x3991bc[0x3]+_0x27c45d|0x0;},'_doFinalize':function(){const _0x2d7984=_0x5711a6;var _0x1a9dcc=this[_0x2d7984(0x5e0)],_0x21b500=_0x1a9dcc['words'],_0x15a873=this[_0x2d7984(0x45e)]*0x8,_0x5c275c=_0x1a9dcc[_0x2d7984(0x2e3)]*0x8;_0x21b500[_0x5c275c>>>0x5]|=0x80<<0x18-_0x5c275c%0x20;var _0x3fad5e=_0xec8d6b['floor'](_0x15a873/0x100000000),_0x485145=_0x15a873;_0x21b500[(_0x5c275c+0x40>>>0x9<<0x4)+0xf]=(_0x3fad5e<<0x8|_0x3fad5e>>>0x18)&0xff00ff|(_0x3fad5e<<0x18|_0x3fad5e>>>0x8)&0xff00ff00,_0x21b500[(_0x5c275c+0x40>>>0x9<<0x4)+0xe]=(_0x485145<<0x8|_0x485145>>>0x18)&0xff00ff|(_0x485145<<0x18|_0x485145>>>0x8)&0xff00ff00,_0x1a9dcc[_0x2d7984(0x2e3)]=(_0x21b500[_0x2d7984(0x1d6)]+0x1)*0x4,this[_0x2d7984(0x5d2)]();for(var _0x522afc=this[_0x2d7984(0x141)],_0x35e2b5=_0x522afc[_0x2d7984(0x5e2)],_0x5d8820=0x0;_0x5d8820<0x4;_0x5d8820++){var _0x175aea=_0x35e2b5[_0x5d8820];_0x35e2b5[_0x5d8820]=(_0x175aea<<0x8|_0x175aea>>>0x18)&0xff00ff|(_0x175aea<<0x18|_0x175aea>>>0x8)&0xff00ff00;}return _0x522afc;},'clone':function(){const _0xbe8633=_0x5711a6;var _0xe90881=_0x15f967[_0xbe8633(0x31d)]['call'](this);return _0xe90881[_0xbe8633(0x141)]=this[_0xbe8633(0x141)][_0xbe8633(0x31d)](),_0xe90881;}});function _0x59d72e(_0x655fe6,_0x38a3e7,_0x14c4b3,_0x59689b,_0x9e32f2,_0x1673f2,_0x2eff23){var _0x55efd1=_0x655fe6+(_0x38a3e7&_0x14c4b3|~_0x38a3e7&_0x59689b)+_0x9e32f2+_0x2eff23;return(_0x55efd1<<_0x1673f2|_0x55efd1>>>0x20-_0x1673f2)+_0x38a3e7;}function _0x421c74(_0x505cba,_0x461aaa,_0x2b6497,_0x48e853,_0x215b76,_0x100427,_0x583928){var _0x489cb3=_0x505cba+(_0x461aaa&_0x48e853|_0x2b6497&~_0x48e853)+_0x215b76+_0x583928;return(_0x489cb3<<_0x100427|_0x489cb3>>>0x20-_0x100427)+_0x461aaa;}function _0x4a34bd(_0x168cb8,_0xe8dc9f,_0x46d031,_0x54fa38,_0x4d9009,_0x129478,_0x399fbd){var _0x16f6dd=_0x168cb8+(_0xe8dc9f^_0x46d031^_0x54fa38)+_0x4d9009+_0x399fbd;return(_0x16f6dd<<_0x129478|_0x16f6dd>>>0x20-_0x129478)+_0xe8dc9f;}function _0x51085e(_0x5e0fa3,_0x1a4372,_0x4ee5a4,_0x2f9a11,_0x220137,_0xb2d910,_0x76eda5){var _0x100b61=_0x5e0fa3+(_0x4ee5a4^(_0x1a4372|~_0x2f9a11))+_0x220137+_0x76eda5;return(_0x100b61<<_0xb2d910|_0x100b61>>>0x20-_0xb2d910)+_0x1a4372;}_0x5daa44[_0x5711a6(0x32e)]=_0x15f967['_createHelper'](_0x53d8e0),_0x5daa44[_0x5711a6(0x573)]=_0x15f967[_0x5711a6(0x37f)](_0x53d8e0);}(Math),_0x22d3c3[_0x3d9e69(0x32e)];}));}(Fe)),Fe['exports'];}var Ve={'exports':{}},Ge={'exports':{}},gs=Ge['exports'],ii;function Is(){const _0x28dab2=_0x1b4be4;return ii||(ii=0x1,function(_0x42d1c8,_0x230da5){(function(_0xacb8a9,_0x340e8e){const _0x6619ee=_0x446a;_0x42d1c8[_0x6619ee(0x412)]=_0x340e8e(se());}(gs,function(_0x5591fd){const _0x442bf9=_0x446a;return(function(){const _0x1070b7=_0x446a;var _0x22fdab=_0x5591fd,_0x27a324=_0x22fdab[_0x1070b7(0x23d)],_0x493fdb=_0x27a324['WordArray'],_0x38cb97=_0x27a324[_0x1070b7(0x1f5)],_0x255408=_0x22fdab[_0x1070b7(0x597)],_0x4e5c5a=[],_0x9672c=_0x255408[_0x1070b7(0x45f)]=_0x38cb97[_0x1070b7(0x4af)]({'_doReset':function(){const _0x1fc719=_0x1070b7;this[_0x1fc719(0x141)]=new _0x493fdb[(_0x1fc719(0x5af))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1bd4cb,_0x5d0f17){for(var _0x36aa02=this['_hash']['words'],_0x447363=_0x36aa02[0x0],_0x4fa308=_0x36aa02[0x1],_0x1cd7aa=_0x36aa02[0x2],_0x28b10b=_0x36aa02[0x3],_0x4892a4=_0x36aa02[0x4],_0x1515d1=0x0;_0x1515d1<0x50;_0x1515d1++){if(_0x1515d1<0x10)_0x4e5c5a[_0x1515d1]=_0x1bd4cb[_0x5d0f17+_0x1515d1]|0x0;else{var _0x48bf95=_0x4e5c5a[_0x1515d1-0x3]^_0x4e5c5a[_0x1515d1-0x8]^_0x4e5c5a[_0x1515d1-0xe]^_0x4e5c5a[_0x1515d1-0x10];_0x4e5c5a[_0x1515d1]=_0x48bf95<<0x1|_0x48bf95>>>0x1f;}var _0x40f5d2=(_0x447363<<0x5|_0x447363>>>0x1b)+_0x4892a4+_0x4e5c5a[_0x1515d1];_0x1515d1<0x14?_0x40f5d2+=(_0x4fa308&_0x1cd7aa|~_0x4fa308&_0x28b10b)+0x5a827999:_0x1515d1<0x28?_0x40f5d2+=(_0x4fa308^_0x1cd7aa^_0x28b10b)+0x6ed9eba1:_0x1515d1<0x3c?_0x40f5d2+=(_0x4fa308&_0x1cd7aa|_0x4fa308&_0x28b10b|_0x1cd7aa&_0x28b10b)-0x70e44324:_0x40f5d2+=(_0x4fa308^_0x1cd7aa^_0x28b10b)-0x359d3e2a,_0x4892a4=_0x28b10b,_0x28b10b=_0x1cd7aa,_0x1cd7aa=_0x4fa308<<0x1e|_0x4fa308>>>0x2,_0x4fa308=_0x447363,_0x447363=_0x40f5d2;}_0x36aa02[0x0]=_0x36aa02[0x0]+_0x447363|0x0,_0x36aa02[0x1]=_0x36aa02[0x1]+_0x4fa308|0x0,_0x36aa02[0x2]=_0x36aa02[0x2]+_0x1cd7aa|0x0,_0x36aa02[0x3]=_0x36aa02[0x3]+_0x28b10b|0x0,_0x36aa02[0x4]=_0x36aa02[0x4]+_0x4892a4|0x0;},'_doFinalize':function(){const _0x30c4b7=_0x1070b7;var _0x3b1e41=this[_0x30c4b7(0x5e0)],_0x34d12a=_0x3b1e41[_0x30c4b7(0x5e2)],_0x35bd7f=this[_0x30c4b7(0x45e)]*0x8,_0x4390bc=_0x3b1e41[_0x30c4b7(0x2e3)]*0x8;return _0x34d12a[_0x4390bc>>>0x5]|=0x80<<0x18-_0x4390bc%0x20,_0x34d12a[(_0x4390bc+0x40>>>0x9<<0x4)+0xe]=Math[_0x30c4b7(0x5a3)](_0x35bd7f/0x100000000),_0x34d12a[(_0x4390bc+0x40>>>0x9<<0x4)+0xf]=_0x35bd7f,_0x3b1e41[_0x30c4b7(0x2e3)]=_0x34d12a[_0x30c4b7(0x1d6)]*0x4,this[_0x30c4b7(0x5d2)](),this[_0x30c4b7(0x141)];},'clone':function(){const _0x3ade44=_0x1070b7;var _0x33372b=_0x38cb97['clone'][_0x3ade44(0x246)](this);return _0x33372b[_0x3ade44(0x141)]=this[_0x3ade44(0x141)]['clone'](),_0x33372b;}});_0x22fdab['SHA1']=_0x38cb97[_0x1070b7(0x5ab)](_0x9672c),_0x22fdab['HmacSHA1']=_0x38cb97[_0x1070b7(0x37f)](_0x9672c);}()),_0x5591fd[_0x442bf9(0x45f)];}));}(Ge)),Ge[_0x28dab2(0x412)];}var Ye={'exports':{}},Cs=Ye[_0x1b4be4(0x412)],ni;function Es(){const _0xe43ff8=_0x1b4be4;return ni||(ni=0x1,function(_0x40f1ac,_0x4dc978){(function(_0x5855c6,_0x5938bd){const _0x3ab2ce=_0x446a;_0x40f1ac[_0x3ab2ce(0x412)]=_0x5938bd(se());}(Cs,function(_0x4df553){(function(){const _0x412a7a=_0x446a;var _0x21108d=_0x4df553,_0x36e546=_0x21108d['lib'],_0x5ca607=_0x36e546[_0x412a7a(0x298)],_0x460e72=_0x21108d['enc'],_0x3ab2d2=_0x460e72[_0x412a7a(0x2ef)],_0x2865df=_0x21108d['algo'];_0x2865df[_0x412a7a(0x205)]=_0x5ca607[_0x412a7a(0x4af)]({'init':function(_0x992e48,_0x4ead1e){const _0x32fcc4=_0x412a7a;_0x992e48=this[_0x32fcc4(0x42b)]=new _0x992e48[(_0x32fcc4(0x5af))](),typeof _0x4ead1e=='string'&&(_0x4ead1e=_0x3ab2d2[_0x32fcc4(0x194)](_0x4ead1e));var _0x58cfd4=_0x992e48[_0x32fcc4(0x50b)],_0x4b37fe=_0x58cfd4*0x4;_0x4ead1e['sigBytes']>_0x4b37fe&&(_0x4ead1e=_0x992e48['finalize'](_0x4ead1e)),_0x4ead1e['clamp']();for(var _0x4ab0af=this[_0x32fcc4(0x43a)]=_0x4ead1e[_0x32fcc4(0x31d)](),_0x4a3563=this[_0x32fcc4(0x500)]=_0x4ead1e[_0x32fcc4(0x31d)](),_0x45645a=_0x4ab0af[_0x32fcc4(0x5e2)],_0x1896f6=_0x4a3563[_0x32fcc4(0x5e2)],_0x74fe44=0x0;_0x74fe44<_0x58cfd4;_0x74fe44++)_0x45645a[_0x74fe44]^=0x5c5c5c5c,_0x1896f6[_0x74fe44]^=0x36363636;_0x4ab0af[_0x32fcc4(0x2e3)]=_0x4a3563['sigBytes']=_0x4b37fe,this[_0x32fcc4(0x1b6)]();},'reset':function(){const _0x3583bc=_0x412a7a;var _0x440a90=this[_0x3583bc(0x42b)];_0x440a90[_0x3583bc(0x1b6)](),_0x440a90['update'](this['_iKey']);},'update':function(_0x1ec766){const _0x47492c=_0x412a7a;return this[_0x47492c(0x42b)][_0x47492c(0x242)](_0x1ec766),this;},'finalize':function(_0x2e8304){const _0x16bb5b=_0x412a7a;var _0x5ee470=this[_0x16bb5b(0x42b)],_0x4c07ef=_0x5ee470[_0x16bb5b(0x2ff)](_0x2e8304);_0x5ee470[_0x16bb5b(0x1b6)]();var _0x3970a7=_0x5ee470[_0x16bb5b(0x2ff)](this[_0x16bb5b(0x43a)][_0x16bb5b(0x31d)]()[_0x16bb5b(0x28e)](_0x4c07ef));return _0x3970a7;}});}());}));}(Ye)),Ye[_0xe43ff8(0x412)];}var bs=Ve['exports'],ri;function ji(){return ri||(ri=0x1,function(_0x2852df,_0x24d4bc){(function(_0x47e86f,_0x5ab9f0,_0x1f3f0f){const _0x397267=_0x446a;_0x2852df[_0x397267(0x412)]=_0x5ab9f0(se(),Is(),Es());}(bs,function(_0x16c2c8){return(function(){const _0x3f6f81=_0x446a;var _0x2851f1=_0x16c2c8,_0x294dcb=_0x2851f1[_0x3f6f81(0x23d)],_0x3ba25d=_0x294dcb[_0x3f6f81(0x298)],_0xcd00df=_0x294dcb[_0x3f6f81(0x309)],_0x30aadc=_0x2851f1[_0x3f6f81(0x597)],_0x359c6a=_0x30aadc['MD5'],_0x36c1f2=_0x30aadc['EvpKDF']=_0x3ba25d['extend']({'cfg':_0x3ba25d[_0x3f6f81(0x4af)]({'keySize':0x80/0x20,'hasher':_0x359c6a,'iterations':0x1}),'init':function(_0x33786c){const _0x17c9a2=_0x3f6f81;this[_0x17c9a2(0x1fa)]=this[_0x17c9a2(0x1fa)]['extend'](_0x33786c);},'compute':function(_0x5672d6,_0x403119){const _0x55cc5a=_0x3f6f81;for(var _0x12c2b4,_0x3b94bf=this['cfg'],_0x22fdc3=_0x3b94bf[_0x55cc5a(0x535)][_0x55cc5a(0x28b)](),_0x5e9089=_0xcd00df[_0x55cc5a(0x28b)](),_0x13bbb1=_0x5e9089[_0x55cc5a(0x5e2)],_0x35234a=_0x3b94bf[_0x55cc5a(0x19e)],_0x454229=_0x3b94bf[_0x55cc5a(0x15b)];_0x13bbb1[_0x55cc5a(0x1d6)]<_0x35234a;){_0x12c2b4&&_0x22fdc3[_0x55cc5a(0x242)](_0x12c2b4),_0x12c2b4=_0x22fdc3[_0x55cc5a(0x242)](_0x5672d6)[_0x55cc5a(0x2ff)](_0x403119),_0x22fdc3[_0x55cc5a(0x1b6)]();for(var _0x556b0d=0x1;_0x556b0d<_0x454229;_0x556b0d++)_0x12c2b4=_0x22fdc3['finalize'](_0x12c2b4),_0x22fdc3[_0x55cc5a(0x1b6)]();_0x5e9089[_0x55cc5a(0x28e)](_0x12c2b4);}return _0x5e9089[_0x55cc5a(0x2e3)]=_0x35234a*0x4,_0x5e9089;}});_0x2851f1[_0x3f6f81(0x1e8)]=function(_0xcfbb44,_0xf58ec9,_0x530d99){const _0x4bea5d=_0x3f6f81;return _0x36c1f2[_0x4bea5d(0x28b)](_0x530d99)[_0x4bea5d(0x5a6)](_0xcfbb44,_0xf58ec9);};}()),_0x16c2c8['EvpKDF'];}));}(Ve)),Ve['exports'];}var qe={'exports':{}},Ts=qe[_0x1b4be4(0x412)],si;function Hi(){const _0x3201b7=_0x1b4be4;return si||(si=0x1,function(_0x4b480f,_0xbcbec7){(function(_0x24a5c7,_0x236925,_0x2d65b7){const _0x5b7fc0=_0x446a;_0x4b480f[_0x5b7fc0(0x412)]=_0x236925(se(),ji());}(Ts,function(_0x50c740){const _0x1296d7=_0x446a;_0x50c740[_0x1296d7(0x23d)][_0x1296d7(0x2dc)]||function(_0x41dd92){const _0x242a7d=_0x1296d7;var _0x2250bc=_0x50c740,_0x238982=_0x2250bc[_0x242a7d(0x23d)],_0x48fb0c=_0x238982['Base'],_0xdac384=_0x238982[_0x242a7d(0x309)],_0x55fa62=_0x238982['BufferedBlockAlgorithm'],_0x5b56a0=_0x2250bc[_0x242a7d(0x175)];_0x5b56a0[_0x242a7d(0x2ef)];var _0x2e11c3=_0x5b56a0[_0x242a7d(0x458)],_0x48eda1=_0x2250bc[_0x242a7d(0x597)],_0x8c8674=_0x48eda1['EvpKDF'],_0x2ae680=_0x238982['Cipher']=_0x55fa62['extend']({'cfg':_0x48fb0c[_0x242a7d(0x4af)](),'createEncryptor':function(_0x18d9ef,_0x2ea0fc){const _0x16a2c6=_0x242a7d;return this[_0x16a2c6(0x28b)](this[_0x16a2c6(0x1be)],_0x18d9ef,_0x2ea0fc);},'createDecryptor':function(_0x21fc4f,_0x5108ca){const _0x1bb67b=_0x242a7d;return this[_0x1bb67b(0x28b)](this['_DEC_XFORM_MODE'],_0x21fc4f,_0x5108ca);},'init':function(_0x1db36d,_0x5bc0d5,_0x232d94){const _0x171df5=_0x242a7d;this[_0x171df5(0x1fa)]=this[_0x171df5(0x1fa)][_0x171df5(0x4af)](_0x232d94),this[_0x171df5(0x474)]=_0x1db36d,this['_key']=_0x5bc0d5,this[_0x171df5(0x1b6)]();},'reset':function(){const _0x59b1b=_0x242a7d;_0x55fa62[_0x59b1b(0x1b6)][_0x59b1b(0x246)](this),this[_0x59b1b(0x48f)]();},'process':function(_0x184091){const _0x24e85f=_0x242a7d;return this[_0x24e85f(0x39f)](_0x184091),this['_process']();},'finalize':function(_0x545754){const _0x3886a1=_0x242a7d;_0x545754&&this[_0x3886a1(0x39f)](_0x545754);var _0x2a04bc=this[_0x3886a1(0x5a4)]();return _0x2a04bc;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x549100(_0x255166){return typeof _0x255166=='string'?_0x92506e:_0x14a6fc;}return function(_0x37d25c){return{'encrypt':function(_0x2ccbca,_0x2b084d,_0x2edceb){const _0x1a5769=_0x446a;return _0x549100(_0x2b084d)[_0x1a5769(0x13d)](_0x37d25c,_0x2ccbca,_0x2b084d,_0x2edceb);},'decrypt':function(_0x5dbca2,_0x6c0663,_0x5591c0){return _0x549100(_0x6c0663)['decrypt'](_0x37d25c,_0x5dbca2,_0x6c0663,_0x5591c0);}};};}())});_0x238982[_0x242a7d(0x574)]=_0x2ae680['extend']({'_doFinalize':function(){const _0x4475e1=_0x242a7d;var _0x33b4f4=this[_0x4475e1(0x5d2)](!0x0);return _0x33b4f4;},'blockSize':0x1});var _0x4ccd68=_0x2250bc['mode']={},_0x14d4dc=_0x238982['BlockCipherMode']=_0x48fb0c['extend']({'createEncryptor':function(_0x59294d,_0x5d76fb){const _0x42aceb=_0x242a7d;return this[_0x42aceb(0x1a5)]['create'](_0x59294d,_0x5d76fb);},'createDecryptor':function(_0x469731,_0x487ff6){const _0xc20b61=_0x242a7d;return this[_0xc20b61(0x4ff)]['create'](_0x469731,_0x487ff6);},'init':function(_0x20eed8,_0x23f41e){const _0x497070=_0x242a7d;this[_0x497070(0x3a4)]=_0x20eed8,this[_0x497070(0x170)]=_0x23f41e;}}),_0x56d169=_0x4ccd68['CBC']=(function(){const _0x497a1a=_0x242a7d;var _0x21ebe6=_0x14d4dc[_0x497a1a(0x4af)]();_0x21ebe6[_0x497a1a(0x1a5)]=_0x21ebe6[_0x497a1a(0x4af)]({'processBlock':function(_0x5c5006,_0xe81ce){const _0x597811=_0x497a1a;var _0x1ed3cf=this[_0x597811(0x3a4)],_0x195939=_0x1ed3cf['blockSize'];_0x4e50a4[_0x597811(0x246)](this,_0x5c5006,_0xe81ce,_0x195939),_0x1ed3cf[_0x597811(0x243)](_0x5c5006,_0xe81ce),this[_0x597811(0x3cc)]=_0x5c5006['slice'](_0xe81ce,_0xe81ce+_0x195939);}}),_0x21ebe6['Decryptor']=_0x21ebe6[_0x497a1a(0x4af)]({'processBlock':function(_0x2683bc,_0x532a66){const _0xfc0ce7=_0x497a1a;var _0x5de4a9=this[_0xfc0ce7(0x3a4)],_0x165b33=_0x5de4a9['blockSize'],_0x2e8f07=_0x2683bc['slice'](_0x532a66,_0x532a66+_0x165b33);_0x5de4a9[_0xfc0ce7(0x2f0)](_0x2683bc,_0x532a66),_0x4e50a4[_0xfc0ce7(0x246)](this,_0x2683bc,_0x532a66,_0x165b33),this[_0xfc0ce7(0x3cc)]=_0x2e8f07;}});function _0x4e50a4(_0x2db0ec,_0x9dd8b5,_0xebfba0){const _0x3fce52=_0x497a1a;var _0x536e35,_0x31d285=this[_0x3fce52(0x170)];_0x31d285?(_0x536e35=_0x31d285,this[_0x3fce52(0x170)]=_0x41dd92):_0x536e35=this['_prevBlock'];for(var _0x46e2b6=0x0;_0x46e2b6<_0xebfba0;_0x46e2b6++)_0x2db0ec[_0x9dd8b5+_0x46e2b6]^=_0x536e35[_0x46e2b6];}return _0x21ebe6;}()),_0x312bed=_0x2250bc[_0x242a7d(0x370)]={},_0x52018c=_0x312bed[_0x242a7d(0x145)]={'pad':function(_0x3609de,_0xfe97b8){const _0x53b7f6=_0x242a7d;for(var _0x5c5920=_0xfe97b8*0x4,_0x51372a=_0x5c5920-_0x3609de[_0x53b7f6(0x2e3)]%_0x5c5920,_0x56e897=_0x51372a<<0x18|_0x51372a<<0x10|_0x51372a<<0x8|_0x51372a,_0xe81d93=[],_0x456ad4=0x0;_0x456ad4<_0x51372a;_0x456ad4+=0x4)_0xe81d93[_0x53b7f6(0x284)](_0x56e897);var _0x5946d1=_0xdac384[_0x53b7f6(0x28b)](_0xe81d93,_0x51372a);_0x3609de['concat'](_0x5946d1);},'unpad':function(_0x5cb514){const _0x186981=_0x242a7d;var _0x3272d1=_0x5cb514[_0x186981(0x5e2)][_0x5cb514[_0x186981(0x2e3)]-0x1>>>0x2]&0xff;_0x5cb514['sigBytes']-=_0x3272d1;}};_0x238982[_0x242a7d(0x4f6)]=_0x2ae680['extend']({'cfg':_0x2ae680[_0x242a7d(0x1fa)][_0x242a7d(0x4af)]({'mode':_0x56d169,'padding':_0x52018c}),'reset':function(){const _0x3fee28=_0x242a7d;var _0x2b0edd;_0x2ae680[_0x3fee28(0x1b6)][_0x3fee28(0x246)](this);var _0x5f530b=this[_0x3fee28(0x1fa)],_0x57ac33=_0x5f530b['iv'],_0x1bd9c0=_0x5f530b[_0x3fee28(0x224)];this[_0x3fee28(0x474)]==this[_0x3fee28(0x1be)]?_0x2b0edd=_0x1bd9c0[_0x3fee28(0x42d)]:(_0x2b0edd=_0x1bd9c0[_0x3fee28(0x5a5)],this['_minBufferSize']=0x1),this[_0x3fee28(0x437)]&&this[_0x3fee28(0x437)][_0x3fee28(0x41b)]==_0x2b0edd?this[_0x3fee28(0x437)][_0x3fee28(0x5af)](this,_0x57ac33&&_0x57ac33[_0x3fee28(0x5e2)]):(this[_0x3fee28(0x437)]=_0x2b0edd[_0x3fee28(0x246)](_0x1bd9c0,this,_0x57ac33&&_0x57ac33[_0x3fee28(0x5e2)]),this[_0x3fee28(0x437)][_0x3fee28(0x41b)]=_0x2b0edd);},'_doProcessBlock':function(_0x553c65,_0x16446d){const _0x45e721=_0x242a7d;this['_mode'][_0x45e721(0x2a6)](_0x553c65,_0x16446d);},'_doFinalize':function(){const _0x573872=_0x242a7d;var _0x3df477,_0xe97688=this['cfg'][_0x573872(0x377)];return this[_0x573872(0x474)]==this[_0x573872(0x1be)]?(_0xe97688[_0x573872(0x370)](this[_0x573872(0x5e0)],this[_0x573872(0x50b)]),_0x3df477=this['_process'](!0x0)):(_0x3df477=this[_0x573872(0x5d2)](!0x0),_0xe97688[_0x573872(0x4c6)](_0x3df477)),_0x3df477;},'blockSize':0x80/0x20});var _0x165bdb=_0x238982[_0x242a7d(0x50e)]=_0x48fb0c[_0x242a7d(0x4af)]({'init':function(_0x4d5de1){const _0x42ccf9=_0x242a7d;this[_0x42ccf9(0x399)](_0x4d5de1);},'toString':function(_0x1315bc){const _0x4a77c7=_0x242a7d;return(_0x1315bc||this[_0x4a77c7(0x202)])[_0x4a77c7(0x397)](this);}}),_0x3f01e0=_0x2250bc['format']={},_0x2b2294=_0x3f01e0['OpenSSL']={'stringify':function(_0x193cf3){const _0x91ab8f=_0x242a7d;var _0x55c158,_0x1aca36=_0x193cf3['ciphertext'],_0x23e61c=_0x193cf3[_0x91ab8f(0x2f7)];return _0x23e61c?_0x55c158=_0xdac384[_0x91ab8f(0x28b)]([0x53616c74,0x65645f5f])['concat'](_0x23e61c)[_0x91ab8f(0x28e)](_0x1aca36):_0x55c158=_0x1aca36,_0x55c158[_0x91ab8f(0x1d1)](_0x2e11c3);},'parse':function(_0x574db1){const _0x59f9b4=_0x242a7d;var _0x860e56,_0x4d98b0=_0x2e11c3['parse'](_0x574db1),_0x496b1c=_0x4d98b0['words'];return _0x496b1c[0x0]==0x53616c74&&_0x496b1c[0x1]==0x65645f5f&&(_0x860e56=_0xdac384[_0x59f9b4(0x28b)](_0x496b1c[_0x59f9b4(0x487)](0x2,0x4)),_0x496b1c[_0x59f9b4(0x51a)](0x0,0x4),_0x4d98b0[_0x59f9b4(0x2e3)]-=0x10),_0x165bdb[_0x59f9b4(0x28b)]({'ciphertext':_0x4d98b0,'salt':_0x860e56});}},_0x14a6fc=_0x238982['SerializableCipher']=_0x48fb0c['extend']({'cfg':_0x48fb0c[_0x242a7d(0x4af)]({'format':_0x2b2294}),'encrypt':function(_0x172ff7,_0x3dcad7,_0x5987a6,_0x3a16d2){const _0x209e2a=_0x242a7d;_0x3a16d2=this['cfg'][_0x209e2a(0x4af)](_0x3a16d2);var _0x5a7f1c=_0x172ff7['createEncryptor'](_0x5987a6,_0x3a16d2),_0x5751d5=_0x5a7f1c[_0x209e2a(0x2ff)](_0x3dcad7),_0x38a04b=_0x5a7f1c[_0x209e2a(0x1fa)];return _0x165bdb[_0x209e2a(0x28b)]({'ciphertext':_0x5751d5,'key':_0x5987a6,'iv':_0x38a04b['iv'],'algorithm':_0x172ff7,'mode':_0x38a04b[_0x209e2a(0x224)],'padding':_0x38a04b[_0x209e2a(0x377)],'blockSize':_0x172ff7[_0x209e2a(0x50b)],'formatter':_0x3a16d2[_0x209e2a(0x41c)]});},'decrypt':function(_0x900010,_0x455c66,_0x2318c7,_0x43b68e){const _0x4a5c25=_0x242a7d;_0x43b68e=this['cfg'][_0x4a5c25(0x4af)](_0x43b68e),_0x455c66=this[_0x4a5c25(0x212)](_0x455c66,_0x43b68e[_0x4a5c25(0x41c)]);var _0xbcf8f3=_0x900010[_0x4a5c25(0x5a5)](_0x2318c7,_0x43b68e)[_0x4a5c25(0x2ff)](_0x455c66[_0x4a5c25(0x491)]);return _0xbcf8f3;},'_parse':function(_0x137d15,_0x290161){const _0x5d142b=_0x242a7d;return typeof _0x137d15==_0x5d142b(0x32c)?_0x290161['parse'](_0x137d15,this):_0x137d15;}}),_0x55752f=_0x2250bc['kdf']={},_0x22d98a=_0x55752f['OpenSSL']={'execute':function(_0x3a7c9a,_0x3d55b0,_0x3c97a4,_0x2741a6,_0x56bc58){const _0x388ca1=_0x242a7d;if(_0x2741a6||(_0x2741a6=_0xdac384[_0x388ca1(0x331)](0x40/0x8)),_0x56bc58)var _0x415c8e=_0x8c8674['create']({'keySize':_0x3d55b0+_0x3c97a4,'hasher':_0x56bc58})[_0x388ca1(0x5a6)](_0x3a7c9a,_0x2741a6);else var _0x415c8e=_0x8c8674[_0x388ca1(0x28b)]({'keySize':_0x3d55b0+_0x3c97a4})[_0x388ca1(0x5a6)](_0x3a7c9a,_0x2741a6);var _0x34e073=_0xdac384['create'](_0x415c8e[_0x388ca1(0x5e2)][_0x388ca1(0x487)](_0x3d55b0),_0x3c97a4*0x4);return _0x415c8e[_0x388ca1(0x2e3)]=_0x3d55b0*0x4,_0x165bdb[_0x388ca1(0x28b)]({'key':_0x415c8e,'iv':_0x34e073,'salt':_0x2741a6});}},_0x92506e=_0x238982['PasswordBasedCipher']=_0x14a6fc[_0x242a7d(0x4af)]({'cfg':_0x14a6fc[_0x242a7d(0x1fa)]['extend']({'kdf':_0x22d98a}),'encrypt':function(_0x50f4dd,_0x2d03af,_0x1f12dd,_0xf4039d){const _0x43b002=_0x242a7d;_0xf4039d=this[_0x43b002(0x1fa)][_0x43b002(0x4af)](_0xf4039d);var _0x1d1d1f=_0xf4039d[_0x43b002(0x5ca)][_0x43b002(0x33c)](_0x1f12dd,_0x50f4dd['keySize'],_0x50f4dd['ivSize'],_0xf4039d[_0x43b002(0x2f7)],_0xf4039d[_0x43b002(0x535)]);_0xf4039d['iv']=_0x1d1d1f['iv'];var _0x7ce3fe=_0x14a6fc[_0x43b002(0x13d)][_0x43b002(0x246)](this,_0x50f4dd,_0x2d03af,_0x1d1d1f[_0x43b002(0x323)],_0xf4039d);return _0x7ce3fe[_0x43b002(0x399)](_0x1d1d1f),_0x7ce3fe;},'decrypt':function(_0x209b5e,_0x441b72,_0x182107,_0x48da0b){const _0x4c3f4f=_0x242a7d;_0x48da0b=this[_0x4c3f4f(0x1fa)]['extend'](_0x48da0b),_0x441b72=this[_0x4c3f4f(0x212)](_0x441b72,_0x48da0b[_0x4c3f4f(0x41c)]);var _0x4c5ca7=_0x48da0b[_0x4c3f4f(0x5ca)]['execute'](_0x182107,_0x209b5e['keySize'],_0x209b5e['ivSize'],_0x441b72[_0x4c3f4f(0x2f7)],_0x48da0b['hasher']);_0x48da0b['iv']=_0x4c5ca7['iv'];var _0x392105=_0x14a6fc[_0x4c3f4f(0x449)][_0x4c3f4f(0x246)](this,_0x209b5e,_0x441b72,_0x4c5ca7['key'],_0x48da0b);return _0x392105;}});}();}));}(qe)),qe[_0x3201b7(0x412)];}var Rs=Be[_0x1b4be4(0x412)],oi;function ys(){const _0x3a14e9=_0x1b4be4;return oi||(oi=0x1,function(_0x315ac3,_0x14c69){(function(_0x1da7ac,_0x3d55c4,_0x435ac0){const _0x40b16f=_0x446a;_0x315ac3[_0x40b16f(0x412)]=_0x3d55c4(se(),$i(),ms(),ji(),Hi());}(Rs,function(_0x290a11){return(function(){const _0x382826=_0x446a;var _0x4f000f=_0x290a11,_0x4d3dc1=_0x4f000f[_0x382826(0x23d)],_0x34b22e=_0x4d3dc1[_0x382826(0x4f6)],_0xe6a70e=_0x4f000f[_0x382826(0x597)],_0x1667d1=[],_0x290145=[],_0x238878=[],_0x2a44f0=[],_0x467d10=[],_0x2cf30b=[],_0x180de7=[],_0x1e5755=[],_0x5e124b=[],_0x4e4139=[];(function(){for(var _0x196d49=[],_0x849e3c=0x0;_0x849e3c<0x100;_0x849e3c++)_0x849e3c<0x80?_0x196d49[_0x849e3c]=_0x849e3c<<0x1:_0x196d49[_0x849e3c]=_0x849e3c<<0x1^0x11b;for(var _0x45e56e=0x0,_0x2022a0=0x0,_0x849e3c=0x0;_0x849e3c<0x100;_0x849e3c++){var _0x34e0d8=_0x2022a0^_0x2022a0<<0x1^_0x2022a0<<0x2^_0x2022a0<<0x3^_0x2022a0<<0x4;_0x34e0d8=_0x34e0d8>>>0x8^_0x34e0d8&0xff^0x63,_0x1667d1[_0x45e56e]=_0x34e0d8,_0x290145[_0x34e0d8]=_0x45e56e;var _0x252793=_0x196d49[_0x45e56e],_0x5203c2=_0x196d49[_0x252793],_0x474c1f=_0x196d49[_0x5203c2],_0x387e21=_0x196d49[_0x34e0d8]*0x101^_0x34e0d8*0x1010100;_0x238878[_0x45e56e]=_0x387e21<<0x18|_0x387e21>>>0x8,_0x2a44f0[_0x45e56e]=_0x387e21<<0x10|_0x387e21>>>0x10,_0x467d10[_0x45e56e]=_0x387e21<<0x8|_0x387e21>>>0x18,_0x2cf30b[_0x45e56e]=_0x387e21;var _0x387e21=_0x474c1f*0x1010101^_0x5203c2*0x10001^_0x252793*0x101^_0x45e56e*0x1010100;_0x180de7[_0x34e0d8]=_0x387e21<<0x18|_0x387e21>>>0x8,_0x1e5755[_0x34e0d8]=_0x387e21<<0x10|_0x387e21>>>0x10,_0x5e124b[_0x34e0d8]=_0x387e21<<0x8|_0x387e21>>>0x18,_0x4e4139[_0x34e0d8]=_0x387e21,_0x45e56e?(_0x45e56e=_0x252793^_0x196d49[_0x196d49[_0x196d49[_0x474c1f^_0x252793]]],_0x2022a0^=_0x196d49[_0x196d49[_0x2022a0]]):_0x45e56e=_0x2022a0=0x1;}}());var _0x73430d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x472cb8=_0xe6a70e[_0x382826(0x539)]=_0x34b22e[_0x382826(0x4af)]({'_doReset':function(){const _0x2a4845=_0x382826;var _0x3a6cf3;if(!(this[_0x2a4845(0x2fa)]&&this[_0x2a4845(0x21b)]===this[_0x2a4845(0x42a)])){for(var _0x28dec1=this[_0x2a4845(0x21b)]=this['_key'],_0x1a6e13=_0x28dec1[_0x2a4845(0x5e2)],_0xb7b4bb=_0x28dec1[_0x2a4845(0x2e3)]/0x4,_0x368e19=this[_0x2a4845(0x2fa)]=_0xb7b4bb+0x6,_0x926cc1=(_0x368e19+0x1)*0x4,_0x1f7d5d=this[_0x2a4845(0x492)]=[],_0x5865cb=0x0;_0x5865cb<_0x926cc1;_0x5865cb++)_0x5865cb<_0xb7b4bb?_0x1f7d5d[_0x5865cb]=_0x1a6e13[_0x5865cb]:(_0x3a6cf3=_0x1f7d5d[_0x5865cb-0x1],_0x5865cb%_0xb7b4bb?_0xb7b4bb>0x6&&_0x5865cb%_0xb7b4bb==0x4&&(_0x3a6cf3=_0x1667d1[_0x3a6cf3>>>0x18]<<0x18|_0x1667d1[_0x3a6cf3>>>0x10&0xff]<<0x10|_0x1667d1[_0x3a6cf3>>>0x8&0xff]<<0x8|_0x1667d1[_0x3a6cf3&0xff]):(_0x3a6cf3=_0x3a6cf3<<0x8|_0x3a6cf3>>>0x18,_0x3a6cf3=_0x1667d1[_0x3a6cf3>>>0x18]<<0x18|_0x1667d1[_0x3a6cf3>>>0x10&0xff]<<0x10|_0x1667d1[_0x3a6cf3>>>0x8&0xff]<<0x8|_0x1667d1[_0x3a6cf3&0xff],_0x3a6cf3^=_0x73430d[_0x5865cb/_0xb7b4bb|0x0]<<0x18),_0x1f7d5d[_0x5865cb]=_0x1f7d5d[_0x5865cb-_0xb7b4bb]^_0x3a6cf3);for(var _0x101e47=this['_invKeySchedule']=[],_0x50c2df=0x0;_0x50c2df<_0x926cc1;_0x50c2df++){var _0x5865cb=_0x926cc1-_0x50c2df;if(_0x50c2df%0x4)var _0x3a6cf3=_0x1f7d5d[_0x5865cb];else var _0x3a6cf3=_0x1f7d5d[_0x5865cb-0x4];_0x50c2df<0x4||_0x5865cb<=0x4?_0x101e47[_0x50c2df]=_0x3a6cf3:_0x101e47[_0x50c2df]=_0x180de7[_0x1667d1[_0x3a6cf3>>>0x18]]^_0x1e5755[_0x1667d1[_0x3a6cf3>>>0x10&0xff]]^_0x5e124b[_0x1667d1[_0x3a6cf3>>>0x8&0xff]]^_0x4e4139[_0x1667d1[_0x3a6cf3&0xff]];}}},'encryptBlock':function(_0x4895fe,_0x14590c){const _0x1a4e50=_0x382826;this['_doCryptBlock'](_0x4895fe,_0x14590c,this[_0x1a4e50(0x492)],_0x238878,_0x2a44f0,_0x467d10,_0x2cf30b,_0x1667d1);},'decryptBlock':function(_0x1867c6,_0x167156){const _0x23a1ca=_0x382826;var _0x322912=_0x1867c6[_0x167156+0x1];_0x1867c6[_0x167156+0x1]=_0x1867c6[_0x167156+0x3],_0x1867c6[_0x167156+0x3]=_0x322912,this[_0x23a1ca(0x2d1)](_0x1867c6,_0x167156,this[_0x23a1ca(0x59c)],_0x180de7,_0x1e5755,_0x5e124b,_0x4e4139,_0x290145);var _0x322912=_0x1867c6[_0x167156+0x1];_0x1867c6[_0x167156+0x1]=_0x1867c6[_0x167156+0x3],_0x1867c6[_0x167156+0x3]=_0x322912;},'_doCryptBlock':function(_0x24976b,_0xf9c14e,_0x138d07,_0x541909,_0x4727f8,_0x226fff,_0x5c72eb,_0x343bae){for(var _0x4d4ddc=this['_nRounds'],_0x3e3ab6=_0x24976b[_0xf9c14e]^_0x138d07[0x0],_0x205ec3=_0x24976b[_0xf9c14e+0x1]^_0x138d07[0x1],_0x575033=_0x24976b[_0xf9c14e+0x2]^_0x138d07[0x2],_0x1d0bb0=_0x24976b[_0xf9c14e+0x3]^_0x138d07[0x3],_0x3806b1=0x4,_0x209747=0x1;_0x209747<_0x4d4ddc;_0x209747++){var _0x53e0d5=_0x541909[_0x3e3ab6>>>0x18]^_0x4727f8[_0x205ec3>>>0x10&0xff]^_0x226fff[_0x575033>>>0x8&0xff]^_0x5c72eb[_0x1d0bb0&0xff]^_0x138d07[_0x3806b1++],_0x2739c3=_0x541909[_0x205ec3>>>0x18]^_0x4727f8[_0x575033>>>0x10&0xff]^_0x226fff[_0x1d0bb0>>>0x8&0xff]^_0x5c72eb[_0x3e3ab6&0xff]^_0x138d07[_0x3806b1++],_0x1fd7f0=_0x541909[_0x575033>>>0x18]^_0x4727f8[_0x1d0bb0>>>0x10&0xff]^_0x226fff[_0x3e3ab6>>>0x8&0xff]^_0x5c72eb[_0x205ec3&0xff]^_0x138d07[_0x3806b1++],_0x276885=_0x541909[_0x1d0bb0>>>0x18]^_0x4727f8[_0x3e3ab6>>>0x10&0xff]^_0x226fff[_0x205ec3>>>0x8&0xff]^_0x5c72eb[_0x575033&0xff]^_0x138d07[_0x3806b1++];_0x3e3ab6=_0x53e0d5,_0x205ec3=_0x2739c3,_0x575033=_0x1fd7f0,_0x1d0bb0=_0x276885;}var _0x53e0d5=(_0x343bae[_0x3e3ab6>>>0x18]<<0x18|_0x343bae[_0x205ec3>>>0x10&0xff]<<0x10|_0x343bae[_0x575033>>>0x8&0xff]<<0x8|_0x343bae[_0x1d0bb0&0xff])^_0x138d07[_0x3806b1++],_0x2739c3=(_0x343bae[_0x205ec3>>>0x18]<<0x18|_0x343bae[_0x575033>>>0x10&0xff]<<0x10|_0x343bae[_0x1d0bb0>>>0x8&0xff]<<0x8|_0x343bae[_0x3e3ab6&0xff])^_0x138d07[_0x3806b1++],_0x1fd7f0=(_0x343bae[_0x575033>>>0x18]<<0x18|_0x343bae[_0x1d0bb0>>>0x10&0xff]<<0x10|_0x343bae[_0x3e3ab6>>>0x8&0xff]<<0x8|_0x343bae[_0x205ec3&0xff])^_0x138d07[_0x3806b1++],_0x276885=(_0x343bae[_0x1d0bb0>>>0x18]<<0x18|_0x343bae[_0x3e3ab6>>>0x10&0xff]<<0x10|_0x343bae[_0x205ec3>>>0x8&0xff]<<0x8|_0x343bae[_0x575033&0xff])^_0x138d07[_0x3806b1++];_0x24976b[_0xf9c14e]=_0x53e0d5,_0x24976b[_0xf9c14e+0x1]=_0x2739c3,_0x24976b[_0xf9c14e+0x2]=_0x1fd7f0,_0x24976b[_0xf9c14e+0x3]=_0x276885;},'keySize':0x100/0x20});_0x4f000f[_0x382826(0x539)]=_0x34b22e[_0x382826(0x5ab)](_0x472cb8);}()),_0x290a11['AES'];}));}(Be)),Be[_0x3a14e9(0x412)];}var Os=ys();const Ds=xe(Os);var Ps=$i();const ai=xe(Ps);var Ke={'exports':{}},ws=Ke[_0x1b4be4(0x412)],ci;function Us(){return ci||(ci=0x1,function(_0x3ab994,_0x2e1868){(function(_0x2c1616,_0x441bc2){const _0x3b4140=_0x446a;_0x3ab994[_0x3b4140(0x412)]=_0x441bc2(se());}(ws,function(_0x49e816){const _0x672073=_0x446a;return _0x49e816[_0x672073(0x175)][_0x672073(0x2ef)];}));}(Ke)),Ke['exports'];}var Ms=Us();const As=xe(Ms);var ze={'exports':{}},Ns=ze[_0x1b4be4(0x412)],li;function Ls(){const _0x1bc6eb=_0x1b4be4;return li||(li=0x1,function(_0x180688,_0x474428){(function(_0x6b5b12,_0x5c93ed){const _0x17f73b=_0x446a;_0x180688[_0x17f73b(0x412)]=_0x5c93ed(se());}(Ns,function(_0x296d48){const _0x46f072=_0x446a;return(function(){const _0x36306b=_0x446a;if(typeof ArrayBuffer==_0x36306b(0x2b0)){var _0x36d1d2=_0x296d48,_0x205c48=_0x36d1d2[_0x36306b(0x23d)],_0x1a4afe=_0x205c48['WordArray'],_0x221b89=_0x1a4afe['init'],_0x1b07bd=_0x1a4afe[_0x36306b(0x5af)]=function(_0x26087f){const _0x5e00d7=_0x36306b;if(_0x26087f instanceof ArrayBuffer&&(_0x26087f=new Uint8Array(_0x26087f)),(_0x26087f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x26087f instanceof Uint8ClampedArray||_0x26087f instanceof Int16Array||_0x26087f instanceof Uint16Array||_0x26087f instanceof Int32Array||_0x26087f instanceof Uint32Array||_0x26087f instanceof Float32Array||_0x26087f instanceof Float64Array)&&(_0x26087f=new Uint8Array(_0x26087f[_0x5e00d7(0x1ca)],_0x26087f[_0x5e00d7(0x415)],_0x26087f[_0x5e00d7(0x335)])),_0x26087f instanceof Uint8Array){for(var _0x47adf0=_0x26087f[_0x5e00d7(0x335)],_0x146db9=[],_0x13932e=0x0;_0x13932e<_0x47adf0;_0x13932e++)_0x146db9[_0x13932e>>>0x2]|=_0x26087f[_0x13932e]<<0x18-_0x13932e%0x4*0x8;_0x221b89[_0x5e00d7(0x246)](this,_0x146db9,_0x47adf0);}else _0x221b89[_0x5e00d7(0x294)](this,arguments);};_0x1b07bd['prototype']=_0x1a4afe;}}()),_0x296d48[_0x46f072(0x23d)][_0x46f072(0x309)];}));}(ze)),ze[_0x1bc6eb(0x412)];}var xs=Ls();const $s=xe(xs);var Xe={'exports':{}},js=Xe['exports'],hi;function Hs(){const _0xe59ef4=_0x1b4be4;return hi||(hi=0x1,function(_0x479b20,_0x95e0f7){(function(_0x28aee7,_0x18b9d0,_0x5380cf){const _0x13c1fc=_0x446a;_0x479b20[_0x13c1fc(0x412)]=_0x18b9d0(se(),Hi());}(js,function(_0x8f292d){const _0x524ff8=_0x446a;return _0x8f292d['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x8f292d[_0x524ff8(0x370)][_0x524ff8(0x21f)];}));}(Xe)),Xe[_0xe59ef4(0x412)];}var Bs=Hs();const ks=xe(Bs);function Ws(_0x4afe68,_0x5cabaa){const _0x9b454d=_0x1b4be4,_0x491aff=_0x5cabaa-_0x4afe68['length']%_0x5cabaa,_0x5ebf12=String[_0x9b454d(0x201)](_0x491aff)[_0x9b454d(0x1a0)](_0x491aff);return _0x4afe68+_0x5ebf12;}function Fs(_0x234c5a,_0x5961ef){const _0x2b7a74=_0x1b4be4,_0x392a2a=$s[_0x2b7a74(0x331)](0x10),_0x5378dc=Ws(_0x234c5a,0x10),_0x15fa9d=Ds['encrypt'](As[_0x2b7a74(0x194)](_0x5378dc),ai[_0x2b7a74(0x194)](_0x5961ef),{'iv':_0x392a2a,'padding':ks});return _0x392a2a[_0x2b7a74(0x28e)](_0x15fa9d[_0x2b7a74(0x491)])[_0x2b7a74(0x1d1)](ai);}function Vs(){const _0xf31214=_0x1b4be4,_0x50ad27=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0xf31214(0x4fb)];if(_0x50ad27){const _0x28421a={'time':Math[_0xf31214(0x5a3)](Date[_0xf31214(0x168)]()/0x3e8),'domain':location['hostname']};return Fs(JSON[_0xf31214(0x397)](_0x28421a),_0x50ad27);}}var Gs=Object[_0x1b4be4(0x3c9)],Ys=Object[_0x1b4be4(0x3c7)],qs=(_0x3d450b,_0x15f5b4,_0x43358d,_0x27b978)=>{const _0x1c9084=_0x1b4be4;for(var _0xcd7f42=_0x27b978>0x1?void 0x0:_0x27b978?Ys(_0x15f5b4,_0x43358d):_0x15f5b4,_0x28eac4=_0x3d450b[_0x1c9084(0x1d6)]-0x1,_0x4e29d0;_0x28eac4>=0x0;_0x28eac4--)(_0x4e29d0=_0x3d450b[_0x28eac4])&&(_0xcd7f42=(_0x27b978?_0x4e29d0(_0x15f5b4,_0x43358d,_0xcd7f42):_0x4e29d0(_0xcd7f42))||_0xcd7f42);return _0x27b978&&_0xcd7f42&&Gs(_0x15f5b4,_0x43358d,_0xcd7f42),_0xcd7f42;},Ks=(_0x14eb0c,_0x49d388)=>(_0x84f94b,_0x1ece6b)=>_0x49d388(_0x84f94b,_0x1ece6b,_0x14eb0c);let rt=class{constructor(_0x2611b6){const _0x1d431a=_0x1b4be4;this[_0x1d431a(0x515)]=_0x2611b6,this[_0x1d431a(0x418)]();}[_0x1b4be4(0x418)](){const _0x2aa6d7=_0x1b4be4;this[_0x2aa6d7(0x515)][_0x2aa6d7(0x188)]({'interceptor':(_0x4a46c1,_0x255296)=>{const _0x5cc534=_0x2aa6d7,_0x244c21=_0x4a46c1['headers'],_0x1d4c62=Vs();return _0x1d4c62&&_0x244c21['set'](_0x5cc534(0x384),_0x1d4c62),_0x255296(_0x4a46c1);}});}};rt=qs([Ks(0x0,a[_0x1b4be4(0x5da)](z[_0x1b4be4(0x3aa)]))],rt);var zs=Object[_0x1b4be4(0x3c9)],Xs=Object[_0x1b4be4(0x3c7)],Js=(_0x8c27fa,_0x11f614,_0x18092f,_0x391211)=>{for(var _0x2f858b=_0x391211>0x1?void 0x0:_0x391211?Xs(_0x11f614,_0x18092f):_0x11f614,_0x4ff100=_0x8c27fa['length']-0x1,_0x3ffe4b;_0x4ff100>=0x0;_0x4ff100--)(_0x3ffe4b=_0x8c27fa[_0x4ff100])&&(_0x2f858b=(_0x391211?_0x3ffe4b(_0x11f614,_0x18092f,_0x2f858b):_0x3ffe4b(_0x2f858b))||_0x2f858b);return _0x391211&&_0x2f858b&&zs(_0x11f614,_0x18092f,_0x2f858b),_0x2f858b;},Ct=(_0x4ed923,_0x1f5c60)=>(_0xceba4b,_0x592390)=>_0x1f5c60(_0xceba4b,_0x592390,_0x4ed923);const Zs=['image/png',_0x1b4be4(0x427),_0x1b4be4(0x393),_0x1b4be4(0x44e),_0x1b4be4(0x407)],Qs=0x5*0x400*0x400,eo=_0x1b4be4(0x2c4),to='/universer-api/stream/file/upload',io=_0x1b4be4(0x360),no=_0x1b4be4(0x39b);exports[_0x1b4be4(0x2d2)]=class{constructor(_0x2ef1d6,_0x262bf2,_0x574979){const _0x54ede3=_0x1b4be4;I(this,_0x54ede3(0x177),0x0),I(this,_0x54ede3(0x582),new A[(_0x54ede3(0x1a3))]()),I(this,_0x54ede3(0x35c),this[_0x54ede3(0x582)]),I(this,_0x54ede3(0x2ac),new Map()),(this[_0x54ede3(0x515)]=_0x2ef1d6,this[_0x54ede3(0x234)]=_0x262bf2,this[_0x54ede3(0x471)]=_0x574979);}[_0x1b4be4(0x5cd)](_0x43248e){const _0x2abef4=_0x1b4be4;this[_0x2abef4(0x177)]=_0x43248e,this['_change$'][_0x2abef4(0x258)](_0x43248e);}['getImageSourceCache'](_0x3886fd,_0x16a1bb){const _0x3a31cc=_0x1b4be4;if(_0x16a1bb===te[_0x3a31cc(0x381)][_0x3a31cc(0x12e)]){const _0x3ced08=new Image();return _0x3ced08[_0x3a31cc(0x247)]=_0x3886fd,_0x3ced08;}return this['_imageSourceCache'][_0x3a31cc(0x35b)](_0x3886fd);}['addImageSourceCache'](_0x232190,_0x6db655,_0xfd4308){const _0x567681=_0x1b4be4;_0x6db655===te['ImageSourceType'][_0x567681(0x12e)]||_0xfd4308==null||this['_imageSourceCache'][_0x567681(0x5c1)](_0x232190,_0xfd4308);}async[_0x1b4be4(0x347)](_0x35a8c2){const _0x418c3b=_0x1b4be4;try{const _0x272876=this[_0x418c3b(0x241)](this[_0x418c3b(0x3ae)](),''+_0x35a8c2),_0x4c7bc3=(await this[_0x418c3b(0x515)][_0x418c3b(0x35b)](_0x272876))['body'];if(_0x4c7bc3['error']&&_0x4c7bc3[_0x418c3b(0x218)][_0x418c3b(0x48c)]===Ei['OK']){const _0x392447=new URL(_0x4c7bc3[_0x418c3b(0x519)],this[_0x418c3b(0x11e)]())[_0x418c3b(0x1d1)]();return Promise[_0x418c3b(0x5b5)](_0x392447);}return Promise['reject'](_0x4c7bc3[_0x418c3b(0x218)]);}catch(_0x765ba1){return Promise[_0x418c3b(0x230)](_0x765ba1);}}async[_0x1b4be4(0x3c3)](_0x1571f0){const _0x5d84ae=_0x1b4be4;let _0x10ea3a='';if(!Zs[_0x5d84ae(0x1db)](_0x1571f0['type']))return this[_0x5d84ae(0x423)](),Promise['reject'](new Error(te[_0x5d84ae(0x2f9)][_0x5d84ae(0x1c7)]));if(_0x1571f0[_0x5d84ae(0x233)]>Qs)return this[_0x5d84ae(0x423)](),Promise['reject'](new Error(te[_0x5d84ae(0x2f9)][_0x5d84ae(0x5e9)]));try{const _0x4589cf=new FormData();_0x4589cf['append']('file',_0x1571f0);const _0x3dbbfa=this[_0x5d84ae(0x471)]['getFocusedUnit'](),_0x422650=_0x3dbbfa==null?void 0x0:_0x3dbbfa[_0x5d84ae(0x133)]();if(!_0x422650)throw new Error('unitId\x20is\x20not\x20found');const _0x39cf6b=this['_getUploadFileURL']()+_0x5d84ae(0x1fc)+_0x1571f0['size']['toString']()+'&source='+bi[_0x5d84ae(0x2cd)]+'&assign='+encodeURIComponent(_0x422650),_0x2beaeb=await(await fetch(_0x39cf6b,{'method':'POST','body':_0x4589cf}))[_0x5d84ae(0x4b6)]();if(typeof _0x2beaeb['FileId']!=_0x5d84ae(0x32c))return this['_decreaseWaiting'](),Promise[_0x5d84ae(0x230)](new Error(te['ImageUploadStatusType'][_0x5d84ae(0x48b)]));_0x10ea3a=_0x2beaeb['FileId'];}catch{return this[_0x5d84ae(0x423)](),Promise[_0x5d84ae(0x230)](new Error(te[_0x5d84ae(0x2f9)][_0x5d84ae(0x48b)]));}return new Promise((_0x2f224f,_0x277587)=>{const _0xdaf272=_0x5d84ae,_0x4a9443=new FileReader();_0x4a9443['readAsDataURL'](_0x1571f0),_0x4a9443[_0xdaf272(0x4e8)]=_0x10ff25=>{const _0x23df23=_0xdaf272;var _0x3818aa;const _0x184fca=(_0x3818aa=_0x10ff25[_0x23df23(0x4a6)])==null?void 0x0:_0x3818aa[_0x23df23(0x391)];if(_0x184fca==null){this[_0x23df23(0x423)](),_0x277587(new Error(te[_0x23df23(0x2f9)][_0x23df23(0x48b)]));return;}const _0x2a22fa=a[_0x23df23(0x59a)][_0x23df23(0x3bf)](0x6);_0x2f224f({'imageId':_0x2a22fa,'imageSourceType':te[_0x23df23(0x381)][_0x23df23(0x354)],'source':_0x10ea3a,'base64Cache':_0x184fca,'status':te[_0x23df23(0x2f9)]['SUCCUSS']}),this[_0x23df23(0x423)]();};});}[_0x1b4be4(0x1c0)](){const _0x1c3290=_0x1b4be4;var _0x3c64cc,_0xe87093;const _0x550860=this['_configService'][_0x1c3290(0x2c9)](eo),_0x487ed1=this['_configService'][_0x1c3290(0x2c9)](Z);return(_0xe87093=(_0x3c64cc=_0x487ed1==null?void 0x0:_0x487ed1[_0x1c3290(0x1a1)])!=null?_0x3c64cc:_0x550860)!=null?_0xe87093:to;}[_0x1b4be4(0x3ae)](){const _0x54ac0f=_0x1b4be4;var _0x3de1d4,_0x3fdfbf;const _0x234ad1=this[_0x54ac0f(0x234)][_0x54ac0f(0x2c9)](io),_0xfcedd=this[_0x54ac0f(0x234)][_0x54ac0f(0x2c9)](Z);return(_0x3fdfbf=(_0x3de1d4=_0xfcedd==null?void 0x0:_0xfcedd[_0x54ac0f(0x53f)])!=null?_0x3de1d4:_0x234ad1)!=null?_0x3fdfbf:no;}[_0x1b4be4(0x11e)](){const _0x4a8787=_0x1b4be4;var _0x51e535;const _0x4a5c60=this['_configService']['getConfig'](Z);return(_0x51e535=_0x4a5c60==null?void 0x0:_0x4a5c60['downloadEndpointUrl'])!=null?_0x51e535:location[_0x4a8787(0x4ee)];}[_0x1b4be4(0x241)](_0x6f1026,_0x21b7d4){const _0x1da437=_0x1b4be4;return _0x6f1026[_0x1da437(0x280)](_0x1da437(0x1e3),_0x21b7d4);}[_0x1b4be4(0x423)](){const _0x3c7c03=_0x1b4be4;this[_0x3c7c03(0x177)]-=0x1,this['_change$']['next'](this[_0x3c7c03(0x177)]);}},exports['ImageIoService']=Js([Ct(0x0,a[_0x1b4be4(0x5da)](z['HTTPService'])),Ct(0x1,a[_0x1b4be4(0x2ec)]),Ct(0x2,a[_0x1b4be4(0x5da)](a['IUniverInstanceService']))],exports[_0x1b4be4(0x2d2)]);var ro=Object[_0x1b4be4(0x3c9)],so=Object[_0x1b4be4(0x3c7)],oo=(_0x44f0ce,_0x496a22,_0x59179e,_0xb90135)=>{const _0x4fb52d=_0x1b4be4;for(var _0x19a819=_0xb90135>0x1?void 0x0:_0xb90135?so(_0x496a22,_0x59179e):_0x496a22,_0x102859=_0x44f0ce[_0x4fb52d(0x1d6)]-0x1,_0x3becf3;_0x102859>=0x0;_0x102859--)(_0x3becf3=_0x44f0ce[_0x102859])&&(_0x19a819=(_0xb90135?_0x3becf3(_0x496a22,_0x59179e,_0x19a819):_0x3becf3(_0x19a819))||_0x19a819);return _0xb90135&&_0x19a819&&ro(_0x496a22,_0x59179e,_0x19a819),_0x19a819;},_i=(_0x5369b3,_0x3e05a7)=>(_0x2285c1,_0x8265a1)=>_0x3e05a7(_0x2285c1,_0x8265a1,_0x5369b3);const ao=_0x1b4be4(0x44f);exports[_0x1b4be4(0x36b)]=class{constructor(_0x267962,_0x38f864){const _0x347589=_0x1b4be4;this[_0x347589(0x234)]=_0x267962,this[_0x347589(0x1f1)]=_0x38f864;}[_0x1b4be4(0x250)](){const _0x128ee9=_0x1b4be4;var _0x10aef4,_0x2d5898;const _0x3ace03=this[_0x128ee9(0x234)][_0x128ee9(0x2c9)](xt),_0x18c94e=this['_configService'][_0x128ee9(0x2c9)](Z);return(_0x2d5898=(_0x10aef4=_0x18c94e==null?void 0x0:_0x18c94e[_0x128ee9(0x33b)])!=null?_0x10aef4:_0x3ace03)!=null?_0x2d5898:ao;}async[_0x1b4be4(0x547)](_0x1cf4eb){const _0x5de7b5=_0x1b4be4,_0x19a70e=this[_0x5de7b5(0x250)]()+_0x5de7b5(0x27d);return{'list':[{'title':'People','mentions':(await this[_0x5de7b5(0x1f1)]['get'](_0x19a70e,{'params':{'objectID':_0x1cf4eb['unitId'],'unitID':_0x1cf4eb['unitId']}}))[_0x5de7b5(0x1a7)][_0x5de7b5(0x502)][_0x5de7b5(0x342)](_0x2c28eb=>({'objectId':_0x2c28eb['id'],'name':_0x2c28eb[_0x5de7b5(0x26d)][_0x5de7b5(0x43c)],'metadata':{'icon':_0x2c28eb['subject'][_0x5de7b5(0x1dc)]},'label':_0x2c28eb[_0x5de7b5(0x26d)][_0x5de7b5(0x43c)],'objectType':a['MentionType']['PERSON']})),'metadata':{},'type':a[_0x5de7b5(0x285)][_0x5de7b5(0x333)]}]};}},exports[_0x1b4be4(0x36b)]=oo([_i(0x0,a[_0x1b4be4(0x5da)](a[_0x1b4be4(0x2ec)])),_i(0x1,a[_0x1b4be4(0x5da)](z['HTTPService']))],exports[_0x1b4be4(0x36b)]);var co=Object[_0x1b4be4(0x3c9)],lo=Object[_0x1b4be4(0x3c7)],ho=(_0x46aae4,_0x33baa7,_0x574c2a,_0x37562c)=>{const _0x4ce5a5=_0x1b4be4;for(var _0x12fa28=_0x37562c>0x1?void 0x0:_0x37562c?lo(_0x33baa7,_0x574c2a):_0x33baa7,_0x3a72d8=_0x46aae4[_0x4ce5a5(0x1d6)]-0x1,_0x13a3e3;_0x3a72d8>=0x0;_0x3a72d8--)(_0x13a3e3=_0x46aae4[_0x3a72d8])&&(_0x12fa28=(_0x37562c?_0x13a3e3(_0x33baa7,_0x574c2a,_0x12fa28):_0x13a3e3(_0x12fa28))||_0x12fa28);return _0x37562c&&_0x12fa28&&co(_0x33baa7,_0x574c2a,_0x12fa28),_0x12fa28;},Ae=(_0x121338,_0x114eee)=>(_0x89ec0a,_0x313ef1)=>_0x114eee(_0x89ec0a,_0x313ef1,_0x121338);let st=class extends a['RxDisposable']{constructor(_0x32100a,_0x12e9e3,_0x13b494,_0x50871b,_0x4a46c6){const _0x308a3f=_0x1b4be4;super(),this[_0x308a3f(0x232)]=_0x32100a,this[_0x308a3f(0x471)]=_0x12e9e3,this[_0x308a3f(0x4c5)]=_0x13b494,this[_0x308a3f(0x3eb)]=_0x50871b,this[_0x308a3f(0x131)]=_0x4a46c6,this['_initUnitPermissionChange'](),this[_0x308a3f(0x19d)]();}[_0x1b4be4(0x19d)](){const _0x4174c0=_0x1b4be4,_0x2166a5=async _0x2da91e=>{const _0x4144d3=_0x446a;(await this[_0x4144d3(0x3eb)]['requireSession'](_0x2da91e))[_0x4144d3(0x35f)][_0x4144d3(0x33d)](V[_0x4144d3(0x316)](_0x114348=>_0x114348[_0x4144d3(0x54f)]===m[_0x4144d3(0x289)][_0x4144d3(0x37e)]),V['takeUntil'](this[_0x4144d3(0x372)]))[_0x4144d3(0x559)](_0x3c70b7=>{const _0xfb5c1e=_0x4144d3,_0x36050e=_0x3c70b7,{reason:_0x152d69}=_0x36050e[_0xfb5c1e(0x464)];this['_injector']['get'](ee[_0xfb5c1e(0x182)])[_0xfb5c1e(0x53e)]({'type':Ie[_0xfb5c1e(0x2a8)]['Error'],'content':this[_0xfb5c1e(0x131)]['t'](_0xfb5c1e(0x193))+'('+_0x152d69+')'}),this[_0xfb5c1e(0x4c5)][_0xfb5c1e(0x4dd)](new k[(_0xfb5c1e(0x550))](_0x2da91e)['id'],!0x1),this[_0xfb5c1e(0x3eb)][_0xfb5c1e(0x3ea)](_0x2da91e);});};A[_0x4174c0(0x351)](this[_0x4174c0(0x471)][_0x4174c0(0x4e5)](a[_0x4174c0(0x577)][_0x4174c0(0x5b1)]),this[_0x4174c0(0x471)][_0x4174c0(0x4e5)](a[_0x4174c0(0x577)][_0x4174c0(0x435)]))[_0x4174c0(0x33d)](V[_0x4174c0(0x342)](_0x451eea=>_0x451eea[_0x4174c0(0x133)]()),V[_0x4174c0(0x316)](_0xa96200=>!a[_0x4174c0(0x3b9)](_0xa96200)),V[_0x4174c0(0x273)](this[_0x4174c0(0x372)]))[_0x4174c0(0x559)](_0x3f9bcf=>{_0x2166a5(_0x3f9bcf);});}[_0x1b4be4(0x1e6)](){const _0x12c9b2=_0x1b4be4,_0xaa3679=async _0x63780a=>{const _0x32dd06=_0x446a;(await this[_0x32dd06(0x3eb)][_0x32dd06(0x525)](_0x63780a))[_0x32dd06(0x35f)][_0x32dd06(0x33d)](V[_0x32dd06(0x316)](_0x2e7f69=>_0x2e7f69['eventID']===m[_0x32dd06(0x289)][_0x32dd06(0x4de)]),V['takeUntil'](this['dispose$']))[_0x32dd06(0x559)](_0x636d01=>{const _0x1ba437=_0x32dd06,_0xc62f5d=_0x636d01,{objectId:_0x5c8c71}=_0xc62f5d[_0x1ba437(0x464)],_0x1f5cf9=this[_0x1ba437(0x232)][_0x1ba437(0x35b)](Re[_0x1ba437(0x237)]);_0x5c8c71===_0x63780a?_0x1f5cf9[_0x1ba437(0x2f2)](_0x63780a):_0x1f5cf9[_0x1ba437(0x5ec)](_0x63780a,_0x5c8c71);});};A['merge'](this[_0x12c9b2(0x471)]['getTypeOfUnitAdded$'](a[_0x12c9b2(0x577)][_0x12c9b2(0x5b1)]),this['_univerInstanceService'][_0x12c9b2(0x4e5)](a[_0x12c9b2(0x577)][_0x12c9b2(0x435)]))[_0x12c9b2(0x33d)](V[_0x12c9b2(0x342)](_0x3c65d6=>_0x3c65d6[_0x12c9b2(0x133)]()),V[_0x12c9b2(0x316)](_0x5308e6=>!a[_0x12c9b2(0x3b9)](_0x5308e6)),V[_0x12c9b2(0x273)](this[_0x12c9b2(0x372)]))['subscribe'](_0x3faa8b=>{_0xaa3679(_0x3faa8b);});}};st=ho([Ae(0x0,a[_0x1b4be4(0x5da)](a[_0x1b4be4(0x3a0)])),Ae(0x1,a['IUniverInstanceService']),Ae(0x2,a[_0x1b4be4(0x56b)]),Ae(0x3,a['Inject'](exports[_0x1b4be4(0x4bb)])),Ae(0x4,a[_0x1b4be4(0x5da)](a[_0x1b4be4(0x138)]))],st);var _o=Object[_0x1b4be4(0x3c9)],uo=Object['getOwnPropertyDescriptor'],fo=(_0x576d55,_0x4b5e78,_0x13a4d2,_0x114c3e)=>{const _0x5cd3ea=_0x1b4be4;for(var _0x1580c4=_0x114c3e>0x1?void 0x0:_0x114c3e?uo(_0x4b5e78,_0x13a4d2):_0x4b5e78,_0x293685=_0x576d55[_0x5cd3ea(0x1d6)]-0x1,_0x56d9ba;_0x293685>=0x0;_0x293685--)(_0x56d9ba=_0x576d55[_0x293685])&&(_0x1580c4=(_0x114c3e?_0x56d9ba(_0x4b5e78,_0x13a4d2,_0x1580c4):_0x56d9ba(_0x1580c4))||_0x1580c4);return _0x114c3e&&_0x1580c4&&_o(_0x4b5e78,_0x13a4d2,_0x1580c4),_0x1580c4;},ui=(_0x52e838,_0x1088ae)=>(_0x31ac98,_0x3b9ffb)=>_0x1088ae(_0x31ac98,_0x3b9ffb,_0x52e838);exports[_0x1b4be4(0x47e)]=class{constructor(_0xe4c6fc,_0x192006){const _0x55caff=_0x1b4be4;this[_0x55caff(0x234)]=_0xe4c6fc,this[_0x55caff(0x515)]=_0x192006;}async[_0x1b4be4(0x3cb)](_0x20006c,_0x418589){const _0x3591a6=_0x1b4be4;var _0x1506b7;const {unitID:_0x318754,type:_0x37af4e,revision:_0x1cabea=0x0}=_0x418589,_0x538d42=this[_0x3591a6(0x57c)]()+'/'+_0x37af4e+_0x3591a6(0x235)+_0x318754+_0x3591a6(0x1cc)+_0x1cabea,_0x20b519=(await this[_0x3591a6(0x515)][_0x3591a6(0x35b)](_0x538d42))[_0x3591a6(0x1a7)],_0x1fd5c2=(_0x1506b7=_0x20b519['snapshot'])==null?void 0x0:_0x1506b7[_0x3591a6(0x25f)];if(_0x1fd5c2){const _0x557671=_0x1fd5c2==null?void 0x0:_0x1fd5c2['originalMeta'],_0x3a1f1b=m[_0x3591a6(0x4cb)][_0x3591a6(0x1e5)](m['b64DecodeUnicode'](_0x557671));_0x1fd5c2[_0x3591a6(0x4ef)]=_0x3a1f1b,Object['entries'](_0x1fd5c2['sheets'])['forEach'](([,_0x5cb40f])=>{const _0x1e10e3=_0x3591a6,_0x468291=_0x5cb40f[_0x1e10e3(0x4ef)],_0x1a6246=m[_0x1e10e3(0x4cb)][_0x1e10e3(0x1e5)](m[_0x1e10e3(0x367)](_0x468291));_0x5cb40f[_0x1e10e3(0x4ef)]=_0x1a6246;});}return _0x20b519;}async[_0x1b4be4(0x3bd)](_0x1a951e,_0x37b49a){const _0x2baf17=_0x1b4be4,{unitID:_0x456449,type:_0xe8cda2,blockID:_0xe4bf9d}=_0x37b49a,_0x52e372=this[_0x2baf17(0x1ad)]()+'/'+_0xe8cda2+'/unit/'+_0x456449+_0x2baf17(0x531)+_0xe4bf9d;return(await this[_0x2baf17(0x515)][_0x2baf17(0x35b)](_0x52e372))['body'];}async['getDeserializedSheetBlock'](_0x5b0b68,_0x6bdee5){const _0x4aa182=_0x1b4be4,{unitID:_0x2d5463,type:_0x35fe05,blockID:_0x4cd2f2}=_0x6bdee5,_0x29b8cc=this['_getAPIPrefix']()+'/block/'+_0x35fe05+'/unit/'+_0x2d5463+_0x4aa182(0x531)+_0x4cd2f2;return(await this[_0x4aa182(0x515)][_0x4aa182(0x35b)](_0x29b8cc))['body'];}async[_0x1b4be4(0x476)](_0x352132,_0x585364){const _0x5ad2ca=_0x1b4be4,{unitID:_0x274ee4,type:_0x9229f0,from:_0x56aa02,to:_0xe3f268}=_0x585364,_0x18c795=this[_0x5ad2ca(0x1ad)]()+'/'+_0x9229f0+'/unit/'+_0x274ee4+_0x5ad2ca(0x3d6)+_0x56aa02+'&to='+_0xe3f268;return(await this[_0x5ad2ca(0x515)]['get'](_0x18c795))[_0x5ad2ca(0x1a7)];}['_getSnapshotAPIPrefix'](){const _0x58d0a=_0x1b4be4;var _0x4dcb9f;return(_0x4dcb9f=this[_0x58d0a(0x234)]['getConfig'](fi))!=null?_0x4dcb9f:this[_0x58d0a(0x1ad)]();}[_0x1b4be4(0x1ad)](){const _0x28f807=_0x1b4be4;var _0x2b3f05,_0x376c65;const _0xe4d97d=this['_configService'][_0x28f807(0x2c9)](di),_0x347618=this[_0x28f807(0x234)][_0x28f807(0x2c9)](Z);return(_0x376c65=(_0x2b3f05=_0x347618==null?void 0x0:_0x347618[_0x28f807(0x263)])!=null?_0x2b3f05:_0xe4d97d)!=null?_0x376c65:Yi;}async[_0x1b4be4(0x34a)](_0x854983,_0x331a04){const _0x35fea7=_0x1b4be4,_0x228a60=_0x35fea7(0x410)+_0x331a04[_0x35fea7(0x336)]+_0x35fea7(0x235)+_0x331a04[_0x35fea7(0x4c2)]+'/resources';return(await this['_httpService'][_0x35fea7(0x35b)](_0x228a60,{'params':{'resourceId':JSON[_0x35fea7(0x397)](_0x331a04['resourceIDs'])}}))[_0x35fea7(0x1a7)];}[_0x1b4be4(0x3e4)](){const _0x2933fd=_0x1b4be4;throw new Error(_0x2933fd(0x2b9));}[_0x1b4be4(0x599)](){const _0x1d9580=_0x1b4be4;throw new Error(_0x1d9580(0x2b9));}['saveChangeset'](){const _0x3e38af=_0x1b4be4;throw new Error(_0x3e38af(0x2b9));}[_0x1b4be4(0x578)](){const _0x3d056c=_0x1b4be4;throw new Error(_0x3d056c(0x2b9));}[_0x1b4be4(0x392)](){const _0xccaa3=_0x1b4be4;throw new Error(_0xccaa3(0x2b9));}},exports['SnapshotServerOverHTTPService']=fo([ui(0x0,a[_0x1b4be4(0x2ec)]),ui(0x1,a[_0x1b4be4(0x5da)](z[_0x1b4be4(0x3aa)]))],exports[_0x1b4be4(0x47e)]);var vo=Object[_0x1b4be4(0x3c9)],po=Object[_0x1b4be4(0x3c7)],So=(_0x265fab,_0x59e966,_0x48d00d,_0x5e88fd)=>{const _0x313240=_0x1b4be4;for(var _0x364573=_0x5e88fd>0x1?void 0x0:_0x5e88fd?po(_0x59e966,_0x48d00d):_0x59e966,_0x362097=_0x265fab[_0x313240(0x1d6)]-0x1,_0x2b5af8;_0x362097>=0x0;_0x362097--)(_0x2b5af8=_0x265fab[_0x362097])&&(_0x364573=(_0x5e88fd?_0x2b5af8(_0x59e966,_0x48d00d,_0x364573):_0x2b5af8(_0x364573))||_0x364573);return _0x5e88fd&&_0x364573&&vo(_0x59e966,_0x48d00d,_0x364573),_0x364573;},Ne=(_0x5ccbff,_0x71173)=>(_0x520532,_0x6db681)=>_0x71173(_0x520532,_0x6db681,_0x5ccbff);let yt=class extends a['LocalUndoRedoService']{constructor(_0x27fbef,_0x5316da,_0x55fa6d,_0x4fb527,_0x6086b3){const _0x5e269e=_0x1b4be4;super(_0x27fbef,_0x5316da,_0x55fa6d),this[_0x5e269e(0x262)]=_0x4fb527,this[_0x5e269e(0x4fe)]=_0x6086b3;}['transformUndoRedo'](_0x330daa,_0x2816e4){const _0x1d8bb9=_0x1b4be4,_0x2c514c=this[_0x1d8bb9(0x3ed)](_0x330daa);if(_0x2c514c)try{const _0x4a685b=this[_0x1d8bb9(0x1c9)](_0x2c514c,_0x2816e4);this[_0x1d8bb9(0x23a)](_0x330daa,_0x4a685b);}catch(_0x5c87ca){this[_0x1d8bb9(0x4fe)]['error'](_0x1d8bb9(0x495),_0x5c87ca),this['_clearUndo'](_0x330daa);}const _0x4057e9=this[_0x1d8bb9(0x52f)](_0x330daa);if(_0x4057e9)try{const _0x4c9841=this[_0x1d8bb9(0x1c9)](_0x4057e9,_0x2816e4);this[_0x1d8bb9(0x5b3)](_0x330daa,_0x4c9841);}catch(_0x5c5c2e){this['_logService'][_0x1d8bb9(0x218)](_0x5c5c2e),this[_0x1d8bb9(0x413)](_0x330daa);}}[_0x1b4be4(0x4c4)](_0x1fa3de){const _0x558156=_0x1b4be4,_0x3e0fd5=this[_0x558156(0x3ed)](_0x1fa3de);_0x3e0fd5&&(_0x3e0fd5[_0x558156(0x1d6)]=0x0,this[_0x558156(0x2bd)]());}['_clearRedo'](_0xc4f582){const _0x5ac203=_0x1b4be4,_0x1b5f78=this['_getRedoStack'](_0xc4f582);_0x1b5f78&&(_0x1b5f78[_0x5ac203(0x1d6)]=0x0,this[_0x5ac203(0x2bd)]());}[_0x1b4be4(0x23a)](_0x3dd97f,_0x35071f){const _0x56c8cc=_0x1b4be4;this['_undoStacks'][_0x56c8cc(0x5c1)](_0x3dd97f,_0x35071f),this[_0x56c8cc(0x2bd)]();}[_0x1b4be4(0x5b3)](_0x18d6aa,_0x1bddb5){const _0x27ceef=_0x1b4be4;this['_redoStacks'][_0x27ceef(0x5c1)](_0x18d6aa,_0x1bddb5),this[_0x27ceef(0x2bd)]();}['_transformStack'](_0x154d56,_0x644882){const _0x405059=_0x1b4be4,_0x33cb8a=[];let _0x1d21ce=_0x644882,_0x56d520=_0x644882;for(let _0x49d4c1=_0x154d56[_0x405059(0x1d6)]-0x1;_0x49d4c1>=0x0;_0x49d4c1--){const {unitID:_0x541696,undoMutations:_0x5b5c7c,redoMutations:_0x401ad5}=_0x154d56[_0x49d4c1],_0x1f9a88=this[_0x405059(0x262)][_0x405059(0x409)](_0x1d21ce,_0x5b5c7c),_0x35ba8f=this['_transformService'][_0x405059(0x409)](_0x56d520,_0x401ad5);if(m[_0x405059(0x417)](_0x1f9a88)||m[_0x405059(0x417)](_0x35ba8f)){this[_0x405059(0x4fe)][_0x405059(0x218)](_0x405059(0x495),'transformStack\x20failed!',_0x1f9a88,_0x35ba8f);break;}_0x1d21ce=_0x1f9a88[_0x405059(0x4ad)],_0x56d520=_0x35ba8f[_0x405059(0x4ad)],_0x33cb8a['push']({'unitID':_0x541696,'undoMutations':_0x1f9a88[_0x405059(0x54e)],'redoMutations':_0x35ba8f[_0x405059(0x54e)]});}return _0x33cb8a[_0x405059(0x345)]();}};yt=So([Ne(0x0,a[_0x1b4be4(0x5e4)]),Ne(0x1,a[_0x1b4be4(0x58f)]),Ne(0x2,a[_0x1b4be4(0x118)]),Ne(0x3,m[_0x1b4be4(0x1e1)]),Ne(0x4,a['ILogService'])],yt);class Bi extends a[_0x1b4be4(0x472)]{constructor(){const _0x4a1519=_0x1b4be4;super(),I(this,_0x4a1519(0x180)),this[_0x4a1519(0x180)]=A[_0x4a1519(0x56e)](window,'popstate')[_0x4a1519(0x33d)](A['takeUntil'](this[_0x4a1519(0x372)]),A[_0x4a1519(0x2fd)](0x1),A[_0x4a1519(0x362)](void 0x0));}[_0x1b4be4(0x236)](_0x14fa61,_0x4240dd,_0x7fbe80=!0x1){const _0x220857=_0x1b4be4,_0x5b6ac4=new URL(window[_0x220857(0x16c)][_0x220857(0x325)]);_0x5b6ac4[_0x220857(0x252)][_0x220857(0x5c1)](_0x14fa61,_0x4240dd),_0x7fbe80?window[_0x220857(0x450)]['replaceState']('','',_0x5b6ac4[_0x220857(0x1d1)]()):window['history'][_0x220857(0x3cd)]('','',_0x5b6ac4[_0x220857(0x1d1)]());}[_0x1b4be4(0x4d8)](_0x439f25,_0x23d421=!0x1){const _0x29ea38=_0x1b4be4,_0x25a509=new URL(window['location'][_0x29ea38(0x325)]);_0x25a509[_0x29ea38(0x252)][_0x29ea38(0x192)](_0x439f25),_0x23d421?window[_0x29ea38(0x450)][_0x29ea38(0x366)]('','',_0x25a509[_0x29ea38(0x1d1)]()):window[_0x29ea38(0x450)]['pushState']('','',_0x25a509[_0x29ea38(0x1d1)]());}['getParam'](_0x4a1cdb){const _0x534564=_0x1b4be4;var _0x30b6f7;return(_0x30b6f7=new URL(window[_0x534564(0x16c)]['href'])['searchParams'][_0x534564(0x35b)](_0x4a1cdb))!=null?_0x30b6f7:void 0x0;}}var ki=Object[_0x1b4be4(0x3c9)],mo=Object[_0x1b4be4(0x3c7)],go=(_0x487fa2,_0x161301,_0x486968)=>_0x161301 in _0x487fa2?ki(_0x487fa2,_0x161301,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x486968}):_0x487fa2[_0x161301]=_0x486968,Io=(_0x353502,_0xec2cc8,_0x58dd78,_0xc7eed5)=>{const _0x588b0b=_0x1b4be4;for(var _0x28d726=_0xc7eed5>0x1?void 0x0:_0xc7eed5?mo(_0xec2cc8,_0x58dd78):_0xec2cc8,_0x136afd=_0x353502[_0x588b0b(0x1d6)]-0x1,_0x34bb2e;_0x136afd>=0x0;_0x136afd--)(_0x34bb2e=_0x353502[_0x136afd])&&(_0x28d726=(_0xc7eed5?_0x34bb2e(_0xec2cc8,_0x58dd78,_0x28d726):_0x34bb2e(_0x28d726))||_0x28d726);return _0xc7eed5&&_0x28d726&&ki(_0xec2cc8,_0x58dd78,_0x28d726),_0x28d726;},He=(_0x315c54,_0x271cd5)=>(_0x586d6d,_0x232b83)=>_0x271cd5(_0x586d6d,_0x232b83,_0x315c54),Co=(_0x4dba3b,_0x25ff01,_0x357226)=>go(_0x4dba3b,_0x25ff01+'',_0x357226);const Eo=_0x1b4be4(0x4e3);exports[_0x1b4be4(0x595)]=class extends a[_0x1b4be4(0x4f0)]{constructor(_0x57c257=rn,_0x4169d6,_0x1e426f,_0x5ba329,_0x4220cf){const _0x3c1868=_0x1b4be4;super(),this['_config']=_0x57c257,this['_logService']=_0x4169d6,this[_0x3c1868(0x255)]=_0x1e426f,this[_0x3c1868(0x232)]=_0x5ba329,this['_configService']=_0x4220cf;const {..._0x81e17c}=this['_config'];this[_0x3c1868(0x234)][_0x3c1868(0x5bf)](Z,_0x81e17c);}['onStarting'](){const _0x71f242=_0x1b4be4;this['_registerDependencies'](),this[_0x71f242(0x11a)]();}[_0x1b4be4(0x4dc)](){const _0x5eb5d2=_0x1b4be4;a[_0x5eb5d2(0x361)](this[_0x5eb5d2(0x232)],[[it],[tt]]);}[_0x1b4be4(0x55b)](){const _0x3376f9=_0x1b4be4;this[_0x3376f9(0x41d)]();}['_registerDependencies'](){const _0x570524=_0x1b4be4;var _0x32de1e,_0x96af0f,_0x265b3b,_0x2aedac;this[_0x570524(0x232)]['has'](a['IUndoRedoService'])&&this[_0x570524(0x4fe)][_0x570524(0x218)](_0x570524(0x128),_0x570524(0x216));const _0x1a773=[[a['IUndoRedoService'],{'useClass':yt}],[exports[_0x570524(0x4bb)]],[At],[Lt,{'useClass':Bi}],[exports[_0x570524(0x41e)]],[exports[_0x570524(0x3ec)]],[z[_0x570524(0x30a)]],[Ze],[et],[Je],[Qe],[Ut],[nt],[rt],[wt],[st],[Pt,{'useClass':(_0x96af0f=(_0x32de1e=this['_config'])==null?void 0x0:_0x32de1e[_0x570524(0x4b4)])!=null?_0x96af0f:exports[_0x570524(0x374)]}],[m[_0x570524(0x4e2)],{'useClass':exports[_0x570524(0x47e)]}],[a[_0x570524(0x4fd)],{'useClass':exports[_0x570524(0x3d7)]}],[te['IImageIoService'],{'useClass':exports['ImageIoService']}],[a[_0x570524(0x55d)],{'useClass':exports['MentionIoHttpService']}],[exports[_0x570524(0x3d4)]],[exports['DataLoaderController']],[exports[_0x570524(0x589)]],[it],[Oe],[tt]];(_0x265b3b=this[_0x570524(0x414)])!=null&&_0x265b3b[_0x570524(0x579)]&&_0x1a773[_0x570524(0x284)]([ot,{'useClass':xn}]),a['registerDependencies'](this[_0x570524(0x232)],a[_0x570524(0x290)](_0x1a773,(_0x2aedac=this[_0x570524(0x414)])==null?void 0x0:_0x2aedac[_0x570524(0x50d)]));}[_0x1b4be4(0x41d)](){const _0xa0689a=_0x1b4be4;this[_0xa0689a(0x424)](this[_0xa0689a(0x255)][_0xa0689a(0x4d3)](a[_0xa0689a(0x577)][_0xa0689a(0x435)],[Tt])),this['disposeWithMe'](this[_0xa0689a(0x255)][_0xa0689a(0x4d3)](a[_0xa0689a(0x577)][_0xa0689a(0x5b1)],[Rt]));}[_0x1b4be4(0x11a)](){const _0x52f0c2=_0x1b4be4;var _0x13b597,_0x15edd5;this['_injector'][_0x52f0c2(0x35b)](z['HTTPService'])[_0x52f0c2(0x188)]({'priority':0x14,'interceptor':z[_0x52f0c2(0x2cf)]({'maxParallel':0x6})}),(_0x13b597=this[_0x52f0c2(0x414)])!=null&&_0x13b597[_0x52f0c2(0x2a3)]||this['_injector'][_0x52f0c2(0x35b)](exports[_0x52f0c2(0x3ec)])[_0x52f0c2(0x3db)](),(_0x15edd5=this[_0x52f0c2(0x414)])!=null&&_0x15edd5[_0x52f0c2(0x572)]&&a[_0x52f0c2(0x361)](this['_injector'],[[nt]]),a['touchDependencies'](this[_0x52f0c2(0x232)],[[rt],[Oe],[exports[_0x52f0c2(0x3ff)]],[exports['CollaborationController']],[exports[_0x52f0c2(0x589)]],[st]]);}},Co(exports[_0x1b4be4(0x595)],'pluginName',Eo),exports[_0x1b4be4(0x595)]=Io([a['DependentOn'](m['UniverCollaborationPlugin'],z['UniverNetworkPlugin']),He(0x1,a[_0x1b4be4(0x509)]),He(0x2,q[_0x1b4be4(0x2d4)]),He(0x3,a['Inject'](a[_0x1b4be4(0x3a0)])),He(0x4,a[_0x1b4be4(0x2ec)])],exports['UniverCollaborationClientPlugin']),exports[_0x1b4be4(0x1d8)]=xt,exports[_0x1b4be4(0x5d7)]=Z,exports[_0x1b4be4(0x560)]=Ii,exports[_0x1b4be4(0x2d0)]=vi,exports['CollaborationStatus']=K,exports[_0x1b4be4(0x18b)]=xi,exports['CommentService']=wt,exports['HEARTBEAT_INTERVAL_KEY']=pi,exports[_0x1b4be4(0x4d7)]=Ot,exports['ICollaborationSocketService']=Pt,exports[_0x1b4be4(0x382)]=Lt,exports[_0x1b4be4(0x144)]=gi,exports[_0x1b4be4(0x17c)]=Ci,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=mi,exports[_0x1b4be4(0x448)]=qi,exports['SNAPSHOT_SERVER_URL_KEY']=di,exports[_0x1b4be4(0x1c6)]=fi,exports[_0x1b4be4(0x52e)]=ne,exports[_0x1b4be4(0x4f9)]=Ui,exports[_0x1b4be4(0x2b4)]=Bi,exports['deserializeToCombResponse']=Ti,exports['serializeCombRequest']=Ri;
1
+ 'use strict';const _0x248339=_0x2ee7;(function(_0x46cc9c,_0x9dabd9){const _0x507ca6=_0x2ee7,_0x3de870=_0x46cc9c();while(!![]){try{const _0x23c31e=-parseInt(_0x507ca6(0x4c9))/0x1+-parseInt(_0x507ca6(0x59c))/0x2*(-parseInt(_0x507ca6(0x19c))/0x3)+parseInt(_0x507ca6(0x59e))/0x4+-parseInt(_0x507ca6(0x34e))/0x5*(parseInt(_0x507ca6(0x225))/0x6)+parseInt(_0x507ca6(0x474))/0x7*(parseInt(_0x507ca6(0x407))/0x8)+-parseInt(_0x507ca6(0x51f))/0x9*(-parseInt(_0x507ca6(0x301))/0xa)+-parseInt(_0x507ca6(0x4c6))/0xb*(parseInt(_0x507ca6(0x535))/0xc);if(_0x23c31e===_0x9dabd9)break;else _0x3de870['push'](_0x3de870['shift']());}catch(_0x190043){_0x3de870['push'](_0x3de870['shift']());}}}(_0x589c,0xc3c37));var Wi=Object[_0x248339(0x56f)],Fi=(_0x173699,_0x4e48e9,_0x35cc0d)=>_0x4e48e9 in _0x173699?Wi(_0x173699,_0x4e48e9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x35cc0d}):_0x173699[_0x4e48e9]=_0x35cc0d,I=(_0x181925,_0x23a4fb,_0x1b1297)=>Fi(_0x181925,typeof _0x23a4fb!='symbol'?_0x23a4fb+'':_0x23a4fb,_0x1b1297);Object[_0x248339(0x56f)](exports,Symbol['toStringTag'],{'value':_0x248339(0x275)});const a=require(_0x248339(0x50e)),N=require(_0x248339(0x5af)),V=require(_0x248339(0x621)),Ie=require('@univerjs/design'),z=require(_0x248339(0x61f)),ee=require(_0x248339(0x424)),m=require(_0x248339(0x584)),Vi=require(_0x248339(0x467)),ge=require(_0x248339(0x1da)),J=require(_0x248339(0x2f5)),k=require('@univerjs/sheets'),Y=require(_0x248339(0x57c)),te=require('@univerjs/drawing'),$t=require(_0x248339(0x544)),Ae=require(_0x248339(0x469)),oe=require(_0x248339(0x5f7)),Gi=require(_0x248339(0x3ee)),di='SNAPSHOT_SERVER_URL_KEY',Yi=_0x248339(0x47f),fi=_0x248339(0x509),qi='SEND_CHANGESET_TIMEOUT',Ki=0x7d0,vi='COLLAB_WEB_SOCKET_URL',zi=_0x248339(0x532),Xi='/universer-api/user/session-ticket',pi=_0x248339(0x2fc),Ji=0x7530,Ot='HEARTBEAT_TIMEOUT',Si=0x4e20,Zi=0x4e20,mi='RETRY_CONNECTING_MAX_COUNT',Qi=0x3,gi=_0x248339(0x22b),en=0x3e8,Ii=_0x248339(0x611),tn=_0x248339(0x639),Ci=_0x248339(0x45d),nn=_0x248339(0x221);var Ei=(_0x1b454f=>(_0x1b454f[_0x1b454f[_0x248339(0x58e)]=0x0]=_0x248339(0x58e),_0x1b454f[_0x1b454f['OK']=0x1]='OK',_0x1b454f[_0x1b454f[_0x248339(0x26e)]=0x2]='INTERNAL_ERROR',_0x1b454f[_0x1b454f['PERMISSION_DENIED']=0x3]=_0x248339(0x638),_0x1b454f[_0x1b454f[_0x248339(0x542)]=0x4]='NOT_FOUND',_0x1b454f[_0x1b454f[_0x248339(0x2e5)]=0x5]='UNAUTHENTICATED',_0x1b454f[_0x1b454f['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x1b454f[_0x1b454f[_0x248339(0x41a)]=0x7]=_0x248339(0x41a),_0x1b454f[_0x1b454f[_0x248339(0x63e)]=0x8]=_0x248339(0x63e),_0x1b454f[_0x1b454f['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x1b454f[_0x1b454f['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1b454f[_0x1b454f[_0x248339(0x2e1)]=0x1771]=_0x248339(0x2e1),_0x1b454f[_0x1b454f[_0x248339(0x1d2)]=0x1772]=_0x248339(0x1d2),_0x1b454f[_0x1b454f[_0x248339(0x2cc)]=0x1773]=_0x248339(0x2cc),_0x1b454f[_0x1b454f['APPLY_REJECT']=0x1b59]=_0x248339(0x239),_0x1b454f[_0x1b454f['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x248339(0x28b),_0x1b454f[_0x1b454f[_0x248339(0x27b)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1b454f[_0x1b454f[_0x248339(0x191)]=0x1b5c]=_0x248339(0x191),_0x1b454f[_0x1b454f[_0x248339(0x5ec)]=0x1b5d]=_0x248339(0x5ec),_0x1b454f[_0x1b454f[_0x248339(0x341)]=0x1f41]=_0x248339(0x341),_0x1b454f[_0x1b454f[_0x248339(0x4eb)]=0x2329]=_0x248339(0x4eb),_0x1b454f[_0x1b454f[_0x248339(0x592)]=0x232a]=_0x248339(0x592),_0x1b454f[_0x1b454f[_0x248339(0x1df)]=0x232b]=_0x248339(0x1df),_0x1b454f[_0x1b454f[_0x248339(0x3d9)]=0x232c]=_0x248339(0x3d9),_0x1b454f[_0x1b454f[_0x248339(0x4cd)]=0x232d]=_0x248339(0x4cd),_0x1b454f[_0x1b454f['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x248339(0x36d),_0x1b454f[_0x1b454f['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1b454f[_0x1b454f[_0x248339(0x476)]=0x2713]=_0x248339(0x476),_0x1b454f[_0x1b454f[_0x248339(0x292)]=0x2714]=_0x248339(0x292),_0x1b454f[_0x1b454f[_0x248339(0x273)]=-0x1]='UNRECOGNIZED',_0x1b454f))(Ei||{}),ie=(_0x3e75a2=>(_0x3e75a2[_0x3e75a2[_0x248339(0x209)]=0x0]='UNIVER_UNKNOWN',_0x3e75a2[_0x3e75a2[_0x248339(0x35a)]=0x1]=_0x248339(0x35a),_0x3e75a2[_0x3e75a2[_0x248339(0x2c8)]=0x2]='UNIVER_SHEET',_0x3e75a2[_0x3e75a2[_0x248339(0x43d)]=0x3]=_0x248339(0x43d),_0x3e75a2[_0x3e75a2[_0x248339(0x4a7)]=0x4]=_0x248339(0x4a7),_0x3e75a2[_0x3e75a2['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3e75a2))(ie||{}),G=(_0x2c2657=>(_0x2c2657[_0x2c2657[_0x248339(0x631)]=0x0]='UNKNOWN_CMD',_0x2c2657[_0x2c2657[_0x248339(0x37f)]=0x1]=_0x248339(0x37f),_0x2c2657[_0x2c2657[_0x248339(0x625)]=0x2]=_0x248339(0x625),_0x2c2657[_0x2c2657[_0x248339(0x3a2)]=0x3]='LEAVE',_0x2c2657[_0x2c2657[_0x248339(0x32c)]=0x4]=_0x248339(0x32c),_0x2c2657[_0x2c2657['HEARTBEAT']=0x5]=_0x248339(0x3cb),_0x2c2657[_0x2c2657[_0x248339(0x649)]=0x6]=_0x248339(0x649),_0x2c2657[_0x2c2657['UNRECOGNIZED']=-0x1]=_0x248339(0x273),_0x2c2657))(G||{}),Dt=(_0x5bfc5d=>(_0x5bfc5d[_0x5bfc5d[_0x248339(0x5b3)]=0x0]=_0x248339(0x5b3),_0x5bfc5d[_0x5bfc5d['OK']=0x1]='OK',_0x5bfc5d[_0x5bfc5d[_0x248339(0x5ed)]=0x2]=_0x248339(0x5ed),_0x5bfc5d[_0x5bfc5d[_0x248339(0x468)]=0x3e9]=_0x248339(0x468),_0x5bfc5d[_0x5bfc5d['JOIN_ROOM_NOT_ALLOWED']=0x3ea]='JOIN_ROOM_NOT_ALLOWED',_0x5bfc5d[_0x5bfc5d[_0x248339(0x273)]=-0x1]=_0x248339(0x273),_0x5bfc5d))(Dt||{}),bi=(_0x475dba=>(_0x475dba[_0x475dba[_0x248339(0x354)]=0x0]=_0x248339(0x354),_0x475dba[_0x475dba[_0x248339(0x222)]=0x1]=_0x248339(0x222),_0x475dba[_0x475dba[_0x248339(0x302)]=0x2]=_0x248339(0x302),_0x475dba[_0x475dba[_0x248339(0x2a1)]=0x3]=_0x248339(0x2a1),_0x475dba[_0x475dba[_0x248339(0x204)]=0x4]=_0x248339(0x204),_0x475dba[_0x475dba['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x475dba))(bi||{});const Z=_0x248339(0x22a),rn={};function Ti(_0x2a413e){const _0x48b627=_0x248339;var _0x564e93,_0x37f75e,_0x218c40,_0x49c971,_0x270d55;const _0x29004f=_0x2a413e[_0x48b627(0x298)],_0x5be616=JSON[_0x48b627(0x390)](_0x29004f);switch(_0x5be616[_0x48b627(0x591)]){case G['HEARTBEAT']:case G[_0x48b627(0x37f)]:{const _0x2590fe=_0x5be616[_0x48b627(0x641)];return{..._0x5be616,'data':_0x2590fe,'cmd':_0x5be616[_0x48b627(0x591)]};}case G[_0x48b627(0x625)]:{const _0x394079=_0x5be616[_0x48b627(0x4f5)];return{..._0x5be616,'data':_0x394079,'cmd':_0x5be616[_0x48b627(0x591)]};}case G[_0x48b627(0x649)]:{const _0x1e4f91=_0x5be616[_0x48b627(0x363)];switch(_0x1e4f91[_0x48b627(0x213)]){case m[_0x48b627(0x1e6)]['PERMISSION_REJ']:return{..._0x5be616,'data':{..._0x1e4f91,'data':(_0x564e93=_0x1e4f91[_0x48b627(0x285)])==null?void 0x0:_0x564e93['cs']},'cmd':_0x5be616['cmd']};case m['CollaborationEvent'][_0x48b627(0x21d)]:return{..._0x5be616,'data':{..._0x1e4f91,'data':(_0x37f75e=_0x1e4f91[_0x48b627(0x1cc)])==null?void 0x0:_0x37f75e['cs']},'cmd':_0x5be616['cmd']};case m[_0x48b627(0x1e6)][_0x48b627(0x31f)]:return{..._0x5be616,'data':{..._0x1e4f91,'data':(_0x218c40=_0x1e4f91[_0x48b627(0x48a)])==null?void 0x0:_0x218c40['cs']},'cmd':_0x5be616[_0x48b627(0x591)]};case m[_0x48b627(0x1e6)][_0x48b627(0x26b)]:return{..._0x5be616,'data':{..._0x1e4f91,'data':(_0x49c971=_0x1e4f91[_0x48b627(0x517)])==null?void 0x0:_0x49c971['cs']},'cmd':_0x5be616['cmd']};case m[_0x48b627(0x1e6)][_0x48b627(0x199)]:return{..._0x5be616,'data':{..._0x1e4f91,'data':(_0x270d55=_0x1e4f91[_0x48b627(0x5c2)])==null?void 0x0:_0x270d55['cs']},'cmd':_0x5be616[_0x48b627(0x591)]};case m[_0x48b627(0x1e6)][_0x48b627(0x3d4)]:return{..._0x5be616,'data':{..._0x1e4f91,'data':_0x1e4f91[_0x48b627(0x2ae)]},'cmd':_0x5be616[_0x48b627(0x591)]};case m[_0x48b627(0x1e6)][_0x48b627(0x62c)]:return{..._0x5be616,'data':{..._0x1e4f91,'data':_0x1e4f91['joinEvent']},'cmd':_0x5be616[_0x48b627(0x591)]};case m[_0x48b627(0x1e6)][_0x48b627(0x1ab)]:return{..._0x5be616,'data':{..._0x1e4f91,'data':_0x1e4f91['leaveEvent']},'cmd':_0x5be616[_0x48b627(0x591)]};case m[_0x48b627(0x1e6)][_0x48b627(0x2d3)]:return{..._0x5be616,'data':{..._0x1e4f91,'data':_0x1e4f91[_0x48b627(0x5a0)]},'cmd':_0x5be616[_0x48b627(0x591)]};case m[_0x48b627(0x1e6)][_0x48b627(0x1bb)]:case m['CollaborationEvent'][_0x48b627(0x4ab)]:return{..._0x5be616,'data':{..._0x1e4f91,'data':_0x1e4f91['liveShareOperation']},'cmd':_0x5be616[_0x48b627(0x591)]};case m['CollaborationEvent'][_0x48b627(0x2e4)]:return{..._0x5be616,'data':{..._0x1e4f91,'data':_0x1e4f91[_0x48b627(0x5a0)]},'cmd':_0x5be616[_0x48b627(0x591)]};case m[_0x48b627(0x1e6)][_0x48b627(0x63d)]:return{..._0x5be616,'data':_0x1e4f91,'cmd':_0x5be616['cmd']};case m[_0x48b627(0x1e6)]['COMMENT_UPDATE']:return{..._0x5be616,'data':{..._0x1e4f91,'data':_0x1e4f91['commentUpdateEvent']},'cmd':_0x5be616[_0x48b627(0x591)]};case m[_0x48b627(0x1e6)][_0x48b627(0x3a6)]:return{..._0x5be616,'data':{..._0x1e4f91,'data':_0x1e4f91['updatePermissionObjEvent']},'cmd':_0x5be616[_0x48b627(0x591)]};case m['CollaborationEvent'][_0x48b627(0x2ce)]:return{..._0x5be616,'data':{..._0x1e4f91,'data':_0x1e4f91[_0x48b627(0x521)]},'cmd':_0x5be616[_0x48b627(0x591)]};default:return _0x5be616;}}default:return _0x5be616;}}function Ri(_0x2ec553){const _0x2a73b3=_0x248339;switch(_0x2ec553[_0x2a73b3(0x591)]){case G[_0x2a73b3(0x3cb)]:case G['HELLO']:return JSON[_0x2a73b3(0x1ad)]({'cmd':_0x2ec553[_0x2a73b3(0x591)],'routeKey':_0x2ec553[_0x2a73b3(0x55b)]});case G[_0x2a73b3(0x32c)]:{let _0x4a0a98;switch(_0x2ec553[_0x2a73b3(0x298)][_0x2a73b3(0x213)]){case m[_0x2a73b3(0x1e6)][_0x2a73b3(0x3d4)]:{_0x4a0a98={'eventID':m[_0x2a73b3(0x1e6)]['UPDATE_CURSOR'],'updateCursorEvent':_0x2ec553[_0x2a73b3(0x298)][_0x2a73b3(0x298)]};break;}case m['CollaborationEvent'][_0x2a73b3(0x1ab)]:{_0x4a0a98={'eventID':m[_0x2a73b3(0x1e6)]['USERS_LEAVE'],'leaveEvent':_0x2ec553[_0x2a73b3(0x298)][_0x2a73b3(0x298)]};break;}case m[_0x2a73b3(0x1e6)][_0x2a73b3(0x62c)]:{_0x4a0a98={'eventID':m['CollaborationEvent'][_0x2a73b3(0x62c)],'joinEvent':_0x2ec553['data'][_0x2a73b3(0x298)]};break;}case m[_0x2a73b3(0x1e6)][_0x2a73b3(0x2d3)]:{_0x4a0a98={'eventID':m[_0x2a73b3(0x1e6)][_0x2a73b3(0x2d3)],'liveShareNewHost':_0x2ec553[_0x2a73b3(0x298)][_0x2a73b3(0x298)]};break;}case m[_0x2a73b3(0x1e6)]['LIVESHARE_OPERATION']:{_0x4a0a98={'eventID':m['CollaborationEvent'][_0x2a73b3(0x4ab)],'liveShareOperation':_0x2ec553[_0x2a73b3(0x298)][_0x2a73b3(0x298)]};break;}case m[_0x2a73b3(0x1e6)]['LIVESHARE_TERMINATE']:{_0x4a0a98={'eventID':m['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x2ec553['data']['data']};break;}case m[_0x2a73b3(0x1e6)][_0x2a73b3(0x2f1)]:{_0x4a0a98={'eventID':m['CollaborationEvent'][_0x2a73b3(0x2f1)],'liveShareRequestHost':_0x2ec553[_0x2a73b3(0x298)][_0x2a73b3(0x298)]};break;}case m[_0x2a73b3(0x1e6)]['LIVESHARE_FETCH_OPERATIONS']:{_0x4a0a98={'eventID':m[_0x2a73b3(0x1e6)][_0x2a73b3(0x1bb)]};break;}default:_0x4a0a98={'eventID':_0x2ec553['data'][_0x2a73b3(0x213)]};}return JSON[_0x2a73b3(0x1ad)]({'cmd':_0x2ec553[_0x2a73b3(0x591)],'routeKey':_0x2ec553[_0x2a73b3(0x55b)],'collaMsg':_0x4a0a98});}case G[_0x2a73b3(0x625)]:return JSON[_0x2a73b3(0x1ad)]({'cmd':_0x2ec553[_0x2a73b3(0x591)],'routeKey':_0x2ec553['routeKey'],'joinReq':_0x2ec553[_0x2a73b3(0x298)]});case G['LEAVE']:return JSON[_0x2a73b3(0x1ad)]({'cmd':_0x2ec553['cmd'],'routeKey':_0x2ec553[_0x2a73b3(0x55b)],'leaveReq':_0x2ec553['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var sn=Object['defineProperty'],on=Object[_0x248339(0x3a7)],an=(_0x25a296,_0x3cda17,_0x32a1eb,_0x267c05)=>{const _0x5e1195=_0x248339;for(var _0x3f72f7=_0x267c05>0x1?void 0x0:_0x267c05?on(_0x3cda17,_0x32a1eb):_0x3cda17,_0x45670d=_0x25a296[_0x5e1195(0x45e)]-0x1,_0x39a6f4;_0x45670d>=0x0;_0x45670d--)(_0x39a6f4=_0x25a296[_0x45670d])&&(_0x3f72f7=(_0x267c05?_0x39a6f4(_0x3cda17,_0x32a1eb,_0x3f72f7):_0x39a6f4(_0x3f72f7))||_0x3f72f7);return _0x267c05&&_0x3f72f7&&sn(_0x3cda17,_0x32a1eb,_0x3f72f7),_0x3f72f7;},Oe=(_0x5775cc,_0x2d3d43)=>(_0x51fed0,_0x16e179)=>_0x2d3d43(_0x51fed0,_0x16e179,_0x5775cc);const Pt=a['createIdentifier'](_0x248339(0x4fc));function cn(_0x1c349f,_0x462805,_0x3957e7){const _0x1474a6=_0x248339;return _0x1c349f+'/'+_0x462805+_0x1474a6(0x1d0)+_0x3957e7+_0x1474a6(0x53e);}exports['CollaborationSocketService']=class extends a[_0x248339(0x4cc)]{constructor(_0x18cbe2,_0x5b5a00,_0x19f27a,_0x1bdd14,_0x1f715e){const _0x105488=_0x248339;super(),this[_0x105488(0x4b6)]=_0x18cbe2,this[_0x105488(0x58c)]=_0x5b5a00,this[_0x105488(0x5cf)]=_0x19f27a,this[_0x105488(0x237)]=_0x1bdd14,this[_0x105488(0x2e0)]=_0x1f715e;}[_0x248339(0x50c)](_0x5401a9){const _0x2bdb35=_0x248339,_0x54b626=this[_0x2bdb35(0x58c)][_0x2bdb35(0x50c)](_0x5401a9);if(!_0x54b626)throw new Error(_0x2bdb35(0x1a7));const _0x1a2a15=new a[(_0x2bdb35(0x63f))](),_0x3e47dd=new N[(_0x2bdb35(0x588))]();_0x1a2a15[_0x2bdb35(0x57d)](_0x54b626[_0x2bdb35(0x312)][_0x2bdb35(0x3da)](_0x3d629b=>_0x3e47dd['next'](_0x3d629b))),_0x1a2a15[_0x2bdb35(0x57d)](a[_0x2bdb35(0x18a)](()=>_0x3e47dd['complete']()));const _0x15f996=new N['Subject']();_0x1a2a15['add'](_0x54b626[_0x2bdb35(0x4c1)][_0x2bdb35(0x3da)](_0x4b1fbe=>_0x15f996[_0x2bdb35(0x423)](_0x4b1fbe))),_0x1a2a15['add'](a[_0x2bdb35(0x18a)](()=>_0x15f996[_0x2bdb35(0x609)]()));const _0x107f2a=new N[(_0x2bdb35(0x588))]();_0x1a2a15[_0x2bdb35(0x57d)](_0x54b626['message$']['subscribe'](_0xa5b527=>{const _0x163ff9=_0x2bdb35,_0x273e70=Ti(_0xa5b527);_0x107f2a[_0x163ff9(0x423)](_0x273e70);})),_0x1a2a15[_0x2bdb35(0x57d)](a[_0x2bdb35(0x18a)](()=>_0x107f2a['complete']()));let _0x196eed;const _0x1cad5e=()=>{const _0xb658d5=_0x2bdb35;_0x15f996[_0xb658d5(0x423)](new Event(_0xb658d5(0x34c))),_0x3e47dd[_0xb658d5(0x423)](new CloseEvent(_0xb658d5(0x34c))),_0x196eed[_0xb658d5(0x42a)]();};return _0x196eed={'memberID':'','close$':_0x3e47dd[_0x2bdb35(0x366)](),'error$':_0x15f996['asObservable'](),'open$':_0x54b626[_0x2bdb35(0x403)],'message$':_0x107f2a[_0x2bdb35(0x366)](),'send':_0xd39d62=>{const _0x303ac4=_0x2bdb35;if(_0xd39d62[_0x303ac4(0x591)]===G[_0x303ac4(0x32c)]){if(_0xd39d62['data'][_0x303ac4(0x213)]===m[_0x303ac4(0x1e6)][_0x303ac4(0x3b8)]){this['_submitChangeset'](_0x196eed,_0xd39d62[_0x303ac4(0x298)])[_0x303ac4(0x389)](_0x1fdfe0=>{const _0x184500=_0x303ac4;this[_0x184500(0x237)][_0x184500(0x2de)](_0x1fdfe0),_0x1cad5e();});return;}if(_0xd39d62[_0x303ac4(0x298)][_0x303ac4(0x213)]===m[_0x303ac4(0x1e6)][_0x303ac4(0x19e)]){const _0x4b3cbc=_0xd39d62[_0x303ac4(0x298)];this[_0x303ac4(0x51c)](_0x4b3cbc)[_0x303ac4(0x525)](_0x56d76c=>{const _0x10db75=_0x303ac4;_0x107f2a[_0x10db75(0x423)]({'cmd':G[_0x10db75(0x649)],'code':Dt['OK'],'routeKey':_0x4b3cbc[_0x10db75(0x298)]['unitID'],'routeType':'','data':{'eventID':m[_0x10db75(0x1e6)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x56d76c}}});})[_0x303ac4(0x389)](_0x220148=>{const _0x44a784=_0x303ac4;this[_0x44a784(0x237)][_0x44a784(0x2de)](_0x220148),_0x1cad5e();});return;}}_0x54b626[_0x303ac4(0x534)](Ri(_0xd39d62));},'close':()=>{_0x54b626['close'](),_0x1a2a15['dispose']();}},_0x196eed;}async['_submitChangeset'](_0x33a7b4,_0x5dca23){const _0x38e270=_0x248339;var _0x2503c9,_0x2b4fa3;const {unitType:_0x4db972,unitID:_0x38708e,changeset:_0x210c7f}=_0x5dca23[_0x38e270(0x298)],_0x2c9d01={'unitID':_0x38708e,'memberID':_0x33a7b4['memberID'],'type':_0x4db972,'changeset':m[_0x38e270(0x247)](_0x210c7f)},_0x44fea8=this[_0x38e270(0x5cf)][_0x38e270(0x603)](Ii),_0x111bbe=this[_0x38e270(0x5cf)][_0x38e270(0x603)](Z),_0x1a276a=cn((_0x2b4fa3=(_0x2503c9=_0x111bbe==null?void 0x0:_0x111bbe['collabSubmitChangesetUrl'])!=null?_0x2503c9:_0x44fea8)!=null?_0x2b4fa3:tn,_0x4db972,_0x38708e);try{await this[_0x38e270(0x4b6)][_0x38e270(0x28d)](_0x1a276a,{'body':_0x2c9d01});}catch(_0x829ca9){throw this['_logService'][_0x38e270(0x2de)]('[CollaborationSession]',_0x38e270(0x39e)),_0x829ca9;}}async[_0x248339(0x51c)](_0x4bb41b){const _0x28b7da=_0x248339,{unitID:_0x42693d,from:_0x2a5447,to:_0x8317e7,unitType:_0x413434}=_0x4bb41b[_0x28b7da(0x298)];return(await this[_0x28b7da(0x2e0)][_0x28b7da(0x4ec)]({'metadata':void 0x0},{'unitID':_0x42693d,'type':_0x413434,'from':_0x2a5447,'to':_0x8317e7}))['changesets'];}},exports['CollaborationSocketService']=an([Oe(0x0,a[_0x248339(0x40a)](z[_0x248339(0x1f1)])),Oe(0x1,a['Inject'](z[_0x248339(0x259)])),Oe(0x2,a[_0x248339(0x4ac)]),Oe(0x3,a['ILogService']),Oe(0x4,m['ISnapshotServerService'])],exports[_0x248339(0x369)]);const ln=_0x248339(0x2b7);function hn(_0x24c014){const _0xeb1978=_0x248339;return JSON['stringify'](_0x24c014)[_0xeb1978(0x45e)];}class wt{constructor(){const _0xac4f8=_0x248339;I(this,'_commentUpdate$',new N['Subject']()),I(this,_0xac4f8(0x40e),this['_commentUpdate$']['asObservable']());}[_0x248339(0x1cd)](_0xf1127f){const _0xb7595c=_0x248339;this['_commentUpdate$'][_0xb7595c(0x423)](_0xf1127f);}}var _n=Object['defineProperty'],un=Object[_0x248339(0x3a7)],dn=(_0x3320df,_0x2936c4,_0xa966fd,_0x55742a)=>{for(var _0x105c34=_0x55742a>0x1?void 0x0:_0x55742a?un(_0x2936c4,_0xa966fd):_0x2936c4,_0x4ac4ed=_0x3320df['length']-0x1,_0x1fead1;_0x4ac4ed>=0x0;_0x4ac4ed--)(_0x1fead1=_0x3320df[_0x4ac4ed])&&(_0x105c34=(_0x55742a?_0x1fead1(_0x2936c4,_0xa966fd,_0x105c34):_0x1fead1(_0x105c34))||_0x105c34);return _0x55742a&&_0x105c34&&_n(_0x2936c4,_0xa966fd,_0x105c34),_0x105c34;},jt=(_0x33719b,_0x4e3d84)=>(_0x12dab3,_0x49bb27)=>_0x4e3d84(_0x12dab3,_0x49bb27,_0x33719b);exports[_0x248339(0x595)]=class extends a[_0x248339(0x4cc)]{constructor(_0x3a6114,_0x1af57c){const _0x1fe37a=_0x248339;super(),I(this,_0x1fe37a(0x5ad),new Map()),(this[_0x1fe37a(0x4be)]=_0x3a6114,this[_0x1fe37a(0x5e0)]=_0x1af57c,this[_0x1fe37a(0x1d6)](a[_0x1fe37a(0x18a)](N[_0x1fe37a(0x480)](this['_univerInstanceService'][_0x1fe37a(0x1aa)](a[_0x1fe37a(0x3f8)][_0x1fe37a(0x2c8)])[_0x1fe37a(0x41e)](V['map'](_0x206616=>_0x206616['getUnitId']())),this[_0x1fe37a(0x4be)][_0x1fe37a(0x1aa)](a[_0x1fe37a(0x3f8)][_0x1fe37a(0x35a)])[_0x1fe37a(0x41e)](V['map'](_0x5a82b5=>_0x5a82b5['getUnitId']())),this[_0x1fe37a(0x4be)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x1fe37a(0x43d)])[_0x1fe37a(0x41e)](V[_0x1fe37a(0x348)](_0x224d38=>_0x224d38[_0x1fe37a(0x64b)]())))['subscribe'](_0x447141=>this[_0x1fe37a(0x1fe)](_0x447141)))));}['setCurrentUser'](_0x384b2a){const _0x46c4aa=_0x248339;this[_0x46c4aa(0x5e0)][_0x46c4aa(0x3db)](_0x384b2a);}[_0x248339(0x1f0)](){const _0x430fe3=_0x248339;return this[_0x430fe3(0x5e0)]['getCurrentUser']();}[_0x248339(0x5da)](_0x4276ee,_0x2cfc08){const _0xdc4d32=_0x248339;let _0x327254=this[_0xdc4d32(0x5ad)][_0xdc4d32(0x2fd)](_0x4276ee);_0x327254||(_0x327254=new fn(),this[_0xdc4d32(0x5ad)][_0xdc4d32(0x325)](_0x4276ee,_0x327254)),_0x327254[_0xdc4d32(0x5da)](_0x2cfc08);}[_0x248339(0x56b)](_0x317e7a,_0x483217){const _0x4d63a1=_0x248339,_0x33da57=this['_roomMembers'][_0x4d63a1(0x2fd)](_0x317e7a);_0x33da57&&_0x33da57[_0x4d63a1(0x56b)](_0x483217);}[_0x248339(0x5a7)](_0x2c70aa){const _0x26e5b1=_0x248339;return this['_roomMembers'][_0x26e5b1(0x2fd)](_0x2c70aa);}[_0x248339(0x48e)](_0x2f2515,_0x3493c8){const _0x3ea73f=_0x248339,_0x3b8a27=this['_roomMembers']['get'](_0x2f2515);if(_0x3b8a27)return _0x3b8a27[_0x3ea73f(0x48e)](_0x3493c8);}[_0x248339(0x1fe)](_0x3b4651){const _0x3ac806=_0x248339,_0x470984=this[_0x3ac806(0x5ad)]['get'](_0x3b4651);_0x470984&&(_0x470984[_0x3ac806(0x494)](),this[_0x3ac806(0x5ad)][_0x3ac806(0x585)](_0x3b4651));}[_0x248339(0x494)](){const _0x34329c=_0x248339;this['_roomMembers'][_0x34329c(0x343)](_0x47f839=>_0x47f839[_0x34329c(0x494)]()),this[_0x34329c(0x5ad)][_0x34329c(0x317)]();}},exports[_0x248339(0x595)]=dn([jt(0x0,a[_0x248339(0x3bc)]),jt(0x1,a[_0x248339(0x40a)](a[_0x248339(0x1af)]))],exports['MemberService']);class fn extends a[_0x248339(0x4cc)]{constructor(){super(...arguments),I(this,'_members',new Map());}['dispose'](){const _0x1e5e10=_0x248339;this[_0x1e5e10(0x1ed)][_0x1e5e10(0x317)]();}[_0x248339(0x5da)](_0x4d6595){const _0x169054=_0x248339;this[_0x169054(0x1ed)]['set'](_0x4d6595[_0x169054(0x5d6)],_0x4d6595);}[_0x248339(0x56b)](_0xbe6fbc){const _0x349be6=_0x248339;this[_0x349be6(0x1ed)][_0x349be6(0x585)](_0xbe6fbc);}[_0x248339(0x48e)](_0x588026){return this['_members']['get'](_0x588026);}[_0x248339(0x422)](){const _0x11c2e2=_0x248339;return Array[_0x11c2e2(0x2f4)](this[_0x11c2e2(0x1ed)][_0x11c2e2(0x35e)]());}}var vn=Object['defineProperty'],pn=Object[_0x248339(0x3a7)],Sn=(_0x5d2cb9,_0x329e2d,_0x2f87ac,_0x66978)=>{for(var _0xe28a92=_0x66978>0x1?void 0x0:_0x66978?pn(_0x329e2d,_0x2f87ac):_0x329e2d,_0x359a2b=_0x5d2cb9['length']-0x1,_0x3847e7;_0x359a2b>=0x0;_0x359a2b--)(_0x3847e7=_0x5d2cb9[_0x359a2b])&&(_0xe28a92=(_0x66978?_0x3847e7(_0x329e2d,_0x2f87ac,_0xe28a92):_0x3847e7(_0xe28a92))||_0xe28a92);return _0x66978&&_0xe28a92&&vn(_0x329e2d,_0x2f87ac,_0xe28a92),_0xe28a92;},ue=(_0x323698,_0x5af301)=>(_0x585352,_0x15770b)=>_0x5af301(_0x585352,_0x15770b,_0x323698),ne=(_0x6482db=>(_0x6482db[_0x6482db[_0x248339(0x32d)]=0x0]=_0x248339(0x32d),_0x6482db[_0x6482db['JOINING']=0x1]='JOINING',_0x6482db[_0x6482db[_0x248339(0x5fe)]=0x2]=_0x248339(0x5fe),_0x6482db[_0x6482db['ONLINE']=0x3]=_0x248339(0x385),_0x6482db))(ne||{});exports[_0x248339(0x395)]=class extends a[_0x248339(0x412)]{constructor(_0x2f7d62,_0x410115,_0x253450,_0xa7c3d3,_0x490357,_0x161475,_0x499680,_0x57bcca,_0x51490a,_0x1c905b){const _0xeb1c52=_0x248339;super(),I(this,_0xeb1c52(0x5f4),new N['BehaviorSubject'](0x0)),I(this,_0xeb1c52(0x46a),this['_sessionStatus$'][_0xeb1c52(0x366)]()),I(this,_0xeb1c52(0x5e8),new N[(_0xeb1c52(0x588))]()),I(this,_0xeb1c52(0x2ea),this['_event$'][_0xeb1c52(0x366)]()),I(this,'_socket'),I(this,_0xeb1c52(0x2f6)),I(this,_0xeb1c52(0x1e5)),I(this,_0xeb1c52(0x1d5),!0x1),I(this,'_telemetryInfo',null),(this['_unitID']=_0x2f7d62,this[_0xeb1c52(0x237)]=_0x253450,this[_0xeb1c52(0x4bb)]=_0xa7c3d3,this[_0xeb1c52(0x2ab)]=_0x490357,this[_0xeb1c52(0x5cf)]=_0x161475,this[_0xeb1c52(0x5cd)]=_0x499680,this[_0xeb1c52(0x571)]=_0x57bcca,this['_commentService']=_0x51490a,this['_telemetryService']=_0x1c905b,this[_0xeb1c52(0x1d5)]=!!this[_0xeb1c52(0x374)],_0x410115[_0xeb1c52(0x41e)](N['takeUntil'](this['dispose$']))['subscribe'](_0x6278d7=>{const _0x242236=_0xeb1c52;var _0x20d03b;typeof _0x6278d7>'u'||(this[_0x242236(0x562)]=_0x6278d7,_0x6278d7?(this[_0x242236(0x632)](_0x6278d7),this['_socketMessageSubscription']=_0x6278d7['message$'][_0x242236(0x3da)](_0x54bd93=>{const _0x10936e=_0x242236;_0x54bd93[_0x10936e(0x55b)]===this[_0x10936e(0x47b)]&&this[_0x10936e(0x22e)](_0x54bd93);})):(this[_0x242236(0x1b7)](),this[_0x242236(0x5f4)][_0x242236(0x423)](0x2),(_0x20d03b=this[_0x242236(0x2f6)])==null||_0x20d03b[_0x242236(0x1de)](),this['_socketMessageSubscription']=null));}),this[_0xeb1c52(0x1d6)](this[_0xeb1c52(0x4bb)][_0xeb1c52(0x1c8)](()=>{const _0x4fab5b=_0xeb1c52;var _0x554ddb;(_0x554ddb=this[_0x4fab5b(0x562)])==null||_0x554ddb[_0x4fab5b(0x534)]({'cmd':G[_0x4fab5b(0x3a2)],'data':{'roomID':this[_0x4fab5b(0x47b)]}});})));}get['sessionStatus'](){const _0x2a046e=_0x248339;return this[_0x2a046e(0x5f4)][_0x2a046e(0x49a)]();}[_0x248339(0x30b)](){const _0x5a13d7=_0x248339;var _0x5bde54,_0x189716;return(_0x189716=(_0x5bde54=this[_0x5a13d7(0x562)])==null?void 0x0:_0x5bde54[_0x5a13d7(0x5d6)])!=null?_0x189716:null;}[_0x248339(0x494)](){const _0x3b49d1=_0x248339;super[_0x3b49d1(0x494)](),this[_0x3b49d1(0x40b)]['next'](),this[_0x3b49d1(0x40b)][_0x3b49d1(0x609)]();}['close'](){const _0x243408=_0x248339;var _0x23350a,_0x5523ce;this[_0x243408(0x1b7)](),(_0x23350a=this[_0x243408(0x562)])==null||_0x23350a[_0x243408(0x534)]({'cmd':G[_0x243408(0x3a2)],'data':{'roomID':this[_0x243408(0x47b)]}}),(_0x5523ce=this[_0x243408(0x562)])==null||_0x5523ce[_0x243408(0x42a)](),this['_event$']['complete'](),this['_sessionStatus$']['complete'](),this['dispose']();}[_0x248339(0x22e)](_0x240d38){const _0x1f9dff=_0x248339;_0x240d38[_0x1f9dff(0x591)]===G[_0x1f9dff(0x625)]?this[_0x1f9dff(0x28e)](_0x240d38):_0x240d38['cmd']===G['RECV']&&this['_onRecvEvent'](_0x240d38);}['_joinRoom'](_0x241407){const _0x2999d0=_0x248339;this[_0x2999d0(0x5f4)][_0x2999d0(0x423)](0x1),_0x241407[_0x2999d0(0x534)]({'cmd':G[_0x2999d0(0x625)],'routeKey':this[_0x2999d0(0x47b)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2999d0(0x47b)]}]}});}['_onJoinRoomEvent'](_0x5af357){const _0x4dd601=_0x248339;var _0x150826;if(_0x5af357[_0x4dd601(0x2a5)]===Dt[_0x4dd601(0x5ed)]){this[_0x4dd601(0x2ab)][_0x4dd601(0x4fa)]({'type':Ie['MessageType'][_0x4dd601(0x43b)],'content':this[_0x4dd601(0x5cd)]['t'](_0x4dd601(0x1be))}),this['_sessionStatus$'][_0x4dd601(0x423)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x1e589e=(_0x150826=_0x5af357[_0x4dd601(0x298)][_0x4dd601(0x40c)][this['_unitID']])==null?void 0x0:_0x150826[_0x4dd601(0x648)];_0x1e589e&&_0x1e589e['forEach'](_0x3c3888=>this['_memberService'][_0x4dd601(0x5da)](this[_0x4dd601(0x47b)],_0x3c3888));}[_0x248339(0x270)](_0x53a487){const _0x1e153f=_0x248339;try{const _0x541b65=_0x53a487[_0x1e153f(0x298)];switch(_0x541b65[_0x1e153f(0x213)]){case m[_0x1e153f(0x1e6)][_0x1e153f(0x62c)]:this[_0x1e153f(0x3d1)](_0x541b65),this[_0x1e153f(0x5e8)][_0x1e153f(0x423)](_0x541b65);break;case m[_0x1e153f(0x1e6)][_0x1e153f(0x1ab)]:this[_0x1e153f(0x20d)](_0x541b65),this[_0x1e153f(0x5e8)][_0x1e153f(0x423)](_0x541b65);break;case m['CollaborationEvent'][_0x1e153f(0x21d)]:case m[_0x1e153f(0x1e6)]['CHANGESET_SHOULD_RETRY']:this[_0x1e153f(0x2f0)](),this[_0x1e153f(0x1f5)](),this[_0x1e153f(0x5e8)][_0x1e153f(0x423)](_0x541b65);break;case m[_0x1e153f(0x1e6)][_0x1e153f(0x63d)]:this['_logService']['error'](_0x1e153f(0x18d)+JSON['stringify'](_0x541b65)),this['_event$'][_0x1e153f(0x423)](_0x541b65);break;case m[_0x1e153f(0x1e6)]['COMMENT_UPDATE']:this[_0x1e153f(0x501)]['onCommentUpdate'](_0x541b65['data']),this[_0x1e153f(0x5e8)]['next'](_0x541b65);break;default:this[_0x1e153f(0x5e8)]['next'](_0x541b65);}}catch(_0x4271ca){this[_0x1e153f(0x237)][_0x1e153f(0x2de)](_0x4271ca,_0x53a487);}}[_0x248339(0x3d1)](_0x4cdc5c){const _0x3d14a9=_0x248339;this[_0x3d14a9(0x571)][_0x3d14a9(0x5da)](this[_0x3d14a9(0x47b)],_0x4cdc5c[_0x3d14a9(0x298)]);}[_0x248339(0x20d)](_0x2dce61){const _0x4c7c27=_0x248339;this[_0x4c7c27(0x571)][_0x4c7c27(0x56b)](this[_0x4c7c27(0x47b)],_0x2dce61[_0x4c7c27(0x298)][_0x4c7c27(0x5d6)]);}async['send'](_0x21a373,_0x5467e7){const _0x5217e4=_0x248339;if(this[_0x5217e4(0x1ba)]!==0x3||!this['_socket'])throw new Error(_0x5217e4(0x62d));try{_0x21a373[_0x5217e4(0x213)]===m[_0x5217e4(0x1e6)][_0x5217e4(0x3b8)]&&(this[_0x5217e4(0x203)](),this['_startTelemetryCollaborationNewChangeset'](_0x21a373)),this[_0x5217e4(0x562)]['send']({'cmd':G[_0x5217e4(0x32c)],'routeKey':_0x5467e7,'routeType':'','data':_0x21a373});}catch(_0x43f511){this[_0x5217e4(0x237)][_0x5217e4(0x2de)](_0x43f511);}}['_scheduleCollaborationTimeoutTimer'](){const _0x39d7c5=_0x248339;var _0x519a59;this[_0x39d7c5(0x1e5)]=window[_0x39d7c5(0x4aa)](()=>{const _0x3ebf53=_0x39d7c5;this[_0x3ebf53(0x1e5)]=null,this[_0x3ebf53(0x2ab)][_0x3ebf53(0x4fa)]({'type':Ie[_0x3ebf53(0x550)][_0x3ebf53(0x4bc)],'content':this[_0x3ebf53(0x5cd)]['t']('session.collaboration-timeout')});},(_0x519a59=this['_configService'][_0x39d7c5(0x603)](Ot))!=null?_0x519a59:Si);}[_0x248339(0x1f5)](){const _0x516343=_0x248339;this[_0x516343(0x1e5)]&&(clearTimeout(this[_0x516343(0x1e5)]),this[_0x516343(0x1e5)]=null);}[_0x248339(0x2bc)](_0x525468){const _0x5b6cdc=_0x248339;if(!this[_0x5b6cdc(0x1d5)])return;const {data:_0x215351}=_0x525468,{unitID:_0x902a55,changeset:_0x27b444}=_0x215351,{mutations:_0x26c7f7,type:_0x53ff68}=_0x27b444;this[_0x5b6cdc(0x622)]={'unitId':_0x902a55,'type':_0x53ff68,'startTime':performance[_0x5b6cdc(0x39a)](),'stopTime':0x0,'duration':0x0,'size':hn(_0x26c7f7)};}[_0x248339(0x2f0)](){const _0x7807a7=_0x248339;if(this[_0x7807a7(0x1d5)]){if(!this[_0x7807a7(0x622)]){this[_0x7807a7(0x237)][_0x7807a7(0x2de)](_0x7807a7(0x516),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x7807a7(0x291)]=performance[_0x7807a7(0x39a)](),this['_telemetryInfo'][_0x7807a7(0x537)]=this[_0x7807a7(0x622)]['stopTime']-this[_0x7807a7(0x622)]['startTime'],this[_0x7807a7(0x374)][_0x7807a7(0x43c)](ln,this[_0x7807a7(0x622)]),this['_telemetryInfo']=null;}}[_0x248339(0x1b7)](){const _0x4b8ad1=_0x248339;this[_0x4b8ad1(0x622)]=null;}},exports[_0x248339(0x395)]=Sn([ue(0x2,a[_0x248339(0x4b4)]),ue(0x3,ee[_0x248339(0x29c)]),ue(0x4,ee['IMessageService']),ue(0x5,a['IConfigService']),ue(0x6,a[_0x248339(0x40a)](a[_0x248339(0x3c9)])),ue(0x7,a['Inject'](exports[_0x248339(0x595)])),ue(0x8,a['Inject'](wt)),ue(0x9,a[_0x248339(0x276)](Vi[_0x248339(0x2ff)]))],exports[_0x248339(0x395)]);var mn=Object[_0x248339(0x56f)],gn=Object['getOwnPropertyDescriptor'],In=(_0x314812,_0x11666d,_0x1339f9,_0x2b609c)=>{const _0x5a1d62=_0x248339;for(var _0x5efbde=_0x2b609c>0x1?void 0x0:_0x2b609c?gn(_0x11666d,_0x1339f9):_0x11666d,_0x4808f6=_0x314812[_0x5a1d62(0x45e)]-0x1,_0x4fdb8f;_0x4808f6>=0x0;_0x4808f6--)(_0x4fdb8f=_0x314812[_0x4808f6])&&(_0x5efbde=(_0x2b609c?_0x4fdb8f(_0x11666d,_0x1339f9,_0x5efbde):_0x4fdb8f(_0x5efbde))||_0x5efbde);return _0x2b609c&&_0x5efbde&&mn(_0x11666d,_0x1339f9,_0x5efbde),_0x5efbde;},pe=(_0xee139f,_0x225776)=>(_0x58c42d,_0x12888e)=>_0x225776(_0x58c42d,_0x12888e,_0xee139f);exports[_0x248339(0x57e)]=class extends a[_0x248339(0x4cc)]{constructor(_0x312e92,_0x2ddb40,_0x158d73,_0x5aba24,_0x535866,_0x582fb1,_0x403a98){const _0x106ae7=_0x248339;super(),I(this,_0x106ae7(0x39f),new N[(_0x106ae7(0x4dd))](void 0x0)),I(this,_0x106ae7(0x647),this[_0x106ae7(0x39f)][_0x106ae7(0x366)]()),I(this,_0x106ae7(0x1b6),null),I(this,_0x106ae7(0x4fd),new Map()),I(this,_0x106ae7(0x5a1),new N['BehaviorSubject'](ne[_0x106ae7(0x32d)])),I(this,_0x106ae7(0x64c),this['_status$'][_0x106ae7(0x366)]()),I(this,_0x106ae7(0x570),!0x1),I(this,_0x106ae7(0x2c9)),I(this,'_retryCount',0x0),I(this,_0x106ae7(0x23a)),I(this,_0x106ae7(0x4b3)),(this[_0x106ae7(0x373)]=_0x312e92,this[_0x106ae7(0x5cd)]=_0x2ddb40,this['_messageService']=_0x158d73,this['_logService']=_0x5aba24,this[_0x106ae7(0x5cf)]=_0x535866,this[_0x106ae7(0x5d5)]=_0x582fb1,this['_httpService']=_0x403a98,this[_0x106ae7(0x1e8)]());}get['_socket'](){const _0x32f120=_0x248339;return this[_0x32f120(0x39f)][_0x32f120(0x49a)]();}['_initEventListeners'](){const _0x50cb1c=_0x248339;this[_0x50cb1c(0x50f)](),this['_listenToOnlineEvent']();}[_0x248339(0x494)](){const _0x24187d=_0x248339;super[_0x24187d(0x494)](),this[_0x24187d(0x4fd)][_0x24187d(0x343)](_0x441eb6=>_0x441eb6[_0x24187d(0x494)]()),this[_0x24187d(0x4fd)][_0x24187d(0x317)](),this[_0x24187d(0x5a1)][_0x24187d(0x609)]();}async[_0x248339(0x39d)](_0x1871d0){const _0x3d6a97=_0x248339;if(this['_sessions'][_0x3d6a97(0x5dc)](_0x1871d0))return this[_0x3d6a97(0x4fd)][_0x3d6a97(0x2fd)](_0x1871d0);this[_0x3d6a97(0x293)]();const _0x128c7a=this['_injector']['createInstance'](exports[_0x3d6a97(0x395)],_0x1871d0,this[_0x3d6a97(0x39f)][_0x3d6a97(0x366)]());return this[_0x3d6a97(0x4fd)][_0x3d6a97(0x325)](_0x1871d0,_0x128c7a),_0x128c7a;}[_0x248339(0x482)](_0x121b43){const _0x470cfe=_0x248339;var _0x13da15;const _0x337974=this['_sessions'][_0x470cfe(0x2fd)](_0x121b43);_0x337974&&(this[_0x470cfe(0x4fd)][_0x470cfe(0x585)](_0x121b43),_0x337974[_0x470cfe(0x42a)]()),this[_0x470cfe(0x4fd)][_0x470cfe(0x4c0)]||(_0x13da15=this[_0x470cfe(0x562)])==null||_0x13da15[_0x470cfe(0x42a)]();}['reconnect'](){const _0x25cdcc=_0x248339;this[_0x25cdcc(0x295)]=0x0,this[_0x25cdcc(0x2c9)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this[_0x25cdcc(0x253)]();}async[_0x248339(0x540)](){const _0x2aa0ae=_0x248339;var _0x5a38c2,_0x289a2b,_0x169b8c;const _0x31fcf9=this[_0x2aa0ae(0x5cf)][_0x2aa0ae(0x603)](Z),_0x2abeac=(_0x5a38c2=_0x31fcf9==null?void 0x0:_0x31fcf9['wsSessionTicketUrl'])!=null?_0x5a38c2:Xi;return(_0x169b8c=(_0x289a2b=(await this['_httpService'][_0x2aa0ae(0x2fd)](_0x2abeac,{'headers':{'Content-Type':_0x2aa0ae(0x34b)}}))[_0x2aa0ae(0x3e4)])==null?void 0x0:_0x289a2b[_0x2aa0ae(0x23f)])!=null?_0x169b8c:'';}['_createSocketURL'](_0x25dbbc){const _0x106a84=_0x248339;var _0x35e06e,_0x3e55e7;const _0x5d24f7=this[_0x106a84(0x5cf)][_0x106a84(0x603)](vi),_0x3753bb=this[_0x106a84(0x5cf)][_0x106a84(0x603)](Z),_0x49d058=(_0x3e55e7=(_0x35e06e=_0x3753bb==null?void 0x0:_0x3753bb[_0x106a84(0x4d8)])!=null?_0x35e06e:_0x5d24f7)!=null?_0x3e55e7:zi,_0x34a5dd=new URL(_0x49d058,window[_0x106a84(0x26a)]['origin']);return _0x34a5dd[_0x106a84(0x5d4)][_0x106a84(0x325)](_0x106a84(0x28c),_0x25dbbc),_0x34a5dd['toString']();}async[_0x248339(0x3af)](){const _0x3a5f43=_0x248339,_0x30a0f9=await this[_0x3a5f43(0x540)](),_0x287abf=this['_createSocketURL'](_0x30a0f9),_0x55e300=this[_0x3a5f43(0x5d5)][_0x3a5f43(0x50c)](_0x287abf);return this[_0x3a5f43(0x1b6)]=_0x55e300,_0x55e300;}async[_0x248339(0x293)](){const _0x2fb767=_0x248339;var _0x1c6fae,_0x2932be;try{const _0x564f91=(_0x2932be=(_0x1c6fae=this[_0x2fb767(0x562)])!=null?_0x1c6fae:this[_0x2fb767(0x1b6)])!=null?_0x2932be:await this['_createSocket']();if(_0x564f91){const _0xb5e198=_0x564f91[_0x2fb767(0x534)];_0x564f91['send']=_0x7d8d8d=>(this[_0x2fb767(0x410)](),_0xb5e198[_0x2fb767(0x3d2)](_0x564f91,[_0x7d8d8d])),_0x564f91[_0x2fb767(0x520)][_0x2fb767(0x3da)](_0x5485f6=>this['_onMessage'](_0x564f91,_0x5485f6)),_0x564f91[_0x2fb767(0x4c1)][_0x2fb767(0x41e)](V['take'](0x1))[_0x2fb767(0x3da)](_0x1e2e01=>this['_logService'][_0x2fb767(0x2de)](_0x2fb767(0x5a4),_0x1e2e01)),_0x564f91[_0x2fb767(0x403)][_0x2fb767(0x41e)](V[_0x2fb767(0x206)](0x1))[_0x2fb767(0x3da)](()=>{const _0x4645d=_0x2fb767;this[_0x4645d(0x2b9)](_0x564f91);}),_0x564f91[_0x2fb767(0x312)][_0x2fb767(0x41e)](V['take'](0x1))[_0x2fb767(0x3da)](_0x23958f=>{const _0x57e2e9=_0x2fb767;this[_0x57e2e9(0x237)]['debug'](_0x57e2e9(0x419),'socket\x20close',_0x23958f),this['_onConnectionFailed']();});}}catch(_0x50fb31){this[_0x2fb767(0x237)][_0x2fb767(0x2de)](_0x50fb31),this[_0x2fb767(0x505)]();}}['_onConnectionOpen'](_0x93b965){const _0x1a45c2=_0x248339;this[_0x1a45c2(0x237)][_0x1a45c2(0x594)](_0x1a45c2(0x419),_0x1a45c2(0x60b)),_0x93b965[_0x1a45c2(0x534)]({'cmd':G['HELLO']}),this[_0x1a45c2(0x410)]();}[_0x248339(0x50f)](){const _0x1bbbfc=_0x248339;window[_0x1bbbfc(0x2a7)]('offline',()=>this[_0x1bbbfc(0x650)]());}[_0x248339(0x650)](){const _0x4a0db2=_0x248339;this[_0x4a0db2(0x570)]=!0x1,this[_0x4a0db2(0x1b6)]=null,this[_0x4a0db2(0x5a1)][_0x4a0db2(0x423)](ne[_0x4a0db2(0x5fe)]),this[_0x4a0db2(0x39f)][_0x4a0db2(0x423)](null),this[_0x4a0db2(0x51a)](),this[_0x4a0db2(0x344)]();}['_onConnectionFailed'](){const _0x54cd59=_0x248339;var _0x43019a;this['_onOffline'](),this[_0x54cd59(0x295)]<((_0x43019a=this[_0x54cd59(0x5cf)][_0x54cd59(0x603)](mi))!=null?_0x43019a:Qi)?(this[_0x54cd59(0x2ab)]['show']({'key':'collaboration-session-retry','type':Ie[_0x54cd59(0x550)][_0x54cd59(0x43b)],'content':this['_localeService']['t'](_0x54cd59(0x25c))}),this[_0x54cd59(0x253)]()):this[_0x54cd59(0x2ab)]['show']({'key':'collaboration-session-retry','type':Ie[_0x54cd59(0x550)][_0x54cd59(0x4bc)],'content':this[_0x54cd59(0x5cd)]['t'](_0x54cd59(0x577))});}['_listenToOnlineEvent'](){const _0x3ae2dd=_0x248339,_0x3c10fa=()=>{const _0x162975=_0x2ee7;this[_0x162975(0x562)]||this[_0x162975(0x1f7)]();},_0x4303c6=()=>{const _0xc419c3=_0x2ee7;this[_0xc419c3(0x562)]||document[_0xc419c3(0x5cb)]===_0xc419c3(0x2bd)||this[_0xc419c3(0x1f7)]();};window[_0x3ae2dd(0x2a7)]('online',_0x3c10fa),document[_0x3ae2dd(0x2a7)](_0x3ae2dd(0x49c),_0x4303c6);}[_0x248339(0x253)](){const _0x23879f=_0x248339;var _0x574e55;const _0x432489=this['_retryCount'],_0x1b792d=this[_0x23879f(0x5cf)][_0x23879f(0x603)](Z),_0x182b01=_0x432489===0x0?0x0:((_0x574e55=_0x1b792d==null?void 0x0:_0x1b792d[_0x23879f(0x652)])!=null?_0x574e55:Zi)*0x2**_0x432489;this[_0x23879f(0x2c9)]=window[_0x23879f(0x4aa)](()=>{const _0x5b6192=_0x23879f;clearTimeout(this['_retryConnectingTimer']),this[_0x5b6192(0x2c9)]=null,this[_0x5b6192(0x293)]();},_0x182b01),this[_0x23879f(0x295)]+=0x1;}[_0x248339(0x217)](_0x39e49b,_0x397e15){const _0x13b156=_0x248339,{cmd:_0x35b9e4}=_0x397e15;_0x35b9e4===G[_0x13b156(0x37f)]&&!this[_0x13b156(0x570)]&&(_0x39e49b['memberID']=_0x397e15[_0x13b156(0x298)][_0x13b156(0x5d6)],this['_socket$']['next'](_0x39e49b),this[_0x13b156(0x5a1)][_0x13b156(0x423)](ne[_0x13b156(0x385)]),this['_socketReady']=!0x0,this[_0x13b156(0x1b6)]=null),_0x35b9e4===G['HEARTBEAT']&&this[_0x13b156(0x51a)](),this[_0x13b156(0x410)]();}[_0x248339(0x410)](){const _0x2de155=_0x248339;var _0x34ebd1;this[_0x2de155(0x344)](),this[_0x2de155(0x23a)]=window['setTimeout'](()=>this[_0x2de155(0x2b5)](),(_0x34ebd1=this[_0x2de155(0x5cf)][_0x2de155(0x603)](pi))!=null?_0x34ebd1:Ji);}['_sendHeartbeat'](){const _0x142664=_0x248339;this[_0x142664(0x562)][_0x142664(0x534)]({'cmd':G[_0x142664(0x3cb)]}),this['_waitForHeartbeatResponse']();}[_0x248339(0x441)](){const _0x1b9a32=_0x248339;var _0x15f53d;this['_timeoutTimer']=window[_0x1b9a32(0x4aa)](()=>this[_0x1b9a32(0x505)](),(_0x15f53d=this['_configService'][_0x1b9a32(0x603)](Ot))!=null?_0x15f53d:Si);}[_0x248339(0x344)](){const _0xbf1664=_0x248339;this[_0xbf1664(0x23a)]!=null&&(clearTimeout(this[_0xbf1664(0x23a)]),this[_0xbf1664(0x23a)]=null);}[_0x248339(0x51a)](){const _0x40fe84=_0x248339;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x40fe84(0x4b3)]),this[_0x40fe84(0x4b3)]=null);}},exports[_0x248339(0x57e)]=In([pe(0x0,a[_0x248339(0x40a)](a[_0x248339(0x1bc)])),pe(0x1,a[_0x248339(0x40a)](a[_0x248339(0x3c9)])),pe(0x2,ee[_0x248339(0x4b2)]),pe(0x3,a['ILogService']),pe(0x4,a['IConfigService']),pe(0x5,Pt),pe(0x6,a['Inject'](z[_0x248339(0x1f1)]))],exports[_0x248339(0x57e)]);const q=[];for(let r=0x0;r<0x100;++r)q[_0x248339(0x3d7)]((r+0x100)[_0x248339(0x42e)](0x10)[_0x248339(0x3e9)](0x1));function Cn(_0x491613,_0x1e9829=0x0){return(q[_0x491613[_0x1e9829+0x0]]+q[_0x491613[_0x1e9829+0x1]]+q[_0x491613[_0x1e9829+0x2]]+q[_0x491613[_0x1e9829+0x3]]+'-'+q[_0x491613[_0x1e9829+0x4]]+q[_0x491613[_0x1e9829+0x5]]+'-'+q[_0x491613[_0x1e9829+0x6]]+q[_0x491613[_0x1e9829+0x7]]+'-'+q[_0x491613[_0x1e9829+0x8]]+q[_0x491613[_0x1e9829+0x9]]+'-'+q[_0x491613[_0x1e9829+0xa]]+q[_0x491613[_0x1e9829+0xb]]+q[_0x491613[_0x1e9829+0xc]]+q[_0x491613[_0x1e9829+0xd]]+q[_0x491613[_0x1e9829+0xe]]+q[_0x491613[_0x1e9829+0xf]])['toLowerCase']();}let ct;const En=new Uint8Array(0x10);function bn(){const _0x4c0285=_0x248339;if(!ct){if(typeof crypto>'u'||!crypto[_0x4c0285(0x23c)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ct=crypto[_0x4c0285(0x23c)][_0x4c0285(0x5c7)](crypto);}return ct(En);}const Tn=typeof crypto<'u'&&crypto[_0x248339(0x1e1)]&&crypto[_0x248339(0x1e1)]['bind'](crypto),Ht={'randomUUID':Tn};function Rn(_0x2f322d,_0x2b30d4,_0x34c81a){const _0x3e07c2=_0x248339;if(Ht[_0x3e07c2(0x1e1)]&&!_0x2b30d4&&!_0x2f322d)return Ht[_0x3e07c2(0x1e1)]();_0x2f322d=_0x2f322d||{};const _0x3bc89b=_0x2f322d[_0x3e07c2(0x4d7)]||(_0x2f322d[_0x3e07c2(0x3c4)]||bn)();return _0x3bc89b[0x6]=_0x3bc89b[0x6]&0xf|0x40,_0x3bc89b[0x8]=_0x3bc89b[0x8]&0x3f|0x80,Cn(_0x3bc89b);}var yn=Object[_0x248339(0x56f)],On=Object[_0x248339(0x3a7)],Dn=(_0x7a08a0,_0x1ccd2f,_0x44323b,_0x269669)=>{for(var _0x3c9479=_0x269669>0x1?void 0x0:_0x269669?On(_0x1ccd2f,_0x44323b):_0x1ccd2f,_0x3dc9c9=_0x7a08a0['length']-0x1,_0x38cf4c;_0x3dc9c9>=0x0;_0x3dc9c9--)(_0x38cf4c=_0x7a08a0[_0x3dc9c9])&&(_0x3c9479=(_0x269669?_0x38cf4c(_0x1ccd2f,_0x44323b,_0x3c9479):_0x38cf4c(_0x3c9479))||_0x3c9479);return _0x269669&&_0x3c9479&&yn(_0x1ccd2f,_0x44323b,_0x3c9479),_0x3c9479;},lt=(_0x3e198d,_0x447ef7)=>(_0xef6cba,_0x3c2c22)=>_0x447ef7(_0xef6cba,_0x3c2c22,_0x3e198d);let Je=class{constructor(_0x451f4a,_0x1bd915,_0xba3de5){const _0x3ab438=_0x248339;this[_0x3ab438(0x373)]=_0x451f4a,this['_transformService']=_0x1bd915,this[_0x3ab438(0x1ae)]=_0xba3de5;}[_0x248339(0x2ca)](_0x26de1b){const _0x1f450c=_0x248339;this[_0x1f450c(0x304)](_0x26de1b),this[_0x1f450c(0x602)](_0x26de1b);}[_0x248339(0x210)](_0x2868ab){const _0x37ea76=_0x248339,{unitID:_0x22dc36}=_0x2868ab,_0x19cf23=this[_0x37ea76(0x1ae)][_0x37ea76(0x545)](_0x22dc36)['with'](J[_0x37ea76(0x1b3)]),{redoCache:_0x56a1af}=_0x19cf23[_0x37ea76(0x3c1)]();if(_0x56a1af[_0x37ea76(0x45e)]===0x0)return _0x2868ab;let _0x3d35b3=a[_0x37ea76(0x27d)][_0x37ea76(0x3fa)](_0x2868ab['mutations'][0x0]);for(let _0x5266de=0x0;_0x5266de<_0x56a1af[_0x37ea76(0x45e)];_0x5266de++){const _0x136f6f={'id':_0x37ea76(0x321),'params':{..._0x56a1af[_0x5266de]}},_0x284341=this[_0x37ea76(0x58a)]['transformMutation'](_0x3d35b3,_0x136f6f,!0x1);if(m['isTransformMutationFailure'](_0x284341))throw _0x284341[_0x37ea76(0x2de)];_0x3d35b3=_0x284341[_0x37ea76(0x37e)];}return{...a[_0x37ea76(0x27d)][_0x37ea76(0x3fa)](_0x2868ab),'mutations':[_0x3d35b3]};}[_0x248339(0x304)](_0x1e4ded){const _0x282072=_0x248339,{unitID:_0x4ab48a}=_0x1e4ded,_0x30b2b4=this[_0x282072(0x1ae)][_0x282072(0x545)](_0x4ab48a)[_0x282072(0x41f)](J[_0x282072(0x1b3)]),{undoCache:_0x488915,redoCache:_0x34481f}=_0x30b2b4[_0x282072(0x3c1)]();if(_0x488915[_0x282072(0x45e)]===0x0||_0x34481f[_0x282072(0x45e)]===0x0)return;const _0x1ba0d0=[],_0x54efa8=[];let _0x5b2b7d=a['Tools'][_0x282072(0x3fa)](_0x1e4ded['mutations'][0x0]),_0x523e55=a[_0x282072(0x27d)][_0x282072(0x3fa)](_0x1e4ded['mutations'][0x0]);for(let _0x4d2aa7=_0x488915[_0x282072(0x45e)]-0x1;_0x4d2aa7>=0x0;_0x4d2aa7--){const _0x16e60e={'id':_0x282072(0x321),'params':{..._0x488915[_0x4d2aa7]}},_0x1c7286={'id':_0x282072(0x321),'params':{..._0x34481f[_0x4d2aa7]}},_0x4aec7d=this[_0x282072(0x58a)][_0x282072(0x2a4)](_0x5b2b7d,_0x16e60e,!0x1),_0x4a5a21=this['_transformService']['transformMutation'](_0x523e55,_0x1c7286,!0x1);if(m[_0x282072(0x18e)](_0x4aec7d))throw _0x4aec7d[_0x282072(0x2de)];if(m['isTransformMutationFailure'](_0x4a5a21))throw _0x4a5a21[_0x282072(0x2de)];_0x1ba0d0[_0x282072(0x346)](_0x4aec7d[_0x282072(0x211)][_0x282072(0x601)]),_0x54efa8[_0x282072(0x346)](_0x4a5a21[_0x282072(0x211)][_0x282072(0x601)]),_0x5b2b7d=_0x4aec7d[_0x282072(0x37e)],_0x523e55=_0x4a5a21[_0x282072(0x37e)];}_0x30b2b4['setUndoRedoMutationParamsCache']({'undoCache':_0x1ba0d0,'redoCache':_0x54efa8});}[_0x248339(0x602)](_0x255d47){const _0x1c6a98=_0x248339,{unitID:_0x4d2583}=_0x255d47,_0x3fa1b8=this[_0x1c6a98(0x1ae)][_0x1c6a98(0x545)](_0x4d2583)[_0x1c6a98(0x41f)](J[_0x1c6a98(0x1b3)]),_0x3a275a=_0x3fa1b8['getActiveRange']();if(_0x3a275a==null)return;const _0x50e622=[{'id':_0x1c6a98(0x321),'params':{'unitId':_0x255d47['unitID'],'actions':null,'textRanges':[_0x3a275a]}}],_0x576f59=this[_0x1c6a98(0x58a)][_0x1c6a98(0x27e)](_0x255d47,_0x50e622);if(!m[_0x1c6a98(0x4d3)](_0x576f59))throw _0x576f59['error'];const _0x9fb6da=_0x576f59['m2Prime'][0x0][_0x1c6a98(0x601)][_0x1c6a98(0x4a3)];Array[_0x1c6a98(0x49f)](_0x9fb6da)&&_0x9fb6da[_0x1c6a98(0x45e)]&&_0x3fa1b8[_0x1c6a98(0x614)](_0x9fb6da[0x0]);}};Je=Dn([lt(0x0,a[_0x248339(0x40a)](a['Injector'])),lt(0x1,m['ITransformService']),lt(0x2,Y[_0x248339(0x288)])],Je);var Pn=Object[_0x248339(0x56f)],wn=Object['getOwnPropertyDescriptor'],Un=(_0x397e44,_0xedb383,_0x511c23,_0x18a127)=>{const _0x3d4333=_0x248339;for(var _0x594335=_0x18a127>0x1?void 0x0:_0x18a127?wn(_0xedb383,_0x511c23):_0xedb383,_0x54baa2=_0x397e44[_0x3d4333(0x45e)]-0x1,_0x16dbfc;_0x54baa2>=0x0;_0x54baa2--)(_0x16dbfc=_0x397e44[_0x54baa2])&&(_0x594335=(_0x18a127?_0x16dbfc(_0xedb383,_0x511c23,_0x594335):_0x16dbfc(_0x594335))||_0x594335);return _0x18a127&&_0x594335&&Pn(_0xedb383,_0x511c23,_0x594335),_0x594335;},De=(_0xa5fefb,_0x58f019)=>(_0x4808aa,_0x28ecbb)=>_0x58f019(_0x4808aa,_0x28ecbb,_0xa5fefb);exports[_0x248339(0x561)]=class extends a[_0x248339(0x4cc)]{constructor(_0x1825a1,_0x152c43,_0x1c6690,_0x43eae0,_0xed1383){const _0x53610b=_0x248339;super(),I(this,'_cachedData',new Map()),I(this,'_saveTaskMap',new Map()),I(this,_0x53610b(0x5dd),!0x1),(this[_0x53610b(0x5cf)]=_0x1825a1,this[_0x53610b(0x202)]=_0x152c43,this['_beforeCloseService']=_0x1c6690,this['_localeService']=_0x43eae0,this['_revisionService']=_0xed1383,this['_setupBeforeClosingHandler']());}[_0x248339(0x4da)](){this['_disabled']=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}['dispose'](){const _0x42eeff=_0x248339;this[_0x42eeff(0x607)]()[_0x42eeff(0x525)](()=>super[_0x42eeff(0x494)]());}async[_0x248339(0x1cb)](_0x2be1af){const _0x211a07=_0x248339;return this[_0x211a07(0x5dd)]?null:this['_localStorageService'][_0x211a07(0x2c2)](Bt(_0x2be1af));}async[_0x248339(0x440)](_0x1d675c,_0x25e407){const _0x20ba1c=_0x248339;return!!this[_0x20ba1c(0x202)][_0x20ba1c(0x59a)](_0x1d675c,_0x25e407);}[_0x248339(0x2c3)](_0x59fcea,_0x42e450,_0x4acace,_0x2c37a2){const _0x2aebbe=_0x248339,_0x385839=this[_0x2aebbe(0x606)][_0x2aebbe(0x628)](_0x59fcea);this[_0x2aebbe(0x264)][_0x2aebbe(0x325)](_0x59fcea,{'unitID':_0x59fcea,'type':_0x42e450,'awaitingChangeset':_0x4acace,'mutations':_0x2c37a2,'rev':_0x385839}),this['_saveTaskMap'][_0x2aebbe(0x5dc)](_0x59fcea)||this['_scheduleSaving'](_0x59fcea);}[_0x248339(0x3dc)](_0x401a62){const _0xc76e28=_0x248339,_0x5d4dfb=this[_0xc76e28(0x3cc)]();_0x5d4dfb===0x0?this[_0xc76e28(0x196)](_0x401a62):this['_saveTaskMap'][_0xc76e28(0x325)](_0x401a62,setTimeout(()=>this[_0xc76e28(0x196)](_0x401a62),_0x5d4dfb));}[_0x248339(0x3cc)](){const _0xaa8ac3=_0x248339;var _0x391a43;return(_0x391a43=this['_configService'][_0xaa8ac3(0x603)](gi))!=null?_0x391a43:en;}['_saveCache'](_0xea58cc){const _0x201175=_0x248339,_0x2f4130=this['_saveTaskMap'][_0x201175(0x2fd)](_0xea58cc);return _0x2f4130!==void 0x0&&window[_0x201175(0x4d5)](_0x2f4130),this['_localStorageService']['setItem'](Bt(_0xea58cc),this[_0x201175(0x264)][_0x201175(0x2fd)](_0xea58cc))[_0x201175(0x525)](()=>this['_saveTaskMap']['delete'](_0xea58cc));}async['exhaustSavingTask'](){const _0x1814e3=[];this['_saveTaskMap']['forEach']((_0x306951,_0xf4fd2d)=>{const _0x2936d7=_0x2ee7;window[_0x2936d7(0x4d5)](_0x306951),_0x1814e3[_0x2936d7(0x3d7)](this[_0x2936d7(0x196)](_0xf4fd2d)[_0x2936d7(0x525)](()=>{const _0x39d255=_0x2936d7;this[_0x39d255(0x50a)][_0x39d255(0x585)](_0xf4fd2d);}));}),await Promise['all'](_0x1814e3);}[_0x248339(0x60a)](){const _0x397d81=_0x248339;this[_0x397d81(0x1d6)](this[_0x397d81(0x4bb)][_0x397d81(0x40f)](()=>{const _0x5d5e27=_0x397d81;if(this[_0x5d5e27(0x50a)][_0x5d5e27(0x4c0)])return this[_0x5d5e27(0x5cd)]['t'](_0x5d5e27(0x200));}));}},exports[_0x248339(0x561)]=Un([De(0x0,a[_0x248339(0x4ac)]),De(0x1,a['ILocalStorageService']),De(0x2,ee['IBeforeCloseService']),De(0x3,a['Inject'](a[_0x248339(0x3c9)])),De(0x4,a[_0x248339(0x40a)](m[_0x248339(0x1ce)]))],exports[_0x248339(0x561)]);function Bt(_0x5179eb){const _0x107ba9=_0x248339;return _0x107ba9(0x372)+_0x5179eb;}var Mn=Object[_0x248339(0x56f)],Nn=Object[_0x248339(0x3a7)],An=(_0x319f89,_0x348a72,_0x1f6446,_0x51af84)=>{const _0x531802=_0x248339;for(var _0x3aca6d=_0x51af84>0x1?void 0x0:_0x51af84?Nn(_0x348a72,_0x1f6446):_0x348a72,_0xcf3d57=_0x319f89[_0x531802(0x45e)]-0x1,_0x1277dc;_0xcf3d57>=0x0;_0xcf3d57--)(_0x1277dc=_0x319f89[_0xcf3d57])&&(_0x3aca6d=(_0x51af84?_0x1277dc(_0x348a72,_0x1f6446,_0x3aca6d):_0x1277dc(_0x3aca6d))||_0x3aca6d);return _0x51af84&&_0x3aca6d&&Mn(_0x348a72,_0x1f6446,_0x3aca6d),_0x3aca6d;},ht=(_0x2caf86,_0x286816)=>(_0x2b29f8,_0xe79f75)=>_0x286816(_0x2b29f8,_0xe79f75,_0x2caf86);function Ln(_0x5c816f){const _0x2fe62b=_0x248339,{unitID:_0x53e528,mutations:_0x138bfb}=_0x5c816f;return{'unitId':_0x53e528,'subUnitId':_0x138bfb[0x0][_0x2fe62b(0x601)][_0x2fe62b(0x4e7)]};}let Ze=class{constructor(_0x4ae78d,_0x167f45,_0x112194){const _0x1dd0ee=_0x248339;this[_0x1dd0ee(0x373)]=_0x4ae78d,this[_0x1dd0ee(0x58a)]=_0x167f45,this['_instanceService']=_0x112194;}[_0x248339(0x2b8)](_0x4b5b09){const _0x471572=_0x248339;var _0x342062,_0x1e3259,_0x4fe6a3,_0x4c6d7b;const _0x166dde=this[_0x471572(0x373)]['get'](k[_0x471572(0x20f)]),{unitId:_0x2c9395,subUnitId:_0x45a550}=Ln(_0x4b5b09),_0x3e06ae=_0x166dde['getWorkbookSelections'](_0x2c9395)[_0x471572(0x20c)](),_0x5d5a6d=(_0x1e3259=(_0x342062=this[_0x471572(0x444)][_0x471572(0x4f9)](_0x2c9395))==null?void 0x0:_0x342062[_0x471572(0x4ae)]())==null?void 0x0:_0x1e3259[_0x471572(0x4f2)]();if(_0x3e06ae[_0x471572(0x45e)]===0x0||!_0x2c9395||!_0x45a550)return;const _0x28890c=[{'id':k[_0x471572(0x3f9)]['id'],'params':{'unitId':_0x2c9395,'subUnitId':_0x5d5a6d,'selections':a[_0x471572(0x27d)][_0x471572(0x3fa)](_0x3e06ae)}}],_0xf4cad4=this[_0x471572(0x58a)][_0x471572(0x27e)](_0x4b5b09,_0x28890c);if(!m[_0x471572(0x4d3)](_0xf4cad4))throw _0xf4cad4[_0x471572(0x2de)];const _0x45e274=(_0x4c6d7b=(_0x4fe6a3=_0xf4cad4[_0x471572(0x211)][0x0])==null?void 0x0:_0x4fe6a3['params'])==null?void 0x0:_0x4c6d7b[_0x471572(0x4c8)];if(Array['isArray'](_0x45e274)&&_0x45e274[_0x471572(0x45e)]){if(_0x45e274[_0x471572(0x45e)]===_0x28890c[0x0][_0x471572(0x601)][_0x471572(0x4c8)]['length']&&_0x45e274[_0x471572(0x361)]((_0x3b58cd,_0x4e8451)=>a[_0x471572(0x35f)]['equals'](_0x3b58cd['range'],_0x28890c[0x0][_0x471572(0x601)][_0x471572(0x4c8)][_0x4e8451][_0x471572(0x4ed)])))return;this['_injector'][_0x471572(0x2fd)](a[_0x471572(0x45b)])[_0x471572(0x2f9)](k[_0x471572(0x3f9)]['id'],{'unitId':_0x2c9395,'subUnitId':_0x5d5a6d,'selections':_0x45e274});}}};Ze=An([ht(0x0,a[_0x248339(0x40a)](a[_0x248339(0x1bc)])),ht(0x1,m[_0x248339(0x2b2)]),ht(0x2,a[_0x248339(0x3bc)])],Ze);const ot=a['createIdentifier'](_0x248339(0x254));var yi=(_0x52fa17=>(_0x52fa17[_0x52fa17[_0x248339(0x4c2)]=0x0]=_0x248339(0x4c2),_0x52fa17[_0x52fa17[_0x248339(0x1fb)]=0x1]=_0x248339(0x1fb),_0x52fa17))(yi||{});const kt=0x7530,Wt=_0x248339(0x28a);class xn extends a[_0x248339(0x4cc)]{constructor(){const _0x1484ed=_0x248339;super(),I(this,_0x1484ed(0x5f8),a['Tools'][_0x1484ed(0x5d2)]()),I(this,_0x1484ed(0x4b1),new Set()),I(this,'_unitOnClients',new Map()),I(this,_0x1484ed(0x19d),null),I(this,_0x1484ed(0x5f0),new Map()),I(this,_0x1484ed(0x5bb),new Map()),this[_0x1484ed(0x1fa)]();}[_0x248339(0x494)](){const _0x53714d=_0x248339;super[_0x53714d(0x494)](),this['_clearOtherTimers'][_0x53714d(0x343)]((_0x5285dd,_0x10b283)=>this[_0x53714d(0x5a2)](_0x10b283)),this[_0x53714d(0x19d)]&&window[_0x53714d(0x3d3)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x4b26b0){const _0x1689c8=_0x248339;return this[_0x1689c8(0x2d1)](_0x4b26b0)[_0x1689c8(0x41e)](N[_0x1689c8(0x358)]());}[_0x248339(0x3eb)](_0x1ac1a2){const _0x3cee79=_0x248339;this['_selfUnitIDs'][_0x3cee79(0x4c0)]===0x0&&this[_0x3cee79(0x3e2)](),this[_0x3cee79(0x4b1)][_0x3cee79(0x57d)](_0x1ac1a2),this[_0x3cee79(0x1d9)]({'type':0x0,'memberID':this[_0x3cee79(0x5f8)],'unitIDs':[_0x1ac1a2],'isForwarded':!0x1});}[_0x248339(0x495)](_0x316646){const _0x404d05=_0x248339;this[_0x404d05(0x4b1)]['delete'](_0x316646),this[_0x404d05(0x4b1)]['size']===0x0&&this['_heartbeatTimer']&&window[_0x404d05(0x3d3)](this[_0x404d05(0x19d)]);}[_0x248339(0x1fa)](){const _0x11d95e=_0x248339;this[_0x11d95e(0x1d6)](a['toDisposable'](N[_0x11d95e(0x554)](window,_0x11d95e(0x212))[_0x11d95e(0x3da)](_0x30ff65=>{const _0x41349e=_0x11d95e;if(_0x30ff65[_0x41349e(0x567)]!==Wt||!_0x30ff65[_0x41349e(0x2a9)])return;const _0x10bcef=JSON['parse'](_0x30ff65[_0x41349e(0x2a9)]);this[_0x41349e(0x1b5)](_0x10bcef);}))),window[_0x11d95e(0x2a7)](_0x11d95e(0x526),()=>this[_0x11d95e(0x1d9)]({'type':0x1,'memberID':this[_0x11d95e(0x5f8)],'unitIDs':Array['from'](this[_0x11d95e(0x4b1)])}));}['_handleEvent'](_0x42b2e9){const _0x5a1a1c=_0x248339;switch(_0x42b2e9[_0x5a1a1c(0x493)]){case 0x0:this[_0x5a1a1c(0x5b4)](_0x42b2e9);break;case 0x1:this[_0x5a1a1c(0x2c7)](_0x42b2e9);break;case 0x2:this['_handleHeartbeatEvent'](_0x42b2e9);break;}}[_0x248339(0x5b4)](_0x1c14e2){const _0x34dccf=_0x248339,{unitIDs:_0x5c1727,memberID:_0x2b838d,isForwarded:_0x439745}=_0x1c14e2;_0x5c1727['forEach'](_0x2814be=>{const _0x124bbe=_0x2ee7;if(!_0x439745&&this['_unitOnClients'][_0x124bbe(0x5dc)](_0x2814be)&&this[_0x124bbe(0x2d1)](_0x2814be)['next'](0x1),!this['_unitOnClients']['has'](_0x2814be)||!this[_0x124bbe(0x455)]['get'](_0x2814be)['has'](_0x2b838d)){const _0xc683e9=this[_0x124bbe(0x455)][_0x124bbe(0x2fd)](_0x2814be)||new Set();_0xc683e9['add'](_0x2b838d),this[_0x124bbe(0x455)]['set'](_0x2814be,_0xc683e9),this[_0x124bbe(0x327)](_0x2b838d);}}),_0x439745||this[_0x34dccf(0x1d9)]({'type':0x0,'memberID':this[_0x34dccf(0x5f8)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x290972){const _0x3363b7=_0x248339;this['_removeClearOtherTimer'](_0x290972);const _0x588621=window['setTimeout'](()=>{const _0x37a29e=_0x2ee7;this[_0x37a29e(0x455)][_0x37a29e(0x343)](_0x20f8bd=>{_0x20f8bd['delete'](_0x290972);});},kt*0x2);this['_clearOtherTimers'][_0x3363b7(0x325)](_0x290972,_0x588621);}[_0x248339(0x5a2)](_0x21b1a8){const _0x45e068=_0x248339;if(this['_clearOtherTimers']['has'](_0x21b1a8)){const _0x49bc3b=this['_clearOtherTimers'][_0x45e068(0x2fd)](_0x21b1a8);_0x49bc3b&&window[_0x45e068(0x4d5)](_0x49bc3b),this[_0x45e068(0x5f0)][_0x45e068(0x325)](_0x21b1a8,null);}}[_0x248339(0x2c7)](_0x290f31){const _0x33f88d=_0x248339,{memberID:_0x90e264,unitIDs:_0x2fa216}=_0x290f31;_0x2fa216[_0x33f88d(0x343)](_0x2360b8=>{const _0x5deb61=_0x33f88d;var _0x542228;const _0x5c7565=this[_0x5deb61(0x455)][_0x5deb61(0x2fd)](_0x2360b8);_0x5c7565&&(_0x5c7565['delete'](_0x90e264),(_0x542228=this['_ensureSubject'](_0x2360b8))==null||_0x542228[_0x5deb61(0x423)](_0x5c7565[_0x5deb61(0x4c0)]===0x0?0x0:0x1));}),this[_0x33f88d(0x5a2)](_0x90e264);}['_handleHeartbeatEvent'](_0x11c84e){const _0x4e9a37=_0x248339;this['_scheduleClearOtherTimer'](_0x11c84e[_0x4e9a37(0x5d6)]);}[_0x248339(0x1d9)](_0x25516f){const _0x302595=_0x248339;localStorage[_0x302595(0x59a)](Wt,JSON[_0x302595(0x1ad)](_0x25516f));}['_scheduleHeartbeat'](){const _0x43ef05=_0x248339;this[_0x43ef05(0x19d)]=window[_0x43ef05(0x543)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},kt);}[_0x248339(0x2d1)](_0x4fea15){const _0x468f52=_0x248339;return this[_0x468f52(0x5bb)][_0x468f52(0x5dc)](_0x4fea15)||this['_unitStatus'][_0x468f52(0x325)](_0x4fea15,new N[(_0x468f52(0x4dd))](0x0)),this[_0x468f52(0x5bb)][_0x468f52(0x2fd)](_0x4fea15);}}var $n=Object[_0x248339(0x56f)],jn=Object[_0x248339(0x3a7)],Hn=(_0x1b0558,_0x40da0e,_0x7fd012,_0x522d15)=>{const _0x44779b=_0x248339;for(var _0x14666a=_0x522d15>0x1?void 0x0:_0x522d15?jn(_0x40da0e,_0x7fd012):_0x40da0e,_0x415481=_0x1b0558[_0x44779b(0x45e)]-0x1,_0x519225;_0x415481>=0x0;_0x415481--)(_0x519225=_0x1b0558[_0x415481])&&(_0x14666a=(_0x522d15?_0x519225(_0x40da0e,_0x7fd012,_0x14666a):_0x519225(_0x14666a))||_0x14666a);return _0x522d15&&_0x14666a&&$n(_0x40da0e,_0x7fd012,_0x14666a),_0x14666a;},_t=(_0x2ac9b4,_0x6b607)=>(_0x4a7b56,_0x392138)=>_0x6b607(_0x4a7b56,_0x392138,_0x2ac9b4);let Qe=class{constructor(_0x3106fc,_0x32346a,_0x18cdfb){const _0x39372c=_0x248339;this[_0x39372c(0x373)]=_0x3106fc,this[_0x39372c(0x58a)]=_0x32346a,this[_0x39372c(0x2dd)]=_0x18cdfb;}[_0x248339(0x357)](_0x579063){const _0x333555=_0x248339;this[_0x333555(0x394)](_0x579063);}[_0x248339(0x210)](_0x4754d9){const _0x5b7bed=_0x248339,{unitID:_0x4511fc}=_0x4754d9,{collaboration:_0xc2cf1a}=this[_0x5b7bed(0x2dd)]['getStateCache'](_0x4511fc);if(_0xc2cf1a[_0x5b7bed(0x45e)]===0x0)return _0x4754d9;let _0x2b7a4d=a[_0x5b7bed(0x27d)][_0x5b7bed(0x3fa)](_0x4754d9[_0x5b7bed(0x229)][0x0]);for(let _0x4fff2c=0x0;_0x4fff2c<_0xc2cf1a[_0x5b7bed(0x45e)];_0x4fff2c++){const _0x217021={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xc2cf1a[_0x4fff2c]['unitId'],..._0xc2cf1a[_0x4fff2c]['redoState']}},_0x5eb2ff=this[_0x5b7bed(0x58a)][_0x5b7bed(0x2a4)](_0x2b7a4d,_0x217021,!0x1);if(m[_0x5b7bed(0x18e)](_0x5eb2ff))throw _0x5eb2ff[_0x5b7bed(0x2de)];_0x2b7a4d=_0x5eb2ff[_0x5b7bed(0x37e)];}return{...a[_0x5b7bed(0x27d)]['deepClone'](_0x4754d9),'mutations':[_0x2b7a4d]};}['_transformHistoryAndStateStack'](_0x2ad367){const _0x5f8b2c=_0x248339,{unitID:_0x2c0e0c}=_0x2ad367,{history:_0x25bd55,collaboration:_0x1f4b30}=this[_0x5f8b2c(0x2dd)][_0x5f8b2c(0x1f4)](_0x2c0e0c);if(_0x25bd55['length']===0x0&&_0x1f4b30['length']===0x0)return;const _0x38ae54=[],_0x3a65a1=[];let _0x20f526=a['Tools'][_0x5f8b2c(0x3fa)](_0x2ad367[_0x5f8b2c(0x229)][0x0]),_0x84cb4e=a[_0x5f8b2c(0x27d)][_0x5f8b2c(0x3fa)](_0x2ad367['mutations'][0x0]);for(let _0x96a970=_0x25bd55[_0x5f8b2c(0x45e)]-0x1;_0x96a970>=0x0;_0x96a970--){const _0x42b6f7={'id':_0x5f8b2c(0x321),'params':{'unitId':_0x25bd55[_0x96a970][_0x5f8b2c(0x57b)],..._0x25bd55[_0x96a970][_0x5f8b2c(0x470)]}},_0x4e3850={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x25bd55[_0x96a970][_0x5f8b2c(0x57b)],..._0x25bd55[_0x96a970]['redoState']}},_0x5d9d67=this[_0x5f8b2c(0x58a)][_0x5f8b2c(0x2a4)](_0x20f526,_0x42b6f7,!0x1),_0x31764c=this[_0x5f8b2c(0x58a)][_0x5f8b2c(0x2a4)](_0x84cb4e,_0x4e3850,!0x1);if(m[_0x5f8b2c(0x18e)](_0x5d9d67))throw _0x5d9d67[_0x5f8b2c(0x2de)];if(m['isTransformMutationFailure'](_0x31764c))throw _0x31764c[_0x5f8b2c(0x2de)];_0x38ae54[_0x5f8b2c(0x346)]({..._0x25bd55[_0x96a970],'undoState':_0x5d9d67[_0x5f8b2c(0x211)][_0x5f8b2c(0x601)],'redoState':_0x31764c[_0x5f8b2c(0x211)][_0x5f8b2c(0x601)]}),_0x20f526=_0x5d9d67[_0x5f8b2c(0x37e)],_0x84cb4e=_0x31764c[_0x5f8b2c(0x37e)];}_0x20f526=a['Tools'][_0x5f8b2c(0x3fa)](_0x2ad367[_0x5f8b2c(0x229)][0x0]),_0x84cb4e=a['Tools'][_0x5f8b2c(0x3fa)](_0x2ad367['mutations'][0x0]);for(let _0xe21a6=_0x1f4b30[_0x5f8b2c(0x45e)]-0x1;_0xe21a6>=0x0;_0xe21a6--){const _0x30ba14={'id':_0x5f8b2c(0x321),'params':{'unitId':_0x1f4b30[_0xe21a6]['unitId'],..._0x1f4b30[_0xe21a6][_0x5f8b2c(0x470)]}},_0x52d193={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1f4b30[_0xe21a6][_0x5f8b2c(0x57b)],..._0x1f4b30[_0xe21a6][_0x5f8b2c(0x205)]}},_0x2d527d=this[_0x5f8b2c(0x58a)][_0x5f8b2c(0x2a4)](_0x20f526,_0x30ba14,!0x1),_0x2c3097=this[_0x5f8b2c(0x58a)][_0x5f8b2c(0x2a4)](_0x84cb4e,_0x52d193,!0x1);if(m[_0x5f8b2c(0x18e)](_0x2d527d))throw _0x2d527d[_0x5f8b2c(0x2de)];if(m['isTransformMutationFailure'](_0x2c3097))throw _0x2c3097[_0x5f8b2c(0x2de)];_0x3a65a1['unshift']({..._0x1f4b30[_0xe21a6],'undoState':_0x2d527d[_0x5f8b2c(0x211)]['params'],'redoState':_0x2c3097[_0x5f8b2c(0x211)][_0x5f8b2c(0x601)]}),_0x20f526=_0x2d527d[_0x5f8b2c(0x37e)],_0x84cb4e=_0x2c3097[_0x5f8b2c(0x37e)];}this[_0x5f8b2c(0x2dd)]['setStateCache'](_0x2c0e0c,{'history':_0x38ae54,'collaboration':_0x3a65a1});}};Qe=Hn([_t(0x0,a[_0x248339(0x40a)](a[_0x248339(0x1bc)])),_t(0x1,m[_0x248339(0x2b2)]),_t(0x2,a[_0x248339(0x40a)](J['DocStateChangeManagerService']))],Qe);function Oi(_0x1e3646){let _0x180a76='';for(const _0x227d23 of _0x1e3646){const {startOffset:_0x3c746d,endOffset:_0x33b29d,isActive:_0x25ed91,rangeType:_0x3559c3,segmentId:_0x520d5e,segmentPage:_0x193829}=_0x227d23;_0x180a76['length']&&(_0x180a76+=','),_0x180a76+=_0x3c746d+':'+_0x33b29d+':'+(_0x25ed91?'1':'0')+':'+_0x3559c3+':'+_0x520d5e+':'+_0x193829;}return _0x180a76;}function Bn(_0x43a2d9){const _0x4d0015=_0x248339,_0x183574=_0x43a2d9['split'](','),_0x28773a=[];for(const _0xedfa39 of _0x183574){const [_0x557da6,_0x3750c6,_0x3c29a9,_0x2649a6,_0x2a3f4a,_0x1b7ca0]=_0xedfa39[_0x4d0015(0x582)](':');_0x28773a[_0x4d0015(0x3d7)]({'startOffset':Number(_0x557da6),'endOffset':Number(_0x3750c6),'collapsed':_0x557da6===_0x3750c6,'isActive':_0x3c29a9==='1','rangeType':_0x2649a6===a[_0x4d0015(0x1cf)][_0x4d0015(0x546)]?a[_0x4d0015(0x1cf)][_0x4d0015(0x546)]:a[_0x4d0015(0x1cf)][_0x4d0015(0x365)],'segmentId':typeof _0x2a3f4a==_0x4d0015(0x431)?String(_0x2a3f4a):'','segmentPage':Number(_0x1b7ca0!=null?_0x1b7ca0:-0x1)});}return _0x28773a[_0x4d0015(0x433)](_0x26a77f=>_0x26a77f[_0x4d0015(0x5ba)])||(_0x28773a[0x0][_0x4d0015(0x5ba)]=!0x0),_0x28773a;}class Ut extends a['RxDisposable']{constructor(){const _0x59cce8=_0x248339;super(...arguments),I(this,_0x59cce8(0x4ea),new N[(_0x59cce8(0x4dd))](null)),I(this,_0x59cce8(0x61e),this[_0x59cce8(0x4ea)][_0x59cce8(0x366)]());}[_0x248339(0x454)](_0x5ad55a){const _0x5016af=_0x248339,{unitID:_0x2066e1,memberID:_0x1f9180,textRanges:_0x180c00}=_0x5ad55a,_0xae0dfd=Oi(_0x180c00);if(_0xae0dfd==='')return;const _0x660107={'unitID':_0x2066e1,'memberID':_0x1f9180,'selection':_0xae0dfd};this[_0x5016af(0x4ea)][_0x5016af(0x423)](_0x660107);}}var kn=Object['defineProperty'],Wn=Object[_0x248339(0x3a7)],Fn=(_0xbaf564,_0x284518,_0x19e460,_0x1f5026)=>{const _0x489786=_0x248339;for(var _0x4818d1=_0x1f5026>0x1?void 0x0:_0x1f5026?Wn(_0x284518,_0x19e460):_0x284518,_0xa566a1=_0xbaf564[_0x489786(0x45e)]-0x1,_0x203a0f;_0xa566a1>=0x0;_0xa566a1--)(_0x203a0f=_0xbaf564[_0xa566a1])&&(_0x4818d1=(_0x1f5026?_0x203a0f(_0x284518,_0x19e460,_0x4818d1):_0x203a0f(_0x4818d1))||_0x4818d1);return _0x1f5026&&_0x4818d1&&kn(_0x284518,_0x19e460,_0x4818d1),_0x4818d1;},Ft=(_0x2514d8,_0x277110)=>(_0x57f130,_0x48c780)=>_0x277110(_0x57f130,_0x48c780,_0x2514d8);let et=class{constructor(_0x55b58f,_0x550541){const _0x4938ea=_0x248339;this[_0x4938ea(0x373)]=_0x55b58f,this[_0x4938ea(0x58a)]=_0x550541;}[_0x248339(0x2b8)](_0x82554f){const _0x237b9d=_0x248339;var _0x3847de;const _0x5b04c6=this['_injector'][_0x237b9d(0x2fd)](ge[_0x237b9d(0x265)]),_0x249ffe=(_0x3847de=_0x5b04c6[_0x237b9d(0x220)]())!=null?_0x3847de:[];if(_0x249ffe['length']===0x0)return;const _0x18fa0b=_0x82554f['unitID'],_0x241ef0=[{'id':_0x237b9d(0x321),'params':{'unitId':_0x18fa0b,'actions':null,'textRanges':_0x249ffe}}],_0xde20f6=this[_0x237b9d(0x58a)][_0x237b9d(0x27e)](_0x82554f,_0x241ef0);if(!m[_0x237b9d(0x4d3)](_0xde20f6))throw _0xde20f6[_0x237b9d(0x2de)];const _0xfd9666=_0xde20f6[_0x237b9d(0x211)][0x0][_0x237b9d(0x601)][_0x237b9d(0x4a3)];Array[_0x237b9d(0x49f)](_0xfd9666)&&_0xfd9666[_0x237b9d(0x45e)]&&_0x5b04c6['replaceDocRanges'](_0xfd9666,{'unitId':_0x18fa0b,'subUnitId':_0x18fa0b},!0x1);}};et=Fn([Ft(0x0,a[_0x248339(0x40a)](a[_0x248339(0x1bc)])),Ft(0x1,m[_0x248339(0x2b2)])],et);const Vn=new Set([k['InsertSheetMutation']['id']]);function Vt(_0x3f0e4b,_0x258721,_0x1917f0,_0x459319,_0x32aa70){const _0x3f22ba=_0x248339;var _0x33a533,_0x54d7fa,_0x56dc8b,_0x3c2913;const _0x42ef99=[];for(const _0x22de59 of _0x3f0e4b)if(Vn[_0x3f22ba(0x5dc)](_0x22de59['id'])){if(_0x42ef99[_0x3f22ba(0x45e)]>0x0)break;_0x42ef99[_0x3f22ba(0x3d7)](_0x22de59);break;}else _0x42ef99[_0x3f22ba(0x3d7)](_0x22de59);const _0x3b6c9b=(_0x54d7fa=(_0x33a533=_0x32aa70[_0x3f22ba(0x1f0)]())==null?void 0x0:_0x33a533['userID'])!=null?_0x54d7fa:'unknown',_0x39bf70=(_0x3c2913=(_0x56dc8b=_0x32aa70[_0x3f22ba(0x1f0)]())==null?void 0x0:_0x56dc8b[_0x3f22ba(0x5d6)])!=null?_0x3c2913:_0x3f22ba(0x2d6);return{'changeset':{'unitID':_0x258721,'type':m['mapDocumentTypeToUniverType'](_0x1917f0[_0x3f22ba(0x57f)](_0x258721)),'baseRev':_0x459319['getCurrentRevOfUnit'](_0x258721),'revision':0x0,'userID':_0x3b6c9b,'memberID':_0x39bf70,'mutations':_0x42ef99},'pendingMutations':_0x3f0e4b[_0x3f22ba(0x3e9)](_0x42ef99[_0x3f22ba(0x45e)])};}function Gn(_0x15fad7,_0x302235,_0x4db007,_0xe404a3,_0x357100){const _0x307083=_0x248339;var _0x29b8d2,_0x3792a7,_0x595f63,_0x3e7806;const _0x5764d9=[_0x15fad7[_0x307083(0x1a1)]((_0x8cbb85,_0xbb62e7)=>{const _0x133825=_0x307083;var _0x23a2bd;const {id:_0x4b010c}=_0x8cbb85,{id:_0x135302,type:_0x14d87a}=_0xbb62e7,_0x154baa=(_0x23a2bd=_0x8cbb85[_0x133825(0x601)])!=null?_0x23a2bd:{'actions':null},_0xfd5f70=_0xbb62e7[_0x133825(0x601)];if(_0x4b010c&&_0x4b010c!==_0x135302)throw new Error(_0x133825(0x233)+_0x4b010c+_0x133825(0x303)+_0x135302+'.');return{..._0x8cbb85,'id':_0x135302,'type':_0x14d87a,'params':{'unitId':_0xfd5f70['unitId'],'textRanges':_0xfd5f70[_0x133825(0x4a3)],'actions':a['JSONX']['compose'](_0x154baa[_0x133825(0x308)],_0xfd5f70[_0x133825(0x308)])}};},{})],_0xd48f84=(_0x3792a7=(_0x29b8d2=_0x357100[_0x307083(0x1f0)]())==null?void 0x0:_0x29b8d2[_0x307083(0x432)])!=null?_0x3792a7:_0x307083(0x2d6),_0x5f3005=(_0x3e7806=(_0x595f63=_0x357100[_0x307083(0x1f0)]())==null?void 0x0:_0x595f63[_0x307083(0x5d6)])!=null?_0x3e7806:'unknown';return{'changeset':{'unitID':_0x302235,'type':m[_0x307083(0x46c)](_0x4db007[_0x307083(0x57f)](_0x302235)),'baseRev':_0xe404a3[_0x307083(0x628)](_0x302235),'revision':0x0,'userID':_0xd48f84,'memberID':_0x5f3005,'mutations':_0x5764d9},'pendingMutations':[]};}function Di(_0x381f98,_0x182c8e){const _0x76dff=_0x248339,_0x57d845=new N['ReplaySubject'](0x1);return setTimeout(()=>_0x57d845[_0x76dff(0x423)](_0x182c8e),_0x381f98),_0x57d845[_0x76dff(0x366)]()[_0x76dff(0x41e)](N[_0x76dff(0x206)](0x1));}const Yn={'id':k[_0x248339(0x5a5)]['id'],'type':a['CommandType'][_0x248339(0x311)],'params':{}};var qn=Object[_0x248339(0x56f)],Kn=Object[_0x248339(0x3a7)],Ce=(_0x568edd,_0x4180ee,_0x25277b,_0x52d9c1)=>{const _0x4db291=_0x248339;for(var _0x3c1270=_0x52d9c1>0x1?void 0x0:_0x52d9c1?Kn(_0x4180ee,_0x25277b):_0x4180ee,_0x38170a=_0x568edd[_0x4db291(0x45e)]-0x1,_0x4c1b53;_0x38170a>=0x0;_0x38170a--)(_0x4c1b53=_0x568edd[_0x38170a])&&(_0x3c1270=(_0x52d9c1?_0x4c1b53(_0x4180ee,_0x25277b,_0x3c1270):_0x4c1b53(_0x3c1270))||_0x3c1270);return _0x52d9c1&&_0x3c1270&&qn(_0x4180ee,_0x25277b,_0x3c1270),_0x3c1270;},A=(_0x59eb58,_0x480919)=>(_0x180de1,_0xd9beed)=>_0x480919(_0x180de1,_0xd9beed,_0x59eb58),K=(_0x1faab9=>(_0x1faab9[_0x248339(0x353)]=_0x248339(0x18f),_0x1faab9[_0x248339(0x1c5)]=_0x248339(0x587),_0x1faab9[_0x248339(0x3b7)]='pending',_0x1faab9[_0x248339(0x5ce)]=_0x248339(0x3b0),_0x1faab9[_0x248339(0x54d)]=_0x248339(0x4a9),_0x1faab9[_0x248339(0x5b7)]=_0x248339(0x32a),_0x1faab9[_0x248339(0x387)]=_0x248339(0x263),_0x1faab9[_0x248339(0x5fe)]='offline',_0x1faab9))(K||{});const Pi=0xea60;class Ee{constructor(_0x8b7c82,_0x1c3fc1,_0x1f8ffa,_0x4bf465,_0x4ee247,_0x20072d,_0x43a6b8,_0xf5313,_0x19a519){const _0x51b4dd=_0x248339;I(this,_0x51b4dd(0x3b3),null),I(this,_0x51b4dd(0x644),[]),(this[_0x51b4dd(0x26f)]=_0x8b7c82,this[_0x51b4dd(0x493)]=_0x1c3fc1,this[_0x51b4dd(0x62f)]=_0x4ee247,this['_commandService']=_0x20072d,this[_0x51b4dd(0x637)]=_0x43a6b8,this[_0x51b4dd(0x606)]=_0xf5313,this['_localCacheService']=_0x19a519,this[_0x51b4dd(0x3b3)]=_0x1f8ffa,this[_0x51b4dd(0x644)]=_0x4bf465);}[_0x248339(0x558)](_0x105a7d){const _0x18fb5b=_0x248339,_0x5514b0=this[_0x18fb5b(0x606)][_0x18fb5b(0x628)](this[_0x18fb5b(0x26f)]);return _0x105a7d[_0x18fb5b(0x513)]>_0x5514b0+0x1?(this[_0x18fb5b(0x62f)][_0x18fb5b(0x393)]({'from':_0x5514b0,'to':_0x105a7d[_0x18fb5b(0x513)]-0x1}),!0x0):!0x1;}[_0x248339(0x21f)](_0x14a74d){const _0x523ec0=_0x248339;this['_undoRedoService'][_0x523ec0(0x257)](this['unitID'],_0x14a74d);}[_0x248339(0x3c8)](_0x2d177e){const _0x1edfcc=_0x248339;var _0x17a4dd,_0x408aa0;(_0x408aa0=(_0x17a4dd=this['_handler'])[_0x1edfcc(0x52f)])==null||_0x408aa0[_0x1edfcc(0x339)](_0x17a4dd,_0x2d177e);}[_0x248339(0x2d9)](_0x43ae92){const _0x4e950f=_0x248339;var _0x2d5aa4,_0x2dd2a8;return(_0x2dd2a8=(_0x2d5aa4=this[_0x4e950f(0x62f)])[_0x4e950f(0x3f0)])==null?void 0x0:_0x2dd2a8[_0x4e950f(0x339)](_0x2d5aa4,_0x43ae92);}['_transformStateCache'](_0x36e9ae){const _0x12fb95=_0x248339;var _0x113474,_0x52a55d;return(_0x52a55d=(_0x113474=this[_0x12fb95(0x62f)])[_0x12fb95(0x4a1)])==null?void 0x0:_0x52a55d['call'](_0x113474,_0x36e9ae);}[_0x248339(0x1a4)](_0x4976f5){const _0x259ebd=_0x248339;var _0x46a0cb,_0x1dc27d,_0x33a69f;return(_0x33a69f=(_0x1dc27d=(_0x46a0cb=this['_handler'])[_0x259ebd(0x411)])==null?void 0x0:_0x1dc27d['call'](_0x46a0cb,_0x4976f5))!=null?_0x33a69f:_0x4976f5;}[_0x248339(0x379)](_0x4cb2be){const _0x297574=_0x248339;var _0x3e917a,_0x7e4093,_0x3f955b;return(_0x3f955b=(_0x7e4093=(_0x3e917a=this[_0x297574(0x62f)])[_0x297574(0x58f)])==null?void 0x0:_0x7e4093[_0x297574(0x339)](_0x3e917a,_0x4cb2be))!=null?_0x3f955b:_0x4cb2be;}[_0x248339(0x19b)](_0x546c4f){const _0x369e92=_0x248339;var _0x25aa08,_0x147672;if(this[_0x369e92(0x493)]===ie[_0x369e92(0x35a)]){const {unitID:_0x2b3e6b,mutations:_0x576d9a,memberID:_0x290e06}=_0x546c4f,_0x427a5f=_0x576d9a[0x0]['params'][_0x369e92(0x4a3)];Array[_0x369e92(0x49f)](_0x427a5f)&&_0x427a5f['length']>0x0&&((_0x147672=(_0x25aa08=this[_0x369e92(0x62f)])[_0x369e92(0x5c9)])==null||_0x147672[_0x369e92(0x339)](_0x25aa08,{'unitID':_0x2b3e6b,'memberID':_0x290e06,'textRanges':_0x427a5f}));}}[_0x248339(0x3ae)](){const _0x47cb59=_0x248339;this[_0x47cb59(0x269)][_0x47cb59(0x2c3)](this['unitID'],this[_0x47cb59(0x493)],this[_0x47cb59(0x3b3)],this[_0x47cb59(0x644)]);}[_0x248339(0x41b)](){const _0xa5e0b=_0x248339;return this[_0xa5e0b(0x606)]['getCurrentRevOfUnit'](this[_0xa5e0b(0x26f)]);}[_0x248339(0x1e0)](){const _0x4ccf9f=_0x248339;this[_0x4ccf9f(0x606)][_0x4ccf9f(0x244)](this['unitID']);}[_0x248339(0x2d8)](_0x5b9fc3){const _0x4f1e49=_0x248339;var _0x5bc829;let _0x389edd=this['_transformRemoteChangesetByIMECache'](_0x5b9fc3);_0x389edd=this[_0x4f1e49(0x379)](_0x389edd);const _0x1a2532=a['sequenceExecute'](_0x389edd[_0x4f1e49(0x229)],this['_commandService'],{'fromCollab':!0x0});if(!_0x1a2532['result'])throw _0x1a2532[_0x4f1e49(0x2de)]instanceof Error?_0x1a2532[_0x4f1e49(0x2de)]:new Error((_0x5bc829=_0x1a2532['error'])!=null?_0x5bc829:_0x4f1e49(0x5b8));this['_transformIMECache'](_0x389edd),this[_0x4f1e49(0x37d)](_0x389edd),this['_transformUndoredo'](_0x5b9fc3),this[_0x4f1e49(0x3c8)](_0x389edd),this[_0x4f1e49(0x19b)](_0x389edd),this[_0x4f1e49(0x1e0)]();}}function _0x2ee7(_0x24532b,_0xed8398){const _0x589c41=_0x589c();return _0x2ee7=function(_0x2ee7db,_0x366e0c){_0x2ee7db=_0x2ee7db-0x187;let _0x2961ae=_0x589c41[_0x2ee7db];return _0x2961ae;},_0x2ee7(_0x24532b,_0xed8398);}let Re=class extends Ee{constructor(_0x29154b,_0x34a089,_0x3d36ad,_0x1a1f84,_0x2fafba,_0xaec719,_0x2d690a,_0x33818d,_0x11d9a4,_0x28823a){const _0x58457f=_0x248339;super(_0x29154b,_0x34a089,null,[],_0x3d36ad,_0x33818d,_0x2d690a,_0x1a1f84,_0x2fafba),I(this,_0x58457f(0x27f),_0x58457f(0x587)),(this[_0x58457f(0x373)]=_0xaec719,this[_0x58457f(0x237)]=_0x11d9a4,this[_0x58457f(0x58a)]=_0x28823a);}[_0x248339(0x425)](_0x56b6a6){const _0x22a2de=_0x248339,_0x3e57ba=this[_0x22a2de(0x373)][_0x22a2de(0x1d3)](ae,this[_0x22a2de(0x26f)],this[_0x22a2de(0x493)],[_0x56b6a6],this[_0x22a2de(0x62f)]);return _0x3e57ba['_schedule'](),_0x3e57ba[_0x22a2de(0x3ae)](),_0x3e57ba;}[_0x248339(0x29b)](_0x28d9ab){const _0xe66656=_0x248339;if(this[_0xe66656(0x558)](_0x28d9ab))return this[_0xe66656(0x373)][_0xe66656(0x1d3)](re,this['unitID'],this[_0xe66656(0x493)],null,[],null,[_0x28d9ab],this[_0xe66656(0x62f)]);try{const _0x9e3a72=this['_transformService'][_0xe66656(0x27e)](_0x28d9ab,[Yn]);if(m[_0xe66656(0x4d3)](_0x9e3a72)){const {c1Prime:_0x499da8}=_0x9e3a72;return this[_0xe66656(0x2d8)](_0x499da8),this;}throw _0x9e3a72[_0xe66656(0x2de)];}catch(_0x4f07af){return this['_logService'][_0xe66656(0x2de)](_0x4f07af),this['_onConflict'](!0x1);}}[_0x248339(0x24c)](_0xd9f7cc){const _0x4b7a42=_0x248339;return this[_0x4b7a42(0x373)][_0x4b7a42(0x1d3)](fe,this[_0x4b7a42(0x26f)],this[_0x4b7a42(0x493)],null,[],this['_handler'],_0xd9f7cc);}[_0x248339(0x3f7)](){const _0x412ffa=_0x248339;throw new Error(_0x412ffa(0x1d7));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x248339(0x563)](){return this;}[_0x248339(0x4cb)](){const _0x4073a0=_0x248339;return this[_0x4073a0(0x373)][_0x4073a0(0x1d3)](ve,this[_0x4073a0(0x26f)],this[_0x4073a0(0x493)],null,[],this[_0x4073a0(0x62f)]);}[_0x248339(0x351)](){return this;}[_0x248339(0x231)](){const _0x2836c6=_0x248339;throw new Error(_0x2836c6(0x189));}['fetchMiss'](){const _0x1e5872=_0x248339,_0x338aee=this['_revisionService'][_0x1e5872(0x628)](this[_0x1e5872(0x26f)]);return this[_0x1e5872(0x62f)][_0x1e5872(0x393)]({'from':_0x338aee,'to':0x0}),this[_0x1e5872(0x373)][_0x1e5872(0x1d3)](re,this[_0x1e5872(0x26f)],this[_0x1e5872(0x493)],null,[],null,[],this[_0x1e5872(0x62f)]);}};Re=Ce([A(0x3,a[_0x248339(0x40a)](m[_0x248339(0x1ce)])),A(0x4,a['Inject'](exports[_0x248339(0x561)])),A(0x5,a[_0x248339(0x40a)](a[_0x248339(0x1bc)])),A(0x6,a[_0x248339(0x236)]),A(0x7,a[_0x248339(0x45b)]),A(0x8,a[_0x248339(0x4b4)]),A(0x9,m[_0x248339(0x2b2)])],Re);let ae=class extends Ee{constructor(_0x20a68d,_0x4b07b9,_0x2bcbc9,_0x4b125c,_0x5d99d8,_0x31c258,_0x123216,_0x176ad2,_0xea8f91,_0x361558,_0x1b46c1,_0x5b2646,_0x56b66b,_0x4f945a){const _0x57a065=_0x248339;super(_0x20a68d,_0x4b07b9,null,_0x2bcbc9,_0x4b125c,_0x361558,_0x4f945a,_0x31c258,_0x123216),I(this,'status',_0x57a065(0x26c)),I(this,_0x57a065(0x30f),null),I(this,_0x57a065(0x3bd),null),(this[_0x57a065(0x373)]=_0x5d99d8,this[_0x57a065(0x571)]=_0x176ad2,this['_logService']=_0xea8f91,this[_0x57a065(0x5cf)]=_0x1b46c1,this[_0x57a065(0x58a)]=_0x5b2646,this[_0x57a065(0x4be)]=_0x56b66b);}[_0x248339(0x425)](_0x1bf606){const _0x24c2df=_0x248339;return this['_pendingMutations'][_0x24c2df(0x3d7)](_0x1bf606),this[_0x24c2df(0x3ae)](),this;}[_0x248339(0x29b)](_0x19accf){const _0x22a97d=_0x248339;if(this[_0x22a97d(0x558)](_0x19accf))return this[_0x22a97d(0x600)](),this[_0x22a97d(0x373)][_0x22a97d(0x1d3)](re,this[_0x22a97d(0x26f)],this[_0x22a97d(0x493)],null,this[_0x22a97d(0x644)],null,[_0x19accf],this[_0x22a97d(0x62f)]);try{const _0x1e1e5a=this[_0x22a97d(0x58a)][_0x22a97d(0x27e)](_0x19accf,this['_pendingMutations']);if(m[_0x22a97d(0x4d3)](_0x1e1e5a)){const {c1Prime:_0x3e3be5,m2Prime:_0x5a1f73}=_0x1e1e5a;this[_0x22a97d(0x2d8)](_0x3e3be5);const _0x4926fa=this[_0x22a97d(0x373)][_0x22a97d(0x1d3)](ae,this[_0x22a97d(0x26f)],this[_0x22a97d(0x493)],_0x5a1f73,this['_handler']);return this['_clearScheduledTask'](),_0x4926fa[_0x22a97d(0x54f)](this['_scheduleTimestamp']?Math[_0x22a97d(0x55d)](0x0,new Date()[_0x22a97d(0x575)]()-this[_0x22a97d(0x30f)]):this['_getSendChangesetTimeout']()),_0x4926fa;}throw _0x1e1e5a[_0x22a97d(0x2de)];}catch(_0x2430f8){return this[_0x22a97d(0x237)][_0x22a97d(0x2de)](_0x2430f8),this[_0x22a97d(0x24c)](!0x1);}}[_0x248339(0x3f7)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x248339(0x536)](){const _0x4f21ca=_0x248339;throw new Error(_0x4f21ca(0x32b));}[_0x248339(0x563)](){return this;}['toggleOffline'](){const _0x1d299c=_0x248339;return this[_0x1d299c(0x600)](),this[_0x1d299c(0x373)][_0x1d299c(0x1d3)](ve,this[_0x1d299c(0x26f)],this[_0x1d299c(0x493)],null,this[_0x1d299c(0x644)],this[_0x1d299c(0x62f)]);}[_0x248339(0x351)](){return this;}[_0x248339(0x54f)](_0x3b75a7){const _0x2ba03c=_0x248339,_0x5f3955=_0x3b75a7!=null?_0x3b75a7:this[_0x2ba03c(0x581)]();this[_0x2ba03c(0x30f)]=new Date()[_0x2ba03c(0x575)](),this[_0x2ba03c(0x3bd)]=window[_0x2ba03c(0x4aa)](()=>{const _0x3d6f15=_0x2ba03c;this[_0x3d6f15(0x600)]();let _0x1a75d8=null;switch(this[_0x3d6f15(0x493)]){case ie['UNIVER_SHEET']:{_0x1a75d8=Vt(this[_0x3d6f15(0x644)],this['unitID'],this[_0x3d6f15(0x4be)],this['_revisionService'],this[_0x3d6f15(0x571)]);break;}case ie[_0x3d6f15(0x35a)]:{this[_0x3d6f15(0x644)][_0x3d6f15(0x361)](_0x4c6dc6=>_0x4c6dc6['id']===ge[_0x3d6f15(0x368)]['id'])?_0x1a75d8=Gn(this[_0x3d6f15(0x644)],this['unitID'],this[_0x3d6f15(0x4be)],this[_0x3d6f15(0x606)],this[_0x3d6f15(0x571)]):_0x1a75d8=Vt(this[_0x3d6f15(0x644)],this[_0x3d6f15(0x26f)],this['_univerInstanceService'],this[_0x3d6f15(0x606)],this[_0x3d6f15(0x571)]);break;}default:throw new Error(_0x3d6f15(0x447)+this[_0x3d6f15(0x493)]+_0x3d6f15(0x421));}const {changeset:_0x2ba160,pendingMutations:_0x319ed2}=_0x1a75d8;this[_0x3d6f15(0x62f)][_0x3d6f15(0x63c)](_0x2ba160);const _0x1122f6=_0x319ed2[_0x3d6f15(0x45e)]?this[_0x3d6f15(0x373)][_0x3d6f15(0x1d3)](ce,this['unitID'],this[_0x3d6f15(0x493)],_0x2ba160,_0x319ed2,this[_0x3d6f15(0x62f)],void 0x0):this['_injector'][_0x3d6f15(0x1d3)](de,this[_0x3d6f15(0x26f)],this[_0x3d6f15(0x493)],_0x2ba160,this[_0x3d6f15(0x62f)]);_0x1122f6[_0x3d6f15(0x3ae)](),this[_0x3d6f15(0x62f)][_0x3d6f15(0x451)](this,_0x1122f6);},_0x5f3955);}[_0x248339(0x581)](){const _0x49e8d0=_0x248339;var _0x2e8b93;const _0x3d3787=this['_configService']['getConfig'](Z);return(_0x2e8b93=_0x3d3787==null?void 0x0:_0x3d3787[_0x49e8d0(0x5b6)])!=null?_0x2e8b93:Ki;}[_0x248339(0x231)](){const _0x20ba94=_0x248339;throw new Error(_0x20ba94(0x613));}[_0x248339(0x600)](){const _0x3d9888=_0x248339;this[_0x3d9888(0x3bd)]!=null&&(clearTimeout(this[_0x3d9888(0x3bd)]),this[_0x3d9888(0x3bd)]=null);}['_onConflict'](_0x41e285){const _0x58088b=_0x248339;return this[_0x58088b(0x600)](),this[_0x58088b(0x373)][_0x58088b(0x1d3)](fe,this[_0x58088b(0x26f)],this['type'],null,this[_0x58088b(0x644)],this[_0x58088b(0x62f)],_0x41e285);}};ae=Ce([A(0x4,a['Inject'](a['Injector'])),A(0x5,a[_0x248339(0x40a)](m[_0x248339(0x1ce)])),A(0x6,a[_0x248339(0x40a)](exports[_0x248339(0x561)])),A(0x7,a[_0x248339(0x40a)](exports[_0x248339(0x595)])),A(0x8,a[_0x248339(0x4b4)]),A(0x9,a['ICommandService']),A(0xa,a[_0x248339(0x4ac)]),A(0xb,m[_0x248339(0x2b2)]),A(0xc,a[_0x248339(0x3bc)]),A(0xd,a['IUndoRedoService'])],ae);let de=class extends Ee{constructor(_0x6d57b5,_0x47506b,_0x56eaf7,_0x35733c,_0x3778e1,_0x5de1ec,_0x1be54,_0x5abb8d,_0x448942,_0x11c407,_0x3a883d){const _0xe994ac=_0x248339;super(_0x6d57b5,_0x47506b,_0x56eaf7,[],_0x35733c,_0x5abb8d,_0x3a883d,_0x5de1ec,_0x1be54),I(this,_0xe994ac(0x27f),_0xe994ac(0x3b0)),I(this,'_resendTimeout',0x0),I(this,_0xe994ac(0x345)),I(this,_0xe994ac(0x56e)),(this['_injector']=_0x3778e1,this[_0xe994ac(0x237)]=_0x448942,this[_0xe994ac(0x58a)]=_0x11c407);}['appendMutation'](_0x5b76cf){const _0x11f8e0=_0x248339;this[_0x11f8e0(0x600)]();const _0x2e2fbf=this[_0x11f8e0(0x373)][_0x11f8e0(0x1d3)](ce,this[_0x11f8e0(0x26f)],this[_0x11f8e0(0x493)],this[_0x11f8e0(0x3b3)],[_0x5b76cf],this[_0x11f8e0(0x62f)],this['_resendTimer']);return _0x2e2fbf['_updateLocalCache'](),_0x2e2fbf;}[_0x248339(0x29b)](_0x1cafe1){const _0x56b01b=_0x248339;if(this[_0x56b01b(0x558)](_0x1cafe1))return this['_clearScheduledTask'](),this[_0x56b01b(0x373)][_0x56b01b(0x1d3)](re,this[_0x56b01b(0x26f)],this[_0x56b01b(0x493)],this[_0x56b01b(0x3b3)],[],null,[_0x1cafe1],this[_0x56b01b(0x62f)]);try{const _0xa09a2c=this[_0x56b01b(0x58a)]['transformChangesets']([_0x1cafe1],[this[_0x56b01b(0x3b3)]],!0x1);if(m['isTransformChangesetsSuccess'](_0xa09a2c)){const {c1Prime:_0x4eb135,c2Prime:_0x4985e6}=_0xa09a2c;this[_0x56b01b(0x2d8)](_0x4eb135[0x0]),_0x4985e6[0x0][_0x56b01b(0x1bd)]=this[_0x56b01b(0x41b)](),this['_clearScheduledTask']();const _0x561f20=this['_injector']['createInstance'](de,this[_0x56b01b(0x26f)],this['type'],_0x4985e6[0x0],this['_handler']);return _0x561f20['_updateLocalCache'](),_0x561f20;}return this[_0x56b01b(0x24c)](!0x1);}catch(_0x37811b){return this[_0x56b01b(0x237)][_0x56b01b(0x2de)](_0x37811b),this[_0x56b01b(0x24c)](!0x1);}}[_0x248339(0x3f7)](_0x591b79){const _0x25dbf5=_0x248339;this[_0x25dbf5(0x600)]();const _0x3da67f=this[_0x25dbf5(0x606)][_0x25dbf5(0x628)](this['unitID']);if(_0x591b79[_0x25dbf5(0x513)]<_0x3da67f-0x1)return this;if(this[_0x25dbf5(0x558)](_0x591b79))return this[_0x25dbf5(0x373)]['createInstance'](re,this[_0x25dbf5(0x26f)],this[_0x25dbf5(0x493)],null,[],this[_0x25dbf5(0x3b3)],[],this['_handler']);this[_0x25dbf5(0x1e0)]();const _0x4a2ff3=this[_0x25dbf5(0x373)][_0x25dbf5(0x1d3)](Re,this['unitID'],this[_0x25dbf5(0x493)],this['_handler']);return _0x4a2ff3[_0x25dbf5(0x3ae)](),_0x4a2ff3;}[_0x248339(0x536)](_0x269e87){const _0x115452=_0x248339;return this[_0x115452(0x24c)](!!(_0x269e87!=null&&_0x269e87[_0x115452(0x55c)]));}[_0x248339(0x563)](_0x369a18){const _0x2b9c52=_0x248339;return this['_resendTimeout']>Pi?this['toggleOffline']():(this[_0x2b9c52(0x345)]=Di(this[_0x2b9c52(0x2d4)],{'timeout':this[_0x2b9c52(0x2d4)],'reqId':_0x369a18[_0x2b9c52(0x4f1)]}),this[_0x2b9c52(0x56e)]=this[_0x2b9c52(0x345)]['subscribe'](({reqId:_0xe1e78d,timeout:_0x39cbfa})=>{const _0x6f0b73=_0x2b9c52;this[_0x6f0b73(0x44b)](_0xe1e78d,_0x39cbfa);}),this);}[_0x248339(0x4cb)](){const _0x39fbd8=_0x248339;return this[_0x39fbd8(0x600)](),this[_0x39fbd8(0x373)][_0x39fbd8(0x1d3)](ve,this[_0x39fbd8(0x26f)],this['type'],this['_awaitingChangeset'],[],this[_0x39fbd8(0x62f)]);}[_0x248339(0x351)](){return this;}[_0x248339(0x231)](){const _0x3adb69=_0x248339;this[_0x3adb69(0x62f)][_0x3adb69(0x63c)](this[_0x3adb69(0x3b3)]);}[_0x248339(0x24c)](_0x92b61d){const _0x3c5740=_0x248339;return this[_0x3c5740(0x600)](),this['_injector']['createInstance'](fe,this[_0x3c5740(0x26f)],this[_0x3c5740(0x493)],this[_0x3c5740(0x3b3)],[],this['_handler'],_0x92b61d);}[_0x248339(0x44b)](_0x29f73f,_0x496eb6){const _0x2b9e67=_0x248339;var _0x45b54c;_0x29f73f===((_0x45b54c=this[_0x2b9e67(0x3b3)])==null?void 0x0:_0x45b54c[_0x2b9e67(0x4f1)])&&(this[_0x2b9e67(0x231)](),this['_resendTimeout']=_0x496eb6===0x0?0x3e8:_0x496eb6*0x2);}[_0x248339(0x600)](){const _0x55605a=_0x248339;var _0x345f2a;(_0x345f2a=this[_0x55605a(0x56e)])==null||_0x345f2a['unsubscribe'](),this[_0x55605a(0x2d4)]=0x0;}};de=Ce([A(0x4,a[_0x248339(0x40a)](a[_0x248339(0x1bc)])),A(0x5,a['Inject'](m[_0x248339(0x1ce)])),A(0x6,a[_0x248339(0x40a)](exports[_0x248339(0x561)])),A(0x7,a['ICommandService']),A(0x8,a[_0x248339(0x4b4)]),A(0x9,m[_0x248339(0x2b2)]),A(0xa,a[_0x248339(0x236)])],de);let ce=class extends Ee{constructor(_0x4f01ff,_0x1c6bae,_0x3a996d,_0x5e4f4a,_0x29a73f,_0x4384f3,_0x10b5e0,_0x1f1def,_0x1dc190,_0x4852a4,_0x50c521,_0x40eac5,_0x57d449){const _0x2d3cce=_0x248339;super(_0x4f01ff,_0x1c6bae,_0x3a996d,_0x5e4f4a,_0x29a73f,_0x4852a4,_0x57d449,_0x1f1def,_0x1dc190),I(this,_0x2d3cce(0x27f),_0x2d3cce(0x4a9)),I(this,'_resendTimeout',0x0),I(this,_0x2d3cce(0x345)),I(this,_0x2d3cce(0x56e)),(this[_0x2d3cce(0x373)]=_0x10b5e0,this[_0x2d3cce(0x237)]=_0x50c521,this[_0x2d3cce(0x58a)]=_0x40eac5,_0x4384f3&&(this['_resendTimer']=_0x4384f3,this[_0x2d3cce(0x56e)]=this[_0x2d3cce(0x345)][_0x2d3cce(0x3da)](({reqId:_0x1fc222,timeout:_0x3fe026})=>{this['_resendWithTimeout'](_0x1fc222,_0x3fe026);})));}[_0x248339(0x425)](_0x18fd42){const _0x2263f1=_0x248339;return this[_0x2263f1(0x644)][_0x2263f1(0x3d7)](_0x18fd42),this;}[_0x248339(0x29b)](_0x9dd26c){const _0x2f66ff=_0x248339;if(this[_0x2f66ff(0x558)](_0x9dd26c))return this[_0x2f66ff(0x600)](),this[_0x2f66ff(0x373)][_0x2f66ff(0x1d3)](re,this['unitID'],this[_0x2f66ff(0x493)],this[_0x2f66ff(0x3b3)],this['_pendingMutations'],null,[_0x9dd26c],this[_0x2f66ff(0x62f)]);try{const _0x4d9afa=this[_0x2f66ff(0x58a)]['transformChangesets']([_0x9dd26c],[this[_0x2f66ff(0x3b3)]],!0x1);if(m[_0x2f66ff(0x323)](_0x4d9afa)){const {c1Prime:_0x31e58d,c2Prime:_0x3860c0}=_0x4d9afa,_0x5bbf92=this['_transformService'][_0x2f66ff(0x27e)](_0x31e58d[0x0],this['_pendingMutations']);if(m['isTransformMutationsWithChangesetSuccess'](_0x5bbf92)){const {c1Prime:_0xfe263b,m2Prime:_0x6cc628}=_0x5bbf92;return this[_0x2f66ff(0x2d8)](_0xfe263b),_0x3860c0[0x0]['baseRev']=this[_0x2f66ff(0x41b)](),this[_0x2f66ff(0x600)](),this[_0x2f66ff(0x373)][_0x2f66ff(0x1d3)](ce,this[_0x2f66ff(0x26f)],this[_0x2f66ff(0x493)],_0x3860c0[0x0],_0x6cc628,this[_0x2f66ff(0x62f)],void 0x0);}throw _0x5bbf92[_0x2f66ff(0x2de)];}throw _0x4d9afa['error'];}catch(_0x2d7742){return this[_0x2f66ff(0x237)][_0x2f66ff(0x2de)](_0x2d7742),this[_0x2f66ff(0x24c)](!0x1);}}[_0x248339(0x3f7)](_0x4c741c){const _0x451f52=_0x248339;if(this[_0x451f52(0x600)](),this['_checkMissing'](_0x4c741c))return this[_0x451f52(0x373)][_0x451f52(0x1d3)](re,this[_0x451f52(0x26f)],this[_0x451f52(0x493)],null,this[_0x451f52(0x644)],this[_0x451f52(0x3b3)],[],this[_0x451f52(0x62f)]);this[_0x451f52(0x1e0)]();const _0x387326=this[_0x451f52(0x373)][_0x451f52(0x1d3)](ae,this['unitID'],this[_0x451f52(0x493)],this[_0x451f52(0x644)],this[_0x451f52(0x62f)]);return _0x387326['_schedule'](),_0x387326[_0x451f52(0x3ae)](),_0x387326;}[_0x248339(0x536)](_0x39af58){const _0x5e576b=_0x248339;return this[_0x5e576b(0x24c)](!!(_0x39af58!=null&&_0x39af58[_0x5e576b(0x55c)]));}['onRemoteRetry'](_0x632e9f){const _0x2049ee=_0x248339;return this[_0x2049ee(0x2d4)]>Pi?this[_0x2049ee(0x4cb)]():(this[_0x2049ee(0x345)]=Di(this[_0x2049ee(0x2d4)],{'timeout':this['_resendTimeout'],'reqId':_0x632e9f[_0x2049ee(0x4f1)]}),this[_0x2049ee(0x56e)]=this['_resendTimer']['subscribe'](({reqId:_0x170332,timeout:_0x514635})=>{const _0x172f28=_0x2049ee;this[_0x172f28(0x44b)](_0x170332,_0x514635);}),this);}[_0x248339(0x4cb)](){const _0x523749=_0x248339;return this[_0x523749(0x600)](),this[_0x523749(0x373)]['createInstance'](ve,this[_0x523749(0x26f)],this[_0x523749(0x493)],this[_0x523749(0x3b3)],this[_0x523749(0x644)],this[_0x523749(0x62f)]);}[_0x248339(0x351)](){return this;}[_0x248339(0x231)](){const _0x189b96=_0x248339;this['_handler'][_0x189b96(0x63c)](this['_awaitingChangeset']);}[_0x248339(0x24c)](_0x890283){const _0x48fafb=_0x248339;return this['_clearScheduledTask'](),this['_injector']['createInstance'](fe,this[_0x48fafb(0x26f)],this[_0x48fafb(0x493)],null,this[_0x48fafb(0x644)],this[_0x48fafb(0x62f)],_0x890283);}[_0x248339(0x44b)](_0x4836ce,_0x3b73eb){const _0x160f19=_0x248339;var _0x32043c;_0x4836ce===((_0x32043c=this['_awaitingChangeset'])==null?void 0x0:_0x32043c[_0x160f19(0x4f1)])&&(this['resend'](),this[_0x160f19(0x2d4)]=_0x3b73eb===0x0?0x3e8:_0x3b73eb*0x2);}[_0x248339(0x600)](){const _0x3705db=_0x248339;var _0x10b5f1;(_0x10b5f1=this[_0x3705db(0x56e)])==null||_0x10b5f1[_0x3705db(0x1de)](),this[_0x3705db(0x2d4)]=0x0;}};ce=Ce([A(0x6,a[_0x248339(0x40a)](a[_0x248339(0x1bc)])),A(0x7,a[_0x248339(0x40a)](m[_0x248339(0x1ce)])),A(0x8,a[_0x248339(0x40a)](exports[_0x248339(0x561)])),A(0x9,a[_0x248339(0x45b)]),A(0xa,a[_0x248339(0x4b4)]),A(0xb,m['ITransformService']),A(0xc,a['IUndoRedoService'])],ce);let fe=class extends Ee{constructor(_0x349ad4,_0x54696c,_0x308ffe,_0x7566c5,_0x507b2d,_0x39e23a=!0x1,_0x52fcd3,_0x3f2ab0,_0x4db19e,_0x40f535,_0x4de957,_0xa23ef6,_0x3399e5){const _0x2e018a=_0x248339;super(_0x349ad4,_0x54696c,_0x308ffe,_0x7566c5,_0x507b2d,_0x3f2ab0,_0x4db19e,_0x4de957,_0x40f535),I(this,_0x2e018a(0x27f),'conflict'),(this[_0x2e018a(0x49d)]=_0x39e23a,this[_0x2e018a(0x55a)]=_0x52fcd3,this[_0x2e018a(0x5cd)]=_0xa23ef6,this[_0x2e018a(0x54a)]=_0x3399e5,this['_showConflictNotification'](),this[_0x2e018a(0x3ef)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x248339(0x29b)](){return this;}[_0x248339(0x3f7)](){return this;}[_0x248339(0x536)](){return this;}[_0x248339(0x563)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}['resend'](){const _0x49e4d3=_0x248339;throw new Error(_0x49e4d3(0x3df));}[_0x248339(0x3ef)](){const _0x448e33=_0x248339;this[_0x448e33(0x269)][_0x448e33(0x2c3)](this[_0x448e33(0x26f)],this[_0x448e33(0x493)],null,[]);}[_0x248339(0x3ea)](){const _0x39cb8a=_0x248339;this[_0x39cb8a(0x49d)]?this[_0x39cb8a(0x54a)][_0x39cb8a(0x4fa)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x39cb8a(0x5cd)]['t'](_0x39cb8a(0x442)),'type':_0x39cb8a(0x2de),'duration':0x0}):this['_notificationService'][_0x39cb8a(0x4fa)]({'title':this['_localeService']['t'](_0x39cb8a(0x619)),'content':this[_0x39cb8a(0x5cd)]['t'](_0x39cb8a(0x352)),'type':'error','duration':0x0});}[_0x248339(0x245)](){const _0x3e8f4f=_0x248339;this[_0x3e8f4f(0x55a)][_0x3e8f4f(0x514)](new k[(_0x3e8f4f(0x426))](this[_0x3e8f4f(0x26f)])['id'],!0x1);}};fe=Ce([A(0x6,a[_0x248339(0x40a)](a[_0x248339(0x559)])),A(0x7,a[_0x248339(0x45b)]),A(0x8,a[_0x248339(0x236)]),A(0x9,a['Inject'](exports[_0x248339(0x561)])),A(0xa,a[_0x248339(0x40a)](m[_0x248339(0x1ce)])),A(0xb,a[_0x248339(0x40a)](a[_0x248339(0x3c9)])),A(0xc,ee['INotificationService'])],fe);let ve=class extends Ee{constructor(_0x4d79cc,_0x1d68d1,_0xe42c43,_0x2fe592,_0x472726,_0x3e7d50,_0x5aaa1a,_0x1533bb,_0x231346,_0x10cb2a){const _0x4f1d8a=_0x248339;super(_0x4d79cc,_0x1d68d1,_0xe42c43,_0x2fe592,_0x472726,_0x231346,_0x10cb2a,_0x5aaa1a,_0x1533bb),I(this,_0x4f1d8a(0x27f),_0x4f1d8a(0x593)),this['_injector']=_0x3e7d50;}[_0x248339(0x425)](_0x2b0ad5){const _0x355305=_0x248339;return this[_0x355305(0x644)][_0x355305(0x3d7)](_0x2b0ad5),this[_0x355305(0x3ae)](),this;}[_0x248339(0x29b)](_0x49b89f){const _0x15ece3=_0x248339;throw new Error(_0x15ece3(0x48c));}[_0x248339(0x3f7)](){const _0x44ddc2=_0x248339;throw new Error(_0x44ddc2(0x399));}[_0x248339(0x536)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x248339(0x563)](){return this;}['toggleOffline'](){return this;}[_0x248339(0x351)](){const _0x1c44e5=_0x248339,{_injector:_0x19109f,_pendingMutations:_0x360b85,_awaitingChangeset:_0x2c64f3,unitID:_0x22b3c4,_handler:_0x5410fe,type:_0x4d3628}=this,_0x45cb36=wi(_0x19109f,_0x22b3c4,_0x4d3628,_0x2c64f3,_0x360b85,_0x5410fe);return _0x45cb36 instanceof ae?_0x45cb36[_0x1c44e5(0x54f)]():(_0x45cb36 instanceof ce||_0x45cb36 instanceof de)&&_0x45cb36[_0x1c44e5(0x231)](),_0x45cb36;}[_0x248339(0x231)](){const _0x960c59=_0x248339;throw new Error(_0x960c59(0x386));}};ve=Ce([A(0x5,a['Inject'](a[_0x248339(0x1bc)])),A(0x6,a[_0x248339(0x40a)](m[_0x248339(0x1ce)])),A(0x7,a[_0x248339(0x40a)](exports['LocalCacheService'])),A(0x8,a[_0x248339(0x45b)]),A(0x9,a[_0x248339(0x236)])],ve);let re=class extends Ee{constructor(_0x30ce47,_0xcc360a,_0xb3cc1a,_0x4406af,_0x2ee06e,_0x4db5f4,_0xf7df24,_0x58ff20,_0x3e57fd,_0xa9572b,_0xcabf99,_0x12a182,_0x167ecd,_0x5a3a31){const _0x5ead7a=_0x248339;super(_0x30ce47,_0xcc360a,_0xb3cc1a,_0x4406af,_0xf7df24,_0x12a182,_0x167ecd,_0x3e57fd,_0xa9572b),I(this,_0x5ead7a(0x27f),_0x5ead7a(0x32a)),(this['_acknowledgedAwaitingChangeset']=_0x2ee06e,this[_0x5ead7a(0x5cc)]=_0x4db5f4,this['_injector']=_0x58ff20,this[_0x5ead7a(0x237)]=_0xcabf99,this[_0x5ead7a(0x58a)]=_0x5a3a31);}[_0x248339(0x3fc)](_0x109991){const _0x50de0e=_0x248339;try{const _0x5e5620=[..._0x109991,...this[_0x50de0e(0x5cc)]],_0x22bdaa=[this[_0x50de0e(0x3b3)]||this[_0x50de0e(0x565)]][_0x50de0e(0x398)](_0x431bbb=>!!_0x431bbb);let _0x119325,_0x5b5b9d;if(_0x22bdaa[_0x50de0e(0x45e)]){const _0x10dc0a=this['_transformService'][_0x50de0e(0x47d)](_0x5e5620,_0x22bdaa,!0x1);if(!m[_0x50de0e(0x323)](_0x10dc0a))throw _0x10dc0a['error'];_0x119325=_0x10dc0a['c1Prime'],_0x5b5b9d=_0x10dc0a['c2Prime'];}else _0x119325=_0x5e5620,_0x5b5b9d=[];let _0x290b5c=this['_pendingMutations'];_0x119325[_0x50de0e(0x343)](_0x2d0e32=>{const _0x457431=_0x50de0e;let _0x3e304e;if(_0x290b5c[_0x457431(0x45e)]){const _0x304b35=this[_0x457431(0x58a)]['transformMutationsWithChangeset'](_0x2d0e32,_0x290b5c);if(!m[_0x457431(0x4d3)](_0x304b35))throw _0x304b35[_0x457431(0x2de)];_0x3e304e=_0x304b35[_0x457431(0x458)],_0x290b5c=_0x304b35[_0x457431(0x211)];}else _0x3e304e=_0x2d0e32;this[_0x457431(0x2d8)](_0x3e304e);}),this['_acknowledgedAwaitingChangeset']&&this[_0x50de0e(0x1e0)](),this['_awaitingChangeset']&&_0x5b5b9d[_0x50de0e(0x45e)]&&(_0x5b5b9d[0x0][_0x50de0e(0x1bd)]=this[_0x50de0e(0x41b)]());let _0x5542a8;if(this[_0x50de0e(0x3b3)]&&_0x290b5c[_0x50de0e(0x45e)]!==0x0)_0x5542a8=this[_0x50de0e(0x373)][_0x50de0e(0x1d3)](ce,this[_0x50de0e(0x26f)],this[_0x50de0e(0x493)],_0x5b5b9d[0x0],_0x290b5c,this[_0x50de0e(0x62f)],void 0x0);else{if(this[_0x50de0e(0x3b3)]&&_0x290b5c[_0x50de0e(0x45e)]===0x0)_0x5b5b9d[0x0]['baseRev']=this[_0x50de0e(0x41b)](),_0x5542a8=this[_0x50de0e(0x373)][_0x50de0e(0x1d3)](de,this[_0x50de0e(0x26f)],this[_0x50de0e(0x493)],_0x5b5b9d[0x0],this[_0x50de0e(0x62f)]);else{if(_0x290b5c['length']!==0x0){const _0x55a0b0=this[_0x50de0e(0x373)][_0x50de0e(0x1d3)](ae,this[_0x50de0e(0x26f)],this[_0x50de0e(0x493)],_0x290b5c,this[_0x50de0e(0x62f)]);_0x55a0b0[_0x50de0e(0x54f)](),_0x5542a8=_0x55a0b0;}else _0x5542a8=this[_0x50de0e(0x373)][_0x50de0e(0x1d3)](Re,this[_0x50de0e(0x26f)],this[_0x50de0e(0x493)],this['_handler']);}}return _0x5542a8['_updateLocalCache'](),_0x5542a8;}catch(_0x449180){return this[_0x50de0e(0x237)][_0x50de0e(0x2de)](_0x50de0e(0x460),_0x50de0e(0x2cf),_0x449180),this[_0x50de0e(0x373)][_0x50de0e(0x1d3)](fe,this[_0x50de0e(0x26f)],this[_0x50de0e(0x493)],this[_0x50de0e(0x3b3)],this[_0x50de0e(0x644)],this['_handler'],!0x1);}}[_0x248339(0x231)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0xec0485){const _0x5e78d6=_0x248339;return this[_0x5e78d6(0x644)]['push'](_0xec0485),this;}[_0x248339(0x29b)](_0x5c8ffb){const _0x274513=_0x248339;return this[_0x274513(0x5cc)]['push'](_0x5c8ffb),this;}[_0x248339(0x3f7)](_0x49bf49){const _0x882838=_0x248339;if(this[_0x882838(0x3b3)])return this[_0x882838(0x565)]=this[_0x882838(0x3b3)],this[_0x882838(0x3b3)]=null,this;throw new Error(_0x882838(0x5fb));}[_0x248339(0x536)](_0x2ad75d){const _0x5757d0=_0x248339;return this[_0x5757d0(0x24c)](!!(_0x2ad75d!=null&&_0x2ad75d['isPermissionRej']));}[_0x248339(0x563)](){return this;}[_0x248339(0x4cb)](){const _0x1188a4=_0x248339;return this[_0x1188a4(0x373)][_0x1188a4(0x1d3)](ve,this[_0x1188a4(0x26f)],this['type'],this[_0x1188a4(0x3b3)],this['_pendingMutations'],this[_0x1188a4(0x62f)]);}[_0x248339(0x351)](){return this;}[_0x248339(0x24c)](_0x11ea91){const _0xb1af9f=_0x248339;return this[_0xb1af9f(0x373)][_0xb1af9f(0x1d3)](fe,this[_0xb1af9f(0x26f)],this['type'],this[_0xb1af9f(0x3b3)],this[_0xb1af9f(0x644)],this['_handler'],_0x11ea91);}};re=Ce([A(0x7,a[_0x248339(0x40a)](a[_0x248339(0x1bc)])),A(0x8,a['Inject'](m[_0x248339(0x1ce)])),A(0x9,a['Inject'](exports[_0x248339(0x561)])),A(0xa,a[_0x248339(0x4b4)]),A(0xb,a[_0x248339(0x45b)]),A(0xc,a[_0x248339(0x236)]),A(0xd,m[_0x248339(0x2b2)])],re);function wi(_0x5865c8,_0x174db6,_0x8a0d50,_0x5210e6,_0xea0273,_0xb58560){const _0x2d02c3=_0x248339;return _0x5210e6&&_0xea0273[_0x2d02c3(0x45e)]?_0x5865c8[_0x2d02c3(0x1d3)](ce,_0x174db6,_0x8a0d50,_0x5210e6,_0xea0273,_0xb58560,void 0x0):_0x5210e6?_0x5865c8['createInstance'](de,_0x174db6,_0x8a0d50,_0x5210e6,_0xb58560):_0xea0273['length']?_0x5865c8[_0x2d02c3(0x1d3)](ae,_0x174db6,_0x8a0d50,_0xea0273,_0xb58560):_0x5865c8[_0x2d02c3(0x1d3)](Re,_0x174db6,_0x8a0d50,_0xb58560);}var zn=Object['defineProperty'],Xn=Object[_0x248339(0x3a7)],Mt=(_0x532792,_0x1fa086,_0x3a1b05,_0x1d49dc)=>{const _0x5be8a9=_0x248339;for(var _0x393b3c=_0x1d49dc>0x1?void 0x0:_0x1d49dc?Xn(_0x1fa086,_0x3a1b05):_0x1fa086,_0x5e3156=_0x532792[_0x5be8a9(0x45e)]-0x1,_0x1831ef;_0x5e3156>=0x0;_0x5e3156--)(_0x1831ef=_0x532792[_0x5e3156])&&(_0x393b3c=(_0x1d49dc?_0x1831ef(_0x1fa086,_0x3a1b05,_0x393b3c):_0x1831ef(_0x393b3c))||_0x393b3c);return _0x1d49dc&&_0x393b3c&&zn(_0x1fa086,_0x3a1b05,_0x393b3c),_0x393b3c;},H=(_0xed06c9,_0xcee8d1)=>(_0x3d98b3,_0x3f4ceb)=>_0xcee8d1(_0x3d98b3,_0x3f4ceb,_0xed06c9);exports['CollaborationEntity']=class extends a[_0x248339(0x412)]{constructor(_0x3d04c6,_0x32f8ff,_0x31ad88,_0x50d79a,_0x285dbb,_0x12db6d,_0xcc8dc8,_0x43506c,_0x3fdcac,_0x25176c,_0x2fb040,_0xc2a4c,_0x100a00){const _0x3336bb=_0x248339;super(),I(this,_0x3336bb(0x590),new N['BehaviorSubject'](null)),I(this,_0x3336bb(0x3ba),this[_0x3336bb(0x590)][_0x3336bb(0x366)]()),I(this,_0x3336bb(0x266)),I(this,'_collaborationPaused',!0x1),I(this,'_changesetSessionId',''),I(this,_0x3336bb(0x5c8),0x0),I(this,_0x3336bb(0x64c),this[_0x3336bb(0x3ba)][_0x3336bb(0x41e)](N[_0x3336bb(0x348)](_0x2b4704=>_0x2b4704?_0x2b4704['status']:K[_0x3336bb(0x5fe)]),N['shareReplay'](0x1))),I(this,_0x3336bb(0x24f),!0x1),I(this,_0x3336bb(0x645),[]),(this[_0x3336bb(0x26f)]=_0x3d04c6,this[_0x3336bb(0x4e6)]=_0x32f8ff,this['_type']=_0x31ad88,this[_0x3336bb(0x373)]=_0x50d79a,this['_localCacheService']=_0x285dbb,this[_0x3336bb(0x1ca)]=_0x12db6d,this[_0x3336bb(0x5cd)]=_0xcc8dc8,this[_0x3336bb(0x606)]=_0x43506c,this[_0x3336bb(0x237)]=_0x3fdcac,this[_0x3336bb(0x2e2)]=_0x25176c,this[_0x3336bb(0x2ab)]=_0x2fb040,this['_permissionService']=_0xc2a4c,this[_0x3336bb(0x3bf)]=_0x100a00);}get['state'](){return this['_state'];}async[_0x248339(0x313)](){const _0xcc0ea4=_0x248339;if(this[_0xcc0ea4(0x31d)])throw new Error(_0xcc0ea4(0x31c));await this[_0xcc0ea4(0x1fa)]();}[_0x248339(0x52c)](){const _0x189f22=_0x248339;return this[_0x189f22(0x478)]=!0x0,a['toDisposable'](()=>{const _0x46f6ce=_0x189f22;this[_0x46f6ce(0x478)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x248339(0x5b0)](_0x489ffe){const _0x3a3f30=_0x248339;this[_0x3a3f30(0x266)]=_0x489ffe,this[_0x3a3f30(0x590)][_0x3a3f30(0x423)](_0x489ffe);}async['_init'](){const _0x2789fc=_0x248339;var _0x364d8e;this[_0x2789fc(0x5b0)](await this[_0x2789fc(0x35b)]()),this[_0x2789fc(0x3bf)]&&((_0x364d8e=this[_0x2789fc(0x3bf)])==null||_0x364d8e['editingUnit'](this[_0x2789fc(0x26f)]),this[_0x2789fc(0x1d6)](this[_0x2789fc(0x3bf)]['getUnitStatus$'](this[_0x2789fc(0x26f)])[_0x2789fc(0x3da)](_0x48b49f=>{const _0x405019=_0x2789fc;this[_0x405019(0x237)]['debug'](_0x405019(0x2ba),'editing\x20status\x20changed\x20to',_0x48b49f),_0x48b49f===yi[_0x405019(0x1fb)]?(this[_0x405019(0x2ab)][_0x405019(0x4fa)]({'content':this[_0x405019(0x5cd)]['t'](_0x405019(0x25d)),'type':Ie[_0x405019(0x550)][_0x405019(0x43b)]}),this[_0x405019(0x55a)][_0x405019(0x514)](new k[(_0x405019(0x426))](this[_0x405019(0x26f)])['id'],!0x1),this[_0x405019(0x55a)][_0x405019(0x42d)](!0x1)):(this[_0x405019(0x55a)]['updatePermissionPoint'](new k[(_0x405019(0x426))](this[_0x405019(0x26f)])['id'],!0x0),this[_0x405019(0x55a)][_0x405019(0x42d)](!0x0));})));let _0x21c5ec=!0x1;return this[_0x2789fc(0x1d6)](this[_0x2789fc(0x4e6)][_0x2789fc(0x46a)][_0x2789fc(0x3da)](_0x31ef68=>{const _0x9b740=_0x2789fc;_0x31ef68===ne[_0x9b740(0x385)]?this[_0x9b740(0x34f)](_0x21c5ec):_0x31ef68===ne['OFFLINE']&&(_0x21c5ec=!0x0,this[_0x9b740(0x3b5)]());})),this[_0x2789fc(0x1d6)](this[_0x2789fc(0x4e6)][_0x2789fc(0x2ea)][_0x2789fc(0x3da)](_0x2e40c0=>{const _0x2b43ab=_0x2789fc;try{switch(_0x2e40c0['eventID']){case m[_0x2b43ab(0x1e6)][_0x2b43ab(0x31f)]:{this[_0x2b43ab(0x629)](m['parseProtocolChangeset'](_0x2e40c0['data']));break;}case m[_0x2b43ab(0x1e6)][_0x2b43ab(0x21d)]:{this[_0x2b43ab(0x4af)](_0x2e40c0[_0x2b43ab(0x298)]);break;}case m['CollaborationEvent'][_0x2b43ab(0x26b)]:{this['_onRemoteRejected']();break;}case m[_0x2b43ab(0x1e6)][_0x2b43ab(0x199)]:{this['_onRemoteRetry'](_0x2e40c0[_0x2b43ab(0x298)]);break;}case m[_0x2b43ab(0x1e6)]['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x2e40c0[_0x2b43ab(0x298)][_0x2b43ab(0x3b9)][_0x2b43ab(0x348)](_0x5e8cbf=>m[_0x2b43ab(0x1f2)](_0x5e8cbf)));break;}case m[_0x2b43ab(0x1e6)][_0x2b43ab(0x529)]:this[_0x2b43ab(0x1d8)]({'isPermissionRej':!0x0});}}catch(_0x3e32a8){throw console[_0x2b43ab(0x2de)](_0x2b43ab(0x1e9),_0x3e32a8),_0x3e32a8;}})),this[_0x2789fc(0x266)];}['_unlockTransition'](){const _0x5bf628=_0x248339;this[_0x5bf628(0x24f)]=!0x1;}['_lockTransition'](){const _0x37eb93=_0x248339;if(this[_0x37eb93(0x24f)])throw new Error(_0x37eb93(0x1ee));this[_0x37eb93(0x24f)]=!0x0;}[_0x248339(0x32e)](_0x43e867){const _0x41f576=_0x248339;this[_0x41f576(0x21e)](),this['_updateState'](this['_state']['appendMutation'](_0x43e867)),this[_0x41f576(0x4fb)]();}[_0x248339(0x629)](_0x122a21){const _0x1ef89d=_0x248339;if(!(_0x122a21['revision']<=this[_0x1ef89d(0x606)][_0x1ef89d(0x628)](this['unitID']))){if(this[_0x1ef89d(0x478)]){this[_0x1ef89d(0x645)][_0x1ef89d(0x3d7)](_0x122a21);return;}this[_0x1ef89d(0x223)](_0x122a21);}}[_0x248339(0x2f8)](){const _0x3f74ee=_0x248339;this[_0x3f74ee(0x645)][_0x3f74ee(0x343)](_0xed2b20=>this['_applyRemoteChangeset'](_0xed2b20)),this[_0x3f74ee(0x645)]=[];}['_applyRemoteChangeset'](_0x32be14){const _0xeefcea=_0x248339,_0x3f80d7=this['_compressMutationService'][_0xeefcea(0x502)][_0xeefcea(0x280)](this[_0xeefcea(0x1ca)][_0xeefcea(0x502)]['getInterceptPoints']()[_0xeefcea(0x504)])(_0x32be14[_0xeefcea(0x229)],null)||_0x32be14[_0xeefcea(0x229)],_0x3471bd={..._0x32be14,'mutations':_0x3f80d7};this[_0xeefcea(0x21e)](),this[_0xeefcea(0x5b0)](this[_0xeefcea(0x266)][_0xeefcea(0x29b)](_0x3471bd)),this[_0xeefcea(0x4fb)]();}[_0x248339(0x4af)](_0x462204){const _0x4fbf7b=_0x248339;this['_lockTransition'](),this['_updateState'](this[_0x4fbf7b(0x266)]['onRemoteAck'](_0x462204)),this[_0x4fbf7b(0x4fb)]();}['_onRemoteRejected'](_0x5095b1){const _0x11071f=_0x248339;this[_0x11071f(0x21e)](),this[_0x11071f(0x5b0)](this[_0x11071f(0x266)][_0x11071f(0x536)](_0x5095b1)),this[_0x11071f(0x4fb)]();}[_0x248339(0x579)](_0x289db8){const _0x53577c=_0x248339;this[_0x53577c(0x21e)](),this[_0x53577c(0x5b0)](this[_0x53577c(0x266)][_0x53577c(0x563)](_0x289db8)),this[_0x53577c(0x4fb)]();}[_0x248339(0x360)](_0x453110){const _0x1c9d60=_0x248339;if(!(this[_0x1c9d60(0x266)]instanceof re))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x489c3c=_0x453110[_0x1c9d60(0x348)](_0x477bdf=>{const _0x16e38b=_0x1c9d60,_0x43c827=this['_compressMutationService'][_0x16e38b(0x502)][_0x16e38b(0x280)](this[_0x16e38b(0x1ca)][_0x16e38b(0x502)][_0x16e38b(0x487)]()[_0x16e38b(0x504)])(_0x477bdf['mutations'],null)||_0x477bdf[_0x16e38b(0x229)];return{..._0x477bdf,'mutations':_0x43c827};});this[_0x1c9d60(0x21e)](),this[_0x1c9d60(0x5b0)](this[_0x1c9d60(0x266)][_0x1c9d60(0x3fc)](_0x489c3c)),this[_0x1c9d60(0x4fb)]();}[_0x248339(0x3b5)](){const _0x5ddcdd=_0x248339;this[_0x5ddcdd(0x21e)](),this[_0x5ddcdd(0x5b0)](this['_state'][_0x5ddcdd(0x4cb)]()),this[_0x5ddcdd(0x4fb)]();}[_0x248339(0x34f)](_0x1292a7=!0x1){const _0xd134c=_0x248339;this[_0xd134c(0x21e)](),this['_updateState'](this[_0xd134c(0x266)][_0xd134c(0x351)]()),this[_0xd134c(0x4fb)]();const _0x4fca07=this['_state'];_0x1292a7&&_0x4fca07 instanceof Re&&(this[_0xd134c(0x21e)](),this[_0xd134c(0x5b0)](_0x4fca07[_0xd134c(0x4e3)]()),this[_0xd134c(0x4fb)]());}async[_0x248339(0x35b)](){return new Promise(_0x58fdc0=>{const _0x2dc1ef=_0x2ee7;this['session'][_0x2dc1ef(0x46a)][_0x2dc1ef(0x41e)](N[_0x2dc1ef(0x206)](0x1))['subscribe'](async _0x3667e1=>{const _0x32e841=_0x2dc1ef;_0x58fdc0(await this['_createInitialStateImpl'](_0x3667e1===ne[_0x32e841(0x385)]));});});}[_0x248339(0x4ee)](){const _0x44833e=_0x248339,_0x271a84=this[_0x44833e(0x26f)];return{'onStateChange':(_0x4bf031,_0x3de89a)=>{const _0x2d1373=_0x44833e;if(_0x4bf031!==this[_0x2d1373(0x266)])throw new Error(_0x2d1373(0x2fb)+_0x4bf031['status']+_0x2d1373(0x37b)+_0x3de89a[_0x2d1373(0x27f)]+_0x2d1373(0x59d)+this[_0x2d1373(0x266)][_0x2d1373(0x27f)]);this['_updateState'](_0x3de89a);},'onSendChangeset':_0x4ae0f6=>{const _0x1dae1a=_0x44833e;_0x4ae0f6['sid']||(_0x4ae0f6[_0x1dae1a(0x23e)]=this[_0x1dae1a(0x332)],_0x4ae0f6[_0x1dae1a(0x4f1)]=++this[_0x1dae1a(0x5c8)]);const _0x2892a5={'eventID':m[_0x1dae1a(0x1e6)][_0x1dae1a(0x3b8)],'data':{'unitID':_0x4ae0f6[_0x1dae1a(0x26f)],'unitType':this[_0x1dae1a(0x1f6)],'changeset':_0x4ae0f6,'memberID':this['session'][_0x1dae1a(0x30b)]()}};this['session'][_0x1dae1a(0x534)](_0x2892a5,this['unitID']);},'onMissingChangesets':({from:_0x40781e,to:_0x4aa1a0})=>{const _0x55ef3d=_0x44833e;this[_0x55ef3d(0x237)]['debug'](_0x55ef3d(0x2ba),_0x55ef3d(0x5bc)+_0x40781e+_0x55ef3d(0x251)+_0x4aa1a0);const _0x9b15c9={'eventID':m[_0x55ef3d(0x1e6)][_0x55ef3d(0x19e)],'data':{'unitID':_0x271a84,'unitType':this[_0x55ef3d(0x1f6)],'from':_0x40781e,'to':_0x4aa1a0}};this['session'][_0x55ef3d(0x534)](_0x9b15c9,this[_0x55ef3d(0x26f)]);}};}async['_createInitialStateImpl'](_0x4a6145){const _0x1ef671=_0x248339;var _0x5b9644,_0x5e0e99;const _0x231698=await this[_0x1ef671(0x269)][_0x1ef671(0x1cb)](this[_0x1ef671(0x26f)]),_0x424f08=(_0x5b9644=_0x231698==null?void 0x0:_0x231698['mutations'])!=null?_0x5b9644:[],_0x2a2e59=(_0x5e0e99=_0x231698==null?void 0x0:_0x231698[_0x1ef671(0x362)])!=null?_0x5e0e99:null,_0x527e70=!!(_0x2a2e59!=null&&_0x2a2e59[_0x1ef671(0x23e)])&&!!(_0x2a2e59!=null&&_0x2a2e59[_0x1ef671(0x4f1)]);this['_changesetSessionId']=_0x527e70?_0x2a2e59[_0x1ef671(0x23e)]:Rn(),this[_0x1ef671(0x5c8)]=_0x527e70?_0x2a2e59['reqId']:0x0;const _0x4e9c17=this[_0x1ef671(0x26f)];try{this['_replayCachedMutations'](_0x2a2e59,_0x424f08);}catch(_0xbd2cf7){this[_0x1ef671(0x237)]['error'](_0xbd2cf7);}const _0x8f7b93=this[_0x1ef671(0x4ee)]();if(_0x4a6145){const _0x7c7878=wi(this[_0x1ef671(0x373)],_0x4e9c17,this[_0x1ef671(0x1f6)],_0x2a2e59,_0x424f08,_0x8f7b93);return _0x7c7878 instanceof ae?_0x7c7878[_0x1ef671(0x54f)]():(_0x7c7878 instanceof ce||_0x7c7878 instanceof de)&&_0x7c7878[_0x1ef671(0x231)](),_0x7c7878;}return this['_injector'][_0x1ef671(0x1d3)](ve,_0x4e9c17,this['_type'],_0x2a2e59,_0x424f08,_0x8f7b93);}[_0x248339(0x612)](_0x5e1f87,_0x2e45d5){const _0x338fda=_0x248339;var _0x2780b5,_0x49dcab;const _0x2f89da=this[_0x338fda(0x1ca)][_0x338fda(0x502)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x338fda(0x502)][_0x338fda(0x487)]()['COMPRESS_MUTATION_APPLY']);(_0x2780b5=_0x2f89da((_0x5e1f87==null?void 0x0:_0x5e1f87['mutations'])||[],null))==null||_0x2780b5[_0x338fda(0x343)](_0x3c6976=>this[_0x338fda(0x2e2)][_0x338fda(0x2f9)](_0x3c6976['id'],_0x3c6976[_0x338fda(0x601)])),(_0x49dcab=_0x2f89da(_0x2e45d5||[],null))==null||_0x49dcab['forEach'](_0x3d0703=>this['_commandService'][_0x338fda(0x2f9)](_0x3d0703['id'],_0x3d0703[_0x338fda(0x601)]));}},exports['CollaborationEntity']=Mt([H(0x3,a['Inject'](a[_0x248339(0x1bc)])),H(0x4,a[_0x248339(0x40a)](exports['LocalCacheService'])),H(0x5,a['Inject'](m[_0x248339(0x448)])),H(0x6,a[_0x248339(0x40a)](a[_0x248339(0x3c9)])),H(0x7,a[_0x248339(0x40a)](m['RevisionService'])),H(0x8,a[_0x248339(0x4b4)]),H(0x9,a[_0x248339(0x45b)]),H(0xa,ee[_0x248339(0x4b2)]),H(0xb,a[_0x248339(0x559)]),H(0xc,a['Optional'](ot))],exports[_0x248339(0x335)]),exports[_0x248339(0x29a)]=class extends exports[_0x248339(0x335)]{constructor(_0x1031e4,_0x412dcb,_0x42063c,_0x2ee729,_0x463f8c,_0x3ca61f,_0x38a8be,_0x4209ab,_0x2c2272,_0x134172,_0x2c59a6,_0x2635da,_0x163651,_0x3036c9,_0x295071,_0x21f217,_0x2463d8,_0x4fe040){const _0x55ccf2=_0x248339;super(_0x1031e4,_0x42063c,_0x412dcb,_0x2ee729,_0x463f8c,_0x3ca61f,_0x38a8be,_0x4209ab,_0x3036c9,_0x295071,_0x21f217,_0x2463d8,_0x4fe040),this[_0x55ccf2(0x26f)]=_0x1031e4,this[_0x55ccf2(0x493)]=_0x412dcb,this[_0x55ccf2(0x2dd)]=_0x2c2272,this[_0x55ccf2(0x5eb)]=_0x134172,this[_0x55ccf2(0x461)]=_0x2c59a6,this[_0x55ccf2(0x274)]=_0x2635da,this['_docSyncEditingCollabCursorService']=_0x163651;}['_createHandler'](){const _0x59d50a=_0x248339,_0x1de821=super[_0x59d50a(0x4ee)]();return _0x1de821[_0x59d50a(0x3f0)]=_0x13d2ea=>this[_0x59d50a(0x5eb)][_0x59d50a(0x2ca)](_0x13d2ea),_0x1de821[_0x59d50a(0x4a1)]=_0x10b972=>this['_docTransformStateCacheService'][_0x59d50a(0x357)](_0x10b972),_0x1de821[_0x59d50a(0x52f)]=_0xd8558=>this['_docTransformSelectionsService'][_0x59d50a(0x2b8)](_0xd8558),_0x1de821[_0x59d50a(0x5c9)]=_0x51928c=>this[_0x59d50a(0x318)]['syncEditingCollabCursor'](_0x51928c),_0x1de821[_0x59d50a(0x411)]=_0x5b1d92=>this['_docTransformIMECacheService'][_0x59d50a(0x210)](_0x5b1d92),_0x1de821[_0x59d50a(0x58f)]=_0x14b2c1=>this[_0x59d50a(0x461)][_0x59d50a(0x210)](_0x14b2c1),_0x1de821;}async['_init'](){const _0x160b2b=_0x248339,_0x24dc90=await super[_0x160b2b(0x1fa)]();return this[_0x160b2b(0x1d6)](this[_0x160b2b(0x2dd)][_0x160b2b(0x446)][_0x160b2b(0x41e)](N['takeUntil'](this[_0x160b2b(0x40b)]))[_0x160b2b(0x3da)](_0x126f4b=>{const _0x5b91be=_0x160b2b;if(_0x126f4b==null)return;const {unitId:_0x58f8e4,redoState:_0x4117b1,commandId:_0x60d28c}=_0x126f4b;if(_0x58f8e4!==this[_0x5b91be(0x26f)])return;const _0x42f06f={'id':_0x60d28c,'type':a[_0x5b91be(0x23b)]['MUTATION'],'params':{'unitId':_0x58f8e4,'actions':_0x4117b1[_0x5b91be(0x308)],'textRanges':null}};this[_0x5b91be(0x32e)](_0x42f06f);})),this[_0x160b2b(0x1d6)](this[_0x160b2b(0x2e2)][_0x160b2b(0x510)]((_0x4aeb51,_0x39f5e8)=>{const _0xc63b92=_0x160b2b;if(_0x4aeb51[_0xc63b92(0x493)]!==a[_0xc63b92(0x23b)][_0xc63b92(0x311)]||_0x39f5e8!=null&&_0x39f5e8['fromCollab']||_0x39f5e8!=null&&_0x39f5e8[_0xc63b92(0x36a)]||_0x4aeb51['id']===ge['RichTextEditingMutation']['id'])return;const _0x2dbc0d=_0x4aeb51[_0xc63b92(0x601)];if((_0x2dbc0d==null?void 0x0:_0x2dbc0d[_0xc63b92(0x57b)])!==this[_0xc63b92(0x26f)])return;const _0x5d2ba1=_0x4aeb51,_0x292133=this[_0xc63b92(0x1ca)][_0xc63b92(0x502)]['fetchThroughInterceptors'](this[_0xc63b92(0x1ca)][_0xc63b92(0x502)]['getInterceptPoints']()[_0xc63b92(0x1db)])([_0x5d2ba1],null)||[_0x5d2ba1];this[_0xc63b92(0x32e)](_0x292133[0x0]);})),_0x24dc90;}},exports['DocCollaborationEntity']=Mt([H(0x3,a[_0x248339(0x40a)](a[_0x248339(0x1bc)])),H(0x4,a[_0x248339(0x40a)](exports[_0x248339(0x561)])),H(0x5,a['Inject'](m[_0x248339(0x448)])),H(0x6,a[_0x248339(0x40a)](a[_0x248339(0x3c9)])),H(0x7,a['Inject'](m[_0x248339(0x1ce)])),H(0x8,a['Inject'](J[_0x248339(0x230)])),H(0x9,a[_0x248339(0x40a)](Je)),H(0xa,a[_0x248339(0x40a)](Qe)),H(0xb,a['Inject'](et)),H(0xc,a[_0x248339(0x40a)](Ut)),H(0xd,a[_0x248339(0x4b4)]),H(0xe,a['ICommandService']),H(0xf,ee['IMessageService']),H(0x10,a['IPermissionService']),H(0x11,a[_0x248339(0x276)](ot))],exports['DocCollaborationEntity']),exports[_0x248339(0x2ee)]=class extends exports[_0x248339(0x335)]{constructor(_0x2bce01,_0x58188a,_0x54e5a4,_0x196736,_0x2c7cfa,_0x1b4862,_0x2a976b,_0xb67a,_0x15f29f,_0x17be00,_0x4eb23c,_0x515141,_0x4d27be,_0x4da33a){const _0x35da36=_0x248339;super(_0x2bce01,_0x54e5a4,_0x58188a,_0x196736,_0x2c7cfa,_0x1b4862,_0x2a976b,_0xb67a,_0x17be00,_0x4eb23c,_0x515141,_0x4d27be,_0x4da33a),this[_0x35da36(0x26f)]=_0x2bce01,this[_0x35da36(0x493)]=_0x58188a,this['_sheetTransformSelectionsService']=_0x15f29f;}[_0x248339(0x4ee)](){const _0xdf206a=_0x248339,_0x2922f7=super[_0xdf206a(0x4ee)]();return _0x2922f7[_0xdf206a(0x52f)]=_0x50e62c=>this[_0xdf206a(0x5d3)][_0xdf206a(0x2b8)](_0x50e62c),_0x2922f7;}async[_0x248339(0x1fa)](){const _0x921217=_0x248339,_0x4962af=await super[_0x921217(0x1fa)]();return this[_0x921217(0x1d6)](this[_0x921217(0x2e2)][_0x921217(0x510)]((_0x129727,_0x33b07f)=>{const _0x3ae00c=_0x921217;if(_0x129727[_0x3ae00c(0x493)]!==a['CommandType']['MUTATION']||_0x33b07f!=null&&_0x33b07f[_0x3ae00c(0x2bf)]||_0x33b07f!=null&&_0x33b07f['onlyLocal'])return;const _0x46f600=_0x129727[_0x3ae00c(0x601)];if((_0x46f600==null?void 0x0:_0x46f600[_0x3ae00c(0x57b)])!==this[_0x3ae00c(0x26f)])return;const _0x1fa8bb=_0x129727,_0x43c5fe=this[_0x3ae00c(0x1ca)][_0x3ae00c(0x502)]['fetchThroughInterceptors'](this[_0x3ae00c(0x1ca)][_0x3ae00c(0x502)][_0x3ae00c(0x487)]()[_0x3ae00c(0x1db)])([_0x1fa8bb],null)||[_0x1fa8bb];this[_0x3ae00c(0x32e)](_0x43c5fe[0x0]);})),_0x4962af;}},exports[_0x248339(0x2ee)]=Mt([H(0x3,a['Inject'](a[_0x248339(0x1bc)])),H(0x4,a[_0x248339(0x40a)](exports['LocalCacheService'])),H(0x5,a[_0x248339(0x40a)](m[_0x248339(0x448)])),H(0x6,a[_0x248339(0x40a)](a[_0x248339(0x3c9)])),H(0x7,a[_0x248339(0x40a)](m[_0x248339(0x1ce)])),H(0x8,a[_0x248339(0x40a)](Ze)),H(0x9,a[_0x248339(0x4b4)]),H(0xa,a[_0x248339(0x45b)]),H(0xb,ee[_0x248339(0x4b2)]),H(0xc,a[_0x248339(0x559)]),H(0xd,a[_0x248339(0x276)](ot))],exports[_0x248339(0x2ee)]);var Jn=Object['defineProperty'],Zn=Object[_0x248339(0x3a7)],Qn=(_0x22de1c,_0x4e5961,_0x1a41cc,_0x55f1ed)=>{for(var _0x48c236=_0x55f1ed>0x1?void 0x0:_0x55f1ed?Zn(_0x4e5961,_0x1a41cc):_0x4e5961,_0x2ef127=_0x22de1c['length']-0x1,_0x37399c;_0x2ef127>=0x0;_0x2ef127--)(_0x37399c=_0x22de1c[_0x2ef127])&&(_0x48c236=(_0x55f1ed?_0x37399c(_0x4e5961,_0x1a41cc,_0x48c236):_0x37399c(_0x48c236))||_0x48c236);return _0x55f1ed&&_0x48c236&&Jn(_0x4e5961,_0x1a41cc,_0x48c236),_0x48c236;},ut=(_0x592e00,_0x4ff770)=>(_0x2d9b65,_0x2aecc2)=>_0x4ff770(_0x2d9b65,_0x2aecc2,_0x592e00);exports['CollaborationController']=class extends a['RxDisposable']{constructor(_0x5a1063,_0x5d5200,_0xdeb355){const _0x23ef25=_0x248339;super(),I(this,_0x23ef25(0x381),new Map()),I(this,'_entityInit$',new N[(_0x23ef25(0x588))]()),(this[_0x23ef25(0x373)]=_0x5a1063,this[_0x23ef25(0x286)]=_0x5d5200,this[_0x23ef25(0x4be)]=_0xdeb355,this['_init']());}[_0x248339(0x494)](){const _0x587434=_0x248339;super[_0x587434(0x494)](),this[_0x587434(0x381)][_0x587434(0x343)](_0xcceb0c=>_0xcceb0c[_0x587434(0x494)]()),this[_0x587434(0x381)][_0x587434(0x317)]();}['getCollabEntity'](_0x2deab4){const _0x4aebf4=_0x248339;var _0x442a4b;return(_0x442a4b=this[_0x4aebf4(0x381)][_0x4aebf4(0x2fd)](_0x2deab4))!=null?_0x442a4b:null;}['getCollabEntity$'](_0x54838b){const _0x13d638=_0x248339,_0x42f00a=this[_0x13d638(0x5ac)](_0x54838b);return _0x42f00a?N['of'](_0x42f00a):this[_0x13d638(0x439)]['pipe'](V['filter'](_0x15ba3f=>_0x15ba3f[_0x13d638(0x26f)]===_0x54838b));}[_0x248339(0x1fa)](){const _0x4383b7=_0x248339;this[_0x4383b7(0x4be)]['getTypeOfUnitAdded$'](a[_0x4383b7(0x3f8)][_0x4383b7(0x2c8)])[_0x4383b7(0x41e)](N[_0x4383b7(0x378)](this[_0x4383b7(0x40b)]),V[_0x4383b7(0x5e6)](0x10))[_0x4383b7(0x3da)](async _0x347142=>{const _0x5ec984=_0x4383b7,_0x32ceb4=_0x347142[_0x5ec984(0x64b)](),_0x273461=await this[_0x5ec984(0x33f)](_0x32ceb4,ie[_0x5ec984(0x2c8)]);this[_0x5ec984(0x381)]['set'](_0x32ceb4,_0x273461);}),this[_0x4383b7(0x4be)][_0x4383b7(0x576)](a[_0x4383b7(0x3f8)][_0x4383b7(0x35a)])[_0x4383b7(0x41e)](N[_0x4383b7(0x378)](this[_0x4383b7(0x40b)]),V[_0x4383b7(0x5e6)](0x10))[_0x4383b7(0x41e)](V['filter'](_0xb7c892=>!_0xb7c892[_0x4383b7(0x64b)]()[_0x4383b7(0x45c)]('__')))[_0x4383b7(0x3da)](async _0x2a9a3f=>{const _0x9b8afe=_0x4383b7,_0x5c32fd=_0x2a9a3f['getUnitId'](),_0x42d454=await this[_0x9b8afe(0x33f)](_0x5c32fd,ie[_0x9b8afe(0x35a)]);this[_0x9b8afe(0x381)]['set'](_0x5c32fd,_0x42d454);}),N[_0x4383b7(0x480)](this[_0x4383b7(0x4be)][_0x4383b7(0x1aa)](a['UniverInstanceType'][_0x4383b7(0x2c8)]),this[_0x4383b7(0x4be)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x4383b7(0x35a)]))[_0x4383b7(0x41e)](N[_0x4383b7(0x378)](this[_0x4383b7(0x40b)]))[_0x4383b7(0x3da)](_0x158dcb=>{const _0x245988=_0x4383b7,_0x169485=_0x158dcb['getUnitId'](),_0xe44c34=this[_0x245988(0x381)][_0x245988(0x2fd)](_0x169485);_0xe44c34&&(_0xe44c34[_0x245988(0x494)](),this[_0x245988(0x381)][_0x245988(0x585)](_0x169485));});}async[_0x248339(0x33f)](_0x4a5199,_0x2e56b5){const _0xa23f31=_0x248339,_0x39ac78=await this[_0xa23f31(0x286)][_0xa23f31(0x39d)](_0x4a5199),_0x3eebc1=this[_0xa23f31(0x373)][_0xa23f31(0x1d3)](this['_getCtorByUniverType'](_0x2e56b5),_0x4a5199,_0x2e56b5,_0x39ac78);return await _0x3eebc1[_0xa23f31(0x313)](),this['_entityInit$'][_0xa23f31(0x423)](_0x3eebc1),_0x3eebc1;}[_0x248339(0x238)](_0x2a0332){const _0x3a2189=_0x248339;switch(_0x2a0332){case ie[_0x3a2189(0x35a)]:return exports[_0x3a2189(0x29a)];case ie[_0x3a2189(0x2c8)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x3a2189(0x626)+_0x2a0332);}}},exports[_0x248339(0x3e0)]=Qn([ut(0x0,a['Inject'](a[_0x248339(0x1bc)])),ut(0x1,a[_0x248339(0x40a)](exports['CollaborationSessionService'])),ut(0x2,a[_0x248339(0x3bc)])],exports[_0x248339(0x3e0)]);var er=Object[_0x248339(0x56f)],tr=Object['getOwnPropertyDescriptor'],ir=(_0x12134b,_0xb1b86d,_0x339c1a,_0x388ac6)=>{for(var _0x51d027=_0x388ac6>0x1?void 0x0:_0x388ac6?tr(_0xb1b86d,_0x339c1a):_0xb1b86d,_0x1a4573=_0x12134b['length']-0x1,_0x160ab7;_0x1a4573>=0x0;_0x1a4573--)(_0x160ab7=_0x12134b[_0x1a4573])&&(_0x51d027=(_0x388ac6?_0x160ab7(_0xb1b86d,_0x339c1a,_0x51d027):_0x160ab7(_0x51d027))||_0x51d027);return _0x388ac6&&_0x51d027&&er(_0xb1b86d,_0x339c1a,_0x51d027),_0x51d027;},Gt=(_0x5da926,_0x20c1de)=>(_0x439fc7,_0x1c23bd)=>_0x20c1de(_0x439fc7,_0x1c23bd,_0x5da926);let tt=class extends a[_0x248339(0x412)]{constructor(_0x50764f,_0x50e7d9){const _0x38ac2c=_0x248339;super(),this[_0x38ac2c(0x5fa)]=_0x50764f,this[_0x38ac2c(0x5e5)]=_0x50e7d9,this['_init']();}[_0x248339(0x1fa)](){const _0x68a3b7=_0x248339,_0x55a3d9=this;this[_0x68a3b7(0x1d6)](this[_0x68a3b7(0x5fa)][_0x68a3b7(0x569)]({'onBeforePasteImage':async _0x4a6d99=>{const _0x5fe642=_0x68a3b7,_0x4162ba=await _0x55a3d9['_imageIoService']['saveImage'](_0x4a6d99);return _0x4162ba?{'source':_0x4162ba[_0x5fe642(0x34d)],'imageSourceType':_0x4162ba[_0x5fe642(0x651)]}:null;}}));}};tt=ir([Gt(0x0,J[_0x248339(0x4e8)]),Gt(0x1,te['IImageIoService'])],tt);const Yt=[_0x248339(0x572),_0x248339(0x2aa),_0x248339(0x498),_0x248339(0x4dc),'blue400',_0x248339(0x37c)];class Nt extends a['Disposable']{constructor(){const _0x5ae8ea=_0x248339;super(...arguments),I(this,_0x5ae8ea(0x382),new Map()),I(this,_0x5ae8ea(0x3b2),0x0);}[_0x248339(0x44d)](_0x5e5a1d){const _0x45d814=_0x248339;if(this[_0x45d814(0x382)]['has'](_0x5e5a1d))return this[_0x45d814(0x382)]['get'](_0x5e5a1d);const _0x10c95b=Yt[this['_colorIndex']];return this[_0x45d814(0x3b2)]=(this[_0x45d814(0x3b2)]+0x1)%Yt[_0x45d814(0x45e)],this[_0x45d814(0x382)]['set'](_0x5e5a1d,_0x10c95b),_0x10c95b;}}var nr=Object[_0x248339(0x56f)],rr=Object[_0x248339(0x3a7)],sr=(_0x59f4d7,_0x2d0681,_0x3c2607,_0x143fb5)=>{const _0x12b2c8=_0x248339;for(var _0x4d6ec3=_0x143fb5>0x1?void 0x0:_0x143fb5?rr(_0x2d0681,_0x3c2607):_0x2d0681,_0x460a88=_0x59f4d7[_0x12b2c8(0x45e)]-0x1,_0x1e3125;_0x460a88>=0x0;_0x460a88--)(_0x1e3125=_0x59f4d7[_0x460a88])&&(_0x4d6ec3=(_0x143fb5?_0x1e3125(_0x2d0681,_0x3c2607,_0x4d6ec3):_0x1e3125(_0x4d6ec3))||_0x4d6ec3);return _0x143fb5&&_0x4d6ec3&&nr(_0x2d0681,_0x3c2607,_0x4d6ec3),_0x4d6ec3;},Se=(_0x2a65ce,_0x4d3d67)=>(_0x23a31b,_0x8af07c)=>_0x4d3d67(_0x23a31b,_0x8af07c,_0x2a65ce);const or=0x12c,ar=0x64;let Et=class extends a[_0x248339(0x412)]{constructor(_0x14f8f9,_0x214dc2,_0x357eb8,_0x43e0ab,_0x58d93d,_0x557e7d,_0x4ce49a,_0x33ede4,_0x346bcc){const _0x6b667b=_0x248339;super(),I(this,_0x6b667b(0x5b5),!0x1),I(this,'_init',!0x1),I(this,_0x6b667b(0x506),new N[(_0x6b667b(0x4dd))](new Map())),I(this,_0x6b667b(0x3b4),this[_0x6b667b(0x506)][_0x6b667b(0x366)]()),I(this,_0x6b667b(0x62b),new N['BehaviorSubject']([])),I(this,_0x6b667b(0x60f),this[_0x6b667b(0x62b)][_0x6b667b(0x41e)](N['debounceTime'](or))),I(this,_0x6b667b(0x48b),a[_0x6b667b(0x234)](_0x222408=>{const _0xffabff=_0x6b667b,_0xea821e={'eventID':m[_0xffabff(0x1e6)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xffabff(0x26f)],'memberID':this[_0xffabff(0x296)]['getMemberID'](),'selection':Oi(_0x222408)}};this[_0xffabff(0x296)][_0xffabff(0x534)](_0xea821e,this[_0xffabff(0x26f)]);},ar)),(this[_0x6b667b(0x26f)]=_0x14f8f9,this[_0x6b667b(0x296)]=_0x214dc2,this[_0x6b667b(0x373)]=_0x357eb8,this[_0x6b667b(0x3cd)]=_0x43e0ab,this['_memberService']=_0x58d93d,this[_0x6b667b(0x36b)]=_0x557e7d,this['_transformService']=_0x4ce49a,this[_0x6b667b(0x4be)]=_0x33ede4,this[_0x6b667b(0x2e2)]=_0x346bcc);}get[_0x248339(0x48d)](){const _0x221ece=_0x248339;return this[_0x221ece(0x506)][_0x221ece(0x49a)]();}get[_0x248339(0x413)](){const _0x399052=_0x248339;return this[_0x399052(0x62b)][_0x399052(0x49a)]();}[_0x248339(0x494)](){const _0x2a8a6c=_0x248339;super[_0x2a8a6c(0x494)](),this[_0x2a8a6c(0x506)]['next'](new Map()),this['_cursorInfo$'][_0x2a8a6c(0x609)](),this[_0x2a8a6c(0x62b)][_0x2a8a6c(0x423)]([]),this[_0x2a8a6c(0x62b)][_0x2a8a6c(0x609)]();}[_0x248339(0x313)](){const _0x6a0d31=_0x248339;this[_0x6a0d31(0x1fa)]||(this['_init']=!0x0,this['_session'][_0x6a0d31(0x46a)][_0x6a0d31(0x41e)](N['takeUntil'](this['dispose$']))[_0x6a0d31(0x3da)](_0x7bb51d=>{const _0x5396f8=_0x6a0d31;_0x7bb51d===ne[_0x5396f8(0x385)]?this[_0x5396f8(0x34f)]():this['_toggleOffline']();}),this[_0x6a0d31(0x296)][_0x6a0d31(0x2ea)][_0x6a0d31(0x41e)](N[_0x6a0d31(0x378)](this[_0x6a0d31(0x40b)]))[_0x6a0d31(0x3da)](_0x530c76=>{const _0x25d352=_0x6a0d31,_0x923638=_0x530c76[_0x25d352(0x213)];_0x923638===m[_0x25d352(0x1e6)]['UPDATE_CURSOR']&&this[_0x25d352(0x342)](_0x530c76),_0x923638===m[_0x25d352(0x1e6)][_0x25d352(0x1ab)]&&this[_0x25d352(0x2cb)](_0x530c76);}),this[_0x6a0d31(0x1d6)](this[_0x6a0d31(0x2e2)][_0x6a0d31(0x510)](_0x39c747=>{const _0x100ebb=_0x6a0d31,_0x130b97=_0x39c747[_0x100ebb(0x601)];_0x130b97!=null&&this[_0x100ebb(0x5b5)]&&_0x39c747['id']===ge['SetTextSelectionsOperation']['id']&&_0x130b97[_0x100ebb(0x57b)]===this[_0x100ebb(0x26f)]&&_0x130b97[_0x100ebb(0x4bf)]===!0x1&&_0x130b97[_0x100ebb(0x3e8)][_0x100ebb(0x45e)]>0x0&&this['_updateLocalCursor'](_0x130b97[_0x100ebb(0x3e8)]);})),this[_0x6a0d31(0x36b)][_0x6a0d31(0x61e)][_0x6a0d31(0x41e)](N['takeUntil'](this['dispose$']))[_0x6a0d31(0x3da)](_0x261380=>{const _0x13b8e7=_0x6a0d31;if((_0x261380==null?void 0x0:_0x261380[_0x13b8e7(0x26f)])!==this[_0x13b8e7(0x26f)])return;const _0x2120ee={'eventID':m[_0x13b8e7(0x1e6)][_0x13b8e7(0x3d4)],'data':_0x261380};this['_onCursorUpdate'](_0x2120ee);}),this['disposeWithMe'](this[_0x6a0d31(0x2e2)][_0x6a0d31(0x510)](_0x311d34=>{const _0x501fc2=_0x6a0d31;if(_0x311d34['params']==null)return;const _0x18bc79=_0x311d34[_0x501fc2(0x601)];if(_0x311d34['id']!==ge[_0x501fc2(0x368)]['id']||_0x18bc79[_0x501fc2(0x57b)]!==this[_0x501fc2(0x26f)])return;const _0x249681={'id':'doc.mutation.rich-text-editing','params':_0x18bc79},_0x563bfa=this['cursorInfo'];for(const [_0x46dd1f,_0x425da3]of _0x563bfa){const _0x3bc115={'id':_0x501fc2(0x321),'params':{'unitId':this[_0x501fc2(0x26f)],'actions':null,'textRanges':_0x425da3[_0x501fc2(0x3e8)]}},_0x5e44d6=this[_0x501fc2(0x58a)]['transformMutation'](_0x249681,_0x3bc115,!0x1);if(m['isTransformMutationFailure'](_0x5e44d6))throw _0x5e44d6['error'];_0x563bfa[_0x501fc2(0x325)](_0x46dd1f,{..._0x425da3,'ranges':_0x5e44d6[_0x501fc2(0x211)][_0x501fc2(0x601)][_0x501fc2(0x4a3)]});}queueMicrotask(()=>{const _0x3acdc6=_0x501fc2;this[_0x3acdc6(0x506)]['next'](_0x563bfa);});})));}[_0x248339(0x342)](_0x533530){const _0x5e6bef=_0x248339;var _0x40eee0,_0x239321;const {memberID:_0x10756a,selection:_0x200d1e}=_0x533530[_0x5e6bef(0x298)],_0x109057=Bn(_0x200d1e),_0x4efdee=(_0x239321=(_0x40eee0=this[_0x5e6bef(0x571)][_0x5e6bef(0x48e)](this[_0x5e6bef(0x26f)],_0x10756a))==null?void 0x0:_0x40eee0[_0x5e6bef(0x262)])!=null?_0x239321:_0x5e6bef(0x4f6),_0xe0d3e8={'color':this['_colorAssignService'][_0x5e6bef(0x44d)](_0x10756a),'name':_0x4efdee,'ranges':_0x109057},_0x23fe21=this[_0x5e6bef(0x48d)];_0x23fe21[_0x5e6bef(0x325)](_0x10756a,_0xe0d3e8),this['_cursorInfo$'][_0x5e6bef(0x423)](_0x23fe21);}[_0x248339(0x2cb)](_0x30962a){const _0x115e49=_0x248339,{memberID:_0x4a2b6d}=_0x30962a[_0x115e49(0x298)],_0xa06c41=this[_0x115e49(0x48d)];_0xa06c41[_0x115e49(0x585)](_0x4a2b6d),this[_0x115e49(0x506)][_0x115e49(0x423)](_0xa06c41);}[_0x248339(0x34f)](){const _0x59a6fb=_0x248339;var _0x6ea46d;if(this[_0x59a6fb(0x5b5)]=!0x0,((_0x6ea46d=this[_0x59a6fb(0x4be)][_0x59a6fb(0x30a)]())==null?void 0x0:_0x6ea46d[_0x59a6fb(0x64b)]())!==this[_0x59a6fb(0x26f)])return;const _0x2d1575=this[_0x59a6fb(0x373)][_0x59a6fb(0x2fd)](ge[_0x59a6fb(0x265)])['getDocRanges']();Array[_0x59a6fb(0x49f)](_0x2d1575)&&_0x2d1575[_0x59a6fb(0x45e)]>0x0&&this[_0x59a6fb(0x48b)](_0x2d1575);}[_0x248339(0x3b5)](){this['_online']=!0x1;}};Et=sr([Se(0x2,a['Inject'](a[_0x248339(0x1bc)])),Se(0x3,a['Inject'](Nt)),Se(0x4,a[_0x248339(0x40a)](exports[_0x248339(0x595)])),Se(0x5,a[_0x248339(0x40a)](Ut)),Se(0x6,m[_0x248339(0x2b2)]),Se(0x7,a[_0x248339(0x3bc)]),Se(0x8,a['ICommandService'])],Et);var cr=Object['defineProperty'],lr=Object[_0x248339(0x3a7)],hr=(_0x278082,_0x5e8d53,_0x5801aa,_0x4568d7)=>{const _0x20bde5=_0x248339;for(var _0x47fc48=_0x4568d7>0x1?void 0x0:_0x4568d7?lr(_0x5e8d53,_0x5801aa):_0x5e8d53,_0x95df05=_0x278082[_0x20bde5(0x45e)]-0x1,_0x4b5fb6;_0x95df05>=0x0;_0x95df05--)(_0x4b5fb6=_0x278082[_0x95df05])&&(_0x47fc48=(_0x4568d7?_0x4b5fb6(_0x5e8d53,_0x5801aa,_0x47fc48):_0x4b5fb6(_0x47fc48))||_0x47fc48);return _0x4568d7&&_0x47fc48&&cr(_0x5e8d53,_0x5801aa,_0x47fc48),_0x47fc48;},be=(_0x462cde,_0x3e1cea)=>(_0x4e4eb6,_0x1bd929)=>_0x3e1cea(_0x4e4eb6,_0x1bd929,_0x462cde);const _r=0x12c,ur=0x64,dr=()=>{let _0x4f9c45=[],_0x3ce028=!0x1;return _0x49b0db=>{_0x4f9c45['push'](_0x49b0db),_0x3ce028||(_0x3ce028=!0x0,setTimeout(()=>{const _0x200e58=_0x2ee7;_0x4f9c45[_0x200e58(0x343)](_0x302716=>_0x302716()),_0x4f9c45=[],_0x3ce028=!0x1;}));};};let bt=class extends a[_0x248339(0x412)]{constructor(_0x5c8299,_0xc9d12e,_0x3b3f1a,_0x5c3e2c,_0x18998d,_0x755ae3,_0x1b6f7e,_0x23358b){const _0x6ac69f=_0x248339;super(),I(this,'_online',!0x1),I(this,'_init',!0x1),I(this,_0x6ac69f(0x506),new N[(_0x6ac69f(0x4dd))](new Map())),I(this,_0x6ac69f(0x3b4),this[_0x6ac69f(0x506)][_0x6ac69f(0x366)]()),I(this,'_roomMembers$',new N[(_0x6ac69f(0x4dd))]([])),I(this,_0x6ac69f(0x60f),this[_0x6ac69f(0x62b)]['pipe'](N[_0x6ac69f(0x499)](_r))),I(this,_0x6ac69f(0x48b),a['debounce']((_0x5ef4d4,_0x4cba22)=>{const _0x57b2b0=_0x6ac69f,_0x319286={'eventID':m['CollaborationEvent'][_0x57b2b0(0x3d4)],'data':{'unitID':this[_0x57b2b0(0x26f)],'memberID':this[_0x57b2b0(0x296)]['getMemberID'](),'selection':$t[_0x57b2b0(0x518)](_0x5ef4d4,_0x4cba22['range'])}};this[_0x57b2b0(0x296)][_0x57b2b0(0x534)](_0x319286,this[_0x57b2b0(0x26f)]);},ur)),(this['unitID']=_0x5c8299,this[_0x6ac69f(0x296)]=_0xc9d12e,this[_0x6ac69f(0x373)]=_0x3b3f1a,this[_0x6ac69f(0x3cd)]=_0x5c3e2c,this[_0x6ac69f(0x571)]=_0x18998d,this['_univerInstanceService']=_0x755ae3,this[_0x6ac69f(0x2e2)]=_0x1b6f7e,this[_0x6ac69f(0x523)]=_0x23358b);}get[_0x248339(0x48d)](){const _0x140ffe=_0x248339;return this[_0x140ffe(0x506)][_0x140ffe(0x49a)]();}get[_0x248339(0x413)](){const _0xdbbbfa=_0x248339;return this[_0xdbbbfa(0x62b)][_0xdbbbfa(0x49a)]();}[_0x248339(0x494)](){const _0x1b631a=_0x248339;super[_0x1b631a(0x494)](),this[_0x1b631a(0x506)]['next'](new Map()),this[_0x1b631a(0x506)]['complete'](),this[_0x1b631a(0x62b)][_0x1b631a(0x423)]([]),this[_0x1b631a(0x62b)][_0x1b631a(0x609)]();}[_0x248339(0x313)](){const _0x4401c0=_0x248339;this['_init']||(this[_0x4401c0(0x1fa)]=!0x0,this[_0x4401c0(0x296)]['sessionStatus$'][_0x4401c0(0x41e)](N['takeUntil'](this[_0x4401c0(0x40b)]))[_0x4401c0(0x3da)](_0x306ef6=>{const _0x42d47e=_0x4401c0;_0x306ef6===ne['ONLINE']?this[_0x42d47e(0x34f)]():this[_0x42d47e(0x3b5)]();}),this['_session'][_0x4401c0(0x2ea)][_0x4401c0(0x41e)](N['takeUntil'](this[_0x4401c0(0x40b)]))['subscribe'](_0x28fd0f=>{const _0x3d2452=_0x4401c0,_0x30fae9=_0x28fd0f[_0x3d2452(0x213)];_0x30fae9===m[_0x3d2452(0x1e6)][_0x3d2452(0x3d4)]&&this[_0x3d2452(0x342)](_0x28fd0f),_0x30fae9===m['CollaborationEvent'][_0x3d2452(0x1ab)]&&this[_0x3d2452(0x2cb)](_0x28fd0f);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x4401c0(0x2e2)]['onCommandExecuted'](_0x516026=>{const _0x4f1f1e=_0x4401c0;if(this['_online']&&_0x516026['id']===k['SetSelectionsOperation']['id']&&_0x516026[_0x4f1f1e(0x601)]['unitId']===this[_0x4f1f1e(0x26f)]){const _0x440941=_0x516026['params'];this[_0x4f1f1e(0x48b)](_0x440941[_0x4f1f1e(0x4e7)],_0x440941[_0x4f1f1e(0x4c8)][0x0]);}})));}[_0x248339(0x342)](_0x56d42e){const _0x132f32=_0x248339;var _0x4dfc2a,_0x4cf765;const {memberID:_0x17fec4,selection:_0x3ca693}=_0x56d42e['data'],{sheetName:_0x1ba35b,range:_0xa3bfd6}=$t[_0x132f32(0x18c)](_0x3ca693),_0x4845e2={'name':(_0x4cf765=(_0x4dfc2a=this['_memberService'][_0x132f32(0x48e)](this[_0x132f32(0x26f)],_0x17fec4))==null?void 0x0:_0x4dfc2a[_0x132f32(0x262)])!=null?_0x4cf765:_0x132f32(0x4f6),'range':this[_0x132f32(0x4bd)](_0x1ba35b,_0xa3bfd6),'sheetID':_0x1ba35b,'color':this[_0x132f32(0x3cd)]['assignAColorForMemberID'](_0x17fec4),'selection':_0x3ca693},_0x5b7442=this['cursorInfo'];_0x5b7442[_0x132f32(0x325)](_0x17fec4,_0x4845e2),this[_0x132f32(0x506)][_0x132f32(0x423)](_0x5b7442);}[_0x248339(0x2cb)](_0x468f54){const _0x2748aa=_0x248339,{memberID:_0x21a917}=_0x468f54[_0x2748aa(0x298)],_0x5e6fcc=this['cursorInfo'];_0x5e6fcc[_0x2748aa(0x585)](_0x21a917),this[_0x2748aa(0x506)][_0x2748aa(0x423)](_0x5e6fcc);}[_0x248339(0x4bd)](_0x88733e,_0x2ec600){const _0x352872=_0x248339;var _0xf1c8f7,_0x52bf58;const _0x5c7535=(_0x52bf58=(_0xf1c8f7=this[_0x352872(0x4be)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0xf1c8f7[_0x352872(0x255)](_0x88733e))==null?void 0x0:_0x52bf58[_0x352872(0x5f5)]();return(_0x5c7535==null?void 0x0:_0x5c7535[_0x352872(0x599)](_0x4a648a=>a[_0x352872(0x35f)][_0x352872(0x47e)](_0x4a648a,_0x2ec600)))||_0x2ec600;}[_0x248339(0x1e3)](){const _0x51f35d=_0x248339,_0x1e6971=new a[(_0x51f35d(0x63f))](),_0x1c286e=dr(),_0x1afc58=()=>{const _0x24577c=_0x51f35d;_0x1e6971[_0x24577c(0x494)]();const _0x3f5190=(_0x49d04a,_0x4bfb21,_0x1ee3a6,_0x47bad6)=>{const _0x20871e=_0x24577c;let _0x553677=[];switch(_0x49d04a['id']){case k[_0x20871e(0x604)]['DeleteRangeMoveLeftCommandId']:{_0x553677=k[_0x20871e(0x33c)](_0x49d04a,_0x47bad6);break;}case k['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x553677=k[_0x20871e(0x51e)](_0x49d04a,_0x47bad6);break;}case k[_0x20871e(0x604)][_0x20871e(0x5d9)]:{_0x553677=k[_0x20871e(0x42f)](_0x49d04a,_0x47bad6);break;}case k[_0x20871e(0x604)][_0x20871e(0x38f)]:{_0x553677=k[_0x20871e(0x307)](_0x49d04a,_0x47bad6);break;}case k['EffectRefRangId'][_0x20871e(0x1dc)]:{_0x553677=k[_0x20871e(0x38c)](_0x49d04a,_0x47bad6);break;}case k['EffectRefRangId'][_0x20871e(0x268)]:{_0x553677=k['handleInsertRow'](_0x49d04a,_0x47bad6);break;}case k[_0x20871e(0x604)][_0x20871e(0x3ed)]:{_0x553677=k[_0x20871e(0x1a3)](_0x49d04a,_0x47bad6);break;}case k['EffectRefRangId']['RemoveColCommandId']:{_0x553677=k[_0x20871e(0x64f)](_0x49d04a,_0x47bad6);break;}case k['EffectRefRangId'][_0x20871e(0x2fe)]:{_0x553677=k[_0x20871e(0x4db)](_0x49d04a,_0x47bad6);break;}}const _0x5bd7f4=k['runRefRangeMutations'](_0x553677,_0x47bad6),_0x4d5690=this[_0x20871e(0x48d)]['get'](_0x4bfb21);if(_0x4d5690&&_0x5bd7f4){const _0x1a2cf5={..._0x4d5690,'range':_0x5bd7f4};this[_0x20871e(0x48d)][_0x20871e(0x325)](_0x4bfb21,_0x1a2cf5),_0x1c286e(()=>{const _0x300e7e=_0x20871e,_0x1585b1=this['_refRangeService'][_0x300e7e(0x1b0)](_0x5bd7f4,_0xfc44d8=>(_0x1585b1[_0x300e7e(0x494)](),_0x3f5190(_0xfc44d8,_0x4bfb21,_0x1ee3a6,_0x5bd7f4)));_0x1e6971['add'](_0x1585b1);});}return{'redos':[],'undos':[]};};this[_0x24577c(0x48d)]['forEach']((_0x54ef1c,_0x26dfe4)=>{const _0xc105f5=_0x24577c,{range:_0x4fdacb,sheetID:_0xef5ae}=_0x54ef1c,_0x3a9588=this[_0xc105f5(0x523)][_0xc105f5(0x1b0)](_0x4fdacb,_0x52575a=>(_0x3a9588[_0xc105f5(0x494)](),_0x3f5190(_0x52575a,_0x26dfe4,_0xef5ae,_0x4fdacb)));_0x1e6971[_0xc105f5(0x57d)](_0x3a9588);});};this[_0x51f35d(0x1d6)](a[_0x51f35d(0x18a)](this[_0x51f35d(0x506)][_0x51f35d(0x3da)](()=>{_0x1afc58();})));}['_toggleOnline'](){const _0x44fa7b=_0x248339;var _0x48373f,_0x25becb;if(this[_0x44fa7b(0x5b5)]=!0x0,((_0x48373f=this[_0x44fa7b(0x4be)][_0x44fa7b(0x30a)]())==null?void 0x0:_0x48373f[_0x44fa7b(0x64b)]())!==this[_0x44fa7b(0x26f)])return;const _0x14f800=(_0x25becb=this[_0x44fa7b(0x373)][_0x44fa7b(0x2fd)](k['SheetsSelectionsService'])[_0x44fa7b(0x20c)]())==null?void 0x0:_0x25becb[0x0],_0x1d6c69=this[_0x44fa7b(0x4be)][_0x44fa7b(0x405)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x44fa7b(0x4ae)]();_0x14f800&&_0x1d6c69&&this[_0x44fa7b(0x48b)](_0x1d6c69['getSheetId'](),_0x14f800);}[_0x248339(0x3b5)](){const _0x26eb5b=_0x248339;this[_0x26eb5b(0x5b5)]=!0x1;}};bt=hr([be(0x2,a[_0x248339(0x40a)](a[_0x248339(0x1bc)])),be(0x3,a['Inject'](Nt)),be(0x4,a[_0x248339(0x40a)](exports[_0x248339(0x595)])),be(0x5,a[_0x248339(0x3bc)]),be(0x6,a[_0x248339(0x45b)]),be(0x7,a[_0x248339(0x40a)](k[_0x248339(0x326)]))],bt);var fr=Object[_0x248339(0x56f)],vr=Object[_0x248339(0x3a7)],pr=(_0x1b3fc4,_0x29ac77,_0x37db6d,_0x41edcd)=>{const _0x3d2bb0=_0x248339;for(var _0x561727=_0x41edcd>0x1?void 0x0:_0x41edcd?vr(_0x29ac77,_0x37db6d):_0x29ac77,_0x454220=_0x1b3fc4[_0x3d2bb0(0x45e)]-0x1,_0x51c7da;_0x454220>=0x0;_0x454220--)(_0x51c7da=_0x1b3fc4[_0x454220])&&(_0x561727=(_0x41edcd?_0x51c7da(_0x29ac77,_0x37db6d,_0x561727):_0x51c7da(_0x561727))||_0x561727);return _0x41edcd&&_0x561727&&fr(_0x29ac77,_0x37db6d,_0x561727),_0x561727;},dt=(_0xbe4eaf,_0x37c838)=>(_0x5d44e1,_0x590096)=>_0x37c838(_0x5d44e1,_0x590096,_0xbe4eaf);let ye=class extends a[_0x248339(0x412)]{constructor(_0x1a6402,_0x3d9692,_0x10a11e){const _0x352e1f=_0x248339;super(),I(this,_0x352e1f(0x381),new Map()),I(this,_0x352e1f(0x439),new N[(_0x352e1f(0x588))]()),(this[_0x352e1f(0x4be)]=_0x1a6402,this[_0x352e1f(0x373)]=_0x3d9692,this[_0x352e1f(0x286)]=_0x10a11e,this['_init']());}[_0x248339(0x494)](){const _0x34f8f6=_0x248339;super[_0x34f8f6(0x494)](),this['_entityInit$'][_0x34f8f6(0x609)](),this[_0x34f8f6(0x381)][_0x34f8f6(0x343)](_0x4a643a=>_0x4a643a[_0x34f8f6(0x494)]());}[_0x248339(0x33d)](_0x200bbd){const _0x37053b=_0x248339;return this[_0x37053b(0x381)][_0x37053b(0x5dc)](_0x200bbd)?this[_0x37053b(0x381)]['get'](_0x200bbd)[_0x37053b(0x3b4)]:this[_0x37053b(0x439)][_0x37053b(0x41e)](N[_0x37053b(0x398)](_0x55a44e=>_0x55a44e[_0x37053b(0x26f)]===_0x200bbd),N[_0x37053b(0x4a4)](_0x237d61=>_0x237d61[_0x37053b(0x3b4)]));}['_init'](){const _0x418980=_0x248339;this[_0x418980(0x4be)]['getTypeOfUnitAdded$'](a['UniverInstanceType']['UNIVER_SHEET'])['pipe'](N[_0x418980(0x378)](this['dispose$']))['subscribe'](async _0x285970=>{const _0x49ed40=_0x418980,_0x1a12a7=_0x285970[_0x49ed40(0x64b)](),_0x4a8027=await this[_0x49ed40(0x438)](_0x1a12a7);this[_0x49ed40(0x439)]['next'](_0x4a8027),this['_entities'][_0x49ed40(0x325)](_0x1a12a7,_0x4a8027);}),this['_univerInstanceService'][_0x418980(0x576)](a[_0x418980(0x3f8)][_0x418980(0x35a)])[_0x418980(0x41e)](N['takeUntil'](this[_0x418980(0x40b)]))[_0x418980(0x41e)](N[_0x418980(0x398)](_0x58c4c1=>!_0x58c4c1[_0x418980(0x64b)]()[_0x418980(0x45c)]('__')))['subscribe'](async _0xad6595=>{const _0x4d3d0a=_0x418980,_0x30b70c=_0xad6595['getUnitId'](),_0x1b03af=await this['_startDocCollabCursor'](_0x30b70c);this[_0x4d3d0a(0x439)][_0x4d3d0a(0x423)](_0x1b03af),this[_0x4d3d0a(0x381)][_0x4d3d0a(0x325)](_0x30b70c,_0x1b03af);}),N[_0x418980(0x480)](this[_0x418980(0x4be)][_0x418980(0x1aa)](a[_0x418980(0x3f8)]['UNIVER_DOC']),this[_0x418980(0x4be)][_0x418980(0x1aa)](a[_0x418980(0x3f8)][_0x418980(0x2c8)]))['pipe'](N[_0x418980(0x378)](this[_0x418980(0x40b)]))['subscribe'](_0x1bbe84=>{const _0x334b42=_0x418980,_0x2bbc1b=_0x1bbe84['getUnitId'](),_0x1a5cc6=this[_0x334b42(0x381)][_0x334b42(0x2fd)](_0x2bbc1b);_0x1a5cc6&&(_0x1a5cc6[_0x334b42(0x494)](),this[_0x334b42(0x381)][_0x334b42(0x585)](_0x2bbc1b));});}async['_startSheetCollabCursor'](_0x52b0a6){const _0x29be8f=_0x248339,_0x30e972=await this[_0x29be8f(0x286)]['requireSession'](_0x52b0a6),_0x6eaef8=this[_0x29be8f(0x373)][_0x29be8f(0x1d3)](bt,_0x52b0a6,_0x30e972);return _0x6eaef8[_0x29be8f(0x313)](),_0x6eaef8;}async[_0x248339(0x271)](_0xaffb55){const _0x20bc83=_0x248339,_0x36163a=await this[_0x20bc83(0x286)][_0x20bc83(0x39d)](_0xaffb55),_0x18e481=this[_0x20bc83(0x373)]['createInstance'](Et,_0xaffb55,_0x36163a);return _0x18e481['init'](),_0x18e481;}};ye=pr([dt(0x0,a['IUniverInstanceService']),dt(0x1,a[_0x248339(0x40a)](a[_0x248339(0x1bc)])),dt(0x2,a['Inject'](exports[_0x248339(0x57e)]))],ye);const Le=0x14,qt=0xc8,ft=0x4,Sr=0x5;function mr(_0x54b69b,_0x15a255){const _0x3078ea=_0x248339;let {radius:_0x578723,width:_0x390afc,height:_0xbc07c9}=_0x15a255;_0x578723=_0x578723!=null?_0x578723:0x0,_0x390afc=_0x390afc!=null?_0x390afc:0x1e,_0xbc07c9=_0xbc07c9!=null?_0xbc07c9:0x1e;let _0x2658e6=0x0,_0x5406a9=0x0,_0x19c271=0x0;_0x2658e6=_0x5406a9=_0x19c271=Math[_0x3078ea(0x43a)](_0x578723,_0x390afc/0x2,_0xbc07c9/0x2),_0x54b69b['beginPath'](),_0x54b69b['moveTo'](_0x2658e6,0x0),_0x54b69b[_0x3078ea(0x197)](_0x390afc-_0x5406a9,0x0),_0x54b69b[_0x3078ea(0x5a3)](_0x390afc-_0x5406a9,_0x5406a9,_0x5406a9,Math['PI']*0x3/0x2,0x0,!0x1),_0x54b69b[_0x3078ea(0x197)](_0x390afc,_0xbc07c9-_0x19c271),_0x54b69b[_0x3078ea(0x5a3)](_0x390afc-_0x19c271,_0xbc07c9-_0x19c271,_0x19c271,0x0,Math['PI']/0x2,!0x1),_0x54b69b[_0x3078ea(0x197)](0x0,_0xbc07c9),_0x54b69b[_0x3078ea(0x197)](0x0,_0x2658e6),_0x54b69b['arc'](_0x2658e6,_0x2658e6,_0x2658e6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x54b69b[_0x3078ea(0x391)](),_0x15a255[_0x3078ea(0x528)]&&(_0x54b69b[_0x3078ea(0x630)](),_0x54b69b[_0x3078ea(0x548)]=_0x15a255[_0x3078ea(0x528)],_0x15a255['fillRule']===_0x3078ea(0x404)?_0x54b69b[_0x3078ea(0x528)](_0x3078ea(0x404)):_0x54b69b['fill'](),_0x54b69b[_0x3078ea(0x2c4)]());}class at extends Y[_0x248339(0x5d1)]{constructor(_0x1b44e3,_0x5905d9){const _0x5712e2=_0x248339;super(_0x1b44e3,_0x5905d9),I(this,_0x5712e2(0x371)),I(this,'text'),(this[_0x5712e2(0x371)]=_0x5905d9==null?void 0x0:_0x5905d9['color'],this[_0x5712e2(0x309)]=_0x5905d9==null?void 0x0:_0x5905d9['text']);}static[_0x248339(0x48f)](_0x1e1a1d,_0x76711a){const _0x23b304=_0x248339,{text:_0x747269,color:_0x492419}=_0x76711a;_0x1e1a1d[_0x23b304(0x630)](),_0x1e1a1d[_0x23b304(0x1fd)]=_0x23b304(0x1ef);const _0x1c28a5=_0x1e1a1d['measureText'](_0x747269)[_0x23b304(0x21a)],_0x5354c2=Math[_0x23b304(0x43a)](_0x1c28a5+0x2*ft,qt);mr(_0x1e1a1d,{'height':Le,'radius':0x4,'width':_0x5354c2,'fill':_0x492419,'evented':!0x1}),_0x1e1a1d[_0x23b304(0x548)]=_0x23b304(0x574);const _0x429b36=ft,_0x269c53=Le-Sr,_0x5757ae=qt-0x2*ft;if(_0x1c28a5>_0x5757ae){let _0x28741c='',_0x46633b=0x0;for(const _0x2f0142 of _0x747269){const _0x385020=_0x1e1a1d[_0x23b304(0x64a)](_0x2f0142)['width'];if(_0x46633b+_0x385020<=_0x5757ae-_0x1e1a1d[_0x23b304(0x64a)](_0x23b304(0x283))[_0x23b304(0x21a)])_0x28741c+=_0x2f0142,_0x46633b+=_0x385020;else{_0x28741c+=_0x23b304(0x283);break;}}_0x1e1a1d[_0x23b304(0x53d)](_0x28741c,_0x429b36,_0x269c53);}else _0x1e1a1d[_0x23b304(0x53d)](_0x747269,_0x429b36,_0x269c53);_0x1e1a1d[_0x23b304(0x2c4)]();}['_draw'](_0x54fba6){const _0x58b4b9=_0x248339;at[_0x58b4b9(0x48f)](_0x54fba6,this);}}const vt='collab-text-anchor-',gr=_0x248339(0x2ed),Ir=_0x248339(0x319),Pe=0x6,Cr=1.5,pt=0x4,Er=1.5,br=_0x248339(0x198);class Kt{constructor(_0x381151,_0x133f32,_0x7216b4,_0x18055e){const _0x22b224=_0x248339;I(this,_0x22b224(0x4d9),[]),I(this,'_anchor',null),I(this,'_textBubble',null),I(this,_0x22b224(0x3fb),null),I(this,_0x22b224(0x5a6),null),I(this,_0x22b224(0x38d),null),(this[_0x22b224(0x497)]=_0x381151,this['_scene']=_0x133f32,this[_0x22b224(0x315)]=_0x7216b4,this[_0x22b224(0x194)]=_0x18055e,this[_0x22b224(0x3ac)]());}set[_0x248339(0x33b)](_0x3033b4){const _0x5c106f=_0x248339;_0x3033b4?(this[_0x5c106f(0x3fb)]&&this[_0x5c106f(0x3fb)][_0x5c106f(0x38a)](),this[_0x5c106f(0x566)]&&this['_textBubble']['show']()):(this[_0x5c106f(0x3fb)]&&this['_anchorDot'][_0x5c106f(0x4fa)](),this[_0x5c106f(0x566)]&&this[_0x5c106f(0x566)][_0x5c106f(0x38a)]());}[_0x248339(0x494)](){const _0x57b46c=_0x248339;for(const _0x297f16 of this[_0x57b46c(0x4d9)])_0x297f16['dispose']();this[_0x57b46c(0x566)]&&this[_0x57b46c(0x566)][_0x57b46c(0x494)](),this[_0x57b46c(0x3fb)]&&this[_0x57b46c(0x3fb)]['dispose'](),this[_0x57b46c(0x5b1)]&&this[_0x57b46c(0x5b1)][_0x57b46c(0x494)](),this[_0x57b46c(0x38d)]&&this[_0x57b46c(0x38d)]();}[_0x248339(0x3ac)](){const _0x1bf253=_0x248339;var _0x466789;const {_docSkeleton:_0x3c7d02,_document:_0x23c71e}=this,{color:_0x1c1ced,name:_0x382bdb,ranges:_0x359656}=this['_cursor'],_0x30c63f=_0x23c71e['getOffsetConfig'](),{docsLeft:_0x11c448,docsTop:_0x113a30}=_0x30c63f,_0x7e0f84=new J[(_0x1bf253(0x57a))](_0x30c63f,_0x3c7d02);for(const {startOffset:_0x46ea0d,endOffset:_0x3acc7c,rangeType:_0x27ba34,segmentId:_0x243a53,segmentPage:_0x15b573,collapsed:_0x1e8bdf,isActive:_0x11fdc7}of _0x359656){const _0x565197=_0x3c7d02[_0x1bf253(0x333)](_0x46ea0d,!0x0,_0x243a53,_0x15b573);let _0x5a9b02=_0x3c7d02[_0x1bf253(0x333)](_0x3acc7c,!0x0,_0x243a53,_0x15b573);if(_0x5a9b02==null&&(_0x5a9b02=_0x3c7d02[_0x1bf253(0x333)](_0x3acc7c-0x1,!0x1,_0x243a53,_0x15b573)),_0x11fdc7){const {contentBoxPointGroup:_0x3f379e}=_0x7e0f84[_0x1bf253(0x3a8)](_0x5a9b02,_0x5a9b02);if(_0x3f379e[_0x1bf253(0x45e)]===0x0)continue;this[_0x1bf253(0x34a)](_0x1c1ced,_0x3f379e,_0x11c448,_0x113a30,_0x382bdb),this['_eventUnsubscribe']=this[_0x1bf253(0x5ff)]();}if(_0x565197&&_0x5a9b02){if(_0x27ba34===a['DOC_RANGE_TYPE'][_0x1bf253(0x365)]){const _0x38c2dd=new J['NodePositionConvertToRectRange'](_0x30c63f,_0x3c7d02),{pointGroup:_0x3711ff}=(_0x466789=_0x38c2dd['getRangePointData'](_0x565197,_0x5a9b02))!=null?_0x466789:{};if(_0x3711ff==null||_0x3711ff[_0x1bf253(0x45e)]===0x0)continue;this[_0x1bf253(0x320)](_0x1c1ced,_0x3711ff,_0x11c448,_0x113a30);}else{if(!_0x1e8bdf){const {borderBoxPointGroup:_0x28c75e}=_0x7e0f84[_0x1bf253(0x3a8)](_0x565197,_0x5a9b02);if(_0x28c75e[_0x1bf253(0x45e)]===0x0)continue;this[_0x1bf253(0x246)](_0x1c1ced,_0x28c75e,_0x11c448,_0x113a30);}}}}}[_0x248339(0x34a)](_0x9eacfc,_0x57357e,_0x32bcc5,_0x7c1ecd,_0x2d1714){const _0x347e26=_0x248339,_0x283ef1=this['_getAnchorBounding'](_0x57357e),{left:_0x5a8782,top:_0x532289,height:_0x33eb5c}=_0x283ef1,_0x11e136=this[_0x347e26(0x50d)](),_0x37e884=Er/_0x11e136,_0x2dc39f=new Y[(_0x347e26(0x3e6))](vt+a[_0x347e26(0x27d)][_0x347e26(0x5d2)](Pe),{'left':_0x5a8782+_0x32bcc5-_0x37e884,'top':_0x532289+_0x7c1ecd,'height':_0x33eb5c,'width':Cr,'fill':_0x9eacfc||Y[_0x347e26(0x450)](a[_0x347e26(0x3d0)]['black'],0x0),'strokeWidth':_0x37e884,'stroke':br,'evented':!0x0});this['_anchor']=_0x2dc39f,this[_0x347e26(0x524)][_0x347e26(0x3c7)](_0x2dc39f,J[_0x347e26(0x284)]);const _0x38ad97=new Y[(_0x347e26(0x3e6))](vt+a[_0x347e26(0x27d)][_0x347e26(0x5d2)](Pe),{'left':_0x5a8782+_0x32bcc5-_0x37e884,'top':_0x532289+_0x7c1ecd-pt/0x2,'height':pt,'width':pt,'fill':_0x9eacfc||Y[_0x347e26(0x450)](a[_0x347e26(0x3d0)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x9eacfc||Y[_0x347e26(0x450)](a[_0x347e26(0x3d0)][_0x347e26(0x1b9)],0x0),'evented':!0x1});this[_0x347e26(0x3fb)]=_0x38ad97,this[_0x347e26(0x524)]['addObject'](_0x38ad97,J[_0x347e26(0x284)]);const _0xc9924=new at(vt+a[_0x347e26(0x27d)][_0x347e26(0x5d2)](Pe),{'left':_0x5a8782+_0x32bcc5-_0x37e884,'top':_0x532289+_0x7c1ecd-Le,'text':_0x2d1714,'color':_0x9eacfc});this[_0x347e26(0x566)]=_0xc9924,this[_0x347e26(0x524)][_0x347e26(0x3c7)](_0xc9924,J['TEXT_RANGE_LAYER_INDEX']),this[_0x347e26(0x33b)]=!0x1;}[_0x248339(0x5ff)](){const _0x499039=_0x248339,_0x5824d0=this['_anchor']['onPointerEnter$'][_0x499039(0x44e)](()=>{const _0x2fac49=_0x499039;this[_0x2fac49(0x33b)]=!0x0;}),_0x261959=this[_0x499039(0x5b1)][_0x499039(0x289)]['subscribeEvent'](()=>{const _0x567788=_0x499039;this[_0x567788(0x5a6)]&&clearTimeout(this[_0x567788(0x5a6)]),this[_0x567788(0x5a6)]=setTimeout(()=>{const _0x4b52b3=_0x567788;this[_0x4b52b3(0x33b)]=!0x1;},0x7d0);});return()=>{const _0x4185ae=_0x499039;_0x5824d0[_0x4185ae(0x1de)](),_0x261959['unsubscribe']();};}[_0x248339(0x246)](_0x202598,_0x395bb1,_0x3de992,_0x50acdd){const _0x77c0ce=_0x248339,_0x251d8b=new a[(_0x77c0ce(0x5aa))](_0x202598)['setAlpha'](0.2)['toRgbString'](),_0x1fbdc9=new Y[(_0x77c0ce(0x3a0))](gr+a[_0x77c0ce(0x27d)][_0x77c0ce(0x5d2)](Pe),{'pointsGroup':_0x395bb1,'fill':_0x251d8b||Y[_0x77c0ce(0x450)](a[_0x77c0ce(0x3d0)][_0x77c0ce(0x1b9)],0.2),'left':_0x3de992,'top':_0x50acdd,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x77c0ce(0x4d9)]['push'](_0x1fbdc9),this[_0x77c0ce(0x524)][_0x77c0ce(0x3c7)](_0x1fbdc9,J[_0x77c0ce(0x284)]);}[_0x248339(0x320)](_0x21c77e,_0x4f3d93,_0x2c2dd6,_0x874433){const _0x1dee31=_0x248339,_0x58c4f8=new a[(_0x1dee31(0x5aa))](_0x21c77e)[_0x1dee31(0x552)](0.2)[_0x1dee31(0x1c9)](),_0x1d2a7f=new Y['RegularPolygon'](Ir+a[_0x1dee31(0x27d)][_0x1dee31(0x5d2)](Pe),{'pointsGroup':_0x4f3d93,'fill':_0x58c4f8||Y[_0x1dee31(0x450)](a['COLORS']['black'],0.2),'left':_0x2c2dd6,'top':_0x874433,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1dee31(0x4d9)]['push'](_0x1d2a7f),this[_0x1dee31(0x524)][_0x1dee31(0x3c7)](_0x1d2a7f,J[_0x1dee31(0x284)]);}[_0x248339(0x347)](_0x26eb03){const _0x386016=_0x26eb03[0x0],_0x34079d=_0x386016[0x0],_0x41f199=_0x386016[0x2],{x:_0x4d8991,y:_0x4da70c}=_0x34079d,{x:_0x1dedb1,y:_0x407b07}=_0x41f199;return{'left':_0x4d8991,'top':_0x4da70c,'width':_0x1dedb1-_0x4d8991,'height':_0x407b07-_0x4da70c};}[_0x248339(0x50d)](){const _0x373303=_0x248339,{scaleX:_0x149ebc,scaleY:_0xd96267}=this[_0x373303(0x524)][_0x373303(0x310)]();return Math[_0x373303(0x55d)](_0x149ebc,_0xd96267);}}var Tr=Object[_0x248339(0x56f)],Rr=Object['getOwnPropertyDescriptor'],yr=(_0x5d980e,_0x102f8c,_0x4c09bf,_0x5f700e)=>{for(var _0x582e38=_0x5f700e>0x1?void 0x0:_0x5f700e?Rr(_0x102f8c,_0x4c09bf):_0x102f8c,_0xe91cd0=_0x5d980e['length']-0x1,_0x4297b1;_0xe91cd0>=0x0;_0xe91cd0--)(_0x4297b1=_0x5d980e[_0xe91cd0])&&(_0x582e38=(_0x5f700e?_0x4297b1(_0x102f8c,_0x4c09bf,_0x582e38):_0x4297b1(_0x582e38))||_0x582e38);return _0x5f700e&&_0x582e38&&Tr(_0x102f8c,_0x4c09bf,_0x582e38),_0x582e38;},$e=(_0x40f700,_0x252aeb)=>(_0x2da5f1,_0x5ad513)=>_0x252aeb(_0x2da5f1,_0x5ad513,_0x40f700);let Tt=class extends a[_0x248339(0x412)]{constructor(_0x374b8b,_0x3d1a82,_0x1a6ba2,_0x8e960e,_0x547fe5){const _0x33ff76=_0x248339;super(),I(this,_0x33ff76(0x388),[]),I(this,'_cursors',[]),(this[_0x33ff76(0x24b)]=_0x374b8b,this['_docSkeletonManagerService']=_0x3d1a82,this[_0x33ff76(0x5d0)]=_0x1a6ba2,this['_commandService']=_0x8e960e,this[_0x33ff76(0x496)]=_0x547fe5,this['_init']());}[_0x248339(0x1fa)](){const _0x2ecb55=_0x248339,_0x3590e5=this[_0x2ecb55(0x24b)][_0x2ecb55(0x57b)],_0x2bb874=this[_0x2ecb55(0x3fe)];this['disposeWithMe'](N[_0x2ecb55(0x43e)]([this[_0x2ecb55(0x5d0)][_0x2ecb55(0x33d)](_0x3590e5),this[_0x2ecb55(0x496)]['currentTheme$']])['pipe'](V['map'](([_0x4dd9be,_0x549a5f])=>({'skeleton':_0x2bb874[_0x2ecb55(0x64d)](),'cursors':[..._0x4dd9be[_0x2ecb55(0x35e)]()][_0x2ecb55(0x1ec)](_0x190796=>({..._0x190796,'color':_0x549a5f[_0x190796[_0x2ecb55(0x371)]]}))})))[_0x2ecb55(0x3da)](_0x42717a=>{if(this['_removeCollabCursors'](),_0x42717a){const {skeleton:_0x5644e2,cursors:_0x54bd7f}=_0x42717a;this['_updateCollabCursors'](_0x5644e2,_0x54bd7f);}})),this[_0x2ecb55(0x2f7)](),this[_0x2ecb55(0x37a)]();}[_0x248339(0x355)](_0x3ae503,_0x3943ed){const _0x3ecf2c=_0x248339,{scene:_0x42e2e2,mainComponent:_0x3796c4}=this[_0x3ecf2c(0x24b)],_0xb754e8=_0x3943ed[_0x3ecf2c(0x348)](_0x24adaa=>new Kt(_0x24adaa,_0x42e2e2,_0x3ae503,_0x3796c4));this[_0x3ecf2c(0x388)]=_0xb754e8,this[_0x3ecf2c(0x500)]=_0x3943ed;}[_0x248339(0x396)](){const _0x586891=_0x248339;this[_0x586891(0x2c1)]();const {scene:_0x298a73,mainComponent:_0x224964}=this[_0x586891(0x24b)],_0x450dfd=this[_0x586891(0x3fe)][_0x586891(0x64d)](),_0x8ae8f0=this[_0x586891(0x500)][_0x586891(0x348)](_0x10de79=>new Kt(_0x10de79,_0x298a73,_0x450dfd,_0x224964));this[_0x586891(0x388)]=_0x8ae8f0;}[_0x248339(0x2c1)](){const _0x3c584d=_0x248339;this[_0x3c584d(0x388)][_0x3c584d(0x343)](_0x2cef1e=>_0x2cef1e[_0x3c584d(0x494)]()),this[_0x3c584d(0x388)]=[];}['_initCommandExecutedListener'](){const _0x425f82=_0x248339,_0x4f2de3=[J[_0x425f82(0x636)]['id']];this['disposeWithMe'](this[_0x425f82(0x2e2)]['onCommandExecuted'](_0x5cf3b6=>{const _0x387381=_0x425f82;_0x4f2de3[_0x387381(0x330)](_0x5cf3b6['id'])&&_0x5cf3b6['params'][_0x387381(0x57b)]===this['_context'][_0x387381(0x57b)]&&this[_0x387381(0x396)]();}));}[_0x248339(0x2f7)](){const _0x304fcd=_0x248339;this['disposeWithMe'](a[_0x304fcd(0x61b)](this['_context'][_0x304fcd(0x336)][_0x304fcd(0x5ca)])[_0x304fcd(0x41e)](V[_0x304fcd(0x398)](_0x1b0277=>_0x1b0277[_0x304fcd(0x493)]===Y['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x304fcd(0x59b)]),V[_0x304fcd(0x527)](0x10))[_0x304fcd(0x3da)](()=>{const _0x14c69b=_0x304fcd;this[_0x14c69b(0x396)]();}));}};Tt=yr([$e(0x1,a[_0x248339(0x40a)](ge[_0x248339(0x4a0)])),$e(0x2,a[_0x248339(0x40a)](ye)),$e(0x3,a[_0x248339(0x45b)]),$e(0x4,a[_0x248339(0x40a)](a[_0x248339(0x3a5)]))],Tt);const Or=0x1,Dr=1.5;class Ui extends Y['Shape']{constructor(_0x3584d0,_0x59922f){const _0x346fd2=_0x248339;super(_0x3584d0,_0x59922f),I(this,'_color'),I(this,_0x346fd2(0x240),!0x1),I(this,'_range'),I(this,'_name',''),I(this,'_labelPosition',_0x346fd2(0x195)),I(this,_0x346fd2(0x4c7)),(_0x59922f&&this[_0x346fd2(0x2db)](_0x59922f),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x346fd2(0x2db)]({'hovered':!0x0})),this['onPointerLeave$'][_0x346fd2(0x44e)](()=>this[_0x346fd2(0x2db)]({'hovered':!0x1})));}[_0x248339(0x2db)](_0xceb2ad){const _0x130284=_0x248339;var _0x1f83cd,_0x347fd2,_0x21b2aa,_0x1be8b2,_0xfe6951,_0x589b96;this[_0x130284(0x201)]=(_0x1f83cd=_0xceb2ad['color'])!=null?_0x1f83cd:this[_0x130284(0x201)],this[_0x130284(0x240)]=(_0x347fd2=_0xceb2ad['hovered'])!=null?_0x347fd2:this[_0x130284(0x240)],this[_0x130284(0x471)]=(_0x21b2aa=_0xceb2ad['range'])!=null?_0x21b2aa:this[_0x130284(0x471)],this[_0x130284(0x3a9)]=(_0x1be8b2=_0xceb2ad['name'])!=null?_0x1be8b2:this[_0x130284(0x3a9)],this['_labelPosition']=(_0xfe6951=_0xceb2ad['labelPosition'])!=null?_0xfe6951:this[_0x130284(0x1f8)],this['_backgroundColor']=(_0x589b96=_0xceb2ad[_0x130284(0x31b)])!=null?_0x589b96:this[_0x130284(0x4c7)],this[_0x130284(0x31e)]({'width':_0xceb2ad[_0x130284(0x21a)],'height':_0xceb2ad['height']});}['onMouseMove'](_0x45fb24){const _0x4817ce=_0x248339,{row:_0x4cf295,column:_0x4f3cb8}=_0x45fb24;if(_0x4cf295>=this[_0x4817ce(0x471)][_0x4817ce(0x459)]&&_0x4cf295<=this[_0x4817ce(0x471)]['endRow']&&_0x4f3cb8>=this['_range'][_0x4817ce(0x3be)]&&_0x4f3cb8<=this[_0x4817ce(0x471)][_0x4817ce(0x555)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4817ce(0x2db)]({'hovered':!0x1});}[_0x248339(0x21c)](_0x53cf9c){return!0x1;}['_draw'](_0x521540){const _0x3883d4=_0x248339;Y[_0x3883d4(0x3e6)]['drawWith'](_0x521540,{'width':this[_0x3883d4(0x21a)],'height':this[_0x3883d4(0x4a5)],'strokeWidth':Dr,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x3883d4(0x4c7)]}),this[_0x3883d4(0x240)]&&(_0x521540['save'](),_0x521540[_0x3883d4(0x1b8)](0x1,0x0,0x0,0x1,this[_0x3883d4(0x21a)],this['_labelPosition']===_0x3883d4(0x47a)?0x0:-Le),at[_0x3883d4(0x48f)](_0x521540,{'text':this[_0x3883d4(0x3a9)],'color':this[_0x3883d4(0x201)]}),_0x521540[_0x3883d4(0x2c4)]());}}var Pr=Object[_0x248339(0x56f)],wr=Object[_0x248339(0x3a7)],Ur=(_0x5d0b6d,_0x425642,_0x1bab4f,_0xf31592)=>{for(var _0x101963=_0xf31592>0x1?void 0x0:_0xf31592?wr(_0x425642,_0x1bab4f):_0x425642,_0x2ed653=_0x5d0b6d['length']-0x1,_0xe87062;_0x2ed653>=0x0;_0x2ed653--)(_0xe87062=_0x5d0b6d[_0x2ed653])&&(_0x101963=(_0xf31592?_0xe87062(_0x425642,_0x1bab4f,_0x101963):_0xe87062(_0x101963))||_0x101963);return _0xf31592&&_0x101963&&Pr(_0x425642,_0x1bab4f,_0x101963),_0x101963;},St=(_0x490aaf,_0x2fd48e)=>(_0x1ede4b,_0x1dea63)=>_0x2fd48e(_0x1ede4b,_0x1dea63,_0x490aaf);const Mr=0x1389;let Rt=class extends a['RxDisposable']{constructor(_0x1e077b,_0x2e908a,_0x390d92,_0x16f608){const _0x3f72f4=_0x248339;super(),I(this,_0x3f72f4(0x500),new Set()),I(this,_0x3f72f4(0x375),null),(this[_0x3f72f4(0x24b)]=_0x1e077b,this[_0x3f72f4(0x36f)]=_0x2e908a,this[_0x3f72f4(0x5d0)]=_0x390d92,this[_0x3f72f4(0x496)]=_0x16f608,this['_init']());}['_init'](){const _0x52b055=_0x248339;this[_0x52b055(0x36f)][_0x52b055(0x4f4)][_0x52b055(0x41e)](V['takeUntil'](this['dispose$']),V[_0x52b055(0x4a4)](_0x1310ee=>{const _0x1a19d9=_0x52b055;if(_0x1310ee){const _0x411eb8=_0x1310ee[_0x1a19d9(0x44c)];return N[_0x1a19d9(0x43e)](this['_collabCursorController'][_0x1a19d9(0x33d)](this[_0x1a19d9(0x24b)]['unitId']),this[_0x1a19d9(0x496)][_0x1a19d9(0x462)])['pipe'](V[_0x1a19d9(0x348)](([_0x5e5c93,_0x53b31a])=>{const _0x8d5406=_0x1a19d9,_0x39bce6=new Map();return _0x5e5c93[_0x8d5406(0x343)]((_0x478ca6,_0x3152f2)=>{const _0x3dfa1c=_0x8d5406;if(_0x478ca6['sheetID']===_0x411eb8){const _0x4e14ae={..._0x478ca6};_0x4e14ae[_0x3dfa1c(0x371)]=_0x53b31a[_0x478ca6[_0x3dfa1c(0x371)]],_0x39bce6['set'](_0x3152f2,_0x4e14ae);}}),{'skeleton':_0x1310ee,'cursors':_0x39bce6};}));}return N['of']({'skeleton':null,'cursors':new Map()});}))[_0x52b055(0x3da)](({skeleton:_0x566cad,cursors:_0x3d5dfd})=>{const _0x44947a=_0x52b055;this[_0x44947a(0x2c1)](),_0x566cad&&this[_0x44947a(0x355)](_0x566cad,_0x3d5dfd);}),this['_sheetSkeletonManagerService']['currentSkeleton$']['subscribe'](_0x5917f6=>{const _0x4996d0=_0x52b055;if(_0x5917f6==null)return;const {skeleton:_0x50fd63}=_0x5917f6,{scene:_0xcdf2a2}=this[_0x4996d0(0x24b)];_0xcdf2a2[_0x4996d0(0x50b)][_0x4996d0(0x44e)](a[_0x4996d0(0x234)](_0x10ee6a=>{const _0x3deaf9=_0x4996d0;var _0x4a72f9,_0x26d3c6;const {offsetX:_0x160178,offsetY:_0xbec2ac}=_0x10ee6a,{x:_0x55b9cb,y:_0x1a23f1}=_0xcdf2a2[_0x3deaf9(0x616)](Y['Vector2'][_0x3deaf9(0x19f)]([_0x160178,_0xbec2ac])),{scaleX:_0x27effc,scaleY:_0x2f0851}=_0xcdf2a2[_0x3deaf9(0x310)](),_0x1de3bd=_0xcdf2a2[_0x3deaf9(0x51b)](Y[_0x3deaf9(0x5e2)][_0x3deaf9(0x3ab)]),_0x2e5c46=_0xcdf2a2[_0x3deaf9(0x3d6)](Y['Vector2'][_0x3deaf9(0x19f)]([_0x55b9cb,_0x1a23f1]),_0x1de3bd),_0x195fb9=_0x50fd63['getCellPositionByOffset'](_0x160178,_0xbec2ac,_0x27effc,_0x2f0851,_0x2e5c46);((_0x4a72f9=this[_0x3deaf9(0x375)])==null?void 0x0:_0x4a72f9[_0x3deaf9(0x4d0)])===_0x195fb9[_0x3deaf9(0x4d0)]&&((_0x26d3c6=this['_lastPointer'])==null?void 0x0:_0x26d3c6[_0x3deaf9(0x3f6)])===_0x195fb9[_0x3deaf9(0x3f6)]||this['_cursors'][_0x3deaf9(0x343)](_0x5eee9c=>{const _0x53d665=_0x3deaf9;_0x5eee9c[_0x53d665(0x208)](_0x195fb9);});},0x64));});}[_0x248339(0x355)](_0x163e1b,_0x5399f2){const _0x33787c=_0x248339;var _0xa495e6;const _0x1dff2c=(_0xa495e6=this[_0x33787c(0x36f)]['getCurrent']())==null?void 0x0:_0xa495e6[_0x33787c(0x31a)];if(!_0x1dff2c)return;const _0x9d6929=this[_0x33787c(0x4b5)]();if(!_0x9d6929)return;this[_0x33787c(0x500)][_0x33787c(0x343)](_0x8e0d19=>{const _0x5df10c=_0x33787c;_0x8e0d19[_0x5df10c(0x2b3)]();});const {scene:_0x2784bf}=_0x9d6929,_0xe13ca5=Nr(Array[_0x33787c(0x2f4)](_0x5399f2[_0x33787c(0x35e)]()))['map'](_0x55f8c8=>{const _0x35473f=_0x33787c,{color:_0x3998d8,range:_0x3c955a,name:_0x4397fa,selection:_0x30aee7,sheetID:_0x647ce5}=_0x55f8c8,{startColumn:_0xc76b28,startRow:_0xb6f2f9,endColumn:_0x3f30c2,endRow:_0xa8b06c}=_0x3c955a,_0x3c0570=Ae['getCoordByCell'](_0xb6f2f9,_0xc76b28,_0x2784bf,_0x1dff2c),_0x248aff=Ae[_0x35473f(0x1b1)](_0xa8b06c,_0x3f30c2,_0x2784bf,_0x1dff2c),{columnHeaderHeightAndMarginTop:_0x4be934}=_0x1dff2c,{startX:_0x357c34,startY:_0x3f55e3}=_0x3c0570,{endX:_0x5945ba,endY:_0x20a6dc}=_0x248aff,_0xe03b3a=_0x5945ba-_0x357c34,_0x3a8d29=_0x20a6dc-_0x3f55e3,_0x20e0bf={'labelPosition':_0x3f55e3-_0x4be934>=Le?'top':'bottom','sheetID':_0x647ce5,'range':_0x3c955a,'color':_0x3998d8,'name':_0x4397fa,'selection':_0x30aee7,'left':_0x357c34,'top':_0x3f55e3,'width':_0xe03b3a,'height':_0x3a8d29,'evented':!0x1,'zIndex':Mr};return new Ui(_0x4397fa,_0x20e0bf);});_0x2784bf['addObjects'](_0xe13ca5,Or),this[_0x33787c(0x500)]=new Set(_0xe13ca5);}['_removeCollabCursors'](){var _0x384379;(_0x384379=this['_cursors'])==null||_0x384379['forEach'](_0x347987=>_0x347987['dispose']());}['_getSheetObject'](){const _0x2f397e=_0x248339;return Ae[_0x2f397e(0x30d)](this['_context'][_0x2f397e(0x596)],this[_0x2f397e(0x24b)]);}};Rt=Ur([St(0x1,a[_0x248339(0x40a)](Ae[_0x248339(0x53f)])),St(0x2,a['Inject'](ye)),St(0x3,a[_0x248339(0x40a)](a[_0x248339(0x3a5)]))],Rt);function Nr(_0x254c0d){const _0x2bd6e2=_0x248339,_0x153daf=new Map();return _0x254c0d['forEach'](_0x876ad2=>{const _0x2c6c16=_0x2ee7;if(_0x153daf[_0x2c6c16(0x5dc)](_0x876ad2['selection'])){const _0x58cd0c=_0x153daf[_0x2c6c16(0x2fd)](_0x876ad2[_0x2c6c16(0x5fc)]);_0x58cd0c['name']+=',\x20'+_0x876ad2[_0x2c6c16(0x262)];}else _0x153daf['set'](_0x876ad2[_0x2c6c16(0x5fc)],_0x876ad2);}),Array[_0x2bd6e2(0x2f4)](_0x153daf[_0x2bd6e2(0x35e)]());}var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x55ab9b){const _0xf85876=_0x248339;return _0x55ab9b&&_0x55ab9b[_0xf85876(0x62e)]&&Object[_0xf85876(0x52e)][_0xf85876(0x515)]['call'](_0x55ab9b,'default')?_0x55ab9b[_0xf85876(0x350)]:_0x55ab9b;}var gt={'exports':{}},we={},zt;function Ar(){const _0x5115ac=_0x248339;if(zt)return we;zt=0x1;var _0x4bd5b0=oe,_0xee5b12=Symbol[_0x5115ac(0x4ba)](_0x5115ac(0x294)),_0x30fd00=Symbol[_0x5115ac(0x4ba)](_0x5115ac(0x5d7)),_0x59cca3=Object[_0x5115ac(0x52e)][_0x5115ac(0x515)],_0x24592d=_0x4bd5b0[_0x5115ac(0x215)][_0x5115ac(0x55f)],_0x283135={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x24a389(_0x1fd781,_0x47d88a,_0x4388bb){const _0x235097=_0x5115ac;var _0x703046,_0x263a86={},_0x5b021c=null,_0x1e70a4=null;_0x4388bb!==void 0x0&&(_0x5b021c=''+_0x4388bb),_0x47d88a[_0x235097(0x567)]!==void 0x0&&(_0x5b021c=''+_0x47d88a[_0x235097(0x567)]),_0x47d88a[_0x235097(0x2e3)]!==void 0x0&&(_0x1e70a4=_0x47d88a[_0x235097(0x2e3)]);for(_0x703046 in _0x47d88a)_0x59cca3[_0x235097(0x339)](_0x47d88a,_0x703046)&&!_0x283135[_0x235097(0x515)](_0x703046)&&(_0x263a86[_0x703046]=_0x47d88a[_0x703046]);if(_0x1fd781&&_0x1fd781['defaultProps']){for(_0x703046 in(_0x47d88a=_0x1fd781['defaultProps'],_0x47d88a))_0x263a86[_0x703046]===void 0x0&&(_0x263a86[_0x703046]=_0x47d88a[_0x703046]);}return{'$$typeof':_0xee5b12,'type':_0x1fd781,'key':_0x5b021c,'ref':_0x1e70a4,'props':_0x263a86,'_owner':_0x24592d[_0x235097(0x5fd)]};}return we[_0x5115ac(0x5c0)]=_0x30fd00,we['jsx']=_0x24a389,we[_0x5115ac(0x28f)]=_0x24a389,we;}var Xt;function Lr(){const _0x2e15b4=_0x248339;return Xt||(Xt=0x1,gt[_0x2e15b4(0x512)]=Ar()),gt[_0x2e15b4(0x512)];}var me=Lr(),Q=function(){const _0x28e951=_0x248339;return Q=Object[_0x28e951(0x299)]||function(_0x482fea){const _0x46efae=_0x28e951;for(var _0xe9e390,_0x1a34c9=0x1,_0x80c170=arguments['length'];_0x1a34c9<_0x80c170;_0x1a34c9++){_0xe9e390=arguments[_0x1a34c9];for(var _0x3b4d18 in _0xe9e390)Object[_0x46efae(0x52e)]['hasOwnProperty'][_0x46efae(0x339)](_0xe9e390,_0x3b4d18)&&(_0x482fea[_0x3b4d18]=_0xe9e390[_0x3b4d18]);}return _0x482fea;},Q[_0x28e951(0x3d2)](this,arguments);},xr=function(_0x52a807,_0x2805c1){const _0x4467f9=_0x248339;var _0x7aca40={};for(var _0x2cc06f in _0x52a807)Object[_0x4467f9(0x52e)][_0x4467f9(0x515)][_0x4467f9(0x339)](_0x52a807,_0x2cc06f)&&_0x2805c1['indexOf'](_0x2cc06f)<0x0&&(_0x7aca40[_0x2cc06f]=_0x52a807[_0x2cc06f]);if(_0x52a807!=null&&typeof Object[_0x4467f9(0x610)]==_0x4467f9(0x4e2)){for(var _0x23d0d2=0x0,_0x2cc06f=Object[_0x4467f9(0x610)](_0x52a807);_0x23d0d2<_0x2cc06f[_0x4467f9(0x45e)];_0x23d0d2++)_0x2805c1[_0x4467f9(0x383)](_0x2cc06f[_0x23d0d2])<0x0&&Object[_0x4467f9(0x52e)]['propertyIsEnumerable']['call'](_0x52a807,_0x2cc06f[_0x23d0d2])&&(_0x7aca40[_0x2cc06f[_0x23d0d2]]=_0x52a807[_0x2cc06f[_0x23d0d2]]);}return _0x7aca40;},At=oe['forwardRef'](function(_0x4a9aa8,_0x22c862){const _0x2fb9e5=_0x248339;var _0x30fc16=_0x4a9aa8[_0x2fb9e5(0x615)],_0x1eff7f=_0x4a9aa8['id'],_0x3b3c62=_0x4a9aa8[_0x2fb9e5(0x2a2)],_0x46f706=_0x4a9aa8[_0x2fb9e5(0x5bf)],_0x24450f=xr(_0x4a9aa8,[_0x2fb9e5(0x615),'id','className','extend']),_0x8ff211=_0x2fb9e5(0x1c1)['concat'](_0x1eff7f,'\x20')[_0x2fb9e5(0x491)](_0x3b3c62||'')['trim'](),_0x4c8093=oe['useRef']('_'[_0x2fb9e5(0x491)](Hr()));return Mi(_0x30fc16,''[_0x2fb9e5(0x491)](_0x1eff7f),{'defIds':_0x30fc16[_0x2fb9e5(0x23d)],'idSuffix':_0x4c8093[_0x2fb9e5(0x5fd)]},Q({'ref':_0x22c862,'className':_0x8ff211},_0x24450f),_0x46f706);});function Mi(_0x44229e,_0x41fb15,_0x8c3460,_0x14d057,_0x400b20){const _0x10b389=_0x248339;return oe[_0x10b389(0x53c)](_0x44229e['tag'],Q(Q({'key':_0x41fb15},$r(_0x44229e,_0x8c3460,_0x400b20)),_0x14d057),(jr(_0x44229e,_0x8c3460)[_0x10b389(0x224)]||[])[_0x10b389(0x348)](function(_0x47a378,_0x3ca49d){const _0x5952a9=_0x10b389;return Mi(_0x47a378,''[_0x5952a9(0x491)](_0x41fb15,'-')[_0x5952a9(0x491)](_0x44229e[_0x5952a9(0x36c)],'-')[_0x5952a9(0x491)](_0x3ca49d),_0x8c3460,void 0x0,_0x400b20);}));}function $r(_0x1d108c,_0x2128b6,_0x578ee7){const _0x14d221=_0x248339;var _0xd4f427=Q({},_0x1d108c[_0x14d221(0x2a8)]);_0x578ee7!=null&&_0x578ee7['colorChannel1']&&_0xd4f427[_0x14d221(0x528)]==='colorChannel1'&&(_0xd4f427['fill']=_0x578ee7['colorChannel1']);var _0xfc10fb=_0x2128b6['defIds'];return!_0xfc10fb||_0xfc10fb[_0x14d221(0x45e)]===0x0||(_0x1d108c[_0x14d221(0x36c)]==='use'&&_0xd4f427[_0x14d221(0x508)]&&(_0xd4f427[_0x14d221(0x508)]=_0xd4f427[_0x14d221(0x508)]+_0x2128b6[_0x14d221(0x457)]),Object['entries'](_0xd4f427)[_0x14d221(0x343)](function(_0x2c3fa7){const _0x5c19fa=_0x14d221;var _0x3fedac=_0x2c3fa7[0x0],_0x204f8d=_0x2c3fa7[0x1];typeof _0x204f8d==_0x5c19fa(0x431)&&(_0xd4f427[_0x3fedac]=_0x204f8d[_0x5c19fa(0x580)](/url\(#(.*)\)/,'url(#$1'[_0x5c19fa(0x491)](_0x2128b6['idSuffix'],')')));})),_0xd4f427;}function jr(_0x5ca735,_0x25ecc1){const _0x3b3742=_0x248339;var _0x4dded6,_0x3b4e75=_0x25ecc1[_0x3b3742(0x23d)];return!_0x3b4e75||_0x3b4e75[_0x3b3742(0x45e)]===0x0?_0x5ca735:_0x5ca735[_0x3b3742(0x36c)]==='defs'&&(!((_0x4dded6=_0x5ca735[_0x3b3742(0x224)])===null||_0x4dded6===void 0x0)&&_0x4dded6['length'])?Q(Q({},_0x5ca735),{'children':_0x5ca735[_0x3b3742(0x224)][_0x3b3742(0x348)](function(_0x12397b){const _0x5eb6ca=_0x3b3742;return typeof _0x12397b[_0x5eb6ca(0x2a8)]['id']==_0x5eb6ca(0x431)&&_0x3b4e75&&_0x3b4e75['indexOf'](_0x12397b[_0x5eb6ca(0x2a8)]['id'])>-0x1?Q(Q({},_0x12397b),{'attrs':Q(Q({},_0x12397b[_0x5eb6ca(0x2a8)]),{'id':_0x12397b[_0x5eb6ca(0x2a8)]['id']+_0x25ecc1[_0x5eb6ca(0x457)]})}):_0x12397b;})}):_0x5ca735;}function Hr(){const _0x228b1f=_0x248339;return Math[_0x228b1f(0x4d7)]()[_0x228b1f(0x42e)](0x24)['substring'](0x2,0x8);}At[_0x248339(0x1c2)]=_0x248339(0x3f3);var Br={'tag':_0x248339(0x60e),'attrs':{'fill':_0x248339(0x2e9),'viewBox':_0x248339(0x2da),'width':'1em','height':_0x248339(0x4a6)},'children':[{'tag':'g','attrs':{'clipPath':_0x248339(0x4e1)},'children':[{'tag':_0x248339(0x627),'attrs':{'stroke':_0x248339(0x27a),'d':_0x248339(0x3f2),'strokeLinecap':'round','strokeLinejoin':_0x248339(0x359),'strokeWidth':1.2}}]},{'tag':_0x248339(0x2c6),'attrs':{},'children':[{'tag':_0x248339(0x33e),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x248339(0x226),'d':_0x248339(0x60c)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Ni=oe[_0x248339(0x232)](function(_0x456891,_0x2dba61){const _0x596c61=_0x248339;return oe[_0x596c61(0x53c)](At,Object['assign']({},_0x456891,{'id':_0x596c61(0x61d),'ref':_0x2dba61,'icon':Br}));});Ni[_0x248339(0x1c2)]=_0x248339(0x4b7);var kr={'tag':_0x248339(0x60e),'attrs':{'fill':_0x248339(0x2e9),'viewBox':_0x248339(0x2b4),'width':_0x248339(0x4a6),'height':_0x248339(0x4a6)},'children':[{'tag':'g','attrs':{'clipPath':_0x248339(0x477)},'children':[{'tag':_0x248339(0x627),'attrs':{'stroke':'currentColor','d':_0x248339(0x564),'strokeLinecap':_0x248339(0x359),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x248339(0x2c6),'attrs':{},'children':[{'tag':_0x248339(0x33e),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x248339(0x627),'attrs':{'fill':_0x248339(0x226),'d':_0x248339(0x60c),'transform':_0x248339(0x3c0)}}]}]}],'defIds':[_0x248339(0x44a)]},Ai=oe[_0x248339(0x232)](function(_0x48997b,_0x106ddc){const _0x33bd06=_0x248339;return oe[_0x33bd06(0x53c)](At,Object['assign']({},_0x48997b,{'id':_0x33bd06(0x282),'ref':_0x106ddc,'icon':kr}));});Ai[_0x248339(0x1c2)]='OnLineSingle';function Li(_0x231140){const _0x2a57ff=_0x248339;var _0x1500a2,_0x3b542d,_0xf7bdaf='';if(typeof _0x231140==_0x2a57ff(0x431)||typeof _0x231140==_0x2a57ff(0x314))_0xf7bdaf+=_0x231140;else{if(typeof _0x231140==_0x2a57ff(0x409)){if(Array[_0x2a57ff(0x49f)](_0x231140)){var _0x5e6b38=_0x231140[_0x2a57ff(0x45e)];for(_0x1500a2=0x0;_0x1500a2<_0x5e6b38;_0x1500a2++)_0x231140[_0x1500a2]&&(_0x3b542d=Li(_0x231140[_0x1500a2]))&&(_0xf7bdaf&&(_0xf7bdaf+='\x20'),_0xf7bdaf+=_0x3b542d);}else{for(_0x3b542d in _0x231140)_0x231140[_0x3b542d]&&(_0xf7bdaf&&(_0xf7bdaf+='\x20'),_0xf7bdaf+=_0x3b542d);}}}return _0xf7bdaf;}function Wr(){const _0x3cd39a=_0x248339;for(var _0x13abca,_0x3d5f6d,_0x4c11f2=0x0,_0x37b262='',_0x56aba2=arguments[_0x3cd39a(0x45e)];_0x4c11f2<_0x56aba2;_0x4c11f2++)(_0x13abca=arguments[_0x4c11f2])&&(_0x3d5f6d=Li(_0x13abca))&&(_0x37b262&&(_0x37b262+='\x20'),_0x37b262+=_0x3d5f6d);return _0x37b262;}const Fr=_0x248339(0x207),Vr=_0x248339(0x63a),Gr=_0x248339(0x22f),Yr=_0x248339(0x408),qr=_0x248339(0x5ea),Ue={'onlineStatusIcon':Fr,'onlineStatusTitle':Vr,'onlineStatus':Gr,'online':Yr,'offline':qr};function Kr(_0x3aa8e8){const _0x54be9a=_0x248339;switch(_0x3aa8e8){case K[_0x54be9a(0x5fe)]:return _0x54be9a(0x3b6);case K[_0x54be9a(0x387)]:return _0x54be9a(0x5a9);case K[_0x54be9a(0x5b7)]:return'collabStatus.fetchMiss';case K['NOT_COLLAB']:return _0x54be9a(0x25a);case K[_0x54be9a(0x5ce)]:case K[_0x54be9a(0x54d)]:return _0x54be9a(0x551);case K['SYNCED']:case K[_0x54be9a(0x3b7)]:return _0x54be9a(0x3ad);}}function xi(_0x2e8d52){const _0x333800=_0x248339,{status$:_0x4c4a4f}=_0x2e8d52,_0x153626=ee['useObservable'](_0x4c4a4f,K[_0x333800(0x353)]),_0x3dc711=a[_0x333800(0x2d5)](a[_0x333800(0x3c9)]),_0x19b49e=a[_0x333800(0x2d5)](exports['CollaborationSessionService']),_0x4957b4=_0x153626!==K['OFFLINE'],_0x55ff95=_0x3dc711['t'](Kr(_0x153626)),_0x3ff53c=Wr(Ue[_0x333800(0x277)],{[Ue[_0x333800(0x2d0)]]:_0x4957b4,[Ue[_0x333800(0x593)]]:!_0x4957b4}),_0x26b664=_0x4957b4?me['jsx'](Ai,{}):me[_0x333800(0x3de)](Ni,{}),_0x2395cd=oe[_0x333800(0x287)](()=>{const _0x31a224=_0x333800;_0x4957b4||_0x19b49e[_0x31a224(0x1f7)]();},[_0x4957b4,_0x19b49e]);function _0x5dc6bb(){const _0x24cad8=_0x333800;return me['jsxs'](_0x24cad8(0x4ce),{'className':_0x3ff53c,'onClick':_0x2395cd,'children':[me['jsx'](_0x24cad8(0x4ce),{'className':Ue[_0x24cad8(0x356)],'children':_0x26b664}),me['jsx'](_0x24cad8(0x4ce),{'className':Ue[_0x24cad8(0x417)],'children':_0x55ff95})]});}return _0x4957b4?_0x5dc6bb():me[_0x333800(0x3de)](Ie[_0x333800(0x4d2)],{'title':_0x3dc711['t'](_0x333800(0x4fe)),'children':_0x5dc6bb()});}var zr=Object[_0x248339(0x56f)],Xr=Object['getOwnPropertyDescriptor'],Jr=(_0x4d158e,_0x2212e1,_0x206cc2,_0x59e0b1)=>{const _0x2d34a4=_0x248339;for(var _0x472949=_0x59e0b1>0x1?void 0x0:_0x59e0b1?Xr(_0x2212e1,_0x206cc2):_0x2212e1,_0xcdb7eb=_0x4d158e[_0x2d34a4(0x45e)]-0x1,_0x3c63cf;_0xcdb7eb>=0x0;_0xcdb7eb--)(_0x3c63cf=_0x4d158e[_0xcdb7eb])&&(_0x472949=(_0x59e0b1?_0x3c63cf(_0x2212e1,_0x206cc2,_0x472949):_0x3c63cf(_0x472949))||_0x472949);return _0x59e0b1&&_0x472949&&zr(_0x2212e1,_0x206cc2,_0x472949),_0x472949;},je=(_0x9f53ce,_0x527c06)=>(_0x24cd47,_0x502e82)=>_0x527c06(_0x24cd47,_0x502e82,_0x9f53ce);exports['DesktopCollaborationStatusDisplayController']=class extends a['Disposable']{constructor(_0x2296fe,_0x371179,_0x4bbd05,_0x17894b){const _0x599649=_0x248339;super(),I(this,_0x599649(0x5a1),new N[(_0x599649(0x4dd))](K[_0x599649(0x353)])),(this[_0x599649(0x4be)]=_0x2296fe,this[_0x599649(0x449)]=_0x371179,this[_0x599649(0x373)]=_0x4bbd05,this[_0x599649(0x337)]=_0x17894b,this[_0x599649(0x36e)](),this[_0x599649(0x4a2)]());}['_initStatusListener'](){const _0x4fa071=_0x248339;this['disposeWithMe'](this['_univerInstanceService'][_0x4fa071(0x5ee)][_0x4fa071(0x41e)](N[_0x4fa071(0x4a4)](()=>{const _0x326683=_0x4fa071,_0x504891=this['_univerInstanceService'][_0x326683(0x30a)]();return _0x504891?this['_collaborationController']['getCollabEntity$'](_0x504891[_0x326683(0x64b)]()):N['of'](null);}),N[_0x4fa071(0x4a4)](_0x53ff64=>_0x53ff64?_0x53ff64['status$']:N['of'](K['NOT_COLLAB'])))[_0x4fa071(0x3da)](_0x4e610c=>{const _0x221c0f=_0x4fa071;this[_0x221c0f(0x5a1)][_0x221c0f(0x423)](_0x4e610c);}));}['_initStatusComponent'](){const _0x4c0a18=_0x248339;this[_0x4c0a18(0x1d6)](this['_uiPartsService'][_0x4c0a18(0x3c5)](ee['BuiltInUIPart'][_0x4c0a18(0x1a8)],()=>a['connectInjector'](Zr({'status$':this[_0x4c0a18(0x5a1)][_0x4c0a18(0x366)]()}),this['_injector'])));}},exports[_0x248339(0x27c)]=Jr([je(0x0,a['IUniverInstanceService']),je(0x1,ee[_0x248339(0x2ec)]),je(0x2,a[_0x248339(0x40a)](a[_0x248339(0x1bc)])),je(0x3,a[_0x248339(0x40a)](exports['CollaborationController']))],exports[_0x248339(0x27c)]);function Zr(_0x401bf1){const {status$:_0x4f5505}=_0x401bf1;return function(){return me['jsx'](xi,{'status$':_0x4f5505});};}const Lt=a[_0x248339(0x5f6)]('uni.network.url-service');var Qr=Object['defineProperty'],es=Object[_0x248339(0x3a7)],ts=(_0x33377b,_0xfa4f9d,_0xb525a,_0x1800db)=>{const _0x1228c6=_0x248339;for(var _0x18d133=_0x1800db>0x1?void 0x0:_0x1800db?es(_0xfa4f9d,_0xb525a):_0xfa4f9d,_0x1bd648=_0x33377b[_0x1228c6(0x45e)]-0x1,_0x1ea39e;_0x1bd648>=0x0;_0x1bd648--)(_0x1ea39e=_0x33377b[_0x1bd648])&&(_0x18d133=(_0x1800db?_0x1ea39e(_0xfa4f9d,_0xb525a,_0x18d133):_0x1ea39e(_0x18d133))||_0x18d133);return _0x1800db&&_0x18d133&&Qr(_0xfa4f9d,_0xb525a,_0x18d133),_0x18d133;},Te=(_0x5b945f,_0xf7316d)=>(_0x570d46,_0x859502)=>_0xf7316d(_0x570d46,_0x859502,_0x5b945f);exports[_0x248339(0x384)]=class extends a[_0x248339(0x412)]{constructor(_0x3664ea,_0x298549,_0x53e341,_0x44a8ca,_0x45696b,_0x6d2cd4){const _0x25a9f9=_0x248339;super(),this[_0x25a9f9(0x3c2)]=_0x3664ea,this[_0x25a9f9(0x237)]=_0x298549,this[_0x25a9f9(0x2e2)]=_0x53e341,this[_0x25a9f9(0x269)]=_0x44a8ca,this[_0x25a9f9(0x418)]=_0x45696b,_0x6d2cd4?_0x6d2cd4==null||_0x6d2cd4[_0x25a9f9(0x5f1)]()['then'](()=>this['_init']()):(this[_0x25a9f9(0x237)][_0x25a9f9(0x594)]('[DataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x25a9f9(0x1fa)]());}async[_0x248339(0x1fa)](){const _0xf6300f=_0x248339,_0x26420e=this[_0xf6300f(0x3c2)][_0xf6300f(0x1a0)]('unit'),_0x117a6c=this[_0xf6300f(0x3c2)][_0xf6300f(0x1a0)](_0xf6300f(0x493));if(!_0x26420e||!_0x117a6c){this[_0xf6300f(0x237)][_0xf6300f(0x594)]('[DataLoaderController]',_0xf6300f(0x300));return;}switch(Number(_0x117a6c)){case ie[_0xf6300f(0x2c8)]:{const _0x2bd108=await this[_0xf6300f(0x436)](_0x26420e);this['_setupSubUnitSync'](_0x2bd108);break;}case ie[_0xf6300f(0x35a)]:{await this['_loadDoc'](_0x26420e);break;}default:{this[_0xf6300f(0x237)][_0xf6300f(0x2de)](_0xf6300f(0x4b9),_0xf6300f(0x633));break;}}}async[_0x248339(0x2c0)](_0x47ca93){const _0x50e904=_0x248339;await this[_0x50e904(0x59f)](_0x47ca93),_0x47ca93[_0x50e904(0x3a1)]['pipe'](N['takeUntil'](this[_0x50e904(0x40b)]))[_0x50e904(0x3da)](_0x2805d6=>{const _0xab9b7a=_0x50e904;_0x2805d6&&this[_0xab9b7a(0x41d)](_0x2805d6);}),this['_urlService'][_0x50e904(0x30c)][_0x50e904(0x41e)](N[_0x50e904(0x378)](this['dispose$']))[_0x50e904(0x3da)](()=>this[_0x50e904(0x59f)](_0x47ca93));}[_0x248339(0x41d)](_0x34dcb3,_0x209195=!0x1){const _0x2e0a64=_0x248339,_0x415680=this[_0x2e0a64(0x3c2)][_0x2e0a64(0x1a0)](_0x2e0a64(0x1f9));_0x34dcb3[_0x2e0a64(0x4f2)]()!==_0x415680&&this[_0x2e0a64(0x3c2)][_0x2e0a64(0x483)](_0x2e0a64(0x1f9),_0x34dcb3[_0x2e0a64(0x4f2)](),_0x209195);}async[_0x248339(0x59f)](_0x5297e3){const _0x1e39cd=_0x248339;var _0x2e9248;const _0x5b3896=this[_0x1e39cd(0x3c2)]['getParam'](_0x1e39cd(0x1f9));if(!_0x5b3896||!_0x5297e3[_0x1e39cd(0x255)](_0x5b3896)){const _0xfaf55d=_0x5297e3[_0x1e39cd(0x5be)]()[0x0],_0x22bdb9=_0x5297e3['getSheetBySheetId'](_0xfaf55d);if(!_0x22bdb9)return;this[_0x1e39cd(0x41d)](_0x22bdb9,!0x0),await this[_0x1e39cd(0x2e2)]['executeCommand'](k[_0x1e39cd(0x228)]['id'],{'unitId':_0x5297e3[_0x1e39cd(0x64b)](),'subUnitId':_0xfaf55d});return;}((_0x2e9248=_0x5297e3[_0x1e39cd(0x4ae)]())==null?void 0x0:_0x2e9248[_0x1e39cd(0x4f2)]())!==_0x5b3896&&await this['_commandService'][_0x1e39cd(0x2f9)](k['SetWorksheetActivateCommand']['id'],{'unitId':_0x5297e3[_0x1e39cd(0x64b)](),'subUnitId':_0x5b3896});}async[_0x248339(0x436)](_0x52027c){const _0x4a5787=_0x248339;let _0x42a3f0=0x0;const _0x178284=await this[_0x4a5787(0x269)]['loadOfflineData'](_0x52027c);return _0x178284&&(_0x178284[_0x4a5787(0x362)]||_0x178284[_0x4a5787(0x229)][_0x4a5787(0x45e)]!==0x0)&&(_0x42a3f0=_0x178284[_0x4a5787(0x557)]),_0x42a3f0===0x0&&this[_0x4a5787(0x237)][_0x4a5787(0x594)](_0x4a5787(0x4b9),_0x4a5787(0x445)),this['_snapshotService'][_0x4a5787(0x1d1)](_0x52027c,_0x42a3f0);}async['_loadDoc'](_0x3d833c){const _0x1ec990=_0x248339;let _0x55f1ea=0x0;const _0x3eb761=await this[_0x1ec990(0x269)][_0x1ec990(0x1cb)](_0x3d833c);return _0x3eb761&&(_0x3eb761[_0x1ec990(0x362)]||_0x3eb761[_0x1ec990(0x229)][_0x1ec990(0x45e)]!==0x0)&&(_0x55f1ea=_0x3eb761[_0x1ec990(0x557)]),_0x55f1ea===0x0&&this['_logService'][_0x1ec990(0x594)](_0x1ec990(0x4b9),_0x1ec990(0x445)),this[_0x1ec990(0x418)][_0x1ec990(0x187)](_0x3d833c,_0x55f1ea);}},exports[_0x248339(0x384)]=ts([Te(0x0,Lt),Te(0x1,a[_0x248339(0x4b4)]),Te(0x2,a[_0x248339(0x45b)]),Te(0x3,a['Inject'](exports[_0x248339(0x561)])),Te(0x4,a['Inject'](m[_0x248339(0x578)])),Te(0x5,a[_0x248339(0x276)](Gi[_0x248339(0x618)]))],exports[_0x248339(0x384)]);var is=Object['defineProperty'],ns=Object[_0x248339(0x3a7)],rs=(_0x28239c,_0x3fd5cc,_0xdc8417,_0x3b0548)=>{const _0x1b66d5=_0x248339;for(var _0x27842e=_0x3b0548>0x1?void 0x0:_0x3b0548?ns(_0x3fd5cc,_0xdc8417):_0x3fd5cc,_0x34c490=_0x28239c[_0x1b66d5(0x45e)]-0x1,_0x2082a0;_0x34c490>=0x0;_0x34c490--)(_0x2082a0=_0x28239c[_0x34c490])&&(_0x27842e=(_0x3b0548?_0x2082a0(_0x3fd5cc,_0xdc8417,_0x27842e):_0x2082a0(_0x27842e))||_0x27842e);return _0x3b0548&&_0x27842e&&is(_0x3fd5cc,_0xdc8417,_0x27842e),_0x27842e;},Jt=(_0x35c9eb,_0x136531)=>(_0x373fa6,_0x13a393)=>_0x136531(_0x373fa6,_0x13a393,_0x35c9eb);const ss=_0x248339(0x2d2),os=_0x248339(0x2ad);function _0x589c(){const _0x1a32ed=['onRendered','concat','objectID','type','dispose','disposeUnit','_themeService','_cursor','verdancy600','debounceTime','getValue','patch','visibilitychange','_isPermissionRej','decryptBlock','isArray','DocSkeletonManagerService','onTransformState','_initStatusListener','textRanges','switchMap','height','1em','UNIVER_PROJECT','_prevBlock','awaiting_with_pending','setTimeout','LIVESHARE_OPERATION','IConfigService','objectType','getActiveSheet','_onRemoteACK','salt','_selfUnitIDs','IMessageService','_timeoutTimer','ILogService','_getSheetObject','_http','OffLineSingle','[UniverCollaborationClientPlugin]','[DataLoaderController]','for','_beforeCloseService','Error','_getMergeRange','_univerInstanceService','isEditing','size','error$','NO_OTHER_CLIENTS_EDITING','ceil','HTTPRequest','Hasher','104170pwGISo','_backgroundColor','selections','532346hEERan','createCollaborator','toggleOffline','Disposable','LICENSE_DISTRO_REJECTED','div','/object','column','POST','Tooltip','isTransformMutationsWithChangesetSuccess','_initUnitPermissionChange','clearTimeout','ERROR_IMAGE_TYPE','random','collabWebSocketUrl','_shapes','disableLocalCache','handleIRemoveRow','red300','BehaviorSubject','Latin1','ThresholdInterceptorFactory','unpad','url(#off-line-single_clip0_910_343)','function','fetchMiss','/universer-api/authz','__creator','session','subUnitId','IDocClipboardService','DependentOn','_collabCursorState$','LICENSE_MAX_UNITS_EXCEEDED','fetchMissingChangesets','range','_createHandler','/rev/','_getLoginPath','reqId','getSheetId','reverse','currentSkeleton$','joinRsp','Unknown\x20user','_initDependencies','addImageSourceCache','getUnit','show','_unlockTransition','univer-pro.collaboration-client-socket-service','_sessions','collab-client.tooltip.reconnect','getDeserializedSheetBlock','_cursors','_commentService','interceptor','file','COMPRESS_MUTATION_APPLY','_onConnectionFailed','_cursorInfo$','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','xlink:href','SNAPSHOT_URL_KEY','_saveTaskMap','onPointerMove$','createSocket','_getScale','@univerjs/core','_listenToOfflineEvent','onCommandExecuted','PERSON','exports','revision','updatePermissionPoint','hasOwnProperty','[CollaborationSession]','csRejEvent','serializeRangeWithSheet','repeat','_clearTimeoutTimer','getViewport','_fetchMissChangesets','_config','handleDeleteRangeMoveUp','9CQwRHp','message$','shouldCloseConn','_substituteRedoStack','_refRangeService','_scene','then','unload','throttleTime','fill','PERMISSION_REJ','_map','HEARTBEAT_INTERVAL_KEY','pauseCollaboration','/resources','prototype','onTransformSelections','/-/object/-/batch_allowed','Hex','ws://127.0.0.1:8000/universer-api/comb/connect','put','send','3060voIQOU','onRemoteRej','duration','_getSignURL','mapTo','initWorkbookPermissionChange','CollabrationImageIoService','createElement','fillText','/new_changes','SheetSkeletonManagerService','_getSessionTicket','_data','NOT_FOUND','setInterval','@univerjs/engine-formula','getRenderById','TEXT','SNAPSHOT_SERVER_URL_KEY','fillStyle','_registerRenderDependencies','_notificationService','UniverNetworkPlugin','_keyPriorReset','AWAITING_WITH_PENDING','_initRequestHeader','_schedule','MessageType','collabStatus.syncing','setAlpha','floor','fromEvent','endColumn','/object/','rev','_checkMissing','IPermissionService','_permissionService','routeKey','isPermissionRej','max','touchDependencies','ReactCurrentOwner','charAt','LocalCacheService','_socket','onRemoteRetry','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','_acknowledgedAwaitingChangeset','_textBubble','key','splice','addClipboardHook','loginUrlKey','removeMember','finalize','buffer','_sender','defineProperty','_socketReady','_memberService','purple300','concatMap','#FFF','getTime','getTypeOfUnitAdded$','session.connection-failed','SnapshotService','_onRemoteRetry','NodePositionConvertToCursor','unitId','@univerjs/engine-render','add','CollaborationSessionService','getUnitType','replace','_getSendChangesetTimeout','split','originalMeta','@univerjs-pro/collaboration','delete','lib','synced','Subject','getResourcesRequest','_transformService','_nRounds','_ws','/collaborator','UNDEFINED','onTransformRemoteChangesetByStateCache','_state$','cmd','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','offline','debug','MemberService','unit','resolve','_initMergeInterceptor','find','setItem','resize','294CjHmST','\x0aCurrent:\x20','1881748RswGcK','_updateSubUnitFromURLParams','liveShareNewHost','_status$','_removeClearOtherTimer','arc','[CollaborationSessionService]:\x20socket\x20error','EmptyMutation','_hideTimer','getRoom','EvpKDF','collabStatus.conflict','ColorKit','OpenSSL','getCollabEntity','_roomMembers','CommentService','rxjs','_updateState','_anchor','list','UNKNOWN_CODE','_handleJoinEvent','_online','sendChangesetTimeout','FETCH_MISS','[CollaborationState]:\x20apply\x20error!','objectActions','isActive','_unitStatus','fetching\x20missing\x20changesets\x20from\x20','/universer-api/snapshot/','getUnhiddenWorksheets','extend','Fragment','_invKeySchedule','csShouldRetryEvent','BlockCipherMode','registerDependencies','_doFinalize','&to=','bind','_changesetReqId','onSyncEditingCollabCursor','onTransformChange$','visibilityState','_queuedRemoteChangesets','_localeService','AWAITING','_configService','_collabCursorController','Shape','generateRandomId','_sheetTransformSelectionsService','searchParams','_socketService','memberID','react.fragment','SEND_CHANGESET_TIMEOUT_KEY','InsertColCommandId','updateMember','putCollaborators','has','_disabled','_append','SessionStatus','_userManagerService','resourceIDs','SHEET_VIEWPORT_KEY','collaborators','FileId','_imageIoService','delay','getSheetBlock','_event$','PasswordBasedCipher','univer-offline','_docTransformIMECacheService','APPLY_DUPLICATED','FAIL','focused$','?size=','_clearOtherTimers','whenReady','/role','Decryptor','_sessionStatus$','getMergeData','createIdentifier','react','_id','image/jpg','_docClipboardService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','selection','current','OFFLINE','_handleHover','_clearScheduledTask','params','_transformPreviousActiveRange','getConfig','EffectRefRangId','registerRenderModule','_revisionService','exhaustSavingTask','_iv','complete','_setupBeforeClosingHandler','socket\x20open.','M0\x200H16V16H0z','localeService','svg','roomMembers$','getOwnPropertySymbols','COLLAB_SUBMIT_CHANGESET_URL','_replayCachedMutations','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','setActiveRange','icon','getRelativeToViewportCoord','ciphertext','IRemoteInstanceService','conflict.title','_substituteUndoStack','fromEventSubject','RETRY_CONNECTING_MAX_COUNT_KEY','off-line-single','collabCursorState$','@univerjs/network','randomBytes','rxjs/operators','_telemetryInfo','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_mode','JOIN','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','path','getCurrentRevOfUnit','_onRemoteChangeset','enc','_roomMembers$','USERS_ENTER','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','__esModule','_handler','save','UNKNOWN_CMD','_joinRoom','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','change$','_doCryptBlock','SetDocZoomRatioOperation','_undoRedoService','PERMISSION_DENIED','/universer-api/comb','univer-online-status-title','substr','onSendChangeset','MSG_FOR_ERROR','TOO_MANY_REQUESTS','DisposableCollection','__Key__','infoRsp','_oKey','encryptBlock','_pendingMutations','_remoteChangesetQueue','CBC','socket$','members','RECV','measureText','getUnitId','status$','getSkeleton','[CollaborationUndoRedoService]','handleIRemoveCol','_onOffline','imageSourceType','retryConnectingInterval','loadDoc','getSnapshotAPIPath','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','toDisposable','image/jpeg','deserializeRangeWithSheet','save\x20fail\x20reason\x20is\x20','isTransformMutationFailure','not_collab','ivSize','APPLY_PERMISSION_DENIED','_hasher','href','_document','top','_saveCache','lineTo','rgba(255,\x20255,\x20255,\x200.01)','CHANGESET_SHOULD_RETRY','ERROR_IMAGE','_syncEditingCollabCursor','21966ADGDSE','_heartbeatTimer','FETCH_MISSING','FromArray','getParam','reduce','pad','handleMoveRange','_transformRemoteChangesetByIMECache','algo','WordArray','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','HEADER_MENU','Cipher','getTypeOfUnitDisposed$','USERS_LEAVE','msCrypto','stringify','_renderManagerService','UserManagerService','registerRefRange','getCoordByCell','fromCharCode','DocIMEInputManagerService','StreamCipher','_handleEvent','_candidateSocket','_throwTelemetryCollaborationNewChangeset','transform','black','sessionStatus','LIVESHARE_FETCH_OPERATIONS','Injector','baseRev','session.room-full','_clearRedo','objects','univerjs-icon\x20univerjs-icon-','displayName','registerHTTPInterceptor','BufferedBlockAlgorithm','SYNCED','_redoStacks','_nDataBytes','registerOnClose','toRgbString','_compressMutationService','loadOfflineData','csAckEvent','onCommentUpdate','RevisionService','DOC_RANGE_TYPE','/unit/','loadSheet','SNAPSHOT_HAS_BEEN_REMOVED','createInstance','image/gif','_shouldReportTelemetry','disposeWithMe','[SyncedState]:\x20received\x20acknowledgement.','_onRemoteRejected','_send','@univerjs/docs','COMPRESS_MUTATION_SEND','InsertRangeMoveRightCommandId','decrypt','unsubscribe','LICENSE_IMPORT_SIZE_EXCEEDED','_incrementRevisionNumber','randomUUID','COLLAB_WEB_SOCKET_URL_KEY','_onRefRangeChange','SheetPermissionInitController','_collaborationTimeoutTimer','CollaborationEvent','_clearUndo','_initEventListeners','Error\x20on\x20receiving\x20event','saveSheetBlock','onReady','flatMap','_members','[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.','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getCurrentUser','HTTPService','parseProtocolChangeset','createDecryptor','getStateCache','_clearCollaborationTimeoutTimer','_type','reconnect','_labelPosition','subunit','_init','OTHER_CLIENTS_EDITING','abs','font','_removeRoom','getUnitOnRev','collaboration-client.offline-data-not-saved','_color','_localStorageService','_scheduleCollaborationTimeoutTimer','UnitSnapshot','redoState','take','univer-online-status-icon','onMouseMove','UNIVER_UNKNOWN','url','src','getCurrentSelections','_onUserLeave','kdf','SheetsSelectionsService','transformRemoteChangeset','m2Prime','storage','eventID','saveImage','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','_imageSourceCache','_onMessage','subject','getImage','width','_httpService','triggerDblclick','CHANGESET_ACK','_lockTransition','_transformUndoredo','getDocRanges','/universer-api/oidc/authpage','HttpImport','_applyRemoteChangeset','children','308238IYQxip','#fff','BlockCipher','SetWorksheetActivateCommand','mutations','collaboration-client.config','LOCAL_CACHE_INTERVAL','processBlock','compute','_onCombEvent','univer-online-status','DocStateChangeManagerService','resend','forwardRef','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','debounce','refreshPermission','IUndoRedoService','_logService','_getCtorByUniverType','APPLY_REJECT','_sendHeartbeatTimer','CommandType','getRandomValues','defIds','sid','ticket','_hovered','sin','AuthzIoHttpService','/allowed','incrementRevOfUnit','_disableEditing','_drawTextRange','parseChangesetToProtocol','create','b64DecodeUnicode','IImageIoService','_context','_onConflict','mode','ImageUploadStatusType','_transitionLocked','origin','\x20to\x20','SerializableCipher','_tryReconnect','univer-pro.collaboration-client.single-active-unit-service','getSheetBySheetId','join','transformUndoRedo','sheets','WebSocketService','collabStatus.notCollab','serializeCombRequest','session.will-retry','collaboration.single-unit.warning','signUrlServerUrl','downloadEndpointUrl','{fileID}','UniverCollaborationClientPlugin','name','conflict','_cachedData','DocSelectionManagerService','_state','ICollaborationSocketService','InsertRowCommandId','_localCacheService','location','CHANGESET_REJ','pending','hasher','INTERNAL_ERROR','unitID','_onRecvEvent','_startDocCollabCursor','COLLAB_SUBMIT_CHANGESET_URL_KEY','UNRECOGNIZED','_docTransformSelectionsService','Module','Optional','onlineStatus','SHA1','uploadFileServerUrl','currentColor','APPLY_REVISION_CONFILICT','DesktopCollaborationStatusDisplayController','Tools','transformMutationsWithChangeset','status','fetchThroughInterceptors','cfg','on-line-single','...','TEXT_RANGE_LAYER_INDEX','permissionRejEvent','_collabSessionService','useCallback','IRenderManagerService','onPointerLeave$','ACTIVE_UNIT_EVENT_CHANNEL','APPLY_NON_SEQUENTIAL_REVISION','sessionTicket','post','_onJoinRoomEvent','jsxs','hostname','stopTime','YUUMI_SUBSCRIPTION_NOT_FOUND','_tryEnsureSocket','react.element','_retryCount','_session','format','data','assign','DocCollaborationEntity','onRemoteChangeset','IBeforeCloseService','UniverCollaborationPlugin','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','setWaitCount','workbook','UnitEmbedded','className','isTransformMutationsWithChangesetFailure','transformMutation','code','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','addEventListener','attrs','newValue','jiqing500','_messageService','_initCloseConn','Univer','updateCursorEvent','SnapshotServerOverHTTPService','WebURLService','keySize','ITransformService','makeDirty','0\x200\x2017\x2016','_sendHeartbeat','execute','collaboration_new_changeset','transformSelections','_onConnectionOpen','[CollaborationEntity]','_ENC_XFORM_MODE','_startTelemetryCollaborationNewChangeset','hidden','allowed','fromCollab','_setupSubUnitSync','_removeCollabCursors','getItem','updateOfflineData','restore','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','defs','_handleLeaveEvent','UNIVER_SHEET','_retryConnectingTimer','transformIMECache','_onCursorDelete','ENSURE_SNAPSHOT_EXECUTION','/fetchmissing?from=','SHOULD_CLOSE_CONN','failed\x20to\x20apply\x20missed\x20changesets!','online','_ensureSubject','DEFAULT_FILE_NAME','LIVESHARE_NEW_HOST','_resendTimeout','useDependency','unknown','confirm','_executeRemoteChangeset','_transformIMECache','0\x200\x2016\x2016','setShapeProps','encrypt','_docStateChangeManagerService','error','MergeInterceptorFactory','_snapshotServerService','SNAPSHOT_INVALID_SNAPSHOT','_commandService','ref','LIVESHARE_TERMINATE','UNAUTHENTICATED','_registerDependencies','encode','_parse','none','event$','_updateStatus','IUIPartsService','collab-text-range-','SheetCollaborationEntity','AUTHZ_URL_KEY','_stopTelemetryCollaborationNewChangeset','LIVESHARE_REQUEST_HOST','blockSize','_getUndoStack','from','@univerjs/docs-ui','_socketMessageSubscription','_initResize','_exhaustRemoteChangesetQueue','executeCommand','_waitCount','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','HEARTBEAT_INTERVAL','get','RemoveRowCommandId','ITelemetryService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','15493490juEeUw','HttpExport','\x20-\x20','_transformUndoRedoStack','_xformMode','_createHelper','handleInsertRangeMoveDown','actions','text','getFocusedUnit','getMemberID','urlChange$','getSheetObject','image/png','_scheduleTimestamp','getAncestorScale','MUTATION','close$','init','number','_docSkeleton','reject','clear','_docSyncEditingCollabCursorService','collab-rect-range-','skeleton','backgroundColor','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','state','transformByState','NEW_CHANGESETS','_drawRectRange','doc.mutation.rich-text-editing','textEncoder','isTransformChangesetsSuccess','_createHmacHelper','set','RefRangeService','_scheduleClearOtherTimer','AES','copyFileMeta','fetch_missing','[PendingState]:\x20received\x20rejection.','INGEST','IDLE','_onLocalMutation','x-univer-host','includes','Base64','_changesetSessionId','findNodePositionByCharIndex','_doReset','CollaborationEntity','engine','_collaborationController','byteOffset','call','_keySchedule','_hover','handleDeleteRangeMoveLeft','getCollabCursors$','clipPath','_startCollaboration','/-/object/list','CONNECTOR_DATA_TOO_LARGE','_onCursorUpdate','forEach','_clearHeartbeatTimer','_resendTimer','unshift','_getAnchorBounding','map','Utf8','_drawAnchor','application/json','connection\x20error','source','85yImRKk','_toggleOnline','default','toggleOnline','conflict.content','NOT_COLLAB','Undefined','_updateCollabCursors','onlineStatusIcon','transformStateCache','distinctUntilChanged','round','UNIVER_DOC','_createInitialState','words','$super','values','Rectangle','_onFetchMissResult','every','awaitingChangeset','collaMsg','NoPadding','RECT','asObservable','history','RichTextEditingMutation','CollaborationSocketService','onlyLocal','_syncEditingCollabCursorService','tag','YUUMI_UNABLE_LOAD_URL','_initStatusComponent','_sheetSkeletonManagerService','_doProcessBlock','color','unit-cache-','_injector','_telemetryService','_lastPointer','_process','_getAPIPrefix','takeUntil','_transformRemoteChangesetByStateCache','_initCommandExecutedListener','\x0aAfter:\x20','gold400','_transformStateCache','m1Prime','HELLO','headers','_entities','_assignedColors','indexOf','DataLoaderController','ONLINE','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','CONFLICT','_cursorShapes','catch','hide','readInt32LE','handleInsertRangeMoveRight','_eventUnsubscribe','image/bmp','InsertRangeMoveDownCommandId','parse','closePath','_cipher','onMissingChangesets','_transformHistoryAndStateStack','CollaborationSession','_refreshCollabCursors','LOCAL_CACHE_INTERVAL_KEY','filter','[OfflineState]:\x20received\x20acknowledgement.','now','padding','_key','requireSession','submit\x20changeset\x20error!','_socket$','RegularPolygon','activeSheet$','LEAVE','onload','shareReplay','ThemeService','UPDATE_PERMISSION_OBJ','getOwnPropertyDescriptor','getRangePointData','_name','SheetCollabCursorShape','VIEW_MAIN','_render','collabStatus.synced','_updateLocalCache','_createSocket','awaiting','listCollaborators','_colorIndex','_awaitingChangeset','cursorInfo$','_toggleOffline','collabStatus.offline','PENDING','SUBMIT_CHANGESET','changesets','state$','mergeOverrideWithDependencies','IUniverInstanceService','_sendingTimer','startColumn','_singleActiveUnitService','translate(.97)','getUndoRedoMutationParamsCache','_urlService','json','rng','registerComponent','roles','addObject','_transformSelections','LocaleService','mixIn','HEARTBEAT','_getSaveTimeout','_colorAssignService','deserializeToCombResponse','charCodeAt','COLORS','_onUserJoin','apply','clearInterval','UPDATE_CURSOR','result','getVpScrollXYInfoByPosToVp','push','_iKey','LICENSE_EXPORT_SIZE_EXCEEDED','subscribe','setCurrentUser','_scheduleSaving','replaceState','jsx','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','CollaborationController','batchAllowed','_scheduleHeartbeat','Base','body','crypto','Rect','requestParams','ranges','slice','_showConflictNotification','editingUnit','clone','MoveRangeCommandId','@univerjs/rpc','_clearLocalCache','onTransformIME','update','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','UniverIcon','HMAC','People','row','onRemoteAck','UniverInstanceType','SetSelectionsOperation','deepClone','_anchorDot','onMissedChangesetFetched','_undoStacks','_docSkeletonManagerService','entries','append','_reverseMap','isInternalEditorID','open$','evenodd','getCurrentUnitForType','MentionType','6105056JBQqNE','univer-online','object','Inject','dispose$','roomInfos','SUCCUSS','commentUpdate$','registerBeforeClose','_rescheduleHeartbeat','onTransformRemoteChangesetByIMECache','RxDisposable','roomMembers','readAsDataURL','MentionIoHttpService','Plugin','onlineStatusTitle','_snapshotService','[CollaborationSessionService]','INVALID_ARGUMENT','_getCurrentRevision','ISnapshotServerService','_updateURLWithCurrentState','pipe','with','_collaborationSessionService','\x20in\x20_schedule.','getAllMembers','next','@univerjs/ui','appendMutation','WorkbookEditablePermission','_getAPIPrefixPath','enableAuthServer','HmacMD5','close','removeParam','auth.needGotoLoginAlert','setShowComponents','toString','handleInsertCol','reset','string','userID','some','socketService','_hash','_loadSheet','HEARTBEAT_TIMEOUT_KEY','_startSheetCollabCursor','_entityInit$','min','Warning','capture','UNIVER_SLIDE','combineLatest','authzUrl','saveOfflineData','_waitForHeartbeatResponse','permission.content','_decreaseWaiting','_instanceService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','docStateChange$','[PendingState]:\x20unhandled\x20univer\x20type:\x20','CompressMutationService','_uiPartsService','on-line-single_clip0_910_349','_resendWithTimeout','sheetId','assignAColorForMemberID','subscribeEvent','listRoles','getColor','onStateChange','_transformStack','IMentionIOService','syncEditingCollabCursor','_unitOnClients','MD5','idSuffix','c1Prime','startRow','ERROR_EXCEED_SIZE','ICommandService','startsWith','LOGIN_URL_KEY','length','transformStack\x20failed!','[FetchMissState]','_docTransformStateCacheService','currentTheme$','byteLength','/block/','snapshotServerUrl','ImageSourceType','@univerjs/telemetry','JOIN_ROOM_FULL','@univerjs/sheets-ui','sessionStatus$','_change$','mapDocumentTypeToUniverType','LocalUndoRedoService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','iterations','undoState','_range','_getUploadFileURL','UUID','14XVPwwD','clamp','YUUMI_RATE_OVER_LIMIT','url(#on-line-single_clip0_910_349)','_collaborationPaused','pluginName','bottom','_unitID','_minBufferSize','transformChangesets','contains','/universer-api/snapshot','merge','title','closeSession','setParam','_HTTPService','sigBytes','_getDownloadEndpointURL','getInterceptPoints','Encryptor','pushState','newCsEvent','_updateLocalCursor','[OfflineState]:\x20received\x20changeset.','cursorInfo','getMember','drawWith'];_0x589c=function(){return _0x1a32ed;};return _0x589c();}let it=class extends a[_0x248339(0x4cc)]{constructor(_0x3299a2,_0x597b7e){const _0xf5649d=_0x248339;super(),this[_0xf5649d(0x4be)]=_0x3299a2,this[_0xf5649d(0x5cf)]=_0x597b7e,this['_init']();}['_init'](){const _0x3b80b7=_0x248339;this[_0x3b80b7(0x1d6)](this['_univerInstanceService']['focused$']['subscribe'](()=>{const _0x519db6=_0x3b80b7;var _0x270b67;const _0x1af77a=this['_univerInstanceService'][_0x519db6(0x30a)]();let _0x13194b=(_0x270b67=this[_0x519db6(0x5cf)][_0x519db6(0x603)](ss))!=null?_0x270b67:os;_0x1af77a instanceof a['Workbook']&&(_0x13194b=_0x1af77a[_0x519db6(0x262)]),document[_0x519db6(0x481)]=_0x13194b;}));}};it=rs([Jt(0x0,a[_0x248339(0x3bc)]),Jt(0x1,a[_0x248339(0x4ac)])],it);var as=Object['defineProperty'],cs=Object[_0x248339(0x3a7)],ls=(_0x367f67,_0x3d8f9f,_0x154688,_0xf641d3)=>{const _0x139579=_0x248339;for(var _0xa9f6eb=_0xf641d3>0x1?void 0x0:_0xf641d3?cs(_0x3d8f9f,_0x154688):_0x3d8f9f,_0x783ea4=_0x367f67[_0x139579(0x45e)]-0x1,_0x5cccd2;_0x783ea4>=0x0;_0x783ea4--)(_0x5cccd2=_0x367f67[_0x783ea4])&&(_0xa9f6eb=(_0xf641d3?_0x5cccd2(_0x3d8f9f,_0x154688,_0xa9f6eb):_0x5cccd2(_0xa9f6eb))||_0xa9f6eb);return _0xf641d3&&_0xa9f6eb&&as(_0x3d8f9f,_0x154688,_0xa9f6eb),_0xa9f6eb;},It=(_0x4adc6b,_0x388168)=>(_0x1a0368,_0x1578ec)=>_0x388168(_0x1a0368,_0x1578ec,_0x4adc6b);let nt=class{constructor(_0x322193,_0x35612f,_0x45129d){const _0x4cdbe3=_0x248339;this['_configService']=_0x322193,this[_0x4cdbe3(0x21b)]=_0x35612f,this[_0x4cdbe3(0x60d)]=_0x45129d,this['init']();}[_0x248339(0x313)](){const _0x5612f0=_0x248339;this[_0x5612f0(0x21b)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x1ea308,_0x3a006e)=>_0x3a006e(_0x1ea308)['pipe'](N[_0x5612f0(0x573)](async _0x1d44c8=>{const _0x340832=_0x5612f0,_0x1e9842=_0x1d44c8;if(_0x1e9842[_0x340832(0x27f)]===0x191&&window[_0x340832(0x2d7)](this['localeService']['t'](_0x340832(0x42c)))){const _0x2d9872=window['encodeURIComponent'](window[_0x340832(0x26a)][_0x340832(0x193)]);window[_0x340832(0x26a)][_0x340832(0x193)]=this[_0x340832(0x4f0)]()+'?url='+_0x2d9872;}return _0x1e9842;}))});}[_0x248339(0x4f0)](){const _0x4a2c1e=_0x248339;var _0x1a370a,_0xce283b;const _0x43b440=this[_0x4a2c1e(0x5cf)][_0x4a2c1e(0x603)](Ci),_0x4ac4ae=this['_configService'][_0x4a2c1e(0x603)](Z);return(_0xce283b=(_0x1a370a=_0x4ac4ae==null?void 0x0:_0x4ac4ae[_0x4a2c1e(0x56a)])!=null?_0x1a370a:_0x43b440)!=null?_0xce283b:nn;}};nt=ls([It(0x0,a[_0x248339(0x4ac)]),It(0x1,a['Inject'](z['HTTPService'])),It(0x2,a[_0x248339(0x40a)](a[_0x248339(0x3c9)]))],nt);var hs=Object['defineProperty'],_s=Object['getOwnPropertyDescriptor'],us=(_0x335bb2,_0xae2509,_0x58084c,_0x4e0408)=>{const _0xbdada=_0x248339;for(var _0x1f2c9a=_0x4e0408>0x1?void 0x0:_0x4e0408?_s(_0xae2509,_0x58084c):_0xae2509,_0x59cb64=_0x335bb2[_0xbdada(0x45e)]-0x1,_0x5bd949;_0x59cb64>=0x0;_0x59cb64--)(_0x5bd949=_0x335bb2[_0x59cb64])&&(_0x1f2c9a=(_0x4e0408?_0x5bd949(_0xae2509,_0x58084c,_0x1f2c9a):_0x5bd949(_0x1f2c9a))||_0x1f2c9a);return _0x4e0408&&_0x1f2c9a&&hs(_0xae2509,_0x58084c,_0x1f2c9a),_0x1f2c9a;},Zt=(_0x50e458,_0x3d1056)=>(_0xa6d7a6,_0x34b381)=>_0x3d1056(_0xa6d7a6,_0x34b381,_0x50e458);const xt=_0x248339(0x2ef),ds=_0x248339(0x4e4);exports[_0x248339(0x242)]=class extends a['Disposable']{constructor(_0xc367d1,_0x59de2f){const _0x2157e7=_0x248339;super(),this['_HTTPService']=_0xc367d1,this[_0x2157e7(0x5cf)]=_0x59de2f,this[_0x2157e7(0x598)]();}['_initMergeInterceptor'](){const _0x224fef=_0x248339,_0x5754cf=this;this[_0x224fef(0x1d6)](this['_HTTPService'][_0x224fef(0x1c3)]({'priority':0x3e7,'interceptor':z[_0x224fef(0x2df)]({'isMatch'(_0x5939c4){const _0x3ff856=_0x224fef;var _0x461354;if(_0x5939c4['method']===_0x3ff856(0x4d1)&&((_0x461354=_0x5939c4[_0x3ff856(0x3e7)])!=null&&_0x461354['body'])){const {objectID:_0x3eeed7,objectType:_0x4c559e}=_0x5939c4[_0x3ff856(0x3e7)][_0x3ff856(0x3e4)]||{};if(!_0x3eeed7||_0x4c559e===void 0x0)return!0x1;const _0x2a350a=_0x5754cf['_getAPIPrefixPath']()+'/'+_0x4c559e+'/object/'+_0x3eeed7+_0x3ff856(0x243);if(_0x5939c4[_0x3ff856(0x20a)]===_0x2a350a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x26b60a){const _0x2798d9=_0x224fef;var _0x493ef2;return(_0x493ef2=_0x26b60a[_0x2798d9(0x3e7)])==null?void 0x0:_0x493ef2[_0x2798d9(0x3e4)];},'mergeParamsToRequest'(_0x561510,_0x51521d){const _0x25149b=_0x224fef,_0x396550=_0x5754cf['_getAPIPrefixPath']()+_0x25149b(0x530),_0x4af5a9=_0x561510[_0x25149b(0x1a1)]((_0x338ff0,_0x80d5ed)=>{const _0x126ecc=_0x25149b,{unitID:_0x42c14b,objectID:_0x2e7c21,objectType:_0x4a5815,actions:_0x336281}=_0x80d5ed;return _0x338ff0[_0x42c14b]||(_0x338ff0[_0x42c14b]={}),_0x338ff0[_0x42c14b][_0x2e7c21]||(_0x338ff0[_0x42c14b][_0x2e7c21]={'objectID':_0x2e7c21,'objectType':_0x4a5815,'actions':[]}),_0x338ff0[_0x42c14b][_0x2e7c21][_0x126ecc(0x308)][_0x126ecc(0x3d7)](..._0x336281),_0x338ff0;},{}),_0xede99a=[];for(const _0x174d3c in _0x4af5a9)for(const _0x14655f in _0x4af5a9[_0x174d3c]){const {actions:_0x469c5b,objectType:_0x4606a3}=_0x4af5a9[_0x174d3c][_0x14655f],_0x456394=[...new Set(_0x469c5b)];_0xede99a[_0x25149b(0x3d7)]({'unitID':_0x174d3c,'objectID':_0x14655f,'objectType':_0x4606a3,'actions':_0x456394});}return new z[(_0x25149b(0x4c4))](_0x25149b(0x4d1),_0x396550,{'headers':_0x51521d[_0x25149b(0x380)],'withCredentials':_0x51521d['withCredentials'],'responseType':_0x51521d['responseType'],'body':{'requests':_0xede99a}});}},{'distributeResult'(_0x5354d5,_0x3305c3){const _0x6ee39d=_0x224fef,{objectActions:_0x20840d}=_0x5354d5;return _0x3305c3[_0x6ee39d(0x348)](_0x11563a=>{const _0x1fdf8c=_0x6ee39d,{unitID:_0x5888fe,objectID:_0x3fe0a5,actions:_0x1074fb}=_0x11563a,_0x1e8bb2=_0x20840d[_0x1fdf8c(0x599)](_0x564956=>_0x564956[_0x1fdf8c(0x26f)]===_0x5888fe&&_0x564956[_0x1fdf8c(0x492)]===_0x3fe0a5),_0x570f61=_0x1074fb[_0x1fdf8c(0x348)](_0x3c15d1=>_0x1e8bb2==null?void 0x0:_0x1e8bb2[_0x1fdf8c(0x308)][_0x1fdf8c(0x599)](_0x5dd432=>_0x5dd432['action']===_0x3c15d1))[_0x1fdf8c(0x398)](_0x3c66d9=>!!_0x3c66d9);return{'config':_0x11563a,'result':{'actions':_0x570f61,'error':_0x5354d5[_0x1fdf8c(0x2de)]}};});}})}));}[_0x248339(0x427)](){const _0x4dd26d=_0x248339;var _0x53e9aa,_0x7ef10;const _0xb22b96=this[_0x4dd26d(0x5cf)][_0x4dd26d(0x603)](xt),_0x54e52c=this['_configService'][_0x4dd26d(0x603)](Z);return(_0x7ef10=(_0x53e9aa=_0x54e52c==null?void 0x0:_0x54e52c[_0x4dd26d(0x43f)])!=null?_0x53e9aa:_0xb22b96)!=null?_0x7ef10:ds;}async['create'](_0x590ffd){const _0x471fc6=_0x248339,_0x1850d0=this[_0x471fc6(0x427)]()+'/'+_0x590ffd[_0x471fc6(0x4ad)]+_0x471fc6(0x4cf);return(await this[_0x471fc6(0x484)][_0x471fc6(0x28d)](_0x1850d0,{'body':_0x590ffd}))['body']['objectID']||'';}async[_0x248339(0x5b2)](_0x15cf31){const _0x2f545a=_0x248339,_0x155e05=this[_0x2f545a(0x427)]()+_0x2f545a(0x340);return(await this[_0x2f545a(0x484)][_0x2f545a(0x28d)](_0x155e05,{'body':_0x15cf31}))['body'][_0x2f545a(0x1c0)];}async[_0x248339(0x3f1)](_0x3e6190){const _0x4f75ba=_0x248339,_0x226ac2=this[_0x4f75ba(0x427)]()+'/'+_0x3e6190[_0x4f75ba(0x4ad)]+_0x4f75ba(0x556)+_0x3e6190['objectID'];await this[_0x4f75ba(0x484)][_0x4f75ba(0x533)](_0x226ac2,{'body':_0x3e6190});}async[_0x248339(0x2be)](_0x42f52a){const _0x957f00=_0x248339,_0x80c8cb=this[_0x957f00(0x427)]()+'/'+_0x42f52a[_0x957f00(0x4ad)]+_0x957f00(0x556)+_0x42f52a['objectID']+_0x957f00(0x243);return(await this[_0x957f00(0x484)][_0x957f00(0x28d)](_0x80c8cb,{'body':_0x42f52a}))[_0x957f00(0x3e4)][_0x957f00(0x308)];}async[_0x248339(0x3e1)](_0x472be6){const _0x9d50d=_0x248339,_0x4c969c=this[_0x9d50d(0x427)]()+_0x9d50d(0x530);return(await this[_0x9d50d(0x484)][_0x9d50d(0x28d)](_0x4c969c,{'body':{'requests':_0x472be6}}))[_0x9d50d(0x3e4)][_0x9d50d(0x5b9)];}async[_0x248339(0x44f)](_0x3b0b62){const _0x37ad46=_0x248339,_0x5b7775=this['_getAPIPrefixPath']()+'/'+_0x3b0b62[_0x37ad46(0x4ad)]+_0x37ad46(0x5f2),_0x75d030=await this[_0x37ad46(0x484)][_0x37ad46(0x28d)](_0x5b7775,{'body':_0x3b0b62});return{'roles':_0x75d030['body'][_0x37ad46(0x3c6)],'actions':_0x75d030[_0x37ad46(0x3e4)][_0x37ad46(0x308)]};}async['deleteCollaborator'](_0x10c686){const _0x459fca=_0x248339,_0x44c604=this[_0x459fca(0x427)]()+_0x459fca(0x58d);await this[_0x459fca(0x484)][_0x459fca(0x585)](_0x44c604,{'params':{'collaboratorID':_0x10c686['collaboratorID'],'objectID':_0x10c686[_0x459fca(0x492)],'unitID':_0x10c686[_0x459fca(0x26f)]}});}async['updateCollaborator'](_0x50dd98){const _0x51df0a=_0x248339,_0x243a21=this['_getAPIPrefixPath']()+_0x51df0a(0x58d);await this[_0x51df0a(0x484)][_0x51df0a(0x49b)](_0x243a21,{'body':_0x50dd98});}async[_0x248339(0x4ca)](_0x5ef0b7){const _0x1e0b0e=_0x248339,_0x49bfc9=this[_0x1e0b0e(0x427)]()+_0x1e0b0e(0x58d);await this[_0x1e0b0e(0x484)][_0x1e0b0e(0x28d)](_0x49bfc9,{'body':_0x5ef0b7});}async[_0x248339(0x3b1)](_0x3ce8fe){const _0x1f88d9=_0x248339,_0x2fbc72=this[_0x1f88d9(0x427)]()+_0x1f88d9(0x58d);return(await this[_0x1f88d9(0x484)][_0x1f88d9(0x2fd)](_0x2fbc72,{'params':{'objectID':_0x3ce8fe[_0x1f88d9(0x492)],'unitID':_0x3ce8fe[_0x1f88d9(0x26f)]}}))[_0x1f88d9(0x3e4)]['collaborators'];}async[_0x248339(0x5db)](_0x3e4ef4){const _0x4c6889=_0x248339,_0x2981e0=this[_0x4c6889(0x427)]()+'/collaborator';await this[_0x4c6889(0x484)][_0x4c6889(0x533)](_0x2981e0,{'body':_0x3e4ef4});}},exports[_0x248339(0x242)]=us([Zt(0x0,a[_0x248339(0x40a)](z[_0x248339(0x1f1)])),Zt(0x1,a['Inject'](a[_0x248339(0x4ac)]))],exports['AuthzIoHttpService']);var Be={'exports':{}};function fs(_0x339b79){const _0x245dfe=_0x248339;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x339b79+_0x245dfe(0x623));}var ke={'exports':{}},vs=ke[_0x248339(0x512)],Qt;function se(){const _0xf28e0c=_0x248339;return Qt||(Qt=0x1,function(_0x3b0f73,_0x5bf6db){(function(_0x68396f,_0x330a9e){const _0xc8b6c8=_0x2ee7;_0x3b0f73[_0xc8b6c8(0x512)]=_0x330a9e();}(vs,function(){var _0x13f284=_0x13f284||function(_0x53f9ec,_0x1a2944){const _0x7b3696=_0x2ee7;var _0x534f98;if(typeof window<'u'&&window[_0x7b3696(0x3e5)]&&(_0x534f98=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x534f98=self[_0x7b3696(0x3e5)]),typeof globalThis<'u'&&globalThis[_0x7b3696(0x3e5)]&&(_0x534f98=globalThis[_0x7b3696(0x3e5)]),!_0x534f98&&typeof window<'u'&&window['msCrypto']&&(_0x534f98=window[_0x7b3696(0x1ac)]),!_0x534f98&&typeof mt<'u'&&mt['crypto']&&(_0x534f98=mt[_0x7b3696(0x3e5)]),!_0x534f98&&typeof fs==_0x7b3696(0x4e2))try{_0x534f98=require(_0x7b3696(0x3e5));}catch{}var _0x4bae1e=function(){const _0x4a588b=_0x7b3696;if(_0x534f98){if(typeof _0x534f98[_0x4a588b(0x23c)]==_0x4a588b(0x4e2))try{return _0x534f98[_0x4a588b(0x23c)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x534f98['randomBytes']==_0x4a588b(0x4e2))try{return _0x534f98[_0x4a588b(0x620)](0x4)[_0x4a588b(0x38b)]();}catch{}}throw new Error(_0x4a588b(0x507));},_0xac50bd=Object[_0x7b3696(0x248)]||(function(){function _0x35cb65(){}return function(_0x2a1805){const _0x1e748e=_0x2ee7;var _0x29214a;return _0x35cb65[_0x1e748e(0x52e)]=_0x2a1805,_0x29214a=new _0x35cb65(),_0x35cb65[_0x1e748e(0x52e)]=null,_0x29214a;};}()),_0x4c2720={},_0x1cfa18=_0x4c2720[_0x7b3696(0x586)]={},_0x585fec=_0x1cfa18[_0x7b3696(0x3e3)]=(function(){return{'extend':function(_0x30a681){const _0x177100=_0x2ee7;var _0x215b09=_0xac50bd(this);return _0x30a681&&_0x215b09[_0x177100(0x3ca)](_0x30a681),(!_0x215b09[_0x177100(0x515)](_0x177100(0x313))||this[_0x177100(0x313)]===_0x215b09[_0x177100(0x313)])&&(_0x215b09['init']=function(){const _0x1d9873=_0x177100;_0x215b09['$super'][_0x1d9873(0x313)][_0x1d9873(0x3d2)](this,arguments);}),_0x215b09[_0x177100(0x313)][_0x177100(0x52e)]=_0x215b09,_0x215b09[_0x177100(0x35d)]=this,_0x215b09;},'create':function(){const _0x5ec6db=_0x2ee7;var _0x1fa90e=this[_0x5ec6db(0x5bf)]();return _0x1fa90e[_0x5ec6db(0x313)][_0x5ec6db(0x3d2)](_0x1fa90e,arguments),_0x1fa90e;},'init':function(){},'mixIn':function(_0x29f05f){const _0x55843d=_0x2ee7;for(var _0x24b1e2 in _0x29f05f)_0x29f05f['hasOwnProperty'](_0x24b1e2)&&(this[_0x24b1e2]=_0x29f05f[_0x24b1e2]);_0x29f05f[_0x55843d(0x515)](_0x55843d(0x42e))&&(this[_0x55843d(0x42e)]=_0x29f05f[_0x55843d(0x42e)]);},'clone':function(){const _0x5f408b=_0x2ee7;return this[_0x5f408b(0x313)][_0x5f408b(0x52e)][_0x5f408b(0x5bf)](this);}};}()),_0x3ae0ec=_0x1cfa18[_0x7b3696(0x1a6)]=_0x585fec[_0x7b3696(0x5bf)]({'init':function(_0x716a4b,_0x195a2e){const _0xaa8304=_0x7b3696;_0x716a4b=this[_0xaa8304(0x35c)]=_0x716a4b||[],_0x195a2e!=_0x1a2944?this[_0xaa8304(0x485)]=_0x195a2e:this[_0xaa8304(0x485)]=_0x716a4b[_0xaa8304(0x45e)]*0x4;},'toString':function(_0x4ab3ad){const _0x1d9273=_0x7b3696;return(_0x4ab3ad||_0x4c8376)[_0x1d9273(0x1ad)](this);},'concat':function(_0x1dc818){const _0x437181=_0x7b3696;var _0x382bf6=this[_0x437181(0x35c)],_0x211626=_0x1dc818[_0x437181(0x35c)],_0x5d4955=this['sigBytes'],_0x255939=_0x1dc818['sigBytes'];if(this[_0x437181(0x475)](),_0x5d4955%0x4)for(var _0xb19cdd=0x0;_0xb19cdd<_0x255939;_0xb19cdd++){var _0x3760a1=_0x211626[_0xb19cdd>>>0x2]>>>0x18-_0xb19cdd%0x4*0x8&0xff;_0x382bf6[_0x5d4955+_0xb19cdd>>>0x2]|=_0x3760a1<<0x18-(_0x5d4955+_0xb19cdd)%0x4*0x8;}else{for(var _0x448d37=0x0;_0x448d37<_0x255939;_0x448d37+=0x4)_0x382bf6[_0x5d4955+_0x448d37>>>0x2]=_0x211626[_0x448d37>>>0x2];}return this['sigBytes']+=_0x255939,this;},'clamp':function(){const _0x57dfcf=_0x7b3696;var _0x157e85=this[_0x57dfcf(0x35c)],_0x19dbec=this[_0x57dfcf(0x485)];_0x157e85[_0x19dbec>>>0x2]&=0xffffffff<<0x20-_0x19dbec%0x4*0x8,_0x157e85[_0x57dfcf(0x45e)]=_0x53f9ec[_0x57dfcf(0x4c3)](_0x19dbec/0x4);},'clone':function(){const _0x347aff=_0x7b3696;var _0x5b7ac5=_0x585fec[_0x347aff(0x3ec)][_0x347aff(0x339)](this);return _0x5b7ac5[_0x347aff(0x35c)]=this['words'][_0x347aff(0x3e9)](0x0),_0x5b7ac5;},'random':function(_0xa6b44b){const _0x3e2bb5=_0x7b3696;for(var _0xbe8737=[],_0x356c41=0x0;_0x356c41<_0xa6b44b;_0x356c41+=0x4)_0xbe8737['push'](_0x4bae1e());return new _0x3ae0ec[(_0x3e2bb5(0x313))](_0xbe8737,_0xa6b44b);}}),_0x56a161=_0x4c2720['enc']={},_0x4c8376=_0x56a161[_0x7b3696(0x531)]={'stringify':function(_0x9cd3d4){const _0x2f628f=_0x7b3696;for(var _0x10197f=_0x9cd3d4[_0x2f628f(0x35c)],_0x369e8e=_0x9cd3d4[_0x2f628f(0x485)],_0x551d65=[],_0x2e8b2b=0x0;_0x2e8b2b<_0x369e8e;_0x2e8b2b++){var _0x327fd8=_0x10197f[_0x2e8b2b>>>0x2]>>>0x18-_0x2e8b2b%0x4*0x8&0xff;_0x551d65['push']((_0x327fd8>>>0x4)[_0x2f628f(0x42e)](0x10)),_0x551d65['push']((_0x327fd8&0xf)[_0x2f628f(0x42e)](0x10));}return _0x551d65['join']('');},'parse':function(_0x28f173){const _0x4b38bf=_0x7b3696;for(var _0x36867f=_0x28f173[_0x4b38bf(0x45e)],_0x5a653a=[],_0x3698ab=0x0;_0x3698ab<_0x36867f;_0x3698ab+=0x2)_0x5a653a[_0x3698ab>>>0x3]|=parseInt(_0x28f173[_0x4b38bf(0x63b)](_0x3698ab,0x2),0x10)<<0x18-_0x3698ab%0x8*0x4;return new _0x3ae0ec[(_0x4b38bf(0x313))](_0x5a653a,_0x36867f/0x2);}},_0x3c05da=_0x56a161[_0x7b3696(0x4de)]={'stringify':function(_0x51bdc6){const _0x33ef8f=_0x7b3696;for(var _0x2585a5=_0x51bdc6['words'],_0x179735=_0x51bdc6[_0x33ef8f(0x485)],_0xb51652=[],_0x3fbbc6=0x0;_0x3fbbc6<_0x179735;_0x3fbbc6++){var _0x570e62=_0x2585a5[_0x3fbbc6>>>0x2]>>>0x18-_0x3fbbc6%0x4*0x8&0xff;_0xb51652['push'](String[_0x33ef8f(0x1b2)](_0x570e62));}return _0xb51652[_0x33ef8f(0x256)]('');},'parse':function(_0x35304a){const _0x42d2dd=_0x7b3696;for(var _0x1dac3b=_0x35304a[_0x42d2dd(0x45e)],_0x1826ce=[],_0x234d56=0x0;_0x234d56<_0x1dac3b;_0x234d56++)_0x1826ce[_0x234d56>>>0x2]|=(_0x35304a[_0x42d2dd(0x3cf)](_0x234d56)&0xff)<<0x18-_0x234d56%0x4*0x8;return new _0x3ae0ec[(_0x42d2dd(0x313))](_0x1826ce,_0x1dac3b);}},_0x224965=_0x56a161[_0x7b3696(0x349)]={'stringify':function(_0x2d003c){const _0x24fdb7=_0x7b3696;try{return decodeURIComponent(escape(_0x3c05da[_0x24fdb7(0x1ad)](_0x2d003c)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x58510e){const _0x4a72f8=_0x7b3696;return _0x3c05da[_0x4a72f8(0x390)](unescape(encodeURIComponent(_0x58510e)));}},_0xaaaa09=_0x1cfa18[_0x7b3696(0x1c4)]=_0x585fec[_0x7b3696(0x5bf)]({'reset':function(){const _0x254088=_0x7b3696;this[_0x254088(0x541)]=new _0x3ae0ec[(_0x254088(0x313))](),this[_0x254088(0x1c7)]=0x0;},'_append':function(_0x3709c4){const _0x3e82ee=_0x7b3696;typeof _0x3709c4==_0x3e82ee(0x431)&&(_0x3709c4=_0x224965['parse'](_0x3709c4)),this[_0x3e82ee(0x541)][_0x3e82ee(0x491)](_0x3709c4),this[_0x3e82ee(0x1c7)]+=_0x3709c4[_0x3e82ee(0x485)];},'_process':function(_0x3a7b1c){const _0x12b224=_0x7b3696;var _0x28162e,_0x134644=this[_0x12b224(0x541)],_0x474b15=_0x134644[_0x12b224(0x35c)],_0x1f63a3=_0x134644[_0x12b224(0x485)],_0x36dbe2=this['blockSize'],_0x2be98c=_0x36dbe2*0x4,_0x51fc8b=_0x1f63a3/_0x2be98c;_0x3a7b1c?_0x51fc8b=_0x53f9ec[_0x12b224(0x4c3)](_0x51fc8b):_0x51fc8b=_0x53f9ec['max']((_0x51fc8b|0x0)-this[_0x12b224(0x47c)],0x0);var _0x47a2ff=_0x51fc8b*_0x36dbe2,_0x4bdcd7=_0x53f9ec[_0x12b224(0x43a)](_0x47a2ff*0x4,_0x1f63a3);if(_0x47a2ff){for(var _0x4fa179=0x0;_0x4fa179<_0x47a2ff;_0x4fa179+=_0x36dbe2)this[_0x12b224(0x370)](_0x474b15,_0x4fa179);_0x28162e=_0x474b15['splice'](0x0,_0x47a2ff),_0x134644[_0x12b224(0x485)]-=_0x4bdcd7;}return new _0x3ae0ec[(_0x12b224(0x313))](_0x28162e,_0x4bdcd7);},'clone':function(){const _0xcd2319=_0x7b3696;var _0x31d09d=_0x585fec[_0xcd2319(0x3ec)][_0xcd2319(0x339)](this);return _0x31d09d[_0xcd2319(0x541)]=this[_0xcd2319(0x541)][_0xcd2319(0x3ec)](),_0x31d09d;},'_minBufferSize':0x0});_0x1cfa18[_0x7b3696(0x4c5)]=_0xaaaa09[_0x7b3696(0x5bf)]({'cfg':_0x585fec[_0x7b3696(0x5bf)](),'init':function(_0x4b3c55){const _0x424f0f=_0x7b3696;this[_0x424f0f(0x281)]=this['cfg'][_0x424f0f(0x5bf)](_0x4b3c55),this[_0x424f0f(0x430)]();},'reset':function(){const _0x41a7bf=_0x7b3696;_0xaaaa09[_0x41a7bf(0x430)][_0x41a7bf(0x339)](this),this[_0x41a7bf(0x334)]();},'update':function(_0xc98b1d){const _0x40fbd6=_0x7b3696;return this[_0x40fbd6(0x5de)](_0xc98b1d),this[_0x40fbd6(0x376)](),this;},'finalize':function(_0x555ba1){const _0x439351=_0x7b3696;_0x555ba1&&this[_0x439351(0x5de)](_0x555ba1);var _0x57459f=this[_0x439351(0x5c5)]();return _0x57459f;},'blockSize':0x10,'_createHelper':function(_0x306bc4){return function(_0x556bc7,_0x2f4afd){const _0x2865a1=_0x2ee7;return new _0x306bc4[(_0x2865a1(0x313))](_0x2f4afd)[_0x2865a1(0x56c)](_0x556bc7);};},'_createHmacHelper':function(_0x55cdd9){return function(_0x25d213,_0x214c18){const _0x252669=_0x2ee7;return new _0x2b4e5b[(_0x252669(0x3f4))][(_0x252669(0x313))](_0x55cdd9,_0x214c18)['finalize'](_0x25d213);};}});var _0x2b4e5b=_0x4c2720[_0x7b3696(0x1a5)]={};return _0x4c2720;}(Math);return _0x13f284;}));}(ke)),ke[_0xf28e0c(0x512)];}var We={'exports':{}},ps=We[_0x248339(0x512)],ei;function $i(){const _0x2de8bc=_0x248339;return ei||(ei=0x1,function(_0x2c1ad4,_0x1b6cb5){(function(_0x3f2e5f,_0xd8a5ae){const _0x27264c=_0x2ee7;_0x2c1ad4[_0x27264c(0x512)]=_0xd8a5ae(se());}(ps,function(_0x2fc691){const _0x45c903=_0x2ee7;return(function(){const _0x20395=_0x2ee7;var _0x208a4a=_0x2fc691,_0x22030f=_0x208a4a[_0x20395(0x586)],_0x4b54a8=_0x22030f[_0x20395(0x1a6)],_0x362735=_0x208a4a[_0x20395(0x62a)];_0x362735[_0x20395(0x331)]={'stringify':function(_0x798649){const _0x2b5ef4=_0x20395;var _0x2b27a9=_0x798649[_0x2b5ef4(0x35c)],_0x224193=_0x798649[_0x2b5ef4(0x485)],_0x42f409=this['_map'];_0x798649[_0x2b5ef4(0x475)]();for(var _0x1b025a=[],_0x55f761=0x0;_0x55f761<_0x224193;_0x55f761+=0x3)for(var _0x2046e2=_0x2b27a9[_0x55f761>>>0x2]>>>0x18-_0x55f761%0x4*0x8&0xff,_0x3ae7cb=_0x2b27a9[_0x55f761+0x1>>>0x2]>>>0x18-(_0x55f761+0x1)%0x4*0x8&0xff,_0x79eeeb=_0x2b27a9[_0x55f761+0x2>>>0x2]>>>0x18-(_0x55f761+0x2)%0x4*0x8&0xff,_0x6cb7d0=_0x2046e2<<0x10|_0x3ae7cb<<0x8|_0x79eeeb,_0x23d8c4=0x0;_0x23d8c4<0x4&&_0x55f761+_0x23d8c4*0.75<_0x224193;_0x23d8c4++)_0x1b025a[_0x2b5ef4(0x3d7)](_0x42f409[_0x2b5ef4(0x560)](_0x6cb7d0>>>0x6*(0x3-_0x23d8c4)&0x3f));var _0x136991=_0x42f409['charAt'](0x40);if(_0x136991){for(;_0x1b025a[_0x2b5ef4(0x45e)]%0x4;)_0x1b025a[_0x2b5ef4(0x3d7)](_0x136991);}return _0x1b025a[_0x2b5ef4(0x256)]('');},'parse':function(_0x3bdb92){const _0x45ef11=_0x20395;var _0x39ecf0=_0x3bdb92[_0x45ef11(0x45e)],_0xffb24d=this[_0x45ef11(0x52a)],_0x5e061f=this[_0x45ef11(0x401)];if(!_0x5e061f){_0x5e061f=this[_0x45ef11(0x401)]=[];for(var _0x22c001=0x0;_0x22c001<_0xffb24d[_0x45ef11(0x45e)];_0x22c001++)_0x5e061f[_0xffb24d['charCodeAt'](_0x22c001)]=_0x22c001;}var _0x493b98=_0xffb24d['charAt'](0x40);if(_0x493b98){var _0x53c2db=_0x3bdb92[_0x45ef11(0x383)](_0x493b98);_0x53c2db!==-0x1&&(_0x39ecf0=_0x53c2db);}return _0x77f191(_0x3bdb92,_0x39ecf0,_0x5e061f);},'_map':_0x20395(0x29e)};function _0x77f191(_0x5d39e5,_0x1e590a,_0x13afcd){const _0x278eda=_0x20395;for(var _0xf2c42c=[],_0x35ee9c=0x0,_0x1f56a6=0x0;_0x1f56a6<_0x1e590a;_0x1f56a6++)if(_0x1f56a6%0x4){var _0x225825=_0x13afcd[_0x5d39e5['charCodeAt'](_0x1f56a6-0x1)]<<_0x1f56a6%0x4*0x2,_0x1820de=_0x13afcd[_0x5d39e5['charCodeAt'](_0x1f56a6)]>>>0x6-_0x1f56a6%0x4*0x2,_0x17f522=_0x225825|_0x1820de;_0xf2c42c[_0x35ee9c>>>0x2]|=_0x17f522<<0x18-_0x35ee9c%0x4*0x8,_0x35ee9c++;}return _0x4b54a8[_0x278eda(0x248)](_0xf2c42c,_0x35ee9c);}}()),_0x2fc691[_0x45c903(0x62a)]['Base64'];}));}(We)),We[_0x2de8bc(0x512)];}var Fe={'exports':{}},Ss=Fe[_0x248339(0x512)],ti;function ms(){const _0x281c54=_0x248339;return ti||(ti=0x1,function(_0x2549a4,_0x12522a){(function(_0x398279,_0x1cf1b4){const _0x6de25f=_0x2ee7;_0x2549a4[_0x6de25f(0x512)]=_0x1cf1b4(se());}(Ss,function(_0x43d4a6){return function(_0x3115fc){const _0x520b73=_0x2ee7;var _0x5c4f94=_0x43d4a6,_0xc4e4aa=_0x5c4f94[_0x520b73(0x586)],_0x50cffd=_0xc4e4aa['WordArray'],_0x29f9b2=_0xc4e4aa['Hasher'],_0x45bbd6=_0x5c4f94['algo'],_0x10f77a=[];(function(){const _0x1007cb=_0x520b73;for(var _0x34ed16=0x0;_0x34ed16<0x40;_0x34ed16++)_0x10f77a[_0x34ed16]=_0x3115fc[_0x1007cb(0x1fc)](_0x3115fc[_0x1007cb(0x241)](_0x34ed16+0x1))*0x100000000|0x0;}());var _0x5a81d8=_0x45bbd6[_0x520b73(0x456)]=_0x29f9b2[_0x520b73(0x5bf)]({'_doReset':function(){const _0x20b64c=_0x520b73;this[_0x20b64c(0x435)]=new _0x50cffd[(_0x20b64c(0x313))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4e54cf,_0x2389d0){const _0x511405=_0x520b73;for(var _0x569421=0x0;_0x569421<0x10;_0x569421++){var _0x1d7a51=_0x2389d0+_0x569421,_0x3cb3fa=_0x4e54cf[_0x1d7a51];_0x4e54cf[_0x1d7a51]=(_0x3cb3fa<<0x8|_0x3cb3fa>>>0x18)&0xff00ff|(_0x3cb3fa<<0x18|_0x3cb3fa>>>0x8)&0xff00ff00;}var _0x34fdaa=this[_0x511405(0x435)]['words'],_0x40d84c=_0x4e54cf[_0x2389d0+0x0],_0x11e324=_0x4e54cf[_0x2389d0+0x1],_0x39eb46=_0x4e54cf[_0x2389d0+0x2],_0x462236=_0x4e54cf[_0x2389d0+0x3],_0x5249d5=_0x4e54cf[_0x2389d0+0x4],_0x5395ac=_0x4e54cf[_0x2389d0+0x5],_0x3b7018=_0x4e54cf[_0x2389d0+0x6],_0x32044d=_0x4e54cf[_0x2389d0+0x7],_0x154148=_0x4e54cf[_0x2389d0+0x8],_0x4ede1f=_0x4e54cf[_0x2389d0+0x9],_0x54f177=_0x4e54cf[_0x2389d0+0xa],_0x36719d=_0x4e54cf[_0x2389d0+0xb],_0x426e6d=_0x4e54cf[_0x2389d0+0xc],_0x16f662=_0x4e54cf[_0x2389d0+0xd],_0x42a167=_0x4e54cf[_0x2389d0+0xe],_0x51833b=_0x4e54cf[_0x2389d0+0xf],_0x23d525=_0x34fdaa[0x0],_0x5bf7ec=_0x34fdaa[0x1],_0x4f9a95=_0x34fdaa[0x2],_0x2c4f1a=_0x34fdaa[0x3];_0x23d525=_0x3730ba(_0x23d525,_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x40d84c,0x7,_0x10f77a[0x0]),_0x2c4f1a=_0x3730ba(_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x4f9a95,_0x11e324,0xc,_0x10f77a[0x1]),_0x4f9a95=_0x3730ba(_0x4f9a95,_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x39eb46,0x11,_0x10f77a[0x2]),_0x5bf7ec=_0x3730ba(_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x23d525,_0x462236,0x16,_0x10f77a[0x3]),_0x23d525=_0x3730ba(_0x23d525,_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x5249d5,0x7,_0x10f77a[0x4]),_0x2c4f1a=_0x3730ba(_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x4f9a95,_0x5395ac,0xc,_0x10f77a[0x5]),_0x4f9a95=_0x3730ba(_0x4f9a95,_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x3b7018,0x11,_0x10f77a[0x6]),_0x5bf7ec=_0x3730ba(_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x23d525,_0x32044d,0x16,_0x10f77a[0x7]),_0x23d525=_0x3730ba(_0x23d525,_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x154148,0x7,_0x10f77a[0x8]),_0x2c4f1a=_0x3730ba(_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x4f9a95,_0x4ede1f,0xc,_0x10f77a[0x9]),_0x4f9a95=_0x3730ba(_0x4f9a95,_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x54f177,0x11,_0x10f77a[0xa]),_0x5bf7ec=_0x3730ba(_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x23d525,_0x36719d,0x16,_0x10f77a[0xb]),_0x23d525=_0x3730ba(_0x23d525,_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x426e6d,0x7,_0x10f77a[0xc]),_0x2c4f1a=_0x3730ba(_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x4f9a95,_0x16f662,0xc,_0x10f77a[0xd]),_0x4f9a95=_0x3730ba(_0x4f9a95,_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x42a167,0x11,_0x10f77a[0xe]),_0x5bf7ec=_0x3730ba(_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x23d525,_0x51833b,0x16,_0x10f77a[0xf]),_0x23d525=_0x8bfb28(_0x23d525,_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x11e324,0x5,_0x10f77a[0x10]),_0x2c4f1a=_0x8bfb28(_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x4f9a95,_0x3b7018,0x9,_0x10f77a[0x11]),_0x4f9a95=_0x8bfb28(_0x4f9a95,_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x36719d,0xe,_0x10f77a[0x12]),_0x5bf7ec=_0x8bfb28(_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x23d525,_0x40d84c,0x14,_0x10f77a[0x13]),_0x23d525=_0x8bfb28(_0x23d525,_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x5395ac,0x5,_0x10f77a[0x14]),_0x2c4f1a=_0x8bfb28(_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x4f9a95,_0x54f177,0x9,_0x10f77a[0x15]),_0x4f9a95=_0x8bfb28(_0x4f9a95,_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x51833b,0xe,_0x10f77a[0x16]),_0x5bf7ec=_0x8bfb28(_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x23d525,_0x5249d5,0x14,_0x10f77a[0x17]),_0x23d525=_0x8bfb28(_0x23d525,_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x4ede1f,0x5,_0x10f77a[0x18]),_0x2c4f1a=_0x8bfb28(_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x4f9a95,_0x42a167,0x9,_0x10f77a[0x19]),_0x4f9a95=_0x8bfb28(_0x4f9a95,_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x462236,0xe,_0x10f77a[0x1a]),_0x5bf7ec=_0x8bfb28(_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x23d525,_0x154148,0x14,_0x10f77a[0x1b]),_0x23d525=_0x8bfb28(_0x23d525,_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x16f662,0x5,_0x10f77a[0x1c]),_0x2c4f1a=_0x8bfb28(_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x4f9a95,_0x39eb46,0x9,_0x10f77a[0x1d]),_0x4f9a95=_0x8bfb28(_0x4f9a95,_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x32044d,0xe,_0x10f77a[0x1e]),_0x5bf7ec=_0x8bfb28(_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x23d525,_0x426e6d,0x14,_0x10f77a[0x1f]),_0x23d525=_0x48af1b(_0x23d525,_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x5395ac,0x4,_0x10f77a[0x20]),_0x2c4f1a=_0x48af1b(_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x4f9a95,_0x154148,0xb,_0x10f77a[0x21]),_0x4f9a95=_0x48af1b(_0x4f9a95,_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x36719d,0x10,_0x10f77a[0x22]),_0x5bf7ec=_0x48af1b(_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x23d525,_0x42a167,0x17,_0x10f77a[0x23]),_0x23d525=_0x48af1b(_0x23d525,_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x11e324,0x4,_0x10f77a[0x24]),_0x2c4f1a=_0x48af1b(_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x4f9a95,_0x5249d5,0xb,_0x10f77a[0x25]),_0x4f9a95=_0x48af1b(_0x4f9a95,_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x32044d,0x10,_0x10f77a[0x26]),_0x5bf7ec=_0x48af1b(_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x23d525,_0x54f177,0x17,_0x10f77a[0x27]),_0x23d525=_0x48af1b(_0x23d525,_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x16f662,0x4,_0x10f77a[0x28]),_0x2c4f1a=_0x48af1b(_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x4f9a95,_0x40d84c,0xb,_0x10f77a[0x29]),_0x4f9a95=_0x48af1b(_0x4f9a95,_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x462236,0x10,_0x10f77a[0x2a]),_0x5bf7ec=_0x48af1b(_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x23d525,_0x3b7018,0x17,_0x10f77a[0x2b]),_0x23d525=_0x48af1b(_0x23d525,_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x4ede1f,0x4,_0x10f77a[0x2c]),_0x2c4f1a=_0x48af1b(_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x4f9a95,_0x426e6d,0xb,_0x10f77a[0x2d]),_0x4f9a95=_0x48af1b(_0x4f9a95,_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x51833b,0x10,_0x10f77a[0x2e]),_0x5bf7ec=_0x48af1b(_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x23d525,_0x39eb46,0x17,_0x10f77a[0x2f]),_0x23d525=_0xcc2d55(_0x23d525,_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x40d84c,0x6,_0x10f77a[0x30]),_0x2c4f1a=_0xcc2d55(_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x4f9a95,_0x32044d,0xa,_0x10f77a[0x31]),_0x4f9a95=_0xcc2d55(_0x4f9a95,_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x42a167,0xf,_0x10f77a[0x32]),_0x5bf7ec=_0xcc2d55(_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x23d525,_0x5395ac,0x15,_0x10f77a[0x33]),_0x23d525=_0xcc2d55(_0x23d525,_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x426e6d,0x6,_0x10f77a[0x34]),_0x2c4f1a=_0xcc2d55(_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x4f9a95,_0x462236,0xa,_0x10f77a[0x35]),_0x4f9a95=_0xcc2d55(_0x4f9a95,_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x54f177,0xf,_0x10f77a[0x36]),_0x5bf7ec=_0xcc2d55(_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x23d525,_0x11e324,0x15,_0x10f77a[0x37]),_0x23d525=_0xcc2d55(_0x23d525,_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x154148,0x6,_0x10f77a[0x38]),_0x2c4f1a=_0xcc2d55(_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x4f9a95,_0x51833b,0xa,_0x10f77a[0x39]),_0x4f9a95=_0xcc2d55(_0x4f9a95,_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x3b7018,0xf,_0x10f77a[0x3a]),_0x5bf7ec=_0xcc2d55(_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x23d525,_0x16f662,0x15,_0x10f77a[0x3b]),_0x23d525=_0xcc2d55(_0x23d525,_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x5249d5,0x6,_0x10f77a[0x3c]),_0x2c4f1a=_0xcc2d55(_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x4f9a95,_0x36719d,0xa,_0x10f77a[0x3d]),_0x4f9a95=_0xcc2d55(_0x4f9a95,_0x2c4f1a,_0x23d525,_0x5bf7ec,_0x39eb46,0xf,_0x10f77a[0x3e]),_0x5bf7ec=_0xcc2d55(_0x5bf7ec,_0x4f9a95,_0x2c4f1a,_0x23d525,_0x4ede1f,0x15,_0x10f77a[0x3f]),_0x34fdaa[0x0]=_0x34fdaa[0x0]+_0x23d525|0x0,_0x34fdaa[0x1]=_0x34fdaa[0x1]+_0x5bf7ec|0x0,_0x34fdaa[0x2]=_0x34fdaa[0x2]+_0x4f9a95|0x0,_0x34fdaa[0x3]=_0x34fdaa[0x3]+_0x2c4f1a|0x0;},'_doFinalize':function(){const _0x505d65=_0x520b73;var _0x38afe8=this[_0x505d65(0x541)],_0xc37c1=_0x38afe8[_0x505d65(0x35c)],_0x1c1a64=this[_0x505d65(0x1c7)]*0x8,_0x28a18c=_0x38afe8[_0x505d65(0x485)]*0x8;_0xc37c1[_0x28a18c>>>0x5]|=0x80<<0x18-_0x28a18c%0x20;var _0x3e7716=_0x3115fc[_0x505d65(0x553)](_0x1c1a64/0x100000000),_0x2e8556=_0x1c1a64;_0xc37c1[(_0x28a18c+0x40>>>0x9<<0x4)+0xf]=(_0x3e7716<<0x8|_0x3e7716>>>0x18)&0xff00ff|(_0x3e7716<<0x18|_0x3e7716>>>0x8)&0xff00ff00,_0xc37c1[(_0x28a18c+0x40>>>0x9<<0x4)+0xe]=(_0x2e8556<<0x8|_0x2e8556>>>0x18)&0xff00ff|(_0x2e8556<<0x18|_0x2e8556>>>0x8)&0xff00ff00,_0x38afe8[_0x505d65(0x485)]=(_0xc37c1[_0x505d65(0x45e)]+0x1)*0x4,this[_0x505d65(0x376)]();for(var _0x5a4f3f=this[_0x505d65(0x435)],_0x2a1858=_0x5a4f3f['words'],_0x39d38f=0x0;_0x39d38f<0x4;_0x39d38f++){var _0x36f37f=_0x2a1858[_0x39d38f];_0x2a1858[_0x39d38f]=(_0x36f37f<<0x8|_0x36f37f>>>0x18)&0xff00ff|(_0x36f37f<<0x18|_0x36f37f>>>0x8)&0xff00ff00;}return _0x5a4f3f;},'clone':function(){const _0x48306d=_0x520b73;var _0x47a1d8=_0x29f9b2[_0x48306d(0x3ec)][_0x48306d(0x339)](this);return _0x47a1d8[_0x48306d(0x435)]=this[_0x48306d(0x435)][_0x48306d(0x3ec)](),_0x47a1d8;}});function _0x3730ba(_0x33721d,_0x149a08,_0x18cb7d,_0x28478a,_0x570a4c,_0x4b215a,_0x186d6a){var _0x44c8ad=_0x33721d+(_0x149a08&_0x18cb7d|~_0x149a08&_0x28478a)+_0x570a4c+_0x186d6a;return(_0x44c8ad<<_0x4b215a|_0x44c8ad>>>0x20-_0x4b215a)+_0x149a08;}function _0x8bfb28(_0x4ca56d,_0x55d61b,_0x20ffb9,_0x4d38fc,_0x301037,_0x21c93f,_0x2af5b7){var _0x24b22e=_0x4ca56d+(_0x55d61b&_0x4d38fc|_0x20ffb9&~_0x4d38fc)+_0x301037+_0x2af5b7;return(_0x24b22e<<_0x21c93f|_0x24b22e>>>0x20-_0x21c93f)+_0x55d61b;}function _0x48af1b(_0x29cfe,_0x4adc05,_0x118708,_0x487bca,_0x2d46fb,_0x5ccbb1,_0x281709){var _0x328346=_0x29cfe+(_0x4adc05^_0x118708^_0x487bca)+_0x2d46fb+_0x281709;return(_0x328346<<_0x5ccbb1|_0x328346>>>0x20-_0x5ccbb1)+_0x4adc05;}function _0xcc2d55(_0x38a00c,_0x5f2d21,_0x5ba2c2,_0x247967,_0x4e0699,_0x41221e,_0x42dedd){var _0x26d3b2=_0x38a00c+(_0x5ba2c2^(_0x5f2d21|~_0x247967))+_0x4e0699+_0x42dedd;return(_0x26d3b2<<_0x41221e|_0x26d3b2>>>0x20-_0x41221e)+_0x5f2d21;}_0x5c4f94['MD5']=_0x29f9b2['_createHelper'](_0x5a81d8),_0x5c4f94[_0x520b73(0x429)]=_0x29f9b2['_createHmacHelper'](_0x5a81d8);}(Math),_0x43d4a6['MD5'];}));}(Fe)),Fe[_0x281c54(0x512)];}var Ve={'exports':{}},Ge={'exports':{}},gs=Ge[_0x248339(0x512)],ii;function Is(){return ii||(ii=0x1,function(_0x27a64d,_0x4d6e9c){(function(_0x469469,_0x338039){const _0x20b599=_0x2ee7;_0x27a64d[_0x20b599(0x512)]=_0x338039(se());}(gs,function(_0x191bfe){const _0x2c371c=_0x2ee7;return(function(){const _0xbbae4c=_0x2ee7;var _0x4f0fb7=_0x191bfe,_0x44df70=_0x4f0fb7[_0xbbae4c(0x586)],_0x1461aa=_0x44df70[_0xbbae4c(0x1a6)],_0x597611=_0x44df70[_0xbbae4c(0x4c5)],_0x56e571=_0x4f0fb7[_0xbbae4c(0x1a5)],_0x244648=[],_0x3a62f6=_0x56e571['SHA1']=_0x597611[_0xbbae4c(0x5bf)]({'_doReset':function(){const _0x5efd58=_0xbbae4c;this['_hash']=new _0x1461aa[(_0x5efd58(0x313))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x262e01,_0x37b97f){const _0x3a2eee=_0xbbae4c;for(var _0x1b2a01=this[_0x3a2eee(0x435)][_0x3a2eee(0x35c)],_0x2550b5=_0x1b2a01[0x0],_0x184874=_0x1b2a01[0x1],_0x21ac14=_0x1b2a01[0x2],_0x202ce3=_0x1b2a01[0x3],_0x4b8017=_0x1b2a01[0x4],_0x14afcf=0x0;_0x14afcf<0x50;_0x14afcf++){if(_0x14afcf<0x10)_0x244648[_0x14afcf]=_0x262e01[_0x37b97f+_0x14afcf]|0x0;else{var _0x1ac1ea=_0x244648[_0x14afcf-0x3]^_0x244648[_0x14afcf-0x8]^_0x244648[_0x14afcf-0xe]^_0x244648[_0x14afcf-0x10];_0x244648[_0x14afcf]=_0x1ac1ea<<0x1|_0x1ac1ea>>>0x1f;}var _0x2839f7=(_0x2550b5<<0x5|_0x2550b5>>>0x1b)+_0x4b8017+_0x244648[_0x14afcf];_0x14afcf<0x14?_0x2839f7+=(_0x184874&_0x21ac14|~_0x184874&_0x202ce3)+0x5a827999:_0x14afcf<0x28?_0x2839f7+=(_0x184874^_0x21ac14^_0x202ce3)+0x6ed9eba1:_0x14afcf<0x3c?_0x2839f7+=(_0x184874&_0x21ac14|_0x184874&_0x202ce3|_0x21ac14&_0x202ce3)-0x70e44324:_0x2839f7+=(_0x184874^_0x21ac14^_0x202ce3)-0x359d3e2a,_0x4b8017=_0x202ce3,_0x202ce3=_0x21ac14,_0x21ac14=_0x184874<<0x1e|_0x184874>>>0x2,_0x184874=_0x2550b5,_0x2550b5=_0x2839f7;}_0x1b2a01[0x0]=_0x1b2a01[0x0]+_0x2550b5|0x0,_0x1b2a01[0x1]=_0x1b2a01[0x1]+_0x184874|0x0,_0x1b2a01[0x2]=_0x1b2a01[0x2]+_0x21ac14|0x0,_0x1b2a01[0x3]=_0x1b2a01[0x3]+_0x202ce3|0x0,_0x1b2a01[0x4]=_0x1b2a01[0x4]+_0x4b8017|0x0;},'_doFinalize':function(){const _0x46ed52=_0xbbae4c;var _0x55eafa=this[_0x46ed52(0x541)],_0x128626=_0x55eafa[_0x46ed52(0x35c)],_0x3d292a=this['_nDataBytes']*0x8,_0x3db3c5=_0x55eafa['sigBytes']*0x8;return _0x128626[_0x3db3c5>>>0x5]|=0x80<<0x18-_0x3db3c5%0x20,_0x128626[(_0x3db3c5+0x40>>>0x9<<0x4)+0xe]=Math[_0x46ed52(0x553)](_0x3d292a/0x100000000),_0x128626[(_0x3db3c5+0x40>>>0x9<<0x4)+0xf]=_0x3d292a,_0x55eafa['sigBytes']=_0x128626[_0x46ed52(0x45e)]*0x4,this['_process'](),this[_0x46ed52(0x435)];},'clone':function(){const _0x5df52b=_0xbbae4c;var _0x3b42e8=_0x597611['clone'][_0x5df52b(0x339)](this);return _0x3b42e8[_0x5df52b(0x435)]=this[_0x5df52b(0x435)][_0x5df52b(0x3ec)](),_0x3b42e8;}});_0x4f0fb7[_0xbbae4c(0x278)]=_0x597611[_0xbbae4c(0x306)](_0x3a62f6),_0x4f0fb7['HmacSHA1']=_0x597611[_0xbbae4c(0x324)](_0x3a62f6);}()),_0x191bfe[_0x2c371c(0x278)];}));}(Ge)),Ge['exports'];}var Ye={'exports':{}},Cs=Ye[_0x248339(0x512)],ni;function Es(){const _0x214db6=_0x248339;return ni||(ni=0x1,function(_0x121960,_0x549632){(function(_0x16df53,_0x547693){const _0x146e8e=_0x2ee7;_0x121960[_0x146e8e(0x512)]=_0x547693(se());}(Cs,function(_0x30dffd){(function(){const _0xc86c34=_0x2ee7;var _0x1c8928=_0x30dffd,_0x251ef0=_0x1c8928[_0xc86c34(0x586)],_0x1bd0f5=_0x251ef0[_0xc86c34(0x3e3)],_0xcdeefd=_0x1c8928[_0xc86c34(0x62a)],_0x4105e6=_0xcdeefd[_0xc86c34(0x349)],_0xf320ee=_0x1c8928[_0xc86c34(0x1a5)];_0xf320ee[_0xc86c34(0x3f4)]=_0x1bd0f5[_0xc86c34(0x5bf)]({'init':function(_0x1e84d3,_0x4a0fee){const _0x221f4d=_0xc86c34;_0x1e84d3=this['_hasher']=new _0x1e84d3[(_0x221f4d(0x313))](),typeof _0x4a0fee=='string'&&(_0x4a0fee=_0x4105e6['parse'](_0x4a0fee));var _0x701d73=_0x1e84d3[_0x221f4d(0x2f2)],_0x27815f=_0x701d73*0x4;_0x4a0fee[_0x221f4d(0x485)]>_0x27815f&&(_0x4a0fee=_0x1e84d3[_0x221f4d(0x56c)](_0x4a0fee)),_0x4a0fee[_0x221f4d(0x475)]();for(var _0x3ba56a=this[_0x221f4d(0x642)]=_0x4a0fee[_0x221f4d(0x3ec)](),_0x19c7c4=this['_iKey']=_0x4a0fee[_0x221f4d(0x3ec)](),_0x355d1c=_0x3ba56a[_0x221f4d(0x35c)],_0x26b154=_0x19c7c4[_0x221f4d(0x35c)],_0x3e6ddc=0x0;_0x3e6ddc<_0x701d73;_0x3e6ddc++)_0x355d1c[_0x3e6ddc]^=0x5c5c5c5c,_0x26b154[_0x3e6ddc]^=0x36363636;_0x3ba56a[_0x221f4d(0x485)]=_0x19c7c4[_0x221f4d(0x485)]=_0x27815f,this[_0x221f4d(0x430)]();},'reset':function(){const _0x72d86d=_0xc86c34;var _0x4421d2=this[_0x72d86d(0x192)];_0x4421d2[_0x72d86d(0x430)](),_0x4421d2['update'](this[_0x72d86d(0x3d8)]);},'update':function(_0x316e58){const _0x5f3e52=_0xc86c34;return this['_hasher'][_0x5f3e52(0x3f1)](_0x316e58),this;},'finalize':function(_0x35a1aa){const _0x3044be=_0xc86c34;var _0x1855cd=this[_0x3044be(0x192)],_0x2f841c=_0x1855cd[_0x3044be(0x56c)](_0x35a1aa);_0x1855cd[_0x3044be(0x430)]();var _0x50e455=_0x1855cd[_0x3044be(0x56c)](this[_0x3044be(0x642)][_0x3044be(0x3ec)]()['concat'](_0x2f841c));return _0x50e455;}});}());}));}(Ye)),Ye[_0x214db6(0x512)];}var bs=Ve['exports'],ri;function ji(){return ri||(ri=0x1,function(_0x40ce60,_0x4a2e39){(function(_0xcad1b7,_0x17faf4,_0x45ad37){const _0x5f1f43=_0x2ee7;_0x40ce60[_0x5f1f43(0x512)]=_0x17faf4(se(),Is(),Es());}(bs,function(_0x2bda39){return(function(){const _0x485759=_0x2ee7;var _0x2b4a17=_0x2bda39,_0x3c4af7=_0x2b4a17[_0x485759(0x586)],_0x277450=_0x3c4af7['Base'],_0x2c4e1a=_0x3c4af7[_0x485759(0x1a6)],_0x489251=_0x2b4a17[_0x485759(0x1a5)],_0x16636e=_0x489251[_0x485759(0x456)],_0x46a127=_0x489251[_0x485759(0x5a8)]=_0x277450['extend']({'cfg':_0x277450['extend']({'keySize':0x80/0x20,'hasher':_0x16636e,'iterations':0x1}),'init':function(_0x37ac8c){const _0x4e158a=_0x485759;this[_0x4e158a(0x281)]=this[_0x4e158a(0x281)]['extend'](_0x37ac8c);},'compute':function(_0x36a166,_0x180aee){const _0x25ef8f=_0x485759;for(var _0x1a8be6,_0x550ac5=this[_0x25ef8f(0x281)],_0xca614d=_0x550ac5[_0x25ef8f(0x26d)]['create'](),_0x34540d=_0x2c4e1a[_0x25ef8f(0x248)](),_0x354c3f=_0x34540d['words'],_0x25209b=_0x550ac5[_0x25ef8f(0x2b1)],_0x58f8f5=_0x550ac5[_0x25ef8f(0x46f)];_0x354c3f[_0x25ef8f(0x45e)]<_0x25209b;){_0x1a8be6&&_0xca614d['update'](_0x1a8be6),_0x1a8be6=_0xca614d[_0x25ef8f(0x3f1)](_0x36a166)[_0x25ef8f(0x56c)](_0x180aee),_0xca614d[_0x25ef8f(0x430)]();for(var _0x57eeed=0x1;_0x57eeed<_0x58f8f5;_0x57eeed++)_0x1a8be6=_0xca614d['finalize'](_0x1a8be6),_0xca614d[_0x25ef8f(0x430)]();_0x34540d[_0x25ef8f(0x491)](_0x1a8be6);}return _0x34540d[_0x25ef8f(0x485)]=_0x25209b*0x4,_0x34540d;}});_0x2b4a17[_0x485759(0x5a8)]=function(_0x22c7c2,_0x5118ed,_0x1f2d48){const _0x3ccdc9=_0x485759;return _0x46a127['create'](_0x1f2d48)[_0x3ccdc9(0x22d)](_0x22c7c2,_0x5118ed);};}()),_0x2bda39['EvpKDF'];}));}(Ve)),Ve['exports'];}var qe={'exports':{}},Ts=qe[_0x248339(0x512)],si;function Hi(){const _0x13eb60=_0x248339;return si||(si=0x1,function(_0x86b14b,_0x49d4d0){(function(_0x229f4b,_0x385d1e,_0x36f1e7){const _0x5c2c9b=_0x2ee7;_0x86b14b[_0x5c2c9b(0x512)]=_0x385d1e(se(),ji());}(Ts,function(_0x1d02e5){const _0x595662=_0x2ee7;_0x1d02e5[_0x595662(0x586)]['Cipher']||function(_0x2461d5){const _0x1f0130=_0x595662;var _0x23e86f=_0x1d02e5,_0x21413e=_0x23e86f[_0x1f0130(0x586)],_0x5365c4=_0x21413e['Base'],_0x1379bd=_0x21413e[_0x1f0130(0x1a6)],_0x5c39ad=_0x21413e[_0x1f0130(0x1c4)],_0x2fc9db=_0x23e86f['enc'];_0x2fc9db[_0x1f0130(0x349)];var _0x5b6358=_0x2fc9db[_0x1f0130(0x331)],_0x43b18f=_0x23e86f[_0x1f0130(0x1a5)],_0xfdb147=_0x43b18f[_0x1f0130(0x5a8)],_0x583bcd=_0x21413e[_0x1f0130(0x1a9)]=_0x5c39ad['extend']({'cfg':_0x5365c4[_0x1f0130(0x5bf)](),'createEncryptor':function(_0x1c24c1,_0x45e0b8){const _0x29472c=_0x1f0130;return this['create'](this[_0x29472c(0x2bb)],_0x1c24c1,_0x45e0b8);},'createDecryptor':function(_0x12e332,_0x3257c4){const _0x206da1=_0x1f0130;return this[_0x206da1(0x248)](this['_DEC_XFORM_MODE'],_0x12e332,_0x3257c4);},'init':function(_0x3a871a,_0x455b41,_0x304f47){const _0x51bfd6=_0x1f0130;this[_0x51bfd6(0x281)]=this['cfg'][_0x51bfd6(0x5bf)](_0x304f47),this[_0x51bfd6(0x305)]=_0x3a871a,this['_key']=_0x455b41,this[_0x51bfd6(0x430)]();},'reset':function(){_0x5c39ad['reset']['call'](this),this['_doReset']();},'process':function(_0x288234){const _0x416dad=_0x1f0130;return this[_0x416dad(0x5de)](_0x288234),this[_0x416dad(0x376)]();},'finalize':function(_0x185d82){_0x185d82&&this['_append'](_0x185d82);var _0x108962=this['_doFinalize']();return _0x108962;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5576ac(_0x31392c){const _0x128e55=_0x2ee7;return typeof _0x31392c==_0x128e55(0x431)?_0x2be6ad:_0x31eaf6;}return function(_0x3118d2){return{'encrypt':function(_0x485ba6,_0x9ca21e,_0x148647){return _0x5576ac(_0x9ca21e)['encrypt'](_0x3118d2,_0x485ba6,_0x9ca21e,_0x148647);},'decrypt':function(_0x545d22,_0x359e12,_0x138b8f){const _0x277799=_0x2ee7;return _0x5576ac(_0x359e12)[_0x277799(0x1dd)](_0x3118d2,_0x545d22,_0x359e12,_0x138b8f);}};};}())});_0x21413e[_0x1f0130(0x1b4)]=_0x583bcd['extend']({'_doFinalize':function(){const _0x90b4bf=_0x1f0130;var _0x2f7188=this[_0x90b4bf(0x376)](!0x0);return _0x2f7188;},'blockSize':0x1});var _0x5af88f=_0x23e86f[_0x1f0130(0x24d)]={},_0x210a10=_0x21413e[_0x1f0130(0x5c3)]=_0x5365c4['extend']({'createEncryptor':function(_0x15dc14,_0x3fc4a1){const _0x3883ac=_0x1f0130;return this[_0x3883ac(0x488)]['create'](_0x15dc14,_0x3fc4a1);},'createDecryptor':function(_0x58fe7c,_0x40c945){const _0x330e6e=_0x1f0130;return this[_0x330e6e(0x5f3)][_0x330e6e(0x248)](_0x58fe7c,_0x40c945);},'init':function(_0x125606,_0x5de1da){const _0xa9e649=_0x1f0130;this[_0xa9e649(0x392)]=_0x125606,this['_iv']=_0x5de1da;}}),_0x4a14f9=_0x5af88f[_0x1f0130(0x646)]=(function(){const _0x421d12=_0x1f0130;var _0x54bd76=_0x210a10['extend']();_0x54bd76[_0x421d12(0x488)]=_0x54bd76[_0x421d12(0x5bf)]({'processBlock':function(_0x86bccc,_0xb2958f){const _0x3d229b=_0x421d12;var _0x308daf=this[_0x3d229b(0x392)],_0x160d5a=_0x308daf[_0x3d229b(0x2f2)];_0x2b75e4[_0x3d229b(0x339)](this,_0x86bccc,_0xb2958f,_0x160d5a),_0x308daf[_0x3d229b(0x643)](_0x86bccc,_0xb2958f),this[_0x3d229b(0x4a8)]=_0x86bccc[_0x3d229b(0x3e9)](_0xb2958f,_0xb2958f+_0x160d5a);}}),_0x54bd76['Decryptor']=_0x54bd76[_0x421d12(0x5bf)]({'processBlock':function(_0x3da868,_0x3ccd08){const _0x2b4c46=_0x421d12;var _0x1709ac=this['_cipher'],_0x107af1=_0x1709ac[_0x2b4c46(0x2f2)],_0x45c02e=_0x3da868[_0x2b4c46(0x3e9)](_0x3ccd08,_0x3ccd08+_0x107af1);_0x1709ac[_0x2b4c46(0x49e)](_0x3da868,_0x3ccd08),_0x2b75e4[_0x2b4c46(0x339)](this,_0x3da868,_0x3ccd08,_0x107af1),this[_0x2b4c46(0x4a8)]=_0x45c02e;}});function _0x2b75e4(_0x24e3ab,_0x28334,_0x2271be){const _0x4e58fb=_0x421d12;var _0x479e0a,_0x239f9c=this[_0x4e58fb(0x608)];_0x239f9c?(_0x479e0a=_0x239f9c,this[_0x4e58fb(0x608)]=_0x2461d5):_0x479e0a=this[_0x4e58fb(0x4a8)];for(var _0x4cfb51=0x0;_0x4cfb51<_0x2271be;_0x4cfb51++)_0x24e3ab[_0x28334+_0x4cfb51]^=_0x479e0a[_0x4cfb51];}return _0x54bd76;}()),_0x4753f5=_0x23e86f[_0x1f0130(0x1a2)]={},_0x58a920=_0x4753f5['Pkcs7']={'pad':function(_0x4580d5,_0x1f3ceb){const _0x538f60=_0x1f0130;for(var _0x475a5e=_0x1f3ceb*0x4,_0x23e3da=_0x475a5e-_0x4580d5[_0x538f60(0x485)]%_0x475a5e,_0x2c3f14=_0x23e3da<<0x18|_0x23e3da<<0x10|_0x23e3da<<0x8|_0x23e3da,_0x5992bc=[],_0x35867a=0x0;_0x35867a<_0x23e3da;_0x35867a+=0x4)_0x5992bc['push'](_0x2c3f14);var _0x5c7e05=_0x1379bd[_0x538f60(0x248)](_0x5992bc,_0x23e3da);_0x4580d5[_0x538f60(0x491)](_0x5c7e05);},'unpad':function(_0x176ea5){const _0x3a784f=_0x1f0130;var _0x16bb7b=_0x176ea5['words'][_0x176ea5[_0x3a784f(0x485)]-0x1>>>0x2]&0xff;_0x176ea5[_0x3a784f(0x485)]-=_0x16bb7b;}};_0x21413e['BlockCipher']=_0x583bcd['extend']({'cfg':_0x583bcd[_0x1f0130(0x281)][_0x1f0130(0x5bf)]({'mode':_0x4a14f9,'padding':_0x58a920}),'reset':function(){const _0x2d641c=_0x1f0130;var _0x4a568c;_0x583bcd['reset']['call'](this);var _0x304ab9=this[_0x2d641c(0x281)],_0x5c86a9=_0x304ab9['iv'],_0x37fde0=_0x304ab9[_0x2d641c(0x24d)];this[_0x2d641c(0x305)]==this[_0x2d641c(0x2bb)]?_0x4a568c=_0x37fde0['createEncryptor']:(_0x4a568c=_0x37fde0[_0x2d641c(0x1f3)],this[_0x2d641c(0x47c)]=0x1),this[_0x2d641c(0x624)]&&this['_mode'][_0x2d641c(0x4e5)]==_0x4a568c?this[_0x2d641c(0x624)][_0x2d641c(0x313)](this,_0x5c86a9&&_0x5c86a9[_0x2d641c(0x35c)]):(this[_0x2d641c(0x624)]=_0x4a568c[_0x2d641c(0x339)](_0x37fde0,this,_0x5c86a9&&_0x5c86a9['words']),this[_0x2d641c(0x624)][_0x2d641c(0x4e5)]=_0x4a568c);},'_doProcessBlock':function(_0x5e6479,_0x1f7e33){const _0x36afe7=_0x1f0130;this[_0x36afe7(0x624)][_0x36afe7(0x22c)](_0x5e6479,_0x1f7e33);},'_doFinalize':function(){const _0x227b0d=_0x1f0130;var _0x32bfbb,_0x2d971a=this['cfg'][_0x227b0d(0x39b)];return this[_0x227b0d(0x305)]==this[_0x227b0d(0x2bb)]?(_0x2d971a[_0x227b0d(0x1a2)](this[_0x227b0d(0x541)],this['blockSize']),_0x32bfbb=this[_0x227b0d(0x376)](!0x0)):(_0x32bfbb=this[_0x227b0d(0x376)](!0x0),_0x2d971a[_0x227b0d(0x4e0)](_0x32bfbb)),_0x32bfbb;},'blockSize':0x80/0x20});var _0x4c5d60=_0x21413e['CipherParams']=_0x5365c4[_0x1f0130(0x5bf)]({'init':function(_0x2445c1){const _0x128d78=_0x1f0130;this[_0x128d78(0x3ca)](_0x2445c1);},'toString':function(_0x4ca01f){const _0xdcb74d=_0x1f0130;return(_0x4ca01f||this['formatter'])[_0xdcb74d(0x1ad)](this);}}),_0x288699=_0x23e86f[_0x1f0130(0x297)]={},_0x2f28fa=_0x288699[_0x1f0130(0x5ab)]={'stringify':function(_0x3fb0d4){const _0x47b393=_0x1f0130;var _0x14f95d,_0x4f4c8c=_0x3fb0d4[_0x47b393(0x617)],_0x46f1e4=_0x3fb0d4[_0x47b393(0x4b0)];return _0x46f1e4?_0x14f95d=_0x1379bd[_0x47b393(0x248)]([0x53616c74,0x65645f5f])[_0x47b393(0x491)](_0x46f1e4)[_0x47b393(0x491)](_0x4f4c8c):_0x14f95d=_0x4f4c8c,_0x14f95d['toString'](_0x5b6358);},'parse':function(_0x2fc8c4){const _0x37c59f=_0x1f0130;var _0x598821,_0x2e779f=_0x5b6358['parse'](_0x2fc8c4),_0x2703e1=_0x2e779f['words'];return _0x2703e1[0x0]==0x53616c74&&_0x2703e1[0x1]==0x65645f5f&&(_0x598821=_0x1379bd[_0x37c59f(0x248)](_0x2703e1['slice'](0x2,0x4)),_0x2703e1[_0x37c59f(0x568)](0x0,0x4),_0x2e779f[_0x37c59f(0x485)]-=0x10),_0x4c5d60[_0x37c59f(0x248)]({'ciphertext':_0x2e779f,'salt':_0x598821});}},_0x31eaf6=_0x21413e[_0x1f0130(0x252)]=_0x5365c4[_0x1f0130(0x5bf)]({'cfg':_0x5365c4['extend']({'format':_0x2f28fa}),'encrypt':function(_0x2c1353,_0x9b3159,_0xf655f2,_0x2e595a){const _0x239906=_0x1f0130;_0x2e595a=this[_0x239906(0x281)]['extend'](_0x2e595a);var _0x5a2420=_0x2c1353['createEncryptor'](_0xf655f2,_0x2e595a),_0x2fa3b7=_0x5a2420[_0x239906(0x56c)](_0x9b3159),_0x466741=_0x5a2420[_0x239906(0x281)];return _0x4c5d60[_0x239906(0x248)]({'ciphertext':_0x2fa3b7,'key':_0xf655f2,'iv':_0x466741['iv'],'algorithm':_0x2c1353,'mode':_0x466741[_0x239906(0x24d)],'padding':_0x466741[_0x239906(0x39b)],'blockSize':_0x2c1353[_0x239906(0x2f2)],'formatter':_0x2e595a[_0x239906(0x297)]});},'decrypt':function(_0xba644a,_0x4d1f42,_0x48bfcb,_0x46448b){const _0x419628=_0x1f0130;_0x46448b=this[_0x419628(0x281)][_0x419628(0x5bf)](_0x46448b),_0x4d1f42=this['_parse'](_0x4d1f42,_0x46448b['format']);var _0x2d87af=_0xba644a[_0x419628(0x1f3)](_0x48bfcb,_0x46448b)['finalize'](_0x4d1f42[_0x419628(0x617)]);return _0x2d87af;},'_parse':function(_0x4f2e4c,_0x1c503e){const _0x1ec9d4=_0x1f0130;return typeof _0x4f2e4c=='string'?_0x1c503e[_0x1ec9d4(0x390)](_0x4f2e4c,this):_0x4f2e4c;}}),_0x49c95d=_0x23e86f['kdf']={},_0x187ffc=_0x49c95d['OpenSSL']={'execute':function(_0x501308,_0x3fa46b,_0x59e72e,_0x306075,_0x5c2bae){const _0x407e56=_0x1f0130;if(_0x306075||(_0x306075=_0x1379bd['random'](0x40/0x8)),_0x5c2bae)var _0x44185b=_0xfdb147[_0x407e56(0x248)]({'keySize':_0x3fa46b+_0x59e72e,'hasher':_0x5c2bae})[_0x407e56(0x22d)](_0x501308,_0x306075);else var _0x44185b=_0xfdb147[_0x407e56(0x248)]({'keySize':_0x3fa46b+_0x59e72e})['compute'](_0x501308,_0x306075);var _0x2c4d0b=_0x1379bd[_0x407e56(0x248)](_0x44185b[_0x407e56(0x35c)]['slice'](_0x3fa46b),_0x59e72e*0x4);return _0x44185b[_0x407e56(0x485)]=_0x3fa46b*0x4,_0x4c5d60['create']({'key':_0x44185b,'iv':_0x2c4d0b,'salt':_0x306075});}},_0x2be6ad=_0x21413e[_0x1f0130(0x5e9)]=_0x31eaf6[_0x1f0130(0x5bf)]({'cfg':_0x31eaf6[_0x1f0130(0x281)][_0x1f0130(0x5bf)]({'kdf':_0x187ffc}),'encrypt':function(_0x4685bc,_0x4663fd,_0x3979ec,_0xf61b03){const _0x4eca8c=_0x1f0130;_0xf61b03=this[_0x4eca8c(0x281)][_0x4eca8c(0x5bf)](_0xf61b03);var _0xafeebb=_0xf61b03[_0x4eca8c(0x20e)][_0x4eca8c(0x2b6)](_0x3979ec,_0x4685bc[_0x4eca8c(0x2b1)],_0x4685bc[_0x4eca8c(0x190)],_0xf61b03[_0x4eca8c(0x4b0)],_0xf61b03['hasher']);_0xf61b03['iv']=_0xafeebb['iv'];var _0x2051e8=_0x31eaf6[_0x4eca8c(0x2dc)][_0x4eca8c(0x339)](this,_0x4685bc,_0x4663fd,_0xafeebb[_0x4eca8c(0x567)],_0xf61b03);return _0x2051e8[_0x4eca8c(0x3ca)](_0xafeebb),_0x2051e8;},'decrypt':function(_0x4c9a96,_0x2e9833,_0x1b2d98,_0x37d045){const _0x20bc82=_0x1f0130;_0x37d045=this[_0x20bc82(0x281)][_0x20bc82(0x5bf)](_0x37d045),_0x2e9833=this[_0x20bc82(0x2e8)](_0x2e9833,_0x37d045[_0x20bc82(0x297)]);var _0x1bb621=_0x37d045[_0x20bc82(0x20e)][_0x20bc82(0x2b6)](_0x1b2d98,_0x4c9a96[_0x20bc82(0x2b1)],_0x4c9a96[_0x20bc82(0x190)],_0x2e9833[_0x20bc82(0x4b0)],_0x37d045[_0x20bc82(0x26d)]);_0x37d045['iv']=_0x1bb621['iv'];var _0x175d85=_0x31eaf6[_0x20bc82(0x1dd)][_0x20bc82(0x339)](this,_0x4c9a96,_0x2e9833,_0x1bb621[_0x20bc82(0x567)],_0x37d045);return _0x175d85;}});}();}));}(qe)),qe[_0x13eb60(0x512)];}var Rs=Be[_0x248339(0x512)],oi;function ys(){const _0x4eed93=_0x248339;return oi||(oi=0x1,function(_0x38427b,_0x3c2412){(function(_0x28cc7f,_0x533420,_0x2f7307){const _0x265e1b=_0x2ee7;_0x38427b[_0x265e1b(0x512)]=_0x533420(se(),$i(),ms(),ji(),Hi());}(Rs,function(_0x2aaad9){const _0x521876=_0x2ee7;return(function(){const _0x1a0b17=_0x2ee7;var _0x42bdd7=_0x2aaad9,_0x142524=_0x42bdd7['lib'],_0x65a687=_0x142524[_0x1a0b17(0x227)],_0x1ae6b5=_0x42bdd7[_0x1a0b17(0x1a5)],_0x417c35=[],_0x1f2e9f=[],_0x1f78b8=[],_0x100c20=[],_0x58959e=[],_0x3e27e4=[],_0x2d4fe5=[],_0x4dbe7b=[],_0x52ce25=[],_0x22394d=[];(function(){for(var _0x204f63=[],_0x29d344=0x0;_0x29d344<0x100;_0x29d344++)_0x29d344<0x80?_0x204f63[_0x29d344]=_0x29d344<<0x1:_0x204f63[_0x29d344]=_0x29d344<<0x1^0x11b;for(var _0x99ba7f=0x0,_0xf02e90=0x0,_0x29d344=0x0;_0x29d344<0x100;_0x29d344++){var _0x400186=_0xf02e90^_0xf02e90<<0x1^_0xf02e90<<0x2^_0xf02e90<<0x3^_0xf02e90<<0x4;_0x400186=_0x400186>>>0x8^_0x400186&0xff^0x63,_0x417c35[_0x99ba7f]=_0x400186,_0x1f2e9f[_0x400186]=_0x99ba7f;var _0x62f95d=_0x204f63[_0x99ba7f],_0xce12ac=_0x204f63[_0x62f95d],_0x40386a=_0x204f63[_0xce12ac],_0x352bfb=_0x204f63[_0x400186]*0x101^_0x400186*0x1010100;_0x1f78b8[_0x99ba7f]=_0x352bfb<<0x18|_0x352bfb>>>0x8,_0x100c20[_0x99ba7f]=_0x352bfb<<0x10|_0x352bfb>>>0x10,_0x58959e[_0x99ba7f]=_0x352bfb<<0x8|_0x352bfb>>>0x18,_0x3e27e4[_0x99ba7f]=_0x352bfb;var _0x352bfb=_0x40386a*0x1010101^_0xce12ac*0x10001^_0x62f95d*0x101^_0x99ba7f*0x1010100;_0x2d4fe5[_0x400186]=_0x352bfb<<0x18|_0x352bfb>>>0x8,_0x4dbe7b[_0x400186]=_0x352bfb<<0x10|_0x352bfb>>>0x10,_0x52ce25[_0x400186]=_0x352bfb<<0x8|_0x352bfb>>>0x18,_0x22394d[_0x400186]=_0x352bfb,_0x99ba7f?(_0x99ba7f=_0x62f95d^_0x204f63[_0x204f63[_0x204f63[_0x40386a^_0x62f95d]]],_0xf02e90^=_0x204f63[_0x204f63[_0xf02e90]]):_0x99ba7f=_0xf02e90=0x1;}}());var _0x2b1632=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5df17b=_0x1ae6b5['AES']=_0x65a687[_0x1a0b17(0x5bf)]({'_doReset':function(){const _0x30668f=_0x1a0b17;var _0x194921;if(!(this[_0x30668f(0x58b)]&&this['_keyPriorReset']===this['_key'])){for(var _0x49d8b9=this[_0x30668f(0x54c)]=this[_0x30668f(0x39c)],_0xedeeca=_0x49d8b9[_0x30668f(0x35c)],_0xcf5b35=_0x49d8b9[_0x30668f(0x485)]/0x4,_0x1374e6=this[_0x30668f(0x58b)]=_0xcf5b35+0x6,_0x434229=(_0x1374e6+0x1)*0x4,_0x4a0257=this[_0x30668f(0x33a)]=[],_0x266c82=0x0;_0x266c82<_0x434229;_0x266c82++)_0x266c82<_0xcf5b35?_0x4a0257[_0x266c82]=_0xedeeca[_0x266c82]:(_0x194921=_0x4a0257[_0x266c82-0x1],_0x266c82%_0xcf5b35?_0xcf5b35>0x6&&_0x266c82%_0xcf5b35==0x4&&(_0x194921=_0x417c35[_0x194921>>>0x18]<<0x18|_0x417c35[_0x194921>>>0x10&0xff]<<0x10|_0x417c35[_0x194921>>>0x8&0xff]<<0x8|_0x417c35[_0x194921&0xff]):(_0x194921=_0x194921<<0x8|_0x194921>>>0x18,_0x194921=_0x417c35[_0x194921>>>0x18]<<0x18|_0x417c35[_0x194921>>>0x10&0xff]<<0x10|_0x417c35[_0x194921>>>0x8&0xff]<<0x8|_0x417c35[_0x194921&0xff],_0x194921^=_0x2b1632[_0x266c82/_0xcf5b35|0x0]<<0x18),_0x4a0257[_0x266c82]=_0x4a0257[_0x266c82-_0xcf5b35]^_0x194921);for(var _0x130d22=this['_invKeySchedule']=[],_0x3af06e=0x0;_0x3af06e<_0x434229;_0x3af06e++){var _0x266c82=_0x434229-_0x3af06e;if(_0x3af06e%0x4)var _0x194921=_0x4a0257[_0x266c82];else var _0x194921=_0x4a0257[_0x266c82-0x4];_0x3af06e<0x4||_0x266c82<=0x4?_0x130d22[_0x3af06e]=_0x194921:_0x130d22[_0x3af06e]=_0x2d4fe5[_0x417c35[_0x194921>>>0x18]]^_0x4dbe7b[_0x417c35[_0x194921>>>0x10&0xff]]^_0x52ce25[_0x417c35[_0x194921>>>0x8&0xff]]^_0x22394d[_0x417c35[_0x194921&0xff]];}}},'encryptBlock':function(_0x6103c9,_0x2891e1){const _0x53ef21=_0x1a0b17;this[_0x53ef21(0x635)](_0x6103c9,_0x2891e1,this['_keySchedule'],_0x1f78b8,_0x100c20,_0x58959e,_0x3e27e4,_0x417c35);},'decryptBlock':function(_0x58d30e,_0x19869e){const _0x3c5c32=_0x1a0b17;var _0x5a044d=_0x58d30e[_0x19869e+0x1];_0x58d30e[_0x19869e+0x1]=_0x58d30e[_0x19869e+0x3],_0x58d30e[_0x19869e+0x3]=_0x5a044d,this[_0x3c5c32(0x635)](_0x58d30e,_0x19869e,this[_0x3c5c32(0x5c1)],_0x2d4fe5,_0x4dbe7b,_0x52ce25,_0x22394d,_0x1f2e9f);var _0x5a044d=_0x58d30e[_0x19869e+0x1];_0x58d30e[_0x19869e+0x1]=_0x58d30e[_0x19869e+0x3],_0x58d30e[_0x19869e+0x3]=_0x5a044d;},'_doCryptBlock':function(_0x165de3,_0x3ea001,_0x5390b7,_0x2fbea1,_0x3165f2,_0x29592e,_0xdb9d8d,_0x5761a8){const _0x128c58=_0x1a0b17;for(var _0x273949=this[_0x128c58(0x58b)],_0x41dd10=_0x165de3[_0x3ea001]^_0x5390b7[0x0],_0x36ab7c=_0x165de3[_0x3ea001+0x1]^_0x5390b7[0x1],_0x250a92=_0x165de3[_0x3ea001+0x2]^_0x5390b7[0x2],_0x2caabe=_0x165de3[_0x3ea001+0x3]^_0x5390b7[0x3],_0x34ef36=0x4,_0x33eeea=0x1;_0x33eeea<_0x273949;_0x33eeea++){var _0x372569=_0x2fbea1[_0x41dd10>>>0x18]^_0x3165f2[_0x36ab7c>>>0x10&0xff]^_0x29592e[_0x250a92>>>0x8&0xff]^_0xdb9d8d[_0x2caabe&0xff]^_0x5390b7[_0x34ef36++],_0x38df92=_0x2fbea1[_0x36ab7c>>>0x18]^_0x3165f2[_0x250a92>>>0x10&0xff]^_0x29592e[_0x2caabe>>>0x8&0xff]^_0xdb9d8d[_0x41dd10&0xff]^_0x5390b7[_0x34ef36++],_0x5eabb7=_0x2fbea1[_0x250a92>>>0x18]^_0x3165f2[_0x2caabe>>>0x10&0xff]^_0x29592e[_0x41dd10>>>0x8&0xff]^_0xdb9d8d[_0x36ab7c&0xff]^_0x5390b7[_0x34ef36++],_0xe09b3=_0x2fbea1[_0x2caabe>>>0x18]^_0x3165f2[_0x41dd10>>>0x10&0xff]^_0x29592e[_0x36ab7c>>>0x8&0xff]^_0xdb9d8d[_0x250a92&0xff]^_0x5390b7[_0x34ef36++];_0x41dd10=_0x372569,_0x36ab7c=_0x38df92,_0x250a92=_0x5eabb7,_0x2caabe=_0xe09b3;}var _0x372569=(_0x5761a8[_0x41dd10>>>0x18]<<0x18|_0x5761a8[_0x36ab7c>>>0x10&0xff]<<0x10|_0x5761a8[_0x250a92>>>0x8&0xff]<<0x8|_0x5761a8[_0x2caabe&0xff])^_0x5390b7[_0x34ef36++],_0x38df92=(_0x5761a8[_0x36ab7c>>>0x18]<<0x18|_0x5761a8[_0x250a92>>>0x10&0xff]<<0x10|_0x5761a8[_0x2caabe>>>0x8&0xff]<<0x8|_0x5761a8[_0x41dd10&0xff])^_0x5390b7[_0x34ef36++],_0x5eabb7=(_0x5761a8[_0x250a92>>>0x18]<<0x18|_0x5761a8[_0x2caabe>>>0x10&0xff]<<0x10|_0x5761a8[_0x41dd10>>>0x8&0xff]<<0x8|_0x5761a8[_0x36ab7c&0xff])^_0x5390b7[_0x34ef36++],_0xe09b3=(_0x5761a8[_0x2caabe>>>0x18]<<0x18|_0x5761a8[_0x41dd10>>>0x10&0xff]<<0x10|_0x5761a8[_0x36ab7c>>>0x8&0xff]<<0x8|_0x5761a8[_0x250a92&0xff])^_0x5390b7[_0x34ef36++];_0x165de3[_0x3ea001]=_0x372569,_0x165de3[_0x3ea001+0x1]=_0x38df92,_0x165de3[_0x3ea001+0x2]=_0x5eabb7,_0x165de3[_0x3ea001+0x3]=_0xe09b3;},'keySize':0x100/0x20});_0x42bdd7['AES']=_0x65a687[_0x1a0b17(0x306)](_0x5df17b);}()),_0x2aaad9[_0x521876(0x328)];}));}(Be)),Be[_0x4eed93(0x512)];}var Os=ys();const Ds=xe(Os);var Ps=$i();const ai=xe(Ps);var Ke={'exports':{}},ws=Ke['exports'],ci;function Us(){return ci||(ci=0x1,function(_0x50b85c,_0x562479){(function(_0x450c0f,_0x1e2999){const _0x24548f=_0x2ee7;_0x50b85c[_0x24548f(0x512)]=_0x1e2999(se());}(ws,function(_0x22f354){const _0x3b154b=_0x2ee7;return _0x22f354[_0x3b154b(0x62a)][_0x3b154b(0x349)];}));}(Ke)),Ke['exports'];}var Ms=Us();const Ns=xe(Ms);var ze={'exports':{}},As=ze['exports'],li;function Ls(){const _0x24e459=_0x248339;return li||(li=0x1,function(_0x28f68b,_0x4eced0){(function(_0xfa40aa,_0x3ef33a){const _0xb565b1=_0x2ee7;_0x28f68b[_0xb565b1(0x512)]=_0x3ef33a(se());}(As,function(_0x1aeb5a){const _0x61644f=_0x2ee7;return(function(){const _0x10ba14=_0x2ee7;if(typeof ArrayBuffer==_0x10ba14(0x4e2)){var _0x437d09=_0x1aeb5a,_0x3d6116=_0x437d09[_0x10ba14(0x586)],_0x143905=_0x3d6116[_0x10ba14(0x1a6)],_0x1c822e=_0x143905[_0x10ba14(0x313)],_0x5d5465=_0x143905['init']=function(_0x4b076c){const _0x5a6348=_0x10ba14;if(_0x4b076c instanceof ArrayBuffer&&(_0x4b076c=new Uint8Array(_0x4b076c)),(_0x4b076c instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4b076c instanceof Uint8ClampedArray||_0x4b076c instanceof Int16Array||_0x4b076c instanceof Uint16Array||_0x4b076c instanceof Int32Array||_0x4b076c instanceof Uint32Array||_0x4b076c instanceof Float32Array||_0x4b076c instanceof Float64Array)&&(_0x4b076c=new Uint8Array(_0x4b076c[_0x5a6348(0x56d)],_0x4b076c[_0x5a6348(0x338)],_0x4b076c[_0x5a6348(0x463)])),_0x4b076c instanceof Uint8Array){for(var _0x38052d=_0x4b076c[_0x5a6348(0x463)],_0x27590f=[],_0x7673b3=0x0;_0x7673b3<_0x38052d;_0x7673b3++)_0x27590f[_0x7673b3>>>0x2]|=_0x4b076c[_0x7673b3]<<0x18-_0x7673b3%0x4*0x8;_0x1c822e['call'](this,_0x27590f,_0x38052d);}else _0x1c822e[_0x5a6348(0x3d2)](this,arguments);};_0x5d5465[_0x10ba14(0x52e)]=_0x143905;}}()),_0x1aeb5a['lib'][_0x61644f(0x1a6)];}));}(ze)),ze[_0x24e459(0x512)];}var xs=Ls();const $s=xe(xs);var Xe={'exports':{}},js=Xe['exports'],hi;function Hs(){const _0x536a2f=_0x248339;return hi||(hi=0x1,function(_0x5d925c,_0x6b8bde){(function(_0x2a03e5,_0x44955e,_0x4a0d40){const _0x363257=_0x2ee7;_0x5d925c[_0x363257(0x512)]=_0x44955e(se(),Hi());}(js,function(_0x3f4b77){const _0x447dbf=_0x2ee7;return _0x3f4b77['pad'][_0x447dbf(0x364)]={'pad':function(){},'unpad':function(){}},_0x3f4b77['pad']['NoPadding'];}));}(Xe)),Xe[_0x536a2f(0x512)];}var Bs=Hs();const ks=xe(Bs);function Ws(_0x412795,_0x2b7a36){const _0x3b3ec9=_0x248339,_0x581caf=_0x2b7a36-_0x412795['length']%_0x2b7a36,_0x16280e=String[_0x3b3ec9(0x1b2)](_0x581caf)[_0x3b3ec9(0x519)](_0x581caf);return _0x412795+_0x16280e;}function Fs(_0x54b012,_0x277a13){const _0x52842c=_0x248339,_0x2d28a0=$s[_0x52842c(0x4d7)](0x10),_0x4355c6=Ws(_0x54b012,0x10),_0x3ea26d=Ds[_0x52842c(0x2dc)](Ns[_0x52842c(0x390)](_0x4355c6),ai[_0x52842c(0x390)](_0x277a13),{'iv':_0x2d28a0,'padding':ks});return _0x2d28a0[_0x52842c(0x491)](_0x3ea26d[_0x52842c(0x617)])[_0x52842c(0x42e)](ai);}function Vs(){const _0x49a340=_0x248339,_0x4087ac=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x49a340(0x640)];if(_0x4087ac){const _0x2f8d6c={'time':Math[_0x49a340(0x553)](Date[_0x49a340(0x39a)]()/0x3e8),'domain':location[_0x49a340(0x290)]};return Fs(JSON['stringify'](_0x2f8d6c),_0x4087ac);}}var Gs=Object[_0x248339(0x56f)],Ys=Object['getOwnPropertyDescriptor'],qs=(_0x735fb0,_0x4df6be,_0x2750a0,_0x2bd024)=>{for(var _0x551a80=_0x2bd024>0x1?void 0x0:_0x2bd024?Ys(_0x4df6be,_0x2750a0):_0x4df6be,_0x2ff162=_0x735fb0['length']-0x1,_0x287750;_0x2ff162>=0x0;_0x2ff162--)(_0x287750=_0x735fb0[_0x2ff162])&&(_0x551a80=(_0x2bd024?_0x287750(_0x4df6be,_0x2750a0,_0x551a80):_0x287750(_0x551a80))||_0x551a80);return _0x2bd024&&_0x551a80&&Gs(_0x4df6be,_0x2750a0,_0x551a80),_0x551a80;},Ks=(_0x40c674,_0x32d4eb)=>(_0x18cd3e,_0x187cf7)=>_0x32d4eb(_0x18cd3e,_0x187cf7,_0x40c674);let rt=class{constructor(_0x2d32c9){const _0x2cbf06=_0x248339;this[_0x2cbf06(0x21b)]=_0x2d32c9,this[_0x2cbf06(0x54e)]();}['_initRequestHeader'](){const _0x424725=_0x248339;this[_0x424725(0x21b)][_0x424725(0x1c3)]({'interceptor':(_0x8f0c55,_0x58bbe8)=>{const _0x462d24=_0x424725,_0x2bc654=_0x8f0c55['headers'],_0x2a295c=Vs();return _0x2a295c&&_0x2bc654[_0x462d24(0x325)](_0x462d24(0x32f),_0x2a295c),_0x58bbe8(_0x8f0c55);}});}};rt=qs([Ks(0x0,a[_0x248339(0x40a)](z[_0x248339(0x1f1)]))],rt);var zs=Object[_0x248339(0x56f)],Xs=Object[_0x248339(0x3a7)],Js=(_0x1bc638,_0x50bf80,_0x56584b,_0x21ff5c)=>{const _0x509dbc=_0x248339;for(var _0x3f8080=_0x21ff5c>0x1?void 0x0:_0x21ff5c?Xs(_0x50bf80,_0x56584b):_0x50bf80,_0x5942ea=_0x1bc638[_0x509dbc(0x45e)]-0x1,_0x4942af;_0x5942ea>=0x0;_0x5942ea--)(_0x4942af=_0x1bc638[_0x5942ea])&&(_0x3f8080=(_0x21ff5c?_0x4942af(_0x50bf80,_0x56584b,_0x3f8080):_0x4942af(_0x3f8080))||_0x3f8080);return _0x21ff5c&&_0x3f8080&&zs(_0x50bf80,_0x56584b,_0x3f8080),_0x3f8080;},Ct=(_0x486646,_0x3a4d86)=>(_0x71fe03,_0x3463a5)=>_0x3a4d86(_0x71fe03,_0x3463a5,_0x486646);const Zs=[_0x248339(0x30e),_0x248339(0x18b),_0x248339(0x5f9),_0x248339(0x1d4),_0x248339(0x38e)],Qs=0x5*0x400*0x400,eo=_0x248339(0x2a6),to='/universer-api/stream/file/upload',io='EXCHANGE_SIGN_URL_SERVER_URL_KEY',no='/universer-api/file/{fileID}/sign-url';exports[_0x248339(0x53b)]=class{constructor(_0x18cbee,_0x4492b5,_0x53fa28){const _0x449140=_0x248339;I(this,_0x449140(0x2fa),0x0),I(this,_0x449140(0x46b),new N[(_0x449140(0x588))]()),I(this,_0x449140(0x634),this[_0x449140(0x46b)]),I(this,_0x449140(0x216),new Map()),(this[_0x449140(0x21b)]=_0x18cbee,this[_0x449140(0x5cf)]=_0x4492b5,this[_0x449140(0x4be)]=_0x53fa28);}[_0x248339(0x29f)](_0x5d3602){const _0x1cbf42=_0x248339;this[_0x1cbf42(0x2fa)]=_0x5d3602,this[_0x1cbf42(0x46b)][_0x1cbf42(0x423)](_0x5d3602);}['getImageSourceCache'](_0x3a2b1c,_0x3398a5){const _0x367c0a=_0x248339;if(_0x3398a5===te[_0x367c0a(0x466)]['BASE64']){const _0x653e10=new Image();return _0x653e10[_0x367c0a(0x20b)]=_0x3a2b1c,_0x653e10;}return this[_0x367c0a(0x216)]['get'](_0x3a2b1c);}[_0x248339(0x4f8)](_0x1e8057,_0x35731c,_0x598c83){const _0x1a0465=_0x248339;_0x35731c===te[_0x1a0465(0x466)]['BASE64']||_0x598c83==null||this['_imageSourceCache'][_0x1a0465(0x325)](_0x1e8057,_0x598c83);}async[_0x248339(0x219)](_0x3f8718){const _0x41881b=_0x248339;try{const _0x4111e5=this['_replaceFileID'](this[_0x41881b(0x538)](),''+_0x3f8718),_0x7ee844=(await this[_0x41881b(0x21b)][_0x41881b(0x2fd)](_0x4111e5))['body'];if(_0x7ee844['error']&&_0x7ee844[_0x41881b(0x2de)]['code']===Ei['OK']){const _0x36b7e2=new URL(_0x7ee844[_0x41881b(0x20a)],this[_0x41881b(0x486)]())[_0x41881b(0x42e)]();return Promise[_0x41881b(0x597)](_0x36b7e2);}return Promise[_0x41881b(0x316)](_0x7ee844['error']);}catch(_0x3b0442){return Promise[_0x41881b(0x316)](_0x3b0442);}}async[_0x248339(0x214)](_0x406dd7){const _0x30546c=_0x248339;let _0x4569b7='';if(!Zs[_0x30546c(0x330)](_0x406dd7[_0x30546c(0x493)]))return this[_0x30546c(0x443)](),Promise['reject'](new Error(te[_0x30546c(0x24e)][_0x30546c(0x4d6)]));if(_0x406dd7['size']>Qs)return this[_0x30546c(0x443)](),Promise['reject'](new Error(te[_0x30546c(0x24e)][_0x30546c(0x45a)]));try{const _0x323943=new FormData();_0x323943[_0x30546c(0x400)](_0x30546c(0x503),_0x406dd7);const _0x336516=this['_univerInstanceService'][_0x30546c(0x30a)](),_0x118587=_0x336516==null?void 0x0:_0x336516[_0x30546c(0x64b)]();if(!_0x118587)throw new Error('unitId\x20is\x20not\x20found');const _0x1b80cc=this[_0x30546c(0x472)]()+_0x30546c(0x5ef)+_0x406dd7[_0x30546c(0x4c0)][_0x30546c(0x42e)]()+'&source='+bi[_0x30546c(0x2a1)]+'&assign='+encodeURIComponent(_0x118587),_0x4ea6f1=await(await fetch(_0x1b80cc,{'method':_0x30546c(0x4d1),'body':_0x323943}))[_0x30546c(0x3c3)]();if(typeof _0x4ea6f1[_0x30546c(0x5e4)]!=_0x30546c(0x431))return this[_0x30546c(0x443)](),Promise[_0x30546c(0x316)](new Error(te['ImageUploadStatusType']['ERROR_IMAGE']));_0x4569b7=_0x4ea6f1[_0x30546c(0x5e4)];}catch{return this['_decreaseWaiting'](),Promise[_0x30546c(0x316)](new Error(te[_0x30546c(0x24e)][_0x30546c(0x19a)]));}return new Promise((_0xf532fd,_0x50aeb2)=>{const _0x4c118e=_0x30546c,_0x47115c=new FileReader();_0x47115c[_0x4c118e(0x414)](_0x406dd7),_0x47115c[_0x4c118e(0x3a3)]=_0x3775aa=>{const _0x5b1d93=_0x4c118e;var _0x3bb5cb;const _0x4e59f3=(_0x3bb5cb=_0x3775aa['target'])==null?void 0x0:_0x3bb5cb[_0x5b1d93(0x3d5)];if(_0x4e59f3==null){this['_decreaseWaiting'](),_0x50aeb2(new Error(te[_0x5b1d93(0x24e)]['ERROR_IMAGE']));return;}const _0x445a2f=a['Tools'][_0x5b1d93(0x5d2)](0x6);_0xf532fd({'imageId':_0x445a2f,'imageSourceType':te['ImageSourceType'][_0x5b1d93(0x473)],'source':_0x4569b7,'base64Cache':_0x4e59f3,'status':te[_0x5b1d93(0x24e)][_0x5b1d93(0x40d)]}),this[_0x5b1d93(0x443)]();};});}['_getUploadFileURL'](){const _0x325af7=_0x248339;var _0x317a70,_0x12b48e;const _0x524a26=this[_0x325af7(0x5cf)][_0x325af7(0x603)](eo),_0x189b97=this[_0x325af7(0x5cf)][_0x325af7(0x603)](Z);return(_0x12b48e=(_0x317a70=_0x189b97==null?void 0x0:_0x189b97[_0x325af7(0x279)])!=null?_0x317a70:_0x524a26)!=null?_0x12b48e:to;}[_0x248339(0x538)](){const _0x2977ab=_0x248339;var _0x4c65a7,_0xfb80af;const _0x2a9712=this['_configService'][_0x2977ab(0x603)](io),_0xf89fb6=this['_configService'][_0x2977ab(0x603)](Z);return(_0xfb80af=(_0x4c65a7=_0xf89fb6==null?void 0x0:_0xf89fb6[_0x2977ab(0x25e)])!=null?_0x4c65a7:_0x2a9712)!=null?_0xfb80af:no;}['_getDownloadEndpointURL'](){const _0x2281af=_0x248339;var _0xd66684;const _0xd061e1=this['_configService'][_0x2281af(0x603)](Z);return(_0xd66684=_0xd061e1==null?void 0x0:_0xd061e1[_0x2281af(0x25f)])!=null?_0xd66684:location[_0x2281af(0x250)];}['_replaceFileID'](_0x1904d3,_0xf19190){const _0x310e35=_0x248339;return _0x1904d3[_0x310e35(0x580)](_0x310e35(0x260),_0xf19190);}[_0x248339(0x443)](){const _0x3e1617=_0x248339;this['_waitCount']-=0x1,this[_0x3e1617(0x46b)][_0x3e1617(0x423)](this['_waitCount']);}},exports['CollabrationImageIoService']=Js([Ct(0x0,a[_0x248339(0x40a)](z['HTTPService'])),Ct(0x1,a[_0x248339(0x4ac)]),Ct(0x2,a['Inject'](a[_0x248339(0x3bc)]))],exports[_0x248339(0x53b)]);var ro=Object[_0x248339(0x56f)],so=Object[_0x248339(0x3a7)],oo=(_0x5ac969,_0x45115e,_0x2394ea,_0x5bb817)=>{const _0x190a48=_0x248339;for(var _0x7e7372=_0x5bb817>0x1?void 0x0:_0x5bb817?so(_0x45115e,_0x2394ea):_0x45115e,_0x31aef2=_0x5ac969[_0x190a48(0x45e)]-0x1,_0x5bd947;_0x31aef2>=0x0;_0x31aef2--)(_0x5bd947=_0x5ac969[_0x31aef2])&&(_0x7e7372=(_0x5bb817?_0x5bd947(_0x45115e,_0x2394ea,_0x7e7372):_0x5bd947(_0x7e7372))||_0x7e7372);return _0x5bb817&&_0x7e7372&&ro(_0x45115e,_0x2394ea,_0x7e7372),_0x7e7372;},_i=(_0x178fd0,_0xe47c53)=>(_0x4d7985,_0x34f01d)=>_0xe47c53(_0x4d7985,_0x34f01d,_0x178fd0);const ao=_0x248339(0x4e4);exports[_0x248339(0x415)]=class{constructor(_0x48d389,_0x523ae4){const _0x1aaa00=_0x248339;this[_0x1aaa00(0x5cf)]=_0x48d389,this[_0x1aaa00(0x484)]=_0x523ae4;}['_getAPIPrefixPath'](){const _0x337069=_0x248339;var _0x42a973,_0x55da09;const _0x860503=this[_0x337069(0x5cf)][_0x337069(0x603)](xt),_0x180247=this[_0x337069(0x5cf)][_0x337069(0x603)](Z);return(_0x55da09=(_0x42a973=_0x180247==null?void 0x0:_0x180247['authzUrl'])!=null?_0x42a973:_0x860503)!=null?_0x55da09:ao;}async[_0x248339(0x5b2)](_0x3c42f9){const _0x53432b=_0x248339,_0x181c51=this[_0x53432b(0x427)]()+_0x53432b(0x58d);return{'list':[{'title':_0x53432b(0x3f5),'mentions':(await this['_HTTPService']['get'](_0x181c51,{'params':{'objectID':_0x3c42f9[_0x53432b(0x57b)],'unitID':_0x3c42f9['unitId']}}))[_0x53432b(0x3e4)][_0x53432b(0x5e3)][_0x53432b(0x348)](_0x310915=>({'objectId':_0x310915['id'],'name':_0x310915[_0x53432b(0x218)][_0x53432b(0x262)],'metadata':{'icon':_0x310915[_0x53432b(0x218)]['avatar']},'label':_0x310915[_0x53432b(0x218)]['name'],'objectType':a[_0x53432b(0x406)][_0x53432b(0x511)]})),'metadata':{},'type':a['MentionType'][_0x53432b(0x511)]}]};}},exports['MentionIoHttpService']=oo([_i(0x0,a[_0x248339(0x40a)](a[_0x248339(0x4ac)])),_i(0x1,a[_0x248339(0x40a)](z[_0x248339(0x1f1)]))],exports[_0x248339(0x415)]);var co=Object[_0x248339(0x56f)],lo=Object[_0x248339(0x3a7)],ho=(_0x3cc5dd,_0x161ae3,_0x1fd0fe,_0x4bb89c)=>{const _0xcba56d=_0x248339;for(var _0x1e06ac=_0x4bb89c>0x1?void 0x0:_0x4bb89c?lo(_0x161ae3,_0x1fd0fe):_0x161ae3,_0x30ce6c=_0x3cc5dd[_0xcba56d(0x45e)]-0x1,_0x4f89c9;_0x30ce6c>=0x0;_0x30ce6c--)(_0x4f89c9=_0x3cc5dd[_0x30ce6c])&&(_0x1e06ac=(_0x4bb89c?_0x4f89c9(_0x161ae3,_0x1fd0fe,_0x1e06ac):_0x4f89c9(_0x1e06ac))||_0x1e06ac);return _0x4bb89c&&_0x1e06ac&&co(_0x161ae3,_0x1fd0fe,_0x1e06ac),_0x1e06ac;},Me=(_0x21d73a,_0x52d784)=>(_0x172527,_0x3ac757)=>_0x52d784(_0x172527,_0x3ac757,_0x21d73a);let st=class extends a[_0x248339(0x412)]{constructor(_0x3cd1b6,_0x303387,_0x2bd244,_0x1e2568,_0x55b67f){const _0x571eb4=_0x248339;super(),this[_0x571eb4(0x373)]=_0x3cd1b6,this[_0x571eb4(0x4be)]=_0x303387,this[_0x571eb4(0x55a)]=_0x2bd244,this[_0x571eb4(0x420)]=_0x1e2568,this[_0x571eb4(0x5cd)]=_0x55b67f,this[_0x571eb4(0x4d4)](),this[_0x571eb4(0x2ac)]();}[_0x248339(0x2ac)](){const _0x2f3f5d=_0x248339,_0x1c06d7=async _0x32b962=>{const _0x44117e=_0x2ee7;(await this[_0x44117e(0x420)][_0x44117e(0x39d)](_0x32b962))[_0x44117e(0x2ea)][_0x44117e(0x41e)](V['filter'](_0x4fe63c=>_0x4fe63c[_0x44117e(0x213)]===m['CollaborationEvent'][_0x44117e(0x2ce)]),V['takeUntil'](this[_0x44117e(0x40b)]))['subscribe'](_0x5a4cc4=>{const _0x3d2d1f=_0x44117e,_0x1a2e73=_0x5a4cc4,{reason:_0x1b82ce}=_0x1a2e73[_0x3d2d1f(0x298)];this[_0x3d2d1f(0x373)]['get'](ee[_0x3d2d1f(0x4b2)])['show']({'type':Ie[_0x3d2d1f(0x550)]['Error'],'content':this[_0x3d2d1f(0x5cd)]['t']('collaboration.closeRoom')+'('+_0x1b82ce+')'}),this['_permissionService'][_0x3d2d1f(0x514)](new k[(_0x3d2d1f(0x426))](_0x32b962)['id'],!0x1),this['_collaborationSessionService'][_0x3d2d1f(0x482)](_0x32b962);});};N['merge'](this[_0x2f3f5d(0x4be)][_0x2f3f5d(0x576)](a['UniverInstanceType']['UNIVER_SHEET']),this[_0x2f3f5d(0x4be)][_0x2f3f5d(0x576)](a['UniverInstanceType']['UNIVER_DOC']))[_0x2f3f5d(0x41e)](V['map'](_0xc2f4af=>_0xc2f4af[_0x2f3f5d(0x64b)]()),V[_0x2f3f5d(0x398)](_0x492124=>!a[_0x2f3f5d(0x402)](_0x492124)),V[_0x2f3f5d(0x378)](this['dispose$']))[_0x2f3f5d(0x3da)](_0x575294=>{_0x1c06d7(_0x575294);});}[_0x248339(0x4d4)](){const _0x176f3b=_0x248339,_0x3ace52=async _0xd46bb0=>{const _0x2f7295=_0x2ee7;(await this[_0x2f7295(0x420)]['requireSession'](_0xd46bb0))[_0x2f7295(0x2ea)][_0x2f7295(0x41e)](V[_0x2f7295(0x398)](_0x45ec17=>_0x45ec17[_0x2f7295(0x213)]===m[_0x2f7295(0x1e6)][_0x2f7295(0x3a6)]),V[_0x2f7295(0x378)](this[_0x2f7295(0x40b)]))[_0x2f7295(0x3da)](_0x1d9bcc=>{const _0x474791=_0x2f7295,_0x3de33a=_0x1d9bcc,{objectId:_0x197e51}=_0x3de33a[_0x474791(0x298)],_0x3d5202=this[_0x474791(0x373)][_0x474791(0x2fd)](Ae[_0x474791(0x1e4)]);_0x197e51===_0xd46bb0?_0x3d5202[_0x474791(0x53a)](_0xd46bb0):_0x3d5202[_0x474791(0x235)](_0xd46bb0,_0x197e51);});};N[_0x176f3b(0x480)](this[_0x176f3b(0x4be)][_0x176f3b(0x576)](a[_0x176f3b(0x3f8)][_0x176f3b(0x2c8)]),this[_0x176f3b(0x4be)][_0x176f3b(0x576)](a[_0x176f3b(0x3f8)]['UNIVER_DOC']))[_0x176f3b(0x41e)](V['map'](_0xb59836=>_0xb59836[_0x176f3b(0x64b)]()),V['filter'](_0xc4c642=>!a[_0x176f3b(0x402)](_0xc4c642)),V[_0x176f3b(0x378)](this[_0x176f3b(0x40b)]))['subscribe'](_0x457272=>{_0x3ace52(_0x457272);});}};st=ho([Me(0x0,a[_0x248339(0x40a)](a[_0x248339(0x1bc)])),Me(0x1,a['IUniverInstanceService']),Me(0x2,a[_0x248339(0x559)]),Me(0x3,a[_0x248339(0x40a)](exports[_0x248339(0x57e)])),Me(0x4,a[_0x248339(0x40a)](a['LocaleService']))],st);var _o=Object['defineProperty'],uo=Object['getOwnPropertyDescriptor'],fo=(_0x13df00,_0x5a58aa,_0x4635ec,_0x2232f8)=>{const _0x9351b1=_0x248339;for(var _0x858baf=_0x2232f8>0x1?void 0x0:_0x2232f8?uo(_0x5a58aa,_0x4635ec):_0x5a58aa,_0xbae064=_0x13df00[_0x9351b1(0x45e)]-0x1,_0xd2bd0c;_0xbae064>=0x0;_0xbae064--)(_0xd2bd0c=_0x13df00[_0xbae064])&&(_0x858baf=(_0x2232f8?_0xd2bd0c(_0x5a58aa,_0x4635ec,_0x858baf):_0xd2bd0c(_0x858baf))||_0x858baf);return _0x2232f8&&_0x858baf&&_o(_0x5a58aa,_0x4635ec,_0x858baf),_0x858baf;},ui=(_0x121535,_0x35ea72)=>(_0x180e9a,_0x2b9632)=>_0x35ea72(_0x180e9a,_0x2b9632,_0x121535);exports[_0x248339(0x2af)]=class{constructor(_0x2df56d,_0x30392b){const _0x845209=_0x248339;this[_0x845209(0x5cf)]=_0x2df56d,this[_0x845209(0x21b)]=_0x30392b;}async[_0x248339(0x1ff)](_0x431a99,_0x1bd94f){const _0x4e380c=_0x248339;var _0x5320d6;const {unitID:_0x225190,type:_0x4b7844,revision:_0x47178b=0x0}=_0x1bd94f,_0x2fbc7b=this['getSnapshotAPIPath']()+'/'+_0x4b7844+_0x4e380c(0x1d0)+_0x225190+_0x4e380c(0x4ef)+_0x47178b,_0x3df91d=(await this[_0x4e380c(0x21b)][_0x4e380c(0x2fd)](_0x2fbc7b))[_0x4e380c(0x3e4)],_0x11173c=(_0x5320d6=_0x3df91d['snapshot'])==null?void 0x0:_0x5320d6[_0x4e380c(0x2a0)];if(_0x11173c){const _0x22a10c=_0x11173c==null?void 0x0:_0x11173c[_0x4e380c(0x583)],_0x1159b7=m[_0x4e380c(0x322)][_0x4e380c(0x2e7)](m[_0x4e380c(0x249)](_0x22a10c));_0x11173c[_0x4e380c(0x583)]=_0x1159b7,Object[_0x4e380c(0x3ff)](_0x11173c[_0x4e380c(0x258)])[_0x4e380c(0x343)](([,_0x3aac44])=>{const _0x1fea30=_0x4e380c,_0x32edca=_0x3aac44[_0x1fea30(0x583)],_0x32c65f=m[_0x1fea30(0x322)][_0x1fea30(0x2e7)](m[_0x1fea30(0x249)](_0x32edca));_0x3aac44[_0x1fea30(0x583)]=_0x32c65f;});}return _0x3df91d;}async[_0x248339(0x5e7)](_0xb6800a,_0xf77958){const _0x4fa520=_0x248339,{unitID:_0x36d842,type:_0xc61331,blockID:_0x4d43d7}=_0xf77958,_0x4f2fb1=this[_0x4fa520(0x377)]()+'/'+_0xc61331+_0x4fa520(0x1d0)+_0x36d842+'/block/'+_0x4d43d7;return(await this[_0x4fa520(0x21b)][_0x4fa520(0x2fd)](_0x4f2fb1))[_0x4fa520(0x3e4)];}async[_0x248339(0x4ff)](_0x285347,_0x513a71){const _0x1c487a=_0x248339,{unitID:_0x3627b9,type:_0x468223,blockID:_0x3e5b5a}=_0x513a71,_0x482578=this[_0x1c487a(0x377)]()+_0x1c487a(0x464)+_0x468223+_0x1c487a(0x1d0)+_0x3627b9+_0x1c487a(0x464)+_0x3e5b5a;return(await this[_0x1c487a(0x21b)][_0x1c487a(0x2fd)](_0x482578))[_0x1c487a(0x3e4)];}async[_0x248339(0x4ec)](_0x3fb387,_0x68c460){const _0x218a02=_0x248339,{unitID:_0x230e1f,type:_0xdea7c5,from:_0x2b9880,to:_0x57043f}=_0x68c460,_0x3ea02a=this['_getAPIPrefix']()+'/'+_0xdea7c5+_0x218a02(0x1d0)+_0x230e1f+_0x218a02(0x2cd)+_0x2b9880+_0x218a02(0x5c6)+_0x57043f;return(await this[_0x218a02(0x21b)][_0x218a02(0x2fd)](_0x3ea02a))[_0x218a02(0x3e4)];}[_0x248339(0x188)](){const _0x4031c5=_0x248339;var _0x2d30f5;return(_0x2d30f5=this[_0x4031c5(0x5cf)][_0x4031c5(0x603)](fi))!=null?_0x2d30f5:this['_getAPIPrefix']();}[_0x248339(0x377)](){const _0x2383e2=_0x248339;var _0x35ad23,_0x1cb689;const _0x313567=this[_0x2383e2(0x5cf)][_0x2383e2(0x603)](di),_0x185f61=this[_0x2383e2(0x5cf)][_0x2383e2(0x603)](Z);return(_0x1cb689=(_0x35ad23=_0x185f61==null?void 0x0:_0x185f61[_0x2383e2(0x465)])!=null?_0x35ad23:_0x313567)!=null?_0x1cb689:Yi;}async[_0x248339(0x589)](_0x1aecb7,_0xb73f5f){const _0x597b2c=_0x248339,_0x470b87=_0x597b2c(0x5bd)+_0xb73f5f[_0x597b2c(0x493)]+_0x597b2c(0x1d0)+_0xb73f5f[_0x597b2c(0x26f)]+_0x597b2c(0x52d);return(await this[_0x597b2c(0x21b)][_0x597b2c(0x2fd)](_0x470b87,{'params':{'resourceId':JSON['stringify'](_0xb73f5f[_0x597b2c(0x5e1)])}}))[_0x597b2c(0x3e4)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x248339(0x1ea)](){const _0x32f9a4=_0x248339;throw new Error(_0x32f9a4(0x2c5));}['saveChangeset'](){const _0x2a03ea=_0x248339;throw new Error(_0x2a03ea(0x2c5));}[_0x248339(0x329)](){const _0xd791c3=_0x248339;throw new Error(_0xd791c3(0x2c5));}['getLatestCsReqIdBySid'](){const _0x5e5eb4=_0x248339;throw new Error(_0x5e5eb4(0x2c5));}},exports['SnapshotServerOverHTTPService']=fo([ui(0x0,a['IConfigService']),ui(0x1,a[_0x248339(0x40a)](z[_0x248339(0x1f1)]))],exports['SnapshotServerOverHTTPService']);var vo=Object['defineProperty'],po=Object['getOwnPropertyDescriptor'],So=(_0x25d97f,_0x311c47,_0x112127,_0x1b5c68)=>{const _0x316c49=_0x248339;for(var _0x673c53=_0x1b5c68>0x1?void 0x0:_0x1b5c68?po(_0x311c47,_0x112127):_0x311c47,_0x1cdaa7=_0x25d97f[_0x316c49(0x45e)]-0x1,_0x3df92e;_0x1cdaa7>=0x0;_0x1cdaa7--)(_0x3df92e=_0x25d97f[_0x1cdaa7])&&(_0x673c53=(_0x1b5c68?_0x3df92e(_0x311c47,_0x112127,_0x673c53):_0x3df92e(_0x673c53))||_0x673c53);return _0x1b5c68&&_0x673c53&&vo(_0x311c47,_0x112127,_0x673c53),_0x673c53;},Ne=(_0x589c9e,_0x4e2ba9)=>(_0x28fe75,_0xf6a91d)=>_0x4e2ba9(_0x28fe75,_0xf6a91d,_0x589c9e);let yt=class extends a[_0x248339(0x46d)]{constructor(_0x5572b7,_0x2083ae,_0x29f8dd,_0x47c0ef,_0x41e1aa){const _0x5edfcd=_0x248339;super(_0x5572b7,_0x2083ae,_0x29f8dd),this[_0x5edfcd(0x58a)]=_0x47c0ef,this[_0x5edfcd(0x237)]=_0x41e1aa;}[_0x248339(0x257)](_0x5709f0,_0x3c13a7){const _0x11229a=_0x248339,_0x34cabd=this['_getUndoStack'](_0x5709f0);if(_0x34cabd)try{const _0x4b18e1=this[_0x11229a(0x452)](_0x34cabd,_0x3c13a7);this[_0x11229a(0x61a)](_0x5709f0,_0x4b18e1);}catch(_0x18a54d){this[_0x11229a(0x237)][_0x11229a(0x2de)](_0x11229a(0x64e),_0x18a54d),this[_0x11229a(0x1e7)](_0x5709f0);}const _0x3623d5=this['_getRedoStack'](_0x5709f0);if(_0x3623d5)try{const _0x1bf059=this['_transformStack'](_0x3623d5,_0x3c13a7);this[_0x11229a(0x522)](_0x5709f0,_0x1bf059);}catch(_0x1b6b7c){this[_0x11229a(0x237)][_0x11229a(0x2de)](_0x1b6b7c),this['_clearRedo'](_0x5709f0);}}[_0x248339(0x1e7)](_0x124e31){const _0x3742a7=_0x248339,_0x41ad99=this[_0x3742a7(0x2f3)](_0x124e31);_0x41ad99&&(_0x41ad99['length']=0x0,this['_updateStatus']());}[_0x248339(0x1bf)](_0x14e671){const _0x39980d=_0x248339,_0x28b173=this['_getRedoStack'](_0x14e671);_0x28b173&&(_0x28b173[_0x39980d(0x45e)]=0x0,this[_0x39980d(0x2eb)]());}[_0x248339(0x61a)](_0x2ed805,_0x231845){const _0x492eb2=_0x248339;this[_0x492eb2(0x3fd)][_0x492eb2(0x325)](_0x2ed805,_0x231845),this[_0x492eb2(0x2eb)]();}[_0x248339(0x522)](_0x2df566,_0xf5246){const _0x371a1a=_0x248339;this[_0x371a1a(0x1c6)][_0x371a1a(0x325)](_0x2df566,_0xf5246),this[_0x371a1a(0x2eb)]();}[_0x248339(0x452)](_0x3b7196,_0x1a5c57){const _0x15edc3=_0x248339,_0x253a91=[];let _0x265cc5=_0x1a5c57,_0x148ff9=_0x1a5c57;for(let _0x3d7a79=_0x3b7196['length']-0x1;_0x3d7a79>=0x0;_0x3d7a79--){const {unitID:_0x103d37,undoMutations:_0x2c1629,redoMutations:_0x867afa}=_0x3b7196[_0x3d7a79],_0x4705a0=this[_0x15edc3(0x58a)]['transformMutationsWithChangeset'](_0x265cc5,_0x2c1629),_0x172849=this[_0x15edc3(0x58a)]['transformMutationsWithChangeset'](_0x148ff9,_0x867afa);if(m['isTransformMutationsWithChangesetFailure'](_0x4705a0)||m[_0x15edc3(0x2a3)](_0x172849)){this[_0x15edc3(0x237)][_0x15edc3(0x2de)](_0x15edc3(0x64e),_0x15edc3(0x45f),_0x4705a0,_0x172849);break;}_0x265cc5=_0x4705a0[_0x15edc3(0x458)],_0x148ff9=_0x172849[_0x15edc3(0x458)],_0x253a91['push']({'unitID':_0x103d37,'undoMutations':_0x4705a0[_0x15edc3(0x211)],'redoMutations':_0x172849[_0x15edc3(0x211)]});}return _0x253a91[_0x15edc3(0x4f3)]();}};yt=So([Ne(0x0,a['IUniverInstanceService']),Ne(0x1,a['ICommandService']),Ne(0x2,a['IContextService']),Ne(0x3,m[_0x248339(0x2b2)]),Ne(0x4,a[_0x248339(0x4b4)])],yt);class Bi extends a['RxDisposable']{constructor(){const _0x1a4bcb=_0x248339;super(),I(this,_0x1a4bcb(0x30c)),this[_0x1a4bcb(0x30c)]=N[_0x1a4bcb(0x554)](window,'popstate')[_0x1a4bcb(0x41e)](N[_0x1a4bcb(0x378)](this[_0x1a4bcb(0x40b)]),N[_0x1a4bcb(0x3a4)](0x1),N[_0x1a4bcb(0x539)](void 0x0));}['setParam'](_0x1a748a,_0xe2612f,_0x3dccbb=!0x1){const _0x28c432=_0x248339,_0x16ad53=new URL(window[_0x28c432(0x26a)][_0x28c432(0x193)]);_0x16ad53[_0x28c432(0x5d4)][_0x28c432(0x325)](_0x1a748a,_0xe2612f),_0x3dccbb?window[_0x28c432(0x367)][_0x28c432(0x3dd)]('','',_0x16ad53[_0x28c432(0x42e)]()):window[_0x28c432(0x367)][_0x28c432(0x489)]('','',_0x16ad53['toString']());}[_0x248339(0x42b)](_0x2f9a6c,_0x230afa=!0x1){const _0x37dcaa=_0x248339,_0x316218=new URL(window[_0x37dcaa(0x26a)][_0x37dcaa(0x193)]);_0x316218['searchParams']['delete'](_0x2f9a6c),_0x230afa?window[_0x37dcaa(0x367)][_0x37dcaa(0x3dd)]('','',_0x316218[_0x37dcaa(0x42e)]()):window[_0x37dcaa(0x367)][_0x37dcaa(0x489)]('','',_0x316218['toString']());}[_0x248339(0x1a0)](_0x482fa4){const _0x57ea78=_0x248339;var _0x41cc30;return(_0x41cc30=new URL(window[_0x57ea78(0x26a)][_0x57ea78(0x193)])[_0x57ea78(0x5d4)][_0x57ea78(0x2fd)](_0x482fa4))!=null?_0x41cc30:void 0x0;}}var ki=Object[_0x248339(0x56f)],mo=Object['getOwnPropertyDescriptor'],go=(_0x525c57,_0x167279,_0x17a2cc)=>_0x167279 in _0x525c57?ki(_0x525c57,_0x167279,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17a2cc}):_0x525c57[_0x167279]=_0x17a2cc,Io=(_0x20cc4b,_0x30690b,_0x40a0e8,_0x8650de)=>{const _0x4b7361=_0x248339;for(var _0x3c6c49=_0x8650de>0x1?void 0x0:_0x8650de?mo(_0x30690b,_0x40a0e8):_0x30690b,_0x7809c1=_0x20cc4b[_0x4b7361(0x45e)]-0x1,_0x4412bf;_0x7809c1>=0x0;_0x7809c1--)(_0x4412bf=_0x20cc4b[_0x7809c1])&&(_0x3c6c49=(_0x8650de?_0x4412bf(_0x30690b,_0x40a0e8,_0x3c6c49):_0x4412bf(_0x3c6c49))||_0x3c6c49);return _0x8650de&&_0x3c6c49&&ki(_0x30690b,_0x40a0e8,_0x3c6c49),_0x3c6c49;},He=(_0x412078,_0x439326)=>(_0x58b436,_0x5d20b4)=>_0x439326(_0x58b436,_0x5d20b4,_0x412078),Co=(_0x8469ff,_0x27cce9,_0x32ae8c)=>go(_0x8469ff,_0x27cce9+'',_0x32ae8c);const Eo='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x248339(0x261)]=class extends a[_0x248339(0x416)]{constructor(_0x2fdfe4=rn,_0x424586,_0x1c5865,_0x35c07c,_0x4ffb0e){const _0x3eaa7b=_0x248339;super(),this[_0x3eaa7b(0x51d)]=_0x2fdfe4,this[_0x3eaa7b(0x237)]=_0x424586,this[_0x3eaa7b(0x1ae)]=_0x1c5865,this['_injector']=_0x35c07c,this[_0x3eaa7b(0x5cf)]=_0x4ffb0e;const {..._0x16c577}=this[_0x3eaa7b(0x51d)];this[_0x3eaa7b(0x5cf)]['setConfig'](Z,_0x16c577);}['onStarting'](){const _0x365b33=_0x248339;this[_0x365b33(0x2e6)](),this[_0x365b33(0x4f7)]();}[_0x248339(0x1eb)](){const _0x292c06=_0x248339;a['touchDependencies'](this[_0x292c06(0x373)],[[it],[tt]]);}[_0x248339(0x490)](){const _0x52bc0c=_0x248339;this[_0x52bc0c(0x549)]();}[_0x248339(0x2e6)](){const _0x5e4042=_0x248339;var _0x2f0e43,_0x5f4143,_0x59348f,_0x2dc2ac;this[_0x5e4042(0x373)][_0x5e4042(0x5dc)](a[_0x5e4042(0x236)])&&this[_0x5e4042(0x237)][_0x5e4042(0x2de)](_0x5e4042(0x4b8),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x235545=[[a[_0x5e4042(0x236)],{'useClass':yt}],[exports[_0x5e4042(0x57e)]],[Nt],[Lt,{'useClass':Bi}],[exports['MemberService']],[exports['LocalCacheService']],[z[_0x5e4042(0x259)]],[Ze],[et],[Je],[Qe],[Ut],[nt],[rt],[wt],[st],[Pt,{'useClass':(_0x5f4143=(_0x2f0e43=this[_0x5e4042(0x51d)])==null?void 0x0:_0x2f0e43[_0x5e4042(0x434)])!=null?_0x5f4143:exports[_0x5e4042(0x369)]}],[m[_0x5e4042(0x41c)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a['IAuthzIoService'],{'useClass':exports[_0x5e4042(0x242)]}],[te[_0x5e4042(0x24a)],{'useClass':exports[_0x5e4042(0x53b)]}],[a[_0x5e4042(0x453)],{'useClass':exports[_0x5e4042(0x415)]}],[exports[_0x5e4042(0x3e0)]],[exports['DataLoaderController']],[exports[_0x5e4042(0x27c)]],[it],[ye],[tt]];(_0x59348f=this['_config'])!=null&&_0x59348f['enableSingleActiveInstanceLock']&&_0x235545[_0x5e4042(0x3d7)]([ot,{'useClass':xn}]),a[_0x5e4042(0x5c4)](this[_0x5e4042(0x373)],a[_0x5e4042(0x3bb)](_0x235545,(_0x2dc2ac=this['_config'])==null?void 0x0:_0x2dc2ac['override']));}['_registerRenderDependencies'](){const _0x2bf798=_0x248339;this[_0x2bf798(0x1d6)](this[_0x2bf798(0x1ae)][_0x2bf798(0x605)](a[_0x2bf798(0x3f8)][_0x2bf798(0x35a)],[Tt])),this[_0x2bf798(0x1d6)](this['_renderManagerService']['registerRenderModule'](a[_0x2bf798(0x3f8)][_0x2bf798(0x2c8)],[Rt]));}[_0x248339(0x4f7)](){const _0x1c6565=_0x248339;var _0xb04f41,_0x1d8fe6;this['_injector'][_0x1c6565(0x2fd)](z[_0x1c6565(0x1f1)])[_0x1c6565(0x1c3)]({'priority':0x14,'interceptor':z[_0x1c6565(0x4df)]({'maxParallel':0x6})}),(_0xb04f41=this[_0x1c6565(0x51d)])!=null&&_0xb04f41['enableOfflineEditing']||this[_0x1c6565(0x373)]['get'](exports['LocalCacheService'])[_0x1c6565(0x4da)](),(_0x1d8fe6=this[_0x1c6565(0x51d)])!=null&&_0x1d8fe6[_0x1c6565(0x428)]&&a[_0x1c6565(0x55e)](this[_0x1c6565(0x373)],[[nt]]),a[_0x1c6565(0x55e)](this[_0x1c6565(0x373)],[[rt],[ye],[exports[_0x1c6565(0x384)]],[exports[_0x1c6565(0x3e0)]],[exports['DesktopCollaborationStatusDisplayController']],[st]]);}},Co(exports[_0x248339(0x261)],_0x248339(0x479),Eo),exports['UniverCollaborationClientPlugin']=Io([a[_0x248339(0x4e9)](m[_0x248339(0x29d)],z[_0x248339(0x54b)]),He(0x1,a[_0x248339(0x4b4)]),He(0x2,Y[_0x248339(0x288)]),He(0x3,a[_0x248339(0x40a)](a[_0x248339(0x1bc)])),He(0x4,a[_0x248339(0x4ac)])],exports['UniverCollaborationClientPlugin']),exports[_0x248339(0x2ef)]=xt,exports[_0x248339(0x46e)]=Z,exports[_0x248339(0x272)]=Ii,exports[_0x248339(0x1e2)]=vi,exports['CollaborationStatus']=K,exports['CollaborationStatusDisplay']=xi,exports[_0x248339(0x5ae)]=wt,exports[_0x248339(0x52b)]=pi,exports[_0x248339(0x437)]=Ot,exports[_0x248339(0x267)]=Pt,exports['IURLService']=Lt,exports[_0x248339(0x397)]=gi,exports['LOGIN_URL_KEY']=Ci,exports[_0x248339(0x61c)]=mi,exports[_0x248339(0x5d8)]=qi,exports[_0x248339(0x547)]=di,exports[_0x248339(0x509)]=fi,exports[_0x248339(0x5df)]=ne,exports[_0x248339(0x3aa)]=Ui,exports[_0x248339(0x2b0)]=Bi,exports[_0x248339(0x3ce)]=Ti,exports[_0x248339(0x25b)]=Ri;