@univerjs-pro/collaboration-client 0.5.4-nightly.202501160647 → 0.5.4-nightly.202501160949

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 _0x2e58ba=_0x2768;(function(_0xfde850,_0x217d3a){var _0x3157cf=_0x2768,_0x4fc288=_0xfde850();while(!![]){try{var _0x33eca8=parseInt(_0x3157cf(0x37f))/0x1*(-parseInt(_0x3157cf(0x339))/0x2)+parseInt(_0x3157cf(0x1a1))/0x3*(-parseInt(_0x3157cf(0xa2))/0x4)+parseInt(_0x3157cf(0x373))/0x5+parseInt(_0x3157cf(0x391))/0x6*(parseInt(_0x3157cf(0x3e4))/0x7)+-parseInt(_0x3157cf(0x23a))/0x8*(-parseInt(_0x3157cf(0x26c))/0x9)+-parseInt(_0x3157cf(0x19f))/0xa*(-parseInt(_0x3157cf(0x1b0))/0xb)+-parseInt(_0x3157cf(0x33a))/0xc;if(_0x33eca8===_0x217d3a)break;else _0x4fc288['push'](_0x4fc288['shift']());}catch(_0x5542e3){_0x4fc288['push'](_0x4fc288['shift']());}}}(_0x2963,0x76773));var Mt=Object[_0x2e58ba(0xf6)],xt=(_0x22f276,_0x529d40,_0x57ee21)=>_0x529d40 in _0x22f276?Mt(_0x22f276,_0x529d40,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x57ee21}):_0x22f276[_0x529d40]=_0x57ee21,D=(_0x2f3035,_0x3f091f,_0x2b46cc)=>xt(_0x2f3035,typeof _0x3f091f!=_0x2e58ba(0x31d)?_0x3f091f+'':_0x3f091f,_0x2b46cc);Object[_0x2e58ba(0xf6)](exports,Symbol[_0x2e58ba(0x3e3)],{'value':_0x2e58ba(0x39d)});const a=require(_0x2e58ba(0x274)),H=require('rxjs'),W=require('rxjs/operators'),q=require(_0x2e58ba(0xf5)),m=require(_0x2e58ba(0x17a)),jt=require(_0x2e58ba(0x28c)),dt=require(_0x2e58ba(0x1f9)),J=require(_0x2e58ba(0x38f)),X=require('@univerjs/drawing'),$t=require('@univerjs-pro/license'),vt=_0x2e58ba(0x40a),Ht=_0x2e58ba(0x30f),ft=_0x2e58ba(0x100),kt=_0x2e58ba(0xd8),Bt=0x7d0,St='COLLAB_WEB_SOCKET_URL',pt=_0x2e58ba(0xca),Ft=_0x2e58ba(0x2c1),mt=_0x2e58ba(0x319),Wt=0x7530,He=_0x2e58ba(0x2a9),gt=0x4e20,Gt=0x4e20,It=_0x2e58ba(0x13a),Vt=0x3,Kt='LOCAL_CACHE_INTERVAL',Yt=0x3e8,Et=_0x2e58ba(0x26b),qt=_0x2e58ba(0x377),Ct=_0x2e58ba(0x2ea),zt='/universer-api/oidc/authpage',Jt=_0x2e58ba(0xe7),Xt=_0x2e58ba(0x17f);var Tt=(_0x21a69d=>(_0x21a69d[_0x21a69d[_0x2e58ba(0x208)]=0x0]=_0x2e58ba(0x208),_0x21a69d[_0x21a69d['OK']=0x1]='OK',_0x21a69d[_0x21a69d[_0x2e58ba(0x294)]=0x2]=_0x2e58ba(0x294),_0x21a69d[_0x21a69d[_0x2e58ba(0x34b)]=0x3]='PERMISSION_DENIED',_0x21a69d[_0x21a69d[_0x2e58ba(0x3ef)]=0x4]=_0x2e58ba(0x3ef),_0x21a69d[_0x21a69d[_0x2e58ba(0x167)]=0x5]=_0x2e58ba(0x167),_0x21a69d[_0x21a69d[_0x2e58ba(0x3c7)]=0x6]='ALREADY_EXISTS',_0x21a69d[_0x21a69d[_0x2e58ba(0x3d0)]=0x7]='INVALID_ARGUMENT',_0x21a69d[_0x21a69d[_0x2e58ba(0x2e8)]=0x8]=_0x2e58ba(0x2e8),_0x21a69d[_0x21a69d[_0x2e58ba(0x3db)]=0x9]=_0x2e58ba(0x3db),_0x21a69d[_0x21a69d[_0x2e58ba(0x292)]=0x1389]=_0x2e58ba(0x292),_0x21a69d[_0x21a69d[_0x2e58ba(0x2d4)]=0x1771]=_0x2e58ba(0x2d4),_0x21a69d[_0x21a69d[_0x2e58ba(0x149)]=0x1772]=_0x2e58ba(0x149),_0x21a69d[_0x21a69d[_0x2e58ba(0xc3)]=0x1773]=_0x2e58ba(0xc3),_0x21a69d[_0x21a69d[_0x2e58ba(0x12c)]=0x1b59]=_0x2e58ba(0x12c),_0x21a69d[_0x21a69d[_0x2e58ba(0x297)]=0x1b5a]=_0x2e58ba(0x297),_0x21a69d[_0x21a69d[_0x2e58ba(0x2f7)]=0x1b5b]=_0x2e58ba(0x2f7),_0x21a69d[_0x21a69d[_0x2e58ba(0x408)]=0x1b5c]=_0x2e58ba(0x408),_0x21a69d[_0x21a69d['APPLY_DUPLICATED']=0x1b5d]=_0x2e58ba(0x356),_0x21a69d[_0x21a69d['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x21a69d[_0x21a69d['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x2e58ba(0x20e),_0x21a69d[_0x21a69d[_0x2e58ba(0x344)]=0x232a]=_0x2e58ba(0x344),_0x21a69d[_0x21a69d[_0x2e58ba(0x24e)]=0x232b]=_0x2e58ba(0x24e),_0x21a69d[_0x21a69d[_0x2e58ba(0x130)]=0x232c]=_0x2e58ba(0x130),_0x21a69d[_0x21a69d[_0x2e58ba(0xba)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x21a69d[_0x21a69d[_0x2e58ba(0x35c)]=0x2711]=_0x2e58ba(0x35c),_0x21a69d[_0x21a69d[_0x2e58ba(0x296)]=0x2712]=_0x2e58ba(0x296),_0x21a69d[_0x21a69d[_0x2e58ba(0x3f5)]=0x2713]=_0x2e58ba(0x3f5),_0x21a69d[_0x21a69d[_0x2e58ba(0x1ad)]=0x2714]=_0x2e58ba(0x1ad),_0x21a69d[_0x21a69d[_0x2e58ba(0x3b8)]=0x2af9]=_0x2e58ba(0x3b8),_0x21a69d[_0x21a69d[_0x2e58ba(0x129)]=-0x1]='UNRECOGNIZED',_0x21a69d))(Tt||{}),Z=(_0xbaa036=>(_0xbaa036[_0xbaa036[_0x2e58ba(0xf4)]=0x0]=_0x2e58ba(0xf4),_0xbaa036[_0xbaa036[_0x2e58ba(0x185)]=0x1]=_0x2e58ba(0x185),_0xbaa036[_0xbaa036[_0x2e58ba(0x1b5)]=0x2]='UNIVER_SHEET',_0xbaa036[_0xbaa036[_0x2e58ba(0x1c7)]=0x3]=_0x2e58ba(0x1c7),_0xbaa036[_0xbaa036[_0x2e58ba(0x383)]=0x4]=_0x2e58ba(0x383),_0xbaa036[_0xbaa036[_0x2e58ba(0x129)]=-0x1]='UNRECOGNIZED',_0xbaa036))(Z||{}),G=(_0x260e80=>(_0x260e80[_0x260e80[_0x2e58ba(0x2c0)]=0x0]=_0x2e58ba(0x2c0),_0x260e80[_0x260e80[_0x2e58ba(0x3d3)]=0x1]='HELLO',_0x260e80[_0x260e80['JOIN']=0x2]=_0x2e58ba(0x272),_0x260e80[_0x260e80[_0x2e58ba(0x314)]=0x3]=_0x2e58ba(0x314),_0x260e80[_0x260e80[_0x2e58ba(0x157)]=0x4]='INGEST',_0x260e80[_0x260e80[_0x2e58ba(0x1d1)]=0x5]=_0x2e58ba(0x1d1),_0x260e80[_0x260e80[_0x2e58ba(0x1e2)]=0x6]=_0x2e58ba(0x1e2),_0x260e80[_0x260e80[_0x2e58ba(0x129)]=-0x1]=_0x2e58ba(0x129),_0x260e80))(G||{}),he=(_0x264ba4=>(_0x264ba4[_0x264ba4['UNKNOWN_CODE']=0x0]=_0x2e58ba(0x283),_0x264ba4[_0x264ba4['OK']=0x1]='OK',_0x264ba4[_0x264ba4['FAIL']=0x2]='FAIL',_0x264ba4[_0x264ba4['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x264ba4[_0x264ba4[_0x2e58ba(0x248)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x264ba4[_0x264ba4['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x264ba4[_0x264ba4['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x2e58ba(0xac),_0x264ba4[_0x264ba4[_0x2e58ba(0x129)]=-0x1]=_0x2e58ba(0x129),_0x264ba4))(he||{}),bt=(_0x122114=>(_0x122114[_0x122114[_0x2e58ba(0x2d1)]=0x0]=_0x2e58ba(0x2d1),_0x122114[_0x122114[_0x2e58ba(0x2ed)]=0x1]=_0x2e58ba(0x2ed),_0x122114[_0x122114[_0x2e58ba(0x1c1)]=0x2]=_0x2e58ba(0x1c1),_0x122114[_0x122114[_0x2e58ba(0x1e8)]=0x3]=_0x2e58ba(0x1e8),_0x122114[_0x122114[_0x2e58ba(0x168)]=0x4]='UnitSnapshot',_0x122114[_0x122114[_0x2e58ba(0x129)]=-0x1]=_0x2e58ba(0x129),_0x122114))(bt||{});const Y=_0x2e58ba(0x101),Ke={};var Q=(_0x11f966=>(_0x11f966[_0x2e58ba(0x276)]='OTHER_CLIENT_EDITING',_0x11f966[_0x2e58ba(0x34b)]='PERMISSION_DENIED',_0x11f966[_0x2e58ba(0x267)]=_0x2e58ba(0x267),_0x11f966['CLOSE_ROOM']=_0x2e58ba(0x1d4),_0x11f966[_0x2e58ba(0x24f)]='JOIN_ROOM_FAILED',_0x11f966['SOCKET_FAILED_RETRY']=_0x2e58ba(0x25c),_0x11f966['SOCKET_FAILED']=_0x2e58ba(0x1f2),_0x11f966[_0x2e58ba(0x23e)]='SUBMIT_CHANGESET_TIMEOUT',_0x11f966))(Q||{});class te{constructor(){var _0x27a3bb=_0x2e58ba;D(this,_0x27a3bb(0xe2),new H[(_0x27a3bb(0x254))]()),D(this,_0x27a3bb(0x1fe),this[_0x27a3bb(0xe2)]['asObservable']());}[_0x2e58ba(0xb4)](_0x514277){var _0x19b45d=_0x2e58ba;this[_0x19b45d(0xe2)][_0x19b45d(0x13e)](_0x514277);}}const Rt=a['createIdentifier'](_0x2e58ba(0x2c2));function Ot(_0x4718e2){var _0x52eb3a=_0x2e58ba,_0x381f1c,_0x1007b9,_0x4eeb6a,_0x11b280,_0x69db6;const _0x5d5b47=_0x4718e2[_0x52eb3a(0xa8)],_0x5f12ef=JSON['parse'](_0x5d5b47);switch(_0x5f12ef[_0x52eb3a(0x415)]){case G['HEARTBEAT']:case G[_0x52eb3a(0x3d3)]:{const _0x4c5342=_0x5f12ef['infoRsp'];return{..._0x5f12ef,'data':_0x4c5342,'cmd':_0x5f12ef[_0x52eb3a(0x415)]};}case G[_0x52eb3a(0x272)]:{const _0x5d7e9d=_0x5f12ef[_0x52eb3a(0x2ab)];return{..._0x5f12ef,'data':_0x5d7e9d,'cmd':_0x5f12ef[_0x52eb3a(0x415)]};}case G[_0x52eb3a(0x1e2)]:{const _0x4a4921=_0x5f12ef['collaMsg'];switch(_0x4a4921[_0x52eb3a(0x2a0)]){case m[_0x52eb3a(0x324)][_0x52eb3a(0x32e)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':(_0x381f1c=_0x4a4921[_0x52eb3a(0x187)])==null?void 0x0:_0x381f1c['cs']},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};case m[_0x52eb3a(0x324)][_0x52eb3a(0x154)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':(_0x1007b9=_0x4a4921[_0x52eb3a(0x333)])==null?void 0x0:_0x1007b9['cs']},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};case m['CollaborationEvent'][_0x52eb3a(0x406)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':(_0x4eeb6a=_0x4a4921[_0x52eb3a(0x10c)])==null?void 0x0:_0x4eeb6a['cs']},'cmd':_0x5f12ef['cmd']};case m[_0x52eb3a(0x324)]['CHANGESET_REJ']:return{..._0x5f12ef,'data':{..._0x4a4921,'data':(_0x11b280=_0x4a4921[_0x52eb3a(0xcd)])==null?void 0x0:_0x11b280['cs']},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};case m[_0x52eb3a(0x324)][_0x52eb3a(0x26a)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':(_0x69db6=_0x4a4921[_0x52eb3a(0x3b9)])==null?void 0x0:_0x69db6['cs']},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};case m['CollaborationEvent'][_0x52eb3a(0x309)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':_0x4a4921[_0x52eb3a(0x349)]},'cmd':_0x5f12ef['cmd']};case m[_0x52eb3a(0x324)][_0x52eb3a(0x40d)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':_0x4a4921[_0x52eb3a(0xe9)]},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};case m['CollaborationEvent'][_0x52eb3a(0x374)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':_0x4a4921['leaveEvent']},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};case m[_0x52eb3a(0x324)][_0x52eb3a(0xff)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':_0x4a4921[_0x52eb3a(0x265)]},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};case m['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:case m[_0x52eb3a(0x324)][_0x52eb3a(0x381)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':_0x4a4921['liveShareOperation']},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};case m[_0x52eb3a(0x324)][_0x52eb3a(0x133)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':_0x4a4921['liveShareNewHost']},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};case m['CollaborationEvent'][_0x52eb3a(0x418)]:return{..._0x5f12ef,'data':_0x4a4921,'cmd':_0x5f12ef['cmd']};case m['CollaborationEvent'][_0x52eb3a(0x2ef)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':_0x4a4921[_0x52eb3a(0x23f)]},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};case m[_0x52eb3a(0x324)][_0x52eb3a(0x1f6)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':_0x4a4921[_0x52eb3a(0x303)]},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};case m[_0x52eb3a(0x324)][_0x52eb3a(0x1dd)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':_0x4a4921['shouldCloseConn']},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};case m[_0x52eb3a(0x324)][_0x52eb3a(0x210)]:return{..._0x5f12ef,'data':{..._0x4a4921,'data':_0x4a4921[_0x52eb3a(0x36f)]},'cmd':_0x5f12ef[_0x52eb3a(0x415)]};default:return _0x5f12ef;}}default:return _0x5f12ef;}}function yt(_0x846491){var _0x2a0774=_0x2e58ba;switch(_0x846491['cmd']){case G[_0x2a0774(0x1d1)]:case G[_0x2a0774(0x3d3)]:return JSON['stringify']({'cmd':_0x846491['cmd'],'routeKey':_0x846491[_0x2a0774(0x22b)]});case G[_0x2a0774(0x157)]:{let _0x3dc270;switch(_0x846491[_0x2a0774(0xa8)][_0x2a0774(0x2a0)]){case m[_0x2a0774(0x324)][_0x2a0774(0x309)]:{_0x3dc270={'eventID':m[_0x2a0774(0x324)][_0x2a0774(0x309)],'updateCursorEvent':_0x846491['data']['data']};break;}case m['CollaborationEvent'][_0x2a0774(0x374)]:{_0x3dc270={'eventID':m[_0x2a0774(0x324)][_0x2a0774(0x374)],'leaveEvent':_0x846491[_0x2a0774(0xa8)][_0x2a0774(0xa8)]};break;}case m[_0x2a0774(0x324)]['USERS_ENTER']:{_0x3dc270={'eventID':m['CollaborationEvent'][_0x2a0774(0x40d)],'joinEvent':_0x846491['data']['data']};break;}case m[_0x2a0774(0x324)][_0x2a0774(0xff)]:{_0x3dc270={'eventID':m['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x846491['data'][_0x2a0774(0xa8)]};break;}case m[_0x2a0774(0x324)]['LIVESHARE_OPERATION']:{_0x3dc270={'eventID':m[_0x2a0774(0x324)][_0x2a0774(0x381)],'liveShareOperation':_0x846491[_0x2a0774(0xa8)][_0x2a0774(0xa8)]};break;}case m[_0x2a0774(0x324)][_0x2a0774(0x133)]:{_0x3dc270={'eventID':m['CollaborationEvent'][_0x2a0774(0x133)],'liveShareTerminate':_0x846491[_0x2a0774(0xa8)][_0x2a0774(0xa8)]};break;}case m[_0x2a0774(0x324)]['LIVESHARE_REQUEST_HOST']:{_0x3dc270={'eventID':m[_0x2a0774(0x324)][_0x2a0774(0x393)],'liveShareRequestHost':_0x846491[_0x2a0774(0xa8)]['data']};break;}case m[_0x2a0774(0x324)][_0x2a0774(0x2c7)]:{_0x3dc270={'eventID':m['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x3dc270={'eventID':_0x846491[_0x2a0774(0xa8)][_0x2a0774(0x2a0)]};}return JSON[_0x2a0774(0x402)]({'cmd':_0x846491['cmd'],'routeKey':_0x846491['routeKey'],'collaMsg':_0x3dc270});}case G[_0x2a0774(0x272)]:return JSON[_0x2a0774(0x402)]({'cmd':_0x846491['cmd'],'routeKey':_0x846491[_0x2a0774(0x22b)],'joinReq':_0x846491[_0x2a0774(0xa8)]});case G[_0x2a0774(0x314)]:return JSON[_0x2a0774(0x402)]({'cmd':_0x846491[_0x2a0774(0x415)],'routeKey':_0x846491[_0x2a0774(0x22b)],'leaveReq':_0x846491[_0x2a0774(0xa8)]});default:throw new Error(_0x2a0774(0x3f4));}}var Zt=Object[_0x2e58ba(0xf6)],Qt=Object[_0x2e58ba(0x188)],en=(_0x39ba0d,_0x1190a7,_0x26f992,_0x4ecc38)=>{var _0x2f20e6=_0x2e58ba;for(var _0x17026e=_0x4ecc38>0x1?void 0x0:_0x4ecc38?Qt(_0x1190a7,_0x26f992):_0x1190a7,_0x594aec=_0x39ba0d[_0x2f20e6(0x1d7)]-0x1,_0x8f79a5;_0x594aec>=0x0;_0x594aec--)(_0x8f79a5=_0x39ba0d[_0x594aec])&&(_0x17026e=(_0x4ecc38?_0x8f79a5(_0x1190a7,_0x26f992,_0x17026e):_0x8f79a5(_0x17026e))||_0x17026e);return _0x4ecc38&&_0x17026e&&Zt(_0x1190a7,_0x26f992,_0x17026e),_0x17026e;},ue=(_0x13b3a7,_0x3b43ee)=>(_0x11a243,_0x4e30b5)=>_0x3b43ee(_0x11a243,_0x4e30b5,_0x13b3a7);const ke=a['createIdentifier']('univer-pro.collaboration-client-socket-service');function tn(_0x165e10,_0xd6b249,_0x326568){var _0x5b77ec=_0x2e58ba;return _0x165e10+'/'+_0xd6b249+_0x5b77ec(0x370)+_0x326568+'/new_changes';}exports[_0x2e58ba(0xee)]=class extends a[_0x2e58ba(0x227)]{constructor(_0x165e9f,_0x50ca6e,_0x5ca4da,_0x158cd4,_0x5a781a){var _0x3772ae=_0x2e58ba;super(),this[_0x3772ae(0x386)]=_0x165e9f,this[_0x3772ae(0x32d)]=_0x50ca6e,this['_configService']=_0x5ca4da,this['_logService']=_0x158cd4,this[_0x3772ae(0xfa)]=_0x5a781a;}['createSocket'](_0x47625f){var _0x2e2ee5=_0x2e58ba;const _0x2787ff=this['_injector']['get'](q[_0x2e2ee5(0x255)]);if(!_0x2787ff)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x3ca561=_0x2787ff[_0x2e2ee5(0x273)](_0x47625f);if(!_0x3ca561)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x358335=new a[(_0x2e2ee5(0xd5))](),_0x2fe01a=new H[(_0x2e2ee5(0x254))]();_0x358335[_0x2e2ee5(0xe8)](_0x3ca561[_0x2e2ee5(0x3c2)]['subscribe'](_0x3fb4a2=>_0x2fe01a[_0x2e2ee5(0x13e)](_0x3fb4a2))),_0x358335[_0x2e2ee5(0xe8)](a[_0x2e2ee5(0x22e)](()=>_0x2fe01a[_0x2e2ee5(0x21b)]()));const _0x4fce64=new H[(_0x2e2ee5(0x254))]();_0x358335[_0x2e2ee5(0xe8)](_0x3ca561['error$'][_0x2e2ee5(0x355)](_0x7530c0=>_0x4fce64[_0x2e2ee5(0x13e)](_0x7530c0))),_0x358335['add'](a[_0x2e2ee5(0x22e)](()=>_0x4fce64['complete']()));const _0x46537f=new H['Subject']();_0x358335[_0x2e2ee5(0xe8)](_0x3ca561[_0x2e2ee5(0x308)]['subscribe'](_0x4af3bb=>{var _0x3721a1=_0x2e2ee5;const _0x5e55e4=Ot(_0x4af3bb);_0x46537f[_0x3721a1(0x13e)](_0x5e55e4);})),_0x358335[_0x2e2ee5(0xe8)](a[_0x2e2ee5(0x22e)](()=>_0x46537f[_0x2e2ee5(0x21b)]()));let _0x267746;const _0x24100f=()=>{var _0x5184f7=_0x2e2ee5;_0x4fce64[_0x5184f7(0x13e)](new Event('connection\x20error')),_0x2fe01a[_0x5184f7(0x13e)](new CloseEvent('connection\x20error')),_0x267746[_0x5184f7(0xef)]();};return _0x267746={'memberID':'','close$':_0x2fe01a['asObservable'](),'error$':_0x4fce64[_0x2e2ee5(0x407)](),'open$':_0x3ca561['open$'],'message$':_0x46537f['asObservable'](),'send':_0x21099f=>{var _0x210afc=_0x2e2ee5;if(_0x21099f[_0x210afc(0x415)]===G['INGEST']){if(_0x21099f[_0x210afc(0xa8)][_0x210afc(0x2a0)]===m[_0x210afc(0x324)][_0x210afc(0x2a8)]){this[_0x210afc(0x300)](_0x267746,_0x21099f[_0x210afc(0xa8)])['catch'](_0x2b12af=>{var _0x50ef2=_0x210afc;this[_0x50ef2(0x32a)][_0x50ef2(0x215)](_0x2b12af),_0x24100f();});return;}if(_0x21099f[_0x210afc(0xa8)][_0x210afc(0x2a0)]===m[_0x210afc(0x324)][_0x210afc(0x1df)]){const _0x20fb46=_0x21099f[_0x210afc(0xa8)];this[_0x210afc(0x2b6)](_0x20fb46)['then'](_0x5347cd=>{var _0x4a9a66=_0x210afc;_0x46537f['next']({'cmd':G['RECV'],'code':he['OK'],'routeKey':_0x20fb46['data'][_0x4a9a66(0x16e)],'routeType':'','data':{'eventID':m[_0x4a9a66(0x324)][_0x4a9a66(0x338)],'data':{'changesets':_0x5347cd}}});})[_0x210afc(0x2e1)](_0x2302d2=>{var _0x436e25=_0x210afc;this[_0x436e25(0x32a)][_0x436e25(0x215)](_0x2302d2),_0x24100f();});return;}}_0x3ca561[_0x210afc(0x326)](yt(_0x21099f));},'close':()=>{var _0x309544=_0x2e2ee5;_0x3ca561[_0x309544(0xef)](),_0x358335[_0x309544(0x17c)]();}},_0x267746;}async['_submitChangeset'](_0x12eded,_0x1d31f6){var _0x30dba7=_0x2e58ba,_0x56f76e,_0x397c63;const {unitType:_0x3c3d9e,unitID:_0x442163,changeset:_0x3033eb}=_0x1d31f6[_0x30dba7(0xa8)],_0x1edae7={'unitID':_0x442163,'memberID':_0x12eded['memberID'],'type':_0x3c3d9e,'changeset':m[_0x30dba7(0x2c4)](_0x3033eb)},_0x4a9521=this[_0x30dba7(0xa1)][_0x30dba7(0x3d6)](Et),_0x3e1da3=this[_0x30dba7(0xa1)][_0x30dba7(0x3d6)](Y),_0x356822=tn((_0x397c63=(_0x56f76e=_0x3e1da3==null?void 0x0:_0x3e1da3[_0x30dba7(0xdd)])!=null?_0x56f76e:_0x4a9521)!=null?_0x397c63:qt,_0x3c3d9e,_0x442163);try{await this[_0x30dba7(0x32d)][_0x30dba7(0x405)](_0x356822,{'body':_0x1edae7});}catch(_0x29d0df){throw this[_0x30dba7(0x32a)][_0x30dba7(0x215)](_0x30dba7(0xec),'submit\x20changeset\x20error!'),_0x29d0df;}}async[_0x2e58ba(0x2b6)](_0x360959){var _0x1ece7e=_0x2e58ba;const {unitID:_0x1af2f8,from:_0x32bdc5,to:_0x18779d,unitType:_0x18216b}=_0x360959[_0x1ece7e(0xa8)];return(await this[_0x1ece7e(0xfa)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x1af2f8,'type':_0x18216b,'from':_0x32bdc5,'to':_0x18779d}))['changesets'];}},exports[_0x2e58ba(0xee)]=en([ue(0x0,a['Inject'](a[_0x2e58ba(0x302)])),ue(0x1,a[_0x2e58ba(0x2dc)](q['HTTPService'])),ue(0x2,a[_0x2e58ba(0x12d)]),ue(0x3,a[_0x2e58ba(0x376)]),ue(0x4,m[_0x2e58ba(0xc4)])],exports[_0x2e58ba(0xee)]);const nn=_0x2e58ba(0x394);function rn(_0x18809f){var _0x4072e6=_0x2e58ba;return JSON[_0x4072e6(0x402)](_0x18809f)[_0x4072e6(0x1d7)];}class Be{constructor(){var _0x3904e4=_0x2e58ba;D(this,'_commentUpdate$',new H[(_0x3904e4(0x254))]()),D(this,'commentUpdate$',this['_commentUpdate$'][_0x3904e4(0x407)]());}[_0x2e58ba(0x94)](_0x5d3853){var _0x5cd077=_0x2e58ba;this['_commentUpdate$'][_0x5cd077(0x13e)](_0x5d3853);}}var sn=Object[_0x2e58ba(0xf6)],on=Object['getOwnPropertyDescriptor'],an=(_0x1f3fe8,_0x27dd74,_0x1eb124,_0x2dce49)=>{var _0x1fefca=_0x2e58ba;for(var _0x47bc68=_0x2dce49>0x1?void 0x0:_0x2dce49?on(_0x27dd74,_0x1eb124):_0x27dd74,_0x2aa832=_0x1f3fe8[_0x1fefca(0x1d7)]-0x1,_0xdbb4b0;_0x2aa832>=0x0;_0x2aa832--)(_0xdbb4b0=_0x1f3fe8[_0x2aa832])&&(_0x47bc68=(_0x2dce49?_0xdbb4b0(_0x27dd74,_0x1eb124,_0x47bc68):_0xdbb4b0(_0x47bc68))||_0x47bc68);return _0x2dce49&&_0x47bc68&&sn(_0x27dd74,_0x1eb124,_0x47bc68),_0x47bc68;},Ye=(_0x17181a,_0xd2067b)=>(_0x1767bb,_0x29b29a)=>_0xd2067b(_0x1767bb,_0x29b29a,_0x17181a);exports[_0x2e58ba(0x3b7)]=class extends a['Disposable']{constructor(_0xcfdb3,_0xc88e34){var _0x223a3d=_0x2e58ba;super(),D(this,_0x223a3d(0x21d),new Map()),D(this,_0x223a3d(0x38c),new H['Subject']()),(this[_0x223a3d(0x240)]=_0xcfdb3,this[_0x223a3d(0x1e6)]=_0xc88e34,this['disposeWithMe'](H[_0x223a3d(0x29a)](this[_0x223a3d(0x240)][_0x223a3d(0x12e)](a[_0x223a3d(0x32f)]['UNIVER_SHEET'])[_0x223a3d(0x22f)](W[_0x223a3d(0x39f)](_0x51bf2d=>_0x51bf2d[_0x223a3d(0x20f)]())),this['_univerInstanceService'][_0x223a3d(0x12e)](a[_0x223a3d(0x32f)][_0x223a3d(0x185)])[_0x223a3d(0x22f)](W['map'](_0x525735=>_0x525735['getUnitId']())),this[_0x223a3d(0x240)]['getTypeOfUnitDisposed$'](a[_0x223a3d(0x32f)][_0x223a3d(0x1c7)])['pipe'](W[_0x223a3d(0x39f)](_0x39ef2d=>_0x39ef2d['getUnitId']())))['subscribe'](_0x6dc8b7=>this['_removeRoom'](_0x6dc8b7))));}[_0x2e58ba(0x270)](_0x39b243){var _0x4903b6=_0x2e58ba;return this['_roomMembers'][_0x4903b6(0x2ae)](_0x39b243)?H['of'](this[_0x4903b6(0x21d)][_0x4903b6(0x357)](_0x39b243)):this[_0x4903b6(0x38c)][_0x4903b6(0x22f)](W[_0x4903b6(0x39f)](_0x2468dd=>{var _0x321303=_0x4903b6;if(_0x2468dd===_0x39b243)return this[_0x321303(0x21d)][_0x321303(0x357)](_0x2468dd);}));}['setCurrentUser'](_0x50b8da){var _0x354115=_0x2e58ba;this[_0x354115(0x1e6)][_0x354115(0x31c)](_0x50b8da);}[_0x2e58ba(0xae)](){var _0x79a714=_0x2e58ba;return this[_0x79a714(0x1e6)][_0x79a714(0xae)]();}[_0x2e58ba(0x201)](_0x489da8,_0x4ffc84){var _0x16aea5=_0x2e58ba;let _0x92e0fc=this['_roomMembers']['get'](_0x489da8);_0x92e0fc||(_0x92e0fc=new cn(),this[_0x16aea5(0x21d)][_0x16aea5(0x10b)](_0x489da8,_0x92e0fc),this[_0x16aea5(0x38c)][_0x16aea5(0x13e)](_0x489da8)),_0x92e0fc[_0x16aea5(0x201)](_0x4ffc84);}[_0x2e58ba(0x12a)](_0x13cb3f,_0x1d8370){var _0x31e8dd=_0x2e58ba;const _0x1ccbeb=this[_0x31e8dd(0x21d)][_0x31e8dd(0x357)](_0x13cb3f);_0x1ccbeb&&_0x1ccbeb[_0x31e8dd(0x12a)](_0x1d8370);}['getRoom'](_0x3999e0){var _0xbfd432=_0x2e58ba;return this[_0xbfd432(0x21d)][_0xbfd432(0x357)](_0x3999e0);}[_0x2e58ba(0x401)](_0x50fe92,_0x2b43c6){var _0x472e28=_0x2e58ba;const _0x79233e=this[_0x472e28(0x21d)][_0x472e28(0x357)](_0x50fe92);if(_0x79233e)return _0x79233e[_0x472e28(0x401)](_0x2b43c6);}[_0x2e58ba(0x231)](_0x45875f){var _0x1e43f3=_0x2e58ba;const _0x58ce72=this[_0x1e43f3(0x21d)][_0x1e43f3(0x357)](_0x45875f);_0x58ce72&&(_0x58ce72[_0x1e43f3(0x17c)](),this['_roomMembers'][_0x1e43f3(0xda)](_0x45875f));}[_0x2e58ba(0x17c)](){var _0xcd2a48=_0x2e58ba;this[_0xcd2a48(0x21d)][_0xcd2a48(0x2fe)](_0x41b9ff=>_0x41b9ff[_0xcd2a48(0x17c)]()),this[_0xcd2a48(0x21d)][_0xcd2a48(0x11c)](),this[_0xcd2a48(0x38c)][_0xcd2a48(0x21b)]();}},exports['MemberService']=an([Ye(0x0,a[_0x2e58ba(0x1f5)]),Ye(0x1,a[_0x2e58ba(0x2dc)](a['UserManagerService']))],exports[_0x2e58ba(0x3b7)]);class cn extends a[_0x2e58ba(0x227)]{constructor(){var _0x3aff50=_0x2e58ba;super(...arguments),D(this,_0x3aff50(0x211),new Map()),D(this,_0x3aff50(0x321),new H[(_0x3aff50(0xb9))](this['_members'])),D(this,_0x3aff50(0xb0),this[_0x3aff50(0x321)][_0x3aff50(0x407)]());}[_0x2e58ba(0x17c)](){var _0x58d9e3=_0x2e58ba;this[_0x58d9e3(0x211)][_0x58d9e3(0x11c)]();}[_0x2e58ba(0x201)](_0x21dd15){var _0x696ef=_0x2e58ba;this['_members'][_0x696ef(0x10b)](_0x21dd15[_0x696ef(0x200)],_0x21dd15),this[_0x696ef(0x342)]();}[_0x2e58ba(0x12a)](_0x5354bc){var _0x13e066=_0x2e58ba;this[_0x13e066(0x211)]['delete'](_0x5354bc);}[_0x2e58ba(0x401)](_0x3e03d9){var _0x43b549=_0x2e58ba;return this[_0x43b549(0x211)][_0x43b549(0x357)](_0x3e03d9);}[_0x2e58ba(0x37a)](){var _0x1f7af3=_0x2e58ba;return Array[_0x1f7af3(0x332)](this[_0x1f7af3(0x211)][_0x1f7af3(0x307)]());}['_emitMembers'](){var _0x347c0a=_0x2e58ba;this['_members$'][_0x347c0a(0x13e)](this[_0x347c0a(0x211)]);}}var hn=Object[_0x2e58ba(0xf6)],ln=Object[_0x2e58ba(0x188)],_n=(_0x27850a,_0x117e4a,_0x80682a,_0x2cf9c1)=>{var _0x27d619=_0x2e58ba;for(var _0x171d46=_0x2cf9c1>0x1?void 0x0:_0x2cf9c1?ln(_0x117e4a,_0x80682a):_0x117e4a,_0x185e6a=_0x27850a[_0x27d619(0x1d7)]-0x1,_0x2dd6e2;_0x185e6a>=0x0;_0x185e6a--)(_0x2dd6e2=_0x27850a[_0x185e6a])&&(_0x171d46=(_0x2cf9c1?_0x2dd6e2(_0x117e4a,_0x80682a,_0x171d46):_0x2dd6e2(_0x171d46))||_0x171d46);return _0x2cf9c1&&_0x171d46&&hn(_0x117e4a,_0x80682a,_0x171d46),_0x171d46;},oe=(_0x5badf4,_0x5f2f79)=>(_0x175a0a,_0x4a2353)=>_0x5f2f79(_0x175a0a,_0x4a2353,_0x5badf4),se=(_0x2337c0=>(_0x2337c0[_0x2337c0[_0x2e58ba(0xb7)]=0x0]='IDLE',_0x2337c0[_0x2337c0['JOINING']=0x1]=_0x2e58ba(0x2c6),_0x2337c0[_0x2337c0[_0x2e58ba(0x3de)]=0x2]=_0x2e58ba(0x3de),_0x2337c0[_0x2337c0[_0x2e58ba(0x411)]=0x3]=_0x2e58ba(0x411),_0x2337c0))(se||{});const qe={[he[_0x2e58ba(0x25d)]]:_0x2e58ba(0x193),[he[_0x2e58ba(0x19e)]]:_0x2e58ba(0xd6),[he[_0x2e58ba(0x248)]]:_0x2e58ba(0x222),[he[_0x2e58ba(0x32c)]]:_0x2e58ba(0x111),[he[_0x2e58ba(0xac)]]:_0x2e58ba(0x184)};exports['CollaborationSession']=class extends a[_0x2e58ba(0x2ec)]{constructor(_0x46c34d,_0x15394b,_0x293852,_0x2044cb,_0x2de2d4,_0x4d8797,_0x2b160e,_0x4d8b99,_0x26e2d9){var _0x51f70e=_0x2e58ba;super(),D(this,'_sessionStatus$',new H['BehaviorSubject'](0x0)),D(this,_0x51f70e(0x416),this[_0x51f70e(0x159)][_0x51f70e(0x407)]()),D(this,_0x51f70e(0xe2),new H[(_0x51f70e(0x254))]()),D(this,_0x51f70e(0x1fe),this[_0x51f70e(0xe2)][_0x51f70e(0x407)]()),D(this,'_socket'),D(this,_0x51f70e(0x3b6)),D(this,'_collaborationTimeoutTimer'),D(this,'_shouldReportTelemetry',!0x1),D(this,'_telemetryInfo',null),(this[_0x51f70e(0x36a)]=_0x46c34d,this[_0x51f70e(0x32a)]=_0x293852,this[_0x51f70e(0xa1)]=_0x2044cb,this[_0x51f70e(0x2c5)]=_0x2de2d4,this[_0x51f70e(0x186)]=_0x4d8797,this[_0x51f70e(0x192)]=_0x2b160e,this[_0x51f70e(0x3fd)]=_0x4d8b99,this[_0x51f70e(0x12b)]=_0x26e2d9,this[_0x51f70e(0x317)]=!!this['_telemetryService'],_0x15394b['pipe'](H[_0x51f70e(0x1f7)](this[_0x51f70e(0x1f3)]))[_0x51f70e(0x355)](_0x2fda9b=>{var _0x4ffb2c=_0x51f70e,_0x514d96;typeof _0x2fda9b>'u'||(this[_0x4ffb2c(0x19a)]=_0x2fda9b,_0x2fda9b?(this['_joinRoom'](_0x2fda9b),this[_0x4ffb2c(0x3b6)]=_0x2fda9b[_0x4ffb2c(0x308)][_0x4ffb2c(0x355)](_0x3680c7=>{var _0x59d260=_0x4ffb2c;_0x3680c7[_0x59d260(0x22b)]===this[_0x59d260(0x36a)]&&this[_0x59d260(0x2bd)](_0x3680c7);})):(this[_0x4ffb2c(0x160)](),this[_0x4ffb2c(0x159)][_0x4ffb2c(0x13e)](0x2),(_0x514d96=this['_socketMessageSubscription'])==null||_0x514d96[_0x4ffb2c(0x218)](),this[_0x4ffb2c(0x3b6)]=null));}));}get['sessionStatus'](){var _0x32e54c=_0x2e58ba;return this['_sessionStatus$'][_0x32e54c(0x95)]();}[_0x2e58ba(0x2a3)](){var _0x22a2d7=_0x2e58ba,_0x3cf77c,_0x1567f9;return(_0x1567f9=(_0x3cf77c=this['_socket'])==null?void 0x0:_0x3cf77c[_0x22a2d7(0x200)])!=null?_0x1567f9:null;}[_0x2e58ba(0x17c)](){var _0x25bff9=_0x2e58ba;super[_0x25bff9(0x17c)](),this[_0x25bff9(0x1f3)][_0x25bff9(0x13e)](),this[_0x25bff9(0x1f3)][_0x25bff9(0x21b)]();}[_0x2e58ba(0xef)](){var _0x1ec497=_0x2e58ba,_0x1aa2cb,_0x51006;this[_0x1ec497(0x160)](),(_0x1aa2cb=this[_0x1ec497(0x19a)])==null||_0x1aa2cb[_0x1ec497(0x326)]({'cmd':G['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x51006=this['_socket'])==null||_0x51006['close'](),this[_0x1ec497(0xe2)][_0x1ec497(0x21b)](),this[_0x1ec497(0x159)][_0x1ec497(0x21b)](),this[_0x1ec497(0x17c)]();}[_0x2e58ba(0x2bd)](_0x29a1ea){var _0x15bd94=_0x2e58ba;_0x29a1ea['cmd']===G['JOIN']?this[_0x15bd94(0xd2)](_0x29a1ea):_0x29a1ea[_0x15bd94(0x415)]===G[_0x15bd94(0x1e2)]&&this['_onRecvEvent'](_0x29a1ea);}['_joinRoom'](_0x213349){var _0x32bda3=_0x2e58ba;this['_sessionStatus$'][_0x32bda3(0x13e)](0x1),_0x213349[_0x32bda3(0x326)]({'cmd':G['JOIN'],'routeKey':this[_0x32bda3(0x36a)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x2e58ba(0xd2)](_0x5505b8){var _0x170a36=_0x2e58ba,_0x44b613;if(_0x5505b8[_0x170a36(0x35a)]in qe){this['_collaborationUIEventService'][_0x170a36(0xb4)]({'id':Q[_0x170a36(0x24f)],'data':qe[_0x5505b8['code']]}),this[_0x170a36(0x159)][_0x170a36(0x13e)](0x2);return;}this[_0x170a36(0x159)][_0x170a36(0x13e)](0x3);const _0x1878ac=(_0x44b613=_0x5505b8[_0x170a36(0xa8)][_0x170a36(0x2a7)][this['_unitID']])==null?void 0x0:_0x44b613[_0x170a36(0xc0)];_0x1878ac&&_0x1878ac[_0x170a36(0x2fe)](_0x497784=>this[_0x170a36(0x186)][_0x170a36(0x201)](this['_unitID'],_0x497784));}[_0x2e58ba(0x3f6)](_0x4d3f11){var _0x191095=_0x2e58ba;try{const _0x3b57e7=_0x4d3f11[_0x191095(0xa8)];switch(_0x3b57e7['eventID']){case m[_0x191095(0x324)][_0x191095(0x40d)]:this['_onUserJoin'](_0x3b57e7),this[_0x191095(0xe2)][_0x191095(0x13e)](_0x3b57e7);break;case m[_0x191095(0x324)][_0x191095(0x374)]:this['_onUserLeave'](_0x3b57e7),this[_0x191095(0xe2)][_0x191095(0x13e)](_0x3b57e7);break;case m[_0x191095(0x324)][_0x191095(0x154)]:case m['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:this[_0x191095(0x40c)](),this[_0x191095(0x21a)](),this[_0x191095(0xe2)]['next'](_0x3b57e7);break;case m[_0x191095(0x324)]['MSG_FOR_ERROR']:this[_0x191095(0x32a)][_0x191095(0x215)](_0x191095(0x341)+JSON[_0x191095(0x402)](_0x3b57e7)),this['_event$'][_0x191095(0x13e)](_0x3b57e7);break;case m[_0x191095(0x324)][_0x191095(0x2ef)]:this[_0x191095(0x192)][_0x191095(0x94)](_0x3b57e7[_0x191095(0xa8)]),this['_event$'][_0x191095(0x13e)](_0x3b57e7);break;default:this[_0x191095(0xe2)][_0x191095(0x13e)](_0x3b57e7);}}catch(_0x329a2e){this[_0x191095(0x32a)][_0x191095(0x215)](_0x329a2e,_0x4d3f11);}}[_0x2e58ba(0x21f)](_0xffec88){var _0xff4a6e=_0x2e58ba;this[_0xff4a6e(0x186)]['updateMember'](this[_0xff4a6e(0x36a)],_0xffec88[_0xff4a6e(0xa8)]);}[_0x2e58ba(0x104)](_0x5818dd){var _0x51870e=_0x2e58ba;this[_0x51870e(0x186)][_0x51870e(0x12a)](this[_0x51870e(0x36a)],_0x5818dd[_0x51870e(0xa8)]['memberID']);}async['send'](_0x2aa408,_0x3a59e7){var _0x4414a9=_0x2e58ba;if(this[_0x4414a9(0x212)]!==0x3||!this['_socket'])throw new Error(_0x4414a9(0x3b5));try{_0x2aa408[_0x4414a9(0x2a0)]===m[_0x4414a9(0x324)][_0x4414a9(0x2a8)]&&(this[_0x4414a9(0x1d2)](),this['_startTelemetryCollaborationNewChangeset'](_0x2aa408)),this[_0x4414a9(0x19a)][_0x4414a9(0x326)]({'cmd':G[_0x4414a9(0x157)],'routeKey':_0x3a59e7,'routeType':'','data':_0x2aa408});}catch(_0x3ea1e1){this[_0x4414a9(0x32a)]['error'](_0x3ea1e1);}}['_scheduleCollaborationTimeoutTimer'](){var _0x43a9b2=_0x2e58ba,_0x250ccb;this[_0x43a9b2(0x37b)]=setTimeout(()=>{var _0x340d43=_0x43a9b2;this[_0x340d43(0x37b)]=null,this[_0x340d43(0x3fd)][_0x340d43(0xb4)]({'id':Q[_0x340d43(0x23e)]});},(_0x250ccb=this[_0x43a9b2(0xa1)][_0x43a9b2(0x3d6)](He))!=null?_0x250ccb:gt);}[_0x2e58ba(0x21a)](){var _0x29c0a0=_0x2e58ba;this[_0x29c0a0(0x37b)]&&(clearTimeout(this[_0x29c0a0(0x37b)]),this[_0x29c0a0(0x37b)]=null);}[_0x2e58ba(0xb6)](_0x388cee){var _0x4cf355=_0x2e58ba;if(!this[_0x4cf355(0x317)])return;const {data:_0x13ab57}=_0x388cee,{unitID:_0x408692,changeset:_0x465fc1}=_0x13ab57,{mutations:_0xae5cbf,type:_0x226ddd}=_0x465fc1;this[_0x4cf355(0x3e8)]={'unitId':_0x408692,'type':_0x226ddd,'startTime':performance[_0x4cf355(0x395)](),'stopTime':0x0,'duration':0x0,'size':rn(_0xae5cbf)};}[_0x2e58ba(0x40c)](){var _0xb0697f=_0x2e58ba;if(this[_0xb0697f(0x317)]){if(!this[_0xb0697f(0x3e8)]){this[_0xb0697f(0x32a)][_0xb0697f(0x215)](_0xb0697f(0xec),_0xb0697f(0x2f6));return;}this[_0xb0697f(0x3e8)][_0xb0697f(0x1a4)]=performance[_0xb0697f(0x395)](),this[_0xb0697f(0x3e8)]['duration']=this['_telemetryInfo'][_0xb0697f(0x1a4)]-this['_telemetryInfo'][_0xb0697f(0x241)],this[_0xb0697f(0x12b)][_0xb0697f(0x1a8)](nn,this[_0xb0697f(0x3e8)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}},exports[_0x2e58ba(0x29f)]=_n([oe(0x2,a[_0x2e58ba(0x376)]),oe(0x3,a[_0x2e58ba(0x12d)]),oe(0x4,a[_0x2e58ba(0x2dc)](a[_0x2e58ba(0x346)])),oe(0x5,a[_0x2e58ba(0x2dc)](exports['MemberService'])),oe(0x6,a[_0x2e58ba(0x2dc)](Be)),oe(0x7,a[_0x2e58ba(0x2dc)](te)),oe(0x8,a[_0x2e58ba(0x1c2)](jt[_0x2e58ba(0x22c)]))],exports[_0x2e58ba(0x29f)]);function _0x2768(_0xe08354,_0x30cb12){var _0x296300=_0x2963();return _0x2768=function(_0x276836,_0x121fea){_0x276836=_0x276836-0x93;var _0x3286d3=_0x296300[_0x276836];return _0x3286d3;},_0x2768(_0xe08354,_0x30cb12);}var un=Object[_0x2e58ba(0xf6)],dn=Object[_0x2e58ba(0x188)],vn=(_0x5137d2,_0x901c08,_0xadee09,_0x3178bf)=>{for(var _0x41a7bf=_0x3178bf>0x1?void 0x0:_0x3178bf?dn(_0x901c08,_0xadee09):_0x901c08,_0x448eda=_0x5137d2['length']-0x1,_0x3fb727;_0x448eda>=0x0;_0x448eda--)(_0x3fb727=_0x5137d2[_0x448eda])&&(_0x41a7bf=(_0x3178bf?_0x3fb727(_0x901c08,_0xadee09,_0x41a7bf):_0x3fb727(_0x41a7bf))||_0x41a7bf);return _0x3178bf&&_0x41a7bf&&un(_0x901c08,_0xadee09,_0x41a7bf),_0x41a7bf;},ae=(_0x1fd3c0,_0x35d234)=>(_0x1f738d,_0x16df41)=>_0x35d234(_0x1f738d,_0x16df41,_0x1fd3c0);exports[_0x2e58ba(0x181)]=class extends a[_0x2e58ba(0x227)]{constructor(_0x427853,_0x24a07c,_0x1fd2c6,_0x1e1fc5,_0x3bd1b2,_0x1fc98b,_0x86c40b){var _0x31e282=_0x2e58ba;super(),D(this,_0x31e282(0xe0),new H[(_0x31e282(0xb9))](void 0x0)),D(this,'socket$',this[_0x31e282(0xe0)][_0x31e282(0x407)]()),D(this,_0x31e282(0x2fa),null),D(this,_0x31e282(0x3c1),new Map()),D(this,_0x31e282(0x191),new H['BehaviorSubject'](se[_0x31e282(0xb7)])),D(this,_0x31e282(0x27d),this[_0x31e282(0x191)][_0x31e282(0x407)]()),D(this,_0x31e282(0xd3),!0x1),D(this,_0x31e282(0x16b)),D(this,_0x31e282(0x202),0x0),D(this,_0x31e282(0x35f)),D(this,_0x31e282(0x27a)),(this[_0x31e282(0x386)]=_0x427853,this[_0x31e282(0x32a)]=_0x24a07c,this[_0x31e282(0xa1)]=_0x1fd2c6,this['_socketService']=_0x1e1fc5,this[_0x31e282(0x353)]=_0x3bd1b2,this[_0x31e282(0x3fd)]=_0x1fc98b,this['_networkConditionService']=_0x86c40b,this[_0x31e282(0x1a5)]());}get[_0x2e58ba(0x19a)](){var _0x1be316=_0x2e58ba;return this['_socket$'][_0x1be316(0x95)]();}[_0x2e58ba(0x1a5)](){var _0x52e53b=_0x2e58ba;this['_networkConditionService']&&this['disposeWithMe'](this['_networkConditionService']['online$'][_0x52e53b(0x355)](_0x318faa=>{var _0x32d8de=_0x52e53b;_0x318faa&&!this[_0x32d8de(0x19a)]&&this[_0x32d8de(0xcc)](),_0x318faa||this[_0x32d8de(0x1e1)]();}));}['dispose'](){var _0x54b2b1=_0x2e58ba;super[_0x54b2b1(0x17c)](),this[_0x54b2b1(0x3c1)]['forEach'](_0xf865c3=>_0xf865c3[_0x54b2b1(0x17c)]()),this[_0x54b2b1(0x3c1)]['clear'](),this[_0x54b2b1(0x191)][_0x54b2b1(0x21b)]();}async[_0x2e58ba(0x388)](_0x13136c){var _0x26dff1=_0x2e58ba;if(this[_0x26dff1(0x3c1)][_0x26dff1(0x2ae)](_0x13136c))return this[_0x26dff1(0x3c1)][_0x26dff1(0x357)](_0x13136c);this[_0x26dff1(0x389)]();const _0x1d1165=this['_injector']['createInstance'](exports['CollaborationSession'],_0x13136c,this['_socket$']['asObservable']());return this[_0x26dff1(0x3c1)][_0x26dff1(0x10b)](_0x13136c,_0x1d1165),_0x1d1165;}[_0x2e58ba(0x232)](_0x2a58a2){var _0x2b26fa=_0x2e58ba,_0x27aaf8;const _0x4b0ad0=this['_sessions'][_0x2b26fa(0x357)](_0x2a58a2);_0x4b0ad0&&(this['_sessions'][_0x2b26fa(0xda)](_0x2a58a2),_0x4b0ad0[_0x2b26fa(0xef)]()),this['_sessions'][_0x2b26fa(0x3cd)]||(_0x27aaf8=this[_0x2b26fa(0x19a)])==null||_0x27aaf8[_0x2b26fa(0xef)]();}['reconnect'](){var _0xa6229a=_0x2e58ba;this['_retryCount']=0x0,this[_0xa6229a(0x16b)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0xa6229a(0x16b)]=null),this[_0xa6229a(0x19b)]();}async['_getSessionTicket'](){var _0x5d076e=_0x2e58ba,_0x174350,_0x1cc116,_0x37a49d;const _0x92aacb=this['_configService'][_0x5d076e(0x3d6)](Y),_0x9ac100=(_0x174350=_0x92aacb==null?void 0x0:_0x92aacb[_0x5d076e(0x325)])!=null?_0x174350:Ft;return(_0x37a49d=(_0x1cc116=(await this['_httpService'][_0x5d076e(0x357)](_0x9ac100,{'headers':{'Content-Type':_0x5d076e(0x34a)}}))[_0x5d076e(0x1ca)])==null?void 0x0:_0x1cc116[_0x5d076e(0x3f8)])!=null?_0x37a49d:'';}[_0x2e58ba(0x177)](_0x9cf8bc){var _0x46e39f=_0x2e58ba,_0x3b60a0,_0x4f3a02;const _0x254a5c=this[_0x46e39f(0xa1)][_0x46e39f(0x3d6)](St),_0x255afe=this[_0x46e39f(0xa1)][_0x46e39f(0x3d6)](Y),_0x58344c=(_0x4f3a02=(_0x3b60a0=_0x255afe==null?void 0x0:_0x255afe[_0x46e39f(0x139)])!=null?_0x3b60a0:_0x254a5c)!=null?_0x4f3a02:pt,_0x4ac4d7=typeof window>'u'?new URL(_0x58344c):new URL(_0x58344c,window['location']['origin']);_0x4ac4d7[_0x46e39f(0x269)]['set'](_0x46e39f(0x1e7),_0x9cf8bc);const _0x33fba2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x46e39f(0x176)][_0x46e39f(0x322)]);return _0x33fba2['get']('runId')&&_0x4ac4d7[_0x46e39f(0x269)]['set'](_0x46e39f(0x280),_0x33fba2[_0x46e39f(0x357)](_0x46e39f(0x280))),_0x4ac4d7['toString']();}async[_0x2e58ba(0x299)](){var _0x3bea82=_0x2e58ba;const _0x431634=await this[_0x3bea82(0x233)](),_0x3e2307=this['_createSocketURL'](_0x431634),_0x8723dd=this['_socketService'][_0x3bea82(0x273)](_0x3e2307);return this[_0x3bea82(0x2fa)]=_0x8723dd,_0x8723dd;}async[_0x2e58ba(0x389)](){var _0x2556e0=_0x2e58ba,_0x12f596,_0x4954ef;try{const _0x56ca5a=(_0x4954ef=(_0x12f596=this[_0x2556e0(0x19a)])!=null?_0x12f596:this[_0x2556e0(0x2fa)])!=null?_0x4954ef:await this[_0x2556e0(0x299)]();if(_0x56ca5a){const _0x277c02=_0x56ca5a[_0x2556e0(0x326)];_0x56ca5a['send']=_0xbab024=>(this['_rescheduleHeartbeat'](),_0x277c02['apply'](_0x56ca5a,[_0xbab024])),_0x56ca5a[_0x2556e0(0x308)][_0x2556e0(0x355)](_0x51b1ce=>this['_onMessage'](_0x56ca5a,_0x51b1ce)),_0x56ca5a[_0x2556e0(0x28d)]['pipe'](W[_0x2556e0(0x2e7)](0x1))[_0x2556e0(0x355)](_0x23024=>this[_0x2556e0(0x32a)][_0x2556e0(0x215)](_0x2556e0(0x31e),_0x23024)),_0x56ca5a[_0x2556e0(0x403)][_0x2556e0(0x22f)](W['take'](0x1))[_0x2556e0(0x355)](()=>{var _0x5a4364=_0x2556e0;this[_0x5a4364(0x169)](_0x56ca5a);}),_0x56ca5a[_0x2556e0(0x3c2)][_0x2556e0(0x22f)](W[_0x2556e0(0x2e7)](0x1))[_0x2556e0(0x355)](_0x345b1e=>{var _0x26eae4=_0x2556e0;this[_0x26eae4(0x32a)][_0x26eae4(0x330)](_0x26eae4(0xbd),'socket\x20close',_0x345b1e),this[_0x26eae4(0x150)]();});}}catch(_0x36dd00){this[_0x2556e0(0x32a)]['error'](_0x36dd00),this[_0x2556e0(0x150)]();}}[_0x2e58ba(0x169)](_0x14c137){var _0x22e67c=_0x2e58ba;this[_0x22e67c(0x32a)][_0x22e67c(0x330)](_0x22e67c(0xbd),_0x22e67c(0x1a0)),_0x14c137[_0x22e67c(0x326)]({'cmd':G[_0x22e67c(0x3d3)]}),this[_0x22e67c(0xad)]();}['_onOffline'](){var _0x43b293=_0x2e58ba;this[_0x43b293(0xd3)]=!0x1,this[_0x43b293(0x2fa)]=null,this[_0x43b293(0x191)][_0x43b293(0x13e)](se[_0x43b293(0x3de)]),this['_socket$'][_0x43b293(0x13e)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x2e58ba(0x150)](){var _0x34088d=_0x2e58ba,_0xf19a62;this[_0x34088d(0x1e1)](),this['_retryCount']<((_0xf19a62=this[_0x34088d(0xa1)][_0x34088d(0x3d6)](It))!=null?_0xf19a62:Vt)?(this[_0x34088d(0x3fd)][_0x34088d(0xb4)]({'id':Q['SOCKET_FAILED_RETRY']}),this[_0x34088d(0x19b)]()):this[_0x34088d(0x3fd)]['emitEvent']({'id':Q[_0x34088d(0x1f2)]});}[_0x2e58ba(0x19b)](){var _0x2c7b6e=_0x2e58ba,_0x1180d2;const _0x32621c=this['_retryCount'],_0x23e24b=this[_0x2c7b6e(0xa1)][_0x2c7b6e(0x3d6)](Y),_0x1d3fa2=_0x32621c===0x0?0x0:((_0x1180d2=_0x23e24b==null?void 0x0:_0x23e24b[_0x2c7b6e(0x3fa)])!=null?_0x1180d2:Gt)*0x2**_0x32621c;this['_retryConnectingTimer']=setTimeout(()=>{var _0x1756cc=_0x2c7b6e;clearTimeout(this['_retryConnectingTimer']),this[_0x1756cc(0x16b)]=null,this[_0x1756cc(0x389)]();},_0x1d3fa2),this[_0x2c7b6e(0x202)]+=0x1;}[_0x2e58ba(0x3a6)](_0x3e197a,_0x4cd95a){var _0x47b9cb=_0x2e58ba;const {cmd:_0x46c012}=_0x4cd95a;_0x46c012===G[_0x47b9cb(0x3d3)]&&!this[_0x47b9cb(0xd3)]&&(_0x3e197a[_0x47b9cb(0x200)]=_0x4cd95a[_0x47b9cb(0xa8)][_0x47b9cb(0x200)],this[_0x47b9cb(0xe0)][_0x47b9cb(0x13e)](_0x3e197a),this[_0x47b9cb(0x191)][_0x47b9cb(0x13e)](se[_0x47b9cb(0x411)]),this[_0x47b9cb(0xd3)]=!0x0,this[_0x47b9cb(0x2fa)]=null),_0x46c012===G[_0x47b9cb(0x1d1)]&&this[_0x47b9cb(0x1ae)](),this[_0x47b9cb(0xad)]();}[_0x2e58ba(0xad)](){var _0x4c1a10=_0x2e58ba,_0x51d1ec;this[_0x4c1a10(0x14e)](),this[_0x4c1a10(0x35f)]=setTimeout(()=>this[_0x4c1a10(0x2be)](),(_0x51d1ec=this['_configService'][_0x4c1a10(0x3d6)](mt))!=null?_0x51d1ec:Wt);}[_0x2e58ba(0x2be)](){var _0x2d439a=_0x2e58ba;this[_0x2d439a(0x19a)]['send']({'cmd':G[_0x2d439a(0x1d1)]}),this[_0x2d439a(0x145)]();}[_0x2e58ba(0x145)](){var _0x152d53=_0x2e58ba,_0xe7e0ad;this[_0x152d53(0x27a)]=setTimeout(()=>this[_0x152d53(0x150)](),(_0xe7e0ad=this[_0x152d53(0xa1)][_0x152d53(0x3d6)](He))!=null?_0xe7e0ad:gt);}[_0x2e58ba(0x14e)](){var _0x20b546=_0x2e58ba;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x20b546(0x35f)]),this[_0x20b546(0x35f)]=null);}['_clearTimeoutTimer'](){var _0x34bd14=_0x2e58ba;this[_0x34bd14(0x27a)]!=null&&(clearTimeout(this[_0x34bd14(0x27a)]),this[_0x34bd14(0x27a)]=null);}},exports[_0x2e58ba(0x181)]=vn([ae(0x0,a[_0x2e58ba(0x2dc)](a[_0x2e58ba(0x302)])),ae(0x1,a[_0x2e58ba(0x376)]),ae(0x2,a[_0x2e58ba(0x12d)]),ae(0x3,ke),ae(0x4,a[_0x2e58ba(0x2dc)](q[_0x2e58ba(0x2f5)])),ae(0x5,a[_0x2e58ba(0x2dc)](te)),ae(0x6,a['Optional'](Rt))],exports[_0x2e58ba(0x181)]);const V=[];for(let r=0x0;r<0x100;++r)V[_0x2e58ba(0x13c)]((r+0x100)[_0x2e58ba(0x260)](0x10)[_0x2e58ba(0x2e9)](0x1));function fn(_0x4f52ee,_0x39be23=0x0){var _0x434bca=_0x2e58ba;return(V[_0x4f52ee[_0x39be23+0x0]]+V[_0x4f52ee[_0x39be23+0x1]]+V[_0x4f52ee[_0x39be23+0x2]]+V[_0x4f52ee[_0x39be23+0x3]]+'-'+V[_0x4f52ee[_0x39be23+0x4]]+V[_0x4f52ee[_0x39be23+0x5]]+'-'+V[_0x4f52ee[_0x39be23+0x6]]+V[_0x4f52ee[_0x39be23+0x7]]+'-'+V[_0x4f52ee[_0x39be23+0x8]]+V[_0x4f52ee[_0x39be23+0x9]]+'-'+V[_0x4f52ee[_0x39be23+0xa]]+V[_0x4f52ee[_0x39be23+0xb]]+V[_0x4f52ee[_0x39be23+0xc]]+V[_0x4f52ee[_0x39be23+0xd]]+V[_0x4f52ee[_0x39be23+0xe]]+V[_0x4f52ee[_0x39be23+0xf]])[_0x434bca(0x1c9)]();}let Pe;const Sn=new Uint8Array(0x10);function pn(){var _0x50d0d3=_0x2e58ba;if(!Pe){if(typeof crypto>'u'||!crypto[_0x50d0d3(0x28b)])throw new Error(_0x50d0d3(0x1b1));Pe=crypto['getRandomValues'][_0x50d0d3(0x9d)](crypto);}return Pe(Sn);}const mn=typeof crypto<'u'&&crypto[_0x2e58ba(0x1cd)]&&crypto[_0x2e58ba(0x1cd)][_0x2e58ba(0x9d)](crypto),ze={'randomUUID':mn};function gn(_0x1873b5,_0x3ac4cc,_0x56d6f4){var _0xac9e09=_0x2e58ba,_0x209308,_0x3d4b08,_0x36953b;if(ze[_0xac9e09(0x1cd)]&&!_0x1873b5)return ze[_0xac9e09(0x1cd)]();_0x1873b5=_0x1873b5||{};const _0x10554e=(_0x36953b=(_0x3d4b08=_0x1873b5['random'])!=null?_0x3d4b08:(_0x209308=_0x1873b5[_0xac9e09(0x1fc)])==null?void 0x0:_0x209308[_0xac9e09(0x3be)](_0x1873b5))!=null?_0x36953b:pn();if(_0x10554e['length']<0x10)throw new Error(_0xac9e09(0x178));return _0x10554e[0x6]=_0x10554e[0x6]&0xf|0x40,_0x10554e[0x8]=_0x10554e[0x8]&0x3f|0x80,fn(_0x10554e);}const z=a[_0x2e58ba(0x107)](_0x2e58ba(0x2cc));function In(_0x3cd5c4){var _0x1edfb6=_0x2e58ba;return _0x1edfb6(0x1e5)+_0x3cd5c4;}var En=Object[_0x2e58ba(0xf6)],Cn=Object[_0x2e58ba(0x188)],Tn=(_0x4b725d,_0xea3c3d,_0x34e908,_0x4f93d7)=>{var _0x4d9d9e=_0x2e58ba;for(var _0x1479ca=_0x4f93d7>0x1?void 0x0:_0x4f93d7?Cn(_0xea3c3d,_0x34e908):_0xea3c3d,_0x3a8b80=_0x4b725d[_0x4d9d9e(0x1d7)]-0x1,_0x8df826;_0x3a8b80>=0x0;_0x3a8b80--)(_0x8df826=_0x4b725d[_0x3a8b80])&&(_0x1479ca=(_0x4f93d7?_0x8df826(_0xea3c3d,_0x34e908,_0x1479ca):_0x8df826(_0x1479ca))||_0x1479ca);return _0x4f93d7&&_0x1479ca&&En(_0xea3c3d,_0x34e908,_0x1479ca),_0x1479ca;},De=(_0x2728f2,_0x2399de)=>(_0x5bfb1f,_0x21806b)=>_0x2399de(_0x5bfb1f,_0x21806b,_0x2728f2);function bn(_0x4f27c4){var _0xfa1453=_0x2e58ba;const {unitID:_0x44cb4d,mutations:_0x38b2d1}=_0x4f27c4;return{'unitId':_0x44cb4d,'subUnitId':_0x38b2d1[0x0][_0xfa1453(0x20c)]['subUnitId']};}exports[_0x2e58ba(0x3a3)]=class{constructor(_0x233150,_0x57305f,_0x1d5f78){var _0x106911=_0x2e58ba;this['_injector']=_0x233150,this[_0x106911(0x1cb)]=_0x57305f,this['_instanceService']=_0x1d5f78;}['transformSelections'](_0x1248fa){var _0x1e2ca8=_0x2e58ba,_0xf22b1d,_0x45daeb,_0x1ea4a0,_0x176790;const _0x140f69=this['_injector'][_0x1e2ca8(0x357)](J[_0x1e2ca8(0x409)]),{unitId:_0x3e7671,subUnitId:_0x3b27a7}=bn(_0x1248fa),_0x1ed61f=_0x140f69==null?void 0x0:_0x140f69[_0x1e2ca8(0x166)](_0x3e7671)[_0x1e2ca8(0x32b)](),_0x15c216=(_0x45daeb=(_0xf22b1d=this[_0x1e2ca8(0x16a)][_0x1e2ca8(0x1d6)](_0x3e7671))==null?void 0x0:_0xf22b1d[_0x1e2ca8(0x368)]())==null?void 0x0:_0x45daeb[_0x1e2ca8(0x387)]();if(_0x1ed61f['length']===0x0||!_0x3e7671||!_0x3b27a7)return;const _0xcd8632=[{'id':J[_0x1e2ca8(0x1cc)]['id'],'params':{'unitId':_0x3e7671,'subUnitId':_0x15c216,'selections':a[_0x1e2ca8(0x165)]['deepClone'](_0x1ed61f)}}],_0xeff5bb=this[_0x1e2ca8(0x1cb)][_0x1e2ca8(0x2f8)](_0x1248fa,_0xcd8632);if(!m[_0x1e2ca8(0x151)](_0xeff5bb))throw _0xeff5bb[_0x1e2ca8(0x215)];const _0x2368a9=(_0x176790=(_0x1ea4a0=_0xeff5bb[_0x1e2ca8(0xdc)][0x0])==null?void 0x0:_0x1ea4a0['params'])==null?void 0x0:_0x176790[_0x1e2ca8(0x2d2)];if(Array[_0x1e2ca8(0x369)](_0x2368a9)&&_0x2368a9[_0x1e2ca8(0x1d7)]){if(_0x2368a9[_0x1e2ca8(0x1d7)]===_0xcd8632[0x0]['params'][_0x1e2ca8(0x2d2)][_0x1e2ca8(0x1d7)]&&_0x2368a9[_0x1e2ca8(0x27f)]((_0x35e326,_0x31c794)=>a['Rectangle'][_0x1e2ca8(0x1e4)](_0x35e326[_0x1e2ca8(0x1c6)],_0xcd8632[0x0][_0x1e2ca8(0x20c)][_0x1e2ca8(0x2d2)][_0x31c794]['range'])))return;this[_0x1e2ca8(0x386)]['get'](a[_0x1e2ca8(0x2aa)])['executeCommand'](J[_0x1e2ca8(0x1cc)]['id'],{'unitId':_0x3e7671,'subUnitId':_0x15c216,'selections':_0x2368a9});}}},exports[_0x2e58ba(0x3a3)]=Tn([De(0x0,a[_0x2e58ba(0x2dc)](a['Injector'])),De(0x1,m[_0x2e58ba(0x343)]),De(0x2,a[_0x2e58ba(0x1f5)])],exports[_0x2e58ba(0x3a3)]);const ve=a['createIdentifier'](_0x2e58ba(0x360));var Fe=(_0x15ee98=>(_0x15ee98[_0x15ee98[_0x2e58ba(0x2e2)]=0x0]=_0x2e58ba(0x2e2),_0x15ee98[_0x15ee98[_0x2e58ba(0x245)]=0x1]='OTHER_CLIENTS_EDITING',_0x15ee98))(Fe||{});const Rn=new Set([J[_0x2e58ba(0x31b)]['id']]);function Je(_0x175242,_0x32fe2a,_0xb8fa65,_0xfb4da2,_0x1d2a38){var _0x47c49b=_0x2e58ba,_0x36dd91,_0x4a193a,_0x8727c3,_0xfaf232;const _0x362a2a=[];for(const _0x1e782d of _0x175242)if(Rn[_0x47c49b(0x2ae)](_0x1e782d['id'])){if(_0x362a2a[_0x47c49b(0x1d7)]>0x0)break;_0x362a2a[_0x47c49b(0x13c)](_0x1e782d);break;}else _0x362a2a[_0x47c49b(0x13c)](_0x1e782d);const _0x4fc365=(_0x4a193a=(_0x36dd91=_0x1d2a38['getCurrentUser']())==null?void 0x0:_0x36dd91[_0x47c49b(0x119)])!=null?_0x4a193a:_0x47c49b(0xe4),_0x32e426=(_0xfaf232=(_0x8727c3=_0x1d2a38[_0x47c49b(0xae)]())==null?void 0x0:_0x8727c3[_0x47c49b(0x200)])!=null?_0xfaf232:'unknown';return{'changeset':{'unitID':_0x32fe2a,'type':m[_0x47c49b(0x22a)](_0xb8fa65[_0x47c49b(0x106)](_0x32fe2a)),'baseRev':_0xfb4da2[_0x47c49b(0x137)](_0x32fe2a),'revision':0x0,'userID':_0x4fc365,'memberID':_0x32e426,'mutations':_0x362a2a},'pendingMutations':_0x175242['slice'](_0x362a2a[_0x47c49b(0x1d7)])};}function On(_0x5a6787,_0x302854,_0x4fe98a,_0x4212b2,_0x3a6de1){var _0x389104=_0x2e58ba,_0x3702dd,_0x31d7ea,_0xe876d4,_0x196f09;const _0x2b5ad2=[_0x5a6787['reduce']((_0x5b012e,_0x867f0c)=>{var _0x297ab6=_0x2768,_0x1637e2;const {id:_0x45c64f}=_0x5b012e,{id:_0x21b6b3,type:_0xa804a8}=_0x867f0c,_0x3b2394=(_0x1637e2=_0x5b012e[_0x297ab6(0x20c)])!=null?_0x1637e2:{'actions':null},_0x1e117d=_0x867f0c['params'];if(_0x45c64f&&_0x45c64f!==_0x21b6b3)throw new Error(_0x297ab6(0xaf)+_0x45c64f+_0x297ab6(0x3dd)+_0x21b6b3+'.');return{..._0x5b012e,'id':_0x21b6b3,'type':_0xa804a8,'params':{'unitId':_0x1e117d[_0x297ab6(0x39c)],'textRanges':_0x1e117d[_0x297ab6(0x3b1)],'actions':a[_0x297ab6(0x40f)][_0x297ab6(0x24c)](_0x3b2394[_0x297ab6(0x256)],_0x1e117d[_0x297ab6(0x256)])}};},{})],_0x15efb2=(_0x31d7ea=(_0x3702dd=_0x3a6de1[_0x389104(0xae)]())==null?void 0x0:_0x3702dd['userID'])!=null?_0x31d7ea:_0x389104(0xe4),_0x12f876=(_0x196f09=(_0xe876d4=_0x3a6de1[_0x389104(0xae)]())==null?void 0x0:_0xe876d4['memberID'])!=null?_0x196f09:_0x389104(0xe4);return{'changeset':{'unitID':_0x302854,'type':m[_0x389104(0x22a)](_0x4fe98a[_0x389104(0x106)](_0x302854)),'baseRev':_0x4212b2[_0x389104(0x137)](_0x302854),'revision':0x0,'userID':_0x15efb2,'memberID':_0x12f876,'mutations':_0x2b5ad2},'pendingMutations':[]};}function Nt(_0x4d01f2,_0x372b14){var _0x158e3f=_0x2e58ba;const _0xc9fcbd=new H[(_0x158e3f(0x15c))](0x1);return setTimeout(()=>_0xc9fcbd[_0x158e3f(0x13e)](_0x372b14),_0x4d01f2),_0xc9fcbd[_0x158e3f(0x407)]()[_0x158e3f(0x22f)](H[_0x158e3f(0x2e7)](0x1));}const yn={'id':J[_0x2e58ba(0x271)]['id'],'type':a[_0x2e58ba(0x216)][_0x2e58ba(0x34d)],'params':{}};var Nn=Object[_0x2e58ba(0xf6)],Un=Object['getOwnPropertyDescriptor'],le=(_0x1fa986,_0xebc361,_0x33e1bd,_0x59ff58)=>{var _0x33b47e=_0x2e58ba;for(var _0x5028c9=_0x59ff58>0x1?void 0x0:_0x59ff58?Un(_0xebc361,_0x33e1bd):_0xebc361,_0x34ec7f=_0x1fa986[_0x33b47e(0x1d7)]-0x1,_0x69b1fe;_0x34ec7f>=0x0;_0x34ec7f--)(_0x69b1fe=_0x1fa986[_0x34ec7f])&&(_0x5028c9=(_0x59ff58?_0x69b1fe(_0xebc361,_0x33e1bd,_0x5028c9):_0x69b1fe(_0x5028c9))||_0x5028c9);return _0x59ff58&&_0x5028c9&&Nn(_0xebc361,_0x33e1bd,_0x5028c9),_0x5028c9;},A=(_0x23d590,_0x35d81c)=>(_0x5770cc,_0x6bac7c)=>_0x35d81c(_0x5770cc,_0x6bac7c,_0x23d590),We=(_0x3f235d=>(_0x3f235d[_0x2e58ba(0x143)]=_0x2e58ba(0x29e),_0x3f235d[_0x2e58ba(0xb1)]=_0x2e58ba(0x3f2),_0x3f235d[_0x2e58ba(0xb5)]='pending',_0x3f235d[_0x2e58ba(0x310)]=_0x2e58ba(0x3d2),_0x3f235d['AWAITING_WITH_PENDING']=_0x2e58ba(0x306),_0x3f235d[_0x2e58ba(0x155)]=_0x2e58ba(0xdf),_0x3f235d[_0x2e58ba(0x267)]=_0x2e58ba(0xe6),_0x3f235d[_0x2e58ba(0x3de)]=_0x2e58ba(0x3eb),_0x3f235d))(We||{});const Ut=0xea60;class _e{constructor(_0x3990c4,_0x37a13e,_0x150814,_0x20291b,_0x133505,_0x5ddaa7,_0x3c48b5,_0x573933,_0xe8398b){var _0x28531c=_0x2e58ba;D(this,_0x28531c(0x14d),null),D(this,_0x28531c(0x3c0),[]),(this[_0x28531c(0x16e)]=_0x3990c4,this[_0x28531c(0x37d)]=_0x37a13e,this[_0x28531c(0x25a)]=_0x133505,this[_0x28531c(0x1be)]=_0x5ddaa7,this[_0x28531c(0x282)]=_0x3c48b5,this[_0x28531c(0x252)]=_0x573933,this['_localCacheService']=_0xe8398b,this[_0x28531c(0x14d)]=_0x150814,this[_0x28531c(0x3c0)]=_0x20291b);}['_checkMissing'](_0x4307f6){var _0x599001=_0x2e58ba;const _0x36ad48=this[_0x599001(0x252)]['getCurrentRevOfUnit'](this[_0x599001(0x16e)]);return _0x4307f6[_0x599001(0x25f)]>_0x36ad48+0x1?(this[_0x599001(0x25a)][_0x599001(0x162)]({'from':_0x36ad48,'to':_0x4307f6[_0x599001(0x25f)]-0x1}),!0x0):!0x1;}[_0x2e58ba(0x170)](_0x113519){var _0x33c1e7=_0x2e58ba;this[_0x33c1e7(0x282)][_0x33c1e7(0xf9)](this[_0x33c1e7(0x16e)],_0x113519);}['_transformSelections'](_0x3f6151){var _0x272d1f=_0x2e58ba,_0x515dd1,_0x24f6e0;(_0x24f6e0=(_0x515dd1=this[_0x272d1f(0x25a)])['onTransformSelections'])==null||_0x24f6e0[_0x272d1f(0x3be)](_0x515dd1,_0x3f6151);}[_0x2e58ba(0x108)](_0x9aeef1){var _0x248bda=_0x2e58ba,_0x2b7687,_0x5922ef;return(_0x5922ef=(_0x2b7687=this[_0x248bda(0x25a)])['onTransformIME'])==null?void 0x0:_0x5922ef[_0x248bda(0x3be)](_0x2b7687,_0x9aeef1);}[_0x2e58ba(0x253)](_0x392d3e){var _0x3550d2=_0x2e58ba,_0x42333f,_0x5f2b7d;return(_0x5f2b7d=(_0x42333f=this[_0x3550d2(0x25a)])[_0x3550d2(0x2c9)])==null?void 0x0:_0x5f2b7d[_0x3550d2(0x3be)](_0x42333f,_0x392d3e);}[_0x2e58ba(0x161)](_0x5cf0f5){var _0x4423ea=_0x2e58ba,_0x5244b8,_0x5a473b,_0x256640;return(_0x256640=(_0x5a473b=(_0x5244b8=this[_0x4423ea(0x25a)])[_0x4423ea(0x1a2)])==null?void 0x0:_0x5a473b[_0x4423ea(0x3be)](_0x5244b8,_0x5cf0f5))!=null?_0x256640:_0x5cf0f5;}[_0x2e58ba(0x242)](_0x185292){var _0x1fc43d=_0x2e58ba,_0x1d3660,_0x399c63,_0x33ce86;return(_0x33ce86=(_0x399c63=(_0x1d3660=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x399c63[_0x1fc43d(0x3be)](_0x1d3660,_0x185292))!=null?_0x33ce86:_0x185292;}[_0x2e58ba(0x17b)](_0x1c71c5){var _0x7e6274=_0x2e58ba,_0x15dd61,_0x3f690b;if(this[_0x7e6274(0x37d)]===Z[_0x7e6274(0x185)]){const {unitID:_0xe34668,mutations:_0xb8c8f5,memberID:_0x254737}=_0x1c71c5,_0x17f318=_0xb8c8f5[0x0][_0x7e6274(0x20c)][_0x7e6274(0x3b1)];Array[_0x7e6274(0x369)](_0x17f318)&&_0x17f318[_0x7e6274(0x1d7)]>0x0&&((_0x3f690b=(_0x15dd61=this['_handler'])[_0x7e6274(0x2eb)])==null||_0x3f690b['call'](_0x15dd61,{'unitID':_0xe34668,'memberID':_0x254737,'textRanges':_0x17f318}));}}['_updateLocalCache'](){var _0x35089b=_0x2e58ba,_0xf6b705;(_0xf6b705=this['_localCacheService'])==null||_0xf6b705['updateOfflineData'](this['unitID'],this[_0x35089b(0x37d)],this[_0x35089b(0x14d)],this['_pendingMutations']);}[_0x2e58ba(0xfb)](){return this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);}[_0x2e58ba(0x1e3)](){var _0x439056=_0x2e58ba;this[_0x439056(0x252)][_0x439056(0x400)](this['unitID']);}['_executeRemoteChangeset'](_0x126e33){var _0x300a09=_0x2e58ba,_0x599774;let _0x8ab3f8=this[_0x300a09(0x161)](_0x126e33);_0x8ab3f8=this['_transformRemoteChangesetByStateCache'](_0x8ab3f8);const _0x1198be=a[_0x300a09(0x180)](_0x8ab3f8[_0x300a09(0x1ff)],this[_0x300a09(0x1be)],{'fromCollab':!0x0});if(!_0x1198be[_0x300a09(0xc6)])throw _0x1198be[_0x300a09(0x215)]instanceof Error?_0x1198be[_0x300a09(0x215)]:new Error((_0x599774=_0x1198be[_0x300a09(0x215)])!=null?_0x599774:_0x300a09(0x268));this[_0x300a09(0x108)](_0x8ab3f8),this['_transformStateCache'](_0x8ab3f8),this['_transformUndoredo'](_0x126e33),this['_transformSelections'](_0x8ab3f8),this['_syncEditingCollabCursor'](_0x8ab3f8),this[_0x300a09(0x1e3)]();}}exports[_0x2e58ba(0x134)]=class extends _e{constructor(_0x16886a,_0x3876fb,_0x19016f,_0x5d6c26,_0x95f0ac,_0x319738,_0x30d932,_0x328595,_0x477dab,_0x466e54){var _0x39527e=_0x2e58ba;super(_0x16886a,_0x3876fb,null,[],_0x19016f,_0x30d932,_0x319738,_0x5d6c26,_0x466e54),D(this,_0x39527e(0x235),'synced'),(this[_0x39527e(0x386)]=_0x95f0ac,this[_0x39527e(0x32a)]=_0x328595,this['_transformService']=_0x477dab,this['localCacheService']=_0x466e54);}['appendMutation'](_0x26d26c){var _0x320041=_0x2e58ba;const _0x140c04=this[_0x320041(0x386)][_0x320041(0x38a)](exports[_0x320041(0xd0)],this[_0x320041(0x16e)],this[_0x320041(0x37d)],[_0x26d26c],this[_0x320041(0x25a)]);return _0x140c04[_0x320041(0xa9)](),_0x140c04[_0x320041(0x98)](),_0x140c04;}['onRemoteChangeset'](_0xd48708){var _0x195955=_0x2e58ba;if(this[_0x195955(0x3a8)](_0xd48708))return this[_0x195955(0x386)]['createInstance'](exports[_0x195955(0x105)],this[_0x195955(0x16e)],this[_0x195955(0x37d)],null,[],null,[_0xd48708],this[_0x195955(0x25a)]);try{const _0x568714=this[_0x195955(0x1cb)]['transformMutationsWithChangeset'](_0xd48708,[yn]);if(m[_0x195955(0x151)](_0x568714)){const {c1Prime:_0x380822}=_0x568714;return this[_0x195955(0x3da)](_0x380822),this;}throw _0x568714[_0x195955(0x215)];}catch(_0x211c38){return this[_0x195955(0x32a)][_0x195955(0x215)](_0x211c38),this[_0x195955(0x11d)](!0x1);}}[_0x2e58ba(0x11d)](_0x59c25f){var _0x3a824a=_0x2e58ba;return this[_0x3a824a(0x386)][_0x3a824a(0x38a)](exports['ConflictState'],this['unitID'],this[_0x3a824a(0x37d)],null,[],this['_handler'],_0x59c25f);}[_0x2e58ba(0x110)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x2e58ba(0x358)](){var _0x3be13c=_0x2e58ba;throw new Error(_0x3be13c(0x3b2));}['onRemoteRetry'](){return this;}[_0x2e58ba(0x3bb)](){var _0xfa97b7=_0x2e58ba;return this[_0xfa97b7(0x386)][_0xfa97b7(0x38a)](exports[_0xfa97b7(0x122)],this['unitID'],this[_0xfa97b7(0x37d)],null,[],this['_handler']);}['toggleOnline'](){return this;}['resend'](){var _0x5ac66a=_0x2e58ba;throw new Error(_0x5ac66a(0x29c));}['fetchMiss'](){var _0x653530=_0x2e58ba;const _0xc5fa92=this[_0x653530(0x252)][_0x653530(0x137)](this['unitID']);return this[_0x653530(0x25a)]['onMissingChangesets']({'from':_0xc5fa92,'to':0x0}),this[_0x653530(0x386)]['createInstance'](exports[_0x653530(0x105)],this[_0x653530(0x16e)],this[_0x653530(0x37d)],null,[],null,[],this[_0x653530(0x25a)]);}},exports[_0x2e58ba(0x134)]=le([A(0x3,a[_0x2e58ba(0x2dc)](m[_0x2e58ba(0x37c)])),A(0x4,a['Inject'](a[_0x2e58ba(0x302)])),A(0x5,a[_0x2e58ba(0x2bb)]),A(0x6,a[_0x2e58ba(0x2aa)]),A(0x7,a['ILogService']),A(0x8,m[_0x2e58ba(0x343)]),A(0x9,a[_0x2e58ba(0x1c2)](z))],exports[_0x2e58ba(0x134)]),exports[_0x2e58ba(0xd0)]=class extends _e{constructor(_0x41a325,_0x277dfa,_0x5ae80c,_0x53433e,_0x2f2401,_0x10f402,_0x40b248,_0x729ded,_0x21f832,_0x51c70b,_0x2ffd23,_0x997e24,_0xdc71e4,_0x575dc4){var _0xc9cb9d=_0x2e58ba;super(_0x41a325,_0x277dfa,null,_0x5ae80c,_0x53433e,_0x21f832,_0xdc71e4,_0x10f402,_0x575dc4),D(this,'status',_0xc9cb9d(0x382)),D(this,_0xc9cb9d(0x318),null),D(this,_0xc9cb9d(0x135),null),(this['_injector']=_0x2f2401,this[_0xc9cb9d(0x186)]=_0x40b248,this['_logService']=_0x729ded,this[_0xc9cb9d(0xa1)]=_0x51c70b,this[_0xc9cb9d(0x1cb)]=_0x2ffd23,this[_0xc9cb9d(0x240)]=_0x997e24);}[_0x2e58ba(0x33d)](_0x43a7e3){var _0x270c0f=_0x2e58ba;return this[_0x270c0f(0x3c0)][_0x270c0f(0x13c)](_0x43a7e3),this[_0x270c0f(0x98)](),this;}['onRemoteChangeset'](_0xe60e5f){var _0x468a0f=_0x2e58ba;if(this[_0x468a0f(0x3a8)](_0xe60e5f))return this[_0x468a0f(0x14f)](),this[_0x468a0f(0x386)][_0x468a0f(0x38a)](exports['FetchingMissState'],this['unitID'],this[_0x468a0f(0x37d)],null,this[_0x468a0f(0x3c0)],null,[_0xe60e5f],this[_0x468a0f(0x25a)]);try{const _0x37408d=this[_0x468a0f(0x1cb)][_0x468a0f(0x2f8)](_0xe60e5f,this[_0x468a0f(0x3c0)]);if(m[_0x468a0f(0x151)](_0x37408d)){const {c1Prime:_0x331577,m2Prime:_0x2ddf20}=_0x37408d;this[_0x468a0f(0x3da)](_0x331577);const _0x129060=this[_0x468a0f(0x386)][_0x468a0f(0x38a)](exports[_0x468a0f(0xd0)],this[_0x468a0f(0x16e)],this[_0x468a0f(0x37d)],_0x2ddf20,this[_0x468a0f(0x25a)]);this[_0x468a0f(0x14f)]();const _0x1770a0=new Date()[_0x468a0f(0xe5)](),_0x334d5c=this[_0x468a0f(0x318)]?Math[_0x468a0f(0xa7)](this[_0x468a0f(0x318)]-_0x1770a0,0x0):this[_0x468a0f(0x13d)]();return _0x129060[_0x468a0f(0xa9)](_0x334d5c),_0x129060;}throw _0x37408d[_0x468a0f(0x215)];}catch(_0x51f29c){return this[_0x468a0f(0x32a)]['error'](_0x51f29c),this['_onConflict'](!0x1);}}[_0x2e58ba(0x110)](){var _0x4332f6=_0x2e58ba;throw new Error(_0x4332f6(0x183));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x2e58ba(0x362)](){return this;}[_0x2e58ba(0x3bb)](){var _0x56507a=_0x2e58ba;return this['_clearScheduledTask'](),this[_0x56507a(0x386)]['createInstance'](exports[_0x56507a(0x122)],this['unitID'],this['type'],null,this[_0x56507a(0x3c0)],this[_0x56507a(0x25a)]);}[_0x2e58ba(0x142)](){return this;}['_schedule'](_0xaa9a6c){var _0x5a1a5c=_0x2e58ba;const _0x4150d0=_0xaa9a6c!=null?_0xaa9a6c:this['_getSendChangesetTimeout']();this[_0x5a1a5c(0x318)]=new Date()[_0x5a1a5c(0xe5)]()+_0x4150d0,this[_0x5a1a5c(0x135)]=setTimeout(()=>{var _0x2857d6=_0x5a1a5c;this[_0x2857d6(0x14f)]();let _0x921340=null;switch(this['type']){case Z[_0x2857d6(0x1b5)]:{_0x921340=Je(this[_0x2857d6(0x3c0)],this[_0x2857d6(0x16e)],this[_0x2857d6(0x240)],this[_0x2857d6(0x252)],this[_0x2857d6(0x186)]);break;}case Z[_0x2857d6(0x185)]:{this[_0x2857d6(0x3c0)][_0x2857d6(0x27f)](_0x1604ea=>_0x1604ea['id']===dt[_0x2857d6(0x329)]['id'])?_0x921340=On(this[_0x2857d6(0x3c0)],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this['_memberService']):_0x921340=Je(this[_0x2857d6(0x3c0)],this[_0x2857d6(0x16e)],this[_0x2857d6(0x240)],this['_revisionService'],this[_0x2857d6(0x186)]);break;}default:throw new Error(_0x2857d6(0x3c8)+this[_0x2857d6(0x37d)]+_0x2857d6(0xf8));}const {changeset:_0x450d40,pendingMutations:_0x120f7e}=_0x921340;this[_0x2857d6(0x25a)][_0x2857d6(0x3aa)](_0x450d40);const _0x2fc250=_0x120f7e[_0x2857d6(0x1d7)]?this['_injector'][_0x2857d6(0x38a)](exports['AwaitingWithPendingState'],this['unitID'],this['type'],_0x450d40,_0x120f7e,this['_handler'],void 0x0):this[_0x2857d6(0x386)][_0x2857d6(0x38a)](exports[_0x2857d6(0x18b)],this[_0x2857d6(0x16e)],this['type'],_0x450d40,this['_handler']);_0x2fc250[_0x2857d6(0x98)](),this['_handler'][_0x2857d6(0x2f0)](this,_0x2fc250);},_0x4150d0);}[_0x2e58ba(0x13d)](){var _0x397c55=_0x2e58ba,_0x1ff2a3;const _0x425d89=this[_0x397c55(0xa1)]['getConfig'](Y);return(_0x1ff2a3=_0x425d89==null?void 0x0:_0x425d89[_0x397c55(0x23b)])!=null?_0x1ff2a3:Bt;}[_0x2e58ba(0x36d)](){var _0x5ee579=_0x2e58ba;throw new Error(_0x5ee579(0x1e0));}[_0x2e58ba(0x14f)](){var _0xa20b8f=_0x2e58ba;this[_0xa20b8f(0x135)]!=null&&(clearTimeout(this[_0xa20b8f(0x135)]),this['_sendingTimer']=null);}['_onConflict'](_0x412b80){var _0x2461a4=_0x2e58ba;return this[_0x2461a4(0x14f)](),this[_0x2461a4(0x386)][_0x2461a4(0x38a)](exports[_0x2461a4(0x2dd)],this['unitID'],this[_0x2461a4(0x37d)],null,this[_0x2461a4(0x3c0)],this[_0x2461a4(0x25a)],_0x412b80);}},exports[_0x2e58ba(0xd0)]=le([A(0x4,a[_0x2e58ba(0x2dc)](a[_0x2e58ba(0x302)])),A(0x5,a['Inject'](m[_0x2e58ba(0x37c)])),A(0x6,a[_0x2e58ba(0x2dc)](exports[_0x2e58ba(0x3b7)])),A(0x7,a[_0x2e58ba(0x376)]),A(0x8,a['ICommandService']),A(0x9,a[_0x2e58ba(0x12d)]),A(0xa,m[_0x2e58ba(0x343)]),A(0xb,a[_0x2e58ba(0x1f5)]),A(0xc,a[_0x2e58ba(0x2bb)]),A(0xd,a[_0x2e58ba(0x1c2)](z))],exports[_0x2e58ba(0xd0)]),exports[_0x2e58ba(0x18b)]=class extends _e{constructor(_0x46ca6c,_0x295d43,_0x35e1f2,_0x372e64,_0x1677f2,_0x5868ef,_0xa22037,_0x14ab22,_0x3e1fa7,_0x1f96f3,_0x2d0ac1){var _0x5eb345=_0x2e58ba;super(_0x46ca6c,_0x295d43,_0x35e1f2,[],_0x372e64,_0xa22037,_0x1f96f3,_0x5868ef,_0x2d0ac1),D(this,_0x5eb345(0x235),'awaiting'),D(this,_0x5eb345(0x3ca),0x0),D(this,_0x5eb345(0x417)),D(this,'_sender'),(this[_0x5eb345(0x386)]=_0x1677f2,this[_0x5eb345(0x32a)]=_0x14ab22,this[_0x5eb345(0x1cb)]=_0x3e1fa7);}[_0x2e58ba(0x33d)](_0x394bd8){var _0xee4bb3=_0x2e58ba;this[_0xee4bb3(0x14f)]();const _0xb56854=this['_injector'][_0xee4bb3(0x38a)](exports[_0xee4bb3(0x1fd)],this[_0xee4bb3(0x16e)],this[_0xee4bb3(0x37d)],this[_0xee4bb3(0x14d)],[_0x394bd8],this['_handler'],this[_0xee4bb3(0x417)]);return _0xb56854['_updateLocalCache'](),_0xb56854;}[_0x2e58ba(0x1eb)](_0xf79722){var _0x588cc1=_0x2e58ba;if(this['_checkMissing'](_0xf79722))return this['_clearScheduledTask'](),this['_injector'][_0x588cc1(0x38a)](exports[_0x588cc1(0x105)],this[_0x588cc1(0x16e)],this[_0x588cc1(0x37d)],this[_0x588cc1(0x14d)],[],null,[_0xf79722],this[_0x588cc1(0x25a)]);try{const _0xb66e9a=this[_0x588cc1(0x1cb)][_0x588cc1(0x209)]([_0xf79722],[this['_awaitingChangeset']],!0x1);if(m[_0x588cc1(0x35b)](_0xb66e9a)){const {c1Prime:_0x56e7a3,c2Prime:_0x4fdc20}=_0xb66e9a;this['_executeRemoteChangeset'](_0x56e7a3[0x0]),_0x4fdc20[0x0][_0x588cc1(0xb3)]=this[_0x588cc1(0xfb)](),this['_clearScheduledTask']();const _0x443729=this[_0x588cc1(0x386)][_0x588cc1(0x38a)](exports[_0x588cc1(0x18b)],this['unitID'],this['type'],_0x4fdc20[0x0],this['_handler']);return _0x443729[_0x588cc1(0x98)](),_0x443729;}return this[_0x588cc1(0x11d)](!0x1);}catch(_0x3ebdd6){return this[_0x588cc1(0x32a)][_0x588cc1(0x215)](_0x3ebdd6),this[_0x588cc1(0x11d)](!0x1);}}[_0x2e58ba(0x110)](_0xe950c6){var _0x163773=_0x2e58ba;this[_0x163773(0x14f)]();const _0x5aa125=this[_0x163773(0x252)][_0x163773(0x137)](this['unitID']);if(_0xe950c6[_0x163773(0x25f)]<_0x5aa125-0x1)return this;if(this[_0x163773(0x3a8)](_0xe950c6))return this['_injector'][_0x163773(0x38a)](exports[_0x163773(0x105)],this[_0x163773(0x16e)],this[_0x163773(0x37d)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x163773(0x1e3)]();const _0x4ec672=this[_0x163773(0x386)][_0x163773(0x38a)](exports[_0x163773(0x134)],this[_0x163773(0x16e)],this[_0x163773(0x37d)],this[_0x163773(0x25a)]);return _0x4ec672[_0x163773(0x98)](),_0x4ec672;}[_0x2e58ba(0x358)](_0x4d79b2){var _0x26b3cf=_0x2e58ba;return this[_0x26b3cf(0x11d)](!!(_0x4d79b2!=null&&_0x4d79b2[_0x26b3cf(0x1b9)]));}[_0x2e58ba(0x362)](_0x2d8e29){var _0x1754b3=_0x2e58ba;return this[_0x1754b3(0x3ca)]>Ut?this[_0x1754b3(0x3bb)]():(this[_0x1754b3(0x417)]=Nt(this[_0x1754b3(0x3ca)],{'timeout':this[_0x1754b3(0x3ca)],'reqId':_0x2d8e29[_0x1754b3(0x3dc)]}),this[_0x1754b3(0x364)]=this[_0x1754b3(0x417)]['subscribe'](({reqId:_0x57164b,timeout:_0x342b63})=>{this['_resendWithTimeout'](_0x57164b,_0x342b63);}),this);}[_0x2e58ba(0x3bb)](){var _0x207b56=_0x2e58ba;return this[_0x207b56(0x14f)](),this[_0x207b56(0x386)]['createInstance'](exports[_0x207b56(0x122)],this['unitID'],this[_0x207b56(0x37d)],this[_0x207b56(0x14d)],[],this[_0x207b56(0x25a)]);}[_0x2e58ba(0x142)](){return this;}[_0x2e58ba(0x36d)](){var _0x543bb7=_0x2e58ba;this[_0x543bb7(0x25a)][_0x543bb7(0x3aa)](this[_0x543bb7(0x14d)]);}[_0x2e58ba(0x11d)](_0x152df9){var _0x1a14e0=_0x2e58ba;return this[_0x1a14e0(0x14f)](),this[_0x1a14e0(0x386)][_0x1a14e0(0x38a)](exports[_0x1a14e0(0x2dd)],this[_0x1a14e0(0x16e)],this['type'],this[_0x1a14e0(0x14d)],[],this[_0x1a14e0(0x25a)],_0x152df9);}[_0x2e58ba(0x291)](_0x5cbd6f,_0x123b74){var _0x102bea=_0x2e58ba,_0x2086d;_0x5cbd6f===((_0x2086d=this['_awaitingChangeset'])==null?void 0x0:_0x2086d[_0x102bea(0x3dc)])&&(this[_0x102bea(0x36d)](),this['_resendTimeout']=_0x123b74===0x0?0x3e8:_0x123b74*0x2);}[_0x2e58ba(0x14f)](){var _0x3afbeb=_0x2e58ba,_0x2e5df3;(_0x2e5df3=this[_0x3afbeb(0x364)])==null||_0x2e5df3[_0x3afbeb(0x218)](),this[_0x3afbeb(0x3ca)]=0x0;}},exports['AwaitingState']=le([A(0x4,a[_0x2e58ba(0x2dc)](a['Injector'])),A(0x5,a['Inject'](m['RevisionService'])),A(0x6,a['ICommandService']),A(0x7,a[_0x2e58ba(0x376)]),A(0x8,m['ITransformService']),A(0x9,a[_0x2e58ba(0x2bb)]),A(0xa,a[_0x2e58ba(0x1c2)](z))],exports[_0x2e58ba(0x18b)]),exports[_0x2e58ba(0x1fd)]=class extends _e{constructor(_0x35479f,_0x196350,_0xe12ae4,_0x580c5c,_0x2433d6,_0x5c76ff,_0x2057db,_0xebd951,_0x6a1a86,_0x1648ea,_0x4b37d0,_0x4977a4,_0x5edcfb){var _0x8bee15=_0x2e58ba;super(_0x35479f,_0x196350,_0xe12ae4,_0x580c5c,_0x2433d6,_0x6a1a86,_0x4977a4,_0xebd951,_0x5edcfb),D(this,_0x8bee15(0x235),_0x8bee15(0x306)),D(this,_0x8bee15(0x3ca),0x0),D(this,_0x8bee15(0x417)),D(this,'_sender'),(this[_0x8bee15(0x386)]=_0x2057db,this[_0x8bee15(0x32a)]=_0x1648ea,this[_0x8bee15(0x1cb)]=_0x4b37d0,this[_0x8bee15(0x21e)]=_0x5edcfb,_0x5c76ff&&(this[_0x8bee15(0x417)]=_0x5c76ff,this[_0x8bee15(0x364)]=this['_resendTimer'][_0x8bee15(0x355)](({reqId:_0x4fb1b0,timeout:_0x2ebaf6})=>{var _0x362e81=_0x8bee15;this[_0x362e81(0x291)](_0x4fb1b0,_0x2ebaf6);})));}['appendMutation'](_0x377c65){var _0x158239=_0x2e58ba;return this[_0x158239(0x3c0)][_0x158239(0x13c)](_0x377c65),this;}[_0x2e58ba(0x1eb)](_0x376ee1){var _0x34340c=_0x2e58ba;if(this['_checkMissing'](_0x376ee1))return this[_0x34340c(0x14f)](),this[_0x34340c(0x386)][_0x34340c(0x38a)](exports[_0x34340c(0x105)],this[_0x34340c(0x16e)],this[_0x34340c(0x37d)],this[_0x34340c(0x14d)],this[_0x34340c(0x3c0)],null,[_0x376ee1],this[_0x34340c(0x25a)]);try{const _0x1d2a0d=this['_transformService']['transformChangesets']([_0x376ee1],[this[_0x34340c(0x14d)]],!0x1);if(m[_0x34340c(0x35b)](_0x1d2a0d)){const {c1Prime:_0x397f45,c2Prime:_0x5ef78b}=_0x1d2a0d,_0x4b7c25=this['_transformService'][_0x34340c(0x2f8)](_0x397f45[0x0],this[_0x34340c(0x3c0)]);if(m[_0x34340c(0x151)](_0x4b7c25)){const {c1Prime:_0x24bd03,m2Prime:_0x373b18}=_0x4b7c25;return this[_0x34340c(0x3da)](_0x24bd03),_0x5ef78b[0x0]['baseRev']=this[_0x34340c(0xfb)](),this['_clearScheduledTask'](),this[_0x34340c(0x386)][_0x34340c(0x38a)](exports['AwaitingWithPendingState'],this[_0x34340c(0x16e)],this['type'],_0x5ef78b[0x0],_0x373b18,this[_0x34340c(0x25a)],void 0x0);}throw _0x4b7c25[_0x34340c(0x215)];}throw _0x1d2a0d[_0x34340c(0x215)];}catch(_0x225a07){return this['_logService'][_0x34340c(0x215)](_0x225a07),this['_onConflict'](!0x1);}}[_0x2e58ba(0x110)](_0x1d5bb8){var _0x80894=_0x2e58ba;if(this[_0x80894(0x14f)](),this['_checkMissing'](_0x1d5bb8))return this[_0x80894(0x386)][_0x80894(0x38a)](exports['FetchingMissState'],this[_0x80894(0x16e)],this[_0x80894(0x37d)],null,this['_pendingMutations'],this[_0x80894(0x14d)],[],this[_0x80894(0x25a)]);this[_0x80894(0x1e3)]();const _0xe8c33e=this[_0x80894(0x386)]['createInstance'](exports[_0x80894(0xd0)],this[_0x80894(0x16e)],this[_0x80894(0x37d)],this[_0x80894(0x3c0)],this[_0x80894(0x25a)]);return _0xe8c33e[_0x80894(0xa9)](),_0xe8c33e['_updateLocalCache'](),_0xe8c33e;}['onRemoteRej'](_0x3d9e4c){var _0x30e091=_0x2e58ba;return this['_onConflict'](!!(_0x3d9e4c!=null&&_0x3d9e4c[_0x30e091(0x1b9)]));}[_0x2e58ba(0x362)](_0x2761fb){var _0x4bd30e=_0x2e58ba;return this[_0x4bd30e(0x3ca)]>Ut?this[_0x4bd30e(0x3bb)]():(this[_0x4bd30e(0x417)]=Nt(this[_0x4bd30e(0x3ca)],{'timeout':this[_0x4bd30e(0x3ca)],'reqId':_0x2761fb['reqId']}),this[_0x4bd30e(0x364)]=this['_resendTimer'][_0x4bd30e(0x355)](({reqId:_0x4fe59c,timeout:_0x4f68a1})=>{this['_resendWithTimeout'](_0x4fe59c,_0x4f68a1);}),this);}[_0x2e58ba(0x3bb)](){var _0x5ac488=_0x2e58ba;return this[_0x5ac488(0x14f)](),this[_0x5ac488(0x386)][_0x5ac488(0x38a)](exports[_0x5ac488(0x122)],this[_0x5ac488(0x16e)],this[_0x5ac488(0x37d)],this[_0x5ac488(0x14d)],this[_0x5ac488(0x3c0)],this['_handler']);}['toggleOnline'](){return this;}['resend'](){var _0x53d24f=_0x2e58ba;this[_0x53d24f(0x25a)][_0x53d24f(0x3aa)](this[_0x53d24f(0x14d)]);}['_onConflict'](_0x127334){var _0x13338d=_0x2e58ba;return this[_0x13338d(0x14f)](),this[_0x13338d(0x386)][_0x13338d(0x38a)](exports['ConflictState'],this[_0x13338d(0x16e)],this[_0x13338d(0x37d)],null,this[_0x13338d(0x3c0)],this[_0x13338d(0x25a)],_0x127334);}[_0x2e58ba(0x291)](_0xe14253,_0x459688){var _0x20fe77=_0x2e58ba,_0x39c5c5;_0xe14253===((_0x39c5c5=this[_0x20fe77(0x14d)])==null?void 0x0:_0x39c5c5['reqId'])&&(this[_0x20fe77(0x36d)](),this[_0x20fe77(0x3ca)]=_0x459688===0x0?0x3e8:_0x459688*0x2);}[_0x2e58ba(0x14f)](){var _0x50e909=_0x2e58ba,_0x1f6532;(_0x1f6532=this[_0x50e909(0x364)])==null||_0x1f6532[_0x50e909(0x218)](),this['_resendTimeout']=0x0;}},exports[_0x2e58ba(0x1fd)]=le([A(0x6,a[_0x2e58ba(0x2dc)](a[_0x2e58ba(0x302)])),A(0x7,a[_0x2e58ba(0x2dc)](m[_0x2e58ba(0x37c)])),A(0x8,a['ICommandService']),A(0x9,a[_0x2e58ba(0x376)]),A(0xa,m[_0x2e58ba(0x343)]),A(0xb,a[_0x2e58ba(0x2bb)]),A(0xc,a[_0x2e58ba(0x1c2)](z))],exports[_0x2e58ba(0x1fd)]),exports['ConflictState']=class extends _e{constructor(_0x44040d,_0x56b1d4,_0x40476d,_0x3d2a4f,_0x2a93b7,_0x2d6654=!0x1,_0x3f1ae2,_0x266faa,_0xe1d8c5,_0x5d876d,_0x5b681e,_0xd8ed1c,_0x5c8f3e){var _0x3edea8=_0x2e58ba;super(_0x44040d,_0x56b1d4,_0x40476d,_0x3d2a4f,_0x2a93b7,_0x266faa,_0xe1d8c5,_0x5d876d,_0x5c8f3e),D(this,_0x3edea8(0x235),_0x3edea8(0xe6)),(this['_isPermissionRej']=_0x2d6654,this['_permissionService']=_0x3f1ae2,this['_localeService']=_0x5b681e,this[_0x3edea8(0x3fd)]=_0xd8ed1c,this['localCacheService']=_0x5c8f3e,this[_0x3edea8(0x311)](),this[_0x3edea8(0x226)](),this[_0x3edea8(0xea)]());}[_0x2e58ba(0x33d)](){return this;}[_0x2e58ba(0x1eb)](){return this;}[_0x2e58ba(0x110)](){return this;}[_0x2e58ba(0x358)](){return this;}[_0x2e58ba(0x362)](){return this;}[_0x2e58ba(0x3bb)](){return this;}[_0x2e58ba(0x142)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2e58ba(0x226)](){var _0x3b3040=_0x2e58ba,_0x5e6949;(_0x5e6949=this[_0x3b3040(0x3d7)])==null||_0x5e6949[_0x3b3040(0x11e)](this['unitID'],this[_0x3b3040(0x37d)],null,[]);}[_0x2e58ba(0x311)](){var _0x300564=_0x2e58ba;this[_0x300564(0xe3)]?this[_0x300564(0x3fd)][_0x300564(0xb4)]({'id':Q['PERMISSION_DENIED']}):this[_0x300564(0x3fd)][_0x300564(0xb4)]({'id':Q[_0x300564(0x267)]});}[_0x2e58ba(0xea)](){var _0x3a5932=_0x2e58ba;this[_0x3a5932(0x16c)][_0x3a5932(0x340)](new J[(_0x3a5932(0x2a2))](this[_0x3a5932(0x16e)])['id'],!0x1);}},exports[_0x2e58ba(0x2dd)]=le([A(0x6,a['Inject'](a[_0x2e58ba(0x378)])),A(0x7,a[_0x2e58ba(0x2aa)]),A(0x8,a[_0x2e58ba(0x2bb)]),A(0x9,a[_0x2e58ba(0x2dc)](m['RevisionService'])),A(0xa,a[_0x2e58ba(0x2dc)](a['LocaleService'])),A(0xb,a[_0x2e58ba(0x2dc)](te)),A(0xc,a['Optional'](z))],exports[_0x2e58ba(0x2dd)]),exports['OfflineState']=class extends _e{constructor(_0x1a7e72,_0x443f36,_0x2ebba5,_0x32cc9d,_0x4e28eb,_0x1712ae,_0x5228d8,_0x18ccd3,_0x54f593,_0x419855){var _0x4e38f5=_0x2e58ba;super(_0x1a7e72,_0x443f36,_0x2ebba5,_0x32cc9d,_0x4e28eb,_0x18ccd3,_0x54f593,_0x5228d8,_0x419855),D(this,_0x4e38f5(0x235),'offline'),this[_0x4e38f5(0x386)]=_0x1712ae;}[_0x2e58ba(0x33d)](_0x202971){var _0x28c55d=_0x2e58ba;return this[_0x28c55d(0x3c0)]['push'](_0x202971),this[_0x28c55d(0x98)](),this;}[_0x2e58ba(0x1eb)](_0xc46c32){var _0x1ed134=_0x2e58ba;throw new Error(_0x1ed134(0x1de));}[_0x2e58ba(0x110)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x2e58ba(0x358)](){var _0x36cfc3=_0x2e58ba;throw new Error(_0x36cfc3(0x350));}[_0x2e58ba(0x362)](){return this;}['toggleOffline'](){return this;}[_0x2e58ba(0x142)](){var _0x7cfea9=_0x2e58ba;const {_injector:_0x29d568,_pendingMutations:_0x722d83,_awaitingChangeset:_0x4892ce,unitID:_0x538a0d,_handler:_0x4c4a3a,type:_0x11a244}=this,_0x90c33=Pt(_0x29d568,_0x538a0d,_0x11a244,_0x4892ce,_0x722d83,_0x4c4a3a);return _0x90c33 instanceof exports['PendingState']?_0x90c33[_0x7cfea9(0xa9)]():(_0x90c33 instanceof exports['AwaitingWithPendingState']||_0x90c33 instanceof exports[_0x7cfea9(0x18b)])&&_0x90c33[_0x7cfea9(0x36d)](),_0x90c33;}['resend'](){var _0x177e01=_0x2e58ba;throw new Error(_0x177e01(0x244));}},exports[_0x2e58ba(0x122)]=le([A(0x5,a['Inject'](a[_0x2e58ba(0x302)])),A(0x6,a[_0x2e58ba(0x2dc)](m['RevisionService'])),A(0x7,a[_0x2e58ba(0x2aa)]),A(0x8,a[_0x2e58ba(0x2bb)]),A(0x9,a[_0x2e58ba(0x1c2)](z))],exports[_0x2e58ba(0x122)]),exports[_0x2e58ba(0x105)]=class extends _e{constructor(_0x2668aa,_0x3c43de,_0x5e9d1f,_0x502c44,_0x4df1f8,_0x31c6ed,_0x1da904,_0xca9db,_0x2ce872,_0x1c8fc6,_0x182904,_0x6d9808,_0x2ed4e2,_0x5f4411){var _0x1c4c2d=_0x2e58ba;super(_0x2668aa,_0x3c43de,_0x5e9d1f,_0x502c44,_0x1da904,_0x182904,_0x6d9808,_0x2ce872,_0x5f4411),D(this,'status',_0x1c4c2d(0xdf)),(this['_acknowledgedAwaitingChangeset']=_0x4df1f8,this[_0x1c4c2d(0x28e)]=_0x31c6ed,this[_0x1c4c2d(0x386)]=_0xca9db,this[_0x1c4c2d(0x32a)]=_0x1c8fc6,this[_0x1c4c2d(0x1cb)]=_0x2ed4e2,this['localCacheService']=_0x5f4411);}[_0x2e58ba(0x287)](_0x25ee5e){var _0x1b5feb=_0x2e58ba;try{const _0x261b16=[..._0x25ee5e,...this[_0x1b5feb(0x28e)]],_0x421cf4=[this[_0x1b5feb(0x14d)]||this[_0x1b5feb(0x1ef)]][_0x1b5feb(0x3fe)](_0x36b5e4=>!!_0x36b5e4);let _0x36c7f4,_0x579ab3;if(_0x421cf4[_0x1b5feb(0x1d7)]){const _0xa37b60=this[_0x1b5feb(0x1cb)]['transformChangesets'](_0x261b16,_0x421cf4,!0x1);if(!m[_0x1b5feb(0x35b)](_0xa37b60))throw _0xa37b60[_0x1b5feb(0x215)];_0x36c7f4=_0xa37b60['c1Prime'],_0x579ab3=_0xa37b60[_0x1b5feb(0x3d1)];}else _0x36c7f4=_0x261b16,_0x579ab3=[];let _0x4156b0=this['_pendingMutations'];_0x36c7f4[_0x1b5feb(0x2fe)](_0x3fd97e=>{var _0x4e2785=_0x1b5feb;let _0x20ad3e;if(_0x4156b0[_0x4e2785(0x1d7)]){const _0x3ef45e=this[_0x4e2785(0x1cb)]['transformMutationsWithChangeset'](_0x3fd97e,_0x4156b0);if(!m[_0x4e2785(0x151)](_0x3ef45e))throw _0x3ef45e[_0x4e2785(0x215)];_0x20ad3e=_0x3ef45e[_0x4e2785(0x39b)],_0x4156b0=_0x3ef45e[_0x4e2785(0xdc)];}else _0x20ad3e=_0x3fd97e;this['_executeRemoteChangeset'](_0x20ad3e);}),this[_0x1b5feb(0x1ef)]&&this['_incrementRevisionNumber'](),this[_0x1b5feb(0x14d)]&&_0x579ab3[_0x1b5feb(0x1d7)]&&(_0x579ab3[0x0][_0x1b5feb(0xb3)]=this[_0x1b5feb(0xfb)]());let _0x5d32f6;if(this['_awaitingChangeset']&&_0x4156b0['length']!==0x0)_0x5d32f6=this['_injector'][_0x1b5feb(0x38a)](exports[_0x1b5feb(0x1fd)],this[_0x1b5feb(0x16e)],this[_0x1b5feb(0x37d)],_0x579ab3[0x0],_0x4156b0,this[_0x1b5feb(0x25a)],void 0x0);else{if(this[_0x1b5feb(0x14d)]&&_0x4156b0[_0x1b5feb(0x1d7)]===0x0)_0x579ab3[0x0]['baseRev']=this[_0x1b5feb(0xfb)](),_0x5d32f6=this['_injector'][_0x1b5feb(0x38a)](exports[_0x1b5feb(0x18b)],this[_0x1b5feb(0x16e)],this[_0x1b5feb(0x37d)],_0x579ab3[0x0],this['_handler']);else{if(_0x4156b0[_0x1b5feb(0x1d7)]!==0x0){const _0x34c287=this[_0x1b5feb(0x386)]['createInstance'](exports['PendingState'],this['unitID'],this[_0x1b5feb(0x37d)],_0x4156b0,this[_0x1b5feb(0x25a)]);_0x34c287[_0x1b5feb(0xa9)](),_0x5d32f6=_0x34c287;}else _0x5d32f6=this[_0x1b5feb(0x386)]['createInstance'](exports[_0x1b5feb(0x134)],this['unitID'],this[_0x1b5feb(0x37d)],this[_0x1b5feb(0x25a)]);}}return _0x5d32f6['_updateLocalCache'](),_0x5d32f6;}catch(_0x4777ec){return this[_0x1b5feb(0x32a)][_0x1b5feb(0x215)](_0x1b5feb(0x229),'failed\x20to\x20apply\x20missed\x20changesets!',_0x4777ec),this['_injector'][_0x1b5feb(0x38a)](exports['ConflictState'],this[_0x1b5feb(0x16e)],this[_0x1b5feb(0x37d)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2e58ba(0x33d)](_0x7c2de1){var _0xc2bd30=_0x2e58ba;return this['_pendingMutations'][_0xc2bd30(0x13c)](_0x7c2de1),this;}['onRemoteChangeset'](_0x54d326){var _0x12c683=_0x2e58ba;return this[_0x12c683(0x28e)][_0x12c683(0x13c)](_0x54d326),this;}['onRemoteAck'](_0x2be961){var _0x47a73a=_0x2e58ba;if(this[_0x47a73a(0x14d)])return this['_acknowledgedAwaitingChangeset']=this[_0x47a73a(0x14d)],this[_0x47a73a(0x14d)]=null,this;throw new Error(_0x47a73a(0x3c6));}[_0x2e58ba(0x358)](_0x20f021){var _0x35fd34=_0x2e58ba;return this[_0x35fd34(0x11d)](!!(_0x20f021!=null&&_0x20f021['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x2e58ba(0x3bb)](){var _0x245783=_0x2e58ba;return this[_0x245783(0x386)]['createInstance'](exports[_0x245783(0x122)],this[_0x245783(0x16e)],this[_0x245783(0x37d)],this[_0x245783(0x14d)],this[_0x245783(0x3c0)],this[_0x245783(0x25a)]);}['toggleOnline'](){return this;}['_onConflict'](_0x41eb86){var _0x4fb42d=_0x2e58ba;return this[_0x4fb42d(0x386)][_0x4fb42d(0x38a)](exports[_0x4fb42d(0x2dd)],this['unitID'],this[_0x4fb42d(0x37d)],this[_0x4fb42d(0x14d)],this[_0x4fb42d(0x3c0)],this['_handler'],_0x41eb86);}},exports[_0x2e58ba(0x105)]=le([A(0x7,a['Inject'](a['Injector'])),A(0x8,a[_0x2e58ba(0x2dc)](m[_0x2e58ba(0x37c)])),A(0x9,a[_0x2e58ba(0x376)]),A(0xa,a[_0x2e58ba(0x2aa)]),A(0xb,a[_0x2e58ba(0x2bb)]),A(0xc,m[_0x2e58ba(0x343)]),A(0xd,a[_0x2e58ba(0x1c2)](z))],exports[_0x2e58ba(0x105)]);function Pt(_0x13f53a,_0x33234e,_0x176898,_0x4511e5,_0x2d7473,_0x2b3edd){var _0x5e0ae4=_0x2e58ba;return _0x4511e5&&_0x2d7473[_0x5e0ae4(0x1d7)]?_0x13f53a[_0x5e0ae4(0x38a)](exports[_0x5e0ae4(0x1fd)],_0x33234e,_0x176898,_0x4511e5,_0x2d7473,_0x2b3edd,void 0x0):_0x4511e5?_0x13f53a[_0x5e0ae4(0x38a)](exports[_0x5e0ae4(0x18b)],_0x33234e,_0x176898,_0x4511e5,_0x2b3edd):_0x2d7473[_0x5e0ae4(0x1d7)]?_0x13f53a[_0x5e0ae4(0x38a)](exports[_0x5e0ae4(0xd0)],_0x33234e,_0x176898,_0x2d7473,_0x2b3edd):_0x13f53a[_0x5e0ae4(0x38a)](exports['SyncedState'],_0x33234e,_0x176898,_0x2b3edd);}var Pn=Object[_0x2e58ba(0xf6)],Dn=Object['getOwnPropertyDescriptor'],Ge=(_0x45895b,_0x1be8da,_0x22fe36,_0x580fc1)=>{var _0x2b4e36=_0x2e58ba;for(var _0x57251d=_0x580fc1>0x1?void 0x0:_0x580fc1?Dn(_0x1be8da,_0x22fe36):_0x1be8da,_0x501d4a=_0x45895b[_0x2b4e36(0x1d7)]-0x1,_0x465d22;_0x501d4a>=0x0;_0x501d4a--)(_0x465d22=_0x45895b[_0x501d4a])&&(_0x57251d=(_0x580fc1?_0x465d22(_0x1be8da,_0x22fe36,_0x57251d):_0x465d22(_0x57251d))||_0x57251d);return _0x580fc1&&_0x57251d&&Pn(_0x1be8da,_0x22fe36,_0x57251d),_0x57251d;},k=(_0x17facd,_0x1746dc)=>(_0x5c2d4b,_0x98d955)=>_0x1746dc(_0x5c2d4b,_0x98d955,_0x17facd);exports[_0x2e58ba(0x190)]=class extends a[_0x2e58ba(0x2ec)]{constructor(_0x48665d,_0x5123a0,_0x38529e,_0x22f92b,_0x57e7ec,_0x26b463,_0x465d59,_0x57f4db,_0x41d254,_0x39a4f1,_0x4fbd3f,_0x52ed18,_0xd3b70e){var _0x1ff44e=_0x2e58ba;super(),D(this,_0x1ff44e(0x93),new H[(_0x1ff44e(0xb9))](null)),D(this,_0x1ff44e(0x136),this['_state$'][_0x1ff44e(0x407)]()),D(this,_0x1ff44e(0x277)),D(this,_0x1ff44e(0x14b),!0x1),D(this,_0x1ff44e(0x363),''),D(this,_0x1ff44e(0x397),0x0),D(this,'status$',this[_0x1ff44e(0x136)]['pipe'](H[_0x1ff44e(0x39f)](_0x1afafe=>_0x1afafe?_0x1afafe[_0x1ff44e(0x235)]:We[_0x1ff44e(0x3de)]),H['shareReplay'](0x1))),D(this,_0x1ff44e(0x194),!0x1),D(this,_0x1ff44e(0x195),[]),(this[_0x1ff44e(0x16e)]=_0x48665d,this['session']=_0x5123a0,this[_0x1ff44e(0xb2)]=_0x38529e,this[_0x1ff44e(0x386)]=_0x22f92b,this[_0x1ff44e(0x121)]=_0x57e7ec,this['_localeService']=_0x26b463,this[_0x1ff44e(0x252)]=_0x465d59,this['_eventService']=_0x57f4db,this['_logService']=_0x41d254,this['_commandService']=_0x39a4f1,this[_0x1ff44e(0x16c)]=_0x4fbd3f,this[_0x1ff44e(0x120)]=_0x52ed18,this[_0x1ff44e(0x3d7)]=_0xd3b70e);}get[_0x2e58ba(0x33e)](){return this['_state'];}async[_0x2e58ba(0x2da)](){var _0x341fb1=_0x2e58ba;if(this[_0x341fb1(0x33e)])throw new Error(_0x341fb1(0x152));await this['_init']();}[_0x2e58ba(0x213)](){var _0x337f2d=_0x2e58ba;return this[_0x337f2d(0x14b)]=!0x0,a[_0x337f2d(0x22e)](()=>{var _0x32fc94=_0x337f2d;this[_0x32fc94(0x14b)]=!0x1,this[_0x32fc94(0x2d3)]();});}[_0x2e58ba(0x138)](_0x278510){var _0x26522d=_0x2e58ba;this[_0x26522d(0x246)](_0x278510);}['_updateState'](_0xa34614){var _0x5459fb=_0x2e58ba;this[_0x5459fb(0x277)]=_0xa34614,this[_0x5459fb(0x93)][_0x5459fb(0x13e)](_0xa34614);}async[_0x2e58ba(0x295)](){var _0x2bcab2=_0x2e58ba,_0x964b1e;this['_updateState'](await this['_createInitialState']()),this[_0x2bcab2(0x120)]&&((_0x964b1e=this[_0x2bcab2(0x120)])==null||_0x964b1e[_0x2bcab2(0x290)](this['unitID']),this[_0x2bcab2(0x264)](this[_0x2bcab2(0x120)][_0x2bcab2(0x2d5)](this[_0x2bcab2(0x16e)])[_0x2bcab2(0x355)](_0xfe0278=>{var _0x18727b=_0x2bcab2;this[_0x18727b(0x32a)][_0x18727b(0x330)](_0x18727b(0x34e),'editing\x20status\x20changed\x20to',_0xfe0278),_0xfe0278===Fe[_0x18727b(0x245)]?(this[_0x18727b(0xbb)][_0x18727b(0xb4)]({'id':Q['OTHER_CLIENT_EDITING']}),this[_0x18727b(0x16c)][_0x18727b(0x340)](new J[(_0x18727b(0x2a2))](this[_0x18727b(0x16e)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x18727b(0x16c)][_0x18727b(0x340)](new J[(_0x18727b(0x2a2))](this[_0x18727b(0x16e)])['id'],!0x0),this[_0x18727b(0x16c)][_0x18727b(0x20a)](!0x0));})));let _0x52acb0=!0x1;return this[_0x2bcab2(0x264)](this['session'][_0x2bcab2(0x416)]['subscribe'](_0x5d0548=>{var _0x57aa92=_0x2bcab2;_0x5d0548===se[_0x57aa92(0x411)]?this[_0x57aa92(0x38e)](_0x52acb0):_0x5d0548===se[_0x57aa92(0x3de)]&&(_0x52acb0=!0x0,this[_0x57aa92(0x38b)]());})),this['disposeWithMe'](this[_0x2bcab2(0x1ce)][_0x2bcab2(0x1fe)][_0x2bcab2(0x355)](_0x1d29b1=>{var _0x5cd52f=_0x2bcab2;try{switch(_0x1d29b1[_0x5cd52f(0x2a0)]){case m[_0x5cd52f(0x324)]['NEW_CHANGESETS']:{this[_0x5cd52f(0x28f)](m[_0x5cd52f(0x15e)](_0x1d29b1[_0x5cd52f(0xa8)]));break;}case m[_0x5cd52f(0x324)][_0x5cd52f(0x154)]:{this[_0x5cd52f(0x392)](_0x1d29b1[_0x5cd52f(0xa8)]);break;}case m[_0x5cd52f(0x324)][_0x5cd52f(0x1bf)]:{this[_0x5cd52f(0xeb)]();break;}case m[_0x5cd52f(0x324)]['CHANGESET_SHOULD_RETRY']:{this[_0x5cd52f(0x36b)](_0x1d29b1[_0x5cd52f(0xa8)]);break;}case m[_0x5cd52f(0x324)][_0x5cd52f(0x338)]:{this[_0x5cd52f(0x2c8)](_0x1d29b1[_0x5cd52f(0xa8)][_0x5cd52f(0x3ed)][_0x5cd52f(0x39f)](_0x1fefa1=>m[_0x5cd52f(0x15e)](_0x1fefa1)));break;}case m['CollaborationEvent'][_0x5cd52f(0x32e)]:{this[_0x5cd52f(0xeb)]({'isPermissionRej':!0x0});break;}case m[_0x5cd52f(0x324)][_0x5cd52f(0x210)]:break;}}catch(_0x47ce2f){throw console[_0x5cd52f(0x215)](_0x5cd52f(0x396),_0x47ce2f),_0x47ce2f;}})),this[_0x2bcab2(0x277)];}[_0x2e58ba(0x3cf)](){var _0x550fec=_0x2e58ba;this[_0x550fec(0x194)]=!0x1;}[_0x2e58ba(0x156)](){var _0x218fd3=_0x2e58ba;if(this['_transitionLocked'])throw new Error(_0x218fd3(0x21c));this[_0x218fd3(0x194)]=!0x0;}[_0x2e58ba(0x246)](_0x3837d0){var _0x2786df=_0x2e58ba;this['_lockTransition'](),this['_updateState'](this[_0x2786df(0x277)]['appendMutation'](_0x3837d0)),this[_0x2786df(0x3cf)]();}[_0x2e58ba(0x28f)](_0x4c775e){var _0x1068d1=_0x2e58ba;if(!(_0x4c775e[_0x1068d1(0x25f)]<=this['_revisionService'][_0x1068d1(0x137)](this[_0x1068d1(0x16e)]))){if(this[_0x1068d1(0x14b)]){this[_0x1068d1(0x195)]['push'](_0x4c775e);return;}this[_0x1068d1(0xd9)](_0x4c775e);}}[_0x2e58ba(0x2d3)](){var _0x5c1abf=_0x2e58ba;this[_0x5c1abf(0x195)]['forEach'](_0xd3849a=>this[_0x5c1abf(0xd9)](_0xd3849a)),this[_0x5c1abf(0x195)]=[];}[_0x2e58ba(0xd9)](_0x2fa604){var _0x20394a=_0x2e58ba;const _0x59165a=this['_compressMutationService'][_0x20394a(0x140)][_0x20394a(0x16d)](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x2fa604[_0x20394a(0x1ff)],null)||_0x2fa604[_0x20394a(0x1ff)],_0x5b0207={..._0x2fa604,'mutations':_0x59165a};this[_0x20394a(0x156)](),this[_0x20394a(0x30e)](this[_0x20394a(0x277)][_0x20394a(0x1eb)](_0x5b0207)),this[_0x20394a(0x3cf)]();}[_0x2e58ba(0x392)](_0x40dd3c){var _0x134ee7=_0x2e58ba;this[_0x134ee7(0x156)](),this[_0x134ee7(0x30e)](this[_0x134ee7(0x277)]['onRemoteAck'](_0x40dd3c)),this[_0x134ee7(0x3cf)]();}['_onRemoteRejected'](_0x10414e){var _0x468ab2=_0x2e58ba;this['_lockTransition'](),this['_updateState'](this[_0x468ab2(0x277)][_0x468ab2(0x358)](_0x10414e)),this[_0x468ab2(0x3cf)]();}[_0x2e58ba(0x36b)](_0x2cf294){var _0x6faab5=_0x2e58ba;this[_0x6faab5(0x156)](),this['_updateState'](this[_0x6faab5(0x277)]['onRemoteRetry'](_0x2cf294)),this[_0x6faab5(0x3cf)]();}['_onFetchMissResult'](_0x4bc796){var _0x2256bb=_0x2e58ba;if(!(this[_0x2256bb(0x277)]instanceof exports[_0x2256bb(0x105)]))throw new TypeError(_0x2256bb(0x1d3));const _0x4f4eea=_0x4bc796['map'](_0x53a7d0=>{var _0x5f5f68=_0x2256bb;const _0x4dcfd8=this[_0x5f5f68(0x121)][_0x5f5f68(0x140)]['fetchThroughInterceptors'](this[_0x5f5f68(0x121)]['interceptor']['getInterceptPoints']()[_0x5f5f68(0x2ad)])(_0x53a7d0[_0x5f5f68(0x1ff)],null)||_0x53a7d0[_0x5f5f68(0x1ff)];return{..._0x53a7d0,'mutations':_0x4dcfd8};});this['_lockTransition'](),this[_0x2256bb(0x30e)](this[_0x2256bb(0x277)][_0x2256bb(0x287)](_0x4f4eea)),this[_0x2256bb(0x3cf)]();}['_toggleOffline'](){var _0x4a81b3=_0x2e58ba;this['_lockTransition'](),this[_0x4a81b3(0x30e)](this[_0x4a81b3(0x277)][_0x4a81b3(0x3bb)]()),this[_0x4a81b3(0x3cf)]();}[_0x2e58ba(0x38e)](_0x2d837=!0x1){var _0x24e703=_0x2e58ba;this[_0x24e703(0x156)](),this[_0x24e703(0x30e)](this[_0x24e703(0x277)][_0x24e703(0x142)]()),this[_0x24e703(0x3cf)]();const _0x39a62f=this[_0x24e703(0x277)];_0x2d837&&_0x39a62f instanceof exports[_0x24e703(0x134)]&&(this[_0x24e703(0x156)](),this[_0x24e703(0x30e)](_0x39a62f['fetchMiss']()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x34fbe6=>{var _0x2083e7=_0x2768;this[_0x2083e7(0x1ce)]['sessionStatus$'][_0x2083e7(0x22f)](H[_0x2083e7(0x2e7)](0x1))[_0x2083e7(0x355)](async _0x237888=>{var _0x642634=_0x2083e7;_0x34fbe6(await this[_0x642634(0x398)](_0x237888===se[_0x642634(0x411)]));});});}[_0x2e58ba(0x249)](){var _0x4a8e24=_0x2e58ba;const _0x2dbcdc=this[_0x4a8e24(0x16e)];return{'onStateChange':(_0x16255d,_0x2eea47)=>{var _0xfb9408=_0x4a8e24;if(_0x16255d!==this[_0xfb9408(0x277)])throw new Error(_0xfb9408(0x199)+_0x16255d['status']+_0xfb9408(0x3bf)+_0x2eea47[_0xfb9408(0x235)]+'\x0aCurrent:\x20'+this[_0xfb9408(0x277)][_0xfb9408(0x235)]);this[_0xfb9408(0x30e)](_0x2eea47);},'onSendChangeset':_0x5b62a4=>{var _0x3be569=_0x4a8e24;_0x5b62a4[_0x3be569(0xd1)]||(_0x5b62a4[_0x3be569(0xd1)]=this[_0x3be569(0x363)],_0x5b62a4['reqId']=++this['_changesetReqId']);const _0x746003={'eventID':m[_0x3be569(0x324)][_0x3be569(0x2a8)],'data':{'unitID':_0x5b62a4[_0x3be569(0x16e)],'unitType':this[_0x3be569(0xb2)],'changeset':_0x5b62a4,'memberID':this[_0x3be569(0x1ce)]['getMemberID']()}};this['session'][_0x3be569(0x326)](_0x746003,this[_0x3be569(0x16e)]);},'onMissingChangesets':({from:_0x9e8c5a,to:_0x5c5166})=>{var _0x592177=_0x4a8e24;this['_logService'][_0x592177(0x330)](_0x592177(0x34e),_0x592177(0x23d)+_0x9e8c5a+'\x20to\x20'+_0x5c5166);const _0x32f9eb={'eventID':m[_0x592177(0x324)][_0x592177(0x1df)],'data':{'unitID':_0x2dbcdc,'unitType':this[_0x592177(0xb2)],'from':_0x9e8c5a,'to':_0x5c5166}};this[_0x592177(0x1ce)][_0x592177(0x326)](_0x32f9eb,this[_0x592177(0x16e)]);}};}async[_0x2e58ba(0x398)](_0x266b10){var _0x1195a3=_0x2e58ba,_0x2600d3,_0xc57860,_0x22f582;const _0x231de7=await((_0x2600d3=this[_0x1195a3(0x3d7)])==null?void 0x0:_0x2600d3[_0x1195a3(0x40e)](this[_0x1195a3(0x16e)])),_0x562fb0=(_0xc57860=_0x231de7==null?void 0x0:_0x231de7['mutations'])!=null?_0xc57860:[],_0xb6840f=(_0x22f582=_0x231de7==null?void 0x0:_0x231de7['awaitingChangeset'])!=null?_0x22f582:null,_0xb2416c=!!(_0xb6840f!=null&&_0xb6840f['sid'])&&!!(_0xb6840f!=null&&_0xb6840f[_0x1195a3(0x3dc)]);this['_changesetSessionId']=_0xb2416c?_0xb6840f[_0x1195a3(0xd1)]:gn(),this[_0x1195a3(0x397)]=_0xb2416c?_0xb6840f[_0x1195a3(0x3dc)]:0x0;const _0x57139b=this[_0x1195a3(0x16e)];try{this[_0x1195a3(0x18e)](_0xb6840f,_0x562fb0);}catch(_0x56c1c6){this[_0x1195a3(0x32a)][_0x1195a3(0x215)](_0x56c1c6);}const _0x533606=this[_0x1195a3(0x249)]();if(_0x266b10){const _0x5d3621=Pt(this[_0x1195a3(0x386)],_0x57139b,this[_0x1195a3(0xb2)],_0xb6840f,_0x562fb0,_0x533606);return _0x5d3621 instanceof exports[_0x1195a3(0xd0)]?_0x5d3621['_schedule']():(_0x5d3621 instanceof exports['AwaitingWithPendingState']||_0x5d3621 instanceof exports[_0x1195a3(0x18b)])&&_0x5d3621[_0x1195a3(0x36d)](),_0x5d3621;}return this[_0x1195a3(0x386)][_0x1195a3(0x38a)](exports[_0x1195a3(0x122)],_0x57139b,this[_0x1195a3(0xb2)],_0xb6840f,_0x562fb0,_0x533606);}[_0x2e58ba(0x18e)](_0x12789a,_0x2a674c){var _0x20f265=_0x2e58ba,_0x4fb6d5,_0x39b085;const _0x290555=this[_0x20f265(0x121)][_0x20f265(0x140)][_0x20f265(0x16d)](this[_0x20f265(0x121)]['interceptor']['getInterceptPoints']()[_0x20f265(0x2ad)]);(_0x4fb6d5=_0x290555((_0x12789a==null?void 0x0:_0x12789a[_0x20f265(0x1ff)])||[],null))==null||_0x4fb6d5['forEach'](_0x506d36=>this[_0x20f265(0x1be)][_0x20f265(0x320)](_0x506d36['id'],_0x506d36['params'])),(_0x39b085=_0x290555(_0x2a674c||[],null))==null||_0x39b085[_0x20f265(0x2fe)](_0x5ab6ab=>this[_0x20f265(0x1be)]['executeCommand'](_0x5ab6ab['id'],_0x5ab6ab[_0x20f265(0x20c)]));}},exports[_0x2e58ba(0x190)]=Ge([k(0x3,a[_0x2e58ba(0x2dc)](a['Injector'])),k(0x4,a[_0x2e58ba(0x2dc)](m[_0x2e58ba(0x10e)])),k(0x5,a[_0x2e58ba(0x2dc)](a[_0x2e58ba(0x346)])),k(0x6,a[_0x2e58ba(0x2dc)](m['RevisionService'])),k(0x7,a[_0x2e58ba(0x2dc)](te)),k(0x8,a[_0x2e58ba(0x376)]),k(0x9,a[_0x2e58ba(0x2aa)]),k(0xa,a['IPermissionService']),k(0xb,a[_0x2e58ba(0x1c2)](ve)),k(0xc,a[_0x2e58ba(0x1c2)](z))],exports[_0x2e58ba(0x190)]),exports['DocCollaborationEntity']=class extends exports[_0x2e58ba(0x190)]{constructor(_0x432961,_0x261c46,_0x1d5ba7,_0x878923,_0x137bef,_0x444164,_0x231cc5,_0x1b70bb,_0x2d974f,_0x35f5ca,_0x54348e,_0x18c9a6,_0x63ec7d){var _0x1aab3c=_0x2e58ba;super(_0x432961,_0x1d5ba7,_0x261c46,_0x878923,_0x137bef,_0x444164,_0x231cc5,_0x1b70bb,_0x2d974f,_0x35f5ca,_0x54348e,_0x18c9a6,_0x63ec7d),D(this,_0x1aab3c(0x3ea),null),(this[_0x1aab3c(0x16e)]=_0x432961,this[_0x1aab3c(0x37d)]=_0x261c46);}[_0x2e58ba(0x115)](_0xb993f0){var _0x3aee52=_0x2e58ba;this[_0x3aee52(0x3ea)]=_0xb993f0;}['dispose'](){var _0x35b6ea=_0x2e58ba;this['_handlerCallback']=null,super[_0x35b6ea(0x17c)]();}[_0x2e58ba(0x249)](){var _0x326c3d=_0x2e58ba;const _0x4e5cc5=super[_0x326c3d(0x249)]();return _0x4e5cc5[_0x326c3d(0x284)]=_0x3e6366=>{var _0x5debf4=_0x326c3d,_0x99f0fa,_0x328c84;return(_0x328c84=(_0x99f0fa=this[_0x5debf4(0x3ea)])==null?void 0x0:_0x99f0fa[_0x5debf4(0x284)])==null?void 0x0:_0x328c84[_0x5debf4(0x3be)](_0x99f0fa,_0x3e6366);},_0x4e5cc5[_0x326c3d(0x2c9)]=_0x4e9ec8=>{var _0x184ae8=_0x326c3d,_0x35a040,_0x3ed2ba;return(_0x3ed2ba=(_0x35a040=this['_handlerCallback'])==null?void 0x0:_0x35a040['onTransformState'])==null?void 0x0:_0x3ed2ba[_0x184ae8(0x3be)](_0x35a040,_0x4e9ec8);},_0x4e5cc5['onTransformSelections']=_0x3717e1=>{var _0x2dd148=_0x326c3d,_0x570499,_0x2558f8;return(_0x2558f8=(_0x570499=this[_0x2dd148(0x3ea)])==null?void 0x0:_0x570499[_0x2dd148(0xfc)])==null?void 0x0:_0x2558f8[_0x2dd148(0x3be)](_0x570499,_0x3717e1);},_0x4e5cc5['onSyncEditingCollabCursor']=_0x5ec888=>{var _0x5b8f4d=_0x326c3d,_0x323ff1,_0xdde889;return(_0xdde889=(_0x323ff1=this[_0x5b8f4d(0x3ea)])==null?void 0x0:_0x323ff1['onSyncEditingCollabCursor'])==null?void 0x0:_0xdde889[_0x5b8f4d(0x3be)](_0x323ff1,_0x5ec888);},_0x4e5cc5['onTransformRemoteChangesetByIMECache']=_0x2bd857=>{var _0x118bfd=_0x326c3d,_0x207e92,_0x1f76f5,_0x38d926;if(!((_0x207e92=this[_0x118bfd(0x3ea)])!=null&&_0x207e92[_0x118bfd(0x1a2)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x38d926=(_0x1f76f5=this[_0x118bfd(0x3ea)])==null?void 0x0:_0x1f76f5[_0x118bfd(0x1a2)])==null?void 0x0:_0x38d926[_0x118bfd(0x3be)](_0x1f76f5,_0x2bd857);},_0x4e5cc5[_0x326c3d(0xf0)]=_0x426559=>{var _0x4b6db9=_0x326c3d,_0x16a8ac,_0x3649bc,_0x1d5ee3;if(!((_0x16a8ac=this['_handlerCallback'])!=null&&_0x16a8ac[_0x4b6db9(0xf0)]))throw new Error(_0x4b6db9(0x31a));return(_0x1d5ee3=(_0x3649bc=this[_0x4b6db9(0x3ea)])==null?void 0x0:_0x3649bc[_0x4b6db9(0xf0)])==null?void 0x0:_0x1d5ee3[_0x4b6db9(0x3be)](_0x3649bc,_0x426559);},_0x4e5cc5;}async[_0x2e58ba(0x295)](){var _0x33a486=_0x2e58ba;const _0x204348=await super[_0x33a486(0x295)]();return this[_0x33a486(0x264)](this[_0x33a486(0x1be)][_0x33a486(0x33c)]((_0x4147a6,_0x9d7d14)=>{var _0x383c51=_0x33a486;if(_0x4147a6[_0x383c51(0x37d)]!==a[_0x383c51(0x216)][_0x383c51(0x34d)]||_0x9d7d14!=null&&_0x9d7d14[_0x383c51(0xf1)]||_0x9d7d14!=null&&_0x9d7d14[_0x383c51(0x3a4)]||_0x4147a6['id']===dt[_0x383c51(0x329)]['id'])return;const _0x1bff41=_0x4147a6[_0x383c51(0x20c)];if((_0x1bff41==null?void 0x0:_0x1bff41[_0x383c51(0x39c)])!==this[_0x383c51(0x16e)])return;const _0x4916a8=_0x4147a6,_0x5b2011=this['_compressMutationService'][_0x383c51(0x140)][_0x383c51(0x16d)](this[_0x383c51(0x121)][_0x383c51(0x140)][_0x383c51(0x18f)]()[_0x383c51(0xfe)])([_0x4916a8],null)||[_0x4916a8];this[_0x383c51(0x246)](_0x5b2011[0x0]);})),_0x204348;}},exports['DocCollaborationEntity']=Ge([k(0x3,a[_0x2e58ba(0x2dc)](a['Injector'])),k(0x4,a['Inject'](m[_0x2e58ba(0x10e)])),k(0x5,a[_0x2e58ba(0x2dc)](a['LocaleService'])),k(0x6,a[_0x2e58ba(0x2dc)](m[_0x2e58ba(0x37c)])),k(0x7,a[_0x2e58ba(0x2dc)](te)),k(0x8,a[_0x2e58ba(0x376)]),k(0x9,a['ICommandService']),k(0xa,a[_0x2e58ba(0x378)]),k(0xb,a['Optional'](ve)),k(0xc,a[_0x2e58ba(0x1c2)](z))],exports[_0x2e58ba(0x2cd)]),exports[_0x2e58ba(0x40b)]=class extends exports['CollaborationEntity']{constructor(_0x49e6e5,_0x185c80,_0x176c8a,_0x560ec3,_0x52b909,_0x3617dd,_0x59ef0a,_0x538a33,_0x198563,_0x3853b2,_0x4abff2,_0xa1d54c,_0x28e21f,_0x1f002f){var _0x199be2=_0x2e58ba;super(_0x49e6e5,_0x176c8a,_0x185c80,_0x560ec3,_0x52b909,_0x3617dd,_0x59ef0a,_0x198563,_0x3853b2,_0x4abff2,_0xa1d54c,_0x28e21f,_0x1f002f),this[_0x199be2(0x16e)]=_0x49e6e5,this[_0x199be2(0x37d)]=_0x185c80,this[_0x199be2(0x3d9)]=_0x538a33;}[_0x2e58ba(0x249)](){var _0x346c7b=_0x2e58ba;const _0x241c9b=super[_0x346c7b(0x249)]();return _0x241c9b[_0x346c7b(0xfc)]=_0x34fb8d=>this[_0x346c7b(0x3d9)][_0x346c7b(0x3ba)](_0x34fb8d),_0x241c9b;}async[_0x2e58ba(0x295)](){var _0xe2ed95=_0x2e58ba;const _0x2f3ba7=await super[_0xe2ed95(0x295)]();return this[_0xe2ed95(0x264)](this[_0xe2ed95(0x1be)][_0xe2ed95(0x33c)]((_0xa4b04c,_0x39fa6a)=>{var _0x23e2ee=_0xe2ed95;if(_0xa4b04c['type']!==a[_0x23e2ee(0x216)]['MUTATION']||_0x39fa6a!=null&&_0x39fa6a['fromCollab']||_0x39fa6a!=null&&_0x39fa6a[_0x23e2ee(0x3a4)])return;const _0x55532d=_0xa4b04c['params'];if((_0x55532d==null?void 0x0:_0x55532d[_0x23e2ee(0x39c)])!==this[_0x23e2ee(0x16e)])return;const _0x21f051=_0xa4b04c,_0x206a59=this[_0x23e2ee(0x121)][_0x23e2ee(0x140)][_0x23e2ee(0x16d)](this[_0x23e2ee(0x121)][_0x23e2ee(0x140)][_0x23e2ee(0x18f)]()['COMPRESS_MUTATION_SEND'])([_0x21f051],null)||[_0x21f051];this[_0x23e2ee(0x246)](_0x206a59[0x0]);})),_0x2f3ba7;}},exports[_0x2e58ba(0x40b)]=Ge([k(0x3,a[_0x2e58ba(0x2dc)](a['Injector'])),k(0x4,a[_0x2e58ba(0x2dc)](m[_0x2e58ba(0x10e)])),k(0x5,a[_0x2e58ba(0x2dc)](a[_0x2e58ba(0x346)])),k(0x6,a['Inject'](m[_0x2e58ba(0x37c)])),k(0x7,a[_0x2e58ba(0x2dc)](exports['SheetTransformSelectionsService'])),k(0x8,a['Inject'](te)),k(0x9,a[_0x2e58ba(0x376)]),k(0xa,a[_0x2e58ba(0x2aa)]),k(0xb,a[_0x2e58ba(0x378)]),k(0xc,a[_0x2e58ba(0x1c2)](ve)),k(0xd,a[_0x2e58ba(0x1c2)](z))],exports[_0x2e58ba(0x40b)]);var wn=Object[_0x2e58ba(0xf6)],An=Object[_0x2e58ba(0x188)],Ln=(_0x59198e,_0x27ee49,_0xba2aa0,_0x40ba4e)=>{var _0x1b4081=_0x2e58ba;for(var _0x312c9f=_0x40ba4e>0x1?void 0x0:_0x40ba4e?An(_0x27ee49,_0xba2aa0):_0x27ee49,_0x4d75a5=_0x59198e[_0x1b4081(0x1d7)]-0x1,_0x3e6b3a;_0x4d75a5>=0x0;_0x4d75a5--)(_0x3e6b3a=_0x59198e[_0x4d75a5])&&(_0x312c9f=(_0x40ba4e?_0x3e6b3a(_0x27ee49,_0xba2aa0,_0x312c9f):_0x3e6b3a(_0x312c9f))||_0x312c9f);return _0x40ba4e&&_0x312c9f&&wn(_0x27ee49,_0xba2aa0,_0x312c9f),_0x312c9f;},we=(_0x331113,_0xc6cfaf)=>(_0x453c06,_0x42c348)=>_0xc6cfaf(_0x453c06,_0x42c348,_0x331113);exports[_0x2e58ba(0x219)]=class extends a[_0x2e58ba(0x2ec)]{constructor(_0x466c05,_0x39a84c,_0x11fa1b){var _0x59eddb=_0x2e58ba;super(),D(this,_0x59eddb(0x1ea),new Map()),D(this,'_entityInit$',new H[(_0x59eddb(0x254))]()),D(this,_0x59eddb(0x305),this[_0x59eddb(0x2de)][_0x59eddb(0x407)]()),(this[_0x59eddb(0x386)]=_0x466c05,this[_0x59eddb(0x335)]=_0x39a84c,this[_0x59eddb(0x240)]=_0x11fa1b,this[_0x59eddb(0x295)]());}[_0x2e58ba(0x17c)](){var _0x12cb0e=_0x2e58ba;super[_0x12cb0e(0x17c)](),this[_0x12cb0e(0x1ea)][_0x12cb0e(0x2fe)](_0x48b517=>_0x48b517[_0x12cb0e(0x17c)]()),this[_0x12cb0e(0x1ea)][_0x12cb0e(0x11c)]();}[_0x2e58ba(0x304)](_0x484553){var _0x593984;return(_0x593984=this['_entities']['get'](_0x484553))!=null?_0x593984:null;}[_0x2e58ba(0x2ca)](_0x5f2b9a){var _0x191506=_0x2e58ba;const _0x4742f7=this['getCollabEntity'](_0x5f2b9a);return _0x4742f7?H['of'](_0x4742f7):this[_0x191506(0x2de)][_0x191506(0x22f)](W[_0x191506(0x3fe)](_0x4d1743=>_0x4d1743[_0x191506(0x16e)]===_0x5f2b9a));}['readyForCollab'](_0x5ef2e6){var _0x533c9e=_0x2e58ba;return H[_0x533c9e(0x3f3)](this[_0x533c9e(0x2ca)](_0x5ef2e6)[_0x533c9e(0x22f)](W[_0x533c9e(0x39f)](()=>{})));}['_init'](){var _0x4decd9=_0x2e58ba;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x4decd9(0x32f)][_0x4decd9(0x1b5)])[_0x4decd9(0x22f)](H[_0x4decd9(0x1f7)](this[_0x4decd9(0x1f3)]),W[_0x4decd9(0x413)](0x10))[_0x4decd9(0x355)](async _0x48ae64=>{var _0xa58b38=_0x4decd9;const _0x393ffd=_0x48ae64[_0xa58b38(0x20f)](),_0x21b825=await this[_0xa58b38(0x116)](_0x393ffd,Z['UNIVER_SHEET']);this[_0xa58b38(0x1ea)][_0xa58b38(0x10b)](_0x393ffd,_0x21b825);}),this[_0x4decd9(0x240)][_0x4decd9(0x3ce)](a['UniverInstanceType'][_0x4decd9(0x185)])[_0x4decd9(0x22f)](H[_0x4decd9(0x1f7)](this[_0x4decd9(0x1f3)]),W[_0x4decd9(0x413)](0x10))[_0x4decd9(0x22f)](W['filter'](_0x20c6e1=>!_0x20c6e1['getUnitId']()[_0x4decd9(0x147)]('__')))[_0x4decd9(0x355)](async _0x1d0f13=>{var _0x30692e=_0x4decd9;const _0x59ffca=_0x1d0f13[_0x30692e(0x20f)](),_0x5066cd=await this[_0x30692e(0x116)](_0x59ffca,Z[_0x30692e(0x185)]);this[_0x30692e(0x1ea)]['set'](_0x59ffca,_0x5066cd);}),H[_0x4decd9(0x29a)](this['_univerInstanceService'][_0x4decd9(0x12e)](a[_0x4decd9(0x32f)][_0x4decd9(0x1b5)]),this[_0x4decd9(0x240)][_0x4decd9(0x12e)](a[_0x4decd9(0x32f)]['UNIVER_DOC']))[_0x4decd9(0x22f)](H['takeUntil'](this[_0x4decd9(0x1f3)]))[_0x4decd9(0x355)](_0x2d837e=>{var _0x1f5f4c=_0x4decd9;const _0x5a4b8d=_0x2d837e[_0x1f5f4c(0x20f)](),_0x2210c2=this[_0x1f5f4c(0x1ea)][_0x1f5f4c(0x357)](_0x5a4b8d);_0x2210c2&&(_0x2210c2['dispose'](),this[_0x1f5f4c(0x1ea)][_0x1f5f4c(0xda)](_0x5a4b8d));});}async[_0x2e58ba(0x116)](_0x51cb61,_0x2f45c0){var _0x1710cd=_0x2e58ba;const _0x427c0d=await this[_0x1710cd(0x335)][_0x1710cd(0x388)](_0x51cb61),_0x12c5a4=this[_0x1710cd(0x386)][_0x1710cd(0x38a)](this['_getCtorByUniverType'](_0x2f45c0),_0x51cb61,_0x2f45c0,_0x427c0d);return await _0x12c5a4[_0x1710cd(0x2da)](),this[_0x1710cd(0x2de)][_0x1710cd(0x13e)](_0x12c5a4),_0x12c5a4;}[_0x2e58ba(0xfd)](_0x2d1094){var _0x59c8eb=_0x2e58ba;switch(_0x2d1094){case Z[_0x59c8eb(0x185)]:return exports[_0x59c8eb(0x2cd)];case Z[_0x59c8eb(0x1b5)]:return exports[_0x59c8eb(0x40b)];default:throw new Error(_0x59c8eb(0x354)+_0x2d1094);}}},exports[_0x2e58ba(0x219)]=Ln([we(0x0,a['Inject'](a[_0x2e58ba(0x302)])),we(0x1,a[_0x2e58ba(0x2dc)](exports[_0x2e58ba(0x181)])),we(0x2,a[_0x2e58ba(0x1f5)])],exports['CollaborationController']);var Mn=Object[_0x2e58ba(0xf6)],xn=Object[_0x2e58ba(0x188)],jn=(_0x33022f,_0x383cf6,_0x1d8613,_0x419204)=>{var _0x2df055=_0x2e58ba;for(var _0xf4446=_0x419204>0x1?void 0x0:_0x419204?xn(_0x383cf6,_0x1d8613):_0x383cf6,_0x3f9feb=_0x33022f[_0x2df055(0x1d7)]-0x1,_0x54ead1;_0x3f9feb>=0x0;_0x3f9feb--)(_0x54ead1=_0x33022f[_0x3f9feb])&&(_0xf4446=(_0x419204?_0x54ead1(_0x383cf6,_0x1d8613,_0xf4446):_0x54ead1(_0xf4446))||_0xf4446);return _0x419204&&_0xf4446&&Mn(_0x383cf6,_0x1d8613,_0xf4446),_0xf4446;},Xe=(_0x4887e4,_0x3ae43d)=>(_0x2834bb,_0x3e484b)=>_0x3ae43d(_0x2834bb,_0x3e484b,_0x4887e4);const $n=_0x2e58ba(0x331),Hn=_0x2e58ba(0x2b3);let $e=class extends a[_0x2e58ba(0x227)]{constructor(_0x31d726,_0x33f7d7){var _0x256205=_0x2e58ba;super(),this[_0x256205(0x240)]=_0x31d726,this['_configService']=_0x33f7d7,this[_0x256205(0x295)]();}[_0x2e58ba(0x295)](){var _0x137f76=_0x2e58ba;this[_0x137f76(0x264)](this[_0x137f76(0x240)][_0x137f76(0x174)]['subscribe'](()=>{var _0x4b0c75=_0x137f76,_0x10f7b3;const _0x137629=this[_0x4b0c75(0x240)][_0x4b0c75(0x412)]();let _0x4f0570=(_0x10f7b3=this[_0x4b0c75(0xa1)][_0x4b0c75(0x3d6)]($n))!=null?_0x10f7b3:Hn;_0x137629 instanceof a[_0x4b0c75(0x132)]&&(_0x4f0570=_0x137629[_0x4b0c75(0x109)]),document[_0x4b0c75(0x17d)]=_0x4f0570;}));}};$e=jn([Xe(0x0,a['IUniverInstanceService']),Xe(0x1,a[_0x2e58ba(0x12d)])],$e);var kn=Object[_0x2e58ba(0xf6)],Bn=Object[_0x2e58ba(0x188)],Fn=(_0x448ca6,_0x566ddc,_0x22a060,_0x15e9a5)=>{var _0x39a0a8=_0x2e58ba;for(var _0x27339a=_0x15e9a5>0x1?void 0x0:_0x15e9a5?Bn(_0x566ddc,_0x22a060):_0x566ddc,_0x5ddc23=_0x448ca6[_0x39a0a8(0x1d7)]-0x1,_0x42ca79;_0x5ddc23>=0x0;_0x5ddc23--)(_0x42ca79=_0x448ca6[_0x5ddc23])&&(_0x27339a=(_0x15e9a5?_0x42ca79(_0x566ddc,_0x22a060,_0x27339a):_0x42ca79(_0x27339a))||_0x27339a);return _0x15e9a5&&_0x27339a&&kn(_0x566ddc,_0x22a060,_0x27339a),_0x27339a;},Ae=(_0x21d28b,_0x36bb68)=>(_0x2d8390,_0xd64247)=>_0x36bb68(_0x2d8390,_0xd64247,_0x21d28b);let ye=class{constructor(_0x4250b8,_0x20d2ed,_0xfc86b6){var _0x5e2427=_0x2e58ba;this['_configService']=_0x4250b8,this['_httpService']=_0x20d2ed,this[_0x5e2427(0x141)]=_0xfc86b6,this[_0x5e2427(0x2da)]();}[_0x2e58ba(0x2da)](){var _0x1c0673=_0x2e58ba;this['_httpService'][_0x1c0673(0x2e6)]({'priority':0x1,'interceptor':(_0x1361b9,_0x46abc3)=>_0x46abc3(_0x1361b9)['pipe'](H[_0x1c0673(0x1ec)](async _0x119570=>{var _0x44dd12=_0x1c0673;const _0x170792=_0x119570;if(_0x170792[_0x44dd12(0x235)]===0x191){if(typeof window>'u')throw new Error(_0x44dd12(0x117));if(window[_0x44dd12(0x189)](this[_0x44dd12(0x141)]['t'](_0x44dd12(0x2f1)))){const _0x101cc3=window[_0x44dd12(0xde)](window[_0x44dd12(0x176)][_0x44dd12(0x404)]);window[_0x44dd12(0x176)][_0x44dd12(0x404)]=this[_0x44dd12(0x1fb)]()+'?url='+_0x101cc3;}}return _0x170792;}))});}['_getLoginPath'](){var _0xabd68b=_0x2e58ba,_0x3d6fab,_0x36befc;const _0x2da6d7=this[_0xabd68b(0xa1)][_0xabd68b(0x3d6)](Ct),_0x626559=this['_configService'][_0xabd68b(0x3d6)](Y);return(_0x36befc=(_0x3d6fab=_0x626559==null?void 0x0:_0x626559['loginUrlKey'])!=null?_0x3d6fab:_0x2da6d7)!=null?_0x36befc:zt;}};ye=Fn([Ae(0x0,a['IConfigService']),Ae(0x1,a[_0x2e58ba(0x2dc)](q[_0x2e58ba(0x2f5)])),Ae(0x2,a[_0x2e58ba(0x2dc)](a[_0x2e58ba(0x346)]))],ye);var Wn=Object[_0x2e58ba(0xf6)],Gn=Object[_0x2e58ba(0x188)],Vn=(_0x491b89,_0x78bd39,_0x5f1c23,_0x21ea04)=>{var _0x4bd045=_0x2e58ba;for(var _0x473202=_0x21ea04>0x1?void 0x0:_0x21ea04?Gn(_0x78bd39,_0x5f1c23):_0x78bd39,_0x17a8af=_0x491b89[_0x4bd045(0x1d7)]-0x1,_0x411a89;_0x17a8af>=0x0;_0x17a8af--)(_0x411a89=_0x491b89[_0x17a8af])&&(_0x473202=(_0x21ea04?_0x411a89(_0x78bd39,_0x5f1c23,_0x473202):_0x411a89(_0x473202))||_0x473202);return _0x21ea04&&_0x473202&&Wn(_0x78bd39,_0x5f1c23,_0x473202),_0x473202;},Ze=(_0xc1b9e7,_0x5ab506)=>(_0x6aca90,_0x579efc)=>_0x5ab506(_0x6aca90,_0x579efc,_0xc1b9e7);const Ve=_0x2e58ba(0xdb),Kn='/universer-api/authz';exports[_0x2e58ba(0x3fb)]=class extends a[_0x2e58ba(0x227)]{constructor(_0x2fca98,_0x25d280){var _0x2be24a=_0x2e58ba;super(),this[_0x2be24a(0x39e)]=_0x2fca98,this[_0x2be24a(0xa1)]=_0x25d280,this[_0x2be24a(0x2d6)]();}[_0x2e58ba(0x2d6)](){var _0x1d51a2=_0x2e58ba;const _0x2ba675=this;this[_0x1d51a2(0x264)](this[_0x1d51a2(0x39e)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x1d51a2(0x15a)]({'isMatch'(_0x187654){var _0x182b28=_0x1d51a2,_0x46fd29;if(_0x187654[_0x182b28(0x2f3)]===_0x182b28(0x266)&&((_0x46fd29=_0x187654[_0x182b28(0x10d)])!=null&&_0x46fd29[_0x182b28(0x1ca)])){const {objectID:_0x41ef39,objectType:_0x2687c3}=_0x187654[_0x182b28(0x10d)][_0x182b28(0x1ca)]||{};if(!_0x41ef39||_0x2687c3===void 0x0)return!0x1;const _0x175e52=_0x2ba675['_getAPIPrefixPath']()+'/'+_0x2687c3+_0x182b28(0x20d)+_0x41ef39+_0x182b28(0x286);if(_0x187654[_0x182b28(0x352)]===_0x175e52)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5d9f63){var _0x11a21c=_0x1d51a2,_0x43b0d9;return(_0x43b0d9=_0x5d9f63[_0x11a21c(0x10d)])==null?void 0x0:_0x43b0d9[_0x11a21c(0x1ca)];},'mergeParamsToRequest'(_0x49aa06,_0x5e9315){var _0x36051d=_0x1d51a2;const _0x5992b5=_0x2ba675['_getAPIPrefixPath']()+_0x36051d(0xbf),_0x47c8ac=_0x49aa06[_0x36051d(0x214)]((_0x1cc8ef,_0x566791)=>{var _0x1c41be=_0x36051d;const {unitID:_0x534ad3,objectID:_0x23b6b5,objectType:_0x59d9f3,actions:_0x4c53a2}=_0x566791;return _0x1cc8ef[_0x534ad3]||(_0x1cc8ef[_0x534ad3]={}),_0x1cc8ef[_0x534ad3][_0x23b6b5]||(_0x1cc8ef[_0x534ad3][_0x23b6b5]={'objectID':_0x23b6b5,'objectType':_0x59d9f3,'actions':[]}),_0x1cc8ef[_0x534ad3][_0x23b6b5][_0x1c41be(0x256)]['push'](..._0x4c53a2),_0x1cc8ef;},{}),_0x397228=[];for(const _0x256883 in _0x47c8ac)for(const _0x364dc2 in _0x47c8ac[_0x256883]){const {actions:_0x6d2834,objectType:_0x3a8f22}=_0x47c8ac[_0x256883][_0x364dc2],_0x2b5e2a=[...new Set(_0x6d2834)];_0x397228[_0x36051d(0x13c)]({'unitID':_0x256883,'objectID':_0x364dc2,'objectType':_0x3a8f22,'actions':_0x2b5e2a});}return new q[(_0x36051d(0x2d0))]('POST',_0x5992b5,{'headers':_0x5e9315['headers'],'withCredentials':_0x5e9315['withCredentials'],'responseType':_0x5e9315[_0x36051d(0x13f)],'body':{'requests':_0x397228}});}},{'distributeResult'(_0x25e204,_0x5429ea){var _0x48d3de=_0x1d51a2;const {objectActions:_0x16ad15}=_0x25e204;return _0x5429ea[_0x48d3de(0x39f)](_0x289ac2=>{var _0x1cd4b8=_0x48d3de;const {unitID:_0x4dab8e,objectID:_0x4953ee,actions:_0x33fa85}=_0x289ac2,_0x49ad06=_0x16ad15['find'](_0x890d3=>_0x890d3['unitID']===_0x4dab8e&&_0x890d3[_0x1cd4b8(0x18d)]===_0x4953ee),_0x618b35=_0x33fa85[_0x1cd4b8(0x39f)](_0x1430ec=>_0x49ad06==null?void 0x0:_0x49ad06[_0x1cd4b8(0x256)][_0x1cd4b8(0x1b3)](_0x4e1c05=>_0x4e1c05[_0x1cd4b8(0x3e7)]===_0x1430ec))[_0x1cd4b8(0x3fe)](_0x513d51=>!!_0x513d51);return{'config':_0x289ac2,'result':{'actions':_0x618b35,'error':_0x25e204[_0x1cd4b8(0x215)]}};});}})}));}[_0x2e58ba(0x103)](){var _0x2e3f5b=_0x2e58ba,_0x283b6a,_0x4e4c44;const _0x360a4c=this[_0x2e3f5b(0xa1)][_0x2e3f5b(0x3d6)](Ve),_0x114628=this[_0x2e3f5b(0xa1)][_0x2e3f5b(0x3d6)](Y);return(_0x4e4c44=(_0x283b6a=_0x114628==null?void 0x0:_0x114628[_0x2e3f5b(0x1ed)])!=null?_0x283b6a:_0x360a4c)!=null?_0x4e4c44:Kn;}async[_0x2e58ba(0x2f4)](_0xb515d9){var _0x244e97=_0x2e58ba;const _0x494651=this[_0x244e97(0x103)]()+'/'+_0xb515d9[_0x244e97(0x228)]+_0x244e97(0x1d8);return(await this['_HTTPService'][_0x244e97(0x405)](_0x494651,{'body':_0xb515d9}))['body']['objectID']||'';}async[_0x2e58ba(0x144)](_0x448a0e){var _0x299fa9=_0x2e58ba;const _0x3f7962=this[_0x299fa9(0x103)]()+'/-/object/list';return(await this[_0x299fa9(0x39e)][_0x299fa9(0x405)](_0x3f7962,{'body':_0x448a0e}))[_0x299fa9(0x1ca)]['objects'];}async['update'](_0x514af7){var _0x5db5ec=_0x2e58ba;const _0x5a515b=this['_getAPIPrefixPath']()+'/'+_0x514af7[_0x5db5ec(0x228)]+_0x5db5ec(0x20d)+_0x514af7['objectID'];await this[_0x5db5ec(0x39e)][_0x5db5ec(0x2d9)](_0x5a515b,{'body':_0x514af7});}async[_0x2e58ba(0x3e6)](_0x5eae63){var _0x1ddc34=_0x2e58ba;const _0x4e68bd=this[_0x1ddc34(0x103)]()+'/'+_0x5eae63[_0x1ddc34(0x228)]+_0x1ddc34(0x20d)+_0x5eae63['objectID']+_0x1ddc34(0x286);return(await this[_0x1ddc34(0x39e)][_0x1ddc34(0x405)](_0x4e68bd,{'body':_0x5eae63}))[_0x1ddc34(0x1ca)][_0x1ddc34(0x256)];}async[_0x2e58ba(0x3a1)](_0x3c8cb4){var _0x46d8d9=_0x2e58ba;const _0x5a6c79=this[_0x46d8d9(0x103)]()+_0x46d8d9(0xbf);return(await this['_HTTPService'][_0x46d8d9(0x405)](_0x5a6c79,{'body':{'requests':_0x3c8cb4}}))[_0x46d8d9(0x1ca)][_0x46d8d9(0x128)];}async[_0x2e58ba(0x34c)](_0x28238d){var _0x19989b=_0x2e58ba;const _0x308ba2=this[_0x19989b(0x103)]()+'/'+_0x28238d[_0x19989b(0x228)]+_0x19989b(0x35e),_0x494c32=await this[_0x19989b(0x39e)][_0x19989b(0x405)](_0x308ba2,{'body':_0x28238d});return{'roles':_0x494c32[_0x19989b(0x1ca)]['roles'],'actions':_0x494c32['body'][_0x19989b(0x256)]};}async[_0x2e58ba(0x38d)](_0x30ce62){var _0xdce05c=_0x2e58ba;const _0x353df4=this[_0xdce05c(0x103)]()+_0xdce05c(0x3f7);await this['_HTTPService'][_0xdce05c(0xda)](_0x353df4,{'params':{'collaboratorID':_0x30ce62['collaboratorID'],'objectID':_0x30ce62['objectID'],'unitID':_0x30ce62[_0xdce05c(0x16e)]}});}async[_0x2e58ba(0x351)](_0x52853a){var _0x3d7203=_0x2e58ba;const _0x57ae59=this['_getAPIPrefixPath']()+_0x3d7203(0x3f7);await this['_HTTPService'][_0x3d7203(0x97)](_0x57ae59,{'body':_0x52853a});}async[_0x2e58ba(0x3e1)](_0x2840c7){var _0x23879f=_0x2e58ba;const _0x3b60ce=this[_0x23879f(0x103)]()+_0x23879f(0x3f7);await this[_0x23879f(0x39e)]['post'](_0x3b60ce,{'body':_0x2840c7});}async[_0x2e58ba(0x3bd)](_0x200b62){var _0x2f7ab3=_0x2e58ba;const _0x5d4a7d=this[_0x2f7ab3(0x103)]()+_0x2f7ab3(0x3f7);return(await this[_0x2f7ab3(0x39e)][_0x2f7ab3(0x357)](_0x5d4a7d,{'params':{'objectID':_0x200b62[_0x2f7ab3(0x18d)],'unitID':_0x200b62['unitID']}}))[_0x2f7ab3(0x1ca)][_0x2f7ab3(0x3ee)];}async[_0x2e58ba(0x12f)](_0x452e8b){var _0x1cd16a=_0x2e58ba;const _0xfbc53d=this[_0x1cd16a(0x103)]()+_0x1cd16a(0x3f7);await this['_HTTPService'][_0x1cd16a(0x2d9)](_0xfbc53d,{'body':_0x452e8b});}},exports[_0x2e58ba(0x3fb)]=Vn([Ze(0x0,a[_0x2e58ba(0x2dc)](q[_0x2e58ba(0x2f5)])),Ze(0x1,a[_0x2e58ba(0x2dc)](a[_0x2e58ba(0x12d)]))],exports[_0x2e58ba(0x3fb)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x5d758c){var _0x49ee9f=_0x2e58ba;return _0x5d758c&&_0x5d758c['__esModule']&&Object['prototype']['hasOwnProperty'][_0x49ee9f(0x3be)](_0x5d758c,_0x49ee9f(0xf7))?_0x5d758c[_0x49ee9f(0xf7)]:_0x5d758c;}var Se={'exports':{}};function Yn(_0x32717d){var _0x54f924=_0x2e58ba;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x32717d+_0x54f924(0x278));}var pe={'exports':{}},qn=pe[_0x2e58ba(0xd4)],Qe;function ee(){var _0x31b324=_0x2e58ba;return Qe||(Qe=0x1,function(_0x298276,_0x38a323){(function(_0xada499,_0x53d0d2){var _0x5bce8f=_0x2768;_0x298276[_0x5bce8f(0xd4)]=_0x53d0d2();}(qn,function(){var _0x34788c=_0x34788c||function(_0x1b5810,_0x16a4e8){var _0x53f907=_0x2768,_0x504860;if(typeof window<'u'&&window[_0x53f907(0x29b)]&&(_0x504860=window[_0x53f907(0x29b)]),typeof self<'u'&&self['crypto']&&(_0x504860=self[_0x53f907(0x29b)]),typeof globalThis<'u'&&globalThis[_0x53f907(0x29b)]&&(_0x504860=globalThis[_0x53f907(0x29b)]),!_0x504860&&typeof window<'u'&&window[_0x53f907(0x158)]&&(_0x504860=window['msCrypto']),!_0x504860&&typeof Le<'u'&&Le['crypto']&&(_0x504860=Le['crypto']),!_0x504860&&typeof Yn==_0x53f907(0x33f))try{_0x504860=require(_0x53f907(0x29b));}catch{}var _0xdeea6f=function(){var _0xfe91c=_0x53f907;if(_0x504860){if(typeof _0x504860[_0xfe91c(0x28b)]==_0xfe91c(0x33f))try{return _0x504860[_0xfe91c(0x28b)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x504860[_0xfe91c(0x2e3)]=='function')try{return _0x504860['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0xfe91c(0x2cf));},_0x5f45d6=Object['create']||(function(){function _0x27f1f4(){}return function(_0x4b8864){var _0x4c3f90=_0x2768,_0x242416;return _0x27f1f4[_0x4c3f90(0x1bb)]=_0x4b8864,_0x242416=new _0x27f1f4(),_0x27f1f4[_0x4c3f90(0x1bb)]=null,_0x242416;};}()),_0x2d51d9={},_0x20fcf9=_0x2d51d9[_0x53f907(0x3cc)]={},_0x1eebd9=_0x20fcf9[_0x53f907(0x1c0)]=(function(){return{'extend':function(_0x3326ce){var _0x4d59eb=_0x2768,_0x9b45b8=_0x5f45d6(this);return _0x3326ce&&_0x9b45b8['mixIn'](_0x3326ce),(!_0x9b45b8['hasOwnProperty'](_0x4d59eb(0x2da))||this['init']===_0x9b45b8['init'])&&(_0x9b45b8[_0x4d59eb(0x2da)]=function(){var _0x2b1b56=_0x4d59eb;_0x9b45b8[_0x2b1b56(0x328)][_0x2b1b56(0x2da)][_0x2b1b56(0x221)](this,arguments);}),_0x9b45b8[_0x4d59eb(0x2da)][_0x4d59eb(0x1bb)]=_0x9b45b8,_0x9b45b8[_0x4d59eb(0x328)]=this,_0x9b45b8;},'create':function(){var _0xbae966=_0x2768,_0xe8298d=this[_0xbae966(0x236)]();return _0xe8298d[_0xbae966(0x2da)]['apply'](_0xe8298d,arguments),_0xe8298d;},'init':function(){},'mixIn':function(_0x142fd1){var _0x14ec3c=_0x2768;for(var _0x140468 in _0x142fd1)_0x142fd1[_0x14ec3c(0x1da)](_0x140468)&&(this[_0x140468]=_0x142fd1[_0x140468]);_0x142fd1[_0x14ec3c(0x1da)]('toString')&&(this['toString']=_0x142fd1['toString']);},'clone':function(){var _0x32d7fd=_0x2768;return this[_0x32d7fd(0x2da)][_0x32d7fd(0x1bb)][_0x32d7fd(0x236)](this);}};}()),_0x3d7857=_0x20fcf9[_0x53f907(0x1ac)]=_0x1eebd9[_0x53f907(0x236)]({'init':function(_0x50a838,_0x30b5c6){var _0x346e12=_0x53f907;_0x50a838=this[_0x346e12(0x102)]=_0x50a838||[],_0x30b5c6!=_0x16a4e8?this[_0x346e12(0x379)]=_0x30b5c6:this['sigBytes']=_0x50a838[_0x346e12(0x1d7)]*0x4;},'toString':function(_0x2a5791){var _0x3713f8=_0x53f907;return(_0x2a5791||_0x2cc2ae)[_0x3713f8(0x402)](this);},'concat':function(_0x343cfd){var _0x5acdd7=_0x53f907,_0x309c21=this[_0x5acdd7(0x102)],_0x5cd73c=_0x343cfd['words'],_0x31a568=this[_0x5acdd7(0x379)],_0x5077f0=_0x343cfd[_0x5acdd7(0x379)];if(this[_0x5acdd7(0xc2)](),_0x31a568%0x4)for(var _0x5bbdea=0x0;_0x5bbdea<_0x5077f0;_0x5bbdea++){var _0x189903=_0x5cd73c[_0x5bbdea>>>0x2]>>>0x18-_0x5bbdea%0x4*0x8&0xff;_0x309c21[_0x31a568+_0x5bbdea>>>0x2]|=_0x189903<<0x18-(_0x31a568+_0x5bbdea)%0x4*0x8;}else{for(var _0x2b795b=0x0;_0x2b795b<_0x5077f0;_0x2b795b+=0x4)_0x309c21[_0x31a568+_0x2b795b>>>0x2]=_0x5cd73c[_0x2b795b>>>0x2];}return this[_0x5acdd7(0x379)]+=_0x5077f0,this;},'clamp':function(){var _0x1ea2e7=_0x53f907,_0x5732f7=this[_0x1ea2e7(0x102)],_0x49de75=this[_0x1ea2e7(0x379)];_0x5732f7[_0x49de75>>>0x2]&=0xffffffff<<0x20-_0x49de75%0x4*0x8,_0x5732f7['length']=_0x1b5810['ceil'](_0x49de75/0x4);},'clone':function(){var _0x153288=_0x53f907,_0x281628=_0x1eebd9[_0x153288(0x371)][_0x153288(0x3be)](this);return _0x281628[_0x153288(0x102)]=this['words'][_0x153288(0x2e9)](0x0),_0x281628;},'random':function(_0x5933ef){var _0x27c780=_0x53f907;for(var _0x1137ae=[],_0x1483f4=0x0;_0x1483f4<_0x5933ef;_0x1483f4+=0x4)_0x1137ae[_0x27c780(0x13c)](_0xdeea6f());return new _0x3d7857[(_0x27c780(0x2da))](_0x1137ae,_0x5933ef);}}),_0x2c72ea=_0x2d51d9[_0x53f907(0x2b1)]={},_0x2cc2ae=_0x2c72ea[_0x53f907(0x2b0)]={'stringify':function(_0x289da9){var _0x21b53c=_0x53f907;for(var _0x58803d=_0x289da9[_0x21b53c(0x102)],_0x17c6b1=_0x289da9[_0x21b53c(0x379)],_0x5d65d4=[],_0x3c3f6c=0x0;_0x3c3f6c<_0x17c6b1;_0x3c3f6c++){var _0x5e4f13=_0x58803d[_0x3c3f6c>>>0x2]>>>0x18-_0x3c3f6c%0x4*0x8&0xff;_0x5d65d4[_0x21b53c(0x13c)]((_0x5e4f13>>>0x4)['toString'](0x10)),_0x5d65d4['push']((_0x5e4f13&0xf)[_0x21b53c(0x260)](0x10));}return _0x5d65d4[_0x21b53c(0x30c)]('');},'parse':function(_0x3d077c){var _0x630ee3=_0x53f907;for(var _0x2cf31c=_0x3d077c[_0x630ee3(0x1d7)],_0x5d98d3=[],_0x37c5af=0x0;_0x37c5af<_0x2cf31c;_0x37c5af+=0x2)_0x5d98d3[_0x37c5af>>>0x3]|=parseInt(_0x3d077c['substr'](_0x37c5af,0x2),0x10)<<0x18-_0x37c5af%0x8*0x4;return new _0x3d7857[(_0x630ee3(0x2da))](_0x5d98d3,_0x2cf31c/0x2);}},_0xa52f9d=_0x2c72ea[_0x53f907(0x2b7)]={'stringify':function(_0x2d7c89){var _0x4a509b=_0x53f907;for(var _0xb5f0f3=_0x2d7c89[_0x4a509b(0x102)],_0x55da14=_0x2d7c89[_0x4a509b(0x379)],_0x42a547=[],_0x36c15c=0x0;_0x36c15c<_0x55da14;_0x36c15c++){var _0x539c31=_0xb5f0f3[_0x36c15c>>>0x2]>>>0x18-_0x36c15c%0x4*0x8&0xff;_0x42a547[_0x4a509b(0x13c)](String[_0x4a509b(0x9b)](_0x539c31));}return _0x42a547[_0x4a509b(0x30c)]('');},'parse':function(_0x4e5022){var _0x2c619d=_0x53f907;for(var _0x56baf9=_0x4e5022[_0x2c619d(0x1d7)],_0xa13c44=[],_0x10d619=0x0;_0x10d619<_0x56baf9;_0x10d619++)_0xa13c44[_0x10d619>>>0x2]|=(_0x4e5022['charCodeAt'](_0x10d619)&0xff)<<0x18-_0x10d619%0x4*0x8;return new _0x3d7857[(_0x2c619d(0x2da))](_0xa13c44,_0x56baf9);}},_0x4c8251=_0x2c72ea[_0x53f907(0x16f)]={'stringify':function(_0x47d6df){var _0x485dd6=_0x53f907;try{return decodeURIComponent(escape(_0xa52f9d[_0x485dd6(0x402)](_0x47d6df)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x4c603e){var _0x4f6214=_0x53f907;return _0xa52f9d[_0x4f6214(0x34f)](unescape(encodeURIComponent(_0x4c603e)));}},_0x37f8b7=_0x20fcf9[_0x53f907(0x22d)]=_0x1eebd9['extend']({'reset':function(){var _0x7019a6=_0x53f907;this[_0x7019a6(0x118)]=new _0x3d7857[(_0x7019a6(0x2da))](),this[_0x7019a6(0x2e4)]=0x0;},'_append':function(_0x256e75){var _0x52230b=_0x53f907;typeof _0x256e75==_0x52230b(0x239)&&(_0x256e75=_0x4c8251[_0x52230b(0x34f)](_0x256e75)),this[_0x52230b(0x118)][_0x52230b(0x1fa)](_0x256e75),this[_0x52230b(0x2e4)]+=_0x256e75[_0x52230b(0x379)];},'_process':function(_0xb048ac){var _0x1ab582=_0x53f907,_0x325bcb,_0x4f3ee7=this[_0x1ab582(0x118)],_0x5598f2=_0x4f3ee7[_0x1ab582(0x102)],_0x4448e2=_0x4f3ee7[_0x1ab582(0x379)],_0xcbcb56=this['blockSize'],_0x2a7730=_0xcbcb56*0x4,_0x44d3fd=_0x4448e2/_0x2a7730;_0xb048ac?_0x44d3fd=_0x1b5810[_0x1ab582(0x313)](_0x44d3fd):_0x44d3fd=_0x1b5810[_0x1ab582(0xa7)]((_0x44d3fd|0x0)-this['_minBufferSize'],0x0);var _0x1f7544=_0x44d3fd*_0xcbcb56,_0x10018b=_0x1b5810[_0x1ab582(0x2bc)](_0x1f7544*0x4,_0x4448e2);if(_0x1f7544){for(var _0x36a4c2=0x0;_0x36a4c2<_0x1f7544;_0x36a4c2+=_0xcbcb56)this[_0x1ab582(0x327)](_0x5598f2,_0x36a4c2);_0x325bcb=_0x5598f2[_0x1ab582(0x367)](0x0,_0x1f7544),_0x4f3ee7[_0x1ab582(0x379)]-=_0x10018b;}return new _0x3d7857['init'](_0x325bcb,_0x10018b);},'clone':function(){var _0x5cf51d=_0x53f907,_0xfd1924=_0x1eebd9[_0x5cf51d(0x371)][_0x5cf51d(0x3be)](this);return _0xfd1924[_0x5cf51d(0x118)]=this[_0x5cf51d(0x118)]['clone'](),_0xfd1924;},'_minBufferSize':0x0});_0x20fcf9[_0x53f907(0x17e)]=_0x37f8b7[_0x53f907(0x236)]({'cfg':_0x1eebd9[_0x53f907(0x236)](),'init':function(_0x5b1862){var _0x427c2b=_0x53f907;this[_0x427c2b(0x113)]=this['cfg']['extend'](_0x5b1862),this['reset']();},'reset':function(){var _0x2d56bd=_0x53f907;_0x37f8b7[_0x2d56bd(0x26d)]['call'](this),this['_doReset']();},'update':function(_0x1a3c18){var _0x4b7000=_0x53f907;return this['_append'](_0x1a3c18),this[_0x4b7000(0x2db)](),this;},'finalize':function(_0x1c31b6){var _0x207b41=_0x53f907;_0x1c31b6&&this[_0x207b41(0x3cb)](_0x1c31b6);var _0xa025a3=this[_0x207b41(0x2b5)]();return _0xa025a3;},'blockSize':0x10,'_createHelper':function(_0x4dd645){return function(_0x13de7a,_0x383594){var _0x2f9d4a=_0x2768;return new _0x4dd645[(_0x2f9d4a(0x2da))](_0x383594)['finalize'](_0x13de7a);};},'_createHmacHelper':function(_0x37d495){return function(_0x25d53d,_0x135ab1){var _0x275653=_0x2768;return new _0x52aa46[(_0x275653(0x1b4))][(_0x275653(0x2da))](_0x37d495,_0x135ab1)[_0x275653(0x261)](_0x25d53d);};}});var _0x52aa46=_0x2d51d9[_0x53f907(0x175)]={};return _0x2d51d9;}(Math);return _0x34788c;}));}(pe)),pe[_0x31b324(0xd4)];}var me={'exports':{}},zn=me[_0x2e58ba(0xd4)],et;function Dt(){var _0x1c70b9=_0x2e58ba;return et||(et=0x1,function(_0x466def,_0x3c9dcb){(function(_0x38b6b1,_0xdbf5e7){_0x466def['exports']=_0xdbf5e7(ee());}(zn,function(_0x1f5133){var _0x279f6a=_0x2768;return(function(){var _0x80bc69=_0x2768,_0x127610=_0x1f5133,_0x24fc4f=_0x127610['lib'],_0x250a77=_0x24fc4f[_0x80bc69(0x1ac)],_0x183cce=_0x127610[_0x80bc69(0x2b1)];_0x183cce[_0x80bc69(0x37e)]={'stringify':function(_0xc3e3c3){var _0x1e680e=_0x80bc69,_0x5b0f2a=_0xc3e3c3[_0x1e680e(0x102)],_0xabe17b=_0xc3e3c3[_0x1e680e(0x379)],_0x2dce67=this[_0x1e680e(0xc8)];_0xc3e3c3[_0x1e680e(0xc2)]();for(var _0x54484e=[],_0x108c3c=0x0;_0x108c3c<_0xabe17b;_0x108c3c+=0x3)for(var _0x50fe71=_0x5b0f2a[_0x108c3c>>>0x2]>>>0x18-_0x108c3c%0x4*0x8&0xff,_0x209ebc=_0x5b0f2a[_0x108c3c+0x1>>>0x2]>>>0x18-(_0x108c3c+0x1)%0x4*0x8&0xff,_0x3861f8=_0x5b0f2a[_0x108c3c+0x2>>>0x2]>>>0x18-(_0x108c3c+0x2)%0x4*0x8&0xff,_0xcdf284=_0x50fe71<<0x10|_0x209ebc<<0x8|_0x3861f8,_0x430d41=0x0;_0x430d41<0x4&&_0x108c3c+_0x430d41*0.75<_0xabe17b;_0x430d41++)_0x54484e[_0x1e680e(0x13c)](_0x2dce67[_0x1e680e(0x1f8)](_0xcdf284>>>0x6*(0x3-_0x430d41)&0x3f));var _0x41a34a=_0x2dce67[_0x1e680e(0x1f8)](0x40);if(_0x41a34a){for(;_0x54484e[_0x1e680e(0x1d7)]%0x4;)_0x54484e['push'](_0x41a34a);}return _0x54484e[_0x1e680e(0x30c)]('');},'parse':function(_0x2b8c32){var _0x51d9a6=_0x80bc69,_0x29ab2b=_0x2b8c32[_0x51d9a6(0x1d7)],_0x4e32a9=this['_map'],_0xa72c83=this[_0x51d9a6(0x279)];if(!_0xa72c83){_0xa72c83=this[_0x51d9a6(0x279)]=[];for(var _0xbe83a6=0x0;_0xbe83a6<_0x4e32a9[_0x51d9a6(0x1d7)];_0xbe83a6++)_0xa72c83[_0x4e32a9[_0x51d9a6(0x2e5)](_0xbe83a6)]=_0xbe83a6;}var _0x1dd945=_0x4e32a9[_0x51d9a6(0x1f8)](0x40);if(_0x1dd945){var _0x4ac2ec=_0x2b8c32[_0x51d9a6(0x205)](_0x1dd945);_0x4ac2ec!==-0x1&&(_0x29ab2b=_0x4ac2ec);}return _0x2c9d1f(_0x2b8c32,_0x29ab2b,_0xa72c83);},'_map':_0x80bc69(0x250)};function _0x2c9d1f(_0x35a50f,_0x108148,_0x56c3ec){var _0x11cce3=_0x80bc69;for(var _0x43539d=[],_0x31f2fc=0x0,_0x1dcd68=0x0;_0x1dcd68<_0x108148;_0x1dcd68++)if(_0x1dcd68%0x4){var _0x58e08f=_0x56c3ec[_0x35a50f[_0x11cce3(0x2e5)](_0x1dcd68-0x1)]<<_0x1dcd68%0x4*0x2,_0x1c4375=_0x56c3ec[_0x35a50f['charCodeAt'](_0x1dcd68)]>>>0x6-_0x1dcd68%0x4*0x2,_0xf24fb8=_0x58e08f|_0x1c4375;_0x43539d[_0x31f2fc>>>0x2]|=_0xf24fb8<<0x18-_0x31f2fc%0x4*0x8,_0x31f2fc++;}return _0x250a77[_0x11cce3(0x2f4)](_0x43539d,_0x31f2fc);}}()),_0x1f5133[_0x279f6a(0x2b1)][_0x279f6a(0x37e)];}));}(me)),me[_0x1c70b9(0xd4)];}var ge={'exports':{}},Jn=ge[_0x2e58ba(0xd4)],tt;function Xn(){var _0x5eeb0e=_0x2e58ba;return tt||(tt=0x1,function(_0x3ed358,_0x4cc2e0){(function(_0x3d8a01,_0x1ea885){var _0x27951e=_0x2768;_0x3ed358[_0x27951e(0xd4)]=_0x1ea885(ee());}(Jn,function(_0x16ca4b){var _0x3f34fb=_0x2768;return function(_0x3a15bd){var _0x519e91=_0x2768,_0x4c971e=_0x16ca4b,_0x337c99=_0x4c971e['lib'],_0x337036=_0x337c99[_0x519e91(0x1ac)],_0x13e902=_0x337c99[_0x519e91(0x17e)],_0xd80d9b=_0x4c971e['algo'],_0x285ad6=[];(function(){var _0x4600ce=_0x519e91;for(var _0x53c919=0x0;_0x53c919<0x40;_0x53c919++)_0x285ad6[_0x53c919]=_0x3a15bd[_0x4600ce(0xa3)](_0x3a15bd[_0x4600ce(0x247)](_0x53c919+0x1))*0x100000000|0x0;}());var _0x12112d=_0xd80d9b['MD5']=_0x13e902[_0x519e91(0x236)]({'_doReset':function(){var _0x3eeeb7=_0x519e91;this[_0x3eeeb7(0x230)]=new _0x337036[(_0x3eeeb7(0x2da))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x585466,_0x242acd){var _0x3ad19d=_0x519e91;for(var _0xd2421b=0x0;_0xd2421b<0x10;_0xd2421b++){var _0x525303=_0x242acd+_0xd2421b,_0x556c8d=_0x585466[_0x525303];_0x585466[_0x525303]=(_0x556c8d<<0x8|_0x556c8d>>>0x18)&0xff00ff|(_0x556c8d<<0x18|_0x556c8d>>>0x8)&0xff00ff00;}var _0x131011=this[_0x3ad19d(0x230)][_0x3ad19d(0x102)],_0x4e33a6=_0x585466[_0x242acd+0x0],_0x548fff=_0x585466[_0x242acd+0x1],_0x2d2409=_0x585466[_0x242acd+0x2],_0x1f8d8f=_0x585466[_0x242acd+0x3],_0x40e4e9=_0x585466[_0x242acd+0x4],_0x4e6992=_0x585466[_0x242acd+0x5],_0x4920b2=_0x585466[_0x242acd+0x6],_0x3dcc4a=_0x585466[_0x242acd+0x7],_0xc4a966=_0x585466[_0x242acd+0x8],_0x472440=_0x585466[_0x242acd+0x9],_0x33dd9=_0x585466[_0x242acd+0xa],_0x243a78=_0x585466[_0x242acd+0xb],_0x23a4e6=_0x585466[_0x242acd+0xc],_0x324f41=_0x585466[_0x242acd+0xd],_0x4114c9=_0x585466[_0x242acd+0xe],_0xf7b6f1=_0x585466[_0x242acd+0xf],_0x30ad8b=_0x131011[0x0],_0x30f645=_0x131011[0x1],_0x1c9fc0=_0x131011[0x2],_0x45b2ca=_0x131011[0x3];_0x30ad8b=_0x2b4394(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x4e33a6,0x7,_0x285ad6[0x0]),_0x45b2ca=_0x2b4394(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x548fff,0xc,_0x285ad6[0x1]),_0x1c9fc0=_0x2b4394(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x2d2409,0x11,_0x285ad6[0x2]),_0x30f645=_0x2b4394(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x1f8d8f,0x16,_0x285ad6[0x3]),_0x30ad8b=_0x2b4394(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x40e4e9,0x7,_0x285ad6[0x4]),_0x45b2ca=_0x2b4394(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x4e6992,0xc,_0x285ad6[0x5]),_0x1c9fc0=_0x2b4394(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x4920b2,0x11,_0x285ad6[0x6]),_0x30f645=_0x2b4394(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x3dcc4a,0x16,_0x285ad6[0x7]),_0x30ad8b=_0x2b4394(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0xc4a966,0x7,_0x285ad6[0x8]),_0x45b2ca=_0x2b4394(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x472440,0xc,_0x285ad6[0x9]),_0x1c9fc0=_0x2b4394(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x33dd9,0x11,_0x285ad6[0xa]),_0x30f645=_0x2b4394(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x243a78,0x16,_0x285ad6[0xb]),_0x30ad8b=_0x2b4394(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x23a4e6,0x7,_0x285ad6[0xc]),_0x45b2ca=_0x2b4394(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x324f41,0xc,_0x285ad6[0xd]),_0x1c9fc0=_0x2b4394(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x4114c9,0x11,_0x285ad6[0xe]),_0x30f645=_0x2b4394(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0xf7b6f1,0x16,_0x285ad6[0xf]),_0x30ad8b=_0x51165c(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x548fff,0x5,_0x285ad6[0x10]),_0x45b2ca=_0x51165c(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x4920b2,0x9,_0x285ad6[0x11]),_0x1c9fc0=_0x51165c(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x243a78,0xe,_0x285ad6[0x12]),_0x30f645=_0x51165c(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x4e33a6,0x14,_0x285ad6[0x13]),_0x30ad8b=_0x51165c(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x4e6992,0x5,_0x285ad6[0x14]),_0x45b2ca=_0x51165c(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x33dd9,0x9,_0x285ad6[0x15]),_0x1c9fc0=_0x51165c(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0xf7b6f1,0xe,_0x285ad6[0x16]),_0x30f645=_0x51165c(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x40e4e9,0x14,_0x285ad6[0x17]),_0x30ad8b=_0x51165c(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x472440,0x5,_0x285ad6[0x18]),_0x45b2ca=_0x51165c(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x4114c9,0x9,_0x285ad6[0x19]),_0x1c9fc0=_0x51165c(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x1f8d8f,0xe,_0x285ad6[0x1a]),_0x30f645=_0x51165c(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0xc4a966,0x14,_0x285ad6[0x1b]),_0x30ad8b=_0x51165c(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x324f41,0x5,_0x285ad6[0x1c]),_0x45b2ca=_0x51165c(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x2d2409,0x9,_0x285ad6[0x1d]),_0x1c9fc0=_0x51165c(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x3dcc4a,0xe,_0x285ad6[0x1e]),_0x30f645=_0x51165c(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x23a4e6,0x14,_0x285ad6[0x1f]),_0x30ad8b=_0x5b19f3(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x4e6992,0x4,_0x285ad6[0x20]),_0x45b2ca=_0x5b19f3(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0xc4a966,0xb,_0x285ad6[0x21]),_0x1c9fc0=_0x5b19f3(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x243a78,0x10,_0x285ad6[0x22]),_0x30f645=_0x5b19f3(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x4114c9,0x17,_0x285ad6[0x23]),_0x30ad8b=_0x5b19f3(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x548fff,0x4,_0x285ad6[0x24]),_0x45b2ca=_0x5b19f3(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x40e4e9,0xb,_0x285ad6[0x25]),_0x1c9fc0=_0x5b19f3(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x3dcc4a,0x10,_0x285ad6[0x26]),_0x30f645=_0x5b19f3(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x33dd9,0x17,_0x285ad6[0x27]),_0x30ad8b=_0x5b19f3(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x324f41,0x4,_0x285ad6[0x28]),_0x45b2ca=_0x5b19f3(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x4e33a6,0xb,_0x285ad6[0x29]),_0x1c9fc0=_0x5b19f3(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x1f8d8f,0x10,_0x285ad6[0x2a]),_0x30f645=_0x5b19f3(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x4920b2,0x17,_0x285ad6[0x2b]),_0x30ad8b=_0x5b19f3(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x472440,0x4,_0x285ad6[0x2c]),_0x45b2ca=_0x5b19f3(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x23a4e6,0xb,_0x285ad6[0x2d]),_0x1c9fc0=_0x5b19f3(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0xf7b6f1,0x10,_0x285ad6[0x2e]),_0x30f645=_0x5b19f3(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x2d2409,0x17,_0x285ad6[0x2f]),_0x30ad8b=_0x5f08e0(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x4e33a6,0x6,_0x285ad6[0x30]),_0x45b2ca=_0x5f08e0(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x3dcc4a,0xa,_0x285ad6[0x31]),_0x1c9fc0=_0x5f08e0(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x4114c9,0xf,_0x285ad6[0x32]),_0x30f645=_0x5f08e0(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x4e6992,0x15,_0x285ad6[0x33]),_0x30ad8b=_0x5f08e0(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x23a4e6,0x6,_0x285ad6[0x34]),_0x45b2ca=_0x5f08e0(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x1f8d8f,0xa,_0x285ad6[0x35]),_0x1c9fc0=_0x5f08e0(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x33dd9,0xf,_0x285ad6[0x36]),_0x30f645=_0x5f08e0(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x548fff,0x15,_0x285ad6[0x37]),_0x30ad8b=_0x5f08e0(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0xc4a966,0x6,_0x285ad6[0x38]),_0x45b2ca=_0x5f08e0(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0xf7b6f1,0xa,_0x285ad6[0x39]),_0x1c9fc0=_0x5f08e0(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x4920b2,0xf,_0x285ad6[0x3a]),_0x30f645=_0x5f08e0(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x324f41,0x15,_0x285ad6[0x3b]),_0x30ad8b=_0x5f08e0(_0x30ad8b,_0x30f645,_0x1c9fc0,_0x45b2ca,_0x40e4e9,0x6,_0x285ad6[0x3c]),_0x45b2ca=_0x5f08e0(_0x45b2ca,_0x30ad8b,_0x30f645,_0x1c9fc0,_0x243a78,0xa,_0x285ad6[0x3d]),_0x1c9fc0=_0x5f08e0(_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x30f645,_0x2d2409,0xf,_0x285ad6[0x3e]),_0x30f645=_0x5f08e0(_0x30f645,_0x1c9fc0,_0x45b2ca,_0x30ad8b,_0x472440,0x15,_0x285ad6[0x3f]),_0x131011[0x0]=_0x131011[0x0]+_0x30ad8b|0x0,_0x131011[0x1]=_0x131011[0x1]+_0x30f645|0x0,_0x131011[0x2]=_0x131011[0x2]+_0x1c9fc0|0x0,_0x131011[0x3]=_0x131011[0x3]+_0x45b2ca|0x0;},'_doFinalize':function(){var _0x3ff581=_0x519e91,_0x3ee262=this['_data'],_0x276069=_0x3ee262[_0x3ff581(0x102)],_0xabc49e=this[_0x3ff581(0x2e4)]*0x8,_0x32cb2f=_0x3ee262[_0x3ff581(0x379)]*0x8;_0x276069[_0x32cb2f>>>0x5]|=0x80<<0x18-_0x32cb2f%0x20;var _0x59d228=_0x3a15bd[_0x3ff581(0x29d)](_0xabc49e/0x100000000),_0xa36e34=_0xabc49e;_0x276069[(_0x32cb2f+0x40>>>0x9<<0x4)+0xf]=(_0x59d228<<0x8|_0x59d228>>>0x18)&0xff00ff|(_0x59d228<<0x18|_0x59d228>>>0x8)&0xff00ff00,_0x276069[(_0x32cb2f+0x40>>>0x9<<0x4)+0xe]=(_0xa36e34<<0x8|_0xa36e34>>>0x18)&0xff00ff|(_0xa36e34<<0x18|_0xa36e34>>>0x8)&0xff00ff00,_0x3ee262['sigBytes']=(_0x276069[_0x3ff581(0x1d7)]+0x1)*0x4,this[_0x3ff581(0x2db)]();for(var _0x4f4eef=this[_0x3ff581(0x230)],_0x1ca478=_0x4f4eef['words'],_0x3511c8=0x0;_0x3511c8<0x4;_0x3511c8++){var _0x4f70aa=_0x1ca478[_0x3511c8];_0x1ca478[_0x3511c8]=(_0x4f70aa<<0x8|_0x4f70aa>>>0x18)&0xff00ff|(_0x4f70aa<<0x18|_0x4f70aa>>>0x8)&0xff00ff00;}return _0x4f4eef;},'clone':function(){var _0x14af63=_0x519e91,_0x5e6a2a=_0x13e902[_0x14af63(0x371)][_0x14af63(0x3be)](this);return _0x5e6a2a[_0x14af63(0x230)]=this[_0x14af63(0x230)][_0x14af63(0x371)](),_0x5e6a2a;}});function _0x2b4394(_0x569f69,_0x6d98cc,_0x548455,_0x451b57,_0x1fbae5,_0x530447,_0x3213dd){var _0x18e74c=_0x569f69+(_0x6d98cc&_0x548455|~_0x6d98cc&_0x451b57)+_0x1fbae5+_0x3213dd;return(_0x18e74c<<_0x530447|_0x18e74c>>>0x20-_0x530447)+_0x6d98cc;}function _0x51165c(_0x3c5723,_0x4296fd,_0x3d5f89,_0x32b604,_0x1ab3b2,_0x2fa596,_0x3aadf7){var _0x13a962=_0x3c5723+(_0x4296fd&_0x32b604|_0x3d5f89&~_0x32b604)+_0x1ab3b2+_0x3aadf7;return(_0x13a962<<_0x2fa596|_0x13a962>>>0x20-_0x2fa596)+_0x4296fd;}function _0x5b19f3(_0x551f4f,_0x1efe82,_0x45cfef,_0x517f4e,_0x65060d,_0x12120b,_0x2c2502){var _0x17bc57=_0x551f4f+(_0x1efe82^_0x45cfef^_0x517f4e)+_0x65060d+_0x2c2502;return(_0x17bc57<<_0x12120b|_0x17bc57>>>0x20-_0x12120b)+_0x1efe82;}function _0x5f08e0(_0x13c6db,_0x35d4c8,_0x10266f,_0x52d878,_0x347e76,_0x32bccc,_0x50394c){var _0x26d75f=_0x13c6db+(_0x10266f^(_0x35d4c8|~_0x52d878))+_0x347e76+_0x50394c;return(_0x26d75f<<_0x32bccc|_0x26d75f>>>0x20-_0x32bccc)+_0x35d4c8;}_0x4c971e[_0x519e91(0xa6)]=_0x13e902[_0x519e91(0x125)](_0x12112d),_0x4c971e[_0x519e91(0x114)]=_0x13e902[_0x519e91(0x35d)](_0x12112d);}(Math),_0x16ca4b[_0x3f34fb(0xa6)];}));}(ge)),ge[_0x5eeb0e(0xd4)];}var Ie={'exports':{}},Ee={'exports':{}},Zn=Ee[_0x2e58ba(0xd4)],nt;function Qn(){var _0x3a7fc8=_0x2e58ba;return nt||(nt=0x1,function(_0x91753c,_0x2340a2){(function(_0x3100c5,_0x1e3fb9){var _0x3d8fc4=_0x2768;_0x91753c[_0x3d8fc4(0xd4)]=_0x1e3fb9(ee());}(Zn,function(_0x5ded1d){return(function(){var _0x4d8a37=_0x2768,_0x1b163d=_0x5ded1d,_0x488578=_0x1b163d[_0x4d8a37(0x3cc)],_0x5821f3=_0x488578[_0x4d8a37(0x1ac)],_0x3b17d2=_0x488578['Hasher'],_0x2d1982=_0x1b163d[_0x4d8a37(0x175)],_0x2b0ef6=[],_0x2d38d0=_0x2d1982[_0x4d8a37(0x3e2)]=_0x3b17d2[_0x4d8a37(0x236)]({'_doReset':function(){var _0x15aea6=_0x4d8a37;this[_0x15aea6(0x230)]=new _0x5821f3[(_0x15aea6(0x2da))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x515aca,_0x3e4974){var _0x52b0eb=_0x4d8a37;for(var _0x264d91=this[_0x52b0eb(0x230)]['words'],_0x5f136d=_0x264d91[0x0],_0x4b7f08=_0x264d91[0x1],_0x2d2595=_0x264d91[0x2],_0x3c39ba=_0x264d91[0x3],_0x255ed2=_0x264d91[0x4],_0x427a85=0x0;_0x427a85<0x50;_0x427a85++){if(_0x427a85<0x10)_0x2b0ef6[_0x427a85]=_0x515aca[_0x3e4974+_0x427a85]|0x0;else{var _0x52e46e=_0x2b0ef6[_0x427a85-0x3]^_0x2b0ef6[_0x427a85-0x8]^_0x2b0ef6[_0x427a85-0xe]^_0x2b0ef6[_0x427a85-0x10];_0x2b0ef6[_0x427a85]=_0x52e46e<<0x1|_0x52e46e>>>0x1f;}var _0x99134d=(_0x5f136d<<0x5|_0x5f136d>>>0x1b)+_0x255ed2+_0x2b0ef6[_0x427a85];_0x427a85<0x14?_0x99134d+=(_0x4b7f08&_0x2d2595|~_0x4b7f08&_0x3c39ba)+0x5a827999:_0x427a85<0x28?_0x99134d+=(_0x4b7f08^_0x2d2595^_0x3c39ba)+0x6ed9eba1:_0x427a85<0x3c?_0x99134d+=(_0x4b7f08&_0x2d2595|_0x4b7f08&_0x3c39ba|_0x2d2595&_0x3c39ba)-0x70e44324:_0x99134d+=(_0x4b7f08^_0x2d2595^_0x3c39ba)-0x359d3e2a,_0x255ed2=_0x3c39ba,_0x3c39ba=_0x2d2595,_0x2d2595=_0x4b7f08<<0x1e|_0x4b7f08>>>0x2,_0x4b7f08=_0x5f136d,_0x5f136d=_0x99134d;}_0x264d91[0x0]=_0x264d91[0x0]+_0x5f136d|0x0,_0x264d91[0x1]=_0x264d91[0x1]+_0x4b7f08|0x0,_0x264d91[0x2]=_0x264d91[0x2]+_0x2d2595|0x0,_0x264d91[0x3]=_0x264d91[0x3]+_0x3c39ba|0x0,_0x264d91[0x4]=_0x264d91[0x4]+_0x255ed2|0x0;},'_doFinalize':function(){var _0x7cad3c=_0x4d8a37,_0x2f128d=this['_data'],_0x1cd617=_0x2f128d['words'],_0x577f1f=this[_0x7cad3c(0x2e4)]*0x8,_0x5373af=_0x2f128d[_0x7cad3c(0x379)]*0x8;return _0x1cd617[_0x5373af>>>0x5]|=0x80<<0x18-_0x5373af%0x20,_0x1cd617[(_0x5373af+0x40>>>0x9<<0x4)+0xe]=Math[_0x7cad3c(0x29d)](_0x577f1f/0x100000000),_0x1cd617[(_0x5373af+0x40>>>0x9<<0x4)+0xf]=_0x577f1f,_0x2f128d[_0x7cad3c(0x379)]=_0x1cd617[_0x7cad3c(0x1d7)]*0x4,this[_0x7cad3c(0x2db)](),this[_0x7cad3c(0x230)];},'clone':function(){var _0x532bdb=_0x4d8a37,_0x4c12d5=_0x3b17d2['clone'][_0x532bdb(0x3be)](this);return _0x4c12d5[_0x532bdb(0x230)]=this[_0x532bdb(0x230)]['clone'](),_0x4c12d5;}});_0x1b163d[_0x4d8a37(0x3e2)]=_0x3b17d2[_0x4d8a37(0x125)](_0x2d38d0),_0x1b163d[_0x4d8a37(0x15f)]=_0x3b17d2[_0x4d8a37(0x35d)](_0x2d38d0);}()),_0x5ded1d['SHA1'];}));}(Ee)),Ee[_0x3a7fc8(0xd4)];}var Ce={'exports':{}},ei=Ce[_0x2e58ba(0xd4)],it;function ti(){var _0x427444=_0x2e58ba;return it||(it=0x1,function(_0x109932,_0x353949){(function(_0xf2a86e,_0x263af4){var _0x8f33ce=_0x2768;_0x109932[_0x8f33ce(0xd4)]=_0x263af4(ee());}(ei,function(_0x116133){(function(){var _0x5d1f0c=_0x2768,_0x478f24=_0x116133,_0x2ff0e8=_0x478f24[_0x5d1f0c(0x3cc)],_0x53e171=_0x2ff0e8[_0x5d1f0c(0x1c0)],_0x33e771=_0x478f24['enc'],_0x421674=_0x33e771['Utf8'],_0x2d4de6=_0x478f24[_0x5d1f0c(0x175)];_0x2d4de6[_0x5d1f0c(0x1b4)]=_0x53e171[_0x5d1f0c(0x236)]({'init':function(_0x17c7ac,_0xdd3b1e){var _0x390806=_0x5d1f0c;_0x17c7ac=this[_0x390806(0xbc)]=new _0x17c7ac[(_0x390806(0x2da))](),typeof _0xdd3b1e==_0x390806(0x239)&&(_0xdd3b1e=_0x421674[_0x390806(0x34f)](_0xdd3b1e));var _0x5d5841=_0x17c7ac[_0x390806(0x1af)],_0x49a222=_0x5d5841*0x4;_0xdd3b1e[_0x390806(0x379)]>_0x49a222&&(_0xdd3b1e=_0x17c7ac[_0x390806(0x261)](_0xdd3b1e)),_0xdd3b1e[_0x390806(0xc2)]();for(var _0x3a4e39=this[_0x390806(0x3ae)]=_0xdd3b1e[_0x390806(0x371)](),_0x5ca311=this[_0x390806(0x3b0)]=_0xdd3b1e[_0x390806(0x371)](),_0x42e662=_0x3a4e39['words'],_0x4ebd71=_0x5ca311['words'],_0x5ed308=0x0;_0x5ed308<_0x5d5841;_0x5ed308++)_0x42e662[_0x5ed308]^=0x5c5c5c5c,_0x4ebd71[_0x5ed308]^=0x36363636;_0x3a4e39['sigBytes']=_0x5ca311['sigBytes']=_0x49a222,this[_0x390806(0x26d)]();},'reset':function(){var _0x1756d1=_0x5d1f0c,_0x5945a1=this['_hasher'];_0x5945a1[_0x1756d1(0x26d)](),_0x5945a1[_0x1756d1(0xa5)](this[_0x1756d1(0x3b0)]);},'update':function(_0x1d1932){var _0x6abee=_0x5d1f0c;return this[_0x6abee(0xbc)]['update'](_0x1d1932),this;},'finalize':function(_0x5d50b4){var _0x24bb46=_0x5d1f0c,_0x40cc9c=this['_hasher'],_0x2ffba9=_0x40cc9c[_0x24bb46(0x261)](_0x5d50b4);_0x40cc9c[_0x24bb46(0x26d)]();var _0x38a6f7=_0x40cc9c[_0x24bb46(0x261)](this[_0x24bb46(0x3ae)][_0x24bb46(0x371)]()[_0x24bb46(0x1fa)](_0x2ffba9));return _0x38a6f7;}});}());}));}(Ce)),Ce[_0x427444(0xd4)];}var ni=Ie[_0x2e58ba(0xd4)],rt;function wt(){var _0x4386d9=_0x2e58ba;return rt||(rt=0x1,function(_0x19baad,_0x5f30fc){(function(_0x316009,_0x43dc11,_0x4246d5){var _0x3e1b34=_0x2768;_0x19baad[_0x3e1b34(0xd4)]=_0x43dc11(ee(),Qn(),ti());}(ni,function(_0x59c32d){return(function(){var _0x2c6402=_0x2768,_0x3562d1=_0x59c32d,_0x4b0398=_0x3562d1['lib'],_0x34962f=_0x4b0398['Base'],_0x2169e9=_0x4b0398['WordArray'],_0xd633ad=_0x3562d1[_0x2c6402(0x175)],_0x1332f5=_0xd633ad['MD5'],_0x1125dc=_0xd633ad[_0x2c6402(0x288)]=_0x34962f[_0x2c6402(0x236)]({'cfg':_0x34962f[_0x2c6402(0x236)]({'keySize':0x80/0x20,'hasher':_0x1332f5,'iterations':0x1}),'init':function(_0x1fbbb4){var _0x58cc7f=_0x2c6402;this[_0x58cc7f(0x113)]=this[_0x58cc7f(0x113)][_0x58cc7f(0x236)](_0x1fbbb4);},'compute':function(_0x889297,_0x3b30e2){var _0x295b48=_0x2c6402;for(var _0x88ae56,_0x4e134f=this[_0x295b48(0x113)],_0x524876=_0x4e134f[_0x295b48(0xc9)]['create'](),_0x55c24e=_0x2169e9[_0x295b48(0x2f4)](),_0x423455=_0x55c24e['words'],_0x35ae11=_0x4e134f[_0x295b48(0x1cf)],_0x5eceae=_0x4e134f[_0x295b48(0x3d8)];_0x423455['length']<_0x35ae11;){_0x88ae56&&_0x524876[_0x295b48(0xa5)](_0x88ae56),_0x88ae56=_0x524876['update'](_0x889297)[_0x295b48(0x261)](_0x3b30e2),_0x524876[_0x295b48(0x26d)]();for(var _0x2e94a6=0x1;_0x2e94a6<_0x5eceae;_0x2e94a6++)_0x88ae56=_0x524876[_0x295b48(0x261)](_0x88ae56),_0x524876['reset']();_0x55c24e[_0x295b48(0x1fa)](_0x88ae56);}return _0x55c24e[_0x295b48(0x379)]=_0x35ae11*0x4,_0x55c24e;}});_0x3562d1['EvpKDF']=function(_0x252d8d,_0x5ace24,_0x2519ed){var _0x1e087f=_0x2c6402;return _0x1125dc[_0x1e087f(0x2f4)](_0x2519ed)[_0x1e087f(0x3a9)](_0x252d8d,_0x5ace24);};}()),_0x59c32d['EvpKDF'];}));}(Ie)),Ie[_0x4386d9(0xd4)];}var Te={'exports':{}},ii=Te[_0x2e58ba(0xd4)],st;function At(){var _0x509926=_0x2e58ba;return st||(st=0x1,function(_0x37b252,_0x33ccb9){(function(_0x314b8a,_0x3bacaa,_0x33b3da){_0x37b252['exports']=_0x3bacaa(ee(),wt());}(ii,function(_0x4d27b5){var _0x57302a=_0x2768;_0x4d27b5['lib'][_0x57302a(0x263)]||function(_0x2cd9f8){var _0x40e91d=_0x57302a,_0x107be3=_0x4d27b5,_0x4fc5fd=_0x107be3[_0x40e91d(0x3cc)],_0x2414f0=_0x4fc5fd['Base'],_0x1c93e8=_0x4fc5fd[_0x40e91d(0x1ac)],_0x3b991d=_0x4fc5fd[_0x40e91d(0x22d)],_0x4041bb=_0x107be3[_0x40e91d(0x2b1)];_0x4041bb['Utf8'];var _0x558608=_0x4041bb[_0x40e91d(0x37e)],_0x3cb1ed=_0x107be3[_0x40e91d(0x175)],_0x52d0fc=_0x3cb1ed[_0x40e91d(0x288)],_0x882415=_0x4fc5fd[_0x40e91d(0x263)]=_0x3b991d[_0x40e91d(0x236)]({'cfg':_0x2414f0[_0x40e91d(0x236)](),'createEncryptor':function(_0x15d895,_0x3bb82d){var _0x48a1aa=_0x40e91d;return this[_0x48a1aa(0x2f4)](this[_0x48a1aa(0x2b4)],_0x15d895,_0x3bb82d);},'createDecryptor':function(_0x1debb4,_0x3b5da2){var _0x6b2a31=_0x40e91d;return this[_0x6b2a31(0x2f4)](this['_DEC_XFORM_MODE'],_0x1debb4,_0x3b5da2);},'init':function(_0x4e9822,_0xed5e2,_0x1077c5){var _0x4c24b2=_0x40e91d;this[_0x4c24b2(0x113)]=this[_0x4c24b2(0x113)]['extend'](_0x1077c5),this[_0x4c24b2(0x206)]=_0x4e9822,this['_key']=_0xed5e2,this[_0x4c24b2(0x26d)]();},'reset':function(){var _0x29eac9=_0x40e91d;_0x3b991d[_0x29eac9(0x26d)][_0x29eac9(0x3be)](this),this['_doReset']();},'process':function(_0x443370){var _0x4c6f28=_0x40e91d;return this[_0x4c6f28(0x3cb)](_0x443370),this[_0x4c6f28(0x2db)]();},'finalize':function(_0x1206e0){var _0x3a396b=_0x40e91d;_0x1206e0&&this[_0x3a396b(0x3cb)](_0x1206e0);var _0x2b4536=this['_doFinalize']();return _0x2b4536;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4dd828(_0x4fa3d7){var _0x593e5d=_0x2768;return typeof _0x4fa3d7==_0x593e5d(0x239)?_0x518ce6:_0x23e36a;}return function(_0x33d96a){return{'encrypt':function(_0x36f6d2,_0x44ed68,_0x2ef3d8){var _0x4b6766=_0x2768;return _0x4dd828(_0x44ed68)[_0x4b6766(0x99)](_0x33d96a,_0x36f6d2,_0x44ed68,_0x2ef3d8);},'decrypt':function(_0x3d5419,_0x2fbd78,_0x117d92){return _0x4dd828(_0x2fbd78)['decrypt'](_0x33d96a,_0x3d5419,_0x2fbd78,_0x117d92);}};};}())});_0x4fc5fd[_0x40e91d(0x1db)]=_0x882415['extend']({'_doFinalize':function(){var _0x184da2=_0x40e91d,_0x482aa3=this[_0x184da2(0x2db)](!0x0);return _0x482aa3;},'blockSize':0x1});var _0x33de49=_0x107be3[_0x40e91d(0x2fc)]={},_0x50edef=_0x4fc5fd[_0x40e91d(0x2b8)]=_0x2414f0[_0x40e91d(0x236)]({'createEncryptor':function(_0xc4a476,_0x2652a8){var _0x45c42e=_0x40e91d;return this[_0x45c42e(0x31f)][_0x45c42e(0x2f4)](_0xc4a476,_0x2652a8);},'createDecryptor':function(_0x5831a4,_0x289bc0){var _0x28c888=_0x40e91d;return this[_0x28c888(0xcb)][_0x28c888(0x2f4)](_0x5831a4,_0x289bc0);},'init':function(_0x5e98ec,_0x58d85a){var _0x5cfd5f=_0x40e91d;this[_0x5cfd5f(0x1a7)]=_0x5e98ec,this[_0x5cfd5f(0x19c)]=_0x58d85a;}}),_0x3a26e6=_0x33de49[_0x40e91d(0x27e)]=(function(){var _0x2ea8a8=_0x40e91d,_0x23b3b7=_0x50edef[_0x2ea8a8(0x236)]();_0x23b3b7[_0x2ea8a8(0x31f)]=_0x23b3b7[_0x2ea8a8(0x236)]({'processBlock':function(_0x17b3cd,_0x38840a){var _0x4f9377=_0x2ea8a8,_0x16ffe6=this[_0x4f9377(0x1a7)],_0x4c2164=_0x16ffe6[_0x4f9377(0x1af)];_0x2455b6[_0x4f9377(0x3be)](this,_0x17b3cd,_0x38840a,_0x4c2164),_0x16ffe6['encryptBlock'](_0x17b3cd,_0x38840a),this[_0x4f9377(0x33b)]=_0x17b3cd[_0x4f9377(0x2e9)](_0x38840a,_0x38840a+_0x4c2164);}}),_0x23b3b7[_0x2ea8a8(0xcb)]=_0x23b3b7[_0x2ea8a8(0x236)]({'processBlock':function(_0x4c1b1c,_0x2cc2f2){var _0x51a95d=_0x2ea8a8,_0x3019c3=this[_0x51a95d(0x1a7)],_0x35a2b1=_0x3019c3[_0x51a95d(0x1af)],_0x2fc75c=_0x4c1b1c['slice'](_0x2cc2f2,_0x2cc2f2+_0x35a2b1);_0x3019c3[_0x51a95d(0x281)](_0x4c1b1c,_0x2cc2f2),_0x2455b6['call'](this,_0x4c1b1c,_0x2cc2f2,_0x35a2b1),this[_0x51a95d(0x33b)]=_0x2fc75c;}});function _0x2455b6(_0x3bfb43,_0x50b44d,_0xad8b89){var _0x49c119=_0x2ea8a8,_0x29b7e5,_0x224b29=this[_0x49c119(0x19c)];_0x224b29?(_0x29b7e5=_0x224b29,this[_0x49c119(0x19c)]=_0x2cd9f8):_0x29b7e5=this[_0x49c119(0x33b)];for(var _0x46bc7e=0x0;_0x46bc7e<_0xad8b89;_0x46bc7e++)_0x3bfb43[_0x50b44d+_0x46bc7e]^=_0x29b7e5[_0x46bc7e];}return _0x23b3b7;}()),_0xbc8aa2=_0x107be3[_0x40e91d(0x3ab)]={},_0x38a802=_0xbc8aa2[_0x40e91d(0x1ee)]={'pad':function(_0x35dcb5,_0x51b976){var _0x21d653=_0x40e91d;for(var _0x34f2ad=_0x51b976*0x4,_0x17d523=_0x34f2ad-_0x35dcb5[_0x21d653(0x379)]%_0x34f2ad,_0x4b8c6f=_0x17d523<<0x18|_0x17d523<<0x10|_0x17d523<<0x8|_0x17d523,_0x2ca79f=[],_0x597b6d=0x0;_0x597b6d<_0x17d523;_0x597b6d+=0x4)_0x2ca79f['push'](_0x4b8c6f);var _0x4631d0=_0x1c93e8[_0x21d653(0x2f4)](_0x2ca79f,_0x17d523);_0x35dcb5['concat'](_0x4631d0);},'unpad':function(_0x259fdf){var _0x753c65=_0x40e91d,_0x1fc5d0=_0x259fdf[_0x753c65(0x102)][_0x259fdf[_0x753c65(0x379)]-0x1>>>0x2]&0xff;_0x259fdf[_0x753c65(0x379)]-=_0x1fc5d0;}};_0x4fc5fd[_0x40e91d(0x26e)]=_0x882415[_0x40e91d(0x236)]({'cfg':_0x882415[_0x40e91d(0x113)][_0x40e91d(0x236)]({'mode':_0x3a26e6,'padding':_0x38a802}),'reset':function(){var _0x42e3ee=_0x40e91d,_0x239a5f;_0x882415['reset'][_0x42e3ee(0x3be)](this);var _0x47e4a5=this[_0x42e3ee(0x113)],_0x58a062=_0x47e4a5['iv'],_0x525b8f=_0x47e4a5['mode'];this[_0x42e3ee(0x206)]==this['_ENC_XFORM_MODE']?_0x239a5f=_0x525b8f[_0x42e3ee(0x275)]:(_0x239a5f=_0x525b8f[_0x42e3ee(0x9c)],this[_0x42e3ee(0x1ba)]=0x1),this['_mode']&&this[_0x42e3ee(0x25b)][_0x42e3ee(0xd7)]==_0x239a5f?this[_0x42e3ee(0x25b)][_0x42e3ee(0x2da)](this,_0x58a062&&_0x58a062[_0x42e3ee(0x102)]):(this[_0x42e3ee(0x25b)]=_0x239a5f[_0x42e3ee(0x3be)](_0x525b8f,this,_0x58a062&&_0x58a062[_0x42e3ee(0x102)]),this[_0x42e3ee(0x25b)][_0x42e3ee(0xd7)]=_0x239a5f);},'_doProcessBlock':function(_0x51ec0e,_0x193bb7){var _0x5781ba=_0x40e91d;this[_0x5781ba(0x25b)]['processBlock'](_0x51ec0e,_0x193bb7);},'_doFinalize':function(){var _0x4145f7=_0x40e91d,_0x93acea,_0x3b07c8=this[_0x4145f7(0x113)]['padding'];return this[_0x4145f7(0x206)]==this[_0x4145f7(0x2b4)]?(_0x3b07c8[_0x4145f7(0x3ab)](this[_0x4145f7(0x118)],this[_0x4145f7(0x1af)]),_0x93acea=this['_process'](!0x0)):(_0x93acea=this[_0x4145f7(0x2db)](!0x0),_0x3b07c8[_0x4145f7(0x26f)](_0x93acea)),_0x93acea;},'blockSize':0x80/0x20});var _0x16d2ca=_0x4fc5fd[_0x40e91d(0x1d9)]=_0x2414f0[_0x40e91d(0x236)]({'init':function(_0x510a75){this['mixIn'](_0x510a75);},'toString':function(_0xb5af64){var _0x4cb22c=_0x40e91d;return(_0xb5af64||this[_0x4cb22c(0x1d5)])[_0x4cb22c(0x402)](this);}}),_0xd7a3ed=_0x107be3['format']={},_0x21c22d=_0xd7a3ed[_0x40e91d(0x9f)]={'stringify':function(_0x45a519){var _0x54fd80=_0x40e91d,_0x4c14f7,_0x4e9ad9=_0x45a519[_0x54fd80(0x3b4)],_0x2e7e11=_0x45a519[_0x54fd80(0xab)];return _0x2e7e11?_0x4c14f7=_0x1c93e8['create']([0x53616c74,0x65645f5f])[_0x54fd80(0x1fa)](_0x2e7e11)[_0x54fd80(0x1fa)](_0x4e9ad9):_0x4c14f7=_0x4e9ad9,_0x4c14f7[_0x54fd80(0x260)](_0x558608);},'parse':function(_0x1c99c4){var _0x512497=_0x40e91d,_0x54e58e,_0x2a247a=_0x558608[_0x512497(0x34f)](_0x1c99c4),_0x613084=_0x2a247a[_0x512497(0x102)];return _0x613084[0x0]==0x53616c74&&_0x613084[0x1]==0x65645f5f&&(_0x54e58e=_0x1c93e8[_0x512497(0x2f4)](_0x613084['slice'](0x2,0x4)),_0x613084[_0x512497(0x367)](0x0,0x4),_0x2a247a[_0x512497(0x379)]-=0x10),_0x16d2ca[_0x512497(0x2f4)]({'ciphertext':_0x2a247a,'salt':_0x54e58e});}},_0x23e36a=_0x4fc5fd[_0x40e91d(0x148)]=_0x2414f0['extend']({'cfg':_0x2414f0[_0x40e91d(0x236)]({'format':_0x21c22d}),'encrypt':function(_0x28ede4,_0x52e035,_0x4278ed,_0xbee2fa){var _0xa24674=_0x40e91d;_0xbee2fa=this[_0xa24674(0x113)]['extend'](_0xbee2fa);var _0xe2fd3f=_0x28ede4[_0xa24674(0x275)](_0x4278ed,_0xbee2fa),_0x528f60=_0xe2fd3f[_0xa24674(0x261)](_0x52e035),_0x5476cd=_0xe2fd3f[_0xa24674(0x113)];return _0x16d2ca['create']({'ciphertext':_0x528f60,'key':_0x4278ed,'iv':_0x5476cd['iv'],'algorithm':_0x28ede4,'mode':_0x5476cd[_0xa24674(0x2fc)],'padding':_0x5476cd[_0xa24674(0x18c)],'blockSize':_0x28ede4[_0xa24674(0x1af)],'formatter':_0xbee2fa['format']});},'decrypt':function(_0x1920b6,_0x5c654e,_0x5c381b,_0x119a78){var _0x1d6189=_0x40e91d;_0x119a78=this[_0x1d6189(0x113)][_0x1d6189(0x236)](_0x119a78),_0x5c654e=this[_0x1d6189(0x372)](_0x5c654e,_0x119a78[_0x1d6189(0x2d8)]);var _0x5dc944=_0x1920b6[_0x1d6189(0x9c)](_0x5c381b,_0x119a78)[_0x1d6189(0x261)](_0x5c654e[_0x1d6189(0x3b4)]);return _0x5dc944;},'_parse':function(_0x4209cb,_0x1b46ac){var _0x3c63b3=_0x40e91d;return typeof _0x4209cb=='string'?_0x1b46ac[_0x3c63b3(0x34f)](_0x4209cb,this):_0x4209cb;}}),_0xccd557=_0x107be3[_0x40e91d(0x1a6)]={},_0x254ee9=_0xccd557[_0x40e91d(0x9f)]={'execute':function(_0x5596a2,_0x43217f,_0x50b450,_0x1eade2,_0x367f15){var _0x719e75=_0x40e91d;if(_0x1eade2||(_0x1eade2=_0x1c93e8[_0x719e75(0x2a1)](0x40/0x8)),_0x367f15)var _0x3f5733=_0x52d0fc[_0x719e75(0x2f4)]({'keySize':_0x43217f+_0x50b450,'hasher':_0x367f15})[_0x719e75(0x3a9)](_0x5596a2,_0x1eade2);else var _0x3f5733=_0x52d0fc['create']({'keySize':_0x43217f+_0x50b450})[_0x719e75(0x3a9)](_0x5596a2,_0x1eade2);var _0x3f7b24=_0x1c93e8[_0x719e75(0x2f4)](_0x3f5733[_0x719e75(0x102)]['slice'](_0x43217f),_0x50b450*0x4);return _0x3f5733['sigBytes']=_0x43217f*0x4,_0x16d2ca['create']({'key':_0x3f5733,'iv':_0x3f7b24,'salt':_0x1eade2});}},_0x518ce6=_0x4fc5fd[_0x40e91d(0x30d)]=_0x23e36a[_0x40e91d(0x236)]({'cfg':_0x23e36a[_0x40e91d(0x113)][_0x40e91d(0x236)]({'kdf':_0x254ee9}),'encrypt':function(_0x1d0ad6,_0x235b92,_0x174eb5,_0x187b9e){var _0x52e685=_0x40e91d;_0x187b9e=this[_0x52e685(0x113)]['extend'](_0x187b9e);var _0x21f5de=_0x187b9e['kdf'][_0x52e685(0x359)](_0x174eb5,_0x1d0ad6[_0x52e685(0x1cf)],_0x1d0ad6[_0x52e685(0x197)],_0x187b9e['salt'],_0x187b9e['hasher']);_0x187b9e['iv']=_0x21f5de['iv'];var _0x15dbfb=_0x23e36a[_0x52e685(0x99)][_0x52e685(0x3be)](this,_0x1d0ad6,_0x235b92,_0x21f5de[_0x52e685(0x234)],_0x187b9e);return _0x15dbfb[_0x52e685(0x36e)](_0x21f5de),_0x15dbfb;},'decrypt':function(_0x4118c3,_0x251a57,_0x405050,_0x4b4c29){var _0x4d8b1d=_0x40e91d;_0x4b4c29=this[_0x4d8b1d(0x113)][_0x4d8b1d(0x236)](_0x4b4c29),_0x251a57=this['_parse'](_0x251a57,_0x4b4c29['format']);var _0x31dd97=_0x4b4c29[_0x4d8b1d(0x1a6)][_0x4d8b1d(0x359)](_0x405050,_0x4118c3[_0x4d8b1d(0x1cf)],_0x4118c3['ivSize'],_0x251a57[_0x4d8b1d(0xab)],_0x4b4c29['hasher']);_0x4b4c29['iv']=_0x31dd97['iv'];var _0x22c581=_0x23e36a[_0x4d8b1d(0x2df)][_0x4d8b1d(0x3be)](this,_0x4118c3,_0x251a57,_0x31dd97[_0x4d8b1d(0x234)],_0x4b4c29);return _0x22c581;}});}();}));}(Te)),Te[_0x509926(0xd4)];}var ri=Se[_0x2e58ba(0xd4)],ot;function si(){return ot||(ot=0x1,function(_0x3b1dfb,_0x27e861){(function(_0x3bcae2,_0x21cca9,_0x3c2973){var _0x2e580c=_0x2768;_0x3b1dfb[_0x2e580c(0xd4)]=_0x21cca9(ee(),Dt(),Xn(),wt(),At());}(ri,function(_0x4f5449){return(function(){var _0x5b61bd=_0x2768,_0x567748=_0x4f5449,_0xad53bc=_0x567748['lib'],_0x1c764c=_0xad53bc[_0x5b61bd(0x26e)],_0x5689bf=_0x567748[_0x5b61bd(0x175)],_0x49cafd=[],_0x241e46=[],_0x2ef0af=[],_0x1349e1=[],_0x14054c=[],_0x3c0737=[],_0x48f36a=[],_0x58b332=[],_0x1d1b74=[],_0x4f62f8=[];(function(){for(var _0x49f6e8=[],_0x369c20=0x0;_0x369c20<0x100;_0x369c20++)_0x369c20<0x80?_0x49f6e8[_0x369c20]=_0x369c20<<0x1:_0x49f6e8[_0x369c20]=_0x369c20<<0x1^0x11b;for(var _0x5aa603=0x0,_0x2dddb6=0x0,_0x369c20=0x0;_0x369c20<0x100;_0x369c20++){var _0x2d7039=_0x2dddb6^_0x2dddb6<<0x1^_0x2dddb6<<0x2^_0x2dddb6<<0x3^_0x2dddb6<<0x4;_0x2d7039=_0x2d7039>>>0x8^_0x2d7039&0xff^0x63,_0x49cafd[_0x5aa603]=_0x2d7039,_0x241e46[_0x2d7039]=_0x5aa603;var _0x33e2a7=_0x49f6e8[_0x5aa603],_0x83c27a=_0x49f6e8[_0x33e2a7],_0x4fbec0=_0x49f6e8[_0x83c27a],_0x38fe07=_0x49f6e8[_0x2d7039]*0x101^_0x2d7039*0x1010100;_0x2ef0af[_0x5aa603]=_0x38fe07<<0x18|_0x38fe07>>>0x8,_0x1349e1[_0x5aa603]=_0x38fe07<<0x10|_0x38fe07>>>0x10,_0x14054c[_0x5aa603]=_0x38fe07<<0x8|_0x38fe07>>>0x18,_0x3c0737[_0x5aa603]=_0x38fe07;var _0x38fe07=_0x4fbec0*0x1010101^_0x83c27a*0x10001^_0x33e2a7*0x101^_0x5aa603*0x1010100;_0x48f36a[_0x2d7039]=_0x38fe07<<0x18|_0x38fe07>>>0x8,_0x58b332[_0x2d7039]=_0x38fe07<<0x10|_0x38fe07>>>0x10,_0x1d1b74[_0x2d7039]=_0x38fe07<<0x8|_0x38fe07>>>0x18,_0x4f62f8[_0x2d7039]=_0x38fe07,_0x5aa603?(_0x5aa603=_0x33e2a7^_0x49f6e8[_0x49f6e8[_0x49f6e8[_0x4fbec0^_0x33e2a7]]],_0x2dddb6^=_0x49f6e8[_0x49f6e8[_0x2dddb6]]):_0x5aa603=_0x2dddb6=0x1;}}());var _0x7f1c5e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x14fdcf=_0x5689bf['AES']=_0x1c764c['extend']({'_doReset':function(){var _0x21b672=_0x5b61bd,_0x3a4279;if(!(this[_0x21b672(0x146)]&&this[_0x21b672(0x1b6)]===this[_0x21b672(0x238)])){for(var _0x5d82c0=this[_0x21b672(0x1b6)]=this[_0x21b672(0x238)],_0x26618d=_0x5d82c0[_0x21b672(0x102)],_0x55a6cc=_0x5d82c0['sigBytes']/0x4,_0x57ed1a=this['_nRounds']=_0x55a6cc+0x6,_0x39853b=(_0x57ed1a+0x1)*0x4,_0x3e7e6d=this[_0x21b672(0x172)]=[],_0x23198a=0x0;_0x23198a<_0x39853b;_0x23198a++)_0x23198a<_0x55a6cc?_0x3e7e6d[_0x23198a]=_0x26618d[_0x23198a]:(_0x3a4279=_0x3e7e6d[_0x23198a-0x1],_0x23198a%_0x55a6cc?_0x55a6cc>0x6&&_0x23198a%_0x55a6cc==0x4&&(_0x3a4279=_0x49cafd[_0x3a4279>>>0x18]<<0x18|_0x49cafd[_0x3a4279>>>0x10&0xff]<<0x10|_0x49cafd[_0x3a4279>>>0x8&0xff]<<0x8|_0x49cafd[_0x3a4279&0xff]):(_0x3a4279=_0x3a4279<<0x8|_0x3a4279>>>0x18,_0x3a4279=_0x49cafd[_0x3a4279>>>0x18]<<0x18|_0x49cafd[_0x3a4279>>>0x10&0xff]<<0x10|_0x49cafd[_0x3a4279>>>0x8&0xff]<<0x8|_0x49cafd[_0x3a4279&0xff],_0x3a4279^=_0x7f1c5e[_0x23198a/_0x55a6cc|0x0]<<0x18),_0x3e7e6d[_0x23198a]=_0x3e7e6d[_0x23198a-_0x55a6cc]^_0x3a4279);for(var _0x1c4da4=this['_invKeySchedule']=[],_0xb20507=0x0;_0xb20507<_0x39853b;_0xb20507++){var _0x23198a=_0x39853b-_0xb20507;if(_0xb20507%0x4)var _0x3a4279=_0x3e7e6d[_0x23198a];else var _0x3a4279=_0x3e7e6d[_0x23198a-0x4];_0xb20507<0x4||_0x23198a<=0x4?_0x1c4da4[_0xb20507]=_0x3a4279:_0x1c4da4[_0xb20507]=_0x48f36a[_0x49cafd[_0x3a4279>>>0x18]]^_0x58b332[_0x49cafd[_0x3a4279>>>0x10&0xff]]^_0x1d1b74[_0x49cafd[_0x3a4279>>>0x8&0xff]]^_0x4f62f8[_0x49cafd[_0x3a4279&0xff]];}}},'encryptBlock':function(_0x56882e,_0x228962){var _0x394835=_0x5b61bd;this[_0x394835(0x9a)](_0x56882e,_0x228962,this[_0x394835(0x172)],_0x2ef0af,_0x1349e1,_0x14054c,_0x3c0737,_0x49cafd);},'decryptBlock':function(_0x60ba73,_0x51de0b){var _0x3e8699=_0x5b61bd,_0x2e1e10=_0x60ba73[_0x51de0b+0x1];_0x60ba73[_0x51de0b+0x1]=_0x60ba73[_0x51de0b+0x3],_0x60ba73[_0x51de0b+0x3]=_0x2e1e10,this[_0x3e8699(0x9a)](_0x60ba73,_0x51de0b,this[_0x3e8699(0x27b)],_0x48f36a,_0x58b332,_0x1d1b74,_0x4f62f8,_0x241e46);var _0x2e1e10=_0x60ba73[_0x51de0b+0x1];_0x60ba73[_0x51de0b+0x1]=_0x60ba73[_0x51de0b+0x3],_0x60ba73[_0x51de0b+0x3]=_0x2e1e10;},'_doCryptBlock':function(_0x1bce8d,_0x3545cc,_0x1f47c5,_0x585841,_0x5908cb,_0x21ca8f,_0x55b586,_0x31af18){for(var _0x54a253=this['_nRounds'],_0x3ed032=_0x1bce8d[_0x3545cc]^_0x1f47c5[0x0],_0x9c7ea=_0x1bce8d[_0x3545cc+0x1]^_0x1f47c5[0x1],_0x285750=_0x1bce8d[_0x3545cc+0x2]^_0x1f47c5[0x2],_0x4da8f6=_0x1bce8d[_0x3545cc+0x3]^_0x1f47c5[0x3],_0x2a06fa=0x4,_0x4ebf90=0x1;_0x4ebf90<_0x54a253;_0x4ebf90++){var _0x43f806=_0x585841[_0x3ed032>>>0x18]^_0x5908cb[_0x9c7ea>>>0x10&0xff]^_0x21ca8f[_0x285750>>>0x8&0xff]^_0x55b586[_0x4da8f6&0xff]^_0x1f47c5[_0x2a06fa++],_0x2c69e5=_0x585841[_0x9c7ea>>>0x18]^_0x5908cb[_0x285750>>>0x10&0xff]^_0x21ca8f[_0x4da8f6>>>0x8&0xff]^_0x55b586[_0x3ed032&0xff]^_0x1f47c5[_0x2a06fa++],_0x1ea011=_0x585841[_0x285750>>>0x18]^_0x5908cb[_0x4da8f6>>>0x10&0xff]^_0x21ca8f[_0x3ed032>>>0x8&0xff]^_0x55b586[_0x9c7ea&0xff]^_0x1f47c5[_0x2a06fa++],_0x40d467=_0x585841[_0x4da8f6>>>0x18]^_0x5908cb[_0x3ed032>>>0x10&0xff]^_0x21ca8f[_0x9c7ea>>>0x8&0xff]^_0x55b586[_0x285750&0xff]^_0x1f47c5[_0x2a06fa++];_0x3ed032=_0x43f806,_0x9c7ea=_0x2c69e5,_0x285750=_0x1ea011,_0x4da8f6=_0x40d467;}var _0x43f806=(_0x31af18[_0x3ed032>>>0x18]<<0x18|_0x31af18[_0x9c7ea>>>0x10&0xff]<<0x10|_0x31af18[_0x285750>>>0x8&0xff]<<0x8|_0x31af18[_0x4da8f6&0xff])^_0x1f47c5[_0x2a06fa++],_0x2c69e5=(_0x31af18[_0x9c7ea>>>0x18]<<0x18|_0x31af18[_0x285750>>>0x10&0xff]<<0x10|_0x31af18[_0x4da8f6>>>0x8&0xff]<<0x8|_0x31af18[_0x3ed032&0xff])^_0x1f47c5[_0x2a06fa++],_0x1ea011=(_0x31af18[_0x285750>>>0x18]<<0x18|_0x31af18[_0x4da8f6>>>0x10&0xff]<<0x10|_0x31af18[_0x3ed032>>>0x8&0xff]<<0x8|_0x31af18[_0x9c7ea&0xff])^_0x1f47c5[_0x2a06fa++],_0x40d467=(_0x31af18[_0x4da8f6>>>0x18]<<0x18|_0x31af18[_0x3ed032>>>0x10&0xff]<<0x10|_0x31af18[_0x9c7ea>>>0x8&0xff]<<0x8|_0x31af18[_0x285750&0xff])^_0x1f47c5[_0x2a06fa++];_0x1bce8d[_0x3545cc]=_0x43f806,_0x1bce8d[_0x3545cc+0x1]=_0x2c69e5,_0x1bce8d[_0x3545cc+0x2]=_0x1ea011,_0x1bce8d[_0x3545cc+0x3]=_0x40d467;},'keySize':0x100/0x20});_0x567748[_0x5b61bd(0x2fd)]=_0x1c764c['_createHelper'](_0x14fdcf);}()),_0x4f5449['AES'];}));}(Se)),Se['exports'];}var oi=si();const ai=fe(oi);var ci=Dt();const at=fe(ci);var be={'exports':{}},hi=be['exports'],ct;function li(){var _0x1669f0=_0x2e58ba;return ct||(ct=0x1,function(_0x2064f3,_0x544964){(function(_0x1f908d,_0x140d31){var _0x373b63=_0x2768;_0x2064f3[_0x373b63(0xd4)]=_0x140d31(ee());}(hi,function(_0x58ca84){var _0x510809=_0x2768;return _0x58ca84['enc'][_0x510809(0x16f)];}));}(be)),be[_0x1669f0(0xd4)];}var _i=li();const ui=fe(_i);var Re={'exports':{}},di=Re[_0x2e58ba(0xd4)],ht;function vi(){var _0x307be8=_0x2e58ba;return ht||(ht=0x1,function(_0x4a7c92,_0x18a417){(function(_0x2e9451,_0x27f182){var _0x1b8384=_0x2768;_0x4a7c92[_0x1b8384(0xd4)]=_0x27f182(ee());}(di,function(_0x25ace5){var _0x40959f=_0x2768;return(function(){var _0x13cbe2=_0x2768;if(typeof ArrayBuffer==_0x13cbe2(0x33f)){var _0xa968e9=_0x25ace5,_0x1aab1e=_0xa968e9[_0x13cbe2(0x3cc)],_0x102dd0=_0x1aab1e[_0x13cbe2(0x1ac)],_0x2a82f3=_0x102dd0[_0x13cbe2(0x2da)],_0x319486=_0x102dd0['init']=function(_0x5bd64e){var _0x5ea88b=_0x13cbe2;if(_0x5bd64e instanceof ArrayBuffer&&(_0x5bd64e=new Uint8Array(_0x5bd64e)),(_0x5bd64e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5bd64e instanceof Uint8ClampedArray||_0x5bd64e instanceof Int16Array||_0x5bd64e instanceof Uint16Array||_0x5bd64e instanceof Int32Array||_0x5bd64e instanceof Uint32Array||_0x5bd64e instanceof Float32Array||_0x5bd64e instanceof Float64Array)&&(_0x5bd64e=new Uint8Array(_0x5bd64e[_0x5ea88b(0x13b)],_0x5bd64e[_0x5ea88b(0x27c)],_0x5bd64e['byteLength'])),_0x5bd64e instanceof Uint8Array){for(var _0x237dcf=_0x5bd64e[_0x5ea88b(0x198)],_0x48959c=[],_0x4bd420=0x0;_0x4bd420<_0x237dcf;_0x4bd420++)_0x48959c[_0x4bd420>>>0x2]|=_0x5bd64e[_0x4bd420]<<0x18-_0x4bd420%0x4*0x8;_0x2a82f3[_0x5ea88b(0x3be)](this,_0x48959c,_0x237dcf);}else _0x2a82f3['apply'](this,arguments);};_0x319486[_0x13cbe2(0x1bb)]=_0x102dd0;}}()),_0x25ace5[_0x40959f(0x3cc)]['WordArray'];}));}(Re)),Re[_0x307be8(0xd4)];}var fi=vi();const Si=fe(fi);function _0x2963(){var _0x240fae=['_updateState','/universer-api/snapshot','AWAITING','_showConflictNotification','_substituteRedoStack','ceil','LEAVE','Plugin','change$','_shouldReportTelemetry','_scheduleCompleteTimestamp','HEARTBEAT_INTERVAL','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','InsertSheetMutation','setCurrentUser','symbol','[CollaborationSessionService]:\x20socket\x20error','Encryptor','executeCommand','_members$','search','append','CollaborationEvent','wsSessionTicketUrl','send','_doProcessBlock','$super','RichTextEditingMutation','_logService','getCurrentSelections','JOIN_ROOM_PERMISSION_DENIED','_http','PERMISSION_REJ','UniverInstanceType','debug','DEFAULT_FILE_NAME','from','csAckEvent','readAsDataURL','_collabSessionService','onload','PERSON','PSEUDO_FETCH_MISSING_RESULT','2GhfwoW','9447324SApCdc','_prevBlock','onCommandExecuted','appendMutation','state','function','updatePermissionPoint','save\x20fail\x20reason\x20is\x20','_emitMembers','ITransformService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CollaborationUIEventId','LocaleService','snapshotServerUrl','isTransformMutationsWithChangesetFailure','updateCursorEvent','application/json','PERMISSION_DENIED','listRoles','MUTATION','[CollaborationEntity]','parse','[OfflineState]:\x20received\x20rejection.','updateCollaborator','url','_httpService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','subscribe','APPLY_DUPLICATED','get','onRemoteRej','execute','code','isTransformChangesetsSuccess','YUUMI_UNABLE_LOAD_URL','_createHmacHelper','/role','_sendHeartbeatTimer','univer-pro.collaboration-client.single-active-unit-service','workbook','onRemoteRetry','_changesetSessionId','_sender','MentionType','BASE64','splice','getActiveSheet','isArray','_unitID','_onRemoteRetry','_getDownloadEndpointURL','resend','mixIn','uniscriptRunEvent','/unit/','clone','_parse','1769675zUNsvF','USERS_LEAVE','NoPadding','ILogService','/universer-api/comb','IPermissionService','sigBytes','getAllMembers','_collaborationTimeoutTimer','RevisionService','type','Base64','860809JxPvYy','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','LIVESHARE_OPERATION','pending','UNIVER_PROJECT','getUnitOnRev','loadSheet','_injector','getSheetId','requireSession','_tryEnsureSocket','createInstance','_toggleOffline','_roomCreated$','deleteCollaborator','_toggleOnline','@univerjs/sheets','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','1285116TDLMrq','_onRemoteACK','LIVESHARE_REQUEST_HOST','collaboration_new_changeset','now','Error\x20on\x20receiving\x20event','_changesetReqId','_createInitialStateImpl','_redoStacks','_initDependencies','c1Prime','unitId','Module','_HTTPService','map','_clearUndo','batchAllowed','LocalUndoRedoService','SheetTransformSelectionsService','onlyLocal','_registerDependencies','_onMessage','/universer-api/file/{fileID}/sign-url','_checkMissing','compute','onSendChangeset','pad','ISingleActiveUnitService','file','_oKey','__Key__','_iKey','textRanges','[SyncedState]:\x20received\x20rejection.','refreshPermission','ciphertext','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_socketMessageSubscription','MemberService','PY_RUNTIME_SCRIPT_ERROR','csShouldRetryEvent','transformSelections','toggleOffline','?size=','listCollaborators','call','\x0aAfter:\x20','_pendingMutations','_sessions','close$','getLocalCacheKey','/block/','fetchMissingChangesets','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','ALREADY_EXISTS','[PendingState]:\x20unhandled\x20univer\x20type:\x20','image/bmp','_resendTimeout','_append','lib','size','getTypeOfUnitAdded$','_unlockTransition','INVALID_ARGUMENT','c2Prime','awaiting','HELLO','ICollaborationSocketService','textEncoder','getConfig','_localCacheService','iterations','_sheetTransformSelectionsService','_executeRemoteChangeset','COMPLETION_FINISHED','reqId','\x20-\x20','OFFLINE','_decreaseWaiting','touchDependencies','createCollaborator','SHA1','toStringTag','28jwMTmH','mergeOverrideWithDependencies','allowed','action','_telemetryInfo','_getAPIPrefix','_handlerCallback','offline','getImageSourceCache','changesets','collaborators','NOT_FOUND','UniverSheetsPlugin','IAuthzIoService','synced','firstValueFrom','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','YUUMI_RATE_OVER_LIMIT','_onRecvEvent','/collaborator','ticket','SEND_CHANGESET_TIMEOUT_KEY','retryConnectingInterval','AuthzIoHttpService','json','_collaborationUIEventService','filter','getLatestCsReqIdBySid','incrementRevOfUnit','getMember','stringify','open$','href','post','NEW_CHANGESETS','asObservable','APPLY_PERMISSION_DENIED','SheetsSelectionsService','SNAPSHOT_SERVER_URL_KEY','SheetCollaborationEntity','_stopTelemetryCollaborationNewChangeset','USERS_ENTER','loadOfflineData','JSONX','_waitCount','ONLINE','getFocusedUnit','delay','_getSignURL','cmd','sessionStatus$','_resendTimer','MSG_FOR_ERROR','_state$','onCommentUpdate','getValue','UniverNetworkPlugin','patch','_updateLocalCache','encrypt','_doCryptBlock','fromCharCode','createDecryptor','bind','encode','OpenSSL','findIndex','_configService','2463564PCwPnL','abs','CommentService','update','MD5','max','data','_schedule','SUCCUSS','salt','GLOBAL_ROOMS_CNT_EXCEEDS','_rescheduleHeartbeat','getCurrentUser','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','members$','SYNCED','_type','baseRev','emitEvent','PENDING','_startTelemetryCollaborationNewChangeset','IDLE','image/png','BehaviorSubject','LICENSE_DISTRO_REJECTED','_eventService','_hasher','[CollaborationSessionService]','FileId','/-/object/-/batch_allowed','members','CollaborativeUndoRedoService','clamp','ENSURE_SNAPSHOT_EXECUTION','ISnapshotServerService','override','result','reverse','_map','hasher','ws://127.0.0.1:8000/universer-api/comb/connect','Decryptor','reconnect','csRejEvent','hostname','CollaborationImageIoService','PendingState','sid','_onJoinRoomEvent','_socketReady','exports','DisposableCollection','session.room-full','__creator','SEND_CHANGESET_TIMEOUT','_applyRemoteChangeset','delete','AUTHZ_URL_KEY','m2Prime','collabSubmitChangesetUrl','encodeURIComponent','fetch_missing','_socket$','reject','_event$','_isPermissionRej','unknown','getTime','conflict','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','add','joinEvent','_disableEditing','_onRemoteRejected','[CollaborationSession]','_getUndoStack','CollaborationSocketService','close','onTransformRemoteChangesetByStateCache','fromCollab','x-univer-host','UnitStatus','UNIVER_UNKNOWN','@univerjs/network','defineProperty','default','\x20in\x20_schedule.','transformUndoRedo','_snapshotServerService','_getCurrentRevision','onTransformSelections','_getCtorByUniverType','COMPRESS_MUTATION_SEND','LIVESHARE_NEW_HOST','SNAPSHOT_URL_KEY','collaboration-client.config','words','_getAPIPrefixPath','_onUserLeave','FetchingMissState','getUnitType','createIdentifier','_transformIMECache','name','ERROR_EXCEED_SIZE','set','newCsEvent','requestParams','CompressMutationService','_getRedoStack','onRemoteAck','session.room-permission-denied','awaitingChangeset','cfg','HmacMD5','addHandlerCallback','_startCollaboration','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_data','userID','MentionIoHttpService','CollaborationStatus','clear','_onConflict','updateOfflineData','image/gif','_singleActiveUnitService','_compressMutationService','OfflineState','/rev/','setConfig','_createHelper','[UniverCollaborationClientPlugin]','UniverCollaborationClientPlugin','objectActions','UNRECOGNIZED','removeMember','_telemetryService','APPLY_REJECT','IConfigService','getTypeOfUnitDisposed$','putCollaborators','LICENSE_EXPORT_SIZE_EXCEEDED','_collaborationSessionService','Workbook','LIVESHARE_TERMINATE','SyncedState','_sendingTimer','state$','getCurrentRevOfUnit','onLocalMutation','collabWebSocketUrl','RETRY_CONNECTING_MAX_COUNT','buffer','push','_getSendChangesetTimeout','next','responseType','interceptor','localeService','toggleOnline','NOT_COLLAB','list','_waitForHeartbeatResponse','_nRounds','startsWith','SerializableCipher','SNAPSHOT_HAS_BEEN_REMOVED','socketService','_collaborationPaused','sheets','_awaitingChangeset','_clearHeartbeatTimer','_clearScheduledTask','_onConnectionFailed','isTransformMutationsWithChangesetSuccess','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','subject','CHANGESET_ACK','FETCH_MISS','_lockTransition','INGEST','msCrypto','_sessionStatus$','MergeInterceptorFactory','ImageUploadStatusType','ReplaySubject','resourceIDs','parseProtocolChangeset','HmacSHA1','_throwTelemetryCollaborationNewChangeset','_transformRemoteChangesetByIMECache','onMissingChangesets','isInternalEditorID','copyFileMeta','Tools','getWorkbookSelections','UNAUTHENTICATED','UnitSnapshot','_onConnectionOpen','_instanceService','_retryConnectingTimer','_permissionService','fetchThroughInterceptors','unitID','Utf8','_transformUndoredo','_substituteUndoStack','_keySchedule','generateRandomId','focused$','algo','location','_createSocketURL','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','[CollaborationUndoRedoService]','@univerjs-pro/collaboration','_syncEditingCollabCursor','dispose','title','Hasher','/universer-api/uniscript','sequenceExecute','CollaborationSessionService','_unitInfo$','[PendingState]:\x20received\x20acknowledgement.','session.room-cnt-exceeds','UNIVER_DOC','_memberService','permissionRejEvent','getOwnPropertyDescriptor','confirm','COLLAB_WEB_SOCKET_URL_KEY','AwaitingState','padding','objectID','_replayCachedMutations','getInterceptPoints','CollaborationEntity','_status$','_commentService','session.join-failed','_transitionLocked','_remoteChangesetQueue','saveChangeset','ivSize','byteLength','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_socket','_tryReconnect','_iv','_updateStatus','JOIN_ROOM_FULL','1510ISlLOe','socket\x20open.','3SjafVx','onTransformRemoteChangesetByIMECache','/resources','stopTime','_listenToNetworkCondition','kdf','_cipher','capture','getSnapshotAPIPath','LOCAL_CACHE_INTERVAL_KEY','getResourcesRequest','WordArray','YUUMI_SUBSCRIPTION_NOT_FOUND','_clearTimeoutTimer','blockSize','64823JaiULU','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_imageSourceCache','find','HMAC','UNIVER_SHEET','_keyPriorReset','DependentOn','onStarting','isPermissionRej','_minBufferSize','prototype','_authzIoService','SnapshotServerOverHTTPService','_commandService','CHANGESET_REJ','Base','HttpExport','Optional','/universer-api/snapshot/','HEARTBEAT_INTERVAL_KEY','_loadSheet','range','UNIVER_SLIDE','_change$','toLowerCase','body','_transformService','SetSelectionsOperation','randomUUID','session','keySize','_config','HEARTBEAT','_scheduleCollaborationTimeoutTimer','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','CLOSE_ROOM','formatter','getUnit','length','/object','CipherParams','hasOwnProperty','StreamCipher','addImageSourceCache','SHOULD_CLOSE_CONN','[OfflineState]:\x20received\x20changeset.','FETCH_MISSING','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_onOffline','RECV','_incrementRevisionNumber','equals','unit-cache-','_userManagerService','sessionTicket','UnitEmbedded','_transformStack','_entities','onRemoteChangeset','concatMap','authzUrl','Pkcs7','_acknowledgedAwaitingChangeset','SheetPermissionInitController','_loadDoc','SOCKET_FAILED','dispose$','downloadEndpointUrl','IUniverInstanceService','UPDATE_PERMISSION_OBJ','takeUntil','charAt','@univerjs/docs','concat','_getLoginPath','rng','AwaitingWithPendingState','event$','mutations','memberID','updateMember','_retryCount','/fetchmissing?from=','_snapshotService','indexOf','_xformMode','People','UNDEFINED','transformChangesets','setShowComponents','headers','params','/object/','LICENSE_MAX_UNITS_EXCEEDED','getUnitId','UNISCRIPT_RUN','_members','sessionStatus','pauseCollaboration','reduce','error','CommandType','OPTIONAL','unsubscribe','CollaborationController','_clearCollaborationTimeoutTimer','complete','[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.','_roomMembers','localCacheService','_onUserJoin','pluginName','apply','session.room-not-exists','getDeserializedSheetBlock','IImageIoService','&to=','_clearLocalCache','Disposable','objectType','[FetchMissState]','mapDocumentTypeToUniverType','routeKey','ITelemetryService','BufferedBlockAlgorithm','toDisposable','pipe','_hash','_removeRoom','closeSession','_getSessionTicket','key','status','extend','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_key','string','741360OCHwtW','sendChangesetTimeout','replace','fetching\x20missing\x20changesets\x20from\x20','SUBMIT_CHANGESET_TIMEOUT','commentUpdateEvent','_univerInstanceService','startTime','_transformRemoteChangesetByStateCache','enableOfflineEditing','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','OTHER_CLIENTS_EDITING','_onLocalMutation','sin','JOIN_ROOM_NOT_EXISTS','_createHandler','CollaborationUIEventService','UniverCollaborationPlugin','compose','originalMeta','LICENSE_IMPORT_SIZE_EXCEEDED','JOIN_ROOM_FAILED','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','signUrlServerUrl','_revisionService','_transformStateCache','Subject','ISocketService','actions','_clearRedo','loadUnit','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_handler','_mode','SOCKET_FAILED_RETRY','FAIL','initWorkbookPermissionChange','revision','toString','finalize','_initCloseConn','Cipher','disposeWithMe','liveShareNewHost','POST','CONFLICT','[CollaborationState]:\x20apply\x20error!','searchParams','CHANGESET_SHOULD_RETRY','COLLAB_SUBMIT_CHANGESET_URL','63AcotoT','reset','BlockCipher','unpad','waitForRoom$','EmptyMutation','JOIN','createSocket','@univerjs/core','createEncryptor','OTHER_CLIENT_EDITING','_state','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_reverseMap','_timeoutTimer','_invKeySchedule','byteOffset','status$','CBC','every','runId','decryptBlock','_undoRedoService','UNKNOWN_CODE','onTransformIME','&assign=','/allowed','onMissedChangesetFetched','EvpKDF','[DataLoaderService]','_initRequestHeader','getRandomValues','@univerjs/telemetry','error$','_queuedRemoteChangesets','_onRemoteChangeset','editingUnit','_resendWithTimeout','CHANGESET_REVISION_CONFILICT','_getUploadFileURL','INTERNAL_ERROR','_init','YUUMI_URL_COL_OUT_OF_RANGE','APPLY_NON_SEQUENTIAL_REVISION','COLLAB_SUBMIT_CHANGESET_URL_KEY','_createSocket','merge','crypto','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','floor','not_collab','CollaborationSession','eventID','random','WorkbookEditablePermission','getMemberID','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','HEARTBEAT_TIMEOUT_KEY','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','roomInfos','SUBMIT_CHANGESET','HEARTBEAT_TIMEOUT','ICommandService','joinRsp','setWaitCount','COMPRESS_MUTATION_APPLY','has','/universer-api/authz','Hex','enc','disableLocalCache','Univer','_ENC_XFORM_MODE','_doFinalize','_fetchMissChangesets','Latin1','BlockCipherMode','ERROR_IMAGE','resolve','IUndoRedoService','min','_onCombEvent','_sendHeartbeat','rev','UNKNOWN_CMD','/universer-api/user/session-ticket','univer-pro.collaboration-client.network-condition.service','includes','parseChangesetToProtocol','_localeService','JOINING','LIVESHARE_FETCH_OPERATIONS','_onFetchMissResult','onTransformState','getCollabEntity$','loadDoc','collaboration-client.local-cache-service','DocCollaborationEntity','ImageSourceType','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','HTTPRequest','Undefined','selections','_exhaustRemoteChangesetQueue','SNAPSHOT_INVALID_SNAPSHOT','getUnitStatus$','_initMergeInterceptor','snapshot','format','put','init','_process','Inject','ConflictState','_entityInit$','decrypt','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','catch','NO_OTHER_CLIENTS_EDITING','randomBytes','_nDataBytes','charCodeAt','registerHTTPInterceptor','take','TOO_MANY_REQUESTS','slice','LOGIN_URL_KEY','onSyncEditingCollabCursor','RxDisposable','HttpImport','b64DecodeUnicode','COMMENT_UPDATE','onStateChange','auth.needGotoLoginAlert','saveSheetBlock','method','create','HTTPService','telemetry\x20info\x20is\x20not\x20initialized','APPLY_REVISION_CONFILICT','transformMutationsWithChangeset','DataLoaderService','_candidateSocket','avatar','mode','AES','forEach','_initUnitPermissionChange','_submitChangeset','DEFAULT_COLLAB_WEB_SOCKET_URL','Injector','updatePermissionObjEvent','getCollabEntity','entityInit$','awaiting_with_pending','values','message$','UPDATE_CURSOR','entries','getGlobalObject','join','PasswordBasedCipher'];_0x2963=function(){return _0x240fae;};return _0x2963();}var Oe={'exports':{}},pi=Oe[_0x2e58ba(0xd4)],lt;function mi(){return lt||(lt=0x1,function(_0x480be,_0x2c0079){(function(_0x51c2a4,_0x563816,_0x287a4e){var _0x1caf92=_0x2768;_0x480be[_0x1caf92(0xd4)]=_0x563816(ee(),At());}(pi,function(_0x553e8f){var _0x113877=_0x2768;return _0x553e8f['pad'][_0x113877(0x375)]={'pad':function(){},'unpad':function(){}},_0x553e8f['pad'][_0x113877(0x375)];}));}(Oe)),Oe['exports'];}var gi=mi();const Ii=fe(gi);function Ei(_0x113b39,_0x4f164c){var _0x26b708=_0x2e58ba;const _0x3667c3=_0x4f164c-_0x113b39[_0x26b708(0x1d7)]%_0x4f164c,_0x265fee=String[_0x26b708(0x9b)](_0x3667c3)['repeat'](_0x3667c3);return _0x113b39+_0x265fee;}function Ci(_0x4b8a62,_0x5764e1){var _0x1c4d3a=_0x2e58ba;const _0x5b6aa6=Si[_0x1c4d3a(0x2a1)](0x10),_0x43849c=Ei(_0x4b8a62,0x10),_0x2d4677=ai[_0x1c4d3a(0x99)](ui[_0x1c4d3a(0x34f)](_0x43849c),at[_0x1c4d3a(0x34f)](_0x5764e1),{'iv':_0x5b6aa6,'padding':Ii});return _0x5b6aa6[_0x1c4d3a(0x1fa)](_0x2d4677[_0x1c4d3a(0x3b4)])[_0x1c4d3a(0x260)](at);}function Ti(){var _0x820881=_0x2e58ba;const _0x5ba8d5=$t[_0x820881(0x30b)]()[_0x820881(0x3af)];if(_0x5ba8d5){const _0x2269d3={'time':Math[_0x820881(0x29d)](Date['now']()/0x3e8),'domain':location[_0x820881(0xce)]};return Ci(JSON[_0x820881(0x402)](_0x2269d3),_0x5ba8d5);}}var bi=Object[_0x2e58ba(0xf6)],Ri=Object[_0x2e58ba(0x188)],Oi=(_0xa0bec1,_0x50e01e,_0x95a406,_0x1835f6)=>{var _0x41347c=_0x2e58ba;for(var _0x1b65e4=_0x1835f6>0x1?void 0x0:_0x1835f6?Ri(_0x50e01e,_0x95a406):_0x50e01e,_0x4f0ba1=_0xa0bec1[_0x41347c(0x1d7)]-0x1,_0x5f2e41;_0x4f0ba1>=0x0;_0x4f0ba1--)(_0x5f2e41=_0xa0bec1[_0x4f0ba1])&&(_0x1b65e4=(_0x1835f6?_0x5f2e41(_0x50e01e,_0x95a406,_0x1b65e4):_0x5f2e41(_0x1b65e4))||_0x1b65e4);return _0x1835f6&&_0x1b65e4&&bi(_0x50e01e,_0x95a406,_0x1b65e4),_0x1b65e4;},yi=(_0x4c39cf,_0x4d342a)=>(_0x468487,_0x23bcb0)=>_0x4d342a(_0x468487,_0x23bcb0,_0x4c39cf);let Ne=class{constructor(_0x163124){var _0xedea50=_0x2e58ba;this[_0xedea50(0x353)]=_0x163124,this[_0xedea50(0x28a)]();}[_0x2e58ba(0x28a)](){var _0x4456b0=_0x2e58ba;this[_0x4456b0(0x353)][_0x4456b0(0x2e6)]({'interceptor':(_0x18ec7c,_0x141684)=>{var _0x28817c=_0x4456b0;const _0x2ec967=_0x18ec7c[_0x28817c(0x20b)],_0x52c9e0=Ti();return _0x52c9e0&&_0x2ec967['set'](_0x28817c(0xf2),_0x52c9e0),_0x141684(_0x18ec7c);}});}};Ne=Oi([yi(0x0,a[_0x2e58ba(0x2dc)](q[_0x2e58ba(0x2f5)]))],Ne);var Ni=Object[_0x2e58ba(0xf6)],Ui=Object['getOwnPropertyDescriptor'],Pi=(_0x783991,_0x38176b,_0xa990cf,_0x1c1362)=>{for(var _0x2fc5bd=_0x1c1362>0x1?void 0x0:_0x1c1362?Ui(_0x38176b,_0xa990cf):_0x38176b,_0x56db0a=_0x783991['length']-0x1,_0x183cca;_0x56db0a>=0x0;_0x56db0a--)(_0x183cca=_0x783991[_0x56db0a])&&(_0x2fc5bd=(_0x1c1362?_0x183cca(_0x38176b,_0xa990cf,_0x2fc5bd):_0x183cca(_0x2fc5bd))||_0x2fc5bd);return _0x1c1362&&_0x2fc5bd&&Ni(_0x38176b,_0xa990cf,_0x2fc5bd),_0x2fc5bd;},Me=(_0x13eff3,_0x2bb6c6)=>(_0x5b0f28,_0x359811)=>_0x2bb6c6(_0x5b0f28,_0x359811,_0x13eff3);exports[_0x2e58ba(0x2f9)]=class extends a['RxDisposable']{constructor(_0x5b730f,_0x25eb45,_0x2cd71a){var _0x8419d4=_0x2e58ba;super(),D(this,_0x8419d4(0x182),new H[(_0x8419d4(0xb9))](null)),D(this,'unitInfo$',this[_0x8419d4(0x182)][_0x8419d4(0x407)]()),(this[_0x8419d4(0x32a)]=_0x5b730f,this[_0x8419d4(0x204)]=_0x25eb45,this['_localCacheService']=_0x2cd71a);}async[_0x2e58ba(0x258)](_0x2d6d90,_0x8ca89f,_0x4879f4){var _0x2e9dc6=_0x2e58ba;this[_0x2e9dc6(0x182)][_0x2e9dc6(0x13e)]({'unitId':_0x2d6d90,'type':_0x8ca89f,'subUnitId':_0x4879f4});let _0x3d0f70=null;switch(_0x8ca89f){case Z[_0x2e9dc6(0x1b5)]:{_0x3d0f70=await this[_0x2e9dc6(0x1c5)](_0x2d6d90);break;}case Z[_0x2e9dc6(0x185)]:{_0x3d0f70=await this['_loadDoc'](_0x2d6d90);break;}default:{this[_0x2e9dc6(0x32a)]['error'](_0x2e9dc6(0x289),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x3d0f70;}async[_0x2e58ba(0x1c5)](_0x1c398c){var _0x24a6e2=_0x2e58ba,_0x5aa515;let _0x1d2ba9=0x0;const _0xc2da56=await((_0x5aa515=this[_0x24a6e2(0x3d7)])==null?void 0x0:_0x5aa515[_0x24a6e2(0x40e)](_0x1c398c));return _0xc2da56&&(_0xc2da56[_0x24a6e2(0x112)]||_0xc2da56[_0x24a6e2(0x1ff)][_0x24a6e2(0x1d7)]!==0x0)&&(_0x1d2ba9=_0xc2da56[_0x24a6e2(0x2bf)]),_0x1d2ba9===0x0&&this[_0x24a6e2(0x32a)][_0x24a6e2(0x330)](_0x24a6e2(0x289),_0x24a6e2(0x237)),this['_snapshotService'][_0x24a6e2(0x385)](_0x1c398c,_0x1d2ba9);}async[_0x2e58ba(0x1f1)](_0x346f58){var _0x1a57d4=_0x2e58ba,_0x10381e;let _0x322d10=0x0;const _0x2e63cc=await((_0x10381e=this['_localCacheService'])==null?void 0x0:_0x10381e[_0x1a57d4(0x40e)](_0x346f58));return _0x2e63cc&&(_0x2e63cc['awaitingChangeset']||_0x2e63cc[_0x1a57d4(0x1ff)]['length']!==0x0)&&(_0x322d10=_0x2e63cc[_0x1a57d4(0x2bf)]),_0x322d10===0x0&&this['_logService'][_0x1a57d4(0x330)](_0x1a57d4(0x289),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1a57d4(0x204)][_0x1a57d4(0x2cb)](_0x346f58,_0x322d10);}},exports['DataLoaderService']=Pi([Me(0x0,a['ILogService']),Me(0x1,a[_0x2e58ba(0x2dc)](m['SnapshotService'])),Me(0x2,a['Optional'](z))],exports[_0x2e58ba(0x2f9)]);var Di=Object[_0x2e58ba(0xf6)],wi=Object[_0x2e58ba(0x188)],Ai=(_0xed88c4,_0x1e884c,_0xf8cdcd,_0x23bf12)=>{var _0x221a76=_0x2e58ba;for(var _0x1b634f=_0x23bf12>0x1?void 0x0:_0x23bf12?wi(_0x1e884c,_0xf8cdcd):_0x1e884c,_0x4a9f73=_0xed88c4[_0x221a76(0x1d7)]-0x1,_0x4cd30f;_0x4a9f73>=0x0;_0x4a9f73--)(_0x4cd30f=_0xed88c4[_0x4a9f73])&&(_0x1b634f=(_0x23bf12?_0x4cd30f(_0x1e884c,_0xf8cdcd,_0x1b634f):_0x4cd30f(_0x1b634f))||_0x1b634f);return _0x23bf12&&_0x1b634f&&Di(_0x1e884c,_0xf8cdcd,_0x1b634f),_0x1b634f;},xe=(_0x43ef61,_0x991424)=>(_0x5b4994,_0x24f59f)=>_0x991424(_0x5b4994,_0x24f59f,_0x43ef61);const Li=[_0x2e58ba(0xb8),'image/jpeg','image/jpg',_0x2e58ba(0x11f),_0x2e58ba(0x3c9)],Mi=0x5*0x400*0x400,xi=_0x2e58ba(0x380),ji='/universer-api/stream/file/upload',$i='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Hi=_0x2e58ba(0x3a7);exports['CollaborationImageIoService']=class{constructor(_0x545efa,_0x5955ac,_0x13fcd5){var _0x3bc1dd=_0x2e58ba;D(this,_0x3bc1dd(0x410),0x0),D(this,_0x3bc1dd(0x1c8),new H[(_0x3bc1dd(0x254))]()),D(this,_0x3bc1dd(0x316),this['_change$']),D(this,_0x3bc1dd(0x1b2),new Map()),(this['_httpService']=_0x545efa,this['_configService']=_0x5955ac,this['_univerInstanceService']=_0x13fcd5);}[_0x2e58ba(0x2ac)](_0x33824d){var _0x4c5531=_0x2e58ba;this[_0x4c5531(0x410)]=_0x33824d,this[_0x4c5531(0x1c8)][_0x4c5531(0x13e)](_0x33824d);}[_0x2e58ba(0x3ec)](_0x500a0c,_0x303119){var _0xe38201=_0x2e58ba;if(_0x303119===X[_0xe38201(0x2ce)][_0xe38201(0x366)]){const _0x157328=new Image();return _0x157328['src']=_0x500a0c,_0x157328;}return this[_0xe38201(0x1b2)][_0xe38201(0x357)](_0x500a0c);}[_0x2e58ba(0x1dc)](_0x1cc88e,_0x2108d9,_0x5d4ed6){var _0x4191c1=_0x2e58ba;_0x2108d9===X['ImageSourceType'][_0x4191c1(0x366)]||_0x5d4ed6==null||this[_0x4191c1(0x1b2)][_0x4191c1(0x10b)](_0x1cc88e,_0x5d4ed6);}async['getImage'](_0x4ef9be){var _0x3405ae=_0x2e58ba;try{const _0x36ba88=this['_replaceFileID'](this[_0x3405ae(0x414)](),''+_0x4ef9be),_0x2a1963=(await this['_httpService'][_0x3405ae(0x357)](_0x36ba88))['body'];if(_0x2a1963['error']&&_0x2a1963[_0x3405ae(0x215)]['code']===Tt['OK']){const _0x22ab03=new URL(_0x2a1963['url'],this[_0x3405ae(0x36c)]())[_0x3405ae(0x260)]();return Promise[_0x3405ae(0x2ba)](_0x22ab03);}return Promise[_0x3405ae(0xe1)](_0x2a1963[_0x3405ae(0x215)]);}catch(_0x3e50a9){return Promise[_0x3405ae(0xe1)](_0x3e50a9);}}async['saveImage'](_0x1c39a5){var _0x4b48b4=_0x2e58ba;let _0x68880d='';if(!Li[_0x4b48b4(0x2c3)](_0x1c39a5[_0x4b48b4(0x37d)]))return this[_0x4b48b4(0x3df)](),Promise[_0x4b48b4(0xe1)](new Error(X['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x1c39a5[_0x4b48b4(0x3cd)]>Mi)return this[_0x4b48b4(0x3df)](),Promise['reject'](new Error(X[_0x4b48b4(0x15b)][_0x4b48b4(0x10a)]));try{const _0x2c677b=new FormData();_0x2c677b[_0x4b48b4(0x323)](_0x4b48b4(0x3ad),_0x1c39a5);const _0x58b7cd=this['_univerInstanceService'][_0x4b48b4(0x412)](),_0x29a3f4=_0x58b7cd==null?void 0x0:_0x58b7cd[_0x4b48b4(0x20f)]();if(!_0x29a3f4)throw new Error('unitId\x20is\x20not\x20found');const _0x3b048d=this['_getUploadFileURL']()+_0x4b48b4(0x3bc)+_0x1c39a5[_0x4b48b4(0x3cd)][_0x4b48b4(0x260)]()+'&source='+bt[_0x4b48b4(0x1e8)]+_0x4b48b4(0x285)+encodeURIComponent(_0x29a3f4),_0x130d7b=await(await fetch(_0x3b048d,{'method':_0x4b48b4(0x266),'body':_0x2c677b}))[_0x4b48b4(0x3fc)]();if(typeof _0x130d7b[_0x4b48b4(0xbe)]!=_0x4b48b4(0x239))return this['_decreaseWaiting'](),Promise[_0x4b48b4(0xe1)](new Error(X['ImageUploadStatusType'][_0x4b48b4(0x2b9)]));_0x68880d=_0x130d7b[_0x4b48b4(0xbe)];}catch{return this[_0x4b48b4(0x3df)](),Promise[_0x4b48b4(0xe1)](new Error(X[_0x4b48b4(0x15b)]['ERROR_IMAGE']));}return new Promise((_0x1a7973,_0x26571d)=>{var _0x3ee173=_0x4b48b4;const _0x289aa9=new FileReader();_0x289aa9[_0x3ee173(0x334)](_0x1c39a5),_0x289aa9[_0x3ee173(0x336)]=_0x466663=>{var _0x1479d5=_0x3ee173,_0x2dff04;const _0x55701d=(_0x2dff04=_0x466663['target'])==null?void 0x0:_0x2dff04['result'];if(_0x55701d==null){this[_0x1479d5(0x3df)](),_0x26571d(new Error(X[_0x1479d5(0x15b)][_0x1479d5(0x2b9)]));return;}const _0x2e9401=a[_0x1479d5(0x165)][_0x1479d5(0x173)](0x6);_0x1a7973({'imageId':_0x2e9401,'imageSourceType':X[_0x1479d5(0x2ce)]['UUID'],'source':_0x68880d,'base64Cache':_0x55701d,'status':X[_0x1479d5(0x15b)][_0x1479d5(0xaa)]}),this[_0x1479d5(0x3df)]();};});}[_0x2e58ba(0x293)](){var _0x5707d9=_0x2e58ba,_0x483663,_0x4d9f4a;const _0x4427ce=this[_0x5707d9(0xa1)][_0x5707d9(0x3d6)](xi),_0x456038=this[_0x5707d9(0xa1)][_0x5707d9(0x3d6)](Y);return(_0x4d9f4a=(_0x483663=_0x456038==null?void 0x0:_0x456038['uploadFileServerUrl'])!=null?_0x483663:_0x4427ce)!=null?_0x4d9f4a:ji;}[_0x2e58ba(0x414)](){var _0x2da7e9=_0x2e58ba,_0x1393e1,_0x4ee3df;const _0x130d7f=this[_0x2da7e9(0xa1)][_0x2da7e9(0x3d6)]($i),_0xfd846a=this['_configService'][_0x2da7e9(0x3d6)](Y);return(_0x4ee3df=(_0x1393e1=_0xfd846a==null?void 0x0:_0xfd846a[_0x2da7e9(0x251)])!=null?_0x1393e1:_0x130d7f)!=null?_0x4ee3df:Hi;}[_0x2e58ba(0x36c)](){var _0x4149d0=_0x2e58ba,_0x4073cc;const _0x200de2=this[_0x4149d0(0xa1)]['getConfig'](Y);return(_0x4073cc=_0x200de2==null?void 0x0:_0x200de2[_0x4149d0(0x1f4)])!=null?_0x4073cc:location['origin'];}['_replaceFileID'](_0x11e47e,_0x5d0f3f){var _0x5373bf=_0x2e58ba;return _0x11e47e[_0x5373bf(0x23c)]('{fileID}',_0x5d0f3f);}['_decreaseWaiting'](){var _0xef4c3f=_0x2e58ba;this[_0xef4c3f(0x410)]-=0x1,this[_0xef4c3f(0x1c8)][_0xef4c3f(0x13e)](this[_0xef4c3f(0x410)]);}},exports[_0x2e58ba(0xcf)]=Ai([xe(0x0,a[_0x2e58ba(0x2dc)](q[_0x2e58ba(0x2f5)])),xe(0x1,a[_0x2e58ba(0x12d)]),xe(0x2,a[_0x2e58ba(0x2dc)](a['IUniverInstanceService']))],exports[_0x2e58ba(0xcf)]);var ki=Object['defineProperty'],Bi=Object[_0x2e58ba(0x188)],Fi=(_0x4eb35a,_0x263a1d,_0xd813a7,_0x1967fc)=>{var _0x5a54a5=_0x2e58ba;for(var _0x5b42c1=_0x1967fc>0x1?void 0x0:_0x1967fc?Bi(_0x263a1d,_0xd813a7):_0x263a1d,_0x4a5138=_0x4eb35a[_0x5a54a5(0x1d7)]-0x1,_0x48c508;_0x4a5138>=0x0;_0x4a5138--)(_0x48c508=_0x4eb35a[_0x4a5138])&&(_0x5b42c1=(_0x1967fc?_0x48c508(_0x263a1d,_0xd813a7,_0x5b42c1):_0x48c508(_0x5b42c1))||_0x5b42c1);return _0x1967fc&&_0x5b42c1&&ki(_0x263a1d,_0xd813a7,_0x5b42c1),_0x5b42c1;},_t=(_0x369bb1,_0x58d94b)=>(_0xdb3280,_0xe1791a)=>_0x58d94b(_0xdb3280,_0xe1791a,_0x369bb1);const Wi=_0x2e58ba(0x2af);exports[_0x2e58ba(0x11a)]=class{constructor(_0x4b5bac,_0x3eb1e3){var _0x3f52b5=_0x2e58ba;this[_0x3f52b5(0xa1)]=_0x4b5bac,this[_0x3f52b5(0x39e)]=_0x3eb1e3;}[_0x2e58ba(0x103)](){var _0x5f1a7f=_0x2e58ba,_0x333062,_0x76ca70;const _0x1be9cb=this['_configService']['getConfig'](Ve),_0x14ad97=this[_0x5f1a7f(0xa1)]['getConfig'](Y);return(_0x76ca70=(_0x333062=_0x14ad97==null?void 0x0:_0x14ad97[_0x5f1a7f(0x1ed)])!=null?_0x333062:_0x1be9cb)!=null?_0x76ca70:Wi;}async['list'](_0x261f1a){var _0x571eb4=_0x2e58ba;const _0x1833c1=this['_getAPIPrefixPath']()+_0x571eb4(0x3f7);return{'list':[{'title':_0x571eb4(0x207),'mentions':(await this[_0x571eb4(0x39e)][_0x571eb4(0x357)](_0x1833c1,{'params':{'objectID':_0x261f1a[_0x571eb4(0x39c)],'unitID':_0x261f1a[_0x571eb4(0x39c)]}}))[_0x571eb4(0x1ca)]['collaborators'][_0x571eb4(0x39f)](_0x5c440e=>({'objectId':_0x5c440e['id'],'name':_0x5c440e['subject'][_0x571eb4(0x109)],'metadata':{'icon':_0x5c440e[_0x571eb4(0x153)][_0x571eb4(0x2fb)]},'label':_0x5c440e['subject'][_0x571eb4(0x109)],'objectType':a[_0x571eb4(0x365)][_0x571eb4(0x337)]})),'metadata':{},'type':a[_0x571eb4(0x365)][_0x571eb4(0x337)]}]};}},exports[_0x2e58ba(0x11a)]=Fi([_t(0x0,a[_0x2e58ba(0x2dc)](a[_0x2e58ba(0x12d)])),_t(0x1,a['Inject'](q[_0x2e58ba(0x2f5)]))],exports['MentionIoHttpService']);var Gi=Object[_0x2e58ba(0xf6)],Vi=Object[_0x2e58ba(0x188)],Ki=(_0x252b8c,_0xaad658,_0x31591a,_0x58fca7)=>{for(var _0x1a19df=_0x58fca7>0x1?void 0x0:_0x58fca7?Vi(_0xaad658,_0x31591a):_0xaad658,_0x1d422f=_0x252b8c['length']-0x1,_0x1179a3;_0x1d422f>=0x0;_0x1d422f--)(_0x1179a3=_0x252b8c[_0x1d422f])&&(_0x1a19df=(_0x58fca7?_0x1179a3(_0xaad658,_0x31591a,_0x1a19df):_0x1179a3(_0x1a19df))||_0x1a19df);return _0x58fca7&&_0x1a19df&&Gi(_0xaad658,_0x31591a,_0x1a19df),_0x1a19df;},ce=(_0x31d158,_0x3d26db)=>(_0x2f7925,_0x5124ee)=>_0x3d26db(_0x2f7925,_0x5124ee,_0x31d158);let Ue=class extends a[_0x2e58ba(0x2ec)]{constructor(_0x42cc4c,_0x2fa5b8,_0x3325fe,_0x2ebcdb,_0x3d6613,_0x1247e1,_0x3939c6){var _0x419091=_0x2e58ba;super(),this[_0x419091(0x386)]=_0x42cc4c,this[_0x419091(0x240)]=_0x2fa5b8,this[_0x419091(0x16c)]=_0x3325fe,this[_0x419091(0x131)]=_0x2ebcdb,this[_0x419091(0x3fd)]=_0x3d6613,this[_0x419091(0x1bc)]=_0x1247e1,this['_undoRedoService']=_0x3939c6,this[_0x419091(0x2ff)](),this[_0x419091(0x262)]();}[_0x2e58ba(0x262)](){var _0x1274fa=_0x2e58ba;const _0x1acb5e=async _0x3f9ec3=>{var _0x2a2930=_0x2768;(await this[_0x2a2930(0x131)]['requireSession'](_0x3f9ec3))[_0x2a2930(0x1fe)][_0x2a2930(0x22f)](W[_0x2a2930(0x3fe)](_0x65e0ff=>_0x65e0ff[_0x2a2930(0x2a0)]===m['CollaborationEvent'][_0x2a2930(0x1dd)]),W[_0x2a2930(0x1f7)](this['dispose$']))['subscribe'](_0x1db131=>{var _0x34d344=_0x2a2930;const _0x38725a=_0x1db131,{reason:_0x459b11}=_0x38725a[_0x34d344(0xa8)];this[_0x34d344(0x3fd)][_0x34d344(0xb4)]({'id':Q['CLOSE_ROOM'],'data':_0x459b11}),this[_0x34d344(0x16c)][_0x34d344(0x340)](new J[(_0x34d344(0x2a2))](_0x3f9ec3)['id'],!0x1),this[_0x34d344(0x131)][_0x34d344(0x232)](_0x3f9ec3);});};H[_0x1274fa(0x29a)](this['_univerInstanceService'][_0x1274fa(0x3ce)](a[_0x1274fa(0x32f)][_0x1274fa(0x1b5)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x1274fa(0x185)]))[_0x1274fa(0x22f)](W[_0x1274fa(0x39f)](_0x260556=>_0x260556['getUnitId']()),W[_0x1274fa(0x3fe)](_0x1e222c=>!a['isInternalEditorID'](_0x1e222c)),W['takeUntil'](this['dispose$']))[_0x1274fa(0x355)](_0x2e5170=>{_0x1acb5e(_0x2e5170);});}[_0x2e58ba(0x2ff)](){var _0xfa127b=_0x2e58ba;const _0x4313f0=async _0x31bac2=>{var _0x208687=_0x2768;const _0x50bbd3=await this[_0x208687(0x131)][_0x208687(0x388)](_0x31bac2),_0x4f5271=this[_0x208687(0x386)][_0x208687(0x357)](J[_0x208687(0x1f0)]);_0x50bbd3[_0x208687(0x1fe)]['pipe'](W[_0x208687(0x3fe)](_0x14e957=>_0x14e957[_0x208687(0x2a0)]===m[_0x208687(0x324)][_0x208687(0x1f6)]),W[_0x208687(0x1f7)](this['dispose$']))['subscribe'](_0x1493e8=>{var _0x5e13e5=_0x208687;const _0x42006e=_0x1493e8,{objectId:_0x78d453}=_0x42006e[_0x5e13e5(0xa8)];_0x78d453===_0x31bac2?_0x4f5271[_0x5e13e5(0x25e)](_0x31bac2):_0x4f5271[_0x5e13e5(0x3b3)](_0x31bac2,_0x78d453);});};H[_0xfa127b(0x29a)](this[_0xfa127b(0x240)][_0xfa127b(0x3ce)](a['UniverInstanceType'][_0xfa127b(0x1b5)]),this['_univerInstanceService'][_0xfa127b(0x3ce)](a[_0xfa127b(0x32f)][_0xfa127b(0x185)]))[_0xfa127b(0x22f)](W['map'](_0x4c4af2=>_0x4c4af2[_0xfa127b(0x20f)]()),W[_0xfa127b(0x3fe)](_0x40fa51=>!a[_0xfa127b(0x163)](_0x40fa51)),W[_0xfa127b(0x1f7)](this[_0xfa127b(0x1f3)]))[_0xfa127b(0x355)](_0x52fb1e=>{_0x4313f0(_0x52fb1e);});}};Ue=Ki([ce(0x0,a['Inject'](a[_0x2e58ba(0x302)])),ce(0x1,a['IUniverInstanceService']),ce(0x2,a[_0x2e58ba(0x378)]),ce(0x3,a[_0x2e58ba(0x2dc)](exports[_0x2e58ba(0x181)])),ce(0x4,a[_0x2e58ba(0x2dc)](te)),ce(0x5,a['IAuthzIoService']),ce(0x6,a[_0x2e58ba(0x2bb)])],Ue);var Yi=Object['defineProperty'],qi=Object[_0x2e58ba(0x188)],zi=(_0x3f63f2,_0x15496c,_0xc45a64,_0xb55fd4)=>{for(var _0x4af465=_0xb55fd4>0x1?void 0x0:_0xb55fd4?qi(_0x15496c,_0xc45a64):_0x15496c,_0x58e143=_0x3f63f2['length']-0x1,_0x908bd3;_0x58e143>=0x0;_0x58e143--)(_0x908bd3=_0x3f63f2[_0x58e143])&&(_0x4af465=(_0xb55fd4?_0x908bd3(_0x15496c,_0xc45a64,_0x4af465):_0x908bd3(_0x4af465))||_0x4af465);return _0xb55fd4&&_0x4af465&&Yi(_0x15496c,_0xc45a64,_0x4af465),_0x4af465;},ut=(_0x376ea7,_0x4bd28d)=>(_0x480861,_0x29ef44)=>_0x4bd28d(_0x480861,_0x29ef44,_0x376ea7);exports['SnapshotServerOverHTTPService']=class{constructor(_0x2b0012,_0x2a5a24){var _0x2fdb1d=_0x2e58ba;this[_0x2fdb1d(0xa1)]=_0x2b0012,this[_0x2fdb1d(0x353)]=_0x2a5a24;}async[_0x2e58ba(0x384)](_0x39fdc8,_0x117c9d){var _0x21aa75=_0x2e58ba,_0x2ac864;const {unitID:_0x8f01a0,type:_0x58d87c,revision:_0x575a4c=0x0}=_0x117c9d,_0x37cbba=this[_0x21aa75(0x1a9)]()+'/'+_0x58d87c+_0x21aa75(0x370)+_0x8f01a0+_0x21aa75(0x123)+_0x575a4c,_0x41f73d=(await this[_0x21aa75(0x353)]['get'](_0x37cbba))[_0x21aa75(0x1ca)],_0x28a453=(_0x2ac864=_0x41f73d[_0x21aa75(0x2d7)])==null?void 0x0:_0x2ac864[_0x21aa75(0x361)];if(_0x28a453){const _0x11bc23=_0x28a453==null?void 0x0:_0x28a453['originalMeta'],_0x4026be=m['textEncoder'][_0x21aa75(0x9e)](m[_0x21aa75(0x2ee)](_0x11bc23));_0x28a453[_0x21aa75(0x24d)]=_0x4026be,Object[_0x21aa75(0x30a)](_0x28a453[_0x21aa75(0x14c)])[_0x21aa75(0x2fe)](([,_0x3b7903])=>{var _0x1e5ccf=_0x21aa75;const _0x51d408=_0x3b7903[_0x1e5ccf(0x24d)],_0x34e7ca=m[_0x1e5ccf(0x3d5)][_0x1e5ccf(0x9e)](m[_0x1e5ccf(0x2ee)](_0x51d408));_0x3b7903[_0x1e5ccf(0x24d)]=_0x34e7ca;});}return _0x41f73d;}async['getSheetBlock'](_0x373b3c,_0xf146aa){var _0x324a17=_0x2e58ba;const {unitID:_0x3b4d3d,type:_0x1770e8,blockID:_0x487c79}=_0xf146aa,_0x52fd81=this[_0x324a17(0x3e9)]()+'/'+_0x1770e8+_0x324a17(0x370)+_0x3b4d3d+'/block/'+_0x487c79;return(await this[_0x324a17(0x353)]['get'](_0x52fd81))[_0x324a17(0x1ca)];}async[_0x2e58ba(0x223)](_0x14c6d0,_0x28618f){var _0x47a3fa=_0x2e58ba;const {unitID:_0x4d5e90,type:_0x28d687,blockID:_0x3f5392}=_0x28618f,_0x4bb5f6=this[_0x47a3fa(0x3e9)]()+_0x47a3fa(0x3c4)+_0x28d687+'/unit/'+_0x4d5e90+_0x47a3fa(0x3c4)+_0x3f5392;return(await this[_0x47a3fa(0x353)][_0x47a3fa(0x357)](_0x4bb5f6))[_0x47a3fa(0x1ca)];}async[_0x2e58ba(0x3c5)](_0x47bbca,_0x273747){var _0x754109=_0x2e58ba;const {unitID:_0x1abae6,type:_0x2d50ac,from:_0x4230c5,to:_0x28aa7f}=_0x273747,_0x3a9fad=this[_0x754109(0x3e9)]()+'/'+_0x2d50ac+'/unit/'+_0x1abae6+_0x754109(0x203)+_0x4230c5+_0x754109(0x225)+_0x28aa7f;return(await this['_httpService']['get'](_0x3a9fad))[_0x754109(0x1ca)];}[_0x2e58ba(0x1a9)](){var _0x3d114a=_0x2e58ba,_0x3c43ef;return(_0x3c43ef=this[_0x3d114a(0xa1)][_0x3d114a(0x3d6)](ft))!=null?_0x3c43ef:this[_0x3d114a(0x3e9)]();}[_0x2e58ba(0x3e9)](){var _0x4b3839=_0x2e58ba,_0x196b9a,_0x4a2bed;const _0x1997f0=this[_0x4b3839(0xa1)][_0x4b3839(0x3d6)](vt),_0x3e8861=this['_configService'][_0x4b3839(0x3d6)](Y);return(_0x4a2bed=(_0x196b9a=_0x3e8861==null?void 0x0:_0x3e8861[_0x4b3839(0x347)])!=null?_0x196b9a:_0x1997f0)!=null?_0x4a2bed:Ht;}async[_0x2e58ba(0x1ab)](_0xcd3e55,_0x5666c7){var _0x4169d4=_0x2e58ba;const _0x476d0a=_0x4169d4(0x1c3)+_0x5666c7[_0x4169d4(0x37d)]+_0x4169d4(0x370)+_0x5666c7[_0x4169d4(0x16e)]+_0x4169d4(0x1a3);return(await this[_0x4169d4(0x353)][_0x4169d4(0x357)](_0x476d0a,{'params':{'resourceId':JSON[_0x4169d4(0x402)](_0x5666c7[_0x4169d4(0x15d)])}}))[_0x4169d4(0x1ca)];}['saveSnapshot'](){var _0x13a48c=_0x2e58ba;throw new Error(_0x13a48c(0x2e0));}[_0x2e58ba(0x2f2)](){var _0x1369ee=_0x2e58ba;throw new Error(_0x1369ee(0x2e0));}[_0x2e58ba(0x196)](){var _0x4afa5d=_0x2e58ba;throw new Error(_0x4afa5d(0x2e0));}[_0x2e58ba(0x164)](){var _0x4db366=_0x2e58ba;throw new Error(_0x4db366(0x2e0));}[_0x2e58ba(0x3ff)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x2e58ba(0x1bd)]=zi([ut(0x0,a[_0x2e58ba(0x12d)]),ut(0x1,a[_0x2e58ba(0x2dc)](q['HTTPService']))],exports[_0x2e58ba(0x1bd)]);var Ji=Object['defineProperty'],Xi=Object[_0x2e58ba(0x188)],Zi=(_0x51baec,_0x35f114,_0x31e342,_0x4f7fb2)=>{for(var _0x423f0a=_0x4f7fb2>0x1?void 0x0:_0x4f7fb2?Xi(_0x35f114,_0x31e342):_0x35f114,_0x136aab=_0x51baec['length']-0x1,_0x4529ff;_0x136aab>=0x0;_0x136aab--)(_0x4529ff=_0x51baec[_0x136aab])&&(_0x423f0a=(_0x4f7fb2?_0x4529ff(_0x35f114,_0x31e342,_0x423f0a):_0x4529ff(_0x423f0a))||_0x423f0a);return _0x4f7fb2&&_0x423f0a&&Ji(_0x35f114,_0x31e342,_0x423f0a),_0x423f0a;},de=(_0x105868,_0x3a68bf)=>(_0x594589,_0x5aae91)=>_0x3a68bf(_0x594589,_0x5aae91,_0x105868);exports[_0x2e58ba(0xc1)]=class extends a[_0x2e58ba(0x3a2)]{constructor(_0x5f378e,_0x15f1c4,_0x3226af,_0x2ad892,_0x1dd31b){var _0xc018a1=_0x2e58ba;super(_0x5f378e,_0x15f1c4,_0x3226af),this[_0xc018a1(0x1cb)]=_0x2ad892,this[_0xc018a1(0x32a)]=_0x1dd31b;}[_0x2e58ba(0xf9)](_0x36ced6,_0x466d1e){var _0x54e51b=_0x2e58ba;const _0x34f5ca=this[_0x54e51b(0xed)](_0x36ced6);if(_0x34f5ca)try{const _0x4b8e1f=this['_transformStack'](_0x34f5ca,_0x466d1e);this['_substituteUndoStack'](_0x36ced6,_0x4b8e1f);}catch(_0x23c246){this[_0x54e51b(0x32a)][_0x54e51b(0x215)](_0x54e51b(0x179),_0x23c246),this['_clearUndo'](_0x36ced6);}const _0x5e4c98=this[_0x54e51b(0x10f)](_0x36ced6);if(_0x5e4c98)try{const _0x1dc276=this[_0x54e51b(0x1e9)](_0x5e4c98,_0x466d1e);this[_0x54e51b(0x312)](_0x36ced6,_0x1dc276);}catch(_0x445203){this[_0x54e51b(0x32a)][_0x54e51b(0x215)](_0x445203),this[_0x54e51b(0x257)](_0x36ced6);}}[_0x2e58ba(0x3a0)](_0x4a016f){var _0x364e58=_0x2e58ba;const _0x4b5aec=this[_0x364e58(0xed)](_0x4a016f);_0x4b5aec&&(_0x4b5aec[_0x364e58(0x1d7)]=0x0,this[_0x364e58(0x19d)]());}['_clearRedo'](_0x5e4360){var _0x3bbe36=_0x2e58ba;const _0x4208a7=this[_0x3bbe36(0x10f)](_0x5e4360);_0x4208a7&&(_0x4208a7[_0x3bbe36(0x1d7)]=0x0,this[_0x3bbe36(0x19d)]());}[_0x2e58ba(0x171)](_0x10d0f4,_0x187c87){var _0x2046c4=_0x2e58ba;this['_undoStacks'][_0x2046c4(0x10b)](_0x10d0f4,_0x187c87),this[_0x2046c4(0x19d)]();}[_0x2e58ba(0x312)](_0x4556b0,_0xb8b3c4){var _0x620246=_0x2e58ba;this[_0x620246(0x399)][_0x620246(0x10b)](_0x4556b0,_0xb8b3c4),this[_0x620246(0x19d)]();}[_0x2e58ba(0x1e9)](_0x5239e2,_0x3af87b){var _0x24797f=_0x2e58ba;const _0x37952b=[];let _0x13c924=_0x3af87b,_0x19618c=_0x3af87b;for(let _0x3f9249=_0x5239e2['length']-0x1;_0x3f9249>=0x0;_0x3f9249--){const {unitID:_0x2f95d7,undoMutations:_0x565dc9,redoMutations:_0x12a532}=_0x5239e2[_0x3f9249],_0x9b0bac=this['_transformService']['transformMutationsWithChangeset'](_0x13c924,_0x565dc9),_0x2c2fd4=this[_0x24797f(0x1cb)]['transformMutationsWithChangeset'](_0x19618c,_0x12a532);if(m[_0x24797f(0x348)](_0x9b0bac)||m[_0x24797f(0x348)](_0x2c2fd4)){this[_0x24797f(0x32a)][_0x24797f(0x215)](_0x24797f(0x179),'transformStack\x20failed!',_0x9b0bac,_0x2c2fd4);break;}_0x13c924=_0x9b0bac[_0x24797f(0x39b)],_0x19618c=_0x2c2fd4['c1Prime'],_0x37952b['push']({'unitID':_0x2f95d7,'undoMutations':_0x9b0bac[_0x24797f(0xdc)],'redoMutations':_0x2c2fd4[_0x24797f(0xdc)]});}return _0x37952b[_0x24797f(0xc7)]();}},exports['CollaborativeUndoRedoService']=Zi([de(0x0,a[_0x2e58ba(0x1f5)]),de(0x1,a[_0x2e58ba(0x2aa)]),de(0x2,a['IContextService']),de(0x3,m[_0x2e58ba(0x343)]),de(0x4,a['ILogService'])],exports[_0x2e58ba(0xc1)]);var Lt=Object[_0x2e58ba(0xf6)],Qi=Object[_0x2e58ba(0x188)],er=(_0x597ba1,_0x4e954f,_0x1ccd2b)=>_0x4e954f in _0x597ba1?Lt(_0x597ba1,_0x4e954f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ccd2b}):_0x597ba1[_0x4e954f]=_0x1ccd2b,tr=(_0x45cf9e,_0x30b9e2,_0x172d49,_0x243ec4)=>{var _0x585e37=_0x2e58ba;for(var _0x433991=_0x243ec4>0x1?void 0x0:_0x243ec4?Qi(_0x30b9e2,_0x172d49):_0x30b9e2,_0x5b8e97=_0x45cf9e[_0x585e37(0x1d7)]-0x1,_0x20ae2b;_0x5b8e97>=0x0;_0x5b8e97--)(_0x20ae2b=_0x45cf9e[_0x5b8e97])&&(_0x433991=(_0x243ec4?_0x20ae2b(_0x30b9e2,_0x172d49,_0x433991):_0x20ae2b(_0x433991))||_0x433991);return _0x243ec4&&_0x433991&&Lt(_0x30b9e2,_0x172d49,_0x433991),_0x433991;},je=(_0x24057a,_0x369e2f)=>(_0x586fcd,_0x2193cc)=>_0x369e2f(_0x586fcd,_0x2193cc,_0x24057a),nr=(_0x37918f,_0x440da6,_0x38b8a8)=>er(_0x37918f,_0x440da6+'',_0x38b8a8);const ir='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x2e58ba(0x127)]=class extends a[_0x2e58ba(0x315)]{constructor(_0x1f3f17=Ke,_0x25eb3f,_0x305888,_0x285232){var _0x10e394=_0x2e58ba;super(),this[_0x10e394(0x1d0)]=_0x1f3f17,this[_0x10e394(0x32a)]=_0x25eb3f,this[_0x10e394(0x386)]=_0x305888,this[_0x10e394(0xa1)]=_0x285232;const {..._0x47cf45}=a[_0x10e394(0x29a)]({},Ke,this[_0x10e394(0x1d0)]);this[_0x10e394(0xa1)][_0x10e394(0x124)](Y,_0x47cf45);}[_0x2e58ba(0x1b8)](){var _0x2abc53=_0x2e58ba;this[_0x2abc53(0x3a5)](),this[_0x2abc53(0x39a)]();}['_registerDependencies'](){var _0x33f30e=_0x2e58ba,_0x2fe551,_0x577483,_0x38c61b,_0x1bca55;this[_0x33f30e(0x386)][_0x33f30e(0x2ae)](a[_0x33f30e(0x2bb)])&&this['_logService'][_0x33f30e(0x215)](_0x33f30e(0x126),_0x33f30e(0x2a6));const _0x5ef6c0=a[_0x33f30e(0x3e5)]([[a[_0x33f30e(0x2bb)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x33f30e(0x181)]],[exports[_0x33f30e(0x3b7)]],[exports['SheetTransformSelectionsService']],[ye],[Ne],[Be],[Ue],[te],[exports[_0x33f30e(0x2f9)]],[ke,{'useClass':(_0x577483=(_0x2fe551=this[_0x33f30e(0x1d0)])==null?void 0x0:_0x2fe551[_0x33f30e(0x14a)])!=null?_0x577483:exports[_0x33f30e(0xee)]}],[m['ISnapshotServerService'],{'useClass':exports[_0x33f30e(0x1bd)]}],[a[_0x33f30e(0x3f1)],{'useClass':exports['AuthzIoHttpService']}],[X[_0x33f30e(0x224)],{'useClass':exports[_0x33f30e(0xcf)]}],[a['IMentionIOService'],{'useClass':exports[_0x33f30e(0x11a)]}],[exports[_0x33f30e(0x219)]],[$e]],(_0x38c61b=this[_0x33f30e(0x1d0)])==null?void 0x0:_0x38c61b[_0x33f30e(0xc5)]);if(!((_0x1bca55=this[_0x33f30e(0x1d0)])!=null&&_0x1bca55['enableSingleActiveInstanceLock'])){const _0x438f9c=_0x5ef6c0[_0x33f30e(0xa0)](([_0xb0efee])=>_0xb0efee===ve);_0x438f9c!==-0x1&&_0x5ef6c0[_0x33f30e(0x367)](_0x438f9c,0x1);}a['registerDependencies'](this[_0x33f30e(0x386)],_0x5ef6c0);}[_0x2e58ba(0x39a)](){var _0x463a13=_0x2e58ba,_0x3a7691,_0x12f683,_0x170e74;this['_injector'][_0x463a13(0x357)](q[_0x463a13(0x2f5)])[_0x463a13(0x2e6)]({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x3a7691=this['_config'])!=null&&_0x3a7691[_0x463a13(0x243)]||(_0x12f683=this[_0x463a13(0x386)][_0x463a13(0x357)](z,a['Quantity'][_0x463a13(0x217)]))==null||_0x12f683[_0x463a13(0x2b2)](),(_0x170e74=this[_0x463a13(0x1d0)])!=null&&_0x170e74['enableAuthServer']&&a[_0x463a13(0x3e0)](this[_0x463a13(0x386)],[[ye]]),a[_0x463a13(0x3e0)](this[_0x463a13(0x386)],[[Ne],[exports[_0x463a13(0x219)]],[Ue]]);}},nr(exports[_0x2e58ba(0x127)],_0x2e58ba(0x220),ir),exports[_0x2e58ba(0x127)]=tr([a[_0x2e58ba(0x1b7)](m[_0x2e58ba(0x24b)],J[_0x2e58ba(0x3f0)],q[_0x2e58ba(0x96)]),je(0x1,a['ILogService']),je(0x2,a[_0x2e58ba(0x2dc)](a['Injector'])),je(0x3,a[_0x2e58ba(0x12d)])],exports[_0x2e58ba(0x127)]),exports[_0x2e58ba(0xdb)]=Ve,exports[_0x2e58ba(0x390)]=Y,exports[_0x2e58ba(0x298)]=Et,exports[_0x2e58ba(0x18a)]=St,exports[_0x2e58ba(0x11b)]=We,exports[_0x2e58ba(0x345)]=Q,exports[_0x2e58ba(0x24a)]=te,exports[_0x2e58ba(0xa4)]=Be,exports[_0x2e58ba(0x301)]=pt,exports[_0x2e58ba(0x2a4)]=Xt,exports[_0x2e58ba(0x1c4)]=mt,exports[_0x2e58ba(0x2a5)]=He,exports[_0x2e58ba(0x3d4)]=ke,exports['ILocalCacheService']=z,exports['INetworkConditionService']=Rt,exports[_0x2e58ba(0x3ac)]=ve,exports['LOCAL_CACHE_INTERVAL']=Yt,exports[_0x2e58ba(0x1aa)]=Kt,exports[_0x2e58ba(0x2ea)]=Ct,exports[_0x2e58ba(0x259)]=Jt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=It,exports[_0x2e58ba(0x3f9)]=kt,exports['SNAPSHOT_SERVER_URL_KEY']=vt,exports[_0x2e58ba(0x100)]=ft,exports['SessionStatus']=se,exports[_0x2e58ba(0xf3)]=Fe,exports['deserializeToCombResponse']=Ot,exports[_0x2e58ba(0x3c3)]=In,exports['serializeCombRequest']=yt;
1
+ 'use strict';var _0x51a846=_0x2a70;(function(_0x4777d7,_0x56fc76){var _0x309f53=_0x2a70,_0x1a5556=_0x4777d7();while(!![]){try{var _0x2fbfd5=-parseInt(_0x309f53(0x152))/0x1*(parseInt(_0x309f53(0x1fe))/0x2)+parseInt(_0x309f53(0x319))/0x3*(parseInt(_0x309f53(0x2eb))/0x4)+parseInt(_0x309f53(0x2b2))/0x5+-parseInt(_0x309f53(0x15c))/0x6+parseInt(_0x309f53(0x452))/0x7+-parseInt(_0x309f53(0x3a5))/0x8*(-parseInt(_0x309f53(0x22c))/0x9)+-parseInt(_0x309f53(0x424))/0xa*(-parseInt(_0x309f53(0x478))/0xb);if(_0x2fbfd5===_0x56fc76)break;else _0x1a5556['push'](_0x1a5556['shift']());}catch(_0x4dd42f){_0x1a5556['push'](_0x1a5556['shift']());}}}(_0x20fb,0xa1814));var Mt=Object[_0x51a846(0x276)],xt=(_0x587b7d,_0x56c4d5,_0x405983)=>_0x56c4d5 in _0x587b7d?Mt(_0x587b7d,_0x56c4d5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x405983}):_0x587b7d[_0x56c4d5]=_0x405983,D=(_0x1cf207,_0x403dfb,_0x1d02ff)=>xt(_0x1cf207,typeof _0x403dfb!='symbol'?_0x403dfb+'':_0x403dfb,_0x1d02ff);Object[_0x51a846(0x276)](exports,Symbol[_0x51a846(0x321)],{'value':'Module'});const a=require(_0x51a846(0x151)),H=require('rxjs'),W=require(_0x51a846(0x238)),q=require(_0x51a846(0x453)),m=require('@univerjs-pro/collaboration'),jt=require(_0x51a846(0x3b9)),dt=require('@univerjs/docs'),J=require('@univerjs/sheets'),X=require('@univerjs/drawing'),$t=require(_0x51a846(0x1e3)),vt='SNAPSHOT_SERVER_URL_KEY',Ht=_0x51a846(0x2b3),ft='SNAPSHOT_URL_KEY',kt=_0x51a846(0x367),Bt=0x7d0,St='COLLAB_WEB_SOCKET_URL',pt=_0x51a846(0x41f),Ft=_0x51a846(0x24a),mt=_0x51a846(0x47a),Wt=0x7530,He=_0x51a846(0x3be),gt=0x4e20,Gt=0x4e20,It=_0x51a846(0x470),Vt=0x3,Kt=_0x51a846(0x33b),Yt=0x3e8,Et=_0x51a846(0x2a9),qt=_0x51a846(0x1d7),Ct=_0x51a846(0x3e2),zt='/universer-api/oidc/authpage',Jt=_0x51a846(0x355),Xt='/universer-api/uniscript';var Tt=(_0x4dd1bd=>(_0x4dd1bd[_0x4dd1bd[_0x51a846(0x2aa)]=0x0]=_0x51a846(0x2aa),_0x4dd1bd[_0x4dd1bd['OK']=0x1]='OK',_0x4dd1bd[_0x4dd1bd[_0x51a846(0x20e)]=0x2]=_0x51a846(0x20e),_0x4dd1bd[_0x4dd1bd['PERMISSION_DENIED']=0x3]=_0x51a846(0x176),_0x4dd1bd[_0x4dd1bd['NOT_FOUND']=0x4]=_0x51a846(0x239),_0x4dd1bd[_0x4dd1bd[_0x51a846(0x14a)]=0x5]=_0x51a846(0x14a),_0x4dd1bd[_0x4dd1bd['ALREADY_EXISTS']=0x6]=_0x51a846(0x2d3),_0x4dd1bd[_0x4dd1bd[_0x51a846(0x357)]=0x7]=_0x51a846(0x357),_0x4dd1bd[_0x4dd1bd['TOO_MANY_REQUESTS']=0x8]=_0x51a846(0x201),_0x4dd1bd[_0x4dd1bd[_0x51a846(0x3d1)]=0x9]=_0x51a846(0x3d1),_0x4dd1bd[_0x4dd1bd[_0x51a846(0x2b1)]=0x1389]=_0x51a846(0x2b1),_0x4dd1bd[_0x4dd1bd[_0x51a846(0x333)]=0x1771]=_0x51a846(0x333),_0x4dd1bd[_0x4dd1bd['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4dd1bd[_0x4dd1bd[_0x51a846(0x14e)]=0x1773]=_0x51a846(0x14e),_0x4dd1bd[_0x4dd1bd['APPLY_REJECT']=0x1b59]=_0x51a846(0x447),_0x4dd1bd[_0x4dd1bd[_0x51a846(0x425)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4dd1bd[_0x4dd1bd['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x51a846(0x19f),_0x4dd1bd[_0x4dd1bd[_0x51a846(0x1c0)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4dd1bd[_0x4dd1bd[_0x51a846(0x41d)]=0x1b5d]='APPLY_DUPLICATED',_0x4dd1bd[_0x4dd1bd[_0x51a846(0x213)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4dd1bd[_0x4dd1bd[_0x51a846(0x159)]=0x2329]=_0x51a846(0x159),_0x4dd1bd[_0x4dd1bd['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x51a846(0x153),_0x4dd1bd[_0x4dd1bd['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x51a846(0x28a),_0x4dd1bd[_0x4dd1bd[_0x51a846(0x1db)]=0x232c]=_0x51a846(0x1db),_0x4dd1bd[_0x4dd1bd[_0x51a846(0x47d)]=0x232d]=_0x51a846(0x47d),_0x4dd1bd[_0x4dd1bd[_0x51a846(0x345)]=0x2711]=_0x51a846(0x345),_0x4dd1bd[_0x4dd1bd[_0x51a846(0x474)]=0x2712]=_0x51a846(0x474),_0x4dd1bd[_0x4dd1bd[_0x51a846(0x431)]=0x2713]=_0x51a846(0x431),_0x4dd1bd[_0x4dd1bd[_0x51a846(0x36e)]=0x2714]=_0x51a846(0x36e),_0x4dd1bd[_0x4dd1bd[_0x51a846(0x12c)]=0x2af9]=_0x51a846(0x12c),_0x4dd1bd[_0x4dd1bd[_0x51a846(0x43f)]=-0x1]='UNRECOGNIZED',_0x4dd1bd))(Tt||{}),Z=(_0xde8e99=>(_0xde8e99[_0xde8e99[_0x51a846(0x347)]=0x0]='UNIVER_UNKNOWN',_0xde8e99[_0xde8e99[_0x51a846(0x1dc)]=0x1]=_0x51a846(0x1dc),_0xde8e99[_0xde8e99[_0x51a846(0x207)]=0x2]=_0x51a846(0x207),_0xde8e99[_0xde8e99[_0x51a846(0x42a)]=0x3]=_0x51a846(0x42a),_0xde8e99[_0xde8e99[_0x51a846(0x46c)]=0x4]=_0x51a846(0x46c),_0xde8e99[_0xde8e99[_0x51a846(0x43f)]=-0x1]=_0x51a846(0x43f),_0xde8e99))(Z||{}),G=(_0x3ace10=>(_0x3ace10[_0x3ace10[_0x51a846(0x2a1)]=0x0]='UNKNOWN_CMD',_0x3ace10[_0x3ace10['HELLO']=0x1]=_0x51a846(0x3ea),_0x3ace10[_0x3ace10[_0x51a846(0x45e)]=0x2]=_0x51a846(0x45e),_0x3ace10[_0x3ace10['LEAVE']=0x3]=_0x51a846(0x127),_0x3ace10[_0x3ace10[_0x51a846(0x3b0)]=0x4]=_0x51a846(0x3b0),_0x3ace10[_0x3ace10[_0x51a846(0x136)]=0x5]='HEARTBEAT',_0x3ace10[_0x3ace10[_0x51a846(0x3b2)]=0x6]=_0x51a846(0x3b2),_0x3ace10[_0x3ace10['UNRECOGNIZED']=-0x1]=_0x51a846(0x43f),_0x3ace10))(G||{}),he=(_0x436f56=>(_0x436f56[_0x436f56['UNKNOWN_CODE']=0x0]=_0x51a846(0x3ce),_0x436f56[_0x436f56['OK']=0x1]='OK',_0x436f56[_0x436f56['FAIL']=0x2]=_0x51a846(0x2a7),_0x436f56[_0x436f56[_0x51a846(0x1c4)]=0x3e9]='JOIN_ROOM_FULL',_0x436f56[_0x436f56[_0x51a846(0x3e0)]=0x3ea]=_0x51a846(0x3e0),_0x436f56[_0x436f56['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x51a846(0x1a2),_0x436f56[_0x436f56['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x436f56[_0x436f56['UNRECOGNIZED']=-0x1]=_0x51a846(0x43f),_0x436f56))(he||{}),bt=(_0x37a50f=>(_0x37a50f[_0x37a50f[_0x51a846(0x311)]=0x0]=_0x51a846(0x311),_0x37a50f[_0x37a50f[_0x51a846(0x3c6)]=0x1]=_0x51a846(0x3c6),_0x37a50f[_0x37a50f['HttpExport']=0x2]=_0x51a846(0x14c),_0x37a50f[_0x37a50f[_0x51a846(0x454)]=0x3]=_0x51a846(0x454),_0x37a50f[_0x37a50f[_0x51a846(0x3d4)]=0x4]=_0x51a846(0x3d4),_0x37a50f[_0x37a50f[_0x51a846(0x43f)]=-0x1]=_0x51a846(0x43f),_0x37a50f))(bt||{});const Y=_0x51a846(0x1b9),Ke={};var Q=(_0x4870c3=>(_0x4870c3[_0x51a846(0x150)]=_0x51a846(0x150),_0x4870c3[_0x51a846(0x176)]='PERMISSION_DENIED',_0x4870c3[_0x51a846(0x25f)]=_0x51a846(0x25f),_0x4870c3['CLOSE_ROOM']='CLOSE_ROOM',_0x4870c3[_0x51a846(0x18c)]='JOIN_ROOM_FAILED',_0x4870c3[_0x51a846(0x3ec)]=_0x51a846(0x3ec),_0x4870c3[_0x51a846(0x323)]=_0x51a846(0x323),_0x4870c3['SUBMIT_CHANGESET_TIMEOUT']=_0x51a846(0x3ca),_0x4870c3))(Q||{});class te{constructor(){var _0xbb2889=_0x51a846;D(this,'_event$',new H[(_0xbb2889(0x414))]()),D(this,_0xbb2889(0x3fe),this['_event$'][_0xbb2889(0x1c1)]());}[_0x51a846(0x2ba)](_0x5a7363){var _0x26b1bb=_0x51a846;this[_0x26b1bb(0x1f4)][_0x26b1bb(0x34b)](_0x5a7363);}}const Rt=a['createIdentifier'](_0x51a846(0x450));function Ot(_0x554909){var _0xe2e8f1=_0x51a846,_0xe1dee5,_0x51e56c,_0x1e4b8f,_0x25b017,_0xa9dd3b;const _0x159218=_0x554909['data'],_0x1ff3b7=JSON[_0xe2e8f1(0x354)](_0x159218);switch(_0x1ff3b7[_0xe2e8f1(0x316)]){case G[_0xe2e8f1(0x136)]:case G[_0xe2e8f1(0x3ea)]:{const _0x1fedd9=_0x1ff3b7[_0xe2e8f1(0x2be)];return{..._0x1ff3b7,'data':_0x1fedd9,'cmd':_0x1ff3b7[_0xe2e8f1(0x316)]};}case G[_0xe2e8f1(0x45e)]:{const _0x303590=_0x1ff3b7[_0xe2e8f1(0x2d0)];return{..._0x1ff3b7,'data':_0x303590,'cmd':_0x1ff3b7[_0xe2e8f1(0x316)]};}case G[_0xe2e8f1(0x3b2)]:{const _0x29bca7=_0x1ff3b7[_0xe2e8f1(0x3cf)];switch(_0x29bca7[_0xe2e8f1(0x17d)]){case m['CollaborationEvent'][_0xe2e8f1(0x303)]:return{..._0x1ff3b7,'data':{..._0x29bca7,'data':(_0xe1dee5=_0x29bca7[_0xe2e8f1(0x3a4)])==null?void 0x0:_0xe1dee5['cs']},'cmd':_0x1ff3b7[_0xe2e8f1(0x316)]};case m[_0xe2e8f1(0x215)][_0xe2e8f1(0x2e7)]:return{..._0x1ff3b7,'data':{..._0x29bca7,'data':(_0x51e56c=_0x29bca7['csAckEvent'])==null?void 0x0:_0x51e56c['cs']},'cmd':_0x1ff3b7[_0xe2e8f1(0x316)]};case m[_0xe2e8f1(0x215)][_0xe2e8f1(0x365)]:return{..._0x1ff3b7,'data':{..._0x29bca7,'data':(_0x1e4b8f=_0x29bca7['newCsEvent'])==null?void 0x0:_0x1e4b8f['cs']},'cmd':_0x1ff3b7[_0xe2e8f1(0x316)]};case m[_0xe2e8f1(0x215)]['CHANGESET_REJ']:return{..._0x1ff3b7,'data':{..._0x29bca7,'data':(_0x25b017=_0x29bca7[_0xe2e8f1(0x35c)])==null?void 0x0:_0x25b017['cs']},'cmd':_0x1ff3b7[_0xe2e8f1(0x316)]};case m[_0xe2e8f1(0x215)]['CHANGESET_SHOULD_RETRY']:return{..._0x1ff3b7,'data':{..._0x29bca7,'data':(_0xa9dd3b=_0x29bca7[_0xe2e8f1(0x2cd)])==null?void 0x0:_0xa9dd3b['cs']},'cmd':_0x1ff3b7[_0xe2e8f1(0x316)]};case m[_0xe2e8f1(0x215)]['UPDATE_CURSOR']:return{..._0x1ff3b7,'data':{..._0x29bca7,'data':_0x29bca7[_0xe2e8f1(0x44b)]},'cmd':_0x1ff3b7['cmd']};case m[_0xe2e8f1(0x215)][_0xe2e8f1(0x472)]:return{..._0x1ff3b7,'data':{..._0x29bca7,'data':_0x29bca7['joinEvent']},'cmd':_0x1ff3b7['cmd']};case m[_0xe2e8f1(0x215)][_0xe2e8f1(0x30d)]:return{..._0x1ff3b7,'data':{..._0x29bca7,'data':_0x29bca7['leaveEvent']},'cmd':_0x1ff3b7[_0xe2e8f1(0x316)]};case m[_0xe2e8f1(0x215)]['LIVESHARE_NEW_HOST']:return{..._0x1ff3b7,'data':{..._0x29bca7,'data':_0x29bca7[_0xe2e8f1(0x161)]},'cmd':_0x1ff3b7[_0xe2e8f1(0x316)]};case m[_0xe2e8f1(0x215)][_0xe2e8f1(0x2f4)]:case m[_0xe2e8f1(0x215)][_0xe2e8f1(0x30f)]:return{..._0x1ff3b7,'data':{..._0x29bca7,'data':_0x29bca7['liveShareOperation']},'cmd':_0x1ff3b7[_0xe2e8f1(0x316)]};case m[_0xe2e8f1(0x215)][_0xe2e8f1(0x3da)]:return{..._0x1ff3b7,'data':{..._0x29bca7,'data':_0x29bca7[_0xe2e8f1(0x161)]},'cmd':_0x1ff3b7[_0xe2e8f1(0x316)]};case m[_0xe2e8f1(0x215)][_0xe2e8f1(0x29d)]:return{..._0x1ff3b7,'data':_0x29bca7,'cmd':_0x1ff3b7[_0xe2e8f1(0x316)]};case m[_0xe2e8f1(0x215)][_0xe2e8f1(0x3eb)]:return{..._0x1ff3b7,'data':{..._0x29bca7,'data':_0x29bca7[_0xe2e8f1(0x3c7)]},'cmd':_0x1ff3b7[_0xe2e8f1(0x316)]};case m[_0xe2e8f1(0x215)][_0xe2e8f1(0x331)]:return{..._0x1ff3b7,'data':{..._0x29bca7,'data':_0x29bca7[_0xe2e8f1(0x1e5)]},'cmd':_0x1ff3b7[_0xe2e8f1(0x316)]};case m[_0xe2e8f1(0x215)]['SHOULD_CLOSE_CONN']:return{..._0x1ff3b7,'data':{..._0x29bca7,'data':_0x29bca7[_0xe2e8f1(0x412)]},'cmd':_0x1ff3b7[_0xe2e8f1(0x316)]};case m['CollaborationEvent']['UNISCRIPT_RUN']:return{..._0x1ff3b7,'data':{..._0x29bca7,'data':_0x29bca7[_0xe2e8f1(0x2b8)]},'cmd':_0x1ff3b7[_0xe2e8f1(0x316)]};default:return _0x1ff3b7;}}default:return _0x1ff3b7;}}function yt(_0x5ed1ba){var _0x334c7f=_0x51a846;switch(_0x5ed1ba['cmd']){case G['HEARTBEAT']:case G['HELLO']:return JSON[_0x334c7f(0x46b)]({'cmd':_0x5ed1ba[_0x334c7f(0x316)],'routeKey':_0x5ed1ba[_0x334c7f(0x2da)]});case G[_0x334c7f(0x3b0)]:{let _0x9bfa3c;switch(_0x5ed1ba['data'][_0x334c7f(0x17d)]){case m[_0x334c7f(0x215)]['UPDATE_CURSOR']:{_0x9bfa3c={'eventID':m[_0x334c7f(0x215)][_0x334c7f(0x206)],'updateCursorEvent':_0x5ed1ba[_0x334c7f(0x1ef)]['data']};break;}case m['CollaborationEvent'][_0x334c7f(0x30d)]:{_0x9bfa3c={'eventID':m[_0x334c7f(0x215)][_0x334c7f(0x30d)],'leaveEvent':_0x5ed1ba[_0x334c7f(0x1ef)][_0x334c7f(0x1ef)]};break;}case m[_0x334c7f(0x215)]['USERS_ENTER']:{_0x9bfa3c={'eventID':m['CollaborationEvent'][_0x334c7f(0x472)],'joinEvent':_0x5ed1ba[_0x334c7f(0x1ef)]['data']};break;}case m[_0x334c7f(0x215)][_0x334c7f(0x48b)]:{_0x9bfa3c={'eventID':m[_0x334c7f(0x215)][_0x334c7f(0x48b)],'liveShareNewHost':_0x5ed1ba[_0x334c7f(0x1ef)][_0x334c7f(0x1ef)]};break;}case m[_0x334c7f(0x215)][_0x334c7f(0x30f)]:{_0x9bfa3c={'eventID':m[_0x334c7f(0x215)][_0x334c7f(0x30f)],'liveShareOperation':_0x5ed1ba['data'][_0x334c7f(0x1ef)]};break;}case m[_0x334c7f(0x215)]['LIVESHARE_TERMINATE']:{_0x9bfa3c={'eventID':m['CollaborationEvent'][_0x334c7f(0x3da)],'liveShareTerminate':_0x5ed1ba[_0x334c7f(0x1ef)][_0x334c7f(0x1ef)]};break;}case m[_0x334c7f(0x215)][_0x334c7f(0x1a9)]:{_0x9bfa3c={'eventID':m[_0x334c7f(0x215)][_0x334c7f(0x1a9)],'liveShareRequestHost':_0x5ed1ba[_0x334c7f(0x1ef)][_0x334c7f(0x1ef)]};break;}case m[_0x334c7f(0x215)]['LIVESHARE_FETCH_OPERATIONS']:{_0x9bfa3c={'eventID':m[_0x334c7f(0x215)][_0x334c7f(0x2f4)]};break;}default:_0x9bfa3c={'eventID':_0x5ed1ba['data'][_0x334c7f(0x17d)]};}return JSON[_0x334c7f(0x46b)]({'cmd':_0x5ed1ba[_0x334c7f(0x316)],'routeKey':_0x5ed1ba[_0x334c7f(0x2da)],'collaMsg':_0x9bfa3c});}case G['JOIN']:return JSON[_0x334c7f(0x46b)]({'cmd':_0x5ed1ba[_0x334c7f(0x316)],'routeKey':_0x5ed1ba['routeKey'],'joinReq':_0x5ed1ba['data']});case G[_0x334c7f(0x127)]:return JSON[_0x334c7f(0x46b)]({'cmd':_0x5ed1ba[_0x334c7f(0x316)],'routeKey':_0x5ed1ba['routeKey'],'leaveReq':_0x5ed1ba[_0x334c7f(0x1ef)]});default:throw new Error(_0x334c7f(0x40e));}}var Zt=Object['defineProperty'],Qt=Object[_0x51a846(0x1be)],en=(_0xa529d1,_0x297a89,_0x2d6f2d,_0x3cac4c)=>{var _0x56d6af=_0x51a846;for(var _0x459702=_0x3cac4c>0x1?void 0x0:_0x3cac4c?Qt(_0x297a89,_0x2d6f2d):_0x297a89,_0x474a44=_0xa529d1[_0x56d6af(0x457)]-0x1,_0x2e9c1d;_0x474a44>=0x0;_0x474a44--)(_0x2e9c1d=_0xa529d1[_0x474a44])&&(_0x459702=(_0x3cac4c?_0x2e9c1d(_0x297a89,_0x2d6f2d,_0x459702):_0x2e9c1d(_0x459702))||_0x459702);return _0x3cac4c&&_0x459702&&Zt(_0x297a89,_0x2d6f2d,_0x459702),_0x459702;},ue=(_0x12a788,_0x3062cd)=>(_0x7acc5c,_0x10c018)=>_0x3062cd(_0x7acc5c,_0x10c018,_0x12a788);const ke=a['createIdentifier']('univer-pro.collaboration-client-socket-service');function tn(_0x4b272d,_0x23e98e,_0x2efa94){return _0x4b272d+'/'+_0x23e98e+'/unit/'+_0x2efa94+'/new_changes';}exports[_0x51a846(0x2a4)]=class extends a[_0x51a846(0x1bb)]{constructor(_0x2c69ec,_0xd4cd8e,_0x11406d,_0x25cb91,_0x37e6e1){var _0xb9d770=_0x51a846;super(),this[_0xb9d770(0x223)]=_0x2c69ec,this[_0xb9d770(0x3dc)]=_0xd4cd8e,this[_0xb9d770(0x2b5)]=_0x11406d,this[_0xb9d770(0x24c)]=_0x25cb91,this[_0xb9d770(0x1de)]=_0x37e6e1;}[_0x51a846(0x2c4)](_0x2eaf52){var _0x179e2d=_0x51a846;const _0x1f88bc=this[_0x179e2d(0x223)][_0x179e2d(0x482)](q[_0x179e2d(0x219)]);if(!_0x1f88bc)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x39cc98=_0x1f88bc[_0x179e2d(0x2c4)](_0x2eaf52);if(!_0x39cc98)throw new Error(_0x179e2d(0x446));const _0x54ec85=new a['DisposableCollection'](),_0x27c2ac=new H['Subject']();_0x54ec85[_0x179e2d(0x2e3)](_0x39cc98[_0x179e2d(0x456)]['subscribe'](_0xabf1c7=>_0x27c2ac[_0x179e2d(0x34b)](_0xabf1c7))),_0x54ec85[_0x179e2d(0x2e3)](a[_0x179e2d(0x448)](()=>_0x27c2ac['complete']()));const _0x58deda=new H[(_0x179e2d(0x414))]();_0x54ec85['add'](_0x39cc98['error$'][_0x179e2d(0x2ad)](_0x3e5ff3=>_0x58deda[_0x179e2d(0x34b)](_0x3e5ff3))),_0x54ec85['add'](a[_0x179e2d(0x448)](()=>_0x58deda[_0x179e2d(0x189)]()));const _0x1f325f=new H['Subject']();_0x54ec85[_0x179e2d(0x2e3)](_0x39cc98['message$']['subscribe'](_0x15b371=>{var _0x4cb297=_0x179e2d;const _0x20639f=Ot(_0x15b371);_0x1f325f[_0x4cb297(0x34b)](_0x20639f);})),_0x54ec85[_0x179e2d(0x2e3)](a[_0x179e2d(0x448)](()=>_0x1f325f['complete']()));let _0x296989;const _0x2a4f72=()=>{var _0x1c5ca7=_0x179e2d;_0x58deda[_0x1c5ca7(0x34b)](new Event(_0x1c5ca7(0x2d8))),_0x27c2ac[_0x1c5ca7(0x34b)](new CloseEvent(_0x1c5ca7(0x2d8))),_0x296989[_0x1c5ca7(0x312)]();};return _0x296989={'memberID':'','close$':_0x27c2ac[_0x179e2d(0x1c1)](),'error$':_0x58deda[_0x179e2d(0x1c1)](),'open$':_0x39cc98['open$'],'message$':_0x1f325f['asObservable'](),'send':_0x56188b=>{var _0x1e679c=_0x179e2d;if(_0x56188b[_0x1e679c(0x316)]===G[_0x1e679c(0x3b0)]){if(_0x56188b['data'][_0x1e679c(0x17d)]===m['CollaborationEvent']['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x296989,_0x56188b[_0x1e679c(0x1ef)])['catch'](_0x54dc99=>{var _0x4f8803=_0x1e679c;this[_0x4f8803(0x24c)][_0x4f8803(0x27d)](_0x54dc99),_0x2a4f72();});return;}if(_0x56188b['data'][_0x1e679c(0x17d)]===m[_0x1e679c(0x215)][_0x1e679c(0x1ae)]){const _0x35ccb9=_0x56188b[_0x1e679c(0x1ef)];this[_0x1e679c(0x399)](_0x35ccb9)[_0x1e679c(0x22e)](_0xe008b4=>{var _0x5a637d=_0x1e679c;_0x1f325f['next']({'cmd':G[_0x5a637d(0x3b2)],'code':he['OK'],'routeKey':_0x35ccb9[_0x5a637d(0x1ef)][_0x5a637d(0x47c)],'routeType':'','data':{'eventID':m['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0xe008b4}}});})['catch'](_0x45e591=>{var _0x5b58c6=_0x1e679c;this[_0x5b58c6(0x24c)][_0x5b58c6(0x27d)](_0x45e591),_0x2a4f72();});return;}}_0x39cc98[_0x1e679c(0x1d3)](yt(_0x56188b));},'close':()=>{var _0x1be53d=_0x179e2d;_0x39cc98['close'](),_0x54ec85[_0x1be53d(0x334)]();}},_0x296989;}async[_0x51a846(0x2a8)](_0x56455d,_0x2197a3){var _0x3afef4=_0x51a846,_0x1c9cd8,_0x230b27;const {unitType:_0x35cad0,unitID:_0x3b412c,changeset:_0x2ac970}=_0x2197a3['data'],_0x437f70={'unitID':_0x3b412c,'memberID':_0x56455d['memberID'],'type':_0x35cad0,'changeset':m[_0x3afef4(0x310)](_0x2ac970)},_0x4418d8=this[_0x3afef4(0x2b5)][_0x3afef4(0x212)](Et),_0x6f0729=this[_0x3afef4(0x2b5)]['getConfig'](Y),_0xf3c276=tn((_0x230b27=(_0x1c9cd8=_0x6f0729==null?void 0x0:_0x6f0729['collabSubmitChangesetUrl'])!=null?_0x1c9cd8:_0x4418d8)!=null?_0x230b27:qt,_0x35cad0,_0x3b412c);try{await this[_0x3afef4(0x3dc)][_0x3afef4(0x2b0)](_0xf3c276,{'body':_0x437f70});}catch(_0x560b20){throw this[_0x3afef4(0x24c)][_0x3afef4(0x27d)](_0x3afef4(0x115),'submit\x20changeset\x20error!'),_0x560b20;}}async['_fetchMissChangesets'](_0xa94aa6){var _0x2c86ea=_0x51a846;const {unitID:_0x2501ce,from:_0x52a379,to:_0xa9d271,unitType:_0x49f034}=_0xa94aa6['data'];return(await this[_0x2c86ea(0x1de)][_0x2c86ea(0x459)]({'metadata':void 0x0},{'unitID':_0x2501ce,'type':_0x49f034,'from':_0x52a379,'to':_0xa9d271}))[_0x2c86ea(0x11f)];}},exports[_0x51a846(0x2a4)]=en([ue(0x0,a[_0x51a846(0x191)](a[_0x51a846(0x388)])),ue(0x1,a['Inject'](q['HTTPService'])),ue(0x2,a[_0x51a846(0x349)]),ue(0x3,a[_0x51a846(0x113)]),ue(0x4,m['ISnapshotServerService'])],exports[_0x51a846(0x2a4)]);const nn='collaboration_new_changeset';function rn(_0x4b6953){var _0x12ff37=_0x51a846;return JSON['stringify'](_0x4b6953)[_0x12ff37(0x457)];}class Be{constructor(){var _0x1d8dff=_0x51a846;D(this,_0x1d8dff(0x392),new H[(_0x1d8dff(0x414))]()),D(this,_0x1d8dff(0x348),this[_0x1d8dff(0x392)][_0x1d8dff(0x1c1)]());}[_0x51a846(0x16f)](_0x3f6742){var _0x4f75be=_0x51a846;this[_0x4f75be(0x392)]['next'](_0x3f6742);}}var sn=Object[_0x51a846(0x276)],on=Object['getOwnPropertyDescriptor'],an=(_0x2696eb,_0x5ee8ec,_0x2385ab,_0x354592)=>{for(var _0x278a29=_0x354592>0x1?void 0x0:_0x354592?on(_0x5ee8ec,_0x2385ab):_0x5ee8ec,_0x1997d2=_0x2696eb['length']-0x1,_0x3cb4f6;_0x1997d2>=0x0;_0x1997d2--)(_0x3cb4f6=_0x2696eb[_0x1997d2])&&(_0x278a29=(_0x354592?_0x3cb4f6(_0x5ee8ec,_0x2385ab,_0x278a29):_0x3cb4f6(_0x278a29))||_0x278a29);return _0x354592&&_0x278a29&&sn(_0x5ee8ec,_0x2385ab,_0x278a29),_0x278a29;},Ye=(_0x5f81ab,_0x3fe85d)=>(_0x98f988,_0x27cc18)=>_0x3fe85d(_0x98f988,_0x27cc18,_0x5f81ab);exports[_0x51a846(0x253)]=class extends a[_0x51a846(0x1bb)]{constructor(_0x9ac485,_0x3e94d9){var _0x10ba30=_0x51a846;super(),D(this,_0x10ba30(0x2e5),new Map()),D(this,_0x10ba30(0x129),new H['Subject']()),(this['_univerInstanceService']=_0x9ac485,this[_0x10ba30(0x20a)]=_0x3e94d9,this['disposeWithMe'](H[_0x10ba30(0x1bc)](this[_0x10ba30(0x286)][_0x10ba30(0x24f)](a['UniverInstanceType'][_0x10ba30(0x207)])[_0x10ba30(0x1fb)](W[_0x10ba30(0x322)](_0x2fade1=>_0x2fade1[_0x10ba30(0x21b)]())),this[_0x10ba30(0x286)][_0x10ba30(0x24f)](a['UniverInstanceType'][_0x10ba30(0x1dc)])['pipe'](W['map'](_0x330856=>_0x330856[_0x10ba30(0x21b)]())),this[_0x10ba30(0x286)][_0x10ba30(0x24f)](a[_0x10ba30(0x336)][_0x10ba30(0x42a)])[_0x10ba30(0x1fb)](W[_0x10ba30(0x322)](_0x3a13de=>_0x3a13de['getUnitId']())))[_0x10ba30(0x2ad)](_0x1baa86=>this[_0x10ba30(0x143)](_0x1baa86))));}[_0x51a846(0x477)](_0x1eb1f5){var _0x335d41=_0x51a846;return this[_0x335d41(0x2e5)][_0x335d41(0x234)](_0x1eb1f5)?H['of'](this[_0x335d41(0x2e5)][_0x335d41(0x482)](_0x1eb1f5)):this[_0x335d41(0x129)]['pipe'](W[_0x335d41(0x322)](_0x268987=>{var _0x5985cf=_0x335d41;if(_0x268987===_0x1eb1f5)return this[_0x5985cf(0x2e5)][_0x5985cf(0x482)](_0x268987);}));}['setCurrentUser'](_0x493882){var _0x530d7f=_0x51a846;this[_0x530d7f(0x20a)][_0x530d7f(0x37b)](_0x493882);}[_0x51a846(0x291)](){var _0x420ce1=_0x51a846;return this['_userManagerService'][_0x420ce1(0x291)]();}[_0x51a846(0x3fc)](_0x4f6924,_0x3bec0a){var _0x584be5=_0x51a846;let _0x1d4b28=this[_0x584be5(0x2e5)][_0x584be5(0x482)](_0x4f6924);_0x1d4b28||(_0x1d4b28=new cn(),this[_0x584be5(0x2e5)]['set'](_0x4f6924,_0x1d4b28),this[_0x584be5(0x129)]['next'](_0x4f6924)),_0x1d4b28[_0x584be5(0x3fc)](_0x3bec0a);}[_0x51a846(0x46d)](_0x26d100,_0x3cee3a){var _0x255553=_0x51a846;const _0x2cdd5e=this[_0x255553(0x2e5)][_0x255553(0x482)](_0x26d100);_0x2cdd5e&&_0x2cdd5e['removeMember'](_0x3cee3a);}[_0x51a846(0x29f)](_0x1b7d9e){var _0x1a85bc=_0x51a846;return this['_roomMembers'][_0x1a85bc(0x482)](_0x1b7d9e);}[_0x51a846(0x179)](_0xee300,_0x1973e0){var _0x290acf=_0x51a846;const _0xa5e0eb=this['_roomMembers'][_0x290acf(0x482)](_0xee300);if(_0xa5e0eb)return _0xa5e0eb[_0x290acf(0x179)](_0x1973e0);}[_0x51a846(0x143)](_0x2d0bb1){var _0xeeb3f9=_0x51a846;const _0x6dc59=this[_0xeeb3f9(0x2e5)][_0xeeb3f9(0x482)](_0x2d0bb1);_0x6dc59&&(_0x6dc59['dispose'](),this[_0xeeb3f9(0x2e5)]['delete'](_0x2d0bb1));}[_0x51a846(0x334)](){var _0x570b04=_0x51a846;this[_0x570b04(0x2e5)][_0x570b04(0x494)](_0x4654d8=>_0x4654d8[_0x570b04(0x334)]()),this[_0x570b04(0x2e5)]['clear'](),this['_roomCreated$']['complete']();}},exports['MemberService']=an([Ye(0x0,a[_0x51a846(0x2fc)]),Ye(0x1,a['Inject'](a['UserManagerService']))],exports[_0x51a846(0x253)]);class cn extends a[_0x51a846(0x1bb)]{constructor(){var _0x54f2df=_0x51a846;super(...arguments),D(this,'_members',new Map()),D(this,_0x54f2df(0x1e1),new H[(_0x54f2df(0x149))](this[_0x54f2df(0x262)])),D(this,'members$',this[_0x54f2df(0x1e1)]['asObservable']());}[_0x51a846(0x334)](){var _0x4bc355=_0x51a846;this[_0x4bc355(0x262)][_0x4bc355(0x3ad)]();}[_0x51a846(0x3fc)](_0x4b566e){var _0x247e97=_0x51a846;this[_0x247e97(0x262)]['set'](_0x4b566e[_0x247e97(0x1f6)],_0x4b566e),this[_0x247e97(0x370)]();}[_0x51a846(0x46d)](_0x5594b3){var _0x507974=_0x51a846;this['_members'][_0x507974(0x299)](_0x5594b3);}[_0x51a846(0x179)](_0x465d8a){var _0x35df9b=_0x51a846;return this[_0x35df9b(0x262)][_0x35df9b(0x482)](_0x465d8a);}[_0x51a846(0x307)](){var _0x5c6525=_0x51a846;return Array[_0x5c6525(0x28c)](this['_members'][_0x5c6525(0x415)]());}['_emitMembers'](){var _0x477164=_0x51a846;this[_0x477164(0x1e1)][_0x477164(0x34b)](this[_0x477164(0x262)]);}}var hn=Object[_0x51a846(0x276)],ln=Object[_0x51a846(0x1be)],_n=(_0x3fc00a,_0xc75c57,_0x3fbf69,_0x490639)=>{var _0x36dc13=_0x51a846;for(var _0x2ebc61=_0x490639>0x1?void 0x0:_0x490639?ln(_0xc75c57,_0x3fbf69):_0xc75c57,_0x27cc7a=_0x3fc00a[_0x36dc13(0x457)]-0x1,_0x11658f;_0x27cc7a>=0x0;_0x27cc7a--)(_0x11658f=_0x3fc00a[_0x27cc7a])&&(_0x2ebc61=(_0x490639?_0x11658f(_0xc75c57,_0x3fbf69,_0x2ebc61):_0x11658f(_0x2ebc61))||_0x2ebc61);return _0x490639&&_0x2ebc61&&hn(_0xc75c57,_0x3fbf69,_0x2ebc61),_0x2ebc61;},oe=(_0x14d81f,_0x11f2b6)=>(_0x40d209,_0x33ca97)=>_0x11f2b6(_0x40d209,_0x33ca97,_0x14d81f),se=(_0x156feb=>(_0x156feb[_0x156feb[_0x51a846(0x18d)]=0x0]=_0x51a846(0x18d),_0x156feb[_0x156feb[_0x51a846(0x29e)]=0x1]='JOINING',_0x156feb[_0x156feb[_0x51a846(0x3d3)]=0x2]=_0x51a846(0x3d3),_0x156feb[_0x156feb[_0x51a846(0x169)]=0x3]=_0x51a846(0x169),_0x156feb))(se||{});const qe={[he[_0x51a846(0x2a7)]]:_0x51a846(0x492),[he[_0x51a846(0x1c4)]]:_0x51a846(0x486),[he['JOIN_ROOM_NOT_EXISTS']]:_0x51a846(0x465),[he['JOIN_ROOM_PERMISSION_DENIED']]:_0x51a846(0x279),[he[_0x51a846(0x3f7)]]:_0x51a846(0x1d8)};exports[_0x51a846(0x15e)]=class extends a[_0x51a846(0x324)]{constructor(_0x52e127,_0x485f2e,_0xeab27a,_0x3d058c,_0x55dc2f,_0x412e28,_0x22fad5,_0x1255fb,_0x51ecc6){var _0x2d309e=_0x51a846;super(),D(this,_0x2d309e(0x40a),new H['BehaviorSubject'](0x0)),D(this,_0x2d309e(0x422),this[_0x2d309e(0x40a)]['asObservable']()),D(this,'_event$',new H['Subject']()),D(this,'event$',this['_event$']['asObservable']()),D(this,_0x2d309e(0x1af)),D(this,_0x2d309e(0x2e2)),D(this,_0x2d309e(0x2a3)),D(this,_0x2d309e(0x255),!0x1),D(this,_0x2d309e(0x13c),null),(this[_0x2d309e(0x3bd)]=_0x52e127,this[_0x2d309e(0x24c)]=_0xeab27a,this[_0x2d309e(0x2b5)]=_0x3d058c,this['_localeService']=_0x55dc2f,this[_0x2d309e(0x476)]=_0x412e28,this[_0x2d309e(0x18e)]=_0x22fad5,this[_0x2d309e(0x427)]=_0x1255fb,this[_0x2d309e(0x30e)]=_0x51ecc6,this[_0x2d309e(0x255)]=!!this['_telemetryService'],_0x485f2e['pipe'](H[_0x2d309e(0x325)](this[_0x2d309e(0x2cb)]))[_0x2d309e(0x2ad)](_0x483dde=>{var _0x1dff39=_0x2d309e,_0x7d7803;typeof _0x483dde>'u'||(this['_socket']=_0x483dde,_0x483dde?(this[_0x1dff39(0x17f)](_0x483dde),this[_0x1dff39(0x2e2)]=_0x483dde['message$']['subscribe'](_0x393234=>{var _0x4d988f=_0x1dff39;_0x393234[_0x4d988f(0x2da)]===this[_0x4d988f(0x3bd)]&&this[_0x4d988f(0x1f3)](_0x393234);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x1dff39(0x40a)][_0x1dff39(0x34b)](0x2),(_0x7d7803=this[_0x1dff39(0x2e2)])==null||_0x7d7803['unsubscribe'](),this[_0x1dff39(0x2e2)]=null));}));}get[_0x51a846(0x42c)](){var _0x4c1675=_0x51a846;return this[_0x4c1675(0x40a)][_0x4c1675(0x21a)]();}['getMemberID'](){var _0x492105=_0x51a846,_0x24b1c1,_0x4c6d07;return(_0x4c6d07=(_0x24b1c1=this['_socket'])==null?void 0x0:_0x24b1c1[_0x492105(0x1f6)])!=null?_0x4c6d07:null;}[_0x51a846(0x334)](){var _0x3c8b91=_0x51a846;super[_0x3c8b91(0x334)](),this[_0x3c8b91(0x2cb)][_0x3c8b91(0x34b)](),this['dispose$'][_0x3c8b91(0x189)]();}[_0x51a846(0x312)](){var _0x31a06a=_0x51a846,_0xa93553,_0x88a094;this[_0x31a06a(0x137)](),(_0xa93553=this[_0x31a06a(0x1af)])==null||_0xa93553['send']({'cmd':G[_0x31a06a(0x127)],'data':{'roomID':this[_0x31a06a(0x3bd)]}}),(_0x88a094=this[_0x31a06a(0x1af)])==null||_0x88a094[_0x31a06a(0x312)](),this[_0x31a06a(0x1f4)][_0x31a06a(0x189)](),this[_0x31a06a(0x40a)]['complete'](),this[_0x31a06a(0x334)]();}['_onCombEvent'](_0x3ffcac){var _0x23e436=_0x51a846;_0x3ffcac[_0x23e436(0x316)]===G['JOIN']?this[_0x23e436(0x30a)](_0x3ffcac):_0x3ffcac[_0x23e436(0x316)]===G[_0x23e436(0x3b2)]&&this[_0x23e436(0x1a3)](_0x3ffcac);}[_0x51a846(0x17f)](_0x47ac21){var _0x2dfbf0=_0x51a846;this[_0x2dfbf0(0x40a)][_0x2dfbf0(0x34b)](0x1),_0x47ac21[_0x2dfbf0(0x1d3)]({'cmd':G[_0x2dfbf0(0x45e)],'routeKey':this[_0x2dfbf0(0x3bd)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2dfbf0(0x3bd)]}]}});}[_0x51a846(0x30a)](_0x15bcf0){var _0x3eb464=_0x51a846,_0x230786;if(_0x15bcf0['code']in qe){this['_collaborationUIEventService'][_0x3eb464(0x2ba)]({'id':Q['JOIN_ROOM_FAILED'],'data':qe[_0x15bcf0['code']]}),this['_sessionStatus$'][_0x3eb464(0x34b)](0x2);return;}this[_0x3eb464(0x40a)][_0x3eb464(0x34b)](0x3);const _0x511d27=(_0x230786=_0x15bcf0[_0x3eb464(0x1ef)][_0x3eb464(0x27b)][this[_0x3eb464(0x3bd)]])==null?void 0x0:_0x230786[_0x3eb464(0x2bc)];_0x511d27&&_0x511d27['forEach'](_0x5f4975=>this[_0x3eb464(0x476)][_0x3eb464(0x3fc)](this[_0x3eb464(0x3bd)],_0x5f4975));}[_0x51a846(0x1a3)](_0x927a8b){var _0x2fd78c=_0x51a846;try{const _0x18c3d5=_0x927a8b[_0x2fd78c(0x1ef)];switch(_0x18c3d5[_0x2fd78c(0x17d)]){case m[_0x2fd78c(0x215)][_0x2fd78c(0x472)]:this[_0x2fd78c(0x43b)](_0x18c3d5),this[_0x2fd78c(0x1f4)][_0x2fd78c(0x34b)](_0x18c3d5);break;case m[_0x2fd78c(0x215)][_0x2fd78c(0x30d)]:this[_0x2fd78c(0x181)](_0x18c3d5),this['_event$'][_0x2fd78c(0x34b)](_0x18c3d5);break;case m[_0x2fd78c(0x215)]['CHANGESET_ACK']:case m['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:this[_0x2fd78c(0x3ab)](),this[_0x2fd78c(0x421)](),this[_0x2fd78c(0x1f4)][_0x2fd78c(0x34b)](_0x18c3d5);break;case m[_0x2fd78c(0x215)][_0x2fd78c(0x29d)]:this[_0x2fd78c(0x24c)][_0x2fd78c(0x27d)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x18c3d5)),this[_0x2fd78c(0x1f4)][_0x2fd78c(0x34b)](_0x18c3d5);break;case m['CollaborationEvent']['COMMENT_UPDATE']:this[_0x2fd78c(0x18e)][_0x2fd78c(0x16f)](_0x18c3d5[_0x2fd78c(0x1ef)]),this[_0x2fd78c(0x1f4)][_0x2fd78c(0x34b)](_0x18c3d5);break;default:this[_0x2fd78c(0x1f4)][_0x2fd78c(0x34b)](_0x18c3d5);}}catch(_0x38310a){this[_0x2fd78c(0x24c)][_0x2fd78c(0x27d)](_0x38310a,_0x927a8b);}}[_0x51a846(0x43b)](_0x391d3b){var _0x1b57c8=_0x51a846;this[_0x1b57c8(0x476)][_0x1b57c8(0x3fc)](this[_0x1b57c8(0x3bd)],_0x391d3b[_0x1b57c8(0x1ef)]);}[_0x51a846(0x181)](_0x3ddaae){var _0x36df91=_0x51a846;this[_0x36df91(0x476)]['removeMember'](this[_0x36df91(0x3bd)],_0x3ddaae[_0x36df91(0x1ef)][_0x36df91(0x1f6)]);}async[_0x51a846(0x1d3)](_0x2cc8ca,_0xb33852){var _0xc7e8c5=_0x51a846;if(this[_0xc7e8c5(0x42c)]!==0x3||!this[_0xc7e8c5(0x1af)])throw new Error(_0xc7e8c5(0x3f2));try{_0x2cc8ca[_0xc7e8c5(0x17d)]===m['CollaborationEvent'][_0xc7e8c5(0x47f)]&&(this[_0xc7e8c5(0x2d1)](),this[_0xc7e8c5(0x1a4)](_0x2cc8ca)),this[_0xc7e8c5(0x1af)]['send']({'cmd':G[_0xc7e8c5(0x3b0)],'routeKey':_0xb33852,'routeType':'','data':_0x2cc8ca});}catch(_0x1f5fae){this['_logService'][_0xc7e8c5(0x27d)](_0x1f5fae);}}[_0x51a846(0x2d1)](){var _0x132695=_0x51a846,_0x42f080;this[_0x132695(0x2a3)]=setTimeout(()=>{var _0xb75dc9=_0x132695;this['_collaborationTimeoutTimer']=null,this[_0xb75dc9(0x427)][_0xb75dc9(0x2ba)]({'id':Q[_0xb75dc9(0x3ca)]});},(_0x42f080=this[_0x132695(0x2b5)][_0x132695(0x212)](He))!=null?_0x42f080:gt);}[_0x51a846(0x421)](){this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x10e3fa){var _0x18c962=_0x51a846;if(!this[_0x18c962(0x255)])return;const {data:_0x5d43d6}=_0x10e3fa,{unitID:_0x4ecbd6,changeset:_0x5450cf}=_0x5d43d6,{mutations:_0x280125,type:_0x4f6f4b}=_0x5450cf;this[_0x18c962(0x13c)]={'unitId':_0x4ecbd6,'type':_0x4f6f4b,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':rn(_0x280125)};}[_0x51a846(0x3ab)](){var _0x579877=_0x51a846;if(this[_0x579877(0x255)]){if(!this[_0x579877(0x13c)]){this[_0x579877(0x24c)]['error']('[CollaborationSession]',_0x579877(0x141));return;}this[_0x579877(0x13c)]['stopTime']=performance[_0x579877(0x351)](),this[_0x579877(0x13c)][_0x579877(0x1c8)]=this[_0x579877(0x13c)][_0x579877(0x379)]-this['_telemetryInfo'][_0x579877(0x2c7)],this[_0x579877(0x30e)][_0x579877(0x1ac)](nn,this['_telemetryInfo']),this[_0x579877(0x13c)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x37a79b=_0x51a846;this[_0x37a79b(0x13c)]=null;}},exports['CollaborationSession']=_n([oe(0x2,a[_0x51a846(0x113)]),oe(0x3,a[_0x51a846(0x349)]),oe(0x4,a[_0x51a846(0x191)](a['LocaleService'])),oe(0x5,a[_0x51a846(0x191)](exports[_0x51a846(0x253)])),oe(0x6,a[_0x51a846(0x191)](Be)),oe(0x7,a[_0x51a846(0x191)](te)),oe(0x8,a['Optional'](jt[_0x51a846(0x274)]))],exports[_0x51a846(0x15e)]);var un=Object[_0x51a846(0x276)],dn=Object[_0x51a846(0x1be)],vn=(_0x381849,_0x2688c1,_0x31e160,_0x475d0f)=>{var _0x405497=_0x51a846;for(var _0x5d9ad9=_0x475d0f>0x1?void 0x0:_0x475d0f?dn(_0x2688c1,_0x31e160):_0x2688c1,_0x36e68f=_0x381849[_0x405497(0x457)]-0x1,_0x5b27cb;_0x36e68f>=0x0;_0x36e68f--)(_0x5b27cb=_0x381849[_0x36e68f])&&(_0x5d9ad9=(_0x475d0f?_0x5b27cb(_0x2688c1,_0x31e160,_0x5d9ad9):_0x5b27cb(_0x5d9ad9))||_0x5d9ad9);return _0x475d0f&&_0x5d9ad9&&un(_0x2688c1,_0x31e160,_0x5d9ad9),_0x5d9ad9;},ae=(_0x40ef55,_0x7a7cee)=>(_0x103a5e,_0x344967)=>_0x7a7cee(_0x103a5e,_0x344967,_0x40ef55);exports[_0x51a846(0x2a2)]=class extends a['Disposable']{constructor(_0x4aa2e9,_0x1a9dbb,_0x50717a,_0x3bbfe2,_0x4cf641,_0x4c7ea7,_0x25faa5){var _0x1c63e7=_0x51a846;super(),D(this,_0x1c63e7(0x20c),new H[(_0x1c63e7(0x149))](void 0x0)),D(this,_0x1c63e7(0x30c),this[_0x1c63e7(0x20c)][_0x1c63e7(0x1c1)]()),D(this,_0x1c63e7(0x264),null),D(this,_0x1c63e7(0x44a),new Map()),D(this,_0x1c63e7(0x208),new H[(_0x1c63e7(0x149))](se[_0x1c63e7(0x18d)])),D(this,_0x1c63e7(0x368),this[_0x1c63e7(0x208)]['asObservable']()),D(this,_0x1c63e7(0x287),!0x1),D(this,'_retryConnectingTimer'),D(this,_0x1c63e7(0x296),0x0),D(this,_0x1c63e7(0x2f5)),D(this,_0x1c63e7(0x1ad)),(this['_injector']=_0x4aa2e9,this['_logService']=_0x1a9dbb,this[_0x1c63e7(0x2b5)]=_0x50717a,this['_socketService']=_0x3bbfe2,this[_0x1c63e7(0x2d5)]=_0x4cf641,this['_collaborationUIEventService']=_0x4c7ea7,this[_0x1c63e7(0x170)]=_0x25faa5,this[_0x1c63e7(0x3b6)]());}get['_socket'](){var _0x5d3ea0=_0x51a846;return this[_0x5d3ea0(0x20c)][_0x5d3ea0(0x21a)]();}[_0x51a846(0x3b6)](){var _0x471605=_0x51a846;this['_networkConditionService']&&this[_0x471605(0x2e9)](this[_0x471605(0x170)][_0x471605(0x2fa)][_0x471605(0x2ad)](_0x10723b=>{var _0x47dcfc=_0x471605;_0x10723b&&!this[_0x47dcfc(0x1af)]&&this[_0x47dcfc(0x3f4)](),_0x10723b||this[_0x47dcfc(0x485)]();}));}[_0x51a846(0x334)](){var _0x38a615=_0x51a846;super[_0x38a615(0x334)](),this[_0x38a615(0x44a)][_0x38a615(0x494)](_0x202e4e=>_0x202e4e['dispose']()),this['_sessions']['clear'](),this[_0x38a615(0x208)]['complete']();}async[_0x51a846(0x148)](_0x23356a){var _0x27a810=_0x51a846;if(this[_0x27a810(0x44a)]['has'](_0x23356a))return this[_0x27a810(0x44a)][_0x27a810(0x482)](_0x23356a);this['_tryEnsureSocket']();const _0x1ec042=this[_0x27a810(0x223)][_0x27a810(0x3e6)](exports[_0x27a810(0x15e)],_0x23356a,this['_socket$'][_0x27a810(0x1c1)]());return this['_sessions'][_0x27a810(0x451)](_0x23356a,_0x1ec042),_0x1ec042;}[_0x51a846(0x487)](_0xf7fdbb){var _0x296847=_0x51a846,_0x3ed4e0;const _0x262cbf=this['_sessions'][_0x296847(0x482)](_0xf7fdbb);_0x262cbf&&(this[_0x296847(0x44a)][_0x296847(0x299)](_0xf7fdbb),_0x262cbf[_0x296847(0x312)]()),this[_0x296847(0x44a)]['size']||(_0x3ed4e0=this[_0x296847(0x1af)])==null||_0x3ed4e0[_0x296847(0x312)]();}[_0x51a846(0x3f4)](){var _0x267c69=_0x51a846;this[_0x267c69(0x296)]=0x0,this[_0x267c69(0x488)]!=null&&(clearTimeout(this[_0x267c69(0x488)]),this[_0x267c69(0x488)]=null),this[_0x267c69(0x160)]();}async[_0x51a846(0x3ed)](){var _0x47b097=_0x51a846,_0x65571,_0x4304d7,_0x2e6894;const _0x59301c=this['_configService'][_0x47b097(0x212)](Y),_0x5e0135=(_0x65571=_0x59301c==null?void 0x0:_0x59301c['wsSessionTicketUrl'])!=null?_0x65571:Ft;return(_0x2e6894=(_0x4304d7=(await this[_0x47b097(0x2d5)][_0x47b097(0x482)](_0x5e0135,{'headers':{'Content-Type':_0x47b097(0x3c2)}}))[_0x47b097(0x29c)])==null?void 0x0:_0x4304d7['ticket'])!=null?_0x2e6894:'';}[_0x51a846(0x3d9)](_0x6393e5){var _0x256219=_0x51a846,_0xa0f068,_0xd6bae7;const _0x138081=this[_0x256219(0x2b5)][_0x256219(0x212)](St),_0x448ac1=this['_configService'][_0x256219(0x212)](Y),_0x39dfb9=(_0xd6bae7=(_0xa0f068=_0x448ac1==null?void 0x0:_0x448ac1['collabWebSocketUrl'])!=null?_0xa0f068:_0x138081)!=null?_0xd6bae7:pt,_0x18a904=typeof window>'u'?new URL(_0x39dfb9):new URL(_0x39dfb9,window[_0x256219(0x1a6)][_0x256219(0x26d)]);_0x18a904[_0x256219(0x267)][_0x256219(0x451)](_0x256219(0x2c5),_0x6393e5);const _0x2164e0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x256219(0x1a6)][_0x256219(0x36d)]);return _0x2164e0[_0x256219(0x482)]('runId')&&_0x18a904[_0x256219(0x267)][_0x256219(0x451)](_0x256219(0x386),_0x2164e0[_0x256219(0x482)](_0x256219(0x386))),_0x18a904[_0x256219(0x3b1)]();}async[_0x51a846(0x473)](){var _0x126304=_0x51a846;const _0x1953bc=await this[_0x126304(0x3ed)](),_0x575f65=this['_createSocketURL'](_0x1953bc),_0x22ec19=this[_0x126304(0x361)][_0x126304(0x2c4)](_0x575f65);return this[_0x126304(0x264)]=_0x22ec19,_0x22ec19;}async[_0x51a846(0x254)](){var _0x19275f=_0x51a846,_0x374a2b,_0x5417c9;try{const _0x2b63bf=(_0x5417c9=(_0x374a2b=this['_socket'])!=null?_0x374a2b:this[_0x19275f(0x264)])!=null?_0x5417c9:await this[_0x19275f(0x473)]();if(_0x2b63bf){const _0x182c0d=_0x2b63bf['send'];_0x2b63bf[_0x19275f(0x1d3)]=_0x4145c0=>(this[_0x19275f(0x43a)](),_0x182c0d[_0x19275f(0x2e8)](_0x2b63bf,[_0x4145c0])),_0x2b63bf[_0x19275f(0x19b)]['subscribe'](_0xe4768f=>this[_0x19275f(0x216)](_0x2b63bf,_0xe4768f)),_0x2b63bf[_0x19275f(0x233)]['pipe'](W['take'](0x1))['subscribe'](_0x72b3fb=>this[_0x19275f(0x24c)]['error'](_0x19275f(0x3c0),_0x72b3fb)),_0x2b63bf[_0x19275f(0x3a6)][_0x19275f(0x1fb)](W[_0x19275f(0x2c1)](0x1))[_0x19275f(0x2ad)](()=>{var _0xbdff2d=_0x19275f;this[_0xbdff2d(0x43e)](_0x2b63bf);}),_0x2b63bf[_0x19275f(0x456)][_0x19275f(0x1fb)](W['take'](0x1))[_0x19275f(0x2ad)](_0x57350f=>{var _0x30e6e6=_0x19275f;this[_0x30e6e6(0x24c)][_0x30e6e6(0x130)](_0x30e6e6(0x204),'socket\x20close',_0x57350f),this[_0x30e6e6(0x27c)]();});}}catch(_0x38ff6d){this[_0x19275f(0x24c)]['error'](_0x38ff6d),this[_0x19275f(0x27c)]();}}[_0x51a846(0x43e)](_0x2ead46){var _0x130695=_0x51a846;this['_logService']['debug'](_0x130695(0x204),_0x130695(0x2ef)),_0x2ead46['send']({'cmd':G[_0x130695(0x3ea)]}),this[_0x130695(0x43a)]();}[_0x51a846(0x485)](){var _0x4570a1=_0x51a846;this[_0x4570a1(0x287)]=!0x1,this[_0x4570a1(0x264)]=null,this[_0x4570a1(0x208)][_0x4570a1(0x34b)](se[_0x4570a1(0x3d3)]),this[_0x4570a1(0x20c)]['next'](null),this['_clearTimeoutTimer'](),this[_0x4570a1(0x247)]();}['_onConnectionFailed'](){var _0x252a41=_0x51a846,_0x3c2491;this[_0x252a41(0x485)](),this[_0x252a41(0x296)]<((_0x3c2491=this['_configService']['getConfig'](It))!=null?_0x3c2491:Vt)?(this[_0x252a41(0x427)][_0x252a41(0x2ba)]({'id':Q['SOCKET_FAILED_RETRY']}),this['_tryReconnect']()):this[_0x252a41(0x427)][_0x252a41(0x2ba)]({'id':Q[_0x252a41(0x323)]});}[_0x51a846(0x160)](){var _0x1bd33c=_0x51a846,_0x1259d5;const _0x36a640=this['_retryCount'],_0x2bcccd=this[_0x1bd33c(0x2b5)][_0x1bd33c(0x212)](Y),_0x571edb=_0x36a640===0x0?0x0:((_0x1259d5=_0x2bcccd==null?void 0x0:_0x2bcccd[_0x1bd33c(0x27e)])!=null?_0x1259d5:Gt)*0x2**_0x36a640;this[_0x1bd33c(0x488)]=setTimeout(()=>{var _0x14427e=_0x1bd33c;clearTimeout(this[_0x14427e(0x488)]),this[_0x14427e(0x488)]=null,this[_0x14427e(0x254)]();},_0x571edb),this[_0x1bd33c(0x296)]+=0x1;}[_0x51a846(0x216)](_0xf24e91,_0x561750){var _0x52218e=_0x51a846;const {cmd:_0x3877f3}=_0x561750;_0x3877f3===G[_0x52218e(0x3ea)]&&!this[_0x52218e(0x287)]&&(_0xf24e91['memberID']=_0x561750[_0x52218e(0x1ef)]['memberID'],this[_0x52218e(0x20c)]['next'](_0xf24e91),this['_status$'][_0x52218e(0x34b)](se[_0x52218e(0x169)]),this[_0x52218e(0x287)]=!0x0,this['_candidateSocket']=null),_0x3877f3===G[_0x52218e(0x136)]&&this[_0x52218e(0x34c)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x194339=_0x51a846,_0x381794;this[_0x194339(0x247)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x194339(0x390)](),(_0x381794=this[_0x194339(0x2b5)][_0x194339(0x212)](mt))!=null?_0x381794:Wt);}['_sendHeartbeat'](){var _0x30d6e4=_0x51a846;this[_0x30d6e4(0x1af)][_0x30d6e4(0x1d3)]({'cmd':G[_0x30d6e4(0x136)]}),this[_0x30d6e4(0x338)]();}['_waitForHeartbeatResponse'](){var _0x3337c6=_0x51a846,_0x5dc71d;this[_0x3337c6(0x1ad)]=setTimeout(()=>this[_0x3337c6(0x27c)](),(_0x5dc71d=this[_0x3337c6(0x2b5)]['getConfig'](He))!=null?_0x5dc71d:gt);}[_0x51a846(0x247)](){var _0x40fa3e=_0x51a846;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x40fa3e(0x2f5)]),this['_sendHeartbeatTimer']=null);}[_0x51a846(0x34c)](){var _0x21e997=_0x51a846;this[_0x21e997(0x1ad)]!=null&&(clearTimeout(this[_0x21e997(0x1ad)]),this['_timeoutTimer']=null);}},exports[_0x51a846(0x2a2)]=vn([ae(0x0,a[_0x51a846(0x191)](a[_0x51a846(0x388)])),ae(0x1,a[_0x51a846(0x113)]),ae(0x2,a[_0x51a846(0x349)]),ae(0x3,ke),ae(0x4,a['Inject'](q['HTTPService'])),ae(0x5,a['Inject'](te)),ae(0x6,a[_0x51a846(0x3d7)](Rt))],exports[_0x51a846(0x2a2)]);const V=[];for(let r=0x0;r<0x100;++r)V[_0x51a846(0x140)]((r+0x100)[_0x51a846(0x3b1)](0x10)[_0x51a846(0x2cf)](0x1));function fn(_0x721cfe,_0x4632f9=0x0){var _0x504da0=_0x51a846;return(V[_0x721cfe[_0x4632f9+0x0]]+V[_0x721cfe[_0x4632f9+0x1]]+V[_0x721cfe[_0x4632f9+0x2]]+V[_0x721cfe[_0x4632f9+0x3]]+'-'+V[_0x721cfe[_0x4632f9+0x4]]+V[_0x721cfe[_0x4632f9+0x5]]+'-'+V[_0x721cfe[_0x4632f9+0x6]]+V[_0x721cfe[_0x4632f9+0x7]]+'-'+V[_0x721cfe[_0x4632f9+0x8]]+V[_0x721cfe[_0x4632f9+0x9]]+'-'+V[_0x721cfe[_0x4632f9+0xa]]+V[_0x721cfe[_0x4632f9+0xb]]+V[_0x721cfe[_0x4632f9+0xc]]+V[_0x721cfe[_0x4632f9+0xd]]+V[_0x721cfe[_0x4632f9+0xe]]+V[_0x721cfe[_0x4632f9+0xf]])[_0x504da0(0x244)]();}let Pe;const Sn=new Uint8Array(0x10);function pn(){var _0x3f1fca=_0x51a846;if(!Pe){if(typeof crypto>'u'||!crypto[_0x3f1fca(0x17c)])throw new Error(_0x3f1fca(0x20f));Pe=crypto[_0x3f1fca(0x17c)]['bind'](crypto);}return Pe(Sn);}const mn=typeof crypto<'u'&&crypto[_0x51a846(0x375)]&&crypto['randomUUID'][_0x51a846(0x2cc)](crypto),ze={'randomUUID':mn};function gn(_0x29d4b8,_0x120fb9,_0x46889f){var _0x511b89=_0x51a846,_0x1b93c9,_0x376a41,_0x557472;if(ze[_0x511b89(0x375)]&&!_0x29d4b8)return ze['randomUUID']();_0x29d4b8=_0x29d4b8||{};const _0x3514c9=(_0x557472=(_0x376a41=_0x29d4b8['random'])!=null?_0x376a41:(_0x1b93c9=_0x29d4b8['rng'])==null?void 0x0:_0x1b93c9[_0x511b89(0x460)](_0x29d4b8))!=null?_0x557472:pn();if(_0x3514c9['length']<0x10)throw new Error(_0x511b89(0x34e));return _0x3514c9[0x6]=_0x3514c9[0x6]&0xf|0x40,_0x3514c9[0x8]=_0x3514c9[0x8]&0x3f|0x80,fn(_0x3514c9);}const z=a[_0x51a846(0x277)](_0x51a846(0x285));function In(_0x43280e){var _0x5a028c=_0x51a846;return _0x5a028c(0x45f)+_0x43280e;}var En=Object['defineProperty'],Cn=Object[_0x51a846(0x1be)],Tn=(_0x57334b,_0x400466,_0x4d6fb6,_0x5626b0)=>{var _0x24f109=_0x51a846;for(var _0x31976f=_0x5626b0>0x1?void 0x0:_0x5626b0?Cn(_0x400466,_0x4d6fb6):_0x400466,_0x59ef0f=_0x57334b[_0x24f109(0x457)]-0x1,_0x120837;_0x59ef0f>=0x0;_0x59ef0f--)(_0x120837=_0x57334b[_0x59ef0f])&&(_0x31976f=(_0x5626b0?_0x120837(_0x400466,_0x4d6fb6,_0x31976f):_0x120837(_0x31976f))||_0x31976f);return _0x5626b0&&_0x31976f&&En(_0x400466,_0x4d6fb6,_0x31976f),_0x31976f;},De=(_0x207969,_0x3a6ebb)=>(_0x2e13de,_0x348e12)=>_0x3a6ebb(_0x2e13de,_0x348e12,_0x207969);function bn(_0x41ed91){var _0xa1eedc=_0x51a846;const {unitID:_0x1b1eba,mutations:_0x203aea}=_0x41ed91;return{'unitId':_0x1b1eba,'subUnitId':_0x203aea[0x0][_0xa1eedc(0x3a9)][_0xa1eedc(0x39c)]};}exports[_0x51a846(0x15a)]=class{constructor(_0x2d50b8,_0x24ec83,_0x47c09f){var _0x485af2=_0x51a846;this[_0x485af2(0x223)]=_0x2d50b8,this[_0x485af2(0x283)]=_0x24ec83,this['_instanceService']=_0x47c09f;}['transformSelections'](_0x501998){var _0x5c2e50=_0x51a846,_0x1508e8,_0x19ada4,_0x546782,_0x4a43c0;const _0x4d180b=this[_0x5c2e50(0x223)]['get'](J[_0x5c2e50(0x15b)]),{unitId:_0x1eeacb,subUnitId:_0x1f60d2}=bn(_0x501998),_0x2dfa5e=_0x4d180b==null?void 0x0:_0x4d180b[_0x5c2e50(0x144)](_0x1eeacb)[_0x5c2e50(0x397)](),_0xd7b9b6=(_0x19ada4=(_0x1508e8=this[_0x5c2e50(0x3f5)][_0x5c2e50(0x38a)](_0x1eeacb))==null?void 0x0:_0x1508e8['getActiveSheet']())==null?void 0x0:_0x19ada4[_0x5c2e50(0x3df)]();if(_0x2dfa5e[_0x5c2e50(0x457)]===0x0||!_0x1eeacb||!_0x1f60d2)return;const _0x27a97c=[{'id':J[_0x5c2e50(0x133)]['id'],'params':{'unitId':_0x1eeacb,'subUnitId':_0xd7b9b6,'selections':a['Tools'][_0x5c2e50(0x335)](_0x2dfa5e)}}],_0x241d65=this['_transformService'][_0x5c2e50(0x16c)](_0x501998,_0x27a97c);if(!m['isTransformMutationsWithChangesetSuccess'](_0x241d65))throw _0x241d65['error'];const _0x5a892d=(_0x4a43c0=(_0x546782=_0x241d65[_0x5c2e50(0x380)][0x0])==null?void 0x0:_0x546782[_0x5c2e50(0x3a9)])==null?void 0x0:_0x4a43c0[_0x5c2e50(0x32d)];if(Array[_0x5c2e50(0x406)](_0x5a892d)&&_0x5a892d[_0x5c2e50(0x457)]){if(_0x5a892d[_0x5c2e50(0x457)]===_0x27a97c[0x0][_0x5c2e50(0x3a9)][_0x5c2e50(0x32d)][_0x5c2e50(0x457)]&&_0x5a892d['every']((_0x4b8be6,_0x3765c0)=>a[_0x5c2e50(0x384)]['equals'](_0x4b8be6[_0x5c2e50(0x32a)],_0x27a97c[0x0]['params'][_0x5c2e50(0x32d)][_0x3765c0][_0x5c2e50(0x32a)])))return;this[_0x5c2e50(0x223)][_0x5c2e50(0x482)](a[_0x5c2e50(0x20b)])[_0x5c2e50(0x21d)](J[_0x5c2e50(0x133)]['id'],{'unitId':_0x1eeacb,'subUnitId':_0xd7b9b6,'selections':_0x5a892d});}}},exports[_0x51a846(0x15a)]=Tn([De(0x0,a[_0x51a846(0x191)](a[_0x51a846(0x388)])),De(0x1,m[_0x51a846(0x2e4)]),De(0x2,a[_0x51a846(0x2fc)])],exports[_0x51a846(0x15a)]);const ve=a['createIdentifier'](_0x51a846(0x302));var Fe=(_0x409441=>(_0x409441[_0x409441[_0x51a846(0x1b5)]=0x0]=_0x51a846(0x1b5),_0x409441[_0x409441[_0x51a846(0x1e7)]=0x1]='OTHER_CLIENTS_EDITING',_0x409441))(Fe||{});const Rn=new Set([J[_0x51a846(0x326)]['id']]);function Je(_0x325228,_0x399953,_0x3edee5,_0x1d69d8,_0x17d9f1){var _0x347616=_0x51a846,_0xb9691e,_0x1c0229,_0x158444,_0x2f0a38;const _0x316a73=[];for(const _0x12f372 of _0x325228)if(Rn[_0x347616(0x234)](_0x12f372['id'])){if(_0x316a73['length']>0x0)break;_0x316a73[_0x347616(0x140)](_0x12f372);break;}else _0x316a73[_0x347616(0x140)](_0x12f372);const _0x34e59b=(_0x1c0229=(_0xb9691e=_0x17d9f1[_0x347616(0x291)]())==null?void 0x0:_0xb9691e['userID'])!=null?_0x1c0229:_0x347616(0x496),_0x53266e=(_0x2f0a38=(_0x158444=_0x17d9f1[_0x347616(0x291)]())==null?void 0x0:_0x158444[_0x347616(0x1f6)])!=null?_0x2f0a38:_0x347616(0x496);return{'changeset':{'unitID':_0x399953,'type':m[_0x347616(0x1a1)](_0x3edee5[_0x347616(0x2de)](_0x399953)),'baseRev':_0x1d69d8['getCurrentRevOfUnit'](_0x399953),'revision':0x0,'userID':_0x34e59b,'memberID':_0x53266e,'mutations':_0x316a73},'pendingMutations':_0x325228[_0x347616(0x2cf)](_0x316a73['length'])};}function On(_0x2c12d1,_0x96ca47,_0x241532,_0x3c817d,_0x8e6e3c){var _0x5973d8=_0x51a846,_0x53eafc,_0x473c11,_0x2400a3,_0x3d845e;const _0x2fb98c=[_0x2c12d1[_0x5973d8(0x2dd)]((_0x2c950b,_0xe7e7e4)=>{var _0x53565a=_0x5973d8,_0x5585eb;const {id:_0x8bbb7d}=_0x2c950b,{id:_0x2171b7,type:_0x1c4bf4}=_0xe7e7e4,_0x41d80b=(_0x5585eb=_0x2c950b[_0x53565a(0x3a9)])!=null?_0x5585eb:{'actions':null},_0x377a1d=_0xe7e7e4[_0x53565a(0x3a9)];if(_0x8bbb7d&&_0x8bbb7d!==_0x2171b7)throw new Error(_0x53565a(0x1f8)+_0x8bbb7d+'\x20-\x20'+_0x2171b7+'.');return{..._0x2c950b,'id':_0x2171b7,'type':_0x1c4bf4,'params':{'unitId':_0x377a1d[_0x53565a(0x2df)],'textRanges':_0x377a1d['textRanges'],'actions':a['JSONX'][_0x53565a(0x2f7)](_0x41d80b[_0x53565a(0x13b)],_0x377a1d[_0x53565a(0x13b)])}};},{})],_0x2f04ea=(_0x473c11=(_0x53eafc=_0x8e6e3c[_0x5973d8(0x291)]())==null?void 0x0:_0x53eafc[_0x5973d8(0x2ac)])!=null?_0x473c11:_0x5973d8(0x496),_0x5367aa=(_0x3d845e=(_0x2400a3=_0x8e6e3c[_0x5973d8(0x291)]())==null?void 0x0:_0x2400a3[_0x5973d8(0x1f6)])!=null?_0x3d845e:_0x5973d8(0x496);return{'changeset':{'unitID':_0x96ca47,'type':m[_0x5973d8(0x1a1)](_0x241532['getUnitType'](_0x96ca47)),'baseRev':_0x3c817d[_0x5973d8(0x3c3)](_0x96ca47),'revision':0x0,'userID':_0x2f04ea,'memberID':_0x5367aa,'mutations':_0x2fb98c},'pendingMutations':[]};}function Nt(_0x5e06e3,_0x4e5332){var _0x346192=_0x51a846;const _0xfb0bbc=new H[(_0x346192(0x226))](0x1);return setTimeout(()=>_0xfb0bbc[_0x346192(0x34b)](_0x4e5332),_0x5e06e3),_0xfb0bbc[_0x346192(0x1c1)]()[_0x346192(0x1fb)](H[_0x346192(0x2c1)](0x1));}const yn={'id':J['EmptyMutation']['id'],'type':a[_0x51a846(0x381)][_0x51a846(0x3e1)],'params':{}};var Nn=Object[_0x51a846(0x276)],Un=Object['getOwnPropertyDescriptor'],le=(_0x31d179,_0x104944,_0x204e21,_0x5e6d68)=>{for(var _0x3a8bcf=_0x5e6d68>0x1?void 0x0:_0x5e6d68?Un(_0x104944,_0x204e21):_0x104944,_0x46d2f2=_0x31d179['length']-0x1,_0x49d01a;_0x46d2f2>=0x0;_0x46d2f2--)(_0x49d01a=_0x31d179[_0x46d2f2])&&(_0x3a8bcf=(_0x5e6d68?_0x49d01a(_0x104944,_0x204e21,_0x3a8bcf):_0x49d01a(_0x3a8bcf))||_0x3a8bcf);return _0x5e6d68&&_0x3a8bcf&&Nn(_0x104944,_0x204e21,_0x3a8bcf),_0x3a8bcf;},A=(_0x55e7a3,_0x3ca4a6)=>(_0x52b5b6,_0x40b866)=>_0x3ca4a6(_0x52b5b6,_0x40b866,_0x55e7a3),We=(_0x353ba7=>(_0x353ba7[_0x51a846(0x2c3)]=_0x51a846(0x28b),_0x353ba7[_0x51a846(0x369)]=_0x51a846(0x185),_0x353ba7[_0x51a846(0x36b)]=_0x51a846(0x25e),_0x353ba7[_0x51a846(0x118)]=_0x51a846(0x442),_0x353ba7[_0x51a846(0x1f1)]=_0x51a846(0x3b3),_0x353ba7[_0x51a846(0x305)]=_0x51a846(0x31d),_0x353ba7['CONFLICT']='conflict',_0x353ba7['OFFLINE']=_0x51a846(0x37c),_0x353ba7))(We||{});const Ut=0xea60;class _e{constructor(_0x206aa9,_0x39035a,_0x250d12,_0x17aecb,_0x41ce13,_0x288f8f,_0xbeeaff,_0x2cac9a,_0x44d7d6){var _0x43226b=_0x51a846;D(this,_0x43226b(0x413),null),D(this,_0x43226b(0x376),[]),(this[_0x43226b(0x47c)]=_0x206aa9,this['type']=_0x39035a,this[_0x43226b(0x297)]=_0x41ce13,this[_0x43226b(0x1c7)]=_0x288f8f,this[_0x43226b(0x11e)]=_0xbeeaff,this[_0x43226b(0x126)]=_0x2cac9a,this['_localCacheService']=_0x44d7d6,this[_0x43226b(0x413)]=_0x250d12,this[_0x43226b(0x376)]=_0x17aecb);}[_0x51a846(0x195)](_0x2ead48){var _0x1f6af2=_0x51a846;const _0x4101f8=this[_0x1f6af2(0x126)][_0x1f6af2(0x3c3)](this[_0x1f6af2(0x47c)]);return _0x2ead48[_0x1f6af2(0x121)]>_0x4101f8+0x1?(this[_0x1f6af2(0x297)][_0x1f6af2(0x31f)]({'from':_0x4101f8,'to':_0x2ead48[_0x1f6af2(0x121)]-0x1}),!0x0):!0x1;}[_0x51a846(0x42d)](_0x1af942){var _0x335f10=_0x51a846;this[_0x335f10(0x11e)][_0x335f10(0x328)](this['unitID'],_0x1af942);}[_0x51a846(0x3cb)](_0x19153d){var _0x3b209a=_0x51a846,_0x179695,_0x24e914;(_0x24e914=(_0x179695=this[_0x3b209a(0x297)])[_0x3b209a(0x242)])==null||_0x24e914[_0x3b209a(0x460)](_0x179695,_0x19153d);}[_0x51a846(0x3e9)](_0x1d0a35){var _0x333549=_0x51a846,_0x1ab37f,_0x39c20d;return(_0x39c20d=(_0x1ab37f=this['_handler'])[_0x333549(0x38f)])==null?void 0x0:_0x39c20d[_0x333549(0x460)](_0x1ab37f,_0x1d0a35);}['_transformStateCache'](_0x293b69){var _0x4731b5=_0x51a846,_0x454ee8,_0x243552;return(_0x243552=(_0x454ee8=this['_handler'])[_0x4731b5(0x26a)])==null?void 0x0:_0x243552[_0x4731b5(0x460)](_0x454ee8,_0x293b69);}[_0x51a846(0x116)](_0x3df848){var _0xdf1a2=_0x51a846,_0x17ff4b,_0x445838,_0x4048b2;return(_0x4048b2=(_0x445838=(_0x17ff4b=this[_0xdf1a2(0x297)])[_0xdf1a2(0x3d2)])==null?void 0x0:_0x445838['call'](_0x17ff4b,_0x3df848))!=null?_0x4048b2:_0x3df848;}[_0x51a846(0x200)](_0x179e95){var _0x512de6=_0x51a846,_0x205885,_0x302ba1,_0x233c2f;return(_0x233c2f=(_0x302ba1=(_0x205885=this[_0x512de6(0x297)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x302ba1['call'](_0x205885,_0x179e95))!=null?_0x233c2f:_0x179e95;}[_0x51a846(0x435)](_0x39068b){var _0x39d2b7=_0x51a846,_0x29a0ce,_0x27c5b5;if(this[_0x39d2b7(0x3f0)]===Z[_0x39d2b7(0x1dc)]){const {unitID:_0x30dee8,mutations:_0x5e2a94,memberID:_0x385554}=_0x39068b,_0x20361e=_0x5e2a94[0x0][_0x39d2b7(0x3a9)][_0x39d2b7(0x2c0)];Array[_0x39d2b7(0x406)](_0x20361e)&&_0x20361e[_0x39d2b7(0x457)]>0x0&&((_0x27c5b5=(_0x29a0ce=this[_0x39d2b7(0x297)])[_0x39d2b7(0x432)])==null||_0x27c5b5[_0x39d2b7(0x460)](_0x29a0ce,{'unitID':_0x30dee8,'memberID':_0x385554,'textRanges':_0x20361e}));}}[_0x51a846(0x236)](){var _0x385410=_0x51a846,_0x1d3418;(_0x1d3418=this[_0x385410(0x38b)])==null||_0x1d3418[_0x385410(0x198)](this[_0x385410(0x47c)],this[_0x385410(0x3f0)],this[_0x385410(0x413)],this[_0x385410(0x376)]);}['_getCurrentRevision'](){var _0x23eb84=_0x51a846;return this[_0x23eb84(0x126)][_0x23eb84(0x3c3)](this[_0x23eb84(0x47c)]);}['_incrementRevisionNumber'](){var _0x1fa72c=_0x51a846;this[_0x1fa72c(0x126)][_0x1fa72c(0x205)](this[_0x1fa72c(0x47c)]);}[_0x51a846(0x119)](_0x456258){var _0x340ccd=_0x51a846,_0x300b91;let _0xe7f8fd=this[_0x340ccd(0x116)](_0x456258);_0xe7f8fd=this['_transformRemoteChangesetByStateCache'](_0xe7f8fd);const _0x2283a3=a[_0x340ccd(0x114)](_0xe7f8fd[_0x340ccd(0x443)],this['_commandService'],{'fromCollab':!0x0});if(!_0x2283a3['result'])throw _0x2283a3[_0x340ccd(0x27d)]instanceof Error?_0x2283a3[_0x340ccd(0x27d)]:new Error((_0x300b91=_0x2283a3[_0x340ccd(0x27d)])!=null?_0x300b91:_0x340ccd(0x3f1));this['_transformIMECache'](_0xe7f8fd),this[_0x340ccd(0x464)](_0xe7f8fd),this['_transformUndoredo'](_0x456258),this[_0x340ccd(0x3cb)](_0xe7f8fd),this[_0x340ccd(0x435)](_0xe7f8fd),this[_0x340ccd(0x3e8)]();}}exports[_0x51a846(0x383)]=class extends _e{constructor(_0x2ce469,_0x1e878c,_0x256e2b,_0xc7bfb9,_0x510de2,_0x597660,_0x4d2811,_0x467747,_0x1d954c,_0x8bd8cb){var _0x1cf1cf=_0x51a846;super(_0x2ce469,_0x1e878c,null,[],_0x256e2b,_0x4d2811,_0x597660,_0xc7bfb9,_0x8bd8cb),D(this,'status',_0x1cf1cf(0x185)),(this[_0x1cf1cf(0x223)]=_0x510de2,this[_0x1cf1cf(0x24c)]=_0x467747,this['_transformService']=_0x1d954c,this['localCacheService']=_0x8bd8cb);}[_0x51a846(0x3a1)](_0x2ea2bd){var _0x2de5ad=_0x51a846;const _0x2c1327=this[_0x2de5ad(0x223)][_0x2de5ad(0x3e6)](exports[_0x2de5ad(0x3ff)],this[_0x2de5ad(0x47c)],this[_0x2de5ad(0x3f0)],[_0x2ea2bd],this['_handler']);return _0x2c1327[_0x2de5ad(0x27f)](),_0x2c1327[_0x2de5ad(0x236)](),_0x2c1327;}[_0x51a846(0x187)](_0x2da416){var _0x55a68a=_0x51a846;if(this[_0x55a68a(0x195)](_0x2da416))return this[_0x55a68a(0x223)]['createInstance'](exports['FetchingMissState'],this[_0x55a68a(0x47c)],this[_0x55a68a(0x3f0)],null,[],null,[_0x2da416],this['_handler']);try{const _0x1ceac9=this[_0x55a68a(0x283)]['transformMutationsWithChangeset'](_0x2da416,[yn]);if(m[_0x55a68a(0x41c)](_0x1ceac9)){const {c1Prime:_0x336c7a}=_0x1ceac9;return this['_executeRemoteChangeset'](_0x336c7a),this;}throw _0x1ceac9[_0x55a68a(0x27d)];}catch(_0x2aaeb8){return this[_0x55a68a(0x24c)][_0x55a68a(0x27d)](_0x2aaeb8),this[_0x55a68a(0x2c6)](!0x1);}}[_0x51a846(0x2c6)](_0x38c13d){var _0x2369b2=_0x51a846;return this[_0x2369b2(0x223)][_0x2369b2(0x3e6)](exports[_0x2369b2(0x3cd)],this[_0x2369b2(0x47c)],this[_0x2369b2(0x3f0)],null,[],this[_0x2369b2(0x297)],_0x38c13d);}[_0x51a846(0x26c)](){var _0x2e8abe=_0x51a846;throw new Error(_0x2e8abe(0x273));}['onRemoteRej'](){var _0x2e5475=_0x51a846;throw new Error(_0x2e5475(0x243));}['onRemoteRetry'](){return this;}[_0x51a846(0x1b7)](){var _0x507c0a=_0x51a846;return this[_0x507c0a(0x223)]['createInstance'](exports[_0x507c0a(0x230)],this[_0x507c0a(0x47c)],this[_0x507c0a(0x3f0)],null,[],this[_0x507c0a(0x297)]);}[_0x51a846(0x1ca)](){return this;}[_0x51a846(0x28e)](){var _0xd8a640=_0x51a846;throw new Error(_0xd8a640(0x214));}[_0x51a846(0x2bf)](){var _0x36b66f=_0x51a846;const _0x1e7120=this[_0x36b66f(0x126)][_0x36b66f(0x3c3)](this[_0x36b66f(0x47c)]);return this[_0x36b66f(0x297)][_0x36b66f(0x31f)]({'from':_0x1e7120,'to':0x0}),this[_0x36b66f(0x223)][_0x36b66f(0x3e6)](exports[_0x36b66f(0x2dc)],this[_0x36b66f(0x47c)],this['type'],null,[],null,[],this[_0x36b66f(0x297)]);}},exports[_0x51a846(0x383)]=le([A(0x3,a['Inject'](m['RevisionService'])),A(0x4,a[_0x51a846(0x191)](a[_0x51a846(0x388)])),A(0x5,a[_0x51a846(0x489)]),A(0x6,a[_0x51a846(0x20b)]),A(0x7,a[_0x51a846(0x113)]),A(0x8,m[_0x51a846(0x2e4)]),A(0x9,a[_0x51a846(0x3d7)](z))],exports[_0x51a846(0x383)]),exports[_0x51a846(0x3ff)]=class extends _e{constructor(_0x228100,_0x47ea5b,_0x15878e,_0x50dce5,_0x2219f5,_0x4bfe75,_0x5b754e,_0x528d59,_0x165c9a,_0x3daf5b,_0x3679a3,_0x511ba0,_0x536677,_0x2d75df){var _0x21bea8=_0x51a846;super(_0x228100,_0x47ea5b,null,_0x15878e,_0x50dce5,_0x165c9a,_0x536677,_0x4bfe75,_0x2d75df),D(this,_0x21bea8(0x295),_0x21bea8(0x25e)),D(this,_0x21bea8(0x164),null),D(this,'_sendingTimer',null),(this['_injector']=_0x2219f5,this[_0x21bea8(0x476)]=_0x5b754e,this['_logService']=_0x528d59,this[_0x21bea8(0x2b5)]=_0x3daf5b,this[_0x21bea8(0x283)]=_0x3679a3,this[_0x21bea8(0x286)]=_0x511ba0);}[_0x51a846(0x3a1)](_0x12320e){var _0x3481eb=_0x51a846;return this[_0x3481eb(0x376)]['push'](_0x12320e),this[_0x3481eb(0x236)](),this;}[_0x51a846(0x187)](_0x1bd78c){var _0x61f414=_0x51a846;if(this[_0x61f414(0x195)](_0x1bd78c))return this['_clearScheduledTask'](),this[_0x61f414(0x223)]['createInstance'](exports['FetchingMissState'],this['unitID'],this['type'],null,this['_pendingMutations'],null,[_0x1bd78c],this[_0x61f414(0x297)]);try{const _0x2b2f49=this[_0x61f414(0x283)][_0x61f414(0x16c)](_0x1bd78c,this[_0x61f414(0x376)]);if(m['isTransformMutationsWithChangesetSuccess'](_0x2b2f49)){const {c1Prime:_0x3a49a0,m2Prime:_0x3794eb}=_0x2b2f49;this[_0x61f414(0x119)](_0x3a49a0);const _0x23ecd5=this[_0x61f414(0x223)][_0x61f414(0x3e6)](exports['PendingState'],this[_0x61f414(0x47c)],this[_0x61f414(0x3f0)],_0x3794eb,this[_0x61f414(0x297)]);this[_0x61f414(0x308)]();const _0x3618fb=new Date()[_0x61f414(0x393)](),_0x48aee9=this[_0x61f414(0x164)]?Math['max'](this[_0x61f414(0x164)]-_0x3618fb,0x0):this['_getSendChangesetTimeout']();return _0x23ecd5[_0x61f414(0x27f)](_0x48aee9),_0x23ecd5;}throw _0x2b2f49[_0x61f414(0x27d)];}catch(_0x56d348){return this[_0x61f414(0x24c)]['error'](_0x56d348),this[_0x61f414(0x2c6)](!0x1);}}[_0x51a846(0x26c)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x217799=_0x51a846;return this[_0x217799(0x308)](),this[_0x217799(0x223)][_0x217799(0x3e6)](exports['OfflineState'],this[_0x217799(0x47c)],this[_0x217799(0x3f0)],null,this['_pendingMutations'],this[_0x217799(0x297)]);}[_0x51a846(0x1ca)](){return this;}[_0x51a846(0x27f)](_0x5a8fde){var _0xe09eee=_0x51a846;const _0x4db004=_0x5a8fde!=null?_0x5a8fde:this[_0xe09eee(0x16e)]();this[_0xe09eee(0x164)]=new Date()['getTime']()+_0x4db004,this['_sendingTimer']=setTimeout(()=>{var _0x5757c6=_0xe09eee;this[_0x5757c6(0x308)]();let _0x2180a9=null;switch(this[_0x5757c6(0x3f0)]){case Z[_0x5757c6(0x207)]:{_0x2180a9=Je(this[_0x5757c6(0x376)],this[_0x5757c6(0x47c)],this[_0x5757c6(0x286)],this[_0x5757c6(0x126)],this['_memberService']);break;}case Z['UNIVER_DOC']:{this['_pendingMutations'][_0x5757c6(0x434)](_0x2d8ca5=>_0x2d8ca5['id']===dt[_0x5757c6(0x186)]['id'])?_0x2180a9=On(this['_pendingMutations'],this['unitID'],this[_0x5757c6(0x286)],this[_0x5757c6(0x126)],this[_0x5757c6(0x476)]):_0x2180a9=Je(this['_pendingMutations'],this['unitID'],this[_0x5757c6(0x286)],this[_0x5757c6(0x126)],this[_0x5757c6(0x476)]);break;}default:throw new Error(_0x5757c6(0x13e)+this[_0x5757c6(0x3f0)]+_0x5757c6(0x491));}const {changeset:_0xe132f9,pendingMutations:_0x414953}=_0x2180a9;this['_handler'][_0x5757c6(0x180)](_0xe132f9);const _0x5d6f8e=_0x414953[_0x5757c6(0x457)]?this[_0x5757c6(0x223)][_0x5757c6(0x3e6)](exports[_0x5757c6(0x2ce)],this[_0x5757c6(0x47c)],this[_0x5757c6(0x3f0)],_0xe132f9,_0x414953,this[_0x5757c6(0x297)],void 0x0):this['_injector'][_0x5757c6(0x3e6)](exports['AwaitingState'],this[_0x5757c6(0x47c)],this[_0x5757c6(0x3f0)],_0xe132f9,this['_handler']);_0x5d6f8e[_0x5757c6(0x236)](),this['_handler'][_0x5757c6(0x172)](this,_0x5d6f8e);},_0x4db004);}[_0x51a846(0x16e)](){var _0x59cd73=_0x51a846,_0x25fb61;const _0xa6d85b=this[_0x59cd73(0x2b5)][_0x59cd73(0x212)](Y);return(_0x25fb61=_0xa6d85b==null?void 0x0:_0xa6d85b[_0x59cd73(0x479)])!=null?_0x25fb61:Bt;}['resend'](){var _0x1c7cf0=_0x51a846;throw new Error(_0x1c7cf0(0x471));}[_0x51a846(0x308)](){var _0x144a90=_0x51a846;this[_0x144a90(0x263)]!=null&&(clearTimeout(this[_0x144a90(0x263)]),this[_0x144a90(0x263)]=null);}['_onConflict'](_0x15a084){var _0x37454b=_0x51a846;return this[_0x37454b(0x308)](),this[_0x37454b(0x223)][_0x37454b(0x3e6)](exports[_0x37454b(0x3cd)],this[_0x37454b(0x47c)],this[_0x37454b(0x3f0)],null,this[_0x37454b(0x376)],this['_handler'],_0x15a084);}},exports[_0x51a846(0x3ff)]=le([A(0x4,a[_0x51a846(0x191)](a[_0x51a846(0x388)])),A(0x5,a[_0x51a846(0x191)](m[_0x51a846(0x173)])),A(0x6,a[_0x51a846(0x191)](exports[_0x51a846(0x253)])),A(0x7,a[_0x51a846(0x113)]),A(0x8,a[_0x51a846(0x20b)]),A(0x9,a[_0x51a846(0x349)]),A(0xa,m[_0x51a846(0x2e4)]),A(0xb,a[_0x51a846(0x2fc)]),A(0xc,a[_0x51a846(0x489)]),A(0xd,a['Optional'](z))],exports['PendingState']),exports[_0x51a846(0x24d)]=class extends _e{constructor(_0x5d8a5f,_0x486363,_0x5b1c64,_0x294968,_0x457f26,_0x77b7e4,_0x2dba76,_0x21470f,_0x34c943,_0x44ae21,_0x2fd817){var _0x4447aa=_0x51a846;super(_0x5d8a5f,_0x486363,_0x5b1c64,[],_0x294968,_0x2dba76,_0x44ae21,_0x77b7e4,_0x2fd817),D(this,_0x4447aa(0x295),_0x4447aa(0x442)),D(this,_0x4447aa(0x39f),0x0),D(this,'_resendTimer'),D(this,'_sender'),(this[_0x4447aa(0x223)]=_0x457f26,this['_logService']=_0x21470f,this[_0x4447aa(0x283)]=_0x34c943);}['appendMutation'](_0x17f294){var _0x124370=_0x51a846;this[_0x124370(0x308)]();const _0x5aad07=this[_0x124370(0x223)]['createInstance'](exports[_0x124370(0x2ce)],this[_0x124370(0x47c)],this[_0x124370(0x3f0)],this['_awaitingChangeset'],[_0x17f294],this['_handler'],this['_resendTimer']);return _0x5aad07[_0x124370(0x236)](),_0x5aad07;}[_0x51a846(0x187)](_0x255225){var _0x564d64=_0x51a846;if(this[_0x564d64(0x195)](_0x255225))return this[_0x564d64(0x308)](),this[_0x564d64(0x223)][_0x564d64(0x3e6)](exports['FetchingMissState'],this[_0x564d64(0x47c)],this[_0x564d64(0x3f0)],this['_awaitingChangeset'],[],null,[_0x255225],this['_handler']);try{const _0x2fb918=this[_0x564d64(0x283)][_0x564d64(0x39d)]([_0x255225],[this[_0x564d64(0x413)]],!0x1);if(m['isTransformChangesetsSuccess'](_0x2fb918)){const {c1Prime:_0xb71343,c2Prime:_0x1a0293}=_0x2fb918;this[_0x564d64(0x119)](_0xb71343[0x0]),_0x1a0293[0x0][_0x564d64(0x2ca)]=this[_0x564d64(0x398)](),this[_0x564d64(0x308)]();const _0x198435=this[_0x564d64(0x223)][_0x564d64(0x3e6)](exports['AwaitingState'],this[_0x564d64(0x47c)],this[_0x564d64(0x3f0)],_0x1a0293[0x0],this[_0x564d64(0x297)]);return _0x198435[_0x564d64(0x236)](),_0x198435;}return this[_0x564d64(0x2c6)](!0x1);}catch(_0x469fd1){return this[_0x564d64(0x24c)][_0x564d64(0x27d)](_0x469fd1),this[_0x564d64(0x2c6)](!0x1);}}[_0x51a846(0x26c)](_0x5337bf){var _0x1ccdf7=_0x51a846;this[_0x1ccdf7(0x308)]();const _0x5c34ce=this[_0x1ccdf7(0x126)][_0x1ccdf7(0x3c3)](this[_0x1ccdf7(0x47c)]);if(_0x5337bf[_0x1ccdf7(0x121)]<_0x5c34ce-0x1)return this;if(this[_0x1ccdf7(0x195)](_0x5337bf))return this['_injector']['createInstance'](exports[_0x1ccdf7(0x2dc)],this[_0x1ccdf7(0x47c)],this[_0x1ccdf7(0x3f0)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x1ccdf7(0x3e8)]();const _0x181e65=this[_0x1ccdf7(0x223)][_0x1ccdf7(0x3e6)](exports[_0x1ccdf7(0x383)],this['unitID'],this['type'],this[_0x1ccdf7(0x297)]);return _0x181e65['_updateLocalCache'](),_0x181e65;}['onRemoteRej'](_0x1d0e93){var _0x594238=_0x51a846;return this[_0x594238(0x2c6)](!!(_0x1d0e93!=null&&_0x1d0e93['isPermissionRej']));}[_0x51a846(0x1fd)](_0x18ae9d){var _0x299db7=_0x51a846;return this[_0x299db7(0x39f)]>Ut?this['toggleOffline']():(this[_0x299db7(0x23c)]=Nt(this['_resendTimeout'],{'timeout':this[_0x299db7(0x39f)],'reqId':_0x18ae9d[_0x299db7(0x270)]}),this[_0x299db7(0x32b)]=this[_0x299db7(0x23c)][_0x299db7(0x2ad)](({reqId:_0x304072,timeout:_0x17e166})=>{var _0x2fb362=_0x299db7;this[_0x2fb362(0x135)](_0x304072,_0x17e166);}),this);}[_0x51a846(0x1b7)](){var _0x2c8b44=_0x51a846;return this['_clearScheduledTask'](),this[_0x2c8b44(0x223)]['createInstance'](exports[_0x2c8b44(0x230)],this['unitID'],this[_0x2c8b44(0x3f0)],this['_awaitingChangeset'],[],this[_0x2c8b44(0x297)]);}['toggleOnline'](){return this;}['resend'](){var _0x566525=_0x51a846;this[_0x566525(0x297)][_0x566525(0x180)](this[_0x566525(0x413)]);}['_onConflict'](_0x238a5c){var _0x1ee1d2=_0x51a846;return this['_clearScheduledTask'](),this[_0x1ee1d2(0x223)][_0x1ee1d2(0x3e6)](exports['ConflictState'],this['unitID'],this[_0x1ee1d2(0x3f0)],this['_awaitingChangeset'],[],this['_handler'],_0x238a5c);}[_0x51a846(0x135)](_0x1e89a9,_0x235172){var _0x188dbe=_0x51a846,_0x12e18d;_0x1e89a9===((_0x12e18d=this[_0x188dbe(0x413)])==null?void 0x0:_0x12e18d['reqId'])&&(this[_0x188dbe(0x28e)](),this[_0x188dbe(0x39f)]=_0x235172===0x0?0x3e8:_0x235172*0x2);}[_0x51a846(0x308)](){var _0x3740c2=_0x51a846,_0x392d29;(_0x392d29=this[_0x3740c2(0x32b)])==null||_0x392d29[_0x3740c2(0x128)](),this['_resendTimeout']=0x0;}},exports[_0x51a846(0x24d)]=le([A(0x4,a['Inject'](a[_0x51a846(0x388)])),A(0x5,a[_0x51a846(0x191)](m['RevisionService'])),A(0x6,a[_0x51a846(0x20b)]),A(0x7,a['ILogService']),A(0x8,m[_0x51a846(0x2e4)]),A(0x9,a[_0x51a846(0x489)]),A(0xa,a[_0x51a846(0x3d7)](z))],exports[_0x51a846(0x24d)]),exports['AwaitingWithPendingState']=class extends _e{constructor(_0x134680,_0x90101d,_0x32ff7d,_0x3dff06,_0x29189e,_0x45bf9a,_0x431a98,_0x54abad,_0x4e2bf4,_0x53699b,_0x2fdc00,_0x12fd4a,_0x454325){var _0x5d706e=_0x51a846;super(_0x134680,_0x90101d,_0x32ff7d,_0x3dff06,_0x29189e,_0x4e2bf4,_0x12fd4a,_0x54abad,_0x454325),D(this,_0x5d706e(0x295),_0x5d706e(0x3b3)),D(this,_0x5d706e(0x39f),0x0),D(this,_0x5d706e(0x23c)),D(this,_0x5d706e(0x32b)),(this[_0x5d706e(0x223)]=_0x431a98,this['_logService']=_0x53699b,this[_0x5d706e(0x283)]=_0x2fdc00,this['localCacheService']=_0x454325,_0x45bf9a&&(this[_0x5d706e(0x23c)]=_0x45bf9a,this[_0x5d706e(0x32b)]=this[_0x5d706e(0x23c)][_0x5d706e(0x2ad)](({reqId:_0x1c91ea,timeout:_0x4812fa})=>{var _0x418b43=_0x5d706e;this[_0x418b43(0x135)](_0x1c91ea,_0x4812fa);})));}[_0x51a846(0x3a1)](_0x3c44eb){var _0x5119e2=_0x51a846;return this[_0x5119e2(0x376)][_0x5119e2(0x140)](_0x3c44eb),this;}['onRemoteChangeset'](_0x225555){var _0x47cf02=_0x51a846;if(this[_0x47cf02(0x195)](_0x225555))return this['_clearScheduledTask'](),this[_0x47cf02(0x223)][_0x47cf02(0x3e6)](exports[_0x47cf02(0x2dc)],this['unitID'],this[_0x47cf02(0x3f0)],this[_0x47cf02(0x413)],this[_0x47cf02(0x376)],null,[_0x225555],this[_0x47cf02(0x297)]);try{const _0x55d6ca=this[_0x47cf02(0x283)][_0x47cf02(0x39d)]([_0x225555],[this[_0x47cf02(0x413)]],!0x1);if(m['isTransformChangesetsSuccess'](_0x55d6ca)){const {c1Prime:_0x3d4b3f,c2Prime:_0x37168f}=_0x55d6ca,_0x3066a8=this[_0x47cf02(0x283)]['transformMutationsWithChangeset'](_0x3d4b3f[0x0],this[_0x47cf02(0x376)]);if(m[_0x47cf02(0x41c)](_0x3066a8)){const {c1Prime:_0x5e6b12,m2Prime:_0xc65d22}=_0x3066a8;return this[_0x47cf02(0x119)](_0x5e6b12),_0x37168f[0x0][_0x47cf02(0x2ca)]=this[_0x47cf02(0x398)](),this['_clearScheduledTask'](),this[_0x47cf02(0x223)][_0x47cf02(0x3e6)](exports[_0x47cf02(0x2ce)],this['unitID'],this[_0x47cf02(0x3f0)],_0x37168f[0x0],_0xc65d22,this['_handler'],void 0x0);}throw _0x3066a8[_0x47cf02(0x27d)];}throw _0x55d6ca['error'];}catch(_0x12e493){return this[_0x47cf02(0x24c)][_0x47cf02(0x27d)](_0x12e493),this[_0x47cf02(0x2c6)](!0x1);}}[_0x51a846(0x26c)](_0x38cd51){var _0x3dd15f=_0x51a846;if(this[_0x3dd15f(0x308)](),this[_0x3dd15f(0x195)](_0x38cd51))return this[_0x3dd15f(0x223)][_0x3dd15f(0x3e6)](exports[_0x3dd15f(0x2dc)],this[_0x3dd15f(0x47c)],this[_0x3dd15f(0x3f0)],null,this[_0x3dd15f(0x376)],this[_0x3dd15f(0x413)],[],this[_0x3dd15f(0x297)]);this['_incrementRevisionNumber']();const _0x450cd7=this[_0x3dd15f(0x223)][_0x3dd15f(0x3e6)](exports['PendingState'],this[_0x3dd15f(0x47c)],this[_0x3dd15f(0x3f0)],this['_pendingMutations'],this['_handler']);return _0x450cd7[_0x3dd15f(0x27f)](),_0x450cd7[_0x3dd15f(0x236)](),_0x450cd7;}['onRemoteRej'](_0x48611f){var _0x317c41=_0x51a846;return this[_0x317c41(0x2c6)](!!(_0x48611f!=null&&_0x48611f[_0x317c41(0x48c)]));}[_0x51a846(0x1fd)](_0xa65908){var _0x3e4da3=_0x51a846;return this[_0x3e4da3(0x39f)]>Ut?this[_0x3e4da3(0x1b7)]():(this[_0x3e4da3(0x23c)]=Nt(this['_resendTimeout'],{'timeout':this[_0x3e4da3(0x39f)],'reqId':_0xa65908[_0x3e4da3(0x270)]}),this[_0x3e4da3(0x32b)]=this[_0x3e4da3(0x23c)][_0x3e4da3(0x2ad)](({reqId:_0x3a0cd8,timeout:_0x2f9920})=>{var _0xf93ebc=_0x3e4da3;this[_0xf93ebc(0x135)](_0x3a0cd8,_0x2f9920);}),this);}[_0x51a846(0x1b7)](){var _0x46f160=_0x51a846;return this[_0x46f160(0x308)](),this[_0x46f160(0x223)][_0x46f160(0x3e6)](exports[_0x46f160(0x230)],this[_0x46f160(0x47c)],this[_0x46f160(0x3f0)],this['_awaitingChangeset'],this[_0x46f160(0x376)],this[_0x46f160(0x297)]);}[_0x51a846(0x1ca)](){return this;}[_0x51a846(0x28e)](){var _0xd48846=_0x51a846;this['_handler']['onSendChangeset'](this[_0xd48846(0x413)]);}[_0x51a846(0x2c6)](_0x7592c5){var _0x2bbb10=_0x51a846;return this[_0x2bbb10(0x308)](),this[_0x2bbb10(0x223)][_0x2bbb10(0x3e6)](exports['ConflictState'],this['unitID'],this[_0x2bbb10(0x3f0)],null,this[_0x2bbb10(0x376)],this[_0x2bbb10(0x297)],_0x7592c5);}[_0x51a846(0x135)](_0xc2f95e,_0x32c4ad){var _0x3b125d=_0x51a846,_0x45ca22;_0xc2f95e===((_0x45ca22=this[_0x3b125d(0x413)])==null?void 0x0:_0x45ca22[_0x3b125d(0x270)])&&(this[_0x3b125d(0x28e)](),this[_0x3b125d(0x39f)]=_0x32c4ad===0x0?0x3e8:_0x32c4ad*0x2);}[_0x51a846(0x308)](){var _0x49a4bf=_0x51a846,_0x65029e;(_0x65029e=this[_0x49a4bf(0x32b)])==null||_0x65029e[_0x49a4bf(0x128)](),this[_0x49a4bf(0x39f)]=0x0;}},exports[_0x51a846(0x2ce)]=le([A(0x6,a[_0x51a846(0x191)](a[_0x51a846(0x388)])),A(0x7,a[_0x51a846(0x191)](m['RevisionService'])),A(0x8,a['ICommandService']),A(0x9,a[_0x51a846(0x113)]),A(0xa,m['ITransformService']),A(0xb,a[_0x51a846(0x489)]),A(0xc,a[_0x51a846(0x3d7)](z))],exports[_0x51a846(0x2ce)]),exports[_0x51a846(0x3cd)]=class extends _e{constructor(_0xc2d35c,_0x414150,_0x13b53f,_0x5e4288,_0x325576,_0x157c8f=!0x1,_0x2b95e5,_0x58febb,_0x4f8bd3,_0xb99a4d,_0x5863fb,_0x2756f4,_0x3ae143){var _0x2c12ea=_0x51a846;super(_0xc2d35c,_0x414150,_0x13b53f,_0x5e4288,_0x325576,_0x58febb,_0x4f8bd3,_0xb99a4d,_0x3ae143),D(this,_0x2c12ea(0x295),_0x2c12ea(0x45b)),(this[_0x2c12ea(0x27a)]=_0x157c8f,this[_0x2c12ea(0x1a5)]=_0x2b95e5,this[_0x2c12ea(0x3bc)]=_0x5863fb,this[_0x2c12ea(0x427)]=_0x2756f4,this[_0x2c12ea(0x426)]=_0x3ae143,this[_0x2c12ea(0x407)](),this[_0x2c12ea(0x1e8)](),this['_disableEditing']());}[_0x51a846(0x3a1)](){return this;}[_0x51a846(0x187)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x51a846(0x1fd)](){return this;}[_0x51a846(0x1b7)](){return this;}[_0x51a846(0x1ca)](){return this;}[_0x51a846(0x28e)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x153a08=_0x51a846,_0x5a3fcb;(_0x5a3fcb=this['_localCacheService'])==null||_0x5a3fcb[_0x153a08(0x198)](this[_0x153a08(0x47c)],this[_0x153a08(0x3f0)],null,[]);}['_showConflictNotification'](){var _0x40232b=_0x51a846;this[_0x40232b(0x27a)]?this[_0x40232b(0x427)][_0x40232b(0x2ba)]({'id':Q[_0x40232b(0x176)]}):this[_0x40232b(0x427)][_0x40232b(0x2ba)]({'id':Q[_0x40232b(0x25f)]});}[_0x51a846(0x38d)](){var _0x3faecf=_0x51a846;this[_0x3faecf(0x1a5)][_0x3faecf(0x33c)](new J['WorkbookEditablePermission'](this[_0x3faecf(0x47c)])['id'],!0x1);}},exports[_0x51a846(0x3cd)]=le([A(0x6,a[_0x51a846(0x191)](a[_0x51a846(0x29a)])),A(0x7,a[_0x51a846(0x20b)]),A(0x8,a[_0x51a846(0x489)]),A(0x9,a[_0x51a846(0x191)](m[_0x51a846(0x173)])),A(0xa,a[_0x51a846(0x191)](a[_0x51a846(0x203)])),A(0xb,a[_0x51a846(0x191)](te)),A(0xc,a['Optional'](z))],exports['ConflictState']),exports[_0x51a846(0x230)]=class extends _e{constructor(_0x5fdf2a,_0x487b0b,_0x55ca7c,_0x550502,_0x264cdc,_0x1e5460,_0x21a693,_0x702f09,_0x7ea861,_0x5a9ac7){var _0x5917f9=_0x51a846;super(_0x5fdf2a,_0x487b0b,_0x55ca7c,_0x550502,_0x264cdc,_0x702f09,_0x7ea861,_0x21a693,_0x5a9ac7),D(this,_0x5917f9(0x295),_0x5917f9(0x37c)),this[_0x5917f9(0x223)]=_0x1e5460;}['appendMutation'](_0x3b220e){var _0x1f3b8a=_0x51a846;return this['_pendingMutations'][_0x1f3b8a(0x140)](_0x3b220e),this[_0x1f3b8a(0x236)](),this;}[_0x51a846(0x187)](_0x2350b2){var _0x51f523=_0x51a846;throw new Error(_0x51f523(0x445));}[_0x51a846(0x26c)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x51a846(0x281)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x51a846(0x1fd)](){return this;}[_0x51a846(0x1b7)](){return this;}[_0x51a846(0x1ca)](){var _0x2fa2f4=_0x51a846;const {_injector:_0x3a9dc1,_pendingMutations:_0x136529,_awaitingChangeset:_0x37d3b1,unitID:_0x36c3ab,_handler:_0x8c1dbb,type:_0x3bb13a}=this,_0x1ea598=Pt(_0x3a9dc1,_0x36c3ab,_0x3bb13a,_0x37d3b1,_0x136529,_0x8c1dbb);return _0x1ea598 instanceof exports[_0x2fa2f4(0x3ff)]?_0x1ea598[_0x2fa2f4(0x27f)]():(_0x1ea598 instanceof exports[_0x2fa2f4(0x2ce)]||_0x1ea598 instanceof exports[_0x2fa2f4(0x24d)])&&_0x1ea598[_0x2fa2f4(0x28e)](),_0x1ea598;}['resend'](){var _0x4274f9=_0x51a846;throw new Error(_0x4274f9(0x374));}},exports[_0x51a846(0x230)]=le([A(0x5,a['Inject'](a[_0x51a846(0x388)])),A(0x6,a['Inject'](m[_0x51a846(0x173)])),A(0x7,a['ICommandService']),A(0x8,a[_0x51a846(0x489)]),A(0x9,a[_0x51a846(0x3d7)](z))],exports[_0x51a846(0x230)]),exports[_0x51a846(0x2dc)]=class extends _e{constructor(_0x45e1f2,_0x251c5a,_0x235df0,_0x894dfe,_0xce553c,_0x5ceaf2,_0x594afb,_0x114c4b,_0x53db57,_0x91e8f6,_0x18953f,_0x370d8d,_0x329442,_0x4353b5){var _0x557d95=_0x51a846;super(_0x45e1f2,_0x251c5a,_0x235df0,_0x894dfe,_0x594afb,_0x18953f,_0x370d8d,_0x53db57,_0x4353b5),D(this,_0x557d95(0x295),_0x557d95(0x31d)),(this['_acknowledgedAwaitingChangeset']=_0xce553c,this[_0x557d95(0x19c)]=_0x5ceaf2,this['_injector']=_0x114c4b,this[_0x557d95(0x24c)]=_0x91e8f6,this[_0x557d95(0x283)]=_0x329442,this[_0x557d95(0x426)]=_0x4353b5);}['onMissedChangesetFetched'](_0x5e7af1){var _0x8859ec=_0x51a846;try{const _0xbdfcf8=[..._0x5e7af1,...this[_0x8859ec(0x19c)]],_0x30546a=[this[_0x8859ec(0x413)]||this[_0x8859ec(0x2d2)]][_0x8859ec(0x314)](_0x257281=>!!_0x257281);let _0x373d4b,_0x84b598;if(_0x30546a[_0x8859ec(0x457)]){const _0xa43fe6=this['_transformService'][_0x8859ec(0x39d)](_0xbdfcf8,_0x30546a,!0x1);if(!m[_0x8859ec(0x1b3)](_0xa43fe6))throw _0xa43fe6[_0x8859ec(0x27d)];_0x373d4b=_0xa43fe6[_0x8859ec(0x385)],_0x84b598=_0xa43fe6[_0x8859ec(0x32c)];}else _0x373d4b=_0xbdfcf8,_0x84b598=[];let _0x559732=this['_pendingMutations'];_0x373d4b[_0x8859ec(0x494)](_0x8eae14=>{var _0x23d41b=_0x8859ec;let _0x23bd83;if(_0x559732[_0x23d41b(0x457)]){const _0xebebcb=this[_0x23d41b(0x283)]['transformMutationsWithChangeset'](_0x8eae14,_0x559732);if(!m[_0x23d41b(0x41c)](_0xebebcb))throw _0xebebcb[_0x23d41b(0x27d)];_0x23bd83=_0xebebcb[_0x23d41b(0x385)],_0x559732=_0xebebcb[_0x23d41b(0x380)];}else _0x23bd83=_0x8eae14;this['_executeRemoteChangeset'](_0x23bd83);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x8859ec(0x413)]&&_0x84b598['length']&&(_0x84b598[0x0][_0x8859ec(0x2ca)]=this['_getCurrentRevision']());let _0x37fa2f;if(this[_0x8859ec(0x413)]&&_0x559732[_0x8859ec(0x457)]!==0x0)_0x37fa2f=this['_injector'][_0x8859ec(0x3e6)](exports[_0x8859ec(0x2ce)],this['unitID'],this[_0x8859ec(0x3f0)],_0x84b598[0x0],_0x559732,this[_0x8859ec(0x297)],void 0x0);else{if(this[_0x8859ec(0x413)]&&_0x559732[_0x8859ec(0x457)]===0x0)_0x84b598[0x0][_0x8859ec(0x2ca)]=this[_0x8859ec(0x398)](),_0x37fa2f=this[_0x8859ec(0x223)][_0x8859ec(0x3e6)](exports[_0x8859ec(0x24d)],this[_0x8859ec(0x47c)],this[_0x8859ec(0x3f0)],_0x84b598[0x0],this[_0x8859ec(0x297)]);else{if(_0x559732['length']!==0x0){const _0x1ef56a=this[_0x8859ec(0x223)]['createInstance'](exports['PendingState'],this['unitID'],this['type'],_0x559732,this['_handler']);_0x1ef56a['_schedule'](),_0x37fa2f=_0x1ef56a;}else _0x37fa2f=this[_0x8859ec(0x223)][_0x8859ec(0x3e6)](exports[_0x8859ec(0x383)],this[_0x8859ec(0x47c)],this['type'],this[_0x8859ec(0x297)]);}}return _0x37fa2f[_0x8859ec(0x236)](),_0x37fa2f;}catch(_0x1abeab){return this['_logService'][_0x8859ec(0x27d)](_0x8859ec(0x177),_0x8859ec(0x438),_0x1abeab),this[_0x8859ec(0x223)][_0x8859ec(0x3e6)](exports[_0x8859ec(0x3cd)],this[_0x8859ec(0x47c)],this['type'],this[_0x8859ec(0x413)],this[_0x8859ec(0x376)],this[_0x8859ec(0x297)],!0x1);}}[_0x51a846(0x28e)](){var _0x58a816=_0x51a846;throw new Error(_0x58a816(0x463));}[_0x51a846(0x3a1)](_0x49b152){var _0xc34867=_0x51a846;return this[_0xc34867(0x376)][_0xc34867(0x140)](_0x49b152),this;}['onRemoteChangeset'](_0xe0acbb){var _0x570521=_0x51a846;return this['_queuedRemoteChangesets'][_0x570521(0x140)](_0xe0acbb),this;}[_0x51a846(0x26c)](_0x291ab8){var _0xbc0567=_0x51a846;if(this[_0xbc0567(0x413)])return this[_0xbc0567(0x2d2)]=this[_0xbc0567(0x413)],this[_0xbc0567(0x413)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x51a846(0x281)](_0x1504af){var _0x34655c=_0x51a846;return this[_0x34655c(0x2c6)](!!(_0x1504af!=null&&_0x1504af[_0x34655c(0x48c)]));}[_0x51a846(0x1fd)](){return this;}[_0x51a846(0x1b7)](){var _0x5b230a=_0x51a846;return this['_injector'][_0x5b230a(0x3e6)](exports[_0x5b230a(0x230)],this[_0x5b230a(0x47c)],this['type'],this[_0x5b230a(0x413)],this[_0x5b230a(0x376)],this[_0x5b230a(0x297)]);}['toggleOnline'](){return this;}[_0x51a846(0x2c6)](_0x5e57ef){var _0x344c1b=_0x51a846;return this[_0x344c1b(0x223)]['createInstance'](exports[_0x344c1b(0x3cd)],this[_0x344c1b(0x47c)],this[_0x344c1b(0x3f0)],this[_0x344c1b(0x413)],this[_0x344c1b(0x376)],this['_handler'],_0x5e57ef);}},exports['FetchingMissState']=le([A(0x7,a['Inject'](a[_0x51a846(0x388)])),A(0x8,a[_0x51a846(0x191)](m[_0x51a846(0x173)])),A(0x9,a[_0x51a846(0x113)]),A(0xa,a['ICommandService']),A(0xb,a[_0x51a846(0x489)]),A(0xc,m[_0x51a846(0x2e4)]),A(0xd,a[_0x51a846(0x3d7)](z))],exports['FetchingMissState']);function Pt(_0x2716ec,_0x5d15f3,_0x243954,_0x19b3af,_0x4415ba,_0x18a111){var _0x58b124=_0x51a846;return _0x19b3af&&_0x4415ba[_0x58b124(0x457)]?_0x2716ec['createInstance'](exports[_0x58b124(0x2ce)],_0x5d15f3,_0x243954,_0x19b3af,_0x4415ba,_0x18a111,void 0x0):_0x19b3af?_0x2716ec[_0x58b124(0x3e6)](exports[_0x58b124(0x24d)],_0x5d15f3,_0x243954,_0x19b3af,_0x18a111):_0x4415ba[_0x58b124(0x457)]?_0x2716ec[_0x58b124(0x3e6)](exports['PendingState'],_0x5d15f3,_0x243954,_0x4415ba,_0x18a111):_0x2716ec[_0x58b124(0x3e6)](exports[_0x58b124(0x383)],_0x5d15f3,_0x243954,_0x18a111);}var Pn=Object['defineProperty'],Dn=Object['getOwnPropertyDescriptor'],Ge=(_0xa061e0,_0xa6a64e,_0x32d125,_0x1426ff)=>{for(var _0x4edf5d=_0x1426ff>0x1?void 0x0:_0x1426ff?Dn(_0xa6a64e,_0x32d125):_0xa6a64e,_0x381613=_0xa061e0['length']-0x1,_0x126441;_0x381613>=0x0;_0x381613--)(_0x126441=_0xa061e0[_0x381613])&&(_0x4edf5d=(_0x1426ff?_0x126441(_0xa6a64e,_0x32d125,_0x4edf5d):_0x126441(_0x4edf5d))||_0x4edf5d);return _0x1426ff&&_0x4edf5d&&Pn(_0xa6a64e,_0x32d125,_0x4edf5d),_0x4edf5d;},k=(_0x2af41c,_0x216e87)=>(_0x38b6c4,_0x3df3b9)=>_0x216e87(_0x38b6c4,_0x3df3b9,_0x2af41c);exports['CollaborationEntity']=class extends a['RxDisposable']{constructor(_0x5bea0d,_0x539282,_0x9237e8,_0x2040fe,_0x40caf9,_0x28a79b,_0x4cf5f2,_0xf80a48,_0x58bf7c,_0x288055,_0x447191,_0x299f02,_0x45448e){var _0x13e150=_0x51a846;super(),D(this,_0x13e150(0x190),new H[(_0x13e150(0x149))](null)),D(this,_0x13e150(0x3ee),this['_state$'][_0x13e150(0x1c1)]()),D(this,_0x13e150(0x35a)),D(this,_0x13e150(0x417),!0x1),D(this,_0x13e150(0x430),''),D(this,_0x13e150(0x1c3),0x0),D(this,_0x13e150(0x368),this[_0x13e150(0x3ee)]['pipe'](H[_0x13e150(0x322)](_0x5a946e=>_0x5a946e?_0x5a946e['status']:We['OFFLINE']),H[_0x13e150(0x309)](0x1))),D(this,'_transitionLocked',!0x1),D(this,_0x13e150(0x265),[]),(this['unitID']=_0x5bea0d,this[_0x13e150(0x3cc)]=_0x539282,this['_type']=_0x9237e8,this[_0x13e150(0x223)]=_0x2040fe,this['_compressMutationService']=_0x40caf9,this[_0x13e150(0x3bc)]=_0x28a79b,this[_0x13e150(0x126)]=_0x4cf5f2,this[_0x13e150(0x330)]=_0xf80a48,this[_0x13e150(0x24c)]=_0x58bf7c,this[_0x13e150(0x1c7)]=_0x288055,this[_0x13e150(0x1a5)]=_0x447191,this[_0x13e150(0x3e4)]=_0x299f02,this[_0x13e150(0x38b)]=_0x45448e);}get[_0x51a846(0x1e6)](){var _0xcd73e3=_0x51a846;return this[_0xcd73e3(0x35a)];}async[_0x51a846(0x436)](){var _0x297bca=_0x51a846;if(this[_0x297bca(0x1e6)])throw new Error(_0x297bca(0x46f));await this[_0x297bca(0x3bb)]();}['pauseCollaboration'](){var _0x4487c0=_0x51a846;return this[_0x4487c0(0x417)]=!0x0,a[_0x4487c0(0x448)](()=>{var _0x4f6b56=_0x4487c0;this[_0x4f6b56(0x417)]=!0x1,this[_0x4f6b56(0x1a7)]();});}[_0x51a846(0x28d)](_0x5a1bcc){var _0x9cbe8f=_0x51a846;this[_0x9cbe8f(0x166)](_0x5a1bcc);}[_0x51a846(0x395)](_0x542917){var _0xbc008a=_0x51a846;this[_0xbc008a(0x35a)]=_0x542917,this['_state$'][_0xbc008a(0x34b)](_0x542917);}async[_0x51a846(0x3bb)](){var _0x189859=_0x51a846,_0x5f440d;this['_updateState'](await this[_0x189859(0x34d)]()),this[_0x189859(0x3e4)]&&((_0x5f440d=this[_0x189859(0x3e4)])==null||_0x5f440d[_0x189859(0x26b)](this[_0x189859(0x47c)]),this[_0x189859(0x2e9)](this[_0x189859(0x3e4)][_0x189859(0x168)](this[_0x189859(0x47c)])[_0x189859(0x2ad)](_0x45d68b=>{var _0x35a923=_0x189859;this[_0x35a923(0x24c)][_0x35a923(0x130)](_0x35a923(0x3b8),_0x35a923(0x259),_0x45d68b),_0x45d68b===Fe[_0x35a923(0x1e7)]?(this['_eventService'][_0x35a923(0x2ba)]({'id':Q[_0x35a923(0x150)]}),this[_0x35a923(0x1a5)][_0x35a923(0x33c)](new J['WorkbookEditablePermission'](this[_0x35a923(0x47c)])['id'],!0x1),this[_0x35a923(0x1a5)][_0x35a923(0x428)](!0x1)):(this[_0x35a923(0x1a5)]['updatePermissionPoint'](new J[(_0x35a923(0x22b))](this[_0x35a923(0x47c)])['id'],!0x0),this[_0x35a923(0x1a5)][_0x35a923(0x428)](!0x0));})));let _0x161bd9=!0x1;return this['disposeWithMe'](this[_0x189859(0x3cc)]['sessionStatus$'][_0x189859(0x2ad)](_0x129cfc=>{var _0x23fcd5=_0x189859;_0x129cfc===se['ONLINE']?this['_toggleOnline'](_0x161bd9):_0x129cfc===se['OFFLINE']&&(_0x161bd9=!0x0,this[_0x23fcd5(0x257)]());})),this[_0x189859(0x2e9)](this['session'][_0x189859(0x3fe)]['subscribe'](_0x158b23=>{var _0x2dad4c=_0x189859;try{switch(_0x158b23['eventID']){case m[_0x2dad4c(0x215)][_0x2dad4c(0x365)]:{this[_0x2dad4c(0x377)](m[_0x2dad4c(0x184)](_0x158b23[_0x2dad4c(0x1ef)]));break;}case m[_0x2dad4c(0x215)][_0x2dad4c(0x2e7)]:{this[_0x2dad4c(0x350)](_0x158b23['data']);break;}case m[_0x2dad4c(0x215)][_0x2dad4c(0x437)]:{this[_0x2dad4c(0x1da)]();break;}case m[_0x2dad4c(0x215)]['CHANGESET_SHOULD_RETRY']:{this[_0x2dad4c(0x1c2)](_0x158b23['data']);break;}case m[_0x2dad4c(0x215)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x2dad4c(0x3e3)](_0x158b23['data']['changesets']['map'](_0x3aecbf=>m[_0x2dad4c(0x184)](_0x3aecbf)));break;}case m[_0x2dad4c(0x215)][_0x2dad4c(0x303)]:{this[_0x2dad4c(0x1da)]({'isPermissionRej':!0x0});break;}case m['CollaborationEvent'][_0x2dad4c(0x378)]:break;}}catch(_0x467b0e){throw console[_0x2dad4c(0x27d)](_0x2dad4c(0x1d0),_0x467b0e),_0x467b0e;}})),this[_0x189859(0x35a)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x51a846(0x25b)](){var _0x1a94e6=_0x51a846;if(this[_0x1a94e6(0x346)])throw new Error(_0x1a94e6(0x3de));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x492163){var _0x44968c=_0x51a846;this[_0x44968c(0x25b)](),this[_0x44968c(0x395)](this[_0x44968c(0x35a)][_0x44968c(0x3a1)](_0x492163)),this[_0x44968c(0x3f6)]();}[_0x51a846(0x377)](_0xd43bab){var _0x187f99=_0x51a846;if(!(_0xd43bab['revision']<=this[_0x187f99(0x126)][_0x187f99(0x3c3)](this[_0x187f99(0x47c)]))){if(this['_collaborationPaused']){this[_0x187f99(0x265)][_0x187f99(0x140)](_0xd43bab);return;}this[_0x187f99(0x332)](_0xd43bab);}}[_0x51a846(0x1a7)](){var _0x5c0adf=_0x51a846;this[_0x5c0adf(0x265)]['forEach'](_0x26cc2f=>this[_0x5c0adf(0x332)](_0x26cc2f)),this[_0x5c0adf(0x265)]=[];}[_0x51a846(0x332)](_0xc73ec8){var _0x552256=_0x51a846;const _0x80805c=this[_0x552256(0x1f0)][_0x552256(0x2ec)][_0x552256(0x15f)](this[_0x552256(0x1f0)][_0x552256(0x2ec)][_0x552256(0x352)]()[_0x552256(0x468)])(_0xc73ec8[_0x552256(0x443)],null)||_0xc73ec8['mutations'],_0x49cbf0={..._0xc73ec8,'mutations':_0x80805c};this[_0x552256(0x25b)](),this[_0x552256(0x395)](this[_0x552256(0x35a)][_0x552256(0x187)](_0x49cbf0)),this[_0x552256(0x3f6)]();}[_0x51a846(0x350)](_0x2dfb78){var _0x4cceb9=_0x51a846;this[_0x4cceb9(0x25b)](),this[_0x4cceb9(0x395)](this[_0x4cceb9(0x35a)][_0x4cceb9(0x26c)](_0x2dfb78)),this[_0x4cceb9(0x3f6)]();}[_0x51a846(0x1da)](_0x3a6cb4){var _0x2117ca=_0x51a846;this[_0x2117ca(0x25b)](),this[_0x2117ca(0x395)](this[_0x2117ca(0x35a)]['onRemoteRej'](_0x3a6cb4)),this[_0x2117ca(0x3f6)]();}[_0x51a846(0x1c2)](_0x4f095f){var _0x35119b=_0x51a846;this[_0x35119b(0x25b)](),this[_0x35119b(0x395)](this[_0x35119b(0x35a)][_0x35119b(0x1fd)](_0x4f095f)),this[_0x35119b(0x3f6)]();}[_0x51a846(0x3e3)](_0x5a8493){var _0xc835e4=_0x51a846;if(!(this[_0xc835e4(0x35a)]instanceof exports['FetchingMissState']))throw new TypeError(_0xc835e4(0x461));const _0x1cb14d=_0x5a8493['map'](_0x58fbb3=>{var _0x215b04=_0xc835e4;const _0x4f38ec=this[_0x215b04(0x1f0)][_0x215b04(0x2ec)][_0x215b04(0x15f)](this[_0x215b04(0x1f0)][_0x215b04(0x2ec)]['getInterceptPoints']()[_0x215b04(0x468)])(_0x58fbb3[_0x215b04(0x443)],null)||_0x58fbb3[_0x215b04(0x443)];return{..._0x58fbb3,'mutations':_0x4f38ec};});this[_0xc835e4(0x25b)](),this[_0xc835e4(0x395)](this['_state'][_0xc835e4(0x298)](_0x1cb14d)),this['_unlockTransition']();}[_0x51a846(0x257)](){var _0x3da9e2=_0x51a846;this[_0x3da9e2(0x25b)](),this['_updateState'](this[_0x3da9e2(0x35a)]['toggleOffline']()),this['_unlockTransition']();}[_0x51a846(0x196)](_0x52656d=!0x1){var _0x2d004d=_0x51a846;this[_0x2d004d(0x25b)](),this[_0x2d004d(0x395)](this[_0x2d004d(0x35a)][_0x2d004d(0x1ca)]()),this['_unlockTransition']();const _0x2dd1d7=this[_0x2d004d(0x35a)];_0x52656d&&_0x2dd1d7 instanceof exports[_0x2d004d(0x383)]&&(this[_0x2d004d(0x25b)](),this[_0x2d004d(0x395)](_0x2dd1d7[_0x2d004d(0x2bf)]()),this[_0x2d004d(0x3f6)]());}async['_createInitialState'](){return new Promise(_0x3a1e6e=>{var _0x3d4f56=_0x2a70;this['session'][_0x3d4f56(0x422)][_0x3d4f56(0x1fb)](H[_0x3d4f56(0x2c1)](0x1))[_0x3d4f56(0x2ad)](async _0x44924b=>{var _0x3ca5fe=_0x3d4f56;_0x3a1e6e(await this[_0x3ca5fe(0x35f)](_0x44924b===se['ONLINE']));});});}[_0x51a846(0x202)](){var _0x82e759=_0x51a846;const _0x46209f=this[_0x82e759(0x47c)];return{'onStateChange':(_0x297822,_0x355dff)=>{var _0x419e47=_0x82e759;if(_0x297822!==this[_0x419e47(0x35a)])throw new Error(_0x419e47(0x327)+_0x297822[_0x419e47(0x295)]+_0x419e47(0x343)+_0x355dff[_0x419e47(0x295)]+_0x419e47(0x227)+this[_0x419e47(0x35a)][_0x419e47(0x295)]);this[_0x419e47(0x395)](_0x355dff);},'onSendChangeset':_0x378293=>{var _0x517209=_0x82e759;_0x378293[_0x517209(0x353)]||(_0x378293[_0x517209(0x353)]=this[_0x517209(0x430)],_0x378293['reqId']=++this['_changesetReqId']);const _0x1d44f7={'eventID':m[_0x517209(0x215)][_0x517209(0x47f)],'data':{'unitID':_0x378293[_0x517209(0x47c)],'unitType':this['_type'],'changeset':_0x378293,'memberID':this[_0x517209(0x3cc)]['getMemberID']()}};this[_0x517209(0x3cc)]['send'](_0x1d44f7,this[_0x517209(0x47c)]);},'onMissingChangesets':({from:_0x51ad07,to:_0xe7d220})=>{var _0x359d17=_0x82e759;this[_0x359d17(0x24c)][_0x359d17(0x130)](_0x359d17(0x3b8),_0x359d17(0x17e)+_0x51ad07+'\x20to\x20'+_0xe7d220);const _0x36d9e4={'eventID':m[_0x359d17(0x215)]['FETCH_MISSING'],'data':{'unitID':_0x46209f,'unitType':this[_0x359d17(0x1aa)],'from':_0x51ad07,'to':_0xe7d220}};this[_0x359d17(0x3cc)][_0x359d17(0x1d3)](_0x36d9e4,this[_0x359d17(0x47c)]);}};}async[_0x51a846(0x35f)](_0x10e6dc){var _0x2c0d43=_0x51a846,_0x33c0a8,_0x2fa940,_0x20c15f;const _0xa76ec=await((_0x33c0a8=this[_0x2c0d43(0x38b)])==null?void 0x0:_0x33c0a8[_0x2c0d43(0x483)](this[_0x2c0d43(0x47c)])),_0x483c7a=(_0x2fa940=_0xa76ec==null?void 0x0:_0xa76ec[_0x2c0d43(0x443)])!=null?_0x2fa940:[],_0x389304=(_0x20c15f=_0xa76ec==null?void 0x0:_0xa76ec[_0x2c0d43(0x210)])!=null?_0x20c15f:null,_0x3c0a42=!!(_0x389304!=null&&_0x389304[_0x2c0d43(0x353)])&&!!(_0x389304!=null&&_0x389304[_0x2c0d43(0x270)]);this[_0x2c0d43(0x430)]=_0x3c0a42?_0x389304[_0x2c0d43(0x353)]:gn(),this[_0x2c0d43(0x1c3)]=_0x3c0a42?_0x389304['reqId']:0x0;const _0x3194de=this[_0x2c0d43(0x47c)];try{this['_replayCachedMutations'](_0x389304,_0x483c7a);}catch(_0x538058){this[_0x2c0d43(0x24c)][_0x2c0d43(0x27d)](_0x538058);}const _0x57a109=this[_0x2c0d43(0x202)]();if(_0x10e6dc){const _0xd9ffc5=Pt(this['_injector'],_0x3194de,this[_0x2c0d43(0x1aa)],_0x389304,_0x483c7a,_0x57a109);return _0xd9ffc5 instanceof exports[_0x2c0d43(0x3ff)]?_0xd9ffc5[_0x2c0d43(0x27f)]():(_0xd9ffc5 instanceof exports[_0x2c0d43(0x2ce)]||_0xd9ffc5 instanceof exports['AwaitingState'])&&_0xd9ffc5[_0x2c0d43(0x28e)](),_0xd9ffc5;}return this[_0x2c0d43(0x223)][_0x2c0d43(0x3e6)](exports[_0x2c0d43(0x230)],_0x3194de,this[_0x2c0d43(0x1aa)],_0x389304,_0x483c7a,_0x57a109);}[_0x51a846(0x13f)](_0x2ae3d7,_0x5c44b0){var _0x2e3160=_0x51a846,_0x285e6b,_0x556d38;const _0xa2268=this[_0x2e3160(0x1f0)][_0x2e3160(0x2ec)][_0x2e3160(0x15f)](this[_0x2e3160(0x1f0)][_0x2e3160(0x2ec)][_0x2e3160(0x352)]()[_0x2e3160(0x468)]);(_0x285e6b=_0xa2268((_0x2ae3d7==null?void 0x0:_0x2ae3d7[_0x2e3160(0x443)])||[],null))==null||_0x285e6b[_0x2e3160(0x494)](_0x64bee5=>this[_0x2e3160(0x1c7)]['executeCommand'](_0x64bee5['id'],_0x64bee5[_0x2e3160(0x3a9)])),(_0x556d38=_0xa2268(_0x5c44b0||[],null))==null||_0x556d38[_0x2e3160(0x494)](_0x57b1c7=>this[_0x2e3160(0x1c7)][_0x2e3160(0x21d)](_0x57b1c7['id'],_0x57b1c7[_0x2e3160(0x3a9)]));}},exports['CollaborationEntity']=Ge([k(0x3,a[_0x51a846(0x191)](a[_0x51a846(0x388)])),k(0x4,a[_0x51a846(0x191)](m['CompressMutationService'])),k(0x5,a[_0x51a846(0x191)](a[_0x51a846(0x203)])),k(0x6,a[_0x51a846(0x191)](m['RevisionService'])),k(0x7,a[_0x51a846(0x191)](te)),k(0x8,a['ILogService']),k(0x9,a[_0x51a846(0x20b)]),k(0xa,a[_0x51a846(0x29a)]),k(0xb,a[_0x51a846(0x3d7)](ve)),k(0xc,a[_0x51a846(0x3d7)](z))],exports[_0x51a846(0x157)]),exports[_0x51a846(0x441)]=class extends exports[_0x51a846(0x157)]{constructor(_0x4514a3,_0x4906c7,_0x3e4442,_0x5c5d8e,_0x14e7c5,_0x15c524,_0x21e8cf,_0x3121ec,_0x23dc80,_0x5175e2,_0x6bb0e1,_0x32d24a,_0x4808e1){var _0x5aa368=_0x51a846;super(_0x4514a3,_0x3e4442,_0x4906c7,_0x5c5d8e,_0x14e7c5,_0x15c524,_0x21e8cf,_0x3121ec,_0x23dc80,_0x5175e2,_0x6bb0e1,_0x32d24a,_0x4808e1),D(this,'_handlerCallback',null),(this[_0x5aa368(0x47c)]=_0x4514a3,this[_0x5aa368(0x3f0)]=_0x4906c7);}[_0x51a846(0x1cf)](_0x1ef86a){var _0x4e8e4b=_0x51a846;this[_0x4e8e4b(0x145)]=_0x1ef86a;}[_0x51a846(0x334)](){var _0x32c5c3=_0x51a846;this[_0x32c5c3(0x145)]=null,super['dispose']();}[_0x51a846(0x202)](){var _0x36e768=_0x51a846;const _0x7955b8=super[_0x36e768(0x202)]();return _0x7955b8[_0x36e768(0x38f)]=_0x14c2d9=>{var _0x58e42c=_0x36e768,_0x4f1e33,_0x392769;return(_0x392769=(_0x4f1e33=this[_0x58e42c(0x145)])==null?void 0x0:_0x4f1e33[_0x58e42c(0x38f)])==null?void 0x0:_0x392769[_0x58e42c(0x460)](_0x4f1e33,_0x14c2d9);},_0x7955b8['onTransformState']=_0x496fc5=>{var _0x33ca58=_0x36e768,_0x1fd2a7,_0x488cd1;return(_0x488cd1=(_0x1fd2a7=this[_0x33ca58(0x145)])==null?void 0x0:_0x1fd2a7['onTransformState'])==null?void 0x0:_0x488cd1['call'](_0x1fd2a7,_0x496fc5);},_0x7955b8[_0x36e768(0x242)]=_0x59fa5e=>{var _0x4f319e=_0x36e768,_0x45d832,_0x9e3dc4;return(_0x9e3dc4=(_0x45d832=this['_handlerCallback'])==null?void 0x0:_0x45d832[_0x4f319e(0x242)])==null?void 0x0:_0x9e3dc4[_0x4f319e(0x460)](_0x45d832,_0x59fa5e);},_0x7955b8[_0x36e768(0x432)]=_0x34a07c=>{var _0x59449d=_0x36e768,_0x4f0fd4,_0x1754c5;return(_0x1754c5=(_0x4f0fd4=this[_0x59449d(0x145)])==null?void 0x0:_0x4f0fd4[_0x59449d(0x432)])==null?void 0x0:_0x1754c5['call'](_0x4f0fd4,_0x34a07c);},_0x7955b8[_0x36e768(0x3d2)]=_0x1fb971=>{var _0x5f4df3=_0x36e768,_0x2afb79,_0x2a5e11,_0x4672bc;if(!((_0x2afb79=this[_0x5f4df3(0x145)])!=null&&_0x2afb79['onTransformRemoteChangesetByIMECache']))throw new Error(_0x5f4df3(0x232));return(_0x4672bc=(_0x2a5e11=this['_handlerCallback'])==null?void 0x0:_0x2a5e11[_0x5f4df3(0x3d2)])==null?void 0x0:_0x4672bc[_0x5f4df3(0x460)](_0x2a5e11,_0x1fb971);},_0x7955b8[_0x36e768(0x221)]=_0x5b11b0=>{var _0x2b5e52=_0x36e768,_0x2c7a9b,_0x1d22c7,_0x3b66dc;if(!((_0x2c7a9b=this[_0x2b5e52(0x145)])!=null&&_0x2c7a9b[_0x2b5e52(0x221)]))throw new Error(_0x2b5e52(0x22d));return(_0x3b66dc=(_0x1d22c7=this['_handlerCallback'])==null?void 0x0:_0x1d22c7[_0x2b5e52(0x221)])==null?void 0x0:_0x3b66dc[_0x2b5e52(0x460)](_0x1d22c7,_0x5b11b0);},_0x7955b8;}async[_0x51a846(0x3bb)](){var _0x334a26=_0x51a846;const _0x357670=await super[_0x334a26(0x3bb)]();return this[_0x334a26(0x2e9)](this['_commandService'][_0x334a26(0x33e)]((_0x3bb253,_0x32e1b2)=>{var _0x42ed1a=_0x334a26;if(_0x3bb253[_0x42ed1a(0x3f0)]!==a[_0x42ed1a(0x381)][_0x42ed1a(0x3e1)]||_0x32e1b2!=null&&_0x32e1b2[_0x42ed1a(0x241)]||_0x32e1b2!=null&&_0x32e1b2[_0x42ed1a(0x340)]||_0x3bb253['id']===dt[_0x42ed1a(0x186)]['id'])return;const _0x25212c=_0x3bb253['params'];if((_0x25212c==null?void 0x0:_0x25212c[_0x42ed1a(0x2df)])!==this['unitID'])return;const _0x3c9581=_0x3bb253,_0x4a4de9=this[_0x42ed1a(0x1f0)][_0x42ed1a(0x2ec)]['fetchThroughInterceptors'](this[_0x42ed1a(0x1f0)][_0x42ed1a(0x2ec)]['getInterceptPoints']()[_0x42ed1a(0x35b)])([_0x3c9581],null)||[_0x3c9581];this['_onLocalMutation'](_0x4a4de9[0x0]);})),_0x357670;}},exports[_0x51a846(0x441)]=Ge([k(0x3,a[_0x51a846(0x191)](a['Injector'])),k(0x4,a[_0x51a846(0x191)](m['CompressMutationService'])),k(0x5,a[_0x51a846(0x191)](a[_0x51a846(0x203)])),k(0x6,a[_0x51a846(0x191)](m[_0x51a846(0x173)])),k(0x7,a[_0x51a846(0x191)](te)),k(0x8,a[_0x51a846(0x113)]),k(0x9,a[_0x51a846(0x20b)]),k(0xa,a['IPermissionService']),k(0xb,a[_0x51a846(0x3d7)](ve)),k(0xc,a[_0x51a846(0x3d7)](z))],exports[_0x51a846(0x441)]),exports[_0x51a846(0x1eb)]=class extends exports['CollaborationEntity']{constructor(_0x73a8d,_0x2c6642,_0x451d0c,_0x5df069,_0x4476f9,_0x4ec846,_0x298368,_0x29369c,_0x4d0c1a,_0x3640f0,_0x34f624,_0x2da148,_0x166aea,_0x58c7c7){var _0x515766=_0x51a846;super(_0x73a8d,_0x451d0c,_0x2c6642,_0x5df069,_0x4476f9,_0x4ec846,_0x298368,_0x4d0c1a,_0x3640f0,_0x34f624,_0x2da148,_0x166aea,_0x58c7c7),this[_0x515766(0x47c)]=_0x73a8d,this[_0x515766(0x3f0)]=_0x2c6642,this[_0x515766(0x11a)]=_0x29369c;}[_0x51a846(0x202)](){var _0x30229b=_0x51a846;const _0x449231=super[_0x30229b(0x202)]();return _0x449231['onTransformSelections']=_0xab25a1=>this[_0x30229b(0x11a)]['transformSelections'](_0xab25a1),_0x449231;}async[_0x51a846(0x3bb)](){var _0x4adc07=_0x51a846;const _0x4da5fe=await super['_init']();return this[_0x4adc07(0x2e9)](this[_0x4adc07(0x1c7)][_0x4adc07(0x33e)]((_0x216c97,_0x504d73)=>{var _0x5c1e68=_0x4adc07;if(_0x216c97['type']!==a[_0x5c1e68(0x381)]['MUTATION']||_0x504d73!=null&&_0x504d73[_0x5c1e68(0x241)]||_0x504d73!=null&&_0x504d73['onlyLocal'])return;const _0x4046fe=_0x216c97[_0x5c1e68(0x3a9)];if((_0x4046fe==null?void 0x0:_0x4046fe[_0x5c1e68(0x2df)])!==this[_0x5c1e68(0x47c)])return;const _0x485d5f=_0x216c97,_0x2c3bc4=this[_0x5c1e68(0x1f0)]['interceptor'][_0x5c1e68(0x15f)](this[_0x5c1e68(0x1f0)][_0x5c1e68(0x2ec)][_0x5c1e68(0x352)]()['COMPRESS_MUTATION_SEND'])([_0x485d5f],null)||[_0x485d5f];this['_onLocalMutation'](_0x2c3bc4[0x0]);})),_0x4da5fe;}},exports['SheetCollaborationEntity']=Ge([k(0x3,a[_0x51a846(0x191)](a[_0x51a846(0x388)])),k(0x4,a[_0x51a846(0x191)](m[_0x51a846(0x40d)])),k(0x5,a['Inject'](a['LocaleService'])),k(0x6,a[_0x51a846(0x191)](m[_0x51a846(0x173)])),k(0x7,a[_0x51a846(0x191)](exports[_0x51a846(0x15a)])),k(0x8,a[_0x51a846(0x191)](te)),k(0x9,a[_0x51a846(0x113)]),k(0xa,a[_0x51a846(0x20b)]),k(0xb,a[_0x51a846(0x29a)]),k(0xc,a['Optional'](ve)),k(0xd,a[_0x51a846(0x3d7)](z))],exports['SheetCollaborationEntity']);var wn=Object[_0x51a846(0x276)],An=Object[_0x51a846(0x1be)],Ln=(_0x593d1c,_0x26f93a,_0x54afad,_0x3d0539)=>{var _0x188ccc=_0x51a846;for(var _0x329ef4=_0x3d0539>0x1?void 0x0:_0x3d0539?An(_0x26f93a,_0x54afad):_0x26f93a,_0x4177c5=_0x593d1c[_0x188ccc(0x457)]-0x1,_0x527ece;_0x4177c5>=0x0;_0x4177c5--)(_0x527ece=_0x593d1c[_0x4177c5])&&(_0x329ef4=(_0x3d0539?_0x527ece(_0x26f93a,_0x54afad,_0x329ef4):_0x527ece(_0x329ef4))||_0x329ef4);return _0x3d0539&&_0x329ef4&&wn(_0x26f93a,_0x54afad,_0x329ef4),_0x329ef4;},we=(_0x5c2a32,_0x61e6fa)=>(_0x241c00,_0x1e049a)=>_0x61e6fa(_0x241c00,_0x1e049a,_0x5c2a32);exports[_0x51a846(0x320)]=class extends a[_0x51a846(0x324)]{constructor(_0x4f513a,_0x480394,_0x2f5ba4){var _0x3b35ff=_0x51a846;super(),D(this,'_entities',new Map()),D(this,'_entityInit$',new H['Subject']()),D(this,'entityInit$',this['_entityInit$'][_0x3b35ff(0x1c1)]()),(this['_injector']=_0x4f513a,this['_collabSessionService']=_0x480394,this[_0x3b35ff(0x286)]=_0x2f5ba4,this['_init']());}[_0x51a846(0x334)](){var _0x57f572=_0x51a846;super[_0x57f572(0x334)](),this['_entities']['forEach'](_0x383568=>_0x383568[_0x57f572(0x334)]()),this['_entities'][_0x57f572(0x3ad)]();}[_0x51a846(0x209)](_0x5ee04a){var _0x3839a5;return(_0x3839a5=this['_entities']['get'](_0x5ee04a))!=null?_0x3839a5:null;}[_0x51a846(0x155)](_0x42c513){var _0x1a720a=_0x51a846;const _0x4b3be7=this[_0x1a720a(0x209)](_0x42c513);return _0x4b3be7?H['of'](_0x4b3be7):this[_0x1a720a(0x391)][_0x1a720a(0x1fb)](W[_0x1a720a(0x314)](_0x4e8ce4=>_0x4e8ce4['unitID']===_0x42c513));}[_0x51a846(0x1a8)](_0x21d023){var _0x46f2ae=_0x51a846;return H[_0x46f2ae(0x418)](this[_0x46f2ae(0x155)](_0x21d023)[_0x46f2ae(0x1fb)](W[_0x46f2ae(0x322)](()=>{})));}[_0x51a846(0x3bb)](){var _0x341caf=_0x51a846;this[_0x341caf(0x286)][_0x341caf(0x45c)](a[_0x341caf(0x336)][_0x341caf(0x207)])[_0x341caf(0x1fb)](H['takeUntil'](this[_0x341caf(0x2cb)]),W[_0x341caf(0x2ae)](0x10))[_0x341caf(0x2ad)](async _0x140e10=>{var _0x135bc8=_0x341caf;const _0x5f38e5=_0x140e10[_0x135bc8(0x21b)](),_0x2c1c4b=await this['_startCollaboration'](_0x5f38e5,Z[_0x135bc8(0x207)]);this['_entities'][_0x135bc8(0x451)](_0x5f38e5,_0x2c1c4b);}),this['_univerInstanceService'][_0x341caf(0x45c)](a[_0x341caf(0x336)][_0x341caf(0x1dc)])['pipe'](H[_0x341caf(0x325)](this['dispose$']),W[_0x341caf(0x2ae)](0x10))[_0x341caf(0x1fb)](W[_0x341caf(0x314)](_0x5866cb=>!_0x5866cb['getUnitId']()[_0x341caf(0x24e)]('__')))[_0x341caf(0x2ad)](async _0x38057a=>{var _0x32ba66=_0x341caf;const _0xb8f4d5=_0x38057a[_0x32ba66(0x21b)](),_0x509328=await this['_startCollaboration'](_0xb8f4d5,Z['UNIVER_DOC']);this['_entities'][_0x32ba66(0x451)](_0xb8f4d5,_0x509328);}),H[_0x341caf(0x1bc)](this[_0x341caf(0x286)][_0x341caf(0x24f)](a['UniverInstanceType']['UNIVER_SHEET']),this[_0x341caf(0x286)][_0x341caf(0x24f)](a[_0x341caf(0x336)]['UNIVER_DOC']))[_0x341caf(0x1fb)](H[_0x341caf(0x325)](this[_0x341caf(0x2cb)]))[_0x341caf(0x2ad)](_0x3655de=>{var _0x275476=_0x341caf;const _0x5a691c=_0x3655de[_0x275476(0x21b)](),_0x246c34=this[_0x275476(0x3af)][_0x275476(0x482)](_0x5a691c);_0x246c34&&(_0x246c34['dispose'](),this[_0x275476(0x3af)]['delete'](_0x5a691c));});}async[_0x51a846(0x1ea)](_0x185ed0,_0x273240){var _0x351a96=_0x51a846;const _0xcc8ca9=await this[_0x351a96(0x3b7)]['requireSession'](_0x185ed0),_0x957a00=this['_injector']['createInstance'](this[_0x351a96(0x358)](_0x273240),_0x185ed0,_0x273240,_0xcc8ca9);return await _0x957a00['init'](),this['_entityInit$'][_0x351a96(0x34b)](_0x957a00),_0x957a00;}['_getCtorByUniverType'](_0x5d4f4b){var _0x283a73=_0x51a846;switch(_0x5d4f4b){case Z[_0x283a73(0x1dc)]:return exports[_0x283a73(0x441)];case Z[_0x283a73(0x207)]:return exports[_0x283a73(0x1eb)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x5d4f4b);}}},exports[_0x51a846(0x320)]=Ln([we(0x0,a[_0x51a846(0x191)](a[_0x51a846(0x388)])),we(0x1,a[_0x51a846(0x191)](exports['CollaborationSessionService'])),we(0x2,a[_0x51a846(0x2fc)])],exports[_0x51a846(0x320)]);var Mn=Object['defineProperty'],xn=Object[_0x51a846(0x1be)],jn=(_0x278d9a,_0x1493a4,_0x4f195d,_0x210b2)=>{var _0x5da550=_0x51a846;for(var _0x400e3b=_0x210b2>0x1?void 0x0:_0x210b2?xn(_0x1493a4,_0x4f195d):_0x1493a4,_0x209feb=_0x278d9a[_0x5da550(0x457)]-0x1,_0x2ca291;_0x209feb>=0x0;_0x209feb--)(_0x2ca291=_0x278d9a[_0x209feb])&&(_0x400e3b=(_0x210b2?_0x2ca291(_0x1493a4,_0x4f195d,_0x400e3b):_0x2ca291(_0x400e3b))||_0x400e3b);return _0x210b2&&_0x400e3b&&Mn(_0x1493a4,_0x4f195d,_0x400e3b),_0x400e3b;},Xe=(_0x33abc6,_0x5c4529)=>(_0x58a249,_0xb70547)=>_0x5c4529(_0x58a249,_0xb70547,_0x33abc6);const $n=_0x51a846(0x1d6),Hn=_0x51a846(0x329);let $e=class extends a['Disposable']{constructor(_0x31a5b3,_0xbe005c){var _0x49752a=_0x51a846;super(),this[_0x49752a(0x286)]=_0x31a5b3,this[_0x49752a(0x2b5)]=_0xbe005c,this[_0x49752a(0x3bb)]();}[_0x51a846(0x3bb)](){var _0x28e8ec=_0x51a846;this[_0x28e8ec(0x2e9)](this[_0x28e8ec(0x286)][_0x28e8ec(0x1ba)][_0x28e8ec(0x2ad)](()=>{var _0xb823bd=_0x28e8ec,_0xaab838;const _0x3c6b9a=this[_0xb823bd(0x286)][_0xb823bd(0x490)]();let _0x3d4310=(_0xaab838=this['_configService']['getConfig']($n))!=null?_0xaab838:Hn;_0x3c6b9a instanceof a['Workbook']&&(_0x3d4310=_0x3c6b9a['name']),document[_0xb823bd(0x3aa)]=_0x3d4310;}));}};$e=jn([Xe(0x0,a[_0x51a846(0x2fc)]),Xe(0x1,a[_0x51a846(0x349)])],$e);var kn=Object[_0x51a846(0x276)],Bn=Object[_0x51a846(0x1be)],Fn=(_0x4f2bfb,_0x4a00a1,_0x338908,_0x153ec2)=>{var _0x399620=_0x51a846;for(var _0x3670b8=_0x153ec2>0x1?void 0x0:_0x153ec2?Bn(_0x4a00a1,_0x338908):_0x4a00a1,_0x536573=_0x4f2bfb[_0x399620(0x457)]-0x1,_0x5644a2;_0x536573>=0x0;_0x536573--)(_0x5644a2=_0x4f2bfb[_0x536573])&&(_0x3670b8=(_0x153ec2?_0x5644a2(_0x4a00a1,_0x338908,_0x3670b8):_0x5644a2(_0x3670b8))||_0x3670b8);return _0x153ec2&&_0x3670b8&&kn(_0x4a00a1,_0x338908,_0x3670b8),_0x3670b8;},Ae=(_0x1d367b,_0x3b7656)=>(_0x1ceda1,_0x2761dd)=>_0x3b7656(_0x1ceda1,_0x2761dd,_0x1d367b);let ye=class{constructor(_0x48cff9,_0x9d6c70,_0x2bcb30){var _0xf22909=_0x51a846;this['_configService']=_0x48cff9,this[_0xf22909(0x2d5)]=_0x9d6c70,this[_0xf22909(0x261)]=_0x2bcb30,this[_0xf22909(0x436)]();}[_0x51a846(0x436)](){var _0x21284f=_0x51a846;this[_0x21284f(0x2d5)][_0x21284f(0x2d9)]({'priority':0x1,'interceptor':(_0x2f4c73,_0x4a3fc5)=>_0x4a3fc5(_0x2f4c73)[_0x21284f(0x1fb)](H[_0x21284f(0x433)](async _0x498f77=>{var _0x191612=_0x21284f;const _0xb4acb1=_0x498f77;if(_0xb4acb1[_0x191612(0x295)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x191612(0x444)](this[_0x191612(0x261)]['t'](_0x191612(0x42e)))){const _0x255af4=window[_0x191612(0x401)](window['location'][_0x191612(0x43d)]);window[_0x191612(0x1a6)][_0x191612(0x43d)]=this['_getLoginPath']()+'?url='+_0x255af4;}}return _0xb4acb1;}))});}[_0x51a846(0x337)](){var _0xa45323=_0x51a846,_0x105824,_0x3a89d9;const _0x518b53=this[_0xa45323(0x2b5)][_0xa45323(0x212)](Ct),_0xbd3d8a=this[_0xa45323(0x2b5)][_0xa45323(0x212)](Y);return(_0x3a89d9=(_0x105824=_0xbd3d8a==null?void 0x0:_0xbd3d8a[_0xa45323(0x235)])!=null?_0x105824:_0x518b53)!=null?_0x3a89d9:zt;}};ye=Fn([Ae(0x0,a[_0x51a846(0x349)]),Ae(0x1,a['Inject'](q[_0x51a846(0x266)])),Ae(0x2,a[_0x51a846(0x191)](a[_0x51a846(0x203)]))],ye);var Wn=Object[_0x51a846(0x276)],Gn=Object[_0x51a846(0x1be)],Vn=(_0x5594f5,_0x2257be,_0x5b4f38,_0x31b390)=>{for(var _0x5a396d=_0x31b390>0x1?void 0x0:_0x31b390?Gn(_0x2257be,_0x5b4f38):_0x2257be,_0x451840=_0x5594f5['length']-0x1,_0x5ce3a6;_0x451840>=0x0;_0x451840--)(_0x5ce3a6=_0x5594f5[_0x451840])&&(_0x5a396d=(_0x31b390?_0x5ce3a6(_0x2257be,_0x5b4f38,_0x5a396d):_0x5ce3a6(_0x5a396d))||_0x5a396d);return _0x31b390&&_0x5a396d&&Wn(_0x2257be,_0x5b4f38,_0x5a396d),_0x5a396d;},Ze=(_0x52699c,_0x27f312)=>(_0x4d540d,_0x1daaf1)=>_0x27f312(_0x4d540d,_0x1daaf1,_0x52699c);const Ve='AUTHZ_URL_KEY',Kn='/universer-api/authz';exports[_0x51a846(0x420)]=class extends a[_0x51a846(0x1bb)]{constructor(_0x3f8423,_0x5f8247){var _0x4c6ae5=_0x51a846;super(),this[_0x4c6ae5(0x462)]=_0x3f8423,this[_0x4c6ae5(0x2b5)]=_0x5f8247,this[_0x4c6ae5(0x356)]();}[_0x51a846(0x356)](){var _0x3d2eaf=_0x51a846;const _0x3ba15e=this;this[_0x3d2eaf(0x2e9)](this[_0x3d2eaf(0x462)][_0x3d2eaf(0x2d9)]({'priority':0x3e7,'interceptor':q[_0x3d2eaf(0x405)]({'isMatch'(_0x1b94f0){var _0x251c01=_0x3d2eaf,_0x4d0123;if(_0x1b94f0['method']===_0x251c01(0x40b)&&((_0x4d0123=_0x1b94f0[_0x251c01(0x1cb)])!=null&&_0x4d0123[_0x251c01(0x29c)])){const {objectID:_0x2162ab,objectType:_0x3de5a6}=_0x1b94f0[_0x251c01(0x1cb)][_0x251c01(0x29c)]||{};if(!_0x2162ab||_0x3de5a6===void 0x0)return!0x1;const _0x506c41=_0x3ba15e['_getAPIPrefixPath']()+'/'+_0x3de5a6+_0x251c01(0x1fa)+_0x2162ab+_0x251c01(0x35e);if(_0x1b94f0[_0x251c01(0x403)]===_0x506c41)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x484cd9){var _0x199bbf;return(_0x199bbf=_0x484cd9['requestParams'])==null?void 0x0:_0x199bbf['body'];},'mergeParamsToRequest'(_0x4d71b0,_0x17757b){var _0xec372d=_0x3d2eaf;const _0x360e5a=_0x3ba15e['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x3bdbcd=_0x4d71b0[_0xec372d(0x2dd)]((_0x22875a,_0x4d483f)=>{var _0x2e87d9=_0xec372d;const {unitID:_0x43a1fb,objectID:_0x57212c,objectType:_0xd24d8,actions:_0x1a6a0e}=_0x4d483f;return _0x22875a[_0x43a1fb]||(_0x22875a[_0x43a1fb]={}),_0x22875a[_0x43a1fb][_0x57212c]||(_0x22875a[_0x43a1fb][_0x57212c]={'objectID':_0x57212c,'objectType':_0xd24d8,'actions':[]}),_0x22875a[_0x43a1fb][_0x57212c]['actions'][_0x2e87d9(0x140)](..._0x1a6a0e),_0x22875a;},{}),_0x3199e1=[];for(const _0x2f9a47 in _0x3bdbcd)for(const _0x325e6b in _0x3bdbcd[_0x2f9a47]){const {actions:_0x5e1fcd,objectType:_0x36f113}=_0x3bdbcd[_0x2f9a47][_0x325e6b],_0x25c447=[...new Set(_0x5e1fcd)];_0x3199e1[_0xec372d(0x140)]({'unitID':_0x2f9a47,'objectID':_0x325e6b,'objectType':_0x36f113,'actions':_0x25c447});}return new q['HTTPRequest'](_0xec372d(0x40b),_0x360e5a,{'headers':_0x17757b[_0xec372d(0x3d8)],'withCredentials':_0x17757b['withCredentials'],'responseType':_0x17757b[_0xec372d(0x251)],'body':{'requests':_0x3199e1}});}},{'distributeResult'(_0x156926,_0x563259){var _0xfaa4a1=_0x3d2eaf;const {objectActions:_0x28196d}=_0x156926;return _0x563259[_0xfaa4a1(0x322)](_0x253e66=>{var _0x174144=_0xfaa4a1;const {unitID:_0x5f4030,objectID:_0x5aef5e,actions:_0x2fb61d}=_0x253e66,_0x59bc9b=_0x28196d['find'](_0x279069=>_0x279069[_0x174144(0x47c)]===_0x5f4030&&_0x279069[_0x174144(0x12a)]===_0x5aef5e),_0x403cb3=_0x2fb61d[_0x174144(0x322)](_0x39310f=>_0x59bc9b==null?void 0x0:_0x59bc9b[_0x174144(0x13b)][_0x174144(0x416)](_0x316735=>_0x316735[_0x174144(0x26f)]===_0x39310f))[_0x174144(0x314)](_0x2d0808=>!!_0x2d0808);return{'config':_0x253e66,'result':{'actions':_0x403cb3,'error':_0x156926['error']}};});}})}));}[_0x51a846(0x246)](){var _0x45ca90=_0x51a846,_0x2c0643,_0x5e513d;const _0x332b0d=this[_0x45ca90(0x2b5)][_0x45ca90(0x212)](Ve),_0x4595c9=this[_0x45ca90(0x2b5)][_0x45ca90(0x212)](Y);return(_0x5e513d=(_0x2c0643=_0x4595c9==null?void 0x0:_0x4595c9[_0x45ca90(0x268)])!=null?_0x2c0643:_0x332b0d)!=null?_0x5e513d:Kn;}async[_0x51a846(0x217)](_0x5c2c0b){var _0x1b82d7=_0x51a846;const _0x1449a1=this[_0x1b82d7(0x246)]()+'/'+_0x5c2c0b[_0x1b82d7(0x14d)]+_0x1b82d7(0x371);return(await this[_0x1b82d7(0x462)][_0x1b82d7(0x2b0)](_0x1449a1,{'body':_0x5c2c0b}))[_0x1b82d7(0x29c)][_0x1b82d7(0x12a)]||'';}async[_0x51a846(0x40f)](_0x9d529a){var _0x2ead3a=_0x51a846;const _0x41704d=this[_0x2ead3a(0x246)]()+_0x2ead3a(0x359);return(await this[_0x2ead3a(0x462)][_0x2ead3a(0x2b0)](_0x41704d,{'body':_0x9d529a}))[_0x2ead3a(0x29c)][_0x2ead3a(0x2f6)];}async['update'](_0x5a1620){var _0x2d5459=_0x51a846;const _0x592308=this[_0x2d5459(0x246)]()+'/'+_0x5a1620['objectType']+_0x2d5459(0x1fa)+_0x5a1620[_0x2d5459(0x12a)];await this[_0x2d5459(0x462)][_0x2d5459(0x3fb)](_0x592308,{'body':_0x5a1620});}async['allowed'](_0x320ba7){var _0x398ce1=_0x51a846;const _0x22d802=this[_0x398ce1(0x246)]()+'/'+_0x320ba7['objectType']+_0x398ce1(0x1fa)+_0x320ba7[_0x398ce1(0x12a)]+'/allowed';return(await this[_0x398ce1(0x462)]['post'](_0x22d802,{'body':_0x320ba7}))[_0x398ce1(0x29c)]['actions'];}async[_0x51a846(0x33f)](_0x1fc19){var _0x3acc52=_0x51a846;const _0x27e960=this[_0x3acc52(0x246)]()+_0x3acc52(0x469);return(await this[_0x3acc52(0x462)][_0x3acc52(0x2b0)](_0x27e960,{'body':{'requests':_0x1fc19}}))['body']['objectActions'];}async[_0x51a846(0x293)](_0x4d4577){var _0x37330b=_0x51a846;const _0x82be2e=this['_getAPIPrefixPath']()+'/'+_0x4d4577[_0x37330b(0x14d)]+_0x37330b(0x1d4),_0x2ddc27=await this['_HTTPService']['post'](_0x82be2e,{'body':_0x4d4577});return{'roles':_0x2ddc27[_0x37330b(0x29c)][_0x37330b(0x1c5)],'actions':_0x2ddc27[_0x37330b(0x29c)]['actions']};}async[_0x51a846(0x31c)](_0x3d71f1){var _0x373b72=_0x51a846;const _0x115440=this[_0x373b72(0x246)]()+_0x373b72(0x32e);await this[_0x373b72(0x462)][_0x373b72(0x299)](_0x115440,{'params':{'collaboratorID':_0x3d71f1['collaboratorID'],'objectID':_0x3d71f1['objectID'],'unitID':_0x3d71f1[_0x373b72(0x47c)]}});}async[_0x51a846(0x272)](_0x14887f){var _0x591862=_0x51a846;const _0x26c57a=this[_0x591862(0x246)]()+_0x591862(0x32e);await this[_0x591862(0x462)][_0x591862(0x1fc)](_0x26c57a,{'body':_0x14887f});}async['createCollaborator'](_0x40d380){var _0x279c98=_0x51a846;const _0x2f9079=this[_0x279c98(0x246)]()+_0x279c98(0x32e);await this['_HTTPService'][_0x279c98(0x2b0)](_0x2f9079,{'body':_0x40d380});}async[_0x51a846(0x1f7)](_0x4a4b82){var _0x1e1cc4=_0x51a846;const _0x2b4bad=this[_0x1e1cc4(0x246)]()+_0x1e1cc4(0x32e);return(await this[_0x1e1cc4(0x462)][_0x1e1cc4(0x482)](_0x2b4bad,{'params':{'objectID':_0x4a4b82[_0x1e1cc4(0x12a)],'unitID':_0x4a4b82['unitID']}}))[_0x1e1cc4(0x29c)][_0x1e1cc4(0x43c)];}async[_0x51a846(0x42f)](_0x43f0d8){var _0x195cb7=_0x51a846;const _0x62aef4=this[_0x195cb7(0x246)]()+_0x195cb7(0x32e);await this[_0x195cb7(0x462)][_0x195cb7(0x3fb)](_0x62aef4,{'body':_0x43f0d8});}},exports[_0x51a846(0x420)]=Vn([Ze(0x0,a[_0x51a846(0x191)](q[_0x51a846(0x266)])),Ze(0x1,a[_0x51a846(0x191)](a['IConfigService']))],exports[_0x51a846(0x420)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0xd48cf3){var _0x386d1e=_0x51a846;return _0xd48cf3&&_0xd48cf3[_0x386d1e(0x289)]&&Object[_0x386d1e(0x12f)]['hasOwnProperty'][_0x386d1e(0x460)](_0xd48cf3,_0x386d1e(0x37a))?_0xd48cf3[_0x386d1e(0x37a)]:_0xd48cf3;}var Se={'exports':{}};function Yn(_0x1355c6){var _0x1786a8=_0x51a846;throw new Error(_0x1786a8(0x125)+_0x1355c6+_0x1786a8(0x245));}var pe={'exports':{}},qn=pe[_0x51a846(0x1f9)],Qe;function ee(){var _0x16b59d=_0x51a846;return Qe||(Qe=0x1,function(_0xb75f25,_0xd4057c){(function(_0x345124,_0x3b8583){var _0x1ed9ad=_0x2a70;_0xb75f25[_0x1ed9ad(0x1f9)]=_0x3b8583();}(qn,function(){var _0x10b40e=_0x10b40e||function(_0x11f75e,_0xdc8248){var _0x525d0b=_0x2a70,_0x10e21c;if(typeof window<'u'&&window[_0x525d0b(0x284)]&&(_0x10e21c=window[_0x525d0b(0x284)]),typeof self<'u'&&self[_0x525d0b(0x284)]&&(_0x10e21c=self[_0x525d0b(0x284)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x10e21c=globalThis[_0x525d0b(0x284)]),!_0x10e21c&&typeof window<'u'&&window[_0x525d0b(0x45a)]&&(_0x10e21c=window[_0x525d0b(0x45a)]),!_0x10e21c&&typeof Le<'u'&&Le[_0x525d0b(0x284)]&&(_0x10e21c=Le[_0x525d0b(0x284)]),!_0x10e21c&&typeof Yn==_0x525d0b(0x1ed))try{_0x10e21c=require('crypto');}catch{}var _0x2fec47=function(){var _0x1cc2ce=_0x525d0b;if(_0x10e21c){if(typeof _0x10e21c[_0x1cc2ce(0x17c)]==_0x1cc2ce(0x1ed))try{return _0x10e21c['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x10e21c['randomBytes']==_0x1cc2ce(0x1ed))try{return _0x10e21c[_0x1cc2ce(0x193)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x38e79c=Object['create']||(function(){function _0x387fe9(){}return function(_0x39541c){var _0x61ad55=_0x2a70,_0xa57d1f;return _0x387fe9['prototype']=_0x39541c,_0xa57d1f=new _0x387fe9(),_0x387fe9[_0x61ad55(0x12f)]=null,_0xa57d1f;};}()),_0x24125e={},_0xf7257c=_0x24125e[_0x525d0b(0x26e)]={},_0x2e7011=_0xf7257c[_0x525d0b(0x404)]=(function(){return{'extend':function(_0x6334a2){var _0x8e1457=_0x2a70,_0x3823dd=_0x38e79c(this);return _0x6334a2&&_0x3823dd[_0x8e1457(0x248)](_0x6334a2),(!_0x3823dd['hasOwnProperty'](_0x8e1457(0x436))||this[_0x8e1457(0x436)]===_0x3823dd[_0x8e1457(0x436)])&&(_0x3823dd['init']=function(){_0x3823dd['$super']['init']['apply'](this,arguments);}),_0x3823dd[_0x8e1457(0x436)][_0x8e1457(0x12f)]=_0x3823dd,_0x3823dd['$super']=this,_0x3823dd;},'create':function(){var _0x170f87=_0x2a70,_0xd40756=this[_0x170f87(0x48f)]();return _0xd40756[_0x170f87(0x436)]['apply'](_0xd40756,arguments),_0xd40756;},'init':function(){},'mixIn':function(_0x322e76){var _0x39431f=_0x2a70;for(var _0xc33acf in _0x322e76)_0x322e76['hasOwnProperty'](_0xc33acf)&&(this[_0xc33acf]=_0x322e76[_0xc33acf]);_0x322e76[_0x39431f(0x366)]('toString')&&(this[_0x39431f(0x3b1)]=_0x322e76[_0x39431f(0x3b1)]);},'clone':function(){var _0x310960=_0x2a70;return this[_0x310960(0x436)][_0x310960(0x12f)]['extend'](this);}};}()),_0x325014=_0xf7257c[_0x525d0b(0x32f)]=_0x2e7011[_0x525d0b(0x48f)]({'init':function(_0x5259f9,_0x3d9736){var _0x273039=_0x525d0b;_0x5259f9=this[_0x273039(0x3d6)]=_0x5259f9||[],_0x3d9736!=_0xdc8248?this[_0x273039(0x174)]=_0x3d9736:this[_0x273039(0x174)]=_0x5259f9[_0x273039(0x457)]*0x4;},'toString':function(_0x2952c8){return(_0x2952c8||_0x28c0d6)['stringify'](this);},'concat':function(_0xa241d8){var _0x268e11=_0x525d0b,_0xe1b21=this['words'],_0x35039f=_0xa241d8[_0x268e11(0x3d6)],_0x337208=this[_0x268e11(0x174)],_0x30bfff=_0xa241d8['sigBytes'];if(this['clamp'](),_0x337208%0x4)for(var _0x3b2b11=0x0;_0x3b2b11<_0x30bfff;_0x3b2b11++){var _0x22b819=_0x35039f[_0x3b2b11>>>0x2]>>>0x18-_0x3b2b11%0x4*0x8&0xff;_0xe1b21[_0x337208+_0x3b2b11>>>0x2]|=_0x22b819<<0x18-(_0x337208+_0x3b2b11)%0x4*0x8;}else{for(var _0x2baeca=0x0;_0x2baeca<_0x30bfff;_0x2baeca+=0x4)_0xe1b21[_0x337208+_0x2baeca>>>0x2]=_0x35039f[_0x2baeca>>>0x2];}return this['sigBytes']+=_0x30bfff,this;},'clamp':function(){var _0x26af81=_0x525d0b,_0x131471=this['words'],_0x553314=this['sigBytes'];_0x131471[_0x553314>>>0x2]&=0xffffffff<<0x20-_0x553314%0x4*0x8,_0x131471[_0x26af81(0x457)]=_0x11f75e[_0x26af81(0x44d)](_0x553314/0x4);},'clone':function(){var _0x327364=_0x525d0b,_0x1d6bda=_0x2e7011[_0x327364(0x2f3)][_0x327364(0x460)](this);return _0x1d6bda[_0x327364(0x3d6)]=this[_0x327364(0x3d6)][_0x327364(0x2cf)](0x0),_0x1d6bda;},'random':function(_0x58148e){var _0x3fc428=_0x525d0b;for(var _0x467ced=[],_0x542258=0x0;_0x542258<_0x58148e;_0x542258+=0x4)_0x467ced[_0x3fc428(0x140)](_0x2fec47());return new _0x325014['init'](_0x467ced,_0x58148e);}}),_0x4e4050=_0x24125e[_0x525d0b(0x3b4)]={},_0x28c0d6=_0x4e4050[_0x525d0b(0x394)]={'stringify':function(_0x1fe478){var _0x14b451=_0x525d0b;for(var _0x13b646=_0x1fe478[_0x14b451(0x3d6)],_0x5baa5e=_0x1fe478[_0x14b451(0x174)],_0x171f46=[],_0x2b214d=0x0;_0x2b214d<_0x5baa5e;_0x2b214d++){var _0x1502cc=_0x13b646[_0x2b214d>>>0x2]>>>0x18-_0x2b214d%0x4*0x8&0xff;_0x171f46[_0x14b451(0x140)]((_0x1502cc>>>0x4)[_0x14b451(0x3b1)](0x10)),_0x171f46[_0x14b451(0x140)]((_0x1502cc&0xf)[_0x14b451(0x3b1)](0x10));}return _0x171f46[_0x14b451(0x1ff)]('');},'parse':function(_0x582921){var _0x416963=_0x525d0b;for(var _0x5df768=_0x582921[_0x416963(0x457)],_0x33715a=[],_0x4a34cb=0x0;_0x4a34cb<_0x5df768;_0x4a34cb+=0x2)_0x33715a[_0x4a34cb>>>0x3]|=parseInt(_0x582921[_0x416963(0x2f2)](_0x4a34cb,0x2),0x10)<<0x18-_0x4a34cb%0x8*0x4;return new _0x325014[(_0x416963(0x436))](_0x33715a,_0x5df768/0x2);}},_0x4afc00=_0x4e4050['Latin1']={'stringify':function(_0x36f7d2){var _0x240557=_0x525d0b;for(var _0x422d44=_0x36f7d2['words'],_0x10f5d9=_0x36f7d2[_0x240557(0x174)],_0x38762a=[],_0x3bb73e=0x0;_0x3bb73e<_0x10f5d9;_0x3bb73e++){var _0x37d322=_0x422d44[_0x3bb73e>>>0x2]>>>0x18-_0x3bb73e%0x4*0x8&0xff;_0x38762a['push'](String[_0x240557(0x158)](_0x37d322));}return _0x38762a[_0x240557(0x1ff)]('');},'parse':function(_0x3aeeec){var _0x41839e=_0x525d0b;for(var _0x3e4592=_0x3aeeec['length'],_0x2f33cb=[],_0x5dc11d=0x0;_0x5dc11d<_0x3e4592;_0x5dc11d++)_0x2f33cb[_0x5dc11d>>>0x2]|=(_0x3aeeec[_0x41839e(0x408)](_0x5dc11d)&0xff)<<0x18-_0x5dc11d%0x4*0x8;return new _0x325014[(_0x41839e(0x436))](_0x2f33cb,_0x3e4592);}},_0x2a8212=_0x4e4050[_0x525d0b(0x2ab)]={'stringify':function(_0x5ce51b){var _0x2e4b9c=_0x525d0b;try{return decodeURIComponent(escape(_0x4afc00[_0x2e4b9c(0x46b)](_0x5ce51b)));}catch{throw new Error(_0x2e4b9c(0x1df));}},'parse':function(_0xa4c86b){return _0x4afc00['parse'](unescape(encodeURIComponent(_0xa4c86b)));}},_0x313105=_0xf7257c['BufferedBlockAlgorithm']=_0x2e7011[_0x525d0b(0x48f)]({'reset':function(){var _0x453635=_0x525d0b;this['_data']=new _0x325014[(_0x453635(0x436))](),this[_0x453635(0x1cd)]=0x0;},'_append':function(_0x110f52){var _0x286201=_0x525d0b;typeof _0x110f52==_0x286201(0x382)&&(_0x110f52=_0x2a8212[_0x286201(0x354)](_0x110f52)),this[_0x286201(0x44e)][_0x286201(0x400)](_0x110f52),this[_0x286201(0x1cd)]+=_0x110f52[_0x286201(0x174)];},'_process':function(_0x24e85c){var _0x45e308=_0x525d0b,_0x38136e,_0x3c66e3=this[_0x45e308(0x44e)],_0x54afd3=_0x3c66e3[_0x45e308(0x3d6)],_0x4bc83c=_0x3c66e3[_0x45e308(0x174)],_0xb57e89=this[_0x45e308(0x2f0)],_0x45dd46=_0xb57e89*0x4,_0x1f7054=_0x4bc83c/_0x45dd46;_0x24e85c?_0x1f7054=_0x11f75e[_0x45e308(0x44d)](_0x1f7054):_0x1f7054=_0x11f75e[_0x45e308(0x301)]((_0x1f7054|0x0)-this['_minBufferSize'],0x0);var _0x144f96=_0x1f7054*_0xb57e89,_0x5d020f=_0x11f75e['min'](_0x144f96*0x4,_0x4bc83c);if(_0x144f96){for(var _0x479c64=0x0;_0x479c64<_0x144f96;_0x479c64+=_0xb57e89)this['_doProcessBlock'](_0x54afd3,_0x479c64);_0x38136e=_0x54afd3[_0x45e308(0x156)](0x0,_0x144f96),_0x3c66e3[_0x45e308(0x174)]-=_0x5d020f;}return new _0x325014[(_0x45e308(0x436))](_0x38136e,_0x5d020f);},'clone':function(){var _0xa32529=_0x525d0b,_0x27142b=_0x2e7011['clone'][_0xa32529(0x460)](this);return _0x27142b[_0xa32529(0x44e)]=this[_0xa32529(0x44e)]['clone'](),_0x27142b;},'_minBufferSize':0x0});_0xf7257c['Hasher']=_0x313105['extend']({'cfg':_0x2e7011[_0x525d0b(0x48f)](),'init':function(_0x137434){var _0x16fc37=_0x525d0b;this[_0x16fc37(0x13a)]=this[_0x16fc37(0x13a)][_0x16fc37(0x48f)](_0x137434),this[_0x16fc37(0x23d)]();},'reset':function(){var _0x6dd102=_0x525d0b;_0x313105[_0x6dd102(0x23d)][_0x6dd102(0x460)](this),this[_0x6dd102(0x240)]();},'update':function(_0x20eee8){var _0x12fafb=_0x525d0b;return this[_0x12fafb(0x162)](_0x20eee8),this[_0x12fafb(0x132)](),this;},'finalize':function(_0x2c3025){var _0x8960f2=_0x525d0b;_0x2c3025&&this['_append'](_0x2c3025);var _0xc1917e=this[_0x8960f2(0x23a)]();return _0xc1917e;},'blockSize':0x10,'_createHelper':function(_0x1e723d){return function(_0x38c106,_0x2cc3f4){var _0x119dc9=_0x2a70;return new _0x1e723d[(_0x119dc9(0x436))](_0x2cc3f4)['finalize'](_0x38c106);};},'_createHmacHelper':function(_0x3ba22c){return function(_0x345e45,_0x3e6d0a){var _0x48e766=_0x2a70;return new _0x46e6b1[(_0x48e766(0x3a7))][(_0x48e766(0x436))](_0x3ba22c,_0x3e6d0a)['finalize'](_0x345e45);};}});var _0x46e6b1=_0x24125e[_0x525d0b(0x33a)]={};return _0x24125e;}(Math);return _0x10b40e;}));}(pe)),pe[_0x16b59d(0x1f9)];}var me={'exports':{}},zn=me['exports'],et;function Dt(){var _0x4764ca=_0x51a846;return et||(et=0x1,function(_0x3b4db9,_0x13b737){(function(_0x139692,_0x22c2cf){var _0x2d06ed=_0x2a70;_0x3b4db9[_0x2d06ed(0x1f9)]=_0x22c2cf(ee());}(zn,function(_0x290808){var _0xa7fe6a=_0x2a70;return(function(){var _0xb6af9c=_0x2a70,_0x1f73f0=_0x290808,_0xa29f41=_0x1f73f0[_0xb6af9c(0x26e)],_0x2c69e1=_0xa29f41[_0xb6af9c(0x32f)],_0x41ff1e=_0x1f73f0['enc'];_0x41ff1e[_0xb6af9c(0x29b)]={'stringify':function(_0xf673c0){var _0x4ab27f=_0xb6af9c,_0x5b40a9=_0xf673c0[_0x4ab27f(0x3d6)],_0x5e577e=_0xf673c0[_0x4ab27f(0x174)],_0x448874=this[_0x4ab27f(0x19e)];_0xf673c0[_0x4ab27f(0x3c1)]();for(var _0x3086c9=[],_0x35039e=0x0;_0x35039e<_0x5e577e;_0x35039e+=0x3)for(var _0x2d560a=_0x5b40a9[_0x35039e>>>0x2]>>>0x18-_0x35039e%0x4*0x8&0xff,_0x244eee=_0x5b40a9[_0x35039e+0x1>>>0x2]>>>0x18-(_0x35039e+0x1)%0x4*0x8&0xff,_0x4a8707=_0x5b40a9[_0x35039e+0x2>>>0x2]>>>0x18-(_0x35039e+0x2)%0x4*0x8&0xff,_0x4c960d=_0x2d560a<<0x10|_0x244eee<<0x8|_0x4a8707,_0x1d47e6=0x0;_0x1d47e6<0x4&&_0x35039e+_0x1d47e6*0.75<_0x5e577e;_0x1d47e6++)_0x3086c9[_0x4ab27f(0x140)](_0x448874['charAt'](_0x4c960d>>>0x6*(0x3-_0x1d47e6)&0x3f));var _0x3a1ff6=_0x448874['charAt'](0x40);if(_0x3a1ff6){for(;_0x3086c9[_0x4ab27f(0x457)]%0x4;)_0x3086c9[_0x4ab27f(0x140)](_0x3a1ff6);}return _0x3086c9[_0x4ab27f(0x1ff)]('');},'parse':function(_0xf22ad0){var _0x2d9c64=_0xb6af9c,_0x329e29=_0xf22ad0[_0x2d9c64(0x457)],_0x30589e=this[_0x2d9c64(0x19e)],_0x452020=this[_0x2d9c64(0x455)];if(!_0x452020){_0x452020=this[_0x2d9c64(0x455)]=[];for(var _0x7fce79=0x0;_0x7fce79<_0x30589e[_0x2d9c64(0x457)];_0x7fce79++)_0x452020[_0x30589e[_0x2d9c64(0x408)](_0x7fce79)]=_0x7fce79;}var _0x467698=_0x30589e[_0x2d9c64(0x306)](0x40);if(_0x467698){var _0x1da101=_0xf22ad0[_0x2d9c64(0x39b)](_0x467698);_0x1da101!==-0x1&&(_0x329e29=_0x1da101);}return _0x13c1df(_0xf22ad0,_0x329e29,_0x452020);},'_map':_0xb6af9c(0x19a)};function _0x13c1df(_0x5b8570,_0x56685a,_0x45b8cb){var _0x4bdb0=_0xb6af9c;for(var _0x32c5d0=[],_0x50974d=0x0,_0x54b9f7=0x0;_0x54b9f7<_0x56685a;_0x54b9f7++)if(_0x54b9f7%0x4){var _0x10a2cb=_0x45b8cb[_0x5b8570[_0x4bdb0(0x408)](_0x54b9f7-0x1)]<<_0x54b9f7%0x4*0x2,_0x1e4516=_0x45b8cb[_0x5b8570['charCodeAt'](_0x54b9f7)]>>>0x6-_0x54b9f7%0x4*0x2,_0x1bffa7=_0x10a2cb|_0x1e4516;_0x32c5d0[_0x50974d>>>0x2]|=_0x1bffa7<<0x18-_0x50974d%0x4*0x8,_0x50974d++;}return _0x2c69e1[_0x4bdb0(0x217)](_0x32c5d0,_0x50974d);}}()),_0x290808[_0xa7fe6a(0x3b4)][_0xa7fe6a(0x29b)];}));}(me)),me[_0x4764ca(0x1f9)];}var ge={'exports':{}},Jn=ge[_0x51a846(0x1f9)],tt;function Xn(){return tt||(tt=0x1,function(_0x363f50,_0x48f0be){(function(_0x2175cd,_0x1f78e4){var _0x4f8f9d=_0x2a70;_0x363f50[_0x4f8f9d(0x1f9)]=_0x1f78e4(ee());}(Jn,function(_0x49fee2){var _0x546f71=_0x2a70;return function(_0x4a9173){var _0x2f3b6c=_0x2a70,_0xfb843b=_0x49fee2,_0x34550b=_0xfb843b[_0x2f3b6c(0x26e)],_0x2f371a=_0x34550b['WordArray'],_0x4b63fb=_0x34550b[_0x2f3b6c(0x12d)],_0x682693=_0xfb843b[_0x2f3b6c(0x33a)],_0x4513cf=[];(function(){var _0xd19d58=_0x2f3b6c;for(var _0x2dfcf0=0x0;_0x2dfcf0<0x40;_0x2dfcf0++)_0x4513cf[_0x2dfcf0]=_0x4a9173[_0xd19d58(0x28f)](_0x4a9173[_0xd19d58(0x429)](_0x2dfcf0+0x1))*0x100000000|0x0;}());var _0x19fb36=_0x682693['MD5']=_0x4b63fb['extend']({'_doReset':function(){var _0x5345c7=_0x2f3b6c;this[_0x5345c7(0x2a6)]=new _0x2f371a[(_0x5345c7(0x436))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2bded7,_0x3df331){var _0x11ae3b=_0x2f3b6c;for(var _0x28f821=0x0;_0x28f821<0x10;_0x28f821++){var _0x250d74=_0x3df331+_0x28f821,_0x14d647=_0x2bded7[_0x250d74];_0x2bded7[_0x250d74]=(_0x14d647<<0x8|_0x14d647>>>0x18)&0xff00ff|(_0x14d647<<0x18|_0x14d647>>>0x8)&0xff00ff00;}var _0x1c0eb8=this[_0x11ae3b(0x2a6)][_0x11ae3b(0x3d6)],_0x427b8d=_0x2bded7[_0x3df331+0x0],_0x589408=_0x2bded7[_0x3df331+0x1],_0x528444=_0x2bded7[_0x3df331+0x2],_0x188383=_0x2bded7[_0x3df331+0x3],_0xb72b5b=_0x2bded7[_0x3df331+0x4],_0x130345=_0x2bded7[_0x3df331+0x5],_0x254450=_0x2bded7[_0x3df331+0x6],_0x28c2af=_0x2bded7[_0x3df331+0x7],_0x3d6172=_0x2bded7[_0x3df331+0x8],_0x2e43ae=_0x2bded7[_0x3df331+0x9],_0x2705a9=_0x2bded7[_0x3df331+0xa],_0x5ac24f=_0x2bded7[_0x3df331+0xb],_0x5304f4=_0x2bded7[_0x3df331+0xc],_0x5536eb=_0x2bded7[_0x3df331+0xd],_0x5229bb=_0x2bded7[_0x3df331+0xe],_0x32b595=_0x2bded7[_0x3df331+0xf],_0xd71cc5=_0x1c0eb8[0x0],_0x328647=_0x1c0eb8[0x1],_0x205a16=_0x1c0eb8[0x2],_0x56b331=_0x1c0eb8[0x3];_0xd71cc5=_0xa55f62(_0xd71cc5,_0x328647,_0x205a16,_0x56b331,_0x427b8d,0x7,_0x4513cf[0x0]),_0x56b331=_0xa55f62(_0x56b331,_0xd71cc5,_0x328647,_0x205a16,_0x589408,0xc,_0x4513cf[0x1]),_0x205a16=_0xa55f62(_0x205a16,_0x56b331,_0xd71cc5,_0x328647,_0x528444,0x11,_0x4513cf[0x2]),_0x328647=_0xa55f62(_0x328647,_0x205a16,_0x56b331,_0xd71cc5,_0x188383,0x16,_0x4513cf[0x3]),_0xd71cc5=_0xa55f62(_0xd71cc5,_0x328647,_0x205a16,_0x56b331,_0xb72b5b,0x7,_0x4513cf[0x4]),_0x56b331=_0xa55f62(_0x56b331,_0xd71cc5,_0x328647,_0x205a16,_0x130345,0xc,_0x4513cf[0x5]),_0x205a16=_0xa55f62(_0x205a16,_0x56b331,_0xd71cc5,_0x328647,_0x254450,0x11,_0x4513cf[0x6]),_0x328647=_0xa55f62(_0x328647,_0x205a16,_0x56b331,_0xd71cc5,_0x28c2af,0x16,_0x4513cf[0x7]),_0xd71cc5=_0xa55f62(_0xd71cc5,_0x328647,_0x205a16,_0x56b331,_0x3d6172,0x7,_0x4513cf[0x8]),_0x56b331=_0xa55f62(_0x56b331,_0xd71cc5,_0x328647,_0x205a16,_0x2e43ae,0xc,_0x4513cf[0x9]),_0x205a16=_0xa55f62(_0x205a16,_0x56b331,_0xd71cc5,_0x328647,_0x2705a9,0x11,_0x4513cf[0xa]),_0x328647=_0xa55f62(_0x328647,_0x205a16,_0x56b331,_0xd71cc5,_0x5ac24f,0x16,_0x4513cf[0xb]),_0xd71cc5=_0xa55f62(_0xd71cc5,_0x328647,_0x205a16,_0x56b331,_0x5304f4,0x7,_0x4513cf[0xc]),_0x56b331=_0xa55f62(_0x56b331,_0xd71cc5,_0x328647,_0x205a16,_0x5536eb,0xc,_0x4513cf[0xd]),_0x205a16=_0xa55f62(_0x205a16,_0x56b331,_0xd71cc5,_0x328647,_0x5229bb,0x11,_0x4513cf[0xe]),_0x328647=_0xa55f62(_0x328647,_0x205a16,_0x56b331,_0xd71cc5,_0x32b595,0x16,_0x4513cf[0xf]),_0xd71cc5=_0x43d74(_0xd71cc5,_0x328647,_0x205a16,_0x56b331,_0x589408,0x5,_0x4513cf[0x10]),_0x56b331=_0x43d74(_0x56b331,_0xd71cc5,_0x328647,_0x205a16,_0x254450,0x9,_0x4513cf[0x11]),_0x205a16=_0x43d74(_0x205a16,_0x56b331,_0xd71cc5,_0x328647,_0x5ac24f,0xe,_0x4513cf[0x12]),_0x328647=_0x43d74(_0x328647,_0x205a16,_0x56b331,_0xd71cc5,_0x427b8d,0x14,_0x4513cf[0x13]),_0xd71cc5=_0x43d74(_0xd71cc5,_0x328647,_0x205a16,_0x56b331,_0x130345,0x5,_0x4513cf[0x14]),_0x56b331=_0x43d74(_0x56b331,_0xd71cc5,_0x328647,_0x205a16,_0x2705a9,0x9,_0x4513cf[0x15]),_0x205a16=_0x43d74(_0x205a16,_0x56b331,_0xd71cc5,_0x328647,_0x32b595,0xe,_0x4513cf[0x16]),_0x328647=_0x43d74(_0x328647,_0x205a16,_0x56b331,_0xd71cc5,_0xb72b5b,0x14,_0x4513cf[0x17]),_0xd71cc5=_0x43d74(_0xd71cc5,_0x328647,_0x205a16,_0x56b331,_0x2e43ae,0x5,_0x4513cf[0x18]),_0x56b331=_0x43d74(_0x56b331,_0xd71cc5,_0x328647,_0x205a16,_0x5229bb,0x9,_0x4513cf[0x19]),_0x205a16=_0x43d74(_0x205a16,_0x56b331,_0xd71cc5,_0x328647,_0x188383,0xe,_0x4513cf[0x1a]),_0x328647=_0x43d74(_0x328647,_0x205a16,_0x56b331,_0xd71cc5,_0x3d6172,0x14,_0x4513cf[0x1b]),_0xd71cc5=_0x43d74(_0xd71cc5,_0x328647,_0x205a16,_0x56b331,_0x5536eb,0x5,_0x4513cf[0x1c]),_0x56b331=_0x43d74(_0x56b331,_0xd71cc5,_0x328647,_0x205a16,_0x528444,0x9,_0x4513cf[0x1d]),_0x205a16=_0x43d74(_0x205a16,_0x56b331,_0xd71cc5,_0x328647,_0x28c2af,0xe,_0x4513cf[0x1e]),_0x328647=_0x43d74(_0x328647,_0x205a16,_0x56b331,_0xd71cc5,_0x5304f4,0x14,_0x4513cf[0x1f]),_0xd71cc5=_0x4c206f(_0xd71cc5,_0x328647,_0x205a16,_0x56b331,_0x130345,0x4,_0x4513cf[0x20]),_0x56b331=_0x4c206f(_0x56b331,_0xd71cc5,_0x328647,_0x205a16,_0x3d6172,0xb,_0x4513cf[0x21]),_0x205a16=_0x4c206f(_0x205a16,_0x56b331,_0xd71cc5,_0x328647,_0x5ac24f,0x10,_0x4513cf[0x22]),_0x328647=_0x4c206f(_0x328647,_0x205a16,_0x56b331,_0xd71cc5,_0x5229bb,0x17,_0x4513cf[0x23]),_0xd71cc5=_0x4c206f(_0xd71cc5,_0x328647,_0x205a16,_0x56b331,_0x589408,0x4,_0x4513cf[0x24]),_0x56b331=_0x4c206f(_0x56b331,_0xd71cc5,_0x328647,_0x205a16,_0xb72b5b,0xb,_0x4513cf[0x25]),_0x205a16=_0x4c206f(_0x205a16,_0x56b331,_0xd71cc5,_0x328647,_0x28c2af,0x10,_0x4513cf[0x26]),_0x328647=_0x4c206f(_0x328647,_0x205a16,_0x56b331,_0xd71cc5,_0x2705a9,0x17,_0x4513cf[0x27]),_0xd71cc5=_0x4c206f(_0xd71cc5,_0x328647,_0x205a16,_0x56b331,_0x5536eb,0x4,_0x4513cf[0x28]),_0x56b331=_0x4c206f(_0x56b331,_0xd71cc5,_0x328647,_0x205a16,_0x427b8d,0xb,_0x4513cf[0x29]),_0x205a16=_0x4c206f(_0x205a16,_0x56b331,_0xd71cc5,_0x328647,_0x188383,0x10,_0x4513cf[0x2a]),_0x328647=_0x4c206f(_0x328647,_0x205a16,_0x56b331,_0xd71cc5,_0x254450,0x17,_0x4513cf[0x2b]),_0xd71cc5=_0x4c206f(_0xd71cc5,_0x328647,_0x205a16,_0x56b331,_0x2e43ae,0x4,_0x4513cf[0x2c]),_0x56b331=_0x4c206f(_0x56b331,_0xd71cc5,_0x328647,_0x205a16,_0x5304f4,0xb,_0x4513cf[0x2d]),_0x205a16=_0x4c206f(_0x205a16,_0x56b331,_0xd71cc5,_0x328647,_0x32b595,0x10,_0x4513cf[0x2e]),_0x328647=_0x4c206f(_0x328647,_0x205a16,_0x56b331,_0xd71cc5,_0x528444,0x17,_0x4513cf[0x2f]),_0xd71cc5=_0x2cbd53(_0xd71cc5,_0x328647,_0x205a16,_0x56b331,_0x427b8d,0x6,_0x4513cf[0x30]),_0x56b331=_0x2cbd53(_0x56b331,_0xd71cc5,_0x328647,_0x205a16,_0x28c2af,0xa,_0x4513cf[0x31]),_0x205a16=_0x2cbd53(_0x205a16,_0x56b331,_0xd71cc5,_0x328647,_0x5229bb,0xf,_0x4513cf[0x32]),_0x328647=_0x2cbd53(_0x328647,_0x205a16,_0x56b331,_0xd71cc5,_0x130345,0x15,_0x4513cf[0x33]),_0xd71cc5=_0x2cbd53(_0xd71cc5,_0x328647,_0x205a16,_0x56b331,_0x5304f4,0x6,_0x4513cf[0x34]),_0x56b331=_0x2cbd53(_0x56b331,_0xd71cc5,_0x328647,_0x205a16,_0x188383,0xa,_0x4513cf[0x35]),_0x205a16=_0x2cbd53(_0x205a16,_0x56b331,_0xd71cc5,_0x328647,_0x2705a9,0xf,_0x4513cf[0x36]),_0x328647=_0x2cbd53(_0x328647,_0x205a16,_0x56b331,_0xd71cc5,_0x589408,0x15,_0x4513cf[0x37]),_0xd71cc5=_0x2cbd53(_0xd71cc5,_0x328647,_0x205a16,_0x56b331,_0x3d6172,0x6,_0x4513cf[0x38]),_0x56b331=_0x2cbd53(_0x56b331,_0xd71cc5,_0x328647,_0x205a16,_0x32b595,0xa,_0x4513cf[0x39]),_0x205a16=_0x2cbd53(_0x205a16,_0x56b331,_0xd71cc5,_0x328647,_0x254450,0xf,_0x4513cf[0x3a]),_0x328647=_0x2cbd53(_0x328647,_0x205a16,_0x56b331,_0xd71cc5,_0x5536eb,0x15,_0x4513cf[0x3b]),_0xd71cc5=_0x2cbd53(_0xd71cc5,_0x328647,_0x205a16,_0x56b331,_0xb72b5b,0x6,_0x4513cf[0x3c]),_0x56b331=_0x2cbd53(_0x56b331,_0xd71cc5,_0x328647,_0x205a16,_0x5ac24f,0xa,_0x4513cf[0x3d]),_0x205a16=_0x2cbd53(_0x205a16,_0x56b331,_0xd71cc5,_0x328647,_0x528444,0xf,_0x4513cf[0x3e]),_0x328647=_0x2cbd53(_0x328647,_0x205a16,_0x56b331,_0xd71cc5,_0x2e43ae,0x15,_0x4513cf[0x3f]),_0x1c0eb8[0x0]=_0x1c0eb8[0x0]+_0xd71cc5|0x0,_0x1c0eb8[0x1]=_0x1c0eb8[0x1]+_0x328647|0x0,_0x1c0eb8[0x2]=_0x1c0eb8[0x2]+_0x205a16|0x0,_0x1c0eb8[0x3]=_0x1c0eb8[0x3]+_0x56b331|0x0;},'_doFinalize':function(){var _0x20e1a3=_0x2f3b6c,_0x1d87d4=this[_0x20e1a3(0x44e)],_0x2997f3=_0x1d87d4[_0x20e1a3(0x3d6)],_0x1f3aea=this[_0x20e1a3(0x1cd)]*0x8,_0x3f0903=_0x1d87d4[_0x20e1a3(0x174)]*0x8;_0x2997f3[_0x3f0903>>>0x5]|=0x80<<0x18-_0x3f0903%0x20;var _0x53551d=_0x4a9173[_0x20e1a3(0x237)](_0x1f3aea/0x100000000),_0x4de55d=_0x1f3aea;_0x2997f3[(_0x3f0903+0x40>>>0x9<<0x4)+0xf]=(_0x53551d<<0x8|_0x53551d>>>0x18)&0xff00ff|(_0x53551d<<0x18|_0x53551d>>>0x8)&0xff00ff00,_0x2997f3[(_0x3f0903+0x40>>>0x9<<0x4)+0xe]=(_0x4de55d<<0x8|_0x4de55d>>>0x18)&0xff00ff|(_0x4de55d<<0x18|_0x4de55d>>>0x8)&0xff00ff00,_0x1d87d4[_0x20e1a3(0x174)]=(_0x2997f3[_0x20e1a3(0x457)]+0x1)*0x4,this[_0x20e1a3(0x132)]();for(var _0x52f408=this[_0x20e1a3(0x2a6)],_0x17e8eb=_0x52f408[_0x20e1a3(0x3d6)],_0x46cb61=0x0;_0x46cb61<0x4;_0x46cb61++){var _0x51bfef=_0x17e8eb[_0x46cb61];_0x17e8eb[_0x46cb61]=(_0x51bfef<<0x8|_0x51bfef>>>0x18)&0xff00ff|(_0x51bfef<<0x18|_0x51bfef>>>0x8)&0xff00ff00;}return _0x52f408;},'clone':function(){var _0x1e6d70=_0x2f3b6c,_0x3abee2=_0x4b63fb[_0x1e6d70(0x2f3)][_0x1e6d70(0x460)](this);return _0x3abee2[_0x1e6d70(0x2a6)]=this[_0x1e6d70(0x2a6)][_0x1e6d70(0x2f3)](),_0x3abee2;}});function _0xa55f62(_0x2ebe80,_0x277c07,_0x28d9bc,_0x1fbeb4,_0x8a92cc,_0x44512a,_0x2f17f1){var _0x3ff084=_0x2ebe80+(_0x277c07&_0x28d9bc|~_0x277c07&_0x1fbeb4)+_0x8a92cc+_0x2f17f1;return(_0x3ff084<<_0x44512a|_0x3ff084>>>0x20-_0x44512a)+_0x277c07;}function _0x43d74(_0x1d01bc,_0x30f0b9,_0x29ddef,_0x56de60,_0x1265dc,_0x10337b,_0x316e21){var _0x315cfd=_0x1d01bc+(_0x30f0b9&_0x56de60|_0x29ddef&~_0x56de60)+_0x1265dc+_0x316e21;return(_0x315cfd<<_0x10337b|_0x315cfd>>>0x20-_0x10337b)+_0x30f0b9;}function _0x4c206f(_0x3105ff,_0x5dd895,_0x2078c8,_0x124f6b,_0x167948,_0x51f732,_0x23d241){var _0x10eaeb=_0x3105ff+(_0x5dd895^_0x2078c8^_0x124f6b)+_0x167948+_0x23d241;return(_0x10eaeb<<_0x51f732|_0x10eaeb>>>0x20-_0x51f732)+_0x5dd895;}function _0x2cbd53(_0x51c29c,_0x19f16d,_0x37e38d,_0x27fa1d,_0x4acdbf,_0xe64f92,_0x44fbe8){var _0x553d4e=_0x51c29c+(_0x37e38d^(_0x19f16d|~_0x27fa1d))+_0x4acdbf+_0x44fbe8;return(_0x553d4e<<_0xe64f92|_0x553d4e>>>0x20-_0xe64f92)+_0x19f16d;}_0xfb843b['MD5']=_0x4b63fb[_0x2f3b6c(0x171)](_0x19fb36),_0xfb843b[_0x2f3b6c(0x18a)]=_0x4b63fb[_0x2f3b6c(0x48e)](_0x19fb36);}(Math),_0x49fee2[_0x546f71(0x142)];}));}(ge)),ge['exports'];}var Ie={'exports':{}},Ee={'exports':{}},Zn=Ee[_0x51a846(0x1f9)],nt;function Qn(){var _0x296784=_0x51a846;return nt||(nt=0x1,function(_0x2e2f6c,_0x33fe7a){(function(_0x46b999,_0x1ace16){var _0x112ef0=_0x2a70;_0x2e2f6c[_0x112ef0(0x1f9)]=_0x1ace16(ee());}(Zn,function(_0x48614e){return(function(){var _0x1e67cd=_0x2a70,_0x3e0b05=_0x48614e,_0x1c7351=_0x3e0b05['lib'],_0x110ec0=_0x1c7351[_0x1e67cd(0x32f)],_0x49f9eb=_0x1c7351[_0x1e67cd(0x12d)],_0x579842=_0x3e0b05[_0x1e67cd(0x33a)],_0x2ab4b4=[],_0x4eeeb3=_0x579842[_0x1e67cd(0x3a8)]=_0x49f9eb[_0x1e67cd(0x48f)]({'_doReset':function(){var _0x14221a=_0x1e67cd;this['_hash']=new _0x110ec0[(_0x14221a(0x436))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5e8935,_0x352db6){for(var _0x24ba7e=this['_hash']['words'],_0x292b96=_0x24ba7e[0x0],_0x3defb7=_0x24ba7e[0x1],_0x1fb2b7=_0x24ba7e[0x2],_0x372c8f=_0x24ba7e[0x3],_0x59cc66=_0x24ba7e[0x4],_0x3645b2=0x0;_0x3645b2<0x50;_0x3645b2++){if(_0x3645b2<0x10)_0x2ab4b4[_0x3645b2]=_0x5e8935[_0x352db6+_0x3645b2]|0x0;else{var _0x550551=_0x2ab4b4[_0x3645b2-0x3]^_0x2ab4b4[_0x3645b2-0x8]^_0x2ab4b4[_0x3645b2-0xe]^_0x2ab4b4[_0x3645b2-0x10];_0x2ab4b4[_0x3645b2]=_0x550551<<0x1|_0x550551>>>0x1f;}var _0x40d872=(_0x292b96<<0x5|_0x292b96>>>0x1b)+_0x59cc66+_0x2ab4b4[_0x3645b2];_0x3645b2<0x14?_0x40d872+=(_0x3defb7&_0x1fb2b7|~_0x3defb7&_0x372c8f)+0x5a827999:_0x3645b2<0x28?_0x40d872+=(_0x3defb7^_0x1fb2b7^_0x372c8f)+0x6ed9eba1:_0x3645b2<0x3c?_0x40d872+=(_0x3defb7&_0x1fb2b7|_0x3defb7&_0x372c8f|_0x1fb2b7&_0x372c8f)-0x70e44324:_0x40d872+=(_0x3defb7^_0x1fb2b7^_0x372c8f)-0x359d3e2a,_0x59cc66=_0x372c8f,_0x372c8f=_0x1fb2b7,_0x1fb2b7=_0x3defb7<<0x1e|_0x3defb7>>>0x2,_0x3defb7=_0x292b96,_0x292b96=_0x40d872;}_0x24ba7e[0x0]=_0x24ba7e[0x0]+_0x292b96|0x0,_0x24ba7e[0x1]=_0x24ba7e[0x1]+_0x3defb7|0x0,_0x24ba7e[0x2]=_0x24ba7e[0x2]+_0x1fb2b7|0x0,_0x24ba7e[0x3]=_0x24ba7e[0x3]+_0x372c8f|0x0,_0x24ba7e[0x4]=_0x24ba7e[0x4]+_0x59cc66|0x0;},'_doFinalize':function(){var _0x1984d7=_0x1e67cd,_0x13a8c3=this[_0x1984d7(0x44e)],_0xea6842=_0x13a8c3[_0x1984d7(0x3d6)],_0x21e496=this[_0x1984d7(0x1cd)]*0x8,_0x159631=_0x13a8c3['sigBytes']*0x8;return _0xea6842[_0x159631>>>0x5]|=0x80<<0x18-_0x159631%0x20,_0xea6842[(_0x159631+0x40>>>0x9<<0x4)+0xe]=Math[_0x1984d7(0x237)](_0x21e496/0x100000000),_0xea6842[(_0x159631+0x40>>>0x9<<0x4)+0xf]=_0x21e496,_0x13a8c3[_0x1984d7(0x174)]=_0xea6842[_0x1984d7(0x457)]*0x4,this[_0x1984d7(0x132)](),this[_0x1984d7(0x2a6)];},'clone':function(){var _0x4b460c=_0x1e67cd,_0x58daa5=_0x49f9eb['clone']['call'](this);return _0x58daa5['_hash']=this[_0x4b460c(0x2a6)][_0x4b460c(0x2f3)](),_0x58daa5;}});_0x3e0b05[_0x1e67cd(0x3a8)]=_0x49f9eb['_createHelper'](_0x4eeeb3),_0x3e0b05[_0x1e67cd(0x41b)]=_0x49f9eb[_0x1e67cd(0x48e)](_0x4eeeb3);}()),_0x48614e['SHA1'];}));}(Ee)),Ee[_0x296784(0x1f9)];}var Ce={'exports':{}},ei=Ce[_0x51a846(0x1f9)],it;function ti(){var _0xf9b2ab=_0x51a846;return it||(it=0x1,function(_0x4fbfe0,_0x220db6){(function(_0x5226d3,_0x51eb0e){_0x4fbfe0['exports']=_0x51eb0e(ee());}(ei,function(_0x5541ad){(function(){var _0x7f966f=_0x2a70,_0x3f188c=_0x5541ad,_0x2b6893=_0x3f188c[_0x7f966f(0x26e)],_0x2102c2=_0x2b6893[_0x7f966f(0x404)],_0x2b71ae=_0x3f188c[_0x7f966f(0x3b4)],_0x4c3438=_0x2b71ae[_0x7f966f(0x2ab)],_0x4a4b75=_0x3f188c[_0x7f966f(0x33a)];_0x4a4b75[_0x7f966f(0x3a7)]=_0x2102c2[_0x7f966f(0x48f)]({'init':function(_0x444f8a,_0x5ddc50){var _0x593f4f=_0x7f966f;_0x444f8a=this[_0x593f4f(0x290)]=new _0x444f8a[(_0x593f4f(0x436))](),typeof _0x5ddc50=='string'&&(_0x5ddc50=_0x4c3438[_0x593f4f(0x354)](_0x5ddc50));var _0x17844c=_0x444f8a[_0x593f4f(0x2f0)],_0x42167b=_0x17844c*0x4;_0x5ddc50['sigBytes']>_0x42167b&&(_0x5ddc50=_0x444f8a['finalize'](_0x5ddc50)),_0x5ddc50['clamp']();for(var _0x195cf7=this[_0x593f4f(0x249)]=_0x5ddc50[_0x593f4f(0x2f3)](),_0x5a6a53=this[_0x593f4f(0x252)]=_0x5ddc50['clone'](),_0xd690b2=_0x195cf7[_0x593f4f(0x3d6)],_0x542060=_0x5a6a53[_0x593f4f(0x3d6)],_0x368add=0x0;_0x368add<_0x17844c;_0x368add++)_0xd690b2[_0x368add]^=0x5c5c5c5c,_0x542060[_0x368add]^=0x36363636;_0x195cf7['sigBytes']=_0x5a6a53[_0x593f4f(0x174)]=_0x42167b,this[_0x593f4f(0x23d)]();},'reset':function(){var _0x4b0e3d=_0x7f966f,_0x58c361=this['_hasher'];_0x58c361['reset'](),_0x58c361[_0x4b0e3d(0x3ba)](this[_0x4b0e3d(0x252)]);},'update':function(_0x5091ac){var _0x50960c=_0x7f966f;return this[_0x50960c(0x290)][_0x50960c(0x3ba)](_0x5091ac),this;},'finalize':function(_0x577877){var _0x28f3f1=_0x7f966f,_0x3cd44d=this['_hasher'],_0x2d1b84=_0x3cd44d[_0x28f3f1(0x34a)](_0x577877);_0x3cd44d[_0x28f3f1(0x23d)]();var _0x3742c=_0x3cd44d[_0x28f3f1(0x34a)](this[_0x28f3f1(0x249)][_0x28f3f1(0x2f3)]()[_0x28f3f1(0x400)](_0x2d1b84));return _0x3742c;}});}());}));}(Ce)),Ce[_0xf9b2ab(0x1f9)];}var ni=Ie['exports'],rt;function wt(){var _0x5447b7=_0x51a846;return rt||(rt=0x1,function(_0x31cb2b,_0x265b58){(function(_0xa9687,_0x513b8d,_0x2a5a37){var _0xf3867a=_0x2a70;_0x31cb2b[_0xf3867a(0x1f9)]=_0x513b8d(ee(),Qn(),ti());}(ni,function(_0x176ef9){return(function(){var _0x138d96=_0x2a70,_0x1eb25b=_0x176ef9,_0x46c92e=_0x1eb25b['lib'],_0x574901=_0x46c92e[_0x138d96(0x404)],_0x274551=_0x46c92e[_0x138d96(0x32f)],_0x511eed=_0x1eb25b[_0x138d96(0x33a)],_0x17de46=_0x511eed[_0x138d96(0x142)],_0xde7fc7=_0x511eed['EvpKDF']=_0x574901[_0x138d96(0x48f)]({'cfg':_0x574901[_0x138d96(0x48f)]({'keySize':0x80/0x20,'hasher':_0x17de46,'iterations':0x1}),'init':function(_0xa43b75){var _0x449db1=_0x138d96;this[_0x449db1(0x13a)]=this[_0x449db1(0x13a)][_0x449db1(0x48f)](_0xa43b75);},'compute':function(_0x53e0d0,_0xce1b31){var _0xa7b479=_0x138d96;for(var _0x5679e4,_0x1b14f3=this[_0xa7b479(0x13a)],_0x585ccd=_0x1b14f3[_0xa7b479(0x25c)][_0xa7b479(0x217)](),_0x4af284=_0x274551[_0xa7b479(0x217)](),_0x508a46=_0x4af284[_0xa7b479(0x3d6)],_0x5cb6e4=_0x1b14f3['keySize'],_0x4e6288=_0x1b14f3[_0xa7b479(0x3c9)];_0x508a46[_0xa7b479(0x457)]<_0x5cb6e4;){_0x5679e4&&_0x585ccd['update'](_0x5679e4),_0x5679e4=_0x585ccd[_0xa7b479(0x3ba)](_0x53e0d0)['finalize'](_0xce1b31),_0x585ccd['reset']();for(var _0x1cb04b=0x1;_0x1cb04b<_0x4e6288;_0x1cb04b++)_0x5679e4=_0x585ccd[_0xa7b479(0x34a)](_0x5679e4),_0x585ccd[_0xa7b479(0x23d)]();_0x4af284['concat'](_0x5679e4);}return _0x4af284[_0xa7b479(0x174)]=_0x5cb6e4*0x4,_0x4af284;}});_0x1eb25b[_0x138d96(0x36c)]=function(_0x1cbc42,_0x5a9a52,_0x4e284e){var _0x1f30e6=_0x138d96;return _0xde7fc7[_0x1f30e6(0x217)](_0x4e284e)[_0x1f30e6(0x2db)](_0x1cbc42,_0x5a9a52);};}()),_0x176ef9['EvpKDF'];}));}(Ie)),Ie[_0x5447b7(0x1f9)];}var Te={'exports':{}},ii=Te[_0x51a846(0x1f9)],st;function At(){var _0x37f19b=_0x51a846;return st||(st=0x1,function(_0x39616d,_0x251735){(function(_0x36b70f,_0x315c4d,_0x582904){_0x39616d['exports']=_0x315c4d(ee(),wt());}(ii,function(_0x2677e1){var _0x372017=_0x2a70;_0x2677e1[_0x372017(0x26e)]['Cipher']||function(_0x9ac780){var _0x1e846c=_0x372017,_0x242518=_0x2677e1,_0x4a9837=_0x242518[_0x1e846c(0x26e)],_0xeb360a=_0x4a9837[_0x1e846c(0x404)],_0x1d1232=_0x4a9837[_0x1e846c(0x32f)],_0x5e7b40=_0x4a9837[_0x1e846c(0x35d)],_0x55cd92=_0x242518['enc'];_0x55cd92[_0x1e846c(0x2ab)];var _0x39c3bd=_0x55cd92['Base64'],_0x167f75=_0x242518[_0x1e846c(0x33a)],_0x16b3ae=_0x167f75[_0x1e846c(0x36c)],_0x2ef485=_0x4a9837[_0x1e846c(0x1b1)]=_0x5e7b40[_0x1e846c(0x48f)]({'cfg':_0xeb360a[_0x1e846c(0x48f)](),'createEncryptor':function(_0x2b184f,_0x25c5c6){var _0x11ec83=_0x1e846c;return this[_0x11ec83(0x217)](this[_0x11ec83(0x2c9)],_0x2b184f,_0x25c5c6);},'createDecryptor':function(_0x324ef6,_0x3e0337){var _0x133e3a=_0x1e846c;return this[_0x133e3a(0x217)](this[_0x133e3a(0x341)],_0x324ef6,_0x3e0337);},'init':function(_0x4c030e,_0x4bdcef,_0x4c63fb){var _0x174c87=_0x1e846c;this[_0x174c87(0x13a)]=this['cfg'][_0x174c87(0x48f)](_0x4c63fb),this[_0x174c87(0x224)]=_0x4c030e,this['_key']=_0x4bdcef,this[_0x174c87(0x23d)]();},'reset':function(){var _0x39232b=_0x1e846c;_0x5e7b40[_0x39232b(0x23d)][_0x39232b(0x460)](this),this['_doReset']();},'process':function(_0x7dd5bf){var _0x8f9db3=_0x1e846c;return this[_0x8f9db3(0x162)](_0x7dd5bf),this['_process']();},'finalize':function(_0x21a291){var _0x225252=_0x1e846c;_0x21a291&&this[_0x225252(0x162)](_0x21a291);var _0x54373d=this[_0x225252(0x23a)]();return _0x54373d;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x33a7a9(_0x46fb28){return typeof _0x46fb28=='string'?_0x21e954:_0x480235;}return function(_0x66013){return{'encrypt':function(_0x416a8f,_0x1bb723,_0x2a73f1){var _0x4edb04=_0x2a70;return _0x33a7a9(_0x1bb723)[_0x4edb04(0x147)](_0x66013,_0x416a8f,_0x1bb723,_0x2a73f1);},'decrypt':function(_0xd58837,_0x4254ff,_0x5c65ca){var _0x2fc593=_0x2a70;return _0x33a7a9(_0x4254ff)[_0x2fc593(0x18b)](_0x66013,_0xd58837,_0x4254ff,_0x5c65ca);}};};}())});_0x4a9837[_0x1e846c(0x2af)]=_0x2ef485[_0x1e846c(0x48f)]({'_doFinalize':function(){var _0x46b3dd=this['_process'](!0x0);return _0x46b3dd;},'blockSize':0x1});var _0x53458a=_0x242518[_0x1e846c(0x3db)]={},_0x1f2ce4=_0x4a9837[_0x1e846c(0x419)]=_0xeb360a[_0x1e846c(0x48f)]({'createEncryptor':function(_0x5755ff,_0x3698ea){var _0x299280=_0x1e846c;return this[_0x299280(0x495)][_0x299280(0x217)](_0x5755ff,_0x3698ea);},'createDecryptor':function(_0x45c854,_0x50c0e7){var _0xc56f86=_0x1e846c;return this[_0xc56f86(0x38c)]['create'](_0x45c854,_0x50c0e7);},'init':function(_0x577d5b,_0x25c120){var _0x2a6718=_0x1e846c;this[_0x2a6718(0x218)]=_0x577d5b,this[_0x2a6718(0x1e4)]=_0x25c120;}}),_0x7f67b2=_0x53458a[_0x1e846c(0x46a)]=(function(){var _0x3b9933=_0x1e846c,_0x222388=_0x1f2ce4[_0x3b9933(0x48f)]();_0x222388['Encryptor']=_0x222388[_0x3b9933(0x48f)]({'processBlock':function(_0x4eac62,_0x5bf2b3){var _0x179d60=_0x3b9933,_0x252b57=this[_0x179d60(0x218)],_0x3258b2=_0x252b57['blockSize'];_0x12a67a['call'](this,_0x4eac62,_0x5bf2b3,_0x3258b2),_0x252b57[_0x179d60(0x154)](_0x4eac62,_0x5bf2b3),this[_0x179d60(0x1f2)]=_0x4eac62[_0x179d60(0x2cf)](_0x5bf2b3,_0x5bf2b3+_0x3258b2);}}),_0x222388[_0x3b9933(0x38c)]=_0x222388['extend']({'processBlock':function(_0x3008fa,_0x2063db){var _0x2996b2=_0x3b9933,_0x40c1bb=this['_cipher'],_0x1b01a2=_0x40c1bb[_0x2996b2(0x2f0)],_0x3cb503=_0x3008fa[_0x2996b2(0x2cf)](_0x2063db,_0x2063db+_0x1b01a2);_0x40c1bb[_0x2996b2(0x493)](_0x3008fa,_0x2063db),_0x12a67a[_0x2996b2(0x460)](this,_0x3008fa,_0x2063db,_0x1b01a2),this[_0x2996b2(0x1f2)]=_0x3cb503;}});function _0x12a67a(_0x326a2e,_0x3c7483,_0x3859b0){var _0x467b3f=_0x3b9933,_0x4548c1,_0x2e0d2f=this[_0x467b3f(0x1e4)];_0x2e0d2f?(_0x4548c1=_0x2e0d2f,this[_0x467b3f(0x1e4)]=_0x9ac780):_0x4548c1=this[_0x467b3f(0x1f2)];for(var _0x20abdb=0x0;_0x20abdb<_0x3859b0;_0x20abdb++)_0x326a2e[_0x3c7483+_0x20abdb]^=_0x4548c1[_0x20abdb];}return _0x222388;}()),_0xfbe47=_0x242518['pad']={},_0x198020=_0xfbe47[_0x1e846c(0x2ff)]={'pad':function(_0x50366e,_0x984da2){var _0x556172=_0x1e846c;for(var _0x33b5f7=_0x984da2*0x4,_0xab1ef6=_0x33b5f7-_0x50366e[_0x556172(0x174)]%_0x33b5f7,_0xe7a4d1=_0xab1ef6<<0x18|_0xab1ef6<<0x10|_0xab1ef6<<0x8|_0xab1ef6,_0x22d78c=[],_0x25fef3=0x0;_0x25fef3<_0xab1ef6;_0x25fef3+=0x4)_0x22d78c[_0x556172(0x140)](_0xe7a4d1);var _0x52f7b8=_0x1d1232[_0x556172(0x217)](_0x22d78c,_0xab1ef6);_0x50366e[_0x556172(0x400)](_0x52f7b8);},'unpad':function(_0x7f8ce7){var _0x5b12be=_0x1e846c,_0x127719=_0x7f8ce7[_0x5b12be(0x3d6)][_0x7f8ce7[_0x5b12be(0x174)]-0x1>>>0x2]&0xff;_0x7f8ce7['sigBytes']-=_0x127719;}};_0x4a9837['BlockCipher']=_0x2ef485[_0x1e846c(0x48f)]({'cfg':_0x2ef485[_0x1e846c(0x13a)][_0x1e846c(0x48f)]({'mode':_0x7f67b2,'padding':_0x198020}),'reset':function(){var _0x1c19d5=_0x1e846c,_0x152c2f;_0x2ef485['reset']['call'](this);var _0x51713f=this[_0x1c19d5(0x13a)],_0x509880=_0x51713f['iv'],_0x52c4ff=_0x51713f[_0x1c19d5(0x3db)];this[_0x1c19d5(0x224)]==this['_ENC_XFORM_MODE']?_0x152c2f=_0x52c4ff['createEncryptor']:(_0x152c2f=_0x52c4ff[_0x1c19d5(0x3ac)],this['_minBufferSize']=0x1),this['_mode']&&this['_mode'][_0x1c19d5(0x199)]==_0x152c2f?this[_0x1c19d5(0x2a5)][_0x1c19d5(0x436)](this,_0x509880&&_0x509880[_0x1c19d5(0x3d6)]):(this[_0x1c19d5(0x2a5)]=_0x152c2f[_0x1c19d5(0x460)](_0x52c4ff,this,_0x509880&&_0x509880[_0x1c19d5(0x3d6)]),this[_0x1c19d5(0x2a5)][_0x1c19d5(0x199)]=_0x152c2f);},'_doProcessBlock':function(_0x20aa2e,_0x243449){var _0x5ce796=_0x1e846c;this['_mode'][_0x5ce796(0x2d4)](_0x20aa2e,_0x243449);},'_doFinalize':function(){var _0x51a2ee=_0x1e846c,_0x5c1a53,_0x3d0da6=this[_0x51a2ee(0x13a)][_0x51a2ee(0x3b5)];return this['_xformMode']==this[_0x51a2ee(0x2c9)]?(_0x3d0da6[_0x51a2ee(0x497)](this[_0x51a2ee(0x44e)],this[_0x51a2ee(0x2f0)]),_0x5c1a53=this[_0x51a2ee(0x132)](!0x0)):(_0x5c1a53=this['_process'](!0x0),_0x3d0da6[_0x51a2ee(0x1ce)](_0x5c1a53)),_0x5c1a53;},'blockSize':0x80/0x20});var _0x32bd6f=_0x4a9837[_0x1e846c(0x36f)]=_0xeb360a[_0x1e846c(0x48f)]({'init':function(_0x2c48bb){var _0x187844=_0x1e846c;this[_0x187844(0x248)](_0x2c48bb);},'toString':function(_0x3e51e7){var _0x5befa9=_0x1e846c;return(_0x3e51e7||this[_0x5befa9(0x23e)])[_0x5befa9(0x46b)](this);}}),_0x48fa52=_0x242518[_0x1e846c(0x21e)]={},_0x1f1541=_0x48fa52[_0x1e846c(0x362)]={'stringify':function(_0x24a557){var _0x4e96c9=_0x1e846c,_0x14efaf,_0x2ae909=_0x24a557[_0x4e96c9(0x197)],_0x21045d=_0x24a557[_0x4e96c9(0x178)];return _0x21045d?_0x14efaf=_0x1d1232['create']([0x53616c74,0x65645f5f])[_0x4e96c9(0x400)](_0x21045d)[_0x4e96c9(0x400)](_0x2ae909):_0x14efaf=_0x2ae909,_0x14efaf[_0x4e96c9(0x3b1)](_0x39c3bd);},'parse':function(_0x523d1b){var _0x467280=_0x1e846c,_0x55a756,_0x483aba=_0x39c3bd[_0x467280(0x354)](_0x523d1b),_0x4004ad=_0x483aba[_0x467280(0x3d6)];return _0x4004ad[0x0]==0x53616c74&&_0x4004ad[0x1]==0x65645f5f&&(_0x55a756=_0x1d1232[_0x467280(0x217)](_0x4004ad['slice'](0x2,0x4)),_0x4004ad[_0x467280(0x156)](0x0,0x4),_0x483aba[_0x467280(0x174)]-=0x10),_0x32bd6f[_0x467280(0x217)]({'ciphertext':_0x483aba,'salt':_0x55a756});}},_0x480235=_0x4a9837['SerializableCipher']=_0xeb360a[_0x1e846c(0x48f)]({'cfg':_0xeb360a[_0x1e846c(0x48f)]({'format':_0x1f1541}),'encrypt':function(_0x1e7f53,_0x2ed3b1,_0x251f1d,_0x525591){var _0x2ac83e=_0x1e846c;_0x525591=this['cfg']['extend'](_0x525591);var _0x1942af=_0x1e7f53[_0x2ac83e(0x47b)](_0x251f1d,_0x525591),_0x1c0db1=_0x1942af[_0x2ac83e(0x34a)](_0x2ed3b1),_0x8f69bc=_0x1942af[_0x2ac83e(0x13a)];return _0x32bd6f[_0x2ac83e(0x217)]({'ciphertext':_0x1c0db1,'key':_0x251f1d,'iv':_0x8f69bc['iv'],'algorithm':_0x1e7f53,'mode':_0x8f69bc[_0x2ac83e(0x3db)],'padding':_0x8f69bc['padding'],'blockSize':_0x1e7f53[_0x2ac83e(0x2f0)],'formatter':_0x525591[_0x2ac83e(0x21e)]});},'decrypt':function(_0x15eb35,_0x500184,_0x354f36,_0x47ce0d){var _0x39270e=_0x1e846c;_0x47ce0d=this[_0x39270e(0x13a)][_0x39270e(0x48f)](_0x47ce0d),_0x500184=this['_parse'](_0x500184,_0x47ce0d['format']);var _0x7b99ff=_0x15eb35[_0x39270e(0x3ac)](_0x354f36,_0x47ce0d)['finalize'](_0x500184[_0x39270e(0x197)]);return _0x7b99ff;},'_parse':function(_0x52aa4c,_0x17d53c){var _0x521427=_0x1e846c;return typeof _0x52aa4c==_0x521427(0x382)?_0x17d53c[_0x521427(0x354)](_0x52aa4c,this):_0x52aa4c;}}),_0x333f96=_0x242518[_0x1e846c(0x188)]={},_0x50b098=_0x333f96[_0x1e846c(0x362)]={'execute':function(_0x278b3e,_0x3fd45f,_0x4f8997,_0x3ab857,_0x571a7e){var _0x3c8966=_0x1e846c;if(_0x3ab857||(_0x3ab857=_0x1d1232[_0x3c8966(0x222)](0x40/0x8)),_0x571a7e)var _0x2d6994=_0x16b3ae[_0x3c8966(0x217)]({'keySize':_0x3fd45f+_0x4f8997,'hasher':_0x571a7e})[_0x3c8966(0x2db)](_0x278b3e,_0x3ab857);else var _0x2d6994=_0x16b3ae[_0x3c8966(0x217)]({'keySize':_0x3fd45f+_0x4f8997})['compute'](_0x278b3e,_0x3ab857);var _0x1247de=_0x1d1232[_0x3c8966(0x217)](_0x2d6994[_0x3c8966(0x3d6)][_0x3c8966(0x2cf)](_0x3fd45f),_0x4f8997*0x4);return _0x2d6994[_0x3c8966(0x174)]=_0x3fd45f*0x4,_0x32bd6f['create']({'key':_0x2d6994,'iv':_0x1247de,'salt':_0x3ab857});}},_0x21e954=_0x4a9837[_0x1e846c(0x409)]=_0x480235['extend']({'cfg':_0x480235[_0x1e846c(0x13a)][_0x1e846c(0x48f)]({'kdf':_0x50b098}),'encrypt':function(_0x35e0fb,_0x3ca9d6,_0x9f0f5f,_0x7ea194){var _0x977bc4=_0x1e846c;_0x7ea194=this[_0x977bc4(0x13a)][_0x977bc4(0x48f)](_0x7ea194);var _0x1945ea=_0x7ea194[_0x977bc4(0x188)][_0x977bc4(0x47e)](_0x9f0f5f,_0x35e0fb['keySize'],_0x35e0fb[_0x977bc4(0x2fb)],_0x7ea194['salt'],_0x7ea194[_0x977bc4(0x25c)]);_0x7ea194['iv']=_0x1945ea['iv'];var _0x56cd24=_0x480235['encrypt']['call'](this,_0x35e0fb,_0x3ca9d6,_0x1945ea[_0x977bc4(0x275)],_0x7ea194);return _0x56cd24['mixIn'](_0x1945ea),_0x56cd24;},'decrypt':function(_0x411b21,_0x54c8a5,_0x2b38b4,_0x4628c0){var _0x2cacaf=_0x1e846c;_0x4628c0=this[_0x2cacaf(0x13a)][_0x2cacaf(0x48f)](_0x4628c0),_0x54c8a5=this['_parse'](_0x54c8a5,_0x4628c0[_0x2cacaf(0x21e)]);var _0x3e8fa1=_0x4628c0['kdf'][_0x2cacaf(0x47e)](_0x2b38b4,_0x411b21['keySize'],_0x411b21[_0x2cacaf(0x2fb)],_0x54c8a5[_0x2cacaf(0x178)],_0x4628c0[_0x2cacaf(0x25c)]);_0x4628c0['iv']=_0x3e8fa1['iv'];var _0x4e878d=_0x480235[_0x2cacaf(0x18b)][_0x2cacaf(0x460)](this,_0x411b21,_0x54c8a5,_0x3e8fa1[_0x2cacaf(0x275)],_0x4628c0);return _0x4e878d;}});}();}));}(Te)),Te[_0x37f19b(0x1f9)];}var ri=Se[_0x51a846(0x1f9)],ot;function si(){var _0x238ff9=_0x51a846;return ot||(ot=0x1,function(_0x11f86c,_0x429f22){(function(_0x3af51b,_0x336964,_0x50934e){var _0x70cd7=_0x2a70;_0x11f86c[_0x70cd7(0x1f9)]=_0x336964(ee(),Dt(),Xn(),wt(),At());}(ri,function(_0x22517a){return(function(){var _0x362698=_0x2a70,_0x403f7=_0x22517a,_0x36cbb2=_0x403f7['lib'],_0x57585c=_0x36cbb2[_0x362698(0x22f)],_0x5bd421=_0x403f7[_0x362698(0x33a)],_0x1f8610=[],_0x3d7f36=[],_0x409c19=[],_0x96cf65=[],_0x359171=[],_0x81cb28=[],_0xc36976=[],_0x774c9d=[],_0x1dcf3b=[],_0x175112=[];(function(){for(var _0x3dd53a=[],_0x3e9818=0x0;_0x3e9818<0x100;_0x3e9818++)_0x3e9818<0x80?_0x3dd53a[_0x3e9818]=_0x3e9818<<0x1:_0x3dd53a[_0x3e9818]=_0x3e9818<<0x1^0x11b;for(var _0x208364=0x0,_0x3e8880=0x0,_0x3e9818=0x0;_0x3e9818<0x100;_0x3e9818++){var _0x30768d=_0x3e8880^_0x3e8880<<0x1^_0x3e8880<<0x2^_0x3e8880<<0x3^_0x3e8880<<0x4;_0x30768d=_0x30768d>>>0x8^_0x30768d&0xff^0x63,_0x1f8610[_0x208364]=_0x30768d,_0x3d7f36[_0x30768d]=_0x208364;var _0x39aba6=_0x3dd53a[_0x208364],_0x887f7e=_0x3dd53a[_0x39aba6],_0x48685b=_0x3dd53a[_0x887f7e],_0x11b4e8=_0x3dd53a[_0x30768d]*0x101^_0x30768d*0x1010100;_0x409c19[_0x208364]=_0x11b4e8<<0x18|_0x11b4e8>>>0x8,_0x96cf65[_0x208364]=_0x11b4e8<<0x10|_0x11b4e8>>>0x10,_0x359171[_0x208364]=_0x11b4e8<<0x8|_0x11b4e8>>>0x18,_0x81cb28[_0x208364]=_0x11b4e8;var _0x11b4e8=_0x48685b*0x1010101^_0x887f7e*0x10001^_0x39aba6*0x101^_0x208364*0x1010100;_0xc36976[_0x30768d]=_0x11b4e8<<0x18|_0x11b4e8>>>0x8,_0x774c9d[_0x30768d]=_0x11b4e8<<0x10|_0x11b4e8>>>0x10,_0x1dcf3b[_0x30768d]=_0x11b4e8<<0x8|_0x11b4e8>>>0x18,_0x175112[_0x30768d]=_0x11b4e8,_0x208364?(_0x208364=_0x39aba6^_0x3dd53a[_0x3dd53a[_0x3dd53a[_0x48685b^_0x39aba6]]],_0x3e8880^=_0x3dd53a[_0x3dd53a[_0x3e8880]]):_0x208364=_0x3e8880=0x1;}}());var _0x30023d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1d5274=_0x5bd421[_0x362698(0x363)]=_0x57585c[_0x362698(0x48f)]({'_doReset':function(){var _0x5c0ae3=_0x362698,_0x136e67;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x5c0ae3(0x37e)])){for(var _0x3d60cf=this[_0x5c0ae3(0x440)]=this[_0x5c0ae3(0x37e)],_0x3778f8=_0x3d60cf[_0x5c0ae3(0x3d6)],_0x268b1a=_0x3d60cf[_0x5c0ae3(0x174)]/0x4,_0x13e4d2=this[_0x5c0ae3(0x41a)]=_0x268b1a+0x6,_0x4f7c02=(_0x13e4d2+0x1)*0x4,_0x2ef687=this[_0x5c0ae3(0x292)]=[],_0x5c14c2=0x0;_0x5c14c2<_0x4f7c02;_0x5c14c2++)_0x5c14c2<_0x268b1a?_0x2ef687[_0x5c14c2]=_0x3778f8[_0x5c14c2]:(_0x136e67=_0x2ef687[_0x5c14c2-0x1],_0x5c14c2%_0x268b1a?_0x268b1a>0x6&&_0x5c14c2%_0x268b1a==0x4&&(_0x136e67=_0x1f8610[_0x136e67>>>0x18]<<0x18|_0x1f8610[_0x136e67>>>0x10&0xff]<<0x10|_0x1f8610[_0x136e67>>>0x8&0xff]<<0x8|_0x1f8610[_0x136e67&0xff]):(_0x136e67=_0x136e67<<0x8|_0x136e67>>>0x18,_0x136e67=_0x1f8610[_0x136e67>>>0x18]<<0x18|_0x1f8610[_0x136e67>>>0x10&0xff]<<0x10|_0x1f8610[_0x136e67>>>0x8&0xff]<<0x8|_0x1f8610[_0x136e67&0xff],_0x136e67^=_0x30023d[_0x5c14c2/_0x268b1a|0x0]<<0x18),_0x2ef687[_0x5c14c2]=_0x2ef687[_0x5c14c2-_0x268b1a]^_0x136e67);for(var _0x3c6a88=this['_invKeySchedule']=[],_0x50ff50=0x0;_0x50ff50<_0x4f7c02;_0x50ff50++){var _0x5c14c2=_0x4f7c02-_0x50ff50;if(_0x50ff50%0x4)var _0x136e67=_0x2ef687[_0x5c14c2];else var _0x136e67=_0x2ef687[_0x5c14c2-0x4];_0x50ff50<0x4||_0x5c14c2<=0x4?_0x3c6a88[_0x50ff50]=_0x136e67:_0x3c6a88[_0x50ff50]=_0xc36976[_0x1f8610[_0x136e67>>>0x18]]^_0x774c9d[_0x1f8610[_0x136e67>>>0x10&0xff]]^_0x1dcf3b[_0x1f8610[_0x136e67>>>0x8&0xff]]^_0x175112[_0x1f8610[_0x136e67&0xff]];}}},'encryptBlock':function(_0x149da6,_0x254f82){var _0x251054=_0x362698;this[_0x251054(0x1c9)](_0x149da6,_0x254f82,this[_0x251054(0x292)],_0x409c19,_0x96cf65,_0x359171,_0x81cb28,_0x1f8610);},'decryptBlock':function(_0x187bca,_0x1f3db3){var _0x24fc3d=_0x362698,_0x2feecf=_0x187bca[_0x1f3db3+0x1];_0x187bca[_0x1f3db3+0x1]=_0x187bca[_0x1f3db3+0x3],_0x187bca[_0x1f3db3+0x3]=_0x2feecf,this[_0x24fc3d(0x1c9)](_0x187bca,_0x1f3db3,this[_0x24fc3d(0x18f)],_0xc36976,_0x774c9d,_0x1dcf3b,_0x175112,_0x3d7f36);var _0x2feecf=_0x187bca[_0x1f3db3+0x1];_0x187bca[_0x1f3db3+0x1]=_0x187bca[_0x1f3db3+0x3],_0x187bca[_0x1f3db3+0x3]=_0x2feecf;},'_doCryptBlock':function(_0x21e2b5,_0xdf9ac2,_0x2dbdef,_0x308cde,_0x206fcb,_0x500af5,_0x29208f,_0x292c2f){for(var _0x4f4e33=this['_nRounds'],_0x3c6b82=_0x21e2b5[_0xdf9ac2]^_0x2dbdef[0x0],_0x57fa96=_0x21e2b5[_0xdf9ac2+0x1]^_0x2dbdef[0x1],_0x50135f=_0x21e2b5[_0xdf9ac2+0x2]^_0x2dbdef[0x2],_0x923f0a=_0x21e2b5[_0xdf9ac2+0x3]^_0x2dbdef[0x3],_0x5a9d33=0x4,_0x1e1686=0x1;_0x1e1686<_0x4f4e33;_0x1e1686++){var _0x526eed=_0x308cde[_0x3c6b82>>>0x18]^_0x206fcb[_0x57fa96>>>0x10&0xff]^_0x500af5[_0x50135f>>>0x8&0xff]^_0x29208f[_0x923f0a&0xff]^_0x2dbdef[_0x5a9d33++],_0x2f6bba=_0x308cde[_0x57fa96>>>0x18]^_0x206fcb[_0x50135f>>>0x10&0xff]^_0x500af5[_0x923f0a>>>0x8&0xff]^_0x29208f[_0x3c6b82&0xff]^_0x2dbdef[_0x5a9d33++],_0x33b12c=_0x308cde[_0x50135f>>>0x18]^_0x206fcb[_0x923f0a>>>0x10&0xff]^_0x500af5[_0x3c6b82>>>0x8&0xff]^_0x29208f[_0x57fa96&0xff]^_0x2dbdef[_0x5a9d33++],_0x5b4f6d=_0x308cde[_0x923f0a>>>0x18]^_0x206fcb[_0x3c6b82>>>0x10&0xff]^_0x500af5[_0x57fa96>>>0x8&0xff]^_0x29208f[_0x50135f&0xff]^_0x2dbdef[_0x5a9d33++];_0x3c6b82=_0x526eed,_0x57fa96=_0x2f6bba,_0x50135f=_0x33b12c,_0x923f0a=_0x5b4f6d;}var _0x526eed=(_0x292c2f[_0x3c6b82>>>0x18]<<0x18|_0x292c2f[_0x57fa96>>>0x10&0xff]<<0x10|_0x292c2f[_0x50135f>>>0x8&0xff]<<0x8|_0x292c2f[_0x923f0a&0xff])^_0x2dbdef[_0x5a9d33++],_0x2f6bba=(_0x292c2f[_0x57fa96>>>0x18]<<0x18|_0x292c2f[_0x50135f>>>0x10&0xff]<<0x10|_0x292c2f[_0x923f0a>>>0x8&0xff]<<0x8|_0x292c2f[_0x3c6b82&0xff])^_0x2dbdef[_0x5a9d33++],_0x33b12c=(_0x292c2f[_0x50135f>>>0x18]<<0x18|_0x292c2f[_0x923f0a>>>0x10&0xff]<<0x10|_0x292c2f[_0x3c6b82>>>0x8&0xff]<<0x8|_0x292c2f[_0x57fa96&0xff])^_0x2dbdef[_0x5a9d33++],_0x5b4f6d=(_0x292c2f[_0x923f0a>>>0x18]<<0x18|_0x292c2f[_0x3c6b82>>>0x10&0xff]<<0x10|_0x292c2f[_0x57fa96>>>0x8&0xff]<<0x8|_0x292c2f[_0x50135f&0xff])^_0x2dbdef[_0x5a9d33++];_0x21e2b5[_0xdf9ac2]=_0x526eed,_0x21e2b5[_0xdf9ac2+0x1]=_0x2f6bba,_0x21e2b5[_0xdf9ac2+0x2]=_0x33b12c,_0x21e2b5[_0xdf9ac2+0x3]=_0x5b4f6d;},'keySize':0x100/0x20});_0x403f7['AES']=_0x57585c[_0x362698(0x171)](_0x1d5274);}()),_0x22517a['AES'];}));}(Se)),Se[_0x238ff9(0x1f9)];}var oi=si();const ai=fe(oi);var ci=Dt();const at=fe(ci);var be={'exports':{}},hi=be[_0x51a846(0x1f9)],ct;function li(){var _0x24d91d=_0x51a846;return ct||(ct=0x1,function(_0x1849b7,_0x470b51){(function(_0x2cd54f,_0x224bc4){var _0x2a9281=_0x2a70;_0x1849b7[_0x2a9281(0x1f9)]=_0x224bc4(ee());}(hi,function(_0xad5356){var _0x1d15a3=_0x2a70;return _0xad5356[_0x1d15a3(0x3b4)][_0x1d15a3(0x2ab)];}));}(be)),be[_0x24d91d(0x1f9)];}var _i=li();const ui=fe(_i);var Re={'exports':{}},di=Re[_0x51a846(0x1f9)],ht;function vi(){return ht||(ht=0x1,function(_0x16c9b3,_0x7c229a){(function(_0x596c87,_0x3b006f){_0x16c9b3['exports']=_0x3b006f(ee());}(di,function(_0x10903c){var _0x1309ba=_0x2a70;return(function(){var _0x36fbc6=_0x2a70;if(typeof ArrayBuffer==_0x36fbc6(0x1ed)){var _0xaea7e1=_0x10903c,_0x557d42=_0xaea7e1[_0x36fbc6(0x26e)],_0x1de806=_0x557d42[_0x36fbc6(0x32f)],_0x11fa6d=_0x1de806['init'],_0x46290f=_0x1de806[_0x36fbc6(0x436)]=function(_0x3d8ab4){var _0xdf1840=_0x36fbc6;if(_0x3d8ab4 instanceof ArrayBuffer&&(_0x3d8ab4=new Uint8Array(_0x3d8ab4)),(_0x3d8ab4 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3d8ab4 instanceof Uint8ClampedArray||_0x3d8ab4 instanceof Int16Array||_0x3d8ab4 instanceof Uint16Array||_0x3d8ab4 instanceof Int32Array||_0x3d8ab4 instanceof Uint32Array||_0x3d8ab4 instanceof Float32Array||_0x3d8ab4 instanceof Float64Array)&&(_0x3d8ab4=new Uint8Array(_0x3d8ab4[_0xdf1840(0x44f)],_0x3d8ab4['byteOffset'],_0x3d8ab4['byteLength'])),_0x3d8ab4 instanceof Uint8Array){for(var _0x13b725=_0x3d8ab4['byteLength'],_0x390e0c=[],_0x49eb05=0x0;_0x49eb05<_0x13b725;_0x49eb05++)_0x390e0c[_0x49eb05>>>0x2]|=_0x3d8ab4[_0x49eb05]<<0x18-_0x49eb05%0x4*0x8;_0x11fa6d[_0xdf1840(0x460)](this,_0x390e0c,_0x13b725);}else _0x11fa6d[_0xdf1840(0x2e8)](this,arguments);};_0x46290f[_0x36fbc6(0x12f)]=_0x1de806;}}()),_0x10903c['lib'][_0x1309ba(0x32f)];}));}(Re)),Re['exports'];}var fi=vi();const Si=fe(fi);var Oe={'exports':{}},pi=Oe[_0x51a846(0x1f9)],lt;function mi(){var _0x2c2835=_0x51a846;return lt||(lt=0x1,function(_0x7a796f,_0x582e8f){(function(_0x514bb1,_0x17342f,_0x555da9){var _0x446023=_0x2a70;_0x7a796f[_0x446023(0x1f9)]=_0x17342f(ee(),At());}(pi,function(_0x43de09){var _0x158c29=_0x2a70;return _0x43de09[_0x158c29(0x497)][_0x158c29(0x260)]={'pad':function(){},'unpad':function(){}},_0x43de09[_0x158c29(0x497)][_0x158c29(0x260)];}));}(Oe)),Oe[_0x2c2835(0x1f9)];}var gi=mi();const Ii=fe(gi);function Ei(_0x127c3c,_0x8857fe){var _0x3e95b9=_0x51a846;const _0x3bc0cf=_0x8857fe-_0x127c3c[_0x3e95b9(0x457)]%_0x8857fe,_0x3709c4=String[_0x3e95b9(0x158)](_0x3bc0cf)[_0x3e95b9(0x25d)](_0x3bc0cf);return _0x127c3c+_0x3709c4;}function Ci(_0x13f532,_0x23a68d){var _0x33ded4=_0x51a846;const _0xcd5200=Si[_0x33ded4(0x222)](0x10),_0x4723db=Ei(_0x13f532,0x10),_0x5964ee=ai[_0x33ded4(0x147)](ui['parse'](_0x4723db),at[_0x33ded4(0x354)](_0x23a68d),{'iv':_0xcd5200,'padding':Ii});return _0xcd5200[_0x33ded4(0x400)](_0x5964ee[_0x33ded4(0x197)])[_0x33ded4(0x3b1)](at);}function Ti(){var _0xd871e9=_0x51a846;const _0x4b1843=$t['getGlobalObject']()[_0xd871e9(0x2e0)];if(_0x4b1843){const _0x117ab9={'time':Math[_0xd871e9(0x237)](Date[_0xd871e9(0x351)]()/0x3e8),'domain':location[_0xd871e9(0x228)]};return Ci(JSON[_0xd871e9(0x46b)](_0x117ab9),_0x4b1843);}}function _0x20fb(){var _0x48a9da=['createInstance','_clearRedo','_incrementRevisionNumber','_transformIMECache','HELLO','COMMENT_UPDATE','SOCKET_FAILED_RETRY','_getSessionTicket','state$','COLLAB_WEB_SOCKET_URL_KEY','type','[CollaborationState]:\x20apply\x20error!','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_decreaseWaiting','reconnect','_instanceService','_unlockTransition','GLOBAL_ROOMS_CNT_EXCEEDS','CommentService','image/bmp','PERSON','put','updateMember','CLOSE_ROOM','event$','PendingState','concat','encodeURIComponent','name','url','Base','MergeInterceptorFactory','isArray','_showConflictNotification','charCodeAt','PasswordBasedCipher','_sessionStatus$','POST','findIndex','CompressMutationService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','list','ICollaborationSocketService','_initDependencies','shouldCloseConn','_awaitingChangeset','Subject','values','find','_collaborationPaused','firstValueFrom','BlockCipherMode','_nRounds','HmacSHA1','isTransformMutationsWithChangesetSuccess','APPLY_DUPLICATED','SNAPSHOT_SERVER_URL_KEY','ws://127.0.0.1:8000/universer-api/comb/connect','AuthzIoHttpService','_clearCollaborationTimeoutTimer','sessionStatus$','avatar','20RRayIY','APPLY_NON_SEQUENTIAL_REVISION','localCacheService','_collaborationUIEventService','setShowComponents','sin','UNIVER_SLIDE','/fetchmissing?from=','sessionStatus','_transformUndoredo','auth.needGotoLoginAlert','putCollaborators','_changesetSessionId','YUUMI_RATE_OVER_LIMIT','onSyncEditingCollabCursor','concatMap','every','_syncEditingCollabCursor','init','CHANGESET_REJ','failed\x20to\x20apply\x20missed\x20changesets!','_getUndoStack','_rescheduleHeartbeat','_onUserJoin','collaborators','href','_onConnectionOpen','UNRECOGNIZED','_keyPriorReset','DocCollaborationEntity','awaiting','mutations','confirm','[OfflineState]:\x20received\x20changeset.','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','APPLY_REJECT','toDisposable','/universer-api/snapshot/','_sessions','updateCursorEvent','ImageSourceType','ceil','_data','buffer','univer-pro.collaboration-client.network-condition.service','set','3963288hPvqIr','@univerjs/network','UnitEmbedded','_reverseMap','close$','length','UniverSheetsPlugin','fetchMissingChangesets','msCrypto','conflict','getTypeOfUnitAdded$','src','JOIN','unit-cache-','call','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_HTTPService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformStateCache','session.room-not-exists','&assign=','SNAPSHOT_URL_KEY','COMPRESS_MUTATION_APPLY','/-/object/-/batch_allowed','CBC','stringify','UNIVER_PROJECT','removeMember','_getSignURL','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','RETRY_CONNECTING_MAX_COUNT','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','USERS_ENTER','_createSocket','YUUMI_URL_COL_OUT_OF_RANGE','disableLocalCache','_memberService','waitForRoom$','258929ywJxRm','sendChangesetTimeout','HEARTBEAT_INTERVAL','createEncryptor','unitID','LICENSE_DISTRO_REJECTED','execute','SUBMIT_CHANGESET','_transformStack','BASE64','get','loadOfflineData','_undoStacks','_onOffline','session.room-full','closeSession','_retryConnectingTimer','IUndoRedoService','getDeserializedSheetBlock','LIVESHARE_NEW_HOST','isPermissionRej','_updateStatus','_createHmacHelper','extend','getFocusedUnit','\x20in\x20_schedule.','session.join-failed','decryptBlock','forEach','Encryptor','unknown','pad','ILogService','sequenceExecute','[CollaborationSession]','_transformRemoteChangesetByIMECache','subject','AWAITING','_executeRemoteChangeset','_sheetTransformSelectionsService','refreshPermission','image/png','SnapshotService','_undoRedoService','changesets','_waitCount','revision','/block/','saveImage','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Could\x20not\x20dynamically\x20require\x20\x22','_revisionService','LEAVE','unsubscribe','_roomCreated$','objectID','_initRequestHeader','PY_RUNTIME_SCRIPT_ERROR','Hasher','registerDependencies','prototype','debug','replace','_process','SetSelectionsOperation','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_resendWithTimeout','HEARTBEAT','_throwTelemetryCollaborationNewChangeset','_config','HEARTBEAT_TIMEOUT_KEY','cfg','actions','_telemetryInfo','getResourcesRequest','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_replayCachedMutations','push','telemetry\x20info\x20is\x20not\x20initialized','MD5','_removeRoom','getWorkbookSelections','_handlerCallback','unitId\x20is\x20not\x20found','encrypt','requireSession','BehaviorSubject','UNAUTHENTICATED','Plugin','HttpExport','objectType','ENSURE_SNAPSHOT_EXECUTION','_initUnitPermissionChange','OTHER_CLIENT_EDITING','@univerjs/core','868922IxBFYe','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','encryptBlock','getCollabEntity$','splice','CollaborationEntity','fromCharCode','LICENSE_MAX_UNITS_EXCEEDED','SheetTransformSelectionsService','SheetsSelectionsService','7548336DiDjSa','UUID','CollaborationSession','fetchThroughInterceptors','_tryReconnect','liveShareNewHost','_append','ImageUploadStatusType','_scheduleCompleteTimestamp','_change$','_onLocalMutation','_getUploadFileURL','getUnitStatus$','ONLINE','?size=','CollaborationUIEventService','transformMutationsWithChangeset','FileId','_getSendChangesetTimeout','onCommentUpdate','_networkConditionService','_createHelper','onStateChange','RevisionService','sigBytes','target','PERMISSION_DENIED','[FetchMissState]','salt','getMember','includes','/universer-api/authz','getRandomValues','eventID','fetching\x20missing\x20changesets\x20from\x20','_joinRoom','onSendChangeset','_onUserLeave','json','append','parseProtocolChangeset','synced','RichTextEditingMutation','onRemoteChangeset','kdf','complete','HmacMD5','decrypt','JOIN_ROOM_FAILED','IDLE','_commentService','_invKeySchedule','_state$','Inject','CollaborationImageIoService','randomBytes','DependentOn','_checkMissing','_toggleOnline','ciphertext','updateOfflineData','__creator','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','message$','_queuedRemoteChangesets','LocalUndoRedoService','_map','APPLY_REVISION_CONFILICT','resourceIDs','mapDocumentTypeToUniverType','JOIN_ROOM_PERMISSION_DENIED','_onRecvEvent','_startTelemetryCollaborationNewChangeset','_permissionService','location','_exhaustRemoteChangesetQueue','readyForCollab','LIVESHARE_REQUEST_HOST','_type','/unit/','capture','_timeoutTimer','FETCH_MISSING','_socket','_authzIoService','Cipher','SHOULD_CLOSE_CONN','isTransformChangesetsSuccess','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','NO_OTHER_CLIENTS_EDITING','ThresholdInterceptorFactory','toggleOffline','enableSingleActiveInstanceLock','collaboration-client.config','focused$','Disposable','merge','_substituteUndoStack','getOwnPropertyDescriptor','image/gif','APPLY_PERMISSION_DENIED','asObservable','_onRemoteRetry','_changesetReqId','JOIN_ROOM_FULL','roles','ISingleActiveUnitService','_commandService','duration','_doCryptBlock','toggleOnline','requestParams','/universer-api/file/{fileID}/sign-url','_nDataBytes','unpad','addHandlerCallback','Error\x20on\x20receiving\x20event','size','EXCHANGE_SIGN_URL_SERVER_URL_KEY','send','/role','getImage','DEFAULT_FILE_NAME','/universer-api/comb','session.room-cnt-exceeds','[UniverCollaborationClientPlugin]','_onRemoteRejected','LICENSE_EXPORT_SIZE_EXCEEDED','UNIVER_DOC','enableAuthServer','_snapshotServerService','Malformed\x20UTF-8\x20data','DataLoaderService','_members$','/rev/','@univerjs-pro/license','_iv','updatePermissionObjEvent','state','OTHER_CLIENTS_EDITING','_clearLocalCache','serializeCombRequest','_startCollaboration','SheetCollaborationEntity','[DataLoaderService]','function','setWaitCount','data','_compressMutationService','AWAITING_WITH_PENDING','_prevBlock','_onCombEvent','_event$','b64DecodeUnicode','memberID','listCollaborators','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','exports','/object/','pipe','patch','onRemoteRetry','2LRaiIH','join','_transformRemoteChangesetByStateCache','TOO_MANY_REQUESTS','_createHandler','LocaleService','[CollaborationSessionService]','incrementRevOfUnit','UPDATE_CURSOR','UNIVER_SHEET','_status$','getCollabEntity','_userManagerService','ICommandService','_socket$','DEFAULT_COLLAB_WEB_SOCKET_URL','INTERNAL_ERROR','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','awaitingChangeset','result','getConfig','CONNECTOR_DATA_TOO_LARGE','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','CollaborationEvent','_onMessage','create','_cipher','ISocketService','getValue','getUnitId','UniverCollaborationClientPlugin','executeCommand','format','image/jpg','initWorkbookPermissionChange','onTransformRemoteChangesetByStateCache','random','_injector','_xformMode','People','ReplaySubject','\x0aCurrent:\x20','hostname','originalMeta','/universer-api/stream/file/upload','WorkbookEditablePermission','9rVxWnd','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','then','BlockCipher','OfflineState','saveSheetBlock','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','error$','has','loginUrlKey','_updateLocalCache','floor','rxjs/operators','NOT_FOUND','_doFinalize','getSheetBlock','_resendTimer','reset','formatter','workbook','_doReset','fromCollab','onTransformSelections','[SyncedState]:\x20received\x20rejection.','toLowerCase','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_getAPIPrefixPath','_clearHeartbeatTimer','mixIn','_oKey','/universer-api/user/session-ticket','&source=','_logService','AwaitingState','startsWith','getTypeOfUnitDisposed$','readAsDataURL','responseType','_iKey','MemberService','_tryEnsureSocket','_shouldReportTelemetry','CollaborationUIEventId','_toggleOffline','RETRY_CONNECTING_MAX_COUNT_KEY','editing\x20status\x20changed\x20to','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_lockTransition','hasher','repeat','pending','CONFLICT','NoPadding','localeService','_members','_sendingTimer','_candidateSocket','_remoteChangesetQueue','HTTPService','searchParams','authzUrl','SnapshotServerOverHTTPService','onTransformState','editingUnit','onRemoteAck','origin','lib','action','reqId','HEARTBEAT_INTERVAL_KEY','updateCollaborator','[SyncedState]:\x20received\x20acknowledgement.','ITelemetryService','key','defineProperty','createIdentifier','_loadSheet','session.room-permission-denied','_isPermissionRej','roomInfos','_onConnectionFailed','error','retryConnectingInterval','_schedule','getLatestCsReqIdBySid','onRemoteRej','textEncoder','_transformService','crypto','collaboration-client.local-cache-service','_univerInstanceService','_socketReady','INetworkConditionService','__esModule','LICENSE_IMPORT_SIZE_EXCEEDED','not_collab','from','onLocalMutation','resend','abs','_hasher','getCurrentUser','_keySchedule','listRoles','loadUnit','status','_retryCount','_handler','onMissedChangesetFetched','delete','IPermissionService','Base64','body','MSG_FOR_ERROR','JOINING','getRoom','COLLAB_SUBMIT_CHANGESET_URL_KEY','UNKNOWN_CMD','CollaborationSessionService','_collaborationTimeoutTimer','CollaborationSocketService','_mode','_hash','FAIL','_submitChangeset','COLLAB_SUBMIT_CHANGESET_URL','UNDEFINED','Utf8','userID','subscribe','delay','StreamCipher','post','CHANGESET_REVISION_CONFILICT','4234565eIPYCd','/universer-api/snapshot','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_configService','_snapshotService','code','uniscriptRunEvent','saveChangeset','emitEvent','_imageSourceCache','members','onload','infoRsp','fetchMiss','textRanges','take','CollaborativeUndoRedoService','NOT_COLLAB','createSocket','sessionTicket','_onConflict','startTime','UNIVER_COLLABORATION_CLIENT_PLUGIN','_ENC_XFORM_MODE','baseRev','dispose$','bind','csShouldRetryEvent','AwaitingWithPendingState','slice','joinRsp','_scheduleCollaborationTimeoutTimer','_acknowledgedAwaitingChangeset','ALREADY_EXISTS','processBlock','_httpService','_collaborationSessionService','touchDependencies','connection\x20error','registerHTTPInterceptor','routeKey','compute','FetchingMissState','reduce','getUnitType','unitId','__Key__','_clearUndo','_socketMessageSubscription','add','ITransformService','_roomMembers','IMentionIOService','CHANGESET_ACK','apply','disposeWithMe','CollaborationStatus','12FefqYO','interceptor','reverse','_getDownloadEndpointURL','socket\x20open.','blockSize','signUrlServerUrl','substr','clone','LIVESHARE_FETCH_OPERATIONS','_sendHeartbeatTimer','objects','compose','ERROR_IMAGE','isInternalEditorID','online$','ivSize','IUniverInstanceService','getUnitOnRev','getSnapshotAPIPath','Pkcs7','reject','max','univer-pro.collaboration-client.single-active-unit-service','PERMISSION_REJ','MentionIoHttpService','FETCH_MISS','charAt','getAllMembers','_clearScheduledTask','shareReplay','_onJoinRoomEvent','setConfig','socket$','USERS_LEAVE','_telemetryService','LIVESHARE_OPERATION','parseChangesetToProtocol','Undefined','close','_loadDoc','filter','LOCAL_CACHE_INTERVAL_KEY','cmd','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','enableOfflineEditing','459189yKSpUY','_replaceFileID','IAuthzIoService','deleteCollaborator','fetch_missing','_getAPIPrefix','onMissingChangesets','CollaborationController','toStringTag','map','SOCKET_FAILED','RxDisposable','takeUntil','InsertSheetMutation','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','transformUndoRedo','Univer','range','_sender','c2Prime','selections','/collaborator','WordArray','_eventService','UPDATE_PERMISSION_OBJ','_applyRemoteChangeset','SNAPSHOT_INVALID_SNAPSHOT','dispose','deepClone','UniverInstanceType','_getLoginPath','_waitForHeartbeatResponse','_substituteRedoStack','algo','LOCAL_CACHE_INTERVAL','updatePermissionPoint','snapshotServerUrl','onCommandExecuted','batchAllowed','onlyLocal','_DEC_XFORM_MODE','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','\x0aAfter:\x20','_redoStacks','YUUMI_UNABLE_LOAD_URL','_transitionLocked','UNIVER_UNKNOWN','commentUpdate$','IConfigService','finalize','next','_clearTimeoutTimer','_createInitialState','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','&to=','_onRemoteACK','now','getInterceptPoints','sid','parse','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_initMergeInterceptor','INVALID_ARGUMENT','_getCtorByUniverType','/-/object/list','_state','COMPRESS_MUTATION_SEND','csRejEvent','BufferedBlockAlgorithm','/allowed','_createInitialStateImpl','loadDoc','_socketService','OpenSSL','AES','addImageSourceCache','NEW_CHANGESETS','hasOwnProperty','SEND_CHANGESET_TIMEOUT','status$','SYNCED','getImageSourceCache','PENDING','EvpKDF','search','YUUMI_SUBSCRIPTION_NOT_FOUND','CipherParams','_emitMembers','/object','uploadFileServerUrl','rev','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','randomUUID','_pendingMutations','_onRemoteChangeset','UNISCRIPT_RUN','stopTime','default','setCurrentUser','offline','sheets','_key','_initCloseConn','m2Prime','CommandType','string','SyncedState','Rectangle','c1Prime','runId','encode','Injector','pluginName','getUnit','_localCacheService','Decryptor','_disableEditing','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','onTransformIME','_sendHeartbeat','_entityInit$','_commentUpdate$','getTime','Hex','_updateState','image/jpeg','getCurrentSelections','_getCurrentRevision','_fetchMissChangesets','unitInfo$','indexOf','subUnitId','transformChangesets','_getRedoStack','_resendTimeout','_unitInfo$','appendMutation','mergeOverrideWithDependencies','ERROR_EXCEED_SIZE','permissionRejEvent','6953104QOkUiu','open$','HMAC','SHA1','params','title','_stopTelemetryCollaborationNewChangeset','createDecryptor','clear','getLocalCacheKey','_entities','INGEST','toString','RECV','awaiting_with_pending','enc','padding','_listenToNetworkCondition','_collabSessionService','[CollaborationEntity]','@univerjs/telemetry','update','_init','_localeService','_unitID','HEARTBEAT_TIMEOUT','SessionStatus','[CollaborationSessionService]:\x20socket\x20error','clamp','application/json','getCurrentRevOfUnit','/resources','entries','HttpImport','commentUpdateEvent','UniverNetworkPlugin','iterations','SUBMIT_CHANGESET_TIMEOUT','_transformSelections','session','ConflictState','UNKNOWN_CODE','collaMsg','[CollaborationUndoRedoService]','COMPLETION_FINISHED','onTransformRemoteChangesetByIMECache','OFFLINE','UnitSnapshot','MentionType','words','Optional','headers','_createSocketURL','LIVESHARE_TERMINATE','mode','_http','{fileID}','[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.','getSheetId','JOIN_ROOM_NOT_EXISTS','MUTATION','LOGIN_URL_KEY','_onFetchMissResult','_singleActiveUnitService','IContextService'];_0x20fb=function(){return _0x48a9da;};return _0x20fb();}var bi=Object[_0x51a846(0x276)],Ri=Object[_0x51a846(0x1be)],Oi=(_0x69f895,_0x19c64a,_0x4abe2a,_0x4ef9f7)=>{for(var _0x1c13d2=_0x4ef9f7>0x1?void 0x0:_0x4ef9f7?Ri(_0x19c64a,_0x4abe2a):_0x19c64a,_0x3ad294=_0x69f895['length']-0x1,_0x2f5b4c;_0x3ad294>=0x0;_0x3ad294--)(_0x2f5b4c=_0x69f895[_0x3ad294])&&(_0x1c13d2=(_0x4ef9f7?_0x2f5b4c(_0x19c64a,_0x4abe2a,_0x1c13d2):_0x2f5b4c(_0x1c13d2))||_0x1c13d2);return _0x4ef9f7&&_0x1c13d2&&bi(_0x19c64a,_0x4abe2a,_0x1c13d2),_0x1c13d2;},yi=(_0x29eed1,_0x49236e)=>(_0x3b113a,_0x521aae)=>_0x49236e(_0x3b113a,_0x521aae,_0x29eed1);let Ne=class{constructor(_0x2ff2e2){var _0x53360f=_0x51a846;this[_0x53360f(0x2d5)]=_0x2ff2e2,this['_initRequestHeader']();}[_0x51a846(0x12b)](){var _0x3ffff9=_0x51a846;this[_0x3ffff9(0x2d5)][_0x3ffff9(0x2d9)]({'interceptor':(_0x5a5a20,_0x5e38da)=>{var _0x45dca9=_0x3ffff9;const _0x4b0dcb=_0x5a5a20[_0x45dca9(0x3d8)],_0x16cf82=Ti();return _0x16cf82&&_0x4b0dcb[_0x45dca9(0x451)]('x-univer-host',_0x16cf82),_0x5e38da(_0x5a5a20);}});}};function _0x2a70(_0x5e3ae5,_0xae7343){var _0x20fbba=_0x20fb();return _0x2a70=function(_0x2a70d8,_0x14ebf8){_0x2a70d8=_0x2a70d8-0x113;var _0x437695=_0x20fbba[_0x2a70d8];return _0x437695;},_0x2a70(_0x5e3ae5,_0xae7343);}Ne=Oi([yi(0x0,a[_0x51a846(0x191)](q[_0x51a846(0x266)]))],Ne);var Ni=Object[_0x51a846(0x276)],Ui=Object[_0x51a846(0x1be)],Pi=(_0x4e8fa7,_0x3459e7,_0x56b4cc,_0x1fec07)=>{for(var _0x461dc9=_0x1fec07>0x1?void 0x0:_0x1fec07?Ui(_0x3459e7,_0x56b4cc):_0x3459e7,_0x2ab3b5=_0x4e8fa7['length']-0x1,_0x5b2f4d;_0x2ab3b5>=0x0;_0x2ab3b5--)(_0x5b2f4d=_0x4e8fa7[_0x2ab3b5])&&(_0x461dc9=(_0x1fec07?_0x5b2f4d(_0x3459e7,_0x56b4cc,_0x461dc9):_0x5b2f4d(_0x461dc9))||_0x461dc9);return _0x1fec07&&_0x461dc9&&Ni(_0x3459e7,_0x56b4cc,_0x461dc9),_0x461dc9;},Me=(_0x2aea93,_0x1fded1)=>(_0x3f7cb7,_0x113cd2)=>_0x1fded1(_0x3f7cb7,_0x113cd2,_0x2aea93);exports[_0x51a846(0x1e0)]=class extends a[_0x51a846(0x324)]{constructor(_0x318bac,_0x48eebc,_0x26b73a){var _0x46ab6a=_0x51a846;super(),D(this,_0x46ab6a(0x3a0),new H[(_0x46ab6a(0x149))](null)),D(this,_0x46ab6a(0x39a),this[_0x46ab6a(0x3a0)][_0x46ab6a(0x1c1)]()),(this[_0x46ab6a(0x24c)]=_0x318bac,this[_0x46ab6a(0x2b6)]=_0x48eebc,this[_0x46ab6a(0x38b)]=_0x26b73a);}async[_0x51a846(0x294)](_0x1324f5,_0x18644c,_0x5659af){var _0x2199f7=_0x51a846;this[_0x2199f7(0x3a0)][_0x2199f7(0x34b)]({'unitId':_0x1324f5,'type':_0x18644c,'subUnitId':_0x5659af});let _0x1bb9f9=null;switch(_0x18644c){case Z['UNIVER_SHEET']:{_0x1bb9f9=await this[_0x2199f7(0x278)](_0x1324f5);break;}case Z[_0x2199f7(0x1dc)]:{_0x1bb9f9=await this[_0x2199f7(0x313)](_0x1324f5);break;}default:{this[_0x2199f7(0x24c)][_0x2199f7(0x27d)](_0x2199f7(0x1ec),_0x2199f7(0x317));break;}}return _0x1bb9f9;}async[_0x51a846(0x278)](_0x2d5d7e){var _0x4f4fb1=_0x51a846,_0x183f76;let _0x15f19a=0x0;const _0x239434=await((_0x183f76=this[_0x4f4fb1(0x38b)])==null?void 0x0:_0x183f76[_0x4f4fb1(0x483)](_0x2d5d7e));return _0x239434&&(_0x239434[_0x4f4fb1(0x210)]||_0x239434[_0x4f4fb1(0x443)][_0x4f4fb1(0x457)]!==0x0)&&(_0x15f19a=_0x239434[_0x4f4fb1(0x373)]),_0x15f19a===0x0&&this[_0x4f4fb1(0x24c)]['debug'](_0x4f4fb1(0x1ec),_0x4f4fb1(0x1b4)),this['_snapshotService']['loadSheet'](_0x2d5d7e,_0x15f19a);}async['_loadDoc'](_0x37101d){var _0x3b643f=_0x51a846,_0x44084e;let _0x246a50=0x0;const _0x4d2a9b=await((_0x44084e=this[_0x3b643f(0x38b)])==null?void 0x0:_0x44084e[_0x3b643f(0x483)](_0x37101d));return _0x4d2a9b&&(_0x4d2a9b['awaitingChangeset']||_0x4d2a9b[_0x3b643f(0x443)][_0x3b643f(0x457)]!==0x0)&&(_0x246a50=_0x4d2a9b[_0x3b643f(0x373)]),_0x246a50===0x0&&this[_0x3b643f(0x24c)][_0x3b643f(0x130)](_0x3b643f(0x1ec),_0x3b643f(0x1b4)),this[_0x3b643f(0x2b6)][_0x3b643f(0x360)](_0x37101d,_0x246a50);}},exports[_0x51a846(0x1e0)]=Pi([Me(0x0,a[_0x51a846(0x113)]),Me(0x1,a[_0x51a846(0x191)](m[_0x51a846(0x11d)])),Me(0x2,a[_0x51a846(0x3d7)](z))],exports[_0x51a846(0x1e0)]);var Di=Object[_0x51a846(0x276)],wi=Object[_0x51a846(0x1be)],Ai=(_0x38d6b2,_0x490eed,_0x3ab293,_0x82aa5e)=>{for(var _0x393c0b=_0x82aa5e>0x1?void 0x0:_0x82aa5e?wi(_0x490eed,_0x3ab293):_0x490eed,_0x9ffc14=_0x38d6b2['length']-0x1,_0x3bf99a;_0x9ffc14>=0x0;_0x9ffc14--)(_0x3bf99a=_0x38d6b2[_0x9ffc14])&&(_0x393c0b=(_0x82aa5e?_0x3bf99a(_0x490eed,_0x3ab293,_0x393c0b):_0x3bf99a(_0x393c0b))||_0x393c0b);return _0x82aa5e&&_0x393c0b&&Di(_0x490eed,_0x3ab293,_0x393c0b),_0x393c0b;},xe=(_0x22ee4f,_0x1cb490)=>(_0x34659a,_0x104374)=>_0x1cb490(_0x34659a,_0x104374,_0x22ee4f);const Li=[_0x51a846(0x11c),_0x51a846(0x396),_0x51a846(0x21f),_0x51a846(0x1bf),_0x51a846(0x3f9)],Mi=0x5*0x400*0x400,xi=_0x51a846(0x2b4),ji=_0x51a846(0x22a),$i=_0x51a846(0x1d2),Hi=_0x51a846(0x1cc);exports[_0x51a846(0x192)]=class{constructor(_0x147efb,_0x4d83d7,_0x455782){var _0x512f20=_0x51a846;D(this,_0x512f20(0x120),0x0),D(this,'_change$',new H['Subject']()),D(this,'change$',this[_0x512f20(0x165)]),D(this,_0x512f20(0x2bb),new Map()),(this[_0x512f20(0x2d5)]=_0x147efb,this[_0x512f20(0x2b5)]=_0x4d83d7,this[_0x512f20(0x286)]=_0x455782);}[_0x51a846(0x1ee)](_0x479d92){var _0x2fcc81=_0x51a846;this[_0x2fcc81(0x120)]=_0x479d92,this['_change$']['next'](_0x479d92);}[_0x51a846(0x36a)](_0x8d3666,_0x12d9c3){var _0x232b1c=_0x51a846;if(_0x12d9c3===X['ImageSourceType'][_0x232b1c(0x481)]){const _0x5ef25f=new Image();return _0x5ef25f[_0x232b1c(0x45d)]=_0x8d3666,_0x5ef25f;}return this[_0x232b1c(0x2bb)][_0x232b1c(0x482)](_0x8d3666);}[_0x51a846(0x364)](_0x24fd14,_0x1a5049,_0xa07dd7){var _0x15db51=_0x51a846;_0x1a5049===X[_0x15db51(0x44c)][_0x15db51(0x481)]||_0xa07dd7==null||this[_0x15db51(0x2bb)][_0x15db51(0x451)](_0x24fd14,_0xa07dd7);}async[_0x51a846(0x1d5)](_0x505ed1){var _0x4b2507=_0x51a846;try{const _0x2a830c=this[_0x4b2507(0x31a)](this[_0x4b2507(0x46e)](),''+_0x505ed1),_0x4a91a3=(await this['_httpService']['get'](_0x2a830c))[_0x4b2507(0x29c)];if(_0x4a91a3[_0x4b2507(0x27d)]&&_0x4a91a3[_0x4b2507(0x27d)][_0x4b2507(0x2b7)]===Tt['OK']){const _0x50138a=new URL(_0x4a91a3[_0x4b2507(0x403)],this[_0x4b2507(0x2ee)]())[_0x4b2507(0x3b1)]();return Promise['resolve'](_0x50138a);}return Promise[_0x4b2507(0x300)](_0x4a91a3[_0x4b2507(0x27d)]);}catch(_0x47cc78){return Promise['reject'](_0x47cc78);}}async[_0x51a846(0x123)](_0x1fe25f){var _0x429c9a=_0x51a846;let _0x315857='';if(!Li[_0x429c9a(0x17a)](_0x1fe25f[_0x429c9a(0x3f0)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(X[_0x429c9a(0x163)]['ERROR_IMAGE_TYPE']));if(_0x1fe25f[_0x429c9a(0x1d1)]>Mi)return this['_decreaseWaiting'](),Promise[_0x429c9a(0x300)](new Error(X['ImageUploadStatusType'][_0x429c9a(0x3a3)]));try{const _0x115cea=new FormData();_0x115cea[_0x429c9a(0x183)]('file',_0x1fe25f);const _0x5447e0=this[_0x429c9a(0x286)][_0x429c9a(0x490)](),_0x3548b8=_0x5447e0==null?void 0x0:_0x5447e0['getUnitId']();if(!_0x3548b8)throw new Error(_0x429c9a(0x146));const _0x510199=this[_0x429c9a(0x167)]()+_0x429c9a(0x16a)+_0x1fe25f[_0x429c9a(0x1d1)][_0x429c9a(0x3b1)]()+_0x429c9a(0x24b)+bt[_0x429c9a(0x454)]+_0x429c9a(0x466)+encodeURIComponent(_0x3548b8),_0xcd18b7=await(await fetch(_0x510199,{'method':_0x429c9a(0x40b),'body':_0x115cea}))[_0x429c9a(0x182)]();if(typeof _0xcd18b7[_0x429c9a(0x16d)]!=_0x429c9a(0x382))return this['_decreaseWaiting'](),Promise['reject'](new Error(X[_0x429c9a(0x163)][_0x429c9a(0x2f8)]));_0x315857=_0xcd18b7['FileId'];}catch{return this[_0x429c9a(0x3f3)](),Promise[_0x429c9a(0x300)](new Error(X[_0x429c9a(0x163)]['ERROR_IMAGE']));}return new Promise((_0x2746dd,_0x50ff38)=>{var _0x5781b8=_0x429c9a;const _0x1a8c57=new FileReader();_0x1a8c57[_0x5781b8(0x250)](_0x1fe25f),_0x1a8c57[_0x5781b8(0x2bd)]=_0x51019f=>{var _0x15298d=_0x5781b8,_0x26956b;const _0x43e9c1=(_0x26956b=_0x51019f[_0x15298d(0x175)])==null?void 0x0:_0x26956b[_0x15298d(0x211)];if(_0x43e9c1==null){this[_0x15298d(0x3f3)](),_0x50ff38(new Error(X[_0x15298d(0x163)][_0x15298d(0x2f8)]));return;}const _0x3ee1ef=a['Tools']['generateRandomId'](0x6);_0x2746dd({'imageId':_0x3ee1ef,'imageSourceType':X['ImageSourceType'][_0x15298d(0x15d)],'source':_0x315857,'base64Cache':_0x43e9c1,'status':X[_0x15298d(0x163)]['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x51a846(0x167)](){var _0x81cb7e=_0x51a846,_0x354928,_0x5a60ec;const _0x3960a0=this[_0x81cb7e(0x2b5)][_0x81cb7e(0x212)](xi),_0x3506f7=this[_0x81cb7e(0x2b5)]['getConfig'](Y);return(_0x5a60ec=(_0x354928=_0x3506f7==null?void 0x0:_0x3506f7[_0x81cb7e(0x372)])!=null?_0x354928:_0x3960a0)!=null?_0x5a60ec:ji;}[_0x51a846(0x46e)](){var _0x287272=_0x51a846,_0x9c665f,_0xcf3333;const _0x2acd47=this[_0x287272(0x2b5)][_0x287272(0x212)]($i),_0x3e6fc7=this[_0x287272(0x2b5)][_0x287272(0x212)](Y);return(_0xcf3333=(_0x9c665f=_0x3e6fc7==null?void 0x0:_0x3e6fc7[_0x287272(0x2f1)])!=null?_0x9c665f:_0x2acd47)!=null?_0xcf3333:Hi;}[_0x51a846(0x2ee)](){var _0x28b88b=_0x51a846,_0x2beb90;const _0x9605b5=this[_0x28b88b(0x2b5)][_0x28b88b(0x212)](Y);return(_0x2beb90=_0x9605b5==null?void 0x0:_0x9605b5['downloadEndpointUrl'])!=null?_0x2beb90:location[_0x28b88b(0x26d)];}[_0x51a846(0x31a)](_0x41a899,_0x308c8a){var _0x2f52ce=_0x51a846;return _0x41a899[_0x2f52ce(0x131)](_0x2f52ce(0x3dd),_0x308c8a);}[_0x51a846(0x3f3)](){var _0x9afe31=_0x51a846;this[_0x9afe31(0x120)]-=0x1,this[_0x9afe31(0x165)][_0x9afe31(0x34b)](this[_0x9afe31(0x120)]);}},exports[_0x51a846(0x192)]=Ai([xe(0x0,a[_0x51a846(0x191)](q['HTTPService'])),xe(0x1,a[_0x51a846(0x349)]),xe(0x2,a['Inject'](a['IUniverInstanceService']))],exports[_0x51a846(0x192)]);var ki=Object[_0x51a846(0x276)],Bi=Object[_0x51a846(0x1be)],Fi=(_0x123d78,_0x50ef01,_0x4c95ee,_0x363dcd)=>{for(var _0x462210=_0x363dcd>0x1?void 0x0:_0x363dcd?Bi(_0x50ef01,_0x4c95ee):_0x50ef01,_0x4b429b=_0x123d78['length']-0x1,_0x13b938;_0x4b429b>=0x0;_0x4b429b--)(_0x13b938=_0x123d78[_0x4b429b])&&(_0x462210=(_0x363dcd?_0x13b938(_0x50ef01,_0x4c95ee,_0x462210):_0x13b938(_0x462210))||_0x462210);return _0x363dcd&&_0x462210&&ki(_0x50ef01,_0x4c95ee,_0x462210),_0x462210;},_t=(_0x5b9d1a,_0x10426f)=>(_0x46a779,_0x116b6f)=>_0x10426f(_0x46a779,_0x116b6f,_0x5b9d1a);const Wi=_0x51a846(0x17b);exports[_0x51a846(0x304)]=class{constructor(_0x30a1ba,_0x40c91a){var _0x2d9f39=_0x51a846;this[_0x2d9f39(0x2b5)]=_0x30a1ba,this[_0x2d9f39(0x462)]=_0x40c91a;}['_getAPIPrefixPath'](){var _0x5a522f=_0x51a846,_0x4c7f86,_0x5d1c28;const _0x28ed5f=this[_0x5a522f(0x2b5)][_0x5a522f(0x212)](Ve),_0x5092a5=this[_0x5a522f(0x2b5)][_0x5a522f(0x212)](Y);return(_0x5d1c28=(_0x4c7f86=_0x5092a5==null?void 0x0:_0x5092a5[_0x5a522f(0x268)])!=null?_0x4c7f86:_0x28ed5f)!=null?_0x5d1c28:Wi;}async['list'](_0x2ab7e3){var _0x2fc9ee=_0x51a846;const _0x22328c=this['_getAPIPrefixPath']()+_0x2fc9ee(0x32e);return{'list':[{'title':_0x2fc9ee(0x225),'mentions':(await this[_0x2fc9ee(0x462)]['get'](_0x22328c,{'params':{'objectID':_0x2ab7e3[_0x2fc9ee(0x2df)],'unitID':_0x2ab7e3[_0x2fc9ee(0x2df)]}}))[_0x2fc9ee(0x29c)][_0x2fc9ee(0x43c)][_0x2fc9ee(0x322)](_0x14f2f0=>({'objectId':_0x14f2f0['id'],'name':_0x14f2f0['subject'][_0x2fc9ee(0x402)],'metadata':{'icon':_0x14f2f0[_0x2fc9ee(0x117)][_0x2fc9ee(0x423)]},'label':_0x14f2f0['subject'][_0x2fc9ee(0x402)],'objectType':a[_0x2fc9ee(0x3d5)][_0x2fc9ee(0x3fa)]})),'metadata':{},'type':a['MentionType'][_0x2fc9ee(0x3fa)]}]};}},exports[_0x51a846(0x304)]=Fi([_t(0x0,a['Inject'](a[_0x51a846(0x349)])),_t(0x1,a[_0x51a846(0x191)](q[_0x51a846(0x266)]))],exports[_0x51a846(0x304)]);var Gi=Object[_0x51a846(0x276)],Vi=Object[_0x51a846(0x1be)],Ki=(_0x2f9a5a,_0x3f7252,_0x4e5a1a,_0x4b89e1)=>{var _0x2535ba=_0x51a846;for(var _0x341196=_0x4b89e1>0x1?void 0x0:_0x4b89e1?Vi(_0x3f7252,_0x4e5a1a):_0x3f7252,_0x3476a2=_0x2f9a5a[_0x2535ba(0x457)]-0x1,_0x50b009;_0x3476a2>=0x0;_0x3476a2--)(_0x50b009=_0x2f9a5a[_0x3476a2])&&(_0x341196=(_0x4b89e1?_0x50b009(_0x3f7252,_0x4e5a1a,_0x341196):_0x50b009(_0x341196))||_0x341196);return _0x4b89e1&&_0x341196&&Gi(_0x3f7252,_0x4e5a1a,_0x341196),_0x341196;},ce=(_0x1d640f,_0x48f3cb)=>(_0x454102,_0x24fad2)=>_0x48f3cb(_0x454102,_0x24fad2,_0x1d640f);let Ue=class extends a[_0x51a846(0x324)]{constructor(_0x5aa90b,_0x4e70f5,_0xe7c903,_0x1f5c36,_0x3b979c,_0x56ed1a,_0x528d4a){var _0x37da80=_0x51a846;super(),this['_injector']=_0x5aa90b,this[_0x37da80(0x286)]=_0x4e70f5,this[_0x37da80(0x1a5)]=_0xe7c903,this['_collaborationSessionService']=_0x1f5c36,this[_0x37da80(0x427)]=_0x3b979c,this[_0x37da80(0x1b0)]=_0x56ed1a,this[_0x37da80(0x11e)]=_0x528d4a,this[_0x37da80(0x14f)](),this[_0x37da80(0x37f)]();}[_0x51a846(0x37f)](){var _0x4250c3=_0x51a846;const _0x55ae92=async _0xbd07da=>{var _0x5e50dc=_0x2a70;(await this[_0x5e50dc(0x2d6)]['requireSession'](_0xbd07da))[_0x5e50dc(0x3fe)]['pipe'](W[_0x5e50dc(0x314)](_0xc0eb6a=>_0xc0eb6a[_0x5e50dc(0x17d)]===m['CollaborationEvent'][_0x5e50dc(0x1b2)]),W[_0x5e50dc(0x325)](this[_0x5e50dc(0x2cb)]))[_0x5e50dc(0x2ad)](_0x4c5a00=>{var _0x504df1=_0x5e50dc;const _0x2c5b5f=_0x4c5a00,{reason:_0x613221}=_0x2c5b5f[_0x504df1(0x1ef)];this[_0x504df1(0x427)][_0x504df1(0x2ba)]({'id':Q[_0x504df1(0x3fd)],'data':_0x613221}),this['_permissionService'][_0x504df1(0x33c)](new J['WorkbookEditablePermission'](_0xbd07da)['id'],!0x1),this[_0x504df1(0x2d6)][_0x504df1(0x487)](_0xbd07da);});};H['merge'](this[_0x4250c3(0x286)][_0x4250c3(0x45c)](a[_0x4250c3(0x336)]['UNIVER_SHEET']),this[_0x4250c3(0x286)][_0x4250c3(0x45c)](a[_0x4250c3(0x336)]['UNIVER_DOC']))[_0x4250c3(0x1fb)](W[_0x4250c3(0x322)](_0x5172d0=>_0x5172d0[_0x4250c3(0x21b)]()),W[_0x4250c3(0x314)](_0x26a470=>!a[_0x4250c3(0x2f9)](_0x26a470)),W[_0x4250c3(0x325)](this[_0x4250c3(0x2cb)]))['subscribe'](_0x3c4aa3=>{_0x55ae92(_0x3c4aa3);});}['_initUnitPermissionChange'](){var _0x14a070=_0x51a846;const _0x2e47ca=async _0x19b417=>{var _0x7bf69e=_0x2a70;const _0x553921=await this[_0x7bf69e(0x2d6)][_0x7bf69e(0x148)](_0x19b417),_0x46ad28=this[_0x7bf69e(0x223)][_0x7bf69e(0x482)](J['SheetPermissionInitController']);_0x553921[_0x7bf69e(0x3fe)]['pipe'](W['filter'](_0x1aa19f=>_0x1aa19f[_0x7bf69e(0x17d)]===m['CollaborationEvent'][_0x7bf69e(0x331)]),W[_0x7bf69e(0x325)](this[_0x7bf69e(0x2cb)]))[_0x7bf69e(0x2ad)](_0x5e0694=>{var _0x17f80a=_0x7bf69e;const _0x4f1191=_0x5e0694,{objectId:_0x209476}=_0x4f1191[_0x17f80a(0x1ef)];_0x209476===_0x19b417?_0x46ad28[_0x17f80a(0x220)](_0x19b417):_0x46ad28[_0x17f80a(0x11b)](_0x19b417,_0x209476);});};H[_0x14a070(0x1bc)](this[_0x14a070(0x286)][_0x14a070(0x45c)](a[_0x14a070(0x336)][_0x14a070(0x207)]),this[_0x14a070(0x286)][_0x14a070(0x45c)](a[_0x14a070(0x336)][_0x14a070(0x1dc)]))['pipe'](W[_0x14a070(0x322)](_0x272267=>_0x272267['getUnitId']()),W[_0x14a070(0x314)](_0xaf5ca8=>!a['isInternalEditorID'](_0xaf5ca8)),W[_0x14a070(0x325)](this['dispose$']))[_0x14a070(0x2ad)](_0x10b3c2=>{_0x2e47ca(_0x10b3c2);});}};Ue=Ki([ce(0x0,a[_0x51a846(0x191)](a[_0x51a846(0x388)])),ce(0x1,a['IUniverInstanceService']),ce(0x2,a['IPermissionService']),ce(0x3,a[_0x51a846(0x191)](exports[_0x51a846(0x2a2)])),ce(0x4,a[_0x51a846(0x191)](te)),ce(0x5,a[_0x51a846(0x31b)]),ce(0x6,a[_0x51a846(0x489)])],Ue);var Yi=Object[_0x51a846(0x276)],qi=Object['getOwnPropertyDescriptor'],zi=(_0x37883d,_0x2d49f8,_0x16ba77,_0x23caf8)=>{for(var _0x2f9fe8=_0x23caf8>0x1?void 0x0:_0x23caf8?qi(_0x2d49f8,_0x16ba77):_0x2d49f8,_0x41ccdb=_0x37883d['length']-0x1,_0x268bac;_0x41ccdb>=0x0;_0x41ccdb--)(_0x268bac=_0x37883d[_0x41ccdb])&&(_0x2f9fe8=(_0x23caf8?_0x268bac(_0x2d49f8,_0x16ba77,_0x2f9fe8):_0x268bac(_0x2f9fe8))||_0x2f9fe8);return _0x23caf8&&_0x2f9fe8&&Yi(_0x2d49f8,_0x16ba77,_0x2f9fe8),_0x2f9fe8;},ut=(_0x34df40,_0x52ff2a)=>(_0x79c282,_0x3cc1bf)=>_0x52ff2a(_0x79c282,_0x3cc1bf,_0x34df40);exports[_0x51a846(0x269)]=class{constructor(_0x5d81fc,_0x13d601){var _0x2827fc=_0x51a846;this['_configService']=_0x5d81fc,this[_0x2827fc(0x2d5)]=_0x13d601;}async[_0x51a846(0x2fd)](_0x3cab66,_0x59697b){var _0x5b4438=_0x51a846,_0x46440c;const {unitID:_0x33f61d,type:_0x1107f1,revision:_0x5d131e=0x0}=_0x59697b,_0x31f473=this[_0x5b4438(0x2fe)]()+'/'+_0x1107f1+_0x5b4438(0x1ab)+_0x33f61d+_0x5b4438(0x1e2)+_0x5d131e,_0x4a2f50=(await this[_0x5b4438(0x2d5)][_0x5b4438(0x482)](_0x31f473))[_0x5b4438(0x29c)],_0x36620b=(_0x46440c=_0x4a2f50['snapshot'])==null?void 0x0:_0x46440c[_0x5b4438(0x23f)];if(_0x36620b){const _0x26101=_0x36620b==null?void 0x0:_0x36620b[_0x5b4438(0x229)],_0x3377ac=m[_0x5b4438(0x282)][_0x5b4438(0x387)](m['b64DecodeUnicode'](_0x26101));_0x36620b[_0x5b4438(0x229)]=_0x3377ac,Object[_0x5b4438(0x3c5)](_0x36620b[_0x5b4438(0x37d)])[_0x5b4438(0x494)](([,_0xa7810b])=>{var _0x275422=_0x5b4438;const _0x1c3538=_0xa7810b[_0x275422(0x229)],_0x24ccc4=m['textEncoder'][_0x275422(0x387)](m[_0x275422(0x1f5)](_0x1c3538));_0xa7810b[_0x275422(0x229)]=_0x24ccc4;});}return _0x4a2f50;}async[_0x51a846(0x23b)](_0x38ff64,_0xe7839b){var _0x4ac292=_0x51a846;const {unitID:_0x388e53,type:_0x3a4a6b,blockID:_0x39916a}=_0xe7839b,_0x1823f7=this[_0x4ac292(0x31e)]()+'/'+_0x3a4a6b+_0x4ac292(0x1ab)+_0x388e53+_0x4ac292(0x122)+_0x39916a;return(await this[_0x4ac292(0x2d5)]['get'](_0x1823f7))[_0x4ac292(0x29c)];}async[_0x51a846(0x48a)](_0x21a480,_0x42de04){var _0x3ac640=_0x51a846;const {unitID:_0x3b2eb4,type:_0x115616,blockID:_0x19c714}=_0x42de04,_0x1d5377=this[_0x3ac640(0x31e)]()+_0x3ac640(0x122)+_0x115616+'/unit/'+_0x3b2eb4+_0x3ac640(0x122)+_0x19c714;return(await this['_httpService'][_0x3ac640(0x482)](_0x1d5377))['body'];}async[_0x51a846(0x459)](_0x279f81,_0x15e596){var _0x36bd10=_0x51a846;const {unitID:_0x28283a,type:_0x37971e,from:_0x5bf669,to:_0x33dd2a}=_0x15e596,_0x5033e2=this['_getAPIPrefix']()+'/'+_0x37971e+_0x36bd10(0x1ab)+_0x28283a+_0x36bd10(0x42b)+_0x5bf669+_0x36bd10(0x34f)+_0x33dd2a;return(await this[_0x36bd10(0x2d5)]['get'](_0x5033e2))[_0x36bd10(0x29c)];}[_0x51a846(0x2fe)](){var _0x12e189=_0x51a846,_0x46bb47;return(_0x46bb47=this[_0x12e189(0x2b5)][_0x12e189(0x212)](ft))!=null?_0x46bb47:this['_getAPIPrefix']();}['_getAPIPrefix'](){var _0x4a8446=_0x51a846,_0x2ddef0,_0xa637e2;const _0x4cbc45=this[_0x4a8446(0x2b5)][_0x4a8446(0x212)](vt),_0x36b2e6=this[_0x4a8446(0x2b5)]['getConfig'](Y);return(_0xa637e2=(_0x2ddef0=_0x36b2e6==null?void 0x0:_0x36b2e6[_0x4a8446(0x33d)])!=null?_0x2ddef0:_0x4cbc45)!=null?_0xa637e2:Ht;}async[_0x51a846(0x13d)](_0x192ecf,_0x212c47){var _0x70adc1=_0x51a846;const _0x21711c=_0x70adc1(0x449)+_0x212c47[_0x70adc1(0x3f0)]+_0x70adc1(0x1ab)+_0x212c47['unitID']+_0x70adc1(0x3c4);return(await this['_httpService'][_0x70adc1(0x482)](_0x21711c,{'params':{'resourceId':JSON[_0x70adc1(0x46b)](_0x212c47[_0x70adc1(0x1a0)])}}))['body'];}['saveSnapshot'](){var _0x58d548=_0x51a846;throw new Error(_0x58d548(0x134));}[_0x51a846(0x231)](){var _0x57682b=_0x51a846;throw new Error(_0x57682b(0x134));}[_0x51a846(0x2b9)](){var _0x3b299d=_0x51a846;throw new Error(_0x3b299d(0x134));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x51a846(0x280)](){var _0x25f355=_0x51a846;throw new Error(_0x25f355(0x134));}},exports[_0x51a846(0x269)]=zi([ut(0x0,a['IConfigService']),ut(0x1,a[_0x51a846(0x191)](q[_0x51a846(0x266)]))],exports[_0x51a846(0x269)]);var Ji=Object[_0x51a846(0x276)],Xi=Object[_0x51a846(0x1be)],Zi=(_0x4f3363,_0x58477d,_0x422088,_0x113746)=>{var _0x5dee16=_0x51a846;for(var _0x513597=_0x113746>0x1?void 0x0:_0x113746?Xi(_0x58477d,_0x422088):_0x58477d,_0x226f78=_0x4f3363[_0x5dee16(0x457)]-0x1,_0x44d28c;_0x226f78>=0x0;_0x226f78--)(_0x44d28c=_0x4f3363[_0x226f78])&&(_0x513597=(_0x113746?_0x44d28c(_0x58477d,_0x422088,_0x513597):_0x44d28c(_0x513597))||_0x513597);return _0x113746&&_0x513597&&Ji(_0x58477d,_0x422088,_0x513597),_0x513597;},de=(_0x3118e0,_0xfde763)=>(_0x38b263,_0x4379c7)=>_0xfde763(_0x38b263,_0x4379c7,_0x3118e0);exports['CollaborativeUndoRedoService']=class extends a[_0x51a846(0x19d)]{constructor(_0x46aa3d,_0x4590b5,_0x35461d,_0x44b3fb,_0x4678a3){var _0x3a7ecb=_0x51a846;super(_0x46aa3d,_0x4590b5,_0x35461d),this[_0x3a7ecb(0x283)]=_0x44b3fb,this[_0x3a7ecb(0x24c)]=_0x4678a3;}['transformUndoRedo'](_0x194e48,_0x8eeb56){var _0x5a4e1b=_0x51a846;const _0x4e5929=this[_0x5a4e1b(0x439)](_0x194e48);if(_0x4e5929)try{const _0x4c2d12=this[_0x5a4e1b(0x480)](_0x4e5929,_0x8eeb56);this[_0x5a4e1b(0x1bd)](_0x194e48,_0x4c2d12);}catch(_0x1ee36c){this[_0x5a4e1b(0x24c)][_0x5a4e1b(0x27d)](_0x5a4e1b(0x3d0),_0x1ee36c),this['_clearUndo'](_0x194e48);}const _0x47c85d=this[_0x5a4e1b(0x39e)](_0x194e48);if(_0x47c85d)try{const _0x202b6c=this[_0x5a4e1b(0x480)](_0x47c85d,_0x8eeb56);this[_0x5a4e1b(0x339)](_0x194e48,_0x202b6c);}catch(_0x8273e3){this[_0x5a4e1b(0x24c)][_0x5a4e1b(0x27d)](_0x8273e3),this[_0x5a4e1b(0x3e7)](_0x194e48);}}[_0x51a846(0x2e1)](_0x3ecfe4){var _0x3d9097=_0x51a846;const _0x516c31=this[_0x3d9097(0x439)](_0x3ecfe4);_0x516c31&&(_0x516c31['length']=0x0,this['_updateStatus']());}[_0x51a846(0x3e7)](_0x30b913){var _0x8c2c35=_0x51a846;const _0x14c64a=this[_0x8c2c35(0x39e)](_0x30b913);_0x14c64a&&(_0x14c64a['length']=0x0,this['_updateStatus']());}[_0x51a846(0x1bd)](_0x5815c2,_0x538e80){var _0x41a46a=_0x51a846;this[_0x41a46a(0x484)][_0x41a46a(0x451)](_0x5815c2,_0x538e80),this[_0x41a46a(0x48d)]();}['_substituteRedoStack'](_0x5f5602,_0xa02df8){var _0x5483c6=_0x51a846;this[_0x5483c6(0x344)][_0x5483c6(0x451)](_0x5f5602,_0xa02df8),this[_0x5483c6(0x48d)]();}[_0x51a846(0x480)](_0x2a881d,_0x55219c){var _0x4e0748=_0x51a846;const _0x9d0d9=[];let _0x3eda9d=_0x55219c,_0x3167d0=_0x55219c;for(let _0x14a169=_0x2a881d['length']-0x1;_0x14a169>=0x0;_0x14a169--){const {unitID:_0x5cfe3b,undoMutations:_0x374beb,redoMutations:_0x566bb5}=_0x2a881d[_0x14a169],_0x42b942=this[_0x4e0748(0x283)][_0x4e0748(0x16c)](_0x3eda9d,_0x374beb),_0x1d852f=this['_transformService']['transformMutationsWithChangeset'](_0x3167d0,_0x566bb5);if(m['isTransformMutationsWithChangesetFailure'](_0x42b942)||m['isTransformMutationsWithChangesetFailure'](_0x1d852f)){this['_logService'][_0x4e0748(0x27d)](_0x4e0748(0x3d0),'transformStack\x20failed!',_0x42b942,_0x1d852f);break;}_0x3eda9d=_0x42b942[_0x4e0748(0x385)],_0x3167d0=_0x1d852f['c1Prime'],_0x9d0d9[_0x4e0748(0x140)]({'unitID':_0x5cfe3b,'undoMutations':_0x42b942[_0x4e0748(0x380)],'redoMutations':_0x1d852f['m2Prime']});}return _0x9d0d9[_0x4e0748(0x2ed)]();}},exports[_0x51a846(0x2c2)]=Zi([de(0x0,a[_0x51a846(0x2fc)]),de(0x1,a[_0x51a846(0x20b)]),de(0x2,a[_0x51a846(0x3e5)]),de(0x3,m[_0x51a846(0x2e4)]),de(0x4,a[_0x51a846(0x113)])],exports[_0x51a846(0x2c2)]);var Lt=Object[_0x51a846(0x276)],Qi=Object['getOwnPropertyDescriptor'],er=(_0x39b939,_0x38f27d,_0x2299de)=>_0x38f27d in _0x39b939?Lt(_0x39b939,_0x38f27d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2299de}):_0x39b939[_0x38f27d]=_0x2299de,tr=(_0x2958a0,_0x27bac8,_0x400a42,_0x54208a)=>{var _0x39d7b1=_0x51a846;for(var _0x369740=_0x54208a>0x1?void 0x0:_0x54208a?Qi(_0x27bac8,_0x400a42):_0x27bac8,_0x1a36c9=_0x2958a0[_0x39d7b1(0x457)]-0x1,_0x48423f;_0x1a36c9>=0x0;_0x1a36c9--)(_0x48423f=_0x2958a0[_0x1a36c9])&&(_0x369740=(_0x54208a?_0x48423f(_0x27bac8,_0x400a42,_0x369740):_0x48423f(_0x369740))||_0x369740);return _0x54208a&&_0x369740&&Lt(_0x27bac8,_0x400a42,_0x369740),_0x369740;},je=(_0x3914d1,_0x18eadd)=>(_0x3d92ad,_0x5071ab)=>_0x18eadd(_0x3d92ad,_0x5071ab,_0x3914d1),nr=(_0x197c1f,_0x4de999,_0x2479cc)=>er(_0x197c1f,_0x4de999+'',_0x2479cc);const ir=_0x51a846(0x2c8);exports[_0x51a846(0x21c)]=class extends a[_0x51a846(0x14b)]{constructor(_0x511799=Ke,_0x282a08,_0x18f353,_0x5b64c3){var _0x16ee77=_0x51a846;super(),this['_config']=_0x511799,this[_0x16ee77(0x24c)]=_0x282a08,this['_injector']=_0x18f353,this[_0x16ee77(0x2b5)]=_0x5b64c3;const {..._0x63897a}=a[_0x16ee77(0x1bc)]({},Ke,this[_0x16ee77(0x138)]);this[_0x16ee77(0x2b5)][_0x16ee77(0x30b)](Y,_0x63897a);}['onStarting'](){var _0x2260c0=_0x51a846;this['_registerDependencies'](),this[_0x2260c0(0x411)]();}['_registerDependencies'](){var _0x565107=_0x51a846,_0x52ebb3,_0x3f242c,_0x499eb1,_0x30bd33;this['_injector'][_0x565107(0x234)](a[_0x565107(0x489)])&&this[_0x565107(0x24c)][_0x565107(0x27d)](_0x565107(0x1d9),_0x565107(0x25a));const _0x40f446=a[_0x565107(0x3a2)]([[a[_0x565107(0x489)],{'useClass':exports[_0x565107(0x2c2)]}],[exports[_0x565107(0x2a2)]],[exports[_0x565107(0x253)]],[exports['SheetTransformSelectionsService']],[ye],[Ne],[Be],[Ue],[te],[exports[_0x565107(0x1e0)]],[ke,{'useClass':(_0x3f242c=(_0x52ebb3=this[_0x565107(0x138)])==null?void 0x0:_0x52ebb3['socketService'])!=null?_0x3f242c:exports[_0x565107(0x2a4)]}],[m['ISnapshotServerService'],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x565107(0x31b)],{'useClass':exports[_0x565107(0x420)]}],[X['IImageIoService'],{'useClass':exports['CollaborationImageIoService']}],[a[_0x565107(0x2e6)],{'useClass':exports[_0x565107(0x304)]}],[exports[_0x565107(0x320)]],[$e]],(_0x499eb1=this[_0x565107(0x138)])==null?void 0x0:_0x499eb1['override']);if(!((_0x30bd33=this[_0x565107(0x138)])!=null&&_0x30bd33[_0x565107(0x1b8)])){const _0x548004=_0x40f446[_0x565107(0x40c)](([_0x487146])=>_0x487146===ve);_0x548004!==-0x1&&_0x40f446[_0x565107(0x156)](_0x548004,0x1);}a[_0x565107(0x12e)](this['_injector'],_0x40f446);}['_initDependencies'](){var _0x4556ec=_0x51a846,_0x4a4beb,_0x497937,_0x5ce073;this['_injector'][_0x4556ec(0x482)](q[_0x4556ec(0x266)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q[_0x4556ec(0x1b6)]({'maxParallel':0x6})}),(_0x4a4beb=this[_0x4556ec(0x138)])!=null&&_0x4a4beb[_0x4556ec(0x318)]||(_0x497937=this['_injector']['get'](z,a['Quantity']['OPTIONAL']))==null||_0x497937[_0x4556ec(0x475)](),(_0x5ce073=this[_0x4556ec(0x138)])!=null&&_0x5ce073[_0x4556ec(0x1dd)]&&a['touchDependencies'](this[_0x4556ec(0x223)],[[ye]]),a[_0x4556ec(0x2d7)](this[_0x4556ec(0x223)],[[Ne],[exports[_0x4556ec(0x320)]],[Ue]]);}},nr(exports[_0x51a846(0x21c)],_0x51a846(0x389),ir),exports[_0x51a846(0x21c)]=tr([a[_0x51a846(0x194)](m['UniverCollaborationPlugin'],J[_0x51a846(0x458)],q[_0x51a846(0x3c8)]),je(0x1,a['ILogService']),je(0x2,a[_0x51a846(0x191)](a[_0x51a846(0x388)])),je(0x3,a['IConfigService'])],exports[_0x51a846(0x21c)]),exports['AUTHZ_URL_KEY']=Ve,exports[_0x51a846(0x124)]=Y,exports[_0x51a846(0x2a0)]=Et,exports[_0x51a846(0x3ef)]=St,exports[_0x51a846(0x2ea)]=We,exports[_0x51a846(0x256)]=Q,exports[_0x51a846(0x16b)]=te,exports[_0x51a846(0x3f8)]=Be,exports[_0x51a846(0x20d)]=pt,exports[_0x51a846(0x342)]=Xt,exports[_0x51a846(0x271)]=mt,exports[_0x51a846(0x139)]=He,exports[_0x51a846(0x410)]=ke,exports['ILocalCacheService']=z,exports[_0x51a846(0x288)]=Rt,exports[_0x51a846(0x1c6)]=ve,exports[_0x51a846(0x33b)]=Yt,exports[_0x51a846(0x315)]=Kt,exports[_0x51a846(0x3e2)]=Ct,exports[_0x51a846(0x38e)]=Jt,exports[_0x51a846(0x258)]=It,exports['SEND_CHANGESET_TIMEOUT_KEY']=kt,exports[_0x51a846(0x41e)]=vt,exports[_0x51a846(0x467)]=ft,exports[_0x51a846(0x3bf)]=se,exports['UnitStatus']=Fe,exports['deserializeToCombResponse']=Ot,exports[_0x51a846(0x3ae)]=In,exports[_0x51a846(0x1e9)]=yt;