@univerjs-pro/collaboration-client 0.5.4-nightly.202501160949 → 0.5.4-nightly.202501170612
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/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
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;
|
1
|
+
'use strict';var _0x2d7ad2=_0x38a2;(function(_0x46b92e,_0x4247b3){var _0x5cee02=_0x38a2,_0x136fe0=_0x46b92e();while(!![]){try{var _0x68187d=-parseInt(_0x5cee02(0x31e))/0x1*(-parseInt(_0x5cee02(0x1cd))/0x2)+parseInt(_0x5cee02(0x194))/0x3+-parseInt(_0x5cee02(0x4a2))/0x4*(-parseInt(_0x5cee02(0x247))/0x5)+-parseInt(_0x5cee02(0x499))/0x6+parseInt(_0x5cee02(0x455))/0x7*(parseInt(_0x5cee02(0x36d))/0x8)+parseInt(_0x5cee02(0x203))/0x9+-parseInt(_0x5cee02(0x1d6))/0xa;if(_0x68187d===_0x4247b3)break;else _0x136fe0['push'](_0x136fe0['shift']());}catch(_0x3e1123){_0x136fe0['push'](_0x136fe0['shift']());}}}(_0x4e74,0x2de44));var Mt=Object[_0x2d7ad2(0x325)],xt=(_0x36eb96,_0x94fe45,_0x3ff5d2)=>_0x94fe45 in _0x36eb96?Mt(_0x36eb96,_0x94fe45,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ff5d2}):_0x36eb96[_0x94fe45]=_0x3ff5d2,D=(_0xf8eaa,_0x3ca08a,_0x1832bf)=>xt(_0xf8eaa,typeof _0x3ca08a!=_0x2d7ad2(0x392)?_0x3ca08a+'':_0x3ca08a,_0x1832bf);Object[_0x2d7ad2(0x325)](exports,Symbol[_0x2d7ad2(0x414)],{'value':'Module'});const a=require(_0x2d7ad2(0x34e)),H=require(_0x2d7ad2(0x17d)),W=require(_0x2d7ad2(0x3ca)),q=require(_0x2d7ad2(0x2a5)),m=require(_0x2d7ad2(0x4c2)),jt=require('@univerjs/telemetry'),dt=require(_0x2d7ad2(0x47d)),J=require(_0x2d7ad2(0x433)),X=require(_0x2d7ad2(0x20c)),$t=require(_0x2d7ad2(0x4b0)),vt=_0x2d7ad2(0x2a1),Ht=_0x2d7ad2(0x1a7),ft='SNAPSHOT_URL_KEY',kt=_0x2d7ad2(0x157),Bt=0x7d0,St=_0x2d7ad2(0x269),pt='ws://127.0.0.1:8000/universer-api/comb/connect',Ft=_0x2d7ad2(0x409),mt=_0x2d7ad2(0x18a),Wt=0x7530,He=_0x2d7ad2(0x4b5),gt=0x4e20,Gt=0x4e20,It=_0x2d7ad2(0x177),Vt=0x3,Kt='LOCAL_CACHE_INTERVAL',Yt=0x3e8,Et=_0x2d7ad2(0x41f),qt=_0x2d7ad2(0x197),Ct=_0x2d7ad2(0x1a4),zt='/universer-api/oidc/authpage',Jt=_0x2d7ad2(0x393),Xt='/universer-api/uniscript';var Tt=(_0x43c40c=>(_0x43c40c[_0x43c40c[_0x2d7ad2(0x1a1)]=0x0]=_0x2d7ad2(0x1a1),_0x43c40c[_0x43c40c['OK']=0x1]='OK',_0x43c40c[_0x43c40c[_0x2d7ad2(0x285)]=0x2]='INTERNAL_ERROR',_0x43c40c[_0x43c40c[_0x2d7ad2(0x1dd)]=0x3]=_0x2d7ad2(0x1dd),_0x43c40c[_0x43c40c[_0x2d7ad2(0x385)]=0x4]=_0x2d7ad2(0x385),_0x43c40c[_0x43c40c[_0x2d7ad2(0x3c8)]=0x5]='UNAUTHENTICATED',_0x43c40c[_0x43c40c[_0x2d7ad2(0x1ae)]=0x6]=_0x2d7ad2(0x1ae),_0x43c40c[_0x43c40c[_0x2d7ad2(0x34d)]=0x7]='INVALID_ARGUMENT',_0x43c40c[_0x43c40c['TOO_MANY_REQUESTS']=0x8]=_0x2d7ad2(0x3cd),_0x43c40c[_0x43c40c[_0x2d7ad2(0x376)]=0x9]=_0x2d7ad2(0x376),_0x43c40c[_0x43c40c['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x43c40c[_0x43c40c[_0x2d7ad2(0x498)]=0x1771]=_0x2d7ad2(0x498),_0x43c40c[_0x43c40c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x43c40c[_0x43c40c[_0x2d7ad2(0x2c9)]=0x1773]=_0x2d7ad2(0x2c9),_0x43c40c[_0x43c40c[_0x2d7ad2(0x192)]=0x1b59]='APPLY_REJECT',_0x43c40c[_0x43c40c[_0x2d7ad2(0x32c)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x43c40c[_0x43c40c[_0x2d7ad2(0x1f9)]=0x1b5b]=_0x2d7ad2(0x1f9),_0x43c40c[_0x43c40c[_0x2d7ad2(0x39e)]=0x1b5c]=_0x2d7ad2(0x39e),_0x43c40c[_0x43c40c[_0x2d7ad2(0x343)]=0x1b5d]=_0x2d7ad2(0x343),_0x43c40c[_0x43c40c['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x2d7ad2(0x2df),_0x43c40c[_0x43c40c['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x2d7ad2(0x396),_0x43c40c[_0x43c40c[_0x2d7ad2(0x298)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x43c40c[_0x43c40c[_0x2d7ad2(0x2f4)]=0x232b]=_0x2d7ad2(0x2f4),_0x43c40c[_0x43c40c[_0x2d7ad2(0x43f)]=0x232c]=_0x2d7ad2(0x43f),_0x43c40c[_0x43c40c[_0x2d7ad2(0x170)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x43c40c[_0x43c40c[_0x2d7ad2(0x1c0)]=0x2711]=_0x2d7ad2(0x1c0),_0x43c40c[_0x43c40c[_0x2d7ad2(0x26f)]=0x2712]=_0x2d7ad2(0x26f),_0x43c40c[_0x43c40c['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x2d7ad2(0x28e),_0x43c40c[_0x43c40c['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x2d7ad2(0x1c5),_0x43c40c[_0x43c40c[_0x2d7ad2(0x251)]=0x2af9]=_0x2d7ad2(0x251),_0x43c40c[_0x43c40c[_0x2d7ad2(0x284)]=-0x1]=_0x2d7ad2(0x284),_0x43c40c))(Tt||{}),Z=(_0x1a9e6e=>(_0x1a9e6e[_0x1a9e6e[_0x2d7ad2(0x3a9)]=0x0]='UNIVER_UNKNOWN',_0x1a9e6e[_0x1a9e6e[_0x2d7ad2(0x21a)]=0x1]=_0x2d7ad2(0x21a),_0x1a9e6e[_0x1a9e6e[_0x2d7ad2(0x341)]=0x2]=_0x2d7ad2(0x341),_0x1a9e6e[_0x1a9e6e[_0x2d7ad2(0x483)]=0x3]=_0x2d7ad2(0x483),_0x1a9e6e[_0x1a9e6e[_0x2d7ad2(0x2c7)]=0x4]=_0x2d7ad2(0x2c7),_0x1a9e6e[_0x1a9e6e[_0x2d7ad2(0x284)]=-0x1]=_0x2d7ad2(0x284),_0x1a9e6e))(Z||{}),G=(_0x4d749d=>(_0x4d749d[_0x4d749d[_0x2d7ad2(0x3ba)]=0x0]=_0x2d7ad2(0x3ba),_0x4d749d[_0x4d749d[_0x2d7ad2(0x32a)]=0x1]=_0x2d7ad2(0x32a),_0x4d749d[_0x4d749d['JOIN']=0x2]=_0x2d7ad2(0x1ff),_0x4d749d[_0x4d749d[_0x2d7ad2(0x220)]=0x3]='LEAVE',_0x4d749d[_0x4d749d[_0x2d7ad2(0x3e9)]=0x4]='INGEST',_0x4d749d[_0x4d749d[_0x2d7ad2(0x29d)]=0x5]=_0x2d7ad2(0x29d),_0x4d749d[_0x4d749d[_0x2d7ad2(0x243)]=0x6]='RECV',_0x4d749d[_0x4d749d[_0x2d7ad2(0x284)]=-0x1]=_0x2d7ad2(0x284),_0x4d749d))(G||{}),he=(_0x30289c=>(_0x30289c[_0x30289c[_0x2d7ad2(0x293)]=0x0]=_0x2d7ad2(0x293),_0x30289c[_0x30289c['OK']=0x1]='OK',_0x30289c[_0x30289c[_0x2d7ad2(0x190)]=0x2]=_0x2d7ad2(0x190),_0x30289c[_0x30289c['JOIN_ROOM_FULL']=0x3e9]=_0x2d7ad2(0x34f),_0x30289c[_0x30289c[_0x2d7ad2(0x45f)]=0x3ea]=_0x2d7ad2(0x45f),_0x30289c[_0x30289c[_0x2d7ad2(0x2f3)]=0x3eb]=_0x2d7ad2(0x2f3),_0x30289c[_0x30289c[_0x2d7ad2(0x46d)]=0x3ec]=_0x2d7ad2(0x46d),_0x30289c[_0x30289c[_0x2d7ad2(0x284)]=-0x1]=_0x2d7ad2(0x284),_0x30289c))(he||{}),bt=(_0x3b2b74=>(_0x3b2b74[_0x3b2b74[_0x2d7ad2(0x1a8)]=0x0]='Undefined',_0x3b2b74[_0x3b2b74[_0x2d7ad2(0x2b4)]=0x1]='HttpImport',_0x3b2b74[_0x3b2b74[_0x2d7ad2(0x1ed)]=0x2]=_0x2d7ad2(0x1ed),_0x3b2b74[_0x3b2b74[_0x2d7ad2(0x423)]=0x3]=_0x2d7ad2(0x423),_0x3b2b74[_0x3b2b74[_0x2d7ad2(0x2f5)]=0x4]=_0x2d7ad2(0x2f5),_0x3b2b74[_0x3b2b74[_0x2d7ad2(0x284)]=-0x1]=_0x2d7ad2(0x284),_0x3b2b74))(bt||{});const Y=_0x2d7ad2(0x2da),Ke={};var Q=(_0x3a538=>(_0x3a538['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x3a538[_0x2d7ad2(0x1dd)]=_0x2d7ad2(0x1dd),_0x3a538[_0x2d7ad2(0x347)]=_0x2d7ad2(0x347),_0x3a538[_0x2d7ad2(0x264)]=_0x2d7ad2(0x264),_0x3a538[_0x2d7ad2(0x2ed)]='JOIN_ROOM_FAILED',_0x3a538['SOCKET_FAILED_RETRY']=_0x2d7ad2(0x397),_0x3a538[_0x2d7ad2(0x24a)]='SOCKET_FAILED',_0x3a538[_0x2d7ad2(0x3da)]=_0x2d7ad2(0x3da),_0x3a538))(Q||{});class te{constructor(){var _0xb9ee11=_0x2d7ad2;D(this,_0xb9ee11(0x19b),new H['Subject']()),D(this,'event$',this[_0xb9ee11(0x19b)][_0xb9ee11(0x1cc)]());}[_0x2d7ad2(0x155)](_0x2cd275){var _0x1dcb3a=_0x2d7ad2;this[_0x1dcb3a(0x19b)]['next'](_0x2cd275);}}const Rt=a[_0x2d7ad2(0x467)](_0x2d7ad2(0x1a6));function Ot(_0x1f7027){var _0x3a4d5f=_0x2d7ad2,_0x1e8e58,_0x435cd3,_0x177b93,_0x12c602,_0x1685f4;const _0x1c1e5c=_0x1f7027['data'],_0x29e509=JSON[_0x3a4d5f(0x41c)](_0x1c1e5c);switch(_0x29e509[_0x3a4d5f(0x4a4)]){case G[_0x3a4d5f(0x29d)]:case G[_0x3a4d5f(0x32a)]:{const _0x20ff63=_0x29e509[_0x3a4d5f(0x14f)];return{..._0x29e509,'data':_0x20ff63,'cmd':_0x29e509['cmd']};}case G[_0x3a4d5f(0x1ff)]:{const _0x3c83b0=_0x29e509[_0x3a4d5f(0x17a)];return{..._0x29e509,'data':_0x3c83b0,'cmd':_0x29e509[_0x3a4d5f(0x4a4)]};}case G['RECV']:{const _0x4e970f=_0x29e509['collaMsg'];switch(_0x4e970f[_0x3a4d5f(0x3ea)]){case m[_0x3a4d5f(0x3c5)][_0x3a4d5f(0x27c)]:return{..._0x29e509,'data':{..._0x4e970f,'data':(_0x1e8e58=_0x4e970f[_0x3a4d5f(0x2f6)])==null?void 0x0:_0x1e8e58['cs']},'cmd':_0x29e509[_0x3a4d5f(0x4a4)]};case m[_0x3a4d5f(0x3c5)][_0x3a4d5f(0x1df)]:return{..._0x29e509,'data':{..._0x4e970f,'data':(_0x435cd3=_0x4e970f['csAckEvent'])==null?void 0x0:_0x435cd3['cs']},'cmd':_0x29e509[_0x3a4d5f(0x4a4)]};case m['CollaborationEvent'][_0x3a4d5f(0x2c3)]:return{..._0x29e509,'data':{..._0x4e970f,'data':(_0x177b93=_0x4e970f[_0x3a4d5f(0x1b3)])==null?void 0x0:_0x177b93['cs']},'cmd':_0x29e509['cmd']};case m['CollaborationEvent'][_0x3a4d5f(0x3b9)]:return{..._0x29e509,'data':{..._0x4e970f,'data':(_0x12c602=_0x4e970f['csRejEvent'])==null?void 0x0:_0x12c602['cs']},'cmd':_0x29e509['cmd']};case m[_0x3a4d5f(0x3c5)][_0x3a4d5f(0x1ad)]:return{..._0x29e509,'data':{..._0x4e970f,'data':(_0x1685f4=_0x4e970f[_0x3a4d5f(0x26b)])==null?void 0x0:_0x1685f4['cs']},'cmd':_0x29e509[_0x3a4d5f(0x4a4)]};case m['CollaborationEvent'][_0x3a4d5f(0x1d3)]:return{..._0x29e509,'data':{..._0x4e970f,'data':_0x4e970f[_0x3a4d5f(0x28d)]},'cmd':_0x29e509[_0x3a4d5f(0x4a4)]};case m['CollaborationEvent'][_0x3a4d5f(0x3d0)]:return{..._0x29e509,'data':{..._0x4e970f,'data':_0x4e970f[_0x3a4d5f(0x22e)]},'cmd':_0x29e509[_0x3a4d5f(0x4a4)]};case m[_0x3a4d5f(0x3c5)][_0x3a4d5f(0x4a1)]:return{..._0x29e509,'data':{..._0x4e970f,'data':_0x4e970f[_0x3a4d5f(0x40a)]},'cmd':_0x29e509[_0x3a4d5f(0x4a4)]};case m[_0x3a4d5f(0x3c5)]['LIVESHARE_NEW_HOST']:return{..._0x29e509,'data':{..._0x4e970f,'data':_0x4e970f[_0x3a4d5f(0x174)]},'cmd':_0x29e509[_0x3a4d5f(0x4a4)]};case m[_0x3a4d5f(0x3c5)][_0x3a4d5f(0x338)]:case m[_0x3a4d5f(0x3c5)]['LIVESHARE_OPERATION']:return{..._0x29e509,'data':{..._0x4e970f,'data':_0x4e970f[_0x3a4d5f(0x1ab)]},'cmd':_0x29e509['cmd']};case m['CollaborationEvent'][_0x3a4d5f(0x307)]:return{..._0x29e509,'data':{..._0x4e970f,'data':_0x4e970f['liveShareNewHost']},'cmd':_0x29e509['cmd']};case m[_0x3a4d5f(0x3c5)][_0x3a4d5f(0x42a)]:return{..._0x29e509,'data':_0x4e970f,'cmd':_0x29e509[_0x3a4d5f(0x4a4)]};case m[_0x3a4d5f(0x3c5)][_0x3a4d5f(0x27f)]:return{..._0x29e509,'data':{..._0x4e970f,'data':_0x4e970f['commentUpdateEvent']},'cmd':_0x29e509[_0x3a4d5f(0x4a4)]};case m[_0x3a4d5f(0x3c5)]['UPDATE_PERMISSION_OBJ']:return{..._0x29e509,'data':{..._0x4e970f,'data':_0x4e970f['updatePermissionObjEvent']},'cmd':_0x29e509[_0x3a4d5f(0x4a4)]};case m[_0x3a4d5f(0x3c5)]['SHOULD_CLOSE_CONN']:return{..._0x29e509,'data':{..._0x4e970f,'data':_0x4e970f[_0x3a4d5f(0x4bc)]},'cmd':_0x29e509[_0x3a4d5f(0x4a4)]};case m[_0x3a4d5f(0x3c5)][_0x3a4d5f(0x1ce)]:return{..._0x29e509,'data':{..._0x4e970f,'data':_0x4e970f[_0x3a4d5f(0x2fe)]},'cmd':_0x29e509[_0x3a4d5f(0x4a4)]};default:return _0x29e509;}}default:return _0x29e509;}}function yt(_0x2bd2ea){var _0x149ff0=_0x2d7ad2;switch(_0x2bd2ea[_0x149ff0(0x4a4)]){case G[_0x149ff0(0x29d)]:case G[_0x149ff0(0x32a)]:return JSON[_0x149ff0(0x37a)]({'cmd':_0x2bd2ea[_0x149ff0(0x4a4)],'routeKey':_0x2bd2ea[_0x149ff0(0x45e)]});case G[_0x149ff0(0x3e9)]:{let _0x5ee979;switch(_0x2bd2ea[_0x149ff0(0x23e)][_0x149ff0(0x3ea)]){case m[_0x149ff0(0x3c5)]['UPDATE_CURSOR']:{_0x5ee979={'eventID':m[_0x149ff0(0x3c5)]['UPDATE_CURSOR'],'updateCursorEvent':_0x2bd2ea[_0x149ff0(0x23e)]['data']};break;}case m['CollaborationEvent'][_0x149ff0(0x4a1)]:{_0x5ee979={'eventID':m[_0x149ff0(0x3c5)][_0x149ff0(0x4a1)],'leaveEvent':_0x2bd2ea[_0x149ff0(0x23e)][_0x149ff0(0x23e)]};break;}case m['CollaborationEvent'][_0x149ff0(0x3d0)]:{_0x5ee979={'eventID':m[_0x149ff0(0x3c5)][_0x149ff0(0x3d0)],'joinEvent':_0x2bd2ea[_0x149ff0(0x23e)][_0x149ff0(0x23e)]};break;}case m[_0x149ff0(0x3c5)][_0x149ff0(0x3e1)]:{_0x5ee979={'eventID':m[_0x149ff0(0x3c5)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x2bd2ea[_0x149ff0(0x23e)][_0x149ff0(0x23e)]};break;}case m['CollaborationEvent'][_0x149ff0(0x3a3)]:{_0x5ee979={'eventID':m['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x2bd2ea[_0x149ff0(0x23e)]['data']};break;}case m[_0x149ff0(0x3c5)][_0x149ff0(0x307)]:{_0x5ee979={'eventID':m[_0x149ff0(0x3c5)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x2bd2ea[_0x149ff0(0x23e)][_0x149ff0(0x23e)]};break;}case m[_0x149ff0(0x3c5)][_0x149ff0(0x43a)]:{_0x5ee979={'eventID':m[_0x149ff0(0x3c5)][_0x149ff0(0x43a)],'liveShareRequestHost':_0x2bd2ea[_0x149ff0(0x23e)][_0x149ff0(0x23e)]};break;}case m[_0x149ff0(0x3c5)]['LIVESHARE_FETCH_OPERATIONS']:{_0x5ee979={'eventID':m[_0x149ff0(0x3c5)][_0x149ff0(0x338)]};break;}default:_0x5ee979={'eventID':_0x2bd2ea['data']['eventID']};}return JSON['stringify']({'cmd':_0x2bd2ea[_0x149ff0(0x4a4)],'routeKey':_0x2bd2ea['routeKey'],'collaMsg':_0x5ee979});}case G[_0x149ff0(0x1ff)]:return JSON['stringify']({'cmd':_0x2bd2ea['cmd'],'routeKey':_0x2bd2ea[_0x149ff0(0x45e)],'joinReq':_0x2bd2ea[_0x149ff0(0x23e)]});case G[_0x149ff0(0x220)]:return JSON[_0x149ff0(0x37a)]({'cmd':_0x2bd2ea[_0x149ff0(0x4a4)],'routeKey':_0x2bd2ea[_0x149ff0(0x45e)],'leaveReq':_0x2bd2ea['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Zt=Object[_0x2d7ad2(0x325)],Qt=Object[_0x2d7ad2(0x20f)],en=(_0x878d03,_0x1519ef,_0x49ff13,_0x2023a4)=>{var _0x59b4d1=_0x2d7ad2;for(var _0x1b2950=_0x2023a4>0x1?void 0x0:_0x2023a4?Qt(_0x1519ef,_0x49ff13):_0x1519ef,_0x3af9da=_0x878d03[_0x59b4d1(0x23c)]-0x1,_0x1c0095;_0x3af9da>=0x0;_0x3af9da--)(_0x1c0095=_0x878d03[_0x3af9da])&&(_0x1b2950=(_0x2023a4?_0x1c0095(_0x1519ef,_0x49ff13,_0x1b2950):_0x1c0095(_0x1b2950))||_0x1b2950);return _0x2023a4&&_0x1b2950&&Zt(_0x1519ef,_0x49ff13,_0x1b2950),_0x1b2950;},ue=(_0x1920f0,_0x20a4ea)=>(_0x97ced4,_0x423e0e)=>_0x20a4ea(_0x97ced4,_0x423e0e,_0x1920f0);const ke=a[_0x2d7ad2(0x467)]('univer-pro.collaboration-client-socket-service');function tn(_0x543edb,_0x3eb6a6,_0x2babe8){var _0xe3fd32=_0x2d7ad2;return _0x543edb+'/'+_0x3eb6a6+_0xe3fd32(0x1e3)+_0x2babe8+_0xe3fd32(0x398);}exports['CollaborationSocketService']=class extends a[_0x2d7ad2(0x162)]{constructor(_0x2286cb,_0x59d426,_0x1b16ca,_0x34c4a4,_0x23512f){var _0x2fc86c=_0x2d7ad2;super(),this[_0x2fc86c(0x153)]=_0x2286cb,this[_0x2fc86c(0x235)]=_0x59d426,this[_0x2fc86c(0x152)]=_0x1b16ca,this[_0x2fc86c(0x382)]=_0x34c4a4,this['_snapshotServerService']=_0x23512f;}[_0x2d7ad2(0x2f9)](_0xdf46fa){var _0xa766c1=_0x2d7ad2;const _0x3aa26d=this[_0xa766c1(0x153)]['get'](q['ISocketService']);if(!_0x3aa26d)throw new Error(_0xa766c1(0x29e));const _0x542c83=_0x3aa26d['createSocket'](_0xdf46fa);if(!_0x542c83)throw new Error(_0xa766c1(0x1b8));const _0x5aeeed=new a['DisposableCollection'](),_0x31b164=new H[(_0xa766c1(0x4c1))]();_0x5aeeed[_0xa766c1(0x2a7)](_0x542c83['close$'][_0xa766c1(0x35f)](_0x554e53=>_0x31b164[_0xa766c1(0x224)](_0x554e53))),_0x5aeeed[_0xa766c1(0x2a7)](a[_0xa766c1(0x4a3)](()=>_0x31b164[_0xa766c1(0x34c)]()));const _0x26e663=new H[(_0xa766c1(0x4c1))]();_0x5aeeed[_0xa766c1(0x2a7)](_0x542c83[_0xa766c1(0x186)][_0xa766c1(0x35f)](_0x1601ad=>_0x26e663[_0xa766c1(0x224)](_0x1601ad))),_0x5aeeed[_0xa766c1(0x2a7)](a[_0xa766c1(0x4a3)](()=>_0x26e663[_0xa766c1(0x34c)]()));const _0x2410c4=new H['Subject']();_0x5aeeed['add'](_0x542c83[_0xa766c1(0x40c)][_0xa766c1(0x35f)](_0x3bb8a4=>{var _0x44dca9=_0xa766c1;const _0x5e06fa=Ot(_0x3bb8a4);_0x2410c4[_0x44dca9(0x224)](_0x5e06fa);})),_0x5aeeed[_0xa766c1(0x2a7)](a[_0xa766c1(0x4a3)](()=>_0x2410c4[_0xa766c1(0x34c)]()));let _0x34314;const _0x3477df=()=>{var _0x3ffe76=_0xa766c1;_0x26e663['next'](new Event('connection\x20error')),_0x31b164[_0x3ffe76(0x224)](new CloseEvent(_0x3ffe76(0x3b7))),_0x34314['close']();};return _0x34314={'memberID':'','close$':_0x31b164[_0xa766c1(0x1cc)](),'error$':_0x26e663['asObservable'](),'open$':_0x542c83['open$'],'message$':_0x2410c4[_0xa766c1(0x1cc)](),'send':_0x1af7f2=>{var _0x4246aa=_0xa766c1;if(_0x1af7f2[_0x4246aa(0x4a4)]===G[_0x4246aa(0x3e9)]){if(_0x1af7f2['data'][_0x4246aa(0x3ea)]===m[_0x4246aa(0x3c5)]['SUBMIT_CHANGESET']){this[_0x4246aa(0x2f0)](_0x34314,_0x1af7f2[_0x4246aa(0x23e)])[_0x4246aa(0x305)](_0x53a357=>{var _0x4600cb=_0x4246aa;this[_0x4600cb(0x382)][_0x4600cb(0x450)](_0x53a357),_0x3477df();});return;}if(_0x1af7f2['data'][_0x4246aa(0x3ea)]===m[_0x4246aa(0x3c5)][_0x4246aa(0x349)]){const _0x3223c7=_0x1af7f2[_0x4246aa(0x23e)];this[_0x4246aa(0x206)](_0x3223c7)[_0x4246aa(0x1f1)](_0x5de066=>{var _0x144b8f=_0x4246aa;_0x2410c4[_0x144b8f(0x224)]({'cmd':G['RECV'],'code':he['OK'],'routeKey':_0x3223c7[_0x144b8f(0x23e)]['unitID'],'routeType':'','data':{'eventID':m[_0x144b8f(0x3c5)][_0x144b8f(0x15e)],'data':{'changesets':_0x5de066}}});})[_0x4246aa(0x305)](_0x1fb1fe=>{var _0x4372b4=_0x4246aa;this['_logService'][_0x4372b4(0x450)](_0x1fb1fe),_0x3477df();});return;}}_0x542c83[_0x4246aa(0x228)](yt(_0x1af7f2));},'close':()=>{var _0x21e3ba=_0xa766c1;_0x542c83[_0x21e3ba(0x3b1)](),_0x5aeeed[_0x21e3ba(0x1f6)]();}},_0x34314;}async[_0x2d7ad2(0x2f0)](_0x8eaa49,_0x513d88){var _0x360d54=_0x2d7ad2,_0x36b15f,_0x43ffce;const {unitType:_0x391142,unitID:_0x237344,changeset:_0x3f0af2}=_0x513d88['data'],_0x32b2ec={'unitID':_0x237344,'memberID':_0x8eaa49[_0x360d54(0x21c)],'type':_0x391142,'changeset':m[_0x360d54(0x39a)](_0x3f0af2)},_0x7d2781=this[_0x360d54(0x152)][_0x360d54(0x2d0)](Et),_0x3ab5c6=this[_0x360d54(0x152)][_0x360d54(0x2d0)](Y),_0x2314a8=tn((_0x43ffce=(_0x36b15f=_0x3ab5c6==null?void 0x0:_0x3ab5c6[_0x360d54(0x18e)])!=null?_0x36b15f:_0x7d2781)!=null?_0x43ffce:qt,_0x391142,_0x237344);try{await this[_0x360d54(0x235)][_0x360d54(0x318)](_0x2314a8,{'body':_0x32b2ec});}catch(_0x2b722f){throw this[_0x360d54(0x382)][_0x360d54(0x450)](_0x360d54(0x158),'submit\x20changeset\x20error!'),_0x2b722f;}}async[_0x2d7ad2(0x206)](_0x163f0e){var _0x56a8fa=_0x2d7ad2;const {unitID:_0x2c6d2f,from:_0x20f9e0,to:_0x15e7a8,unitType:_0x130ac4}=_0x163f0e[_0x56a8fa(0x23e)];return(await this[_0x56a8fa(0x236)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x2c6d2f,'type':_0x130ac4,'from':_0x20f9e0,'to':_0x15e7a8}))[_0x56a8fa(0x327)];}},exports['CollaborationSocketService']=en([ue(0x0,a[_0x2d7ad2(0x4c3)](a['Injector'])),ue(0x1,a[_0x2d7ad2(0x4c3)](q[_0x2d7ad2(0x1f3)])),ue(0x2,a['IConfigService']),ue(0x3,a[_0x2d7ad2(0x3f3)]),ue(0x4,m[_0x2d7ad2(0x495)])],exports[_0x2d7ad2(0x407)]);const nn=_0x2d7ad2(0x2c1);function rn(_0x14ae9c){var _0x3bcc72=_0x2d7ad2;return JSON[_0x3bcc72(0x37a)](_0x14ae9c)[_0x3bcc72(0x23c)];}class Be{constructor(){var _0x378bb4=_0x2d7ad2;D(this,'_commentUpdate$',new H[(_0x378bb4(0x4c1))]()),D(this,_0x378bb4(0x44e),this[_0x378bb4(0x241)][_0x378bb4(0x1cc)]());}[_0x2d7ad2(0x352)](_0x466e91){var _0x142991=_0x2d7ad2;this[_0x142991(0x241)][_0x142991(0x224)](_0x466e91);}}var sn=Object[_0x2d7ad2(0x325)],on=Object[_0x2d7ad2(0x20f)],an=(_0x52cf3a,_0x168f60,_0x161e06,_0x4d5bfa)=>{var _0x4d9036=_0x2d7ad2;for(var _0x369bc9=_0x4d5bfa>0x1?void 0x0:_0x4d5bfa?on(_0x168f60,_0x161e06):_0x168f60,_0x51a6b2=_0x52cf3a[_0x4d9036(0x23c)]-0x1,_0x9dbb70;_0x51a6b2>=0x0;_0x51a6b2--)(_0x9dbb70=_0x52cf3a[_0x51a6b2])&&(_0x369bc9=(_0x4d5bfa?_0x9dbb70(_0x168f60,_0x161e06,_0x369bc9):_0x9dbb70(_0x369bc9))||_0x369bc9);return _0x4d5bfa&&_0x369bc9&&sn(_0x168f60,_0x161e06,_0x369bc9),_0x369bc9;},Ye=(_0x15ad40,_0x162313)=>(_0x149745,_0x3372c4)=>_0x162313(_0x149745,_0x3372c4,_0x15ad40);exports['MemberService']=class extends a[_0x2d7ad2(0x162)]{constructor(_0x485091,_0x38df84){var _0x2dada5=_0x2d7ad2;super(),D(this,_0x2dada5(0x261),new Map()),D(this,_0x2dada5(0x2c0),new H[(_0x2dada5(0x4c1))]()),(this['_univerInstanceService']=_0x485091,this[_0x2dada5(0x26d)]=_0x38df84,this['disposeWithMe'](H[_0x2dada5(0x33c)](this['_univerInstanceService'][_0x2dada5(0x216)](a['UniverInstanceType'][_0x2dada5(0x341)])[_0x2dada5(0x362)](W[_0x2dada5(0x250)](_0x23fc1c=>_0x23fc1c['getUnitId']())),this['_univerInstanceService'][_0x2dada5(0x216)](a[_0x2dada5(0x38f)]['UNIVER_DOC'])[_0x2dada5(0x362)](W[_0x2dada5(0x250)](_0x1d4b41=>_0x1d4b41[_0x2dada5(0x2d9)]())),this[_0x2dada5(0x2ee)][_0x2dada5(0x216)](a['UniverInstanceType'][_0x2dada5(0x483)])[_0x2dada5(0x362)](W[_0x2dada5(0x250)](_0x50df86=>_0x50df86[_0x2dada5(0x2d9)]())))[_0x2dada5(0x35f)](_0x27ea7d=>this['_removeRoom'](_0x27ea7d))));}[_0x2d7ad2(0x461)](_0x200a19){var _0x4ec22f=_0x2d7ad2;return this['_roomMembers'][_0x4ec22f(0x1e1)](_0x200a19)?H['of'](this[_0x4ec22f(0x261)]['get'](_0x200a19)):this[_0x4ec22f(0x2c0)][_0x4ec22f(0x362)](W[_0x4ec22f(0x250)](_0x77d0ce=>{var _0x5b0cb1=_0x4ec22f;if(_0x77d0ce===_0x200a19)return this[_0x5b0cb1(0x261)][_0x5b0cb1(0x4b4)](_0x77d0ce);}));}['setCurrentUser'](_0x1bd408){var _0x36586e=_0x2d7ad2;this[_0x36586e(0x26d)][_0x36586e(0x1cf)](_0x1bd408);}[_0x2d7ad2(0x456)](){var _0x3e2fd6=_0x2d7ad2;return this[_0x3e2fd6(0x26d)][_0x3e2fd6(0x456)]();}[_0x2d7ad2(0x2cc)](_0x4da030,_0x58a4dd){var _0x324e72=_0x2d7ad2;let _0x148aed=this[_0x324e72(0x261)][_0x324e72(0x4b4)](_0x4da030);_0x148aed||(_0x148aed=new cn(),this[_0x324e72(0x261)][_0x324e72(0x3e0)](_0x4da030,_0x148aed),this[_0x324e72(0x2c0)][_0x324e72(0x224)](_0x4da030)),_0x148aed['updateMember'](_0x58a4dd);}[_0x2d7ad2(0x4af)](_0x29d0bf,_0x198349){var _0xd05382=_0x2d7ad2;const _0x5322e4=this[_0xd05382(0x261)][_0xd05382(0x4b4)](_0x29d0bf);_0x5322e4&&_0x5322e4['removeMember'](_0x198349);}[_0x2d7ad2(0x234)](_0x4ea5e4){var _0x6ac762=_0x2d7ad2;return this['_roomMembers'][_0x6ac762(0x4b4)](_0x4ea5e4);}[_0x2d7ad2(0x34a)](_0xbf1292,_0x2abbaa){var _0x4068=_0x2d7ad2;const _0x485f55=this[_0x4068(0x261)]['get'](_0xbf1292);if(_0x485f55)return _0x485f55['getMember'](_0x2abbaa);}[_0x2d7ad2(0x1b1)](_0x19aba8){var _0x4333f0=_0x2d7ad2;const _0x57ac31=this[_0x4333f0(0x261)][_0x4333f0(0x4b4)](_0x19aba8);_0x57ac31&&(_0x57ac31[_0x4333f0(0x1f6)](),this['_roomMembers'][_0x4333f0(0x254)](_0x19aba8));}[_0x2d7ad2(0x1f6)](){var _0x5ec963=_0x2d7ad2;this[_0x5ec963(0x261)][_0x5ec963(0x1f2)](_0x7d8059=>_0x7d8059['dispose']()),this[_0x5ec963(0x261)]['clear'](),this[_0x5ec963(0x2c0)][_0x5ec963(0x34c)]();}},exports[_0x2d7ad2(0x317)]=an([Ye(0x0,a[_0x2d7ad2(0x2b0)]),Ye(0x1,a[_0x2d7ad2(0x4c3)](a[_0x2d7ad2(0x21e)]))],exports[_0x2d7ad2(0x317)]);class cn extends a['Disposable']{constructor(){var _0x26098f=_0x2d7ad2;super(...arguments),D(this,'_members',new Map()),D(this,'_members$',new H[(_0x26098f(0x45b))](this['_members'])),D(this,_0x26098f(0x43c),this[_0x26098f(0x3f2)][_0x26098f(0x1cc)]());}[_0x2d7ad2(0x1f6)](){var _0xeb346d=_0x2d7ad2;this[_0xeb346d(0x431)][_0xeb346d(0x435)]();}[_0x2d7ad2(0x2cc)](_0x2afda0){var _0x8bb555=_0x2d7ad2;this[_0x8bb555(0x431)][_0x8bb555(0x3e0)](_0x2afda0[_0x8bb555(0x21c)],_0x2afda0),this[_0x8bb555(0x31c)]();}[_0x2d7ad2(0x4af)](_0x21f4af){var _0x2344ba=_0x2d7ad2;this[_0x2344ba(0x431)][_0x2344ba(0x254)](_0x21f4af);}[_0x2d7ad2(0x34a)](_0x421566){var _0x539953=_0x2d7ad2;return this[_0x539953(0x431)][_0x539953(0x4b4)](_0x421566);}[_0x2d7ad2(0x295)](){var _0x178487=_0x2d7ad2;return Array[_0x178487(0x49c)](this[_0x178487(0x431)][_0x178487(0x265)]());}['_emitMembers'](){var _0x4d81e0=_0x2d7ad2;this[_0x4d81e0(0x3f2)][_0x4d81e0(0x224)](this[_0x4d81e0(0x431)]);}}var hn=Object[_0x2d7ad2(0x325)],ln=Object['getOwnPropertyDescriptor'],_n=(_0x499612,_0x4ad0d7,_0x10ab4e,_0x3d0172)=>{var _0x56e33a=_0x2d7ad2;for(var _0x2f5485=_0x3d0172>0x1?void 0x0:_0x3d0172?ln(_0x4ad0d7,_0x10ab4e):_0x4ad0d7,_0x30d57b=_0x499612[_0x56e33a(0x23c)]-0x1,_0x581444;_0x30d57b>=0x0;_0x30d57b--)(_0x581444=_0x499612[_0x30d57b])&&(_0x2f5485=(_0x3d0172?_0x581444(_0x4ad0d7,_0x10ab4e,_0x2f5485):_0x581444(_0x2f5485))||_0x2f5485);return _0x3d0172&&_0x2f5485&&hn(_0x4ad0d7,_0x10ab4e,_0x2f5485),_0x2f5485;},oe=(_0x35b8ed,_0x2d5bf4)=>(_0x1e9546,_0x385778)=>_0x2d5bf4(_0x1e9546,_0x385778,_0x35b8ed),se=(_0x33fd56=>(_0x33fd56[_0x33fd56[_0x2d7ad2(0x447)]=0x0]='IDLE',_0x33fd56[_0x33fd56[_0x2d7ad2(0x20d)]=0x1]=_0x2d7ad2(0x20d),_0x33fd56[_0x33fd56[_0x2d7ad2(0x209)]=0x2]=_0x2d7ad2(0x209),_0x33fd56[_0x33fd56[_0x2d7ad2(0x1ac)]=0x3]='ONLINE',_0x33fd56))(se||{});const qe={[he['FAIL']]:'session.join-failed',[he[_0x2d7ad2(0x34f)]]:_0x2d7ad2(0x330),[he[_0x2d7ad2(0x45f)]]:_0x2d7ad2(0x20a),[he['JOIN_ROOM_PERMISSION_DENIED']]:_0x2d7ad2(0x4a7),[he[_0x2d7ad2(0x46d)]]:_0x2d7ad2(0x48e)};exports['CollaborationSession']=class extends a[_0x2d7ad2(0x180)]{constructor(_0x397a76,_0x1fbda4,_0x515f39,_0x194c72,_0x26067f,_0x3db75f,_0xd2a3b8,_0xecde08,_0x3c4b94){var _0x5a5035=_0x2d7ad2;super(),D(this,_0x5a5035(0x401),new H[(_0x5a5035(0x45b))](0x0)),D(this,_0x5a5035(0x3ae),this[_0x5a5035(0x401)][_0x5a5035(0x1cc)]()),D(this,_0x5a5035(0x19b),new H[(_0x5a5035(0x4c1))]()),D(this,'event$',this[_0x5a5035(0x19b)][_0x5a5035(0x1cc)]()),D(this,'_socket'),D(this,_0x5a5035(0x151)),D(this,_0x5a5035(0x36e)),D(this,_0x5a5035(0x1da),!0x1),D(this,_0x5a5035(0x429),null),(this[_0x5a5035(0x432)]=_0x397a76,this['_logService']=_0x515f39,this[_0x5a5035(0x152)]=_0x194c72,this[_0x5a5035(0x3fb)]=_0x26067f,this['_memberService']=_0x3db75f,this['_commentService']=_0xd2a3b8,this[_0x5a5035(0x3e6)]=_0xecde08,this['_telemetryService']=_0x3c4b94,this['_shouldReportTelemetry']=!!this[_0x5a5035(0x1ea)],_0x1fbda4['pipe'](H[_0x5a5035(0x1fa)](this[_0x5a5035(0x1c9)]))[_0x5a5035(0x35f)](_0x4089cf=>{var _0x1e3704=_0x5a5035,_0x108f46;typeof _0x4089cf>'u'||(this[_0x1e3704(0x366)]=_0x4089cf,_0x4089cf?(this['_joinRoom'](_0x4089cf),this['_socketMessageSubscription']=_0x4089cf['message$'][_0x1e3704(0x35f)](_0x277584=>{var _0x471235=_0x1e3704;_0x277584[_0x471235(0x45e)]===this[_0x471235(0x432)]&&this[_0x471235(0x2cd)](_0x277584);})):(this[_0x1e3704(0x2a8)](),this[_0x1e3704(0x401)][_0x1e3704(0x224)](0x2),(_0x108f46=this[_0x1e3704(0x151)])==null||_0x108f46[_0x1e3704(0x35b)](),this[_0x1e3704(0x151)]=null));}));}get[_0x2d7ad2(0x487)](){var _0x7633fe=_0x2d7ad2;return this[_0x7633fe(0x401)][_0x7633fe(0x24d)]();}['getMemberID'](){var _0x96d54c=_0x2d7ad2,_0x5f5932,_0x159c4d;return(_0x159c4d=(_0x5f5932=this[_0x96d54c(0x366)])==null?void 0x0:_0x5f5932[_0x96d54c(0x21c)])!=null?_0x159c4d:null;}[_0x2d7ad2(0x1f6)](){var _0x4f555a=_0x2d7ad2;super['dispose'](),this[_0x4f555a(0x1c9)]['next'](),this['dispose$'][_0x4f555a(0x34c)]();}[_0x2d7ad2(0x3b1)](){var _0x15d072=_0x2d7ad2,_0x4aa51c,_0x3eadcb;this[_0x15d072(0x2a8)](),(_0x4aa51c=this['_socket'])==null||_0x4aa51c['send']({'cmd':G['LEAVE'],'data':{'roomID':this[_0x15d072(0x432)]}}),(_0x3eadcb=this['_socket'])==null||_0x3eadcb[_0x15d072(0x3b1)](),this[_0x15d072(0x19b)][_0x15d072(0x34c)](),this[_0x15d072(0x401)]['complete'](),this['dispose']();}['_onCombEvent'](_0x25d75a){var _0x4cc401=_0x2d7ad2;_0x25d75a[_0x4cc401(0x4a4)]===G[_0x4cc401(0x1ff)]?this[_0x4cc401(0x169)](_0x25d75a):_0x25d75a[_0x4cc401(0x4a4)]===G[_0x4cc401(0x243)]&&this[_0x4cc401(0x332)](_0x25d75a);}['_joinRoom'](_0x57ba8f){var _0x247bc0=_0x2d7ad2;this[_0x247bc0(0x401)][_0x247bc0(0x224)](0x1),_0x57ba8f[_0x247bc0(0x228)]({'cmd':G['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x247bc0(0x432)]}]}});}['_onJoinRoomEvent'](_0x3b19e5){var _0x1f91f8=_0x2d7ad2,_0x33947c;if(_0x3b19e5[_0x1f91f8(0x4a9)]in qe){this[_0x1f91f8(0x3e6)][_0x1f91f8(0x155)]({'id':Q[_0x1f91f8(0x2ed)],'data':qe[_0x3b19e5[_0x1f91f8(0x4a9)]]}),this[_0x1f91f8(0x401)][_0x1f91f8(0x224)](0x2);return;}this[_0x1f91f8(0x401)][_0x1f91f8(0x224)](0x3);const _0xe29d03=(_0x33947c=_0x3b19e5[_0x1f91f8(0x23e)][_0x1f91f8(0x2f8)][this['_unitID']])==null?void 0x0:_0x33947c['members'];_0xe29d03&&_0xe29d03[_0x1f91f8(0x1f2)](_0x30f697=>this[_0x1f91f8(0x3ff)][_0x1f91f8(0x2cc)](this['_unitID'],_0x30f697));}['_onRecvEvent'](_0x61f2ca){var _0x13b3af=_0x2d7ad2;try{const _0x3f2a56=_0x61f2ca[_0x13b3af(0x23e)];switch(_0x3f2a56[_0x13b3af(0x3ea)]){case m[_0x13b3af(0x3c5)][_0x13b3af(0x3d0)]:this['_onUserJoin'](_0x3f2a56),this[_0x13b3af(0x19b)][_0x13b3af(0x224)](_0x3f2a56);break;case m[_0x13b3af(0x3c5)][_0x13b3af(0x4a1)]:this[_0x13b3af(0x3b4)](_0x3f2a56),this[_0x13b3af(0x19b)][_0x13b3af(0x224)](_0x3f2a56);break;case m[_0x13b3af(0x3c5)][_0x13b3af(0x1df)]:case m[_0x13b3af(0x3c5)][_0x13b3af(0x1ad)]:this[_0x13b3af(0x267)](),this[_0x13b3af(0x3d5)](),this[_0x13b3af(0x19b)][_0x13b3af(0x224)](_0x3f2a56);break;case m[_0x13b3af(0x3c5)][_0x13b3af(0x42a)]:this[_0x13b3af(0x382)][_0x13b3af(0x450)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x13b3af(0x37a)](_0x3f2a56)),this[_0x13b3af(0x19b)][_0x13b3af(0x224)](_0x3f2a56);break;case m[_0x13b3af(0x3c5)][_0x13b3af(0x27f)]:this['_commentService'][_0x13b3af(0x352)](_0x3f2a56[_0x13b3af(0x23e)]),this[_0x13b3af(0x19b)][_0x13b3af(0x224)](_0x3f2a56);break;default:this[_0x13b3af(0x19b)][_0x13b3af(0x224)](_0x3f2a56);}}catch(_0x389cfe){this[_0x13b3af(0x382)][_0x13b3af(0x450)](_0x389cfe,_0x61f2ca);}}[_0x2d7ad2(0x1d0)](_0x1e246b){var _0x1a0ffd=_0x2d7ad2;this['_memberService'][_0x1a0ffd(0x2cc)](this['_unitID'],_0x1e246b[_0x1a0ffd(0x23e)]);}[_0x2d7ad2(0x3b4)](_0x1e154b){var _0xa1626a=_0x2d7ad2;this[_0xa1626a(0x3ff)][_0xa1626a(0x4af)](this[_0xa1626a(0x432)],_0x1e154b[_0xa1626a(0x23e)][_0xa1626a(0x21c)]);}async[_0x2d7ad2(0x228)](_0x5e84b0,_0x4caef2){var _0x19981b=_0x2d7ad2;if(this[_0x19981b(0x487)]!==0x3||!this[_0x19981b(0x366)])throw new Error(_0x19981b(0x470));try{_0x5e84b0['eventID']===m[_0x19981b(0x3c5)][_0x19981b(0x292)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x19981b(0x492)](_0x5e84b0)),this[_0x19981b(0x366)][_0x19981b(0x228)]({'cmd':G['INGEST'],'routeKey':_0x4caef2,'routeType':'','data':_0x5e84b0});}catch(_0x2c4cde){this[_0x19981b(0x382)][_0x19981b(0x450)](_0x2c4cde);}}[_0x2d7ad2(0x26a)](){var _0xbc736d=_0x2d7ad2,_0x3fd001;this[_0xbc736d(0x36e)]=setTimeout(()=>{var _0x506344=_0xbc736d;this['_collaborationTimeoutTimer']=null,this[_0x506344(0x3e6)][_0x506344(0x155)]({'id':Q['SUBMIT_CHANGESET_TIMEOUT']});},(_0x3fd001=this[_0xbc736d(0x152)][_0xbc736d(0x2d0)](He))!=null?_0x3fd001:gt);}[_0x2d7ad2(0x3d5)](){var _0x24d4ea=_0x2d7ad2;this[_0x24d4ea(0x36e)]&&(clearTimeout(this[_0x24d4ea(0x36e)]),this['_collaborationTimeoutTimer']=null);}[_0x2d7ad2(0x492)](_0x2ff6e6){var _0x1d1874=_0x2d7ad2;if(!this['_shouldReportTelemetry'])return;const {data:_0x4b559c}=_0x2ff6e6,{unitID:_0xd0ca3c,changeset:_0xbf4e05}=_0x4b559c,{mutations:_0x5e1b62,type:_0x16d418}=_0xbf4e05;this[_0x1d1874(0x429)]={'unitId':_0xd0ca3c,'type':_0x16d418,'startTime':performance[_0x1d1874(0x1d1)](),'stopTime':0x0,'duration':0x0,'size':rn(_0x5e1b62)};}[_0x2d7ad2(0x267)](){var _0x2f6ed2=_0x2d7ad2;if(this[_0x2f6ed2(0x1da)]){if(!this[_0x2f6ed2(0x429)]){this['_logService'][_0x2f6ed2(0x450)](_0x2f6ed2(0x158),_0x2f6ed2(0x1b0));return;}this[_0x2f6ed2(0x429)][_0x2f6ed2(0x271)]=performance['now'](),this[_0x2f6ed2(0x429)][_0x2f6ed2(0x36c)]=this[_0x2f6ed2(0x429)]['stopTime']-this[_0x2f6ed2(0x429)][_0x2f6ed2(0x1a0)],this[_0x2f6ed2(0x1ea)][_0x2f6ed2(0x1d9)](nn,this[_0x2f6ed2(0x429)]),this[_0x2f6ed2(0x429)]=null;}}[_0x2d7ad2(0x2a8)](){var _0x158697=_0x2d7ad2;this[_0x158697(0x429)]=null;}},exports[_0x2d7ad2(0x348)]=_n([oe(0x2,a[_0x2d7ad2(0x3f3)]),oe(0x3,a[_0x2d7ad2(0x160)]),oe(0x4,a['Inject'](a[_0x2d7ad2(0x437)])),oe(0x5,a[_0x2d7ad2(0x4c3)](exports[_0x2d7ad2(0x317)])),oe(0x6,a[_0x2d7ad2(0x4c3)](Be)),oe(0x7,a[_0x2d7ad2(0x4c3)](te)),oe(0x8,a[_0x2d7ad2(0x454)](jt[_0x2d7ad2(0x2a4)]))],exports[_0x2d7ad2(0x348)]);var un=Object[_0x2d7ad2(0x325)],dn=Object[_0x2d7ad2(0x20f)],vn=(_0xe2b078,_0x3a37e5,_0x200954,_0x1ca540)=>{for(var _0x476393=_0x1ca540>0x1?void 0x0:_0x1ca540?dn(_0x3a37e5,_0x200954):_0x3a37e5,_0x7b6b74=_0xe2b078['length']-0x1,_0xd6bee7;_0x7b6b74>=0x0;_0x7b6b74--)(_0xd6bee7=_0xe2b078[_0x7b6b74])&&(_0x476393=(_0x1ca540?_0xd6bee7(_0x3a37e5,_0x200954,_0x476393):_0xd6bee7(_0x476393))||_0x476393);return _0x1ca540&&_0x476393&&un(_0x3a37e5,_0x200954,_0x476393),_0x476393;},ae=(_0x104a56,_0x4d8c7f)=>(_0x5c9b27,_0x4428f7)=>_0x4d8c7f(_0x5c9b27,_0x4428f7,_0x104a56);exports['CollaborationSessionService']=class extends a['Disposable']{constructor(_0x4130a4,_0x2a83b6,_0x40aa0d,_0x7ffe1a,_0x151d33,_0x12b9c9,_0x4699c7){var _0x435d28=_0x2d7ad2;super(),D(this,_0x435d28(0x1b4),new H[(_0x435d28(0x45b))](void 0x0)),D(this,_0x435d28(0x2ec),this[_0x435d28(0x1b4)][_0x435d28(0x1cc)]()),D(this,_0x435d28(0x16a),null),D(this,_0x435d28(0x19e),new Map()),D(this,_0x435d28(0x3c2),new H[(_0x435d28(0x45b))](se[_0x435d28(0x447)])),D(this,'status$',this[_0x435d28(0x3c2)][_0x435d28(0x1cc)]()),D(this,_0x435d28(0x183),!0x1),D(this,_0x435d28(0x3f6)),D(this,_0x435d28(0x378),0x0),D(this,_0x435d28(0x368)),D(this,_0x435d28(0x319)),(this['_injector']=_0x4130a4,this[_0x435d28(0x382)]=_0x2a83b6,this['_configService']=_0x40aa0d,this[_0x435d28(0x40f)]=_0x7ffe1a,this[_0x435d28(0x2c5)]=_0x151d33,this[_0x435d28(0x3e6)]=_0x12b9c9,this[_0x435d28(0x49f)]=_0x4699c7,this['_listenToNetworkCondition']());}get[_0x2d7ad2(0x366)](){var _0x1d0f00=_0x2d7ad2;return this[_0x1d0f00(0x1b4)][_0x1d0f00(0x24d)]();}['_listenToNetworkCondition'](){var _0x50c90a=_0x2d7ad2;this[_0x50c90a(0x49f)]&&this[_0x50c90a(0x4aa)](this[_0x50c90a(0x49f)][_0x50c90a(0x2bc)][_0x50c90a(0x35f)](_0x138400=>{var _0x24f663=_0x50c90a;_0x138400&&!this[_0x24f663(0x366)]&&this[_0x24f663(0x2b7)](),_0x138400||this['_onOffline']();}));}[_0x2d7ad2(0x1f6)](){var _0x17928d=_0x2d7ad2;super[_0x17928d(0x1f6)](),this[_0x17928d(0x19e)][_0x17928d(0x1f2)](_0x21fd2f=>_0x21fd2f[_0x17928d(0x1f6)]()),this[_0x17928d(0x19e)]['clear'](),this[_0x17928d(0x3c2)]['complete']();}async[_0x2d7ad2(0x17b)](_0x45c030){var _0x25b9cb=_0x2d7ad2;if(this[_0x25b9cb(0x19e)][_0x25b9cb(0x1e1)](_0x45c030))return this[_0x25b9cb(0x19e)][_0x25b9cb(0x4b4)](_0x45c030);this[_0x25b9cb(0x412)]();const _0x56ad63=this['_injector'][_0x25b9cb(0x387)](exports['CollaborationSession'],_0x45c030,this[_0x25b9cb(0x1b4)][_0x25b9cb(0x1cc)]());return this['_sessions'][_0x25b9cb(0x3e0)](_0x45c030,_0x56ad63),_0x56ad63;}[_0x2d7ad2(0x320)](_0x571408){var _0x5d9a2a=_0x2d7ad2,_0x2740a8;const _0x5e420b=this[_0x5d9a2a(0x19e)][_0x5d9a2a(0x4b4)](_0x571408);_0x5e420b&&(this['_sessions']['delete'](_0x571408),_0x5e420b[_0x5d9a2a(0x3b1)]()),this[_0x5d9a2a(0x19e)][_0x5d9a2a(0x410)]||(_0x2740a8=this[_0x5d9a2a(0x366)])==null||_0x2740a8[_0x5d9a2a(0x3b1)]();}[_0x2d7ad2(0x2b7)](){var _0x149b0c=_0x2d7ad2;this[_0x149b0c(0x378)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x149b0c(0x3f6)]),this[_0x149b0c(0x3f6)]=null),this[_0x149b0c(0x163)]();}async[_0x2d7ad2(0x280)](){var _0x57c796=_0x2d7ad2,_0x23a5d4,_0x1ff8cd,_0x12cfe3;const _0x22214e=this['_configService']['getConfig'](Y),_0x9ced9c=(_0x23a5d4=_0x22214e==null?void 0x0:_0x22214e[_0x57c796(0x45c)])!=null?_0x23a5d4:Ft;return(_0x12cfe3=(_0x1ff8cd=(await this[_0x57c796(0x2c5)][_0x57c796(0x4b4)](_0x9ced9c,{'headers':{'Content-Type':_0x57c796(0x448)}}))['body'])==null?void 0x0:_0x1ff8cd[_0x57c796(0x253)])!=null?_0x12cfe3:'';}[_0x2d7ad2(0x32f)](_0x2b64f9){var _0x4168a3=_0x2d7ad2,_0x353fc3,_0x26cf21;const _0x2c0527=this[_0x4168a3(0x152)][_0x4168a3(0x2d0)](St),_0xe55c45=this[_0x4168a3(0x152)][_0x4168a3(0x2d0)](Y),_0x464980=(_0x26cf21=(_0x353fc3=_0xe55c45==null?void 0x0:_0xe55c45[_0x4168a3(0x2de)])!=null?_0x353fc3:_0x2c0527)!=null?_0x26cf21:pt,_0x248df5=typeof window>'u'?new URL(_0x464980):new URL(_0x464980,window['location'][_0x4168a3(0x2b8)]);_0x248df5[_0x4168a3(0x2cb)][_0x4168a3(0x3e0)](_0x4168a3(0x1e4),_0x2b64f9);const _0x22fc49=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4168a3(0x165)][_0x4168a3(0x459)]);return _0x22fc49[_0x4168a3(0x4b4)]('runId')&&_0x248df5[_0x4168a3(0x2cb)][_0x4168a3(0x3e0)](_0x4168a3(0x210),_0x22fc49[_0x4168a3(0x4b4)](_0x4168a3(0x210))),_0x248df5[_0x4168a3(0x2a2)]();}async[_0x2d7ad2(0x279)](){var _0x13c0b8=_0x2d7ad2;const _0x463e04=await this[_0x13c0b8(0x280)](),_0x2320a6=this[_0x13c0b8(0x32f)](_0x463e04),_0x5c7e33=this['_socketService'][_0x13c0b8(0x2f9)](_0x2320a6);return this[_0x13c0b8(0x16a)]=_0x5c7e33,_0x5c7e33;}async[_0x2d7ad2(0x412)](){var _0x20af8b=_0x2d7ad2,_0x36e832,_0x18c8a4;try{const _0x562a38=(_0x18c8a4=(_0x36e832=this[_0x20af8b(0x366)])!=null?_0x36e832:this[_0x20af8b(0x16a)])!=null?_0x18c8a4:await this[_0x20af8b(0x279)]();if(_0x562a38){const _0x431b5a=_0x562a38['send'];_0x562a38[_0x20af8b(0x228)]=_0x4974da=>(this['_rescheduleHeartbeat'](),_0x431b5a[_0x20af8b(0x304)](_0x562a38,[_0x4974da])),_0x562a38[_0x20af8b(0x40c)]['subscribe'](_0x4daf5a=>this[_0x20af8b(0x226)](_0x562a38,_0x4daf5a)),_0x562a38[_0x20af8b(0x186)]['pipe'](W['take'](0x1))[_0x20af8b(0x35f)](_0x4631f9=>this[_0x20af8b(0x382)][_0x20af8b(0x450)](_0x20af8b(0x2ba),_0x4631f9)),_0x562a38['open$'][_0x20af8b(0x362)](W[_0x20af8b(0x37b)](0x1))[_0x20af8b(0x35f)](()=>{var _0x5292af=_0x20af8b;this[_0x5292af(0x207)](_0x562a38);}),_0x562a38['close$'][_0x20af8b(0x362)](W[_0x20af8b(0x37b)](0x1))[_0x20af8b(0x35f)](_0x47cb0d=>{var _0x3795eb=_0x20af8b;this['_logService'][_0x3795eb(0x159)]('[CollaborationSessionService]',_0x3795eb(0x441),_0x47cb0d),this[_0x3795eb(0x31a)]();});}}catch(_0x5b4485){this[_0x20af8b(0x382)][_0x20af8b(0x450)](_0x5b4485),this[_0x20af8b(0x31a)]();}}[_0x2d7ad2(0x207)](_0x388b58){var _0x28269e=_0x2d7ad2;this[_0x28269e(0x382)][_0x28269e(0x159)](_0x28269e(0x474),'socket\x20open.'),_0x388b58[_0x28269e(0x228)]({'cmd':G[_0x28269e(0x32a)]}),this[_0x28269e(0x201)]();}[_0x2d7ad2(0x21b)](){var _0xbc6126=_0x2d7ad2;this[_0xbc6126(0x183)]=!0x1,this[_0xbc6126(0x16a)]=null,this[_0xbc6126(0x3c2)]['next'](se[_0xbc6126(0x209)]),this[_0xbc6126(0x1b4)][_0xbc6126(0x224)](null),this[_0xbc6126(0x3f7)](),this[_0xbc6126(0x453)]();}[_0x2d7ad2(0x31a)](){var _0xd5a99=_0x2d7ad2,_0x550800;this[_0xd5a99(0x21b)](),this[_0xd5a99(0x378)]<((_0x550800=this[_0xd5a99(0x152)][_0xd5a99(0x2d0)](It))!=null?_0x550800:Vt)?(this[_0xd5a99(0x3e6)][_0xd5a99(0x155)]({'id':Q['SOCKET_FAILED_RETRY']}),this[_0xd5a99(0x163)]()):this[_0xd5a99(0x3e6)][_0xd5a99(0x155)]({'id':Q[_0xd5a99(0x24a)]});}[_0x2d7ad2(0x163)](){var _0x51e14b=_0x2d7ad2,_0x32e722;const _0x5d67f7=this[_0x51e14b(0x378)],_0x49f9a3=this[_0x51e14b(0x152)]['getConfig'](Y),_0x1203d4=_0x5d67f7===0x0?0x0:((_0x32e722=_0x49f9a3==null?void 0x0:_0x49f9a3[_0x51e14b(0x440)])!=null?_0x32e722:Gt)*0x2**_0x5d67f7;this['_retryConnectingTimer']=setTimeout(()=>{var _0x39fed9=_0x51e14b;clearTimeout(this[_0x39fed9(0x3f6)]),this[_0x39fed9(0x3f6)]=null,this[_0x39fed9(0x412)]();},_0x1203d4),this[_0x51e14b(0x378)]+=0x1;}[_0x2d7ad2(0x226)](_0x546e63,_0x5eb32d){var _0xb0c4f0=_0x2d7ad2;const {cmd:_0x2ec076}=_0x5eb32d;_0x2ec076===G['HELLO']&&!this[_0xb0c4f0(0x183)]&&(_0x546e63[_0xb0c4f0(0x21c)]=_0x5eb32d['data'][_0xb0c4f0(0x21c)],this[_0xb0c4f0(0x1b4)][_0xb0c4f0(0x224)](_0x546e63),this['_status$'][_0xb0c4f0(0x224)](se['ONLINE']),this[_0xb0c4f0(0x183)]=!0x0,this['_candidateSocket']=null),_0x2ec076===G[_0xb0c4f0(0x29d)]&&this[_0xb0c4f0(0x3f7)](),this[_0xb0c4f0(0x201)]();}[_0x2d7ad2(0x201)](){var _0x5c966b=_0x2d7ad2,_0x2483f5;this['_clearHeartbeatTimer'](),this[_0x5c966b(0x368)]=setTimeout(()=>this[_0x5c966b(0x244)](),(_0x2483f5=this['_configService'][_0x5c966b(0x2d0)](mt))!=null?_0x2483f5:Wt);}[_0x2d7ad2(0x244)](){var _0x1beb2b=_0x2d7ad2;this[_0x1beb2b(0x366)]['send']({'cmd':G[_0x1beb2b(0x29d)]}),this[_0x1beb2b(0x290)]();}['_waitForHeartbeatResponse'](){var _0x370613=_0x2d7ad2,_0x4fb821;this[_0x370613(0x319)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x4fb821=this[_0x370613(0x152)][_0x370613(0x2d0)](He))!=null?_0x4fb821:gt);}[_0x2d7ad2(0x453)](){var _0x14b408=_0x2d7ad2;this[_0x14b408(0x368)]!=null&&(clearTimeout(this[_0x14b408(0x368)]),this[_0x14b408(0x368)]=null);}[_0x2d7ad2(0x3f7)](){var _0x56fe1a=_0x2d7ad2;this[_0x56fe1a(0x319)]!=null&&(clearTimeout(this[_0x56fe1a(0x319)]),this[_0x56fe1a(0x319)]=null);}},exports[_0x2d7ad2(0x3c7)]=vn([ae(0x0,a[_0x2d7ad2(0x4c3)](a[_0x2d7ad2(0x2d8)])),ae(0x1,a[_0x2d7ad2(0x3f3)]),ae(0x2,a[_0x2d7ad2(0x160)]),ae(0x3,ke),ae(0x4,a[_0x2d7ad2(0x4c3)](q[_0x2d7ad2(0x1f3)])),ae(0x5,a[_0x2d7ad2(0x4c3)](te)),ae(0x6,a[_0x2d7ad2(0x454)](Rt))],exports[_0x2d7ad2(0x3c7)]);const V=[];for(let r=0x0;r<0x100;++r)V[_0x2d7ad2(0x40d)]((r+0x100)[_0x2d7ad2(0x2a2)](0x10)[_0x2d7ad2(0x3a6)](0x1));function fn(_0x7c527,_0x64988f=0x0){var _0x3b1295=_0x2d7ad2;return(V[_0x7c527[_0x64988f+0x0]]+V[_0x7c527[_0x64988f+0x1]]+V[_0x7c527[_0x64988f+0x2]]+V[_0x7c527[_0x64988f+0x3]]+'-'+V[_0x7c527[_0x64988f+0x4]]+V[_0x7c527[_0x64988f+0x5]]+'-'+V[_0x7c527[_0x64988f+0x6]]+V[_0x7c527[_0x64988f+0x7]]+'-'+V[_0x7c527[_0x64988f+0x8]]+V[_0x7c527[_0x64988f+0x9]]+'-'+V[_0x7c527[_0x64988f+0xa]]+V[_0x7c527[_0x64988f+0xb]]+V[_0x7c527[_0x64988f+0xc]]+V[_0x7c527[_0x64988f+0xd]]+V[_0x7c527[_0x64988f+0xe]]+V[_0x7c527[_0x64988f+0xf]])[_0x3b1295(0x3ac)]();}let Pe;const Sn=new Uint8Array(0x10);function pn(){var _0x2f9d45=_0x2d7ad2;if(!Pe){if(typeof crypto>'u'||!crypto[_0x2f9d45(0x35a)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Pe=crypto[_0x2f9d45(0x35a)][_0x2f9d45(0x41a)](crypto);}return Pe(Sn);}const mn=typeof crypto<'u'&&crypto[_0x2d7ad2(0x485)]&&crypto[_0x2d7ad2(0x485)][_0x2d7ad2(0x41a)](crypto),ze={'randomUUID':mn};function gn(_0x4fb596,_0x34a380,_0x56c102){var _0x126596=_0x2d7ad2,_0x140062,_0x52d8b3,_0x574e73;if(ze['randomUUID']&&!_0x4fb596)return ze['randomUUID']();_0x4fb596=_0x4fb596||{};const _0x2ff073=(_0x574e73=(_0x52d8b3=_0x4fb596['random'])!=null?_0x52d8b3:(_0x140062=_0x4fb596[_0x126596(0x34b)])==null?void 0x0:_0x140062[_0x126596(0x179)](_0x4fb596))!=null?_0x574e73:pn();if(_0x2ff073['length']<0x10)throw new Error(_0x126596(0x428));return _0x2ff073[0x6]=_0x2ff073[0x6]&0xf|0x40,_0x2ff073[0x8]=_0x2ff073[0x8]&0x3f|0x80,fn(_0x2ff073);}const z=a[_0x2d7ad2(0x467)](_0x2d7ad2(0x39f));function In(_0xfdbcd9){var _0x371dac=_0x2d7ad2;return _0x371dac(0x1e0)+_0xfdbcd9;}var En=Object[_0x2d7ad2(0x325)],Cn=Object[_0x2d7ad2(0x20f)],Tn=(_0x51eda8,_0x3267e9,_0x492ff8,_0x34d3cc)=>{var _0x319fdc=_0x2d7ad2;for(var _0x42dd9b=_0x34d3cc>0x1?void 0x0:_0x34d3cc?Cn(_0x3267e9,_0x492ff8):_0x3267e9,_0x57793a=_0x51eda8[_0x319fdc(0x23c)]-0x1,_0x159105;_0x57793a>=0x0;_0x57793a--)(_0x159105=_0x51eda8[_0x57793a])&&(_0x42dd9b=(_0x34d3cc?_0x159105(_0x3267e9,_0x492ff8,_0x42dd9b):_0x159105(_0x42dd9b))||_0x42dd9b);return _0x34d3cc&&_0x42dd9b&&En(_0x3267e9,_0x492ff8,_0x42dd9b),_0x42dd9b;},De=(_0x9d7db0,_0x40be32)=>(_0x259ce9,_0x17cda2)=>_0x40be32(_0x259ce9,_0x17cda2,_0x9d7db0);function _0x4e74(){var _0x1b5957=['init','entries','UUID','result','MentionIoHttpService','_doCryptBlock','_members','_unitID','@univerjs/sheets','SHA1','clear','concat','LocaleService','fetch_missing','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','LIVESHARE_REQUEST_HOST','/block/','members$','image/jpg','readyForCollab','LICENSE_EXPORT_SIZE_EXCEEDED','retryConnectingInterval','socket\x20close','_snapshotService','requestParams','_append','fromCharCode','BlockCipherMode','IDLE','application/json','resend','[OfflineState]:\x20received\x20rejection.','DataLoaderService','_onRemoteRetry','_awaitingChangeset','commentUpdate$','_transformStateCache','error','Base','m2Prime','_clearHeartbeatTimer','Optional','7vTqTOc','getCurrentUser','disableLocalCache','ERROR_IMAGE_TYPE','search','_change$','BehaviorSubject','wsSessionTicketUrl','/-/object/list','routeKey','JOIN_ROOM_NOT_EXISTS','_createHelper','waitForRoom$','clamp','words','interceptor','_transformRemoteChangesetByStateCache','MUTATION','createIdentifier','awaitingChangeset','title','_getSignURL','_commandService','_substituteRedoStack','GLOBAL_ROOMS_CNT_EXCEEDS','_getUndoStack','_redoStacks','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','MergeInterceptorFactory','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','SessionStatus','[CollaborationSessionService]','status$','pluginName','_handler','CBC','_eventService','_createInitialState','CompressMutationService','createCollaborator','@univerjs/docs','CollaborationImageIoService','patch','getCollabEntity','_transformIMECache','_unlockTransition','UNIVER_SLIDE','format','randomUUID','MentionType','sessionStatus','actions','OTHER_CLIENTS_EDITING','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','CipherParams','execute','_ENC_XFORM_MODE','session.room-cnt-exceeds','decrypt','[FetchMissState]','getUnitOnRev','_startTelemetryCollaborationNewChangeset','fetchThroughInterceptors','snapshot','ISnapshotServerService','ICommandService','_keyPriorReset','SNAPSHOT_INVALID_SNAPSHOT','796500cxqJSY','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','onTransformRemoteChangesetByStateCache','from','batchAllowed','SYNCED','_networkConditionService','{fileID}','USERS_LEAVE','1149764GaYxkI','toDisposable','cmd','UPDATE_PERMISSION_OBJ','c1Prime','session.room-permission-denied','getGlobalObject','code','disposeWithMe','fetching\x20missing\x20changesets\x20from\x20','&source=','_instanceService','WordArray','removeMember','@univerjs-pro/license','Quantity','reqId','_oKey','get','HEARTBEAT_TIMEOUT','SUCCUSS','floor','getInterceptPoints','rev','[CollaborationUndoRedoService]','_transformSelections','shouldCloseConn','_undoStacks','onMissingChangesets','/rev/','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','Subject','@univerjs-pro/collaboration','Inject','action','_onFetchMissResult','SheetPermissionInitController','_process','resourceIDs','/object','EXCHANGE_SIGN_URL_SERVER_URL_KEY','getSheetId','_iKey','/universer-api/authz','_getUploadFileURL','_DEC_XFORM_MODE','DEFAULT_COLLAB_WEB_SOCKET_URL','univer-pro.collaboration-client.single-active-unit-service','infoRsp','revision','_socketMessageSubscription','_configService','_injector','_minBufferSize','emitEvent','InsertSheetMutation','SEND_CHANGESET_TIMEOUT','[CollaborationSession]','debug','_onLocalMutation','/resources','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','setShowComponents','PSEUDO_FETCH_MISSING_RESULT','/object/','IConfigService','create','Disposable','_tryReconnect','_createHandler','location','SheetCollaborationEntity','roles','OpenSSL','_onJoinRoomEvent','_candidateSocket','objectActions','PendingState','_pendingMutations','CommandType','[OfflineState]:\x20received\x20changeset.','LICENSE_DISTRO_REJECTED','_permissionService','charAt','EmptyMutation','liveShareNewHost','RichTextEditingMutation','byteLength','RETRY_CONNECTING_MAX_COUNT','range','call','joinRsp','requireSession','addImageSourceCache','rxjs','sendChangesetTimeout','NO_OTHER_CLIENTS_EDITING','RxDisposable','_acknowledgedAwaitingChangeset','awaiting','_socketReady','key','CollaborationController','error$','string','_cipher','FileId','HEARTBEAT_INTERVAL','getUnitType','SerializableCipher','_hasher','collabSubmitChangesetUrl','sid','FAIL','DependentOn','APPLY_REJECT','_getDownloadEndpointURL','810975kbVDAI','function','snapshotServerUrl','/universer-api/comb','getImageSourceCache','executeCommand','_executeRemoteChangeset','_event$','default','_key','_sessions','MD5','startTime','UNDEFINED','?size=','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','LOGIN_URL_KEY','_transformUndoredo','univer-pro.collaboration-client.network-condition.service','/universer-api/snapshot','Undefined','_createInitialStateImpl','_sendingTimer','liveShareOperation','ONLINE','CHANGESET_SHOULD_RETRY','ALREADY_EXISTS','findIndex','telemetry\x20info\x20is\x20not\x20initialized','_removeRoom','isInternalEditorID','newCsEvent','_socket$','IAuthzIoService','repeat','ivSize','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','equals','INetworkConditionService','min','UNIVER_COLLABORATION_CLIENT_PLUGIN','decryptBlock','prototype','putCollaborators','YUUMI_UNABLE_LOAD_URL','onMissedChangesetFetched','COLLAB_WEB_SOCKET_URL_KEY','_state$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','YUUMI_SUBSCRIPTION_NOT_FOUND','onRemoteRej','blockSize','/collaborator','dispose$','UniverSheetsPlugin','uploadFileServerUrl','asObservable','223738StEFrp','UNISCRIPT_RUN','setCurrentUser','_onUserJoin','now','_getRedoStack','UPDATE_CURSOR','loadDoc','authzUrl','10519860dClpAX','OPTIONAL','_doFinalize','capture','_shouldReportTelemetry','_toggleOnline','join','PERMISSION_DENIED','byteOffset','CHANGESET_ACK','unit-cache-','has','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','/unit/','sessionTicket','Univer','_disableEditing','getUnit','saveSnapshot','_checkMissing','_telemetryService','CollaborationUIEventService','onTransformSelections','HttpExport','Cipher','_incrementRevisionNumber','selections','then','forEach','HTTPService','AES','_type','dispose','_initCloseConn','updateOfflineData','APPLY_REVISION_CONFILICT','takeUntil','onSyncEditingCollabCursor','Workbook','_parse','onRemoteRetry','JOIN','SetSelectionsOperation','_rescheduleHeartbeat','_imageSourceCache','2070261asxjtN','firstValueFrom','AwaitingState','_fetchMissChangesets','_onConnectionOpen','_nDataBytes','OFFLINE','session.room-not-exists','unpad','@univerjs/drawing','JOINING','find','getOwnPropertyDescriptor','runId','reverse','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','Utf8','formatter','synced','getTypeOfUnitDisposed$','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_getLoginPath','SnapshotServerOverHTTPService','UNIVER_DOC','_onOffline','memberID','isPermissionRej','UserManagerService','CommentService','LEAVE','onStarting','_invKeySchedule','AwaitingWithPendingState','next','ISingleActiveUnitService','_onMessage','Encryptor','send','_resendWithTimeout','[DataLoaderService]','touchDependencies','&assign=','onTransformState','joinEvent','WorkbookEditablePermission','getCollabEntity$','charCodeAt','\x20to\x20','_initUnitPermissionChange','getRoom','_http','_snapshotServerService','AWAITING_WITH_PENDING','lib','enableOfflineEditing','deleteCollaborator','BASE64','length','reset','data','toggleOffline','IMentionIOService','_commentUpdate$','_mode','RECV','_sendHeartbeat','createEncryptor','/universer-api/snapshot/','5aBdDOa','_revisionService','buffer','SOCKET_FAILED','/allowed','crypto','getValue','ConflictState','People','map','PY_RUNTIME_SCRIPT_ERROR','max','ticket','delete','UnitStatus','onRemoteAck','substr','Plugin','COMPRESS_MUTATION_APPLY','getLatestCsReqIdBySid','deepClone','sigBytes','/role','POST','onlyLocal','editingUnit','_roomMembers','_startCollaboration','_updateLocalCache','CLOSE_ROOM','values','transformChangesets','_stopTelemetryCollaborationNewChangeset','_entityInit$','COLLAB_WEB_SOCKET_URL','_scheduleCollaborationTimeoutTimer','csShouldRetryEvent','_state','_userManagerService','_initDependencies','YUUMI_URL_COL_OUT_OF_RANGE','change$','stopTime','_transformStack','encodeURIComponent','/universer-api/stream/file/upload','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','finalize','OTHER_CLIENT_EDITING','appendMutation','_createSocket','\x0aAfter:\x20','type','PERMISSION_REJ','delay','ImageSourceType','COMMENT_UPDATE','_getSessionTicket','pad','ciphertext','_data','UNRECOGNIZED','INTERNAL_ERROR','_exhaustRemoteChangesetQueue','EvpKDF','Hasher','HEARTBEAT_INTERVAL_KEY','getFocusedUnit','_hash','parseProtocolChangeset','updateCursorEvent','YUUMI_RATE_OVER_LIMIT','transformSelections','_waitForHeartbeatResponse','getTypeOfUnitAdded$','SUBMIT_CHANGESET','UNKNOWN_CODE','_onRemoteACK','getAllMembers','mixIn','HmacMD5','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','mergeOverrideWithDependencies','_init','setConfig','[OfflineState]:\x20received\x20acknowledgement.','HEARTBEAT','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_clearScheduledTask','PasswordBasedCipher','SNAPSHOT_SERVER_URL_KEY','toString','subject','ITelemetryService','@univerjs/network','_singleActiveUnitService','add','_throwTelemetryCollaborationNewChangeset','isTransformChangesetsSuccess','[CollaborationEntity]','getCurrentRevOfUnit','[CollaborationState]:\x20apply\x20error!','CollaborationStatus','_showConflictNotification','onTransformRemoteChangesetByIMECache','IUniverInstanceService','AuthzIoHttpService','[UniverCollaborationClientPlugin]','body','HttpImport','_compressMutationService','c2Prime','reconnect','origin','_syncEditingCollabCursor','[CollaborationSessionService]:\x20socket\x20error','BlockCipher','online$','HTTPRequest','encode','_transformRemoteChangesetByIMECache','_roomCreated$','collaboration_new_changeset','incrementRevOfUnit','NEW_CHANGESETS','_changesetReqId','_httpService','_lockTransition','UNIVER_PROJECT','[SyncedState]:\x20received\x20acknowledgement.','ENSURE_SNAPSHOT_EXECUTION','ReplaySubject','searchParams','updateMember','_onCombEvent','Tools','IPermissionService','getConfig','LOCAL_CACHE_INTERVAL','_resendTimeout','copyFileMeta','_localCacheService','isTransformMutationsWithChangesetSuccess','_collaborationSessionService','processBlock','Injector','getUnitId','collaboration-client.config','_doReset','randomBytes','_xformMode','collabWebSocketUrl','CONNECTOR_DATA_TOO_LARGE','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','padding','_sender','collaborators','exports','isTransformMutationsWithChangesetFailure','_initMergeInterceptor','_registerDependencies','splice','update','originalMeta','cfg','socket$','JOIN_ROOM_FAILED','_univerInstanceService','random','_submitChangeset','SHOULD_CLOSE_CONN','&to=','JOIN_ROOM_PERMISSION_DENIED','LICENSE_IMPORT_SIZE_EXCEEDED','UnitSnapshot','permissionRejEvent','_onConflict','roomInfos','createSocket','indexOf','shareReplay','_entities','_resendTimer','uniscriptRunEvent','_scheduleCompleteTimestamp','_queuedRemoteChangesets','sheets','_applyRemoteChangeset','textEncoder','apply','catch','_clearUndo','LIVESHARE_TERMINATE','_HTTPService','href','/fetchmissing?from=','url','offline','unknown','HmacSHA1','name','_reverseMap','listRoles','mutations','image/png','DocCollaborationEntity','file','saveSheetBlock','MemberService','post','_timeoutTimer','_onConnectionFailed','_loadSheet','_emitMembers','_collaborationPaused','3mPhiZD','saveChangeset','closeSession','localeService','baseRev','unitInfo$','unitId\x20is\x20not\x20found','defineProperty','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','changesets','SyncedState','localCacheService','HELLO','socketService','APPLY_NON_SEQUENTIAL_REVISION','compute','_toggleOffline','_createSocketURL','session.room-full','PERSON','_onRecvEvent','SheetsSelectionsService','_keySchedule','objectID','append','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','LIVESHARE_FETCH_OPERATIONS','_waitCount','HEARTBEAT_TIMEOUT_KEY','RevisionService','merge','unitID','toggleOnline','_decreaseWaiting','_clearLocalCache','UNIVER_SHEET','_getAPIPrefix','APPLY_DUPLICATED','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','registerHTTPInterceptor','_schedule','CONFLICT','CollaborationSession','FETCH_MISSING','getMember','rng','complete','INVALID_ARGUMENT','@univerjs/core','JOIN_ROOM_FULL','HMAC','hostname','onCommentUpdate','FETCH_MISS','JSONX','_changesetSessionId','\x0aCurrent:\x20','UniverCollaborationPlugin','onTransformIME','CollaborationUIEventId','getRandomValues','unsubscribe','state','IUndoRedoService','serializeCombRequest','subscribe','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_createHmacHelper','pipe','put','_remoteChangesetQueue','awaiting_with_pending','_socket','keySize','_sendHeartbeatTimer','hasher','mapDocumentTypeToUniverType','RETRY_CONNECTING_MAX_COUNT_KEY','duration','1994448ospeje','_collaborationTimeoutTimer','loadOfflineData','transformMutationsWithChangeset','_collabSessionService','_authzIoService','iterations','hasOwnProperty','_updateStatus','COMPLETION_FINISHED','CollaborationEntity','_retryCount','transformStack\x20failed!','stringify','take','_unitInfo$','pending','headers','session','kdf','AUTHZ_URL_KEY','_logService','reduce','getTime','NOT_FOUND','reject','createInstance','FetchingMissState','onLocalMutation','ImageUploadStatusType','withCredentials','__creator','collaboratorID','getUnitStatus$','UniverInstanceType','target','msCrypto','symbol','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','readInt32LE','ceil','LICENSE_MAX_UNITS_EXCEEDED','SOCKET_FAILED_RETRY','/new_changes','_transitionLocked','parseChangesetToProtocol','listCollaborators','objectType','ERROR_IMAGE','APPLY_PERMISSION_DENIED','collaboration-client.local-cache-service','confirm','registerDependencies','sin','LIVESHARE_OPERATION','abs','getSnapshotAPIPath','slice','_substituteUndoStack','allowed','UNIVER_UNKNOWN','_map','objects','toLowerCase','_undoRedoService','sessionStatus$','_getCtorByUniverType','userID','close','updatePermissionPoint','responseType','_onUserLeave','_prevBlock','params','connection\x20error','getResourcesRequest','CHANGESET_REJ','UNKNOWN_CMD','COMPRESS_MUTATION_SEND','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','CollaborativeUndoRedoService','SEND_CHANGESET_TIMEOUT_KEY','Decryptor','_onRemoteChangeset','onSendChangeset','_status$','extend','AWAITING','CollaborationEvent','createDecryptor','CollaborationSessionService','UNAUTHENTICATED','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','rxjs/operators','focused$','getDeserializedSheetBlock','TOO_MANY_REQUESTS','clone','_updateState','USERS_ENTER','method','algo','status','onCommandExecuted','_clearCollaborationTimeoutTimer','_clearRedo','_transformService','_iv','onload','SUBMIT_CHANGESET_TIMEOUT','generateRandomId','fetchMiss','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','list','_config','set','LIVESHARE_NEW_HOST','PENDING','fromCollab','salt','_getAPIPrefixPath','_collaborationUIEventService','encrypt','mode','INGEST','eventID','_getCurrentRevision','src','_replayCachedMutations','Base64','fetchMissingChangesets','_nRounds','$super','_members$','ILogService','textRanges','replace','_retryConnectingTimer','_clearTimeoutTimer','\x20-\x20','filter','LocalUndoRedoService','_localeService','includes','unitId','\x20in\x20_schedule.','_memberService','OfflineState','_sessionStatus$','ITransformService','UniverCollaborationClientPlugin','IContextService','_initRequestHeader','conflict','CollaborationSocketService','image/gif','/universer-api/user/session-ticket','leaveEvent','_loadDoc','message$','push','_onRemoteRejected','_socketService','size','SnapshotService','_tryEnsureSocket','SheetTransformSelectionsService','toStringTag','getLocalCacheKey','transformUndoRedo','/universer-api/file/{fileID}/sign-url','b64DecodeUnicode','entityInit$','bind','NoPadding','parse','onRemoteChangeset','enc','COLLAB_SUBMIT_CHANGESET_URL','_handlerCallback','COLLAB_SUBMIT_CHANGESET_URL_KEY','UniverNetworkPlugin','UnitEmbedded','enableAuthServer','event$','[PendingState]:\x20unhandled\x20univer\x20type:\x20','startsWith','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_telemetryInfo','MSG_FOR_ERROR'];_0x4e74=function(){return _0x1b5957;};return _0x4e74();}function _0x38a2(_0x1411e8,_0x49f202){var _0x4e748f=_0x4e74();return _0x38a2=function(_0x38a2a6,_0x147281){_0x38a2a6=_0x38a2a6-0x141;var _0x30d3cf=_0x4e748f[_0x38a2a6];return _0x30d3cf;},_0x38a2(_0x1411e8,_0x49f202);}function bn(_0x389f31){var _0x578910=_0x2d7ad2;const {unitID:_0x112be2,mutations:_0x1941eb}=_0x389f31;return{'unitId':_0x112be2,'subUnitId':_0x1941eb[0x0][_0x578910(0x3b6)]['subUnitId']};}exports[_0x2d7ad2(0x413)]=class{constructor(_0x490e21,_0x2165ba,_0x36ea2a){var _0x3beb99=_0x2d7ad2;this[_0x3beb99(0x153)]=_0x490e21,this[_0x3beb99(0x3d7)]=_0x2165ba,this[_0x3beb99(0x4ad)]=_0x36ea2a;}[_0x2d7ad2(0x28f)](_0x3e8304){var _0x46e599=_0x2d7ad2,_0x8011a1,_0x445c63,_0x2e7e91,_0x2b1124;const _0x39b102=this[_0x46e599(0x153)][_0x46e599(0x4b4)](J[_0x46e599(0x333)]),{unitId:_0x3c23e8,subUnitId:_0x1cdf93}=bn(_0x3e8304),_0x1f0b23=_0x39b102==null?void 0x0:_0x39b102['getWorkbookSelections'](_0x3c23e8)['getCurrentSelections'](),_0x5da6c0=(_0x445c63=(_0x8011a1=this[_0x46e599(0x4ad)][_0x46e599(0x1e7)](_0x3c23e8))==null?void 0x0:_0x8011a1['getActiveSheet']())==null?void 0x0:_0x445c63[_0x46e599(0x148)]();if(_0x1f0b23[_0x46e599(0x23c)]===0x0||!_0x3c23e8||!_0x1cdf93)return;const _0x58b56c=[{'id':J[_0x46e599(0x200)]['id'],'params':{'unitId':_0x3c23e8,'subUnitId':_0x5da6c0,'selections':a['Tools'][_0x46e599(0x25b)](_0x1f0b23)}}],_0x3a4fd7=this[_0x46e599(0x3d7)][_0x46e599(0x370)](_0x3e8304,_0x58b56c);if(!m[_0x46e599(0x2d5)](_0x3a4fd7))throw _0x3a4fd7[_0x46e599(0x450)];const _0x23972f=(_0x2b1124=(_0x2e7e91=_0x3a4fd7['m2Prime'][0x0])==null?void 0x0:_0x2e7e91[_0x46e599(0x3b6)])==null?void 0x0:_0x2b1124[_0x46e599(0x1f0)];if(Array['isArray'](_0x23972f)&&_0x23972f[_0x46e599(0x23c)]){if(_0x23972f[_0x46e599(0x23c)]===_0x58b56c[0x0]['params'][_0x46e599(0x1f0)][_0x46e599(0x23c)]&&_0x23972f['every']((_0x5e6abe,_0x21da10)=>a['Rectangle'][_0x46e599(0x1b9)](_0x5e6abe[_0x46e599(0x178)],_0x58b56c[0x0]['params'][_0x46e599(0x1f0)][_0x21da10]['range'])))return;this[_0x46e599(0x153)][_0x46e599(0x4b4)](a[_0x46e599(0x496)])['executeCommand'](J['SetSelectionsOperation']['id'],{'unitId':_0x3c23e8,'subUnitId':_0x5da6c0,'selections':_0x23972f});}}},exports[_0x2d7ad2(0x413)]=Tn([De(0x0,a[_0x2d7ad2(0x4c3)](a[_0x2d7ad2(0x2d8)])),De(0x1,m['ITransformService']),De(0x2,a[_0x2d7ad2(0x2b0)])],exports[_0x2d7ad2(0x413)]);const ve=a[_0x2d7ad2(0x467)](_0x2d7ad2(0x14e));var Fe=(_0x354a8b=>(_0x354a8b[_0x354a8b[_0x2d7ad2(0x17f)]=0x0]=_0x2d7ad2(0x17f),_0x354a8b[_0x354a8b[_0x2d7ad2(0x489)]=0x1]=_0x2d7ad2(0x489),_0x354a8b))(Fe||{});const Rn=new Set([J[_0x2d7ad2(0x156)]['id']]);function Je(_0x5cc2cd,_0x5b7fbd,_0x40e927,_0x373e60,_0x30ae5b){var _0x5582c3=_0x2d7ad2,_0x281986,_0x4220a7,_0x4ed84b,_0x489283;const _0x1d6c40=[];for(const _0x9b9904 of _0x5cc2cd)if(Rn[_0x5582c3(0x1e1)](_0x9b9904['id'])){if(_0x1d6c40['length']>0x0)break;_0x1d6c40[_0x5582c3(0x40d)](_0x9b9904);break;}else _0x1d6c40['push'](_0x9b9904);const _0x549d09=(_0x4220a7=(_0x281986=_0x30ae5b[_0x5582c3(0x456)]())==null?void 0x0:_0x281986[_0x5582c3(0x3b0)])!=null?_0x4220a7:_0x5582c3(0x30d),_0x3d3f56=(_0x489283=(_0x4ed84b=_0x30ae5b[_0x5582c3(0x456)]())==null?void 0x0:_0x4ed84b[_0x5582c3(0x21c)])!=null?_0x489283:_0x5582c3(0x30d);return{'changeset':{'unitID':_0x5b7fbd,'type':m[_0x5582c3(0x36a)](_0x40e927['getUnitType'](_0x5b7fbd)),'baseRev':_0x373e60[_0x5582c3(0x2ab)](_0x5b7fbd),'revision':0x0,'userID':_0x549d09,'memberID':_0x3d3f56,'mutations':_0x1d6c40},'pendingMutations':_0x5cc2cd[_0x5582c3(0x3a6)](_0x1d6c40[_0x5582c3(0x23c)])};}function On(_0x57ec8c,_0x73aa61,_0x439c56,_0x435fcb,_0x5ab009){var _0x253ed6=_0x2d7ad2,_0x18e117,_0xc45420,_0x587ca9,_0x4ac054;const _0x45ba45=[_0x57ec8c[_0x253ed6(0x383)]((_0x18e340,_0x1231a4)=>{var _0xf173f4=_0x253ed6,_0x258e6e;const {id:_0x187bb1}=_0x18e340,{id:_0x9bf96d,type:_0x1f5eae}=_0x1231a4,_0x439e14=(_0x258e6e=_0x18e340[_0xf173f4(0x3b6)])!=null?_0x258e6e:{'actions':null},_0x40e1c6=_0x1231a4[_0xf173f4(0x3b6)];if(_0x187bb1&&_0x187bb1!==_0x9bf96d)throw new Error(_0xf173f4(0x49a)+_0x187bb1+_0xf173f4(0x3f8)+_0x9bf96d+'.');return{..._0x18e340,'id':_0x9bf96d,'type':_0x1f5eae,'params':{'unitId':_0x40e1c6['unitId'],'textRanges':_0x40e1c6[_0xf173f4(0x3f4)],'actions':a[_0xf173f4(0x354)]['compose'](_0x439e14[_0xf173f4(0x488)],_0x40e1c6['actions'])}};},{})],_0x5de114=(_0xc45420=(_0x18e117=_0x5ab009['getCurrentUser']())==null?void 0x0:_0x18e117[_0x253ed6(0x3b0)])!=null?_0xc45420:_0x253ed6(0x30d),_0x49c19f=(_0x4ac054=(_0x587ca9=_0x5ab009[_0x253ed6(0x456)]())==null?void 0x0:_0x587ca9[_0x253ed6(0x21c)])!=null?_0x4ac054:_0x253ed6(0x30d);return{'changeset':{'unitID':_0x73aa61,'type':m[_0x253ed6(0x36a)](_0x439c56[_0x253ed6(0x18b)](_0x73aa61)),'baseRev':_0x435fcb[_0x253ed6(0x2ab)](_0x73aa61),'revision':0x0,'userID':_0x5de114,'memberID':_0x49c19f,'mutations':_0x45ba45},'pendingMutations':[]};}function Nt(_0x26d8c3,_0x165528){var _0x2891a8=_0x2d7ad2;const _0x90a723=new H[(_0x2891a8(0x2ca))](0x1);return setTimeout(()=>_0x90a723[_0x2891a8(0x224)](_0x165528),_0x26d8c3),_0x90a723[_0x2891a8(0x1cc)]()[_0x2891a8(0x362)](H['take'](0x1));}const yn={'id':J[_0x2d7ad2(0x173)]['id'],'type':a[_0x2d7ad2(0x16e)][_0x2d7ad2(0x466)],'params':{}};var Nn=Object[_0x2d7ad2(0x325)],Un=Object[_0x2d7ad2(0x20f)],le=(_0x4232eb,_0x37bf52,_0x36a8aa,_0x4e392d)=>{var _0x57a834=_0x2d7ad2;for(var _0x88e301=_0x4e392d>0x1?void 0x0:_0x4e392d?Un(_0x37bf52,_0x36a8aa):_0x37bf52,_0x4414ac=_0x4232eb[_0x57a834(0x23c)]-0x1,_0x2cc66a;_0x4414ac>=0x0;_0x4414ac--)(_0x2cc66a=_0x4232eb[_0x4414ac])&&(_0x88e301=(_0x4e392d?_0x2cc66a(_0x37bf52,_0x36a8aa,_0x88e301):_0x2cc66a(_0x88e301))||_0x88e301);return _0x4e392d&&_0x88e301&&Nn(_0x37bf52,_0x36a8aa,_0x88e301),_0x88e301;},A=(_0x1a3dbc,_0x104c0e)=>(_0x171d2c,_0x20e9f3)=>_0x104c0e(_0x171d2c,_0x20e9f3,_0x1a3dbc),We=(_0x22e16c=>(_0x22e16c['NOT_COLLAB']='not_collab',_0x22e16c[_0x2d7ad2(0x49e)]='synced',_0x22e16c[_0x2d7ad2(0x3e2)]=_0x2d7ad2(0x37d),_0x22e16c[_0x2d7ad2(0x3c4)]=_0x2d7ad2(0x182),_0x22e16c[_0x2d7ad2(0x237)]=_0x2d7ad2(0x365),_0x22e16c[_0x2d7ad2(0x353)]=_0x2d7ad2(0x438),_0x22e16c[_0x2d7ad2(0x347)]='conflict',_0x22e16c[_0x2d7ad2(0x209)]=_0x2d7ad2(0x30c),_0x22e16c))(We||{});const Ut=0xea60;class _e{constructor(_0x281942,_0x385202,_0x2be309,_0x44ba59,_0x2db742,_0x42fc3d,_0x4c373b,_0x1e30a8,_0x274aa6){var _0x5816d6=_0x2d7ad2;D(this,_0x5816d6(0x44d),null),D(this,_0x5816d6(0x16d),[]),(this['unitID']=_0x281942,this[_0x5816d6(0x27b)]=_0x385202,this[_0x5816d6(0x477)]=_0x2db742,this[_0x5816d6(0x46b)]=_0x42fc3d,this['_undoRedoService']=_0x4c373b,this[_0x5816d6(0x248)]=_0x1e30a8,this[_0x5816d6(0x2d4)]=_0x274aa6,this[_0x5816d6(0x44d)]=_0x2be309,this[_0x5816d6(0x16d)]=_0x44ba59);}[_0x2d7ad2(0x1e9)](_0x426181){var _0x581a61=_0x2d7ad2;const _0x43231a=this[_0x581a61(0x248)][_0x581a61(0x2ab)](this[_0x581a61(0x33d)]);return _0x426181[_0x581a61(0x150)]>_0x43231a+0x1?(this[_0x581a61(0x477)][_0x581a61(0x4be)]({'from':_0x43231a,'to':_0x426181[_0x581a61(0x150)]-0x1}),!0x0):!0x1;}[_0x2d7ad2(0x1a5)](_0x3f0d3b){var _0x2e0b2b=_0x2d7ad2;this[_0x2e0b2b(0x3ad)]['transformUndoRedo'](this[_0x2e0b2b(0x33d)],_0x3f0d3b);}[_0x2d7ad2(0x4bb)](_0x268a39){var _0x2dea95=_0x2d7ad2,_0x3c962e,_0x119f92;(_0x119f92=(_0x3c962e=this[_0x2dea95(0x477)])[_0x2dea95(0x1ec)])==null||_0x119f92['call'](_0x3c962e,_0x268a39);}[_0x2d7ad2(0x481)](_0x3a5058){var _0x205815=_0x2d7ad2,_0x32c385,_0x4858f9;return(_0x4858f9=(_0x32c385=this['_handler'])[_0x205815(0x358)])==null?void 0x0:_0x4858f9[_0x205815(0x179)](_0x32c385,_0x3a5058);}['_transformStateCache'](_0x42fc63){var _0x3a1d0f=_0x2d7ad2,_0x4f3751,_0x5d50b7;return(_0x5d50b7=(_0x4f3751=this[_0x3a1d0f(0x477)])[_0x3a1d0f(0x22d)])==null?void 0x0:_0x5d50b7[_0x3a1d0f(0x179)](_0x4f3751,_0x42fc63);}[_0x2d7ad2(0x2bf)](_0x1df4f4){var _0x1ddb12=_0x2d7ad2,_0x575567,_0x8c38be,_0x1a0bd8;return(_0x1a0bd8=(_0x8c38be=(_0x575567=this[_0x1ddb12(0x477)])[_0x1ddb12(0x2af)])==null?void 0x0:_0x8c38be[_0x1ddb12(0x179)](_0x575567,_0x1df4f4))!=null?_0x1a0bd8:_0x1df4f4;}[_0x2d7ad2(0x465)](_0x4fd4e8){var _0x3c2428=_0x2d7ad2,_0x2b5543,_0x51cccd,_0x102a1e;return(_0x102a1e=(_0x51cccd=(_0x2b5543=this[_0x3c2428(0x477)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x51cccd[_0x3c2428(0x179)](_0x2b5543,_0x4fd4e8))!=null?_0x102a1e:_0x4fd4e8;}['_syncEditingCollabCursor'](_0x2f0022){var _0x54c59a=_0x2d7ad2,_0x1353c8,_0xc60b6a;if(this['type']===Z[_0x54c59a(0x21a)]){const {unitID:_0x59fe52,mutations:_0x2afce8,memberID:_0x453665}=_0x2f0022,_0x2265f8=_0x2afce8[0x0]['params'][_0x54c59a(0x3f4)];Array['isArray'](_0x2265f8)&&_0x2265f8[_0x54c59a(0x23c)]>0x0&&((_0xc60b6a=(_0x1353c8=this[_0x54c59a(0x477)])[_0x54c59a(0x1fb)])==null||_0xc60b6a[_0x54c59a(0x179)](_0x1353c8,{'unitID':_0x59fe52,'memberID':_0x453665,'textRanges':_0x2265f8}));}}[_0x2d7ad2(0x263)](){var _0xcb4dda=_0x2d7ad2,_0x3c4a2b;(_0x3c4a2b=this[_0xcb4dda(0x2d4)])==null||_0x3c4a2b[_0xcb4dda(0x1f8)](this[_0xcb4dda(0x33d)],this[_0xcb4dda(0x27b)],this[_0xcb4dda(0x44d)],this[_0xcb4dda(0x16d)]);}['_getCurrentRevision'](){var _0x485c94=_0x2d7ad2;return this[_0x485c94(0x248)][_0x485c94(0x2ab)](this[_0x485c94(0x33d)]);}[_0x2d7ad2(0x1ef)](){var _0x161e40=_0x2d7ad2;this['_revisionService'][_0x161e40(0x2c2)](this['unitID']);}[_0x2d7ad2(0x19a)](_0x1fb027){var _0x28765b=_0x2d7ad2,_0xcfada2;let _0xf4a2da=this['_transformRemoteChangesetByIMECache'](_0x1fb027);_0xf4a2da=this[_0x28765b(0x465)](_0xf4a2da);const _0x2d0f77=a['sequenceExecute'](_0xf4a2da[_0x28765b(0x312)],this[_0x28765b(0x46b)],{'fromCollab':!0x0});if(!_0x2d0f77[_0x28765b(0x42e)])throw _0x2d0f77[_0x28765b(0x450)]instanceof Error?_0x2d0f77[_0x28765b(0x450)]:new Error((_0xcfada2=_0x2d0f77['error'])!=null?_0xcfada2:_0x28765b(0x2ac));this[_0x28765b(0x481)](_0xf4a2da),this[_0x28765b(0x44f)](_0xf4a2da),this[_0x28765b(0x1a5)](_0x1fb027),this[_0x28765b(0x4bb)](_0xf4a2da),this[_0x28765b(0x2b9)](_0xf4a2da),this[_0x28765b(0x1ef)]();}}exports['SyncedState']=class extends _e{constructor(_0x1ff29e,_0x40ea66,_0x3450dc,_0x542574,_0x3e3491,_0x3cd813,_0x5e7085,_0x3f7f6f,_0x3a98a2,_0x3776df){var _0x5e736d=_0x2d7ad2;super(_0x1ff29e,_0x40ea66,null,[],_0x3450dc,_0x5e7085,_0x3cd813,_0x542574,_0x3776df),D(this,'status',_0x5e736d(0x215)),(this[_0x5e736d(0x153)]=_0x3e3491,this[_0x5e736d(0x382)]=_0x3f7f6f,this['_transformService']=_0x3a98a2,this['localCacheService']=_0x3776df);}[_0x2d7ad2(0x278)](_0xf1b73e){var _0x556f44=_0x2d7ad2;const _0x4b05fb=this[_0x556f44(0x153)][_0x556f44(0x387)](exports[_0x556f44(0x16c)],this['unitID'],this[_0x556f44(0x27b)],[_0xf1b73e],this['_handler']);return _0x4b05fb[_0x556f44(0x346)](),_0x4b05fb[_0x556f44(0x263)](),_0x4b05fb;}[_0x2d7ad2(0x41d)](_0x3c988e){var _0x3bd1af=_0x2d7ad2;if(this[_0x3bd1af(0x1e9)](_0x3c988e))return this[_0x3bd1af(0x153)][_0x3bd1af(0x387)](exports[_0x3bd1af(0x388)],this[_0x3bd1af(0x33d)],this[_0x3bd1af(0x27b)],null,[],null,[_0x3c988e],this[_0x3bd1af(0x477)]);try{const _0x1a2d84=this['_transformService'][_0x3bd1af(0x370)](_0x3c988e,[yn]);if(m['isTransformMutationsWithChangesetSuccess'](_0x1a2d84)){const {c1Prime:_0x5f0505}=_0x1a2d84;return this['_executeRemoteChangeset'](_0x5f0505),this;}throw _0x1a2d84['error'];}catch(_0xd0902b){return this[_0x3bd1af(0x382)]['error'](_0xd0902b),this['_onConflict'](!0x1);}}['_onConflict'](_0x5e94c7){var _0x50c3ad=_0x2d7ad2;return this[_0x50c3ad(0x153)][_0x50c3ad(0x387)](exports[_0x50c3ad(0x24e)],this['unitID'],this[_0x50c3ad(0x27b)],null,[],this[_0x50c3ad(0x477)],_0x5e94c7);}[_0x2d7ad2(0x256)](){var _0x4e0225=_0x2d7ad2;throw new Error(_0x4e0225(0x2c8));}[_0x2d7ad2(0x1c6)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x2d7ad2(0x1fe)](){return this;}[_0x2d7ad2(0x23f)](){var _0x2f8fd4=_0x2d7ad2;return this['_injector'][_0x2f8fd4(0x387)](exports[_0x2f8fd4(0x400)],this[_0x2f8fd4(0x33d)],this[_0x2f8fd4(0x27b)],null,[],this['_handler']);}[_0x2d7ad2(0x33e)](){return this;}[_0x2d7ad2(0x449)](){var _0x4961f6=_0x2d7ad2;throw new Error(_0x4961f6(0x212));}[_0x2d7ad2(0x3dc)](){var _0x16f81a=_0x2d7ad2;const _0x16a524=this['_revisionService'][_0x16f81a(0x2ab)](this['unitID']);return this[_0x16f81a(0x477)][_0x16f81a(0x4be)]({'from':_0x16a524,'to':0x0}),this[_0x16f81a(0x153)][_0x16f81a(0x387)](exports[_0x16f81a(0x388)],this[_0x16f81a(0x33d)],this[_0x16f81a(0x27b)],null,[],null,[],this[_0x16f81a(0x477)]);}},exports[_0x2d7ad2(0x328)]=le([A(0x3,a[_0x2d7ad2(0x4c3)](m[_0x2d7ad2(0x33b)])),A(0x4,a['Inject'](a[_0x2d7ad2(0x2d8)])),A(0x5,a[_0x2d7ad2(0x35d)]),A(0x6,a['ICommandService']),A(0x7,a[_0x2d7ad2(0x3f3)]),A(0x8,m[_0x2d7ad2(0x402)]),A(0x9,a[_0x2d7ad2(0x454)](z))],exports[_0x2d7ad2(0x328)]),exports[_0x2d7ad2(0x16c)]=class extends _e{constructor(_0x404a6a,_0x57c630,_0x163990,_0x52088e,_0x21d7ad,_0x2fb0a1,_0x45bbc8,_0xdd6bd8,_0x4fde35,_0x2a8643,_0x1c7f82,_0x4cab67,_0x4825c9,_0x1fc68b){var _0x29b48f=_0x2d7ad2;super(_0x404a6a,_0x57c630,null,_0x163990,_0x52088e,_0x4fde35,_0x4825c9,_0x2fb0a1,_0x1fc68b),D(this,_0x29b48f(0x3d3),_0x29b48f(0x37d)),D(this,_0x29b48f(0x2ff),null),D(this,_0x29b48f(0x1aa),null),(this[_0x29b48f(0x153)]=_0x21d7ad,this[_0x29b48f(0x3ff)]=_0x45bbc8,this['_logService']=_0xdd6bd8,this['_configService']=_0x2a8643,this[_0x29b48f(0x3d7)]=_0x1c7f82,this[_0x29b48f(0x2ee)]=_0x4cab67);}[_0x2d7ad2(0x278)](_0x4f9d75){var _0x234c2c=_0x2d7ad2;return this['_pendingMutations'][_0x234c2c(0x40d)](_0x4f9d75),this[_0x234c2c(0x263)](),this;}[_0x2d7ad2(0x41d)](_0x5dbd83){var _0x4625e3=_0x2d7ad2;if(this[_0x4625e3(0x1e9)](_0x5dbd83))return this[_0x4625e3(0x29f)](),this[_0x4625e3(0x153)][_0x4625e3(0x387)](exports['FetchingMissState'],this[_0x4625e3(0x33d)],this[_0x4625e3(0x27b)],null,this[_0x4625e3(0x16d)],null,[_0x5dbd83],this[_0x4625e3(0x477)]);try{const _0x7c2b48=this[_0x4625e3(0x3d7)][_0x4625e3(0x370)](_0x5dbd83,this[_0x4625e3(0x16d)]);if(m['isTransformMutationsWithChangesetSuccess'](_0x7c2b48)){const {c1Prime:_0x567343,m2Prime:_0x2b8c55}=_0x7c2b48;this[_0x4625e3(0x19a)](_0x567343);const _0x448a85=this[_0x4625e3(0x153)][_0x4625e3(0x387)](exports[_0x4625e3(0x16c)],this[_0x4625e3(0x33d)],this['type'],_0x2b8c55,this['_handler']);this[_0x4625e3(0x29f)]();const _0x530cee=new Date()[_0x4625e3(0x384)](),_0xa234ab=this[_0x4625e3(0x2ff)]?Math[_0x4625e3(0x252)](this[_0x4625e3(0x2ff)]-_0x530cee,0x0):this['_getSendChangesetTimeout']();return _0x448a85[_0x4625e3(0x346)](_0xa234ab),_0x448a85;}throw _0x7c2b48[_0x4625e3(0x450)];}catch(_0x25a37d){return this[_0x4625e3(0x382)]['error'](_0x25a37d),this[_0x4625e3(0x2f7)](!0x1);}}[_0x2d7ad2(0x256)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x2d7ad2(0x1fe)](){return this;}[_0x2d7ad2(0x23f)](){var _0x5574b7=_0x2d7ad2;return this[_0x5574b7(0x29f)](),this[_0x5574b7(0x153)][_0x5574b7(0x387)](exports['OfflineState'],this['unitID'],this['type'],null,this[_0x5574b7(0x16d)],this['_handler']);}[_0x2d7ad2(0x33e)](){return this;}['_schedule'](_0x3295dd){var _0x5037e9=_0x2d7ad2;const _0x2ee1ed=_0x3295dd!=null?_0x3295dd:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x5037e9(0x384)]()+_0x2ee1ed,this['_sendingTimer']=setTimeout(()=>{var _0x4e7175=_0x5037e9;this['_clearScheduledTask']();let _0x1014b3=null;switch(this[_0x4e7175(0x27b)]){case Z[_0x4e7175(0x341)]:{_0x1014b3=Je(this[_0x4e7175(0x16d)],this[_0x4e7175(0x33d)],this['_univerInstanceService'],this[_0x4e7175(0x248)],this[_0x4e7175(0x3ff)]);break;}case Z[_0x4e7175(0x21a)]:{this['_pendingMutations']['every'](_0x1c7ca9=>_0x1c7ca9['id']===dt['RichTextEditingMutation']['id'])?_0x1014b3=On(this[_0x4e7175(0x16d)],this[_0x4e7175(0x33d)],this[_0x4e7175(0x2ee)],this[_0x4e7175(0x248)],this[_0x4e7175(0x3ff)]):_0x1014b3=Je(this['_pendingMutations'],this[_0x4e7175(0x33d)],this['_univerInstanceService'],this['_revisionService'],this[_0x4e7175(0x3ff)]);break;}default:throw new Error(_0x4e7175(0x426)+this[_0x4e7175(0x27b)]+_0x4e7175(0x3fe));}const {changeset:_0x225e9d,pendingMutations:_0x3f9ad8}=_0x1014b3;this[_0x4e7175(0x477)][_0x4e7175(0x3c1)](_0x225e9d);const _0x46df33=_0x3f9ad8[_0x4e7175(0x23c)]?this[_0x4e7175(0x153)][_0x4e7175(0x387)](exports[_0x4e7175(0x223)],this[_0x4e7175(0x33d)],this[_0x4e7175(0x27b)],_0x225e9d,_0x3f9ad8,this[_0x4e7175(0x477)],void 0x0):this['_injector']['createInstance'](exports[_0x4e7175(0x205)],this[_0x4e7175(0x33d)],this[_0x4e7175(0x27b)],_0x225e9d,this['_handler']);_0x46df33[_0x4e7175(0x263)](),this[_0x4e7175(0x477)]['onStateChange'](this,_0x46df33);},_0x2ee1ed);}['_getSendChangesetTimeout'](){var _0x57af3d=_0x2d7ad2,_0x16bbc3;const _0x144cfe=this[_0x57af3d(0x152)]['getConfig'](Y);return(_0x16bbc3=_0x144cfe==null?void 0x0:_0x144cfe[_0x57af3d(0x17e)])!=null?_0x16bbc3:Bt;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2d7ad2(0x29f)](){var _0x1efd27=_0x2d7ad2;this[_0x1efd27(0x1aa)]!=null&&(clearTimeout(this[_0x1efd27(0x1aa)]),this[_0x1efd27(0x1aa)]=null);}[_0x2d7ad2(0x2f7)](_0x79f7f){var _0x1774fb=_0x2d7ad2;return this[_0x1774fb(0x29f)](),this['_injector'][_0x1774fb(0x387)](exports[_0x1774fb(0x24e)],this[_0x1774fb(0x33d)],this['type'],null,this[_0x1774fb(0x16d)],this['_handler'],_0x79f7f);}},exports[_0x2d7ad2(0x16c)]=le([A(0x4,a[_0x2d7ad2(0x4c3)](a[_0x2d7ad2(0x2d8)])),A(0x5,a['Inject'](m[_0x2d7ad2(0x33b)])),A(0x6,a[_0x2d7ad2(0x4c3)](exports[_0x2d7ad2(0x317)])),A(0x7,a['ILogService']),A(0x8,a[_0x2d7ad2(0x496)]),A(0x9,a[_0x2d7ad2(0x160)]),A(0xa,m['ITransformService']),A(0xb,a[_0x2d7ad2(0x2b0)]),A(0xc,a[_0x2d7ad2(0x35d)]),A(0xd,a['Optional'](z))],exports[_0x2d7ad2(0x16c)]),exports[_0x2d7ad2(0x205)]=class extends _e{constructor(_0x286a27,_0x5720c4,_0x271391,_0x2d2a09,_0x5dd80d,_0x583826,_0x11dbf5,_0x2e13e7,_0x45736e,_0x388ddc,_0x5d7d49){var _0xca6da2=_0x2d7ad2;super(_0x286a27,_0x5720c4,_0x271391,[],_0x2d2a09,_0x11dbf5,_0x388ddc,_0x583826,_0x5d7d49),D(this,_0xca6da2(0x3d3),'awaiting'),D(this,'_resendTimeout',0x0),D(this,_0xca6da2(0x2fd)),D(this,_0xca6da2(0x2e2)),(this['_injector']=_0x5dd80d,this['_logService']=_0x2e13e7,this[_0xca6da2(0x3d7)]=_0x45736e);}['appendMutation'](_0x2c8d35){var _0x2361bb=_0x2d7ad2;this[_0x2361bb(0x29f)]();const _0x35d3bd=this[_0x2361bb(0x153)][_0x2361bb(0x387)](exports[_0x2361bb(0x223)],this['unitID'],this[_0x2361bb(0x27b)],this[_0x2361bb(0x44d)],[_0x2c8d35],this['_handler'],this[_0x2361bb(0x2fd)]);return _0x35d3bd['_updateLocalCache'](),_0x35d3bd;}[_0x2d7ad2(0x41d)](_0x557ac3){var _0x2dd7d5=_0x2d7ad2;if(this[_0x2dd7d5(0x1e9)](_0x557ac3))return this['_clearScheduledTask'](),this[_0x2dd7d5(0x153)][_0x2dd7d5(0x387)](exports[_0x2dd7d5(0x388)],this[_0x2dd7d5(0x33d)],this['type'],this[_0x2dd7d5(0x44d)],[],null,[_0x557ac3],this[_0x2dd7d5(0x477)]);try{const _0x4aecdc=this[_0x2dd7d5(0x3d7)]['transformChangesets']([_0x557ac3],[this[_0x2dd7d5(0x44d)]],!0x1);if(m[_0x2dd7d5(0x2a9)](_0x4aecdc)){const {c1Prime:_0x47a4d6,c2Prime:_0x55e2cd}=_0x4aecdc;this['_executeRemoteChangeset'](_0x47a4d6[0x0]),_0x55e2cd[0x0][_0x2dd7d5(0x322)]=this[_0x2dd7d5(0x3eb)](),this['_clearScheduledTask']();const _0x1e8df8=this['_injector'][_0x2dd7d5(0x387)](exports[_0x2dd7d5(0x205)],this[_0x2dd7d5(0x33d)],this[_0x2dd7d5(0x27b)],_0x55e2cd[0x0],this[_0x2dd7d5(0x477)]);return _0x1e8df8[_0x2dd7d5(0x263)](),_0x1e8df8;}return this['_onConflict'](!0x1);}catch(_0x4fce13){return this['_logService'][_0x2dd7d5(0x450)](_0x4fce13),this[_0x2dd7d5(0x2f7)](!0x1);}}[_0x2d7ad2(0x256)](_0xba087a){var _0x33345a=_0x2d7ad2;this[_0x33345a(0x29f)]();const _0x9a3676=this[_0x33345a(0x248)][_0x33345a(0x2ab)](this['unitID']);if(_0xba087a[_0x33345a(0x150)]<_0x9a3676-0x1)return this;if(this['_checkMissing'](_0xba087a))return this[_0x33345a(0x153)][_0x33345a(0x387)](exports[_0x33345a(0x388)],this[_0x33345a(0x33d)],this[_0x33345a(0x27b)],null,[],this[_0x33345a(0x44d)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x251178=this[_0x33345a(0x153)][_0x33345a(0x387)](exports[_0x33345a(0x328)],this[_0x33345a(0x33d)],this[_0x33345a(0x27b)],this[_0x33345a(0x477)]);return _0x251178[_0x33345a(0x263)](),_0x251178;}[_0x2d7ad2(0x1c6)](_0x3a6fa2){var _0x5a63e4=_0x2d7ad2;return this['_onConflict'](!!(_0x3a6fa2!=null&&_0x3a6fa2[_0x5a63e4(0x21d)]));}['onRemoteRetry'](_0x158673){var _0x40b6a9=_0x2d7ad2;return this['_resendTimeout']>Ut?this[_0x40b6a9(0x23f)]():(this[_0x40b6a9(0x2fd)]=Nt(this['_resendTimeout'],{'timeout':this[_0x40b6a9(0x2d2)],'reqId':_0x158673[_0x40b6a9(0x4b2)]}),this[_0x40b6a9(0x2e2)]=this[_0x40b6a9(0x2fd)][_0x40b6a9(0x35f)](({reqId:_0x3f880b,timeout:_0x415d5e})=>{this['_resendWithTimeout'](_0x3f880b,_0x415d5e);}),this);}[_0x2d7ad2(0x23f)](){var _0x313f10=_0x2d7ad2;return this[_0x313f10(0x29f)](),this[_0x313f10(0x153)][_0x313f10(0x387)](exports[_0x313f10(0x400)],this[_0x313f10(0x33d)],this[_0x313f10(0x27b)],this[_0x313f10(0x44d)],[],this['_handler']);}[_0x2d7ad2(0x33e)](){return this;}[_0x2d7ad2(0x449)](){var _0xce01bd=_0x2d7ad2;this[_0xce01bd(0x477)][_0xce01bd(0x3c1)](this[_0xce01bd(0x44d)]);}[_0x2d7ad2(0x2f7)](_0x4e02e7){var _0x1a1b4f=_0x2d7ad2;return this['_clearScheduledTask'](),this[_0x1a1b4f(0x153)][_0x1a1b4f(0x387)](exports[_0x1a1b4f(0x24e)],this[_0x1a1b4f(0x33d)],this[_0x1a1b4f(0x27b)],this[_0x1a1b4f(0x44d)],[],this[_0x1a1b4f(0x477)],_0x4e02e7);}[_0x2d7ad2(0x229)](_0x42e754,_0x30553d){var _0x1f3d7b=_0x2d7ad2,_0x65330f;_0x42e754===((_0x65330f=this[_0x1f3d7b(0x44d)])==null?void 0x0:_0x65330f[_0x1f3d7b(0x4b2)])&&(this[_0x1f3d7b(0x449)](),this[_0x1f3d7b(0x2d2)]=_0x30553d===0x0?0x3e8:_0x30553d*0x2);}[_0x2d7ad2(0x29f)](){var _0x387972=_0x2d7ad2,_0x3a5e6d;(_0x3a5e6d=this[_0x387972(0x2e2)])==null||_0x3a5e6d[_0x387972(0x35b)](),this['_resendTimeout']=0x0;}},exports['AwaitingState']=le([A(0x4,a['Inject'](a[_0x2d7ad2(0x2d8)])),A(0x5,a[_0x2d7ad2(0x4c3)](m['RevisionService'])),A(0x6,a['ICommandService']),A(0x7,a['ILogService']),A(0x8,m[_0x2d7ad2(0x402)]),A(0x9,a[_0x2d7ad2(0x35d)]),A(0xa,a['Optional'](z))],exports[_0x2d7ad2(0x205)]),exports[_0x2d7ad2(0x223)]=class extends _e{constructor(_0x59c857,_0x3417e3,_0x495abd,_0x34ca56,_0x26e855,_0x8a2c3a,_0x132d7f,_0x1df0dd,_0xeb3249,_0x15e4a4,_0x3dd222,_0x4728e0,_0x46bc4e){var _0x2cb2a8=_0x2d7ad2;super(_0x59c857,_0x3417e3,_0x495abd,_0x34ca56,_0x26e855,_0xeb3249,_0x4728e0,_0x1df0dd,_0x46bc4e),D(this,'status',_0x2cb2a8(0x365)),D(this,'_resendTimeout',0x0),D(this,'_resendTimer'),D(this,_0x2cb2a8(0x2e2)),(this[_0x2cb2a8(0x153)]=_0x132d7f,this[_0x2cb2a8(0x382)]=_0x15e4a4,this['_transformService']=_0x3dd222,this[_0x2cb2a8(0x329)]=_0x46bc4e,_0x8a2c3a&&(this[_0x2cb2a8(0x2fd)]=_0x8a2c3a,this[_0x2cb2a8(0x2e2)]=this[_0x2cb2a8(0x2fd)][_0x2cb2a8(0x35f)](({reqId:_0xc410dc,timeout:_0x11ee36})=>{var _0x2c6866=_0x2cb2a8;this[_0x2c6866(0x229)](_0xc410dc,_0x11ee36);})));}[_0x2d7ad2(0x278)](_0x418cad){var _0xdf8cf3=_0x2d7ad2;return this['_pendingMutations'][_0xdf8cf3(0x40d)](_0x418cad),this;}[_0x2d7ad2(0x41d)](_0x5ee53b){var _0x48822c=_0x2d7ad2;if(this[_0x48822c(0x1e9)](_0x5ee53b))return this['_clearScheduledTask'](),this[_0x48822c(0x153)][_0x48822c(0x387)](exports[_0x48822c(0x388)],this[_0x48822c(0x33d)],this[_0x48822c(0x27b)],this[_0x48822c(0x44d)],this[_0x48822c(0x16d)],null,[_0x5ee53b],this[_0x48822c(0x477)]);try{const _0x3ecbc3=this[_0x48822c(0x3d7)][_0x48822c(0x266)]([_0x5ee53b],[this['_awaitingChangeset']],!0x1);if(m['isTransformChangesetsSuccess'](_0x3ecbc3)){const {c1Prime:_0x96bc1c,c2Prime:_0x36884c}=_0x3ecbc3,_0x16e8fe=this[_0x48822c(0x3d7)][_0x48822c(0x370)](_0x96bc1c[0x0],this['_pendingMutations']);if(m[_0x48822c(0x2d5)](_0x16e8fe)){const {c1Prime:_0x412938,m2Prime:_0x4183c3}=_0x16e8fe;return this['_executeRemoteChangeset'](_0x412938),_0x36884c[0x0][_0x48822c(0x322)]=this[_0x48822c(0x3eb)](),this[_0x48822c(0x29f)](),this[_0x48822c(0x153)][_0x48822c(0x387)](exports[_0x48822c(0x223)],this[_0x48822c(0x33d)],this[_0x48822c(0x27b)],_0x36884c[0x0],_0x4183c3,this['_handler'],void 0x0);}throw _0x16e8fe[_0x48822c(0x450)];}throw _0x3ecbc3[_0x48822c(0x450)];}catch(_0x37545d){return this[_0x48822c(0x382)][_0x48822c(0x450)](_0x37545d),this[_0x48822c(0x2f7)](!0x1);}}[_0x2d7ad2(0x256)](_0x4e6add){var _0x23ebb8=_0x2d7ad2;if(this[_0x23ebb8(0x29f)](),this[_0x23ebb8(0x1e9)](_0x4e6add))return this[_0x23ebb8(0x153)][_0x23ebb8(0x387)](exports[_0x23ebb8(0x388)],this['unitID'],this[_0x23ebb8(0x27b)],null,this[_0x23ebb8(0x16d)],this[_0x23ebb8(0x44d)],[],this[_0x23ebb8(0x477)]);this['_incrementRevisionNumber']();const _0x2330e2=this['_injector'][_0x23ebb8(0x387)](exports[_0x23ebb8(0x16c)],this[_0x23ebb8(0x33d)],this[_0x23ebb8(0x27b)],this[_0x23ebb8(0x16d)],this['_handler']);return _0x2330e2['_schedule'](),_0x2330e2[_0x23ebb8(0x263)](),_0x2330e2;}[_0x2d7ad2(0x1c6)](_0x4f4ada){var _0x52064b=_0x2d7ad2;return this['_onConflict'](!!(_0x4f4ada!=null&&_0x4f4ada[_0x52064b(0x21d)]));}[_0x2d7ad2(0x1fe)](_0x41852c){var _0x846155=_0x2d7ad2;return this[_0x846155(0x2d2)]>Ut?this['toggleOffline']():(this[_0x846155(0x2fd)]=Nt(this[_0x846155(0x2d2)],{'timeout':this[_0x846155(0x2d2)],'reqId':_0x41852c[_0x846155(0x4b2)]}),this['_sender']=this[_0x846155(0x2fd)][_0x846155(0x35f)](({reqId:_0x64c728,timeout:_0x2875ba})=>{this['_resendWithTimeout'](_0x64c728,_0x2875ba);}),this);}[_0x2d7ad2(0x23f)](){var _0x4fcf68=_0x2d7ad2;return this[_0x4fcf68(0x29f)](),this[_0x4fcf68(0x153)][_0x4fcf68(0x387)](exports[_0x4fcf68(0x400)],this[_0x4fcf68(0x33d)],this[_0x4fcf68(0x27b)],this[_0x4fcf68(0x44d)],this[_0x4fcf68(0x16d)],this[_0x4fcf68(0x477)]);}[_0x2d7ad2(0x33e)](){return this;}[_0x2d7ad2(0x449)](){var _0x15342f=_0x2d7ad2;this[_0x15342f(0x477)]['onSendChangeset'](this[_0x15342f(0x44d)]);}[_0x2d7ad2(0x2f7)](_0x2000a6){var _0xc53a8=_0x2d7ad2;return this['_clearScheduledTask'](),this[_0xc53a8(0x153)][_0xc53a8(0x387)](exports[_0xc53a8(0x24e)],this[_0xc53a8(0x33d)],this['type'],null,this[_0xc53a8(0x16d)],this['_handler'],_0x2000a6);}[_0x2d7ad2(0x229)](_0x1b0bca,_0x3ac037){var _0x184995=_0x2d7ad2,_0x2598c6;_0x1b0bca===((_0x2598c6=this[_0x184995(0x44d)])==null?void 0x0:_0x2598c6['reqId'])&&(this['resend'](),this['_resendTimeout']=_0x3ac037===0x0?0x3e8:_0x3ac037*0x2);}[_0x2d7ad2(0x29f)](){var _0x17f596=_0x2d7ad2,_0x25cd8e;(_0x25cd8e=this[_0x17f596(0x2e2)])==null||_0x25cd8e[_0x17f596(0x35b)](),this[_0x17f596(0x2d2)]=0x0;}},exports[_0x2d7ad2(0x223)]=le([A(0x6,a[_0x2d7ad2(0x4c3)](a[_0x2d7ad2(0x2d8)])),A(0x7,a[_0x2d7ad2(0x4c3)](m[_0x2d7ad2(0x33b)])),A(0x8,a[_0x2d7ad2(0x496)]),A(0x9,a[_0x2d7ad2(0x3f3)]),A(0xa,m[_0x2d7ad2(0x402)]),A(0xb,a[_0x2d7ad2(0x35d)]),A(0xc,a[_0x2d7ad2(0x454)](z))],exports[_0x2d7ad2(0x223)]),exports[_0x2d7ad2(0x24e)]=class extends _e{constructor(_0x433285,_0x2f7849,_0x4fe6c5,_0x581ffa,_0x120d76,_0x93fb66=!0x1,_0x5b9333,_0x905d35,_0x105721,_0x5b642f,_0x3b70b8,_0x1d3000,_0x2a0d09){var _0x176b58=_0x2d7ad2;super(_0x433285,_0x2f7849,_0x4fe6c5,_0x581ffa,_0x120d76,_0x905d35,_0x105721,_0x5b642f,_0x2a0d09),D(this,_0x176b58(0x3d3),_0x176b58(0x406)),(this['_isPermissionRej']=_0x93fb66,this[_0x176b58(0x171)]=_0x5b9333,this['_localeService']=_0x3b70b8,this[_0x176b58(0x3e6)]=_0x1d3000,this[_0x176b58(0x329)]=_0x2a0d09,this[_0x176b58(0x2ae)](),this[_0x176b58(0x340)](),this['_disableEditing']());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x2d7ad2(0x256)](){return this;}[_0x2d7ad2(0x1c6)](){return this;}['onRemoteRetry'](){return this;}[_0x2d7ad2(0x23f)](){return this;}[_0x2d7ad2(0x33e)](){return this;}[_0x2d7ad2(0x449)](){var _0x34c29c=_0x2d7ad2;throw new Error(_0x34c29c(0x326));}['_clearLocalCache'](){var _0x81435=_0x2d7ad2,_0xd1bf71;(_0xd1bf71=this[_0x81435(0x2d4)])==null||_0xd1bf71[_0x81435(0x1f8)](this[_0x81435(0x33d)],this['type'],null,[]);}[_0x2d7ad2(0x2ae)](){var _0x551686=_0x2d7ad2;this['_isPermissionRej']?this[_0x551686(0x3e6)][_0x551686(0x155)]({'id':Q[_0x551686(0x1dd)]}):this[_0x551686(0x3e6)][_0x551686(0x155)]({'id':Q[_0x551686(0x347)]});}[_0x2d7ad2(0x1e6)](){var _0x3f624f=_0x2d7ad2;this[_0x3f624f(0x171)]['updatePermissionPoint'](new J['WorkbookEditablePermission'](this[_0x3f624f(0x33d)])['id'],!0x1);}},exports[_0x2d7ad2(0x24e)]=le([A(0x6,a['Inject'](a[_0x2d7ad2(0x2cf)])),A(0x7,a[_0x2d7ad2(0x496)]),A(0x8,a[_0x2d7ad2(0x35d)]),A(0x9,a[_0x2d7ad2(0x4c3)](m['RevisionService'])),A(0xa,a[_0x2d7ad2(0x4c3)](a[_0x2d7ad2(0x437)])),A(0xb,a[_0x2d7ad2(0x4c3)](te)),A(0xc,a['Optional'](z))],exports['ConflictState']),exports[_0x2d7ad2(0x400)]=class extends _e{constructor(_0x535bd7,_0x5ac14c,_0x475849,_0xc21048,_0x35bb04,_0x70f064,_0x5b2ea8,_0x53f664,_0x6f76d0,_0x5978dc){var _0x5ced6d=_0x2d7ad2;super(_0x535bd7,_0x5ac14c,_0x475849,_0xc21048,_0x35bb04,_0x53f664,_0x6f76d0,_0x5b2ea8,_0x5978dc),D(this,'status',_0x5ced6d(0x30c)),this['_injector']=_0x70f064;}['appendMutation'](_0x50e57f){var _0x175a8b=_0x2d7ad2;return this['_pendingMutations']['push'](_0x50e57f),this[_0x175a8b(0x263)](),this;}[_0x2d7ad2(0x41d)](_0x4592b5){var _0x2162b8=_0x2d7ad2;throw new Error(_0x2162b8(0x16f));}[_0x2d7ad2(0x256)](){var _0x5780db=_0x2d7ad2;throw new Error(_0x5780db(0x29c));}[_0x2d7ad2(0x1c6)](){var _0x571ae0=_0x2d7ad2;throw new Error(_0x571ae0(0x44a));}['onRemoteRetry'](){return this;}[_0x2d7ad2(0x23f)](){return this;}[_0x2d7ad2(0x33e)](){var _0x331a94=_0x2d7ad2;const {_injector:_0x159420,_pendingMutations:_0x3f7b44,_awaitingChangeset:_0x4e1260,unitID:_0x4a4157,_handler:_0x357224,type:_0x290f7c}=this,_0x25db7f=Pt(_0x159420,_0x4a4157,_0x290f7c,_0x4e1260,_0x3f7b44,_0x357224);return _0x25db7f instanceof exports[_0x331a94(0x16c)]?_0x25db7f[_0x331a94(0x346)]():(_0x25db7f instanceof exports[_0x331a94(0x223)]||_0x25db7f instanceof exports['AwaitingState'])&&_0x25db7f['resend'](),_0x25db7f;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0x2d7ad2(0x400)]=le([A(0x5,a[_0x2d7ad2(0x4c3)](a[_0x2d7ad2(0x2d8)])),A(0x6,a[_0x2d7ad2(0x4c3)](m[_0x2d7ad2(0x33b)])),A(0x7,a['ICommandService']),A(0x8,a[_0x2d7ad2(0x35d)]),A(0x9,a[_0x2d7ad2(0x454)](z))],exports[_0x2d7ad2(0x400)]),exports['FetchingMissState']=class extends _e{constructor(_0x369683,_0x42503d,_0x29d24d,_0x522a6b,_0xe1e21f,_0x2d2ceb,_0x1408ab,_0xc4d4b6,_0x5b6322,_0x8854b5,_0x133630,_0x57844f,_0x48410b,_0x1a0ac5){var _0x4e2a14=_0x2d7ad2;super(_0x369683,_0x42503d,_0x29d24d,_0x522a6b,_0x1408ab,_0x133630,_0x57844f,_0x5b6322,_0x1a0ac5),D(this,_0x4e2a14(0x3d3),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0xe1e21f,this['_queuedRemoteChangesets']=_0x2d2ceb,this[_0x4e2a14(0x153)]=_0xc4d4b6,this[_0x4e2a14(0x382)]=_0x8854b5,this[_0x4e2a14(0x3d7)]=_0x48410b,this[_0x4e2a14(0x329)]=_0x1a0ac5);}[_0x2d7ad2(0x1c1)](_0x3253da){var _0x486228=_0x2d7ad2;try{const _0x1b13f4=[..._0x3253da,...this[_0x486228(0x300)]],_0x23ffaf=[this[_0x486228(0x44d)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x5b012d=>!!_0x5b012d);let _0x569f0c,_0x25ee79;if(_0x23ffaf[_0x486228(0x23c)]){const _0xeea4a6=this[_0x486228(0x3d7)][_0x486228(0x266)](_0x1b13f4,_0x23ffaf,!0x1);if(!m[_0x486228(0x2a9)](_0xeea4a6))throw _0xeea4a6[_0x486228(0x450)];_0x569f0c=_0xeea4a6['c1Prime'],_0x25ee79=_0xeea4a6[_0x486228(0x2b6)];}else _0x569f0c=_0x1b13f4,_0x25ee79=[];let _0x4b0f08=this[_0x486228(0x16d)];_0x569f0c['forEach'](_0x1c3751=>{var _0x4dd724=_0x486228;let _0x5af79d;if(_0x4b0f08[_0x4dd724(0x23c)]){const _0x5d7d86=this[_0x4dd724(0x3d7)]['transformMutationsWithChangeset'](_0x1c3751,_0x4b0f08);if(!m[_0x4dd724(0x2d5)](_0x5d7d86))throw _0x5d7d86[_0x4dd724(0x450)];_0x5af79d=_0x5d7d86[_0x4dd724(0x4a6)],_0x4b0f08=_0x5d7d86['m2Prime'];}else _0x5af79d=_0x1c3751;this['_executeRemoteChangeset'](_0x5af79d);}),this[_0x486228(0x181)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x25ee79[_0x486228(0x23c)]&&(_0x25ee79[0x0]['baseRev']=this[_0x486228(0x3eb)]());let _0x4656fc;if(this[_0x486228(0x44d)]&&_0x4b0f08[_0x486228(0x23c)]!==0x0)_0x4656fc=this[_0x486228(0x153)][_0x486228(0x387)](exports[_0x486228(0x223)],this['unitID'],this[_0x486228(0x27b)],_0x25ee79[0x0],_0x4b0f08,this[_0x486228(0x477)],void 0x0);else{if(this['_awaitingChangeset']&&_0x4b0f08[_0x486228(0x23c)]===0x0)_0x25ee79[0x0][_0x486228(0x322)]=this[_0x486228(0x3eb)](),_0x4656fc=this[_0x486228(0x153)]['createInstance'](exports[_0x486228(0x205)],this['unitID'],this[_0x486228(0x27b)],_0x25ee79[0x0],this[_0x486228(0x477)]);else{if(_0x4b0f08['length']!==0x0){const _0x5f2151=this[_0x486228(0x153)][_0x486228(0x387)](exports[_0x486228(0x16c)],this[_0x486228(0x33d)],this[_0x486228(0x27b)],_0x4b0f08,this['_handler']);_0x5f2151[_0x486228(0x346)](),_0x4656fc=_0x5f2151;}else _0x4656fc=this[_0x486228(0x153)][_0x486228(0x387)](exports[_0x486228(0x328)],this[_0x486228(0x33d)],this[_0x486228(0x27b)],this['_handler']);}}return _0x4656fc['_updateLocalCache'](),_0x4656fc;}catch(_0xe8587a){return this[_0x486228(0x382)][_0x486228(0x450)](_0x486228(0x490),'failed\x20to\x20apply\x20missed\x20changesets!',_0xe8587a),this[_0x486228(0x153)][_0x486228(0x387)](exports['ConflictState'],this[_0x486228(0x33d)],this[_0x486228(0x27b)],this['_awaitingChangeset'],this[_0x486228(0x16d)],this['_handler'],!0x1);}}[_0x2d7ad2(0x449)](){var _0x403e76=_0x2d7ad2;throw new Error(_0x403e76(0x217));}['appendMutation'](_0xd0e8ae){var _0x2ffb11=_0x2d7ad2;return this[_0x2ffb11(0x16d)]['push'](_0xd0e8ae),this;}['onRemoteChangeset'](_0x7b5b0b){var _0x463ef2=_0x2d7ad2;return this[_0x463ef2(0x300)][_0x463ef2(0x40d)](_0x7b5b0b),this;}[_0x2d7ad2(0x256)](_0x12e588){var _0x5b70d2=_0x2d7ad2;if(this['_awaitingChangeset'])return this[_0x5b70d2(0x181)]=this['_awaitingChangeset'],this[_0x5b70d2(0x44d)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x2d7ad2(0x1c6)](_0x1b59db){var _0x2a7f0d=_0x2d7ad2;return this[_0x2a7f0d(0x2f7)](!!(_0x1b59db!=null&&_0x1b59db[_0x2a7f0d(0x21d)]));}[_0x2d7ad2(0x1fe)](){return this;}[_0x2d7ad2(0x23f)](){var _0x52e8ff=_0x2d7ad2;return this['_injector'][_0x52e8ff(0x387)](exports[_0x52e8ff(0x400)],this[_0x52e8ff(0x33d)],this[_0x52e8ff(0x27b)],this[_0x52e8ff(0x44d)],this['_pendingMutations'],this[_0x52e8ff(0x477)]);}[_0x2d7ad2(0x33e)](){return this;}[_0x2d7ad2(0x2f7)](_0x3c3fb3){var _0x38624c=_0x2d7ad2;return this[_0x38624c(0x153)][_0x38624c(0x387)](exports[_0x38624c(0x24e)],this[_0x38624c(0x33d)],this[_0x38624c(0x27b)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x38624c(0x477)],_0x3c3fb3);}},exports['FetchingMissState']=le([A(0x7,a['Inject'](a[_0x2d7ad2(0x2d8)])),A(0x8,a[_0x2d7ad2(0x4c3)](m['RevisionService'])),A(0x9,a[_0x2d7ad2(0x3f3)]),A(0xa,a[_0x2d7ad2(0x496)]),A(0xb,a[_0x2d7ad2(0x35d)]),A(0xc,m[_0x2d7ad2(0x402)]),A(0xd,a[_0x2d7ad2(0x454)](z))],exports[_0x2d7ad2(0x388)]);function Pt(_0x492dde,_0xccced4,_0x5817da,_0x3b1698,_0x472f15,_0x4bd29a){var _0x3e3aaf=_0x2d7ad2;return _0x3b1698&&_0x472f15[_0x3e3aaf(0x23c)]?_0x492dde['createInstance'](exports[_0x3e3aaf(0x223)],_0xccced4,_0x5817da,_0x3b1698,_0x472f15,_0x4bd29a,void 0x0):_0x3b1698?_0x492dde[_0x3e3aaf(0x387)](exports[_0x3e3aaf(0x205)],_0xccced4,_0x5817da,_0x3b1698,_0x4bd29a):_0x472f15[_0x3e3aaf(0x23c)]?_0x492dde[_0x3e3aaf(0x387)](exports[_0x3e3aaf(0x16c)],_0xccced4,_0x5817da,_0x472f15,_0x4bd29a):_0x492dde[_0x3e3aaf(0x387)](exports[_0x3e3aaf(0x328)],_0xccced4,_0x5817da,_0x4bd29a);}var Pn=Object['defineProperty'],Dn=Object[_0x2d7ad2(0x20f)],Ge=(_0xe164c0,_0x4333aa,_0x48909f,_0x40fc5c)=>{var _0xfdfaa4=_0x2d7ad2;for(var _0x146e8f=_0x40fc5c>0x1?void 0x0:_0x40fc5c?Dn(_0x4333aa,_0x48909f):_0x4333aa,_0x310c8b=_0xe164c0[_0xfdfaa4(0x23c)]-0x1,_0x2266dc;_0x310c8b>=0x0;_0x310c8b--)(_0x2266dc=_0xe164c0[_0x310c8b])&&(_0x146e8f=(_0x40fc5c?_0x2266dc(_0x4333aa,_0x48909f,_0x146e8f):_0x2266dc(_0x146e8f))||_0x146e8f);return _0x40fc5c&&_0x146e8f&&Pn(_0x4333aa,_0x48909f,_0x146e8f),_0x146e8f;},k=(_0x1627c8,_0x20bd93)=>(_0x4dc6da,_0x3154fa)=>_0x20bd93(_0x4dc6da,_0x3154fa,_0x1627c8);exports[_0x2d7ad2(0x377)]=class extends a['RxDisposable']{constructor(_0xdd56e1,_0x112fab,_0x82e511,_0x34b528,_0x51b469,_0x36376c,_0x3eb6fc,_0x3e61e4,_0x5d8a62,_0x1567fa,_0x441bca,_0x5e50d9,_0x18ab46){var _0x17c3df=_0x2d7ad2;super(),D(this,_0x17c3df(0x1c3),new H[(_0x17c3df(0x45b))](null)),D(this,'state$',this[_0x17c3df(0x1c3)][_0x17c3df(0x1cc)]()),D(this,_0x17c3df(0x26c)),D(this,_0x17c3df(0x31d),!0x1),D(this,_0x17c3df(0x355),''),D(this,_0x17c3df(0x2c4),0x0),D(this,_0x17c3df(0x475),this['state$'][_0x17c3df(0x362)](H[_0x17c3df(0x250)](_0x345efc=>_0x345efc?_0x345efc[_0x17c3df(0x3d3)]:We[_0x17c3df(0x209)]),H[_0x17c3df(0x2fb)](0x1))),D(this,_0x17c3df(0x399),!0x1),D(this,_0x17c3df(0x364),[]),(this[_0x17c3df(0x33d)]=_0xdd56e1,this['session']=_0x112fab,this[_0x17c3df(0x1f5)]=_0x82e511,this[_0x17c3df(0x153)]=_0x34b528,this[_0x17c3df(0x2b5)]=_0x51b469,this[_0x17c3df(0x3fb)]=_0x36376c,this[_0x17c3df(0x248)]=_0x3eb6fc,this[_0x17c3df(0x479)]=_0x3e61e4,this[_0x17c3df(0x382)]=_0x5d8a62,this[_0x17c3df(0x46b)]=_0x1567fa,this[_0x17c3df(0x171)]=_0x441bca,this[_0x17c3df(0x2a6)]=_0x5e50d9,this['_localCacheService']=_0x18ab46);}get[_0x2d7ad2(0x35c)](){return this['_state'];}async[_0x2d7ad2(0x42b)](){var _0x2e2539=_0x2d7ad2;if(this[_0x2e2539(0x35c)])throw new Error(_0x2e2539(0x3c9));await this[_0x2e2539(0x29a)]();}['pauseCollaboration'](){var _0x3c6015=_0x2d7ad2;return this[_0x3c6015(0x31d)]=!0x0,a[_0x3c6015(0x4a3)](()=>{var _0x669500=_0x3c6015;this[_0x669500(0x31d)]=!0x1,this[_0x669500(0x286)]();});}[_0x2d7ad2(0x389)](_0x106b3a){this['_onLocalMutation'](_0x106b3a);}[_0x2d7ad2(0x3cf)](_0x56d000){var _0x24a507=_0x2d7ad2;this['_state']=_0x56d000,this[_0x24a507(0x1c3)][_0x24a507(0x224)](_0x56d000);}async[_0x2d7ad2(0x29a)](){var _0xe6d7ae=_0x2d7ad2,_0x55549f;this[_0xe6d7ae(0x3cf)](await this[_0xe6d7ae(0x47a)]()),this['_singleActiveUnitService']&&((_0x55549f=this[_0xe6d7ae(0x2a6)])==null||_0x55549f[_0xe6d7ae(0x260)](this[_0xe6d7ae(0x33d)]),this[_0xe6d7ae(0x4aa)](this['_singleActiveUnitService'][_0xe6d7ae(0x38e)](this[_0xe6d7ae(0x33d)])[_0xe6d7ae(0x35f)](_0x387c8a=>{var _0x5d0011=_0xe6d7ae;this[_0x5d0011(0x382)]['debug'](_0x5d0011(0x2aa),'editing\x20status\x20changed\x20to',_0x387c8a),_0x387c8a===Fe[_0x5d0011(0x489)]?(this[_0x5d0011(0x479)]['emitEvent']({'id':Q[_0x5d0011(0x277)]}),this[_0x5d0011(0x171)]['updatePermissionPoint'](new J['WorkbookEditablePermission'](this[_0x5d0011(0x33d)])['id'],!0x1),this[_0x5d0011(0x171)][_0x5d0011(0x15d)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new J[(_0x5d0011(0x22f))](this[_0x5d0011(0x33d)])['id'],!0x0),this[_0x5d0011(0x171)]['setShowComponents'](!0x0));})));let _0x2bfc73=!0x1;return this[_0xe6d7ae(0x4aa)](this['session'][_0xe6d7ae(0x3ae)][_0xe6d7ae(0x35f)](_0x4f8786=>{var _0x12f27b=_0xe6d7ae;_0x4f8786===se[_0x12f27b(0x1ac)]?this['_toggleOnline'](_0x2bfc73):_0x4f8786===se[_0x12f27b(0x209)]&&(_0x2bfc73=!0x0,this[_0x12f27b(0x32e)]());})),this[_0xe6d7ae(0x4aa)](this['session'][_0xe6d7ae(0x425)][_0xe6d7ae(0x35f)](_0x3d5ed9=>{var _0x22c9bf=_0xe6d7ae;try{switch(_0x3d5ed9[_0x22c9bf(0x3ea)]){case m[_0x22c9bf(0x3c5)][_0x22c9bf(0x2c3)]:{this[_0x22c9bf(0x3c0)](m[_0x22c9bf(0x28c)](_0x3d5ed9[_0x22c9bf(0x23e)]));break;}case m[_0x22c9bf(0x3c5)][_0x22c9bf(0x1df)]:{this[_0x22c9bf(0x294)](_0x3d5ed9[_0x22c9bf(0x23e)]);break;}case m['CollaborationEvent'][_0x22c9bf(0x3b9)]:{this[_0x22c9bf(0x40e)]();break;}case m['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:{this[_0x22c9bf(0x44c)](_0x3d5ed9[_0x22c9bf(0x23e)]);break;}case m[_0x22c9bf(0x3c5)][_0x22c9bf(0x15e)]:{this[_0x22c9bf(0x142)](_0x3d5ed9['data']['changesets'][_0x22c9bf(0x250)](_0x41e4d3=>m['parseProtocolChangeset'](_0x41e4d3)));break;}case m[_0x22c9bf(0x3c5)]['PERMISSION_REJ']:{this[_0x22c9bf(0x40e)]({'isPermissionRej':!0x0});break;}case m[_0x22c9bf(0x3c5)][_0x22c9bf(0x1ce)]:break;}}catch(_0x1e9692){throw console[_0x22c9bf(0x450)]('Error\x20on\x20receiving\x20event',_0x1e9692),_0x1e9692;}})),this[_0xe6d7ae(0x26c)];}['_unlockTransition'](){var _0x3059b5=_0x2d7ad2;this[_0x3059b5(0x399)]=!0x1;}['_lockTransition'](){var _0x7c1c73=_0x2d7ad2;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x7c1c73(0x399)]=!0x0;}['_onLocalMutation'](_0x2f6117){var _0x2cf350=_0x2d7ad2;this[_0x2cf350(0x2c6)](),this[_0x2cf350(0x3cf)](this[_0x2cf350(0x26c)][_0x2cf350(0x278)](_0x2f6117)),this['_unlockTransition']();}[_0x2d7ad2(0x3c0)](_0x20d64a){var _0x216fe0=_0x2d7ad2;if(!(_0x20d64a['revision']<=this['_revisionService'][_0x216fe0(0x2ab)](this[_0x216fe0(0x33d)]))){if(this['_collaborationPaused']){this[_0x216fe0(0x364)]['push'](_0x20d64a);return;}this[_0x216fe0(0x302)](_0x20d64a);}}[_0x2d7ad2(0x286)](){var _0x5c8d7b=_0x2d7ad2;this[_0x5c8d7b(0x364)][_0x5c8d7b(0x1f2)](_0x26842d=>this[_0x5c8d7b(0x302)](_0x26842d)),this['_remoteChangesetQueue']=[];}[_0x2d7ad2(0x302)](_0x266633){var _0x55af57=_0x2d7ad2;const _0x19d09f=this['_compressMutationService'][_0x55af57(0x464)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x55af57(0x464)][_0x55af57(0x4b8)]()[_0x55af57(0x259)])(_0x266633['mutations'],null)||_0x266633[_0x55af57(0x312)],_0x195e86={..._0x266633,'mutations':_0x19d09f};this['_lockTransition'](),this[_0x55af57(0x3cf)](this['_state']['onRemoteChangeset'](_0x195e86)),this[_0x55af57(0x482)]();}[_0x2d7ad2(0x294)](_0x2db737){var _0x3ed80b=_0x2d7ad2;this[_0x3ed80b(0x2c6)](),this[_0x3ed80b(0x3cf)](this['_state'][_0x3ed80b(0x256)](_0x2db737)),this[_0x3ed80b(0x482)]();}[_0x2d7ad2(0x40e)](_0x4b745b){var _0x5d03bf=_0x2d7ad2;this[_0x5d03bf(0x2c6)](),this[_0x5d03bf(0x3cf)](this[_0x5d03bf(0x26c)][_0x5d03bf(0x1c6)](_0x4b745b)),this[_0x5d03bf(0x482)]();}[_0x2d7ad2(0x44c)](_0x591941){var _0x3db0d2=_0x2d7ad2;this['_lockTransition'](),this[_0x3db0d2(0x3cf)](this[_0x3db0d2(0x26c)][_0x3db0d2(0x1fe)](_0x591941)),this[_0x3db0d2(0x482)]();}[_0x2d7ad2(0x142)](_0x210001){var _0x5eea0f=_0x2d7ad2;if(!(this[_0x5eea0f(0x26c)]instanceof exports['FetchingMissState']))throw new TypeError(_0x5eea0f(0x472));const _0x4aa40a=_0x210001[_0x5eea0f(0x250)](_0x2788c9=>{var _0x215675=_0x5eea0f;const _0x229f5c=this[_0x215675(0x2b5)][_0x215675(0x464)][_0x215675(0x493)](this[_0x215675(0x2b5)][_0x215675(0x464)][_0x215675(0x4b8)]()['COMPRESS_MUTATION_APPLY'])(_0x2788c9[_0x215675(0x312)],null)||_0x2788c9[_0x215675(0x312)];return{..._0x2788c9,'mutations':_0x229f5c};});this[_0x5eea0f(0x2c6)](),this['_updateState'](this[_0x5eea0f(0x26c)]['onMissedChangesetFetched'](_0x4aa40a)),this[_0x5eea0f(0x482)]();}['_toggleOffline'](){var _0x1d17ee=_0x2d7ad2;this[_0x1d17ee(0x2c6)](),this['_updateState'](this['_state']['toggleOffline']()),this[_0x1d17ee(0x482)]();}[_0x2d7ad2(0x1db)](_0x496da4=!0x1){var _0x5e53f8=_0x2d7ad2;this[_0x5e53f8(0x2c6)](),this['_updateState'](this[_0x5e53f8(0x26c)][_0x5e53f8(0x33e)]()),this[_0x5e53f8(0x482)]();const _0x28835e=this[_0x5e53f8(0x26c)];_0x496da4&&_0x28835e instanceof exports[_0x5e53f8(0x328)]&&(this['_lockTransition'](),this[_0x5e53f8(0x3cf)](_0x28835e[_0x5e53f8(0x3dc)]()),this[_0x5e53f8(0x482)]());}async[_0x2d7ad2(0x47a)](){return new Promise(_0x2b0759=>{var _0x37c69d=_0x38a2;this['session']['sessionStatus$'][_0x37c69d(0x362)](H['take'](0x1))[_0x37c69d(0x35f)](async _0x5788e5=>{var _0x574210=_0x37c69d;_0x2b0759(await this[_0x574210(0x1a9)](_0x5788e5===se['ONLINE']));});});}[_0x2d7ad2(0x164)](){var _0x40dcef=_0x2d7ad2;const _0x4255aa=this[_0x40dcef(0x33d)];return{'onStateChange':(_0x5d03b0,_0x3dd7a4)=>{var _0x5babf6=_0x40dcef;if(_0x5d03b0!==this[_0x5babf6(0x26c)])throw new Error(_0x5babf6(0x275)+_0x5d03b0[_0x5babf6(0x3d3)]+_0x5babf6(0x27a)+_0x3dd7a4[_0x5babf6(0x3d3)]+_0x5babf6(0x356)+this[_0x5babf6(0x26c)]['status']);this['_updateState'](_0x3dd7a4);},'onSendChangeset':_0x23ce32=>{var _0x3c509d=_0x40dcef;_0x23ce32[_0x3c509d(0x18f)]||(_0x23ce32[_0x3c509d(0x18f)]=this['_changesetSessionId'],_0x23ce32[_0x3c509d(0x4b2)]=++this[_0x3c509d(0x2c4)]);const _0x18419a={'eventID':m['CollaborationEvent']['SUBMIT_CHANGESET'],'data':{'unitID':_0x23ce32[_0x3c509d(0x33d)],'unitType':this['_type'],'changeset':_0x23ce32,'memberID':this['session']['getMemberID']()}};this[_0x3c509d(0x37f)][_0x3c509d(0x228)](_0x18419a,this[_0x3c509d(0x33d)]);},'onMissingChangesets':({from:_0x22d07b,to:_0x116730})=>{var _0x353b1a=_0x40dcef;this[_0x353b1a(0x382)][_0x353b1a(0x159)](_0x353b1a(0x2aa),_0x353b1a(0x4ab)+_0x22d07b+_0x353b1a(0x232)+_0x116730);const _0x148462={'eventID':m[_0x353b1a(0x3c5)][_0x353b1a(0x349)],'data':{'unitID':_0x4255aa,'unitType':this['_type'],'from':_0x22d07b,'to':_0x116730}};this[_0x353b1a(0x37f)][_0x353b1a(0x228)](_0x148462,this[_0x353b1a(0x33d)]);}};}async[_0x2d7ad2(0x1a9)](_0x11b3f2){var _0x1f1a63=_0x2d7ad2,_0x1505bf,_0x51efb1,_0x115526;const _0x4e084b=await((_0x1505bf=this[_0x1f1a63(0x2d4)])==null?void 0x0:_0x1505bf[_0x1f1a63(0x36f)](this['unitID'])),_0xc72175=(_0x51efb1=_0x4e084b==null?void 0x0:_0x4e084b['mutations'])!=null?_0x51efb1:[],_0x5d0813=(_0x115526=_0x4e084b==null?void 0x0:_0x4e084b[_0x1f1a63(0x468)])!=null?_0x115526:null,_0x4fdb4d=!!(_0x5d0813!=null&&_0x5d0813['sid'])&&!!(_0x5d0813!=null&&_0x5d0813[_0x1f1a63(0x4b2)]);this[_0x1f1a63(0x355)]=_0x4fdb4d?_0x5d0813[_0x1f1a63(0x18f)]:gn(),this[_0x1f1a63(0x2c4)]=_0x4fdb4d?_0x5d0813[_0x1f1a63(0x4b2)]:0x0;const _0x17e983=this[_0x1f1a63(0x33d)];try{this[_0x1f1a63(0x3ed)](_0x5d0813,_0xc72175);}catch(_0x45e361){this['_logService'][_0x1f1a63(0x450)](_0x45e361);}const _0x4d2498=this['_createHandler']();if(_0x11b3f2){const _0x1784aa=Pt(this[_0x1f1a63(0x153)],_0x17e983,this[_0x1f1a63(0x1f5)],_0x5d0813,_0xc72175,_0x4d2498);return _0x1784aa instanceof exports[_0x1f1a63(0x16c)]?_0x1784aa[_0x1f1a63(0x346)]():(_0x1784aa instanceof exports[_0x1f1a63(0x223)]||_0x1784aa instanceof exports[_0x1f1a63(0x205)])&&_0x1784aa['resend'](),_0x1784aa;}return this[_0x1f1a63(0x153)][_0x1f1a63(0x387)](exports['OfflineState'],_0x17e983,this[_0x1f1a63(0x1f5)],_0x5d0813,_0xc72175,_0x4d2498);}[_0x2d7ad2(0x3ed)](_0x88d85e,_0x3a9935){var _0x111e08=_0x2d7ad2,_0x8bac25,_0x36a62e;const _0x5e2eac=this[_0x111e08(0x2b5)]['interceptor'][_0x111e08(0x493)](this[_0x111e08(0x2b5)][_0x111e08(0x464)][_0x111e08(0x4b8)]()[_0x111e08(0x259)]);(_0x8bac25=_0x5e2eac((_0x88d85e==null?void 0x0:_0x88d85e[_0x111e08(0x312)])||[],null))==null||_0x8bac25['forEach'](_0x409102=>this[_0x111e08(0x46b)][_0x111e08(0x199)](_0x409102['id'],_0x409102[_0x111e08(0x3b6)])),(_0x36a62e=_0x5e2eac(_0x3a9935||[],null))==null||_0x36a62e[_0x111e08(0x1f2)](_0x2749f5=>this[_0x111e08(0x46b)][_0x111e08(0x199)](_0x2749f5['id'],_0x2749f5[_0x111e08(0x3b6)]));}},exports['CollaborationEntity']=Ge([k(0x3,a[_0x2d7ad2(0x4c3)](a[_0x2d7ad2(0x2d8)])),k(0x4,a[_0x2d7ad2(0x4c3)](m[_0x2d7ad2(0x47b)])),k(0x5,a[_0x2d7ad2(0x4c3)](a[_0x2d7ad2(0x437)])),k(0x6,a[_0x2d7ad2(0x4c3)](m['RevisionService'])),k(0x7,a[_0x2d7ad2(0x4c3)](te)),k(0x8,a[_0x2d7ad2(0x3f3)]),k(0x9,a[_0x2d7ad2(0x496)]),k(0xa,a[_0x2d7ad2(0x2cf)]),k(0xb,a[_0x2d7ad2(0x454)](ve)),k(0xc,a[_0x2d7ad2(0x454)](z))],exports['CollaborationEntity']),exports[_0x2d7ad2(0x314)]=class extends exports[_0x2d7ad2(0x377)]{constructor(_0x580c1b,_0x20c25d,_0x4a9f60,_0x16ee02,_0x3943f9,_0x421ef7,_0x488602,_0x30da3c,_0x27311d,_0x504d84,_0x4915bd,_0x449a41,_0x3bcdf3){var _0x3fbc3d=_0x2d7ad2;super(_0x580c1b,_0x4a9f60,_0x20c25d,_0x16ee02,_0x3943f9,_0x421ef7,_0x488602,_0x30da3c,_0x27311d,_0x504d84,_0x4915bd,_0x449a41,_0x3bcdf3),D(this,_0x3fbc3d(0x420),null),(this[_0x3fbc3d(0x33d)]=_0x580c1b,this[_0x3fbc3d(0x27b)]=_0x20c25d);}['addHandlerCallback'](_0x97f6f4){var _0x462310=_0x2d7ad2;this[_0x462310(0x420)]=_0x97f6f4;}[_0x2d7ad2(0x1f6)](){var _0x27624d=_0x2d7ad2;this[_0x27624d(0x420)]=null,super[_0x27624d(0x1f6)]();}['_createHandler'](){var _0x2d91da=_0x2d7ad2;const _0x5d3a40=super[_0x2d91da(0x164)]();return _0x5d3a40[_0x2d91da(0x358)]=_0x455ce5=>{var _0x209866=_0x2d91da,_0x2803bd,_0x422501;return(_0x422501=(_0x2803bd=this[_0x209866(0x420)])==null?void 0x0:_0x2803bd[_0x209866(0x358)])==null?void 0x0:_0x422501[_0x209866(0x179)](_0x2803bd,_0x455ce5);},_0x5d3a40['onTransformState']=_0x527acf=>{var _0x57fbb1=_0x2d91da,_0xb75239,_0x5b914f;return(_0x5b914f=(_0xb75239=this[_0x57fbb1(0x420)])==null?void 0x0:_0xb75239[_0x57fbb1(0x22d)])==null?void 0x0:_0x5b914f[_0x57fbb1(0x179)](_0xb75239,_0x527acf);},_0x5d3a40['onTransformSelections']=_0x1c40a1=>{var _0x524d07=_0x2d91da,_0xe00d8a,_0x4cd462;return(_0x4cd462=(_0xe00d8a=this[_0x524d07(0x420)])==null?void 0x0:_0xe00d8a[_0x524d07(0x1ec)])==null?void 0x0:_0x4cd462[_0x524d07(0x179)](_0xe00d8a,_0x1c40a1);},_0x5d3a40[_0x2d91da(0x1fb)]=_0x4fe457=>{var _0x442141=_0x2d91da,_0x230128,_0x4b1494;return(_0x4b1494=(_0x230128=this[_0x442141(0x420)])==null?void 0x0:_0x230128['onSyncEditingCollabCursor'])==null?void 0x0:_0x4b1494['call'](_0x230128,_0x4fe457);},_0x5d3a40[_0x2d91da(0x2af)]=_0x1fc2e0=>{var _0x1ea301=_0x2d91da,_0x17ab85,_0x3abe06,_0x58ad97;if(!((_0x17ab85=this[_0x1ea301(0x420)])!=null&&_0x17ab85['onTransformRemoteChangesetByIMECache']))throw new Error(_0x1ea301(0x48a));return(_0x58ad97=(_0x3abe06=this['_handlerCallback'])==null?void 0x0:_0x3abe06[_0x1ea301(0x2af)])==null?void 0x0:_0x58ad97['call'](_0x3abe06,_0x1fc2e0);},_0x5d3a40[_0x2d91da(0x49b)]=_0x39f513=>{var _0x56136a=_0x2d91da,_0x9f6d0a,_0x4a78c5,_0x5991f8;if(!((_0x9f6d0a=this[_0x56136a(0x420)])!=null&&_0x9f6d0a[_0x56136a(0x49b)]))throw new Error(_0x56136a(0x344));return(_0x5991f8=(_0x4a78c5=this[_0x56136a(0x420)])==null?void 0x0:_0x4a78c5[_0x56136a(0x49b)])==null?void 0x0:_0x5991f8[_0x56136a(0x179)](_0x4a78c5,_0x39f513);},_0x5d3a40;}async[_0x2d7ad2(0x29a)](){var _0x387e64=_0x2d7ad2;const _0x1844ce=await super['_init']();return this[_0x387e64(0x4aa)](this[_0x387e64(0x46b)][_0x387e64(0x3d4)]((_0x1d7ab3,_0x3416b6)=>{var _0x460a06=_0x387e64;if(_0x1d7ab3['type']!==a[_0x460a06(0x16e)]['MUTATION']||_0x3416b6!=null&&_0x3416b6[_0x460a06(0x3e3)]||_0x3416b6!=null&&_0x3416b6[_0x460a06(0x25f)]||_0x1d7ab3['id']===dt[_0x460a06(0x175)]['id'])return;const _0x320e31=_0x1d7ab3[_0x460a06(0x3b6)];if((_0x320e31==null?void 0x0:_0x320e31[_0x460a06(0x3fd)])!==this[_0x460a06(0x33d)])return;const _0x26095f=_0x1d7ab3,_0x58ea81=this[_0x460a06(0x2b5)][_0x460a06(0x464)][_0x460a06(0x493)](this[_0x460a06(0x2b5)][_0x460a06(0x464)][_0x460a06(0x4b8)]()[_0x460a06(0x3bb)])([_0x26095f],null)||[_0x26095f];this[_0x460a06(0x15a)](_0x58ea81[0x0]);})),_0x1844ce;}},exports[_0x2d7ad2(0x314)]=Ge([k(0x3,a[_0x2d7ad2(0x4c3)](a[_0x2d7ad2(0x2d8)])),k(0x4,a[_0x2d7ad2(0x4c3)](m['CompressMutationService'])),k(0x5,a[_0x2d7ad2(0x4c3)](a[_0x2d7ad2(0x437)])),k(0x6,a[_0x2d7ad2(0x4c3)](m[_0x2d7ad2(0x33b)])),k(0x7,a[_0x2d7ad2(0x4c3)](te)),k(0x8,a[_0x2d7ad2(0x3f3)]),k(0x9,a['ICommandService']),k(0xa,a[_0x2d7ad2(0x2cf)]),k(0xb,a[_0x2d7ad2(0x454)](ve)),k(0xc,a['Optional'](z))],exports['DocCollaborationEntity']),exports[_0x2d7ad2(0x166)]=class extends exports[_0x2d7ad2(0x377)]{constructor(_0x3f9011,_0x10c0fd,_0x2e0855,_0x37b7c5,_0xabe056,_0x587c0c,_0x32edd5,_0x4bef48,_0x36cec5,_0xe6c1ca,_0x42e675,_0x3db339,_0x22ab8f,_0x6d7e1c){var _0xd194fc=_0x2d7ad2;super(_0x3f9011,_0x2e0855,_0x10c0fd,_0x37b7c5,_0xabe056,_0x587c0c,_0x32edd5,_0x36cec5,_0xe6c1ca,_0x42e675,_0x3db339,_0x22ab8f,_0x6d7e1c),this[_0xd194fc(0x33d)]=_0x3f9011,this[_0xd194fc(0x27b)]=_0x10c0fd,this['_sheetTransformSelectionsService']=_0x4bef48;}[_0x2d7ad2(0x164)](){var _0x474543=_0x2d7ad2;const _0x196d2c=super[_0x474543(0x164)]();return _0x196d2c[_0x474543(0x1ec)]=_0x5caf05=>this['_sheetTransformSelectionsService'][_0x474543(0x28f)](_0x5caf05),_0x196d2c;}async[_0x2d7ad2(0x29a)](){var _0x2482aa=_0x2d7ad2;const _0x32a7fc=await super[_0x2482aa(0x29a)]();return this[_0x2482aa(0x4aa)](this[_0x2482aa(0x46b)][_0x2482aa(0x3d4)]((_0x585a9e,_0x2f6ab3)=>{var _0x2a10c2=_0x2482aa;if(_0x585a9e['type']!==a[_0x2a10c2(0x16e)]['MUTATION']||_0x2f6ab3!=null&&_0x2f6ab3[_0x2a10c2(0x3e3)]||_0x2f6ab3!=null&&_0x2f6ab3['onlyLocal'])return;const _0xca30c1=_0x585a9e[_0x2a10c2(0x3b6)];if((_0xca30c1==null?void 0x0:_0xca30c1[_0x2a10c2(0x3fd)])!==this[_0x2a10c2(0x33d)])return;const _0x45c365=_0x585a9e,_0x25dd77=this[_0x2a10c2(0x2b5)][_0x2a10c2(0x464)][_0x2a10c2(0x493)](this[_0x2a10c2(0x2b5)]['interceptor'][_0x2a10c2(0x4b8)]()[_0x2a10c2(0x3bb)])([_0x45c365],null)||[_0x45c365];this[_0x2a10c2(0x15a)](_0x25dd77[0x0]);})),_0x32a7fc;}},exports[_0x2d7ad2(0x166)]=Ge([k(0x3,a[_0x2d7ad2(0x4c3)](a[_0x2d7ad2(0x2d8)])),k(0x4,a['Inject'](m[_0x2d7ad2(0x47b)])),k(0x5,a[_0x2d7ad2(0x4c3)](a[_0x2d7ad2(0x437)])),k(0x6,a[_0x2d7ad2(0x4c3)](m[_0x2d7ad2(0x33b)])),k(0x7,a[_0x2d7ad2(0x4c3)](exports[_0x2d7ad2(0x413)])),k(0x8,a[_0x2d7ad2(0x4c3)](te)),k(0x9,a[_0x2d7ad2(0x3f3)]),k(0xa,a[_0x2d7ad2(0x496)]),k(0xb,a[_0x2d7ad2(0x2cf)]),k(0xc,a['Optional'](ve)),k(0xd,a['Optional'](z))],exports[_0x2d7ad2(0x166)]);var wn=Object[_0x2d7ad2(0x325)],An=Object['getOwnPropertyDescriptor'],Ln=(_0x3a884b,_0x3bf994,_0x26d716,_0x5e4e14)=>{var _0x2d0315=_0x2d7ad2;for(var _0x4ede9e=_0x5e4e14>0x1?void 0x0:_0x5e4e14?An(_0x3bf994,_0x26d716):_0x3bf994,_0x3d032e=_0x3a884b[_0x2d0315(0x23c)]-0x1,_0x46311e;_0x3d032e>=0x0;_0x3d032e--)(_0x46311e=_0x3a884b[_0x3d032e])&&(_0x4ede9e=(_0x5e4e14?_0x46311e(_0x3bf994,_0x26d716,_0x4ede9e):_0x46311e(_0x4ede9e))||_0x4ede9e);return _0x5e4e14&&_0x4ede9e&&wn(_0x3bf994,_0x26d716,_0x4ede9e),_0x4ede9e;},we=(_0x4bc412,_0x1ef3ad)=>(_0x4a88e1,_0x422866)=>_0x1ef3ad(_0x4a88e1,_0x422866,_0x4bc412);exports['CollaborationController']=class extends a['RxDisposable']{constructor(_0x3c433f,_0x57de98,_0x3ea321){var _0x5c2215=_0x2d7ad2;super(),D(this,'_entities',new Map()),D(this,'_entityInit$',new H['Subject']()),D(this,_0x5c2215(0x419),this['_entityInit$']['asObservable']()),(this['_injector']=_0x3c433f,this[_0x5c2215(0x371)]=_0x57de98,this['_univerInstanceService']=_0x3ea321,this[_0x5c2215(0x29a)]());}[_0x2d7ad2(0x1f6)](){var _0x1f6056=_0x2d7ad2;super[_0x1f6056(0x1f6)](),this[_0x1f6056(0x2fc)][_0x1f6056(0x1f2)](_0x53570e=>_0x53570e['dispose']()),this[_0x1f6056(0x2fc)][_0x1f6056(0x435)]();}[_0x2d7ad2(0x480)](_0x2b3b51){var _0x5a9cc4=_0x2d7ad2,_0x4cc084;return(_0x4cc084=this[_0x5a9cc4(0x2fc)][_0x5a9cc4(0x4b4)](_0x2b3b51))!=null?_0x4cc084:null;}[_0x2d7ad2(0x230)](_0x2550fd){var _0x33dd63=_0x2d7ad2;const _0x415d94=this[_0x33dd63(0x480)](_0x2550fd);return _0x415d94?H['of'](_0x415d94):this[_0x33dd63(0x268)][_0x33dd63(0x362)](W[_0x33dd63(0x3f9)](_0xdf909d=>_0xdf909d[_0x33dd63(0x33d)]===_0x2550fd));}[_0x2d7ad2(0x43e)](_0x407673){var _0xa3377f=_0x2d7ad2;return H[_0xa3377f(0x204)](this['getCollabEntity$'](_0x407673)[_0xa3377f(0x362)](W[_0xa3377f(0x250)](()=>{})));}[_0x2d7ad2(0x29a)](){var _0x3a994a=_0x2d7ad2;this[_0x3a994a(0x2ee)]['getTypeOfUnitAdded$'](a[_0x3a994a(0x38f)][_0x3a994a(0x341)])[_0x3a994a(0x362)](H[_0x3a994a(0x1fa)](this[_0x3a994a(0x1c9)]),W[_0x3a994a(0x27d)](0x10))[_0x3a994a(0x35f)](async _0x15fcb3=>{var _0x55c454=_0x3a994a;const _0x2eaca9=_0x15fcb3[_0x55c454(0x2d9)](),_0x1a5dd5=await this[_0x55c454(0x262)](_0x2eaca9,Z[_0x55c454(0x341)]);this[_0x55c454(0x2fc)][_0x55c454(0x3e0)](_0x2eaca9,_0x1a5dd5);}),this['_univerInstanceService'][_0x3a994a(0x291)](a[_0x3a994a(0x38f)][_0x3a994a(0x21a)])[_0x3a994a(0x362)](H[_0x3a994a(0x1fa)](this[_0x3a994a(0x1c9)]),W[_0x3a994a(0x27d)](0x10))[_0x3a994a(0x362)](W['filter'](_0x32efc0=>!_0x32efc0[_0x3a994a(0x2d9)]()[_0x3a994a(0x427)]('__')))[_0x3a994a(0x35f)](async _0x17460c=>{var _0x28a965=_0x3a994a;const _0x193cce=_0x17460c[_0x28a965(0x2d9)](),_0x1267c7=await this['_startCollaboration'](_0x193cce,Z[_0x28a965(0x21a)]);this[_0x28a965(0x2fc)][_0x28a965(0x3e0)](_0x193cce,_0x1267c7);}),H['merge'](this['_univerInstanceService'][_0x3a994a(0x216)](a['UniverInstanceType'][_0x3a994a(0x341)]),this[_0x3a994a(0x2ee)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x3a994a(0x21a)]))['pipe'](H[_0x3a994a(0x1fa)](this[_0x3a994a(0x1c9)]))[_0x3a994a(0x35f)](_0x907349=>{var _0x2ee276=_0x3a994a;const _0x28d0ab=_0x907349[_0x2ee276(0x2d9)](),_0x56f6c9=this[_0x2ee276(0x2fc)][_0x2ee276(0x4b4)](_0x28d0ab);_0x56f6c9&&(_0x56f6c9[_0x2ee276(0x1f6)](),this['_entities'][_0x2ee276(0x254)](_0x28d0ab));});}async[_0x2d7ad2(0x262)](_0x2ccd2b,_0x16da6b){var _0x4929cf=_0x2d7ad2;const _0x22c073=await this[_0x4929cf(0x371)][_0x4929cf(0x17b)](_0x2ccd2b),_0x1ce78e=this[_0x4929cf(0x153)][_0x4929cf(0x387)](this[_0x4929cf(0x3af)](_0x16da6b),_0x2ccd2b,_0x16da6b,_0x22c073);return await _0x1ce78e[_0x4929cf(0x42b)](),this[_0x4929cf(0x268)][_0x4929cf(0x224)](_0x1ce78e),_0x1ce78e;}[_0x2d7ad2(0x3af)](_0x58ed03){var _0x121d5e=_0x2d7ad2;switch(_0x58ed03){case Z['UNIVER_DOC']:return exports[_0x121d5e(0x314)];case Z[_0x121d5e(0x341)]:return exports[_0x121d5e(0x166)];default:throw new Error(_0x121d5e(0x3bc)+_0x58ed03);}}},exports['CollaborationController']=Ln([we(0x0,a[_0x2d7ad2(0x4c3)](a[_0x2d7ad2(0x2d8)])),we(0x1,a[_0x2d7ad2(0x4c3)](exports[_0x2d7ad2(0x3c7)])),we(0x2,a['IUniverInstanceService'])],exports['CollaborationController']);var Mn=Object[_0x2d7ad2(0x325)],xn=Object['getOwnPropertyDescriptor'],jn=(_0x48838f,_0x326803,_0x8f254e,_0x4ee3c4)=>{var _0x110020=_0x2d7ad2;for(var _0x41bd09=_0x4ee3c4>0x1?void 0x0:_0x4ee3c4?xn(_0x326803,_0x8f254e):_0x326803,_0x4ac03f=_0x48838f[_0x110020(0x23c)]-0x1,_0x1d244a;_0x4ac03f>=0x0;_0x4ac03f--)(_0x1d244a=_0x48838f[_0x4ac03f])&&(_0x41bd09=(_0x4ee3c4?_0x1d244a(_0x326803,_0x8f254e,_0x41bd09):_0x1d244a(_0x41bd09))||_0x41bd09);return _0x4ee3c4&&_0x41bd09&&Mn(_0x326803,_0x8f254e,_0x41bd09),_0x41bd09;},Xe=(_0x1533ec,_0x570b22)=>(_0x3f600f,_0x3d6c7b)=>_0x570b22(_0x3f600f,_0x3d6c7b,_0x1533ec);const $n='DEFAULT_FILE_NAME',Hn=_0x2d7ad2(0x1e5);let $e=class extends a['Disposable']{constructor(_0x573f65,_0x24e79b){var _0x3989ba=_0x2d7ad2;super(),this[_0x3989ba(0x2ee)]=_0x573f65,this[_0x3989ba(0x152)]=_0x24e79b,this[_0x3989ba(0x29a)]();}[_0x2d7ad2(0x29a)](){var _0x56b8d0=_0x2d7ad2;this[_0x56b8d0(0x4aa)](this[_0x56b8d0(0x2ee)][_0x56b8d0(0x3cb)]['subscribe'](()=>{var _0x236403=_0x56b8d0,_0x3a92c6;const _0x28137d=this[_0x236403(0x2ee)][_0x236403(0x28a)]();let _0x14247d=(_0x3a92c6=this[_0x236403(0x152)][_0x236403(0x2d0)]($n))!=null?_0x3a92c6:Hn;_0x28137d instanceof a[_0x236403(0x1fc)]&&(_0x14247d=_0x28137d[_0x236403(0x30f)]),document[_0x236403(0x469)]=_0x14247d;}));}};$e=jn([Xe(0x0,a[_0x2d7ad2(0x2b0)]),Xe(0x1,a[_0x2d7ad2(0x160)])],$e);var kn=Object[_0x2d7ad2(0x325)],Bn=Object[_0x2d7ad2(0x20f)],Fn=(_0x34af4a,_0x4037a1,_0x236d32,_0x422b4a)=>{var _0x346f31=_0x2d7ad2;for(var _0x1c4c62=_0x422b4a>0x1?void 0x0:_0x422b4a?Bn(_0x4037a1,_0x236d32):_0x4037a1,_0x4cc438=_0x34af4a[_0x346f31(0x23c)]-0x1,_0x571d6e;_0x4cc438>=0x0;_0x4cc438--)(_0x571d6e=_0x34af4a[_0x4cc438])&&(_0x1c4c62=(_0x422b4a?_0x571d6e(_0x4037a1,_0x236d32,_0x1c4c62):_0x571d6e(_0x1c4c62))||_0x1c4c62);return _0x422b4a&&_0x1c4c62&&kn(_0x4037a1,_0x236d32,_0x1c4c62),_0x1c4c62;},Ae=(_0x3dcae3,_0x4eb196)=>(_0x3d5c05,_0x56a310)=>_0x4eb196(_0x3d5c05,_0x56a310,_0x3dcae3);let ye=class{constructor(_0x474868,_0x2a4d22,_0x126728){var _0x218b33=_0x2d7ad2;this[_0x218b33(0x152)]=_0x474868,this[_0x218b33(0x2c5)]=_0x2a4d22,this[_0x218b33(0x321)]=_0x126728,this['init']();}['init'](){var _0x49ad5b=_0x2d7ad2;this[_0x49ad5b(0x2c5)][_0x49ad5b(0x345)]({'priority':0x1,'interceptor':(_0x42cd03,_0x308afc)=>_0x308afc(_0x42cd03)[_0x49ad5b(0x362)](H['concatMap'](async _0x2df10c=>{var _0x3dc045=_0x49ad5b;const _0x494851=_0x2df10c;if(_0x494851[_0x3dc045(0x3d3)]===0x191){if(typeof window>'u')throw new Error(_0x3dc045(0x4c0));if(window[_0x3dc045(0x3a0)](this[_0x3dc045(0x321)]['t']('auth.needGotoLoginAlert'))){const _0x4b6842=window[_0x3dc045(0x273)](window[_0x3dc045(0x165)][_0x3dc045(0x309)]);window[_0x3dc045(0x165)][_0x3dc045(0x309)]=this[_0x3dc045(0x218)]()+'?url='+_0x4b6842;}}return _0x494851;}))});}[_0x2d7ad2(0x218)](){var _0x11ac2d=_0x2d7ad2,_0xa4616,_0x407535;const _0xffef52=this[_0x11ac2d(0x152)][_0x11ac2d(0x2d0)](Ct),_0x1ceb0d=this['_configService']['getConfig'](Y);return(_0x407535=(_0xa4616=_0x1ceb0d==null?void 0x0:_0x1ceb0d['loginUrlKey'])!=null?_0xa4616:_0xffef52)!=null?_0x407535:zt;}};ye=Fn([Ae(0x0,a[_0x2d7ad2(0x160)]),Ae(0x1,a[_0x2d7ad2(0x4c3)](q['HTTPService'])),Ae(0x2,a[_0x2d7ad2(0x4c3)](a[_0x2d7ad2(0x437)]))],ye);var Wn=Object[_0x2d7ad2(0x325)],Gn=Object[_0x2d7ad2(0x20f)],Vn=(_0x579833,_0x5bbb75,_0x5d307d,_0x13ce90)=>{var _0x290716=_0x2d7ad2;for(var _0x2990fe=_0x13ce90>0x1?void 0x0:_0x13ce90?Gn(_0x5bbb75,_0x5d307d):_0x5bbb75,_0x53da7a=_0x579833[_0x290716(0x23c)]-0x1,_0x5b8dd2;_0x53da7a>=0x0;_0x53da7a--)(_0x5b8dd2=_0x579833[_0x53da7a])&&(_0x2990fe=(_0x13ce90?_0x5b8dd2(_0x5bbb75,_0x5d307d,_0x2990fe):_0x5b8dd2(_0x2990fe))||_0x2990fe);return _0x13ce90&&_0x2990fe&&Wn(_0x5bbb75,_0x5d307d,_0x2990fe),_0x2990fe;},Ze=(_0x1b4632,_0x420604)=>(_0x1e3c4f,_0x3cf9b8)=>_0x420604(_0x1e3c4f,_0x3cf9b8,_0x1b4632);const Ve=_0x2d7ad2(0x381),Kn=_0x2d7ad2(0x14a);exports[_0x2d7ad2(0x2b1)]=class extends a['Disposable']{constructor(_0x19777a,_0x1bed3d){var _0x59fe8b=_0x2d7ad2;super(),this['_HTTPService']=_0x19777a,this[_0x59fe8b(0x152)]=_0x1bed3d,this['_initMergeInterceptor']();}[_0x2d7ad2(0x2e6)](){var _0x42c0a9=_0x2d7ad2;const _0x37241c=this;this[_0x42c0a9(0x4aa)](this[_0x42c0a9(0x308)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x42c0a9(0x471)]({'isMatch'(_0xc7be7b){var _0x160df0=_0x42c0a9,_0x3c4a35;if(_0xc7be7b[_0x160df0(0x3d1)]===_0x160df0(0x25e)&&((_0x3c4a35=_0xc7be7b[_0x160df0(0x443)])!=null&&_0x3c4a35[_0x160df0(0x2b3)])){const {objectID:_0x36db9e,objectType:_0x35f1c4}=_0xc7be7b[_0x160df0(0x443)][_0x160df0(0x2b3)]||{};if(!_0x36db9e||_0x35f1c4===void 0x0)return!0x1;const _0x5c1fb1=_0x37241c[_0x160df0(0x3e5)]()+'/'+_0x35f1c4+_0x160df0(0x15f)+_0x36db9e+_0x160df0(0x24b);if(_0xc7be7b[_0x160df0(0x30b)]===_0x5c1fb1)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4b8f58){var _0x2614a=_0x42c0a9,_0x562b91;return(_0x562b91=_0x4b8f58[_0x2614a(0x443)])==null?void 0x0:_0x562b91[_0x2614a(0x2b3)];},'mergeParamsToRequest'(_0x7a498a,_0x799288){var _0x3be650=_0x42c0a9;const _0x305f42=_0x37241c[_0x3be650(0x3e5)]()+'/-/object/-/batch_allowed',_0x28e7b0=_0x7a498a[_0x3be650(0x383)]((_0x46242d,_0x924bcf)=>{var _0x11aa0a=_0x3be650;const {unitID:_0x53521a,objectID:_0x233052,objectType:_0x427ef2,actions:_0x43fee4}=_0x924bcf;return _0x46242d[_0x53521a]||(_0x46242d[_0x53521a]={}),_0x46242d[_0x53521a][_0x233052]||(_0x46242d[_0x53521a][_0x233052]={'objectID':_0x233052,'objectType':_0x427ef2,'actions':[]}),_0x46242d[_0x53521a][_0x233052]['actions'][_0x11aa0a(0x40d)](..._0x43fee4),_0x46242d;},{}),_0x2ea2d9=[];for(const _0xab40e3 in _0x28e7b0)for(const _0x4805a1 in _0x28e7b0[_0xab40e3]){const {actions:_0x38a101,objectType:_0x22aae2}=_0x28e7b0[_0xab40e3][_0x4805a1],_0x52b349=[...new Set(_0x38a101)];_0x2ea2d9[_0x3be650(0x40d)]({'unitID':_0xab40e3,'objectID':_0x4805a1,'objectType':_0x22aae2,'actions':_0x52b349});}return new q[(_0x3be650(0x2bd))](_0x3be650(0x25e),_0x305f42,{'headers':_0x799288[_0x3be650(0x37e)],'withCredentials':_0x799288[_0x3be650(0x38b)],'responseType':_0x799288[_0x3be650(0x3b3)],'body':{'requests':_0x2ea2d9}});}},{'distributeResult'(_0x1ee13a,_0x512ee9){var _0xfaadf5=_0x42c0a9;const {objectActions:_0x4978fa}=_0x1ee13a;return _0x512ee9[_0xfaadf5(0x250)](_0x145f25=>{var _0x249108=_0xfaadf5;const {unitID:_0x1fa761,objectID:_0x6e2ba2,actions:_0x3d868d}=_0x145f25,_0x373497=_0x4978fa[_0x249108(0x20e)](_0x244996=>_0x244996['unitID']===_0x1fa761&&_0x244996['objectID']===_0x6e2ba2),_0x305113=_0x3d868d[_0x249108(0x250)](_0x3a51d4=>_0x373497==null?void 0x0:_0x373497[_0x249108(0x488)][_0x249108(0x20e)](_0x1e0445=>_0x1e0445[_0x249108(0x141)]===_0x3a51d4))[_0x249108(0x3f9)](_0x2eee8e=>!!_0x2eee8e);return{'config':_0x145f25,'result':{'actions':_0x305113,'error':_0x1ee13a[_0x249108(0x450)]}};});}})}));}[_0x2d7ad2(0x3e5)](){var _0x19afea=_0x2d7ad2,_0x1bde14,_0x312b34;const _0x4cdfe1=this[_0x19afea(0x152)]['getConfig'](Ve),_0x38cb48=this[_0x19afea(0x152)][_0x19afea(0x2d0)](Y);return(_0x312b34=(_0x1bde14=_0x38cb48==null?void 0x0:_0x38cb48[_0x19afea(0x1d5)])!=null?_0x1bde14:_0x4cdfe1)!=null?_0x312b34:Kn;}async['create'](_0x264c27){var _0x156e50=_0x2d7ad2;const _0x37e5f3=this[_0x156e50(0x3e5)]()+'/'+_0x264c27[_0x156e50(0x39c)]+_0x156e50(0x146);return(await this['_HTTPService']['post'](_0x37e5f3,{'body':_0x264c27}))[_0x156e50(0x2b3)][_0x156e50(0x335)]||'';}async['list'](_0x2dcc39){var _0x4f2cb7=_0x2d7ad2;const _0x2c4d02=this[_0x4f2cb7(0x3e5)]()+_0x4f2cb7(0x45d);return(await this[_0x4f2cb7(0x308)]['post'](_0x2c4d02,{'body':_0x2dcc39}))[_0x4f2cb7(0x2b3)][_0x4f2cb7(0x3ab)];}async[_0x2d7ad2(0x2e9)](_0x10c7b6){var _0x4afff0=_0x2d7ad2;const _0x25ad67=this[_0x4afff0(0x3e5)]()+'/'+_0x10c7b6[_0x4afff0(0x39c)]+_0x4afff0(0x15f)+_0x10c7b6[_0x4afff0(0x335)];await this[_0x4afff0(0x308)][_0x4afff0(0x363)](_0x25ad67,{'body':_0x10c7b6});}async[_0x2d7ad2(0x3a8)](_0x1af42b){var _0x2ea3c0=_0x2d7ad2;const _0x3f2cf5=this[_0x2ea3c0(0x3e5)]()+'/'+_0x1af42b[_0x2ea3c0(0x39c)]+_0x2ea3c0(0x15f)+_0x1af42b[_0x2ea3c0(0x335)]+_0x2ea3c0(0x24b);return(await this[_0x2ea3c0(0x308)][_0x2ea3c0(0x318)](_0x3f2cf5,{'body':_0x1af42b}))[_0x2ea3c0(0x2b3)][_0x2ea3c0(0x488)];}async[_0x2d7ad2(0x49d)](_0x24efe4){var _0x3ca838=_0x2d7ad2;const _0x4d4333=this[_0x3ca838(0x3e5)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService']['post'](_0x4d4333,{'body':{'requests':_0x24efe4}}))[_0x3ca838(0x2b3)][_0x3ca838(0x16b)];}async[_0x2d7ad2(0x311)](_0x4131b8){var _0x14cf03=_0x2d7ad2;const _0x46bc1c=this['_getAPIPrefixPath']()+'/'+_0x4131b8[_0x14cf03(0x39c)]+_0x14cf03(0x25d),_0x47ad81=await this['_HTTPService'][_0x14cf03(0x318)](_0x46bc1c,{'body':_0x4131b8});return{'roles':_0x47ad81['body'][_0x14cf03(0x167)],'actions':_0x47ad81['body']['actions']};}async[_0x2d7ad2(0x23a)](_0x24ec6e){var _0x55f7b8=_0x2d7ad2;const _0x477321=this[_0x55f7b8(0x3e5)]()+_0x55f7b8(0x1c8);await this[_0x55f7b8(0x308)][_0x55f7b8(0x254)](_0x477321,{'params':{'collaboratorID':_0x24ec6e[_0x55f7b8(0x38d)],'objectID':_0x24ec6e['objectID'],'unitID':_0x24ec6e[_0x55f7b8(0x33d)]}});}async['updateCollaborator'](_0x41d610){var _0x3f06f5=_0x2d7ad2;const _0x518e75=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x3f06f5(0x308)][_0x3f06f5(0x47f)](_0x518e75,{'body':_0x41d610});}async[_0x2d7ad2(0x47c)](_0x56ac40){var _0x341490=_0x2d7ad2;const _0x560dcd=this['_getAPIPrefixPath']()+_0x341490(0x1c8);await this[_0x341490(0x308)]['post'](_0x560dcd,{'body':_0x56ac40});}async[_0x2d7ad2(0x39b)](_0x14fa62){var _0x62e50=_0x2d7ad2;const _0x2b5620=this[_0x62e50(0x3e5)]()+'/collaborator';return(await this[_0x62e50(0x308)]['get'](_0x2b5620,{'params':{'objectID':_0x14fa62[_0x62e50(0x335)],'unitID':_0x14fa62[_0x62e50(0x33d)]}}))[_0x62e50(0x2b3)]['collaborators'];}async[_0x2d7ad2(0x1bf)](_0x54ea8c){var _0x53ad21=_0x2d7ad2;const _0x5b0001=this[_0x53ad21(0x3e5)]()+_0x53ad21(0x1c8);await this[_0x53ad21(0x308)]['put'](_0x5b0001,{'body':_0x54ea8c});}},exports[_0x2d7ad2(0x2b1)]=Vn([Ze(0x0,a[_0x2d7ad2(0x4c3)](q[_0x2d7ad2(0x1f3)])),Ze(0x1,a['Inject'](a[_0x2d7ad2(0x160)]))],exports[_0x2d7ad2(0x2b1)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x5e5ec1){var _0x3790ea=_0x2d7ad2;return _0x5e5ec1&&_0x5e5ec1['__esModule']&&Object[_0x3790ea(0x1be)][_0x3790ea(0x374)][_0x3790ea(0x179)](_0x5e5ec1,_0x3790ea(0x19c))?_0x5e5ec1[_0x3790ea(0x19c)]:_0x5e5ec1;}var Se={'exports':{}};function Yn(_0x5a6ee4){var _0x247065=_0x2d7ad2;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x5a6ee4+_0x247065(0x1e2));}var pe={'exports':{}},qn=pe[_0x2d7ad2(0x2e4)],Qe;function ee(){var _0x13332e=_0x2d7ad2;return Qe||(Qe=0x1,function(_0x5a76f5,_0x501743){(function(_0x547f3a,_0x47181b){var _0x2a9774=_0x38a2;_0x5a76f5[_0x2a9774(0x2e4)]=_0x47181b();}(qn,function(){var _0x4ee540=_0x4ee540||function(_0x4ef90b,_0x2b9a50){var _0xa5ee3=_0x38a2,_0x1ddbbb;if(typeof window<'u'&&window[_0xa5ee3(0x24c)]&&(_0x1ddbbb=window[_0xa5ee3(0x24c)]),typeof self<'u'&&self['crypto']&&(_0x1ddbbb=self[_0xa5ee3(0x24c)]),typeof globalThis<'u'&&globalThis[_0xa5ee3(0x24c)]&&(_0x1ddbbb=globalThis['crypto']),!_0x1ddbbb&&typeof window<'u'&&window[_0xa5ee3(0x391)]&&(_0x1ddbbb=window[_0xa5ee3(0x391)]),!_0x1ddbbb&&typeof Le<'u'&&Le[_0xa5ee3(0x24c)]&&(_0x1ddbbb=Le[_0xa5ee3(0x24c)]),!_0x1ddbbb&&typeof Yn==_0xa5ee3(0x195))try{_0x1ddbbb=require(_0xa5ee3(0x24c));}catch{}var _0x3205e9=function(){var _0x23fa7a=_0xa5ee3;if(_0x1ddbbb){if(typeof _0x1ddbbb['getRandomValues']==_0x23fa7a(0x195))try{return _0x1ddbbb['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1ddbbb[_0x23fa7a(0x2dc)]==_0x23fa7a(0x195))try{return _0x1ddbbb[_0x23fa7a(0x2dc)](0x4)[_0x23fa7a(0x394)]();}catch{}}throw new Error(_0x23fa7a(0x15c));},_0x376057=Object['create']||(function(){function _0x496616(){}return function(_0x354598){var _0x5bc553=_0x38a2,_0x3aff1e;return _0x496616[_0x5bc553(0x1be)]=_0x354598,_0x3aff1e=new _0x496616(),_0x496616[_0x5bc553(0x1be)]=null,_0x3aff1e;};}()),_0x2b45cf={},_0x79c237=_0x2b45cf[_0xa5ee3(0x238)]={},_0x59114b=_0x79c237[_0xa5ee3(0x451)]=(function(){return{'extend':function(_0x14b96d){var _0x1a3bff=_0x38a2,_0x1904bc=_0x376057(this);return _0x14b96d&&_0x1904bc['mixIn'](_0x14b96d),(!_0x1904bc[_0x1a3bff(0x374)](_0x1a3bff(0x42b))||this[_0x1a3bff(0x42b)]===_0x1904bc['init'])&&(_0x1904bc[_0x1a3bff(0x42b)]=function(){var _0xdf0d1d=_0x1a3bff;_0x1904bc[_0xdf0d1d(0x3f1)][_0xdf0d1d(0x42b)]['apply'](this,arguments);}),_0x1904bc['init'][_0x1a3bff(0x1be)]=_0x1904bc,_0x1904bc[_0x1a3bff(0x3f1)]=this,_0x1904bc;},'create':function(){var _0xaba079=_0x38a2,_0x449f3e=this[_0xaba079(0x3c3)]();return _0x449f3e['init'][_0xaba079(0x304)](_0x449f3e,arguments),_0x449f3e;},'init':function(){},'mixIn':function(_0x132945){var _0x43249e=_0x38a2;for(var _0x1c3ac6 in _0x132945)_0x132945[_0x43249e(0x374)](_0x1c3ac6)&&(this[_0x1c3ac6]=_0x132945[_0x1c3ac6]);_0x132945['hasOwnProperty'](_0x43249e(0x2a2))&&(this['toString']=_0x132945[_0x43249e(0x2a2)]);},'clone':function(){var _0x27defb=_0x38a2;return this[_0x27defb(0x42b)][_0x27defb(0x1be)]['extend'](this);}};}()),_0xc37887=_0x79c237[_0xa5ee3(0x4ae)]=_0x59114b[_0xa5ee3(0x3c3)]({'init':function(_0x123ac5,_0x570ffa){var _0x5e3d67=_0xa5ee3;_0x123ac5=this[_0x5e3d67(0x463)]=_0x123ac5||[],_0x570ffa!=_0x2b9a50?this['sigBytes']=_0x570ffa:this[_0x5e3d67(0x25c)]=_0x123ac5[_0x5e3d67(0x23c)]*0x4;},'toString':function(_0x44339f){var _0x3dba7e=_0xa5ee3;return(_0x44339f||_0x4b73d0)[_0x3dba7e(0x37a)](this);},'concat':function(_0x3c532e){var _0x86c490=_0xa5ee3,_0x4952f5=this[_0x86c490(0x463)],_0x2ea2e2=_0x3c532e[_0x86c490(0x463)],_0x40090f=this[_0x86c490(0x25c)],_0x59def1=_0x3c532e[_0x86c490(0x25c)];if(this['clamp'](),_0x40090f%0x4)for(var _0x11ad43=0x0;_0x11ad43<_0x59def1;_0x11ad43++){var _0xdbd625=_0x2ea2e2[_0x11ad43>>>0x2]>>>0x18-_0x11ad43%0x4*0x8&0xff;_0x4952f5[_0x40090f+_0x11ad43>>>0x2]|=_0xdbd625<<0x18-(_0x40090f+_0x11ad43)%0x4*0x8;}else{for(var _0x505dbd=0x0;_0x505dbd<_0x59def1;_0x505dbd+=0x4)_0x4952f5[_0x40090f+_0x505dbd>>>0x2]=_0x2ea2e2[_0x505dbd>>>0x2];}return this[_0x86c490(0x25c)]+=_0x59def1,this;},'clamp':function(){var _0x15b34f=_0xa5ee3,_0x39c4c5=this[_0x15b34f(0x463)],_0x356b63=this[_0x15b34f(0x25c)];_0x39c4c5[_0x356b63>>>0x2]&=0xffffffff<<0x20-_0x356b63%0x4*0x8,_0x39c4c5['length']=_0x4ef90b['ceil'](_0x356b63/0x4);},'clone':function(){var _0x3e6116=_0xa5ee3,_0x387e3e=_0x59114b[_0x3e6116(0x3ce)][_0x3e6116(0x179)](this);return _0x387e3e[_0x3e6116(0x463)]=this[_0x3e6116(0x463)][_0x3e6116(0x3a6)](0x0),_0x387e3e;},'random':function(_0x1203a6){var _0x49d574=_0xa5ee3;for(var _0xaec940=[],_0x4b2dc5=0x0;_0x4b2dc5<_0x1203a6;_0x4b2dc5+=0x4)_0xaec940[_0x49d574(0x40d)](_0x3205e9());return new _0xc37887[(_0x49d574(0x42b))](_0xaec940,_0x1203a6);}}),_0x507335=_0x2b45cf[_0xa5ee3(0x41e)]={},_0x4b73d0=_0x507335['Hex']={'stringify':function(_0x5114bf){var _0x5c2c5e=_0xa5ee3;for(var _0x342ae9=_0x5114bf[_0x5c2c5e(0x463)],_0x2d3b0f=_0x5114bf[_0x5c2c5e(0x25c)],_0x3ff5c5=[],_0x367e39=0x0;_0x367e39<_0x2d3b0f;_0x367e39++){var _0x103b3d=_0x342ae9[_0x367e39>>>0x2]>>>0x18-_0x367e39%0x4*0x8&0xff;_0x3ff5c5['push']((_0x103b3d>>>0x4)[_0x5c2c5e(0x2a2)](0x10)),_0x3ff5c5[_0x5c2c5e(0x40d)]((_0x103b3d&0xf)[_0x5c2c5e(0x2a2)](0x10));}return _0x3ff5c5['join']('');},'parse':function(_0xd88fd4){var _0xa9a64e=_0xa5ee3;for(var _0x121ef7=_0xd88fd4[_0xa9a64e(0x23c)],_0x49752a=[],_0x3d6314=0x0;_0x3d6314<_0x121ef7;_0x3d6314+=0x2)_0x49752a[_0x3d6314>>>0x3]|=parseInt(_0xd88fd4[_0xa9a64e(0x257)](_0x3d6314,0x2),0x10)<<0x18-_0x3d6314%0x8*0x4;return new _0xc37887[(_0xa9a64e(0x42b))](_0x49752a,_0x121ef7/0x2);}},_0x2ba9d8=_0x507335['Latin1']={'stringify':function(_0x30861c){var _0x675e81=_0xa5ee3;for(var _0xa9b8dd=_0x30861c[_0x675e81(0x463)],_0x55931e=_0x30861c[_0x675e81(0x25c)],_0x555672=[],_0x47b5d7=0x0;_0x47b5d7<_0x55931e;_0x47b5d7++){var _0x28a125=_0xa9b8dd[_0x47b5d7>>>0x2]>>>0x18-_0x47b5d7%0x4*0x8&0xff;_0x555672[_0x675e81(0x40d)](String['fromCharCode'](_0x28a125));}return _0x555672[_0x675e81(0x1dc)]('');},'parse':function(_0x652c00){var _0x7b2e50=_0xa5ee3;for(var _0x5bf267=_0x652c00['length'],_0x30a9c8=[],_0x57bd82=0x0;_0x57bd82<_0x5bf267;_0x57bd82++)_0x30a9c8[_0x57bd82>>>0x2]|=(_0x652c00[_0x7b2e50(0x231)](_0x57bd82)&0xff)<<0x18-_0x57bd82%0x4*0x8;return new _0xc37887[(_0x7b2e50(0x42b))](_0x30a9c8,_0x5bf267);}},_0x1e0393=_0x507335['Utf8']={'stringify':function(_0x407576){try{return decodeURIComponent(escape(_0x2ba9d8['stringify'](_0x407576)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x288030){var _0x3e854a=_0xa5ee3;return _0x2ba9d8[_0x3e854a(0x41c)](unescape(encodeURIComponent(_0x288030)));}},_0x5a8478=_0x79c237['BufferedBlockAlgorithm']=_0x59114b[_0xa5ee3(0x3c3)]({'reset':function(){var _0x1641bd=_0xa5ee3;this[_0x1641bd(0x283)]=new _0xc37887[(_0x1641bd(0x42b))](),this['_nDataBytes']=0x0;},'_append':function(_0x2710f8){var _0x20e69f=_0xa5ee3;typeof _0x2710f8==_0x20e69f(0x187)&&(_0x2710f8=_0x1e0393[_0x20e69f(0x41c)](_0x2710f8)),this[_0x20e69f(0x283)][_0x20e69f(0x436)](_0x2710f8),this[_0x20e69f(0x208)]+=_0x2710f8[_0x20e69f(0x25c)];},'_process':function(_0x388206){var _0x50cce3=_0xa5ee3,_0x1992ec,_0x409322=this[_0x50cce3(0x283)],_0x19db0b=_0x409322[_0x50cce3(0x463)],_0x251f7c=_0x409322['sigBytes'],_0x234744=this[_0x50cce3(0x1c7)],_0xa557f3=_0x234744*0x4,_0x2bb2a5=_0x251f7c/_0xa557f3;_0x388206?_0x2bb2a5=_0x4ef90b[_0x50cce3(0x395)](_0x2bb2a5):_0x2bb2a5=_0x4ef90b[_0x50cce3(0x252)]((_0x2bb2a5|0x0)-this[_0x50cce3(0x154)],0x0);var _0x53dc34=_0x2bb2a5*_0x234744,_0x5d68ac=_0x4ef90b[_0x50cce3(0x1bb)](_0x53dc34*0x4,_0x251f7c);if(_0x53dc34){for(var _0x5b48da=0x0;_0x5b48da<_0x53dc34;_0x5b48da+=_0x234744)this['_doProcessBlock'](_0x19db0b,_0x5b48da);_0x1992ec=_0x19db0b[_0x50cce3(0x2e8)](0x0,_0x53dc34),_0x409322[_0x50cce3(0x25c)]-=_0x5d68ac;}return new _0xc37887[(_0x50cce3(0x42b))](_0x1992ec,_0x5d68ac);},'clone':function(){var _0x5d84f3=_0xa5ee3,_0x2f3d1f=_0x59114b[_0x5d84f3(0x3ce)][_0x5d84f3(0x179)](this);return _0x2f3d1f['_data']=this['_data'][_0x5d84f3(0x3ce)](),_0x2f3d1f;},'_minBufferSize':0x0});_0x79c237[_0xa5ee3(0x288)]=_0x5a8478[_0xa5ee3(0x3c3)]({'cfg':_0x59114b[_0xa5ee3(0x3c3)](),'init':function(_0x255712){var _0x589546=_0xa5ee3;this[_0x589546(0x2eb)]=this[_0x589546(0x2eb)][_0x589546(0x3c3)](_0x255712),this['reset']();},'reset':function(){var _0x144201=_0xa5ee3;_0x5a8478[_0x144201(0x23d)][_0x144201(0x179)](this),this[_0x144201(0x2db)]();},'update':function(_0x28fcaa){var _0x5b88d3=_0xa5ee3;return this[_0x5b88d3(0x444)](_0x28fcaa),this[_0x5b88d3(0x144)](),this;},'finalize':function(_0x28fae1){var _0x51eedf=_0xa5ee3;_0x28fae1&&this[_0x51eedf(0x444)](_0x28fae1);var _0xe12424=this[_0x51eedf(0x1d8)]();return _0xe12424;},'blockSize':0x10,'_createHelper':function(_0x2b36ac){return function(_0x31c8c0,_0x5a01f2){var _0x491b06=_0x38a2;return new _0x2b36ac[(_0x491b06(0x42b))](_0x5a01f2)['finalize'](_0x31c8c0);};},'_createHmacHelper':function(_0x51431a){return function(_0x4928dc,_0x5c5130){var _0x231774=_0x38a2;return new _0x37d8c0[(_0x231774(0x350))][(_0x231774(0x42b))](_0x51431a,_0x5c5130)[_0x231774(0x276)](_0x4928dc);};}});var _0x37d8c0=_0x2b45cf[_0xa5ee3(0x3d2)]={};return _0x2b45cf;}(Math);return _0x4ee540;}));}(pe)),pe[_0x13332e(0x2e4)];}var me={'exports':{}},zn=me[_0x2d7ad2(0x2e4)],et;function Dt(){var _0x5c36a3=_0x2d7ad2;return et||(et=0x1,function(_0x57e587,_0x10f0d6){(function(_0x4c988d,_0x4fa89c){_0x57e587['exports']=_0x4fa89c(ee());}(zn,function(_0x528f7a){var _0x15635e=_0x38a2;return(function(){var _0x4c76e7=_0x38a2,_0x319aa6=_0x528f7a,_0x122173=_0x319aa6['lib'],_0x1cb9e6=_0x122173[_0x4c76e7(0x4ae)],_0x29088b=_0x319aa6['enc'];_0x29088b[_0x4c76e7(0x3ee)]={'stringify':function(_0xd6f72b){var _0x1395f4=_0x4c76e7,_0xe3b32a=_0xd6f72b[_0x1395f4(0x463)],_0x3a9a7f=_0xd6f72b[_0x1395f4(0x25c)],_0x449fe8=this['_map'];_0xd6f72b[_0x1395f4(0x462)]();for(var _0x1d51c5=[],_0x30e6cd=0x0;_0x30e6cd<_0x3a9a7f;_0x30e6cd+=0x3)for(var _0x117769=_0xe3b32a[_0x30e6cd>>>0x2]>>>0x18-_0x30e6cd%0x4*0x8&0xff,_0x4fc815=_0xe3b32a[_0x30e6cd+0x1>>>0x2]>>>0x18-(_0x30e6cd+0x1)%0x4*0x8&0xff,_0x4dd115=_0xe3b32a[_0x30e6cd+0x2>>>0x2]>>>0x18-(_0x30e6cd+0x2)%0x4*0x8&0xff,_0x12137d=_0x117769<<0x10|_0x4fc815<<0x8|_0x4dd115,_0x39199f=0x0;_0x39199f<0x4&&_0x30e6cd+_0x39199f*0.75<_0x3a9a7f;_0x39199f++)_0x1d51c5['push'](_0x449fe8[_0x1395f4(0x172)](_0x12137d>>>0x6*(0x3-_0x39199f)&0x3f));var _0x119619=_0x449fe8[_0x1395f4(0x172)](0x40);if(_0x119619){for(;_0x1d51c5[_0x1395f4(0x23c)]%0x4;)_0x1d51c5[_0x1395f4(0x40d)](_0x119619);}return _0x1d51c5['join']('');},'parse':function(_0x14656f){var _0x59962c=_0x4c76e7,_0x2902ba=_0x14656f[_0x59962c(0x23c)],_0x373a98=this[_0x59962c(0x3aa)],_0x46a75e=this[_0x59962c(0x310)];if(!_0x46a75e){_0x46a75e=this[_0x59962c(0x310)]=[];for(var _0x110e5d=0x0;_0x110e5d<_0x373a98[_0x59962c(0x23c)];_0x110e5d++)_0x46a75e[_0x373a98[_0x59962c(0x231)](_0x110e5d)]=_0x110e5d;}var _0x5aa5df=_0x373a98[_0x59962c(0x172)](0x40);if(_0x5aa5df){var _0x3c5165=_0x14656f[_0x59962c(0x2fa)](_0x5aa5df);_0x3c5165!==-0x1&&(_0x2902ba=_0x3c5165);}return _0x55e1d3(_0x14656f,_0x2902ba,_0x46a75e);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x55e1d3(_0x31349b,_0x300faa,_0x14f9b0){var _0x1d298a=_0x4c76e7;for(var _0x5c3356=[],_0x94e74f=0x0,_0x458678=0x0;_0x458678<_0x300faa;_0x458678++)if(_0x458678%0x4){var _0x6838d6=_0x14f9b0[_0x31349b[_0x1d298a(0x231)](_0x458678-0x1)]<<_0x458678%0x4*0x2,_0x30eadd=_0x14f9b0[_0x31349b[_0x1d298a(0x231)](_0x458678)]>>>0x6-_0x458678%0x4*0x2,_0x31dc62=_0x6838d6|_0x30eadd;_0x5c3356[_0x94e74f>>>0x2]|=_0x31dc62<<0x18-_0x94e74f%0x4*0x8,_0x94e74f++;}return _0x1cb9e6[_0x1d298a(0x161)](_0x5c3356,_0x94e74f);}}()),_0x528f7a[_0x15635e(0x41e)][_0x15635e(0x3ee)];}));}(me)),me[_0x5c36a3(0x2e4)];}var ge={'exports':{}},Jn=ge[_0x2d7ad2(0x2e4)],tt;function Xn(){var _0x176278=_0x2d7ad2;return tt||(tt=0x1,function(_0x37bfcd,_0x5d6087){(function(_0x207c32,_0x3148dd){var _0x24e783=_0x38a2;_0x37bfcd[_0x24e783(0x2e4)]=_0x3148dd(ee());}(Jn,function(_0x497d51){return function(_0x423998){var _0x1a107b=_0x38a2,_0x472cf6=_0x497d51,_0x322dad=_0x472cf6[_0x1a107b(0x238)],_0x5bbe33=_0x322dad[_0x1a107b(0x4ae)],_0x76ec59=_0x322dad[_0x1a107b(0x288)],_0x34505f=_0x472cf6['algo'],_0x4ae5a3=[];(function(){var _0x5da1a2=_0x1a107b;for(var _0x1611a7=0x0;_0x1611a7<0x40;_0x1611a7++)_0x4ae5a3[_0x1611a7]=_0x423998[_0x5da1a2(0x3a4)](_0x423998[_0x5da1a2(0x3a2)](_0x1611a7+0x1))*0x100000000|0x0;}());var _0x3f8647=_0x34505f[_0x1a107b(0x19f)]=_0x76ec59[_0x1a107b(0x3c3)]({'_doReset':function(){var _0x216c84=_0x1a107b;this['_hash']=new _0x5bbe33[(_0x216c84(0x42b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5adc35,_0x27a73b){var _0xf27482=_0x1a107b;for(var _0x30b74a=0x0;_0x30b74a<0x10;_0x30b74a++){var _0x2fae17=_0x27a73b+_0x30b74a,_0x155fdd=_0x5adc35[_0x2fae17];_0x5adc35[_0x2fae17]=(_0x155fdd<<0x8|_0x155fdd>>>0x18)&0xff00ff|(_0x155fdd<<0x18|_0x155fdd>>>0x8)&0xff00ff00;}var _0x3621b4=this[_0xf27482(0x28b)]['words'],_0x2f008b=_0x5adc35[_0x27a73b+0x0],_0x2fc142=_0x5adc35[_0x27a73b+0x1],_0x35e74c=_0x5adc35[_0x27a73b+0x2],_0x3be418=_0x5adc35[_0x27a73b+0x3],_0x6308f9=_0x5adc35[_0x27a73b+0x4],_0x4dcb94=_0x5adc35[_0x27a73b+0x5],_0x1c0437=_0x5adc35[_0x27a73b+0x6],_0x33da6b=_0x5adc35[_0x27a73b+0x7],_0x348948=_0x5adc35[_0x27a73b+0x8],_0x4e968a=_0x5adc35[_0x27a73b+0x9],_0x50df3b=_0x5adc35[_0x27a73b+0xa],_0x433e96=_0x5adc35[_0x27a73b+0xb],_0x5a6de7=_0x5adc35[_0x27a73b+0xc],_0x165e0a=_0x5adc35[_0x27a73b+0xd],_0xcfd667=_0x5adc35[_0x27a73b+0xe],_0x599fe1=_0x5adc35[_0x27a73b+0xf],_0x55cdb3=_0x3621b4[0x0],_0x45a041=_0x3621b4[0x1],_0x22f39e=_0x3621b4[0x2],_0x258ad2=_0x3621b4[0x3];_0x55cdb3=_0x3a21b(_0x55cdb3,_0x45a041,_0x22f39e,_0x258ad2,_0x2f008b,0x7,_0x4ae5a3[0x0]),_0x258ad2=_0x3a21b(_0x258ad2,_0x55cdb3,_0x45a041,_0x22f39e,_0x2fc142,0xc,_0x4ae5a3[0x1]),_0x22f39e=_0x3a21b(_0x22f39e,_0x258ad2,_0x55cdb3,_0x45a041,_0x35e74c,0x11,_0x4ae5a3[0x2]),_0x45a041=_0x3a21b(_0x45a041,_0x22f39e,_0x258ad2,_0x55cdb3,_0x3be418,0x16,_0x4ae5a3[0x3]),_0x55cdb3=_0x3a21b(_0x55cdb3,_0x45a041,_0x22f39e,_0x258ad2,_0x6308f9,0x7,_0x4ae5a3[0x4]),_0x258ad2=_0x3a21b(_0x258ad2,_0x55cdb3,_0x45a041,_0x22f39e,_0x4dcb94,0xc,_0x4ae5a3[0x5]),_0x22f39e=_0x3a21b(_0x22f39e,_0x258ad2,_0x55cdb3,_0x45a041,_0x1c0437,0x11,_0x4ae5a3[0x6]),_0x45a041=_0x3a21b(_0x45a041,_0x22f39e,_0x258ad2,_0x55cdb3,_0x33da6b,0x16,_0x4ae5a3[0x7]),_0x55cdb3=_0x3a21b(_0x55cdb3,_0x45a041,_0x22f39e,_0x258ad2,_0x348948,0x7,_0x4ae5a3[0x8]),_0x258ad2=_0x3a21b(_0x258ad2,_0x55cdb3,_0x45a041,_0x22f39e,_0x4e968a,0xc,_0x4ae5a3[0x9]),_0x22f39e=_0x3a21b(_0x22f39e,_0x258ad2,_0x55cdb3,_0x45a041,_0x50df3b,0x11,_0x4ae5a3[0xa]),_0x45a041=_0x3a21b(_0x45a041,_0x22f39e,_0x258ad2,_0x55cdb3,_0x433e96,0x16,_0x4ae5a3[0xb]),_0x55cdb3=_0x3a21b(_0x55cdb3,_0x45a041,_0x22f39e,_0x258ad2,_0x5a6de7,0x7,_0x4ae5a3[0xc]),_0x258ad2=_0x3a21b(_0x258ad2,_0x55cdb3,_0x45a041,_0x22f39e,_0x165e0a,0xc,_0x4ae5a3[0xd]),_0x22f39e=_0x3a21b(_0x22f39e,_0x258ad2,_0x55cdb3,_0x45a041,_0xcfd667,0x11,_0x4ae5a3[0xe]),_0x45a041=_0x3a21b(_0x45a041,_0x22f39e,_0x258ad2,_0x55cdb3,_0x599fe1,0x16,_0x4ae5a3[0xf]),_0x55cdb3=_0x187458(_0x55cdb3,_0x45a041,_0x22f39e,_0x258ad2,_0x2fc142,0x5,_0x4ae5a3[0x10]),_0x258ad2=_0x187458(_0x258ad2,_0x55cdb3,_0x45a041,_0x22f39e,_0x1c0437,0x9,_0x4ae5a3[0x11]),_0x22f39e=_0x187458(_0x22f39e,_0x258ad2,_0x55cdb3,_0x45a041,_0x433e96,0xe,_0x4ae5a3[0x12]),_0x45a041=_0x187458(_0x45a041,_0x22f39e,_0x258ad2,_0x55cdb3,_0x2f008b,0x14,_0x4ae5a3[0x13]),_0x55cdb3=_0x187458(_0x55cdb3,_0x45a041,_0x22f39e,_0x258ad2,_0x4dcb94,0x5,_0x4ae5a3[0x14]),_0x258ad2=_0x187458(_0x258ad2,_0x55cdb3,_0x45a041,_0x22f39e,_0x50df3b,0x9,_0x4ae5a3[0x15]),_0x22f39e=_0x187458(_0x22f39e,_0x258ad2,_0x55cdb3,_0x45a041,_0x599fe1,0xe,_0x4ae5a3[0x16]),_0x45a041=_0x187458(_0x45a041,_0x22f39e,_0x258ad2,_0x55cdb3,_0x6308f9,0x14,_0x4ae5a3[0x17]),_0x55cdb3=_0x187458(_0x55cdb3,_0x45a041,_0x22f39e,_0x258ad2,_0x4e968a,0x5,_0x4ae5a3[0x18]),_0x258ad2=_0x187458(_0x258ad2,_0x55cdb3,_0x45a041,_0x22f39e,_0xcfd667,0x9,_0x4ae5a3[0x19]),_0x22f39e=_0x187458(_0x22f39e,_0x258ad2,_0x55cdb3,_0x45a041,_0x3be418,0xe,_0x4ae5a3[0x1a]),_0x45a041=_0x187458(_0x45a041,_0x22f39e,_0x258ad2,_0x55cdb3,_0x348948,0x14,_0x4ae5a3[0x1b]),_0x55cdb3=_0x187458(_0x55cdb3,_0x45a041,_0x22f39e,_0x258ad2,_0x165e0a,0x5,_0x4ae5a3[0x1c]),_0x258ad2=_0x187458(_0x258ad2,_0x55cdb3,_0x45a041,_0x22f39e,_0x35e74c,0x9,_0x4ae5a3[0x1d]),_0x22f39e=_0x187458(_0x22f39e,_0x258ad2,_0x55cdb3,_0x45a041,_0x33da6b,0xe,_0x4ae5a3[0x1e]),_0x45a041=_0x187458(_0x45a041,_0x22f39e,_0x258ad2,_0x55cdb3,_0x5a6de7,0x14,_0x4ae5a3[0x1f]),_0x55cdb3=_0x1d4229(_0x55cdb3,_0x45a041,_0x22f39e,_0x258ad2,_0x4dcb94,0x4,_0x4ae5a3[0x20]),_0x258ad2=_0x1d4229(_0x258ad2,_0x55cdb3,_0x45a041,_0x22f39e,_0x348948,0xb,_0x4ae5a3[0x21]),_0x22f39e=_0x1d4229(_0x22f39e,_0x258ad2,_0x55cdb3,_0x45a041,_0x433e96,0x10,_0x4ae5a3[0x22]),_0x45a041=_0x1d4229(_0x45a041,_0x22f39e,_0x258ad2,_0x55cdb3,_0xcfd667,0x17,_0x4ae5a3[0x23]),_0x55cdb3=_0x1d4229(_0x55cdb3,_0x45a041,_0x22f39e,_0x258ad2,_0x2fc142,0x4,_0x4ae5a3[0x24]),_0x258ad2=_0x1d4229(_0x258ad2,_0x55cdb3,_0x45a041,_0x22f39e,_0x6308f9,0xb,_0x4ae5a3[0x25]),_0x22f39e=_0x1d4229(_0x22f39e,_0x258ad2,_0x55cdb3,_0x45a041,_0x33da6b,0x10,_0x4ae5a3[0x26]),_0x45a041=_0x1d4229(_0x45a041,_0x22f39e,_0x258ad2,_0x55cdb3,_0x50df3b,0x17,_0x4ae5a3[0x27]),_0x55cdb3=_0x1d4229(_0x55cdb3,_0x45a041,_0x22f39e,_0x258ad2,_0x165e0a,0x4,_0x4ae5a3[0x28]),_0x258ad2=_0x1d4229(_0x258ad2,_0x55cdb3,_0x45a041,_0x22f39e,_0x2f008b,0xb,_0x4ae5a3[0x29]),_0x22f39e=_0x1d4229(_0x22f39e,_0x258ad2,_0x55cdb3,_0x45a041,_0x3be418,0x10,_0x4ae5a3[0x2a]),_0x45a041=_0x1d4229(_0x45a041,_0x22f39e,_0x258ad2,_0x55cdb3,_0x1c0437,0x17,_0x4ae5a3[0x2b]),_0x55cdb3=_0x1d4229(_0x55cdb3,_0x45a041,_0x22f39e,_0x258ad2,_0x4e968a,0x4,_0x4ae5a3[0x2c]),_0x258ad2=_0x1d4229(_0x258ad2,_0x55cdb3,_0x45a041,_0x22f39e,_0x5a6de7,0xb,_0x4ae5a3[0x2d]),_0x22f39e=_0x1d4229(_0x22f39e,_0x258ad2,_0x55cdb3,_0x45a041,_0x599fe1,0x10,_0x4ae5a3[0x2e]),_0x45a041=_0x1d4229(_0x45a041,_0x22f39e,_0x258ad2,_0x55cdb3,_0x35e74c,0x17,_0x4ae5a3[0x2f]),_0x55cdb3=_0x124615(_0x55cdb3,_0x45a041,_0x22f39e,_0x258ad2,_0x2f008b,0x6,_0x4ae5a3[0x30]),_0x258ad2=_0x124615(_0x258ad2,_0x55cdb3,_0x45a041,_0x22f39e,_0x33da6b,0xa,_0x4ae5a3[0x31]),_0x22f39e=_0x124615(_0x22f39e,_0x258ad2,_0x55cdb3,_0x45a041,_0xcfd667,0xf,_0x4ae5a3[0x32]),_0x45a041=_0x124615(_0x45a041,_0x22f39e,_0x258ad2,_0x55cdb3,_0x4dcb94,0x15,_0x4ae5a3[0x33]),_0x55cdb3=_0x124615(_0x55cdb3,_0x45a041,_0x22f39e,_0x258ad2,_0x5a6de7,0x6,_0x4ae5a3[0x34]),_0x258ad2=_0x124615(_0x258ad2,_0x55cdb3,_0x45a041,_0x22f39e,_0x3be418,0xa,_0x4ae5a3[0x35]),_0x22f39e=_0x124615(_0x22f39e,_0x258ad2,_0x55cdb3,_0x45a041,_0x50df3b,0xf,_0x4ae5a3[0x36]),_0x45a041=_0x124615(_0x45a041,_0x22f39e,_0x258ad2,_0x55cdb3,_0x2fc142,0x15,_0x4ae5a3[0x37]),_0x55cdb3=_0x124615(_0x55cdb3,_0x45a041,_0x22f39e,_0x258ad2,_0x348948,0x6,_0x4ae5a3[0x38]),_0x258ad2=_0x124615(_0x258ad2,_0x55cdb3,_0x45a041,_0x22f39e,_0x599fe1,0xa,_0x4ae5a3[0x39]),_0x22f39e=_0x124615(_0x22f39e,_0x258ad2,_0x55cdb3,_0x45a041,_0x1c0437,0xf,_0x4ae5a3[0x3a]),_0x45a041=_0x124615(_0x45a041,_0x22f39e,_0x258ad2,_0x55cdb3,_0x165e0a,0x15,_0x4ae5a3[0x3b]),_0x55cdb3=_0x124615(_0x55cdb3,_0x45a041,_0x22f39e,_0x258ad2,_0x6308f9,0x6,_0x4ae5a3[0x3c]),_0x258ad2=_0x124615(_0x258ad2,_0x55cdb3,_0x45a041,_0x22f39e,_0x433e96,0xa,_0x4ae5a3[0x3d]),_0x22f39e=_0x124615(_0x22f39e,_0x258ad2,_0x55cdb3,_0x45a041,_0x35e74c,0xf,_0x4ae5a3[0x3e]),_0x45a041=_0x124615(_0x45a041,_0x22f39e,_0x258ad2,_0x55cdb3,_0x4e968a,0x15,_0x4ae5a3[0x3f]),_0x3621b4[0x0]=_0x3621b4[0x0]+_0x55cdb3|0x0,_0x3621b4[0x1]=_0x3621b4[0x1]+_0x45a041|0x0,_0x3621b4[0x2]=_0x3621b4[0x2]+_0x22f39e|0x0,_0x3621b4[0x3]=_0x3621b4[0x3]+_0x258ad2|0x0;},'_doFinalize':function(){var _0x1b4211=_0x1a107b,_0x3b2b7d=this[_0x1b4211(0x283)],_0x15a550=_0x3b2b7d[_0x1b4211(0x463)],_0x154f5a=this['_nDataBytes']*0x8,_0x5e834d=_0x3b2b7d[_0x1b4211(0x25c)]*0x8;_0x15a550[_0x5e834d>>>0x5]|=0x80<<0x18-_0x5e834d%0x20;var _0x1efe81=_0x423998[_0x1b4211(0x4b7)](_0x154f5a/0x100000000),_0x47cedf=_0x154f5a;_0x15a550[(_0x5e834d+0x40>>>0x9<<0x4)+0xf]=(_0x1efe81<<0x8|_0x1efe81>>>0x18)&0xff00ff|(_0x1efe81<<0x18|_0x1efe81>>>0x8)&0xff00ff00,_0x15a550[(_0x5e834d+0x40>>>0x9<<0x4)+0xe]=(_0x47cedf<<0x8|_0x47cedf>>>0x18)&0xff00ff|(_0x47cedf<<0x18|_0x47cedf>>>0x8)&0xff00ff00,_0x3b2b7d['sigBytes']=(_0x15a550['length']+0x1)*0x4,this[_0x1b4211(0x144)]();for(var _0x9f50bc=this[_0x1b4211(0x28b)],_0x364e74=_0x9f50bc[_0x1b4211(0x463)],_0x15392c=0x0;_0x15392c<0x4;_0x15392c++){var _0x255337=_0x364e74[_0x15392c];_0x364e74[_0x15392c]=(_0x255337<<0x8|_0x255337>>>0x18)&0xff00ff|(_0x255337<<0x18|_0x255337>>>0x8)&0xff00ff00;}return _0x9f50bc;},'clone':function(){var _0x380d2f=_0x1a107b,_0x71dde4=_0x76ec59[_0x380d2f(0x3ce)][_0x380d2f(0x179)](this);return _0x71dde4[_0x380d2f(0x28b)]=this[_0x380d2f(0x28b)][_0x380d2f(0x3ce)](),_0x71dde4;}});function _0x3a21b(_0x501f10,_0x5018c6,_0x241f42,_0x587285,_0x22e1e3,_0x509913,_0x5c9a7d){var _0x5015c9=_0x501f10+(_0x5018c6&_0x241f42|~_0x5018c6&_0x587285)+_0x22e1e3+_0x5c9a7d;return(_0x5015c9<<_0x509913|_0x5015c9>>>0x20-_0x509913)+_0x5018c6;}function _0x187458(_0x555435,_0x13856a,_0x22cc01,_0x4d2b28,_0x1c2446,_0xb46652,_0x7f3cfe){var _0x1a2b85=_0x555435+(_0x13856a&_0x4d2b28|_0x22cc01&~_0x4d2b28)+_0x1c2446+_0x7f3cfe;return(_0x1a2b85<<_0xb46652|_0x1a2b85>>>0x20-_0xb46652)+_0x13856a;}function _0x1d4229(_0x424e57,_0x2091d6,_0x19f4f5,_0x1efb9c,_0x5b1e85,_0x23ffe6,_0x8351b3){var _0x6705d7=_0x424e57+(_0x2091d6^_0x19f4f5^_0x1efb9c)+_0x5b1e85+_0x8351b3;return(_0x6705d7<<_0x23ffe6|_0x6705d7>>>0x20-_0x23ffe6)+_0x2091d6;}function _0x124615(_0x1402d8,_0x497036,_0x24cb13,_0x1553b,_0x2bd749,_0x25a19d,_0x2fc6b6){var _0x55188c=_0x1402d8+(_0x24cb13^(_0x497036|~_0x1553b))+_0x2bd749+_0x2fc6b6;return(_0x55188c<<_0x25a19d|_0x55188c>>>0x20-_0x25a19d)+_0x497036;}_0x472cf6['MD5']=_0x76ec59[_0x1a107b(0x460)](_0x3f8647),_0x472cf6[_0x1a107b(0x297)]=_0x76ec59[_0x1a107b(0x361)](_0x3f8647);}(Math),_0x497d51['MD5'];}));}(ge)),ge[_0x176278(0x2e4)];}var Ie={'exports':{}},Ee={'exports':{}},Zn=Ee['exports'],nt;function Qn(){var _0x13cb37=_0x2d7ad2;return nt||(nt=0x1,function(_0x1bd0b3,_0xaf6ab3){(function(_0x438a6b,_0x10580e){var _0x53e487=_0x38a2;_0x1bd0b3[_0x53e487(0x2e4)]=_0x10580e(ee());}(Zn,function(_0x15b7b5){var _0x49014c=_0x38a2;return(function(){var _0x166d0d=_0x38a2,_0x3c191b=_0x15b7b5,_0x3c973d=_0x3c191b[_0x166d0d(0x238)],_0x483bef=_0x3c973d['WordArray'],_0x1f74b5=_0x3c973d[_0x166d0d(0x288)],_0x1ea092=_0x3c191b[_0x166d0d(0x3d2)],_0x2172ac=[],_0x348750=_0x1ea092[_0x166d0d(0x434)]=_0x1f74b5[_0x166d0d(0x3c3)]({'_doReset':function(){var _0x4b250d=_0x166d0d;this[_0x4b250d(0x28b)]=new _0x483bef['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x40ae20,_0x2fe95f){var _0x219a86=_0x166d0d;for(var _0x157d06=this[_0x219a86(0x28b)][_0x219a86(0x463)],_0x18a3b6=_0x157d06[0x0],_0x1f6c31=_0x157d06[0x1],_0x35f5fe=_0x157d06[0x2],_0x2e121a=_0x157d06[0x3],_0x40a103=_0x157d06[0x4],_0x3b8ea9=0x0;_0x3b8ea9<0x50;_0x3b8ea9++){if(_0x3b8ea9<0x10)_0x2172ac[_0x3b8ea9]=_0x40ae20[_0x2fe95f+_0x3b8ea9]|0x0;else{var _0x2f3ce9=_0x2172ac[_0x3b8ea9-0x3]^_0x2172ac[_0x3b8ea9-0x8]^_0x2172ac[_0x3b8ea9-0xe]^_0x2172ac[_0x3b8ea9-0x10];_0x2172ac[_0x3b8ea9]=_0x2f3ce9<<0x1|_0x2f3ce9>>>0x1f;}var _0x5d40ea=(_0x18a3b6<<0x5|_0x18a3b6>>>0x1b)+_0x40a103+_0x2172ac[_0x3b8ea9];_0x3b8ea9<0x14?_0x5d40ea+=(_0x1f6c31&_0x35f5fe|~_0x1f6c31&_0x2e121a)+0x5a827999:_0x3b8ea9<0x28?_0x5d40ea+=(_0x1f6c31^_0x35f5fe^_0x2e121a)+0x6ed9eba1:_0x3b8ea9<0x3c?_0x5d40ea+=(_0x1f6c31&_0x35f5fe|_0x1f6c31&_0x2e121a|_0x35f5fe&_0x2e121a)-0x70e44324:_0x5d40ea+=(_0x1f6c31^_0x35f5fe^_0x2e121a)-0x359d3e2a,_0x40a103=_0x2e121a,_0x2e121a=_0x35f5fe,_0x35f5fe=_0x1f6c31<<0x1e|_0x1f6c31>>>0x2,_0x1f6c31=_0x18a3b6,_0x18a3b6=_0x5d40ea;}_0x157d06[0x0]=_0x157d06[0x0]+_0x18a3b6|0x0,_0x157d06[0x1]=_0x157d06[0x1]+_0x1f6c31|0x0,_0x157d06[0x2]=_0x157d06[0x2]+_0x35f5fe|0x0,_0x157d06[0x3]=_0x157d06[0x3]+_0x2e121a|0x0,_0x157d06[0x4]=_0x157d06[0x4]+_0x40a103|0x0;},'_doFinalize':function(){var _0x25930a=_0x166d0d,_0x37d22e=this['_data'],_0x1dd9b7=_0x37d22e[_0x25930a(0x463)],_0x3f2f3c=this[_0x25930a(0x208)]*0x8,_0x2d372e=_0x37d22e['sigBytes']*0x8;return _0x1dd9b7[_0x2d372e>>>0x5]|=0x80<<0x18-_0x2d372e%0x20,_0x1dd9b7[(_0x2d372e+0x40>>>0x9<<0x4)+0xe]=Math[_0x25930a(0x4b7)](_0x3f2f3c/0x100000000),_0x1dd9b7[(_0x2d372e+0x40>>>0x9<<0x4)+0xf]=_0x3f2f3c,_0x37d22e[_0x25930a(0x25c)]=_0x1dd9b7[_0x25930a(0x23c)]*0x4,this['_process'](),this[_0x25930a(0x28b)];},'clone':function(){var _0x31b369=_0x166d0d,_0x1ced02=_0x1f74b5['clone']['call'](this);return _0x1ced02['_hash']=this[_0x31b369(0x28b)][_0x31b369(0x3ce)](),_0x1ced02;}});_0x3c191b[_0x166d0d(0x434)]=_0x1f74b5[_0x166d0d(0x460)](_0x348750),_0x3c191b[_0x166d0d(0x30e)]=_0x1f74b5[_0x166d0d(0x361)](_0x348750);}()),_0x15b7b5[_0x49014c(0x434)];}));}(Ee)),Ee[_0x13cb37(0x2e4)];}var Ce={'exports':{}},ei=Ce['exports'],it;function ti(){var _0x5e8faf=_0x2d7ad2;return it||(it=0x1,function(_0x4b023a,_0x332c7f){(function(_0x38ec8b,_0x2ee3fb){_0x4b023a['exports']=_0x2ee3fb(ee());}(ei,function(_0x5eb669){(function(){var _0x523825=_0x38a2,_0xf5474e=_0x5eb669,_0x536922=_0xf5474e[_0x523825(0x238)],_0x4b53bf=_0x536922['Base'],_0x374b59=_0xf5474e[_0x523825(0x41e)],_0x3cffa9=_0x374b59[_0x523825(0x213)],_0x20f373=_0xf5474e[_0x523825(0x3d2)];_0x20f373[_0x523825(0x350)]=_0x4b53bf[_0x523825(0x3c3)]({'init':function(_0x109976,_0x14c7fc){var _0x193f57=_0x523825;_0x109976=this[_0x193f57(0x18d)]=new _0x109976[(_0x193f57(0x42b))](),typeof _0x14c7fc==_0x193f57(0x187)&&(_0x14c7fc=_0x3cffa9[_0x193f57(0x41c)](_0x14c7fc));var _0x26aadd=_0x109976[_0x193f57(0x1c7)],_0x5de05a=_0x26aadd*0x4;_0x14c7fc[_0x193f57(0x25c)]>_0x5de05a&&(_0x14c7fc=_0x109976[_0x193f57(0x276)](_0x14c7fc)),_0x14c7fc[_0x193f57(0x462)]();for(var _0x8288c9=this[_0x193f57(0x4b3)]=_0x14c7fc[_0x193f57(0x3ce)](),_0xc2f671=this[_0x193f57(0x149)]=_0x14c7fc['clone'](),_0x57ca49=_0x8288c9['words'],_0x1dc7f6=_0xc2f671[_0x193f57(0x463)],_0x3ee101=0x0;_0x3ee101<_0x26aadd;_0x3ee101++)_0x57ca49[_0x3ee101]^=0x5c5c5c5c,_0x1dc7f6[_0x3ee101]^=0x36363636;_0x8288c9['sigBytes']=_0xc2f671[_0x193f57(0x25c)]=_0x5de05a,this[_0x193f57(0x23d)]();},'reset':function(){var _0x81b4d1=_0x523825,_0x3964bf=this['_hasher'];_0x3964bf[_0x81b4d1(0x23d)](),_0x3964bf['update'](this[_0x81b4d1(0x149)]);},'update':function(_0x2d7fb3){var _0x2d8e32=_0x523825;return this[_0x2d8e32(0x18d)][_0x2d8e32(0x2e9)](_0x2d7fb3),this;},'finalize':function(_0x4c6c02){var _0x170b1f=_0x523825,_0x499128=this[_0x170b1f(0x18d)],_0x5c7bc0=_0x499128[_0x170b1f(0x276)](_0x4c6c02);_0x499128[_0x170b1f(0x23d)]();var _0x448641=_0x499128[_0x170b1f(0x276)](this[_0x170b1f(0x4b3)][_0x170b1f(0x3ce)]()[_0x170b1f(0x436)](_0x5c7bc0));return _0x448641;}});}());}));}(Ce)),Ce[_0x5e8faf(0x2e4)];}var ni=Ie[_0x2d7ad2(0x2e4)],rt;function wt(){var _0x56d262=_0x2d7ad2;return rt||(rt=0x1,function(_0x28a1ef,_0x5c2762){(function(_0x134ea8,_0x535cca,_0x2cf372){var _0x2f3c3e=_0x38a2;_0x28a1ef[_0x2f3c3e(0x2e4)]=_0x535cca(ee(),Qn(),ti());}(ni,function(_0x1b227f){var _0x14b101=_0x38a2;return(function(){var _0x6526cf=_0x38a2,_0x1051e4=_0x1b227f,_0x17ee10=_0x1051e4[_0x6526cf(0x238)],_0x408a1e=_0x17ee10[_0x6526cf(0x451)],_0x238065=_0x17ee10['WordArray'],_0x375da1=_0x1051e4[_0x6526cf(0x3d2)],_0x91e42f=_0x375da1['MD5'],_0x115591=_0x375da1['EvpKDF']=_0x408a1e['extend']({'cfg':_0x408a1e['extend']({'keySize':0x80/0x20,'hasher':_0x91e42f,'iterations':0x1}),'init':function(_0xb6fc32){var _0x4f15be=_0x6526cf;this[_0x4f15be(0x2eb)]=this[_0x4f15be(0x2eb)][_0x4f15be(0x3c3)](_0xb6fc32);},'compute':function(_0x4eaa26,_0x1266be){var _0x1d9fae=_0x6526cf;for(var _0x27ed48,_0x562b28=this[_0x1d9fae(0x2eb)],_0x2e3288=_0x562b28[_0x1d9fae(0x369)][_0x1d9fae(0x161)](),_0x4f5356=_0x238065[_0x1d9fae(0x161)](),_0x4b8cec=_0x4f5356['words'],_0x3e7907=_0x562b28[_0x1d9fae(0x367)],_0x4c2ebc=_0x562b28[_0x1d9fae(0x373)];_0x4b8cec['length']<_0x3e7907;){_0x27ed48&&_0x2e3288['update'](_0x27ed48),_0x27ed48=_0x2e3288[_0x1d9fae(0x2e9)](_0x4eaa26)['finalize'](_0x1266be),_0x2e3288[_0x1d9fae(0x23d)]();for(var _0x4ff6da=0x1;_0x4ff6da<_0x4c2ebc;_0x4ff6da++)_0x27ed48=_0x2e3288[_0x1d9fae(0x276)](_0x27ed48),_0x2e3288[_0x1d9fae(0x23d)]();_0x4f5356[_0x1d9fae(0x436)](_0x27ed48);}return _0x4f5356[_0x1d9fae(0x25c)]=_0x3e7907*0x4,_0x4f5356;}});_0x1051e4[_0x6526cf(0x287)]=function(_0x4c9c36,_0x52f3da,_0x5b5d9e){var _0x5d0f83=_0x6526cf;return _0x115591[_0x5d0f83(0x161)](_0x5b5d9e)[_0x5d0f83(0x32d)](_0x4c9c36,_0x52f3da);};}()),_0x1b227f[_0x14b101(0x287)];}));}(Ie)),Ie[_0x56d262(0x2e4)];}var Te={'exports':{}},ii=Te[_0x2d7ad2(0x2e4)],st;function At(){return st||(st=0x1,function(_0x2ba4cd,_0x3a4356){(function(_0x1ca52a,_0x9ed09c,_0x17cc8a){var _0x4d0f98=_0x38a2;_0x2ba4cd[_0x4d0f98(0x2e4)]=_0x9ed09c(ee(),wt());}(ii,function(_0x23bc54){var _0x1abe92=_0x38a2;_0x23bc54[_0x1abe92(0x238)][_0x1abe92(0x1ee)]||function(_0x49720a){var _0xd98f75=_0x1abe92,_0x2e6676=_0x23bc54,_0x535f2d=_0x2e6676['lib'],_0x2b5910=_0x535f2d[_0xd98f75(0x451)],_0x4f62ed=_0x535f2d['WordArray'],_0x3512ca=_0x535f2d['BufferedBlockAlgorithm'],_0x230860=_0x2e6676[_0xd98f75(0x41e)];_0x230860[_0xd98f75(0x213)];var _0x4f575d=_0x230860[_0xd98f75(0x3ee)],_0x3666ba=_0x2e6676[_0xd98f75(0x3d2)],_0xaa780e=_0x3666ba['EvpKDF'],_0x10bc09=_0x535f2d[_0xd98f75(0x1ee)]=_0x3512ca[_0xd98f75(0x3c3)]({'cfg':_0x2b5910[_0xd98f75(0x3c3)](),'createEncryptor':function(_0x23a52f,_0x5d9b86){var _0x147f4a=_0xd98f75;return this[_0x147f4a(0x161)](this[_0x147f4a(0x48d)],_0x23a52f,_0x5d9b86);},'createDecryptor':function(_0x315a50,_0x3db5df){var _0x2e0970=_0xd98f75;return this[_0x2e0970(0x161)](this[_0x2e0970(0x14c)],_0x315a50,_0x3db5df);},'init':function(_0x34550e,_0x22b11b,_0xb5aeb2){var _0x4abcdf=_0xd98f75;this[_0x4abcdf(0x2eb)]=this[_0x4abcdf(0x2eb)][_0x4abcdf(0x3c3)](_0xb5aeb2),this[_0x4abcdf(0x2dd)]=_0x34550e,this[_0x4abcdf(0x19d)]=_0x22b11b,this[_0x4abcdf(0x23d)]();},'reset':function(){var _0x23633b=_0xd98f75;_0x3512ca[_0x23633b(0x23d)][_0x23633b(0x179)](this),this['_doReset']();},'process':function(_0x1bdca0){var _0x501be2=_0xd98f75;return this[_0x501be2(0x444)](_0x1bdca0),this['_process']();},'finalize':function(_0x35e985){var _0xeaebfa=_0xd98f75;_0x35e985&&this[_0xeaebfa(0x444)](_0x35e985);var _0x3f7921=this[_0xeaebfa(0x1d8)]();return _0x3f7921;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xfd930(_0x49050e){var _0x516192=_0x38a2;return typeof _0x49050e==_0x516192(0x187)?_0x532aad:_0x56dac8;}return function(_0x378d7b){return{'encrypt':function(_0x2d9f1c,_0x6976aa,_0x1e4d2d){var _0x19d364=_0x38a2;return _0xfd930(_0x6976aa)[_0x19d364(0x3e7)](_0x378d7b,_0x2d9f1c,_0x6976aa,_0x1e4d2d);},'decrypt':function(_0x41de2d,_0x5309ba,_0x49eecc){return _0xfd930(_0x5309ba)['decrypt'](_0x378d7b,_0x41de2d,_0x5309ba,_0x49eecc);}};};}())});_0x535f2d['StreamCipher']=_0x10bc09[_0xd98f75(0x3c3)]({'_doFinalize':function(){var _0xd3216a=_0xd98f75,_0x3f739c=this[_0xd3216a(0x144)](!0x0);return _0x3f739c;},'blockSize':0x1});var _0x55701e=_0x2e6676['mode']={},_0x5d7ffa=_0x535f2d[_0xd98f75(0x446)]=_0x2b5910['extend']({'createEncryptor':function(_0x4694d4,_0x2b016f){var _0x539159=_0xd98f75;return this[_0x539159(0x227)][_0x539159(0x161)](_0x4694d4,_0x2b016f);},'createDecryptor':function(_0x26f26e,_0x1a9b56){var _0x34a442=_0xd98f75;return this[_0x34a442(0x3bf)][_0x34a442(0x161)](_0x26f26e,_0x1a9b56);},'init':function(_0x4d76f5,_0x3aa60e){var _0x5b077a=_0xd98f75;this[_0x5b077a(0x188)]=_0x4d76f5,this[_0x5b077a(0x3d8)]=_0x3aa60e;}}),_0x4c2b97=_0x55701e[_0xd98f75(0x478)]=(function(){var _0x3c6570=_0xd98f75,_0x16e2c4=_0x5d7ffa['extend']();_0x16e2c4[_0x3c6570(0x227)]=_0x16e2c4[_0x3c6570(0x3c3)]({'processBlock':function(_0x4a7ae6,_0x387635){var _0x174850=_0x3c6570,_0x25ff62=this[_0x174850(0x188)],_0x371da4=_0x25ff62[_0x174850(0x1c7)];_0x712f66[_0x174850(0x179)](this,_0x4a7ae6,_0x387635,_0x371da4),_0x25ff62['encryptBlock'](_0x4a7ae6,_0x387635),this[_0x174850(0x3b5)]=_0x4a7ae6[_0x174850(0x3a6)](_0x387635,_0x387635+_0x371da4);}}),_0x16e2c4[_0x3c6570(0x3bf)]=_0x16e2c4[_0x3c6570(0x3c3)]({'processBlock':function(_0x223a6b,_0xafecb7){var _0x52a42a=_0x3c6570,_0x1936f5=this[_0x52a42a(0x188)],_0xaff7b3=_0x1936f5['blockSize'],_0x2e95d8=_0x223a6b[_0x52a42a(0x3a6)](_0xafecb7,_0xafecb7+_0xaff7b3);_0x1936f5[_0x52a42a(0x1bd)](_0x223a6b,_0xafecb7),_0x712f66[_0x52a42a(0x179)](this,_0x223a6b,_0xafecb7,_0xaff7b3),this[_0x52a42a(0x3b5)]=_0x2e95d8;}});function _0x712f66(_0x3aa4e9,_0x1b4546,_0x1fbe78){var _0x29afb4=_0x3c6570,_0x2796fd,_0xdabea4=this[_0x29afb4(0x3d8)];_0xdabea4?(_0x2796fd=_0xdabea4,this['_iv']=_0x49720a):_0x2796fd=this[_0x29afb4(0x3b5)];for(var _0x2c339f=0x0;_0x2c339f<_0x1fbe78;_0x2c339f++)_0x3aa4e9[_0x1b4546+_0x2c339f]^=_0x2796fd[_0x2c339f];}return _0x16e2c4;}()),_0x2858fb=_0x2e6676[_0xd98f75(0x281)]={},_0x3a9f90=_0x2858fb['Pkcs7']={'pad':function(_0x586b5,_0x5b6c69){var _0x236b72=_0xd98f75;for(var _0x32abe0=_0x5b6c69*0x4,_0xb88024=_0x32abe0-_0x586b5[_0x236b72(0x25c)]%_0x32abe0,_0x3f016f=_0xb88024<<0x18|_0xb88024<<0x10|_0xb88024<<0x8|_0xb88024,_0x409c46=[],_0x5efd06=0x0;_0x5efd06<_0xb88024;_0x5efd06+=0x4)_0x409c46[_0x236b72(0x40d)](_0x3f016f);var _0x2a8205=_0x4f62ed[_0x236b72(0x161)](_0x409c46,_0xb88024);_0x586b5[_0x236b72(0x436)](_0x2a8205);},'unpad':function(_0x1601f6){var _0x497940=_0xd98f75,_0xaf6ffb=_0x1601f6['words'][_0x1601f6[_0x497940(0x25c)]-0x1>>>0x2]&0xff;_0x1601f6[_0x497940(0x25c)]-=_0xaf6ffb;}};_0x535f2d[_0xd98f75(0x2bb)]=_0x10bc09[_0xd98f75(0x3c3)]({'cfg':_0x10bc09[_0xd98f75(0x2eb)][_0xd98f75(0x3c3)]({'mode':_0x4c2b97,'padding':_0x3a9f90}),'reset':function(){var _0x7dddd4=_0xd98f75,_0x266fee;_0x10bc09[_0x7dddd4(0x23d)]['call'](this);var _0xd264d5=this[_0x7dddd4(0x2eb)],_0x2148a6=_0xd264d5['iv'],_0x4687ae=_0xd264d5['mode'];this['_xformMode']==this[_0x7dddd4(0x48d)]?_0x266fee=_0x4687ae['createEncryptor']:(_0x266fee=_0x4687ae['createDecryptor'],this[_0x7dddd4(0x154)]=0x1),this[_0x7dddd4(0x242)]&&this['_mode'][_0x7dddd4(0x38c)]==_0x266fee?this[_0x7dddd4(0x242)]['init'](this,_0x2148a6&&_0x2148a6[_0x7dddd4(0x463)]):(this[_0x7dddd4(0x242)]=_0x266fee[_0x7dddd4(0x179)](_0x4687ae,this,_0x2148a6&&_0x2148a6['words']),this[_0x7dddd4(0x242)][_0x7dddd4(0x38c)]=_0x266fee);},'_doProcessBlock':function(_0x467988,_0x334ae5){var _0x135261=_0xd98f75;this['_mode'][_0x135261(0x2d7)](_0x467988,_0x334ae5);},'_doFinalize':function(){var _0x2b53e1=_0xd98f75,_0x4b68fc,_0x247afc=this[_0x2b53e1(0x2eb)][_0x2b53e1(0x2e1)];return this[_0x2b53e1(0x2dd)]==this[_0x2b53e1(0x48d)]?(_0x247afc[_0x2b53e1(0x281)](this[_0x2b53e1(0x283)],this['blockSize']),_0x4b68fc=this['_process'](!0x0)):(_0x4b68fc=this['_process'](!0x0),_0x247afc[_0x2b53e1(0x20b)](_0x4b68fc)),_0x4b68fc;},'blockSize':0x80/0x20});var _0x57ba30=_0x535f2d[_0xd98f75(0x48b)]=_0x2b5910[_0xd98f75(0x3c3)]({'init':function(_0x496473){var _0x15a1ab=_0xd98f75;this[_0x15a1ab(0x296)](_0x496473);},'toString':function(_0x7b0512){var _0x53d3e2=_0xd98f75;return(_0x7b0512||this[_0x53d3e2(0x214)])[_0x53d3e2(0x37a)](this);}}),_0x22fcda=_0x2e6676['format']={},_0x4dab97=_0x22fcda[_0xd98f75(0x168)]={'stringify':function(_0x216516){var _0x2d8ff0=_0xd98f75,_0x25c846,_0x48a4b4=_0x216516[_0x2d8ff0(0x282)],_0x11c46e=_0x216516[_0x2d8ff0(0x3e4)];return _0x11c46e?_0x25c846=_0x4f62ed[_0x2d8ff0(0x161)]([0x53616c74,0x65645f5f])[_0x2d8ff0(0x436)](_0x11c46e)[_0x2d8ff0(0x436)](_0x48a4b4):_0x25c846=_0x48a4b4,_0x25c846['toString'](_0x4f575d);},'parse':function(_0x38ed3e){var _0x5c0e45=_0xd98f75,_0x45c9c5,_0x440187=_0x4f575d[_0x5c0e45(0x41c)](_0x38ed3e),_0x550da4=_0x440187[_0x5c0e45(0x463)];return _0x550da4[0x0]==0x53616c74&&_0x550da4[0x1]==0x65645f5f&&(_0x45c9c5=_0x4f62ed['create'](_0x550da4[_0x5c0e45(0x3a6)](0x2,0x4)),_0x550da4[_0x5c0e45(0x2e8)](0x0,0x4),_0x440187[_0x5c0e45(0x25c)]-=0x10),_0x57ba30['create']({'ciphertext':_0x440187,'salt':_0x45c9c5});}},_0x56dac8=_0x535f2d[_0xd98f75(0x18c)]=_0x2b5910['extend']({'cfg':_0x2b5910[_0xd98f75(0x3c3)]({'format':_0x4dab97}),'encrypt':function(_0x3e0a6b,_0x4bb4b0,_0x433959,_0x5cfd66){var _0x2d31aa=_0xd98f75;_0x5cfd66=this[_0x2d31aa(0x2eb)]['extend'](_0x5cfd66);var _0x402a58=_0x3e0a6b[_0x2d31aa(0x245)](_0x433959,_0x5cfd66),_0x3576b3=_0x402a58['finalize'](_0x4bb4b0),_0x1c9135=_0x402a58['cfg'];return _0x57ba30[_0x2d31aa(0x161)]({'ciphertext':_0x3576b3,'key':_0x433959,'iv':_0x1c9135['iv'],'algorithm':_0x3e0a6b,'mode':_0x1c9135[_0x2d31aa(0x3e8)],'padding':_0x1c9135['padding'],'blockSize':_0x3e0a6b[_0x2d31aa(0x1c7)],'formatter':_0x5cfd66['format']});},'decrypt':function(_0x16696d,_0x5b8a77,_0x2011e2,_0xef946d){var _0x36206c=_0xd98f75;_0xef946d=this[_0x36206c(0x2eb)][_0x36206c(0x3c3)](_0xef946d),_0x5b8a77=this[_0x36206c(0x1fd)](_0x5b8a77,_0xef946d[_0x36206c(0x484)]);var _0x4a79a6=_0x16696d[_0x36206c(0x3c6)](_0x2011e2,_0xef946d)[_0x36206c(0x276)](_0x5b8a77[_0x36206c(0x282)]);return _0x4a79a6;},'_parse':function(_0x522e76,_0x9543e8){var _0x29f3c1=_0xd98f75;return typeof _0x522e76==_0x29f3c1(0x187)?_0x9543e8['parse'](_0x522e76,this):_0x522e76;}}),_0x7ff117=_0x2e6676[_0xd98f75(0x380)]={},_0x16c467=_0x7ff117[_0xd98f75(0x168)]={'execute':function(_0x208184,_0x332d10,_0x57d2e6,_0x4c5fad,_0x34ba47){var _0xa9f8c8=_0xd98f75;if(_0x4c5fad||(_0x4c5fad=_0x4f62ed[_0xa9f8c8(0x2ef)](0x40/0x8)),_0x34ba47)var _0x297b38=_0xaa780e[_0xa9f8c8(0x161)]({'keySize':_0x332d10+_0x57d2e6,'hasher':_0x34ba47})['compute'](_0x208184,_0x4c5fad);else var _0x297b38=_0xaa780e[_0xa9f8c8(0x161)]({'keySize':_0x332d10+_0x57d2e6})[_0xa9f8c8(0x32d)](_0x208184,_0x4c5fad);var _0x3ce4ff=_0x4f62ed[_0xa9f8c8(0x161)](_0x297b38[_0xa9f8c8(0x463)][_0xa9f8c8(0x3a6)](_0x332d10),_0x57d2e6*0x4);return _0x297b38['sigBytes']=_0x332d10*0x4,_0x57ba30['create']({'key':_0x297b38,'iv':_0x3ce4ff,'salt':_0x4c5fad});}},_0x532aad=_0x535f2d[_0xd98f75(0x2a0)]=_0x56dac8[_0xd98f75(0x3c3)]({'cfg':_0x56dac8[_0xd98f75(0x2eb)][_0xd98f75(0x3c3)]({'kdf':_0x16c467}),'encrypt':function(_0x44da0f,_0x40af90,_0x1b5935,_0x24c57b){var _0x2da64c=_0xd98f75;_0x24c57b=this['cfg'][_0x2da64c(0x3c3)](_0x24c57b);var _0x59fada=_0x24c57b['kdf'][_0x2da64c(0x48c)](_0x1b5935,_0x44da0f['keySize'],_0x44da0f['ivSize'],_0x24c57b[_0x2da64c(0x3e4)],_0x24c57b[_0x2da64c(0x369)]);_0x24c57b['iv']=_0x59fada['iv'];var _0x46f5c0=_0x56dac8['encrypt']['call'](this,_0x44da0f,_0x40af90,_0x59fada[_0x2da64c(0x184)],_0x24c57b);return _0x46f5c0['mixIn'](_0x59fada),_0x46f5c0;},'decrypt':function(_0x4d7778,_0x344cab,_0xc53a67,_0x15ef64){var _0x1b270f=_0xd98f75;_0x15ef64=this[_0x1b270f(0x2eb)][_0x1b270f(0x3c3)](_0x15ef64),_0x344cab=this[_0x1b270f(0x1fd)](_0x344cab,_0x15ef64[_0x1b270f(0x484)]);var _0x2cb76d=_0x15ef64[_0x1b270f(0x380)][_0x1b270f(0x48c)](_0xc53a67,_0x4d7778[_0x1b270f(0x367)],_0x4d7778[_0x1b270f(0x1b7)],_0x344cab[_0x1b270f(0x3e4)],_0x15ef64[_0x1b270f(0x369)]);_0x15ef64['iv']=_0x2cb76d['iv'];var _0x210c81=_0x56dac8[_0x1b270f(0x48f)]['call'](this,_0x4d7778,_0x344cab,_0x2cb76d['key'],_0x15ef64);return _0x210c81;}});}();}));}(Te)),Te['exports'];}var ri=Se[_0x2d7ad2(0x2e4)],ot;function si(){return ot||(ot=0x1,function(_0x5c3a50,_0x2b17fd){(function(_0x235f11,_0x57b6d7,_0x49cdf9){_0x5c3a50['exports']=_0x57b6d7(ee(),Dt(),Xn(),wt(),At());}(ri,function(_0x5c7e65){var _0x3aa19c=_0x38a2;return(function(){var _0x3b056e=_0x38a2,_0x49c3c2=_0x5c7e65,_0x439799=_0x49c3c2['lib'],_0x327133=_0x439799[_0x3b056e(0x2bb)],_0x4e296b=_0x49c3c2[_0x3b056e(0x3d2)],_0x5a02ab=[],_0x30a7f4=[],_0x1aafed=[],_0x44bffe=[],_0x3177fb=[],_0x28e4a9=[],_0x2549af=[],_0xf6f300=[],_0x51b58c=[],_0x1abbd7=[];(function(){for(var _0x4deca6=[],_0x2bb2ed=0x0;_0x2bb2ed<0x100;_0x2bb2ed++)_0x2bb2ed<0x80?_0x4deca6[_0x2bb2ed]=_0x2bb2ed<<0x1:_0x4deca6[_0x2bb2ed]=_0x2bb2ed<<0x1^0x11b;for(var _0x388458=0x0,_0x4c0d18=0x0,_0x2bb2ed=0x0;_0x2bb2ed<0x100;_0x2bb2ed++){var _0x9fb677=_0x4c0d18^_0x4c0d18<<0x1^_0x4c0d18<<0x2^_0x4c0d18<<0x3^_0x4c0d18<<0x4;_0x9fb677=_0x9fb677>>>0x8^_0x9fb677&0xff^0x63,_0x5a02ab[_0x388458]=_0x9fb677,_0x30a7f4[_0x9fb677]=_0x388458;var _0x5a65ad=_0x4deca6[_0x388458],_0x411414=_0x4deca6[_0x5a65ad],_0x293092=_0x4deca6[_0x411414],_0x1d3fb2=_0x4deca6[_0x9fb677]*0x101^_0x9fb677*0x1010100;_0x1aafed[_0x388458]=_0x1d3fb2<<0x18|_0x1d3fb2>>>0x8,_0x44bffe[_0x388458]=_0x1d3fb2<<0x10|_0x1d3fb2>>>0x10,_0x3177fb[_0x388458]=_0x1d3fb2<<0x8|_0x1d3fb2>>>0x18,_0x28e4a9[_0x388458]=_0x1d3fb2;var _0x1d3fb2=_0x293092*0x1010101^_0x411414*0x10001^_0x5a65ad*0x101^_0x388458*0x1010100;_0x2549af[_0x9fb677]=_0x1d3fb2<<0x18|_0x1d3fb2>>>0x8,_0xf6f300[_0x9fb677]=_0x1d3fb2<<0x10|_0x1d3fb2>>>0x10,_0x51b58c[_0x9fb677]=_0x1d3fb2<<0x8|_0x1d3fb2>>>0x18,_0x1abbd7[_0x9fb677]=_0x1d3fb2,_0x388458?(_0x388458=_0x5a65ad^_0x4deca6[_0x4deca6[_0x4deca6[_0x293092^_0x5a65ad]]],_0x4c0d18^=_0x4deca6[_0x4deca6[_0x4c0d18]]):_0x388458=_0x4c0d18=0x1;}}());var _0x17aff6=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1aa685=_0x4e296b[_0x3b056e(0x1f4)]=_0x327133['extend']({'_doReset':function(){var _0x20e566=_0x3b056e,_0x980755;if(!(this['_nRounds']&&this[_0x20e566(0x497)]===this[_0x20e566(0x19d)])){for(var _0x1eae09=this['_keyPriorReset']=this[_0x20e566(0x19d)],_0xcb8fcb=_0x1eae09[_0x20e566(0x463)],_0xcd847f=_0x1eae09[_0x20e566(0x25c)]/0x4,_0x3f150b=this[_0x20e566(0x3f0)]=_0xcd847f+0x6,_0xa0e4e6=(_0x3f150b+0x1)*0x4,_0x4bd866=this[_0x20e566(0x334)]=[],_0x38cb2a=0x0;_0x38cb2a<_0xa0e4e6;_0x38cb2a++)_0x38cb2a<_0xcd847f?_0x4bd866[_0x38cb2a]=_0xcb8fcb[_0x38cb2a]:(_0x980755=_0x4bd866[_0x38cb2a-0x1],_0x38cb2a%_0xcd847f?_0xcd847f>0x6&&_0x38cb2a%_0xcd847f==0x4&&(_0x980755=_0x5a02ab[_0x980755>>>0x18]<<0x18|_0x5a02ab[_0x980755>>>0x10&0xff]<<0x10|_0x5a02ab[_0x980755>>>0x8&0xff]<<0x8|_0x5a02ab[_0x980755&0xff]):(_0x980755=_0x980755<<0x8|_0x980755>>>0x18,_0x980755=_0x5a02ab[_0x980755>>>0x18]<<0x18|_0x5a02ab[_0x980755>>>0x10&0xff]<<0x10|_0x5a02ab[_0x980755>>>0x8&0xff]<<0x8|_0x5a02ab[_0x980755&0xff],_0x980755^=_0x17aff6[_0x38cb2a/_0xcd847f|0x0]<<0x18),_0x4bd866[_0x38cb2a]=_0x4bd866[_0x38cb2a-_0xcd847f]^_0x980755);for(var _0x2024c2=this[_0x20e566(0x222)]=[],_0x26d843=0x0;_0x26d843<_0xa0e4e6;_0x26d843++){var _0x38cb2a=_0xa0e4e6-_0x26d843;if(_0x26d843%0x4)var _0x980755=_0x4bd866[_0x38cb2a];else var _0x980755=_0x4bd866[_0x38cb2a-0x4];_0x26d843<0x4||_0x38cb2a<=0x4?_0x2024c2[_0x26d843]=_0x980755:_0x2024c2[_0x26d843]=_0x2549af[_0x5a02ab[_0x980755>>>0x18]]^_0xf6f300[_0x5a02ab[_0x980755>>>0x10&0xff]]^_0x51b58c[_0x5a02ab[_0x980755>>>0x8&0xff]]^_0x1abbd7[_0x5a02ab[_0x980755&0xff]];}}},'encryptBlock':function(_0x42bc77,_0x27d775){var _0x2e0d85=_0x3b056e;this[_0x2e0d85(0x430)](_0x42bc77,_0x27d775,this[_0x2e0d85(0x334)],_0x1aafed,_0x44bffe,_0x3177fb,_0x28e4a9,_0x5a02ab);},'decryptBlock':function(_0xbf4ec0,_0xd0583d){var _0xa26bc=_0x3b056e,_0x452178=_0xbf4ec0[_0xd0583d+0x1];_0xbf4ec0[_0xd0583d+0x1]=_0xbf4ec0[_0xd0583d+0x3],_0xbf4ec0[_0xd0583d+0x3]=_0x452178,this[_0xa26bc(0x430)](_0xbf4ec0,_0xd0583d,this[_0xa26bc(0x222)],_0x2549af,_0xf6f300,_0x51b58c,_0x1abbd7,_0x30a7f4);var _0x452178=_0xbf4ec0[_0xd0583d+0x1];_0xbf4ec0[_0xd0583d+0x1]=_0xbf4ec0[_0xd0583d+0x3],_0xbf4ec0[_0xd0583d+0x3]=_0x452178;},'_doCryptBlock':function(_0x318300,_0x4d0a30,_0x4432a9,_0x3fb772,_0x1a49a1,_0x5cf644,_0x98d286,_0x480780){var _0x53e890=_0x3b056e;for(var _0x4434ba=this[_0x53e890(0x3f0)],_0x52896b=_0x318300[_0x4d0a30]^_0x4432a9[0x0],_0x2e4f45=_0x318300[_0x4d0a30+0x1]^_0x4432a9[0x1],_0x5e9dce=_0x318300[_0x4d0a30+0x2]^_0x4432a9[0x2],_0x5067ab=_0x318300[_0x4d0a30+0x3]^_0x4432a9[0x3],_0x30bc2b=0x4,_0x12b71d=0x1;_0x12b71d<_0x4434ba;_0x12b71d++){var _0x119c2f=_0x3fb772[_0x52896b>>>0x18]^_0x1a49a1[_0x2e4f45>>>0x10&0xff]^_0x5cf644[_0x5e9dce>>>0x8&0xff]^_0x98d286[_0x5067ab&0xff]^_0x4432a9[_0x30bc2b++],_0x2bbb5f=_0x3fb772[_0x2e4f45>>>0x18]^_0x1a49a1[_0x5e9dce>>>0x10&0xff]^_0x5cf644[_0x5067ab>>>0x8&0xff]^_0x98d286[_0x52896b&0xff]^_0x4432a9[_0x30bc2b++],_0x467d2e=_0x3fb772[_0x5e9dce>>>0x18]^_0x1a49a1[_0x5067ab>>>0x10&0xff]^_0x5cf644[_0x52896b>>>0x8&0xff]^_0x98d286[_0x2e4f45&0xff]^_0x4432a9[_0x30bc2b++],_0x4f8698=_0x3fb772[_0x5067ab>>>0x18]^_0x1a49a1[_0x52896b>>>0x10&0xff]^_0x5cf644[_0x2e4f45>>>0x8&0xff]^_0x98d286[_0x5e9dce&0xff]^_0x4432a9[_0x30bc2b++];_0x52896b=_0x119c2f,_0x2e4f45=_0x2bbb5f,_0x5e9dce=_0x467d2e,_0x5067ab=_0x4f8698;}var _0x119c2f=(_0x480780[_0x52896b>>>0x18]<<0x18|_0x480780[_0x2e4f45>>>0x10&0xff]<<0x10|_0x480780[_0x5e9dce>>>0x8&0xff]<<0x8|_0x480780[_0x5067ab&0xff])^_0x4432a9[_0x30bc2b++],_0x2bbb5f=(_0x480780[_0x2e4f45>>>0x18]<<0x18|_0x480780[_0x5e9dce>>>0x10&0xff]<<0x10|_0x480780[_0x5067ab>>>0x8&0xff]<<0x8|_0x480780[_0x52896b&0xff])^_0x4432a9[_0x30bc2b++],_0x467d2e=(_0x480780[_0x5e9dce>>>0x18]<<0x18|_0x480780[_0x5067ab>>>0x10&0xff]<<0x10|_0x480780[_0x52896b>>>0x8&0xff]<<0x8|_0x480780[_0x2e4f45&0xff])^_0x4432a9[_0x30bc2b++],_0x4f8698=(_0x480780[_0x5067ab>>>0x18]<<0x18|_0x480780[_0x52896b>>>0x10&0xff]<<0x10|_0x480780[_0x2e4f45>>>0x8&0xff]<<0x8|_0x480780[_0x5e9dce&0xff])^_0x4432a9[_0x30bc2b++];_0x318300[_0x4d0a30]=_0x119c2f,_0x318300[_0x4d0a30+0x1]=_0x2bbb5f,_0x318300[_0x4d0a30+0x2]=_0x467d2e,_0x318300[_0x4d0a30+0x3]=_0x4f8698;},'keySize':0x100/0x20});_0x49c3c2[_0x3b056e(0x1f4)]=_0x327133[_0x3b056e(0x460)](_0x1aa685);}()),_0x5c7e65[_0x3aa19c(0x1f4)];}));}(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 _0xf261b7=_0x2d7ad2;return ct||(ct=0x1,function(_0x405e8d,_0x3af21b){(function(_0x1aa172,_0xa04e46){var _0x592e9c=_0x38a2;_0x405e8d[_0x592e9c(0x2e4)]=_0xa04e46(ee());}(hi,function(_0x2d2454){var _0x3c75e1=_0x38a2;return _0x2d2454['enc'][_0x3c75e1(0x213)];}));}(be)),be[_0xf261b7(0x2e4)];}var _i=li();const ui=fe(_i);var Re={'exports':{}},di=Re[_0x2d7ad2(0x2e4)],ht;function vi(){return ht||(ht=0x1,function(_0x329b65,_0x2fab1e){(function(_0x2f6a4f,_0x120e3c){var _0x59bcb0=_0x38a2;_0x329b65[_0x59bcb0(0x2e4)]=_0x120e3c(ee());}(di,function(_0x189a27){var _0x4d854f=_0x38a2;return(function(){var _0x46b919=_0x38a2;if(typeof ArrayBuffer==_0x46b919(0x195)){var _0x59f599=_0x189a27,_0xaddf2b=_0x59f599[_0x46b919(0x238)],_0x1e3bf6=_0xaddf2b[_0x46b919(0x4ae)],_0xf27547=_0x1e3bf6[_0x46b919(0x42b)],_0x4680db=_0x1e3bf6[_0x46b919(0x42b)]=function(_0x509e97){var _0x159fed=_0x46b919;if(_0x509e97 instanceof ArrayBuffer&&(_0x509e97=new Uint8Array(_0x509e97)),(_0x509e97 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x509e97 instanceof Uint8ClampedArray||_0x509e97 instanceof Int16Array||_0x509e97 instanceof Uint16Array||_0x509e97 instanceof Int32Array||_0x509e97 instanceof Uint32Array||_0x509e97 instanceof Float32Array||_0x509e97 instanceof Float64Array)&&(_0x509e97=new Uint8Array(_0x509e97[_0x159fed(0x249)],_0x509e97[_0x159fed(0x1de)],_0x509e97['byteLength'])),_0x509e97 instanceof Uint8Array){for(var _0x1a8e52=_0x509e97[_0x159fed(0x176)],_0x585efd=[],_0x2624be=0x0;_0x2624be<_0x1a8e52;_0x2624be++)_0x585efd[_0x2624be>>>0x2]|=_0x509e97[_0x2624be]<<0x18-_0x2624be%0x4*0x8;_0xf27547[_0x159fed(0x179)](this,_0x585efd,_0x1a8e52);}else _0xf27547[_0x159fed(0x304)](this,arguments);};_0x4680db[_0x46b919(0x1be)]=_0x1e3bf6;}}()),_0x189a27[_0x4d854f(0x238)]['WordArray'];}));}(Re)),Re['exports'];}var fi=vi();const Si=fe(fi);var Oe={'exports':{}},pi=Oe[_0x2d7ad2(0x2e4)],lt;function mi(){var _0x3e6e04=_0x2d7ad2;return lt||(lt=0x1,function(_0x31739e,_0x14f053){(function(_0x45f0c1,_0x448d08,_0x4fe183){var _0x359497=_0x38a2;_0x31739e[_0x359497(0x2e4)]=_0x448d08(ee(),At());}(pi,function(_0x18a16a){var _0x4cb1aa=_0x38a2;return _0x18a16a['pad'][_0x4cb1aa(0x41b)]={'pad':function(){},'unpad':function(){}},_0x18a16a[_0x4cb1aa(0x281)]['NoPadding'];}));}(Oe)),Oe[_0x3e6e04(0x2e4)];}var gi=mi();const Ii=fe(gi);function Ei(_0x344ab7,_0x3e2cb3){var _0x5743fc=_0x2d7ad2;const _0x1b0cd2=_0x3e2cb3-_0x344ab7[_0x5743fc(0x23c)]%_0x3e2cb3,_0x488bae=String[_0x5743fc(0x445)](_0x1b0cd2)[_0x5743fc(0x1b6)](_0x1b0cd2);return _0x344ab7+_0x488bae;}function Ci(_0x268eba,_0x9cd833){var _0x3b3efc=_0x2d7ad2;const _0x29920e=Si[_0x3b3efc(0x2ef)](0x10),_0x14bb7f=Ei(_0x268eba,0x10),_0x486a9b=ai[_0x3b3efc(0x3e7)](ui['parse'](_0x14bb7f),at[_0x3b3efc(0x41c)](_0x9cd833),{'iv':_0x29920e,'padding':Ii});return _0x29920e['concat'](_0x486a9b[_0x3b3efc(0x282)])[_0x3b3efc(0x2a2)](at);}function Ti(){var _0x5d8c7f=_0x2d7ad2;const _0x311b26=$t[_0x5d8c7f(0x4a8)]()['__Key__'];if(_0x311b26){const _0x55ed33={'time':Math[_0x5d8c7f(0x4b7)](Date[_0x5d8c7f(0x1d1)]()/0x3e8),'domain':location[_0x5d8c7f(0x351)]};return Ci(JSON['stringify'](_0x55ed33),_0x311b26);}}var bi=Object[_0x2d7ad2(0x325)],Ri=Object[_0x2d7ad2(0x20f)],Oi=(_0x2fc4af,_0x495bb8,_0x55f85c,_0x52881e)=>{var _0x5e15b3=_0x2d7ad2;for(var _0x45a290=_0x52881e>0x1?void 0x0:_0x52881e?Ri(_0x495bb8,_0x55f85c):_0x495bb8,_0x1f00b8=_0x2fc4af[_0x5e15b3(0x23c)]-0x1,_0x1eb8c6;_0x1f00b8>=0x0;_0x1f00b8--)(_0x1eb8c6=_0x2fc4af[_0x1f00b8])&&(_0x45a290=(_0x52881e?_0x1eb8c6(_0x495bb8,_0x55f85c,_0x45a290):_0x1eb8c6(_0x45a290))||_0x45a290);return _0x52881e&&_0x45a290&&bi(_0x495bb8,_0x55f85c,_0x45a290),_0x45a290;},yi=(_0x290c1b,_0x17a622)=>(_0x5bea68,_0x2f58e7)=>_0x17a622(_0x5bea68,_0x2f58e7,_0x290c1b);let Ne=class{constructor(_0x23d69d){var _0x3e7822=_0x2d7ad2;this[_0x3e7822(0x2c5)]=_0x23d69d,this['_initRequestHeader']();}[_0x2d7ad2(0x405)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x413fc6,_0xdd80b)=>{var _0x24c7c0=_0x38a2;const _0x512fa7=_0x413fc6['headers'],_0x5c807f=Ti();return _0x5c807f&&_0x512fa7[_0x24c7c0(0x3e0)]('x-univer-host',_0x5c807f),_0xdd80b(_0x413fc6);}});}};Ne=Oi([yi(0x0,a[_0x2d7ad2(0x4c3)](q[_0x2d7ad2(0x1f3)]))],Ne);var Ni=Object['defineProperty'],Ui=Object[_0x2d7ad2(0x20f)],Pi=(_0x4e93a1,_0x50d6b5,_0x49241d,_0x55fe8a)=>{var _0x3a405b=_0x2d7ad2;for(var _0x3d721f=_0x55fe8a>0x1?void 0x0:_0x55fe8a?Ui(_0x50d6b5,_0x49241d):_0x50d6b5,_0x59d7b3=_0x4e93a1[_0x3a405b(0x23c)]-0x1,_0x18e1ca;_0x59d7b3>=0x0;_0x59d7b3--)(_0x18e1ca=_0x4e93a1[_0x59d7b3])&&(_0x3d721f=(_0x55fe8a?_0x18e1ca(_0x50d6b5,_0x49241d,_0x3d721f):_0x18e1ca(_0x3d721f))||_0x3d721f);return _0x55fe8a&&_0x3d721f&&Ni(_0x50d6b5,_0x49241d,_0x3d721f),_0x3d721f;},Me=(_0x2a1138,_0x23d676)=>(_0x1f926c,_0x5231f3)=>_0x23d676(_0x1f926c,_0x5231f3,_0x2a1138);exports[_0x2d7ad2(0x44b)]=class extends a[_0x2d7ad2(0x180)]{constructor(_0x28ac61,_0x492754,_0x3c0bf1){var _0x404eb3=_0x2d7ad2;super(),D(this,'_unitInfo$',new H[(_0x404eb3(0x45b))](null)),D(this,_0x404eb3(0x323),this[_0x404eb3(0x37c)]['asObservable']()),(this['_logService']=_0x28ac61,this[_0x404eb3(0x442)]=_0x492754,this[_0x404eb3(0x2d4)]=_0x3c0bf1);}async['loadUnit'](_0x4be2bb,_0x797fda,_0xd37222){var _0x2e2f33=_0x2d7ad2;this[_0x2e2f33(0x37c)][_0x2e2f33(0x224)]({'unitId':_0x4be2bb,'type':_0x797fda,'subUnitId':_0xd37222});let _0x3d662c=null;switch(_0x797fda){case Z[_0x2e2f33(0x341)]:{_0x3d662c=await this[_0x2e2f33(0x31b)](_0x4be2bb);break;}case Z[_0x2e2f33(0x21a)]:{_0x3d662c=await this[_0x2e2f33(0x40b)](_0x4be2bb);break;}default:{this['_logService'][_0x2e2f33(0x450)](_0x2e2f33(0x22a),_0x2e2f33(0x3dd));break;}}return _0x3d662c;}async[_0x2d7ad2(0x31b)](_0xcb7335){var _0x557600=_0x2d7ad2,_0xa8e4b9;let _0x1ca419=0x0;const _0x2352e8=await((_0xa8e4b9=this['_localCacheService'])==null?void 0x0:_0xa8e4b9['loadOfflineData'](_0xcb7335));return _0x2352e8&&(_0x2352e8[_0x557600(0x468)]||_0x2352e8[_0x557600(0x312)][_0x557600(0x23c)]!==0x0)&&(_0x1ca419=_0x2352e8[_0x557600(0x4b9)]),_0x1ca419===0x0&&this[_0x557600(0x382)]['debug'](_0x557600(0x22a),_0x557600(0x360)),this[_0x557600(0x442)]['loadSheet'](_0xcb7335,_0x1ca419);}async[_0x2d7ad2(0x40b)](_0x17f5a4){var _0x349626=_0x2d7ad2,_0x571c62;let _0xd2341b=0x0;const _0x155ba1=await((_0x571c62=this[_0x349626(0x2d4)])==null?void 0x0:_0x571c62['loadOfflineData'](_0x17f5a4));return _0x155ba1&&(_0x155ba1[_0x349626(0x468)]||_0x155ba1[_0x349626(0x312)][_0x349626(0x23c)]!==0x0)&&(_0xd2341b=_0x155ba1[_0x349626(0x4b9)]),_0xd2341b===0x0&&this[_0x349626(0x382)][_0x349626(0x159)]('[DataLoaderService]',_0x349626(0x360)),this[_0x349626(0x442)][_0x349626(0x1d4)](_0x17f5a4,_0xd2341b);}},exports[_0x2d7ad2(0x44b)]=Pi([Me(0x0,a['ILogService']),Me(0x1,a[_0x2d7ad2(0x4c3)](m[_0x2d7ad2(0x411)])),Me(0x2,a[_0x2d7ad2(0x454)](z))],exports[_0x2d7ad2(0x44b)]);var Di=Object[_0x2d7ad2(0x325)],wi=Object[_0x2d7ad2(0x20f)],Ai=(_0x5f3a0d,_0xb94f4b,_0x1d3a83,_0x35e3be)=>{for(var _0x1d9e53=_0x35e3be>0x1?void 0x0:_0x35e3be?wi(_0xb94f4b,_0x1d3a83):_0xb94f4b,_0x3a3f7b=_0x5f3a0d['length']-0x1,_0x2320ff;_0x3a3f7b>=0x0;_0x3a3f7b--)(_0x2320ff=_0x5f3a0d[_0x3a3f7b])&&(_0x1d9e53=(_0x35e3be?_0x2320ff(_0xb94f4b,_0x1d3a83,_0x1d9e53):_0x2320ff(_0x1d9e53))||_0x1d9e53);return _0x35e3be&&_0x1d9e53&&Di(_0xb94f4b,_0x1d3a83,_0x1d9e53),_0x1d9e53;},xe=(_0x23d30a,_0x570145)=>(_0x1a32b4,_0x16fb78)=>_0x570145(_0x1a32b4,_0x16fb78,_0x23d30a);const Li=[_0x2d7ad2(0x313),'image/jpeg',_0x2d7ad2(0x43d),_0x2d7ad2(0x408),'image/bmp'],Mi=0x5*0x400*0x400,xi=_0x2d7ad2(0x1a3),ji=_0x2d7ad2(0x274),$i=_0x2d7ad2(0x147),Hi=_0x2d7ad2(0x417);exports[_0x2d7ad2(0x47e)]=class{constructor(_0x69b2ad,_0x2aa3d3,_0x5dc4a1){var _0x1fed1f=_0x2d7ad2;D(this,_0x1fed1f(0x339),0x0),D(this,_0x1fed1f(0x45a),new H[(_0x1fed1f(0x4c1))]()),D(this,_0x1fed1f(0x270),this[_0x1fed1f(0x45a)]),D(this,_0x1fed1f(0x202),new Map()),(this[_0x1fed1f(0x2c5)]=_0x69b2ad,this[_0x1fed1f(0x152)]=_0x2aa3d3,this[_0x1fed1f(0x2ee)]=_0x5dc4a1);}['setWaitCount'](_0x466b90){var _0x1aec2c=_0x2d7ad2;this[_0x1aec2c(0x339)]=_0x466b90,this[_0x1aec2c(0x45a)][_0x1aec2c(0x224)](_0x466b90);}[_0x2d7ad2(0x198)](_0x5dd9a9,_0xb40ba2){var _0x27223b=_0x2d7ad2;if(_0xb40ba2===X[_0x27223b(0x27e)][_0x27223b(0x23b)]){const _0x498119=new Image();return _0x498119[_0x27223b(0x3ec)]=_0x5dd9a9,_0x498119;}return this[_0x27223b(0x202)]['get'](_0x5dd9a9);}[_0x2d7ad2(0x17c)](_0x1f82d1,_0x55f49d,_0x61bf67){var _0x13f97d=_0x2d7ad2;_0x55f49d===X[_0x13f97d(0x27e)][_0x13f97d(0x23b)]||_0x61bf67==null||this[_0x13f97d(0x202)][_0x13f97d(0x3e0)](_0x1f82d1,_0x61bf67);}async['getImage'](_0x3a7d12){var _0x3fe586=_0x2d7ad2;try{const _0x39c416=this['_replaceFileID'](this['_getSignURL'](),''+_0x3a7d12),_0x311090=(await this[_0x3fe586(0x2c5)][_0x3fe586(0x4b4)](_0x39c416))[_0x3fe586(0x2b3)];if(_0x311090['error']&&_0x311090[_0x3fe586(0x450)][_0x3fe586(0x4a9)]===Tt['OK']){const _0x41a8dc=new URL(_0x311090[_0x3fe586(0x30b)],this['_getDownloadEndpointURL']())[_0x3fe586(0x2a2)]();return Promise['resolve'](_0x41a8dc);}return Promise[_0x3fe586(0x386)](_0x311090[_0x3fe586(0x450)]);}catch(_0x3f37ef){return Promise[_0x3fe586(0x386)](_0x3f37ef);}}async['saveImage'](_0x3eda40){var _0xf82934=_0x2d7ad2;let _0x37785e='';if(!Li[_0xf82934(0x3fc)](_0x3eda40[_0xf82934(0x27b)]))return this[_0xf82934(0x33f)](),Promise[_0xf82934(0x386)](new Error(X[_0xf82934(0x38a)][_0xf82934(0x458)]));if(_0x3eda40[_0xf82934(0x410)]>Mi)return this[_0xf82934(0x33f)](),Promise[_0xf82934(0x386)](new Error(X['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x517db3=new FormData();_0x517db3[_0xf82934(0x336)](_0xf82934(0x315),_0x3eda40);const _0x130675=this[_0xf82934(0x2ee)][_0xf82934(0x28a)](),_0x5a304b=_0x130675==null?void 0x0:_0x130675[_0xf82934(0x2d9)]();if(!_0x5a304b)throw new Error(_0xf82934(0x324));const _0x366e81=this['_getUploadFileURL']()+_0xf82934(0x1a2)+_0x3eda40['size'][_0xf82934(0x2a2)]()+_0xf82934(0x4ac)+bt[_0xf82934(0x423)]+_0xf82934(0x22c)+encodeURIComponent(_0x5a304b),_0x13eeeb=await(await fetch(_0x366e81,{'method':'POST','body':_0x517db3}))['json']();if(typeof _0x13eeeb[_0xf82934(0x189)]!=_0xf82934(0x187))return this[_0xf82934(0x33f)](),Promise[_0xf82934(0x386)](new Error(X[_0xf82934(0x38a)][_0xf82934(0x39d)]));_0x37785e=_0x13eeeb[_0xf82934(0x189)];}catch{return this[_0xf82934(0x33f)](),Promise[_0xf82934(0x386)](new Error(X[_0xf82934(0x38a)][_0xf82934(0x39d)]));}return new Promise((_0x59bea3,_0x12c0c9)=>{var _0x37a08a=_0xf82934;const _0xae2402=new FileReader();_0xae2402['readAsDataURL'](_0x3eda40),_0xae2402[_0x37a08a(0x3d9)]=_0xb1215d=>{var _0x28b0f6=_0x37a08a,_0x2557a4;const _0x4e7da6=(_0x2557a4=_0xb1215d[_0x28b0f6(0x390)])==null?void 0x0:_0x2557a4['result'];if(_0x4e7da6==null){this[_0x28b0f6(0x33f)](),_0x12c0c9(new Error(X['ImageUploadStatusType']['ERROR_IMAGE']));return;}const _0x56ae35=a[_0x28b0f6(0x2ce)][_0x28b0f6(0x3db)](0x6);_0x59bea3({'imageId':_0x56ae35,'imageSourceType':X[_0x28b0f6(0x27e)][_0x28b0f6(0x42d)],'source':_0x37785e,'base64Cache':_0x4e7da6,'status':X[_0x28b0f6(0x38a)][_0x28b0f6(0x4b6)]}),this[_0x28b0f6(0x33f)]();};});}[_0x2d7ad2(0x14b)](){var _0xfee72a=_0x2d7ad2,_0x42373c,_0x2ec9e7;const _0xb5546f=this[_0xfee72a(0x152)][_0xfee72a(0x2d0)](xi),_0x18d261=this[_0xfee72a(0x152)][_0xfee72a(0x2d0)](Y);return(_0x2ec9e7=(_0x42373c=_0x18d261==null?void 0x0:_0x18d261[_0xfee72a(0x1cb)])!=null?_0x42373c:_0xb5546f)!=null?_0x2ec9e7:ji;}[_0x2d7ad2(0x46a)](){var _0x300825=_0x2d7ad2,_0x3a5eda,_0x465a9e;const _0x19e5d8=this[_0x300825(0x152)][_0x300825(0x2d0)]($i),_0x157e5a=this[_0x300825(0x152)][_0x300825(0x2d0)](Y);return(_0x465a9e=(_0x3a5eda=_0x157e5a==null?void 0x0:_0x157e5a['signUrlServerUrl'])!=null?_0x3a5eda:_0x19e5d8)!=null?_0x465a9e:Hi;}[_0x2d7ad2(0x193)](){var _0x49d6c7=_0x2d7ad2,_0x1eb424;const _0x500893=this[_0x49d6c7(0x152)][_0x49d6c7(0x2d0)](Y);return(_0x1eb424=_0x500893==null?void 0x0:_0x500893['downloadEndpointUrl'])!=null?_0x1eb424:location[_0x49d6c7(0x2b8)];}['_replaceFileID'](_0x2b14e8,_0x412949){var _0x2df62a=_0x2d7ad2;return _0x2b14e8[_0x2df62a(0x3f5)](_0x2df62a(0x4a0),_0x412949);}[_0x2d7ad2(0x33f)](){var _0x43a6c2=_0x2d7ad2;this['_waitCount']-=0x1,this[_0x43a6c2(0x45a)][_0x43a6c2(0x224)](this[_0x43a6c2(0x339)]);}},exports['CollaborationImageIoService']=Ai([xe(0x0,a[_0x2d7ad2(0x4c3)](q[_0x2d7ad2(0x1f3)])),xe(0x1,a[_0x2d7ad2(0x160)]),xe(0x2,a['Inject'](a['IUniverInstanceService']))],exports[_0x2d7ad2(0x47e)]);var ki=Object['defineProperty'],Bi=Object[_0x2d7ad2(0x20f)],Fi=(_0x1bbffd,_0x17b645,_0x4fb876,_0x29403f)=>{var _0x1dc33a=_0x2d7ad2;for(var _0x18fee1=_0x29403f>0x1?void 0x0:_0x29403f?Bi(_0x17b645,_0x4fb876):_0x17b645,_0x7841a8=_0x1bbffd[_0x1dc33a(0x23c)]-0x1,_0x5f2cdb;_0x7841a8>=0x0;_0x7841a8--)(_0x5f2cdb=_0x1bbffd[_0x7841a8])&&(_0x18fee1=(_0x29403f?_0x5f2cdb(_0x17b645,_0x4fb876,_0x18fee1):_0x5f2cdb(_0x18fee1))||_0x18fee1);return _0x29403f&&_0x18fee1&&ki(_0x17b645,_0x4fb876,_0x18fee1),_0x18fee1;},_t=(_0x504d61,_0x2bb1b2)=>(_0x183939,_0x1cab3b)=>_0x2bb1b2(_0x183939,_0x1cab3b,_0x504d61);const Wi=_0x2d7ad2(0x14a);exports[_0x2d7ad2(0x42f)]=class{constructor(_0x5b350b,_0x513062){var _0x50f8cf=_0x2d7ad2;this[_0x50f8cf(0x152)]=_0x5b350b,this['_HTTPService']=_0x513062;}['_getAPIPrefixPath'](){var _0x517bcc=_0x2d7ad2,_0x1335d6,_0x5999cf;const _0x316ed9=this[_0x517bcc(0x152)][_0x517bcc(0x2d0)](Ve),_0x2a9b71=this['_configService'][_0x517bcc(0x2d0)](Y);return(_0x5999cf=(_0x1335d6=_0x2a9b71==null?void 0x0:_0x2a9b71[_0x517bcc(0x1d5)])!=null?_0x1335d6:_0x316ed9)!=null?_0x5999cf:Wi;}async[_0x2d7ad2(0x3de)](_0x30a248){var _0x48ea22=_0x2d7ad2;const _0x5aac2c=this[_0x48ea22(0x3e5)]()+'/collaborator';return{'list':[{'title':_0x48ea22(0x24f),'mentions':(await this[_0x48ea22(0x308)][_0x48ea22(0x4b4)](_0x5aac2c,{'params':{'objectID':_0x30a248[_0x48ea22(0x3fd)],'unitID':_0x30a248[_0x48ea22(0x3fd)]}}))[_0x48ea22(0x2b3)][_0x48ea22(0x2e3)]['map'](_0x490632=>({'objectId':_0x490632['id'],'name':_0x490632[_0x48ea22(0x2a3)][_0x48ea22(0x30f)],'metadata':{'icon':_0x490632['subject']['avatar']},'label':_0x490632[_0x48ea22(0x2a3)]['name'],'objectType':a[_0x48ea22(0x486)]['PERSON']})),'metadata':{},'type':a[_0x48ea22(0x486)][_0x48ea22(0x331)]}]};}},exports[_0x2d7ad2(0x42f)]=Fi([_t(0x0,a[_0x2d7ad2(0x4c3)](a['IConfigService'])),_t(0x1,a[_0x2d7ad2(0x4c3)](q['HTTPService']))],exports[_0x2d7ad2(0x42f)]);var Gi=Object['defineProperty'],Vi=Object[_0x2d7ad2(0x20f)],Ki=(_0x13d891,_0x335fa0,_0x976b,_0x149ecb)=>{var _0x3103ec=_0x2d7ad2;for(var _0x9a4ffd=_0x149ecb>0x1?void 0x0:_0x149ecb?Vi(_0x335fa0,_0x976b):_0x335fa0,_0x2f6542=_0x13d891[_0x3103ec(0x23c)]-0x1,_0x3c87b5;_0x2f6542>=0x0;_0x2f6542--)(_0x3c87b5=_0x13d891[_0x2f6542])&&(_0x9a4ffd=(_0x149ecb?_0x3c87b5(_0x335fa0,_0x976b,_0x9a4ffd):_0x3c87b5(_0x9a4ffd))||_0x9a4ffd);return _0x149ecb&&_0x9a4ffd&&Gi(_0x335fa0,_0x976b,_0x9a4ffd),_0x9a4ffd;},ce=(_0x259e34,_0x4fd35d)=>(_0x3dd23a,_0x40f5f8)=>_0x4fd35d(_0x3dd23a,_0x40f5f8,_0x259e34);let Ue=class extends a['RxDisposable']{constructor(_0x50df9a,_0x5e1c1f,_0x474932,_0x15f447,_0x578c03,_0x133c58,_0x4f4df1){var _0x37f898=_0x2d7ad2;super(),this['_injector']=_0x50df9a,this['_univerInstanceService']=_0x5e1c1f,this[_0x37f898(0x171)]=_0x474932,this['_collaborationSessionService']=_0x15f447,this[_0x37f898(0x3e6)]=_0x578c03,this[_0x37f898(0x372)]=_0x133c58,this[_0x37f898(0x3ad)]=_0x4f4df1,this[_0x37f898(0x233)](),this['_initCloseConn']();}[_0x2d7ad2(0x1f7)](){var _0x2b14f2=_0x2d7ad2;const _0x232440=async _0x477ee1=>{var _0xf9c04f=_0x38a2;(await this[_0xf9c04f(0x2d6)][_0xf9c04f(0x17b)](_0x477ee1))[_0xf9c04f(0x425)][_0xf9c04f(0x362)](W[_0xf9c04f(0x3f9)](_0x524936=>_0x524936[_0xf9c04f(0x3ea)]===m[_0xf9c04f(0x3c5)][_0xf9c04f(0x2f1)]),W[_0xf9c04f(0x1fa)](this[_0xf9c04f(0x1c9)]))['subscribe'](_0x515927=>{var _0x5eff41=_0xf9c04f;const _0x165146=_0x515927,{reason:_0x4fec50}=_0x165146[_0x5eff41(0x23e)];this[_0x5eff41(0x3e6)][_0x5eff41(0x155)]({'id':Q[_0x5eff41(0x264)],'data':_0x4fec50}),this['_permissionService'][_0x5eff41(0x3b2)](new J[(_0x5eff41(0x22f))](_0x477ee1)['id'],!0x1),this['_collaborationSessionService'][_0x5eff41(0x320)](_0x477ee1);});};H[_0x2b14f2(0x33c)](this[_0x2b14f2(0x2ee)][_0x2b14f2(0x291)](a['UniverInstanceType'][_0x2b14f2(0x341)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x2b14f2(0x38f)][_0x2b14f2(0x21a)]))[_0x2b14f2(0x362)](W[_0x2b14f2(0x250)](_0x3de7f4=>_0x3de7f4['getUnitId']()),W[_0x2b14f2(0x3f9)](_0x1188b3=>!a['isInternalEditorID'](_0x1188b3)),W[_0x2b14f2(0x1fa)](this['dispose$']))[_0x2b14f2(0x35f)](_0xba5fe9=>{_0x232440(_0xba5fe9);});}['_initUnitPermissionChange'](){var _0x204935=_0x2d7ad2;const _0x55a5a4=async _0x222d8c=>{var _0x2c17d8=_0x38a2;const _0x4b8425=await this[_0x2c17d8(0x2d6)][_0x2c17d8(0x17b)](_0x222d8c),_0x37f835=this[_0x2c17d8(0x153)][_0x2c17d8(0x4b4)](J[_0x2c17d8(0x143)]);_0x4b8425[_0x2c17d8(0x425)][_0x2c17d8(0x362)](W[_0x2c17d8(0x3f9)](_0x99946=>_0x99946[_0x2c17d8(0x3ea)]===m['CollaborationEvent'][_0x2c17d8(0x4a5)]),W[_0x2c17d8(0x1fa)](this[_0x2c17d8(0x1c9)]))[_0x2c17d8(0x35f)](_0xb5e449=>{var _0x516e0c=_0x2c17d8;const _0x3c5402=_0xb5e449,{objectId:_0x1be5b2}=_0x3c5402[_0x516e0c(0x23e)];_0x1be5b2===_0x222d8c?_0x37f835['initWorkbookPermissionChange'](_0x222d8c):_0x37f835['refreshPermission'](_0x222d8c,_0x1be5b2);});};H['merge'](this[_0x204935(0x2ee)][_0x204935(0x291)](a[_0x204935(0x38f)][_0x204935(0x341)]),this[_0x204935(0x2ee)]['getTypeOfUnitAdded$'](a[_0x204935(0x38f)][_0x204935(0x21a)]))['pipe'](W[_0x204935(0x250)](_0xb3766e=>_0xb3766e[_0x204935(0x2d9)]()),W[_0x204935(0x3f9)](_0x5f04e5=>!a[_0x204935(0x1b2)](_0x5f04e5)),W[_0x204935(0x1fa)](this['dispose$']))['subscribe'](_0x38f39f=>{_0x55a5a4(_0x38f39f);});}};Ue=Ki([ce(0x0,a[_0x2d7ad2(0x4c3)](a[_0x2d7ad2(0x2d8)])),ce(0x1,a[_0x2d7ad2(0x2b0)]),ce(0x2,a[_0x2d7ad2(0x2cf)]),ce(0x3,a[_0x2d7ad2(0x4c3)](exports[_0x2d7ad2(0x3c7)])),ce(0x4,a[_0x2d7ad2(0x4c3)](te)),ce(0x5,a[_0x2d7ad2(0x1b5)]),ce(0x6,a[_0x2d7ad2(0x35d)])],Ue);var Yi=Object['defineProperty'],qi=Object[_0x2d7ad2(0x20f)],zi=(_0x4211ce,_0x547196,_0x5f4300,_0x2c25f2)=>{for(var _0x479658=_0x2c25f2>0x1?void 0x0:_0x2c25f2?qi(_0x547196,_0x5f4300):_0x547196,_0x40391d=_0x4211ce['length']-0x1,_0x5667f8;_0x40391d>=0x0;_0x40391d--)(_0x5667f8=_0x4211ce[_0x40391d])&&(_0x479658=(_0x2c25f2?_0x5667f8(_0x547196,_0x5f4300,_0x479658):_0x5667f8(_0x479658))||_0x479658);return _0x2c25f2&&_0x479658&&Yi(_0x547196,_0x5f4300,_0x479658),_0x479658;},ut=(_0x428afd,_0x8585a1)=>(_0x2838ff,_0x56ecfb)=>_0x8585a1(_0x2838ff,_0x56ecfb,_0x428afd);exports[_0x2d7ad2(0x219)]=class{constructor(_0x5c3266,_0x2726ee){var _0x2801fa=_0x2d7ad2;this['_configService']=_0x5c3266,this[_0x2801fa(0x2c5)]=_0x2726ee;}async[_0x2d7ad2(0x491)](_0x5aef0a,_0x3d2744){var _0x462ed4=_0x2d7ad2,_0x6a2dda;const {unitID:_0x446bae,type:_0x1ff6a6,revision:_0x1360c3=0x0}=_0x3d2744,_0xdfb2fe=this['getSnapshotAPIPath']()+'/'+_0x1ff6a6+_0x462ed4(0x1e3)+_0x446bae+_0x462ed4(0x4bf)+_0x1360c3,_0x56e4cb=(await this[_0x462ed4(0x2c5)][_0x462ed4(0x4b4)](_0xdfb2fe))[_0x462ed4(0x2b3)],_0x5b8973=(_0x6a2dda=_0x56e4cb[_0x462ed4(0x494)])==null?void 0x0:_0x6a2dda['workbook'];if(_0x5b8973){const _0x38540a=_0x5b8973==null?void 0x0:_0x5b8973['originalMeta'],_0x720f97=m[_0x462ed4(0x303)][_0x462ed4(0x2be)](m[_0x462ed4(0x418)](_0x38540a));_0x5b8973[_0x462ed4(0x2ea)]=_0x720f97,Object[_0x462ed4(0x42c)](_0x5b8973[_0x462ed4(0x301)])[_0x462ed4(0x1f2)](([,_0x49e93c])=>{var _0x2b8366=_0x462ed4;const _0x486ec0=_0x49e93c[_0x2b8366(0x2ea)],_0x52052d=m[_0x2b8366(0x303)][_0x2b8366(0x2be)](m[_0x2b8366(0x418)](_0x486ec0));_0x49e93c['originalMeta']=_0x52052d;});}return _0x56e4cb;}async['getSheetBlock'](_0x55fe4f,_0x4783c5){var _0x243eb7=_0x2d7ad2;const {unitID:_0x2fd9a0,type:_0x4f500a,blockID:_0x322904}=_0x4783c5,_0x46a33b=this[_0x243eb7(0x342)]()+'/'+_0x4f500a+'/unit/'+_0x2fd9a0+_0x243eb7(0x43b)+_0x322904;return(await this[_0x243eb7(0x2c5)][_0x243eb7(0x4b4)](_0x46a33b))[_0x243eb7(0x2b3)];}async[_0x2d7ad2(0x3cc)](_0x2a1d5b,_0x3428ec){var _0x5c6e9d=_0x2d7ad2;const {unitID:_0x38566e,type:_0x179e81,blockID:_0x1442df}=_0x3428ec,_0x52fee2=this['_getAPIPrefix']()+_0x5c6e9d(0x43b)+_0x179e81+_0x5c6e9d(0x1e3)+_0x38566e+'/block/'+_0x1442df;return(await this[_0x5c6e9d(0x2c5)][_0x5c6e9d(0x4b4)](_0x52fee2))[_0x5c6e9d(0x2b3)];}async[_0x2d7ad2(0x3ef)](_0x3de683,_0x115b8c){var _0x248a19=_0x2d7ad2;const {unitID:_0x561f91,type:_0x544ac8,from:_0x5b5c1c,to:_0x12fcf8}=_0x115b8c,_0xfdd8bf=this[_0x248a19(0x342)]()+'/'+_0x544ac8+_0x248a19(0x1e3)+_0x561f91+_0x248a19(0x30a)+_0x5b5c1c+_0x248a19(0x2f2)+_0x12fcf8;return(await this['_httpService'][_0x248a19(0x4b4)](_0xfdd8bf))[_0x248a19(0x2b3)];}[_0x2d7ad2(0x3a5)](){var _0x3eefbc=_0x2d7ad2,_0x6968d7;return(_0x6968d7=this['_configService'][_0x3eefbc(0x2d0)](ft))!=null?_0x6968d7:this[_0x3eefbc(0x342)]();}[_0x2d7ad2(0x342)](){var _0x5f2092=_0x2d7ad2,_0x1b7598,_0x395cad;const _0x212aad=this[_0x5f2092(0x152)][_0x5f2092(0x2d0)](vt),_0x336740=this[_0x5f2092(0x152)][_0x5f2092(0x2d0)](Y);return(_0x395cad=(_0x1b7598=_0x336740==null?void 0x0:_0x336740[_0x5f2092(0x196)])!=null?_0x1b7598:_0x212aad)!=null?_0x395cad:Ht;}async[_0x2d7ad2(0x3b8)](_0x5bb0bf,_0x3d2b45){var _0x41da3e=_0x2d7ad2;const _0x87fa1b=_0x41da3e(0x246)+_0x3d2b45[_0x41da3e(0x27b)]+_0x41da3e(0x1e3)+_0x3d2b45[_0x41da3e(0x33d)]+_0x41da3e(0x15b);return(await this[_0x41da3e(0x2c5)][_0x41da3e(0x4b4)](_0x87fa1b,{'params':{'resourceId':JSON[_0x41da3e(0x37a)](_0x3d2b45[_0x41da3e(0x145)])}}))[_0x41da3e(0x2b3)];}[_0x2d7ad2(0x1e8)](){var _0x13efe5=_0x2d7ad2;throw new Error(_0x13efe5(0x337));}[_0x2d7ad2(0x316)](){var _0x596f86=_0x2d7ad2;throw new Error(_0x596f86(0x337));}[_0x2d7ad2(0x31f)](){var _0x5f3b3a=_0x2d7ad2;throw new Error(_0x5f3b3a(0x337));}[_0x2d7ad2(0x2d3)](){var _0x112f81=_0x2d7ad2;throw new Error(_0x112f81(0x337));}[_0x2d7ad2(0x25a)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x2d7ad2(0x219)]=zi([ut(0x0,a['IConfigService']),ut(0x1,a[_0x2d7ad2(0x4c3)](q[_0x2d7ad2(0x1f3)]))],exports['SnapshotServerOverHTTPService']);var Ji=Object[_0x2d7ad2(0x325)],Xi=Object[_0x2d7ad2(0x20f)],Zi=(_0x793bcc,_0x593918,_0x3acd4d,_0x3c4651)=>{var _0x4ce3ed=_0x2d7ad2;for(var _0x5a4473=_0x3c4651>0x1?void 0x0:_0x3c4651?Xi(_0x593918,_0x3acd4d):_0x593918,_0x567c13=_0x793bcc[_0x4ce3ed(0x23c)]-0x1,_0x4b1cb6;_0x567c13>=0x0;_0x567c13--)(_0x4b1cb6=_0x793bcc[_0x567c13])&&(_0x5a4473=(_0x3c4651?_0x4b1cb6(_0x593918,_0x3acd4d,_0x5a4473):_0x4b1cb6(_0x5a4473))||_0x5a4473);return _0x3c4651&&_0x5a4473&&Ji(_0x593918,_0x3acd4d,_0x5a4473),_0x5a4473;},de=(_0x1004e7,_0x18aa04)=>(_0xc4ded8,_0x483076)=>_0x18aa04(_0xc4ded8,_0x483076,_0x1004e7);exports[_0x2d7ad2(0x3bd)]=class extends a[_0x2d7ad2(0x3fa)]{constructor(_0x214c6d,_0x89d844,_0x41bc73,_0x46f13f,_0x39c50b){super(_0x214c6d,_0x89d844,_0x41bc73),this['_transformService']=_0x46f13f,this['_logService']=_0x39c50b;}[_0x2d7ad2(0x416)](_0x2caa2c,_0x422780){var _0x206ab7=_0x2d7ad2;const _0xe9d54c=this[_0x206ab7(0x46e)](_0x2caa2c);if(_0xe9d54c)try{const _0x520cf9=this[_0x206ab7(0x272)](_0xe9d54c,_0x422780);this[_0x206ab7(0x3a7)](_0x2caa2c,_0x520cf9);}catch(_0x257713){this[_0x206ab7(0x382)]['error'](_0x206ab7(0x4ba),_0x257713),this['_clearUndo'](_0x2caa2c);}const _0x2032c9=this[_0x206ab7(0x1d2)](_0x2caa2c);if(_0x2032c9)try{const _0x3b7ae1=this[_0x206ab7(0x272)](_0x2032c9,_0x422780);this[_0x206ab7(0x46c)](_0x2caa2c,_0x3b7ae1);}catch(_0x5eccbc){this[_0x206ab7(0x382)][_0x206ab7(0x450)](_0x5eccbc),this[_0x206ab7(0x3d6)](_0x2caa2c);}}[_0x2d7ad2(0x306)](_0xfc6b63){var _0x1af640=_0x2d7ad2;const _0x3ae958=this[_0x1af640(0x46e)](_0xfc6b63);_0x3ae958&&(_0x3ae958[_0x1af640(0x23c)]=0x0,this[_0x1af640(0x375)]());}['_clearRedo'](_0x2bb937){var _0x1f7545=_0x2d7ad2;const _0x4b6de0=this[_0x1f7545(0x1d2)](_0x2bb937);_0x4b6de0&&(_0x4b6de0[_0x1f7545(0x23c)]=0x0,this['_updateStatus']());}[_0x2d7ad2(0x3a7)](_0x6090a0,_0x65ea4f){var _0x3ebc6e=_0x2d7ad2;this[_0x3ebc6e(0x4bd)][_0x3ebc6e(0x3e0)](_0x6090a0,_0x65ea4f),this[_0x3ebc6e(0x375)]();}['_substituteRedoStack'](_0x810d7,_0x272867){var _0x20fed7=_0x2d7ad2;this[_0x20fed7(0x46f)][_0x20fed7(0x3e0)](_0x810d7,_0x272867),this['_updateStatus']();}[_0x2d7ad2(0x272)](_0x4ac0e9,_0x39da79){var _0x36bd9d=_0x2d7ad2;const _0x51a2b7=[];let _0x40d3cb=_0x39da79,_0x55578e=_0x39da79;for(let _0x43d512=_0x4ac0e9['length']-0x1;_0x43d512>=0x0;_0x43d512--){const {unitID:_0xd029ff,undoMutations:_0x41cc55,redoMutations:_0xcbcded}=_0x4ac0e9[_0x43d512],_0x47ef26=this[_0x36bd9d(0x3d7)][_0x36bd9d(0x370)](_0x40d3cb,_0x41cc55),_0x2a15c3=this['_transformService']['transformMutationsWithChangeset'](_0x55578e,_0xcbcded);if(m[_0x36bd9d(0x2e5)](_0x47ef26)||m[_0x36bd9d(0x2e5)](_0x2a15c3)){this['_logService'][_0x36bd9d(0x450)]('[CollaborationUndoRedoService]',_0x36bd9d(0x379),_0x47ef26,_0x2a15c3);break;}_0x40d3cb=_0x47ef26[_0x36bd9d(0x4a6)],_0x55578e=_0x2a15c3['c1Prime'],_0x51a2b7[_0x36bd9d(0x40d)]({'unitID':_0xd029ff,'undoMutations':_0x47ef26['m2Prime'],'redoMutations':_0x2a15c3[_0x36bd9d(0x452)]});}return _0x51a2b7[_0x36bd9d(0x211)]();}},exports[_0x2d7ad2(0x3bd)]=Zi([de(0x0,a[_0x2d7ad2(0x2b0)]),de(0x1,a['ICommandService']),de(0x2,a[_0x2d7ad2(0x404)]),de(0x3,m[_0x2d7ad2(0x402)]),de(0x4,a[_0x2d7ad2(0x3f3)])],exports['CollaborativeUndoRedoService']);var Lt=Object[_0x2d7ad2(0x325)],Qi=Object[_0x2d7ad2(0x20f)],er=(_0x33f553,_0x4fb292,_0x4cba91)=>_0x4fb292 in _0x33f553?Lt(_0x33f553,_0x4fb292,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4cba91}):_0x33f553[_0x4fb292]=_0x4cba91,tr=(_0x4d279a,_0x1273f8,_0x1de8e2,_0x262824)=>{var _0x50c702=_0x2d7ad2;for(var _0x380fa0=_0x262824>0x1?void 0x0:_0x262824?Qi(_0x1273f8,_0x1de8e2):_0x1273f8,_0x272a8e=_0x4d279a[_0x50c702(0x23c)]-0x1,_0x5211b2;_0x272a8e>=0x0;_0x272a8e--)(_0x5211b2=_0x4d279a[_0x272a8e])&&(_0x380fa0=(_0x262824?_0x5211b2(_0x1273f8,_0x1de8e2,_0x380fa0):_0x5211b2(_0x380fa0))||_0x380fa0);return _0x262824&&_0x380fa0&&Lt(_0x1273f8,_0x1de8e2,_0x380fa0),_0x380fa0;},je=(_0x284222,_0x541096)=>(_0x79fcc7,_0xc43169)=>_0x541096(_0x79fcc7,_0xc43169,_0x284222),nr=(_0x2ccaae,_0x37d313,_0xf016f5)=>er(_0x2ccaae,_0x37d313+'',_0xf016f5);const ir=_0x2d7ad2(0x1bc);exports[_0x2d7ad2(0x403)]=class extends a[_0x2d7ad2(0x258)]{constructor(_0x2c5fe8=Ke,_0x1b8ec5,_0x5e4d85,_0x5be758){var _0x2a2a85=_0x2d7ad2;super(),this[_0x2a2a85(0x3df)]=_0x2c5fe8,this[_0x2a2a85(0x382)]=_0x1b8ec5,this['_injector']=_0x5e4d85,this['_configService']=_0x5be758;const {..._0x42e510}=a[_0x2a2a85(0x33c)]({},Ke,this[_0x2a2a85(0x3df)]);this[_0x2a2a85(0x152)][_0x2a2a85(0x29b)](Y,_0x42e510);}[_0x2d7ad2(0x221)](){var _0x354393=_0x2d7ad2;this[_0x354393(0x2e7)](),this[_0x354393(0x26e)]();}[_0x2d7ad2(0x2e7)](){var _0x38b27b=_0x2d7ad2,_0x57720e,_0x5fe6c8,_0x42c132,_0x269497;this[_0x38b27b(0x153)][_0x38b27b(0x1e1)](a['IUndoRedoService'])&&this[_0x38b27b(0x382)][_0x38b27b(0x450)](_0x38b27b(0x2b2),_0x38b27b(0x439));const _0x3c8c0a=a[_0x38b27b(0x299)]([[a['IUndoRedoService'],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x38b27b(0x3c7)]],[exports[_0x38b27b(0x317)]],[exports[_0x38b27b(0x413)]],[ye],[Ne],[Be],[Ue],[te],[exports['DataLoaderService']],[ke,{'useClass':(_0x5fe6c8=(_0x57720e=this[_0x38b27b(0x3df)])==null?void 0x0:_0x57720e[_0x38b27b(0x32b)])!=null?_0x5fe6c8:exports[_0x38b27b(0x407)]}],[m[_0x38b27b(0x495)],{'useClass':exports[_0x38b27b(0x219)]}],[a[_0x38b27b(0x1b5)],{'useClass':exports[_0x38b27b(0x2b1)]}],[X['IImageIoService'],{'useClass':exports[_0x38b27b(0x47e)]}],[a[_0x38b27b(0x240)],{'useClass':exports[_0x38b27b(0x42f)]}],[exports[_0x38b27b(0x185)]],[$e]],(_0x42c132=this['_config'])==null?void 0x0:_0x42c132['override']);if(!((_0x269497=this[_0x38b27b(0x3df)])!=null&&_0x269497['enableSingleActiveInstanceLock'])){const _0x44d462=_0x3c8c0a[_0x38b27b(0x1af)](([_0x363fc2])=>_0x363fc2===ve);_0x44d462!==-0x1&&_0x3c8c0a[_0x38b27b(0x2e8)](_0x44d462,0x1);}a[_0x38b27b(0x3a1)](this[_0x38b27b(0x153)],_0x3c8c0a);}['_initDependencies'](){var _0x26ef9a=_0x2d7ad2,_0x4e1497,_0x65df77,_0x11d15d;this[_0x26ef9a(0x153)][_0x26ef9a(0x4b4)](q[_0x26ef9a(0x1f3)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x4e1497=this[_0x26ef9a(0x3df)])!=null&&_0x4e1497[_0x26ef9a(0x239)]||(_0x65df77=this[_0x26ef9a(0x153)]['get'](z,a[_0x26ef9a(0x4b1)][_0x26ef9a(0x1d7)]))==null||_0x65df77[_0x26ef9a(0x457)](),(_0x11d15d=this[_0x26ef9a(0x3df)])!=null&&_0x11d15d[_0x26ef9a(0x424)]&&a['touchDependencies'](this['_injector'],[[ye]]),a[_0x26ef9a(0x22b)](this[_0x26ef9a(0x153)],[[Ne],[exports[_0x26ef9a(0x185)]],[Ue]]);}},nr(exports[_0x2d7ad2(0x403)],_0x2d7ad2(0x476),ir),exports['UniverCollaborationClientPlugin']=tr([a[_0x2d7ad2(0x191)](m[_0x2d7ad2(0x357)],J[_0x2d7ad2(0x1ca)],q[_0x2d7ad2(0x422)]),je(0x1,a[_0x2d7ad2(0x3f3)]),je(0x2,a[_0x2d7ad2(0x4c3)](a['Injector'])),je(0x3,a[_0x2d7ad2(0x160)])],exports[_0x2d7ad2(0x403)]),exports['AUTHZ_URL_KEY']=Ve,exports[_0x2d7ad2(0x1c4)]=Y,exports[_0x2d7ad2(0x421)]=Et,exports[_0x2d7ad2(0x1c2)]=St,exports[_0x2d7ad2(0x2ad)]=We,exports[_0x2d7ad2(0x359)]=Q,exports[_0x2d7ad2(0x1eb)]=te,exports[_0x2d7ad2(0x21f)]=Be,exports[_0x2d7ad2(0x14d)]=pt,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=Xt,exports[_0x2d7ad2(0x289)]=mt,exports[_0x2d7ad2(0x33a)]=He,exports['ICollaborationSocketService']=ke,exports['ILocalCacheService']=z,exports[_0x2d7ad2(0x1ba)]=Rt,exports[_0x2d7ad2(0x225)]=ve,exports[_0x2d7ad2(0x2d1)]=Yt,exports['LOCAL_CACHE_INTERVAL_KEY']=Kt,exports[_0x2d7ad2(0x1a4)]=Ct,exports[_0x2d7ad2(0x2e0)]=Jt,exports[_0x2d7ad2(0x36b)]=It,exports[_0x2d7ad2(0x3be)]=kt,exports[_0x2d7ad2(0x2a1)]=vt,exports['SNAPSHOT_URL_KEY']=ft,exports[_0x2d7ad2(0x473)]=se,exports[_0x2d7ad2(0x255)]=Fe,exports['deserializeToCombResponse']=Ot,exports[_0x2d7ad2(0x415)]=In,exports[_0x2d7ad2(0x35e)]=yt;
|