@univerjs-pro/collaboration-client 0.5.2-nightly.202412281605 → 0.5.2-nightly.202412291605

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0xbef4ca=_0x83cd;(function(_0xae7c5,_0x3c39d2){var _0x198b0c=_0x83cd,_0x3f56c6=_0xae7c5();while(!![]){try{var _0x3731bf=parseInt(_0x198b0c(0x349))/0x1+-parseInt(_0x198b0c(0x3a3))/0x2+parseInt(_0x198b0c(0x339))/0x3+-parseInt(_0x198b0c(0x405))/0x4+parseInt(_0x198b0c(0x410))/0x5+parseInt(_0x198b0c(0x3ef))/0x6+parseInt(_0x198b0c(0x45e))/0x7*(-parseInt(_0x198b0c(0x25d))/0x8);if(_0x3731bf===_0x3c39d2)break;else _0x3f56c6['push'](_0x3f56c6['shift']());}catch(_0x39d374){_0x3f56c6['push'](_0x3f56c6['shift']());}}}(_0x552f,0x4b517));var Mt=Object['defineProperty'],xt=(_0x13efc3,_0x4e7e53,_0x131a4e)=>_0x4e7e53 in _0x13efc3?Mt(_0x13efc3,_0x4e7e53,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x131a4e}):_0x13efc3[_0x4e7e53]=_0x131a4e,D=(_0x3703f9,_0x15b83b,_0x30ce2e)=>xt(_0x3703f9,typeof _0x15b83b!=_0xbef4ca(0x3c3)?_0x15b83b+'':_0x15b83b,_0x30ce2e);Object['defineProperty'](exports,Symbol[_0xbef4ca(0x183)],{'value':_0xbef4ca(0x40d)});const a=require('@univerjs/core'),H=require(_0xbef4ca(0x4d6)),V=require(_0xbef4ca(0x42f)),z=require(_0xbef4ca(0x1c8)),m=require('@univerjs-pro/collaboration'),jt=require(_0xbef4ca(0x33d)),dt=require(_0xbef4ca(0x37e)),W=require(_0xbef4ca(0x1b7)),X=require(_0xbef4ca(0x19f)),$t=require(_0xbef4ca(0x392)),vt=_0xbef4ca(0x330),Ht=_0xbef4ca(0x357),ft='SNAPSHOT_URL_KEY',kt=_0xbef4ca(0x2b4),Bt=0x7d0,St=_0xbef4ca(0x1fc),pt=_0xbef4ca(0x324),Ft=_0xbef4ca(0x45c),gt=_0xbef4ca(0x18f),Wt=0x7530,He='HEARTBEAT_TIMEOUT',mt=0x4e20,Vt=0x4e20,It=_0xbef4ca(0x4a0),Gt=0x3,Kt=_0xbef4ca(0x209),Yt=0x3e8,Et=_0xbef4ca(0x4b2),qt=_0xbef4ca(0x271),Ct='LOGIN_URL_KEY',zt=_0xbef4ca(0x1c6),Jt=_0xbef4ca(0x368),Xt=_0xbef4ca(0x418);var Tt=(_0x1996a8=>(_0x1996a8[_0x1996a8[_0xbef4ca(0x481)]=0x0]='UNDEFINED',_0x1996a8[_0x1996a8['OK']=0x1]='OK',_0x1996a8[_0x1996a8[_0xbef4ca(0x1bc)]=0x2]=_0xbef4ca(0x1bc),_0x1996a8[_0x1996a8['PERMISSION_DENIED']=0x3]=_0xbef4ca(0x23d),_0x1996a8[_0x1996a8[_0xbef4ca(0x411)]=0x4]='NOT_FOUND',_0x1996a8[_0x1996a8['UNAUTHENTICATED']=0x5]=_0xbef4ca(0x2a1),_0x1996a8[_0x1996a8[_0xbef4ca(0x430)]=0x6]=_0xbef4ca(0x430),_0x1996a8[_0x1996a8[_0xbef4ca(0x1d7)]=0x7]=_0xbef4ca(0x1d7),_0x1996a8[_0x1996a8[_0xbef4ca(0x26f)]=0x8]=_0xbef4ca(0x26f),_0x1996a8[_0x1996a8[_0xbef4ca(0x194)]=0x9]=_0xbef4ca(0x194),_0x1996a8[_0x1996a8[_0xbef4ca(0x483)]=0x1389]=_0xbef4ca(0x483),_0x1996a8[_0x1996a8['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0xbef4ca(0x4c4),_0x1996a8[_0x1996a8[_0xbef4ca(0x2e5)]=0x1772]=_0xbef4ca(0x2e5),_0x1996a8[_0x1996a8[_0xbef4ca(0x4d1)]=0x1773]=_0xbef4ca(0x4d1),_0x1996a8[_0x1996a8[_0xbef4ca(0x27f)]=0x1b59]='APPLY_REJECT',_0x1996a8[_0x1996a8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0xbef4ca(0x4f5),_0x1996a8[_0x1996a8[_0xbef4ca(0x3cb)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1996a8[_0x1996a8[_0xbef4ca(0x1d2)]=0x1b5c]=_0xbef4ca(0x1d2),_0x1996a8[_0x1996a8[_0xbef4ca(0x3b2)]=0x1b5d]=_0xbef4ca(0x3b2),_0x1996a8[_0x1996a8[_0xbef4ca(0x35a)]=0x1f41]=_0xbef4ca(0x35a),_0x1996a8[_0x1996a8[_0xbef4ca(0x4bb)]=0x2329]=_0xbef4ca(0x4bb),_0x1996a8[_0x1996a8[_0xbef4ca(0x442)]=0x232a]=_0xbef4ca(0x442),_0x1996a8[_0x1996a8[_0xbef4ca(0x32f)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1996a8[_0x1996a8[_0xbef4ca(0x36e)]=0x232c]=_0xbef4ca(0x36e),_0x1996a8[_0x1996a8[_0xbef4ca(0x186)]=0x232d]=_0xbef4ca(0x186),_0x1996a8[_0x1996a8[_0xbef4ca(0x29e)]=0x2711]=_0xbef4ca(0x29e),_0x1996a8[_0x1996a8[_0xbef4ca(0x313)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1996a8[_0x1996a8[_0xbef4ca(0x206)]=0x2713]=_0xbef4ca(0x206),_0x1996a8[_0x1996a8[_0xbef4ca(0x36a)]=0x2714]=_0xbef4ca(0x36a),_0x1996a8[_0x1996a8[_0xbef4ca(0x4cc)]=-0x1]=_0xbef4ca(0x4cc),_0x1996a8))(Tt||{}),Z=(_0x3f9acf=>(_0x3f9acf[_0x3f9acf[_0xbef4ca(0x4bf)]=0x0]=_0xbef4ca(0x4bf),_0x3f9acf[_0x3f9acf['UNIVER_DOC']=0x1]=_0xbef4ca(0x3c9),_0x3f9acf[_0x3f9acf[_0xbef4ca(0x1bf)]=0x2]=_0xbef4ca(0x1bf),_0x3f9acf[_0x3f9acf[_0xbef4ca(0x3a8)]=0x3]=_0xbef4ca(0x3a8),_0x3f9acf[_0x3f9acf[_0xbef4ca(0x24f)]=0x4]='UNIVER_PROJECT',_0x3f9acf[_0x3f9acf['UNRECOGNIZED']=-0x1]=_0xbef4ca(0x4cc),_0x3f9acf))(Z||{}),G=(_0x21390c=>(_0x21390c[_0x21390c['UNKNOWN_CMD']=0x0]=_0xbef4ca(0x467),_0x21390c[_0x21390c['HELLO']=0x1]=_0xbef4ca(0x364),_0x21390c[_0x21390c[_0xbef4ca(0x233)]=0x2]=_0xbef4ca(0x233),_0x21390c[_0x21390c['LEAVE']=0x3]=_0xbef4ca(0x240),_0x21390c[_0x21390c[_0xbef4ca(0x3f1)]=0x4]=_0xbef4ca(0x3f1),_0x21390c[_0x21390c[_0xbef4ca(0x41a)]=0x5]='HEARTBEAT',_0x21390c[_0x21390c[_0xbef4ca(0x1fa)]=0x6]=_0xbef4ca(0x1fa),_0x21390c[_0x21390c[_0xbef4ca(0x4cc)]=-0x1]=_0xbef4ca(0x4cc),_0x21390c))(G||{}),he=(_0x16764a=>(_0x16764a[_0x16764a[_0xbef4ca(0x402)]=0x0]='UNKNOWN_CODE',_0x16764a[_0x16764a['OK']=0x1]='OK',_0x16764a[_0x16764a[_0xbef4ca(0x24e)]=0x2]='FAIL',_0x16764a[_0x16764a[_0xbef4ca(0x397)]=0x3e9]='JOIN_ROOM_FULL',_0x16764a[_0x16764a[_0xbef4ca(0x33a)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x16764a[_0x16764a[_0xbef4ca(0x268)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x16764a[_0x16764a[_0xbef4ca(0x213)]=0x3ec]=_0xbef4ca(0x213),_0x16764a[_0x16764a[_0xbef4ca(0x4cc)]=-0x1]=_0xbef4ca(0x4cc),_0x16764a))(he||{}),bt=(_0x1e531e=>(_0x1e531e[_0x1e531e[_0xbef4ca(0x4ed)]=0x0]=_0xbef4ca(0x4ed),_0x1e531e[_0x1e531e[_0xbef4ca(0x2d7)]=0x1]=_0xbef4ca(0x2d7),_0x1e531e[_0x1e531e[_0xbef4ca(0x2e3)]=0x2]=_0xbef4ca(0x2e3),_0x1e531e[_0x1e531e[_0xbef4ca(0x35f)]=0x3]=_0xbef4ca(0x35f),_0x1e531e[_0x1e531e[_0xbef4ca(0x1b5)]=0x4]='UnitSnapshot',_0x1e531e[_0x1e531e[_0xbef4ca(0x4cc)]=-0x1]='UNRECOGNIZED',_0x1e531e))(bt||{});const q=_0xbef4ca(0x2b8),Ke={};var Q=(_0x5c1867=>(_0x5c1867[_0xbef4ca(0x1cf)]=_0xbef4ca(0x1cf),_0x5c1867['PERMISSION_DENIED']=_0xbef4ca(0x23d),_0x5c1867[_0xbef4ca(0x464)]='CONFLICT',_0x5c1867[_0xbef4ca(0x1a0)]=_0xbef4ca(0x1a0),_0x5c1867['JOIN_ROOM_FAILED']=_0xbef4ca(0x300),_0x5c1867[_0xbef4ca(0x2ec)]=_0xbef4ca(0x2ec),_0x5c1867[_0xbef4ca(0x1db)]=_0xbef4ca(0x1db),_0x5c1867[_0xbef4ca(0x426)]=_0xbef4ca(0x426),_0x5c1867))(Q||{});class te{constructor(){var _0x199dae=_0xbef4ca;D(this,_0x199dae(0x404),new H[(_0x199dae(0x488))]()),D(this,_0x199dae(0x2d1),this['_event$'][_0x199dae(0x44b)]());}[_0xbef4ca(0x31e)](_0x161a7a){var _0x1b245a=_0xbef4ca;this[_0x1b245a(0x404)][_0x1b245a(0x328)](_0x161a7a);}}const Rt=a[_0xbef4ca(0x1c2)](_0xbef4ca(0x1e3));function Ot(_0x5b7ac4){var _0x2e20f5=_0xbef4ca,_0x386d64,_0x490d69,_0x335d93,_0x13c39e,_0x112b08;const _0x22ddab=_0x5b7ac4[_0x2e20f5(0x4b6)],_0x5d324f=JSON['parse'](_0x22ddab);switch(_0x5d324f[_0x2e20f5(0x40b)]){case G[_0x2e20f5(0x41a)]:case G[_0x2e20f5(0x364)]:{const _0x49af1e=_0x5d324f[_0x2e20f5(0x4ba)];return{..._0x5d324f,'data':_0x49af1e,'cmd':_0x5d324f[_0x2e20f5(0x40b)]};}case G[_0x2e20f5(0x233)]:{const _0x2ef224=_0x5d324f[_0x2e20f5(0x220)];return{..._0x5d324f,'data':_0x2ef224,'cmd':_0x5d324f[_0x2e20f5(0x40b)]};}case G[_0x2e20f5(0x1fa)]:{const _0x192fd6=_0x5d324f[_0x2e20f5(0x1ab)];switch(_0x192fd6[_0x2e20f5(0x4ee)]){case m['CollaborationEvent'][_0x2e20f5(0x47a)]:return{..._0x5d324f,'data':{..._0x192fd6,'data':(_0x386d64=_0x192fd6[_0x2e20f5(0x31c)])==null?void 0x0:_0x386d64['cs']},'cmd':_0x5d324f['cmd']};case m['CollaborationEvent'][_0x2e20f5(0x2ad)]:return{..._0x5d324f,'data':{..._0x192fd6,'data':(_0x490d69=_0x192fd6[_0x2e20f5(0x1f2)])==null?void 0x0:_0x490d69['cs']},'cmd':_0x5d324f[_0x2e20f5(0x40b)]};case m[_0x2e20f5(0x350)]['NEW_CHANGESETS']:return{..._0x5d324f,'data':{..._0x192fd6,'data':(_0x335d93=_0x192fd6[_0x2e20f5(0x394)])==null?void 0x0:_0x335d93['cs']},'cmd':_0x5d324f['cmd']};case m[_0x2e20f5(0x350)][_0x2e20f5(0x43b)]:return{..._0x5d324f,'data':{..._0x192fd6,'data':(_0x13c39e=_0x192fd6[_0x2e20f5(0x216)])==null?void 0x0:_0x13c39e['cs']},'cmd':_0x5d324f['cmd']};case m['CollaborationEvent'][_0x2e20f5(0x346)]:return{..._0x5d324f,'data':{..._0x192fd6,'data':(_0x112b08=_0x192fd6[_0x2e20f5(0x27d)])==null?void 0x0:_0x112b08['cs']},'cmd':_0x5d324f[_0x2e20f5(0x40b)]};case m['CollaborationEvent'][_0x2e20f5(0x2d9)]:return{..._0x5d324f,'data':{..._0x192fd6,'data':_0x192fd6[_0x2e20f5(0x229)]},'cmd':_0x5d324f[_0x2e20f5(0x40b)]};case m[_0x2e20f5(0x350)][_0x2e20f5(0x32d)]:return{..._0x5d324f,'data':{..._0x192fd6,'data':_0x192fd6[_0x2e20f5(0x4dc)]},'cmd':_0x5d324f['cmd']};case m[_0x2e20f5(0x350)][_0x2e20f5(0x17e)]:return{..._0x5d324f,'data':{..._0x192fd6,'data':_0x192fd6[_0x2e20f5(0x35c)]},'cmd':_0x5d324f['cmd']};case m[_0x2e20f5(0x350)]['LIVESHARE_NEW_HOST']:return{..._0x5d324f,'data':{..._0x192fd6,'data':_0x192fd6[_0x2e20f5(0x1a3)]},'cmd':_0x5d324f['cmd']};case m['CollaborationEvent'][_0x2e20f5(0x309)]:case m['CollaborationEvent'][_0x2e20f5(0x385)]:return{..._0x5d324f,'data':{..._0x192fd6,'data':_0x192fd6[_0x2e20f5(0x471)]},'cmd':_0x5d324f[_0x2e20f5(0x40b)]};case m['CollaborationEvent'][_0x2e20f5(0x208)]:return{..._0x5d324f,'data':{..._0x192fd6,'data':_0x192fd6[_0x2e20f5(0x1a3)]},'cmd':_0x5d324f[_0x2e20f5(0x40b)]};case m['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x5d324f,'data':_0x192fd6,'cmd':_0x5d324f[_0x2e20f5(0x40b)]};case m['CollaborationEvent'][_0x2e20f5(0x4a3)]:return{..._0x5d324f,'data':{..._0x192fd6,'data':_0x192fd6['commentUpdateEvent']},'cmd':_0x5d324f[_0x2e20f5(0x40b)]};case m[_0x2e20f5(0x350)]['UPDATE_PERMISSION_OBJ']:return{..._0x5d324f,'data':{..._0x192fd6,'data':_0x192fd6[_0x2e20f5(0x4ce)]},'cmd':_0x5d324f[_0x2e20f5(0x40b)]};case m[_0x2e20f5(0x350)][_0x2e20f5(0x4c6)]:return{..._0x5d324f,'data':{..._0x192fd6,'data':_0x192fd6[_0x2e20f5(0x188)]},'cmd':_0x5d324f[_0x2e20f5(0x40b)]};case m[_0x2e20f5(0x350)]['UNISCRIPT_RUN']:return{..._0x5d324f,'data':{..._0x192fd6,'data':_0x192fd6['uniscriptRunEvent']},'cmd':_0x5d324f[_0x2e20f5(0x40b)]};default:return _0x5d324f;}}default:return _0x5d324f;}}function yt(_0x3140b2){var _0x4b933a=_0xbef4ca;switch(_0x3140b2[_0x4b933a(0x40b)]){case G[_0x4b933a(0x41a)]:case G[_0x4b933a(0x364)]:return JSON[_0x4b933a(0x295)]({'cmd':_0x3140b2[_0x4b933a(0x40b)],'routeKey':_0x3140b2[_0x4b933a(0x1e6)]});case G[_0x4b933a(0x3f1)]:{let _0x107efa;switch(_0x3140b2[_0x4b933a(0x4b6)][_0x4b933a(0x4ee)]){case m[_0x4b933a(0x350)][_0x4b933a(0x2d9)]:{_0x107efa={'eventID':m['CollaborationEvent'][_0x4b933a(0x2d9)],'updateCursorEvent':_0x3140b2[_0x4b933a(0x4b6)][_0x4b933a(0x4b6)]};break;}case m['CollaborationEvent'][_0x4b933a(0x17e)]:{_0x107efa={'eventID':m[_0x4b933a(0x350)]['USERS_LEAVE'],'leaveEvent':_0x3140b2[_0x4b933a(0x4b6)][_0x4b933a(0x4b6)]};break;}case m[_0x4b933a(0x350)][_0x4b933a(0x32d)]:{_0x107efa={'eventID':m[_0x4b933a(0x350)]['USERS_ENTER'],'joinEvent':_0x3140b2[_0x4b933a(0x4b6)]['data']};break;}case m[_0x4b933a(0x350)][_0x4b933a(0x272)]:{_0x107efa={'eventID':m[_0x4b933a(0x350)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x3140b2['data'][_0x4b933a(0x4b6)]};break;}case m[_0x4b933a(0x350)][_0x4b933a(0x385)]:{_0x107efa={'eventID':m['CollaborationEvent'][_0x4b933a(0x385)],'liveShareOperation':_0x3140b2['data'][_0x4b933a(0x4b6)]};break;}case m[_0x4b933a(0x350)][_0x4b933a(0x208)]:{_0x107efa={'eventID':m[_0x4b933a(0x350)][_0x4b933a(0x208)],'liveShareTerminate':_0x3140b2['data']['data']};break;}case m['CollaborationEvent'][_0x4b933a(0x1a5)]:{_0x107efa={'eventID':m[_0x4b933a(0x350)][_0x4b933a(0x1a5)],'liveShareRequestHost':_0x3140b2[_0x4b933a(0x4b6)][_0x4b933a(0x4b6)]};break;}case m[_0x4b933a(0x350)]['LIVESHARE_FETCH_OPERATIONS']:{_0x107efa={'eventID':m[_0x4b933a(0x350)][_0x4b933a(0x309)]};break;}default:_0x107efa={'eventID':_0x3140b2[_0x4b933a(0x4b6)][_0x4b933a(0x4ee)]};}return JSON[_0x4b933a(0x295)]({'cmd':_0x3140b2['cmd'],'routeKey':_0x3140b2[_0x4b933a(0x1e6)],'collaMsg':_0x107efa});}case G[_0x4b933a(0x233)]:return JSON[_0x4b933a(0x295)]({'cmd':_0x3140b2[_0x4b933a(0x40b)],'routeKey':_0x3140b2[_0x4b933a(0x1e6)],'joinReq':_0x3140b2[_0x4b933a(0x4b6)]});case G[_0x4b933a(0x240)]:return JSON['stringify']({'cmd':_0x3140b2[_0x4b933a(0x40b)],'routeKey':_0x3140b2[_0x4b933a(0x1e6)],'leaveReq':_0x3140b2['data']});default:throw new Error(_0x4b933a(0x30c));}}var Zt=Object['defineProperty'],Qt=Object[_0xbef4ca(0x30a)],ei=(_0x132d0e,_0x4d7804,_0x4fd336,_0x2758f4)=>{var _0x845125=_0xbef4ca;for(var _0x10fec9=_0x2758f4>0x1?void 0x0:_0x2758f4?Qt(_0x4d7804,_0x4fd336):_0x4d7804,_0x95afa0=_0x132d0e[_0x845125(0x3f5)]-0x1,_0x469492;_0x95afa0>=0x0;_0x95afa0--)(_0x469492=_0x132d0e[_0x95afa0])&&(_0x10fec9=(_0x2758f4?_0x469492(_0x4d7804,_0x4fd336,_0x10fec9):_0x469492(_0x10fec9))||_0x10fec9);return _0x2758f4&&_0x10fec9&&Zt(_0x4d7804,_0x4fd336,_0x10fec9),_0x10fec9;},ue=(_0x2940c5,_0x27ddb9)=>(_0x35851f,_0x4ce7aa)=>_0x27ddb9(_0x35851f,_0x4ce7aa,_0x2940c5);const ke=a[_0xbef4ca(0x1c2)]('univer-pro.collaboration-client-socket-service');function ti(_0x36766,_0x5f3347,_0x12d8da){var _0x444a8d=_0xbef4ca;return _0x36766+'/'+_0x5f3347+_0x444a8d(0x1d8)+_0x12d8da+'/new_changes';}exports[_0xbef4ca(0x28d)]=class extends a[_0xbef4ca(0x4bd)]{constructor(_0x16884a,_0x556222,_0x4308ef,_0x52964c,_0x3ae5d4){var _0x49477a=_0xbef4ca;super(),this[_0x49477a(0x40f)]=_0x16884a,this[_0x49477a(0x3d2)]=_0x556222,this['_configService']=_0x4308ef,this['_logService']=_0x52964c,this[_0x49477a(0x3b5)]=_0x3ae5d4;}[_0xbef4ca(0x381)](_0x167158){var _0x7a58da=_0xbef4ca;const _0x898bbc=this[_0x7a58da(0x40f)][_0x7a58da(0x1b9)](z[_0x7a58da(0x3d6)]);if(!_0x898bbc)throw new Error(_0x7a58da(0x3d8));const _0x362f57=_0x898bbc[_0x7a58da(0x381)](_0x167158);if(!_0x362f57)throw new Error(_0x7a58da(0x489));const _0x44afac=new a[(_0x7a58da(0x46a))](),_0xb3e593=new H[(_0x7a58da(0x488))]();_0x44afac[_0x7a58da(0x475)](_0x362f57[_0x7a58da(0x21e)]['subscribe'](_0x1efb6f=>_0xb3e593[_0x7a58da(0x328)](_0x1efb6f))),_0x44afac['add'](a[_0x7a58da(0x299)](()=>_0xb3e593['complete']()));const _0x284e0d=new H[(_0x7a58da(0x488))]();_0x44afac[_0x7a58da(0x475)](_0x362f57[_0x7a58da(0x49c)]['subscribe'](_0x40e4d3=>_0x284e0d[_0x7a58da(0x328)](_0x40e4d3))),_0x44afac[_0x7a58da(0x475)](a[_0x7a58da(0x299)](()=>_0x284e0d[_0x7a58da(0x276)]()));const _0x33d23a=new H[(_0x7a58da(0x488))]();_0x44afac[_0x7a58da(0x475)](_0x362f57[_0x7a58da(0x2d3)][_0x7a58da(0x31b)](_0x19f3ae=>{var _0x5e5f25=_0x7a58da;const _0x1601dd=Ot(_0x19f3ae);_0x33d23a[_0x5e5f25(0x328)](_0x1601dd);})),_0x44afac[_0x7a58da(0x475)](a[_0x7a58da(0x299)](()=>_0x33d23a['complete']()));let _0x52141a;const _0x2c1595=()=>{var _0x144381=_0x7a58da;_0x284e0d[_0x144381(0x328)](new Event(_0x144381(0x41f))),_0xb3e593['next'](new CloseEvent('connection\x20error')),_0x52141a['close']();};return _0x52141a={'memberID':'','close$':_0xb3e593['asObservable'](),'error$':_0x284e0d[_0x7a58da(0x44b)](),'open$':_0x362f57[_0x7a58da(0x415)],'message$':_0x33d23a[_0x7a58da(0x44b)](),'send':_0x4f2dbc=>{var _0x56581e=_0x7a58da;if(_0x4f2dbc[_0x56581e(0x40b)]===G[_0x56581e(0x3f1)]){if(_0x4f2dbc[_0x56581e(0x4b6)][_0x56581e(0x4ee)]===m['CollaborationEvent'][_0x56581e(0x3d7)]){this[_0x56581e(0x408)](_0x52141a,_0x4f2dbc[_0x56581e(0x4b6)])['catch'](_0x337c65=>{var _0x57a455=_0x56581e;this[_0x57a455(0x409)][_0x57a455(0x398)](_0x337c65),_0x2c1595();});return;}if(_0x4f2dbc[_0x56581e(0x4b6)][_0x56581e(0x4ee)]===m[_0x56581e(0x350)][_0x56581e(0x36f)]){const _0x4957e3=_0x4f2dbc[_0x56581e(0x4b6)];this['_fetchMissChangesets'](_0x4957e3)[_0x56581e(0x331)](_0x45efc1=>{var _0x12c42d=_0x56581e;_0x33d23a[_0x12c42d(0x328)]({'cmd':G['RECV'],'code':he['OK'],'routeKey':_0x4957e3[_0x12c42d(0x4b6)][_0x12c42d(0x2ce)],'routeType':'','data':{'eventID':m[_0x12c42d(0x350)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x45efc1}}});})[_0x56581e(0x42b)](_0x259ae8=>{var _0x268ee3=_0x56581e;this[_0x268ee3(0x409)][_0x268ee3(0x398)](_0x259ae8),_0x2c1595();});return;}}_0x362f57[_0x56581e(0x2a5)](yt(_0x4f2dbc));},'close':()=>{var _0x5e2675=_0x7a58da;_0x362f57[_0x5e2675(0x37a)](),_0x44afac['dispose']();}},_0x52141a;}async['_submitChangeset'](_0xbb4b83,_0x3256c3){var _0x2a96fd=_0xbef4ca,_0x599d4d,_0x32b750;const {unitType:_0x1271b6,unitID:_0x249202,changeset:_0x22b093}=_0x3256c3[_0x2a96fd(0x4b6)],_0x15f433={'unitID':_0x249202,'memberID':_0xbb4b83['memberID'],'type':_0x1271b6,'changeset':m[_0x2a96fd(0x1d5)](_0x22b093)},_0x29c73e=this['_configService'][_0x2a96fd(0x29b)](Et),_0x2a52cc=this[_0x2a96fd(0x1f8)][_0x2a96fd(0x29b)](q),_0x279d88=ti((_0x32b750=(_0x599d4d=_0x2a52cc==null?void 0x0:_0x2a52cc['collabSubmitChangesetUrl'])!=null?_0x599d4d:_0x29c73e)!=null?_0x32b750:qt,_0x1271b6,_0x249202);try{await this[_0x2a96fd(0x3d2)]['post'](_0x279d88,{'body':_0x15f433});}catch(_0x53d34c){throw this[_0x2a96fd(0x409)]['error'](_0x2a96fd(0x32e),_0x2a96fd(0x43d)),_0x53d34c;}}async[_0xbef4ca(0x4c3)](_0x69291e){var _0x40ff47=_0xbef4ca;const {unitID:_0x591dfd,from:_0x2d103b,to:_0x441707,unitType:_0x5edd55}=_0x69291e[_0x40ff47(0x4b6)];return(await this[_0x40ff47(0x3b5)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x591dfd,'type':_0x5edd55,'from':_0x2d103b,'to':_0x441707}))[_0x40ff47(0x46b)];}},exports[_0xbef4ca(0x28d)]=ei([ue(0x0,a[_0xbef4ca(0x4b9)](a[_0xbef4ca(0x18b)])),ue(0x1,a[_0xbef4ca(0x4b9)](z['HTTPService'])),ue(0x2,a[_0xbef4ca(0x173)]),ue(0x3,a[_0xbef4ca(0x4ab)]),ue(0x4,m[_0xbef4ca(0x21d)])],exports['CollaborationSocketService']);const ii=_0xbef4ca(0x30f);function ni(_0xb6a937){var _0x503cf1=_0xbef4ca;return JSON[_0x503cf1(0x295)](_0xb6a937)[_0x503cf1(0x3f5)];}class Be{constructor(){var _0x455724=_0xbef4ca;D(this,_0x455724(0x283),new H[(_0x455724(0x488))]()),D(this,'commentUpdate$',this['_commentUpdate$'][_0x455724(0x44b)]());}[_0xbef4ca(0x28a)](_0x308770){var _0x325ae4=_0xbef4ca;this[_0x325ae4(0x283)][_0x325ae4(0x328)](_0x308770);}}var ri=Object[_0xbef4ca(0x1b1)],si=Object['getOwnPropertyDescriptor'],oi=(_0x1f2c55,_0x466783,_0x5d2f4d,_0x302724)=>{var _0xe515=_0xbef4ca;for(var _0x43ddac=_0x302724>0x1?void 0x0:_0x302724?si(_0x466783,_0x5d2f4d):_0x466783,_0x57e351=_0x1f2c55[_0xe515(0x3f5)]-0x1,_0x4423f2;_0x57e351>=0x0;_0x57e351--)(_0x4423f2=_0x1f2c55[_0x57e351])&&(_0x43ddac=(_0x302724?_0x4423f2(_0x466783,_0x5d2f4d,_0x43ddac):_0x4423f2(_0x43ddac))||_0x43ddac);return _0x302724&&_0x43ddac&&ri(_0x466783,_0x5d2f4d,_0x43ddac),_0x43ddac;},Ye=(_0x47f93a,_0xb1a2fe)=>(_0x50aab4,_0x55c53b)=>_0xb1a2fe(_0x50aab4,_0x55c53b,_0x47f93a);exports[_0xbef4ca(0x47c)]=class extends a[_0xbef4ca(0x4bd)]{constructor(_0x244622,_0x7e5bb5){var _0x164648=_0xbef4ca;super(),D(this,_0x164648(0x423),new Map()),D(this,'_roomCreated$',new H[(_0x164648(0x488))]()),(this[_0x164648(0x2c8)]=_0x244622,this[_0x164648(0x4fa)]=_0x7e5bb5,this[_0x164648(0x3a5)](H[_0x164648(0x337)](this[_0x164648(0x2c8)]['getTypeOfUnitDisposed$'](a[_0x164648(0x1e0)][_0x164648(0x1bf)])[_0x164648(0x4b5)](V[_0x164648(0x22d)](_0x457647=>_0x457647[_0x164648(0x3fa)]())),this['_univerInstanceService'][_0x164648(0x47b)](a[_0x164648(0x1e0)][_0x164648(0x3c9)])['pipe'](V['map'](_0x25194c=>_0x25194c[_0x164648(0x3fa)]())),this[_0x164648(0x2c8)][_0x164648(0x47b)](a[_0x164648(0x1e0)]['UNIVER_SLIDE'])[_0x164648(0x4b5)](V[_0x164648(0x22d)](_0x974d5d=>_0x974d5d[_0x164648(0x3fa)]())))[_0x164648(0x31b)](_0x4f7d28=>this[_0x164648(0x1cb)](_0x4f7d28))));}[_0xbef4ca(0x20c)](_0x25fcee){var _0x5d3b1f=_0xbef4ca;return this[_0x5d3b1f(0x423)][_0x5d3b1f(0x43a)](_0x25fcee)?H['of'](this[_0x5d3b1f(0x423)][_0x5d3b1f(0x1b9)](_0x25fcee)):this[_0x5d3b1f(0x20b)][_0x5d3b1f(0x4b5)](V[_0x5d3b1f(0x22d)](_0x308d2a=>{var _0xd7d637=_0x5d3b1f;if(_0x308d2a===_0x25fcee)return this[_0xd7d637(0x423)][_0xd7d637(0x1b9)](_0x308d2a);}));}[_0xbef4ca(0x3e2)](_0x238539){var _0x3fb71a=_0xbef4ca;this[_0x3fb71a(0x4fa)][_0x3fb71a(0x3e2)](_0x238539);}[_0xbef4ca(0x3e1)](){var _0x529372=_0xbef4ca;return this[_0x529372(0x4fa)]['getCurrentUser']();}['updateMember'](_0x5f4d32,_0x51ab30){var _0x51e2f6=_0xbef4ca;let _0x1061a7=this[_0x51e2f6(0x423)][_0x51e2f6(0x1b9)](_0x5f4d32);_0x1061a7||(_0x1061a7=new ai(),this[_0x51e2f6(0x423)][_0x51e2f6(0x27e)](_0x5f4d32,_0x1061a7),this[_0x51e2f6(0x20b)]['next'](_0x5f4d32)),_0x1061a7[_0x51e2f6(0x1c3)](_0x51ab30);}['removeMember'](_0x43016d,_0x469bf5){var _0x4e8d30=_0xbef4ca;const _0x523212=this[_0x4e8d30(0x423)][_0x4e8d30(0x1b9)](_0x43016d);_0x523212&&_0x523212['removeMember'](_0x469bf5);}[_0xbef4ca(0x3e0)](_0x441a73){var _0x29b161=_0xbef4ca;return this['_roomMembers'][_0x29b161(0x1b9)](_0x441a73);}[_0xbef4ca(0x291)](_0x3ff281,_0x79a7a3){var _0x4577b6=_0xbef4ca;const _0x412771=this['_roomMembers'][_0x4577b6(0x1b9)](_0x3ff281);if(_0x412771)return _0x412771[_0x4577b6(0x291)](_0x79a7a3);}['_removeRoom'](_0x4b69d6){var _0x12565b=_0xbef4ca;const _0x19d246=this[_0x12565b(0x423)]['get'](_0x4b69d6);_0x19d246&&(_0x19d246['dispose'](),this[_0x12565b(0x423)][_0x12565b(0x190)](_0x4b69d6));}['dispose'](){var _0x148b72=_0xbef4ca;this[_0x148b72(0x423)][_0x148b72(0x217)](_0x3f95ed=>_0x3f95ed[_0x148b72(0x3b6)]()),this[_0x148b72(0x423)][_0x148b72(0x2e7)](),this[_0x148b72(0x20b)][_0x148b72(0x276)]();}},exports[_0xbef4ca(0x47c)]=oi([Ye(0x0,a[_0xbef4ca(0x30b)]),Ye(0x1,a[_0xbef4ca(0x4b9)](a[_0xbef4ca(0x386)]))],exports['MemberService']);class ai extends a['Disposable']{constructor(){var _0x40c19e=_0xbef4ca;super(...arguments),D(this,_0x40c19e(0x19b),new Map()),D(this,_0x40c19e(0x4e5),new H[(_0x40c19e(0x4ad))](this['_members'])),D(this,'members$',this['_members$'][_0x40c19e(0x44b)]());}[_0xbef4ca(0x3b6)](){var _0x380b5c=_0xbef4ca;this['_members'][_0x380b5c(0x2e7)]();}['updateMember'](_0x5445d9){var _0x51abe6=_0xbef4ca;this[_0x51abe6(0x19b)][_0x51abe6(0x27e)](_0x5445d9[_0x51abe6(0x32c)],_0x5445d9),this['_emitMembers']();}['removeMember'](_0x41cfa1){var _0xbd02d3=_0xbef4ca;this[_0xbd02d3(0x19b)][_0xbd02d3(0x190)](_0x41cfa1);}['getMember'](_0x255c32){var _0x3d16f5=_0xbef4ca;return this['_members'][_0x3d16f5(0x1b9)](_0x255c32);}[_0xbef4ca(0x494)](){var _0x5c493d=_0xbef4ca;return Array[_0x5c493d(0x2d6)](this[_0x5c493d(0x19b)][_0x5c493d(0x1ba)]());}[_0xbef4ca(0x1d1)](){var _0x51710b=_0xbef4ca;this['_members$'][_0x51710b(0x328)](this[_0x51710b(0x19b)]);}}var ci=Object[_0xbef4ca(0x1b1)],hi=Object[_0xbef4ca(0x30a)],li=(_0x509042,_0x588a81,_0x518d97,_0x3e39c1)=>{var _0x34447b=_0xbef4ca;for(var _0x536ee5=_0x3e39c1>0x1?void 0x0:_0x3e39c1?hi(_0x588a81,_0x518d97):_0x588a81,_0x28ae4f=_0x509042[_0x34447b(0x3f5)]-0x1,_0x19f788;_0x28ae4f>=0x0;_0x28ae4f--)(_0x19f788=_0x509042[_0x28ae4f])&&(_0x536ee5=(_0x3e39c1?_0x19f788(_0x588a81,_0x518d97,_0x536ee5):_0x19f788(_0x536ee5))||_0x536ee5);return _0x3e39c1&&_0x536ee5&&ci(_0x588a81,_0x518d97,_0x536ee5),_0x536ee5;},oe=(_0xb43eae,_0x197f00)=>(_0x545e6b,_0x3e9e3d)=>_0x197f00(_0x545e6b,_0x3e9e3d,_0xb43eae),se=(_0x3666d8=>(_0x3666d8[_0x3666d8[_0xbef4ca(0x459)]=0x0]=_0xbef4ca(0x459),_0x3666d8[_0x3666d8[_0xbef4ca(0x2ab)]=0x1]='JOINING',_0x3666d8[_0x3666d8[_0xbef4ca(0x3b7)]=0x2]=_0xbef4ca(0x3b7),_0x3666d8[_0x3666d8[_0xbef4ca(0x340)]=0x3]=_0xbef4ca(0x340),_0x3666d8))(se||{});const qe={[he['FAIL']]:_0xbef4ca(0x20f),[he[_0xbef4ca(0x397)]]:_0xbef4ca(0x2f5),[he[_0xbef4ca(0x33a)]]:_0xbef4ca(0x399),[he[_0xbef4ca(0x268)]]:_0xbef4ca(0x4cf),[he[_0xbef4ca(0x213)]]:_0xbef4ca(0x197)};exports[_0xbef4ca(0x3e8)]=class extends a[_0xbef4ca(0x4d8)]{constructor(_0x5f29a5,_0x1299f1,_0x23d04e,_0x3216f5,_0x20c68f,_0x1d08a6,_0x3c7b39,_0x395e03,_0x2a853c){var _0x137e0c=_0xbef4ca;super(),D(this,_0x137e0c(0x34b),new H[(_0x137e0c(0x4ad))](0x0)),D(this,_0x137e0c(0x49f),this[_0x137e0c(0x34b)][_0x137e0c(0x44b)]()),D(this,_0x137e0c(0x404),new H['Subject']()),D(this,_0x137e0c(0x2d1),this[_0x137e0c(0x404)][_0x137e0c(0x44b)]()),D(this,_0x137e0c(0x218)),D(this,_0x137e0c(0x2ae)),D(this,_0x137e0c(0x354)),D(this,_0x137e0c(0x199),!0x1),D(this,_0x137e0c(0x3bf),null),(this['_unitID']=_0x5f29a5,this['_logService']=_0x23d04e,this[_0x137e0c(0x1f8)]=_0x3216f5,this[_0x137e0c(0x22f)]=_0x20c68f,this[_0x137e0c(0x1b3)]=_0x1d08a6,this[_0x137e0c(0x2eb)]=_0x3c7b39,this['_collaborationUIEventService']=_0x395e03,this['_telemetryService']=_0x2a853c,this['_shouldReportTelemetry']=!!this[_0x137e0c(0x378)],_0x1299f1[_0x137e0c(0x4b5)](H[_0x137e0c(0x2ca)](this[_0x137e0c(0x46f)]))[_0x137e0c(0x31b)](_0x337703=>{var _0x56d5aa=_0x137e0c,_0x374f56;typeof _0x337703>'u'||(this['_socket']=_0x337703,_0x337703?(this[_0x56d5aa(0x334)](_0x337703),this[_0x56d5aa(0x2ae)]=_0x337703['message$'][_0x56d5aa(0x31b)](_0x10e041=>{var _0x38c9e8=_0x56d5aa;_0x10e041[_0x38c9e8(0x1e6)]===this['_unitID']&&this[_0x38c9e8(0x1e4)](_0x10e041);})):(this[_0x56d5aa(0x2c5)](),this[_0x56d5aa(0x34b)]['next'](0x2),(_0x374f56=this[_0x56d5aa(0x2ae)])==null||_0x374f56['unsubscribe'](),this[_0x56d5aa(0x2ae)]=null));}));}get[_0xbef4ca(0x3c0)](){var _0x491d65=_0xbef4ca;return this[_0x491d65(0x34b)][_0x491d65(0x181)]();}[_0xbef4ca(0x2e4)](){var _0x1575c0,_0x2899cb;return(_0x2899cb=(_0x1575c0=this['_socket'])==null?void 0x0:_0x1575c0['memberID'])!=null?_0x2899cb:null;}['dispose'](){var _0x2446c5=_0xbef4ca;super[_0x2446c5(0x3b6)](),this['dispose$'][_0x2446c5(0x328)](),this[_0x2446c5(0x46f)][_0x2446c5(0x276)]();}['close'](){var _0x2b7c72=_0xbef4ca,_0x59f84a,_0x124c57;this[_0x2b7c72(0x2c5)](),(_0x59f84a=this['_socket'])==null||_0x59f84a[_0x2b7c72(0x2a5)]({'cmd':G[_0x2b7c72(0x240)],'data':{'roomID':this[_0x2b7c72(0x3aa)]}}),(_0x124c57=this['_socket'])==null||_0x124c57[_0x2b7c72(0x37a)](),this[_0x2b7c72(0x404)][_0x2b7c72(0x276)](),this[_0x2b7c72(0x34b)]['complete'](),this[_0x2b7c72(0x3b6)]();}['_onCombEvent'](_0x12fc86){var _0x38beb7=_0xbef4ca;_0x12fc86['cmd']===G[_0x38beb7(0x233)]?this[_0x38beb7(0x182)](_0x12fc86):_0x12fc86[_0x38beb7(0x40b)]===G[_0x38beb7(0x1fa)]&&this[_0x38beb7(0x2c6)](_0x12fc86);}[_0xbef4ca(0x334)](_0x27bd88){var _0x4661e5=_0xbef4ca;this['_sessionStatus$']['next'](0x1),_0x27bd88[_0x4661e5(0x2a5)]({'cmd':G[_0x4661e5(0x233)],'routeKey':this[_0x4661e5(0x3aa)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4661e5(0x3aa)]}]}});}[_0xbef4ca(0x182)](_0x5beeda){var _0x1a8c6a=_0xbef4ca,_0x342a42;if(_0x5beeda['code']in qe){this[_0x1a8c6a(0x412)][_0x1a8c6a(0x31e)]({'id':Q['JOIN_ROOM_FAILED'],'data':qe[_0x5beeda['code']]}),this[_0x1a8c6a(0x34b)][_0x1a8c6a(0x328)](0x2);return;}this[_0x1a8c6a(0x34b)][_0x1a8c6a(0x328)](0x3);const _0x42dfa5=(_0x342a42=_0x5beeda[_0x1a8c6a(0x4b6)][_0x1a8c6a(0x4d9)][this[_0x1a8c6a(0x3aa)]])==null?void 0x0:_0x342a42['members'];_0x42dfa5&&_0x42dfa5[_0x1a8c6a(0x217)](_0x9c81be=>this['_memberService'][_0x1a8c6a(0x1c3)](this['_unitID'],_0x9c81be));}[_0xbef4ca(0x2c6)](_0x417d22){var _0x16f0ad=_0xbef4ca;try{const _0x3beba9=_0x417d22[_0x16f0ad(0x4b6)];switch(_0x3beba9[_0x16f0ad(0x4ee)]){case m[_0x16f0ad(0x350)][_0x16f0ad(0x32d)]:this[_0x16f0ad(0x42a)](_0x3beba9),this['_event$'][_0x16f0ad(0x328)](_0x3beba9);break;case m[_0x16f0ad(0x350)][_0x16f0ad(0x17e)]:this[_0x16f0ad(0x450)](_0x3beba9),this[_0x16f0ad(0x404)][_0x16f0ad(0x328)](_0x3beba9);break;case m[_0x16f0ad(0x350)][_0x16f0ad(0x2ad)]:case m[_0x16f0ad(0x350)]['CHANGESET_SHOULD_RETRY']:this[_0x16f0ad(0x2d8)](),this[_0x16f0ad(0x2f9)](),this[_0x16f0ad(0x404)][_0x16f0ad(0x328)](_0x3beba9);break;case m[_0x16f0ad(0x350)]['MSG_FOR_ERROR']:this[_0x16f0ad(0x409)][_0x16f0ad(0x398)](_0x16f0ad(0x2b0)+JSON[_0x16f0ad(0x295)](_0x3beba9)),this[_0x16f0ad(0x404)]['next'](_0x3beba9);break;case m[_0x16f0ad(0x350)][_0x16f0ad(0x4a3)]:this[_0x16f0ad(0x2eb)]['onCommentUpdate'](_0x3beba9[_0x16f0ad(0x4b6)]),this['_event$'][_0x16f0ad(0x328)](_0x3beba9);break;default:this[_0x16f0ad(0x404)][_0x16f0ad(0x328)](_0x3beba9);}}catch(_0x3b358e){this[_0x16f0ad(0x409)][_0x16f0ad(0x398)](_0x3b358e,_0x417d22);}}[_0xbef4ca(0x42a)](_0x316466){var _0x2a677f=_0xbef4ca;this[_0x2a677f(0x1b3)][_0x2a677f(0x1c3)](this[_0x2a677f(0x3aa)],_0x316466[_0x2a677f(0x4b6)]);}[_0xbef4ca(0x450)](_0x2581bd){var _0x278ec3=_0xbef4ca;this[_0x278ec3(0x1b3)][_0x278ec3(0x2f3)](this[_0x278ec3(0x3aa)],_0x2581bd[_0x278ec3(0x4b6)][_0x278ec3(0x32c)]);}async[_0xbef4ca(0x2a5)](_0x4145c2,_0x3053f1){var _0x11631b=_0xbef4ca;if(this[_0x11631b(0x3c0)]!==0x3||!this['_socket'])throw new Error(_0x11631b(0x3c2));try{_0x4145c2[_0x11631b(0x4ee)]===m[_0x11631b(0x350)][_0x11631b(0x3d7)]&&(this[_0x11631b(0x39f)](),this['_startTelemetryCollaborationNewChangeset'](_0x4145c2)),this[_0x11631b(0x218)][_0x11631b(0x2a5)]({'cmd':G[_0x11631b(0x3f1)],'routeKey':_0x3053f1,'routeType':'','data':_0x4145c2});}catch(_0x3c6ccf){this['_logService'][_0x11631b(0x398)](_0x3c6ccf);}}[_0xbef4ca(0x39f)](){var _0x44ecb7=_0xbef4ca,_0x127bdb;this[_0x44ecb7(0x354)]=setTimeout(()=>{var _0x269344=_0x44ecb7;this[_0x269344(0x354)]=null,this['_collaborationUIEventService'][_0x269344(0x31e)]({'id':Q['SUBMIT_CHANGESET_TIMEOUT']});},(_0x127bdb=this[_0x44ecb7(0x1f8)][_0x44ecb7(0x29b)](He))!=null?_0x127bdb:mt);}[_0xbef4ca(0x2f9)](){var _0x22cd64=_0xbef4ca;this[_0x22cd64(0x354)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0xbef4ca(0x463)](_0x281b44){var _0x17fa22=_0xbef4ca;if(!this[_0x17fa22(0x199)])return;const {data:_0x3891a2}=_0x281b44,{unitID:_0x4941c5,changeset:_0x23ec7c}=_0x3891a2,{mutations:_0x2781ff,type:_0x14fd4c}=_0x23ec7c;this[_0x17fa22(0x3bf)]={'unitId':_0x4941c5,'type':_0x14fd4c,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ni(_0x2781ff)};}[_0xbef4ca(0x2d8)](){var _0x1bbda9=_0xbef4ca;if(this[_0x1bbda9(0x199)]){if(!this['_telemetryInfo']){this[_0x1bbda9(0x409)][_0x1bbda9(0x398)](_0x1bbda9(0x32e),_0x1bbda9(0x265));return;}this[_0x1bbda9(0x3bf)][_0x1bbda9(0x4c0)]=performance[_0x1bbda9(0x17d)](),this[_0x1bbda9(0x3bf)][_0x1bbda9(0x267)]=this[_0x1bbda9(0x3bf)][_0x1bbda9(0x4c0)]-this[_0x1bbda9(0x3bf)]['startTime'],this['_telemetryService']['capture'](ii,this[_0x1bbda9(0x3bf)]),this[_0x1bbda9(0x3bf)]=null;}}[_0xbef4ca(0x2c5)](){this['_telemetryInfo']=null;}},exports[_0xbef4ca(0x3e8)]=li([oe(0x2,a[_0xbef4ca(0x4ab)]),oe(0x3,a[_0xbef4ca(0x173)]),oe(0x4,a['Inject'](a[_0xbef4ca(0x17a)])),oe(0x5,a[_0xbef4ca(0x4b9)](exports[_0xbef4ca(0x47c)])),oe(0x6,a['Inject'](Be)),oe(0x7,a[_0xbef4ca(0x4b9)](te)),oe(0x8,a[_0xbef4ca(0x22b)](jt[_0xbef4ca(0x254)]))],exports['CollaborationSession']);var _i=Object[_0xbef4ca(0x1b1)],ui=Object[_0xbef4ca(0x30a)],di=(_0x35a594,_0x51e728,_0x1e0fcf,_0x281192)=>{var _0x33ad18=_0xbef4ca;for(var _0xd026a9=_0x281192>0x1?void 0x0:_0x281192?ui(_0x51e728,_0x1e0fcf):_0x51e728,_0x2dfc02=_0x35a594[_0x33ad18(0x3f5)]-0x1,_0x543d85;_0x2dfc02>=0x0;_0x2dfc02--)(_0x543d85=_0x35a594[_0x2dfc02])&&(_0xd026a9=(_0x281192?_0x543d85(_0x51e728,_0x1e0fcf,_0xd026a9):_0x543d85(_0xd026a9))||_0xd026a9);return _0x281192&&_0xd026a9&&_i(_0x51e728,_0x1e0fcf,_0xd026a9),_0xd026a9;},ae=(_0x2f5447,_0x44b0de)=>(_0x470f1e,_0x519b51)=>_0x44b0de(_0x470f1e,_0x519b51,_0x2f5447);exports[_0xbef4ca(0x2d2)]=class extends a[_0xbef4ca(0x4bd)]{constructor(_0x414ee2,_0x207a93,_0x5804e5,_0x3b6a87,_0x1be4c4,_0x456630,_0x1a2ea8){var _0x47daa0=_0xbef4ca;super(),D(this,_0x47daa0(0x40e),new H['BehaviorSubject'](void 0x0)),D(this,'socket$',this[_0x47daa0(0x40e)][_0x47daa0(0x44b)]()),D(this,'_candidateSocket',null),D(this,_0x47daa0(0x41d),new Map()),D(this,_0x47daa0(0x401),new H[(_0x47daa0(0x4ad))](se[_0x47daa0(0x459)])),D(this,_0x47daa0(0x29a),this[_0x47daa0(0x401)][_0x47daa0(0x44b)]()),D(this,_0x47daa0(0x3e7),!0x1),D(this,_0x47daa0(0x414)),D(this,_0x47daa0(0x175),0x0),D(this,'_sendHeartbeatTimer'),D(this,_0x47daa0(0x2af)),(this[_0x47daa0(0x40f)]=_0x414ee2,this[_0x47daa0(0x409)]=_0x207a93,this['_configService']=_0x5804e5,this[_0x47daa0(0x33b)]=_0x3b6a87,this[_0x47daa0(0x17f)]=_0x1be4c4,this[_0x47daa0(0x412)]=_0x456630,this[_0x47daa0(0x4c8)]=_0x1a2ea8,this[_0x47daa0(0x388)]());}get['_socket'](){var _0x39f999=_0xbef4ca;return this[_0x39f999(0x40e)][_0x39f999(0x181)]();}['_listenToNetworkCondition'](){var _0x45fa07=_0xbef4ca;this['_networkConditionService']&&this[_0x45fa07(0x3a5)](this[_0x45fa07(0x4c8)][_0x45fa07(0x1ee)]['subscribe'](_0x34af1b=>{var _0x4050bf=_0x45fa07;_0x34af1b&&!this[_0x4050bf(0x218)]&&this['reconnect'](),_0x34af1b||this[_0x4050bf(0x45b)]();}));}[_0xbef4ca(0x3b6)](){var _0x1e1708=_0xbef4ca;super[_0x1e1708(0x3b6)](),this[_0x1e1708(0x41d)][_0x1e1708(0x217)](_0x4ad3c4=>_0x4ad3c4[_0x1e1708(0x3b6)]()),this[_0x1e1708(0x41d)][_0x1e1708(0x2e7)](),this[_0x1e1708(0x401)][_0x1e1708(0x276)]();}async[_0xbef4ca(0x316)](_0x4787e0){var _0x4c9ca3=_0xbef4ca;if(this[_0x4c9ca3(0x41d)][_0x4c9ca3(0x43a)](_0x4787e0))return this[_0x4c9ca3(0x41d)][_0x4c9ca3(0x1b9)](_0x4787e0);this[_0x4c9ca3(0x4b4)]();const _0x4ab984=this['_injector']['createInstance'](exports[_0x4c9ca3(0x3e8)],_0x4787e0,this[_0x4c9ca3(0x40e)][_0x4c9ca3(0x44b)]());return this['_sessions'][_0x4c9ca3(0x27e)](_0x4787e0,_0x4ab984),_0x4ab984;}[_0xbef4ca(0x447)](_0x3b564b){var _0x18b387=_0xbef4ca,_0x4a8828;const _0x1277e7=this['_sessions'][_0x18b387(0x1b9)](_0x3b564b);_0x1277e7&&(this[_0x18b387(0x41d)][_0x18b387(0x190)](_0x3b564b),_0x1277e7['close']()),this[_0x18b387(0x41d)]['size']||(_0x4a8828=this['_socket'])==null||_0x4a8828[_0x18b387(0x37a)]();}[_0xbef4ca(0x493)](){var _0x408e60=_0xbef4ca;this[_0x408e60(0x175)]=0x0,this[_0x408e60(0x414)]!=null&&(clearTimeout(this[_0x408e60(0x414)]),this[_0x408e60(0x414)]=null),this[_0x408e60(0x38f)]();}async[_0xbef4ca(0x393)](){var _0x29ae39=_0xbef4ca,_0x42d47e,_0xd54480,_0x27283d;const _0x287ee1=this[_0x29ae39(0x1f8)][_0x29ae39(0x29b)](q),_0x1f457f=(_0x42d47e=_0x287ee1==null?void 0x0:_0x287ee1[_0x29ae39(0x4e0)])!=null?_0x42d47e:Ft;return(_0x27283d=(_0xd54480=(await this[_0x29ae39(0x17f)][_0x29ae39(0x1b9)](_0x1f457f,{'headers':{'Content-Type':_0x29ae39(0x448)}}))['body'])==null?void 0x0:_0xd54480[_0x29ae39(0x310)])!=null?_0x27283d:'';}[_0xbef4ca(0x1be)](_0x1c28cf){var _0xae539c=_0xbef4ca,_0xd2a101,_0x3dfe00;const _0x4a7ee2=this['_configService'][_0xae539c(0x29b)](St),_0x5d3913=this[_0xae539c(0x1f8)][_0xae539c(0x29b)](q),_0x1e1d20=(_0x3dfe00=(_0xd2a101=_0x5d3913==null?void 0x0:_0x5d3913[_0xae539c(0x3c4)])!=null?_0xd2a101:_0x4a7ee2)!=null?_0x3dfe00:pt,_0x220d4a=typeof window>'u'?new URL(_0x1e1d20):new URL(_0x1e1d20,window[_0xae539c(0x480)][_0xae539c(0x460)]);_0x220d4a[_0xae539c(0x22c)]['set'](_0xae539c(0x4d4),_0x1c28cf);const _0x3c2254=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xae539c(0x480)][_0xae539c(0x42d)]);return _0x3c2254['get'](_0xae539c(0x202))&&_0x220d4a['searchParams'][_0xae539c(0x27e)](_0xae539c(0x202),_0x3c2254[_0xae539c(0x1b9)](_0xae539c(0x202))),_0x220d4a['toString']();}async[_0xbef4ca(0x384)](){var _0x4c9b7a=_0xbef4ca;const _0x51ce80=await this[_0x4c9b7a(0x393)](),_0x3ca69d=this[_0x4c9b7a(0x1be)](_0x51ce80),_0x4c2dcf=this['_socketService'][_0x4c9b7a(0x381)](_0x3ca69d);return this[_0x4c9b7a(0x247)]=_0x4c2dcf,_0x4c2dcf;}async['_tryEnsureSocket'](){var _0x191c2e=_0xbef4ca,_0x53c553,_0x321a63;try{const _0x5b7781=(_0x321a63=(_0x53c553=this['_socket'])!=null?_0x53c553:this[_0x191c2e(0x247)])!=null?_0x321a63:await this[_0x191c2e(0x384)]();if(_0x5b7781){const _0x47cd7e=_0x5b7781[_0x191c2e(0x2a5)];_0x5b7781[_0x191c2e(0x2a5)]=_0x51690b=>(this[_0x191c2e(0x37c)](),_0x47cd7e['apply'](_0x5b7781,[_0x51690b])),_0x5b7781['message$'][_0x191c2e(0x31b)](_0x174c12=>this[_0x191c2e(0x4aa)](_0x5b7781,_0x174c12)),_0x5b7781[_0x191c2e(0x49c)][_0x191c2e(0x4b5)](V[_0x191c2e(0x417)](0x1))['subscribe'](_0xe69b8a=>this[_0x191c2e(0x409)][_0x191c2e(0x398)]('[CollaborationSessionService]:\x20socket\x20error',_0xe69b8a)),_0x5b7781[_0x191c2e(0x415)][_0x191c2e(0x4b5)](V[_0x191c2e(0x417)](0x1))[_0x191c2e(0x31b)](()=>{var _0x8eafce=_0x191c2e;this[_0x8eafce(0x3a6)](_0x5b7781);}),_0x5b7781[_0x191c2e(0x21e)][_0x191c2e(0x4b5)](V[_0x191c2e(0x417)](0x1))['subscribe'](_0x4bd935=>{var _0x22e479=_0x191c2e;this[_0x22e479(0x409)]['debug'](_0x22e479(0x45d),_0x22e479(0x29d),_0x4bd935),this['_onConnectionFailed']();});}}catch(_0x440d48){this['_logService'][_0x191c2e(0x398)](_0x440d48),this[_0x191c2e(0x3a9)]();}}[_0xbef4ca(0x3a6)](_0x516f32){var _0x50d496=_0xbef4ca;this[_0x50d496(0x409)][_0x50d496(0x2c0)](_0x50d496(0x45d),'socket\x20open.'),_0x516f32[_0x50d496(0x2a5)]({'cmd':G[_0x50d496(0x364)]}),this[_0x50d496(0x37c)]();}[_0xbef4ca(0x45b)](){var _0x5eb3b9=_0xbef4ca;this[_0x5eb3b9(0x3e7)]=!0x1,this[_0x5eb3b9(0x247)]=null,this['_status$'][_0x5eb3b9(0x328)](se[_0x5eb3b9(0x3b7)]),this[_0x5eb3b9(0x40e)][_0x5eb3b9(0x328)](null),this['_clearTimeoutTimer'](),this[_0x5eb3b9(0x47f)]();}['_onConnectionFailed'](){var _0x5a168a=_0xbef4ca,_0x250767;this[_0x5a168a(0x45b)](),this['_retryCount']<((_0x250767=this[_0x5a168a(0x1f8)][_0x5a168a(0x29b)](It))!=null?_0x250767:Gt)?(this[_0x5a168a(0x412)][_0x5a168a(0x31e)]({'id':Q[_0x5a168a(0x2ec)]}),this[_0x5a168a(0x38f)]()):this[_0x5a168a(0x412)][_0x5a168a(0x31e)]({'id':Q['SOCKET_FAILED']});}[_0xbef4ca(0x38f)](){var _0x56318e=_0xbef4ca,_0x3ff40f;const _0x4fa722=this[_0x56318e(0x175)],_0x33d975=this[_0x56318e(0x1f8)][_0x56318e(0x29b)](q),_0x5c32a1=_0x4fa722===0x0?0x0:((_0x3ff40f=_0x33d975==null?void 0x0:_0x33d975[_0x56318e(0x3ea)])!=null?_0x3ff40f:Vt)*0x2**_0x4fa722;this[_0x56318e(0x414)]=setTimeout(()=>{var _0x2aa2f8=_0x56318e;clearTimeout(this[_0x2aa2f8(0x414)]),this[_0x2aa2f8(0x414)]=null,this[_0x2aa2f8(0x4b4)]();},_0x5c32a1),this['_retryCount']+=0x1;}[_0xbef4ca(0x4aa)](_0x44b4e8,_0x4f60ae){var _0x39a66a=_0xbef4ca;const {cmd:_0x3b671c}=_0x4f60ae;_0x3b671c===G[_0x39a66a(0x364)]&&!this[_0x39a66a(0x3e7)]&&(_0x44b4e8[_0x39a66a(0x32c)]=_0x4f60ae[_0x39a66a(0x4b6)][_0x39a66a(0x32c)],this[_0x39a66a(0x40e)]['next'](_0x44b4e8),this[_0x39a66a(0x401)][_0x39a66a(0x328)](se['ONLINE']),this[_0x39a66a(0x3e7)]=!0x0,this[_0x39a66a(0x247)]=null),_0x3b671c===G[_0x39a66a(0x41a)]&&this['_clearTimeoutTimer'](),this[_0x39a66a(0x37c)]();}[_0xbef4ca(0x37c)](){var _0x21bd19=_0xbef4ca,_0xf611e;this['_clearHeartbeatTimer'](),this[_0x21bd19(0x3ab)]=setTimeout(()=>this[_0x21bd19(0x2ff)](),(_0xf611e=this['_configService'][_0x21bd19(0x29b)](gt))!=null?_0xf611e:Wt);}[_0xbef4ca(0x2ff)](){var _0x4d0137=_0xbef4ca;this[_0x4d0137(0x218)][_0x4d0137(0x2a5)]({'cmd':G[_0x4d0137(0x41a)]}),this[_0x4d0137(0x43c)]();}[_0xbef4ca(0x43c)](){var _0x3994f7=_0xbef4ca,_0x20e1f2;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x20e1f2=this[_0x3994f7(0x1f8)][_0x3994f7(0x29b)](He))!=null?_0x20e1f2:mt);}[_0xbef4ca(0x47f)](){var _0x5e8825=_0xbef4ca;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x5e8825(0x3ab)]),this[_0x5e8825(0x3ab)]=null);}[_0xbef4ca(0x4f1)](){var _0x146d5f=_0xbef4ca;this[_0x146d5f(0x2af)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}},exports[_0xbef4ca(0x2d2)]=di([ae(0x0,a[_0xbef4ca(0x4b9)](a[_0xbef4ca(0x18b)])),ae(0x1,a[_0xbef4ca(0x4ab)]),ae(0x2,a[_0xbef4ca(0x173)]),ae(0x3,ke),ae(0x4,a[_0xbef4ca(0x4b9)](z['HTTPService'])),ae(0x5,a[_0xbef4ca(0x4b9)](te)),ae(0x6,a['Optional'](Rt))],exports[_0xbef4ca(0x2d2)]);const K=[];for(let r=0x0;r<0x100;++r)K[_0xbef4ca(0x3ae)]((r+0x100)[_0xbef4ca(0x2f7)](0x10)['slice'](0x1));function vi(_0x55381f,_0x39d2e5=0x0){var _0x33d268=_0xbef4ca;return(K[_0x55381f[_0x39d2e5+0x0]]+K[_0x55381f[_0x39d2e5+0x1]]+K[_0x55381f[_0x39d2e5+0x2]]+K[_0x55381f[_0x39d2e5+0x3]]+'-'+K[_0x55381f[_0x39d2e5+0x4]]+K[_0x55381f[_0x39d2e5+0x5]]+'-'+K[_0x55381f[_0x39d2e5+0x6]]+K[_0x55381f[_0x39d2e5+0x7]]+'-'+K[_0x55381f[_0x39d2e5+0x8]]+K[_0x55381f[_0x39d2e5+0x9]]+'-'+K[_0x55381f[_0x39d2e5+0xa]]+K[_0x55381f[_0x39d2e5+0xb]]+K[_0x55381f[_0x39d2e5+0xc]]+K[_0x55381f[_0x39d2e5+0xd]]+K[_0x55381f[_0x39d2e5+0xe]]+K[_0x55381f[_0x39d2e5+0xf]])[_0x33d268(0x3ec)]();}let Ue;const fi=new Uint8Array(0x10);function Si(){var _0x13b53c=_0xbef4ca;if(!Ue){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Ue=crypto[_0x13b53c(0x2f2)]['bind'](crypto);}return Ue(fi);}function _0x552f(){var _0x4b8859=['find','params','reconnect','getAllMembers','/allowed','_eventService','pad','sigBytes','SNAPSHOT_URL_KEY','Tools','_createHandler','error$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','POST','sessionStatus$','RETRY_CONNECTING_MAX_COUNT','_transitionLocked','_instanceService','COMMENT_UPDATE','_lockTransition','PendingState','_init','_authzIoService','onStateChange','mutations','_onMessage','ILogService','baseProtectionActions','BehaviorSubject','max','INetworkConditionService','__Key__','isTransformMutationsWithChangesetFailure','COLLAB_SUBMIT_CHANGESET_URL','signUrlServerUrl','_tryEnsureSocket','pipe','data','_HTTPService','NOT_COLLAB','Inject','infoRsp','LICENSE_MAX_UNITS_EXCEEDED','PasswordBasedCipher','Disposable','sheets','UNIVER_UNKNOWN','stopTime','Worksheet','update','_fetchMissChangesets','SNAPSHOT_INVALID_SNAPSHOT','keySize','SHOULD_CLOSE_CONN','HmacMD5','_networkConditionService','onRemoteAck','localCacheService','_map','UNRECOGNIZED','originalMeta','updatePermissionObjEvent','session.room-permission-denied','words','ENSURE_SNAPSHOT_EXECUTION','format','iterations','sessionTicket','SyncedState','rxjs','getTypeOfUnitAdded$','RxDisposable','roomInfos','_clearScheduledTask','ImageUploadStatusType','joinEvent','/-/object/-/batch_allowed','ERROR_IMAGE_TYPE','batchAllowed','wsSessionTicketUrl','state','_change$','title','{fileID}','_members$','_checkMissing','result','[FetchMissState]','refreshPermission','_reverseMap','$super','_replaceFileID','Undefined','eventID','saveSnapshot','_substituteUndoStack','_clearTimeoutTimer','focused$','CompressMutationService','loadOfflineData','APPLY_NON_SEQUENTIAL_REVISION','hostname','_resendTimeout','_applyRemoteChangeset','_executeRemoteChangeset','_userManagerService','SerializableCipher','addImageSourceCache','createCollaborator','IConfigService','objectActions','_retryCount','_localCacheService','EmptyMutation','_getRedoStack','readyForCollab','LocaleService','_invKeySchedule','[CollaborationUndoRedoService]','now','USERS_LEAVE','_httpService','UUID','getValue','_onJoinRoomEvent','toStringTag','RevisionService','MentionIoHttpService','LICENSE_DISTRO_REJECTED','_mode','shouldCloseConn','Utf8','HmacSHA1','Injector','_getDownloadEndpointURL','unitInfo$','_transformStack','HEARTBEAT_INTERVAL','delete','append','extend','UPDATE_PERMISSION_OBJ','COMPLETION_FINISHED','_transformSelections','fetchThroughInterceptors','session.room-cnt-exceeds','_registerDependencies','_shouldReportTelemetry','indexOf','_members','default','SYNCED','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','@univerjs/drawing','CLOSE_ROOM','deleteCollaborator','_waitCount','liveShareNewHost','objects','LIVESHARE_REQUEST_HOST','enableAuthServer','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','saveChangeset','reduce','_resendTimer','collaMsg','UniverCollaborationPlugin','OpenSSL','PERSON','\x20to\x20','loginUrlKey','defineProperty','_singleActiveUnitService','_memberService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','UnitSnapshot','_schedule','@univerjs/sheets','RangeProtectionRuleModel','get','values','_updateState','INTERNAL_ERROR','getTime','_createSocketURL','UNIVER_SHEET','subject','rng','createIdentifier','updateMember','randomBytes','selections','/universer-api/oidc/authpage','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','@univerjs/network','updateOfflineData','ruleRefresh','_removeRoom','CollaborationController','UniverSheetsPlugin','c1Prime','OTHER_CLIENT_EDITING','__creator','_emitMembers','APPLY_PERMISSION_DENIED','People','_sendingTimer','parseChangesetToProtocol','HTTPService','INVALID_ARGUMENT','/unit/','clamp','_createHelper','SOCKET_FAILED','getSnapshotAPIPath','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','textRanges','onTransformIME','UniverInstanceType','_doProcessBlock','SheetsSelectionsService','univer-pro.collaboration-client.network-condition.service','_onCombEvent','name','routeKey','_disableEditing','DataLoaderService','onStarting','value','LOGIN_URL_KEY','_initUnitPermissionChange','sin','online$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','Base64','AwaitingState','csAckEvent','_loadSheet','MUTATION','_initDependencies','findIndex','compose','_configService','rev','RECV','_nRounds','COLLAB_WEB_SOCKET_URL','WorkbookEditablePermission','_syncEditingCollabCursor','resourceIDs','reject','_transformRemoteChangesetByIMECache','runId','listRoles','_getCtorByUniverType','IContextService','YUUMI_RATE_OVER_LIMIT','enc','LIVESHARE_TERMINATE','LOCAL_CACHE_INTERVAL','createDecryptor','_roomCreated$','waitForRoom$','getResourcesRequest','onMissingChangesets','session.join-failed','crypto','abs','JSONX','GLOBAL_ROOMS_CNT_EXCEEDS','onLocalMutation','CBC','csRejEvent','forEach','_socket','post','loadDoc','_pendingMutations','transformSelections','ISnapshotServerService','close$','getAllWorkbookPermissionPoint','joinRsp','_acknowledgedAwaitingChangeset','_transformIMECache','_onFetchMissResult','padding','initWorkbookPermissionChange','_permissionService','decrypt','FileId','updateCursorEvent','file','Optional','searchParams','map','IAuthzIoService','_localeService','_collabSessionService','_key','BASE64','JOIN','salt','m2Prime','pauseCollaboration','getUnitType','onTransformState','userID','AuthzIoHttpService','entityInit$','interceptor','PERMISSION_DENIED','appendMutation','getAllWorksheetPermissionPointByPointPanel','LEAVE','_hash','OTHER_CLIENTS_EDITING','COLLAB_SUBMIT_CHANGESET_URL_KEY','StreamCipher','Base','function','_candidateSocket','_keySchedule','charCodeAt','byteLength','call','_clearUndo','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','FAIL','UNIVER_PROJECT','avatar','_unlockTransition','CollaborativeUndoRedoService','Plugin','ITelemetryService','?size=','AWAITING','_doCryptBlock','SHA1','Cipher','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','CollaborationUIEventService','actions','56NDZiok','BlockCipherMode','/block/','LOCAL_CACHE_INTERVAL_KEY','_state','getSheetBlock','sequenceExecute','ICollaborationSocketService','telemetry\x20info\x20is\x20not\x20initialized','list','duration','JOIN_ROOM_PERMISSION_DENIED','_state$','getUnit','delay','_changesetReqId','action','ITransformService','TOO_MANY_REQUESTS','_startCollaboration','/universer-api/comb','LIVESHARE_NEW_HOST','?url=','/universer-api/authz','\x20-\x20','complete','UniverNetworkPlugin','deserializeToCombResponse','setShowComponents','entries','_getAPIPrefixPath','image/jpg','csShouldRetryEvent','set','APPLY_REJECT','_substituteRedoStack','Pkcs7','allowed','_commentUpdate$','putCollaborators','_sender','_imageSourceCache','awaitingChangeset','onMissedChangesetFetched','_getAPIPrefix','onCommentUpdate','ceil','parse','CollaborationSocketService','FETCH_MISS','IPermissionService','OfflineState','getMember','getActiveSheet','splice','mode','stringify','awaiting_with_pending','/universer-api/stream/file/upload','collaboratorID','toDisposable','status$','getConfig','min','socket\x20close','YUUMI_UNABLE_LOAD_URL','mixIn','/fetchmissing?from=','UNAUTHENTICATED','onRemoteChangeset','ERROR_IMAGE','randomUUID','send','objectType','ciphertext','_toggleOnline','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_transformRemoteChangesetByStateCache','JOINING','_clearLocalCache','CHANGESET_ACK','_socketMessageSubscription','_timeoutTimer','save\x20fail\x20reason\x20is\x20','SheetCollaborationEntity','HTTPRequest','_handlerCallback','SEND_CHANGESET_TIMEOUT','requestParams','_updateStatus','AES','collaboration-client.config','revision','encodeURIComponent','filter','unitId\x20is\x20not\x20found','AwaitingWithPendingState','Workbook','updateCollaborator','debug','onTransformRemoteChangesetByStateCache','Error\x20on\x20receiving\x20event','concatMap','concat','_throwTelemetryCollaborationNewChangeset','_onRecvEvent','toggleOnline','_univerInstanceService','FetchingMissState','takeUntil','ivSize','sid','SetSelectionsOperation','unitID','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_onRemoteACK','event$','CollaborationSessionService','message$','fromCharCode','Quantity','from','HttpImport','_stopTelemetryCollaborationNewChangeset','UPDATE_CURSOR','enableSingleActiveInstanceLock','compute','readInt32LE','random','create','_keyPriorReset','_snapshotService','override','_resendWithTimeout','HttpExport','getMemberID','SNAPSHOT_HAS_BEEN_REMOVED','range','clear','bind','image/png','msCrypto','_commentService','SOCKET_FAILED_RETRY','SnapshotService','setWaitCount','uploadFileServerUrl','[OfflineState]:\x20received\x20changeset.','clone','getRandomValues','removeMember','ICommandService','session.room-full','_commandService','toString','type','_clearCollaborationTimeoutTimer','/resources','isInternalEditorID','UniverCollaborationClientPlugin','/object','onSyncEditingCollabCursor','_sendHeartbeat','JOIN_ROOM_FAILED','enableOfflineEditing','_revisionService','IUndoRedoService','SessionStatus','_onLocalMutation','_iv','_undoRedoService','_ENC_XFORM_MODE','LIVESHARE_FETCH_OPERATIONS','getOwnPropertyDescriptor','IUniverInstanceService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_process','reqId','collaboration_new_changeset','ticket','formatter','reset','YUUMI_URL_COL_OUT_OF_RANGE','transformMutationsWithChangeset','UnitObject','requireSession','startsWith','mapDocumentTypeToUniverType','_scheduleCompleteTimestamp','createEncryptor','subscribe','permissionRejEvent','\x0aAfter:\x20','emitEvent','every','string','ILocalCacheService','CollaborationImageIoService','_getSendChangesetTimeout','ws://127.0.0.1:8000/universer-api/comb/connect','COMPRESS_MUTATION_SEND','_transformService','replace','next','c2Prime','InsertSheetMutation','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','memberID','USERS_ENTER','[CollaborationSession]','LICENSE_IMPORT_SIZE_EXCEEDED','SNAPSHOT_SERVER_URL_KEY','then','onTransformRemoteChangesetByIMECache','SnapshotServerOverHTTPService','_joinRoom','_collaborationPaused','_getSignURL','merge','onload','1632987GRATAf','JOIN_ROOM_NOT_EXISTS','_socketService','Hasher','@univerjs/telemetry','ISingleActiveUnitService','UNIVER_COLLABORATION_CLIENT_PLUGIN','ONLINE','[OfflineState]:\x20received\x20rejection.','kdf','_incrementRevisionNumber','copyFileMeta','getLatestCsReqIdBySid','CHANGESET_SHOULD_RETRY','lib','COLLAB_WEB_SOCKET_URL_KEY','380694MJIBUd','_xformMode','_sessionStatus$','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_initRequestHeader','_loadDoc','_exhaustRemoteChangesetQueue','CollaborationEvent','_doReset','onlyLocal','univer-pro.collaboration-client.single-active-unit-service','_collaborationTimeoutTimer','&source=','_type','/universer-api/snapshot','RichTextEditingMutation','isArray','CONNECTOR_DATA_TOO_LARGE','_append','leaveEvent','textEncoder','NO_OTHER_CLIENTS_EDITING','UnitEmbedded','disableLocalCache','image/bmp','ImageSourceType','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','HELLO','isPermissionRej','failed\x20to\x20apply\x20missed\x20changesets!','_onRemoteRejected','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_remoteChangesetQueue','YUUMI_SUBSCRIPTION_NOT_FOUND','_entityInit$','_parse','image/gif','LICENSE_EXPORT_SIZE_EXCEEDED','FETCH_MISSING','getCollabEntity$','_createHmacHelper','/role','session','AUTHZ_URL_KEY','b64DecodeUnicode','_compressMutationService','_onConflict','_telemetryService','registerHTTPInterceptor','close','_onRemoteChangeset','_rescheduleHeartbeat','EXCHANGE_SIGN_URL_SERVER_URL_KEY','@univerjs/docs','updatePermissionPoint','onCommandExecuted','createSocket','_data','_undoStacks','_createSocket','LIVESHARE_OPERATION','UserManagerService','_hasher','_listenToNetworkCondition','DEFAULT_FILE_NAME','_entities','_showConflictNotification','_awaitingChangeset','code','CollaborationUIEventId','_tryReconnect','_transformUndoredo','fromCollab','@univerjs-pro/license','_getSessionTicket','newCsEvent','MergeInterceptorFactory','SEND_CHANGESET_TIMEOUT_KEY','JOIN_ROOM_FULL','error','session.room-not-exists','getDeserializedSheetBlock','/universer-api/file/{fileID}/sign-url','init','state$','NEW_CHANGESETS','_scheduleCollaborationTimeoutTimer','key','isTransformMutationsWithChangesetSuccess','auth.needGotoLoginAlert','416586zNIvxV','_config','disposeWithMe','_onConnectionOpen','unsubscribe','UNIVER_SLIDE','_onConnectionFailed','_unitID','_sendHeartbeatTimer','_initCloseConn','body','push','objectID','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','&assign=','APPLY_DUPLICATED','[PendingState]:\x20unhandled\x20univer\x20type:\x20','WordArray','_snapshotServerService','dispose','OFFLINE','image/jpeg','CommandType','BlockCipher','slice','_oKey','MentionType','join','_telemetryInfo','sessionStatus','status','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','symbol','collabWebSocketUrl','localeService','collaborators','touchDependencies','[CollaborationState]:\x20apply\x20error!','UNIVER_DOC','finalize','APPLY_REVISION_CONFILICT','COMPRESS_MUTATION_APPLY','transformUndoRedo','algo','execute','readAsDataURL','listCollaborators','_http','cfg','collaboration-client.local-cache-service','_getUploadFileURL','ISocketService','SUBMIT_CHANGESET','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','ConflictState','_getUndoStack','_decreaseWaiting','resend','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_initMergeInterceptor','_unitInfo$','getRoom','getCurrentUser','setCurrentUser','size','_isPermissionRej','Could\x20not\x20dynamically\x20require\x20\x22','onRemoteRej','_socketReady','CollaborationSession','/object/','retryConnectingInterval','[DataLoaderService]','toLowerCase','[PendingState]:\x20received\x20acknowledgement.','executeCommand','3601002wxSMDq','IMentionIOService','INGEST','SUCCUSS','_createInitialStateImpl','hasOwnProperty','length','unknown','hasher','fetchMiss','_nDataBytes','getUnitId','_minBufferSize','authzUrl','LocalUndoRedoService','Decryptor','getPermissionPoint','apply','_status$','UNKNOWN_CODE','blockSize','_event$','1018500xikaif','createInstance','addHandlerCallback','_submitChangeset','_logService','getCurrentSelections','cmd','exports','Module','_socket$','_injector','505005EizTvi','NOT_FOUND','_collaborationUIEventService','_queuedRemoteChangesets','_retryConnectingTimer','open$','_updateLocalCache','take','/universer-api/uniscript','serializeCombRequest','HEARTBEAT','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','parseProtocolChangeset','_sessions','_toggleOffline','connection\x20error','baseRev','_collaborationSessionService','DocCollaborationEntity','_roomMembers','_clearRedo','AWAITING_WITH_PENDING','SUBMIT_CHANGESET_TIMEOUT','unit-cache-','NoPadding','PENDING','_onUserJoin','catch','_getCurrentRevision','search','getCurrentRevOfUnit','rxjs/operators','ALREADY_EXISTS','toggleOffline','MD5','mergeOverrideWithDependencies','not_collab','getAllRangePermissionPoint','responseType','_changesetSessionId','Latin1','buffer','has','CHANGESET_REJ','_waitForHeartbeatResponse','submit\x20changeset\x20error!','subType','IImageIoService','conflict','EvpKDF','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','/collaborator','ReplaySubject','getCollabEntity','json','closeSession','application/json','charAt','href','asObservable','[CollaborationEntity]','_handler','synced','floor','_onUserLeave','CollaborationEntity','prototype','[UniverCollaborationClientPlugin]','_cipher','BufferedBlockAlgorithm','encode','put','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','IDLE','_doFinalize','_onOffline','/universer-api/user/session-ticket','[CollaborationSessionService]','854770iiaIIP','pluginName','origin','onTransformSelections','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_startTelemetryCollaborationNewChangeset','CONFLICT','workbook','getGlobalObject','UNKNOWN_CMD','byteOffset','clearUndoRedo','DisposableCollection','changesets','getLocalCacheKey','onSendChangeset','encrypt','dispose$','\x0aCurrent:\x20','liveShareOperation','_replayCachedMutations','getTargetByPermissionId','_iKey','add','firstValueFrom','loadUnit','onRemoteRetry','getImage','PERMISSION_REJ','getTypeOfUnitDisposed$','MemberService','_prevBlock','_sheetTransformSelectionsService','_clearHeartbeatTimer','location','UNDEFINED','transformChangesets','CHANGESET_REVISION_CONFILICT','unitId','saveSheetBlock','SheetTransformSelectionsService','encryptBlock','Subject','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','offline','_redoStacks','getInterceptPoints','downloadEndpointUrl','getAllWorksheetPermissionPoint','awaiting','equals'];_0x552f=function(){return _0x4b8859;};return _0x552f();}const pi=typeof crypto<'u'&&crypto[_0xbef4ca(0x2a4)]&&crypto[_0xbef4ca(0x2a4)][_0xbef4ca(0x2e8)](crypto),ze={'randomUUID':pi};function gi(_0x212989,_0x551b79,_0x8a996f){var _0x3d6efb=_0xbef4ca;if(ze[_0x3d6efb(0x2a4)]&&!_0x551b79&&!_0x212989)return ze[_0x3d6efb(0x2a4)]();_0x212989=_0x212989||{};const _0x405787=_0x212989[_0x3d6efb(0x2dd)]||(_0x212989[_0x3d6efb(0x1c1)]||Si)();return _0x405787[0x6]=_0x405787[0x6]&0xf|0x40,_0x405787[0x8]=_0x405787[0x8]&0x3f|0x80,vi(_0x405787);}const J=a['createIdentifier'](_0xbef4ca(0x3d4));function mi(_0xd10b06){var _0x259676=_0xbef4ca;return _0x259676(0x427)+_0xd10b06;}var Ii=Object[_0xbef4ca(0x1b1)],Ei=Object[_0xbef4ca(0x30a)],Ci=(_0x42a735,_0x1d6eb5,_0x1b9b46,_0x59b17b)=>{var _0x16c5e7=_0xbef4ca;for(var _0x4209ec=_0x59b17b>0x1?void 0x0:_0x59b17b?Ei(_0x1d6eb5,_0x1b9b46):_0x1d6eb5,_0x15eda0=_0x42a735[_0x16c5e7(0x3f5)]-0x1,_0x4c7233;_0x15eda0>=0x0;_0x15eda0--)(_0x4c7233=_0x42a735[_0x15eda0])&&(_0x4209ec=(_0x59b17b?_0x4c7233(_0x1d6eb5,_0x1b9b46,_0x4209ec):_0x4c7233(_0x4209ec))||_0x4209ec);return _0x59b17b&&_0x4209ec&&Ii(_0x1d6eb5,_0x1b9b46,_0x4209ec),_0x4209ec;},De=(_0x3b167e,_0x1f839c)=>(_0x5ecf59,_0x5dfec0)=>_0x1f839c(_0x5ecf59,_0x5dfec0,_0x3b167e);function Ti(_0x4209f9){var _0x4dd372=_0xbef4ca;const {unitID:_0x525030,mutations:_0x25e5b8}=_0x4209f9;return{'unitId':_0x525030,'subUnitId':_0x25e5b8[0x0][_0x4dd372(0x492)]['subUnitId']};}exports[_0xbef4ca(0x486)]=class{constructor(_0x217776,_0x4d72c9,_0x2bd736){var _0xb935f5=_0xbef4ca;this[_0xb935f5(0x40f)]=_0x217776,this['_transformService']=_0x4d72c9,this[_0xb935f5(0x4a2)]=_0x2bd736;}[_0xbef4ca(0x21c)](_0x3a7b20){var _0x5b3061=_0xbef4ca,_0x5785d6,_0x1c4e98,_0x49cbc0,_0x4cdd57;const _0x300e80=this['_injector']['get'](W[_0x5b3061(0x1e2)]),{unitId:_0x36c46c,subUnitId:_0xee52c0}=Ti(_0x3a7b20),_0x11d6a2=_0x300e80==null?void 0x0:_0x300e80['getWorkbookSelections'](_0x36c46c)[_0x5b3061(0x40a)](),_0x3221aa=(_0x1c4e98=(_0x5785d6=this[_0x5b3061(0x4a2)][_0x5b3061(0x26a)](_0x36c46c))==null?void 0x0:_0x5785d6[_0x5b3061(0x292)]())==null?void 0x0:_0x1c4e98['getSheetId']();if(_0x11d6a2[_0x5b3061(0x3f5)]===0x0||!_0x36c46c||!_0xee52c0)return;const _0x44e1ed=[{'id':W[_0x5b3061(0x2cd)]['id'],'params':{'unitId':_0x36c46c,'subUnitId':_0x3221aa,'selections':a['Tools']['deepClone'](_0x11d6a2)}}],_0x36740f=this[_0x5b3061(0x326)][_0x5b3061(0x314)](_0x3a7b20,_0x44e1ed);if(!m[_0x5b3061(0x3a1)](_0x36740f))throw _0x36740f['error'];const _0x1f4d8a=(_0x4cdd57=(_0x49cbc0=_0x36740f[_0x5b3061(0x235)][0x0])==null?void 0x0:_0x49cbc0['params'])==null?void 0x0:_0x4cdd57[_0x5b3061(0x1c5)];if(Array[_0x5b3061(0x359)](_0x1f4d8a)&&_0x1f4d8a['length']){if(_0x1f4d8a[_0x5b3061(0x3f5)]===_0x44e1ed[0x0][_0x5b3061(0x492)]['selections']['length']&&_0x1f4d8a[_0x5b3061(0x31f)]((_0x1f51c3,_0x165c01)=>a['Rectangle'][_0x5b3061(0x490)](_0x1f51c3[_0x5b3061(0x2e6)],_0x44e1ed[0x0][_0x5b3061(0x492)][_0x5b3061(0x1c5)][_0x165c01][_0x5b3061(0x2e6)])))return;this[_0x5b3061(0x40f)][_0x5b3061(0x1b9)](a[_0x5b3061(0x2f4)])[_0x5b3061(0x3ee)](W[_0x5b3061(0x2cd)]['id'],{'unitId':_0x36c46c,'subUnitId':_0x3221aa,'selections':_0x1f4d8a});}}},exports[_0xbef4ca(0x486)]=Ci([De(0x0,a[_0xbef4ca(0x4b9)](a[_0xbef4ca(0x18b)])),De(0x1,m['ITransformService']),De(0x2,a['IUniverInstanceService'])],exports[_0xbef4ca(0x486)]);const ve=a[_0xbef4ca(0x1c2)](_0xbef4ca(0x353));var Fe=(_0x3c3db0=>(_0x3c3db0[_0x3c3db0['NO_OTHER_CLIENTS_EDITING']=0x0]=_0xbef4ca(0x35e),_0x3c3db0[_0x3c3db0[_0xbef4ca(0x242)]=0x1]=_0xbef4ca(0x242),_0x3c3db0))(Fe||{});const bi=new Set([W[_0xbef4ca(0x32a)]['id']]);function Je(_0x20ecb1,_0x5f1229,_0x422536,_0x3766a2,_0x1c3942){var _0x4b6829=_0xbef4ca,_0x58807c,_0x47d43a,_0x4b8dba,_0xdbe5c5;const _0x368c31=[];for(const _0x53d9b2 of _0x20ecb1)if(bi['has'](_0x53d9b2['id'])){if(_0x368c31[_0x4b6829(0x3f5)]>0x0)break;_0x368c31['push'](_0x53d9b2);break;}else _0x368c31[_0x4b6829(0x3ae)](_0x53d9b2);const _0x204da7=(_0x47d43a=(_0x58807c=_0x1c3942['getCurrentUser']())==null?void 0x0:_0x58807c[_0x4b6829(0x239)])!=null?_0x47d43a:_0x4b6829(0x3f6),_0x379526=(_0xdbe5c5=(_0x4b8dba=_0x1c3942[_0x4b6829(0x3e1)]())==null?void 0x0:_0x4b8dba[_0x4b6829(0x32c)])!=null?_0xdbe5c5:_0x4b6829(0x3f6);return{'changeset':{'unitID':_0x5f1229,'type':m[_0x4b6829(0x318)](_0x422536['getUnitType'](_0x5f1229)),'baseRev':_0x3766a2[_0x4b6829(0x42e)](_0x5f1229),'revision':0x0,'userID':_0x204da7,'memberID':_0x379526,'mutations':_0x368c31},'pendingMutations':_0x20ecb1[_0x4b6829(0x3bb)](_0x368c31[_0x4b6829(0x3f5)])};}function Ri(_0x3280d6,_0x1c8353,_0x2a33ab,_0x30126c,_0x2bd7ad){var _0x4ba41c=_0xbef4ca,_0x335377,_0x26c4c6,_0x1c3220,_0x28620f;const _0x561b9f=[_0x3280d6[_0x4ba41c(0x1a9)]((_0x47a572,_0x38fe11)=>{var _0x29be3e=_0x4ba41c,_0x3ca8a0;const {id:_0x2e4339}=_0x47a572,{id:_0x3e6c42,type:_0x4b3872}=_0x38fe11,_0x2ec3d8=(_0x3ca8a0=_0x47a572[_0x29be3e(0x492)])!=null?_0x3ca8a0:{'actions':null},_0x4103c2=_0x38fe11[_0x29be3e(0x492)];if(_0x2e4339&&_0x2e4339!==_0x3e6c42)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x2e4339+_0x29be3e(0x275)+_0x3e6c42+'.');return{..._0x47a572,'id':_0x3e6c42,'type':_0x4b3872,'params':{'unitId':_0x4103c2[_0x29be3e(0x484)],'textRanges':_0x4103c2[_0x29be3e(0x1de)],'actions':a[_0x29be3e(0x212)][_0x29be3e(0x1f7)](_0x2ec3d8[_0x29be3e(0x25c)],_0x4103c2[_0x29be3e(0x25c)])}};},{})],_0x5ab150=(_0x26c4c6=(_0x335377=_0x2bd7ad['getCurrentUser']())==null?void 0x0:_0x335377['userID'])!=null?_0x26c4c6:_0x4ba41c(0x3f6),_0x4c58ad=(_0x28620f=(_0x1c3220=_0x2bd7ad['getCurrentUser']())==null?void 0x0:_0x1c3220[_0x4ba41c(0x32c)])!=null?_0x28620f:'unknown';return{'changeset':{'unitID':_0x1c8353,'type':m['mapDocumentTypeToUniverType'](_0x2a33ab[_0x4ba41c(0x237)](_0x1c8353)),'baseRev':_0x30126c['getCurrentRevOfUnit'](_0x1c8353),'revision':0x0,'userID':_0x5ab150,'memberID':_0x4c58ad,'mutations':_0x561b9f},'pendingMutations':[]};}function Pt(_0x285482,_0x48e618){var _0x408b8f=_0xbef4ca;const _0x3946ba=new H[(_0x408b8f(0x444))](0x1);return setTimeout(()=>_0x3946ba[_0x408b8f(0x328)](_0x48e618),_0x285482),_0x3946ba[_0x408b8f(0x44b)]()[_0x408b8f(0x4b5)](H['take'](0x1));}const Oi={'id':W[_0xbef4ca(0x177)]['id'],'type':a[_0xbef4ca(0x3b9)][_0xbef4ca(0x1f4)],'params':{}};var yi=Object['defineProperty'],Pi=Object[_0xbef4ca(0x30a)],le=(_0xfc8e35,_0x563798,_0x5b2731,_0x78703e)=>{var _0x4e279d=_0xbef4ca;for(var _0x5e78be=_0x78703e>0x1?void 0x0:_0x78703e?Pi(_0x563798,_0x5b2731):_0x563798,_0x12418c=_0xfc8e35[_0x4e279d(0x3f5)]-0x1,_0x3bdfe4;_0x12418c>=0x0;_0x12418c--)(_0x3bdfe4=_0xfc8e35[_0x12418c])&&(_0x5e78be=(_0x78703e?_0x3bdfe4(_0x563798,_0x5b2731,_0x5e78be):_0x3bdfe4(_0x5e78be))||_0x5e78be);return _0x78703e&&_0x5e78be&&yi(_0x563798,_0x5b2731,_0x5e78be),_0x5e78be;},A=(_0x43ba36,_0x47e372)=>(_0x58779d,_0x3a1964)=>_0x47e372(_0x58779d,_0x3a1964,_0x43ba36),We=(_0x12b8b3=>(_0x12b8b3[_0xbef4ca(0x4b8)]=_0xbef4ca(0x434),_0x12b8b3[_0xbef4ca(0x19d)]=_0xbef4ca(0x44e),_0x12b8b3[_0xbef4ca(0x429)]='pending',_0x12b8b3[_0xbef4ca(0x256)]='awaiting',_0x12b8b3[_0xbef4ca(0x425)]='awaiting_with_pending',_0x12b8b3[_0xbef4ca(0x28e)]='fetch_missing',_0x12b8b3[_0xbef4ca(0x464)]='conflict',_0x12b8b3[_0xbef4ca(0x3b7)]=_0xbef4ca(0x48a),_0x12b8b3))(We||{});const Nt=0xea60;class _e{constructor(_0x1ae446,_0x455bd3,_0x495d87,_0x35dd1d,_0x2b7426,_0x4030f8,_0xfa495c,_0x910dba,_0x2ce17c){var _0x24f8ac=_0xbef4ca;D(this,'_awaitingChangeset',null),D(this,_0x24f8ac(0x21b),[]),(this[_0x24f8ac(0x2ce)]=_0x1ae446,this[_0x24f8ac(0x2f8)]=_0x455bd3,this['_handler']=_0x2b7426,this[_0x24f8ac(0x2f6)]=_0x4030f8,this[_0x24f8ac(0x307)]=_0xfa495c,this[_0x24f8ac(0x302)]=_0x910dba,this['_localCacheService']=_0x2ce17c,this[_0x24f8ac(0x38c)]=_0x495d87,this['_pendingMutations']=_0x35dd1d);}['_checkMissing'](_0x240180){var _0x50e329=_0xbef4ca;const _0x2cac22=this['_revisionService'][_0x50e329(0x42e)](this['unitID']);return _0x240180['revision']>_0x2cac22+0x1?(this[_0x50e329(0x44d)]['onMissingChangesets']({'from':_0x2cac22,'to':_0x240180[_0x50e329(0x2b9)]-0x1}),!0x0):!0x1;}[_0xbef4ca(0x390)](_0x20d0b9){var _0x223c01=_0xbef4ca;this['_undoRedoService']['transformUndoRedo'](this[_0x223c01(0x2ce)],_0x20d0b9);}[_0xbef4ca(0x195)](_0x216306){var _0x23d52a=_0xbef4ca,_0x5402e7,_0x13657f;(_0x13657f=(_0x5402e7=this[_0x23d52a(0x44d)])[_0x23d52a(0x461)])==null||_0x13657f[_0x23d52a(0x24b)](_0x5402e7,_0x216306);}[_0xbef4ca(0x222)](_0x575ee0){var _0x879ea7=_0xbef4ca,_0x3e5606,_0xc152d2;return(_0xc152d2=(_0x3e5606=this['_handler'])[_0x879ea7(0x1df)])==null?void 0x0:_0xc152d2[_0x879ea7(0x24b)](_0x3e5606,_0x575ee0);}['_transformStateCache'](_0x4167ce){var _0x1acbca=_0xbef4ca,_0x2d4e98,_0x2573b;return(_0x2573b=(_0x2d4e98=this[_0x1acbca(0x44d)])['onTransformState'])==null?void 0x0:_0x2573b[_0x1acbca(0x24b)](_0x2d4e98,_0x4167ce);}[_0xbef4ca(0x201)](_0x5a6ae6){var _0x47923e=_0xbef4ca,_0x1d96c5,_0x246794,_0x270ba8;return(_0x270ba8=(_0x246794=(_0x1d96c5=this[_0x47923e(0x44d)])[_0x47923e(0x332)])==null?void 0x0:_0x246794[_0x47923e(0x24b)](_0x1d96c5,_0x5a6ae6))!=null?_0x270ba8:_0x5a6ae6;}[_0xbef4ca(0x2aa)](_0x43290f){var _0x2ae7f4=_0xbef4ca,_0xe89f26,_0x154bf8,_0x12dd11;return(_0x12dd11=(_0x154bf8=(_0xe89f26=this[_0x2ae7f4(0x44d)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x154bf8[_0x2ae7f4(0x24b)](_0xe89f26,_0x43290f))!=null?_0x12dd11:_0x43290f;}[_0xbef4ca(0x1fe)](_0xfa0f49){var _0x105b43=_0xbef4ca,_0x4cc4c8,_0x1c29f3;if(this[_0x105b43(0x2f8)]===Z[_0x105b43(0x3c9)]){const {unitID:_0x3805c3,mutations:_0x59b0bc,memberID:_0x2274c1}=_0xfa0f49,_0x3a2570=_0x59b0bc[0x0][_0x105b43(0x492)][_0x105b43(0x1de)];Array['isArray'](_0x3a2570)&&_0x3a2570['length']>0x0&&((_0x1c29f3=(_0x4cc4c8=this[_0x105b43(0x44d)])[_0x105b43(0x2fe)])==null||_0x1c29f3['call'](_0x4cc4c8,{'unitID':_0x3805c3,'memberID':_0x2274c1,'textRanges':_0x3a2570}));}}['_updateLocalCache'](){var _0x3fd3e1=_0xbef4ca,_0x45655d;(_0x45655d=this[_0x3fd3e1(0x176)])==null||_0x45655d[_0x3fd3e1(0x1c9)](this['unitID'],this[_0x3fd3e1(0x2f8)],this[_0x3fd3e1(0x38c)],this[_0x3fd3e1(0x21b)]);}['_getCurrentRevision'](){var _0x10b95b=_0xbef4ca;return this[_0x10b95b(0x302)][_0x10b95b(0x42e)](this[_0x10b95b(0x2ce)]);}['_incrementRevisionNumber'](){var _0x18e3c3=_0xbef4ca;this[_0x18e3c3(0x302)]['incrementRevOfUnit'](this[_0x18e3c3(0x2ce)]);}[_0xbef4ca(0x4f9)](_0x56621b){var _0x3095fb=_0xbef4ca,_0xa62786;let _0x2a9d2d=this['_transformRemoteChangesetByIMECache'](_0x56621b);_0x2a9d2d=this[_0x3095fb(0x2aa)](_0x2a9d2d);const _0x5d04c1=a[_0x3095fb(0x263)](_0x2a9d2d[_0x3095fb(0x4a9)],this['_commandService'],{'fromCollab':!0x0});if(!_0x5d04c1[_0x3095fb(0x4e7)])throw _0x5d04c1['error']instanceof Error?_0x5d04c1[_0x3095fb(0x398)]:new Error((_0xa62786=_0x5d04c1[_0x3095fb(0x398)])!=null?_0xa62786:_0x3095fb(0x3c8));this[_0x3095fb(0x222)](_0x2a9d2d),this['_transformStateCache'](_0x2a9d2d),this['_transformUndoredo'](_0x56621b),this[_0x3095fb(0x195)](_0x2a9d2d),this[_0x3095fb(0x1fe)](_0x2a9d2d),this[_0x3095fb(0x343)]();}}exports[_0xbef4ca(0x4d5)]=class extends _e{constructor(_0x3f5e99,_0x1022e5,_0x10c0aa,_0x4c23a3,_0x530252,_0x3dcb53,_0x5c5927,_0x51224f,_0x1e47c8,_0x2898a6){var _0x35622d=_0xbef4ca;super(_0x3f5e99,_0x1022e5,null,[],_0x10c0aa,_0x5c5927,_0x3dcb53,_0x4c23a3,_0x2898a6),D(this,'status',_0x35622d(0x44e)),(this[_0x35622d(0x40f)]=_0x530252,this[_0x35622d(0x409)]=_0x51224f,this[_0x35622d(0x326)]=_0x1e47c8,this[_0x35622d(0x4ca)]=_0x2898a6);}['appendMutation'](_0x3eb24d){var _0x4fce38=_0xbef4ca;const _0xe9097f=this[_0x4fce38(0x40f)][_0x4fce38(0x406)](exports[_0x4fce38(0x4a5)],this['unitID'],this[_0x4fce38(0x2f8)],[_0x3eb24d],this[_0x4fce38(0x44d)]);return _0xe9097f[_0x4fce38(0x1b6)](),_0xe9097f['_updateLocalCache'](),_0xe9097f;}[_0xbef4ca(0x2a2)](_0x559672){var _0x4e62db=_0xbef4ca;if(this[_0x4e62db(0x4e6)](_0x559672))return this[_0x4e62db(0x40f)]['createInstance'](exports[_0x4e62db(0x2c9)],this['unitID'],this['type'],null,[],null,[_0x559672],this[_0x4e62db(0x44d)]);try{const _0x2648cd=this['_transformService'][_0x4e62db(0x314)](_0x559672,[Oi]);if(m[_0x4e62db(0x3a1)](_0x2648cd)){const {c1Prime:_0xe20cbe}=_0x2648cd;return this['_executeRemoteChangeset'](_0xe20cbe),this;}throw _0x2648cd[_0x4e62db(0x398)];}catch(_0x27ea2b){return this[_0x4e62db(0x409)][_0x4e62db(0x398)](_0x27ea2b),this[_0x4e62db(0x377)](!0x1);}}[_0xbef4ca(0x377)](_0x596063){var _0x480313=_0xbef4ca;return this[_0x480313(0x40f)]['createInstance'](exports['ConflictState'],this[_0x480313(0x2ce)],this[_0x480313(0x2f8)],null,[],this[_0x480313(0x44d)],_0x596063);}[_0xbef4ca(0x4c9)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0xbef4ca(0x431)](){var _0x2316a4=_0xbef4ca;return this[_0x2316a4(0x40f)][_0x2316a4(0x406)](exports['OfflineState'],this[_0x2316a4(0x2ce)],this[_0x2316a4(0x2f8)],null,[],this[_0x2316a4(0x44d)]);}[_0xbef4ca(0x2c7)](){return this;}[_0xbef4ca(0x3dc)](){var _0x292d51=_0xbef4ca;throw new Error(_0x292d51(0x34c));}[_0xbef4ca(0x3f8)](){var _0x5c2445=_0xbef4ca;const _0x39208e=this['_revisionService'][_0x5c2445(0x42e)](this[_0x5c2445(0x2ce)]);return this['_handler'][_0x5c2445(0x20e)]({'from':_0x39208e,'to':0x0}),this[_0x5c2445(0x40f)][_0x5c2445(0x406)](exports[_0x5c2445(0x2c9)],this['unitID'],this[_0x5c2445(0x2f8)],null,[],null,[],this['_handler']);}},exports[_0xbef4ca(0x4d5)]=le([A(0x3,a[_0xbef4ca(0x4b9)](m['RevisionService'])),A(0x4,a['Inject'](a[_0xbef4ca(0x18b)])),A(0x5,a[_0xbef4ca(0x303)]),A(0x6,a['ICommandService']),A(0x7,a[_0xbef4ca(0x4ab)]),A(0x8,m[_0xbef4ca(0x26e)]),A(0x9,a[_0xbef4ca(0x22b)](J))],exports[_0xbef4ca(0x4d5)]),exports[_0xbef4ca(0x4a5)]=class extends _e{constructor(_0x386929,_0x556453,_0x11d184,_0x492351,_0x3d4b8f,_0x3a2c33,_0x10d531,_0x794582,_0x20707c,_0x44c885,_0x13d7a4,_0x53b52e,_0x1f1263,_0x4f50f0){var _0x2d647f=_0xbef4ca;super(_0x386929,_0x556453,null,_0x11d184,_0x492351,_0x20707c,_0x1f1263,_0x3a2c33,_0x4f50f0),D(this,_0x2d647f(0x3c1),'pending'),D(this,'_scheduleCompleteTimestamp',null),D(this,_0x2d647f(0x1d4),null),(this['_injector']=_0x3d4b8f,this['_memberService']=_0x10d531,this[_0x2d647f(0x409)]=_0x794582,this[_0x2d647f(0x1f8)]=_0x44c885,this[_0x2d647f(0x326)]=_0x13d7a4,this[_0x2d647f(0x2c8)]=_0x53b52e);}[_0xbef4ca(0x23e)](_0x41b815){var _0x43c6d0=_0xbef4ca;return this[_0x43c6d0(0x21b)][_0x43c6d0(0x3ae)](_0x41b815),this[_0x43c6d0(0x416)](),this;}[_0xbef4ca(0x2a2)](_0x4dcf56){var _0x24fd26=_0xbef4ca;if(this[_0x24fd26(0x4e6)](_0x4dcf56))return this[_0x24fd26(0x4da)](),this[_0x24fd26(0x40f)][_0x24fd26(0x406)](exports[_0x24fd26(0x2c9)],this[_0x24fd26(0x2ce)],this[_0x24fd26(0x2f8)],null,this[_0x24fd26(0x21b)],null,[_0x4dcf56],this['_handler']);try{const _0x3e0a1a=this[_0x24fd26(0x326)][_0x24fd26(0x314)](_0x4dcf56,this[_0x24fd26(0x21b)]);if(m[_0x24fd26(0x3a1)](_0x3e0a1a)){const {c1Prime:_0x2032fd,m2Prime:_0x484107}=_0x3e0a1a;this[_0x24fd26(0x4f9)](_0x2032fd);const _0x4f8bfe=this['_injector']['createInstance'](exports['PendingState'],this[_0x24fd26(0x2ce)],this[_0x24fd26(0x2f8)],_0x484107,this[_0x24fd26(0x44d)]);this[_0x24fd26(0x4da)]();const _0x56970d=new Date()[_0x24fd26(0x1bd)](),_0xce6d3e=this[_0x24fd26(0x319)]?Math[_0x24fd26(0x4ae)](this[_0x24fd26(0x319)]-_0x56970d,0x0):this[_0x24fd26(0x323)]();return _0x4f8bfe[_0x24fd26(0x1b6)](_0xce6d3e),_0x4f8bfe;}throw _0x3e0a1a[_0x24fd26(0x398)];}catch(_0x49d001){return this[_0x24fd26(0x409)][_0x24fd26(0x398)](_0x49d001),this[_0x24fd26(0x377)](!0x1);}}[_0xbef4ca(0x4c9)](){var _0x568d61=_0xbef4ca;throw new Error(_0x568d61(0x3ed));}[_0xbef4ca(0x3e6)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0xbef4ca(0x478)](){return this;}['toggleOffline'](){var _0x3e68c8=_0xbef4ca;return this['_clearScheduledTask'](),this[_0x3e68c8(0x40f)]['createInstance'](exports[_0x3e68c8(0x290)],this[_0x3e68c8(0x2ce)],this[_0x3e68c8(0x2f8)],null,this[_0x3e68c8(0x21b)],this['_handler']);}[_0xbef4ca(0x2c7)](){return this;}['_schedule'](_0x3e72ae){var _0x13aa5c=_0xbef4ca;const _0x170b85=_0x3e72ae!=null?_0x3e72ae:this[_0x13aa5c(0x323)]();this[_0x13aa5c(0x319)]=new Date()[_0x13aa5c(0x1bd)]()+_0x170b85,this['_sendingTimer']=setTimeout(()=>{var _0x3109a5=_0x13aa5c;this[_0x3109a5(0x4da)]();let _0xd93d8b=null;switch(this[_0x3109a5(0x2f8)]){case Z['UNIVER_SHEET']:{_0xd93d8b=Je(this[_0x3109a5(0x21b)],this[_0x3109a5(0x2ce)],this['_univerInstanceService'],this['_revisionService'],this[_0x3109a5(0x1b3)]);break;}case Z[_0x3109a5(0x3c9)]:{this[_0x3109a5(0x21b)][_0x3109a5(0x31f)](_0x35ae89=>_0x35ae89['id']===dt[_0x3109a5(0x358)]['id'])?_0xd93d8b=Ri(this[_0x3109a5(0x21b)],this[_0x3109a5(0x2ce)],this['_univerInstanceService'],this[_0x3109a5(0x302)],this[_0x3109a5(0x1b3)]):_0xd93d8b=Je(this[_0x3109a5(0x21b)],this['unitID'],this[_0x3109a5(0x2c8)],this[_0x3109a5(0x302)],this[_0x3109a5(0x1b3)]);break;}default:throw new Error(_0x3109a5(0x3b3)+this[_0x3109a5(0x2f8)]+'\x20in\x20_schedule.');}const {changeset:_0x3c3d24,pendingMutations:_0x2fed79}=_0xd93d8b;this['_handler'][_0x3109a5(0x46d)](_0x3c3d24);const _0x33ebb3=_0x2fed79['length']?this['_injector']['createInstance'](exports[_0x3109a5(0x2bd)],this[_0x3109a5(0x2ce)],this[_0x3109a5(0x2f8)],_0x3c3d24,_0x2fed79,this[_0x3109a5(0x44d)],void 0x0):this[_0x3109a5(0x40f)][_0x3109a5(0x406)](exports['AwaitingState'],this[_0x3109a5(0x2ce)],this[_0x3109a5(0x2f8)],_0x3c3d24,this[_0x3109a5(0x44d)]);_0x33ebb3[_0x3109a5(0x416)](),this['_handler'][_0x3109a5(0x4a8)](this,_0x33ebb3);},_0x170b85);}[_0xbef4ca(0x323)](){var _0x10f2ea=_0xbef4ca,_0x4e9e85;const _0x106ad1=this[_0x10f2ea(0x1f8)][_0x10f2ea(0x29b)](q);return(_0x4e9e85=_0x106ad1==null?void 0x0:_0x106ad1['sendChangesetTimeout'])!=null?_0x4e9e85:Bt;}[_0xbef4ca(0x3dc)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xbef4ca(0x4da)](){var _0x421d79=_0xbef4ca;this[_0x421d79(0x1d4)]!=null&&(clearTimeout(this[_0x421d79(0x1d4)]),this[_0x421d79(0x1d4)]=null);}[_0xbef4ca(0x377)](_0x10eabf){var _0xb6d2be=_0xbef4ca;return this[_0xb6d2be(0x4da)](),this[_0xb6d2be(0x40f)][_0xb6d2be(0x406)](exports['ConflictState'],this['unitID'],this[_0xb6d2be(0x2f8)],null,this[_0xb6d2be(0x21b)],this[_0xb6d2be(0x44d)],_0x10eabf);}},exports[_0xbef4ca(0x4a5)]=le([A(0x4,a[_0xbef4ca(0x4b9)](a[_0xbef4ca(0x18b)])),A(0x5,a['Inject'](m[_0xbef4ca(0x184)])),A(0x6,a[_0xbef4ca(0x4b9)](exports[_0xbef4ca(0x47c)])),A(0x7,a[_0xbef4ca(0x4ab)]),A(0x8,a[_0xbef4ca(0x2f4)]),A(0x9,a[_0xbef4ca(0x173)]),A(0xa,m[_0xbef4ca(0x26e)]),A(0xb,a[_0xbef4ca(0x30b)]),A(0xc,a['IUndoRedoService']),A(0xd,a[_0xbef4ca(0x22b)](J))],exports[_0xbef4ca(0x4a5)]),exports[_0xbef4ca(0x1f1)]=class extends _e{constructor(_0x109faf,_0x5584df,_0x29617e,_0x51fe22,_0x28cbe0,_0x4c8a44,_0x352bfc,_0x3a6093,_0x485b3c,_0x407cc1,_0xf1c61f){var _0x33dc59=_0xbef4ca;super(_0x109faf,_0x5584df,_0x29617e,[],_0x51fe22,_0x352bfc,_0x407cc1,_0x4c8a44,_0xf1c61f),D(this,_0x33dc59(0x3c1),_0x33dc59(0x48f)),D(this,_0x33dc59(0x4f7),0x0),D(this,_0x33dc59(0x1aa)),D(this,_0x33dc59(0x285)),(this[_0x33dc59(0x40f)]=_0x28cbe0,this[_0x33dc59(0x409)]=_0x3a6093,this[_0x33dc59(0x326)]=_0x485b3c);}[_0xbef4ca(0x23e)](_0x566838){var _0x58c985=_0xbef4ca;this[_0x58c985(0x4da)]();const _0x2e4e6a=this[_0x58c985(0x40f)][_0x58c985(0x406)](exports[_0x58c985(0x2bd)],this[_0x58c985(0x2ce)],this[_0x58c985(0x2f8)],this['_awaitingChangeset'],[_0x566838],this[_0x58c985(0x44d)],this[_0x58c985(0x1aa)]);return _0x2e4e6a[_0x58c985(0x416)](),_0x2e4e6a;}[_0xbef4ca(0x2a2)](_0x1d0261){var _0x376c4a=_0xbef4ca;if(this[_0x376c4a(0x4e6)](_0x1d0261))return this[_0x376c4a(0x4da)](),this[_0x376c4a(0x40f)][_0x376c4a(0x406)](exports['FetchingMissState'],this[_0x376c4a(0x2ce)],this[_0x376c4a(0x2f8)],this['_awaitingChangeset'],[],null,[_0x1d0261],this[_0x376c4a(0x44d)]);try{const _0x32101a=this[_0x376c4a(0x326)]['transformChangesets']([_0x1d0261],[this[_0x376c4a(0x38c)]],!0x1);if(m['isTransformChangesetsSuccess'](_0x32101a)){const {c1Prime:_0x528d2f,c2Prime:_0x22d627}=_0x32101a;this[_0x376c4a(0x4f9)](_0x528d2f[0x0]),_0x22d627[0x0]['baseRev']=this[_0x376c4a(0x42c)](),this[_0x376c4a(0x4da)]();const _0x5e6c29=this[_0x376c4a(0x40f)][_0x376c4a(0x406)](exports[_0x376c4a(0x1f1)],this[_0x376c4a(0x2ce)],this[_0x376c4a(0x2f8)],_0x22d627[0x0],this[_0x376c4a(0x44d)]);return _0x5e6c29[_0x376c4a(0x416)](),_0x5e6c29;}return this[_0x376c4a(0x377)](!0x1);}catch(_0x7cded0){return this[_0x376c4a(0x409)][_0x376c4a(0x398)](_0x7cded0),this[_0x376c4a(0x377)](!0x1);}}[_0xbef4ca(0x4c9)](_0x1c2779){var _0x3512fe=_0xbef4ca;this[_0x3512fe(0x4da)]();const _0x1873d5=this['_revisionService'][_0x3512fe(0x42e)](this[_0x3512fe(0x2ce)]);if(_0x1c2779[_0x3512fe(0x2b9)]<_0x1873d5-0x1)return this;if(this[_0x3512fe(0x4e6)](_0x1c2779))return this['_injector'][_0x3512fe(0x406)](exports[_0x3512fe(0x2c9)],this['unitID'],this['type'],null,[],this[_0x3512fe(0x38c)],[],this[_0x3512fe(0x44d)]);this[_0x3512fe(0x343)]();const _0xda13ce=this['_injector'][_0x3512fe(0x406)](exports['SyncedState'],this[_0x3512fe(0x2ce)],this[_0x3512fe(0x2f8)],this[_0x3512fe(0x44d)]);return _0xda13ce[_0x3512fe(0x416)](),_0xda13ce;}['onRemoteRej'](_0x6c08b6){var _0x53bb6b=_0xbef4ca;return this[_0x53bb6b(0x377)](!!(_0x6c08b6!=null&&_0x6c08b6['isPermissionRej']));}[_0xbef4ca(0x478)](_0x576eb9){var _0x4bc2ce=_0xbef4ca;return this['_resendTimeout']>Nt?this[_0x4bc2ce(0x431)]():(this['_resendTimer']=Pt(this[_0x4bc2ce(0x4f7)],{'timeout':this['_resendTimeout'],'reqId':_0x576eb9[_0x4bc2ce(0x30e)]}),this['_sender']=this[_0x4bc2ce(0x1aa)]['subscribe'](({reqId:_0x5a78fc,timeout:_0x321a49})=>{this['_resendWithTimeout'](_0x5a78fc,_0x321a49);}),this);}[_0xbef4ca(0x431)](){var _0x467fd5=_0xbef4ca;return this['_clearScheduledTask'](),this[_0x467fd5(0x40f)][_0x467fd5(0x406)](exports[_0x467fd5(0x290)],this['unitID'],this[_0x467fd5(0x2f8)],this[_0x467fd5(0x38c)],[],this[_0x467fd5(0x44d)]);}['toggleOnline'](){return this;}[_0xbef4ca(0x3dc)](){var _0x4bdc66=_0xbef4ca;this[_0x4bdc66(0x44d)][_0x4bdc66(0x46d)](this[_0x4bdc66(0x38c)]);}[_0xbef4ca(0x377)](_0x1f0f65){var _0x3b3c5e=_0xbef4ca;return this[_0x3b3c5e(0x4da)](),this[_0x3b3c5e(0x40f)][_0x3b3c5e(0x406)](exports[_0x3b3c5e(0x3d9)],this[_0x3b3c5e(0x2ce)],this[_0x3b3c5e(0x2f8)],this[_0x3b3c5e(0x38c)],[],this[_0x3b3c5e(0x44d)],_0x1f0f65);}[_0xbef4ca(0x2e2)](_0x4b672b,_0x56263c){var _0x359307=_0xbef4ca,_0x1d096d;_0x4b672b===((_0x1d096d=this[_0x359307(0x38c)])==null?void 0x0:_0x1d096d[_0x359307(0x30e)])&&(this[_0x359307(0x3dc)](),this[_0x359307(0x4f7)]=_0x56263c===0x0?0x3e8:_0x56263c*0x2);}[_0xbef4ca(0x4da)](){var _0x422848=_0xbef4ca,_0x22926d;(_0x22926d=this['_sender'])==null||_0x22926d['unsubscribe'](),this[_0x422848(0x4f7)]=0x0;}},exports[_0xbef4ca(0x1f1)]=le([A(0x4,a['Inject'](a[_0xbef4ca(0x18b)])),A(0x5,a['Inject'](m['RevisionService'])),A(0x6,a[_0xbef4ca(0x2f4)]),A(0x7,a[_0xbef4ca(0x4ab)]),A(0x8,m[_0xbef4ca(0x26e)]),A(0x9,a[_0xbef4ca(0x303)]),A(0xa,a['Optional'](J))],exports[_0xbef4ca(0x1f1)]),exports[_0xbef4ca(0x2bd)]=class extends _e{constructor(_0x1a153c,_0x4de3ef,_0x4de5d6,_0x2eade1,_0x3df56f,_0x329d46,_0x3e5166,_0x402191,_0x5019ab,_0x3bc931,_0xd112eb,_0x103525,_0x1e68db){var _0x29fe37=_0xbef4ca;super(_0x1a153c,_0x4de3ef,_0x4de5d6,_0x2eade1,_0x3df56f,_0x5019ab,_0x103525,_0x402191,_0x1e68db),D(this,_0x29fe37(0x3c1),_0x29fe37(0x296)),D(this,_0x29fe37(0x4f7),0x0),D(this,_0x29fe37(0x1aa)),D(this,'_sender'),(this[_0x29fe37(0x40f)]=_0x3e5166,this[_0x29fe37(0x409)]=_0x3bc931,this[_0x29fe37(0x326)]=_0xd112eb,this[_0x29fe37(0x4ca)]=_0x1e68db,_0x329d46&&(this[_0x29fe37(0x1aa)]=_0x329d46,this[_0x29fe37(0x285)]=this['_resendTimer'][_0x29fe37(0x31b)](({reqId:_0xcb5f99,timeout:_0x1ad500})=>{var _0x371f5d=_0x29fe37;this[_0x371f5d(0x2e2)](_0xcb5f99,_0x1ad500);})));}[_0xbef4ca(0x23e)](_0x30c957){var _0x58eaae=_0xbef4ca;return this[_0x58eaae(0x21b)][_0x58eaae(0x3ae)](_0x30c957),this;}[_0xbef4ca(0x2a2)](_0x2ec1d7){var _0x5635ca=_0xbef4ca;if(this['_checkMissing'](_0x2ec1d7))return this['_clearScheduledTask'](),this[_0x5635ca(0x40f)][_0x5635ca(0x406)](exports[_0x5635ca(0x2c9)],this[_0x5635ca(0x2ce)],this['type'],this[_0x5635ca(0x38c)],this[_0x5635ca(0x21b)],null,[_0x2ec1d7],this[_0x5635ca(0x44d)]);try{const _0x3b3d23=this['_transformService']['transformChangesets']([_0x2ec1d7],[this[_0x5635ca(0x38c)]],!0x1);if(m['isTransformChangesetsSuccess'](_0x3b3d23)){const {c1Prime:_0x4c1fac,c2Prime:_0x3964e8}=_0x3b3d23,_0x49f3ba=this[_0x5635ca(0x326)][_0x5635ca(0x314)](_0x4c1fac[0x0],this[_0x5635ca(0x21b)]);if(m[_0x5635ca(0x3a1)](_0x49f3ba)){const {c1Prime:_0x2ce3cb,m2Prime:_0x44dd4c}=_0x49f3ba;return this['_executeRemoteChangeset'](_0x2ce3cb),_0x3964e8[0x0][_0x5635ca(0x420)]=this[_0x5635ca(0x42c)](),this['_clearScheduledTask'](),this[_0x5635ca(0x40f)]['createInstance'](exports['AwaitingWithPendingState'],this[_0x5635ca(0x2ce)],this[_0x5635ca(0x2f8)],_0x3964e8[0x0],_0x44dd4c,this[_0x5635ca(0x44d)],void 0x0);}throw _0x49f3ba[_0x5635ca(0x398)];}throw _0x3b3d23[_0x5635ca(0x398)];}catch(_0x421c21){return this['_logService'][_0x5635ca(0x398)](_0x421c21),this[_0x5635ca(0x377)](!0x1);}}['onRemoteAck'](_0xf15918){var _0x1e0786=_0xbef4ca;if(this['_clearScheduledTask'](),this[_0x1e0786(0x4e6)](_0xf15918))return this[_0x1e0786(0x40f)][_0x1e0786(0x406)](exports['FetchingMissState'],this[_0x1e0786(0x2ce)],this['type'],null,this[_0x1e0786(0x21b)],this[_0x1e0786(0x38c)],[],this[_0x1e0786(0x44d)]);this[_0x1e0786(0x343)]();const _0xad1f8a=this[_0x1e0786(0x40f)][_0x1e0786(0x406)](exports[_0x1e0786(0x4a5)],this[_0x1e0786(0x2ce)],this[_0x1e0786(0x2f8)],this[_0x1e0786(0x21b)],this[_0x1e0786(0x44d)]);return _0xad1f8a[_0x1e0786(0x1b6)](),_0xad1f8a['_updateLocalCache'](),_0xad1f8a;}[_0xbef4ca(0x3e6)](_0x2ad499){var _0x1aa4a2=_0xbef4ca;return this[_0x1aa4a2(0x377)](!!(_0x2ad499!=null&&_0x2ad499[_0x1aa4a2(0x365)]));}[_0xbef4ca(0x478)](_0x35ebe9){var _0x35b616=_0xbef4ca;return this[_0x35b616(0x4f7)]>Nt?this['toggleOffline']():(this[_0x35b616(0x1aa)]=Pt(this[_0x35b616(0x4f7)],{'timeout':this[_0x35b616(0x4f7)],'reqId':_0x35ebe9[_0x35b616(0x30e)]}),this[_0x35b616(0x285)]=this[_0x35b616(0x1aa)][_0x35b616(0x31b)](({reqId:_0xc15882,timeout:_0x39f706})=>{var _0x3f325e=_0x35b616;this[_0x3f325e(0x2e2)](_0xc15882,_0x39f706);}),this);}[_0xbef4ca(0x431)](){var _0x4442ea=_0xbef4ca;return this[_0x4442ea(0x4da)](),this[_0x4442ea(0x40f)][_0x4442ea(0x406)](exports[_0x4442ea(0x290)],this[_0x4442ea(0x2ce)],this['type'],this[_0x4442ea(0x38c)],this['_pendingMutations'],this['_handler']);}[_0xbef4ca(0x2c7)](){return this;}[_0xbef4ca(0x3dc)](){var _0x4d9fba=_0xbef4ca;this[_0x4d9fba(0x44d)][_0x4d9fba(0x46d)](this['_awaitingChangeset']);}[_0xbef4ca(0x377)](_0x2f6125){var _0x48081b=_0xbef4ca;return this[_0x48081b(0x4da)](),this[_0x48081b(0x40f)]['createInstance'](exports['ConflictState'],this['unitID'],this[_0x48081b(0x2f8)],null,this[_0x48081b(0x21b)],this[_0x48081b(0x44d)],_0x2f6125);}[_0xbef4ca(0x2e2)](_0x50b77e,_0xd28c06){var _0x5a04b7=_0xbef4ca,_0x8def56;_0x50b77e===((_0x8def56=this[_0x5a04b7(0x38c)])==null?void 0x0:_0x8def56['reqId'])&&(this['resend'](),this['_resendTimeout']=_0xd28c06===0x0?0x3e8:_0xd28c06*0x2);}[_0xbef4ca(0x4da)](){var _0x3286b0=_0xbef4ca,_0x238822;(_0x238822=this[_0x3286b0(0x285)])==null||_0x238822[_0x3286b0(0x3a7)](),this[_0x3286b0(0x4f7)]=0x0;}},exports['AwaitingWithPendingState']=le([A(0x6,a[_0xbef4ca(0x4b9)](a[_0xbef4ca(0x18b)])),A(0x7,a[_0xbef4ca(0x4b9)](m[_0xbef4ca(0x184)])),A(0x8,a[_0xbef4ca(0x2f4)]),A(0x9,a[_0xbef4ca(0x4ab)]),A(0xa,m[_0xbef4ca(0x26e)]),A(0xb,a[_0xbef4ca(0x303)]),A(0xc,a[_0xbef4ca(0x22b)](J))],exports[_0xbef4ca(0x2bd)]),exports[_0xbef4ca(0x3d9)]=class extends _e{constructor(_0x381e53,_0xc849c,_0x99aca8,_0x3598e9,_0x18461b,_0xa7d948=!0x1,_0x394fde,_0x371c9c,_0x1f4185,_0x4c958b,_0x545a32,_0x104100,_0x3f97bc){var _0x66a8cb=_0xbef4ca;super(_0x381e53,_0xc849c,_0x99aca8,_0x3598e9,_0x18461b,_0x371c9c,_0x1f4185,_0x4c958b,_0x3f97bc),D(this,_0x66a8cb(0x3c1),_0x66a8cb(0x440)),(this[_0x66a8cb(0x3e4)]=_0xa7d948,this[_0x66a8cb(0x226)]=_0x394fde,this[_0x66a8cb(0x22f)]=_0x545a32,this[_0x66a8cb(0x412)]=_0x104100,this[_0x66a8cb(0x4ca)]=_0x3f97bc,this[_0x66a8cb(0x38b)](),this[_0x66a8cb(0x2ac)](),this[_0x66a8cb(0x1e7)]());}['appendMutation'](){return this;}[_0xbef4ca(0x2a2)](){return this;}['onRemoteAck'](){return this;}[_0xbef4ca(0x3e6)](){return this;}[_0xbef4ca(0x478)](){return this;}['toggleOffline'](){return this;}[_0xbef4ca(0x2c7)](){return this;}[_0xbef4ca(0x3dc)](){var _0x34da15=_0xbef4ca;throw new Error(_0x34da15(0x32b));}['_clearLocalCache'](){var _0x1e5a8f=_0xbef4ca,_0x5f0dcb;(_0x5f0dcb=this[_0x1e5a8f(0x176)])==null||_0x5f0dcb[_0x1e5a8f(0x1c9)](this[_0x1e5a8f(0x2ce)],this[_0x1e5a8f(0x2f8)],null,[]);}[_0xbef4ca(0x38b)](){var _0x221b6e=_0xbef4ca;this[_0x221b6e(0x3e4)]?this[_0x221b6e(0x412)]['emitEvent']({'id':Q[_0x221b6e(0x23d)]}):this[_0x221b6e(0x412)][_0x221b6e(0x31e)]({'id':Q[_0x221b6e(0x464)]});}['_disableEditing'](){var _0x3fafc1=_0xbef4ca;this[_0x3fafc1(0x226)][_0x3fafc1(0x37f)](new W['WorkbookEditablePermission'](this[_0x3fafc1(0x2ce)])['id'],!0x1);}},exports['ConflictState']=le([A(0x6,a[_0xbef4ca(0x4b9)](a[_0xbef4ca(0x28f)])),A(0x7,a[_0xbef4ca(0x2f4)]),A(0x8,a['IUndoRedoService']),A(0x9,a[_0xbef4ca(0x4b9)](m[_0xbef4ca(0x184)])),A(0xa,a[_0xbef4ca(0x4b9)](a[_0xbef4ca(0x17a)])),A(0xb,a[_0xbef4ca(0x4b9)](te)),A(0xc,a[_0xbef4ca(0x22b)](J))],exports[_0xbef4ca(0x3d9)]),exports[_0xbef4ca(0x290)]=class extends _e{constructor(_0x289d28,_0x101323,_0x39c483,_0x5c8010,_0x43771a,_0x5a53a5,_0x236610,_0x3b5911,_0x2b32ee,_0xff6234){var _0x48e66e=_0xbef4ca;super(_0x289d28,_0x101323,_0x39c483,_0x5c8010,_0x43771a,_0x3b5911,_0x2b32ee,_0x236610,_0xff6234),D(this,_0x48e66e(0x3c1),'offline'),this[_0x48e66e(0x40f)]=_0x5a53a5;}[_0xbef4ca(0x23e)](_0x53a4fe){var _0x4b24fa=_0xbef4ca;return this[_0x4b24fa(0x21b)][_0x4b24fa(0x3ae)](_0x53a4fe),this[_0x4b24fa(0x416)](),this;}[_0xbef4ca(0x2a2)](_0x2e309f){var _0x314c0d=_0xbef4ca;throw new Error(_0x314c0d(0x2f0));}[_0xbef4ca(0x4c9)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0xbef4ca(0x3e6)](){var _0x32cdc4=_0xbef4ca;throw new Error(_0x32cdc4(0x341));}[_0xbef4ca(0x478)](){return this;}[_0xbef4ca(0x431)](){return this;}[_0xbef4ca(0x2c7)](){var _0x3bdaa6=_0xbef4ca;const {_injector:_0x259184,_pendingMutations:_0x406246,_awaitingChangeset:_0x564d2a,unitID:_0xfd58db,_handler:_0x55c621,type:_0x13a35c}=this,_0x461337=Ut(_0x259184,_0xfd58db,_0x13a35c,_0x564d2a,_0x406246,_0x55c621);return _0x461337 instanceof exports[_0x3bdaa6(0x4a5)]?_0x461337[_0x3bdaa6(0x1b6)]():(_0x461337 instanceof exports[_0x3bdaa6(0x2bd)]||_0x461337 instanceof exports[_0x3bdaa6(0x1f1)])&&_0x461337[_0x3bdaa6(0x3dc)](),_0x461337;}['resend'](){var _0x1cb2d1=_0xbef4ca;throw new Error(_0x1cb2d1(0x49d));}},exports['OfflineState']=le([A(0x5,a[_0xbef4ca(0x4b9)](a[_0xbef4ca(0x18b)])),A(0x6,a['Inject'](m['RevisionService'])),A(0x7,a[_0xbef4ca(0x2f4)]),A(0x8,a['IUndoRedoService']),A(0x9,a['Optional'](J))],exports[_0xbef4ca(0x290)]),exports[_0xbef4ca(0x2c9)]=class extends _e{constructor(_0xbfa121,_0x285d59,_0x1b845f,_0x5b5b9d,_0x2c7114,_0x10b164,_0x2ec436,_0x3bc673,_0x5ad840,_0x13aded,_0x1da2f3,_0x97def0,_0xd033f1,_0x1be453){var _0x2ec77a=_0xbef4ca;super(_0xbfa121,_0x285d59,_0x1b845f,_0x5b5b9d,_0x2ec436,_0x1da2f3,_0x97def0,_0x5ad840,_0x1be453),D(this,_0x2ec77a(0x3c1),'fetch_missing'),(this[_0x2ec77a(0x221)]=_0x2c7114,this[_0x2ec77a(0x413)]=_0x10b164,this[_0x2ec77a(0x40f)]=_0x3bc673,this[_0x2ec77a(0x409)]=_0x13aded,this[_0x2ec77a(0x326)]=_0xd033f1,this['localCacheService']=_0x1be453);}['onMissedChangesetFetched'](_0x49c89c){var _0x506fc8=_0xbef4ca;try{const _0x1cb467=[..._0x49c89c,...this[_0x506fc8(0x413)]],_0x4d80bd=[this[_0x506fc8(0x38c)]||this[_0x506fc8(0x221)]][_0x506fc8(0x2bb)](_0x2e4fb1=>!!_0x2e4fb1);let _0x4725cf,_0x666812;if(_0x4d80bd[_0x506fc8(0x3f5)]){const _0x2f7c12=this['_transformService'][_0x506fc8(0x482)](_0x1cb467,_0x4d80bd,!0x1);if(!m['isTransformChangesetsSuccess'](_0x2f7c12))throw _0x2f7c12[_0x506fc8(0x398)];_0x4725cf=_0x2f7c12[_0x506fc8(0x1ce)],_0x666812=_0x2f7c12[_0x506fc8(0x329)];}else _0x4725cf=_0x1cb467,_0x666812=[];let _0x4417bb=this[_0x506fc8(0x21b)];_0x4725cf['forEach'](_0x3cb2f8=>{var _0x39f006=_0x506fc8;let _0x5256cf;if(_0x4417bb['length']){const _0xe62d9d=this[_0x39f006(0x326)]['transformMutationsWithChangeset'](_0x3cb2f8,_0x4417bb);if(!m[_0x39f006(0x3a1)](_0xe62d9d))throw _0xe62d9d[_0x39f006(0x398)];_0x5256cf=_0xe62d9d[_0x39f006(0x1ce)],_0x4417bb=_0xe62d9d[_0x39f006(0x235)];}else _0x5256cf=_0x3cb2f8;this[_0x39f006(0x4f9)](_0x5256cf);}),this[_0x506fc8(0x221)]&&this[_0x506fc8(0x343)](),this[_0x506fc8(0x38c)]&&_0x666812[_0x506fc8(0x3f5)]&&(_0x666812[0x0][_0x506fc8(0x420)]=this[_0x506fc8(0x42c)]());let _0x45ed22;if(this[_0x506fc8(0x38c)]&&_0x4417bb[_0x506fc8(0x3f5)]!==0x0)_0x45ed22=this[_0x506fc8(0x40f)][_0x506fc8(0x406)](exports[_0x506fc8(0x2bd)],this[_0x506fc8(0x2ce)],this['type'],_0x666812[0x0],_0x4417bb,this[_0x506fc8(0x44d)],void 0x0);else{if(this[_0x506fc8(0x38c)]&&_0x4417bb[_0x506fc8(0x3f5)]===0x0)_0x666812[0x0][_0x506fc8(0x420)]=this[_0x506fc8(0x42c)](),_0x45ed22=this[_0x506fc8(0x40f)][_0x506fc8(0x406)](exports[_0x506fc8(0x1f1)],this[_0x506fc8(0x2ce)],this['type'],_0x666812[0x0],this[_0x506fc8(0x44d)]);else{if(_0x4417bb[_0x506fc8(0x3f5)]!==0x0){const _0x23d6c3=this['_injector'][_0x506fc8(0x406)](exports['PendingState'],this[_0x506fc8(0x2ce)],this['type'],_0x4417bb,this[_0x506fc8(0x44d)]);_0x23d6c3[_0x506fc8(0x1b6)](),_0x45ed22=_0x23d6c3;}else _0x45ed22=this[_0x506fc8(0x40f)][_0x506fc8(0x406)](exports[_0x506fc8(0x4d5)],this[_0x506fc8(0x2ce)],this[_0x506fc8(0x2f8)],this['_handler']);}}return _0x45ed22[_0x506fc8(0x416)](),_0x45ed22;}catch(_0xf59da4){return this['_logService']['error'](_0x506fc8(0x4e8),_0x506fc8(0x366),_0xf59da4),this[_0x506fc8(0x40f)][_0x506fc8(0x406)](exports['ConflictState'],this[_0x506fc8(0x2ce)],this[_0x506fc8(0x2f8)],this[_0x506fc8(0x38c)],this[_0x506fc8(0x21b)],this[_0x506fc8(0x44d)],!0x1);}}[_0xbef4ca(0x3dc)](){var _0x4021e8=_0xbef4ca;throw new Error(_0x4021e8(0x1c7));}['appendMutation'](_0x388a47){var _0x415a54=_0xbef4ca;return this[_0x415a54(0x21b)][_0x415a54(0x3ae)](_0x388a47),this;}['onRemoteChangeset'](_0x20d41c){var _0x5cf2f9=_0xbef4ca;return this[_0x5cf2f9(0x413)][_0x5cf2f9(0x3ae)](_0x20d41c),this;}['onRemoteAck'](_0x112b58){var _0x5239c4=_0xbef4ca;if(this[_0x5239c4(0x38c)])return this[_0x5239c4(0x221)]=this['_awaitingChangeset'],this[_0x5239c4(0x38c)]=null,this;throw new Error(_0x5239c4(0x1ef));}[_0xbef4ca(0x3e6)](_0x1a3450){var _0x5bdcaa=_0xbef4ca;return this[_0x5bdcaa(0x377)](!!(_0x1a3450!=null&&_0x1a3450[_0x5bdcaa(0x365)]));}[_0xbef4ca(0x478)](){return this;}['toggleOffline'](){var _0x4979b6=_0xbef4ca;return this[_0x4979b6(0x40f)]['createInstance'](exports['OfflineState'],this['unitID'],this[_0x4979b6(0x2f8)],this[_0x4979b6(0x38c)],this['_pendingMutations'],this[_0x4979b6(0x44d)]);}[_0xbef4ca(0x2c7)](){return this;}[_0xbef4ca(0x377)](_0x219435){var _0x3296a9=_0xbef4ca;return this[_0x3296a9(0x40f)][_0x3296a9(0x406)](exports['ConflictState'],this[_0x3296a9(0x2ce)],this[_0x3296a9(0x2f8)],this[_0x3296a9(0x38c)],this[_0x3296a9(0x21b)],this['_handler'],_0x219435);}},exports[_0xbef4ca(0x2c9)]=le([A(0x7,a[_0xbef4ca(0x4b9)](a['Injector'])),A(0x8,a[_0xbef4ca(0x4b9)](m[_0xbef4ca(0x184)])),A(0x9,a[_0xbef4ca(0x4ab)]),A(0xa,a['ICommandService']),A(0xb,a[_0xbef4ca(0x303)]),A(0xc,m['ITransformService']),A(0xd,a[_0xbef4ca(0x22b)](J))],exports[_0xbef4ca(0x2c9)]);function Ut(_0x8c8889,_0x25d674,_0x4c06ef,_0x1efca9,_0x465ff9,_0x59d067){var _0x1c8c35=_0xbef4ca;return _0x1efca9&&_0x465ff9[_0x1c8c35(0x3f5)]?_0x8c8889[_0x1c8c35(0x406)](exports[_0x1c8c35(0x2bd)],_0x25d674,_0x4c06ef,_0x1efca9,_0x465ff9,_0x59d067,void 0x0):_0x1efca9?_0x8c8889[_0x1c8c35(0x406)](exports[_0x1c8c35(0x1f1)],_0x25d674,_0x4c06ef,_0x1efca9,_0x59d067):_0x465ff9[_0x1c8c35(0x3f5)]?_0x8c8889[_0x1c8c35(0x406)](exports[_0x1c8c35(0x4a5)],_0x25d674,_0x4c06ef,_0x465ff9,_0x59d067):_0x8c8889[_0x1c8c35(0x406)](exports[_0x1c8c35(0x4d5)],_0x25d674,_0x4c06ef,_0x59d067);}var Ni=Object[_0xbef4ca(0x1b1)],Ui=Object[_0xbef4ca(0x30a)],Ve=(_0x2a1bf6,_0x56bbd6,_0x3cbfeb,_0x60e6bc)=>{var _0x1d85db=_0xbef4ca;for(var _0xdd6852=_0x60e6bc>0x1?void 0x0:_0x60e6bc?Ui(_0x56bbd6,_0x3cbfeb):_0x56bbd6,_0x583fe6=_0x2a1bf6[_0x1d85db(0x3f5)]-0x1,_0x177e61;_0x583fe6>=0x0;_0x583fe6--)(_0x177e61=_0x2a1bf6[_0x583fe6])&&(_0xdd6852=(_0x60e6bc?_0x177e61(_0x56bbd6,_0x3cbfeb,_0xdd6852):_0x177e61(_0xdd6852))||_0xdd6852);return _0x60e6bc&&_0xdd6852&&Ni(_0x56bbd6,_0x3cbfeb,_0xdd6852),_0xdd6852;},k=(_0x3ab931,_0x48d5fb)=>(_0x158905,_0x4bc2d1)=>_0x48d5fb(_0x158905,_0x4bc2d1,_0x3ab931);exports[_0xbef4ca(0x451)]=class extends a[_0xbef4ca(0x4d8)]{constructor(_0x4bd5ea,_0x126139,_0x3f17bd,_0x241c47,_0x2c881b,_0x32965e,_0xb3db4f,_0x503ec1,_0x202d20,_0x5db45f,_0x360358,_0x14d5c6,_0x4106ab){var _0x45db4e=_0xbef4ca;super(),D(this,_0x45db4e(0x269),new H[(_0x45db4e(0x4ad))](null)),D(this,_0x45db4e(0x39d),this[_0x45db4e(0x269)][_0x45db4e(0x44b)]()),D(this,_0x45db4e(0x261)),D(this,_0x45db4e(0x335),!0x1),D(this,_0x45db4e(0x437),''),D(this,_0x45db4e(0x26c),0x0),D(this,_0x45db4e(0x29a),this[_0x45db4e(0x39d)][_0x45db4e(0x4b5)](H['map'](_0x51a5ff=>_0x51a5ff?_0x51a5ff['status']:We[_0x45db4e(0x3b7)]),H['shareReplay'](0x1))),D(this,_0x45db4e(0x4a1),!0x1),D(this,_0x45db4e(0x369),[]),(this[_0x45db4e(0x2ce)]=_0x4bd5ea,this['session']=_0x126139,this[_0x45db4e(0x356)]=_0x3f17bd,this[_0x45db4e(0x40f)]=_0x241c47,this['_compressMutationService']=_0x2c881b,this[_0x45db4e(0x22f)]=_0x32965e,this['_revisionService']=_0xb3db4f,this[_0x45db4e(0x496)]=_0x503ec1,this[_0x45db4e(0x409)]=_0x202d20,this['_commandService']=_0x5db45f,this[_0x45db4e(0x226)]=_0x360358,this[_0x45db4e(0x1b2)]=_0x14d5c6,this['_localCacheService']=_0x4106ab);}get[_0xbef4ca(0x4e1)](){var _0x164d24=_0xbef4ca;return this[_0x164d24(0x261)];}async[_0xbef4ca(0x39c)](){var _0x26e80b=_0xbef4ca;if(this[_0x26e80b(0x4e1)])throw new Error(_0x26e80b(0x1a7));await this[_0x26e80b(0x4a6)]();}[_0xbef4ca(0x236)](){var _0x1bdd21=_0xbef4ca;return this[_0x1bdd21(0x335)]=!0x0,a['toDisposable'](()=>{var _0x3da5a8=_0x1bdd21;this[_0x3da5a8(0x335)]=!0x1,this[_0x3da5a8(0x34f)]();});}[_0xbef4ca(0x214)](_0x343e58){this['_onLocalMutation'](_0x343e58);}[_0xbef4ca(0x1bb)](_0x5d5679){var _0x3a97d4=_0xbef4ca;this['_state']=_0x5d5679,this[_0x3a97d4(0x269)][_0x3a97d4(0x328)](_0x5d5679);}async[_0xbef4ca(0x4a6)](){var _0x3623da=_0xbef4ca,_0x300df7;this[_0x3623da(0x1bb)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x300df7=this[_0x3623da(0x1b2)])==null||_0x300df7['editingUnit'](this[_0x3623da(0x2ce)]),this[_0x3623da(0x3a5)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x3623da(0x2ce)])['subscribe'](_0x85d4c1=>{var _0x31dccc=_0x3623da;this[_0x31dccc(0x409)]['debug'](_0x31dccc(0x44c),'editing\x20status\x20changed\x20to',_0x85d4c1),_0x85d4c1===Fe[_0x31dccc(0x242)]?(this['_eventService']['emitEvent']({'id':Q[_0x31dccc(0x1cf)]}),this[_0x31dccc(0x226)]['updatePermissionPoint'](new W['WorkbookEditablePermission'](this['unitID'])['id'],!0x1),this['_permissionService'][_0x31dccc(0x279)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new W[(_0x31dccc(0x1fd))](this[_0x31dccc(0x2ce)])['id'],!0x0),this[_0x31dccc(0x226)][_0x31dccc(0x279)](!0x0));})));let _0x136728=!0x1;return this[_0x3623da(0x3a5)](this[_0x3623da(0x373)][_0x3623da(0x49f)][_0x3623da(0x31b)](_0x5763a3=>{var _0x4880a2=_0x3623da;_0x5763a3===se[_0x4880a2(0x340)]?this[_0x4880a2(0x2a8)](_0x136728):_0x5763a3===se['OFFLINE']&&(_0x136728=!0x0,this[_0x4880a2(0x41e)]());})),this[_0x3623da(0x3a5)](this[_0x3623da(0x373)][_0x3623da(0x2d1)][_0x3623da(0x31b)](_0xd11995=>{var _0x21bbee=_0x3623da;try{switch(_0xd11995[_0x21bbee(0x4ee)]){case m[_0x21bbee(0x350)][_0x21bbee(0x39e)]:{this[_0x21bbee(0x37b)](m[_0x21bbee(0x41c)](_0xd11995[_0x21bbee(0x4b6)]));break;}case m['CollaborationEvent'][_0x21bbee(0x2ad)]:{this[_0x21bbee(0x2d0)](_0xd11995[_0x21bbee(0x4b6)]);break;}case m['CollaborationEvent'][_0x21bbee(0x43b)]:{this[_0x21bbee(0x367)]();break;}case m[_0x21bbee(0x350)]['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0xd11995['data']);break;}case m[_0x21bbee(0x350)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x21bbee(0x223)](_0xd11995[_0x21bbee(0x4b6)][_0x21bbee(0x46b)][_0x21bbee(0x22d)](_0x227089=>m[_0x21bbee(0x41c)](_0x227089)));break;}case m[_0x21bbee(0x350)]['PERMISSION_REJ']:{this[_0x21bbee(0x367)]({'isPermissionRej':!0x0});break;}case m['CollaborationEvent']['UNISCRIPT_RUN']:break;}}catch(_0x1eaa97){throw console[_0x21bbee(0x398)](_0x21bbee(0x2c2),_0x1eaa97),_0x1eaa97;}})),this['_state'];}[_0xbef4ca(0x251)](){var _0x34d066=_0xbef4ca;this[_0x34d066(0x4a1)]=!0x1;}[_0xbef4ca(0x4a4)](){var _0x225631=_0xbef4ca;if(this[_0x225631(0x4a1)])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[_0x225631(0x4a1)]=!0x0;}['_onLocalMutation'](_0x595acb){var _0x2b3311=_0xbef4ca;this[_0x2b3311(0x4a4)](),this[_0x2b3311(0x1bb)](this['_state'][_0x2b3311(0x23e)](_0x595acb)),this[_0x2b3311(0x251)]();}[_0xbef4ca(0x37b)](_0x2a4aa2){var _0x2e2a49=_0xbef4ca;if(!(_0x2a4aa2[_0x2e2a49(0x2b9)]<=this[_0x2e2a49(0x302)]['getCurrentRevOfUnit'](this[_0x2e2a49(0x2ce)]))){if(this['_collaborationPaused']){this[_0x2e2a49(0x369)][_0x2e2a49(0x3ae)](_0x2a4aa2);return;}this[_0x2e2a49(0x4f8)](_0x2a4aa2);}}[_0xbef4ca(0x34f)](){var _0x36a521=_0xbef4ca;this[_0x36a521(0x369)]['forEach'](_0x38241e=>this['_applyRemoteChangeset'](_0x38241e)),this[_0x36a521(0x369)]=[];}[_0xbef4ca(0x4f8)](_0x47c9be){var _0x43e67f=_0xbef4ca;const _0x26c626=this[_0x43e67f(0x376)][_0x43e67f(0x23c)][_0x43e67f(0x196)](this[_0x43e67f(0x376)][_0x43e67f(0x23c)]['getInterceptPoints']()[_0x43e67f(0x3cc)])(_0x47c9be[_0x43e67f(0x4a9)],null)||_0x47c9be['mutations'],_0x226796={..._0x47c9be,'mutations':_0x26c626};this[_0x43e67f(0x4a4)](),this[_0x43e67f(0x1bb)](this[_0x43e67f(0x261)]['onRemoteChangeset'](_0x226796)),this['_unlockTransition']();}[_0xbef4ca(0x2d0)](_0xe0a5e3){var _0x3636ab=_0xbef4ca;this[_0x3636ab(0x4a4)](),this[_0x3636ab(0x1bb)](this[_0x3636ab(0x261)][_0x3636ab(0x4c9)](_0xe0a5e3)),this[_0x3636ab(0x251)]();}['_onRemoteRejected'](_0x1101c6){var _0x471a2e=_0xbef4ca;this[_0x471a2e(0x4a4)](),this[_0x471a2e(0x1bb)](this[_0x471a2e(0x261)][_0x471a2e(0x3e6)](_0x1101c6)),this[_0x471a2e(0x251)]();}['_onRemoteRetry'](_0x1a21f3){var _0x4c1396=_0xbef4ca;this['_lockTransition'](),this[_0x4c1396(0x1bb)](this['_state'][_0x4c1396(0x478)](_0x1a21f3)),this[_0x4c1396(0x251)]();}[_0xbef4ca(0x223)](_0x4e35fe){var _0x4895ff=_0xbef4ca;if(!(this[_0x4895ff(0x261)]instanceof exports[_0x4895ff(0x2c9)]))throw new TypeError(_0x4895ff(0x2a9));const _0x207455=_0x4e35fe[_0x4895ff(0x22d)](_0x2cd9fa=>{var _0x95ade6=_0x4895ff;const _0x342418=this[_0x95ade6(0x376)]['interceptor'][_0x95ade6(0x196)](this['_compressMutationService'][_0x95ade6(0x23c)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x2cd9fa[_0x95ade6(0x4a9)],null)||_0x2cd9fa[_0x95ade6(0x4a9)];return{..._0x2cd9fa,'mutations':_0x342418};});this[_0x4895ff(0x4a4)](),this[_0x4895ff(0x1bb)](this[_0x4895ff(0x261)][_0x4895ff(0x288)](_0x207455)),this[_0x4895ff(0x251)]();}[_0xbef4ca(0x41e)](){var _0x1a78cc=_0xbef4ca;this[_0x1a78cc(0x4a4)](),this['_updateState'](this['_state'][_0x1a78cc(0x431)]()),this['_unlockTransition']();}['_toggleOnline'](_0x363afa=!0x1){var _0xd99efe=_0xbef4ca;this[_0xd99efe(0x4a4)](),this[_0xd99efe(0x1bb)](this['_state']['toggleOnline']()),this[_0xd99efe(0x251)]();const _0x285f76=this[_0xd99efe(0x261)];_0x363afa&&_0x285f76 instanceof exports[_0xd99efe(0x4d5)]&&(this['_lockTransition'](),this['_updateState'](_0x285f76[_0xd99efe(0x3f8)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x5e0df0=>{var _0x1aec89=_0x83cd;this[_0x1aec89(0x373)]['sessionStatus$'][_0x1aec89(0x4b5)](H[_0x1aec89(0x417)](0x1))[_0x1aec89(0x31b)](async _0x28b09c=>{var _0xf925f2=_0x1aec89;_0x5e0df0(await this[_0xf925f2(0x3f3)](_0x28b09c===se['ONLINE']));});});}[_0xbef4ca(0x49b)](){var _0x2d4b2b=_0xbef4ca;const _0x5b0e2e=this[_0x2d4b2b(0x2ce)];return{'onStateChange':(_0x3eb623,_0x31e919)=>{var _0x117119=_0x2d4b2b;if(_0x3eb623!==this[_0x117119(0x261)])throw new Error(_0x117119(0x2cf)+_0x3eb623['status']+_0x117119(0x31d)+_0x31e919['status']+_0x117119(0x470)+this[_0x117119(0x261)][_0x117119(0x3c1)]);this['_updateState'](_0x31e919);},'onSendChangeset':_0x43e1a8=>{var _0x404927=_0x2d4b2b;_0x43e1a8[_0x404927(0x2cc)]||(_0x43e1a8[_0x404927(0x2cc)]=this[_0x404927(0x437)],_0x43e1a8[_0x404927(0x30e)]=++this[_0x404927(0x26c)]);const _0x26b464={'eventID':m[_0x404927(0x350)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x43e1a8[_0x404927(0x2ce)],'unitType':this['_type'],'changeset':_0x43e1a8,'memberID':this['session']['getMemberID']()}};this['session'][_0x404927(0x2a5)](_0x26b464,this['unitID']);},'onMissingChangesets':({from:_0x8aa33c,to:_0x40109c})=>{var _0x1dfac3=_0x2d4b2b;this[_0x1dfac3(0x409)][_0x1dfac3(0x2c0)](_0x1dfac3(0x44c),'fetching\x20missing\x20changesets\x20from\x20'+_0x8aa33c+_0x1dfac3(0x1af)+_0x40109c);const _0x34cb4f={'eventID':m[_0x1dfac3(0x350)]['FETCH_MISSING'],'data':{'unitID':_0x5b0e2e,'unitType':this['_type'],'from':_0x8aa33c,'to':_0x40109c}};this[_0x1dfac3(0x373)]['send'](_0x34cb4f,this['unitID']);}};}async['_createInitialStateImpl'](_0x2600f0){var _0x1efa95=_0xbef4ca,_0xbeda7a,_0x2f02a5,_0x4c5970;const _0x4de510=await((_0xbeda7a=this[_0x1efa95(0x176)])==null?void 0x0:_0xbeda7a[_0x1efa95(0x4f4)](this['unitID'])),_0x2d27c4=(_0x2f02a5=_0x4de510==null?void 0x0:_0x4de510[_0x1efa95(0x4a9)])!=null?_0x2f02a5:[],_0x592699=(_0x4c5970=_0x4de510==null?void 0x0:_0x4de510[_0x1efa95(0x287)])!=null?_0x4c5970:null,_0x3908fa=!!(_0x592699!=null&&_0x592699[_0x1efa95(0x2cc)])&&!!(_0x592699!=null&&_0x592699['reqId']);this[_0x1efa95(0x437)]=_0x3908fa?_0x592699[_0x1efa95(0x2cc)]:gi(),this[_0x1efa95(0x26c)]=_0x3908fa?_0x592699['reqId']:0x0;const _0x2080a6=this[_0x1efa95(0x2ce)];try{this['_replayCachedMutations'](_0x592699,_0x2d27c4);}catch(_0x50827f){this[_0x1efa95(0x409)][_0x1efa95(0x398)](_0x50827f);}const _0x323430=this[_0x1efa95(0x49b)]();if(_0x2600f0){const _0x2afa8f=Ut(this['_injector'],_0x2080a6,this[_0x1efa95(0x356)],_0x592699,_0x2d27c4,_0x323430);return _0x2afa8f instanceof exports[_0x1efa95(0x4a5)]?_0x2afa8f[_0x1efa95(0x1b6)]():(_0x2afa8f instanceof exports[_0x1efa95(0x2bd)]||_0x2afa8f instanceof exports[_0x1efa95(0x1f1)])&&_0x2afa8f[_0x1efa95(0x3dc)](),_0x2afa8f;}return this[_0x1efa95(0x40f)][_0x1efa95(0x406)](exports[_0x1efa95(0x290)],_0x2080a6,this[_0x1efa95(0x356)],_0x592699,_0x2d27c4,_0x323430);}[_0xbef4ca(0x472)](_0x30cac2,_0x36b3e8){var _0x5129fc=_0xbef4ca,_0x5d11f2,_0x265ed0;const _0x2a17ab=this[_0x5129fc(0x376)][_0x5129fc(0x23c)][_0x5129fc(0x196)](this['_compressMutationService'][_0x5129fc(0x23c)][_0x5129fc(0x48c)]()[_0x5129fc(0x3cc)]);(_0x5d11f2=_0x2a17ab((_0x30cac2==null?void 0x0:_0x30cac2[_0x5129fc(0x4a9)])||[],null))==null||_0x5d11f2['forEach'](_0xcebe55=>this['_commandService']['executeCommand'](_0xcebe55['id'],_0xcebe55[_0x5129fc(0x492)])),(_0x265ed0=_0x2a17ab(_0x36b3e8||[],null))==null||_0x265ed0[_0x5129fc(0x217)](_0x341e5d=>this[_0x5129fc(0x2f6)][_0x5129fc(0x3ee)](_0x341e5d['id'],_0x341e5d[_0x5129fc(0x492)]));}},exports['CollaborationEntity']=Ve([k(0x3,a[_0xbef4ca(0x4b9)](a[_0xbef4ca(0x18b)])),k(0x4,a[_0xbef4ca(0x4b9)](m[_0xbef4ca(0x4f3)])),k(0x5,a['Inject'](a[_0xbef4ca(0x17a)])),k(0x6,a['Inject'](m[_0xbef4ca(0x184)])),k(0x7,a[_0xbef4ca(0x4b9)](te)),k(0x8,a[_0xbef4ca(0x4ab)]),k(0x9,a[_0xbef4ca(0x2f4)]),k(0xa,a[_0xbef4ca(0x28f)]),k(0xb,a[_0xbef4ca(0x22b)](ve)),k(0xc,a['Optional'](J))],exports[_0xbef4ca(0x451)]),exports[_0xbef4ca(0x422)]=class extends exports[_0xbef4ca(0x451)]{constructor(_0x32a637,_0x420848,_0x569970,_0x2c4ea3,_0x1cb5bf,_0x453d0f,_0x299529,_0x25df98,_0xa7aaa5,_0x2cacb7,_0x33e6bb,_0x3696de,_0x32195a){var _0x3db45e=_0xbef4ca;super(_0x32a637,_0x569970,_0x420848,_0x2c4ea3,_0x1cb5bf,_0x453d0f,_0x299529,_0x25df98,_0xa7aaa5,_0x2cacb7,_0x33e6bb,_0x3696de,_0x32195a),D(this,'_handlerCallback',null),(this[_0x3db45e(0x2ce)]=_0x32a637,this[_0x3db45e(0x2f8)]=_0x420848);}[_0xbef4ca(0x407)](_0x5a0472){var _0x2c10b2=_0xbef4ca;this[_0x2c10b2(0x2b3)]=_0x5a0472;}[_0xbef4ca(0x3b6)](){var _0x11abae=_0xbef4ca;this['_handlerCallback']=null,super[_0x11abae(0x3b6)]();}[_0xbef4ca(0x49b)](){var _0x89e3f3=_0xbef4ca;const _0x52d152=super[_0x89e3f3(0x49b)]();return _0x52d152['onTransformIME']=_0xb14c7d=>{var _0x252a32=_0x89e3f3,_0x2de68d,_0x455d7e;return(_0x455d7e=(_0x2de68d=this[_0x252a32(0x2b3)])==null?void 0x0:_0x2de68d[_0x252a32(0x1df)])==null?void 0x0:_0x455d7e['call'](_0x2de68d,_0xb14c7d);},_0x52d152[_0x89e3f3(0x238)]=_0x921411=>{var _0x178a41=_0x89e3f3,_0x5d982c,_0x1f5362;return(_0x1f5362=(_0x5d982c=this[_0x178a41(0x2b3)])==null?void 0x0:_0x5d982c[_0x178a41(0x238)])==null?void 0x0:_0x1f5362[_0x178a41(0x24b)](_0x5d982c,_0x921411);},_0x52d152[_0x89e3f3(0x461)]=_0x3b3e1=>{var _0x50790b=_0x89e3f3,_0x332599,_0x44565f;return(_0x44565f=(_0x332599=this[_0x50790b(0x2b3)])==null?void 0x0:_0x332599[_0x50790b(0x461)])==null?void 0x0:_0x44565f[_0x50790b(0x24b)](_0x332599,_0x3b3e1);},_0x52d152['onSyncEditingCollabCursor']=_0x10e196=>{var _0x1459d1=_0x89e3f3,_0x49ada2,_0xe2b1ad;return(_0xe2b1ad=(_0x49ada2=this[_0x1459d1(0x2b3)])==null?void 0x0:_0x49ada2[_0x1459d1(0x2fe)])==null?void 0x0:_0xe2b1ad[_0x1459d1(0x24b)](_0x49ada2,_0x10e196);},_0x52d152[_0x89e3f3(0x332)]=_0x324efb=>{var _0x4e0a29=_0x89e3f3,_0x46a073,_0x4cd7dd,_0x4cad8a;if(!((_0x46a073=this[_0x4e0a29(0x2b3)])!=null&&_0x46a073['onTransformRemoteChangesetByIMECache']))throw new Error(_0x4e0a29(0x3dd));return(_0x4cad8a=(_0x4cd7dd=this['_handlerCallback'])==null?void 0x0:_0x4cd7dd[_0x4e0a29(0x332)])==null?void 0x0:_0x4cad8a[_0x4e0a29(0x24b)](_0x4cd7dd,_0x324efb);},_0x52d152[_0x89e3f3(0x2c1)]=_0x58a94b=>{var _0x42bf35=_0x89e3f3,_0x22204b,_0x409f87,_0x277837;if(!((_0x22204b=this[_0x42bf35(0x2b3)])!=null&&_0x22204b[_0x42bf35(0x2c1)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x277837=(_0x409f87=this[_0x42bf35(0x2b3)])==null?void 0x0:_0x409f87[_0x42bf35(0x2c1)])==null?void 0x0:_0x277837['call'](_0x409f87,_0x58a94b);},_0x52d152;}async[_0xbef4ca(0x4a6)](){var _0x32a0ad=_0xbef4ca;const _0x1cbcb2=await super[_0x32a0ad(0x4a6)]();return this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x34d193,_0x2b90b6)=>{var _0x400484=_0x32a0ad;if(_0x34d193['type']!==a[_0x400484(0x3b9)][_0x400484(0x1f4)]||_0x2b90b6!=null&&_0x2b90b6['fromCollab']||_0x2b90b6!=null&&_0x2b90b6[_0x400484(0x352)]||_0x34d193['id']===dt[_0x400484(0x358)]['id'])return;const _0x43b3bd=_0x34d193[_0x400484(0x492)];if((_0x43b3bd==null?void 0x0:_0x43b3bd[_0x400484(0x484)])!==this['unitID'])return;const _0x357cc1=_0x34d193,_0x488664=this['_compressMutationService'][_0x400484(0x23c)]['fetchThroughInterceptors'](this[_0x400484(0x376)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x357cc1],null)||[_0x357cc1];this[_0x400484(0x305)](_0x488664[0x0]);})),_0x1cbcb2;}},exports[_0xbef4ca(0x422)]=Ve([k(0x3,a[_0xbef4ca(0x4b9)](a['Injector'])),k(0x4,a[_0xbef4ca(0x4b9)](m[_0xbef4ca(0x4f3)])),k(0x5,a[_0xbef4ca(0x4b9)](a[_0xbef4ca(0x17a)])),k(0x6,a['Inject'](m[_0xbef4ca(0x184)])),k(0x7,a[_0xbef4ca(0x4b9)](te)),k(0x8,a[_0xbef4ca(0x4ab)]),k(0x9,a['ICommandService']),k(0xa,a[_0xbef4ca(0x28f)]),k(0xb,a[_0xbef4ca(0x22b)](ve)),k(0xc,a[_0xbef4ca(0x22b)](J))],exports[_0xbef4ca(0x422)]),exports[_0xbef4ca(0x2b1)]=class extends exports[_0xbef4ca(0x451)]{constructor(_0x4fe598,_0x40d8b7,_0x2f0ec9,_0x4b1389,_0x41d1c0,_0x52bc05,_0x9f4167,_0x381ec7,_0x122019,_0x270f71,_0x552fb9,_0xcea090,_0x28b452,_0x2fb161){var _0x562e85=_0xbef4ca;super(_0x4fe598,_0x2f0ec9,_0x40d8b7,_0x4b1389,_0x41d1c0,_0x52bc05,_0x9f4167,_0x122019,_0x270f71,_0x552fb9,_0xcea090,_0x28b452,_0x2fb161),this[_0x562e85(0x2ce)]=_0x4fe598,this[_0x562e85(0x2f8)]=_0x40d8b7,this[_0x562e85(0x47e)]=_0x381ec7;}['_createHandler'](){var _0x559788=_0xbef4ca;const _0x323a1c=super[_0x559788(0x49b)]();return _0x323a1c[_0x559788(0x461)]=_0x11922b=>this[_0x559788(0x47e)]['transformSelections'](_0x11922b),_0x323a1c;}async[_0xbef4ca(0x4a6)](){var _0x5d1c94=_0xbef4ca;const _0x24e96f=await super[_0x5d1c94(0x4a6)]();return this[_0x5d1c94(0x3a5)](this['_commandService'][_0x5d1c94(0x380)]((_0x221fdf,_0x5b654d)=>{var _0x5860de=_0x5d1c94;if(_0x221fdf[_0x5860de(0x2f8)]!==a['CommandType'][_0x5860de(0x1f4)]||_0x5b654d!=null&&_0x5b654d[_0x5860de(0x391)]||_0x5b654d!=null&&_0x5b654d['onlyLocal'])return;const _0x30ad42=_0x221fdf[_0x5860de(0x492)];if((_0x30ad42==null?void 0x0:_0x30ad42['unitId'])!==this[_0x5860de(0x2ce)])return;const _0x4f77bb=_0x221fdf,_0x226c94=this[_0x5860de(0x376)][_0x5860de(0x23c)]['fetchThroughInterceptors'](this[_0x5860de(0x376)][_0x5860de(0x23c)][_0x5860de(0x48c)]()[_0x5860de(0x325)])([_0x4f77bb],null)||[_0x4f77bb];this[_0x5860de(0x305)](_0x226c94[0x0]);})),_0x24e96f;}},exports[_0xbef4ca(0x2b1)]=Ve([k(0x3,a[_0xbef4ca(0x4b9)](a[_0xbef4ca(0x18b)])),k(0x4,a[_0xbef4ca(0x4b9)](m[_0xbef4ca(0x4f3)])),k(0x5,a['Inject'](a[_0xbef4ca(0x17a)])),k(0x6,a[_0xbef4ca(0x4b9)](m[_0xbef4ca(0x184)])),k(0x7,a['Inject'](exports[_0xbef4ca(0x486)])),k(0x8,a[_0xbef4ca(0x4b9)](te)),k(0x9,a[_0xbef4ca(0x4ab)]),k(0xa,a[_0xbef4ca(0x2f4)]),k(0xb,a[_0xbef4ca(0x28f)]),k(0xc,a[_0xbef4ca(0x22b)](ve)),k(0xd,a[_0xbef4ca(0x22b)](J))],exports[_0xbef4ca(0x2b1)]);var Di=Object[_0xbef4ca(0x1b1)],wi=Object[_0xbef4ca(0x30a)],Ai=(_0xfa9fcf,_0x542663,_0x485076,_0x4287f3)=>{var _0x2d6f37=_0xbef4ca;for(var _0x1b5a72=_0x4287f3>0x1?void 0x0:_0x4287f3?wi(_0x542663,_0x485076):_0x542663,_0x277286=_0xfa9fcf[_0x2d6f37(0x3f5)]-0x1,_0x8991bd;_0x277286>=0x0;_0x277286--)(_0x8991bd=_0xfa9fcf[_0x277286])&&(_0x1b5a72=(_0x4287f3?_0x8991bd(_0x542663,_0x485076,_0x1b5a72):_0x8991bd(_0x1b5a72))||_0x1b5a72);return _0x4287f3&&_0x1b5a72&&Di(_0x542663,_0x485076,_0x1b5a72),_0x1b5a72;},we=(_0x6ae0ff,_0x68a8f2)=>(_0x3378b6,_0x16b8a7)=>_0x68a8f2(_0x3378b6,_0x16b8a7,_0x6ae0ff);exports['CollaborationController']=class extends a[_0xbef4ca(0x4d8)]{constructor(_0x1a819d,_0x5dfee1,_0xe3d96f){var _0x561c3a=_0xbef4ca;super(),D(this,_0x561c3a(0x38a),new Map()),D(this,_0x561c3a(0x36b),new H[(_0x561c3a(0x488))]()),D(this,_0x561c3a(0x23b),this[_0x561c3a(0x36b)]['asObservable']()),(this['_injector']=_0x1a819d,this[_0x561c3a(0x230)]=_0x5dfee1,this[_0x561c3a(0x2c8)]=_0xe3d96f,this[_0x561c3a(0x4a6)]());}[_0xbef4ca(0x3b6)](){var _0x3fabfe=_0xbef4ca;super[_0x3fabfe(0x3b6)](),this[_0x3fabfe(0x38a)][_0x3fabfe(0x217)](_0x19fd4f=>_0x19fd4f['dispose']()),this[_0x3fabfe(0x38a)][_0x3fabfe(0x2e7)]();}[_0xbef4ca(0x445)](_0x5d7ce4){var _0x35fb9d=_0xbef4ca,_0x246c33;return(_0x246c33=this[_0x35fb9d(0x38a)][_0x35fb9d(0x1b9)](_0x5d7ce4))!=null?_0x246c33:null;}['getCollabEntity$'](_0x146a70){var _0x2ff769=_0xbef4ca;const _0x101dbf=this[_0x2ff769(0x445)](_0x146a70);return _0x101dbf?H['of'](_0x101dbf):this['_entityInit$'][_0x2ff769(0x4b5)](V[_0x2ff769(0x2bb)](_0x27e536=>_0x27e536[_0x2ff769(0x2ce)]===_0x146a70));}[_0xbef4ca(0x179)](_0x97fa55){var _0x525115=_0xbef4ca;return H[_0x525115(0x476)](this[_0x525115(0x370)](_0x97fa55)[_0x525115(0x4b5)](V[_0x525115(0x22d)](()=>{})));}[_0xbef4ca(0x4a6)](){var _0x1ce102=_0xbef4ca;this[_0x1ce102(0x2c8)]['getTypeOfUnitAdded$'](a[_0x1ce102(0x1e0)][_0x1ce102(0x1bf)])[_0x1ce102(0x4b5)](H[_0x1ce102(0x2ca)](this['dispose$']),V[_0x1ce102(0x26b)](0x10))[_0x1ce102(0x31b)](async _0x2a12f6=>{var _0x352004=_0x1ce102;const _0x11b9da=_0x2a12f6['getUnitId'](),_0x4a3474=await this[_0x352004(0x270)](_0x11b9da,Z['UNIVER_SHEET']);this['_entities']['set'](_0x11b9da,_0x4a3474);}),this[_0x1ce102(0x2c8)][_0x1ce102(0x4d7)](a['UniverInstanceType'][_0x1ce102(0x3c9)])[_0x1ce102(0x4b5)](H['takeUntil'](this['dispose$']),V['delay'](0x10))[_0x1ce102(0x4b5)](V[_0x1ce102(0x2bb)](_0x678f2c=>!_0x678f2c['getUnitId']()[_0x1ce102(0x317)]('__')))[_0x1ce102(0x31b)](async _0x2adf44=>{var _0x475d2e=_0x1ce102;const _0x26acec=_0x2adf44[_0x475d2e(0x3fa)](),_0x560f0d=await this['_startCollaboration'](_0x26acec,Z[_0x475d2e(0x3c9)]);this[_0x475d2e(0x38a)][_0x475d2e(0x27e)](_0x26acec,_0x560f0d);}),H[_0x1ce102(0x337)](this[_0x1ce102(0x2c8)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x1ce102(0x1bf)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x1ce102(0x1e0)]['UNIVER_DOC']))['pipe'](H['takeUntil'](this[_0x1ce102(0x46f)]))[_0x1ce102(0x31b)](_0x580be4=>{var _0x349802=_0x1ce102;const _0x46d74c=_0x580be4['getUnitId'](),_0x4e0185=this[_0x349802(0x38a)][_0x349802(0x1b9)](_0x46d74c);_0x4e0185&&(_0x4e0185[_0x349802(0x3b6)](),this[_0x349802(0x38a)][_0x349802(0x190)](_0x46d74c));});}async[_0xbef4ca(0x270)](_0x2d260b,_0x1d7847){var _0x1dd891=_0xbef4ca;const _0x4a0468=await this[_0x1dd891(0x230)]['requireSession'](_0x2d260b),_0x1c6be2=this['_injector'][_0x1dd891(0x406)](this[_0x1dd891(0x204)](_0x1d7847),_0x2d260b,_0x1d7847,_0x4a0468);return await _0x1c6be2[_0x1dd891(0x39c)](),this[_0x1dd891(0x36b)][_0x1dd891(0x328)](_0x1c6be2),_0x1c6be2;}[_0xbef4ca(0x204)](_0x134859){var _0x5275ff=_0xbef4ca;switch(_0x134859){case Z[_0x5275ff(0x3c9)]:return exports[_0x5275ff(0x422)];case Z[_0x5275ff(0x1bf)]:return exports[_0x5275ff(0x2b1)];default:throw new Error(_0x5275ff(0x3b0)+_0x134859);}}},exports[_0xbef4ca(0x1cc)]=Ai([we(0x0,a[_0xbef4ca(0x4b9)](a[_0xbef4ca(0x18b)])),we(0x1,a[_0xbef4ca(0x4b9)](exports['CollaborationSessionService'])),we(0x2,a[_0xbef4ca(0x30b)])],exports[_0xbef4ca(0x1cc)]);var Li=Object['defineProperty'],Mi=Object[_0xbef4ca(0x30a)],xi=(_0x114c35,_0x3cad44,_0x2a7424,_0x5ba7d3)=>{var _0x8bd21d=_0xbef4ca;for(var _0x1cb0c6=_0x5ba7d3>0x1?void 0x0:_0x5ba7d3?Mi(_0x3cad44,_0x2a7424):_0x3cad44,_0x5d4c1e=_0x114c35[_0x8bd21d(0x3f5)]-0x1,_0x3ce09;_0x5d4c1e>=0x0;_0x5d4c1e--)(_0x3ce09=_0x114c35[_0x5d4c1e])&&(_0x1cb0c6=(_0x5ba7d3?_0x3ce09(_0x3cad44,_0x2a7424,_0x1cb0c6):_0x3ce09(_0x1cb0c6))||_0x1cb0c6);return _0x5ba7d3&&_0x1cb0c6&&Li(_0x3cad44,_0x2a7424,_0x1cb0c6),_0x1cb0c6;},Xe=(_0x278b5c,_0x1e1b08)=>(_0x38dc30,_0xe4d8b7)=>_0x1e1b08(_0x38dc30,_0xe4d8b7,_0x278b5c);const ji=_0xbef4ca(0x389),$i='Univer';let $e=class extends a['Disposable']{constructor(_0x4cb803,_0x2c7c2a){var _0x4581a8=_0xbef4ca;super(),this[_0x4581a8(0x2c8)]=_0x4cb803,this['_configService']=_0x2c7c2a,this[_0x4581a8(0x4a6)]();}['_init'](){var _0x1e881c=_0xbef4ca;this['disposeWithMe'](this[_0x1e881c(0x2c8)][_0x1e881c(0x4f2)][_0x1e881c(0x31b)](()=>{var _0x44bc34=_0x1e881c,_0x20813d;const _0x4a5e60=this[_0x44bc34(0x2c8)]['getFocusedUnit']();let _0x2d00e2=(_0x20813d=this[_0x44bc34(0x1f8)][_0x44bc34(0x29b)](ji))!=null?_0x20813d:$i;_0x4a5e60 instanceof a['Workbook']&&(_0x2d00e2=_0x4a5e60[_0x44bc34(0x1e5)]),document[_0x44bc34(0x4e3)]=_0x2d00e2;}));}};$e=xi([Xe(0x0,a[_0xbef4ca(0x30b)]),Xe(0x1,a[_0xbef4ca(0x173)])],$e);var Hi=Object[_0xbef4ca(0x1b1)],ki=Object['getOwnPropertyDescriptor'],Bi=(_0x2af63c,_0x22325c,_0x88d9d8,_0x16afe6)=>{var _0x1bb274=_0xbef4ca;for(var _0x12358f=_0x16afe6>0x1?void 0x0:_0x16afe6?ki(_0x22325c,_0x88d9d8):_0x22325c,_0x86920c=_0x2af63c[_0x1bb274(0x3f5)]-0x1,_0x45aafa;_0x86920c>=0x0;_0x86920c--)(_0x45aafa=_0x2af63c[_0x86920c])&&(_0x12358f=(_0x16afe6?_0x45aafa(_0x22325c,_0x88d9d8,_0x12358f):_0x45aafa(_0x12358f))||_0x12358f);return _0x16afe6&&_0x12358f&&Hi(_0x22325c,_0x88d9d8,_0x12358f),_0x12358f;},Ae=(_0x109263,_0x567359)=>(_0x23c64a,_0xbf28d1)=>_0x567359(_0x23c64a,_0xbf28d1,_0x109263);let ye=class{constructor(_0x12b2a6,_0x135bc6,_0x2dc202){var _0x2f070d=_0xbef4ca;this[_0x2f070d(0x1f8)]=_0x12b2a6,this['_httpService']=_0x135bc6,this[_0x2f070d(0x3c5)]=_0x2dc202,this[_0x2f070d(0x39c)]();}[_0xbef4ca(0x39c)](){var _0x3af247=_0xbef4ca;this[_0x3af247(0x17f)][_0x3af247(0x379)]({'priority':0x1,'interceptor':(_0x490b00,_0x3d1e9f)=>_0x3d1e9f(_0x490b00)['pipe'](H[_0x3af247(0x2c3)](async _0x51fade=>{var _0x17dfe6=_0x3af247;const _0x10bf32=_0x51fade;if(_0x10bf32['status']===0x191){if(typeof window>'u')throw new Error(_0x17dfe6(0x19e));if(window['confirm'](this[_0x17dfe6(0x3c5)]['t'](_0x17dfe6(0x3a2)))){const _0x51bd74=window[_0x17dfe6(0x2ba)](window['location'][_0x17dfe6(0x44a)]);window[_0x17dfe6(0x480)][_0x17dfe6(0x44a)]=this['_getLoginPath']()+_0x17dfe6(0x273)+_0x51bd74;}}return _0x10bf32;}))});}['_getLoginPath'](){var _0x3b098d=_0xbef4ca,_0x4691ee,_0x2b71ec;const _0x5680d5=this['_configService'][_0x3b098d(0x29b)](Ct),_0x41c264=this[_0x3b098d(0x1f8)][_0x3b098d(0x29b)](q);return(_0x2b71ec=(_0x4691ee=_0x41c264==null?void 0x0:_0x41c264[_0x3b098d(0x1b0)])!=null?_0x4691ee:_0x5680d5)!=null?_0x2b71ec:zt;}};ye=Bi([Ae(0x0,a[_0xbef4ca(0x173)]),Ae(0x1,a[_0xbef4ca(0x4b9)](z[_0xbef4ca(0x1d6)])),Ae(0x2,a[_0xbef4ca(0x4b9)](a[_0xbef4ca(0x17a)]))],ye);var Fi=Object[_0xbef4ca(0x1b1)],Wi=Object[_0xbef4ca(0x30a)],Vi=(_0x5e135b,_0x115197,_0x358c05,_0x4fd884)=>{var _0x403254=_0xbef4ca;for(var _0x4a0278=_0x4fd884>0x1?void 0x0:_0x4fd884?Wi(_0x115197,_0x358c05):_0x115197,_0xe09409=_0x5e135b[_0x403254(0x3f5)]-0x1,_0x284fcf;_0xe09409>=0x0;_0xe09409--)(_0x284fcf=_0x5e135b[_0xe09409])&&(_0x4a0278=(_0x4fd884?_0x284fcf(_0x115197,_0x358c05,_0x4a0278):_0x284fcf(_0x4a0278))||_0x4a0278);return _0x4fd884&&_0x4a0278&&Fi(_0x115197,_0x358c05,_0x4a0278),_0x4a0278;},Ze=(_0x12bf0c,_0x506a33)=>(_0x5d9515,_0x5c8b14)=>_0x506a33(_0x5d9515,_0x5c8b14,_0x12bf0c);const Ge=_0xbef4ca(0x374),Gi=_0xbef4ca(0x274);exports[_0xbef4ca(0x23a)]=class extends a[_0xbef4ca(0x4bd)]{constructor(_0x48b705,_0xf7f030){var _0x3b798a=_0xbef4ca;super(),this[_0x3b798a(0x4b7)]=_0x48b705,this[_0x3b798a(0x1f8)]=_0xf7f030,this[_0x3b798a(0x3de)]();}[_0xbef4ca(0x3de)](){var _0x106cc0=_0xbef4ca;const _0x155eaf=this;this[_0x106cc0(0x3a5)](this[_0x106cc0(0x4b7)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':z[_0x106cc0(0x395)]({'isMatch'(_0x5d400e){var _0x46f168=_0x106cc0,_0x56ad62;if(_0x5d400e['method']===_0x46f168(0x49e)&&((_0x56ad62=_0x5d400e[_0x46f168(0x2b5)])!=null&&_0x56ad62[_0x46f168(0x3ad)])){const {objectID:_0x3f2e87,objectType:_0x2c1458}=_0x5d400e[_0x46f168(0x2b5)][_0x46f168(0x3ad)]||{};if(!_0x3f2e87||_0x2c1458===void 0x0)return!0x1;const _0x421ad2=_0x155eaf['_getAPIPrefixPath']()+'/'+_0x2c1458+_0x46f168(0x3e9)+_0x3f2e87+'/allowed';if(_0x5d400e['url']===_0x421ad2)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4dae9b){var _0x4b2ece=_0x106cc0,_0x3ddbec;return(_0x3ddbec=_0x4dae9b[_0x4b2ece(0x2b5)])==null?void 0x0:_0x3ddbec[_0x4b2ece(0x3ad)];},'mergeParamsToRequest'(_0x5d7799,_0x548636){var _0x9c0bb0=_0x106cc0;const _0x147b6a=_0x155eaf[_0x9c0bb0(0x27b)]()+_0x9c0bb0(0x4dd),_0x525c5b=_0x5d7799[_0x9c0bb0(0x1a9)]((_0x5c764b,_0x3b605b)=>{var _0x4cdd7d=_0x9c0bb0;const {unitID:_0x4067ac,objectID:_0x304970,objectType:_0x4fba69,actions:_0x25b04a}=_0x3b605b;return _0x5c764b[_0x4067ac]||(_0x5c764b[_0x4067ac]={}),_0x5c764b[_0x4067ac][_0x304970]||(_0x5c764b[_0x4067ac][_0x304970]={'objectID':_0x304970,'objectType':_0x4fba69,'actions':[]}),_0x5c764b[_0x4067ac][_0x304970][_0x4cdd7d(0x25c)]['push'](..._0x25b04a),_0x5c764b;},{}),_0x3842cc=[];for(const _0x3cbd75 in _0x525c5b)for(const _0x5d63dc in _0x525c5b[_0x3cbd75]){const {actions:_0x1e8a17,objectType:_0x5d392d}=_0x525c5b[_0x3cbd75][_0x5d63dc],_0x171a91=[...new Set(_0x1e8a17)];_0x3842cc[_0x9c0bb0(0x3ae)]({'unitID':_0x3cbd75,'objectID':_0x5d63dc,'objectType':_0x5d392d,'actions':_0x171a91});}return new z[(_0x9c0bb0(0x2b2))](_0x9c0bb0(0x49e),_0x147b6a,{'headers':_0x548636['headers'],'withCredentials':_0x548636['withCredentials'],'responseType':_0x548636[_0x9c0bb0(0x436)],'body':{'requests':_0x3842cc}});}},{'distributeResult'(_0x3dbb15,_0x537558){const {objectActions:_0x2b6f13}=_0x3dbb15;return _0x537558['map'](_0x1763eb=>{var _0x5dca1a=_0x83cd;const {unitID:_0x53346e,objectID:_0x3d951a,actions:_0x4cde14}=_0x1763eb,_0x1b1a77=_0x2b6f13[_0x5dca1a(0x491)](_0xb966a0=>_0xb966a0['unitID']===_0x53346e&&_0xb966a0[_0x5dca1a(0x3af)]===_0x3d951a),_0x3f44bb=_0x4cde14[_0x5dca1a(0x22d)](_0x9c0d6=>_0x1b1a77==null?void 0x0:_0x1b1a77[_0x5dca1a(0x25c)][_0x5dca1a(0x491)](_0x217872=>_0x217872[_0x5dca1a(0x26d)]===_0x9c0d6))[_0x5dca1a(0x2bb)](_0x3febd1=>!!_0x3febd1);return{'config':_0x1763eb,'result':{'actions':_0x3f44bb,'error':_0x3dbb15[_0x5dca1a(0x398)]}};});}})}));}[_0xbef4ca(0x27b)](){var _0x3d2979=_0xbef4ca,_0x386174,_0x3c2180;const _0x308633=this[_0x3d2979(0x1f8)]['getConfig'](Ge),_0xa93101=this[_0x3d2979(0x1f8)][_0x3d2979(0x29b)](q);return(_0x3c2180=(_0x386174=_0xa93101==null?void 0x0:_0xa93101[_0x3d2979(0x3fc)])!=null?_0x386174:_0x308633)!=null?_0x3c2180:Gi;}async['create'](_0x4443ac){var _0x6f9b=_0xbef4ca;const _0xd3b2ea=this['_getAPIPrefixPath']()+'/'+_0x4443ac[_0x6f9b(0x2a6)]+_0x6f9b(0x2fd);return(await this[_0x6f9b(0x4b7)][_0x6f9b(0x219)](_0xd3b2ea,{'body':_0x4443ac}))[_0x6f9b(0x3ad)][_0x6f9b(0x3af)]||'';}async[_0xbef4ca(0x266)](_0x247558){var _0xb48e34=_0xbef4ca;const _0x1a4223=this[_0xb48e34(0x27b)]()+'/-/object/list';return(await this[_0xb48e34(0x4b7)][_0xb48e34(0x219)](_0x1a4223,{'body':_0x247558}))[_0xb48e34(0x3ad)][_0xb48e34(0x1a4)];}async['update'](_0x7185b7){var _0x1999c=_0xbef4ca;const _0x522e4d=this[_0x1999c(0x27b)]()+'/'+_0x7185b7[_0x1999c(0x2a6)]+_0x1999c(0x3e9)+_0x7185b7['objectID'];await this['_HTTPService']['put'](_0x522e4d,{'body':_0x7185b7});}async['allowed'](_0x26e850){var _0x5e7523=_0xbef4ca;const _0x54b388=this[_0x5e7523(0x27b)]()+'/'+_0x26e850[_0x5e7523(0x2a6)]+'/object/'+_0x26e850[_0x5e7523(0x3af)]+_0x5e7523(0x495);return(await this[_0x5e7523(0x4b7)][_0x5e7523(0x219)](_0x54b388,{'body':_0x26e850}))[_0x5e7523(0x3ad)]['actions'];}async[_0xbef4ca(0x4df)](_0x3c7d48){var _0x3f4663=_0xbef4ca;const _0x2bf463=this[_0x3f4663(0x27b)]()+_0x3f4663(0x4dd);return(await this[_0x3f4663(0x4b7)][_0x3f4663(0x219)](_0x2bf463,{'body':{'requests':_0x3c7d48}}))['body'][_0x3f4663(0x174)];}async[_0xbef4ca(0x203)](_0x441027){var _0x801425=_0xbef4ca;const _0x37db1c=this[_0x801425(0x27b)]()+'/'+_0x441027[_0x801425(0x2a6)]+_0x801425(0x372),_0x5daa5b=await this[_0x801425(0x4b7)][_0x801425(0x219)](_0x37db1c,{'body':_0x441027});return{'roles':_0x5daa5b['body']['roles'],'actions':_0x5daa5b[_0x801425(0x3ad)][_0x801425(0x25c)]};}async[_0xbef4ca(0x1a1)](_0x61fafe){var _0x1ce8c4=_0xbef4ca;const _0xad3b49=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x1ce8c4(0x4b7)][_0x1ce8c4(0x190)](_0xad3b49,{'params':{'collaboratorID':_0x61fafe[_0x1ce8c4(0x298)],'objectID':_0x61fafe['objectID'],'unitID':_0x61fafe['unitID']}});}async[_0xbef4ca(0x2bf)](_0x40b27a){var _0x4d9967=_0xbef4ca;const _0xcc8b01=this[_0x4d9967(0x27b)]()+_0x4d9967(0x443);await this[_0x4d9967(0x4b7)]['patch'](_0xcc8b01,{'body':_0x40b27a});}async[_0xbef4ca(0x4fd)](_0x377e2f){var _0x7baa70=_0xbef4ca;const _0x3bb977=this[_0x7baa70(0x27b)]()+_0x7baa70(0x443);await this['_HTTPService'][_0x7baa70(0x219)](_0x3bb977,{'body':_0x377e2f});}async[_0xbef4ca(0x3d1)](_0x10f944){var _0x37c7c4=_0xbef4ca;const _0x81a650=this[_0x37c7c4(0x27b)]()+_0x37c7c4(0x443);return(await this[_0x37c7c4(0x4b7)][_0x37c7c4(0x1b9)](_0x81a650,{'params':{'objectID':_0x10f944[_0x37c7c4(0x3af)],'unitID':_0x10f944['unitID']}}))[_0x37c7c4(0x3ad)][_0x37c7c4(0x3c6)];}async[_0xbef4ca(0x284)](_0x3d3505){var _0x10953b=_0xbef4ca;const _0x9a222d=this[_0x10953b(0x27b)]()+_0x10953b(0x443);await this[_0x10953b(0x4b7)][_0x10953b(0x457)](_0x9a222d,{'body':_0x3d3505});}},exports[_0xbef4ca(0x23a)]=Vi([Ze(0x0,a[_0xbef4ca(0x4b9)](z[_0xbef4ca(0x1d6)])),Ze(0x1,a[_0xbef4ca(0x4b9)](a[_0xbef4ca(0x173)]))],exports['AuthzIoHttpService']);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x5e2024){var _0x460238=_0xbef4ca;return _0x5e2024&&_0x5e2024['__esModule']&&Object['prototype'][_0x460238(0x3f4)][_0x460238(0x24b)](_0x5e2024,'default')?_0x5e2024[_0x460238(0x19c)]:_0x5e2024;}var Se={'exports':{}};function Ki(_0x3f8f58){var _0x53671e=_0xbef4ca;throw new Error(_0x53671e(0x3e5)+_0x3f8f58+_0x53671e(0x41b));}var pe={'exports':{}},Yi=pe['exports'],Qe;function ee(){var _0x48bd4e=_0xbef4ca;return Qe||(Qe=0x1,function(_0x17690a,_0x5eb884){(function(_0x5b895c,_0x40c5a0){var _0x33b668=_0x83cd;_0x17690a[_0x33b668(0x40c)]=_0x40c5a0();}(Yi,function(){var _0x3539d1=_0x3539d1||function(_0x438f15,_0x53ef48){var _0x570da0=_0x83cd,_0x42a9a6;if(typeof window<'u'&&window[_0x570da0(0x210)]&&(_0x42a9a6=window[_0x570da0(0x210)]),typeof self<'u'&&self[_0x570da0(0x210)]&&(_0x42a9a6=self[_0x570da0(0x210)]),typeof globalThis<'u'&&globalThis[_0x570da0(0x210)]&&(_0x42a9a6=globalThis[_0x570da0(0x210)]),!_0x42a9a6&&typeof window<'u'&&window[_0x570da0(0x2ea)]&&(_0x42a9a6=window[_0x570da0(0x2ea)]),!_0x42a9a6&&typeof Le<'u'&&Le[_0x570da0(0x210)]&&(_0x42a9a6=Le[_0x570da0(0x210)]),!_0x42a9a6&&typeof Ki==_0x570da0(0x246))try{_0x42a9a6=require(_0x570da0(0x210));}catch{}var _0xfd4db8=function(){var _0x5a7863=_0x570da0;if(_0x42a9a6){if(typeof _0x42a9a6['getRandomValues']=='function')try{return _0x42a9a6[_0x5a7863(0x2f2)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x42a9a6['randomBytes']==_0x5a7863(0x246))try{return _0x42a9a6[_0x5a7863(0x1c4)](0x4)[_0x5a7863(0x2dc)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x1c5ed7=Object[_0x570da0(0x2de)]||(function(){function _0xc69b87(){}return function(_0xc2d54e){var _0x4b7b6e=_0x83cd,_0x119840;return _0xc69b87[_0x4b7b6e(0x452)]=_0xc2d54e,_0x119840=new _0xc69b87(),_0xc69b87[_0x4b7b6e(0x452)]=null,_0x119840;};}()),_0x42296f={},_0x292532=_0x42296f['lib']={},_0x1262de=_0x292532[_0x570da0(0x245)]=(function(){return{'extend':function(_0x5bd47c){var _0x48b898=_0x83cd,_0x23db7d=_0x1c5ed7(this);return _0x5bd47c&&_0x23db7d['mixIn'](_0x5bd47c),(!_0x23db7d[_0x48b898(0x3f4)](_0x48b898(0x39c))||this[_0x48b898(0x39c)]===_0x23db7d[_0x48b898(0x39c)])&&(_0x23db7d[_0x48b898(0x39c)]=function(){var _0x18555f=_0x48b898;_0x23db7d['$super'][_0x18555f(0x39c)][_0x18555f(0x400)](this,arguments);}),_0x23db7d['init'][_0x48b898(0x452)]=_0x23db7d,_0x23db7d[_0x48b898(0x4eb)]=this,_0x23db7d;},'create':function(){var _0x362a85=_0x83cd,_0x5d8de8=this[_0x362a85(0x192)]();return _0x5d8de8[_0x362a85(0x39c)][_0x362a85(0x400)](_0x5d8de8,arguments),_0x5d8de8;},'init':function(){},'mixIn':function(_0x3d8892){var _0x106cd9=_0x83cd;for(var _0x1a4109 in _0x3d8892)_0x3d8892[_0x106cd9(0x3f4)](_0x1a4109)&&(this[_0x1a4109]=_0x3d8892[_0x1a4109]);_0x3d8892[_0x106cd9(0x3f4)](_0x106cd9(0x2f7))&&(this['toString']=_0x3d8892[_0x106cd9(0x2f7)]);},'clone':function(){var _0x514f7d=_0x83cd;return this['init']['prototype'][_0x514f7d(0x192)](this);}};}()),_0x37c423=_0x292532[_0x570da0(0x3b4)]=_0x1262de[_0x570da0(0x192)]({'init':function(_0x3250ea,_0x47f6b4){var _0x3f60ee=_0x570da0;_0x3250ea=this[_0x3f60ee(0x4d0)]=_0x3250ea||[],_0x47f6b4!=_0x53ef48?this['sigBytes']=_0x47f6b4:this[_0x3f60ee(0x498)]=_0x3250ea[_0x3f60ee(0x3f5)]*0x4;},'toString':function(_0x311447){var _0x4b1336=_0x570da0;return(_0x311447||_0x36f9db)[_0x4b1336(0x295)](this);},'concat':function(_0x15646d){var _0x847fef=_0x570da0,_0x237a77=this[_0x847fef(0x4d0)],_0x5f3758=_0x15646d[_0x847fef(0x4d0)],_0x303867=this[_0x847fef(0x498)],_0x1905c0=_0x15646d[_0x847fef(0x498)];if(this[_0x847fef(0x1d9)](),_0x303867%0x4)for(var _0x4f052e=0x0;_0x4f052e<_0x1905c0;_0x4f052e++){var _0x19d98c=_0x5f3758[_0x4f052e>>>0x2]>>>0x18-_0x4f052e%0x4*0x8&0xff;_0x237a77[_0x303867+_0x4f052e>>>0x2]|=_0x19d98c<<0x18-(_0x303867+_0x4f052e)%0x4*0x8;}else{for(var _0x3c14ce=0x0;_0x3c14ce<_0x1905c0;_0x3c14ce+=0x4)_0x237a77[_0x303867+_0x3c14ce>>>0x2]=_0x5f3758[_0x3c14ce>>>0x2];}return this[_0x847fef(0x498)]+=_0x1905c0,this;},'clamp':function(){var _0x592b87=_0x570da0,_0x4e3a58=this[_0x592b87(0x4d0)],_0x16f256=this['sigBytes'];_0x4e3a58[_0x16f256>>>0x2]&=0xffffffff<<0x20-_0x16f256%0x4*0x8,_0x4e3a58[_0x592b87(0x3f5)]=_0x438f15[_0x592b87(0x28b)](_0x16f256/0x4);},'clone':function(){var _0x328003=_0x570da0,_0x4be58f=_0x1262de[_0x328003(0x2f1)][_0x328003(0x24b)](this);return _0x4be58f[_0x328003(0x4d0)]=this[_0x328003(0x4d0)]['slice'](0x0),_0x4be58f;},'random':function(_0x19b03a){var _0x2711cb=_0x570da0;for(var _0x97ea79=[],_0x5a7b7e=0x0;_0x5a7b7e<_0x19b03a;_0x5a7b7e+=0x4)_0x97ea79['push'](_0xfd4db8());return new _0x37c423[(_0x2711cb(0x39c))](_0x97ea79,_0x19b03a);}}),_0x48e1a3=_0x42296f[_0x570da0(0x207)]={},_0x36f9db=_0x48e1a3['Hex']={'stringify':function(_0x467300){var _0x3862a8=_0x570da0;for(var _0x18b45e=_0x467300[_0x3862a8(0x4d0)],_0x1eb9ed=_0x467300[_0x3862a8(0x498)],_0x3eb5db=[],_0x1834a1=0x0;_0x1834a1<_0x1eb9ed;_0x1834a1++){var _0x5f58b1=_0x18b45e[_0x1834a1>>>0x2]>>>0x18-_0x1834a1%0x4*0x8&0xff;_0x3eb5db[_0x3862a8(0x3ae)]((_0x5f58b1>>>0x4)['toString'](0x10)),_0x3eb5db[_0x3862a8(0x3ae)]((_0x5f58b1&0xf)['toString'](0x10));}return _0x3eb5db[_0x3862a8(0x3be)]('');},'parse':function(_0x58c532){var _0x59ccee=_0x570da0;for(var _0x5d645a=_0x58c532[_0x59ccee(0x3f5)],_0x5305fa=[],_0x2a0edf=0x0;_0x2a0edf<_0x5d645a;_0x2a0edf+=0x2)_0x5305fa[_0x2a0edf>>>0x3]|=parseInt(_0x58c532['substr'](_0x2a0edf,0x2),0x10)<<0x18-_0x2a0edf%0x8*0x4;return new _0x37c423['init'](_0x5305fa,_0x5d645a/0x2);}},_0x34cebd=_0x48e1a3[_0x570da0(0x438)]={'stringify':function(_0x469f00){var _0x592b51=_0x570da0;for(var _0xb7b72f=_0x469f00[_0x592b51(0x4d0)],_0x24cc74=_0x469f00[_0x592b51(0x498)],_0x5b3b96=[],_0x7a3ce3=0x0;_0x7a3ce3<_0x24cc74;_0x7a3ce3++){var _0x1b428b=_0xb7b72f[_0x7a3ce3>>>0x2]>>>0x18-_0x7a3ce3%0x4*0x8&0xff;_0x5b3b96[_0x592b51(0x3ae)](String[_0x592b51(0x2d4)](_0x1b428b));}return _0x5b3b96[_0x592b51(0x3be)]('');},'parse':function(_0x29a0cd){var _0x6e910=_0x570da0;for(var _0x2fbe99=_0x29a0cd[_0x6e910(0x3f5)],_0x48d7cc=[],_0x29ffe5=0x0;_0x29ffe5<_0x2fbe99;_0x29ffe5++)_0x48d7cc[_0x29ffe5>>>0x2]|=(_0x29a0cd[_0x6e910(0x249)](_0x29ffe5)&0xff)<<0x18-_0x29ffe5%0x4*0x8;return new _0x37c423[(_0x6e910(0x39c))](_0x48d7cc,_0x2fbe99);}},_0x49b8d6=_0x48e1a3[_0x570da0(0x189)]={'stringify':function(_0x30d1a0){var _0x3241ab=_0x570da0;try{return decodeURIComponent(escape(_0x34cebd[_0x3241ab(0x295)](_0x30d1a0)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x97c789){var _0x1d7b1d=_0x570da0;return _0x34cebd[_0x1d7b1d(0x28c)](unescape(encodeURIComponent(_0x97c789)));}},_0x162aac=_0x292532[_0x570da0(0x455)]=_0x1262de['extend']({'reset':function(){var _0xfe756b=_0x570da0;this['_data']=new _0x37c423[(_0xfe756b(0x39c))](),this['_nDataBytes']=0x0;},'_append':function(_0x5b40c3){var _0x51b0cc=_0x570da0;typeof _0x5b40c3==_0x51b0cc(0x320)&&(_0x5b40c3=_0x49b8d6['parse'](_0x5b40c3)),this[_0x51b0cc(0x382)][_0x51b0cc(0x2c4)](_0x5b40c3),this[_0x51b0cc(0x3f9)]+=_0x5b40c3[_0x51b0cc(0x498)];},'_process':function(_0x4b842e){var _0x1076a6=_0x570da0,_0x1c7d71,_0x23f86f=this['_data'],_0x1229b6=_0x23f86f[_0x1076a6(0x4d0)],_0x65efc1=_0x23f86f['sigBytes'],_0x2343d7=this['blockSize'],_0x4ca0ac=_0x2343d7*0x4,_0x507f74=_0x65efc1/_0x4ca0ac;_0x4b842e?_0x507f74=_0x438f15[_0x1076a6(0x28b)](_0x507f74):_0x507f74=_0x438f15[_0x1076a6(0x4ae)]((_0x507f74|0x0)-this[_0x1076a6(0x3fb)],0x0);var _0x4bfb02=_0x507f74*_0x2343d7,_0x3b0b00=_0x438f15[_0x1076a6(0x29c)](_0x4bfb02*0x4,_0x65efc1);if(_0x4bfb02){for(var _0x545e5e=0x0;_0x545e5e<_0x4bfb02;_0x545e5e+=_0x2343d7)this[_0x1076a6(0x1e1)](_0x1229b6,_0x545e5e);_0x1c7d71=_0x1229b6[_0x1076a6(0x293)](0x0,_0x4bfb02),_0x23f86f[_0x1076a6(0x498)]-=_0x3b0b00;}return new _0x37c423[(_0x1076a6(0x39c))](_0x1c7d71,_0x3b0b00);},'clone':function(){var _0x34403a=_0x570da0,_0x83de47=_0x1262de[_0x34403a(0x2f1)]['call'](this);return _0x83de47[_0x34403a(0x382)]=this['_data'][_0x34403a(0x2f1)](),_0x83de47;},'_minBufferSize':0x0});_0x292532[_0x570da0(0x33c)]=_0x162aac[_0x570da0(0x192)]({'cfg':_0x1262de['extend'](),'init':function(_0x5274f0){var _0xe43164=_0x570da0;this['cfg']=this['cfg']['extend'](_0x5274f0),this[_0xe43164(0x312)]();},'reset':function(){var _0x36de2d=_0x570da0;_0x162aac[_0x36de2d(0x312)]['call'](this),this[_0x36de2d(0x351)]();},'update':function(_0x1e8325){var _0x21d6bb=_0x570da0;return this[_0x21d6bb(0x35b)](_0x1e8325),this['_process'](),this;},'finalize':function(_0x49a1db){var _0x3c5e6f=_0x570da0;_0x49a1db&&this[_0x3c5e6f(0x35b)](_0x49a1db);var _0x396b01=this[_0x3c5e6f(0x45a)]();return _0x396b01;},'blockSize':0x10,'_createHelper':function(_0x3b43db){return function(_0x10f0cb,_0xd2354b){var _0x12743e=_0x83cd;return new _0x3b43db['init'](_0xd2354b)[_0x12743e(0x3ca)](_0x10f0cb);};},'_createHmacHelper':function(_0x318175){return function(_0x36ef8f,_0x656f88){var _0x3583f9=_0x83cd;return new _0x25b2b8['HMAC'][(_0x3583f9(0x39c))](_0x318175,_0x656f88)[_0x3583f9(0x3ca)](_0x36ef8f);};}});var _0x25b2b8=_0x42296f[_0x570da0(0x3ce)]={};return _0x42296f;}(Math);return _0x3539d1;}));}(pe)),pe[_0x48bd4e(0x40c)];}function _0x83cd(_0x523b8a,_0x50f329){var _0x552f6d=_0x552f();return _0x83cd=function(_0x83cddb,_0x57fa11){_0x83cddb=_0x83cddb-0x173;var _0x487cf6=_0x552f6d[_0x83cddb];return _0x487cf6;},_0x83cd(_0x523b8a,_0x50f329);}var ge={'exports':{}},qi=ge[_0xbef4ca(0x40c)],et;function Dt(){return et||(et=0x1,function(_0x389c4c,_0x522e53){(function(_0x53d378,_0x12018f){var _0x571c6b=_0x83cd;_0x389c4c[_0x571c6b(0x40c)]=_0x12018f(ee());}(qi,function(_0x2238de){var _0x4728ac=_0x83cd;return(function(){var _0x3724fb=_0x83cd,_0x2d7917=_0x2238de,_0x141ebe=_0x2d7917['lib'],_0x4afea0=_0x141ebe['WordArray'],_0x50fef0=_0x2d7917[_0x3724fb(0x207)];_0x50fef0['Base64']={'stringify':function(_0x2d1207){var _0xdc44ee=_0x3724fb,_0x330628=_0x2d1207[_0xdc44ee(0x4d0)],_0x1ffe74=_0x2d1207[_0xdc44ee(0x498)],_0x37436a=this[_0xdc44ee(0x4cb)];_0x2d1207['clamp']();for(var _0x35f2c3=[],_0x1d65d1=0x0;_0x1d65d1<_0x1ffe74;_0x1d65d1+=0x3)for(var _0x110d3b=_0x330628[_0x1d65d1>>>0x2]>>>0x18-_0x1d65d1%0x4*0x8&0xff,_0x330619=_0x330628[_0x1d65d1+0x1>>>0x2]>>>0x18-(_0x1d65d1+0x1)%0x4*0x8&0xff,_0x301745=_0x330628[_0x1d65d1+0x2>>>0x2]>>>0x18-(_0x1d65d1+0x2)%0x4*0x8&0xff,_0x27fba1=_0x110d3b<<0x10|_0x330619<<0x8|_0x301745,_0x595700=0x0;_0x595700<0x4&&_0x1d65d1+_0x595700*0.75<_0x1ffe74;_0x595700++)_0x35f2c3['push'](_0x37436a[_0xdc44ee(0x449)](_0x27fba1>>>0x6*(0x3-_0x595700)&0x3f));var _0x4c2d60=_0x37436a[_0xdc44ee(0x449)](0x40);if(_0x4c2d60){for(;_0x35f2c3[_0xdc44ee(0x3f5)]%0x4;)_0x35f2c3['push'](_0x4c2d60);}return _0x35f2c3['join']('');},'parse':function(_0x3deabc){var _0x288f69=_0x3724fb,_0xd586e0=_0x3deabc[_0x288f69(0x3f5)],_0x3c50ee=this[_0x288f69(0x4cb)],_0x41d3c8=this[_0x288f69(0x4ea)];if(!_0x41d3c8){_0x41d3c8=this['_reverseMap']=[];for(var _0x5088ec=0x0;_0x5088ec<_0x3c50ee[_0x288f69(0x3f5)];_0x5088ec++)_0x41d3c8[_0x3c50ee[_0x288f69(0x249)](_0x5088ec)]=_0x5088ec;}var _0x692c20=_0x3c50ee['charAt'](0x40);if(_0x692c20){var _0x1958b8=_0x3deabc[_0x288f69(0x19a)](_0x692c20);_0x1958b8!==-0x1&&(_0xd586e0=_0x1958b8);}return _0x122e24(_0x3deabc,_0xd586e0,_0x41d3c8);},'_map':_0x3724fb(0x458)};function _0x122e24(_0x334d48,_0x3e67e9,_0xa7f84c){var _0x57a3e6=_0x3724fb;for(var _0xbaceec=[],_0x123e60=0x0,_0x48737c=0x0;_0x48737c<_0x3e67e9;_0x48737c++)if(_0x48737c%0x4){var _0x37dab3=_0xa7f84c[_0x334d48[_0x57a3e6(0x249)](_0x48737c-0x1)]<<_0x48737c%0x4*0x2,_0x59afed=_0xa7f84c[_0x334d48[_0x57a3e6(0x249)](_0x48737c)]>>>0x6-_0x48737c%0x4*0x2,_0x142a99=_0x37dab3|_0x59afed;_0xbaceec[_0x123e60>>>0x2]|=_0x142a99<<0x18-_0x123e60%0x4*0x8,_0x123e60++;}return _0x4afea0[_0x57a3e6(0x2de)](_0xbaceec,_0x123e60);}}()),_0x2238de['enc'][_0x4728ac(0x1f0)];}));}(ge)),ge['exports'];}var me={'exports':{}},zi=me[_0xbef4ca(0x40c)],tt;function Ji(){return tt||(tt=0x1,function(_0x2df228,_0x33e308){(function(_0x4a8277,_0x266433){var _0xe29d5f=_0x83cd;_0x2df228[_0xe29d5f(0x40c)]=_0x266433(ee());}(zi,function(_0x37deb2){return function(_0x2b3514){var _0x15de8a=_0x83cd,_0x3c64ce=_0x37deb2,_0x234926=_0x3c64ce['lib'],_0x4dfd99=_0x234926[_0x15de8a(0x3b4)],_0x28e607=_0x234926[_0x15de8a(0x33c)],_0x3fcbfb=_0x3c64ce['algo'],_0xd7a2e9=[];(function(){var _0x5b519e=_0x15de8a;for(var _0x25fcff=0x0;_0x25fcff<0x40;_0x25fcff++)_0xd7a2e9[_0x25fcff]=_0x2b3514[_0x5b519e(0x211)](_0x2b3514[_0x5b519e(0x1ed)](_0x25fcff+0x1))*0x100000000|0x0;}());var _0x515ffb=_0x3fcbfb[_0x15de8a(0x432)]=_0x28e607[_0x15de8a(0x192)]({'_doReset':function(){var _0x544f58=_0x15de8a;this[_0x544f58(0x241)]=new _0x4dfd99[(_0x544f58(0x39c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2104d0,_0x35ac0c){var _0x53c5b9=_0x15de8a;for(var _0x1e4fc4=0x0;_0x1e4fc4<0x10;_0x1e4fc4++){var _0x2b24e4=_0x35ac0c+_0x1e4fc4,_0x30ed68=_0x2104d0[_0x2b24e4];_0x2104d0[_0x2b24e4]=(_0x30ed68<<0x8|_0x30ed68>>>0x18)&0xff00ff|(_0x30ed68<<0x18|_0x30ed68>>>0x8)&0xff00ff00;}var _0x1d2043=this[_0x53c5b9(0x241)]['words'],_0x216581=_0x2104d0[_0x35ac0c+0x0],_0x1c3cd2=_0x2104d0[_0x35ac0c+0x1],_0xbdb379=_0x2104d0[_0x35ac0c+0x2],_0x43234f=_0x2104d0[_0x35ac0c+0x3],_0x26782f=_0x2104d0[_0x35ac0c+0x4],_0x34044c=_0x2104d0[_0x35ac0c+0x5],_0x118ddb=_0x2104d0[_0x35ac0c+0x6],_0x28b09a=_0x2104d0[_0x35ac0c+0x7],_0x3b1cfb=_0x2104d0[_0x35ac0c+0x8],_0x57a7e3=_0x2104d0[_0x35ac0c+0x9],_0x3c1ba8=_0x2104d0[_0x35ac0c+0xa],_0x29129a=_0x2104d0[_0x35ac0c+0xb],_0x3fc6c6=_0x2104d0[_0x35ac0c+0xc],_0x4055a4=_0x2104d0[_0x35ac0c+0xd],_0x4538a6=_0x2104d0[_0x35ac0c+0xe],_0x25b99d=_0x2104d0[_0x35ac0c+0xf],_0x19e4c5=_0x1d2043[0x0],_0x20a855=_0x1d2043[0x1],_0x4749d4=_0x1d2043[0x2],_0x557d84=_0x1d2043[0x3];_0x19e4c5=_0x2fa7cb(_0x19e4c5,_0x20a855,_0x4749d4,_0x557d84,_0x216581,0x7,_0xd7a2e9[0x0]),_0x557d84=_0x2fa7cb(_0x557d84,_0x19e4c5,_0x20a855,_0x4749d4,_0x1c3cd2,0xc,_0xd7a2e9[0x1]),_0x4749d4=_0x2fa7cb(_0x4749d4,_0x557d84,_0x19e4c5,_0x20a855,_0xbdb379,0x11,_0xd7a2e9[0x2]),_0x20a855=_0x2fa7cb(_0x20a855,_0x4749d4,_0x557d84,_0x19e4c5,_0x43234f,0x16,_0xd7a2e9[0x3]),_0x19e4c5=_0x2fa7cb(_0x19e4c5,_0x20a855,_0x4749d4,_0x557d84,_0x26782f,0x7,_0xd7a2e9[0x4]),_0x557d84=_0x2fa7cb(_0x557d84,_0x19e4c5,_0x20a855,_0x4749d4,_0x34044c,0xc,_0xd7a2e9[0x5]),_0x4749d4=_0x2fa7cb(_0x4749d4,_0x557d84,_0x19e4c5,_0x20a855,_0x118ddb,0x11,_0xd7a2e9[0x6]),_0x20a855=_0x2fa7cb(_0x20a855,_0x4749d4,_0x557d84,_0x19e4c5,_0x28b09a,0x16,_0xd7a2e9[0x7]),_0x19e4c5=_0x2fa7cb(_0x19e4c5,_0x20a855,_0x4749d4,_0x557d84,_0x3b1cfb,0x7,_0xd7a2e9[0x8]),_0x557d84=_0x2fa7cb(_0x557d84,_0x19e4c5,_0x20a855,_0x4749d4,_0x57a7e3,0xc,_0xd7a2e9[0x9]),_0x4749d4=_0x2fa7cb(_0x4749d4,_0x557d84,_0x19e4c5,_0x20a855,_0x3c1ba8,0x11,_0xd7a2e9[0xa]),_0x20a855=_0x2fa7cb(_0x20a855,_0x4749d4,_0x557d84,_0x19e4c5,_0x29129a,0x16,_0xd7a2e9[0xb]),_0x19e4c5=_0x2fa7cb(_0x19e4c5,_0x20a855,_0x4749d4,_0x557d84,_0x3fc6c6,0x7,_0xd7a2e9[0xc]),_0x557d84=_0x2fa7cb(_0x557d84,_0x19e4c5,_0x20a855,_0x4749d4,_0x4055a4,0xc,_0xd7a2e9[0xd]),_0x4749d4=_0x2fa7cb(_0x4749d4,_0x557d84,_0x19e4c5,_0x20a855,_0x4538a6,0x11,_0xd7a2e9[0xe]),_0x20a855=_0x2fa7cb(_0x20a855,_0x4749d4,_0x557d84,_0x19e4c5,_0x25b99d,0x16,_0xd7a2e9[0xf]),_0x19e4c5=_0x25e151(_0x19e4c5,_0x20a855,_0x4749d4,_0x557d84,_0x1c3cd2,0x5,_0xd7a2e9[0x10]),_0x557d84=_0x25e151(_0x557d84,_0x19e4c5,_0x20a855,_0x4749d4,_0x118ddb,0x9,_0xd7a2e9[0x11]),_0x4749d4=_0x25e151(_0x4749d4,_0x557d84,_0x19e4c5,_0x20a855,_0x29129a,0xe,_0xd7a2e9[0x12]),_0x20a855=_0x25e151(_0x20a855,_0x4749d4,_0x557d84,_0x19e4c5,_0x216581,0x14,_0xd7a2e9[0x13]),_0x19e4c5=_0x25e151(_0x19e4c5,_0x20a855,_0x4749d4,_0x557d84,_0x34044c,0x5,_0xd7a2e9[0x14]),_0x557d84=_0x25e151(_0x557d84,_0x19e4c5,_0x20a855,_0x4749d4,_0x3c1ba8,0x9,_0xd7a2e9[0x15]),_0x4749d4=_0x25e151(_0x4749d4,_0x557d84,_0x19e4c5,_0x20a855,_0x25b99d,0xe,_0xd7a2e9[0x16]),_0x20a855=_0x25e151(_0x20a855,_0x4749d4,_0x557d84,_0x19e4c5,_0x26782f,0x14,_0xd7a2e9[0x17]),_0x19e4c5=_0x25e151(_0x19e4c5,_0x20a855,_0x4749d4,_0x557d84,_0x57a7e3,0x5,_0xd7a2e9[0x18]),_0x557d84=_0x25e151(_0x557d84,_0x19e4c5,_0x20a855,_0x4749d4,_0x4538a6,0x9,_0xd7a2e9[0x19]),_0x4749d4=_0x25e151(_0x4749d4,_0x557d84,_0x19e4c5,_0x20a855,_0x43234f,0xe,_0xd7a2e9[0x1a]),_0x20a855=_0x25e151(_0x20a855,_0x4749d4,_0x557d84,_0x19e4c5,_0x3b1cfb,0x14,_0xd7a2e9[0x1b]),_0x19e4c5=_0x25e151(_0x19e4c5,_0x20a855,_0x4749d4,_0x557d84,_0x4055a4,0x5,_0xd7a2e9[0x1c]),_0x557d84=_0x25e151(_0x557d84,_0x19e4c5,_0x20a855,_0x4749d4,_0xbdb379,0x9,_0xd7a2e9[0x1d]),_0x4749d4=_0x25e151(_0x4749d4,_0x557d84,_0x19e4c5,_0x20a855,_0x28b09a,0xe,_0xd7a2e9[0x1e]),_0x20a855=_0x25e151(_0x20a855,_0x4749d4,_0x557d84,_0x19e4c5,_0x3fc6c6,0x14,_0xd7a2e9[0x1f]),_0x19e4c5=_0xbb3620(_0x19e4c5,_0x20a855,_0x4749d4,_0x557d84,_0x34044c,0x4,_0xd7a2e9[0x20]),_0x557d84=_0xbb3620(_0x557d84,_0x19e4c5,_0x20a855,_0x4749d4,_0x3b1cfb,0xb,_0xd7a2e9[0x21]),_0x4749d4=_0xbb3620(_0x4749d4,_0x557d84,_0x19e4c5,_0x20a855,_0x29129a,0x10,_0xd7a2e9[0x22]),_0x20a855=_0xbb3620(_0x20a855,_0x4749d4,_0x557d84,_0x19e4c5,_0x4538a6,0x17,_0xd7a2e9[0x23]),_0x19e4c5=_0xbb3620(_0x19e4c5,_0x20a855,_0x4749d4,_0x557d84,_0x1c3cd2,0x4,_0xd7a2e9[0x24]),_0x557d84=_0xbb3620(_0x557d84,_0x19e4c5,_0x20a855,_0x4749d4,_0x26782f,0xb,_0xd7a2e9[0x25]),_0x4749d4=_0xbb3620(_0x4749d4,_0x557d84,_0x19e4c5,_0x20a855,_0x28b09a,0x10,_0xd7a2e9[0x26]),_0x20a855=_0xbb3620(_0x20a855,_0x4749d4,_0x557d84,_0x19e4c5,_0x3c1ba8,0x17,_0xd7a2e9[0x27]),_0x19e4c5=_0xbb3620(_0x19e4c5,_0x20a855,_0x4749d4,_0x557d84,_0x4055a4,0x4,_0xd7a2e9[0x28]),_0x557d84=_0xbb3620(_0x557d84,_0x19e4c5,_0x20a855,_0x4749d4,_0x216581,0xb,_0xd7a2e9[0x29]),_0x4749d4=_0xbb3620(_0x4749d4,_0x557d84,_0x19e4c5,_0x20a855,_0x43234f,0x10,_0xd7a2e9[0x2a]),_0x20a855=_0xbb3620(_0x20a855,_0x4749d4,_0x557d84,_0x19e4c5,_0x118ddb,0x17,_0xd7a2e9[0x2b]),_0x19e4c5=_0xbb3620(_0x19e4c5,_0x20a855,_0x4749d4,_0x557d84,_0x57a7e3,0x4,_0xd7a2e9[0x2c]),_0x557d84=_0xbb3620(_0x557d84,_0x19e4c5,_0x20a855,_0x4749d4,_0x3fc6c6,0xb,_0xd7a2e9[0x2d]),_0x4749d4=_0xbb3620(_0x4749d4,_0x557d84,_0x19e4c5,_0x20a855,_0x25b99d,0x10,_0xd7a2e9[0x2e]),_0x20a855=_0xbb3620(_0x20a855,_0x4749d4,_0x557d84,_0x19e4c5,_0xbdb379,0x17,_0xd7a2e9[0x2f]),_0x19e4c5=_0x5ded91(_0x19e4c5,_0x20a855,_0x4749d4,_0x557d84,_0x216581,0x6,_0xd7a2e9[0x30]),_0x557d84=_0x5ded91(_0x557d84,_0x19e4c5,_0x20a855,_0x4749d4,_0x28b09a,0xa,_0xd7a2e9[0x31]),_0x4749d4=_0x5ded91(_0x4749d4,_0x557d84,_0x19e4c5,_0x20a855,_0x4538a6,0xf,_0xd7a2e9[0x32]),_0x20a855=_0x5ded91(_0x20a855,_0x4749d4,_0x557d84,_0x19e4c5,_0x34044c,0x15,_0xd7a2e9[0x33]),_0x19e4c5=_0x5ded91(_0x19e4c5,_0x20a855,_0x4749d4,_0x557d84,_0x3fc6c6,0x6,_0xd7a2e9[0x34]),_0x557d84=_0x5ded91(_0x557d84,_0x19e4c5,_0x20a855,_0x4749d4,_0x43234f,0xa,_0xd7a2e9[0x35]),_0x4749d4=_0x5ded91(_0x4749d4,_0x557d84,_0x19e4c5,_0x20a855,_0x3c1ba8,0xf,_0xd7a2e9[0x36]),_0x20a855=_0x5ded91(_0x20a855,_0x4749d4,_0x557d84,_0x19e4c5,_0x1c3cd2,0x15,_0xd7a2e9[0x37]),_0x19e4c5=_0x5ded91(_0x19e4c5,_0x20a855,_0x4749d4,_0x557d84,_0x3b1cfb,0x6,_0xd7a2e9[0x38]),_0x557d84=_0x5ded91(_0x557d84,_0x19e4c5,_0x20a855,_0x4749d4,_0x25b99d,0xa,_0xd7a2e9[0x39]),_0x4749d4=_0x5ded91(_0x4749d4,_0x557d84,_0x19e4c5,_0x20a855,_0x118ddb,0xf,_0xd7a2e9[0x3a]),_0x20a855=_0x5ded91(_0x20a855,_0x4749d4,_0x557d84,_0x19e4c5,_0x4055a4,0x15,_0xd7a2e9[0x3b]),_0x19e4c5=_0x5ded91(_0x19e4c5,_0x20a855,_0x4749d4,_0x557d84,_0x26782f,0x6,_0xd7a2e9[0x3c]),_0x557d84=_0x5ded91(_0x557d84,_0x19e4c5,_0x20a855,_0x4749d4,_0x29129a,0xa,_0xd7a2e9[0x3d]),_0x4749d4=_0x5ded91(_0x4749d4,_0x557d84,_0x19e4c5,_0x20a855,_0xbdb379,0xf,_0xd7a2e9[0x3e]),_0x20a855=_0x5ded91(_0x20a855,_0x4749d4,_0x557d84,_0x19e4c5,_0x57a7e3,0x15,_0xd7a2e9[0x3f]),_0x1d2043[0x0]=_0x1d2043[0x0]+_0x19e4c5|0x0,_0x1d2043[0x1]=_0x1d2043[0x1]+_0x20a855|0x0,_0x1d2043[0x2]=_0x1d2043[0x2]+_0x4749d4|0x0,_0x1d2043[0x3]=_0x1d2043[0x3]+_0x557d84|0x0;},'_doFinalize':function(){var _0x5d4a40=_0x15de8a,_0x3088ac=this[_0x5d4a40(0x382)],_0x159544=_0x3088ac[_0x5d4a40(0x4d0)],_0x8ecc74=this['_nDataBytes']*0x8,_0x30145f=_0x3088ac[_0x5d4a40(0x498)]*0x8;_0x159544[_0x30145f>>>0x5]|=0x80<<0x18-_0x30145f%0x20;var _0x2cff9c=_0x2b3514[_0x5d4a40(0x44f)](_0x8ecc74/0x100000000),_0x49ff48=_0x8ecc74;_0x159544[(_0x30145f+0x40>>>0x9<<0x4)+0xf]=(_0x2cff9c<<0x8|_0x2cff9c>>>0x18)&0xff00ff|(_0x2cff9c<<0x18|_0x2cff9c>>>0x8)&0xff00ff00,_0x159544[(_0x30145f+0x40>>>0x9<<0x4)+0xe]=(_0x49ff48<<0x8|_0x49ff48>>>0x18)&0xff00ff|(_0x49ff48<<0x18|_0x49ff48>>>0x8)&0xff00ff00,_0x3088ac[_0x5d4a40(0x498)]=(_0x159544[_0x5d4a40(0x3f5)]+0x1)*0x4,this[_0x5d4a40(0x30d)]();for(var _0x5447fa=this[_0x5d4a40(0x241)],_0x5486b6=_0x5447fa[_0x5d4a40(0x4d0)],_0x4a00b6=0x0;_0x4a00b6<0x4;_0x4a00b6++){var _0x397f5e=_0x5486b6[_0x4a00b6];_0x5486b6[_0x4a00b6]=(_0x397f5e<<0x8|_0x397f5e>>>0x18)&0xff00ff|(_0x397f5e<<0x18|_0x397f5e>>>0x8)&0xff00ff00;}return _0x5447fa;},'clone':function(){var _0x3a650d=_0x15de8a,_0x4ae5c3=_0x28e607['clone']['call'](this);return _0x4ae5c3[_0x3a650d(0x241)]=this[_0x3a650d(0x241)][_0x3a650d(0x2f1)](),_0x4ae5c3;}});function _0x2fa7cb(_0x274530,_0x4ebc85,_0x3d704d,_0xc98f49,_0x92abae,_0x24edc8,_0x547233){var _0x2851b9=_0x274530+(_0x4ebc85&_0x3d704d|~_0x4ebc85&_0xc98f49)+_0x92abae+_0x547233;return(_0x2851b9<<_0x24edc8|_0x2851b9>>>0x20-_0x24edc8)+_0x4ebc85;}function _0x25e151(_0x401dde,_0x4cbec1,_0x5ef61f,_0x304799,_0x14d500,_0x45feef,_0x39e634){var _0x842eb7=_0x401dde+(_0x4cbec1&_0x304799|_0x5ef61f&~_0x304799)+_0x14d500+_0x39e634;return(_0x842eb7<<_0x45feef|_0x842eb7>>>0x20-_0x45feef)+_0x4cbec1;}function _0xbb3620(_0x284c11,_0x101071,_0x3fee6e,_0x945c5c,_0x1325b0,_0x2145b1,_0x45d72b){var _0x3312c7=_0x284c11+(_0x101071^_0x3fee6e^_0x945c5c)+_0x1325b0+_0x45d72b;return(_0x3312c7<<_0x2145b1|_0x3312c7>>>0x20-_0x2145b1)+_0x101071;}function _0x5ded91(_0x2e7be1,_0x551cef,_0x308d74,_0x16bbd7,_0x424a6d,_0x4730ac,_0x2dc2a7){var _0x728f49=_0x2e7be1+(_0x308d74^(_0x551cef|~_0x16bbd7))+_0x424a6d+_0x2dc2a7;return(_0x728f49<<_0x4730ac|_0x728f49>>>0x20-_0x4730ac)+_0x551cef;}_0x3c64ce['MD5']=_0x28e607[_0x15de8a(0x1da)](_0x515ffb),_0x3c64ce[_0x15de8a(0x4c7)]=_0x28e607[_0x15de8a(0x371)](_0x515ffb);}(Math),_0x37deb2['MD5'];}));}(me)),me['exports'];}var Ie={'exports':{}},Ee={'exports':{}},Xi=Ee[_0xbef4ca(0x40c)],it;function Zi(){var _0x37a223=_0xbef4ca;return it||(it=0x1,function(_0x139f9b,_0x2ecdc7){(function(_0x3e12dd,_0x3292af){_0x139f9b['exports']=_0x3292af(ee());}(Xi,function(_0x7d576d){var _0x594c49=_0x83cd;return(function(){var _0x58f576=_0x83cd,_0x49173b=_0x7d576d,_0x44c72e=_0x49173b[_0x58f576(0x347)],_0x52bed5=_0x44c72e[_0x58f576(0x3b4)],_0x309c3d=_0x44c72e[_0x58f576(0x33c)],_0x2cdf62=_0x49173b[_0x58f576(0x3ce)],_0x540e94=[],_0x45639e=_0x2cdf62[_0x58f576(0x258)]=_0x309c3d[_0x58f576(0x192)]({'_doReset':function(){var _0x40cbaa=_0x58f576;this[_0x40cbaa(0x241)]=new _0x52bed5[(_0x40cbaa(0x39c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xc47827,_0x1e0d6d){var _0x527cd3=_0x58f576;for(var _0x566473=this[_0x527cd3(0x241)][_0x527cd3(0x4d0)],_0x28c7f5=_0x566473[0x0],_0xbcd697=_0x566473[0x1],_0x4842fe=_0x566473[0x2],_0x38b926=_0x566473[0x3],_0x34ff21=_0x566473[0x4],_0x1ddf98=0x0;_0x1ddf98<0x50;_0x1ddf98++){if(_0x1ddf98<0x10)_0x540e94[_0x1ddf98]=_0xc47827[_0x1e0d6d+_0x1ddf98]|0x0;else{var _0x7f6d47=_0x540e94[_0x1ddf98-0x3]^_0x540e94[_0x1ddf98-0x8]^_0x540e94[_0x1ddf98-0xe]^_0x540e94[_0x1ddf98-0x10];_0x540e94[_0x1ddf98]=_0x7f6d47<<0x1|_0x7f6d47>>>0x1f;}var _0x4c8ade=(_0x28c7f5<<0x5|_0x28c7f5>>>0x1b)+_0x34ff21+_0x540e94[_0x1ddf98];_0x1ddf98<0x14?_0x4c8ade+=(_0xbcd697&_0x4842fe|~_0xbcd697&_0x38b926)+0x5a827999:_0x1ddf98<0x28?_0x4c8ade+=(_0xbcd697^_0x4842fe^_0x38b926)+0x6ed9eba1:_0x1ddf98<0x3c?_0x4c8ade+=(_0xbcd697&_0x4842fe|_0xbcd697&_0x38b926|_0x4842fe&_0x38b926)-0x70e44324:_0x4c8ade+=(_0xbcd697^_0x4842fe^_0x38b926)-0x359d3e2a,_0x34ff21=_0x38b926,_0x38b926=_0x4842fe,_0x4842fe=_0xbcd697<<0x1e|_0xbcd697>>>0x2,_0xbcd697=_0x28c7f5,_0x28c7f5=_0x4c8ade;}_0x566473[0x0]=_0x566473[0x0]+_0x28c7f5|0x0,_0x566473[0x1]=_0x566473[0x1]+_0xbcd697|0x0,_0x566473[0x2]=_0x566473[0x2]+_0x4842fe|0x0,_0x566473[0x3]=_0x566473[0x3]+_0x38b926|0x0,_0x566473[0x4]=_0x566473[0x4]+_0x34ff21|0x0;},'_doFinalize':function(){var _0x586831=_0x58f576,_0x2af314=this[_0x586831(0x382)],_0x8f5011=_0x2af314['words'],_0x3e81e7=this[_0x586831(0x3f9)]*0x8,_0x5ea501=_0x2af314[_0x586831(0x498)]*0x8;return _0x8f5011[_0x5ea501>>>0x5]|=0x80<<0x18-_0x5ea501%0x20,_0x8f5011[(_0x5ea501+0x40>>>0x9<<0x4)+0xe]=Math[_0x586831(0x44f)](_0x3e81e7/0x100000000),_0x8f5011[(_0x5ea501+0x40>>>0x9<<0x4)+0xf]=_0x3e81e7,_0x2af314[_0x586831(0x498)]=_0x8f5011[_0x586831(0x3f5)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x4c104a=_0x58f576,_0x145151=_0x309c3d[_0x4c104a(0x2f1)][_0x4c104a(0x24b)](this);return _0x145151[_0x4c104a(0x241)]=this[_0x4c104a(0x241)]['clone'](),_0x145151;}});_0x49173b[_0x58f576(0x258)]=_0x309c3d['_createHelper'](_0x45639e),_0x49173b[_0x58f576(0x18a)]=_0x309c3d[_0x58f576(0x371)](_0x45639e);}()),_0x7d576d[_0x594c49(0x258)];}));}(Ee)),Ee[_0x37a223(0x40c)];}var Ce={'exports':{}},Qi=Ce['exports'],nt;function en(){var _0x66691f=_0xbef4ca;return nt||(nt=0x1,function(_0x304fe0,_0x14881d){(function(_0x13318d,_0x5051e9){var _0xb8d872=_0x83cd;_0x304fe0[_0xb8d872(0x40c)]=_0x5051e9(ee());}(Qi,function(_0x59b3f5){(function(){var _0x49ebfd=_0x83cd,_0x2c115d=_0x59b3f5,_0x1a69a4=_0x2c115d[_0x49ebfd(0x347)],_0x2caad6=_0x1a69a4[_0x49ebfd(0x245)],_0x335a09=_0x2c115d[_0x49ebfd(0x207)],_0x114f9e=_0x335a09['Utf8'],_0x502c4c=_0x2c115d[_0x49ebfd(0x3ce)];_0x502c4c['HMAC']=_0x2caad6['extend']({'init':function(_0x158447,_0x418256){var _0x38dcee=_0x49ebfd;_0x158447=this[_0x38dcee(0x387)]=new _0x158447[(_0x38dcee(0x39c))](),typeof _0x418256==_0x38dcee(0x320)&&(_0x418256=_0x114f9e[_0x38dcee(0x28c)](_0x418256));var _0x41d7a2=_0x158447['blockSize'],_0x184ffa=_0x41d7a2*0x4;_0x418256[_0x38dcee(0x498)]>_0x184ffa&&(_0x418256=_0x158447[_0x38dcee(0x3ca)](_0x418256)),_0x418256[_0x38dcee(0x1d9)]();for(var _0x270e4a=this['_oKey']=_0x418256[_0x38dcee(0x2f1)](),_0x40fa7d=this[_0x38dcee(0x474)]=_0x418256[_0x38dcee(0x2f1)](),_0x1667db=_0x270e4a[_0x38dcee(0x4d0)],_0x34366a=_0x40fa7d[_0x38dcee(0x4d0)],_0x2df878=0x0;_0x2df878<_0x41d7a2;_0x2df878++)_0x1667db[_0x2df878]^=0x5c5c5c5c,_0x34366a[_0x2df878]^=0x36363636;_0x270e4a[_0x38dcee(0x498)]=_0x40fa7d[_0x38dcee(0x498)]=_0x184ffa,this[_0x38dcee(0x312)]();},'reset':function(){var _0x1ac046=_0x49ebfd,_0x5ac541=this['_hasher'];_0x5ac541[_0x1ac046(0x312)](),_0x5ac541[_0x1ac046(0x4c2)](this[_0x1ac046(0x474)]);},'update':function(_0x4e959b){var _0x3c582d=_0x49ebfd;return this['_hasher'][_0x3c582d(0x4c2)](_0x4e959b),this;},'finalize':function(_0x1f9f89){var _0xfc725b=_0x49ebfd,_0xf1f495=this[_0xfc725b(0x387)],_0x32a943=_0xf1f495[_0xfc725b(0x3ca)](_0x1f9f89);_0xf1f495[_0xfc725b(0x312)]();var _0x477dab=_0xf1f495[_0xfc725b(0x3ca)](this[_0xfc725b(0x3bc)]['clone']()[_0xfc725b(0x2c4)](_0x32a943));return _0x477dab;}});}());}));}(Ce)),Ce[_0x66691f(0x40c)];}var tn=Ie[_0xbef4ca(0x40c)],rt;function wt(){var _0x528f67=_0xbef4ca;return rt||(rt=0x1,function(_0x1a42f6,_0x4ee89e){(function(_0x4f048a,_0x128705,_0x2b7bab){var _0x393e68=_0x83cd;_0x1a42f6[_0x393e68(0x40c)]=_0x128705(ee(),Zi(),en());}(tn,function(_0xe137ff){var _0x344fb5=_0x83cd;return(function(){var _0x468c8a=_0x83cd,_0x1c763d=_0xe137ff,_0x1b8766=_0x1c763d[_0x468c8a(0x347)],_0x52cab9=_0x1b8766[_0x468c8a(0x245)],_0x57703e=_0x1b8766[_0x468c8a(0x3b4)],_0x12809d=_0x1c763d[_0x468c8a(0x3ce)],_0x596e95=_0x12809d[_0x468c8a(0x432)],_0x1907f7=_0x12809d[_0x468c8a(0x441)]=_0x52cab9[_0x468c8a(0x192)]({'cfg':_0x52cab9['extend']({'keySize':0x80/0x20,'hasher':_0x596e95,'iterations':0x1}),'init':function(_0x3b8081){var _0x21a2ee=_0x468c8a;this[_0x21a2ee(0x3d3)]=this[_0x21a2ee(0x3d3)][_0x21a2ee(0x192)](_0x3b8081);},'compute':function(_0x41262c,_0x1b564f){var _0x3bb118=_0x468c8a;for(var _0x16af08,_0x206f52=this[_0x3bb118(0x3d3)],_0x2af2a7=_0x206f52[_0x3bb118(0x3f7)][_0x3bb118(0x2de)](),_0x5e8864=_0x57703e[_0x3bb118(0x2de)](),_0x446dc1=_0x5e8864[_0x3bb118(0x4d0)],_0x31b009=_0x206f52[_0x3bb118(0x4c5)],_0x4e1173=_0x206f52[_0x3bb118(0x4d3)];_0x446dc1[_0x3bb118(0x3f5)]<_0x31b009;){_0x16af08&&_0x2af2a7[_0x3bb118(0x4c2)](_0x16af08),_0x16af08=_0x2af2a7[_0x3bb118(0x4c2)](_0x41262c)[_0x3bb118(0x3ca)](_0x1b564f),_0x2af2a7['reset']();for(var _0x461bf9=0x1;_0x461bf9<_0x4e1173;_0x461bf9++)_0x16af08=_0x2af2a7[_0x3bb118(0x3ca)](_0x16af08),_0x2af2a7['reset']();_0x5e8864[_0x3bb118(0x2c4)](_0x16af08);}return _0x5e8864[_0x3bb118(0x498)]=_0x31b009*0x4,_0x5e8864;}});_0x1c763d[_0x468c8a(0x441)]=function(_0x5a7abb,_0x3b5faf,_0x4ac40e){var _0x2e84a6=_0x468c8a;return _0x1907f7[_0x2e84a6(0x2de)](_0x4ac40e)['compute'](_0x5a7abb,_0x3b5faf);};}()),_0xe137ff[_0x344fb5(0x441)];}));}(Ie)),Ie[_0x528f67(0x40c)];}var Te={'exports':{}},nn=Te['exports'],st;function At(){var _0x924989=_0xbef4ca;return st||(st=0x1,function(_0x4c9701,_0x29869c){(function(_0x38520b,_0x3cedd7,_0x4ae85b){var _0x606ea3=_0x83cd;_0x4c9701[_0x606ea3(0x40c)]=_0x3cedd7(ee(),wt());}(nn,function(_0x40ec34){var _0x3a45c5=_0x83cd;_0x40ec34['lib'][_0x3a45c5(0x259)]||function(_0x2b2e1c){var _0xb38d1c=_0x3a45c5,_0x58b71a=_0x40ec34,_0x37104b=_0x58b71a[_0xb38d1c(0x347)],_0x52d194=_0x37104b[_0xb38d1c(0x245)],_0x58032d=_0x37104b[_0xb38d1c(0x3b4)],_0x3b9d34=_0x37104b[_0xb38d1c(0x455)],_0x57f825=_0x58b71a[_0xb38d1c(0x207)];_0x57f825['Utf8'];var _0x3b3ab9=_0x57f825[_0xb38d1c(0x1f0)],_0x2f6f8f=_0x58b71a['algo'],_0x215d1f=_0x2f6f8f[_0xb38d1c(0x441)],_0x111505=_0x37104b['Cipher']=_0x3b9d34[_0xb38d1c(0x192)]({'cfg':_0x52d194['extend'](),'createEncryptor':function(_0x38b367,_0x438a73){var _0x421774=_0xb38d1c;return this[_0x421774(0x2de)](this[_0x421774(0x308)],_0x38b367,_0x438a73);},'createDecryptor':function(_0x1aff41,_0x25ca74){return this['create'](this['_DEC_XFORM_MODE'],_0x1aff41,_0x25ca74);},'init':function(_0xc12fa4,_0x3000b5,_0x81f33e){var _0x2494bd=_0xb38d1c;this[_0x2494bd(0x3d3)]=this[_0x2494bd(0x3d3)]['extend'](_0x81f33e),this[_0x2494bd(0x34a)]=_0xc12fa4,this['_key']=_0x3000b5,this[_0x2494bd(0x312)]();},'reset':function(){var _0xf3b7a4=_0xb38d1c;_0x3b9d34[_0xf3b7a4(0x312)]['call'](this),this[_0xf3b7a4(0x351)]();},'process':function(_0x2ee5f6){var _0x416000=_0xb38d1c;return this[_0x416000(0x35b)](_0x2ee5f6),this[_0x416000(0x30d)]();},'finalize':function(_0x31e458){var _0x44f172=_0xb38d1c;_0x31e458&&this[_0x44f172(0x35b)](_0x31e458);var _0x2c9813=this['_doFinalize']();return _0x2c9813;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x275e38(_0x4b3e52){var _0x59e15e=_0x83cd;return typeof _0x4b3e52==_0x59e15e(0x320)?_0x13e767:_0x478610;}return function(_0x4f14b6){return{'encrypt':function(_0x5b1df5,_0x475326,_0x22feb5){var _0x4e649a=_0x83cd;return _0x275e38(_0x475326)[_0x4e649a(0x46e)](_0x4f14b6,_0x5b1df5,_0x475326,_0x22feb5);},'decrypt':function(_0x11510b,_0x37d681,_0x2ac15c){var _0x321c7c=_0x83cd;return _0x275e38(_0x37d681)[_0x321c7c(0x227)](_0x4f14b6,_0x11510b,_0x37d681,_0x2ac15c);}};};}())});_0x37104b[_0xb38d1c(0x244)]=_0x111505[_0xb38d1c(0x192)]({'_doFinalize':function(){var _0x3b2a89=_0xb38d1c,_0x691d30=this[_0x3b2a89(0x30d)](!0x0);return _0x691d30;},'blockSize':0x1});var _0x7325fb=_0x58b71a[_0xb38d1c(0x294)]={},_0x482ae5=_0x37104b[_0xb38d1c(0x25e)]=_0x52d194[_0xb38d1c(0x192)]({'createEncryptor':function(_0x507f48,_0x176c35){var _0x263590=_0xb38d1c;return this['Encryptor'][_0x263590(0x2de)](_0x507f48,_0x176c35);},'createDecryptor':function(_0x1e809a,_0x3ab085){var _0x2cade9=_0xb38d1c;return this[_0x2cade9(0x3fe)][_0x2cade9(0x2de)](_0x1e809a,_0x3ab085);},'init':function(_0xbb204e,_0x5cda61){var _0x18bc56=_0xb38d1c;this[_0x18bc56(0x454)]=_0xbb204e,this['_iv']=_0x5cda61;}}),_0x7f065a=_0x7325fb[_0xb38d1c(0x215)]=(function(){var _0x46a64b=_0xb38d1c,_0xe2392f=_0x482ae5[_0x46a64b(0x192)]();_0xe2392f['Encryptor']=_0xe2392f[_0x46a64b(0x192)]({'processBlock':function(_0x1ada2c,_0x4285e6){var _0x315bcf=_0x46a64b,_0x55c3a7=this[_0x315bcf(0x454)],_0x40c8e3=_0x55c3a7[_0x315bcf(0x403)];_0x72b33a[_0x315bcf(0x24b)](this,_0x1ada2c,_0x4285e6,_0x40c8e3),_0x55c3a7[_0x315bcf(0x487)](_0x1ada2c,_0x4285e6),this[_0x315bcf(0x47d)]=_0x1ada2c[_0x315bcf(0x3bb)](_0x4285e6,_0x4285e6+_0x40c8e3);}}),_0xe2392f[_0x46a64b(0x3fe)]=_0xe2392f[_0x46a64b(0x192)]({'processBlock':function(_0x56dd8f,_0xae5ad){var _0x352313=_0x46a64b,_0xb685a0=this[_0x352313(0x454)],_0x17ef0a=_0xb685a0[_0x352313(0x403)],_0x2e5223=_0x56dd8f[_0x352313(0x3bb)](_0xae5ad,_0xae5ad+_0x17ef0a);_0xb685a0['decryptBlock'](_0x56dd8f,_0xae5ad),_0x72b33a[_0x352313(0x24b)](this,_0x56dd8f,_0xae5ad,_0x17ef0a),this[_0x352313(0x47d)]=_0x2e5223;}});function _0x72b33a(_0x14fc76,_0x3245da,_0x33b52d){var _0x1c3629=_0x46a64b,_0x3dd5d9,_0x1e41eb=this[_0x1c3629(0x306)];_0x1e41eb?(_0x3dd5d9=_0x1e41eb,this[_0x1c3629(0x306)]=_0x2b2e1c):_0x3dd5d9=this['_prevBlock'];for(var _0x9de612=0x0;_0x9de612<_0x33b52d;_0x9de612++)_0x14fc76[_0x3245da+_0x9de612]^=_0x3dd5d9[_0x9de612];}return _0xe2392f;}()),_0x273379=_0x58b71a['pad']={},_0x1c06ec=_0x273379[_0xb38d1c(0x281)]={'pad':function(_0xd847b3,_0xaeb468){var _0x1b9d65=_0xb38d1c;for(var _0x4e8f39=_0xaeb468*0x4,_0x57662a=_0x4e8f39-_0xd847b3[_0x1b9d65(0x498)]%_0x4e8f39,_0x34319c=_0x57662a<<0x18|_0x57662a<<0x10|_0x57662a<<0x8|_0x57662a,_0x44c528=[],_0x326928=0x0;_0x326928<_0x57662a;_0x326928+=0x4)_0x44c528[_0x1b9d65(0x3ae)](_0x34319c);var _0x3cdbf1=_0x58032d[_0x1b9d65(0x2de)](_0x44c528,_0x57662a);_0xd847b3['concat'](_0x3cdbf1);},'unpad':function(_0x119c2d){var _0x593d66=_0xb38d1c,_0x3ab128=_0x119c2d[_0x593d66(0x4d0)][_0x119c2d['sigBytes']-0x1>>>0x2]&0xff;_0x119c2d[_0x593d66(0x498)]-=_0x3ab128;}};_0x37104b['BlockCipher']=_0x111505['extend']({'cfg':_0x111505[_0xb38d1c(0x3d3)][_0xb38d1c(0x192)]({'mode':_0x7f065a,'padding':_0x1c06ec}),'reset':function(){var _0x14ccd0=_0xb38d1c,_0x3128a5;_0x111505[_0x14ccd0(0x312)][_0x14ccd0(0x24b)](this);var _0x288bf3=this['cfg'],_0x53b60a=_0x288bf3['iv'],_0x21eb37=_0x288bf3[_0x14ccd0(0x294)];this[_0x14ccd0(0x34a)]==this[_0x14ccd0(0x308)]?_0x3128a5=_0x21eb37[_0x14ccd0(0x31a)]:(_0x3128a5=_0x21eb37[_0x14ccd0(0x20a)],this[_0x14ccd0(0x3fb)]=0x1),this[_0x14ccd0(0x187)]&&this[_0x14ccd0(0x187)][_0x14ccd0(0x1d0)]==_0x3128a5?this[_0x14ccd0(0x187)][_0x14ccd0(0x39c)](this,_0x53b60a&&_0x53b60a[_0x14ccd0(0x4d0)]):(this['_mode']=_0x3128a5[_0x14ccd0(0x24b)](_0x21eb37,this,_0x53b60a&&_0x53b60a[_0x14ccd0(0x4d0)]),this[_0x14ccd0(0x187)][_0x14ccd0(0x1d0)]=_0x3128a5);},'_doProcessBlock':function(_0x8921db,_0x3167a7){var _0x129a5d=_0xb38d1c;this[_0x129a5d(0x187)]['processBlock'](_0x8921db,_0x3167a7);},'_doFinalize':function(){var _0x39d4ff=_0xb38d1c,_0x4046c9,_0x3238e2=this[_0x39d4ff(0x3d3)][_0x39d4ff(0x224)];return this[_0x39d4ff(0x34a)]==this[_0x39d4ff(0x308)]?(_0x3238e2[_0x39d4ff(0x497)](this['_data'],this['blockSize']),_0x4046c9=this[_0x39d4ff(0x30d)](!0x0)):(_0x4046c9=this[_0x39d4ff(0x30d)](!0x0),_0x3238e2['unpad'](_0x4046c9)),_0x4046c9;},'blockSize':0x80/0x20});var _0x3fce42=_0x37104b['CipherParams']=_0x52d194['extend']({'init':function(_0x18db87){var _0x1ed38a=_0xb38d1c;this[_0x1ed38a(0x29f)](_0x18db87);},'toString':function(_0xdae765){var _0x53acee=_0xb38d1c;return(_0xdae765||this[_0x53acee(0x311)])[_0x53acee(0x295)](this);}}),_0x516d59=_0x58b71a[_0xb38d1c(0x4d2)]={},_0x1720e6=_0x516d59[_0xb38d1c(0x1ad)]={'stringify':function(_0x1ee400){var _0x1bb032=_0xb38d1c,_0x4f04e3,_0x3328fb=_0x1ee400[_0x1bb032(0x2a7)],_0x4391fc=_0x1ee400['salt'];return _0x4391fc?_0x4f04e3=_0x58032d[_0x1bb032(0x2de)]([0x53616c74,0x65645f5f])[_0x1bb032(0x2c4)](_0x4391fc)['concat'](_0x3328fb):_0x4f04e3=_0x3328fb,_0x4f04e3['toString'](_0x3b3ab9);},'parse':function(_0xb9c85b){var _0x19ef91=_0xb38d1c,_0xd02a8a,_0x10f8ed=_0x3b3ab9[_0x19ef91(0x28c)](_0xb9c85b),_0x4b9b02=_0x10f8ed[_0x19ef91(0x4d0)];return _0x4b9b02[0x0]==0x53616c74&&_0x4b9b02[0x1]==0x65645f5f&&(_0xd02a8a=_0x58032d[_0x19ef91(0x2de)](_0x4b9b02['slice'](0x2,0x4)),_0x4b9b02[_0x19ef91(0x293)](0x0,0x4),_0x10f8ed[_0x19ef91(0x498)]-=0x10),_0x3fce42[_0x19ef91(0x2de)]({'ciphertext':_0x10f8ed,'salt':_0xd02a8a});}},_0x478610=_0x37104b[_0xb38d1c(0x4fb)]=_0x52d194[_0xb38d1c(0x192)]({'cfg':_0x52d194['extend']({'format':_0x1720e6}),'encrypt':function(_0x39e60a,_0x44888c,_0x1be830,_0x468fc1){var _0x5c5abe=_0xb38d1c;_0x468fc1=this[_0x5c5abe(0x3d3)][_0x5c5abe(0x192)](_0x468fc1);var _0x18f76d=_0x39e60a[_0x5c5abe(0x31a)](_0x1be830,_0x468fc1),_0x638575=_0x18f76d[_0x5c5abe(0x3ca)](_0x44888c),_0x52d73b=_0x18f76d[_0x5c5abe(0x3d3)];return _0x3fce42[_0x5c5abe(0x2de)]({'ciphertext':_0x638575,'key':_0x1be830,'iv':_0x52d73b['iv'],'algorithm':_0x39e60a,'mode':_0x52d73b[_0x5c5abe(0x294)],'padding':_0x52d73b[_0x5c5abe(0x224)],'blockSize':_0x39e60a[_0x5c5abe(0x403)],'formatter':_0x468fc1[_0x5c5abe(0x4d2)]});},'decrypt':function(_0x56e6ee,_0xf5a016,_0x397d2a,_0x1f20fe){var _0x359a74=_0xb38d1c;_0x1f20fe=this['cfg']['extend'](_0x1f20fe),_0xf5a016=this[_0x359a74(0x36c)](_0xf5a016,_0x1f20fe[_0x359a74(0x4d2)]);var _0x1b7fad=_0x56e6ee['createDecryptor'](_0x397d2a,_0x1f20fe)[_0x359a74(0x3ca)](_0xf5a016[_0x359a74(0x2a7)]);return _0x1b7fad;},'_parse':function(_0x296eda,_0x286b44){var _0x57de94=_0xb38d1c;return typeof _0x296eda=='string'?_0x286b44[_0x57de94(0x28c)](_0x296eda,this):_0x296eda;}}),_0x1c0e59=_0x58b71a[_0xb38d1c(0x342)]={},_0x13c2fe=_0x1c0e59[_0xb38d1c(0x1ad)]={'execute':function(_0x4aa421,_0x55d530,_0x10636b,_0x595aaf,_0x8c925d){var _0x124d45=_0xb38d1c;if(_0x595aaf||(_0x595aaf=_0x58032d['random'](0x40/0x8)),_0x8c925d)var _0x48b99f=_0x215d1f['create']({'keySize':_0x55d530+_0x10636b,'hasher':_0x8c925d})['compute'](_0x4aa421,_0x595aaf);else var _0x48b99f=_0x215d1f[_0x124d45(0x2de)]({'keySize':_0x55d530+_0x10636b})[_0x124d45(0x2db)](_0x4aa421,_0x595aaf);var _0x1f34a0=_0x58032d[_0x124d45(0x2de)](_0x48b99f[_0x124d45(0x4d0)]['slice'](_0x55d530),_0x10636b*0x4);return _0x48b99f['sigBytes']=_0x55d530*0x4,_0x3fce42[_0x124d45(0x2de)]({'key':_0x48b99f,'iv':_0x1f34a0,'salt':_0x595aaf});}},_0x13e767=_0x37104b[_0xb38d1c(0x4bc)]=_0x478610[_0xb38d1c(0x192)]({'cfg':_0x478610[_0xb38d1c(0x3d3)][_0xb38d1c(0x192)]({'kdf':_0x13c2fe}),'encrypt':function(_0x5be965,_0x4aaa64,_0x1781e1,_0x16f300){var _0xc89bfb=_0xb38d1c;_0x16f300=this[_0xc89bfb(0x3d3)][_0xc89bfb(0x192)](_0x16f300);var _0x362d7b=_0x16f300[_0xc89bfb(0x342)]['execute'](_0x1781e1,_0x5be965[_0xc89bfb(0x4c5)],_0x5be965[_0xc89bfb(0x2cb)],_0x16f300['salt'],_0x16f300[_0xc89bfb(0x3f7)]);_0x16f300['iv']=_0x362d7b['iv'];var _0x4d008e=_0x478610['encrypt'][_0xc89bfb(0x24b)](this,_0x5be965,_0x4aaa64,_0x362d7b[_0xc89bfb(0x3a0)],_0x16f300);return _0x4d008e[_0xc89bfb(0x29f)](_0x362d7b),_0x4d008e;},'decrypt':function(_0x59adec,_0x5aafc4,_0x444587,_0x371840){var _0x261587=_0xb38d1c;_0x371840=this[_0x261587(0x3d3)][_0x261587(0x192)](_0x371840),_0x5aafc4=this[_0x261587(0x36c)](_0x5aafc4,_0x371840[_0x261587(0x4d2)]);var _0xa17ffe=_0x371840[_0x261587(0x342)][_0x261587(0x3cf)](_0x444587,_0x59adec['keySize'],_0x59adec[_0x261587(0x2cb)],_0x5aafc4[_0x261587(0x234)],_0x371840['hasher']);_0x371840['iv']=_0xa17ffe['iv'];var _0x34da84=_0x478610[_0x261587(0x227)][_0x261587(0x24b)](this,_0x59adec,_0x5aafc4,_0xa17ffe[_0x261587(0x3a0)],_0x371840);return _0x34da84;}});}();}));}(Te)),Te[_0x924989(0x40c)];}var rn=Se[_0xbef4ca(0x40c)],ot;function sn(){var _0x6151a3=_0xbef4ca;return ot||(ot=0x1,function(_0x386186,_0x180065){(function(_0x2ac4d3,_0x295f2a,_0x1e562b){var _0x27415c=_0x83cd;_0x386186[_0x27415c(0x40c)]=_0x295f2a(ee(),Dt(),Ji(),wt(),At());}(rn,function(_0x3c2674){var _0x47ebf6=_0x83cd;return(function(){var _0x29d7c5=_0x83cd,_0x23e921=_0x3c2674,_0x50cfdf=_0x23e921[_0x29d7c5(0x347)],_0x3c4f3e=_0x50cfdf[_0x29d7c5(0x3ba)],_0x30805f=_0x23e921[_0x29d7c5(0x3ce)],_0x315575=[],_0x17a8d4=[],_0x56b743=[],_0x433780=[],_0x3d1e19=[],_0x586200=[],_0x91b3df=[],_0x45b5e0=[],_0x370757=[],_0x2ad84f=[];(function(){for(var _0x37f3d3=[],_0x1a3633=0x0;_0x1a3633<0x100;_0x1a3633++)_0x1a3633<0x80?_0x37f3d3[_0x1a3633]=_0x1a3633<<0x1:_0x37f3d3[_0x1a3633]=_0x1a3633<<0x1^0x11b;for(var _0x3aaef3=0x0,_0x1b5f65=0x0,_0x1a3633=0x0;_0x1a3633<0x100;_0x1a3633++){var _0x1a8def=_0x1b5f65^_0x1b5f65<<0x1^_0x1b5f65<<0x2^_0x1b5f65<<0x3^_0x1b5f65<<0x4;_0x1a8def=_0x1a8def>>>0x8^_0x1a8def&0xff^0x63,_0x315575[_0x3aaef3]=_0x1a8def,_0x17a8d4[_0x1a8def]=_0x3aaef3;var _0x25ac98=_0x37f3d3[_0x3aaef3],_0x1ea911=_0x37f3d3[_0x25ac98],_0x4f7128=_0x37f3d3[_0x1ea911],_0x2642cc=_0x37f3d3[_0x1a8def]*0x101^_0x1a8def*0x1010100;_0x56b743[_0x3aaef3]=_0x2642cc<<0x18|_0x2642cc>>>0x8,_0x433780[_0x3aaef3]=_0x2642cc<<0x10|_0x2642cc>>>0x10,_0x3d1e19[_0x3aaef3]=_0x2642cc<<0x8|_0x2642cc>>>0x18,_0x586200[_0x3aaef3]=_0x2642cc;var _0x2642cc=_0x4f7128*0x1010101^_0x1ea911*0x10001^_0x25ac98*0x101^_0x3aaef3*0x1010100;_0x91b3df[_0x1a8def]=_0x2642cc<<0x18|_0x2642cc>>>0x8,_0x45b5e0[_0x1a8def]=_0x2642cc<<0x10|_0x2642cc>>>0x10,_0x370757[_0x1a8def]=_0x2642cc<<0x8|_0x2642cc>>>0x18,_0x2ad84f[_0x1a8def]=_0x2642cc,_0x3aaef3?(_0x3aaef3=_0x25ac98^_0x37f3d3[_0x37f3d3[_0x37f3d3[_0x4f7128^_0x25ac98]]],_0x1b5f65^=_0x37f3d3[_0x37f3d3[_0x1b5f65]]):_0x3aaef3=_0x1b5f65=0x1;}}());var _0x32eaf9=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xe112ef=_0x30805f[_0x29d7c5(0x2b7)]=_0x3c4f3e['extend']({'_doReset':function(){var _0x494cd3=_0x29d7c5,_0x3d8058;if(!(this[_0x494cd3(0x1fb)]&&this[_0x494cd3(0x2df)]===this[_0x494cd3(0x231)])){for(var _0x770b9a=this[_0x494cd3(0x2df)]=this[_0x494cd3(0x231)],_0xe7ab42=_0x770b9a[_0x494cd3(0x4d0)],_0x4f3135=_0x770b9a[_0x494cd3(0x498)]/0x4,_0x3b6fb7=this[_0x494cd3(0x1fb)]=_0x4f3135+0x6,_0x8dd73=(_0x3b6fb7+0x1)*0x4,_0x374875=this[_0x494cd3(0x248)]=[],_0xe3f217=0x0;_0xe3f217<_0x8dd73;_0xe3f217++)_0xe3f217<_0x4f3135?_0x374875[_0xe3f217]=_0xe7ab42[_0xe3f217]:(_0x3d8058=_0x374875[_0xe3f217-0x1],_0xe3f217%_0x4f3135?_0x4f3135>0x6&&_0xe3f217%_0x4f3135==0x4&&(_0x3d8058=_0x315575[_0x3d8058>>>0x18]<<0x18|_0x315575[_0x3d8058>>>0x10&0xff]<<0x10|_0x315575[_0x3d8058>>>0x8&0xff]<<0x8|_0x315575[_0x3d8058&0xff]):(_0x3d8058=_0x3d8058<<0x8|_0x3d8058>>>0x18,_0x3d8058=_0x315575[_0x3d8058>>>0x18]<<0x18|_0x315575[_0x3d8058>>>0x10&0xff]<<0x10|_0x315575[_0x3d8058>>>0x8&0xff]<<0x8|_0x315575[_0x3d8058&0xff],_0x3d8058^=_0x32eaf9[_0xe3f217/_0x4f3135|0x0]<<0x18),_0x374875[_0xe3f217]=_0x374875[_0xe3f217-_0x4f3135]^_0x3d8058);for(var _0x46dc38=this['_invKeySchedule']=[],_0x359e5e=0x0;_0x359e5e<_0x8dd73;_0x359e5e++){var _0xe3f217=_0x8dd73-_0x359e5e;if(_0x359e5e%0x4)var _0x3d8058=_0x374875[_0xe3f217];else var _0x3d8058=_0x374875[_0xe3f217-0x4];_0x359e5e<0x4||_0xe3f217<=0x4?_0x46dc38[_0x359e5e]=_0x3d8058:_0x46dc38[_0x359e5e]=_0x91b3df[_0x315575[_0x3d8058>>>0x18]]^_0x45b5e0[_0x315575[_0x3d8058>>>0x10&0xff]]^_0x370757[_0x315575[_0x3d8058>>>0x8&0xff]]^_0x2ad84f[_0x315575[_0x3d8058&0xff]];}}},'encryptBlock':function(_0x1eb965,_0x402c5){var _0x368490=_0x29d7c5;this[_0x368490(0x257)](_0x1eb965,_0x402c5,this[_0x368490(0x248)],_0x56b743,_0x433780,_0x3d1e19,_0x586200,_0x315575);},'decryptBlock':function(_0x329bcf,_0x2c46ae){var _0x33af48=_0x29d7c5,_0xdbf7dd=_0x329bcf[_0x2c46ae+0x1];_0x329bcf[_0x2c46ae+0x1]=_0x329bcf[_0x2c46ae+0x3],_0x329bcf[_0x2c46ae+0x3]=_0xdbf7dd,this['_doCryptBlock'](_0x329bcf,_0x2c46ae,this[_0x33af48(0x17b)],_0x91b3df,_0x45b5e0,_0x370757,_0x2ad84f,_0x17a8d4);var _0xdbf7dd=_0x329bcf[_0x2c46ae+0x1];_0x329bcf[_0x2c46ae+0x1]=_0x329bcf[_0x2c46ae+0x3],_0x329bcf[_0x2c46ae+0x3]=_0xdbf7dd;},'_doCryptBlock':function(_0x5ec542,_0x2aeabd,_0x2f22e5,_0x1d7801,_0x319275,_0x4f085d,_0x3b0b30,_0x420fab){for(var _0x26a38c=this['_nRounds'],_0x164b7a=_0x5ec542[_0x2aeabd]^_0x2f22e5[0x0],_0x4a90a1=_0x5ec542[_0x2aeabd+0x1]^_0x2f22e5[0x1],_0x5be33e=_0x5ec542[_0x2aeabd+0x2]^_0x2f22e5[0x2],_0x208330=_0x5ec542[_0x2aeabd+0x3]^_0x2f22e5[0x3],_0x47e313=0x4,_0x14eba3=0x1;_0x14eba3<_0x26a38c;_0x14eba3++){var _0x4a70f4=_0x1d7801[_0x164b7a>>>0x18]^_0x319275[_0x4a90a1>>>0x10&0xff]^_0x4f085d[_0x5be33e>>>0x8&0xff]^_0x3b0b30[_0x208330&0xff]^_0x2f22e5[_0x47e313++],_0x3b9dd4=_0x1d7801[_0x4a90a1>>>0x18]^_0x319275[_0x5be33e>>>0x10&0xff]^_0x4f085d[_0x208330>>>0x8&0xff]^_0x3b0b30[_0x164b7a&0xff]^_0x2f22e5[_0x47e313++],_0x189237=_0x1d7801[_0x5be33e>>>0x18]^_0x319275[_0x208330>>>0x10&0xff]^_0x4f085d[_0x164b7a>>>0x8&0xff]^_0x3b0b30[_0x4a90a1&0xff]^_0x2f22e5[_0x47e313++],_0x16de31=_0x1d7801[_0x208330>>>0x18]^_0x319275[_0x164b7a>>>0x10&0xff]^_0x4f085d[_0x4a90a1>>>0x8&0xff]^_0x3b0b30[_0x5be33e&0xff]^_0x2f22e5[_0x47e313++];_0x164b7a=_0x4a70f4,_0x4a90a1=_0x3b9dd4,_0x5be33e=_0x189237,_0x208330=_0x16de31;}var _0x4a70f4=(_0x420fab[_0x164b7a>>>0x18]<<0x18|_0x420fab[_0x4a90a1>>>0x10&0xff]<<0x10|_0x420fab[_0x5be33e>>>0x8&0xff]<<0x8|_0x420fab[_0x208330&0xff])^_0x2f22e5[_0x47e313++],_0x3b9dd4=(_0x420fab[_0x4a90a1>>>0x18]<<0x18|_0x420fab[_0x5be33e>>>0x10&0xff]<<0x10|_0x420fab[_0x208330>>>0x8&0xff]<<0x8|_0x420fab[_0x164b7a&0xff])^_0x2f22e5[_0x47e313++],_0x189237=(_0x420fab[_0x5be33e>>>0x18]<<0x18|_0x420fab[_0x208330>>>0x10&0xff]<<0x10|_0x420fab[_0x164b7a>>>0x8&0xff]<<0x8|_0x420fab[_0x4a90a1&0xff])^_0x2f22e5[_0x47e313++],_0x16de31=(_0x420fab[_0x208330>>>0x18]<<0x18|_0x420fab[_0x164b7a>>>0x10&0xff]<<0x10|_0x420fab[_0x4a90a1>>>0x8&0xff]<<0x8|_0x420fab[_0x5be33e&0xff])^_0x2f22e5[_0x47e313++];_0x5ec542[_0x2aeabd]=_0x4a70f4,_0x5ec542[_0x2aeabd+0x1]=_0x3b9dd4,_0x5ec542[_0x2aeabd+0x2]=_0x189237,_0x5ec542[_0x2aeabd+0x3]=_0x16de31;},'keySize':0x100/0x20});_0x23e921['AES']=_0x3c4f3e[_0x29d7c5(0x1da)](_0xe112ef);}()),_0x3c2674[_0x47ebf6(0x2b7)];}));}(Se)),Se[_0x6151a3(0x40c)];}var on=sn();const an=fe(on);var cn=Dt();const at=fe(cn);var be={'exports':{}},hn=be[_0xbef4ca(0x40c)],ct;function ln(){return ct||(ct=0x1,function(_0x33ac2f,_0x130e73){(function(_0x395684,_0x3efa4a){var _0x4dae23=_0x83cd;_0x33ac2f[_0x4dae23(0x40c)]=_0x3efa4a(ee());}(hn,function(_0x5e1f33){var _0x2ee256=_0x83cd;return _0x5e1f33[_0x2ee256(0x207)][_0x2ee256(0x189)];}));}(be)),be['exports'];}var _n=ln();const un=fe(_n);var Re={'exports':{}},dn=Re['exports'],ht;function vn(){var _0x2dcf25=_0xbef4ca;return ht||(ht=0x1,function(_0xba09c2,_0x463e17){(function(_0x4a0d14,_0x5cedf7){_0xba09c2['exports']=_0x5cedf7(ee());}(dn,function(_0x527999){var _0x54f9aa=_0x83cd;return(function(){var _0x5022d7=_0x83cd;if(typeof ArrayBuffer=='function'){var _0x210b63=_0x527999,_0x14eed7=_0x210b63[_0x5022d7(0x347)],_0x431eff=_0x14eed7['WordArray'],_0x202b94=_0x431eff[_0x5022d7(0x39c)],_0x557622=_0x431eff['init']=function(_0xa522eb){var _0x18c2da=_0x5022d7;if(_0xa522eb instanceof ArrayBuffer&&(_0xa522eb=new Uint8Array(_0xa522eb)),(_0xa522eb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xa522eb instanceof Uint8ClampedArray||_0xa522eb instanceof Int16Array||_0xa522eb instanceof Uint16Array||_0xa522eb instanceof Int32Array||_0xa522eb instanceof Uint32Array||_0xa522eb instanceof Float32Array||_0xa522eb instanceof Float64Array)&&(_0xa522eb=new Uint8Array(_0xa522eb[_0x18c2da(0x439)],_0xa522eb[_0x18c2da(0x468)],_0xa522eb['byteLength'])),_0xa522eb instanceof Uint8Array){for(var _0x477a6d=_0xa522eb[_0x18c2da(0x24a)],_0x1ccd01=[],_0xf4ed67=0x0;_0xf4ed67<_0x477a6d;_0xf4ed67++)_0x1ccd01[_0xf4ed67>>>0x2]|=_0xa522eb[_0xf4ed67]<<0x18-_0xf4ed67%0x4*0x8;_0x202b94['call'](this,_0x1ccd01,_0x477a6d);}else _0x202b94[_0x18c2da(0x400)](this,arguments);};_0x557622[_0x5022d7(0x452)]=_0x431eff;}}()),_0x527999[_0x54f9aa(0x347)]['WordArray'];}));}(Re)),Re[_0x2dcf25(0x40c)];}var fn=vn();const Sn=fe(fn);var Oe={'exports':{}},pn=Oe[_0xbef4ca(0x40c)],lt;function gn(){return lt||(lt=0x1,function(_0x2821a6,_0x40e6bd){(function(_0x519e94,_0x40ec2d,_0x2e4807){var _0x241e24=_0x83cd;_0x2821a6[_0x241e24(0x40c)]=_0x40ec2d(ee(),At());}(pn,function(_0x1c17d9){var _0x4ee511=_0x83cd;return _0x1c17d9[_0x4ee511(0x497)][_0x4ee511(0x428)]={'pad':function(){},'unpad':function(){}},_0x1c17d9[_0x4ee511(0x497)][_0x4ee511(0x428)];}));}(Oe)),Oe['exports'];}var mn=gn();const In=fe(mn);function En(_0x7a9ac1,_0x28bddb){var _0x37722a=_0xbef4ca;const _0x4ced3b=_0x28bddb-_0x7a9ac1[_0x37722a(0x3f5)]%_0x28bddb,_0x1e4d14=String[_0x37722a(0x2d4)](_0x4ced3b)['repeat'](_0x4ced3b);return _0x7a9ac1+_0x1e4d14;}function Cn(_0x148181,_0x2cd0aa){var _0x4a1c9b=_0xbef4ca;const _0x39ac2d=Sn[_0x4a1c9b(0x2dd)](0x10),_0x227ada=En(_0x148181,0x10),_0x22ab1f=an[_0x4a1c9b(0x46e)](un[_0x4a1c9b(0x28c)](_0x227ada),at['parse'](_0x2cd0aa),{'iv':_0x39ac2d,'padding':In});return _0x39ac2d['concat'](_0x22ab1f[_0x4a1c9b(0x2a7)])[_0x4a1c9b(0x2f7)](at);}function Tn(){var _0x5f3186=_0xbef4ca;const _0x55dddb=$t[_0x5f3186(0x466)]()[_0x5f3186(0x4b0)];if(_0x55dddb){const _0x4f5a0f={'time':Math[_0x5f3186(0x44f)](Date[_0x5f3186(0x17d)]()/0x3e8),'domain':location[_0x5f3186(0x4f6)]};return Cn(JSON[_0x5f3186(0x295)](_0x4f5a0f),_0x55dddb);}}var bn=Object[_0xbef4ca(0x1b1)],Rn=Object['getOwnPropertyDescriptor'],On=(_0x271bfd,_0x3f18ff,_0x57c307,_0x4860c2)=>{var _0x15c557=_0xbef4ca;for(var _0x1eee23=_0x4860c2>0x1?void 0x0:_0x4860c2?Rn(_0x3f18ff,_0x57c307):_0x3f18ff,_0x16bc8e=_0x271bfd[_0x15c557(0x3f5)]-0x1,_0x59dbad;_0x16bc8e>=0x0;_0x16bc8e--)(_0x59dbad=_0x271bfd[_0x16bc8e])&&(_0x1eee23=(_0x4860c2?_0x59dbad(_0x3f18ff,_0x57c307,_0x1eee23):_0x59dbad(_0x1eee23))||_0x1eee23);return _0x4860c2&&_0x1eee23&&bn(_0x3f18ff,_0x57c307,_0x1eee23),_0x1eee23;},yn=(_0x4ea584,_0x19107f)=>(_0x562a42,_0x518d29)=>_0x19107f(_0x562a42,_0x518d29,_0x4ea584);let Pe=class{constructor(_0x8183b6){var _0x488e4b=_0xbef4ca;this[_0x488e4b(0x17f)]=_0x8183b6,this[_0x488e4b(0x34d)]();}[_0xbef4ca(0x34d)](){var _0x255b21=_0xbef4ca;this[_0x255b21(0x17f)][_0x255b21(0x379)]({'interceptor':(_0x5d787c,_0x302a6a)=>{var _0x10f270=_0x255b21;const _0x1d7e7c=_0x5d787c['headers'],_0x478caa=Tn();return _0x478caa&&_0x1d7e7c[_0x10f270(0x27e)]('x-univer-host',_0x478caa),_0x302a6a(_0x5d787c);}});}};Pe=On([yn(0x0,a[_0xbef4ca(0x4b9)](z[_0xbef4ca(0x1d6)]))],Pe);var Pn=Object['defineProperty'],Nn=Object['getOwnPropertyDescriptor'],Un=(_0x171b93,_0x1490fc,_0xaba370,_0x49288c)=>{var _0x211a98=_0xbef4ca;for(var _0x332c88=_0x49288c>0x1?void 0x0:_0x49288c?Nn(_0x1490fc,_0xaba370):_0x1490fc,_0x9ae1b9=_0x171b93[_0x211a98(0x3f5)]-0x1,_0x28baf9;_0x9ae1b9>=0x0;_0x9ae1b9--)(_0x28baf9=_0x171b93[_0x9ae1b9])&&(_0x332c88=(_0x49288c?_0x28baf9(_0x1490fc,_0xaba370,_0x332c88):_0x28baf9(_0x332c88))||_0x332c88);return _0x49288c&&_0x332c88&&Pn(_0x1490fc,_0xaba370,_0x332c88),_0x332c88;},Me=(_0x5a2297,_0x123b92)=>(_0x165cb2,_0x339d8d)=>_0x123b92(_0x165cb2,_0x339d8d,_0x5a2297);exports[_0xbef4ca(0x1e8)]=class extends a['RxDisposable']{constructor(_0x5e1888,_0x4735df,_0x527d92){var _0x136c04=_0xbef4ca;super(),D(this,'_unitInfo$',new H[(_0x136c04(0x4ad))](null)),D(this,_0x136c04(0x18d),this[_0x136c04(0x3df)]['asObservable']()),(this['_logService']=_0x5e1888,this[_0x136c04(0x2e0)]=_0x4735df,this['_localCacheService']=_0x527d92);}async[_0xbef4ca(0x477)](_0x9f2c6c,_0x35f8a8,_0x589194){var _0x2f67f4=_0xbef4ca;this[_0x2f67f4(0x3df)]['next']({'unitId':_0x9f2c6c,'type':_0x35f8a8,'subUnitId':_0x589194});let _0x44afea=null;switch(_0x35f8a8){case Z[_0x2f67f4(0x1bf)]:{_0x44afea=await this[_0x2f67f4(0x1f3)](_0x9f2c6c);break;}case Z[_0x2f67f4(0x3c9)]:{_0x44afea=await this[_0x2f67f4(0x34e)](_0x9f2c6c);break;}default:{this[_0x2f67f4(0x409)][_0x2f67f4(0x398)](_0x2f67f4(0x3eb),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x44afea;}async[_0xbef4ca(0x1f3)](_0x364adf){var _0x193554=_0xbef4ca,_0x40c8b8;let _0x2cca5d=0x0;const _0x5032e9=await((_0x40c8b8=this[_0x193554(0x176)])==null?void 0x0:_0x40c8b8[_0x193554(0x4f4)](_0x364adf));return _0x5032e9&&(_0x5032e9['awaitingChangeset']||_0x5032e9['mutations'][_0x193554(0x3f5)]!==0x0)&&(_0x2cca5d=_0x5032e9[_0x193554(0x1f9)]),_0x2cca5d===0x0&&this[_0x193554(0x409)][_0x193554(0x2c0)]('[DataLoaderService]',_0x193554(0x363)),this['_snapshotService']['loadSheet'](_0x364adf,_0x2cca5d);}async[_0xbef4ca(0x34e)](_0x477681){var _0x50138b=_0xbef4ca,_0x2d43ab;let _0x4aaf8d=0x0;const _0x2b6812=await((_0x2d43ab=this[_0x50138b(0x176)])==null?void 0x0:_0x2d43ab['loadOfflineData'](_0x477681));return _0x2b6812&&(_0x2b6812[_0x50138b(0x287)]||_0x2b6812[_0x50138b(0x4a9)][_0x50138b(0x3f5)]!==0x0)&&(_0x4aaf8d=_0x2b6812['rev']),_0x4aaf8d===0x0&&this['_logService']['debug']('[DataLoaderService]',_0x50138b(0x363)),this[_0x50138b(0x2e0)][_0x50138b(0x21a)](_0x477681,_0x4aaf8d);}},exports[_0xbef4ca(0x1e8)]=Un([Me(0x0,a[_0xbef4ca(0x4ab)]),Me(0x1,a['Inject'](m[_0xbef4ca(0x2ed)])),Me(0x2,a[_0xbef4ca(0x22b)](J))],exports['DataLoaderService']);var Dn=Object[_0xbef4ca(0x1b1)],wn=Object['getOwnPropertyDescriptor'],An=(_0x442f3f,_0x31cdcd,_0x4d00ae,_0x255f2d)=>{var _0xf9f818=_0xbef4ca;for(var _0x19ed78=_0x255f2d>0x1?void 0x0:_0x255f2d?wn(_0x31cdcd,_0x4d00ae):_0x31cdcd,_0x2c7320=_0x442f3f[_0xf9f818(0x3f5)]-0x1,_0x12532c;_0x2c7320>=0x0;_0x2c7320--)(_0x12532c=_0x442f3f[_0x2c7320])&&(_0x19ed78=(_0x255f2d?_0x12532c(_0x31cdcd,_0x4d00ae,_0x19ed78):_0x12532c(_0x19ed78))||_0x19ed78);return _0x255f2d&&_0x19ed78&&Dn(_0x31cdcd,_0x4d00ae,_0x19ed78),_0x19ed78;},xe=(_0x5d3fa5,_0x81765a)=>(_0xe147c1,_0x1b3bc3)=>_0x81765a(_0xe147c1,_0x1b3bc3,_0x5d3fa5);const Ln=[_0xbef4ca(0x2e9),_0xbef4ca(0x3b8),_0xbef4ca(0x27c),_0xbef4ca(0x36d),_0xbef4ca(0x361)],Mn=0x5*0x400*0x400,xn=_0xbef4ca(0x1dd),jn=_0xbef4ca(0x297),$n=_0xbef4ca(0x37d),Hn=_0xbef4ca(0x39b);exports[_0xbef4ca(0x322)]=class{constructor(_0x2392a6,_0x3dfa59,_0x2ab030){var _0x5de209=_0xbef4ca;D(this,_0x5de209(0x1a2),0x0),D(this,_0x5de209(0x4e2),new H[(_0x5de209(0x488))]()),D(this,'change$',this['_change$']),D(this,_0x5de209(0x286),new Map()),(this[_0x5de209(0x17f)]=_0x2392a6,this[_0x5de209(0x1f8)]=_0x3dfa59,this[_0x5de209(0x2c8)]=_0x2ab030);}[_0xbef4ca(0x2ee)](_0x2b27e0){var _0x2c3381=_0xbef4ca;this[_0x2c3381(0x1a2)]=_0x2b27e0,this[_0x2c3381(0x4e2)][_0x2c3381(0x328)](_0x2b27e0);}['getImageSourceCache'](_0xe340d9,_0x37afc0){var _0x35ae39=_0xbef4ca;if(_0x37afc0===X[_0x35ae39(0x362)][_0x35ae39(0x232)]){const _0x586071=new Image();return _0x586071['src']=_0xe340d9,_0x586071;}return this[_0x35ae39(0x286)][_0x35ae39(0x1b9)](_0xe340d9);}[_0xbef4ca(0x4fc)](_0x4a1428,_0x481eac,_0x3bd769){var _0x54da50=_0xbef4ca;_0x481eac===X['ImageSourceType'][_0x54da50(0x232)]||_0x3bd769==null||this[_0x54da50(0x286)][_0x54da50(0x27e)](_0x4a1428,_0x3bd769);}async[_0xbef4ca(0x479)](_0x1e21ef){var _0x1fbafc=_0xbef4ca;try{const _0x1e4eb3=this[_0x1fbafc(0x4ec)](this[_0x1fbafc(0x336)](),''+_0x1e21ef),_0x1369a0=(await this[_0x1fbafc(0x17f)]['get'](_0x1e4eb3))[_0x1fbafc(0x3ad)];if(_0x1369a0[_0x1fbafc(0x398)]&&_0x1369a0['error'][_0x1fbafc(0x38d)]===Tt['OK']){const _0x3cce0d=new URL(_0x1369a0['url'],this[_0x1fbafc(0x18c)]())[_0x1fbafc(0x2f7)]();return Promise['resolve'](_0x3cce0d);}return Promise[_0x1fbafc(0x200)](_0x1369a0[_0x1fbafc(0x398)]);}catch(_0x199f65){return Promise[_0x1fbafc(0x200)](_0x199f65);}}async['saveImage'](_0xc5ab48){var _0x3e9e6f=_0xbef4ca;let _0x218ea0='';if(!Ln['includes'](_0xc5ab48[_0x3e9e6f(0x2f8)]))return this['_decreaseWaiting'](),Promise[_0x3e9e6f(0x200)](new Error(X[_0x3e9e6f(0x4db)][_0x3e9e6f(0x4de)]));if(_0xc5ab48[_0x3e9e6f(0x3e3)]>Mn)return this[_0x3e9e6f(0x3db)](),Promise['reject'](new Error(X[_0x3e9e6f(0x4db)]['ERROR_EXCEED_SIZE']));try{const _0x259f97=new FormData();_0x259f97[_0x3e9e6f(0x191)](_0x3e9e6f(0x22a),_0xc5ab48);const _0x476908=this[_0x3e9e6f(0x2c8)]['getFocusedUnit'](),_0x5e7082=_0x476908==null?void 0x0:_0x476908[_0x3e9e6f(0x3fa)]();if(!_0x5e7082)throw new Error(_0x3e9e6f(0x2bc));const _0x2cbaf8=this[_0x3e9e6f(0x3d5)]()+_0x3e9e6f(0x255)+_0xc5ab48[_0x3e9e6f(0x3e3)][_0x3e9e6f(0x2f7)]()+_0x3e9e6f(0x355)+bt[_0x3e9e6f(0x35f)]+_0x3e9e6f(0x3b1)+encodeURIComponent(_0x5e7082),_0x2383a2=await(await fetch(_0x2cbaf8,{'method':_0x3e9e6f(0x49e),'body':_0x259f97}))[_0x3e9e6f(0x446)]();if(typeof _0x2383a2['FileId']!=_0x3e9e6f(0x320))return this['_decreaseWaiting'](),Promise[_0x3e9e6f(0x200)](new Error(X[_0x3e9e6f(0x4db)][_0x3e9e6f(0x2a3)]));_0x218ea0=_0x2383a2[_0x3e9e6f(0x228)];}catch{return this[_0x3e9e6f(0x3db)](),Promise[_0x3e9e6f(0x200)](new Error(X['ImageUploadStatusType'][_0x3e9e6f(0x2a3)]));}return new Promise((_0x1ce665,_0x10b7ea)=>{var _0x228360=_0x3e9e6f;const _0x20d7ad=new FileReader();_0x20d7ad[_0x228360(0x3d0)](_0xc5ab48),_0x20d7ad[_0x228360(0x338)]=_0x18e916=>{var _0x435d9a=_0x228360,_0x44517d;const _0x42a437=(_0x44517d=_0x18e916['target'])==null?void 0x0:_0x44517d[_0x435d9a(0x4e7)];if(_0x42a437==null){this[_0x435d9a(0x3db)](),_0x10b7ea(new Error(X[_0x435d9a(0x4db)]['ERROR_IMAGE']));return;}const _0x43815a=a[_0x435d9a(0x49a)]['generateRandomId'](0x6);_0x1ce665({'imageId':_0x43815a,'imageSourceType':X[_0x435d9a(0x362)][_0x435d9a(0x180)],'source':_0x218ea0,'base64Cache':_0x42a437,'status':X['ImageUploadStatusType'][_0x435d9a(0x3f2)]}),this['_decreaseWaiting']();};});}[_0xbef4ca(0x3d5)](){var _0x62dfce=_0xbef4ca,_0x23edef,_0xf94355;const _0x357ae2=this['_configService']['getConfig'](xn),_0x4ed9ea=this[_0x62dfce(0x1f8)][_0x62dfce(0x29b)](q);return(_0xf94355=(_0x23edef=_0x4ed9ea==null?void 0x0:_0x4ed9ea[_0x62dfce(0x2ef)])!=null?_0x23edef:_0x357ae2)!=null?_0xf94355:jn;}[_0xbef4ca(0x336)](){var _0x548e03=_0xbef4ca,_0x2cd293,_0xac3baa;const _0x13e206=this['_configService'][_0x548e03(0x29b)]($n),_0x425d36=this['_configService'][_0x548e03(0x29b)](q);return(_0xac3baa=(_0x2cd293=_0x425d36==null?void 0x0:_0x425d36[_0x548e03(0x4b3)])!=null?_0x2cd293:_0x13e206)!=null?_0xac3baa:Hn;}['_getDownloadEndpointURL'](){var _0x137644=_0xbef4ca,_0x55cd8e;const _0xe80a00=this['_configService'][_0x137644(0x29b)](q);return(_0x55cd8e=_0xe80a00==null?void 0x0:_0xe80a00[_0x137644(0x48d)])!=null?_0x55cd8e:location['origin'];}[_0xbef4ca(0x4ec)](_0x5e2b41,_0x440f40){var _0x4e89a6=_0xbef4ca;return _0x5e2b41[_0x4e89a6(0x327)](_0x4e89a6(0x4e4),_0x440f40);}[_0xbef4ca(0x3db)](){var _0x56c9a6=_0xbef4ca;this[_0x56c9a6(0x1a2)]-=0x1,this[_0x56c9a6(0x4e2)]['next'](this[_0x56c9a6(0x1a2)]);}},exports[_0xbef4ca(0x322)]=An([xe(0x0,a[_0xbef4ca(0x4b9)](z[_0xbef4ca(0x1d6)])),xe(0x1,a[_0xbef4ca(0x173)]),xe(0x2,a['Inject'](a[_0xbef4ca(0x30b)]))],exports[_0xbef4ca(0x322)]);var kn=Object[_0xbef4ca(0x1b1)],Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x1e7dac,_0x56dfcb,_0x19b8dd,_0x51ef67)=>{var _0x407f5e=_0xbef4ca;for(var _0x207409=_0x51ef67>0x1?void 0x0:_0x51ef67?Bn(_0x56dfcb,_0x19b8dd):_0x56dfcb,_0x6b2e8b=_0x1e7dac[_0x407f5e(0x3f5)]-0x1,_0x3d7f38;_0x6b2e8b>=0x0;_0x6b2e8b--)(_0x3d7f38=_0x1e7dac[_0x6b2e8b])&&(_0x207409=(_0x51ef67?_0x3d7f38(_0x56dfcb,_0x19b8dd,_0x207409):_0x3d7f38(_0x207409))||_0x207409);return _0x51ef67&&_0x207409&&kn(_0x56dfcb,_0x19b8dd,_0x207409),_0x207409;},_t=(_0x33133a,_0x36285f)=>(_0x25ff0c,_0x480fb1)=>_0x36285f(_0x25ff0c,_0x480fb1,_0x33133a);const Wn='/universer-api/authz';exports[_0xbef4ca(0x185)]=class{constructor(_0x24dc40,_0x7c22b1){this['_configService']=_0x24dc40,this['_HTTPService']=_0x7c22b1;}[_0xbef4ca(0x27b)](){var _0x196dc0=_0xbef4ca,_0x60f36f,_0xa1085c;const _0x320ff2=this[_0x196dc0(0x1f8)][_0x196dc0(0x29b)](Ge),_0x296c11=this[_0x196dc0(0x1f8)][_0x196dc0(0x29b)](q);return(_0xa1085c=(_0x60f36f=_0x296c11==null?void 0x0:_0x296c11[_0x196dc0(0x3fc)])!=null?_0x60f36f:_0x320ff2)!=null?_0xa1085c:Wn;}async['list'](_0x1d4b58){var _0x3f3ff2=_0xbef4ca;const _0x26c3d3=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x3f3ff2(0x1d3),'mentions':(await this[_0x3f3ff2(0x4b7)][_0x3f3ff2(0x1b9)](_0x26c3d3,{'params':{'objectID':_0x1d4b58['unitId'],'unitID':_0x1d4b58[_0x3f3ff2(0x484)]}}))[_0x3f3ff2(0x3ad)]['collaborators'][_0x3f3ff2(0x22d)](_0x4f4d89=>({'objectId':_0x4f4d89['id'],'name':_0x4f4d89[_0x3f3ff2(0x1c0)][_0x3f3ff2(0x1e5)],'metadata':{'icon':_0x4f4d89[_0x3f3ff2(0x1c0)][_0x3f3ff2(0x250)]},'label':_0x4f4d89[_0x3f3ff2(0x1c0)][_0x3f3ff2(0x1e5)],'objectType':a[_0x3f3ff2(0x3bd)][_0x3f3ff2(0x1ae)]})),'metadata':{},'type':a[_0x3f3ff2(0x3bd)]['PERSON']}]};}},exports[_0xbef4ca(0x185)]=Fn([_t(0x0,a['Inject'](a['IConfigService'])),_t(0x1,a[_0xbef4ca(0x4b9)](z[_0xbef4ca(0x1d6)]))],exports[_0xbef4ca(0x185)]);var Vn=Object[_0xbef4ca(0x1b1)],Gn=Object[_0xbef4ca(0x30a)],Kn=(_0x32a638,_0x7447d0,_0xf84b48,_0x49d559)=>{var _0x146434=_0xbef4ca;for(var _0x23399f=_0x49d559>0x1?void 0x0:_0x49d559?Gn(_0x7447d0,_0xf84b48):_0x7447d0,_0x57518e=_0x32a638[_0x146434(0x3f5)]-0x1,_0x3d86ca;_0x57518e>=0x0;_0x57518e--)(_0x3d86ca=_0x32a638[_0x57518e])&&(_0x23399f=(_0x49d559?_0x3d86ca(_0x7447d0,_0xf84b48,_0x23399f):_0x3d86ca(_0x23399f))||_0x23399f);return _0x49d559&&_0x23399f&&Vn(_0x7447d0,_0xf84b48,_0x23399f),_0x23399f;},ce=(_0x48f0a9,_0x4a8ca7)=>(_0x28b0f1,_0x3965a2)=>_0x4a8ca7(_0x28b0f1,_0x3965a2,_0x48f0a9);let Ne=class extends a[_0xbef4ca(0x4d8)]{constructor(_0x3f44a4,_0x498e61,_0xc07c04,_0x2f5744,_0x464423,_0x3aa7dd,_0x177e8d){var _0x48d2a9=_0xbef4ca;super(),this[_0x48d2a9(0x40f)]=_0x3f44a4,this[_0x48d2a9(0x2c8)]=_0x498e61,this[_0x48d2a9(0x226)]=_0xc07c04,this[_0x48d2a9(0x421)]=_0x2f5744,this[_0x48d2a9(0x412)]=_0x464423,this['_authzIoService']=_0x3aa7dd,this[_0x48d2a9(0x307)]=_0x177e8d,this[_0x48d2a9(0x1ec)](),this[_0x48d2a9(0x3ac)]();}[_0xbef4ca(0x3ac)](){var _0x2747ef=_0xbef4ca;const _0x3a9a7f=async _0x2199b1=>{var _0x4eec4e=_0x83cd;(await this['_collaborationSessionService'][_0x4eec4e(0x316)](_0x2199b1))[_0x4eec4e(0x2d1)]['pipe'](V['filter'](_0x4b187e=>_0x4b187e[_0x4eec4e(0x4ee)]===m[_0x4eec4e(0x350)]['SHOULD_CLOSE_CONN']),V[_0x4eec4e(0x2ca)](this[_0x4eec4e(0x46f)]))[_0x4eec4e(0x31b)](_0x1fa1ea=>{var _0x436fb8=_0x4eec4e;const _0x1d8538=_0x1fa1ea,{reason:_0x2d16a1}=_0x1d8538[_0x436fb8(0x4b6)];this[_0x436fb8(0x412)][_0x436fb8(0x31e)]({'id':Q[_0x436fb8(0x1a0)],'data':_0x2d16a1}),this[_0x436fb8(0x226)][_0x436fb8(0x37f)](new W['WorkbookEditablePermission'](_0x2199b1)['id'],!0x1),this[_0x436fb8(0x421)]['closeSession'](_0x2199b1);});};H[_0x2747ef(0x337)](this[_0x2747ef(0x2c8)][_0x2747ef(0x4d7)](a[_0x2747ef(0x1e0)][_0x2747ef(0x1bf)]),this[_0x2747ef(0x2c8)][_0x2747ef(0x4d7)](a[_0x2747ef(0x1e0)]['UNIVER_DOC']))[_0x2747ef(0x4b5)](V[_0x2747ef(0x22d)](_0x48d4bf=>_0x48d4bf[_0x2747ef(0x3fa)]()),V[_0x2747ef(0x2bb)](_0xf1f54f=>!a['isInternalEditorID'](_0xf1f54f)),V['takeUntil'](this[_0x2747ef(0x46f)]))['subscribe'](_0x5709f9=>{_0x3a9a7f(_0x5709f9);});}[_0xbef4ca(0x1ec)](){var _0x2ebe87=_0xbef4ca;const _0x4b4b26=async _0x36b19e=>{var _0x2b8eee=_0x83cd;(await this[_0x2b8eee(0x421)][_0x2b8eee(0x316)](_0x36b19e))[_0x2b8eee(0x2d1)]['pipe'](V[_0x2b8eee(0x2bb)](_0x9ee8c=>_0x9ee8c[_0x2b8eee(0x4ee)]===m[_0x2b8eee(0x350)][_0x2b8eee(0x193)]),V[_0x2b8eee(0x2ca)](this[_0x2b8eee(0x46f)]))['subscribe'](_0x132a9=>{var _0x20e768=_0x2b8eee;const _0x2a4475=_0x132a9,{objectId:_0x4b1948}=_0x2a4475[_0x20e768(0x4b6)];_0x4b1948===_0x36b19e?this[_0x20e768(0x225)](_0x36b19e):this[_0x20e768(0x4e9)](_0x36b19e,_0x4b1948);});};H[_0x2ebe87(0x337)](this[_0x2ebe87(0x2c8)][_0x2ebe87(0x4d7)](a[_0x2ebe87(0x1e0)][_0x2ebe87(0x1bf)]),this[_0x2ebe87(0x2c8)][_0x2ebe87(0x4d7)](a[_0x2ebe87(0x1e0)][_0x2ebe87(0x3c9)]))['pipe'](V[_0x2ebe87(0x22d)](_0xc04595=>_0xc04595[_0x2ebe87(0x3fa)]()),V[_0x2ebe87(0x2bb)](_0x5ea2c8=>!a[_0x2ebe87(0x2fb)](_0x5ea2c8)),V[_0x2ebe87(0x2ca)](this[_0x2ebe87(0x46f)]))[_0x2ebe87(0x31b)](_0x4c5c95=>{_0x4b4b26(_0x4c5c95);});}async['initWorkbookPermissionChange'](_0x328f58){var _0x53d3b3=_0xbef4ca,_0x469689;const _0x5d5823=_0x328f58||((_0x469689=this[_0x53d3b3(0x2c8)]['getCurrentUnitForType'](a[_0x53d3b3(0x1e0)]['UNIVER_SHEET']))==null?void 0x0:_0x469689[_0x53d3b3(0x3fa)]());_0x5d5823&&this[_0x53d3b3(0x4a7)][_0x53d3b3(0x282)]({'objectID':_0x5d5823,'objectType':W['UnitObject'][_0x53d3b3(0x2be)],'unitID':_0x5d5823,'actions':W['defaultWorkbookPermissionPoints']})[_0x53d3b3(0x331)](_0x149c5a=>{var _0x51e9ec=_0x53d3b3;W[_0x51e9ec(0x21f)]()[_0x51e9ec(0x217)](_0x2f2a72=>{var _0x5eeec9=_0x51e9ec;const _0x2f1f16=new _0x2f2a72(_0x5d5823),_0x1d6978=_0x2f1f16[_0x5eeec9(0x43e)],_0x5e7321=_0x149c5a[_0x5eeec9(0x491)](_0x37288d=>_0x37288d['action']===_0x1d6978);_0x5e7321&&this[_0x5eeec9(0x226)]['updatePermissionPoint'](_0x2f1f16['id'],_0x5e7321[_0x5eeec9(0x282)]);});});}['refreshPermission'](_0x3a94ea,_0x5b2cfd){var _0x393cba=_0xbef4ca;const _0x104c95=this['_injector'][_0x393cba(0x1b9)](W['WorksheetProtectionRuleModel']),_0xa7edbf=_0x104c95[_0x393cba(0x473)](_0x3a94ea,_0x5b2cfd);let _0x2016ad=!0x1;if(_0xa7edbf){const [_0x27f57d,_0x480ab9]=_0xa7edbf;this[_0x393cba(0x4a7)]['allowed']({'objectID':_0x5b2cfd,'unitID':_0x3a94ea,'objectType':W[_0x393cba(0x315)][_0x393cba(0x4c1)],'actions':W['baseProtectionActions']})[_0x393cba(0x331)](_0x279f80=>{var _0x23e0db=_0x393cba;let _0x11a4bd='';W[_0x23e0db(0x48e)]()[_0x23e0db(0x217)](_0x123edf=>{var _0xf3ebba=_0x23e0db,_0x1c1b0e;const _0x54f3a1=new _0x123edf(_0x3a94ea,_0x480ab9),_0x351991=_0x54f3a1['subType'],_0x53e54b=_0x279f80[_0xf3ebba(0x491)](_0x3e9617=>_0x3e9617[_0xf3ebba(0x26d)]===_0x351991);_0x53e54b&&(((_0x1c1b0e=this[_0xf3ebba(0x226)]['getPermissionPoint'](_0x54f3a1['id']))==null?void 0x0:_0x1c1b0e['value'])!==_0x53e54b['allowed']&&(_0x2016ad=!0x0),this[_0xf3ebba(0x226)][_0xf3ebba(0x37f)](_0x54f3a1['id'],_0x53e54b[_0xf3ebba(0x282)]),_0x11a4bd+=_0x53e54b[_0xf3ebba(0x26d)]+'_'+_0x53e54b['allowed']);}),_0x104c95[_0x23e0db(0x1ca)](_0x5b2cfd+'_'+_0x11a4bd),_0x2016ad&&this[_0x23e0db(0x307)][_0x23e0db(0x469)](_0x3a94ea);});}const _0x29aeab=this[_0x393cba(0x40f)][_0x393cba(0x1b9)](W['WorksheetProtectionPointModel'])[_0x393cba(0x473)](_0x3a94ea,_0x5b2cfd);if(_0x29aeab){const [_0x29b334,_0x3588fa]=_0x29aeab;this[_0x393cba(0x4a7)]['allowed']({'objectID':_0x5b2cfd,'unitID':_0x3a94ea,'objectType':W[_0x393cba(0x315)]['Worksheet'],'actions':W['defaultWorksheetPermissionPoint']})[_0x393cba(0x331)](_0x530d07=>{var _0x31151d=_0x393cba;W[_0x31151d(0x23f)]()[_0x31151d(0x217)](_0x26052f=>{var _0x2b20b8=_0x31151d,_0x1019aa;const _0x4878a9=new _0x26052f(_0x3a94ea,_0x3588fa),_0x3be906=_0x4878a9[_0x2b20b8(0x43e)],_0x783b4a=_0x530d07[_0x2b20b8(0x491)](_0x461a67=>_0x461a67[_0x2b20b8(0x26d)]===_0x3be906);_0x783b4a&&(((_0x1019aa=this[_0x2b20b8(0x226)][_0x2b20b8(0x3ff)](_0x4878a9['id']))==null?void 0x0:_0x1019aa['value'])!==_0x783b4a[_0x2b20b8(0x282)]&&(_0x2016ad=!0x0),this['_permissionService'][_0x2b20b8(0x37f)](_0x4878a9['id'],_0x783b4a['allowed']));}),_0x2016ad&&this[_0x31151d(0x307)]['clearUndoRedo'](_0x3a94ea);});}const _0x3ce318=this[_0x393cba(0x40f)][_0x393cba(0x1b9)](W[_0x393cba(0x1b8)]),_0x13739e=_0x3ce318[_0x393cba(0x473)](_0x3a94ea,_0x5b2cfd);if(_0x13739e){const [_0x84251,_0x5af422]=_0x13739e;this[_0x393cba(0x4a7)][_0x393cba(0x282)]({'objectID':_0x5b2cfd,'unitID':_0x3a94ea,'objectType':W['UnitObject']['SelectRange'],'actions':W[_0x393cba(0x4ac)]})[_0x393cba(0x331)](_0xfdbfa=>{var _0x340848=_0x393cba;let _0xe624cc='';W[_0x340848(0x435)]()[_0x340848(0x217)](_0x2e7a64=>{var _0x32ded4=_0x340848,_0x26c17e;const _0x378459=new _0x2e7a64(_0x3a94ea,_0x5af422,_0x5b2cfd),_0x4870bb=_0x378459[_0x32ded4(0x43e)],_0x4aca11=_0xfdbfa[_0x32ded4(0x491)](_0x48d81d=>_0x48d81d[_0x32ded4(0x26d)]===_0x4870bb);_0x4aca11&&(((_0x26c17e=this[_0x32ded4(0x226)][_0x32ded4(0x3ff)](_0x378459['id']))==null?void 0x0:_0x26c17e[_0x32ded4(0x1ea)])!==_0x4aca11[_0x32ded4(0x282)]&&(_0x2016ad=!0x0),this['_permissionService']['updatePermissionPoint'](_0x378459['id'],_0x4aca11['allowed']),_0xe624cc+=_0x4aca11[_0x32ded4(0x26d)]+'_'+_0x4aca11[_0x32ded4(0x282)]);}),_0x3ce318[_0x340848(0x1ca)](_0x5b2cfd+'_'+_0xe624cc),_0x2016ad&&this[_0x340848(0x307)]['clearUndoRedo'](_0x3a94ea);});}}};Ne=Kn([ce(0x0,a[_0xbef4ca(0x4b9)](a[_0xbef4ca(0x18b)])),ce(0x1,a['IUniverInstanceService']),ce(0x2,a[_0xbef4ca(0x28f)]),ce(0x3,a[_0xbef4ca(0x4b9)](exports[_0xbef4ca(0x2d2)])),ce(0x4,a['Inject'](te)),ce(0x5,a[_0xbef4ca(0x22e)]),ce(0x6,a[_0xbef4ca(0x303)])],Ne);var Yn=Object['defineProperty'],qn=Object[_0xbef4ca(0x30a)],zn=(_0x1ff8eb,_0xce54c9,_0x3e373d,_0x2cac4f)=>{for(var _0x2facc9=_0x2cac4f>0x1?void 0x0:_0x2cac4f?qn(_0xce54c9,_0x3e373d):_0xce54c9,_0x5a6eef=_0x1ff8eb['length']-0x1,_0x32fdc8;_0x5a6eef>=0x0;_0x5a6eef--)(_0x32fdc8=_0x1ff8eb[_0x5a6eef])&&(_0x2facc9=(_0x2cac4f?_0x32fdc8(_0xce54c9,_0x3e373d,_0x2facc9):_0x32fdc8(_0x2facc9))||_0x2facc9);return _0x2cac4f&&_0x2facc9&&Yn(_0xce54c9,_0x3e373d,_0x2facc9),_0x2facc9;},ut=(_0xb16245,_0xf1e943)=>(_0x4de278,_0x3c661e)=>_0xf1e943(_0x4de278,_0x3c661e,_0xb16245);exports[_0xbef4ca(0x333)]=class{constructor(_0x368ad7,_0x394b22){var _0x164c60=_0xbef4ca;this[_0x164c60(0x1f8)]=_0x368ad7,this[_0x164c60(0x17f)]=_0x394b22;}async['getUnitOnRev'](_0x2feb7e,_0x1e58fb){var _0x4f12a4=_0xbef4ca,_0x52506f;const {unitID:_0x47dd7b,type:_0x552e25,revision:_0x31606d=0x0}=_0x1e58fb,_0x391a20=this[_0x4f12a4(0x1dc)]()+'/'+_0x552e25+'/unit/'+_0x47dd7b+'/rev/'+_0x31606d,_0x4f7903=(await this['_httpService'][_0x4f12a4(0x1b9)](_0x391a20))['body'],_0x22b660=(_0x52506f=_0x4f7903['snapshot'])==null?void 0x0:_0x52506f[_0x4f12a4(0x465)];if(_0x22b660){const _0x1ff977=_0x22b660==null?void 0x0:_0x22b660[_0x4f12a4(0x4cd)],_0x550f83=m[_0x4f12a4(0x35d)]['encode'](m[_0x4f12a4(0x375)](_0x1ff977));_0x22b660[_0x4f12a4(0x4cd)]=_0x550f83,Object[_0x4f12a4(0x27a)](_0x22b660[_0x4f12a4(0x4be)])[_0x4f12a4(0x217)](([,_0x1a3913])=>{var _0x2af01f=_0x4f12a4;const _0x41d294=_0x1a3913[_0x2af01f(0x4cd)],_0x4fdd9f=m[_0x2af01f(0x35d)][_0x2af01f(0x456)](m[_0x2af01f(0x375)](_0x41d294));_0x1a3913[_0x2af01f(0x4cd)]=_0x4fdd9f;});}return _0x4f7903;}async[_0xbef4ca(0x262)](_0x4856b2,_0x5f16e0){var _0x3ca2ae=_0xbef4ca;const {unitID:_0xf0ebb5,type:_0x119cbf,blockID:_0x111fec}=_0x5f16e0,_0x5bddd6=this[_0x3ca2ae(0x289)]()+'/'+_0x119cbf+_0x3ca2ae(0x1d8)+_0xf0ebb5+_0x3ca2ae(0x25f)+_0x111fec;return(await this['_httpService'][_0x3ca2ae(0x1b9)](_0x5bddd6))[_0x3ca2ae(0x3ad)];}async[_0xbef4ca(0x39a)](_0x2d7fc1,_0x430822){var _0xde087d=_0xbef4ca;const {unitID:_0x370985,type:_0x50bbd5,blockID:_0x42df28}=_0x430822,_0x46b3df=this[_0xde087d(0x289)]()+_0xde087d(0x25f)+_0x50bbd5+_0xde087d(0x1d8)+_0x370985+_0xde087d(0x25f)+_0x42df28;return(await this[_0xde087d(0x17f)][_0xde087d(0x1b9)](_0x46b3df))['body'];}async['fetchMissingChangesets'](_0x161640,_0x376c0d){var _0x557732=_0xbef4ca;const {unitID:_0x2c52e6,type:_0x88cafb,from:_0x3acf2c,to:_0x2a7e4c}=_0x376c0d,_0x25ce27=this[_0x557732(0x289)]()+'/'+_0x88cafb+'/unit/'+_0x2c52e6+_0x557732(0x2a0)+_0x3acf2c+'&to='+_0x2a7e4c;return(await this['_httpService']['get'](_0x25ce27))[_0x557732(0x3ad)];}[_0xbef4ca(0x1dc)](){var _0x58fdab=_0xbef4ca,_0x485b71;return(_0x485b71=this[_0x58fdab(0x1f8)][_0x58fdab(0x29b)](ft))!=null?_0x485b71:this[_0x58fdab(0x289)]();}[_0xbef4ca(0x289)](){var _0x487e3a=_0xbef4ca,_0x39a733,_0x1e7e66;const _0x49620b=this['_configService'][_0x487e3a(0x29b)](vt),_0x59ed00=this['_configService'][_0x487e3a(0x29b)](q);return(_0x1e7e66=(_0x39a733=_0x59ed00==null?void 0x0:_0x59ed00['snapshotServerUrl'])!=null?_0x39a733:_0x49620b)!=null?_0x1e7e66:Ht;}async[_0xbef4ca(0x20d)](_0x169bf1,_0x11b426){var _0x2d767f=_0xbef4ca;const _0x17237f='/universer-api/snapshot/'+_0x11b426[_0x2d767f(0x2f8)]+_0x2d767f(0x1d8)+_0x11b426[_0x2d767f(0x2ce)]+_0x2d767f(0x2fa);return(await this[_0x2d767f(0x17f)]['get'](_0x17237f,{'params':{'resourceId':JSON[_0x2d767f(0x295)](_0x11b426[_0x2d767f(0x1ff)])}}))['body'];}[_0xbef4ca(0x4ef)](){var _0x4bac7a=_0xbef4ca;throw new Error(_0x4bac7a(0x1b4));}[_0xbef4ca(0x485)](){var _0x3a1a15=_0xbef4ca;throw new Error(_0x3a1a15(0x1b4));}[_0xbef4ca(0x1a8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xbef4ca(0x344)](){var _0x22b27a=_0xbef4ca;throw new Error(_0x22b27a(0x1b4));}[_0xbef4ca(0x345)](){var _0x44db88=_0xbef4ca;throw new Error(_0x44db88(0x1b4));}},exports[_0xbef4ca(0x333)]=zn([ut(0x0,a['IConfigService']),ut(0x1,a[_0xbef4ca(0x4b9)](z[_0xbef4ca(0x1d6)]))],exports[_0xbef4ca(0x333)]);var Jn=Object['defineProperty'],Xn=Object[_0xbef4ca(0x30a)],Zn=(_0xb89fa,_0x171d89,_0x36559d,_0x106320)=>{var _0x2a06b9=_0xbef4ca;for(var _0xb685f9=_0x106320>0x1?void 0x0:_0x106320?Xn(_0x171d89,_0x36559d):_0x171d89,_0x8650f1=_0xb89fa[_0x2a06b9(0x3f5)]-0x1,_0xaed3a2;_0x8650f1>=0x0;_0x8650f1--)(_0xaed3a2=_0xb89fa[_0x8650f1])&&(_0xb685f9=(_0x106320?_0xaed3a2(_0x171d89,_0x36559d,_0xb685f9):_0xaed3a2(_0xb685f9))||_0xb685f9);return _0x106320&&_0xb685f9&&Jn(_0x171d89,_0x36559d,_0xb685f9),_0xb685f9;},de=(_0x570ec8,_0x5b7c48)=>(_0x4c46c1,_0x5454b7)=>_0x5b7c48(_0x4c46c1,_0x5454b7,_0x570ec8);exports[_0xbef4ca(0x252)]=class extends a[_0xbef4ca(0x3fd)]{constructor(_0x222315,_0x3dea57,_0x35a3c7,_0x1ade77,_0x3cbc21){var _0x530248=_0xbef4ca;super(_0x222315,_0x3dea57,_0x35a3c7),this[_0x530248(0x326)]=_0x1ade77,this[_0x530248(0x409)]=_0x3cbc21;}[_0xbef4ca(0x3cd)](_0x287a8f,_0x5f21a3){var _0x535469=_0xbef4ca;const _0x1cc8e9=this[_0x535469(0x3da)](_0x287a8f);if(_0x1cc8e9)try{const _0x37d223=this[_0x535469(0x18e)](_0x1cc8e9,_0x5f21a3);this[_0x535469(0x4f0)](_0x287a8f,_0x37d223);}catch(_0x501a50){this['_logService'][_0x535469(0x398)](_0x535469(0x17c),_0x501a50),this['_clearUndo'](_0x287a8f);}const _0x5eb1c2=this[_0x535469(0x178)](_0x287a8f);if(_0x5eb1c2)try{const _0x44c837=this['_transformStack'](_0x5eb1c2,_0x5f21a3);this['_substituteRedoStack'](_0x287a8f,_0x44c837);}catch(_0x3e56e4){this[_0x535469(0x409)][_0x535469(0x398)](_0x3e56e4),this['_clearRedo'](_0x287a8f);}}[_0xbef4ca(0x24c)](_0x408cec){var _0x1ea212=_0xbef4ca;const _0x2c0e10=this[_0x1ea212(0x3da)](_0x408cec);_0x2c0e10&&(_0x2c0e10[_0x1ea212(0x3f5)]=0x0,this['_updateStatus']());}[_0xbef4ca(0x424)](_0x2303fb){var _0xc7eeb9=_0xbef4ca;const _0xb2db6b=this[_0xc7eeb9(0x178)](_0x2303fb);_0xb2db6b&&(_0xb2db6b[_0xc7eeb9(0x3f5)]=0x0,this[_0xc7eeb9(0x2b6)]());}['_substituteUndoStack'](_0xb34d2,_0x16f8dd){var _0xb40d99=_0xbef4ca;this[_0xb40d99(0x383)]['set'](_0xb34d2,_0x16f8dd),this[_0xb40d99(0x2b6)]();}[_0xbef4ca(0x280)](_0x280fc1,_0x2b2e63){var _0x33a775=_0xbef4ca;this[_0x33a775(0x48b)]['set'](_0x280fc1,_0x2b2e63),this[_0x33a775(0x2b6)]();}['_transformStack'](_0x3b87fb,_0x45a148){var _0x5c7707=_0xbef4ca;const _0x5a05e5=[];let _0x3bc782=_0x45a148,_0x352b2b=_0x45a148;for(let _0x5b229=_0x3b87fb[_0x5c7707(0x3f5)]-0x1;_0x5b229>=0x0;_0x5b229--){const {unitID:_0x3c3582,undoMutations:_0xef8edf,redoMutations:_0x45135f}=_0x3b87fb[_0x5b229],_0x13ea09=this['_transformService'][_0x5c7707(0x314)](_0x3bc782,_0xef8edf),_0x312a34=this['_transformService'][_0x5c7707(0x314)](_0x352b2b,_0x45135f);if(m[_0x5c7707(0x4b1)](_0x13ea09)||m[_0x5c7707(0x4b1)](_0x312a34)){this[_0x5c7707(0x409)][_0x5c7707(0x398)](_0x5c7707(0x17c),'transformStack\x20failed!',_0x13ea09,_0x312a34);break;}_0x3bc782=_0x13ea09[_0x5c7707(0x1ce)],_0x352b2b=_0x312a34[_0x5c7707(0x1ce)],_0x5a05e5[_0x5c7707(0x3ae)]({'unitID':_0x3c3582,'undoMutations':_0x13ea09[_0x5c7707(0x235)],'redoMutations':_0x312a34[_0x5c7707(0x235)]});}return _0x5a05e5['reverse']();}},exports[_0xbef4ca(0x252)]=Zn([de(0x0,a[_0xbef4ca(0x30b)]),de(0x1,a[_0xbef4ca(0x2f4)]),de(0x2,a[_0xbef4ca(0x205)]),de(0x3,m[_0xbef4ca(0x26e)]),de(0x4,a['ILogService'])],exports[_0xbef4ca(0x252)]);var Lt=Object[_0xbef4ca(0x1b1)],Qn=Object[_0xbef4ca(0x30a)],er=(_0x130211,_0x259baa,_0x24a65e)=>_0x259baa in _0x130211?Lt(_0x130211,_0x259baa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x24a65e}):_0x130211[_0x259baa]=_0x24a65e,tr=(_0x4a3e25,_0xf180f7,_0x4273fa,_0x2eaec8)=>{var _0x240aaf=_0xbef4ca;for(var _0x365059=_0x2eaec8>0x1?void 0x0:_0x2eaec8?Qn(_0xf180f7,_0x4273fa):_0xf180f7,_0x1b1d76=_0x4a3e25[_0x240aaf(0x3f5)]-0x1,_0x4a58df;_0x1b1d76>=0x0;_0x1b1d76--)(_0x4a58df=_0x4a3e25[_0x1b1d76])&&(_0x365059=(_0x2eaec8?_0x4a58df(_0xf180f7,_0x4273fa,_0x365059):_0x4a58df(_0x365059))||_0x365059);return _0x2eaec8&&_0x365059&&Lt(_0xf180f7,_0x4273fa,_0x365059),_0x365059;},je=(_0x4847b8,_0x2d342a)=>(_0x453c33,_0x4761ec)=>_0x2d342a(_0x453c33,_0x4761ec,_0x4847b8),ir=(_0x1a46a7,_0x164871,_0x13cfd0)=>er(_0x1a46a7,_0x164871+'',_0x13cfd0);const nr=_0xbef4ca(0x33f);exports[_0xbef4ca(0x2fc)]=class extends a[_0xbef4ca(0x253)]{constructor(_0x3c7af6=Ke,_0x4eca97,_0x5ba5e7,_0x22f1c2){var _0x5d27f9=_0xbef4ca;super(),this[_0x5d27f9(0x3a4)]=_0x3c7af6,this['_logService']=_0x4eca97,this['_injector']=_0x5ba5e7,this[_0x5d27f9(0x1f8)]=_0x22f1c2;const {..._0x3374e4}=a[_0x5d27f9(0x337)]({},Ke,this[_0x5d27f9(0x3a4)]);this[_0x5d27f9(0x1f8)]['setConfig'](q,_0x3374e4);}[_0xbef4ca(0x1e9)](){var _0x3ec86a=_0xbef4ca;this[_0x3ec86a(0x198)](),this['_initDependencies']();}['_registerDependencies'](){var _0x5de0d2=_0xbef4ca,_0x46575f,_0x12a906,_0x246a99,_0x41759b;this[_0x5de0d2(0x40f)][_0x5de0d2(0x43a)](a[_0x5de0d2(0x303)])&&this[_0x5de0d2(0x409)][_0x5de0d2(0x398)](_0x5de0d2(0x453),_0x5de0d2(0x24d));const _0x4dc923=a[_0x5de0d2(0x433)]([[a[_0x5de0d2(0x303)],{'useClass':exports[_0x5de0d2(0x252)]}],[exports[_0x5de0d2(0x2d2)]],[exports[_0x5de0d2(0x47c)]],[exports[_0x5de0d2(0x486)]],[ye],[Pe],[Be],[Ne],[te],[exports[_0x5de0d2(0x1e8)]],[ke,{'useClass':(_0x12a906=(_0x46575f=this[_0x5de0d2(0x3a4)])==null?void 0x0:_0x46575f['socketService'])!=null?_0x12a906:exports['CollaborationSocketService']}],[m[_0x5de0d2(0x21d)],{'useClass':exports[_0x5de0d2(0x333)]}],[a[_0x5de0d2(0x22e)],{'useClass':exports[_0x5de0d2(0x23a)]}],[X[_0x5de0d2(0x43f)],{'useClass':exports[_0x5de0d2(0x322)]}],[a[_0x5de0d2(0x3f0)],{'useClass':exports[_0x5de0d2(0x185)]}],[exports[_0x5de0d2(0x1cc)]],[$e]],(_0x246a99=this['_config'])==null?void 0x0:_0x246a99[_0x5de0d2(0x2e1)]);if(!((_0x41759b=this[_0x5de0d2(0x3a4)])!=null&&_0x41759b[_0x5de0d2(0x2da)])){const _0x517805=_0x4dc923[_0x5de0d2(0x1f6)](([_0x57af05])=>_0x57af05===ve);_0x517805!==-0x1&&_0x4dc923[_0x5de0d2(0x293)](_0x517805,0x1);}a['registerDependencies'](this['_injector'],_0x4dc923);}[_0xbef4ca(0x1f5)](){var _0x23405b=_0xbef4ca,_0x10479e,_0x9e168f,_0x3582ce;this['_injector'][_0x23405b(0x1b9)](z[_0x23405b(0x1d6)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':z['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x10479e=this[_0x23405b(0x3a4)])!=null&&_0x10479e[_0x23405b(0x301)]||(_0x9e168f=this['_injector']['get'](J,a[_0x23405b(0x2d5)]['OPTIONAL']))==null||_0x9e168f[_0x23405b(0x360)](),(_0x3582ce=this['_config'])!=null&&_0x3582ce[_0x23405b(0x1a6)]&&a[_0x23405b(0x3c7)](this[_0x23405b(0x40f)],[[ye]]),a[_0x23405b(0x3c7)](this['_injector'],[[Pe],[exports[_0x23405b(0x1cc)]],[Ne]]);}},ir(exports[_0xbef4ca(0x2fc)],_0xbef4ca(0x45f),nr),exports[_0xbef4ca(0x2fc)]=tr([a['DependentOn'](m[_0xbef4ca(0x1ac)],W[_0xbef4ca(0x1cd)],z[_0xbef4ca(0x277)]),je(0x1,a[_0xbef4ca(0x4ab)]),je(0x2,a[_0xbef4ca(0x4b9)](a['Injector'])),je(0x3,a[_0xbef4ca(0x173)])],exports[_0xbef4ca(0x2fc)]),exports[_0xbef4ca(0x374)]=Ge,exports[_0xbef4ca(0x462)]=q,exports[_0xbef4ca(0x243)]=Et,exports[_0xbef4ca(0x348)]=St,exports['CollaborationStatus']=We,exports[_0xbef4ca(0x38e)]=Q,exports[_0xbef4ca(0x25b)]=te,exports['CommentService']=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=pt,exports[_0xbef4ca(0x25a)]=Xt,exports['HEARTBEAT_INTERVAL_KEY']=gt,exports['HEARTBEAT_TIMEOUT_KEY']=He,exports[_0xbef4ca(0x264)]=ke,exports[_0xbef4ca(0x321)]=J,exports[_0xbef4ca(0x4af)]=Rt,exports[_0xbef4ca(0x33e)]=ve,exports[_0xbef4ca(0x209)]=Yt,exports[_0xbef4ca(0x260)]=Kt,exports[_0xbef4ca(0x1eb)]=Ct,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=Jt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=It,exports[_0xbef4ca(0x396)]=kt,exports[_0xbef4ca(0x330)]=vt,exports[_0xbef4ca(0x499)]=ft,exports[_0xbef4ca(0x304)]=se,exports['UnitStatus']=Fe,exports[_0xbef4ca(0x278)]=Ot,exports[_0xbef4ca(0x46c)]=mi,exports[_0xbef4ca(0x419)]=yt;
1
+ 'use strict';var _0x38d2b1=_0x3c1e;(function(_0x3d0980,_0x34ea83){var _0x21116e=_0x3c1e,_0x237d9f=_0x3d0980();while(!![]){try{var _0x583a92=parseInt(_0x21116e(0x3e7))/0x1*(-parseInt(_0x21116e(0x1de))/0x2)+-parseInt(_0x21116e(0x34a))/0x3*(parseInt(_0x21116e(0x15b))/0x4)+-parseInt(_0x21116e(0x2a4))/0x5+-parseInt(_0x21116e(0x3aa))/0x6+parseInt(_0x21116e(0x288))/0x7*(parseInt(_0x21116e(0xda))/0x8)+parseInt(_0x21116e(0x383))/0x9*(parseInt(_0x21116e(0x11a))/0xa)+parseInt(_0x21116e(0x2af))/0xb*(parseInt(_0x21116e(0x358))/0xc);if(_0x583a92===_0x34ea83)break;else _0x237d9f['push'](_0x237d9f['shift']());}catch(_0x2817f0){_0x237d9f['push'](_0x237d9f['shift']());}}}(_0x5640,0xe3aff));var Mt=Object[_0x38d2b1(0x1b3)],xt=(_0x236a4e,_0x2ab486,_0x492774)=>_0x2ab486 in _0x236a4e?Mt(_0x236a4e,_0x2ab486,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x492774}):_0x236a4e[_0x2ab486]=_0x492774,D=(_0x43f943,_0x598832,_0x56c260)=>xt(_0x43f943,typeof _0x598832!=_0x38d2b1(0x1d8)?_0x598832+'':_0x598832,_0x56c260);Object[_0x38d2b1(0x1b3)](exports,Symbol[_0x38d2b1(0x2c5)],{'value':_0x38d2b1(0x2f6)});const a=require(_0x38d2b1(0x24a)),H=require('rxjs'),V=require('rxjs/operators'),z=require('@univerjs/network'),m=require(_0x38d2b1(0x14f)),jt=require(_0x38d2b1(0x318)),dt=require(_0x38d2b1(0x104)),W=require(_0x38d2b1(0x18b)),X=require(_0x38d2b1(0x121)),$t=require(_0x38d2b1(0x2ec)),vt=_0x38d2b1(0x3b3),Ht=_0x38d2b1(0x41d),ft='SNAPSHOT_URL_KEY',kt=_0x38d2b1(0x1cd),Bt=0x7d0,St='COLLAB_WEB_SOCKET_URL',pt=_0x38d2b1(0x1a5),Ft=_0x38d2b1(0x153),gt=_0x38d2b1(0x361),Wt=0x7530,He=_0x38d2b1(0x20d),mt=0x4e20,Vt=0x4e20,It=_0x38d2b1(0x274),Gt=0x3,Kt='LOCAL_CACHE_INTERVAL',Yt=0x3e8,Et=_0x38d2b1(0x3c4),qt=_0x38d2b1(0xd4),Ct=_0x38d2b1(0x26f),zt=_0x38d2b1(0x126),Jt=_0x38d2b1(0x324),Xt=_0x38d2b1(0x20c);var Tt=(_0x1b9b22=>(_0x1b9b22[_0x1b9b22[_0x38d2b1(0x2a9)]=0x0]='UNDEFINED',_0x1b9b22[_0x1b9b22['OK']=0x1]='OK',_0x1b9b22[_0x1b9b22['INTERNAL_ERROR']=0x2]=_0x38d2b1(0x26a),_0x1b9b22[_0x1b9b22[_0x38d2b1(0x12a)]=0x3]='PERMISSION_DENIED',_0x1b9b22[_0x1b9b22[_0x38d2b1(0x2ad)]=0x4]=_0x38d2b1(0x2ad),_0x1b9b22[_0x1b9b22[_0x38d2b1(0x29c)]=0x5]=_0x38d2b1(0x29c),_0x1b9b22[_0x1b9b22[_0x38d2b1(0xf3)]=0x6]=_0x38d2b1(0xf3),_0x1b9b22[_0x1b9b22[_0x38d2b1(0x434)]=0x7]='INVALID_ARGUMENT',_0x1b9b22[_0x1b9b22[_0x38d2b1(0x2be)]=0x8]=_0x38d2b1(0x2be),_0x1b9b22[_0x1b9b22['COMPLETION_FINISHED']=0x9]=_0x38d2b1(0x272),_0x1b9b22[_0x1b9b22[_0x38d2b1(0x2b4)]=0x1389]=_0x38d2b1(0x2b4),_0x1b9b22[_0x1b9b22['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x38d2b1(0xba),_0x1b9b22[_0x1b9b22[_0x38d2b1(0x3f1)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1b9b22[_0x1b9b22[_0x38d2b1(0xe0)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1b9b22[_0x1b9b22['APPLY_REJECT']=0x1b59]=_0x38d2b1(0xc4),_0x1b9b22[_0x1b9b22[_0x38d2b1(0x31c)]=0x1b5a]=_0x38d2b1(0x31c),_0x1b9b22[_0x1b9b22[_0x38d2b1(0x203)]=0x1b5b]=_0x38d2b1(0x203),_0x1b9b22[_0x1b9b22[_0x38d2b1(0x18a)]=0x1b5c]=_0x38d2b1(0x18a),_0x1b9b22[_0x1b9b22[_0x38d2b1(0x115)]=0x1b5d]=_0x38d2b1(0x115),_0x1b9b22[_0x1b9b22[_0x38d2b1(0x294)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1b9b22[_0x1b9b22[_0x38d2b1(0xe7)]=0x2329]=_0x38d2b1(0xe7),_0x1b9b22[_0x1b9b22[_0x38d2b1(0x1f0)]=0x232a]=_0x38d2b1(0x1f0),_0x1b9b22[_0x1b9b22[_0x38d2b1(0x11f)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1b9b22[_0x1b9b22[_0x38d2b1(0x2a0)]=0x232c]=_0x38d2b1(0x2a0),_0x1b9b22[_0x1b9b22[_0x38d2b1(0x1eb)]=0x232d]=_0x38d2b1(0x1eb),_0x1b9b22[_0x1b9b22[_0x38d2b1(0x26b)]=0x2711]=_0x38d2b1(0x26b),_0x1b9b22[_0x1b9b22[_0x38d2b1(0x105)]=0x2712]=_0x38d2b1(0x105),_0x1b9b22[_0x1b9b22[_0x38d2b1(0x33e)]=0x2713]=_0x38d2b1(0x33e),_0x1b9b22[_0x1b9b22['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x38d2b1(0xc6),_0x1b9b22[_0x1b9b22[_0x38d2b1(0x2c9)]=-0x1]='UNRECOGNIZED',_0x1b9b22))(Tt||{}),Z=(_0x1c4874=>(_0x1c4874[_0x1c4874['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x1c4874[_0x1c4874[_0x38d2b1(0x2b5)]=0x1]=_0x38d2b1(0x2b5),_0x1c4874[_0x1c4874[_0x38d2b1(0x16e)]=0x2]='UNIVER_SHEET',_0x1c4874[_0x1c4874['UNIVER_SLIDE']=0x3]=_0x38d2b1(0x3d3),_0x1c4874[_0x1c4874[_0x38d2b1(0x165)]=0x4]='UNIVER_PROJECT',_0x1c4874[_0x1c4874['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x1c4874))(Z||{}),G=(_0x1a0f23=>(_0x1a0f23[_0x1a0f23[_0x38d2b1(0x150)]=0x0]=_0x38d2b1(0x150),_0x1a0f23[_0x1a0f23['HELLO']=0x1]=_0x38d2b1(0x43e),_0x1a0f23[_0x1a0f23['JOIN']=0x2]=_0x38d2b1(0x230),_0x1a0f23[_0x1a0f23[_0x38d2b1(0x403)]=0x3]=_0x38d2b1(0x403),_0x1a0f23[_0x1a0f23['INGEST']=0x4]=_0x38d2b1(0x1c0),_0x1a0f23[_0x1a0f23[_0x38d2b1(0x3cc)]=0x5]=_0x38d2b1(0x3cc),_0x1a0f23[_0x1a0f23[_0x38d2b1(0x398)]=0x6]=_0x38d2b1(0x398),_0x1a0f23[_0x1a0f23['UNRECOGNIZED']=-0x1]=_0x38d2b1(0x2c9),_0x1a0f23))(G||{}),he=(_0x5efc09=>(_0x5efc09[_0x5efc09[_0x38d2b1(0x10d)]=0x0]=_0x38d2b1(0x10d),_0x5efc09[_0x5efc09['OK']=0x1]='OK',_0x5efc09[_0x5efc09['FAIL']=0x2]=_0x38d2b1(0x17d),_0x5efc09[_0x5efc09[_0x38d2b1(0x1bf)]=0x3e9]=_0x38d2b1(0x1bf),_0x5efc09[_0x5efc09[_0x38d2b1(0x3c6)]=0x3ea]=_0x38d2b1(0x3c6),_0x5efc09[_0x5efc09[_0x38d2b1(0x295)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x5efc09[_0x5efc09['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x38d2b1(0x127),_0x5efc09[_0x5efc09[_0x38d2b1(0x2c9)]=-0x1]=_0x38d2b1(0x2c9),_0x5efc09))(he||{}),bt=(_0x51c508=>(_0x51c508[_0x51c508[_0x38d2b1(0x1c9)]=0x0]=_0x38d2b1(0x1c9),_0x51c508[_0x51c508[_0x38d2b1(0x2bf)]=0x1]=_0x38d2b1(0x2bf),_0x51c508[_0x51c508[_0x38d2b1(0x1f7)]=0x2]=_0x38d2b1(0x1f7),_0x51c508[_0x51c508[_0x38d2b1(0x1af)]=0x3]=_0x38d2b1(0x1af),_0x51c508[_0x51c508['UnitSnapshot']=0x4]=_0x38d2b1(0x2e1),_0x51c508[_0x51c508[_0x38d2b1(0x2c9)]=-0x1]=_0x38d2b1(0x2c9),_0x51c508))(bt||{});const q=_0x38d2b1(0x3f3),Ke={};var Q=(_0x4d259f=>(_0x4d259f[_0x38d2b1(0x277)]=_0x38d2b1(0x277),_0x4d259f['PERMISSION_DENIED']=_0x38d2b1(0x12a),_0x4d259f[_0x38d2b1(0x344)]=_0x38d2b1(0x344),_0x4d259f['CLOSE_ROOM']=_0x38d2b1(0x3a1),_0x4d259f[_0x38d2b1(0x3ec)]=_0x38d2b1(0x3ec),_0x4d259f['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x4d259f[_0x38d2b1(0x1fd)]=_0x38d2b1(0x1fd),_0x4d259f[_0x38d2b1(0x3ee)]='SUBMIT_CHANGESET_TIMEOUT',_0x4d259f))(Q||{});class te{constructor(){var _0x5824d5=_0x38d2b1;D(this,_0x5824d5(0x40b),new H[(_0x5824d5(0x265))]()),D(this,_0x5824d5(0x1b2),this[_0x5824d5(0x40b)][_0x5824d5(0x37d)]());}[_0x38d2b1(0x42d)](_0x1eae2e){var _0x38f125=_0x38d2b1;this[_0x38f125(0x40b)][_0x38f125(0x183)](_0x1eae2e);}}const Rt=a[_0x38d2b1(0x354)](_0x38d2b1(0x131));function Ot(_0xc493f2){var _0x42d261=_0x38d2b1,_0xc50675,_0x4c2e44,_0x170812,_0x3bbb37,_0x14956a;const _0x4e4207=_0xc493f2['data'],_0x3d4a96=JSON[_0x42d261(0x3d0)](_0x4e4207);switch(_0x3d4a96[_0x42d261(0x13a)]){case G[_0x42d261(0x3cc)]:case G[_0x42d261(0x43e)]:{const _0x59428b=_0x3d4a96[_0x42d261(0x3b1)];return{..._0x3d4a96,'data':_0x59428b,'cmd':_0x3d4a96[_0x42d261(0x13a)]};}case G[_0x42d261(0x230)]:{const _0x4d70c4=_0x3d4a96[_0x42d261(0x3fc)];return{..._0x3d4a96,'data':_0x4d70c4,'cmd':_0x3d4a96['cmd']};}case G[_0x42d261(0x398)]:{const _0xac9a47=_0x3d4a96['collaMsg'];switch(_0xac9a47[_0x42d261(0x389)]){case m[_0x42d261(0x12b)][_0x42d261(0x35e)]:return{..._0x3d4a96,'data':{..._0xac9a47,'data':(_0xc50675=_0xac9a47[_0x42d261(0x34f)])==null?void 0x0:_0xc50675['cs']},'cmd':_0x3d4a96['cmd']};case m[_0x42d261(0x12b)][_0x42d261(0xf9)]:return{..._0x3d4a96,'data':{..._0xac9a47,'data':(_0x4c2e44=_0xac9a47[_0x42d261(0x332)])==null?void 0x0:_0x4c2e44['cs']},'cmd':_0x3d4a96[_0x42d261(0x13a)]};case m[_0x42d261(0x12b)][_0x42d261(0x197)]:return{..._0x3d4a96,'data':{..._0xac9a47,'data':(_0x170812=_0xac9a47[_0x42d261(0x339)])==null?void 0x0:_0x170812['cs']},'cmd':_0x3d4a96[_0x42d261(0x13a)]};case m['CollaborationEvent'][_0x42d261(0x271)]:return{..._0x3d4a96,'data':{..._0xac9a47,'data':(_0x3bbb37=_0xac9a47[_0x42d261(0x2ed)])==null?void 0x0:_0x3bbb37['cs']},'cmd':_0x3d4a96[_0x42d261(0x13a)]};case m[_0x42d261(0x12b)][_0x42d261(0x438)]:return{..._0x3d4a96,'data':{..._0xac9a47,'data':(_0x14956a=_0xac9a47[_0x42d261(0x1d0)])==null?void 0x0:_0x14956a['cs']},'cmd':_0x3d4a96[_0x42d261(0x13a)]};case m[_0x42d261(0x12b)]['UPDATE_CURSOR']:return{..._0x3d4a96,'data':{..._0xac9a47,'data':_0xac9a47[_0x42d261(0x416)]},'cmd':_0x3d4a96['cmd']};case m[_0x42d261(0x12b)]['USERS_ENTER']:return{..._0x3d4a96,'data':{..._0xac9a47,'data':_0xac9a47[_0x42d261(0x32d)]},'cmd':_0x3d4a96[_0x42d261(0x13a)]};case m[_0x42d261(0x12b)]['USERS_LEAVE']:return{..._0x3d4a96,'data':{..._0xac9a47,'data':_0xac9a47['leaveEvent']},'cmd':_0x3d4a96['cmd']};case m[_0x42d261(0x12b)][_0x42d261(0x33a)]:return{..._0x3d4a96,'data':{..._0xac9a47,'data':_0xac9a47['liveShareNewHost']},'cmd':_0x3d4a96[_0x42d261(0x13a)]};case m[_0x42d261(0x12b)][_0x42d261(0x2f9)]:case m[_0x42d261(0x12b)][_0x42d261(0x1fe)]:return{..._0x3d4a96,'data':{..._0xac9a47,'data':_0xac9a47[_0x42d261(0x179)]},'cmd':_0x3d4a96[_0x42d261(0x13a)]};case m['CollaborationEvent'][_0x42d261(0x1cc)]:return{..._0x3d4a96,'data':{..._0xac9a47,'data':_0xac9a47[_0x42d261(0x436)]},'cmd':_0x3d4a96[_0x42d261(0x13a)]};case m[_0x42d261(0x12b)]['MSG_FOR_ERROR']:return{..._0x3d4a96,'data':_0xac9a47,'cmd':_0x3d4a96['cmd']};case m[_0x42d261(0x12b)][_0x42d261(0x18e)]:return{..._0x3d4a96,'data':{..._0xac9a47,'data':_0xac9a47[_0x42d261(0x133)]},'cmd':_0x3d4a96['cmd']};case m[_0x42d261(0x12b)][_0x42d261(0x426)]:return{..._0x3d4a96,'data':{..._0xac9a47,'data':_0xac9a47[_0x42d261(0x1a6)]},'cmd':_0x3d4a96[_0x42d261(0x13a)]};case m['CollaborationEvent'][_0x42d261(0x2a7)]:return{..._0x3d4a96,'data':{..._0xac9a47,'data':_0xac9a47['shouldCloseConn']},'cmd':_0x3d4a96[_0x42d261(0x13a)]};case m[_0x42d261(0x12b)][_0x42d261(0x17b)]:return{..._0x3d4a96,'data':{..._0xac9a47,'data':_0xac9a47['uniscriptRunEvent']},'cmd':_0x3d4a96[_0x42d261(0x13a)]};default:return _0x3d4a96;}}default:return _0x3d4a96;}}function yt(_0x1170ae){var _0x4d4c64=_0x38d2b1;switch(_0x1170ae[_0x4d4c64(0x13a)]){case G['HEARTBEAT']:case G[_0x4d4c64(0x43e)]:return JSON[_0x4d4c64(0x235)]({'cmd':_0x1170ae['cmd'],'routeKey':_0x1170ae[_0x4d4c64(0x26c)]});case G[_0x4d4c64(0x1c0)]:{let _0x2e1b16;switch(_0x1170ae[_0x4d4c64(0x1bb)]['eventID']){case m[_0x4d4c64(0x12b)]['UPDATE_CURSOR']:{_0x2e1b16={'eventID':m['CollaborationEvent'][_0x4d4c64(0x372)],'updateCursorEvent':_0x1170ae[_0x4d4c64(0x1bb)][_0x4d4c64(0x1bb)]};break;}case m[_0x4d4c64(0x12b)][_0x4d4c64(0x1a9)]:{_0x2e1b16={'eventID':m[_0x4d4c64(0x12b)][_0x4d4c64(0x1a9)],'leaveEvent':_0x1170ae[_0x4d4c64(0x1bb)][_0x4d4c64(0x1bb)]};break;}case m[_0x4d4c64(0x12b)][_0x4d4c64(0x11e)]:{_0x2e1b16={'eventID':m['CollaborationEvent'][_0x4d4c64(0x11e)],'joinEvent':_0x1170ae[_0x4d4c64(0x1bb)][_0x4d4c64(0x1bb)]};break;}case m[_0x4d4c64(0x12b)][_0x4d4c64(0x33a)]:{_0x2e1b16={'eventID':m[_0x4d4c64(0x12b)][_0x4d4c64(0x33a)],'liveShareNewHost':_0x1170ae['data'][_0x4d4c64(0x1bb)]};break;}case m[_0x4d4c64(0x12b)][_0x4d4c64(0x1fe)]:{_0x2e1b16={'eventID':m[_0x4d4c64(0x12b)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x1170ae['data'][_0x4d4c64(0x1bb)]};break;}case m[_0x4d4c64(0x12b)][_0x4d4c64(0x1cc)]:{_0x2e1b16={'eventID':m['CollaborationEvent'][_0x4d4c64(0x1cc)],'liveShareTerminate':_0x1170ae[_0x4d4c64(0x1bb)]['data']};break;}case m[_0x4d4c64(0x12b)]['LIVESHARE_REQUEST_HOST']:{_0x2e1b16={'eventID':m[_0x4d4c64(0x12b)][_0x4d4c64(0x200)],'liveShareRequestHost':_0x1170ae[_0x4d4c64(0x1bb)]['data']};break;}case m['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x2e1b16={'eventID':m['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x2e1b16={'eventID':_0x1170ae[_0x4d4c64(0x1bb)][_0x4d4c64(0x389)]};}return JSON['stringify']({'cmd':_0x1170ae[_0x4d4c64(0x13a)],'routeKey':_0x1170ae[_0x4d4c64(0x26c)],'collaMsg':_0x2e1b16});}case G[_0x4d4c64(0x230)]:return JSON[_0x4d4c64(0x235)]({'cmd':_0x1170ae[_0x4d4c64(0x13a)],'routeKey':_0x1170ae[_0x4d4c64(0x26c)],'joinReq':_0x1170ae[_0x4d4c64(0x1bb)]});case G['LEAVE']:return JSON['stringify']({'cmd':_0x1170ae[_0x4d4c64(0x13a)],'routeKey':_0x1170ae[_0x4d4c64(0x26c)],'leaveReq':_0x1170ae[_0x4d4c64(0x1bb)]});default:throw new Error(_0x4d4c64(0x249));}}var Zt=Object[_0x38d2b1(0x1b3)],Qt=Object['getOwnPropertyDescriptor'],ei=(_0x4cb651,_0x3f269c,_0x47a70d,_0x5afefd)=>{var _0x47ae8e=_0x38d2b1;for(var _0x4d6f9b=_0x5afefd>0x1?void 0x0:_0x5afefd?Qt(_0x3f269c,_0x47a70d):_0x3f269c,_0x202a2e=_0x4cb651[_0x47ae8e(0x1b7)]-0x1,_0x2430fe;_0x202a2e>=0x0;_0x202a2e--)(_0x2430fe=_0x4cb651[_0x202a2e])&&(_0x4d6f9b=(_0x5afefd?_0x2430fe(_0x3f269c,_0x47a70d,_0x4d6f9b):_0x2430fe(_0x4d6f9b))||_0x4d6f9b);return _0x5afefd&&_0x4d6f9b&&Zt(_0x3f269c,_0x47a70d,_0x4d6f9b),_0x4d6f9b;},ue=(_0x5ae027,_0x261d35)=>(_0x3afbf7,_0x8dc17c)=>_0x261d35(_0x3afbf7,_0x8dc17c,_0x5ae027);const ke=a[_0x38d2b1(0x354)](_0x38d2b1(0x333));function ti(_0x4c1cf3,_0x3dfeb2,_0x33facb){var _0x532fe3=_0x38d2b1;return _0x4c1cf3+'/'+_0x3dfeb2+_0x532fe3(0x406)+_0x33facb+_0x532fe3(0x24c);}exports[_0x38d2b1(0x310)]=class extends a[_0x38d2b1(0x211)]{constructor(_0x56015b,_0x404f48,_0x4d51b0,_0x35f647,_0x7f96af){var _0xa79f85=_0x38d2b1;super(),this['_injector']=_0x56015b,this['_http']=_0x404f48,this['_configService']=_0x4d51b0,this[_0xa79f85(0x1e7)]=_0x35f647,this[_0xa79f85(0x3e3)]=_0x7f96af;}['createSocket'](_0x7257c8){var _0x37ceaf=_0x38d2b1;const _0x225482=this[_0x37ceaf(0x415)][_0x37ceaf(0x178)](z[_0x37ceaf(0xee)]);if(!_0x225482)throw new Error(_0x37ceaf(0x1d9));const _0x407e60=_0x225482['createSocket'](_0x7257c8);if(!_0x407e60)throw new Error(_0x37ceaf(0x41f));const _0x452996=new a[(_0x37ceaf(0x3ab))](),_0x465aa=new H[(_0x37ceaf(0x265))]();_0x452996[_0x37ceaf(0x3ac)](_0x407e60['close$'][_0x37ceaf(0x28f)](_0x5e7330=>_0x465aa[_0x37ceaf(0x183)](_0x5e7330))),_0x452996[_0x37ceaf(0x3ac)](a['toDisposable'](()=>_0x465aa[_0x37ceaf(0xe4)]()));const _0x3bd1f9=new H[(_0x37ceaf(0x265))]();_0x452996[_0x37ceaf(0x3ac)](_0x407e60['error$'][_0x37ceaf(0x28f)](_0x206199=>_0x3bd1f9[_0x37ceaf(0x183)](_0x206199))),_0x452996[_0x37ceaf(0x3ac)](a['toDisposable'](()=>_0x3bd1f9[_0x37ceaf(0xe4)]()));const _0x3bb417=new H[(_0x37ceaf(0x265))]();_0x452996['add'](_0x407e60[_0x37ceaf(0x140)][_0x37ceaf(0x28f)](_0x4a4d23=>{const _0x486772=Ot(_0x4a4d23);_0x3bb417['next'](_0x486772);})),_0x452996[_0x37ceaf(0x3ac)](a[_0x37ceaf(0x379)](()=>_0x3bb417[_0x37ceaf(0xe4)]()));let _0x289381;const _0x54cd87=()=>{var _0x1df24d=_0x37ceaf;_0x3bd1f9[_0x1df24d(0x183)](new Event('connection\x20error')),_0x465aa[_0x1df24d(0x183)](new CloseEvent(_0x1df24d(0x17a))),_0x289381['close']();};return _0x289381={'memberID':'','close$':_0x465aa['asObservable'](),'error$':_0x3bd1f9[_0x37ceaf(0x37d)](),'open$':_0x407e60[_0x37ceaf(0x2b0)],'message$':_0x3bb417[_0x37ceaf(0x37d)](),'send':_0x145930=>{var _0x70c75f=_0x37ceaf;if(_0x145930[_0x70c75f(0x13a)]===G[_0x70c75f(0x1c0)]){if(_0x145930['data']['eventID']===m[_0x70c75f(0x12b)][_0x70c75f(0x3c3)]){this[_0x70c75f(0x1ee)](_0x289381,_0x145930['data'])[_0x70c75f(0xbe)](_0x124961=>{var _0x60509d=_0x70c75f;this['_logService'][_0x60509d(0xdd)](_0x124961),_0x54cd87();});return;}if(_0x145930[_0x70c75f(0x1bb)][_0x70c75f(0x389)]===m['CollaborationEvent'][_0x70c75f(0x319)]){const _0x53a8b5=_0x145930['data'];this['_fetchMissChangesets'](_0x53a8b5)[_0x70c75f(0x387)](_0x12cb1c=>{var _0x1b19ff=_0x70c75f;_0x3bb417['next']({'cmd':G[_0x1b19ff(0x398)],'code':he['OK'],'routeKey':_0x53a8b5[_0x1b19ff(0x1bb)]['unitID'],'routeType':'','data':{'eventID':m[_0x1b19ff(0x12b)][_0x1b19ff(0x3ed)],'data':{'changesets':_0x12cb1c}}});})[_0x70c75f(0xbe)](_0xc95055=>{var _0x3ce215=_0x70c75f;this['_logService'][_0x3ce215(0xdd)](_0xc95055),_0x54cd87();});return;}}_0x407e60[_0x70c75f(0x2cb)](yt(_0x145930));},'close':()=>{var _0x389fb4=_0x37ceaf;_0x407e60['close'](),_0x452996[_0x389fb4(0x1dc)]();}},_0x289381;}async[_0x38d2b1(0x1ee)](_0x321e95,_0x411ca6){var _0x321bf0=_0x38d2b1,_0x2b9f68,_0x408056;const {unitType:_0x3dbf34,unitID:_0x14ed12,changeset:_0x293523}=_0x411ca6[_0x321bf0(0x1bb)],_0x471f28={'unitID':_0x14ed12,'memberID':_0x321e95['memberID'],'type':_0x3dbf34,'changeset':m[_0x321bf0(0x309)](_0x293523)},_0x3261f2=this['_configService'][_0x321bf0(0x3ff)](Et),_0x396186=this[_0x321bf0(0x15e)]['getConfig'](q),_0x54f111=ti((_0x408056=(_0x2b9f68=_0x396186==null?void 0x0:_0x396186[_0x321bf0(0x1d5)])!=null?_0x2b9f68:_0x3261f2)!=null?_0x408056:qt,_0x3dbf34,_0x14ed12);try{await this['_http'][_0x321bf0(0x29e)](_0x54f111,{'body':_0x471f28});}catch(_0x5d7180){throw this[_0x321bf0(0x1e7)]['error'](_0x321bf0(0x190),_0x321bf0(0x228)),_0x5d7180;}}async[_0x38d2b1(0x21c)](_0x3e20ae){var _0x59402e=_0x38d2b1;const {unitID:_0x380fe9,from:_0x597c80,to:_0x4cef25,unitType:_0x15a26a}=_0x3e20ae[_0x59402e(0x1bb)];return(await this[_0x59402e(0x3e3)][_0x59402e(0x331)]({'metadata':void 0x0},{'unitID':_0x380fe9,'type':_0x15a26a,'from':_0x597c80,'to':_0x4cef25}))[_0x59402e(0x2f2)];}},exports[_0x38d2b1(0x310)]=ei([ue(0x0,a[_0x38d2b1(0x258)](a[_0x38d2b1(0x299)])),ue(0x1,a[_0x38d2b1(0x258)](z[_0x38d2b1(0x187)])),ue(0x2,a[_0x38d2b1(0x16b)]),ue(0x3,a[_0x38d2b1(0x395)]),ue(0x4,m[_0x38d2b1(0x1e2)])],exports[_0x38d2b1(0x310)]);const ii='collaboration_new_changeset';function ni(_0x1b5bb3){var _0x198da6=_0x38d2b1;return JSON[_0x198da6(0x235)](_0x1b5bb3)[_0x198da6(0x1b7)];}class Be{constructor(){var _0x22bba0=_0x38d2b1;D(this,_0x22bba0(0x3d7),new H[(_0x22bba0(0x265))]()),D(this,_0x22bba0(0x1a1),this['_commentUpdate$'][_0x22bba0(0x37d)]());}['onCommentUpdate'](_0x25443b){var _0x37b541=_0x38d2b1;this[_0x37b541(0x3d7)][_0x37b541(0x183)](_0x25443b);}}var ri=Object['defineProperty'],si=Object[_0x38d2b1(0x3e2)],oi=(_0x414a08,_0x52d827,_0x3b4264,_0x376826)=>{for(var _0x49ddac=_0x376826>0x1?void 0x0:_0x376826?si(_0x52d827,_0x3b4264):_0x52d827,_0x27f1a0=_0x414a08['length']-0x1,_0x4c9ea3;_0x27f1a0>=0x0;_0x27f1a0--)(_0x4c9ea3=_0x414a08[_0x27f1a0])&&(_0x49ddac=(_0x376826?_0x4c9ea3(_0x52d827,_0x3b4264,_0x49ddac):_0x4c9ea3(_0x49ddac))||_0x49ddac);return _0x376826&&_0x49ddac&&ri(_0x52d827,_0x3b4264,_0x49ddac),_0x49ddac;},Ye=(_0x227b64,_0x5a7bf5)=>(_0x545d1c,_0x3e95dd)=>_0x5a7bf5(_0x545d1c,_0x3e95dd,_0x227b64);exports[_0x38d2b1(0x15d)]=class extends a[_0x38d2b1(0x211)]{constructor(_0x585128,_0x5b9ebe){var _0x427359=_0x38d2b1;super(),D(this,_0x427359(0xef),new Map()),D(this,_0x427359(0x412),new H[(_0x427359(0x265))]()),(this[_0x427359(0xe3)]=_0x585128,this[_0x427359(0x1d7)]=_0x5b9ebe,this['disposeWithMe'](H['merge'](this[_0x427359(0xe3)][_0x427359(0x220)](a[_0x427359(0x236)][_0x427359(0x16e)])[_0x427359(0x2b9)](V[_0x427359(0x111)](_0x2d6615=>_0x2d6615[_0x427359(0x2ab)]())),this[_0x427359(0xe3)][_0x427359(0x220)](a[_0x427359(0x236)][_0x427359(0x2b5)])[_0x427359(0x2b9)](V[_0x427359(0x111)](_0x51cff2=>_0x51cff2[_0x427359(0x2ab)]())),this[_0x427359(0xe3)][_0x427359(0x220)](a['UniverInstanceType'][_0x427359(0x3d3)])[_0x427359(0x2b9)](V[_0x427359(0x111)](_0x36d0d4=>_0x36d0d4['getUnitId']())))[_0x427359(0x28f)](_0x2f9d6c=>this[_0x427359(0x31d)](_0x2f9d6c))));}[_0x38d2b1(0x3d8)](_0x234176){var _0x4fe697=_0x38d2b1;return this['_roomMembers']['has'](_0x234176)?H['of'](this['_roomMembers'][_0x4fe697(0x178)](_0x234176)):this[_0x4fe697(0x412)][_0x4fe697(0x2b9)](V['map'](_0x4212ba=>{var _0x30839d=_0x4fe697;if(_0x4212ba===_0x234176)return this[_0x30839d(0xef)][_0x30839d(0x178)](_0x4212ba);}));}[_0x38d2b1(0x3f9)](_0x355266){var _0x32aa22=_0x38d2b1;this[_0x32aa22(0x1d7)][_0x32aa22(0x3f9)](_0x355266);}[_0x38d2b1(0x224)](){var _0x4f379b=_0x38d2b1;return this[_0x4f379b(0x1d7)][_0x4f379b(0x224)]();}[_0x38d2b1(0x282)](_0x4f6c61,_0x458b5d){var _0x417dad=_0x38d2b1;let _0x2d7b67=this[_0x417dad(0xef)][_0x417dad(0x178)](_0x4f6c61);_0x2d7b67||(_0x2d7b67=new ai(),this[_0x417dad(0xef)][_0x417dad(0x330)](_0x4f6c61,_0x2d7b67),this[_0x417dad(0x412)]['next'](_0x4f6c61)),_0x2d7b67[_0x417dad(0x282)](_0x458b5d);}['removeMember'](_0x1affb2,_0x3410dc){var _0x2afbd9=_0x38d2b1;const _0xaa474e=this[_0x2afbd9(0xef)][_0x2afbd9(0x178)](_0x1affb2);_0xaa474e&&_0xaa474e[_0x2afbd9(0x1be)](_0x3410dc);}[_0x38d2b1(0x252)](_0x900786){var _0x131ad4=_0x38d2b1;return this[_0x131ad4(0xef)][_0x131ad4(0x178)](_0x900786);}[_0x38d2b1(0x35d)](_0x4df6e1,_0x1ddf42){var _0x29d723=_0x38d2b1;const _0x4c4672=this['_roomMembers'][_0x29d723(0x178)](_0x4df6e1);if(_0x4c4672)return _0x4c4672[_0x29d723(0x35d)](_0x1ddf42);}['_removeRoom'](_0x3ec216){var _0x1bbb54=_0x38d2b1;const _0x58f172=this[_0x1bbb54(0xef)][_0x1bbb54(0x178)](_0x3ec216);_0x58f172&&(_0x58f172[_0x1bbb54(0x1dc)](),this['_roomMembers'][_0x1bbb54(0x1f5)](_0x3ec216));}[_0x38d2b1(0x1dc)](){var _0x258a9a=_0x38d2b1;this['_roomMembers'][_0x258a9a(0x246)](_0x27cfe4=>_0x27cfe4[_0x258a9a(0x1dc)]()),this[_0x258a9a(0xef)][_0x258a9a(0x184)](),this[_0x258a9a(0x412)]['complete']();}},exports['MemberService']=oi([Ye(0x0,a['IUniverInstanceService']),Ye(0x1,a[_0x38d2b1(0x258)](a[_0x38d2b1(0x22d)]))],exports[_0x38d2b1(0x15d)]);class ai extends a[_0x38d2b1(0x211)]{constructor(){var _0x3723f4=_0x38d2b1;super(...arguments),D(this,_0x3723f4(0x1b8),new Map()),D(this,_0x3723f4(0x278),new H['BehaviorSubject'](this['_members'])),D(this,_0x3723f4(0x43a),this[_0x3723f4(0x278)][_0x3723f4(0x37d)]());}[_0x38d2b1(0x1dc)](){var _0xe152a3=_0x38d2b1;this[_0xe152a3(0x1b8)]['clear']();}[_0x38d2b1(0x282)](_0x525185){var _0x5dc48e=_0x38d2b1;this[_0x5dc48e(0x1b8)]['set'](_0x525185['memberID'],_0x525185),this[_0x5dc48e(0x38c)]();}[_0x38d2b1(0x1be)](_0x2697cf){var _0xcd21ab=_0x38d2b1;this['_members'][_0xcd21ab(0x1f5)](_0x2697cf);}[_0x38d2b1(0x35d)](_0x5e34d3){var _0x1ab5bf=_0x38d2b1;return this[_0x1ab5bf(0x1b8)][_0x1ab5bf(0x178)](_0x5e34d3);}[_0x38d2b1(0x2ef)](){var _0x4188d7=_0x38d2b1;return Array['from'](this[_0x4188d7(0x1b8)][_0x4188d7(0x27c)]());}[_0x38d2b1(0x38c)](){var _0x5b7deb=_0x38d2b1;this[_0x5b7deb(0x278)][_0x5b7deb(0x183)](this[_0x5b7deb(0x1b8)]);}}var ci=Object[_0x38d2b1(0x1b3)],hi=Object[_0x38d2b1(0x3e2)],li=(_0x3eebca,_0x5a56ee,_0x2d1b0f,_0x2d40f2)=>{for(var _0x1a23dd=_0x2d40f2>0x1?void 0x0:_0x2d40f2?hi(_0x5a56ee,_0x2d1b0f):_0x5a56ee,_0xfb1b=_0x3eebca['length']-0x1,_0x32e4a9;_0xfb1b>=0x0;_0xfb1b--)(_0x32e4a9=_0x3eebca[_0xfb1b])&&(_0x1a23dd=(_0x2d40f2?_0x32e4a9(_0x5a56ee,_0x2d1b0f,_0x1a23dd):_0x32e4a9(_0x1a23dd))||_0x1a23dd);return _0x2d40f2&&_0x1a23dd&&ci(_0x5a56ee,_0x2d1b0f,_0x1a23dd),_0x1a23dd;},oe=(_0x4a9f5d,_0x414583)=>(_0xb87cc9,_0x3a43fe)=>_0x414583(_0xb87cc9,_0x3a43fe,_0x4a9f5d),se=(_0x13b955=>(_0x13b955[_0x13b955[_0x38d2b1(0x341)]=0x0]=_0x38d2b1(0x341),_0x13b955[_0x13b955[_0x38d2b1(0xd6)]=0x1]=_0x38d2b1(0xd6),_0x13b955[_0x13b955['OFFLINE']=0x2]=_0x38d2b1(0xe5),_0x13b955[_0x13b955[_0x38d2b1(0x371)]=0x3]='ONLINE',_0x13b955))(se||{});const qe={[he['FAIL']]:'session.join-failed',[he['JOIN_ROOM_FULL']]:'session.room-full',[he[_0x38d2b1(0x3c6)]]:_0x38d2b1(0x202),[he[_0x38d2b1(0x295)]]:_0x38d2b1(0x2da),[he['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x38d2b1(0x116)};exports[_0x38d2b1(0x39e)]=class extends a[_0x38d2b1(0x369)]{constructor(_0x4c15db,_0x533e4e,_0x24d5fd,_0x5674c8,_0x383700,_0x2f7b20,_0x23d263,_0x14c27c,_0x175bdc){var _0x3c7366=_0x38d2b1;super(),D(this,_0x3c7366(0xdc),new H['BehaviorSubject'](0x0)),D(this,_0x3c7366(0x2e4),this[_0x3c7366(0xdc)][_0x3c7366(0x37d)]()),D(this,_0x3c7366(0x40b),new H['Subject']()),D(this,_0x3c7366(0x1b2),this['_event$']['asObservable']()),D(this,_0x3c7366(0x430)),D(this,_0x3c7366(0x1ff)),D(this,_0x3c7366(0x338)),D(this,'_shouldReportTelemetry',!0x1),D(this,_0x3c7366(0x257),null),(this['_unitID']=_0x4c15db,this[_0x3c7366(0x1e7)]=_0x24d5fd,this[_0x3c7366(0x15e)]=_0x5674c8,this['_localeService']=_0x383700,this[_0x3c7366(0x303)]=_0x2f7b20,this[_0x3c7366(0x373)]=_0x23d263,this['_collaborationUIEventService']=_0x14c27c,this[_0x3c7366(0x207)]=_0x175bdc,this[_0x3c7366(0x231)]=!!this[_0x3c7366(0x207)],_0x533e4e[_0x3c7366(0x2b9)](H[_0x3c7366(0x2c0)](this[_0x3c7366(0x191)]))[_0x3c7366(0x28f)](_0x2fc2fb=>{var _0x29d889=_0x3c7366,_0x273591;typeof _0x2fc2fb>'u'||(this['_socket']=_0x2fc2fb,_0x2fc2fb?(this[_0x29d889(0x36d)](_0x2fc2fb),this[_0x29d889(0x1ff)]=_0x2fc2fb[_0x29d889(0x140)][_0x29d889(0x28f)](_0x33f036=>{var _0x6bb864=_0x29d889;_0x33f036[_0x6bb864(0x26c)]===this[_0x6bb864(0x147)]&&this[_0x6bb864(0x326)](_0x33f036);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x29d889(0xdc)][_0x29d889(0x183)](0x2),(_0x273591=this[_0x29d889(0x1ff)])==null||_0x273591['unsubscribe'](),this[_0x29d889(0x1ff)]=null));}));}get['sessionStatus'](){var _0x21b4ac=_0x38d2b1;return this[_0x21b4ac(0xdc)][_0x21b4ac(0x3b0)]();}[_0x38d2b1(0x3e0)](){var _0x59e28f=_0x38d2b1,_0x4b10d3,_0x2ce5ab;return(_0x2ce5ab=(_0x4b10d3=this[_0x59e28f(0x430)])==null?void 0x0:_0x4b10d3['memberID'])!=null?_0x2ce5ab:null;}[_0x38d2b1(0x1dc)](){var _0x22e2d0=_0x38d2b1;super[_0x22e2d0(0x1dc)](),this['dispose$'][_0x22e2d0(0x183)](),this[_0x22e2d0(0x191)][_0x22e2d0(0xe4)]();}[_0x38d2b1(0x171)](){var _0x4d65ab=_0x38d2b1,_0x11af7e,_0x3b663b;this['_throwTelemetryCollaborationNewChangeset'](),(_0x11af7e=this[_0x4d65ab(0x430)])==null||_0x11af7e[_0x4d65ab(0x2cb)]({'cmd':G['LEAVE'],'data':{'roomID':this[_0x4d65ab(0x147)]}}),(_0x3b663b=this[_0x4d65ab(0x430)])==null||_0x3b663b['close'](),this['_event$'][_0x4d65ab(0xe4)](),this[_0x4d65ab(0xdc)][_0x4d65ab(0xe4)](),this[_0x4d65ab(0x1dc)]();}[_0x38d2b1(0x326)](_0xc751b7){var _0x2ba2ac=_0x38d2b1;_0xc751b7[_0x2ba2ac(0x13a)]===G[_0x2ba2ac(0x230)]?this[_0x2ba2ac(0x1ce)](_0xc751b7):_0xc751b7[_0x2ba2ac(0x13a)]===G[_0x2ba2ac(0x398)]&&this[_0x2ba2ac(0x26e)](_0xc751b7);}[_0x38d2b1(0x36d)](_0x32d04){var _0x190dbe=_0x38d2b1;this['_sessionStatus$']['next'](0x1),_0x32d04[_0x190dbe(0x2cb)]({'cmd':G[_0x190dbe(0x230)],'routeKey':this[_0x190dbe(0x147)],'routeType':'','data':{'rooms':[{'roomID':this[_0x190dbe(0x147)]}]}});}['_onJoinRoomEvent'](_0x2b6cb9){var _0x1fb21f=_0x38d2b1,_0x49ec26;if(_0x2b6cb9[_0x1fb21f(0x375)]in qe){this[_0x1fb21f(0x346)][_0x1fb21f(0x42d)]({'id':Q[_0x1fb21f(0x3ec)],'data':qe[_0x2b6cb9[_0x1fb21f(0x375)]]}),this[_0x1fb21f(0xdc)][_0x1fb21f(0x183)](0x2);return;}this['_sessionStatus$'][_0x1fb21f(0x183)](0x3);const _0x11c68a=(_0x49ec26=_0x2b6cb9[_0x1fb21f(0x1bb)][_0x1fb21f(0x38e)][this['_unitID']])==null?void 0x0:_0x49ec26[_0x1fb21f(0x3c0)];_0x11c68a&&_0x11c68a[_0x1fb21f(0x246)](_0x5e62d9=>this[_0x1fb21f(0x303)][_0x1fb21f(0x282)](this['_unitID'],_0x5e62d9));}[_0x38d2b1(0x26e)](_0x3a2d81){var _0x4a9052=_0x38d2b1;try{const _0x2eebb3=_0x3a2d81['data'];switch(_0x2eebb3[_0x4a9052(0x389)]){case m[_0x4a9052(0x12b)][_0x4a9052(0x11e)]:this['_onUserJoin'](_0x2eebb3),this['_event$'][_0x4a9052(0x183)](_0x2eebb3);break;case m[_0x4a9052(0x12b)][_0x4a9052(0x1a9)]:this[_0x4a9052(0x405)](_0x2eebb3),this['_event$'][_0x4a9052(0x183)](_0x2eebb3);break;case m[_0x4a9052(0x12b)]['CHANGESET_ACK']:case m[_0x4a9052(0x12b)][_0x4a9052(0x438)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x4a9052(0x40b)][_0x4a9052(0x183)](_0x2eebb3);break;case m['CollaborationEvent']['MSG_FOR_ERROR']:this[_0x4a9052(0x1e7)][_0x4a9052(0xdd)](_0x4a9052(0x186)+JSON['stringify'](_0x2eebb3)),this[_0x4a9052(0x40b)][_0x4a9052(0x183)](_0x2eebb3);break;case m[_0x4a9052(0x12b)][_0x4a9052(0x18e)]:this['_commentService']['onCommentUpdate'](_0x2eebb3['data']),this[_0x4a9052(0x40b)]['next'](_0x2eebb3);break;default:this['_event$'][_0x4a9052(0x183)](_0x2eebb3);}}catch(_0x3c0937){this['_logService'][_0x4a9052(0xdd)](_0x3c0937,_0x3a2d81);}}[_0x38d2b1(0x292)](_0xebcff7){var _0x534390=_0x38d2b1;this[_0x534390(0x303)][_0x534390(0x282)](this[_0x534390(0x147)],_0xebcff7[_0x534390(0x1bb)]);}[_0x38d2b1(0x405)](_0xaac62e){var _0x448415=_0x38d2b1;this[_0x448415(0x303)][_0x448415(0x1be)](this[_0x448415(0x147)],_0xaac62e[_0x448415(0x1bb)][_0x448415(0x407)]);}async[_0x38d2b1(0x2cb)](_0x4d8da7,_0x112c47){var _0x29dc47=_0x38d2b1;if(this[_0x29dc47(0x2b7)]!==0x3||!this[_0x29dc47(0x430)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x4d8da7[_0x29dc47(0x389)]===m[_0x29dc47(0x12b)]['SUBMIT_CHANGESET']&&(this[_0x29dc47(0x40f)](),this[_0x29dc47(0x30a)](_0x4d8da7)),this['_socket'][_0x29dc47(0x2cb)]({'cmd':G['INGEST'],'routeKey':_0x112c47,'routeType':'','data':_0x4d8da7});}catch(_0x3c92b5){this[_0x29dc47(0x1e7)][_0x29dc47(0xdd)](_0x3c92b5);}}[_0x38d2b1(0x40f)](){var _0x401d6e=_0x38d2b1,_0x2d0b32;this[_0x401d6e(0x338)]=setTimeout(()=>{var _0x3db283=_0x401d6e;this[_0x3db283(0x338)]=null,this['_collaborationUIEventService'][_0x3db283(0x42d)]({'id':Q['SUBMIT_CHANGESET_TIMEOUT']});},(_0x2d0b32=this[_0x401d6e(0x15e)][_0x401d6e(0x3ff)](He))!=null?_0x2d0b32:mt);}[_0x38d2b1(0x2b6)](){var _0x1bb42a=_0x38d2b1;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x1bb42a(0x338)]=null);}[_0x38d2b1(0x30a)](_0x2d128a){var _0x1ca40f=_0x38d2b1;if(!this['_shouldReportTelemetry'])return;const {data:_0x1eacf5}=_0x2d128a,{unitID:_0x2bd463,changeset:_0x1a30b6}=_0x1eacf5,{mutations:_0x11e219,type:_0x242964}=_0x1a30b6;this[_0x1ca40f(0x257)]={'unitId':_0x2bd463,'type':_0x242964,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ni(_0x11e219)};}[_0x38d2b1(0x27a)](){var _0x57eba1=_0x38d2b1;if(this['_shouldReportTelemetry']){if(!this[_0x57eba1(0x257)]){this[_0x57eba1(0x1e7)]['error'](_0x57eba1(0x190),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x57eba1(0x257)][_0x57eba1(0x195)]=performance['now'](),this[_0x57eba1(0x257)][_0x57eba1(0x39f)]=this[_0x57eba1(0x257)][_0x57eba1(0x195)]-this[_0x57eba1(0x257)][_0x57eba1(0x1bc)],this[_0x57eba1(0x207)][_0x57eba1(0x213)](ii,this[_0x57eba1(0x257)]),this[_0x57eba1(0x257)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}},exports[_0x38d2b1(0x39e)]=li([oe(0x2,a[_0x38d2b1(0x395)]),oe(0x3,a[_0x38d2b1(0x16b)]),oe(0x4,a[_0x38d2b1(0x258)](a[_0x38d2b1(0x3fd)])),oe(0x5,a[_0x38d2b1(0x258)](exports[_0x38d2b1(0x15d)])),oe(0x6,a[_0x38d2b1(0x258)](Be)),oe(0x7,a['Inject'](te)),oe(0x8,a[_0x38d2b1(0x11d)](jt[_0x38d2b1(0x360)]))],exports[_0x38d2b1(0x39e)]);var _i=Object['defineProperty'],ui=Object[_0x38d2b1(0x3e2)],di=(_0x15b5c9,_0x54e9fb,_0x8db1aa,_0x1835b5)=>{var _0xd6e310=_0x38d2b1;for(var _0x3e4c2b=_0x1835b5>0x1?void 0x0:_0x1835b5?ui(_0x54e9fb,_0x8db1aa):_0x54e9fb,_0x512944=_0x15b5c9[_0xd6e310(0x1b7)]-0x1,_0x5c8c16;_0x512944>=0x0;_0x512944--)(_0x5c8c16=_0x15b5c9[_0x512944])&&(_0x3e4c2b=(_0x1835b5?_0x5c8c16(_0x54e9fb,_0x8db1aa,_0x3e4c2b):_0x5c8c16(_0x3e4c2b))||_0x3e4c2b);return _0x1835b5&&_0x3e4c2b&&_i(_0x54e9fb,_0x8db1aa,_0x3e4c2b),_0x3e4c2b;},ae=(_0x2bbd1f,_0x59b870)=>(_0x2bec0b,_0x15bdf7)=>_0x59b870(_0x2bec0b,_0x15bdf7,_0x2bbd1f);exports[_0x38d2b1(0x3b4)]=class extends a['Disposable']{constructor(_0x45055,_0xe7844,_0x3715b4,_0x576877,_0x1bf751,_0x53888a,_0x1cd398){var _0x95e503=_0x38d2b1;super(),D(this,'_socket$',new H[(_0x95e503(0xf1))](void 0x0)),D(this,_0x95e503(0x32a),this[_0x95e503(0x422)][_0x95e503(0x37d)]()),D(this,_0x95e503(0x1e0),null),D(this,_0x95e503(0x3a9),new Map()),D(this,_0x95e503(0x315),new H[(_0x95e503(0xf1))](se[_0x95e503(0x341)])),D(this,'status$',this[_0x95e503(0x315)][_0x95e503(0x37d)]()),D(this,'_socketReady',!0x1),D(this,_0x95e503(0x427)),D(this,'_retryCount',0x0),D(this,_0x95e503(0xd1)),D(this,_0x95e503(0x2bc)),(this[_0x95e503(0x415)]=_0x45055,this['_logService']=_0xe7844,this[_0x95e503(0x15e)]=_0x3715b4,this[_0x95e503(0x2f4)]=_0x576877,this[_0x95e503(0x42b)]=_0x1bf751,this['_collaborationUIEventService']=_0x53888a,this[_0x95e503(0x410)]=_0x1cd398,this[_0x95e503(0x3f5)]());}get[_0x38d2b1(0x430)](){var _0x4af732=_0x38d2b1;return this[_0x4af732(0x422)]['getValue']();}[_0x38d2b1(0x3f5)](){var _0x465d7c=_0x38d2b1;this[_0x465d7c(0x410)]&&this[_0x465d7c(0x234)](this[_0x465d7c(0x410)][_0x465d7c(0x31e)][_0x465d7c(0x28f)](_0xa6730b=>{var _0x301688=_0x465d7c;_0xa6730b&&!this[_0x301688(0x430)]&&this[_0x301688(0x2c6)](),_0xa6730b||this[_0x301688(0x1ca)]();}));}[_0x38d2b1(0x1dc)](){var _0xe17f90=_0x38d2b1;super[_0xe17f90(0x1dc)](),this['_sessions'][_0xe17f90(0x246)](_0x189814=>_0x189814[_0xe17f90(0x1dc)]()),this['_sessions'][_0xe17f90(0x184)](),this[_0xe17f90(0x315)][_0xe17f90(0xe4)]();}async[_0x38d2b1(0x1ac)](_0x1006fc){var _0xa02aca=_0x38d2b1;if(this[_0xa02aca(0x3a9)][_0xa02aca(0x437)](_0x1006fc))return this[_0xa02aca(0x3a9)][_0xa02aca(0x178)](_0x1006fc);this['_tryEnsureSocket']();const _0x83101a=this[_0xa02aca(0x415)][_0xa02aca(0x205)](exports['CollaborationSession'],_0x1006fc,this[_0xa02aca(0x422)][_0xa02aca(0x37d)]());return this[_0xa02aca(0x3a9)][_0xa02aca(0x330)](_0x1006fc,_0x83101a),_0x83101a;}[_0x38d2b1(0x14c)](_0x31728c){var _0x34ab85=_0x38d2b1,_0x363f50;const _0x24d1c6=this[_0x34ab85(0x3a9)]['get'](_0x31728c);_0x24d1c6&&(this[_0x34ab85(0x3a9)][_0x34ab85(0x1f5)](_0x31728c),_0x24d1c6['close']()),this[_0x34ab85(0x3a9)]['size']||(_0x363f50=this[_0x34ab85(0x430)])==null||_0x363f50[_0x34ab85(0x171)]();}[_0x38d2b1(0x2c6)](){var _0x10d468=_0x38d2b1;this['_retryCount']=0x0,this[_0x10d468(0x427)]!=null&&(clearTimeout(this[_0x10d468(0x427)]),this['_retryConnectingTimer']=null),this['_tryReconnect']();}async['_getSessionTicket'](){var _0x4c3b72=_0x38d2b1,_0xeebaa6,_0x742859,_0x23aee0;const _0x52bf11=this[_0x4c3b72(0x15e)]['getConfig'](q),_0x2fc7f4=(_0xeebaa6=_0x52bf11==null?void 0x0:_0x52bf11[_0x4c3b72(0x399)])!=null?_0xeebaa6:Ft;return(_0x23aee0=(_0x742859=(await this['_httpService']['get'](_0x2fc7f4,{'headers':{'Content-Type':'application/json'}}))[_0x4c3b72(0x172)])==null?void 0x0:_0x742859[_0x4c3b72(0x219)])!=null?_0x23aee0:'';}['_createSocketURL'](_0x513e1d){var _0xc085cc=_0x38d2b1,_0x39209a,_0x419887;const _0xb43e26=this[_0xc085cc(0x15e)][_0xc085cc(0x3ff)](St),_0x33e9b0=this[_0xc085cc(0x15e)]['getConfig'](q),_0x143591=(_0x419887=(_0x39209a=_0x33e9b0==null?void 0x0:_0x33e9b0['collabWebSocketUrl'])!=null?_0x39209a:_0xb43e26)!=null?_0x419887:pt,_0x2e6f81=typeof window>'u'?new URL(_0x143591):new URL(_0x143591,window[_0xc085cc(0x2cf)]['origin']);_0x2e6f81[_0xc085cc(0x43f)]['set'](_0xc085cc(0xbf),_0x513e1d);const _0x2c08ba=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xc085cc(0x2cf)][_0xc085cc(0x216)]);return _0x2c08ba[_0xc085cc(0x178)]('runId')&&_0x2e6f81[_0xc085cc(0x43f)][_0xc085cc(0x330)]('runId',_0x2c08ba[_0xc085cc(0x178)](_0xc085cc(0x432))),_0x2e6f81['toString']();}async[_0x38d2b1(0x155)](){var _0x475ec0=_0x38d2b1;const _0x427743=await this[_0x475ec0(0x248)](),_0x33a02d=this[_0x475ec0(0x129)](_0x427743),_0xec08ff=this[_0x475ec0(0x2f4)][_0x475ec0(0x362)](_0x33a02d);return this['_candidateSocket']=_0xec08ff,_0xec08ff;}async['_tryEnsureSocket'](){var _0x50da00=_0x38d2b1,_0xf0310e,_0x4891d8;try{const _0x305bb3=(_0x4891d8=(_0xf0310e=this[_0x50da00(0x430)])!=null?_0xf0310e:this['_candidateSocket'])!=null?_0x4891d8:await this[_0x50da00(0x155)]();if(_0x305bb3){const _0x294be1=_0x305bb3[_0x50da00(0x2cb)];_0x305bb3['send']=_0x590101=>(this['_rescheduleHeartbeat'](),_0x294be1['apply'](_0x305bb3,[_0x590101])),_0x305bb3['message$']['subscribe'](_0x4b6e64=>this['_onMessage'](_0x305bb3,_0x4b6e64)),_0x305bb3[_0x50da00(0x34d)][_0x50da00(0x2b9)](V[_0x50da00(0x413)](0x1))[_0x50da00(0x28f)](_0x188a8d=>this[_0x50da00(0x1e7)]['error'](_0x50da00(0x232),_0x188a8d)),_0x305bb3[_0x50da00(0x2b0)]['pipe'](V[_0x50da00(0x413)](0x1))[_0x50da00(0x28f)](()=>{var _0x38a585=_0x50da00;this[_0x38a585(0x218)](_0x305bb3);}),_0x305bb3[_0x50da00(0xe8)]['pipe'](V[_0x50da00(0x413)](0x1))[_0x50da00(0x28f)](_0x674a91=>{var _0x1041a2=_0x50da00;this[_0x1041a2(0x1e7)][_0x1041a2(0x2a1)](_0x1041a2(0x29b),_0x1041a2(0x408),_0x674a91),this[_0x1041a2(0x3b7)]();});}}catch(_0x4aff65){this[_0x50da00(0x1e7)][_0x50da00(0xdd)](_0x4aff65),this[_0x50da00(0x3b7)]();}}[_0x38d2b1(0x218)](_0x3268ce){var _0x49cfa9=_0x38d2b1;this['_logService'][_0x49cfa9(0x2a1)]('[CollaborationSessionService]','socket\x20open.'),_0x3268ce[_0x49cfa9(0x2cb)]({'cmd':G[_0x49cfa9(0x43e)]}),this[_0x49cfa9(0xd9)]();}['_onOffline'](){var _0xaf3f19=_0x38d2b1;this['_socketReady']=!0x1,this[_0xaf3f19(0x1e0)]=null,this[_0xaf3f19(0x315)][_0xaf3f19(0x183)](se['OFFLINE']),this['_socket$'][_0xaf3f19(0x183)](null),this[_0xaf3f19(0x3e9)](),this[_0xaf3f19(0x317)]();}[_0x38d2b1(0x3b7)](){var _0x143c66=_0x38d2b1,_0x459f15;this[_0x143c66(0x1ca)](),this[_0x143c66(0x1f8)]<((_0x459f15=this[_0x143c66(0x15e)][_0x143c66(0x3ff)](It))!=null?_0x459f15:Gt)?(this[_0x143c66(0x346)][_0x143c66(0x42d)]({'id':Q[_0x143c66(0x2a8)]}),this['_tryReconnect']()):this[_0x143c66(0x346)][_0x143c66(0x42d)]({'id':Q[_0x143c66(0x1fd)]});}[_0x38d2b1(0x212)](){var _0x410879=_0x38d2b1,_0x3a46d1;const _0x2b4a2f=this[_0x410879(0x1f8)],_0x3480db=this[_0x410879(0x15e)][_0x410879(0x3ff)](q),_0x487bd2=_0x2b4a2f===0x0?0x0:((_0x3a46d1=_0x3480db==null?void 0x0:_0x3480db[_0x410879(0x149)])!=null?_0x3a46d1:Vt)*0x2**_0x2b4a2f;this['_retryConnectingTimer']=setTimeout(()=>{var _0xfbb069=_0x410879;clearTimeout(this[_0xfbb069(0x427)]),this['_retryConnectingTimer']=null,this[_0xfbb069(0x297)]();},_0x487bd2),this[_0x410879(0x1f8)]+=0x1;}[_0x38d2b1(0x2db)](_0x551140,_0xb21ea2){var _0x403e67=_0x38d2b1;const {cmd:_0x2845d2}=_0xb21ea2;_0x2845d2===G['HELLO']&&!this[_0x403e67(0x2d2)]&&(_0x551140['memberID']=_0xb21ea2[_0x403e67(0x1bb)]['memberID'],this['_socket$']['next'](_0x551140),this['_status$'][_0x403e67(0x183)](se[_0x403e67(0x371)]),this[_0x403e67(0x2d2)]=!0x0,this[_0x403e67(0x1e0)]=null),_0x2845d2===G[_0x403e67(0x3cc)]&&this[_0x403e67(0x3e9)](),this['_rescheduleHeartbeat']();}[_0x38d2b1(0xd9)](){var _0x28e33f=_0x38d2b1,_0x386581;this[_0x28e33f(0x317)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x28e33f(0x35b)](),(_0x386581=this[_0x28e33f(0x15e)][_0x28e33f(0x3ff)](gt))!=null?_0x386581:Wt);}[_0x38d2b1(0x35b)](){var _0x3bb49c=_0x38d2b1;this[_0x3bb49c(0x430)][_0x3bb49c(0x2cb)]({'cmd':G[_0x3bb49c(0x3cc)]}),this[_0x3bb49c(0x208)]();}['_waitForHeartbeatResponse'](){var _0x25e987=_0x38d2b1,_0x352978;this[_0x25e987(0x2bc)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x352978=this['_configService'][_0x25e987(0x3ff)](He))!=null?_0x352978:mt);}[_0x38d2b1(0x317)](){var _0x5390d6=_0x38d2b1;this[_0x5390d6(0xd1)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x5390d6(0xd1)]=null);}['_clearTimeoutTimer'](){var _0x1368ae=_0x38d2b1;this[_0x1368ae(0x2bc)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1368ae(0x2bc)]=null);}},exports['CollaborationSessionService']=di([ae(0x0,a[_0x38d2b1(0x258)](a['Injector'])),ae(0x1,a[_0x38d2b1(0x395)]),ae(0x2,a['IConfigService']),ae(0x3,ke),ae(0x4,a[_0x38d2b1(0x258)](z[_0x38d2b1(0x187)])),ae(0x5,a[_0x38d2b1(0x258)](te)),ae(0x6,a[_0x38d2b1(0x11d)](Rt))],exports[_0x38d2b1(0x3b4)]);const K=[];for(let r=0x0;r<0x100;++r)K['push']((r+0x100)[_0x38d2b1(0x12f)](0x10)[_0x38d2b1(0x259)](0x1));function vi(_0x460a1c,_0x37e00b=0x0){var _0x3af224=_0x38d2b1;return(K[_0x460a1c[_0x37e00b+0x0]]+K[_0x460a1c[_0x37e00b+0x1]]+K[_0x460a1c[_0x37e00b+0x2]]+K[_0x460a1c[_0x37e00b+0x3]]+'-'+K[_0x460a1c[_0x37e00b+0x4]]+K[_0x460a1c[_0x37e00b+0x5]]+'-'+K[_0x460a1c[_0x37e00b+0x6]]+K[_0x460a1c[_0x37e00b+0x7]]+'-'+K[_0x460a1c[_0x37e00b+0x8]]+K[_0x460a1c[_0x37e00b+0x9]]+'-'+K[_0x460a1c[_0x37e00b+0xa]]+K[_0x460a1c[_0x37e00b+0xb]]+K[_0x460a1c[_0x37e00b+0xc]]+K[_0x460a1c[_0x37e00b+0xd]]+K[_0x460a1c[_0x37e00b+0xe]]+K[_0x460a1c[_0x37e00b+0xf]])[_0x3af224(0x23b)]();}let Ue;const fi=new Uint8Array(0x10);function _0x5640(){var _0x1f460a=['pipe','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_changesetSessionId','_timeoutTimer','_getAPIPrefix','TOO_MANY_REQUESTS','HttpImport','takeUntil','_nRounds','startsWith','join','_transformSelections','toStringTag','reconnect','CommandType','SHA1','UNRECOGNIZED','_getLoginPath','send','_transformStack','focused$','POST','location','getCurrentSelections','UniverSheetsPlugin','_socketReady','prototype','createCollaborator','substr','getCollabEntity','ERROR_IMAGE','readInt32LE','crypto','session.room-permission-denied','_onMessage','_collaborationSessionService','/block/','[CollaborationEntity]','saveImage','type','UnitSnapshot','/collaborator','status','sessionStatus$','FetchingMissState','_isPermissionRej','_clearLocalCache','params','/object','_updateState','sigBytes','@univerjs-pro/license','csRejEvent','_startCollaboration','getAllMembers','_handlerCallback','padding','changesets','IMentionIOService','_socketService','appendMutation','Module','ImageUploadStatusType','_resendTimer','LIVESHARE_FETCH_OPERATIONS','_state$','AwaitingWithPendingState','encrypt','COMPRESS_MUTATION_APPLY','_onRemoteRejected','image/gif','BlockCipherMode','_process','IUndoRedoService','_memberService','_onConflict','_remoteChangesetQueue','getUnitStatus$','blockSize','_transformStateCache','parseChangesetToProtocol','_startTelemetryCollaborationNewChangeset','_redoStacks','AWAITING_WITH_PENDING','_keyPriorReset','getTypeOfUnitAdded$','\x20in\x20_schedule.','CollaborationSocketService','updatePermissionPoint','/allowed','editingUnit','_onRemoteRetry','_status$','_collaborationPaused','_clearHeartbeatTimer','@univerjs/telemetry','FETCH_MISSING','_syncEditingCollabCursor','onCommandExecuted','APPLY_NON_SEQUENTIAL_REVISION','_removeRoom','online$','exports','_loadSheet','_entities','subject','_changesetReqId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getWorkbookSelections','_onCombEvent','SyncedState','/rev/','_unlockTransition','socket$','max','textRanges','joinEvent','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_transitionLocked','set','fetchMissingChangesets','csAckEvent','univer-pro.collaboration-client-socket-service','ICollaborationSocketService','isTransformChangesetsSuccess','{fileID}','formatter','_collaborationTimeoutTimer','newCsEvent','LIVESHARE_NEW_HOST','rng','reset','_DEC_XFORM_MODE','YUUMI_RATE_OVER_LIMIT','onTransformRemoteChangesetByIMECache','/fetchmissing?from=','IDLE','requestParams','SerializableCipher','CONFLICT','_doReset','_collaborationUIEventService','c1Prime','_createHandler','deepClone','228fwzPqk','floor','MentionType','error$','action','permissionRejEvent','/universer-api/authz','responseType','_sender','find','createIdentifier','href','image/png','BASE64','31485012EaVrbf','_permissionService','_showConflictNotification','_sendHeartbeat','isArray','getMember','PERMISSION_REJ','_decreaseWaiting','ITelemetryService','HEARTBEAT_INTERVAL','createSocket','_sendingTimer','_initUnitPermissionChange','CollaborativeUndoRedoService','addImageSourceCache','_transformService','_getSendChangesetTimeout','RxDisposable','sendChangesetTimeout','baseProtectionActions','getUnitOnRev','_joinRoom','MUTATION','toggleOffline','hasOwnProperty','ONLINE','UPDATE_CURSOR','_commentService','objectID','code','onMissingChangesets','decrypt','encode','toDisposable','reject','call','rev','asObservable','_disableEditing','OPTIONAL','_replaceFileID','transformChangesets','_substituteRedoStack','2313guOTsj','ruleRefresh','delay','_parse','then','onTransformState','eventID','unknown','UniverNetworkPlugin','_emitMembers','PERSON','roomInfos','copyFileMeta','collaboratorID','OTHER_CLIENTS_EDITING','snapshot','_nDataBytes','/resources','ILogService','addHandlerCallback','CommentService','RECV','wsSessionTicketUrl','\x20-\x20','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','ThresholdInterceptorFactory','isTransformMutationsWithChangesetSuccess','CollaborationSession','duration','_ENC_XFORM_MODE','CLOSE_ROOM','[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.','_replayCachedMutations','_state','hostname','unitId','SnapshotService','_getAPIPrefixPath','_sessions','4131192pbBVNO','DisposableCollection','add','enc','__esModule','randomBytes','getValue','infoRsp','_initCloseConn','SNAPSHOT_SERVER_URL_KEY','CollaborationSessionService','Utf8','readyForCollab','_onConnectionFailed','format','default','put','charAt','DEFAULT_FILE_NAME','_waitCount','RETRY_CONNECTING_MAX_COUNT_KEY','salt','members','_compressMutationService','loginUrlKey','SUBMIT_CHANGESET','COLLAB_SUBMIT_CHANGESET_URL','getLatestCsReqIdBySid','JOIN_ROOM_NOT_EXISTS','x-univer-host','/universer-api/stream/file/upload','_getUndoStack','hasher','push','HEARTBEAT','AWAITING','encodeURIComponent','PendingState','parse','parseProtocolChangeset','getAllWorksheetPermissionPoint','UNIVER_SLIDE','_loadDoc','_getSignURL','sequenceExecute','_commentUpdate$','waitForRoom$','indexOf','SheetTransformSelectionsService','_init','incrementRevOfUnit','UniverCollaborationPlugin','loadUnit','_clearScheduledTask','getMemberID','SessionStatus','getOwnPropertyDescriptor','_snapshotServerService','Encryptor','saveChangeset','WorkbookEditablePermission','6npaSZB','SUCCUSS','_clearTimeoutTimer','AwaitingState','finalize','JOIN_ROOM_FAILED','PSEUDO_FETCH_MISSING_RESULT','SUBMIT_CHANGESET_TIMEOUT','OfflineState','_prevBlock','SNAPSHOT_HAS_BEEN_REMOVED','_scheduleCompleteTimestamp','collaboration-client.config','onStateChange','_listenToNetworkCondition','abs','MD5','Cipher','setCurrentUser','_append','getInterceptPoints','joinRsp','LocaleService','getSheetBlock','getConfig','_handler','WordArray','getTime','LEAVE','transformUndoRedo','_onUserLeave','/unit/','memberID','socket\x20close','_reverseMap','allowed','_event$','ICommandService','_createInitialStateImpl','RangeProtectionRuleModel','_scheduleCollaborationTimeoutTimer','_networkConditionService','size','_roomCreated$','take','onSendChangeset','_injector','updateCursorEvent','_eventService','failed\x20to\x20apply\x20missed\x20changesets!','algo','_getCurrentRevision','__creator','function','/universer-api/snapshot','isTransformMutationsWithChangesetFailure','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','reverse','conflict','_socket$','range','entries','_commandService','UPDATE_PERMISSION_OBJ','_retryConnectingTimer','merge','IPermissionService','kdf','_httpService','concat','emitEvent','[FetchMissState]','refreshPermission','_socket','userID','runId','executeCommand','INVALID_ARGUMENT','_sheetTransformSelectionsService','liveShareNewHost','has','CHANGESET_SHOULD_RETRY','ivSize','members$','transformSelections','localeService','RichTextEditingMutation','HELLO','searchParams','getImageSourceCache','WorksheetProtectionRuleModel','SNAPSHOT_INVALID_SNAPSHOT','_instanceService','image/bmp','socketService','catch','sessionTicket','selections','_resendTimeout','fetchMiss','uploadFileServerUrl','APPLY_REJECT','onSyncEditingCollabCursor','YUUMI_SUBSCRIPTION_NOT_FOUND','collaborators','_initMergeInterceptor','CollaborationImageIoService','entityInit$','offline','CompressMutationService','_onFetchMissResult','mixIn','UnitStatus','ERROR_IMAGE_TYPE','_sendHeartbeatTimer','_exhaustRemoteChangesetQueue','equals','/universer-api/comb','_doCryptBlock','JOINING','actions','change$','_rescheduleHeartbeat','632Hgyylg','getLocalCacheKey','_sessionStatus$','error','override','toggleOnline','ENSURE_SNAPSHOT_EXECUTION','LOCAL_CACHE_INTERVAL_KEY','_queuedRemoteChangesets','_univerInstanceService','complete','OFFLINE','state$','LICENSE_MAX_UNITS_EXCEEDED','close$','/-/object/-/batch_allowed','UniverCollaborationClientPlugin','Tools','unpad','concatMap','ISocketService','_roomMembers','_updateStatus','BehaviorSubject','url','ALREADY_EXISTS','_createHmacHelper','updateOfflineData','COLLAB_SUBMIT_CHANGESET_URL_KEY','_updateLocalCache','awaitingChangeset','CHANGESET_ACK','init','title','_clearUndo','onLocalMutation','ImageSourceType','_lockTransition','[DataLoaderService]','getTargetByPermissionId','initWorkbookPermissionChange','unsubscribe','@univerjs/docs','YUUMI_URL_COL_OUT_OF_RANGE','awaiting_with_pending','&assign=','onRemoteRej','image/jpeg','_config','reduce','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','UNKNOWN_CODE','key','IUniverInstanceService','_map','map','_collabSessionService','AuthzIoHttpService','DependentOn','APPLY_DUPLICATED','session.room-cnt-exceeds','textEncoder','UNIVER_COLLABORATION_CLIENT_PLUGIN','value','32510VVyCpD','saveSheetBlock','bind','Optional','USERS_ENTER','LICENSE_IMPORT_SIZE_EXCEEDED','_minBufferSize','@univerjs/drawing','originalMeta','AUTHZ_URL_KEY','SelectRange','withCredentials','/universer-api/oidc/authpage','GLOBAL_ROOMS_CNT_EXCEEDS','[SyncedState]:\x20received\x20acknowledgement.','_createSocketURL','PERMISSION_DENIED','CollaborationEvent','$super','pad','_transformIMECache','toString','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','univer-pro.collaboration-client.network-condition.service','_mode','commentUpdateEvent','/-/object/list','InsertSheetMutation','session','Base64','_doFinalize','shareReplay','cmd','isInternalEditorID','[CollaborationUndoRedoService]','\x20to\x20','onTransformSelections','CipherParams','message$','onRemoteRetry','execute','sin','ISingleActiveUnitService','localCacheService','saveSnapshot','_unitID','/object/','retryConnectingInterval','_doProcessBlock','\x0aAfter:\x20','closeSession','mode','Base','@univerjs-pro/collaboration','UNKNOWN_CMD','Univer','[OfflineState]:\x20received\x20changeset.','/universer-api/user/session-ticket','_onLocalMutation','_createSocket','getUnitType','_iKey','splice','every','onlyLocal','55512qQmhYj','OpenSSL','MemberService','_configService','json','sid','HmacSHA1','deleteCollaborator','LOCAL_CACHE_INTERVAL','state','UNIVER_PROJECT','workbook','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','awaiting','getPermissionPoint','randomUUID','IConfigService','_pendingMutations','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','UNIVER_SHEET','editing\x20status\x20changed\x20to','_onRemoteACK','close','body','_imageSourceCache','Workbook','[OfflineState]:\x20received\x20acknowledgement.','firstValueFrom','_registerDependencies','get','liveShareOperation','connection\x20error','UNISCRIPT_RUN','msCrypto','FAIL','_createHelper','/universer-api/snapshot/','fetchThroughInterceptors','_iv','Error\x20on\x20receiving\x20event','next','clear','append','save\x20fail\x20reason\x20is\x20','HTTPService','objectType','setConfig','APPLY_PERMISSION_DENIED','@univerjs/sheets','ITransformService','_getDownloadEndpointURL','COMMENT_UPDATE','_transformUndoredo','[CollaborationSession]','dispose$','file','_schedule','replace','stopTime','NOT_COLLAB','NEW_CHANGESETS','HEARTBEAT_INTERVAL_KEY','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','[PendingState]:\x20received\x20acknowledgement.','pluginName','WorksheetProtectionPointModel','fromCollab','Latin1','pending','_invKeySchedule','commentUpdate$','pauseCollaboration','HEARTBEAT_TIMEOUT_KEY','reqId','ws://127.0.0.1:8000/universer-api/comb/connect','updatePermissionObjEvent','status$','StreamCipher','USERS_LEAVE','ciphertext','setShowComponents','requireSession','_type','baseRev','UnitEmbedded','_substituteUndoStack','onTransformIME','event$','defineProperty','method','_undoRedoService','putCollaborators','length','_members','Malformed\x20UTF-8\x20data','registerHTTPInterceptor','data','startTime','HMAC','removeMember','JOIN_ROOM_FULL','INGEST','transformMutationsWithChangeset','onTransformRemoteChangesetByStateCache','?url=','_createInitialState','CollaborationStatus','_key','lib','getRandomValues','Undefined','_onOffline','[PendingState]:\x20received\x20rejection.','LIVESHARE_TERMINATE','SEND_CHANGESET_TIMEOUT','_onJoinRoomEvent','IContextService','csShouldRetryEvent','deserializeToCombResponse','_cipher','SnapshotServerOverHTTPService','resend','collabSubmitChangesetUrl','keySize','_userManagerService','symbol','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','avatar','_awaitingChangeset','dispose','batchAllowed','513244PVUBNr','FileId','_candidateSocket','getSnapshotAPIPath','ISnapshotServerService','MentionIoHttpService','onMissedChangesetFetched','repeat','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_logService','isPermissionRej','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_applyRemoteChangeset','LICENSE_DISTRO_REJECTED','_acknowledgedAwaitingChangeset','_transformRemoteChangesetByStateCache','_submitChangeset','apply','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getCollabEntity$','INetworkConditionService','filter','_executeRemoteChangeset','delete','_toggleOnline','HttpExport','_retryCount','[SyncedState]:\x20received\x20rejection.','patch','_localeService','cfg','SOCKET_FAILED','LIVESHARE_OPERATION','_socketMessageSubscription','LIVESHARE_REQUEST_HOST','_toggleOffline','session.room-not-exists','APPLY_REVISION_CONFILICT','onRemoteChangeset','createInstance','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_telemetryService','_waitForHeartbeatResponse','_localCacheService','auth.needGotoLoginAlert','synced','/universer-api/uniscript','HEARTBEAT_TIMEOUT','create','_change$','HmacMD5','Disposable','_tryReconnect','capture','LocalUndoRedoService','_singleActiveUnitService','search','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_onConnectionOpen','ticket','SheetCollaborationEntity','getCurrentRevOfUnit','_fetchMissChangesets','touchDependencies','UUID','byteLength','getTypeOfUnitDisposed$','[OfflineState]:\x20received\x20rejection.','confirm','_checkMissing','getCurrentUser','Hex','includes','/role','submit\x20changeset\x20error!','_authzIoService','subType','PENDING','_HTTPService','UserManagerService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','ReplaySubject','JOIN','_shouldReportTelemetry','[CollaborationSessionService]:\x20socket\x20error','FETCH_MISS','disposeWithMe','stringify','UniverInstanceType','_initRequestHeader','_getUploadFileURL','getGlobalObject','HTTPRequest','toLowerCase','setWaitCount','_snapshotService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_hash','_initDependencies','onStarting','createDecryptor','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','signUrlServerUrl','UnitObject','forEach','_incrementRevisionNumber','_getSessionTicket','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','@univerjs/core','BufferedBlockAlgorithm','/new_changes','interceptor','onload','getFocusedUnit','not_collab','_clearRedo','getRoom','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','loadDoc','_resendWithTimeout','_data','_telemetryInfo','Inject','slice','COMPRESS_MUTATION_SEND','_xformMode','buffer','NoPadding','SYNCED','readAsDataURL','CollaborationEntity','NO_OTHER_CLIENTS_EDITING','b64DecodeUnicode','loadOfflineData','downloadEndpointUrl','Subject','string','mapDocumentTypeToUniverType','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_entityInit$','INTERNAL_ERROR','YUUMI_UNABLE_LOAD_URL','routeKey','fetch_missing','_onRecvEvent','LOGIN_URL_KEY','random','CHANGESET_REJ','COMPLETION_FINISHED','clone','RETRY_CONNECTING_MAX_COUNT','sheets','_transformRemoteChangesetByIMECache','OTHER_CLIENT_EDITING','_members$','revision','_stopTelemetryCollaborationNewChangeset','unitID','values','clamp','EvpKDF','onRemoteAck','charCodeAt','AES','updateMember','_onRemoteChangeset','m2Prime','Pkcs7','src','_unitInfo$','111349hmVrhI','DataLoaderService','clearUndoRedo','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','BlockCipher','_revisionService','extend','subscribe','fromCharCode','ConflictState','_onUserJoin','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','CONNECTOR_DATA_TOO_LARGE','JOIN_ROOM_PERMISSION_DENIED','words','_tryEnsureSocket','EmptyMutation','Injector','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationSessionService]','UNAUTHENTICATED','RevisionService','post','name','LICENSE_EXPORT_SIZE_EXCEEDED','debug','update','authzUrl','2501560hTHIWX','SetSelectionsOperation','list','SHOULD_CLOSE_CONN','SOCKET_FAILED_RETRY','UNDEFINED','DocCollaborationEntity','getUnitId','_oKey','NOT_FOUND','_hasher','11MKuwVv','open$','mutations','CollaborationController','Hasher','CHANGESET_REVISION_CONFILICT','UNIVER_DOC','_clearCollaborationTimeoutTimer','sessionStatus','/universer-api/file/{fileID}/sign-url'];_0x5640=function(){return _0x1f460a;};return _0x5640();}function Si(){var _0x29a3d3=_0x38d2b1;if(!Ue){if(typeof crypto>'u'||!crypto[_0x29a3d3(0x1c8)])throw new Error(_0x29a3d3(0x217));Ue=crypto[_0x29a3d3(0x1c8)]['bind'](crypto);}return Ue(fi);}const pi=typeof crypto<'u'&&crypto[_0x38d2b1(0x16a)]&&crypto[_0x38d2b1(0x16a)][_0x38d2b1(0x11c)](crypto),ze={'randomUUID':pi};function gi(_0x570c77,_0x1150d2,_0x490558){var _0x40b047=_0x38d2b1;if(ze['randomUUID']&&!_0x1150d2&&!_0x570c77)return ze[_0x40b047(0x16a)]();_0x570c77=_0x570c77||{};const _0x3d7273=_0x570c77[_0x40b047(0x270)]||(_0x570c77[_0x40b047(0x33b)]||Si)();return _0x3d7273[0x6]=_0x3d7273[0x6]&0xf|0x40,_0x3d7273[0x8]=_0x3d7273[0x8]&0x3f|0x80,vi(_0x3d7273);}const J=a[_0x38d2b1(0x354)]('collaboration-client.local-cache-service');function mi(_0x5752a2){return'unit-cache-'+_0x5752a2;}var Ii=Object[_0x38d2b1(0x1b3)],Ei=Object['getOwnPropertyDescriptor'],Ci=(_0x2754bf,_0x46ada9,_0x35c4ba,_0x20f2a8)=>{for(var _0x7c3266=_0x20f2a8>0x1?void 0x0:_0x20f2a8?Ei(_0x46ada9,_0x35c4ba):_0x46ada9,_0x43baed=_0x2754bf['length']-0x1,_0x56f6a0;_0x43baed>=0x0;_0x43baed--)(_0x56f6a0=_0x2754bf[_0x43baed])&&(_0x7c3266=(_0x20f2a8?_0x56f6a0(_0x46ada9,_0x35c4ba,_0x7c3266):_0x56f6a0(_0x7c3266))||_0x7c3266);return _0x20f2a8&&_0x7c3266&&Ii(_0x46ada9,_0x35c4ba,_0x7c3266),_0x7c3266;},De=(_0x599357,_0x24b6ed)=>(_0x2a189c,_0x1d9434)=>_0x24b6ed(_0x2a189c,_0x1d9434,_0x599357);function Ti(_0x3bfb79){const {unitID:_0x2a9aa9,mutations:_0x49cad1}=_0x3bfb79;return{'unitId':_0x2a9aa9,'subUnitId':_0x49cad1[0x0]['params']['subUnitId']};}exports[_0x38d2b1(0x3da)]=class{constructor(_0x550a47,_0x1420d6,_0x1e4d8a){var _0x2239f3=_0x38d2b1;this['_injector']=_0x550a47,this['_transformService']=_0x1420d6,this[_0x2239f3(0xbb)]=_0x1e4d8a;}[_0x38d2b1(0x43b)](_0x1b74d5){var _0x2b5eb8=_0x38d2b1,_0x54ea24,_0x3819af,_0x3b09ae,_0x36239d;const _0x49f49c=this[_0x2b5eb8(0x415)][_0x2b5eb8(0x178)](W['SheetsSelectionsService']),{unitId:_0x44945c,subUnitId:_0x3e8bad}=Ti(_0x1b74d5),_0x112438=_0x49f49c==null?void 0x0:_0x49f49c[_0x2b5eb8(0x325)](_0x44945c)[_0x2b5eb8(0x2d0)](),_0x594c35=(_0x3819af=(_0x54ea24=this[_0x2b5eb8(0xbb)]['getUnit'](_0x44945c))==null?void 0x0:_0x54ea24['getActiveSheet']())==null?void 0x0:_0x3819af['getSheetId']();if(_0x112438[_0x2b5eb8(0x1b7)]===0x0||!_0x44945c||!_0x3e8bad)return;const _0x27d6cc=[{'id':W[_0x2b5eb8(0x2a5)]['id'],'params':{'unitId':_0x44945c,'subUnitId':_0x594c35,'selections':a['Tools'][_0x2b5eb8(0x349)](_0x112438)}}],_0x10e420=this[_0x2b5eb8(0x367)][_0x2b5eb8(0x1c1)](_0x1b74d5,_0x27d6cc);if(!m[_0x2b5eb8(0x39d)](_0x10e420))throw _0x10e420[_0x2b5eb8(0xdd)];const _0x3b7f5d=(_0x36239d=(_0x3b09ae=_0x10e420['m2Prime'][0x0])==null?void 0x0:_0x3b09ae[_0x2b5eb8(0x2e8)])==null?void 0x0:_0x36239d[_0x2b5eb8(0xc0)];if(Array['isArray'](_0x3b7f5d)&&_0x3b7f5d[_0x2b5eb8(0x1b7)]){if(_0x3b7f5d[_0x2b5eb8(0x1b7)]===_0x27d6cc[0x0]['params'][_0x2b5eb8(0xc0)][_0x2b5eb8(0x1b7)]&&_0x3b7f5d[_0x2b5eb8(0x159)]((_0x2bb6d2,_0x529331)=>a['Rectangle'][_0x2b5eb8(0xd3)](_0x2bb6d2[_0x2b5eb8(0x423)],_0x27d6cc[0x0][_0x2b5eb8(0x2e8)][_0x2b5eb8(0xc0)][_0x529331]['range'])))return;this[_0x2b5eb8(0x415)][_0x2b5eb8(0x178)](a[_0x2b5eb8(0x40c)])[_0x2b5eb8(0x433)](W[_0x2b5eb8(0x2a5)]['id'],{'unitId':_0x44945c,'subUnitId':_0x594c35,'selections':_0x3b7f5d});}}},exports[_0x38d2b1(0x3da)]=Ci([De(0x0,a[_0x38d2b1(0x258)](a['Injector'])),De(0x1,m[_0x38d2b1(0x18c)]),De(0x2,a[_0x38d2b1(0x10f)])],exports[_0x38d2b1(0x3da)]);const ve=a[_0x38d2b1(0x354)]('univer-pro.collaboration-client.single-active-unit-service');var Fe=(_0x428038=>(_0x428038[_0x428038[_0x38d2b1(0x261)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x428038[_0x428038[_0x38d2b1(0x391)]=0x1]=_0x38d2b1(0x391),_0x428038))(Fe||{});const bi=new Set([W[_0x38d2b1(0x135)]['id']]);function Je(_0x16c7bb,_0x16d143,_0x2ea8b7,_0x567da4,_0x40e9fa){var _0x4ce514=_0x38d2b1,_0x5b4941,_0x256194,_0x61fa20,_0x1c3a46;const _0x2d248c=[];for(const _0x4d1b07 of _0x16c7bb)if(bi[_0x4ce514(0x437)](_0x4d1b07['id'])){if(_0x2d248c[_0x4ce514(0x1b7)]>0x0)break;_0x2d248c[_0x4ce514(0x3cb)](_0x4d1b07);break;}else _0x2d248c[_0x4ce514(0x3cb)](_0x4d1b07);const _0x32024f=(_0x256194=(_0x5b4941=_0x40e9fa[_0x4ce514(0x224)]())==null?void 0x0:_0x5b4941[_0x4ce514(0x431)])!=null?_0x256194:_0x4ce514(0x38a),_0x55c6f7=(_0x1c3a46=(_0x61fa20=_0x40e9fa['getCurrentUser']())==null?void 0x0:_0x61fa20[_0x4ce514(0x407)])!=null?_0x1c3a46:_0x4ce514(0x38a);return{'changeset':{'unitID':_0x16d143,'type':m['mapDocumentTypeToUniverType'](_0x2ea8b7[_0x4ce514(0x156)](_0x16d143)),'baseRev':_0x567da4[_0x4ce514(0x21b)](_0x16d143),'revision':0x0,'userID':_0x32024f,'memberID':_0x55c6f7,'mutations':_0x2d248c},'pendingMutations':_0x16c7bb[_0x4ce514(0x259)](_0x2d248c[_0x4ce514(0x1b7)])};}function Ri(_0x52feb0,_0xc0abde,_0x193348,_0xc6830e,_0x434af9){var _0x282f9d=_0x38d2b1,_0x2dc69b,_0x4784ae,_0x2d1b43,_0x10e756;const _0x44be42=[_0x52feb0[_0x282f9d(0x10b)]((_0x3fa086,_0x563072)=>{var _0x574c53=_0x282f9d,_0x2bcd8c;const {id:_0x51a042}=_0x3fa086,{id:_0x16424e,type:_0x2d61c4}=_0x563072,_0x3665ca=(_0x2bcd8c=_0x3fa086['params'])!=null?_0x2bcd8c:{'actions':null},_0x1b5f25=_0x563072[_0x574c53(0x2e8)];if(_0x51a042&&_0x51a042!==_0x16424e)throw new Error(_0x574c53(0x243)+_0x51a042+_0x574c53(0x39a)+_0x16424e+'.');return{..._0x3fa086,'id':_0x16424e,'type':_0x2d61c4,'params':{'unitId':_0x1b5f25[_0x574c53(0x3a6)],'textRanges':_0x1b5f25[_0x574c53(0x32c)],'actions':a['JSONX']['compose'](_0x3665ca[_0x574c53(0xd7)],_0x1b5f25[_0x574c53(0xd7)])}};},{})],_0x9df5ac=(_0x4784ae=(_0x2dc69b=_0x434af9['getCurrentUser']())==null?void 0x0:_0x2dc69b[_0x282f9d(0x431)])!=null?_0x4784ae:_0x282f9d(0x38a),_0x30471b=(_0x10e756=(_0x2d1b43=_0x434af9[_0x282f9d(0x224)]())==null?void 0x0:_0x2d1b43[_0x282f9d(0x407)])!=null?_0x10e756:'unknown';return{'changeset':{'unitID':_0xc0abde,'type':m[_0x282f9d(0x267)](_0x193348['getUnitType'](_0xc0abde)),'baseRev':_0xc6830e['getCurrentRevOfUnit'](_0xc0abde),'revision':0x0,'userID':_0x9df5ac,'memberID':_0x30471b,'mutations':_0x44be42},'pendingMutations':[]};}function Pt(_0x161cea,_0x1d284b){var _0x5e862a=_0x38d2b1;const _0x60c5f1=new H[(_0x5e862a(0x22f))](0x1);return setTimeout(()=>_0x60c5f1['next'](_0x1d284b),_0x161cea),_0x60c5f1['asObservable']()['pipe'](H[_0x5e862a(0x413)](0x1));}const Oi={'id':W[_0x38d2b1(0x298)]['id'],'type':a[_0x38d2b1(0x2c7)]['MUTATION'],'params':{}};var yi=Object[_0x38d2b1(0x1b3)],Pi=Object[_0x38d2b1(0x3e2)],le=(_0x974b8a,_0x1ec42b,_0x59b35f,_0x7cea3b)=>{var _0x196582=_0x38d2b1;for(var _0x2ff876=_0x7cea3b>0x1?void 0x0:_0x7cea3b?Pi(_0x1ec42b,_0x59b35f):_0x1ec42b,_0x49ffb0=_0x974b8a[_0x196582(0x1b7)]-0x1,_0x5738e6;_0x49ffb0>=0x0;_0x49ffb0--)(_0x5738e6=_0x974b8a[_0x49ffb0])&&(_0x2ff876=(_0x7cea3b?_0x5738e6(_0x1ec42b,_0x59b35f,_0x2ff876):_0x5738e6(_0x2ff876))||_0x2ff876);return _0x7cea3b&&_0x2ff876&&yi(_0x1ec42b,_0x59b35f,_0x2ff876),_0x2ff876;},A=(_0x471e51,_0x13021a)=>(_0x8faa6c,_0x4bc16b)=>_0x13021a(_0x8faa6c,_0x4bc16b,_0x471e51),We=(_0xe3a5cb=>(_0xe3a5cb[_0x38d2b1(0x196)]=_0x38d2b1(0x250),_0xe3a5cb[_0x38d2b1(0x25e)]=_0x38d2b1(0x20b),_0xe3a5cb[_0x38d2b1(0x22b)]='pending',_0xe3a5cb[_0x38d2b1(0x3cd)]='awaiting',_0xe3a5cb[_0x38d2b1(0x30c)]=_0x38d2b1(0x106),_0xe3a5cb[_0x38d2b1(0x233)]=_0x38d2b1(0x26d),_0xe3a5cb[_0x38d2b1(0x344)]=_0x38d2b1(0x421),_0xe3a5cb[_0x38d2b1(0xe5)]=_0x38d2b1(0xcb),_0xe3a5cb))(We||{});const Nt=0xea60;class _e{constructor(_0x5dc7ae,_0x20cb4a,_0x4dadbe,_0x534c9a,_0x489dd8,_0x27b925,_0x2e030f,_0x1f258d,_0x46dff6){var _0x2af2ee=_0x38d2b1;D(this,'_awaitingChangeset',null),D(this,'_pendingMutations',[]),(this[_0x2af2ee(0x27b)]=_0x5dc7ae,this[_0x2af2ee(0x2e0)]=_0x20cb4a,this[_0x2af2ee(0x400)]=_0x489dd8,this['_commandService']=_0x27b925,this[_0x2af2ee(0x1b5)]=_0x2e030f,this[_0x2af2ee(0x28d)]=_0x1f258d,this[_0x2af2ee(0x209)]=_0x46dff6,this[_0x2af2ee(0x1db)]=_0x4dadbe,this[_0x2af2ee(0x16c)]=_0x534c9a);}['_checkMissing'](_0x5e038c){var _0x23d17a=_0x38d2b1;const _0x25afd8=this['_revisionService'][_0x23d17a(0x21b)](this[_0x23d17a(0x27b)]);return _0x5e038c[_0x23d17a(0x279)]>_0x25afd8+0x1?(this[_0x23d17a(0x400)][_0x23d17a(0x376)]({'from':_0x25afd8,'to':_0x5e038c[_0x23d17a(0x279)]-0x1}),!0x0):!0x1;}[_0x38d2b1(0x18f)](_0x1dc1e2){var _0x284925=_0x38d2b1;this[_0x284925(0x1b5)]['transformUndoRedo'](this[_0x284925(0x27b)],_0x1dc1e2);}[_0x38d2b1(0x2c4)](_0x47d3ec){var _0x2c2254=_0x38d2b1,_0x2594f0,_0x147a06;(_0x147a06=(_0x2594f0=this['_handler'])[_0x2c2254(0x13e)])==null||_0x147a06[_0x2c2254(0x37b)](_0x2594f0,_0x47d3ec);}[_0x38d2b1(0x12e)](_0xdb145e){var _0x4f6b09=_0x38d2b1,_0x110cbd,_0x1dc60c;return(_0x1dc60c=(_0x110cbd=this[_0x4f6b09(0x400)])[_0x4f6b09(0x1b1)])==null?void 0x0:_0x1dc60c[_0x4f6b09(0x37b)](_0x110cbd,_0xdb145e);}['_transformStateCache'](_0x393ecd){var _0x40a037=_0x38d2b1,_0x11792f,_0xe3d6b1;return(_0xe3d6b1=(_0x11792f=this[_0x40a037(0x400)])[_0x40a037(0x388)])==null?void 0x0:_0xe3d6b1[_0x40a037(0x37b)](_0x11792f,_0x393ecd);}[_0x38d2b1(0x276)](_0x1e9929){var _0x11f468=_0x38d2b1,_0x47a578,_0xb2f4ac,_0x2a2cf1;return(_0x2a2cf1=(_0xb2f4ac=(_0x47a578=this['_handler'])[_0x11f468(0x33f)])==null?void 0x0:_0xb2f4ac[_0x11f468(0x37b)](_0x47a578,_0x1e9929))!=null?_0x2a2cf1:_0x1e9929;}[_0x38d2b1(0x1ed)](_0x413ad9){var _0x55abb6=_0x38d2b1,_0x33592c,_0x5aa0a3,_0x2d0f82;return(_0x2d0f82=(_0x5aa0a3=(_0x33592c=this[_0x55abb6(0x400)])[_0x55abb6(0x1c2)])==null?void 0x0:_0x5aa0a3[_0x55abb6(0x37b)](_0x33592c,_0x413ad9))!=null?_0x2d0f82:_0x413ad9;}[_0x38d2b1(0x31a)](_0x28b942){var _0x4921b0=_0x38d2b1,_0x23acae,_0x1afcce;if(this[_0x4921b0(0x2e0)]===Z[_0x4921b0(0x2b5)]){const {unitID:_0x33a4e5,mutations:_0x3e0a1f,memberID:_0x4755a2}=_0x28b942,_0x28b330=_0x3e0a1f[0x0][_0x4921b0(0x2e8)][_0x4921b0(0x32c)];Array[_0x4921b0(0x35c)](_0x28b330)&&_0x28b330[_0x4921b0(0x1b7)]>0x0&&((_0x1afcce=(_0x23acae=this[_0x4921b0(0x400)])[_0x4921b0(0xc5)])==null||_0x1afcce[_0x4921b0(0x37b)](_0x23acae,{'unitID':_0x33a4e5,'memberID':_0x4755a2,'textRanges':_0x28b330}));}}[_0x38d2b1(0xf7)](){var _0x37a820=_0x38d2b1,_0x221156;(_0x221156=this[_0x37a820(0x209)])==null||_0x221156[_0x37a820(0xf5)](this['unitID'],this[_0x37a820(0x2e0)],this[_0x37a820(0x1db)],this[_0x37a820(0x16c)]);}[_0x38d2b1(0x41a)](){var _0x52603d=_0x38d2b1;return this[_0x52603d(0x28d)][_0x52603d(0x21b)](this[_0x52603d(0x27b)]);}[_0x38d2b1(0x247)](){var _0x32b318=_0x38d2b1;this[_0x32b318(0x28d)][_0x32b318(0x3dc)](this[_0x32b318(0x27b)]);}[_0x38d2b1(0x1f4)](_0x5a3337){var _0x5940ed=_0x38d2b1,_0x124ecf;let _0x58b386=this[_0x5940ed(0x276)](_0x5a3337);_0x58b386=this[_0x5940ed(0x1ed)](_0x58b386);const _0x24ad0f=a[_0x5940ed(0x3d6)](_0x58b386[_0x5940ed(0x2b1)],this[_0x5940ed(0x425)],{'fromCollab':!0x0});if(!_0x24ad0f['result'])throw _0x24ad0f['error']instanceof Error?_0x24ad0f[_0x5940ed(0xdd)]:new Error((_0x124ecf=_0x24ad0f[_0x5940ed(0xdd)])!=null?_0x124ecf:'[CollaborationState]:\x20apply\x20error!');this[_0x5940ed(0x12e)](_0x58b386),this[_0x5940ed(0x308)](_0x58b386),this[_0x5940ed(0x18f)](_0x5a3337),this[_0x5940ed(0x2c4)](_0x58b386),this[_0x5940ed(0x31a)](_0x58b386),this[_0x5940ed(0x247)]();}}exports[_0x38d2b1(0x327)]=class extends _e{constructor(_0x23ac54,_0xaecdde,_0x526528,_0x19a437,_0xcef375,_0x45b94e,_0x551a7d,_0x306f33,_0x1f4910,_0x157ce8){var _0x3ef041=_0x38d2b1;super(_0x23ac54,_0xaecdde,null,[],_0x526528,_0x551a7d,_0x45b94e,_0x19a437,_0x157ce8),D(this,_0x3ef041(0x2e3),_0x3ef041(0x20b)),(this[_0x3ef041(0x415)]=_0xcef375,this[_0x3ef041(0x1e7)]=_0x306f33,this[_0x3ef041(0x367)]=_0x1f4910,this[_0x3ef041(0x145)]=_0x157ce8);}[_0x38d2b1(0x2f5)](_0x177e85){var _0x23daf3=_0x38d2b1;const _0x1befc3=this[_0x23daf3(0x415)]['createInstance'](exports[_0x23daf3(0x3cf)],this['unitID'],this[_0x23daf3(0x2e0)],[_0x177e85],this['_handler']);return _0x1befc3[_0x23daf3(0x193)](),_0x1befc3[_0x23daf3(0xf7)](),_0x1befc3;}[_0x38d2b1(0x204)](_0x41bb0a){var _0x3377e6=_0x38d2b1;if(this[_0x3377e6(0x223)](_0x41bb0a))return this['_injector'][_0x3377e6(0x205)](exports['FetchingMissState'],this[_0x3377e6(0x27b)],this['type'],null,[],null,[_0x41bb0a],this[_0x3377e6(0x400)]);try{const _0x431bfa=this[_0x3377e6(0x367)]['transformMutationsWithChangeset'](_0x41bb0a,[Oi]);if(m[_0x3377e6(0x39d)](_0x431bfa)){const {c1Prime:_0x213319}=_0x431bfa;return this[_0x3377e6(0x1f4)](_0x213319),this;}throw _0x431bfa[_0x3377e6(0xdd)];}catch(_0x3eb7e1){return this[_0x3377e6(0x1e7)][_0x3377e6(0xdd)](_0x3eb7e1),this['_onConflict'](!0x1);}}[_0x38d2b1(0x304)](_0x3ffff9){var _0xd43700=_0x38d2b1;return this[_0xd43700(0x415)]['createInstance'](exports[_0xd43700(0x291)],this['unitID'],this[_0xd43700(0x2e0)],null,[],this[_0xd43700(0x400)],_0x3ffff9);}[_0x38d2b1(0x27f)](){var _0x1a228a=_0x38d2b1;throw new Error(_0x1a228a(0x128));}[_0x38d2b1(0x108)](){var _0x38770e=_0x38d2b1;throw new Error(_0x38770e(0x1f9));}[_0x38d2b1(0x141)](){return this;}[_0x38d2b1(0x36f)](){var _0x1732be=_0x38d2b1;return this[_0x1732be(0x415)][_0x1732be(0x205)](exports[_0x1732be(0x3ef)],this[_0x1732be(0x27b)],this[_0x1732be(0x2e0)],null,[],this['_handler']);}[_0x38d2b1(0xdf)](){return this;}[_0x38d2b1(0x1d4)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x38d2b1(0xc2)](){var _0x1b233b=_0x38d2b1;const _0x14a6b6=this[_0x1b233b(0x28d)][_0x1b233b(0x21b)](this[_0x1b233b(0x27b)]);return this[_0x1b233b(0x400)][_0x1b233b(0x376)]({'from':_0x14a6b6,'to':0x0}),this[_0x1b233b(0x415)][_0x1b233b(0x205)](exports[_0x1b233b(0x2e5)],this['unitID'],this[_0x1b233b(0x2e0)],null,[],null,[],this[_0x1b233b(0x400)]);}},exports['SyncedState']=le([A(0x3,a[_0x38d2b1(0x258)](m[_0x38d2b1(0x29d)])),A(0x4,a[_0x38d2b1(0x258)](a[_0x38d2b1(0x299)])),A(0x5,a[_0x38d2b1(0x302)]),A(0x6,a['ICommandService']),A(0x7,a[_0x38d2b1(0x395)]),A(0x8,m[_0x38d2b1(0x18c)]),A(0x9,a[_0x38d2b1(0x11d)](J))],exports[_0x38d2b1(0x327)]),exports[_0x38d2b1(0x3cf)]=class extends _e{constructor(_0x2feb4a,_0x16b65a,_0x21bfe1,_0x370db3,_0x58cf6e,_0x3b16c2,_0x57b846,_0x2f28ea,_0x1de01b,_0x1c2816,_0x43e440,_0x1bf058,_0x3aa654,_0x4a5170){var _0x54d80f=_0x38d2b1;super(_0x2feb4a,_0x16b65a,null,_0x21bfe1,_0x370db3,_0x1de01b,_0x3aa654,_0x3b16c2,_0x4a5170),D(this,'status',_0x54d80f(0x19f)),D(this,_0x54d80f(0x3f2),null),D(this,_0x54d80f(0x363),null),(this[_0x54d80f(0x415)]=_0x58cf6e,this[_0x54d80f(0x303)]=_0x57b846,this['_logService']=_0x2f28ea,this[_0x54d80f(0x15e)]=_0x1c2816,this['_transformService']=_0x43e440,this[_0x54d80f(0xe3)]=_0x1bf058);}[_0x38d2b1(0x2f5)](_0xf770c8){var _0x17b18a=_0x38d2b1;return this['_pendingMutations'][_0x17b18a(0x3cb)](_0xf770c8),this[_0x17b18a(0xf7)](),this;}[_0x38d2b1(0x204)](_0x472bb1){var _0x3d0cfe=_0x38d2b1;if(this[_0x3d0cfe(0x223)](_0x472bb1))return this[_0x3d0cfe(0x3df)](),this[_0x3d0cfe(0x415)]['createInstance'](exports['FetchingMissState'],this[_0x3d0cfe(0x27b)],this[_0x3d0cfe(0x2e0)],null,this[_0x3d0cfe(0x16c)],null,[_0x472bb1],this['_handler']);try{const _0x291b7f=this['_transformService']['transformMutationsWithChangeset'](_0x472bb1,this['_pendingMutations']);if(m[_0x3d0cfe(0x39d)](_0x291b7f)){const {c1Prime:_0x140596,m2Prime:_0x449cd4}=_0x291b7f;this[_0x3d0cfe(0x1f4)](_0x140596);const _0x87ee9e=this['_injector'][_0x3d0cfe(0x205)](exports[_0x3d0cfe(0x3cf)],this[_0x3d0cfe(0x27b)],this['type'],_0x449cd4,this[_0x3d0cfe(0x400)]);this['_clearScheduledTask']();const _0x1bab01=new Date()[_0x3d0cfe(0x402)](),_0x215f09=this[_0x3d0cfe(0x3f2)]?Math[_0x3d0cfe(0x32b)](this[_0x3d0cfe(0x3f2)]-_0x1bab01,0x0):this[_0x3d0cfe(0x368)]();return _0x87ee9e[_0x3d0cfe(0x193)](_0x215f09),_0x87ee9e;}throw _0x291b7f[_0x3d0cfe(0xdd)];}catch(_0x213343){return this[_0x3d0cfe(0x1e7)][_0x3d0cfe(0xdd)](_0x213343),this['_onConflict'](!0x1);}}[_0x38d2b1(0x27f)](){var _0x51183e=_0x38d2b1;throw new Error(_0x51183e(0x19a));}[_0x38d2b1(0x108)](){var _0x2f6cd1=_0x38d2b1;throw new Error(_0x2f6cd1(0x1cb));}[_0x38d2b1(0x141)](){return this;}[_0x38d2b1(0x36f)](){var _0x3a5aba=_0x38d2b1;return this[_0x3a5aba(0x3df)](),this[_0x3a5aba(0x415)][_0x3a5aba(0x205)](exports['OfflineState'],this[_0x3a5aba(0x27b)],this[_0x3a5aba(0x2e0)],null,this[_0x3a5aba(0x16c)],this[_0x3a5aba(0x400)]);}[_0x38d2b1(0xdf)](){return this;}[_0x38d2b1(0x193)](_0x1f5800){var _0x4af139=_0x38d2b1;const _0x1d27d8=_0x1f5800!=null?_0x1f5800:this['_getSendChangesetTimeout']();this[_0x4af139(0x3f2)]=new Date()[_0x4af139(0x402)]()+_0x1d27d8,this[_0x4af139(0x363)]=setTimeout(()=>{var _0x3660fd=_0x4af139;this[_0x3660fd(0x3df)]();let _0x3a907e=null;switch(this['type']){case Z[_0x3660fd(0x16e)]:{_0x3a907e=Je(this[_0x3660fd(0x16c)],this[_0x3660fd(0x27b)],this[_0x3660fd(0xe3)],this[_0x3660fd(0x28d)],this[_0x3660fd(0x303)]);break;}case Z[_0x3660fd(0x2b5)]:{this[_0x3660fd(0x16c)][_0x3660fd(0x159)](_0x5a02f4=>_0x5a02f4['id']===dt[_0x3660fd(0x43d)]['id'])?_0x3a907e=Ri(this[_0x3660fd(0x16c)],this['unitID'],this[_0x3660fd(0xe3)],this[_0x3660fd(0x28d)],this[_0x3660fd(0x303)]):_0x3a907e=Je(this[_0x3660fd(0x16c)],this[_0x3660fd(0x27b)],this[_0x3660fd(0xe3)],this[_0x3660fd(0x28d)],this[_0x3660fd(0x303)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x3660fd(0x2e0)]+_0x3660fd(0x30f));}const {changeset:_0x2edb16,pendingMutations:_0x23f9a9}=_0x3a907e;this[_0x3660fd(0x400)][_0x3660fd(0x414)](_0x2edb16);const _0x17ef00=_0x23f9a9[_0x3660fd(0x1b7)]?this[_0x3660fd(0x415)][_0x3660fd(0x205)](exports[_0x3660fd(0x2fb)],this[_0x3660fd(0x27b)],this[_0x3660fd(0x2e0)],_0x2edb16,_0x23f9a9,this[_0x3660fd(0x400)],void 0x0):this[_0x3660fd(0x415)][_0x3660fd(0x205)](exports[_0x3660fd(0x3ea)],this['unitID'],this[_0x3660fd(0x2e0)],_0x2edb16,this['_handler']);_0x17ef00[_0x3660fd(0xf7)](),this[_0x3660fd(0x400)][_0x3660fd(0x3f4)](this,_0x17ef00);},_0x1d27d8);}[_0x38d2b1(0x368)](){var _0x146d5e=_0x38d2b1,_0x4058c3;const _0x341496=this[_0x146d5e(0x15e)][_0x146d5e(0x3ff)](q);return(_0x4058c3=_0x341496==null?void 0x0:_0x341496[_0x146d5e(0x36a)])!=null?_0x4058c3:Bt;}[_0x38d2b1(0x1d4)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x38d2b1(0x3df)](){var _0x4e2e66=_0x38d2b1;this[_0x4e2e66(0x363)]!=null&&(clearTimeout(this[_0x4e2e66(0x363)]),this['_sendingTimer']=null);}['_onConflict'](_0x12fdb1){var _0x2d19ec=_0x38d2b1;return this[_0x2d19ec(0x3df)](),this[_0x2d19ec(0x415)]['createInstance'](exports['ConflictState'],this[_0x2d19ec(0x27b)],this[_0x2d19ec(0x2e0)],null,this['_pendingMutations'],this['_handler'],_0x12fdb1);}},exports['PendingState']=le([A(0x4,a[_0x38d2b1(0x258)](a[_0x38d2b1(0x299)])),A(0x5,a[_0x38d2b1(0x258)](m[_0x38d2b1(0x29d)])),A(0x6,a[_0x38d2b1(0x258)](exports[_0x38d2b1(0x15d)])),A(0x7,a[_0x38d2b1(0x395)]),A(0x8,a[_0x38d2b1(0x40c)]),A(0x9,a[_0x38d2b1(0x16b)]),A(0xa,m[_0x38d2b1(0x18c)]),A(0xb,a[_0x38d2b1(0x10f)]),A(0xc,a[_0x38d2b1(0x302)]),A(0xd,a[_0x38d2b1(0x11d)](J))],exports['PendingState']),exports[_0x38d2b1(0x3ea)]=class extends _e{constructor(_0x16bf07,_0x166d3e,_0x5c4172,_0x3878e4,_0x2c52bb,_0x228859,_0x420da1,_0x5735f8,_0x316e7c,_0x39ee13,_0x24aef5){var _0x291133=_0x38d2b1;super(_0x16bf07,_0x166d3e,_0x5c4172,[],_0x3878e4,_0x420da1,_0x39ee13,_0x228859,_0x24aef5),D(this,'status',_0x291133(0x168)),D(this,_0x291133(0xc1),0x0),D(this,_0x291133(0x2f8)),D(this,_0x291133(0x352)),(this[_0x291133(0x415)]=_0x2c52bb,this['_logService']=_0x5735f8,this['_transformService']=_0x316e7c);}[_0x38d2b1(0x2f5)](_0xfcee7){var _0x5e037e=_0x38d2b1;this[_0x5e037e(0x3df)]();const _0x5967f3=this[_0x5e037e(0x415)][_0x5e037e(0x205)](exports['AwaitingWithPendingState'],this[_0x5e037e(0x27b)],this[_0x5e037e(0x2e0)],this[_0x5e037e(0x1db)],[_0xfcee7],this['_handler'],this[_0x5e037e(0x2f8)]);return _0x5967f3[_0x5e037e(0xf7)](),_0x5967f3;}[_0x38d2b1(0x204)](_0x4f9736){var _0x26b52c=_0x38d2b1;if(this[_0x26b52c(0x223)](_0x4f9736))return this[_0x26b52c(0x3df)](),this[_0x26b52c(0x415)][_0x26b52c(0x205)](exports[_0x26b52c(0x2e5)],this['unitID'],this[_0x26b52c(0x2e0)],this[_0x26b52c(0x1db)],[],null,[_0x4f9736],this['_handler']);try{const _0x4e7cec=this['_transformService'][_0x26b52c(0x381)]([_0x4f9736],[this[_0x26b52c(0x1db)]],!0x1);if(m[_0x26b52c(0x335)](_0x4e7cec)){const {c1Prime:_0x56b42d,c2Prime:_0x850dcd}=_0x4e7cec;this[_0x26b52c(0x1f4)](_0x56b42d[0x0]),_0x850dcd[0x0][_0x26b52c(0x1ae)]=this[_0x26b52c(0x41a)](),this[_0x26b52c(0x3df)]();const _0x2f6e5b=this[_0x26b52c(0x415)]['createInstance'](exports[_0x26b52c(0x3ea)],this[_0x26b52c(0x27b)],this['type'],_0x850dcd[0x0],this[_0x26b52c(0x400)]);return _0x2f6e5b[_0x26b52c(0xf7)](),_0x2f6e5b;}return this[_0x26b52c(0x304)](!0x1);}catch(_0x5e0396){return this[_0x26b52c(0x1e7)][_0x26b52c(0xdd)](_0x5e0396),this[_0x26b52c(0x304)](!0x1);}}[_0x38d2b1(0x27f)](_0x4db2bf){var _0x21c653=_0x38d2b1;this[_0x21c653(0x3df)]();const _0x28e30a=this[_0x21c653(0x28d)][_0x21c653(0x21b)](this[_0x21c653(0x27b)]);if(_0x4db2bf[_0x21c653(0x279)]<_0x28e30a-0x1)return this;if(this['_checkMissing'](_0x4db2bf))return this[_0x21c653(0x415)]['createInstance'](exports[_0x21c653(0x2e5)],this[_0x21c653(0x27b)],this['type'],null,[],this[_0x21c653(0x1db)],[],this[_0x21c653(0x400)]);this[_0x21c653(0x247)]();const _0x24645d=this[_0x21c653(0x415)][_0x21c653(0x205)](exports[_0x21c653(0x327)],this[_0x21c653(0x27b)],this['type'],this[_0x21c653(0x400)]);return _0x24645d[_0x21c653(0xf7)](),_0x24645d;}[_0x38d2b1(0x108)](_0x2a5985){var _0xc1d4c1=_0x38d2b1;return this[_0xc1d4c1(0x304)](!!(_0x2a5985!=null&&_0x2a5985[_0xc1d4c1(0x1e8)]));}[_0x38d2b1(0x141)](_0x3275d7){var _0x23eca9=_0x38d2b1;return this[_0x23eca9(0xc1)]>Nt?this['toggleOffline']():(this[_0x23eca9(0x2f8)]=Pt(this[_0x23eca9(0xc1)],{'timeout':this[_0x23eca9(0xc1)],'reqId':_0x3275d7[_0x23eca9(0x1a4)]}),this[_0x23eca9(0x352)]=this[_0x23eca9(0x2f8)][_0x23eca9(0x28f)](({reqId:_0x566673,timeout:_0x6b40b4})=>{var _0x39f8bb=_0x23eca9;this[_0x39f8bb(0x255)](_0x566673,_0x6b40b4);}),this);}['toggleOffline'](){var _0x230071=_0x38d2b1;return this['_clearScheduledTask'](),this[_0x230071(0x415)][_0x230071(0x205)](exports[_0x230071(0x3ef)],this[_0x230071(0x27b)],this[_0x230071(0x2e0)],this[_0x230071(0x1db)],[],this[_0x230071(0x400)]);}[_0x38d2b1(0xdf)](){return this;}[_0x38d2b1(0x1d4)](){var _0x48915c=_0x38d2b1;this['_handler'][_0x48915c(0x414)](this[_0x48915c(0x1db)]);}[_0x38d2b1(0x304)](_0xc09637){var _0x374490=_0x38d2b1;return this[_0x374490(0x3df)](),this[_0x374490(0x415)][_0x374490(0x205)](exports[_0x374490(0x291)],this['unitID'],this[_0x374490(0x2e0)],this[_0x374490(0x1db)],[],this[_0x374490(0x400)],_0xc09637);}[_0x38d2b1(0x255)](_0x5528eb,_0x59ecdd){var _0x2f1caa=_0x38d2b1,_0x3527eb;_0x5528eb===((_0x3527eb=this[_0x2f1caa(0x1db)])==null?void 0x0:_0x3527eb['reqId'])&&(this[_0x2f1caa(0x1d4)](),this[_0x2f1caa(0xc1)]=_0x59ecdd===0x0?0x3e8:_0x59ecdd*0x2);}[_0x38d2b1(0x3df)](){var _0x372917=_0x38d2b1,_0x151769;(_0x151769=this['_sender'])==null||_0x151769[_0x372917(0x103)](),this[_0x372917(0xc1)]=0x0;}},exports[_0x38d2b1(0x3ea)]=le([A(0x4,a[_0x38d2b1(0x258)](a['Injector'])),A(0x5,a[_0x38d2b1(0x258)](m[_0x38d2b1(0x29d)])),A(0x6,a[_0x38d2b1(0x40c)]),A(0x7,a[_0x38d2b1(0x395)]),A(0x8,m[_0x38d2b1(0x18c)]),A(0x9,a[_0x38d2b1(0x302)]),A(0xa,a['Optional'](J))],exports[_0x38d2b1(0x3ea)]),exports[_0x38d2b1(0x2fb)]=class extends _e{constructor(_0x4900c9,_0x1ef177,_0x2830dc,_0x5613d0,_0x3d0449,_0x10e870,_0x494240,_0x235e63,_0x667333,_0x1d25c6,_0x1164d5,_0x295e60,_0x3d77a4){var _0x1f49b5=_0x38d2b1;super(_0x4900c9,_0x1ef177,_0x2830dc,_0x5613d0,_0x3d0449,_0x667333,_0x295e60,_0x235e63,_0x3d77a4),D(this,'status','awaiting_with_pending'),D(this,_0x1f49b5(0xc1),0x0),D(this,'_resendTimer'),D(this,_0x1f49b5(0x352)),(this['_injector']=_0x494240,this[_0x1f49b5(0x1e7)]=_0x1d25c6,this['_transformService']=_0x1164d5,this[_0x1f49b5(0x145)]=_0x3d77a4,_0x10e870&&(this[_0x1f49b5(0x2f8)]=_0x10e870,this['_sender']=this[_0x1f49b5(0x2f8)][_0x1f49b5(0x28f)](({reqId:_0x2d04ae,timeout:_0x93a9b0})=>{var _0xac57e8=_0x1f49b5;this[_0xac57e8(0x255)](_0x2d04ae,_0x93a9b0);})));}[_0x38d2b1(0x2f5)](_0x407686){var _0x3161d8=_0x38d2b1;return this['_pendingMutations'][_0x3161d8(0x3cb)](_0x407686),this;}[_0x38d2b1(0x204)](_0x13db1e){var _0x337475=_0x38d2b1;if(this['_checkMissing'](_0x13db1e))return this[_0x337475(0x3df)](),this['_injector'][_0x337475(0x205)](exports[_0x337475(0x2e5)],this[_0x337475(0x27b)],this[_0x337475(0x2e0)],this['_awaitingChangeset'],this[_0x337475(0x16c)],null,[_0x13db1e],this[_0x337475(0x400)]);try{const _0x325a08=this[_0x337475(0x367)][_0x337475(0x381)]([_0x13db1e],[this[_0x337475(0x1db)]],!0x1);if(m[_0x337475(0x335)](_0x325a08)){const {c1Prime:_0x32ca76,c2Prime:_0x33197d}=_0x325a08,_0x324485=this['_transformService'][_0x337475(0x1c1)](_0x32ca76[0x0],this['_pendingMutations']);if(m[_0x337475(0x39d)](_0x324485)){const {c1Prime:_0xf55bb,m2Prime:_0x43ad69}=_0x324485;return this[_0x337475(0x1f4)](_0xf55bb),_0x33197d[0x0][_0x337475(0x1ae)]=this[_0x337475(0x41a)](),this[_0x337475(0x3df)](),this[_0x337475(0x415)]['createInstance'](exports['AwaitingWithPendingState'],this[_0x337475(0x27b)],this['type'],_0x33197d[0x0],_0x43ad69,this[_0x337475(0x400)],void 0x0);}throw _0x324485[_0x337475(0xdd)];}throw _0x325a08['error'];}catch(_0x5d42ba){return this['_logService'][_0x337475(0xdd)](_0x5d42ba),this[_0x337475(0x304)](!0x1);}}[_0x38d2b1(0x27f)](_0x3bc0af){var _0x34bde2=_0x38d2b1;if(this[_0x34bde2(0x3df)](),this['_checkMissing'](_0x3bc0af))return this[_0x34bde2(0x415)]['createInstance'](exports[_0x34bde2(0x2e5)],this[_0x34bde2(0x27b)],this['type'],null,this[_0x34bde2(0x16c)],this[_0x34bde2(0x1db)],[],this[_0x34bde2(0x400)]);this[_0x34bde2(0x247)]();const _0x42e2c6=this[_0x34bde2(0x415)][_0x34bde2(0x205)](exports[_0x34bde2(0x3cf)],this['unitID'],this['type'],this['_pendingMutations'],this['_handler']);return _0x42e2c6['_schedule'](),_0x42e2c6['_updateLocalCache'](),_0x42e2c6;}[_0x38d2b1(0x108)](_0x3a3c11){var _0x353095=_0x38d2b1;return this[_0x353095(0x304)](!!(_0x3a3c11!=null&&_0x3a3c11['isPermissionRej']));}[_0x38d2b1(0x141)](_0x1a009e){var _0x2d1936=_0x38d2b1;return this[_0x2d1936(0xc1)]>Nt?this[_0x2d1936(0x36f)]():(this[_0x2d1936(0x2f8)]=Pt(this[_0x2d1936(0xc1)],{'timeout':this[_0x2d1936(0xc1)],'reqId':_0x1a009e[_0x2d1936(0x1a4)]}),this[_0x2d1936(0x352)]=this[_0x2d1936(0x2f8)][_0x2d1936(0x28f)](({reqId:_0x38b889,timeout:_0x58f84f})=>{var _0x1958bb=_0x2d1936;this[_0x1958bb(0x255)](_0x38b889,_0x58f84f);}),this);}[_0x38d2b1(0x36f)](){var _0x2c7665=_0x38d2b1;return this[_0x2c7665(0x3df)](),this[_0x2c7665(0x415)][_0x2c7665(0x205)](exports[_0x2c7665(0x3ef)],this[_0x2c7665(0x27b)],this['type'],this[_0x2c7665(0x1db)],this[_0x2c7665(0x16c)],this[_0x2c7665(0x400)]);}['toggleOnline'](){return this;}['resend'](){var _0xda8c1b=_0x38d2b1;this['_handler'][_0xda8c1b(0x414)](this[_0xda8c1b(0x1db)]);}[_0x38d2b1(0x304)](_0x47c36a){var _0x498e2d=_0x38d2b1;return this[_0x498e2d(0x3df)](),this[_0x498e2d(0x415)][_0x498e2d(0x205)](exports[_0x498e2d(0x291)],this[_0x498e2d(0x27b)],this[_0x498e2d(0x2e0)],null,this[_0x498e2d(0x16c)],this[_0x498e2d(0x400)],_0x47c36a);}[_0x38d2b1(0x255)](_0x4f2372,_0xb83f3){var _0x24ab51=_0x38d2b1,_0x48530d;_0x4f2372===((_0x48530d=this[_0x24ab51(0x1db)])==null?void 0x0:_0x48530d[_0x24ab51(0x1a4)])&&(this['resend'](),this['_resendTimeout']=_0xb83f3===0x0?0x3e8:_0xb83f3*0x2);}[_0x38d2b1(0x3df)](){var _0x1e6d1d=_0x38d2b1,_0x1d7121;(_0x1d7121=this[_0x1e6d1d(0x352)])==null||_0x1d7121['unsubscribe'](),this[_0x1e6d1d(0xc1)]=0x0;}},exports[_0x38d2b1(0x2fb)]=le([A(0x6,a[_0x38d2b1(0x258)](a[_0x38d2b1(0x299)])),A(0x7,a[_0x38d2b1(0x258)](m[_0x38d2b1(0x29d)])),A(0x8,a[_0x38d2b1(0x40c)]),A(0x9,a[_0x38d2b1(0x395)]),A(0xa,m[_0x38d2b1(0x18c)]),A(0xb,a[_0x38d2b1(0x302)]),A(0xc,a['Optional'](J))],exports[_0x38d2b1(0x2fb)]),exports[_0x38d2b1(0x291)]=class extends _e{constructor(_0x1e8240,_0x39f406,_0x36bf81,_0x49a93d,_0x33e40e,_0x3dede2=!0x1,_0x5d90b4,_0x4afaaf,_0xd675c3,_0x407d1b,_0x3c3599,_0x1ca5dc,_0x30f637){var _0xe259a4=_0x38d2b1;super(_0x1e8240,_0x39f406,_0x36bf81,_0x49a93d,_0x33e40e,_0x4afaaf,_0xd675c3,_0x407d1b,_0x30f637),D(this,_0xe259a4(0x2e3),_0xe259a4(0x421)),(this[_0xe259a4(0x2e6)]=_0x3dede2,this['_permissionService']=_0x5d90b4,this['_localeService']=_0x3c3599,this['_collaborationUIEventService']=_0x1ca5dc,this['localCacheService']=_0x30f637,this[_0xe259a4(0x35a)](),this[_0xe259a4(0x2e7)](),this['_disableEditing']());}[_0x38d2b1(0x2f5)](){return this;}[_0x38d2b1(0x204)](){return this;}['onRemoteAck'](){return this;}[_0x38d2b1(0x108)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x38d2b1(0x1d4)](){var _0x62b710=_0x38d2b1;throw new Error(_0x62b710(0x206));}[_0x38d2b1(0x2e7)](){var _0x4235d4=_0x38d2b1,_0x1ba9e6;(_0x1ba9e6=this[_0x4235d4(0x209)])==null||_0x1ba9e6[_0x4235d4(0xf5)](this[_0x4235d4(0x27b)],this[_0x4235d4(0x2e0)],null,[]);}[_0x38d2b1(0x35a)](){var _0x1c6268=_0x38d2b1;this[_0x1c6268(0x2e6)]?this[_0x1c6268(0x346)][_0x1c6268(0x42d)]({'id':Q[_0x1c6268(0x12a)]}):this[_0x1c6268(0x346)][_0x1c6268(0x42d)]({'id':Q[_0x1c6268(0x344)]});}[_0x38d2b1(0x37e)](){var _0x4914b8=_0x38d2b1;this[_0x4914b8(0x359)][_0x4914b8(0x311)](new W[(_0x4914b8(0x3e6))](this['unitID'])['id'],!0x1);}},exports[_0x38d2b1(0x291)]=le([A(0x6,a[_0x38d2b1(0x258)](a[_0x38d2b1(0x429)])),A(0x7,a['ICommandService']),A(0x8,a[_0x38d2b1(0x302)]),A(0x9,a[_0x38d2b1(0x258)](m[_0x38d2b1(0x29d)])),A(0xa,a['Inject'](a['LocaleService'])),A(0xb,a['Inject'](te)),A(0xc,a[_0x38d2b1(0x11d)](J))],exports[_0x38d2b1(0x291)]),exports[_0x38d2b1(0x3ef)]=class extends _e{constructor(_0x2e29b0,_0x3185b9,_0x22faba,_0x395af4,_0x4c9078,_0xfdf9cf,_0x240285,_0xe0459a,_0x584030,_0x5e17d2){var _0x3c7043=_0x38d2b1;super(_0x2e29b0,_0x3185b9,_0x22faba,_0x395af4,_0x4c9078,_0xe0459a,_0x584030,_0x240285,_0x5e17d2),D(this,_0x3c7043(0x2e3),'offline'),this[_0x3c7043(0x415)]=_0xfdf9cf;}['appendMutation'](_0x3b9a28){var _0x5344a6=_0x38d2b1;return this[_0x5344a6(0x16c)][_0x5344a6(0x3cb)](_0x3b9a28),this[_0x5344a6(0xf7)](),this;}[_0x38d2b1(0x204)](_0x351b41){var _0x24e5ec=_0x38d2b1;throw new Error(_0x24e5ec(0x152));}[_0x38d2b1(0x27f)](){var _0x2c8021=_0x38d2b1;throw new Error(_0x2c8021(0x175));}['onRemoteRej'](){var _0x4e10bd=_0x38d2b1;throw new Error(_0x4e10bd(0x221));}[_0x38d2b1(0x141)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x164100=_0x38d2b1;const {_injector:_0x2f80c4,_pendingMutations:_0x3ccca4,_awaitingChangeset:_0x1154ea,unitID:_0x38bd94,_handler:_0x4857e4,type:_0x95fc56}=this,_0x5757f8=Ut(_0x2f80c4,_0x38bd94,_0x95fc56,_0x1154ea,_0x3ccca4,_0x4857e4);return _0x5757f8 instanceof exports[_0x164100(0x3cf)]?_0x5757f8[_0x164100(0x193)]():(_0x5757f8 instanceof exports[_0x164100(0x2fb)]||_0x5757f8 instanceof exports[_0x164100(0x3ea)])&&_0x5757f8[_0x164100(0x1d4)](),_0x5757f8;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0x38d2b1(0x3ef)]=le([A(0x5,a[_0x38d2b1(0x258)](a[_0x38d2b1(0x299)])),A(0x6,a[_0x38d2b1(0x258)](m[_0x38d2b1(0x29d)])),A(0x7,a['ICommandService']),A(0x8,a['IUndoRedoService']),A(0x9,a['Optional'](J))],exports[_0x38d2b1(0x3ef)]),exports[_0x38d2b1(0x2e5)]=class extends _e{constructor(_0x177434,_0x4c9904,_0x1dcc2c,_0x6a3375,_0xf6b95f,_0x46599b,_0x44f928,_0x1e26b6,_0x530267,_0x56f6f3,_0x26f86f,_0x563f75,_0x593d4f,_0x1cf2bd){var _0x22752d=_0x38d2b1;super(_0x177434,_0x4c9904,_0x1dcc2c,_0x6a3375,_0x44f928,_0x26f86f,_0x563f75,_0x530267,_0x1cf2bd),D(this,_0x22752d(0x2e3),_0x22752d(0x26d)),(this[_0x22752d(0x1ec)]=_0xf6b95f,this['_queuedRemoteChangesets']=_0x46599b,this[_0x22752d(0x415)]=_0x1e26b6,this['_logService']=_0x56f6f3,this[_0x22752d(0x367)]=_0x593d4f,this[_0x22752d(0x145)]=_0x1cf2bd);}[_0x38d2b1(0x1e4)](_0x328f0e){var _0x3cedc9=_0x38d2b1;try{const _0x2ac75f=[..._0x328f0e,...this['_queuedRemoteChangesets']],_0x33f887=[this[_0x3cedc9(0x1db)]||this[_0x3cedc9(0x1ec)]][_0x3cedc9(0x1f3)](_0x37a030=>!!_0x37a030);let _0x5ae651,_0x49dfb5;if(_0x33f887[_0x3cedc9(0x1b7)]){const _0x4dfb0d=this['_transformService'][_0x3cedc9(0x381)](_0x2ac75f,_0x33f887,!0x1);if(!m[_0x3cedc9(0x335)](_0x4dfb0d))throw _0x4dfb0d[_0x3cedc9(0xdd)];_0x5ae651=_0x4dfb0d[_0x3cedc9(0x347)],_0x49dfb5=_0x4dfb0d['c2Prime'];}else _0x5ae651=_0x2ac75f,_0x49dfb5=[];let _0x217e7e=this[_0x3cedc9(0x16c)];_0x5ae651[_0x3cedc9(0x246)](_0xdac4aa=>{var _0x3c5b18=_0x3cedc9;let _0x3446ff;if(_0x217e7e[_0x3c5b18(0x1b7)]){const _0x2333a7=this[_0x3c5b18(0x367)][_0x3c5b18(0x1c1)](_0xdac4aa,_0x217e7e);if(!m['isTransformMutationsWithChangesetSuccess'](_0x2333a7))throw _0x2333a7[_0x3c5b18(0xdd)];_0x3446ff=_0x2333a7['c1Prime'],_0x217e7e=_0x2333a7[_0x3c5b18(0x284)];}else _0x3446ff=_0xdac4aa;this['_executeRemoteChangeset'](_0x3446ff);}),this[_0x3cedc9(0x1ec)]&&this[_0x3cedc9(0x247)](),this[_0x3cedc9(0x1db)]&&_0x49dfb5[_0x3cedc9(0x1b7)]&&(_0x49dfb5[0x0]['baseRev']=this[_0x3cedc9(0x41a)]());let _0x115676;if(this['_awaitingChangeset']&&_0x217e7e[_0x3cedc9(0x1b7)]!==0x0)_0x115676=this[_0x3cedc9(0x415)][_0x3cedc9(0x205)](exports[_0x3cedc9(0x2fb)],this[_0x3cedc9(0x27b)],this['type'],_0x49dfb5[0x0],_0x217e7e,this['_handler'],void 0x0);else{if(this[_0x3cedc9(0x1db)]&&_0x217e7e['length']===0x0)_0x49dfb5[0x0]['baseRev']=this[_0x3cedc9(0x41a)](),_0x115676=this[_0x3cedc9(0x415)][_0x3cedc9(0x205)](exports[_0x3cedc9(0x3ea)],this['unitID'],this[_0x3cedc9(0x2e0)],_0x49dfb5[0x0],this['_handler']);else{if(_0x217e7e[_0x3cedc9(0x1b7)]!==0x0){const _0x55eb5f=this[_0x3cedc9(0x415)][_0x3cedc9(0x205)](exports[_0x3cedc9(0x3cf)],this[_0x3cedc9(0x27b)],this[_0x3cedc9(0x2e0)],_0x217e7e,this[_0x3cedc9(0x400)]);_0x55eb5f['_schedule'](),_0x115676=_0x55eb5f;}else _0x115676=this[_0x3cedc9(0x415)]['createInstance'](exports[_0x3cedc9(0x327)],this[_0x3cedc9(0x27b)],this['type'],this[_0x3cedc9(0x400)]);}}return _0x115676[_0x3cedc9(0xf7)](),_0x115676;}catch(_0x21cc33){return this[_0x3cedc9(0x1e7)][_0x3cedc9(0xdd)](_0x3cedc9(0x42e),_0x3cedc9(0x418),_0x21cc33),this['_injector'][_0x3cedc9(0x205)](exports['ConflictState'],this[_0x3cedc9(0x27b)],this[_0x3cedc9(0x2e0)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x38d2b1(0x1d4)](){var _0x416bd6=_0x38d2b1;throw new Error(_0x416bd6(0x29a));}[_0x38d2b1(0x2f5)](_0x565dd1){var _0x3c1b6f=_0x38d2b1;return this[_0x3c1b6f(0x16c)][_0x3c1b6f(0x3cb)](_0x565dd1),this;}['onRemoteChangeset'](_0x502a3d){var _0x5b7c4d=_0x38d2b1;return this[_0x5b7c4d(0xe2)][_0x5b7c4d(0x3cb)](_0x502a3d),this;}[_0x38d2b1(0x27f)](_0x2302fd){var _0x9a0442=_0x38d2b1;if(this[_0x9a0442(0x1db)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x9a0442(0x22e));}[_0x38d2b1(0x108)](_0x18417c){var _0x125a57=_0x38d2b1;return this[_0x125a57(0x304)](!!(_0x18417c!=null&&_0x18417c[_0x125a57(0x1e8)]));}[_0x38d2b1(0x141)](){return this;}[_0x38d2b1(0x36f)](){var _0x451e9b=_0x38d2b1;return this[_0x451e9b(0x415)][_0x451e9b(0x205)](exports[_0x451e9b(0x3ef)],this[_0x451e9b(0x27b)],this[_0x451e9b(0x2e0)],this['_awaitingChangeset'],this[_0x451e9b(0x16c)],this[_0x451e9b(0x400)]);}[_0x38d2b1(0xdf)](){return this;}[_0x38d2b1(0x304)](_0x4410ac){var _0x423cde=_0x38d2b1;return this[_0x423cde(0x415)]['createInstance'](exports[_0x423cde(0x291)],this['unitID'],this[_0x423cde(0x2e0)],this[_0x423cde(0x1db)],this[_0x423cde(0x16c)],this[_0x423cde(0x400)],_0x4410ac);}},exports[_0x38d2b1(0x2e5)]=le([A(0x7,a[_0x38d2b1(0x258)](a['Injector'])),A(0x8,a[_0x38d2b1(0x258)](m[_0x38d2b1(0x29d)])),A(0x9,a[_0x38d2b1(0x395)]),A(0xa,a[_0x38d2b1(0x40c)]),A(0xb,a[_0x38d2b1(0x302)]),A(0xc,m[_0x38d2b1(0x18c)]),A(0xd,a[_0x38d2b1(0x11d)](J))],exports[_0x38d2b1(0x2e5)]);function Ut(_0x2ae159,_0xd26e05,_0x4ba0cc,_0x5d19c2,_0x491124,_0x1da77d){var _0x144877=_0x38d2b1;return _0x5d19c2&&_0x491124[_0x144877(0x1b7)]?_0x2ae159[_0x144877(0x205)](exports[_0x144877(0x2fb)],_0xd26e05,_0x4ba0cc,_0x5d19c2,_0x491124,_0x1da77d,void 0x0):_0x5d19c2?_0x2ae159['createInstance'](exports[_0x144877(0x3ea)],_0xd26e05,_0x4ba0cc,_0x5d19c2,_0x1da77d):_0x491124[_0x144877(0x1b7)]?_0x2ae159[_0x144877(0x205)](exports[_0x144877(0x3cf)],_0xd26e05,_0x4ba0cc,_0x491124,_0x1da77d):_0x2ae159[_0x144877(0x205)](exports[_0x144877(0x327)],_0xd26e05,_0x4ba0cc,_0x1da77d);}var Ni=Object[_0x38d2b1(0x1b3)],Ui=Object['getOwnPropertyDescriptor'],Ve=(_0x2b3aac,_0x2c011f,_0x39f2ae,_0x1b7107)=>{var _0x4bec9e=_0x38d2b1;for(var _0x5998dd=_0x1b7107>0x1?void 0x0:_0x1b7107?Ui(_0x2c011f,_0x39f2ae):_0x2c011f,_0x3e1620=_0x2b3aac[_0x4bec9e(0x1b7)]-0x1,_0x3f9bd8;_0x3e1620>=0x0;_0x3e1620--)(_0x3f9bd8=_0x2b3aac[_0x3e1620])&&(_0x5998dd=(_0x1b7107?_0x3f9bd8(_0x2c011f,_0x39f2ae,_0x5998dd):_0x3f9bd8(_0x5998dd))||_0x5998dd);return _0x1b7107&&_0x5998dd&&Ni(_0x2c011f,_0x39f2ae,_0x5998dd),_0x5998dd;},k=(_0x5cfd09,_0x543d57)=>(_0x373701,_0x3cfaa3)=>_0x543d57(_0x373701,_0x3cfaa3,_0x5cfd09);exports[_0x38d2b1(0x260)]=class extends a['RxDisposable']{constructor(_0x1dc5ad,_0x2c209b,_0x814c5f,_0x2194de,_0x114b23,_0xfbae10,_0x3511db,_0x302df9,_0x55aa02,_0x12aa42,_0x40c505,_0x12459b,_0x3c76ac){var _0x4aed69=_0x38d2b1;super(),D(this,_0x4aed69(0x2fa),new H[(_0x4aed69(0xf1))](null)),D(this,_0x4aed69(0xe6),this[_0x4aed69(0x2fa)][_0x4aed69(0x37d)]()),D(this,_0x4aed69(0x3a4)),D(this,_0x4aed69(0x316),!0x1),D(this,_0x4aed69(0x2bb),''),D(this,_0x4aed69(0x323),0x0),D(this,_0x4aed69(0x1a7),this[_0x4aed69(0xe6)][_0x4aed69(0x2b9)](H['map'](_0x53aec8=>_0x53aec8?_0x53aec8[_0x4aed69(0x2e3)]:We[_0x4aed69(0xe5)]),H[_0x4aed69(0x139)](0x1))),D(this,'_transitionLocked',!0x1),D(this,'_remoteChangesetQueue',[]),(this[_0x4aed69(0x27b)]=_0x1dc5ad,this[_0x4aed69(0x136)]=_0x2c209b,this[_0x4aed69(0x1ad)]=_0x814c5f,this['_injector']=_0x2194de,this[_0x4aed69(0x3c1)]=_0x114b23,this[_0x4aed69(0x1fb)]=_0xfbae10,this[_0x4aed69(0x28d)]=_0x3511db,this['_eventService']=_0x302df9,this[_0x4aed69(0x1e7)]=_0x55aa02,this['_commandService']=_0x12aa42,this['_permissionService']=_0x40c505,this['_singleActiveUnitService']=_0x12459b,this[_0x4aed69(0x209)]=_0x3c76ac);}get[_0x38d2b1(0x164)](){var _0xae4b77=_0x38d2b1;return this[_0xae4b77(0x3a4)];}async[_0x38d2b1(0xfa)](){var _0x247786=_0x38d2b1;if(this[_0x247786(0x164)])throw new Error(_0x247786(0x16d));await this[_0x247786(0x3db)]();}[_0x38d2b1(0x1a2)](){var _0x363ff2=_0x38d2b1;return this[_0x363ff2(0x316)]=!0x0,a[_0x363ff2(0x379)](()=>{var _0x5e8b01=_0x363ff2;this[_0x5e8b01(0x316)]=!0x1,this[_0x5e8b01(0xd2)]();});}[_0x38d2b1(0xfd)](_0x32a138){var _0x2920c0=_0x38d2b1;this[_0x2920c0(0x154)](_0x32a138);}['_updateState'](_0x2a8ae4){var _0x25344f=_0x38d2b1;this[_0x25344f(0x3a4)]=_0x2a8ae4,this[_0x25344f(0x2fa)][_0x25344f(0x183)](_0x2a8ae4);}async[_0x38d2b1(0x3db)](){var _0x492826=_0x38d2b1,_0x366fb5;this[_0x492826(0x2ea)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x366fb5=this[_0x492826(0x215)])==null||_0x366fb5[_0x492826(0x313)](this[_0x492826(0x27b)]),this[_0x492826(0x234)](this[_0x492826(0x215)][_0x492826(0x306)](this[_0x492826(0x27b)])[_0x492826(0x28f)](_0x37b003=>{var _0x58cf4c=_0x492826;this[_0x58cf4c(0x1e7)][_0x58cf4c(0x2a1)](_0x58cf4c(0x2de),_0x58cf4c(0x16f),_0x37b003),_0x37b003===Fe[_0x58cf4c(0x391)]?(this[_0x58cf4c(0x417)][_0x58cf4c(0x42d)]({'id':Q[_0x58cf4c(0x277)]}),this[_0x58cf4c(0x359)][_0x58cf4c(0x311)](new W[(_0x58cf4c(0x3e6))](this[_0x58cf4c(0x27b)])['id'],!0x1),this[_0x58cf4c(0x359)][_0x58cf4c(0x1ab)](!0x1)):(this[_0x58cf4c(0x359)][_0x58cf4c(0x311)](new W[(_0x58cf4c(0x3e6))](this['unitID'])['id'],!0x0),this[_0x58cf4c(0x359)][_0x58cf4c(0x1ab)](!0x0));})));let _0x3108e2=!0x1;return this['disposeWithMe'](this[_0x492826(0x136)]['sessionStatus$'][_0x492826(0x28f)](_0xa5bf42=>{var _0x32b26f=_0x492826;_0xa5bf42===se['ONLINE']?this[_0x32b26f(0x1f6)](_0x3108e2):_0xa5bf42===se[_0x32b26f(0xe5)]&&(_0x3108e2=!0x0,this[_0x32b26f(0x201)]());})),this[_0x492826(0x234)](this[_0x492826(0x136)][_0x492826(0x1b2)][_0x492826(0x28f)](_0x4526c1=>{var _0x2ec9d2=_0x492826;try{switch(_0x4526c1['eventID']){case m['CollaborationEvent'][_0x2ec9d2(0x197)]:{this[_0x2ec9d2(0x283)](m[_0x2ec9d2(0x3d1)](_0x4526c1[_0x2ec9d2(0x1bb)]));break;}case m['CollaborationEvent'][_0x2ec9d2(0xf9)]:{this[_0x2ec9d2(0x170)](_0x4526c1[_0x2ec9d2(0x1bb)]);break;}case m['CollaborationEvent'][_0x2ec9d2(0x271)]:{this[_0x2ec9d2(0x2fe)]();break;}case m[_0x2ec9d2(0x12b)][_0x2ec9d2(0x438)]:{this[_0x2ec9d2(0x314)](_0x4526c1['data']);break;}case m[_0x2ec9d2(0x12b)][_0x2ec9d2(0x3ed)]:{this[_0x2ec9d2(0xcd)](_0x4526c1[_0x2ec9d2(0x1bb)][_0x2ec9d2(0x2f2)][_0x2ec9d2(0x111)](_0x4638c5=>m['parseProtocolChangeset'](_0x4638c5)));break;}case m['CollaborationEvent'][_0x2ec9d2(0x35e)]:{this[_0x2ec9d2(0x2fe)]({'isPermissionRej':!0x0});break;}case m['CollaborationEvent'][_0x2ec9d2(0x17b)]:break;}}catch(_0x17a53e){throw console['error'](_0x2ec9d2(0x182),_0x17a53e),_0x17a53e;}})),this[_0x492826(0x3a4)];}[_0x38d2b1(0x329)](){var _0x5354c2=_0x38d2b1;this[_0x5354c2(0x32f)]=!0x1;}['_lockTransition'](){var _0x2f937b=_0x38d2b1;if(this['_transitionLocked'])throw new Error(_0x2f937b(0x3a2));this[_0x2f937b(0x32f)]=!0x0;}[_0x38d2b1(0x154)](_0x3e826e){var _0x1fe7f2=_0x38d2b1;this['_lockTransition'](),this[_0x1fe7f2(0x2ea)](this[_0x1fe7f2(0x3a4)][_0x1fe7f2(0x2f5)](_0x3e826e)),this['_unlockTransition']();}[_0x38d2b1(0x283)](_0x54191a){var _0x30ee66=_0x38d2b1;if(!(_0x54191a[_0x30ee66(0x279)]<=this[_0x30ee66(0x28d)][_0x30ee66(0x21b)](this['unitID']))){if(this[_0x30ee66(0x316)]){this['_remoteChangesetQueue'][_0x30ee66(0x3cb)](_0x54191a);return;}this['_applyRemoteChangeset'](_0x54191a);}}[_0x38d2b1(0xd2)](){var _0x27187c=_0x38d2b1;this[_0x27187c(0x305)][_0x27187c(0x246)](_0x42a19b=>this[_0x27187c(0x1ea)](_0x42a19b)),this['_remoteChangesetQueue']=[];}[_0x38d2b1(0x1ea)](_0x45227b){var _0x2bacbd=_0x38d2b1;const _0x5a053b=this[_0x2bacbd(0x3c1)][_0x2bacbd(0x24d)][_0x2bacbd(0x180)](this[_0x2bacbd(0x3c1)][_0x2bacbd(0x24d)][_0x2bacbd(0x3fb)]()[_0x2bacbd(0x2fd)])(_0x45227b[_0x2bacbd(0x2b1)],null)||_0x45227b[_0x2bacbd(0x2b1)],_0x4e67e3={..._0x45227b,'mutations':_0x5a053b};this['_lockTransition'](),this['_updateState'](this[_0x2bacbd(0x3a4)]['onRemoteChangeset'](_0x4e67e3)),this[_0x2bacbd(0x329)]();}[_0x38d2b1(0x170)](_0x1167d9){var _0x8cf80e=_0x38d2b1;this['_lockTransition'](),this[_0x8cf80e(0x2ea)](this['_state'][_0x8cf80e(0x27f)](_0x1167d9)),this[_0x8cf80e(0x329)]();}[_0x38d2b1(0x2fe)](_0x3bf090){var _0xd0968b=_0x38d2b1;this[_0xd0968b(0xff)](),this[_0xd0968b(0x2ea)](this[_0xd0968b(0x3a4)][_0xd0968b(0x108)](_0x3bf090)),this['_unlockTransition']();}[_0x38d2b1(0x314)](_0x56ea26){var _0x184f15=_0x38d2b1;this[_0x184f15(0xff)](),this['_updateState'](this[_0x184f15(0x3a4)]['onRemoteRetry'](_0x56ea26)),this[_0x184f15(0x329)]();}[_0x38d2b1(0xcd)](_0x4a7981){var _0x46fc7c=_0x38d2b1;if(!(this['_state']instanceof exports[_0x46fc7c(0x2e5)]))throw new TypeError(_0x46fc7c(0x167));const _0x3d28e9=_0x4a7981[_0x46fc7c(0x111)](_0x1c31f1=>{var _0x285bc2=_0x46fc7c;const _0x41bb08=this[_0x285bc2(0x3c1)][_0x285bc2(0x24d)][_0x285bc2(0x180)](this[_0x285bc2(0x3c1)]['interceptor'][_0x285bc2(0x3fb)]()['COMPRESS_MUTATION_APPLY'])(_0x1c31f1['mutations'],null)||_0x1c31f1[_0x285bc2(0x2b1)];return{..._0x1c31f1,'mutations':_0x41bb08};});this[_0x46fc7c(0xff)](),this[_0x46fc7c(0x2ea)](this[_0x46fc7c(0x3a4)]['onMissedChangesetFetched'](_0x3d28e9)),this['_unlockTransition']();}[_0x38d2b1(0x201)](){var _0x1b56f2=_0x38d2b1;this[_0x1b56f2(0xff)](),this[_0x1b56f2(0x2ea)](this['_state']['toggleOffline']()),this['_unlockTransition']();}[_0x38d2b1(0x1f6)](_0x523c53=!0x1){var _0x30525a=_0x38d2b1;this[_0x30525a(0xff)](),this[_0x30525a(0x2ea)](this[_0x30525a(0x3a4)][_0x30525a(0xdf)]()),this['_unlockTransition']();const _0x146ca5=this['_state'];_0x523c53&&_0x146ca5 instanceof exports[_0x30525a(0x327)]&&(this[_0x30525a(0xff)](),this[_0x30525a(0x2ea)](_0x146ca5['fetchMiss']()),this[_0x30525a(0x329)]());}async[_0x38d2b1(0x1c4)](){return new Promise(_0x5b056f=>{var _0x3da52f=_0x3c1e;this[_0x3da52f(0x136)]['sessionStatus$'][_0x3da52f(0x2b9)](H[_0x3da52f(0x413)](0x1))['subscribe'](async _0x19ddd7=>{var _0x1327e2=_0x3da52f;_0x5b056f(await this[_0x1327e2(0x40d)](_0x19ddd7===se['ONLINE']));});});}[_0x38d2b1(0x348)](){var _0xd676b4=_0x38d2b1;const _0x489132=this[_0xd676b4(0x27b)];return{'onStateChange':(_0xf5c85f,_0x139e8d)=>{var _0x4c4550=_0xd676b4;if(_0xf5c85f!==this['_state'])throw new Error(_0x4c4550(0x32e)+_0xf5c85f[_0x4c4550(0x2e3)]+_0x4c4550(0x14b)+_0x139e8d[_0x4c4550(0x2e3)]+'\x0aCurrent:\x20'+this['_state'][_0x4c4550(0x2e3)]);this[_0x4c4550(0x2ea)](_0x139e8d);},'onSendChangeset':_0x1a06dd=>{var _0x1b1bf9=_0xd676b4;_0x1a06dd[_0x1b1bf9(0x160)]||(_0x1a06dd[_0x1b1bf9(0x160)]=this[_0x1b1bf9(0x2bb)],_0x1a06dd[_0x1b1bf9(0x1a4)]=++this[_0x1b1bf9(0x323)]);const _0x589cbb={'eventID':m['CollaborationEvent'][_0x1b1bf9(0x3c3)],'data':{'unitID':_0x1a06dd[_0x1b1bf9(0x27b)],'unitType':this[_0x1b1bf9(0x1ad)],'changeset':_0x1a06dd,'memberID':this['session'][_0x1b1bf9(0x3e0)]()}};this[_0x1b1bf9(0x136)][_0x1b1bf9(0x2cb)](_0x589cbb,this['unitID']);},'onMissingChangesets':({from:_0x801d56,to:_0x481785})=>{var _0x21feea=_0xd676b4;this[_0x21feea(0x1e7)][_0x21feea(0x2a1)](_0x21feea(0x2de),'fetching\x20missing\x20changesets\x20from\x20'+_0x801d56+_0x21feea(0x13d)+_0x481785);const _0x12193a={'eventID':m[_0x21feea(0x12b)][_0x21feea(0x319)],'data':{'unitID':_0x489132,'unitType':this[_0x21feea(0x1ad)],'from':_0x801d56,'to':_0x481785}};this[_0x21feea(0x136)][_0x21feea(0x2cb)](_0x12193a,this[_0x21feea(0x27b)]);}};}async[_0x38d2b1(0x40d)](_0x229d6b){var _0x18be1f=_0x38d2b1,_0x1e887d,_0x12240e,_0xac7bba;const _0x38a356=await((_0x1e887d=this[_0x18be1f(0x209)])==null?void 0x0:_0x1e887d[_0x18be1f(0x263)](this[_0x18be1f(0x27b)])),_0x59f497=(_0x12240e=_0x38a356==null?void 0x0:_0x38a356['mutations'])!=null?_0x12240e:[],_0x49783f=(_0xac7bba=_0x38a356==null?void 0x0:_0x38a356['awaitingChangeset'])!=null?_0xac7bba:null,_0xc1b642=!!(_0x49783f!=null&&_0x49783f[_0x18be1f(0x160)])&&!!(_0x49783f!=null&&_0x49783f[_0x18be1f(0x1a4)]);this[_0x18be1f(0x2bb)]=_0xc1b642?_0x49783f['sid']:gi(),this['_changesetReqId']=_0xc1b642?_0x49783f[_0x18be1f(0x1a4)]:0x0;const _0x4dccc2=this[_0x18be1f(0x27b)];try{this[_0x18be1f(0x3a3)](_0x49783f,_0x59f497);}catch(_0x4e90bf){this[_0x18be1f(0x1e7)][_0x18be1f(0xdd)](_0x4e90bf);}const _0x173578=this['_createHandler']();if(_0x229d6b){const _0x4c919f=Ut(this[_0x18be1f(0x415)],_0x4dccc2,this[_0x18be1f(0x1ad)],_0x49783f,_0x59f497,_0x173578);return _0x4c919f instanceof exports['PendingState']?_0x4c919f[_0x18be1f(0x193)]():(_0x4c919f instanceof exports['AwaitingWithPendingState']||_0x4c919f instanceof exports[_0x18be1f(0x3ea)])&&_0x4c919f[_0x18be1f(0x1d4)](),_0x4c919f;}return this[_0x18be1f(0x415)]['createInstance'](exports[_0x18be1f(0x3ef)],_0x4dccc2,this[_0x18be1f(0x1ad)],_0x49783f,_0x59f497,_0x173578);}[_0x38d2b1(0x3a3)](_0x3f1a48,_0x316664){var _0x4e4983=_0x38d2b1,_0x4f9383,_0x365879;const _0x216255=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x4e4983(0x3c1)][_0x4e4983(0x24d)][_0x4e4983(0x3fb)]()[_0x4e4983(0x2fd)]);(_0x4f9383=_0x216255((_0x3f1a48==null?void 0x0:_0x3f1a48['mutations'])||[],null))==null||_0x4f9383[_0x4e4983(0x246)](_0x3383ee=>this[_0x4e4983(0x425)][_0x4e4983(0x433)](_0x3383ee['id'],_0x3383ee['params'])),(_0x365879=_0x216255(_0x316664||[],null))==null||_0x365879[_0x4e4983(0x246)](_0x360709=>this[_0x4e4983(0x425)]['executeCommand'](_0x360709['id'],_0x360709[_0x4e4983(0x2e8)]));}},exports['CollaborationEntity']=Ve([k(0x3,a[_0x38d2b1(0x258)](a[_0x38d2b1(0x299)])),k(0x4,a['Inject'](m[_0x38d2b1(0xcc)])),k(0x5,a[_0x38d2b1(0x258)](a[_0x38d2b1(0x3fd)])),k(0x6,a[_0x38d2b1(0x258)](m[_0x38d2b1(0x29d)])),k(0x7,a[_0x38d2b1(0x258)](te)),k(0x8,a[_0x38d2b1(0x395)]),k(0x9,a[_0x38d2b1(0x40c)]),k(0xa,a[_0x38d2b1(0x429)]),k(0xb,a[_0x38d2b1(0x11d)](ve)),k(0xc,a[_0x38d2b1(0x11d)](J))],exports['CollaborationEntity']),exports['DocCollaborationEntity']=class extends exports[_0x38d2b1(0x260)]{constructor(_0x92fcc2,_0x22d446,_0x4de67c,_0x608a01,_0x2b871d,_0x190226,_0x1e3aaf,_0x32c5ed,_0xb71c55,_0x21d9f8,_0xbcb4ab,_0x11293f,_0x54c5d3){var _0x564be7=_0x38d2b1;super(_0x92fcc2,_0x4de67c,_0x22d446,_0x608a01,_0x2b871d,_0x190226,_0x1e3aaf,_0x32c5ed,_0xb71c55,_0x21d9f8,_0xbcb4ab,_0x11293f,_0x54c5d3),D(this,_0x564be7(0x2f0),null),(this['unitID']=_0x92fcc2,this[_0x564be7(0x2e0)]=_0x22d446);}[_0x38d2b1(0x396)](_0x13860c){var _0x3df753=_0x38d2b1;this[_0x3df753(0x2f0)]=_0x13860c;}['dispose'](){var _0x217195=_0x38d2b1;this[_0x217195(0x2f0)]=null,super[_0x217195(0x1dc)]();}[_0x38d2b1(0x348)](){var _0x2e22cd=_0x38d2b1;const _0x4b88b9=super['_createHandler']();return _0x4b88b9[_0x2e22cd(0x1b1)]=_0x34674b=>{var _0x11424d=_0x2e22cd,_0xbfdfb7,_0x308bf6;return(_0x308bf6=(_0xbfdfb7=this[_0x11424d(0x2f0)])==null?void 0x0:_0xbfdfb7[_0x11424d(0x1b1)])==null?void 0x0:_0x308bf6[_0x11424d(0x37b)](_0xbfdfb7,_0x34674b);},_0x4b88b9[_0x2e22cd(0x388)]=_0x2f62d6=>{var _0x1aadd0=_0x2e22cd,_0x1677a1,_0x354d8d;return(_0x354d8d=(_0x1677a1=this[_0x1aadd0(0x2f0)])==null?void 0x0:_0x1677a1['onTransformState'])==null?void 0x0:_0x354d8d[_0x1aadd0(0x37b)](_0x1677a1,_0x2f62d6);},_0x4b88b9['onTransformSelections']=_0x2898c6=>{var _0x23993a=_0x2e22cd,_0xaa170e,_0x58c01d;return(_0x58c01d=(_0xaa170e=this[_0x23993a(0x2f0)])==null?void 0x0:_0xaa170e[_0x23993a(0x13e)])==null?void 0x0:_0x58c01d[_0x23993a(0x37b)](_0xaa170e,_0x2898c6);},_0x4b88b9['onSyncEditingCollabCursor']=_0x1c1099=>{var _0x107823=_0x2e22cd,_0x3d6231,_0x584257;return(_0x584257=(_0x3d6231=this[_0x107823(0x2f0)])==null?void 0x0:_0x3d6231['onSyncEditingCollabCursor'])==null?void 0x0:_0x584257[_0x107823(0x37b)](_0x3d6231,_0x1c1099);},_0x4b88b9[_0x2e22cd(0x33f)]=_0x41e704=>{var _0x4b9505=_0x2e22cd,_0x3d9295,_0x34f8df,_0x321123;if(!((_0x3d9295=this[_0x4b9505(0x2f0)])!=null&&_0x3d9295['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x321123=(_0x34f8df=this['_handlerCallback'])==null?void 0x0:_0x34f8df[_0x4b9505(0x33f)])==null?void 0x0:_0x321123['call'](_0x34f8df,_0x41e704);},_0x4b88b9[_0x2e22cd(0x1c2)]=_0x1044fd=>{var _0x386b32=_0x2e22cd,_0x2fb64c,_0x35eb82,_0x4381cb;if(!((_0x2fb64c=this[_0x386b32(0x2f0)])!=null&&_0x2fb64c[_0x386b32(0x1c2)]))throw new Error(_0x386b32(0x2ba));return(_0x4381cb=(_0x35eb82=this[_0x386b32(0x2f0)])==null?void 0x0:_0x35eb82[_0x386b32(0x1c2)])==null?void 0x0:_0x4381cb[_0x386b32(0x37b)](_0x35eb82,_0x1044fd);},_0x4b88b9;}async[_0x38d2b1(0x3db)](){var _0x5f5626=_0x38d2b1;const _0x416d55=await super[_0x5f5626(0x3db)]();return this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x5261d4,_0xc482e0)=>{var _0x48009e=_0x5f5626;if(_0x5261d4['type']!==a[_0x48009e(0x2c7)][_0x48009e(0x36e)]||_0xc482e0!=null&&_0xc482e0[_0x48009e(0x19d)]||_0xc482e0!=null&&_0xc482e0[_0x48009e(0x15a)]||_0x5261d4['id']===dt[_0x48009e(0x43d)]['id'])return;const _0x4fdeca=_0x5261d4[_0x48009e(0x2e8)];if((_0x4fdeca==null?void 0x0:_0x4fdeca[_0x48009e(0x3a6)])!==this[_0x48009e(0x27b)])return;const _0x46eb9a=_0x5261d4,_0x3cd2d9=this[_0x48009e(0x3c1)][_0x48009e(0x24d)][_0x48009e(0x180)](this[_0x48009e(0x3c1)][_0x48009e(0x24d)]['getInterceptPoints']()[_0x48009e(0x25a)])([_0x46eb9a],null)||[_0x46eb9a];this[_0x48009e(0x154)](_0x3cd2d9[0x0]);})),_0x416d55;}},exports['DocCollaborationEntity']=Ve([k(0x3,a[_0x38d2b1(0x258)](a[_0x38d2b1(0x299)])),k(0x4,a['Inject'](m[_0x38d2b1(0xcc)])),k(0x5,a['Inject'](a[_0x38d2b1(0x3fd)])),k(0x6,a[_0x38d2b1(0x258)](m[_0x38d2b1(0x29d)])),k(0x7,a['Inject'](te)),k(0x8,a[_0x38d2b1(0x395)]),k(0x9,a[_0x38d2b1(0x40c)]),k(0xa,a[_0x38d2b1(0x429)]),k(0xb,a[_0x38d2b1(0x11d)](ve)),k(0xc,a[_0x38d2b1(0x11d)](J))],exports['DocCollaborationEntity']),exports['SheetCollaborationEntity']=class extends exports[_0x38d2b1(0x260)]{constructor(_0x5ea284,_0x554725,_0x30193f,_0x14537e,_0x50c87f,_0xae664d,_0x19b6df,_0x4e271d,_0x269bc7,_0x23e223,_0x4f5e4a,_0x4d2119,_0x393e20,_0xc12c5f){var _0x38d769=_0x38d2b1;super(_0x5ea284,_0x30193f,_0x554725,_0x14537e,_0x50c87f,_0xae664d,_0x19b6df,_0x269bc7,_0x23e223,_0x4f5e4a,_0x4d2119,_0x393e20,_0xc12c5f),this[_0x38d769(0x27b)]=_0x5ea284,this[_0x38d769(0x2e0)]=_0x554725,this[_0x38d769(0x435)]=_0x4e271d;}[_0x38d2b1(0x348)](){var _0x43afd7=_0x38d2b1;const _0x451f4f=super['_createHandler']();return _0x451f4f[_0x43afd7(0x13e)]=_0xeb3852=>this['_sheetTransformSelectionsService']['transformSelections'](_0xeb3852),_0x451f4f;}async[_0x38d2b1(0x3db)](){var _0x160f63=_0x38d2b1;const _0x20627=await super[_0x160f63(0x3db)]();return this[_0x160f63(0x234)](this[_0x160f63(0x425)][_0x160f63(0x31b)]((_0x54de9c,_0x20f32f)=>{var _0x46796b=_0x160f63;if(_0x54de9c[_0x46796b(0x2e0)]!==a[_0x46796b(0x2c7)][_0x46796b(0x36e)]||_0x20f32f!=null&&_0x20f32f[_0x46796b(0x19d)]||_0x20f32f!=null&&_0x20f32f[_0x46796b(0x15a)])return;const _0x20978c=_0x54de9c[_0x46796b(0x2e8)];if((_0x20978c==null?void 0x0:_0x20978c[_0x46796b(0x3a6)])!==this[_0x46796b(0x27b)])return;const _0x41867d=_0x54de9c,_0x5b1315=this['_compressMutationService'][_0x46796b(0x24d)]['fetchThroughInterceptors'](this[_0x46796b(0x3c1)][_0x46796b(0x24d)][_0x46796b(0x3fb)]()['COMPRESS_MUTATION_SEND'])([_0x41867d],null)||[_0x41867d];this[_0x46796b(0x154)](_0x5b1315[0x0]);})),_0x20627;}},exports['SheetCollaborationEntity']=Ve([k(0x3,a[_0x38d2b1(0x258)](a[_0x38d2b1(0x299)])),k(0x4,a[_0x38d2b1(0x258)](m[_0x38d2b1(0xcc)])),k(0x5,a['Inject'](a['LocaleService'])),k(0x6,a[_0x38d2b1(0x258)](m[_0x38d2b1(0x29d)])),k(0x7,a['Inject'](exports['SheetTransformSelectionsService'])),k(0x8,a[_0x38d2b1(0x258)](te)),k(0x9,a[_0x38d2b1(0x395)]),k(0xa,a[_0x38d2b1(0x40c)]),k(0xb,a['IPermissionService']),k(0xc,a[_0x38d2b1(0x11d)](ve)),k(0xd,a[_0x38d2b1(0x11d)](J))],exports[_0x38d2b1(0x21a)]);var Di=Object[_0x38d2b1(0x1b3)],wi=Object['getOwnPropertyDescriptor'],Ai=(_0x3181bf,_0x5a9321,_0x27042e,_0x45efdd)=>{var _0x7d9a2c=_0x38d2b1;for(var _0x47b57=_0x45efdd>0x1?void 0x0:_0x45efdd?wi(_0x5a9321,_0x27042e):_0x5a9321,_0x13e5ae=_0x3181bf[_0x7d9a2c(0x1b7)]-0x1,_0x19f8ad;_0x13e5ae>=0x0;_0x13e5ae--)(_0x19f8ad=_0x3181bf[_0x13e5ae])&&(_0x47b57=(_0x45efdd?_0x19f8ad(_0x5a9321,_0x27042e,_0x47b57):_0x19f8ad(_0x47b57))||_0x47b57);return _0x45efdd&&_0x47b57&&Di(_0x5a9321,_0x27042e,_0x47b57),_0x47b57;},we=(_0x1900cd,_0x199472)=>(_0x231616,_0x5651fe)=>_0x199472(_0x231616,_0x5651fe,_0x1900cd);exports[_0x38d2b1(0x2b2)]=class extends a[_0x38d2b1(0x369)]{constructor(_0x3f25fa,_0x9d975d,_0x2da662){var _0x4f7553=_0x38d2b1;super(),D(this,_0x4f7553(0x321),new Map()),D(this,_0x4f7553(0x269),new H[(_0x4f7553(0x265))]()),D(this,_0x4f7553(0xca),this[_0x4f7553(0x269)]['asObservable']()),(this[_0x4f7553(0x415)]=_0x3f25fa,this[_0x4f7553(0x112)]=_0x9d975d,this[_0x4f7553(0xe3)]=_0x2da662,this['_init']());}[_0x38d2b1(0x1dc)](){var _0x221b69=_0x38d2b1;super['dispose'](),this['_entities'][_0x221b69(0x246)](_0x7ce0d0=>_0x7ce0d0['dispose']()),this[_0x221b69(0x321)][_0x221b69(0x184)]();}[_0x38d2b1(0x2d6)](_0x27d84f){var _0x118069=_0x38d2b1,_0x1a1b64;return(_0x1a1b64=this[_0x118069(0x321)][_0x118069(0x178)](_0x27d84f))!=null?_0x1a1b64:null;}[_0x38d2b1(0x1f1)](_0x1956c0){var _0x4601f6=_0x38d2b1;const _0x43cbd8=this[_0x4601f6(0x2d6)](_0x1956c0);return _0x43cbd8?H['of'](_0x43cbd8):this[_0x4601f6(0x269)]['pipe'](V[_0x4601f6(0x1f3)](_0xcb5e96=>_0xcb5e96[_0x4601f6(0x27b)]===_0x1956c0));}[_0x38d2b1(0x3b6)](_0x1b86b8){var _0x29f10c=_0x38d2b1;return H[_0x29f10c(0x176)](this[_0x29f10c(0x1f1)](_0x1b86b8)['pipe'](V[_0x29f10c(0x111)](()=>{})));}[_0x38d2b1(0x3db)](){var _0x39bf5a=_0x38d2b1;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x39bf5a(0x236)]['UNIVER_SHEET'])['pipe'](H[_0x39bf5a(0x2c0)](this[_0x39bf5a(0x191)]),V[_0x39bf5a(0x385)](0x10))[_0x39bf5a(0x28f)](async _0x8ad9f0=>{var _0x496dc1=_0x39bf5a;const _0x4efab5=_0x8ad9f0[_0x496dc1(0x2ab)](),_0x368109=await this[_0x496dc1(0x2ee)](_0x4efab5,Z[_0x496dc1(0x16e)]);this[_0x496dc1(0x321)][_0x496dc1(0x330)](_0x4efab5,_0x368109);}),this[_0x39bf5a(0xe3)][_0x39bf5a(0x30e)](a[_0x39bf5a(0x236)][_0x39bf5a(0x2b5)])[_0x39bf5a(0x2b9)](H['takeUntil'](this[_0x39bf5a(0x191)]),V[_0x39bf5a(0x385)](0x10))['pipe'](V[_0x39bf5a(0x1f3)](_0x53ca80=>!_0x53ca80[_0x39bf5a(0x2ab)]()[_0x39bf5a(0x2c2)]('__')))[_0x39bf5a(0x28f)](async _0x35a0d8=>{var _0x192a50=_0x39bf5a;const _0x4b1624=_0x35a0d8[_0x192a50(0x2ab)](),_0x3a3e60=await this[_0x192a50(0x2ee)](_0x4b1624,Z[_0x192a50(0x2b5)]);this[_0x192a50(0x321)][_0x192a50(0x330)](_0x4b1624,_0x3a3e60);}),H[_0x39bf5a(0x428)](this[_0x39bf5a(0xe3)][_0x39bf5a(0x220)](a['UniverInstanceType'][_0x39bf5a(0x16e)]),this[_0x39bf5a(0xe3)][_0x39bf5a(0x220)](a[_0x39bf5a(0x236)][_0x39bf5a(0x2b5)]))[_0x39bf5a(0x2b9)](H[_0x39bf5a(0x2c0)](this[_0x39bf5a(0x191)]))[_0x39bf5a(0x28f)](_0x27c38e=>{var _0x36e226=_0x39bf5a;const _0x1a1f23=_0x27c38e['getUnitId'](),_0x11da07=this[_0x36e226(0x321)][_0x36e226(0x178)](_0x1a1f23);_0x11da07&&(_0x11da07[_0x36e226(0x1dc)](),this[_0x36e226(0x321)][_0x36e226(0x1f5)](_0x1a1f23));});}async[_0x38d2b1(0x2ee)](_0x5987a8,_0x337338){var _0x1b2f38=_0x38d2b1;const _0x2d9a80=await this[_0x1b2f38(0x112)][_0x1b2f38(0x1ac)](_0x5987a8),_0x454796=this['_injector'][_0x1b2f38(0x205)](this['_getCtorByUniverType'](_0x337338),_0x5987a8,_0x337338,_0x2d9a80);return await _0x454796[_0x1b2f38(0xfa)](),this[_0x1b2f38(0x269)][_0x1b2f38(0x183)](_0x454796),_0x454796;}['_getCtorByUniverType'](_0x2511da){var _0x1c6388=_0x38d2b1;switch(_0x2511da){case Z[_0x1c6388(0x2b5)]:return exports[_0x1c6388(0x2aa)];case Z[_0x1c6388(0x16e)]:return exports[_0x1c6388(0x21a)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x2511da);}}},exports[_0x38d2b1(0x2b2)]=Ai([we(0x0,a[_0x38d2b1(0x258)](a[_0x38d2b1(0x299)])),we(0x1,a[_0x38d2b1(0x258)](exports[_0x38d2b1(0x3b4)])),we(0x2,a[_0x38d2b1(0x10f)])],exports[_0x38d2b1(0x2b2)]);var Li=Object[_0x38d2b1(0x1b3)],Mi=Object['getOwnPropertyDescriptor'],xi=(_0x4ab133,_0x264c2b,_0x527498,_0x291e7a)=>{for(var _0x2a7abf=_0x291e7a>0x1?void 0x0:_0x291e7a?Mi(_0x264c2b,_0x527498):_0x264c2b,_0x4e38d0=_0x4ab133['length']-0x1,_0x2eabc4;_0x4e38d0>=0x0;_0x4e38d0--)(_0x2eabc4=_0x4ab133[_0x4e38d0])&&(_0x2a7abf=(_0x291e7a?_0x2eabc4(_0x264c2b,_0x527498,_0x2a7abf):_0x2eabc4(_0x2a7abf))||_0x2a7abf);return _0x291e7a&&_0x2a7abf&&Li(_0x264c2b,_0x527498,_0x2a7abf),_0x2a7abf;},Xe=(_0x3481c2,_0x55faf6)=>(_0x5e0176,_0x508385)=>_0x55faf6(_0x5e0176,_0x508385,_0x3481c2);const ji=_0x38d2b1(0x3bc),$i=_0x38d2b1(0x151);let $e=class extends a['Disposable']{constructor(_0x31b487,_0x4524d0){var _0x504a65=_0x38d2b1;super(),this[_0x504a65(0xe3)]=_0x31b487,this[_0x504a65(0x15e)]=_0x4524d0,this['_init']();}[_0x38d2b1(0x3db)](){var _0x42c398=_0x38d2b1;this[_0x42c398(0x234)](this[_0x42c398(0xe3)][_0x42c398(0x2cd)][_0x42c398(0x28f)](()=>{var _0x5bfc05=_0x42c398,_0x4d447a;const _0x4441f5=this['_univerInstanceService'][_0x5bfc05(0x24f)]();let _0x52bd58=(_0x4d447a=this[_0x5bfc05(0x15e)][_0x5bfc05(0x3ff)](ji))!=null?_0x4d447a:$i;_0x4441f5 instanceof a[_0x5bfc05(0x174)]&&(_0x52bd58=_0x4441f5[_0x5bfc05(0x29f)]),document[_0x5bfc05(0xfb)]=_0x52bd58;}));}};$e=xi([Xe(0x0,a[_0x38d2b1(0x10f)]),Xe(0x1,a['IConfigService'])],$e);var Hi=Object['defineProperty'],ki=Object['getOwnPropertyDescriptor'],Bi=(_0x3ac72f,_0x1edc8c,_0x1c508f,_0x5808c7)=>{var _0x57a6d2=_0x38d2b1;for(var _0x970e24=_0x5808c7>0x1?void 0x0:_0x5808c7?ki(_0x1edc8c,_0x1c508f):_0x1edc8c,_0x41443b=_0x3ac72f[_0x57a6d2(0x1b7)]-0x1,_0x559d31;_0x41443b>=0x0;_0x41443b--)(_0x559d31=_0x3ac72f[_0x41443b])&&(_0x970e24=(_0x5808c7?_0x559d31(_0x1edc8c,_0x1c508f,_0x970e24):_0x559d31(_0x970e24))||_0x970e24);return _0x5808c7&&_0x970e24&&Hi(_0x1edc8c,_0x1c508f,_0x970e24),_0x970e24;},Ae=(_0x298813,_0x565165)=>(_0x39c93a,_0x3dd4ae)=>_0x565165(_0x39c93a,_0x3dd4ae,_0x298813);function _0x3c1e(_0x34b1bc,_0x15817a){var _0x56408b=_0x5640();return _0x3c1e=function(_0x3c1e0f,_0xf66377){_0x3c1e0f=_0x3c1e0f-0xb9;var _0x280420=_0x56408b[_0x3c1e0f];return _0x280420;},_0x3c1e(_0x34b1bc,_0x15817a);}let ye=class{constructor(_0x2f3626,_0x3d2211,_0x2a3af5){var _0x4a86d0=_0x38d2b1;this[_0x4a86d0(0x15e)]=_0x2f3626,this[_0x4a86d0(0x42b)]=_0x3d2211,this[_0x4a86d0(0x43c)]=_0x2a3af5,this[_0x4a86d0(0xfa)]();}[_0x38d2b1(0xfa)](){var _0x386983=_0x38d2b1;this[_0x386983(0x42b)][_0x386983(0x1ba)]({'priority':0x1,'interceptor':(_0x1c7eda,_0x48c155)=>_0x48c155(_0x1c7eda)[_0x386983(0x2b9)](H[_0x386983(0xed)](async _0x4e3f03=>{var _0x2eb9c0=_0x386983;const _0x3c383f=_0x4e3f03;if(_0x3c383f[_0x2eb9c0(0x2e3)]===0x191){if(typeof window>'u')throw new Error(_0x2eb9c0(0x1e6));if(window[_0x2eb9c0(0x222)](this['localeService']['t'](_0x2eb9c0(0x20a)))){const _0x337912=window[_0x2eb9c0(0x3ce)](window['location'][_0x2eb9c0(0x355)]);window[_0x2eb9c0(0x2cf)][_0x2eb9c0(0x355)]=this[_0x2eb9c0(0x2ca)]()+_0x2eb9c0(0x1c3)+_0x337912;}}return _0x3c383f;}))});}['_getLoginPath'](){var _0x17245d=_0x38d2b1,_0x443683,_0x3ba6a4;const _0x140f8d=this[_0x17245d(0x15e)]['getConfig'](Ct),_0x4c114c=this[_0x17245d(0x15e)][_0x17245d(0x3ff)](q);return(_0x3ba6a4=(_0x443683=_0x4c114c==null?void 0x0:_0x4c114c[_0x17245d(0x3c2)])!=null?_0x443683:_0x140f8d)!=null?_0x3ba6a4:zt;}};ye=Bi([Ae(0x0,a[_0x38d2b1(0x16b)]),Ae(0x1,a['Inject'](z[_0x38d2b1(0x187)])),Ae(0x2,a[_0x38d2b1(0x258)](a[_0x38d2b1(0x3fd)]))],ye);var Fi=Object['defineProperty'],Wi=Object[_0x38d2b1(0x3e2)],Vi=(_0x185ee9,_0x616e50,_0x6eb2b2,_0x19e74c)=>{var _0x228684=_0x38d2b1;for(var _0x5e630e=_0x19e74c>0x1?void 0x0:_0x19e74c?Wi(_0x616e50,_0x6eb2b2):_0x616e50,_0x2cad51=_0x185ee9[_0x228684(0x1b7)]-0x1,_0x33097b;_0x2cad51>=0x0;_0x2cad51--)(_0x33097b=_0x185ee9[_0x2cad51])&&(_0x5e630e=(_0x19e74c?_0x33097b(_0x616e50,_0x6eb2b2,_0x5e630e):_0x33097b(_0x5e630e))||_0x5e630e);return _0x19e74c&&_0x5e630e&&Fi(_0x616e50,_0x6eb2b2,_0x5e630e),_0x5e630e;},Ze=(_0x18d1e1,_0x3a3bc4)=>(_0x38df9f,_0x2a9038)=>_0x3a3bc4(_0x38df9f,_0x2a9038,_0x18d1e1);const Ge=_0x38d2b1(0x123),Gi=_0x38d2b1(0x350);exports[_0x38d2b1(0x113)]=class extends a[_0x38d2b1(0x211)]{constructor(_0x3dc3f8,_0x740d8b){var _0x4b9581=_0x38d2b1;super(),this[_0x4b9581(0x22c)]=_0x3dc3f8,this['_configService']=_0x740d8b,this[_0x4b9581(0xc8)]();}[_0x38d2b1(0xc8)](){var _0x231ad5=_0x38d2b1;const _0x2cca43=this;this['disposeWithMe'](this[_0x231ad5(0x22c)][_0x231ad5(0x1ba)]({'priority':0x3e7,'interceptor':z['MergeInterceptorFactory']({'isMatch'(_0x36fbdf){var _0x51ea03=_0x231ad5,_0x552e43;if(_0x36fbdf[_0x51ea03(0x1b4)]==='POST'&&((_0x552e43=_0x36fbdf['requestParams'])!=null&&_0x552e43[_0x51ea03(0x172)])){const {objectID:_0x4347f4,objectType:_0xa1d5ec}=_0x36fbdf[_0x51ea03(0x342)][_0x51ea03(0x172)]||{};if(!_0x4347f4||_0xa1d5ec===void 0x0)return!0x1;const _0x3b120f=_0x2cca43[_0x51ea03(0x3a8)]()+'/'+_0xa1d5ec+_0x51ea03(0x148)+_0x4347f4+_0x51ea03(0x312);if(_0x36fbdf['url']===_0x3b120f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2b9488){var _0x5b0342=_0x231ad5,_0x100222;return(_0x100222=_0x2b9488[_0x5b0342(0x342)])==null?void 0x0:_0x100222[_0x5b0342(0x172)];},'mergeParamsToRequest'(_0x563c71,_0x2d0427){var _0x50a6fe=_0x231ad5;const _0x29e953=_0x2cca43[_0x50a6fe(0x3a8)]()+_0x50a6fe(0xe9),_0x3f9898=_0x563c71[_0x50a6fe(0x10b)]((_0x59b627,_0x42e6ed)=>{var _0xdae087=_0x50a6fe;const {unitID:_0x1f6166,objectID:_0x3dba58,objectType:_0x45f879,actions:_0x93b856}=_0x42e6ed;return _0x59b627[_0x1f6166]||(_0x59b627[_0x1f6166]={}),_0x59b627[_0x1f6166][_0x3dba58]||(_0x59b627[_0x1f6166][_0x3dba58]={'objectID':_0x3dba58,'objectType':_0x45f879,'actions':[]}),_0x59b627[_0x1f6166][_0x3dba58][_0xdae087(0xd7)][_0xdae087(0x3cb)](..._0x93b856),_0x59b627;},{}),_0x45999a=[];for(const _0x3e8bf8 in _0x3f9898)for(const _0x2d355f in _0x3f9898[_0x3e8bf8]){const {actions:_0x189ca2,objectType:_0x184f96}=_0x3f9898[_0x3e8bf8][_0x2d355f],_0x4e67c5=[...new Set(_0x189ca2)];_0x45999a[_0x50a6fe(0x3cb)]({'unitID':_0x3e8bf8,'objectID':_0x2d355f,'objectType':_0x184f96,'actions':_0x4e67c5});}return new z[(_0x50a6fe(0x23a))]('POST',_0x29e953,{'headers':_0x2d0427['headers'],'withCredentials':_0x2d0427[_0x50a6fe(0x125)],'responseType':_0x2d0427[_0x50a6fe(0x351)],'body':{'requests':_0x45999a}});}},{'distributeResult'(_0x1d4d3b,_0x4439ae){var _0x4dec6e=_0x231ad5;const {objectActions:_0x198d14}=_0x1d4d3b;return _0x4439ae[_0x4dec6e(0x111)](_0x57c44c=>{var _0x1f7fd7=_0x4dec6e;const {unitID:_0x241e93,objectID:_0x481acf,actions:_0x1a20b0}=_0x57c44c,_0x425c03=_0x198d14[_0x1f7fd7(0x353)](_0x40781f=>_0x40781f['unitID']===_0x241e93&&_0x40781f[_0x1f7fd7(0x374)]===_0x481acf),_0x37b15=_0x1a20b0[_0x1f7fd7(0x111)](_0x2c776b=>_0x425c03==null?void 0x0:_0x425c03['actions']['find'](_0x360aa6=>_0x360aa6[_0x1f7fd7(0x34e)]===_0x2c776b))[_0x1f7fd7(0x1f3)](_0x5e636a=>!!_0x5e636a);return{'config':_0x57c44c,'result':{'actions':_0x37b15,'error':_0x1d4d3b['error']}};});}})}));}[_0x38d2b1(0x3a8)](){var _0x30201a=_0x38d2b1,_0x24ed45,_0x4b8f55;const _0x1120e0=this[_0x30201a(0x15e)]['getConfig'](Ge),_0x1c5b8a=this[_0x30201a(0x15e)][_0x30201a(0x3ff)](q);return(_0x4b8f55=(_0x24ed45=_0x1c5b8a==null?void 0x0:_0x1c5b8a[_0x30201a(0x2a3)])!=null?_0x24ed45:_0x1120e0)!=null?_0x4b8f55:Gi;}async[_0x38d2b1(0x20e)](_0x3fd604){var _0x1f3222=_0x38d2b1;const _0x4442ee=this[_0x1f3222(0x3a8)]()+'/'+_0x3fd604['objectType']+_0x1f3222(0x2e9);return(await this['_HTTPService'][_0x1f3222(0x29e)](_0x4442ee,{'body':_0x3fd604}))[_0x1f3222(0x172)][_0x1f3222(0x374)]||'';}async[_0x38d2b1(0x2a6)](_0x302713){var _0x3f7e04=_0x38d2b1;const _0x308bdd=this['_getAPIPrefixPath']()+_0x3f7e04(0x134);return(await this[_0x3f7e04(0x22c)][_0x3f7e04(0x29e)](_0x308bdd,{'body':_0x302713}))[_0x3f7e04(0x172)]['objects'];}async['update'](_0xb77fa){var _0x454c7d=_0x38d2b1;const _0x23df6f=this[_0x454c7d(0x3a8)]()+'/'+_0xb77fa[_0x454c7d(0x188)]+_0x454c7d(0x148)+_0xb77fa[_0x454c7d(0x374)];await this[_0x454c7d(0x22c)]['put'](_0x23df6f,{'body':_0xb77fa});}async[_0x38d2b1(0x40a)](_0x3cec65){var _0x12b678=_0x38d2b1;const _0x83d40e=this[_0x12b678(0x3a8)]()+'/'+_0x3cec65[_0x12b678(0x188)]+'/object/'+_0x3cec65['objectID']+_0x12b678(0x312);return(await this[_0x12b678(0x22c)][_0x12b678(0x29e)](_0x83d40e,{'body':_0x3cec65}))['body']['actions'];}async[_0x38d2b1(0x1dd)](_0xd870a5){var _0x2623f7=_0x38d2b1;const _0x22958c=this[_0x2623f7(0x3a8)]()+_0x2623f7(0xe9);return(await this[_0x2623f7(0x22c)][_0x2623f7(0x29e)](_0x22958c,{'body':{'requests':_0xd870a5}}))[_0x2623f7(0x172)]['objectActions'];}async['listRoles'](_0x524a11){var _0x984cfa=_0x38d2b1;const _0x255eaf=this['_getAPIPrefixPath']()+'/'+_0x524a11[_0x984cfa(0x188)]+_0x984cfa(0x227),_0x807185=await this[_0x984cfa(0x22c)][_0x984cfa(0x29e)](_0x255eaf,{'body':_0x524a11});return{'roles':_0x807185[_0x984cfa(0x172)]['roles'],'actions':_0x807185[_0x984cfa(0x172)][_0x984cfa(0xd7)]};}async[_0x38d2b1(0x162)](_0x2e5864){var _0x5248b7=_0x38d2b1;const _0x3e0dfa=this['_getAPIPrefixPath']()+_0x5248b7(0x2e2);await this['_HTTPService'][_0x5248b7(0x1f5)](_0x3e0dfa,{'params':{'collaboratorID':_0x2e5864[_0x5248b7(0x390)],'objectID':_0x2e5864[_0x5248b7(0x374)],'unitID':_0x2e5864['unitID']}});}async['updateCollaborator'](_0x20e33b){var _0x28b1dc=_0x38d2b1;const _0x550bf4=this[_0x28b1dc(0x3a8)]()+'/collaborator';await this[_0x28b1dc(0x22c)][_0x28b1dc(0x1fa)](_0x550bf4,{'body':_0x20e33b});}async[_0x38d2b1(0x2d4)](_0x9f6713){var _0x9784b2=_0x38d2b1;const _0x176ce6=this[_0x9784b2(0x3a8)]()+_0x9784b2(0x2e2);await this['_HTTPService'][_0x9784b2(0x29e)](_0x176ce6,{'body':_0x9f6713});}async['listCollaborators'](_0x238bf8){var _0x574f34=_0x38d2b1;const _0x3ea487=this[_0x574f34(0x3a8)]()+'/collaborator';return(await this[_0x574f34(0x22c)][_0x574f34(0x178)](_0x3ea487,{'params':{'objectID':_0x238bf8[_0x574f34(0x374)],'unitID':_0x238bf8[_0x574f34(0x27b)]}}))[_0x574f34(0x172)][_0x574f34(0xc7)];}async[_0x38d2b1(0x1b6)](_0x468022){var _0x333da9=_0x38d2b1;const _0x2af25e=this[_0x333da9(0x3a8)]()+_0x333da9(0x2e2);await this['_HTTPService'][_0x333da9(0x3ba)](_0x2af25e,{'body':_0x468022});}},exports['AuthzIoHttpService']=Vi([Ze(0x0,a[_0x38d2b1(0x258)](z[_0x38d2b1(0x187)])),Ze(0x1,a[_0x38d2b1(0x258)](a[_0x38d2b1(0x16b)]))],exports[_0x38d2b1(0x113)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x1fdeed){var _0x5e1a94=_0x38d2b1;return _0x1fdeed&&_0x1fdeed[_0x5e1a94(0x3ae)]&&Object[_0x5e1a94(0x2d3)][_0x5e1a94(0x370)]['call'](_0x1fdeed,_0x5e1a94(0x3b9))?_0x1fdeed['default']:_0x1fdeed;}var Se={'exports':{}};function Ki(_0xf876b7){var _0x1e0c31=_0x38d2b1;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0xf876b7+_0x1e0c31(0x253));}var pe={'exports':{}},Yi=pe['exports'],Qe;function ee(){var _0x5be056=_0x38d2b1;return Qe||(Qe=0x1,function(_0x2a3c15,_0xe38496){(function(_0x388d97,_0x501020){var _0x163f00=_0x3c1e;_0x2a3c15[_0x163f00(0x31f)]=_0x501020();}(Yi,function(){var _0x23f979=_0x23f979||function(_0x2f4d2a,_0x33c907){var _0x1bcd57=_0x3c1e,_0x48b59a;if(typeof window<'u'&&window[_0x1bcd57(0x2d9)]&&(_0x48b59a=window['crypto']),typeof self<'u'&&self[_0x1bcd57(0x2d9)]&&(_0x48b59a=self[_0x1bcd57(0x2d9)]),typeof globalThis<'u'&&globalThis[_0x1bcd57(0x2d9)]&&(_0x48b59a=globalThis['crypto']),!_0x48b59a&&typeof window<'u'&&window[_0x1bcd57(0x17c)]&&(_0x48b59a=window['msCrypto']),!_0x48b59a&&typeof Le<'u'&&Le[_0x1bcd57(0x2d9)]&&(_0x48b59a=Le[_0x1bcd57(0x2d9)]),!_0x48b59a&&typeof Ki==_0x1bcd57(0x41c))try{_0x48b59a=require(_0x1bcd57(0x2d9));}catch{}var _0x31df4d=function(){var _0x4ade63=_0x1bcd57;if(_0x48b59a){if(typeof _0x48b59a[_0x4ade63(0x1c8)]==_0x4ade63(0x41c))try{return _0x48b59a[_0x4ade63(0x1c8)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x48b59a[_0x4ade63(0x3af)]==_0x4ade63(0x41c))try{return _0x48b59a['randomBytes'](0x4)[_0x4ade63(0x2d8)]();}catch{}}throw new Error(_0x4ade63(0x199));},_0x73fb6c=Object[_0x1bcd57(0x20e)]||(function(){function _0x5a9aea(){}return function(_0x55b799){var _0x4dc2a3=_0x3c1e,_0x2e8c2f;return _0x5a9aea[_0x4dc2a3(0x2d3)]=_0x55b799,_0x2e8c2f=new _0x5a9aea(),_0x5a9aea[_0x4dc2a3(0x2d3)]=null,_0x2e8c2f;};}()),_0x2cddba={},_0x114f0d=_0x2cddba['lib']={},_0x3cd1ee=_0x114f0d[_0x1bcd57(0x14e)]=(function(){return{'extend':function(_0x4baa75){var _0xfc62f1=_0x3c1e,_0x6c5455=_0x73fb6c(this);return _0x4baa75&&_0x6c5455[_0xfc62f1(0xce)](_0x4baa75),(!_0x6c5455[_0xfc62f1(0x370)](_0xfc62f1(0xfa))||this['init']===_0x6c5455[_0xfc62f1(0xfa)])&&(_0x6c5455[_0xfc62f1(0xfa)]=function(){var _0x47a19c=_0xfc62f1;_0x6c5455[_0x47a19c(0x12c)][_0x47a19c(0xfa)]['apply'](this,arguments);}),_0x6c5455[_0xfc62f1(0xfa)][_0xfc62f1(0x2d3)]=_0x6c5455,_0x6c5455[_0xfc62f1(0x12c)]=this,_0x6c5455;},'create':function(){var _0x14f09c=_0x3c1e,_0xbc93a5=this[_0x14f09c(0x28e)]();return _0xbc93a5[_0x14f09c(0xfa)][_0x14f09c(0x1ef)](_0xbc93a5,arguments),_0xbc93a5;},'init':function(){},'mixIn':function(_0x389e31){var _0x14d5eb=_0x3c1e;for(var _0x55f6ce in _0x389e31)_0x389e31[_0x14d5eb(0x370)](_0x55f6ce)&&(this[_0x55f6ce]=_0x389e31[_0x55f6ce]);_0x389e31['hasOwnProperty'](_0x14d5eb(0x12f))&&(this[_0x14d5eb(0x12f)]=_0x389e31['toString']);},'clone':function(){var _0x4a5bd1=_0x3c1e;return this['init'][_0x4a5bd1(0x2d3)][_0x4a5bd1(0x28e)](this);}};}()),_0x5d189e=_0x114f0d[_0x1bcd57(0x401)]=_0x3cd1ee[_0x1bcd57(0x28e)]({'init':function(_0x20f65c,_0x1aac0f){var _0x386758=_0x1bcd57;_0x20f65c=this[_0x386758(0x296)]=_0x20f65c||[],_0x1aac0f!=_0x33c907?this[_0x386758(0x2eb)]=_0x1aac0f:this[_0x386758(0x2eb)]=_0x20f65c['length']*0x4;},'toString':function(_0x4511eb){var _0x55aaea=_0x1bcd57;return(_0x4511eb||_0x37d4c1)[_0x55aaea(0x235)](this);},'concat':function(_0x4ca863){var _0x366c1e=_0x1bcd57,_0x43a789=this[_0x366c1e(0x296)],_0x1d642f=_0x4ca863[_0x366c1e(0x296)],_0xa85235=this[_0x366c1e(0x2eb)],_0x3316cc=_0x4ca863['sigBytes'];if(this[_0x366c1e(0x27d)](),_0xa85235%0x4)for(var _0x4d7c3e=0x0;_0x4d7c3e<_0x3316cc;_0x4d7c3e++){var _0xca62ed=_0x1d642f[_0x4d7c3e>>>0x2]>>>0x18-_0x4d7c3e%0x4*0x8&0xff;_0x43a789[_0xa85235+_0x4d7c3e>>>0x2]|=_0xca62ed<<0x18-(_0xa85235+_0x4d7c3e)%0x4*0x8;}else{for(var _0x42ded6=0x0;_0x42ded6<_0x3316cc;_0x42ded6+=0x4)_0x43a789[_0xa85235+_0x42ded6>>>0x2]=_0x1d642f[_0x42ded6>>>0x2];}return this[_0x366c1e(0x2eb)]+=_0x3316cc,this;},'clamp':function(){var _0x3a43c4=_0x1bcd57,_0x225599=this[_0x3a43c4(0x296)],_0x50d47c=this[_0x3a43c4(0x2eb)];_0x225599[_0x50d47c>>>0x2]&=0xffffffff<<0x20-_0x50d47c%0x4*0x8,_0x225599['length']=_0x2f4d2a['ceil'](_0x50d47c/0x4);},'clone':function(){var _0x652620=_0x1bcd57,_0x44edfa=_0x3cd1ee[_0x652620(0x273)]['call'](this);return _0x44edfa[_0x652620(0x296)]=this[_0x652620(0x296)][_0x652620(0x259)](0x0),_0x44edfa;},'random':function(_0x2ad7c8){var _0x46236d=_0x1bcd57;for(var _0x4164d8=[],_0x19351c=0x0;_0x19351c<_0x2ad7c8;_0x19351c+=0x4)_0x4164d8[_0x46236d(0x3cb)](_0x31df4d());return new _0x5d189e[(_0x46236d(0xfa))](_0x4164d8,_0x2ad7c8);}}),_0x4d4a7b=_0x2cddba[_0x1bcd57(0x3ad)]={},_0x37d4c1=_0x4d4a7b[_0x1bcd57(0x225)]={'stringify':function(_0x52a04d){var _0x479ba5=_0x1bcd57;for(var _0x5a1979=_0x52a04d[_0x479ba5(0x296)],_0xa31314=_0x52a04d[_0x479ba5(0x2eb)],_0x3284c9=[],_0x1c74d7=0x0;_0x1c74d7<_0xa31314;_0x1c74d7++){var _0x1a8c53=_0x5a1979[_0x1c74d7>>>0x2]>>>0x18-_0x1c74d7%0x4*0x8&0xff;_0x3284c9[_0x479ba5(0x3cb)]((_0x1a8c53>>>0x4)['toString'](0x10)),_0x3284c9[_0x479ba5(0x3cb)]((_0x1a8c53&0xf)[_0x479ba5(0x12f)](0x10));}return _0x3284c9[_0x479ba5(0x2c3)]('');},'parse':function(_0x23cad0){var _0x5090e7=_0x1bcd57;for(var _0x5dda10=_0x23cad0[_0x5090e7(0x1b7)],_0x204fc5=[],_0x439195=0x0;_0x439195<_0x5dda10;_0x439195+=0x2)_0x204fc5[_0x439195>>>0x3]|=parseInt(_0x23cad0[_0x5090e7(0x2d5)](_0x439195,0x2),0x10)<<0x18-_0x439195%0x8*0x4;return new _0x5d189e[(_0x5090e7(0xfa))](_0x204fc5,_0x5dda10/0x2);}},_0x5b33ba=_0x4d4a7b[_0x1bcd57(0x19e)]={'stringify':function(_0x12bde1){var _0x5e8dc8=_0x1bcd57;for(var _0x40809a=_0x12bde1[_0x5e8dc8(0x296)],_0x3d5f26=_0x12bde1[_0x5e8dc8(0x2eb)],_0x5cd20e=[],_0x5434d=0x0;_0x5434d<_0x3d5f26;_0x5434d++){var _0x34986f=_0x40809a[_0x5434d>>>0x2]>>>0x18-_0x5434d%0x4*0x8&0xff;_0x5cd20e[_0x5e8dc8(0x3cb)](String[_0x5e8dc8(0x290)](_0x34986f));}return _0x5cd20e[_0x5e8dc8(0x2c3)]('');},'parse':function(_0xc2dde3){var _0x42910f=_0x1bcd57;for(var _0x4cf181=_0xc2dde3[_0x42910f(0x1b7)],_0x50832f=[],_0x49dab8=0x0;_0x49dab8<_0x4cf181;_0x49dab8++)_0x50832f[_0x49dab8>>>0x2]|=(_0xc2dde3[_0x42910f(0x280)](_0x49dab8)&0xff)<<0x18-_0x49dab8%0x4*0x8;return new _0x5d189e['init'](_0x50832f,_0x4cf181);}},_0x494310=_0x4d4a7b[_0x1bcd57(0x3b5)]={'stringify':function(_0x12cee3){var _0x40ebe1=_0x1bcd57;try{return decodeURIComponent(escape(_0x5b33ba[_0x40ebe1(0x235)](_0x12cee3)));}catch{throw new Error(_0x40ebe1(0x1b9));}},'parse':function(_0x145224){var _0x4da6bc=_0x1bcd57;return _0x5b33ba[_0x4da6bc(0x3d0)](unescape(encodeURIComponent(_0x145224)));}},_0x41e4e2=_0x114f0d['BufferedBlockAlgorithm']=_0x3cd1ee[_0x1bcd57(0x28e)]({'reset':function(){var _0x5796da=_0x1bcd57;this['_data']=new _0x5d189e[(_0x5796da(0xfa))](),this[_0x5796da(0x393)]=0x0;},'_append':function(_0x12f287){var _0x566b2e=_0x1bcd57;typeof _0x12f287==_0x566b2e(0x266)&&(_0x12f287=_0x494310[_0x566b2e(0x3d0)](_0x12f287)),this[_0x566b2e(0x256)][_0x566b2e(0x42c)](_0x12f287),this['_nDataBytes']+=_0x12f287[_0x566b2e(0x2eb)];},'_process':function(_0x1d63a4){var _0x2ad4d8=_0x1bcd57,_0xb730e3,_0xc5d2cb=this[_0x2ad4d8(0x256)],_0x2f3aa0=_0xc5d2cb[_0x2ad4d8(0x296)],_0x263eaa=_0xc5d2cb[_0x2ad4d8(0x2eb)],_0x492302=this['blockSize'],_0x3bce28=_0x492302*0x4,_0x15dfee=_0x263eaa/_0x3bce28;_0x1d63a4?_0x15dfee=_0x2f4d2a['ceil'](_0x15dfee):_0x15dfee=_0x2f4d2a['max']((_0x15dfee|0x0)-this[_0x2ad4d8(0x120)],0x0);var _0x3c7ee4=_0x15dfee*_0x492302,_0x51b416=_0x2f4d2a['min'](_0x3c7ee4*0x4,_0x263eaa);if(_0x3c7ee4){for(var _0x329418=0x0;_0x329418<_0x3c7ee4;_0x329418+=_0x492302)this[_0x2ad4d8(0x14a)](_0x2f3aa0,_0x329418);_0xb730e3=_0x2f3aa0[_0x2ad4d8(0x158)](0x0,_0x3c7ee4),_0xc5d2cb[_0x2ad4d8(0x2eb)]-=_0x51b416;}return new _0x5d189e[(_0x2ad4d8(0xfa))](_0xb730e3,_0x51b416);},'clone':function(){var _0xe1d078=_0x1bcd57,_0x12744c=_0x3cd1ee[_0xe1d078(0x273)][_0xe1d078(0x37b)](this);return _0x12744c[_0xe1d078(0x256)]=this[_0xe1d078(0x256)][_0xe1d078(0x273)](),_0x12744c;},'_minBufferSize':0x0});_0x114f0d[_0x1bcd57(0x2b3)]=_0x41e4e2[_0x1bcd57(0x28e)]({'cfg':_0x3cd1ee[_0x1bcd57(0x28e)](),'init':function(_0x3dd21b){var _0x2c39d1=_0x1bcd57;this[_0x2c39d1(0x1fc)]=this[_0x2c39d1(0x1fc)][_0x2c39d1(0x28e)](_0x3dd21b),this[_0x2c39d1(0x33c)]();},'reset':function(){var _0x570149=_0x1bcd57;_0x41e4e2[_0x570149(0x33c)][_0x570149(0x37b)](this),this[_0x570149(0x345)]();},'update':function(_0x4d8621){var _0x51090d=_0x1bcd57;return this[_0x51090d(0x3fa)](_0x4d8621),this[_0x51090d(0x301)](),this;},'finalize':function(_0x31bf4f){var _0x9ae3b3=_0x1bcd57;_0x31bf4f&&this[_0x9ae3b3(0x3fa)](_0x31bf4f);var _0x1b21b8=this[_0x9ae3b3(0x138)]();return _0x1b21b8;},'blockSize':0x10,'_createHelper':function(_0x31672c){return function(_0x5e817b,_0x71c10c){var _0xe4ac5b=_0x3c1e;return new _0x31672c[(_0xe4ac5b(0xfa))](_0x71c10c)[_0xe4ac5b(0x3eb)](_0x5e817b);};},'_createHmacHelper':function(_0x48b75b){return function(_0x477232,_0x49d5d6){var _0x7a0f3=_0x3c1e;return new _0x8aa0de[(_0x7a0f3(0x1bd))][(_0x7a0f3(0xfa))](_0x48b75b,_0x49d5d6)[_0x7a0f3(0x3eb)](_0x477232);};}});var _0x8aa0de=_0x2cddba[_0x1bcd57(0x419)]={};return _0x2cddba;}(Math);return _0x23f979;}));}(pe)),pe[_0x5be056(0x31f)];}var ge={'exports':{}},qi=ge[_0x38d2b1(0x31f)],et;function Dt(){var _0x3645fb=_0x38d2b1;return et||(et=0x1,function(_0x42be57,_0x502a6a){(function(_0x276664,_0x295aa9){var _0x3f326c=_0x3c1e;_0x42be57[_0x3f326c(0x31f)]=_0x295aa9(ee());}(qi,function(_0x46382f){var _0x425fc5=_0x3c1e;return(function(){var _0x17c42d=_0x3c1e,_0x365365=_0x46382f,_0x559b94=_0x365365[_0x17c42d(0x1c7)],_0x1a7e4b=_0x559b94[_0x17c42d(0x401)],_0x5cb41e=_0x365365[_0x17c42d(0x3ad)];_0x5cb41e[_0x17c42d(0x137)]={'stringify':function(_0x9e2205){var _0x53eae8=_0x17c42d,_0x5dff2c=_0x9e2205[_0x53eae8(0x296)],_0x4f528d=_0x9e2205[_0x53eae8(0x2eb)],_0x32dc2a=this[_0x53eae8(0x110)];_0x9e2205['clamp']();for(var _0x234f95=[],_0x133133=0x0;_0x133133<_0x4f528d;_0x133133+=0x3)for(var _0x1750b0=_0x5dff2c[_0x133133>>>0x2]>>>0x18-_0x133133%0x4*0x8&0xff,_0xb83085=_0x5dff2c[_0x133133+0x1>>>0x2]>>>0x18-(_0x133133+0x1)%0x4*0x8&0xff,_0x3f423b=_0x5dff2c[_0x133133+0x2>>>0x2]>>>0x18-(_0x133133+0x2)%0x4*0x8&0xff,_0x39de9e=_0x1750b0<<0x10|_0xb83085<<0x8|_0x3f423b,_0x25049e=0x0;_0x25049e<0x4&&_0x133133+_0x25049e*0.75<_0x4f528d;_0x25049e++)_0x234f95['push'](_0x32dc2a[_0x53eae8(0x3bb)](_0x39de9e>>>0x6*(0x3-_0x25049e)&0x3f));var _0x3c8ea7=_0x32dc2a[_0x53eae8(0x3bb)](0x40);if(_0x3c8ea7){for(;_0x234f95['length']%0x4;)_0x234f95[_0x53eae8(0x3cb)](_0x3c8ea7);}return _0x234f95[_0x53eae8(0x2c3)]('');},'parse':function(_0xac7003){var _0x117069=_0x17c42d,_0x9a6128=_0xac7003[_0x117069(0x1b7)],_0x3d1cd8=this[_0x117069(0x110)],_0x5d1c97=this[_0x117069(0x409)];if(!_0x5d1c97){_0x5d1c97=this[_0x117069(0x409)]=[];for(var _0x332d14=0x0;_0x332d14<_0x3d1cd8[_0x117069(0x1b7)];_0x332d14++)_0x5d1c97[_0x3d1cd8['charCodeAt'](_0x332d14)]=_0x332d14;}var _0x5ee860=_0x3d1cd8['charAt'](0x40);if(_0x5ee860){var _0x3174cb=_0xac7003[_0x117069(0x3d9)](_0x5ee860);_0x3174cb!==-0x1&&(_0x9a6128=_0x3174cb);}return _0x7924ef(_0xac7003,_0x9a6128,_0x5d1c97);},'_map':_0x17c42d(0x293)};function _0x7924ef(_0x286578,_0x80995b,_0x3da402){var _0x16a029=_0x17c42d;for(var _0x559256=[],_0x2c9091=0x0,_0x4ec1a8=0x0;_0x4ec1a8<_0x80995b;_0x4ec1a8++)if(_0x4ec1a8%0x4){var _0x119d9c=_0x3da402[_0x286578['charCodeAt'](_0x4ec1a8-0x1)]<<_0x4ec1a8%0x4*0x2,_0xcbbec4=_0x3da402[_0x286578[_0x16a029(0x280)](_0x4ec1a8)]>>>0x6-_0x4ec1a8%0x4*0x2,_0x1d455e=_0x119d9c|_0xcbbec4;_0x559256[_0x2c9091>>>0x2]|=_0x1d455e<<0x18-_0x2c9091%0x4*0x8,_0x2c9091++;}return _0x1a7e4b[_0x16a029(0x20e)](_0x559256,_0x2c9091);}}()),_0x46382f['enc'][_0x425fc5(0x137)];}));}(ge)),ge[_0x3645fb(0x31f)];}var me={'exports':{}},zi=me[_0x38d2b1(0x31f)],tt;function Ji(){return tt||(tt=0x1,function(_0xa941fa,_0x1322ba){(function(_0x3888f1,_0x50beaa){var _0x167fc9=_0x3c1e;_0xa941fa[_0x167fc9(0x31f)]=_0x50beaa(ee());}(zi,function(_0x91ec86){var _0x5e4ac7=_0x3c1e;return function(_0x1104d7){var _0x4abcbb=_0x3c1e,_0x1d982c=_0x91ec86,_0x3bf362=_0x1d982c[_0x4abcbb(0x1c7)],_0x495fb3=_0x3bf362[_0x4abcbb(0x401)],_0x4ab24a=_0x3bf362['Hasher'],_0x37acbe=_0x1d982c[_0x4abcbb(0x419)],_0x46a08f=[];(function(){var _0x56620f=_0x4abcbb;for(var _0x1c1ed1=0x0;_0x1c1ed1<0x40;_0x1c1ed1++)_0x46a08f[_0x1c1ed1]=_0x1104d7[_0x56620f(0x3f6)](_0x1104d7[_0x56620f(0x143)](_0x1c1ed1+0x1))*0x100000000|0x0;}());var _0x1aa1ef=_0x37acbe[_0x4abcbb(0x3f7)]=_0x4ab24a[_0x4abcbb(0x28e)]({'_doReset':function(){var _0xe80797=_0x4abcbb;this[_0xe80797(0x23f)]=new _0x495fb3[(_0xe80797(0xfa))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xb27160,_0x1aa1d9){var _0x1ac52b=_0x4abcbb;for(var _0x467a2f=0x0;_0x467a2f<0x10;_0x467a2f++){var _0x118765=_0x1aa1d9+_0x467a2f,_0x4059fc=_0xb27160[_0x118765];_0xb27160[_0x118765]=(_0x4059fc<<0x8|_0x4059fc>>>0x18)&0xff00ff|(_0x4059fc<<0x18|_0x4059fc>>>0x8)&0xff00ff00;}var _0x5557b5=this[_0x1ac52b(0x23f)][_0x1ac52b(0x296)],_0x552a5b=_0xb27160[_0x1aa1d9+0x0],_0xd107c0=_0xb27160[_0x1aa1d9+0x1],_0xb05096=_0xb27160[_0x1aa1d9+0x2],_0x281c0b=_0xb27160[_0x1aa1d9+0x3],_0x53e27c=_0xb27160[_0x1aa1d9+0x4],_0x3ffdb2=_0xb27160[_0x1aa1d9+0x5],_0x5af5dc=_0xb27160[_0x1aa1d9+0x6],_0x3c0241=_0xb27160[_0x1aa1d9+0x7],_0x29cf7c=_0xb27160[_0x1aa1d9+0x8],_0x51e12b=_0xb27160[_0x1aa1d9+0x9],_0x43ece3=_0xb27160[_0x1aa1d9+0xa],_0x3e569f=_0xb27160[_0x1aa1d9+0xb],_0xc9326=_0xb27160[_0x1aa1d9+0xc],_0x4ab1be=_0xb27160[_0x1aa1d9+0xd],_0x1ea75d=_0xb27160[_0x1aa1d9+0xe],_0x409156=_0xb27160[_0x1aa1d9+0xf],_0x5da0bc=_0x5557b5[0x0],_0x1c013d=_0x5557b5[0x1],_0x543c1a=_0x5557b5[0x2],_0xb77814=_0x5557b5[0x3];_0x5da0bc=_0x353711(_0x5da0bc,_0x1c013d,_0x543c1a,_0xb77814,_0x552a5b,0x7,_0x46a08f[0x0]),_0xb77814=_0x353711(_0xb77814,_0x5da0bc,_0x1c013d,_0x543c1a,_0xd107c0,0xc,_0x46a08f[0x1]),_0x543c1a=_0x353711(_0x543c1a,_0xb77814,_0x5da0bc,_0x1c013d,_0xb05096,0x11,_0x46a08f[0x2]),_0x1c013d=_0x353711(_0x1c013d,_0x543c1a,_0xb77814,_0x5da0bc,_0x281c0b,0x16,_0x46a08f[0x3]),_0x5da0bc=_0x353711(_0x5da0bc,_0x1c013d,_0x543c1a,_0xb77814,_0x53e27c,0x7,_0x46a08f[0x4]),_0xb77814=_0x353711(_0xb77814,_0x5da0bc,_0x1c013d,_0x543c1a,_0x3ffdb2,0xc,_0x46a08f[0x5]),_0x543c1a=_0x353711(_0x543c1a,_0xb77814,_0x5da0bc,_0x1c013d,_0x5af5dc,0x11,_0x46a08f[0x6]),_0x1c013d=_0x353711(_0x1c013d,_0x543c1a,_0xb77814,_0x5da0bc,_0x3c0241,0x16,_0x46a08f[0x7]),_0x5da0bc=_0x353711(_0x5da0bc,_0x1c013d,_0x543c1a,_0xb77814,_0x29cf7c,0x7,_0x46a08f[0x8]),_0xb77814=_0x353711(_0xb77814,_0x5da0bc,_0x1c013d,_0x543c1a,_0x51e12b,0xc,_0x46a08f[0x9]),_0x543c1a=_0x353711(_0x543c1a,_0xb77814,_0x5da0bc,_0x1c013d,_0x43ece3,0x11,_0x46a08f[0xa]),_0x1c013d=_0x353711(_0x1c013d,_0x543c1a,_0xb77814,_0x5da0bc,_0x3e569f,0x16,_0x46a08f[0xb]),_0x5da0bc=_0x353711(_0x5da0bc,_0x1c013d,_0x543c1a,_0xb77814,_0xc9326,0x7,_0x46a08f[0xc]),_0xb77814=_0x353711(_0xb77814,_0x5da0bc,_0x1c013d,_0x543c1a,_0x4ab1be,0xc,_0x46a08f[0xd]),_0x543c1a=_0x353711(_0x543c1a,_0xb77814,_0x5da0bc,_0x1c013d,_0x1ea75d,0x11,_0x46a08f[0xe]),_0x1c013d=_0x353711(_0x1c013d,_0x543c1a,_0xb77814,_0x5da0bc,_0x409156,0x16,_0x46a08f[0xf]),_0x5da0bc=_0xd4037b(_0x5da0bc,_0x1c013d,_0x543c1a,_0xb77814,_0xd107c0,0x5,_0x46a08f[0x10]),_0xb77814=_0xd4037b(_0xb77814,_0x5da0bc,_0x1c013d,_0x543c1a,_0x5af5dc,0x9,_0x46a08f[0x11]),_0x543c1a=_0xd4037b(_0x543c1a,_0xb77814,_0x5da0bc,_0x1c013d,_0x3e569f,0xe,_0x46a08f[0x12]),_0x1c013d=_0xd4037b(_0x1c013d,_0x543c1a,_0xb77814,_0x5da0bc,_0x552a5b,0x14,_0x46a08f[0x13]),_0x5da0bc=_0xd4037b(_0x5da0bc,_0x1c013d,_0x543c1a,_0xb77814,_0x3ffdb2,0x5,_0x46a08f[0x14]),_0xb77814=_0xd4037b(_0xb77814,_0x5da0bc,_0x1c013d,_0x543c1a,_0x43ece3,0x9,_0x46a08f[0x15]),_0x543c1a=_0xd4037b(_0x543c1a,_0xb77814,_0x5da0bc,_0x1c013d,_0x409156,0xe,_0x46a08f[0x16]),_0x1c013d=_0xd4037b(_0x1c013d,_0x543c1a,_0xb77814,_0x5da0bc,_0x53e27c,0x14,_0x46a08f[0x17]),_0x5da0bc=_0xd4037b(_0x5da0bc,_0x1c013d,_0x543c1a,_0xb77814,_0x51e12b,0x5,_0x46a08f[0x18]),_0xb77814=_0xd4037b(_0xb77814,_0x5da0bc,_0x1c013d,_0x543c1a,_0x1ea75d,0x9,_0x46a08f[0x19]),_0x543c1a=_0xd4037b(_0x543c1a,_0xb77814,_0x5da0bc,_0x1c013d,_0x281c0b,0xe,_0x46a08f[0x1a]),_0x1c013d=_0xd4037b(_0x1c013d,_0x543c1a,_0xb77814,_0x5da0bc,_0x29cf7c,0x14,_0x46a08f[0x1b]),_0x5da0bc=_0xd4037b(_0x5da0bc,_0x1c013d,_0x543c1a,_0xb77814,_0x4ab1be,0x5,_0x46a08f[0x1c]),_0xb77814=_0xd4037b(_0xb77814,_0x5da0bc,_0x1c013d,_0x543c1a,_0xb05096,0x9,_0x46a08f[0x1d]),_0x543c1a=_0xd4037b(_0x543c1a,_0xb77814,_0x5da0bc,_0x1c013d,_0x3c0241,0xe,_0x46a08f[0x1e]),_0x1c013d=_0xd4037b(_0x1c013d,_0x543c1a,_0xb77814,_0x5da0bc,_0xc9326,0x14,_0x46a08f[0x1f]),_0x5da0bc=_0x39a576(_0x5da0bc,_0x1c013d,_0x543c1a,_0xb77814,_0x3ffdb2,0x4,_0x46a08f[0x20]),_0xb77814=_0x39a576(_0xb77814,_0x5da0bc,_0x1c013d,_0x543c1a,_0x29cf7c,0xb,_0x46a08f[0x21]),_0x543c1a=_0x39a576(_0x543c1a,_0xb77814,_0x5da0bc,_0x1c013d,_0x3e569f,0x10,_0x46a08f[0x22]),_0x1c013d=_0x39a576(_0x1c013d,_0x543c1a,_0xb77814,_0x5da0bc,_0x1ea75d,0x17,_0x46a08f[0x23]),_0x5da0bc=_0x39a576(_0x5da0bc,_0x1c013d,_0x543c1a,_0xb77814,_0xd107c0,0x4,_0x46a08f[0x24]),_0xb77814=_0x39a576(_0xb77814,_0x5da0bc,_0x1c013d,_0x543c1a,_0x53e27c,0xb,_0x46a08f[0x25]),_0x543c1a=_0x39a576(_0x543c1a,_0xb77814,_0x5da0bc,_0x1c013d,_0x3c0241,0x10,_0x46a08f[0x26]),_0x1c013d=_0x39a576(_0x1c013d,_0x543c1a,_0xb77814,_0x5da0bc,_0x43ece3,0x17,_0x46a08f[0x27]),_0x5da0bc=_0x39a576(_0x5da0bc,_0x1c013d,_0x543c1a,_0xb77814,_0x4ab1be,0x4,_0x46a08f[0x28]),_0xb77814=_0x39a576(_0xb77814,_0x5da0bc,_0x1c013d,_0x543c1a,_0x552a5b,0xb,_0x46a08f[0x29]),_0x543c1a=_0x39a576(_0x543c1a,_0xb77814,_0x5da0bc,_0x1c013d,_0x281c0b,0x10,_0x46a08f[0x2a]),_0x1c013d=_0x39a576(_0x1c013d,_0x543c1a,_0xb77814,_0x5da0bc,_0x5af5dc,0x17,_0x46a08f[0x2b]),_0x5da0bc=_0x39a576(_0x5da0bc,_0x1c013d,_0x543c1a,_0xb77814,_0x51e12b,0x4,_0x46a08f[0x2c]),_0xb77814=_0x39a576(_0xb77814,_0x5da0bc,_0x1c013d,_0x543c1a,_0xc9326,0xb,_0x46a08f[0x2d]),_0x543c1a=_0x39a576(_0x543c1a,_0xb77814,_0x5da0bc,_0x1c013d,_0x409156,0x10,_0x46a08f[0x2e]),_0x1c013d=_0x39a576(_0x1c013d,_0x543c1a,_0xb77814,_0x5da0bc,_0xb05096,0x17,_0x46a08f[0x2f]),_0x5da0bc=_0x171e6e(_0x5da0bc,_0x1c013d,_0x543c1a,_0xb77814,_0x552a5b,0x6,_0x46a08f[0x30]),_0xb77814=_0x171e6e(_0xb77814,_0x5da0bc,_0x1c013d,_0x543c1a,_0x3c0241,0xa,_0x46a08f[0x31]),_0x543c1a=_0x171e6e(_0x543c1a,_0xb77814,_0x5da0bc,_0x1c013d,_0x1ea75d,0xf,_0x46a08f[0x32]),_0x1c013d=_0x171e6e(_0x1c013d,_0x543c1a,_0xb77814,_0x5da0bc,_0x3ffdb2,0x15,_0x46a08f[0x33]),_0x5da0bc=_0x171e6e(_0x5da0bc,_0x1c013d,_0x543c1a,_0xb77814,_0xc9326,0x6,_0x46a08f[0x34]),_0xb77814=_0x171e6e(_0xb77814,_0x5da0bc,_0x1c013d,_0x543c1a,_0x281c0b,0xa,_0x46a08f[0x35]),_0x543c1a=_0x171e6e(_0x543c1a,_0xb77814,_0x5da0bc,_0x1c013d,_0x43ece3,0xf,_0x46a08f[0x36]),_0x1c013d=_0x171e6e(_0x1c013d,_0x543c1a,_0xb77814,_0x5da0bc,_0xd107c0,0x15,_0x46a08f[0x37]),_0x5da0bc=_0x171e6e(_0x5da0bc,_0x1c013d,_0x543c1a,_0xb77814,_0x29cf7c,0x6,_0x46a08f[0x38]),_0xb77814=_0x171e6e(_0xb77814,_0x5da0bc,_0x1c013d,_0x543c1a,_0x409156,0xa,_0x46a08f[0x39]),_0x543c1a=_0x171e6e(_0x543c1a,_0xb77814,_0x5da0bc,_0x1c013d,_0x5af5dc,0xf,_0x46a08f[0x3a]),_0x1c013d=_0x171e6e(_0x1c013d,_0x543c1a,_0xb77814,_0x5da0bc,_0x4ab1be,0x15,_0x46a08f[0x3b]),_0x5da0bc=_0x171e6e(_0x5da0bc,_0x1c013d,_0x543c1a,_0xb77814,_0x53e27c,0x6,_0x46a08f[0x3c]),_0xb77814=_0x171e6e(_0xb77814,_0x5da0bc,_0x1c013d,_0x543c1a,_0x3e569f,0xa,_0x46a08f[0x3d]),_0x543c1a=_0x171e6e(_0x543c1a,_0xb77814,_0x5da0bc,_0x1c013d,_0xb05096,0xf,_0x46a08f[0x3e]),_0x1c013d=_0x171e6e(_0x1c013d,_0x543c1a,_0xb77814,_0x5da0bc,_0x51e12b,0x15,_0x46a08f[0x3f]),_0x5557b5[0x0]=_0x5557b5[0x0]+_0x5da0bc|0x0,_0x5557b5[0x1]=_0x5557b5[0x1]+_0x1c013d|0x0,_0x5557b5[0x2]=_0x5557b5[0x2]+_0x543c1a|0x0,_0x5557b5[0x3]=_0x5557b5[0x3]+_0xb77814|0x0;},'_doFinalize':function(){var _0x306b16=_0x4abcbb,_0xe21dc=this[_0x306b16(0x256)],_0xd1e169=_0xe21dc[_0x306b16(0x296)],_0x2134fc=this[_0x306b16(0x393)]*0x8,_0x2a87e0=_0xe21dc[_0x306b16(0x2eb)]*0x8;_0xd1e169[_0x2a87e0>>>0x5]|=0x80<<0x18-_0x2a87e0%0x20;var _0x2a21d2=_0x1104d7[_0x306b16(0x34b)](_0x2134fc/0x100000000),_0x4878cd=_0x2134fc;_0xd1e169[(_0x2a87e0+0x40>>>0x9<<0x4)+0xf]=(_0x2a21d2<<0x8|_0x2a21d2>>>0x18)&0xff00ff|(_0x2a21d2<<0x18|_0x2a21d2>>>0x8)&0xff00ff00,_0xd1e169[(_0x2a87e0+0x40>>>0x9<<0x4)+0xe]=(_0x4878cd<<0x8|_0x4878cd>>>0x18)&0xff00ff|(_0x4878cd<<0x18|_0x4878cd>>>0x8)&0xff00ff00,_0xe21dc[_0x306b16(0x2eb)]=(_0xd1e169[_0x306b16(0x1b7)]+0x1)*0x4,this[_0x306b16(0x301)]();for(var _0x5eb06e=this['_hash'],_0x3df5d4=_0x5eb06e['words'],_0x192736=0x0;_0x192736<0x4;_0x192736++){var _0x174502=_0x3df5d4[_0x192736];_0x3df5d4[_0x192736]=(_0x174502<<0x8|_0x174502>>>0x18)&0xff00ff|(_0x174502<<0x18|_0x174502>>>0x8)&0xff00ff00;}return _0x5eb06e;},'clone':function(){var _0x541895=_0x4abcbb,_0x4668a7=_0x4ab24a[_0x541895(0x273)][_0x541895(0x37b)](this);return _0x4668a7[_0x541895(0x23f)]=this[_0x541895(0x23f)][_0x541895(0x273)](),_0x4668a7;}});function _0x353711(_0x29692d,_0x12fbb3,_0xc02874,_0x5062c0,_0x5714b3,_0x89fdad,_0x4c45c3){var _0x57f4a8=_0x29692d+(_0x12fbb3&_0xc02874|~_0x12fbb3&_0x5062c0)+_0x5714b3+_0x4c45c3;return(_0x57f4a8<<_0x89fdad|_0x57f4a8>>>0x20-_0x89fdad)+_0x12fbb3;}function _0xd4037b(_0x476efb,_0x31c0e8,_0xcac040,_0xe6ea32,_0xc24eef,_0x145017,_0x3ba2c2){var _0x2265d7=_0x476efb+(_0x31c0e8&_0xe6ea32|_0xcac040&~_0xe6ea32)+_0xc24eef+_0x3ba2c2;return(_0x2265d7<<_0x145017|_0x2265d7>>>0x20-_0x145017)+_0x31c0e8;}function _0x39a576(_0x33c299,_0x5b4dab,_0xf7a8bc,_0x1c4224,_0x38a383,_0x40b579,_0x5642ff){var _0x1faa8d=_0x33c299+(_0x5b4dab^_0xf7a8bc^_0x1c4224)+_0x38a383+_0x5642ff;return(_0x1faa8d<<_0x40b579|_0x1faa8d>>>0x20-_0x40b579)+_0x5b4dab;}function _0x171e6e(_0x1af8b7,_0x2a2dd4,_0x4c2f89,_0x5079a0,_0x2cb413,_0x380a87,_0x1a239f){var _0x622c4b=_0x1af8b7+(_0x4c2f89^(_0x2a2dd4|~_0x5079a0))+_0x2cb413+_0x1a239f;return(_0x622c4b<<_0x380a87|_0x622c4b>>>0x20-_0x380a87)+_0x2a2dd4;}_0x1d982c[_0x4abcbb(0x3f7)]=_0x4ab24a['_createHelper'](_0x1aa1ef),_0x1d982c[_0x4abcbb(0x210)]=_0x4ab24a[_0x4abcbb(0xf4)](_0x1aa1ef);}(Math),_0x91ec86[_0x5e4ac7(0x3f7)];}));}(me)),me['exports'];}var Ie={'exports':{}},Ee={'exports':{}},Xi=Ee['exports'],it;function Zi(){var _0x5bf1de=_0x38d2b1;return it||(it=0x1,function(_0xdb0846,_0x4c4448){(function(_0x5296ef,_0x19f07d){var _0x5b44cd=_0x3c1e;_0xdb0846[_0x5b44cd(0x31f)]=_0x19f07d(ee());}(Xi,function(_0x48a5a7){var _0x1efd9b=_0x3c1e;return(function(){var _0x5beb37=_0x3c1e,_0x45b234=_0x48a5a7,_0xd1c71c=_0x45b234['lib'],_0x1dfcc4=_0xd1c71c['WordArray'],_0x12c4a4=_0xd1c71c[_0x5beb37(0x2b3)],_0x56228f=_0x45b234[_0x5beb37(0x419)],_0x1a95b9=[],_0x155e47=_0x56228f[_0x5beb37(0x2c8)]=_0x12c4a4['extend']({'_doReset':function(){var _0x4a42a2=_0x5beb37;this[_0x4a42a2(0x23f)]=new _0x1dfcc4[(_0x4a42a2(0xfa))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1834d5,_0x10f91f){var _0x4b904f=_0x5beb37;for(var _0x193988=this[_0x4b904f(0x23f)]['words'],_0x12f530=_0x193988[0x0],_0x4e28b7=_0x193988[0x1],_0x50534d=_0x193988[0x2],_0x3e50c6=_0x193988[0x3],_0x6ff4f7=_0x193988[0x4],_0x309ef9=0x0;_0x309ef9<0x50;_0x309ef9++){if(_0x309ef9<0x10)_0x1a95b9[_0x309ef9]=_0x1834d5[_0x10f91f+_0x309ef9]|0x0;else{var _0x546096=_0x1a95b9[_0x309ef9-0x3]^_0x1a95b9[_0x309ef9-0x8]^_0x1a95b9[_0x309ef9-0xe]^_0x1a95b9[_0x309ef9-0x10];_0x1a95b9[_0x309ef9]=_0x546096<<0x1|_0x546096>>>0x1f;}var _0xb02432=(_0x12f530<<0x5|_0x12f530>>>0x1b)+_0x6ff4f7+_0x1a95b9[_0x309ef9];_0x309ef9<0x14?_0xb02432+=(_0x4e28b7&_0x50534d|~_0x4e28b7&_0x3e50c6)+0x5a827999:_0x309ef9<0x28?_0xb02432+=(_0x4e28b7^_0x50534d^_0x3e50c6)+0x6ed9eba1:_0x309ef9<0x3c?_0xb02432+=(_0x4e28b7&_0x50534d|_0x4e28b7&_0x3e50c6|_0x50534d&_0x3e50c6)-0x70e44324:_0xb02432+=(_0x4e28b7^_0x50534d^_0x3e50c6)-0x359d3e2a,_0x6ff4f7=_0x3e50c6,_0x3e50c6=_0x50534d,_0x50534d=_0x4e28b7<<0x1e|_0x4e28b7>>>0x2,_0x4e28b7=_0x12f530,_0x12f530=_0xb02432;}_0x193988[0x0]=_0x193988[0x0]+_0x12f530|0x0,_0x193988[0x1]=_0x193988[0x1]+_0x4e28b7|0x0,_0x193988[0x2]=_0x193988[0x2]+_0x50534d|0x0,_0x193988[0x3]=_0x193988[0x3]+_0x3e50c6|0x0,_0x193988[0x4]=_0x193988[0x4]+_0x6ff4f7|0x0;},'_doFinalize':function(){var _0x561a34=_0x5beb37,_0x707b17=this[_0x561a34(0x256)],_0x2cc507=_0x707b17[_0x561a34(0x296)],_0x24bd7a=this[_0x561a34(0x393)]*0x8,_0x46959a=_0x707b17['sigBytes']*0x8;return _0x2cc507[_0x46959a>>>0x5]|=0x80<<0x18-_0x46959a%0x20,_0x2cc507[(_0x46959a+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x24bd7a/0x100000000),_0x2cc507[(_0x46959a+0x40>>>0x9<<0x4)+0xf]=_0x24bd7a,_0x707b17[_0x561a34(0x2eb)]=_0x2cc507['length']*0x4,this[_0x561a34(0x301)](),this['_hash'];},'clone':function(){var _0x5f3365=_0x5beb37,_0x5a0306=_0x12c4a4['clone'][_0x5f3365(0x37b)](this);return _0x5a0306[_0x5f3365(0x23f)]=this[_0x5f3365(0x23f)][_0x5f3365(0x273)](),_0x5a0306;}});_0x45b234[_0x5beb37(0x2c8)]=_0x12c4a4[_0x5beb37(0x17e)](_0x155e47),_0x45b234[_0x5beb37(0x161)]=_0x12c4a4['_createHmacHelper'](_0x155e47);}()),_0x48a5a7[_0x1efd9b(0x2c8)];}));}(Ee)),Ee[_0x5bf1de(0x31f)];}var Ce={'exports':{}},Qi=Ce[_0x38d2b1(0x31f)],nt;function en(){return nt||(nt=0x1,function(_0x41b512,_0x436e0f){(function(_0x478b9a,_0x7ece4b){var _0x5c0aa3=_0x3c1e;_0x41b512[_0x5c0aa3(0x31f)]=_0x7ece4b(ee());}(Qi,function(_0x4b7640){(function(){var _0x2500c3=_0x3c1e,_0x1acfb8=_0x4b7640,_0x48b268=_0x1acfb8[_0x2500c3(0x1c7)],_0x34053=_0x48b268[_0x2500c3(0x14e)],_0x31ac83=_0x1acfb8['enc'],_0xfa4236=_0x31ac83['Utf8'],_0x244e25=_0x1acfb8[_0x2500c3(0x419)];_0x244e25['HMAC']=_0x34053[_0x2500c3(0x28e)]({'init':function(_0x514e9c,_0x32304a){var _0x1a00f5=_0x2500c3;_0x514e9c=this['_hasher']=new _0x514e9c[(_0x1a00f5(0xfa))](),typeof _0x32304a==_0x1a00f5(0x266)&&(_0x32304a=_0xfa4236[_0x1a00f5(0x3d0)](_0x32304a));var _0x340bf9=_0x514e9c['blockSize'],_0x22036b=_0x340bf9*0x4;_0x32304a[_0x1a00f5(0x2eb)]>_0x22036b&&(_0x32304a=_0x514e9c[_0x1a00f5(0x3eb)](_0x32304a)),_0x32304a['clamp']();for(var _0x4655eb=this['_oKey']=_0x32304a[_0x1a00f5(0x273)](),_0xec5a59=this[_0x1a00f5(0x157)]=_0x32304a['clone'](),_0x3701ee=_0x4655eb[_0x1a00f5(0x296)],_0x7aeab3=_0xec5a59[_0x1a00f5(0x296)],_0x1cb6c5=0x0;_0x1cb6c5<_0x340bf9;_0x1cb6c5++)_0x3701ee[_0x1cb6c5]^=0x5c5c5c5c,_0x7aeab3[_0x1cb6c5]^=0x36363636;_0x4655eb[_0x1a00f5(0x2eb)]=_0xec5a59[_0x1a00f5(0x2eb)]=_0x22036b,this[_0x1a00f5(0x33c)]();},'reset':function(){var _0x178875=_0x2500c3,_0xd66bd0=this[_0x178875(0x2ae)];_0xd66bd0[_0x178875(0x33c)](),_0xd66bd0[_0x178875(0x2a2)](this['_iKey']);},'update':function(_0x47d8b3){var _0xc8b9ca=_0x2500c3;return this[_0xc8b9ca(0x2ae)][_0xc8b9ca(0x2a2)](_0x47d8b3),this;},'finalize':function(_0x1ac419){var _0x3ba704=_0x2500c3,_0x2f2045=this[_0x3ba704(0x2ae)],_0x1bf3a0=_0x2f2045[_0x3ba704(0x3eb)](_0x1ac419);_0x2f2045[_0x3ba704(0x33c)]();var _0x3330c6=_0x2f2045[_0x3ba704(0x3eb)](this[_0x3ba704(0x2ac)][_0x3ba704(0x273)]()[_0x3ba704(0x42c)](_0x1bf3a0));return _0x3330c6;}});}());}));}(Ce)),Ce['exports'];}var tn=Ie[_0x38d2b1(0x31f)],rt;function wt(){return rt||(rt=0x1,function(_0x5a3b83,_0x4cbef5){(function(_0x4389f2,_0x4ada1b,_0x515651){var _0x41e2a9=_0x3c1e;_0x5a3b83[_0x41e2a9(0x31f)]=_0x4ada1b(ee(),Zi(),en());}(tn,function(_0x56a0c4){var _0x3ba07e=_0x3c1e;return(function(){var _0x2452fb=_0x3c1e,_0x101eae=_0x56a0c4,_0x375e20=_0x101eae[_0x2452fb(0x1c7)],_0x3774ef=_0x375e20[_0x2452fb(0x14e)],_0x34b4be=_0x375e20[_0x2452fb(0x401)],_0x3bb4e7=_0x101eae['algo'],_0x5154cb=_0x3bb4e7[_0x2452fb(0x3f7)],_0x347b61=_0x3bb4e7['EvpKDF']=_0x3774ef['extend']({'cfg':_0x3774ef[_0x2452fb(0x28e)]({'keySize':0x80/0x20,'hasher':_0x5154cb,'iterations':0x1}),'init':function(_0x1cb880){var _0x23a87d=_0x2452fb;this[_0x23a87d(0x1fc)]=this['cfg']['extend'](_0x1cb880);},'compute':function(_0x58991a,_0x2651f7){var _0x173e8c=_0x2452fb;for(var _0x1b1913,_0x34287b=this[_0x173e8c(0x1fc)],_0x44f436=_0x34287b['hasher'][_0x173e8c(0x20e)](),_0x2780e1=_0x34b4be[_0x173e8c(0x20e)](),_0x76070=_0x2780e1['words'],_0x4d2ed4=_0x34287b[_0x173e8c(0x1d6)],_0x28a1c4=_0x34287b['iterations'];_0x76070[_0x173e8c(0x1b7)]<_0x4d2ed4;){_0x1b1913&&_0x44f436[_0x173e8c(0x2a2)](_0x1b1913),_0x1b1913=_0x44f436[_0x173e8c(0x2a2)](_0x58991a)['finalize'](_0x2651f7),_0x44f436[_0x173e8c(0x33c)]();for(var _0x5ee8fb=0x1;_0x5ee8fb<_0x28a1c4;_0x5ee8fb++)_0x1b1913=_0x44f436['finalize'](_0x1b1913),_0x44f436[_0x173e8c(0x33c)]();_0x2780e1[_0x173e8c(0x42c)](_0x1b1913);}return _0x2780e1['sigBytes']=_0x4d2ed4*0x4,_0x2780e1;}});_0x101eae[_0x2452fb(0x27e)]=function(_0x148647,_0x28e448,_0x301572){return _0x347b61['create'](_0x301572)['compute'](_0x148647,_0x28e448);};}()),_0x56a0c4[_0x3ba07e(0x27e)];}));}(Ie)),Ie['exports'];}var Te={'exports':{}},nn=Te[_0x38d2b1(0x31f)],st;function At(){var _0xd4f97f=_0x38d2b1;return st||(st=0x1,function(_0x2d93fa,_0x30ae94){(function(_0x2ec852,_0x42db8d,_0x560152){var _0x42d74d=_0x3c1e;_0x2d93fa[_0x42d74d(0x31f)]=_0x42db8d(ee(),wt());}(nn,function(_0x28ba52){var _0x387be7=_0x3c1e;_0x28ba52['lib'][_0x387be7(0x3f8)]||function(_0x3a1536){var _0x2005ac=_0x387be7,_0x12bc6e=_0x28ba52,_0x4c9de4=_0x12bc6e[_0x2005ac(0x1c7)],_0x46d05b=_0x4c9de4[_0x2005ac(0x14e)],_0x1ec596=_0x4c9de4[_0x2005ac(0x401)],_0x39f63c=_0x4c9de4[_0x2005ac(0x24b)],_0x1ee191=_0x12bc6e[_0x2005ac(0x3ad)];_0x1ee191[_0x2005ac(0x3b5)];var _0x5bec0c=_0x1ee191[_0x2005ac(0x137)],_0xd1da98=_0x12bc6e[_0x2005ac(0x419)],_0x3a7aba=_0xd1da98[_0x2005ac(0x27e)],_0x2404f3=_0x4c9de4['Cipher']=_0x39f63c[_0x2005ac(0x28e)]({'cfg':_0x46d05b[_0x2005ac(0x28e)](),'createEncryptor':function(_0x29268f,_0x2e0a04){var _0x2f737b=_0x2005ac;return this[_0x2f737b(0x20e)](this[_0x2f737b(0x3a0)],_0x29268f,_0x2e0a04);},'createDecryptor':function(_0x9a0f19,_0x14b0fd){var _0x13f1ec=_0x2005ac;return this[_0x13f1ec(0x20e)](this[_0x13f1ec(0x33d)],_0x9a0f19,_0x14b0fd);},'init':function(_0x1b045c,_0x5f110e,_0x59626b){var _0x256aba=_0x2005ac;this[_0x256aba(0x1fc)]=this[_0x256aba(0x1fc)]['extend'](_0x59626b),this[_0x256aba(0x25b)]=_0x1b045c,this[_0x256aba(0x1c6)]=_0x5f110e,this[_0x256aba(0x33c)]();},'reset':function(){var _0x4c8bd2=_0x2005ac;_0x39f63c[_0x4c8bd2(0x33c)]['call'](this),this[_0x4c8bd2(0x345)]();},'process':function(_0x399632){var _0x2df983=_0x2005ac;return this[_0x2df983(0x3fa)](_0x399632),this['_process']();},'finalize':function(_0x13151e){var _0x341c06=_0x2005ac;_0x13151e&&this[_0x341c06(0x3fa)](_0x13151e);var _0x34c2aa=this['_doFinalize']();return _0x34c2aa;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3beace(_0x459eb8){var _0x38cfa1=_0x3c1e;return typeof _0x459eb8==_0x38cfa1(0x266)?_0x38de9e:_0x1d580d;}return function(_0x4c1548){return{'encrypt':function(_0x41316,_0x5d83bf,_0x11af9b){var _0x15d08f=_0x3c1e;return _0x3beace(_0x5d83bf)[_0x15d08f(0x2fc)](_0x4c1548,_0x41316,_0x5d83bf,_0x11af9b);},'decrypt':function(_0xcfa045,_0x5470ab,_0x44cb35){var _0x100df8=_0x3c1e;return _0x3beace(_0x5470ab)[_0x100df8(0x377)](_0x4c1548,_0xcfa045,_0x5470ab,_0x44cb35);}};};}())});_0x4c9de4[_0x2005ac(0x1a8)]=_0x2404f3['extend']({'_doFinalize':function(){var _0x57771a=_0x2005ac,_0xa0f0bd=this[_0x57771a(0x301)](!0x0);return _0xa0f0bd;},'blockSize':0x1});var _0x46d7c0=_0x12bc6e[_0x2005ac(0x14d)]={},_0x313f48=_0x4c9de4[_0x2005ac(0x300)]=_0x46d05b[_0x2005ac(0x28e)]({'createEncryptor':function(_0x5452b3,_0x2638ad){var _0x1aafb0=_0x2005ac;return this[_0x1aafb0(0x3e4)][_0x1aafb0(0x20e)](_0x5452b3,_0x2638ad);},'createDecryptor':function(_0x608f03,_0x5d4030){var _0x4410e6=_0x2005ac;return this['Decryptor'][_0x4410e6(0x20e)](_0x608f03,_0x5d4030);},'init':function(_0x200097,_0x32fe1c){var _0x41af2d=_0x2005ac;this[_0x41af2d(0x1d2)]=_0x200097,this[_0x41af2d(0x181)]=_0x32fe1c;}}),_0x3eadf0=_0x46d7c0['CBC']=(function(){var _0x27cd64=_0x2005ac,_0x597606=_0x313f48[_0x27cd64(0x28e)]();_0x597606[_0x27cd64(0x3e4)]=_0x597606[_0x27cd64(0x28e)]({'processBlock':function(_0x15fcc,_0x4c691c){var _0x389ca7=_0x27cd64,_0x5a3a6e=this[_0x389ca7(0x1d2)],_0x5e0af5=_0x5a3a6e[_0x389ca7(0x307)];_0x4407ad[_0x389ca7(0x37b)](this,_0x15fcc,_0x4c691c,_0x5e0af5),_0x5a3a6e['encryptBlock'](_0x15fcc,_0x4c691c),this[_0x389ca7(0x3f0)]=_0x15fcc[_0x389ca7(0x259)](_0x4c691c,_0x4c691c+_0x5e0af5);}}),_0x597606['Decryptor']=_0x597606[_0x27cd64(0x28e)]({'processBlock':function(_0x149ecb,_0x2104ad){var _0x377010=_0x27cd64,_0x9668e0=this[_0x377010(0x1d2)],_0x479e76=_0x9668e0[_0x377010(0x307)],_0x4efede=_0x149ecb[_0x377010(0x259)](_0x2104ad,_0x2104ad+_0x479e76);_0x9668e0['decryptBlock'](_0x149ecb,_0x2104ad),_0x4407ad[_0x377010(0x37b)](this,_0x149ecb,_0x2104ad,_0x479e76),this[_0x377010(0x3f0)]=_0x4efede;}});function _0x4407ad(_0x4346c9,_0x214784,_0x6910e2){var _0x5b0974=_0x27cd64,_0x1881f1,_0x37b980=this[_0x5b0974(0x181)];_0x37b980?(_0x1881f1=_0x37b980,this[_0x5b0974(0x181)]=_0x3a1536):_0x1881f1=this[_0x5b0974(0x3f0)];for(var _0x9d741a=0x0;_0x9d741a<_0x6910e2;_0x9d741a++)_0x4346c9[_0x214784+_0x9d741a]^=_0x1881f1[_0x9d741a];}return _0x597606;}()),_0x2f3d23=_0x12bc6e[_0x2005ac(0x12d)]={},_0x45d4bf=_0x2f3d23[_0x2005ac(0x285)]={'pad':function(_0x1ad53d,_0x38dcfd){var _0x2de86b=_0x2005ac;for(var _0x770fb6=_0x38dcfd*0x4,_0x271f89=_0x770fb6-_0x1ad53d[_0x2de86b(0x2eb)]%_0x770fb6,_0x1e078e=_0x271f89<<0x18|_0x271f89<<0x10|_0x271f89<<0x8|_0x271f89,_0x3f634f=[],_0x2d06c1=0x0;_0x2d06c1<_0x271f89;_0x2d06c1+=0x4)_0x3f634f[_0x2de86b(0x3cb)](_0x1e078e);var _0x2d9444=_0x1ec596['create'](_0x3f634f,_0x271f89);_0x1ad53d[_0x2de86b(0x42c)](_0x2d9444);},'unpad':function(_0x546bfd){var _0xdfb974=_0x2005ac,_0x1c8a00=_0x546bfd[_0xdfb974(0x296)][_0x546bfd[_0xdfb974(0x2eb)]-0x1>>>0x2]&0xff;_0x546bfd['sigBytes']-=_0x1c8a00;}};_0x4c9de4[_0x2005ac(0x28c)]=_0x2404f3['extend']({'cfg':_0x2404f3['cfg']['extend']({'mode':_0x3eadf0,'padding':_0x45d4bf}),'reset':function(){var _0x22a78d=_0x2005ac,_0x26c12d;_0x2404f3[_0x22a78d(0x33c)]['call'](this);var _0x41865f=this[_0x22a78d(0x1fc)],_0x1fb11b=_0x41865f['iv'],_0x4abad3=_0x41865f[_0x22a78d(0x14d)];this[_0x22a78d(0x25b)]==this[_0x22a78d(0x3a0)]?_0x26c12d=_0x4abad3['createEncryptor']:(_0x26c12d=_0x4abad3['createDecryptor'],this['_minBufferSize']=0x1),this['_mode']&&this[_0x22a78d(0x132)][_0x22a78d(0x41b)]==_0x26c12d?this['_mode']['init'](this,_0x1fb11b&&_0x1fb11b[_0x22a78d(0x296)]):(this[_0x22a78d(0x132)]=_0x26c12d['call'](_0x4abad3,this,_0x1fb11b&&_0x1fb11b[_0x22a78d(0x296)]),this[_0x22a78d(0x132)][_0x22a78d(0x41b)]=_0x26c12d);},'_doProcessBlock':function(_0x59621d,_0x18b345){var _0x2c7506=_0x2005ac;this[_0x2c7506(0x132)]['processBlock'](_0x59621d,_0x18b345);},'_doFinalize':function(){var _0x37f31c=_0x2005ac,_0x18dfe7,_0x3e0d4b=this[_0x37f31c(0x1fc)][_0x37f31c(0x2f1)];return this[_0x37f31c(0x25b)]==this[_0x37f31c(0x3a0)]?(_0x3e0d4b[_0x37f31c(0x12d)](this[_0x37f31c(0x256)],this[_0x37f31c(0x307)]),_0x18dfe7=this['_process'](!0x0)):(_0x18dfe7=this[_0x37f31c(0x301)](!0x0),_0x3e0d4b[_0x37f31c(0xec)](_0x18dfe7)),_0x18dfe7;},'blockSize':0x80/0x20});var _0x3ed4ce=_0x4c9de4[_0x2005ac(0x13f)]=_0x46d05b[_0x2005ac(0x28e)]({'init':function(_0xea26d8){this['mixIn'](_0xea26d8);},'toString':function(_0x2f9370){var _0x3dd7d1=_0x2005ac;return(_0x2f9370||this[_0x3dd7d1(0x337)])[_0x3dd7d1(0x235)](this);}}),_0xf5c70d=_0x12bc6e[_0x2005ac(0x3b8)]={},_0x464bae=_0xf5c70d[_0x2005ac(0x15c)]={'stringify':function(_0x50d2cd){var _0x33bc66=_0x2005ac,_0x12e104,_0x4ce100=_0x50d2cd['ciphertext'],_0xf087fe=_0x50d2cd[_0x33bc66(0x3bf)];return _0xf087fe?_0x12e104=_0x1ec596['create']([0x53616c74,0x65645f5f])[_0x33bc66(0x42c)](_0xf087fe)[_0x33bc66(0x42c)](_0x4ce100):_0x12e104=_0x4ce100,_0x12e104[_0x33bc66(0x12f)](_0x5bec0c);},'parse':function(_0x34a67e){var _0x1531a8=_0x2005ac,_0x24951b,_0x13a96c=_0x5bec0c['parse'](_0x34a67e),_0x4027f6=_0x13a96c[_0x1531a8(0x296)];return _0x4027f6[0x0]==0x53616c74&&_0x4027f6[0x1]==0x65645f5f&&(_0x24951b=_0x1ec596[_0x1531a8(0x20e)](_0x4027f6[_0x1531a8(0x259)](0x2,0x4)),_0x4027f6['splice'](0x0,0x4),_0x13a96c[_0x1531a8(0x2eb)]-=0x10),_0x3ed4ce[_0x1531a8(0x20e)]({'ciphertext':_0x13a96c,'salt':_0x24951b});}},_0x1d580d=_0x4c9de4[_0x2005ac(0x343)]=_0x46d05b[_0x2005ac(0x28e)]({'cfg':_0x46d05b['extend']({'format':_0x464bae}),'encrypt':function(_0x3c79e0,_0x3cea4d,_0x259996,_0x485a5e){var _0xd6ef9=_0x2005ac;_0x485a5e=this['cfg'][_0xd6ef9(0x28e)](_0x485a5e);var _0x28044a=_0x3c79e0['createEncryptor'](_0x259996,_0x485a5e),_0x5a7a46=_0x28044a['finalize'](_0x3cea4d),_0x14f0b9=_0x28044a['cfg'];return _0x3ed4ce[_0xd6ef9(0x20e)]({'ciphertext':_0x5a7a46,'key':_0x259996,'iv':_0x14f0b9['iv'],'algorithm':_0x3c79e0,'mode':_0x14f0b9[_0xd6ef9(0x14d)],'padding':_0x14f0b9[_0xd6ef9(0x2f1)],'blockSize':_0x3c79e0['blockSize'],'formatter':_0x485a5e[_0xd6ef9(0x3b8)]});},'decrypt':function(_0x11a2e4,_0x2b6e7a,_0xe2d66c,_0x43ac05){var _0x2e5096=_0x2005ac;_0x43ac05=this[_0x2e5096(0x1fc)][_0x2e5096(0x28e)](_0x43ac05),_0x2b6e7a=this[_0x2e5096(0x386)](_0x2b6e7a,_0x43ac05[_0x2e5096(0x3b8)]);var _0x35c9fc=_0x11a2e4[_0x2e5096(0x242)](_0xe2d66c,_0x43ac05)['finalize'](_0x2b6e7a[_0x2e5096(0x1aa)]);return _0x35c9fc;},'_parse':function(_0xdf8f84,_0x1e37cf){var _0x5d5a09=_0x2005ac;return typeof _0xdf8f84==_0x5d5a09(0x266)?_0x1e37cf[_0x5d5a09(0x3d0)](_0xdf8f84,this):_0xdf8f84;}}),_0x39df2b=_0x12bc6e['kdf']={},_0x3d0988=_0x39df2b[_0x2005ac(0x15c)]={'execute':function(_0x367ebc,_0x14eedf,_0x308ff8,_0x328223,_0x605eb4){var _0x1b6d4f=_0x2005ac;if(_0x328223||(_0x328223=_0x1ec596['random'](0x40/0x8)),_0x605eb4)var _0x3599fa=_0x3a7aba['create']({'keySize':_0x14eedf+_0x308ff8,'hasher':_0x605eb4})['compute'](_0x367ebc,_0x328223);else var _0x3599fa=_0x3a7aba['create']({'keySize':_0x14eedf+_0x308ff8})['compute'](_0x367ebc,_0x328223);var _0xe3223f=_0x1ec596[_0x1b6d4f(0x20e)](_0x3599fa[_0x1b6d4f(0x296)][_0x1b6d4f(0x259)](_0x14eedf),_0x308ff8*0x4);return _0x3599fa['sigBytes']=_0x14eedf*0x4,_0x3ed4ce[_0x1b6d4f(0x20e)]({'key':_0x3599fa,'iv':_0xe3223f,'salt':_0x328223});}},_0x38de9e=_0x4c9de4['PasswordBasedCipher']=_0x1d580d['extend']({'cfg':_0x1d580d['cfg']['extend']({'kdf':_0x3d0988}),'encrypt':function(_0x59341b,_0x2d7e59,_0x17040c,_0x214791){var _0x4f59ca=_0x2005ac;_0x214791=this[_0x4f59ca(0x1fc)]['extend'](_0x214791);var _0x38ab38=_0x214791['kdf'][_0x4f59ca(0x142)](_0x17040c,_0x59341b[_0x4f59ca(0x1d6)],_0x59341b[_0x4f59ca(0x439)],_0x214791[_0x4f59ca(0x3bf)],_0x214791[_0x4f59ca(0x3ca)]);_0x214791['iv']=_0x38ab38['iv'];var _0x3ce517=_0x1d580d[_0x4f59ca(0x2fc)]['call'](this,_0x59341b,_0x2d7e59,_0x38ab38['key'],_0x214791);return _0x3ce517[_0x4f59ca(0xce)](_0x38ab38),_0x3ce517;},'decrypt':function(_0x4f6f6c,_0x4460f3,_0x41829c,_0x1592d0){var _0xa0f80d=_0x2005ac;_0x1592d0=this[_0xa0f80d(0x1fc)][_0xa0f80d(0x28e)](_0x1592d0),_0x4460f3=this[_0xa0f80d(0x386)](_0x4460f3,_0x1592d0[_0xa0f80d(0x3b8)]);var _0x2e5d42=_0x1592d0[_0xa0f80d(0x42a)][_0xa0f80d(0x142)](_0x41829c,_0x4f6f6c['keySize'],_0x4f6f6c['ivSize'],_0x4460f3['salt'],_0x1592d0[_0xa0f80d(0x3ca)]);_0x1592d0['iv']=_0x2e5d42['iv'];var _0x18e3b4=_0x1d580d['decrypt'][_0xa0f80d(0x37b)](this,_0x4f6f6c,_0x4460f3,_0x2e5d42[_0xa0f80d(0x10e)],_0x1592d0);return _0x18e3b4;}});}();}));}(Te)),Te[_0xd4f97f(0x31f)];}var rn=Se[_0x38d2b1(0x31f)],ot;function sn(){return ot||(ot=0x1,function(_0x44f9f0,_0x48e2cb){(function(_0x23dac1,_0x281ea7,_0x2e8398){_0x44f9f0['exports']=_0x281ea7(ee(),Dt(),Ji(),wt(),At());}(rn,function(_0x219c15){var _0x23712a=_0x3c1e;return(function(){var _0x130e17=_0x3c1e,_0x108906=_0x219c15,_0x4c9402=_0x108906['lib'],_0x10bce2=_0x4c9402['BlockCipher'],_0x16faba=_0x108906[_0x130e17(0x419)],_0x4417d0=[],_0x2dc487=[],_0x26ecf7=[],_0x23d759=[],_0x4065fc=[],_0x2c845d=[],_0x3ff597=[],_0x39f432=[],_0x5ba9c5=[],_0x3382c0=[];(function(){for(var _0x184661=[],_0x3dfb13=0x0;_0x3dfb13<0x100;_0x3dfb13++)_0x3dfb13<0x80?_0x184661[_0x3dfb13]=_0x3dfb13<<0x1:_0x184661[_0x3dfb13]=_0x3dfb13<<0x1^0x11b;for(var _0x5e0c99=0x0,_0x518cdd=0x0,_0x3dfb13=0x0;_0x3dfb13<0x100;_0x3dfb13++){var _0x2cb99a=_0x518cdd^_0x518cdd<<0x1^_0x518cdd<<0x2^_0x518cdd<<0x3^_0x518cdd<<0x4;_0x2cb99a=_0x2cb99a>>>0x8^_0x2cb99a&0xff^0x63,_0x4417d0[_0x5e0c99]=_0x2cb99a,_0x2dc487[_0x2cb99a]=_0x5e0c99;var _0x211581=_0x184661[_0x5e0c99],_0x32ad20=_0x184661[_0x211581],_0x41e36c=_0x184661[_0x32ad20],_0x54d61a=_0x184661[_0x2cb99a]*0x101^_0x2cb99a*0x1010100;_0x26ecf7[_0x5e0c99]=_0x54d61a<<0x18|_0x54d61a>>>0x8,_0x23d759[_0x5e0c99]=_0x54d61a<<0x10|_0x54d61a>>>0x10,_0x4065fc[_0x5e0c99]=_0x54d61a<<0x8|_0x54d61a>>>0x18,_0x2c845d[_0x5e0c99]=_0x54d61a;var _0x54d61a=_0x41e36c*0x1010101^_0x32ad20*0x10001^_0x211581*0x101^_0x5e0c99*0x1010100;_0x3ff597[_0x2cb99a]=_0x54d61a<<0x18|_0x54d61a>>>0x8,_0x39f432[_0x2cb99a]=_0x54d61a<<0x10|_0x54d61a>>>0x10,_0x5ba9c5[_0x2cb99a]=_0x54d61a<<0x8|_0x54d61a>>>0x18,_0x3382c0[_0x2cb99a]=_0x54d61a,_0x5e0c99?(_0x5e0c99=_0x211581^_0x184661[_0x184661[_0x184661[_0x41e36c^_0x211581]]],_0x518cdd^=_0x184661[_0x184661[_0x518cdd]]):_0x5e0c99=_0x518cdd=0x1;}}());var _0x559e63=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x422f77=_0x16faba['AES']=_0x10bce2[_0x130e17(0x28e)]({'_doReset':function(){var _0x5337ec=_0x130e17,_0x229614;if(!(this[_0x5337ec(0x2c1)]&&this[_0x5337ec(0x30d)]===this[_0x5337ec(0x1c6)])){for(var _0x497c6d=this[_0x5337ec(0x30d)]=this[_0x5337ec(0x1c6)],_0x3bc45=_0x497c6d[_0x5337ec(0x296)],_0x2c8424=_0x497c6d['sigBytes']/0x4,_0x3871fe=this['_nRounds']=_0x2c8424+0x6,_0x574615=(_0x3871fe+0x1)*0x4,_0x3d1731=this['_keySchedule']=[],_0x5e4600=0x0;_0x5e4600<_0x574615;_0x5e4600++)_0x5e4600<_0x2c8424?_0x3d1731[_0x5e4600]=_0x3bc45[_0x5e4600]:(_0x229614=_0x3d1731[_0x5e4600-0x1],_0x5e4600%_0x2c8424?_0x2c8424>0x6&&_0x5e4600%_0x2c8424==0x4&&(_0x229614=_0x4417d0[_0x229614>>>0x18]<<0x18|_0x4417d0[_0x229614>>>0x10&0xff]<<0x10|_0x4417d0[_0x229614>>>0x8&0xff]<<0x8|_0x4417d0[_0x229614&0xff]):(_0x229614=_0x229614<<0x8|_0x229614>>>0x18,_0x229614=_0x4417d0[_0x229614>>>0x18]<<0x18|_0x4417d0[_0x229614>>>0x10&0xff]<<0x10|_0x4417d0[_0x229614>>>0x8&0xff]<<0x8|_0x4417d0[_0x229614&0xff],_0x229614^=_0x559e63[_0x5e4600/_0x2c8424|0x0]<<0x18),_0x3d1731[_0x5e4600]=_0x3d1731[_0x5e4600-_0x2c8424]^_0x229614);for(var _0x3850da=this[_0x5337ec(0x1a0)]=[],_0x5c42a0=0x0;_0x5c42a0<_0x574615;_0x5c42a0++){var _0x5e4600=_0x574615-_0x5c42a0;if(_0x5c42a0%0x4)var _0x229614=_0x3d1731[_0x5e4600];else var _0x229614=_0x3d1731[_0x5e4600-0x4];_0x5c42a0<0x4||_0x5e4600<=0x4?_0x3850da[_0x5c42a0]=_0x229614:_0x3850da[_0x5c42a0]=_0x3ff597[_0x4417d0[_0x229614>>>0x18]]^_0x39f432[_0x4417d0[_0x229614>>>0x10&0xff]]^_0x5ba9c5[_0x4417d0[_0x229614>>>0x8&0xff]]^_0x3382c0[_0x4417d0[_0x229614&0xff]];}}},'encryptBlock':function(_0x3acee6,_0xfb72c0){this['_doCryptBlock'](_0x3acee6,_0xfb72c0,this['_keySchedule'],_0x26ecf7,_0x23d759,_0x4065fc,_0x2c845d,_0x4417d0);},'decryptBlock':function(_0x2892e4,_0x37bf29){var _0x3c1351=_0x130e17,_0x14192f=_0x2892e4[_0x37bf29+0x1];_0x2892e4[_0x37bf29+0x1]=_0x2892e4[_0x37bf29+0x3],_0x2892e4[_0x37bf29+0x3]=_0x14192f,this[_0x3c1351(0xd5)](_0x2892e4,_0x37bf29,this[_0x3c1351(0x1a0)],_0x3ff597,_0x39f432,_0x5ba9c5,_0x3382c0,_0x2dc487);var _0x14192f=_0x2892e4[_0x37bf29+0x1];_0x2892e4[_0x37bf29+0x1]=_0x2892e4[_0x37bf29+0x3],_0x2892e4[_0x37bf29+0x3]=_0x14192f;},'_doCryptBlock':function(_0x4ef2d0,_0x48db36,_0x1e01fc,_0x450430,_0x16009d,_0x5374b4,_0x5821f0,_0xadc356){var _0x5df452=_0x130e17;for(var _0xa4e90b=this[_0x5df452(0x2c1)],_0x19e918=_0x4ef2d0[_0x48db36]^_0x1e01fc[0x0],_0x2a20fb=_0x4ef2d0[_0x48db36+0x1]^_0x1e01fc[0x1],_0x54aaf3=_0x4ef2d0[_0x48db36+0x2]^_0x1e01fc[0x2],_0x1abd7e=_0x4ef2d0[_0x48db36+0x3]^_0x1e01fc[0x3],_0x20c11a=0x4,_0x1c0cff=0x1;_0x1c0cff<_0xa4e90b;_0x1c0cff++){var _0xa01473=_0x450430[_0x19e918>>>0x18]^_0x16009d[_0x2a20fb>>>0x10&0xff]^_0x5374b4[_0x54aaf3>>>0x8&0xff]^_0x5821f0[_0x1abd7e&0xff]^_0x1e01fc[_0x20c11a++],_0x31b643=_0x450430[_0x2a20fb>>>0x18]^_0x16009d[_0x54aaf3>>>0x10&0xff]^_0x5374b4[_0x1abd7e>>>0x8&0xff]^_0x5821f0[_0x19e918&0xff]^_0x1e01fc[_0x20c11a++],_0x23f759=_0x450430[_0x54aaf3>>>0x18]^_0x16009d[_0x1abd7e>>>0x10&0xff]^_0x5374b4[_0x19e918>>>0x8&0xff]^_0x5821f0[_0x2a20fb&0xff]^_0x1e01fc[_0x20c11a++],_0x2bdb0b=_0x450430[_0x1abd7e>>>0x18]^_0x16009d[_0x19e918>>>0x10&0xff]^_0x5374b4[_0x2a20fb>>>0x8&0xff]^_0x5821f0[_0x54aaf3&0xff]^_0x1e01fc[_0x20c11a++];_0x19e918=_0xa01473,_0x2a20fb=_0x31b643,_0x54aaf3=_0x23f759,_0x1abd7e=_0x2bdb0b;}var _0xa01473=(_0xadc356[_0x19e918>>>0x18]<<0x18|_0xadc356[_0x2a20fb>>>0x10&0xff]<<0x10|_0xadc356[_0x54aaf3>>>0x8&0xff]<<0x8|_0xadc356[_0x1abd7e&0xff])^_0x1e01fc[_0x20c11a++],_0x31b643=(_0xadc356[_0x2a20fb>>>0x18]<<0x18|_0xadc356[_0x54aaf3>>>0x10&0xff]<<0x10|_0xadc356[_0x1abd7e>>>0x8&0xff]<<0x8|_0xadc356[_0x19e918&0xff])^_0x1e01fc[_0x20c11a++],_0x23f759=(_0xadc356[_0x54aaf3>>>0x18]<<0x18|_0xadc356[_0x1abd7e>>>0x10&0xff]<<0x10|_0xadc356[_0x19e918>>>0x8&0xff]<<0x8|_0xadc356[_0x2a20fb&0xff])^_0x1e01fc[_0x20c11a++],_0x2bdb0b=(_0xadc356[_0x1abd7e>>>0x18]<<0x18|_0xadc356[_0x19e918>>>0x10&0xff]<<0x10|_0xadc356[_0x2a20fb>>>0x8&0xff]<<0x8|_0xadc356[_0x54aaf3&0xff])^_0x1e01fc[_0x20c11a++];_0x4ef2d0[_0x48db36]=_0xa01473,_0x4ef2d0[_0x48db36+0x1]=_0x31b643,_0x4ef2d0[_0x48db36+0x2]=_0x23f759,_0x4ef2d0[_0x48db36+0x3]=_0x2bdb0b;},'keySize':0x100/0x20});_0x108906[_0x130e17(0x281)]=_0x10bce2[_0x130e17(0x17e)](_0x422f77);}()),_0x219c15[_0x23712a(0x281)];}));}(Se)),Se['exports'];}var on=sn();const an=fe(on);var cn=Dt();const at=fe(cn);var be={'exports':{}},hn=be[_0x38d2b1(0x31f)],ct;function ln(){return ct||(ct=0x1,function(_0x465b65,_0x59a5d6){(function(_0x4e794a,_0x441a72){var _0x25045a=_0x3c1e;_0x465b65[_0x25045a(0x31f)]=_0x441a72(ee());}(hn,function(_0x4de38b){var _0x15700d=_0x3c1e;return _0x4de38b[_0x15700d(0x3ad)][_0x15700d(0x3b5)];}));}(be)),be['exports'];}var _n=ln();const un=fe(_n);var Re={'exports':{}},dn=Re[_0x38d2b1(0x31f)],ht;function vn(){var _0xc86610=_0x38d2b1;return ht||(ht=0x1,function(_0x3dcf4f,_0x17a3f2){(function(_0x3609c1,_0x3c035b){var _0x4afefb=_0x3c1e;_0x3dcf4f[_0x4afefb(0x31f)]=_0x3c035b(ee());}(dn,function(_0x16b1c9){var _0x3fa285=_0x3c1e;return(function(){var _0x3a10f7=_0x3c1e;if(typeof ArrayBuffer=='function'){var _0x198cff=_0x16b1c9,_0x379d29=_0x198cff[_0x3a10f7(0x1c7)],_0x24d254=_0x379d29['WordArray'],_0xf19168=_0x24d254[_0x3a10f7(0xfa)],_0x34aa8f=_0x24d254['init']=function(_0x54e043){var _0x265204=_0x3a10f7;if(_0x54e043 instanceof ArrayBuffer&&(_0x54e043=new Uint8Array(_0x54e043)),(_0x54e043 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x54e043 instanceof Uint8ClampedArray||_0x54e043 instanceof Int16Array||_0x54e043 instanceof Uint16Array||_0x54e043 instanceof Int32Array||_0x54e043 instanceof Uint32Array||_0x54e043 instanceof Float32Array||_0x54e043 instanceof Float64Array)&&(_0x54e043=new Uint8Array(_0x54e043[_0x265204(0x25c)],_0x54e043['byteOffset'],_0x54e043['byteLength'])),_0x54e043 instanceof Uint8Array){for(var _0x49570e=_0x54e043[_0x265204(0x21f)],_0x16770f=[],_0x4e6801=0x0;_0x4e6801<_0x49570e;_0x4e6801++)_0x16770f[_0x4e6801>>>0x2]|=_0x54e043[_0x4e6801]<<0x18-_0x4e6801%0x4*0x8;_0xf19168['call'](this,_0x16770f,_0x49570e);}else _0xf19168[_0x265204(0x1ef)](this,arguments);};_0x34aa8f[_0x3a10f7(0x2d3)]=_0x24d254;}}()),_0x16b1c9[_0x3fa285(0x1c7)]['WordArray'];}));}(Re)),Re[_0xc86610(0x31f)];}var fn=vn();const Sn=fe(fn);var Oe={'exports':{}},pn=Oe[_0x38d2b1(0x31f)],lt;function gn(){var _0x1ed088=_0x38d2b1;return lt||(lt=0x1,function(_0x4e0683,_0x504ee2){(function(_0x3310be,_0x1465fd,_0x468f1a){_0x4e0683['exports']=_0x1465fd(ee(),At());}(pn,function(_0x1e3d8e){var _0x4ce1fe=_0x3c1e;return _0x1e3d8e[_0x4ce1fe(0x12d)][_0x4ce1fe(0x25d)]={'pad':function(){},'unpad':function(){}},_0x1e3d8e['pad'][_0x4ce1fe(0x25d)];}));}(Oe)),Oe[_0x1ed088(0x31f)];}var mn=gn();const In=fe(mn);function En(_0x11bcf2,_0x399ade){var _0x5ec14b=_0x38d2b1;const _0x4eb6f9=_0x399ade-_0x11bcf2[_0x5ec14b(0x1b7)]%_0x399ade,_0x270081=String[_0x5ec14b(0x290)](_0x4eb6f9)[_0x5ec14b(0x1e5)](_0x4eb6f9);return _0x11bcf2+_0x270081;}function Cn(_0x3934c5,_0x236b07){var _0x4d6341=_0x38d2b1;const _0xf5c78=Sn[_0x4d6341(0x270)](0x10),_0x338328=En(_0x3934c5,0x10),_0x206581=an['encrypt'](un[_0x4d6341(0x3d0)](_0x338328),at[_0x4d6341(0x3d0)](_0x236b07),{'iv':_0xf5c78,'padding':In});return _0xf5c78[_0x4d6341(0x42c)](_0x206581[_0x4d6341(0x1aa)])[_0x4d6341(0x12f)](at);}function Tn(){var _0x6b7860=_0x38d2b1;const _0x1fea39=$t[_0x6b7860(0x239)]()['__Key__'];if(_0x1fea39){const _0x2b4557={'time':Math[_0x6b7860(0x34b)](Date['now']()/0x3e8),'domain':location[_0x6b7860(0x3a5)]};return Cn(JSON[_0x6b7860(0x235)](_0x2b4557),_0x1fea39);}}var bn=Object['defineProperty'],Rn=Object['getOwnPropertyDescriptor'],On=(_0x41c611,_0x8108c8,_0x3ed8b9,_0x5c121c)=>{for(var _0xf0bc17=_0x5c121c>0x1?void 0x0:_0x5c121c?Rn(_0x8108c8,_0x3ed8b9):_0x8108c8,_0x238b57=_0x41c611['length']-0x1,_0xeaf931;_0x238b57>=0x0;_0x238b57--)(_0xeaf931=_0x41c611[_0x238b57])&&(_0xf0bc17=(_0x5c121c?_0xeaf931(_0x8108c8,_0x3ed8b9,_0xf0bc17):_0xeaf931(_0xf0bc17))||_0xf0bc17);return _0x5c121c&&_0xf0bc17&&bn(_0x8108c8,_0x3ed8b9,_0xf0bc17),_0xf0bc17;},yn=(_0x4e82a0,_0xca2280)=>(_0x496c79,_0x256c7b)=>_0xca2280(_0x496c79,_0x256c7b,_0x4e82a0);let Pe=class{constructor(_0x4a6a06){var _0x4fd625=_0x38d2b1;this['_httpService']=_0x4a6a06,this[_0x4fd625(0x237)]();}[_0x38d2b1(0x237)](){var _0x45d57c=_0x38d2b1;this[_0x45d57c(0x42b)][_0x45d57c(0x1ba)]({'interceptor':(_0x3c3c16,_0xab2471)=>{var _0x470581=_0x45d57c;const _0x589b38=_0x3c3c16['headers'],_0x17b397=Tn();return _0x17b397&&_0x589b38[_0x470581(0x330)](_0x470581(0x3c7),_0x17b397),_0xab2471(_0x3c3c16);}});}};Pe=On([yn(0x0,a[_0x38d2b1(0x258)](z[_0x38d2b1(0x187)]))],Pe);var Pn=Object[_0x38d2b1(0x1b3)],Nn=Object[_0x38d2b1(0x3e2)],Un=(_0x577241,_0x459261,_0x44d44f,_0x3b0e8d)=>{var _0x4c475a=_0x38d2b1;for(var _0x5282dc=_0x3b0e8d>0x1?void 0x0:_0x3b0e8d?Nn(_0x459261,_0x44d44f):_0x459261,_0x485e20=_0x577241[_0x4c475a(0x1b7)]-0x1,_0x5e528b;_0x485e20>=0x0;_0x485e20--)(_0x5e528b=_0x577241[_0x485e20])&&(_0x5282dc=(_0x3b0e8d?_0x5e528b(_0x459261,_0x44d44f,_0x5282dc):_0x5e528b(_0x5282dc))||_0x5282dc);return _0x3b0e8d&&_0x5282dc&&Pn(_0x459261,_0x44d44f,_0x5282dc),_0x5282dc;},Me=(_0x1564b,_0x4ff187)=>(_0x308e0c,_0x1bd7f9)=>_0x4ff187(_0x308e0c,_0x1bd7f9,_0x1564b);exports[_0x38d2b1(0x289)]=class extends a['RxDisposable']{constructor(_0x1ecffb,_0x3f4450,_0x599ad6){var _0x3a4e51=_0x38d2b1;super(),D(this,_0x3a4e51(0x287),new H[(_0x3a4e51(0xf1))](null)),D(this,'unitInfo$',this[_0x3a4e51(0x287)]['asObservable']()),(this[_0x3a4e51(0x1e7)]=_0x1ecffb,this[_0x3a4e51(0x23d)]=_0x3f4450,this[_0x3a4e51(0x209)]=_0x599ad6);}async[_0x38d2b1(0x3de)](_0x63269e,_0x35276d,_0x309bae){var _0x914f33=_0x38d2b1;this['_unitInfo$']['next']({'unitId':_0x63269e,'type':_0x35276d,'subUnitId':_0x309bae});let _0x1fa8ce=null;switch(_0x35276d){case Z['UNIVER_SHEET']:{_0x1fa8ce=await this[_0x914f33(0x320)](_0x63269e);break;}case Z[_0x914f33(0x2b5)]:{_0x1fa8ce=await this[_0x914f33(0x3d4)](_0x63269e);break;}default:{this[_0x914f33(0x1e7)]['error']('[DataLoaderService]',_0x914f33(0x1e9));break;}}return _0x1fa8ce;}async[_0x38d2b1(0x320)](_0x405a8e){var _0x1200e7=_0x38d2b1,_0x3a1fd1;let _0x1adb24=0x0;const _0x26d0bc=await((_0x3a1fd1=this[_0x1200e7(0x209)])==null?void 0x0:_0x3a1fd1[_0x1200e7(0x263)](_0x405a8e));return _0x26d0bc&&(_0x26d0bc[_0x1200e7(0xf8)]||_0x26d0bc[_0x1200e7(0x2b1)]['length']!==0x0)&&(_0x1adb24=_0x26d0bc['rev']),_0x1adb24===0x0&&this[_0x1200e7(0x1e7)]['debug'](_0x1200e7(0x100),_0x1200e7(0x10c)),this['_snapshotService']['loadSheet'](_0x405a8e,_0x1adb24);}async[_0x38d2b1(0x3d4)](_0x1d45f4){var _0x169c13=_0x38d2b1,_0x2a34a0;let _0x40d86d=0x0;const _0x4f9b10=await((_0x2a34a0=this['_localCacheService'])==null?void 0x0:_0x2a34a0['loadOfflineData'](_0x1d45f4));return _0x4f9b10&&(_0x4f9b10[_0x169c13(0xf8)]||_0x4f9b10[_0x169c13(0x2b1)][_0x169c13(0x1b7)]!==0x0)&&(_0x40d86d=_0x4f9b10[_0x169c13(0x37c)]),_0x40d86d===0x0&&this[_0x169c13(0x1e7)][_0x169c13(0x2a1)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x169c13(0x23d)][_0x169c13(0x254)](_0x1d45f4,_0x40d86d);}},exports[_0x38d2b1(0x289)]=Un([Me(0x0,a[_0x38d2b1(0x395)]),Me(0x1,a[_0x38d2b1(0x258)](m[_0x38d2b1(0x3a7)])),Me(0x2,a[_0x38d2b1(0x11d)](J))],exports['DataLoaderService']);var Dn=Object[_0x38d2b1(0x1b3)],wn=Object[_0x38d2b1(0x3e2)],An=(_0x238979,_0x17d79f,_0x5c2027,_0xd80c96)=>{var _0x3f9b60=_0x38d2b1;for(var _0x1f4665=_0xd80c96>0x1?void 0x0:_0xd80c96?wn(_0x17d79f,_0x5c2027):_0x17d79f,_0xff07c2=_0x238979[_0x3f9b60(0x1b7)]-0x1,_0x218635;_0xff07c2>=0x0;_0xff07c2--)(_0x218635=_0x238979[_0xff07c2])&&(_0x1f4665=(_0xd80c96?_0x218635(_0x17d79f,_0x5c2027,_0x1f4665):_0x218635(_0x1f4665))||_0x1f4665);return _0xd80c96&&_0x1f4665&&Dn(_0x17d79f,_0x5c2027,_0x1f4665),_0x1f4665;},xe=(_0x4850ca,_0x290470)=>(_0x500118,_0x59f3fa)=>_0x290470(_0x500118,_0x59f3fa,_0x4850ca);const Ln=[_0x38d2b1(0x356),_0x38d2b1(0x109),'image/jpg',_0x38d2b1(0x2ff),_0x38d2b1(0xbc)],Mn=0x5*0x400*0x400,xn=_0x38d2b1(0x39b),jn=_0x38d2b1(0x3c8),$n='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Hn=_0x38d2b1(0x2b8);exports[_0x38d2b1(0xc9)]=class{constructor(_0x56c4e3,_0x56e919,_0x44302f){var _0x21ace8=_0x38d2b1;D(this,'_waitCount',0x0),D(this,'_change$',new H[(_0x21ace8(0x265))]()),D(this,_0x21ace8(0xd8),this['_change$']),D(this,_0x21ace8(0x173),new Map()),(this[_0x21ace8(0x42b)]=_0x56c4e3,this['_configService']=_0x56e919,this[_0x21ace8(0xe3)]=_0x44302f);}[_0x38d2b1(0x23c)](_0x591781){var _0x29b98a=_0x38d2b1;this['_waitCount']=_0x591781,this[_0x29b98a(0x20f)][_0x29b98a(0x183)](_0x591781);}[_0x38d2b1(0x440)](_0xb7b1c7,_0x5b8597){var _0x4c8d54=_0x38d2b1;if(_0x5b8597===X['ImageSourceType'][_0x4c8d54(0x357)]){const _0x206aa9=new Image();return _0x206aa9[_0x4c8d54(0x286)]=_0xb7b1c7,_0x206aa9;}return this[_0x4c8d54(0x173)]['get'](_0xb7b1c7);}[_0x38d2b1(0x366)](_0x545bb6,_0x13cb17,_0x574a87){var _0x2cfc5d=_0x38d2b1;_0x13cb17===X['ImageSourceType'][_0x2cfc5d(0x357)]||_0x574a87==null||this['_imageSourceCache'][_0x2cfc5d(0x330)](_0x545bb6,_0x574a87);}async['getImage'](_0x426c6d){var _0x207c20=_0x38d2b1;try{const _0x59af6b=this[_0x207c20(0x380)](this[_0x207c20(0x3d5)](),''+_0x426c6d),_0x410938=(await this[_0x207c20(0x42b)]['get'](_0x59af6b))[_0x207c20(0x172)];if(_0x410938[_0x207c20(0xdd)]&&_0x410938['error'][_0x207c20(0x375)]===Tt['OK']){const _0xf1bd4f=new URL(_0x410938[_0x207c20(0xf2)],this[_0x207c20(0x18d)]())[_0x207c20(0x12f)]();return Promise['resolve'](_0xf1bd4f);}return Promise[_0x207c20(0x37a)](_0x410938[_0x207c20(0xdd)]);}catch(_0x3705a4){return Promise['reject'](_0x3705a4);}}async[_0x38d2b1(0x2df)](_0x3840b6){var _0x463990=_0x38d2b1;let _0x426d2c='';if(!Ln[_0x463990(0x226)](_0x3840b6['type']))return this[_0x463990(0x35f)](),Promise[_0x463990(0x37a)](new Error(X[_0x463990(0x2f7)][_0x463990(0xd0)]));if(_0x3840b6[_0x463990(0x411)]>Mn)return this[_0x463990(0x35f)](),Promise[_0x463990(0x37a)](new Error(X[_0x463990(0x2f7)]['ERROR_EXCEED_SIZE']));try{const _0x3a5caf=new FormData();_0x3a5caf[_0x463990(0x185)](_0x463990(0x192),_0x3840b6);const _0x29cfd7=this[_0x463990(0xe3)][_0x463990(0x24f)](),_0xc9ca3f=_0x29cfd7==null?void 0x0:_0x29cfd7['getUnitId']();if(!_0xc9ca3f)throw new Error('unitId\x20is\x20not\x20found');const _0x400c5c=this['_getUploadFileURL']()+'?size='+_0x3840b6[_0x463990(0x411)][_0x463990(0x12f)]()+'&source='+bt[_0x463990(0x1af)]+_0x463990(0x107)+encodeURIComponent(_0xc9ca3f),_0x2981ea=await(await fetch(_0x400c5c,{'method':_0x463990(0x2ce),'body':_0x3a5caf}))[_0x463990(0x15f)]();if(typeof _0x2981ea[_0x463990(0x1df)]!=_0x463990(0x266))return this[_0x463990(0x35f)](),Promise[_0x463990(0x37a)](new Error(X[_0x463990(0x2f7)][_0x463990(0x2d7)]));_0x426d2c=_0x2981ea['FileId'];}catch{return this[_0x463990(0x35f)](),Promise['reject'](new Error(X[_0x463990(0x2f7)][_0x463990(0x2d7)]));}return new Promise((_0x1a10f7,_0x1ce5cf)=>{var _0xf50edb=_0x463990;const _0x3ebfde=new FileReader();_0x3ebfde[_0xf50edb(0x25f)](_0x3840b6),_0x3ebfde[_0xf50edb(0x24e)]=_0x540fd3=>{var _0x3a21f6=_0xf50edb,_0x3fafe1;const _0x94718c=(_0x3fafe1=_0x540fd3['target'])==null?void 0x0:_0x3fafe1['result'];if(_0x94718c==null){this[_0x3a21f6(0x35f)](),_0x1ce5cf(new Error(X[_0x3a21f6(0x2f7)][_0x3a21f6(0x2d7)]));return;}const _0x6e2463=a[_0x3a21f6(0xeb)]['generateRandomId'](0x6);_0x1a10f7({'imageId':_0x6e2463,'imageSourceType':X[_0x3a21f6(0xfe)][_0x3a21f6(0x21e)],'source':_0x426d2c,'base64Cache':_0x94718c,'status':X[_0x3a21f6(0x2f7)][_0x3a21f6(0x3e8)]}),this[_0x3a21f6(0x35f)]();};});}[_0x38d2b1(0x238)](){var _0x1e5bd9=_0x38d2b1,_0x36626b,_0x16a228;const _0x2f4a3c=this[_0x1e5bd9(0x15e)][_0x1e5bd9(0x3ff)](xn),_0x3b0409=this['_configService'][_0x1e5bd9(0x3ff)](q);return(_0x16a228=(_0x36626b=_0x3b0409==null?void 0x0:_0x3b0409[_0x1e5bd9(0xc3)])!=null?_0x36626b:_0x2f4a3c)!=null?_0x16a228:jn;}[_0x38d2b1(0x3d5)](){var _0x1e89a0=_0x38d2b1,_0x26b8f5,_0x23f927;const _0x506ad4=this[_0x1e89a0(0x15e)]['getConfig']($n),_0x15053c=this[_0x1e89a0(0x15e)][_0x1e89a0(0x3ff)](q);return(_0x23f927=(_0x26b8f5=_0x15053c==null?void 0x0:_0x15053c[_0x1e89a0(0x244)])!=null?_0x26b8f5:_0x506ad4)!=null?_0x23f927:Hn;}[_0x38d2b1(0x18d)](){var _0x99c00b=_0x38d2b1,_0x49d653;const _0x20f15c=this[_0x99c00b(0x15e)][_0x99c00b(0x3ff)](q);return(_0x49d653=_0x20f15c==null?void 0x0:_0x20f15c[_0x99c00b(0x264)])!=null?_0x49d653:location['origin'];}[_0x38d2b1(0x380)](_0x5ac7b9,_0x3899d4){var _0xfba60d=_0x38d2b1;return _0x5ac7b9[_0xfba60d(0x194)](_0xfba60d(0x336),_0x3899d4);}['_decreaseWaiting'](){var _0x5c7da9=_0x38d2b1;this[_0x5c7da9(0x3bd)]-=0x1,this[_0x5c7da9(0x20f)][_0x5c7da9(0x183)](this[_0x5c7da9(0x3bd)]);}},exports[_0x38d2b1(0xc9)]=An([xe(0x0,a['Inject'](z[_0x38d2b1(0x187)])),xe(0x1,a[_0x38d2b1(0x16b)]),xe(0x2,a[_0x38d2b1(0x258)](a[_0x38d2b1(0x10f)]))],exports[_0x38d2b1(0xc9)]);var kn=Object[_0x38d2b1(0x1b3)],Bn=Object[_0x38d2b1(0x3e2)],Fn=(_0x31fe4a,_0x43f372,_0x4b674d,_0x560053)=>{for(var _0x573bf2=_0x560053>0x1?void 0x0:_0x560053?Bn(_0x43f372,_0x4b674d):_0x43f372,_0x21d8d5=_0x31fe4a['length']-0x1,_0x29072c;_0x21d8d5>=0x0;_0x21d8d5--)(_0x29072c=_0x31fe4a[_0x21d8d5])&&(_0x573bf2=(_0x560053?_0x29072c(_0x43f372,_0x4b674d,_0x573bf2):_0x29072c(_0x573bf2))||_0x573bf2);return _0x560053&&_0x573bf2&&kn(_0x43f372,_0x4b674d,_0x573bf2),_0x573bf2;},_t=(_0x1dbea5,_0x3da694)=>(_0x4c380c,_0x3b4324)=>_0x3da694(_0x4c380c,_0x3b4324,_0x1dbea5);const Wn='/universer-api/authz';exports[_0x38d2b1(0x1e3)]=class{constructor(_0x4b2d17,_0x1491f4){var _0x5217ae=_0x38d2b1;this[_0x5217ae(0x15e)]=_0x4b2d17,this['_HTTPService']=_0x1491f4;}[_0x38d2b1(0x3a8)](){var _0x5f5ca2=_0x38d2b1,_0x1b452e,_0x26e389;const _0x49bb0c=this[_0x5f5ca2(0x15e)]['getConfig'](Ge),_0x54c92c=this[_0x5f5ca2(0x15e)][_0x5f5ca2(0x3ff)](q);return(_0x26e389=(_0x1b452e=_0x54c92c==null?void 0x0:_0x54c92c[_0x5f5ca2(0x2a3)])!=null?_0x1b452e:_0x49bb0c)!=null?_0x26e389:Wn;}async[_0x38d2b1(0x2a6)](_0x2a1ee9){var _0x3a0558=_0x38d2b1;const _0x479842=this[_0x3a0558(0x3a8)]()+_0x3a0558(0x2e2);return{'list':[{'title':'People','mentions':(await this[_0x3a0558(0x22c)][_0x3a0558(0x178)](_0x479842,{'params':{'objectID':_0x2a1ee9['unitId'],'unitID':_0x2a1ee9[_0x3a0558(0x3a6)]}}))[_0x3a0558(0x172)][_0x3a0558(0xc7)][_0x3a0558(0x111)](_0x431131=>({'objectId':_0x431131['id'],'name':_0x431131[_0x3a0558(0x322)][_0x3a0558(0x29f)],'metadata':{'icon':_0x431131[_0x3a0558(0x322)][_0x3a0558(0x1da)]},'label':_0x431131[_0x3a0558(0x322)]['name'],'objectType':a[_0x3a0558(0x34c)][_0x3a0558(0x38d)]})),'metadata':{},'type':a[_0x3a0558(0x34c)][_0x3a0558(0x38d)]}]};}},exports[_0x38d2b1(0x1e3)]=Fn([_t(0x0,a[_0x38d2b1(0x258)](a['IConfigService'])),_t(0x1,a[_0x38d2b1(0x258)](z[_0x38d2b1(0x187)]))],exports[_0x38d2b1(0x1e3)]);var Vn=Object[_0x38d2b1(0x1b3)],Gn=Object[_0x38d2b1(0x3e2)],Kn=(_0x5c9953,_0xb0e839,_0x4807be,_0x5e2727)=>{for(var _0x153b04=_0x5e2727>0x1?void 0x0:_0x5e2727?Gn(_0xb0e839,_0x4807be):_0xb0e839,_0x3123bf=_0x5c9953['length']-0x1,_0x12506b;_0x3123bf>=0x0;_0x3123bf--)(_0x12506b=_0x5c9953[_0x3123bf])&&(_0x153b04=(_0x5e2727?_0x12506b(_0xb0e839,_0x4807be,_0x153b04):_0x12506b(_0x153b04))||_0x153b04);return _0x5e2727&&_0x153b04&&Vn(_0xb0e839,_0x4807be,_0x153b04),_0x153b04;},ce=(_0x4c6659,_0x349030)=>(_0x4f5674,_0x121727)=>_0x349030(_0x4f5674,_0x121727,_0x4c6659);let Ne=class extends a['RxDisposable']{constructor(_0x5ca7d2,_0x38da61,_0xc93bfe,_0x3bc9a6,_0x2433a6,_0x5615a1,_0x34a0be){var _0xf6175c=_0x38d2b1;super(),this[_0xf6175c(0x415)]=_0x5ca7d2,this['_univerInstanceService']=_0x38da61,this[_0xf6175c(0x359)]=_0xc93bfe,this['_collaborationSessionService']=_0x3bc9a6,this['_collaborationUIEventService']=_0x2433a6,this['_authzIoService']=_0x5615a1,this[_0xf6175c(0x1b5)]=_0x34a0be,this[_0xf6175c(0x364)](),this[_0xf6175c(0x3b2)]();}['_initCloseConn'](){var _0x178914=_0x38d2b1;const _0x1773f6=async _0x381fee=>{var _0x1332e8=_0x3c1e;(await this[_0x1332e8(0x2dc)]['requireSession'](_0x381fee))[_0x1332e8(0x1b2)][_0x1332e8(0x2b9)](V[_0x1332e8(0x1f3)](_0x303568=>_0x303568[_0x1332e8(0x389)]===m[_0x1332e8(0x12b)][_0x1332e8(0x2a7)]),V[_0x1332e8(0x2c0)](this[_0x1332e8(0x191)]))[_0x1332e8(0x28f)](_0x44b9da=>{var _0x315c06=_0x1332e8;const _0x21f6ed=_0x44b9da,{reason:_0x3e9263}=_0x21f6ed[_0x315c06(0x1bb)];this[_0x315c06(0x346)][_0x315c06(0x42d)]({'id':Q[_0x315c06(0x3a1)],'data':_0x3e9263}),this[_0x315c06(0x359)][_0x315c06(0x311)](new W[(_0x315c06(0x3e6))](_0x381fee)['id'],!0x1),this[_0x315c06(0x2dc)]['closeSession'](_0x381fee);});};H['merge'](this[_0x178914(0xe3)][_0x178914(0x30e)](a[_0x178914(0x236)][_0x178914(0x16e)]),this[_0x178914(0xe3)][_0x178914(0x30e)](a[_0x178914(0x236)][_0x178914(0x2b5)]))[_0x178914(0x2b9)](V['map'](_0x369978=>_0x369978[_0x178914(0x2ab)]()),V[_0x178914(0x1f3)](_0x2f6a60=>!a[_0x178914(0x13b)](_0x2f6a60)),V[_0x178914(0x2c0)](this[_0x178914(0x191)]))[_0x178914(0x28f)](_0x2d0999=>{_0x1773f6(_0x2d0999);});}[_0x38d2b1(0x364)](){var _0x3a2aef=_0x38d2b1;const _0x24ac46=async _0x1cf6e8=>{var _0x156ece=_0x3c1e;(await this[_0x156ece(0x2dc)][_0x156ece(0x1ac)](_0x1cf6e8))['event$'][_0x156ece(0x2b9)](V[_0x156ece(0x1f3)](_0x2445b4=>_0x2445b4[_0x156ece(0x389)]===m[_0x156ece(0x12b)]['UPDATE_PERMISSION_OBJ']),V['takeUntil'](this[_0x156ece(0x191)]))['subscribe'](_0x5ab0a2=>{var _0xe9bcd8=_0x156ece;const _0x2608b4=_0x5ab0a2,{objectId:_0x505761}=_0x2608b4[_0xe9bcd8(0x1bb)];_0x505761===_0x1cf6e8?this[_0xe9bcd8(0x102)](_0x1cf6e8):this[_0xe9bcd8(0x42f)](_0x1cf6e8,_0x505761);});};H[_0x3a2aef(0x428)](this[_0x3a2aef(0xe3)][_0x3a2aef(0x30e)](a[_0x3a2aef(0x236)][_0x3a2aef(0x16e)]),this['_univerInstanceService'][_0x3a2aef(0x30e)](a[_0x3a2aef(0x236)][_0x3a2aef(0x2b5)]))[_0x3a2aef(0x2b9)](V[_0x3a2aef(0x111)](_0xa602ce=>_0xa602ce[_0x3a2aef(0x2ab)]()),V[_0x3a2aef(0x1f3)](_0x413ab2=>!a[_0x3a2aef(0x13b)](_0x413ab2)),V[_0x3a2aef(0x2c0)](this['dispose$']))['subscribe'](_0x5e76b2=>{_0x24ac46(_0x5e76b2);});}async[_0x38d2b1(0x102)](_0x2055ff){var _0x22d464=_0x38d2b1,_0x1de6ab;const _0x571b42=_0x2055ff||((_0x1de6ab=this['_univerInstanceService']['getCurrentUnitForType'](a['UniverInstanceType'][_0x22d464(0x16e)]))==null?void 0x0:_0x1de6ab[_0x22d464(0x2ab)]());_0x571b42&&this[_0x22d464(0x229)][_0x22d464(0x40a)]({'objectID':_0x571b42,'objectType':W['UnitObject'][_0x22d464(0x174)],'unitID':_0x571b42,'actions':W['defaultWorkbookPermissionPoints']})[_0x22d464(0x387)](_0x3fb9bf=>{var _0x2eaaca=_0x22d464;W['getAllWorkbookPermissionPoint']()[_0x2eaaca(0x246)](_0x57127a=>{var _0xa98922=_0x2eaaca;const _0x126c06=new _0x57127a(_0x571b42),_0xc53bf5=_0x126c06[_0xa98922(0x22a)],_0x472d19=_0x3fb9bf[_0xa98922(0x353)](_0x2c7287=>_0x2c7287['action']===_0xc53bf5);_0x472d19&&this[_0xa98922(0x359)][_0xa98922(0x311)](_0x126c06['id'],_0x472d19[_0xa98922(0x40a)]);});});}[_0x38d2b1(0x42f)](_0x3ca88b,_0x251287){var _0x37faab=_0x38d2b1;const _0x354fc0=this['_injector'][_0x37faab(0x178)](W[_0x37faab(0xb9)]),_0x1f4ee5=_0x354fc0[_0x37faab(0x101)](_0x3ca88b,_0x251287);let _0x1e1c2a=!0x1;if(_0x1f4ee5){const [_0x4ef757,_0x3838e4]=_0x1f4ee5;this[_0x37faab(0x229)][_0x37faab(0x40a)]({'objectID':_0x251287,'unitID':_0x3ca88b,'objectType':W['UnitObject']['Worksheet'],'actions':W[_0x37faab(0x36b)]})[_0x37faab(0x387)](_0x5b2b4e=>{var _0x506167=_0x37faab;let _0x15dab8='';W[_0x506167(0x3d2)]()[_0x506167(0x246)](_0x4e5c9e=>{var _0x59a7b4=_0x506167,_0x24e855;const _0x21b9e9=new _0x4e5c9e(_0x3ca88b,_0x3838e4),_0x4d40ed=_0x21b9e9[_0x59a7b4(0x22a)],_0x54a56f=_0x5b2b4e['find'](_0x1b60c1=>_0x1b60c1[_0x59a7b4(0x34e)]===_0x4d40ed);_0x54a56f&&(((_0x24e855=this['_permissionService'][_0x59a7b4(0x169)](_0x21b9e9['id']))==null?void 0x0:_0x24e855[_0x59a7b4(0x119)])!==_0x54a56f['allowed']&&(_0x1e1c2a=!0x0),this[_0x59a7b4(0x359)]['updatePermissionPoint'](_0x21b9e9['id'],_0x54a56f['allowed']),_0x15dab8+=_0x54a56f[_0x59a7b4(0x34e)]+'_'+_0x54a56f[_0x59a7b4(0x40a)]);}),_0x354fc0['ruleRefresh'](_0x251287+'_'+_0x15dab8),_0x1e1c2a&&this[_0x506167(0x1b5)][_0x506167(0x28a)](_0x3ca88b);});}const _0x5b6b38=this[_0x37faab(0x415)][_0x37faab(0x178)](W[_0x37faab(0x19c)])[_0x37faab(0x101)](_0x3ca88b,_0x251287);if(_0x5b6b38){const [_0x319452,_0x588897]=_0x5b6b38;this[_0x37faab(0x229)][_0x37faab(0x40a)]({'objectID':_0x251287,'unitID':_0x3ca88b,'objectType':W[_0x37faab(0x245)]['Worksheet'],'actions':W['defaultWorksheetPermissionPoint']})[_0x37faab(0x387)](_0x3f2737=>{var _0x10f47c=_0x37faab;W['getAllWorksheetPermissionPointByPointPanel']()['forEach'](_0x1a86ae=>{var _0x4a8625=_0x3c1e,_0x10325b;const _0x420fec=new _0x1a86ae(_0x3ca88b,_0x588897),_0x1da885=_0x420fec[_0x4a8625(0x22a)],_0x2c10d5=_0x3f2737[_0x4a8625(0x353)](_0xf71e53=>_0xf71e53[_0x4a8625(0x34e)]===_0x1da885);_0x2c10d5&&(((_0x10325b=this[_0x4a8625(0x359)][_0x4a8625(0x169)](_0x420fec['id']))==null?void 0x0:_0x10325b['value'])!==_0x2c10d5[_0x4a8625(0x40a)]&&(_0x1e1c2a=!0x0),this['_permissionService'][_0x4a8625(0x311)](_0x420fec['id'],_0x2c10d5[_0x4a8625(0x40a)]));}),_0x1e1c2a&&this[_0x10f47c(0x1b5)][_0x10f47c(0x28a)](_0x3ca88b);});}const _0x5e2a62=this[_0x37faab(0x415)]['get'](W[_0x37faab(0x40e)]),_0x50a84a=_0x5e2a62[_0x37faab(0x101)](_0x3ca88b,_0x251287);if(_0x50a84a){const [_0x509602,_0x6e0b38]=_0x50a84a;this['_authzIoService']['allowed']({'objectID':_0x251287,'unitID':_0x3ca88b,'objectType':W[_0x37faab(0x245)][_0x37faab(0x124)],'actions':W[_0x37faab(0x36b)]})['then'](_0x27c64b=>{var _0x4299e0=_0x37faab;let _0x4c4009='';W['getAllRangePermissionPoint']()[_0x4299e0(0x246)](_0x4fe346=>{var _0x5bba20=_0x4299e0,_0x4938bb;const _0x20c860=new _0x4fe346(_0x3ca88b,_0x6e0b38,_0x251287),_0xed6eba=_0x20c860['subType'],_0x33a868=_0x27c64b[_0x5bba20(0x353)](_0x4553aa=>_0x4553aa[_0x5bba20(0x34e)]===_0xed6eba);_0x33a868&&(((_0x4938bb=this['_permissionService'][_0x5bba20(0x169)](_0x20c860['id']))==null?void 0x0:_0x4938bb[_0x5bba20(0x119)])!==_0x33a868['allowed']&&(_0x1e1c2a=!0x0),this['_permissionService'][_0x5bba20(0x311)](_0x20c860['id'],_0x33a868[_0x5bba20(0x40a)]),_0x4c4009+=_0x33a868[_0x5bba20(0x34e)]+'_'+_0x33a868['allowed']);}),_0x5e2a62[_0x4299e0(0x384)](_0x251287+'_'+_0x4c4009),_0x1e1c2a&&this[_0x4299e0(0x1b5)][_0x4299e0(0x28a)](_0x3ca88b);});}}};Ne=Kn([ce(0x0,a[_0x38d2b1(0x258)](a[_0x38d2b1(0x299)])),ce(0x1,a['IUniverInstanceService']),ce(0x2,a['IPermissionService']),ce(0x3,a['Inject'](exports[_0x38d2b1(0x3b4)])),ce(0x4,a['Inject'](te)),ce(0x5,a['IAuthzIoService']),ce(0x6,a[_0x38d2b1(0x302)])],Ne);var Yn=Object[_0x38d2b1(0x1b3)],qn=Object[_0x38d2b1(0x3e2)],zn=(_0x1d56d7,_0x1e8b09,_0x56c354,_0xef3958)=>{var _0xc4cf37=_0x38d2b1;for(var _0x11b3d6=_0xef3958>0x1?void 0x0:_0xef3958?qn(_0x1e8b09,_0x56c354):_0x1e8b09,_0x5dc2df=_0x1d56d7[_0xc4cf37(0x1b7)]-0x1,_0x1ac937;_0x5dc2df>=0x0;_0x5dc2df--)(_0x1ac937=_0x1d56d7[_0x5dc2df])&&(_0x11b3d6=(_0xef3958?_0x1ac937(_0x1e8b09,_0x56c354,_0x11b3d6):_0x1ac937(_0x11b3d6))||_0x11b3d6);return _0xef3958&&_0x11b3d6&&Yn(_0x1e8b09,_0x56c354,_0x11b3d6),_0x11b3d6;},ut=(_0x2995d9,_0x353d8d)=>(_0x1bc3e9,_0x3ea810)=>_0x353d8d(_0x1bc3e9,_0x3ea810,_0x2995d9);exports[_0x38d2b1(0x1d3)]=class{constructor(_0x54efa4,_0x560851){var _0x2cc2f4=_0x38d2b1;this[_0x2cc2f4(0x15e)]=_0x54efa4,this[_0x2cc2f4(0x42b)]=_0x560851;}async[_0x38d2b1(0x36c)](_0x182641,_0x5eb80e){var _0x2b5201=_0x38d2b1,_0x53509c;const {unitID:_0x326ea6,type:_0x539f5f,revision:_0x47175c=0x0}=_0x5eb80e,_0x193697=this[_0x2b5201(0x1e1)]()+'/'+_0x539f5f+_0x2b5201(0x406)+_0x326ea6+_0x2b5201(0x328)+_0x47175c,_0x206453=(await this[_0x2b5201(0x42b)][_0x2b5201(0x178)](_0x193697))[_0x2b5201(0x172)],_0x58c551=(_0x53509c=_0x206453[_0x2b5201(0x392)])==null?void 0x0:_0x53509c[_0x2b5201(0x166)];if(_0x58c551){const _0x3f51ba=_0x58c551==null?void 0x0:_0x58c551[_0x2b5201(0x122)],_0x501ed6=m[_0x2b5201(0x117)][_0x2b5201(0x378)](m['b64DecodeUnicode'](_0x3f51ba));_0x58c551['originalMeta']=_0x501ed6,Object[_0x2b5201(0x424)](_0x58c551[_0x2b5201(0x275)])[_0x2b5201(0x246)](([,_0x42a25e])=>{var _0x1c9d9b=_0x2b5201;const _0x12ff45=_0x42a25e[_0x1c9d9b(0x122)],_0x1c73fe=m[_0x1c9d9b(0x117)][_0x1c9d9b(0x378)](m[_0x1c9d9b(0x262)](_0x12ff45));_0x42a25e[_0x1c9d9b(0x122)]=_0x1c73fe;});}return _0x206453;}async[_0x38d2b1(0x3fe)](_0x1daca5,_0x1d634e){var _0x24fcea=_0x38d2b1;const {unitID:_0x59b60b,type:_0x54888e,blockID:_0x2d9f7a}=_0x1d634e,_0x20d1e3=this[_0x24fcea(0x2bd)]()+'/'+_0x54888e+'/unit/'+_0x59b60b+_0x24fcea(0x2dd)+_0x2d9f7a;return(await this[_0x24fcea(0x42b)][_0x24fcea(0x178)](_0x20d1e3))['body'];}async['getDeserializedSheetBlock'](_0x44a552,_0x206d0e){var _0x3352a5=_0x38d2b1;const {unitID:_0x10781c,type:_0x14082e,blockID:_0x4d0485}=_0x206d0e,_0x92d931=this['_getAPIPrefix']()+_0x3352a5(0x2dd)+_0x14082e+_0x3352a5(0x406)+_0x10781c+_0x3352a5(0x2dd)+_0x4d0485;return(await this[_0x3352a5(0x42b)][_0x3352a5(0x178)](_0x92d931))[_0x3352a5(0x172)];}async[_0x38d2b1(0x331)](_0x4fd64d,_0x5c458){var _0x1bf3fd=_0x38d2b1;const {unitID:_0x497191,type:_0x37bd94,from:_0x514325,to:_0x271c30}=_0x5c458,_0x554206=this[_0x1bf3fd(0x2bd)]()+'/'+_0x37bd94+_0x1bf3fd(0x406)+_0x497191+_0x1bf3fd(0x340)+_0x514325+'&to='+_0x271c30;return(await this[_0x1bf3fd(0x42b)][_0x1bf3fd(0x178)](_0x554206))['body'];}[_0x38d2b1(0x1e1)](){var _0x1dd913=_0x38d2b1,_0x3fdae1;return(_0x3fdae1=this[_0x1dd913(0x15e)]['getConfig'](ft))!=null?_0x3fdae1:this[_0x1dd913(0x2bd)]();}['_getAPIPrefix'](){var _0x52d620=_0x38d2b1,_0x55a7d5,_0x2d0c77;const _0x194f0b=this[_0x52d620(0x15e)]['getConfig'](vt),_0x265ecb=this[_0x52d620(0x15e)][_0x52d620(0x3ff)](q);return(_0x2d0c77=(_0x55a7d5=_0x265ecb==null?void 0x0:_0x265ecb['snapshotServerUrl'])!=null?_0x55a7d5:_0x194f0b)!=null?_0x2d0c77:Ht;}async['getResourcesRequest'](_0x508e1a,_0x3989f8){var _0x46a138=_0x38d2b1;const _0x495681=_0x46a138(0x17f)+_0x3989f8[_0x46a138(0x2e0)]+_0x46a138(0x406)+_0x3989f8['unitID']+_0x46a138(0x394);return(await this[_0x46a138(0x42b)][_0x46a138(0x178)](_0x495681,{'params':{'resourceId':JSON['stringify'](_0x3989f8['resourceIDs'])}}))[_0x46a138(0x172)];}[_0x38d2b1(0x146)](){var _0x866c84=_0x38d2b1;throw new Error(_0x866c84(0x28b));}[_0x38d2b1(0x11b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x38d2b1(0x3e5)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x38d2b1(0x38f)](){var _0x56a5cc=_0x38d2b1;throw new Error(_0x56a5cc(0x28b));}[_0x38d2b1(0x3c5)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x38d2b1(0x1d3)]=zn([ut(0x0,a['IConfigService']),ut(0x1,a[_0x38d2b1(0x258)](z['HTTPService']))],exports['SnapshotServerOverHTTPService']);var Jn=Object['defineProperty'],Xn=Object[_0x38d2b1(0x3e2)],Zn=(_0x525c25,_0x1e7e77,_0x14cb83,_0x232d71)=>{var _0x1afe92=_0x38d2b1;for(var _0xfca7ed=_0x232d71>0x1?void 0x0:_0x232d71?Xn(_0x1e7e77,_0x14cb83):_0x1e7e77,_0x37b754=_0x525c25[_0x1afe92(0x1b7)]-0x1,_0x3c1146;_0x37b754>=0x0;_0x37b754--)(_0x3c1146=_0x525c25[_0x37b754])&&(_0xfca7ed=(_0x232d71?_0x3c1146(_0x1e7e77,_0x14cb83,_0xfca7ed):_0x3c1146(_0xfca7ed))||_0xfca7ed);return _0x232d71&&_0xfca7ed&&Jn(_0x1e7e77,_0x14cb83,_0xfca7ed),_0xfca7ed;},de=(_0x5882dc,_0x5328b6)=>(_0x1dd8d7,_0x1d6ce7)=>_0x5328b6(_0x1dd8d7,_0x1d6ce7,_0x5882dc);exports[_0x38d2b1(0x365)]=class extends a[_0x38d2b1(0x214)]{constructor(_0x1b01c3,_0x3d0e60,_0x171afa,_0xaf7049,_0x3dbf20){var _0x17a924=_0x38d2b1;super(_0x1b01c3,_0x3d0e60,_0x171afa),this[_0x17a924(0x367)]=_0xaf7049,this[_0x17a924(0x1e7)]=_0x3dbf20;}[_0x38d2b1(0x404)](_0x31cd6b,_0x416bd4){var _0x20b3b4=_0x38d2b1;const _0x28d90c=this[_0x20b3b4(0x3c9)](_0x31cd6b);if(_0x28d90c)try{const _0xb606ed=this[_0x20b3b4(0x2cc)](_0x28d90c,_0x416bd4);this[_0x20b3b4(0x1b0)](_0x31cd6b,_0xb606ed);}catch(_0x4ec4a9){this[_0x20b3b4(0x1e7)][_0x20b3b4(0xdd)](_0x20b3b4(0x13c),_0x4ec4a9),this[_0x20b3b4(0xfc)](_0x31cd6b);}const _0x13c69d=this['_getRedoStack'](_0x31cd6b);if(_0x13c69d)try{const _0x44f3ba=this[_0x20b3b4(0x2cc)](_0x13c69d,_0x416bd4);this[_0x20b3b4(0x382)](_0x31cd6b,_0x44f3ba);}catch(_0x4a336b){this[_0x20b3b4(0x1e7)][_0x20b3b4(0xdd)](_0x4a336b),this[_0x20b3b4(0x251)](_0x31cd6b);}}[_0x38d2b1(0xfc)](_0x1ff93c){var _0x536a43=_0x38d2b1;const _0x3c44c9=this['_getUndoStack'](_0x1ff93c);_0x3c44c9&&(_0x3c44c9[_0x536a43(0x1b7)]=0x0,this['_updateStatus']());}[_0x38d2b1(0x251)](_0x246e86){var _0xe59f8d=_0x38d2b1;const _0x19dbf7=this['_getRedoStack'](_0x246e86);_0x19dbf7&&(_0x19dbf7[_0xe59f8d(0x1b7)]=0x0,this[_0xe59f8d(0xf0)]());}[_0x38d2b1(0x1b0)](_0x178502,_0x29d467){var _0x19f5d3=_0x38d2b1;this['_undoStacks'][_0x19f5d3(0x330)](_0x178502,_0x29d467),this[_0x19f5d3(0xf0)]();}[_0x38d2b1(0x382)](_0x12b654,_0x4e73cc){var _0x4fbcdc=_0x38d2b1;this[_0x4fbcdc(0x30b)][_0x4fbcdc(0x330)](_0x12b654,_0x4e73cc),this[_0x4fbcdc(0xf0)]();}[_0x38d2b1(0x2cc)](_0x10eda6,_0xc2f8b5){var _0x365d47=_0x38d2b1;const _0x1172c5=[];let _0x4488ce=_0xc2f8b5,_0x4b2b54=_0xc2f8b5;for(let _0x4185ea=_0x10eda6['length']-0x1;_0x4185ea>=0x0;_0x4185ea--){const {unitID:_0x3cf21f,undoMutations:_0x48c4e2,redoMutations:_0x8e7640}=_0x10eda6[_0x4185ea],_0x177be2=this[_0x365d47(0x367)][_0x365d47(0x1c1)](_0x4488ce,_0x48c4e2),_0x3c9057=this[_0x365d47(0x367)]['transformMutationsWithChangeset'](_0x4b2b54,_0x8e7640);if(m[_0x365d47(0x41e)](_0x177be2)||m['isTransformMutationsWithChangesetFailure'](_0x3c9057)){this[_0x365d47(0x1e7)][_0x365d47(0xdd)](_0x365d47(0x13c),'transformStack\x20failed!',_0x177be2,_0x3c9057);break;}_0x4488ce=_0x177be2[_0x365d47(0x347)],_0x4b2b54=_0x3c9057['c1Prime'],_0x1172c5[_0x365d47(0x3cb)]({'unitID':_0x3cf21f,'undoMutations':_0x177be2[_0x365d47(0x284)],'redoMutations':_0x3c9057[_0x365d47(0x284)]});}return _0x1172c5[_0x365d47(0x420)]();}},exports[_0x38d2b1(0x365)]=Zn([de(0x0,a['IUniverInstanceService']),de(0x1,a[_0x38d2b1(0x40c)]),de(0x2,a[_0x38d2b1(0x1cf)]),de(0x3,m[_0x38d2b1(0x18c)]),de(0x4,a[_0x38d2b1(0x395)])],exports[_0x38d2b1(0x365)]);var Lt=Object[_0x38d2b1(0x1b3)],Qn=Object[_0x38d2b1(0x3e2)],er=(_0x3738cc,_0x30832b,_0x4c43da)=>_0x30832b in _0x3738cc?Lt(_0x3738cc,_0x30832b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c43da}):_0x3738cc[_0x30832b]=_0x4c43da,tr=(_0x500687,_0x38ad91,_0x24e9fe,_0xdd1bfb)=>{for(var _0x3d065f=_0xdd1bfb>0x1?void 0x0:_0xdd1bfb?Qn(_0x38ad91,_0x24e9fe):_0x38ad91,_0x38702b=_0x500687['length']-0x1,_0x20205b;_0x38702b>=0x0;_0x38702b--)(_0x20205b=_0x500687[_0x38702b])&&(_0x3d065f=(_0xdd1bfb?_0x20205b(_0x38ad91,_0x24e9fe,_0x3d065f):_0x20205b(_0x3d065f))||_0x3d065f);return _0xdd1bfb&&_0x3d065f&&Lt(_0x38ad91,_0x24e9fe,_0x3d065f),_0x3d065f;},je=(_0x2b8da8,_0x482b6a)=>(_0x2775ef,_0x5cb08c)=>_0x482b6a(_0x2775ef,_0x5cb08c,_0x2b8da8),ir=(_0x4e32b2,_0x64e9c0,_0x24eee0)=>er(_0x4e32b2,_0x64e9c0+'',_0x24eee0);const nr=_0x38d2b1(0x118);exports['UniverCollaborationClientPlugin']=class extends a['Plugin']{constructor(_0x30d51b=Ke,_0x3f9dd0,_0x7b2bd0,_0x529ec2){var _0xbf7b1f=_0x38d2b1;super(),this[_0xbf7b1f(0x10a)]=_0x30d51b,this['_logService']=_0x3f9dd0,this[_0xbf7b1f(0x415)]=_0x7b2bd0,this[_0xbf7b1f(0x15e)]=_0x529ec2;const {..._0x398169}=a[_0xbf7b1f(0x428)]({},Ke,this['_config']);this['_configService'][_0xbf7b1f(0x189)](q,_0x398169);}[_0x38d2b1(0x241)](){var _0xcb520c=_0x38d2b1;this[_0xcb520c(0x177)](),this[_0xcb520c(0x240)]();}[_0x38d2b1(0x177)](){var _0x3ef1ee=_0x38d2b1,_0x5aac4,_0x3e0432,_0x5087cf,_0x4b36f4;this['_injector'][_0x3ef1ee(0x437)](a[_0x3ef1ee(0x302)])&&this[_0x3ef1ee(0x1e7)][_0x3ef1ee(0xdd)]('[UniverCollaborationClientPlugin]',_0x3ef1ee(0x23e));const _0x1d8912=a['mergeOverrideWithDependencies']([[a[_0x3ef1ee(0x302)],{'useClass':exports[_0x3ef1ee(0x365)]}],[exports[_0x3ef1ee(0x3b4)]],[exports[_0x3ef1ee(0x15d)]],[exports[_0x3ef1ee(0x3da)]],[ye],[Pe],[Be],[Ne],[te],[exports[_0x3ef1ee(0x289)]],[ke,{'useClass':(_0x3e0432=(_0x5aac4=this[_0x3ef1ee(0x10a)])==null?void 0x0:_0x5aac4[_0x3ef1ee(0xbd)])!=null?_0x3e0432:exports[_0x3ef1ee(0x310)]}],[m[_0x3ef1ee(0x1e2)],{'useClass':exports[_0x3ef1ee(0x1d3)]}],[a['IAuthzIoService'],{'useClass':exports['AuthzIoHttpService']}],[X['IImageIoService'],{'useClass':exports[_0x3ef1ee(0xc9)]}],[a[_0x3ef1ee(0x2f3)],{'useClass':exports[_0x3ef1ee(0x1e3)]}],[exports[_0x3ef1ee(0x2b2)]],[$e]],(_0x5087cf=this[_0x3ef1ee(0x10a)])==null?void 0x0:_0x5087cf[_0x3ef1ee(0xde)]);if(!((_0x4b36f4=this[_0x3ef1ee(0x10a)])!=null&&_0x4b36f4['enableSingleActiveInstanceLock'])){const _0x320f6f=_0x1d8912['findIndex'](([_0x4a9506])=>_0x4a9506===ve);_0x320f6f!==-0x1&&_0x1d8912[_0x3ef1ee(0x158)](_0x320f6f,0x1);}a['registerDependencies'](this[_0x3ef1ee(0x415)],_0x1d8912);}['_initDependencies'](){var _0x312b84=_0x38d2b1,_0x1cb045,_0x3b8889,_0x733d8c;this['_injector'][_0x312b84(0x178)](z['HTTPService'])['registerHTTPInterceptor']({'priority':0x14,'interceptor':z[_0x312b84(0x39c)]({'maxParallel':0x6})}),(_0x1cb045=this[_0x312b84(0x10a)])!=null&&_0x1cb045['enableOfflineEditing']||(_0x3b8889=this['_injector']['get'](J,a['Quantity'][_0x312b84(0x37f)]))==null||_0x3b8889['disableLocalCache'](),(_0x733d8c=this['_config'])!=null&&_0x733d8c['enableAuthServer']&&a[_0x312b84(0x21d)](this[_0x312b84(0x415)],[[ye]]),a[_0x312b84(0x21d)](this['_injector'],[[Pe],[exports[_0x312b84(0x2b2)]],[Ne]]);}},ir(exports['UniverCollaborationClientPlugin'],_0x38d2b1(0x19b),nr),exports[_0x38d2b1(0xea)]=tr([a[_0x38d2b1(0x114)](m[_0x38d2b1(0x3dd)],W[_0x38d2b1(0x2d1)],z[_0x38d2b1(0x38b)]),je(0x1,a[_0x38d2b1(0x395)]),je(0x2,a[_0x38d2b1(0x258)](a[_0x38d2b1(0x299)])),je(0x3,a[_0x38d2b1(0x16b)])],exports[_0x38d2b1(0xea)]),exports[_0x38d2b1(0x123)]=Ge,exports[_0x38d2b1(0x268)]=q,exports[_0x38d2b1(0xf6)]=Et,exports['COLLAB_WEB_SOCKET_URL_KEY']=St,exports[_0x38d2b1(0x1c5)]=We,exports['CollaborationUIEventId']=Q,exports['CollaborationUIEventService']=te,exports[_0x38d2b1(0x397)]=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=pt,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=Xt,exports[_0x38d2b1(0x198)]=gt,exports[_0x38d2b1(0x1a3)]=He,exports[_0x38d2b1(0x334)]=ke,exports['ILocalCacheService']=J,exports[_0x38d2b1(0x1f2)]=Rt,exports[_0x38d2b1(0x144)]=ve,exports[_0x38d2b1(0x163)]=Yt,exports[_0x38d2b1(0xe1)]=Kt,exports[_0x38d2b1(0x26f)]=Ct,exports[_0x38d2b1(0x130)]=Jt,exports[_0x38d2b1(0x3be)]=It,exports['SEND_CHANGESET_TIMEOUT_KEY']=kt,exports['SNAPSHOT_SERVER_URL_KEY']=vt,exports['SNAPSHOT_URL_KEY']=ft,exports[_0x38d2b1(0x3e1)]=se,exports[_0x38d2b1(0xcf)]=Fe,exports[_0x38d2b1(0x1d1)]=Ot,exports[_0x38d2b1(0xdb)]=mi,exports['serializeCombRequest']=yt;