@univerjs-pro/collaboration-client 0.5.0-nightly.202411230627 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const _0x4fac68=_0x10f0;(function(_0x2dd0dd,_0x4f74b8){const _0x3e4d59=_0x10f0,_0x236005=_0x2dd0dd();while(!![]){try{const _0x1a6cc0=parseInt(_0x3e4d59(0x569))/0x1*(-parseInt(_0x3e4d59(0x46a))/0x2)+-parseInt(_0x3e4d59(0x49d))/0x3*(-parseInt(_0x3e4d59(0x3d0))/0x4)+parseInt(_0x3e4d59(0x203))/0x5+parseInt(_0x3e4d59(0x353))/0x6+-parseInt(_0x3e4d59(0x38f))/0x7+parseInt(_0x3e4d59(0x5e8))/0x8*(-parseInt(_0x3e4d59(0x1bd))/0x9)+parseInt(_0x3e4d59(0x1d2))/0xa;if(_0x1a6cc0===_0x4f74b8)break;else _0x236005['push'](_0x236005['shift']());}catch(_0x5d06b6){_0x236005['push'](_0x236005['shift']());}}}(_0x243e,0x98ff2));var ji=Object[_0x4fac68(0x470)],$i=(_0x5856a4,_0x53a991,_0x564423)=>_0x53a991 in _0x5856a4?ji(_0x5856a4,_0x53a991,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x564423}):_0x5856a4[_0x53a991]=_0x564423,I=(_0x556666,_0x2236cc,_0x58affb)=>$i(_0x556666,typeof _0x2236cc!='symbol'?_0x2236cc+'':_0x2236cc,_0x58affb);Object['defineProperty'](exports,Symbol[_0x4fac68(0x61a)],{'value':_0x4fac68(0x61f)});const a=require(_0x4fac68(0x609)),A=require(_0x4fac68(0x516)),V=require('rxjs/operators'),Ce=require(_0x4fac68(0x39a)),z=require(_0x4fac68(0x3fc)),te=require(_0x4fac68(0x49c)),p=require(_0x4fac68(0x3ea)),Hi=require(_0x4fac68(0x650)),Ie=require(_0x4fac68(0x4ec)),J=require(_0x4fac68(0x59f)),k=require(_0x4fac68(0x412)),K=require(_0x4fac68(0x3d1)),ie=require(_0x4fac68(0x475)),Mt=require(_0x4fac68(0x3ef)),ye=require(_0x4fac68(0x5e2)),ae=require(_0x4fac68(0x5e3)),Bi=require(_0x4fac68(0x4e5)),ii=_0x4fac68(0x268),ki='/universer-api/snapshot',ni=_0x4fac68(0x5a4),Wi='SEND_CHANGESET_TIMEOUT',Fi=0x7d0,si=_0x4fac68(0x2e8),Vi=_0x4fac68(0x2a4),Gi='/universer-api/user/session-ticket',ri=_0x4fac68(0x611),Yi=0x7530,Et=_0x4fac68(0x188),oi=0x4e20,Ki=0x4e20,ai=_0x4fac68(0x429),qi=0x3,ci=_0x4fac68(0x578),zi=0x3e8,li=_0x4fac68(0x327),Xi=_0x4fac68(0x5c9),hi=_0x4fac68(0x351),Ji=_0x4fac68(0x1bc);var _i=(_0x4073bd=>(_0x4073bd[_0x4073bd[_0x4fac68(0x331)]=0x0]='UNDEFINED',_0x4073bd[_0x4073bd['OK']=0x1]='OK',_0x4073bd[_0x4073bd['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x4073bd[_0x4073bd[_0x4fac68(0x3e9)]=0x3]='PERMISSION_DENIED',_0x4073bd[_0x4073bd[_0x4fac68(0x1ab)]=0x4]='NOT_FOUND',_0x4073bd[_0x4073bd[_0x4fac68(0x3cb)]=0x5]=_0x4fac68(0x3cb),_0x4073bd[_0x4073bd['ALREADY_EXISTS']=0x6]=_0x4fac68(0x539),_0x4073bd[_0x4073bd['INVALID_ARGUMENT']=0x7]=_0x4fac68(0x42b),_0x4073bd[_0x4073bd['TOO_MANY_REQUESTS']=0x8]=_0x4fac68(0x1ad),_0x4073bd[_0x4073bd[_0x4fac68(0x383)]=0x9]=_0x4fac68(0x383),_0x4073bd[_0x4073bd['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4073bd[_0x4073bd[_0x4fac68(0x385)]=0x1771]=_0x4fac68(0x385),_0x4073bd[_0x4073bd[_0x4fac68(0x235)]=0x1772]=_0x4fac68(0x235),_0x4073bd[_0x4073bd['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4fac68(0x292),_0x4073bd[_0x4073bd[_0x4fac68(0x4cd)]=0x1b59]=_0x4fac68(0x4cd),_0x4073bd[_0x4073bd[_0x4fac68(0x5ca)]=0x1b5a]=_0x4fac68(0x5ca),_0x4073bd[_0x4073bd[_0x4fac68(0x444)]=0x1b5b]=_0x4fac68(0x444),_0x4073bd[_0x4073bd[_0x4fac68(0x1b5)]=0x1b5c]=_0x4fac68(0x1b5),_0x4073bd[_0x4073bd['APPLY_DUPLICATED']=0x1b5d]=_0x4fac68(0x37a),_0x4073bd[_0x4073bd['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4fac68(0x211),_0x4073bd[_0x4073bd['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x4fac68(0x614),_0x4073bd[_0x4073bd[_0x4fac68(0x299)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4073bd[_0x4073bd[_0x4fac68(0x35b)]=0x232b]=_0x4fac68(0x35b),_0x4073bd[_0x4073bd[_0x4fac68(0x195)]=0x232c]=_0x4fac68(0x195),_0x4073bd[_0x4073bd[_0x4fac68(0x32b)]=0x232d]=_0x4fac68(0x32b),_0x4073bd[_0x4073bd[_0x4fac68(0x3fa)]=0x2711]=_0x4fac68(0x3fa),_0x4073bd[_0x4073bd[_0x4fac68(0x1da)]=0x2712]=_0x4fac68(0x1da),_0x4073bd[_0x4073bd['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4fac68(0x247),_0x4073bd[_0x4073bd[_0x4fac68(0x365)]=0x2714]=_0x4fac68(0x365),_0x4073bd[_0x4073bd[_0x4fac68(0x3da)]=-0x1]=_0x4fac68(0x3da),_0x4073bd))(_i||{}),ne=(_0x160def=>(_0x160def[_0x160def[_0x4fac68(0x61d)]=0x0]=_0x4fac68(0x61d),_0x160def[_0x160def['UNIVER_DOC']=0x1]=_0x4fac68(0x465),_0x160def[_0x160def['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x160def[_0x160def[_0x4fac68(0x290)]=0x3]=_0x4fac68(0x290),_0x160def[_0x160def[_0x4fac68(0x57e)]=0x4]=_0x4fac68(0x57e),_0x160def[_0x160def[_0x4fac68(0x3da)]=-0x1]=_0x4fac68(0x3da),_0x160def))(ne||{}),G=(_0x2f2664=>(_0x2f2664[_0x2f2664[_0x4fac68(0x501)]=0x0]=_0x4fac68(0x501),_0x2f2664[_0x2f2664['HELLO']=0x1]='HELLO',_0x2f2664[_0x2f2664[_0x4fac68(0x21a)]=0x2]=_0x4fac68(0x21a),_0x2f2664[_0x2f2664['LEAVE']=0x3]='LEAVE',_0x2f2664[_0x2f2664[_0x4fac68(0x540)]=0x4]=_0x4fac68(0x540),_0x2f2664[_0x2f2664['HEARTBEAT']=0x5]=_0x4fac68(0x2aa),_0x2f2664[_0x2f2664[_0x4fac68(0x44e)]=0x6]=_0x4fac68(0x44e),_0x2f2664[_0x2f2664['UNRECOGNIZED']=-0x1]=_0x4fac68(0x3da),_0x2f2664))(G||{}),bt=(_0x14d3a0=>(_0x14d3a0[_0x14d3a0[_0x4fac68(0x1ef)]=0x0]='UNKNOWN_CODE',_0x14d3a0[_0x14d3a0['OK']=0x1]='OK',_0x14d3a0[_0x14d3a0[_0x4fac68(0x2d1)]=0x2]=_0x4fac68(0x2d1),_0x14d3a0[_0x14d3a0[_0x4fac68(0x4cb)]=0x3e9]='JOIN_ROOM_FULL',_0x14d3a0[_0x14d3a0[_0x4fac68(0x4b9)]=0x3ea]=_0x4fac68(0x4b9),_0x14d3a0[_0x14d3a0[_0x4fac68(0x3da)]=-0x1]=_0x4fac68(0x3da),_0x14d3a0))(bt||{}),ui=(_0x476f38=>(_0x476f38[_0x476f38[_0x4fac68(0x176)]=0x0]=_0x4fac68(0x176),_0x476f38[_0x476f38['HttpImport']=0x1]='HttpImport',_0x476f38[_0x476f38['HttpExport']=0x2]=_0x4fac68(0x25c),_0x476f38[_0x476f38[_0x4fac68(0x2e2)]=0x3]=_0x4fac68(0x2e2),_0x476f38[_0x476f38['UnitSnapshot']=0x4]='UnitSnapshot',_0x476f38[_0x476f38[_0x4fac68(0x3da)]=-0x1]=_0x4fac68(0x3da),_0x476f38))(ui||{});const Q='collaboration-client.config',Zi={};function di(_0x4eb891){const _0x469893=_0x4fac68;var _0x36ed07,_0x495fa2,_0x4d4101,_0x8a9d6f,_0x43b5fa;const _0x4d32ff=_0x4eb891[_0x469893(0x44a)],_0x1b3c70=JSON[_0x469893(0x534)](_0x4d32ff);switch(_0x1b3c70[_0x469893(0x1fa)]){case G[_0x469893(0x2aa)]:case G[_0x469893(0x237)]:{const _0x2e9630=_0x1b3c70[_0x469893(0x46c)];return{..._0x1b3c70,'data':_0x2e9630,'cmd':_0x1b3c70['cmd']};}case G[_0x469893(0x21a)]:{const _0xfcea92=_0x1b3c70[_0x469893(0x443)];return{..._0x1b3c70,'data':_0xfcea92,'cmd':_0x1b3c70[_0x469893(0x1fa)]};}case G[_0x469893(0x44e)]:{const _0x1f6ab4=_0x1b3c70[_0x469893(0x190)];switch(_0x1f6ab4[_0x469893(0x33f)]){case p['CollaborationEvent'][_0x469893(0x405)]:return{..._0x1b3c70,'data':{..._0x1f6ab4,'data':(_0x36ed07=_0x1f6ab4['permissionRejEvent'])==null?void 0x0:_0x36ed07['cs']},'cmd':_0x1b3c70[_0x469893(0x1fa)]};case p['CollaborationEvent'][_0x469893(0x35e)]:return{..._0x1b3c70,'data':{..._0x1f6ab4,'data':(_0x495fa2=_0x1f6ab4[_0x469893(0x4b4)])==null?void 0x0:_0x495fa2['cs']},'cmd':_0x1b3c70[_0x469893(0x1fa)]};case p[_0x469893(0x3a3)][_0x469893(0x19e)]:return{..._0x1b3c70,'data':{..._0x1f6ab4,'data':(_0x4d4101=_0x1f6ab4[_0x469893(0x5b8)])==null?void 0x0:_0x4d4101['cs']},'cmd':_0x1b3c70[_0x469893(0x1fa)]};case p[_0x469893(0x3a3)]['CHANGESET_REJ']:return{..._0x1b3c70,'data':{..._0x1f6ab4,'data':(_0x8a9d6f=_0x1f6ab4[_0x469893(0x3c7)])==null?void 0x0:_0x8a9d6f['cs']},'cmd':_0x1b3c70[_0x469893(0x1fa)]};case p['CollaborationEvent'][_0x469893(0x26e)]:return{..._0x1b3c70,'data':{..._0x1f6ab4,'data':(_0x43b5fa=_0x1f6ab4[_0x469893(0x278)])==null?void 0x0:_0x43b5fa['cs']},'cmd':_0x1b3c70[_0x469893(0x1fa)]};case p[_0x469893(0x3a3)][_0x469893(0x396)]:return{..._0x1b3c70,'data':{..._0x1f6ab4,'data':_0x1f6ab4[_0x469893(0x4f8)]},'cmd':_0x1b3c70[_0x469893(0x1fa)]};case p[_0x469893(0x3a3)][_0x469893(0x1a2)]:return{..._0x1b3c70,'data':{..._0x1f6ab4,'data':_0x1f6ab4[_0x469893(0x3ac)]},'cmd':_0x1b3c70[_0x469893(0x1fa)]};case p[_0x469893(0x3a3)]['USERS_LEAVE']:return{..._0x1b3c70,'data':{..._0x1f6ab4,'data':_0x1f6ab4['leaveEvent']},'cmd':_0x1b3c70[_0x469893(0x1fa)]};case p[_0x469893(0x3a3)][_0x469893(0x234)]:return{..._0x1b3c70,'data':{..._0x1f6ab4,'data':_0x1f6ab4['liveShareNewHost']},'cmd':_0x1b3c70[_0x469893(0x1fa)]};case p[_0x469893(0x3a3)][_0x469893(0x37e)]:case p[_0x469893(0x3a3)]['LIVESHARE_OPERATION']:return{..._0x1b3c70,'data':{..._0x1f6ab4,'data':_0x1f6ab4[_0x469893(0x447)]},'cmd':_0x1b3c70[_0x469893(0x1fa)]};case p[_0x469893(0x3a3)][_0x469893(0x440)]:return{..._0x1b3c70,'data':{..._0x1f6ab4,'data':_0x1f6ab4[_0x469893(0x559)]},'cmd':_0x1b3c70['cmd']};case p[_0x469893(0x3a3)][_0x469893(0x438)]:return{..._0x1b3c70,'data':_0x1f6ab4,'cmd':_0x1b3c70[_0x469893(0x1fa)]};case p[_0x469893(0x3a3)][_0x469893(0x3a4)]:return{..._0x1b3c70,'data':{..._0x1f6ab4,'data':_0x1f6ab4[_0x469893(0x2f9)]},'cmd':_0x1b3c70['cmd']};case p[_0x469893(0x3a3)]['UPDATE_PERMISSION_OBJ']:return{..._0x1b3c70,'data':{..._0x1f6ab4,'data':_0x1f6ab4[_0x469893(0x4db)]},'cmd':_0x1b3c70['cmd']};case p['CollaborationEvent'][_0x469893(0x42d)]:return{..._0x1b3c70,'data':{..._0x1f6ab4,'data':_0x1f6ab4[_0x469893(0x4bb)]},'cmd':_0x1b3c70[_0x469893(0x1fa)]};default:return _0x1b3c70;}}default:return _0x1b3c70;}}function fi(_0x1e97ba){const _0x158804=_0x4fac68;switch(_0x1e97ba['cmd']){case G[_0x158804(0x2aa)]:case G['HELLO']:return JSON['stringify']({'cmd':_0x1e97ba['cmd'],'routeKey':_0x1e97ba[_0x158804(0x44d)]});case G[_0x158804(0x540)]:{let _0x5d3ec5;switch(_0x1e97ba[_0x158804(0x44a)][_0x158804(0x33f)]){case p[_0x158804(0x3a3)][_0x158804(0x396)]:{_0x5d3ec5={'eventID':p[_0x158804(0x3a3)][_0x158804(0x396)],'updateCursorEvent':_0x1e97ba[_0x158804(0x44a)]['data']};break;}case p['CollaborationEvent'][_0x158804(0x3a0)]:{_0x5d3ec5={'eventID':p[_0x158804(0x3a3)]['USERS_LEAVE'],'leaveEvent':_0x1e97ba[_0x158804(0x44a)][_0x158804(0x44a)]};break;}case p[_0x158804(0x3a3)]['USERS_ENTER']:{_0x5d3ec5={'eventID':p[_0x158804(0x3a3)]['USERS_ENTER'],'joinEvent':_0x1e97ba[_0x158804(0x44a)][_0x158804(0x44a)]};break;}case p['CollaborationEvent']['LIVESHARE_NEW_HOST']:{_0x5d3ec5={'eventID':p[_0x158804(0x3a3)][_0x158804(0x234)],'liveShareNewHost':_0x1e97ba[_0x158804(0x44a)][_0x158804(0x44a)]};break;}case p[_0x158804(0x3a3)]['LIVESHARE_OPERATION']:{_0x5d3ec5={'eventID':p[_0x158804(0x3a3)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x1e97ba[_0x158804(0x44a)][_0x158804(0x44a)]};break;}case p[_0x158804(0x3a3)]['LIVESHARE_TERMINATE']:{_0x5d3ec5={'eventID':p[_0x158804(0x3a3)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x1e97ba['data'][_0x158804(0x44a)]};break;}case p[_0x158804(0x3a3)][_0x158804(0x361)]:{_0x5d3ec5={'eventID':p[_0x158804(0x3a3)][_0x158804(0x361)],'liveShareRequestHost':_0x1e97ba[_0x158804(0x44a)]['data']};break;}case p[_0x158804(0x3a3)][_0x158804(0x37e)]:{_0x5d3ec5={'eventID':p['CollaborationEvent'][_0x158804(0x37e)]};break;}default:_0x5d3ec5={'eventID':_0x1e97ba[_0x158804(0x44a)][_0x158804(0x33f)]};}return JSON[_0x158804(0x5a2)]({'cmd':_0x1e97ba[_0x158804(0x1fa)],'routeKey':_0x1e97ba[_0x158804(0x44d)],'collaMsg':_0x5d3ec5});}case G[_0x158804(0x21a)]:return JSON[_0x158804(0x5a2)]({'cmd':_0x1e97ba[_0x158804(0x1fa)],'routeKey':_0x1e97ba['routeKey'],'joinReq':_0x1e97ba['data']});case G['LEAVE']:return JSON[_0x158804(0x5a2)]({'cmd':_0x1e97ba[_0x158804(0x1fa)],'routeKey':_0x1e97ba[_0x158804(0x44d)],'leaveReq':_0x1e97ba['data']});default:throw new Error(_0x158804(0x60c));}}var Qi=Object['defineProperty'],en=Object['getOwnPropertyDescriptor'],tn=(_0x217936,_0x19a7ba,_0x25811b,_0x4ee9c3)=>{const _0x13620c=_0x4fac68;for(var _0x213390=_0x4ee9c3>0x1?void 0x0:_0x4ee9c3?en(_0x19a7ba,_0x25811b):_0x19a7ba,_0x523896=_0x217936[_0x13620c(0x42e)]-0x1,_0xbe31b0;_0x523896>=0x0;_0x523896--)(_0xbe31b0=_0x217936[_0x523896])&&(_0x213390=(_0x4ee9c3?_0xbe31b0(_0x19a7ba,_0x25811b,_0x213390):_0xbe31b0(_0x213390))||_0x213390);return _0x4ee9c3&&_0x213390&&Qi(_0x19a7ba,_0x25811b,_0x213390),_0x213390;},Pe=(_0x5237cc,_0x42e2f5)=>(_0x5dc09e,_0x41ec58)=>_0x42e2f5(_0x5dc09e,_0x41ec58,_0x5237cc);const Tt=a['createIdentifier'](_0x4fac68(0x4a1));function nn(_0x2bc060,_0x13f792,_0x1d4576){const _0x4cbc5d=_0x4fac68;return _0x2bc060+'/'+_0x13f792+'/unit/'+_0x1d4576+_0x4cbc5d(0x36a);}exports['CollaborationSocketService']=class extends a[_0x4fac68(0x3d8)]{constructor(_0x5315bd,_0x52af68,_0x32265d,_0x4a60d1,_0x12cc72){const _0x4da18c=_0x4fac68;super(),this[_0x4da18c(0x4d5)]=_0x5315bd,this['_ws']=_0x52af68,this[_0x4da18c(0x216)]=_0x32265d,this[_0x4da18c(0x545)]=_0x4a60d1,this[_0x4da18c(0x416)]=_0x12cc72;}[_0x4fac68(0x3d5)](_0x500188){const _0x23f55f=_0x4fac68,_0x31a20e=this['_ws'][_0x23f55f(0x3d5)](_0x500188);if(!_0x31a20e)throw new Error(_0x23f55f(0x2b3));const _0x4af755=new a[(_0x23f55f(0x407))](),_0x3b2c42=new A[(_0x23f55f(0x24e))]();_0x4af755[_0x23f55f(0x36f)](_0x31a20e['close$']['subscribe'](_0x30a937=>_0x3b2c42[_0x23f55f(0x250)](_0x30a937))),_0x4af755['add'](a[_0x23f55f(0x421)](()=>_0x3b2c42['complete']()));const _0x179727=new A[(_0x23f55f(0x24e))]();_0x4af755['add'](_0x31a20e[_0x23f55f(0x27c)][_0x23f55f(0x38e)](_0x5b8b11=>_0x179727[_0x23f55f(0x250)](_0x5b8b11))),_0x4af755[_0x23f55f(0x36f)](a[_0x23f55f(0x421)](()=>_0x179727[_0x23f55f(0x605)]()));const _0xe820eb=new A[(_0x23f55f(0x24e))]();_0x4af755[_0x23f55f(0x36f)](_0x31a20e['message$'][_0x23f55f(0x38e)](_0x4c5fec=>{const _0x3f3424=_0x23f55f,_0x46eb3a=di(_0x4c5fec);_0xe820eb[_0x3f3424(0x250)](_0x46eb3a);})),_0x4af755[_0x23f55f(0x36f)](a[_0x23f55f(0x421)](()=>_0xe820eb[_0x23f55f(0x605)]()));let _0x2bbdc9;const _0x5f1eee=()=>{const _0x55ce5c=_0x23f55f;_0x179727[_0x55ce5c(0x250)](new Event(_0x55ce5c(0x25b))),_0x3b2c42[_0x55ce5c(0x250)](new CloseEvent(_0x55ce5c(0x25b))),_0x2bbdc9[_0x55ce5c(0x43f)]();};return _0x2bbdc9={'memberID':'','close$':_0x3b2c42['asObservable'](),'error$':_0x179727['asObservable'](),'open$':_0x31a20e[_0x23f55f(0x60d)],'message$':_0xe820eb['asObservable'](),'send':_0x1d38d5=>{const _0x37f485=_0x23f55f;if(_0x1d38d5[_0x37f485(0x1fa)]===G[_0x37f485(0x540)]){if(_0x1d38d5[_0x37f485(0x44a)][_0x37f485(0x33f)]===p['CollaborationEvent'][_0x37f485(0x332)]){this[_0x37f485(0x23f)](_0x2bbdc9,_0x1d38d5[_0x37f485(0x44a)])[_0x37f485(0x41a)](_0x2b5ccb=>{const _0x2c7077=_0x37f485;this[_0x2c7077(0x545)][_0x2c7077(0x26f)](_0x2b5ccb),_0x5f1eee();});return;}if(_0x1d38d5['data'][_0x37f485(0x33f)]===p[_0x37f485(0x3a3)]['FETCH_MISSING']){const _0xe8ee7a=_0x1d38d5['data'];this[_0x37f485(0x596)](_0xe8ee7a)[_0x37f485(0x625)](_0x5b0eff=>{const _0xee7be0=_0x37f485;_0xe820eb[_0xee7be0(0x250)]({'cmd':G['RECV'],'code':bt['OK'],'routeKey':_0xe8ee7a[_0xee7be0(0x44a)][_0xee7be0(0x3b0)],'routeType':'','data':{'eventID':p[_0xee7be0(0x3a3)][_0xee7be0(0x3ad)],'data':{'changesets':_0x5b0eff}}});})[_0x37f485(0x41a)](_0x3788d8=>{const _0x2e4246=_0x37f485;this[_0x2e4246(0x545)][_0x2e4246(0x26f)](_0x3788d8),_0x5f1eee();});return;}}_0x31a20e[_0x37f485(0x5c2)](fi(_0x1d38d5));},'close':()=>{const _0x34624f=_0x23f55f;_0x31a20e[_0x34624f(0x43f)](),_0x4af755['dispose']();}},_0x2bbdc9;}async[_0x4fac68(0x23f)](_0x2d983c,_0x1580fa){const _0x581596=_0x4fac68;var _0x8f1be4,_0xb3a981;const {unitType:_0x4a5156,unitID:_0x207f17,changeset:_0x2e37ce}=_0x1580fa[_0x581596(0x44a)],_0x3412eb={'unitID':_0x207f17,'memberID':_0x2d983c[_0x581596(0x485)],'type':_0x4a5156,'changeset':p[_0x581596(0x2d7)](_0x2e37ce)},_0x234400=this[_0x581596(0x216)]['getConfig'](li),_0x4b2836=this[_0x581596(0x216)][_0x581596(0x620)](Q),_0x4d7ad5=nn((_0xb3a981=(_0x8f1be4=_0x4b2836==null?void 0x0:_0x4b2836[_0x581596(0x384)])!=null?_0x8f1be4:_0x234400)!=null?_0xb3a981:Xi,_0x4a5156,_0x207f17);try{await this[_0x581596(0x4d5)][_0x581596(0x4d3)](_0x4d7ad5,{'body':_0x3412eb});}catch(_0x2c2c02){throw this[_0x581596(0x545)][_0x581596(0x26f)](_0x581596(0x62c),_0x581596(0x641)),_0x2c2c02;}}async[_0x4fac68(0x596)](_0x2bb39b){const _0x23395e=_0x4fac68,{unitID:_0x78242b,from:_0x2dd278,to:_0x5dd889,unitType:_0x57395d}=_0x2bb39b[_0x23395e(0x44a)];return(await this[_0x23395e(0x416)][_0x23395e(0x601)]({'metadata':void 0x0},{'unitID':_0x78242b,'type':_0x57395d,'from':_0x2dd278,'to':_0x5dd889}))['changesets'];}},exports[_0x4fac68(0x390)]=tn([Pe(0x0,a[_0x4fac68(0x55d)](z[_0x4fac68(0x397)])),Pe(0x1,a['Inject'](z[_0x4fac68(0x31c)])),Pe(0x2,a[_0x4fac68(0x459)]),Pe(0x3,a[_0x4fac68(0x23d)]),Pe(0x4,p[_0x4fac68(0x4cf)])],exports[_0x4fac68(0x390)]);const sn=_0x4fac68(0x3f5);function rn(_0x268744){const _0x3d2a73=_0x4fac68;return JSON[_0x3d2a73(0x5a2)](_0x268744)[_0x3d2a73(0x42e)];}class Rt{constructor(){const _0x170d60=_0x4fac68;I(this,_0x170d60(0x4d0),new A[(_0x170d60(0x24e))]()),I(this,'commentUpdate$',this['_commentUpdate$'][_0x170d60(0x5ba)]());}[_0x4fac68(0x2d8)](_0x413221){const _0x26ebeb=_0x4fac68;this[_0x26ebeb(0x4d0)][_0x26ebeb(0x250)](_0x413221);}}var on=Object[_0x4fac68(0x470)],an=Object['getOwnPropertyDescriptor'],cn=(_0x3a97eb,_0x328e1b,_0x5c15ce,_0x33081a)=>{const _0x111880=_0x4fac68;for(var _0x518e63=_0x33081a>0x1?void 0x0:_0x33081a?an(_0x328e1b,_0x5c15ce):_0x328e1b,_0x6d4387=_0x3a97eb[_0x111880(0x42e)]-0x1,_0x34d929;_0x6d4387>=0x0;_0x6d4387--)(_0x34d929=_0x3a97eb[_0x6d4387])&&(_0x518e63=(_0x33081a?_0x34d929(_0x328e1b,_0x5c15ce,_0x518e63):_0x34d929(_0x518e63))||_0x518e63);return _0x33081a&&_0x518e63&&on(_0x328e1b,_0x5c15ce,_0x518e63),_0x518e63;},At=(_0x58e447,_0x1f8782)=>(_0x253718,_0x4faecb)=>_0x1f8782(_0x253718,_0x4faecb,_0x58e447);exports[_0x4fac68(0x598)]=class extends a[_0x4fac68(0x3d8)]{constructor(_0x212e0d,_0x58f248){const _0x32ed22=_0x4fac68;super(),I(this,'_roomMembers',new Map()),(this[_0x32ed22(0x241)]=_0x212e0d,this[_0x32ed22(0x527)]=_0x58f248,this[_0x32ed22(0x49a)](a[_0x32ed22(0x421)](A[_0x32ed22(0x593)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x32ed22(0x3f3)])['pipe'](V[_0x32ed22(0x642)](_0x1c9d26=>_0x1c9d26[_0x32ed22(0x3bb)]())),this[_0x32ed22(0x241)][_0x32ed22(0x415)](a[_0x32ed22(0x4e2)][_0x32ed22(0x465)])['pipe'](V['map'](_0x282265=>_0x282265[_0x32ed22(0x3bb)]())),this['_univerInstanceService'][_0x32ed22(0x415)](a[_0x32ed22(0x4e2)]['UNIVER_SLIDE'])['pipe'](V['map'](_0x7a45ce=>_0x7a45ce[_0x32ed22(0x3bb)]())))[_0x32ed22(0x38e)](_0x338552=>this['_removeRoom'](_0x338552)))));}[_0x4fac68(0x19b)](_0x4dccd9){const _0xd21425=_0x4fac68;this[_0xd21425(0x527)]['setCurrentUser'](_0x4dccd9);}[_0x4fac68(0x4b2)](){const _0x37a2dd=_0x4fac68;return this[_0x37a2dd(0x527)][_0x37a2dd(0x4b2)]();}[_0x4fac68(0x175)](_0x5ed371,_0x44c5fd){const _0x15f767=_0x4fac68;let _0x598c95=this[_0x15f767(0x4eb)][_0x15f767(0x2ef)](_0x5ed371);_0x598c95||(_0x598c95=new ln(),this[_0x15f767(0x4eb)]['set'](_0x5ed371,_0x598c95)),_0x598c95['updateMember'](_0x44c5fd);}['removeMember'](_0x489ef6,_0x4937d5){const _0x57b9b4=_0x4fac68,_0x49a3f4=this[_0x57b9b4(0x4eb)][_0x57b9b4(0x2ef)](_0x489ef6);_0x49a3f4&&_0x49a3f4[_0x57b9b4(0x64a)](_0x4937d5);}[_0x4fac68(0x366)](_0x12af32){const _0x25b1ce=_0x4fac68;return this['_roomMembers'][_0x25b1ce(0x2ef)](_0x12af32);}[_0x4fac68(0x2d6)](_0x1bd295,_0x3e3f21){const _0x1674e3=_0x4fac68,_0xddcc48=this[_0x1674e3(0x4eb)][_0x1674e3(0x2ef)](_0x1bd295);if(_0xddcc48)return _0xddcc48[_0x1674e3(0x2d6)](_0x3e3f21);}[_0x4fac68(0x1c1)](_0x2c40be){const _0x53ce9d=_0x4fac68,_0x56d865=this[_0x53ce9d(0x4eb)][_0x53ce9d(0x2ef)](_0x2c40be);_0x56d865&&(_0x56d865[_0x53ce9d(0x48e)](),this['_roomMembers'][_0x53ce9d(0x472)](_0x2c40be));}[_0x4fac68(0x48e)](){const _0x187ef6=_0x4fac68;this[_0x187ef6(0x4eb)]['forEach'](_0x36a5c0=>_0x36a5c0['dispose']()),this[_0x187ef6(0x4eb)][_0x187ef6(0x3bf)]();}},exports[_0x4fac68(0x598)]=cn([At(0x0,a['IUniverInstanceService']),At(0x1,a[_0x4fac68(0x55d)](a['UserManagerService']))],exports[_0x4fac68(0x598)]);function _0x243e(){const _0x152634=['_clearTimeoutTimer','getInterceptPoints','_saveCache','onTransformRemoteChangesetByIMECache','onMissingChangesets','source','storage','IUniverInstanceService','default','ILocalStorageService','merge','_textBubble','setUndoRedoMutationParamsCache','_fetchMissChangesets','assignAColorForMemberID','MemberService','objects','_handleEvent','_awaitingChangeset','ReactCurrentOwner','collabWebSocketUrl','wsSessionTicketUrl','@univerjs/docs-ui','getImageSourceCache','_map','stringify','_clearScheduledTask','SNAPSHOT_URL_KEY','enc','_transformSelections','_colorAssignService','_onConflict','_scheduleTimestamp','_onUserJoin','UniverCollaborationPlugin','_reverseMap','_getCurrentRevision','Encryptor','_hasher','telemetry\x20info\x20is\x20not\x20initialized','endRow','[UniverCollaborationClientPlugin]','object','setTimeout','_collaborationController','_localCacheService','current','newCsEvent','MessageType','asObservable','Hasher','[DataLoaderController]','_getAPIPrefix','_createHandler','[OfflineState]:\x20received\x20rejection.','resend','getRenderById','send','isEditing','visibilityState','_append','_drawTextRange','createInstance','_notificationService','/universer-api/comb','APPLY_NON_SEQUENTIAL_REVISION','handleInsertRangeMoveRight','univerjs-icon\x20univerjs-icon-','getCellPositionByOffset','_shapes','enableAuthServer','_hovered','getItem','_initUnitPermissionChange','_transformHistoryAndStateStack','IURLService','IAuthzIoService','StreamCipher','_showConflictNotification','distinctUntilChanged','concat','registerRenderModule','session.collaboration-timeout','objectActions','fetch_missing','addObject','requireSession','createEncryptor','_sendHeartbeat','@univerjs/sheets-ui','react','_initStatusComponent','socketService','_onLocalMutation','jsx','664FuXUcs','reject','[SyncedState]:\x20received\x20acknowledgement.','ReplaySubject','isActive','_invKeySchedule','_undoRedoService','Latin1','_handleJoinEvent','transformIMECache','_injector','getSkeleton','fetchThroughInterceptors','unknown','_snapshotService','1em','hidden','crypto','addObjects','_socketService','generateRandomId','docStateChange$','onRemoteRetry','colorChannel1','_onRemoteACK','fetchMissingChangesets','handleIRemoveCol','_iv','IDLE','complete','switchMap','InsertRowCommandId','collabStatus.fetchMiss','@univerjs/core','encryptBlock','now','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','open$','onlineStatusIcon','_collabSessionService','roomInfos','HEARTBEAT_INTERVAL','triggerDblclick','isTransformChangesetsSuccess','LICENSE_MAX_UNITS_EXCEEDED','_doFinalize','_initCloseConn','BlockCipherMode','_status$','UNIVER_COLLABORATION_CLIENT_PLUGIN','toStringTag','charCodeAt','getUniverSheetInstance','UNIVER_UNKNOWN','ColorKit','Module','getConfig','_doProcessBlock','_onConnectionOpen','_transformUndoredo','transformMutationsWithChangeset','then','clearInterval','changesets','/unit/','awaiting_with_pending','arc','compute','[CollaborationSession]','_undoStacks','_ensureSubject','_sessionStatus$','encode','_onRemoteRejected','Pkcs7','_assignedColors','SetWorksheetActivateCommand','getCurrentSelections','_resendTimer','/-/object/-/batch_allowed','collaboratorID','_retryCount','setAlpha','_startSheetCollabCursor','image/jpeg','ciphertext','splice','DocSelectionManagerService','_updateLocalCache','submit\x20changeset\x20error!','map','LOCAL_CACHE_INTERVAL_KEY','BASE64','UniverNetworkPlugin','type','ImageIoService','makeDirty','setConfig','removeMember','push','onPointerMove$','_docSkeletonManagerService','_onCursorDelete','blockSize','@univerjs/telemetry','getResourcesRequest','updateMember','Undefined','loadDoc','_setupSubUnitSync','newValue','getColor','jiqing500','registerComponent','mode','url(#on-line-single_clip0_910_349)','_range','failed\x20to\x20apply\x20missed\x20changesets!','subUnitId','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','show','_removeClearOtherTimer','isTransformMutationFailure','_docStateChangeManagerService','_context','HEARTBEAT_TIMEOUT','_transformPreviousActiveRange','focused$','Decryptor','ERROR_EXCEED_SIZE','hasOwnProperty','_initStatusListener','BufferedBlockAlgorithm','collaMsg','CollaborationController','_joinRoom','awaiting','&assign=','LICENSE_EXPORT_SIZE_EXCEEDED','/object','_beforeCloseService','_transformUndoRedoStack','ivSize','measureText','setCurrentUser','_keyPriorReset','ICommandService','NEW_CHANGESETS','red300','retryConnectingInterval','getActiveSheet','USERS_ENTER','_collabCursorState$','getUnitType','HTTPRequest','sessionStatus$','getCollabEntity$','refreshPermission','currentTheme$','SheetsSelectionsService','NOT_FOUND','sheetId','TOO_MANY_REQUESTS','algo','RefRangeService','COLLAB_CLIENT_CONFIG_KEY','_syncEditingCollabCursor','getVpScrollXYInfoByPosToVp','redoState','COMPRESS_MUTATION_APPLY','APPLY_PERMISSION_DENIED','_backgroundColor','_sheetTransformSelectionsService','deepClone','[CollaborationSessionService]','Error','rev','/universer-api/oidc/authpage','18378sPoNte','getSheetId','list','history','_removeRoom','putCollaborators','resolve','TRANSFORM_CHANGE_OBSERVABLE_TYPE','max','save\x20fail\x20reason\x20is\x20','onlineStatus','padding','_updateState','_change$','NOT_COLLAB','onStarting','src','#FFF','_initRequestHeader','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','_decreaseWaiting','1704090EUydHc','SheetCollaborationEntity','_drawAnchor','evenodd','mixIn','NodePositionConvertToCursor','DocCollaborationEntity','SYNCED','YUUMI_URL_COL_OUT_OF_RANGE','/role','_clearOtherTimers','encrypt','unitId\x20is\x20not\x20found','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','RxDisposable','call','...','_color','fillStyle','indexOf','PENDING','defaultProps','allowed','_onRemoteRetry','reconnect','transformMutation','_listenToOnlineEvent','ImageSourceType','incrementRevOfUnit','UNKNOWN_CODE','_getCtorByUniverType','syncEditingCollabCursor','replaceState','color','_queuedRemoteChangesets','_uiPartsService','append','COMPRESS_MUTATION_SEND','result','/object/','cmd','_hover','propertyIsEnumerable','_session','_removeCollabCursors','IPermissionService','getSheetBlock','&to=','_unitID','5400520JjJGdL','DataLoaderController','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','getUnit','size','params','collaboration.single-unit.warning','addClipboardHook','CompressMutationService','origin','_initDependencies','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onload','_name','CONNECTOR_DATA_TOO_LARGE','_getSaveTimeout','translate(.97)','toRgbString','override','_configService','toggleOffline','listCollaborators','getStateCache','JOIN','revision','auth.needGotoLoginAlert','_remoteChangesetQueue','getCurrentRevOfUnit','Rect','_id','status','SetSelectionsOperation','JOINING','COLLAB_SUBMIT_CHANGESET_URL_KEY','_nDataBytes','online','awaitingChangeset','update','exhaustSavingTask','_checkMissing','state','_telemetryService','repeat','randomBytes','ITransformService','charAt','MentionIoHttpService','permission.content','_clearUndo','LIVESHARE_NEW_HOST','SNAPSHOT_HAS_BEEN_REMOVED','_localeService','HELLO','MD5','abs','resize','AWAITING_WITH_PENDING','_getSheetObject','ILogService','_clearRedo','_submitChangeset','_parse','_univerInstanceService','fromCollab','_transformIMECache','randomUUID','_anchorDot','_acknowledgedAwaitingChangeset','YUUMI_RATE_OVER_LIMIT','onlineStatusTitle','throttleTime','undoState','_getSignURL','_startCollaboration','popstate','Subject','ERROR_IMAGE','next','_toggleOffline','getValue','AuthzIoHttpService','lib','roomMembers','avatar','onCommandExecuted','_onUserLeave','mapDocumentTypeToUniverType','CollaborationSessionService','connection\x20error','HttpExport','_clearLocalCache','_cursorInfo$','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_commentService','image/png','saveImage','loadOfflineData','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','m1Prime','function','capture','SNAPSHOT_SERVER_URL_KEY','SnapshotServerOverHTTPService','_getAnchorBounding','_collaborationTimeoutTimer','_createInitialStateImpl','$super','CHANGESET_SHOULD_RETRY','error','startTime','skeleton','startsWith','FETCH_MISSING','_incrementRevisionNumber','CommentService','finalize','appendMutation','csShouldRetryEvent','CommandType','hide','_waitForHeartbeatResponse','error$','getOffsetConfig','hovered','unitId','/allowed','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','onRemoteRej','collaboration-session-retry','touchDependencies','AES','_unitOnClients','Cipher','handleInsertCol','forEach','subunit','close$','_transformStack','BuiltInUIPart','handleInsertRangeMoveDown','SheetSkeletonManagerService','UNIVER_SLIDE','createDecryptor','ENSURE_SNAPSHOT_EXECUTION','_refRangeService','_collaborationPaused','apply','_initCommandExecutedListener','ranges','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getDocRanges','salt','toString','fromCharCode','iterations','displayName','_data','column','findNodePositionByCharIndex','WorkbookEditablePermission','ws://127.0.0.1:8000/universer-api/comb/connect','startRow','black','none','registerRefRange','RichTextEditingMutation','HEARTBEAT','on-line-single_clip0_910_349','words','image/bmp','SUCCUSS','url','collab-text-range-','_onRemoteChangeset','COLLAB_WEB_SOCKET_URL_KEY','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_entities','selection','_config','connectInjector','key','sigBytes','_docTransformSelectionsService','serializeRangeWithSheet','method','AWAITING','hasher','with','visibilitychange','_socketReady','univer-online-status-title','transform','collaboration-client.offline-data-not-saved','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','setShowComponents','shareReplay','_registerRenderDependencies','[OfflineState]:\x20received\x20changeset.','transformChangesets','_disabled','Utf8','MUTATION','idSuffix','NoPadding','isInternalEditorID','FAIL','WebURLService','join','_memberService','WordArray','getMember','parseChangesetToProtocol','onCommentUpdate','compose','onRemoteChangeset','_createHelper','setInterval','resourceIDs','_changesetSessionId','_tryReconnect','_createHmacHelper','some','UnitEmbedded','MoveRangeCommandId','SetDocZoomRatioOperation','top','UniverIcon','takeUntil','COLLAB_WEB_SOCKET_URL','ticket','restore','TEXT_RANGE_LAYER_INDEX','_sender','_resendWithTimeout','b64DecodeUnicode','get','uploadFileServerUrl','onTransformSelections','pauseCollaboration','_collaborationSessionService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','location','listRoles','processBlock','offline','commentUpdateEvent','FETCH_MISS','create','_sendHeartbeatTimer','isTransformMutationsWithChangesetFailure','labelPosition','_refreshCollabCursors','_key','collabCursorState$','executeCommand','_cursorShapes','_draw','change$','clipPath','#fff','sin','_cipher','editing\x20status\x20changed\x20to','_hideTimer','_retryConnectingTimer','RevisionService','\x0aCurrent:\x20','_listenToOfflineEvent','sessionTicket','_sendingTimer','execute','onMouseMove','IBeforeCloseService','_iKey','encodeURIComponent','setItem','_revisionService','_HTTPService','_getSessionTicket','onTransformState','WebSocketService','collab-text-anchor-','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_commandService','getCurrentUnitForType','range','runRefRangeMutations','session.will-retry','?url=','doc.mutation.rich-text-editing','_clearHeartbeatTimer','COLLAB_SUBMIT_CHANGESET_URL','SetTextSelectionsOperation','_substituteRedoStack','PasswordBasedCipher','LICENSE_DISTRO_REJECTED','hostname','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','engine','_cursor','HEARTBEAT_INTERVAL_KEY','UNDEFINED','SUBMIT_CHANGESET','selections','Vector2','values','forwardRef','children','_onRefRangeChange','pad','_docSyncEditingCollabCursorService','_createInitialState','bottom','code','_socket','eventID','getOwnPropertyDescriptor','/resources','CollaborationEntity','baseRev','onReady','JSONX','/block/','HEADER_MENU','__Key__','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','lineTo','_document','_onJoinRoomEvent','MergeInterceptorFactory','beginPath','_keySchedule','searchParams','LOGIN_URL_KEY','ceil','6158892TEFonU','collabStatus.offline','pipe','roles','_event$','setShapeProps','format','save','LICENSE_IMPORT_SIZE_EXCEEDED','unpad','conflict','CHANGESET_ACK','FileId','debug','LIVESHARE_REQUEST_HOST','_startDocCollabCursor','originalMeta','synced','YUUMI_SUBSCRIPTION_NOT_FOUND','getRoom','round','fill','reqId','/new_changes','for','OFFLINE','VIEWPORT_KEY','_lockTransition','add','OnLineSingle','RECT','url(#off-line-single_clip0_910_343)','slice','_unitStatus','OTHER_CLIENTS_EDITING','transformRemoteChangeset','/rev/','registerHTTPInterceptor','disableLocalCache','APPLY_DUPLICATED','defs','body','fetching\x20missing\x20changesets\x20from\x20','LIVESHARE_FETCH_OPERATIONS','_shouldReportTelemetry','reverse','univer-online-status-icon','_scheduleClearOtherTimer','COMPLETION_FINISHED','collabSubmitChangesetUrl','SNAPSHOT_INVALID_SNAPSHOT','/fetchmissing?from=','currentColor','json','UUID','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','_transitionLocked','_entityInit$','LocalUndoRedoService','subscribe','8176840xzSHAC','CollaborationSocketService','_scheduleHeartbeat','_getAPIPrefixPath','_resendTimeout','Optional','unit','UPDATE_CURSOR','HTTPService','_permissionService','rgba(255,\x20255,\x20255,\x200.01)','@univerjs/design','mapTo','_startTelemetryCollaborationNewChangeset','univer-offline','_updateSubUnitFromURLParams','univer-online','USERS_LEAVE','getParam','[FetchMissState]','CollaborationEvent','COMMENT_UPDATE','drawWith','_getLoginPath','href','setParam','fetchMiss','onStateChange','tag','joinEvent','PSEUDO_FETCH_MISSING_RESULT','sendChangesetTimeout','name','unitID','cursorInfo','delay','collabStatus.notCollab','CollaborationSession','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_eventUnsubscribe','[PendingState]:\x20received\x20rejection.','PERSON','Base64','_getDownloadEndpointURL','getUnitId','_cachedData','_initMergeInterceptor','[SyncedState]:\x20received\x20rejection.','clear','responseType','snapshot','_handleHover','sid','Shape','min','_pendingMutations','csRejEvent','stopTime','kdf','AUTHZ_URL_KEY','UNAUTHENTICATED','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','COLORS','_getMergeRange','init','1475668qWxtlr','@univerjs/engine-render','getUnhiddenWorksheets','_timeoutTimer','_scene','createSocket','file','__creator','Disposable','_disableEditing','UNRECOGNIZED','getUnitStatus$','getActiveRange','textEncoder','has','_sheetSkeletonManagerService','byteLength','attrs','msCrypto','gold400','[CollaborationState]:\x20apply\x20error!','_substituteUndoStack','getCollabEntity','DEFAULT_FILE_NAME','_getSnapshotAPIPrefix','PERMISSION_DENIED','@univerjs-pro/collaboration','combineLatest','_selfUnitIDs','Univer','dispose$','@univerjs/engine-formula','serializeCombRequest','InsertSheetMutation','OpenSSL','UNIVER_SHEET','_clearCollaborationTimeoutTimer','collaboration_new_changeset','clearTimeout','replace','getWorkbookSelections','InsertColCommandId','YUUMI_UNABLE_LOAD_URL','Unknown\x20user','@univerjs/network','CipherParams','_handler','jsxs','conflict.title','/collaborator','Tools','status$','mergeOverrideWithDependencies','PERMISSION_REJ','_messageService','DisposableCollection','_imageIoService','_state','createCollaborator','_waitCount','_urlService','uni.network.url-service','_singleActiveUnitService','getSheetBySheetId','flatMap','LocaleService','@univerjs/sheets','userID','target','getTypeOfUnitDisposed$','_snapshotServerService','width','isTransformMutationsWithChangesetSuccess','enableOfflineEditing','catch','_state$','DOC_RANGE_TYPE','objectType','_hash','_saveTaskMap','actions','toDisposable','_labelPosition','OffLineSingle','transformStateCache','_onMessage','IUndoRedoService','IDocClipboardService','_prevBlock','RETRY_CONNECTING_MAX_COUNT','onPointerLeave$','INVALID_ARGUMENT','?size=','SHOULD_CLOSE_CONN','length','parseProtocolChangeset','_updateURLWithCurrentState','IImageIoService','filter','_transformService','action','reset','\x20-\x20','unsubscribe','MSG_FOR_ERROR','\x20in\x20_schedule.','objectID','POST','localeService','_onCursorUpdate','BlockCipher','close','LIVESHARE_TERMINATE','socket$','_ENC_XFORM_MODE','joinRsp','APPLY_REVISION_CONFILICT','ICollaborationSocketService','div','liveShareOperation','getCoordByCell','ITelemetryService','data','_doCryptBlock','substring','routeKey','RECV','__esModule','_updateCollabCursors','_roomMembers$','registerDependencies','enableSingleActiveInstanceLock','reduce','RegularPolygon','addEventListener','getViewport','activeSheet$','IConfigService','pluginName','c2Prime','fillText','bind','_handleLeaveEvent','collabStatus.conflict','_applyRemoteChangeset','LocalCacheService','random','_imageSourceCache','_setupBeforeClosingHandler','UNIVER_DOC','/universer-api/file/{fileID}/sign-url','xlink:href','react.element','from','64mIHJWL','_changesetReqId','infoRsp','closePath','_docTransformStateCacheService','saveSheetBlock','defineProperty','_throwTelemetryCollaborationNewChangeset','delete','getLatestCsReqIdBySid','_updateLocalCursor','@univerjs/drawing','Fragment','DesktopCollaborationStatusDisplayController','_nRounds','_cursors','0\x200\x2016\x2016','Plugin','all','row','debounceTime','_init','ThemeService','FromArray','keySize','_updateStatus','setWaitCount','memberID','Rectangle','transformByState','assign','_renderManagerService','_rescheduleHeartbeat','Malformed\x20UTF-8\x20data','useDependency','cfg','dispose','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','HmacSHA1','c1Prime','confirm','ONLINE','_localStorageService','_anchor','IRemoteInstanceService','IRenderManagerService','_getUploadFileURL','fromEvent','disposeWithMe','_stopTelemetryCollaborationNewChangeset','@univerjs/ui','3fhivaB','DocIMEInputManagerService','authzUrl','_unlockTransition','univer-pro.collaboration-client-socket-service','_isPermissionRej','event$','onSyncEditingCollabCursor','_minBufferSize','_getScale','getCollabCursors$','_render','_initEventListeners','purple300','_executeRemoteChangeset','_replaceFileID','textRanges','mutations','_handleHeartbeatEvent','univer-online-status','getMemberID','getCurrentUser','session','csAckEvent','pushState','EffectRefRangId','_transformRemoteChangesetByIMECache','_docClipboardService','JOIN_ROOM_NOT_ALLOWED','addImageSourceCache','shouldCloseConn','state$','_onConnectionFailed','_heartbeatTimer','UniverCollaborationClientPlugin','_candidateSocket','_onFetchMissResult','react.fragment','/universer-api/authz','getCurrent','_replayCachedMutations','toLowerCase','verdancy600','_tryEnsureSocket','take','registerBeforeClose','JOIN_ROOM_FULL','sheets','APPLY_REJECT','getImage','ISnapshotServerService','_commentUpdate$','path','HMAC','post','image/gif','_http','updateOfflineData','saveSnapshot','_online','_colorIndex','SEND_CHANGESET_TIMEOUT_KEY','updatePermissionObjEvent','find','onSendChangeset','subscribeEvent','/universer-api/stream/file/upload','MentionType','withCredentials','UniverInstanceType','Error\x20on\x20receiving\x20event','M0\x200H16V16H0z','@univerjs/rpc','font','_registerDependencies','className','isPermissionRej','handleIRemoveRow','_roomMembers','@univerjs/docs','extend','_docSkeleton','_initResize','_xformMode','_members','text','NO_OTHER_CLIENTS_EDITING','message$','_getUndoStack','BehaviorSubject','defIds','updateCursorEvent','entries','_socketMessageSubscription','_getRedoStack','_oKey','editingUnit','_schedule','IMessageService','_scheduleCollaborationTimeoutTimer','UNKNOWN_CMD','onMissedChangesetFetched','getRangePointData','useObservable','deserializeToCombResponse','snapshotServerUrl','loginUrlKey','Injector','every','_socket$','SheetCollabCursorShape','EvpKDF','_loadDoc','SessionStatus','0\x200\x2017\x2016','useRef','IUIPartsService','SheetPermissionInitController','onlyLocal','onPointerEnter$','m2Prime','rxjs','application/json','saveChangeset','decrypt','concatMap','collaborators','_scheduleSaving','_exhaustRemoteChangesetQueue','string','getOwnPropertySymbols','_instanceService','Could\x20not\x20dynamically\x20require\x20\x22','svg','CollaborationStatusDisplay','roomMembers$','ImageUploadStatusType','clamp','_userManagerService','SerializableCipher','floor','_lastPointer','ERROR_IMAGE_TYPE','_doReset','collabStatus.synced','batchAllowed','createElement','Base','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','number','&source=','parse','debounce','VIEW_MAIN','sessionStatus','Workbook','ALREADY_EXISTS','updateCollaborator','off-line-single_clip0_910_343','_onRecvEvent','SHA1','exports','_httpService','INGEST','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','fromEventSubject','_compressMutationService','sequenceExecute','_logService','substr','toggleOnline','headers','createIdentifier','getFocusedUnit','transformSelections','getAncestorScale','onTransformRemoteChangesetByStateCache','urlChange$','cursorInfo$','getSheetObject','getRandomValues','prototype','LEAVE','_mode','Warning','HmacMD5','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','set','liveShareNewHost','_getSendChangesetTimeout','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_transformStateCache','Inject','onTransformIME','_docTransformIMECacheService','CONFLICT','requestParams','trim','getUndoRedoMutationParamsCache','_createSocket','moveTo','_type','onRemoteAck','conflict.content','21301LEbxPz','IMentionIOService','_sessions','members','handleInsertRow','pending','isArray','DocStateChangeManagerService','getTypeOfUnitAdded$','_transformRemoteChangesetByStateCache','interceptor','_toggleOnline','handleDeleteRangeMoveLeft','closeSession','_drawRectRange','LOCAL_CACHE_INTERVAL','setActiveRange','_collabCursorController','unshift','subject','updatePermissionPoint','UNIVER_PROJECT','[CollaborationEntity]','_process','_telemetryInfo','_send','collab-client.tooltip.reconnect','buffer','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_onOffline','_themeService','clone'];_0x243e=function(){return _0x152634;};return _0x243e();}class ln extends a[_0x4fac68(0x3d8)]{constructor(){const _0x36bf70=_0x4fac68;super(...arguments),I(this,_0x36bf70(0x4f1),new Map());}[_0x4fac68(0x48e)](){const _0x2ef9b2=_0x4fac68;this[_0x2ef9b2(0x4f1)][_0x2ef9b2(0x3bf)]();}[_0x4fac68(0x175)](_0x33685d){const _0x127d23=_0x4fac68;this[_0x127d23(0x4f1)][_0x127d23(0x558)](_0x33685d[_0x127d23(0x485)],_0x33685d);}['removeMember'](_0x4ef720){const _0x5ca22e=_0x4fac68;this['_members'][_0x5ca22e(0x472)](_0x4ef720);}[_0x4fac68(0x2d6)](_0xf9245e){const _0x241a28=_0x4fac68;return this[_0x241a28(0x4f1)][_0x241a28(0x2ef)](_0xf9245e);}['getAllMembers'](){const _0x33957b=_0x4fac68;return Array[_0x33957b(0x469)](this[_0x33957b(0x4f1)]['values']());}}var hn=Object[_0x4fac68(0x470)],_n=Object[_0x4fac68(0x340)],un=(_0x1c1c24,_0x21b3d1,_0x1a2da4,_0x29523f)=>{const _0x29a587=_0x4fac68;for(var _0x427f2c=_0x29523f>0x1?void 0x0:_0x29523f?_n(_0x21b3d1,_0x1a2da4):_0x21b3d1,_0x42ebcc=_0x1c1c24[_0x29a587(0x42e)]-0x1,_0x3bb639;_0x42ebcc>=0x0;_0x42ebcc--)(_0x3bb639=_0x1c1c24[_0x42ebcc])&&(_0x427f2c=(_0x29523f?_0x3bb639(_0x21b3d1,_0x1a2da4,_0x427f2c):_0x3bb639(_0x427f2c))||_0x427f2c);return _0x29523f&&_0x427f2c&&hn(_0x21b3d1,_0x1a2da4,_0x427f2c),_0x427f2c;},de=(_0x2cc99d,_0x3d9538)=>(_0x2be903,_0x32de28)=>_0x3d9538(_0x2be903,_0x32de28,_0x2cc99d),se=(_0x29e647=>(_0x29e647[_0x29e647['IDLE']=0x0]=_0x4fac68(0x604),_0x29e647[_0x29e647[_0x4fac68(0x223)]=0x1]=_0x4fac68(0x223),_0x29e647[_0x29e647[_0x4fac68(0x36c)]=0x2]=_0x4fac68(0x36c),_0x29e647[_0x29e647['ONLINE']=0x3]=_0x4fac68(0x493),_0x29e647))(se||{});exports['CollaborationSession']=class extends a[_0x4fac68(0x1e0)]{constructor(_0x530102,_0x34e554,_0x305a15,_0x122df6,_0x12da7b,_0x538b8d,_0x3605d8,_0x48300b,_0x30643d,_0x905bea){const _0x40ea3e=_0x4fac68;super(),I(this,_0x40ea3e(0x62f),new A['BehaviorSubject'](0x0)),I(this,_0x40ea3e(0x1a6),this['_sessionStatus$'][_0x40ea3e(0x5ba)]()),I(this,_0x40ea3e(0x357),new A[(_0x40ea3e(0x24e))]()),I(this,'event$',this[_0x40ea3e(0x357)][_0x40ea3e(0x5ba)]()),I(this,_0x40ea3e(0x33e)),I(this,_0x40ea3e(0x4fa)),I(this,_0x40ea3e(0x26b)),I(this,_0x40ea3e(0x37f),!0x1),I(this,'_telemetryInfo',null),(this[_0x40ea3e(0x202)]=_0x530102,this[_0x40ea3e(0x545)]=_0x305a15,this[_0x40ea3e(0x197)]=_0x122df6,this['_messageService']=_0x12da7b,this[_0x40ea3e(0x216)]=_0x538b8d,this['_localeService']=_0x3605d8,this[_0x40ea3e(0x2d4)]=_0x48300b,this[_0x40ea3e(0x260)]=_0x30643d,this['_telemetryService']=_0x905bea,this[_0x40ea3e(0x37f)]=!!this[_0x40ea3e(0x22c)],_0x34e554[_0x40ea3e(0x355)](A[_0x40ea3e(0x2e7)](this[_0x40ea3e(0x3ee)]))[_0x40ea3e(0x38e)](_0x34c524=>{const _0x23c039=_0x40ea3e;var _0x2f31ca;typeof _0x34c524>'u'||(this[_0x23c039(0x33e)]=_0x34c524,_0x34c524?(this['_joinRoom'](_0x34c524),this['_socketMessageSubscription']=_0x34c524['message$'][_0x23c039(0x38e)](_0x27b19c=>{const _0x41c8e2=_0x23c039;_0x27b19c[_0x41c8e2(0x44d)]===this[_0x41c8e2(0x202)]&&this['_onCombEvent'](_0x27b19c);})):(this[_0x23c039(0x471)](),this[_0x23c039(0x62f)][_0x23c039(0x250)](0x2),(_0x2f31ca=this[_0x23c039(0x4fa)])==null||_0x2f31ca[_0x23c039(0x437)](),this[_0x23c039(0x4fa)]=null));}),this[_0x40ea3e(0x49a)](this[_0x40ea3e(0x197)]['registerOnClose'](()=>{const _0x1b31fe=_0x40ea3e;var _0x1c4b56;(_0x1c4b56=this[_0x1b31fe(0x33e)])==null||_0x1c4b56[_0x1b31fe(0x5c2)]({'cmd':G[_0x1b31fe(0x553)],'data':{'roomID':this[_0x1b31fe(0x202)]}});})));}get[_0x4fac68(0x537)](){const _0x40762a=_0x4fac68;return this[_0x40762a(0x62f)][_0x40762a(0x252)]();}[_0x4fac68(0x4b1)](){const _0x573b3f=_0x4fac68;var _0x1d55df,_0x5b1be3;return(_0x5b1be3=(_0x1d55df=this[_0x573b3f(0x33e)])==null?void 0x0:_0x1d55df[_0x573b3f(0x485)])!=null?_0x5b1be3:null;}[_0x4fac68(0x48e)](){const _0x1fe32f=_0x4fac68;super[_0x1fe32f(0x48e)](),this[_0x1fe32f(0x3ee)][_0x1fe32f(0x250)](),this[_0x1fe32f(0x3ee)][_0x1fe32f(0x605)]();}['close'](){const _0x44fc93=_0x4fac68;var _0x1176ed,_0x2407db;this[_0x44fc93(0x471)](),(_0x1176ed=this['_socket'])==null||_0x1176ed['send']({'cmd':G[_0x44fc93(0x553)],'data':{'roomID':this[_0x44fc93(0x202)]}}),(_0x2407db=this[_0x44fc93(0x33e)])==null||_0x2407db['close'](),this['_event$'][_0x44fc93(0x605)](),this[_0x44fc93(0x62f)]['complete'](),this[_0x44fc93(0x48e)]();}['_onCombEvent'](_0x1df779){const _0xce76e2=_0x4fac68;_0x1df779[_0xce76e2(0x1fa)]===G[_0xce76e2(0x21a)]?this[_0xce76e2(0x34c)](_0x1df779):_0x1df779[_0xce76e2(0x1fa)]===G[_0xce76e2(0x44e)]&&this[_0xce76e2(0x53c)](_0x1df779);}[_0x4fac68(0x192)](_0x1e378e){const _0x46c6f3=_0x4fac68;this[_0x46c6f3(0x62f)][_0x46c6f3(0x250)](0x1),_0x1e378e[_0x46c6f3(0x5c2)]({'cmd':G['JOIN'],'routeKey':this[_0x46c6f3(0x202)],'routeType':'','data':{'rooms':[{'roomID':this[_0x46c6f3(0x202)]}]}});}[_0x4fac68(0x34c)](_0x471bb2){const _0x5d0603=_0x4fac68;var _0x2326da;if(_0x471bb2[_0x5d0603(0x33d)]===bt[_0x5d0603(0x2d1)]){this[_0x5d0603(0x406)]['show']({'type':Ce[_0x5d0603(0x5b9)][_0x5d0603(0x555)],'content':this[_0x5d0603(0x236)]['t']('session.room-full')}),this['_sessionStatus$'][_0x5d0603(0x250)](0x2);return;}this[_0x5d0603(0x62f)]['next'](0x3);const _0xc35d9=(_0x2326da=_0x471bb2[_0x5d0603(0x44a)][_0x5d0603(0x610)][this['_unitID']])==null?void 0x0:_0x2326da[_0x5d0603(0x56c)];_0xc35d9&&_0xc35d9[_0x5d0603(0x289)](_0x587aba=>this[_0x5d0603(0x2d4)][_0x5d0603(0x175)](this['_unitID'],_0x587aba));}[_0x4fac68(0x53c)](_0x503118){const _0x5e5960=_0x4fac68;try{const _0x2cdca5=_0x503118['data'];switch(_0x2cdca5[_0x5e5960(0x33f)]){case p[_0x5e5960(0x3a3)]['USERS_ENTER']:this[_0x5e5960(0x5aa)](_0x2cdca5),this[_0x5e5960(0x357)][_0x5e5960(0x250)](_0x2cdca5);break;case p[_0x5e5960(0x3a3)][_0x5e5960(0x3a0)]:this[_0x5e5960(0x258)](_0x2cdca5),this[_0x5e5960(0x357)][_0x5e5960(0x250)](_0x2cdca5);break;case p[_0x5e5960(0x3a3)]['CHANGESET_ACK']:case p[_0x5e5960(0x3a3)][_0x5e5960(0x26e)]:this[_0x5e5960(0x49b)](),this[_0x5e5960(0x3f4)](),this['_event$'][_0x5e5960(0x250)](_0x2cdca5);break;case p[_0x5e5960(0x3a3)][_0x5e5960(0x438)]:this[_0x5e5960(0x545)]['error'](_0x5e5960(0x1c6)+JSON[_0x5e5960(0x5a2)](_0x2cdca5)),this[_0x5e5960(0x357)][_0x5e5960(0x250)](_0x2cdca5);break;case p['CollaborationEvent']['COMMENT_UPDATE']:this['_commentService'][_0x5e5960(0x2d8)](_0x2cdca5[_0x5e5960(0x44a)]),this[_0x5e5960(0x357)][_0x5e5960(0x250)](_0x2cdca5);break;default:this[_0x5e5960(0x357)][_0x5e5960(0x250)](_0x2cdca5);}}catch(_0x43f6d2){this[_0x5e5960(0x545)][_0x5e5960(0x26f)](_0x43f6d2,_0x503118);}}['_onUserJoin'](_0x4d98e4){const _0x2ebe7b=_0x4fac68;this[_0x2ebe7b(0x2d4)][_0x2ebe7b(0x175)](this[_0x2ebe7b(0x202)],_0x4d98e4['data']);}[_0x4fac68(0x258)](_0xee84dc){const _0x589acc=_0x4fac68;this[_0x589acc(0x2d4)][_0x589acc(0x64a)](this['_unitID'],_0xee84dc[_0x589acc(0x44a)][_0x589acc(0x485)]);}async[_0x4fac68(0x5c2)](_0x554b62,_0x4e77ef){const _0x40a8e0=_0x4fac68;if(this[_0x40a8e0(0x537)]!==0x3||!this[_0x40a8e0(0x33e)])throw new Error(_0x40a8e0(0x3cc));try{_0x554b62[_0x40a8e0(0x33f)]===p[_0x40a8e0(0x3a3)][_0x40a8e0(0x332)]&&(this[_0x40a8e0(0x500)](),this[_0x40a8e0(0x39c)](_0x554b62)),this[_0x40a8e0(0x33e)][_0x40a8e0(0x5c2)]({'cmd':G[_0x40a8e0(0x540)],'routeKey':_0x4e77ef,'routeType':'','data':_0x554b62});}catch(_0x4be6af){this[_0x40a8e0(0x545)][_0x40a8e0(0x26f)](_0x4be6af);}}[_0x4fac68(0x500)](){const _0x262f91=_0x4fac68;var _0x4e3d52;this[_0x262f91(0x26b)]=window[_0x262f91(0x5b4)](()=>{const _0x14d79b=_0x262f91;this['_collaborationTimeoutTimer']=null,this[_0x14d79b(0x406)]['show']({'type':Ce[_0x14d79b(0x5b9)]['Error'],'content':this[_0x14d79b(0x236)]['t'](_0x14d79b(0x5db))});},(_0x4e3d52=this['_configService']['getConfig'](Et))!=null?_0x4e3d52:oi);}[_0x4fac68(0x3f4)](){const _0x394fce=_0x4fac68;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x394fce(0x26b)]),this[_0x394fce(0x26b)]=null);}[_0x4fac68(0x39c)](_0x2b4284){const _0x675715=_0x4fac68;if(!this[_0x675715(0x37f)])return;const {data:_0x5beb71}=_0x2b4284,{unitID:_0x4c4137,changeset:_0x22a809}=_0x5beb71,{mutations:_0x18c1aa,type:_0x4be0f6}=_0x22a809;this['_telemetryInfo']={'unitId':_0x4c4137,'type':_0x4be0f6,'startTime':performance[_0x675715(0x60b)](),'stopTime':0x0,'duration':0x0,'size':rn(_0x18c1aa)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x5fcbe6=_0x4fac68;if(this[_0x5fcbe6(0x37f)]){if(!this[_0x5fcbe6(0x581)]){this['_logService']['error'](_0x5fcbe6(0x62c),_0x5fcbe6(0x5b0));return;}this[_0x5fcbe6(0x581)][_0x5fcbe6(0x3c8)]=performance['now'](),this[_0x5fcbe6(0x581)]['duration']=this[_0x5fcbe6(0x581)][_0x5fcbe6(0x3c8)]-this[_0x5fcbe6(0x581)][_0x5fcbe6(0x270)],this[_0x5fcbe6(0x22c)][_0x5fcbe6(0x267)](sn,this[_0x5fcbe6(0x581)]),this[_0x5fcbe6(0x581)]=null;}}[_0x4fac68(0x471)](){const _0x379d24=_0x4fac68;this[_0x379d24(0x581)]=null;}},exports[_0x4fac68(0x3b4)]=un([de(0x2,a[_0x4fac68(0x23d)]),de(0x3,te[_0x4fac68(0x314)]),de(0x4,te['IMessageService']),de(0x5,a['IConfigService']),de(0x6,a['Inject'](a[_0x4fac68(0x411)])),de(0x7,a[_0x4fac68(0x55d)](exports[_0x4fac68(0x598)])),de(0x8,a[_0x4fac68(0x55d)](Rt)),de(0x9,a[_0x4fac68(0x394)](Hi[_0x4fac68(0x449)]))],exports[_0x4fac68(0x3b4)]);var dn=Object[_0x4fac68(0x470)],fn=Object[_0x4fac68(0x340)],vn=(_0x1682b7,_0xdbcb2,_0x2ea85a,_0x1de819)=>{const _0x1f5d93=_0x4fac68;for(var _0x492b13=_0x1de819>0x1?void 0x0:_0x1de819?fn(_0xdbcb2,_0x2ea85a):_0xdbcb2,_0x462fbc=_0x1682b7[_0x1f5d93(0x42e)]-0x1,_0x2fa7b7;_0x462fbc>=0x0;_0x462fbc--)(_0x2fa7b7=_0x1682b7[_0x462fbc])&&(_0x492b13=(_0x1de819?_0x2fa7b7(_0xdbcb2,_0x2ea85a,_0x492b13):_0x2fa7b7(_0x492b13))||_0x492b13);return _0x1de819&&_0x492b13&&dn(_0xdbcb2,_0x2ea85a,_0x492b13),_0x492b13;},pe=(_0x7e73c1,_0x4361ae)=>(_0x5b2cef,_0x59eda4)=>_0x4361ae(_0x5b2cef,_0x59eda4,_0x7e73c1);exports[_0x4fac68(0x25a)]=class extends a[_0x4fac68(0x3d8)]{constructor(_0xbd7c2e,_0x346713,_0x906e3b,_0x515dd2,_0x2a65d4,_0x1ee93c,_0x3461af){const _0x3b256a=_0x4fac68;super(),I(this,_0x3b256a(0x50a),new A[(_0x3b256a(0x4f6))](void 0x0)),I(this,_0x3b256a(0x441),this[_0x3b256a(0x50a)][_0x3b256a(0x5ba)]()),I(this,_0x3b256a(0x4c0),null),I(this,_0x3b256a(0x56b),new Map()),I(this,'_status$',new A[(_0x3b256a(0x4f6))](se[_0x3b256a(0x604)])),I(this,_0x3b256a(0x403),this[_0x3b256a(0x618)]['asObservable']()),I(this,'_socketReady',!0x1),I(this,_0x3b256a(0x30c)),I(this,_0x3b256a(0x639),0x0),I(this,'_sendHeartbeatTimer'),I(this,_0x3b256a(0x3d3)),(this[_0x3b256a(0x5f2)]=_0xbd7c2e,this['_localeService']=_0x346713,this[_0x3b256a(0x406)]=_0x906e3b,this[_0x3b256a(0x545)]=_0x515dd2,this['_configService']=_0x2a65d4,this[_0x3b256a(0x5fb)]=_0x1ee93c,this[_0x3b256a(0x53f)]=_0x3461af,this[_0x3b256a(0x4a9)]());}get[_0x4fac68(0x33e)](){const _0x1f1d3c=_0x4fac68;return this[_0x1f1d3c(0x50a)][_0x1f1d3c(0x252)]();}[_0x4fac68(0x4a9)](){this['_listenToOfflineEvent'](),this['_listenToOnlineEvent']();}[_0x4fac68(0x48e)](){const _0x37a79e=_0x4fac68;super[_0x37a79e(0x48e)](),this[_0x37a79e(0x56b)]['forEach'](_0x1210c7=>_0x1210c7[_0x37a79e(0x48e)]()),this['_sessions'][_0x37a79e(0x3bf)](),this['_status$'][_0x37a79e(0x605)]();}async[_0x4fac68(0x5df)](_0x2fa672){const _0x2380aa=_0x4fac68;if(this[_0x2380aa(0x56b)][_0x2380aa(0x3de)](_0x2fa672))return this[_0x2380aa(0x56b)][_0x2380aa(0x2ef)](_0x2fa672);this[_0x2380aa(0x4c8)]();const _0x4c283b=this[_0x2380aa(0x5f2)][_0x2380aa(0x5c7)](exports['CollaborationSession'],_0x2fa672,this[_0x2380aa(0x50a)][_0x2380aa(0x5ba)]());return this[_0x2380aa(0x56b)][_0x2380aa(0x558)](_0x2fa672,_0x4c283b),_0x4c283b;}[_0x4fac68(0x576)](_0x40397f){const _0x37dd2a=_0x4fac68;var _0x220cda;const _0x36df7a=this['_sessions'][_0x37dd2a(0x2ef)](_0x40397f);_0x36df7a&&(this[_0x37dd2a(0x56b)]['delete'](_0x40397f),_0x36df7a[_0x37dd2a(0x43f)]()),this[_0x37dd2a(0x56b)][_0x37dd2a(0x207)]||(_0x220cda=this[_0x37dd2a(0x33e)])==null||_0x220cda[_0x37dd2a(0x43f)]();}[_0x4fac68(0x1ea)](){const _0x4c84b5=_0x4fac68;this[_0x4c84b5(0x639)]=0x0,this[_0x4c84b5(0x30c)]!=null&&(clearTimeout(this[_0x4c84b5(0x30c)]),this[_0x4c84b5(0x30c)]=null),this[_0x4c84b5(0x2df)]();}async[_0x4fac68(0x31a)](){const _0x500eb4=_0x4fac68;var _0x28842c,_0x31fa26,_0x5e54f5;const _0xb02283=this[_0x500eb4(0x216)][_0x500eb4(0x620)](Q),_0x3db309=(_0x28842c=_0xb02283==null?void 0x0:_0xb02283[_0x500eb4(0x59e)])!=null?_0x28842c:Gi;return(_0x5e54f5=(_0x31fa26=(await this[_0x500eb4(0x53f)][_0x500eb4(0x2ef)](_0x3db309,{'headers':{'Content-Type':_0x500eb4(0x517)}}))[_0x500eb4(0x37c)])==null?void 0x0:_0x31fa26[_0x500eb4(0x2e9)])!=null?_0x5e54f5:'';}['_createSocketURL'](_0x3ba517){const _0x1b6829=_0x4fac68;var _0x4e63c9,_0x11266a;const _0x4f3af7=this[_0x1b6829(0x216)][_0x1b6829(0x620)](si),_0x3634e0=this[_0x1b6829(0x216)][_0x1b6829(0x620)](Q),_0x372c66=(_0x11266a=(_0x4e63c9=_0x3634e0==null?void 0x0:_0x3634e0[_0x1b6829(0x59d)])!=null?_0x4e63c9:_0x4f3af7)!=null?_0x11266a:Vi,_0x1db9f0=new URL(_0x372c66,window[_0x1b6829(0x2f5)][_0x1b6829(0x20c)]);return _0x1db9f0[_0x1b6829(0x350)][_0x1b6829(0x558)](_0x1b6829(0x310),_0x3ba517),_0x1db9f0[_0x1b6829(0x29c)]();}async[_0x4fac68(0x564)](){const _0x3abe74=_0x4fac68,_0x4aefbd=await this[_0x3abe74(0x31a)](),_0x2305a8=this['_createSocketURL'](_0x4aefbd),_0x31c2f5=this[_0x3abe74(0x5fb)][_0x3abe74(0x3d5)](_0x2305a8);return this[_0x3abe74(0x4c0)]=_0x31c2f5,_0x31c2f5;}async[_0x4fac68(0x4c8)](){const _0x4eecfb=_0x4fac68;var _0x1f85ed,_0x272336;try{const _0xb32474=(_0x272336=(_0x1f85ed=this[_0x4eecfb(0x33e)])!=null?_0x1f85ed:this[_0x4eecfb(0x4c0)])!=null?_0x272336:await this[_0x4eecfb(0x564)]();if(_0xb32474){const _0x3befa2=_0xb32474['send'];_0xb32474[_0x4eecfb(0x5c2)]=_0x3d96d5=>(this[_0x4eecfb(0x48a)](),_0x3befa2[_0x4eecfb(0x295)](_0xb32474,[_0x3d96d5])),_0xb32474[_0x4eecfb(0x4f4)][_0x4eecfb(0x38e)](_0x335aec=>this[_0x4eecfb(0x425)](_0xb32474,_0x335aec)),_0xb32474[_0x4eecfb(0x27c)]['pipe'](V[_0x4eecfb(0x4c9)](0x1))[_0x4eecfb(0x38e)](_0x1189f3=>this[_0x4eecfb(0x545)][_0x4eecfb(0x26f)]('[CollaborationSessionService]:\x20socket\x20error',_0x1189f3)),_0xb32474[_0x4eecfb(0x60d)]['pipe'](V[_0x4eecfb(0x4c9)](0x1))[_0x4eecfb(0x38e)](()=>{const _0x3ab273=_0x4eecfb;this[_0x3ab273(0x622)](_0xb32474);}),_0xb32474[_0x4eecfb(0x28b)][_0x4eecfb(0x355)](V[_0x4eecfb(0x4c9)](0x1))[_0x4eecfb(0x38e)](_0x30a745=>{const _0x49dd6f=_0x4eecfb;this[_0x49dd6f(0x545)]['debug'](_0x49dd6f(0x1b9),'socket\x20close',_0x30a745),this[_0x49dd6f(0x4bd)]();});}}catch(_0x16acf4){this[_0x4eecfb(0x545)][_0x4eecfb(0x26f)](_0x16acf4),this['_onConnectionFailed']();}}[_0x4fac68(0x622)](_0x452c54){const _0x146e29=_0x4fac68;this[_0x146e29(0x545)][_0x146e29(0x360)](_0x146e29(0x1b9),'socket\x20open.'),_0x452c54[_0x146e29(0x5c2)]({'cmd':G['HELLO']}),this[_0x146e29(0x48a)]();}[_0x4fac68(0x30f)](){const _0x23f79c=_0x4fac68;window[_0x23f79c(0x456)](_0x23f79c(0x2f8),()=>this[_0x23f79c(0x586)]());}['_onOffline'](){const _0x5a9823=_0x4fac68;this['_socketReady']=!0x1,this['_candidateSocket']=null,this['_status$'][_0x5a9823(0x250)](se[_0x5a9823(0x36c)]),this[_0x5a9823(0x50a)][_0x5a9823(0x250)](null),this[_0x5a9823(0x589)](),this[_0x5a9823(0x326)]();}['_onConnectionFailed'](){const _0x17488=_0x4fac68;var _0x584150;this[_0x17488(0x586)](),this[_0x17488(0x639)]<((_0x584150=this[_0x17488(0x216)][_0x17488(0x620)](ai))!=null?_0x584150:qi)?(this[_0x17488(0x406)][_0x17488(0x183)]({'key':_0x17488(0x283),'type':Ce[_0x17488(0x5b9)][_0x17488(0x555)],'content':this[_0x17488(0x236)]['t'](_0x17488(0x323))}),this['_tryReconnect']()):this[_0x17488(0x406)][_0x17488(0x183)]({'key':_0x17488(0x283),'type':Ce[_0x17488(0x5b9)]['Error'],'content':this[_0x17488(0x236)]['t']('session.connection-failed')});}[_0x4fac68(0x1ec)](){const _0x3c9013=_0x4fac68,_0x5b66d0=()=>{const _0x229341=_0x10f0;this[_0x229341(0x33e)]||this['reconnect']();},_0x4728c2=()=>{const _0x4df8c7=_0x10f0;this[_0x4df8c7(0x33e)]||document[_0x4df8c7(0x5c4)]===_0x4df8c7(0x5f8)||this['reconnect']();};window[_0x3c9013(0x456)](_0x3c9013(0x226),_0x5b66d0),document[_0x3c9013(0x456)](_0x3c9013(0x2c0),_0x4728c2);}[_0x4fac68(0x2df)](){const _0x48e45a=_0x4fac68;var _0x3ce3f2;const _0x5d6bf6=this[_0x48e45a(0x639)],_0x4ac448=this['_configService'][_0x48e45a(0x620)](Q),_0x4bc747=_0x5d6bf6===0x0?0x0:((_0x3ce3f2=_0x4ac448==null?void 0x0:_0x4ac448[_0x48e45a(0x1a0)])!=null?_0x3ce3f2:Ki)*0x2**_0x5d6bf6;this[_0x48e45a(0x30c)]=window[_0x48e45a(0x5b4)](()=>{const _0x1d17c7=_0x48e45a;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x1d17c7(0x4c8)]();},_0x4bc747),this['_retryCount']+=0x1;}[_0x4fac68(0x425)](_0x1d6215,_0x42333b){const _0x3421c7=_0x4fac68,{cmd:_0x2d6232}=_0x42333b;_0x2d6232===G[_0x3421c7(0x237)]&&!this[_0x3421c7(0x2c1)]&&(_0x1d6215[_0x3421c7(0x485)]=_0x42333b[_0x3421c7(0x44a)]['memberID'],this['_socket$'][_0x3421c7(0x250)](_0x1d6215),this['_status$'][_0x3421c7(0x250)](se[_0x3421c7(0x493)]),this[_0x3421c7(0x2c1)]=!0x0,this[_0x3421c7(0x4c0)]=null),_0x2d6232===G[_0x3421c7(0x2aa)]&&this['_clearTimeoutTimer'](),this[_0x3421c7(0x48a)]();}[_0x4fac68(0x48a)](){const _0x8b5ca8=_0x4fac68;var _0x49f5d6;this['_clearHeartbeatTimer'](),this[_0x8b5ca8(0x2fc)]=window[_0x8b5ca8(0x5b4)](()=>this[_0x8b5ca8(0x5e1)](),(_0x49f5d6=this[_0x8b5ca8(0x216)][_0x8b5ca8(0x620)](ri))!=null?_0x49f5d6:Yi);}[_0x4fac68(0x5e1)](){const _0x440538=_0x4fac68;this['_socket'][_0x440538(0x5c2)]({'cmd':G[_0x440538(0x2aa)]}),this[_0x440538(0x27b)]();}[_0x4fac68(0x27b)](){const _0x5727d4=_0x4fac68;var _0x5489b0;this['_timeoutTimer']=window['setTimeout'](()=>this['_onConnectionFailed'](),(_0x5489b0=this['_configService'][_0x5727d4(0x620)](Et))!=null?_0x5489b0:oi);}[_0x4fac68(0x326)](){const _0x190a51=_0x4fac68;this[_0x190a51(0x2fc)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x190a51(0x2fc)]=null);}[_0x4fac68(0x589)](){const _0x30699e=_0x4fac68;this[_0x30699e(0x3d3)]!=null&&(clearTimeout(this[_0x30699e(0x3d3)]),this[_0x30699e(0x3d3)]=null);}},exports['CollaborationSessionService']=vn([pe(0x0,a[_0x4fac68(0x55d)](a[_0x4fac68(0x508)])),pe(0x1,a[_0x4fac68(0x55d)](a['LocaleService'])),pe(0x2,te[_0x4fac68(0x4ff)]),pe(0x3,a[_0x4fac68(0x23d)]),pe(0x4,a[_0x4fac68(0x459)]),pe(0x5,Tt),pe(0x6,a['Inject'](z[_0x4fac68(0x397)]))],exports[_0x4fac68(0x25a)]);const Y=[];for(let s=0x0;s<0x100;++s)Y[_0x4fac68(0x64b)]((s+0x100)['toString'](0x10)[_0x4fac68(0x373)](0x1));function Sn(_0x2ebf4e,_0x4aa633=0x0){const _0x455699=_0x4fac68;return(Y[_0x2ebf4e[_0x4aa633+0x0]]+Y[_0x2ebf4e[_0x4aa633+0x1]]+Y[_0x2ebf4e[_0x4aa633+0x2]]+Y[_0x2ebf4e[_0x4aa633+0x3]]+'-'+Y[_0x2ebf4e[_0x4aa633+0x4]]+Y[_0x2ebf4e[_0x4aa633+0x5]]+'-'+Y[_0x2ebf4e[_0x4aa633+0x6]]+Y[_0x2ebf4e[_0x4aa633+0x7]]+'-'+Y[_0x2ebf4e[_0x4aa633+0x8]]+Y[_0x2ebf4e[_0x4aa633+0x9]]+'-'+Y[_0x2ebf4e[_0x4aa633+0xa]]+Y[_0x2ebf4e[_0x4aa633+0xb]]+Y[_0x2ebf4e[_0x4aa633+0xc]]+Y[_0x2ebf4e[_0x4aa633+0xd]]+Y[_0x2ebf4e[_0x4aa633+0xe]]+Y[_0x2ebf4e[_0x4aa633+0xf]])[_0x455699(0x4c6)]();}let Ze;const pn=new Uint8Array(0x10);function mn(){const _0x31db08=_0x4fac68;if(!Ze){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x31db08(0x264));Ze=crypto[_0x31db08(0x551)][_0x31db08(0x45d)](crypto);}return Ze(pn);}const gn=typeof crypto<'u'&&crypto[_0x4fac68(0x244)]&&crypto['randomUUID']['bind'](crypto),Nt={'randomUUID':gn};function In(_0x446837,_0x561d04,_0x3f65e6){const _0xd7f9c1=_0x4fac68;if(Nt[_0xd7f9c1(0x244)]&&!_0x561d04&&!_0x446837)return Nt[_0xd7f9c1(0x244)]();_0x446837=_0x446837||{};const _0x57b19d=_0x446837[_0xd7f9c1(0x462)]||(_0x446837['rng']||mn)();return _0x57b19d[0x6]=_0x57b19d[0x6]&0xf|0x40,_0x57b19d[0x8]=_0x57b19d[0x8]&0x3f|0x80,Sn(_0x57b19d);}var Cn=Object[_0x4fac68(0x470)],En=Object['getOwnPropertyDescriptor'],bn=(_0x3bd104,_0x932036,_0x1a8e55,_0x326cc4)=>{const _0x29fd75=_0x4fac68;for(var _0xd08999=_0x326cc4>0x1?void 0x0:_0x326cc4?En(_0x932036,_0x1a8e55):_0x932036,_0x6fd70=_0x3bd104[_0x29fd75(0x42e)]-0x1,_0x34a2cf;_0x6fd70>=0x0;_0x6fd70--)(_0x34a2cf=_0x3bd104[_0x6fd70])&&(_0xd08999=(_0x326cc4?_0x34a2cf(_0x932036,_0x1a8e55,_0xd08999):_0x34a2cf(_0xd08999))||_0xd08999);return _0x326cc4&&_0xd08999&&Cn(_0x932036,_0x1a8e55,_0xd08999),_0xd08999;},Qe=(_0x58cac6,_0x11c8e6)=>(_0x4f21c0,_0x5b6a17)=>_0x11c8e6(_0x4f21c0,_0x5b6a17,_0x58cac6);let Be=class{constructor(_0x41c11e,_0x4874fd,_0x28c57f){const _0x32eae0=_0x4fac68;this[_0x32eae0(0x5f2)]=_0x41c11e,this[_0x32eae0(0x433)]=_0x4874fd,this[_0x32eae0(0x489)]=_0x28c57f;}[_0x4fac68(0x5f1)](_0x34a618){const _0x5a2f70=_0x4fac68;this[_0x5a2f70(0x198)](_0x34a618),this['_transformPreviousActiveRange'](_0x34a618);}[_0x4fac68(0x376)](_0x2a692f){const _0x4fb4ca=_0x4fac68,{unitID:_0x55b383}=_0x2a692f,_0x36a3da=this[_0x4fb4ca(0x489)][_0x4fb4ca(0x5c1)](_0x55b383)[_0x4fb4ca(0x2bf)](J[_0x4fb4ca(0x49e)]),{redoCache:_0xdab784}=_0x36a3da[_0x4fb4ca(0x563)]();if(_0xdab784[_0x4fb4ca(0x42e)]===0x0)return _0x2a692f;let _0x455044=a[_0x4fb4ca(0x402)][_0x4fb4ca(0x1b8)](_0x2a692f[_0x4fb4ca(0x4ae)][0x0]);for(let _0x31f83a=0x0;_0x31f83a<_0xdab784['length'];_0x31f83a++){const _0x6a3c5c={'id':_0x4fb4ca(0x325),'params':{..._0xdab784[_0x31f83a]}},_0x544415=this[_0x4fb4ca(0x433)][_0x4fb4ca(0x1eb)](_0x455044,_0x6a3c5c,!0x1);if(p[_0x4fb4ca(0x185)](_0x544415))throw _0x544415['error'];_0x455044=_0x544415[_0x4fb4ca(0x265)];}return{...a[_0x4fb4ca(0x402)][_0x4fb4ca(0x1b8)](_0x2a692f),'mutations':[_0x455044]};}[_0x4fac68(0x198)](_0x584352){const _0x48a234=_0x4fac68,{unitID:_0x46d018}=_0x584352,_0x4203ba=this[_0x48a234(0x489)][_0x48a234(0x5c1)](_0x46d018)[_0x48a234(0x2bf)](J[_0x48a234(0x49e)]),{undoCache:_0x3ca283,redoCache:_0x3b3c44}=_0x4203ba[_0x48a234(0x563)]();if(_0x3ca283[_0x48a234(0x42e)]===0x0||_0x3b3c44[_0x48a234(0x42e)]===0x0)return;const _0x5e9807=[],_0x403bdf=[];let _0x3e3704=a[_0x48a234(0x402)][_0x48a234(0x1b8)](_0x584352[_0x48a234(0x4ae)][0x0]),_0x52223c=a[_0x48a234(0x402)]['deepClone'](_0x584352[_0x48a234(0x4ae)][0x0]);for(let _0x45d8bc=_0x3ca283['length']-0x1;_0x45d8bc>=0x0;_0x45d8bc--){const _0x45cef7={'id':_0x48a234(0x325),'params':{..._0x3ca283[_0x45d8bc]}},_0x360e66={'id':_0x48a234(0x325),'params':{..._0x3b3c44[_0x45d8bc]}},_0x494744=this[_0x48a234(0x433)][_0x48a234(0x1eb)](_0x3e3704,_0x45cef7,!0x1),_0x353777=this[_0x48a234(0x433)]['transformMutation'](_0x52223c,_0x360e66,!0x1);if(p[_0x48a234(0x185)](_0x494744))throw _0x494744[_0x48a234(0x26f)];if(p[_0x48a234(0x185)](_0x353777))throw _0x353777[_0x48a234(0x26f)];_0x5e9807[_0x48a234(0x57b)](_0x494744['m2Prime']['params']),_0x403bdf[_0x48a234(0x57b)](_0x353777['m2Prime'][_0x48a234(0x208)]),_0x3e3704=_0x494744[_0x48a234(0x265)],_0x52223c=_0x353777[_0x48a234(0x265)];}_0x4203ba[_0x48a234(0x595)]({'undoCache':_0x5e9807,'redoCache':_0x403bdf});}[_0x4fac68(0x189)](_0x2a452d){const _0x3901ed=_0x4fac68,{unitID:_0x2e9963}=_0x2a452d,_0x3cd27b=this[_0x3901ed(0x489)][_0x3901ed(0x5c1)](_0x2e9963)[_0x3901ed(0x2bf)](J[_0x3901ed(0x49e)]),_0x4ccaf9=_0x3cd27b[_0x3901ed(0x3dc)]();if(_0x4ccaf9==null)return;const _0x2711ec=[{'id':_0x3901ed(0x325),'params':{'unitId':_0x2a452d[_0x3901ed(0x3b0)],'actions':null,'textRanges':[_0x4ccaf9]}}],_0x214aaa=this[_0x3901ed(0x433)][_0x3901ed(0x624)](_0x2a452d,_0x2711ec);if(!p['isTransformMutationsWithChangesetSuccess'](_0x214aaa))throw _0x214aaa[_0x3901ed(0x26f)];const _0x383096=_0x214aaa['m2Prime'][0x0][_0x3901ed(0x208)][_0x3901ed(0x4ad)];Array['isArray'](_0x383096)&&_0x383096[_0x3901ed(0x42e)]&&_0x3cd27b[_0x3901ed(0x579)](_0x383096[0x0]);}};Be=bn([Qe(0x0,a[_0x4fac68(0x55d)](a[_0x4fac68(0x508)])),Qe(0x1,p[_0x4fac68(0x22f)]),Qe(0x2,K['IRenderManagerService'])],Be);var Tn=Object['defineProperty'],Rn=Object['getOwnPropertyDescriptor'],yn=(_0x18de37,_0x4b8fb5,_0x34c956,_0x122678)=>{const _0x7d72d1=_0x4fac68;for(var _0x4e47f4=_0x122678>0x1?void 0x0:_0x122678?Rn(_0x4b8fb5,_0x34c956):_0x4b8fb5,_0x54b6a8=_0x18de37[_0x7d72d1(0x42e)]-0x1,_0x35cdda;_0x54b6a8>=0x0;_0x54b6a8--)(_0x35cdda=_0x18de37[_0x54b6a8])&&(_0x4e47f4=(_0x122678?_0x35cdda(_0x4b8fb5,_0x34c956,_0x4e47f4):_0x35cdda(_0x4e47f4))||_0x4e47f4);return _0x122678&&_0x4e47f4&&Tn(_0x4b8fb5,_0x34c956,_0x4e47f4),_0x4e47f4;},we=(_0x4a3d02,_0x9f935f)=>(_0x155452,_0x34644b)=>_0x9f935f(_0x155452,_0x34644b,_0x4a3d02);exports[_0x4fac68(0x461)]=class extends a['Disposable']{constructor(_0x5cb2da,_0x303a80,_0x47886b,_0xb5d87e,_0x243e7d){const _0x313c12=_0x4fac68;super(),I(this,_0x313c12(0x3bc),new Map()),I(this,_0x313c12(0x41f),new Map()),I(this,_0x313c12(0x2cb),!0x1),(this[_0x313c12(0x216)]=_0x5cb2da,this[_0x313c12(0x494)]=_0x303a80,this[_0x313c12(0x197)]=_0x47886b,this[_0x313c12(0x236)]=_0xb5d87e,this[_0x313c12(0x318)]=_0x243e7d,this[_0x313c12(0x464)]());}[_0x4fac68(0x379)](){const _0xebd037=_0x4fac68;this[_0xebd037(0x2cb)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}[_0x4fac68(0x48e)](){const _0x111e1b=_0x4fac68;this['exhaustSavingTask']()[_0x111e1b(0x625)](()=>super[_0x111e1b(0x48e)]());}async['loadOfflineData'](_0x232f08){const _0x65df03=_0x4fac68;return this[_0x65df03(0x2cb)]?null:this[_0x65df03(0x494)][_0x65df03(0x5d1)](Lt(_0x232f08));}async['saveOfflineData'](_0x28b30b,_0x24c755){const _0x161dbb=_0x4fac68;return!!this[_0x161dbb(0x494)][_0x161dbb(0x317)](_0x28b30b,_0x24c755);}[_0x4fac68(0x4d6)](_0x2761fd,_0x3f7306,_0x5de16f,_0x591209){const _0x38e720=_0x4fac68,_0x2d08c4=this[_0x38e720(0x318)][_0x38e720(0x21e)](_0x2761fd);this[_0x38e720(0x3bc)][_0x38e720(0x558)](_0x2761fd,{'unitID':_0x2761fd,'type':_0x3f7306,'awaitingChangeset':_0x5de16f,'mutations':_0x591209,'rev':_0x2d08c4}),this['_saveTaskMap']['has'](_0x2761fd)||this['_scheduleSaving'](_0x2761fd);}[_0x4fac68(0x51c)](_0x51c5f7){const _0x4a1d47=_0x4fac68,_0x6df435=this['_getSaveTimeout']();_0x6df435===0x0?this['_saveCache'](_0x51c5f7):this[_0x4a1d47(0x41f)][_0x4a1d47(0x558)](_0x51c5f7,setTimeout(()=>this[_0x4a1d47(0x58b)](_0x51c5f7),_0x6df435));}[_0x4fac68(0x212)](){const _0x56890c=_0x4fac68;var _0x3f2880;return(_0x3f2880=this[_0x56890c(0x216)]['getConfig'](ci))!=null?_0x3f2880:zi;}[_0x4fac68(0x58b)](_0x1df591){const _0x13c6c4=_0x4fac68,_0x52a34e=this[_0x13c6c4(0x41f)]['get'](_0x1df591);return _0x52a34e!==void 0x0&&window[_0x13c6c4(0x3f6)](_0x52a34e),this['_localStorageService'][_0x13c6c4(0x317)](Lt(_0x1df591),this['_cachedData'][_0x13c6c4(0x2ef)](_0x1df591))[_0x13c6c4(0x625)](()=>this[_0x13c6c4(0x41f)][_0x13c6c4(0x472)](_0x1df591));}async[_0x4fac68(0x229)](){const _0x3adfd3=_0x4fac68,_0x137115=[];this[_0x3adfd3(0x41f)][_0x3adfd3(0x289)]((_0x190652,_0x33e6b2)=>{const _0x135750=_0x3adfd3;window[_0x135750(0x3f6)](_0x190652),_0x137115['push'](this[_0x135750(0x58b)](_0x33e6b2)[_0x135750(0x625)](()=>{const _0x48b32b=_0x135750;this[_0x48b32b(0x41f)]['delete'](_0x33e6b2);}));}),await Promise[_0x3adfd3(0x47c)](_0x137115);}[_0x4fac68(0x464)](){const _0x4dee5f=_0x4fac68;this[_0x4dee5f(0x49a)](this[_0x4dee5f(0x197)][_0x4dee5f(0x4ca)](()=>{const _0x3b3902=_0x4dee5f;if(this[_0x3b3902(0x41f)]['size'])return this['_localeService']['t'](_0x3b3902(0x2c4));}));}},exports['LocalCacheService']=yn([we(0x0,a[_0x4fac68(0x459)]),we(0x1,a[_0x4fac68(0x592)]),we(0x2,te[_0x4fac68(0x314)]),we(0x3,a['Inject'](a[_0x4fac68(0x411)])),we(0x4,a[_0x4fac68(0x55d)](p[_0x4fac68(0x30d)]))],exports[_0x4fac68(0x461)]);function Lt(_0x196f00){return'unit-cache-'+_0x196f00;}var On=Object[_0x4fac68(0x470)],Dn=Object[_0x4fac68(0x340)],Pn=(_0x171f77,_0x342a16,_0x474453,_0x376a58)=>{const _0x32c28e=_0x4fac68;for(var _0x184516=_0x376a58>0x1?void 0x0:_0x376a58?Dn(_0x342a16,_0x474453):_0x342a16,_0x4bb583=_0x171f77[_0x32c28e(0x42e)]-0x1,_0x5615ee;_0x4bb583>=0x0;_0x4bb583--)(_0x5615ee=_0x171f77[_0x4bb583])&&(_0x184516=(_0x376a58?_0x5615ee(_0x342a16,_0x474453,_0x184516):_0x5615ee(_0x184516))||_0x184516);return _0x376a58&&_0x184516&&On(_0x342a16,_0x474453,_0x184516),_0x184516;},et=(_0x417775,_0x2f28b4)=>(_0x5e8927,_0x372005)=>_0x2f28b4(_0x5e8927,_0x372005,_0x417775);function wn(_0x1507bb){const _0x50c3d7=_0x4fac68,{unitID:_0x37aa5f,mutations:_0x4133e4}=_0x1507bb;return{'unitId':_0x37aa5f,'subUnitId':_0x4133e4[0x0][_0x50c3d7(0x208)][_0x50c3d7(0x181)]};}let ke=class{constructor(_0xb589c5,_0x5e1f48,_0x3d04a2){const _0x4b7801=_0x4fac68;this[_0x4b7801(0x5f2)]=_0xb589c5,this[_0x4b7801(0x433)]=_0x5e1f48,this[_0x4b7801(0x520)]=_0x3d04a2;}[_0x4fac68(0x54b)](_0xa84720){const _0x164db2=_0x4fac68;var _0x34fe7f,_0x4037e0,_0x3b983a,_0x1c2f2f;const _0x316223=this[_0x164db2(0x5f2)][_0x164db2(0x2ef)](k[_0x164db2(0x1aa)]),{unitId:_0x8f99a0,subUnitId:_0x359b58}=wn(_0xa84720),_0x45b15f=_0x316223[_0x164db2(0x3f8)](_0x8f99a0)[_0x164db2(0x635)](),_0x3f139a=(_0x4037e0=(_0x34fe7f=this[_0x164db2(0x520)][_0x164db2(0x206)](_0x8f99a0))==null?void 0x0:_0x34fe7f[_0x164db2(0x1a1)]())==null?void 0x0:_0x4037e0['getSheetId']();if(_0x45b15f[_0x164db2(0x42e)]===0x0||!_0x8f99a0||!_0x359b58)return;const _0x1e8b87=[{'id':k[_0x164db2(0x222)]['id'],'params':{'unitId':_0x8f99a0,'subUnitId':_0x3f139a,'selections':a[_0x164db2(0x402)][_0x164db2(0x1b8)](_0x45b15f)}}],_0x2285ac=this[_0x164db2(0x433)][_0x164db2(0x624)](_0xa84720,_0x1e8b87);if(!p[_0x164db2(0x418)](_0x2285ac))throw _0x2285ac[_0x164db2(0x26f)];const _0x1001f5=(_0x1c2f2f=(_0x3b983a=_0x2285ac['m2Prime'][0x0])==null?void 0x0:_0x3b983a['params'])==null?void 0x0:_0x1c2f2f[_0x164db2(0x333)];if(Array[_0x164db2(0x56f)](_0x1001f5)&&_0x1001f5['length']){if(_0x1001f5['length']===_0x1e8b87[0x0][_0x164db2(0x208)][_0x164db2(0x333)][_0x164db2(0x42e)]&&_0x1001f5[_0x164db2(0x509)]((_0x59f47f,_0x556233)=>a[_0x164db2(0x486)]['equals'](_0x59f47f[_0x164db2(0x321)],_0x1e8b87[0x0][_0x164db2(0x208)]['selections'][_0x556233][_0x164db2(0x321)])))return;this[_0x164db2(0x5f2)][_0x164db2(0x2ef)](a[_0x164db2(0x19d)])[_0x164db2(0x302)](k[_0x164db2(0x222)]['id'],{'unitId':_0x8f99a0,'subUnitId':_0x3f139a,'selections':_0x1001f5});}}};ke=Pn([et(0x0,a[_0x4fac68(0x55d)](a[_0x4fac68(0x508)])),et(0x1,p['ITransformService']),et(0x2,a[_0x4fac68(0x590)])],ke);const ze=a[_0x4fac68(0x549)]('univer-pro.collaboration-client.single-active-unit-service');var vi=(_0xca5f46=>(_0xca5f46[_0xca5f46['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4fac68(0x4f3),_0xca5f46[_0xca5f46[_0x4fac68(0x375)]=0x1]='OTHER_CLIENTS_EDITING',_0xca5f46))(vi||{});const xt=0x7530,jt='ACTIVE_UNIT_EVENT_CHANNEL';class Un extends a['Disposable']{constructor(){const _0x446e80=_0x4fac68;super(),I(this,_0x446e80(0x220),a[_0x446e80(0x402)][_0x446e80(0x5fc)]()),I(this,_0x446e80(0x3ec),new Set()),I(this,_0x446e80(0x286),new Map()),I(this,_0x446e80(0x4be),null),I(this,'_clearOtherTimers',new Map()),I(this,_0x446e80(0x374),new Map()),this[_0x446e80(0x47f)]();}['dispose'](){const _0x4ee537=_0x4fac68;super[_0x4ee537(0x48e)](),this[_0x4ee537(0x1dc)]['forEach']((_0x4abb8d,_0x198a0c)=>this[_0x4ee537(0x184)](_0x198a0c)),this[_0x4ee537(0x4be)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x4fac68(0x3db)](_0x2ad830){const _0x59423f=_0x4fac68;return this[_0x59423f(0x62e)](_0x2ad830)['pipe'](A[_0x59423f(0x5d8)]());}[_0x4fac68(0x4fd)](_0x57d848){const _0x2685ed=_0x4fac68;this[_0x2685ed(0x3ec)]['size']===0x0&&this[_0x2685ed(0x391)](),this[_0x2685ed(0x3ec)][_0x2685ed(0x36f)](_0x57d848),this[_0x2685ed(0x582)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x57d848],'isForwarded':!0x1});}['disposeUnit'](_0x4f8c09){const _0x52c847=_0x4fac68;this[_0x52c847(0x3ec)][_0x52c847(0x472)](_0x4f8c09),this['_selfUnitIDs']['size']===0x0&&this[_0x52c847(0x4be)]&&window[_0x52c847(0x626)](this[_0x52c847(0x4be)]);}[_0x4fac68(0x47f)](){const _0x3695d7=_0x4fac68;this['disposeWithMe'](a[_0x3695d7(0x421)](A[_0x3695d7(0x499)](window,_0x3695d7(0x58f))[_0x3695d7(0x38e)](_0x38005c=>{const _0x4a0f6e=_0x3695d7;if(_0x38005c[_0x4a0f6e(0x2b8)]!==jt||!_0x38005c[_0x4a0f6e(0x179)])return;const _0x3bdfff=JSON['parse'](_0x38005c[_0x4a0f6e(0x179)]);this[_0x4a0f6e(0x59a)](_0x3bdfff);}))),window['addEventListener']('unload',()=>this[_0x3695d7(0x582)]({'type':0x1,'memberID':this[_0x3695d7(0x220)],'unitIDs':Array[_0x3695d7(0x469)](this[_0x3695d7(0x3ec)])}));}[_0x4fac68(0x59a)](_0x5905da){const _0x1ed6f5=_0x4fac68;switch(_0x5905da['type']){case 0x0:this[_0x1ed6f5(0x5f0)](_0x5905da);break;case 0x1:this[_0x1ed6f5(0x45e)](_0x5905da);break;case 0x2:this[_0x1ed6f5(0x4af)](_0x5905da);break;}}[_0x4fac68(0x5f0)](_0x3a749b){const _0x221ab9=_0x4fac68,{unitIDs:_0x29e11b,memberID:_0x47c4da,isForwarded:_0x242efe}=_0x3a749b;_0x29e11b[_0x221ab9(0x289)](_0x53afa7=>{const _0x176f42=_0x221ab9;if(!_0x242efe&&this[_0x176f42(0x286)][_0x176f42(0x3de)](_0x53afa7)&&this['_ensureSubject'](_0x53afa7)['next'](0x1),!this[_0x176f42(0x286)][_0x176f42(0x3de)](_0x53afa7)||!this[_0x176f42(0x286)][_0x176f42(0x2ef)](_0x53afa7)['has'](_0x47c4da)){const _0x11d02b=this['_unitOnClients']['get'](_0x53afa7)||new Set();_0x11d02b[_0x176f42(0x36f)](_0x47c4da),this[_0x176f42(0x286)][_0x176f42(0x558)](_0x53afa7,_0x11d02b),this['_scheduleClearOtherTimer'](_0x47c4da);}}),_0x242efe||this[_0x221ab9(0x582)]({'type':0x0,'memberID':this[_0x221ab9(0x220)],'unitIDs':[...this[_0x221ab9(0x3ec)]],'isForwarded':!0x0});}[_0x4fac68(0x382)](_0x5a1b5a){const _0x51e3de=_0x4fac68;this['_removeClearOtherTimer'](_0x5a1b5a);const _0x4fedef=window[_0x51e3de(0x5b4)](()=>{const _0x1c98d8=_0x51e3de;this[_0x1c98d8(0x286)][_0x1c98d8(0x289)](_0x3e340b=>{const _0x4549ed=_0x1c98d8;_0x3e340b[_0x4549ed(0x472)](_0x5a1b5a);});},xt*0x2);this[_0x51e3de(0x1dc)]['set'](_0x5a1b5a,_0x4fedef);}[_0x4fac68(0x184)](_0x1fa310){const _0x563658=_0x4fac68;if(this['_clearOtherTimers'][_0x563658(0x3de)](_0x1fa310)){const _0x1cfd6b=this['_clearOtherTimers'][_0x563658(0x2ef)](_0x1fa310);_0x1cfd6b&&window[_0x563658(0x3f6)](_0x1cfd6b),this[_0x563658(0x1dc)]['set'](_0x1fa310,null);}}[_0x4fac68(0x45e)](_0x358242){const _0x29210e=_0x4fac68,{memberID:_0xbb8087,unitIDs:_0x15ec49}=_0x358242;_0x15ec49[_0x29210e(0x289)](_0x50e11a=>{const _0x22a8b2=_0x29210e;var _0x403fd9;const _0x45a624=this['_unitOnClients'][_0x22a8b2(0x2ef)](_0x50e11a);_0x45a624&&(_0x45a624[_0x22a8b2(0x472)](_0xbb8087),(_0x403fd9=this['_ensureSubject'](_0x50e11a))==null||_0x403fd9[_0x22a8b2(0x250)](_0x45a624[_0x22a8b2(0x207)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0xbb8087);}[_0x4fac68(0x4af)](_0x446c1d){const _0x2f7dfa=_0x4fac68;this[_0x2f7dfa(0x382)](_0x446c1d[_0x2f7dfa(0x485)]);}[_0x4fac68(0x582)](_0x196f48){const _0x39bdfd=_0x4fac68;localStorage[_0x39bdfd(0x317)](jt,JSON[_0x39bdfd(0x5a2)](_0x196f48));}['_scheduleHeartbeat'](){const _0x5e1e7a=_0x4fac68;this[_0x5e1e7a(0x4be)]=window[_0x5e1e7a(0x2dc)](()=>{const _0x3ab274=_0x5e1e7a;this[_0x3ab274(0x582)]({'type':0x2,'memberID':this[_0x3ab274(0x220)]});},xt);}['_ensureSubject'](_0x42756f){const _0x237890=_0x4fac68;return this['_unitStatus'][_0x237890(0x3de)](_0x42756f)||this[_0x237890(0x374)]['set'](_0x42756f,new A[(_0x237890(0x4f6))](0x0)),this[_0x237890(0x374)]['get'](_0x42756f);}}var Mn=Object[_0x4fac68(0x470)],An=Object[_0x4fac68(0x340)],Nn=(_0x521fc3,_0x18cd2e,_0x3ccde1,_0x33e28f)=>{const _0x1a4090=_0x4fac68;for(var _0x2ad752=_0x33e28f>0x1?void 0x0:_0x33e28f?An(_0x18cd2e,_0x3ccde1):_0x18cd2e,_0x5c70ba=_0x521fc3[_0x1a4090(0x42e)]-0x1,_0x44f262;_0x5c70ba>=0x0;_0x5c70ba--)(_0x44f262=_0x521fc3[_0x5c70ba])&&(_0x2ad752=(_0x33e28f?_0x44f262(_0x18cd2e,_0x3ccde1,_0x2ad752):_0x44f262(_0x2ad752))||_0x2ad752);return _0x33e28f&&_0x2ad752&&Mn(_0x18cd2e,_0x3ccde1,_0x2ad752),_0x2ad752;},tt=(_0x37e882,_0x3232b4)=>(_0x2fdc44,_0x5b8cbd)=>_0x3232b4(_0x2fdc44,_0x5b8cbd,_0x37e882);let We=class{constructor(_0x54a5ba,_0x1ce480,_0x1dccb2){const _0x3a53d9=_0x4fac68;this[_0x3a53d9(0x5f2)]=_0x54a5ba,this[_0x3a53d9(0x433)]=_0x1ce480,this[_0x3a53d9(0x186)]=_0x1dccb2;}[_0x4fac68(0x424)](_0x2788c7){this['_transformHistoryAndStateStack'](_0x2788c7);}['transformRemoteChangeset'](_0x85af2){const _0x1e32a7=_0x4fac68,{unitID:_0x142cf5}=_0x85af2,{collaboration:_0x2325b4}=this[_0x1e32a7(0x186)][_0x1e32a7(0x219)](_0x142cf5);if(_0x2325b4[_0x1e32a7(0x42e)]===0x0)return _0x85af2;let _0xc2f12=a[_0x1e32a7(0x402)][_0x1e32a7(0x1b8)](_0x85af2[_0x1e32a7(0x4ae)][0x0]);for(let _0x8af943=0x0;_0x8af943<_0x2325b4[_0x1e32a7(0x42e)];_0x8af943++){const _0x356fc1={'id':_0x1e32a7(0x325),'params':{'unitId':_0x2325b4[_0x8af943][_0x1e32a7(0x27f)],..._0x2325b4[_0x8af943]['redoState']}},_0x47b7de=this[_0x1e32a7(0x433)]['transformMutation'](_0xc2f12,_0x356fc1,!0x1);if(p[_0x1e32a7(0x185)](_0x47b7de))throw _0x47b7de[_0x1e32a7(0x26f)];_0xc2f12=_0x47b7de[_0x1e32a7(0x265)];}return{...a[_0x1e32a7(0x402)][_0x1e32a7(0x1b8)](_0x85af2),'mutations':[_0xc2f12]};}[_0x4fac68(0x5d3)](_0x287bc2){const _0x113f32=_0x4fac68,{unitID:_0x451ec0}=_0x287bc2,{history:_0x11fb81,collaboration:_0x4eb3e2}=this[_0x113f32(0x186)][_0x113f32(0x219)](_0x451ec0);if(_0x11fb81[_0x113f32(0x42e)]===0x0&&_0x4eb3e2[_0x113f32(0x42e)]===0x0)return;const _0x5c06f0=[],_0x2bd94f=[];let _0x46d87a=a[_0x113f32(0x402)]['deepClone'](_0x287bc2['mutations'][0x0]),_0x42ef50=a[_0x113f32(0x402)][_0x113f32(0x1b8)](_0x287bc2[_0x113f32(0x4ae)][0x0]);for(let _0x109e6f=_0x11fb81[_0x113f32(0x42e)]-0x1;_0x109e6f>=0x0;_0x109e6f--){const _0x355c1d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x11fb81[_0x109e6f]['unitId'],..._0x11fb81[_0x109e6f][_0x113f32(0x24a)]}},_0x5dc744={'id':_0x113f32(0x325),'params':{'unitId':_0x11fb81[_0x109e6f][_0x113f32(0x27f)],..._0x11fb81[_0x109e6f][_0x113f32(0x1b3)]}},_0x5bc08f=this[_0x113f32(0x433)][_0x113f32(0x1eb)](_0x46d87a,_0x355c1d,!0x1),_0x178176=this[_0x113f32(0x433)]['transformMutation'](_0x42ef50,_0x5dc744,!0x1);if(p[_0x113f32(0x185)](_0x5bc08f))throw _0x5bc08f['error'];if(p[_0x113f32(0x185)](_0x178176))throw _0x178176['error'];_0x5c06f0[_0x113f32(0x57b)]({..._0x11fb81[_0x109e6f],'undoState':_0x5bc08f['m2Prime'][_0x113f32(0x208)],'redoState':_0x178176[_0x113f32(0x515)]['params']}),_0x46d87a=_0x5bc08f[_0x113f32(0x265)],_0x42ef50=_0x178176[_0x113f32(0x265)];}_0x46d87a=a[_0x113f32(0x402)]['deepClone'](_0x287bc2[_0x113f32(0x4ae)][0x0]),_0x42ef50=a[_0x113f32(0x402)][_0x113f32(0x1b8)](_0x287bc2[_0x113f32(0x4ae)][0x0]);for(let _0x1f03dd=_0x4eb3e2[_0x113f32(0x42e)]-0x1;_0x1f03dd>=0x0;_0x1f03dd--){const _0x2b6da5={'id':_0x113f32(0x325),'params':{'unitId':_0x4eb3e2[_0x1f03dd][_0x113f32(0x27f)],..._0x4eb3e2[_0x1f03dd][_0x113f32(0x24a)]}},_0x4df7b8={'id':_0x113f32(0x325),'params':{'unitId':_0x4eb3e2[_0x1f03dd][_0x113f32(0x27f)],..._0x4eb3e2[_0x1f03dd][_0x113f32(0x1b3)]}},_0x1fafac=this[_0x113f32(0x433)]['transformMutation'](_0x46d87a,_0x2b6da5,!0x1),_0x33c98a=this[_0x113f32(0x433)][_0x113f32(0x1eb)](_0x42ef50,_0x4df7b8,!0x1);if(p[_0x113f32(0x185)](_0x1fafac))throw _0x1fafac[_0x113f32(0x26f)];if(p['isTransformMutationFailure'](_0x33c98a))throw _0x33c98a[_0x113f32(0x26f)];_0x2bd94f['unshift']({..._0x4eb3e2[_0x1f03dd],'undoState':_0x1fafac[_0x113f32(0x515)]['params'],'redoState':_0x33c98a[_0x113f32(0x515)][_0x113f32(0x208)]}),_0x46d87a=_0x1fafac['m1Prime'],_0x42ef50=_0x33c98a[_0x113f32(0x265)];}this[_0x113f32(0x186)]['setStateCache'](_0x451ec0,{'history':_0x5c06f0,'collaboration':_0x2bd94f});}};We=Nn([tt(0x0,a[_0x4fac68(0x55d)](a[_0x4fac68(0x508)])),tt(0x1,p[_0x4fac68(0x22f)]),tt(0x2,a[_0x4fac68(0x55d)](J[_0x4fac68(0x570)]))],We);function Si(_0x2a20aa){let _0x2142f7='';for(const _0x2103d9 of _0x2a20aa){const {startOffset:_0x415979,endOffset:_0x1fd6f8,isActive:_0x3757af,rangeType:_0xa94c15,segmentId:_0x262eae,segmentPage:_0x48a6bf}=_0x2103d9;_0x2142f7['length']&&(_0x2142f7+=','),_0x2142f7+=_0x415979+':'+_0x1fd6f8+':'+(_0x3757af?'1':'0')+':'+_0xa94c15+':'+_0x262eae+':'+_0x48a6bf;}return _0x2142f7;}function Ln(_0x17f77b){const _0x7ab912=_0x4fac68,_0x213255=_0x17f77b['split'](','),_0x4017df=[];for(const _0x4179ea of _0x213255){const [_0x1c7385,_0x30361c,_0x198255,_0x445bee,_0x7166d8,_0x1c8918]=_0x4179ea['split'](':');_0x4017df['push']({'startOffset':Number(_0x1c7385),'endOffset':Number(_0x30361c),'collapsed':_0x1c7385===_0x30361c,'isActive':_0x198255==='1','rangeType':_0x445bee===a[_0x7ab912(0x41c)]['TEXT']?a[_0x7ab912(0x41c)]['TEXT']:a[_0x7ab912(0x41c)][_0x7ab912(0x371)],'segmentId':typeof _0x7166d8==_0x7ab912(0x51e)?String(_0x7166d8):'','segmentPage':Number(_0x1c8918!=null?_0x1c8918:-0x1)});}return _0x4017df[_0x7ab912(0x2e1)](_0xf52c9c=>_0xf52c9c['isActive'])||(_0x4017df[0x0][_0x7ab912(0x5ec)]=!0x0),_0x4017df;}class yt extends a[_0x4fac68(0x1e0)]{constructor(){const _0x52ae77=_0x4fac68;super(...arguments),I(this,_0x52ae77(0x1a3),new A[(_0x52ae77(0x4f6))](null)),I(this,_0x52ae77(0x301),this['_collabCursorState$'][_0x52ae77(0x5ba)]());}[_0x4fac68(0x1f1)](_0x4f5f59){const _0x5c6b4d=_0x4fac68,{unitID:_0x9a911b,memberID:_0x22dbb0,textRanges:_0x1aba3a}=_0x4f5f59,_0x22aa1e=Si(_0x1aba3a);if(_0x22aa1e==='')return;const _0x492ffa={'unitID':_0x9a911b,'memberID':_0x22dbb0,'selection':_0x22aa1e};this[_0x5c6b4d(0x1a3)][_0x5c6b4d(0x250)](_0x492ffa);}}var xn=Object[_0x4fac68(0x470)],jn=Object[_0x4fac68(0x340)],$n=(_0x16b3e0,_0x3b71da,_0x555c77,_0x53072a)=>{const _0x5c98c4=_0x4fac68;for(var _0x445b64=_0x53072a>0x1?void 0x0:_0x53072a?jn(_0x3b71da,_0x555c77):_0x3b71da,_0x39c9bc=_0x16b3e0[_0x5c98c4(0x42e)]-0x1,_0x9caac;_0x39c9bc>=0x0;_0x39c9bc--)(_0x9caac=_0x16b3e0[_0x39c9bc])&&(_0x445b64=(_0x53072a?_0x9caac(_0x3b71da,_0x555c77,_0x445b64):_0x9caac(_0x445b64))||_0x445b64);return _0x53072a&&_0x445b64&&xn(_0x3b71da,_0x555c77,_0x445b64),_0x445b64;},$t=(_0x1358e2,_0x4b91b6)=>(_0x332fdb,_0x189485)=>_0x4b91b6(_0x332fdb,_0x189485,_0x1358e2);let Fe=class{constructor(_0x41be19,_0x127a51){const _0x4ead62=_0x4fac68;this[_0x4ead62(0x5f2)]=_0x41be19,this['_transformService']=_0x127a51;}['transformSelections'](_0x37fada){const _0x31217d=_0x4fac68;var _0x3a0724;const _0x19b2f3=this[_0x31217d(0x5f2)][_0x31217d(0x2ef)](Ie[_0x31217d(0x63f)]),_0x316c78=(_0x3a0724=_0x19b2f3[_0x31217d(0x29a)]())!=null?_0x3a0724:[];if(_0x316c78['length']===0x0)return;const _0x53215a=_0x37fada[_0x31217d(0x3b0)],_0x34b967=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x53215a,'actions':null,'textRanges':_0x316c78}}],_0x17027=this[_0x31217d(0x433)][_0x31217d(0x624)](_0x37fada,_0x34b967);if(!p[_0x31217d(0x418)](_0x17027))throw _0x17027['error'];const _0x11d0a7=_0x17027[_0x31217d(0x515)][0x0][_0x31217d(0x208)][_0x31217d(0x4ad)];Array[_0x31217d(0x56f)](_0x11d0a7)&&_0x11d0a7[_0x31217d(0x42e)]&&_0x19b2f3['replaceDocRanges'](_0x11d0a7,{'unitId':_0x53215a,'subUnitId':_0x53215a},!0x1);}};Fe=$n([$t(0x0,a[_0x4fac68(0x55d)](a['Injector'])),$t(0x1,p['ITransformService'])],Fe);const Hn=new Set([k[_0x4fac68(0x3f1)]['id']]);function Ht(_0x2012dd,_0xf75d63,_0x173904,_0x36778b,_0x3b72cd){const _0x7757ca=_0x4fac68;var _0x456906,_0xa9cbaf,_0x3806e8,_0x1778c7;const _0x537c93=[];for(const _0x4f680e of _0x2012dd)if(Hn[_0x7757ca(0x3de)](_0x4f680e['id'])){if(_0x537c93[_0x7757ca(0x42e)]>0x0)break;_0x537c93[_0x7757ca(0x64b)](_0x4f680e);break;}else _0x537c93[_0x7757ca(0x64b)](_0x4f680e);const _0x409498=(_0xa9cbaf=(_0x456906=_0x3b72cd[_0x7757ca(0x4b2)]())==null?void 0x0:_0x456906[_0x7757ca(0x413)])!=null?_0xa9cbaf:_0x7757ca(0x5f5),_0x34b0a9=(_0x1778c7=(_0x3806e8=_0x3b72cd[_0x7757ca(0x4b2)]())==null?void 0x0:_0x3806e8[_0x7757ca(0x485)])!=null?_0x1778c7:_0x7757ca(0x5f5);return{'changeset':{'unitID':_0xf75d63,'type':p[_0x7757ca(0x259)](_0x173904[_0x7757ca(0x1a4)](_0xf75d63)),'baseRev':_0x36778b[_0x7757ca(0x21e)](_0xf75d63),'revision':0x0,'userID':_0x409498,'memberID':_0x34b0a9,'mutations':_0x537c93},'pendingMutations':_0x2012dd['slice'](_0x537c93['length'])};}function Bn(_0x9c9135,_0x38bac7,_0x2fd646,_0x4e8f7f,_0x36b2e2){const _0x31927f=_0x4fac68;var _0x489d70,_0x3d5c07,_0x1b3357,_0x570867;const _0x447032=[_0x9c9135[_0x31927f(0x454)]((_0xe1c961,_0x5f3d88)=>{const _0x105fc9=_0x31927f;var _0x563fcd;const {id:_0x27119d}=_0xe1c961,{id:_0x53d29a,type:_0x38ef64}=_0x5f3d88,_0x4945f7=(_0x563fcd=_0xe1c961['params'])!=null?_0x563fcd:{'actions':null},_0x5c4838=_0x5f3d88['params'];if(_0x27119d&&_0x27119d!==_0x53d29a)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x27119d+_0x105fc9(0x436)+_0x53d29a+'.');return{..._0xe1c961,'id':_0x53d29a,'type':_0x38ef64,'params':{'unitId':_0x5c4838['unitId'],'textRanges':_0x5c4838[_0x105fc9(0x4ad)],'actions':a[_0x105fc9(0x345)][_0x105fc9(0x2d9)](_0x4945f7[_0x105fc9(0x420)],_0x5c4838[_0x105fc9(0x420)])}};},{})],_0x441803=(_0x3d5c07=(_0x489d70=_0x36b2e2[_0x31927f(0x4b2)]())==null?void 0x0:_0x489d70[_0x31927f(0x413)])!=null?_0x3d5c07:'unknown',_0x342f40=(_0x570867=(_0x1b3357=_0x36b2e2[_0x31927f(0x4b2)]())==null?void 0x0:_0x1b3357[_0x31927f(0x485)])!=null?_0x570867:_0x31927f(0x5f5);return{'changeset':{'unitID':_0x38bac7,'type':p[_0x31927f(0x259)](_0x2fd646[_0x31927f(0x1a4)](_0x38bac7)),'baseRev':_0x4e8f7f[_0x31927f(0x21e)](_0x38bac7),'revision':0x0,'userID':_0x441803,'memberID':_0x342f40,'mutations':_0x447032},'pendingMutations':[]};}function pi(_0x4846e3,_0x24eece){const _0x5f4efc=_0x4fac68,_0x15ed89=new A[(_0x5f4efc(0x5eb))](0x1);return setTimeout(()=>_0x15ed89[_0x5f4efc(0x250)](_0x24eece),_0x4846e3),_0x15ed89[_0x5f4efc(0x5ba)]()['pipe'](A[_0x5f4efc(0x4c9)](0x1));}const kn={'id':k['EmptyMutation']['id'],'type':a[_0x4fac68(0x279)][_0x4fac68(0x2cd)],'params':{}};var Wn=Object[_0x4fac68(0x470)],Fn=Object[_0x4fac68(0x340)],Ee=(_0x2d5a41,_0x5ec59a,_0x5e1c0a,_0x2ae6e7)=>{for(var _0x512876=_0x2ae6e7>0x1?void 0x0:_0x2ae6e7?Fn(_0x5ec59a,_0x5e1c0a):_0x5ec59a,_0x3f99b9=_0x2d5a41['length']-0x1,_0x3a5482;_0x3f99b9>=0x0;_0x3f99b9--)(_0x3a5482=_0x2d5a41[_0x3f99b9])&&(_0x512876=(_0x2ae6e7?_0x3a5482(_0x5ec59a,_0x5e1c0a,_0x512876):_0x3a5482(_0x512876))||_0x512876);return _0x2ae6e7&&_0x512876&&Wn(_0x5ec59a,_0x5e1c0a,_0x512876),_0x512876;},N=(_0x12d392,_0x147ec5)=>(_0x301495,_0xb598d)=>_0x147ec5(_0x301495,_0xb598d,_0x12d392),q=(_0x519290=>(_0x519290[_0x4fac68(0x1cb)]='not_collab',_0x519290[_0x4fac68(0x1d9)]='synced',_0x519290[_0x4fac68(0x1e6)]='pending',_0x519290[_0x4fac68(0x2bd)]=_0x4fac68(0x193),_0x519290[_0x4fac68(0x23b)]='awaiting_with_pending',_0x519290[_0x4fac68(0x2fa)]=_0x4fac68(0x5dd),_0x519290['CONFLICT']=_0x4fac68(0x35d),_0x519290[_0x4fac68(0x36c)]='offline',_0x519290))(q||{});const mi=0xea60;class be{constructor(_0x3af8da,_0x373a07,_0x11529d,_0x6c768f,_0x216ad9,_0x6c5c0b,_0x4748cb,_0x291f13,_0x331f86){const _0x4f760f=_0x4fac68;I(this,_0x4f760f(0x59b),null),I(this,_0x4f760f(0x3c6),[]),(this['unitID']=_0x3af8da,this[_0x4f760f(0x646)]=_0x373a07,this[_0x4f760f(0x3fe)]=_0x216ad9,this[_0x4f760f(0x31f)]=_0x6c5c0b,this[_0x4f760f(0x5ee)]=_0x4748cb,this[_0x4f760f(0x318)]=_0x291f13,this['_localCacheService']=_0x331f86,this[_0x4f760f(0x59b)]=_0x11529d,this[_0x4f760f(0x3c6)]=_0x6c768f);}[_0x4fac68(0x22a)](_0x334d4c){const _0x1f444a=_0x4fac68,_0x2ae08e=this[_0x1f444a(0x318)][_0x1f444a(0x21e)](this[_0x1f444a(0x3b0)]);return _0x334d4c[_0x1f444a(0x21b)]>_0x2ae08e+0x1?(this[_0x1f444a(0x3fe)][_0x1f444a(0x58d)]({'from':_0x2ae08e,'to':_0x334d4c[_0x1f444a(0x21b)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x3dfb38){const _0x45e400=_0x4fac68;this[_0x45e400(0x5ee)]['transformUndoRedo'](this[_0x45e400(0x3b0)],_0x3dfb38);}[_0x4fac68(0x5a6)](_0x31eba7){const _0x22efcd=_0x4fac68;var _0x1df5f8,_0x9934fa;(_0x9934fa=(_0x1df5f8=this[_0x22efcd(0x3fe)])[_0x22efcd(0x2f1)])==null||_0x9934fa[_0x22efcd(0x1e1)](_0x1df5f8,_0x31eba7);}[_0x4fac68(0x243)](_0x44c9e6){const _0x439c6a=_0x4fac68;var _0x1efa93,_0x550eea;return(_0x550eea=(_0x1efa93=this[_0x439c6a(0x3fe)])['onTransformIME'])==null?void 0x0:_0x550eea[_0x439c6a(0x1e1)](_0x1efa93,_0x44c9e6);}['_transformStateCache'](_0x46a893){const _0x2c783c=_0x4fac68;var _0x4d6cbf,_0x5a5b90;return(_0x5a5b90=(_0x4d6cbf=this[_0x2c783c(0x3fe)])[_0x2c783c(0x31b)])==null?void 0x0:_0x5a5b90[_0x2c783c(0x1e1)](_0x4d6cbf,_0x46a893);}[_0x4fac68(0x4b7)](_0x26f8e8){const _0x5cc7f4=_0x4fac68;var _0x143f11,_0x2b1f4b,_0x27b06a;return(_0x27b06a=(_0x2b1f4b=(_0x143f11=this[_0x5cc7f4(0x3fe)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2b1f4b[_0x5cc7f4(0x1e1)](_0x143f11,_0x26f8e8))!=null?_0x27b06a:_0x26f8e8;}[_0x4fac68(0x572)](_0x26578a){const _0x21b38b=_0x4fac68;var _0x1999a5,_0x3fad53,_0x437f01;return(_0x437f01=(_0x3fad53=(_0x1999a5=this['_handler'])[_0x21b38b(0x54d)])==null?void 0x0:_0x3fad53['call'](_0x1999a5,_0x26578a))!=null?_0x437f01:_0x26578a;}[_0x4fac68(0x1b1)](_0x25ebd8){const _0x28e616=_0x4fac68;var _0x324953,_0x2acc5f;if(this[_0x28e616(0x646)]===ne['UNIVER_DOC']){const {unitID:_0x49f89a,mutations:_0x15e24d,memberID:_0xc3b281}=_0x25ebd8,_0x498bc7=_0x15e24d[0x0][_0x28e616(0x208)]['textRanges'];Array[_0x28e616(0x56f)](_0x498bc7)&&_0x498bc7[_0x28e616(0x42e)]>0x0&&((_0x2acc5f=(_0x324953=this[_0x28e616(0x3fe)])[_0x28e616(0x4a4)])==null||_0x2acc5f[_0x28e616(0x1e1)](_0x324953,{'unitID':_0x49f89a,'memberID':_0xc3b281,'textRanges':_0x498bc7}));}}[_0x4fac68(0x640)](){const _0x37cd7a=_0x4fac68;this[_0x37cd7a(0x5b6)][_0x37cd7a(0x4d6)](this[_0x37cd7a(0x3b0)],this[_0x37cd7a(0x646)],this[_0x37cd7a(0x59b)],this[_0x37cd7a(0x3c6)]);}[_0x4fac68(0x5ad)](){const _0x46b770=_0x4fac68;return this[_0x46b770(0x318)][_0x46b770(0x21e)](this[_0x46b770(0x3b0)]);}[_0x4fac68(0x274)](){const _0x379769=_0x4fac68;this[_0x379769(0x318)][_0x379769(0x1ee)](this['unitID']);}[_0x4fac68(0x4ab)](_0x276058){const _0x722c46=_0x4fac68;var _0xb16e65;let _0x40f2e0=this[_0x722c46(0x4b7)](_0x276058);_0x40f2e0=this['_transformRemoteChangesetByStateCache'](_0x40f2e0);const _0x21612d=a[_0x722c46(0x544)](_0x40f2e0[_0x722c46(0x4ae)],this[_0x722c46(0x31f)],{'fromCollab':!0x0});if(!_0x21612d['result'])throw _0x21612d['error']instanceof Error?_0x21612d[_0x722c46(0x26f)]:new Error((_0xb16e65=_0x21612d[_0x722c46(0x26f)])!=null?_0xb16e65:_0x722c46(0x3e4));this[_0x722c46(0x243)](_0x40f2e0),this[_0x722c46(0x55c)](_0x40f2e0),this[_0x722c46(0x623)](_0x276058),this['_transformSelections'](_0x40f2e0),this[_0x722c46(0x1b1)](_0x40f2e0),this[_0x722c46(0x274)]();}}let Oe=class extends be{constructor(_0x28a561,_0x54d156,_0x4c5f35,_0x27d381,_0x427232,_0x3116f2,_0x20267e,_0x2aaae0,_0x2b55a4,_0x17df75){const _0x38fa5c=_0x4fac68;super(_0x28a561,_0x54d156,null,[],_0x4c5f35,_0x2aaae0,_0x20267e,_0x27d381,_0x427232),I(this,_0x38fa5c(0x221),_0x38fa5c(0x364)),(this[_0x38fa5c(0x5f2)]=_0x3116f2,this[_0x38fa5c(0x545)]=_0x2b55a4,this[_0x38fa5c(0x433)]=_0x17df75);}[_0x4fac68(0x277)](_0x95d344){const _0x14f2d6=_0x4fac68,_0xbb5a62=this['_injector'][_0x14f2d6(0x5c7)](ce,this[_0x14f2d6(0x3b0)],this[_0x14f2d6(0x646)],[_0x95d344],this['_handler']);return _0xbb5a62[_0x14f2d6(0x4fe)](),_0xbb5a62[_0x14f2d6(0x640)](),_0xbb5a62;}[_0x4fac68(0x2da)](_0x75e404){const _0x43ff30=_0x4fac68;if(this[_0x43ff30(0x22a)](_0x75e404))return this['_injector'][_0x43ff30(0x5c7)](re,this[_0x43ff30(0x3b0)],this[_0x43ff30(0x646)],null,[],null,[_0x75e404],this[_0x43ff30(0x3fe)]);try{const _0x211538=this[_0x43ff30(0x433)][_0x43ff30(0x624)](_0x75e404,[kn]);if(p['isTransformMutationsWithChangesetSuccess'](_0x211538)){const {c1Prime:_0x59fc09}=_0x211538;return this[_0x43ff30(0x4ab)](_0x59fc09),this;}throw _0x211538[_0x43ff30(0x26f)];}catch(_0x14b6c4){return this[_0x43ff30(0x545)]['error'](_0x14b6c4),this[_0x43ff30(0x5a8)](!0x1);}}['_onConflict'](_0x27b0b2){const _0x5c8f1a=_0x4fac68;return this[_0x5c8f1a(0x5f2)][_0x5c8f1a(0x5c7)](ve,this[_0x5c8f1a(0x3b0)],this['type'],null,[],this[_0x5c8f1a(0x3fe)],_0x27b0b2);}[_0x4fac68(0x567)](){const _0x57044c=_0x4fac68;throw new Error(_0x57044c(0x5ea));}['onRemoteRej'](){const _0xc3a8d7=_0x4fac68;throw new Error(_0xc3a8d7(0x3be));}['onRemoteRetry'](){return this;}[_0x4fac68(0x217)](){const _0x2a436a=_0x4fac68;return this[_0x2a436a(0x5f2)]['createInstance'](Se,this[_0x2a436a(0x3b0)],this[_0x2a436a(0x646)],null,[],this[_0x2a436a(0x3fe)]);}[_0x4fac68(0x547)](){return this;}[_0x4fac68(0x5c0)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){const _0x29f71b=_0x4fac68,_0x2cf35e=this[_0x29f71b(0x318)]['getCurrentRevOfUnit'](this[_0x29f71b(0x3b0)]);return this[_0x29f71b(0x3fe)][_0x29f71b(0x58d)]({'from':_0x2cf35e,'to':0x0}),this['_injector'][_0x29f71b(0x5c7)](re,this[_0x29f71b(0x3b0)],this[_0x29f71b(0x646)],null,[],null,[],this[_0x29f71b(0x3fe)]);}};Oe=Ee([N(0x3,a['Inject'](p[_0x4fac68(0x30d)])),N(0x4,a[_0x4fac68(0x55d)](exports[_0x4fac68(0x461)])),N(0x5,a[_0x4fac68(0x55d)](a[_0x4fac68(0x508)])),N(0x6,a['IUndoRedoService']),N(0x7,a[_0x4fac68(0x19d)]),N(0x8,a[_0x4fac68(0x23d)]),N(0x9,p[_0x4fac68(0x22f)])],Oe);let ce=class extends be{constructor(_0x42841b,_0x532274,_0x43f6b8,_0x42aaeb,_0x504478,_0x502d7f,_0x4b1f1d,_0x457ec2,_0x4e0ec0,_0x3b474f,_0x2ef503,_0x31d748,_0x380512,_0x30896d){const _0x3aa854=_0x4fac68;super(_0x42841b,_0x532274,null,_0x43f6b8,_0x42aaeb,_0x3b474f,_0x30896d,_0x502d7f,_0x4b1f1d),I(this,_0x3aa854(0x221),_0x3aa854(0x56e)),I(this,_0x3aa854(0x5a9),null),I(this,_0x3aa854(0x311),null),(this[_0x3aa854(0x5f2)]=_0x504478,this[_0x3aa854(0x2d4)]=_0x457ec2,this[_0x3aa854(0x545)]=_0x4e0ec0,this['_configService']=_0x2ef503,this[_0x3aa854(0x433)]=_0x31d748,this[_0x3aa854(0x241)]=_0x380512);}[_0x4fac68(0x277)](_0x469811){const _0x1615f5=_0x4fac68;return this[_0x1615f5(0x3c6)][_0x1615f5(0x64b)](_0x469811),this['_updateLocalCache'](),this;}[_0x4fac68(0x2da)](_0x533a2a){const _0x24d04a=_0x4fac68;if(this[_0x24d04a(0x22a)](_0x533a2a))return this[_0x24d04a(0x5a3)](),this['_injector'][_0x24d04a(0x5c7)](re,this['unitID'],this[_0x24d04a(0x646)],null,this[_0x24d04a(0x3c6)],null,[_0x533a2a],this['_handler']);try{const _0x2e4275=this['_transformService'][_0x24d04a(0x624)](_0x533a2a,this[_0x24d04a(0x3c6)]);if(p[_0x24d04a(0x418)](_0x2e4275)){const {c1Prime:_0x4fd129,m2Prime:_0x47a038}=_0x2e4275;this['_executeRemoteChangeset'](_0x4fd129);const _0x10a847=this['_injector'][_0x24d04a(0x5c7)](ce,this[_0x24d04a(0x3b0)],this['type'],_0x47a038,this[_0x24d04a(0x3fe)]);return this['_clearScheduledTask'](),_0x10a847[_0x24d04a(0x4fe)](this['_scheduleTimestamp']?Math['max'](0x0,new Date()['getTime']()-this[_0x24d04a(0x5a9)]):this[_0x24d04a(0x55a)]()),_0x10a847;}throw _0x2e4275['error'];}catch(_0x5584d0){return this[_0x24d04a(0x545)][_0x24d04a(0x26f)](_0x5584d0),this[_0x24d04a(0x5a8)](!0x1);}}[_0x4fac68(0x567)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x3a1d65=_0x4fac68;throw new Error(_0x3a1d65(0x3b7));}[_0x4fac68(0x5fe)](){return this;}[_0x4fac68(0x217)](){const _0x213693=_0x4fac68;return this['_clearScheduledTask'](),this[_0x213693(0x5f2)]['createInstance'](Se,this[_0x213693(0x3b0)],this[_0x213693(0x646)],null,this['_pendingMutations'],this['_handler']);}[_0x4fac68(0x547)](){return this;}[_0x4fac68(0x4fe)](_0x5e8be8){const _0x2d240d=_0x4fac68,_0xf4768d=_0x5e8be8!=null?_0x5e8be8:this[_0x2d240d(0x55a)]();this[_0x2d240d(0x5a9)]=new Date()['getTime'](),this[_0x2d240d(0x311)]=window[_0x2d240d(0x5b4)](()=>{const _0x3a6fb0=_0x2d240d;this[_0x3a6fb0(0x5a3)]();let _0x42f3f2=null;switch(this[_0x3a6fb0(0x646)]){case ne[_0x3a6fb0(0x3f3)]:{_0x42f3f2=Ht(this[_0x3a6fb0(0x3c6)],this['unitID'],this[_0x3a6fb0(0x241)],this[_0x3a6fb0(0x318)],this[_0x3a6fb0(0x2d4)]);break;}case ne['UNIVER_DOC']:{this['_pendingMutations']['every'](_0x139582=>_0x139582['id']===Ie['RichTextEditingMutation']['id'])?_0x42f3f2=Bn(this[_0x3a6fb0(0x3c6)],this['unitID'],this[_0x3a6fb0(0x241)],this[_0x3a6fb0(0x318)],this['_memberService']):_0x42f3f2=Ht(this['_pendingMutations'],this['unitID'],this[_0x3a6fb0(0x241)],this[_0x3a6fb0(0x318)],this[_0x3a6fb0(0x2d4)]);break;}default:throw new Error(_0x3a6fb0(0x2f4)+this[_0x3a6fb0(0x646)]+_0x3a6fb0(0x439));}const {changeset:_0x6f1555,pendingMutations:_0x2ceef7}=_0x42f3f2;this[_0x3a6fb0(0x3fe)]['onSendChangeset'](_0x6f1555);const _0x3b263c=_0x2ceef7[_0x3a6fb0(0x42e)]?this[_0x3a6fb0(0x5f2)]['createInstance'](le,this[_0x3a6fb0(0x3b0)],this['type'],_0x6f1555,_0x2ceef7,this[_0x3a6fb0(0x3fe)],void 0x0):this[_0x3a6fb0(0x5f2)][_0x3a6fb0(0x5c7)](fe,this['unitID'],this[_0x3a6fb0(0x646)],_0x6f1555,this[_0x3a6fb0(0x3fe)]);_0x3b263c[_0x3a6fb0(0x640)](),this[_0x3a6fb0(0x3fe)][_0x3a6fb0(0x3aa)](this,_0x3b263c);},_0xf4768d);}[_0x4fac68(0x55a)](){const _0x20c4aa=_0x4fac68;var _0x32f12e;const _0x37dd94=this['_configService'][_0x20c4aa(0x620)](Q);return(_0x32f12e=_0x37dd94==null?void 0x0:_0x37dd94[_0x20c4aa(0x3ae)])!=null?_0x32f12e:Fi;}[_0x4fac68(0x5c0)](){const _0x168d5c=_0x4fac68;throw new Error(_0x168d5c(0x281));}[_0x4fac68(0x5a3)](){const _0x1f0dd1=_0x4fac68;this['_sendingTimer']!=null&&(clearTimeout(this[_0x1f0dd1(0x311)]),this[_0x1f0dd1(0x311)]=null);}['_onConflict'](_0x248a38){const _0x53a2f7=_0x4fac68;return this['_clearScheduledTask'](),this[_0x53a2f7(0x5f2)][_0x53a2f7(0x5c7)](ve,this['unitID'],this[_0x53a2f7(0x646)],null,this[_0x53a2f7(0x3c6)],this[_0x53a2f7(0x3fe)],_0x248a38);}};ce=Ee([N(0x4,a[_0x4fac68(0x55d)](a['Injector'])),N(0x5,a[_0x4fac68(0x55d)](p[_0x4fac68(0x30d)])),N(0x6,a[_0x4fac68(0x55d)](exports[_0x4fac68(0x461)])),N(0x7,a[_0x4fac68(0x55d)](exports['MemberService'])),N(0x8,a[_0x4fac68(0x23d)]),N(0x9,a[_0x4fac68(0x19d)]),N(0xa,a[_0x4fac68(0x459)]),N(0xb,p[_0x4fac68(0x22f)]),N(0xc,a[_0x4fac68(0x590)]),N(0xd,a['IUndoRedoService'])],ce);let fe=class extends be{constructor(_0x2ca42c,_0x5058b1,_0x4568ff,_0x3becbd,_0x37c391,_0x304428,_0x23b619,_0x1b4d92,_0x1ab431,_0x4b7704,_0x1a6bd3){const _0x43f51c=_0x4fac68;super(_0x2ca42c,_0x5058b1,_0x4568ff,[],_0x3becbd,_0x1b4d92,_0x1a6bd3,_0x304428,_0x23b619),I(this,_0x43f51c(0x221),_0x43f51c(0x193)),I(this,_0x43f51c(0x393),0x0),I(this,_0x43f51c(0x636)),I(this,'_sender'),(this[_0x43f51c(0x5f2)]=_0x37c391,this[_0x43f51c(0x545)]=_0x1ab431,this['_transformService']=_0x4b7704);}[_0x4fac68(0x277)](_0x67166f){const _0x559574=_0x4fac68;this[_0x559574(0x5a3)]();const _0x1b1110=this[_0x559574(0x5f2)]['createInstance'](le,this[_0x559574(0x3b0)],this['type'],this[_0x559574(0x59b)],[_0x67166f],this[_0x559574(0x3fe)],this[_0x559574(0x636)]);return _0x1b1110[_0x559574(0x640)](),_0x1b1110;}[_0x4fac68(0x2da)](_0xe5219c){const _0x4568be=_0x4fac68;if(this[_0x4568be(0x22a)](_0xe5219c))return this[_0x4568be(0x5a3)](),this[_0x4568be(0x5f2)][_0x4568be(0x5c7)](re,this[_0x4568be(0x3b0)],this[_0x4568be(0x646)],this[_0x4568be(0x59b)],[],null,[_0xe5219c],this[_0x4568be(0x3fe)]);try{const _0x121092=this[_0x4568be(0x433)][_0x4568be(0x2ca)]([_0xe5219c],[this[_0x4568be(0x59b)]],!0x1);if(p[_0x4568be(0x613)](_0x121092)){const {c1Prime:_0x4a0819,c2Prime:_0x2f765d}=_0x121092;this[_0x4568be(0x4ab)](_0x4a0819[0x0]),_0x2f765d[0x0][_0x4568be(0x343)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0xfd7706=this[_0x4568be(0x5f2)][_0x4568be(0x5c7)](fe,this[_0x4568be(0x3b0)],this['type'],_0x2f765d[0x0],this['_handler']);return _0xfd7706[_0x4568be(0x640)](),_0xfd7706;}return this['_onConflict'](!0x1);}catch(_0x3320cd){return this[_0x4568be(0x545)][_0x4568be(0x26f)](_0x3320cd),this['_onConflict'](!0x1);}}[_0x4fac68(0x567)](_0x2a8619){const _0x4eb65f=_0x4fac68;this[_0x4eb65f(0x5a3)]();const _0x4d10cf=this[_0x4eb65f(0x318)][_0x4eb65f(0x21e)](this[_0x4eb65f(0x3b0)]);if(_0x2a8619[_0x4eb65f(0x21b)]<_0x4d10cf-0x1)return this;if(this[_0x4eb65f(0x22a)](_0x2a8619))return this['_injector'][_0x4eb65f(0x5c7)](re,this[_0x4eb65f(0x3b0)],this[_0x4eb65f(0x646)],null,[],this[_0x4eb65f(0x59b)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x47ee27=this[_0x4eb65f(0x5f2)][_0x4eb65f(0x5c7)](Oe,this[_0x4eb65f(0x3b0)],this[_0x4eb65f(0x646)],this[_0x4eb65f(0x3fe)]);return _0x47ee27[_0x4eb65f(0x640)](),_0x47ee27;}[_0x4fac68(0x282)](_0x32bdd0){const _0x40cd8b=_0x4fac68;return this[_0x40cd8b(0x5a8)](!!(_0x32bdd0!=null&&_0x32bdd0[_0x40cd8b(0x4e9)]));}['onRemoteRetry'](_0x472d1f){const _0x4b3012=_0x4fac68;return this['_resendTimeout']>mi?this[_0x4b3012(0x217)]():(this[_0x4b3012(0x636)]=pi(this[_0x4b3012(0x393)],{'timeout':this['_resendTimeout'],'reqId':_0x472d1f[_0x4b3012(0x369)]}),this[_0x4b3012(0x2ec)]=this[_0x4b3012(0x636)]['subscribe'](({reqId:_0x3ee3d2,timeout:_0x486b23})=>{const _0x55aa40=_0x4b3012;this[_0x55aa40(0x2ed)](_0x3ee3d2,_0x486b23);}),this);}[_0x4fac68(0x217)](){const _0x27dc91=_0x4fac68;return this[_0x27dc91(0x5a3)](),this[_0x27dc91(0x5f2)][_0x27dc91(0x5c7)](Se,this[_0x27dc91(0x3b0)],this[_0x27dc91(0x646)],this[_0x27dc91(0x59b)],[],this['_handler']);}[_0x4fac68(0x547)](){return this;}[_0x4fac68(0x5c0)](){const _0x54e088=_0x4fac68;this[_0x54e088(0x3fe)]['onSendChangeset'](this[_0x54e088(0x59b)]);}[_0x4fac68(0x5a8)](_0x2fd966){const _0x53a02c=_0x4fac68;return this[_0x53a02c(0x5a3)](),this['_injector'][_0x53a02c(0x5c7)](ve,this[_0x53a02c(0x3b0)],this[_0x53a02c(0x646)],this[_0x53a02c(0x59b)],[],this[_0x53a02c(0x3fe)],_0x2fd966);}[_0x4fac68(0x2ed)](_0x31af7,_0x10030c){const _0x4381e9=_0x4fac68;var _0x1fcd89;_0x31af7===((_0x1fcd89=this['_awaitingChangeset'])==null?void 0x0:_0x1fcd89['reqId'])&&(this[_0x4381e9(0x5c0)](),this['_resendTimeout']=_0x10030c===0x0?0x3e8:_0x10030c*0x2);}[_0x4fac68(0x5a3)](){const _0x3f447e=_0x4fac68;var _0x5e3855;(_0x5e3855=this['_sender'])==null||_0x5e3855[_0x3f447e(0x437)](),this[_0x3f447e(0x393)]=0x0;}};fe=Ee([N(0x4,a[_0x4fac68(0x55d)](a['Injector'])),N(0x5,a['Inject'](p[_0x4fac68(0x30d)])),N(0x6,a[_0x4fac68(0x55d)](exports['LocalCacheService'])),N(0x7,a[_0x4fac68(0x19d)]),N(0x8,a[_0x4fac68(0x23d)]),N(0x9,p[_0x4fac68(0x22f)]),N(0xa,a[_0x4fac68(0x426)])],fe);let le=class extends be{constructor(_0x44c934,_0x21a36c,_0xdcde02,_0x1f35f9,_0x5e8ae1,_0x5823d3,_0x21652a,_0x4cb51d,_0x50f04c,_0x24fa81,_0x9dfda8,_0x3c5e60,_0x3e7d87){const _0x9882ff=_0x4fac68;super(_0x44c934,_0x21a36c,_0xdcde02,_0x1f35f9,_0x5e8ae1,_0x24fa81,_0x3e7d87,_0x4cb51d,_0x50f04c),I(this,_0x9882ff(0x221),_0x9882ff(0x629)),I(this,_0x9882ff(0x393),0x0),I(this,'_resendTimer'),I(this,'_sender'),(this['_injector']=_0x21652a,this[_0x9882ff(0x545)]=_0x9dfda8,this[_0x9882ff(0x433)]=_0x3c5e60,_0x5823d3&&(this[_0x9882ff(0x636)]=_0x5823d3,this[_0x9882ff(0x2ec)]=this[_0x9882ff(0x636)][_0x9882ff(0x38e)](({reqId:_0x4c8fdc,timeout:_0x3a37b0})=>{this['_resendWithTimeout'](_0x4c8fdc,_0x3a37b0);})));}[_0x4fac68(0x277)](_0x5e89ef){return this['_pendingMutations']['push'](_0x5e89ef),this;}[_0x4fac68(0x2da)](_0x2a3e57){const _0x187958=_0x4fac68;if(this[_0x187958(0x22a)](_0x2a3e57))return this[_0x187958(0x5a3)](),this[_0x187958(0x5f2)][_0x187958(0x5c7)](re,this[_0x187958(0x3b0)],this[_0x187958(0x646)],this['_awaitingChangeset'],this[_0x187958(0x3c6)],null,[_0x2a3e57],this[_0x187958(0x3fe)]);try{const _0x522085=this[_0x187958(0x433)][_0x187958(0x2ca)]([_0x2a3e57],[this['_awaitingChangeset']],!0x1);if(p[_0x187958(0x613)](_0x522085)){const {c1Prime:_0x6ad1ea,c2Prime:_0x334a5e}=_0x522085,_0x5e33bc=this[_0x187958(0x433)][_0x187958(0x624)](_0x6ad1ea[0x0],this[_0x187958(0x3c6)]);if(p[_0x187958(0x418)](_0x5e33bc)){const {c1Prime:_0x4a1a91,m2Prime:_0x5a1d83}=_0x5e33bc;return this[_0x187958(0x4ab)](_0x4a1a91),_0x334a5e[0x0][_0x187958(0x343)]=this[_0x187958(0x5ad)](),this['_clearScheduledTask'](),this[_0x187958(0x5f2)]['createInstance'](le,this[_0x187958(0x3b0)],this[_0x187958(0x646)],_0x334a5e[0x0],_0x5a1d83,this['_handler'],void 0x0);}throw _0x5e33bc[_0x187958(0x26f)];}throw _0x522085['error'];}catch(_0x492da3){return this['_logService'][_0x187958(0x26f)](_0x492da3),this['_onConflict'](!0x1);}}[_0x4fac68(0x567)](_0x39e3ca){const _0x34c938=_0x4fac68;if(this[_0x34c938(0x5a3)](),this['_checkMissing'](_0x39e3ca))return this[_0x34c938(0x5f2)][_0x34c938(0x5c7)](re,this['unitID'],this[_0x34c938(0x646)],null,this['_pendingMutations'],this[_0x34c938(0x59b)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x4746f7=this[_0x34c938(0x5f2)][_0x34c938(0x5c7)](ce,this['unitID'],this[_0x34c938(0x646)],this[_0x34c938(0x3c6)],this[_0x34c938(0x3fe)]);return _0x4746f7[_0x34c938(0x4fe)](),_0x4746f7[_0x34c938(0x640)](),_0x4746f7;}[_0x4fac68(0x282)](_0xa0262e){return this['_onConflict'](!!(_0xa0262e!=null&&_0xa0262e['isPermissionRej']));}[_0x4fac68(0x5fe)](_0x1d8e0c){const _0x59b716=_0x4fac68;return this[_0x59b716(0x393)]>mi?this[_0x59b716(0x217)]():(this['_resendTimer']=pi(this[_0x59b716(0x393)],{'timeout':this[_0x59b716(0x393)],'reqId':_0x1d8e0c['reqId']}),this[_0x59b716(0x2ec)]=this['_resendTimer'][_0x59b716(0x38e)](({reqId:_0x12512c,timeout:_0x213302})=>{const _0x5a131b=_0x59b716;this[_0x5a131b(0x2ed)](_0x12512c,_0x213302);}),this);}[_0x4fac68(0x217)](){const _0x11344b=_0x4fac68;return this[_0x11344b(0x5a3)](),this['_injector']['createInstance'](Se,this[_0x11344b(0x3b0)],this[_0x11344b(0x646)],this[_0x11344b(0x59b)],this[_0x11344b(0x3c6)],this[_0x11344b(0x3fe)]);}[_0x4fac68(0x547)](){return this;}[_0x4fac68(0x5c0)](){const _0x4f2bbf=_0x4fac68;this[_0x4f2bbf(0x3fe)][_0x4f2bbf(0x4dd)](this[_0x4f2bbf(0x59b)]);}['_onConflict'](_0xa04be6){const _0x371c0b=_0x4fac68;return this[_0x371c0b(0x5a3)](),this[_0x371c0b(0x5f2)][_0x371c0b(0x5c7)](ve,this[_0x371c0b(0x3b0)],this[_0x371c0b(0x646)],null,this['_pendingMutations'],this[_0x371c0b(0x3fe)],_0xa04be6);}[_0x4fac68(0x2ed)](_0x444a9c,_0x39379f){const _0x1194d5=_0x4fac68;var _0x2ce356;_0x444a9c===((_0x2ce356=this[_0x1194d5(0x59b)])==null?void 0x0:_0x2ce356[_0x1194d5(0x369)])&&(this[_0x1194d5(0x5c0)](),this['_resendTimeout']=_0x39379f===0x0?0x3e8:_0x39379f*0x2);}[_0x4fac68(0x5a3)](){const _0x3b2271=_0x4fac68;var _0x2167f7;(_0x2167f7=this[_0x3b2271(0x2ec)])==null||_0x2167f7['unsubscribe'](),this[_0x3b2271(0x393)]=0x0;}};le=Ee([N(0x6,a[_0x4fac68(0x55d)](a[_0x4fac68(0x508)])),N(0x7,a['Inject'](p[_0x4fac68(0x30d)])),N(0x8,a['Inject'](exports['LocalCacheService'])),N(0x9,a[_0x4fac68(0x19d)]),N(0xa,a[_0x4fac68(0x23d)]),N(0xb,p['ITransformService']),N(0xc,a['IUndoRedoService'])],le);let ve=class extends be{constructor(_0x3264d3,_0x26f0c7,_0x412786,_0x570783,_0x1bf1da,_0x5ba226=!0x1,_0xd80eaa,_0xbbe92d,_0x2d86b7,_0x5ef9f7,_0x4c4bdd,_0x2bffda,_0x39a1d6){const _0x3817d9=_0x4fac68;super(_0x3264d3,_0x26f0c7,_0x412786,_0x570783,_0x1bf1da,_0xbbe92d,_0x2d86b7,_0x4c4bdd,_0x5ef9f7),I(this,_0x3817d9(0x221),'conflict'),(this[_0x3817d9(0x4a2)]=_0x5ba226,this['_permissionService']=_0xd80eaa,this['_localeService']=_0x2bffda,this[_0x3817d9(0x5c8)]=_0x39a1d6,this[_0x3817d9(0x5d7)](),this[_0x3817d9(0x25d)](),this[_0x3817d9(0x3d9)]());}[_0x4fac68(0x277)](){return this;}[_0x4fac68(0x2da)](){return this;}[_0x4fac68(0x567)](){return this;}[_0x4fac68(0x282)](){return this;}[_0x4fac68(0x5fe)](){return this;}[_0x4fac68(0x217)](){return this;}[_0x4fac68(0x547)](){return this;}[_0x4fac68(0x5c0)](){const _0x577588=_0x4fac68;throw new Error(_0x577588(0x349));}[_0x4fac68(0x25d)](){const _0x40ee9a=_0x4fac68;this[_0x40ee9a(0x5b6)]['updateOfflineData'](this[_0x40ee9a(0x3b0)],this['type'],null,[]);}[_0x4fac68(0x5d7)](){const _0x23ab2e=_0x4fac68;this[_0x23ab2e(0x4a2)]?this['_notificationService']['show']({'title':this[_0x23ab2e(0x236)]['t']('permission.title'),'content':this[_0x23ab2e(0x236)]['t'](_0x23ab2e(0x232)),'type':'error','duration':0x0}):this[_0x23ab2e(0x5c8)]['show']({'title':this[_0x23ab2e(0x236)]['t'](_0x23ab2e(0x400)),'content':this[_0x23ab2e(0x236)]['t'](_0x23ab2e(0x568)),'type':_0x23ab2e(0x26f),'duration':0x0});}[_0x4fac68(0x3d9)](){const _0x2cd82e=_0x4fac68;this['_permissionService'][_0x2cd82e(0x57d)](new k[(_0x2cd82e(0x2a3))](this[_0x2cd82e(0x3b0)])['id'],!0x1);}};ve=Ee([N(0x6,a[_0x4fac68(0x55d)](a[_0x4fac68(0x1ff)])),N(0x7,a[_0x4fac68(0x19d)]),N(0x8,a[_0x4fac68(0x426)]),N(0x9,a[_0x4fac68(0x55d)](exports[_0x4fac68(0x461)])),N(0xa,a[_0x4fac68(0x55d)](p[_0x4fac68(0x30d)])),N(0xb,a[_0x4fac68(0x55d)](a[_0x4fac68(0x411)])),N(0xc,te['INotificationService'])],ve);let Se=class extends be{constructor(_0xdcee6a,_0x3a91fe,_0x17e73c,_0x49aad3,_0x474af3,_0x4d750f,_0x254374,_0x1b7031,_0x15ad5b,_0x175244){const _0x503ab0=_0x4fac68;super(_0xdcee6a,_0x3a91fe,_0x17e73c,_0x49aad3,_0x474af3,_0x15ad5b,_0x175244,_0x254374,_0x1b7031),I(this,'status',_0x503ab0(0x2f8)),this['_injector']=_0x4d750f;}[_0x4fac68(0x277)](_0x3f7e51){const _0xd76e36=_0x4fac68;return this[_0xd76e36(0x3c6)]['push'](_0x3f7e51),this[_0xd76e36(0x640)](),this;}['onRemoteChangeset'](_0x37cc8a){const _0xfec2b5=_0x4fac68;throw new Error(_0xfec2b5(0x2c9));}[_0x4fac68(0x567)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x4fac68(0x282)](){const _0x9daa9b=_0x4fac68;throw new Error(_0x9daa9b(0x5bf));}[_0x4fac68(0x5fe)](){return this;}[_0x4fac68(0x217)](){return this;}[_0x4fac68(0x547)](){const _0x2d0dec=_0x4fac68,{_injector:_0xeb268a,_pendingMutations:_0x4911da,_awaitingChangeset:_0x3c1a08,unitID:_0x4d1ab5,_handler:_0x5a9f1b,type:_0xae4537}=this,_0xfb8dba=gi(_0xeb268a,_0x4d1ab5,_0xae4537,_0x3c1a08,_0x4911da,_0x5a9f1b);return _0xfb8dba instanceof ce?_0xfb8dba[_0x2d0dec(0x4fe)]():(_0xfb8dba instanceof le||_0xfb8dba instanceof fe)&&_0xfb8dba[_0x2d0dec(0x5c0)](),_0xfb8dba;}[_0x4fac68(0x5c0)](){const _0x3850f6=_0x4fac68;throw new Error(_0x3850f6(0x182));}};Se=Ee([N(0x5,a[_0x4fac68(0x55d)](a[_0x4fac68(0x508)])),N(0x6,a['Inject'](p[_0x4fac68(0x30d)])),N(0x7,a[_0x4fac68(0x55d)](exports[_0x4fac68(0x461)])),N(0x8,a[_0x4fac68(0x19d)]),N(0x9,a[_0x4fac68(0x426)])],Se);let re=class extends be{constructor(_0x1f5ebb,_0x4c5d72,_0x48f652,_0x33ff69,_0x50dd26,_0x3e7729,_0x32ba24,_0x1c60a6,_0x3c9a2a,_0x30db76,_0x4c5ea5,_0x4dd38f,_0x39b135,_0x778276){const _0x484caf=_0x4fac68;super(_0x1f5ebb,_0x4c5d72,_0x48f652,_0x33ff69,_0x32ba24,_0x4dd38f,_0x39b135,_0x3c9a2a,_0x30db76),I(this,_0x484caf(0x221),_0x484caf(0x5dd)),(this[_0x484caf(0x246)]=_0x50dd26,this['_queuedRemoteChangesets']=_0x3e7729,this[_0x484caf(0x5f2)]=_0x1c60a6,this['_logService']=_0x4c5ea5,this[_0x484caf(0x433)]=_0x778276);}[_0x4fac68(0x502)](_0x5106a0){const _0x365656=_0x4fac68;try{const _0x30ec45=[..._0x5106a0,...this[_0x365656(0x1f4)]],_0x268ea4=[this[_0x365656(0x59b)]||this[_0x365656(0x246)]][_0x365656(0x432)](_0x209178=>!!_0x209178);let _0x177a27,_0x5c4b1d;if(_0x268ea4[_0x365656(0x42e)]){const _0x47f2be=this[_0x365656(0x433)]['transformChangesets'](_0x30ec45,_0x268ea4,!0x1);if(!p[_0x365656(0x613)](_0x47f2be))throw _0x47f2be[_0x365656(0x26f)];_0x177a27=_0x47f2be[_0x365656(0x491)],_0x5c4b1d=_0x47f2be[_0x365656(0x45b)];}else _0x177a27=_0x30ec45,_0x5c4b1d=[];let _0x13bda1=this[_0x365656(0x3c6)];_0x177a27[_0x365656(0x289)](_0x3bc9d8=>{const _0x30daa4=_0x365656;let _0x535071;if(_0x13bda1['length']){const _0x282b66=this['_transformService'][_0x30daa4(0x624)](_0x3bc9d8,_0x13bda1);if(!p[_0x30daa4(0x418)](_0x282b66))throw _0x282b66[_0x30daa4(0x26f)];_0x535071=_0x282b66[_0x30daa4(0x491)],_0x13bda1=_0x282b66[_0x30daa4(0x515)];}else _0x535071=_0x3bc9d8;this['_executeRemoteChangeset'](_0x535071);}),this[_0x365656(0x246)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x5c4b1d[_0x365656(0x42e)]&&(_0x5c4b1d[0x0][_0x365656(0x343)]=this[_0x365656(0x5ad)]());let _0x2cca28;if(this[_0x365656(0x59b)]&&_0x13bda1['length']!==0x0)_0x2cca28=this['_injector'][_0x365656(0x5c7)](le,this['unitID'],this[_0x365656(0x646)],_0x5c4b1d[0x0],_0x13bda1,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x13bda1[_0x365656(0x42e)]===0x0)_0x5c4b1d[0x0][_0x365656(0x343)]=this[_0x365656(0x5ad)](),_0x2cca28=this[_0x365656(0x5f2)][_0x365656(0x5c7)](fe,this[_0x365656(0x3b0)],this[_0x365656(0x646)],_0x5c4b1d[0x0],this['_handler']);else{if(_0x13bda1[_0x365656(0x42e)]!==0x0){const _0x1961cf=this[_0x365656(0x5f2)][_0x365656(0x5c7)](ce,this[_0x365656(0x3b0)],this[_0x365656(0x646)],_0x13bda1,this[_0x365656(0x3fe)]);_0x1961cf[_0x365656(0x4fe)](),_0x2cca28=_0x1961cf;}else _0x2cca28=this[_0x365656(0x5f2)][_0x365656(0x5c7)](Oe,this[_0x365656(0x3b0)],this[_0x365656(0x646)],this[_0x365656(0x3fe)]);}}return _0x2cca28[_0x365656(0x640)](),_0x2cca28;}catch(_0x17ae9f){return this[_0x365656(0x545)][_0x365656(0x26f)](_0x365656(0x3a2),_0x365656(0x180),_0x17ae9f),this['_injector'][_0x365656(0x5c7)](ve,this[_0x365656(0x3b0)],this[_0x365656(0x646)],this[_0x365656(0x59b)],this[_0x365656(0x3c6)],this[_0x365656(0x3fe)],!0x1);}}[_0x4fac68(0x5c0)](){const _0x340b58=_0x4fac68;throw new Error(_0x340b58(0x31e));}[_0x4fac68(0x277)](_0x311beb){const _0x3361f7=_0x4fac68;return this[_0x3361f7(0x3c6)][_0x3361f7(0x64b)](_0x311beb),this;}[_0x4fac68(0x2da)](_0x1db6a2){const _0x51f940=_0x4fac68;return this['_queuedRemoteChangesets'][_0x51f940(0x64b)](_0x1db6a2),this;}['onRemoteAck'](_0xea8b0d){const _0x56a41e=_0x4fac68;if(this[_0x56a41e(0x59b)])return this['_acknowledgedAwaitingChangeset']=this[_0x56a41e(0x59b)],this['_awaitingChangeset']=null,this;throw new Error(_0x56a41e(0x585));}[_0x4fac68(0x282)](_0x1f5d92){const _0x1d681e=_0x4fac68;return this[_0x1d681e(0x5a8)](!!(_0x1f5d92!=null&&_0x1f5d92[_0x1d681e(0x4e9)]));}['onRemoteRetry'](){return this;}[_0x4fac68(0x217)](){const _0x3ee331=_0x4fac68;return this['_injector']['createInstance'](Se,this['unitID'],this[_0x3ee331(0x646)],this[_0x3ee331(0x59b)],this[_0x3ee331(0x3c6)],this[_0x3ee331(0x3fe)]);}[_0x4fac68(0x547)](){return this;}[_0x4fac68(0x5a8)](_0x58b6a1){const _0x306d79=_0x4fac68;return this[_0x306d79(0x5f2)]['createInstance'](ve,this[_0x306d79(0x3b0)],this['type'],this[_0x306d79(0x59b)],this[_0x306d79(0x3c6)],this[_0x306d79(0x3fe)],_0x58b6a1);}};re=Ee([N(0x7,a[_0x4fac68(0x55d)](a['Injector'])),N(0x8,a[_0x4fac68(0x55d)](p['RevisionService'])),N(0x9,a[_0x4fac68(0x55d)](exports['LocalCacheService'])),N(0xa,a['ILogService']),N(0xb,a[_0x4fac68(0x19d)]),N(0xc,a['IUndoRedoService']),N(0xd,p[_0x4fac68(0x22f)])],re);function gi(_0x1ffeb9,_0x3a2703,_0x1cfda2,_0x1693a0,_0x261276,_0x75d6dc){const _0x40b983=_0x4fac68;return _0x1693a0&&_0x261276[_0x40b983(0x42e)]?_0x1ffeb9['createInstance'](le,_0x3a2703,_0x1cfda2,_0x1693a0,_0x261276,_0x75d6dc,void 0x0):_0x1693a0?_0x1ffeb9[_0x40b983(0x5c7)](fe,_0x3a2703,_0x1cfda2,_0x1693a0,_0x75d6dc):_0x261276['length']?_0x1ffeb9[_0x40b983(0x5c7)](ce,_0x3a2703,_0x1cfda2,_0x261276,_0x75d6dc):_0x1ffeb9[_0x40b983(0x5c7)](Oe,_0x3a2703,_0x1cfda2,_0x75d6dc);}var Vn=Object[_0x4fac68(0x470)],Gn=Object[_0x4fac68(0x340)],Ot=(_0x308156,_0x2efe86,_0x10a736,_0x434994)=>{const _0xf47c8=_0x4fac68;for(var _0x24afc5=_0x434994>0x1?void 0x0:_0x434994?Gn(_0x2efe86,_0x10a736):_0x2efe86,_0x36989b=_0x308156[_0xf47c8(0x42e)]-0x1,_0x2c2200;_0x36989b>=0x0;_0x36989b--)(_0x2c2200=_0x308156[_0x36989b])&&(_0x24afc5=(_0x434994?_0x2c2200(_0x2efe86,_0x10a736,_0x24afc5):_0x2c2200(_0x24afc5))||_0x24afc5);return _0x434994&&_0x24afc5&&Vn(_0x2efe86,_0x10a736,_0x24afc5),_0x24afc5;},H=(_0x2c2ef3,_0x2b291a)=>(_0x14b771,_0x5409ba)=>_0x2b291a(_0x14b771,_0x5409ba,_0x2c2ef3);exports[_0x4fac68(0x342)]=class extends a[_0x4fac68(0x1e0)]{constructor(_0x1131c8,_0x4f589b,_0x1521a6,_0x5e4ee0,_0x7d23a4,_0xc17c00,_0x441942,_0x467880,_0x191c3d,_0x5d5de6,_0x40bbd3,_0x543bab,_0x31fd52){const _0x580dd7=_0x4fac68;super(),I(this,_0x580dd7(0x41b),new A['BehaviorSubject'](null)),I(this,_0x580dd7(0x4bc),this[_0x580dd7(0x41b)]['asObservable']()),I(this,'_state'),I(this,_0x580dd7(0x294),!0x1),I(this,'_changesetSessionId',''),I(this,_0x580dd7(0x46b),0x0),I(this,_0x580dd7(0x403),this['state$'][_0x580dd7(0x355)](A['map'](_0x570739=>_0x570739?_0x570739[_0x580dd7(0x221)]:q[_0x580dd7(0x36c)]),A[_0x580dd7(0x2c7)](0x1))),I(this,_0x580dd7(0x38b),!0x1),I(this,_0x580dd7(0x21d),[]),(this[_0x580dd7(0x3b0)]=_0x1131c8,this[_0x580dd7(0x4b3)]=_0x4f589b,this[_0x580dd7(0x566)]=_0x1521a6,this[_0x580dd7(0x5f2)]=_0x5e4ee0,this['_localCacheService']=_0x7d23a4,this[_0x580dd7(0x543)]=_0xc17c00,this[_0x580dd7(0x236)]=_0x441942,this[_0x580dd7(0x318)]=_0x467880,this[_0x580dd7(0x545)]=_0x191c3d,this['_commandService']=_0x5d5de6,this[_0x580dd7(0x406)]=_0x40bbd3,this[_0x580dd7(0x398)]=_0x543bab,this[_0x580dd7(0x40e)]=_0x31fd52);}get[_0x4fac68(0x22b)](){const _0x5b7346=_0x4fac68;return this[_0x5b7346(0x409)];}async['init'](){const _0x29e17f=_0x4fac68;if(this[_0x29e17f(0x22b)])throw new Error(_0x29e17f(0x531));await this['_init']();}[_0x4fac68(0x2f2)](){const _0x4e0957=_0x4fac68;return this[_0x4e0957(0x294)]=!0x0,a['toDisposable'](()=>{const _0x75147d=_0x4e0957;this[_0x75147d(0x294)]=!0x1,this[_0x75147d(0x51d)]();});}['_updateState'](_0xbcfe0e){const _0x18bdf2=_0x4fac68;this[_0x18bdf2(0x409)]=_0xbcfe0e,this['_state$'][_0x18bdf2(0x250)](_0xbcfe0e);}async[_0x4fac68(0x47f)](){const _0x5581e5=_0x4fac68;var _0x35237e;this[_0x5581e5(0x1c9)](await this['_createInitialState']()),this[_0x5581e5(0x40e)]&&((_0x35237e=this['_singleActiveUnitService'])==null||_0x35237e[_0x5581e5(0x4fd)](this[_0x5581e5(0x3b0)]),this[_0x5581e5(0x49a)](this[_0x5581e5(0x40e)]['getUnitStatus$'](this[_0x5581e5(0x3b0)])[_0x5581e5(0x38e)](_0x13940b=>{const _0x5a5354=_0x5581e5;this[_0x5a5354(0x545)][_0x5a5354(0x360)](_0x5a5354(0x57f),_0x5a5354(0x30a),_0x13940b),_0x13940b===vi['OTHER_CLIENTS_EDITING']?(this[_0x5a5354(0x406)]['show']({'content':this[_0x5a5354(0x236)]['t'](_0x5a5354(0x209)),'type':Ce[_0x5a5354(0x5b9)]['Warning']}),this[_0x5a5354(0x398)][_0x5a5354(0x57d)](new k[(_0x5a5354(0x2a3))](this[_0x5a5354(0x3b0)])['id'],!0x1),this[_0x5a5354(0x398)][_0x5a5354(0x2c6)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new k[(_0x5a5354(0x2a3))](this[_0x5a5354(0x3b0)])['id'],!0x0),this['_permissionService'][_0x5a5354(0x2c6)](!0x0));})));let _0x4fb563=!0x1;return this[_0x5581e5(0x49a)](this[_0x5581e5(0x4b3)]['sessionStatus$'][_0x5581e5(0x38e)](_0x556aa8=>{const _0x7911b3=_0x5581e5;_0x556aa8===se['ONLINE']?this['_toggleOnline'](_0x4fb563):_0x556aa8===se[_0x7911b3(0x36c)]&&(_0x4fb563=!0x0,this[_0x7911b3(0x251)]());})),this['disposeWithMe'](this[_0x5581e5(0x4b3)][_0x5581e5(0x4a3)][_0x5581e5(0x38e)](_0x582dfc=>{const _0x194bb7=_0x5581e5;try{switch(_0x582dfc['eventID']){case p[_0x194bb7(0x3a3)]['NEW_CHANGESETS']:{this['_onRemoteChangeset'](p[_0x194bb7(0x42f)](_0x582dfc['data']));break;}case p[_0x194bb7(0x3a3)]['CHANGESET_ACK']:{this[_0x194bb7(0x600)](_0x582dfc[_0x194bb7(0x44a)]);break;}case p[_0x194bb7(0x3a3)]['CHANGESET_REJ']:{this[_0x194bb7(0x631)]();break;}case p[_0x194bb7(0x3a3)]['CHANGESET_SHOULD_RETRY']:{this[_0x194bb7(0x1e9)](_0x582dfc['data']);break;}case p['CollaborationEvent'][_0x194bb7(0x3ad)]:{this[_0x194bb7(0x4c1)](_0x582dfc['data'][_0x194bb7(0x627)][_0x194bb7(0x642)](_0x7073b3=>p[_0x194bb7(0x42f)](_0x7073b3)));break;}case p[_0x194bb7(0x3a3)][_0x194bb7(0x405)]:this[_0x194bb7(0x631)]({'isPermissionRej':!0x0});}}catch(_0x3421d1){throw console[_0x194bb7(0x26f)](_0x194bb7(0x4e3),_0x3421d1),_0x3421d1;}})),this[_0x5581e5(0x409)];}[_0x4fac68(0x4a0)](){this['_transitionLocked']=!0x1;}[_0x4fac68(0x36e)](){const _0x303f71=_0x4fac68;if(this[_0x303f71(0x38b)])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['_transitionLocked']=!0x0;}[_0x4fac68(0x5e6)](_0x5b634e){const _0x4205c7=_0x4fac68;this['_lockTransition'](),this[_0x4205c7(0x1c9)](this[_0x4205c7(0x409)]['appendMutation'](_0x5b634e)),this[_0x4205c7(0x4a0)]();}[_0x4fac68(0x2b1)](_0x587ed1){const _0x2b192a=_0x4fac68;if(!(_0x587ed1[_0x2b192a(0x21b)]<=this[_0x2b192a(0x318)][_0x2b192a(0x21e)](this['unitID']))){if(this[_0x2b192a(0x294)]){this[_0x2b192a(0x21d)]['push'](_0x587ed1);return;}this[_0x2b192a(0x460)](_0x587ed1);}}['_exhaustRemoteChangesetQueue'](){const _0x58e3f4=_0x4fac68;this['_remoteChangesetQueue']['forEach'](_0x3eeb32=>this[_0x58e3f4(0x460)](_0x3eeb32)),this[_0x58e3f4(0x21d)]=[];}['_applyRemoteChangeset'](_0x3a6e02){const _0x4ce8aa=_0x4fac68,_0x3650ee=this[_0x4ce8aa(0x543)][_0x4ce8aa(0x573)][_0x4ce8aa(0x5f4)](this[_0x4ce8aa(0x543)][_0x4ce8aa(0x573)]['getInterceptPoints']()[_0x4ce8aa(0x1b4)])(_0x3a6e02['mutations'],null)||_0x3a6e02[_0x4ce8aa(0x4ae)],_0x15d4aa={..._0x3a6e02,'mutations':_0x3650ee};this[_0x4ce8aa(0x36e)](),this[_0x4ce8aa(0x1c9)](this['_state']['onRemoteChangeset'](_0x15d4aa)),this[_0x4ce8aa(0x4a0)]();}[_0x4fac68(0x600)](_0xc97af5){const _0x4bdfc0=_0x4fac68;this['_lockTransition'](),this['_updateState'](this[_0x4bdfc0(0x409)]['onRemoteAck'](_0xc97af5)),this[_0x4bdfc0(0x4a0)]();}[_0x4fac68(0x631)](_0x542cbe){const _0x19d333=_0x4fac68;this[_0x19d333(0x36e)](),this[_0x19d333(0x1c9)](this[_0x19d333(0x409)][_0x19d333(0x282)](_0x542cbe)),this[_0x19d333(0x4a0)]();}[_0x4fac68(0x1e9)](_0x18afdc){const _0x392d3f=_0x4fac68;this['_lockTransition'](),this[_0x392d3f(0x1c9)](this[_0x392d3f(0x409)][_0x392d3f(0x5fe)](_0x18afdc)),this['_unlockTransition']();}['_onFetchMissResult'](_0x71a610){const _0x3d42bb=_0x4fac68;if(!(this[_0x3d42bb(0x409)]instanceof re))throw new TypeError(_0x3d42bb(0x298));const _0x576b63=_0x71a610[_0x3d42bb(0x642)](_0x3dc509=>{const _0x2178cd=_0x3d42bb,_0x6a087d=this['_compressMutationService'][_0x2178cd(0x573)][_0x2178cd(0x5f4)](this[_0x2178cd(0x543)][_0x2178cd(0x573)][_0x2178cd(0x58a)]()[_0x2178cd(0x1b4)])(_0x3dc509[_0x2178cd(0x4ae)],null)||_0x3dc509[_0x2178cd(0x4ae)];return{..._0x3dc509,'mutations':_0x6a087d};});this['_lockTransition'](),this['_updateState'](this[_0x3d42bb(0x409)][_0x3d42bb(0x502)](_0x576b63)),this[_0x3d42bb(0x4a0)]();}[_0x4fac68(0x251)](){const _0x460b4a=_0x4fac68;this[_0x460b4a(0x36e)](),this[_0x460b4a(0x1c9)](this['_state'][_0x460b4a(0x217)]()),this[_0x460b4a(0x4a0)]();}['_toggleOnline'](_0xc909d0=!0x1){const _0x57e4eb=_0x4fac68;this[_0x57e4eb(0x36e)](),this[_0x57e4eb(0x1c9)](this[_0x57e4eb(0x409)]['toggleOnline']()),this[_0x57e4eb(0x4a0)]();const _0x6f7585=this[_0x57e4eb(0x409)];_0xc909d0&&_0x6f7585 instanceof Oe&&(this[_0x57e4eb(0x36e)](),this['_updateState'](_0x6f7585[_0x57e4eb(0x3a9)]()),this['_unlockTransition']());}async[_0x4fac68(0x33b)](){return new Promise(_0x3bf612=>{const _0x2b533b=_0x10f0;this['session'][_0x2b533b(0x1a6)][_0x2b533b(0x355)](A[_0x2b533b(0x4c9)](0x1))[_0x2b533b(0x38e)](async _0x48ffa2=>{const _0x416039=_0x2b533b;_0x3bf612(await this[_0x416039(0x26c)](_0x48ffa2===se[_0x416039(0x493)]));});});}['_createHandler'](){const _0x556861=_0x4fac68,_0x1dc1f5=this[_0x556861(0x3b0)];return{'onStateChange':(_0x309571,_0xaac824)=>{const _0x4c6ebb=_0x556861;if(_0x309571!==this[_0x4c6ebb(0x409)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x309571['status']+'\x0aAfter:\x20'+_0xaac824[_0x4c6ebb(0x221)]+_0x4c6ebb(0x30e)+this[_0x4c6ebb(0x409)][_0x4c6ebb(0x221)]);this[_0x4c6ebb(0x1c9)](_0xaac824);},'onSendChangeset':_0x3f7e23=>{const _0x2d15d6=_0x556861;_0x3f7e23[_0x2d15d6(0x3c3)]||(_0x3f7e23['sid']=this[_0x2d15d6(0x2de)],_0x3f7e23[_0x2d15d6(0x369)]=++this[_0x2d15d6(0x46b)]);const _0x5d3a39={'eventID':p[_0x2d15d6(0x3a3)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x3f7e23[_0x2d15d6(0x3b0)],'unitType':this[_0x2d15d6(0x566)],'changeset':_0x3f7e23,'memberID':this['session'][_0x2d15d6(0x4b1)]()}};this[_0x2d15d6(0x4b3)]['send'](_0x5d3a39,this[_0x2d15d6(0x3b0)]);},'onMissingChangesets':({from:_0x4f0bf9,to:_0x5ce68d})=>{const _0x33f66a=_0x556861;this[_0x33f66a(0x545)][_0x33f66a(0x360)](_0x33f66a(0x57f),_0x33f66a(0x37d)+_0x4f0bf9+'\x20to\x20'+_0x5ce68d);const _0x2c9fe0={'eventID':p['CollaborationEvent'][_0x33f66a(0x273)],'data':{'unitID':_0x1dc1f5,'unitType':this[_0x33f66a(0x566)],'from':_0x4f0bf9,'to':_0x5ce68d}};this[_0x33f66a(0x4b3)]['send'](_0x2c9fe0,this[_0x33f66a(0x3b0)]);}};}async[_0x4fac68(0x26c)](_0x2e98b5){const _0x594949=_0x4fac68;var _0x6e849d,_0x4b75a8;const _0x980594=await this[_0x594949(0x5b6)][_0x594949(0x263)](this[_0x594949(0x3b0)]),_0x232911=(_0x6e849d=_0x980594==null?void 0x0:_0x980594['mutations'])!=null?_0x6e849d:[],_0x5abb38=(_0x4b75a8=_0x980594==null?void 0x0:_0x980594[_0x594949(0x227)])!=null?_0x4b75a8:null,_0x31193f=!!(_0x5abb38!=null&&_0x5abb38[_0x594949(0x3c3)])&&!!(_0x5abb38!=null&&_0x5abb38['reqId']);this[_0x594949(0x2de)]=_0x31193f?_0x5abb38[_0x594949(0x3c3)]:In(),this['_changesetReqId']=_0x31193f?_0x5abb38[_0x594949(0x369)]:0x0;const _0x37894f=this[_0x594949(0x3b0)];try{this['_replayCachedMutations'](_0x5abb38,_0x232911);}catch(_0x4ad8a8){this[_0x594949(0x545)]['error'](_0x4ad8a8);}const _0x106e09=this[_0x594949(0x5be)]();if(_0x2e98b5){const _0x3d26df=gi(this['_injector'],_0x37894f,this[_0x594949(0x566)],_0x5abb38,_0x232911,_0x106e09);return _0x3d26df instanceof ce?_0x3d26df[_0x594949(0x4fe)]():(_0x3d26df instanceof le||_0x3d26df instanceof fe)&&_0x3d26df[_0x594949(0x5c0)](),_0x3d26df;}return this[_0x594949(0x5f2)]['createInstance'](Se,_0x37894f,this[_0x594949(0x566)],_0x5abb38,_0x232911,_0x106e09);}[_0x4fac68(0x4c5)](_0x2486be,_0x227c35){const _0x426f57=_0x4fac68;var _0x10a203,_0x15010d;const _0xde1a5e=this[_0x426f57(0x543)]['interceptor'][_0x426f57(0x5f4)](this[_0x426f57(0x543)]['interceptor'][_0x426f57(0x58a)]()[_0x426f57(0x1b4)]);(_0x10a203=_0xde1a5e((_0x2486be==null?void 0x0:_0x2486be[_0x426f57(0x4ae)])||[],null))==null||_0x10a203[_0x426f57(0x289)](_0x22eda2=>this[_0x426f57(0x31f)][_0x426f57(0x302)](_0x22eda2['id'],_0x22eda2['params'])),(_0x15010d=_0xde1a5e(_0x227c35||[],null))==null||_0x15010d[_0x426f57(0x289)](_0xf3ae5=>this['_commandService'][_0x426f57(0x302)](_0xf3ae5['id'],_0xf3ae5['params']));}},exports[_0x4fac68(0x342)]=Ot([H(0x3,a[_0x4fac68(0x55d)](a['Injector'])),H(0x4,a['Inject'](exports['LocalCacheService'])),H(0x5,a[_0x4fac68(0x55d)](p[_0x4fac68(0x20b)])),H(0x6,a[_0x4fac68(0x55d)](a[_0x4fac68(0x411)])),H(0x7,a[_0x4fac68(0x55d)](p[_0x4fac68(0x30d)])),H(0x8,a[_0x4fac68(0x23d)]),H(0x9,a[_0x4fac68(0x19d)]),H(0xa,te[_0x4fac68(0x4ff)]),H(0xb,a['IPermissionService']),H(0xc,a[_0x4fac68(0x394)](ze))],exports[_0x4fac68(0x342)]),exports[_0x4fac68(0x1d8)]=class extends exports[_0x4fac68(0x342)]{constructor(_0x4826eb,_0x2bfc2e,_0x5794b7,_0x280701,_0x43d05d,_0x45bbf7,_0x28cd8d,_0x33a4b0,_0x46f49f,_0x437b0e,_0x571ca9,_0x200ed3,_0x17eb7e,_0x1e9c24,_0x4ab0ec,_0x301dc3,_0x375951,_0x514932){const _0x11af87=_0x4fac68;super(_0x4826eb,_0x5794b7,_0x2bfc2e,_0x280701,_0x43d05d,_0x45bbf7,_0x28cd8d,_0x33a4b0,_0x1e9c24,_0x4ab0ec,_0x301dc3,_0x375951,_0x514932),this[_0x11af87(0x3b0)]=_0x4826eb,this[_0x11af87(0x646)]=_0x2bfc2e,this['_docStateChangeManagerService']=_0x46f49f,this[_0x11af87(0x55f)]=_0x437b0e,this[_0x11af87(0x46e)]=_0x571ca9,this[_0x11af87(0x2ba)]=_0x200ed3,this[_0x11af87(0x33a)]=_0x17eb7e;}[_0x4fac68(0x5be)](){const _0x2858c6=_0x4fac68,_0x4c10bd=super[_0x2858c6(0x5be)]();return _0x4c10bd[_0x2858c6(0x55e)]=_0x2c5e9c=>this['_docTransformIMECacheService']['transformIMECache'](_0x2c5e9c),_0x4c10bd['onTransformState']=_0x54628b=>this[_0x2858c6(0x46e)][_0x2858c6(0x424)](_0x54628b),_0x4c10bd[_0x2858c6(0x2f1)]=_0x3011e8=>this[_0x2858c6(0x2ba)][_0x2858c6(0x54b)](_0x3011e8),_0x4c10bd[_0x2858c6(0x4a4)]=_0x5ca5f9=>this[_0x2858c6(0x33a)][_0x2858c6(0x1f1)](_0x5ca5f9),_0x4c10bd[_0x2858c6(0x58c)]=_0x406c5c=>this['_docTransformIMECacheService'][_0x2858c6(0x376)](_0x406c5c),_0x4c10bd[_0x2858c6(0x54d)]=_0x45478a=>this[_0x2858c6(0x46e)]['transformRemoteChangeset'](_0x45478a),_0x4c10bd;}async[_0x4fac68(0x47f)](){const _0x1c0a39=_0x4fac68,_0xd5f35a=await super[_0x1c0a39(0x47f)]();return this[_0x1c0a39(0x49a)](this[_0x1c0a39(0x186)][_0x1c0a39(0x5fd)][_0x1c0a39(0x355)](A[_0x1c0a39(0x2e7)](this[_0x1c0a39(0x3ee)]))['subscribe'](_0x21b16c=>{const _0x264c24=_0x1c0a39;if(_0x21b16c==null)return;const {unitId:_0x1af549,redoState:_0x17fb4d,commandId:_0x135c06}=_0x21b16c;if(_0x1af549!==this[_0x264c24(0x3b0)])return;const _0x5dae92={'id':_0x135c06,'type':a[_0x264c24(0x279)][_0x264c24(0x2cd)],'params':{'unitId':_0x1af549,'actions':_0x17fb4d[_0x264c24(0x420)],'textRanges':null}};this[_0x264c24(0x5e6)](_0x5dae92);})),this[_0x1c0a39(0x49a)](this[_0x1c0a39(0x31f)]['onCommandExecuted']((_0x17805b,_0x1558fe)=>{const _0x203f96=_0x1c0a39;if(_0x17805b['type']!==a[_0x203f96(0x279)][_0x203f96(0x2cd)]||_0x1558fe!=null&&_0x1558fe[_0x203f96(0x242)]||_0x1558fe!=null&&_0x1558fe[_0x203f96(0x513)]||_0x17805b['id']===Ie[_0x203f96(0x2a9)]['id'])return;const _0x33eb61=_0x17805b[_0x203f96(0x208)];if((_0x33eb61==null?void 0x0:_0x33eb61[_0x203f96(0x27f)])!==this[_0x203f96(0x3b0)])return;const _0x1a6317=_0x17805b,_0x7055df=this['_compressMutationService'][_0x203f96(0x573)][_0x203f96(0x5f4)](this['_compressMutationService'][_0x203f96(0x573)][_0x203f96(0x58a)]()[_0x203f96(0x1f7)])([_0x1a6317],null)||[_0x1a6317];this[_0x203f96(0x5e6)](_0x7055df[0x0]);})),_0xd5f35a;}},exports[_0x4fac68(0x1d8)]=Ot([H(0x3,a['Inject'](a[_0x4fac68(0x508)])),H(0x4,a[_0x4fac68(0x55d)](exports[_0x4fac68(0x461)])),H(0x5,a[_0x4fac68(0x55d)](p['CompressMutationService'])),H(0x6,a[_0x4fac68(0x55d)](a[_0x4fac68(0x411)])),H(0x7,a[_0x4fac68(0x55d)](p[_0x4fac68(0x30d)])),H(0x8,a[_0x4fac68(0x55d)](J['DocStateChangeManagerService'])),H(0x9,a[_0x4fac68(0x55d)](Be)),H(0xa,a['Inject'](We)),H(0xb,a[_0x4fac68(0x55d)](Fe)),H(0xc,a['Inject'](yt)),H(0xd,a['ILogService']),H(0xe,a['ICommandService']),H(0xf,te[_0x4fac68(0x4ff)]),H(0x10,a[_0x4fac68(0x1ff)]),H(0x11,a['Optional'](ze))],exports[_0x4fac68(0x1d8)]),exports['SheetCollaborationEntity']=class extends exports['CollaborationEntity']{constructor(_0x168728,_0x49ac82,_0x13c950,_0x18f86c,_0x58d3ec,_0x138cd0,_0x9eb66b,_0x5ec318,_0x1e81c5,_0xdf3990,_0x5cf9c3,_0x50f707,_0x4be000,_0x2d8b3e){const _0x4e3636=_0x4fac68;super(_0x168728,_0x13c950,_0x49ac82,_0x18f86c,_0x58d3ec,_0x138cd0,_0x9eb66b,_0x5ec318,_0xdf3990,_0x5cf9c3,_0x50f707,_0x4be000,_0x2d8b3e),this[_0x4e3636(0x3b0)]=_0x168728,this[_0x4e3636(0x646)]=_0x49ac82,this[_0x4e3636(0x1b7)]=_0x1e81c5;}[_0x4fac68(0x5be)](){const _0x207a1f=_0x4fac68,_0x539877=super[_0x207a1f(0x5be)]();return _0x539877[_0x207a1f(0x2f1)]=_0x430364=>this[_0x207a1f(0x1b7)][_0x207a1f(0x54b)](_0x430364),_0x539877;}async['_init'](){const _0xc4188=_0x4fac68,_0x388e04=await super[_0xc4188(0x47f)]();return this[_0xc4188(0x49a)](this[_0xc4188(0x31f)][_0xc4188(0x257)]((_0x582274,_0x1373f8)=>{const _0x3a3abe=_0xc4188;if(_0x582274[_0x3a3abe(0x646)]!==a[_0x3a3abe(0x279)][_0x3a3abe(0x2cd)]||_0x1373f8!=null&&_0x1373f8['fromCollab']||_0x1373f8!=null&&_0x1373f8[_0x3a3abe(0x513)])return;const _0x3ec3cb=_0x582274[_0x3a3abe(0x208)];if((_0x3ec3cb==null?void 0x0:_0x3ec3cb[_0x3a3abe(0x27f)])!==this['unitID'])return;const _0x2005f6=_0x582274,_0x478e22=this['_compressMutationService'][_0x3a3abe(0x573)][_0x3a3abe(0x5f4)](this[_0x3a3abe(0x543)][_0x3a3abe(0x573)][_0x3a3abe(0x58a)]()[_0x3a3abe(0x1f7)])([_0x2005f6],null)||[_0x2005f6];this['_onLocalMutation'](_0x478e22[0x0]);})),_0x388e04;}},exports[_0x4fac68(0x1d3)]=Ot([H(0x3,a[_0x4fac68(0x55d)](a[_0x4fac68(0x508)])),H(0x4,a['Inject'](exports[_0x4fac68(0x461)])),H(0x5,a['Inject'](p[_0x4fac68(0x20b)])),H(0x6,a[_0x4fac68(0x55d)](a[_0x4fac68(0x411)])),H(0x7,a['Inject'](p[_0x4fac68(0x30d)])),H(0x8,a['Inject'](ke)),H(0x9,a['ILogService']),H(0xa,a[_0x4fac68(0x19d)]),H(0xb,te[_0x4fac68(0x4ff)]),H(0xc,a[_0x4fac68(0x1ff)]),H(0xd,a[_0x4fac68(0x394)](ze))],exports['SheetCollaborationEntity']);var Yn=Object[_0x4fac68(0x470)],Kn=Object['getOwnPropertyDescriptor'],qn=(_0x5ce9f0,_0x580e0a,_0x36d56d,_0x3a8869)=>{const _0x1084a5=_0x4fac68;for(var _0x22ec5e=_0x3a8869>0x1?void 0x0:_0x3a8869?Kn(_0x580e0a,_0x36d56d):_0x580e0a,_0x204f7c=_0x5ce9f0[_0x1084a5(0x42e)]-0x1,_0x1a2468;_0x204f7c>=0x0;_0x204f7c--)(_0x1a2468=_0x5ce9f0[_0x204f7c])&&(_0x22ec5e=(_0x3a8869?_0x1a2468(_0x580e0a,_0x36d56d,_0x22ec5e):_0x1a2468(_0x22ec5e))||_0x22ec5e);return _0x3a8869&&_0x22ec5e&&Yn(_0x580e0a,_0x36d56d,_0x22ec5e),_0x22ec5e;},it=(_0x31b786,_0x329434)=>(_0x5bc9c4,_0x29d02a)=>_0x329434(_0x5bc9c4,_0x29d02a,_0x31b786);exports[_0x4fac68(0x191)]=class extends a[_0x4fac68(0x1e0)]{constructor(_0x49250e,_0xdd0c30,_0x3c5107){const _0x2c4dbe=_0x4fac68;super(),I(this,_0x2c4dbe(0x2b4),new Map()),I(this,_0x2c4dbe(0x38c),new A[(_0x2c4dbe(0x24e))]()),(this[_0x2c4dbe(0x5f2)]=_0x49250e,this[_0x2c4dbe(0x60f)]=_0xdd0c30,this[_0x2c4dbe(0x241)]=_0x3c5107,this[_0x2c4dbe(0x47f)]());}[_0x4fac68(0x48e)](){const _0x1c2988=_0x4fac68;super[_0x1c2988(0x48e)](),this[_0x1c2988(0x2b4)]['forEach'](_0x3d3b27=>_0x3d3b27[_0x1c2988(0x48e)]()),this['_entities']['clear']();}['getCollabEntity'](_0x3f02b6){const _0x3b0ddc=_0x4fac68;var _0x48ece7;return(_0x48ece7=this[_0x3b0ddc(0x2b4)][_0x3b0ddc(0x2ef)](_0x3f02b6))!=null?_0x48ece7:null;}[_0x4fac68(0x1a7)](_0x5622b3){const _0x5d7ce2=_0x4fac68,_0x10cfc0=this[_0x5d7ce2(0x3e6)](_0x5622b3);return _0x10cfc0?A['of'](_0x10cfc0):this[_0x5d7ce2(0x38c)][_0x5d7ce2(0x355)](V[_0x5d7ce2(0x432)](_0x539550=>_0x539550[_0x5d7ce2(0x3b0)]===_0x5622b3));}['_init'](){const _0xe0746d=_0x4fac68;this['_univerInstanceService'][_0xe0746d(0x571)](a[_0xe0746d(0x4e2)]['UNIVER_SHEET'])['pipe'](A['takeUntil'](this[_0xe0746d(0x3ee)]),V[_0xe0746d(0x3b2)](0x10))[_0xe0746d(0x38e)](async _0x4d2c19=>{const _0x2dd1ef=_0xe0746d,_0x4024a3=_0x4d2c19[_0x2dd1ef(0x3bb)](),_0x32dac4=await this[_0x2dd1ef(0x24c)](_0x4024a3,ne[_0x2dd1ef(0x3f3)]);this[_0x2dd1ef(0x2b4)]['set'](_0x4024a3,_0x32dac4);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0xe0746d(0x4e2)][_0xe0746d(0x465)])['pipe'](A[_0xe0746d(0x2e7)](this[_0xe0746d(0x3ee)]),V[_0xe0746d(0x3b2)](0x10))['pipe'](V[_0xe0746d(0x432)](_0x4ed873=>!_0x4ed873['getUnitId']()['startsWith']('__')))[_0xe0746d(0x38e)](async _0x3631f1=>{const _0x2c7abf=_0xe0746d,_0x462f78=_0x3631f1[_0x2c7abf(0x3bb)](),_0x3b9018=await this[_0x2c7abf(0x24c)](_0x462f78,ne[_0x2c7abf(0x465)]);this[_0x2c7abf(0x2b4)][_0x2c7abf(0x558)](_0x462f78,_0x3b9018);}),A['merge'](this[_0xe0746d(0x241)][_0xe0746d(0x415)](a['UniverInstanceType'][_0xe0746d(0x3f3)]),this[_0xe0746d(0x241)][_0xe0746d(0x415)](a['UniverInstanceType'][_0xe0746d(0x465)]))[_0xe0746d(0x355)](A['takeUntil'](this[_0xe0746d(0x3ee)]))['subscribe'](_0x1ef775=>{const _0x565651=_0xe0746d,_0x3da99c=_0x1ef775[_0x565651(0x3bb)](),_0x1fd8fa=this[_0x565651(0x2b4)][_0x565651(0x2ef)](_0x3da99c);_0x1fd8fa&&(_0x1fd8fa[_0x565651(0x48e)](),this['_entities']['delete'](_0x3da99c));});}async['_startCollaboration'](_0x24c6c1,_0x5a7a87){const _0x25923d=_0x4fac68,_0x5c254a=await this[_0x25923d(0x60f)]['requireSession'](_0x24c6c1),_0x425279=this[_0x25923d(0x5f2)][_0x25923d(0x5c7)](this[_0x25923d(0x1f0)](_0x5a7a87),_0x24c6c1,_0x5a7a87,_0x5c254a);return await _0x425279[_0x25923d(0x3cf)](),this[_0x25923d(0x38c)][_0x25923d(0x250)](_0x425279),_0x425279;}['_getCtorByUniverType'](_0x369e9f){const _0x2d8322=_0x4fac68;switch(_0x369e9f){case ne['UNIVER_DOC']:return exports[_0x2d8322(0x1d8)];case ne[_0x2d8322(0x3f3)]:return exports[_0x2d8322(0x1d3)];default:throw new Error(_0x2d8322(0x557)+_0x369e9f);}}},exports[_0x4fac68(0x191)]=qn([it(0x0,a['Inject'](a['Injector'])),it(0x1,a[_0x4fac68(0x55d)](exports[_0x4fac68(0x25a)])),it(0x2,a[_0x4fac68(0x590)])],exports[_0x4fac68(0x191)]);var zn=Object[_0x4fac68(0x470)],Xn=Object[_0x4fac68(0x340)],Jn=(_0x4322a4,_0x54de68,_0x37b110,_0x48c8a5)=>{for(var _0x3e8fc4=_0x48c8a5>0x1?void 0x0:_0x48c8a5?Xn(_0x54de68,_0x37b110):_0x54de68,_0x53c40a=_0x4322a4['length']-0x1,_0x597f9b;_0x53c40a>=0x0;_0x53c40a--)(_0x597f9b=_0x4322a4[_0x53c40a])&&(_0x3e8fc4=(_0x48c8a5?_0x597f9b(_0x54de68,_0x37b110,_0x3e8fc4):_0x597f9b(_0x3e8fc4))||_0x3e8fc4);return _0x48c8a5&&_0x3e8fc4&&zn(_0x54de68,_0x37b110,_0x3e8fc4),_0x3e8fc4;},Bt=(_0x4dfcb5,_0x3b7b63)=>(_0x4f541e,_0x1d6bb8)=>_0x3b7b63(_0x4f541e,_0x1d6bb8,_0x4dfcb5);let Ve=class extends a['RxDisposable']{constructor(_0x3fb81e,_0x26f7e4){const _0x295574=_0x4fac68;super(),this[_0x295574(0x4b8)]=_0x3fb81e,this[_0x295574(0x408)]=_0x26f7e4,this[_0x295574(0x47f)]();}[_0x4fac68(0x47f)](){const _0x599a1f=_0x4fac68,_0x23b530=this;this[_0x599a1f(0x49a)](this[_0x599a1f(0x4b8)][_0x599a1f(0x20a)]({'onBeforePasteImage':async _0x459c12=>{const _0x552f35=_0x599a1f,_0x37976c=await _0x23b530['_imageIoService'][_0x552f35(0x262)](_0x459c12);return _0x37976c?{'source':_0x37976c[_0x552f35(0x58e)],'imageSourceType':_0x37976c['imageSourceType']}:null;}}));}};Ve=Jn([Bt(0x0,J[_0x4fac68(0x427)]),Bt(0x1,ie[_0x4fac68(0x431)])],Ve);const kt=[_0x4fac68(0x4aa),_0x4fac68(0x17b),_0x4fac68(0x4c7),_0x4fac68(0x19f),'blue400',_0x4fac68(0x3e3)];class Dt extends a['Disposable']{constructor(){const _0x200d1e=_0x4fac68;super(...arguments),I(this,_0x200d1e(0x633),new Map()),I(this,_0x200d1e(0x4d9),0x0);}[_0x4fac68(0x597)](_0x59dccd){const _0x1ca8a6=_0x4fac68;if(this['_assignedColors']['has'](_0x59dccd))return this[_0x1ca8a6(0x633)][_0x1ca8a6(0x2ef)](_0x59dccd);const _0x138c79=kt[this[_0x1ca8a6(0x4d9)]];return this[_0x1ca8a6(0x4d9)]=(this[_0x1ca8a6(0x4d9)]+0x1)%kt['length'],this[_0x1ca8a6(0x633)][_0x1ca8a6(0x558)](_0x59dccd,_0x138c79),_0x138c79;}}var Zn=Object[_0x4fac68(0x470)],Qn=Object[_0x4fac68(0x340)],es=(_0x30afb8,_0x35b4b6,_0x23cf66,_0x592c3e)=>{const _0xf37262=_0x4fac68;for(var _0x476944=_0x592c3e>0x1?void 0x0:_0x592c3e?Qn(_0x35b4b6,_0x23cf66):_0x35b4b6,_0x2ef721=_0x30afb8[_0xf37262(0x42e)]-0x1,_0x999123;_0x2ef721>=0x0;_0x2ef721--)(_0x999123=_0x30afb8[_0x2ef721])&&(_0x476944=(_0x592c3e?_0x999123(_0x35b4b6,_0x23cf66,_0x476944):_0x999123(_0x476944))||_0x476944);return _0x592c3e&&_0x476944&&Zn(_0x35b4b6,_0x23cf66,_0x476944),_0x476944;},me=(_0x6652cb,_0x1e88c6)=>(_0x5b43ef,_0x57d6f3)=>_0x1e88c6(_0x5b43ef,_0x57d6f3,_0x6652cb);const ts=0x12c,is=0x64;let pt=class extends a[_0x4fac68(0x1e0)]{constructor(_0x29f804,_0x70ecd3,_0x281dab,_0xd1ad,_0x2e1a2c,_0x1bc24c,_0x49eb6f,_0x50aa00,_0x459e9d){const _0x15c510=_0x4fac68;super(),I(this,_0x15c510(0x4d8),!0x1),I(this,_0x15c510(0x47f),!0x1),I(this,_0x15c510(0x25e),new A[(_0x15c510(0x4f6))](new Map())),I(this,_0x15c510(0x54f),this[_0x15c510(0x25e)]['asObservable']()),I(this,_0x15c510(0x451),new A[(_0x15c510(0x4f6))]([])),I(this,'roomMembers$',this[_0x15c510(0x451)][_0x15c510(0x355)](A['debounceTime'](ts))),I(this,'_updateLocalCursor',a['debounce'](_0x4a5462=>{const _0x4a928c=_0x15c510,_0x40c92a={'eventID':p['CollaborationEvent'][_0x4a928c(0x396)],'data':{'unitID':this['unitID'],'memberID':this[_0x4a928c(0x1fd)]['getMemberID'](),'selection':Si(_0x4a5462)}};this[_0x4a928c(0x1fd)][_0x4a928c(0x5c2)](_0x40c92a,this['unitID']);},is)),(this[_0x15c510(0x3b0)]=_0x29f804,this[_0x15c510(0x1fd)]=_0x70ecd3,this[_0x15c510(0x5f2)]=_0x281dab,this[_0x15c510(0x5a7)]=_0xd1ad,this[_0x15c510(0x2d4)]=_0x2e1a2c,this['_syncEditingCollabCursorService']=_0x1bc24c,this[_0x15c510(0x433)]=_0x49eb6f,this[_0x15c510(0x241)]=_0x50aa00,this[_0x15c510(0x31f)]=_0x459e9d);}get[_0x4fac68(0x3b1)](){const _0xbda1d0=_0x4fac68;return this[_0xbda1d0(0x25e)][_0xbda1d0(0x252)]();}get[_0x4fac68(0x255)](){const _0x56cfac=_0x4fac68;return this[_0x56cfac(0x451)]['getValue']();}['dispose'](){const _0x445e49=_0x4fac68;super[_0x445e49(0x48e)](),this[_0x445e49(0x25e)][_0x445e49(0x250)](new Map()),this[_0x445e49(0x25e)][_0x445e49(0x605)](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x445e49(0x605)]();}[_0x4fac68(0x3cf)](){const _0xab49dc=_0x4fac68;this[_0xab49dc(0x47f)]||(this[_0xab49dc(0x47f)]=!0x0,this[_0xab49dc(0x1fd)][_0xab49dc(0x1a6)][_0xab49dc(0x355)](A[_0xab49dc(0x2e7)](this['dispose$']))[_0xab49dc(0x38e)](_0x9a9085=>{const _0x1a8bf9=_0xab49dc;_0x9a9085===se[_0x1a8bf9(0x493)]?this[_0x1a8bf9(0x574)]():this['_toggleOffline']();}),this[_0xab49dc(0x1fd)]['event$']['pipe'](A[_0xab49dc(0x2e7)](this[_0xab49dc(0x3ee)]))[_0xab49dc(0x38e)](_0x58c619=>{const _0xeb9046=_0xab49dc,_0x20008a=_0x58c619['eventID'];_0x20008a===p[_0xeb9046(0x3a3)][_0xeb9046(0x396)]&&this[_0xeb9046(0x43d)](_0x58c619),_0x20008a===p[_0xeb9046(0x3a3)][_0xeb9046(0x3a0)]&&this[_0xeb9046(0x64e)](_0x58c619);}),this['disposeWithMe'](this['_commandService'][_0xab49dc(0x257)](_0x2f1b04=>{const _0x5d7f0d=_0xab49dc,_0x10de8f=_0x2f1b04[_0x5d7f0d(0x208)];_0x10de8f!=null&&this[_0x5d7f0d(0x4d8)]&&_0x2f1b04['id']===Ie[_0x5d7f0d(0x328)]['id']&&_0x10de8f['unitId']===this[_0x5d7f0d(0x3b0)]&&_0x10de8f[_0x5d7f0d(0x5c3)]===!0x1&&_0x10de8f[_0x5d7f0d(0x297)][_0x5d7f0d(0x42e)]>0x0&&this[_0x5d7f0d(0x474)](_0x10de8f[_0x5d7f0d(0x297)]);})),this['_syncEditingCollabCursorService'][_0xab49dc(0x301)][_0xab49dc(0x355)](A['takeUntil'](this[_0xab49dc(0x3ee)]))[_0xab49dc(0x38e)](_0x59dab7=>{const _0x4b8593=_0xab49dc;if((_0x59dab7==null?void 0x0:_0x59dab7[_0x4b8593(0x3b0)])!==this[_0x4b8593(0x3b0)])return;const _0x2fe9a2={'eventID':p[_0x4b8593(0x3a3)]['UPDATE_CURSOR'],'data':_0x59dab7};this[_0x4b8593(0x43d)](_0x2fe9a2);}),this[_0xab49dc(0x49a)](this[_0xab49dc(0x31f)][_0xab49dc(0x257)](_0x3b8f19=>{const _0x3435c9=_0xab49dc;if(_0x3b8f19[_0x3435c9(0x208)]==null)return;const _0x2ea2aa=_0x3b8f19['params'];if(_0x3b8f19['id']!==Ie[_0x3435c9(0x2a9)]['id']||_0x2ea2aa[_0x3435c9(0x27f)]!==this[_0x3435c9(0x3b0)])return;const _0x36a22f={'id':'doc.mutation.rich-text-editing','params':_0x2ea2aa},_0x4396e0=this[_0x3435c9(0x3b1)];for(const [_0x566372,_0x3516f4]of _0x4396e0){const _0xa592da={'id':_0x3435c9(0x325),'params':{'unitId':this[_0x3435c9(0x3b0)],'actions':null,'textRanges':_0x3516f4[_0x3435c9(0x297)]}},_0xcbef40=this[_0x3435c9(0x433)][_0x3435c9(0x1eb)](_0x36a22f,_0xa592da,!0x1);if(p[_0x3435c9(0x185)](_0xcbef40))throw _0xcbef40[_0x3435c9(0x26f)];_0x4396e0[_0x3435c9(0x558)](_0x566372,{..._0x3516f4,'ranges':_0xcbef40[_0x3435c9(0x515)]['params'][_0x3435c9(0x4ad)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x4396e0);});})));}[_0x4fac68(0x43d)](_0x1a6478){const _0x437511=_0x4fac68;var _0xeab819,_0x11792e;const {memberID:_0x41f241,selection:_0x397a46}=_0x1a6478['data'],_0xe89956=Ln(_0x397a46),_0x25de7a=(_0x11792e=(_0xeab819=this[_0x437511(0x2d4)]['getMember'](this[_0x437511(0x3b0)],_0x41f241))==null?void 0x0:_0xeab819['name'])!=null?_0x11792e:'Unknown\x20user',_0x3be0d5={'color':this[_0x437511(0x5a7)]['assignAColorForMemberID'](_0x41f241),'name':_0x25de7a,'ranges':_0xe89956},_0x3ab179=this[_0x437511(0x3b1)];_0x3ab179[_0x437511(0x558)](_0x41f241,_0x3be0d5),this[_0x437511(0x25e)][_0x437511(0x250)](_0x3ab179);}[_0x4fac68(0x64e)](_0x426b7f){const _0x3cd174=_0x4fac68,{memberID:_0x252045}=_0x426b7f['data'],_0x58d418=this[_0x3cd174(0x3b1)];_0x58d418[_0x3cd174(0x472)](_0x252045),this['_cursorInfo$'][_0x3cd174(0x250)](_0x58d418);}['_toggleOnline'](){const _0x51104e=_0x4fac68;var _0x1f8283;if(this[_0x51104e(0x4d8)]=!0x0,((_0x1f8283=this['_univerInstanceService'][_0x51104e(0x54a)]())==null?void 0x0:_0x1f8283[_0x51104e(0x3bb)]())!==this[_0x51104e(0x3b0)])return;const _0x3138e0=this[_0x51104e(0x5f2)][_0x51104e(0x2ef)](Ie[_0x51104e(0x63f)])[_0x51104e(0x29a)]();Array[_0x51104e(0x56f)](_0x3138e0)&&_0x3138e0[_0x51104e(0x42e)]>0x0&&this[_0x51104e(0x474)](_0x3138e0);}[_0x4fac68(0x251)](){const _0x547bfb=_0x4fac68;this[_0x547bfb(0x4d8)]=!0x1;}};pt=es([me(0x2,a['Inject'](a[_0x4fac68(0x508)])),me(0x3,a['Inject'](Dt)),me(0x4,a[_0x4fac68(0x55d)](exports['MemberService'])),me(0x5,a[_0x4fac68(0x55d)](yt)),me(0x6,p[_0x4fac68(0x22f)]),me(0x7,a[_0x4fac68(0x590)]),me(0x8,a[_0x4fac68(0x19d)])],pt);var ns=Object[_0x4fac68(0x470)],ss=Object['getOwnPropertyDescriptor'],rs=(_0x5d9e1f,_0x1f4bf9,_0x56d8aa,_0x2f31c8)=>{const _0x5d07e5=_0x4fac68;for(var _0x370dc8=_0x2f31c8>0x1?void 0x0:_0x2f31c8?ss(_0x1f4bf9,_0x56d8aa):_0x1f4bf9,_0x21757b=_0x5d9e1f[_0x5d07e5(0x42e)]-0x1,_0x9b0908;_0x21757b>=0x0;_0x21757b--)(_0x9b0908=_0x5d9e1f[_0x21757b])&&(_0x370dc8=(_0x2f31c8?_0x9b0908(_0x1f4bf9,_0x56d8aa,_0x370dc8):_0x9b0908(_0x370dc8))||_0x370dc8);return _0x2f31c8&&_0x370dc8&&ns(_0x1f4bf9,_0x56d8aa,_0x370dc8),_0x370dc8;},Te=(_0x4a0e43,_0x59711e)=>(_0x183ebe,_0xfc3412)=>_0x59711e(_0x183ebe,_0xfc3412,_0x4a0e43);const os=0x12c,as=0x64,cs=()=>{let _0x4bda80=[],_0x4ec6f0=!0x1;return _0x58c042=>{const _0x17bd09=_0x10f0;_0x4bda80[_0x17bd09(0x64b)](_0x58c042),_0x4ec6f0||(_0x4ec6f0=!0x0,setTimeout(()=>{const _0xf4315b=_0x17bd09;_0x4bda80[_0xf4315b(0x289)](_0x2fcd88=>_0x2fcd88()),_0x4bda80=[],_0x4ec6f0=!0x1;}));};};let mt=class extends a['RxDisposable']{constructor(_0x3bc0e1,_0x489e66,_0x5bf428,_0x3c7897,_0x43a016,_0x25e538,_0x4b0b85,_0x49f874){const _0x5233c5=_0x4fac68;super(),I(this,'_online',!0x1),I(this,_0x5233c5(0x47f),!0x1),I(this,_0x5233c5(0x25e),new A[(_0x5233c5(0x4f6))](new Map())),I(this,_0x5233c5(0x54f),this[_0x5233c5(0x25e)][_0x5233c5(0x5ba)]()),I(this,_0x5233c5(0x451),new A[(_0x5233c5(0x4f6))]([])),I(this,_0x5233c5(0x524),this[_0x5233c5(0x451)][_0x5233c5(0x355)](A[_0x5233c5(0x47e)](os))),I(this,_0x5233c5(0x474),a[_0x5233c5(0x535)]((_0x3fd010,_0x242af7)=>{const _0x3910be=_0x5233c5,_0x152956={'eventID':p['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x3910be(0x3b0)],'memberID':this[_0x3910be(0x1fd)][_0x3910be(0x4b1)](),'selection':Mt[_0x3910be(0x2bb)](_0x3fd010,_0x242af7[_0x3910be(0x321)])}};this[_0x3910be(0x1fd)][_0x3910be(0x5c2)](_0x152956,this[_0x3910be(0x3b0)]);},as)),(this[_0x5233c5(0x3b0)]=_0x3bc0e1,this['_session']=_0x489e66,this[_0x5233c5(0x5f2)]=_0x5bf428,this[_0x5233c5(0x5a7)]=_0x3c7897,this['_memberService']=_0x43a016,this['_univerInstanceService']=_0x25e538,this[_0x5233c5(0x31f)]=_0x4b0b85,this[_0x5233c5(0x293)]=_0x49f874);}get[_0x4fac68(0x3b1)](){const _0xdf33f7=_0x4fac68;return this[_0xdf33f7(0x25e)][_0xdf33f7(0x252)]();}get[_0x4fac68(0x255)](){return this['_roomMembers$']['getValue']();}[_0x4fac68(0x48e)](){const _0x5baaab=_0x4fac68;super['dispose'](),this['_cursorInfo$'][_0x5baaab(0x250)](new Map()),this['_cursorInfo$'][_0x5baaab(0x605)](),this['_roomMembers$'][_0x5baaab(0x250)]([]),this[_0x5baaab(0x451)][_0x5baaab(0x605)]();}[_0x4fac68(0x3cf)](){const _0x5b34e2=_0x4fac68;this[_0x5b34e2(0x47f)]||(this[_0x5b34e2(0x47f)]=!0x0,this[_0x5b34e2(0x1fd)][_0x5b34e2(0x1a6)][_0x5b34e2(0x355)](A[_0x5b34e2(0x2e7)](this[_0x5b34e2(0x3ee)]))[_0x5b34e2(0x38e)](_0x3cfe9e=>{const _0x5466f6=_0x5b34e2;_0x3cfe9e===se[_0x5466f6(0x493)]?this[_0x5466f6(0x574)]():this[_0x5466f6(0x251)]();}),this[_0x5b34e2(0x1fd)][_0x5b34e2(0x4a3)][_0x5b34e2(0x355)](A['takeUntil'](this[_0x5b34e2(0x3ee)]))[_0x5b34e2(0x38e)](_0x4916aa=>{const _0x55425c=_0x5b34e2,_0x1058b8=_0x4916aa[_0x55425c(0x33f)];_0x1058b8===p['CollaborationEvent'][_0x55425c(0x396)]&&this[_0x55425c(0x43d)](_0x4916aa),_0x1058b8===p[_0x55425c(0x3a3)]['USERS_LEAVE']&&this[_0x55425c(0x64e)](_0x4916aa);}),this[_0x5b34e2(0x338)](),this[_0x5b34e2(0x49a)](this[_0x5b34e2(0x31f)][_0x5b34e2(0x257)](_0xcc500a=>{const _0x3519aa=_0x5b34e2;if(this[_0x3519aa(0x4d8)]&&_0xcc500a['id']===k['SetSelectionsOperation']['id']&&_0xcc500a[_0x3519aa(0x208)][_0x3519aa(0x27f)]===this[_0x3519aa(0x3b0)]){const _0x2b0a98=_0xcc500a['params'];this[_0x3519aa(0x474)](_0x2b0a98[_0x3519aa(0x181)],_0x2b0a98[_0x3519aa(0x333)][0x0]);}})));}[_0x4fac68(0x43d)](_0x35794f){const _0x237a0d=_0x4fac68;var _0x11e7ae,_0x225c44;const {memberID:_0x29ae03,selection:_0x38abf2}=_0x35794f['data'],{sheetName:_0x43a6dc,range:_0x1fd49b}=Mt['deserializeRangeWithSheet'](_0x38abf2),_0x166d9b={'name':(_0x225c44=(_0x11e7ae=this[_0x237a0d(0x2d4)][_0x237a0d(0x2d6)](this[_0x237a0d(0x3b0)],_0x29ae03))==null?void 0x0:_0x11e7ae[_0x237a0d(0x3af)])!=null?_0x225c44:_0x237a0d(0x3fb),'range':this[_0x237a0d(0x3ce)](_0x43a6dc,_0x1fd49b),'sheetID':_0x43a6dc,'color':this[_0x237a0d(0x5a7)][_0x237a0d(0x597)](_0x29ae03),'selection':_0x38abf2},_0x5b251f=this[_0x237a0d(0x3b1)];_0x5b251f[_0x237a0d(0x558)](_0x29ae03,_0x166d9b),this[_0x237a0d(0x25e)][_0x237a0d(0x250)](_0x5b251f);}[_0x4fac68(0x64e)](_0x36af2e){const _0x323ac0=_0x4fac68,{memberID:_0x365e64}=_0x36af2e[_0x323ac0(0x44a)],_0x30ba41=this[_0x323ac0(0x3b1)];_0x30ba41['delete'](_0x365e64),this[_0x323ac0(0x25e)][_0x323ac0(0x250)](_0x30ba41);}[_0x4fac68(0x3ce)](_0x35aeb5,_0x3e7f5f){const _0x3071cf=_0x4fac68;var _0xb2c905,_0x46b2e3;const _0x58bdf6=(_0x46b2e3=(_0xb2c905=this[_0x3071cf(0x241)][_0x3071cf(0x61c)](this[_0x3071cf(0x3b0)]))==null?void 0x0:_0xb2c905[_0x3071cf(0x40f)](_0x35aeb5))==null?void 0x0:_0x46b2e3['getMergeData']();return(_0x58bdf6==null?void 0x0:_0x58bdf6[_0x3071cf(0x4dc)](_0x4991c4=>a['Rectangle']['contains'](_0x4991c4,_0x3e7f5f)))||_0x3e7f5f;}[_0x4fac68(0x338)](){const _0x102ee1=_0x4fac68,_0x17d383=new a['DisposableCollection'](),_0x3341a0=cs(),_0x4ea0c8=()=>{const _0x573cd7=_0x10f0;_0x17d383['dispose']();const _0x1554ba=(_0x3717b5,_0x303fb7,_0x483a38,_0x2b758a)=>{const _0x1b1700=_0x10f0;let _0x539225=[];switch(_0x3717b5['id']){case k[_0x1b1700(0x4b6)]['DeleteRangeMoveLeftCommandId']:{_0x539225=k[_0x1b1700(0x575)](_0x3717b5,_0x2b758a);break;}case k[_0x1b1700(0x4b6)]['DeleteRangeMoveUpCommandId']:{_0x539225=k['handleDeleteRangeMoveUp'](_0x3717b5,_0x2b758a);break;}case k[_0x1b1700(0x4b6)][_0x1b1700(0x3f9)]:{_0x539225=k[_0x1b1700(0x288)](_0x3717b5,_0x2b758a);break;}case k[_0x1b1700(0x4b6)]['InsertRangeMoveDownCommandId']:{_0x539225=k[_0x1b1700(0x28e)](_0x3717b5,_0x2b758a);break;}case k[_0x1b1700(0x4b6)]['InsertRangeMoveRightCommandId']:{_0x539225=k[_0x1b1700(0x5cb)](_0x3717b5,_0x2b758a);break;}case k[_0x1b1700(0x4b6)][_0x1b1700(0x607)]:{_0x539225=k[_0x1b1700(0x56d)](_0x3717b5,_0x2b758a);break;}case k[_0x1b1700(0x4b6)][_0x1b1700(0x2e3)]:{_0x539225=k['handleMoveRange'](_0x3717b5,_0x2b758a);break;}case k['EffectRefRangId']['RemoveColCommandId']:{_0x539225=k[_0x1b1700(0x602)](_0x3717b5,_0x2b758a);break;}case k[_0x1b1700(0x4b6)]['RemoveRowCommandId']:{_0x539225=k[_0x1b1700(0x4ea)](_0x3717b5,_0x2b758a);break;}}const _0x1ea099=k[_0x1b1700(0x322)](_0x539225,_0x2b758a),_0x38e95b=this[_0x1b1700(0x3b1)][_0x1b1700(0x2ef)](_0x303fb7);if(_0x38e95b&&_0x1ea099){const _0x2fc6ac={..._0x38e95b,'range':_0x1ea099};this[_0x1b1700(0x3b1)]['set'](_0x303fb7,_0x2fc6ac),_0x3341a0(()=>{const _0x29ac35=_0x1b1700,_0x3efed1=this['_refRangeService'][_0x29ac35(0x2a8)](_0x1ea099,_0x223d64=>(_0x3efed1['dispose'](),_0x1554ba(_0x223d64,_0x303fb7,_0x483a38,_0x1ea099)));_0x17d383['add'](_0x3efed1);});}return{'redos':[],'undos':[]};};this[_0x573cd7(0x3b1)]['forEach']((_0x2afd9e,_0x30196a)=>{const _0x596c2e=_0x573cd7,{range:_0x2efb18,sheetID:_0x2c4d7f}=_0x2afd9e,_0x1267ce=this[_0x596c2e(0x293)][_0x596c2e(0x2a8)](_0x2efb18,_0x440744=>(_0x1267ce['dispose'](),_0x1554ba(_0x440744,_0x30196a,_0x2c4d7f,_0x2efb18)));_0x17d383[_0x596c2e(0x36f)](_0x1267ce);});};this[_0x102ee1(0x49a)](a[_0x102ee1(0x421)](this[_0x102ee1(0x25e)]['subscribe'](()=>{_0x4ea0c8();})));}[_0x4fac68(0x574)](){const _0x112140=_0x4fac68;var _0x346172,_0x12fb03;if(this[_0x112140(0x4d8)]=!0x0,((_0x346172=this[_0x112140(0x241)][_0x112140(0x54a)]())==null?void 0x0:_0x346172[_0x112140(0x3bb)]())!==this[_0x112140(0x3b0)])return;const _0xc1d223=(_0x12fb03=this[_0x112140(0x5f2)]['get'](k['SheetsSelectionsService'])[_0x112140(0x635)]())==null?void 0x0:_0x12fb03[0x0],_0x19185b=this[_0x112140(0x241)][_0x112140(0x320)](a[_0x112140(0x4e2)][_0x112140(0x3f3)])[_0x112140(0x1a1)]();_0xc1d223&&_0x19185b&&this['_updateLocalCursor'](_0x19185b[_0x112140(0x1be)](),_0xc1d223);}['_toggleOffline'](){const _0x5709c7=_0x4fac68;this[_0x5709c7(0x4d8)]=!0x1;}};mt=rs([Te(0x2,a[_0x4fac68(0x55d)](a[_0x4fac68(0x508)])),Te(0x3,a[_0x4fac68(0x55d)](Dt)),Te(0x4,a[_0x4fac68(0x55d)](exports[_0x4fac68(0x598)])),Te(0x5,a[_0x4fac68(0x590)]),Te(0x6,a[_0x4fac68(0x19d)]),Te(0x7,a[_0x4fac68(0x55d)](k[_0x4fac68(0x1af)]))],mt);var ls=Object['defineProperty'],hs=Object[_0x4fac68(0x340)],_s=(_0x2ec974,_0x1ebcac,_0x8e21bb,_0x1bc354)=>{const _0x43cc7a=_0x4fac68;for(var _0x2007fd=_0x1bc354>0x1?void 0x0:_0x1bc354?hs(_0x1ebcac,_0x8e21bb):_0x1ebcac,_0x4c0f23=_0x2ec974[_0x43cc7a(0x42e)]-0x1,_0x38a71f;_0x4c0f23>=0x0;_0x4c0f23--)(_0x38a71f=_0x2ec974[_0x4c0f23])&&(_0x2007fd=(_0x1bc354?_0x38a71f(_0x1ebcac,_0x8e21bb,_0x2007fd):_0x38a71f(_0x2007fd))||_0x2007fd);return _0x1bc354&&_0x2007fd&&ls(_0x1ebcac,_0x8e21bb,_0x2007fd),_0x2007fd;},nt=(_0x16e3f7,_0x2d500a)=>(_0x2462a3,_0x17b506)=>_0x2d500a(_0x2462a3,_0x17b506,_0x16e3f7);function _0x10f0(_0x5ae85c,_0x41e7d0){const _0x243eb4=_0x243e();return _0x10f0=function(_0x10f041,_0x3daca2){_0x10f041=_0x10f041-0x175;let _0x25a340=_0x243eb4[_0x10f041];return _0x25a340;},_0x10f0(_0x5ae85c,_0x41e7d0);}let De=class extends a['RxDisposable']{constructor(_0x58bb0b,_0x2d74a3,_0x4a27a8){const _0x4ec496=_0x4fac68;super(),I(this,'_entities',new Map()),I(this,'_entityInit$',new A[(_0x4ec496(0x24e))]()),(this[_0x4ec496(0x241)]=_0x58bb0b,this[_0x4ec496(0x5f2)]=_0x2d74a3,this['_collabSessionService']=_0x4a27a8,this['_init']());}[_0x4fac68(0x48e)](){const _0x568fa1=_0x4fac68;super[_0x568fa1(0x48e)](),this[_0x568fa1(0x38c)][_0x568fa1(0x605)](),this[_0x568fa1(0x2b4)][_0x568fa1(0x289)](_0x12dd93=>_0x12dd93[_0x568fa1(0x48e)]());}['getCollabCursors$'](_0x2d731d){const _0x5f4fec=_0x4fac68;return this[_0x5f4fec(0x2b4)]['has'](_0x2d731d)?this[_0x5f4fec(0x2b4)][_0x5f4fec(0x2ef)](_0x2d731d)[_0x5f4fec(0x54f)]:this[_0x5f4fec(0x38c)]['pipe'](A[_0x5f4fec(0x432)](_0x2dc729=>_0x2dc729[_0x5f4fec(0x3b0)]===_0x2d731d),A[_0x5f4fec(0x606)](_0x31ee22=>_0x31ee22[_0x5f4fec(0x54f)]));}[_0x4fac68(0x47f)](){const _0x4e197d=_0x4fac68;this[_0x4e197d(0x241)][_0x4e197d(0x571)](a[_0x4e197d(0x4e2)][_0x4e197d(0x3f3)])[_0x4e197d(0x355)](A[_0x4e197d(0x2e7)](this[_0x4e197d(0x3ee)]))[_0x4e197d(0x38e)](async _0x561e73=>{const _0x44c0ff=_0x4e197d,_0x52005e=_0x561e73[_0x44c0ff(0x3bb)](),_0xb6a4a8=await this[_0x44c0ff(0x63b)](_0x52005e);this['_entityInit$'][_0x44c0ff(0x250)](_0xb6a4a8),this['_entities'][_0x44c0ff(0x558)](_0x52005e,_0xb6a4a8);}),this['_univerInstanceService'][_0x4e197d(0x571)](a['UniverInstanceType'][_0x4e197d(0x465)])[_0x4e197d(0x355)](A['takeUntil'](this['dispose$']))['pipe'](A[_0x4e197d(0x432)](_0xd2d1cb=>!_0xd2d1cb[_0x4e197d(0x3bb)]()[_0x4e197d(0x272)]('__')))[_0x4e197d(0x38e)](async _0x30838b=>{const _0xf21784=_0x4e197d,_0x31b55d=_0x30838b['getUnitId'](),_0x4c45e6=await this[_0xf21784(0x362)](_0x31b55d);this[_0xf21784(0x38c)]['next'](_0x4c45e6),this[_0xf21784(0x2b4)][_0xf21784(0x558)](_0x31b55d,_0x4c45e6);}),A[_0x4e197d(0x593)](this[_0x4e197d(0x241)]['getTypeOfUnitDisposed$'](a[_0x4e197d(0x4e2)]['UNIVER_DOC']),this[_0x4e197d(0x241)][_0x4e197d(0x415)](a[_0x4e197d(0x4e2)][_0x4e197d(0x3f3)]))[_0x4e197d(0x355)](A['takeUntil'](this['dispose$']))[_0x4e197d(0x38e)](_0x3ee4c3=>{const _0x507562=_0x4e197d,_0x4de3d1=_0x3ee4c3[_0x507562(0x3bb)](),_0x1d0460=this[_0x507562(0x2b4)][_0x507562(0x2ef)](_0x4de3d1);_0x1d0460&&(_0x1d0460['dispose'](),this[_0x507562(0x2b4)][_0x507562(0x472)](_0x4de3d1));});}async[_0x4fac68(0x63b)](_0x58e831){const _0x2ccb9f=_0x4fac68,_0x259d4c=await this[_0x2ccb9f(0x60f)][_0x2ccb9f(0x5df)](_0x58e831),_0x50e19d=this[_0x2ccb9f(0x5f2)][_0x2ccb9f(0x5c7)](mt,_0x58e831,_0x259d4c);return _0x50e19d['init'](),_0x50e19d;}async[_0x4fac68(0x362)](_0x40f9b4){const _0x56a976=_0x4fac68,_0x58babd=await this[_0x56a976(0x60f)][_0x56a976(0x5df)](_0x40f9b4),_0xe7947d=this[_0x56a976(0x5f2)]['createInstance'](pt,_0x40f9b4,_0x58babd);return _0xe7947d[_0x56a976(0x3cf)](),_0xe7947d;}};De=_s([nt(0x0,a[_0x4fac68(0x590)]),nt(0x1,a[_0x4fac68(0x55d)](a[_0x4fac68(0x508)])),nt(0x2,a[_0x4fac68(0x55d)](exports['CollaborationSessionService']))],De);const Le=0x14,Wt=0xc8,st=0x4,us=0x5;function ds(_0x4e9be0,_0x31ef31){const _0x16f307=_0x4fac68;let {radius:_0x555bd4,width:_0x4a56e0,height:_0x39959e}=_0x31ef31;_0x555bd4=_0x555bd4!=null?_0x555bd4:0x0,_0x4a56e0=_0x4a56e0!=null?_0x4a56e0:0x1e,_0x39959e=_0x39959e!=null?_0x39959e:0x1e;let _0x2f508c=0x0,_0x3df55a=0x0,_0x37f7fb=0x0;_0x2f508c=_0x3df55a=_0x37f7fb=Math[_0x16f307(0x3c5)](_0x555bd4,_0x4a56e0/0x2,_0x39959e/0x2),_0x4e9be0[_0x16f307(0x34e)](),_0x4e9be0[_0x16f307(0x565)](_0x2f508c,0x0),_0x4e9be0[_0x16f307(0x34a)](_0x4a56e0-_0x3df55a,0x0),_0x4e9be0[_0x16f307(0x62a)](_0x4a56e0-_0x3df55a,_0x3df55a,_0x3df55a,Math['PI']*0x3/0x2,0x0,!0x1),_0x4e9be0[_0x16f307(0x34a)](_0x4a56e0,_0x39959e-_0x37f7fb),_0x4e9be0[_0x16f307(0x62a)](_0x4a56e0-_0x37f7fb,_0x39959e-_0x37f7fb,_0x37f7fb,0x0,Math['PI']/0x2,!0x1),_0x4e9be0[_0x16f307(0x34a)](0x0,_0x39959e),_0x4e9be0[_0x16f307(0x34a)](0x0,_0x2f508c),_0x4e9be0[_0x16f307(0x62a)](_0x2f508c,_0x2f508c,_0x2f508c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4e9be0[_0x16f307(0x46d)](),_0x31ef31[_0x16f307(0x368)]&&(_0x4e9be0[_0x16f307(0x35a)](),_0x4e9be0['fillStyle']=_0x31ef31[_0x16f307(0x368)],_0x31ef31['fillRule']===_0x16f307(0x1d5)?_0x4e9be0[_0x16f307(0x368)](_0x16f307(0x1d5)):_0x4e9be0[_0x16f307(0x368)](),_0x4e9be0[_0x16f307(0x2ea)]());}class Xe extends K[_0x4fac68(0x3c4)]{constructor(_0x286ffb,_0x298f0a){const _0x59b6e4=_0x4fac68;super(_0x286ffb,_0x298f0a),I(this,_0x59b6e4(0x1f3)),I(this,_0x59b6e4(0x4f2)),(this['color']=_0x298f0a==null?void 0x0:_0x298f0a[_0x59b6e4(0x1f3)],this['text']=_0x298f0a==null?void 0x0:_0x298f0a[_0x59b6e4(0x4f2)]);}static[_0x4fac68(0x3a5)](_0x3559b4,_0x4d2ec0){const _0x887930=_0x4fac68,{text:_0x1eafa4,color:_0x5252c0}=_0x4d2ec0;_0x3559b4[_0x887930(0x35a)](),_0x3559b4[_0x887930(0x4e6)]=_0x887930(0x48f);const _0x1cd9ba=_0x3559b4[_0x887930(0x19a)](_0x1eafa4)[_0x887930(0x417)],_0x4f4cb4=Math[_0x887930(0x3c5)](_0x1cd9ba+0x2*st,Wt);ds(_0x3559b4,{'height':Le,'radius':0x4,'width':_0x4f4cb4,'fill':_0x5252c0,'evented':!0x1}),_0x3559b4[_0x887930(0x1e4)]=_0x887930(0x1ce);const _0x3ea60d=st,_0x22f1bd=Le-us,_0x2d7a1c=Wt-0x2*st;if(_0x1cd9ba>_0x2d7a1c){let _0x1cd0c2='',_0x4230f7=0x0;for(const _0x32f755 of _0x1eafa4){const _0x4d8d0b=_0x3559b4[_0x887930(0x19a)](_0x32f755)[_0x887930(0x417)];if(_0x4230f7+_0x4d8d0b<=_0x2d7a1c-_0x3559b4[_0x887930(0x19a)](_0x887930(0x1e2))[_0x887930(0x417)])_0x1cd0c2+=_0x32f755,_0x4230f7+=_0x4d8d0b;else{_0x1cd0c2+=_0x887930(0x1e2);break;}}_0x3559b4[_0x887930(0x45c)](_0x1cd0c2,_0x3ea60d,_0x22f1bd);}else _0x3559b4[_0x887930(0x45c)](_0x1eafa4,_0x3ea60d,_0x22f1bd);_0x3559b4['restore']();}[_0x4fac68(0x304)](_0x3acbd7){const _0x38188f=_0x4fac68;Xe[_0x38188f(0x3a5)](_0x3acbd7,this);}}const rt=_0x4fac68(0x31d),fs=_0x4fac68(0x2b0),vs='collab-rect-range-',Ue=0x6,Ss=1.5,ot=0x4,ps=1.5,ms=_0x4fac68(0x399);class Ft{constructor(_0x3ce5bb,_0x25e6a0,_0x15f780,_0x27f772){const _0x364cdd=_0x4fac68;I(this,'_shapes',[]),I(this,_0x364cdd(0x495),null),I(this,_0x364cdd(0x594),null),I(this,'_anchorDot',null),I(this,_0x364cdd(0x30b),null),I(this,_0x364cdd(0x3b6),null),(this[_0x364cdd(0x32f)]=_0x3ce5bb,this[_0x364cdd(0x3d4)]=_0x25e6a0,this[_0x364cdd(0x4ee)]=_0x15f780,this[_0x364cdd(0x34b)]=_0x27f772,this[_0x364cdd(0x4a8)]());}set[_0x4fac68(0x1fb)](_0x44592b){const _0x4f98ca=_0x4fac68;_0x44592b?(this[_0x4f98ca(0x245)]&&this['_anchorDot'][_0x4f98ca(0x27a)](),this['_textBubble']&&this[_0x4f98ca(0x594)][_0x4f98ca(0x183)]()):(this[_0x4f98ca(0x245)]&&this[_0x4f98ca(0x245)][_0x4f98ca(0x183)](),this[_0x4f98ca(0x594)]&&this[_0x4f98ca(0x594)]['hide']());}[_0x4fac68(0x48e)](){const _0x3fe3ff=_0x4fac68;for(const _0x4cadef of this[_0x3fe3ff(0x5ce)])_0x4cadef[_0x3fe3ff(0x48e)]();this[_0x3fe3ff(0x594)]&&this[_0x3fe3ff(0x594)][_0x3fe3ff(0x48e)](),this[_0x3fe3ff(0x245)]&&this[_0x3fe3ff(0x245)][_0x3fe3ff(0x48e)](),this[_0x3fe3ff(0x495)]&&this[_0x3fe3ff(0x495)][_0x3fe3ff(0x48e)](),this['_eventUnsubscribe']&&this[_0x3fe3ff(0x3b6)]();}[_0x4fac68(0x4a8)](){const _0x96a4de=_0x4fac68;var _0x5cc346;const {_docSkeleton:_0x869e8b,_document:_0x379005}=this,{color:_0x1b59e0,name:_0x2437c0,ranges:_0x353ec4}=this[_0x96a4de(0x32f)],_0x19dc5a=_0x379005[_0x96a4de(0x27d)](),{docsLeft:_0x3f6914,docsTop:_0x10b394}=_0x19dc5a,_0x33e813=new J[(_0x96a4de(0x1d7))](_0x19dc5a,_0x869e8b);for(const {startOffset:_0x3e3b2a,endOffset:_0x19e5a3,rangeType:_0xec02,segmentId:_0x232378,segmentPage:_0x57131a,collapsed:_0x184623,isActive:_0x17b860}of _0x353ec4){const _0x209b24=_0x869e8b[_0x96a4de(0x2a2)](_0x3e3b2a,!0x0,_0x232378,_0x57131a);let _0x2125f6=_0x869e8b[_0x96a4de(0x2a2)](_0x19e5a3,!0x0,_0x232378,_0x57131a);if(_0x2125f6==null&&(_0x2125f6=_0x869e8b['findNodePositionByCharIndex'](_0x19e5a3-0x1,!0x1,_0x232378,_0x57131a)),_0x17b860){const {contentBoxPointGroup:_0x3e67ed}=_0x33e813[_0x96a4de(0x503)](_0x2125f6,_0x2125f6);if(_0x3e67ed[_0x96a4de(0x42e)]===0x0)continue;this[_0x96a4de(0x1d4)](_0x1b59e0,_0x3e67ed,_0x3f6914,_0x10b394,_0x2437c0),this[_0x96a4de(0x3b6)]=this['_handleHover']();}if(_0x209b24&&_0x2125f6){if(_0xec02===a[_0x96a4de(0x41c)][_0x96a4de(0x371)]){const _0x131c60=new J['NodePositionConvertToRectRange'](_0x19dc5a,_0x869e8b),{pointGroup:_0x5a5b26}=(_0x5cc346=_0x131c60[_0x96a4de(0x503)](_0x209b24,_0x2125f6))!=null?_0x5cc346:{};if(_0x5a5b26==null||_0x5a5b26[_0x96a4de(0x42e)]===0x0)continue;this[_0x96a4de(0x577)](_0x1b59e0,_0x5a5b26,_0x3f6914,_0x10b394);}else{if(!_0x184623){const {borderBoxPointGroup:_0x348abe}=_0x33e813['getRangePointData'](_0x209b24,_0x2125f6);if(_0x348abe[_0x96a4de(0x42e)]===0x0)continue;this[_0x96a4de(0x5c6)](_0x1b59e0,_0x348abe,_0x3f6914,_0x10b394);}}}}}[_0x4fac68(0x1d4)](_0x4437e8,_0x2af16a,_0x3f2ecf,_0x2d31a5,_0x4ef3f4){const _0x44ca10=_0x4fac68,_0x4b3aee=this[_0x44ca10(0x26a)](_0x2af16a),{left:_0x2d657c,top:_0x2ffbd6,height:_0x54cb64}=_0x4b3aee,_0x75db22=this[_0x44ca10(0x4a6)](),_0x230782=ps/_0x75db22,_0x1ef788=new K[(_0x44ca10(0x21f))](rt+a[_0x44ca10(0x402)][_0x44ca10(0x5fc)](Ue),{'left':_0x2d657c+_0x3f2ecf-_0x230782,'top':_0x2ffbd6+_0x2d31a5,'height':_0x54cb64,'width':Ss,'fill':_0x4437e8||K[_0x44ca10(0x17a)](a[_0x44ca10(0x3cd)][_0x44ca10(0x2a6)],0x0),'strokeWidth':_0x230782,'stroke':ms,'evented':!0x0});this['_anchor']=_0x1ef788,this['_scene'][_0x44ca10(0x5de)](_0x1ef788,J[_0x44ca10(0x2eb)]);const _0x54e299=new K[(_0x44ca10(0x21f))](rt+a[_0x44ca10(0x402)]['generateRandomId'](Ue),{'left':_0x2d657c+_0x3f2ecf-_0x230782,'top':_0x2ffbd6+_0x2d31a5-ot/0x2,'height':ot,'width':ot,'fill':_0x4437e8||K['getColor'](a[_0x44ca10(0x3cd)][_0x44ca10(0x2a6)],0x0),'strokeWidth':0x0,'stroke':_0x4437e8||K[_0x44ca10(0x17a)](a[_0x44ca10(0x3cd)][_0x44ca10(0x2a6)],0x0),'evented':!0x1});this[_0x44ca10(0x245)]=_0x54e299,this[_0x44ca10(0x3d4)][_0x44ca10(0x5de)](_0x54e299,J[_0x44ca10(0x2eb)]);const _0x9b7781=new Xe(rt+a[_0x44ca10(0x402)][_0x44ca10(0x5fc)](Ue),{'left':_0x2d657c+_0x3f2ecf-_0x230782,'top':_0x2ffbd6+_0x2d31a5-Le,'text':_0x4ef3f4,'color':_0x4437e8});this['_textBubble']=_0x9b7781,this['_scene'][_0x44ca10(0x5de)](_0x9b7781,J[_0x44ca10(0x2eb)]),this['_hover']=!0x1;}[_0x4fac68(0x3c2)](){const _0x534f6f=_0x4fac68,_0x249d43=this[_0x534f6f(0x495)][_0x534f6f(0x514)][_0x534f6f(0x4de)](()=>{const _0x56b221=_0x534f6f;this[_0x56b221(0x1fb)]=!0x0;}),_0x389e10=this[_0x534f6f(0x495)][_0x534f6f(0x42a)][_0x534f6f(0x4de)](()=>{const _0x121beb=_0x534f6f;this[_0x121beb(0x30b)]&&clearTimeout(this[_0x121beb(0x30b)]),this[_0x121beb(0x30b)]=setTimeout(()=>{const _0x4c3e3d=_0x121beb;this[_0x4c3e3d(0x1fb)]=!0x1;},0x7d0);});return()=>{const _0x3a712b=_0x534f6f;_0x249d43['unsubscribe'](),_0x389e10[_0x3a712b(0x437)]();};}[_0x4fac68(0x5c6)](_0x5f5560,_0x57e63e,_0x4ca3bd,_0x3ca21a){const _0x53bca0=_0x4fac68,_0x3f03ac=new a[(_0x53bca0(0x61e))](_0x5f5560)['setAlpha'](0.2)['toRgbString'](),_0xc6ff6e=new K[(_0x53bca0(0x455))](fs+a[_0x53bca0(0x402)]['generateRandomId'](Ue),{'pointsGroup':_0x57e63e,'fill':_0x3f03ac||K[_0x53bca0(0x17a)](a[_0x53bca0(0x3cd)][_0x53bca0(0x2a6)],0.2),'left':_0x4ca3bd,'top':_0x3ca21a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x53bca0(0x5ce)][_0x53bca0(0x64b)](_0xc6ff6e),this[_0x53bca0(0x3d4)][_0x53bca0(0x5de)](_0xc6ff6e,J[_0x53bca0(0x2eb)]);}[_0x4fac68(0x577)](_0x3dae5f,_0x4de086,_0x4b5140,_0x5e4378){const _0x57fffe=_0x4fac68,_0x447faa=new a[(_0x57fffe(0x61e))](_0x3dae5f)[_0x57fffe(0x63a)](0.2)[_0x57fffe(0x214)](),_0xcdc223=new K[(_0x57fffe(0x455))](vs+a[_0x57fffe(0x402)]['generateRandomId'](Ue),{'pointsGroup':_0x4de086,'fill':_0x447faa||K[_0x57fffe(0x17a)](a[_0x57fffe(0x3cd)]['black'],0.2),'left':_0x4b5140,'top':_0x5e4378,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x57fffe(0x64b)](_0xcdc223),this['_scene'][_0x57fffe(0x5de)](_0xcdc223,J[_0x57fffe(0x2eb)]);}[_0x4fac68(0x26a)](_0x43ce7a){const _0x57543f=_0x43ce7a[0x0],_0x5d7218=_0x57543f[0x0],_0x18f3a8=_0x57543f[0x2],{x:_0x1dda52,y:_0x552f2d}=_0x5d7218,{x:_0xd0e369,y:_0x22ebeb}=_0x18f3a8;return{'left':_0x1dda52,'top':_0x552f2d,'width':_0xd0e369-_0x1dda52,'height':_0x22ebeb-_0x552f2d};}[_0x4fac68(0x4a6)](){const _0x3ae204=_0x4fac68,{scaleX:_0x2e105a,scaleY:_0x6fa8c7}=this[_0x3ae204(0x3d4)]['getAncestorScale']();return Math['max'](_0x2e105a,_0x6fa8c7);}}var gs=Object['defineProperty'],Is=Object[_0x4fac68(0x340)],Cs=(_0x54dc8d,_0x15a797,_0x495892,_0x403abe)=>{for(var _0x595dc4=_0x403abe>0x1?void 0x0:_0x403abe?Is(_0x15a797,_0x495892):_0x15a797,_0x153bd8=_0x54dc8d['length']-0x1,_0x63f769;_0x153bd8>=0x0;_0x153bd8--)(_0x63f769=_0x54dc8d[_0x153bd8])&&(_0x595dc4=(_0x403abe?_0x63f769(_0x15a797,_0x495892,_0x595dc4):_0x63f769(_0x595dc4))||_0x595dc4);return _0x403abe&&_0x595dc4&&gs(_0x15a797,_0x495892,_0x595dc4),_0x595dc4;},je=(_0x2f3f95,_0xcbcd6c)=>(_0x578087,_0xfb5c42)=>_0xcbcd6c(_0x578087,_0xfb5c42,_0x2f3f95);let gt=class extends a['RxDisposable']{constructor(_0x190e70,_0x4c9f9f,_0x304da0,_0x46a117,_0x452145){const _0x1dee12=_0x4fac68;super(),I(this,_0x1dee12(0x303),[]),I(this,_0x1dee12(0x479),[]),(this[_0x1dee12(0x187)]=_0x190e70,this['_docSkeletonManagerService']=_0x4c9f9f,this['_collabCursorController']=_0x304da0,this[_0x1dee12(0x31f)]=_0x46a117,this['_themeService']=_0x452145,this[_0x1dee12(0x47f)]());}['_init'](){const _0x213553=_0x4fac68,_0xcd6f50=this[_0x213553(0x187)]['unitId'],_0x82080=this[_0x213553(0x64d)];this['disposeWithMe'](A[_0x213553(0x3eb)]([this[_0x213553(0x57a)][_0x213553(0x4a7)](_0xcd6f50),this[_0x213553(0x587)]['currentTheme$']])[_0x213553(0x355)](V[_0x213553(0x642)](([_0x1c34de,_0x11f62d])=>({'skeleton':_0x82080[_0x213553(0x5f3)](),'cursors':[..._0x1c34de[_0x213553(0x335)]()][_0x213553(0x410)](_0x56e087=>({..._0x56e087,'color':_0x11f62d[_0x56e087[_0x213553(0x1f3)]]}))})))[_0x213553(0x38e)](_0x54c401=>{const _0x15adf0=_0x213553;if(this[_0x15adf0(0x1fe)](),_0x54c401){const {skeleton:_0x5d9a57,cursors:_0x3dca7f}=_0x54c401;this[_0x15adf0(0x450)](_0x5d9a57,_0x3dca7f);}})),this['_initResize'](),this[_0x213553(0x296)]();}[_0x4fac68(0x450)](_0x1afcab,_0x5923e8){const _0x1988e5=_0x4fac68,{scene:_0x437063,mainComponent:_0xcf604e}=this[_0x1988e5(0x187)],_0x4b4725=_0x5923e8[_0x1988e5(0x642)](_0x5cf7c3=>new Ft(_0x5cf7c3,_0x437063,_0x1afcab,_0xcf604e));this[_0x1988e5(0x303)]=_0x4b4725,this[_0x1988e5(0x479)]=_0x5923e8;}[_0x4fac68(0x2ff)](){const _0x84004f=_0x4fac68;this['_removeCollabCursors']();const {scene:_0x56ace6,mainComponent:_0x5478b4}=this[_0x84004f(0x187)],_0x3eb02e=this[_0x84004f(0x64d)][_0x84004f(0x5f3)](),_0x3abf8e=this[_0x84004f(0x479)][_0x84004f(0x642)](_0x1d0bb2=>new Ft(_0x1d0bb2,_0x56ace6,_0x3eb02e,_0x5478b4));this['_cursorShapes']=_0x3abf8e;}[_0x4fac68(0x1fe)](){const _0x20dfb7=_0x4fac68;this[_0x20dfb7(0x303)][_0x20dfb7(0x289)](_0x47cc2b=>_0x47cc2b[_0x20dfb7(0x48e)]()),this[_0x20dfb7(0x303)]=[];}['_initCommandExecutedListener'](){const _0x3b5242=_0x4fac68,_0x5b681c=[J[_0x3b5242(0x2e4)]['id']];this[_0x3b5242(0x49a)](this[_0x3b5242(0x31f)]['onCommandExecuted'](_0x5e1da0=>{const _0xcc8042=_0x3b5242;_0x5b681c['includes'](_0x5e1da0['id'])&&_0x5e1da0[_0xcc8042(0x208)][_0xcc8042(0x27f)]===this[_0xcc8042(0x187)][_0xcc8042(0x27f)]&&this['_refreshCollabCursors']();}));}[_0x4fac68(0x4ef)](){const _0x5b9911=_0x4fac68;this['disposeWithMe'](a[_0x5b9911(0x542)](this['_context'][_0x5b9911(0x32e)]['onTransformChange$'])[_0x5b9911(0x355)](V[_0x5b9911(0x432)](_0x19be2b=>_0x19be2b['type']===K[_0x5b9911(0x1c4)][_0x5b9911(0x23a)]),V[_0x5b9911(0x249)](0x10))[_0x5b9911(0x38e)](()=>{this['_refreshCollabCursors']();}));}};gt=Cs([je(0x1,a['Inject'](Ie['DocSkeletonManagerService'])),je(0x2,a['Inject'](De)),je(0x3,a[_0x4fac68(0x19d)]),je(0x4,a[_0x4fac68(0x55d)](a[_0x4fac68(0x480)]))],gt);const Es=0x1,bs=1.5;class Ii extends K[_0x4fac68(0x3c4)]{constructor(_0x32c3ca,_0x2c1da7){const _0x52526c=_0x4fac68;super(_0x32c3ca,_0x2c1da7),I(this,_0x52526c(0x1e3)),I(this,_0x52526c(0x5d0),!0x1),I(this,_0x52526c(0x17f)),I(this,'_name',''),I(this,_0x52526c(0x422),'top'),I(this,_0x52526c(0x1b6)),(_0x2c1da7&&this[_0x52526c(0x358)](_0x2c1da7),this[_0x52526c(0x514)][_0x52526c(0x4de)](()=>this[_0x52526c(0x358)]({'hovered':!0x0})),this[_0x52526c(0x42a)][_0x52526c(0x4de)](()=>this[_0x52526c(0x358)]({'hovered':!0x1})));}[_0x4fac68(0x358)](_0x1bb393){const _0x4e8280=_0x4fac68;var _0x4b2b1e,_0x2b08ae,_0x4262e3,_0x4c3620,_0x5e010b,_0x33ff64;this[_0x4e8280(0x1e3)]=(_0x4b2b1e=_0x1bb393[_0x4e8280(0x1f3)])!=null?_0x4b2b1e:this[_0x4e8280(0x1e3)],this[_0x4e8280(0x5d0)]=(_0x2b08ae=_0x1bb393[_0x4e8280(0x27e)])!=null?_0x2b08ae:this[_0x4e8280(0x5d0)],this['_range']=(_0x4262e3=_0x1bb393[_0x4e8280(0x321)])!=null?_0x4262e3:this['_range'],this[_0x4e8280(0x210)]=(_0x4c3620=_0x1bb393[_0x4e8280(0x3af)])!=null?_0x4c3620:this[_0x4e8280(0x210)],this[_0x4e8280(0x422)]=(_0x5e010b=_0x1bb393[_0x4e8280(0x2fe)])!=null?_0x5e010b:this[_0x4e8280(0x422)],this[_0x4e8280(0x1b6)]=(_0x33ff64=_0x1bb393['backgroundColor'])!=null?_0x33ff64:this[_0x4e8280(0x1b6)],this[_0x4e8280(0x487)]({'width':_0x1bb393[_0x4e8280(0x417)],'height':_0x1bb393['height']});}[_0x4fac68(0x313)](_0x31c9e7){const _0x1d3549=_0x4fac68,{row:_0x2878cc,column:_0x44846c}=_0x31c9e7;if(_0x2878cc>=this[_0x1d3549(0x17f)][_0x1d3549(0x2a5)]&&_0x2878cc<=this['_range'][_0x1d3549(0x5b1)]&&_0x44846c>=this[_0x1d3549(0x17f)]['startColumn']&&_0x44846c<=this[_0x1d3549(0x17f)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x1d3549(0x358)]({'hovered':!0x1});}[_0x4fac68(0x612)](_0x1b62a6){return!0x1;}[_0x4fac68(0x304)](_0x75f49c){const _0x3a91c3=_0x4fac68;K[_0x3a91c3(0x21f)][_0x3a91c3(0x3a5)](_0x75f49c,{'width':this[_0x3a91c3(0x417)],'height':this['height'],'strokeWidth':bs,'stroke':this[_0x3a91c3(0x1e3)],'evented':!0x1,'fill':this[_0x3a91c3(0x1b6)]}),this['_hovered']&&(_0x75f49c['save'](),_0x75f49c[_0x3a91c3(0x2c3)](0x1,0x0,0x0,0x1,this[_0x3a91c3(0x417)],this['_labelPosition']===_0x3a91c3(0x33c)?0x0:-Le),Xe['drawWith'](_0x75f49c,{'text':this[_0x3a91c3(0x210)],'color':this[_0x3a91c3(0x1e3)]}),_0x75f49c['restore']());}}var Ts=Object[_0x4fac68(0x470)],Rs=Object[_0x4fac68(0x340)],ys=(_0xea718e,_0x2b2f41,_0x449792,_0x48201b)=>{for(var _0x2cda0d=_0x48201b>0x1?void 0x0:_0x48201b?Rs(_0x2b2f41,_0x449792):_0x2b2f41,_0x1d7211=_0xea718e['length']-0x1,_0x24b3ee;_0x1d7211>=0x0;_0x1d7211--)(_0x24b3ee=_0xea718e[_0x1d7211])&&(_0x2cda0d=(_0x48201b?_0x24b3ee(_0x2b2f41,_0x449792,_0x2cda0d):_0x24b3ee(_0x2cda0d))||_0x2cda0d);return _0x48201b&&_0x2cda0d&&Ts(_0x2b2f41,_0x449792,_0x2cda0d),_0x2cda0d;},at=(_0x4f24fe,_0x16572d)=>(_0x2dbcf8,_0x1b91f4)=>_0x16572d(_0x2dbcf8,_0x1b91f4,_0x4f24fe);const Os=0x1389;let It=class extends a[_0x4fac68(0x1e0)]{constructor(_0x38bf47,_0x3fc83b,_0x1d2174,_0x476765){const _0x15e5cd=_0x4fac68;super(),I(this,_0x15e5cd(0x479),new Set()),I(this,_0x15e5cd(0x52a),null),(this['_context']=_0x38bf47,this['_sheetSkeletonManagerService']=_0x3fc83b,this[_0x15e5cd(0x57a)]=_0x1d2174,this['_themeService']=_0x476765,this['_init']());}[_0x4fac68(0x47f)](){const _0x267e81=_0x4fac68;this[_0x267e81(0x3df)]['currentSkeleton$']['pipe'](V[_0x267e81(0x2e7)](this[_0x267e81(0x3ee)]),V[_0x267e81(0x606)](_0x235c56=>{const _0x3d95ef=_0x267e81;if(_0x235c56){const _0x1a24c1=_0x235c56[_0x3d95ef(0x1ac)];return A[_0x3d95ef(0x3eb)](this[_0x3d95ef(0x57a)][_0x3d95ef(0x4a7)](this[_0x3d95ef(0x187)][_0x3d95ef(0x27f)]),this[_0x3d95ef(0x587)][_0x3d95ef(0x1a9)])[_0x3d95ef(0x355)](V['map'](([_0x571bcb,_0x47ac6c])=>{const _0x413ae8=_0x3d95ef,_0x537626=new Map();return _0x571bcb[_0x413ae8(0x289)]((_0xed95bf,_0x2f2294)=>{const _0x1f91ee=_0x413ae8;if(_0xed95bf['sheetID']===_0x1a24c1){const _0x357ba4={..._0xed95bf};_0x357ba4[_0x1f91ee(0x1f3)]=_0x47ac6c[_0xed95bf[_0x1f91ee(0x1f3)]],_0x537626[_0x1f91ee(0x558)](_0x2f2294,_0x357ba4);}}),{'skeleton':_0x235c56,'cursors':_0x537626};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))[_0x267e81(0x38e)](({skeleton:_0x266353,cursors:_0x214ffc})=>{const _0x3f089c=_0x267e81;this[_0x3f089c(0x1fe)](),_0x266353&&this[_0x3f089c(0x450)](_0x266353,_0x214ffc);}),this['_sheetSkeletonManagerService']['currentSkeleton$']['subscribe'](_0x2a9ef2=>{const _0x199358=_0x267e81;if(_0x2a9ef2==null)return;const {skeleton:_0x32ee46}=_0x2a9ef2,{scene:_0x39eeb6}=this[_0x199358(0x187)];_0x39eeb6[_0x199358(0x64c)]['subscribeEvent'](a['debounce'](_0x69a822=>{const _0x6352b7=_0x199358;var _0x51ca37,_0x44c58a;const {offsetX:_0x1539e5,offsetY:_0xf72723}=_0x69a822,{x:_0x13c7b6,y:_0xe8556b}=_0x39eeb6['getRelativeToViewportCoord'](K[_0x6352b7(0x334)][_0x6352b7(0x481)]([_0x1539e5,_0xf72723])),{scaleX:_0x5b22f3,scaleY:_0x1efad5}=_0x39eeb6[_0x6352b7(0x54c)](),_0x3b4c1e=_0x39eeb6[_0x6352b7(0x457)](ye[_0x6352b7(0x36d)][_0x6352b7(0x536)]),_0x14365c=_0x39eeb6[_0x6352b7(0x1b2)](K[_0x6352b7(0x334)]['FromArray']([_0x13c7b6,_0xe8556b]),_0x3b4c1e),_0x6d0e3b=_0x32ee46[_0x6352b7(0x5cd)](_0x1539e5,_0xf72723,_0x5b22f3,_0x1efad5,_0x14365c);((_0x51ca37=this[_0x6352b7(0x52a)])==null?void 0x0:_0x51ca37['column'])===_0x6d0e3b[_0x6352b7(0x2a1)]&&((_0x44c58a=this[_0x6352b7(0x52a)])==null?void 0x0:_0x44c58a[_0x6352b7(0x47d)])===_0x6d0e3b[_0x6352b7(0x47d)]||this[_0x6352b7(0x479)][_0x6352b7(0x289)](_0xef2c63=>{_0xef2c63['onMouseMove'](_0x6d0e3b);});},0x64));});}['_updateCollabCursors'](_0x1f5ac9,_0x30e026){const _0x1d1ce3=_0x4fac68;var _0x4677fa;const _0x10c6d4=(_0x4677fa=this['_sheetSkeletonManagerService'][_0x1d1ce3(0x4c4)]())==null?void 0x0:_0x4677fa[_0x1d1ce3(0x271)];if(!_0x10c6d4)return;const _0x4d261b=this[_0x1d1ce3(0x23c)]();if(!_0x4d261b)return;this[_0x1d1ce3(0x479)][_0x1d1ce3(0x289)](_0x5c2994=>{const _0x58019e=_0x1d1ce3;_0x5c2994[_0x58019e(0x648)]();});const {scene:_0x3206ad}=_0x4d261b,_0x44dc9e=Ds(Array[_0x1d1ce3(0x469)](_0x30e026[_0x1d1ce3(0x335)]()))['map'](_0x4dca56=>{const _0x5629dd=_0x1d1ce3,{color:_0x2c8f81,range:_0x38e7c4,name:_0x36680c,selection:_0x4431f5,sheetID:_0x2f8919}=_0x4dca56,{startColumn:_0x262f90,startRow:_0x4029c7,endColumn:_0xd2eec5,endRow:_0x3e5b4a}=_0x38e7c4,_0x5b756a=ye['getCoordByCell'](_0x4029c7,_0x262f90,_0x3206ad,_0x10c6d4),_0x248684=ye[_0x5629dd(0x448)](_0x3e5b4a,_0xd2eec5,_0x3206ad,_0x10c6d4),{columnHeaderHeightAndMarginTop:_0x3c7ae6}=_0x10c6d4,{startX:_0x9d6d78,startY:_0x5cab68}=_0x5b756a,{endX:_0x9043af,endY:_0x45459e}=_0x248684,_0x22a065=_0x9043af-_0x9d6d78,_0x34699f=_0x45459e-_0x5cab68,_0x1d7a9a={'labelPosition':_0x5cab68-_0x3c7ae6>=Le?_0x5629dd(0x2e5):_0x5629dd(0x33c),'sheetID':_0x2f8919,'range':_0x38e7c4,'color':_0x2c8f81,'name':_0x36680c,'selection':_0x4431f5,'left':_0x9d6d78,'top':_0x5cab68,'width':_0x22a065,'height':_0x34699f,'evented':!0x1,'zIndex':Os};return new Ii(_0x36680c,_0x1d7a9a);});_0x3206ad[_0x1d1ce3(0x5fa)](_0x44dc9e,Es),this[_0x1d1ce3(0x479)]=new Set(_0x44dc9e);}[_0x4fac68(0x1fe)](){const _0x6f607a=_0x4fac68;var _0xd56e6b;(_0xd56e6b=this['_cursors'])==null||_0xd56e6b[_0x6f607a(0x289)](_0x468629=>_0x468629[_0x6f607a(0x48e)]());}[_0x4fac68(0x23c)](){const _0x178275=_0x4fac68;return ye[_0x178275(0x550)](this['_context']['unit'],this[_0x178275(0x187)]);}};It=ys([at(0x1,a['Inject'](ye[_0x4fac68(0x28f)])),at(0x2,a[_0x4fac68(0x55d)](De)),at(0x3,a[_0x4fac68(0x55d)](a['ThemeService']))],It);function Ds(_0x8c4859){const _0x113e8f=_0x4fac68,_0x3bfe8b=new Map();return _0x8c4859['forEach'](_0x1b36a4=>{const _0x3c4f4f=_0x10f0;if(_0x3bfe8b[_0x3c4f4f(0x3de)](_0x1b36a4[_0x3c4f4f(0x2b5)])){const _0x4601d8=_0x3bfe8b['get'](_0x1b36a4[_0x3c4f4f(0x2b5)]);_0x4601d8[_0x3c4f4f(0x3af)]+=',\x20'+_0x1b36a4['name'];}else _0x3bfe8b[_0x3c4f4f(0x558)](_0x1b36a4[_0x3c4f4f(0x2b5)],_0x1b36a4);}),Array['from'](_0x3bfe8b[_0x113e8f(0x335)]());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x1c0640){const _0x1747e5=_0x4fac68;return _0x1c0640&&_0x1c0640[_0x1747e5(0x44f)]&&Object[_0x1747e5(0x552)]['hasOwnProperty'][_0x1747e5(0x1e1)](_0x1c0640,_0x1747e5(0x591))?_0x1c0640[_0x1747e5(0x591)]:_0x1c0640;}var Ci={'exports':{}},Je={},Ps=ae,ws=Symbol[_0x4fac68(0x36b)](_0x4fac68(0x468)),Us=Symbol[_0x4fac68(0x36b)](_0x4fac68(0x4c2)),Ms=Object[_0x4fac68(0x552)][_0x4fac68(0x18d)],As=Ps[_0x4fac68(0x38a)][_0x4fac68(0x59c)],Ns={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function Ei(_0x4c2bba,_0x395928,_0x23f63d){const _0x197f87=_0x4fac68;var _0x3748d7,_0x57b98c={},_0x2e94c3=null,_0x256571=null;_0x23f63d!==void 0x0&&(_0x2e94c3=''+_0x23f63d),_0x395928[_0x197f87(0x2b8)]!==void 0x0&&(_0x2e94c3=''+_0x395928[_0x197f87(0x2b8)]),_0x395928['ref']!==void 0x0&&(_0x256571=_0x395928['ref']);for(_0x3748d7 in _0x395928)Ms[_0x197f87(0x1e1)](_0x395928,_0x3748d7)&&!Ns[_0x197f87(0x18d)](_0x3748d7)&&(_0x57b98c[_0x3748d7]=_0x395928[_0x3748d7]);if(_0x4c2bba&&_0x4c2bba[_0x197f87(0x1e7)]){for(_0x3748d7 in(_0x395928=_0x4c2bba[_0x197f87(0x1e7)],_0x395928))_0x57b98c[_0x3748d7]===void 0x0&&(_0x57b98c[_0x3748d7]=_0x395928[_0x3748d7]);}return{'$$typeof':ws,'type':_0x4c2bba,'key':_0x2e94c3,'ref':_0x256571,'props':_0x57b98c,'_owner':As[_0x197f87(0x5b7)]};}Je[_0x4fac68(0x476)]=Us,Je[_0x4fac68(0x5e7)]=Ei,Je[_0x4fac68(0x3ff)]=Ei,Ci[_0x4fac68(0x53e)]=Je;var ge=Ci['exports'],ee=function(){const _0x3ea45a=_0x4fac68;return ee=Object['assign']||function(_0x350ee2){const _0xe8898b=_0x10f0;for(var _0x2cd09f,_0x9747bd=0x1,_0x35fe85=arguments[_0xe8898b(0x42e)];_0x9747bd<_0x35fe85;_0x9747bd++){_0x2cd09f=arguments[_0x9747bd];for(var _0x4eb129 in _0x2cd09f)Object[_0xe8898b(0x552)]['hasOwnProperty']['call'](_0x2cd09f,_0x4eb129)&&(_0x350ee2[_0x4eb129]=_0x2cd09f[_0x4eb129]);}return _0x350ee2;},ee[_0x3ea45a(0x295)](this,arguments);},Ls=function(_0x1373e6,_0x5671a7){const _0xf51e0b=_0x4fac68;var _0x33bd1b={};for(var _0x552dab in _0x1373e6)Object[_0xf51e0b(0x552)][_0xf51e0b(0x18d)][_0xf51e0b(0x1e1)](_0x1373e6,_0x552dab)&&_0x5671a7[_0xf51e0b(0x1e5)](_0x552dab)<0x0&&(_0x33bd1b[_0x552dab]=_0x1373e6[_0x552dab]);if(_0x1373e6!=null&&typeof Object[_0xf51e0b(0x51f)]=='function'){for(var _0x4dbb3f=0x0,_0x552dab=Object['getOwnPropertySymbols'](_0x1373e6);_0x4dbb3f<_0x552dab[_0xf51e0b(0x42e)];_0x4dbb3f++)_0x5671a7['indexOf'](_0x552dab[_0x4dbb3f])<0x0&&Object[_0xf51e0b(0x552)][_0xf51e0b(0x1fc)][_0xf51e0b(0x1e1)](_0x1373e6,_0x552dab[_0x4dbb3f])&&(_0x33bd1b[_0x552dab[_0x4dbb3f]]=_0x1373e6[_0x552dab[_0x4dbb3f]]);}return _0x33bd1b;},Pt=ae[_0x4fac68(0x336)](function(_0x310764,_0x4517cf){const _0x981d72=_0x4fac68;var _0x1e952e=_0x310764['icon'],_0x41c12e=_0x310764['id'],_0x3045f1=_0x310764[_0x981d72(0x4e8)],_0x226c2=_0x310764[_0x981d72(0x4ed)],_0x46dee4=Ls(_0x310764,['icon','id',_0x981d72(0x4e8),'extend']),_0x27870b=_0x981d72(0x5cc)[_0x981d72(0x5d9)](_0x41c12e,'\x20')[_0x981d72(0x5d9)](_0x3045f1||'')[_0x981d72(0x562)](),_0x2edce7=ae[_0x981d72(0x510)]('_'[_0x981d72(0x5d9)]($s()));return bi(_0x1e952e,''[_0x981d72(0x5d9)](_0x41c12e),{'defIds':_0x1e952e['defIds'],'idSuffix':_0x2edce7['current']},ee({'ref':_0x4517cf,'className':_0x27870b},_0x46dee4),_0x226c2);});function bi(_0x214362,_0x40a387,_0x34c393,_0x265bab,_0x1f6e7f){const _0x4ac39b=_0x4fac68;return ae[_0x4ac39b(0x52f)](_0x214362[_0x4ac39b(0x3ab)],ee(ee({'key':_0x40a387},xs(_0x214362,_0x34c393,_0x1f6e7f)),_0x265bab),(js(_0x214362,_0x34c393)[_0x4ac39b(0x337)]||[])[_0x4ac39b(0x642)](function(_0x702ecf,_0x410152){const _0x3ebd8b=_0x4ac39b;return bi(_0x702ecf,''['concat'](_0x40a387,'-')[_0x3ebd8b(0x5d9)](_0x214362[_0x3ebd8b(0x3ab)],'-')[_0x3ebd8b(0x5d9)](_0x410152),_0x34c393,void 0x0,_0x1f6e7f);}));}function xs(_0x268081,_0x10a22f,_0x141fc3){const _0x56d7b9=_0x4fac68;var _0x5dd36e=ee({},_0x268081[_0x56d7b9(0x3e1)]);_0x141fc3!=null&&_0x141fc3[_0x56d7b9(0x5ff)]&&_0x5dd36e[_0x56d7b9(0x368)]===_0x56d7b9(0x5ff)&&(_0x5dd36e[_0x56d7b9(0x368)]=_0x141fc3['colorChannel1']);var _0x4a314b=_0x10a22f[_0x56d7b9(0x4f7)];return!_0x4a314b||_0x4a314b[_0x56d7b9(0x42e)]===0x0||(_0x268081[_0x56d7b9(0x3ab)]==='use'&&_0x5dd36e[_0x56d7b9(0x467)]&&(_0x5dd36e['xlink:href']=_0x5dd36e[_0x56d7b9(0x467)]+_0x10a22f[_0x56d7b9(0x2ce)]),Object[_0x56d7b9(0x4f9)](_0x5dd36e)[_0x56d7b9(0x289)](function(_0x3a426b){const _0x3c96a3=_0x56d7b9;var _0x562dc5=_0x3a426b[0x0],_0x1072fb=_0x3a426b[0x1];typeof _0x1072fb==_0x3c96a3(0x51e)&&(_0x5dd36e[_0x562dc5]=_0x1072fb[_0x3c96a3(0x3f7)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x10a22f['idSuffix'],')')));})),_0x5dd36e;}function js(_0x233226,_0x18b819){const _0xe51a2e=_0x4fac68;var _0x2f6b5f,_0xbe0358=_0x18b819['defIds'];return!_0xbe0358||_0xbe0358[_0xe51a2e(0x42e)]===0x0?_0x233226:_0x233226[_0xe51a2e(0x3ab)]===_0xe51a2e(0x37b)&&(!((_0x2f6b5f=_0x233226[_0xe51a2e(0x337)])===null||_0x2f6b5f===void 0x0)&&_0x2f6b5f[_0xe51a2e(0x42e)])?ee(ee({},_0x233226),{'children':_0x233226[_0xe51a2e(0x337)]['map'](function(_0x1db399){const _0x2995c8=_0xe51a2e;return typeof _0x1db399[_0x2995c8(0x3e1)]['id']==_0x2995c8(0x51e)&&_0xbe0358&&_0xbe0358[_0x2995c8(0x1e5)](_0x1db399[_0x2995c8(0x3e1)]['id'])>-0x1?ee(ee({},_0x1db399),{'attrs':ee(ee({},_0x1db399[_0x2995c8(0x3e1)]),{'id':_0x1db399['attrs']['id']+_0x18b819['idSuffix']})}):_0x1db399;})}):_0x233226;}function $s(){const _0x45e603=_0x4fac68;return Math[_0x45e603(0x462)]()['toString'](0x24)[_0x45e603(0x44c)](0x2,0x8);}Pt[_0x4fac68(0x29f)]=_0x4fac68(0x2e6);var Hs={'tag':_0x4fac68(0x522),'attrs':{'fill':_0x4fac68(0x2a7),'viewBox':_0x4fac68(0x47a),'width':_0x4fac68(0x5f7),'height':_0x4fac68(0x5f7)},'children':[{'tag':'g','attrs':{'clipPath':_0x4fac68(0x372)},'children':[{'tag':_0x4fac68(0x4d1),'attrs':{'stroke':'currentColor','d':_0x4fac68(0x205),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4fac68(0x37b),'attrs':{},'children':[{'tag':_0x4fac68(0x306),'attrs':{'id':_0x4fac68(0x53b)},'children':[{'tag':_0x4fac68(0x4d1),'attrs':{'fill':_0x4fac68(0x307),'d':_0x4fac68(0x4e4)}}]}]}],'defIds':[_0x4fac68(0x53b)]},Ti=ae['forwardRef'](function(_0x6b96a0,_0x598826){const _0x174be8=_0x4fac68;return ae[_0x174be8(0x52f)](Pt,Object['assign']({},_0x6b96a0,{'id':'off-line-single','ref':_0x598826,'icon':Hs}));});Ti[_0x4fac68(0x29f)]=_0x4fac68(0x423);var Bs={'tag':_0x4fac68(0x522),'attrs':{'fill':_0x4fac68(0x2a7),'viewBox':_0x4fac68(0x50f),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4fac68(0x17e)},'children':[{'tag':_0x4fac68(0x4d1),'attrs':{'stroke':_0x4fac68(0x387),'d':_0x4fac68(0x1d0),'strokeLinecap':_0x4fac68(0x367),'strokeLinejoin':_0x4fac68(0x367),'strokeWidth':1.2}}]},{'tag':_0x4fac68(0x37b),'attrs':{},'children':[{'tag':_0x4fac68(0x306),'attrs':{'id':_0x4fac68(0x2ab)},'children':[{'tag':'path','attrs':{'fill':_0x4fac68(0x307),'d':_0x4fac68(0x4e4),'transform':_0x4fac68(0x213)}}]}]}],'defIds':[_0x4fac68(0x2ab)]},Ri=ae['forwardRef'](function(_0x1180ec,_0x1c82d3){const _0xbd7a38=_0x4fac68;return ae[_0xbd7a38(0x52f)](Pt,Object[_0xbd7a38(0x488)]({},_0x1180ec,{'id':'on-line-single','ref':_0x1c82d3,'icon':Bs}));});Ri['displayName']=_0x4fac68(0x370);function yi(_0x20023c){const _0xa8ded7=_0x4fac68;var _0x485e50,_0xa06d97,_0x4b4dfc='';if(typeof _0x20023c==_0xa8ded7(0x51e)||typeof _0x20023c==_0xa8ded7(0x532))_0x4b4dfc+=_0x20023c;else{if(typeof _0x20023c==_0xa8ded7(0x5b3)){if(Array[_0xa8ded7(0x56f)](_0x20023c)){var _0x3a4f99=_0x20023c['length'];for(_0x485e50=0x0;_0x485e50<_0x3a4f99;_0x485e50++)_0x20023c[_0x485e50]&&(_0xa06d97=yi(_0x20023c[_0x485e50]))&&(_0x4b4dfc&&(_0x4b4dfc+='\x20'),_0x4b4dfc+=_0xa06d97);}else{for(_0xa06d97 in _0x20023c)_0x20023c[_0xa06d97]&&(_0x4b4dfc&&(_0x4b4dfc+='\x20'),_0x4b4dfc+=_0xa06d97);}}}return _0x4b4dfc;}function ks(){const _0x55a231=_0x4fac68;for(var _0x2d8ef7,_0x35916f,_0x1364cf=0x0,_0x4f3b33='',_0xbb438c=arguments[_0x55a231(0x42e)];_0x1364cf<_0xbb438c;_0x1364cf++)(_0x2d8ef7=arguments[_0x1364cf])&&(_0x35916f=yi(_0x2d8ef7))&&(_0x4f3b33&&(_0x4f3b33+='\x20'),_0x4f3b33+=_0x35916f);return _0x4f3b33;}const Ws=_0x4fac68(0x381),Fs=_0x4fac68(0x2c2),Vs=_0x4fac68(0x4b0),Gs=_0x4fac68(0x39f),Ys=_0x4fac68(0x39d),Me={'onlineStatusIcon':Ws,'onlineStatusTitle':Fs,'onlineStatus':Vs,'online':Gs,'offline':Ys};function Ks(_0x12d000){const _0x456e5b=_0x4fac68;switch(_0x12d000){case q[_0x456e5b(0x36c)]:return _0x456e5b(0x354);case q[_0x456e5b(0x560)]:return _0x456e5b(0x45f);case q[_0x456e5b(0x2fa)]:return _0x456e5b(0x608);case q[_0x456e5b(0x1cb)]:return _0x456e5b(0x3b3);case q[_0x456e5b(0x2bd)]:case q['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case q[_0x456e5b(0x1d9)]:case q[_0x456e5b(0x1e6)]:return _0x456e5b(0x52d);}}function Oi(_0x53fe05){const _0x59fa62=_0x4fac68,{status$:_0x5f42ef}=_0x53fe05,_0x5a8b7a=te[_0x59fa62(0x504)](_0x5f42ef,q[_0x59fa62(0x1cb)]),_0x278c45=a[_0x59fa62(0x48c)](a['LocaleService']),_0x45f325=a[_0x59fa62(0x48c)](exports[_0x59fa62(0x25a)]),_0x272423=_0x5a8b7a!==q[_0x59fa62(0x36c)],_0x3ab41c=_0x278c45['t'](Ks(_0x5a8b7a)),_0x32c37f=ks(Me[_0x59fa62(0x1c7)],{[Me[_0x59fa62(0x226)]]:_0x272423,[Me[_0x59fa62(0x2f8)]]:!_0x272423}),_0x199d8f=_0x272423?ge[_0x59fa62(0x5e7)](Ri,{}):ge[_0x59fa62(0x5e7)](Ti,{}),_0x65aee4=ae['useCallback'](()=>{const _0x906dd8=_0x59fa62;_0x272423||_0x45f325[_0x906dd8(0x1ea)]();},[_0x272423,_0x45f325]);function _0x333ab4(){const _0x7892a6=_0x59fa62;return ge[_0x7892a6(0x3ff)]('div',{'className':_0x32c37f,'onClick':_0x65aee4,'children':[ge[_0x7892a6(0x5e7)]('div',{'className':Me[_0x7892a6(0x60e)],'children':_0x199d8f}),ge[_0x7892a6(0x5e7)](_0x7892a6(0x446),{'className':Me[_0x7892a6(0x248)],'children':_0x3ab41c})]});}return _0x272423?_0x333ab4():ge[_0x59fa62(0x5e7)](Ce['Tooltip'],{'title':_0x278c45['t'](_0x59fa62(0x583)),'children':_0x333ab4()});}var qs=Object[_0x4fac68(0x470)],zs=Object[_0x4fac68(0x340)],Xs=(_0x2f0650,_0x58cc10,_0x445b8e,_0x717c54)=>{const _0x311c67=_0x4fac68;for(var _0x45be7b=_0x717c54>0x1?void 0x0:_0x717c54?zs(_0x58cc10,_0x445b8e):_0x58cc10,_0x3a4bf7=_0x2f0650[_0x311c67(0x42e)]-0x1,_0x1014fd;_0x3a4bf7>=0x0;_0x3a4bf7--)(_0x1014fd=_0x2f0650[_0x3a4bf7])&&(_0x45be7b=(_0x717c54?_0x1014fd(_0x58cc10,_0x445b8e,_0x45be7b):_0x1014fd(_0x45be7b))||_0x45be7b);return _0x717c54&&_0x45be7b&&qs(_0x58cc10,_0x445b8e,_0x45be7b),_0x45be7b;},$e=(_0x317f4d,_0xeba54d)=>(_0x4ab2a0,_0xb98278)=>_0xeba54d(_0x4ab2a0,_0xb98278,_0x317f4d);exports[_0x4fac68(0x477)]=class extends a[_0x4fac68(0x3d8)]{constructor(_0x110ba1,_0x1ffa1b,_0x31a083,_0xe11dd1){const _0x415ff9=_0x4fac68;super(),I(this,_0x415ff9(0x618),new A[(_0x415ff9(0x4f6))](q[_0x415ff9(0x1cb)])),(this[_0x415ff9(0x241)]=_0x110ba1,this[_0x415ff9(0x1f5)]=_0x1ffa1b,this[_0x415ff9(0x5f2)]=_0x31a083,this[_0x415ff9(0x5b5)]=_0xe11dd1,this[_0x415ff9(0x5e4)](),this[_0x415ff9(0x18e)]());}[_0x4fac68(0x18e)](){const _0x1805fc=_0x4fac68;this['disposeWithMe'](this[_0x1805fc(0x241)]['focused$'][_0x1805fc(0x355)](A[_0x1805fc(0x606)](()=>{const _0x56a577=_0x1805fc,_0x16390a=this[_0x56a577(0x241)][_0x56a577(0x54a)]();return _0x16390a?this[_0x56a577(0x5b5)][_0x56a577(0x1a7)](_0x16390a[_0x56a577(0x3bb)]()):A['of'](null);}),A['switchMap'](_0x97b8ab=>_0x97b8ab?_0x97b8ab[_0x1805fc(0x403)]:A['of'](q[_0x1805fc(0x1cb)])))[_0x1805fc(0x38e)](_0x37a484=>{const _0x5b396b=_0x1805fc;this[_0x5b396b(0x618)][_0x5b396b(0x250)](_0x37a484);}));}[_0x4fac68(0x5e4)](){const _0x51552a=_0x4fac68;this['disposeWithMe'](this[_0x51552a(0x1f5)][_0x51552a(0x17c)](te[_0x51552a(0x28d)][_0x51552a(0x347)],()=>a[_0x51552a(0x2b7)](Js({'status$':this[_0x51552a(0x618)][_0x51552a(0x5ba)]()}),this['_injector'])));}},exports[_0x4fac68(0x477)]=Xs([$e(0x0,a[_0x4fac68(0x590)]),$e(0x1,te[_0x4fac68(0x511)]),$e(0x2,a[_0x4fac68(0x55d)](a[_0x4fac68(0x508)])),$e(0x3,a[_0x4fac68(0x55d)](exports[_0x4fac68(0x191)]))],exports[_0x4fac68(0x477)]);function Js(_0x517223){const {status$:_0xe0ce74}=_0x517223;return function(){return ge['jsx'](Oi,{'status$':_0xe0ce74});};}const wt=a[_0x4fac68(0x549)](_0x4fac68(0x40d));var Zs=Object[_0x4fac68(0x470)],Qs=Object[_0x4fac68(0x340)],er=(_0x4f5464,_0x4f8645,_0x479e98,_0x3781eb)=>{const _0x2ed30f=_0x4fac68;for(var _0x1fc3b1=_0x3781eb>0x1?void 0x0:_0x3781eb?Qs(_0x4f8645,_0x479e98):_0x4f8645,_0x293ac3=_0x4f5464[_0x2ed30f(0x42e)]-0x1,_0xd71cc;_0x293ac3>=0x0;_0x293ac3--)(_0xd71cc=_0x4f5464[_0x293ac3])&&(_0x1fc3b1=(_0x3781eb?_0xd71cc(_0x4f8645,_0x479e98,_0x1fc3b1):_0xd71cc(_0x1fc3b1))||_0x1fc3b1);return _0x3781eb&&_0x1fc3b1&&Zs(_0x4f8645,_0x479e98,_0x1fc3b1),_0x1fc3b1;},Re=(_0x4b265d,_0x5266f4)=>(_0x43decc,_0x31bdd1)=>_0x5266f4(_0x43decc,_0x31bdd1,_0x4b265d);exports[_0x4fac68(0x204)]=class extends a[_0x4fac68(0x1e0)]{constructor(_0x5ea538,_0x19fde0,_0x52e214,_0x2294bf,_0x5bc00a,_0x2e82af){const _0xacc95f=_0x4fac68;super(),this[_0xacc95f(0x40c)]=_0x5ea538,this['_logService']=_0x19fde0,this[_0xacc95f(0x31f)]=_0x52e214,this[_0xacc95f(0x5b6)]=_0x2294bf,this[_0xacc95f(0x5f6)]=_0x5bc00a,_0x2e82af?_0x2e82af==null||_0x2e82af['whenReady']()[_0xacc95f(0x625)](()=>this[_0xacc95f(0x47f)]()):(this[_0xacc95f(0x545)][_0xacc95f(0x360)](_0xacc95f(0x5bc),_0xacc95f(0x32d)),this[_0xacc95f(0x47f)]());}async[_0x4fac68(0x47f)](){const _0x15631e=_0x4fac68,_0xe1b381=this[_0x15631e(0x40c)][_0x15631e(0x3a1)](_0x15631e(0x395)),_0x106f3e=this[_0x15631e(0x40c)][_0x15631e(0x3a1)]('type');if(!_0xe1b381||!_0x106f3e){this[_0x15631e(0x545)][_0x15631e(0x360)]('[DataLoaderController]',_0x15631e(0x20e));return;}switch(Number(_0x106f3e)){case ne[_0x15631e(0x3f3)]:{const _0xbb667f=await this['_loadSheet'](_0xe1b381);this[_0x15631e(0x178)](_0xbb667f);break;}case ne['UNIVER_DOC']:{await this[_0x15631e(0x50d)](_0xe1b381);break;}default:{this[_0x15631e(0x545)][_0x15631e(0x26f)](_0x15631e(0x5bc),_0x15631e(0x3b5));break;}}}async['_setupSubUnitSync'](_0x985584){const _0x211cee=_0x4fac68;await this[_0x211cee(0x39e)](_0x985584),_0x985584[_0x211cee(0x458)][_0x211cee(0x355)](A[_0x211cee(0x2e7)](this[_0x211cee(0x3ee)]))['subscribe'](_0x4a6603=>{const _0x45bd5d=_0x211cee;_0x4a6603&&this[_0x45bd5d(0x430)](_0x4a6603);}),this[_0x211cee(0x40c)]['urlChange$']['pipe'](A['takeUntil'](this[_0x211cee(0x3ee)]))[_0x211cee(0x38e)](()=>this['_updateSubUnitFromURLParams'](_0x985584));}[_0x4fac68(0x430)](_0x4c78af,_0x10980=!0x1){const _0x4874e2=_0x4fac68,_0x472208=this['_urlService']['getParam'](_0x4874e2(0x28a));_0x4c78af[_0x4874e2(0x1be)]()!==_0x472208&&this[_0x4874e2(0x40c)][_0x4874e2(0x3a8)]('subunit',_0x4c78af['getSheetId'](),_0x10980);}async[_0x4fac68(0x39e)](_0x23c3d6){const _0xf5139d=_0x4fac68;var _0x40d912;const _0x5f4f45=this[_0xf5139d(0x40c)]['getParam'](_0xf5139d(0x28a));if(!_0x5f4f45||!_0x23c3d6[_0xf5139d(0x40f)](_0x5f4f45)){const _0x32e3bc=_0x23c3d6[_0xf5139d(0x3d2)]()[0x0],_0x21ee4b=_0x23c3d6['getSheetBySheetId'](_0x32e3bc);if(!_0x21ee4b)return;this[_0xf5139d(0x430)](_0x21ee4b,!0x0),await this[_0xf5139d(0x31f)][_0xf5139d(0x302)](k[_0xf5139d(0x634)]['id'],{'unitId':_0x23c3d6['getUnitId'](),'subUnitId':_0x32e3bc});return;}((_0x40d912=_0x23c3d6[_0xf5139d(0x1a1)]())==null?void 0x0:_0x40d912[_0xf5139d(0x1be)]())!==_0x5f4f45&&await this['_commandService']['executeCommand'](k[_0xf5139d(0x634)]['id'],{'unitId':_0x23c3d6[_0xf5139d(0x3bb)](),'subUnitId':_0x5f4f45});}async['_loadSheet'](_0x5e6b2f){const _0x481fd7=_0x4fac68;let _0x599ef9=0x0;const _0x810135=await this[_0x481fd7(0x5b6)][_0x481fd7(0x263)](_0x5e6b2f);return _0x810135&&(_0x810135['awaitingChangeset']||_0x810135[_0x481fd7(0x4ae)][_0x481fd7(0x42e)]!==0x0)&&(_0x599ef9=_0x810135[_0x481fd7(0x1bb)]),_0x599ef9===0x0&&this[_0x481fd7(0x545)][_0x481fd7(0x360)](_0x481fd7(0x5bc),_0x481fd7(0x1df)),this[_0x481fd7(0x5f6)]['loadSheet'](_0x5e6b2f,_0x599ef9);}async[_0x4fac68(0x50d)](_0x4a2716){const _0x1a9f9b=_0x4fac68;let _0x2d14c9=0x0;const _0x10dddd=await this[_0x1a9f9b(0x5b6)][_0x1a9f9b(0x263)](_0x4a2716);return _0x10dddd&&(_0x10dddd['awaitingChangeset']||_0x10dddd['mutations'][_0x1a9f9b(0x42e)]!==0x0)&&(_0x2d14c9=_0x10dddd[_0x1a9f9b(0x1bb)]),_0x2d14c9===0x0&&this[_0x1a9f9b(0x545)][_0x1a9f9b(0x360)]('[DataLoaderController]',_0x1a9f9b(0x1df)),this[_0x1a9f9b(0x5f6)][_0x1a9f9b(0x177)](_0x4a2716,_0x2d14c9);}},exports['DataLoaderController']=er([Re(0x0,wt),Re(0x1,a[_0x4fac68(0x23d)]),Re(0x2,a[_0x4fac68(0x19d)]),Re(0x3,a[_0x4fac68(0x55d)](exports[_0x4fac68(0x461)])),Re(0x4,a['Inject'](p['SnapshotService'])),Re(0x5,a[_0x4fac68(0x394)](Bi[_0x4fac68(0x496)]))],exports[_0x4fac68(0x204)]);var tr=Object['defineProperty'],ir=Object[_0x4fac68(0x340)],nr=(_0x28b767,_0x188d15,_0x81285f,_0x2ea733)=>{const _0x46b135=_0x4fac68;for(var _0x20e550=_0x2ea733>0x1?void 0x0:_0x2ea733?ir(_0x188d15,_0x81285f):_0x188d15,_0x306c10=_0x28b767[_0x46b135(0x42e)]-0x1,_0xae68b1;_0x306c10>=0x0;_0x306c10--)(_0xae68b1=_0x28b767[_0x306c10])&&(_0x20e550=(_0x2ea733?_0xae68b1(_0x188d15,_0x81285f,_0x20e550):_0xae68b1(_0x20e550))||_0x20e550);return _0x2ea733&&_0x20e550&&tr(_0x188d15,_0x81285f,_0x20e550),_0x20e550;},Vt=(_0x3ce934,_0x33bc0e)=>(_0x5a8657,_0x18c8f9)=>_0x33bc0e(_0x5a8657,_0x18c8f9,_0x3ce934);const sr=_0x4fac68(0x3e7),rr=_0x4fac68(0x3ed);let Ge=class extends a['Disposable']{constructor(_0x370580,_0xc2bc07){const _0x2612f9=_0x4fac68;super(),this[_0x2612f9(0x241)]=_0x370580,this['_configService']=_0xc2bc07,this[_0x2612f9(0x47f)]();}[_0x4fac68(0x47f)](){const _0x4c7750=_0x4fac68;this['disposeWithMe'](this[_0x4c7750(0x241)][_0x4c7750(0x18a)][_0x4c7750(0x38e)](()=>{const _0x4c4ed3=_0x4c7750;var _0x38dea0;const _0x2911ab=this[_0x4c4ed3(0x241)][_0x4c4ed3(0x54a)]();let _0x21eabf=(_0x38dea0=this['_configService'][_0x4c4ed3(0x620)](sr))!=null?_0x38dea0:rr;_0x2911ab instanceof a[_0x4c4ed3(0x538)]&&(_0x21eabf=_0x2911ab['name']),document['title']=_0x21eabf;}));}};Ge=nr([Vt(0x0,a[_0x4fac68(0x590)]),Vt(0x1,a[_0x4fac68(0x459)])],Ge);var or=Object[_0x4fac68(0x470)],ar=Object[_0x4fac68(0x340)],cr=(_0x3cdecc,_0x330724,_0x3c49f5,_0x34a19f)=>{const _0x17c064=_0x4fac68;for(var _0x497011=_0x34a19f>0x1?void 0x0:_0x34a19f?ar(_0x330724,_0x3c49f5):_0x330724,_0x5ef89c=_0x3cdecc[_0x17c064(0x42e)]-0x1,_0x30a576;_0x5ef89c>=0x0;_0x5ef89c--)(_0x30a576=_0x3cdecc[_0x5ef89c])&&(_0x497011=(_0x34a19f?_0x30a576(_0x330724,_0x3c49f5,_0x497011):_0x30a576(_0x497011))||_0x497011);return _0x34a19f&&_0x497011&&or(_0x330724,_0x3c49f5,_0x497011),_0x497011;},ct=(_0x4ed2ac,_0x55298)=>(_0x11d459,_0x3ef7d5)=>_0x55298(_0x11d459,_0x3ef7d5,_0x4ed2ac);let Ye=class{constructor(_0xd8bd3f,_0x3f6988,_0x53d0f8){const _0x190380=_0x4fac68;this['_configService']=_0xd8bd3f,this[_0x190380(0x53f)]=_0x3f6988,this[_0x190380(0x43c)]=_0x53d0f8,this[_0x190380(0x3cf)]();}['init'](){const _0x5b0ce8=_0x4fac68;this[_0x5b0ce8(0x53f)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x9eba28,_0x5250b1)=>_0x5250b1(_0x9eba28)[_0x5b0ce8(0x355)](A[_0x5b0ce8(0x51a)](async _0xd598f5=>{const _0x2054c1=_0x5b0ce8,_0x1e3ab8=_0xd598f5;if(_0x1e3ab8[_0x2054c1(0x221)]===0x191&&window[_0x2054c1(0x492)](this[_0x2054c1(0x43c)]['t'](_0x2054c1(0x21c)))){const _0x3bf7c3=window[_0x2054c1(0x316)](window[_0x2054c1(0x2f5)][_0x2054c1(0x3a7)]);window[_0x2054c1(0x2f5)][_0x2054c1(0x3a7)]=this['_getLoginPath']()+_0x2054c1(0x324)+_0x3bf7c3;}return _0x1e3ab8;}))});}[_0x4fac68(0x3a6)](){const _0x26d9e4=_0x4fac68;var _0x36b9b6,_0x3ab250;const _0xe5a59d=this[_0x26d9e4(0x216)][_0x26d9e4(0x620)](hi),_0x21739c=this[_0x26d9e4(0x216)]['getConfig'](Q);return(_0x3ab250=(_0x36b9b6=_0x21739c==null?void 0x0:_0x21739c[_0x26d9e4(0x507)])!=null?_0x36b9b6:_0xe5a59d)!=null?_0x3ab250:Ji;}};Ye=cr([ct(0x0,a[_0x4fac68(0x459)]),ct(0x1,a[_0x4fac68(0x55d)](z[_0x4fac68(0x397)])),ct(0x2,a[_0x4fac68(0x55d)](a[_0x4fac68(0x411)]))],Ye);var lr=Object['defineProperty'],hr=Object['getOwnPropertyDescriptor'],_r=(_0x4d9ffb,_0x281943,_0x537145,_0x5013b8)=>{const _0x4158fc=_0x4fac68;for(var _0x55fb03=_0x5013b8>0x1?void 0x0:_0x5013b8?hr(_0x281943,_0x537145):_0x281943,_0x1ce1de=_0x4d9ffb[_0x4158fc(0x42e)]-0x1,_0xa204f0;_0x1ce1de>=0x0;_0x1ce1de--)(_0xa204f0=_0x4d9ffb[_0x1ce1de])&&(_0x55fb03=(_0x5013b8?_0xa204f0(_0x281943,_0x537145,_0x55fb03):_0xa204f0(_0x55fb03))||_0x55fb03);return _0x5013b8&&_0x55fb03&&lr(_0x281943,_0x537145,_0x55fb03),_0x55fb03;},Gt=(_0x10b7d1,_0x4ac913)=>(_0x546d3,_0x1745bd)=>_0x4ac913(_0x546d3,_0x1745bd,_0x10b7d1);const Ut=_0x4fac68(0x3ca),ur=_0x4fac68(0x4c3);exports['AuthzIoHttpService']=class extends a[_0x4fac68(0x3d8)]{constructor(_0x3f7cd5,_0x432f67){const _0x30b99e=_0x4fac68;super(),this[_0x30b99e(0x319)]=_0x3f7cd5,this['_configService']=_0x432f67,this[_0x30b99e(0x3bd)]();}[_0x4fac68(0x3bd)](){const _0x24c658=_0x4fac68,_0x802371=this;this[_0x24c658(0x49a)](this[_0x24c658(0x319)][_0x24c658(0x378)]({'priority':0x3e7,'interceptor':z[_0x24c658(0x34d)]({'isMatch'(_0xb5f236){const _0x8a3013=_0x24c658;var _0x15c34b;if(_0xb5f236[_0x8a3013(0x2bc)]===_0x8a3013(0x43b)&&((_0x15c34b=_0xb5f236[_0x8a3013(0x561)])!=null&&_0x15c34b['body'])){const {objectID:_0x27b32,objectType:_0x1afdb1}=_0xb5f236[_0x8a3013(0x561)][_0x8a3013(0x37c)]||{};if(!_0x27b32||_0x1afdb1===void 0x0)return!0x1;const _0x342b26=_0x802371['_getAPIPrefixPath']()+'/'+_0x1afdb1+_0x8a3013(0x1f9)+_0x27b32+_0x8a3013(0x280);if(_0xb5f236['url']===_0x342b26)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x16b699){const _0x12902d=_0x24c658;var _0x14dc7c;return(_0x14dc7c=_0x16b699[_0x12902d(0x561)])==null?void 0x0:_0x14dc7c[_0x12902d(0x37c)];},'mergeParamsToRequest'(_0xd6d2cf,_0xd26d98){const _0x1c6a1c=_0x24c658,_0x36f3a7=_0x802371[_0x1c6a1c(0x392)]()+_0x1c6a1c(0x637),_0x43fa11=_0xd6d2cf['reduce']((_0x259cac,_0xfd4be2)=>{const _0x42b4b2=_0x1c6a1c,{unitID:_0x3b43b7,objectID:_0x4fdfc9,objectType:_0x5eaf93,actions:_0x52eb40}=_0xfd4be2;return _0x259cac[_0x3b43b7]||(_0x259cac[_0x3b43b7]={}),_0x259cac[_0x3b43b7][_0x4fdfc9]||(_0x259cac[_0x3b43b7][_0x4fdfc9]={'objectID':_0x4fdfc9,'objectType':_0x5eaf93,'actions':[]}),_0x259cac[_0x3b43b7][_0x4fdfc9]['actions'][_0x42b4b2(0x64b)](..._0x52eb40),_0x259cac;},{}),_0x5dd5ab=[];for(const _0x26a586 in _0x43fa11)for(const _0x1f308d in _0x43fa11[_0x26a586]){const {actions:_0x37fee3,objectType:_0x345169}=_0x43fa11[_0x26a586][_0x1f308d],_0x52c58b=[...new Set(_0x37fee3)];_0x5dd5ab[_0x1c6a1c(0x64b)]({'unitID':_0x26a586,'objectID':_0x1f308d,'objectType':_0x345169,'actions':_0x52c58b});}return new z[(_0x1c6a1c(0x1a5))](_0x1c6a1c(0x43b),_0x36f3a7,{'headers':_0xd26d98[_0x1c6a1c(0x548)],'withCredentials':_0xd26d98[_0x1c6a1c(0x4e1)],'responseType':_0xd26d98[_0x1c6a1c(0x3c0)],'body':{'requests':_0x5dd5ab}});}},{'distributeResult'(_0x127505,_0x1e6edc){const _0x3383ce=_0x24c658,{objectActions:_0x5650f9}=_0x127505;return _0x1e6edc[_0x3383ce(0x642)](_0x29f73b=>{const _0x287512=_0x3383ce,{unitID:_0x4c63d1,objectID:_0x400319,actions:_0x5745be}=_0x29f73b,_0x3e9b28=_0x5650f9['find'](_0xb6a93f=>_0xb6a93f['unitID']===_0x4c63d1&&_0xb6a93f[_0x287512(0x43a)]===_0x400319),_0x3b5287=_0x5745be[_0x287512(0x642)](_0x249ff1=>_0x3e9b28==null?void 0x0:_0x3e9b28['actions']['find'](_0x2fdf57=>_0x2fdf57[_0x287512(0x434)]===_0x249ff1))[_0x287512(0x432)](_0x3822f4=>!!_0x3822f4);return{'config':_0x29f73b,'result':{'actions':_0x3b5287,'error':_0x127505[_0x287512(0x26f)]}};});}})}));}[_0x4fac68(0x392)](){const _0x214dde=_0x4fac68;var _0x4a3319,_0x30c63c;const _0xff227c=this[_0x214dde(0x216)]['getConfig'](Ut),_0x4aa50d=this[_0x214dde(0x216)]['getConfig'](Q);return(_0x30c63c=(_0x4a3319=_0x4aa50d==null?void 0x0:_0x4aa50d[_0x214dde(0x49f)])!=null?_0x4a3319:_0xff227c)!=null?_0x30c63c:ur;}async[_0x4fac68(0x2fb)](_0x161b2f){const _0x41b647=_0x4fac68,_0x2dbe53=this[_0x41b647(0x392)]()+'/'+_0x161b2f[_0x41b647(0x41d)]+_0x41b647(0x196);return(await this[_0x41b647(0x319)][_0x41b647(0x4d3)](_0x2dbe53,{'body':_0x161b2f}))[_0x41b647(0x37c)][_0x41b647(0x43a)]||'';}async[_0x4fac68(0x1bf)](_0x3de8ae){const _0x493415=_0x4fac68,_0x3147e0=this[_0x493415(0x392)]()+'/-/object/list';return(await this[_0x493415(0x319)][_0x493415(0x4d3)](_0x3147e0,{'body':_0x3de8ae}))[_0x493415(0x37c)][_0x493415(0x599)];}async[_0x4fac68(0x228)](_0x14467c){const _0x371a1b=_0x4fac68,_0x29c2fd=this[_0x371a1b(0x392)]()+'/'+_0x14467c['objectType']+_0x371a1b(0x1f9)+_0x14467c['objectID'];await this[_0x371a1b(0x319)]['put'](_0x29c2fd,{'body':_0x14467c});}async[_0x4fac68(0x1e8)](_0x4dc8de){const _0xf414b=_0x4fac68,_0x4301d4=this[_0xf414b(0x392)]()+'/'+_0x4dc8de[_0xf414b(0x41d)]+_0xf414b(0x1f9)+_0x4dc8de[_0xf414b(0x43a)]+_0xf414b(0x280);return(await this[_0xf414b(0x319)]['post'](_0x4301d4,{'body':_0x4dc8de}))[_0xf414b(0x37c)][_0xf414b(0x420)];}async[_0x4fac68(0x52e)](_0x7b27be){const _0x226a59=_0x4fac68,_0xbdf62f=this['_getAPIPrefixPath']()+_0x226a59(0x637);return(await this[_0x226a59(0x319)][_0x226a59(0x4d3)](_0xbdf62f,{'body':{'requests':_0x7b27be}}))[_0x226a59(0x37c)][_0x226a59(0x5dc)];}async[_0x4fac68(0x2f6)](_0x2dacfc){const _0x4fe107=_0x4fac68,_0x166668=this[_0x4fe107(0x392)]()+'/'+_0x2dacfc[_0x4fe107(0x41d)]+_0x4fe107(0x1db),_0x431a31=await this['_HTTPService'][_0x4fe107(0x4d3)](_0x166668,{'body':_0x2dacfc});return{'roles':_0x431a31['body'][_0x4fe107(0x356)],'actions':_0x431a31[_0x4fe107(0x37c)][_0x4fe107(0x420)]};}async['deleteCollaborator'](_0x385da7){const _0x2ad60e=_0x4fac68,_0x260005=this[_0x2ad60e(0x392)]()+_0x2ad60e(0x401);await this['_HTTPService']['delete'](_0x260005,{'params':{'collaboratorID':_0x385da7[_0x2ad60e(0x638)],'objectID':_0x385da7['objectID'],'unitID':_0x385da7[_0x2ad60e(0x3b0)]}});}async[_0x4fac68(0x53a)](_0x12828d){const _0x3f789c=_0x4fac68,_0x326d3b=this[_0x3f789c(0x392)]()+'/collaborator';await this[_0x3f789c(0x319)]['patch'](_0x326d3b,{'body':_0x12828d});}async[_0x4fac68(0x40a)](_0x16c3c5){const _0x2ebe91=_0x4fac68,_0x58472d=this[_0x2ebe91(0x392)]()+_0x2ebe91(0x401);await this[_0x2ebe91(0x319)][_0x2ebe91(0x4d3)](_0x58472d,{'body':_0x16c3c5});}async[_0x4fac68(0x218)](_0x5f36e7){const _0x7c1b6d=_0x4fac68,_0x4fd12b=this[_0x7c1b6d(0x392)]()+'/collaborator';return(await this[_0x7c1b6d(0x319)][_0x7c1b6d(0x2ef)](_0x4fd12b,{'params':{'objectID':_0x5f36e7[_0x7c1b6d(0x43a)],'unitID':_0x5f36e7[_0x7c1b6d(0x3b0)]}}))['body'][_0x7c1b6d(0x51b)];}async[_0x4fac68(0x1c2)](_0x2c5623){const _0x55497b=_0x4fac68,_0x1e64ca=this[_0x55497b(0x392)]()+_0x55497b(0x401);await this[_0x55497b(0x319)]['put'](_0x1e64ca,{'body':_0x2c5623});}},exports[_0x4fac68(0x253)]=_r([Gt(0x0,a[_0x4fac68(0x55d)](z[_0x4fac68(0x397)])),Gt(0x1,a[_0x4fac68(0x55d)](a[_0x4fac68(0x459)]))],exports[_0x4fac68(0x253)]);var Di={'exports':{}};function dr(_0x10533b){const _0x27eaac=_0x4fac68;throw new Error(_0x27eaac(0x521)+_0x10533b+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var lt={'exports':{}},Yt;function oe(){const _0x5495d8=_0x4fac68;return Yt||(Yt=0x1,function(_0x2823c1,_0x54d642){(function(_0x359a7c,_0x651236){const _0x562515=_0x10f0;_0x2823c1[_0x562515(0x53e)]=_0x651236();}(Z,function(){var _0x28a721=_0x28a721||function(_0x1786b9,_0x5076ec){const _0x34b821=_0x10f0;var _0x235816;if(typeof window<'u'&&window['crypto']&&(_0x235816=window[_0x34b821(0x5f9)]),typeof self<'u'&&self['crypto']&&(_0x235816=self[_0x34b821(0x5f9)]),typeof globalThis<'u'&&globalThis[_0x34b821(0x5f9)]&&(_0x235816=globalThis[_0x34b821(0x5f9)]),!_0x235816&&typeof window<'u'&&window[_0x34b821(0x3e2)]&&(_0x235816=window[_0x34b821(0x3e2)]),!_0x235816&&typeof Z<'u'&&Z['crypto']&&(_0x235816=Z[_0x34b821(0x5f9)]),!_0x235816&&typeof dr==_0x34b821(0x266))try{_0x235816=require(_0x34b821(0x5f9));}catch{}var _0x4b023c=function(){const _0x5f128e=_0x34b821;if(_0x235816){if(typeof _0x235816[_0x5f128e(0x551)]=='function')try{return _0x235816[_0x5f128e(0x551)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x235816['randomBytes']==_0x5f128e(0x266))try{return _0x235816[_0x5f128e(0x22e)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x5f128e(0x55b));},_0x39fa25=Object[_0x34b821(0x2fb)]||(function(){function _0x32ad81(){}return function(_0x16eca0){const _0x52ba7f=_0x10f0;var _0x2362f3;return _0x32ad81['prototype']=_0x16eca0,_0x2362f3=new _0x32ad81(),_0x32ad81[_0x52ba7f(0x552)]=null,_0x2362f3;};}()),_0x28318d={},_0x415da4=_0x28318d['lib']={},_0x2e1a6f=_0x415da4[_0x34b821(0x530)]=(function(){return{'extend':function(_0x760f05){const _0x44d412=_0x10f0;var _0x399e41=_0x39fa25(this);return _0x760f05&&_0x399e41[_0x44d412(0x1d6)](_0x760f05),(!_0x399e41[_0x44d412(0x18d)](_0x44d412(0x3cf))||this['init']===_0x399e41[_0x44d412(0x3cf)])&&(_0x399e41['init']=function(){const _0x22726f=_0x44d412;_0x399e41[_0x22726f(0x26d)][_0x22726f(0x3cf)][_0x22726f(0x295)](this,arguments);}),_0x399e41[_0x44d412(0x3cf)]['prototype']=_0x399e41,_0x399e41[_0x44d412(0x26d)]=this,_0x399e41;},'create':function(){const _0x3a9cfb=_0x10f0;var _0x248c43=this['extend']();return _0x248c43[_0x3a9cfb(0x3cf)][_0x3a9cfb(0x295)](_0x248c43,arguments),_0x248c43;},'init':function(){},'mixIn':function(_0x2db8dc){const _0x1d95f9=_0x10f0;for(var _0x107ac2 in _0x2db8dc)_0x2db8dc['hasOwnProperty'](_0x107ac2)&&(this[_0x107ac2]=_0x2db8dc[_0x107ac2]);_0x2db8dc[_0x1d95f9(0x18d)](_0x1d95f9(0x29c))&&(this[_0x1d95f9(0x29c)]=_0x2db8dc['toString']);},'clone':function(){const _0x10afb4=_0x10f0;return this[_0x10afb4(0x3cf)][_0x10afb4(0x552)][_0x10afb4(0x4ed)](this);}};}()),_0x15e746=_0x415da4[_0x34b821(0x2d5)]=_0x2e1a6f[_0x34b821(0x4ed)]({'init':function(_0x481f20,_0x25dccd){const _0x38819e=_0x34b821;_0x481f20=this['words']=_0x481f20||[],_0x25dccd!=_0x5076ec?this[_0x38819e(0x2b9)]=_0x25dccd:this[_0x38819e(0x2b9)]=_0x481f20[_0x38819e(0x42e)]*0x4;},'toString':function(_0x6357f9){const _0x11c7c1=_0x34b821;return(_0x6357f9||_0x1a0f65)[_0x11c7c1(0x5a2)](this);},'concat':function(_0x415edf){const _0x4244c6=_0x34b821;var _0x4933a8=this[_0x4244c6(0x2ac)],_0x483cf6=_0x415edf[_0x4244c6(0x2ac)],_0xad9814=this[_0x4244c6(0x2b9)],_0x53c041=_0x415edf[_0x4244c6(0x2b9)];if(this['clamp'](),_0xad9814%0x4)for(var _0x1b0d83=0x0;_0x1b0d83<_0x53c041;_0x1b0d83++){var _0xfbebaf=_0x483cf6[_0x1b0d83>>>0x2]>>>0x18-_0x1b0d83%0x4*0x8&0xff;_0x4933a8[_0xad9814+_0x1b0d83>>>0x2]|=_0xfbebaf<<0x18-(_0xad9814+_0x1b0d83)%0x4*0x8;}else{for(var _0x54dc6e=0x0;_0x54dc6e<_0x53c041;_0x54dc6e+=0x4)_0x4933a8[_0xad9814+_0x54dc6e>>>0x2]=_0x483cf6[_0x54dc6e>>>0x2];}return this[_0x4244c6(0x2b9)]+=_0x53c041,this;},'clamp':function(){const _0xde8c61=_0x34b821;var _0x49ec7b=this['words'],_0x217597=this[_0xde8c61(0x2b9)];_0x49ec7b[_0x217597>>>0x2]&=0xffffffff<<0x20-_0x217597%0x4*0x8,_0x49ec7b[_0xde8c61(0x42e)]=_0x1786b9[_0xde8c61(0x352)](_0x217597/0x4);},'clone':function(){const _0x5d7bd4=_0x34b821;var _0x590e3d=_0x2e1a6f[_0x5d7bd4(0x588)][_0x5d7bd4(0x1e1)](this);return _0x590e3d['words']=this[_0x5d7bd4(0x2ac)][_0x5d7bd4(0x373)](0x0),_0x590e3d;},'random':function(_0x28ab61){const _0x19e921=_0x34b821;for(var _0x3603f7=[],_0x32616d=0x0;_0x32616d<_0x28ab61;_0x32616d+=0x4)_0x3603f7[_0x19e921(0x64b)](_0x4b023c());return new _0x15e746[(_0x19e921(0x3cf))](_0x3603f7,_0x28ab61);}}),_0x334f95=_0x28318d[_0x34b821(0x5a5)]={},_0x1a0f65=_0x334f95['Hex']={'stringify':function(_0x343bb4){const _0x185c4f=_0x34b821;for(var _0x5cdb21=_0x343bb4[_0x185c4f(0x2ac)],_0x52c874=_0x343bb4[_0x185c4f(0x2b9)],_0x3f51d7=[],_0xe707ed=0x0;_0xe707ed<_0x52c874;_0xe707ed++){var _0x210d22=_0x5cdb21[_0xe707ed>>>0x2]>>>0x18-_0xe707ed%0x4*0x8&0xff;_0x3f51d7[_0x185c4f(0x64b)]((_0x210d22>>>0x4)['toString'](0x10)),_0x3f51d7[_0x185c4f(0x64b)]((_0x210d22&0xf)['toString'](0x10));}return _0x3f51d7[_0x185c4f(0x2d3)]('');},'parse':function(_0x44b2cc){const _0x2d98f9=_0x34b821;for(var _0x977445=_0x44b2cc[_0x2d98f9(0x42e)],_0x3d9115=[],_0x5c754a=0x0;_0x5c754a<_0x977445;_0x5c754a+=0x2)_0x3d9115[_0x5c754a>>>0x3]|=parseInt(_0x44b2cc[_0x2d98f9(0x546)](_0x5c754a,0x2),0x10)<<0x18-_0x5c754a%0x8*0x4;return new _0x15e746[(_0x2d98f9(0x3cf))](_0x3d9115,_0x977445/0x2);}},_0x4ef81c=_0x334f95[_0x34b821(0x5ef)]={'stringify':function(_0x43eb60){const _0x1242f2=_0x34b821;for(var _0x1fd709=_0x43eb60[_0x1242f2(0x2ac)],_0x264523=_0x43eb60[_0x1242f2(0x2b9)],_0x1fda4d=[],_0x38dd38=0x0;_0x38dd38<_0x264523;_0x38dd38++){var _0x16edac=_0x1fd709[_0x38dd38>>>0x2]>>>0x18-_0x38dd38%0x4*0x8&0xff;_0x1fda4d[_0x1242f2(0x64b)](String[_0x1242f2(0x29d)](_0x16edac));}return _0x1fda4d[_0x1242f2(0x2d3)]('');},'parse':function(_0x1d6c4f){const _0x36bfd5=_0x34b821;for(var _0x4a9ab1=_0x1d6c4f[_0x36bfd5(0x42e)],_0x200db0=[],_0x28b7d9=0x0;_0x28b7d9<_0x4a9ab1;_0x28b7d9++)_0x200db0[_0x28b7d9>>>0x2]|=(_0x1d6c4f[_0x36bfd5(0x61b)](_0x28b7d9)&0xff)<<0x18-_0x28b7d9%0x4*0x8;return new _0x15e746[(_0x36bfd5(0x3cf))](_0x200db0,_0x4a9ab1);}},_0x470877=_0x334f95[_0x34b821(0x2cc)]={'stringify':function(_0x358da2){const _0x411a52=_0x34b821;try{return decodeURIComponent(escape(_0x4ef81c[_0x411a52(0x5a2)](_0x358da2)));}catch{throw new Error(_0x411a52(0x48b));}},'parse':function(_0x28f056){const _0x4a9164=_0x34b821;return _0x4ef81c[_0x4a9164(0x534)](unescape(encodeURIComponent(_0x28f056)));}},_0x3a629c=_0x415da4[_0x34b821(0x18f)]=_0x2e1a6f[_0x34b821(0x4ed)]({'reset':function(){const _0x4f9f7f=_0x34b821;this[_0x4f9f7f(0x2a0)]=new _0x15e746['init'](),this[_0x4f9f7f(0x225)]=0x0;},'_append':function(_0x4735cb){const _0x1d05a7=_0x34b821;typeof _0x4735cb==_0x1d05a7(0x51e)&&(_0x4735cb=_0x470877['parse'](_0x4735cb)),this[_0x1d05a7(0x2a0)][_0x1d05a7(0x5d9)](_0x4735cb),this[_0x1d05a7(0x225)]+=_0x4735cb[_0x1d05a7(0x2b9)];},'_process':function(_0x3ec794){const _0x2a2b3d=_0x34b821;var _0x45dece,_0x686878=this['_data'],_0x33054e=_0x686878[_0x2a2b3d(0x2ac)],_0x599123=_0x686878[_0x2a2b3d(0x2b9)],_0x5e409c=this['blockSize'],_0x445f83=_0x5e409c*0x4,_0x388c84=_0x599123/_0x445f83;_0x3ec794?_0x388c84=_0x1786b9[_0x2a2b3d(0x352)](_0x388c84):_0x388c84=_0x1786b9[_0x2a2b3d(0x1c5)]((_0x388c84|0x0)-this[_0x2a2b3d(0x4a5)],0x0);var _0x1fb86a=_0x388c84*_0x5e409c,_0x52ac93=_0x1786b9[_0x2a2b3d(0x3c5)](_0x1fb86a*0x4,_0x599123);if(_0x1fb86a){for(var _0x5ebb7d=0x0;_0x5ebb7d<_0x1fb86a;_0x5ebb7d+=_0x5e409c)this[_0x2a2b3d(0x621)](_0x33054e,_0x5ebb7d);_0x45dece=_0x33054e['splice'](0x0,_0x1fb86a),_0x686878[_0x2a2b3d(0x2b9)]-=_0x52ac93;}return new _0x15e746[(_0x2a2b3d(0x3cf))](_0x45dece,_0x52ac93);},'clone':function(){const _0x1c4742=_0x34b821;var _0x279537=_0x2e1a6f['clone']['call'](this);return _0x279537[_0x1c4742(0x2a0)]=this[_0x1c4742(0x2a0)][_0x1c4742(0x588)](),_0x279537;},'_minBufferSize':0x0});_0x415da4[_0x34b821(0x5bb)]=_0x3a629c['extend']({'cfg':_0x2e1a6f[_0x34b821(0x4ed)](),'init':function(_0x5a2334){const _0x172d2d=_0x34b821;this['cfg']=this[_0x172d2d(0x48d)][_0x172d2d(0x4ed)](_0x5a2334),this['reset']();},'reset':function(){const _0x24c252=_0x34b821;_0x3a629c[_0x24c252(0x435)][_0x24c252(0x1e1)](this),this[_0x24c252(0x52c)]();},'update':function(_0x17ed14){const _0x1c5dd1=_0x34b821;return this['_append'](_0x17ed14),this[_0x1c5dd1(0x580)](),this;},'finalize':function(_0xf80bc2){const _0x4aa435=_0x34b821;_0xf80bc2&&this['_append'](_0xf80bc2);var _0x4bf80e=this[_0x4aa435(0x615)]();return _0x4bf80e;},'blockSize':0x10,'_createHelper':function(_0x410315){return function(_0x3af821,_0x325c14){const _0x234f55=_0x10f0;return new _0x410315[(_0x234f55(0x3cf))](_0x325c14)[_0x234f55(0x276)](_0x3af821);};},'_createHmacHelper':function(_0x4bfc70){return function(_0x51a9ac,_0x4daf2f){const _0x36b740=_0x10f0;return new _0x57bf85[(_0x36b740(0x4d2))][(_0x36b740(0x3cf))](_0x4bfc70,_0x4daf2f)['finalize'](_0x51a9ac);};}});var _0x57bf85=_0x28318d[_0x34b821(0x1ae)]={};return _0x28318d;}(Math);return _0x28a721;}));}(lt)),lt[_0x5495d8(0x53e)];}var ht={'exports':{}},Kt;function Pi(){const _0x363b7d=_0x4fac68;return Kt||(Kt=0x1,function(_0x1416d4,_0x2ceffc){(function(_0x2bd18a,_0x4d95a8){const _0x4ba3bd=_0x10f0;_0x1416d4[_0x4ba3bd(0x53e)]=_0x4d95a8(oe());}(Z,function(_0x4130d9){const _0x5b46ef=_0x10f0;return(function(){const _0x2b4f0b=_0x10f0;var _0x4c23a7=_0x4130d9,_0x2d8f95=_0x4c23a7[_0x2b4f0b(0x254)],_0x1e8791=_0x2d8f95[_0x2b4f0b(0x2d5)],_0x34c3a8=_0x4c23a7[_0x2b4f0b(0x5a5)];_0x34c3a8[_0x2b4f0b(0x3b9)]={'stringify':function(_0x3ec375){const _0x23ac89=_0x2b4f0b;var _0x3c719d=_0x3ec375[_0x23ac89(0x2ac)],_0x116c0a=_0x3ec375[_0x23ac89(0x2b9)],_0x194fd3=this[_0x23ac89(0x5a1)];_0x3ec375[_0x23ac89(0x526)]();for(var _0x1567f8=[],_0x32fc3a=0x0;_0x32fc3a<_0x116c0a;_0x32fc3a+=0x3)for(var _0x4f2e27=_0x3c719d[_0x32fc3a>>>0x2]>>>0x18-_0x32fc3a%0x4*0x8&0xff,_0x5009b6=_0x3c719d[_0x32fc3a+0x1>>>0x2]>>>0x18-(_0x32fc3a+0x1)%0x4*0x8&0xff,_0xc253e5=_0x3c719d[_0x32fc3a+0x2>>>0x2]>>>0x18-(_0x32fc3a+0x2)%0x4*0x8&0xff,_0x91d19b=_0x4f2e27<<0x10|_0x5009b6<<0x8|_0xc253e5,_0x17ad6c=0x0;_0x17ad6c<0x4&&_0x32fc3a+_0x17ad6c*0.75<_0x116c0a;_0x17ad6c++)_0x1567f8[_0x23ac89(0x64b)](_0x194fd3[_0x23ac89(0x230)](_0x91d19b>>>0x6*(0x3-_0x17ad6c)&0x3f));var _0xaa7cb3=_0x194fd3[_0x23ac89(0x230)](0x40);if(_0xaa7cb3){for(;_0x1567f8[_0x23ac89(0x42e)]%0x4;)_0x1567f8[_0x23ac89(0x64b)](_0xaa7cb3);}return _0x1567f8[_0x23ac89(0x2d3)]('');},'parse':function(_0xded0e3){const _0x3c767b=_0x2b4f0b;var _0xeb0eaa=_0xded0e3['length'],_0x547c0f=this[_0x3c767b(0x5a1)],_0x49969b=this[_0x3c767b(0x5ac)];if(!_0x49969b){_0x49969b=this[_0x3c767b(0x5ac)]=[];for(var _0x5a7564=0x0;_0x5a7564<_0x547c0f['length'];_0x5a7564++)_0x49969b[_0x547c0f[_0x3c767b(0x61b)](_0x5a7564)]=_0x5a7564;}var _0x39aff6=_0x547c0f[_0x3c767b(0x230)](0x40);if(_0x39aff6){var _0x43973a=_0xded0e3[_0x3c767b(0x1e5)](_0x39aff6);_0x43973a!==-0x1&&(_0xeb0eaa=_0x43973a);}return _0x5f5ce9(_0xded0e3,_0xeb0eaa,_0x49969b);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x5f5ce9(_0x4cedfc,_0x1ca051,_0x5e8206){const _0x412375=_0x2b4f0b;for(var _0x5bb31f=[],_0xf138b8=0x0,_0x3d9b4e=0x0;_0x3d9b4e<_0x1ca051;_0x3d9b4e++)if(_0x3d9b4e%0x4){var _0x366a92=_0x5e8206[_0x4cedfc[_0x412375(0x61b)](_0x3d9b4e-0x1)]<<_0x3d9b4e%0x4*0x2,_0x132f3a=_0x5e8206[_0x4cedfc['charCodeAt'](_0x3d9b4e)]>>>0x6-_0x3d9b4e%0x4*0x2,_0x13e1f7=_0x366a92|_0x132f3a;_0x5bb31f[_0xf138b8>>>0x2]|=_0x13e1f7<<0x18-_0xf138b8%0x4*0x8,_0xf138b8++;}return _0x1e8791[_0x412375(0x2fb)](_0x5bb31f,_0xf138b8);}}()),_0x4130d9[_0x5b46ef(0x5a5)][_0x5b46ef(0x3b9)];}));}(ht)),ht[_0x363b7d(0x53e)];}var _t={'exports':{}},qt;function fr(){const _0x45b692=_0x4fac68;return qt||(qt=0x1,function(_0x4474dd,_0x34d053){(function(_0x481661,_0x4afa14){const _0x398749=_0x10f0;_0x4474dd[_0x398749(0x53e)]=_0x4afa14(oe());}(Z,function(_0x1d6be2){const _0x30fa33=_0x10f0;return function(_0x4de86c){const _0x1ca65d=_0x10f0;var _0x9b490f=_0x1d6be2,_0x2b6cbd=_0x9b490f['lib'],_0x2bab59=_0x2b6cbd[_0x1ca65d(0x2d5)],_0x4f2488=_0x2b6cbd[_0x1ca65d(0x5bb)],_0x1f6e67=_0x9b490f[_0x1ca65d(0x1ae)],_0x1f674c=[];(function(){const _0x19b6ae=_0x1ca65d;for(var _0x1c1aa6=0x0;_0x1c1aa6<0x40;_0x1c1aa6++)_0x1f674c[_0x1c1aa6]=_0x4de86c[_0x19b6ae(0x239)](_0x4de86c[_0x19b6ae(0x308)](_0x1c1aa6+0x1))*0x100000000|0x0;}());var _0x4981dc=_0x1f6e67['MD5']=_0x4f2488['extend']({'_doReset':function(){const _0x292db7=_0x1ca65d;this[_0x292db7(0x41e)]=new _0x2bab59[(_0x292db7(0x3cf))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x411b65,_0x5b8b38){const _0x238b45=_0x1ca65d;for(var _0x5b3ce8=0x0;_0x5b3ce8<0x10;_0x5b3ce8++){var _0x1cf2b3=_0x5b8b38+_0x5b3ce8,_0x2b68df=_0x411b65[_0x1cf2b3];_0x411b65[_0x1cf2b3]=(_0x2b68df<<0x8|_0x2b68df>>>0x18)&0xff00ff|(_0x2b68df<<0x18|_0x2b68df>>>0x8)&0xff00ff00;}var _0x1b61e7=this[_0x238b45(0x41e)][_0x238b45(0x2ac)],_0x8906ec=_0x411b65[_0x5b8b38+0x0],_0xf20f17=_0x411b65[_0x5b8b38+0x1],_0x238cb4=_0x411b65[_0x5b8b38+0x2],_0x28f11d=_0x411b65[_0x5b8b38+0x3],_0x197393=_0x411b65[_0x5b8b38+0x4],_0x1b35dd=_0x411b65[_0x5b8b38+0x5],_0x40b799=_0x411b65[_0x5b8b38+0x6],_0x527e96=_0x411b65[_0x5b8b38+0x7],_0x46f985=_0x411b65[_0x5b8b38+0x8],_0x2b0a88=_0x411b65[_0x5b8b38+0x9],_0x553719=_0x411b65[_0x5b8b38+0xa],_0x31e93f=_0x411b65[_0x5b8b38+0xb],_0x1bfca0=_0x411b65[_0x5b8b38+0xc],_0x2c0f15=_0x411b65[_0x5b8b38+0xd],_0x10f954=_0x411b65[_0x5b8b38+0xe],_0x31856b=_0x411b65[_0x5b8b38+0xf],_0x470db4=_0x1b61e7[0x0],_0x4ad3d7=_0x1b61e7[0x1],_0x30dce6=_0x1b61e7[0x2],_0x1281e0=_0x1b61e7[0x3];_0x470db4=_0x3b4da1(_0x470db4,_0x4ad3d7,_0x30dce6,_0x1281e0,_0x8906ec,0x7,_0x1f674c[0x0]),_0x1281e0=_0x3b4da1(_0x1281e0,_0x470db4,_0x4ad3d7,_0x30dce6,_0xf20f17,0xc,_0x1f674c[0x1]),_0x30dce6=_0x3b4da1(_0x30dce6,_0x1281e0,_0x470db4,_0x4ad3d7,_0x238cb4,0x11,_0x1f674c[0x2]),_0x4ad3d7=_0x3b4da1(_0x4ad3d7,_0x30dce6,_0x1281e0,_0x470db4,_0x28f11d,0x16,_0x1f674c[0x3]),_0x470db4=_0x3b4da1(_0x470db4,_0x4ad3d7,_0x30dce6,_0x1281e0,_0x197393,0x7,_0x1f674c[0x4]),_0x1281e0=_0x3b4da1(_0x1281e0,_0x470db4,_0x4ad3d7,_0x30dce6,_0x1b35dd,0xc,_0x1f674c[0x5]),_0x30dce6=_0x3b4da1(_0x30dce6,_0x1281e0,_0x470db4,_0x4ad3d7,_0x40b799,0x11,_0x1f674c[0x6]),_0x4ad3d7=_0x3b4da1(_0x4ad3d7,_0x30dce6,_0x1281e0,_0x470db4,_0x527e96,0x16,_0x1f674c[0x7]),_0x470db4=_0x3b4da1(_0x470db4,_0x4ad3d7,_0x30dce6,_0x1281e0,_0x46f985,0x7,_0x1f674c[0x8]),_0x1281e0=_0x3b4da1(_0x1281e0,_0x470db4,_0x4ad3d7,_0x30dce6,_0x2b0a88,0xc,_0x1f674c[0x9]),_0x30dce6=_0x3b4da1(_0x30dce6,_0x1281e0,_0x470db4,_0x4ad3d7,_0x553719,0x11,_0x1f674c[0xa]),_0x4ad3d7=_0x3b4da1(_0x4ad3d7,_0x30dce6,_0x1281e0,_0x470db4,_0x31e93f,0x16,_0x1f674c[0xb]),_0x470db4=_0x3b4da1(_0x470db4,_0x4ad3d7,_0x30dce6,_0x1281e0,_0x1bfca0,0x7,_0x1f674c[0xc]),_0x1281e0=_0x3b4da1(_0x1281e0,_0x470db4,_0x4ad3d7,_0x30dce6,_0x2c0f15,0xc,_0x1f674c[0xd]),_0x30dce6=_0x3b4da1(_0x30dce6,_0x1281e0,_0x470db4,_0x4ad3d7,_0x10f954,0x11,_0x1f674c[0xe]),_0x4ad3d7=_0x3b4da1(_0x4ad3d7,_0x30dce6,_0x1281e0,_0x470db4,_0x31856b,0x16,_0x1f674c[0xf]),_0x470db4=_0xa6f2b(_0x470db4,_0x4ad3d7,_0x30dce6,_0x1281e0,_0xf20f17,0x5,_0x1f674c[0x10]),_0x1281e0=_0xa6f2b(_0x1281e0,_0x470db4,_0x4ad3d7,_0x30dce6,_0x40b799,0x9,_0x1f674c[0x11]),_0x30dce6=_0xa6f2b(_0x30dce6,_0x1281e0,_0x470db4,_0x4ad3d7,_0x31e93f,0xe,_0x1f674c[0x12]),_0x4ad3d7=_0xa6f2b(_0x4ad3d7,_0x30dce6,_0x1281e0,_0x470db4,_0x8906ec,0x14,_0x1f674c[0x13]),_0x470db4=_0xa6f2b(_0x470db4,_0x4ad3d7,_0x30dce6,_0x1281e0,_0x1b35dd,0x5,_0x1f674c[0x14]),_0x1281e0=_0xa6f2b(_0x1281e0,_0x470db4,_0x4ad3d7,_0x30dce6,_0x553719,0x9,_0x1f674c[0x15]),_0x30dce6=_0xa6f2b(_0x30dce6,_0x1281e0,_0x470db4,_0x4ad3d7,_0x31856b,0xe,_0x1f674c[0x16]),_0x4ad3d7=_0xa6f2b(_0x4ad3d7,_0x30dce6,_0x1281e0,_0x470db4,_0x197393,0x14,_0x1f674c[0x17]),_0x470db4=_0xa6f2b(_0x470db4,_0x4ad3d7,_0x30dce6,_0x1281e0,_0x2b0a88,0x5,_0x1f674c[0x18]),_0x1281e0=_0xa6f2b(_0x1281e0,_0x470db4,_0x4ad3d7,_0x30dce6,_0x10f954,0x9,_0x1f674c[0x19]),_0x30dce6=_0xa6f2b(_0x30dce6,_0x1281e0,_0x470db4,_0x4ad3d7,_0x28f11d,0xe,_0x1f674c[0x1a]),_0x4ad3d7=_0xa6f2b(_0x4ad3d7,_0x30dce6,_0x1281e0,_0x470db4,_0x46f985,0x14,_0x1f674c[0x1b]),_0x470db4=_0xa6f2b(_0x470db4,_0x4ad3d7,_0x30dce6,_0x1281e0,_0x2c0f15,0x5,_0x1f674c[0x1c]),_0x1281e0=_0xa6f2b(_0x1281e0,_0x470db4,_0x4ad3d7,_0x30dce6,_0x238cb4,0x9,_0x1f674c[0x1d]),_0x30dce6=_0xa6f2b(_0x30dce6,_0x1281e0,_0x470db4,_0x4ad3d7,_0x527e96,0xe,_0x1f674c[0x1e]),_0x4ad3d7=_0xa6f2b(_0x4ad3d7,_0x30dce6,_0x1281e0,_0x470db4,_0x1bfca0,0x14,_0x1f674c[0x1f]),_0x470db4=_0x19cab0(_0x470db4,_0x4ad3d7,_0x30dce6,_0x1281e0,_0x1b35dd,0x4,_0x1f674c[0x20]),_0x1281e0=_0x19cab0(_0x1281e0,_0x470db4,_0x4ad3d7,_0x30dce6,_0x46f985,0xb,_0x1f674c[0x21]),_0x30dce6=_0x19cab0(_0x30dce6,_0x1281e0,_0x470db4,_0x4ad3d7,_0x31e93f,0x10,_0x1f674c[0x22]),_0x4ad3d7=_0x19cab0(_0x4ad3d7,_0x30dce6,_0x1281e0,_0x470db4,_0x10f954,0x17,_0x1f674c[0x23]),_0x470db4=_0x19cab0(_0x470db4,_0x4ad3d7,_0x30dce6,_0x1281e0,_0xf20f17,0x4,_0x1f674c[0x24]),_0x1281e0=_0x19cab0(_0x1281e0,_0x470db4,_0x4ad3d7,_0x30dce6,_0x197393,0xb,_0x1f674c[0x25]),_0x30dce6=_0x19cab0(_0x30dce6,_0x1281e0,_0x470db4,_0x4ad3d7,_0x527e96,0x10,_0x1f674c[0x26]),_0x4ad3d7=_0x19cab0(_0x4ad3d7,_0x30dce6,_0x1281e0,_0x470db4,_0x553719,0x17,_0x1f674c[0x27]),_0x470db4=_0x19cab0(_0x470db4,_0x4ad3d7,_0x30dce6,_0x1281e0,_0x2c0f15,0x4,_0x1f674c[0x28]),_0x1281e0=_0x19cab0(_0x1281e0,_0x470db4,_0x4ad3d7,_0x30dce6,_0x8906ec,0xb,_0x1f674c[0x29]),_0x30dce6=_0x19cab0(_0x30dce6,_0x1281e0,_0x470db4,_0x4ad3d7,_0x28f11d,0x10,_0x1f674c[0x2a]),_0x4ad3d7=_0x19cab0(_0x4ad3d7,_0x30dce6,_0x1281e0,_0x470db4,_0x40b799,0x17,_0x1f674c[0x2b]),_0x470db4=_0x19cab0(_0x470db4,_0x4ad3d7,_0x30dce6,_0x1281e0,_0x2b0a88,0x4,_0x1f674c[0x2c]),_0x1281e0=_0x19cab0(_0x1281e0,_0x470db4,_0x4ad3d7,_0x30dce6,_0x1bfca0,0xb,_0x1f674c[0x2d]),_0x30dce6=_0x19cab0(_0x30dce6,_0x1281e0,_0x470db4,_0x4ad3d7,_0x31856b,0x10,_0x1f674c[0x2e]),_0x4ad3d7=_0x19cab0(_0x4ad3d7,_0x30dce6,_0x1281e0,_0x470db4,_0x238cb4,0x17,_0x1f674c[0x2f]),_0x470db4=_0x417685(_0x470db4,_0x4ad3d7,_0x30dce6,_0x1281e0,_0x8906ec,0x6,_0x1f674c[0x30]),_0x1281e0=_0x417685(_0x1281e0,_0x470db4,_0x4ad3d7,_0x30dce6,_0x527e96,0xa,_0x1f674c[0x31]),_0x30dce6=_0x417685(_0x30dce6,_0x1281e0,_0x470db4,_0x4ad3d7,_0x10f954,0xf,_0x1f674c[0x32]),_0x4ad3d7=_0x417685(_0x4ad3d7,_0x30dce6,_0x1281e0,_0x470db4,_0x1b35dd,0x15,_0x1f674c[0x33]),_0x470db4=_0x417685(_0x470db4,_0x4ad3d7,_0x30dce6,_0x1281e0,_0x1bfca0,0x6,_0x1f674c[0x34]),_0x1281e0=_0x417685(_0x1281e0,_0x470db4,_0x4ad3d7,_0x30dce6,_0x28f11d,0xa,_0x1f674c[0x35]),_0x30dce6=_0x417685(_0x30dce6,_0x1281e0,_0x470db4,_0x4ad3d7,_0x553719,0xf,_0x1f674c[0x36]),_0x4ad3d7=_0x417685(_0x4ad3d7,_0x30dce6,_0x1281e0,_0x470db4,_0xf20f17,0x15,_0x1f674c[0x37]),_0x470db4=_0x417685(_0x470db4,_0x4ad3d7,_0x30dce6,_0x1281e0,_0x46f985,0x6,_0x1f674c[0x38]),_0x1281e0=_0x417685(_0x1281e0,_0x470db4,_0x4ad3d7,_0x30dce6,_0x31856b,0xa,_0x1f674c[0x39]),_0x30dce6=_0x417685(_0x30dce6,_0x1281e0,_0x470db4,_0x4ad3d7,_0x40b799,0xf,_0x1f674c[0x3a]),_0x4ad3d7=_0x417685(_0x4ad3d7,_0x30dce6,_0x1281e0,_0x470db4,_0x2c0f15,0x15,_0x1f674c[0x3b]),_0x470db4=_0x417685(_0x470db4,_0x4ad3d7,_0x30dce6,_0x1281e0,_0x197393,0x6,_0x1f674c[0x3c]),_0x1281e0=_0x417685(_0x1281e0,_0x470db4,_0x4ad3d7,_0x30dce6,_0x31e93f,0xa,_0x1f674c[0x3d]),_0x30dce6=_0x417685(_0x30dce6,_0x1281e0,_0x470db4,_0x4ad3d7,_0x238cb4,0xf,_0x1f674c[0x3e]),_0x4ad3d7=_0x417685(_0x4ad3d7,_0x30dce6,_0x1281e0,_0x470db4,_0x2b0a88,0x15,_0x1f674c[0x3f]),_0x1b61e7[0x0]=_0x1b61e7[0x0]+_0x470db4|0x0,_0x1b61e7[0x1]=_0x1b61e7[0x1]+_0x4ad3d7|0x0,_0x1b61e7[0x2]=_0x1b61e7[0x2]+_0x30dce6|0x0,_0x1b61e7[0x3]=_0x1b61e7[0x3]+_0x1281e0|0x0;},'_doFinalize':function(){const _0x52a55b=_0x1ca65d;var _0xa1fda1=this[_0x52a55b(0x2a0)],_0x4cb8ad=_0xa1fda1[_0x52a55b(0x2ac)],_0x5c1e37=this[_0x52a55b(0x225)]*0x8,_0x57aa86=_0xa1fda1[_0x52a55b(0x2b9)]*0x8;_0x4cb8ad[_0x57aa86>>>0x5]|=0x80<<0x18-_0x57aa86%0x20;var _0x2579e0=_0x4de86c[_0x52a55b(0x529)](_0x5c1e37/0x100000000),_0x1946d2=_0x5c1e37;_0x4cb8ad[(_0x57aa86+0x40>>>0x9<<0x4)+0xf]=(_0x2579e0<<0x8|_0x2579e0>>>0x18)&0xff00ff|(_0x2579e0<<0x18|_0x2579e0>>>0x8)&0xff00ff00,_0x4cb8ad[(_0x57aa86+0x40>>>0x9<<0x4)+0xe]=(_0x1946d2<<0x8|_0x1946d2>>>0x18)&0xff00ff|(_0x1946d2<<0x18|_0x1946d2>>>0x8)&0xff00ff00,_0xa1fda1[_0x52a55b(0x2b9)]=(_0x4cb8ad[_0x52a55b(0x42e)]+0x1)*0x4,this[_0x52a55b(0x580)]();for(var _0x4d7ef7=this[_0x52a55b(0x41e)],_0x23f66f=_0x4d7ef7['words'],_0x5269ed=0x0;_0x5269ed<0x4;_0x5269ed++){var _0x308104=_0x23f66f[_0x5269ed];_0x23f66f[_0x5269ed]=(_0x308104<<0x8|_0x308104>>>0x18)&0xff00ff|(_0x308104<<0x18|_0x308104>>>0x8)&0xff00ff00;}return _0x4d7ef7;},'clone':function(){const _0x59c3a3=_0x1ca65d;var _0x18c7f8=_0x4f2488['clone'][_0x59c3a3(0x1e1)](this);return _0x18c7f8['_hash']=this[_0x59c3a3(0x41e)][_0x59c3a3(0x588)](),_0x18c7f8;}});function _0x3b4da1(_0x3816f7,_0x30309b,_0x4c9ebe,_0x25206c,_0x244e32,_0x4cfd32,_0x5bb6cd){var _0x461366=_0x3816f7+(_0x30309b&_0x4c9ebe|~_0x30309b&_0x25206c)+_0x244e32+_0x5bb6cd;return(_0x461366<<_0x4cfd32|_0x461366>>>0x20-_0x4cfd32)+_0x30309b;}function _0xa6f2b(_0x4f0ebe,_0x236270,_0x10e8fc,_0x1861e9,_0x2a7fa7,_0x5dcef0,_0x2a71bd){var _0x39da19=_0x4f0ebe+(_0x236270&_0x1861e9|_0x10e8fc&~_0x1861e9)+_0x2a7fa7+_0x2a71bd;return(_0x39da19<<_0x5dcef0|_0x39da19>>>0x20-_0x5dcef0)+_0x236270;}function _0x19cab0(_0x37a7e0,_0x2bc914,_0x508471,_0x533615,_0x195939,_0x492215,_0x3018f5){var _0x58bba7=_0x37a7e0+(_0x2bc914^_0x508471^_0x533615)+_0x195939+_0x3018f5;return(_0x58bba7<<_0x492215|_0x58bba7>>>0x20-_0x492215)+_0x2bc914;}function _0x417685(_0x245e51,_0x32da6c,_0x33ead0,_0x345cf7,_0x3e2e56,_0x475af4,_0x3ac355){var _0x4fdc6e=_0x245e51+(_0x33ead0^(_0x32da6c|~_0x345cf7))+_0x3e2e56+_0x3ac355;return(_0x4fdc6e<<_0x475af4|_0x4fdc6e>>>0x20-_0x475af4)+_0x32da6c;}_0x9b490f[_0x1ca65d(0x238)]=_0x4f2488['_createHelper'](_0x4981dc),_0x9b490f[_0x1ca65d(0x556)]=_0x4f2488[_0x1ca65d(0x2e0)](_0x4981dc);}(Math),_0x1d6be2[_0x30fa33(0x238)];}));}(_t)),_t[_0x45b692(0x53e)];}var ut={'exports':{}},dt={'exports':{}},zt;function vr(){return zt||(zt=0x1,function(_0x507101,_0x31cda4){(function(_0x153158,_0x2e3bfd){const _0x107293=_0x10f0;_0x507101[_0x107293(0x53e)]=_0x2e3bfd(oe());}(Z,function(_0x15be66){const _0x400c5e=_0x10f0;return(function(){const _0x5a9d35=_0x10f0;var _0x503178=_0x15be66,_0x52867b=_0x503178['lib'],_0x4f7f68=_0x52867b['WordArray'],_0xe15d7c=_0x52867b[_0x5a9d35(0x5bb)],_0x2d6ddf=_0x503178[_0x5a9d35(0x1ae)],_0x853436=[],_0x51c595=_0x2d6ddf['SHA1']=_0xe15d7c[_0x5a9d35(0x4ed)]({'_doReset':function(){const _0x4f7ee0=_0x5a9d35;this[_0x4f7ee0(0x41e)]=new _0x4f7f68['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5031dc,_0x313f22){const _0xe9075a=_0x5a9d35;for(var _0x3c7f47=this[_0xe9075a(0x41e)][_0xe9075a(0x2ac)],_0x5b817e=_0x3c7f47[0x0],_0x3ff193=_0x3c7f47[0x1],_0x5d5633=_0x3c7f47[0x2],_0x2d7a17=_0x3c7f47[0x3],_0x58f75c=_0x3c7f47[0x4],_0x3fdae6=0x0;_0x3fdae6<0x50;_0x3fdae6++){if(_0x3fdae6<0x10)_0x853436[_0x3fdae6]=_0x5031dc[_0x313f22+_0x3fdae6]|0x0;else{var _0x5ddf7b=_0x853436[_0x3fdae6-0x3]^_0x853436[_0x3fdae6-0x8]^_0x853436[_0x3fdae6-0xe]^_0x853436[_0x3fdae6-0x10];_0x853436[_0x3fdae6]=_0x5ddf7b<<0x1|_0x5ddf7b>>>0x1f;}var _0x4f2a2d=(_0x5b817e<<0x5|_0x5b817e>>>0x1b)+_0x58f75c+_0x853436[_0x3fdae6];_0x3fdae6<0x14?_0x4f2a2d+=(_0x3ff193&_0x5d5633|~_0x3ff193&_0x2d7a17)+0x5a827999:_0x3fdae6<0x28?_0x4f2a2d+=(_0x3ff193^_0x5d5633^_0x2d7a17)+0x6ed9eba1:_0x3fdae6<0x3c?_0x4f2a2d+=(_0x3ff193&_0x5d5633|_0x3ff193&_0x2d7a17|_0x5d5633&_0x2d7a17)-0x70e44324:_0x4f2a2d+=(_0x3ff193^_0x5d5633^_0x2d7a17)-0x359d3e2a,_0x58f75c=_0x2d7a17,_0x2d7a17=_0x5d5633,_0x5d5633=_0x3ff193<<0x1e|_0x3ff193>>>0x2,_0x3ff193=_0x5b817e,_0x5b817e=_0x4f2a2d;}_0x3c7f47[0x0]=_0x3c7f47[0x0]+_0x5b817e|0x0,_0x3c7f47[0x1]=_0x3c7f47[0x1]+_0x3ff193|0x0,_0x3c7f47[0x2]=_0x3c7f47[0x2]+_0x5d5633|0x0,_0x3c7f47[0x3]=_0x3c7f47[0x3]+_0x2d7a17|0x0,_0x3c7f47[0x4]=_0x3c7f47[0x4]+_0x58f75c|0x0;},'_doFinalize':function(){const _0x2d2d64=_0x5a9d35;var _0x295244=this[_0x2d2d64(0x2a0)],_0x35c06f=_0x295244[_0x2d2d64(0x2ac)],_0x44ed1c=this[_0x2d2d64(0x225)]*0x8,_0x2b2816=_0x295244[_0x2d2d64(0x2b9)]*0x8;return _0x35c06f[_0x2b2816>>>0x5]|=0x80<<0x18-_0x2b2816%0x20,_0x35c06f[(_0x2b2816+0x40>>>0x9<<0x4)+0xe]=Math[_0x2d2d64(0x529)](_0x44ed1c/0x100000000),_0x35c06f[(_0x2b2816+0x40>>>0x9<<0x4)+0xf]=_0x44ed1c,_0x295244['sigBytes']=_0x35c06f[_0x2d2d64(0x42e)]*0x4,this[_0x2d2d64(0x580)](),this[_0x2d2d64(0x41e)];},'clone':function(){const _0x2de4dc=_0x5a9d35;var _0x3d5c13=_0xe15d7c['clone'][_0x2de4dc(0x1e1)](this);return _0x3d5c13['_hash']=this[_0x2de4dc(0x41e)][_0x2de4dc(0x588)](),_0x3d5c13;}});_0x503178[_0x5a9d35(0x53d)]=_0xe15d7c[_0x5a9d35(0x2db)](_0x51c595),_0x503178[_0x5a9d35(0x490)]=_0xe15d7c[_0x5a9d35(0x2e0)](_0x51c595);}()),_0x15be66[_0x400c5e(0x53d)];}));}(dt)),dt['exports'];}var ft={'exports':{}},Xt;function Sr(){const _0x53cba6=_0x4fac68;return Xt||(Xt=0x1,function(_0x30b8db,_0x18f7b9){(function(_0x4c3b5c,_0x207fa9){const _0x23c5e2=_0x10f0;_0x30b8db[_0x23c5e2(0x53e)]=_0x207fa9(oe());}(Z,function(_0xfb9bf7){(function(){const _0x3a7b41=_0x10f0;var _0x2d79b7=_0xfb9bf7,_0x33bf0a=_0x2d79b7['lib'],_0x3a1773=_0x33bf0a['Base'],_0x4caa4d=_0x2d79b7['enc'],_0x483773=_0x4caa4d['Utf8'],_0x15e9b5=_0x2d79b7['algo'];_0x15e9b5['HMAC']=_0x3a1773[_0x3a7b41(0x4ed)]({'init':function(_0x34c9c3,_0xc608fe){const _0x3987a0=_0x3a7b41;_0x34c9c3=this[_0x3987a0(0x5af)]=new _0x34c9c3[(_0x3987a0(0x3cf))](),typeof _0xc608fe=='string'&&(_0xc608fe=_0x483773[_0x3987a0(0x534)](_0xc608fe));var _0x3ef6bf=_0x34c9c3[_0x3987a0(0x64f)],_0x54e420=_0x3ef6bf*0x4;_0xc608fe[_0x3987a0(0x2b9)]>_0x54e420&&(_0xc608fe=_0x34c9c3[_0x3987a0(0x276)](_0xc608fe)),_0xc608fe[_0x3987a0(0x526)]();for(var _0x36893e=this[_0x3987a0(0x4fc)]=_0xc608fe['clone'](),_0x155f5a=this[_0x3987a0(0x315)]=_0xc608fe[_0x3987a0(0x588)](),_0x5d8548=_0x36893e['words'],_0xadfbd3=_0x155f5a[_0x3987a0(0x2ac)],_0x5092b8=0x0;_0x5092b8<_0x3ef6bf;_0x5092b8++)_0x5d8548[_0x5092b8]^=0x5c5c5c5c,_0xadfbd3[_0x5092b8]^=0x36363636;_0x36893e[_0x3987a0(0x2b9)]=_0x155f5a[_0x3987a0(0x2b9)]=_0x54e420,this['reset']();},'reset':function(){const _0xd64f3f=_0x3a7b41;var _0x45d986=this[_0xd64f3f(0x5af)];_0x45d986[_0xd64f3f(0x435)](),_0x45d986['update'](this[_0xd64f3f(0x315)]);},'update':function(_0x14214d){const _0x3a4d6b=_0x3a7b41;return this[_0x3a4d6b(0x5af)][_0x3a4d6b(0x228)](_0x14214d),this;},'finalize':function(_0x4ed0a9){const _0x573d57=_0x3a7b41;var _0x26d8a6=this[_0x573d57(0x5af)],_0x3417ca=_0x26d8a6[_0x573d57(0x276)](_0x4ed0a9);_0x26d8a6[_0x573d57(0x435)]();var _0x1fb5e2=_0x26d8a6[_0x573d57(0x276)](this[_0x573d57(0x4fc)]['clone']()[_0x573d57(0x5d9)](_0x3417ca));return _0x1fb5e2;}});}());}));}(ft)),ft[_0x53cba6(0x53e)];}var Jt;function wi(){const _0x217fa0=_0x4fac68;return Jt||(Jt=0x1,function(_0x6ad5e8,_0x43b030){(function(_0x2f577b,_0x54d611,_0xcc03c6){const _0x34d579=_0x10f0;_0x6ad5e8[_0x34d579(0x53e)]=_0x54d611(oe(),vr(),Sr());}(Z,function(_0x4b3e77){const _0x65a842=_0x10f0;return(function(){const _0x2eb0bc=_0x10f0;var _0x5eaaf3=_0x4b3e77,_0xd3804c=_0x5eaaf3[_0x2eb0bc(0x254)],_0x44bde5=_0xd3804c[_0x2eb0bc(0x530)],_0x415d1a=_0xd3804c[_0x2eb0bc(0x2d5)],_0x101451=_0x5eaaf3['algo'],_0x43d266=_0x101451[_0x2eb0bc(0x238)],_0x3fccd2=_0x101451[_0x2eb0bc(0x50c)]=_0x44bde5[_0x2eb0bc(0x4ed)]({'cfg':_0x44bde5['extend']({'keySize':0x80/0x20,'hasher':_0x43d266,'iterations':0x1}),'init':function(_0x143f2d){const _0x38fbb4=_0x2eb0bc;this[_0x38fbb4(0x48d)]=this[_0x38fbb4(0x48d)][_0x38fbb4(0x4ed)](_0x143f2d);},'compute':function(_0x3d6985,_0x22b8ce){const _0x29aeef=_0x2eb0bc;for(var _0x106ca8,_0x5c2c6a=this[_0x29aeef(0x48d)],_0x4b4a06=_0x5c2c6a[_0x29aeef(0x2be)]['create'](),_0x1eddc4=_0x415d1a[_0x29aeef(0x2fb)](),_0x1cdd24=_0x1eddc4[_0x29aeef(0x2ac)],_0x4bafaa=_0x5c2c6a[_0x29aeef(0x482)],_0x31233a=_0x5c2c6a[_0x29aeef(0x29e)];_0x1cdd24['length']<_0x4bafaa;){_0x106ca8&&_0x4b4a06[_0x29aeef(0x228)](_0x106ca8),_0x106ca8=_0x4b4a06['update'](_0x3d6985)[_0x29aeef(0x276)](_0x22b8ce),_0x4b4a06[_0x29aeef(0x435)]();for(var _0x4554ba=0x1;_0x4554ba<_0x31233a;_0x4554ba++)_0x106ca8=_0x4b4a06[_0x29aeef(0x276)](_0x106ca8),_0x4b4a06[_0x29aeef(0x435)]();_0x1eddc4['concat'](_0x106ca8);}return _0x1eddc4[_0x29aeef(0x2b9)]=_0x4bafaa*0x4,_0x1eddc4;}});_0x5eaaf3[_0x2eb0bc(0x50c)]=function(_0x2f08eb,_0x1246e3,_0x5e3653){const _0x1e30ee=_0x2eb0bc;return _0x3fccd2[_0x1e30ee(0x2fb)](_0x5e3653)[_0x1e30ee(0x62b)](_0x2f08eb,_0x1246e3);};}()),_0x4b3e77[_0x65a842(0x50c)];}));}(ut)),ut[_0x217fa0(0x53e)];}var vt={'exports':{}},Zt;function Ui(){return Zt||(Zt=0x1,function(_0x360fa8,_0x1d562d){(function(_0x273499,_0x265f5f,_0x48199a){const _0x2095fb=_0x10f0;_0x360fa8[_0x2095fb(0x53e)]=_0x265f5f(oe(),wi());}(Z,function(_0x3f3d03){const _0x143deb=_0x10f0;_0x3f3d03['lib'][_0x143deb(0x287)]||function(_0x4f54a7){const _0x30256b=_0x143deb;var _0x58277e=_0x3f3d03,_0x2a472c=_0x58277e['lib'],_0x461b0c=_0x2a472c['Base'],_0x16ec6a=_0x2a472c[_0x30256b(0x2d5)],_0x8de219=_0x2a472c[_0x30256b(0x18f)],_0x8f9898=_0x58277e['enc'];_0x8f9898[_0x30256b(0x2cc)];var _0x233f4e=_0x8f9898[_0x30256b(0x3b9)],_0x4d3e60=_0x58277e[_0x30256b(0x1ae)],_0x2cd37b=_0x4d3e60[_0x30256b(0x50c)],_0x134f84=_0x2a472c[_0x30256b(0x287)]=_0x8de219[_0x30256b(0x4ed)]({'cfg':_0x461b0c[_0x30256b(0x4ed)](),'createEncryptor':function(_0x1d9f3b,_0x25c21f){const _0x440bd8=_0x30256b;return this[_0x440bd8(0x2fb)](this[_0x440bd8(0x442)],_0x1d9f3b,_0x25c21f);},'createDecryptor':function(_0x41fded,_0x335e4b){const _0x23241f=_0x30256b;return this[_0x23241f(0x2fb)](this['_DEC_XFORM_MODE'],_0x41fded,_0x335e4b);},'init':function(_0x1b130c,_0x3bef2f,_0x3d41a7){const _0x317915=_0x30256b;this['cfg']=this[_0x317915(0x48d)][_0x317915(0x4ed)](_0x3d41a7),this[_0x317915(0x4f0)]=_0x1b130c,this[_0x317915(0x300)]=_0x3bef2f,this['reset']();},'reset':function(){const _0x37a8eb=_0x30256b;_0x8de219[_0x37a8eb(0x435)][_0x37a8eb(0x1e1)](this),this[_0x37a8eb(0x52c)]();},'process':function(_0x2aaf93){const _0x503dd1=_0x30256b;return this[_0x503dd1(0x5c5)](_0x2aaf93),this['_process']();},'finalize':function(_0x2e8aeb){const _0x110f04=_0x30256b;_0x2e8aeb&&this[_0x110f04(0x5c5)](_0x2e8aeb);var _0xa8fa84=this['_doFinalize']();return _0xa8fa84;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2c552d(_0xc55701){return typeof _0xc55701=='string'?_0x538e31:_0x1aebd8;}return function(_0x23796c){return{'encrypt':function(_0x54ca64,_0x35fb26,_0x551719){return _0x2c552d(_0x35fb26)['encrypt'](_0x23796c,_0x54ca64,_0x35fb26,_0x551719);},'decrypt':function(_0x48b6d7,_0x2ba588,_0x31ae33){const _0x4bc1f5=_0x10f0;return _0x2c552d(_0x2ba588)[_0x4bc1f5(0x519)](_0x23796c,_0x48b6d7,_0x2ba588,_0x31ae33);}};};}())});_0x2a472c[_0x30256b(0x5d6)]=_0x134f84[_0x30256b(0x4ed)]({'_doFinalize':function(){const _0x39ddb0=_0x30256b;var _0x3470d6=this[_0x39ddb0(0x580)](!0x0);return _0x3470d6;},'blockSize':0x1});var _0x5876e3=_0x58277e[_0x30256b(0x17d)]={},_0x17914f=_0x2a472c[_0x30256b(0x617)]=_0x461b0c[_0x30256b(0x4ed)]({'createEncryptor':function(_0x3dfd2d,_0x36bc98){const _0x53ffc3=_0x30256b;return this[_0x53ffc3(0x5ae)]['create'](_0x3dfd2d,_0x36bc98);},'createDecryptor':function(_0x468b63,_0x505867){const _0x1dd292=_0x30256b;return this['Decryptor'][_0x1dd292(0x2fb)](_0x468b63,_0x505867);},'init':function(_0x1122b7,_0x2f1455){this['_cipher']=_0x1122b7,this['_iv']=_0x2f1455;}}),_0x54144d=_0x5876e3['CBC']=(function(){const _0x432323=_0x30256b;var _0x27932f=_0x17914f[_0x432323(0x4ed)]();_0x27932f[_0x432323(0x5ae)]=_0x27932f[_0x432323(0x4ed)]({'processBlock':function(_0x4896d4,_0x20d5c7){const _0x36dd94=_0x432323;var _0x356220=this[_0x36dd94(0x309)],_0x5df713=_0x356220['blockSize'];_0x3bb54a[_0x36dd94(0x1e1)](this,_0x4896d4,_0x20d5c7,_0x5df713),_0x356220[_0x36dd94(0x60a)](_0x4896d4,_0x20d5c7),this['_prevBlock']=_0x4896d4[_0x36dd94(0x373)](_0x20d5c7,_0x20d5c7+_0x5df713);}}),_0x27932f[_0x432323(0x18b)]=_0x27932f[_0x432323(0x4ed)]({'processBlock':function(_0x5c5c8d,_0x4b35dd){const _0x2e12ca=_0x432323;var _0xe2921b=this[_0x2e12ca(0x309)],_0x401121=_0xe2921b['blockSize'],_0x28ce53=_0x5c5c8d['slice'](_0x4b35dd,_0x4b35dd+_0x401121);_0xe2921b['decryptBlock'](_0x5c5c8d,_0x4b35dd),_0x3bb54a[_0x2e12ca(0x1e1)](this,_0x5c5c8d,_0x4b35dd,_0x401121),this[_0x2e12ca(0x428)]=_0x28ce53;}});function _0x3bb54a(_0x354f63,_0x35dd5f,_0x221660){const _0x4eafda=_0x432323;var _0x5f0d9b,_0xb48e43=this[_0x4eafda(0x603)];_0xb48e43?(_0x5f0d9b=_0xb48e43,this['_iv']=_0x4f54a7):_0x5f0d9b=this[_0x4eafda(0x428)];for(var _0x467a52=0x0;_0x467a52<_0x221660;_0x467a52++)_0x354f63[_0x35dd5f+_0x467a52]^=_0x5f0d9b[_0x467a52];}return _0x27932f;}()),_0x4dc640=_0x58277e[_0x30256b(0x339)]={},_0x27af3a=_0x4dc640[_0x30256b(0x632)]={'pad':function(_0x2de35b,_0x510cb9){const _0x58bfb6=_0x30256b;for(var _0x3cf5b1=_0x510cb9*0x4,_0x2c27bb=_0x3cf5b1-_0x2de35b[_0x58bfb6(0x2b9)]%_0x3cf5b1,_0x1dd23c=_0x2c27bb<<0x18|_0x2c27bb<<0x10|_0x2c27bb<<0x8|_0x2c27bb,_0x4c179b=[],_0x4f5976=0x0;_0x4f5976<_0x2c27bb;_0x4f5976+=0x4)_0x4c179b['push'](_0x1dd23c);var _0x35e1f9=_0x16ec6a[_0x58bfb6(0x2fb)](_0x4c179b,_0x2c27bb);_0x2de35b[_0x58bfb6(0x5d9)](_0x35e1f9);},'unpad':function(_0x463363){const _0x227166=_0x30256b;var _0x1e80e2=_0x463363[_0x227166(0x2ac)][_0x463363['sigBytes']-0x1>>>0x2]&0xff;_0x463363[_0x227166(0x2b9)]-=_0x1e80e2;}};_0x2a472c[_0x30256b(0x43e)]=_0x134f84[_0x30256b(0x4ed)]({'cfg':_0x134f84[_0x30256b(0x48d)][_0x30256b(0x4ed)]({'mode':_0x54144d,'padding':_0x27af3a}),'reset':function(){const _0x46a935=_0x30256b;var _0x2f6b51;_0x134f84[_0x46a935(0x435)][_0x46a935(0x1e1)](this);var _0x294992=this[_0x46a935(0x48d)],_0x111165=_0x294992['iv'],_0x4d8ee1=_0x294992[_0x46a935(0x17d)];this[_0x46a935(0x4f0)]==this['_ENC_XFORM_MODE']?_0x2f6b51=_0x4d8ee1[_0x46a935(0x5e0)]:(_0x2f6b51=_0x4d8ee1[_0x46a935(0x291)],this['_minBufferSize']=0x1),this[_0x46a935(0x554)]&&this[_0x46a935(0x554)][_0x46a935(0x3d7)]==_0x2f6b51?this[_0x46a935(0x554)][_0x46a935(0x3cf)](this,_0x111165&&_0x111165[_0x46a935(0x2ac)]):(this[_0x46a935(0x554)]=_0x2f6b51[_0x46a935(0x1e1)](_0x4d8ee1,this,_0x111165&&_0x111165[_0x46a935(0x2ac)]),this[_0x46a935(0x554)][_0x46a935(0x3d7)]=_0x2f6b51);},'_doProcessBlock':function(_0x6101d5,_0x573f7b){const _0x3aa13f=_0x30256b;this['_mode'][_0x3aa13f(0x2f7)](_0x6101d5,_0x573f7b);},'_doFinalize':function(){const _0x36c7a8=_0x30256b;var _0x3c623f,_0x130b41=this[_0x36c7a8(0x48d)]['padding'];return this[_0x36c7a8(0x4f0)]==this[_0x36c7a8(0x442)]?(_0x130b41['pad'](this[_0x36c7a8(0x2a0)],this[_0x36c7a8(0x64f)]),_0x3c623f=this[_0x36c7a8(0x580)](!0x0)):(_0x3c623f=this[_0x36c7a8(0x580)](!0x0),_0x130b41[_0x36c7a8(0x35c)](_0x3c623f)),_0x3c623f;},'blockSize':0x80/0x20});var _0x15498d=_0x2a472c[_0x30256b(0x3fd)]=_0x461b0c[_0x30256b(0x4ed)]({'init':function(_0x379bae){const _0x1700ad=_0x30256b;this[_0x1700ad(0x1d6)](_0x379bae);},'toString':function(_0x269351){return(_0x269351||this['formatter'])['stringify'](this);}}),_0x4fc47c=_0x58277e['format']={},_0x9011e9=_0x4fc47c[_0x30256b(0x3f2)]={'stringify':function(_0x275b8a){const _0x3e3acb=_0x30256b;var _0x3ceb05,_0x40691e=_0x275b8a[_0x3e3acb(0x63d)],_0x3862e8=_0x275b8a[_0x3e3acb(0x29b)];return _0x3862e8?_0x3ceb05=_0x16ec6a[_0x3e3acb(0x2fb)]([0x53616c74,0x65645f5f])['concat'](_0x3862e8)['concat'](_0x40691e):_0x3ceb05=_0x40691e,_0x3ceb05[_0x3e3acb(0x29c)](_0x233f4e);},'parse':function(_0x499f0b){const _0x2a432f=_0x30256b;var _0x46b84e,_0x534eab=_0x233f4e[_0x2a432f(0x534)](_0x499f0b),_0x456e71=_0x534eab[_0x2a432f(0x2ac)];return _0x456e71[0x0]==0x53616c74&&_0x456e71[0x1]==0x65645f5f&&(_0x46b84e=_0x16ec6a[_0x2a432f(0x2fb)](_0x456e71['slice'](0x2,0x4)),_0x456e71[_0x2a432f(0x63e)](0x0,0x4),_0x534eab[_0x2a432f(0x2b9)]-=0x10),_0x15498d['create']({'ciphertext':_0x534eab,'salt':_0x46b84e});}},_0x1aebd8=_0x2a472c[_0x30256b(0x528)]=_0x461b0c[_0x30256b(0x4ed)]({'cfg':_0x461b0c[_0x30256b(0x4ed)]({'format':_0x9011e9}),'encrypt':function(_0x55a38d,_0x594b91,_0x593c0e,_0x9bffb8){const _0x518435=_0x30256b;_0x9bffb8=this[_0x518435(0x48d)][_0x518435(0x4ed)](_0x9bffb8);var _0x29daee=_0x55a38d[_0x518435(0x5e0)](_0x593c0e,_0x9bffb8),_0x531ab8=_0x29daee[_0x518435(0x276)](_0x594b91),_0x2ba45e=_0x29daee[_0x518435(0x48d)];return _0x15498d['create']({'ciphertext':_0x531ab8,'key':_0x593c0e,'iv':_0x2ba45e['iv'],'algorithm':_0x55a38d,'mode':_0x2ba45e['mode'],'padding':_0x2ba45e[_0x518435(0x1c8)],'blockSize':_0x55a38d[_0x518435(0x64f)],'formatter':_0x9bffb8['format']});},'decrypt':function(_0x52b166,_0x4ac03b,_0x8e5816,_0x3a2880){const _0x2a9b6c=_0x30256b;_0x3a2880=this[_0x2a9b6c(0x48d)][_0x2a9b6c(0x4ed)](_0x3a2880),_0x4ac03b=this[_0x2a9b6c(0x240)](_0x4ac03b,_0x3a2880[_0x2a9b6c(0x359)]);var _0x1928be=_0x52b166[_0x2a9b6c(0x291)](_0x8e5816,_0x3a2880)[_0x2a9b6c(0x276)](_0x4ac03b['ciphertext']);return _0x1928be;},'_parse':function(_0xdbd43a,_0x3fa740){return typeof _0xdbd43a=='string'?_0x3fa740['parse'](_0xdbd43a,this):_0xdbd43a;}}),_0x47c2d0=_0x58277e[_0x30256b(0x3c9)]={},_0x23c689=_0x47c2d0['OpenSSL']={'execute':function(_0xeed6f2,_0x1d9468,_0x30248f,_0x314f9a,_0x2f4b85){const _0x4bd6f2=_0x30256b;if(_0x314f9a||(_0x314f9a=_0x16ec6a[_0x4bd6f2(0x462)](0x40/0x8)),_0x2f4b85)var _0x295f76=_0x2cd37b[_0x4bd6f2(0x2fb)]({'keySize':_0x1d9468+_0x30248f,'hasher':_0x2f4b85})[_0x4bd6f2(0x62b)](_0xeed6f2,_0x314f9a);else var _0x295f76=_0x2cd37b[_0x4bd6f2(0x2fb)]({'keySize':_0x1d9468+_0x30248f})[_0x4bd6f2(0x62b)](_0xeed6f2,_0x314f9a);var _0xfd6328=_0x16ec6a[_0x4bd6f2(0x2fb)](_0x295f76[_0x4bd6f2(0x2ac)][_0x4bd6f2(0x373)](_0x1d9468),_0x30248f*0x4);return _0x295f76[_0x4bd6f2(0x2b9)]=_0x1d9468*0x4,_0x15498d[_0x4bd6f2(0x2fb)]({'key':_0x295f76,'iv':_0xfd6328,'salt':_0x314f9a});}},_0x538e31=_0x2a472c[_0x30256b(0x32a)]=_0x1aebd8[_0x30256b(0x4ed)]({'cfg':_0x1aebd8[_0x30256b(0x48d)][_0x30256b(0x4ed)]({'kdf':_0x23c689}),'encrypt':function(_0x628ba4,_0x6bdc7a,_0x353231,_0x2544ea){const _0x51547b=_0x30256b;_0x2544ea=this[_0x51547b(0x48d)]['extend'](_0x2544ea);var _0x253d68=_0x2544ea[_0x51547b(0x3c9)][_0x51547b(0x312)](_0x353231,_0x628ba4[_0x51547b(0x482)],_0x628ba4[_0x51547b(0x199)],_0x2544ea['salt'],_0x2544ea[_0x51547b(0x2be)]);_0x2544ea['iv']=_0x253d68['iv'];var _0x52cb01=_0x1aebd8['encrypt'][_0x51547b(0x1e1)](this,_0x628ba4,_0x6bdc7a,_0x253d68[_0x51547b(0x2b8)],_0x2544ea);return _0x52cb01[_0x51547b(0x1d6)](_0x253d68),_0x52cb01;},'decrypt':function(_0x4dec37,_0x498bdc,_0x14cb9e,_0x1d9e34){const _0x3e8557=_0x30256b;_0x1d9e34=this[_0x3e8557(0x48d)][_0x3e8557(0x4ed)](_0x1d9e34),_0x498bdc=this['_parse'](_0x498bdc,_0x1d9e34[_0x3e8557(0x359)]);var _0x41c856=_0x1d9e34[_0x3e8557(0x3c9)]['execute'](_0x14cb9e,_0x4dec37['keySize'],_0x4dec37[_0x3e8557(0x199)],_0x498bdc[_0x3e8557(0x29b)],_0x1d9e34[_0x3e8557(0x2be)]);_0x1d9e34['iv']=_0x41c856['iv'];var _0x1541f6=_0x1aebd8[_0x3e8557(0x519)]['call'](this,_0x4dec37,_0x498bdc,_0x41c856[_0x3e8557(0x2b8)],_0x1d9e34);return _0x1541f6;}});}();}));}(vt)),vt['exports'];}(function(_0x290fdb,_0x2b8b4d){(function(_0x450cef,_0x346896,_0x2dbc5d){const _0xa928a5=_0x10f0;_0x290fdb[_0xa928a5(0x53e)]=_0x346896(oe(),Pi(),fr(),wi(),Ui());}(Z,function(_0x3a1f9a){const _0x1deb84=_0x10f0;return(function(){const _0x346950=_0x10f0;var _0x4ddd9f=_0x3a1f9a,_0xa9c0bb=_0x4ddd9f[_0x346950(0x254)],_0x1fca6b=_0xa9c0bb[_0x346950(0x43e)],_0x3f6e16=_0x4ddd9f[_0x346950(0x1ae)],_0x29af2e=[],_0x55f103=[],_0x474aad=[],_0x316488=[],_0x88752=[],_0x339243=[],_0x2787b7=[],_0x52ff8b=[],_0x538ae1=[],_0x34c8c6=[];(function(){for(var _0x4e9e21=[],_0x23e1cd=0x0;_0x23e1cd<0x100;_0x23e1cd++)_0x23e1cd<0x80?_0x4e9e21[_0x23e1cd]=_0x23e1cd<<0x1:_0x4e9e21[_0x23e1cd]=_0x23e1cd<<0x1^0x11b;for(var _0x1358a1=0x0,_0x312ce3=0x0,_0x23e1cd=0x0;_0x23e1cd<0x100;_0x23e1cd++){var _0x419ebe=_0x312ce3^_0x312ce3<<0x1^_0x312ce3<<0x2^_0x312ce3<<0x3^_0x312ce3<<0x4;_0x419ebe=_0x419ebe>>>0x8^_0x419ebe&0xff^0x63,_0x29af2e[_0x1358a1]=_0x419ebe,_0x55f103[_0x419ebe]=_0x1358a1;var _0x572f1c=_0x4e9e21[_0x1358a1],_0x24ba7d=_0x4e9e21[_0x572f1c],_0x2f1a7a=_0x4e9e21[_0x24ba7d],_0x38c07b=_0x4e9e21[_0x419ebe]*0x101^_0x419ebe*0x1010100;_0x474aad[_0x1358a1]=_0x38c07b<<0x18|_0x38c07b>>>0x8,_0x316488[_0x1358a1]=_0x38c07b<<0x10|_0x38c07b>>>0x10,_0x88752[_0x1358a1]=_0x38c07b<<0x8|_0x38c07b>>>0x18,_0x339243[_0x1358a1]=_0x38c07b;var _0x38c07b=_0x2f1a7a*0x1010101^_0x24ba7d*0x10001^_0x572f1c*0x101^_0x1358a1*0x1010100;_0x2787b7[_0x419ebe]=_0x38c07b<<0x18|_0x38c07b>>>0x8,_0x52ff8b[_0x419ebe]=_0x38c07b<<0x10|_0x38c07b>>>0x10,_0x538ae1[_0x419ebe]=_0x38c07b<<0x8|_0x38c07b>>>0x18,_0x34c8c6[_0x419ebe]=_0x38c07b,_0x1358a1?(_0x1358a1=_0x572f1c^_0x4e9e21[_0x4e9e21[_0x4e9e21[_0x2f1a7a^_0x572f1c]]],_0x312ce3^=_0x4e9e21[_0x4e9e21[_0x312ce3]]):_0x1358a1=_0x312ce3=0x1;}}());var _0xaa2b07=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3859cf=_0x3f6e16[_0x346950(0x285)]=_0x1fca6b[_0x346950(0x4ed)]({'_doReset':function(){const _0x5c52ec=_0x346950;var _0x2241f1;if(!(this[_0x5c52ec(0x478)]&&this[_0x5c52ec(0x19c)]===this[_0x5c52ec(0x300)])){for(var _0xbb144b=this['_keyPriorReset']=this[_0x5c52ec(0x300)],_0x422ff2=_0xbb144b[_0x5c52ec(0x2ac)],_0x2838c5=_0xbb144b[_0x5c52ec(0x2b9)]/0x4,_0x12045f=this['_nRounds']=_0x2838c5+0x6,_0x2f53b0=(_0x12045f+0x1)*0x4,_0x20d7e1=this[_0x5c52ec(0x34f)]=[],_0x273534=0x0;_0x273534<_0x2f53b0;_0x273534++)_0x273534<_0x2838c5?_0x20d7e1[_0x273534]=_0x422ff2[_0x273534]:(_0x2241f1=_0x20d7e1[_0x273534-0x1],_0x273534%_0x2838c5?_0x2838c5>0x6&&_0x273534%_0x2838c5==0x4&&(_0x2241f1=_0x29af2e[_0x2241f1>>>0x18]<<0x18|_0x29af2e[_0x2241f1>>>0x10&0xff]<<0x10|_0x29af2e[_0x2241f1>>>0x8&0xff]<<0x8|_0x29af2e[_0x2241f1&0xff]):(_0x2241f1=_0x2241f1<<0x8|_0x2241f1>>>0x18,_0x2241f1=_0x29af2e[_0x2241f1>>>0x18]<<0x18|_0x29af2e[_0x2241f1>>>0x10&0xff]<<0x10|_0x29af2e[_0x2241f1>>>0x8&0xff]<<0x8|_0x29af2e[_0x2241f1&0xff],_0x2241f1^=_0xaa2b07[_0x273534/_0x2838c5|0x0]<<0x18),_0x20d7e1[_0x273534]=_0x20d7e1[_0x273534-_0x2838c5]^_0x2241f1);for(var _0x33cc15=this[_0x5c52ec(0x5ed)]=[],_0x47a0ce=0x0;_0x47a0ce<_0x2f53b0;_0x47a0ce++){var _0x273534=_0x2f53b0-_0x47a0ce;if(_0x47a0ce%0x4)var _0x2241f1=_0x20d7e1[_0x273534];else var _0x2241f1=_0x20d7e1[_0x273534-0x4];_0x47a0ce<0x4||_0x273534<=0x4?_0x33cc15[_0x47a0ce]=_0x2241f1:_0x33cc15[_0x47a0ce]=_0x2787b7[_0x29af2e[_0x2241f1>>>0x18]]^_0x52ff8b[_0x29af2e[_0x2241f1>>>0x10&0xff]]^_0x538ae1[_0x29af2e[_0x2241f1>>>0x8&0xff]]^_0x34c8c6[_0x29af2e[_0x2241f1&0xff]];}}},'encryptBlock':function(_0x5791ef,_0x51d7b7){const _0x6a4222=_0x346950;this['_doCryptBlock'](_0x5791ef,_0x51d7b7,this[_0x6a4222(0x34f)],_0x474aad,_0x316488,_0x88752,_0x339243,_0x29af2e);},'decryptBlock':function(_0x14b2cc,_0x209d1e){const _0x2713f7=_0x346950;var _0x1b309f=_0x14b2cc[_0x209d1e+0x1];_0x14b2cc[_0x209d1e+0x1]=_0x14b2cc[_0x209d1e+0x3],_0x14b2cc[_0x209d1e+0x3]=_0x1b309f,this[_0x2713f7(0x44b)](_0x14b2cc,_0x209d1e,this['_invKeySchedule'],_0x2787b7,_0x52ff8b,_0x538ae1,_0x34c8c6,_0x55f103);var _0x1b309f=_0x14b2cc[_0x209d1e+0x1];_0x14b2cc[_0x209d1e+0x1]=_0x14b2cc[_0x209d1e+0x3],_0x14b2cc[_0x209d1e+0x3]=_0x1b309f;},'_doCryptBlock':function(_0x27d437,_0x3515d4,_0x5a1916,_0x35e9d0,_0x3f89f7,_0x564f7a,_0x131673,_0x5477db){const _0x8dc8de=_0x346950;for(var _0x1c2ef3=this[_0x8dc8de(0x478)],_0xd30dc1=_0x27d437[_0x3515d4]^_0x5a1916[0x0],_0x2fc354=_0x27d437[_0x3515d4+0x1]^_0x5a1916[0x1],_0x464cb5=_0x27d437[_0x3515d4+0x2]^_0x5a1916[0x2],_0x216aeb=_0x27d437[_0x3515d4+0x3]^_0x5a1916[0x3],_0x38b31a=0x4,_0x1b7054=0x1;_0x1b7054<_0x1c2ef3;_0x1b7054++){var _0x1a5ffb=_0x35e9d0[_0xd30dc1>>>0x18]^_0x3f89f7[_0x2fc354>>>0x10&0xff]^_0x564f7a[_0x464cb5>>>0x8&0xff]^_0x131673[_0x216aeb&0xff]^_0x5a1916[_0x38b31a++],_0x14e371=_0x35e9d0[_0x2fc354>>>0x18]^_0x3f89f7[_0x464cb5>>>0x10&0xff]^_0x564f7a[_0x216aeb>>>0x8&0xff]^_0x131673[_0xd30dc1&0xff]^_0x5a1916[_0x38b31a++],_0x4a79cc=_0x35e9d0[_0x464cb5>>>0x18]^_0x3f89f7[_0x216aeb>>>0x10&0xff]^_0x564f7a[_0xd30dc1>>>0x8&0xff]^_0x131673[_0x2fc354&0xff]^_0x5a1916[_0x38b31a++],_0x1c98aa=_0x35e9d0[_0x216aeb>>>0x18]^_0x3f89f7[_0xd30dc1>>>0x10&0xff]^_0x564f7a[_0x2fc354>>>0x8&0xff]^_0x131673[_0x464cb5&0xff]^_0x5a1916[_0x38b31a++];_0xd30dc1=_0x1a5ffb,_0x2fc354=_0x14e371,_0x464cb5=_0x4a79cc,_0x216aeb=_0x1c98aa;}var _0x1a5ffb=(_0x5477db[_0xd30dc1>>>0x18]<<0x18|_0x5477db[_0x2fc354>>>0x10&0xff]<<0x10|_0x5477db[_0x464cb5>>>0x8&0xff]<<0x8|_0x5477db[_0x216aeb&0xff])^_0x5a1916[_0x38b31a++],_0x14e371=(_0x5477db[_0x2fc354>>>0x18]<<0x18|_0x5477db[_0x464cb5>>>0x10&0xff]<<0x10|_0x5477db[_0x216aeb>>>0x8&0xff]<<0x8|_0x5477db[_0xd30dc1&0xff])^_0x5a1916[_0x38b31a++],_0x4a79cc=(_0x5477db[_0x464cb5>>>0x18]<<0x18|_0x5477db[_0x216aeb>>>0x10&0xff]<<0x10|_0x5477db[_0xd30dc1>>>0x8&0xff]<<0x8|_0x5477db[_0x2fc354&0xff])^_0x5a1916[_0x38b31a++],_0x1c98aa=(_0x5477db[_0x216aeb>>>0x18]<<0x18|_0x5477db[_0xd30dc1>>>0x10&0xff]<<0x10|_0x5477db[_0x2fc354>>>0x8&0xff]<<0x8|_0x5477db[_0x464cb5&0xff])^_0x5a1916[_0x38b31a++];_0x27d437[_0x3515d4]=_0x1a5ffb,_0x27d437[_0x3515d4+0x1]=_0x14e371,_0x27d437[_0x3515d4+0x2]=_0x4a79cc,_0x27d437[_0x3515d4+0x3]=_0x1c98aa;},'keySize':0x100/0x20});_0x4ddd9f[_0x346950(0x285)]=_0x1fca6b[_0x346950(0x2db)](_0x3859cf);}()),_0x3a1f9a[_0x1deb84(0x285)];}));}(Di));var pr=Di[_0x4fac68(0x53e)];const mr=xe(pr);var gr=Pi();const Qt=xe(gr);var Mi={'exports':{}};(function(_0xce2ab1,_0x4510f3){(function(_0x57a794,_0xb3edc){const _0xaafa3d=_0x10f0;_0xce2ab1[_0xaafa3d(0x53e)]=_0xb3edc(oe());}(Z,function(_0x3e370b){const _0x490527=_0x10f0;return _0x3e370b[_0x490527(0x5a5)]['Utf8'];}));}(Mi));var Ir=Mi[_0x4fac68(0x53e)];const Cr=xe(Ir);var Ai={'exports':{}};(function(_0x380766,_0x5365df){(function(_0x5384fa,_0x1c8646){const _0x5879f3=_0x10f0;_0x380766[_0x5879f3(0x53e)]=_0x1c8646(oe());}(Z,function(_0x16eddb){const _0x5caff6=_0x10f0;return(function(){const _0x5f4b62=_0x10f0;if(typeof ArrayBuffer==_0x5f4b62(0x266)){var _0x424564=_0x16eddb,_0x43bfbc=_0x424564[_0x5f4b62(0x254)],_0x584a50=_0x43bfbc[_0x5f4b62(0x2d5)],_0x22cb86=_0x584a50[_0x5f4b62(0x3cf)],_0x5ae698=_0x584a50[_0x5f4b62(0x3cf)]=function(_0x2138d1){const _0x38756c=_0x5f4b62;if(_0x2138d1 instanceof ArrayBuffer&&(_0x2138d1=new Uint8Array(_0x2138d1)),(_0x2138d1 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2138d1 instanceof Uint8ClampedArray||_0x2138d1 instanceof Int16Array||_0x2138d1 instanceof Uint16Array||_0x2138d1 instanceof Int32Array||_0x2138d1 instanceof Uint32Array||_0x2138d1 instanceof Float32Array||_0x2138d1 instanceof Float64Array)&&(_0x2138d1=new Uint8Array(_0x2138d1[_0x38756c(0x584)],_0x2138d1['byteOffset'],_0x2138d1['byteLength'])),_0x2138d1 instanceof Uint8Array){for(var _0x5f41e=_0x2138d1[_0x38756c(0x3e0)],_0x58deb2=[],_0x295909=0x0;_0x295909<_0x5f41e;_0x295909++)_0x58deb2[_0x295909>>>0x2]|=_0x2138d1[_0x295909]<<0x18-_0x295909%0x4*0x8;_0x22cb86['call'](this,_0x58deb2,_0x5f41e);}else _0x22cb86[_0x38756c(0x295)](this,arguments);};_0x5ae698[_0x5f4b62(0x552)]=_0x584a50;}}()),_0x16eddb[_0x5caff6(0x254)]['WordArray'];}));}(Ai));var Er=Ai[_0x4fac68(0x53e)];const br=xe(Er);var Ni={'exports':{}};(function(_0x4409f3,_0x436cbe){(function(_0x1a1390,_0x5da51f,_0x2a9366){const _0x3d9387=_0x10f0;_0x4409f3[_0x3d9387(0x53e)]=_0x5da51f(oe(),Ui());}(Z,function(_0x28e1dd){const _0x4c212b=_0x10f0;return _0x28e1dd[_0x4c212b(0x339)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x28e1dd['pad'][_0x4c212b(0x2cf)];}));}(Ni));var Tr=Ni[_0x4fac68(0x53e)];const Rr=xe(Tr);function yr(_0x5bc881,_0x5cd580){const _0x3b926b=_0x4fac68,_0xed6aee=_0x5cd580-_0x5bc881[_0x3b926b(0x42e)]%_0x5cd580,_0x27f9b2=String[_0x3b926b(0x29d)](_0xed6aee)[_0x3b926b(0x22d)](_0xed6aee);return _0x5bc881+_0x27f9b2;}function Or(_0x43e1c7,_0x3f08c1){const _0x42a221=_0x4fac68,_0x4b2fd9=br['random'](0x10),_0x2ed084=yr(_0x43e1c7,0x10),_0x30dfe9=mr[_0x42a221(0x1dd)](Cr['parse'](_0x2ed084),Qt[_0x42a221(0x534)](_0x3f08c1),{'iv':_0x4b2fd9,'padding':Rr});return _0x4b2fd9[_0x42a221(0x5d9)](_0x30dfe9['ciphertext'])[_0x42a221(0x29c)](Qt);}function Dr(){const _0x419774=_0x4fac68,_0x217999=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x419774(0x348)];if(_0x217999){const _0x3bdca3={'time':Math['floor'](Date[_0x419774(0x60b)]()/0x3e8),'domain':location[_0x419774(0x32c)]};return Or(JSON['stringify'](_0x3bdca3),_0x217999);}}var Pr=Object[_0x4fac68(0x470)],wr=Object[_0x4fac68(0x340)],Ur=(_0x3bb4ae,_0xae211f,_0x452f83,_0x244b8f)=>{const _0x168870=_0x4fac68;for(var _0x89fd78=_0x244b8f>0x1?void 0x0:_0x244b8f?wr(_0xae211f,_0x452f83):_0xae211f,_0x1feedf=_0x3bb4ae[_0x168870(0x42e)]-0x1,_0x5f06da;_0x1feedf>=0x0;_0x1feedf--)(_0x5f06da=_0x3bb4ae[_0x1feedf])&&(_0x89fd78=(_0x244b8f?_0x5f06da(_0xae211f,_0x452f83,_0x89fd78):_0x5f06da(_0x89fd78))||_0x89fd78);return _0x244b8f&&_0x89fd78&&Pr(_0xae211f,_0x452f83,_0x89fd78),_0x89fd78;},Mr=(_0x42d2d3,_0xf28600)=>(_0x30cfd5,_0x585bb6)=>_0xf28600(_0x30cfd5,_0x585bb6,_0x42d2d3);let Ke=class{constructor(_0x324714){const _0x151fb5=_0x4fac68;this[_0x151fb5(0x53f)]=_0x324714,this['_initRequestHeader']();}[_0x4fac68(0x1cf)](){const _0x480325=_0x4fac68;this['_httpService'][_0x480325(0x378)]({'interceptor':(_0x51a459,_0x347893)=>{const _0x3d9fdd=_0x480325,_0x2c4ab8=_0x51a459['headers'],_0xc33bcc=Dr();return _0xc33bcc&&_0x2c4ab8[_0x3d9fdd(0x558)]('x-univer-host',_0xc33bcc),_0x347893(_0x51a459);}});}};Ke=Ur([Mr(0x0,a[_0x4fac68(0x55d)](z['HTTPService']))],Ke);var Ar=Object[_0x4fac68(0x470)],Nr=Object[_0x4fac68(0x340)],Lr=(_0x3d3e28,_0x1020d3,_0x3d8f9e,_0x2a3b46)=>{const _0x296c5f=_0x4fac68;for(var _0x5ae9fd=_0x2a3b46>0x1?void 0x0:_0x2a3b46?Nr(_0x1020d3,_0x3d8f9e):_0x1020d3,_0x435699=_0x3d3e28[_0x296c5f(0x42e)]-0x1,_0x4790e4;_0x435699>=0x0;_0x435699--)(_0x4790e4=_0x3d3e28[_0x435699])&&(_0x5ae9fd=(_0x2a3b46?_0x4790e4(_0x1020d3,_0x3d8f9e,_0x5ae9fd):_0x4790e4(_0x5ae9fd))||_0x5ae9fd);return _0x2a3b46&&_0x5ae9fd&&Ar(_0x1020d3,_0x3d8f9e,_0x5ae9fd),_0x5ae9fd;},St=(_0x9656ce,_0x4a6e9e)=>(_0x5aaf2a,_0x1134ba)=>_0x4a6e9e(_0x5aaf2a,_0x1134ba,_0x9656ce);const xr=[_0x4fac68(0x261),_0x4fac68(0x63c),'image/jpg',_0x4fac68(0x4d4),_0x4fac68(0x2ad)],jr=0x5*0x400*0x400,$r=_0x4fac68(0x25f),Hr=_0x4fac68(0x4df),Br='EXCHANGE_SIGN_URL_SERVER_URL_KEY',kr=_0x4fac68(0x466);exports[_0x4fac68(0x647)]=class{constructor(_0x4e00a6,_0x29279c,_0x4d3478){const _0x2672c9=_0x4fac68;I(this,_0x2672c9(0x40b),0x0),I(this,_0x2672c9(0x1ca),new A[(_0x2672c9(0x24e))]()),I(this,_0x2672c9(0x305),this[_0x2672c9(0x1ca)]),I(this,_0x2672c9(0x463),new Map()),(this[_0x2672c9(0x53f)]=_0x4e00a6,this[_0x2672c9(0x216)]=_0x29279c,this[_0x2672c9(0x241)]=_0x4d3478);}[_0x4fac68(0x484)](_0x3bcf4f){const _0xecba43=_0x4fac68;this[_0xecba43(0x40b)]=_0x3bcf4f,this[_0xecba43(0x1ca)][_0xecba43(0x250)](_0x3bcf4f);}[_0x4fac68(0x5a0)](_0x585cb3,_0xccf394){const _0x463223=_0x4fac68;if(_0xccf394===ie[_0x463223(0x1ed)]['BASE64']){const _0x1b99c2=new Image();return _0x1b99c2[_0x463223(0x1cd)]=_0x585cb3,_0x1b99c2;}return this[_0x463223(0x463)][_0x463223(0x2ef)](_0x585cb3);}[_0x4fac68(0x4ba)](_0xb61eef,_0x2393cc,_0x54e3ec){const _0x16ae32=_0x4fac68;_0x2393cc===ie[_0x16ae32(0x1ed)][_0x16ae32(0x644)]||_0x54e3ec==null||this[_0x16ae32(0x463)][_0x16ae32(0x558)](_0xb61eef,_0x54e3ec);}async[_0x4fac68(0x4ce)](_0x5a05b7){const _0x391ecd=_0x4fac68;try{const _0xe8c719=this[_0x391ecd(0x4ac)](this[_0x391ecd(0x24b)](),''+_0x5a05b7),_0x4031c7=(await this[_0x391ecd(0x53f)][_0x391ecd(0x2ef)](_0xe8c719))[_0x391ecd(0x37c)];if(_0x4031c7[_0x391ecd(0x26f)]&&_0x4031c7['error'][_0x391ecd(0x33d)]===_i['OK']){const _0x5b0c21=new URL(_0x4031c7[_0x391ecd(0x2af)],this['_getDownloadEndpointURL']())[_0x391ecd(0x29c)]();return Promise[_0x391ecd(0x1c3)](_0x5b0c21);}return Promise[_0x391ecd(0x5e9)](_0x4031c7[_0x391ecd(0x26f)]);}catch(_0x5056f3){return Promise[_0x391ecd(0x5e9)](_0x5056f3);}}async[_0x4fac68(0x262)](_0x344d50){const _0x5125ff=_0x4fac68;let _0x276e48='';if(!xr['includes'](_0x344d50[_0x5125ff(0x646)]))return this[_0x5125ff(0x1d1)](),Promise['reject'](new Error(ie[_0x5125ff(0x525)][_0x5125ff(0x52b)]));if(_0x344d50[_0x5125ff(0x207)]>jr)return this[_0x5125ff(0x1d1)](),Promise['reject'](new Error(ie['ImageUploadStatusType'][_0x5125ff(0x18c)]));try{const _0x5e6e34=new FormData();_0x5e6e34[_0x5125ff(0x1f6)](_0x5125ff(0x3d6),_0x344d50);const _0xa9c31f=this[_0x5125ff(0x241)]['getFocusedUnit'](),_0x1818c3=_0xa9c31f==null?void 0x0:_0xa9c31f[_0x5125ff(0x3bb)]();if(!_0x1818c3)throw new Error(_0x5125ff(0x1de));const _0x1a6fa8=this[_0x5125ff(0x498)]()+_0x5125ff(0x42c)+_0x344d50[_0x5125ff(0x207)][_0x5125ff(0x29c)]()+_0x5125ff(0x533)+ui['UnitEmbedded']+_0x5125ff(0x194)+encodeURIComponent(_0x1818c3),_0x537f04=await(await fetch(_0x1a6fa8,{'method':_0x5125ff(0x43b),'body':_0x5e6e34}))[_0x5125ff(0x388)]();if(typeof _0x537f04['FileId']!='string')return this[_0x5125ff(0x1d1)](),Promise['reject'](new Error(ie['ImageUploadStatusType'][_0x5125ff(0x24f)]));_0x276e48=_0x537f04[_0x5125ff(0x35f)];}catch{return this[_0x5125ff(0x1d1)](),Promise[_0x5125ff(0x5e9)](new Error(ie[_0x5125ff(0x525)][_0x5125ff(0x24f)]));}return new Promise((_0x2df315,_0x13df46)=>{const _0x4f8cac=_0x5125ff,_0x38bc52=new FileReader();_0x38bc52['readAsDataURL'](_0x344d50),_0x38bc52[_0x4f8cac(0x20f)]=_0x12460b=>{const _0x3f03ad=_0x4f8cac;var _0x3c02c4;const _0x5c07f9=(_0x3c02c4=_0x12460b[_0x3f03ad(0x414)])==null?void 0x0:_0x3c02c4[_0x3f03ad(0x1f8)];if(_0x5c07f9==null){this[_0x3f03ad(0x1d1)](),_0x13df46(new Error(ie[_0x3f03ad(0x525)][_0x3f03ad(0x24f)]));return;}const _0x9ed39c=a['Tools'][_0x3f03ad(0x5fc)](0x6);_0x2df315({'imageId':_0x9ed39c,'imageSourceType':ie[_0x3f03ad(0x1ed)][_0x3f03ad(0x389)],'source':_0x276e48,'base64Cache':_0x5c07f9,'status':ie[_0x3f03ad(0x525)][_0x3f03ad(0x2ae)]}),this[_0x3f03ad(0x1d1)]();};});}[_0x4fac68(0x498)](){const _0x12b78d=_0x4fac68;var _0xd070da,_0x1603d8;const _0x22e4b7=this['_configService']['getConfig']($r),_0x43908b=this[_0x12b78d(0x216)]['getConfig'](Q);return(_0x1603d8=(_0xd070da=_0x43908b==null?void 0x0:_0x43908b[_0x12b78d(0x2f0)])!=null?_0xd070da:_0x22e4b7)!=null?_0x1603d8:Hr;}[_0x4fac68(0x24b)](){const _0x513189=_0x4fac68;var _0x3c5231,_0x510c36;const _0x2b49ba=this[_0x513189(0x216)][_0x513189(0x620)](Br),_0x1bad92=this[_0x513189(0x216)][_0x513189(0x620)](Q);return(_0x510c36=(_0x3c5231=_0x1bad92==null?void 0x0:_0x1bad92['signUrlServerUrl'])!=null?_0x3c5231:_0x2b49ba)!=null?_0x510c36:kr;}[_0x4fac68(0x3ba)](){const _0x427815=_0x4fac68;var _0x15ec95;const _0x144df6=this['_configService'][_0x427815(0x620)](Q);return(_0x15ec95=_0x144df6==null?void 0x0:_0x144df6['downloadEndpointUrl'])!=null?_0x15ec95:location[_0x427815(0x20c)];}[_0x4fac68(0x4ac)](_0xbc0c09,_0x416765){const _0x1fcd8d=_0x4fac68;return _0xbc0c09[_0x1fcd8d(0x3f7)]('{fileID}',_0x416765);}['_decreaseWaiting'](){const _0x28b6e2=_0x4fac68;this[_0x28b6e2(0x40b)]-=0x1,this[_0x28b6e2(0x1ca)][_0x28b6e2(0x250)](this[_0x28b6e2(0x40b)]);}},exports['ImageIoService']=Lr([St(0x0,a[_0x4fac68(0x55d)](z['HTTPService'])),St(0x1,a[_0x4fac68(0x459)]),St(0x2,a[_0x4fac68(0x55d)](a[_0x4fac68(0x590)]))],exports[_0x4fac68(0x647)]);var Wr=Object[_0x4fac68(0x470)],Fr=Object[_0x4fac68(0x340)],Vr=(_0x5644bc,_0x5101fa,_0x9f3f89,_0x20b031)=>{const _0x467545=_0x4fac68;for(var _0x47217e=_0x20b031>0x1?void 0x0:_0x20b031?Fr(_0x5101fa,_0x9f3f89):_0x5101fa,_0x44822b=_0x5644bc[_0x467545(0x42e)]-0x1,_0x236b63;_0x44822b>=0x0;_0x44822b--)(_0x236b63=_0x5644bc[_0x44822b])&&(_0x47217e=(_0x20b031?_0x236b63(_0x5101fa,_0x9f3f89,_0x47217e):_0x236b63(_0x47217e))||_0x47217e);return _0x20b031&&_0x47217e&&Wr(_0x5101fa,_0x9f3f89,_0x47217e),_0x47217e;},ei=(_0x1a60cf,_0x5119ae)=>(_0x45ce88,_0x5425fb)=>_0x5119ae(_0x45ce88,_0x5425fb,_0x1a60cf);const Gr=_0x4fac68(0x4c3);exports[_0x4fac68(0x231)]=class{constructor(_0x455b57,_0x2c0857){const _0x57ad0e=_0x4fac68;this[_0x57ad0e(0x216)]=_0x455b57,this['_HTTPService']=_0x2c0857;}[_0x4fac68(0x392)](){const _0x2e968d=_0x4fac68;var _0x216fbb,_0x25bd60;const _0x49b5ea=this[_0x2e968d(0x216)][_0x2e968d(0x620)](Ut),_0x3b5103=this['_configService']['getConfig'](Q);return(_0x25bd60=(_0x216fbb=_0x3b5103==null?void 0x0:_0x3b5103['authzUrl'])!=null?_0x216fbb:_0x49b5ea)!=null?_0x25bd60:Gr;}async['list'](_0x906602){const _0x1d27eb=_0x4fac68,_0x219f4e=this[_0x1d27eb(0x392)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x1d27eb(0x2ef)](_0x219f4e,{'params':{'objectID':_0x906602[_0x1d27eb(0x27f)],'unitID':_0x906602[_0x1d27eb(0x27f)]}}))['body'][_0x1d27eb(0x51b)][_0x1d27eb(0x642)](_0x4796fc=>({'objectId':_0x4796fc['id'],'name':_0x4796fc['subject']['name'],'metadata':{'icon':_0x4796fc[_0x1d27eb(0x57c)][_0x1d27eb(0x256)]},'label':_0x4796fc[_0x1d27eb(0x57c)][_0x1d27eb(0x3af)],'objectType':a[_0x1d27eb(0x4e0)][_0x1d27eb(0x3b8)]})),'metadata':{},'type':a[_0x1d27eb(0x4e0)][_0x1d27eb(0x3b8)]}]};}},exports[_0x4fac68(0x231)]=Vr([ei(0x0,a['Inject'](a['IConfigService'])),ei(0x1,a[_0x4fac68(0x55d)](z['HTTPService']))],exports['MentionIoHttpService']);var Yr=Object[_0x4fac68(0x470)],Kr=Object[_0x4fac68(0x340)],qr=(_0x3a223a,_0x4b2196,_0x58dda5,_0x522aa6)=>{for(var _0x4b493f=_0x522aa6>0x1?void 0x0:_0x522aa6?Kr(_0x4b2196,_0x58dda5):_0x4b2196,_0x38a8f2=_0x3a223a['length']-0x1,_0xcd90a8;_0x38a8f2>=0x0;_0x38a8f2--)(_0xcd90a8=_0x3a223a[_0x38a8f2])&&(_0x4b493f=(_0x522aa6?_0xcd90a8(_0x4b2196,_0x58dda5,_0x4b493f):_0xcd90a8(_0x4b493f))||_0x4b493f);return _0x522aa6&&_0x4b493f&&Yr(_0x4b2196,_0x58dda5,_0x4b493f),_0x4b493f;},Ae=(_0x248589,_0x49811)=>(_0x1edf0e,_0x3973ad)=>_0x49811(_0x1edf0e,_0x3973ad,_0x248589);let qe=class extends a[_0x4fac68(0x1e0)]{constructor(_0x312b11,_0x2fdb7e,_0x467a5f,_0x34075e,_0x35c5e1){const _0x555530=_0x4fac68;super(),this[_0x555530(0x5f2)]=_0x312b11,this[_0x555530(0x241)]=_0x2fdb7e,this[_0x555530(0x398)]=_0x467a5f,this[_0x555530(0x2f3)]=_0x34075e,this['_localeService']=_0x35c5e1,this[_0x555530(0x5d2)](),this[_0x555530(0x616)]();}[_0x4fac68(0x616)](){const _0x1189a1=_0x4fac68,_0x39b45b=async _0x3623cb=>{const _0x5b40a7=_0x10f0;(await this[_0x5b40a7(0x2f3)][_0x5b40a7(0x5df)](_0x3623cb))['event$'][_0x5b40a7(0x355)](V[_0x5b40a7(0x432)](_0x314f9f=>_0x314f9f[_0x5b40a7(0x33f)]===p[_0x5b40a7(0x3a3)][_0x5b40a7(0x42d)]),V[_0x5b40a7(0x2e7)](this[_0x5b40a7(0x3ee)]))[_0x5b40a7(0x38e)](_0x1a61c3=>{const _0xa3d1a5=_0x5b40a7,_0x32f443=_0x1a61c3,{reason:_0x1e0d9a}=_0x32f443[_0xa3d1a5(0x44a)];this['_injector']['get'](te['IMessageService'])[_0xa3d1a5(0x183)]({'type':Ce[_0xa3d1a5(0x5b9)][_0xa3d1a5(0x1ba)],'content':this[_0xa3d1a5(0x236)]['t']('collaboration.closeRoom')+'('+_0x1e0d9a+')'}),this[_0xa3d1a5(0x398)][_0xa3d1a5(0x57d)](new k['WorkbookEditablePermission'](_0x3623cb)['id'],!0x1),this[_0xa3d1a5(0x2f3)][_0xa3d1a5(0x576)](_0x3623cb);});};A['merge'](this[_0x1189a1(0x241)]['getTypeOfUnitAdded$'](a[_0x1189a1(0x4e2)][_0x1189a1(0x3f3)]),this[_0x1189a1(0x241)][_0x1189a1(0x571)](a['UniverInstanceType'][_0x1189a1(0x465)]))[_0x1189a1(0x355)](V[_0x1189a1(0x642)](_0x1902af=>_0x1902af[_0x1189a1(0x3bb)]()),V['filter'](_0x3ac430=>!a[_0x1189a1(0x2d0)](_0x3ac430)),V[_0x1189a1(0x2e7)](this[_0x1189a1(0x3ee)]))[_0x1189a1(0x38e)](_0x5d55ee=>{_0x39b45b(_0x5d55ee);});}[_0x4fac68(0x5d2)](){const _0x2eace2=_0x4fac68,_0x3b4348=async _0x26d626=>{const _0x3f08e5=_0x10f0;(await this[_0x3f08e5(0x2f3)][_0x3f08e5(0x5df)](_0x26d626))[_0x3f08e5(0x4a3)][_0x3f08e5(0x355)](V['filter'](_0x42cff1=>_0x42cff1['eventID']===p['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),V[_0x3f08e5(0x2e7)](this[_0x3f08e5(0x3ee)]))[_0x3f08e5(0x38e)](_0x19f4ca=>{const _0x5a7e6f=_0x3f08e5,_0x4992ec=_0x19f4ca,{objectId:_0x4760d4}=_0x4992ec['data'],_0x29b24a=this[_0x5a7e6f(0x5f2)][_0x5a7e6f(0x2ef)](ye[_0x5a7e6f(0x512)]);_0x4760d4===_0x26d626?_0x29b24a['initWorkbookPermissionChange'](_0x26d626):_0x29b24a[_0x5a7e6f(0x1a8)](_0x26d626,_0x4760d4);});};A[_0x2eace2(0x593)](this[_0x2eace2(0x241)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x2eace2(0x3f3)]),this['_univerInstanceService'][_0x2eace2(0x571)](a['UniverInstanceType'][_0x2eace2(0x465)]))[_0x2eace2(0x355)](V[_0x2eace2(0x642)](_0x5ab628=>_0x5ab628[_0x2eace2(0x3bb)]()),V[_0x2eace2(0x432)](_0x16218a=>!a['isInternalEditorID'](_0x16218a)),V[_0x2eace2(0x2e7)](this[_0x2eace2(0x3ee)]))[_0x2eace2(0x38e)](_0x186326=>{_0x3b4348(_0x186326);});}};qe=qr([Ae(0x0,a[_0x4fac68(0x55d)](a[_0x4fac68(0x508)])),Ae(0x1,a[_0x4fac68(0x590)]),Ae(0x2,a[_0x4fac68(0x1ff)]),Ae(0x3,a[_0x4fac68(0x55d)](exports[_0x4fac68(0x25a)])),Ae(0x4,a[_0x4fac68(0x55d)](a[_0x4fac68(0x411)]))],qe);var zr=Object['defineProperty'],Xr=Object[_0x4fac68(0x340)],Jr=(_0x32bf7d,_0x34ef95,_0x400ad0,_0x100384)=>{const _0x4fd377=_0x4fac68;for(var _0x4333d2=_0x100384>0x1?void 0x0:_0x100384?Xr(_0x34ef95,_0x400ad0):_0x34ef95,_0x64cc7f=_0x32bf7d[_0x4fd377(0x42e)]-0x1,_0x4f38a9;_0x64cc7f>=0x0;_0x64cc7f--)(_0x4f38a9=_0x32bf7d[_0x64cc7f])&&(_0x4333d2=(_0x100384?_0x4f38a9(_0x34ef95,_0x400ad0,_0x4333d2):_0x4f38a9(_0x4333d2))||_0x4333d2);return _0x100384&&_0x4333d2&&zr(_0x34ef95,_0x400ad0,_0x4333d2),_0x4333d2;},ti=(_0x30d446,_0x186503)=>(_0x515e34,_0x2d907f)=>_0x186503(_0x515e34,_0x2d907f,_0x30d446);exports['SnapshotServerOverHTTPService']=class{constructor(_0x74bb9,_0x915a36){const _0x383428=_0x4fac68;this[_0x383428(0x216)]=_0x74bb9,this['_httpService']=_0x915a36;}async['getUnitOnRev'](_0x3b8964,_0x1c6aa4){const _0x236512=_0x4fac68;var _0x34564e;const {unitID:_0x58aa4e,type:_0xb7895f,revision:_0x431df1=0x0}=_0x1c6aa4,_0x1d0386=this[_0x236512(0x3e8)]()+'/'+_0xb7895f+_0x236512(0x628)+_0x58aa4e+_0x236512(0x377)+_0x431df1,_0x2ab293=(await this['_httpService'][_0x236512(0x2ef)](_0x1d0386))[_0x236512(0x37c)],_0x375578=(_0x34564e=_0x2ab293[_0x236512(0x3c1)])==null?void 0x0:_0x34564e['workbook'];if(_0x375578){const _0x4ff62c=_0x375578==null?void 0x0:_0x375578[_0x236512(0x363)],_0x576802=p['textEncoder']['encode'](p[_0x236512(0x2ee)](_0x4ff62c));_0x375578['originalMeta']=_0x576802,Object[_0x236512(0x4f9)](_0x375578[_0x236512(0x4cc)])[_0x236512(0x289)](([,_0x2604bc])=>{const _0x139f4b=_0x236512,_0x42b70f=_0x2604bc[_0x139f4b(0x363)],_0x5d0a77=p[_0x139f4b(0x3dd)][_0x139f4b(0x630)](p[_0x139f4b(0x2ee)](_0x42b70f));_0x2604bc[_0x139f4b(0x363)]=_0x5d0a77;});}return _0x2ab293;}async[_0x4fac68(0x200)](_0xe015fb,_0x25bf88){const _0x598821=_0x4fac68,{unitID:_0x278760,type:_0x567987,blockID:_0x284654}=_0x25bf88,_0x26241a=this[_0x598821(0x5bd)]()+'/'+_0x567987+_0x598821(0x628)+_0x278760+_0x598821(0x346)+_0x284654;return(await this[_0x598821(0x53f)][_0x598821(0x2ef)](_0x26241a))[_0x598821(0x37c)];}async['getDeserializedSheetBlock'](_0x2547a8,_0x1ab1a0){const _0x1f633f=_0x4fac68,{unitID:_0x3ec8b3,type:_0x26fc5d,blockID:_0x1051ca}=_0x1ab1a0,_0x40b18e=this['_getAPIPrefix']()+_0x1f633f(0x346)+_0x26fc5d+_0x1f633f(0x628)+_0x3ec8b3+_0x1f633f(0x346)+_0x1051ca;return(await this[_0x1f633f(0x53f)]['get'](_0x40b18e))[_0x1f633f(0x37c)];}async[_0x4fac68(0x601)](_0xc5de91,_0x5f3bdd){const _0x175d78=_0x4fac68,{unitID:_0x87b659,type:_0x46e503,from:_0x39baa6,to:_0x3ff42c}=_0x5f3bdd,_0x4601ba=this[_0x175d78(0x5bd)]()+'/'+_0x46e503+_0x175d78(0x628)+_0x87b659+_0x175d78(0x386)+_0x39baa6+_0x175d78(0x201)+_0x3ff42c;return(await this['_httpService']['get'](_0x4601ba))[_0x175d78(0x37c)];}[_0x4fac68(0x3e8)](){const _0x3e4aa4=_0x4fac68;var _0xa1c026;return(_0xa1c026=this[_0x3e4aa4(0x216)][_0x3e4aa4(0x620)](ni))!=null?_0xa1c026:this['_getAPIPrefix']();}[_0x4fac68(0x5bd)](){const _0x293e13=_0x4fac68;var _0x43b36d,_0x259e1b;const _0x5aa019=this[_0x293e13(0x216)][_0x293e13(0x620)](ii),_0x327463=this[_0x293e13(0x216)][_0x293e13(0x620)](Q);return(_0x259e1b=(_0x43b36d=_0x327463==null?void 0x0:_0x327463[_0x293e13(0x506)])!=null?_0x43b36d:_0x5aa019)!=null?_0x259e1b:ki;}async[_0x4fac68(0x651)](_0x15ee5c,_0x1caf7d){const _0x2dac9b=_0x4fac68,_0x43a413='/universer-api/snapshot/'+_0x1caf7d['type']+_0x2dac9b(0x628)+_0x1caf7d['unitID']+_0x2dac9b(0x341);return(await this[_0x2dac9b(0x53f)][_0x2dac9b(0x2ef)](_0x43a413,{'params':{'resourceId':JSON[_0x2dac9b(0x5a2)](_0x1caf7d[_0x2dac9b(0x2dd)])}}))[_0x2dac9b(0x37c)];}[_0x4fac68(0x4d7)](){const _0x11142b=_0x4fac68;throw new Error(_0x11142b(0x541));}[_0x4fac68(0x46f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4fac68(0x518)](){const _0x21bf35=_0x4fac68;throw new Error(_0x21bf35(0x541));}['copyFileMeta'](){const _0x108cba=_0x4fac68;throw new Error(_0x108cba(0x541));}[_0x4fac68(0x473)](){const _0x399b83=_0x4fac68;throw new Error(_0x399b83(0x541));}},exports[_0x4fac68(0x269)]=Jr([ti(0x0,a['IConfigService']),ti(0x1,a['Inject'](z['HTTPService']))],exports['SnapshotServerOverHTTPService']);var Zr=Object[_0x4fac68(0x470)],Qr=Object[_0x4fac68(0x340)],eo=(_0x3bb0b3,_0x4c1e76,_0x530613,_0x83b23)=>{const _0x1da212=_0x4fac68;for(var _0x3e35ab=_0x83b23>0x1?void 0x0:_0x83b23?Qr(_0x4c1e76,_0x530613):_0x4c1e76,_0x2f2db0=_0x3bb0b3[_0x1da212(0x42e)]-0x1,_0x2574e3;_0x2f2db0>=0x0;_0x2f2db0--)(_0x2574e3=_0x3bb0b3[_0x2f2db0])&&(_0x3e35ab=(_0x83b23?_0x2574e3(_0x4c1e76,_0x530613,_0x3e35ab):_0x2574e3(_0x3e35ab))||_0x3e35ab);return _0x83b23&&_0x3e35ab&&Zr(_0x4c1e76,_0x530613,_0x3e35ab),_0x3e35ab;},Ne=(_0x185b81,_0x57450d)=>(_0x42ff4f,_0x477da8)=>_0x57450d(_0x42ff4f,_0x477da8,_0x185b81);let Ct=class extends a[_0x4fac68(0x38d)]{constructor(_0x17ca8c,_0x1cda2d,_0x4a3c97,_0x4a48c4,_0x4d01ce){const _0x103fd0=_0x4fac68;super(_0x17ca8c,_0x1cda2d,_0x4a3c97),this[_0x103fd0(0x433)]=_0x4a48c4,this[_0x103fd0(0x545)]=_0x4d01ce;}['transformUndoRedo'](_0x1b0f80,_0x362572){const _0x209277=_0x4fac68,_0x4738b3=this[_0x209277(0x4f5)](_0x1b0f80);if(_0x4738b3)try{const _0x381b1f=this[_0x209277(0x28c)](_0x4738b3,_0x362572);this[_0x209277(0x3e5)](_0x1b0f80,_0x381b1f);}catch(_0x4f230b){this[_0x209277(0x545)]['error']('[CollaborationUndoRedoService]',_0x4f230b),this['_clearUndo'](_0x1b0f80);}const _0x51affc=this[_0x209277(0x4fb)](_0x1b0f80);if(_0x51affc)try{const _0x336346=this[_0x209277(0x28c)](_0x51affc,_0x362572);this[_0x209277(0x329)](_0x1b0f80,_0x336346);}catch(_0x553ce3){this[_0x209277(0x545)]['error'](_0x553ce3),this[_0x209277(0x23e)](_0x1b0f80);}}[_0x4fac68(0x233)](_0x3801a5){const _0xd5a9cb=_0x4fac68,_0x559c1e=this[_0xd5a9cb(0x4f5)](_0x3801a5);_0x559c1e&&(_0x559c1e[_0xd5a9cb(0x42e)]=0x0,this['_updateStatus']());}[_0x4fac68(0x23e)](_0x3c11e7){const _0x41b54b=_0x4fac68,_0x27835d=this[_0x41b54b(0x4fb)](_0x3c11e7);_0x27835d&&(_0x27835d[_0x41b54b(0x42e)]=0x0,this[_0x41b54b(0x483)]());}[_0x4fac68(0x3e5)](_0x728974,_0x554404){const _0x29ebbb=_0x4fac68;this[_0x29ebbb(0x62d)][_0x29ebbb(0x558)](_0x728974,_0x554404),this['_updateStatus']();}['_substituteRedoStack'](_0x41fb38,_0xd8b097){const _0x50adb8=_0x4fac68;this['_redoStacks'][_0x50adb8(0x558)](_0x41fb38,_0xd8b097),this[_0x50adb8(0x483)]();}['_transformStack'](_0xfd833d,_0x1189be){const _0x390886=_0x4fac68,_0xd2a6df=[];let _0x4931bf=_0x1189be,_0x415a18=_0x1189be;for(let _0x3cb2af=_0xfd833d[_0x390886(0x42e)]-0x1;_0x3cb2af>=0x0;_0x3cb2af--){const {unitID:_0x5b69b1,undoMutations:_0x3d53a3,redoMutations:_0x3cad21}=_0xfd833d[_0x3cb2af],_0x41c55=this[_0x390886(0x433)][_0x390886(0x624)](_0x4931bf,_0x3d53a3),_0x57f6df=this[_0x390886(0x433)][_0x390886(0x624)](_0x415a18,_0x3cad21);if(p['isTransformMutationsWithChangesetFailure'](_0x41c55)||p[_0x390886(0x2fd)](_0x57f6df)){this[_0x390886(0x545)][_0x390886(0x26f)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x41c55,_0x57f6df);break;}_0x4931bf=_0x41c55[_0x390886(0x491)],_0x415a18=_0x57f6df[_0x390886(0x491)],_0xd2a6df[_0x390886(0x64b)]({'unitID':_0x5b69b1,'undoMutations':_0x41c55[_0x390886(0x515)],'redoMutations':_0x57f6df[_0x390886(0x515)]});}return _0xd2a6df[_0x390886(0x380)]();}};Ct=eo([Ne(0x0,a['IUniverInstanceService']),Ne(0x1,a[_0x4fac68(0x19d)]),Ne(0x2,a['IContextService']),Ne(0x3,p[_0x4fac68(0x22f)]),Ne(0x4,a[_0x4fac68(0x23d)])],Ct);class Li extends a[_0x4fac68(0x1e0)]{constructor(){const _0x59902f=_0x4fac68;super(),I(this,_0x59902f(0x54e)),this[_0x59902f(0x54e)]=A[_0x59902f(0x499)](window,_0x59902f(0x24d))[_0x59902f(0x355)](A[_0x59902f(0x2e7)](this[_0x59902f(0x3ee)]),A[_0x59902f(0x2c7)](0x1),A[_0x59902f(0x39b)](void 0x0));}[_0x4fac68(0x3a8)](_0x3a46ab,_0x20b47c,_0x1b4a32=!0x1){const _0x34c659=_0x4fac68,_0x5b6d8e=new URL(window[_0x34c659(0x2f5)][_0x34c659(0x3a7)]);_0x5b6d8e['searchParams'][_0x34c659(0x558)](_0x3a46ab,_0x20b47c),_0x1b4a32?window[_0x34c659(0x1c0)][_0x34c659(0x1f2)]('','',_0x5b6d8e[_0x34c659(0x29c)]()):window['history'][_0x34c659(0x4b5)]('','',_0x5b6d8e[_0x34c659(0x29c)]());}['removeParam'](_0x299c1b,_0x3f5666=!0x1){const _0x176fc9=_0x4fac68,_0x25b995=new URL(window[_0x176fc9(0x2f5)]['href']);_0x25b995['searchParams'][_0x176fc9(0x472)](_0x299c1b),_0x3f5666?window[_0x176fc9(0x1c0)]['replaceState']('','',_0x25b995['toString']()):window[_0x176fc9(0x1c0)][_0x176fc9(0x4b5)]('','',_0x25b995[_0x176fc9(0x29c)]());}[_0x4fac68(0x3a1)](_0x4ac58e){const _0x7b7374=_0x4fac68;var _0x277992;return(_0x277992=new URL(window[_0x7b7374(0x2f5)][_0x7b7374(0x3a7)])[_0x7b7374(0x350)][_0x7b7374(0x2ef)](_0x4ac58e))!=null?_0x277992:void 0x0;}}var xi=Object[_0x4fac68(0x470)],to=Object[_0x4fac68(0x340)],io=(_0x141137,_0x35a4fd,_0x5babdc)=>_0x35a4fd in _0x141137?xi(_0x141137,_0x35a4fd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5babdc}):_0x141137[_0x35a4fd]=_0x5babdc,no=(_0x3e865a,_0x274148,_0x395778,_0x5024a3)=>{const _0x30cd34=_0x4fac68;for(var _0x12a01f=_0x5024a3>0x1?void 0x0:_0x5024a3?to(_0x274148,_0x395778):_0x274148,_0x175c03=_0x3e865a[_0x30cd34(0x42e)]-0x1,_0x166fda;_0x175c03>=0x0;_0x175c03--)(_0x166fda=_0x3e865a[_0x175c03])&&(_0x12a01f=(_0x5024a3?_0x166fda(_0x274148,_0x395778,_0x12a01f):_0x166fda(_0x12a01f))||_0x12a01f);return _0x5024a3&&_0x12a01f&&xi(_0x274148,_0x395778,_0x12a01f),_0x12a01f;},He=(_0x322ff3,_0x30ceae)=>(_0x47643f,_0x335ac1)=>_0x30ceae(_0x47643f,_0x335ac1,_0x322ff3),so=(_0x4f53e5,_0x121373,_0x42f548)=>io(_0x4f53e5,_0x121373+'',_0x42f548);const ro=_0x4fac68(0x619);exports[_0x4fac68(0x4bf)]=class extends a[_0x4fac68(0x47b)]{constructor(_0x134b5c=Zi,_0x12feb9,_0x8f017b,_0x1bad89,_0x17278e){const _0xdf1042=_0x4fac68;super(),this[_0xdf1042(0x2b6)]=_0x134b5c,this[_0xdf1042(0x545)]=_0x12feb9,this[_0xdf1042(0x489)]=_0x8f017b,this[_0xdf1042(0x5f2)]=_0x1bad89,this['_configService']=_0x17278e;const {..._0x354126}=this[_0xdf1042(0x2b6)];this[_0xdf1042(0x216)][_0xdf1042(0x649)](Q,_0x354126);}[_0x4fac68(0x1cc)](){const _0x19b543=_0x4fac68;this[_0x19b543(0x4e7)](),this['_initDependencies']();}[_0x4fac68(0x344)](){const _0x2eae6a=_0x4fac68;a[_0x2eae6a(0x284)](this[_0x2eae6a(0x5f2)],[[Ge],[Ve]]);}['onRendered'](){const _0x48669e=_0x4fac68;this[_0x48669e(0x2c8)]();}[_0x4fac68(0x4e7)](){const _0x2407a3=_0x4fac68;var _0x2c1c00,_0x38b154,_0x4222a9,_0x51caee;this[_0x2407a3(0x5f2)]['has'](a['IUndoRedoService'])&&this[_0x2407a3(0x545)][_0x2407a3(0x26f)](_0x2407a3(0x5b2),_0x2407a3(0x2c5));const _0x125f24=[[a[_0x2407a3(0x426)],{'useClass':Ct}],[exports['CollaborationSessionService']],[Dt],[wt,{'useClass':Li}],[exports[_0x2407a3(0x598)]],[exports['LocalCacheService']],[z[_0x2407a3(0x31c)]],[ke],[Fe],[Be],[We],[yt],[Ye],[Ke],[Rt],[qe],[Tt,{'useClass':(_0x38b154=(_0x2c1c00=this[_0x2407a3(0x2b6)])==null?void 0x0:_0x2c1c00[_0x2407a3(0x5e5)])!=null?_0x38b154:exports[_0x2407a3(0x390)]}],[p[_0x2407a3(0x4cf)],{'useClass':exports[_0x2407a3(0x269)]}],[a[_0x2407a3(0x5d5)],{'useClass':exports[_0x2407a3(0x253)]}],[ie[_0x2407a3(0x431)],{'useClass':exports[_0x2407a3(0x647)]}],[a[_0x2407a3(0x56a)],{'useClass':exports[_0x2407a3(0x231)]}],[exports[_0x2407a3(0x191)]],[exports[_0x2407a3(0x204)]],[exports['DesktopCollaborationStatusDisplayController']],[Ge],[De],[Ve]];(_0x4222a9=this[_0x2407a3(0x2b6)])!=null&&_0x4222a9[_0x2407a3(0x453)]&&_0x125f24[_0x2407a3(0x64b)]([ze,{'useClass':Un}]),a[_0x2407a3(0x452)](this['_injector'],a[_0x2407a3(0x404)](_0x125f24,(_0x51caee=this[_0x2407a3(0x2b6)])==null?void 0x0:_0x51caee[_0x2407a3(0x215)]));}[_0x4fac68(0x2c8)](){const _0x14ad47=_0x4fac68;this[_0x14ad47(0x49a)](this['_renderManagerService'][_0x14ad47(0x5da)](a['UniverInstanceType'][_0x14ad47(0x465)],[gt])),this[_0x14ad47(0x49a)](this[_0x14ad47(0x489)][_0x14ad47(0x5da)](a[_0x14ad47(0x4e2)]['UNIVER_SHEET'],[It]));}[_0x4fac68(0x20d)](){const _0x58cc29=_0x4fac68;var _0x44b341,_0x4f457f;this[_0x58cc29(0x5f2)][_0x58cc29(0x2ef)](z['HTTPService'])['registerHTTPInterceptor']({'priority':0x14,'interceptor':z['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x44b341=this[_0x58cc29(0x2b6)])!=null&&_0x44b341[_0x58cc29(0x419)]||this[_0x58cc29(0x5f2)][_0x58cc29(0x2ef)](exports[_0x58cc29(0x461)])[_0x58cc29(0x379)](),(_0x4f457f=this['_config'])!=null&&_0x4f457f[_0x58cc29(0x5cf)]&&a[_0x58cc29(0x284)](this['_injector'],[[Ye]]),a['touchDependencies'](this['_injector'],[[Ke],[De],[exports[_0x58cc29(0x204)]],[exports[_0x58cc29(0x191)]],[exports['DesktopCollaborationStatusDisplayController']],[qe]]);}},so(exports['UniverCollaborationClientPlugin'],_0x4fac68(0x45a),ro),exports[_0x4fac68(0x4bf)]=no([a['DependentOn'](p[_0x4fac68(0x5ab)],z[_0x4fac68(0x645)]),He(0x1,a[_0x4fac68(0x23d)]),He(0x2,K[_0x4fac68(0x497)]),He(0x3,a[_0x4fac68(0x55d)](a[_0x4fac68(0x508)])),He(0x4,a[_0x4fac68(0x459)])],exports['UniverCollaborationClientPlugin']),exports[_0x4fac68(0x3ca)]=Ut,exports[_0x4fac68(0x1b0)]=Q,exports[_0x4fac68(0x224)]=li,exports[_0x4fac68(0x2b2)]=si,exports['CollaborationStatus']=q,exports[_0x4fac68(0x523)]=Oi,exports[_0x4fac68(0x275)]=Rt,exports[_0x4fac68(0x330)]=ri,exports['HEARTBEAT_TIMEOUT_KEY']=Et,exports[_0x4fac68(0x445)]=Tt,exports[_0x4fac68(0x5d4)]=wt,exports[_0x4fac68(0x643)]=ci,exports[_0x4fac68(0x351)]=hi,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ai,exports[_0x4fac68(0x4da)]=Wi,exports[_0x4fac68(0x268)]=ii,exports['SNAPSHOT_URL_KEY']=ni,exports[_0x4fac68(0x50e)]=se,exports[_0x4fac68(0x50b)]=Ii,exports[_0x4fac68(0x2d2)]=Li,exports[_0x4fac68(0x505)]=di,exports[_0x4fac68(0x3f0)]=fi;
|
1
|
+
'use strict';const _0x29ff00=_0x2f26;(function(_0x1ea1f0,_0x431e41){const _0x52c6a0=_0x2f26,_0x5babec=_0x1ea1f0();while(!![]){try{const _0x2df604=parseInt(_0x52c6a0(0x51a))/0x1+-parseInt(_0x52c6a0(0x286))/0x2+parseInt(_0x52c6a0(0x494))/0x3+-parseInt(_0x52c6a0(0x474))/0x4*(-parseInt(_0x52c6a0(0x4ee))/0x5)+parseInt(_0x52c6a0(0x566))/0x6*(parseInt(_0x52c6a0(0x258))/0x7)+parseInt(_0x52c6a0(0x383))/0x8*(parseInt(_0x52c6a0(0x28f))/0x9)+-parseInt(_0x52c6a0(0x63d))/0xa;if(_0x2df604===_0x431e41)break;else _0x5babec['push'](_0x5babec['shift']());}catch(_0x3fd352){_0x5babec['push'](_0x5babec['shift']());}}}(_0x595e,0x392b8));var ji=Object['defineProperty'],$i=(_0x1d18dd,_0x44009b,_0x391e08)=>_0x44009b in _0x1d18dd?ji(_0x1d18dd,_0x44009b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x391e08}):_0x1d18dd[_0x44009b]=_0x391e08,I=(_0x53e59c,_0x15269d,_0x45e920)=>$i(_0x53e59c,typeof _0x15269d!=_0x29ff00(0x241)?_0x15269d+'':_0x15269d,_0x45e920);Object[_0x29ff00(0x64a)](exports,Symbol['toStringTag'],{'value':_0x29ff00(0x617)});const a=require('@univerjs/core'),A=require(_0x29ff00(0x60c)),V=require('rxjs/operators'),Ce=require('@univerjs/design'),z=require(_0x29ff00(0x4e2)),te=require(_0x29ff00(0x386)),p=require(_0x29ff00(0x3e1)),Hi=require(_0x29ff00(0x3d9)),Ie=require(_0x29ff00(0x5e4)),J=require(_0x29ff00(0x34c)),k=require(_0x29ff00(0x2e8)),K=require(_0x29ff00(0x541)),ie=require(_0x29ff00(0x403)),Mt=require(_0x29ff00(0x5a0)),ye=require(_0x29ff00(0x4d2)),ae=require(_0x29ff00(0x381)),Bi=require('@univerjs/rpc'),ii='SNAPSHOT_SERVER_URL_KEY',ki=_0x29ff00(0x5dc),ni='SNAPSHOT_URL_KEY',Wi='SEND_CHANGESET_TIMEOUT',Fi=0x7d0,si='COLLAB_WEB_SOCKET_URL',Vi=_0x29ff00(0x44c),Gi=_0x29ff00(0x3c7),ri=_0x29ff00(0x4aa),Yi=0x7530,Et=_0x29ff00(0x423),oi=0x4e20,Ki=0x4e20,ai='RETRY_CONNECTING_MAX_COUNT',qi=0x3,ci=_0x29ff00(0x575),zi=0x3e8,li=_0x29ff00(0x2a0),Xi='/universer-api/comb',hi=_0x29ff00(0x5e1),Ji=_0x29ff00(0x591);var _i=(_0x3e5b6a=>(_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x64f)]=0x0]=_0x29ff00(0x64f),_0x3e5b6a[_0x3e5b6a['OK']=0x1]='OK',_0x3e5b6a[_0x3e5b6a['INTERNAL_ERROR']=0x2]=_0x29ff00(0x28a),_0x3e5b6a[_0x3e5b6a['PERMISSION_DENIED']=0x3]=_0x29ff00(0x3be),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x2f5)]=0x4]='NOT_FOUND',_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x563)]=0x5]=_0x29ff00(0x563),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x2b8)]=0x6]=_0x29ff00(0x2b8),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x1cf)]=0x7]=_0x29ff00(0x1cf),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x2bb)]=0x8]='TOO_MANY_REQUESTS',_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x63b)]=0x9]=_0x29ff00(0x63b),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x23a)]=0x1389]=_0x29ff00(0x23a),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x3cf)]=0x1771]=_0x29ff00(0x3cf),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x62d)]=0x1772]=_0x29ff00(0x62d),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x1cd)]=0x1773]=_0x29ff00(0x1cd),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x1f3)]=0x1b59]='APPLY_REJECT',_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x511)]=0x1b5a]=_0x29ff00(0x511),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x2da)]=0x1b5b]=_0x29ff00(0x2da),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x2cb)]=0x1b5c]=_0x29ff00(0x2cb),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x4cc)]=0x1b5d]=_0x29ff00(0x4cc),_0x3e5b6a[_0x3e5b6a['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x29ff00(0x206),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x3e0)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x34e)]=0x232a]=_0x29ff00(0x34e),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x57b)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x32f)]=0x232c]=_0x29ff00(0x32f),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x3a2)]=0x232d]=_0x29ff00(0x3a2),_0x3e5b6a[_0x3e5b6a['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x29ff00(0x5f2),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x4ce)]=0x2712]=_0x29ff00(0x4ce),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x23c)]=0x2713]=_0x29ff00(0x23c),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x21f)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x419)]=-0x1]=_0x29ff00(0x419),_0x3e5b6a))(_i||{}),ne=(_0x2b5f98=>(_0x2b5f98[_0x2b5f98[_0x29ff00(0x3b3)]=0x0]='UNIVER_UNKNOWN',_0x2b5f98[_0x2b5f98['UNIVER_DOC']=0x1]=_0x29ff00(0x4f0),_0x2b5f98[_0x2b5f98['UNIVER_SHEET']=0x2]=_0x29ff00(0x3d0),_0x2b5f98[_0x2b5f98[_0x29ff00(0x625)]=0x3]=_0x29ff00(0x625),_0x2b5f98[_0x2b5f98[_0x29ff00(0x5cf)]=0x4]='UNIVER_PROJECT',_0x2b5f98[_0x2b5f98[_0x29ff00(0x419)]=-0x1]=_0x29ff00(0x419),_0x2b5f98))(ne||{}),G=(_0x158be7=>(_0x158be7[_0x158be7[_0x29ff00(0x638)]=0x0]='UNKNOWN_CMD',_0x158be7[_0x158be7['HELLO']=0x1]='HELLO',_0x158be7[_0x158be7['JOIN']=0x2]=_0x29ff00(0x48f),_0x158be7[_0x158be7[_0x29ff00(0x56d)]=0x3]=_0x29ff00(0x56d),_0x158be7[_0x158be7[_0x29ff00(0x514)]=0x4]=_0x29ff00(0x514),_0x158be7[_0x158be7['HEARTBEAT']=0x5]=_0x29ff00(0x5c6),_0x158be7[_0x158be7[_0x29ff00(0x275)]=0x6]=_0x29ff00(0x275),_0x158be7[_0x158be7[_0x29ff00(0x419)]=-0x1]=_0x29ff00(0x419),_0x158be7))(G||{}),bt=(_0x1d71c2=>(_0x1d71c2[_0x1d71c2[_0x29ff00(0x609)]=0x0]=_0x29ff00(0x609),_0x1d71c2[_0x1d71c2['OK']=0x1]='OK',_0x1d71c2[_0x1d71c2['FAIL']=0x2]=_0x29ff00(0x52a),_0x1d71c2[_0x1d71c2[_0x29ff00(0x61a)]=0x3e9]='JOIN_ROOM_FULL',_0x1d71c2[_0x1d71c2[_0x29ff00(0x215)]=0x3ea]='JOIN_ROOM_NOT_ALLOWED',_0x1d71c2[_0x1d71c2['UNRECOGNIZED']=-0x1]=_0x29ff00(0x419),_0x1d71c2))(bt||{}),ui=(_0x17591d=>(_0x17591d[_0x17591d[_0x29ff00(0x559)]=0x0]=_0x29ff00(0x559),_0x17591d[_0x17591d[_0x29ff00(0x4d0)]=0x1]=_0x29ff00(0x4d0),_0x17591d[_0x17591d[_0x29ff00(0x582)]=0x2]=_0x29ff00(0x582),_0x17591d[_0x17591d[_0x29ff00(0x358)]=0x3]='UnitEmbedded',_0x17591d[_0x17591d[_0x29ff00(0x557)]=0x4]=_0x29ff00(0x557),_0x17591d[_0x17591d[_0x29ff00(0x419)]=-0x1]=_0x29ff00(0x419),_0x17591d))(ui||{});const Q=_0x29ff00(0x602),Zi={};function di(_0x1360bb){const _0x4bfee1=_0x29ff00;var _0xaab78a,_0x413c2b,_0x5c1845,_0x220bf4,_0x34e23b;const _0x4a4dcb=_0x1360bb[_0x4bfee1(0x3eb)],_0x5d258e=JSON['parse'](_0x4a4dcb);switch(_0x5d258e[_0x4bfee1(0x4a0)]){case G[_0x4bfee1(0x5c6)]:case G[_0x4bfee1(0x2ad)]:{const _0x7cd38b=_0x5d258e[_0x4bfee1(0x495)];return{..._0x5d258e,'data':_0x7cd38b,'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};}case G[_0x4bfee1(0x48f)]:{const _0xc8635a=_0x5d258e[_0x4bfee1(0x2c7)];return{..._0x5d258e,'data':_0xc8635a,'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};}case G[_0x4bfee1(0x275)]:{const _0x20984a=_0x5d258e['collaMsg'];switch(_0x20984a[_0x4bfee1(0x55b)]){case p[_0x4bfee1(0x259)]['PERMISSION_REJ']:return{..._0x5d258e,'data':{..._0x20984a,'data':(_0xaab78a=_0x20984a['permissionRejEvent'])==null?void 0x0:_0xaab78a['cs']},'cmd':_0x5d258e['cmd']};case p[_0x4bfee1(0x259)][_0x4bfee1(0x249)]:return{..._0x5d258e,'data':{..._0x20984a,'data':(_0x413c2b=_0x20984a['csAckEvent'])==null?void 0x0:_0x413c2b['cs']},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x402)]:return{..._0x5d258e,'data':{..._0x20984a,'data':(_0x5c1845=_0x20984a[_0x4bfee1(0x1b7)])==null?void 0x0:_0x5c1845['cs']},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)]['CHANGESET_REJ']:return{..._0x5d258e,'data':{..._0x20984a,'data':(_0x220bf4=_0x20984a[_0x4bfee1(0x4ec)])==null?void 0x0:_0x220bf4['cs']},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x2ce)]:return{..._0x5d258e,'data':{..._0x20984a,'data':(_0x34e23b=_0x20984a[_0x4bfee1(0x444)])==null?void 0x0:_0x34e23b['cs']},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)]['UPDATE_CURSOR']:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a[_0x4bfee1(0x4a2)]},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)]['USERS_ENTER']:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a[_0x4bfee1(0x5db)]},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x5a1)]:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a[_0x4bfee1(0x2db)]},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x313)]:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a[_0x4bfee1(0x28c)]},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x42b)]:case p[_0x4bfee1(0x259)][_0x4bfee1(0x448)]:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a[_0x4bfee1(0x284)]},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p['CollaborationEvent'][_0x4bfee1(0x216)]:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a['liveShareNewHost']},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x5cc)]:return{..._0x5d258e,'data':_0x20984a,'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x492)]:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a[_0x4bfee1(0x29a)]},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x410)]:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a[_0x4bfee1(0x3fe)]},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x44d)]:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a[_0x4bfee1(0x1b8)]},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};default:return _0x5d258e;}}default:return _0x5d258e;}}function fi(_0x31fafc){const _0x978bf4=_0x29ff00;switch(_0x31fafc[_0x978bf4(0x4a0)]){case G[_0x978bf4(0x5c6)]:case G[_0x978bf4(0x2ad)]:return JSON['stringify']({'cmd':_0x31fafc[_0x978bf4(0x4a0)],'routeKey':_0x31fafc[_0x978bf4(0x4fa)]});case G[_0x978bf4(0x514)]:{let _0x8b32e9;switch(_0x31fafc[_0x978bf4(0x3eb)][_0x978bf4(0x55b)]){case p[_0x978bf4(0x259)]['UPDATE_CURSOR']:{_0x8b32e9={'eventID':p[_0x978bf4(0x259)]['UPDATE_CURSOR'],'updateCursorEvent':_0x31fafc[_0x978bf4(0x3eb)]['data']};break;}case p['CollaborationEvent'][_0x978bf4(0x5a1)]:{_0x8b32e9={'eventID':p[_0x978bf4(0x259)][_0x978bf4(0x5a1)],'leaveEvent':_0x31fafc[_0x978bf4(0x3eb)][_0x978bf4(0x3eb)]};break;}case p[_0x978bf4(0x259)][_0x978bf4(0x5bc)]:{_0x8b32e9={'eventID':p[_0x978bf4(0x259)][_0x978bf4(0x5bc)],'joinEvent':_0x31fafc[_0x978bf4(0x3eb)]['data']};break;}case p[_0x978bf4(0x259)][_0x978bf4(0x313)]:{_0x8b32e9={'eventID':p[_0x978bf4(0x259)][_0x978bf4(0x313)],'liveShareNewHost':_0x31fafc[_0x978bf4(0x3eb)][_0x978bf4(0x3eb)]};break;}case p[_0x978bf4(0x259)][_0x978bf4(0x448)]:{_0x8b32e9={'eventID':p[_0x978bf4(0x259)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x31fafc[_0x978bf4(0x3eb)]['data']};break;}case p[_0x978bf4(0x259)]['LIVESHARE_TERMINATE']:{_0x8b32e9={'eventID':p[_0x978bf4(0x259)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x31fafc[_0x978bf4(0x3eb)]['data']};break;}case p['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:{_0x8b32e9={'eventID':p[_0x978bf4(0x259)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x31fafc[_0x978bf4(0x3eb)][_0x978bf4(0x3eb)]};break;}case p[_0x978bf4(0x259)]['LIVESHARE_FETCH_OPERATIONS']:{_0x8b32e9={'eventID':p[_0x978bf4(0x259)][_0x978bf4(0x42b)]};break;}default:_0x8b32e9={'eventID':_0x31fafc['data'][_0x978bf4(0x55b)]};}return JSON[_0x978bf4(0x65e)]({'cmd':_0x31fafc['cmd'],'routeKey':_0x31fafc['routeKey'],'collaMsg':_0x8b32e9});}case G[_0x978bf4(0x48f)]:return JSON[_0x978bf4(0x65e)]({'cmd':_0x31fafc[_0x978bf4(0x4a0)],'routeKey':_0x31fafc[_0x978bf4(0x4fa)],'joinReq':_0x31fafc[_0x978bf4(0x3eb)]});case G[_0x978bf4(0x56d)]:return JSON[_0x978bf4(0x65e)]({'cmd':_0x31fafc[_0x978bf4(0x4a0)],'routeKey':_0x31fafc['routeKey'],'leaveReq':_0x31fafc[_0x978bf4(0x3eb)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Qi=Object[_0x29ff00(0x64a)],en=Object[_0x29ff00(0x316)],tn=(_0x4584e5,_0x54e03c,_0x38b276,_0xafdec2)=>{const _0x3d75a1=_0x29ff00;for(var _0x39d498=_0xafdec2>0x1?void 0x0:_0xafdec2?en(_0x54e03c,_0x38b276):_0x54e03c,_0x324b9e=_0x4584e5[_0x3d75a1(0x5e7)]-0x1,_0x368764;_0x324b9e>=0x0;_0x324b9e--)(_0x368764=_0x4584e5[_0x324b9e])&&(_0x39d498=(_0xafdec2?_0x368764(_0x54e03c,_0x38b276,_0x39d498):_0x368764(_0x39d498))||_0x39d498);return _0xafdec2&&_0x39d498&&Qi(_0x54e03c,_0x38b276,_0x39d498),_0x39d498;},Pe=(_0x4de191,_0x78e65)=>(_0xfde4af,_0x33b6c8)=>_0x78e65(_0xfde4af,_0x33b6c8,_0x4de191);const Tt=a[_0x29ff00(0x369)]('univer-pro.collaboration-client-socket-service');function nn(_0x3c3e05,_0xcb953e,_0xb8a45e){return _0x3c3e05+'/'+_0xcb953e+'/unit/'+_0xb8a45e+'/new_changes';}exports['CollaborationSocketService']=class extends a['Disposable']{constructor(_0x203ea0,_0x4af609,_0x4c4d79,_0x2582d0,_0x17744a){const _0x4556da=_0x29ff00;super(),this[_0x4556da(0x58a)]=_0x203ea0,this['_ws']=_0x4af609,this[_0x4556da(0x4ea)]=_0x4c4d79,this[_0x4556da(0x328)]=_0x2582d0,this[_0x4556da(0x1dc)]=_0x17744a;}[_0x29ff00(0x62b)](_0x29f4d1){const _0x2415ec=_0x29ff00,_0x271d13=this[_0x2415ec(0x5ab)][_0x2415ec(0x62b)](_0x29f4d1);if(!_0x271d13)throw new Error(_0x2415ec(0x45e));const _0x21bf5b=new a[(_0x2415ec(0x546))](),_0xfb78c0=new A['Subject']();_0x21bf5b['add'](_0x271d13[_0x2415ec(0x642)]['subscribe'](_0x4194a1=>_0xfb78c0[_0x2415ec(0x49f)](_0x4194a1))),_0x21bf5b[_0x2415ec(0x231)](a[_0x2415ec(0x372)](()=>_0xfb78c0[_0x2415ec(0x22e)]()));const _0x108082=new A['Subject']();_0x21bf5b['add'](_0x271d13[_0x2415ec(0x1c3)]['subscribe'](_0xb265df=>_0x108082[_0x2415ec(0x49f)](_0xb265df))),_0x21bf5b[_0x2415ec(0x231)](a['toDisposable'](()=>_0x108082[_0x2415ec(0x22e)]()));const _0x3d8201=new A[(_0x2415ec(0x534))]();_0x21bf5b[_0x2415ec(0x231)](_0x271d13[_0x2415ec(0x27b)][_0x2415ec(0x58f)](_0x52c81d=>{const _0x4f9270=_0x2415ec,_0x1eca69=di(_0x52c81d);_0x3d8201[_0x4f9270(0x49f)](_0x1eca69);})),_0x21bf5b[_0x2415ec(0x231)](a[_0x2415ec(0x372)](()=>_0x3d8201[_0x2415ec(0x22e)]()));let _0x42df77;const _0x3efe67=()=>{const _0x31dae2=_0x2415ec;_0x108082['next'](new Event(_0x31dae2(0x335))),_0xfb78c0[_0x31dae2(0x49f)](new CloseEvent('connection\x20error')),_0x42df77[_0x31dae2(0x499)]();};return _0x42df77={'memberID':'','close$':_0xfb78c0['asObservable'](),'error$':_0x108082[_0x2415ec(0x4c6)](),'open$':_0x271d13[_0x2415ec(0x418)],'message$':_0x3d8201['asObservable'](),'send':_0x5cdd3a=>{const _0xa5e4e5=_0x2415ec;if(_0x5cdd3a[_0xa5e4e5(0x4a0)]===G[_0xa5e4e5(0x514)]){if(_0x5cdd3a[_0xa5e4e5(0x3eb)]['eventID']===p[_0xa5e4e5(0x259)][_0xa5e4e5(0x2c8)]){this['_submitChangeset'](_0x42df77,_0x5cdd3a['data'])[_0xa5e4e5(0x49d)](_0xa69cd=>{const _0x30c772=_0xa5e4e5;this[_0x30c772(0x328)][_0x30c772(0x27a)](_0xa69cd),_0x3efe67();});return;}if(_0x5cdd3a[_0xa5e4e5(0x3eb)][_0xa5e4e5(0x55b)]===p[_0xa5e4e5(0x259)]['FETCH_MISSING']){const _0xc9b3b3=_0x5cdd3a[_0xa5e4e5(0x3eb)];this[_0xa5e4e5(0x654)](_0xc9b3b3)[_0xa5e4e5(0x5bf)](_0x3077ee=>{const _0x35e25f=_0xa5e4e5;_0x3d8201[_0x35e25f(0x49f)]({'cmd':G[_0x35e25f(0x275)],'code':bt['OK'],'routeKey':_0xc9b3b3[_0x35e25f(0x3eb)]['unitID'],'routeType':'','data':{'eventID':p[_0x35e25f(0x259)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x3077ee}}});})['catch'](_0x5c65b0=>{const _0x164b11=_0xa5e4e5;this[_0x164b11(0x328)][_0x164b11(0x27a)](_0x5c65b0),_0x3efe67();});return;}}_0x271d13[_0xa5e4e5(0x385)](fi(_0x5cdd3a));},'close':()=>{const _0x476a06=_0x2415ec;_0x271d13[_0x476a06(0x499)](),_0x21bf5b[_0x476a06(0x5e6)]();}},_0x42df77;}async[_0x29ff00(0x33a)](_0x2e58db,_0x5004fc){const _0x5b5007=_0x29ff00;var _0xf4212,_0x40f664;const {unitType:_0x334b15,unitID:_0x232a0c,changeset:_0x7958b5}=_0x5004fc[_0x5b5007(0x3eb)],_0x4d7ab1={'unitID':_0x232a0c,'memberID':_0x2e58db[_0x5b5007(0x35e)],'type':_0x334b15,'changeset':p[_0x5b5007(0x26f)](_0x7958b5)},_0x52659d=this[_0x5b5007(0x4ea)]['getConfig'](li),_0x3988e6=this[_0x5b5007(0x4ea)][_0x5b5007(0x1ea)](Q),_0x29ddda=nn((_0x40f664=(_0xf4212=_0x3988e6==null?void 0x0:_0x3988e6[_0x5b5007(0x29d)])!=null?_0xf4212:_0x52659d)!=null?_0x40f664:Xi,_0x334b15,_0x232a0c);try{await this[_0x5b5007(0x58a)][_0x5b5007(0x515)](_0x29ddda,{'body':_0x4d7ab1});}catch(_0x24faa2){throw this[_0x5b5007(0x328)][_0x5b5007(0x27a)](_0x5b5007(0x4a6),_0x5b5007(0x2ba)),_0x24faa2;}}async[_0x29ff00(0x654)](_0x5e07b9){const _0x595385=_0x29ff00,{unitID:_0x3e6dad,from:_0x23239b,to:_0x48f2ab,unitType:_0x1d2727}=_0x5e07b9[_0x595385(0x3eb)];return(await this[_0x595385(0x1dc)][_0x595385(0x379)]({'metadata':void 0x0},{'unitID':_0x3e6dad,'type':_0x1d2727,'from':_0x23239b,'to':_0x48f2ab}))[_0x595385(0x684)];}},exports[_0x29ff00(0x374)]=tn([Pe(0x0,a['Inject'](z[_0x29ff00(0x1be)])),Pe(0x1,a[_0x29ff00(0x493)](z[_0x29ff00(0x287)])),Pe(0x2,a[_0x29ff00(0x64d)]),Pe(0x3,a[_0x29ff00(0x4ac)]),Pe(0x4,p[_0x29ff00(0x426)])],exports[_0x29ff00(0x374)]);const sn=_0x29ff00(0x36a);function rn(_0xc3eaf0){const _0x1189c6=_0x29ff00;return JSON[_0x1189c6(0x65e)](_0xc3eaf0)['length'];}class Rt{constructor(){const _0x231cea=_0x29ff00;I(this,_0x231cea(0x2f2),new A[(_0x231cea(0x534))]()),I(this,_0x231cea(0x22a),this[_0x231cea(0x2f2)][_0x231cea(0x4c6)]());}['onCommentUpdate'](_0x3f9cb9){const _0x50b1d1=_0x29ff00;this[_0x50b1d1(0x2f2)][_0x50b1d1(0x49f)](_0x3f9cb9);}}var on=Object[_0x29ff00(0x64a)],an=Object[_0x29ff00(0x316)],cn=(_0x224925,_0x239194,_0x59e802,_0x4f58c6)=>{const _0x1c56f4=_0x29ff00;for(var _0xd16ee0=_0x4f58c6>0x1?void 0x0:_0x4f58c6?an(_0x239194,_0x59e802):_0x239194,_0x599809=_0x224925[_0x1c56f4(0x5e7)]-0x1,_0x310afd;_0x599809>=0x0;_0x599809--)(_0x310afd=_0x224925[_0x599809])&&(_0xd16ee0=(_0x4f58c6?_0x310afd(_0x239194,_0x59e802,_0xd16ee0):_0x310afd(_0xd16ee0))||_0xd16ee0);return _0x4f58c6&&_0xd16ee0&&on(_0x239194,_0x59e802,_0xd16ee0),_0xd16ee0;},At=(_0x23ecc5,_0x45412a)=>(_0x31650e,_0x2c0b4a)=>_0x45412a(_0x31650e,_0x2c0b4a,_0x23ecc5);exports[_0x29ff00(0x1d6)]=class extends a[_0x29ff00(0x331)]{constructor(_0x24c8c3,_0x373a20){const _0x149909=_0x29ff00;super(),I(this,_0x149909(0x542),new Map()),(this['_univerInstanceService']=_0x24c8c3,this[_0x149909(0x345)]=_0x373a20,this[_0x149909(0x665)](a[_0x149909(0x372)](A[_0x149909(0x5ed)](this[_0x149909(0x600)][_0x149909(0x365)](a[_0x149909(0x5ce)][_0x149909(0x3d0)])['pipe'](V['map'](_0x19b1f3=>_0x19b1f3[_0x149909(0x621)]())),this[_0x149909(0x600)]['getTypeOfUnitDisposed$'](a[_0x149909(0x5ce)][_0x149909(0x4f0)])[_0x149909(0x619)](V[_0x149909(0x4db)](_0x17a884=>_0x17a884[_0x149909(0x621)]())),this[_0x149909(0x600)][_0x149909(0x365)](a['UniverInstanceType'][_0x149909(0x625)])['pipe'](V[_0x149909(0x4db)](_0x46fc8a=>_0x46fc8a[_0x149909(0x621)]())))[_0x149909(0x58f)](_0x5f6ac=>this[_0x149909(0x554)](_0x5f6ac)))));}[_0x29ff00(0x5c7)](_0x1b5f2b){const _0x22330f=_0x29ff00;this['_userManagerService'][_0x22330f(0x5c7)](_0x1b5f2b);}[_0x29ff00(0x5d8)](){const _0x3397d7=_0x29ff00;return this[_0x3397d7(0x345)][_0x3397d7(0x5d8)]();}[_0x29ff00(0x3f3)](_0x51bcf8,_0xf48690){const _0x41cc6a=_0x29ff00;let _0x47956a=this[_0x41cc6a(0x542)]['get'](_0x51bcf8);_0x47956a||(_0x47956a=new ln(),this[_0x41cc6a(0x542)][_0x41cc6a(0x20a)](_0x51bcf8,_0x47956a)),_0x47956a[_0x41cc6a(0x3f3)](_0xf48690);}[_0x29ff00(0x578)](_0x234958,_0x359e74){const _0x5cadbf=_0x29ff00,_0x4b1f76=this[_0x5cadbf(0x542)][_0x5cadbf(0x2ef)](_0x234958);_0x4b1f76&&_0x4b1f76[_0x5cadbf(0x578)](_0x359e74);}[_0x29ff00(0x4cb)](_0x41ae49){const _0x3cef7f=_0x29ff00;return this[_0x3cef7f(0x542)]['get'](_0x41ae49);}[_0x29ff00(0x5b8)](_0x3b9718,_0x130bb5){const _0x26a607=_0x29ff00,_0x6e829c=this[_0x26a607(0x542)][_0x26a607(0x2ef)](_0x3b9718);if(_0x6e829c)return _0x6e829c[_0x26a607(0x5b8)](_0x130bb5);}[_0x29ff00(0x554)](_0x332dae){const _0x2be6d7=_0x29ff00,_0x5df38c=this[_0x2be6d7(0x542)][_0x2be6d7(0x2ef)](_0x332dae);_0x5df38c&&(_0x5df38c[_0x2be6d7(0x5e6)](),this[_0x2be6d7(0x542)]['delete'](_0x332dae));}[_0x29ff00(0x5e6)](){const _0x2e4af4=_0x29ff00;this['_roomMembers'][_0x2e4af4(0x3a1)](_0x5b7354=>_0x5b7354[_0x2e4af4(0x5e6)]()),this['_roomMembers'][_0x2e4af4(0x641)]();}},exports[_0x29ff00(0x1d6)]=cn([At(0x0,a[_0x29ff00(0x37f)]),At(0x1,a[_0x29ff00(0x493)](a[_0x29ff00(0x60f)]))],exports[_0x29ff00(0x1d6)]);class ln extends a[_0x29ff00(0x331)]{constructor(){super(...arguments),I(this,'_members',new Map());}[_0x29ff00(0x5e6)](){const _0x419909=_0x29ff00;this['_members'][_0x419909(0x641)]();}['updateMember'](_0x2adca0){const _0x10ed13=_0x29ff00;this['_members']['set'](_0x2adca0[_0x10ed13(0x35e)],_0x2adca0);}['removeMember'](_0x574fbf){const _0x580929=_0x29ff00;this['_members'][_0x580929(0x3dc)](_0x574fbf);}['getMember'](_0x2380d4){const _0x145bd0=_0x29ff00;return this[_0x145bd0(0x272)][_0x145bd0(0x2ef)](_0x2380d4);}[_0x29ff00(0x2d7)](){const _0x4e8f2c=_0x29ff00;return Array[_0x4e8f2c(0x4e3)](this['_members']['values']());}}var hn=Object['defineProperty'],_n=Object[_0x29ff00(0x316)],un=(_0x212c52,_0x5e0053,_0x3bfa24,_0x300604)=>{const _0xa1e719=_0x29ff00;for(var _0xbfceec=_0x300604>0x1?void 0x0:_0x300604?_n(_0x5e0053,_0x3bfa24):_0x5e0053,_0xf035f2=_0x212c52[_0xa1e719(0x5e7)]-0x1,_0x5968b7;_0xf035f2>=0x0;_0xf035f2--)(_0x5968b7=_0x212c52[_0xf035f2])&&(_0xbfceec=(_0x300604?_0x5968b7(_0x5e0053,_0x3bfa24,_0xbfceec):_0x5968b7(_0xbfceec))||_0xbfceec);return _0x300604&&_0xbfceec&&hn(_0x5e0053,_0x3bfa24,_0xbfceec),_0xbfceec;},de=(_0x111444,_0x54af0c)=>(_0x3b479d,_0x4e966b)=>_0x54af0c(_0x3b479d,_0x4e966b,_0x111444),se=(_0x24621c=>(_0x24621c[_0x24621c[_0x29ff00(0x281)]=0x0]='IDLE',_0x24621c[_0x24621c['JOINING']=0x1]=_0x29ff00(0x377),_0x24621c[_0x24621c[_0x29ff00(0x548)]=0x2]='OFFLINE',_0x24621c[_0x24621c[_0x29ff00(0x572)]=0x3]='ONLINE',_0x24621c))(se||{});exports[_0x29ff00(0x679)]=class extends a[_0x29ff00(0x4b0)]{constructor(_0x227b21,_0x398803,_0x15d302,_0x3101dc,_0x21f5a9,_0x249e1c,_0xcc6a46,_0x52e18e,_0x485d18,_0x42fa55){const _0xbc6442=_0x29ff00;super(),I(this,_0xbc6442(0x439),new A[(_0xbc6442(0x26c))](0x0)),I(this,_0xbc6442(0x299),this[_0xbc6442(0x439)][_0xbc6442(0x4c6)]()),I(this,_0xbc6442(0x245),new A[(_0xbc6442(0x534))]()),I(this,_0xbc6442(0x48a),this[_0xbc6442(0x245)][_0xbc6442(0x4c6)]()),I(this,_0xbc6442(0x491)),I(this,_0xbc6442(0x24e)),I(this,_0xbc6442(0x497)),I(this,_0xbc6442(0x47d),!0x1),I(this,_0xbc6442(0x296),null),(this['_unitID']=_0x227b21,this[_0xbc6442(0x328)]=_0x15d302,this[_0xbc6442(0x1c0)]=_0x3101dc,this['_messageService']=_0x21f5a9,this[_0xbc6442(0x4ea)]=_0x249e1c,this[_0xbc6442(0x20f)]=_0xcc6a46,this[_0xbc6442(0x427)]=_0x52e18e,this[_0xbc6442(0x3df)]=_0x485d18,this['_telemetryService']=_0x42fa55,this[_0xbc6442(0x47d)]=!!this['_telemetryService'],_0x398803['pipe'](A['takeUntil'](this[_0xbc6442(0x2b6)]))['subscribe'](_0x128c12=>{const _0x1e03ad=_0xbc6442;var _0x18ee46;typeof _0x128c12>'u'||(this[_0x1e03ad(0x491)]=_0x128c12,_0x128c12?(this['_joinRoom'](_0x128c12),this[_0x1e03ad(0x24e)]=_0x128c12[_0x1e03ad(0x27b)][_0x1e03ad(0x58f)](_0x4fc6a2=>{const _0x5f6463=_0x1e03ad;_0x4fc6a2['routeKey']===this[_0x5f6463(0x33d)]&&this[_0x5f6463(0x261)](_0x4fc6a2);})):(this[_0x1e03ad(0x363)](),this['_sessionStatus$']['next'](0x2),(_0x18ee46=this[_0x1e03ad(0x24e)])==null||_0x18ee46[_0x1e03ad(0x4eb)](),this[_0x1e03ad(0x24e)]=null));}),this[_0xbc6442(0x665)](this[_0xbc6442(0x1c0)][_0xbc6442(0x23d)](()=>{const _0xfe612c=_0xbc6442;var _0xf28e07;(_0xf28e07=this[_0xfe612c(0x491)])==null||_0xf28e07['send']({'cmd':G['LEAVE'],'data':{'roomID':this['_unitID']}});})));}get['sessionStatus'](){const _0x36e572=_0x29ff00;return this[_0x36e572(0x439)][_0x36e572(0x42e)]();}[_0x29ff00(0x40a)](){const _0x326523=_0x29ff00;var _0x27f087,_0x5c318d;return(_0x5c318d=(_0x27f087=this['_socket'])==null?void 0x0:_0x27f087[_0x326523(0x35e)])!=null?_0x5c318d:null;}[_0x29ff00(0x5e6)](){const _0x3d271f=_0x29ff00;super[_0x3d271f(0x5e6)](),this[_0x3d271f(0x2b6)][_0x3d271f(0x49f)](),this['dispose$'][_0x3d271f(0x22e)]();}[_0x29ff00(0x499)](){const _0x4abd27=_0x29ff00;var _0x7c3d4,_0x4ee22a;this['_throwTelemetryCollaborationNewChangeset'](),(_0x7c3d4=this[_0x4abd27(0x491)])==null||_0x7c3d4[_0x4abd27(0x385)]({'cmd':G[_0x4abd27(0x56d)],'data':{'roomID':this[_0x4abd27(0x33d)]}}),(_0x4ee22a=this[_0x4abd27(0x491)])==null||_0x4ee22a['close'](),this[_0x4abd27(0x245)]['complete'](),this['_sessionStatus$'][_0x4abd27(0x22e)](),this['dispose']();}[_0x29ff00(0x261)](_0x556f34){const _0x30cce3=_0x29ff00;_0x556f34[_0x30cce3(0x4a0)]===G['JOIN']?this['_onJoinRoomEvent'](_0x556f34):_0x556f34[_0x30cce3(0x4a0)]===G['RECV']&&this[_0x30cce3(0x57a)](_0x556f34);}[_0x29ff00(0x618)](_0x435182){const _0x1cd1a1=_0x29ff00;this['_sessionStatus$']['next'](0x1),_0x435182[_0x1cd1a1(0x385)]({'cmd':G['JOIN'],'routeKey':this[_0x1cd1a1(0x33d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1cd1a1(0x33d)]}]}});}[_0x29ff00(0x28d)](_0x3894ff){const _0x48bdbe=_0x29ff00;var _0x5bba3c;if(_0x3894ff[_0x48bdbe(0x25d)]===bt[_0x48bdbe(0x52a)]){this[_0x48bdbe(0x47e)][_0x48bdbe(0x318)]({'type':Ce['MessageType'][_0x48bdbe(0x390)],'content':this[_0x48bdbe(0x20f)]['t']('session.room-full')}),this['_sessionStatus$'][_0x48bdbe(0x49f)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x15c3e7=(_0x5bba3c=_0x3894ff[_0x48bdbe(0x3eb)]['roomInfos'][this[_0x48bdbe(0x33d)]])==null?void 0x0:_0x5bba3c['members'];_0x15c3e7&&_0x15c3e7[_0x48bdbe(0x3a1)](_0x14540b=>this[_0x48bdbe(0x427)][_0x48bdbe(0x3f3)](this[_0x48bdbe(0x33d)],_0x14540b));}[_0x29ff00(0x57a)](_0x49a672){const _0x49ab31=_0x29ff00;try{const _0x1b00b5=_0x49a672[_0x49ab31(0x3eb)];switch(_0x1b00b5[_0x49ab31(0x55b)]){case p[_0x49ab31(0x259)]['USERS_ENTER']:this[_0x49ab31(0x22d)](_0x1b00b5),this[_0x49ab31(0x245)][_0x49ab31(0x49f)](_0x1b00b5);break;case p[_0x49ab31(0x259)]['USERS_LEAVE']:this[_0x49ab31(0x5d0)](_0x1b00b5),this[_0x49ab31(0x245)][_0x49ab31(0x49f)](_0x1b00b5);break;case p[_0x49ab31(0x259)]['CHANGESET_ACK']:case p[_0x49ab31(0x259)]['CHANGESET_SHOULD_RETRY']:this[_0x49ab31(0x202)](),this[_0x49ab31(0x50e)](),this[_0x49ab31(0x245)][_0x49ab31(0x49f)](_0x1b00b5);break;case p['CollaborationEvent'][_0x49ab31(0x5cc)]:this['_logService'][_0x49ab31(0x27a)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x49ab31(0x65e)](_0x1b00b5)),this[_0x49ab31(0x245)][_0x49ab31(0x49f)](_0x1b00b5);break;case p[_0x49ab31(0x259)][_0x49ab31(0x492)]:this['_commentService'][_0x49ab31(0x4a8)](_0x1b00b5['data']),this[_0x49ab31(0x245)]['next'](_0x1b00b5);break;default:this['_event$'][_0x49ab31(0x49f)](_0x1b00b5);}}catch(_0x2ddcfa){this[_0x49ab31(0x328)]['error'](_0x2ddcfa,_0x49a672);}}['_onUserJoin'](_0x2ed97a){const _0x77e776=_0x29ff00;this['_memberService']['updateMember'](this[_0x77e776(0x33d)],_0x2ed97a['data']);}[_0x29ff00(0x5d0)](_0x2db0da){const _0x426aa0=_0x29ff00;this[_0x426aa0(0x427)][_0x426aa0(0x578)](this[_0x426aa0(0x33d)],_0x2db0da[_0x426aa0(0x3eb)][_0x426aa0(0x35e)]);}async['send'](_0x2b7866,_0x9a8c54){const _0x4ed4a4=_0x29ff00;if(this[_0x4ed4a4(0x2ff)]!==0x3||!this[_0x4ed4a4(0x491)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x2b7866['eventID']===p['CollaborationEvent'][_0x4ed4a4(0x2c8)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x4ed4a4(0x353)](_0x2b7866)),this['_socket'][_0x4ed4a4(0x385)]({'cmd':G[_0x4ed4a4(0x514)],'routeKey':_0x9a8c54,'routeType':'','data':_0x2b7866});}catch(_0x2c8f81){this[_0x4ed4a4(0x328)][_0x4ed4a4(0x27a)](_0x2c8f81);}}['_scheduleCollaborationTimeoutTimer'](){const _0x10dbe9=_0x29ff00;var _0x3dc40d;this[_0x10dbe9(0x497)]=window[_0x10dbe9(0x34a)](()=>{const _0x3e0b8b=_0x10dbe9;this[_0x3e0b8b(0x497)]=null,this[_0x3e0b8b(0x47e)][_0x3e0b8b(0x318)]({'type':Ce[_0x3e0b8b(0x506)][_0x3e0b8b(0x341)],'content':this['_localeService']['t']('session.collaboration-timeout')});},(_0x3dc40d=this[_0x10dbe9(0x4ea)][_0x10dbe9(0x1ea)](Et))!=null?_0x3dc40d:oi);}[_0x29ff00(0x50e)](){this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x29ff00(0x353)](_0x356198){const _0x524f9a=_0x29ff00;if(!this[_0x524f9a(0x47d)])return;const {data:_0x243d8e}=_0x356198,{unitID:_0x4286d7,changeset:_0x13e74b}=_0x243d8e,{mutations:_0x32eb48,type:_0x447499}=_0x13e74b;this[_0x524f9a(0x296)]={'unitId':_0x4286d7,'type':_0x447499,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':rn(_0x32eb48)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x11a1f6=_0x29ff00;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x11a1f6(0x328)]['error']('[CollaborationSession]',_0x11a1f6(0x571));return;}this[_0x11a1f6(0x296)][_0x11a1f6(0x3a8)]=performance['now'](),this[_0x11a1f6(0x296)][_0x11a1f6(0x24f)]=this[_0x11a1f6(0x296)][_0x11a1f6(0x3a8)]-this['_telemetryInfo'][_0x11a1f6(0x524)],this[_0x11a1f6(0x283)]['capture'](sn,this[_0x11a1f6(0x296)]),this[_0x11a1f6(0x296)]=null;}}[_0x29ff00(0x363)](){const _0x742a10=_0x29ff00;this[_0x742a10(0x296)]=null;}},exports['CollaborationSession']=un([de(0x2,a[_0x29ff00(0x4ac)]),de(0x3,te['IBeforeCloseService']),de(0x4,te['IMessageService']),de(0x5,a[_0x29ff00(0x64d)]),de(0x6,a[_0x29ff00(0x493)](a[_0x29ff00(0x430)])),de(0x7,a[_0x29ff00(0x493)](exports[_0x29ff00(0x1d6)])),de(0x8,a[_0x29ff00(0x493)](Rt)),de(0x9,a[_0x29ff00(0x437)](Hi[_0x29ff00(0x1e9)]))],exports['CollaborationSession']);var dn=Object['defineProperty'],fn=Object[_0x29ff00(0x316)],vn=(_0x5aee8c,_0x4ad513,_0x4af432,_0x2db095)=>{for(var _0x48e29e=_0x2db095>0x1?void 0x0:_0x2db095?fn(_0x4ad513,_0x4af432):_0x4ad513,_0x13d8bf=_0x5aee8c['length']-0x1,_0x53fff8;_0x13d8bf>=0x0;_0x13d8bf--)(_0x53fff8=_0x5aee8c[_0x13d8bf])&&(_0x48e29e=(_0x2db095?_0x53fff8(_0x4ad513,_0x4af432,_0x48e29e):_0x53fff8(_0x48e29e))||_0x48e29e);return _0x2db095&&_0x48e29e&&dn(_0x4ad513,_0x4af432,_0x48e29e),_0x48e29e;},pe=(_0x3d2753,_0xc51ae3)=>(_0x180548,_0x2069b5)=>_0xc51ae3(_0x180548,_0x2069b5,_0x3d2753);exports[_0x29ff00(0x5ea)]=class extends a[_0x29ff00(0x331)]{constructor(_0x1b4857,_0x50e375,_0x18415c,_0x33f16f,_0x2a129b,_0x2e8605,_0x4bea1e){const _0x2288fe=_0x29ff00;super(),I(this,'_socket$',new A[(_0x2288fe(0x26c))](void 0x0)),I(this,_0x2288fe(0x39e),this[_0x2288fe(0x337)][_0x2288fe(0x4c6)]()),I(this,'_candidateSocket',null),I(this,'_sessions',new Map()),I(this,_0x2288fe(0x1f8),new A['BehaviorSubject'](se[_0x2288fe(0x281)])),I(this,_0x2288fe(0x405),this['_status$'][_0x2288fe(0x4c6)]()),I(this,_0x2288fe(0x21a),!0x1),I(this,'_retryConnectingTimer'),I(this,_0x2288fe(0x62f),0x0),I(this,_0x2288fe(0x25f)),I(this,_0x2288fe(0x622)),(this[_0x2288fe(0x1c1)]=_0x1b4857,this[_0x2288fe(0x20f)]=_0x50e375,this[_0x2288fe(0x47e)]=_0x18415c,this['_logService']=_0x33f16f,this[_0x2288fe(0x4ea)]=_0x2a129b,this[_0x2288fe(0x292)]=_0x2e8605,this[_0x2288fe(0x620)]=_0x4bea1e,this[_0x2288fe(0x4d5)]());}get['_socket'](){const _0x2cdee6=_0x29ff00;return this[_0x2cdee6(0x337)][_0x2cdee6(0x42e)]();}[_0x29ff00(0x4d5)](){const _0x4ff15f=_0x29ff00;this['_listenToOfflineEvent'](),this[_0x4ff15f(0x32d)]();}[_0x29ff00(0x5e6)](){const _0x3d41c4=_0x29ff00;super[_0x3d41c4(0x5e6)](),this[_0x3d41c4(0x2b7)][_0x3d41c4(0x3a1)](_0x183f82=>_0x183f82[_0x3d41c4(0x5e6)]()),this[_0x3d41c4(0x2b7)][_0x3d41c4(0x641)](),this[_0x3d41c4(0x1f8)][_0x3d41c4(0x22e)]();}async[_0x29ff00(0x429)](_0x5d478d){const _0xe921e8=_0x29ff00;if(this['_sessions']['has'](_0x5d478d))return this[_0xe921e8(0x2b7)][_0xe921e8(0x2ef)](_0x5d478d);this[_0xe921e8(0x513)]();const _0x81c15b=this['_injector']['createInstance'](exports[_0xe921e8(0x679)],_0x5d478d,this[_0xe921e8(0x337)][_0xe921e8(0x4c6)]());return this[_0xe921e8(0x2b7)][_0xe921e8(0x20a)](_0x5d478d,_0x81c15b),_0x81c15b;}[_0x29ff00(0x452)](_0x469f81){const _0x215a09=_0x29ff00;var _0x4be13f;const _0x3a2470=this['_sessions']['get'](_0x469f81);_0x3a2470&&(this['_sessions'][_0x215a09(0x3dc)](_0x469f81),_0x3a2470['close']()),this['_sessions'][_0x215a09(0x62a)]||(_0x4be13f=this[_0x215a09(0x491)])==null||_0x4be13f[_0x215a09(0x499)]();}[_0x29ff00(0x267)](){const _0x339a2a=_0x29ff00;this[_0x339a2a(0x62f)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x339a2a(0x5d2)]),this['_retryConnectingTimer']=null),this['_tryReconnect']();}async[_0x29ff00(0x434)](){const _0x5bba6e=_0x29ff00;var _0x3c75e7,_0x365ebc,_0x838ddb;const _0x35264c=this['_configService']['getConfig'](Q),_0x2ce67e=(_0x3c75e7=_0x35264c==null?void 0x0:_0x35264c[_0x5bba6e(0x27e)])!=null?_0x3c75e7:Gi;return(_0x838ddb=(_0x365ebc=(await this['_httpService'][_0x5bba6e(0x2ef)](_0x2ce67e,{'headers':{'Content-Type':_0x5bba6e(0x2bc)}}))[_0x5bba6e(0x55d)])==null?void 0x0:_0x365ebc[_0x5bba6e(0x352)])!=null?_0x838ddb:'';}['_createSocketURL'](_0x2cb635){const _0x1cc28b=_0x29ff00;var _0x18af17,_0x431eb7;const _0x257cf7=this[_0x1cc28b(0x4ea)][_0x1cc28b(0x1ea)](si),_0x574027=this[_0x1cc28b(0x4ea)][_0x1cc28b(0x1ea)](Q),_0xe221b8=(_0x431eb7=(_0x18af17=_0x574027==null?void 0x0:_0x574027[_0x1cc28b(0x50b)])!=null?_0x18af17:_0x257cf7)!=null?_0x431eb7:Vi,_0x319a42=new URL(_0xe221b8,window[_0x1cc28b(0x60d)][_0x1cc28b(0x655)]);return _0x319a42[_0x1cc28b(0x570)][_0x1cc28b(0x20a)](_0x1cc28b(0x528),_0x2cb635),_0x319a42['toString']();}async[_0x29ff00(0x3e8)](){const _0x40354a=_0x29ff00,_0x550578=await this['_getSessionTicket'](),_0x5e92e4=this[_0x40354a(0x327)](_0x550578),_0x45bc4f=this[_0x40354a(0x292)]['createSocket'](_0x5e92e4);return this['_candidateSocket']=_0x45bc4f,_0x45bc4f;}async[_0x29ff00(0x513)](){const _0x428971=_0x29ff00;var _0x5b9ad5,_0x38b98f;try{const _0x27484b=(_0x38b98f=(_0x5b9ad5=this[_0x428971(0x491)])!=null?_0x5b9ad5:this['_candidateSocket'])!=null?_0x38b98f:await this[_0x428971(0x3e8)]();if(_0x27484b){const _0x19d51b=_0x27484b[_0x428971(0x385)];_0x27484b[_0x428971(0x385)]=_0x3cfe83=>(this['_rescheduleHeartbeat'](),_0x19d51b[_0x428971(0x567)](_0x27484b,[_0x3cfe83])),_0x27484b['message$'][_0x428971(0x58f)](_0x2bf2e1=>this[_0x428971(0x399)](_0x27484b,_0x2bf2e1)),_0x27484b[_0x428971(0x1c3)][_0x428971(0x619)](V['take'](0x1))[_0x428971(0x58f)](_0x5f360a=>this['_logService'][_0x428971(0x27a)](_0x428971(0x5df),_0x5f360a)),_0x27484b['open$'][_0x428971(0x619)](V[_0x428971(0x3d7)](0x1))[_0x428971(0x58f)](()=>{const _0x3b4e3d=_0x428971;this[_0x3b4e3d(0x5e5)](_0x27484b);}),_0x27484b[_0x428971(0x642)]['pipe'](V[_0x428971(0x3d7)](0x1))[_0x428971(0x58f)](_0x5702d6=>{const _0x112ab9=_0x428971;this['_logService']['debug'](_0x112ab9(0x31d),'socket\x20close',_0x5702d6),this[_0x112ab9(0x614)]();});}}catch(_0x515c40){this[_0x428971(0x328)]['error'](_0x515c40),this[_0x428971(0x614)]();}}[_0x29ff00(0x5e5)](_0xccbcd2){const _0x51c870=_0x29ff00;this[_0x51c870(0x328)][_0x51c870(0x226)](_0x51c870(0x31d),_0x51c870(0x31c)),_0xccbcd2[_0x51c870(0x385)]({'cmd':G[_0x51c870(0x2ad)]}),this[_0x51c870(0x50d)]();}['_listenToOfflineEvent'](){const _0x46e64d=_0x29ff00;window[_0x46e64d(0x246)](_0x46e64d(0x4e0),()=>this[_0x46e64d(0x324)]());}[_0x29ff00(0x324)](){const _0x33d256=_0x29ff00;this[_0x33d256(0x21a)]=!0x1,this[_0x33d256(0x22c)]=null,this['_status$'][_0x33d256(0x49f)](se[_0x33d256(0x548)]),this[_0x33d256(0x337)][_0x33d256(0x49f)](null),this[_0x33d256(0x1b6)](),this['_clearHeartbeatTimer']();}[_0x29ff00(0x614)](){const _0x1e57dd=_0x29ff00;var _0x86cb2e;this[_0x1e57dd(0x324)](),this[_0x1e57dd(0x62f)]<((_0x86cb2e=this['_configService'][_0x1e57dd(0x1ea)](ai))!=null?_0x86cb2e:qi)?(this[_0x1e57dd(0x47e)][_0x1e57dd(0x318)]({'key':_0x1e57dd(0x589),'type':Ce['MessageType'][_0x1e57dd(0x390)],'content':this[_0x1e57dd(0x20f)]['t'](_0x1e57dd(0x443))}),this[_0x1e57dd(0x1c9)]()):this['_messageService'][_0x1e57dd(0x318)]({'key':_0x1e57dd(0x589),'type':Ce['MessageType'][_0x1e57dd(0x341)],'content':this['_localeService']['t'](_0x1e57dd(0x5b5))});}[_0x29ff00(0x32d)](){const _0x593243=_0x29ff00,_0x3adfbb=()=>{const _0x580388=_0x2f26;this[_0x580388(0x491)]||this[_0x580388(0x267)]();},_0x47d19b=()=>{const _0x36a2cc=_0x2f26;this['_socket']||document['visibilityState']===_0x36a2cc(0x30e)||this[_0x36a2cc(0x267)]();};window[_0x593243(0x246)](_0x593243(0x436),_0x3adfbb),document[_0x593243(0x246)](_0x593243(0x371),_0x47d19b);}['_tryReconnect'](){const _0x358106=_0x29ff00;var _0x31d9f6;const _0x5d33db=this[_0x358106(0x62f)],_0x227765=this[_0x358106(0x4ea)]['getConfig'](Q),_0x398337=_0x5d33db===0x0?0x0:((_0x31d9f6=_0x227765==null?void 0x0:_0x227765['retryConnectingInterval'])!=null?_0x31d9f6:Ki)*0x2**_0x5d33db;this['_retryConnectingTimer']=window[_0x358106(0x34a)](()=>{const _0x1f075d=_0x358106;clearTimeout(this[_0x1f075d(0x5d2)]),this[_0x1f075d(0x5d2)]=null,this[_0x1f075d(0x513)]();},_0x398337),this['_retryCount']+=0x1;}[_0x29ff00(0x399)](_0x3547ab,_0x5c7833){const _0x208a38=_0x29ff00,{cmd:_0x441177}=_0x5c7833;_0x441177===G['HELLO']&&!this[_0x208a38(0x21a)]&&(_0x3547ab[_0x208a38(0x35e)]=_0x5c7833[_0x208a38(0x3eb)][_0x208a38(0x35e)],this[_0x208a38(0x337)][_0x208a38(0x49f)](_0x3547ab),this[_0x208a38(0x1f8)]['next'](se[_0x208a38(0x572)]),this[_0x208a38(0x21a)]=!0x0,this[_0x208a38(0x22c)]=null),_0x441177===G[_0x208a38(0x5c6)]&&this[_0x208a38(0x1b6)](),this[_0x208a38(0x50d)]();}[_0x29ff00(0x50d)](){const _0x3b8240=_0x29ff00;var _0x4e1d88;this[_0x3b8240(0x1e6)](),this[_0x3b8240(0x25f)]=window[_0x3b8240(0x34a)](()=>this[_0x3b8240(0x422)](),(_0x4e1d88=this[_0x3b8240(0x4ea)][_0x3b8240(0x1ea)](ri))!=null?_0x4e1d88:Yi);}['_sendHeartbeat'](){const _0x2ae410=_0x29ff00;this[_0x2ae410(0x491)][_0x2ae410(0x385)]({'cmd':G['HEARTBEAT']}),this[_0x2ae410(0x3bf)]();}[_0x29ff00(0x3bf)](){const _0x96acf8=_0x29ff00;var _0x22b010;this[_0x96acf8(0x622)]=window[_0x96acf8(0x34a)](()=>this[_0x96acf8(0x614)](),(_0x22b010=this[_0x96acf8(0x4ea)][_0x96acf8(0x1ea)](Et))!=null?_0x22b010:oi);}['_clearHeartbeatTimer'](){const _0x204035=_0x29ff00;this[_0x204035(0x25f)]!=null&&(clearTimeout(this[_0x204035(0x25f)]),this[_0x204035(0x25f)]=null);}[_0x29ff00(0x1b6)](){const _0x5eaad4=_0x29ff00;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x5eaad4(0x622)]),this[_0x5eaad4(0x622)]=null);}},exports['CollaborationSessionService']=vn([pe(0x0,a['Inject'](a[_0x29ff00(0x615)])),pe(0x1,a[_0x29ff00(0x493)](a[_0x29ff00(0x430)])),pe(0x2,te[_0x29ff00(0x47f)]),pe(0x3,a[_0x29ff00(0x4ac)]),pe(0x4,a[_0x29ff00(0x64d)]),pe(0x5,Tt),pe(0x6,a[_0x29ff00(0x493)](z[_0x29ff00(0x1be)]))],exports[_0x29ff00(0x5ea)]);const Y=[];for(let s=0x0;s<0x100;++s)Y[_0x29ff00(0x3bc)]((s+0x100)[_0x29ff00(0x3ef)](0x10)[_0x29ff00(0x3bb)](0x1));function Sn(_0x45d725,_0x4b54aa=0x0){return(Y[_0x45d725[_0x4b54aa+0x0]]+Y[_0x45d725[_0x4b54aa+0x1]]+Y[_0x45d725[_0x4b54aa+0x2]]+Y[_0x45d725[_0x4b54aa+0x3]]+'-'+Y[_0x45d725[_0x4b54aa+0x4]]+Y[_0x45d725[_0x4b54aa+0x5]]+'-'+Y[_0x45d725[_0x4b54aa+0x6]]+Y[_0x45d725[_0x4b54aa+0x7]]+'-'+Y[_0x45d725[_0x4b54aa+0x8]]+Y[_0x45d725[_0x4b54aa+0x9]]+'-'+Y[_0x45d725[_0x4b54aa+0xa]]+Y[_0x45d725[_0x4b54aa+0xb]]+Y[_0x45d725[_0x4b54aa+0xc]]+Y[_0x45d725[_0x4b54aa+0xd]]+Y[_0x45d725[_0x4b54aa+0xe]]+Y[_0x45d725[_0x4b54aa+0xf]])['toLowerCase']();}let Ze;const pn=new Uint8Array(0x10);function mn(){const _0xbe7b43=_0x29ff00;if(!Ze){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0xbe7b43(0x2e7));Ze=crypto['getRandomValues'][_0xbe7b43(0x4da)](crypto);}return Ze(pn);}const gn=typeof crypto<'u'&&crypto[_0x29ff00(0x540)]&&crypto[_0x29ff00(0x540)][_0x29ff00(0x4da)](crypto),Nt={'randomUUID':gn};function In(_0x366a00,_0x4ccf8b,_0x596d03){const _0x5ad740=_0x29ff00;if(Nt[_0x5ad740(0x540)]&&!_0x4ccf8b&&!_0x366a00)return Nt[_0x5ad740(0x540)]();_0x366a00=_0x366a00||{};const _0x1e7084=_0x366a00[_0x5ad740(0x581)]||(_0x366a00[_0x5ad740(0x5ff)]||mn)();return _0x1e7084[0x6]=_0x1e7084[0x6]&0xf|0x40,_0x1e7084[0x8]=_0x1e7084[0x8]&0x3f|0x80,Sn(_0x1e7084);}var Cn=Object['defineProperty'],En=Object[_0x29ff00(0x316)],bn=(_0x4093bf,_0x4e4a52,_0x364531,_0x3f95f3)=>{const _0x1d0b5d=_0x29ff00;for(var _0x263812=_0x3f95f3>0x1?void 0x0:_0x3f95f3?En(_0x4e4a52,_0x364531):_0x4e4a52,_0xa4a62=_0x4093bf[_0x1d0b5d(0x5e7)]-0x1,_0x15b905;_0xa4a62>=0x0;_0xa4a62--)(_0x15b905=_0x4093bf[_0xa4a62])&&(_0x263812=(_0x3f95f3?_0x15b905(_0x4e4a52,_0x364531,_0x263812):_0x15b905(_0x263812))||_0x263812);return _0x3f95f3&&_0x263812&&Cn(_0x4e4a52,_0x364531,_0x263812),_0x263812;},Qe=(_0x1fa657,_0x51b8ff)=>(_0x44c807,_0x29ea4e)=>_0x51b8ff(_0x44c807,_0x29ea4e,_0x1fa657);let Be=class{constructor(_0x2e6edf,_0x9d7171,_0x3baa1a){const _0x2171c7=_0x29ff00;this[_0x2171c7(0x1c1)]=_0x2e6edf,this[_0x2171c7(0x449)]=_0x9d7171,this[_0x2171c7(0x4bc)]=_0x3baa1a;}[_0x29ff00(0x350)](_0x309981){const _0x5d4e85=_0x29ff00;this[_0x5d4e85(0x273)](_0x309981),this[_0x5d4e85(0x469)](_0x309981);}['transformRemoteChangeset'](_0x69e750){const _0x52d778=_0x29ff00,{unitID:_0x2295a1}=_0x69e750,_0xa657b1=this[_0x52d778(0x4bc)][_0x52d778(0x40c)](_0x2295a1)[_0x52d778(0x314)](J[_0x52d778(0x320)]),{redoCache:_0x3ab822}=_0xa657b1[_0x52d778(0x1fc)]();if(_0x3ab822[_0x52d778(0x5e7)]===0x0)return _0x69e750;let _0x42b173=a[_0x52d778(0x302)]['deepClone'](_0x69e750['mutations'][0x0]);for(let _0x527c08=0x0;_0x527c08<_0x3ab822[_0x52d778(0x5e7)];_0x527c08++){const _0x13e910={'id':_0x52d778(0x356),'params':{..._0x3ab822[_0x527c08]}},_0x2d62a8=this[_0x52d778(0x449)][_0x52d778(0x43c)](_0x42b173,_0x13e910,!0x1);if(p[_0x52d778(0x4b4)](_0x2d62a8))throw _0x2d62a8[_0x52d778(0x27a)];_0x42b173=_0x2d62a8[_0x52d778(0x475)];}return{...a[_0x52d778(0x302)][_0x52d778(0x64e)](_0x69e750),'mutations':[_0x42b173]};}[_0x29ff00(0x273)](_0x1943bb){const _0x1a5d2d=_0x29ff00,{unitID:_0x2640c7}=_0x1943bb,_0x17aa59=this[_0x1a5d2d(0x4bc)]['getRenderById'](_0x2640c7)[_0x1a5d2d(0x314)](J[_0x1a5d2d(0x320)]),{undoCache:_0x56cd42,redoCache:_0x2d2eb4}=_0x17aa59[_0x1a5d2d(0x1fc)]();if(_0x56cd42[_0x1a5d2d(0x5e7)]===0x0||_0x2d2eb4['length']===0x0)return;const _0xeda61e=[],_0x180734=[];let _0xf77d9d=a[_0x1a5d2d(0x302)][_0x1a5d2d(0x64e)](_0x1943bb[_0x1a5d2d(0x219)][0x0]),_0x51c98d=a['Tools'][_0x1a5d2d(0x64e)](_0x1943bb['mutations'][0x0]);for(let _0x2b0943=_0x56cd42[_0x1a5d2d(0x5e7)]-0x1;_0x2b0943>=0x0;_0x2b0943--){const _0x5274fc={'id':'doc.mutation.rich-text-editing','params':{..._0x56cd42[_0x2b0943]}},_0x346fd6={'id':_0x1a5d2d(0x356),'params':{..._0x2d2eb4[_0x2b0943]}},_0x483e33=this[_0x1a5d2d(0x449)][_0x1a5d2d(0x43c)](_0xf77d9d,_0x5274fc,!0x1),_0x64f0c6=this[_0x1a5d2d(0x449)]['transformMutation'](_0x51c98d,_0x346fd6,!0x1);if(p[_0x1a5d2d(0x4b4)](_0x483e33))throw _0x483e33[_0x1a5d2d(0x27a)];if(p['isTransformMutationFailure'](_0x64f0c6))throw _0x64f0c6[_0x1a5d2d(0x27a)];_0xeda61e['unshift'](_0x483e33['m2Prime'][_0x1a5d2d(0x447)]),_0x180734[_0x1a5d2d(0x24b)](_0x64f0c6[_0x1a5d2d(0x239)]['params']),_0xf77d9d=_0x483e33[_0x1a5d2d(0x475)],_0x51c98d=_0x64f0c6[_0x1a5d2d(0x475)];}_0x17aa59[_0x1a5d2d(0x38a)]({'undoCache':_0xeda61e,'redoCache':_0x180734});}[_0x29ff00(0x469)](_0x5122c9){const _0x14379e=_0x29ff00,{unitID:_0x1f16af}=_0x5122c9,_0x18d308=this['_renderManagerService']['getRenderById'](_0x1f16af)[_0x14379e(0x314)](J[_0x14379e(0x320)]),_0x2991fe=_0x18d308[_0x14379e(0x32b)]();if(_0x2991fe==null)return;const _0x8eeca7=[{'id':_0x14379e(0x356),'params':{'unitId':_0x5122c9['unitID'],'actions':null,'textRanges':[_0x2991fe]}}],_0x444d11=this[_0x14379e(0x449)][_0x14379e(0x268)](_0x5122c9,_0x8eeca7);if(!p['isTransformMutationsWithChangesetSuccess'](_0x444d11))throw _0x444d11[_0x14379e(0x27a)];const _0x483af9=_0x444d11[_0x14379e(0x239)][0x0][_0x14379e(0x447)][_0x14379e(0x49e)];Array[_0x14379e(0x400)](_0x483af9)&&_0x483af9[_0x14379e(0x5e7)]&&_0x18d308[_0x14379e(0x393)](_0x483af9[0x0]);}};Be=bn([Qe(0x0,a[_0x29ff00(0x493)](a['Injector'])),Qe(0x1,p[_0x29ff00(0x38f)]),Qe(0x2,K[_0x29ff00(0x5b7)])],Be);var Tn=Object[_0x29ff00(0x64a)],Rn=Object[_0x29ff00(0x316)],yn=(_0xd576ab,_0x397981,_0x31cd4b,_0x3449bd)=>{const _0x42ccc0=_0x29ff00;for(var _0x12630f=_0x3449bd>0x1?void 0x0:_0x3449bd?Rn(_0x397981,_0x31cd4b):_0x397981,_0x5daa2c=_0xd576ab[_0x42ccc0(0x5e7)]-0x1,_0x43faeb;_0x5daa2c>=0x0;_0x5daa2c--)(_0x43faeb=_0xd576ab[_0x5daa2c])&&(_0x12630f=(_0x3449bd?_0x43faeb(_0x397981,_0x31cd4b,_0x12630f):_0x43faeb(_0x12630f))||_0x12630f);return _0x3449bd&&_0x12630f&&Tn(_0x397981,_0x31cd4b,_0x12630f),_0x12630f;},we=(_0x3b30af,_0x305e30)=>(_0x4d6aea,_0x27dff5)=>_0x305e30(_0x4d6aea,_0x27dff5,_0x3b30af);exports[_0x29ff00(0x46a)]=class extends a[_0x29ff00(0x331)]{constructor(_0xf891fb,_0x13de26,_0xda5b12,_0x2f6290,_0x576c91){const _0x5cba76=_0x29ff00;super(),I(this,_0x5cba76(0x656),new Map()),I(this,_0x5cba76(0x233),new Map()),I(this,'_disabled',!0x1),(this['_configService']=_0xf891fb,this['_localStorageService']=_0x13de26,this[_0x5cba76(0x1c0)]=_0xda5b12,this['_localeService']=_0x2f6290,this[_0x5cba76(0x2a8)]=_0x576c91,this[_0x5cba76(0x637)]());}[_0x29ff00(0x2d9)](){const _0x4c117c=_0x29ff00;this[_0x4c117c(0x1f2)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}[_0x29ff00(0x5e6)](){const _0x125a45=_0x29ff00;this[_0x125a45(0x312)]()['then'](()=>super[_0x125a45(0x5e6)]());}async[_0x29ff00(0x26d)](_0x26e995){const _0x102fee=_0x29ff00;return this[_0x102fee(0x1f2)]?null:this[_0x102fee(0x254)][_0x102fee(0x62e)](Lt(_0x26e995));}async[_0x29ff00(0x5c2)](_0x5b80ce,_0x251968){const _0x4a2737=_0x29ff00;return!!this[_0x4a2737(0x254)][_0x4a2737(0x28e)](_0x5b80ce,_0x251968);}['updateOfflineData'](_0x2411d4,_0x4da575,_0x2ba78c,_0x501a90){const _0x5f5c9c=_0x29ff00,_0x4cc35a=this[_0x5f5c9c(0x2a8)][_0x5f5c9c(0x309)](_0x2411d4);this[_0x5f5c9c(0x656)][_0x5f5c9c(0x20a)](_0x2411d4,{'unitID':_0x2411d4,'type':_0x4da575,'awaitingChangeset':_0x2ba78c,'mutations':_0x501a90,'rev':_0x4cc35a}),this['_saveTaskMap'][_0x5f5c9c(0x38d)](_0x2411d4)||this[_0x5f5c9c(0x5a5)](_0x2411d4);}[_0x29ff00(0x5a5)](_0x172202){const _0x447864=_0x29ff00,_0x5e1bd3=this[_0x447864(0x5f7)]();_0x5e1bd3===0x0?this[_0x447864(0x25a)](_0x172202):this['_saveTaskMap'][_0x447864(0x20a)](_0x172202,setTimeout(()=>this[_0x447864(0x25a)](_0x172202),_0x5e1bd3));}[_0x29ff00(0x5f7)](){const _0x52c798=_0x29ff00;var _0x47672d;return(_0x47672d=this[_0x52c798(0x4ea)][_0x52c798(0x1ea)](ci))!=null?_0x47672d:zi;}[_0x29ff00(0x25a)](_0x2efd93){const _0x4c1407=_0x29ff00,_0x3662e8=this[_0x4c1407(0x233)][_0x4c1407(0x2ef)](_0x2efd93);return _0x3662e8!==void 0x0&&window[_0x4c1407(0x453)](_0x3662e8),this['_localStorageService'][_0x4c1407(0x28e)](Lt(_0x2efd93),this[_0x4c1407(0x656)][_0x4c1407(0x2ef)](_0x2efd93))[_0x4c1407(0x5bf)](()=>this[_0x4c1407(0x233)][_0x4c1407(0x3dc)](_0x2efd93));}async[_0x29ff00(0x312)](){const _0x1a870d=_0x29ff00,_0x1c9cf8=[];this[_0x1a870d(0x233)][_0x1a870d(0x3a1)]((_0xfbc44d,_0x1cea38)=>{const _0x3d971f=_0x1a870d;window['clearTimeout'](_0xfbc44d),_0x1c9cf8[_0x3d971f(0x3bc)](this['_saveCache'](_0x1cea38)[_0x3d971f(0x5bf)](()=>{const _0x337ceb=_0x3d971f;this[_0x337ceb(0x233)][_0x337ceb(0x3dc)](_0x1cea38);}));}),await Promise[_0x1a870d(0x307)](_0x1c9cf8);}[_0x29ff00(0x637)](){const _0x3c28c8=_0x29ff00;this[_0x3c28c8(0x665)](this['_beforeCloseService'][_0x3c28c8(0x3f9)](()=>{const _0x4c6727=_0x3c28c8;if(this[_0x4c6727(0x233)][_0x4c6727(0x62a)])return this[_0x4c6727(0x20f)]['t'](_0x4c6727(0x3ac));}));}},exports[_0x29ff00(0x46a)]=yn([we(0x0,a[_0x29ff00(0x64d)]),we(0x1,a[_0x29ff00(0x43a)]),we(0x2,te[_0x29ff00(0x670)]),we(0x3,a[_0x29ff00(0x493)](a['LocaleService'])),we(0x4,a[_0x29ff00(0x493)](p[_0x29ff00(0x59a)]))],exports[_0x29ff00(0x46a)]);function Lt(_0x1f8859){const _0x20cb22=_0x29ff00;return _0x20cb22(0x43f)+_0x1f8859;}var On=Object[_0x29ff00(0x64a)],Dn=Object[_0x29ff00(0x316)],Pn=(_0x290510,_0x5bdc46,_0x527a49,_0x3a30cf)=>{for(var _0x13f376=_0x3a30cf>0x1?void 0x0:_0x3a30cf?Dn(_0x5bdc46,_0x527a49):_0x5bdc46,_0x1953f6=_0x290510['length']-0x1,_0x4e8705;_0x1953f6>=0x0;_0x1953f6--)(_0x4e8705=_0x290510[_0x1953f6])&&(_0x13f376=(_0x3a30cf?_0x4e8705(_0x5bdc46,_0x527a49,_0x13f376):_0x4e8705(_0x13f376))||_0x13f376);return _0x3a30cf&&_0x13f376&&On(_0x5bdc46,_0x527a49,_0x13f376),_0x13f376;},et=(_0x4776bf,_0x50d005)=>(_0x531141,_0x1a1ba6)=>_0x50d005(_0x531141,_0x1a1ba6,_0x4776bf);function wn(_0x4c1c6a){const {unitID:_0x2e6953,mutations:_0x543334}=_0x4c1c6a;return{'unitId':_0x2e6953,'subUnitId':_0x543334[0x0]['params']['subUnitId']};}let ke=class{constructor(_0x5857dc,_0x27485d,_0x16c2d7){const _0x21c029=_0x29ff00;this[_0x21c029(0x1c1)]=_0x5857dc,this[_0x21c029(0x449)]=_0x27485d,this[_0x21c029(0x4a1)]=_0x16c2d7;}[_0x29ff00(0x2c1)](_0x41ff13){const _0x3fea0e=_0x29ff00;var _0x100d03,_0x5e9b70,_0x1ffcb1,_0x592413;const _0x469e7f=this[_0x3fea0e(0x1c1)][_0x3fea0e(0x2ef)](k[_0x3fea0e(0x210)]),{unitId:_0x18d056,subUnitId:_0x2b88c9}=wn(_0x41ff13),_0x301c97=_0x469e7f['getWorkbookSelections'](_0x18d056)[_0x3fea0e(0x5d6)](),_0x3a0bc7=(_0x5e9b70=(_0x100d03=this['_instanceService'][_0x3fea0e(0x3ad)](_0x18d056))==null?void 0x0:_0x100d03[_0x3fea0e(0x42c)]())==null?void 0x0:_0x5e9b70[_0x3fea0e(0x360)]();if(_0x301c97[_0x3fea0e(0x5e7)]===0x0||!_0x18d056||!_0x2b88c9)return;const _0x35de81=[{'id':k[_0x3fea0e(0x23f)]['id'],'params':{'unitId':_0x18d056,'subUnitId':_0x3a0bc7,'selections':a[_0x3fea0e(0x302)][_0x3fea0e(0x64e)](_0x301c97)}}],_0x2f6447=this['_transformService'][_0x3fea0e(0x268)](_0x41ff13,_0x35de81);if(!p['isTransformMutationsWithChangesetSuccess'](_0x2f6447))throw _0x2f6447['error'];const _0x11955a=(_0x592413=(_0x1ffcb1=_0x2f6447['m2Prime'][0x0])==null?void 0x0:_0x1ffcb1[_0x3fea0e(0x447)])==null?void 0x0:_0x592413[_0x3fea0e(0x338)];if(Array[_0x3fea0e(0x400)](_0x11955a)&&_0x11955a[_0x3fea0e(0x5e7)]){if(_0x11955a[_0x3fea0e(0x5e7)]===_0x35de81[0x0][_0x3fea0e(0x447)][_0x3fea0e(0x338)][_0x3fea0e(0x5e7)]&&_0x11955a[_0x3fea0e(0x332)]((_0x36400f,_0x16bacb)=>a[_0x3fea0e(0x5a6)]['equals'](_0x36400f[_0x3fea0e(0x3ff)],_0x35de81[0x0]['params']['selections'][_0x16bacb][_0x3fea0e(0x3ff)])))return;this['_injector'][_0x3fea0e(0x2ef)](a[_0x3fea0e(0x587)])['executeCommand'](k[_0x3fea0e(0x23f)]['id'],{'unitId':_0x18d056,'subUnitId':_0x3a0bc7,'selections':_0x11955a});}}};ke=Pn([et(0x0,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),et(0x1,p[_0x29ff00(0x38f)]),et(0x2,a[_0x29ff00(0x37f)])],ke);const ze=a['createIdentifier'](_0x29ff00(0x230));var vi=(_0x39fef5=>(_0x39fef5[_0x39fef5['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x29ff00(0x27d),_0x39fef5[_0x39fef5['OTHER_CLIENTS_EDITING']=0x1]=_0x29ff00(0x574),_0x39fef5))(vi||{});const xt=0x7530,jt='ACTIVE_UNIT_EVENT_CHANNEL';class Un extends a['Disposable']{constructor(){const _0x119cb6=_0x29ff00;super(),I(this,_0x119cb6(0x1e1),a['Tools'][_0x119cb6(0x512)]()),I(this,_0x119cb6(0x4d7),new Set()),I(this,_0x119cb6(0x57c),new Map()),I(this,_0x119cb6(0x3ba),null),I(this,'_clearOtherTimers',new Map()),I(this,_0x119cb6(0x5fc),new Map()),this['_init']();}[_0x29ff00(0x5e6)](){const _0x508635=_0x29ff00;super[_0x508635(0x5e6)](),this[_0x508635(0x66c)]['forEach']((_0x58f607,_0x3d1557)=>this[_0x508635(0x209)](_0x3d1557)),this[_0x508635(0x3ba)]&&window[_0x508635(0x634)](this[_0x508635(0x3ba)]);}[_0x29ff00(0x1ff)](_0x36b855){const _0xbba253=_0x29ff00;return this[_0xbba253(0x4a9)](_0x36b855)[_0xbba253(0x619)](A[_0xbba253(0x484)]());}[_0x29ff00(0x607)](_0x51afed){const _0x10754d=_0x29ff00;this[_0x10754d(0x4d7)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x10754d(0x4d7)]['add'](_0x51afed),this[_0x10754d(0x2aa)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x51afed],'isForwarded':!0x1});}[_0x29ff00(0x270)](_0x13c5cf){const _0x542361=_0x29ff00;this[_0x542361(0x4d7)][_0x542361(0x3dc)](_0x13c5cf),this['_selfUnitIDs'][_0x542361(0x62a)]===0x0&&this[_0x542361(0x3ba)]&&window[_0x542361(0x634)](this[_0x542361(0x3ba)]);}['_init'](){const _0xffb28a=_0x29ff00;this[_0xffb28a(0x665)](a[_0xffb28a(0x372)](A[_0xffb28a(0x61c)](window,'storage')[_0xffb28a(0x58f)](_0x57b045=>{const _0x54f6a1=_0xffb28a;if(_0x57b045[_0x54f6a1(0x425)]!==jt||!_0x57b045[_0x54f6a1(0x67e)])return;const _0x1f9798=JSON[_0x54f6a1(0x1c4)](_0x57b045[_0x54f6a1(0x67e)]);this[_0x54f6a1(0x1c2)](_0x1f9798);}))),window[_0xffb28a(0x246)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0xffb28a(0x4e3)](this[_0xffb28a(0x4d7)])}));}[_0x29ff00(0x1c2)](_0x2a0aa1){const _0x3705dd=_0x29ff00;switch(_0x2a0aa1[_0x3705dd(0x2eb)]){case 0x0:this['_handleJoinEvent'](_0x2a0aa1);break;case 0x1:this[_0x3705dd(0x4d4)](_0x2a0aa1);break;case 0x2:this[_0x3705dd(0x457)](_0x2a0aa1);break;}}['_handleJoinEvent'](_0x72f7a0){const {unitIDs:_0x7b4deb,memberID:_0x23ec5e,isForwarded:_0x27dd86}=_0x72f7a0;_0x7b4deb['forEach'](_0x9a5603=>{const _0x23cb52=_0x2f26;if(!_0x27dd86&&this[_0x23cb52(0x57c)][_0x23cb52(0x38d)](_0x9a5603)&&this[_0x23cb52(0x4a9)](_0x9a5603)['next'](0x1),!this[_0x23cb52(0x57c)][_0x23cb52(0x38d)](_0x9a5603)||!this[_0x23cb52(0x57c)][_0x23cb52(0x2ef)](_0x9a5603)[_0x23cb52(0x38d)](_0x23ec5e)){const _0x5c0d34=this['_unitOnClients'][_0x23cb52(0x2ef)](_0x9a5603)||new Set();_0x5c0d34['add'](_0x23ec5e),this[_0x23cb52(0x57c)][_0x23cb52(0x20a)](_0x9a5603,_0x5c0d34),this['_scheduleClearOtherTimer'](_0x23ec5e);}}),_0x27dd86||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x29ff00(0x24d)](_0x1fd227){const _0x17f71f=_0x29ff00;this[_0x17f71f(0x209)](_0x1fd227);const _0x5ebdf7=window[_0x17f71f(0x34a)](()=>{const _0x56cdef=_0x17f71f;this[_0x56cdef(0x57c)][_0x56cdef(0x3a1)](_0x15e089=>{const _0x245477=_0x56cdef;_0x15e089[_0x245477(0x3dc)](_0x1fd227);});},xt*0x2);this['_clearOtherTimers'][_0x17f71f(0x20a)](_0x1fd227,_0x5ebdf7);}[_0x29ff00(0x209)](_0x3fd807){const _0x4aeef9=_0x29ff00;if(this[_0x4aeef9(0x66c)][_0x4aeef9(0x38d)](_0x3fd807)){const _0x2a4d7e=this[_0x4aeef9(0x66c)][_0x4aeef9(0x2ef)](_0x3fd807);_0x2a4d7e&&window[_0x4aeef9(0x453)](_0x2a4d7e),this[_0x4aeef9(0x66c)][_0x4aeef9(0x20a)](_0x3fd807,null);}}[_0x29ff00(0x4d4)](_0x5d91e7){const _0x20ae62=_0x29ff00,{memberID:_0x1239ab,unitIDs:_0x110a81}=_0x5d91e7;_0x110a81[_0x20ae62(0x3a1)](_0x117d90=>{const _0x21cb8d=_0x20ae62;var _0x43429b;const _0x4fde8d=this['_unitOnClients'][_0x21cb8d(0x2ef)](_0x117d90);_0x4fde8d&&(_0x4fde8d[_0x21cb8d(0x3dc)](_0x1239ab),(_0x43429b=this['_ensureSubject'](_0x117d90))==null||_0x43429b[_0x21cb8d(0x49f)](_0x4fde8d[_0x21cb8d(0x62a)]===0x0?0x0:0x1));}),this[_0x20ae62(0x209)](_0x1239ab);}['_handleHeartbeatEvent'](_0x4adb85){const _0x3a106b=_0x29ff00;this[_0x3a106b(0x24d)](_0x4adb85[_0x3a106b(0x35e)]);}[_0x29ff00(0x2aa)](_0x4e96df){const _0x4f16a1=_0x29ff00;localStorage[_0x4f16a1(0x28e)](jt,JSON[_0x4f16a1(0x65e)](_0x4e96df));}[_0x29ff00(0x610)](){const _0x4f5d35=_0x29ff00;this[_0x4f5d35(0x3ba)]=window[_0x4f5d35(0x2de)](()=>{const _0x49f8ab=_0x4f5d35;this[_0x49f8ab(0x2aa)]({'type':0x2,'memberID':this[_0x49f8ab(0x1e1)]});},xt);}['_ensureSubject'](_0x43b522){const _0x3f99a5=_0x29ff00;return this['_unitStatus']['has'](_0x43b522)||this['_unitStatus'][_0x3f99a5(0x20a)](_0x43b522,new A[(_0x3f99a5(0x26c))](0x0)),this[_0x3f99a5(0x5fc)][_0x3f99a5(0x2ef)](_0x43b522);}}var Mn=Object[_0x29ff00(0x64a)],An=Object['getOwnPropertyDescriptor'],Nn=(_0x411315,_0x2ef8d2,_0x3d5b05,_0x3b8c67)=>{const _0x4711b1=_0x29ff00;for(var _0x23c6a0=_0x3b8c67>0x1?void 0x0:_0x3b8c67?An(_0x2ef8d2,_0x3d5b05):_0x2ef8d2,_0x33c498=_0x411315[_0x4711b1(0x5e7)]-0x1,_0x85cd2f;_0x33c498>=0x0;_0x33c498--)(_0x85cd2f=_0x411315[_0x33c498])&&(_0x23c6a0=(_0x3b8c67?_0x85cd2f(_0x2ef8d2,_0x3d5b05,_0x23c6a0):_0x85cd2f(_0x23c6a0))||_0x23c6a0);return _0x3b8c67&&_0x23c6a0&&Mn(_0x2ef8d2,_0x3d5b05,_0x23c6a0),_0x23c6a0;},tt=(_0x54ed15,_0x5c6552)=>(_0x1bc32a,_0x2736e1)=>_0x5c6552(_0x1bc32a,_0x2736e1,_0x54ed15);let We=class{constructor(_0x413ab4,_0x1d58c9,_0x206033){const _0x4f71f7=_0x29ff00;this['_injector']=_0x413ab4,this[_0x4f71f7(0x449)]=_0x1d58c9,this[_0x4f71f7(0x1cc)]=_0x206033;}['transformStateCache'](_0x9782c6){const _0x21a298=_0x29ff00;this[_0x21a298(0x4b6)](_0x9782c6);}[_0x29ff00(0x5ef)](_0x307627){const _0x4412b5=_0x29ff00,{unitID:_0x32f9f9}=_0x307627,{collaboration:_0x467b9d}=this[_0x4412b5(0x1cc)][_0x4412b5(0x66f)](_0x32f9f9);if(_0x467b9d['length']===0x0)return _0x307627;let _0x16d714=a[_0x4412b5(0x302)]['deepClone'](_0x307627['mutations'][0x0]);for(let _0x38d82c=0x0;_0x38d82c<_0x467b9d[_0x4412b5(0x5e7)];_0x38d82c++){const _0x2d5d54={'id':_0x4412b5(0x356),'params':{'unitId':_0x467b9d[_0x38d82c]['unitId'],..._0x467b9d[_0x38d82c][_0x4412b5(0x44f)]}},_0x290b5f=this[_0x4412b5(0x449)][_0x4412b5(0x43c)](_0x16d714,_0x2d5d54,!0x1);if(p[_0x4412b5(0x4b4)](_0x290b5f))throw _0x290b5f[_0x4412b5(0x27a)];_0x16d714=_0x290b5f[_0x4412b5(0x475)];}return{...a['Tools']['deepClone'](_0x307627),'mutations':[_0x16d714]};}[_0x29ff00(0x4b6)](_0xf20c1b){const _0x41359a=_0x29ff00,{unitID:_0x3147b4}=_0xf20c1b,{history:_0x2db7f4,collaboration:_0xc93e56}=this[_0x41359a(0x1cc)][_0x41359a(0x66f)](_0x3147b4);if(_0x2db7f4[_0x41359a(0x5e7)]===0x0&&_0xc93e56['length']===0x0)return;const _0x54b3cc=[],_0x177771=[];let _0x2d4dc2=a[_0x41359a(0x302)][_0x41359a(0x64e)](_0xf20c1b[_0x41359a(0x219)][0x0]),_0x1fa874=a[_0x41359a(0x302)][_0x41359a(0x64e)](_0xf20c1b[_0x41359a(0x219)][0x0]);for(let _0x12c113=_0x2db7f4[_0x41359a(0x5e7)]-0x1;_0x12c113>=0x0;_0x12c113--){const _0x2d940a={'id':_0x41359a(0x356),'params':{'unitId':_0x2db7f4[_0x12c113]['unitId'],..._0x2db7f4[_0x12c113][_0x41359a(0x1c8)]}},_0x23053a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2db7f4[_0x12c113][_0x41359a(0x21b)],..._0x2db7f4[_0x12c113][_0x41359a(0x44f)]}},_0x37eadf=this[_0x41359a(0x449)]['transformMutation'](_0x2d4dc2,_0x2d940a,!0x1),_0x57c1c8=this['_transformService'][_0x41359a(0x43c)](_0x1fa874,_0x23053a,!0x1);if(p[_0x41359a(0x4b4)](_0x37eadf))throw _0x37eadf[_0x41359a(0x27a)];if(p[_0x41359a(0x4b4)](_0x57c1c8))throw _0x57c1c8[_0x41359a(0x27a)];_0x54b3cc['unshift']({..._0x2db7f4[_0x12c113],'undoState':_0x37eadf[_0x41359a(0x239)][_0x41359a(0x447)],'redoState':_0x57c1c8[_0x41359a(0x239)][_0x41359a(0x447)]}),_0x2d4dc2=_0x37eadf[_0x41359a(0x475)],_0x1fa874=_0x57c1c8[_0x41359a(0x475)];}_0x2d4dc2=a[_0x41359a(0x302)][_0x41359a(0x64e)](_0xf20c1b[_0x41359a(0x219)][0x0]),_0x1fa874=a[_0x41359a(0x302)][_0x41359a(0x64e)](_0xf20c1b[_0x41359a(0x219)][0x0]);for(let _0x4cd462=_0xc93e56['length']-0x1;_0x4cd462>=0x0;_0x4cd462--){const _0x5d6715={'id':_0x41359a(0x356),'params':{'unitId':_0xc93e56[_0x4cd462]['unitId'],..._0xc93e56[_0x4cd462]['undoState']}},_0x44078b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xc93e56[_0x4cd462][_0x41359a(0x21b)],..._0xc93e56[_0x4cd462][_0x41359a(0x44f)]}},_0x1d085e=this['_transformService']['transformMutation'](_0x2d4dc2,_0x5d6715,!0x1),_0x3a0f89=this[_0x41359a(0x449)]['transformMutation'](_0x1fa874,_0x44078b,!0x1);if(p[_0x41359a(0x4b4)](_0x1d085e))throw _0x1d085e[_0x41359a(0x27a)];if(p[_0x41359a(0x4b4)](_0x3a0f89))throw _0x3a0f89[_0x41359a(0x27a)];_0x177771['unshift']({..._0xc93e56[_0x4cd462],'undoState':_0x1d085e[_0x41359a(0x239)][_0x41359a(0x447)],'redoState':_0x3a0f89[_0x41359a(0x239)][_0x41359a(0x447)]}),_0x2d4dc2=_0x1d085e[_0x41359a(0x475)],_0x1fa874=_0x3a0f89['m1Prime'];}this[_0x41359a(0x1cc)][_0x41359a(0x293)](_0x3147b4,{'history':_0x54b3cc,'collaboration':_0x177771});}};We=Nn([tt(0x0,a[_0x29ff00(0x493)](a['Injector'])),tt(0x1,p[_0x29ff00(0x38f)]),tt(0x2,a[_0x29ff00(0x493)](J[_0x29ff00(0x243)]))],We);function Si(_0x687f72){const _0x540f97=_0x29ff00;let _0x304a70='';for(const _0x1c4447 of _0x687f72){const {startOffset:_0x87ac30,endOffset:_0x3f7392,isActive:_0xfff450,rangeType:_0x2e1de2,segmentId:_0x3e568a,segmentPage:_0x399eb8}=_0x1c4447;_0x304a70[_0x540f97(0x5e7)]&&(_0x304a70+=','),_0x304a70+=_0x87ac30+':'+_0x3f7392+':'+(_0xfff450?'1':'0')+':'+_0x2e1de2+':'+_0x3e568a+':'+_0x399eb8;}return _0x304a70;}function Ln(_0x268fd5){const _0x518b07=_0x29ff00,_0x585ec9=_0x268fd5['split'](','),_0x521dfb=[];for(const _0x54084a of _0x585ec9){const [_0x4d6b08,_0x3be196,_0x200cc1,_0x1ffaf9,_0x1e1ba1,_0x1dc926]=_0x54084a[_0x518b07(0x5c0)](':');_0x521dfb[_0x518b07(0x3bc)]({'startOffset':Number(_0x4d6b08),'endOffset':Number(_0x3be196),'collapsed':_0x4d6b08===_0x3be196,'isActive':_0x200cc1==='1','rangeType':_0x1ffaf9===a[_0x518b07(0x380)][_0x518b07(0x4ff)]?a[_0x518b07(0x380)][_0x518b07(0x4ff)]:a[_0x518b07(0x380)][_0x518b07(0x36c)],'segmentId':typeof _0x1e1ba1==_0x518b07(0x291)?String(_0x1e1ba1):'','segmentPage':Number(_0x1dc926!=null?_0x1dc926:-0x1)});}return _0x521dfb[_0x518b07(0x355)](_0x4af847=>_0x4af847[_0x518b07(0x4b8)])||(_0x521dfb[0x0][_0x518b07(0x4b8)]=!0x0),_0x521dfb;}class yt extends a[_0x29ff00(0x4b0)]{constructor(){const _0x249cb4=_0x29ff00;super(...arguments),I(this,'_collabCursorState$',new A[(_0x249cb4(0x26c))](null)),I(this,_0x249cb4(0x41b),this[_0x249cb4(0x483)][_0x249cb4(0x4c6)]());}[_0x29ff00(0x329)](_0x1f9ea7){const _0x53e5d2=_0x29ff00,{unitID:_0x1e6bd1,memberID:_0x24e812,textRanges:_0x329636}=_0x1f9ea7,_0x1e5eee=Si(_0x329636);if(_0x1e5eee==='')return;const _0x1a31b3={'unitID':_0x1e6bd1,'memberID':_0x24e812,'selection':_0x1e5eee};this[_0x53e5d2(0x483)][_0x53e5d2(0x49f)](_0x1a31b3);}}var xn=Object['defineProperty'],jn=Object['getOwnPropertyDescriptor'],$n=(_0x236706,_0x33dfb0,_0x414b8f,_0xb69058)=>{const _0x4d2267=_0x29ff00;for(var _0x26c889=_0xb69058>0x1?void 0x0:_0xb69058?jn(_0x33dfb0,_0x414b8f):_0x33dfb0,_0x4d82d1=_0x236706[_0x4d2267(0x5e7)]-0x1,_0x4df46f;_0x4d82d1>=0x0;_0x4d82d1--)(_0x4df46f=_0x236706[_0x4d82d1])&&(_0x26c889=(_0xb69058?_0x4df46f(_0x33dfb0,_0x414b8f,_0x26c889):_0x4df46f(_0x26c889))||_0x26c889);return _0xb69058&&_0x26c889&&xn(_0x33dfb0,_0x414b8f,_0x26c889),_0x26c889;},$t=(_0x25178c,_0x110db1)=>(_0x424174,_0x2d41dd)=>_0x110db1(_0x424174,_0x2d41dd,_0x25178c);let Fe=class{constructor(_0x38e60b,_0x19bdf7){const _0x20ef29=_0x29ff00;this['_injector']=_0x38e60b,this[_0x20ef29(0x449)]=_0x19bdf7;}[_0x29ff00(0x2c1)](_0x4ae35c){const _0x17eef0=_0x29ff00;var _0x273634;const _0x436221=this[_0x17eef0(0x1c1)][_0x17eef0(0x2ef)](Ie[_0x17eef0(0x64b)]),_0x3f6da5=(_0x273634=_0x436221[_0x17eef0(0x526)]())!=null?_0x273634:[];if(_0x3f6da5[_0x17eef0(0x5e7)]===0x0)return;const _0x586d19=_0x4ae35c[_0x17eef0(0x553)],_0x43ab2b=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x586d19,'actions':null,'textRanges':_0x3f6da5}}],_0x333500=this[_0x17eef0(0x449)]['transformMutationsWithChangeset'](_0x4ae35c,_0x43ab2b);if(!p['isTransformMutationsWithChangesetSuccess'](_0x333500))throw _0x333500[_0x17eef0(0x27a)];const _0x3e1d12=_0x333500['m2Prime'][0x0][_0x17eef0(0x447)][_0x17eef0(0x49e)];Array[_0x17eef0(0x400)](_0x3e1d12)&&_0x3e1d12[_0x17eef0(0x5e7)]&&_0x436221[_0x17eef0(0x308)](_0x3e1d12,{'unitId':_0x586d19,'subUnitId':_0x586d19},!0x1);}};Fe=$n([$t(0x0,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),$t(0x1,p[_0x29ff00(0x38f)])],Fe);const Hn=new Set([k[_0x29ff00(0x672)]['id']]);function Ht(_0xbe1ae6,_0x1c06dc,_0x17ef4c,_0x116dff,_0x2d46f6){const _0x367b4e=_0x29ff00;var _0x26a965,_0x10a046,_0xd380af,_0x2518a3;const _0x310521=[];for(const _0x204de5 of _0xbe1ae6)if(Hn['has'](_0x204de5['id'])){if(_0x310521['length']>0x0)break;_0x310521[_0x367b4e(0x3bc)](_0x204de5);break;}else _0x310521[_0x367b4e(0x3bc)](_0x204de5);const _0x3bb4b6=(_0x10a046=(_0x26a965=_0x2d46f6[_0x367b4e(0x5d8)]())==null?void 0x0:_0x26a965[_0x367b4e(0x52b)])!=null?_0x10a046:'unknown',_0x2c99b1=(_0x2518a3=(_0xd380af=_0x2d46f6[_0x367b4e(0x5d8)]())==null?void 0x0:_0xd380af[_0x367b4e(0x35e)])!=null?_0x2518a3:_0x367b4e(0x1f6);return{'changeset':{'unitID':_0x1c06dc,'type':p['mapDocumentTypeToUniverType'](_0x17ef4c[_0x367b4e(0x2e0)](_0x1c06dc)),'baseRev':_0x116dff[_0x367b4e(0x309)](_0x1c06dc),'revision':0x0,'userID':_0x3bb4b6,'memberID':_0x2c99b1,'mutations':_0x310521},'pendingMutations':_0xbe1ae6[_0x367b4e(0x3bb)](_0x310521[_0x367b4e(0x5e7)])};}function Bn(_0x19ca96,_0x1fcffd,_0x4a5462,_0xd7fc1a,_0x2d17a6){const _0x5d1f8d=_0x29ff00;var _0x2e5a84,_0x5338e2,_0x2ce30c,_0x513299;const _0x453960=[_0x19ca96['reduce']((_0x40525e,_0x35b055)=>{const _0x421736=_0x2f26;var _0x14a598;const {id:_0x428699}=_0x40525e,{id:_0x16ea0e,type:_0x5e6bce}=_0x35b055,_0x251030=(_0x14a598=_0x40525e[_0x421736(0x447)])!=null?_0x14a598:{'actions':null},_0x2a67ed=_0x35b055[_0x421736(0x447)];if(_0x428699&&_0x428699!==_0x16ea0e)throw new Error(_0x421736(0x532)+_0x428699+_0x421736(0x5ae)+_0x16ea0e+'.');return{..._0x40525e,'id':_0x16ea0e,'type':_0x5e6bce,'params':{'unitId':_0x2a67ed[_0x421736(0x21b)],'textRanges':_0x2a67ed[_0x421736(0x49e)],'actions':a[_0x421736(0x60a)][_0x421736(0x53f)](_0x251030['actions'],_0x2a67ed[_0x421736(0x4fc)])}};},{})],_0x2b43ae=(_0x5338e2=(_0x2e5a84=_0x2d17a6['getCurrentUser']())==null?void 0x0:_0x2e5a84[_0x5d1f8d(0x52b)])!=null?_0x5338e2:'unknown',_0x445be1=(_0x513299=(_0x2ce30c=_0x2d17a6['getCurrentUser']())==null?void 0x0:_0x2ce30c[_0x5d1f8d(0x35e)])!=null?_0x513299:_0x5d1f8d(0x1f6);return{'changeset':{'unitID':_0x1fcffd,'type':p[_0x5d1f8d(0x1bb)](_0x4a5462[_0x5d1f8d(0x2e0)](_0x1fcffd)),'baseRev':_0xd7fc1a['getCurrentRevOfUnit'](_0x1fcffd),'revision':0x0,'userID':_0x2b43ae,'memberID':_0x445be1,'mutations':_0x453960},'pendingMutations':[]};}function pi(_0x21182c,_0x4a23ae){const _0x6af775=_0x29ff00,_0x34cf03=new A[(_0x6af775(0x24c))](0x1);return setTimeout(()=>_0x34cf03[_0x6af775(0x49f)](_0x4a23ae),_0x21182c),_0x34cf03['asObservable']()['pipe'](A['take'](0x1));}const kn={'id':k['EmptyMutation']['id'],'type':a['CommandType']['MUTATION'],'params':{}};var Wn=Object[_0x29ff00(0x64a)],Fn=Object[_0x29ff00(0x316)],Ee=(_0x4b0437,_0x486486,_0x10e017,_0x28eb28)=>{for(var _0x14bec6=_0x28eb28>0x1?void 0x0:_0x28eb28?Fn(_0x486486,_0x10e017):_0x486486,_0x2ee05b=_0x4b0437['length']-0x1,_0x304864;_0x2ee05b>=0x0;_0x2ee05b--)(_0x304864=_0x4b0437[_0x2ee05b])&&(_0x14bec6=(_0x28eb28?_0x304864(_0x486486,_0x10e017,_0x14bec6):_0x304864(_0x14bec6))||_0x14bec6);return _0x28eb28&&_0x14bec6&&Wn(_0x486486,_0x10e017,_0x14bec6),_0x14bec6;},N=(_0x51cb22,_0x478f7d)=>(_0x52f600,_0x2edaee)=>_0x478f7d(_0x52f600,_0x2edaee,_0x51cb22),q=(_0x1d2d03=>(_0x1d2d03['NOT_COLLAB']='not_collab',_0x1d2d03['SYNCED']=_0x29ff00(0x1ed),_0x1d2d03[_0x29ff00(0x1c5)]=_0x29ff00(0x496),_0x1d2d03['AWAITING']=_0x29ff00(0x4d6),_0x1d2d03[_0x29ff00(0x290)]='awaiting_with_pending',_0x1d2d03['FETCH_MISS']=_0x29ff00(0x225),_0x1d2d03['CONFLICT']='conflict',_0x1d2d03[_0x29ff00(0x548)]=_0x29ff00(0x4e0),_0x1d2d03))(q||{});const mi=0xea60;class be{constructor(_0x4c3895,_0x538e2c,_0x16d051,_0x22488f,_0x521e92,_0x3ae4b9,_0x55e13f,_0x3ec60c,_0x2be227){const _0xa789a7=_0x29ff00;I(this,'_awaitingChangeset',null),I(this,_0xa789a7(0x32a),[]),(this[_0xa789a7(0x553)]=_0x4c3895,this[_0xa789a7(0x2eb)]=_0x538e2c,this[_0xa789a7(0x467)]=_0x521e92,this['_commandService']=_0x3ae4b9,this[_0xa789a7(0x462)]=_0x55e13f,this[_0xa789a7(0x2a8)]=_0x3ec60c,this['_localCacheService']=_0x2be227,this[_0xa789a7(0x416)]=_0x16d051,this[_0xa789a7(0x32a)]=_0x22488f);}[_0x29ff00(0x3cb)](_0x1c0fa7){const _0x199d3d=_0x29ff00,_0x27cf3e=this[_0x199d3d(0x2a8)][_0x199d3d(0x309)](this['unitID']);return _0x1c0fa7[_0x199d3d(0x5fe)]>_0x27cf3e+0x1?(this[_0x199d3d(0x467)][_0x199d3d(0x203)]({'from':_0x27cf3e,'to':_0x1c0fa7[_0x199d3d(0x5fe)]-0x1}),!0x0):!0x1;}[_0x29ff00(0x4d8)](_0x6b2ccf){const _0x592030=_0x29ff00;this[_0x592030(0x462)][_0x592030(0x2a1)](this[_0x592030(0x553)],_0x6b2ccf);}[_0x29ff00(0x1d4)](_0x308725){const _0x1d333d=_0x29ff00;var _0x19794e,_0x3dd3a1;(_0x3dd3a1=(_0x19794e=this[_0x1d333d(0x467)])[_0x1d333d(0x289)])==null||_0x3dd3a1[_0x1d333d(0x1d5)](_0x19794e,_0x308725);}[_0x29ff00(0x63e)](_0x20e365){const _0x3f68a5=_0x29ff00;var _0x39640f,_0x2b0a20;return(_0x2b0a20=(_0x39640f=this[_0x3f68a5(0x467)])[_0x3f68a5(0x420)])==null?void 0x0:_0x2b0a20[_0x3f68a5(0x1d5)](_0x39640f,_0x20e365);}[_0x29ff00(0x456)](_0x48b385){const _0x400246=_0x29ff00;var _0x3d9a06,_0x5853c8;return(_0x5853c8=(_0x3d9a06=this[_0x400246(0x467)])[_0x400246(0x66d)])==null?void 0x0:_0x5853c8[_0x400246(0x1d5)](_0x3d9a06,_0x48b385);}['_transformRemoteChangesetByIMECache'](_0x32cb17){const _0x4f82b3=_0x29ff00;var _0x1c5dba,_0xb9748c,_0x304b1f;return(_0x304b1f=(_0xb9748c=(_0x1c5dba=this['_handler'])[_0x4f82b3(0x428)])==null?void 0x0:_0xb9748c[_0x4f82b3(0x1d5)](_0x1c5dba,_0x32cb17))!=null?_0x304b1f:_0x32cb17;}['_transformRemoteChangesetByStateCache'](_0x4a32fd){const _0x38c364=_0x29ff00;var _0x9461bd,_0x323670,_0x43e88a;return(_0x43e88a=(_0x323670=(_0x9461bd=this[_0x38c364(0x467)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x323670[_0x38c364(0x1d5)](_0x9461bd,_0x4a32fd))!=null?_0x43e88a:_0x4a32fd;}[_0x29ff00(0x41f)](_0x149f71){const _0x4082b7=_0x29ff00;var _0x36eba6,_0x549bd7;if(this['type']===ne['UNIVER_DOC']){const {unitID:_0x5405ee,mutations:_0x9506c5,memberID:_0x5eb51b}=_0x149f71,_0x353f35=_0x9506c5[0x0][_0x4082b7(0x447)][_0x4082b7(0x49e)];Array[_0x4082b7(0x400)](_0x353f35)&&_0x353f35['length']>0x0&&((_0x549bd7=(_0x36eba6=this[_0x4082b7(0x467)])[_0x4082b7(0x46b)])==null||_0x549bd7[_0x4082b7(0x1d5)](_0x36eba6,{'unitID':_0x5405ee,'memberID':_0x5eb51b,'textRanges':_0x353f35}));}}[_0x29ff00(0x611)](){const _0x6b5dab=_0x29ff00;this[_0x6b5dab(0x34f)][_0x6b5dab(0x4cf)](this[_0x6b5dab(0x553)],this['type'],this[_0x6b5dab(0x416)],this[_0x6b5dab(0x32a)]);}[_0x29ff00(0x1d0)](){const _0x3a839f=_0x29ff00;return this[_0x3a839f(0x2a8)][_0x3a839f(0x309)](this[_0x3a839f(0x553)]);}['_incrementRevisionNumber'](){const _0x3350a8=_0x29ff00;this[_0x3350a8(0x2a8)][_0x3350a8(0x29b)](this[_0x3350a8(0x553)]);}[_0x29ff00(0x3de)](_0x5cab1d){const _0x3910ad=_0x29ff00;var _0x3e31b8;let _0x5ef8d8=this['_transformRemoteChangesetByIMECache'](_0x5cab1d);_0x5ef8d8=this[_0x3910ad(0x2c5)](_0x5ef8d8);const _0x419e90=a[_0x3910ad(0x2f6)](_0x5ef8d8[_0x3910ad(0x219)],this[_0x3910ad(0x5b4)],{'fromCollab':!0x0});if(!_0x419e90[_0x3910ad(0x675)])throw _0x419e90[_0x3910ad(0x27a)]instanceof Error?_0x419e90[_0x3910ad(0x27a)]:new Error((_0x3e31b8=_0x419e90[_0x3910ad(0x27a)])!=null?_0x3e31b8:_0x3910ad(0x368));this['_transformIMECache'](_0x5ef8d8),this[_0x3910ad(0x456)](_0x5ef8d8),this['_transformUndoredo'](_0x5cab1d),this[_0x3910ad(0x1d4)](_0x5ef8d8),this[_0x3910ad(0x41f)](_0x5ef8d8),this[_0x3910ad(0x5c1)]();}}let Oe=class extends be{constructor(_0x1eb08b,_0x54819f,_0x2de96a,_0x4c1390,_0x190da2,_0x21086a,_0x4870d8,_0x44c0a1,_0x397e2f,_0x45bb75){const _0x45be47=_0x29ff00;super(_0x1eb08b,_0x54819f,null,[],_0x2de96a,_0x44c0a1,_0x4870d8,_0x4c1390,_0x190da2),I(this,'status','synced'),(this[_0x45be47(0x1c1)]=_0x21086a,this['_logService']=_0x397e2f,this[_0x45be47(0x449)]=_0x45bb75);}[_0x29ff00(0x5af)](_0x31156f){const _0x56c65a=_0x29ff00,_0x3a040e=this[_0x56c65a(0x1c1)][_0x56c65a(0x527)](ce,this['unitID'],this[_0x56c65a(0x2eb)],[_0x31156f],this[_0x56c65a(0x467)]);return _0x3a040e[_0x56c65a(0x490)](),_0x3a040e[_0x56c65a(0x611)](),_0x3a040e;}[_0x29ff00(0x4c5)](_0x4ef6c1){const _0xdbaa51=_0x29ff00;if(this[_0xdbaa51(0x3cb)](_0x4ef6c1))return this[_0xdbaa51(0x1c1)][_0xdbaa51(0x527)](re,this[_0xdbaa51(0x553)],this[_0xdbaa51(0x2eb)],null,[],null,[_0x4ef6c1],this['_handler']);try{const _0x2d7bf0=this[_0xdbaa51(0x449)][_0xdbaa51(0x268)](_0x4ef6c1,[kn]);if(p[_0xdbaa51(0x5ba)](_0x2d7bf0)){const {c1Prime:_0x285e73}=_0x2d7bf0;return this[_0xdbaa51(0x3de)](_0x285e73),this;}throw _0x2d7bf0[_0xdbaa51(0x27a)];}catch(_0x2fdfd5){return this[_0xdbaa51(0x328)][_0xdbaa51(0x27a)](_0x2fdfd5),this[_0xdbaa51(0x2c4)](!0x1);}}['_onConflict'](_0x41cd83){const _0xa068b4=_0x29ff00;return this[_0xa068b4(0x1c1)][_0xa068b4(0x527)](ve,this[_0xa068b4(0x553)],this[_0xa068b4(0x2eb)],null,[],this[_0xa068b4(0x467)],_0x41cd83);}[_0x29ff00(0x3fb)](){const _0x2450db=_0x29ff00;throw new Error(_0x2450db(0x40b));}[_0x29ff00(0x520)](){const _0x3fac84=_0x29ff00;throw new Error(_0x3fac84(0x454));}[_0x29ff00(0x396)](){return this;}[_0x29ff00(0x2f3)](){const _0x30a258=_0x29ff00;return this[_0x30a258(0x1c1)][_0x30a258(0x527)](Se,this['unitID'],this[_0x30a258(0x2eb)],null,[],this[_0x30a258(0x467)]);}['toggleOnline'](){return this;}[_0x29ff00(0x2d1)](){const _0xff663b=_0x29ff00;throw new Error(_0xff663b(0x2b2));}['fetchMiss'](){const _0x117056=_0x29ff00,_0x14382c=this['_revisionService']['getCurrentRevOfUnit'](this[_0x117056(0x553)]);return this[_0x117056(0x467)][_0x117056(0x203)]({'from':_0x14382c,'to':0x0}),this['_injector'][_0x117056(0x527)](re,this['unitID'],this[_0x117056(0x2eb)],null,[],null,[],this['_handler']);}};Oe=Ee([N(0x3,a[_0x29ff00(0x493)](p['RevisionService'])),N(0x4,a[_0x29ff00(0x493)](exports[_0x29ff00(0x46a)])),N(0x5,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),N(0x6,a[_0x29ff00(0x325)]),N(0x7,a[_0x29ff00(0x587)]),N(0x8,a['ILogService']),N(0x9,p[_0x29ff00(0x38f)])],Oe);let ce=class extends be{constructor(_0x1a0bcd,_0x49385e,_0x130d9f,_0x15ff73,_0x562b8c,_0x20f138,_0x45c695,_0x1e14cc,_0x1b973a,_0x5a7ed5,_0x176165,_0x3e2a93,_0x40e977,_0xa12296){const _0x31c306=_0x29ff00;super(_0x1a0bcd,_0x49385e,null,_0x130d9f,_0x15ff73,_0x5a7ed5,_0xa12296,_0x20f138,_0x45c695),I(this,_0x31c306(0x2be),_0x31c306(0x496)),I(this,_0x31c306(0x42f),null),I(this,_0x31c306(0x4dd),null),(this[_0x31c306(0x1c1)]=_0x562b8c,this[_0x31c306(0x427)]=_0x1e14cc,this[_0x31c306(0x328)]=_0x1b973a,this[_0x31c306(0x4ea)]=_0x176165,this[_0x31c306(0x449)]=_0x3e2a93,this[_0x31c306(0x600)]=_0x40e977);}[_0x29ff00(0x5af)](_0x215bc3){const _0x460d20=_0x29ff00;return this['_pendingMutations'][_0x460d20(0x3bc)](_0x215bc3),this[_0x460d20(0x611)](),this;}['onRemoteChangeset'](_0x1a1269){const _0x38c39e=_0x29ff00;if(this[_0x38c39e(0x3cb)](_0x1a1269))return this[_0x38c39e(0x466)](),this['_injector'][_0x38c39e(0x527)](re,this[_0x38c39e(0x553)],this[_0x38c39e(0x2eb)],null,this['_pendingMutations'],null,[_0x1a1269],this['_handler']);try{const _0xf6b9f2=this[_0x38c39e(0x449)]['transformMutationsWithChangeset'](_0x1a1269,this[_0x38c39e(0x32a)]);if(p['isTransformMutationsWithChangesetSuccess'](_0xf6b9f2)){const {c1Prime:_0x4b6c5a,m2Prime:_0x214bad}=_0xf6b9f2;this[_0x38c39e(0x3de)](_0x4b6c5a);const _0x32e158=this[_0x38c39e(0x1c1)][_0x38c39e(0x527)](ce,this['unitID'],this['type'],_0x214bad,this[_0x38c39e(0x467)]);return this[_0x38c39e(0x466)](),_0x32e158['_schedule'](this['_scheduleTimestamp']?Math['max'](0x0,new Date()[_0x38c39e(0x54f)]()-this[_0x38c39e(0x42f)]):this['_getSendChangesetTimeout']()),_0x32e158;}throw _0xf6b9f2[_0x38c39e(0x27a)];}catch(_0x29fc6d){return this[_0x38c39e(0x328)][_0x38c39e(0x27a)](_0x29fc6d),this[_0x38c39e(0x2c4)](!0x1);}}[_0x29ff00(0x3fb)](){const _0x5347d3=_0x29ff00;throw new Error(_0x5347d3(0x5ac));}[_0x29ff00(0x520)](){const _0x471de7=_0x29ff00;throw new Error(_0x471de7(0x1bd));}[_0x29ff00(0x396)](){return this;}[_0x29ff00(0x2f3)](){const _0x43b663=_0x29ff00;return this['_clearScheduledTask'](),this[_0x43b663(0x1c1)][_0x43b663(0x527)](Se,this[_0x43b663(0x553)],this[_0x43b663(0x2eb)],null,this[_0x43b663(0x32a)],this[_0x43b663(0x467)]);}[_0x29ff00(0x4b5)](){return this;}['_schedule'](_0x1bfa24){const _0x3f1214=_0x29ff00,_0x2b474d=_0x1bfa24!=null?_0x1bfa24:this['_getSendChangesetTimeout']();this[_0x3f1214(0x42f)]=new Date()[_0x3f1214(0x54f)](),this['_sendingTimer']=window[_0x3f1214(0x34a)](()=>{const _0xe24137=_0x3f1214;this['_clearScheduledTask']();let _0x21fffd=null;switch(this['type']){case ne[_0xe24137(0x3d0)]:{_0x21fffd=Ht(this[_0xe24137(0x32a)],this[_0xe24137(0x553)],this[_0xe24137(0x600)],this[_0xe24137(0x2a8)],this['_memberService']);break;}case ne[_0xe24137(0x4f0)]:{this[_0xe24137(0x32a)]['every'](_0x1d0a5e=>_0x1d0a5e['id']===Ie['RichTextEditingMutation']['id'])?_0x21fffd=Bn(this[_0xe24137(0x32a)],this[_0xe24137(0x553)],this[_0xe24137(0x600)],this['_revisionService'],this[_0xe24137(0x427)]):_0x21fffd=Ht(this['_pendingMutations'],this['unitID'],this[_0xe24137(0x600)],this[_0xe24137(0x2a8)],this[_0xe24137(0x427)]);break;}default:throw new Error(_0xe24137(0x450)+this[_0xe24137(0x2eb)]+_0xe24137(0x471));}const {changeset:_0x1fdc9d,pendingMutations:_0x40810d}=_0x21fffd;this[_0xe24137(0x467)][_0xe24137(0x686)](_0x1fdc9d);const _0x472221=_0x40810d['length']?this[_0xe24137(0x1c1)][_0xe24137(0x527)](le,this[_0xe24137(0x553)],this[_0xe24137(0x2eb)],_0x1fdc9d,_0x40810d,this[_0xe24137(0x467)],void 0x0):this['_injector']['createInstance'](fe,this[_0xe24137(0x553)],this[_0xe24137(0x2eb)],_0x1fdc9d,this[_0xe24137(0x467)]);_0x472221[_0xe24137(0x611)](),this[_0xe24137(0x467)][_0xe24137(0x42d)](this,_0x472221);},_0x2b474d);}[_0x29ff00(0x598)](){const _0x2c6550=_0x29ff00;var _0x27e345;const _0x246dc0=this['_configService'][_0x2c6550(0x1ea)](Q);return(_0x27e345=_0x246dc0==null?void 0x0:_0x246dc0['sendChangesetTimeout'])!=null?_0x27e345:Fi;}[_0x29ff00(0x2d1)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x29ff00(0x466)](){const _0x1d9e1b=_0x29ff00;this[_0x1d9e1b(0x4dd)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x1d9e1b(0x4dd)]=null);}[_0x29ff00(0x2c4)](_0x97184){const _0xf24814=_0x29ff00;return this[_0xf24814(0x466)](),this['_injector'][_0xf24814(0x527)](ve,this[_0xf24814(0x553)],this['type'],null,this[_0xf24814(0x32a)],this[_0xf24814(0x467)],_0x97184);}};ce=Ee([N(0x4,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),N(0x5,a[_0x29ff00(0x493)](p[_0x29ff00(0x59a)])),N(0x6,a[_0x29ff00(0x493)](exports[_0x29ff00(0x46a)])),N(0x7,a['Inject'](exports[_0x29ff00(0x1d6)])),N(0x8,a[_0x29ff00(0x4ac)]),N(0x9,a[_0x29ff00(0x587)]),N(0xa,a[_0x29ff00(0x64d)]),N(0xb,p['ITransformService']),N(0xc,a[_0x29ff00(0x37f)]),N(0xd,a[_0x29ff00(0x325)])],ce);let fe=class extends be{constructor(_0x50aee9,_0x447f59,_0x118fc4,_0x338889,_0x6eb3e6,_0x5b91e2,_0x575115,_0x2fda3f,_0x2a6a52,_0x12058c,_0x21f1be){const _0x31f72b=_0x29ff00;super(_0x50aee9,_0x447f59,_0x118fc4,[],_0x338889,_0x2fda3f,_0x21f1be,_0x5b91e2,_0x575115),I(this,_0x31f72b(0x2be),_0x31f72b(0x4d6)),I(this,_0x31f72b(0x66b),0x0),I(this,'_resendTimer'),I(this,_0x31f72b(0x5b0)),(this[_0x31f72b(0x1c1)]=_0x6eb3e6,this[_0x31f72b(0x328)]=_0x2a6a52,this[_0x31f72b(0x449)]=_0x12058c);}[_0x29ff00(0x5af)](_0x5784cd){const _0x44c1f9=_0x29ff00;this['_clearScheduledTask']();const _0x5bfa84=this[_0x44c1f9(0x1c1)][_0x44c1f9(0x527)](le,this[_0x44c1f9(0x553)],this[_0x44c1f9(0x2eb)],this[_0x44c1f9(0x416)],[_0x5784cd],this[_0x44c1f9(0x467)],this[_0x44c1f9(0x4a4)]);return _0x5bfa84[_0x44c1f9(0x611)](),_0x5bfa84;}[_0x29ff00(0x4c5)](_0x3d6fa1){const _0x17bed4=_0x29ff00;if(this[_0x17bed4(0x3cb)](_0x3d6fa1))return this[_0x17bed4(0x466)](),this[_0x17bed4(0x1c1)]['createInstance'](re,this[_0x17bed4(0x553)],this[_0x17bed4(0x2eb)],this[_0x17bed4(0x416)],[],null,[_0x3d6fa1],this['_handler']);try{const _0x183ad5=this[_0x17bed4(0x449)]['transformChangesets']([_0x3d6fa1],[this['_awaitingChangeset']],!0x1);if(p[_0x17bed4(0x4c2)](_0x183ad5)){const {c1Prime:_0x1f23dd,c2Prime:_0x5a3de5}=_0x183ad5;this['_executeRemoteChangeset'](_0x1f23dd[0x0]),_0x5a3de5[0x0][_0x17bed4(0x573)]=this[_0x17bed4(0x1d0)](),this[_0x17bed4(0x466)]();const _0x3fcb2d=this[_0x17bed4(0x1c1)]['createInstance'](fe,this['unitID'],this[_0x17bed4(0x2eb)],_0x5a3de5[0x0],this[_0x17bed4(0x467)]);return _0x3fcb2d[_0x17bed4(0x611)](),_0x3fcb2d;}return this['_onConflict'](!0x1);}catch(_0x19f54f){return this[_0x17bed4(0x328)][_0x17bed4(0x27a)](_0x19f54f),this[_0x17bed4(0x2c4)](!0x1);}}[_0x29ff00(0x3fb)](_0x49da80){const _0x1e609a=_0x29ff00;this[_0x1e609a(0x466)]();const _0x3dfcc2=this[_0x1e609a(0x2a8)][_0x1e609a(0x309)](this[_0x1e609a(0x553)]);if(_0x49da80['revision']<_0x3dfcc2-0x1)return this;if(this[_0x1e609a(0x3cb)](_0x49da80))return this['_injector'][_0x1e609a(0x527)](re,this['unitID'],this[_0x1e609a(0x2eb)],null,[],this['_awaitingChangeset'],[],this[_0x1e609a(0x467)]);this[_0x1e609a(0x5c1)]();const _0x5d4a26=this[_0x1e609a(0x1c1)][_0x1e609a(0x527)](Oe,this['unitID'],this[_0x1e609a(0x2eb)],this[_0x1e609a(0x467)]);return _0x5d4a26['_updateLocalCache'](),_0x5d4a26;}[_0x29ff00(0x520)](_0x127b07){const _0x5926ca=_0x29ff00;return this[_0x5926ca(0x2c4)](!!(_0x127b07!=null&&_0x127b07[_0x5926ca(0x300)]));}['onRemoteRetry'](_0x29ce55){const _0x4b0271=_0x29ff00;return this[_0x4b0271(0x66b)]>mi?this[_0x4b0271(0x2f3)]():(this[_0x4b0271(0x4a4)]=pi(this[_0x4b0271(0x66b)],{'timeout':this['_resendTimeout'],'reqId':_0x29ce55[_0x4b0271(0x44e)]}),this['_sender']=this[_0x4b0271(0x4a4)][_0x4b0271(0x58f)](({reqId:_0x5f1b0d,timeout:_0x5d7e28})=>{const _0x5652be=_0x4b0271;this[_0x5652be(0x5fb)](_0x5f1b0d,_0x5d7e28);}),this);}['toggleOffline'](){const _0x2c06e2=_0x29ff00;return this[_0x2c06e2(0x466)](),this['_injector'][_0x2c06e2(0x527)](Se,this[_0x2c06e2(0x553)],this[_0x2c06e2(0x2eb)],this[_0x2c06e2(0x416)],[],this[_0x2c06e2(0x467)]);}[_0x29ff00(0x4b5)](){return this;}[_0x29ff00(0x2d1)](){const _0x4337e8=_0x29ff00;this['_handler'][_0x4337e8(0x686)](this[_0x4337e8(0x416)]);}[_0x29ff00(0x2c4)](_0x36a77a){const _0xee938=_0x29ff00;return this[_0xee938(0x466)](),this[_0xee938(0x1c1)][_0xee938(0x527)](ve,this[_0xee938(0x553)],this['type'],this[_0xee938(0x416)],[],this[_0xee938(0x467)],_0x36a77a);}[_0x29ff00(0x5fb)](_0x4be28d,_0x2179be){const _0x2fbd67=_0x29ff00;var _0x572b43;_0x4be28d===((_0x572b43=this[_0x2fbd67(0x416)])==null?void 0x0:_0x572b43[_0x2fbd67(0x44e)])&&(this[_0x2fbd67(0x2d1)](),this[_0x2fbd67(0x66b)]=_0x2179be===0x0?0x3e8:_0x2179be*0x2);}['_clearScheduledTask'](){const _0x8adc5b=_0x29ff00;var _0x119d39;(_0x119d39=this[_0x8adc5b(0x5b0)])==null||_0x119d39[_0x8adc5b(0x4eb)](),this[_0x8adc5b(0x66b)]=0x0;}};fe=Ee([N(0x4,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),N(0x5,a[_0x29ff00(0x493)](p['RevisionService'])),N(0x6,a[_0x29ff00(0x493)](exports['LocalCacheService'])),N(0x7,a[_0x29ff00(0x587)]),N(0x8,a['ILogService']),N(0x9,p['ITransformService']),N(0xa,a[_0x29ff00(0x325)])],fe);let le=class extends be{constructor(_0x192728,_0x2419bc,_0x1609ac,_0x29753c,_0x12ccb8,_0xcd4898,_0x4fec84,_0x2238f7,_0x4bd892,_0x3b1e0f,_0x478b12,_0x5f1579,_0x526f5c){const _0x2219ac=_0x29ff00;super(_0x192728,_0x2419bc,_0x1609ac,_0x29753c,_0x12ccb8,_0x3b1e0f,_0x526f5c,_0x2238f7,_0x4bd892),I(this,'status',_0x2219ac(0x4ba)),I(this,_0x2219ac(0x66b),0x0),I(this,_0x2219ac(0x4a4)),I(this,'_sender'),(this[_0x2219ac(0x1c1)]=_0x4fec84,this[_0x2219ac(0x328)]=_0x478b12,this[_0x2219ac(0x449)]=_0x5f1579,_0xcd4898&&(this[_0x2219ac(0x4a4)]=_0xcd4898,this[_0x2219ac(0x5b0)]=this['_resendTimer'][_0x2219ac(0x58f)](({reqId:_0xdc5ba1,timeout:_0x5131d5})=>{const _0x115c4c=_0x2219ac;this[_0x115c4c(0x5fb)](_0xdc5ba1,_0x5131d5);})));}[_0x29ff00(0x5af)](_0x22be83){const _0x6213e2=_0x29ff00;return this[_0x6213e2(0x32a)][_0x6213e2(0x3bc)](_0x22be83),this;}[_0x29ff00(0x4c5)](_0x5cd87d){const _0x57d1f0=_0x29ff00;if(this[_0x57d1f0(0x3cb)](_0x5cd87d))return this[_0x57d1f0(0x466)](),this['_injector'][_0x57d1f0(0x527)](re,this[_0x57d1f0(0x553)],this['type'],this[_0x57d1f0(0x416)],this[_0x57d1f0(0x32a)],null,[_0x5cd87d],this['_handler']);try{const _0x26897b=this[_0x57d1f0(0x449)][_0x57d1f0(0x507)]([_0x5cd87d],[this[_0x57d1f0(0x416)]],!0x1);if(p[_0x57d1f0(0x4c2)](_0x26897b)){const {c1Prime:_0x154565,c2Prime:_0x2d47e9}=_0x26897b,_0x1d8d8e=this['_transformService'][_0x57d1f0(0x268)](_0x154565[0x0],this[_0x57d1f0(0x32a)]);if(p[_0x57d1f0(0x5ba)](_0x1d8d8e)){const {c1Prime:_0x4f490b,m2Prime:_0x29a623}=_0x1d8d8e;return this[_0x57d1f0(0x3de)](_0x4f490b),_0x2d47e9[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x57d1f0(0x1c1)][_0x57d1f0(0x527)](le,this[_0x57d1f0(0x553)],this[_0x57d1f0(0x2eb)],_0x2d47e9[0x0],_0x29a623,this[_0x57d1f0(0x467)],void 0x0);}throw _0x1d8d8e[_0x57d1f0(0x27a)];}throw _0x26897b[_0x57d1f0(0x27a)];}catch(_0x2eadb1){return this[_0x57d1f0(0x328)][_0x57d1f0(0x27a)](_0x2eadb1),this[_0x57d1f0(0x2c4)](!0x1);}}[_0x29ff00(0x3fb)](_0x4866ad){const _0x46a77b=_0x29ff00;if(this[_0x46a77b(0x466)](),this[_0x46a77b(0x3cb)](_0x4866ad))return this[_0x46a77b(0x1c1)][_0x46a77b(0x527)](re,this[_0x46a77b(0x553)],this[_0x46a77b(0x2eb)],null,this[_0x46a77b(0x32a)],this[_0x46a77b(0x416)],[],this[_0x46a77b(0x467)]);this[_0x46a77b(0x5c1)]();const _0x4fadf1=this[_0x46a77b(0x1c1)][_0x46a77b(0x527)](ce,this[_0x46a77b(0x553)],this[_0x46a77b(0x2eb)],this[_0x46a77b(0x32a)],this[_0x46a77b(0x467)]);return _0x4fadf1[_0x46a77b(0x490)](),_0x4fadf1[_0x46a77b(0x611)](),_0x4fadf1;}[_0x29ff00(0x520)](_0x1ec661){const _0x3e8754=_0x29ff00;return this[_0x3e8754(0x2c4)](!!(_0x1ec661!=null&&_0x1ec661['isPermissionRej']));}[_0x29ff00(0x396)](_0x2fea98){const _0x28bd20=_0x29ff00;return this[_0x28bd20(0x66b)]>mi?this[_0x28bd20(0x2f3)]():(this[_0x28bd20(0x4a4)]=pi(this[_0x28bd20(0x66b)],{'timeout':this['_resendTimeout'],'reqId':_0x2fea98[_0x28bd20(0x44e)]}),this['_sender']=this[_0x28bd20(0x4a4)][_0x28bd20(0x58f)](({reqId:_0x565145,timeout:_0x439ba1})=>{const _0x2ad838=_0x28bd20;this[_0x2ad838(0x5fb)](_0x565145,_0x439ba1);}),this);}['toggleOffline'](){const _0x50e7da=_0x29ff00;return this['_clearScheduledTask'](),this[_0x50e7da(0x1c1)][_0x50e7da(0x527)](Se,this[_0x50e7da(0x553)],this[_0x50e7da(0x2eb)],this[_0x50e7da(0x416)],this[_0x50e7da(0x32a)],this['_handler']);}[_0x29ff00(0x4b5)](){return this;}[_0x29ff00(0x2d1)](){const _0x2e4190=_0x29ff00;this[_0x2e4190(0x467)][_0x2e4190(0x686)](this['_awaitingChangeset']);}[_0x29ff00(0x2c4)](_0x3db1d1){const _0x3d1148=_0x29ff00;return this[_0x3d1148(0x466)](),this['_injector']['createInstance'](ve,this[_0x3d1148(0x553)],this[_0x3d1148(0x2eb)],null,this[_0x3d1148(0x32a)],this[_0x3d1148(0x467)],_0x3db1d1);}[_0x29ff00(0x5fb)](_0x1a4de8,_0x86e549){const _0xd81240=_0x29ff00;var _0x51d7d7;_0x1a4de8===((_0x51d7d7=this[_0xd81240(0x416)])==null?void 0x0:_0x51d7d7['reqId'])&&(this[_0xd81240(0x2d1)](),this[_0xd81240(0x66b)]=_0x86e549===0x0?0x3e8:_0x86e549*0x2);}[_0x29ff00(0x466)](){const _0x43e9d2=_0x29ff00;var _0xfbf03f;(_0xfbf03f=this[_0x43e9d2(0x5b0)])==null||_0xfbf03f['unsubscribe'](),this[_0x43e9d2(0x66b)]=0x0;}};le=Ee([N(0x6,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),N(0x7,a['Inject'](p['RevisionService'])),N(0x8,a[_0x29ff00(0x493)](exports[_0x29ff00(0x46a)])),N(0x9,a['ICommandService']),N(0xa,a[_0x29ff00(0x4ac)]),N(0xb,p[_0x29ff00(0x38f)]),N(0xc,a[_0x29ff00(0x325)])],le);let ve=class extends be{constructor(_0x274b2b,_0x16baf5,_0x5f55f9,_0x40e0eb,_0x5e287,_0x3be103=!0x1,_0x3990cf,_0x1a6a2e,_0x4ebc39,_0x148e18,_0x5b3c4a,_0x1857d3,_0x581638){const _0xe47095=_0x29ff00;super(_0x274b2b,_0x16baf5,_0x5f55f9,_0x40e0eb,_0x5e287,_0x1a6a2e,_0x4ebc39,_0x5b3c4a,_0x148e18),I(this,_0xe47095(0x2be),_0xe47095(0x3b4)),(this[_0xe47095(0x535)]=_0x3be103,this[_0xe47095(0x590)]=_0x3990cf,this[_0xe47095(0x20f)]=_0x1857d3,this[_0xe47095(0x612)]=_0x581638,this[_0xe47095(0x47a)](),this[_0xe47095(0x41d)](),this['_disableEditing']());}[_0x29ff00(0x5af)](){return this;}['onRemoteChangeset'](){return this;}[_0x29ff00(0x3fb)](){return this;}[_0x29ff00(0x520)](){return this;}[_0x29ff00(0x396)](){return this;}[_0x29ff00(0x2f3)](){return this;}[_0x29ff00(0x4b5)](){return this;}['resend'](){const _0x20b983=_0x29ff00;throw new Error(_0x20b983(0x276));}[_0x29ff00(0x41d)](){const _0x38d714=_0x29ff00;this['_localCacheService'][_0x38d714(0x4cf)](this['unitID'],this[_0x38d714(0x2eb)],null,[]);}[_0x29ff00(0x47a)](){const _0x39970c=_0x29ff00;this[_0x39970c(0x535)]?this['_notificationService'][_0x39970c(0x318)]({'title':this[_0x39970c(0x20f)]['t'](_0x39970c(0x50a)),'content':this[_0x39970c(0x20f)]['t']('permission.content'),'type':'error','duration':0x0}):this[_0x39970c(0x612)][_0x39970c(0x318)]({'title':this[_0x39970c(0x20f)]['t'](_0x39970c(0x39c)),'content':this[_0x39970c(0x20f)]['t'](_0x39970c(0x54c)),'type':_0x39970c(0x27a),'duration':0x0});}[_0x29ff00(0x677)](){const _0x381029=_0x29ff00;this[_0x381029(0x590)]['updatePermissionPoint'](new k['WorkbookEditablePermission'](this['unitID'])['id'],!0x1);}};ve=Ee([N(0x6,a['Inject'](a[_0x29ff00(0x3d1)])),N(0x7,a[_0x29ff00(0x587)]),N(0x8,a['IUndoRedoService']),N(0x9,a[_0x29ff00(0x493)](exports[_0x29ff00(0x46a)])),N(0xa,a[_0x29ff00(0x493)](p[_0x29ff00(0x59a)])),N(0xb,a[_0x29ff00(0x493)](a['LocaleService'])),N(0xc,te[_0x29ff00(0x351)])],ve);let Se=class extends be{constructor(_0x4981f7,_0xfae497,_0x15103f,_0xdc2e26,_0x28e954,_0x5e99ca,_0x29b50a,_0x3660c2,_0x53d624,_0x217f8f){const _0x33999a=_0x29ff00;super(_0x4981f7,_0xfae497,_0x15103f,_0xdc2e26,_0x28e954,_0x53d624,_0x217f8f,_0x29b50a,_0x3660c2),I(this,_0x33999a(0x2be),_0x33999a(0x4e0)),this[_0x33999a(0x1c1)]=_0x5e99ca;}[_0x29ff00(0x5af)](_0x25ea68){const _0x222f99=_0x29ff00;return this[_0x222f99(0x32a)][_0x222f99(0x3bc)](_0x25ea68),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x169765){const _0x401cd0=_0x29ff00;throw new Error(_0x401cd0(0x3fa));}[_0x29ff00(0x3fb)](){const _0x48df7c=_0x29ff00;throw new Error(_0x48df7c(0x632));}[_0x29ff00(0x520)](){const _0x283769=_0x29ff00;throw new Error(_0x283769(0x487));}[_0x29ff00(0x396)](){return this;}[_0x29ff00(0x2f3)](){return this;}[_0x29ff00(0x4b5)](){const _0xdaa558=_0x29ff00,{_injector:_0xc6e8a,_pendingMutations:_0x575469,_awaitingChangeset:_0x1904b7,unitID:_0x3df2c7,_handler:_0x15ed55,type:_0x38407b}=this,_0x313d20=gi(_0xc6e8a,_0x3df2c7,_0x38407b,_0x1904b7,_0x575469,_0x15ed55);return _0x313d20 instanceof ce?_0x313d20[_0xdaa558(0x490)]():(_0x313d20 instanceof le||_0x313d20 instanceof fe)&&_0x313d20[_0xdaa558(0x2d1)](),_0x313d20;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};Se=Ee([N(0x5,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),N(0x6,a[_0x29ff00(0x493)](p[_0x29ff00(0x59a)])),N(0x7,a['Inject'](exports['LocalCacheService'])),N(0x8,a[_0x29ff00(0x587)]),N(0x9,a['IUndoRedoService'])],Se);let re=class extends be{constructor(_0x411227,_0x4be719,_0x57ea8f,_0x248148,_0x273f24,_0x3a4908,_0x17db0a,_0x422dbe,_0x123b6e,_0xbba7bd,_0x4cfb4d,_0x268369,_0x2b3578,_0x11c508){const _0xb0395=_0x29ff00;super(_0x411227,_0x4be719,_0x57ea8f,_0x248148,_0x17db0a,_0x268369,_0x2b3578,_0x123b6e,_0xbba7bd),I(this,_0xb0395(0x2be),_0xb0395(0x225)),(this[_0xb0395(0x1ce)]=_0x273f24,this[_0xb0395(0x2ca)]=_0x3a4908,this[_0xb0395(0x1c1)]=_0x422dbe,this[_0xb0395(0x328)]=_0x4cfb4d,this['_transformService']=_0x11c508);}['onMissedChangesetFetched'](_0x7970cc){const _0x241b53=_0x29ff00;try{const _0x50c27e=[..._0x7970cc,...this[_0x241b53(0x2ca)]],_0x5dea74=[this[_0x241b53(0x416)]||this[_0x241b53(0x1ce)]]['filter'](_0x31a0af=>!!_0x31a0af);let _0x38db80,_0x1c9166;if(_0x5dea74[_0x241b53(0x5e7)]){const _0x51ece8=this['_transformService'][_0x241b53(0x507)](_0x50c27e,_0x5dea74,!0x1);if(!p['isTransformChangesetsSuccess'](_0x51ece8))throw _0x51ece8[_0x241b53(0x27a)];_0x38db80=_0x51ece8[_0x241b53(0x315)],_0x1c9166=_0x51ece8[_0x241b53(0x4c3)];}else _0x38db80=_0x50c27e,_0x1c9166=[];let _0x40ffcd=this[_0x241b53(0x32a)];_0x38db80[_0x241b53(0x3a1)](_0x258df9=>{const _0xe0b1b3=_0x241b53;let _0x57e478;if(_0x40ffcd[_0xe0b1b3(0x5e7)]){const _0x5974b2=this[_0xe0b1b3(0x449)][_0xe0b1b3(0x268)](_0x258df9,_0x40ffcd);if(!p['isTransformMutationsWithChangesetSuccess'](_0x5974b2))throw _0x5974b2['error'];_0x57e478=_0x5974b2[_0xe0b1b3(0x315)],_0x40ffcd=_0x5974b2[_0xe0b1b3(0x239)];}else _0x57e478=_0x258df9;this[_0xe0b1b3(0x3de)](_0x57e478);}),this[_0x241b53(0x1ce)]&&this[_0x241b53(0x5c1)](),this[_0x241b53(0x416)]&&_0x1c9166[_0x241b53(0x5e7)]&&(_0x1c9166[0x0][_0x241b53(0x573)]=this[_0x241b53(0x1d0)]());let _0xfe1b83;if(this[_0x241b53(0x416)]&&_0x40ffcd[_0x241b53(0x5e7)]!==0x0)_0xfe1b83=this[_0x241b53(0x1c1)]['createInstance'](le,this[_0x241b53(0x553)],this[_0x241b53(0x2eb)],_0x1c9166[0x0],_0x40ffcd,this['_handler'],void 0x0);else{if(this[_0x241b53(0x416)]&&_0x40ffcd[_0x241b53(0x5e7)]===0x0)_0x1c9166[0x0][_0x241b53(0x573)]=this[_0x241b53(0x1d0)](),_0xfe1b83=this[_0x241b53(0x1c1)][_0x241b53(0x527)](fe,this['unitID'],this[_0x241b53(0x2eb)],_0x1c9166[0x0],this[_0x241b53(0x467)]);else{if(_0x40ffcd[_0x241b53(0x5e7)]!==0x0){const _0x46ff36=this['_injector'][_0x241b53(0x527)](ce,this[_0x241b53(0x553)],this[_0x241b53(0x2eb)],_0x40ffcd,this[_0x241b53(0x467)]);_0x46ff36[_0x241b53(0x490)](),_0xfe1b83=_0x46ff36;}else _0xfe1b83=this['_injector']['createInstance'](Oe,this[_0x241b53(0x553)],this[_0x241b53(0x2eb)],this['_handler']);}}return _0xfe1b83[_0x241b53(0x611)](),_0xfe1b83;}catch(_0x5effc5){return this[_0x241b53(0x328)]['error'](_0x241b53(0x4ae),_0x241b53(0x2c6),_0x5effc5),this[_0x241b53(0x1c1)]['createInstance'](ve,this[_0x241b53(0x553)],this[_0x241b53(0x2eb)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x29ff00(0x2d1)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x29ff00(0x5af)](_0xbff9a3){const _0x21c9b9=_0x29ff00;return this[_0x21c9b9(0x32a)][_0x21c9b9(0x3bc)](_0xbff9a3),this;}['onRemoteChangeset'](_0xac903b){const _0x51b26f=_0x29ff00;return this[_0x51b26f(0x2ca)][_0x51b26f(0x3bc)](_0xac903b),this;}['onRemoteAck'](_0x4a4542){const _0x9795f6=_0x29ff00;if(this[_0x9795f6(0x416)])return this['_acknowledgedAwaitingChangeset']=this[_0x9795f6(0x416)],this[_0x9795f6(0x416)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x1b22b8){const _0x573d47=_0x29ff00;return this[_0x573d47(0x2c4)](!!(_0x1b22b8!=null&&_0x1b22b8[_0x573d47(0x300)]));}[_0x29ff00(0x396)](){return this;}[_0x29ff00(0x2f3)](){const _0x14a6f5=_0x29ff00;return this[_0x14a6f5(0x1c1)]['createInstance'](Se,this[_0x14a6f5(0x553)],this[_0x14a6f5(0x2eb)],this[_0x14a6f5(0x416)],this[_0x14a6f5(0x32a)],this[_0x14a6f5(0x467)]);}[_0x29ff00(0x4b5)](){return this;}['_onConflict'](_0x453e53){const _0x84bf73=_0x29ff00;return this[_0x84bf73(0x1c1)]['createInstance'](ve,this[_0x84bf73(0x553)],this['type'],this[_0x84bf73(0x416)],this[_0x84bf73(0x32a)],this[_0x84bf73(0x467)],_0x453e53);}};re=Ee([N(0x7,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),N(0x8,a[_0x29ff00(0x493)](p['RevisionService'])),N(0x9,a[_0x29ff00(0x493)](exports[_0x29ff00(0x46a)])),N(0xa,a[_0x29ff00(0x4ac)]),N(0xb,a[_0x29ff00(0x587)]),N(0xc,a[_0x29ff00(0x325)]),N(0xd,p[_0x29ff00(0x38f)])],re);function gi(_0x15c78c,_0x5e68db,_0x14eea8,_0x1b5f89,_0x45ea5b,_0x4bc5eb){const _0x54876b=_0x29ff00;return _0x1b5f89&&_0x45ea5b[_0x54876b(0x5e7)]?_0x15c78c[_0x54876b(0x527)](le,_0x5e68db,_0x14eea8,_0x1b5f89,_0x45ea5b,_0x4bc5eb,void 0x0):_0x1b5f89?_0x15c78c[_0x54876b(0x527)](fe,_0x5e68db,_0x14eea8,_0x1b5f89,_0x4bc5eb):_0x45ea5b['length']?_0x15c78c[_0x54876b(0x527)](ce,_0x5e68db,_0x14eea8,_0x45ea5b,_0x4bc5eb):_0x15c78c['createInstance'](Oe,_0x5e68db,_0x14eea8,_0x4bc5eb);}var Vn=Object[_0x29ff00(0x64a)],Gn=Object['getOwnPropertyDescriptor'],Ot=(_0x58fba9,_0x1705d8,_0x138832,_0x41f3f7)=>{const _0x266ccb=_0x29ff00;for(var _0x2aa65d=_0x41f3f7>0x1?void 0x0:_0x41f3f7?Gn(_0x1705d8,_0x138832):_0x1705d8,_0x3ed92b=_0x58fba9[_0x266ccb(0x5e7)]-0x1,_0x4a09eb;_0x3ed92b>=0x0;_0x3ed92b--)(_0x4a09eb=_0x58fba9[_0x3ed92b])&&(_0x2aa65d=(_0x41f3f7?_0x4a09eb(_0x1705d8,_0x138832,_0x2aa65d):_0x4a09eb(_0x2aa65d))||_0x2aa65d);return _0x41f3f7&&_0x2aa65d&&Vn(_0x1705d8,_0x138832,_0x2aa65d),_0x2aa65d;},H=(_0x22d736,_0x59a6f0)=>(_0x4fffd9,_0x4823c0)=>_0x59a6f0(_0x4fffd9,_0x4823c0,_0x22d736);exports[_0x29ff00(0x21e)]=class extends a['RxDisposable']{constructor(_0x2833ce,_0x160a5c,_0x4e7378,_0x430d1c,_0x2f5447,_0x5415a7,_0x346243,_0x303cf1,_0x20bd19,_0x3a0dd8,_0x347aac,_0x427877,_0x4457e4){const _0x1047fc=_0x29ff00;super(),I(this,'_state$',new A[(_0x1047fc(0x26c))](null)),I(this,_0x1047fc(0x4bf),this[_0x1047fc(0x36d)][_0x1047fc(0x4c6)]()),I(this,'_state'),I(this,'_collaborationPaused',!0x1),I(this,_0x1047fc(0x3d8),''),I(this,_0x1047fc(0x3b5),0x0),I(this,_0x1047fc(0x405),this[_0x1047fc(0x4bf)]['pipe'](A[_0x1047fc(0x4db)](_0x34648d=>_0x34648d?_0x34648d[_0x1047fc(0x2be)]:q['OFFLINE']),A['shareReplay'](0x1))),I(this,_0x1047fc(0x673),!0x1),I(this,'_remoteChangesetQueue',[]),(this[_0x1047fc(0x553)]=_0x2833ce,this['session']=_0x160a5c,this[_0x1047fc(0x201)]=_0x4e7378,this[_0x1047fc(0x1c1)]=_0x430d1c,this['_localCacheService']=_0x2f5447,this['_compressMutationService']=_0x5415a7,this[_0x1047fc(0x20f)]=_0x346243,this[_0x1047fc(0x2a8)]=_0x303cf1,this[_0x1047fc(0x328)]=_0x20bd19,this['_commandService']=_0x3a0dd8,this['_messageService']=_0x347aac,this[_0x1047fc(0x590)]=_0x427877,this['_singleActiveUnitService']=_0x4457e4);}get[_0x29ff00(0x1d2)](){const _0x253cf1=_0x29ff00;return this[_0x253cf1(0x5d1)];}async[_0x29ff00(0x334)](){const _0x4fac84=_0x29ff00;if(this[_0x4fac84(0x1d2)])throw new Error(_0x4fac84(0x4d3));await this[_0x4fac84(0x5c4)]();}[_0x29ff00(0x304)](){const _0x4a32dc=_0x29ff00;return this[_0x4a32dc(0x2a4)]=!0x0,a['toDisposable'](()=>{const _0x58c8eb=_0x4a32dc;this['_collaborationPaused']=!0x1,this[_0x58c8eb(0x21c)]();});}[_0x29ff00(0x1f0)](_0x5d43b3){const _0x4d5731=_0x29ff00;this['_state']=_0x5d43b3,this['_state$'][_0x4d5731(0x49f)](_0x5d43b3);}async[_0x29ff00(0x5c4)](){const _0x2ef1db=_0x29ff00;var _0x591a96;this[_0x2ef1db(0x1f0)](await this[_0x2ef1db(0x269)]()),this[_0x2ef1db(0x2d5)]&&((_0x591a96=this[_0x2ef1db(0x2d5)])==null||_0x591a96['editingUnit'](this[_0x2ef1db(0x553)]),this['disposeWithMe'](this[_0x2ef1db(0x2d5)][_0x2ef1db(0x1ff)](this[_0x2ef1db(0x553)])[_0x2ef1db(0x58f)](_0x468bf6=>{const _0x564c84=_0x2ef1db;this[_0x564c84(0x328)][_0x564c84(0x226)](_0x564c84(0x502),_0x564c84(0x5e2),_0x468bf6),_0x468bf6===vi['OTHER_CLIENTS_EDITING']?(this[_0x564c84(0x47e)][_0x564c84(0x318)]({'content':this['_localeService']['t'](_0x564c84(0x3c1)),'type':Ce[_0x564c84(0x506)]['Warning']}),this[_0x564c84(0x590)][_0x564c84(0x366)](new k[(_0x564c84(0x58d))](this[_0x564c84(0x553)])['id'],!0x1),this[_0x564c84(0x590)][_0x564c84(0x357)](!0x1)):(this[_0x564c84(0x590)]['updatePermissionPoint'](new k[(_0x564c84(0x58d))](this[_0x564c84(0x553)])['id'],!0x0),this[_0x564c84(0x590)]['setShowComponents'](!0x0));})));let _0xb824b=!0x1;return this['disposeWithMe'](this[_0x2ef1db(0x257)]['sessionStatus$']['subscribe'](_0x52fb5f=>{const _0x1ad996=_0x2ef1db;_0x52fb5f===se['ONLINE']?this['_toggleOnline'](_0xb824b):_0x52fb5f===se[_0x1ad996(0x548)]&&(_0xb824b=!0x0,this[_0x1ad996(0x223)]());})),this['disposeWithMe'](this[_0x2ef1db(0x257)][_0x2ef1db(0x48a)][_0x2ef1db(0x58f)](_0x590954=>{const _0x3d26d6=_0x2ef1db;try{switch(_0x590954[_0x3d26d6(0x55b)]){case p[_0x3d26d6(0x259)][_0x3d26d6(0x402)]:{this[_0x3d26d6(0x212)](p[_0x3d26d6(0x608)](_0x590954['data']));break;}case p['CollaborationEvent'][_0x3d26d6(0x249)]:{this['_onRemoteACK'](_0x590954[_0x3d26d6(0x3eb)]);break;}case p['CollaborationEvent'][_0x3d26d6(0x55a)]:{this[_0x3d26d6(0x480)]();break;}case p[_0x3d26d6(0x259)]['CHANGESET_SHOULD_RETRY']:{this[_0x3d26d6(0x4be)](_0x590954[_0x3d26d6(0x3eb)]);break;}case p[_0x3d26d6(0x259)][_0x3d26d6(0x4e6)]:{this[_0x3d26d6(0x28b)](_0x590954['data'][_0x3d26d6(0x684)][_0x3d26d6(0x4db)](_0x10ed70=>p['parseProtocolChangeset'](_0x10ed70)));break;}case p[_0x3d26d6(0x259)][_0x3d26d6(0x4f1)]:this[_0x3d26d6(0x480)]({'isPermissionRej':!0x0});}}catch(_0x3047a3){throw console[_0x3d26d6(0x27a)]('Error\x20on\x20receiving\x20event',_0x3047a3),_0x3047a3;}})),this['_state'];}[_0x29ff00(0x652)](){this['_transitionLocked']=!0x1;}[_0x29ff00(0x531)](){const _0x3337c7=_0x29ff00;if(this[_0x3337c7(0x673)])throw new Error(_0x3337c7(0x340));this[_0x3337c7(0x673)]=!0x0;}[_0x29ff00(0x65a)](_0x2d1265){const _0x8ad526=_0x29ff00;this[_0x8ad526(0x531)](),this[_0x8ad526(0x1f0)](this[_0x8ad526(0x5d1)]['appendMutation'](_0x2d1265)),this[_0x8ad526(0x652)]();}[_0x29ff00(0x212)](_0x545890){const _0x48ecab=_0x29ff00;if(!(_0x545890[_0x48ecab(0x5fe)]<=this[_0x48ecab(0x2a8)][_0x48ecab(0x309)](this[_0x48ecab(0x553)]))){if(this[_0x48ecab(0x2a4)]){this[_0x48ecab(0x4e8)]['push'](_0x545890);return;}this[_0x48ecab(0x65b)](_0x545890);}}[_0x29ff00(0x21c)](){const _0x39aced=_0x29ff00;this[_0x39aced(0x4e8)][_0x39aced(0x3a1)](_0x3e31b6=>this[_0x39aced(0x65b)](_0x3e31b6)),this[_0x39aced(0x4e8)]=[];}[_0x29ff00(0x65b)](_0x10dc7c){const _0x1b1f00=_0x29ff00,_0xfdc15=this[_0x1b1f00(0x5f5)]['interceptor'][_0x1b1f00(0x5f0)](this[_0x1b1f00(0x5f5)][_0x1b1f00(0x48d)]['getInterceptPoints']()[_0x1b1f00(0x56b)])(_0x10dc7c[_0x1b1f00(0x219)],null)||_0x10dc7c[_0x1b1f00(0x219)],_0x585e2e={..._0x10dc7c,'mutations':_0xfdc15};this['_lockTransition'](),this['_updateState'](this[_0x1b1f00(0x5d1)][_0x1b1f00(0x4c5)](_0x585e2e)),this['_unlockTransition']();}[_0x29ff00(0x2a9)](_0x2da6fe){const _0x41dc0e=_0x29ff00;this['_lockTransition'](),this[_0x41dc0e(0x1f0)](this[_0x41dc0e(0x5d1)][_0x41dc0e(0x3fb)](_0x2da6fe)),this[_0x41dc0e(0x652)]();}[_0x29ff00(0x480)](_0x514e1c){const _0x20a084=_0x29ff00;this[_0x20a084(0x531)](),this[_0x20a084(0x1f0)](this['_state'][_0x20a084(0x520)](_0x514e1c)),this['_unlockTransition']();}[_0x29ff00(0x4be)](_0x3024fd){const _0x3f4642=_0x29ff00;this['_lockTransition'](),this['_updateState'](this[_0x3f4642(0x5d1)][_0x3f4642(0x396)](_0x3024fd)),this[_0x3f4642(0x652)]();}[_0x29ff00(0x28b)](_0x30f4f9){const _0x3a1fa5=_0x29ff00;if(!(this[_0x3a1fa5(0x5d1)]instanceof re))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x11196e=_0x30f4f9['map'](_0x4d1992=>{const _0x15dd66=_0x3a1fa5,_0x28ec67=this[_0x15dd66(0x5f5)]['interceptor']['fetchThroughInterceptors'](this[_0x15dd66(0x5f5)]['interceptor'][_0x15dd66(0x5f4)]()[_0x15dd66(0x56b)])(_0x4d1992[_0x15dd66(0x219)],null)||_0x4d1992[_0x15dd66(0x219)];return{..._0x4d1992,'mutations':_0x28ec67};});this[_0x3a1fa5(0x531)](),this[_0x3a1fa5(0x1f0)](this[_0x3a1fa5(0x5d1)][_0x3a1fa5(0x584)](_0x11196e)),this[_0x3a1fa5(0x652)]();}[_0x29ff00(0x223)](){const _0x19b900=_0x29ff00;this['_lockTransition'](),this[_0x19b900(0x1f0)](this[_0x19b900(0x5d1)][_0x19b900(0x2f3)]()),this[_0x19b900(0x652)]();}[_0x29ff00(0x5d4)](_0x50cfb5=!0x1){const _0x184b21=_0x29ff00;this['_lockTransition'](),this['_updateState'](this[_0x184b21(0x5d1)]['toggleOnline']()),this['_unlockTransition']();const _0x3cd8b1=this[_0x184b21(0x5d1)];_0x50cfb5&&_0x3cd8b1 instanceof Oe&&(this[_0x184b21(0x531)](),this[_0x184b21(0x1f0)](_0x3cd8b1['fetchMiss']()),this[_0x184b21(0x652)]());}async['_createInitialState'](){return new Promise(_0x50074b=>{const _0x3e4404=_0x2f26;this['session'][_0x3e4404(0x299)]['pipe'](A[_0x3e4404(0x3d7)](0x1))[_0x3e4404(0x58f)](async _0x408361=>{const _0x1196df=_0x3e4404;_0x50074b(await this[_0x1196df(0x319)](_0x408361===se[_0x1196df(0x572)]));});});}[_0x29ff00(0x2a3)](){const _0xc131cc=_0x29ff00,_0x49b60e=this[_0xc131cc(0x553)];return{'onStateChange':(_0x1f1143,_0x35c35f)=>{const _0x4583b3=_0xc131cc;if(_0x1f1143!==this[_0x4583b3(0x5d1)])throw new Error(_0x4583b3(0x389)+_0x1f1143[_0x4583b3(0x2be)]+'\x0aAfter:\x20'+_0x35c35f[_0x4583b3(0x2be)]+_0x4583b3(0x33e)+this[_0x4583b3(0x5d1)]['status']);this[_0x4583b3(0x1f0)](_0x35c35f);},'onSendChangeset':_0x1ceaa0=>{const _0x42f0df=_0xc131cc;_0x1ceaa0[_0x42f0df(0x585)]||(_0x1ceaa0['sid']=this[_0x42f0df(0x3d8)],_0x1ceaa0[_0x42f0df(0x44e)]=++this['_changesetReqId']);const _0x331243={'eventID':p[_0x42f0df(0x259)][_0x42f0df(0x2c8)],'data':{'unitID':_0x1ceaa0[_0x42f0df(0x553)],'unitType':this[_0x42f0df(0x201)],'changeset':_0x1ceaa0,'memberID':this[_0x42f0df(0x257)][_0x42f0df(0x40a)]()}};this[_0x42f0df(0x257)][_0x42f0df(0x385)](_0x331243,this[_0x42f0df(0x553)]);},'onMissingChangesets':({from:_0x1f4820,to:_0x384e91})=>{const _0x4339a6=_0xc131cc;this['_logService'][_0x4339a6(0x226)](_0x4339a6(0x502),_0x4339a6(0x4e4)+_0x1f4820+_0x4339a6(0x446)+_0x384e91);const _0x3b7798={'eventID':p[_0x4339a6(0x259)][_0x4339a6(0x414)],'data':{'unitID':_0x49b60e,'unitType':this[_0x4339a6(0x201)],'from':_0x1f4820,'to':_0x384e91}};this['session']['send'](_0x3b7798,this[_0x4339a6(0x553)]);}};}async[_0x29ff00(0x319)](_0x2104c2){const _0x4c94e1=_0x29ff00;var _0x3e71e6,_0x1f7181;const _0x2e1505=await this['_localCacheService'][_0x4c94e1(0x26d)](this[_0x4c94e1(0x553)]),_0x4888f4=(_0x3e71e6=_0x2e1505==null?void 0x0:_0x2e1505[_0x4c94e1(0x219)])!=null?_0x3e71e6:[],_0xcb74de=(_0x1f7181=_0x2e1505==null?void 0x0:_0x2e1505[_0x4c94e1(0x247)])!=null?_0x1f7181:null,_0x467acb=!!(_0xcb74de!=null&&_0xcb74de[_0x4c94e1(0x585)])&&!!(_0xcb74de!=null&&_0xcb74de[_0x4c94e1(0x44e)]);this['_changesetSessionId']=_0x467acb?_0xcb74de['sid']:In(),this['_changesetReqId']=_0x467acb?_0xcb74de[_0x4c94e1(0x44e)]:0x0;const _0x5b7926=this[_0x4c94e1(0x553)];try{this[_0x4c94e1(0x680)](_0xcb74de,_0x4888f4);}catch(_0x410a20){this[_0x4c94e1(0x328)][_0x4c94e1(0x27a)](_0x410a20);}const _0x27a4de=this[_0x4c94e1(0x2a3)]();if(_0x2104c2){const _0x38fecd=gi(this[_0x4c94e1(0x1c1)],_0x5b7926,this[_0x4c94e1(0x201)],_0xcb74de,_0x4888f4,_0x27a4de);return _0x38fecd instanceof ce?_0x38fecd[_0x4c94e1(0x490)]():(_0x38fecd instanceof le||_0x38fecd instanceof fe)&&_0x38fecd['resend'](),_0x38fecd;}return this['_injector'][_0x4c94e1(0x527)](Se,_0x5b7926,this['_type'],_0xcb74de,_0x4888f4,_0x27a4de);}[_0x29ff00(0x680)](_0x4324ec,_0xc36787){const _0x2c33ce=_0x29ff00;var _0x29ca63,_0x5edd86;const _0x2709e6=this[_0x2c33ce(0x5f5)]['interceptor']['fetchThroughInterceptors'](this[_0x2c33ce(0x5f5)]['interceptor']['getInterceptPoints']()[_0x2c33ce(0x56b)]);(_0x29ca63=_0x2709e6((_0x4324ec==null?void 0x0:_0x4324ec[_0x2c33ce(0x219)])||[],null))==null||_0x29ca63[_0x2c33ce(0x3a1)](_0x1aea94=>this[_0x2c33ce(0x5b4)]['executeCommand'](_0x1aea94['id'],_0x1aea94[_0x2c33ce(0x447)])),(_0x5edd86=_0x2709e6(_0xc36787||[],null))==null||_0x5edd86[_0x2c33ce(0x3a1)](_0x34f8e2=>this[_0x2c33ce(0x5b4)][_0x2c33ce(0x645)](_0x34f8e2['id'],_0x34f8e2[_0x2c33ce(0x447)]));}},exports[_0x29ff00(0x21e)]=Ot([H(0x3,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),H(0x4,a[_0x29ff00(0x493)](exports[_0x29ff00(0x46a)])),H(0x5,a[_0x29ff00(0x493)](p[_0x29ff00(0x31b)])),H(0x6,a['Inject'](a[_0x29ff00(0x430)])),H(0x7,a[_0x29ff00(0x493)](p[_0x29ff00(0x59a)])),H(0x8,a[_0x29ff00(0x4ac)]),H(0x9,a['ICommandService']),H(0xa,te[_0x29ff00(0x47f)]),H(0xb,a[_0x29ff00(0x3d1)]),H(0xc,a[_0x29ff00(0x437)](ze))],exports[_0x29ff00(0x21e)]),exports[_0x29ff00(0x5dd)]=class extends exports['CollaborationEntity']{constructor(_0x8c973c,_0x424c0a,_0x16e92f,_0x2fa510,_0x231082,_0x5836a9,_0x5f0b98,_0x24401e,_0x3a7ecf,_0x1e2d26,_0x4776ed,_0x5e2454,_0x1c91bd,_0x57590e,_0xb9bf2b,_0x185eab,_0x288ee9,_0x182037){const _0x57341b=_0x29ff00;super(_0x8c973c,_0x16e92f,_0x424c0a,_0x2fa510,_0x231082,_0x5836a9,_0x5f0b98,_0x24401e,_0x57590e,_0xb9bf2b,_0x185eab,_0x288ee9,_0x182037),this[_0x57341b(0x553)]=_0x8c973c,this['type']=_0x424c0a,this[_0x57341b(0x1cc)]=_0x3a7ecf,this[_0x57341b(0x2ed)]=_0x1e2d26,this[_0x57341b(0x5eb)]=_0x4776ed,this[_0x57341b(0x330)]=_0x5e2454,this['_docSyncEditingCollabCursorService']=_0x1c91bd;}[_0x29ff00(0x2a3)](){const _0x20ff1c=_0x29ff00,_0x532888=super['_createHandler']();return _0x532888[_0x20ff1c(0x420)]=_0x25ad31=>this[_0x20ff1c(0x2ed)]['transformIMECache'](_0x25ad31),_0x532888['onTransformState']=_0x2d6233=>this[_0x20ff1c(0x5eb)][_0x20ff1c(0x46f)](_0x2d6233),_0x532888['onTransformSelections']=_0x145c90=>this[_0x20ff1c(0x330)][_0x20ff1c(0x2c1)](_0x145c90),_0x532888[_0x20ff1c(0x46b)]=_0x56b722=>this[_0x20ff1c(0x1f7)][_0x20ff1c(0x329)](_0x56b722),_0x532888['onTransformRemoteChangesetByIMECache']=_0x2c5a17=>this['_docTransformIMECacheService'][_0x20ff1c(0x5ef)](_0x2c5a17),_0x532888['onTransformRemoteChangesetByStateCache']=_0x1023ba=>this[_0x20ff1c(0x5eb)]['transformRemoteChangeset'](_0x1023ba),_0x532888;}async[_0x29ff00(0x5c4)](){const _0x73d7d6=_0x29ff00,_0x462d98=await super['_init']();return this[_0x73d7d6(0x665)](this[_0x73d7d6(0x1cc)]['docStateChange$'][_0x73d7d6(0x619)](A[_0x73d7d6(0x264)](this['dispose$']))['subscribe'](_0x37543f=>{const _0x2a254b=_0x73d7d6;if(_0x37543f==null)return;const {unitId:_0x1c94a4,redoState:_0x2fc778,commandId:_0x40a3b0}=_0x37543f;if(_0x1c94a4!==this['unitID'])return;const _0x118cef={'id':_0x40a3b0,'type':a[_0x2a254b(0x688)][_0x2a254b(0x501)],'params':{'unitId':_0x1c94a4,'actions':_0x2fc778[_0x2a254b(0x4fc)],'textRanges':null}};this[_0x2a254b(0x65a)](_0x118cef);})),this['disposeWithMe'](this[_0x73d7d6(0x5b4)][_0x73d7d6(0x3f0)]((_0x328fbc,_0x26ec82)=>{const _0x2bd4d4=_0x73d7d6;if(_0x328fbc[_0x2bd4d4(0x2eb)]!==a[_0x2bd4d4(0x688)]['MUTATION']||_0x26ec82!=null&&_0x26ec82[_0x2bd4d4(0x2ea)]||_0x26ec82!=null&&_0x26ec82[_0x2bd4d4(0x205)]||_0x328fbc['id']===Ie[_0x2bd4d4(0x344)]['id'])return;const _0xe80703=_0x328fbc[_0x2bd4d4(0x447)];if((_0xe80703==null?void 0x0:_0xe80703['unitId'])!==this['unitID'])return;const _0x506afa=_0x328fbc,_0x2ff636=this[_0x2bd4d4(0x5f5)][_0x2bd4d4(0x48d)][_0x2bd4d4(0x5f0)](this[_0x2bd4d4(0x5f5)][_0x2bd4d4(0x48d)][_0x2bd4d4(0x5f4)]()[_0x2bd4d4(0x57f)])([_0x506afa],null)||[_0x506afa];this['_onLocalMutation'](_0x2ff636[0x0]);})),_0x462d98;}},exports['DocCollaborationEntity']=Ot([H(0x3,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),H(0x4,a['Inject'](exports[_0x29ff00(0x46a)])),H(0x5,a[_0x29ff00(0x493)](p[_0x29ff00(0x31b)])),H(0x6,a[_0x29ff00(0x493)](a[_0x29ff00(0x430)])),H(0x7,a['Inject'](p[_0x29ff00(0x59a)])),H(0x8,a[_0x29ff00(0x493)](J['DocStateChangeManagerService'])),H(0x9,a[_0x29ff00(0x493)](Be)),H(0xa,a[_0x29ff00(0x493)](We)),H(0xb,a[_0x29ff00(0x493)](Fe)),H(0xc,a[_0x29ff00(0x493)](yt)),H(0xd,a[_0x29ff00(0x4ac)]),H(0xe,a['ICommandService']),H(0xf,te['IMessageService']),H(0x10,a[_0x29ff00(0x3d1)]),H(0x11,a[_0x29ff00(0x437)](ze))],exports[_0x29ff00(0x5dd)]),exports['SheetCollaborationEntity']=class extends exports[_0x29ff00(0x21e)]{constructor(_0x572828,_0x176339,_0x2ff00,_0x347df6,_0x3defdc,_0x525edd,_0x495dcb,_0x5b3b78,_0x4f85fd,_0xb954f8,_0x31277d,_0x5c90d2,_0x3ecd55,_0x1c6b3a){const _0x3c8dc8=_0x29ff00;super(_0x572828,_0x2ff00,_0x176339,_0x347df6,_0x3defdc,_0x525edd,_0x495dcb,_0x5b3b78,_0xb954f8,_0x31277d,_0x5c90d2,_0x3ecd55,_0x1c6b3a),this[_0x3c8dc8(0x553)]=_0x572828,this['type']=_0x176339,this[_0x3c8dc8(0x4df)]=_0x4f85fd;}['_createHandler'](){const _0x41209a=_0x29ff00,_0xc49e7e=super[_0x41209a(0x2a3)]();return _0xc49e7e[_0x41209a(0x289)]=_0x38b6f1=>this['_sheetTransformSelectionsService'][_0x41209a(0x2c1)](_0x38b6f1),_0xc49e7e;}async['_init'](){const _0x20126d=_0x29ff00,_0xc095bb=await super['_init']();return this[_0x20126d(0x665)](this[_0x20126d(0x5b4)][_0x20126d(0x3f0)]((_0x1d764e,_0x53d194)=>{const _0x3818b4=_0x20126d;if(_0x1d764e[_0x3818b4(0x2eb)]!==a[_0x3818b4(0x688)]['MUTATION']||_0x53d194!=null&&_0x53d194[_0x3818b4(0x2ea)]||_0x53d194!=null&&_0x53d194[_0x3818b4(0x205)])return;const _0x422768=_0x1d764e[_0x3818b4(0x447)];if((_0x422768==null?void 0x0:_0x422768[_0x3818b4(0x21b)])!==this[_0x3818b4(0x553)])return;const _0x50fa92=_0x1d764e,_0xcb9060=this[_0x3818b4(0x5f5)]['interceptor'][_0x3818b4(0x5f0)](this['_compressMutationService'][_0x3818b4(0x48d)]['getInterceptPoints']()[_0x3818b4(0x57f)])([_0x50fa92],null)||[_0x50fa92];this['_onLocalMutation'](_0xcb9060[0x0]);})),_0xc095bb;}},exports[_0x29ff00(0x5cd)]=Ot([H(0x3,a['Inject'](a[_0x29ff00(0x615)])),H(0x4,a[_0x29ff00(0x493)](exports[_0x29ff00(0x46a)])),H(0x5,a[_0x29ff00(0x493)](p[_0x29ff00(0x31b)])),H(0x6,a[_0x29ff00(0x493)](a[_0x29ff00(0x430)])),H(0x7,a['Inject'](p[_0x29ff00(0x59a)])),H(0x8,a['Inject'](ke)),H(0x9,a[_0x29ff00(0x4ac)]),H(0xa,a[_0x29ff00(0x587)]),H(0xb,te[_0x29ff00(0x47f)]),H(0xc,a['IPermissionService']),H(0xd,a['Optional'](ze))],exports[_0x29ff00(0x5cd)]);var Yn=Object[_0x29ff00(0x64a)],Kn=Object['getOwnPropertyDescriptor'],qn=(_0x5db910,_0x5ef03e,_0x3b3cb6,_0xd372f1)=>{const _0x39828b=_0x29ff00;for(var _0x1a784f=_0xd372f1>0x1?void 0x0:_0xd372f1?Kn(_0x5ef03e,_0x3b3cb6):_0x5ef03e,_0x42d3cc=_0x5db910[_0x39828b(0x5e7)]-0x1,_0xa4d0ed;_0x42d3cc>=0x0;_0x42d3cc--)(_0xa4d0ed=_0x5db910[_0x42d3cc])&&(_0x1a784f=(_0xd372f1?_0xa4d0ed(_0x5ef03e,_0x3b3cb6,_0x1a784f):_0xa4d0ed(_0x1a784f))||_0x1a784f);return _0xd372f1&&_0x1a784f&&Yn(_0x5ef03e,_0x3b3cb6,_0x1a784f),_0x1a784f;},it=(_0x51545e,_0x3d2ae7)=>(_0x1af94e,_0x3b7fe5)=>_0x3d2ae7(_0x1af94e,_0x3b7fe5,_0x51545e);exports['CollaborationController']=class extends a['RxDisposable']{constructor(_0x30aca5,_0x1d0196,_0x403a3e){const _0x33b534=_0x29ff00;super(),I(this,_0x33b534(0x221),new Map()),I(this,_0x33b534(0x23b),new A[(_0x33b534(0x534))]()),(this['_injector']=_0x30aca5,this[_0x33b534(0x653)]=_0x1d0196,this[_0x33b534(0x600)]=_0x403a3e,this[_0x33b534(0x5c4)]());}['dispose'](){const _0x227e53=_0x29ff00;super[_0x227e53(0x5e6)](),this[_0x227e53(0x221)][_0x227e53(0x3a1)](_0x13d72e=>_0x13d72e['dispose']()),this[_0x227e53(0x221)]['clear']();}[_0x29ff00(0x55f)](_0x14703f){const _0x479e27=_0x29ff00;var _0x1dfe32;return(_0x1dfe32=this[_0x479e27(0x221)][_0x479e27(0x2ef)](_0x14703f))!=null?_0x1dfe32:null;}[_0x29ff00(0x388)](_0x3a4b09){const _0xe7e556=_0x29ff00,_0x5c9441=this[_0xe7e556(0x55f)](_0x3a4b09);return _0x5c9441?A['of'](_0x5c9441):this[_0xe7e556(0x23b)][_0xe7e556(0x619)](V[_0xe7e556(0x604)](_0x51994f=>_0x51994f[_0xe7e556(0x553)]===_0x3a4b09));}[_0x29ff00(0x5c4)](){const _0xa202e7=_0x29ff00;this[_0xa202e7(0x600)][_0xa202e7(0x460)](a['UniverInstanceType'][_0xa202e7(0x3d0)])['pipe'](A[_0xa202e7(0x264)](this[_0xa202e7(0x2b6)]),V[_0xa202e7(0x3bd)](0x10))[_0xa202e7(0x58f)](async _0x4e9243=>{const _0x14b4e8=_0xa202e7,_0x29830f=_0x4e9243[_0x14b4e8(0x621)](),_0x38bbf2=await this[_0x14b4e8(0x500)](_0x29830f,ne['UNIVER_SHEET']);this['_entities'][_0x14b4e8(0x20a)](_0x29830f,_0x38bbf2);}),this[_0xa202e7(0x600)][_0xa202e7(0x460)](a[_0xa202e7(0x5ce)][_0xa202e7(0x4f0)])[_0xa202e7(0x619)](A[_0xa202e7(0x264)](this[_0xa202e7(0x2b6)]),V[_0xa202e7(0x3bd)](0x10))[_0xa202e7(0x619)](V[_0xa202e7(0x604)](_0x16b6cb=>!_0x16b6cb[_0xa202e7(0x621)]()[_0xa202e7(0x66a)]('__')))[_0xa202e7(0x58f)](async _0x1a6cd1=>{const _0x17f0e1=_0xa202e7,_0x4ff208=_0x1a6cd1[_0x17f0e1(0x621)](),_0x1f80ed=await this[_0x17f0e1(0x500)](_0x4ff208,ne[_0x17f0e1(0x4f0)]);this[_0x17f0e1(0x221)]['set'](_0x4ff208,_0x1f80ed);}),A[_0xa202e7(0x5ed)](this['_univerInstanceService'][_0xa202e7(0x365)](a[_0xa202e7(0x5ce)][_0xa202e7(0x3d0)]),this[_0xa202e7(0x600)][_0xa202e7(0x365)](a['UniverInstanceType'][_0xa202e7(0x4f0)]))[_0xa202e7(0x619)](A[_0xa202e7(0x264)](this[_0xa202e7(0x2b6)]))[_0xa202e7(0x58f)](_0x143754=>{const _0xeedd2=_0xa202e7,_0x50b74b=_0x143754[_0xeedd2(0x621)](),_0x5a1b1e=this['_entities'][_0xeedd2(0x2ef)](_0x50b74b);_0x5a1b1e&&(_0x5a1b1e[_0xeedd2(0x5e6)](),this[_0xeedd2(0x221)][_0xeedd2(0x3dc)](_0x50b74b));});}async['_startCollaboration'](_0x353db0,_0x1e7c5e){const _0x263b0c=_0x29ff00,_0x3c4baa=await this[_0x263b0c(0x653)]['requireSession'](_0x353db0),_0x149bbe=this[_0x263b0c(0x1c1)][_0x263b0c(0x527)](this[_0x263b0c(0x47b)](_0x1e7c5e),_0x353db0,_0x1e7c5e,_0x3c4baa);return await _0x149bbe[_0x263b0c(0x334)](),this[_0x263b0c(0x23b)][_0x263b0c(0x49f)](_0x149bbe),_0x149bbe;}[_0x29ff00(0x47b)](_0x3bcdd2){const _0x36a95b=_0x29ff00;switch(_0x3bcdd2){case ne[_0x36a95b(0x4f0)]:return exports['DocCollaborationEntity'];case ne[_0x36a95b(0x3d0)]:return exports[_0x36a95b(0x5cd)];default:throw new Error(_0x36a95b(0x4fb)+_0x3bcdd2);}}},exports[_0x29ff00(0x323)]=qn([it(0x0,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),it(0x1,a[_0x29ff00(0x493)](exports['CollaborationSessionService'])),it(0x2,a['IUniverInstanceService'])],exports[_0x29ff00(0x323)]);var zn=Object[_0x29ff00(0x64a)],Xn=Object[_0x29ff00(0x316)],Jn=(_0x691a60,_0x18168a,_0x3a2ae0,_0x5316ed)=>{const _0x5cb4a0=_0x29ff00;for(var _0x4fb858=_0x5316ed>0x1?void 0x0:_0x5316ed?Xn(_0x18168a,_0x3a2ae0):_0x18168a,_0x4379de=_0x691a60[_0x5cb4a0(0x5e7)]-0x1,_0x4233e0;_0x4379de>=0x0;_0x4379de--)(_0x4233e0=_0x691a60[_0x4379de])&&(_0x4fb858=(_0x5316ed?_0x4233e0(_0x18168a,_0x3a2ae0,_0x4fb858):_0x4233e0(_0x4fb858))||_0x4fb858);return _0x5316ed&&_0x4fb858&&zn(_0x18168a,_0x3a2ae0,_0x4fb858),_0x4fb858;},Bt=(_0x16ad59,_0x2478cb)=>(_0x39d78e,_0x45a125)=>_0x2478cb(_0x39d78e,_0x45a125,_0x16ad59);let Ve=class extends a[_0x29ff00(0x4b0)]{constructor(_0x637dd5,_0x22b9c3){const _0x1344e0=_0x29ff00;super(),this[_0x1344e0(0x51e)]=_0x637dd5,this[_0x1344e0(0x433)]=_0x22b9c3,this['_init']();}['_init'](){const _0x12dac7=_0x29ff00,_0x41faea=this;this[_0x12dac7(0x665)](this[_0x12dac7(0x51e)][_0x12dac7(0x586)]({'onBeforePasteImage':async _0x162c36=>{const _0x41eaf1=_0x12dac7,_0x496761=await _0x41faea[_0x41eaf1(0x433)][_0x41eaf1(0x3f6)](_0x162c36);return _0x496761?{'source':_0x496761[_0x41eaf1(0x214)],'imageSourceType':_0x496761[_0x41eaf1(0x248)]}:null;}}));}};Ve=Jn([Bt(0x0,J[_0x29ff00(0x222)]),Bt(0x1,ie[_0x29ff00(0x509)])],Ve);const kt=[_0x29ff00(0x2b9),_0x29ff00(0x333),_0x29ff00(0x46d),'red300',_0x29ff00(0x362),_0x29ff00(0x1f5)];class Dt extends a[_0x29ff00(0x331)]{constructor(){const _0x408b51=_0x29ff00;super(...arguments),I(this,'_assignedColors',new Map()),I(this,_0x408b51(0x668),0x0);}[_0x29ff00(0x255)](_0x4a0403){const _0x4b46f5=_0x29ff00;if(this[_0x4b46f5(0x67f)][_0x4b46f5(0x38d)](_0x4a0403))return this['_assignedColors'][_0x4b46f5(0x2ef)](_0x4a0403);const _0x391d74=kt[this['_colorIndex']];return this[_0x4b46f5(0x668)]=(this[_0x4b46f5(0x668)]+0x1)%kt[_0x4b46f5(0x5e7)],this['_assignedColors'][_0x4b46f5(0x20a)](_0x4a0403,_0x391d74),_0x391d74;}}var Zn=Object['defineProperty'],Qn=Object[_0x29ff00(0x316)],es=(_0x3e5b2e,_0xdab1f8,_0xfb0ff3,_0x152f39)=>{const _0x34b3cf=_0x29ff00;for(var _0x31afd2=_0x152f39>0x1?void 0x0:_0x152f39?Qn(_0xdab1f8,_0xfb0ff3):_0xdab1f8,_0x2b230b=_0x3e5b2e[_0x34b3cf(0x5e7)]-0x1,_0x4908ce;_0x2b230b>=0x0;_0x2b230b--)(_0x4908ce=_0x3e5b2e[_0x2b230b])&&(_0x31afd2=(_0x152f39?_0x4908ce(_0xdab1f8,_0xfb0ff3,_0x31afd2):_0x4908ce(_0x31afd2))||_0x31afd2);return _0x152f39&&_0x31afd2&&Zn(_0xdab1f8,_0xfb0ff3,_0x31afd2),_0x31afd2;},me=(_0x3297cf,_0x20c8a2)=>(_0x149733,_0x478241)=>_0x20c8a2(_0x149733,_0x478241,_0x3297cf);const ts=0x12c,is=0x64;let pt=class extends a[_0x29ff00(0x4b0)]{constructor(_0xfa4228,_0x5c7009,_0x2e0e7b,_0x2c5356,_0x4ec6af,_0x203397,_0x48dfd9,_0xc30461,_0x33d35d){const _0x3dfdf0=_0x29ff00;super(),I(this,_0x3dfdf0(0x35c),!0x1),I(this,_0x3dfdf0(0x5c4),!0x1),I(this,_0x3dfdf0(0x278),new A[(_0x3dfdf0(0x26c))](new Map())),I(this,_0x3dfdf0(0x36e),this[_0x3dfdf0(0x278)][_0x3dfdf0(0x4c6)]()),I(this,'_roomMembers$',new A[(_0x3dfdf0(0x26c))]([])),I(this,_0x3dfdf0(0x647),this[_0x3dfdf0(0x5e9)][_0x3dfdf0(0x619)](A[_0x3dfdf0(0x54d)](ts))),I(this,'_updateLocalCursor',a[_0x3dfdf0(0x242)](_0x1ee67a=>{const _0x17a37f=_0x3dfdf0,_0x4cbeb6={'eventID':p[_0x17a37f(0x259)][_0x17a37f(0x435)],'data':{'unitID':this['unitID'],'memberID':this[_0x17a37f(0x37d)][_0x17a37f(0x40a)](),'selection':Si(_0x1ee67a)}};this['_session']['send'](_0x4cbeb6,this[_0x17a37f(0x553)]);},is)),(this[_0x3dfdf0(0x553)]=_0xfa4228,this[_0x3dfdf0(0x37d)]=_0x5c7009,this[_0x3dfdf0(0x1c1)]=_0x2e0e7b,this[_0x3dfdf0(0x4e1)]=_0x2c5356,this['_memberService']=_0x4ec6af,this['_syncEditingCollabCursorService']=_0x203397,this['_transformService']=_0x48dfd9,this['_univerInstanceService']=_0xc30461,this[_0x3dfdf0(0x5b4)]=_0x33d35d);}get[_0x29ff00(0x3ec)](){const _0x37d75b=_0x29ff00;return this[_0x37d75b(0x278)][_0x37d75b(0x42e)]();}get[_0x29ff00(0x25e)](){const _0x3dd6ad=_0x29ff00;return this[_0x3dd6ad(0x5e9)][_0x3dd6ad(0x42e)]();}['dispose'](){const _0x47ece9=_0x29ff00;super[_0x47ece9(0x5e6)](),this[_0x47ece9(0x278)][_0x47ece9(0x49f)](new Map()),this[_0x47ece9(0x278)][_0x47ece9(0x22e)](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x47ece9(0x22e)]();}[_0x29ff00(0x334)](){const _0x5bd68f=_0x29ff00;this[_0x5bd68f(0x5c4)]||(this[_0x5bd68f(0x5c4)]=!0x0,this['_session'][_0x5bd68f(0x299)][_0x5bd68f(0x619)](A[_0x5bd68f(0x264)](this[_0x5bd68f(0x2b6)]))[_0x5bd68f(0x58f)](_0xbed8c4=>{const _0x348f3a=_0x5bd68f;_0xbed8c4===se[_0x348f3a(0x572)]?this['_toggleOnline']():this[_0x348f3a(0x223)]();}),this[_0x5bd68f(0x37d)][_0x5bd68f(0x48a)]['pipe'](A[_0x5bd68f(0x264)](this['dispose$']))[_0x5bd68f(0x58f)](_0x470648=>{const _0x3c00d9=_0x5bd68f,_0x8b80c8=_0x470648['eventID'];_0x8b80c8===p[_0x3c00d9(0x259)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x470648),_0x8b80c8===p[_0x3c00d9(0x259)][_0x3c00d9(0x5a1)]&&this['_onCursorDelete'](_0x470648);}),this[_0x5bd68f(0x665)](this[_0x5bd68f(0x5b4)][_0x5bd68f(0x3f0)](_0x515e41=>{const _0x1462df=_0x5bd68f,_0x508fca=_0x515e41[_0x1462df(0x447)];_0x508fca!=null&&this['_online']&&_0x515e41['id']===Ie[_0x1462df(0x592)]['id']&&_0x508fca[_0x1462df(0x21b)]===this[_0x1462df(0x553)]&&_0x508fca[_0x1462df(0x640)]===!0x1&&_0x508fca[_0x1462df(0x476)][_0x1462df(0x5e7)]>0x0&&this['_updateLocalCursor'](_0x508fca[_0x1462df(0x476)]);})),this[_0x5bd68f(0x1b5)][_0x5bd68f(0x41b)][_0x5bd68f(0x619)](A[_0x5bd68f(0x264)](this['dispose$']))[_0x5bd68f(0x58f)](_0x23a7a1=>{const _0x11b134=_0x5bd68f;if((_0x23a7a1==null?void 0x0:_0x23a7a1[_0x11b134(0x553)])!==this['unitID'])return;const _0xd04743={'eventID':p[_0x11b134(0x259)][_0x11b134(0x435)],'data':_0x23a7a1};this['_onCursorUpdate'](_0xd04743);}),this[_0x5bd68f(0x665)](this[_0x5bd68f(0x5b4)]['onCommandExecuted'](_0x574c18=>{const _0x201f7d=_0x5bd68f;if(_0x574c18[_0x201f7d(0x447)]==null)return;const _0x4fe055=_0x574c18[_0x201f7d(0x447)];if(_0x574c18['id']!==Ie[_0x201f7d(0x344)]['id']||_0x4fe055[_0x201f7d(0x21b)]!==this[_0x201f7d(0x553)])return;const _0x33b065={'id':_0x201f7d(0x356),'params':_0x4fe055},_0x2d6737=this[_0x201f7d(0x3ec)];for(const [_0x1557ba,_0x10394e]of _0x2d6737){const _0x35ad38={'id':_0x201f7d(0x356),'params':{'unitId':this[_0x201f7d(0x553)],'actions':null,'textRanges':_0x10394e['ranges']}},_0x2a61e4=this[_0x201f7d(0x449)][_0x201f7d(0x43c)](_0x33b065,_0x35ad38,!0x1);if(p[_0x201f7d(0x4b4)](_0x2a61e4))throw _0x2a61e4[_0x201f7d(0x27a)];_0x2d6737[_0x201f7d(0x20a)](_0x1557ba,{..._0x10394e,'ranges':_0x2a61e4[_0x201f7d(0x239)][_0x201f7d(0x447)][_0x201f7d(0x49e)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x2d6737);});})));}[_0x29ff00(0x1e3)](_0x3052d3){const _0x2a43ff=_0x29ff00;var _0x122d0d,_0x13e0b2;const {memberID:_0x27bef0,selection:_0x1f5707}=_0x3052d3[_0x2a43ff(0x3eb)],_0x49bfac=Ln(_0x1f5707),_0x557a99=(_0x13e0b2=(_0x122d0d=this['_memberService'][_0x2a43ff(0x5b8)](this[_0x2a43ff(0x553)],_0x27bef0))==null?void 0x0:_0x122d0d[_0x2a43ff(0x2cd)])!=null?_0x13e0b2:_0x2a43ff(0x27c),_0x33d238={'color':this[_0x2a43ff(0x4e1)][_0x2a43ff(0x255)](_0x27bef0),'name':_0x557a99,'ranges':_0x49bfac},_0x57be45=this['cursorInfo'];_0x57be45[_0x2a43ff(0x20a)](_0x27bef0,_0x33d238),this[_0x2a43ff(0x278)][_0x2a43ff(0x49f)](_0x57be45);}[_0x29ff00(0x22f)](_0x209e83){const _0x381f82=_0x29ff00,{memberID:_0x35b913}=_0x209e83[_0x381f82(0x3eb)],_0x44321b=this[_0x381f82(0x3ec)];_0x44321b[_0x381f82(0x3dc)](_0x35b913),this[_0x381f82(0x278)][_0x381f82(0x49f)](_0x44321b);}[_0x29ff00(0x5d4)](){const _0x5b7c49=_0x29ff00;var _0x2f2491;if(this[_0x5b7c49(0x35c)]=!0x0,((_0x2f2491=this[_0x5b7c49(0x600)][_0x5b7c49(0x498)]())==null?void 0x0:_0x2f2491[_0x5b7c49(0x621)]())!==this[_0x5b7c49(0x553)])return;const _0x3249e5=this[_0x5b7c49(0x1c1)][_0x5b7c49(0x2ef)](Ie['DocSelectionManagerService'])[_0x5b7c49(0x526)]();Array['isArray'](_0x3249e5)&&_0x3249e5[_0x5b7c49(0x5e7)]>0x0&&this[_0x5b7c49(0x660)](_0x3249e5);}[_0x29ff00(0x223)](){const _0x517ecd=_0x29ff00;this[_0x517ecd(0x35c)]=!0x1;}};pt=es([me(0x2,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),me(0x3,a[_0x29ff00(0x493)](Dt)),me(0x4,a[_0x29ff00(0x493)](exports[_0x29ff00(0x1d6)])),me(0x5,a[_0x29ff00(0x493)](yt)),me(0x6,p[_0x29ff00(0x38f)]),me(0x7,a[_0x29ff00(0x37f)]),me(0x8,a[_0x29ff00(0x587)])],pt);var ns=Object[_0x29ff00(0x64a)],ss=Object[_0x29ff00(0x316)],rs=(_0x39965a,_0x297a1c,_0x40f2e9,_0x34f85f)=>{const _0x30fb04=_0x29ff00;for(var _0x277712=_0x34f85f>0x1?void 0x0:_0x34f85f?ss(_0x297a1c,_0x40f2e9):_0x297a1c,_0x7fad71=_0x39965a[_0x30fb04(0x5e7)]-0x1,_0x5b4c25;_0x7fad71>=0x0;_0x7fad71--)(_0x5b4c25=_0x39965a[_0x7fad71])&&(_0x277712=(_0x34f85f?_0x5b4c25(_0x297a1c,_0x40f2e9,_0x277712):_0x5b4c25(_0x277712))||_0x277712);return _0x34f85f&&_0x277712&&ns(_0x297a1c,_0x40f2e9,_0x277712),_0x277712;},Te=(_0x29e2fe,_0x40b285)=>(_0x2e5836,_0xb9a60f)=>_0x40b285(_0x2e5836,_0xb9a60f,_0x29e2fe);const os=0x12c,as=0x64,cs=()=>{let _0x2fcba5=[],_0x505757=!0x1;return _0x18c09b=>{const _0x54c478=_0x2f26;_0x2fcba5[_0x54c478(0x3bc)](_0x18c09b),_0x505757||(_0x505757=!0x0,setTimeout(()=>{const _0x1c5127=_0x54c478;_0x2fcba5[_0x1c5127(0x3a1)](_0x502270=>_0x502270()),_0x2fcba5=[],_0x505757=!0x1;}));};};let mt=class extends a[_0x29ff00(0x4b0)]{constructor(_0x239abf,_0x5ab5c8,_0x3f4781,_0x541b62,_0x206d1a,_0x2be6e8,_0x4d15c5,_0x492dcf){const _0xed67b0=_0x29ff00;super(),I(this,_0xed67b0(0x35c),!0x1),I(this,_0xed67b0(0x5c4),!0x1),I(this,'_cursorInfo$',new A[(_0xed67b0(0x26c))](new Map())),I(this,_0xed67b0(0x36e),this[_0xed67b0(0x278)]['asObservable']()),I(this,'_roomMembers$',new A[(_0xed67b0(0x26c))]([])),I(this,_0xed67b0(0x647),this['_roomMembers$'][_0xed67b0(0x619)](A['debounceTime'](os))),I(this,_0xed67b0(0x660),a[_0xed67b0(0x242)]((_0x2d7279,_0x4b0bba)=>{const _0x3d6c81=_0xed67b0,_0x26de76={'eventID':p[_0x3d6c81(0x259)][_0x3d6c81(0x435)],'data':{'unitID':this[_0x3d6c81(0x553)],'memberID':this['_session'][_0x3d6c81(0x40a)](),'selection':Mt[_0x3d6c81(0x562)](_0x2d7279,_0x4b0bba[_0x3d6c81(0x3ff)])}};this[_0x3d6c81(0x37d)]['send'](_0x26de76,this['unitID']);},as)),(this[_0xed67b0(0x553)]=_0x239abf,this[_0xed67b0(0x37d)]=_0x5ab5c8,this[_0xed67b0(0x1c1)]=_0x3f4781,this[_0xed67b0(0x4e1)]=_0x541b62,this[_0xed67b0(0x427)]=_0x206d1a,this[_0xed67b0(0x600)]=_0x2be6e8,this[_0xed67b0(0x5b4)]=_0x4d15c5,this[_0xed67b0(0x2e5)]=_0x492dcf);}get[_0x29ff00(0x3ec)](){const _0x5e0805=_0x29ff00;return this['_cursorInfo$'][_0x5e0805(0x42e)]();}get[_0x29ff00(0x25e)](){const _0x115400=_0x29ff00;return this[_0x115400(0x5e9)]['getValue']();}[_0x29ff00(0x5e6)](){const _0x4134b0=_0x29ff00;super[_0x4134b0(0x5e6)](),this[_0x4134b0(0x278)]['next'](new Map()),this[_0x4134b0(0x278)][_0x4134b0(0x22e)](),this[_0x4134b0(0x5e9)][_0x4134b0(0x49f)]([]),this[_0x4134b0(0x5e9)][_0x4134b0(0x22e)]();}[_0x29ff00(0x334)](){const _0x17f8cb=_0x29ff00;this[_0x17f8cb(0x5c4)]||(this[_0x17f8cb(0x5c4)]=!0x0,this[_0x17f8cb(0x37d)][_0x17f8cb(0x299)][_0x17f8cb(0x619)](A['takeUntil'](this[_0x17f8cb(0x2b6)]))['subscribe'](_0x4a7253=>{const _0x55c98e=_0x17f8cb;_0x4a7253===se[_0x55c98e(0x572)]?this[_0x55c98e(0x5d4)]():this[_0x55c98e(0x223)]();}),this[_0x17f8cb(0x37d)]['event$']['pipe'](A[_0x17f8cb(0x264)](this['dispose$']))[_0x17f8cb(0x58f)](_0x5eba2c=>{const _0x3e0c62=_0x17f8cb,_0x5f3f09=_0x5eba2c[_0x3e0c62(0x55b)];_0x5f3f09===p[_0x3e0c62(0x259)][_0x3e0c62(0x435)]&&this[_0x3e0c62(0x1e3)](_0x5eba2c),_0x5f3f09===p[_0x3e0c62(0x259)][_0x3e0c62(0x5a1)]&&this['_onCursorDelete'](_0x5eba2c);}),this[_0x17f8cb(0x347)](),this[_0x17f8cb(0x665)](this[_0x17f8cb(0x5b4)][_0x17f8cb(0x3f0)](_0x1f217f=>{const _0x4843b6=_0x17f8cb;if(this[_0x4843b6(0x35c)]&&_0x1f217f['id']===k['SetSelectionsOperation']['id']&&_0x1f217f[_0x4843b6(0x447)]['unitId']===this['unitID']){const _0x1da2a2=_0x1f217f[_0x4843b6(0x447)];this[_0x4843b6(0x660)](_0x1da2a2[_0x4843b6(0x3da)],_0x1da2a2[_0x4843b6(0x338)][0x0]);}})));}[_0x29ff00(0x1e3)](_0x129d17){const _0x38b612=_0x29ff00;var _0x2e2425,_0x19f0ee;const {memberID:_0x51b1a1,selection:_0x582c0c}=_0x129d17[_0x38b612(0x3eb)],{sheetName:_0x2c21f2,range:_0x4d3c60}=Mt[_0x38b612(0x54b)](_0x582c0c),_0xbad939={'name':(_0x19f0ee=(_0x2e2425=this[_0x38b612(0x427)][_0x38b612(0x5b8)](this[_0x38b612(0x553)],_0x51b1a1))==null?void 0x0:_0x2e2425[_0x38b612(0x2cd)])!=null?_0x19f0ee:_0x38b612(0x27c),'range':this['_getMergeRange'](_0x2c21f2,_0x4d3c60),'sheetID':_0x2c21f2,'color':this[_0x38b612(0x4e1)][_0x38b612(0x255)](_0x51b1a1),'selection':_0x582c0c},_0x462d5a=this[_0x38b612(0x3ec)];_0x462d5a[_0x38b612(0x20a)](_0x51b1a1,_0xbad939),this[_0x38b612(0x278)][_0x38b612(0x49f)](_0x462d5a);}[_0x29ff00(0x22f)](_0x2ec1d3){const _0x45d964=_0x29ff00,{memberID:_0x230324}=_0x2ec1d3[_0x45d964(0x3eb)],_0x71e8cd=this[_0x45d964(0x3ec)];_0x71e8cd[_0x45d964(0x3dc)](_0x230324),this[_0x45d964(0x278)][_0x45d964(0x49f)](_0x71e8cd);}[_0x29ff00(0x21d)](_0x2e877d,_0x51e7e9){const _0x368b7b=_0x29ff00;var _0xe9e8bb,_0x28170a;const _0x3ef6fb=(_0x28170a=(_0xe9e8bb=this[_0x368b7b(0x600)][_0x368b7b(0x463)](this[_0x368b7b(0x553)]))==null?void 0x0:_0xe9e8bb[_0x368b7b(0x50c)](_0x2e877d))==null?void 0x0:_0x28170a[_0x368b7b(0x547)]();return(_0x3ef6fb==null?void 0x0:_0x3ef6fb[_0x368b7b(0x58b)](_0x422e6a=>a[_0x368b7b(0x5a6)][_0x368b7b(0x373)](_0x422e6a,_0x51e7e9)))||_0x51e7e9;}[_0x29ff00(0x347)](){const _0x288be2=_0x29ff00,_0x232265=new a[(_0x288be2(0x546))](),_0x5a44d9=cs(),_0x7d1134=()=>{const _0x51d4ec=_0x288be2;_0x232265[_0x51d4ec(0x5e6)]();const _0x740e44=(_0x2f55cc,_0x23be84,_0x11b1b2,_0x315891)=>{const _0x1afb9d=_0x51d4ec;let _0x518b3f=[];switch(_0x2f55cc['id']){case k[_0x1afb9d(0x411)]['DeleteRangeMoveLeftCommandId']:{_0x518b3f=k[_0x1afb9d(0x236)](_0x2f55cc,_0x315891);break;}case k[_0x1afb9d(0x411)][_0x1afb9d(0x5c5)]:{_0x518b3f=k['handleDeleteRangeMoveUp'](_0x2f55cc,_0x315891);break;}case k[_0x1afb9d(0x411)][_0x1afb9d(0x661)]:{_0x518b3f=k['handleInsertCol'](_0x2f55cc,_0x315891);break;}case k['EffectRefRangId'][_0x1afb9d(0x3a5)]:{_0x518b3f=k['handleInsertRangeMoveDown'](_0x2f55cc,_0x315891);break;}case k[_0x1afb9d(0x411)][_0x1afb9d(0x667)]:{_0x518b3f=k['handleInsertRangeMoveRight'](_0x2f55cc,_0x315891);break;}case k[_0x1afb9d(0x411)]['InsertRowCommandId']:{_0x518b3f=k[_0x1afb9d(0x59b)](_0x2f55cc,_0x315891);break;}case k[_0x1afb9d(0x411)][_0x1afb9d(0x26a)]:{_0x518b3f=k[_0x1afb9d(0x2fc)](_0x2f55cc,_0x315891);break;}case k['EffectRefRangId'][_0x1afb9d(0x413)]:{_0x518b3f=k[_0x1afb9d(0x20b)](_0x2f55cc,_0x315891);break;}case k[_0x1afb9d(0x411)][_0x1afb9d(0x51c)]:{_0x518b3f=k[_0x1afb9d(0x5e8)](_0x2f55cc,_0x315891);break;}}const _0x278a5f=k[_0x1afb9d(0x415)](_0x518b3f,_0x315891),_0x136ade=this['cursorInfo'][_0x1afb9d(0x2ef)](_0x23be84);if(_0x136ade&&_0x278a5f){const _0x4ba5a8={..._0x136ade,'range':_0x278a5f};this['cursorInfo'][_0x1afb9d(0x20a)](_0x23be84,_0x4ba5a8),_0x5a44d9(()=>{const _0x45ec86=_0x1afb9d,_0x5e8b14=this['_refRangeService'][_0x45ec86(0x2e9)](_0x278a5f,_0x22733f=>(_0x5e8b14[_0x45ec86(0x5e6)](),_0x740e44(_0x22733f,_0x23be84,_0x11b1b2,_0x278a5f)));_0x232265['add'](_0x5e8b14);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x51d4ec(0x3a1)]((_0x38a40f,_0x5022f5)=>{const _0x41cc96=_0x51d4ec,{range:_0xa935e0,sheetID:_0x5da660}=_0x38a40f,_0x4d5f85=this[_0x41cc96(0x2e5)][_0x41cc96(0x2e9)](_0xa935e0,_0x3881f1=>(_0x4d5f85[_0x41cc96(0x5e6)](),_0x740e44(_0x3881f1,_0x5022f5,_0x5da660,_0xa935e0)));_0x232265[_0x41cc96(0x231)](_0x4d5f85);});};this[_0x288be2(0x665)](a[_0x288be2(0x372)](this[_0x288be2(0x278)][_0x288be2(0x58f)](()=>{_0x7d1134();})));}[_0x29ff00(0x5d4)](){const _0x1d314d=_0x29ff00;var _0x29b342,_0x429b63;if(this[_0x1d314d(0x35c)]=!0x0,((_0x29b342=this[_0x1d314d(0x600)][_0x1d314d(0x498)]())==null?void 0x0:_0x29b342[_0x1d314d(0x621)]())!==this[_0x1d314d(0x553)])return;const _0x5e8f98=(_0x429b63=this[_0x1d314d(0x1c1)][_0x1d314d(0x2ef)](k[_0x1d314d(0x210)])['getCurrentSelections']())==null?void 0x0:_0x429b63[0x0],_0x9ba84f=this[_0x1d314d(0x600)][_0x1d314d(0x5b1)](a[_0x1d314d(0x5ce)][_0x1d314d(0x3d0)])['getActiveSheet']();_0x5e8f98&&_0x9ba84f&&this[_0x1d314d(0x660)](_0x9ba84f[_0x1d314d(0x360)](),_0x5e8f98);}[_0x29ff00(0x223)](){const _0x3a0030=_0x29ff00;this[_0x3a0030(0x35c)]=!0x1;}};mt=rs([Te(0x2,a['Inject'](a['Injector'])),Te(0x3,a[_0x29ff00(0x493)](Dt)),Te(0x4,a[_0x29ff00(0x493)](exports[_0x29ff00(0x1d6)])),Te(0x5,a[_0x29ff00(0x37f)]),Te(0x6,a[_0x29ff00(0x587)]),Te(0x7,a[_0x29ff00(0x493)](k[_0x29ff00(0x624)]))],mt);var ls=Object['defineProperty'],hs=Object[_0x29ff00(0x316)],_s=(_0x59c977,_0x3ef802,_0x3cc72a,_0x167dd1)=>{const _0x2d30ed=_0x29ff00;for(var _0x5312db=_0x167dd1>0x1?void 0x0:_0x167dd1?hs(_0x3ef802,_0x3cc72a):_0x3ef802,_0x54519c=_0x59c977[_0x2d30ed(0x5e7)]-0x1,_0x53b6ad;_0x54519c>=0x0;_0x54519c--)(_0x53b6ad=_0x59c977[_0x54519c])&&(_0x5312db=(_0x167dd1?_0x53b6ad(_0x3ef802,_0x3cc72a,_0x5312db):_0x53b6ad(_0x5312db))||_0x5312db);return _0x167dd1&&_0x5312db&&ls(_0x3ef802,_0x3cc72a,_0x5312db),_0x5312db;},nt=(_0x23a501,_0x4cc1b8)=>(_0x5b92b6,_0x46fbbe)=>_0x4cc1b8(_0x5b92b6,_0x46fbbe,_0x23a501);let De=class extends a[_0x29ff00(0x4b0)]{constructor(_0x2cd09f,_0x28506f,_0x3ad62b){const _0x31c7f1=_0x29ff00;super(),I(this,_0x31c7f1(0x221),new Map()),I(this,'_entityInit$',new A[(_0x31c7f1(0x534))]()),(this['_univerInstanceService']=_0x2cd09f,this[_0x31c7f1(0x1c1)]=_0x28506f,this[_0x31c7f1(0x653)]=_0x3ad62b,this[_0x31c7f1(0x5c4)]());}[_0x29ff00(0x5e6)](){const _0x43d892=_0x29ff00;super[_0x43d892(0x5e6)](),this['_entityInit$'][_0x43d892(0x22e)](),this[_0x43d892(0x221)][_0x43d892(0x3a1)](_0x59a6a8=>_0x59a6a8[_0x43d892(0x5e6)]());}[_0x29ff00(0x455)](_0xb23c1b){const _0x166cb5=_0x29ff00;return this['_entities'][_0x166cb5(0x38d)](_0xb23c1b)?this['_entities'][_0x166cb5(0x2ef)](_0xb23c1b)['cursorInfo$']:this[_0x166cb5(0x23b)]['pipe'](A[_0x166cb5(0x604)](_0x723fb5=>_0x723fb5[_0x166cb5(0x553)]===_0xb23c1b),A[_0x166cb5(0x53a)](_0x210442=>_0x210442[_0x166cb5(0x36e)]));}[_0x29ff00(0x5c4)](){const _0x133f50=_0x29ff00;this[_0x133f50(0x600)][_0x133f50(0x460)](a[_0x133f50(0x5ce)]['UNIVER_SHEET'])[_0x133f50(0x619)](A['takeUntil'](this[_0x133f50(0x2b6)]))[_0x133f50(0x58f)](async _0x231c23=>{const _0xb2be3a=_0x133f50,_0x366f7b=_0x231c23[_0xb2be3a(0x621)](),_0x529661=await this[_0xb2be3a(0x232)](_0x366f7b);this['_entityInit$']['next'](_0x529661),this['_entities'][_0xb2be3a(0x20a)](_0x366f7b,_0x529661);}),this[_0x133f50(0x600)]['getTypeOfUnitAdded$'](a[_0x133f50(0x5ce)]['UNIVER_DOC'])[_0x133f50(0x619)](A[_0x133f50(0x264)](this[_0x133f50(0x2b6)]))['pipe'](A['filter'](_0x454505=>!_0x454505[_0x133f50(0x621)]()['startsWith']('__')))[_0x133f50(0x58f)](async _0x1aa054=>{const _0x2b95ab=_0x133f50,_0x222bc5=_0x1aa054[_0x2b95ab(0x621)](),_0x18b36a=await this[_0x2b95ab(0x67a)](_0x222bc5);this[_0x2b95ab(0x23b)][_0x2b95ab(0x49f)](_0x18b36a),this[_0x2b95ab(0x221)][_0x2b95ab(0x20a)](_0x222bc5,_0x18b36a);}),A[_0x133f50(0x5ed)](this[_0x133f50(0x600)][_0x133f50(0x365)](a[_0x133f50(0x5ce)][_0x133f50(0x4f0)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x133f50(0x3d0)]))['pipe'](A[_0x133f50(0x264)](this[_0x133f50(0x2b6)]))[_0x133f50(0x58f)](_0xeffda9=>{const _0x5938d5=_0x133f50,_0x3e00af=_0xeffda9['getUnitId'](),_0x270604=this[_0x5938d5(0x221)][_0x5938d5(0x2ef)](_0x3e00af);_0x270604&&(_0x270604[_0x5938d5(0x5e6)](),this[_0x5938d5(0x221)][_0x5938d5(0x3dc)](_0x3e00af));});}async[_0x29ff00(0x232)](_0x49c4d0){const _0x2de8cd=_0x29ff00,_0x3a1667=await this['_collabSessionService'][_0x2de8cd(0x429)](_0x49c4d0),_0x1e8529=this[_0x2de8cd(0x1c1)][_0x2de8cd(0x527)](mt,_0x49c4d0,_0x3a1667);return _0x1e8529['init'](),_0x1e8529;}async[_0x29ff00(0x67a)](_0x1309d7){const _0x1f49ab=_0x29ff00,_0xe1924e=await this[_0x1f49ab(0x653)][_0x1f49ab(0x429)](_0x1309d7),_0x3646c7=this[_0x1f49ab(0x1c1)][_0x1f49ab(0x527)](pt,_0x1309d7,_0xe1924e);return _0x3646c7[_0x1f49ab(0x334)](),_0x3646c7;}};De=_s([nt(0x0,a[_0x29ff00(0x37f)]),nt(0x1,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),nt(0x2,a[_0x29ff00(0x493)](exports[_0x29ff00(0x5ea)]))],De);const Le=0x14,Wt=0xc8,st=0x4,us=0x5;function ds(_0x1fc81f,_0x5b9dbf){const _0x150f6e=_0x29ff00;let {radius:_0x19cfc8,width:_0x37311f,height:_0x45e331}=_0x5b9dbf;_0x19cfc8=_0x19cfc8!=null?_0x19cfc8:0x0,_0x37311f=_0x37311f!=null?_0x37311f:0x1e,_0x45e331=_0x45e331!=null?_0x45e331:0x1e;let _0xd06686=0x0,_0x18d690=0x0,_0x3dae45=0x0;_0xd06686=_0x18d690=_0x3dae45=Math[_0x150f6e(0x3b8)](_0x19cfc8,_0x37311f/0x2,_0x45e331/0x2),_0x1fc81f[_0x150f6e(0x285)](),_0x1fc81f[_0x150f6e(0x4ab)](_0xd06686,0x0),_0x1fc81f['lineTo'](_0x37311f-_0x18d690,0x0),_0x1fc81f[_0x150f6e(0x29e)](_0x37311f-_0x18d690,_0x18d690,_0x18d690,Math['PI']*0x3/0x2,0x0,!0x1),_0x1fc81f[_0x150f6e(0x5aa)](_0x37311f,_0x45e331-_0x3dae45),_0x1fc81f[_0x150f6e(0x29e)](_0x37311f-_0x3dae45,_0x45e331-_0x3dae45,_0x3dae45,0x0,Math['PI']/0x2,!0x1),_0x1fc81f[_0x150f6e(0x5aa)](0x0,_0x45e331),_0x1fc81f[_0x150f6e(0x5aa)](0x0,_0xd06686),_0x1fc81f[_0x150f6e(0x29e)](_0xd06686,_0xd06686,_0xd06686,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1fc81f[_0x150f6e(0x404)](),_0x5b9dbf[_0x150f6e(0x53e)]&&(_0x1fc81f['save'](),_0x1fc81f[_0x150f6e(0x211)]=_0x5b9dbf[_0x150f6e(0x53e)],_0x5b9dbf[_0x150f6e(0x3e7)]===_0x150f6e(0x294)?_0x1fc81f[_0x150f6e(0x53e)](_0x150f6e(0x294)):_0x1fc81f[_0x150f6e(0x53e)](),_0x1fc81f[_0x150f6e(0x2a5)]());}class Xe extends K[_0x29ff00(0x674)]{constructor(_0x4fb1b0,_0x57eee8){const _0x524e99=_0x29ff00;super(_0x4fb1b0,_0x57eee8),I(this,_0x524e99(0x375)),I(this,_0x524e99(0x3aa)),(this[_0x524e99(0x375)]=_0x57eee8==null?void 0x0:_0x57eee8[_0x524e99(0x375)],this['text']=_0x57eee8==null?void 0x0:_0x57eee8[_0x524e99(0x3aa)]);}static['drawWith'](_0x4a83c5,_0x25a955){const _0x2b7317=_0x29ff00,{text:_0x360858,color:_0x97c786}=_0x25a955;_0x4a83c5[_0x2b7317(0x488)](),_0x4a83c5[_0x2b7317(0x4b3)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x4ee01b=_0x4a83c5[_0x2b7317(0x1e0)](_0x360858)[_0x2b7317(0x367)],_0x4c794d=Math['min'](_0x4ee01b+0x2*st,Wt);ds(_0x4a83c5,{'height':Le,'radius':0x4,'width':_0x4c794d,'fill':_0x97c786,'evented':!0x1}),_0x4a83c5['fillStyle']=_0x2b7317(0x3c2);const _0x37fdeb=st,_0x30ea8f=Le-us,_0x429a1c=Wt-0x2*st;if(_0x4ee01b>_0x429a1c){let _0x442aa8='',_0x148eb8=0x0;for(const _0x51da70 of _0x360858){const _0x2b27f6=_0x4a83c5['measureText'](_0x51da70)['width'];if(_0x148eb8+_0x2b27f6<=_0x429a1c-_0x4a83c5['measureText']('...')[_0x2b7317(0x367)])_0x442aa8+=_0x51da70,_0x148eb8+=_0x2b27f6;else{_0x442aa8+=_0x2b7317(0x65f);break;}}_0x4a83c5[_0x2b7317(0x49c)](_0x442aa8,_0x37fdeb,_0x30ea8f);}else _0x4a83c5['fillText'](_0x360858,_0x37fdeb,_0x30ea8f);_0x4a83c5['restore']();}['_draw'](_0x5220ca){const _0x26267e=_0x29ff00;Xe[_0x26267e(0x3e4)](_0x5220ca,this);}}const rt=_0x29ff00(0x56e),fs=_0x29ff00(0x689),vs=_0x29ff00(0x387),Ue=0x6,Ss=1.5,ot=0x4,ps=1.5,ms=_0x29ff00(0x2b5);class Ft{constructor(_0x495eb5,_0xdf0f5f,_0x594a1b,_0x2d44a3){const _0x3b85eb=_0x29ff00;I(this,_0x3b85eb(0x30b),[]),I(this,_0x3b85eb(0x34d),null),I(this,_0x3b85eb(0x479),null),I(this,_0x3b85eb(0x3c3),null),I(this,'_hideTimer',null),I(this,_0x3b85eb(0x639),null),(this[_0x3b85eb(0x3e2)]=_0x495eb5,this[_0x3b85eb(0x3cc)]=_0xdf0f5f,this['_docSkeleton']=_0x594a1b,this[_0x3b85eb(0x45d)]=_0x2d44a3,this['_render']());}set[_0x29ff00(0x465)](_0x25cb00){const _0x2d2914=_0x29ff00;_0x25cb00?(this[_0x2d2914(0x3c3)]&&this['_anchorDot'][_0x2d2914(0x519)](),this[_0x2d2914(0x479)]&&this[_0x2d2914(0x479)][_0x2d2914(0x318)]()):(this[_0x2d2914(0x3c3)]&&this[_0x2d2914(0x3c3)][_0x2d2914(0x318)](),this['_textBubble']&&this[_0x2d2914(0x479)][_0x2d2914(0x519)]());}[_0x29ff00(0x5e6)](){const _0x5e2390=_0x29ff00;for(const _0xb0b278 of this['_shapes'])_0xb0b278[_0x5e2390(0x5e6)]();this[_0x5e2390(0x479)]&&this[_0x5e2390(0x479)]['dispose'](),this[_0x5e2390(0x3c3)]&&this[_0x5e2390(0x3c3)][_0x5e2390(0x5e6)](),this[_0x5e2390(0x34d)]&&this['_anchor']['dispose'](),this['_eventUnsubscribe']&&this[_0x5e2390(0x639)]();}[_0x29ff00(0x5d9)](){const _0x3e02ee=_0x29ff00;var _0x20b07c;const {_docSkeleton:_0x488934,_document:_0xbb4ab8}=this,{color:_0x1d028a,name:_0x544587,ranges:_0x3a4e48}=this[_0x3e02ee(0x3e2)],_0x445ec5=_0xbb4ab8[_0x3e02ee(0x5f3)](),{docsLeft:_0x578cf6,docsTop:_0x312cb3}=_0x445ec5,_0x2416f9=new J['NodePositionConvertToCursor'](_0x445ec5,_0x488934);for(const {startOffset:_0x8d6692,endOffset:_0x328aa5,rangeType:_0x5df6e5,segmentId:_0x585491,segmentPage:_0x2e599f,collapsed:_0x38722c,isActive:_0x51122b}of _0x3a4e48){const _0x23a109=_0x488934['findNodePositionByCharIndex'](_0x8d6692,!0x0,_0x585491,_0x2e599f);let _0xc0146c=_0x488934[_0x3e02ee(0x361)](_0x328aa5,!0x0,_0x585491,_0x2e599f);if(_0xc0146c==null&&(_0xc0146c=_0x488934[_0x3e02ee(0x361)](_0x328aa5-0x1,!0x1,_0x585491,_0x2e599f)),_0x51122b){const {contentBoxPointGroup:_0x162ace}=_0x2416f9[_0x3e02ee(0x3a6)](_0xc0146c,_0xc0146c);if(_0x162ace[_0x3e02ee(0x5e7)]===0x0)continue;this[_0x3e02ee(0x5cb)](_0x1d028a,_0x162ace,_0x578cf6,_0x312cb3,_0x544587),this[_0x3e02ee(0x639)]=this[_0x3e02ee(0x33c)]();}if(_0x23a109&&_0xc0146c){if(_0x5df6e5===a[_0x3e02ee(0x380)][_0x3e02ee(0x36c)]){const _0x2a5e87=new J[(_0x3e02ee(0x408))](_0x445ec5,_0x488934),{pointGroup:_0x36159b}=(_0x20b07c=_0x2a5e87['getRangePointData'](_0x23a109,_0xc0146c))!=null?_0x20b07c:{};if(_0x36159b==null||_0x36159b['length']===0x0)continue;this[_0x3e02ee(0x38c)](_0x1d028a,_0x36159b,_0x578cf6,_0x312cb3);}else{if(!_0x38722c){const {borderBoxPointGroup:_0x29c5ce}=_0x2416f9[_0x3e02ee(0x3a6)](_0x23a109,_0xc0146c);if(_0x29c5ce['length']===0x0)continue;this['_drawTextRange'](_0x1d028a,_0x29c5ce,_0x578cf6,_0x312cb3);}}}}}['_drawAnchor'](_0x22abba,_0x1f70ba,_0x195fa7,_0x1f777f,_0x56b646){const _0x9e08e4=_0x29ff00,_0x1e3600=this[_0x9e08e4(0x3d3)](_0x1f70ba),{left:_0x16d9b7,top:_0x205f70,height:_0x2557b1}=_0x1e3600,_0x2ff630=this[_0x9e08e4(0x277)](),_0x4d432a=ps/_0x2ff630,_0x250ba7=new K[(_0x9e08e4(0x606))](rt+a['Tools'][_0x9e08e4(0x512)](Ue),{'left':_0x16d9b7+_0x195fa7-_0x4d432a,'top':_0x205f70+_0x1f777f,'height':_0x2557b1,'width':Ss,'fill':_0x22abba||K[_0x9e08e4(0x2fe)](a[_0x9e08e4(0x4f4)][_0x9e08e4(0x61e)],0x0),'strokeWidth':_0x4d432a,'stroke':ms,'evented':!0x0});this[_0x9e08e4(0x34d)]=_0x250ba7,this[_0x9e08e4(0x3cc)][_0x9e08e4(0x518)](_0x250ba7,J['TEXT_RANGE_LAYER_INDEX']);const _0x109dc6=new K['Rect'](rt+a[_0x9e08e4(0x302)][_0x9e08e4(0x512)](Ue),{'left':_0x16d9b7+_0x195fa7-_0x4d432a,'top':_0x205f70+_0x1f777f-ot/0x2,'height':ot,'width':ot,'fill':_0x22abba||K[_0x9e08e4(0x2fe)](a[_0x9e08e4(0x4f4)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x22abba||K['getColor'](a[_0x9e08e4(0x4f4)][_0x9e08e4(0x61e)],0x0),'evented':!0x1});this[_0x9e08e4(0x3c3)]=_0x109dc6,this[_0x9e08e4(0x3cc)][_0x9e08e4(0x518)](_0x109dc6,J['TEXT_RANGE_LAYER_INDEX']);const _0x171dd4=new Xe(rt+a[_0x9e08e4(0x302)][_0x9e08e4(0x512)](Ue),{'left':_0x16d9b7+_0x195fa7-_0x4d432a,'top':_0x205f70+_0x1f777f-Le,'text':_0x56b646,'color':_0x22abba});this['_textBubble']=_0x171dd4,this[_0x9e08e4(0x3cc)][_0x9e08e4(0x518)](_0x171dd4,J['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x29ff00(0x33c)](){const _0x12d6be=_0x29ff00,_0x26ea8b=this[_0x12d6be(0x34d)]['onPointerEnter$'][_0x12d6be(0x53c)](()=>{this['_hover']=!0x0;}),_0x11950=this[_0x12d6be(0x34d)]['onPointerLeave$'][_0x12d6be(0x53c)](()=>{const _0x3630c8=_0x12d6be;this[_0x3630c8(0x2bf)]&&clearTimeout(this['_hideTimer']),this[_0x3630c8(0x2bf)]=setTimeout(()=>{const _0x473fd1=_0x3630c8;this[_0x473fd1(0x465)]=!0x1;},0x7d0);});return()=>{const _0x14ab8c=_0x12d6be;_0x26ea8b[_0x14ab8c(0x4eb)](),_0x11950[_0x14ab8c(0x4eb)]();};}[_0x29ff00(0x4d9)](_0x5cba30,_0x4c35fd,_0x45ef52,_0xa3a72c){const _0x90a04b=_0x29ff00,_0x3d1170=new a['ColorKit'](_0x5cba30)[_0x90a04b(0x478)](0.2)[_0x90a04b(0x576)](),_0x182554=new K['RegularPolygon'](fs+a[_0x90a04b(0x302)][_0x90a04b(0x512)](Ue),{'pointsGroup':_0x4c35fd,'fill':_0x3d1170||K[_0x90a04b(0x2fe)](a[_0x90a04b(0x4f4)][_0x90a04b(0x61e)],0.2),'left':_0x45ef52,'top':_0xa3a72c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x90a04b(0x30b)]['push'](_0x182554),this[_0x90a04b(0x3cc)][_0x90a04b(0x518)](_0x182554,J['TEXT_RANGE_LAYER_INDEX']);}[_0x29ff00(0x38c)](_0x23bddb,_0x1ff001,_0x4e7f0a,_0x5087be){const _0xaf7da6=_0x29ff00,_0x43c0fa=new a['ColorKit'](_0x23bddb)['setAlpha'](0.2)[_0xaf7da6(0x576)](),_0x5000ad=new K['RegularPolygon'](vs+a[_0xaf7da6(0x302)][_0xaf7da6(0x512)](Ue),{'pointsGroup':_0x1ff001,'fill':_0x43c0fa||K['getColor'](a['COLORS'][_0xaf7da6(0x61e)],0.2),'left':_0x4e7f0a,'top':_0x5087be,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xaf7da6(0x30b)][_0xaf7da6(0x3bc)](_0x5000ad),this['_scene'][_0xaf7da6(0x518)](_0x5000ad,J['TEXT_RANGE_LAYER_INDEX']);}[_0x29ff00(0x3d3)](_0x2a1602){const _0x1f4871=_0x2a1602[0x0],_0x332030=_0x1f4871[0x0],_0xe0ac6b=_0x1f4871[0x2],{x:_0x508b5c,y:_0x8266ae}=_0x332030,{x:_0x49e8,y:_0x3adc4c}=_0xe0ac6b;return{'left':_0x508b5c,'top':_0x8266ae,'width':_0x49e8-_0x508b5c,'height':_0x3adc4c-_0x8266ae};}['_getScale'](){const _0x34b3f2=_0x29ff00,{scaleX:_0x894a3,scaleY:_0x38b084}=this[_0x34b3f2(0x3cc)][_0x34b3f2(0x3f4)]();return Math[_0x34b3f2(0x1b9)](_0x894a3,_0x38b084);}}var gs=Object[_0x29ff00(0x64a)],Is=Object[_0x29ff00(0x316)],Cs=(_0x48bdb2,_0x4db565,_0x21a16c,_0x2bb2d)=>{for(var _0x9f5c04=_0x2bb2d>0x1?void 0x0:_0x2bb2d?Is(_0x4db565,_0x21a16c):_0x4db565,_0xbbfc3e=_0x48bdb2['length']-0x1,_0x331576;_0xbbfc3e>=0x0;_0xbbfc3e--)(_0x331576=_0x48bdb2[_0xbbfc3e])&&(_0x9f5c04=(_0x2bb2d?_0x331576(_0x4db565,_0x21a16c,_0x9f5c04):_0x331576(_0x9f5c04))||_0x9f5c04);return _0x2bb2d&&_0x9f5c04&&gs(_0x4db565,_0x21a16c,_0x9f5c04),_0x9f5c04;},je=(_0x706aa2,_0x170b73)=>(_0x2a1727,_0x388e63)=>_0x170b73(_0x2a1727,_0x388e63,_0x706aa2);let gt=class extends a[_0x29ff00(0x4b0)]{constructor(_0xa6545c,_0x95691,_0x7025fe,_0x3e9903,_0x54ed7d){const _0x1a8fb7=_0x29ff00;super(),I(this,_0x1a8fb7(0x5b6),[]),I(this,_0x1a8fb7(0x4fd),[]),(this[_0x1a8fb7(0x220)]=_0xa6545c,this[_0x1a8fb7(0x2fa)]=_0x95691,this['_collabCursorController']=_0x7025fe,this['_commandService']=_0x3e9903,this[_0x1a8fb7(0x48e)]=_0x54ed7d,this[_0x1a8fb7(0x5c4)]());}[_0x29ff00(0x5c4)](){const _0x2a45e0=_0x29ff00,_0x80e539=this['_context']['unitId'],_0x3840b0=this[_0x2a45e0(0x2fa)];this['disposeWithMe'](A['combineLatest']([this[_0x2a45e0(0x516)][_0x2a45e0(0x455)](_0x80e539),this[_0x2a45e0(0x48e)][_0x2a45e0(0x44b)]])['pipe'](V[_0x2a45e0(0x4db)](([_0x2f16d9,_0xa0182f])=>({'skeleton':_0x3840b0[_0x2a45e0(0x4b1)](),'cursors':[..._0x2f16d9['values']()][_0x2a45e0(0x2ae)](_0x32e557=>({..._0x32e557,'color':_0xa0182f[_0x32e557[_0x2a45e0(0x375)]]}))})))['subscribe'](_0xb72d6a=>{if(this['_removeCollabCursors'](),_0xb72d6a){const {skeleton:_0x558926,cursors:_0x27bf1d}=_0xb72d6a;this['_updateCollabCursors'](_0x558926,_0x27bf1d);}})),this[_0x2a45e0(0x2b1)](),this[_0x2a45e0(0x596)]();}['_updateCollabCursors'](_0x30bd65,_0xc39507){const _0x249585=_0x29ff00,{scene:_0x1876af,mainComponent:_0x16341a}=this[_0x249585(0x220)],_0x5ab6b8=_0xc39507[_0x249585(0x4db)](_0x50e14c=>new Ft(_0x50e14c,_0x1876af,_0x30bd65,_0x16341a));this[_0x249585(0x5b6)]=_0x5ab6b8,this['_cursors']=_0xc39507;}[_0x29ff00(0x468)](){const _0x143c57=_0x29ff00;this[_0x143c57(0x51b)]();const {scene:_0x186913,mainComponent:_0x29f185}=this[_0x143c57(0x220)],_0x219235=this[_0x143c57(0x2fa)][_0x143c57(0x4b1)](),_0xb3304c=this['_cursors'][_0x143c57(0x4db)](_0x3e726d=>new Ft(_0x3e726d,_0x186913,_0x219235,_0x29f185));this['_cursorShapes']=_0xb3304c;}['_removeCollabCursors'](){const _0x50c4f2=_0x29ff00;this[_0x50c4f2(0x5b6)][_0x50c4f2(0x3a1)](_0x39ff34=>_0x39ff34[_0x50c4f2(0x5e6)]()),this[_0x50c4f2(0x5b6)]=[];}[_0x29ff00(0x596)](){const _0x3f3494=_0x29ff00,_0x4641ee=[J[_0x3f3494(0x579)]['id']];this[_0x3f3494(0x665)](this[_0x3f3494(0x5b4)][_0x3f3494(0x3f0)](_0x484581=>{const _0x45a81c=_0x3f3494;_0x4641ee['includes'](_0x484581['id'])&&_0x484581[_0x45a81c(0x447)]['unitId']===this[_0x45a81c(0x220)]['unitId']&&this[_0x45a81c(0x468)]();}));}[_0x29ff00(0x2b1)](){const _0xd7aa61=_0x29ff00;this[_0xd7aa61(0x665)](a[_0xd7aa61(0x1ba)](this['_context']['engine']['onTransformChange$'])[_0xd7aa61(0x619)](V[_0xd7aa61(0x604)](_0x382019=>_0x382019[_0xd7aa61(0x2eb)]===K[_0xd7aa61(0x2a6)][_0xd7aa61(0x5b9)]),V[_0xd7aa61(0x3d2)](0x10))['subscribe'](()=>{const _0x4e676c=_0xd7aa61;this[_0x4e676c(0x468)]();}));}};gt=Cs([je(0x1,a['Inject'](Ie[_0x29ff00(0x229)])),je(0x2,a[_0x29ff00(0x493)](De)),je(0x3,a[_0x29ff00(0x587)]),je(0x4,a[_0x29ff00(0x493)](a[_0x29ff00(0x438)]))],gt);const Es=0x1,bs=1.5;class Ii extends K['Shape']{constructor(_0x597d4b,_0x3e8298){const _0x3e0111=_0x29ff00;super(_0x597d4b,_0x3e8298),I(this,_0x3e0111(0x1e4)),I(this,_0x3e0111(0x3db),!0x1),I(this,'_range'),I(this,_0x3e0111(0x62c),''),I(this,_0x3e0111(0x601),_0x3e0111(0x1fb)),I(this,'_backgroundColor'),(_0x3e8298&&this[_0x3e0111(0x3ca)](_0x3e8298),this[_0x3e0111(0x256)][_0x3e0111(0x53c)](()=>this[_0x3e0111(0x3ca)]({'hovered':!0x0})),this['onPointerLeave$'][_0x3e0111(0x53c)](()=>this[_0x3e0111(0x3ca)]({'hovered':!0x1})));}[_0x29ff00(0x3ca)](_0x1df77d){const _0x2f0133=_0x29ff00;var _0x2bb00b,_0x27b28e,_0x46fe45,_0x175b0f,_0x675dee,_0x354fde;this['_color']=(_0x2bb00b=_0x1df77d[_0x2f0133(0x375)])!=null?_0x2bb00b:this[_0x2f0133(0x1e4)],this[_0x2f0133(0x3db)]=(_0x27b28e=_0x1df77d[_0x2f0133(0x68a)])!=null?_0x27b28e:this['_hovered'],this['_range']=(_0x46fe45=_0x1df77d[_0x2f0133(0x3ff)])!=null?_0x46fe45:this['_range'],this[_0x2f0133(0x62c)]=(_0x175b0f=_0x1df77d[_0x2f0133(0x2cd)])!=null?_0x175b0f:this[_0x2f0133(0x62c)],this[_0x2f0133(0x601)]=(_0x675dee=_0x1df77d[_0x2f0133(0x544)])!=null?_0x675dee:this['_labelPosition'],this['_backgroundColor']=(_0x354fde=_0x1df77d['backgroundColor'])!=null?_0x354fde:this['_backgroundColor'],this[_0x2f0133(0x676)]({'width':_0x1df77d['width'],'height':_0x1df77d['height']});}[_0x29ff00(0x2dc)](_0x5c96b1){const _0x4ffa58=_0x29ff00,{row:_0x152fbd,column:_0x49e2ed}=_0x5c96b1;if(_0x152fbd>=this[_0x4ffa58(0x464)]['startRow']&&_0x152fbd<=this['_range']['endRow']&&_0x49e2ed>=this[_0x4ffa58(0x464)][_0x4ffa58(0x564)]&&_0x49e2ed<=this[_0x4ffa58(0x464)][_0x4ffa58(0x20e)]){this[_0x4ffa58(0x3ca)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x29ff00(0x2ab)](_0x5609d9){return!0x1;}['_draw'](_0x4b4a13){const _0x445156=_0x29ff00;K[_0x445156(0x606)][_0x445156(0x3e4)](_0x4b4a13,{'width':this[_0x445156(0x367)],'height':this[_0x445156(0x376)],'strokeWidth':bs,'stroke':this[_0x445156(0x1e4)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x445156(0x3db)]&&(_0x4b4a13['save'](),_0x4b4a13[_0x445156(0x310)](0x1,0x0,0x0,0x1,this[_0x445156(0x367)],this[_0x445156(0x601)]==='bottom'?0x0:-Le),Xe[_0x445156(0x3e4)](_0x4b4a13,{'text':this['_name'],'color':this[_0x445156(0x1e4)]}),_0x4b4a13[_0x445156(0x2a5)]());}}var Ts=Object[_0x29ff00(0x64a)],Rs=Object[_0x29ff00(0x316)],ys=(_0x4b4d1e,_0x51b8ab,_0x12d8b4,_0x460184)=>{const _0x1ba24e=_0x29ff00;for(var _0x4d690d=_0x460184>0x1?void 0x0:_0x460184?Rs(_0x51b8ab,_0x12d8b4):_0x51b8ab,_0x333536=_0x4b4d1e[_0x1ba24e(0x5e7)]-0x1,_0x472a87;_0x333536>=0x0;_0x333536--)(_0x472a87=_0x4b4d1e[_0x333536])&&(_0x4d690d=(_0x460184?_0x472a87(_0x51b8ab,_0x12d8b4,_0x4d690d):_0x472a87(_0x4d690d))||_0x4d690d);return _0x460184&&_0x4d690d&&Ts(_0x51b8ab,_0x12d8b4,_0x4d690d),_0x4d690d;},at=(_0x1f6fff,_0x3982eb)=>(_0x89995d,_0x1611bc)=>_0x3982eb(_0x89995d,_0x1611bc,_0x1f6fff);const Os=0x1389;let It=class extends a[_0x29ff00(0x4b0)]{constructor(_0x1a2d60,_0x1c8eb1,_0x3e16c4,_0x55cd4b){const _0x4af585=_0x29ff00;super(),I(this,'_cursors',new Set()),I(this,_0x4af585(0x1ec),null),(this[_0x4af585(0x220)]=_0x1a2d60,this[_0x4af585(0x613)]=_0x1c8eb1,this[_0x4af585(0x516)]=_0x3e16c4,this[_0x4af585(0x48e)]=_0x55cd4b,this[_0x4af585(0x5c4)]());}[_0x29ff00(0x5c4)](){const _0x53bc12=_0x29ff00;this[_0x53bc12(0x613)][_0x53bc12(0x39f)][_0x53bc12(0x619)](V[_0x53bc12(0x264)](this[_0x53bc12(0x2b6)]),V[_0x53bc12(0x53a)](_0x55278e=>{const _0x3445ee=_0x53bc12;if(_0x55278e){const _0x3b9b92=_0x55278e[_0x3445ee(0x5a7)];return A[_0x3445ee(0x4c4)](this[_0x3445ee(0x516)][_0x3445ee(0x455)](this[_0x3445ee(0x220)][_0x3445ee(0x21b)]),this['_themeService'][_0x3445ee(0x44b)])[_0x3445ee(0x619)](V['map'](([_0x486aff,_0x328c6b])=>{const _0x50fa35=_0x3445ee,_0x123d34=new Map();return _0x486aff[_0x50fa35(0x3a1)]((_0x450513,_0x365eab)=>{const _0x51985=_0x50fa35;if(_0x450513['sheetID']===_0x3b9b92){const _0x1a3058={..._0x450513};_0x1a3058[_0x51985(0x375)]=_0x328c6b[_0x450513[_0x51985(0x375)]],_0x123d34['set'](_0x365eab,_0x1a3058);}}),{'skeleton':_0x55278e,'cursors':_0x123d34};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x366eb8,cursors:_0x265b78})=>{const _0x280c42=_0x53bc12;this[_0x280c42(0x51b)](),_0x366eb8&&this[_0x280c42(0x266)](_0x366eb8,_0x265b78);}),this[_0x53bc12(0x613)][_0x53bc12(0x39f)][_0x53bc12(0x58f)](_0x5cbd85=>{const _0x3a2a25=_0x53bc12;if(_0x5cbd85==null)return;const {skeleton:_0x2837fb}=_0x5cbd85,{scene:_0x5abe70}=this[_0x3a2a25(0x220)];_0x5abe70[_0x3a2a25(0x2a7)][_0x3a2a25(0x53c)](a[_0x3a2a25(0x242)](_0x34ed4a=>{const _0x53af27=_0x3a2a25;var _0x48c7e6,_0x51a5df;const {offsetX:_0x429588,offsetY:_0x4592e8}=_0x34ed4a,{x:_0xf9701b,y:_0x56061a}=_0x5abe70[_0x53af27(0x1f1)](K['Vector2']['FromArray']([_0x429588,_0x4592e8])),{scaleX:_0x37eb2b,scaleY:_0x52d6e8}=_0x5abe70[_0x53af27(0x3f4)](),_0x3507e1=_0x5abe70[_0x53af27(0x2b4)](ye[_0x53af27(0x56f)][_0x53af27(0x52d)]),_0x510d13=_0x5abe70[_0x53af27(0x5b2)](K[_0x53af27(0x27f)]['FromArray']([_0xf9701b,_0x56061a]),_0x3507e1),_0x5575ab=_0x2837fb['getCellPositionByOffset'](_0x429588,_0x4592e8,_0x37eb2b,_0x52d6e8,_0x510d13);((_0x48c7e6=this[_0x53af27(0x1ec)])==null?void 0x0:_0x48c7e6[_0x53af27(0x2f4)])===_0x5575ab[_0x53af27(0x2f4)]&&((_0x51a5df=this[_0x53af27(0x1ec)])==null?void 0x0:_0x51a5df[_0x53af27(0x43d)])===_0x5575ab[_0x53af27(0x43d)]||this[_0x53af27(0x4fd)]['forEach'](_0x701cd3=>{const _0x2b43b8=_0x53af27;_0x701cd3[_0x2b43b8(0x2dc)](_0x5575ab);});},0x64));});}[_0x29ff00(0x266)](_0x2660b4,_0x3488ae){const _0x3371d6=_0x29ff00;var _0x4908b5;const _0x289104=(_0x4908b5=this[_0x3371d6(0x613)]['getCurrent']())==null?void 0x0:_0x4908b5[_0x3371d6(0x4a3)];if(!_0x289104)return;const _0xabbb82=this['_getSheetObject']();if(!_0xabbb82)return;this[_0x3371d6(0x4fd)]['forEach'](_0x2ebe94=>{const _0xe97810=_0x3371d6;_0x2ebe94[_0xe97810(0x391)]();});const {scene:_0x322511}=_0xabbb82,_0x4a53ba=Ds(Array[_0x3371d6(0x4e3)](_0x3488ae[_0x3371d6(0x326)]()))['map'](_0x245af1=>{const _0x24e873=_0x3371d6,{color:_0x55c44e,range:_0x1792b9,name:_0x4ccfb6,selection:_0x333be6,sheetID:_0x2e3c01}=_0x245af1,{startColumn:_0x712586,startRow:_0x24ffc9,endColumn:_0x4c2158,endRow:_0xd4f0b1}=_0x1792b9,_0x22d08a=ye['getCoordByCell'](_0x24ffc9,_0x712586,_0x322511,_0x289104),_0x5bc025=ye[_0x24e873(0x279)](_0xd4f0b1,_0x4c2158,_0x322511,_0x289104),{columnHeaderHeightAndMarginTop:_0x48e751}=_0x289104,{startX:_0x272cf6,startY:_0xa0f535}=_0x22d08a,{endX:_0x26ac4c,endY:_0x4a1f5e}=_0x5bc025,_0xe90165=_0x26ac4c-_0x272cf6,_0x2a5b3a=_0x4a1f5e-_0xa0f535,_0x5a8c6b={'labelPosition':_0xa0f535-_0x48e751>=Le?_0x24e873(0x1fb):_0x24e873(0x5f8),'sheetID':_0x2e3c01,'range':_0x1792b9,'color':_0x55c44e,'name':_0x4ccfb6,'selection':_0x333be6,'left':_0x272cf6,'top':_0xa0f535,'width':_0xe90165,'height':_0x2a5b3a,'evented':!0x1,'zIndex':Os};return new Ii(_0x4ccfb6,_0x5a8c6b);});_0x322511[_0x3371d6(0x2f9)](_0x4a53ba,Es),this['_cursors']=new Set(_0x4a53ba);}[_0x29ff00(0x51b)](){const _0x2d017b=_0x29ff00;var _0xdb7e60;(_0xdb7e60=this['_cursors'])==null||_0xdb7e60[_0x2d017b(0x3a1)](_0x1846a6=>_0x1846a6['dispose']());}['_getSheetObject'](){const _0x13a655=_0x29ff00;return ye[_0x13a655(0x20c)](this[_0x13a655(0x220)][_0x13a655(0x4f6)],this['_context']);}};It=ys([at(0x1,a[_0x29ff00(0x493)](ye[_0x29ff00(0x2ee)])),at(0x2,a['Inject'](De)),at(0x3,a[_0x29ff00(0x493)](a[_0x29ff00(0x438)]))],It);function _0x2f26(_0x1d15a3,_0x6fdb30){const _0x595e3c=_0x595e();return _0x2f26=function(_0x2f26ed,_0x8f87d4){_0x2f26ed=_0x2f26ed-0x1b5;let _0x31ff46=_0x595e3c[_0x2f26ed];return _0x31ff46;},_0x2f26(_0x1d15a3,_0x6fdb30);}function Ds(_0x5d81ab){const _0x44e12b=_0x29ff00,_0x56483e=new Map();return _0x5d81ab[_0x44e12b(0x3a1)](_0x18a632=>{const _0x25488a=_0x44e12b;if(_0x56483e[_0x25488a(0x38d)](_0x18a632[_0x25488a(0x3ee)])){const _0x25c2f0=_0x56483e[_0x25488a(0x2ef)](_0x18a632[_0x25488a(0x3ee)]);_0x25c2f0[_0x25488a(0x2cd)]+=',\x20'+_0x18a632[_0x25488a(0x2cd)];}else _0x56483e['set'](_0x18a632[_0x25488a(0x3ee)],_0x18a632);}),Array[_0x44e12b(0x4e3)](_0x56483e[_0x44e12b(0x326)]());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x26d59e){const _0x403af5=_0x29ff00;return _0x26d59e&&_0x26d59e['__esModule']&&Object[_0x403af5(0x1fe)][_0x403af5(0x5d7)][_0x403af5(0x1d5)](_0x26d59e,_0x403af5(0x659))?_0x26d59e[_0x403af5(0x659)]:_0x26d59e;}var Ci={'exports':{}},Je={},Ps=ae,ws=Symbol[_0x29ff00(0x2a2)](_0x29ff00(0x228)),Us=Symbol['for'](_0x29ff00(0x34b)),Ms=Object[_0x29ff00(0x1fe)][_0x29ff00(0x5d7)],As=Ps[_0x29ff00(0x30c)][_0x29ff00(0x504)],Ns={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function Ei(_0x43dcd1,_0x2a3d3d,_0x37d99d){const _0x2c245f=_0x29ff00;var _0x1c01b4,_0x2deeec={},_0x42cc53=null,_0x28b5da=null;_0x37d99d!==void 0x0&&(_0x42cc53=''+_0x37d99d),_0x2a3d3d['key']!==void 0x0&&(_0x42cc53=''+_0x2a3d3d['key']),_0x2a3d3d[_0x2c245f(0x486)]!==void 0x0&&(_0x28b5da=_0x2a3d3d[_0x2c245f(0x486)]);for(_0x1c01b4 in _0x2a3d3d)Ms[_0x2c245f(0x1d5)](_0x2a3d3d,_0x1c01b4)&&!Ns[_0x2c245f(0x5d7)](_0x1c01b4)&&(_0x2deeec[_0x1c01b4]=_0x2a3d3d[_0x1c01b4]);if(_0x43dcd1&&_0x43dcd1['defaultProps']){for(_0x1c01b4 in(_0x2a3d3d=_0x43dcd1[_0x2c245f(0x5fd)],_0x2a3d3d))_0x2deeec[_0x1c01b4]===void 0x0&&(_0x2deeec[_0x1c01b4]=_0x2a3d3d[_0x1c01b4]);}return{'$$typeof':ws,'type':_0x43dcd1,'key':_0x42cc53,'ref':_0x28b5da,'props':_0x2deeec,'_owner':As[_0x2c245f(0x20d)]};}Je[_0x29ff00(0x32c)]=Us,Je[_0x29ff00(0x3dd)]=Ei,Je[_0x29ff00(0x5bb)]=Ei,Ci['exports']=Je;var ge=Ci[_0x29ff00(0x5a4)],ee=function(){const _0x399978=_0x29ff00;return ee=Object[_0x399978(0x306)]||function(_0x1ddeb5){const _0x5d57c8=_0x399978;for(var _0x30b5e0,_0x52925d=0x1,_0x340a9d=arguments['length'];_0x52925d<_0x340a9d;_0x52925d++){_0x30b5e0=arguments[_0x52925d];for(var _0x383ebf in _0x30b5e0)Object[_0x5d57c8(0x1fe)][_0x5d57c8(0x5d7)][_0x5d57c8(0x1d5)](_0x30b5e0,_0x383ebf)&&(_0x1ddeb5[_0x383ebf]=_0x30b5e0[_0x383ebf]);}return _0x1ddeb5;},ee[_0x399978(0x567)](this,arguments);},Ls=function(_0x2a29c6,_0x35672f){const _0x31672d=_0x29ff00;var _0x64131={};for(var _0x57fb30 in _0x2a29c6)Object['prototype'][_0x31672d(0x5d7)][_0x31672d(0x1d5)](_0x2a29c6,_0x57fb30)&&_0x35672f[_0x31672d(0x1c6)](_0x57fb30)<0x0&&(_0x64131[_0x57fb30]=_0x2a29c6[_0x57fb30]);if(_0x2a29c6!=null&&typeof Object[_0x31672d(0x2e3)]==_0x31672d(0x5a8)){for(var _0x1a8d41=0x0,_0x57fb30=Object[_0x31672d(0x2e3)](_0x2a29c6);_0x1a8d41<_0x57fb30[_0x31672d(0x5e7)];_0x1a8d41++)_0x35672f[_0x31672d(0x1c6)](_0x57fb30[_0x1a8d41])<0x0&&Object[_0x31672d(0x1fe)]['propertyIsEnumerable'][_0x31672d(0x1d5)](_0x2a29c6,_0x57fb30[_0x1a8d41])&&(_0x64131[_0x57fb30[_0x1a8d41]]=_0x2a29c6[_0x57fb30[_0x1a8d41]]);}return _0x64131;},Pt=ae[_0x29ff00(0x644)](function(_0x5c84e0,_0x3d1507){const _0x32f7fd=_0x29ff00;var _0x493f10=_0x5c84e0['icon'],_0x2b1078=_0x5c84e0['id'],_0x527b34=_0x5c84e0[_0x32f7fd(0x39a)],_0x2a0011=_0x5c84e0[_0x32f7fd(0x30f)],_0x490e3b=Ls(_0x5c84e0,['icon','id',_0x32f7fd(0x39a),'extend']),_0x52efc1=_0x32f7fd(0x2fb)[_0x32f7fd(0x2c9)](_0x2b1078,'\x20')[_0x32f7fd(0x2c9)](_0x527b34||'')[_0x32f7fd(0x3f5)](),_0xc265ce=ae[_0x32f7fd(0x5e3)]('_'[_0x32f7fd(0x2c9)]($s()));return bi(_0x493f10,''[_0x32f7fd(0x2c9)](_0x2b1078),{'defIds':_0x493f10[_0x32f7fd(0x666)],'idSuffix':_0xc265ce['current']},ee({'ref':_0x3d1507,'className':_0x52efc1},_0x490e3b),_0x2a0011);});function bi(_0x20b064,_0x12bcfa,_0x380f1e,_0x119019,_0x18f7e8){const _0x560733=_0x29ff00;return ae[_0x560733(0x1e5)](_0x20b064[_0x560733(0x5ca)],ee(ee({'key':_0x12bcfa},xs(_0x20b064,_0x380f1e,_0x18f7e8)),_0x119019),(js(_0x20b064,_0x380f1e)['children']||[])[_0x560733(0x4db)](function(_0x33ff71,_0x550895){const _0x25cb3d=_0x560733;return bi(_0x33ff71,''[_0x25cb3d(0x2c9)](_0x12bcfa,'-')['concat'](_0x20b064[_0x25cb3d(0x5ca)],'-')['concat'](_0x550895),_0x380f1e,void 0x0,_0x18f7e8);}));}function xs(_0x401117,_0x4a0abf,_0x5212ae){const _0x909d66=_0x29ff00;var _0x2615e1=ee({},_0x401117[_0x909d66(0x627)]);_0x5212ae!=null&&_0x5212ae[_0x909d66(0x552)]&&_0x2615e1[_0x909d66(0x53e)]===_0x909d66(0x552)&&(_0x2615e1['fill']=_0x5212ae[_0x909d66(0x552)]);var _0x27c26f=_0x4a0abf['defIds'];return!_0x27c26f||_0x27c26f[_0x909d66(0x5e7)]===0x0||(_0x401117[_0x909d66(0x5ca)]===_0x909d66(0x643)&&_0x2615e1[_0x909d66(0x359)]&&(_0x2615e1[_0x909d66(0x359)]=_0x2615e1[_0x909d66(0x359)]+_0x4a0abf[_0x909d66(0x3ab)]),Object[_0x909d66(0x432)](_0x2615e1)['forEach'](function(_0x519d34){const _0x593998=_0x909d66;var _0x57d2ea=_0x519d34[0x0],_0x5a8d7b=_0x519d34[0x1];typeof _0x5a8d7b=='string'&&(_0x2615e1[_0x57d2ea]=_0x5a8d7b[_0x593998(0x43e)](/url\(#(.*)\)/,_0x593998(0x54e)[_0x593998(0x2c9)](_0x4a0abf[_0x593998(0x3ab)],')')));})),_0x2615e1;}function js(_0x3995de,_0x9573c0){const _0x50f95e=_0x29ff00;var _0x4f0ac0,_0x5ce180=_0x9573c0[_0x50f95e(0x666)];return!_0x5ce180||_0x5ce180[_0x50f95e(0x5e7)]===0x0?_0x3995de:_0x3995de[_0x50f95e(0x5ca)]===_0x50f95e(0x56a)&&(!((_0x4f0ac0=_0x3995de[_0x50f95e(0x1fd)])===null||_0x4f0ac0===void 0x0)&&_0x4f0ac0[_0x50f95e(0x5e7)])?ee(ee({},_0x3995de),{'children':_0x3995de[_0x50f95e(0x1fd)]['map'](function(_0x27c3a9){const _0x57b6b5=_0x50f95e;return typeof _0x27c3a9[_0x57b6b5(0x627)]['id']==_0x57b6b5(0x291)&&_0x5ce180&&_0x5ce180['indexOf'](_0x27c3a9['attrs']['id'])>-0x1?ee(ee({},_0x27c3a9),{'attrs':ee(ee({},_0x27c3a9[_0x57b6b5(0x627)]),{'id':_0x27c3a9[_0x57b6b5(0x627)]['id']+_0x9573c0[_0x57b6b5(0x3ab)]})}):_0x27c3a9;})}):_0x3995de;}function $s(){const _0x2c5cd7=_0x29ff00;return Math[_0x2c5cd7(0x581)]()[_0x2c5cd7(0x3ef)](0x24)[_0x2c5cd7(0x1da)](0x2,0x8);}Pt[_0x29ff00(0x580)]='UniverIcon';var Hs={'tag':'svg','attrs':{'fill':_0x29ff00(0x63c),'viewBox':'0\x200\x2016\x2016','width':_0x29ff00(0x295),'height':_0x29ff00(0x295)},'children':[{'tag':'g','attrs':{'clipPath':_0x29ff00(0x370)},'children':[{'tag':_0x29ff00(0x683),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x29ff00(0x5f9),'strokeLinejoin':_0x29ff00(0x5f9),'strokeWidth':1.2}}]},{'tag':_0x29ff00(0x56a),'attrs':{},'children':[{'tag':_0x29ff00(0x253),'attrs':{'id':_0x29ff00(0x1db)},'children':[{'tag':_0x29ff00(0x683),'attrs':{'fill':_0x29ff00(0x29f),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x29ff00(0x1db)]},Ti=ae[_0x29ff00(0x644)](function(_0x17f6e2,_0x14538d){const _0x3fe1bf=_0x29ff00;return ae[_0x3fe1bf(0x1e5)](Pt,Object[_0x3fe1bf(0x306)]({},_0x17f6e2,{'id':_0x3fe1bf(0x5fa),'ref':_0x14538d,'icon':Hs}));});Ti[_0x29ff00(0x580)]=_0x29ff00(0x648);var Bs={'tag':_0x29ff00(0x35f),'attrs':{'fill':_0x29ff00(0x63c),'viewBox':'0\x200\x2017\x2016','width':_0x29ff00(0x295),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x29ff00(0x683),'attrs':{'stroke':_0x29ff00(0x4cd),'d':_0x29ff00(0x235),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x29ff00(0x56a),'attrs':{},'children':[{'tag':_0x29ff00(0x253),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x29ff00(0x683),'attrs':{'fill':_0x29ff00(0x29f),'d':_0x29ff00(0x489),'transform':_0x29ff00(0x48c)}}]}]}],'defIds':[_0x29ff00(0x1e8)]},Ri=ae[_0x29ff00(0x644)](function(_0x3e10f1,_0x2560ef){const _0x2afa87=_0x29ff00;return ae['createElement'](Pt,Object['assign']({},_0x3e10f1,{'id':_0x2afa87(0x265),'ref':_0x2560ef,'icon':Bs}));});Ri['displayName']=_0x29ff00(0x1cb);function yi(_0x8921ca){const _0x5920d7=_0x29ff00;var _0x32490b,_0x561685,_0x42931a='';if(typeof _0x8921ca=='string'||typeof _0x8921ca==_0x5920d7(0x36b))_0x42931a+=_0x8921ca;else{if(typeof _0x8921ca=='object'){if(Array['isArray'](_0x8921ca)){var _0x1dc081=_0x8921ca[_0x5920d7(0x5e7)];for(_0x32490b=0x0;_0x32490b<_0x1dc081;_0x32490b++)_0x8921ca[_0x32490b]&&(_0x561685=yi(_0x8921ca[_0x32490b]))&&(_0x42931a&&(_0x42931a+='\x20'),_0x42931a+=_0x561685);}else{for(_0x561685 in _0x8921ca)_0x8921ca[_0x561685]&&(_0x42931a&&(_0x42931a+='\x20'),_0x42931a+=_0x561685);}}}return _0x42931a;}function ks(){const _0x2da0c7=_0x29ff00;for(var _0x1559af,_0x365fda,_0x48d60a=0x0,_0x380ce4='',_0x3f8c98=arguments[_0x2da0c7(0x5e7)];_0x48d60a<_0x3f8c98;_0x48d60a++)(_0x1559af=arguments[_0x48d60a])&&(_0x365fda=yi(_0x1559af))&&(_0x380ce4&&(_0x380ce4+='\x20'),_0x380ce4+=_0x365fda);return _0x380ce4;}const Ws=_0x29ff00(0x51d),Fs=_0x29ff00(0x4de),Vs=_0x29ff00(0x59f),Gs=_0x29ff00(0x274),Ys=_0x29ff00(0x35b),Me={'onlineStatusIcon':Ws,'onlineStatusTitle':Fs,'onlineStatus':Vs,'online':Gs,'offline':Ys};function Ks(_0x4b5f97){const _0x14207c=_0x29ff00;switch(_0x4b5f97){case q['OFFLINE']:return _0x14207c(0x1d7);case q[_0x14207c(0x2df)]:return _0x14207c(0x321);case q[_0x14207c(0x339)]:return _0x14207c(0x22b);case q[_0x14207c(0x3d4)]:return _0x14207c(0x3c8);case q[_0x14207c(0x505)]:case q[_0x14207c(0x290)]:return _0x14207c(0x2ac);case q[_0x14207c(0x301)]:case q[_0x14207c(0x1c5)]:return _0x14207c(0x3b6);}}function Oi(_0x2d0fef){const _0x39f27c=_0x29ff00,{status$:_0x1f68d0}=_0x2d0fef,_0x47c9e5=te[_0x39f27c(0x25b)](_0x1f68d0,q[_0x39f27c(0x3d4)]),_0x3d204f=a['useDependency'](a['LocaleService']),_0x4589eb=a[_0x39f27c(0x2af)](exports['CollaborationSessionService']),_0x8aafcf=_0x47c9e5!==q[_0x39f27c(0x548)],_0x1a34e5=_0x3d204f['t'](Ks(_0x47c9e5)),_0x1d9975=ks(Me[_0x39f27c(0x549)],{[Me['online']]:_0x8aafcf,[Me['offline']]:!_0x8aafcf}),_0x3a7de4=_0x8aafcf?ge['jsx'](Ri,{}):ge[_0x39f27c(0x3dd)](Ti,{}),_0x360e5e=ae[_0x39f27c(0x3a3)](()=>{_0x8aafcf||_0x4589eb['reconnect']();},[_0x8aafcf,_0x4589eb]);function _0x54c19f(){const _0x56a685=_0x39f27c;return ge['jsxs'](_0x56a685(0x52c),{'className':_0x1d9975,'onClick':_0x360e5e,'children':[ge[_0x56a685(0x3dd)](_0x56a685(0x52c),{'className':Me['onlineStatusIcon'],'children':_0x3a7de4}),ge['jsx']('div',{'className':Me[_0x56a685(0x42a)],'children':_0x1a34e5})]});}return _0x8aafcf?_0x54c19f():ge[_0x39f27c(0x3dd)](Ce['Tooltip'],{'title':_0x3d204f['t'](_0x39f27c(0x65d)),'children':_0x54c19f()});}var qs=Object[_0x29ff00(0x64a)],zs=Object['getOwnPropertyDescriptor'],Xs=(_0x41afc9,_0xa79fb4,_0x118243,_0x290294)=>{const _0x48cbee=_0x29ff00;for(var _0x5fb287=_0x290294>0x1?void 0x0:_0x290294?zs(_0xa79fb4,_0x118243):_0xa79fb4,_0x45468b=_0x41afc9[_0x48cbee(0x5e7)]-0x1,_0x854c1f;_0x45468b>=0x0;_0x45468b--)(_0x854c1f=_0x41afc9[_0x45468b])&&(_0x5fb287=(_0x290294?_0x854c1f(_0xa79fb4,_0x118243,_0x5fb287):_0x854c1f(_0x5fb287))||_0x5fb287);return _0x290294&&_0x5fb287&&qs(_0xa79fb4,_0x118243,_0x5fb287),_0x5fb287;},$e=(_0x588346,_0x4caadd)=>(_0x5dc16e,_0x407f55)=>_0x4caadd(_0x5dc16e,_0x407f55,_0x588346);exports[_0x29ff00(0x4b2)]=class extends a[_0x29ff00(0x331)]{constructor(_0x3c5496,_0x415880,_0x4cfedf,_0x372251){const _0x505e2d=_0x29ff00;super(),I(this,'_status$',new A[(_0x505e2d(0x26c))](q[_0x505e2d(0x3d4)])),(this[_0x505e2d(0x600)]=_0x3c5496,this[_0x505e2d(0x646)]=_0x415880,this[_0x505e2d(0x1c1)]=_0x4cfedf,this[_0x505e2d(0x421)]=_0x372251,this[_0x505e2d(0x633)](),this[_0x505e2d(0x550)]());}['_initStatusListener'](){const _0xbd2d90=_0x29ff00;this[_0xbd2d90(0x665)](this[_0xbd2d90(0x600)][_0xbd2d90(0x200)][_0xbd2d90(0x619)](A[_0xbd2d90(0x53a)](()=>{const _0x194e10=_0xbd2d90,_0x25520f=this[_0x194e10(0x600)][_0x194e10(0x498)]();return _0x25520f?this['_collaborationController'][_0x194e10(0x388)](_0x25520f[_0x194e10(0x621)]()):A['of'](null);}),A[_0xbd2d90(0x53a)](_0x53ad1d=>_0x53ad1d?_0x53ad1d[_0xbd2d90(0x405)]:A['of'](q[_0xbd2d90(0x3d4)])))[_0xbd2d90(0x58f)](_0x377113=>{const _0x212c14=_0xbd2d90;this[_0x212c14(0x1f8)][_0x212c14(0x49f)](_0x377113);}));}['_initStatusComponent'](){const _0x242dec=_0x29ff00;this['disposeWithMe'](this['_uiPartsService'][_0x242dec(0x4c0)](te['BuiltInUIPart']['HEADER_MENU'],()=>a[_0x242dec(0x298)](Js({'status$':this['_status$'][_0x242dec(0x4c6)]()}),this[_0x242dec(0x1c1)])));}},exports[_0x29ff00(0x4b2)]=Xs([$e(0x0,a[_0x29ff00(0x37f)]),$e(0x1,te[_0x29ff00(0x485)]),$e(0x2,a['Inject'](a[_0x29ff00(0x615)])),$e(0x3,a['Inject'](exports[_0x29ff00(0x323)]))],exports['DesktopCollaborationStatusDisplayController']);function Js(_0x5e8dba){const {status$:_0x2c8777}=_0x5e8dba;return function(){const _0x1cb4f6=_0x2f26;return ge[_0x1cb4f6(0x3dd)](Oi,{'status$':_0x2c8777});};}const wt=a[_0x29ff00(0x369)]('uni.network.url-service');var Zs=Object[_0x29ff00(0x64a)],Qs=Object[_0x29ff00(0x316)],er=(_0x517c2c,_0x5389a0,_0x2456f7,_0x553e80)=>{const _0x573ce9=_0x29ff00;for(var _0xc67ac=_0x553e80>0x1?void 0x0:_0x553e80?Qs(_0x5389a0,_0x2456f7):_0x5389a0,_0xe68ee9=_0x517c2c[_0x573ce9(0x5e7)]-0x1,_0x381159;_0xe68ee9>=0x0;_0xe68ee9--)(_0x381159=_0x517c2c[_0xe68ee9])&&(_0xc67ac=(_0x553e80?_0x381159(_0x5389a0,_0x2456f7,_0xc67ac):_0x381159(_0xc67ac))||_0xc67ac);return _0x553e80&&_0xc67ac&&Zs(_0x5389a0,_0x2456f7,_0xc67ac),_0xc67ac;},Re=(_0x591441,_0x1776e6)=>(_0x3d30cc,_0x42e0b9)=>_0x1776e6(_0x3d30cc,_0x42e0b9,_0x591441);exports[_0x29ff00(0x61f)]=class extends a[_0x29ff00(0x4b0)]{constructor(_0x116520,_0x23e80b,_0x372a14,_0x4c9755,_0x12dbbe,_0x14112b){const _0x2808d=_0x29ff00;super(),this[_0x2808d(0x5ec)]=_0x116520,this[_0x2808d(0x328)]=_0x23e80b,this[_0x2808d(0x5b4)]=_0x372a14,this['_localCacheService']=_0x4c9755,this[_0x2808d(0x394)]=_0x12dbbe,_0x14112b?_0x14112b==null||_0x14112b[_0x2808d(0x31e)]()['then'](()=>this[_0x2808d(0x5c4)]()):(this[_0x2808d(0x328)]['debug'](_0x2808d(0x36f),_0x2808d(0x24a)),this['_init']());}async[_0x29ff00(0x5c4)](){const _0x52b8e3=_0x29ff00,_0x3ba6bc=this[_0x52b8e3(0x5ec)][_0x52b8e3(0x56c)](_0x52b8e3(0x4f6)),_0x58eb45=this['_urlService'][_0x52b8e3(0x56c)](_0x52b8e3(0x2eb));if(!_0x3ba6bc||!_0x58eb45){this['_logService'][_0x52b8e3(0x226)]('[DataLoaderController]',_0x52b8e3(0x4f2));return;}switch(Number(_0x58eb45)){case ne[_0x52b8e3(0x3d0)]:{const _0x4f97b7=await this[_0x52b8e3(0x40f)](_0x3ba6bc);this[_0x52b8e3(0x26b)](_0x4f97b7);break;}case ne[_0x52b8e3(0x4f0)]:{await this[_0x52b8e3(0x599)](_0x3ba6bc);break;}default:{this[_0x52b8e3(0x328)][_0x52b8e3(0x27a)](_0x52b8e3(0x36f),_0x52b8e3(0x556));break;}}}async[_0x29ff00(0x26b)](_0x17c2f8){const _0x2c2419=_0x29ff00;await this[_0x2c2419(0x5ad)](_0x17c2f8),_0x17c2f8[_0x2c2419(0x342)][_0x2c2419(0x619)](A[_0x2c2419(0x264)](this[_0x2c2419(0x2b6)]))[_0x2c2419(0x58f)](_0x1c6bba=>{const _0x4c4cc8=_0x2c2419;_0x1c6bba&&this[_0x4c4cc8(0x2e6)](_0x1c6bba);}),this[_0x2c2419(0x5ec)]['urlChange$'][_0x2c2419(0x619)](A['takeUntil'](this[_0x2c2419(0x2b6)]))[_0x2c2419(0x58f)](()=>this['_updateSubUnitFromURLParams'](_0x17c2f8));}[_0x29ff00(0x2e6)](_0xa7dedd,_0x141737=!0x1){const _0x1aae71=_0x29ff00,_0x4a83d4=this[_0x1aae71(0x5ec)][_0x1aae71(0x56c)]('subunit');_0xa7dedd[_0x1aae71(0x360)]()!==_0x4a83d4&&this[_0x1aae71(0x5ec)][_0x1aae71(0x4c7)](_0x1aae71(0x3c5),_0xa7dedd[_0x1aae71(0x360)](),_0x141737);}async['_updateSubUnitFromURLParams'](_0x303b7f){const _0xc14a4f=_0x29ff00;var _0x1f44b3;const _0x14c417=this[_0xc14a4f(0x5ec)][_0xc14a4f(0x56c)](_0xc14a4f(0x3c5));if(!_0x14c417||!_0x303b7f[_0xc14a4f(0x50c)](_0x14c417)){const _0x5ea3cc=_0x303b7f['getUnhiddenWorksheets']()[0x0],_0xaa854c=_0x303b7f['getSheetBySheetId'](_0x5ea3cc);if(!_0xaa854c)return;this[_0xc14a4f(0x2e6)](_0xaa854c,!0x0),await this[_0xc14a4f(0x5b4)][_0xc14a4f(0x645)](k[_0xc14a4f(0x3e3)]['id'],{'unitId':_0x303b7f[_0xc14a4f(0x621)](),'subUnitId':_0x5ea3cc});return;}((_0x1f44b3=_0x303b7f[_0xc14a4f(0x42c)]())==null?void 0x0:_0x1f44b3[_0xc14a4f(0x360)]())!==_0x14c417&&await this[_0xc14a4f(0x5b4)][_0xc14a4f(0x645)](k[_0xc14a4f(0x3e3)]['id'],{'unitId':_0x303b7f['getUnitId'](),'subUnitId':_0x14c417});}async[_0x29ff00(0x40f)](_0x2e10ff){const _0x5c5e56=_0x29ff00;let _0x59e430=0x0;const _0x4290b7=await this[_0x5c5e56(0x34f)][_0x5c5e56(0x26d)](_0x2e10ff);return _0x4290b7&&(_0x4290b7[_0x5c5e56(0x247)]||_0x4290b7[_0x5c5e56(0x219)]['length']!==0x0)&&(_0x59e430=_0x4290b7[_0x5c5e56(0x3a4)]),_0x59e430===0x0&&this[_0x5c5e56(0x328)][_0x5c5e56(0x226)](_0x5c5e56(0x36f),_0x5c5e56(0x204)),this['_snapshotService'][_0x5c5e56(0x30d)](_0x2e10ff,_0x59e430);}async[_0x29ff00(0x599)](_0x4dfe5e){const _0x6dcf8=_0x29ff00;let _0x3cb721=0x0;const _0x3e7faa=await this['_localCacheService']['loadOfflineData'](_0x4dfe5e);return _0x3e7faa&&(_0x3e7faa[_0x6dcf8(0x247)]||_0x3e7faa['mutations'][_0x6dcf8(0x5e7)]!==0x0)&&(_0x3cb721=_0x3e7faa['rev']),_0x3cb721===0x0&&this['_logService']['debug'](_0x6dcf8(0x36f),_0x6dcf8(0x204)),this['_snapshotService'][_0x6dcf8(0x517)](_0x4dfe5e,_0x3cb721);}},exports[_0x29ff00(0x61f)]=er([Re(0x0,wt),Re(0x1,a['ILogService']),Re(0x2,a[_0x29ff00(0x587)]),Re(0x3,a[_0x29ff00(0x493)](exports[_0x29ff00(0x46a)])),Re(0x4,a[_0x29ff00(0x493)](p[_0x29ff00(0x63f)])),Re(0x5,a[_0x29ff00(0x437)](Bi['IRemoteInstanceService']))],exports[_0x29ff00(0x61f)]);var tr=Object[_0x29ff00(0x64a)],ir=Object[_0x29ff00(0x316)],nr=(_0x145082,_0x2e52b0,_0x1260f5,_0x5b6cb9)=>{const _0x2ede02=_0x29ff00;for(var _0x448313=_0x5b6cb9>0x1?void 0x0:_0x5b6cb9?ir(_0x2e52b0,_0x1260f5):_0x2e52b0,_0x341445=_0x145082[_0x2ede02(0x5e7)]-0x1,_0x526168;_0x341445>=0x0;_0x341445--)(_0x526168=_0x145082[_0x341445])&&(_0x448313=(_0x5b6cb9?_0x526168(_0x2e52b0,_0x1260f5,_0x448313):_0x526168(_0x448313))||_0x448313);return _0x5b6cb9&&_0x448313&&tr(_0x2e52b0,_0x1260f5,_0x448313),_0x448313;},Vt=(_0x4bf917,_0x50591f)=>(_0x1d1a69,_0xc68603)=>_0x50591f(_0x1d1a69,_0xc68603,_0x4bf917);const sr='DEFAULT_FILE_NAME',rr=_0x29ff00(0x33f);let Ge=class extends a['Disposable']{constructor(_0x53aadc,_0x3a64f3){const _0x19cdbb=_0x29ff00;super(),this[_0x19cdbb(0x600)]=_0x53aadc,this[_0x19cdbb(0x4ea)]=_0x3a64f3,this[_0x19cdbb(0x5c4)]();}[_0x29ff00(0x5c4)](){const _0x2a2e19=_0x29ff00;this['disposeWithMe'](this['_univerInstanceService'][_0x2a2e19(0x200)][_0x2a2e19(0x58f)](()=>{const _0x315a64=_0x2a2e19;var _0x40c83d;const _0x354078=this['_univerInstanceService']['getFocusedUnit']();let _0x5b0c9c=(_0x40c83d=this['_configService'][_0x315a64(0x1ea)](sr))!=null?_0x40c83d:rr;_0x354078 instanceof a[_0x315a64(0x2d0)]&&(_0x5b0c9c=_0x354078['name']),document['title']=_0x5b0c9c;}));}};Ge=nr([Vt(0x0,a['IUniverInstanceService']),Vt(0x1,a[_0x29ff00(0x64d)])],Ge);var or=Object[_0x29ff00(0x64a)],ar=Object[_0x29ff00(0x316)],cr=(_0x20c423,_0x193825,_0x439adf,_0x2f2aa9)=>{const _0x5453c5=_0x29ff00;for(var _0x3e0016=_0x2f2aa9>0x1?void 0x0:_0x2f2aa9?ar(_0x193825,_0x439adf):_0x193825,_0xda4f75=_0x20c423[_0x5453c5(0x5e7)]-0x1,_0x1a69f8;_0xda4f75>=0x0;_0xda4f75--)(_0x1a69f8=_0x20c423[_0xda4f75])&&(_0x3e0016=(_0x2f2aa9?_0x1a69f8(_0x193825,_0x439adf,_0x3e0016):_0x1a69f8(_0x3e0016))||_0x3e0016);return _0x2f2aa9&&_0x3e0016&&or(_0x193825,_0x439adf,_0x3e0016),_0x3e0016;},ct=(_0x5e353b,_0x3fd0cf)=>(_0x361e9d,_0x52e994)=>_0x3fd0cf(_0x361e9d,_0x52e994,_0x5e353b);let Ye=class{constructor(_0x30a2ce,_0x5d4afb,_0x30236e){const _0x50ba2c=_0x29ff00;this[_0x50ba2c(0x4ea)]=_0x30a2ce,this['_httpService']=_0x5d4afb,this[_0x50ba2c(0x649)]=_0x30236e,this[_0x50ba2c(0x334)]();}[_0x29ff00(0x334)](){const _0x11df2c=_0x29ff00;this[_0x11df2c(0x620)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x3367d4,_0x512d9e)=>_0x512d9e(_0x3367d4)[_0x11df2c(0x619)](A['concatMap'](async _0x520ace=>{const _0x4bcc28=_0x11df2c,_0x3c1f1d=_0x520ace;if(_0x3c1f1d[_0x4bcc28(0x2be)]===0x191&&window[_0x4bcc28(0x3e5)](this[_0x4bcc28(0x649)]['t'](_0x4bcc28(0x4bb)))){const _0x91bdbd=window[_0x4bcc28(0x61d)](window[_0x4bcc28(0x60d)]['href']);window[_0x4bcc28(0x60d)][_0x4bcc28(0x244)]=this[_0x4bcc28(0x60b)]()+_0x4bcc28(0x4c1)+_0x91bdbd;}return _0x3c1f1d;}))});}['_getLoginPath'](){const _0x3728e2=_0x29ff00;var _0x2fee53,_0x21d9ec;const _0x431409=this['_configService']['getConfig'](hi),_0x2d7acd=this['_configService'][_0x3728e2(0x1ea)](Q);return(_0x21d9ec=(_0x2fee53=_0x2d7acd==null?void 0x0:_0x2d7acd['loginUrlKey'])!=null?_0x2fee53:_0x431409)!=null?_0x21d9ec:Ji;}};Ye=cr([ct(0x0,a[_0x29ff00(0x64d)]),ct(0x1,a[_0x29ff00(0x493)](z['HTTPService'])),ct(0x2,a['Inject'](a[_0x29ff00(0x430)]))],Ye);var lr=Object['defineProperty'],hr=Object[_0x29ff00(0x316)],_r=(_0x5966d0,_0x487395,_0x46c0d0,_0x3cf26c)=>{for(var _0x50f6ae=_0x3cf26c>0x1?void 0x0:_0x3cf26c?hr(_0x487395,_0x46c0d0):_0x487395,_0x5c1597=_0x5966d0['length']-0x1,_0x351941;_0x5c1597>=0x0;_0x5c1597--)(_0x351941=_0x5966d0[_0x5c1597])&&(_0x50f6ae=(_0x3cf26c?_0x351941(_0x487395,_0x46c0d0,_0x50f6ae):_0x351941(_0x50f6ae))||_0x50f6ae);return _0x3cf26c&&_0x50f6ae&&lr(_0x487395,_0x46c0d0,_0x50f6ae),_0x50f6ae;},Gt=(_0x4b40f7,_0x267177)=>(_0x4bd7c5,_0x7a8a01)=>_0x267177(_0x4bd7c5,_0x7a8a01,_0x4b40f7);function _0x595e(){const _0x1b99cf=['generateRandomId','_tryEnsureSocket','INGEST','post','_collabCursorController','loadDoc','addObject','hide','418748mXHXMQ','_removeCollabCursors','RemoveRowCommandId','univer-online-status-icon','_docClipboardService','authzUrl','onRemoteRej','_keySchedule','_undoStacks','_getAPIPrefixPath','startTime','sin','getDocRanges','createInstance','sessionTicket','OpenSSL','FAIL','userID','div','VIEW_MAIN','saveSnapshot','hasher','lib','_lockTransition','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','[UniverCollaborationClientPlugin]','Subject','_isPermissionRej','list','_transformStack','_reverseMap','_HTTPService','switchMap','now','subscribeEvent','clamp','fill','compose','randomUUID','@univerjs/engine-render','_roomMembers','_substituteUndoStack','labelPosition','Hasher','DisposableCollection','getMergeData','OFFLINE','onlineStatus','_minBufferSize','deserializeRangeWithSheet','conflict.content','debounceTime','url(#$1','getTime','_initStatusListener','update','colorChannel1','unitID','_removeRoom','/collaborator','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UnitSnapshot','_DEC_XFORM_MODE','Undefined','CHANGESET_REJ','eventID','FileId','body','createEncryptor','getCollabEntity','HmacMD5','_initUnitPermissionChange','serializeRangeWithSheet','UNAUTHENTICATED','startColumn','WebURLService','133872AEvWyF','apply','_getRedoStack','DependentOn','defs','COMPRESS_MUTATION_APPLY','getParam','LEAVE','collab-text-anchor-','VIEWPORT_KEY','searchParams','telemetry\x20info\x20is\x20not\x20initialized','ONLINE','baseRev','OTHER_CLIENTS_EDITING','LOCAL_CACHE_INTERVAL','toRgbString','listCollaborators','removeMember','SetDocZoomRatioOperation','_onRecvEvent','LICENSE_IMPORT_SIZE_EXCEEDED','_unitOnClients','iterations','StreamCipher','COMPRESS_MUTATION_SEND','displayName','random','HttpExport','_getSnapshotAPIPrefix','onMissedChangesetFetched','sid','addClipboardHook','ICommandService','ceil','collaboration-session-retry','_http','find','/universer-api/authz','WorkbookEditablePermission','initWorkbookPermissionChange','subscribe','_permissionService','/universer-api/oidc/authpage','SetTextSelectionsOperation','listRoles','enableAuthServer','registerHTTPInterceptor','_initCommandExecutedListener','encode','_getSendChangesetTimeout','_loadDoc','RevisionService','handleInsertRow','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','byteOffset','_mode','univer-online-status','@univerjs/engine-formula','USERS_LEAVE','image/png','Encryptor','exports','_scheduleSaving','Rectangle','sheetId','function','_waitCount','lineTo','_ws','[PendingState]:\x20received\x20acknowledgement.','_updateSubUnitFromURLParams','\x20-\x20','appendMutation','_sender','getCurrentUnitForType','getVpScrollXYInfoByPosToVp','ImageSourceType','_commandService','session.connection-failed','_cursorShapes','IRenderManagerService','getMember','resize','isTransformMutationsWithChangesetSuccess','jsxs','USERS_ENTER','randomBytes','action','then','split','_incrementRevisionNumber','saveOfflineData','clone','_init','DeleteRangeMoveUpCommandId','HEARTBEAT','setCurrentUser','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','SheetCollabCursorShape','tag','_drawAnchor','MSG_FOR_ERROR','SheetCollaborationEntity','UniverInstanceType','UNIVER_PROJECT','_onUserLeave','_state','_retryConnectingTimer','originalMeta','_toggleOnline','/allowed','getCurrentSelections','hasOwnProperty','getCurrentUser','_render','ERROR_IMAGE','joinEvent','/universer-api/snapshot','DocCollaborationEntity','_replaceFileID','[CollaborationSessionService]:\x20socket\x20error','SHA1','LOGIN_URL_KEY','editing\x20status\x20changed\x20to','useRef','@univerjs/docs','_onConnectionOpen','dispose','length','handleIRemoveRow','_roomMembers$','CollaborationSessionService','_docTransformStateCacheService','_urlService','merge','AuthzIoHttpService','transformRemoteChangeset','fetchThroughInterceptors','AUTHZ_URL_KEY','YUUMI_UNABLE_LOAD_URL','getOffsetConfig','getInterceptPoints','_compressMutationService','hostname','_getSaveTimeout','bottom','round','off-line-single','_resendWithTimeout','_unitStatus','defaultProps','revision','rng','_univerInstanceService','_labelPosition','collaboration-client.config','_hasher','filter','IAuthzIoService','Rect','editingUnit','parseProtocolChangeset','UNKNOWN_CODE','JSONX','_getLoginPath','rxjs','location','objectActions','UserManagerService','_scheduleHeartbeat','_updateLocalCache','_notificationService','_sheetSkeletonManagerService','_onConnectionFailed','Injector','_initRequestHeader','Module','_joinRoom','pipe','JOIN_ROOM_FULL','PERSON','fromEvent','encodeURIComponent','black','DataLoaderController','_httpService','getUnitId','_timeoutTimer','createCollaborator','RefRangeService','UNIVER_SLIDE','blockSize','attrs','Base','target','size','createSocket','_name','SNAPSHOT_HAS_BEEN_REMOVED','getItem','_retryCount','/universer-api/stream/file/upload','NoPadding','[OfflineState]:\x20received\x20acknowledgement.','_initStatusComponent','clearInterval','_getDownloadEndpointURL','UniverCollaborationPlugin','_setupBeforeClosingHandler','UNKNOWN_CMD','_eventUnsubscribe','UniverCollaborationClientPlugin','COMPLETION_FINISHED','none','11802990PhpVYZ','_transformIMECache','SnapshotService','isEditing','clear','close$','use','forwardRef','executeCommand','_uiPartsService','roomMembers$','OffLineSingle','localeService','defineProperty','DocSelectionManagerService','objectType','IConfigService','deepClone','UNDEFINED','objects','unpad','_unlockTransition','_collabSessionService','_fetchMissChangesets','origin','_cachedData','image/jpg','BlockCipherMode','default','_onLocalMutation','_applyRemoteChangeset','collaborators','collab-client.tooltip.reconnect','stringify','...','_updateLocalCursor','InsertColCommandId','ImageUploadStatusType','HMAC','_doCryptBlock','disposeWithMe','defIds','InsertRangeMoveRightCommandId','_colorIndex','EvpKDF','startsWith','_resendTimeout','_clearOtherTimers','onTransformState','deserializeToCombResponse','getStateCache','IBeforeCloseService','BlockCipher','InsertSheetMutation','_transitionLocked','Shape','result','transformByState','_disableEditing','socketService','CollaborationSession','_startDocCollabCursor','Malformed\x20UTF-8\x20data','method','salt','newValue','_assignedColors','_replayCachedMutations','file','updateCollaborator','path','changesets','_append','onSendChangeset','_doProcessBlock','CommandType','collab-text-range-','hovered','_syncEditingCollabCursorService','_clearTimeoutTimer','newCsEvent','shouldCloseConn','max','fromEventSubject','mapDocumentTypeToUniverType','objectID','[PendingState]:\x20received\x20rejection.','HTTPService','subject','_beforeCloseService','_injector','_handleEvent','error$','parse','PENDING','indexOf','snapshot','undoState','_tryReconnect','getUnitOnRev','OnLineSingle','_docStateChangeManagerService','ENSURE_SNAPSHOT_EXECUTION','_acknowledgedAwaitingChangeset','INVALID_ARGUMENT','_getCurrentRevision','_substituteRedoStack','state','_initDependencies','_transformSelections','call','MemberService','collabStatus.offline','words','createDecryptor','substring','off-line-single_clip0_910_343','_snapshotServerService','COLLAB_SUBMIT_CHANGESET_URL_KEY','addImageSourceCache','fromCharCode','measureText','_id','WordArray','_onCursorUpdate','_color','createElement','_clearHeartbeatTimer','/universer-api/snapshot/','on-line-single_clip0_910_349','ITelemetryService','getConfig','_collaborationSessionService','_lastPointer','synced','encryptBlock','&source=','_updateState','getRelativeToViewportCoord','_disabled','APPLY_REJECT','isInternalEditorID','gold400','unknown','_docSyncEditingCollabCursorService','_status$','HEARTBEAT_INTERVAL_KEY','isTransformMutationsWithChangesetFailure','top','getUndoRedoMutationParamsCache','children','prototype','getUnitStatus$','focused$','_type','_stopTelemetryCollaborationNewChangeset','onMissingChangesets','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','onlyLocal','CONNECTOR_DATA_TOO_LARGE','deleteCollaborator','_nDataBytes','_removeClearOtherTimer','set','handleIRemoveCol','getSheetObject','current','endColumn','_localeService','SheetsSelectionsService','fillStyle','_onRemoteChangeset','image/jpeg','source','JOIN_ROOM_NOT_ALLOWED','LIVESHARE_TERMINATE','_xformMode','COLLAB_CLIENT_CONFIG_KEY','mutations','_socketReady','unitId','_exhaustRemoteChangesetQueue','_getMergeRange','CollaborationEntity','YUUMI_SUBSCRIPTION_NOT_FOUND','_context','_entities','IDocClipboardService','_toggleOffline','__Key__','fetch_missing','debug','getRandomValues','react.element','DocSkeletonManagerService','commentUpdate$','collabStatus.fetchMiss','_candidateSocket','_onUserJoin','complete','_onCursorDelete','univer-pro.collaboration-client.single-active-unit-service','add','_startSheetCollabCursor','_saveTaskMap','Base64','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','handleDeleteRangeMoveLeft','_decreaseWaiting','SNAPSHOT_URL_KEY','m2Prime','CHANGESET_REVISION_CONFILICT','_entityInit$','YUUMI_RATE_OVER_LIMIT','registerOnClose','_getAPIPrefix','SetSelectionsOperation','SessionStatus','symbol','debounce','DocStateChangeManagerService','href','_event$','addEventListener','awaitingChangeset','imageSourceType','CHANGESET_ACK','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','unshift','ReplaySubject','_scheduleClearOtherTimer','_socketMessageSubscription','duration','_initCloseConn','crypto','CBC','clipPath','_localStorageService','assignAColorForMemberID','onPointerEnter$','session','21yLBCkT','CollaborationEvent','_saveCache','useObservable','readAsDataURL','code','roomMembers','_sendHeartbeatTimer','byteLength','_onCombEvent','decrypt','includes','takeUntil','on-line-single','_updateCollabCursors','reconnect','transformMutationsWithChangeset','_createInitialState','MoveRangeCommandId','_setupSubUnitSync','BehaviorSubject','loadOfflineData','saveChangeset','parseChangesetToProtocol','disposeUnit','collaboration.closeRoom','_members','_transformUndoRedoStack','univer-online','RECV','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_getScale','_cursorInfo$','getCoordByCell','error','message$','Unknown\x20user','NO_OTHER_CLIENTS_EDITING','wsSessionTicketUrl','Vector2','onRendered','IDLE','compute','_telemetryService','liveShareOperation','beginPath','470538fYcBqL','WebSocketService','$super','onTransformSelections','INTERNAL_ERROR','_onFetchMissResult','liveShareNewHost','_onJoinRoomEvent','setItem','1764AfHGhK','AWAITING_WITH_PENDING','string','_socketService','setStateCache','evenodd','1em','_telemetryInfo','_doReset','connectInjector','sessionStatus$','commentUpdateEvent','incrementRevOfUnit','reset','collabSubmitChangesetUrl','arc','#fff','COLLAB_SUBMIT_CHANGESET_URL','transformUndoRedo','for','_createHandler','_collaborationPaused','restore','TRANSFORM_CHANGE_OBSERVABLE_TYPE','onPointerMove$','_revisionService','_onRemoteACK','_send','triggerDblclick','collabStatus.syncing','HELLO','flatMap','useDependency','&to=','_initResize','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_nRounds','getViewport','rgba(255,\x20255,\x20255,\x200.01)','dispose$','_sessions','ALREADY_EXISTS','purple300','submit\x20changeset\x20error!','TOO_MANY_REQUESTS','application/json','MentionIoHttpService','status','_hideTimer','_invKeySchedule','transformSelections','SUCCUSS','copyFileMeta','_onConflict','_transformRemoteChangesetByStateCache','failed\x20to\x20apply\x20missed\x20changesets!','joinRsp','SUBMIT_CHANGESET','concat','_queuedRemoteChangesets','APPLY_PERMISSION_DENIED','UniverNetworkPlugin','name','CHANGESET_SHOULD_RETRY','repeat','Workbook','resend','avatar','__creator','_iKey','_singleActiveUnitService','HTTPRequest','getAllMembers','LocalUndoRedoService','disableLocalCache','APPLY_REVISION_CONFILICT','leaveEvent','onMouseMove','/rev/','setInterval','CONFLICT','getUnitType','mapTo','padding','getOwnPropertySymbols','msCrypto','_refRangeService','_updateURLWithCurrentState','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','@univerjs/sheets','registerRefRange','fromCollab','type','image/gif','_docTransformIMECacheService','SheetSkeletonManagerService','get','setConfig','_change$','_commentUpdate$','toggleOffline','column','NOT_FOUND','sequenceExecute','collaboratorID','pad','addObjects','_docSkeletonManagerService','univerjs-icon\x20univerjs-icon-','handleMoveRange','b64DecodeUnicode','getColor','sessionStatus','isPermissionRej','SYNCED','Tools','BASE64','pauseCollaboration','x-univer-host','assign','all','replaceDocRanges','getCurrentRevOfUnit','CommentService','_shapes','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','loadSheet','hidden','extend','transform','processBlock','exhaustSavingTask','LIVESHARE_NEW_HOST','with','c1Prime','getOwnPropertyDescriptor','sheets','show','_createInitialStateImpl','append','CompressMutationService','socket\x20open.','[CollaborationSessionService]','whenReady','[CollaborationUndoRedoService]','DocIMEInputManagerService','collabStatus.conflict','/object','CollaborationController','_onOffline','IUndoRedoService','values','_createSocketURL','_logService','syncEditingCollabCursor','_pendingMutations','getActiveRange','Fragment','_listenToOnlineEvent','headers','LICENSE_EXPORT_SIZE_EXCEEDED','_docTransformSelectionsService','Disposable','every','jiqing500','init','connection\x20error','pushState','_socket$','selections','FETCH_MISS','_submitChangeset','downloadEndpointUrl','_handleHover','_unitID','\x0aCurrent:\x20','Univer','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','Error','activeSheet$','resolve','RichTextEditingMutation','_userManagerService','snapshotServerUrl','_onRefRangeChange','HmacSHA1','finalize','setTimeout','react.fragment','@univerjs/docs-ui','_anchor','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_localCacheService','transformIMECache','INotificationService','ticket','_startTelemetryCollaborationNewChangeset','splice','some','doc.mutation.rich-text-editing','setShowComponents','UnitEmbedded','xlink:href','_iv','univer-offline','_online','ImageIoService','memberID','svg','getSheetId','findNodePositionByCharIndex','blue400','_throwTelemetryCollaborationNewChangeset','Could\x20not\x20dynamically\x20require\x20\x22','getTypeOfUnitDisposed$','updatePermissionPoint','width','[CollaborationState]:\x20apply\x20error!','createIdentifier','collaboration_new_changeset','number','RECT','_state$','cursorInfo$','[DataLoaderController]','url(#off-line-single_clip0_910_343)','visibilitychange','toDisposable','contains','CollaborationSocketService','color','height','JOINING','image/bmp','fetchMissingChangesets','enableSingleActiveInstanceLock','MD5','getSheetBlock','_session','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','IUniverInstanceService','DOC_RANGE_TYPE','react','_registerDependencies','10296GKdblt','substr','send','@univerjs/ui','collab-rect-range-','getCollabEntity$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','setUndoRedoMutationParamsCache','CipherParams','_drawRectRange','has','enc','ITransformService','Warning','makeDirty','_process','setActiveRange','_snapshotService','algo','onRemoteRetry','/fetchmissing?from=','IContextService','_onMessage','className','LOCAL_CACHE_INTERVAL_KEY','conflict.title','change$','socket$','currentSkeleton$','getDeserializedSheetBlock','forEach','LICENSE_DISTRO_REJECTED','useCallback','rev','InsertRangeMoveDownCommandId','getRangePointData','/universer-api/file/{fileID}/sign-url','stopTime','_doFinalize','text','idSuffix','collaboration-client.offline-data-not-saved','getUnit','SheetPermissionInitController','/block/','ciphertext','touchDependencies','signUrlServerUrl','UNIVER_UNKNOWN','conflict','_changesetReqId','collabStatus.synced','Plugin','min','onload','_heartbeatTimer','slice','push','delay','PERMISSION_DENIED','_waitForHeartbeatResponse','kdf','collaboration.single-unit.warning','#FFF','_anchorDot','_key','subunit','_getUploadFileURL','/universer-api/user/session-ticket','collabStatus.notCollab','_prevBlock','setShapeProps','_checkMissing','_scene','setWaitCount','abs','SNAPSHOT_INVALID_SNAPSHOT','UNIVER_SHEET','IPermissionService','throttleTime','_getAnchorBounding','NOT_COLLAB','Latin1','workbook','take','_changesetSessionId','@univerjs/telemetry','subUnitId','_hovered','delete','jsx','_executeRemoteChangeset','_commentService','LICENSE_MAX_UNITS_EXCEEDED','@univerjs-pro/collaboration','_cursor','SetWorksheetActivateCommand','drawWith','confirm','Utf8','fillRule','_createSocket','ivSize','registerRenderModule','data','cursorInfo','_imageSourceCache','selection','toString','onCommandExecuted','reduce','withCredentials','updateMember','getAncestorScale','trim','saveImage','create','floor','registerBeforeClose','[OfflineState]:\x20received\x20changeset.','onRemoteAck','join','SNAPSHOT_SERVER_URL_KEY','updatePermissionObjEvent','range','isArray','_ENC_XFORM_MODE','NEW_CHANGESETS','@univerjs/drawing','closePath','status$','_initMergeInterceptor','_hash','NodePositionConvertToRectRange','charCodeAt','getMemberID','[SyncedState]:\x20received\x20acknowledgement.','getRenderById','AES','_clearUndo','_loadSheet','UPDATE_PERMISSION_OBJ','EffectRefRangId','_createHmacHelper','RemoveColCommandId','FETCH_MISSING','runRefRangeMutations','_awaitingChangeset','CollaborationStatusDisplay','open$','UNRECOGNIZED','_cipher','collabCursorState$','SnapshotServerOverHTTPService','_clearLocalCache','BufferedBlockAlgorithm','_syncEditingCollabCursor','onTransformIME','_collaborationController','_sendHeartbeat','HEARTBEAT_TIMEOUT','history','key','ISnapshotServerService','_memberService','onTransformRemoteChangesetByIMECache','requireSession','onlineStatusTitle','LIVESHARE_FETCH_OPERATIONS','getActiveSheet','onStateChange','getValue','_scheduleTimestamp','LocaleService','resourceIDs','entries','_imageIoService','_getSessionTicket','UPDATE_CURSOR','online','Optional','ThemeService','_sessionStatus$','ILocalStorageService','getImage','transformMutation','row','replace','unit-cache-','/unit/','requestParams','encrypt','session.will-retry','csShouldRetryEvent','Decryptor','\x20to\x20','params','LIVESHARE_OPERATION','_transformService','UUID','currentTheme$','ws://127.0.0.1:8000/universer-api/comb/connect','SHOULD_CLOSE_CONN','reqId','redoState','[PendingState]:\x20unhandled\x20univer\x20type:\x20','ERROR_IMAGE_TYPE','closeSession','clearTimeout','[SyncedState]:\x20received\x20rejection.','getCollabCursors$','_transformStateCache','_handleHeartbeatEvent','format','_parse','transformStack\x20failed!','SEND_CHANGESET_TIMEOUT_KEY','sigBytes','_document','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','?size=','getTypeOfUnitAdded$','_data','_undoRedoService','getUniverSheetInstance','_range','_hover','_clearScheduledTask','_handler','_refreshCollabCursors','_transformPreviousActiveRange','LocalCacheService','onSyncEditingCollabCursor','/role','verdancy600','charAt','transformStateCache','_keyPriorReset','\x20in\x20_schedule.','replaceState','HEARTBEAT_TIMEOUT_KEY','8PpsTLa','m1Prime','ranges','COLLAB_WEB_SOCKET_URL_KEY','setAlpha','_textBubble','_showConflictNotification','_getCtorByUniverType','Cipher','_shouldReportTelemetry','_messageService','IMessageService','_onRemoteRejected','onStarting','enableOfflineEditing','_collabCursorState$','distinctUntilChanged','IUIPartsService','ref','[OfflineState]:\x20received\x20rejection.','save','M0\x200H16V16H0z','event$','_redoStacks','translate(.97)','interceptor','_themeService','JOIN','_schedule','_socket','COMMENT_UPDATE','Inject','1349052yIWWrk','infoRsp','pending','_collaborationTimeoutTimer','getFocusedUnit','close','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_getUndoStack','fillText','catch','textRanges','next','cmd','_instanceService','updateCursorEvent','skeleton','_resendTimer','SerializableCipher','[CollaborationSession]','execute','onCommentUpdate','_ensureSubject','HEARTBEAT_INTERVAL','moveTo','ILogService','url','[FetchMissState]','reject','RxDisposable','getSkeleton','DesktopCollaborationStatusDisplayController','font','isTransformMutationFailure','toggleOnline','_transformHistoryAndStateStack','POST','isActive','keySize','awaiting_with_pending','auth.needGotoLoginAlert','_renderManagerService','mixIn','_onRemoteRetry','state$','registerComponent','?url=','isTransformChangesetsSuccess','c2Prime','combineLatest','onRemoteChangeset','asObservable','setParam','MergeInterceptorFactory','ThresholdInterceptorFactory','mode','getRoom','APPLY_DUPLICATED','currentColor','YUUMI_URL_COL_OUT_OF_RANGE','updateOfflineData','HttpImport','put','@univerjs/sheets-ui','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_handleLeaveEvent','_initEventListeners','awaiting','_selfUnitIDs','_transformUndoredo','_drawTextRange','bind','map','_oKey','_sendingTimer','univer-online-status-title','_sheetTransformSelectionsService','offline','_colorAssignService','@univerjs/network','from','fetching\x20missing\x20changesets\x20from\x20','reverse','PSEUDO_FETCH_MISSING_RESULT','decryptBlock','_remoteChangesetQueue','/-/object/list','_configService','unsubscribe','csRejEvent','EXCHANGE_SIGN_URL_SERVER_URL_KEY','1155290aOmmEP','_clearRedo','UNIVER_DOC','PERMISSION_REJ','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','People','COLORS','_config','unit','/object/','_updateStatus','override','routeKey','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','actions','_cursors','_createHelper','TEXT','_startCollaboration','MUTATION','[CollaborationEntity]','cfg','ReactCurrentOwner','AWAITING','MessageType','transformChangesets','responseType','IImageIoService','permission.title','collabWebSocketUrl','getSheetBySheetId','_rescheduleHeartbeat','_clearCollaborationTimeoutTimer','_registerRenderDependencies','pluginName','APPLY_NON_SEQUENTIAL_REVISION'];_0x595e=function(){return _0x1b99cf;};return _0x595e();}const Ut=_0x29ff00(0x5f1),ur=_0x29ff00(0x58c);exports[_0x29ff00(0x5ee)]=class extends a[_0x29ff00(0x331)]{constructor(_0xc74f9,_0x1cf93d){const _0x5ce600=_0x29ff00;super(),this['_HTTPService']=_0xc74f9,this[_0x5ce600(0x4ea)]=_0x1cf93d,this[_0x5ce600(0x406)]();}[_0x29ff00(0x406)](){const _0x556677=_0x29ff00,_0x241149=this;this[_0x556677(0x665)](this[_0x556677(0x539)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':z[_0x556677(0x4c8)]({'isMatch'(_0x54e070){const _0x222c9d=_0x556677;var _0x57982c;if(_0x54e070[_0x222c9d(0x67c)]===_0x222c9d(0x4b7)&&((_0x57982c=_0x54e070['requestParams'])!=null&&_0x57982c['body'])){const {objectID:_0x41f8d6,objectType:_0x9ef139}=_0x54e070[_0x222c9d(0x441)][_0x222c9d(0x55d)]||{};if(!_0x41f8d6||_0x9ef139===void 0x0)return!0x1;const _0x54ae06=_0x241149[_0x222c9d(0x523)]()+'/'+_0x9ef139+_0x222c9d(0x4f7)+_0x41f8d6+'/allowed';if(_0x54e070[_0x222c9d(0x4ad)]===_0x54ae06)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4a531f){const _0x1b4342=_0x556677;var _0x5ba011;return(_0x5ba011=_0x4a531f[_0x1b4342(0x441)])==null?void 0x0:_0x5ba011['body'];},'mergeParamsToRequest'(_0xb08608,_0x67fcc2){const _0x7cb3d2=_0x556677,_0x1888fa=_0x241149[_0x7cb3d2(0x523)]()+'/-/object/-/batch_allowed',_0x1c1197=_0xb08608[_0x7cb3d2(0x3f1)]((_0x2ce4ac,_0xc170f6)=>{const {unitID:_0x4fe74a,objectID:_0x174e74,objectType:_0x1eb638,actions:_0x3e294}=_0xc170f6;return _0x2ce4ac[_0x4fe74a]||(_0x2ce4ac[_0x4fe74a]={}),_0x2ce4ac[_0x4fe74a][_0x174e74]||(_0x2ce4ac[_0x4fe74a][_0x174e74]={'objectID':_0x174e74,'objectType':_0x1eb638,'actions':[]}),_0x2ce4ac[_0x4fe74a][_0x174e74]['actions']['push'](..._0x3e294),_0x2ce4ac;},{}),_0x1b3776=[];for(const _0x1e2565 in _0x1c1197)for(const _0x20f4a2 in _0x1c1197[_0x1e2565]){const {actions:_0xaef03d,objectType:_0x3c254d}=_0x1c1197[_0x1e2565][_0x20f4a2],_0x26bd72=[...new Set(_0xaef03d)];_0x1b3776[_0x7cb3d2(0x3bc)]({'unitID':_0x1e2565,'objectID':_0x20f4a2,'objectType':_0x3c254d,'actions':_0x26bd72});}return new z[(_0x7cb3d2(0x2d6))](_0x7cb3d2(0x4b7),_0x1888fa,{'headers':_0x67fcc2['headers'],'withCredentials':_0x67fcc2[_0x7cb3d2(0x3f2)],'responseType':_0x67fcc2[_0x7cb3d2(0x508)],'body':{'requests':_0x1b3776}});}},{'distributeResult'(_0x3bd464,_0x50457d){const _0x190609=_0x556677,{objectActions:_0x5efeb2}=_0x3bd464;return _0x50457d[_0x190609(0x4db)](_0x17d89c=>{const _0x333b04=_0x190609,{unitID:_0x206151,objectID:_0x237fde,actions:_0x26280f}=_0x17d89c,_0x2dc7c9=_0x5efeb2[_0x333b04(0x58b)](_0x3992e1=>_0x3992e1[_0x333b04(0x553)]===_0x206151&&_0x3992e1[_0x333b04(0x1bc)]===_0x237fde),_0x2e3313=_0x26280f[_0x333b04(0x4db)](_0x8b3448=>_0x2dc7c9==null?void 0x0:_0x2dc7c9['actions'][_0x333b04(0x58b)](_0x54a2eb=>_0x54a2eb[_0x333b04(0x5be)]===_0x8b3448))['filter'](_0x1cea87=>!!_0x1cea87);return{'config':_0x17d89c,'result':{'actions':_0x2e3313,'error':_0x3bd464[_0x333b04(0x27a)]}};});}})}));}[_0x29ff00(0x523)](){const _0x48c388=_0x29ff00;var _0x2f2999,_0x5e56a0;const _0x33aa43=this[_0x48c388(0x4ea)][_0x48c388(0x1ea)](Ut),_0x1f4233=this[_0x48c388(0x4ea)][_0x48c388(0x1ea)](Q);return(_0x5e56a0=(_0x2f2999=_0x1f4233==null?void 0x0:_0x1f4233['authzUrl'])!=null?_0x2f2999:_0x33aa43)!=null?_0x5e56a0:ur;}async[_0x29ff00(0x3f7)](_0x30ef72){const _0x46e691=_0x29ff00,_0x22c525=this[_0x46e691(0x523)]()+'/'+_0x30ef72[_0x46e691(0x64c)]+_0x46e691(0x322);return(await this['_HTTPService'][_0x46e691(0x515)](_0x22c525,{'body':_0x30ef72}))[_0x46e691(0x55d)]['objectID']||'';}async[_0x29ff00(0x536)](_0x56b0aa){const _0x3f0b36=_0x29ff00,_0xb91c36=this[_0x3f0b36(0x523)]()+_0x3f0b36(0x4e9);return(await this[_0x3f0b36(0x539)][_0x3f0b36(0x515)](_0xb91c36,{'body':_0x56b0aa}))[_0x3f0b36(0x55d)][_0x3f0b36(0x650)];}async[_0x29ff00(0x551)](_0x59f7af){const _0x3085f6=_0x29ff00,_0x47f05a=this[_0x3085f6(0x523)]()+'/'+_0x59f7af[_0x3085f6(0x64c)]+_0x3085f6(0x4f7)+_0x59f7af[_0x3085f6(0x1bc)];await this[_0x3085f6(0x539)]['put'](_0x47f05a,{'body':_0x59f7af});}async['allowed'](_0x32f92b){const _0x2b9246=_0x29ff00,_0x14c6af=this[_0x2b9246(0x523)]()+'/'+_0x32f92b[_0x2b9246(0x64c)]+'/object/'+_0x32f92b[_0x2b9246(0x1bc)]+_0x2b9246(0x5d5);return(await this[_0x2b9246(0x539)][_0x2b9246(0x515)](_0x14c6af,{'body':_0x32f92b}))[_0x2b9246(0x55d)][_0x2b9246(0x4fc)];}async['batchAllowed'](_0x1afbd1){const _0x1bdae3=_0x29ff00,_0x56cd4b=this[_0x1bdae3(0x523)]()+'/-/object/-/batch_allowed';return(await this[_0x1bdae3(0x539)][_0x1bdae3(0x515)](_0x56cd4b,{'body':{'requests':_0x1afbd1}}))[_0x1bdae3(0x55d)][_0x1bdae3(0x60e)];}async[_0x29ff00(0x593)](_0x4c29bd){const _0x45e343=_0x29ff00,_0x41e7a3=this[_0x45e343(0x523)]()+'/'+_0x4c29bd[_0x45e343(0x64c)]+_0x45e343(0x46c),_0x164f56=await this[_0x45e343(0x539)]['post'](_0x41e7a3,{'body':_0x4c29bd});return{'roles':_0x164f56[_0x45e343(0x55d)]['roles'],'actions':_0x164f56[_0x45e343(0x55d)][_0x45e343(0x4fc)]};}async[_0x29ff00(0x207)](_0xbb1f88){const _0x1a3b45=_0x29ff00,_0x5cca23=this[_0x1a3b45(0x523)]()+'/collaborator';await this['_HTTPService'][_0x1a3b45(0x3dc)](_0x5cca23,{'params':{'collaboratorID':_0xbb1f88[_0x1a3b45(0x2f7)],'objectID':_0xbb1f88[_0x1a3b45(0x1bc)],'unitID':_0xbb1f88[_0x1a3b45(0x553)]}});}async[_0x29ff00(0x682)](_0x3bec5e){const _0x161459=_0x29ff00,_0xb7c7e8=this[_0x161459(0x523)]()+_0x161459(0x555);await this[_0x161459(0x539)]['patch'](_0xb7c7e8,{'body':_0x3bec5e});}async[_0x29ff00(0x623)](_0x4a9d48){const _0x5c1ad4=_0x29ff00,_0x2b219a=this[_0x5c1ad4(0x523)]()+'/collaborator';await this[_0x5c1ad4(0x539)][_0x5c1ad4(0x515)](_0x2b219a,{'body':_0x4a9d48});}async[_0x29ff00(0x577)](_0x53a230){const _0x55f7ba=_0x29ff00,_0x370327=this[_0x55f7ba(0x523)]()+_0x55f7ba(0x555);return(await this[_0x55f7ba(0x539)][_0x55f7ba(0x2ef)](_0x370327,{'params':{'objectID':_0x53a230[_0x55f7ba(0x1bc)],'unitID':_0x53a230['unitID']}}))[_0x55f7ba(0x55d)][_0x55f7ba(0x65c)];}async['putCollaborators'](_0x438310){const _0x5d81cb=_0x29ff00,_0x218353=this[_0x5d81cb(0x523)]()+_0x5d81cb(0x555);await this[_0x5d81cb(0x539)][_0x5d81cb(0x4d1)](_0x218353,{'body':_0x438310});}},exports[_0x29ff00(0x5ee)]=_r([Gt(0x0,a[_0x29ff00(0x493)](z['HTTPService'])),Gt(0x1,a['Inject'](a[_0x29ff00(0x64d)]))],exports[_0x29ff00(0x5ee)]);var Di={'exports':{}};function dr(_0x4b4c72){const _0xb2980d=_0x29ff00;throw new Error(_0xb2980d(0x364)+_0x4b4c72+_0xb2980d(0x37e));}var lt={'exports':{}},Yt;function oe(){return Yt||(Yt=0x1,function(_0x241c03,_0xf167e7){(function(_0x21bda6,_0x323b4c){const _0x158b8a=_0x2f26;_0x241c03[_0x158b8a(0x5a4)]=_0x323b4c();}(Z,function(){var _0x2db34b=_0x2db34b||function(_0x325ee7,_0xc87387){const _0x3ca720=_0x2f26;var _0x281cd8;if(typeof window<'u'&&window['crypto']&&(_0x281cd8=window[_0x3ca720(0x251)]),typeof self<'u'&&self[_0x3ca720(0x251)]&&(_0x281cd8=self[_0x3ca720(0x251)]),typeof globalThis<'u'&&globalThis[_0x3ca720(0x251)]&&(_0x281cd8=globalThis[_0x3ca720(0x251)]),!_0x281cd8&&typeof window<'u'&&window[_0x3ca720(0x2e4)]&&(_0x281cd8=window[_0x3ca720(0x2e4)]),!_0x281cd8&&typeof Z<'u'&&Z[_0x3ca720(0x251)]&&(_0x281cd8=Z[_0x3ca720(0x251)]),!_0x281cd8&&typeof dr=='function')try{_0x281cd8=require(_0x3ca720(0x251));}catch{}var _0x343d96=function(){const _0x566297=_0x3ca720;if(_0x281cd8){if(typeof _0x281cd8[_0x566297(0x227)]=='function')try{return _0x281cd8['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x281cd8[_0x566297(0x5bd)]==_0x566297(0x5a8))try{return _0x281cd8[_0x566297(0x5bd)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3e13cd=Object[_0x3ca720(0x3f7)]||(function(){function _0x2cff7c(){}return function(_0x31d5c4){const _0x84fd94=_0x2f26;var _0x3ed1c0;return _0x2cff7c[_0x84fd94(0x1fe)]=_0x31d5c4,_0x3ed1c0=new _0x2cff7c(),_0x2cff7c[_0x84fd94(0x1fe)]=null,_0x3ed1c0;};}()),_0x20e8b5={},_0x22b020=_0x20e8b5['lib']={},_0x206e86=_0x22b020['Base']=(function(){return{'extend':function(_0x37d118){const _0xd68eaf=_0x2f26;var _0x4bd36c=_0x3e13cd(this);return _0x37d118&&_0x4bd36c['mixIn'](_0x37d118),(!_0x4bd36c[_0xd68eaf(0x5d7)](_0xd68eaf(0x334))||this['init']===_0x4bd36c[_0xd68eaf(0x334)])&&(_0x4bd36c['init']=function(){const _0x13b182=_0xd68eaf;_0x4bd36c[_0x13b182(0x288)][_0x13b182(0x334)][_0x13b182(0x567)](this,arguments);}),_0x4bd36c[_0xd68eaf(0x334)]['prototype']=_0x4bd36c,_0x4bd36c[_0xd68eaf(0x288)]=this,_0x4bd36c;},'create':function(){const _0x409928=_0x2f26;var _0x58013e=this[_0x409928(0x30f)]();return _0x58013e['init']['apply'](_0x58013e,arguments),_0x58013e;},'init':function(){},'mixIn':function(_0x5d501a){const _0x12e0d6=_0x2f26;for(var _0x4ee2f3 in _0x5d501a)_0x5d501a[_0x12e0d6(0x5d7)](_0x4ee2f3)&&(this[_0x4ee2f3]=_0x5d501a[_0x4ee2f3]);_0x5d501a[_0x12e0d6(0x5d7)](_0x12e0d6(0x3ef))&&(this[_0x12e0d6(0x3ef)]=_0x5d501a[_0x12e0d6(0x3ef)]);},'clone':function(){const _0x4bc286=_0x2f26;return this[_0x4bc286(0x334)][_0x4bc286(0x1fe)]['extend'](this);}};}()),_0x538720=_0x22b020[_0x3ca720(0x1e2)]=_0x206e86[_0x3ca720(0x30f)]({'init':function(_0x483ba6,_0x5bf17d){const _0x45fa82=_0x3ca720;_0x483ba6=this[_0x45fa82(0x1d8)]=_0x483ba6||[],_0x5bf17d!=_0xc87387?this[_0x45fa82(0x45c)]=_0x5bf17d:this[_0x45fa82(0x45c)]=_0x483ba6[_0x45fa82(0x5e7)]*0x4;},'toString':function(_0x5b748a){return(_0x5b748a||_0x25a59b)['stringify'](this);},'concat':function(_0x1e9ff1){const _0x4a1ed8=_0x3ca720;var _0x5085f0=this[_0x4a1ed8(0x1d8)],_0x4e7d63=_0x1e9ff1[_0x4a1ed8(0x1d8)],_0x43570a=this[_0x4a1ed8(0x45c)],_0x3a3b64=_0x1e9ff1['sigBytes'];if(this[_0x4a1ed8(0x53d)](),_0x43570a%0x4)for(var _0xb1970c=0x0;_0xb1970c<_0x3a3b64;_0xb1970c++){var _0x11cf58=_0x4e7d63[_0xb1970c>>>0x2]>>>0x18-_0xb1970c%0x4*0x8&0xff;_0x5085f0[_0x43570a+_0xb1970c>>>0x2]|=_0x11cf58<<0x18-(_0x43570a+_0xb1970c)%0x4*0x8;}else{for(var _0x884496=0x0;_0x884496<_0x3a3b64;_0x884496+=0x4)_0x5085f0[_0x43570a+_0x884496>>>0x2]=_0x4e7d63[_0x884496>>>0x2];}return this['sigBytes']+=_0x3a3b64,this;},'clamp':function(){const _0x5bda82=_0x3ca720;var _0x13c75a=this[_0x5bda82(0x1d8)],_0x43423d=this[_0x5bda82(0x45c)];_0x13c75a[_0x43423d>>>0x2]&=0xffffffff<<0x20-_0x43423d%0x4*0x8,_0x13c75a['length']=_0x325ee7[_0x5bda82(0x588)](_0x43423d/0x4);},'clone':function(){const _0x31b0ef=_0x3ca720;var _0xd0b76b=_0x206e86[_0x31b0ef(0x5c3)][_0x31b0ef(0x1d5)](this);return _0xd0b76b[_0x31b0ef(0x1d8)]=this['words'][_0x31b0ef(0x3bb)](0x0),_0xd0b76b;},'random':function(_0x3bfdfa){const _0x44c5a7=_0x3ca720;for(var _0x15e902=[],_0x56555d=0x0;_0x56555d<_0x3bfdfa;_0x56555d+=0x4)_0x15e902[_0x44c5a7(0x3bc)](_0x343d96());return new _0x538720[(_0x44c5a7(0x334))](_0x15e902,_0x3bfdfa);}}),_0x1f83cb=_0x20e8b5[_0x3ca720(0x38e)]={},_0x25a59b=_0x1f83cb['Hex']={'stringify':function(_0x32ca31){const _0x111872=_0x3ca720;for(var _0x6d6e63=_0x32ca31['words'],_0x26e868=_0x32ca31['sigBytes'],_0x5a7a32=[],_0x325d74=0x0;_0x325d74<_0x26e868;_0x325d74++){var _0x2a9835=_0x6d6e63[_0x325d74>>>0x2]>>>0x18-_0x325d74%0x4*0x8&0xff;_0x5a7a32[_0x111872(0x3bc)]((_0x2a9835>>>0x4)[_0x111872(0x3ef)](0x10)),_0x5a7a32['push']((_0x2a9835&0xf)['toString'](0x10));}return _0x5a7a32[_0x111872(0x3fc)]('');},'parse':function(_0x34a8ea){const _0xdf04fc=_0x3ca720;for(var _0x40de82=_0x34a8ea[_0xdf04fc(0x5e7)],_0x420bf8=[],_0x52283a=0x0;_0x52283a<_0x40de82;_0x52283a+=0x2)_0x420bf8[_0x52283a>>>0x3]|=parseInt(_0x34a8ea[_0xdf04fc(0x384)](_0x52283a,0x2),0x10)<<0x18-_0x52283a%0x8*0x4;return new _0x538720['init'](_0x420bf8,_0x40de82/0x2);}},_0x40c008=_0x1f83cb[_0x3ca720(0x3d5)]={'stringify':function(_0xc926bf){const _0x4390a9=_0x3ca720;for(var _0x23566b=_0xc926bf[_0x4390a9(0x1d8)],_0x2d5571=_0xc926bf[_0x4390a9(0x45c)],_0x5d6665=[],_0x465a49=0x0;_0x465a49<_0x2d5571;_0x465a49++){var _0x12ad94=_0x23566b[_0x465a49>>>0x2]>>>0x18-_0x465a49%0x4*0x8&0xff;_0x5d6665[_0x4390a9(0x3bc)](String[_0x4390a9(0x1df)](_0x12ad94));}return _0x5d6665['join']('');},'parse':function(_0x2029c4){const _0xc2ac02=_0x3ca720;for(var _0x5e4bed=_0x2029c4[_0xc2ac02(0x5e7)],_0x4792de=[],_0x203280=0x0;_0x203280<_0x5e4bed;_0x203280++)_0x4792de[_0x203280>>>0x2]|=(_0x2029c4[_0xc2ac02(0x409)](_0x203280)&0xff)<<0x18-_0x203280%0x4*0x8;return new _0x538720[(_0xc2ac02(0x334))](_0x4792de,_0x5e4bed);}},_0x2ef613=_0x1f83cb[_0x3ca720(0x3e6)]={'stringify':function(_0x5d73ec){const _0x1b3218=_0x3ca720;try{return decodeURIComponent(escape(_0x40c008[_0x1b3218(0x65e)](_0x5d73ec)));}catch{throw new Error(_0x1b3218(0x67b));}},'parse':function(_0x23031d){return _0x40c008['parse'](unescape(encodeURIComponent(_0x23031d)));}},_0x2abd73=_0x22b020[_0x3ca720(0x41e)]=_0x206e86[_0x3ca720(0x30f)]({'reset':function(){const _0x491409=_0x3ca720;this[_0x491409(0x461)]=new _0x538720['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x4efaab){const _0x24b33a=_0x3ca720;typeof _0x4efaab=='string'&&(_0x4efaab=_0x2ef613['parse'](_0x4efaab)),this[_0x24b33a(0x461)][_0x24b33a(0x2c9)](_0x4efaab),this[_0x24b33a(0x208)]+=_0x4efaab[_0x24b33a(0x45c)];},'_process':function(_0x304c6c){const _0x1c8cc1=_0x3ca720;var _0x4956ea,_0x472afa=this[_0x1c8cc1(0x461)],_0x3f4235=_0x472afa[_0x1c8cc1(0x1d8)],_0x64f385=_0x472afa[_0x1c8cc1(0x45c)],_0x3ef128=this['blockSize'],_0x249582=_0x3ef128*0x4,_0xf9a2b4=_0x64f385/_0x249582;_0x304c6c?_0xf9a2b4=_0x325ee7['ceil'](_0xf9a2b4):_0xf9a2b4=_0x325ee7['max']((_0xf9a2b4|0x0)-this[_0x1c8cc1(0x54a)],0x0);var _0xf05f80=_0xf9a2b4*_0x3ef128,_0x584e08=_0x325ee7[_0x1c8cc1(0x3b8)](_0xf05f80*0x4,_0x64f385);if(_0xf05f80){for(var _0x559af0=0x0;_0x559af0<_0xf05f80;_0x559af0+=_0x3ef128)this[_0x1c8cc1(0x687)](_0x3f4235,_0x559af0);_0x4956ea=_0x3f4235[_0x1c8cc1(0x354)](0x0,_0xf05f80),_0x472afa[_0x1c8cc1(0x45c)]-=_0x584e08;}return new _0x538720['init'](_0x4956ea,_0x584e08);},'clone':function(){const _0x30c5dc=_0x3ca720;var _0xdfe8ff=_0x206e86[_0x30c5dc(0x5c3)][_0x30c5dc(0x1d5)](this);return _0xdfe8ff[_0x30c5dc(0x461)]=this[_0x30c5dc(0x461)][_0x30c5dc(0x5c3)](),_0xdfe8ff;},'_minBufferSize':0x0});_0x22b020[_0x3ca720(0x545)]=_0x2abd73[_0x3ca720(0x30f)]({'cfg':_0x206e86[_0x3ca720(0x30f)](),'init':function(_0xd0f65a){const _0x201a9b=_0x3ca720;this[_0x201a9b(0x503)]=this[_0x201a9b(0x503)][_0x201a9b(0x30f)](_0xd0f65a),this[_0x201a9b(0x29c)]();},'reset':function(){const _0x4a9f3f=_0x3ca720;_0x2abd73[_0x4a9f3f(0x29c)][_0x4a9f3f(0x1d5)](this),this['_doReset']();},'update':function(_0x37767e){const _0x9c9640=_0x3ca720;return this[_0x9c9640(0x685)](_0x37767e),this[_0x9c9640(0x392)](),this;},'finalize':function(_0x35e238){const _0x481104=_0x3ca720;_0x35e238&&this[_0x481104(0x685)](_0x35e238);var _0x2316a5=this[_0x481104(0x3a9)]();return _0x2316a5;},'blockSize':0x10,'_createHelper':function(_0x1a47f3){return function(_0x1c9af7,_0x58c651){const _0x11a44e=_0x2f26;return new _0x1a47f3[(_0x11a44e(0x334))](_0x58c651)['finalize'](_0x1c9af7);};},'_createHmacHelper':function(_0x545028){return function(_0x509710,_0x538781){const _0x427894=_0x2f26;return new _0x108f09[(_0x427894(0x663))][(_0x427894(0x334))](_0x545028,_0x538781)[_0x427894(0x349)](_0x509710);};}});var _0x108f09=_0x20e8b5['algo']={};return _0x20e8b5;}(Math);return _0x2db34b;}));}(lt)),lt['exports'];}var ht={'exports':{}},Kt;function Pi(){const _0x2f0b11=_0x29ff00;return Kt||(Kt=0x1,function(_0x5d87a8,_0x1097f1){(function(_0x52ab83,_0x295fc2){const _0x3dd8fa=_0x2f26;_0x5d87a8[_0x3dd8fa(0x5a4)]=_0x295fc2(oe());}(Z,function(_0x4e1854){const _0x8f6781=_0x2f26;return(function(){const _0x2b4b25=_0x2f26;var _0x2c62ef=_0x4e1854,_0x3b6f3b=_0x2c62ef['lib'],_0x5c75b3=_0x3b6f3b[_0x2b4b25(0x1e2)],_0x44cb66=_0x2c62ef[_0x2b4b25(0x38e)];_0x44cb66[_0x2b4b25(0x234)]={'stringify':function(_0x6c139f){const _0x23b323=_0x2b4b25;var _0x5a32ce=_0x6c139f[_0x23b323(0x1d8)],_0x32688d=_0x6c139f['sigBytes'],_0x23630f=this['_map'];_0x6c139f['clamp']();for(var _0x417b41=[],_0x5dd4ca=0x0;_0x5dd4ca<_0x32688d;_0x5dd4ca+=0x3)for(var _0x4355b6=_0x5a32ce[_0x5dd4ca>>>0x2]>>>0x18-_0x5dd4ca%0x4*0x8&0xff,_0x4b4a3f=_0x5a32ce[_0x5dd4ca+0x1>>>0x2]>>>0x18-(_0x5dd4ca+0x1)%0x4*0x8&0xff,_0x36734b=_0x5a32ce[_0x5dd4ca+0x2>>>0x2]>>>0x18-(_0x5dd4ca+0x2)%0x4*0x8&0xff,_0x2f99d2=_0x4355b6<<0x10|_0x4b4a3f<<0x8|_0x36734b,_0x546a7b=0x0;_0x546a7b<0x4&&_0x5dd4ca+_0x546a7b*0.75<_0x32688d;_0x546a7b++)_0x417b41[_0x23b323(0x3bc)](_0x23630f[_0x23b323(0x46e)](_0x2f99d2>>>0x6*(0x3-_0x546a7b)&0x3f));var _0x2bcb69=_0x23630f[_0x23b323(0x46e)](0x40);if(_0x2bcb69){for(;_0x417b41[_0x23b323(0x5e7)]%0x4;)_0x417b41[_0x23b323(0x3bc)](_0x2bcb69);}return _0x417b41[_0x23b323(0x3fc)]('');},'parse':function(_0x25c103){const _0x3f1a44=_0x2b4b25;var _0x2ce716=_0x25c103[_0x3f1a44(0x5e7)],_0x421c82=this['_map'],_0x3105f2=this['_reverseMap'];if(!_0x3105f2){_0x3105f2=this[_0x3f1a44(0x538)]=[];for(var _0x32e348=0x0;_0x32e348<_0x421c82[_0x3f1a44(0x5e7)];_0x32e348++)_0x3105f2[_0x421c82['charCodeAt'](_0x32e348)]=_0x32e348;}var _0x1c4b7e=_0x421c82['charAt'](0x40);if(_0x1c4b7e){var _0x7b19=_0x25c103['indexOf'](_0x1c4b7e);_0x7b19!==-0x1&&(_0x2ce716=_0x7b19);}return _0x52fb84(_0x25c103,_0x2ce716,_0x3105f2);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x52fb84(_0x2136be,_0x48bc0c,_0x2046b5){const _0xd9e55b=_0x2b4b25;for(var _0x42fe6c=[],_0x4d9120=0x0,_0x22b6e0=0x0;_0x22b6e0<_0x48bc0c;_0x22b6e0++)if(_0x22b6e0%0x4){var _0x2ddbbc=_0x2046b5[_0x2136be['charCodeAt'](_0x22b6e0-0x1)]<<_0x22b6e0%0x4*0x2,_0x481c4c=_0x2046b5[_0x2136be[_0xd9e55b(0x409)](_0x22b6e0)]>>>0x6-_0x22b6e0%0x4*0x2,_0x9d83f3=_0x2ddbbc|_0x481c4c;_0x42fe6c[_0x4d9120>>>0x2]|=_0x9d83f3<<0x18-_0x4d9120%0x4*0x8,_0x4d9120++;}return _0x5c75b3[_0xd9e55b(0x3f7)](_0x42fe6c,_0x4d9120);}}()),_0x4e1854[_0x8f6781(0x38e)][_0x8f6781(0x234)];}));}(ht)),ht[_0x2f0b11(0x5a4)];}var _t={'exports':{}},qt;function fr(){const _0x4a7727=_0x29ff00;return qt||(qt=0x1,function(_0x2eaddb,_0x424495){(function(_0x191767,_0x592d8a){const _0x61252=_0x2f26;_0x2eaddb[_0x61252(0x5a4)]=_0x592d8a(oe());}(Z,function(_0x31392f){return function(_0x3a8a56){const _0x3ffd45=_0x2f26;var _0x24c0f4=_0x31392f,_0x15c1e6=_0x24c0f4[_0x3ffd45(0x530)],_0x47c9d9=_0x15c1e6[_0x3ffd45(0x1e2)],_0x2d6a18=_0x15c1e6[_0x3ffd45(0x545)],_0x2987e9=_0x24c0f4[_0x3ffd45(0x395)],_0x3d0018=[];(function(){const _0xee77e2=_0x3ffd45;for(var _0xa54a41=0x0;_0xa54a41<0x40;_0xa54a41++)_0x3d0018[_0xa54a41]=_0x3a8a56[_0xee77e2(0x3ce)](_0x3a8a56[_0xee77e2(0x525)](_0xa54a41+0x1))*0x100000000|0x0;}());var _0x25563c=_0x2987e9[_0x3ffd45(0x37b)]=_0x2d6a18[_0x3ffd45(0x30f)]({'_doReset':function(){const _0x105e50=_0x3ffd45;this[_0x105e50(0x407)]=new _0x47c9d9[(_0x105e50(0x334))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x303b84,_0x35d582){const _0xfd183b=_0x3ffd45;for(var _0x424761=0x0;_0x424761<0x10;_0x424761++){var _0x1f773e=_0x35d582+_0x424761,_0xe9d34f=_0x303b84[_0x1f773e];_0x303b84[_0x1f773e]=(_0xe9d34f<<0x8|_0xe9d34f>>>0x18)&0xff00ff|(_0xe9d34f<<0x18|_0xe9d34f>>>0x8)&0xff00ff00;}var _0x43a6b0=this[_0xfd183b(0x407)][_0xfd183b(0x1d8)],_0x280dec=_0x303b84[_0x35d582+0x0],_0xef9dd6=_0x303b84[_0x35d582+0x1],_0x349a49=_0x303b84[_0x35d582+0x2],_0x192f64=_0x303b84[_0x35d582+0x3],_0x4d1e94=_0x303b84[_0x35d582+0x4],_0x3fd2c8=_0x303b84[_0x35d582+0x5],_0x23a51a=_0x303b84[_0x35d582+0x6],_0x4dabf4=_0x303b84[_0x35d582+0x7],_0x2df0a0=_0x303b84[_0x35d582+0x8],_0x50f0cf=_0x303b84[_0x35d582+0x9],_0x41386e=_0x303b84[_0x35d582+0xa],_0x416e43=_0x303b84[_0x35d582+0xb],_0x181fca=_0x303b84[_0x35d582+0xc],_0x47a452=_0x303b84[_0x35d582+0xd],_0x3a1633=_0x303b84[_0x35d582+0xe],_0x1cccf6=_0x303b84[_0x35d582+0xf],_0x38669d=_0x43a6b0[0x0],_0xbe71e8=_0x43a6b0[0x1],_0x19a468=_0x43a6b0[0x2],_0x3272d6=_0x43a6b0[0x3];_0x38669d=_0x561336(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x280dec,0x7,_0x3d0018[0x0]),_0x3272d6=_0x561336(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0xef9dd6,0xc,_0x3d0018[0x1]),_0x19a468=_0x561336(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x349a49,0x11,_0x3d0018[0x2]),_0xbe71e8=_0x561336(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x192f64,0x16,_0x3d0018[0x3]),_0x38669d=_0x561336(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x4d1e94,0x7,_0x3d0018[0x4]),_0x3272d6=_0x561336(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x3fd2c8,0xc,_0x3d0018[0x5]),_0x19a468=_0x561336(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x23a51a,0x11,_0x3d0018[0x6]),_0xbe71e8=_0x561336(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x4dabf4,0x16,_0x3d0018[0x7]),_0x38669d=_0x561336(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x2df0a0,0x7,_0x3d0018[0x8]),_0x3272d6=_0x561336(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x50f0cf,0xc,_0x3d0018[0x9]),_0x19a468=_0x561336(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x41386e,0x11,_0x3d0018[0xa]),_0xbe71e8=_0x561336(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x416e43,0x16,_0x3d0018[0xb]),_0x38669d=_0x561336(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x181fca,0x7,_0x3d0018[0xc]),_0x3272d6=_0x561336(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x47a452,0xc,_0x3d0018[0xd]),_0x19a468=_0x561336(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x3a1633,0x11,_0x3d0018[0xe]),_0xbe71e8=_0x561336(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x1cccf6,0x16,_0x3d0018[0xf]),_0x38669d=_0x3d64ec(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0xef9dd6,0x5,_0x3d0018[0x10]),_0x3272d6=_0x3d64ec(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x23a51a,0x9,_0x3d0018[0x11]),_0x19a468=_0x3d64ec(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x416e43,0xe,_0x3d0018[0x12]),_0xbe71e8=_0x3d64ec(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x280dec,0x14,_0x3d0018[0x13]),_0x38669d=_0x3d64ec(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x3fd2c8,0x5,_0x3d0018[0x14]),_0x3272d6=_0x3d64ec(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x41386e,0x9,_0x3d0018[0x15]),_0x19a468=_0x3d64ec(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x1cccf6,0xe,_0x3d0018[0x16]),_0xbe71e8=_0x3d64ec(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x4d1e94,0x14,_0x3d0018[0x17]),_0x38669d=_0x3d64ec(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x50f0cf,0x5,_0x3d0018[0x18]),_0x3272d6=_0x3d64ec(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x3a1633,0x9,_0x3d0018[0x19]),_0x19a468=_0x3d64ec(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x192f64,0xe,_0x3d0018[0x1a]),_0xbe71e8=_0x3d64ec(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x2df0a0,0x14,_0x3d0018[0x1b]),_0x38669d=_0x3d64ec(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x47a452,0x5,_0x3d0018[0x1c]),_0x3272d6=_0x3d64ec(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x349a49,0x9,_0x3d0018[0x1d]),_0x19a468=_0x3d64ec(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x4dabf4,0xe,_0x3d0018[0x1e]),_0xbe71e8=_0x3d64ec(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x181fca,0x14,_0x3d0018[0x1f]),_0x38669d=_0xea0b83(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x3fd2c8,0x4,_0x3d0018[0x20]),_0x3272d6=_0xea0b83(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x2df0a0,0xb,_0x3d0018[0x21]),_0x19a468=_0xea0b83(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x416e43,0x10,_0x3d0018[0x22]),_0xbe71e8=_0xea0b83(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x3a1633,0x17,_0x3d0018[0x23]),_0x38669d=_0xea0b83(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0xef9dd6,0x4,_0x3d0018[0x24]),_0x3272d6=_0xea0b83(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x4d1e94,0xb,_0x3d0018[0x25]),_0x19a468=_0xea0b83(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x4dabf4,0x10,_0x3d0018[0x26]),_0xbe71e8=_0xea0b83(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x41386e,0x17,_0x3d0018[0x27]),_0x38669d=_0xea0b83(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x47a452,0x4,_0x3d0018[0x28]),_0x3272d6=_0xea0b83(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x280dec,0xb,_0x3d0018[0x29]),_0x19a468=_0xea0b83(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x192f64,0x10,_0x3d0018[0x2a]),_0xbe71e8=_0xea0b83(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x23a51a,0x17,_0x3d0018[0x2b]),_0x38669d=_0xea0b83(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x50f0cf,0x4,_0x3d0018[0x2c]),_0x3272d6=_0xea0b83(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x181fca,0xb,_0x3d0018[0x2d]),_0x19a468=_0xea0b83(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x1cccf6,0x10,_0x3d0018[0x2e]),_0xbe71e8=_0xea0b83(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x349a49,0x17,_0x3d0018[0x2f]),_0x38669d=_0x5aa0a0(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x280dec,0x6,_0x3d0018[0x30]),_0x3272d6=_0x5aa0a0(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x4dabf4,0xa,_0x3d0018[0x31]),_0x19a468=_0x5aa0a0(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x3a1633,0xf,_0x3d0018[0x32]),_0xbe71e8=_0x5aa0a0(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x3fd2c8,0x15,_0x3d0018[0x33]),_0x38669d=_0x5aa0a0(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x181fca,0x6,_0x3d0018[0x34]),_0x3272d6=_0x5aa0a0(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x192f64,0xa,_0x3d0018[0x35]),_0x19a468=_0x5aa0a0(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x41386e,0xf,_0x3d0018[0x36]),_0xbe71e8=_0x5aa0a0(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0xef9dd6,0x15,_0x3d0018[0x37]),_0x38669d=_0x5aa0a0(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x2df0a0,0x6,_0x3d0018[0x38]),_0x3272d6=_0x5aa0a0(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x1cccf6,0xa,_0x3d0018[0x39]),_0x19a468=_0x5aa0a0(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x23a51a,0xf,_0x3d0018[0x3a]),_0xbe71e8=_0x5aa0a0(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x47a452,0x15,_0x3d0018[0x3b]),_0x38669d=_0x5aa0a0(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x4d1e94,0x6,_0x3d0018[0x3c]),_0x3272d6=_0x5aa0a0(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x416e43,0xa,_0x3d0018[0x3d]),_0x19a468=_0x5aa0a0(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x349a49,0xf,_0x3d0018[0x3e]),_0xbe71e8=_0x5aa0a0(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x50f0cf,0x15,_0x3d0018[0x3f]),_0x43a6b0[0x0]=_0x43a6b0[0x0]+_0x38669d|0x0,_0x43a6b0[0x1]=_0x43a6b0[0x1]+_0xbe71e8|0x0,_0x43a6b0[0x2]=_0x43a6b0[0x2]+_0x19a468|0x0,_0x43a6b0[0x3]=_0x43a6b0[0x3]+_0x3272d6|0x0;},'_doFinalize':function(){const _0x2a63d6=_0x3ffd45;var _0x52cfe3=this[_0x2a63d6(0x461)],_0x150e35=_0x52cfe3[_0x2a63d6(0x1d8)],_0x329f34=this['_nDataBytes']*0x8,_0x27208b=_0x52cfe3['sigBytes']*0x8;_0x150e35[_0x27208b>>>0x5]|=0x80<<0x18-_0x27208b%0x20;var _0x5bf1ef=_0x3a8a56[_0x2a63d6(0x3f8)](_0x329f34/0x100000000),_0x547edd=_0x329f34;_0x150e35[(_0x27208b+0x40>>>0x9<<0x4)+0xf]=(_0x5bf1ef<<0x8|_0x5bf1ef>>>0x18)&0xff00ff|(_0x5bf1ef<<0x18|_0x5bf1ef>>>0x8)&0xff00ff00,_0x150e35[(_0x27208b+0x40>>>0x9<<0x4)+0xe]=(_0x547edd<<0x8|_0x547edd>>>0x18)&0xff00ff|(_0x547edd<<0x18|_0x547edd>>>0x8)&0xff00ff00,_0x52cfe3[_0x2a63d6(0x45c)]=(_0x150e35[_0x2a63d6(0x5e7)]+0x1)*0x4,this[_0x2a63d6(0x392)]();for(var _0x329f92=this[_0x2a63d6(0x407)],_0x4b54f4=_0x329f92[_0x2a63d6(0x1d8)],_0xe1ce9=0x0;_0xe1ce9<0x4;_0xe1ce9++){var _0x191e20=_0x4b54f4[_0xe1ce9];_0x4b54f4[_0xe1ce9]=(_0x191e20<<0x8|_0x191e20>>>0x18)&0xff00ff|(_0x191e20<<0x18|_0x191e20>>>0x8)&0xff00ff00;}return _0x329f92;},'clone':function(){const _0x3d4459=_0x3ffd45;var _0x3010bf=_0x2d6a18[_0x3d4459(0x5c3)][_0x3d4459(0x1d5)](this);return _0x3010bf['_hash']=this[_0x3d4459(0x407)]['clone'](),_0x3010bf;}});function _0x561336(_0x5b5981,_0x18538d,_0x1a81c5,_0x208301,_0x3da583,_0x560849,_0x501f6c){var _0x1fc38c=_0x5b5981+(_0x18538d&_0x1a81c5|~_0x18538d&_0x208301)+_0x3da583+_0x501f6c;return(_0x1fc38c<<_0x560849|_0x1fc38c>>>0x20-_0x560849)+_0x18538d;}function _0x3d64ec(_0x31a52c,_0x3c2813,_0x3c4a67,_0x40280a,_0x784dc,_0x173add,_0x18bfd1){var _0x499065=_0x31a52c+(_0x3c2813&_0x40280a|_0x3c4a67&~_0x40280a)+_0x784dc+_0x18bfd1;return(_0x499065<<_0x173add|_0x499065>>>0x20-_0x173add)+_0x3c2813;}function _0xea0b83(_0x3276cd,_0x399729,_0x2f4d7f,_0x2335d7,_0x19cb32,_0x57e22b,_0x439aae){var _0x1fc1b4=_0x3276cd+(_0x399729^_0x2f4d7f^_0x2335d7)+_0x19cb32+_0x439aae;return(_0x1fc1b4<<_0x57e22b|_0x1fc1b4>>>0x20-_0x57e22b)+_0x399729;}function _0x5aa0a0(_0x4b83f5,_0x2590a0,_0x415373,_0x5aa68f,_0x1b5765,_0x97d153,_0xfa9af6){var _0x24a783=_0x4b83f5+(_0x415373^(_0x2590a0|~_0x5aa68f))+_0x1b5765+_0xfa9af6;return(_0x24a783<<_0x97d153|_0x24a783>>>0x20-_0x97d153)+_0x2590a0;}_0x24c0f4[_0x3ffd45(0x37b)]=_0x2d6a18[_0x3ffd45(0x4fe)](_0x25563c),_0x24c0f4[_0x3ffd45(0x560)]=_0x2d6a18[_0x3ffd45(0x412)](_0x25563c);}(Math),_0x31392f['MD5'];}));}(_t)),_t[_0x4a7727(0x5a4)];}var ut={'exports':{}},dt={'exports':{}},zt;function vr(){return zt||(zt=0x1,function(_0x2c5464,_0x15dd4e){(function(_0xd0cc33,_0x4f7fda){_0x2c5464['exports']=_0x4f7fda(oe());}(Z,function(_0x3c1c7f){const _0x4fc544=_0x2f26;return(function(){const _0x4ac9d7=_0x2f26;var _0x7ef2b7=_0x3c1c7f,_0x32d732=_0x7ef2b7[_0x4ac9d7(0x530)],_0x19c0f4=_0x32d732['WordArray'],_0x144f80=_0x32d732[_0x4ac9d7(0x545)],_0x437ed0=_0x7ef2b7['algo'],_0x5157cc=[],_0x43e654=_0x437ed0[_0x4ac9d7(0x5e0)]=_0x144f80['extend']({'_doReset':function(){const _0x31d671=_0x4ac9d7;this[_0x31d671(0x407)]=new _0x19c0f4[(_0x31d671(0x334))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x27be45,_0x29dd9b){for(var _0x45f95a=this['_hash']['words'],_0x3a1dcd=_0x45f95a[0x0],_0x45e9c3=_0x45f95a[0x1],_0x56731e=_0x45f95a[0x2],_0x4a116c=_0x45f95a[0x3],_0x2505c6=_0x45f95a[0x4],_0x1fefa9=0x0;_0x1fefa9<0x50;_0x1fefa9++){if(_0x1fefa9<0x10)_0x5157cc[_0x1fefa9]=_0x27be45[_0x29dd9b+_0x1fefa9]|0x0;else{var _0x2a6e32=_0x5157cc[_0x1fefa9-0x3]^_0x5157cc[_0x1fefa9-0x8]^_0x5157cc[_0x1fefa9-0xe]^_0x5157cc[_0x1fefa9-0x10];_0x5157cc[_0x1fefa9]=_0x2a6e32<<0x1|_0x2a6e32>>>0x1f;}var _0x1528bc=(_0x3a1dcd<<0x5|_0x3a1dcd>>>0x1b)+_0x2505c6+_0x5157cc[_0x1fefa9];_0x1fefa9<0x14?_0x1528bc+=(_0x45e9c3&_0x56731e|~_0x45e9c3&_0x4a116c)+0x5a827999:_0x1fefa9<0x28?_0x1528bc+=(_0x45e9c3^_0x56731e^_0x4a116c)+0x6ed9eba1:_0x1fefa9<0x3c?_0x1528bc+=(_0x45e9c3&_0x56731e|_0x45e9c3&_0x4a116c|_0x56731e&_0x4a116c)-0x70e44324:_0x1528bc+=(_0x45e9c3^_0x56731e^_0x4a116c)-0x359d3e2a,_0x2505c6=_0x4a116c,_0x4a116c=_0x56731e,_0x56731e=_0x45e9c3<<0x1e|_0x45e9c3>>>0x2,_0x45e9c3=_0x3a1dcd,_0x3a1dcd=_0x1528bc;}_0x45f95a[0x0]=_0x45f95a[0x0]+_0x3a1dcd|0x0,_0x45f95a[0x1]=_0x45f95a[0x1]+_0x45e9c3|0x0,_0x45f95a[0x2]=_0x45f95a[0x2]+_0x56731e|0x0,_0x45f95a[0x3]=_0x45f95a[0x3]+_0x4a116c|0x0,_0x45f95a[0x4]=_0x45f95a[0x4]+_0x2505c6|0x0;},'_doFinalize':function(){const _0xfaf71f=_0x4ac9d7;var _0xb542ef=this['_data'],_0x519757=_0xb542ef[_0xfaf71f(0x1d8)],_0x142d51=this[_0xfaf71f(0x208)]*0x8,_0x2fbce7=_0xb542ef[_0xfaf71f(0x45c)]*0x8;return _0x519757[_0x2fbce7>>>0x5]|=0x80<<0x18-_0x2fbce7%0x20,_0x519757[(_0x2fbce7+0x40>>>0x9<<0x4)+0xe]=Math[_0xfaf71f(0x3f8)](_0x142d51/0x100000000),_0x519757[(_0x2fbce7+0x40>>>0x9<<0x4)+0xf]=_0x142d51,_0xb542ef['sigBytes']=_0x519757['length']*0x4,this[_0xfaf71f(0x392)](),this[_0xfaf71f(0x407)];},'clone':function(){const _0x14becd=_0x4ac9d7;var _0x4d176c=_0x144f80[_0x14becd(0x5c3)][_0x14becd(0x1d5)](this);return _0x4d176c['_hash']=this[_0x14becd(0x407)][_0x14becd(0x5c3)](),_0x4d176c;}});_0x7ef2b7[_0x4ac9d7(0x5e0)]=_0x144f80[_0x4ac9d7(0x4fe)](_0x43e654),_0x7ef2b7[_0x4ac9d7(0x348)]=_0x144f80[_0x4ac9d7(0x412)](_0x43e654);}()),_0x3c1c7f[_0x4fc544(0x5e0)];}));}(dt)),dt['exports'];}var ft={'exports':{}},Xt;function Sr(){return Xt||(Xt=0x1,function(_0x39f1d1,_0x39d3dc){(function(_0x14da53,_0x28e8de){_0x39f1d1['exports']=_0x28e8de(oe());}(Z,function(_0x1d7024){(function(){const _0x18e964=_0x2f26;var _0x300d34=_0x1d7024,_0x4917a0=_0x300d34[_0x18e964(0x530)],_0xa3d089=_0x4917a0[_0x18e964(0x628)],_0x45492a=_0x300d34[_0x18e964(0x38e)],_0x2f3dc0=_0x45492a[_0x18e964(0x3e6)],_0x2b9592=_0x300d34[_0x18e964(0x395)];_0x2b9592[_0x18e964(0x663)]=_0xa3d089[_0x18e964(0x30f)]({'init':function(_0x5ca90d,_0x867aa7){const _0x6aad90=_0x18e964;_0x5ca90d=this[_0x6aad90(0x603)]=new _0x5ca90d['init'](),typeof _0x867aa7==_0x6aad90(0x291)&&(_0x867aa7=_0x2f3dc0['parse'](_0x867aa7));var _0x23e980=_0x5ca90d[_0x6aad90(0x626)],_0x2a7c88=_0x23e980*0x4;_0x867aa7[_0x6aad90(0x45c)]>_0x2a7c88&&(_0x867aa7=_0x5ca90d[_0x6aad90(0x349)](_0x867aa7)),_0x867aa7[_0x6aad90(0x53d)]();for(var _0x3e55bc=this[_0x6aad90(0x4dc)]=_0x867aa7[_0x6aad90(0x5c3)](),_0x31b5a5=this[_0x6aad90(0x2d4)]=_0x867aa7['clone'](),_0x46d938=_0x3e55bc[_0x6aad90(0x1d8)],_0x140348=_0x31b5a5[_0x6aad90(0x1d8)],_0x58b7fa=0x0;_0x58b7fa<_0x23e980;_0x58b7fa++)_0x46d938[_0x58b7fa]^=0x5c5c5c5c,_0x140348[_0x58b7fa]^=0x36363636;_0x3e55bc[_0x6aad90(0x45c)]=_0x31b5a5[_0x6aad90(0x45c)]=_0x2a7c88,this['reset']();},'reset':function(){const _0x164c74=_0x18e964;var _0x125537=this[_0x164c74(0x603)];_0x125537[_0x164c74(0x29c)](),_0x125537[_0x164c74(0x551)](this['_iKey']);},'update':function(_0x1f91ae){const _0x1f49f3=_0x18e964;return this[_0x1f49f3(0x603)][_0x1f49f3(0x551)](_0x1f91ae),this;},'finalize':function(_0x59d9bd){const _0x54ce9f=_0x18e964;var _0x2cb022=this[_0x54ce9f(0x603)],_0x148225=_0x2cb022[_0x54ce9f(0x349)](_0x59d9bd);_0x2cb022[_0x54ce9f(0x29c)]();var _0x2b745b=_0x2cb022[_0x54ce9f(0x349)](this[_0x54ce9f(0x4dc)][_0x54ce9f(0x5c3)]()[_0x54ce9f(0x2c9)](_0x148225));return _0x2b745b;}});}());}));}(ft)),ft['exports'];}var Jt;function wi(){const _0x2e5d80=_0x29ff00;return Jt||(Jt=0x1,function(_0x44e6eb,_0x3045ae){(function(_0x112bb8,_0x476d26,_0x566119){const _0x550b6b=_0x2f26;_0x44e6eb[_0x550b6b(0x5a4)]=_0x476d26(oe(),vr(),Sr());}(Z,function(_0x4826a0){const _0x22fbbb=_0x2f26;return(function(){const _0x21f644=_0x2f26;var _0x26308f=_0x4826a0,_0x1c999b=_0x26308f[_0x21f644(0x530)],_0x563e18=_0x1c999b[_0x21f644(0x628)],_0x275546=_0x1c999b[_0x21f644(0x1e2)],_0x4ba801=_0x26308f[_0x21f644(0x395)],_0x490b2d=_0x4ba801[_0x21f644(0x37b)],_0x215bea=_0x4ba801[_0x21f644(0x669)]=_0x563e18['extend']({'cfg':_0x563e18[_0x21f644(0x30f)]({'keySize':0x80/0x20,'hasher':_0x490b2d,'iterations':0x1}),'init':function(_0x217b59){const _0x229805=_0x21f644;this[_0x229805(0x503)]=this[_0x229805(0x503)]['extend'](_0x217b59);},'compute':function(_0x2b2f3a,_0x1f6fcb){const _0x2947ff=_0x21f644;for(var _0x4abc45,_0x5cd952=this[_0x2947ff(0x503)],_0x2fde64=_0x5cd952[_0x2947ff(0x52f)][_0x2947ff(0x3f7)](),_0x42ea2a=_0x275546[_0x2947ff(0x3f7)](),_0x131751=_0x42ea2a[_0x2947ff(0x1d8)],_0x16a048=_0x5cd952['keySize'],_0x18c5e8=_0x5cd952[_0x2947ff(0x57d)];_0x131751[_0x2947ff(0x5e7)]<_0x16a048;){_0x4abc45&&_0x2fde64[_0x2947ff(0x551)](_0x4abc45),_0x4abc45=_0x2fde64[_0x2947ff(0x551)](_0x2b2f3a)[_0x2947ff(0x349)](_0x1f6fcb),_0x2fde64[_0x2947ff(0x29c)]();for(var _0x55d51e=0x1;_0x55d51e<_0x18c5e8;_0x55d51e++)_0x4abc45=_0x2fde64[_0x2947ff(0x349)](_0x4abc45),_0x2fde64['reset']();_0x42ea2a[_0x2947ff(0x2c9)](_0x4abc45);}return _0x42ea2a[_0x2947ff(0x45c)]=_0x16a048*0x4,_0x42ea2a;}});_0x26308f['EvpKDF']=function(_0x194152,_0x2e24d7,_0x3e7df4){const _0x20a6d4=_0x21f644;return _0x215bea[_0x20a6d4(0x3f7)](_0x3e7df4)['compute'](_0x194152,_0x2e24d7);};}()),_0x4826a0[_0x22fbbb(0x669)];}));}(ut)),ut[_0x2e5d80(0x5a4)];}var vt={'exports':{}},Zt;function Ui(){const _0xf3909b=_0x29ff00;return Zt||(Zt=0x1,function(_0x10a329,_0x4386f3){(function(_0x39785b,_0x13618b,_0x5b9274){_0x10a329['exports']=_0x13618b(oe(),wi());}(Z,function(_0x30bd4f){const _0x165a78=_0x2f26;_0x30bd4f[_0x165a78(0x530)][_0x165a78(0x47c)]||function(_0x7b8458){const _0x116d18=_0x165a78;var _0xea3344=_0x30bd4f,_0x754136=_0xea3344[_0x116d18(0x530)],_0x39796e=_0x754136[_0x116d18(0x628)],_0x2a7950=_0x754136['WordArray'],_0x40acb0=_0x754136[_0x116d18(0x41e)],_0x1ffa57=_0xea3344['enc'];_0x1ffa57['Utf8'];var _0x26d373=_0x1ffa57[_0x116d18(0x234)],_0x16a0f5=_0xea3344['algo'],_0x4ab683=_0x16a0f5[_0x116d18(0x669)],_0x59a483=_0x754136[_0x116d18(0x47c)]=_0x40acb0[_0x116d18(0x30f)]({'cfg':_0x39796e['extend'](),'createEncryptor':function(_0x4963de,_0x1f5fc3){const _0x47e10e=_0x116d18;return this[_0x47e10e(0x3f7)](this[_0x47e10e(0x401)],_0x4963de,_0x1f5fc3);},'createDecryptor':function(_0x2a89c6,_0xb99270){const _0x5bf27b=_0x116d18;return this[_0x5bf27b(0x3f7)](this[_0x5bf27b(0x558)],_0x2a89c6,_0xb99270);},'init':function(_0x407d8e,_0x3bb4e4,_0x4e5a33){const _0x228ddb=_0x116d18;this[_0x228ddb(0x503)]=this['cfg'][_0x228ddb(0x30f)](_0x4e5a33),this[_0x228ddb(0x217)]=_0x407d8e,this['_key']=_0x3bb4e4,this[_0x228ddb(0x29c)]();},'reset':function(){const _0x1a71d5=_0x116d18;_0x40acb0[_0x1a71d5(0x29c)][_0x1a71d5(0x1d5)](this),this[_0x1a71d5(0x297)]();},'process':function(_0x4b4e33){const _0x5f3743=_0x116d18;return this[_0x5f3743(0x685)](_0x4b4e33),this[_0x5f3743(0x392)]();},'finalize':function(_0x2372f2){const _0x570b06=_0x116d18;_0x2372f2&&this[_0x570b06(0x685)](_0x2372f2);var _0x29aad3=this['_doFinalize']();return _0x29aad3;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x54b8c5(_0x476ddd){const _0x2b3706=_0x2f26;return typeof _0x476ddd==_0x2b3706(0x291)?_0x17b682:_0xaf1a0c;}return function(_0x3951d7){return{'encrypt':function(_0x4cbdd2,_0x4b5a37,_0x5f094e){const _0x47340d=_0x2f26;return _0x54b8c5(_0x4b5a37)[_0x47340d(0x442)](_0x3951d7,_0x4cbdd2,_0x4b5a37,_0x5f094e);},'decrypt':function(_0x599fd4,_0x108c43,_0x3d87ee){const _0x4f5475=_0x2f26;return _0x54b8c5(_0x108c43)[_0x4f5475(0x262)](_0x3951d7,_0x599fd4,_0x108c43,_0x3d87ee);}};};}())});_0x754136[_0x116d18(0x57e)]=_0x59a483[_0x116d18(0x30f)]({'_doFinalize':function(){const _0x18d0f9=_0x116d18;var _0x59ddc6=this[_0x18d0f9(0x392)](!0x0);return _0x59ddc6;},'blockSize':0x1});var _0x45bc00=_0xea3344[_0x116d18(0x4ca)]={},_0xc5f7da=_0x754136[_0x116d18(0x658)]=_0x39796e[_0x116d18(0x30f)]({'createEncryptor':function(_0x56fbd9,_0xbf8ed8){const _0x3990e9=_0x116d18;return this[_0x3990e9(0x5a3)][_0x3990e9(0x3f7)](_0x56fbd9,_0xbf8ed8);},'createDecryptor':function(_0x6f2449,_0x10aa5a){const _0xc6b48a=_0x116d18;return this[_0xc6b48a(0x445)][_0xc6b48a(0x3f7)](_0x6f2449,_0x10aa5a);},'init':function(_0x946d87,_0x3b1d7a){const _0x23556e=_0x116d18;this[_0x23556e(0x41a)]=_0x946d87,this[_0x23556e(0x35a)]=_0x3b1d7a;}}),_0x5af990=_0x45bc00[_0x116d18(0x252)]=(function(){const _0x10606a=_0x116d18;var _0x263770=_0xc5f7da[_0x10606a(0x30f)]();_0x263770[_0x10606a(0x5a3)]=_0x263770[_0x10606a(0x30f)]({'processBlock':function(_0x5a2aac,_0x4a2f09){const _0xad5edf=_0x10606a;var _0xef8ac3=this[_0xad5edf(0x41a)],_0x555f8d=_0xef8ac3[_0xad5edf(0x626)];_0x2c9092['call'](this,_0x5a2aac,_0x4a2f09,_0x555f8d),_0xef8ac3[_0xad5edf(0x1ee)](_0x5a2aac,_0x4a2f09),this[_0xad5edf(0x3c9)]=_0x5a2aac[_0xad5edf(0x3bb)](_0x4a2f09,_0x4a2f09+_0x555f8d);}}),_0x263770[_0x10606a(0x445)]=_0x263770[_0x10606a(0x30f)]({'processBlock':function(_0x1a82a6,_0x3a60e5){const _0xc4d95b=_0x10606a;var _0x23526c=this['_cipher'],_0x161581=_0x23526c[_0xc4d95b(0x626)],_0x440704=_0x1a82a6[_0xc4d95b(0x3bb)](_0x3a60e5,_0x3a60e5+_0x161581);_0x23526c[_0xc4d95b(0x4e7)](_0x1a82a6,_0x3a60e5),_0x2c9092[_0xc4d95b(0x1d5)](this,_0x1a82a6,_0x3a60e5,_0x161581),this[_0xc4d95b(0x3c9)]=_0x440704;}});function _0x2c9092(_0x1c7c7e,_0x17f1e7,_0x379307){const _0x257cf9=_0x10606a;var _0x31ca1a,_0x2154d8=this['_iv'];_0x2154d8?(_0x31ca1a=_0x2154d8,this[_0x257cf9(0x35a)]=_0x7b8458):_0x31ca1a=this[_0x257cf9(0x3c9)];for(var _0x2d3e05=0x0;_0x2d3e05<_0x379307;_0x2d3e05++)_0x1c7c7e[_0x17f1e7+_0x2d3e05]^=_0x31ca1a[_0x2d3e05];}return _0x263770;}()),_0xafe5cf=_0xea3344[_0x116d18(0x2f8)]={},_0x32922b=_0xafe5cf['Pkcs7']={'pad':function(_0x2663a1,_0x4f3815){const _0x5bf50e=_0x116d18;for(var _0xbe6b44=_0x4f3815*0x4,_0x5858ae=_0xbe6b44-_0x2663a1[_0x5bf50e(0x45c)]%_0xbe6b44,_0x3020a3=_0x5858ae<<0x18|_0x5858ae<<0x10|_0x5858ae<<0x8|_0x5858ae,_0x1e3dda=[],_0x35bc21=0x0;_0x35bc21<_0x5858ae;_0x35bc21+=0x4)_0x1e3dda[_0x5bf50e(0x3bc)](_0x3020a3);var _0x99c7c1=_0x2a7950['create'](_0x1e3dda,_0x5858ae);_0x2663a1['concat'](_0x99c7c1);},'unpad':function(_0x545a3e){const _0x28808e=_0x116d18;var _0x1dd140=_0x545a3e[_0x28808e(0x1d8)][_0x545a3e[_0x28808e(0x45c)]-0x1>>>0x2]&0xff;_0x545a3e[_0x28808e(0x45c)]-=_0x1dd140;}};_0x754136[_0x116d18(0x671)]=_0x59a483['extend']({'cfg':_0x59a483[_0x116d18(0x503)][_0x116d18(0x30f)]({'mode':_0x5af990,'padding':_0x32922b}),'reset':function(){const _0x4044ca=_0x116d18;var _0x3cf558;_0x59a483[_0x4044ca(0x29c)][_0x4044ca(0x1d5)](this);var _0x2ba811=this['cfg'],_0x3d8225=_0x2ba811['iv'],_0x2a7396=_0x2ba811['mode'];this['_xformMode']==this[_0x4044ca(0x401)]?_0x3cf558=_0x2a7396[_0x4044ca(0x55e)]:(_0x3cf558=_0x2a7396[_0x4044ca(0x1d9)],this[_0x4044ca(0x54a)]=0x1),this[_0x4044ca(0x59e)]&&this[_0x4044ca(0x59e)][_0x4044ca(0x2d3)]==_0x3cf558?this[_0x4044ca(0x59e)][_0x4044ca(0x334)](this,_0x3d8225&&_0x3d8225['words']):(this[_0x4044ca(0x59e)]=_0x3cf558['call'](_0x2a7396,this,_0x3d8225&&_0x3d8225['words']),this[_0x4044ca(0x59e)]['__creator']=_0x3cf558);},'_doProcessBlock':function(_0x6a0a63,_0x12e0f9){const _0x41613f=_0x116d18;this[_0x41613f(0x59e)][_0x41613f(0x311)](_0x6a0a63,_0x12e0f9);},'_doFinalize':function(){const _0x54d32d=_0x116d18;var _0x280d74,_0x32d769=this[_0x54d32d(0x503)][_0x54d32d(0x2e2)];return this['_xformMode']==this[_0x54d32d(0x401)]?(_0x32d769[_0x54d32d(0x2f8)](this[_0x54d32d(0x461)],this[_0x54d32d(0x626)]),_0x280d74=this[_0x54d32d(0x392)](!0x0)):(_0x280d74=this['_process'](!0x0),_0x32d769[_0x54d32d(0x651)](_0x280d74)),_0x280d74;},'blockSize':0x80/0x20});var _0x14b5d8=_0x754136[_0x116d18(0x38b)]=_0x39796e[_0x116d18(0x30f)]({'init':function(_0xf8664e){const _0x4ddb57=_0x116d18;this[_0x4ddb57(0x4bd)](_0xf8664e);},'toString':function(_0x4f0f8f){const _0xdbfcb0=_0x116d18;return(_0x4f0f8f||this['formatter'])[_0xdbfcb0(0x65e)](this);}}),_0x3d0a91=_0xea3344['format']={},_0x211529=_0x3d0a91[_0x116d18(0x529)]={'stringify':function(_0x15cae9){const _0xe801c3=_0x116d18;var _0x2ad47c,_0x488ab4=_0x15cae9[_0xe801c3(0x3b0)],_0x29f9d4=_0x15cae9[_0xe801c3(0x67d)];return _0x29f9d4?_0x2ad47c=_0x2a7950[_0xe801c3(0x3f7)]([0x53616c74,0x65645f5f])[_0xe801c3(0x2c9)](_0x29f9d4)[_0xe801c3(0x2c9)](_0x488ab4):_0x2ad47c=_0x488ab4,_0x2ad47c[_0xe801c3(0x3ef)](_0x26d373);},'parse':function(_0x5a560d){const _0x179a00=_0x116d18;var _0x371143,_0x305223=_0x26d373[_0x179a00(0x1c4)](_0x5a560d),_0xee7b=_0x305223[_0x179a00(0x1d8)];return _0xee7b[0x0]==0x53616c74&&_0xee7b[0x1]==0x65645f5f&&(_0x371143=_0x2a7950[_0x179a00(0x3f7)](_0xee7b[_0x179a00(0x3bb)](0x2,0x4)),_0xee7b[_0x179a00(0x354)](0x0,0x4),_0x305223[_0x179a00(0x45c)]-=0x10),_0x14b5d8[_0x179a00(0x3f7)]({'ciphertext':_0x305223,'salt':_0x371143});}},_0xaf1a0c=_0x754136[_0x116d18(0x4a5)]=_0x39796e['extend']({'cfg':_0x39796e[_0x116d18(0x30f)]({'format':_0x211529}),'encrypt':function(_0x402384,_0x1f4b05,_0x1c2d4e,_0x36f19d){const _0x3ad0e2=_0x116d18;_0x36f19d=this['cfg'][_0x3ad0e2(0x30f)](_0x36f19d);var _0x52a854=_0x402384[_0x3ad0e2(0x55e)](_0x1c2d4e,_0x36f19d),_0x178d28=_0x52a854['finalize'](_0x1f4b05),_0x37087c=_0x52a854['cfg'];return _0x14b5d8['create']({'ciphertext':_0x178d28,'key':_0x1c2d4e,'iv':_0x37087c['iv'],'algorithm':_0x402384,'mode':_0x37087c['mode'],'padding':_0x37087c['padding'],'blockSize':_0x402384['blockSize'],'formatter':_0x36f19d[_0x3ad0e2(0x458)]});},'decrypt':function(_0x32207f,_0x543353,_0x27101f,_0x416d38){const _0x102221=_0x116d18;_0x416d38=this[_0x102221(0x503)][_0x102221(0x30f)](_0x416d38),_0x543353=this[_0x102221(0x459)](_0x543353,_0x416d38[_0x102221(0x458)]);var _0x216ffa=_0x32207f['createDecryptor'](_0x27101f,_0x416d38)[_0x102221(0x349)](_0x543353['ciphertext']);return _0x216ffa;},'_parse':function(_0x4b1413,_0x3c04c0){const _0x812edf=_0x116d18;return typeof _0x4b1413==_0x812edf(0x291)?_0x3c04c0[_0x812edf(0x1c4)](_0x4b1413,this):_0x4b1413;}}),_0x38ffd2=_0xea3344[_0x116d18(0x3c0)]={},_0xd4b3f5=_0x38ffd2[_0x116d18(0x529)]={'execute':function(_0x17a01b,_0x3d3baf,_0x24834c,_0x510486,_0x1278b0){const _0x556549=_0x116d18;if(_0x510486||(_0x510486=_0x2a7950[_0x556549(0x581)](0x40/0x8)),_0x1278b0)var _0x1cc7b9=_0x4ab683[_0x556549(0x3f7)]({'keySize':_0x3d3baf+_0x24834c,'hasher':_0x1278b0})[_0x556549(0x282)](_0x17a01b,_0x510486);else var _0x1cc7b9=_0x4ab683[_0x556549(0x3f7)]({'keySize':_0x3d3baf+_0x24834c})['compute'](_0x17a01b,_0x510486);var _0x351c25=_0x2a7950['create'](_0x1cc7b9[_0x556549(0x1d8)][_0x556549(0x3bb)](_0x3d3baf),_0x24834c*0x4);return _0x1cc7b9[_0x556549(0x45c)]=_0x3d3baf*0x4,_0x14b5d8[_0x556549(0x3f7)]({'key':_0x1cc7b9,'iv':_0x351c25,'salt':_0x510486});}},_0x17b682=_0x754136['PasswordBasedCipher']=_0xaf1a0c[_0x116d18(0x30f)]({'cfg':_0xaf1a0c[_0x116d18(0x503)][_0x116d18(0x30f)]({'kdf':_0xd4b3f5}),'encrypt':function(_0x4be17c,_0x1bcdf6,_0x575887,_0x22dc9c){const _0x17fb48=_0x116d18;_0x22dc9c=this[_0x17fb48(0x503)]['extend'](_0x22dc9c);var _0x1b4a37=_0x22dc9c[_0x17fb48(0x3c0)]['execute'](_0x575887,_0x4be17c[_0x17fb48(0x4b9)],_0x4be17c[_0x17fb48(0x3e9)],_0x22dc9c[_0x17fb48(0x67d)],_0x22dc9c[_0x17fb48(0x52f)]);_0x22dc9c['iv']=_0x1b4a37['iv'];var _0xba342e=_0xaf1a0c[_0x17fb48(0x442)][_0x17fb48(0x1d5)](this,_0x4be17c,_0x1bcdf6,_0x1b4a37['key'],_0x22dc9c);return _0xba342e[_0x17fb48(0x4bd)](_0x1b4a37),_0xba342e;},'decrypt':function(_0x1d843b,_0x3d19e1,_0x292f0f,_0x4aad9b){const _0x37e115=_0x116d18;_0x4aad9b=this['cfg'][_0x37e115(0x30f)](_0x4aad9b),_0x3d19e1=this['_parse'](_0x3d19e1,_0x4aad9b[_0x37e115(0x458)]);var _0x44e9f3=_0x4aad9b[_0x37e115(0x3c0)][_0x37e115(0x4a7)](_0x292f0f,_0x1d843b[_0x37e115(0x4b9)],_0x1d843b[_0x37e115(0x3e9)],_0x3d19e1['salt'],_0x4aad9b[_0x37e115(0x52f)]);_0x4aad9b['iv']=_0x44e9f3['iv'];var _0x52b6ba=_0xaf1a0c[_0x37e115(0x262)][_0x37e115(0x1d5)](this,_0x1d843b,_0x3d19e1,_0x44e9f3[_0x37e115(0x425)],_0x4aad9b);return _0x52b6ba;}});}();}));}(vt)),vt[_0xf3909b(0x5a4)];}(function(_0x55e6a7,_0x367cc2){(function(_0x18364b,_0x2c1521,_0xa42702){_0x55e6a7['exports']=_0x2c1521(oe(),Pi(),fr(),wi(),Ui());}(Z,function(_0x58898c){const _0x4354cf=_0x2f26;return(function(){const _0x2575f2=_0x2f26;var _0x10d5a2=_0x58898c,_0x6018fa=_0x10d5a2[_0x2575f2(0x530)],_0x3493e8=_0x6018fa[_0x2575f2(0x671)],_0x3d7b71=_0x10d5a2['algo'],_0x144606=[],_0xece021=[],_0x1bae05=[],_0xfaf566=[],_0x178db2=[],_0xd37b7c=[],_0x541f77=[],_0x58cdcd=[],_0x64fb74=[],_0x3b01c8=[];(function(){for(var _0xb9a180=[],_0x23ae1c=0x0;_0x23ae1c<0x100;_0x23ae1c++)_0x23ae1c<0x80?_0xb9a180[_0x23ae1c]=_0x23ae1c<<0x1:_0xb9a180[_0x23ae1c]=_0x23ae1c<<0x1^0x11b;for(var _0x43126e=0x0,_0x4a7ba8=0x0,_0x23ae1c=0x0;_0x23ae1c<0x100;_0x23ae1c++){var _0x4e1bb3=_0x4a7ba8^_0x4a7ba8<<0x1^_0x4a7ba8<<0x2^_0x4a7ba8<<0x3^_0x4a7ba8<<0x4;_0x4e1bb3=_0x4e1bb3>>>0x8^_0x4e1bb3&0xff^0x63,_0x144606[_0x43126e]=_0x4e1bb3,_0xece021[_0x4e1bb3]=_0x43126e;var _0x498dfd=_0xb9a180[_0x43126e],_0x558a18=_0xb9a180[_0x498dfd],_0x435a03=_0xb9a180[_0x558a18],_0x340f44=_0xb9a180[_0x4e1bb3]*0x101^_0x4e1bb3*0x1010100;_0x1bae05[_0x43126e]=_0x340f44<<0x18|_0x340f44>>>0x8,_0xfaf566[_0x43126e]=_0x340f44<<0x10|_0x340f44>>>0x10,_0x178db2[_0x43126e]=_0x340f44<<0x8|_0x340f44>>>0x18,_0xd37b7c[_0x43126e]=_0x340f44;var _0x340f44=_0x435a03*0x1010101^_0x558a18*0x10001^_0x498dfd*0x101^_0x43126e*0x1010100;_0x541f77[_0x4e1bb3]=_0x340f44<<0x18|_0x340f44>>>0x8,_0x58cdcd[_0x4e1bb3]=_0x340f44<<0x10|_0x340f44>>>0x10,_0x64fb74[_0x4e1bb3]=_0x340f44<<0x8|_0x340f44>>>0x18,_0x3b01c8[_0x4e1bb3]=_0x340f44,_0x43126e?(_0x43126e=_0x498dfd^_0xb9a180[_0xb9a180[_0xb9a180[_0x435a03^_0x498dfd]]],_0x4a7ba8^=_0xb9a180[_0xb9a180[_0x4a7ba8]]):_0x43126e=_0x4a7ba8=0x1;}}());var _0x28b458=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x580868=_0x3d7b71[_0x2575f2(0x40d)]=_0x3493e8[_0x2575f2(0x30f)]({'_doReset':function(){const _0x10d390=_0x2575f2;var _0x3f1a6d;if(!(this[_0x10d390(0x2b3)]&&this[_0x10d390(0x470)]===this[_0x10d390(0x3c4)])){for(var _0x3ba0e5=this[_0x10d390(0x470)]=this[_0x10d390(0x3c4)],_0xe01ca=_0x3ba0e5['words'],_0x45bd7f=_0x3ba0e5[_0x10d390(0x45c)]/0x4,_0x3af97c=this[_0x10d390(0x2b3)]=_0x45bd7f+0x6,_0x2ade67=(_0x3af97c+0x1)*0x4,_0x1204f8=this['_keySchedule']=[],_0x958e68=0x0;_0x958e68<_0x2ade67;_0x958e68++)_0x958e68<_0x45bd7f?_0x1204f8[_0x958e68]=_0xe01ca[_0x958e68]:(_0x3f1a6d=_0x1204f8[_0x958e68-0x1],_0x958e68%_0x45bd7f?_0x45bd7f>0x6&&_0x958e68%_0x45bd7f==0x4&&(_0x3f1a6d=_0x144606[_0x3f1a6d>>>0x18]<<0x18|_0x144606[_0x3f1a6d>>>0x10&0xff]<<0x10|_0x144606[_0x3f1a6d>>>0x8&0xff]<<0x8|_0x144606[_0x3f1a6d&0xff]):(_0x3f1a6d=_0x3f1a6d<<0x8|_0x3f1a6d>>>0x18,_0x3f1a6d=_0x144606[_0x3f1a6d>>>0x18]<<0x18|_0x144606[_0x3f1a6d>>>0x10&0xff]<<0x10|_0x144606[_0x3f1a6d>>>0x8&0xff]<<0x8|_0x144606[_0x3f1a6d&0xff],_0x3f1a6d^=_0x28b458[_0x958e68/_0x45bd7f|0x0]<<0x18),_0x1204f8[_0x958e68]=_0x1204f8[_0x958e68-_0x45bd7f]^_0x3f1a6d);for(var _0x291415=this['_invKeySchedule']=[],_0x30df81=0x0;_0x30df81<_0x2ade67;_0x30df81++){var _0x958e68=_0x2ade67-_0x30df81;if(_0x30df81%0x4)var _0x3f1a6d=_0x1204f8[_0x958e68];else var _0x3f1a6d=_0x1204f8[_0x958e68-0x4];_0x30df81<0x4||_0x958e68<=0x4?_0x291415[_0x30df81]=_0x3f1a6d:_0x291415[_0x30df81]=_0x541f77[_0x144606[_0x3f1a6d>>>0x18]]^_0x58cdcd[_0x144606[_0x3f1a6d>>>0x10&0xff]]^_0x64fb74[_0x144606[_0x3f1a6d>>>0x8&0xff]]^_0x3b01c8[_0x144606[_0x3f1a6d&0xff]];}}},'encryptBlock':function(_0x21773d,_0x26edd2){const _0x468725=_0x2575f2;this[_0x468725(0x664)](_0x21773d,_0x26edd2,this[_0x468725(0x521)],_0x1bae05,_0xfaf566,_0x178db2,_0xd37b7c,_0x144606);},'decryptBlock':function(_0x3f38a3,_0x335fc1){const _0xfdebe5=_0x2575f2;var _0x5a58b8=_0x3f38a3[_0x335fc1+0x1];_0x3f38a3[_0x335fc1+0x1]=_0x3f38a3[_0x335fc1+0x3],_0x3f38a3[_0x335fc1+0x3]=_0x5a58b8,this[_0xfdebe5(0x664)](_0x3f38a3,_0x335fc1,this[_0xfdebe5(0x2c0)],_0x541f77,_0x58cdcd,_0x64fb74,_0x3b01c8,_0xece021);var _0x5a58b8=_0x3f38a3[_0x335fc1+0x1];_0x3f38a3[_0x335fc1+0x1]=_0x3f38a3[_0x335fc1+0x3],_0x3f38a3[_0x335fc1+0x3]=_0x5a58b8;},'_doCryptBlock':function(_0x1535ec,_0x41de9b,_0xdf9b8,_0xb60c30,_0x3921ec,_0x1b9091,_0x63a666,_0x20d57a){for(var _0x1c3fa2=this['_nRounds'],_0xccaf0f=_0x1535ec[_0x41de9b]^_0xdf9b8[0x0],_0x291c60=_0x1535ec[_0x41de9b+0x1]^_0xdf9b8[0x1],_0x37a0de=_0x1535ec[_0x41de9b+0x2]^_0xdf9b8[0x2],_0x1b8768=_0x1535ec[_0x41de9b+0x3]^_0xdf9b8[0x3],_0xb68ab=0x4,_0x126d5f=0x1;_0x126d5f<_0x1c3fa2;_0x126d5f++){var _0x2da508=_0xb60c30[_0xccaf0f>>>0x18]^_0x3921ec[_0x291c60>>>0x10&0xff]^_0x1b9091[_0x37a0de>>>0x8&0xff]^_0x63a666[_0x1b8768&0xff]^_0xdf9b8[_0xb68ab++],_0x1833ff=_0xb60c30[_0x291c60>>>0x18]^_0x3921ec[_0x37a0de>>>0x10&0xff]^_0x1b9091[_0x1b8768>>>0x8&0xff]^_0x63a666[_0xccaf0f&0xff]^_0xdf9b8[_0xb68ab++],_0x3fb395=_0xb60c30[_0x37a0de>>>0x18]^_0x3921ec[_0x1b8768>>>0x10&0xff]^_0x1b9091[_0xccaf0f>>>0x8&0xff]^_0x63a666[_0x291c60&0xff]^_0xdf9b8[_0xb68ab++],_0x1e2df4=_0xb60c30[_0x1b8768>>>0x18]^_0x3921ec[_0xccaf0f>>>0x10&0xff]^_0x1b9091[_0x291c60>>>0x8&0xff]^_0x63a666[_0x37a0de&0xff]^_0xdf9b8[_0xb68ab++];_0xccaf0f=_0x2da508,_0x291c60=_0x1833ff,_0x37a0de=_0x3fb395,_0x1b8768=_0x1e2df4;}var _0x2da508=(_0x20d57a[_0xccaf0f>>>0x18]<<0x18|_0x20d57a[_0x291c60>>>0x10&0xff]<<0x10|_0x20d57a[_0x37a0de>>>0x8&0xff]<<0x8|_0x20d57a[_0x1b8768&0xff])^_0xdf9b8[_0xb68ab++],_0x1833ff=(_0x20d57a[_0x291c60>>>0x18]<<0x18|_0x20d57a[_0x37a0de>>>0x10&0xff]<<0x10|_0x20d57a[_0x1b8768>>>0x8&0xff]<<0x8|_0x20d57a[_0xccaf0f&0xff])^_0xdf9b8[_0xb68ab++],_0x3fb395=(_0x20d57a[_0x37a0de>>>0x18]<<0x18|_0x20d57a[_0x1b8768>>>0x10&0xff]<<0x10|_0x20d57a[_0xccaf0f>>>0x8&0xff]<<0x8|_0x20d57a[_0x291c60&0xff])^_0xdf9b8[_0xb68ab++],_0x1e2df4=(_0x20d57a[_0x1b8768>>>0x18]<<0x18|_0x20d57a[_0xccaf0f>>>0x10&0xff]<<0x10|_0x20d57a[_0x291c60>>>0x8&0xff]<<0x8|_0x20d57a[_0x37a0de&0xff])^_0xdf9b8[_0xb68ab++];_0x1535ec[_0x41de9b]=_0x2da508,_0x1535ec[_0x41de9b+0x1]=_0x1833ff,_0x1535ec[_0x41de9b+0x2]=_0x3fb395,_0x1535ec[_0x41de9b+0x3]=_0x1e2df4;},'keySize':0x100/0x20});_0x10d5a2[_0x2575f2(0x40d)]=_0x3493e8[_0x2575f2(0x4fe)](_0x580868);}()),_0x58898c[_0x4354cf(0x40d)];}));}(Di));var pr=Di[_0x29ff00(0x5a4)];const mr=xe(pr);var gr=Pi();const Qt=xe(gr);var Mi={'exports':{}};(function(_0xdfeba2,_0x289bd7){(function(_0xd58344,_0x17004b){_0xdfeba2['exports']=_0x17004b(oe());}(Z,function(_0x31a203){const _0x377a9e=_0x2f26;return _0x31a203[_0x377a9e(0x38e)][_0x377a9e(0x3e6)];}));}(Mi));var Ir=Mi[_0x29ff00(0x5a4)];const Cr=xe(Ir);var Ai={'exports':{}};(function(_0x54bf00,_0x50fa45){(function(_0x3cee32,_0x307f10){const _0x1f2c1e=_0x2f26;_0x54bf00[_0x1f2c1e(0x5a4)]=_0x307f10(oe());}(Z,function(_0x44f7c2){const _0x616c07=_0x2f26;return(function(){const _0x5505f1=_0x2f26;if(typeof ArrayBuffer==_0x5505f1(0x5a8)){var _0x58a9aa=_0x44f7c2,_0x384a78=_0x58a9aa[_0x5505f1(0x530)],_0x53005a=_0x384a78['WordArray'],_0x5da649=_0x53005a[_0x5505f1(0x334)],_0x3763a6=_0x53005a[_0x5505f1(0x334)]=function(_0x50259d){const _0x131124=_0x5505f1;if(_0x50259d instanceof ArrayBuffer&&(_0x50259d=new Uint8Array(_0x50259d)),(_0x50259d instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x50259d instanceof Uint8ClampedArray||_0x50259d instanceof Int16Array||_0x50259d instanceof Uint16Array||_0x50259d instanceof Int32Array||_0x50259d instanceof Uint32Array||_0x50259d instanceof Float32Array||_0x50259d instanceof Float64Array)&&(_0x50259d=new Uint8Array(_0x50259d['buffer'],_0x50259d[_0x131124(0x59d)],_0x50259d['byteLength'])),_0x50259d instanceof Uint8Array){for(var _0x12bcaa=_0x50259d[_0x131124(0x260)],_0x46263e=[],_0x578956=0x0;_0x578956<_0x12bcaa;_0x578956++)_0x46263e[_0x578956>>>0x2]|=_0x50259d[_0x578956]<<0x18-_0x578956%0x4*0x8;_0x5da649[_0x131124(0x1d5)](this,_0x46263e,_0x12bcaa);}else _0x5da649[_0x131124(0x567)](this,arguments);};_0x3763a6[_0x5505f1(0x1fe)]=_0x53005a;}}()),_0x44f7c2['lib'][_0x616c07(0x1e2)];}));}(Ai));var Er=Ai['exports'];const br=xe(Er);var Ni={'exports':{}};(function(_0x138c4d,_0x199646){(function(_0x3a7b38,_0x160b03,_0x3ca5a8){const _0x462d71=_0x2f26;_0x138c4d[_0x462d71(0x5a4)]=_0x160b03(oe(),Ui());}(Z,function(_0x306c28){const _0x192a0a=_0x2f26;return _0x306c28[_0x192a0a(0x2f8)][_0x192a0a(0x631)]={'pad':function(){},'unpad':function(){}},_0x306c28[_0x192a0a(0x2f8)][_0x192a0a(0x631)];}));}(Ni));var Tr=Ni[_0x29ff00(0x5a4)];const Rr=xe(Tr);function yr(_0x234f00,_0x149d08){const _0x46de3c=_0x29ff00,_0x573670=_0x149d08-_0x234f00['length']%_0x149d08,_0x2f2912=String['fromCharCode'](_0x573670)[_0x46de3c(0x2cf)](_0x573670);return _0x234f00+_0x2f2912;}function Or(_0xcbbe8a,_0x35f8cc){const _0x361c44=_0x29ff00,_0x21cf08=br[_0x361c44(0x581)](0x10),_0xbc58a0=yr(_0xcbbe8a,0x10),_0x4af347=mr[_0x361c44(0x442)](Cr['parse'](_0xbc58a0),Qt[_0x361c44(0x1c4)](_0x35f8cc),{'iv':_0x21cf08,'padding':Rr});return _0x21cf08[_0x361c44(0x2c9)](_0x4af347[_0x361c44(0x3b0)])[_0x361c44(0x3ef)](Qt);}function Dr(){const _0x56bc1e=_0x29ff00,_0x566d4d=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x56bc1e(0x224)];if(_0x566d4d){const _0xfd390f={'time':Math[_0x56bc1e(0x3f8)](Date[_0x56bc1e(0x53b)]()/0x3e8),'domain':location[_0x56bc1e(0x5f6)]};return Or(JSON[_0x56bc1e(0x65e)](_0xfd390f),_0x566d4d);}}var Pr=Object[_0x29ff00(0x64a)],wr=Object[_0x29ff00(0x316)],Ur=(_0x515deb,_0x51312e,_0x317b6e,_0x317781)=>{const _0x296a74=_0x29ff00;for(var _0x7af0fe=_0x317781>0x1?void 0x0:_0x317781?wr(_0x51312e,_0x317b6e):_0x51312e,_0x7aae39=_0x515deb[_0x296a74(0x5e7)]-0x1,_0x375b7c;_0x7aae39>=0x0;_0x7aae39--)(_0x375b7c=_0x515deb[_0x7aae39])&&(_0x7af0fe=(_0x317781?_0x375b7c(_0x51312e,_0x317b6e,_0x7af0fe):_0x375b7c(_0x7af0fe))||_0x7af0fe);return _0x317781&&_0x7af0fe&&Pr(_0x51312e,_0x317b6e,_0x7af0fe),_0x7af0fe;},Mr=(_0x428e94,_0x1606c3)=>(_0x46c6bc,_0x4f05c7)=>_0x1606c3(_0x46c6bc,_0x4f05c7,_0x428e94);let Ke=class{constructor(_0x1dea5e){const _0x400d25=_0x29ff00;this[_0x400d25(0x620)]=_0x1dea5e,this[_0x400d25(0x616)]();}['_initRequestHeader'](){const _0x21c89a=_0x29ff00;this[_0x21c89a(0x620)][_0x21c89a(0x595)]({'interceptor':(_0x4ea59a,_0x4e5b43)=>{const _0x5a042e=_0x21c89a,_0x393f65=_0x4ea59a[_0x5a042e(0x32e)],_0x3701e8=Dr();return _0x3701e8&&_0x393f65['set'](_0x5a042e(0x305),_0x3701e8),_0x4e5b43(_0x4ea59a);}});}};Ke=Ur([Mr(0x0,a[_0x29ff00(0x493)](z[_0x29ff00(0x1be)]))],Ke);var Ar=Object[_0x29ff00(0x64a)],Nr=Object[_0x29ff00(0x316)],Lr=(_0x1ac37d,_0xe107c8,_0x57d348,_0x41a80b)=>{const _0x13a182=_0x29ff00;for(var _0x3146dc=_0x41a80b>0x1?void 0x0:_0x41a80b?Nr(_0xe107c8,_0x57d348):_0xe107c8,_0x208fe8=_0x1ac37d[_0x13a182(0x5e7)]-0x1,_0x43c24f;_0x208fe8>=0x0;_0x208fe8--)(_0x43c24f=_0x1ac37d[_0x208fe8])&&(_0x3146dc=(_0x41a80b?_0x43c24f(_0xe107c8,_0x57d348,_0x3146dc):_0x43c24f(_0x3146dc))||_0x3146dc);return _0x41a80b&&_0x3146dc&&Ar(_0xe107c8,_0x57d348,_0x3146dc),_0x3146dc;},St=(_0x1321ec,_0x5b6580)=>(_0x216f77,_0x52603f)=>_0x5b6580(_0x216f77,_0x52603f,_0x1321ec);const xr=[_0x29ff00(0x5a2),_0x29ff00(0x213),_0x29ff00(0x657),_0x29ff00(0x2ec),_0x29ff00(0x378)],jr=0x5*0x400*0x400,$r=_0x29ff00(0x5c8),Hr=_0x29ff00(0x630),Br=_0x29ff00(0x4ed),kr=_0x29ff00(0x3a7);exports[_0x29ff00(0x35d)]=class{constructor(_0x204c9a,_0xb3f3dd,_0x57cd57){const _0x51e5f6=_0x29ff00;I(this,_0x51e5f6(0x5a9),0x0),I(this,_0x51e5f6(0x2f1),new A['Subject']()),I(this,_0x51e5f6(0x39d),this[_0x51e5f6(0x2f1)]),I(this,_0x51e5f6(0x3ed),new Map()),(this['_httpService']=_0x204c9a,this['_configService']=_0xb3f3dd,this[_0x51e5f6(0x600)]=_0x57cd57);}[_0x29ff00(0x3cd)](_0x4adfda){const _0x4f726d=_0x29ff00;this['_waitCount']=_0x4adfda,this[_0x4f726d(0x2f1)][_0x4f726d(0x49f)](_0x4adfda);}['getImageSourceCache'](_0x9c77b2,_0x1ff18e){const _0x2e88ef=_0x29ff00;if(_0x1ff18e===ie[_0x2e88ef(0x5b3)]['BASE64']){const _0x1d0669=new Image();return _0x1d0669['src']=_0x9c77b2,_0x1d0669;}return this[_0x2e88ef(0x3ed)][_0x2e88ef(0x2ef)](_0x9c77b2);}[_0x29ff00(0x1de)](_0x269f4f,_0x5af452,_0x363007){const _0x9693ad=_0x29ff00;_0x5af452===ie[_0x9693ad(0x5b3)][_0x9693ad(0x303)]||_0x363007==null||this['_imageSourceCache']['set'](_0x269f4f,_0x363007);}async[_0x29ff00(0x43b)](_0x31264b){const _0x11ec72=_0x29ff00;try{const _0x44a8f7=this['_replaceFileID'](this['_getSignURL'](),''+_0x31264b),_0x47dd3d=(await this['_httpService'][_0x11ec72(0x2ef)](_0x44a8f7))['body'];if(_0x47dd3d['error']&&_0x47dd3d[_0x11ec72(0x27a)]['code']===_i['OK']){const _0x1ec950=new URL(_0x47dd3d[_0x11ec72(0x4ad)],this[_0x11ec72(0x635)]())['toString']();return Promise[_0x11ec72(0x343)](_0x1ec950);}return Promise[_0x11ec72(0x4af)](_0x47dd3d[_0x11ec72(0x27a)]);}catch(_0x219b25){return Promise[_0x11ec72(0x4af)](_0x219b25);}}async['saveImage'](_0x6c30f7){const _0x34b1b3=_0x29ff00;let _0x38d80f='';if(!xr[_0x34b1b3(0x263)](_0x6c30f7[_0x34b1b3(0x2eb)]))return this[_0x34b1b3(0x237)](),Promise[_0x34b1b3(0x4af)](new Error(ie[_0x34b1b3(0x662)][_0x34b1b3(0x451)]));if(_0x6c30f7['size']>jr)return this['_decreaseWaiting'](),Promise[_0x34b1b3(0x4af)](new Error(ie[_0x34b1b3(0x662)]['ERROR_EXCEED_SIZE']));try{const _0x528990=new FormData();_0x528990[_0x34b1b3(0x31a)](_0x34b1b3(0x681),_0x6c30f7);const _0x8eb1a1=this['_univerInstanceService'][_0x34b1b3(0x498)](),_0xbb813e=_0x8eb1a1==null?void 0x0:_0x8eb1a1[_0x34b1b3(0x621)]();if(!_0xbb813e)throw new Error('unitId\x20is\x20not\x20found');const _0x43549f=this['_getUploadFileURL']()+_0x34b1b3(0x45f)+_0x6c30f7['size'][_0x34b1b3(0x3ef)]()+_0x34b1b3(0x1ef)+ui[_0x34b1b3(0x358)]+'&assign='+encodeURIComponent(_0xbb813e),_0x11b3bd=await(await fetch(_0x43549f,{'method':_0x34b1b3(0x4b7),'body':_0x528990}))['json']();if(typeof _0x11b3bd['FileId']!=_0x34b1b3(0x291))return this[_0x34b1b3(0x237)](),Promise[_0x34b1b3(0x4af)](new Error(ie[_0x34b1b3(0x662)][_0x34b1b3(0x5da)]));_0x38d80f=_0x11b3bd[_0x34b1b3(0x55c)];}catch{return this[_0x34b1b3(0x237)](),Promise['reject'](new Error(ie[_0x34b1b3(0x662)][_0x34b1b3(0x5da)]));}return new Promise((_0x56e355,_0x4c0147)=>{const _0x5f5951=_0x34b1b3,_0x584aa4=new FileReader();_0x584aa4[_0x5f5951(0x25c)](_0x6c30f7),_0x584aa4[_0x5f5951(0x3b9)]=_0x32e861=>{const _0x6022bf=_0x5f5951;var _0x1124f7;const _0x34c00e=(_0x1124f7=_0x32e861[_0x6022bf(0x629)])==null?void 0x0:_0x1124f7['result'];if(_0x34c00e==null){this['_decreaseWaiting'](),_0x4c0147(new Error(ie['ImageUploadStatusType'][_0x6022bf(0x5da)]));return;}const _0x1ec009=a[_0x6022bf(0x302)][_0x6022bf(0x512)](0x6);_0x56e355({'imageId':_0x1ec009,'imageSourceType':ie[_0x6022bf(0x5b3)][_0x6022bf(0x44a)],'source':_0x38d80f,'base64Cache':_0x34c00e,'status':ie[_0x6022bf(0x662)][_0x6022bf(0x2c2)]}),this['_decreaseWaiting']();};});}[_0x29ff00(0x3c6)](){const _0x42d0b6=_0x29ff00;var _0x5462cd,_0xf7d2c0;const _0x5d7616=this[_0x42d0b6(0x4ea)][_0x42d0b6(0x1ea)]($r),_0x42a49c=this[_0x42d0b6(0x4ea)][_0x42d0b6(0x1ea)](Q);return(_0xf7d2c0=(_0x5462cd=_0x42a49c==null?void 0x0:_0x42a49c['uploadFileServerUrl'])!=null?_0x5462cd:_0x5d7616)!=null?_0xf7d2c0:Hr;}['_getSignURL'](){const _0x2fa01f=_0x29ff00;var _0x223537,_0x2c117b;const _0x446b46=this[_0x2fa01f(0x4ea)]['getConfig'](Br),_0x3614c0=this[_0x2fa01f(0x4ea)][_0x2fa01f(0x1ea)](Q);return(_0x2c117b=(_0x223537=_0x3614c0==null?void 0x0:_0x3614c0[_0x2fa01f(0x3b2)])!=null?_0x223537:_0x446b46)!=null?_0x2c117b:kr;}[_0x29ff00(0x635)](){const _0x249d63=_0x29ff00;var _0x832ee6;const _0x5d807e=this[_0x249d63(0x4ea)][_0x249d63(0x1ea)](Q);return(_0x832ee6=_0x5d807e==null?void 0x0:_0x5d807e[_0x249d63(0x33b)])!=null?_0x832ee6:location[_0x249d63(0x655)];}[_0x29ff00(0x5de)](_0x8fad1b,_0xfbefc1){const _0x33f91f=_0x29ff00;return _0x8fad1b[_0x33f91f(0x43e)]('{fileID}',_0xfbefc1);}[_0x29ff00(0x237)](){const _0xf30ef3=_0x29ff00;this['_waitCount']-=0x1,this[_0xf30ef3(0x2f1)]['next'](this[_0xf30ef3(0x5a9)]);}},exports[_0x29ff00(0x35d)]=Lr([St(0x0,a['Inject'](z[_0x29ff00(0x1be)])),St(0x1,a['IConfigService']),St(0x2,a[_0x29ff00(0x493)](a[_0x29ff00(0x37f)]))],exports[_0x29ff00(0x35d)]);var Wr=Object[_0x29ff00(0x64a)],Fr=Object[_0x29ff00(0x316)],Vr=(_0x4cd428,_0x127cfb,_0x7ef1c,_0x52e5a9)=>{const _0x186f8c=_0x29ff00;for(var _0x25fbe6=_0x52e5a9>0x1?void 0x0:_0x52e5a9?Fr(_0x127cfb,_0x7ef1c):_0x127cfb,_0x492d42=_0x4cd428[_0x186f8c(0x5e7)]-0x1,_0x5b5228;_0x492d42>=0x0;_0x492d42--)(_0x5b5228=_0x4cd428[_0x492d42])&&(_0x25fbe6=(_0x52e5a9?_0x5b5228(_0x127cfb,_0x7ef1c,_0x25fbe6):_0x5b5228(_0x25fbe6))||_0x25fbe6);return _0x52e5a9&&_0x25fbe6&&Wr(_0x127cfb,_0x7ef1c,_0x25fbe6),_0x25fbe6;},ei=(_0x537c84,_0x4349b2)=>(_0x5121ee,_0x220ac3)=>_0x4349b2(_0x5121ee,_0x220ac3,_0x537c84);const Gr=_0x29ff00(0x58c);exports[_0x29ff00(0x2bd)]=class{constructor(_0xf6e853,_0x22d309){const _0x3bd8dc=_0x29ff00;this['_configService']=_0xf6e853,this[_0x3bd8dc(0x539)]=_0x22d309;}[_0x29ff00(0x523)](){const _0x60adfa=_0x29ff00;var _0x3fc102,_0x4879a1;const _0x5ee54e=this[_0x60adfa(0x4ea)]['getConfig'](Ut),_0xb5368e=this['_configService'][_0x60adfa(0x1ea)](Q);return(_0x4879a1=(_0x3fc102=_0xb5368e==null?void 0x0:_0xb5368e[_0x60adfa(0x51f)])!=null?_0x3fc102:_0x5ee54e)!=null?_0x4879a1:Gr;}async[_0x29ff00(0x536)](_0x3c18cc){const _0x5bcf06=_0x29ff00,_0x4c6f1f=this[_0x5bcf06(0x523)]()+_0x5bcf06(0x555);return{'list':[{'title':_0x5bcf06(0x4f3),'mentions':(await this[_0x5bcf06(0x539)][_0x5bcf06(0x2ef)](_0x4c6f1f,{'params':{'objectID':_0x3c18cc[_0x5bcf06(0x21b)],'unitID':_0x3c18cc[_0x5bcf06(0x21b)]}}))[_0x5bcf06(0x55d)][_0x5bcf06(0x65c)][_0x5bcf06(0x4db)](_0x2abf5b=>({'objectId':_0x2abf5b['id'],'name':_0x2abf5b[_0x5bcf06(0x1bf)][_0x5bcf06(0x2cd)],'metadata':{'icon':_0x2abf5b[_0x5bcf06(0x1bf)][_0x5bcf06(0x2d2)]},'label':_0x2abf5b['subject']['name'],'objectType':a['MentionType'][_0x5bcf06(0x61b)]})),'metadata':{},'type':a['MentionType'][_0x5bcf06(0x61b)]}]};}},exports[_0x29ff00(0x2bd)]=Vr([ei(0x0,a[_0x29ff00(0x493)](a[_0x29ff00(0x64d)])),ei(0x1,a['Inject'](z[_0x29ff00(0x1be)]))],exports[_0x29ff00(0x2bd)]);var Yr=Object[_0x29ff00(0x64a)],Kr=Object[_0x29ff00(0x316)],qr=(_0x42d5a4,_0x3eebc0,_0x35e8e2,_0x4a80c2)=>{const _0x522e13=_0x29ff00;for(var _0x39215c=_0x4a80c2>0x1?void 0x0:_0x4a80c2?Kr(_0x3eebc0,_0x35e8e2):_0x3eebc0,_0x5d3fd7=_0x42d5a4[_0x522e13(0x5e7)]-0x1,_0x37636a;_0x5d3fd7>=0x0;_0x5d3fd7--)(_0x37636a=_0x42d5a4[_0x5d3fd7])&&(_0x39215c=(_0x4a80c2?_0x37636a(_0x3eebc0,_0x35e8e2,_0x39215c):_0x37636a(_0x39215c))||_0x39215c);return _0x4a80c2&&_0x39215c&&Yr(_0x3eebc0,_0x35e8e2,_0x39215c),_0x39215c;},Ae=(_0x2e715c,_0x2b113d)=>(_0xfb8777,_0x298eaf)=>_0x2b113d(_0xfb8777,_0x298eaf,_0x2e715c);let qe=class extends a['RxDisposable']{constructor(_0xdf4b11,_0x376b4b,_0x853491,_0x3c567f,_0x194a84){const _0x38b006=_0x29ff00;super(),this['_injector']=_0xdf4b11,this['_univerInstanceService']=_0x376b4b,this[_0x38b006(0x590)]=_0x853491,this['_collaborationSessionService']=_0x3c567f,this[_0x38b006(0x20f)]=_0x194a84,this[_0x38b006(0x561)](),this[_0x38b006(0x250)]();}[_0x29ff00(0x250)](){const _0x87cc71=_0x29ff00,_0x4f6952=async _0x19027d=>{const _0x203a31=_0x2f26;(await this[_0x203a31(0x1eb)][_0x203a31(0x429)](_0x19027d))['event$'][_0x203a31(0x619)](V[_0x203a31(0x604)](_0x1fd8a4=>_0x1fd8a4[_0x203a31(0x55b)]===p[_0x203a31(0x259)][_0x203a31(0x44d)]),V[_0x203a31(0x264)](this[_0x203a31(0x2b6)]))[_0x203a31(0x58f)](_0x365975=>{const _0x44407b=_0x203a31,_0x4f5e66=_0x365975,{reason:_0x304eaf}=_0x4f5e66[_0x44407b(0x3eb)];this[_0x44407b(0x1c1)]['get'](te[_0x44407b(0x47f)])[_0x44407b(0x318)]({'type':Ce[_0x44407b(0x506)][_0x44407b(0x341)],'content':this[_0x44407b(0x20f)]['t'](_0x44407b(0x271))+'('+_0x304eaf+')'}),this[_0x44407b(0x590)]['updatePermissionPoint'](new k['WorkbookEditablePermission'](_0x19027d)['id'],!0x1),this['_collaborationSessionService'][_0x44407b(0x452)](_0x19027d);});};A['merge'](this[_0x87cc71(0x600)][_0x87cc71(0x460)](a[_0x87cc71(0x5ce)][_0x87cc71(0x3d0)]),this[_0x87cc71(0x600)][_0x87cc71(0x460)](a['UniverInstanceType'][_0x87cc71(0x4f0)]))[_0x87cc71(0x619)](V[_0x87cc71(0x4db)](_0x2ffa6d=>_0x2ffa6d[_0x87cc71(0x621)]()),V[_0x87cc71(0x604)](_0x17ddb8=>!a[_0x87cc71(0x1f4)](_0x17ddb8)),V['takeUntil'](this[_0x87cc71(0x2b6)]))[_0x87cc71(0x58f)](_0x42cfbd=>{_0x4f6952(_0x42cfbd);});}[_0x29ff00(0x561)](){const _0x5ceb47=_0x29ff00,_0x383501=async _0x4d22fa=>{const _0x22fea7=_0x2f26;(await this[_0x22fea7(0x1eb)]['requireSession'](_0x4d22fa))[_0x22fea7(0x48a)][_0x22fea7(0x619)](V[_0x22fea7(0x604)](_0x2efb67=>_0x2efb67['eventID']===p['CollaborationEvent'][_0x22fea7(0x410)]),V[_0x22fea7(0x264)](this[_0x22fea7(0x2b6)]))['subscribe'](_0x599d6e=>{const _0xb6c71e=_0x22fea7,_0x30e274=_0x599d6e,{objectId:_0xf17e9d}=_0x30e274[_0xb6c71e(0x3eb)],_0x4ac9ae=this['_injector'][_0xb6c71e(0x2ef)](ye[_0xb6c71e(0x3ae)]);_0xf17e9d===_0x4d22fa?_0x4ac9ae[_0xb6c71e(0x58e)](_0x4d22fa):_0x4ac9ae['refreshPermission'](_0x4d22fa,_0xf17e9d);});};A[_0x5ceb47(0x5ed)](this[_0x5ceb47(0x600)][_0x5ceb47(0x460)](a[_0x5ceb47(0x5ce)][_0x5ceb47(0x3d0)]),this[_0x5ceb47(0x600)][_0x5ceb47(0x460)](a[_0x5ceb47(0x5ce)]['UNIVER_DOC']))[_0x5ceb47(0x619)](V[_0x5ceb47(0x4db)](_0x5f215b=>_0x5f215b[_0x5ceb47(0x621)]()),V['filter'](_0x1d7f78=>!a[_0x5ceb47(0x1f4)](_0x1d7f78)),V['takeUntil'](this[_0x5ceb47(0x2b6)]))[_0x5ceb47(0x58f)](_0x576e2d=>{_0x383501(_0x576e2d);});}};qe=qr([Ae(0x0,a[_0x29ff00(0x493)](a['Injector'])),Ae(0x1,a[_0x29ff00(0x37f)]),Ae(0x2,a[_0x29ff00(0x3d1)]),Ae(0x3,a['Inject'](exports[_0x29ff00(0x5ea)])),Ae(0x4,a['Inject'](a[_0x29ff00(0x430)]))],qe);var zr=Object[_0x29ff00(0x64a)],Xr=Object['getOwnPropertyDescriptor'],Jr=(_0x2d0db1,_0x195147,_0x23b156,_0x9de0e7)=>{const _0xb7c002=_0x29ff00;for(var _0x405747=_0x9de0e7>0x1?void 0x0:_0x9de0e7?Xr(_0x195147,_0x23b156):_0x195147,_0x59aac6=_0x2d0db1[_0xb7c002(0x5e7)]-0x1,_0x288dfd;_0x59aac6>=0x0;_0x59aac6--)(_0x288dfd=_0x2d0db1[_0x59aac6])&&(_0x405747=(_0x9de0e7?_0x288dfd(_0x195147,_0x23b156,_0x405747):_0x288dfd(_0x405747))||_0x405747);return _0x9de0e7&&_0x405747&&zr(_0x195147,_0x23b156,_0x405747),_0x405747;},ti=(_0xad5a9f,_0x2ebe66)=>(_0x4b0cab,_0x926fba)=>_0x2ebe66(_0x4b0cab,_0x926fba,_0xad5a9f);exports['SnapshotServerOverHTTPService']=class{constructor(_0x3dba19,_0x4681c7){const _0xc41ff1=_0x29ff00;this[_0xc41ff1(0x4ea)]=_0x3dba19,this[_0xc41ff1(0x620)]=_0x4681c7;}async[_0x29ff00(0x1ca)](_0x228661,_0x110178){const _0x2bdaed=_0x29ff00;var _0x2a2df4;const {unitID:_0x502e3e,type:_0x326a1b,revision:_0x360c91=0x0}=_0x110178,_0x22d945=this['_getSnapshotAPIPrefix']()+'/'+_0x326a1b+_0x2bdaed(0x440)+_0x502e3e+_0x2bdaed(0x2dd)+_0x360c91,_0x11e9d1=(await this[_0x2bdaed(0x620)]['get'](_0x22d945))['body'],_0x5e9f56=(_0x2a2df4=_0x11e9d1[_0x2bdaed(0x1c7)])==null?void 0x0:_0x2a2df4[_0x2bdaed(0x3d6)];if(_0x5e9f56){const _0x4b8d23=_0x5e9f56==null?void 0x0:_0x5e9f56[_0x2bdaed(0x5d3)],_0x5b77e2=p['textEncoder'][_0x2bdaed(0x597)](p['b64DecodeUnicode'](_0x4b8d23));_0x5e9f56['originalMeta']=_0x5b77e2,Object[_0x2bdaed(0x432)](_0x5e9f56[_0x2bdaed(0x317)])['forEach'](([,_0x4c52de])=>{const _0xba1446=_0x2bdaed,_0x2c47bd=_0x4c52de[_0xba1446(0x5d3)],_0x1f95fa=p['textEncoder'][_0xba1446(0x597)](p[_0xba1446(0x2fd)](_0x2c47bd));_0x4c52de[_0xba1446(0x5d3)]=_0x1f95fa;});}return _0x11e9d1;}async[_0x29ff00(0x37c)](_0x44b3fe,_0x5bcb42){const _0x10148b=_0x29ff00,{unitID:_0x3feed1,type:_0xda1f84,blockID:_0x4a7a34}=_0x5bcb42,_0x13d40a=this[_0x10148b(0x23e)]()+'/'+_0xda1f84+_0x10148b(0x440)+_0x3feed1+'/block/'+_0x4a7a34;return(await this[_0x10148b(0x620)][_0x10148b(0x2ef)](_0x13d40a))[_0x10148b(0x55d)];}async[_0x29ff00(0x3a0)](_0x2cc727,_0x42144a){const _0x441829=_0x29ff00,{unitID:_0xf9e68,type:_0x38dffa,blockID:_0x16e1bc}=_0x42144a,_0x450ea0=this[_0x441829(0x23e)]()+_0x441829(0x3af)+_0x38dffa+'/unit/'+_0xf9e68+'/block/'+_0x16e1bc;return(await this[_0x441829(0x620)]['get'](_0x450ea0))[_0x441829(0x55d)];}async['fetchMissingChangesets'](_0x478726,_0x8d74ab){const _0x50d409=_0x29ff00,{unitID:_0x59c713,type:_0x47ab8a,from:_0x13c9a4,to:_0x396a63}=_0x8d74ab,_0x11c988=this[_0x50d409(0x23e)]()+'/'+_0x47ab8a+_0x50d409(0x440)+_0x59c713+_0x50d409(0x397)+_0x13c9a4+_0x50d409(0x2b0)+_0x396a63;return(await this[_0x50d409(0x620)]['get'](_0x11c988))[_0x50d409(0x55d)];}[_0x29ff00(0x583)](){const _0x53ed81=_0x29ff00;var _0x1b2613;return(_0x1b2613=this['_configService'][_0x53ed81(0x1ea)](ni))!=null?_0x1b2613:this[_0x53ed81(0x23e)]();}[_0x29ff00(0x23e)](){const _0x3210cf=_0x29ff00;var _0x169ad0,_0x49344a;const _0x256bcf=this[_0x3210cf(0x4ea)][_0x3210cf(0x1ea)](ii),_0x106de9=this['_configService'][_0x3210cf(0x1ea)](Q);return(_0x49344a=(_0x169ad0=_0x106de9==null?void 0x0:_0x106de9[_0x3210cf(0x346)])!=null?_0x169ad0:_0x256bcf)!=null?_0x49344a:ki;}async['getResourcesRequest'](_0x5f2091,_0x9b1d96){const _0x36af8f=_0x29ff00,_0x306535=_0x36af8f(0x1e7)+_0x9b1d96[_0x36af8f(0x2eb)]+'/unit/'+_0x9b1d96[_0x36af8f(0x553)]+'/resources';return(await this[_0x36af8f(0x620)][_0x36af8f(0x2ef)](_0x306535,{'params':{'resourceId':JSON[_0x36af8f(0x65e)](_0x9b1d96[_0x36af8f(0x431)])}}))[_0x36af8f(0x55d)];}[_0x29ff00(0x52e)](){const _0x29ff72=_0x29ff00;throw new Error(_0x29ff72(0x49a));}['saveSheetBlock'](){const _0x2c3049=_0x29ff00;throw new Error(_0x2c3049(0x49a));}[_0x29ff00(0x26e)](){const _0x4e7493=_0x29ff00;throw new Error(_0x4e7493(0x49a));}[_0x29ff00(0x2c3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){const _0x47a3a3=_0x29ff00;throw new Error(_0x47a3a3(0x49a));}},exports[_0x29ff00(0x41c)]=Jr([ti(0x0,a['IConfigService']),ti(0x1,a[_0x29ff00(0x493)](z['HTTPService']))],exports[_0x29ff00(0x41c)]);var Zr=Object[_0x29ff00(0x64a)],Qr=Object['getOwnPropertyDescriptor'],eo=(_0x5c4b92,_0x45d5da,_0x4593f0,_0x3021bc)=>{for(var _0x2462fa=_0x3021bc>0x1?void 0x0:_0x3021bc?Qr(_0x45d5da,_0x4593f0):_0x45d5da,_0x2346d0=_0x5c4b92['length']-0x1,_0x57bd9e;_0x2346d0>=0x0;_0x2346d0--)(_0x57bd9e=_0x5c4b92[_0x2346d0])&&(_0x2462fa=(_0x3021bc?_0x57bd9e(_0x45d5da,_0x4593f0,_0x2462fa):_0x57bd9e(_0x2462fa))||_0x2462fa);return _0x3021bc&&_0x2462fa&&Zr(_0x45d5da,_0x4593f0,_0x2462fa),_0x2462fa;},Ne=(_0x3b0799,_0x2e0374)=>(_0x3d6b64,_0x25bbee)=>_0x2e0374(_0x3d6b64,_0x25bbee,_0x3b0799);let Ct=class extends a[_0x29ff00(0x2d8)]{constructor(_0x4e8990,_0x50d33d,_0xedd959,_0x4a9312,_0x25b599){const _0xb8b45c=_0x29ff00;super(_0x4e8990,_0x50d33d,_0xedd959),this['_transformService']=_0x4a9312,this[_0xb8b45c(0x328)]=_0x25b599;}[_0x29ff00(0x2a1)](_0x211a4a,_0x51119b){const _0x226465=_0x29ff00,_0x16b16f=this['_getUndoStack'](_0x211a4a);if(_0x16b16f)try{const _0x4bc245=this[_0x226465(0x537)](_0x16b16f,_0x51119b);this[_0x226465(0x543)](_0x211a4a,_0x4bc245);}catch(_0x589fe9){this[_0x226465(0x328)][_0x226465(0x27a)]('[CollaborationUndoRedoService]',_0x589fe9),this[_0x226465(0x40e)](_0x211a4a);}const _0x4fddb9=this['_getRedoStack'](_0x211a4a);if(_0x4fddb9)try{const _0x1a6132=this['_transformStack'](_0x4fddb9,_0x51119b);this['_substituteRedoStack'](_0x211a4a,_0x1a6132);}catch(_0x19e25d){this[_0x226465(0x328)][_0x226465(0x27a)](_0x19e25d),this[_0x226465(0x4ef)](_0x211a4a);}}['_clearUndo'](_0x2cd38f){const _0x408546=_0x29ff00,_0x4c7e5e=this[_0x408546(0x49b)](_0x2cd38f);_0x4c7e5e&&(_0x4c7e5e['length']=0x0,this[_0x408546(0x4f8)]());}['_clearRedo'](_0x5b5867){const _0x328f1c=_0x29ff00,_0x2bd96c=this[_0x328f1c(0x568)](_0x5b5867);_0x2bd96c&&(_0x2bd96c[_0x328f1c(0x5e7)]=0x0,this[_0x328f1c(0x4f8)]());}[_0x29ff00(0x543)](_0x37485c,_0x21647b){const _0x317c06=_0x29ff00;this[_0x317c06(0x522)][_0x317c06(0x20a)](_0x37485c,_0x21647b),this[_0x317c06(0x4f8)]();}[_0x29ff00(0x1d1)](_0x29eaea,_0x190e20){const _0x8bb57f=_0x29ff00;this[_0x8bb57f(0x48b)][_0x8bb57f(0x20a)](_0x29eaea,_0x190e20),this[_0x8bb57f(0x4f8)]();}['_transformStack'](_0x349a8a,_0x364b13){const _0x216f67=_0x29ff00,_0x2ebc61=[];let _0x146e6d=_0x364b13,_0x3ba12b=_0x364b13;for(let _0x587d37=_0x349a8a[_0x216f67(0x5e7)]-0x1;_0x587d37>=0x0;_0x587d37--){const {unitID:_0x4cd42a,undoMutations:_0x6688d4,redoMutations:_0x2a8b9e}=_0x349a8a[_0x587d37],_0x3cdb88=this[_0x216f67(0x449)]['transformMutationsWithChangeset'](_0x146e6d,_0x6688d4),_0x56aea6=this[_0x216f67(0x449)][_0x216f67(0x268)](_0x3ba12b,_0x2a8b9e);if(p[_0x216f67(0x1fa)](_0x3cdb88)||p[_0x216f67(0x1fa)](_0x56aea6)){this[_0x216f67(0x328)][_0x216f67(0x27a)](_0x216f67(0x31f),_0x216f67(0x45a),_0x3cdb88,_0x56aea6);break;}_0x146e6d=_0x3cdb88[_0x216f67(0x315)],_0x3ba12b=_0x56aea6[_0x216f67(0x315)],_0x2ebc61[_0x216f67(0x3bc)]({'unitID':_0x4cd42a,'undoMutations':_0x3cdb88[_0x216f67(0x239)],'redoMutations':_0x56aea6[_0x216f67(0x239)]});}return _0x2ebc61[_0x216f67(0x4e5)]();}};Ct=eo([Ne(0x0,a['IUniverInstanceService']),Ne(0x1,a[_0x29ff00(0x587)]),Ne(0x2,a[_0x29ff00(0x398)]),Ne(0x3,p[_0x29ff00(0x38f)]),Ne(0x4,a[_0x29ff00(0x4ac)])],Ct);class Li extends a[_0x29ff00(0x4b0)]{constructor(){const _0x2a08d3=_0x29ff00;super(),I(this,'urlChange$'),this['urlChange$']=A[_0x2a08d3(0x61c)](window,'popstate')[_0x2a08d3(0x619)](A[_0x2a08d3(0x264)](this[_0x2a08d3(0x2b6)]),A['shareReplay'](0x1),A[_0x2a08d3(0x2e1)](void 0x0));}[_0x29ff00(0x4c7)](_0x2fe037,_0xb68fd3,_0x279445=!0x1){const _0x3c2d57=_0x29ff00,_0x15f2d7=new URL(window[_0x3c2d57(0x60d)][_0x3c2d57(0x244)]);_0x15f2d7[_0x3c2d57(0x570)][_0x3c2d57(0x20a)](_0x2fe037,_0xb68fd3),_0x279445?window[_0x3c2d57(0x424)][_0x3c2d57(0x472)]('','',_0x15f2d7[_0x3c2d57(0x3ef)]()):window[_0x3c2d57(0x424)]['pushState']('','',_0x15f2d7['toString']());}['removeParam'](_0x150ae3,_0x286dd7=!0x1){const _0x48308a=_0x29ff00,_0x39c83b=new URL(window[_0x48308a(0x60d)][_0x48308a(0x244)]);_0x39c83b[_0x48308a(0x570)][_0x48308a(0x3dc)](_0x150ae3),_0x286dd7?window[_0x48308a(0x424)][_0x48308a(0x472)]('','',_0x39c83b[_0x48308a(0x3ef)]()):window[_0x48308a(0x424)][_0x48308a(0x336)]('','',_0x39c83b['toString']());}['getParam'](_0x274bfc){const _0xd22426=_0x29ff00;var _0x2c8634;return(_0x2c8634=new URL(window[_0xd22426(0x60d)][_0xd22426(0x244)])[_0xd22426(0x570)][_0xd22426(0x2ef)](_0x274bfc))!=null?_0x2c8634:void 0x0;}}var xi=Object['defineProperty'],to=Object[_0x29ff00(0x316)],io=(_0x3685a3,_0x56e194,_0x317157)=>_0x56e194 in _0x3685a3?xi(_0x3685a3,_0x56e194,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x317157}):_0x3685a3[_0x56e194]=_0x317157,no=(_0x3009f7,_0x2f8a5d,_0x3df48f,_0xb9cbff)=>{const _0x8f15fa=_0x29ff00;for(var _0x2b786b=_0xb9cbff>0x1?void 0x0:_0xb9cbff?to(_0x2f8a5d,_0x3df48f):_0x2f8a5d,_0x218b76=_0x3009f7[_0x8f15fa(0x5e7)]-0x1,_0x2e7493;_0x218b76>=0x0;_0x218b76--)(_0x2e7493=_0x3009f7[_0x218b76])&&(_0x2b786b=(_0xb9cbff?_0x2e7493(_0x2f8a5d,_0x3df48f,_0x2b786b):_0x2e7493(_0x2b786b))||_0x2b786b);return _0xb9cbff&&_0x2b786b&&xi(_0x2f8a5d,_0x3df48f,_0x2b786b),_0x2b786b;},He=(_0x2eafb3,_0x2af8e8)=>(_0x852c0b,_0x1d3d83)=>_0x2af8e8(_0x852c0b,_0x1d3d83,_0x2eafb3),so=(_0x49f3c3,_0x3daad3,_0x2ccc3c)=>io(_0x49f3c3,_0x3daad3+'',_0x2ccc3c);const ro='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x29ff00(0x63a)]=class extends a[_0x29ff00(0x3b7)]{constructor(_0x1d9a43=Zi,_0x11a497,_0x5e636e,_0x2d1d59,_0x1e2e46){const _0x2aefc5=_0x29ff00;super(),this[_0x2aefc5(0x4f5)]=_0x1d9a43,this[_0x2aefc5(0x328)]=_0x11a497,this[_0x2aefc5(0x4bc)]=_0x5e636e,this[_0x2aefc5(0x1c1)]=_0x2d1d59,this['_configService']=_0x1e2e46;const {..._0x2d2b7a}=this[_0x2aefc5(0x4f5)];this['_configService'][_0x2aefc5(0x2f0)](Q,_0x2d2b7a);}[_0x29ff00(0x481)](){const _0x5278ca=_0x29ff00;this['_registerDependencies'](),this[_0x5278ca(0x1d3)]();}['onReady'](){const _0x231975=_0x29ff00;a[_0x231975(0x3b1)](this[_0x231975(0x1c1)],[[Ge],[Ve]]);}[_0x29ff00(0x280)](){const _0x3105eb=_0x29ff00;this[_0x3105eb(0x50f)]();}[_0x29ff00(0x382)](){const _0x37aa0e=_0x29ff00;var _0x7114b3,_0x1c43ba,_0x580a89,_0x2f5234;this[_0x37aa0e(0x1c1)][_0x37aa0e(0x38d)](a[_0x37aa0e(0x325)])&&this[_0x37aa0e(0x328)][_0x37aa0e(0x27a)](_0x37aa0e(0x533),_0x37aa0e(0x59c));const _0x2eedbc=[[a[_0x37aa0e(0x325)],{'useClass':Ct}],[exports[_0x37aa0e(0x5ea)]],[Dt],[wt,{'useClass':Li}],[exports[_0x37aa0e(0x1d6)]],[exports[_0x37aa0e(0x46a)]],[z[_0x37aa0e(0x287)]],[ke],[Fe],[Be],[We],[yt],[Ye],[Ke],[Rt],[qe],[Tt,{'useClass':(_0x1c43ba=(_0x7114b3=this['_config'])==null?void 0x0:_0x7114b3[_0x37aa0e(0x678)])!=null?_0x1c43ba:exports[_0x37aa0e(0x374)]}],[p[_0x37aa0e(0x426)],{'useClass':exports[_0x37aa0e(0x41c)]}],[a[_0x37aa0e(0x605)],{'useClass':exports['AuthzIoHttpService']}],[ie['IImageIoService'],{'useClass':exports['ImageIoService']}],[a['IMentionIOService'],{'useClass':exports[_0x37aa0e(0x2bd)]}],[exports[_0x37aa0e(0x323)]],[exports[_0x37aa0e(0x61f)]],[exports[_0x37aa0e(0x4b2)]],[Ge],[De],[Ve]];(_0x580a89=this[_0x37aa0e(0x4f5)])!=null&&_0x580a89[_0x37aa0e(0x37a)]&&_0x2eedbc[_0x37aa0e(0x3bc)]([ze,{'useClass':Un}]),a['registerDependencies'](this[_0x37aa0e(0x1c1)],a['mergeOverrideWithDependencies'](_0x2eedbc,(_0x2f5234=this['_config'])==null?void 0x0:_0x2f5234[_0x37aa0e(0x4f9)]));}[_0x29ff00(0x50f)](){const _0x332e13=_0x29ff00;this['disposeWithMe'](this[_0x332e13(0x4bc)][_0x332e13(0x3ea)](a[_0x332e13(0x5ce)]['UNIVER_DOC'],[gt])),this[_0x332e13(0x665)](this[_0x332e13(0x4bc)][_0x332e13(0x3ea)](a[_0x332e13(0x5ce)][_0x332e13(0x3d0)],[It]));}[_0x29ff00(0x1d3)](){const _0x59ab9d=_0x29ff00;var _0x4a0a1b,_0x58c34a;this[_0x59ab9d(0x1c1)][_0x59ab9d(0x2ef)](z[_0x59ab9d(0x1be)])[_0x59ab9d(0x595)]({'priority':0x14,'interceptor':z[_0x59ab9d(0x4c9)]({'maxParallel':0x6})}),(_0x4a0a1b=this['_config'])!=null&&_0x4a0a1b[_0x59ab9d(0x482)]||this[_0x59ab9d(0x1c1)][_0x59ab9d(0x2ef)](exports[_0x59ab9d(0x46a)])['disableLocalCache'](),(_0x58c34a=this[_0x59ab9d(0x4f5)])!=null&&_0x58c34a[_0x59ab9d(0x594)]&&a[_0x59ab9d(0x3b1)](this[_0x59ab9d(0x1c1)],[[Ye]]),a[_0x59ab9d(0x3b1)](this['_injector'],[[Ke],[De],[exports['DataLoaderController']],[exports[_0x59ab9d(0x323)]],[exports[_0x59ab9d(0x4b2)]],[qe]]);}},so(exports['UniverCollaborationClientPlugin'],_0x29ff00(0x510),ro),exports[_0x29ff00(0x63a)]=no([a[_0x29ff00(0x569)](p[_0x29ff00(0x636)],z[_0x29ff00(0x2cc)]),He(0x1,a[_0x29ff00(0x4ac)]),He(0x2,K[_0x29ff00(0x5b7)]),He(0x3,a['Inject'](a[_0x29ff00(0x615)])),He(0x4,a['IConfigService'])],exports['UniverCollaborationClientPlugin']),exports[_0x29ff00(0x5f1)]=Ut,exports[_0x29ff00(0x218)]=Q,exports[_0x29ff00(0x1dd)]=li,exports[_0x29ff00(0x477)]=si,exports['CollaborationStatus']=q,exports[_0x29ff00(0x417)]=Oi,exports[_0x29ff00(0x30a)]=Rt,exports[_0x29ff00(0x1f9)]=ri,exports[_0x29ff00(0x473)]=Et,exports['ICollaborationSocketService']=Tt,exports['IURLService']=wt,exports[_0x29ff00(0x39b)]=ci,exports[_0x29ff00(0x5e1)]=hi,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ai,exports[_0x29ff00(0x45b)]=Wi,exports[_0x29ff00(0x3fd)]=ii,exports[_0x29ff00(0x238)]=ni,exports[_0x29ff00(0x240)]=se,exports[_0x29ff00(0x5c9)]=Ii,exports[_0x29ff00(0x565)]=Li,exports[_0x29ff00(0x66e)]=di,exports['serializeCombRequest']=fi;
|