@univerjs-pro/collaboration-client 0.6.10-experimental.20250428-261c0dd → 0.6.10-experimental.20250428-2b6408c
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/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/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 _0x36a862=_0x58e2;(function(_0x9abaf0,_0x320a46){var _0x1a2729=_0x58e2,_0x3ff181=_0x9abaf0();while(!![]){try{var _0x134cf5=parseInt(_0x1a2729(0x3fc))/0x1+parseInt(_0x1a2729(0x4fb))/0x2+parseInt(_0x1a2729(0x3f8))/0x3+parseInt(_0x1a2729(0x304))/0x4*(-parseInt(_0x1a2729(0x2c4))/0x5)+-parseInt(_0x1a2729(0x55e))/0x6*(-parseInt(_0x1a2729(0x3d1))/0x7)+parseInt(_0x1a2729(0x240))/0x8*(-parseInt(_0x1a2729(0x560))/0x9)+-parseInt(_0x1a2729(0x4b8))/0xa*(parseInt(_0x1a2729(0x4b4))/0xb);if(_0x134cf5===_0x320a46)break;else _0x3ff181['push'](_0x3ff181['shift']());}catch(_0x69e3){_0x3ff181['push'](_0x3ff181['shift']());}}}(_0x5a88,0x43672));var wt=Object[_0x36a862(0x2e1)],Lt=(_0x3c8b1a,_0x2b93c3,_0x4034fd)=>_0x2b93c3 in _0x3c8b1a?wt(_0x3c8b1a,_0x2b93c3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4034fd}):_0x3c8b1a[_0x2b93c3]=_0x4034fd,A=(_0x2c1efd,_0x3ce374,_0x3bf631)=>Lt(_0x2c1efd,typeof _0x3ce374!=_0x36a862(0x49a)?_0x3ce374+'':_0x3ce374,_0x3bf631);Object[_0x36a862(0x2e1)](exports,Symbol['toStringTag'],{'value':_0x36a862(0x1f5)});const a=require(_0x36a862(0x32c)),j=require('rxjs'),V=require('rxjs/operators'),g=require(_0x36a862(0x235)),q=require('@univerjs/network'),Mt=require('@univerjs/telemetry'),ut=require('@univerjs/docs'),Z=require(_0x36a862(0x4bd)),J=require(_0x36a862(0x44b)),xt=require(_0x36a862(0x2f2)),dt=_0x36a862(0x4d6),kt=_0x36a862(0x2ad),vt=_0x36a862(0x3ee),Ht='SEND_CHANGESET_TIMEOUT',jt=0x7d0,St=_0x36a862(0x4ea),ft='ws://127.0.0.1:8000/universer-api/comb/connect',$t='/universer-api/user/session-ticket',pt=_0x36a862(0x475),Bt=0x7530,je=_0x36a862(0x225),gt=0x4e20,Ft=0x4e20,It=_0x36a862(0x35b),Vt=0x3,Wt='LOCAL_CACHE_INTERVAL',Gt=0x3e8,mt=_0x36a862(0x346),Kt=_0x36a862(0x349),Et=_0x36a862(0x30b),Yt=_0x36a862(0x38c),qt=_0x36a862(0x447),zt=_0x36a862(0x4da);var Ct=(_0x5ecc39=>(_0x5ecc39[_0x5ecc39['UNDEFINED']=0x0]=_0x36a862(0x30f),_0x5ecc39[_0x5ecc39['OK']=0x1]='OK',_0x5ecc39[_0x5ecc39[_0x36a862(0x2be)]=0x2]=_0x36a862(0x2be),_0x5ecc39[_0x5ecc39[_0x36a862(0x41a)]=0x3]=_0x36a862(0x41a),_0x5ecc39[_0x5ecc39['NOT_FOUND']=0x4]='NOT_FOUND',_0x5ecc39[_0x5ecc39[_0x36a862(0x46d)]=0x5]='UNAUTHENTICATED',_0x5ecc39[_0x5ecc39[_0x36a862(0x221)]=0x6]=_0x36a862(0x221),_0x5ecc39[_0x5ecc39['INVALID_ARGUMENT']=0x7]=_0x36a862(0x4de),_0x5ecc39[_0x5ecc39['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x5ecc39[_0x5ecc39[_0x36a862(0x453)]=0x9]=_0x36a862(0x453),_0x5ecc39[_0x5ecc39[_0x36a862(0x550)]=0xa]=_0x36a862(0x550),_0x5ecc39[_0x5ecc39[_0x36a862(0x2a0)]=0x1389]=_0x36a862(0x2a0),_0x5ecc39[_0x5ecc39['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5ecc39[_0x5ecc39[_0x36a862(0x220)]=0x1772]=_0x36a862(0x220),_0x5ecc39[_0x5ecc39['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x36a862(0x3f5),_0x5ecc39[_0x5ecc39[_0x36a862(0x29f)]=0x1b59]=_0x36a862(0x29f),_0x5ecc39[_0x5ecc39[_0x36a862(0x22b)]=0x1b5a]=_0x36a862(0x22b),_0x5ecc39[_0x5ecc39[_0x36a862(0x347)]=0x1b5b]=_0x36a862(0x347),_0x5ecc39[_0x5ecc39[_0x36a862(0x296)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5ecc39[_0x5ecc39['APPLY_DUPLICATED']=0x1b5d]=_0x36a862(0x531),_0x5ecc39[_0x5ecc39['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x36a862(0x356),_0x5ecc39[_0x5ecc39[_0x36a862(0x27b)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5ecc39[_0x5ecc39[_0x36a862(0x2a2)]=0x232a]=_0x36a862(0x2a2),_0x5ecc39[_0x5ecc39[_0x36a862(0x458)]=0x232b]=_0x36a862(0x458),_0x5ecc39[_0x5ecc39[_0x36a862(0x3c9)]=0x232c]=_0x36a862(0x3c9),_0x5ecc39[_0x5ecc39[_0x36a862(0x3dc)]=0x232d]=_0x36a862(0x3dc),_0x5ecc39[_0x5ecc39['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x36a862(0x3d8),_0x5ecc39[_0x5ecc39['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x36a862(0x505),_0x5ecc39[_0x5ecc39[_0x36a862(0x46e)]=0x2713]=_0x36a862(0x46e),_0x5ecc39[_0x5ecc39[_0x36a862(0x448)]=0x2714]=_0x36a862(0x448),_0x5ecc39[_0x5ecc39[_0x36a862(0x1ed)]=0x271a]=_0x36a862(0x1ed),_0x5ecc39[_0x5ecc39['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x36a862(0x43f),_0x5ecc39[_0x5ecc39[_0x36a862(0x2af)]=0x2af9]=_0x36a862(0x2af),_0x5ecc39[_0x5ecc39['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x36a862(0x47e),_0x5ecc39[_0x5ecc39[_0x36a862(0x2a8)]=0x2ee2]=_0x36a862(0x2a8),_0x5ecc39[_0x5ecc39[_0x36a862(0x260)]=0x2ee3]=_0x36a862(0x260),_0x5ecc39[_0x5ecc39['USER_NOT_INVITED_CODE']=0x2ee4]=_0x36a862(0x3be),_0x5ecc39[_0x5ecc39[_0x36a862(0x360)]=0x2ee5]=_0x36a862(0x360),_0x5ecc39[_0x5ecc39[_0x36a862(0x401)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5ecc39[_0x5ecc39[_0x36a862(0x442)]=0x32ca]=_0x36a862(0x442),_0x5ecc39[_0x5ecc39[_0x36a862(0x24e)]=0x32cb]=_0x36a862(0x24e),_0x5ecc39[_0x5ecc39[_0x36a862(0x4c6)]=-0x1]='UNRECOGNIZED',_0x5ecc39))(Ct||{}),X=(_0x46c125=>(_0x46c125[_0x46c125[_0x36a862(0x34b)]=0x0]=_0x36a862(0x34b),_0x46c125[_0x46c125[_0x36a862(0x338)]=0x1]=_0x36a862(0x338),_0x46c125[_0x46c125['UNIVER_SHEET']=0x2]=_0x36a862(0x474),_0x46c125[_0x46c125[_0x36a862(0x413)]=0x3]=_0x36a862(0x413),_0x46c125[_0x46c125['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x46c125[_0x46c125[_0x36a862(0x4c6)]=-0x1]=_0x36a862(0x4c6),_0x46c125))(X||{}),W=(_0x491033=>(_0x491033[_0x491033[_0x36a862(0x4f9)]=0x0]=_0x36a862(0x4f9),_0x491033[_0x491033[_0x36a862(0x4e4)]=0x1]='HELLO',_0x491033[_0x491033['JOIN']=0x2]=_0x36a862(0x3cc),_0x491033[_0x491033['LEAVE']=0x3]=_0x36a862(0x512),_0x491033[_0x491033[_0x36a862(0x45a)]=0x4]='INGEST',_0x491033[_0x491033['HEARTBEAT']=0x5]=_0x36a862(0x3a2),_0x491033[_0x491033[_0x36a862(0x40d)]=0x6]=_0x36a862(0x40d),_0x491033[_0x491033['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x491033))(W||{}),ae=(_0x5a1558=>(_0x5a1558[_0x5a1558[_0x36a862(0x281)]=0x0]=_0x36a862(0x281),_0x5a1558[_0x5a1558['OK']=0x1]='OK',_0x5a1558[_0x5a1558[_0x36a862(0x3e7)]=0x2]='FAIL',_0x5a1558[_0x5a1558['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x5a1558[_0x5a1558[_0x36a862(0x451)]=0x3ea]=_0x36a862(0x451),_0x5a1558[_0x5a1558[_0x36a862(0x26b)]=0x3eb]=_0x36a862(0x26b),_0x5a1558[_0x5a1558[_0x36a862(0x330)]=0x3ec]=_0x36a862(0x330),_0x5a1558[_0x5a1558[_0x36a862(0x4c6)]=-0x1]=_0x36a862(0x4c6),_0x5a1558))(ae||{}),Tt=(_0x1fc374=>(_0x1fc374[_0x1fc374['Undefined']=0x0]=_0x36a862(0x502),_0x1fc374[_0x1fc374[_0x36a862(0x444)]=0x1]=_0x36a862(0x444),_0x1fc374[_0x1fc374[_0x36a862(0x2ee)]=0x2]=_0x36a862(0x2ee),_0x1fc374[_0x1fc374[_0x36a862(0x491)]=0x3]=_0x36a862(0x491),_0x1fc374[_0x1fc374[_0x36a862(0x279)]=0x4]=_0x36a862(0x279),_0x1fc374[_0x1fc374[_0x36a862(0x2bb)]=0x5]='UserProfileImg',_0x1fc374[_0x1fc374[_0x36a862(0x4c6)]=-0x1]='UNRECOGNIZED',_0x1fc374))(Tt||{});const Y='collaboration-client.config',Jt={};var Q=(_0x5ab73e=>(_0x5ab73e[_0x36a862(0x465)]=_0x36a862(0x465),_0x5ab73e['PERMISSION_DENIED']=_0x36a862(0x41a),_0x5ab73e[_0x36a862(0x21e)]='CONFLICT',_0x5ab73e[_0x36a862(0x332)]='CLOSE_ROOM',_0x5ab73e[_0x36a862(0x4f6)]=_0x36a862(0x4f6),_0x5ab73e[_0x36a862(0x28c)]='SOCKET_FAILED_RETRY',_0x5ab73e[_0x36a862(0x45d)]=_0x36a862(0x45d),_0x5ab73e[_0x36a862(0x28d)]=_0x36a862(0x28d),_0x5ab73e))(Q||{});class te{constructor(){var _0x1fd071=_0x36a862;A(this,_0x1fd071(0x226),new j[(_0x1fd071(0x533))]()),A(this,_0x1fd071(0x211),this['_event$'][_0x1fd071(0x522)]());}[_0x36a862(0x450)](_0x3a9340){var _0x41c10b=_0x36a862;this[_0x41c10b(0x226)][_0x41c10b(0x55c)](_0x3a9340);}}const bt=a['createIdentifier']('univer-pro.collaboration-client.network-condition.service');function Rt(_0xb9c4f9){var _0x12fc75=_0x36a862,_0x368022,_0x3a86b5,_0x37735c,_0x5b7503,_0x205ff0;const _0x13811b=_0xb9c4f9[_0x12fc75(0x2f9)],_0x36b973=JSON[_0x12fc75(0x3d2)](_0x13811b);switch(_0x36b973[_0x12fc75(0x3fa)]){case W[_0x12fc75(0x3a2)]:case W[_0x12fc75(0x4e4)]:{const _0x4590bb=_0x36b973[_0x12fc75(0x419)];return{..._0x36b973,'data':_0x4590bb,'cmd':_0x36b973[_0x12fc75(0x3fa)]};}case W[_0x12fc75(0x3cc)]:{const _0xd00cf2=_0x36b973['joinRsp'];return{..._0x36b973,'data':_0xd00cf2,'cmd':_0x36b973[_0x12fc75(0x3fa)]};}case W['RECV']:{const _0x1003fb=_0x36b973[_0x12fc75(0x35a)];switch(_0x1003fb[_0x12fc75(0x4af)]){case g[_0x12fc75(0x52d)][_0x12fc75(0x4aa)]:return{..._0x36b973,'data':{..._0x1003fb,'data':(_0x368022=_0x1003fb['permissionRejEvent'])==null?void 0x0:_0x368022['cs']},'cmd':_0x36b973[_0x12fc75(0x3fa)]};case g[_0x12fc75(0x52d)][_0x12fc75(0x1e9)]:return{..._0x36b973,'data':{..._0x1003fb,'data':(_0x3a86b5=_0x1003fb[_0x12fc75(0x547)])==null?void 0x0:_0x3a86b5['cs']},'cmd':_0x36b973[_0x12fc75(0x3fa)]};case g[_0x12fc75(0x52d)]['NEW_CHANGESETS']:return{..._0x36b973,'data':{..._0x1003fb,'data':(_0x37735c=_0x1003fb[_0x12fc75(0x2b5)])==null?void 0x0:_0x37735c['cs']},'cmd':_0x36b973[_0x12fc75(0x3fa)]};case g['CollaborationEvent'][_0x12fc75(0x1f4)]:return{..._0x36b973,'data':{..._0x1003fb,'data':(_0x5b7503=_0x1003fb[_0x12fc75(0x4f4)])==null?void 0x0:_0x5b7503['cs']},'cmd':_0x36b973[_0x12fc75(0x3fa)]};case g[_0x12fc75(0x52d)]['CHANGESET_SHOULD_RETRY']:return{..._0x36b973,'data':{..._0x1003fb,'data':(_0x205ff0=_0x1003fb[_0x12fc75(0x372)])==null?void 0x0:_0x205ff0['cs']},'cmd':_0x36b973['cmd']};case g[_0x12fc75(0x52d)][_0x12fc75(0x4b3)]:return{..._0x36b973,'data':{..._0x1003fb,'data':_0x1003fb[_0x12fc75(0x37c)]},'cmd':_0x36b973['cmd']};case g[_0x12fc75(0x52d)][_0x12fc75(0x302)]:return{..._0x36b973,'data':{..._0x1003fb,'data':_0x1003fb[_0x12fc75(0x3ae)]},'cmd':_0x36b973[_0x12fc75(0x3fa)]};case g['CollaborationEvent'][_0x12fc75(0x52a)]:return{..._0x36b973,'data':{..._0x1003fb,'data':_0x1003fb[_0x12fc75(0x3c8)]},'cmd':_0x36b973['cmd']};case g[_0x12fc75(0x52d)]['LIVESHARE_NEW_HOST']:return{..._0x36b973,'data':{..._0x1003fb,'data':_0x1003fb['liveShareNewHost']},'cmd':_0x36b973[_0x12fc75(0x3fa)]};case g[_0x12fc75(0x52d)]['LIVESHARE_FETCH_OPERATIONS']:case g[_0x12fc75(0x52d)][_0x12fc75(0x3a8)]:return{..._0x36b973,'data':{..._0x1003fb,'data':_0x1003fb[_0x12fc75(0x4d3)]},'cmd':_0x36b973['cmd']};case g[_0x12fc75(0x52d)]['LIVESHARE_TERMINATE']:return{..._0x36b973,'data':{..._0x1003fb,'data':_0x1003fb['liveShareNewHost']},'cmd':_0x36b973[_0x12fc75(0x3fa)]};case g[_0x12fc75(0x52d)][_0x12fc75(0x314)]:return{..._0x36b973,'data':_0x1003fb,'cmd':_0x36b973['cmd']};case g['CollaborationEvent'][_0x12fc75(0x1f6)]:return{..._0x36b973,'data':{..._0x1003fb,'data':_0x1003fb[_0x12fc75(0x53a)]},'cmd':_0x36b973['cmd']};case g[_0x12fc75(0x52d)][_0x12fc75(0x443)]:return{..._0x36b973,'data':{..._0x1003fb,'data':_0x1003fb[_0x12fc75(0x23b)]},'cmd':_0x36b973[_0x12fc75(0x3fa)]};case g[_0x12fc75(0x52d)][_0x12fc75(0x4ab)]:return{..._0x36b973,'data':{..._0x1003fb,'data':_0x1003fb['shouldCloseConn']},'cmd':_0x36b973[_0x12fc75(0x3fa)]};case g[_0x12fc75(0x52d)][_0x12fc75(0x463)]:return{..._0x36b973,'data':{..._0x1003fb,'data':_0x1003fb[_0x12fc75(0x4a2)]},'cmd':_0x36b973[_0x12fc75(0x3fa)]};default:return _0x36b973;}}default:return _0x36b973;}}function Ot(_0xb70dc9){var _0x12c444=_0x36a862;switch(_0xb70dc9[_0x12c444(0x3fa)]){case W[_0x12c444(0x3a2)]:case W['HELLO']:return JSON['stringify']({'cmd':_0xb70dc9[_0x12c444(0x3fa)],'routeKey':_0xb70dc9['routeKey']});case W[_0x12c444(0x45a)]:{let _0x23ba1c;switch(_0xb70dc9[_0x12c444(0x2f9)]['eventID']){case g[_0x12c444(0x52d)][_0x12c444(0x4b3)]:{_0x23ba1c={'eventID':g[_0x12c444(0x52d)][_0x12c444(0x4b3)],'updateCursorEvent':_0xb70dc9['data'][_0x12c444(0x2f9)]};break;}case g[_0x12c444(0x52d)][_0x12c444(0x52a)]:{_0x23ba1c={'eventID':g[_0x12c444(0x52d)][_0x12c444(0x52a)],'leaveEvent':_0xb70dc9[_0x12c444(0x2f9)][_0x12c444(0x2f9)]};break;}case g[_0x12c444(0x52d)]['USERS_ENTER']:{_0x23ba1c={'eventID':g['CollaborationEvent'][_0x12c444(0x302)],'joinEvent':_0xb70dc9[_0x12c444(0x2f9)]['data']};break;}case g['CollaborationEvent'][_0x12c444(0x51e)]:{_0x23ba1c={'eventID':g[_0x12c444(0x52d)][_0x12c444(0x51e)],'liveShareNewHost':_0xb70dc9[_0x12c444(0x2f9)][_0x12c444(0x2f9)]};break;}case g[_0x12c444(0x52d)][_0x12c444(0x3a8)]:{_0x23ba1c={'eventID':g[_0x12c444(0x52d)][_0x12c444(0x3a8)],'liveShareOperation':_0xb70dc9[_0x12c444(0x2f9)][_0x12c444(0x2f9)]};break;}case g['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x23ba1c={'eventID':g[_0x12c444(0x52d)][_0x12c444(0x3e4)],'liveShareTerminate':_0xb70dc9[_0x12c444(0x2f9)][_0x12c444(0x2f9)]};break;}case g['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:{_0x23ba1c={'eventID':g[_0x12c444(0x52d)][_0x12c444(0x456)],'liveShareRequestHost':_0xb70dc9[_0x12c444(0x2f9)][_0x12c444(0x2f9)]};break;}case g[_0x12c444(0x52d)][_0x12c444(0x3a5)]:{_0x23ba1c={'eventID':g[_0x12c444(0x52d)][_0x12c444(0x3a5)]};break;}default:_0x23ba1c={'eventID':_0xb70dc9['data']['eventID']};}return JSON[_0x12c444(0x25b)]({'cmd':_0xb70dc9[_0x12c444(0x3fa)],'routeKey':_0xb70dc9[_0x12c444(0x418)],'collaMsg':_0x23ba1c});}case W[_0x12c444(0x3cc)]:return JSON[_0x12c444(0x25b)]({'cmd':_0xb70dc9[_0x12c444(0x3fa)],'routeKey':_0xb70dc9['routeKey'],'joinReq':_0xb70dc9[_0x12c444(0x2f9)]});case W[_0x12c444(0x512)]:return JSON[_0x12c444(0x25b)]({'cmd':_0xb70dc9[_0x12c444(0x3fa)],'routeKey':_0xb70dc9[_0x12c444(0x418)],'leaveReq':_0xb70dc9['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Xt=Object[_0x36a862(0x2dc)],Zt=(_0x29bf24,_0x265d48,_0x4657ae,_0x5a4a56)=>{var _0x4a2118=_0x36a862;for(var _0x18cb32=_0x5a4a56>0x1?void 0x0:_0x5a4a56?Xt(_0x265d48,_0x4657ae):_0x265d48,_0x57f02c=_0x29bf24[_0x4a2118(0x269)]-0x1,_0x4772e7;_0x57f02c>=0x0;_0x57f02c--)(_0x4772e7=_0x29bf24[_0x57f02c])&&(_0x18cb32=_0x4772e7(_0x18cb32)||_0x18cb32);return _0x18cb32;},le=(_0x26c0de,_0x5ba7ec)=>(_0x5940a6,_0x2c90c2)=>_0x5ba7ec(_0x5940a6,_0x2c90c2,_0x26c0de);const $e=a[_0x36a862(0x509)](_0x36a862(0x2bc));function Qt(_0x1d1373,_0x321c17,_0x560153){var _0x14fab9=_0x36a862;return _0x1d1373+'/'+_0x321c17+_0x14fab9(0x2e4)+_0x560153+'/new_changes';}exports[_0x36a862(0x3fe)]=class extends a[_0x36a862(0x29a)]{constructor(_0x558d97,_0x3cfa2b,_0x58ea8a,_0xe75d6c,_0x47a007){var _0x26d939=_0x36a862;super(),this[_0x26d939(0x227)]=_0x558d97,this[_0x26d939(0x527)]=_0x3cfa2b,this['_configService']=_0x58ea8a,this[_0x26d939(0x3e3)]=_0xe75d6c,this[_0x26d939(0x507)]=_0x47a007;}[_0x36a862(0x26a)](_0x4080a4){var _0x2a7a76=_0x36a862;const _0x3dc035=this['_injector'][_0x2a7a76(0x473)](q['ISocketService']);if(!_0x3dc035)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x37b5cb=_0x3dc035[_0x2a7a76(0x244)](_0x4080a4);if(!_0x37b5cb)throw new Error(_0x2a7a76(0x406));const _0x2035b0=new a[(_0x2a7a76(0x4ae))](),_0x32e913=new j[(_0x2a7a76(0x533))]();_0x2035b0['add'](_0x37b5cb[_0x2a7a76(0x462)][_0x2a7a76(0x23e)](_0x540401=>_0x32e913[_0x2a7a76(0x55c)](_0x540401))),_0x2035b0['add'](a[_0x2a7a76(0x4cb)](()=>_0x32e913[_0x2a7a76(0x4ce)]()));const _0x1def64=new j[(_0x2a7a76(0x533))]();_0x2035b0[_0x2a7a76(0x4e7)](_0x37b5cb[_0x2a7a76(0x36c)][_0x2a7a76(0x23e)](_0x1a6a68=>_0x1def64[_0x2a7a76(0x55c)](_0x1a6a68))),_0x2035b0[_0x2a7a76(0x4e7)](a[_0x2a7a76(0x4cb)](()=>_0x1def64['complete']()));const _0x3fb64e=new j['Subject']();_0x2035b0[_0x2a7a76(0x4e7)](_0x37b5cb[_0x2a7a76(0x40f)][_0x2a7a76(0x23e)](_0x250656=>{var _0x37eb03=_0x2a7a76;const _0x1bf2e7=Rt(_0x250656);_0x3fb64e[_0x37eb03(0x55c)](_0x1bf2e7);})),_0x2035b0[_0x2a7a76(0x4e7)](a['toDisposable'](()=>_0x3fb64e[_0x2a7a76(0x4ce)]()));let _0x4bf19b;const _0x3d8d4c=()=>{var _0x376179=_0x2a7a76;_0x1def64[_0x376179(0x55c)](new Event(_0x376179(0x3b3))),_0x32e913['next'](new Event(_0x376179(0x3b3))),_0x4bf19b['close']();};return _0x4bf19b={'memberID':'','close$':_0x32e913[_0x2a7a76(0x522)](),'error$':_0x1def64[_0x2a7a76(0x522)](),'open$':_0x37b5cb['open$'],'message$':_0x3fb64e['asObservable'](),'send':_0x5c60a9=>{var _0x2d640e=_0x2a7a76;if(_0x5c60a9[_0x2d640e(0x3fa)]===W['INGEST']){if(_0x5c60a9['data'][_0x2d640e(0x4af)]===g[_0x2d640e(0x52d)][_0x2d640e(0x424)]){this[_0x2d640e(0x446)](_0x4bf19b,_0x5c60a9[_0x2d640e(0x2f9)])[_0x2d640e(0x412)](_0x594ebb=>{var _0x40c745=_0x2d640e;this[_0x40c745(0x3e3)][_0x40c745(0x3c7)](_0x594ebb),_0x3d8d4c();});return;}if(_0x5c60a9[_0x2d640e(0x2f9)][_0x2d640e(0x4af)]===g[_0x2d640e(0x52d)][_0x2d640e(0x53c)]){const _0x39d196=_0x5c60a9['data'];this['_fetchMissChangesets'](_0x39d196)[_0x2d640e(0x54e)](_0x3a134b=>{var _0x1e5923=_0x2d640e;_0x3fb64e[_0x1e5923(0x55c)]({'cmd':W[_0x1e5923(0x40d)],'code':ae['OK'],'routeKey':_0x39d196[_0x1e5923(0x2f9)][_0x1e5923(0x524)],'routeType':'','data':{'eventID':g[_0x1e5923(0x52d)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x3a134b}}});})[_0x2d640e(0x412)](_0x2f9f2a=>{var _0x222e45=_0x2d640e;this[_0x222e45(0x3e3)][_0x222e45(0x3c7)](_0x2f9f2a),_0x3d8d4c();});return;}}_0x37b5cb[_0x2d640e(0x470)](Ot(_0x5c60a9));},'close':()=>{var _0x2408d4=_0x2a7a76;_0x37b5cb['close'](),_0x2035b0[_0x2408d4(0x343)]();}},_0x4bf19b;}async[_0x36a862(0x446)](_0x1ad0e5,_0x35d10b){var _0x266044=_0x36a862,_0x41d05a,_0x2bc5cf;const {unitType:_0xaf45d9,unitID:_0x95dd0b,changeset:_0x1a1746}=_0x35d10b[_0x266044(0x2f9)],_0x69539c={'unitID':_0x95dd0b,'memberID':_0x1ad0e5[_0x266044(0x3dd)],'type':_0xaf45d9,'changeset':g[_0x266044(0x459)](_0x1a1746)},_0x31e678=this[_0x266044(0x325)]['getConfig'](mt),_0x3a28cd=this['_configService'][_0x266044(0x436)](Y),_0x4e3f74=Qt((_0x2bc5cf=(_0x41d05a=_0x3a28cd==null?void 0x0:_0x3a28cd['collabSubmitChangesetUrl'])!=null?_0x41d05a:_0x31e678)!=null?_0x2bc5cf:Kt,_0xaf45d9,_0x95dd0b);try{await this[_0x266044(0x527)][_0x266044(0x33e)](_0x4e3f74,{'body':_0x69539c});}catch(_0x3f865c){throw this[_0x266044(0x3e3)][_0x266044(0x3c7)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x3f865c;}}async[_0x36a862(0x3c2)](_0x4d6467){var _0x2d0517=_0x36a862;const {unitID:_0x5ae13c,from:_0x188caf,to:_0x47f7d4,unitType:_0x19b362}=_0x4d6467['data'];return(await this[_0x2d0517(0x507)][_0x2d0517(0x409)]({'metadata':void 0x0},{'unitID':_0x5ae13c,'type':_0x19b362,'from':_0x188caf,'to':_0x47f7d4}))[_0x2d0517(0x539)];}},exports['CollaborationSocketService']=Zt([le(0x0,a[_0x36a862(0x437)](a[_0x36a862(0x4a7)])),le(0x1,a[_0x36a862(0x437)](q[_0x36a862(0x566)])),le(0x2,a[_0x36a862(0x4b9)]),le(0x3,a[_0x36a862(0x3fb)]),le(0x4,g['ISnapshotServerService'])],exports[_0x36a862(0x3fe)]);const ei=_0x36a862(0x53e);function ti(_0x2f2137){var _0xb9e25b=_0x36a862;return JSON['stringify'](_0x2f2137)[_0xb9e25b(0x269)];}class Be{constructor(){var _0xf0a0a5=_0x36a862;A(this,_0xf0a0a5(0x1e8),new j[(_0xf0a0a5(0x533))]()),A(this,_0xf0a0a5(0x2d1),this[_0xf0a0a5(0x1e8)][_0xf0a0a5(0x522)]());}['onCommentUpdate'](_0x4bc11c){var _0x1066dd=_0x36a862;this[_0x1066dd(0x1e8)][_0x1066dd(0x55c)](_0x4bc11c);}}var ii=Object[_0x36a862(0x2dc)],ni=(_0x3c8899,_0x2816d4,_0x3be000,_0x16502c)=>{var _0x1ee101=_0x36a862;for(var _0x3ef558=_0x16502c>0x1?void 0x0:_0x16502c?ii(_0x2816d4,_0x3be000):_0x2816d4,_0x48f9ff=_0x3c8899[_0x1ee101(0x269)]-0x1,_0x13d021;_0x48f9ff>=0x0;_0x48f9ff--)(_0x13d021=_0x3c8899[_0x48f9ff])&&(_0x3ef558=_0x13d021(_0x3ef558)||_0x3ef558);return _0x3ef558;},Ke=(_0x3c043d,_0x2285a3)=>(_0x430543,_0x386ab2)=>_0x2285a3(_0x430543,_0x386ab2,_0x3c043d);exports['MemberService']=class extends a['Disposable']{constructor(_0x47496c,_0x4ce968){var _0x2e05ff=_0x36a862;super(),A(this,'_roomMembers',new Map()),A(this,'_roomCreated$',new j['Subject']()),(this['_univerInstanceService']=_0x47496c,this[_0x2e05ff(0x318)]=_0x4ce968,this[_0x2e05ff(0x3af)](j[_0x2e05ff(0x3cf)](this['_univerInstanceService'][_0x2e05ff(0x2e2)](a[_0x2e05ff(0x32b)]['UNIVER_SHEET'])[_0x2e05ff(0x327)](V['map'](_0xa5f7dc=>_0xa5f7dc[_0x2e05ff(0x2da)]())),this[_0x2e05ff(0x50d)][_0x2e05ff(0x2e2)](a[_0x2e05ff(0x32b)][_0x2e05ff(0x338)])[_0x2e05ff(0x327)](V[_0x2e05ff(0x482)](_0x9d5283=>_0x9d5283['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x2e05ff(0x32b)][_0x2e05ff(0x413)])['pipe'](V[_0x2e05ff(0x482)](_0x357736=>_0x357736[_0x2e05ff(0x2da)]())))['subscribe'](_0x5bf511=>this[_0x2e05ff(0x2b1)](_0x5bf511))));}[_0x36a862(0x416)](_0x15bafa){var _0x218481=_0x36a862;return this[_0x218481(0x3f7)][_0x218481(0x392)](_0x15bafa)?j['of'](this[_0x218481(0x3f7)][_0x218481(0x473)](_0x15bafa)):this[_0x218481(0x552)][_0x218481(0x327)](V[_0x218481(0x482)](_0x59adf0=>{var _0x4fa824=_0x218481;if(_0x59adf0===_0x15bafa)return this[_0x4fa824(0x3f7)][_0x4fa824(0x473)](_0x59adf0);}));}[_0x36a862(0x251)](_0x3ab858){var _0x53bb0d=_0x36a862;this[_0x53bb0d(0x318)]['setCurrentUser'](_0x3ab858);}[_0x36a862(0x358)](){var _0x1bc715=_0x36a862;return this[_0x1bc715(0x318)]['getCurrentUser']();}[_0x36a862(0x3e0)](_0x540b5a,_0x29153a){var _0x3c0104=_0x36a862;let _0x26c8a7=this[_0x3c0104(0x3f7)][_0x3c0104(0x473)](_0x540b5a);_0x26c8a7||(_0x26c8a7=new ri(),this['_roomMembers'][_0x3c0104(0x34e)](_0x540b5a,_0x26c8a7),this[_0x3c0104(0x552)][_0x3c0104(0x55c)](_0x540b5a)),_0x26c8a7[_0x3c0104(0x3e0)](_0x29153a);}[_0x36a862(0x393)](_0x382d27,_0x23da02){const _0x136675=this['_roomMembers']['get'](_0x382d27);_0x136675&&_0x136675['removeMember'](_0x23da02);}['getRoom'](_0xc30c8c){var _0x3ec660=_0x36a862;return this[_0x3ec660(0x3f7)][_0x3ec660(0x473)](_0xc30c8c);}[_0x36a862(0x43e)](_0x684abd,_0x3e8520){var _0x28aaff=_0x36a862;const _0x13e80a=this[_0x28aaff(0x3f7)][_0x28aaff(0x473)](_0x684abd);if(_0x13e80a)return _0x13e80a[_0x28aaff(0x43e)](_0x3e8520);}[_0x36a862(0x2b1)](_0x55cb1e){var _0x19e906=_0x36a862;const _0x312c22=this['_roomMembers']['get'](_0x55cb1e);_0x312c22&&(_0x312c22[_0x19e906(0x343)](),this[_0x19e906(0x3f7)][_0x19e906(0x50f)](_0x55cb1e));}[_0x36a862(0x343)](){var _0x3073d4=_0x36a862;this[_0x3073d4(0x3f7)][_0x3073d4(0x455)](_0x557e7b=>_0x557e7b[_0x3073d4(0x343)]()),this[_0x3073d4(0x3f7)][_0x3073d4(0x4b5)](),this[_0x3073d4(0x552)][_0x3073d4(0x4ce)]();}},exports[_0x36a862(0x408)]=ni([Ke(0x0,a[_0x36a862(0x420)]),Ke(0x1,a[_0x36a862(0x437)](a[_0x36a862(0x20f)]))],exports[_0x36a862(0x408)]);class ri extends a[_0x36a862(0x29a)]{constructor(){var _0x5aca47=_0x36a862;super(...arguments),A(this,_0x5aca47(0x231),new Map()),A(this,_0x5aca47(0x35c),new j[(_0x5aca47(0x4c9))](this[_0x5aca47(0x231)])),A(this,_0x5aca47(0x433),this[_0x5aca47(0x35c)][_0x5aca47(0x522)]());}[_0x36a862(0x343)](){var _0x5982a4=_0x36a862;this['_members'][_0x5982a4(0x4b5)]();}[_0x36a862(0x3e0)](_0x240383){var _0x1145e6=_0x36a862;this[_0x1145e6(0x231)][_0x1145e6(0x34e)](_0x240383[_0x1145e6(0x3dd)],_0x240383),this['_emitMembers']();}[_0x36a862(0x393)](_0x13cabe){var _0xb1e20c=_0x36a862;this[_0xb1e20c(0x231)][_0xb1e20c(0x50f)](_0x13cabe);}[_0x36a862(0x43e)](_0x106175){return this['_members']['get'](_0x106175);}[_0x36a862(0x30e)](){var _0x4ef753=_0x36a862;return Array[_0x4ef753(0x548)](this[_0x4ef753(0x231)][_0x4ef753(0x270)]());}[_0x36a862(0x1f3)](){var _0x138bde=_0x36a862;this['_members$'][_0x138bde(0x55c)](this['_members']);}}var si=Object['getOwnPropertyDescriptor'],oi=(_0x28f853,_0x389802,_0x5e66a0,_0x50a833)=>{var _0x22bac6=_0x36a862;for(var _0x399300=_0x50a833>0x1?void 0x0:_0x50a833?si(_0x389802,_0x5e66a0):_0x389802,_0x5e0825=_0x28f853[_0x22bac6(0x269)]-0x1,_0x3b89f6;_0x5e0825>=0x0;_0x5e0825--)(_0x3b89f6=_0x28f853[_0x5e0825])&&(_0x399300=_0x3b89f6(_0x399300)||_0x399300);return _0x399300;},oe=(_0x58f049,_0x50768d)=>(_0x44b3d6,_0x34479f)=>_0x50768d(_0x44b3d6,_0x34479f,_0x58f049),se=(_0x1fa998=>(_0x1fa998[_0x1fa998[_0x36a862(0x26e)]=0x0]='IDLE',_0x1fa998[_0x1fa998[_0x36a862(0x2ba)]=0x1]=_0x36a862(0x2ba),_0x1fa998[_0x1fa998[_0x36a862(0x339)]=0x2]=_0x36a862(0x339),_0x1fa998[_0x1fa998['ONLINE']=0x3]='ONLINE',_0x1fa998))(se||{});const Ye={[ae[_0x36a862(0x3e7)]]:_0x36a862(0x2b6),[ae[_0x36a862(0x423)]]:_0x36a862(0x480),[ae[_0x36a862(0x451)]]:_0x36a862(0x540),[ae[_0x36a862(0x26b)]]:_0x36a862(0x38d),[ae[_0x36a862(0x330)]]:_0x36a862(0x323)};exports[_0x36a862(0x3c5)]=class extends a[_0x36a862(0x405)]{constructor(_0x4bd46,_0x57af63,_0x54fa20,_0x4c2ea9,_0x56041d,_0x781f80,_0x25a10e,_0x440c94,_0x544665){var _0x45d529=_0x36a862;super(),A(this,_0x45d529(0x31d),new j[(_0x45d529(0x4c9))](0x0)),A(this,_0x45d529(0x549),this[_0x45d529(0x31d)][_0x45d529(0x522)]()),A(this,_0x45d529(0x226),new j[(_0x45d529(0x533))]()),A(this,'event$',this['_event$']['asObservable']()),A(this,'_socket'),A(this,_0x45d529(0x513)),A(this,_0x45d529(0x28b)),A(this,_0x45d529(0x379),!0x1),A(this,_0x45d529(0x477),null),(this[_0x45d529(0x498)]=_0x4bd46,this[_0x45d529(0x3e3)]=_0x54fa20,this[_0x45d529(0x325)]=_0x4c2ea9,this[_0x45d529(0x554)]=_0x56041d,this[_0x45d529(0x4d2)]=_0x781f80,this[_0x45d529(0x40b)]=_0x25a10e,this[_0x45d529(0x4c8)]=_0x440c94,this[_0x45d529(0x1f0)]=_0x544665,this[_0x45d529(0x379)]=!!this[_0x45d529(0x1f0)],_0x57af63[_0x45d529(0x327)](j[_0x45d529(0x2fc)](this['dispose$']))[_0x45d529(0x23e)](_0x54e72d=>{var _0x47b9bc=_0x45d529,_0x1e0c6d;typeof _0x54e72d>'u'||(this['_socket']=_0x54e72d,_0x54e72d?(this[_0x47b9bc(0x42d)](_0x54e72d),this[_0x47b9bc(0x513)]=_0x54e72d['message$'][_0x47b9bc(0x23e)](_0x304fec=>{var _0x20952f=_0x47b9bc;_0x304fec[_0x20952f(0x418)]===this['_unitID']&&this[_0x20952f(0x4f1)](_0x304fec);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x47b9bc(0x31d)][_0x47b9bc(0x55c)](0x2),(_0x1e0c6d=this[_0x47b9bc(0x513)])==null||_0x1e0c6d['unsubscribe'](),this[_0x47b9bc(0x513)]=null));}));}get[_0x36a862(0x553)](){return this['_sessionStatus$']['getValue']();}[_0x36a862(0x300)](){var _0x298477=_0x36a862,_0x3842e0,_0x5e1bc3;return(_0x5e1bc3=(_0x3842e0=this[_0x298477(0x367)])==null?void 0x0:_0x3842e0[_0x298477(0x3dd)])!=null?_0x5e1bc3:null;}[_0x36a862(0x343)](){var _0x3a2942=_0x36a862;super[_0x3a2942(0x343)](),this[_0x3a2942(0x258)][_0x3a2942(0x55c)](),this[_0x3a2942(0x258)]['complete']();}[_0x36a862(0x46c)](){var _0x28b2af=_0x36a862,_0x14a721,_0x38e873;this[_0x28b2af(0x4e3)](),(_0x14a721=this[_0x28b2af(0x367)])==null||_0x14a721[_0x28b2af(0x470)]({'cmd':W[_0x28b2af(0x512)],'data':{'roomID':this['_unitID']}}),(_0x38e873=this['_socket'])==null||_0x38e873['close'](),this[_0x28b2af(0x226)][_0x28b2af(0x4ce)](),this['_sessionStatus$'][_0x28b2af(0x4ce)](),this[_0x28b2af(0x343)]();}[_0x36a862(0x4f1)](_0x26555b){var _0x3670e7=_0x36a862;_0x26555b[_0x3670e7(0x3fa)]===W[_0x3670e7(0x3cc)]?this['_onJoinRoomEvent'](_0x26555b):_0x26555b[_0x3670e7(0x3fa)]===W['RECV']&&this['_onRecvEvent'](_0x26555b);}[_0x36a862(0x42d)](_0x29bfab){var _0x3da616=_0x36a862;this[_0x3da616(0x31d)]['next'](0x1),_0x29bfab[_0x3da616(0x470)]({'cmd':W[_0x3da616(0x3cc)],'routeKey':this[_0x3da616(0x498)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3da616(0x498)]}]}});}[_0x36a862(0x2db)](_0x107dd6){var _0x6033e5=_0x36a862,_0x1b5e0f;if(_0x107dd6['code']in Ye){this[_0x6033e5(0x4c8)][_0x6033e5(0x450)]({'id':Q[_0x6033e5(0x4f6)],'data':Ye[_0x107dd6[_0x6033e5(0x229)]]}),this[_0x6033e5(0x31d)][_0x6033e5(0x55c)](0x2);return;}this[_0x6033e5(0x31d)][_0x6033e5(0x55c)](0x3);const _0x5acc37=(_0x1b5e0f=_0x107dd6[_0x6033e5(0x2f9)]['roomInfos'][this[_0x6033e5(0x498)]])==null?void 0x0:_0x1b5e0f['members'];_0x5acc37&&_0x5acc37['forEach'](_0x4050b7=>this[_0x6033e5(0x4d2)][_0x6033e5(0x3e0)](this[_0x6033e5(0x498)],_0x4050b7));}['_onRecvEvent'](_0x427eba){var _0x590990=_0x36a862;try{const _0xba8347=_0x427eba[_0x590990(0x2f9)];switch(_0xba8347[_0x590990(0x4af)]){case g[_0x590990(0x52d)][_0x590990(0x302)]:this['_onUserJoin'](_0xba8347),this['_event$'][_0x590990(0x55c)](_0xba8347);break;case g[_0x590990(0x52d)][_0x590990(0x52a)]:this[_0x590990(0x45b)](_0xba8347),this['_event$'][_0x590990(0x55c)](_0xba8347);break;case g[_0x590990(0x52d)]['CHANGESET_ACK']:case g[_0x590990(0x52d)][_0x590990(0x3f2)]:this[_0x590990(0x391)](),this[_0x590990(0x4a9)](),this['_event$']['next'](_0xba8347);break;case g['CollaborationEvent']['MSG_FOR_ERROR']:this['_logService'][_0x590990(0x3c7)](_0x590990(0x551)+JSON['stringify'](_0xba8347)),this['_event$']['next'](_0xba8347);break;case g[_0x590990(0x52d)][_0x590990(0x1f6)]:this[_0x590990(0x40b)][_0x590990(0x37b)](_0xba8347['data']),this[_0x590990(0x226)][_0x590990(0x55c)](_0xba8347);break;default:this['_event$'][_0x590990(0x55c)](_0xba8347);}}catch(_0x38a8c4){this[_0x590990(0x3e3)]['error'](_0x38a8c4,_0x427eba);}}['_onUserJoin'](_0x4a8497){var _0x2f67a3=_0x36a862;this[_0x2f67a3(0x4d2)][_0x2f67a3(0x3e0)](this['_unitID'],_0x4a8497['data']);}['_onUserLeave'](_0x22a3e4){var _0x40949f=_0x36a862;this['_memberService'][_0x40949f(0x393)](this['_unitID'],_0x22a3e4[_0x40949f(0x2f9)][_0x40949f(0x3dd)]);}async[_0x36a862(0x470)](_0x801361,_0x179b4f){var _0x39029d=_0x36a862;if(this[_0x39029d(0x553)]!==0x3||!this[_0x39029d(0x367)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x801361['eventID']===g[_0x39029d(0x52d)][_0x39029d(0x424)]&&(this[_0x39029d(0x3e6)](),this[_0x39029d(0x3c0)](_0x801361)),this[_0x39029d(0x367)][_0x39029d(0x470)]({'cmd':W[_0x39029d(0x45a)],'routeKey':_0x179b4f,'routeType':'','data':_0x801361});}catch(_0x19ee7f){this[_0x39029d(0x3e3)]['error'](_0x19ee7f);}}[_0x36a862(0x3e6)](){var _0x191f6c=_0x36a862,_0x5c8a07;this[_0x191f6c(0x28b)]=setTimeout(()=>{var _0x10fd5f=_0x191f6c;this[_0x10fd5f(0x28b)]=null,this['_collaborationUIEventService'][_0x10fd5f(0x450)]({'id':Q[_0x10fd5f(0x28d)]});},(_0x5c8a07=this['_configService'][_0x191f6c(0x436)](je))!=null?_0x5c8a07:gt);}['_clearCollaborationTimeoutTimer'](){var _0x599173=_0x36a862;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x599173(0x28b)]),this[_0x599173(0x28b)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x5a3b6f){var _0x28b7eb=_0x36a862;if(!this[_0x28b7eb(0x379)])return;const {data:_0x48199c}=_0x5a3b6f,{unitID:_0x3b7bcc,changeset:_0x135ec5}=_0x48199c,{mutations:_0x5aed8c,type:_0x4aca55}=_0x135ec5;this['_telemetryInfo']={'unitId':_0x3b7bcc,'type':_0x4aca55,'startTime':performance[_0x28b7eb(0x4a6)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x5aed8c)};}[_0x36a862(0x391)](){var _0x22f437=_0x36a862;if(this[_0x22f437(0x379)]){if(!this[_0x22f437(0x477)]){this[_0x22f437(0x3e3)]['error'](_0x22f437(0x261),_0x22f437(0x4dd));return;}this['_telemetryInfo'][_0x22f437(0x20b)]=performance[_0x22f437(0x4a6)](),this[_0x22f437(0x477)][_0x22f437(0x511)]=this[_0x22f437(0x477)]['stopTime']-this['_telemetryInfo']['startTime'],this[_0x22f437(0x1f0)][_0x22f437(0x319)](ei,this[_0x22f437(0x477)]),this[_0x22f437(0x477)]=null;}}[_0x36a862(0x4e3)](){this['_telemetryInfo']=null;}},exports['CollaborationSession']=oi([oe(0x2,a[_0x36a862(0x3fb)]),oe(0x3,a[_0x36a862(0x4b9)]),oe(0x4,a[_0x36a862(0x437)](a[_0x36a862(0x2c0)])),oe(0x5,a[_0x36a862(0x437)](exports[_0x36a862(0x408)])),oe(0x6,a[_0x36a862(0x437)](Be)),oe(0x7,a[_0x36a862(0x437)](te)),oe(0x8,a['Optional'](Mt[_0x36a862(0x2ae)]))],exports[_0x36a862(0x3c5)]);var ai=Object[_0x36a862(0x2dc)],ci=(_0x352ec2,_0x2596eb,_0x291c4d,_0x40ee41)=>{for(var _0x4c359d=_0x40ee41>0x1?void 0x0:_0x40ee41?ai(_0x2596eb,_0x291c4d):_0x2596eb,_0x1c22aa=_0x352ec2['length']-0x1,_0x1c6b0b;_0x1c22aa>=0x0;_0x1c22aa--)(_0x1c6b0b=_0x352ec2[_0x1c22aa])&&(_0x4c359d=_0x1c6b0b(_0x4c359d)||_0x4c359d);return _0x4c359d;},_e=(_0x4a4d87,_0xe324f7)=>(_0x20cca6,_0x26a825)=>_0xe324f7(_0x20cca6,_0x26a825,_0x4a4d87);exports['CollaborationSessionService']=class extends a[_0x36a862(0x29a)]{constructor(_0x320c77,_0x245808,_0x260a66,_0x457c0c,_0x1566d4,_0x1e2c60){var _0x314e52=_0x36a862;super(),A(this,'_socket$',new j[(_0x314e52(0x4c9))](void 0x0)),A(this,'socket$',this[_0x314e52(0x4ff)][_0x314e52(0x522)]()),A(this,_0x314e52(0x3bf),null),A(this,_0x314e52(0x371),new Map()),A(this,_0x314e52(0x37f),new j['BehaviorSubject'](se[_0x314e52(0x26e)])),A(this,_0x314e52(0x248),this[_0x314e52(0x37f)]['asObservable']()),A(this,'_socketReady',!0x1),A(this,_0x314e52(0x558)),A(this,'_retryCount',0x0),A(this,_0x314e52(0x4d8)),A(this,_0x314e52(0x2d0)),(this[_0x314e52(0x227)]=_0x320c77,this['_logService']=_0x245808,this['_configService']=_0x260a66,this['_socketService']=_0x457c0c,this[_0x314e52(0x4c8)]=_0x1566d4,this[_0x314e52(0x4ca)]=_0x1e2c60,this[_0x314e52(0x41e)]());}get['_socket'](){var _0x231c56=_0x36a862;return this[_0x231c56(0x4ff)]['getValue']();}[_0x36a862(0x41e)](){var _0x135d55=_0x36a862;this[_0x135d55(0x4ca)]&&this['disposeWithMe'](this[_0x135d55(0x4ca)][_0x135d55(0x247)]['subscribe'](_0x164a59=>{var _0x48808b=_0x135d55;_0x164a59&&!this[_0x48808b(0x367)]&&this['reconnect'](),_0x164a59||this[_0x48808b(0x21c)]();}));}[_0x36a862(0x343)](){var _0x42d3d9=_0x36a862;super[_0x42d3d9(0x343)](),this['_clearRetryConnectingTimer'](),this[_0x42d3d9(0x22f)](),this[_0x42d3d9(0x565)](),this[_0x42d3d9(0x371)][_0x42d3d9(0x455)](_0x5281a2=>_0x5281a2[_0x42d3d9(0x343)]()),this['_sessions'][_0x42d3d9(0x4b5)](),this[_0x42d3d9(0x37f)]['complete']();}async['requireSession'](_0x934165){var _0x182c6b=_0x36a862;if(this[_0x182c6b(0x371)]['has'](_0x934165))return this[_0x182c6b(0x371)]['get'](_0x934165);this[_0x182c6b(0x53b)]();const _0x3f968e=this[_0x182c6b(0x227)][_0x182c6b(0x33f)](exports[_0x182c6b(0x3c5)],_0x934165,this[_0x182c6b(0x4ff)][_0x182c6b(0x522)]());return this[_0x182c6b(0x371)][_0x182c6b(0x34e)](_0x934165,_0x3f968e),_0x3f968e;}[_0x36a862(0x3ad)](_0x15e399){var _0x4aa033=_0x36a862,_0x28e530;const _0x1639eb=this['_sessions'][_0x4aa033(0x473)](_0x15e399);_0x1639eb&&(this[_0x4aa033(0x371)][_0x4aa033(0x50f)](_0x15e399),_0x1639eb[_0x4aa033(0x46c)]()),this['_sessions'][_0x4aa033(0x3d9)]||(_0x28e530=this[_0x4aa033(0x367)])==null||_0x28e530[_0x4aa033(0x46c)]();}[_0x36a862(0x2a9)](){var _0x388fd3=_0x36a862;this['_retryCount']=0x0,this[_0x388fd3(0x34c)](),this[_0x388fd3(0x403)]();}[_0x36a862(0x34c)](){var _0x1f28be=_0x36a862;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x1f28be(0x558)]),this[_0x1f28be(0x558)]=null);}async[_0x36a862(0x500)](){var _0x2511d8=_0x36a862,_0x4490c4,_0x136c30;const _0x159e9e=this[_0x2511d8(0x325)][_0x2511d8(0x436)](St),_0xf19ab5=this[_0x2511d8(0x325)][_0x2511d8(0x436)](Y),_0x5677ea=(_0x136c30=(_0x4490c4=_0xf19ab5==null?void 0x0:_0xf19ab5[_0x2511d8(0x466)])!=null?_0x4490c4:_0x159e9e)!=null?_0x136c30:ft,_0x337a8f=await this[_0x2511d8(0x494)][_0x2511d8(0x244)](_0x5677ea);return this['_candidateSocket']=_0x337a8f,_0x337a8f;}async['_tryEnsureSocket'](){var _0x3d64d9=_0x36a862,_0x6236bd,_0x3880b0;try{const _0x89232=(_0x3880b0=(_0x6236bd=this[_0x3d64d9(0x367)])!=null?_0x6236bd:this[_0x3d64d9(0x3bf)])!=null?_0x3880b0:await this[_0x3d64d9(0x500)]();if(_0x89232){const _0x45fd50=_0x89232[_0x3d64d9(0x470)];_0x89232[_0x3d64d9(0x470)]=_0x225fba=>(this[_0x3d64d9(0x1e7)](),_0x45fd50['apply'](_0x89232,[_0x225fba])),_0x89232['message$'][_0x3d64d9(0x23e)](_0x50c426=>this[_0x3d64d9(0x440)](_0x89232,_0x50c426)),_0x89232[_0x3d64d9(0x36c)]['pipe'](V[_0x3d64d9(0x262)](0x1))[_0x3d64d9(0x23e)](_0x3ac836=>this['_logService']['error'](_0x3d64d9(0x351),_0x3ac836)),_0x89232[_0x3d64d9(0x23d)]['pipe'](V[_0x3d64d9(0x262)](0x1))[_0x3d64d9(0x23e)](()=>{var _0x32b75a=_0x3d64d9;this[_0x32b75a(0x2eb)](_0x89232);}),_0x89232[_0x3d64d9(0x462)][_0x3d64d9(0x327)](V[_0x3d64d9(0x262)](0x1))[_0x3d64d9(0x23e)](_0x4ef9a9=>{var _0xbad3fd=_0x3d64d9;this[_0xbad3fd(0x3e3)]['debug']('[CollaborationSessionService]',_0xbad3fd(0x1ea),_0x4ef9a9),this[_0xbad3fd(0x21a)]();});}}catch(_0x580b56){this[_0x3d64d9(0x3e3)][_0x3d64d9(0x3c7)](_0x580b56),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x2fec04){var _0x25fa6c=_0x36a862;this[_0x25fa6c(0x3e3)][_0x25fa6c(0x3f9)](_0x25fa6c(0x4d9),_0x25fa6c(0x217)),_0x2fec04[_0x25fa6c(0x470)]({'cmd':W[_0x25fa6c(0x4e4)]}),this[_0x25fa6c(0x1e7)]();}['_onOffline'](){var _0x549313=_0x36a862;this[_0x549313(0x2d7)]=!0x1,this[_0x549313(0x3bf)]=null,this[_0x549313(0x37f)]['next'](se[_0x549313(0x339)]),this[_0x549313(0x4ff)][_0x549313(0x55c)](null),this[_0x549313(0x22f)](),this[_0x549313(0x565)]();}[_0x36a862(0x21a)](){var _0x585370=_0x36a862,_0x2af559;this[_0x585370(0x21c)](),this[_0x585370(0x517)]<((_0x2af559=this[_0x585370(0x325)][_0x585370(0x436)](It))!=null?_0x2af559:Vt)?(this[_0x585370(0x4c8)]['emitEvent']({'id':Q[_0x585370(0x28c)]}),this[_0x585370(0x403)]()):this[_0x585370(0x4c8)][_0x585370(0x450)]({'id':Q[_0x585370(0x45d)]});}['_tryReconnect'](){var _0x268cdd=_0x36a862,_0x3f0adb;const _0x4a11f8=this[_0x268cdd(0x517)],_0x6520e0=this[_0x268cdd(0x325)][_0x268cdd(0x436)](Y),_0x386811=_0x4a11f8===0x0?0x0:((_0x3f0adb=_0x6520e0==null?void 0x0:_0x6520e0[_0x268cdd(0x285)])!=null?_0x3f0adb:Ft)*0x2**_0x4a11f8;this['_retryConnectingTimer']=setTimeout(()=>{var _0x638004=_0x268cdd;clearTimeout(this[_0x638004(0x558)]),this[_0x638004(0x558)]=null,this['_tryEnsureSocket']();},_0x386811),this['_retryCount']+=0x1;}['_onMessage'](_0x54d33c,_0x437704){var _0x102e00=_0x36a862;const {cmd:_0x955a29}=_0x437704;_0x955a29===W[_0x102e00(0x4e4)]&&!this['_socketReady']&&(_0x54d33c[_0x102e00(0x3dd)]=_0x437704['data']['memberID'],this[_0x102e00(0x4ff)][_0x102e00(0x55c)](_0x54d33c),this['_status$'][_0x102e00(0x55c)](se[_0x102e00(0x2ec)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x955a29===W[_0x102e00(0x3a2)]&&this[_0x102e00(0x22f)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x98f95f=_0x36a862,_0xb356ec;this[_0x98f95f(0x565)](),this[_0x98f95f(0x4d8)]=setTimeout(()=>this[_0x98f95f(0x38b)](),(_0xb356ec=this[_0x98f95f(0x325)][_0x98f95f(0x436)](pt))!=null?_0xb356ec:Bt);}[_0x36a862(0x38b)](){var _0x24b17f=_0x36a862;this[_0x24b17f(0x367)][_0x24b17f(0x470)]({'cmd':W[_0x24b17f(0x3a2)]}),this[_0x24b17f(0x4a5)]();}[_0x36a862(0x4a5)](){var _0x380750=_0x36a862,_0x2603d5;this[_0x380750(0x2d0)]=setTimeout(()=>this[_0x380750(0x21a)](),(_0x2603d5=this[_0x380750(0x325)][_0x380750(0x436)](je))!=null?_0x2603d5:gt);}[_0x36a862(0x565)](){var _0x4f644e=_0x36a862;this[_0x4f644e(0x4d8)]!=null&&(clearTimeout(this[_0x4f644e(0x4d8)]),this[_0x4f644e(0x4d8)]=null);}[_0x36a862(0x22f)](){var _0x5d04af=_0x36a862;this[_0x5d04af(0x2d0)]!=null&&(clearTimeout(this[_0x5d04af(0x2d0)]),this['_timeoutTimer']=null);}},exports[_0x36a862(0x241)]=ci([_e(0x0,a['Inject'](a[_0x36a862(0x4a7)])),_e(0x1,a[_0x36a862(0x3fb)]),_e(0x2,a[_0x36a862(0x4b9)]),_e(0x3,$e),_e(0x4,a['Inject'](te)),_e(0x5,a[_0x36a862(0x39b)](bt))],exports['CollaborationSessionService']);const G=[];for(let n=0x0;n<0x100;++n)G[_0x36a862(0x369)]((n+0x100)[_0x36a862(0x29d)](0x10)[_0x36a862(0x209)](0x1));function hi(_0x45f688,_0x33a7a8=0x0){var _0x3fe539=_0x36a862;return(G[_0x45f688[_0x33a7a8+0x0]]+G[_0x45f688[_0x33a7a8+0x1]]+G[_0x45f688[_0x33a7a8+0x2]]+G[_0x45f688[_0x33a7a8+0x3]]+'-'+G[_0x45f688[_0x33a7a8+0x4]]+G[_0x45f688[_0x33a7a8+0x5]]+'-'+G[_0x45f688[_0x33a7a8+0x6]]+G[_0x45f688[_0x33a7a8+0x7]]+'-'+G[_0x45f688[_0x33a7a8+0x8]]+G[_0x45f688[_0x33a7a8+0x9]]+'-'+G[_0x45f688[_0x33a7a8+0xa]]+G[_0x45f688[_0x33a7a8+0xb]]+G[_0x45f688[_0x33a7a8+0xc]]+G[_0x45f688[_0x33a7a8+0xd]]+G[_0x45f688[_0x33a7a8+0xe]]+G[_0x45f688[_0x33a7a8+0xf]])[_0x3fe539(0x421)]();}let Ue;const _i=new Uint8Array(0x10);function li(){var _0x4e548e=_0x36a862;if(!Ue){if(typeof crypto>'u'||!crypto[_0x4e548e(0x4f3)])throw new Error(_0x4e548e(0x51b));Ue=crypto[_0x4e548e(0x4f3)][_0x4e548e(0x265)](crypto);}return Ue(_i);}const ui=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x36a862(0x486)][_0x36a862(0x265)](crypto),qe={'randomUUID':ui};function di(_0x5e41e8,_0x3acd00,_0x48384d){var _0x42969e=_0x36a862,_0xfa35b6,_0x310758,_0x1dbd94;if(qe[_0x42969e(0x486)]&&!_0x5e41e8)return qe[_0x42969e(0x486)]();_0x5e41e8=_0x5e41e8||{};const _0x2ef162=(_0x1dbd94=(_0x310758=_0x5e41e8['random'])!=null?_0x310758:(_0xfa35b6=_0x5e41e8[_0x42969e(0x46f)])==null?void 0x0:_0xfa35b6['call'](_0x5e41e8))!=null?_0x1dbd94:li();if(_0x2ef162[_0x42969e(0x269)]<0x10)throw new Error(_0x42969e(0x295));return _0x2ef162[0x6]=_0x2ef162[0x6]&0xf|0x40,_0x2ef162[0x8]=_0x2ef162[0x8]&0x3f|0x80,hi(_0x2ef162);}const z=a[_0x36a862(0x509)](_0x36a862(0x4bb));function vi(_0x1cb6f7){var _0x39482c=_0x36a862;return _0x39482c(0x216)+_0x1cb6f7;}var Si=Object[_0x36a862(0x2dc)],fi=(_0x51b6a9,_0x2e91c2,_0x3167e9,_0x6fd972)=>{var _0x3a9a92=_0x36a862;for(var _0x42107c=_0x6fd972>0x1?void 0x0:_0x6fd972?Si(_0x2e91c2,_0x3167e9):_0x2e91c2,_0x42a84e=_0x51b6a9[_0x3a9a92(0x269)]-0x1,_0xc3bd39;_0x42a84e>=0x0;_0x42a84e--)(_0xc3bd39=_0x51b6a9[_0x42a84e])&&(_0x42107c=_0xc3bd39(_0x42107c)||_0x42107c);return _0x42107c;},Ae=(_0x156eab,_0xd09724)=>(_0x20d64d,_0x45701e)=>_0xd09724(_0x20d64d,_0x45701e,_0x156eab);function pi(_0x3f635b){var _0x4617c3=_0x36a862;const {unitID:_0x597704,mutations:_0x163b5f}=_0x3f635b;return{'unitId':_0x597704,'subUnitId':_0x163b5f[0x0]['params'][_0x4617c3(0x2ef)]};}exports[_0x36a862(0x21b)]=class{constructor(_0x2b5bef,_0x3da8a4,_0x4777a8){var _0x21f733=_0x36a862;this[_0x21f733(0x227)]=_0x2b5bef,this['_transformService']=_0x3da8a4,this[_0x21f733(0x52b)]=_0x4777a8;}['transformSelections'](_0x577dcc){var _0xa27abb=_0x36a862,_0x42f0e4,_0x17c941,_0x171bc1,_0x1ddf8b;const _0x4ba45c=this[_0xa27abb(0x227)][_0xa27abb(0x473)](Z['SheetsSelectionsService']),{unitId:_0x371d1c,subUnitId:_0x2ef314}=pi(_0x577dcc),_0x3a49b2=_0x4ba45c==null?void 0x0:_0x4ba45c[_0xa27abb(0x3b5)](_0x371d1c)['getCurrentSelections'](),_0x26740b=(_0x17c941=(_0x42f0e4=this[_0xa27abb(0x52b)][_0xa27abb(0x337)](_0x371d1c))==null?void 0x0:_0x42f0e4['getActiveSheet']())==null?void 0x0:_0x17c941[_0xa27abb(0x2fd)]();if(_0x3a49b2[_0xa27abb(0x269)]===0x0||!_0x371d1c||!_0x2ef314)return;const _0x50d07e=[{'id':Z[_0xa27abb(0x267)]['id'],'params':{'unitId':_0x371d1c,'subUnitId':_0x26740b,'selections':a[_0xa27abb(0x4ac)][_0xa27abb(0x31b)](_0x3a49b2)}}],_0x1df5d9=this[_0xa27abb(0x3a1)]['transformMutationsWithChangeset'](_0x577dcc,_0x50d07e);if(!g[_0xa27abb(0x33d)](_0x1df5d9))throw _0x1df5d9['error'];const _0x4078e9=(_0x1ddf8b=(_0x171bc1=_0x1df5d9[_0xa27abb(0x49c)][0x0])==null?void 0x0:_0x171bc1[_0xa27abb(0x537)])==null?void 0x0:_0x1ddf8b['selections'];if(Array[_0xa27abb(0x518)](_0x4078e9)&&_0x4078e9[_0xa27abb(0x269)]){if(_0x4078e9['length']===_0x50d07e[0x0]['params'][_0xa27abb(0x48c)][_0xa27abb(0x269)]&&_0x4078e9[_0xa27abb(0x30d)]((_0x3a0b69,_0x6b899d)=>a[_0xa27abb(0x3da)][_0xa27abb(0x561)](_0x3a0b69[_0xa27abb(0x4be)],_0x50d07e[0x0][_0xa27abb(0x537)][_0xa27abb(0x48c)][_0x6b899d][_0xa27abb(0x4be)])))return;this[_0xa27abb(0x227)][_0xa27abb(0x473)](a[_0xa27abb(0x340)])[_0xa27abb(0x202)](Z[_0xa27abb(0x267)]['id'],{'unitId':_0x371d1c,'subUnitId':_0x26740b,'selections':_0x4078e9});}}},exports[_0x36a862(0x21b)]=fi([Ae(0x0,a[_0x36a862(0x437)](a[_0x36a862(0x4a7)])),Ae(0x1,g['ITransformService']),Ae(0x2,a[_0x36a862(0x420)])],exports[_0x36a862(0x21b)]);const ve=a[_0x36a862(0x509)](_0x36a862(0x4e8));var Fe=(_0x467af7=>(_0x467af7[_0x467af7['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x36a862(0x228),_0x467af7[_0x467af7[_0x36a862(0x41f)]=0x1]='OTHER_CLIENTS_EDITING',_0x467af7))(Fe||{});const gi=new Set([Z['InsertSheetMutation']['id']]);function ze(_0x498621,_0x29c433,_0x4a9450,_0x262db2,_0x11a7a5){var _0x9dc112=_0x36a862,_0x5539b4,_0x24fb40,_0x41fe16,_0x3847ef;const _0x4ba17a=[];for(const _0x515fe3 of _0x498621)if(gi[_0x9dc112(0x392)](_0x515fe3['id'])){if(_0x4ba17a[_0x9dc112(0x269)]>0x0)break;_0x4ba17a[_0x9dc112(0x369)](_0x515fe3);break;}else _0x4ba17a[_0x9dc112(0x369)](_0x515fe3);const _0x40a8b2=(_0x24fb40=(_0x5539b4=_0x11a7a5[_0x9dc112(0x358)]())==null?void 0x0:_0x5539b4[_0x9dc112(0x441)])!=null?_0x24fb40:'unknown',_0x2e788c=(_0x3847ef=(_0x41fe16=_0x11a7a5[_0x9dc112(0x358)]())==null?void 0x0:_0x41fe16[_0x9dc112(0x3dd)])!=null?_0x3847ef:_0x9dc112(0x200);return{'changeset':{'unitID':_0x29c433,'type':g[_0x9dc112(0x380)](_0x4a9450[_0x9dc112(0x454)](_0x29c433)),'baseRev':_0x262db2[_0x9dc112(0x1fc)](_0x29c433),'revision':0x0,'userID':_0x40a8b2,'memberID':_0x2e788c,'mutations':_0x4ba17a},'pendingMutations':_0x498621[_0x9dc112(0x209)](_0x4ba17a[_0x9dc112(0x269)])};}function Ii(_0x28abc6,_0x1f66bb,_0x2307df,_0x103d36,_0x26203e){var _0x56a04e=_0x36a862,_0x7ffea9,_0x942324,_0x486a7e,_0x4f2f5b;const _0x3eb8e1=[_0x28abc6[_0x56a04e(0x3c6)]((_0x585cf3,_0x22d057)=>{var _0x164e52=_0x56a04e,_0x2c6dd5;const {id:_0x1c4703}=_0x585cf3,{id:_0xea0f8d,type:_0x164b95}=_0x22d057,_0xc808a0=(_0x2c6dd5=_0x585cf3[_0x164e52(0x537)])!=null?_0x2c6dd5:{'actions':null},_0x437bbc=_0x22d057[_0x164e52(0x537)];if(_0x1c4703&&_0x1c4703!==_0xea0f8d)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x1c4703+_0x164e52(0x520)+_0xea0f8d+'.');return{..._0x585cf3,'id':_0xea0f8d,'type':_0x164b95,'params':{'unitId':_0x437bbc[_0x164e52(0x3e1)],'textRanges':_0x437bbc[_0x164e52(0x3a4)],'actions':a[_0x164e52(0x1fa)][_0x164e52(0x2e6)](_0xc808a0[_0x164e52(0x386)],_0x437bbc[_0x164e52(0x386)])}};},{})],_0x2b8397=(_0x942324=(_0x7ffea9=_0x26203e['getCurrentUser']())==null?void 0x0:_0x7ffea9['userID'])!=null?_0x942324:_0x56a04e(0x200),_0x45df07=(_0x4f2f5b=(_0x486a7e=_0x26203e[_0x56a04e(0x358)]())==null?void 0x0:_0x486a7e[_0x56a04e(0x3dd)])!=null?_0x4f2f5b:_0x56a04e(0x200);return{'changeset':{'unitID':_0x1f66bb,'type':g[_0x56a04e(0x380)](_0x2307df[_0x56a04e(0x454)](_0x1f66bb)),'baseRev':_0x103d36[_0x56a04e(0x1fc)](_0x1f66bb),'revision':0x0,'userID':_0x2b8397,'memberID':_0x45df07,'mutations':_0x3eb8e1},'pendingMutations':[]};}function _0x58e2(_0x13b1b5,_0x4a4d19){var _0x5a8856=_0x5a88();return _0x58e2=function(_0x58e274,_0x5e8d02){_0x58e274=_0x58e274-0x1e5;var _0x20a2ef=_0x5a8856[_0x58e274];return _0x20a2ef;},_0x58e2(_0x13b1b5,_0x4a4d19);}function yt(_0x199204,_0x4c115d){var _0x28497f=_0x36a862;const _0x15bcde=new j[(_0x28497f(0x23c))](0x1);return setTimeout(()=>_0x15bcde['next'](_0x4c115d),_0x199204),_0x15bcde['asObservable']()[_0x28497f(0x327)](j[_0x28497f(0x262)](0x1));}const mi={'id':Z[_0x36a862(0x24d)]['id'],'type':a[_0x36a862(0x3e9)]['MUTATION'],'params':{}};var Ei=Object[_0x36a862(0x2dc)],ce=(_0x1f7c51,_0x5cfbac,_0x163bfe,_0x203c1f)=>{var _0x54cfef=_0x36a862;for(var _0x120b39=_0x203c1f>0x1?void 0x0:_0x203c1f?Ei(_0x5cfbac,_0x163bfe):_0x5cfbac,_0x139232=_0x1f7c51[_0x54cfef(0x269)]-0x1,_0x112de2;_0x139232>=0x0;_0x139232--)(_0x112de2=_0x1f7c51[_0x139232])&&(_0x120b39=_0x112de2(_0x120b39)||_0x120b39);return _0x120b39;},w=(_0x2819e5,_0x2ec19f)=>(_0x241673,_0x21ae38)=>_0x2ec19f(_0x241673,_0x21ae38,_0x2819e5),Ve=(_0x55a436=>(_0x55a436[_0x36a862(0x214)]='not_collab',_0x55a436[_0x36a862(0x44c)]='synced',_0x55a436[_0x36a862(0x417)]=_0x36a862(0x42c),_0x55a436['AWAITING']=_0x36a862(0x22d),_0x55a436[_0x36a862(0x51a)]=_0x36a862(0x1f2),_0x55a436[_0x36a862(0x3b8)]=_0x36a862(0x2e7),_0x55a436['CONFLICT']=_0x36a862(0x293),_0x55a436[_0x36a862(0x339)]=_0x36a862(0x264),_0x55a436))(Ve||{});const Nt=0xea60;class he{constructor(_0x564618,_0x39ac62,_0x1da4f7,_0x24d49c,_0x36e8bd,_0x5ed76b,_0x55c9f3,_0x42e298,_0x35e327){var _0x1b90f8=_0x36a862;A(this,_0x1b90f8(0x467),null),A(this,_0x1b90f8(0x3d7),[]),(this[_0x1b90f8(0x524)]=_0x564618,this[_0x1b90f8(0x2c8)]=_0x39ac62,this['_handler']=_0x36e8bd,this[_0x1b90f8(0x464)]=_0x5ed76b,this[_0x1b90f8(0x39a)]=_0x55c9f3,this[_0x1b90f8(0x478)]=_0x42e298,this[_0x1b90f8(0x35f)]=_0x35e327,this[_0x1b90f8(0x467)]=_0x1da4f7,this[_0x1b90f8(0x3d7)]=_0x24d49c);}['_checkMissing'](_0x222f04){var _0x5ad5ec=_0x36a862;const _0x51825a=this[_0x5ad5ec(0x478)]['getCurrentRevOfUnit'](this[_0x5ad5ec(0x524)]);return _0x222f04['revision']>_0x51825a+0x1?(this[_0x5ad5ec(0x311)][_0x5ad5ec(0x24c)]({'from':_0x51825a,'to':_0x222f04['revision']-0x1}),!0x0):!0x1;}[_0x36a862(0x4d1)](_0x34011d){var _0x3a5dd5=_0x36a862;this[_0x3a5dd5(0x39a)][_0x3a5dd5(0x1fb)](this[_0x3a5dd5(0x524)],_0x34011d);}[_0x36a862(0x282)](_0xb1ae85){var _0x3fdfd8=_0x36a862,_0x470697,_0x43f7f3;(_0x43f7f3=(_0x470697=this[_0x3fdfd8(0x311)])[_0x3fdfd8(0x55f)])==null||_0x43f7f3[_0x3fdfd8(0x496)](_0x470697,_0xb1ae85);}[_0x36a862(0x3e2)](_0x470a39){var _0x575015=_0x36a862,_0x18147c,_0x122c09;return(_0x122c09=(_0x18147c=this['_handler'])[_0x575015(0x374)])==null?void 0x0:_0x122c09[_0x575015(0x496)](_0x18147c,_0x470a39);}['_transformStateCache'](_0x3572e0){var _0x508af3=_0x36a862,_0x57f939,_0x53cbc2;return(_0x53cbc2=(_0x57f939=this[_0x508af3(0x311)])[_0x508af3(0x352)])==null?void 0x0:_0x53cbc2['call'](_0x57f939,_0x3572e0);}['_transformRemoteChangesetByIMECache'](_0x38e75d){var _0x3d5ac1=_0x36a862,_0x34883e,_0x5d4503,_0x375453;return(_0x375453=(_0x5d4503=(_0x34883e=this[_0x3d5ac1(0x311)])[_0x3d5ac1(0x357)])==null?void 0x0:_0x5d4503[_0x3d5ac1(0x496)](_0x34883e,_0x38e75d))!=null?_0x375453:_0x38e75d;}[_0x36a862(0x460)](_0x428447){var _0x38925e=_0x36a862,_0x32d67,_0x1a9af4,_0x39ef6b;return(_0x39ef6b=(_0x1a9af4=(_0x32d67=this[_0x38925e(0x311)])[_0x38925e(0x215)])==null?void 0x0:_0x1a9af4['call'](_0x32d67,_0x428447))!=null?_0x39ef6b:_0x428447;}[_0x36a862(0x272)](_0x577d47){var _0x29e948=_0x36a862,_0x370515,_0x2f4e66;if(this['type']===X['UNIVER_DOC']){const {unitID:_0x5cfe34,mutations:_0x26f915,memberID:_0x4b4fd0}=_0x577d47,_0x2ccc31=_0x26f915[0x0][_0x29e948(0x537)][_0x29e948(0x3a4)];Array['isArray'](_0x2ccc31)&&_0x2ccc31[_0x29e948(0x269)]>0x0&&((_0x2f4e66=(_0x370515=this[_0x29e948(0x311)])[_0x29e948(0x222)])==null||_0x2f4e66[_0x29e948(0x496)](_0x370515,{'unitID':_0x5cfe34,'memberID':_0x4b4fd0,'textRanges':_0x2ccc31}));}}[_0x36a862(0x542)](){var _0x795483=_0x36a862,_0x2bf714;(_0x2bf714=this[_0x795483(0x35f)])==null||_0x2bf714['updateOfflineData'](this['unitID'],this[_0x795483(0x2c8)],this[_0x795483(0x467)],this['_pendingMutations']);}[_0x36a862(0x243)](){var _0x1378ac=_0x36a862;return this[_0x1378ac(0x478)][_0x1378ac(0x1fc)](this[_0x1378ac(0x524)]);}[_0x36a862(0x445)](){var _0x4dba19=_0x36a862;this[_0x4dba19(0x478)][_0x4dba19(0x3b1)](this[_0x4dba19(0x524)]);}[_0x36a862(0x3a6)](_0x3c1eb2){var _0x323264=_0x36a862,_0x50ae4d;let _0x58345f=this[_0x323264(0x362)](_0x3c1eb2);_0x58345f=this[_0x323264(0x460)](_0x58345f);const _0x683c88=a[_0x323264(0x4db)](_0x58345f[_0x323264(0x25c)],this[_0x323264(0x464)],{'fromCollab':!0x0});if(!_0x683c88['result'])throw _0x683c88[_0x323264(0x3c7)]instanceof Error?_0x683c88[_0x323264(0x3c7)]:new Error((_0x50ae4d=_0x683c88['error'])!=null?_0x50ae4d:_0x323264(0x407));this['_transformIMECache'](_0x58345f),this[_0x323264(0x381)](_0x58345f),this['_transformUndoredo'](_0x3c1eb2),this[_0x323264(0x282)](_0x58345f),this['_syncEditingCollabCursor'](_0x58345f),this[_0x323264(0x445)]();}}exports[_0x36a862(0x2c6)]=class extends he{constructor(_0x23089b,_0x3608d8,_0x130b91,_0x3bb22e,_0x21dd77,_0x2cf044,_0xfbead3,_0x30f253,_0x54fa97,_0x1aaafb){var _0x22e6d1=_0x36a862;super(_0x23089b,_0x3608d8,null,[],_0x130b91,_0xfbead3,_0x2cf044,_0x3bb22e,_0x1aaafb),A(this,_0x22e6d1(0x4f8),'synced'),(this[_0x22e6d1(0x227)]=_0x21dd77,this[_0x22e6d1(0x3e3)]=_0x30f253,this[_0x22e6d1(0x3a1)]=_0x54fa97,this[_0x22e6d1(0x2b2)]=_0x1aaafb);}[_0x36a862(0x2d2)](_0xd79387){var _0x2fbfc2=_0x36a862;const _0x557cc7=this[_0x2fbfc2(0x227)][_0x2fbfc2(0x33f)](exports[_0x2fbfc2(0x4b2)],this['unitID'],this[_0x2fbfc2(0x2c8)],[_0xd79387],this[_0x2fbfc2(0x311)]);return _0x557cc7[_0x2fbfc2(0x397)](),_0x557cc7['_updateLocalCache'](),_0x557cc7;}[_0x36a862(0x557)](_0x414eb4){var _0x525760=_0x36a862;if(this[_0x525760(0x40c)](_0x414eb4))return this['_injector'][_0x525760(0x33f)](exports[_0x525760(0x3b2)],this[_0x525760(0x524)],this['type'],null,[],null,[_0x414eb4],this['_handler']);try{const _0x5e5078=this[_0x525760(0x3a1)][_0x525760(0x2ca)](_0x414eb4,[mi]);if(g[_0x525760(0x33d)](_0x5e5078)){const {c1Prime:_0x1febda}=_0x5e5078;return this[_0x525760(0x3a6)](_0x1febda),this;}throw _0x5e5078[_0x525760(0x3c7)];}catch(_0x38ccf7){return this[_0x525760(0x3e3)][_0x525760(0x3c7)](_0x38ccf7),this[_0x525760(0x54c)](!0x1);}}['_onConflict'](_0x378152){var _0x335d88=_0x36a862;return this[_0x335d88(0x227)][_0x335d88(0x33f)](exports[_0x335d88(0x422)],this['unitID'],this[_0x335d88(0x2c8)],null,[],this[_0x335d88(0x311)],_0x378152);}[_0x36a862(0x376)](){var _0xc69978=_0x36a862;throw new Error(_0xc69978(0x2c7));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x36a862(0x34a)](){return this;}[_0x36a862(0x2ea)](){var _0x1f903e=_0x36a862;return this[_0x1f903e(0x227)][_0x1f903e(0x33f)](exports['OfflineState'],this[_0x1f903e(0x524)],this['type'],null,[],this[_0x1f903e(0x311)]);}['toggleOnline'](){return this;}[_0x36a862(0x415)](){var _0x581e24=_0x36a862;throw new Error(_0x581e24(0x3b7));}[_0x36a862(0x35d)](){var _0x1f3d7f=_0x36a862;const _0x106670=this[_0x1f3d7f(0x478)][_0x1f3d7f(0x1fc)](this['unitID']);return this[_0x1f3d7f(0x311)][_0x1f3d7f(0x24c)]({'from':_0x106670,'to':0x0}),this[_0x1f3d7f(0x227)][_0x1f3d7f(0x33f)](exports[_0x1f3d7f(0x3b2)],this[_0x1f3d7f(0x524)],this[_0x1f3d7f(0x2c8)],null,[],null,[],this[_0x1f3d7f(0x311)]);}},exports['SyncedState']=ce([w(0x3,a[_0x36a862(0x437)](g['RevisionService'])),w(0x4,a[_0x36a862(0x437)](a[_0x36a862(0x4a7)])),w(0x5,a[_0x36a862(0x47c)]),w(0x6,a[_0x36a862(0x340)]),w(0x7,a['ILogService']),w(0x8,g[_0x36a862(0x516)]),w(0x9,a['Optional'](z))],exports['SyncedState']),exports[_0x36a862(0x4b2)]=class extends he{constructor(_0x180a03,_0x2acb92,_0x59a111,_0x21a223,_0x2bc4bf,_0x1da26a,_0x7a1514,_0x5c394c,_0x2492ff,_0x1533a2,_0x54023a,_0x388642,_0x549487,_0x11b557){var _0x46804a=_0x36a862;super(_0x180a03,_0x2acb92,null,_0x59a111,_0x21a223,_0x2492ff,_0x549487,_0x1da26a,_0x11b557),A(this,_0x46804a(0x4f8),_0x46804a(0x42c)),A(this,'_scheduleCompleteTimestamp',null),A(this,'_sendingTimer',null),(this[_0x46804a(0x227)]=_0x2bc4bf,this[_0x46804a(0x4d2)]=_0x7a1514,this[_0x46804a(0x3e3)]=_0x5c394c,this[_0x46804a(0x325)]=_0x1533a2,this['_transformService']=_0x54023a,this[_0x46804a(0x50d)]=_0x388642);}[_0x36a862(0x2d2)](_0x403458){var _0x25b2ab=_0x36a862;return this[_0x25b2ab(0x3d7)][_0x25b2ab(0x369)](_0x403458),this['_updateLocalCache'](),this;}[_0x36a862(0x557)](_0x2f5c92){var _0x222b34=_0x36a862;if(this['_checkMissing'](_0x2f5c92))return this['_clearScheduledTask'](),this['_injector'][_0x222b34(0x33f)](exports['FetchingMissState'],this[_0x222b34(0x524)],this['type'],null,this[_0x222b34(0x3d7)],null,[_0x2f5c92],this[_0x222b34(0x311)]);try{const _0x1dd1fa=this[_0x222b34(0x3a1)][_0x222b34(0x2ca)](_0x2f5c92,this[_0x222b34(0x3d7)]);if(g[_0x222b34(0x33d)](_0x1dd1fa)){const {c1Prime:_0x2b2dda,m2Prime:_0x585293}=_0x1dd1fa;this['_executeRemoteChangeset'](_0x2b2dda);const _0x338577=this[_0x222b34(0x227)][_0x222b34(0x33f)](exports['PendingState'],this[_0x222b34(0x524)],this['type'],_0x585293,this[_0x222b34(0x311)]);this[_0x222b34(0x20d)]();const _0x277c3d=new Date()['getTime'](),_0x447bfb=this['_scheduleCompleteTimestamp']?Math[_0x222b34(0x501)](this[_0x222b34(0x50e)]-_0x277c3d,0x0):this[_0x222b34(0x298)]();return _0x338577['_schedule'](_0x447bfb),_0x338577;}throw _0x1dd1fa[_0x222b34(0x3c7)];}catch(_0x278918){return this[_0x222b34(0x3e3)]['error'](_0x278918),this[_0x222b34(0x54c)](!0x1);}}[_0x36a862(0x376)](){var _0x318f95=_0x36a862;throw new Error(_0x318f95(0x24f));}[_0x36a862(0x27a)](){var _0x4f2006=_0x36a862;throw new Error(_0x4f2006(0x476));}[_0x36a862(0x34a)](){return this;}[_0x36a862(0x2ea)](){var _0x5e5e0f=_0x36a862;return this[_0x5e5e0f(0x20d)](),this[_0x5e5e0f(0x227)][_0x5e5e0f(0x33f)](exports[_0x5e5e0f(0x32f)],this[_0x5e5e0f(0x524)],this[_0x5e5e0f(0x2c8)],null,this['_pendingMutations'],this[_0x5e5e0f(0x311)]);}[_0x36a862(0x301)](){return this;}[_0x36a862(0x397)](_0x4e6022){var _0x371747=_0x36a862;const _0x628483=_0x4e6022!=null?_0x4e6022:this[_0x371747(0x298)]();this['_scheduleCompleteTimestamp']=new Date()[_0x371747(0x503)]()+_0x628483,this[_0x371747(0x3ef)]=setTimeout(()=>{var _0x37c74d=_0x371747;this[_0x37c74d(0x20d)]();let _0x223ec3=null;switch(this['type']){case X[_0x37c74d(0x474)]:{_0x223ec3=ze(this[_0x37c74d(0x3d7)],this[_0x37c74d(0x524)],this['_univerInstanceService'],this[_0x37c74d(0x478)],this[_0x37c74d(0x4d2)]);break;}case X['UNIVER_DOC']:{this[_0x37c74d(0x3d7)][_0x37c74d(0x30d)](_0x366964=>_0x366964['id']===ut[_0x37c74d(0x468)]['id'])?_0x223ec3=Ii(this[_0x37c74d(0x3d7)],this[_0x37c74d(0x524)],this[_0x37c74d(0x50d)],this[_0x37c74d(0x478)],this['_memberService']):_0x223ec3=ze(this[_0x37c74d(0x3d7)],this[_0x37c74d(0x524)],this[_0x37c74d(0x50d)],this[_0x37c74d(0x478)],this['_memberService']);break;}default:throw new Error(_0x37c74d(0x213)+this[_0x37c74d(0x2c8)]+'\x20in\x20_schedule.');}const {changeset:_0xa6b28,pendingMutations:_0x1f706d}=_0x223ec3;this[_0x37c74d(0x311)][_0x37c74d(0x3d0)](_0xa6b28);const _0x5b446a=_0x1f706d[_0x37c74d(0x269)]?this[_0x37c74d(0x227)][_0x37c74d(0x33f)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x37c74d(0x2c8)],_0xa6b28,_0x1f706d,this[_0x37c74d(0x311)],void 0x0):this[_0x37c74d(0x227)][_0x37c74d(0x33f)](exports['AwaitingState'],this[_0x37c74d(0x524)],this[_0x37c74d(0x2c8)],_0xa6b28,this[_0x37c74d(0x311)]);_0x5b446a[_0x37c74d(0x542)](),this['_handler'][_0x37c74d(0x2fa)](this,_0x5b446a);},_0x628483);}[_0x36a862(0x298)](){var _0x1c2353=_0x36a862,_0x166bb1;const _0x19e8e7=this[_0x1c2353(0x325)]['getConfig'](Y);return(_0x166bb1=_0x19e8e7==null?void 0x0:_0x19e8e7['sendChangesetTimeout'])!=null?_0x166bb1:jt;}[_0x36a862(0x415)](){var _0x233db=_0x36a862;throw new Error(_0x233db(0x4c3));}[_0x36a862(0x20d)](){var _0x507ed8=_0x36a862;this[_0x507ed8(0x3ef)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x507ed8(0x3ef)]=null);}[_0x36a862(0x54c)](_0x376d9d){var _0x2134a2=_0x36a862;return this['_clearScheduledTask'](),this['_injector']['createInstance'](exports['ConflictState'],this[_0x2134a2(0x524)],this[_0x2134a2(0x2c8)],null,this[_0x2134a2(0x3d7)],this[_0x2134a2(0x311)],_0x376d9d);}},exports[_0x36a862(0x4b2)]=ce([w(0x4,a['Inject'](a[_0x36a862(0x4a7)])),w(0x5,a[_0x36a862(0x437)](g[_0x36a862(0x290)])),w(0x6,a[_0x36a862(0x437)](exports['MemberService'])),w(0x7,a['ILogService']),w(0x8,a[_0x36a862(0x340)]),w(0x9,a[_0x36a862(0x4b9)]),w(0xa,g[_0x36a862(0x516)]),w(0xb,a[_0x36a862(0x420)]),w(0xc,a['IUndoRedoService']),w(0xd,a[_0x36a862(0x39b)](z))],exports[_0x36a862(0x4b2)]),exports[_0x36a862(0x51c)]=class extends he{constructor(_0x2ea27f,_0x1300e8,_0x3a3b51,_0x45bad6,_0x431aaf,_0x5d6641,_0x306f4f,_0x538acb,_0x30efaa,_0x341b31,_0x5e5309){var _0x473729=_0x36a862;super(_0x2ea27f,_0x1300e8,_0x3a3b51,[],_0x45bad6,_0x306f4f,_0x341b31,_0x5d6641,_0x5e5309),A(this,_0x473729(0x4f8),_0x473729(0x22d)),A(this,_0x473729(0x39f),0x0),A(this,_0x473729(0x2e0)),A(this,_0x473729(0x361)),(this[_0x473729(0x227)]=_0x431aaf,this['_logService']=_0x538acb,this[_0x473729(0x3a1)]=_0x30efaa);}[_0x36a862(0x2d2)](_0x3ac928){var _0x5b9d03=_0x36a862;this[_0x5b9d03(0x20d)]();const _0x4c0df5=this[_0x5b9d03(0x227)]['createInstance'](exports[_0x5b9d03(0x519)],this[_0x5b9d03(0x524)],this['type'],this[_0x5b9d03(0x467)],[_0x3ac928],this[_0x5b9d03(0x311)],this[_0x5b9d03(0x2e0)]);return _0x4c0df5[_0x5b9d03(0x542)](),_0x4c0df5;}['onRemoteChangeset'](_0xffaec3){var _0x1249e7=_0x36a862;if(this['_checkMissing'](_0xffaec3))return this[_0x1249e7(0x20d)](),this['_injector'][_0x1249e7(0x33f)](exports[_0x1249e7(0x3b2)],this[_0x1249e7(0x524)],this['type'],this[_0x1249e7(0x467)],[],null,[_0xffaec3],this[_0x1249e7(0x311)]);try{const _0x3097eb=this[_0x1249e7(0x3a1)][_0x1249e7(0x530)]([_0xffaec3],[this[_0x1249e7(0x467)]],!0x1);if(g[_0x1249e7(0x48a)](_0x3097eb)){const {c1Prime:_0x17dcb7,c2Prime:_0x177190}=_0x3097eb;this[_0x1249e7(0x3a6)](_0x17dcb7[0x0]),_0x177190[0x0][_0x1249e7(0x324)]=this['_getCurrentRevision'](),this[_0x1249e7(0x20d)]();const _0x5828ae=this[_0x1249e7(0x227)][_0x1249e7(0x33f)](exports['AwaitingState'],this['unitID'],this[_0x1249e7(0x2c8)],_0x177190[0x0],this[_0x1249e7(0x311)]);return _0x5828ae[_0x1249e7(0x542)](),_0x5828ae;}return this[_0x1249e7(0x54c)](!0x1);}catch(_0x462595){return this[_0x1249e7(0x3e3)][_0x1249e7(0x3c7)](_0x462595),this[_0x1249e7(0x54c)](!0x1);}}[_0x36a862(0x376)](_0x41632e){var _0x178acd=_0x36a862;this[_0x178acd(0x20d)]();const _0x5c1e8d=this[_0x178acd(0x478)][_0x178acd(0x1fc)](this[_0x178acd(0x524)]);if(_0x41632e[_0x178acd(0x49b)]<_0x5c1e8d-0x1)return this;if(this[_0x178acd(0x40c)](_0x41632e))return this['_injector'][_0x178acd(0x33f)](exports[_0x178acd(0x3b2)],this[_0x178acd(0x524)],this[_0x178acd(0x2c8)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x178acd(0x445)]();const _0x3ae163=this[_0x178acd(0x227)][_0x178acd(0x33f)](exports[_0x178acd(0x2c6)],this['unitID'],this[_0x178acd(0x2c8)],this[_0x178acd(0x311)]);return _0x3ae163[_0x178acd(0x542)](),_0x3ae163;}[_0x36a862(0x27a)](_0x3255a0){var _0x1ced9c=_0x36a862;return this['_onConflict'](!!(_0x3255a0!=null&&_0x3255a0[_0x1ced9c(0x54a)]));}['onRemoteRetry'](_0x3b0508){var _0x8cf40c=_0x36a862;return this[_0x8cf40c(0x39f)]>Nt?this[_0x8cf40c(0x2ea)]():(this[_0x8cf40c(0x2e0)]=yt(this[_0x8cf40c(0x39f)],{'timeout':this[_0x8cf40c(0x39f)],'reqId':_0x3b0508[_0x8cf40c(0x49f)]}),this[_0x8cf40c(0x361)]=this['_resendTimer']['subscribe'](({reqId:_0x52618f,timeout:_0xa5e3b8})=>{var _0x2b9450=_0x8cf40c;this[_0x2b9450(0x2b7)](_0x52618f,_0xa5e3b8);}),this);}['toggleOffline'](){var _0x54b0cb=_0x36a862;return this[_0x54b0cb(0x20d)](),this[_0x54b0cb(0x227)][_0x54b0cb(0x33f)](exports[_0x54b0cb(0x32f)],this[_0x54b0cb(0x524)],this[_0x54b0cb(0x2c8)],this[_0x54b0cb(0x467)],[],this[_0x54b0cb(0x311)]);}[_0x36a862(0x301)](){return this;}[_0x36a862(0x415)](){var _0x691f0=_0x36a862;this[_0x691f0(0x311)][_0x691f0(0x3d0)](this[_0x691f0(0x467)]);}[_0x36a862(0x54c)](_0x4b28f8){var _0x29e9d2=_0x36a862;return this[_0x29e9d2(0x20d)](),this[_0x29e9d2(0x227)]['createInstance'](exports[_0x29e9d2(0x422)],this[_0x29e9d2(0x524)],this['type'],this[_0x29e9d2(0x467)],[],this['_handler'],_0x4b28f8);}[_0x36a862(0x2b7)](_0xea1bbb,_0x1788b7){var _0x31071f=_0x36a862,_0x5cf320;_0xea1bbb===((_0x5cf320=this['_awaitingChangeset'])==null?void 0x0:_0x5cf320[_0x31071f(0x49f)])&&(this['resend'](),this['_resendTimeout']=_0x1788b7===0x0?0x3e8:_0x1788b7*0x2);}['_clearScheduledTask'](){var _0x19ac46=_0x36a862,_0x41db3;(_0x41db3=this['_sender'])==null||_0x41db3[_0x19ac46(0x4d7)](),this[_0x19ac46(0x39f)]=0x0;}},exports[_0x36a862(0x51c)]=ce([w(0x4,a[_0x36a862(0x437)](a[_0x36a862(0x4a7)])),w(0x5,a[_0x36a862(0x437)](g[_0x36a862(0x290)])),w(0x6,a[_0x36a862(0x340)]),w(0x7,a['ILogService']),w(0x8,g[_0x36a862(0x516)]),w(0x9,a[_0x36a862(0x47c)]),w(0xa,a[_0x36a862(0x39b)](z))],exports[_0x36a862(0x51c)]),exports[_0x36a862(0x519)]=class extends he{constructor(_0x53fba3,_0x443df2,_0x92bdab,_0x4d0af4,_0x2a474f,_0x18e238,_0x51b0c0,_0x55cbe4,_0xc5df7f,_0xfec801,_0x854e33,_0x2ba154,_0x238750){var _0xa79666=_0x36a862;super(_0x53fba3,_0x443df2,_0x92bdab,_0x4d0af4,_0x2a474f,_0xc5df7f,_0x2ba154,_0x55cbe4,_0x238750),A(this,_0xa79666(0x4f8),_0xa79666(0x1f2)),A(this,_0xa79666(0x39f),0x0),A(this,_0xa79666(0x2e0)),A(this,_0xa79666(0x361)),(this[_0xa79666(0x227)]=_0x51b0c0,this[_0xa79666(0x3e3)]=_0xfec801,this[_0xa79666(0x3a1)]=_0x854e33,this[_0xa79666(0x2b2)]=_0x238750,_0x18e238&&(this[_0xa79666(0x2e0)]=_0x18e238,this[_0xa79666(0x361)]=this[_0xa79666(0x2e0)][_0xa79666(0x23e)](({reqId:_0x306f88,timeout:_0x4936a4})=>{this['_resendWithTimeout'](_0x306f88,_0x4936a4);})));}['appendMutation'](_0x464394){var _0x348cf2=_0x36a862;return this[_0x348cf2(0x3d7)][_0x348cf2(0x369)](_0x464394),this;}[_0x36a862(0x557)](_0x4ad8a1){var _0x36d767=_0x36a862;if(this['_checkMissing'](_0x4ad8a1))return this[_0x36d767(0x20d)](),this['_injector'][_0x36d767(0x33f)](exports[_0x36d767(0x3b2)],this[_0x36d767(0x524)],this[_0x36d767(0x2c8)],this['_awaitingChangeset'],this[_0x36d767(0x3d7)],null,[_0x4ad8a1],this[_0x36d767(0x311)]);try{const _0x99f2fe=this[_0x36d767(0x3a1)][_0x36d767(0x530)]([_0x4ad8a1],[this[_0x36d767(0x467)]],!0x1);if(g[_0x36d767(0x48a)](_0x99f2fe)){const {c1Prime:_0x1759a7,c2Prime:_0x179717}=_0x99f2fe,_0xcfc63d=this['_transformService'][_0x36d767(0x2ca)](_0x1759a7[0x0],this[_0x36d767(0x3d7)]);if(g[_0x36d767(0x33d)](_0xcfc63d)){const {c1Prime:_0x1be8a9,m2Prime:_0x280f65}=_0xcfc63d;return this['_executeRemoteChangeset'](_0x1be8a9),_0x179717[0x0][_0x36d767(0x324)]=this[_0x36d767(0x243)](),this[_0x36d767(0x20d)](),this[_0x36d767(0x227)][_0x36d767(0x33f)](exports[_0x36d767(0x519)],this[_0x36d767(0x524)],this['type'],_0x179717[0x0],_0x280f65,this['_handler'],void 0x0);}throw _0xcfc63d[_0x36d767(0x3c7)];}throw _0x99f2fe['error'];}catch(_0x23828a){return this['_logService'][_0x36d767(0x3c7)](_0x23828a),this['_onConflict'](!0x1);}}[_0x36a862(0x376)](_0x494af8){var _0x181a90=_0x36a862;if(this['_clearScheduledTask'](),this[_0x181a90(0x40c)](_0x494af8))return this['_injector'][_0x181a90(0x33f)](exports[_0x181a90(0x3b2)],this[_0x181a90(0x524)],this[_0x181a90(0x2c8)],null,this[_0x181a90(0x3d7)],this[_0x181a90(0x467)],[],this[_0x181a90(0x311)]);this[_0x181a90(0x445)]();const _0x365839=this[_0x181a90(0x227)][_0x181a90(0x33f)](exports[_0x181a90(0x4b2)],this[_0x181a90(0x524)],this[_0x181a90(0x2c8)],this['_pendingMutations'],this[_0x181a90(0x311)]);return _0x365839[_0x181a90(0x397)](),_0x365839[_0x181a90(0x542)](),_0x365839;}[_0x36a862(0x27a)](_0x526daa){var _0x255db8=_0x36a862;return this['_onConflict'](!!(_0x526daa!=null&&_0x526daa[_0x255db8(0x54a)]));}[_0x36a862(0x34a)](_0x593ffb){var _0xe634a=_0x36a862;return this[_0xe634a(0x39f)]>Nt?this[_0xe634a(0x2ea)]():(this[_0xe634a(0x2e0)]=yt(this[_0xe634a(0x39f)],{'timeout':this[_0xe634a(0x39f)],'reqId':_0x593ffb[_0xe634a(0x49f)]}),this[_0xe634a(0x361)]=this['_resendTimer'][_0xe634a(0x23e)](({reqId:_0x3ed7b1,timeout:_0x43aac2})=>{this['_resendWithTimeout'](_0x3ed7b1,_0x43aac2);}),this);}['toggleOffline'](){var _0x3a3e6f=_0x36a862;return this[_0x3a3e6f(0x20d)](),this[_0x3a3e6f(0x227)][_0x3a3e6f(0x33f)](exports[_0x3a3e6f(0x32f)],this[_0x3a3e6f(0x524)],this['type'],this[_0x3a3e6f(0x467)],this[_0x3a3e6f(0x3d7)],this['_handler']);}[_0x36a862(0x301)](){return this;}[_0x36a862(0x415)](){var _0x287c7e=_0x36a862;this[_0x287c7e(0x311)][_0x287c7e(0x3d0)](this['_awaitingChangeset']);}['_onConflict'](_0x468a23){var _0x316c4e=_0x36a862;return this[_0x316c4e(0x20d)](),this['_injector'][_0x316c4e(0x33f)](exports[_0x316c4e(0x422)],this['unitID'],this[_0x316c4e(0x2c8)],null,this[_0x316c4e(0x3d7)],this[_0x316c4e(0x311)],_0x468a23);}[_0x36a862(0x2b7)](_0x3e2481,_0x4b8f84){var _0x5860e8=_0x36a862,_0x1375b4;_0x3e2481===((_0x1375b4=this[_0x5860e8(0x467)])==null?void 0x0:_0x1375b4[_0x5860e8(0x49f)])&&(this[_0x5860e8(0x415)](),this[_0x5860e8(0x39f)]=_0x4b8f84===0x0?0x3e8:_0x4b8f84*0x2);}['_clearScheduledTask'](){var _0x1a8297=_0x36a862,_0x494a8d;(_0x494a8d=this['_sender'])==null||_0x494a8d[_0x1a8297(0x4d7)](),this[_0x1a8297(0x39f)]=0x0;}},exports['AwaitingWithPendingState']=ce([w(0x6,a['Inject'](a[_0x36a862(0x4a7)])),w(0x7,a[_0x36a862(0x437)](g[_0x36a862(0x290)])),w(0x8,a[_0x36a862(0x340)]),w(0x9,a[_0x36a862(0x3fb)]),w(0xa,g[_0x36a862(0x516)]),w(0xb,a[_0x36a862(0x47c)]),w(0xc,a['Optional'](z))],exports['AwaitingWithPendingState']),exports[_0x36a862(0x422)]=class extends he{constructor(_0x3087ca,_0x99393e,_0x2ea4f4,_0x1b2e53,_0x45c432,_0x197832=!0x1,_0x588f91,_0x2eda1f,_0x2e2807,_0x4e8986,_0x56ce1e,_0x3fe726,_0x30d170){var _0xa427f8=_0x36a862;super(_0x3087ca,_0x99393e,_0x2ea4f4,_0x1b2e53,_0x45c432,_0x2eda1f,_0x2e2807,_0x4e8986,_0x30d170),A(this,_0xa427f8(0x4f8),_0xa427f8(0x293)),(this[_0xa427f8(0x43c)]=_0x197832,this[_0xa427f8(0x452)]=_0x588f91,this['_localeService']=_0x56ce1e,this[_0xa427f8(0x4c8)]=_0x3fe726,this[_0xa427f8(0x2b2)]=_0x30d170,this['_showConflictNotification'](),this[_0xa427f8(0x38e)](),this['_disableEditing']());}[_0x36a862(0x2d2)](){return this;}[_0x36a862(0x557)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x36a862(0x2ea)](){return this;}[_0x36a862(0x301)](){return this;}[_0x36a862(0x415)](){var _0x44e3c4=_0x36a862;throw new Error(_0x44e3c4(0x3a3));}['_clearLocalCache'](){var _0x412083=_0x36a862,_0x35f88b;(_0x35f88b=this[_0x412083(0x35f)])==null||_0x35f88b[_0x412083(0x3ed)](this[_0x412083(0x524)],this[_0x412083(0x2c8)],null,[]);}[_0x36a862(0x276)](){var _0x530dfb=_0x36a862;this['_isPermissionRej']?this[_0x530dfb(0x4c8)]['emitEvent']({'id':Q[_0x530dfb(0x41a)]}):this[_0x530dfb(0x4c8)][_0x530dfb(0x450)]({'id':Q[_0x530dfb(0x21e)]});}['_disableEditing'](){var _0x478b29=_0x36a862;this[_0x478b29(0x452)][_0x478b29(0x2f4)](new Z[(_0x478b29(0x1eb))](this[_0x478b29(0x524)])['id'],!0x1);}},exports[_0x36a862(0x422)]=ce([w(0x6,a[_0x36a862(0x437)](a[_0x36a862(0x359)])),w(0x7,a['ICommandService']),w(0x8,a[_0x36a862(0x47c)]),w(0x9,a[_0x36a862(0x437)](g[_0x36a862(0x290)])),w(0xa,a[_0x36a862(0x437)](a['LocaleService'])),w(0xb,a[_0x36a862(0x437)](te)),w(0xc,a[_0x36a862(0x39b)](z))],exports[_0x36a862(0x422)]),exports[_0x36a862(0x32f)]=class extends he{constructor(_0x2348ee,_0x41069c,_0x56953e,_0x283f54,_0x5f0037,_0x44977d,_0x25dbe4,_0x8c8e38,_0x3a0960,_0x396a81){var _0x328456=_0x36a862;super(_0x2348ee,_0x41069c,_0x56953e,_0x283f54,_0x5f0037,_0x8c8e38,_0x3a0960,_0x25dbe4,_0x396a81),A(this,_0x328456(0x4f8),_0x328456(0x264)),this['_injector']=_0x44977d;}[_0x36a862(0x2d2)](_0xa766c){var _0x54f349=_0x36a862;return this[_0x54f349(0x3d7)][_0x54f349(0x369)](_0xa766c),this[_0x54f349(0x542)](),this;}['onRemoteChangeset'](_0x43354d){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0xec2b9e=_0x36a862;throw new Error(_0xec2b9e(0x4c0));}[_0x36a862(0x27a)](){var _0x2b7a77=_0x36a862;throw new Error(_0x2b7a77(0x1f8));}['onRemoteRetry'](){return this;}[_0x36a862(0x2ea)](){return this;}['toggleOnline'](){var _0x1b695c=_0x36a862;const {_injector:_0x20dbf4,_pendingMutations:_0x1ca62a,_awaitingChangeset:_0x399670,unitID:_0x43225d,_handler:_0x84557f,type:_0x379f49}=this,_0x29b54c=Dt(_0x20dbf4,_0x43225d,_0x379f49,_0x399670,_0x1ca62a,_0x84557f);return _0x29b54c instanceof exports[_0x1b695c(0x4b2)]?_0x29b54c[_0x1b695c(0x397)]():(_0x29b54c instanceof exports[_0x1b695c(0x519)]||_0x29b54c instanceof exports[_0x1b695c(0x51c)])&&_0x29b54c[_0x1b695c(0x415)](),_0x29b54c;}[_0x36a862(0x415)](){var _0x10fe8a=_0x36a862;throw new Error(_0x10fe8a(0x212));}},exports['OfflineState']=ce([w(0x5,a[_0x36a862(0x437)](a['Injector'])),w(0x6,a[_0x36a862(0x437)](g[_0x36a862(0x290)])),w(0x7,a[_0x36a862(0x340)]),w(0x8,a[_0x36a862(0x47c)]),w(0x9,a['Optional'](z))],exports[_0x36a862(0x32f)]),exports[_0x36a862(0x3b2)]=class extends he{constructor(_0xba8065,_0x4dbbfb,_0x367251,_0x14bfbd,_0xf0c46f,_0xd59ed8,_0x19c6d6,_0x16474b,_0x20165c,_0xf155a3,_0x1f223a,_0xc7ab15,_0x4527fd,_0x436d2e){var _0x322c13=_0x36a862;super(_0xba8065,_0x4dbbfb,_0x367251,_0x14bfbd,_0x19c6d6,_0x1f223a,_0xc7ab15,_0x20165c,_0x436d2e),A(this,_0x322c13(0x4f8),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0xf0c46f,this[_0x322c13(0x40a)]=_0xd59ed8,this[_0x322c13(0x227)]=_0x16474b,this[_0x322c13(0x3e3)]=_0xf155a3,this['_transformService']=_0x4527fd,this[_0x322c13(0x2b2)]=_0x436d2e);}[_0x36a862(0x2d4)](_0x3495a1){var _0x119eb9=_0x36a862;try{const _0x5997c4=[..._0x3495a1,...this['_queuedRemoteChangesets']],_0x21e463=[this[_0x119eb9(0x467)]||this[_0x119eb9(0x3f0)]]['filter'](_0x1af253=>!!_0x1af253);let _0x123578,_0xd99c92;if(_0x21e463[_0x119eb9(0x269)]){const _0x526b8b=this[_0x119eb9(0x3a1)][_0x119eb9(0x530)](_0x5997c4,_0x21e463,!0x1);if(!g['isTransformChangesetsSuccess'](_0x526b8b))throw _0x526b8b[_0x119eb9(0x3c7)];_0x123578=_0x526b8b[_0x119eb9(0x559)],_0xd99c92=_0x526b8b[_0x119eb9(0x39d)];}else _0x123578=_0x5997c4,_0xd99c92=[];let _0x5ed4bb=this[_0x119eb9(0x3d7)];_0x123578[_0x119eb9(0x455)](_0x1bb9b7=>{var _0x4e25e3=_0x119eb9;let _0x132c80;if(_0x5ed4bb['length']){const _0x4614bb=this['_transformService'][_0x4e25e3(0x2ca)](_0x1bb9b7,_0x5ed4bb);if(!g[_0x4e25e3(0x33d)](_0x4614bb))throw _0x4614bb[_0x4e25e3(0x3c7)];_0x132c80=_0x4614bb['c1Prime'],_0x5ed4bb=_0x4614bb[_0x4e25e3(0x49c)];}else _0x132c80=_0x1bb9b7;this[_0x4e25e3(0x3a6)](_0x132c80);}),this[_0x119eb9(0x3f0)]&&this[_0x119eb9(0x445)](),this['_awaitingChangeset']&&_0xd99c92[_0x119eb9(0x269)]&&(_0xd99c92[0x0][_0x119eb9(0x324)]=this[_0x119eb9(0x243)]());let _0x17d8ff;if(this[_0x119eb9(0x467)]&&_0x5ed4bb['length']!==0x0)_0x17d8ff=this[_0x119eb9(0x227)][_0x119eb9(0x33f)](exports[_0x119eb9(0x519)],this['unitID'],this[_0x119eb9(0x2c8)],_0xd99c92[0x0],_0x5ed4bb,this[_0x119eb9(0x311)],void 0x0);else{if(this[_0x119eb9(0x467)]&&_0x5ed4bb[_0x119eb9(0x269)]===0x0)_0xd99c92[0x0][_0x119eb9(0x324)]=this['_getCurrentRevision'](),_0x17d8ff=this[_0x119eb9(0x227)]['createInstance'](exports['AwaitingState'],this[_0x119eb9(0x524)],this[_0x119eb9(0x2c8)],_0xd99c92[0x0],this['_handler']);else{if(_0x5ed4bb['length']!==0x0){const _0x2d064f=this[_0x119eb9(0x227)]['createInstance'](exports[_0x119eb9(0x4b2)],this['unitID'],this[_0x119eb9(0x2c8)],_0x5ed4bb,this['_handler']);_0x2d064f[_0x119eb9(0x397)](),_0x17d8ff=_0x2d064f;}else _0x17d8ff=this[_0x119eb9(0x227)]['createInstance'](exports[_0x119eb9(0x2c6)],this[_0x119eb9(0x524)],this[_0x119eb9(0x2c8)],this[_0x119eb9(0x311)]);}}return _0x17d8ff['_updateLocalCache'](),_0x17d8ff;}catch(_0x3a0e27){return this['_logService']['error'](_0x119eb9(0x3bb),_0x119eb9(0x1ec),_0x3a0e27),this[_0x119eb9(0x227)][_0x119eb9(0x33f)](exports[_0x119eb9(0x422)],this['unitID'],this[_0x119eb9(0x2c8)],this['_awaitingChangeset'],this[_0x119eb9(0x3d7)],this[_0x119eb9(0x311)],!0x1);}}[_0x36a862(0x415)](){var _0x114437=_0x36a862;throw new Error(_0x114437(0x471));}['appendMutation'](_0x23733d){var _0x2b1feb=_0x36a862;return this[_0x2b1feb(0x3d7)][_0x2b1feb(0x369)](_0x23733d),this;}[_0x36a862(0x557)](_0xd0ec27){var _0x24d0df=_0x36a862;return this[_0x24d0df(0x40a)]['push'](_0xd0ec27),this;}[_0x36a862(0x376)](_0x452256){var _0x1ae1a7=_0x36a862;if(this[_0x1ae1a7(0x467)])return this['_acknowledgedAwaitingChangeset']=this[_0x1ae1a7(0x467)],this['_awaitingChangeset']=null,this;throw new Error(_0x1ae1a7(0x3df));}[_0x36a862(0x27a)](_0x19414c){var _0xd59bce=_0x36a862;return this[_0xd59bce(0x54c)](!!(_0x19414c!=null&&_0x19414c[_0xd59bce(0x54a)]));}['onRemoteRetry'](){return this;}[_0x36a862(0x2ea)](){var _0x37aeb2=_0x36a862;return this[_0x37aeb2(0x227)][_0x37aeb2(0x33f)](exports[_0x37aeb2(0x32f)],this[_0x37aeb2(0x524)],this[_0x37aeb2(0x2c8)],this[_0x37aeb2(0x467)],this[_0x37aeb2(0x3d7)],this[_0x37aeb2(0x311)]);}[_0x36a862(0x301)](){return this;}['_onConflict'](_0x171a1e){var _0x256364=_0x36a862;return this[_0x256364(0x227)]['createInstance'](exports['ConflictState'],this[_0x256364(0x524)],this[_0x256364(0x2c8)],this[_0x256364(0x467)],this[_0x256364(0x3d7)],this[_0x256364(0x311)],_0x171a1e);}},exports[_0x36a862(0x3b2)]=ce([w(0x7,a[_0x36a862(0x437)](a['Injector'])),w(0x8,a[_0x36a862(0x437)](g['RevisionService'])),w(0x9,a[_0x36a862(0x3fb)]),w(0xa,a['ICommandService']),w(0xb,a[_0x36a862(0x47c)]),w(0xc,g[_0x36a862(0x516)]),w(0xd,a[_0x36a862(0x39b)](z))],exports['FetchingMissState']);function Dt(_0xb4759d,_0x35643b,_0xfa8943,_0x54fa28,_0x4d8205,_0x1a4394){var _0xddbb87=_0x36a862;return _0x54fa28&&_0x4d8205[_0xddbb87(0x269)]?_0xb4759d[_0xddbb87(0x33f)](exports[_0xddbb87(0x519)],_0x35643b,_0xfa8943,_0x54fa28,_0x4d8205,_0x1a4394,void 0x0):_0x54fa28?_0xb4759d[_0xddbb87(0x33f)](exports[_0xddbb87(0x51c)],_0x35643b,_0xfa8943,_0x54fa28,_0x1a4394):_0x4d8205[_0xddbb87(0x269)]?_0xb4759d[_0xddbb87(0x33f)](exports['PendingState'],_0x35643b,_0xfa8943,_0x4d8205,_0x1a4394):_0xb4759d[_0xddbb87(0x33f)](exports[_0xddbb87(0x2c6)],_0x35643b,_0xfa8943,_0x1a4394);}var Ci=Object[_0x36a862(0x2dc)],We=(_0x1abef5,_0x234811,_0x381482,_0x36749d)=>{for(var _0x416a5c=_0x36749d>0x1?void 0x0:_0x36749d?Ci(_0x234811,_0x381482):_0x234811,_0x2f16de=_0x1abef5['length']-0x1,_0x2d2d6b;_0x2f16de>=0x0;_0x2f16de--)(_0x2d2d6b=_0x1abef5[_0x2f16de])&&(_0x416a5c=_0x2d2d6b(_0x416a5c)||_0x416a5c);return _0x416a5c;},$=(_0x3e0c62,_0x4ec5b4)=>(_0x22d9f7,_0x598fbb)=>_0x4ec5b4(_0x22d9f7,_0x598fbb,_0x3e0c62);exports[_0x36a862(0x342)]=class extends a[_0x36a862(0x405)]{constructor(_0x219fa4,_0x1d6919,_0x1d37ef,_0x26c834,_0x45bb7a,_0x14b30d,_0x34cf50,_0x213ed8,_0x469f,_0x599e09,_0x5d5d56,_0x39a5bc,_0x10d495){var _0x303b5b=_0x36a862;super(),A(this,_0x303b5b(0x378),new j[(_0x303b5b(0x4c9))](null)),A(this,_0x303b5b(0x1e6),this[_0x303b5b(0x378)]['asObservable']()),A(this,_0x303b5b(0x230)),A(this,_0x303b5b(0x3ff),!0x1),A(this,'_changesetSessionId',''),A(this,'_changesetReqId',0x0),A(this,_0x303b5b(0x248),this['state$'][_0x303b5b(0x327)](j[_0x303b5b(0x482)](_0x530125=>_0x530125?_0x530125[_0x303b5b(0x4f8)]:Ve['OFFLINE']),j[_0x303b5b(0x4f2)](0x1))),A(this,'_transitionLocked',!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x303b5b(0x524)]=_0x219fa4,this[_0x303b5b(0x3b4)]=_0x1d6919,this[_0x303b5b(0x1f1)]=_0x1d37ef,this['_injector']=_0x26c834,this[_0x303b5b(0x36e)]=_0x45bb7a,this[_0x303b5b(0x554)]=_0x14b30d,this[_0x303b5b(0x478)]=_0x34cf50,this['_eventService']=_0x213ed8,this[_0x303b5b(0x3e3)]=_0x469f,this[_0x303b5b(0x464)]=_0x599e09,this['_permissionService']=_0x5d5d56,this[_0x303b5b(0x368)]=_0x39a5bc,this['_localCacheService']=_0x10d495);}get[_0x36a862(0x34f)](){return this['_state'];}async['init'](){var _0x446a5f=_0x36a862;if(this[_0x446a5f(0x34f)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x446a5f(0x4fa)]();}[_0x36a862(0x355)](){var _0x263949=_0x36a862;return this[_0x263949(0x3ff)]=!0x0,a[_0x263949(0x4cb)](()=>{var _0x2d5672=_0x263949;this[_0x2d5672(0x3ff)]=!0x1,this[_0x2d5672(0x2b4)]();});}['onLocalMutation'](_0x41bd90){var _0x1411fb=_0x36a862;this[_0x1411fb(0x25d)](_0x41bd90);}[_0x36a862(0x277)](_0x3be836){var _0x33b3c2=_0x36a862;this[_0x33b3c2(0x230)]=_0x3be836,this[_0x33b3c2(0x378)][_0x33b3c2(0x55c)](_0x3be836);}async['_init'](){var _0x4d90b7=_0x36a862,_0x40e380;this[_0x4d90b7(0x277)](await this[_0x4d90b7(0x538)]()),this[_0x4d90b7(0x368)]&&((_0x40e380=this[_0x4d90b7(0x368)])==null||_0x40e380['editingUnit'](this[_0x4d90b7(0x524)]),this['disposeWithMe'](this[_0x4d90b7(0x368)]['getUnitStatus$'](this['unitID'])[_0x4d90b7(0x23e)](_0x2ec612=>{var _0xe47bb=_0x4d90b7;this[_0xe47bb(0x3e3)][_0xe47bb(0x3f9)](_0xe47bb(0x3fd),_0xe47bb(0x242),_0x2ec612),_0x2ec612===Fe[_0xe47bb(0x41f)]?(this[_0xe47bb(0x256)][_0xe47bb(0x450)]({'id':Q[_0xe47bb(0x465)]}),this['_permissionService'][_0xe47bb(0x2f4)](new Z[(_0xe47bb(0x1eb))](this['unitID'])['id'],!0x1),this[_0xe47bb(0x452)][_0xe47bb(0x291)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new Z['WorkbookEditablePermission'](this[_0xe47bb(0x524)])['id'],!0x0),this[_0xe47bb(0x452)][_0xe47bb(0x291)](!0x0));})));let _0x4715ca=!0x1;return this[_0x4d90b7(0x3af)](this[_0x4d90b7(0x3b4)][_0x4d90b7(0x549)][_0x4d90b7(0x23e)](_0x364fae=>{var _0x4d4e8d=_0x4d90b7;_0x364fae===se[_0x4d4e8d(0x2ec)]?this[_0x4d4e8d(0x536)](_0x4715ca):_0x364fae===se[_0x4d4e8d(0x339)]&&(_0x4715ca=!0x0,this[_0x4d4e8d(0x46b)]());})),this['disposeWithMe'](this[_0x4d90b7(0x3b4)]['event$']['subscribe'](_0x302d65=>{var _0x42997b=_0x4d90b7;try{switch(_0x302d65[_0x42997b(0x4af)]){case g[_0x42997b(0x52d)][_0x42997b(0x22a)]:{this[_0x42997b(0x239)](g[_0x42997b(0x22c)](_0x302d65[_0x42997b(0x2f9)]));break;}case g['CollaborationEvent']['CHANGESET_ACK']:{this[_0x42997b(0x29e)](_0x302d65['data']);break;}case g[_0x42997b(0x52d)][_0x42997b(0x1f4)]:{this[_0x42997b(0x317)]();break;}case g[_0x42997b(0x52d)][_0x42997b(0x3f2)]:{this[_0x42997b(0x490)](_0x302d65[_0x42997b(0x2f9)]);break;}case g[_0x42997b(0x52d)][_0x42997b(0x38f)]:{this['_onFetchMissResult'](_0x302d65[_0x42997b(0x2f9)][_0x42997b(0x539)][_0x42997b(0x482)](_0x412f92=>g[_0x42997b(0x22c)](_0x412f92)));break;}case g[_0x42997b(0x52d)]['PERMISSION_REJ']:{this[_0x42997b(0x317)]({'isPermissionRej':!0x0});break;}case g[_0x42997b(0x52d)][_0x42997b(0x463)]:break;}}catch(_0x124704){throw console[_0x42997b(0x3c7)]('Error\x20on\x20receiving\x20event',_0x124704),_0x124704;}})),this[_0x4d90b7(0x230)];}[_0x36a862(0x4cd)](){var _0x5b44c3=_0x36a862;this[_0x5b44c3(0x4f0)]=!0x1;}['_lockTransition'](){var _0x3be5c5=_0x36a862;if(this[_0x3be5c5(0x4f0)])throw new Error(_0x3be5c5(0x373));this['_transitionLocked']=!0x0;}[_0x36a862(0x25d)](_0x3d74b5){var _0x5e86c9=_0x36a862;this[_0x5e86c9(0x4c7)](),this[_0x5e86c9(0x277)](this[_0x5e86c9(0x230)][_0x5e86c9(0x2d2)](_0x3d74b5)),this[_0x5e86c9(0x4cd)]();}[_0x36a862(0x239)](_0x15978e){var _0x4e26ef=_0x36a862;if(!(_0x15978e[_0x4e26ef(0x49b)]<=this[_0x4e26ef(0x478)][_0x4e26ef(0x1fc)](this[_0x4e26ef(0x524)]))){if(this[_0x4e26ef(0x3ff)]){this[_0x4e26ef(0x3c4)][_0x4e26ef(0x369)](_0x15978e);return;}this[_0x4e26ef(0x219)](_0x15978e);}}[_0x36a862(0x2b4)](){var _0x5454ce=_0x36a862;this[_0x5454ce(0x3c4)]['forEach'](_0x5d1817=>this[_0x5454ce(0x219)](_0x5d1817)),this[_0x5454ce(0x3c4)]=[];}['_applyRemoteChangeset'](_0x247783){var _0x26ebc8=_0x36a862;const _0xe758fd=this['_compressMutationService'][_0x26ebc8(0x2fb)]['fetchThroughInterceptors'](this[_0x26ebc8(0x36e)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x247783[_0x26ebc8(0x25c)],null)||_0x247783[_0x26ebc8(0x25c)],_0x4db6bf={..._0x247783,'mutations':_0xe758fd};this[_0x26ebc8(0x4c7)](),this[_0x26ebc8(0x277)](this[_0x26ebc8(0x230)][_0x26ebc8(0x557)](_0x4db6bf)),this['_unlockTransition']();}[_0x36a862(0x29e)](_0x8bfcc9){var _0x4686b3=_0x36a862;this['_lockTransition'](),this[_0x4686b3(0x277)](this[_0x4686b3(0x230)]['onRemoteAck'](_0x8bfcc9)),this[_0x4686b3(0x4cd)]();}['_onRemoteRejected'](_0x2666d3){var _0x4c4fde=_0x36a862;this[_0x4c4fde(0x4c7)](),this['_updateState'](this[_0x4c4fde(0x230)][_0x4c4fde(0x27a)](_0x2666d3)),this[_0x4c4fde(0x4cd)]();}[_0x36a862(0x490)](_0x3708ed){var _0x23d591=_0x36a862;this[_0x23d591(0x4c7)](),this[_0x23d591(0x277)](this['_state'][_0x23d591(0x34a)](_0x3708ed)),this['_unlockTransition']();}[_0x36a862(0x4c1)](_0x5cebc3){var _0x5e8857=_0x36a862;if(!(this[_0x5e8857(0x230)]instanceof exports[_0x5e8857(0x3b2)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x540841=_0x5cebc3[_0x5e8857(0x482)](_0x5c503e=>{var _0x203fa6=_0x5e8857;const _0x1e5e28=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x203fa6(0x36e)][_0x203fa6(0x2fb)][_0x203fa6(0x33b)]()[_0x203fa6(0x2a6)])(_0x5c503e[_0x203fa6(0x25c)],null)||_0x5c503e['mutations'];return{..._0x5c503e,'mutations':_0x1e5e28};});this[_0x5e8857(0x4c7)](),this[_0x5e8857(0x277)](this[_0x5e8857(0x230)]['onMissedChangesetFetched'](_0x540841)),this[_0x5e8857(0x4cd)]();}['_toggleOffline'](){var _0x277c24=_0x36a862;this[_0x277c24(0x4c7)](),this[_0x277c24(0x277)](this['_state'][_0x277c24(0x2ea)]()),this[_0x277c24(0x4cd)]();}[_0x36a862(0x536)](_0x4492b2=!0x1){var _0x4b99f5=_0x36a862;this[_0x4b99f5(0x4c7)](),this[_0x4b99f5(0x277)](this['_state'][_0x4b99f5(0x301)]()),this[_0x4b99f5(0x4cd)]();const _0x242e76=this[_0x4b99f5(0x230)];_0x4492b2&&_0x242e76 instanceof exports[_0x4b99f5(0x2c6)]&&(this['_lockTransition'](),this[_0x4b99f5(0x277)](_0x242e76[_0x4b99f5(0x35d)]()),this[_0x4b99f5(0x4cd)]());}async[_0x36a862(0x538)](){return new Promise(_0x3ecf95=>{var _0x207989=_0x58e2;this[_0x207989(0x3b4)][_0x207989(0x549)][_0x207989(0x327)](j[_0x207989(0x262)](0x1))[_0x207989(0x23e)](async _0x128b39=>{var _0x1c7ed0=_0x207989;_0x3ecf95(await this['_createInitialStateImpl'](_0x128b39===se[_0x1c7ed0(0x2ec)]));});});}[_0x36a862(0x51d)](){var _0x59256c=_0x36a862;const _0x291d4d=this[_0x59256c(0x524)];return{'onStateChange':(_0x275811,_0x1fb0c0)=>{var _0x3c34d7=_0x59256c;if(_0x275811!==this[_0x3c34d7(0x230)])throw new Error(_0x3c34d7(0x312)+_0x275811[_0x3c34d7(0x4f8)]+'\x0aAfter:\x20'+_0x1fb0c0[_0x3c34d7(0x4f8)]+'\x0aCurrent:\x20'+this[_0x3c34d7(0x230)][_0x3c34d7(0x4f8)]);this[_0x3c34d7(0x277)](_0x1fb0c0);},'onSendChangeset':_0x12f589=>{var _0x27c32d=_0x59256c;_0x12f589['sid']||(_0x12f589[_0x27c32d(0x27e)]=this[_0x27c32d(0x2b3)],_0x12f589[_0x27c32d(0x49f)]=++this['_changesetReqId']);const _0x47b0fd={'eventID':g[_0x27c32d(0x52d)][_0x27c32d(0x424)],'data':{'unitID':_0x12f589[_0x27c32d(0x524)],'unitType':this[_0x27c32d(0x1f1)],'changeset':_0x12f589,'memberID':this['session']['getMemberID']()}};this[_0x27c32d(0x3b4)][_0x27c32d(0x470)](_0x47b0fd,this[_0x27c32d(0x524)]);},'onMissingChangesets':({from:_0xd88271,to:_0x2bfbe7})=>{var _0xe571d0=_0x59256c;this[_0xe571d0(0x3e3)][_0xe571d0(0x3f9)](_0xe571d0(0x3fd),'fetching\x20missing\x20changesets\x20from\x20'+_0xd88271+_0xe571d0(0x4ee)+_0x2bfbe7);const _0x5527db={'eventID':g[_0xe571d0(0x52d)][_0xe571d0(0x53c)],'data':{'unitID':_0x291d4d,'unitType':this['_type'],'from':_0xd88271,'to':_0x2bfbe7}};this[_0xe571d0(0x3b4)][_0xe571d0(0x470)](_0x5527db,this['unitID']);}};}async[_0x36a862(0x2f3)](_0x4c51f0){var _0xfe2997=_0x36a862,_0x4d1995,_0x3f2817,_0x11564b;const _0x2fc24a=await((_0x4d1995=this[_0xfe2997(0x35f)])==null?void 0x0:_0x4d1995['loadOfflineData'](this[_0xfe2997(0x524)])),_0x33c779=(_0x3f2817=_0x2fc24a==null?void 0x0:_0x2fc24a[_0xfe2997(0x25c)])!=null?_0x3f2817:[],_0x16e17a=(_0x11564b=_0x2fc24a==null?void 0x0:_0x2fc24a[_0xfe2997(0x2bf)])!=null?_0x11564b:null,_0x316cef=!!(_0x16e17a!=null&&_0x16e17a[_0xfe2997(0x27e)])&&!!(_0x16e17a!=null&&_0x16e17a['reqId']);this[_0xfe2997(0x2b3)]=_0x316cef?_0x16e17a[_0xfe2997(0x27e)]:di(),this[_0xfe2997(0x427)]=_0x316cef?_0x16e17a[_0xfe2997(0x49f)]:0x0;const _0x1a9d9f=this[_0xfe2997(0x524)];try{this['_replayCachedMutations'](_0x16e17a,_0x33c779);}catch(_0x95a663){this['_logService'][_0xfe2997(0x3c7)](_0x95a663);}const _0x64fa98=this[_0xfe2997(0x51d)]();if(_0x4c51f0){const _0x35a777=Dt(this[_0xfe2997(0x227)],_0x1a9d9f,this[_0xfe2997(0x1f1)],_0x16e17a,_0x33c779,_0x64fa98);return _0x35a777 instanceof exports[_0xfe2997(0x4b2)]?_0x35a777[_0xfe2997(0x397)]():(_0x35a777 instanceof exports['AwaitingWithPendingState']||_0x35a777 instanceof exports[_0xfe2997(0x51c)])&&_0x35a777['resend'](),_0x35a777;}return this['_injector'][_0xfe2997(0x33f)](exports[_0xfe2997(0x32f)],_0x1a9d9f,this[_0xfe2997(0x1f1)],_0x16e17a,_0x33c779,_0x64fa98);}[_0x36a862(0x2f1)](_0x32f586,_0x55fb46){var _0x487781=_0x36a862,_0x1e8f03,_0xc88f99;const _0x27ff56=this[_0x487781(0x36e)][_0x487781(0x2fb)][_0x487781(0x439)](this[_0x487781(0x36e)][_0x487781(0x2fb)][_0x487781(0x33b)]()[_0x487781(0x2a6)]);(_0x1e8f03=_0x27ff56((_0x32f586==null?void 0x0:_0x32f586[_0x487781(0x25c)])||[],null))==null||_0x1e8f03[_0x487781(0x455)](_0x358b41=>this['_commandService'][_0x487781(0x202)](_0x358b41['id'],_0x358b41['params'])),(_0xc88f99=_0x27ff56(_0x55fb46||[],null))==null||_0xc88f99[_0x487781(0x455)](_0xc7d02=>this[_0x487781(0x464)][_0x487781(0x202)](_0xc7d02['id'],_0xc7d02[_0x487781(0x537)]));}},exports[_0x36a862(0x342)]=We([$(0x3,a['Inject'](a['Injector'])),$(0x4,a['Inject'](g[_0x36a862(0x3ce)])),$(0x5,a[_0x36a862(0x437)](a['LocaleService'])),$(0x6,a[_0x36a862(0x437)](g[_0x36a862(0x290)])),$(0x7,a['Inject'](te)),$(0x8,a[_0x36a862(0x3fb)]),$(0x9,a['ICommandService']),$(0xa,a['IPermissionService']),$(0xb,a['Optional'](ve)),$(0xc,a[_0x36a862(0x39b)](z))],exports[_0x36a862(0x342)]),exports[_0x36a862(0x3ea)]=class extends exports[_0x36a862(0x342)]{constructor(_0xe661b1,_0x6be018,_0x577868,_0x4014df,_0x187866,_0x4a2c95,_0x494750,_0x3e9675,_0x8eb017,_0x42cb02,_0x480e5a,_0xe88bba,_0x19913b){var _0x2999ab=_0x36a862;super(_0xe661b1,_0x577868,_0x6be018,_0x4014df,_0x187866,_0x4a2c95,_0x494750,_0x3e9675,_0x8eb017,_0x42cb02,_0x480e5a,_0xe88bba,_0x19913b),A(this,_0x2999ab(0x29b),null),(this[_0x2999ab(0x524)]=_0xe661b1,this[_0x2999ab(0x2c8)]=_0x6be018);}[_0x36a862(0x504)](_0x18f906){this['_handlerCallback']=_0x18f906;}[_0x36a862(0x343)](){var _0x37d003=_0x36a862;this['_handlerCallback']=null,super[_0x37d003(0x343)]();}[_0x36a862(0x51d)](){var _0x1d3342=_0x36a862;const _0x4c72dc=super[_0x1d3342(0x51d)]();return _0x4c72dc[_0x1d3342(0x374)]=_0x502789=>{var _0x3f3cd3=_0x1d3342,_0x3eefda,_0x53ff98;return(_0x53ff98=(_0x3eefda=this['_handlerCallback'])==null?void 0x0:_0x3eefda[_0x3f3cd3(0x374)])==null?void 0x0:_0x53ff98[_0x3f3cd3(0x496)](_0x3eefda,_0x502789);},_0x4c72dc[_0x1d3342(0x352)]=_0x383699=>{var _0x141bfd=_0x1d3342,_0x3ba2c5,_0x324558;return(_0x324558=(_0x3ba2c5=this['_handlerCallback'])==null?void 0x0:_0x3ba2c5[_0x141bfd(0x352)])==null?void 0x0:_0x324558['call'](_0x3ba2c5,_0x383699);},_0x4c72dc[_0x1d3342(0x55f)]=_0x4dbf93=>{var _0x3945c7=_0x1d3342,_0x4217b7,_0x8e241;return(_0x8e241=(_0x4217b7=this['_handlerCallback'])==null?void 0x0:_0x4217b7[_0x3945c7(0x55f)])==null?void 0x0:_0x8e241[_0x3945c7(0x496)](_0x4217b7,_0x4dbf93);},_0x4c72dc[_0x1d3342(0x222)]=_0x3ca7b6=>{var _0x301884=_0x1d3342,_0x2ddbfd,_0x1c72fb;return(_0x1c72fb=(_0x2ddbfd=this[_0x301884(0x29b)])==null?void 0x0:_0x2ddbfd[_0x301884(0x222)])==null?void 0x0:_0x1c72fb[_0x301884(0x496)](_0x2ddbfd,_0x3ca7b6);},_0x4c72dc['onTransformRemoteChangesetByIMECache']=_0x12e447=>{var _0x20f166=_0x1d3342,_0x375021,_0x34d3c3,_0x53e406;if(!((_0x375021=this[_0x20f166(0x29b)])!=null&&_0x375021[_0x20f166(0x357)]))throw new Error(_0x20f166(0x4df));return(_0x53e406=(_0x34d3c3=this['_handlerCallback'])==null?void 0x0:_0x34d3c3[_0x20f166(0x357)])==null?void 0x0:_0x53e406[_0x20f166(0x496)](_0x34d3c3,_0x12e447);},_0x4c72dc[_0x1d3342(0x215)]=_0xe463ed=>{var _0x12dee9=_0x1d3342,_0xd6d4bb,_0x288079,_0x48e201;if(!((_0xd6d4bb=this[_0x12dee9(0x29b)])!=null&&_0xd6d4bb[_0x12dee9(0x215)]))throw new Error(_0x12dee9(0x26f));return(_0x48e201=(_0x288079=this[_0x12dee9(0x29b)])==null?void 0x0:_0x288079['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x48e201[_0x12dee9(0x496)](_0x288079,_0xe463ed);},_0x4c72dc;}async[_0x36a862(0x4fa)](){var _0x1a0075=_0x36a862;const _0x116c43=await super[_0x1a0075(0x4fa)]();return this[_0x1a0075(0x3af)](this[_0x1a0075(0x464)][_0x1a0075(0x4ec)]((_0x32c17e,_0xa3f06a)=>{var _0xdc6e25=_0x1a0075;if(_0x32c17e[_0xdc6e25(0x2c8)]!==a['CommandType'][_0xdc6e25(0x3f3)]||_0xa3f06a!=null&&_0xa3f06a[_0xdc6e25(0x292)]||_0xa3f06a!=null&&_0xa3f06a['onlyLocal']||_0x32c17e['id']===ut[_0xdc6e25(0x468)]['id'])return;const _0x12efe6=_0x32c17e[_0xdc6e25(0x537)];if((_0x12efe6==null?void 0x0:_0x12efe6[_0xdc6e25(0x3e1)])!==this[_0xdc6e25(0x524)])return;const _0x3b5525=_0x32c17e,_0x5ad2cb=this[_0xdc6e25(0x36e)][_0xdc6e25(0x2fb)]['fetchThroughInterceptors'](this[_0xdc6e25(0x36e)][_0xdc6e25(0x2fb)]['getInterceptPoints']()[_0xdc6e25(0x563)])([_0x3b5525],null)||[_0x3b5525];this['_onLocalMutation'](_0x5ad2cb[0x0]);})),_0x116c43;}},exports['DocCollaborationEntity']=We([$(0x3,a[_0x36a862(0x437)](a[_0x36a862(0x4a7)])),$(0x4,a[_0x36a862(0x437)](g[_0x36a862(0x3ce)])),$(0x5,a[_0x36a862(0x437)](a['LocaleService'])),$(0x6,a[_0x36a862(0x437)](g[_0x36a862(0x290)])),$(0x7,a['Inject'](te)),$(0x8,a[_0x36a862(0x3fb)]),$(0x9,a[_0x36a862(0x340)]),$(0xa,a[_0x36a862(0x359)]),$(0xb,a[_0x36a862(0x39b)](ve)),$(0xc,a[_0x36a862(0x39b)](z))],exports[_0x36a862(0x3ea)]),exports[_0x36a862(0x37a)]=class extends exports[_0x36a862(0x342)]{constructor(_0x1a00a1,_0x2e3cd5,_0x44cd8c,_0x1b22bd,_0x54f45c,_0x3e8ccf,_0x3bf7dd,_0x3bd0bd,_0x3a7b01,_0x38152a,_0x5600a3,_0x28869d,_0x184162,_0x242f71){var _0x2c4338=_0x36a862;super(_0x1a00a1,_0x44cd8c,_0x2e3cd5,_0x1b22bd,_0x54f45c,_0x3e8ccf,_0x3bf7dd,_0x3a7b01,_0x38152a,_0x5600a3,_0x28869d,_0x184162,_0x242f71),this[_0x2c4338(0x524)]=_0x1a00a1,this[_0x2c4338(0x2c8)]=_0x2e3cd5,this[_0x2c4338(0x2a1)]=_0x3bd0bd;}[_0x36a862(0x51d)](){var _0x342545=_0x36a862;const _0x1a5d4e=super['_createHandler']();return _0x1a5d4e[_0x342545(0x55f)]=_0x1417c9=>this[_0x342545(0x2a1)][_0x342545(0x4c2)](_0x1417c9),_0x1a5d4e;}async[_0x36a862(0x4fa)](){var _0x3cbb04=_0x36a862;const _0x5ae5bb=await super['_init']();return this[_0x3cbb04(0x3af)](this[_0x3cbb04(0x464)][_0x3cbb04(0x4ec)]((_0x4a101c,_0x5bd6df)=>{var _0x2022d1=_0x3cbb04;if(_0x4a101c['type']!==a[_0x2022d1(0x3e9)][_0x2022d1(0x3f3)]||_0x5bd6df!=null&&_0x5bd6df[_0x2022d1(0x292)]||_0x5bd6df!=null&&_0x5bd6df[_0x2022d1(0x3e5)])return;const _0x12a5cc=_0x4a101c[_0x2022d1(0x537)];if((_0x12a5cc==null?void 0x0:_0x12a5cc[_0x2022d1(0x3e1)])!==this[_0x2022d1(0x524)])return;const _0x34990b=_0x4a101c,_0x1a5431=this['_compressMutationService'][_0x2022d1(0x2fb)][_0x2022d1(0x439)](this[_0x2022d1(0x36e)][_0x2022d1(0x2fb)][_0x2022d1(0x33b)]()['COMPRESS_MUTATION_SEND'])([_0x34990b],null)||[_0x34990b];this[_0x2022d1(0x25d)](_0x1a5431[0x0]);})),_0x5ae5bb;}},exports[_0x36a862(0x37a)]=We([$(0x3,a[_0x36a862(0x437)](a[_0x36a862(0x4a7)])),$(0x4,a[_0x36a862(0x437)](g[_0x36a862(0x3ce)])),$(0x5,a['Inject'](a[_0x36a862(0x2c0)])),$(0x6,a[_0x36a862(0x437)](g['RevisionService'])),$(0x7,a['Inject'](exports['SheetTransformSelectionsService'])),$(0x8,a[_0x36a862(0x437)](te)),$(0x9,a['ILogService']),$(0xa,a[_0x36a862(0x340)]),$(0xb,a[_0x36a862(0x359)]),$(0xc,a[_0x36a862(0x39b)](ve)),$(0xd,a['Optional'](z))],exports['SheetCollaborationEntity']);var Ti=Object[_0x36a862(0x2dc)],bi=(_0x32122d,_0x9b042d,_0x34ad56,_0x4e856d)=>{var _0x484bd1=_0x36a862;for(var _0x1bf72a=_0x4e856d>0x1?void 0x0:_0x4e856d?Ti(_0x9b042d,_0x34ad56):_0x9b042d,_0x342dce=_0x32122d[_0x484bd1(0x269)]-0x1,_0x580b6e;_0x342dce>=0x0;_0x342dce--)(_0x580b6e=_0x32122d[_0x342dce])&&(_0x1bf72a=_0x580b6e(_0x1bf72a)||_0x1bf72a);return _0x1bf72a;},Pe=(_0x8e2096,_0x3fc81b)=>(_0x3cfc40,_0x4e9922)=>_0x3fc81b(_0x3cfc40,_0x4e9922,_0x8e2096);exports[_0x36a862(0x268)]=class extends a[_0x36a862(0x405)]{constructor(_0x41e9c5,_0x3f6ebe,_0x52c76c){var _0x50b84e=_0x36a862;super(),A(this,'_entities',new Map()),A(this,_0x50b84e(0x487),new j[(_0x50b84e(0x533))]()),A(this,_0x50b84e(0x37e),this['_entityInit$']['asObservable']()),(this[_0x50b84e(0x227)]=_0x41e9c5,this[_0x50b84e(0x26d)]=_0x3f6ebe,this[_0x50b84e(0x50d)]=_0x52c76c,this[_0x50b84e(0x4fa)]());}[_0x36a862(0x343)](){var _0x2b3f9e=_0x36a862;super[_0x2b3f9e(0x343)](),this[_0x2b3f9e(0x2bd)][_0x2b3f9e(0x455)](_0x149561=>_0x149561['dispose']()),this[_0x2b3f9e(0x2bd)]['clear']();}[_0x36a862(0x24b)](_0x413348){var _0x12d545=_0x36a862,_0x1d5944;return(_0x1d5944=this[_0x12d545(0x2bd)][_0x12d545(0x473)](_0x413348))!=null?_0x1d5944:null;}[_0x36a862(0x203)](_0x12d1ff){var _0x37d8df=_0x36a862;const _0x3c4388=this[_0x37d8df(0x24b)](_0x12d1ff);return _0x3c4388?j['of'](_0x3c4388):this[_0x37d8df(0x487)]['pipe'](V[_0x37d8df(0x1f9)](_0xa6c88e=>_0xa6c88e[_0x37d8df(0x524)]===_0x12d1ff));}['readyForCollab'](_0x398314){var _0x11fa11=_0x36a862;return j[_0x11fa11(0x400)](this[_0x11fa11(0x203)](_0x398314)[_0x11fa11(0x327)](V[_0x11fa11(0x482)](()=>{})));}[_0x36a862(0x4fa)](){var _0x105ae4=_0x36a862;this['_univerInstanceService'][_0x105ae4(0x3de)](a[_0x105ae4(0x32b)][_0x105ae4(0x474)])[_0x105ae4(0x327)](j[_0x105ae4(0x2fc)](this[_0x105ae4(0x258)]),V[_0x105ae4(0x254)](0x10))[_0x105ae4(0x23e)](async _0x4c0777=>{var _0x2d61ad=_0x105ae4;const _0x301a3a=_0x4c0777['getUnitId'](),_0x5574f4=await this[_0x2d61ad(0x45e)](_0x301a3a,X['UNIVER_SHEET']);this[_0x2d61ad(0x2bd)][_0x2d61ad(0x34e)](_0x301a3a,_0x5574f4);}),this[_0x105ae4(0x50d)][_0x105ae4(0x3de)](a[_0x105ae4(0x32b)][_0x105ae4(0x338)])[_0x105ae4(0x327)](j[_0x105ae4(0x2fc)](this[_0x105ae4(0x258)]),V[_0x105ae4(0x254)](0x10))[_0x105ae4(0x327)](V[_0x105ae4(0x1f9)](_0x69a1de=>!_0x69a1de['getUnitId']()[_0x105ae4(0x499)]('__')))[_0x105ae4(0x23e)](async _0x23fae5=>{var _0x4c9c93=_0x105ae4;const _0x51edef=_0x23fae5[_0x4c9c93(0x2da)](),_0x2cd6ee=await this[_0x4c9c93(0x45e)](_0x51edef,X[_0x4c9c93(0x338)]);this[_0x4c9c93(0x2bd)][_0x4c9c93(0x34e)](_0x51edef,_0x2cd6ee);}),j['merge'](this[_0x105ae4(0x50d)][_0x105ae4(0x2e2)](a[_0x105ae4(0x32b)][_0x105ae4(0x474)]),this[_0x105ae4(0x50d)]['getTypeOfUnitDisposed$'](a[_0x105ae4(0x32b)][_0x105ae4(0x338)]))['pipe'](j[_0x105ae4(0x2fc)](this[_0x105ae4(0x258)]))[_0x105ae4(0x23e)](_0xa91e1=>{var _0x42703d=_0x105ae4;const _0x37f52b=_0xa91e1['getUnitId'](),_0x2b6c09=this[_0x42703d(0x2bd)][_0x42703d(0x473)](_0x37f52b);_0x2b6c09&&(_0x2b6c09[_0x42703d(0x343)](),this[_0x42703d(0x2bd)]['delete'](_0x37f52b));});}async[_0x36a862(0x45e)](_0x2968b4,_0x1ea691){var _0x5be3f2=_0x36a862;const _0x122cc4=await this[_0x5be3f2(0x26d)][_0x5be3f2(0x4cc)](_0x2968b4),_0x1fe573=this[_0x5be3f2(0x227)][_0x5be3f2(0x33f)](this['_getCtorByUniverType'](_0x1ea691),_0x2968b4,_0x1ea691,_0x122cc4);return await _0x1fe573[_0x5be3f2(0x3e8)](),this[_0x5be3f2(0x487)][_0x5be3f2(0x55c)](_0x1fe573),_0x1fe573;}['_getCtorByUniverType'](_0x73084){var _0x229fe5=_0x36a862;switch(_0x73084){case X[_0x229fe5(0x338)]:return exports[_0x229fe5(0x3ea)];case X[_0x229fe5(0x474)]:return exports[_0x229fe5(0x37a)];default:throw new Error(_0x229fe5(0x52e)+_0x73084);}}},exports[_0x36a862(0x268)]=bi([Pe(0x0,a[_0x36a862(0x437)](a[_0x36a862(0x4a7)])),Pe(0x1,a[_0x36a862(0x437)](exports[_0x36a862(0x241)])),Pe(0x2,a[_0x36a862(0x420)])],exports[_0x36a862(0x268)]);var Ri=Object['getOwnPropertyDescriptor'],Oi=(_0x360a99,_0x537925,_0x2ea66a,_0x3b91f4)=>{var _0x51a244=_0x36a862;for(var _0x3c8017=_0x3b91f4>0x1?void 0x0:_0x3b91f4?Ri(_0x537925,_0x2ea66a):_0x537925,_0x4c9708=_0x360a99[_0x51a244(0x269)]-0x1,_0x497cb7;_0x4c9708>=0x0;_0x4c9708--)(_0x497cb7=_0x360a99[_0x4c9708])&&(_0x3c8017=_0x497cb7(_0x3c8017)||_0x3c8017);return _0x3c8017;},Je=(_0x209deb,_0x1d73df)=>(_0x14e74d,_0x3d4f5f)=>_0x1d73df(_0x14e74d,_0x3d4f5f,_0x209deb);const yi='DEFAULT_FILE_NAME',Ni=_0x36a862(0x53d);let He=class extends a[_0x36a862(0x29a)]{constructor(_0x28db1f,_0x15f00b){var _0x204f54=_0x36a862;super(),this['_univerInstanceService']=_0x28db1f,this[_0x204f54(0x325)]=_0x15f00b,this[_0x204f54(0x4fa)]();}[_0x36a862(0x4fa)](){var _0x4f758a=_0x36a862;this[_0x4f758a(0x3af)](this['_univerInstanceService'][_0x4f758a(0x21f)]['subscribe'](()=>{var _0x4f7644=_0x4f758a,_0x4146ba;const _0x908760=this[_0x4f7644(0x50d)][_0x4f7644(0x4ad)]();let _0x4682a7=(_0x4146ba=this[_0x4f7644(0x325)]['getConfig'](yi))!=null?_0x4146ba:Ni;_0x908760 instanceof a[_0x4f7644(0x333)]&&(_0x4682a7=_0x908760[_0x4f7644(0x2f0)]),document['title']=_0x4682a7;}));}};He=Oi([Je(0x0,a[_0x36a862(0x420)]),Je(0x1,a[_0x36a862(0x4b9)])],He);var Di=Object[_0x36a862(0x2dc)],Ui=(_0x502cd4,_0x1a6973,_0x2ff63b,_0x4ef47d)=>{var _0x137c53=_0x36a862;for(var _0x1af47d=_0x4ef47d>0x1?void 0x0:_0x4ef47d?Di(_0x1a6973,_0x2ff63b):_0x1a6973,_0x52e829=_0x502cd4[_0x137c53(0x269)]-0x1,_0x17d5ad;_0x52e829>=0x0;_0x52e829--)(_0x17d5ad=_0x502cd4[_0x52e829])&&(_0x1af47d=_0x17d5ad(_0x1af47d)||_0x1af47d);return _0x1af47d;},we=(_0x2fa96b,_0x1426a2)=>(_0x2475f6,_0x6679c6)=>_0x1426a2(_0x2475f6,_0x6679c6,_0x2fa96b);let ye=class{constructor(_0x1c28fa,_0x2c8eb1,_0x106099){var _0x380ec7=_0x36a862;this[_0x380ec7(0x325)]=_0x1c28fa,this['_httpService']=_0x2c8eb1,this[_0x380ec7(0x273)]=_0x106099,this[_0x380ec7(0x3e8)]();}['init'](){var _0xf2bedc=_0x36a862;this[_0xf2bedc(0x527)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x15e2d9,_0xeba8aa)=>_0xeba8aa(_0x15e2d9)[_0xf2bedc(0x327)](j[_0xf2bedc(0x50c)](async _0x2e9ff8=>{var _0x51bbcd=_0xf2bedc;const _0x3fb004=_0x2e9ff8;if(_0x3fb004[_0x51bbcd(0x4f8)]===0x191){if(typeof window>'u')throw new Error(_0x51bbcd(0x2d9));if(window['confirm'](this['localeService']['t'](_0x51bbcd(0x1fe)))){const _0x2b44f8=window[_0x51bbcd(0x4d5)](window[_0x51bbcd(0x396)][_0x51bbcd(0x4eb)]);window[_0x51bbcd(0x396)][_0x51bbcd(0x4eb)]=this[_0x51bbcd(0x252)]()+_0x51bbcd(0x364)+_0x2b44f8;}}return _0x3fb004;}))});}['_getLoginPath'](){var _0x5f0358=_0x36a862,_0x17f90f,_0x4a17f4;const _0x17f6d1=this[_0x5f0358(0x325)][_0x5f0358(0x436)](Et),_0x36ece7=this[_0x5f0358(0x325)]['getConfig'](Y);return(_0x4a17f4=(_0x17f90f=_0x36ece7==null?void 0x0:_0x36ece7['loginUrlKey'])!=null?_0x17f90f:_0x17f6d1)!=null?_0x4a17f4:Yt;}};ye=Ui([we(0x0,a[_0x36a862(0x4b9)]),we(0x1,a[_0x36a862(0x437)](q[_0x36a862(0x566)])),we(0x2,a[_0x36a862(0x437)](a[_0x36a862(0x2c0)]))],ye);var Ai=Object['getOwnPropertyDescriptor'],Pi=(_0x295d97,_0x116826,_0xd4aade,_0x161313)=>{var _0x3b9156=_0x36a862;for(var _0x2db374=_0x161313>0x1?void 0x0:_0x161313?Ai(_0x116826,_0xd4aade):_0x116826,_0x14ab1e=_0x295d97[_0x3b9156(0x269)]-0x1,_0x45ea61;_0x14ab1e>=0x0;_0x14ab1e--)(_0x45ea61=_0x295d97[_0x14ab1e])&&(_0x2db374=_0x45ea61(_0x2db374)||_0x2db374);return _0x2db374;},Xe=(_0xd83d23,_0x5c97e2)=>(_0x1294ee,_0x159308)=>_0x5c97e2(_0x1294ee,_0x159308,_0xd83d23);const Ge='AUTHZ_URL_KEY',wi=_0x36a862(0x246);exports['AuthzIoHttpService']=class extends a['Disposable']{constructor(_0x4115e9,_0x436cba){var _0x4cdaf3=_0x36a862;super(),this[_0x4cdaf3(0x375)]=_0x4115e9,this[_0x4cdaf3(0x325)]=_0x436cba,this[_0x4cdaf3(0x237)]();}[_0x36a862(0x237)](){var _0x184d98=_0x36a862;const _0x5af29e=this;this['disposeWithMe'](this[_0x184d98(0x375)][_0x184d98(0x28a)]({'priority':0x3e7,'interceptor':q[_0x184d98(0x42f)]({'isMatch'(_0x4ecfe2){var _0x50edb4=_0x184d98,_0x3a32ed;if(_0x4ecfe2['method']==='POST'&&((_0x3a32ed=_0x4ecfe2[_0x50edb4(0x47d)])!=null&&_0x3a32ed['body'])){const {objectID:_0x46ec1a,objectType:_0x474c51}=_0x4ecfe2[_0x50edb4(0x47d)]['body']||{};if(!_0x46ec1a||_0x474c51===void 0x0)return!0x1;const _0x1e0f2f=_0x5af29e[_0x50edb4(0x28f)]()+'/'+_0x474c51+_0x50edb4(0x36b)+_0x46ec1a+_0x50edb4(0x55d);if(_0x4ecfe2[_0x50edb4(0x4ed)]===_0x1e0f2f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1c954e){var _0x597982=_0x184d98,_0x19106d;return(_0x19106d=_0x1c954e[_0x597982(0x47d)])==null?void 0x0:_0x19106d[_0x597982(0x2de)];},'mergeParamsToRequest'(_0x4c287a,_0x1cb082){var _0xbb2487=_0x184d98;const _0xf8109c=_0x5af29e[_0xbb2487(0x28f)]()+_0xbb2487(0x4a4),_0x548ac2=_0x4c287a['reduce']((_0x3aa216,_0x539d0b)=>{var _0x28a0a4=_0xbb2487;const {unitID:_0x372154,objectID:_0x550534,objectType:_0x111724,actions:_0x1b63a6}=_0x539d0b;return _0x3aa216[_0x372154]||(_0x3aa216[_0x372154]={}),_0x3aa216[_0x372154][_0x550534]||(_0x3aa216[_0x372154][_0x550534]={'objectID':_0x550534,'objectType':_0x111724,'actions':[]}),_0x3aa216[_0x372154][_0x550534][_0x28a0a4(0x386)]['push'](..._0x1b63a6),_0x3aa216;},{}),_0x2eea1e=[];for(const _0x2d4471 in _0x548ac2)for(const _0x4fff23 in _0x548ac2[_0x2d4471]){const {actions:_0x5ec6a4,objectType:_0x376a10}=_0x548ac2[_0x2d4471][_0x4fff23],_0x5c016c=[...new Set(_0x5ec6a4)];_0x2eea1e['push']({'unitID':_0x2d4471,'objectID':_0x4fff23,'objectType':_0x376a10,'actions':_0x5c016c});}return new q[(_0xbb2487(0x3ca))]('POST',_0xf8109c,{'headers':_0x1cb082[_0xbb2487(0x2cc)],'withCredentials':_0x1cb082['withCredentials'],'responseType':_0x1cb082[_0xbb2487(0x328)],'body':{'requests':_0x2eea1e}});}},{'distributeResult'(_0x767f6d,_0x167ebb){const {objectActions:_0xfb8351}=_0x767f6d;return _0x167ebb['map'](_0x2e7ad9=>{var _0x3bede8=_0x58e2;const {unitID:_0x24b112,objectID:_0x4f732d,actions:_0x195417}=_0x2e7ad9,_0x152479=_0xfb8351['find'](_0x3fa6ff=>_0x3fa6ff[_0x3bede8(0x524)]===_0x24b112&&_0x3fa6ff['objectID']===_0x4f732d),_0x19c873=_0x195417[_0x3bede8(0x482)](_0x4e85b3=>_0x152479==null?void 0x0:_0x152479[_0x3bede8(0x386)]['find'](_0x1c2075=>_0x1c2075['action']===_0x4e85b3))[_0x3bede8(0x1f9)](_0x4817b3=>!!_0x4817b3);return{'config':_0x2e7ad9,'result':{'actions':_0x19c873,'error':_0x767f6d['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x39889f=_0x36a862,_0x249314,_0x2bfd09;const _0x496ed7=this[_0x39889f(0x325)][_0x39889f(0x436)](Ge),_0xb2703c=this['_configService']['getConfig'](Y);return(_0x2bfd09=(_0x249314=_0xb2703c==null?void 0x0:_0xb2703c['authzUrl'])!=null?_0x249314:_0x496ed7)!=null?_0x2bfd09:wi;}async[_0x36a862(0x4e5)](_0x3a6f3f){var _0x1ba653=_0x36a862;const _0x2f51f3=this[_0x1ba653(0x28f)]()+'/'+_0x3a6f3f[_0x1ba653(0x435)]+'/object';return(await this[_0x1ba653(0x375)][_0x1ba653(0x33e)](_0x2f51f3,{'body':_0x3a6f3f}))[_0x1ba653(0x2de)][_0x1ba653(0x4ba)]||'';}async[_0x36a862(0x3b0)](_0x19d6e8){var _0x27c7e0=_0x36a862;const _0x101362=this[_0x27c7e0(0x28f)]()+'/-/object/list';return(await this['_HTTPService'][_0x27c7e0(0x33e)](_0x101362,{'body':_0x19d6e8}))[_0x27c7e0(0x2de)][_0x27c7e0(0x404)];}async[_0x36a862(0x523)](_0x4287b5){var _0x323635=_0x36a862,_0x377a05,_0x295c8e;const _0x30dcd0=this[_0x323635(0x28f)]()+'/'+_0x4287b5[_0x323635(0x435)]+_0x323635(0x36b)+_0x4287b5['objectID'],_0x57915a=await this[_0x323635(0x375)]['put'](_0x30dcd0,{'body':_0x4287b5});if(((_0x295c8e=(_0x377a05=_0x57915a==null?void 0x0:_0x57915a[_0x323635(0x2de)])==null?void 0x0:_0x377a05['error'])==null?void 0x0:_0x295c8e[_0x323635(0x229)])!==0x1)throw new Error(_0x323635(0x2b8));}async[_0x36a862(0x2e9)](_0x2fb0f8){var _0x25ec60=_0x36a862;const _0x1a6e21=this['_getAPIPrefixPath']()+'/'+_0x2fb0f8['objectType']+'/object/'+_0x2fb0f8[_0x25ec60(0x4ba)]+_0x25ec60(0x55d);return(await this['_HTTPService'][_0x25ec60(0x33e)](_0x1a6e21,{'body':_0x2fb0f8}))[_0x25ec60(0x2de)][_0x25ec60(0x386)];}async[_0x36a862(0x51f)](_0x2ce5da){var _0x3b23e8=_0x36a862;const _0x4bad9e=this[_0x3b23e8(0x28f)]()+_0x3b23e8(0x4a4);return(await this[_0x3b23e8(0x375)]['post'](_0x4bad9e,{'body':{'requests':_0x2ce5da}}))[_0x3b23e8(0x2de)][_0x3b23e8(0x428)];}async[_0x36a862(0x2cb)](_0x33e65d){var _0x1236c4=_0x36a862;const _0x52f792=this[_0x1236c4(0x28f)]()+'/'+_0x33e65d[_0x1236c4(0x435)]+'/role',_0x379f31=await this['_HTTPService']['post'](_0x52f792,{'body':_0x33e65d});return{'roles':_0x379f31['body']['roles'],'actions':_0x379f31[_0x1236c4(0x2de)][_0x1236c4(0x386)]};}async[_0x36a862(0x32e)](_0x1ea1fb){var _0x4dc15e=_0x36a862;const _0x44c59e=this['_getAPIPrefixPath']()+_0x4dc15e(0x425);await this['_HTTPService'][_0x4dc15e(0x50f)](_0x44c59e,{'params':{'collaboratorID':_0x1ea1fb[_0x4dc15e(0x35e)],'objectID':_0x1ea1fb[_0x4dc15e(0x4ba)],'unitID':_0x1ea1fb[_0x4dc15e(0x524)]}});}async[_0x36a862(0x438)](_0x7e2a87){var _0x39dc4e=_0x36a862;const _0x190a77=this['_getAPIPrefixPath']()+_0x39dc4e(0x425);await this[_0x39dc4e(0x375)]['patch'](_0x190a77,{'body':_0x7e2a87});}async[_0x36a862(0x2a4)](_0x1cf6b6){var _0x2a82dc=_0x36a862;const _0x795331=this[_0x2a82dc(0x28f)]()+_0x2a82dc(0x425);await this[_0x2a82dc(0x375)][_0x2a82dc(0x33e)](_0x795331,{'body':_0x1cf6b6});}async[_0x36a862(0x52f)](_0x1eb004){var _0x33b046=_0x36a862;const _0x11036d=this[_0x33b046(0x28f)]()+_0x33b046(0x425);return(await this[_0x33b046(0x375)][_0x33b046(0x473)](_0x11036d,{'params':{'objectID':_0x1eb004[_0x33b046(0x4ba)],'unitID':_0x1eb004[_0x33b046(0x524)]}}))[_0x33b046(0x2de)][_0x33b046(0x479)];}async[_0x36a862(0x54f)](_0x199a0a){var _0x250c50=_0x36a862;const _0x92ce91=this[_0x250c50(0x28f)]()+_0x250c50(0x425);await this['_HTTPService'][_0x250c50(0x283)](_0x92ce91,{'body':_0x199a0a});}},exports[_0x36a862(0x336)]=Pi([Xe(0x0,a['Inject'](q[_0x36a862(0x566)])),Xe(0x1,a[_0x36a862(0x437)](a[_0x36a862(0x4b9)]))],exports[_0x36a862(0x336)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0xb0a3ed){var _0x1918e9=_0x36a862;return _0xb0a3ed&&_0xb0a3ed['__esModule']&&Object[_0x1918e9(0x4dc)][_0x1918e9(0x29c)][_0x1918e9(0x496)](_0xb0a3ed,'default')?_0xb0a3ed['default']:_0xb0a3ed;}var fe={'exports':{}};function Li(_0x10434d){var _0x425f5d=_0x36a862;throw new Error(_0x425f5d(0x4d0)+_0x10434d+_0x425f5d(0x259));}var pe={'exports':{}},Mi=pe[_0x36a862(0x469)],Ze;function ee(){var _0x452634=_0x36a862;return Ze||(Ze=0x1,function(_0x23bbeb,_0x36baff){(function(_0x34d4da,_0x50791e){var _0x47ff83=_0x58e2;_0x23bbeb[_0x47ff83(0x469)]=_0x50791e();}(Mi,function(){var _0x5871bf=_0x5871bf||function(_0x4d5ad6,_0x1af058){var _0x56d2e3=_0x58e2,_0x4c2e9a;if(typeof window<'u'&&window[_0x56d2e3(0x388)]&&(_0x4c2e9a=window[_0x56d2e3(0x388)]),typeof self<'u'&&self['crypto']&&(_0x4c2e9a=self[_0x56d2e3(0x388)]),typeof globalThis<'u'&&globalThis[_0x56d2e3(0x388)]&&(_0x4c2e9a=globalThis[_0x56d2e3(0x388)]),!_0x4c2e9a&&typeof window<'u'&&window[_0x56d2e3(0x4e1)]&&(_0x4c2e9a=window[_0x56d2e3(0x4e1)]),!_0x4c2e9a&&typeof Le<'u'&&Le[_0x56d2e3(0x388)]&&(_0x4c2e9a=Le['crypto']),!_0x4c2e9a&&typeof Li==_0x56d2e3(0x354))try{_0x4c2e9a=require(_0x56d2e3(0x388));}catch{}var _0x21ba39=function(){var _0x566730=_0x56d2e3;if(_0x4c2e9a){if(typeof _0x4c2e9a[_0x566730(0x4f3)]==_0x566730(0x354))try{return _0x4c2e9a[_0x566730(0x4f3)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4c2e9a['randomBytes']==_0x566730(0x354))try{return _0x4c2e9a[_0x566730(0x32d)](0x4)[_0x566730(0x40e)]();}catch{}}throw new Error(_0x566730(0x286));},_0x8ad975=Object[_0x56d2e3(0x4e5)]||(function(){function _0x3ea8d9(){}return function(_0x359db7){var _0x1670a6=_0x58e2,_0x4ef438;return _0x3ea8d9[_0x1670a6(0x4dc)]=_0x359db7,_0x4ef438=new _0x3ea8d9(),_0x3ea8d9[_0x1670a6(0x4dc)]=null,_0x4ef438;};}()),_0x2d0a48={},_0x35a77c=_0x2d0a48['lib']={},_0x357c7a=_0x35a77c[_0x56d2e3(0x44e)]=(function(){return{'extend':function(_0x500750){var _0x1e58ba=_0x58e2,_0x3cbb8f=_0x8ad975(this);return _0x500750&&_0x3cbb8f[_0x1e58ba(0x52c)](_0x500750),(!_0x3cbb8f[_0x1e58ba(0x29c)](_0x1e58ba(0x3e8))||this[_0x1e58ba(0x3e8)]===_0x3cbb8f[_0x1e58ba(0x3e8)])&&(_0x3cbb8f[_0x1e58ba(0x3e8)]=function(){var _0x124116=_0x1e58ba;_0x3cbb8f[_0x124116(0x48d)][_0x124116(0x3e8)][_0x124116(0x3a0)](this,arguments);}),_0x3cbb8f['init'][_0x1e58ba(0x4dc)]=_0x3cbb8f,_0x3cbb8f[_0x1e58ba(0x48d)]=this,_0x3cbb8f;},'create':function(){var _0x4ec7cf=_0x58e2,_0x3cafe0=this[_0x4ec7cf(0x33c)]();return _0x3cafe0[_0x4ec7cf(0x3e8)][_0x4ec7cf(0x3a0)](_0x3cafe0,arguments),_0x3cafe0;},'init':function(){},'mixIn':function(_0x32be77){var _0x6b6d1d=_0x58e2;for(var _0x51834e in _0x32be77)_0x32be77[_0x6b6d1d(0x29c)](_0x51834e)&&(this[_0x51834e]=_0x32be77[_0x51834e]);_0x32be77[_0x6b6d1d(0x29c)]('toString')&&(this['toString']=_0x32be77[_0x6b6d1d(0x29d)]);},'clone':function(){var _0x1557e6=_0x58e2;return this['init']['prototype'][_0x1557e6(0x33c)](this);}};}()),_0x2ef991=_0x35a77c[_0x56d2e3(0x4d4)]=_0x357c7a[_0x56d2e3(0x33c)]({'init':function(_0xaea1df,_0x28266c){var _0x147177=_0x56d2e3;_0xaea1df=this[_0x147177(0x32a)]=_0xaea1df||[],_0x28266c!=_0x1af058?this[_0x147177(0x390)]=_0x28266c:this[_0x147177(0x390)]=_0xaea1df['length']*0x4;},'toString':function(_0x512e2b){var _0x1e2c63=_0x56d2e3;return(_0x512e2b||_0x5e9815)[_0x1e2c63(0x25b)](this);},'concat':function(_0x1a2883){var _0x1b2bcf=_0x56d2e3,_0x2f20e5=this['words'],_0x51cb09=_0x1a2883['words'],_0x3c839b=this[_0x1b2bcf(0x390)],_0x490189=_0x1a2883[_0x1b2bcf(0x390)];if(this['clamp'](),_0x3c839b%0x4)for(var _0x2bcdc4=0x0;_0x2bcdc4<_0x490189;_0x2bcdc4++){var _0x5bb054=_0x51cb09[_0x2bcdc4>>>0x2]>>>0x18-_0x2bcdc4%0x4*0x8&0xff;_0x2f20e5[_0x3c839b+_0x2bcdc4>>>0x2]|=_0x5bb054<<0x18-(_0x3c839b+_0x2bcdc4)%0x4*0x8;}else{for(var _0x25b484=0x0;_0x25b484<_0x490189;_0x25b484+=0x4)_0x2f20e5[_0x3c839b+_0x25b484>>>0x2]=_0x51cb09[_0x25b484>>>0x2];}return this[_0x1b2bcf(0x390)]+=_0x490189,this;},'clamp':function(){var _0x57bb4d=_0x56d2e3,_0x10f747=this[_0x57bb4d(0x32a)],_0x58f01d=this[_0x57bb4d(0x390)];_0x10f747[_0x58f01d>>>0x2]&=0xffffffff<<0x20-_0x58f01d%0x4*0x8,_0x10f747[_0x57bb4d(0x269)]=_0x4d5ad6[_0x57bb4d(0x274)](_0x58f01d/0x4);},'clone':function(){var _0x1ddf2e=_0x56d2e3,_0x3b7606=_0x357c7a[_0x1ddf2e(0x2d8)][_0x1ddf2e(0x496)](this);return _0x3b7606[_0x1ddf2e(0x32a)]=this[_0x1ddf2e(0x32a)]['slice'](0x0),_0x3b7606;},'random':function(_0xbc2e3c){var _0x3d30cf=_0x56d2e3;for(var _0x4ad8b9=[],_0x18f2e0=0x0;_0x18f2e0<_0xbc2e3c;_0x18f2e0+=0x4)_0x4ad8b9[_0x3d30cf(0x369)](_0x21ba39());return new _0x2ef991[(_0x3d30cf(0x3e8))](_0x4ad8b9,_0xbc2e3c);}}),_0x2ed680=_0x2d0a48['enc']={},_0x5e9815=_0x2ed680[_0x56d2e3(0x20c)]={'stringify':function(_0x2248bb){var _0x237dbc=_0x56d2e3;for(var _0x417ec6=_0x2248bb['words'],_0x5852c8=_0x2248bb[_0x237dbc(0x390)],_0xfeb483=[],_0x386269=0x0;_0x386269<_0x5852c8;_0x386269++){var _0x31d1a8=_0x417ec6[_0x386269>>>0x2]>>>0x18-_0x386269%0x4*0x8&0xff;_0xfeb483[_0x237dbc(0x369)]((_0x31d1a8>>>0x4)[_0x237dbc(0x29d)](0x10)),_0xfeb483['push']((_0x31d1a8&0xf)['toString'](0x10));}return _0xfeb483[_0x237dbc(0x23f)]('');},'parse':function(_0x239ccc){var _0xa348aa=_0x56d2e3;for(var _0x35275f=_0x239ccc['length'],_0x3c4a38=[],_0xac1a3d=0x0;_0xac1a3d<_0x35275f;_0xac1a3d+=0x2)_0x3c4a38[_0xac1a3d>>>0x3]|=parseInt(_0x239ccc[_0xa348aa(0x30a)](_0xac1a3d,0x2),0x10)<<0x18-_0xac1a3d%0x8*0x4;return new _0x2ef991[(_0xa348aa(0x3e8))](_0x3c4a38,_0x35275f/0x2);}},_0x13ee28=_0x2ed680[_0x56d2e3(0x555)]={'stringify':function(_0x40c0fb){var _0x283aac=_0x56d2e3;for(var _0x423c6c=_0x40c0fb['words'],_0xb8d418=_0x40c0fb[_0x283aac(0x390)],_0x3ed1a0=[],_0x5a38c6=0x0;_0x5a38c6<_0xb8d418;_0x5a38c6++){var _0xe144b5=_0x423c6c[_0x5a38c6>>>0x2]>>>0x18-_0x5a38c6%0x4*0x8&0xff;_0x3ed1a0[_0x283aac(0x369)](String[_0x283aac(0x4b7)](_0xe144b5));}return _0x3ed1a0['join']('');},'parse':function(_0x527b9a){var _0x5209bc=_0x56d2e3;for(var _0x102ec7=_0x527b9a['length'],_0x1d6109=[],_0x15d546=0x0;_0x15d546<_0x102ec7;_0x15d546++)_0x1d6109[_0x15d546>>>0x2]|=(_0x527b9a[_0x5209bc(0x434)](_0x15d546)&0xff)<<0x18-_0x15d546%0x4*0x8;return new _0x2ef991['init'](_0x1d6109,_0x102ec7);}},_0x5bffd5=_0x2ed680[_0x56d2e3(0x41d)]={'stringify':function(_0x577350){var _0x21a94=_0x56d2e3;try{return decodeURIComponent(escape(_0x13ee28[_0x21a94(0x25b)](_0x577350)));}catch{throw new Error(_0x21a94(0x250));}},'parse':function(_0xeb895f){return _0x13ee28['parse'](unescape(encodeURIComponent(_0xeb895f)));}},_0x55f0c7=_0x35a77c[_0x56d2e3(0x55a)]=_0x357c7a[_0x56d2e3(0x33c)]({'reset':function(){var _0xbfcc6f=_0x56d2e3;this['_data']=new _0x2ef991[(_0xbfcc6f(0x3e8))](),this[_0xbfcc6f(0x42e)]=0x0;},'_append':function(_0xc8b9a2){var _0x4be437=_0x56d2e3;typeof _0xc8b9a2==_0x4be437(0x3f4)&&(_0xc8b9a2=_0x5bffd5[_0x4be437(0x3d2)](_0xc8b9a2)),this[_0x4be437(0x36a)][_0x4be437(0x48b)](_0xc8b9a2),this[_0x4be437(0x42e)]+=_0xc8b9a2['sigBytes'];},'_process':function(_0x3595c2){var _0x3c5e9b=_0x56d2e3,_0x2452f0,_0x24f719=this[_0x3c5e9b(0x36a)],_0x17a235=_0x24f719[_0x3c5e9b(0x32a)],_0x28e391=_0x24f719['sigBytes'],_0x3f90d6=this[_0x3c5e9b(0x414)],_0x1d46cf=_0x3f90d6*0x4,_0x212848=_0x28e391/_0x1d46cf;_0x3595c2?_0x212848=_0x4d5ad6[_0x3c5e9b(0x274)](_0x212848):_0x212848=_0x4d5ad6[_0x3c5e9b(0x501)]((_0x212848|0x0)-this[_0x3c5e9b(0x4ef)],0x0);var _0x2d6502=_0x212848*_0x3f90d6,_0x2f805b=_0x4d5ad6[_0x3c5e9b(0x4a8)](_0x2d6502*0x4,_0x28e391);if(_0x2d6502){for(var _0x316fee=0x0;_0x316fee<_0x2d6502;_0x316fee+=_0x3f90d6)this['_doProcessBlock'](_0x17a235,_0x316fee);_0x2452f0=_0x17a235[_0x3c5e9b(0x31e)](0x0,_0x2d6502),_0x24f719[_0x3c5e9b(0x390)]-=_0x2f805b;}return new _0x2ef991[(_0x3c5e9b(0x3e8))](_0x2452f0,_0x2f805b);},'clone':function(){var _0x11ebb8=_0x56d2e3,_0x3fdedd=_0x357c7a['clone'][_0x11ebb8(0x496)](this);return _0x3fdedd[_0x11ebb8(0x36a)]=this[_0x11ebb8(0x36a)][_0x11ebb8(0x2d8)](),_0x3fdedd;},'_minBufferSize':0x0});_0x35a77c[_0x56d2e3(0x4e6)]=_0x55f0c7['extend']({'cfg':_0x357c7a['extend'](),'init':function(_0x231ddc){var _0x1256f3=_0x56d2e3;this[_0x1256f3(0x49e)]=this[_0x1256f3(0x49e)]['extend'](_0x231ddc),this[_0x1256f3(0x410)]();},'reset':function(){var _0x39dfa5=_0x56d2e3;_0x55f0c7[_0x39dfa5(0x410)][_0x39dfa5(0x496)](this),this[_0x39dfa5(0x3f1)]();},'update':function(_0x18a8a9){var _0x5cb447=_0x56d2e3;return this[_0x5cb447(0x255)](_0x18a8a9),this[_0x5cb447(0x309)](),this;},'finalize':function(_0x486bb1){var _0x563d99=_0x56d2e3;_0x486bb1&&this[_0x563d99(0x255)](_0x486bb1);var _0x6767ea=this[_0x563d99(0x432)]();return _0x6767ea;},'blockSize':0x10,'_createHelper':function(_0x525193){return function(_0x1b879e,_0x24cc5f){var _0x124cd0=_0x58e2;return new _0x525193['init'](_0x24cc5f)[_0x124cd0(0x532)](_0x1b879e);};},'_createHmacHelper':function(_0x2b56aa){return function(_0x5422b7,_0x2f43e8){var _0x4e8512=_0x58e2;return new _0x2e7a40['HMAC'][(_0x4e8512(0x3e8))](_0x2b56aa,_0x2f43e8)[_0x4e8512(0x532)](_0x5422b7);};}});var _0x2e7a40=_0x2d0a48[_0x56d2e3(0x44d)]={};return _0x2d0a48;}(Math);return _0x5871bf;}));}(pe)),pe[_0x452634(0x469)];}var ge={'exports':{}},xi=ge['exports'],Qe;function Ut(){var _0x381894=_0x36a862;return Qe||(Qe=0x1,function(_0x27ff09,_0x628277){(function(_0x48453f,_0x56a4ea){var _0x1890f5=_0x58e2;_0x27ff09[_0x1890f5(0x469)]=_0x56a4ea(ee());}(xi,function(_0x466d64){var _0x190954=_0x58e2;return(function(){var _0x5108e5=_0x58e2,_0x127f6c=_0x466d64,_0x417727=_0x127f6c[_0x5108e5(0x2fe)],_0x4d463c=_0x417727[_0x5108e5(0x4d4)],_0x346d61=_0x127f6c[_0x5108e5(0x48e)];_0x346d61['Base64']={'stringify':function(_0x282985){var _0x182d9e=_0x5108e5,_0x56e5af=_0x282985[_0x182d9e(0x32a)],_0xeda61b=_0x282985['sigBytes'],_0x5c97d3=this[_0x182d9e(0x2c3)];_0x282985['clamp']();for(var _0x28288c=[],_0x83599e=0x0;_0x83599e<_0xeda61b;_0x83599e+=0x3)for(var _0xac4ec1=_0x56e5af[_0x83599e>>>0x2]>>>0x18-_0x83599e%0x4*0x8&0xff,_0x475173=_0x56e5af[_0x83599e+0x1>>>0x2]>>>0x18-(_0x83599e+0x1)%0x4*0x8&0xff,_0x20a4dd=_0x56e5af[_0x83599e+0x2>>>0x2]>>>0x18-(_0x83599e+0x2)%0x4*0x8&0xff,_0x57e343=_0xac4ec1<<0x10|_0x475173<<0x8|_0x20a4dd,_0x47b2cc=0x0;_0x47b2cc<0x4&&_0x83599e+_0x47b2cc*0.75<_0xeda61b;_0x47b2cc++)_0x28288c[_0x182d9e(0x369)](_0x5c97d3[_0x182d9e(0x344)](_0x57e343>>>0x6*(0x3-_0x47b2cc)&0x3f));var _0x22f391=_0x5c97d3['charAt'](0x40);if(_0x22f391){for(;_0x28288c[_0x182d9e(0x269)]%0x4;)_0x28288c[_0x182d9e(0x369)](_0x22f391);}return _0x28288c[_0x182d9e(0x23f)]('');},'parse':function(_0x8755d7){var _0x443d4a=_0x5108e5,_0x9f9e81=_0x8755d7[_0x443d4a(0x269)],_0xd971bd=this['_map'],_0x50ec8f=this[_0x443d4a(0x2ab)];if(!_0x50ec8f){_0x50ec8f=this[_0x443d4a(0x2ab)]=[];for(var _0x3c9d27=0x0;_0x3c9d27<_0xd971bd[_0x443d4a(0x269)];_0x3c9d27++)_0x50ec8f[_0xd971bd[_0x443d4a(0x434)](_0x3c9d27)]=_0x3c9d27;}var _0x5e1cf6=_0xd971bd[_0x443d4a(0x344)](0x40);if(_0x5e1cf6){var _0x4573b3=_0x8755d7[_0x443d4a(0x43b)](_0x5e1cf6);_0x4573b3!==-0x1&&(_0x9f9e81=_0x4573b3);}return _0x652ebe(_0x8755d7,_0x9f9e81,_0x50ec8f);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x652ebe(_0x524d0d,_0x457553,_0x5e37be){var _0x32e750=_0x5108e5;for(var _0xfbee36=[],_0x4c4364=0x0,_0x566a83=0x0;_0x566a83<_0x457553;_0x566a83++)if(_0x566a83%0x4){var _0x4fdd68=_0x5e37be[_0x524d0d[_0x32e750(0x434)](_0x566a83-0x1)]<<_0x566a83%0x4*0x2,_0x10e309=_0x5e37be[_0x524d0d['charCodeAt'](_0x566a83)]>>>0x6-_0x566a83%0x4*0x2,_0x2ea1ed=_0x4fdd68|_0x10e309;_0xfbee36[_0x4c4364>>>0x2]|=_0x2ea1ed<<0x18-_0x4c4364%0x4*0x8,_0x4c4364++;}return _0x4d463c[_0x32e750(0x4e5)](_0xfbee36,_0x4c4364);}}()),_0x466d64['enc'][_0x190954(0x430)];}));}(ge)),ge[_0x381894(0x469)];}var Ie={'exports':{}},ki=Ie[_0x36a862(0x469)],et;function Hi(){var _0x3761cf=_0x36a862;return et||(et=0x1,function(_0x37eabb,_0x5b1cd9){(function(_0x168692,_0x535b2d){var _0x37c089=_0x58e2;_0x37eabb[_0x37c089(0x469)]=_0x535b2d(ee());}(ki,function(_0x242f2f){return function(_0x177e13){var _0x175375=_0x58e2,_0x2c3abd=_0x242f2f,_0x47e33f=_0x2c3abd[_0x175375(0x2fe)],_0x238cc8=_0x47e33f['WordArray'],_0x5056d9=_0x47e33f[_0x175375(0x4e6)],_0x202b3b=_0x2c3abd[_0x175375(0x44d)],_0x34ab6d=[];(function(){var _0x417847=_0x175375;for(var _0x2dff57=0x0;_0x2dff57<0x40;_0x2dff57++)_0x34ab6d[_0x2dff57]=_0x177e13[_0x417847(0x310)](_0x177e13[_0x417847(0x3ec)](_0x2dff57+0x1))*0x100000000|0x0;}());var _0x2ea16d=_0x202b3b[_0x175375(0x383)]=_0x5056d9[_0x175375(0x33c)]({'_doReset':function(){var _0x36e306=_0x175375;this[_0x36e306(0x1ee)]=new _0x238cc8[(_0x36e306(0x3e8))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2331f8,_0x1b2c88){var _0x465a39=_0x175375;for(var _0x1b90d5=0x0;_0x1b90d5<0x10;_0x1b90d5++){var _0x5b5ae5=_0x1b2c88+_0x1b90d5,_0x59b51a=_0x2331f8[_0x5b5ae5];_0x2331f8[_0x5b5ae5]=(_0x59b51a<<0x8|_0x59b51a>>>0x18)&0xff00ff|(_0x59b51a<<0x18|_0x59b51a>>>0x8)&0xff00ff00;}var _0xada7de=this[_0x465a39(0x1ee)]['words'],_0x5555b3=_0x2331f8[_0x1b2c88+0x0],_0x5def03=_0x2331f8[_0x1b2c88+0x1],_0x2c84a1=_0x2331f8[_0x1b2c88+0x2],_0x132ebf=_0x2331f8[_0x1b2c88+0x3],_0x55ca99=_0x2331f8[_0x1b2c88+0x4],_0x27bb55=_0x2331f8[_0x1b2c88+0x5],_0x282357=_0x2331f8[_0x1b2c88+0x6],_0x20132d=_0x2331f8[_0x1b2c88+0x7],_0x2c548e=_0x2331f8[_0x1b2c88+0x8],_0x3b408a=_0x2331f8[_0x1b2c88+0x9],_0x207b43=_0x2331f8[_0x1b2c88+0xa],_0x19204e=_0x2331f8[_0x1b2c88+0xb],_0x598297=_0x2331f8[_0x1b2c88+0xc],_0x58eeea=_0x2331f8[_0x1b2c88+0xd],_0x29d73e=_0x2331f8[_0x1b2c88+0xe],_0x62d100=_0x2331f8[_0x1b2c88+0xf],_0x3237cc=_0xada7de[0x0],_0x8b9602=_0xada7de[0x1],_0x2f24fe=_0xada7de[0x2],_0xc4a2ce=_0xada7de[0x3];_0x3237cc=_0x2c2960(_0x3237cc,_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x5555b3,0x7,_0x34ab6d[0x0]),_0xc4a2ce=_0x2c2960(_0xc4a2ce,_0x3237cc,_0x8b9602,_0x2f24fe,_0x5def03,0xc,_0x34ab6d[0x1]),_0x2f24fe=_0x2c2960(_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x8b9602,_0x2c84a1,0x11,_0x34ab6d[0x2]),_0x8b9602=_0x2c2960(_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x132ebf,0x16,_0x34ab6d[0x3]),_0x3237cc=_0x2c2960(_0x3237cc,_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x55ca99,0x7,_0x34ab6d[0x4]),_0xc4a2ce=_0x2c2960(_0xc4a2ce,_0x3237cc,_0x8b9602,_0x2f24fe,_0x27bb55,0xc,_0x34ab6d[0x5]),_0x2f24fe=_0x2c2960(_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x8b9602,_0x282357,0x11,_0x34ab6d[0x6]),_0x8b9602=_0x2c2960(_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x20132d,0x16,_0x34ab6d[0x7]),_0x3237cc=_0x2c2960(_0x3237cc,_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x2c548e,0x7,_0x34ab6d[0x8]),_0xc4a2ce=_0x2c2960(_0xc4a2ce,_0x3237cc,_0x8b9602,_0x2f24fe,_0x3b408a,0xc,_0x34ab6d[0x9]),_0x2f24fe=_0x2c2960(_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x8b9602,_0x207b43,0x11,_0x34ab6d[0xa]),_0x8b9602=_0x2c2960(_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x19204e,0x16,_0x34ab6d[0xb]),_0x3237cc=_0x2c2960(_0x3237cc,_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x598297,0x7,_0x34ab6d[0xc]),_0xc4a2ce=_0x2c2960(_0xc4a2ce,_0x3237cc,_0x8b9602,_0x2f24fe,_0x58eeea,0xc,_0x34ab6d[0xd]),_0x2f24fe=_0x2c2960(_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x8b9602,_0x29d73e,0x11,_0x34ab6d[0xe]),_0x8b9602=_0x2c2960(_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x62d100,0x16,_0x34ab6d[0xf]),_0x3237cc=_0x34d4ea(_0x3237cc,_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x5def03,0x5,_0x34ab6d[0x10]),_0xc4a2ce=_0x34d4ea(_0xc4a2ce,_0x3237cc,_0x8b9602,_0x2f24fe,_0x282357,0x9,_0x34ab6d[0x11]),_0x2f24fe=_0x34d4ea(_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x8b9602,_0x19204e,0xe,_0x34ab6d[0x12]),_0x8b9602=_0x34d4ea(_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x5555b3,0x14,_0x34ab6d[0x13]),_0x3237cc=_0x34d4ea(_0x3237cc,_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x27bb55,0x5,_0x34ab6d[0x14]),_0xc4a2ce=_0x34d4ea(_0xc4a2ce,_0x3237cc,_0x8b9602,_0x2f24fe,_0x207b43,0x9,_0x34ab6d[0x15]),_0x2f24fe=_0x34d4ea(_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x8b9602,_0x62d100,0xe,_0x34ab6d[0x16]),_0x8b9602=_0x34d4ea(_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x55ca99,0x14,_0x34ab6d[0x17]),_0x3237cc=_0x34d4ea(_0x3237cc,_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x3b408a,0x5,_0x34ab6d[0x18]),_0xc4a2ce=_0x34d4ea(_0xc4a2ce,_0x3237cc,_0x8b9602,_0x2f24fe,_0x29d73e,0x9,_0x34ab6d[0x19]),_0x2f24fe=_0x34d4ea(_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x8b9602,_0x132ebf,0xe,_0x34ab6d[0x1a]),_0x8b9602=_0x34d4ea(_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x2c548e,0x14,_0x34ab6d[0x1b]),_0x3237cc=_0x34d4ea(_0x3237cc,_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x58eeea,0x5,_0x34ab6d[0x1c]),_0xc4a2ce=_0x34d4ea(_0xc4a2ce,_0x3237cc,_0x8b9602,_0x2f24fe,_0x2c84a1,0x9,_0x34ab6d[0x1d]),_0x2f24fe=_0x34d4ea(_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x8b9602,_0x20132d,0xe,_0x34ab6d[0x1e]),_0x8b9602=_0x34d4ea(_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x598297,0x14,_0x34ab6d[0x1f]),_0x3237cc=_0x353a39(_0x3237cc,_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x27bb55,0x4,_0x34ab6d[0x20]),_0xc4a2ce=_0x353a39(_0xc4a2ce,_0x3237cc,_0x8b9602,_0x2f24fe,_0x2c548e,0xb,_0x34ab6d[0x21]),_0x2f24fe=_0x353a39(_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x8b9602,_0x19204e,0x10,_0x34ab6d[0x22]),_0x8b9602=_0x353a39(_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x29d73e,0x17,_0x34ab6d[0x23]),_0x3237cc=_0x353a39(_0x3237cc,_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x5def03,0x4,_0x34ab6d[0x24]),_0xc4a2ce=_0x353a39(_0xc4a2ce,_0x3237cc,_0x8b9602,_0x2f24fe,_0x55ca99,0xb,_0x34ab6d[0x25]),_0x2f24fe=_0x353a39(_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x8b9602,_0x20132d,0x10,_0x34ab6d[0x26]),_0x8b9602=_0x353a39(_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x207b43,0x17,_0x34ab6d[0x27]),_0x3237cc=_0x353a39(_0x3237cc,_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x58eeea,0x4,_0x34ab6d[0x28]),_0xc4a2ce=_0x353a39(_0xc4a2ce,_0x3237cc,_0x8b9602,_0x2f24fe,_0x5555b3,0xb,_0x34ab6d[0x29]),_0x2f24fe=_0x353a39(_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x8b9602,_0x132ebf,0x10,_0x34ab6d[0x2a]),_0x8b9602=_0x353a39(_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x282357,0x17,_0x34ab6d[0x2b]),_0x3237cc=_0x353a39(_0x3237cc,_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x3b408a,0x4,_0x34ab6d[0x2c]),_0xc4a2ce=_0x353a39(_0xc4a2ce,_0x3237cc,_0x8b9602,_0x2f24fe,_0x598297,0xb,_0x34ab6d[0x2d]),_0x2f24fe=_0x353a39(_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x8b9602,_0x62d100,0x10,_0x34ab6d[0x2e]),_0x8b9602=_0x353a39(_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x2c84a1,0x17,_0x34ab6d[0x2f]),_0x3237cc=_0x491ea9(_0x3237cc,_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x5555b3,0x6,_0x34ab6d[0x30]),_0xc4a2ce=_0x491ea9(_0xc4a2ce,_0x3237cc,_0x8b9602,_0x2f24fe,_0x20132d,0xa,_0x34ab6d[0x31]),_0x2f24fe=_0x491ea9(_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x8b9602,_0x29d73e,0xf,_0x34ab6d[0x32]),_0x8b9602=_0x491ea9(_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x27bb55,0x15,_0x34ab6d[0x33]),_0x3237cc=_0x491ea9(_0x3237cc,_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x598297,0x6,_0x34ab6d[0x34]),_0xc4a2ce=_0x491ea9(_0xc4a2ce,_0x3237cc,_0x8b9602,_0x2f24fe,_0x132ebf,0xa,_0x34ab6d[0x35]),_0x2f24fe=_0x491ea9(_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x8b9602,_0x207b43,0xf,_0x34ab6d[0x36]),_0x8b9602=_0x491ea9(_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x5def03,0x15,_0x34ab6d[0x37]),_0x3237cc=_0x491ea9(_0x3237cc,_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x2c548e,0x6,_0x34ab6d[0x38]),_0xc4a2ce=_0x491ea9(_0xc4a2ce,_0x3237cc,_0x8b9602,_0x2f24fe,_0x62d100,0xa,_0x34ab6d[0x39]),_0x2f24fe=_0x491ea9(_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x8b9602,_0x282357,0xf,_0x34ab6d[0x3a]),_0x8b9602=_0x491ea9(_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x58eeea,0x15,_0x34ab6d[0x3b]),_0x3237cc=_0x491ea9(_0x3237cc,_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x55ca99,0x6,_0x34ab6d[0x3c]),_0xc4a2ce=_0x491ea9(_0xc4a2ce,_0x3237cc,_0x8b9602,_0x2f24fe,_0x19204e,0xa,_0x34ab6d[0x3d]),_0x2f24fe=_0x491ea9(_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x8b9602,_0x2c84a1,0xf,_0x34ab6d[0x3e]),_0x8b9602=_0x491ea9(_0x8b9602,_0x2f24fe,_0xc4a2ce,_0x3237cc,_0x3b408a,0x15,_0x34ab6d[0x3f]),_0xada7de[0x0]=_0xada7de[0x0]+_0x3237cc|0x0,_0xada7de[0x1]=_0xada7de[0x1]+_0x8b9602|0x0,_0xada7de[0x2]=_0xada7de[0x2]+_0x2f24fe|0x0,_0xada7de[0x3]=_0xada7de[0x3]+_0xc4a2ce|0x0;},'_doFinalize':function(){var _0x395da6=_0x175375,_0x3b22bf=this[_0x395da6(0x36a)],_0x4f6855=_0x3b22bf[_0x395da6(0x32a)],_0x10276b=this[_0x395da6(0x42e)]*0x8,_0x46c491=_0x3b22bf[_0x395da6(0x390)]*0x8;_0x4f6855[_0x46c491>>>0x5]|=0x80<<0x18-_0x46c491%0x20;var _0x3e8dcc=_0x177e13[_0x395da6(0x4bf)](_0x10276b/0x100000000),_0x51dedd=_0x10276b;_0x4f6855[(_0x46c491+0x40>>>0x9<<0x4)+0xf]=(_0x3e8dcc<<0x8|_0x3e8dcc>>>0x18)&0xff00ff|(_0x3e8dcc<<0x18|_0x3e8dcc>>>0x8)&0xff00ff00,_0x4f6855[(_0x46c491+0x40>>>0x9<<0x4)+0xe]=(_0x51dedd<<0x8|_0x51dedd>>>0x18)&0xff00ff|(_0x51dedd<<0x18|_0x51dedd>>>0x8)&0xff00ff00,_0x3b22bf[_0x395da6(0x390)]=(_0x4f6855[_0x395da6(0x269)]+0x1)*0x4,this[_0x395da6(0x309)]();for(var _0x1414f5=this['_hash'],_0x4ef5ef=_0x1414f5[_0x395da6(0x32a)],_0x52ed6b=0x0;_0x52ed6b<0x4;_0x52ed6b++){var _0x85dae5=_0x4ef5ef[_0x52ed6b];_0x4ef5ef[_0x52ed6b]=(_0x85dae5<<0x8|_0x85dae5>>>0x18)&0xff00ff|(_0x85dae5<<0x18|_0x85dae5>>>0x8)&0xff00ff00;}return _0x1414f5;},'clone':function(){var _0x3c0cbc=_0x175375,_0x5af6ff=_0x5056d9['clone']['call'](this);return _0x5af6ff[_0x3c0cbc(0x1ee)]=this[_0x3c0cbc(0x1ee)][_0x3c0cbc(0x2d8)](),_0x5af6ff;}});function _0x2c2960(_0x1f74d8,_0xf250a5,_0x5c8df5,_0x3aed17,_0x458106,_0x5a9c1d,_0x1fc140){var _0x460d0f=_0x1f74d8+(_0xf250a5&_0x5c8df5|~_0xf250a5&_0x3aed17)+_0x458106+_0x1fc140;return(_0x460d0f<<_0x5a9c1d|_0x460d0f>>>0x20-_0x5a9c1d)+_0xf250a5;}function _0x34d4ea(_0x1492c3,_0x3ad216,_0x222c68,_0x10bcc4,_0x435253,_0x2eb682,_0x270d8c){var _0x197cba=_0x1492c3+(_0x3ad216&_0x10bcc4|_0x222c68&~_0x10bcc4)+_0x435253+_0x270d8c;return(_0x197cba<<_0x2eb682|_0x197cba>>>0x20-_0x2eb682)+_0x3ad216;}function _0x353a39(_0x1309f6,_0x56b4bc,_0x42bbe4,_0x219f6e,_0x17b031,_0x4558b9,_0x45724a){var _0x1a7542=_0x1309f6+(_0x56b4bc^_0x42bbe4^_0x219f6e)+_0x17b031+_0x45724a;return(_0x1a7542<<_0x4558b9|_0x1a7542>>>0x20-_0x4558b9)+_0x56b4bc;}function _0x491ea9(_0x29c7a5,_0xe70a0,_0x1906cf,_0x2ce9a5,_0x3a0003,_0x117c7b,_0x51c6cc){var _0x5ecdf4=_0x29c7a5+(_0x1906cf^(_0xe70a0|~_0x2ce9a5))+_0x3a0003+_0x51c6cc;return(_0x5ecdf4<<_0x117c7b|_0x5ecdf4>>>0x20-_0x117c7b)+_0xe70a0;}_0x2c3abd[_0x175375(0x383)]=_0x5056d9[_0x175375(0x208)](_0x2ea16d),_0x2c3abd[_0x175375(0x3a9)]=_0x5056d9[_0x175375(0x3d3)](_0x2ea16d);}(Math),_0x242f2f['MD5'];}));}(Ie)),Ie[_0x3761cf(0x469)];}var me={'exports':{}},Ee={'exports':{}},ji=Ee[_0x36a862(0x469)],tt;function $i(){var _0x22dfb3=_0x36a862;return tt||(tt=0x1,function(_0x30b054,_0x543aaf){(function(_0x5ce6ee,_0x2cd640){_0x30b054['exports']=_0x2cd640(ee());}(ji,function(_0x592120){var _0x350857=_0x58e2;return(function(){var _0x2fa6ce=_0x58e2,_0x43babd=_0x592120,_0x36cc92=_0x43babd[_0x2fa6ce(0x2fe)],_0x3d32b2=_0x36cc92[_0x2fa6ce(0x4d4)],_0xed419a=_0x36cc92[_0x2fa6ce(0x4e6)],_0x3ddcd8=_0x43babd[_0x2fa6ce(0x44d)],_0x318836=[],_0x427e07=_0x3ddcd8[_0x2fa6ce(0x2f6)]=_0xed419a['extend']({'_doReset':function(){var _0x4258f2=_0x2fa6ce;this[_0x4258f2(0x1ee)]=new _0x3d32b2[(_0x4258f2(0x3e8))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5c24c9,_0x4e029){var _0x851270=_0x2fa6ce;for(var _0x4e274e=this[_0x851270(0x1ee)]['words'],_0x1b6ecb=_0x4e274e[0x0],_0x29b83f=_0x4e274e[0x1],_0x475d70=_0x4e274e[0x2],_0x41e56c=_0x4e274e[0x3],_0x114893=_0x4e274e[0x4],_0x11873b=0x0;_0x11873b<0x50;_0x11873b++){if(_0x11873b<0x10)_0x318836[_0x11873b]=_0x5c24c9[_0x4e029+_0x11873b]|0x0;else{var _0x50bf82=_0x318836[_0x11873b-0x3]^_0x318836[_0x11873b-0x8]^_0x318836[_0x11873b-0xe]^_0x318836[_0x11873b-0x10];_0x318836[_0x11873b]=_0x50bf82<<0x1|_0x50bf82>>>0x1f;}var _0x58e7c1=(_0x1b6ecb<<0x5|_0x1b6ecb>>>0x1b)+_0x114893+_0x318836[_0x11873b];_0x11873b<0x14?_0x58e7c1+=(_0x29b83f&_0x475d70|~_0x29b83f&_0x41e56c)+0x5a827999:_0x11873b<0x28?_0x58e7c1+=(_0x29b83f^_0x475d70^_0x41e56c)+0x6ed9eba1:_0x11873b<0x3c?_0x58e7c1+=(_0x29b83f&_0x475d70|_0x29b83f&_0x41e56c|_0x475d70&_0x41e56c)-0x70e44324:_0x58e7c1+=(_0x29b83f^_0x475d70^_0x41e56c)-0x359d3e2a,_0x114893=_0x41e56c,_0x41e56c=_0x475d70,_0x475d70=_0x29b83f<<0x1e|_0x29b83f>>>0x2,_0x29b83f=_0x1b6ecb,_0x1b6ecb=_0x58e7c1;}_0x4e274e[0x0]=_0x4e274e[0x0]+_0x1b6ecb|0x0,_0x4e274e[0x1]=_0x4e274e[0x1]+_0x29b83f|0x0,_0x4e274e[0x2]=_0x4e274e[0x2]+_0x475d70|0x0,_0x4e274e[0x3]=_0x4e274e[0x3]+_0x41e56c|0x0,_0x4e274e[0x4]=_0x4e274e[0x4]+_0x114893|0x0;},'_doFinalize':function(){var _0x23ebce=_0x2fa6ce,_0x351135=this[_0x23ebce(0x36a)],_0x410f83=_0x351135['words'],_0x2ebcfd=this[_0x23ebce(0x42e)]*0x8,_0x234892=_0x351135[_0x23ebce(0x390)]*0x8;return _0x410f83[_0x234892>>>0x5]|=0x80<<0x18-_0x234892%0x20,_0x410f83[(_0x234892+0x40>>>0x9<<0x4)+0xe]=Math[_0x23ebce(0x4bf)](_0x2ebcfd/0x100000000),_0x410f83[(_0x234892+0x40>>>0x9<<0x4)+0xf]=_0x2ebcfd,_0x351135[_0x23ebce(0x390)]=_0x410f83[_0x23ebce(0x269)]*0x4,this[_0x23ebce(0x309)](),this[_0x23ebce(0x1ee)];},'clone':function(){var _0x421190=_0x2fa6ce,_0x22297e=_0xed419a[_0x421190(0x2d8)][_0x421190(0x496)](this);return _0x22297e['_hash']=this[_0x421190(0x1ee)][_0x421190(0x2d8)](),_0x22297e;}});_0x43babd[_0x2fa6ce(0x2f6)]=_0xed419a['_createHelper'](_0x427e07),_0x43babd[_0x2fa6ce(0x234)]=_0xed419a[_0x2fa6ce(0x3d3)](_0x427e07);}()),_0x592120[_0x350857(0x2f6)];}));}(Ee)),Ee[_0x22dfb3(0x469)];}var Ce={'exports':{}},Bi=Ce[_0x36a862(0x469)],it;function Fi(){return it||(it=0x1,function(_0x2c7299,_0x5ed44c){(function(_0x13d7ee,_0x38ba27){var _0xbb258d=_0x58e2;_0x2c7299[_0xbb258d(0x469)]=_0x38ba27(ee());}(Bi,function(_0x57a35a){(function(){var _0x15101f=_0x58e2,_0x489777=_0x57a35a,_0x252351=_0x489777[_0x15101f(0x2fe)],_0x45b976=_0x252351[_0x15101f(0x44e)],_0x8a2d2d=_0x489777['enc'],_0x26cd6b=_0x8a2d2d['Utf8'],_0x383af7=_0x489777[_0x15101f(0x44d)];_0x383af7[_0x15101f(0x4bc)]=_0x45b976[_0x15101f(0x33c)]({'init':function(_0x50b289,_0x591e7c){var _0x4c628a=_0x15101f;_0x50b289=this[_0x4c628a(0x25a)]=new _0x50b289['init'](),typeof _0x591e7c==_0x4c628a(0x3f4)&&(_0x591e7c=_0x26cd6b[_0x4c628a(0x3d2)](_0x591e7c));var _0x459f14=_0x50b289[_0x4c628a(0x414)],_0x342b3b=_0x459f14*0x4;_0x591e7c['sigBytes']>_0x342b3b&&(_0x591e7c=_0x50b289[_0x4c628a(0x532)](_0x591e7c)),_0x591e7c[_0x4c628a(0x266)]();for(var _0x30d487=this['_oKey']=_0x591e7c[_0x4c628a(0x2d8)](),_0x54a5b7=this[_0x4c628a(0x45f)]=_0x591e7c[_0x4c628a(0x2d8)](),_0x44dfab=_0x30d487[_0x4c628a(0x32a)],_0x41c5e1=_0x54a5b7['words'],_0x2cd97b=0x0;_0x2cd97b<_0x459f14;_0x2cd97b++)_0x44dfab[_0x2cd97b]^=0x5c5c5c5c,_0x41c5e1[_0x2cd97b]^=0x36363636;_0x30d487[_0x4c628a(0x390)]=_0x54a5b7[_0x4c628a(0x390)]=_0x342b3b,this[_0x4c628a(0x410)]();},'reset':function(){var _0x313214=_0x15101f,_0x45d4f9=this[_0x313214(0x25a)];_0x45d4f9[_0x313214(0x410)](),_0x45d4f9[_0x313214(0x523)](this[_0x313214(0x45f)]);},'update':function(_0x45a85d){var _0x166996=_0x15101f;return this[_0x166996(0x25a)][_0x166996(0x523)](_0x45a85d),this;},'finalize':function(_0x474b4e){var _0x3b1afc=_0x15101f,_0x355fce=this['_hasher'],_0xd0badf=_0x355fce[_0x3b1afc(0x532)](_0x474b4e);_0x355fce[_0x3b1afc(0x410)]();var _0x517c72=_0x355fce[_0x3b1afc(0x532)](this[_0x3b1afc(0x3c1)]['clone']()['concat'](_0xd0badf));return _0x517c72;}});}());}));}(Ce)),Ce['exports'];}var Vi=me['exports'],nt;function At(){var _0x416e68=_0x36a862;return nt||(nt=0x1,function(_0x432051,_0x5bebb4){(function(_0x270d7f,_0x2923cc,_0x5d156f){var _0x43cc78=_0x58e2;_0x432051[_0x43cc78(0x469)]=_0x2923cc(ee(),$i(),Fi());}(Vi,function(_0x2102bb){var _0x4b0142=_0x58e2;return(function(){var _0x2549ef=_0x58e2,_0xcb477=_0x2102bb,_0x511f2b=_0xcb477[_0x2549ef(0x2fe)],_0x312dfe=_0x511f2b[_0x2549ef(0x44e)],_0x4053a4=_0x511f2b['WordArray'],_0x58af45=_0xcb477['algo'],_0x413c07=_0x58af45['MD5'],_0x550b4e=_0x58af45[_0x2549ef(0x3b9)]=_0x312dfe[_0x2549ef(0x33c)]({'cfg':_0x312dfe['extend']({'keySize':0x80/0x20,'hasher':_0x413c07,'iterations':0x1}),'init':function(_0x2f141b){var _0xf43b4d=_0x2549ef;this['cfg']=this[_0xf43b4d(0x49e)]['extend'](_0x2f141b);},'compute':function(_0x52d57d,_0x37e8d1){var _0x40682d=_0x2549ef;for(var _0x404a97,_0x3d15af=this[_0x40682d(0x49e)],_0x2782c6=_0x3d15af[_0x40682d(0x4fd)][_0x40682d(0x4e5)](),_0x3dca8f=_0x4053a4['create'](),_0x1d1674=_0x3dca8f[_0x40682d(0x32a)],_0x28a4c8=_0x3d15af[_0x40682d(0x2d5)],_0x58f750=_0x3d15af[_0x40682d(0x2c1)];_0x1d1674[_0x40682d(0x269)]<_0x28a4c8;){_0x404a97&&_0x2782c6['update'](_0x404a97),_0x404a97=_0x2782c6['update'](_0x52d57d)[_0x40682d(0x532)](_0x37e8d1),_0x2782c6[_0x40682d(0x410)]();for(var _0x5c224c=0x1;_0x5c224c<_0x58f750;_0x5c224c++)_0x404a97=_0x2782c6[_0x40682d(0x532)](_0x404a97),_0x2782c6[_0x40682d(0x410)]();_0x3dca8f[_0x40682d(0x48b)](_0x404a97);}return _0x3dca8f['sigBytes']=_0x28a4c8*0x4,_0x3dca8f;}});_0xcb477[_0x2549ef(0x3b9)]=function(_0x3e9f48,_0x22b609,_0x40b813){var _0x5a556a=_0x2549ef;return _0x550b4e[_0x5a556a(0x4e5)](_0x40b813)['compute'](_0x3e9f48,_0x22b609);};}()),_0x2102bb[_0x4b0142(0x3b9)];}));}(me)),me[_0x416e68(0x469)];}var Te={'exports':{}},Wi=Te[_0x36a862(0x469)],rt;function Pt(){var _0x52bc86=_0x36a862;return rt||(rt=0x1,function(_0x2e22df,_0x353158){(function(_0x3a45ac,_0x278a99,_0x4bf584){var _0x4e57a7=_0x58e2;_0x2e22df[_0x4e57a7(0x469)]=_0x278a99(ee(),At());}(Wi,function(_0x363a82){var _0x593c28=_0x58e2;_0x363a82[_0x593c28(0x2fe)][_0x593c28(0x2a3)]||function(_0x49d1e3){var _0x55be2b=_0x593c28,_0x51d601=_0x363a82,_0xb446d0=_0x51d601[_0x55be2b(0x2fe)],_0x3c9181=_0xb446d0['Base'],_0x467f08=_0xb446d0['WordArray'],_0x1566ad=_0xb446d0['BufferedBlockAlgorithm'],_0x37ce6c=_0x51d601[_0x55be2b(0x48e)];_0x37ce6c[_0x55be2b(0x41d)];var _0x31d869=_0x37ce6c[_0x55be2b(0x430)],_0xea26ed=_0x51d601['algo'],_0x3ecd28=_0xea26ed[_0x55be2b(0x3b9)],_0x23aa7c=_0xb446d0[_0x55be2b(0x2a3)]=_0x1566ad[_0x55be2b(0x33c)]({'cfg':_0x3c9181[_0x55be2b(0x33c)](),'createEncryptor':function(_0x338c9f,_0x460bd6){var _0xcad975=_0x55be2b;return this[_0xcad975(0x4e5)](this[_0xcad975(0x22e)],_0x338c9f,_0x460bd6);},'createDecryptor':function(_0x2db6ef,_0x3547d2){var _0x14ceec=_0x55be2b;return this[_0x14ceec(0x4e5)](this[_0x14ceec(0x28e)],_0x2db6ef,_0x3547d2);},'init':function(_0x469770,_0x14fb07,_0x4babcc){var _0x425a71=_0x55be2b;this['cfg']=this['cfg'][_0x425a71(0x33c)](_0x4babcc),this[_0x425a71(0x305)]=_0x469770,this[_0x425a71(0x38a)]=_0x14fb07,this[_0x425a71(0x410)]();},'reset':function(){var _0xc0cb67=_0x55be2b;_0x1566ad[_0xc0cb67(0x410)][_0xc0cb67(0x496)](this),this[_0xc0cb67(0x3f1)]();},'process':function(_0x5925e3){return this['_append'](_0x5925e3),this['_process']();},'finalize':function(_0x52000d){var _0x44d94f=_0x55be2b;_0x52000d&&this['_append'](_0x52000d);var _0x550cae=this[_0x44d94f(0x432)]();return _0x550cae;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3f6ba4(_0x5197c0){var _0x507bfd=_0x58e2;return typeof _0x5197c0==_0x507bfd(0x3f4)?_0x2c3c95:_0x21908b;}return function(_0x5923a3){return{'encrypt':function(_0x44dd10,_0x5ee4bb,_0x3e2d62){var _0x55cfb0=_0x58e2;return _0x3f6ba4(_0x5ee4bb)[_0x55cfb0(0x2ed)](_0x5923a3,_0x44dd10,_0x5ee4bb,_0x3e2d62);},'decrypt':function(_0x191eaf,_0x3c7ef3,_0x184843){var _0x28d899=_0x58e2;return _0x3f6ba4(_0x3c7ef3)[_0x28d899(0x320)](_0x5923a3,_0x191eaf,_0x3c7ef3,_0x184843);}};};}())});_0xb446d0[_0x55be2b(0x1f7)]=_0x23aa7c[_0x55be2b(0x33c)]({'_doFinalize':function(){var _0x536bee=_0x55be2b,_0x53787d=this[_0x536bee(0x309)](!0x0);return _0x53787d;},'blockSize':0x1});var _0x357949=_0x51d601[_0x55be2b(0x308)]={},_0x104b33=_0xb446d0[_0x55be2b(0x49d)]=_0x3c9181['extend']({'createEncryptor':function(_0x3e8443,_0x4caae8){var _0xd93237=_0x55be2b;return this[_0xd93237(0x3db)][_0xd93237(0x4e5)](_0x3e8443,_0x4caae8);},'createDecryptor':function(_0x4c960f,_0x2b22df){var _0x97c865=_0x55be2b;return this[_0x97c865(0x2c5)][_0x97c865(0x4e5)](_0x4c960f,_0x2b22df);},'init':function(_0x487d28,_0x3c819d){var _0x10e74e=_0x55be2b;this[_0x10e74e(0x394)]=_0x487d28,this[_0x10e74e(0x350)]=_0x3c819d;}}),_0x4060e3=_0x357949[_0x55be2b(0x398)]=(function(){var _0x1d0df7=_0x55be2b,_0x95f356=_0x104b33[_0x1d0df7(0x33c)]();_0x95f356[_0x1d0df7(0x3db)]=_0x95f356[_0x1d0df7(0x33c)]({'processBlock':function(_0x16d7e0,_0x3243af){var _0x5a4f19=_0x1d0df7,_0x3d19be=this[_0x5a4f19(0x394)],_0x57fe19=_0x3d19be[_0x5a4f19(0x414)];_0x450396['call'](this,_0x16d7e0,_0x3243af,_0x57fe19),_0x3d19be[_0x5a4f19(0x1ef)](_0x16d7e0,_0x3243af),this[_0x5a4f19(0x3eb)]=_0x16d7e0[_0x5a4f19(0x209)](_0x3243af,_0x3243af+_0x57fe19);}}),_0x95f356[_0x1d0df7(0x2c5)]=_0x95f356['extend']({'processBlock':function(_0x3a6794,_0x2b147a){var _0xd5b14c=_0x1d0df7,_0x3bca5d=this[_0xd5b14c(0x394)],_0x3f617d=_0x3bca5d[_0xd5b14c(0x414)],_0x3b7244=_0x3a6794['slice'](_0x2b147a,_0x2b147a+_0x3f617d);_0x3bca5d[_0xd5b14c(0x20a)](_0x3a6794,_0x2b147a),_0x450396[_0xd5b14c(0x496)](this,_0x3a6794,_0x2b147a,_0x3f617d),this[_0xd5b14c(0x3eb)]=_0x3b7244;}});function _0x450396(_0x24aa12,_0x5a0970,_0x52aa7f){var _0x59e58a=_0x1d0df7,_0x1b68a6,_0x565a5d=this[_0x59e58a(0x350)];_0x565a5d?(_0x1b68a6=_0x565a5d,this[_0x59e58a(0x350)]=_0x49d1e3):_0x1b68a6=this[_0x59e58a(0x3eb)];for(var _0x3dfb94=0x0;_0x3dfb94<_0x52aa7f;_0x3dfb94++)_0x24aa12[_0x5a0970+_0x3dfb94]^=_0x1b68a6[_0x3dfb94];}return _0x95f356;}()),_0x32ddd6=_0x51d601[_0x55be2b(0x2dd)]={},_0x59ad24=_0x32ddd6[_0x55be2b(0x207)]={'pad':function(_0x197064,_0x5c4d76){var _0x34d329=_0x55be2b;for(var _0xcba1c3=_0x5c4d76*0x4,_0x11b915=_0xcba1c3-_0x197064['sigBytes']%_0xcba1c3,_0x358ec2=_0x11b915<<0x18|_0x11b915<<0x10|_0x11b915<<0x8|_0x11b915,_0x1027fd=[],_0xeb696e=0x0;_0xeb696e<_0x11b915;_0xeb696e+=0x4)_0x1027fd[_0x34d329(0x369)](_0x358ec2);var _0x23dfeb=_0x467f08[_0x34d329(0x4e5)](_0x1027fd,_0x11b915);_0x197064[_0x34d329(0x48b)](_0x23dfeb);},'unpad':function(_0x5c4fb0){var _0xaf5a0f=_0x55be2b,_0x4240fc=_0x5c4fb0[_0xaf5a0f(0x32a)][_0x5c4fb0['sigBytes']-0x1>>>0x2]&0xff;_0x5c4fb0[_0xaf5a0f(0x390)]-=_0x4240fc;}};_0xb446d0[_0x55be2b(0x3ac)]=_0x23aa7c['extend']({'cfg':_0x23aa7c[_0x55be2b(0x49e)][_0x55be2b(0x33c)]({'mode':_0x4060e3,'padding':_0x59ad24}),'reset':function(){var _0x1f6aa1=_0x55be2b,_0x33253d;_0x23aa7c[_0x1f6aa1(0x410)][_0x1f6aa1(0x496)](this);var _0x32d9e6=this['cfg'],_0xfcb877=_0x32d9e6['iv'],_0x346988=_0x32d9e6['mode'];this[_0x1f6aa1(0x305)]==this['_ENC_XFORM_MODE']?_0x33253d=_0x346988[_0x1f6aa1(0x4e0)]:(_0x33253d=_0x346988[_0x1f6aa1(0x34d)],this[_0x1f6aa1(0x4ef)]=0x1),this[_0x1f6aa1(0x41c)]&&this[_0x1f6aa1(0x41c)]['__creator']==_0x33253d?this[_0x1f6aa1(0x41c)]['init'](this,_0xfcb877&&_0xfcb877[_0x1f6aa1(0x32a)]):(this['_mode']=_0x33253d['call'](_0x346988,this,_0xfcb877&&_0xfcb877[_0x1f6aa1(0x32a)]),this[_0x1f6aa1(0x41c)][_0x1f6aa1(0x481)]=_0x33253d);},'_doProcessBlock':function(_0x5af817,_0x12fd0a){var _0x179435=_0x55be2b;this[_0x179435(0x41c)][_0x179435(0x353)](_0x5af817,_0x12fd0a);},'_doFinalize':function(){var _0x207975=_0x55be2b,_0x5d9a33,_0x389a47=this['cfg'][_0x207975(0x44a)];return this['_xformMode']==this[_0x207975(0x22e)]?(_0x389a47['pad'](this[_0x207975(0x36a)],this['blockSize']),_0x5d9a33=this[_0x207975(0x309)](!0x0)):(_0x5d9a33=this[_0x207975(0x309)](!0x0),_0x389a47[_0x207975(0x2ff)](_0x5d9a33)),_0x5d9a33;},'blockSize':0x80/0x20});var _0x1db0c7=_0xb446d0[_0x55be2b(0x24a)]=_0x3c9181[_0x55be2b(0x33c)]({'init':function(_0x57a1ae){var _0x29732c=_0x55be2b;this[_0x29732c(0x52c)](_0x57a1ae);},'toString':function(_0x2bb32b){var _0x32635d=_0x55be2b;return(_0x2bb32b||this[_0x32635d(0x313)])[_0x32635d(0x25b)](this);}}),_0x3656f0=_0x51d601[_0x55be2b(0x3ba)]={},_0x5906a5=_0x3656f0['OpenSSL']={'stringify':function(_0x469fb4){var _0x5a5def=_0x55be2b,_0x4755d1,_0x758997=_0x469fb4[_0x5a5def(0x429)],_0x2b5cbb=_0x469fb4['salt'];return _0x2b5cbb?_0x4755d1=_0x467f08[_0x5a5def(0x4e5)]([0x53616c74,0x65645f5f])[_0x5a5def(0x48b)](_0x2b5cbb)[_0x5a5def(0x48b)](_0x758997):_0x4755d1=_0x758997,_0x4755d1['toString'](_0x31d869);},'parse':function(_0x11f33a){var _0x5a6b0b=_0x55be2b,_0x5b5b63,_0x2ddcfb=_0x31d869[_0x5a6b0b(0x3d2)](_0x11f33a),_0x1294cc=_0x2ddcfb[_0x5a6b0b(0x32a)];return _0x1294cc[0x0]==0x53616c74&&_0x1294cc[0x1]==0x65645f5f&&(_0x5b5b63=_0x467f08[_0x5a6b0b(0x4e5)](_0x1294cc['slice'](0x2,0x4)),_0x1294cc[_0x5a6b0b(0x31e)](0x0,0x4),_0x2ddcfb['sigBytes']-=0x10),_0x1db0c7[_0x5a6b0b(0x4e5)]({'ciphertext':_0x2ddcfb,'salt':_0x5b5b63});}},_0x21908b=_0xb446d0[_0x55be2b(0x3d5)]=_0x3c9181[_0x55be2b(0x33c)]({'cfg':_0x3c9181['extend']({'format':_0x5906a5}),'encrypt':function(_0x18254c,_0xc8c2a1,_0x3d7817,_0x310f80){var _0x33ce37=_0x55be2b;_0x310f80=this[_0x33ce37(0x49e)][_0x33ce37(0x33c)](_0x310f80);var _0x3da132=_0x18254c[_0x33ce37(0x4e0)](_0x3d7817,_0x310f80),_0x328e7d=_0x3da132[_0x33ce37(0x532)](_0xc8c2a1),_0x5665e0=_0x3da132[_0x33ce37(0x49e)];return _0x1db0c7['create']({'ciphertext':_0x328e7d,'key':_0x3d7817,'iv':_0x5665e0['iv'],'algorithm':_0x18254c,'mode':_0x5665e0[_0x33ce37(0x308)],'padding':_0x5665e0[_0x33ce37(0x44a)],'blockSize':_0x18254c[_0x33ce37(0x414)],'formatter':_0x310f80['format']});},'decrypt':function(_0x1145d6,_0x5c089c,_0x35eb25,_0xb9874){var _0x590743=_0x55be2b;_0xb9874=this[_0x590743(0x49e)]['extend'](_0xb9874),_0x5c089c=this[_0x590743(0x564)](_0x5c089c,_0xb9874[_0x590743(0x3ba)]);var _0x5169a6=_0x1145d6[_0x590743(0x34d)](_0x35eb25,_0xb9874)['finalize'](_0x5c089c[_0x590743(0x429)]);return _0x5169a6;},'_parse':function(_0x2cc2cc,_0x22efc3){var _0x45a547=_0x55be2b;return typeof _0x2cc2cc==_0x45a547(0x3f4)?_0x22efc3[_0x45a547(0x3d2)](_0x2cc2cc,this):_0x2cc2cc;}}),_0x4589fc=_0x51d601[_0x55be2b(0x510)]={},_0x38b7f5=_0x4589fc['OpenSSL']={'execute':function(_0x54f9b0,_0x2f57c6,_0x2b1a31,_0x366602,_0x240421){var _0x104a69=_0x55be2b;if(_0x366602||(_0x366602=_0x467f08[_0x104a69(0x345)](0x40/0x8)),_0x240421)var _0x57f514=_0x3ecd28[_0x104a69(0x4e5)]({'keySize':_0x2f57c6+_0x2b1a31,'hasher':_0x240421})[_0x104a69(0x535)](_0x54f9b0,_0x366602);else var _0x57f514=_0x3ecd28[_0x104a69(0x4e5)]({'keySize':_0x2f57c6+_0x2b1a31})['compute'](_0x54f9b0,_0x366602);var _0x5a5ccc=_0x467f08['create'](_0x57f514[_0x104a69(0x32a)][_0x104a69(0x209)](_0x2f57c6),_0x2b1a31*0x4);return _0x57f514[_0x104a69(0x390)]=_0x2f57c6*0x4,_0x1db0c7[_0x104a69(0x4e5)]({'key':_0x57f514,'iv':_0x5a5ccc,'salt':_0x366602});}},_0x2c3c95=_0xb446d0[_0x55be2b(0x280)]=_0x21908b[_0x55be2b(0x33c)]({'cfg':_0x21908b['cfg'][_0x55be2b(0x33c)]({'kdf':_0x38b7f5}),'encrypt':function(_0x9e91c,_0x2de6e1,_0x55b888,_0x2a3641){var _0x1c0504=_0x55be2b;_0x2a3641=this[_0x1c0504(0x49e)]['extend'](_0x2a3641);var _0x417bac=_0x2a3641['kdf'][_0x1c0504(0x294)](_0x55b888,_0x9e91c['keySize'],_0x9e91c[_0x1c0504(0x514)],_0x2a3641[_0x1c0504(0x1fd)],_0x2a3641[_0x1c0504(0x4fd)]);_0x2a3641['iv']=_0x417bac['iv'];var _0x2bfb3e=_0x21908b[_0x1c0504(0x2ed)][_0x1c0504(0x496)](this,_0x9e91c,_0x2de6e1,_0x417bac['key'],_0x2a3641);return _0x2bfb3e['mixIn'](_0x417bac),_0x2bfb3e;},'decrypt':function(_0x3415c5,_0x484d2a,_0x183eb5,_0x54a261){var _0x1cbd62=_0x55be2b;_0x54a261=this[_0x1cbd62(0x49e)][_0x1cbd62(0x33c)](_0x54a261),_0x484d2a=this[_0x1cbd62(0x564)](_0x484d2a,_0x54a261[_0x1cbd62(0x3ba)]);var _0x3a891a=_0x54a261['kdf'][_0x1cbd62(0x294)](_0x183eb5,_0x3415c5[_0x1cbd62(0x2d5)],_0x3415c5[_0x1cbd62(0x514)],_0x484d2a[_0x1cbd62(0x1fd)],_0x54a261[_0x1cbd62(0x4fd)]);_0x54a261['iv']=_0x3a891a['iv'];var _0x5c64cf=_0x21908b['decrypt'][_0x1cbd62(0x496)](this,_0x3415c5,_0x484d2a,_0x3a891a['key'],_0x54a261);return _0x5c64cf;}});}();}));}(Te)),Te[_0x52bc86(0x469)];}var Gi=fe[_0x36a862(0x469)],st;function Ki(){return st||(st=0x1,function(_0x5979ca,_0x35ae76){(function(_0x543ccc,_0x5ce506,_0xa8cb6d){_0x5979ca['exports']=_0x5ce506(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x163d5a){var _0x2e91c1=_0x58e2;return(function(){var _0x956da1=_0x58e2,_0x20ebde=_0x163d5a,_0x1a74d4=_0x20ebde[_0x956da1(0x2fe)],_0x19f339=_0x1a74d4[_0x956da1(0x3ac)],_0x75f849=_0x20ebde['algo'],_0x4c7f81=[],_0x4445f2=[],_0xa4fab8=[],_0x3a855b=[],_0x14095c=[],_0x7d2d3b=[],_0x21e4d0=[],_0x3a357c=[],_0x1af976=[],_0x5c4944=[];(function(){for(var _0x405d8c=[],_0xfa9889=0x0;_0xfa9889<0x100;_0xfa9889++)_0xfa9889<0x80?_0x405d8c[_0xfa9889]=_0xfa9889<<0x1:_0x405d8c[_0xfa9889]=_0xfa9889<<0x1^0x11b;for(var _0x58c86d=0x0,_0x5d9e1a=0x0,_0xfa9889=0x0;_0xfa9889<0x100;_0xfa9889++){var _0x2fd972=_0x5d9e1a^_0x5d9e1a<<0x1^_0x5d9e1a<<0x2^_0x5d9e1a<<0x3^_0x5d9e1a<<0x4;_0x2fd972=_0x2fd972>>>0x8^_0x2fd972&0xff^0x63,_0x4c7f81[_0x58c86d]=_0x2fd972,_0x4445f2[_0x2fd972]=_0x58c86d;var _0x5aa0bd=_0x405d8c[_0x58c86d],_0x595559=_0x405d8c[_0x5aa0bd],_0x2ae62e=_0x405d8c[_0x595559],_0x411405=_0x405d8c[_0x2fd972]*0x101^_0x2fd972*0x1010100;_0xa4fab8[_0x58c86d]=_0x411405<<0x18|_0x411405>>>0x8,_0x3a855b[_0x58c86d]=_0x411405<<0x10|_0x411405>>>0x10,_0x14095c[_0x58c86d]=_0x411405<<0x8|_0x411405>>>0x18,_0x7d2d3b[_0x58c86d]=_0x411405;var _0x411405=_0x2ae62e*0x1010101^_0x595559*0x10001^_0x5aa0bd*0x101^_0x58c86d*0x1010100;_0x21e4d0[_0x2fd972]=_0x411405<<0x18|_0x411405>>>0x8,_0x3a357c[_0x2fd972]=_0x411405<<0x10|_0x411405>>>0x10,_0x1af976[_0x2fd972]=_0x411405<<0x8|_0x411405>>>0x18,_0x5c4944[_0x2fd972]=_0x411405,_0x58c86d?(_0x58c86d=_0x5aa0bd^_0x405d8c[_0x405d8c[_0x405d8c[_0x2ae62e^_0x5aa0bd]]],_0x5d9e1a^=_0x405d8c[_0x405d8c[_0x5d9e1a]]):_0x58c86d=_0x5d9e1a=0x1;}}());var _0x516fdf=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x158d14=_0x75f849['AES']=_0x19f339['extend']({'_doReset':function(){var _0x3aa150=_0x956da1,_0x470f1a;if(!(this[_0x3aa150(0x287)]&&this[_0x3aa150(0x36f)]===this['_key'])){for(var _0xa4d0d1=this[_0x3aa150(0x36f)]=this['_key'],_0x190f39=_0xa4d0d1[_0x3aa150(0x32a)],_0xcdf2d4=_0xa4d0d1['sigBytes']/0x4,_0x15194b=this[_0x3aa150(0x287)]=_0xcdf2d4+0x6,_0x4b4be1=(_0x15194b+0x1)*0x4,_0x27b3e4=this[_0x3aa150(0x4e9)]=[],_0x1c67ae=0x0;_0x1c67ae<_0x4b4be1;_0x1c67ae++)_0x1c67ae<_0xcdf2d4?_0x27b3e4[_0x1c67ae]=_0x190f39[_0x1c67ae]:(_0x470f1a=_0x27b3e4[_0x1c67ae-0x1],_0x1c67ae%_0xcdf2d4?_0xcdf2d4>0x6&&_0x1c67ae%_0xcdf2d4==0x4&&(_0x470f1a=_0x4c7f81[_0x470f1a>>>0x18]<<0x18|_0x4c7f81[_0x470f1a>>>0x10&0xff]<<0x10|_0x4c7f81[_0x470f1a>>>0x8&0xff]<<0x8|_0x4c7f81[_0x470f1a&0xff]):(_0x470f1a=_0x470f1a<<0x8|_0x470f1a>>>0x18,_0x470f1a=_0x4c7f81[_0x470f1a>>>0x18]<<0x18|_0x4c7f81[_0x470f1a>>>0x10&0xff]<<0x10|_0x4c7f81[_0x470f1a>>>0x8&0xff]<<0x8|_0x4c7f81[_0x470f1a&0xff],_0x470f1a^=_0x516fdf[_0x1c67ae/_0xcdf2d4|0x0]<<0x18),_0x27b3e4[_0x1c67ae]=_0x27b3e4[_0x1c67ae-_0xcdf2d4]^_0x470f1a);for(var _0x48344b=this['_invKeySchedule']=[],_0x407e74=0x0;_0x407e74<_0x4b4be1;_0x407e74++){var _0x1c67ae=_0x4b4be1-_0x407e74;if(_0x407e74%0x4)var _0x470f1a=_0x27b3e4[_0x1c67ae];else var _0x470f1a=_0x27b3e4[_0x1c67ae-0x4];_0x407e74<0x4||_0x1c67ae<=0x4?_0x48344b[_0x407e74]=_0x470f1a:_0x48344b[_0x407e74]=_0x21e4d0[_0x4c7f81[_0x470f1a>>>0x18]]^_0x3a357c[_0x4c7f81[_0x470f1a>>>0x10&0xff]]^_0x1af976[_0x4c7f81[_0x470f1a>>>0x8&0xff]]^_0x5c4944[_0x4c7f81[_0x470f1a&0xff]];}}},'encryptBlock':function(_0x542d0a,_0x3becca){var _0x65b295=_0x956da1;this[_0x65b295(0x366)](_0x542d0a,_0x3becca,this[_0x65b295(0x4e9)],_0xa4fab8,_0x3a855b,_0x14095c,_0x7d2d3b,_0x4c7f81);},'decryptBlock':function(_0x64e674,_0x4279c2){var _0x4029cb=_0x956da1,_0x364dd7=_0x64e674[_0x4279c2+0x1];_0x64e674[_0x4279c2+0x1]=_0x64e674[_0x4279c2+0x3],_0x64e674[_0x4279c2+0x3]=_0x364dd7,this[_0x4029cb(0x366)](_0x64e674,_0x4279c2,this[_0x4029cb(0x384)],_0x21e4d0,_0x3a357c,_0x1af976,_0x5c4944,_0x4445f2);var _0x364dd7=_0x64e674[_0x4279c2+0x1];_0x64e674[_0x4279c2+0x1]=_0x64e674[_0x4279c2+0x3],_0x64e674[_0x4279c2+0x3]=_0x364dd7;},'_doCryptBlock':function(_0x6cfb30,_0x902e94,_0x26d0cd,_0x18d412,_0x1b99a0,_0x404c43,_0x41cad4,_0x2bdb1c){for(var _0x474438=this['_nRounds'],_0x46de16=_0x6cfb30[_0x902e94]^_0x26d0cd[0x0],_0x1c4af8=_0x6cfb30[_0x902e94+0x1]^_0x26d0cd[0x1],_0x415a13=_0x6cfb30[_0x902e94+0x2]^_0x26d0cd[0x2],_0x1c7e28=_0x6cfb30[_0x902e94+0x3]^_0x26d0cd[0x3],_0x3749b0=0x4,_0x9e3220=0x1;_0x9e3220<_0x474438;_0x9e3220++){var _0x92285f=_0x18d412[_0x46de16>>>0x18]^_0x1b99a0[_0x1c4af8>>>0x10&0xff]^_0x404c43[_0x415a13>>>0x8&0xff]^_0x41cad4[_0x1c7e28&0xff]^_0x26d0cd[_0x3749b0++],_0x259e55=_0x18d412[_0x1c4af8>>>0x18]^_0x1b99a0[_0x415a13>>>0x10&0xff]^_0x404c43[_0x1c7e28>>>0x8&0xff]^_0x41cad4[_0x46de16&0xff]^_0x26d0cd[_0x3749b0++],_0x257436=_0x18d412[_0x415a13>>>0x18]^_0x1b99a0[_0x1c7e28>>>0x10&0xff]^_0x404c43[_0x46de16>>>0x8&0xff]^_0x41cad4[_0x1c4af8&0xff]^_0x26d0cd[_0x3749b0++],_0x39f604=_0x18d412[_0x1c7e28>>>0x18]^_0x1b99a0[_0x46de16>>>0x10&0xff]^_0x404c43[_0x1c4af8>>>0x8&0xff]^_0x41cad4[_0x415a13&0xff]^_0x26d0cd[_0x3749b0++];_0x46de16=_0x92285f,_0x1c4af8=_0x259e55,_0x415a13=_0x257436,_0x1c7e28=_0x39f604;}var _0x92285f=(_0x2bdb1c[_0x46de16>>>0x18]<<0x18|_0x2bdb1c[_0x1c4af8>>>0x10&0xff]<<0x10|_0x2bdb1c[_0x415a13>>>0x8&0xff]<<0x8|_0x2bdb1c[_0x1c7e28&0xff])^_0x26d0cd[_0x3749b0++],_0x259e55=(_0x2bdb1c[_0x1c4af8>>>0x18]<<0x18|_0x2bdb1c[_0x415a13>>>0x10&0xff]<<0x10|_0x2bdb1c[_0x1c7e28>>>0x8&0xff]<<0x8|_0x2bdb1c[_0x46de16&0xff])^_0x26d0cd[_0x3749b0++],_0x257436=(_0x2bdb1c[_0x415a13>>>0x18]<<0x18|_0x2bdb1c[_0x1c7e28>>>0x10&0xff]<<0x10|_0x2bdb1c[_0x46de16>>>0x8&0xff]<<0x8|_0x2bdb1c[_0x1c4af8&0xff])^_0x26d0cd[_0x3749b0++],_0x39f604=(_0x2bdb1c[_0x1c7e28>>>0x18]<<0x18|_0x2bdb1c[_0x46de16>>>0x10&0xff]<<0x10|_0x2bdb1c[_0x1c4af8>>>0x8&0xff]<<0x8|_0x2bdb1c[_0x415a13&0xff])^_0x26d0cd[_0x3749b0++];_0x6cfb30[_0x902e94]=_0x92285f,_0x6cfb30[_0x902e94+0x1]=_0x259e55,_0x6cfb30[_0x902e94+0x2]=_0x257436,_0x6cfb30[_0x902e94+0x3]=_0x39f604;},'keySize':0x100/0x20});_0x20ebde['AES']=_0x19f339[_0x956da1(0x208)](_0x158d14);}()),_0x163d5a[_0x2e91c1(0x33a)];}));}(fe)),fe['exports'];}function _0x5a88(){var _0x58c1f5=['override','fromCharCode','780MtpBzJ','IConfigService','objectID','collaboration-client.local-cache-service','HMAC','@univerjs/sheets','range','floor','[OfflineState]:\x20received\x20acknowledgement.','_onFetchMissResult','transformSelections','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','isTransformMutationsWithChangesetFailure','_initCloseConn','UNRECOGNIZED','_lockTransition','_collaborationUIEventService','BehaviorSubject','_networkConditionService','toDisposable','requireSession','_unlockTransition','complete','sheets','Could\x20not\x20dynamically\x20require\x20\x22','_transformUndoredo','_memberService','liveShareOperation','WordArray','encodeURIComponent','SNAPSHOT_SERVER_URL_KEY','unsubscribe','_sendHeartbeatTimer','[CollaborationSessionService]','/universer-api/uniscript','sequenceExecute','prototype','telemetry\x20info\x20is\x20not\x20initialized','INVALID_ARGUMENT','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','createEncryptor','msCrypto','/fetchmissing?from=','_throwTelemetryCollaborationNewChangeset','HELLO','create','Hasher','add','univer-pro.collaboration-client.single-active-unit-service','_keySchedule','COLLAB_WEB_SOCKET_URL','href','onCommandExecuted','url','\x20to\x20','_minBufferSize','_transitionLocked','_onCombEvent','shareReplay','getRandomValues','csRejEvent','LOCAL_CACHE_INTERVAL_KEY','JOIN_ROOM_FAILED','getLatestCsReqIdBySid','status','UNKNOWN_CMD','_init','655618DgOTcz','image/jpeg','hasher','getResourcesRequest','_socket$','_createSocket','max','Undefined','getTime','addHandlerCallback','YUUMI_URL_COL_OUT_OF_RANGE','People','_snapshotServerService','_waitCount','createIdentifier','_getUndoStack','CollaborationStatus','concatMap','_univerInstanceService','_scheduleCompleteTimestamp','delete','kdf','duration','LEAVE','_socketMessageSubscription','ivSize','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','ITransformService','_retryCount','isArray','AwaitingWithPendingState','AWAITING_WITH_PENDING','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','AwaitingState','_createHandler','LIVESHARE_NEW_HOST','batchAllowed','\x20-\x20','LOCAL_CACHE_INTERVAL','asObservable','update','unitID','touchDependencies','avatar','_httpService','/rev/','ThresholdInterceptorFactory','USERS_LEAVE','_instanceService','mixIn','CollaborationEvent','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','listCollaborators','transformChangesets','APPLY_DUPLICATED','finalize','Subject','MentionIoHttpService','compute','_toggleOnline','params','_createInitialState','changesets','commentUpdateEvent','_tryEnsureSocket','FETCH_MISSING','Univer','collaboration_new_changeset','_imageSourceCache','session.room-not-exists','originalMeta','_updateLocalCache','copyFileMeta','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','rev','HEARTBEAT_TIMEOUT_KEY','csAckEvent','from','sessionStatus$','isPermissionRej','SnapshotServerOverHTTPService','_onConflict','x-univer-host','then','putCollaborators','LOGIN_FAILED','save\x20fail\x20reason\x20is\x20','_roomCreated$','sessionStatus','_localeService','Latin1','_snapshotService','onRemoteChangeset','_retryConnectingTimer','c1Prime','BufferedBlockAlgorithm','IContextService','next','/allowed','12GvBlNJ','onTransformSelections','108DsHxSk','equals','snapshot','COMPRESS_MUTATION_SEND','_parse','_clearHeartbeatTimer','HTTPService','append','state$','_rescheduleHeartbeat','_commentUpdate$','CHANGESET_ACK','socket\x20close','WorkbookEditablePermission','failed\x20to\x20apply\x20missed\x20changesets!','YUUMI_NO_CUBOID_FOR_QUESTION','_hash','encryptBlock','_telemetryService','_type','awaiting_with_pending','_emitMembers','CHANGESET_REJ','Module','COMMENT_UPDATE','StreamCipher','[OfflineState]:\x20received\x20rejection.','filter','JSONX','transformUndoRedo','getCurrentRevOfUnit','salt','auth.needGotoLoginAlert','change$','unknown','_config','executeCommand','getCollabEntity$','IImageIoService','setConfig','saveSheetBlock','Pkcs7','_createHelper','slice','decryptBlock','stopTime','Hex','_clearScheduledTask','getSheetBlock','UserManagerService','image/jpg','event$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','[PendingState]:\x20unhandled\x20univer\x20type:\x20','NOT_COLLAB','onTransformRemoteChangesetByStateCache','unit-cache-','socket\x20open.','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_applyRemoteChangeset','_onConnectionFailed','SheetTransformSelectionsService','_onOffline','loadDoc','CONFLICT','focused$','SNAPSHOT_HAS_BEEN_REMOVED','ALREADY_EXISTS','onSyncEditingCollabCursor','reverse','_getAPIPrefix','HEARTBEAT_TIMEOUT','_event$','_injector','NO_OTHER_CLIENTS_EDITING','code','NEW_CHANGESETS','APPLY_NON_SEQUENTIAL_REVISION','parseProtocolChangeset','awaiting','_ENC_XFORM_MODE','_clearTimeoutTimer','_state','_members','ImageSourceType','_getDownloadEndpointURL','HmacSHA1','@univerjs-pro/collaboration','AUTHZ_URL_KEY','_initMergeInterceptor','onStarting','_onRemoteChangeset','origin','updatePermissionObjEvent','ReplaySubject','open$','subscribe','join','7600fXOsqR','CollaborationSessionService','editing\x20status\x20changed\x20to','_getCurrentRevision','createSocket','refreshPermission','/universer-api/authz','online$','status$','transformStack\x20failed!','CipherParams','getCollabEntity','onMissingChangesets','EmptyMutation','EMAIL_HAS_BEEN_BOUND','[PendingState]:\x20received\x20acknowledgement.','Malformed\x20UTF-8\x20data','setCurrentUser','_getLoginPath','pluginName','delay','_append','_eventService','UUID','dispose$','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_hasher','stringify','mutations','_onLocalMutation','CollaborationImageIoService','UniverNetworkPlugin','INVITE_CODE_REQUIRED','[CollaborationSession]','take','getDeserializedSheetBlock','offline','bind','clamp','SetSelectionsOperation','CollaborationController','length','_doCreateSocket','JOIN_ROOM_PERMISSION_DENIED','_substituteUndoStack','_collabSessionService','IDLE','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','values','getUnitOnRev','_syncEditingCollabCursor','localeService','ceil','loadSheet','_showConflictNotification','_updateState','reject','UnitSnapshot','onRemoteRej','LICENSE_MAX_UNITS_EXCEEDED','COLLAB_WEB_SOCKET_URL_KEY','file','sid','buffer','PasswordBasedCipher','UNKNOWN_CODE','_transformSelections','put','resolve','retryConnectingInterval','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_nRounds','ERROR_IMAGE','unitInfo$','registerHTTPInterceptor','_collaborationTimeoutTimer','SOCKET_FAILED_RETRY','SUBMIT_CHANGESET_TIMEOUT','_DEC_XFORM_MODE','_getAPIPrefixPath','RevisionService','setShowComponents','fromCollab','conflict','execute','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','APPLY_PERMISSION_DENIED','_registerDependencies','_getSendChangesetTimeout','_redoStacks','Disposable','_handlerCallback','hasOwnProperty','toString','_onRemoteACK','APPLY_REJECT','CHANGESET_REVISION_CONFILICT','_sheetTransformSelectionsService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Cipher','createCollaborator','loadUnit','COMPRESS_MUTATION_APPLY','subject','INVALID_INVITE_CODE','reconnect','_substituteRedoStack','_reverseMap','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','/universer-api/snapshot','ITelemetryService','PY_RUNTIME_SCRIPT_ERROR','UnitStatus','_removeRoom','localCacheService','_changesetSessionId','_exhaustRemoteChangesetQueue','newCsEvent','session.join-failed','_resendWithTimeout','Failed\x20to\x20update\x20permission\x20point','ISingleActiveUnitService','JOINING','UserProfileImg','univer-pro.collaboration-client-socket-service','_entities','INTERNAL_ERROR','awaitingChangeset','LocaleService','iterations','getGlobalObject','_map','5zDpCrz','Decryptor','SyncedState','[SyncedState]:\x20received\x20acknowledgement.','type','_undoStacks','transformMutationsWithChangeset','listRoles','headers','_collaborationSessionService','UNIVER_COLLABORATION_CLIENT_PLUGIN','UniverCollaborationClientPlugin','_timeoutTimer','commentUpdate$','appendMutation','getImage','onMissedChangesetFetched','keySize','&source=','_socketReady','clone','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','getUnitId','_onJoinRoomEvent','getOwnPropertyDescriptor','pad','body','socketService','_resendTimer','defineProperty','getTypeOfUnitDisposed$','onload','/unit/','ImageUploadStatusType','compose','fetch_missing','saveChangeset','allowed','toggleOffline','_onConnectionOpen','ONLINE','encrypt','HttpExport','subUnitId','name','_replayCachedMutations','@univerjs-pro/license','_createInitialStateImpl','updatePermissionPoint','PERSON','SHA1','Quantity','image/gif','data','onStateChange','interceptor','takeUntil','getSheetId','lib','unpad','getMemberID','toggleOnline','USERS_ENTER','byteLength','740788oGYraM','_xformMode','downloadEndpointUrl','DEFAULT_COLLAB_WEB_SOCKET_URL','mode','_process','substr','LOGIN_URL_KEY','DEFAULT_WS_SESSION_TICKET_URL','every','getAllMembers','UNDEFINED','abs','_handler','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','formatter','MSG_FOR_ERROR','SEND_CHANGESET_TIMEOUT_KEY','_clearRedo','_onRemoteRejected','_userManagerService','capture','_initDependencies','deepClone','src','_sessionStatus$','splice','_getUploadFileURL','decrypt','serializeCombRequest','/universer-api/snapshot/','session.room-cnt-exceeds','baseRev','_configService','_updateStatus','pipe','responseType','generateRandomId','words','UniverInstanceType','@univerjs/core','randomBytes','deleteCollaborator','OfflineState','GLOBAL_ROOMS_CNT_EXCEEDS','BASE64','CLOSE_ROOM','Workbook','INetworkConditionService','SheetPermissionInitController','AuthzIoHttpService','getUnit','UNIVER_DOC','OFFLINE','AES','getInterceptPoints','extend','isTransformMutationsWithChangesetSuccess','post','createInstance','ICommandService','loadOfflineData','CollaborationEntity','dispose','charAt','random','COLLAB_SUBMIT_CHANGESET_URL','APPLY_REVISION_CONFILICT','&assign=','/universer-api/comb','onRemoteRetry','UNIVER_UNKNOWN','_clearRetryConnectingTimer','createDecryptor','set','state','_iv','[CollaborationSessionService]:\x20socket\x20error','onTransformState','processBlock','function','pauseCollaboration','CONNECTOR_DATA_TOO_LARGE','onTransformRemoteChangesetByIMECache','getCurrentUser','IPermissionService','collaMsg','RETRY_CONNECTING_MAX_COUNT','_members$','fetchMiss','collaboratorID','_localCacheService','INVITE_CODE_ALREADY_BOUND','_sender','_transformRemoteChangesetByIMECache','replace','?url=','DataLoaderService','_doCryptBlock','_socket','_singleActiveUnitService','push','_data','/object/','error$','OPTIONAL','_compressMutationService','_keyPriorReset','getSnapshotAPIPath','_sessions','csShouldRetryEvent','[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.','onTransformIME','_HTTPService','onRemoteAck','textEncoder','_state$','_shouldReportTelemetry','SheetCollaborationEntity','onCommentUpdate','updateCursorEvent','encode','entityInit$','_status$','mapDocumentTypeToUniverType','_transformStateCache','mergeOverrideWithDependencies','MD5','_invKeySchedule','MentionType','actions','_initRequestHeader','crypto','snapshotServerUrl','_key','_sendHeartbeat','/universer-api/oidc/authpage','session.room-permission-denied','_clearLocalCache','PSEUDO_FETCH_MISSING_RESULT','sigBytes','_stopTelemetryCollaborationNewChangeset','has','removeMember','_cipher','saveSnapshot','location','_schedule','CBC','setWaitCount','_undoRedoService','Optional','ILocalCacheService','c2Prime','CommentService','_resendTimeout','apply','_transformService','HEARTBEAT','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','textRanges','LIVESHARE_FETCH_OPERATIONS','_executeRemoteChangeset','COLLAB_SUBMIT_CHANGESET_URL_KEY','LIVESHARE_OPERATION','HmacMD5','disableLocalCache','ISnapshotServerService','BlockCipher','closeSession','joinEvent','disposeWithMe','list','incrementRevOfUnit','FetchingMissState','connection\x20error','session','getWorkbookSelections','unitId\x20is\x20not\x20found','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','FETCH_MISS','EvpKDF','format','[FetchMissState]','repeat','ICollaborationSocketService','USER_NOT_INVITED_CODE','_candidateSocket','_startTelemetryCollaborationNewChangeset','_oKey','_fetchMissChangesets','HEARTBEAT_INTERVAL_KEY','_remoteChangesetQueue','CollaborationSession','reduce','error','leaveEvent','LICENSE_EXPORT_SIZE_EXCEEDED','HTTPRequest','json','JOIN','_loadSheet','CompressMutationService','merge','onSendChangeset','1766037atybSQ','parse','_createHmacHelper','isInternalEditorID','SerializableCipher','b64DecodeUnicode','_pendingMutations','YUUMI_UNABLE_LOAD_URL','size','Rectangle','Encryptor','LICENSE_DISTRO_REJECTED','memberID','getTypeOfUnitAdded$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','updateMember','unitId','_transformIMECache','_logService','LIVESHARE_TERMINATE','onlyLocal','_scheduleCollaborationTimeoutTimer','FAIL','init','CommandType','DocCollaborationEntity','_prevBlock','sin','updateOfflineData','SNAPSHOT_URL_KEY','_sendingTimer','_acknowledgedAwaitingChangeset','_doReset','CHANGESET_SHOULD_RETRY','MUTATION','string','ENSURE_SNAPSHOT_EXECUTION','/block/','_roomMembers','1650396vhUJkD','debug','cmd','ILogService','171158BiCVVE','[CollaborationEntity]','CollaborationSocketService','_collaborationPaused','firstValueFrom','WECHAT_HAS_BEEN_BOUND','[CollaborationUndoRedoService]','_tryReconnect','objects','RxDisposable','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','[CollaborationState]:\x20apply\x20error!','MemberService','fetchMissingChangesets','_queuedRemoteChangesets','_commentService','_checkMissing','RECV','readInt32LE','message$','reset','readAsDataURL','catch','UNIVER_SLIDE','blockSize','resend','waitForRoom$','PENDING','routeKey','infoRsp','PERMISSION_DENIED','registerDependencies','_mode','Utf8','_listenToNetworkCondition','OTHER_CLIENTS_EDITING','IUniverInstanceService','toLowerCase','ConflictState','JOIN_ROOM_FULL','SUBMIT_CHANGESET','/collaborator','?size=','_changesetReqId','objectActions','ciphertext','enableAuthServer','_getSignURL','pending','_joinRoom','_nDataBytes','MergeInterceptorFactory','Base64','deserializeToCombResponse','_doFinalize','members$','charCodeAt','objectType','getConfig','Inject','updateCollaborator','fetchThroughInterceptors','SessionStatus','indexOf','_isPermissionRej','CollaborationUIEventService','getMember','YUUMI_ASYNCIO_CANCELLED','_onMessage','userID','MOBILE_HAS_BEEN_BOUND','UPDATE_PERMISSION_OBJ','HttpImport','_incrementRevisionNumber','_submitChangeset','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','YUUMI_SUBSCRIPTION_NOT_FOUND','_getRedoStack','padding','@univerjs/drawing','SYNCED','algo','Base','LocalUndoRedoService','emitEvent','JOIN_ROOM_NOT_EXISTS','_permissionService','COMPLETION_FINISHED','getUnitType','forEach','LIVESHARE_REQUEST_HOST','/resources','LICENSE_IMPORT_SIZE_EXCEEDED','parseChangesetToProtocol','INGEST','_onUserLeave','_unitInfo$','SOCKET_FAILED','_startCollaboration','_iKey','_transformRemoteChangesetByStateCache','includes','close$','UNISCRIPT_RUN','_commandService','OTHER_CLIENT_EDITING','collabWebSocketUrl','_awaitingChangeset','RichTextEditingMutation','exports','_transformStack','_toggleOffline','close','UNAUTHENTICATED','YUUMI_RATE_OVER_LIMIT','rng','send','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','/universer-api/stream/file/upload','get','UNIVER_SHEET','HEARTBEAT_INTERVAL','[PendingState]:\x20received\x20rejection.','_telemetryInfo','_revisionService','collaborators','_replaceFileID','{fileID}','IUndoRedoService','requestParams','INVITE_CODE_HAS_BEEN_UES','[DataLoaderService]','session.room-full','__creator','map','workbook','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','NoPadding','randomUUID','_entityInit$','CollaborativeUndoRedoService','FileId','isTransformChangesetsSuccess','concat','selections','$super','enc','_clearUndo','_onRemoteRetry','UnitEmbedded','target','_initUnitPermissionChange','_socketService','image/bmp','call','signUrlServerUrl','_unitID','startsWith','symbol','revision','m2Prime','BlockCipherMode','cfg','reqId','initWorkbookPermissionChange','_decreaseWaiting','uniscriptRunEvent','ERROR_IMAGE_TYPE','/-/object/-/batch_allowed','_waitForHeartbeatResponse','now','Injector','min','_clearCollaborationTimeoutTimer','PERMISSION_REJ','SHOULD_CLOSE_CONN','Tools','getFocusedUnit','DisposableCollection','eventID','DependentOn','_change$','PendingState','UPDATE_CURSOR','152449xXBSDT','clear'];_0x5a88=function(){return _0x58c1f5;};return _0x5a88();}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x36a862(0x469)],at;function Xi(){var _0x5c0fc9=_0x36a862;return at||(at=0x1,function(_0x47fb1d,_0x326e27){(function(_0x35cc99,_0x494daa){var _0x53b5fa=_0x58e2;_0x47fb1d[_0x53b5fa(0x469)]=_0x494daa(ee());}(Ji,function(_0x57504b){var _0x33513f=_0x58e2;return _0x57504b['enc'][_0x33513f(0x41d)];}));}(be)),be[_0x5c0fc9(0x469)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x36a862(0x469)],ct;function tn(){var _0x38ab3b=_0x36a862;return ct||(ct=0x1,function(_0x5b601d,_0x16d42d){(function(_0x5ae0fe,_0x5208f4){var _0x39c74c=_0x58e2;_0x5b601d[_0x39c74c(0x469)]=_0x5208f4(ee());}(en,function(_0x3ff4f2){var _0x1cd212=_0x58e2;return(function(){var _0x25ae53=_0x58e2;if(typeof ArrayBuffer==_0x25ae53(0x354)){var _0xa59a7=_0x3ff4f2,_0x46ebe4=_0xa59a7[_0x25ae53(0x2fe)],_0x32ea94=_0x46ebe4[_0x25ae53(0x4d4)],_0x3c4176=_0x32ea94[_0x25ae53(0x3e8)],_0x2bffb0=_0x32ea94[_0x25ae53(0x3e8)]=function(_0x2ec6e0){var _0x2b6ad9=_0x25ae53;if(_0x2ec6e0 instanceof ArrayBuffer&&(_0x2ec6e0=new Uint8Array(_0x2ec6e0)),(_0x2ec6e0 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2ec6e0 instanceof Uint8ClampedArray||_0x2ec6e0 instanceof Int16Array||_0x2ec6e0 instanceof Uint16Array||_0x2ec6e0 instanceof Int32Array||_0x2ec6e0 instanceof Uint32Array||_0x2ec6e0 instanceof Float32Array||_0x2ec6e0 instanceof Float64Array)&&(_0x2ec6e0=new Uint8Array(_0x2ec6e0[_0x2b6ad9(0x27f)],_0x2ec6e0['byteOffset'],_0x2ec6e0[_0x2b6ad9(0x303)])),_0x2ec6e0 instanceof Uint8Array){for(var _0x3ffed4=_0x2ec6e0[_0x2b6ad9(0x303)],_0x4c1f4e=[],_0x3dc6d7=0x0;_0x3dc6d7<_0x3ffed4;_0x3dc6d7++)_0x4c1f4e[_0x3dc6d7>>>0x2]|=_0x2ec6e0[_0x3dc6d7]<<0x18-_0x3dc6d7%0x4*0x8;_0x3c4176[_0x2b6ad9(0x496)](this,_0x4c1f4e,_0x3ffed4);}else _0x3c4176[_0x2b6ad9(0x3a0)](this,arguments);};_0x2bffb0[_0x25ae53(0x4dc)]=_0x32ea94;}}()),_0x3ff4f2[_0x1cd212(0x2fe)][_0x1cd212(0x4d4)];}));}(Re)),Re[_0x38ab3b(0x469)];}var nn=tn();const rn=Se(nn);var Oe={'exports':{}},sn=Oe[_0x36a862(0x469)],ht;function on(){var _0x37ad63=_0x36a862;return ht||(ht=0x1,function(_0x3e77c5,_0x35780b){(function(_0x44f105,_0x17152c,_0x419972){var _0x53a44a=_0x58e2;_0x3e77c5[_0x53a44a(0x469)]=_0x17152c(ee(),Pt());}(sn,function(_0x51e9ea){var _0x2fb75a=_0x58e2;return _0x51e9ea[_0x2fb75a(0x2dd)][_0x2fb75a(0x485)]={'pad':function(){},'unpad':function(){}},_0x51e9ea[_0x2fb75a(0x2dd)][_0x2fb75a(0x485)];}));}(Oe)),Oe[_0x37ad63(0x469)];}var an=on();const cn=Se(an);function hn(_0x203bef,_0x1f6a15){var _0x21fc53=_0x36a862;const _0x1bd0eb=_0x1f6a15-_0x203bef['length']%_0x1f6a15,_0x496cf6=String[_0x21fc53(0x4b7)](_0x1bd0eb)[_0x21fc53(0x3bc)](_0x1bd0eb);return _0x203bef+_0x496cf6;}function _n(_0x1d1ce7,_0x38daf3){var _0x553be2=_0x36a862;const _0x48ce24=rn[_0x553be2(0x345)](0x10),_0x248a65=hn(_0x1d1ce7,0x10),_0x482b62=qi[_0x553be2(0x2ed)](Qi[_0x553be2(0x3d2)](_0x248a65),ot[_0x553be2(0x3d2)](_0x38daf3),{'iv':_0x48ce24,'padding':cn});return _0x48ce24[_0x553be2(0x48b)](_0x482b62['ciphertext'])[_0x553be2(0x29d)](ot);}function ln(){var _0x35da9d=_0x36a862;const _0x241f2b=xt[_0x35da9d(0x2c2)]()['__Key__'];if(_0x241f2b){const _0x357ce1={'time':Math['floor'](Date[_0x35da9d(0x4a6)]()/0x3e8),'domain':location['hostname']};return _n(JSON['stringify'](_0x357ce1),_0x241f2b);}}var un=Object[_0x36a862(0x2dc)],dn=(_0x1bdce5,_0x27d237,_0x35c656,_0x5dfabe)=>{var _0x4eb92b=_0x36a862;for(var _0x48818d=_0x5dfabe>0x1?void 0x0:_0x5dfabe?un(_0x27d237,_0x35c656):_0x27d237,_0x3e4e25=_0x1bdce5[_0x4eb92b(0x269)]-0x1,_0x4e3c82;_0x3e4e25>=0x0;_0x3e4e25--)(_0x4e3c82=_0x1bdce5[_0x3e4e25])&&(_0x48818d=_0x4e3c82(_0x48818d)||_0x48818d);return _0x48818d;},vn=(_0x28e069,_0x11ff5a)=>(_0x2559fc,_0x33a1e1)=>_0x11ff5a(_0x2559fc,_0x33a1e1,_0x28e069);let Ne=class{constructor(_0x2ac1c0){var _0x1bdaae=_0x36a862;this[_0x1bdaae(0x527)]=_0x2ac1c0,this[_0x1bdaae(0x387)]();}[_0x36a862(0x387)](){var _0x16cc34=_0x36a862;this[_0x16cc34(0x527)][_0x16cc34(0x28a)]({'interceptor':(_0x25153a,_0x30068e)=>{var _0xcb97b6=_0x16cc34;const _0x471591=_0x25153a[_0xcb97b6(0x2cc)],_0x5af24c=ln();return _0x5af24c&&_0x471591[_0xcb97b6(0x34e)](_0xcb97b6(0x54d),_0x5af24c),_0x30068e(_0x25153a);}});}};Ne=dn([vn(0x0,a[_0x36a862(0x437)](q[_0x36a862(0x566)]))],Ne);var Sn=Object[_0x36a862(0x2dc)],fn=(_0x1be1e8,_0x5f40c0,_0x29e29c,_0xf718ed)=>{var _0x371ebc=_0x36a862;for(var _0x158db9=_0xf718ed>0x1?void 0x0:_0xf718ed?Sn(_0x5f40c0,_0x29e29c):_0x5f40c0,_0x53265b=_0x1be1e8[_0x371ebc(0x269)]-0x1,_0x504127;_0x53265b>=0x0;_0x53265b--)(_0x504127=_0x1be1e8[_0x53265b])&&(_0x158db9=_0x504127(_0x158db9)||_0x158db9);return _0x158db9;},Me=(_0x4d0d8f,_0x6e4d45)=>(_0x15041d,_0x51639c)=>_0x6e4d45(_0x15041d,_0x51639c,_0x4d0d8f);exports['DataLoaderService']=class extends a['RxDisposable']{constructor(_0x5dd2a1,_0x536edd,_0x1f7d01){var _0x3bef40=_0x36a862;super(),A(this,_0x3bef40(0x45c),new j['BehaviorSubject'](null)),A(this,_0x3bef40(0x289),this['_unitInfo$'][_0x3bef40(0x522)]()),(this[_0x3bef40(0x3e3)]=_0x5dd2a1,this[_0x3bef40(0x556)]=_0x536edd,this[_0x3bef40(0x35f)]=_0x1f7d01);}async[_0x36a862(0x2a5)](_0x1eda32,_0x9e0157,_0x4091d4){var _0x4e76d2=_0x36a862;this['_unitInfo$'][_0x4e76d2(0x55c)]({'unitId':_0x1eda32,'type':_0x9e0157,'subUnitId':_0x4091d4});let _0x5d035f=null;switch(_0x9e0157){case X[_0x4e76d2(0x474)]:{_0x5d035f=await this['_loadSheet'](_0x1eda32);break;}case X['UNIVER_DOC']:{_0x5d035f=await this['_loadDoc'](_0x1eda32);break;}default:{this[_0x4e76d2(0x3e3)][_0x4e76d2(0x3c7)]('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x5d035f;}async[_0x36a862(0x3cd)](_0x2d3adf){var _0x11d698=_0x36a862,_0x2c791e;let _0x17e805=0x0;const _0x11332d=await((_0x2c791e=this[_0x11d698(0x35f)])==null?void 0x0:_0x2c791e['loadOfflineData'](_0x2d3adf));return _0x11332d&&(_0x11332d[_0x11d698(0x2bf)]||_0x11332d[_0x11d698(0x25c)]['length']!==0x0)&&(_0x17e805=_0x11332d[_0x11d698(0x545)]),_0x17e805===0x0&&this[_0x11d698(0x3e3)][_0x11d698(0x3f9)](_0x11d698(0x47f),_0x11d698(0x544)),this[_0x11d698(0x556)][_0x11d698(0x275)](_0x2d3adf,_0x17e805);}async['_loadDoc'](_0x21bf2b){var _0x378bfd=_0x36a862,_0x4f8ee2;let _0x528258=0x0;const _0x2e18bb=await((_0x4f8ee2=this[_0x378bfd(0x35f)])==null?void 0x0:_0x4f8ee2[_0x378bfd(0x341)](_0x21bf2b));return _0x2e18bb&&(_0x2e18bb[_0x378bfd(0x2bf)]||_0x2e18bb[_0x378bfd(0x25c)][_0x378bfd(0x269)]!==0x0)&&(_0x528258=_0x2e18bb[_0x378bfd(0x545)]),_0x528258===0x0&&this[_0x378bfd(0x3e3)][_0x378bfd(0x3f9)](_0x378bfd(0x47f),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x378bfd(0x556)][_0x378bfd(0x21d)](_0x21bf2b,_0x528258);}},exports[_0x36a862(0x365)]=fn([Me(0x0,a['ILogService']),Me(0x1,a[_0x36a862(0x437)](g['SnapshotService'])),Me(0x2,a['Optional'](z))],exports[_0x36a862(0x365)]);var pn=Object['getOwnPropertyDescriptor'],gn=(_0x57e29a,_0x1105be,_0x331a02,_0x2962a3)=>{for(var _0x52c98e=_0x2962a3>0x1?void 0x0:_0x2962a3?pn(_0x1105be,_0x331a02):_0x1105be,_0x17d4f5=_0x57e29a['length']-0x1,_0xc725ca;_0x17d4f5>=0x0;_0x17d4f5--)(_0xc725ca=_0x57e29a[_0x17d4f5])&&(_0x52c98e=_0xc725ca(_0x52c98e)||_0x52c98e);return _0x52c98e;},xe=(_0xeb6c1c,_0x310aa4)=>(_0x272b4f,_0x3db350)=>_0x310aa4(_0x272b4f,_0x3db350,_0xeb6c1c);const In=['image/png',_0x36a862(0x4fc),_0x36a862(0x210),_0x36a862(0x2f8),_0x36a862(0x495)],mn=0x5*0x400*0x400,En=_0x36a862(0x515),Cn=_0x36a862(0x472),Tn=_0x36a862(0x218),bn='/universer-api/file/{fileID}/sign-url';exports['CollaborationImageIoService']=class{constructor(_0x4fffa2,_0x59e0e6,_0x49f47d){var _0x2a7872=_0x36a862;A(this,_0x2a7872(0x508),0x0),A(this,_0x2a7872(0x4b1),new j[(_0x2a7872(0x533))]()),A(this,_0x2a7872(0x1ff),this[_0x2a7872(0x4b1)]),A(this,_0x2a7872(0x53f),new Map()),(this['_httpService']=_0x4fffa2,this[_0x2a7872(0x325)]=_0x59e0e6,this['_univerInstanceService']=_0x49f47d);}[_0x36a862(0x399)](_0x48a23d){var _0x3416f2=_0x36a862;this['_waitCount']=_0x48a23d,this[_0x3416f2(0x4b1)]['next'](_0x48a23d);}['getImageSourceCache'](_0x522b2f,_0x536b41){var _0x29f9ff=_0x36a862;if(_0x536b41===J[_0x29f9ff(0x232)][_0x29f9ff(0x331)]){const _0x5097f3=new Image();return _0x5097f3[_0x29f9ff(0x31c)]=_0x522b2f,_0x5097f3;}return this[_0x29f9ff(0x53f)][_0x29f9ff(0x473)](_0x522b2f);}['addImageSourceCache'](_0xd85597,_0x1b33e9,_0x1120dc){var _0x239cc1=_0x36a862;_0x1b33e9===J[_0x239cc1(0x232)][_0x239cc1(0x331)]||_0x1120dc==null||this[_0x239cc1(0x53f)]['set'](_0xd85597,_0x1120dc);}async[_0x36a862(0x2d3)](_0xbb8570){var _0xe63588=_0x36a862;try{const _0x522cc1=this[_0xe63588(0x47a)](this['_getSignURL'](),''+_0xbb8570),_0x2552a7=(await this[_0xe63588(0x527)][_0xe63588(0x473)](_0x522cc1))[_0xe63588(0x2de)];if(_0x2552a7[_0xe63588(0x3c7)]&&_0x2552a7[_0xe63588(0x3c7)]['code']===Ct['OK']){const _0x151ce7=new URL(_0x2552a7[_0xe63588(0x4ed)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0xe63588(0x284)](_0x151ce7);}return Promise[_0xe63588(0x278)](_0x2552a7[_0xe63588(0x3c7)]);}catch(_0xdf4fe2){return Promise['reject'](_0xdf4fe2);}}async['saveImage'](_0x348d9a){var _0x5535be=_0x36a862;let _0x4ee822='';if(!In[_0x5535be(0x461)](_0x348d9a[_0x5535be(0x2c8)]))return this[_0x5535be(0x4a1)](),Promise['reject'](new Error(J[_0x5535be(0x2e5)][_0x5535be(0x4a3)]));if(_0x348d9a[_0x5535be(0x3d9)]>mn)return this[_0x5535be(0x4a1)](),Promise['reject'](new Error(J[_0x5535be(0x2e5)]['ERROR_EXCEED_SIZE']));try{const _0x1ad017=new FormData();_0x1ad017[_0x5535be(0x1e5)](_0x5535be(0x27d),_0x348d9a);const _0x506fe6=this['_univerInstanceService']['getFocusedUnit'](),_0xf245fd=_0x506fe6==null?void 0x0:_0x506fe6['getUnitId']();if(!_0xf245fd)throw new Error(_0x5535be(0x3b6));const _0x37e4bc=this[_0x5535be(0x31f)]()+_0x5535be(0x426)+_0x348d9a[_0x5535be(0x3d9)]['toString']()+_0x5535be(0x2d6)+Tt['UnitEmbedded']+_0x5535be(0x348)+encodeURIComponent(_0xf245fd),_0x47e259=await(await fetch(_0x37e4bc,{'method':'POST','body':_0x1ad017}))[_0x5535be(0x3cb)]();if(typeof _0x47e259[_0x5535be(0x489)]!='string')return this[_0x5535be(0x4a1)](),Promise[_0x5535be(0x278)](new Error(J[_0x5535be(0x2e5)][_0x5535be(0x288)]));_0x4ee822=_0x47e259[_0x5535be(0x489)];}catch{return this[_0x5535be(0x4a1)](),Promise[_0x5535be(0x278)](new Error(J[_0x5535be(0x2e5)][_0x5535be(0x288)]));}return new Promise((_0x4fce64,_0x31dad4)=>{var _0x3f550a=_0x5535be;const _0xde1dde=new FileReader();_0xde1dde[_0x3f550a(0x411)](_0x348d9a),_0xde1dde[_0x3f550a(0x2e3)]=_0x22c07b=>{var _0x2b962c=_0x3f550a,_0x344f41;const _0x312186=(_0x344f41=_0x22c07b[_0x2b962c(0x492)])==null?void 0x0:_0x344f41['result'];if(_0x312186==null){this[_0x2b962c(0x4a1)](),_0x31dad4(new Error(J[_0x2b962c(0x2e5)]['ERROR_IMAGE']));return;}const _0x2bc4d1=a['Tools'][_0x2b962c(0x329)](0x6);_0x4fce64({'imageId':_0x2bc4d1,'imageSourceType':J[_0x2b962c(0x232)][_0x2b962c(0x257)],'source':_0x4ee822,'base64Cache':_0x312186,'status':J[_0x2b962c(0x2e5)]['SUCCUSS']}),this[_0x2b962c(0x4a1)]();};});}[_0x36a862(0x31f)](){var _0xfa4a39=_0x36a862,_0x5d946a,_0x211431;const _0x4fd938=this[_0xfa4a39(0x325)][_0xfa4a39(0x436)](En),_0x3b5ab8=this[_0xfa4a39(0x325)][_0xfa4a39(0x436)](Y);return(_0x211431=(_0x5d946a=_0x3b5ab8==null?void 0x0:_0x3b5ab8['uploadFileServerUrl'])!=null?_0x5d946a:_0x4fd938)!=null?_0x211431:Cn;}[_0x36a862(0x42b)](){var _0x5045ec=_0x36a862,_0x3b2d25,_0x93b9b2;const _0x1f23be=this['_configService'][_0x5045ec(0x436)](Tn),_0x16dea4=this[_0x5045ec(0x325)][_0x5045ec(0x436)](Y);return(_0x93b9b2=(_0x3b2d25=_0x16dea4==null?void 0x0:_0x16dea4[_0x5045ec(0x497)])!=null?_0x3b2d25:_0x1f23be)!=null?_0x93b9b2:bn;}[_0x36a862(0x233)](){var _0x484d0f=_0x36a862,_0x599a6c;const _0x325a4a=this['_configService'][_0x484d0f(0x436)](Y);return(_0x599a6c=_0x325a4a==null?void 0x0:_0x325a4a[_0x484d0f(0x306)])!=null?_0x599a6c:location[_0x484d0f(0x23a)];}[_0x36a862(0x47a)](_0x29d0f3,_0x1351e1){var _0x2b3bff=_0x36a862;return _0x29d0f3[_0x2b3bff(0x363)](_0x2b3bff(0x47b),_0x1351e1);}[_0x36a862(0x4a1)](){var _0x5aefa5=_0x36a862;this['_waitCount']-=0x1,this[_0x5aefa5(0x4b1)][_0x5aefa5(0x55c)](this[_0x5aefa5(0x508)]);}},exports[_0x36a862(0x25e)]=gn([xe(0x0,a['Inject'](q[_0x36a862(0x566)])),xe(0x1,a[_0x36a862(0x4b9)]),xe(0x2,a[_0x36a862(0x437)](a[_0x36a862(0x420)]))],exports[_0x36a862(0x25e)]);var Rn=Object[_0x36a862(0x2dc)],On=(_0x166cfe,_0x284b41,_0x27379d,_0x318749)=>{for(var _0x235897=_0x318749>0x1?void 0x0:_0x318749?Rn(_0x284b41,_0x27379d):_0x284b41,_0xd4c6a=_0x166cfe['length']-0x1,_0x2ee0e7;_0xd4c6a>=0x0;_0xd4c6a--)(_0x2ee0e7=_0x166cfe[_0xd4c6a])&&(_0x235897=_0x2ee0e7(_0x235897)||_0x235897);return _0x235897;},_t=(_0x42c877,_0x51eb18)=>(_0x2aa54f,_0x922a3a)=>_0x51eb18(_0x2aa54f,_0x922a3a,_0x42c877);const yn=_0x36a862(0x246);exports['MentionIoHttpService']=class{constructor(_0x4b59e2,_0x38b3eb){var _0x3c6f69=_0x36a862;this[_0x3c6f69(0x325)]=_0x4b59e2,this[_0x3c6f69(0x375)]=_0x38b3eb;}[_0x36a862(0x28f)](){var _0x5f0be3=_0x36a862,_0x2e0b2b,_0x13341f;const _0x13ef48=this[_0x5f0be3(0x325)][_0x5f0be3(0x436)](Ge),_0x356d07=this['_configService']['getConfig'](Y);return(_0x13341f=(_0x2e0b2b=_0x356d07==null?void 0x0:_0x356d07['authzUrl'])!=null?_0x2e0b2b:_0x13ef48)!=null?_0x13341f:yn;}async[_0x36a862(0x3b0)](_0x184c52){var _0x1c05e1=_0x36a862;const _0x138960=this[_0x1c05e1(0x28f)]()+_0x1c05e1(0x425);return{'list':[{'title':_0x1c05e1(0x506),'mentions':(await this['_HTTPService'][_0x1c05e1(0x473)](_0x138960,{'params':{'objectID':_0x184c52[_0x1c05e1(0x3e1)],'unitID':_0x184c52['unitId']}}))[_0x1c05e1(0x2de)]['collaborators']['map'](_0xae79f9=>({'objectId':_0xae79f9['id'],'name':_0xae79f9[_0x1c05e1(0x2a7)][_0x1c05e1(0x2f0)],'metadata':{'icon':_0xae79f9[_0x1c05e1(0x2a7)][_0x1c05e1(0x526)]},'label':_0xae79f9[_0x1c05e1(0x2a7)][_0x1c05e1(0x2f0)],'objectType':a[_0x1c05e1(0x385)][_0x1c05e1(0x2f5)]})),'metadata':{},'type':a[_0x1c05e1(0x385)][_0x1c05e1(0x2f5)]}]};}},exports[_0x36a862(0x534)]=On([_t(0x0,a[_0x36a862(0x437)](a[_0x36a862(0x4b9)])),_t(0x1,a[_0x36a862(0x437)](q['HTTPService']))],exports[_0x36a862(0x534)]);var Nn=Object['getOwnPropertyDescriptor'],Dn=(_0x28ee6c,_0x17163a,_0x30a62d,_0x412412)=>{var _0x445f66=_0x36a862;for(var _0x119b33=_0x412412>0x1?void 0x0:_0x412412?Nn(_0x17163a,_0x30a62d):_0x17163a,_0x2a0541=_0x28ee6c[_0x445f66(0x269)]-0x1,_0x89a501;_0x2a0541>=0x0;_0x2a0541--)(_0x89a501=_0x28ee6c[_0x2a0541])&&(_0x119b33=_0x89a501(_0x119b33)||_0x119b33);return _0x119b33;},ue=(_0x23d80c,_0x2008cc)=>(_0xbe818e,_0x33b2fe)=>_0x2008cc(_0xbe818e,_0x33b2fe,_0x23d80c);let De=class extends a['RxDisposable']{constructor(_0x408aea,_0x10aa63,_0x133275,_0x7c832a,_0x1f3bc3){var _0x5c45ec=_0x36a862;super(),this[_0x5c45ec(0x227)]=_0x408aea,this[_0x5c45ec(0x50d)]=_0x10aa63,this[_0x5c45ec(0x452)]=_0x133275,this['_collaborationSessionService']=_0x7c832a,this[_0x5c45ec(0x4c8)]=_0x1f3bc3,this[_0x5c45ec(0x493)](),this['_initCloseConn']();}[_0x36a862(0x4c5)](){var _0x916f2=_0x36a862;const _0x473218=async _0x1350a0=>{var _0x80556b=_0x58e2;(await this['_collaborationSessionService']['requireSession'](_0x1350a0))[_0x80556b(0x211)][_0x80556b(0x327)](V[_0x80556b(0x1f9)](_0x4f808f=>_0x4f808f[_0x80556b(0x4af)]===g[_0x80556b(0x52d)]['SHOULD_CLOSE_CONN']),V[_0x80556b(0x2fc)](this['dispose$']))[_0x80556b(0x23e)](_0x174e36=>{var _0x40ec0a=_0x80556b;const _0x332617=_0x174e36,{reason:_0x12049e}=_0x332617[_0x40ec0a(0x2f9)];this[_0x40ec0a(0x4c8)]['emitEvent']({'id':Q[_0x40ec0a(0x332)],'data':_0x12049e}),this['_permissionService']['updatePermissionPoint'](new Z[(_0x40ec0a(0x1eb))](_0x1350a0)['id'],!0x1),this[_0x40ec0a(0x2cd)]['closeSession'](_0x1350a0);});};j[_0x916f2(0x3cf)](this[_0x916f2(0x50d)]['getTypeOfUnitAdded$'](a[_0x916f2(0x32b)][_0x916f2(0x474)]),this['_univerInstanceService'][_0x916f2(0x3de)](a[_0x916f2(0x32b)][_0x916f2(0x338)]))[_0x916f2(0x327)](V[_0x916f2(0x482)](_0x2aea5f=>_0x2aea5f[_0x916f2(0x2da)]()),V[_0x916f2(0x1f9)](_0x371d8b=>!a[_0x916f2(0x3d4)](_0x371d8b)),V[_0x916f2(0x2fc)](this[_0x916f2(0x258)]))['subscribe'](_0x225071=>{_0x473218(_0x225071);});}[_0x36a862(0x493)](){var _0x5e1717=_0x36a862;const _0x181453=async _0x1a446f=>{var _0x2cffef=_0x58e2;const _0x492b82=await this[_0x2cffef(0x2cd)][_0x2cffef(0x4cc)](_0x1a446f),_0x4c2be9=this[_0x2cffef(0x227)][_0x2cffef(0x473)](Z[_0x2cffef(0x335)]);_0x492b82[_0x2cffef(0x211)][_0x2cffef(0x327)](V['filter'](_0x4e1912=>_0x4e1912[_0x2cffef(0x4af)]===g['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),V[_0x2cffef(0x2fc)](this[_0x2cffef(0x258)]))[_0x2cffef(0x23e)](_0xc288ba=>{var _0x4b619f=_0x2cffef;const _0x48a8e1=_0xc288ba,{objectId:_0x43306c}=_0x48a8e1[_0x4b619f(0x2f9)];_0x43306c===_0x1a446f?_0x4c2be9[_0x4b619f(0x4a0)](_0x1a446f):_0x4c2be9[_0x4b619f(0x245)](_0x1a446f,_0x43306c);});};j['merge'](this[_0x5e1717(0x50d)][_0x5e1717(0x3de)](a[_0x5e1717(0x32b)][_0x5e1717(0x474)]))[_0x5e1717(0x327)](V[_0x5e1717(0x482)](_0x2900a6=>_0x2900a6['getUnitId']()),V[_0x5e1717(0x1f9)](_0x27db6b=>!a['isInternalEditorID'](_0x27db6b)),V[_0x5e1717(0x2fc)](this[_0x5e1717(0x258)]))[_0x5e1717(0x23e)](_0xcfe609=>{_0x181453(_0xcfe609);});}};De=Dn([ue(0x0,a[_0x36a862(0x437)](a[_0x36a862(0x4a7)])),ue(0x1,a[_0x36a862(0x420)]),ue(0x2,a[_0x36a862(0x359)]),ue(0x3,a[_0x36a862(0x437)](exports[_0x36a862(0x241)])),ue(0x4,a[_0x36a862(0x437)](te))],De);var Un=Object[_0x36a862(0x2dc)],An=(_0x47851b,_0x53af07,_0x821b5f,_0xa619d6)=>{var _0x55c3bf=_0x36a862;for(var _0x2e0bf0=_0xa619d6>0x1?void 0x0:_0xa619d6?Un(_0x53af07,_0x821b5f):_0x53af07,_0x3c670e=_0x47851b[_0x55c3bf(0x269)]-0x1,_0x5075f9;_0x3c670e>=0x0;_0x3c670e--)(_0x5075f9=_0x47851b[_0x3c670e])&&(_0x2e0bf0=_0x5075f9(_0x2e0bf0)||_0x2e0bf0);return _0x2e0bf0;},lt=(_0x4b1433,_0x593f6f)=>(_0x31b887,_0x1870fa)=>_0x593f6f(_0x31b887,_0x1870fa,_0x4b1433);exports[_0x36a862(0x54b)]=class{constructor(_0x4e4fe9,_0x24bb77){var _0x2ad93c=_0x36a862;this[_0x2ad93c(0x325)]=_0x4e4fe9,this['_httpService']=_0x24bb77;}async[_0x36a862(0x271)](_0x88b4db,_0x408f20){var _0x18de2c=_0x36a862,_0x5c326a;const {unitID:_0x1fe67e,type:_0x5773f3,revision:_0x4f11a9=0x0}=_0x408f20,_0x438bde=this[_0x18de2c(0x370)]()+'/'+_0x5773f3+_0x18de2c(0x2e4)+_0x1fe67e+_0x18de2c(0x528)+_0x4f11a9,_0x16b984=(await this[_0x18de2c(0x527)][_0x18de2c(0x473)](_0x438bde))[_0x18de2c(0x2de)],_0x1e6a83=(_0x5c326a=_0x16b984[_0x18de2c(0x562)])==null?void 0x0:_0x5c326a[_0x18de2c(0x483)];if(_0x1e6a83){const _0x3fd49a=_0x1e6a83==null?void 0x0:_0x1e6a83[_0x18de2c(0x541)],_0x23f974=g[_0x18de2c(0x377)][_0x18de2c(0x37d)](g['b64DecodeUnicode'](_0x3fd49a));_0x1e6a83[_0x18de2c(0x541)]=_0x23f974,Object['entries'](_0x1e6a83[_0x18de2c(0x4cf)])[_0x18de2c(0x455)](([,_0x554ede])=>{var _0x395e6b=_0x18de2c;const _0x512cfa=_0x554ede[_0x395e6b(0x541)],_0x10663a=g['textEncoder']['encode'](g[_0x395e6b(0x3d6)](_0x512cfa));_0x554ede[_0x395e6b(0x541)]=_0x10663a;});}return _0x16b984;}async[_0x36a862(0x20e)](_0x3a12c4,_0x129206){var _0x233620=_0x36a862;const {unitID:_0x53afc0,type:_0xfe9d11,blockID:_0x325022}=_0x129206,_0x20abb5=this[_0x233620(0x224)]()+'/'+_0xfe9d11+_0x233620(0x2e4)+_0x53afc0+_0x233620(0x3f6)+_0x325022;return(await this['_httpService']['get'](_0x20abb5))[_0x233620(0x2de)];}async[_0x36a862(0x263)](_0x133796,_0x5f1add){var _0xe2fce7=_0x36a862;const {unitID:_0x48b8d3,type:_0x4e2288,blockID:_0x1b29f4}=_0x5f1add,_0x335dfb=this[_0xe2fce7(0x224)]()+_0xe2fce7(0x3f6)+_0x4e2288+_0xe2fce7(0x2e4)+_0x48b8d3+'/block/'+_0x1b29f4;return(await this[_0xe2fce7(0x527)][_0xe2fce7(0x473)](_0x335dfb))[_0xe2fce7(0x2de)];}async['fetchMissingChangesets'](_0x4c090f,_0x48a27c){var _0x3c23a5=_0x36a862;const {unitID:_0x552425,type:_0x5903b8,from:_0x5414ea,to:_0x4b238a}=_0x48a27c,_0x5da66f=this[_0x3c23a5(0x224)]()+'/'+_0x5903b8+_0x3c23a5(0x2e4)+_0x552425+_0x3c23a5(0x4e2)+_0x5414ea+'&to='+_0x4b238a;return(await this['_httpService'][_0x3c23a5(0x473)](_0x5da66f))[_0x3c23a5(0x2de)];}[_0x36a862(0x370)](){var _0x3bb50e=_0x36a862,_0x198e01;return(_0x198e01=this[_0x3bb50e(0x325)][_0x3bb50e(0x436)](vt))!=null?_0x198e01:this[_0x3bb50e(0x224)]();}[_0x36a862(0x224)](){var _0x5bf426=_0x36a862,_0x23d2c0,_0x1e259d;const _0x29af6a=this[_0x5bf426(0x325)][_0x5bf426(0x436)](dt),_0x3f09d4=this['_configService'][_0x5bf426(0x436)](Y);return(_0x1e259d=(_0x23d2c0=_0x3f09d4==null?void 0x0:_0x3f09d4[_0x5bf426(0x389)])!=null?_0x23d2c0:_0x29af6a)!=null?_0x1e259d:kt;}async[_0x36a862(0x4fe)](_0xdd2e8f,_0x4db949){var _0x3cca42=_0x36a862;const _0x480453=_0x3cca42(0x322)+_0x4db949['type']+'/unit/'+_0x4db949[_0x3cca42(0x524)]+_0x3cca42(0x457);return(await this[_0x3cca42(0x527)][_0x3cca42(0x473)](_0x480453,{'params':{'resourceId':JSON[_0x3cca42(0x25b)](_0x4db949['resourceIDs'])}}))[_0x3cca42(0x2de)];}[_0x36a862(0x395)](){var _0x2c6464=_0x36a862;throw new Error(_0x2c6464(0x484));}[_0x36a862(0x206)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x36a862(0x2e8)](){var _0x516de0=_0x36a862;throw new Error(_0x516de0(0x484));}[_0x36a862(0x543)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x36a862(0x4f7)](){var _0x1281ca=_0x36a862;throw new Error(_0x1281ca(0x484));}},exports[_0x36a862(0x54b)]=An([lt(0x0,a[_0x36a862(0x4b9)]),lt(0x1,a[_0x36a862(0x437)](q['HTTPService']))],exports['SnapshotServerOverHTTPService']);var Pn=Object[_0x36a862(0x2dc)],wn=(_0x3727bb,_0x592d7a,_0x54c2cf,_0x2e4b86)=>{var _0x9ce721=_0x36a862;for(var _0x44c452=_0x2e4b86>0x1?void 0x0:_0x2e4b86?Pn(_0x592d7a,_0x54c2cf):_0x592d7a,_0x11bca8=_0x3727bb[_0x9ce721(0x269)]-0x1,_0x442862;_0x11bca8>=0x0;_0x11bca8--)(_0x442862=_0x3727bb[_0x11bca8])&&(_0x44c452=_0x442862(_0x44c452)||_0x44c452);return _0x44c452;},de=(_0x439430,_0x1d3a0f)=>(_0x1e73ab,_0x308a47)=>_0x1d3a0f(_0x1e73ab,_0x308a47,_0x439430);exports[_0x36a862(0x488)]=class extends a[_0x36a862(0x44f)]{constructor(_0x557f92,_0x2f1606,_0x2d2d4f,_0x1b75df,_0x51eca9){super(_0x557f92,_0x2f1606,_0x2d2d4f),this['_transformService']=_0x1b75df,this['_logService']=_0x51eca9;}[_0x36a862(0x1fb)](_0x2e7238,_0x8125ed){var _0x55e236=_0x36a862;const _0x3802d9=this[_0x55e236(0x50a)](_0x2e7238);if(_0x3802d9)try{const _0x2c0eb0=this[_0x55e236(0x46a)](_0x3802d9,_0x8125ed);this[_0x55e236(0x26c)](_0x2e7238,_0x2c0eb0);}catch(_0x1708fa){this[_0x55e236(0x3e3)]['error']('[CollaborationUndoRedoService]',_0x1708fa),this[_0x55e236(0x48f)](_0x2e7238);}const _0x814072=this[_0x55e236(0x449)](_0x2e7238);if(_0x814072)try{const _0x484729=this[_0x55e236(0x46a)](_0x814072,_0x8125ed);this[_0x55e236(0x2aa)](_0x2e7238,_0x484729);}catch(_0x2bd139){this['_logService'][_0x55e236(0x3c7)](_0x2bd139),this['_clearRedo'](_0x2e7238);}}['_clearUndo'](_0x2a7c47){var _0x24c2e3=_0x36a862;const _0x33557a=this[_0x24c2e3(0x50a)](_0x2a7c47);_0x33557a&&(_0x33557a[_0x24c2e3(0x269)]=0x0,this[_0x24c2e3(0x326)]());}[_0x36a862(0x316)](_0x421a5f){var _0x3831fa=_0x36a862;const _0x5a5715=this[_0x3831fa(0x449)](_0x421a5f);_0x5a5715&&(_0x5a5715['length']=0x0,this[_0x3831fa(0x326)]());}[_0x36a862(0x26c)](_0x58a026,_0x31b422){var _0x536657=_0x36a862;this[_0x536657(0x2c9)]['set'](_0x58a026,_0x31b422),this['_updateStatus']();}[_0x36a862(0x2aa)](_0x5a0d03,_0x50948e){var _0xf071b7=_0x36a862;this[_0xf071b7(0x299)][_0xf071b7(0x34e)](_0x5a0d03,_0x50948e),this[_0xf071b7(0x326)]();}[_0x36a862(0x46a)](_0x3a27b3,_0x133e47){var _0x1cff35=_0x36a862;const _0x3b153b=[];let _0x531e95=_0x133e47,_0x39d58f=_0x133e47;for(let _0x28ec56=_0x3a27b3[_0x1cff35(0x269)]-0x1;_0x28ec56>=0x0;_0x28ec56--){const {unitID:_0x3a0de8,undoMutations:_0x51d345,redoMutations:_0xf80f14}=_0x3a27b3[_0x28ec56],_0x3ef569=this[_0x1cff35(0x3a1)][_0x1cff35(0x2ca)](_0x531e95,_0x51d345),_0x342783=this['_transformService'][_0x1cff35(0x2ca)](_0x39d58f,_0xf80f14);if(g['isTransformMutationsWithChangesetFailure'](_0x3ef569)||g[_0x1cff35(0x4c4)](_0x342783)){this[_0x1cff35(0x3e3)][_0x1cff35(0x3c7)](_0x1cff35(0x402),_0x1cff35(0x249),_0x3ef569,_0x342783);break;}_0x531e95=_0x3ef569[_0x1cff35(0x559)],_0x39d58f=_0x342783[_0x1cff35(0x559)],_0x3b153b['push']({'unitID':_0x3a0de8,'undoMutations':_0x3ef569[_0x1cff35(0x49c)],'redoMutations':_0x342783[_0x1cff35(0x49c)]});}return _0x3b153b[_0x1cff35(0x223)]();}},exports[_0x36a862(0x488)]=wn([de(0x0,a[_0x36a862(0x420)]),de(0x1,a[_0x36a862(0x340)]),de(0x2,a[_0x36a862(0x55b)]),de(0x3,g[_0x36a862(0x516)]),de(0x4,a[_0x36a862(0x3fb)])],exports['CollaborativeUndoRedoService']);var Ln=Object['defineProperty'],Mn=Object['getOwnPropertyDescriptor'],xn=(_0x91e85d,_0x243f35,_0x4270d2)=>_0x243f35 in _0x91e85d?Ln(_0x91e85d,_0x243f35,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4270d2}):_0x91e85d[_0x243f35]=_0x4270d2,kn=(_0x317424,_0x891640,_0x525529,_0x2db7bb)=>{var _0x21314e=_0x36a862;for(var _0x71821d=_0x2db7bb>0x1?void 0x0:_0x2db7bb?Mn(_0x891640,_0x525529):_0x891640,_0x57c964=_0x317424[_0x21314e(0x269)]-0x1,_0x158221;_0x57c964>=0x0;_0x57c964--)(_0x158221=_0x317424[_0x57c964])&&(_0x71821d=_0x158221(_0x71821d)||_0x71821d);return _0x71821d;},ke=(_0x396070,_0x4c1dda)=>(_0x2f9195,_0x560e7e)=>_0x4c1dda(_0x2f9195,_0x560e7e,_0x396070),Hn=(_0x5d4d1a,_0x682891,_0xbd19cf)=>xn(_0x5d4d1a,_0x682891+'',_0xbd19cf);const jn=_0x36a862(0x2ce);exports['UniverCollaborationClientPlugin']=class extends a['Plugin']{constructor(_0x3ef83f,_0x11f9d5,_0x2dbb0c,_0x174932){var _0x2d60f4=_0x36a862;super(),A(this,_0x2d60f4(0x201)),(this[_0x2d60f4(0x3e3)]=_0x11f9d5,this[_0x2d60f4(0x227)]=_0x2dbb0c,this[_0x2d60f4(0x325)]=_0x174932);const {..._0x560d36}=a['merge']({},Jt,_0x3ef83f);if(!_0x560d36[_0x2d60f4(0x2df)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x560d36,this[_0x2d60f4(0x325)][_0x2d60f4(0x205)](Y,_0x560d36);}[_0x36a862(0x238)](){var _0x419dc6=_0x36a862;this['_registerDependencies'](),this[_0x419dc6(0x31a)]();}[_0x36a862(0x297)](){var _0x57092a=_0x36a862,_0x3f8566,_0x1bcef5;this[_0x57092a(0x227)][_0x57092a(0x392)](a[_0x57092a(0x47c)])&&this[_0x57092a(0x3e3)]['error']('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x32f0e2=a[_0x57092a(0x382)]([[a[_0x57092a(0x47c)],{'useClass':exports[_0x57092a(0x488)]}],[exports[_0x57092a(0x241)]],[exports[_0x57092a(0x408)]],[exports[_0x57092a(0x21b)]],[ye],[Ne],[Be],[De],[te],[exports[_0x57092a(0x365)]],[$e,{'useClass':this['_config'][_0x57092a(0x2df)]}],[g[_0x57092a(0x3ab)],{'useClass':exports[_0x57092a(0x54b)]}],[a['IAuthzIoService'],{'useClass':exports[_0x57092a(0x336)]}],[J[_0x57092a(0x204)],{'useClass':exports[_0x57092a(0x25e)]}],[a['IMentionIOService'],{'useClass':exports[_0x57092a(0x534)]}],[exports[_0x57092a(0x268)]],[He]],(_0x3f8566=this[_0x57092a(0x201)])==null?void 0x0:_0x3f8566[_0x57092a(0x4b6)]);if(!((_0x1bcef5=this[_0x57092a(0x201)])!=null&&_0x1bcef5['enableSingleActiveInstanceLock'])){const _0x5c5be8=_0x32f0e2['findIndex'](([_0x43250d])=>_0x43250d===ve);_0x5c5be8!==-0x1&&_0x32f0e2['splice'](_0x5c5be8,0x1);}a[_0x57092a(0x41b)](this[_0x57092a(0x227)],_0x32f0e2);}['_initDependencies'](){var _0x1a2f87=_0x36a862,_0x4a1a9c,_0x3b2d43,_0x322edf;this[_0x1a2f87(0x227)][_0x1a2f87(0x473)](q[_0x1a2f87(0x566)])[_0x1a2f87(0x28a)]({'priority':0x14,'interceptor':q[_0x1a2f87(0x529)]({'maxParallel':0x6})}),(_0x4a1a9c=this['_config'])!=null&&_0x4a1a9c['enableOfflineEditing']||(_0x3b2d43=this[_0x1a2f87(0x227)][_0x1a2f87(0x473)](z,a[_0x1a2f87(0x2f7)][_0x1a2f87(0x36d)]))==null||_0x3b2d43[_0x1a2f87(0x3aa)](),(_0x322edf=this[_0x1a2f87(0x201)])!=null&&_0x322edf[_0x1a2f87(0x42a)]&&a['touchDependencies'](this[_0x1a2f87(0x227)],[[ye]]),a[_0x1a2f87(0x525)](this[_0x1a2f87(0x227)],[[Ne],[exports[_0x1a2f87(0x268)]],[De]]);}},Hn(exports['UniverCollaborationClientPlugin'],_0x36a862(0x253),jn),exports[_0x36a862(0x2cf)]=kn([a[_0x36a862(0x4b0)](g['UniverCollaborationPlugin'],q[_0x36a862(0x25f)]),ke(0x1,a[_0x36a862(0x3fb)]),ke(0x2,a['Inject'](a[_0x36a862(0x4a7)])),ke(0x3,a[_0x36a862(0x4b9)])],exports[_0x36a862(0x2cf)]),exports[_0x36a862(0x236)]=Ge,exports[_0x36a862(0x2ac)]=Y,exports[_0x36a862(0x3a7)]=mt,exports[_0x36a862(0x27c)]=St,exports[_0x36a862(0x50b)]=Ve,exports['CollaborationUIEventId']=Q,exports[_0x36a862(0x43d)]=te,exports[_0x36a862(0x39e)]=Be,exports[_0x36a862(0x307)]=ft,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=zt,exports[_0x36a862(0x30c)]=$t,exports[_0x36a862(0x3c3)]=pt,exports[_0x36a862(0x546)]=je,exports[_0x36a862(0x3bd)]=$e,exports[_0x36a862(0x39c)]=z,exports[_0x36a862(0x334)]=bt,exports[_0x36a862(0x2b9)]=ve,exports[_0x36a862(0x521)]=Gt,exports[_0x36a862(0x4f5)]=Wt,exports[_0x36a862(0x30b)]=Et,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=qt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=It,exports[_0x36a862(0x315)]=Ht,exports['SNAPSHOT_SERVER_URL_KEY']=dt,exports[_0x36a862(0x3ee)]=vt,exports[_0x36a862(0x43a)]=se,exports[_0x36a862(0x2b0)]=Fe,exports[_0x36a862(0x431)]=Rt,exports['getLocalCacheKey']=vi,exports[_0x36a862(0x321)]=Ot;
|
1
|
+
'use strict';var _0xf5384=_0x4e4b;(function(_0x1a941a,_0x28da18){var _0x40bb35=_0x4e4b,_0x2c7483=_0x1a941a();while(!![]){try{var _0x467149=parseInt(_0x40bb35(0x1a5))/0x1*(parseInt(_0x40bb35(0x3e4))/0x2)+-parseInt(_0x40bb35(0x4fe))/0x3+parseInt(_0x40bb35(0x2e1))/0x4+-parseInt(_0x40bb35(0x3f8))/0x5*(-parseInt(_0x40bb35(0x4ee))/0x6)+-parseInt(_0x40bb35(0x1ea))/0x7*(-parseInt(_0x40bb35(0x22a))/0x8)+parseInt(_0x40bb35(0x2ce))/0x9*(-parseInt(_0x40bb35(0x2c9))/0xa)+parseInt(_0x40bb35(0x502))/0xb*(-parseInt(_0x40bb35(0x488))/0xc);if(_0x467149===_0x28da18)break;else _0x2c7483['push'](_0x2c7483['shift']());}catch(_0x4d96e7){_0x2c7483['push'](_0x2c7483['shift']());}}}(_0x4041,0x703fb));var wt=Object[_0xf5384(0x1c6)],Lt=(_0x58e161,_0x118977,_0x3ce747)=>_0x118977 in _0x58e161?wt(_0x58e161,_0x118977,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ce747}):_0x58e161[_0x118977]=_0x3ce747,A=(_0x427b10,_0x4fbb08,_0x2575e3)=>Lt(_0x427b10,typeof _0x4fbb08!=_0xf5384(0x300)?_0x4fbb08+'':_0x4fbb08,_0x2575e3);Object[_0xf5384(0x1c6)](exports,Symbol[_0xf5384(0x4e2)],{'value':_0xf5384(0x327)});const a=require('@univerjs/core'),j=require(_0xf5384(0x448)),V=require(_0xf5384(0x4aa)),g=require(_0xf5384(0x4d0)),q=require(_0xf5384(0x1f8)),Mt=require('@univerjs/telemetry'),ut=require(_0xf5384(0x4e6)),Z=require('@univerjs/sheets'),J=require(_0xf5384(0x1ad)),xt=require(_0xf5384(0x1c8)),dt=_0xf5384(0x37d),kt='/universer-api/snapshot',vt=_0xf5384(0x31c),Ht=_0xf5384(0x441),jt=0x7d0,St='COLLAB_WEB_SOCKET_URL',ft=_0xf5384(0x3bd),$t='/universer-api/user/session-ticket',pt=_0xf5384(0x249),Bt=0x7530,je=_0xf5384(0x440),gt=0x4e20,Ft=0x4e20,It=_0xf5384(0x1f2),Vt=0x3,Wt=_0xf5384(0x2f7),Gt=0x3e8,mt=_0xf5384(0x1de),Kt=_0xf5384(0x3d3),Et=_0xf5384(0x41a),Yt=_0xf5384(0x18f),qt=_0xf5384(0x25d),zt=_0xf5384(0x3ad);var Ct=(_0x2f1d36=>(_0x2f1d36[_0x2f1d36[_0xf5384(0x3bc)]=0x0]=_0xf5384(0x3bc),_0x2f1d36[_0x2f1d36['OK']=0x1]='OK',_0x2f1d36[_0x2f1d36[_0xf5384(0x1d9)]=0x2]=_0xf5384(0x1d9),_0x2f1d36[_0x2f1d36['PERMISSION_DENIED']=0x3]=_0xf5384(0x1b1),_0x2f1d36[_0x2f1d36[_0xf5384(0x2fd)]=0x4]=_0xf5384(0x2fd),_0x2f1d36[_0x2f1d36['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x2f1d36[_0x2f1d36[_0xf5384(0x37a)]=0x6]=_0xf5384(0x37a),_0x2f1d36[_0x2f1d36[_0xf5384(0x1ec)]=0x7]=_0xf5384(0x1ec),_0x2f1d36[_0x2f1d36[_0xf5384(0x3ef)]=0x8]='TOO_MANY_REQUESTS',_0x2f1d36[_0x2f1d36['COMPLETION_FINISHED']=0x9]=_0xf5384(0x39d),_0x2f1d36[_0x2f1d36['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x2f1d36[_0x2f1d36['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2f1d36[_0x2f1d36[_0xf5384(0x3ae)]=0x1771]=_0xf5384(0x3ae),_0x2f1d36[_0x2f1d36['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0xf5384(0x4cd),_0x2f1d36[_0x2f1d36[_0xf5384(0x403)]=0x1773]=_0xf5384(0x403),_0x2f1d36[_0x2f1d36[_0xf5384(0x370)]=0x1b59]=_0xf5384(0x370),_0x2f1d36[_0x2f1d36[_0xf5384(0x1b5)]=0x1b5a]=_0xf5384(0x1b5),_0x2f1d36[_0x2f1d36[_0xf5384(0x202)]=0x1b5b]=_0xf5384(0x202),_0x2f1d36[_0x2f1d36[_0xf5384(0x2ea)]=0x1b5c]=_0xf5384(0x2ea),_0x2f1d36[_0x2f1d36[_0xf5384(0x199)]=0x1b5d]=_0xf5384(0x199),_0x2f1d36[_0x2f1d36[_0xf5384(0x3c1)]=0x1f41]=_0xf5384(0x3c1),_0x2f1d36[_0x2f1d36[_0xf5384(0x478)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2f1d36[_0x2f1d36[_0xf5384(0x1c2)]=0x232a]=_0xf5384(0x1c2),_0x2f1d36[_0x2f1d36[_0xf5384(0x3f7)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2f1d36[_0x2f1d36[_0xf5384(0x4f9)]=0x232c]=_0xf5384(0x4f9),_0x2f1d36[_0x2f1d36[_0xf5384(0x330)]=0x232d]=_0xf5384(0x330),_0x2f1d36[_0x2f1d36[_0xf5384(0x219)]=0x2711]=_0xf5384(0x219),_0x2f1d36[_0x2f1d36[_0xf5384(0x425)]=0x2712]=_0xf5384(0x425),_0x2f1d36[_0x2f1d36[_0xf5384(0x4a2)]=0x2713]=_0xf5384(0x4a2),_0x2f1d36[_0x2f1d36[_0xf5384(0x2a5)]=0x2714]=_0xf5384(0x2a5),_0x2f1d36[_0x2f1d36[_0xf5384(0x267)]=0x271a]=_0xf5384(0x267),_0x2f1d36[_0x2f1d36['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0xf5384(0x3fd),_0x2f1d36[_0x2f1d36[_0xf5384(0x4df)]=0x2af9]=_0xf5384(0x4df),_0x2f1d36[_0x2f1d36['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0xf5384(0x264),_0x2f1d36[_0x2f1d36[_0xf5384(0x496)]=0x2ee2]=_0xf5384(0x496),_0x2f1d36[_0x2f1d36['INVITE_CODE_REQUIRED']=0x2ee3]=_0xf5384(0x1bc),_0x2f1d36[_0x2f1d36[_0xf5384(0x3bb)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2f1d36[_0x2f1d36[_0xf5384(0x44f)]=0x2ee5]=_0xf5384(0x44f),_0x2f1d36[_0x2f1d36[_0xf5384(0x19b)]=0x32c9]=_0xf5384(0x19b),_0x2f1d36[_0x2f1d36['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0xf5384(0x439),_0x2f1d36[_0x2f1d36[_0xf5384(0x26e)]=0x32cb]=_0xf5384(0x26e),_0x2f1d36[_0x2f1d36[_0xf5384(0x1c0)]=-0x1]=_0xf5384(0x1c0),_0x2f1d36))(Ct||{}),X=(_0x9239f5=>(_0x9239f5[_0x9239f5[_0xf5384(0x2db)]=0x0]='UNIVER_UNKNOWN',_0x9239f5[_0x9239f5['UNIVER_DOC']=0x1]=_0xf5384(0x1d1),_0x9239f5[_0x9239f5[_0xf5384(0x33e)]=0x2]=_0xf5384(0x33e),_0x9239f5[_0x9239f5[_0xf5384(0x3ba)]=0x3]=_0xf5384(0x3ba),_0x9239f5[_0x9239f5[_0xf5384(0x3ec)]=0x4]=_0xf5384(0x3ec),_0x9239f5[_0x9239f5[_0xf5384(0x1c0)]=-0x1]=_0xf5384(0x1c0),_0x9239f5))(X||{}),W=(_0x2f36c8=>(_0x2f36c8[_0x2f36c8[_0xf5384(0x42a)]=0x0]=_0xf5384(0x42a),_0x2f36c8[_0x2f36c8['HELLO']=0x1]=_0xf5384(0x45d),_0x2f36c8[_0x2f36c8[_0xf5384(0x397)]=0x2]=_0xf5384(0x397),_0x2f36c8[_0x2f36c8['LEAVE']=0x3]=_0xf5384(0x431),_0x2f36c8[_0x2f36c8['INGEST']=0x4]=_0xf5384(0x2ca),_0x2f36c8[_0x2f36c8['HEARTBEAT']=0x5]=_0xf5384(0x498),_0x2f36c8[_0x2f36c8['RECV']=0x6]=_0xf5384(0x485),_0x2f36c8[_0x2f36c8['UNRECOGNIZED']=-0x1]=_0xf5384(0x1c0),_0x2f36c8))(W||{}),ae=(_0x52f6c8=>(_0x52f6c8[_0x52f6c8[_0xf5384(0x4e4)]=0x0]=_0xf5384(0x4e4),_0x52f6c8[_0x52f6c8['OK']=0x1]='OK',_0x52f6c8[_0x52f6c8[_0xf5384(0x38a)]=0x2]='FAIL',_0x52f6c8[_0x52f6c8[_0xf5384(0x48b)]=0x3e9]='JOIN_ROOM_FULL',_0x52f6c8[_0x52f6c8[_0xf5384(0x2c0)]=0x3ea]=_0xf5384(0x2c0),_0x52f6c8[_0x52f6c8[_0xf5384(0x2e6)]=0x3eb]=_0xf5384(0x2e6),_0x52f6c8[_0x52f6c8[_0xf5384(0x43c)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x52f6c8[_0x52f6c8['UNRECOGNIZED']=-0x1]=_0xf5384(0x1c0),_0x52f6c8))(ae||{}),Tt=(_0x353705=>(_0x353705[_0x353705[_0xf5384(0x4a5)]=0x0]=_0xf5384(0x4a5),_0x353705[_0x353705[_0xf5384(0x1a4)]=0x1]=_0xf5384(0x1a4),_0x353705[_0x353705['HttpExport']=0x2]=_0xf5384(0x3c8),_0x353705[_0x353705[_0xf5384(0x481)]=0x3]='UnitEmbedded',_0x353705[_0x353705[_0xf5384(0x3e2)]=0x4]=_0xf5384(0x3e2),_0x353705[_0x353705[_0xf5384(0x257)]=0x5]='UserProfileImg',_0x353705[_0x353705[_0xf5384(0x1c0)]=-0x1]=_0xf5384(0x1c0),_0x353705))(Tt||{});const Y='collaboration-client.config',Jt={};var Q=(_0x5ac8ad=>(_0x5ac8ad[_0xf5384(0x4a0)]=_0xf5384(0x4a0),_0x5ac8ad[_0xf5384(0x1b1)]=_0xf5384(0x1b1),_0x5ac8ad[_0xf5384(0x230)]=_0xf5384(0x230),_0x5ac8ad[_0xf5384(0x471)]='CLOSE_ROOM',_0x5ac8ad[_0xf5384(0x4fc)]=_0xf5384(0x4fc),_0x5ac8ad[_0xf5384(0x323)]=_0xf5384(0x323),_0x5ac8ad[_0xf5384(0x20d)]=_0xf5384(0x20d),_0x5ac8ad[_0xf5384(0x46f)]='SUBMIT_CHANGESET_TIMEOUT',_0x5ac8ad))(Q||{});class te{constructor(){var _0x45709e=_0xf5384;A(this,_0x45709e(0x1dc),new j['Subject']()),A(this,'event$',this[_0x45709e(0x1dc)][_0x45709e(0x3b4)]());}[_0xf5384(0x280)](_0x9f246){var _0x5c934b=_0xf5384;this[_0x5c934b(0x1dc)][_0x5c934b(0x3d8)](_0x9f246);}}const bt=a[_0xf5384(0x388)](_0xf5384(0x341));function Rt(_0x3eaa2e){var _0x499577=_0xf5384,_0x5e9ab4,_0x12cf0e,_0x1b09df,_0x261577,_0x16c4b0;const _0x3f2ee4=_0x3eaa2e[_0x499577(0x3a8)],_0x5c92ad=JSON[_0x499577(0x1f3)](_0x3f2ee4);switch(_0x5c92ad['cmd']){case W[_0x499577(0x498)]:case W['HELLO']:{const _0x18594b=_0x5c92ad[_0x499577(0x2ee)];return{..._0x5c92ad,'data':_0x18594b,'cmd':_0x5c92ad[_0x499577(0x4cc)]};}case W[_0x499577(0x397)]:{const _0x19c261=_0x5c92ad[_0x499577(0x424)];return{..._0x5c92ad,'data':_0x19c261,'cmd':_0x5c92ad[_0x499577(0x4cc)]};}case W[_0x499577(0x485)]:{const _0x58be99=_0x5c92ad[_0x499577(0x3b0)];switch(_0x58be99[_0x499577(0x25b)]){case g[_0x499577(0x371)]['PERMISSION_REJ']:return{..._0x5c92ad,'data':{..._0x58be99,'data':(_0x5e9ab4=_0x58be99[_0x499577(0x372)])==null?void 0x0:_0x5e9ab4['cs']},'cmd':_0x5c92ad[_0x499577(0x4cc)]};case g['CollaborationEvent'][_0x499577(0x27d)]:return{..._0x5c92ad,'data':{..._0x58be99,'data':(_0x12cf0e=_0x58be99[_0x499577(0x32a)])==null?void 0x0:_0x12cf0e['cs']},'cmd':_0x5c92ad[_0x499577(0x4cc)]};case g[_0x499577(0x371)][_0x499577(0x2c2)]:return{..._0x5c92ad,'data':{..._0x58be99,'data':(_0x1b09df=_0x58be99[_0x499577(0x322)])==null?void 0x0:_0x1b09df['cs']},'cmd':_0x5c92ad[_0x499577(0x4cc)]};case g[_0x499577(0x371)][_0x499577(0x3c3)]:return{..._0x5c92ad,'data':{..._0x58be99,'data':(_0x261577=_0x58be99['csRejEvent'])==null?void 0x0:_0x261577['cs']},'cmd':_0x5c92ad[_0x499577(0x4cc)]};case g[_0x499577(0x371)][_0x499577(0x37e)]:return{..._0x5c92ad,'data':{..._0x58be99,'data':(_0x16c4b0=_0x58be99['csShouldRetryEvent'])==null?void 0x0:_0x16c4b0['cs']},'cmd':_0x5c92ad[_0x499577(0x4cc)]};case g[_0x499577(0x371)][_0x499577(0x23d)]:return{..._0x5c92ad,'data':{..._0x58be99,'data':_0x58be99[_0x499577(0x218)]},'cmd':_0x5c92ad[_0x499577(0x4cc)]};case g[_0x499577(0x371)][_0x499577(0x20e)]:return{..._0x5c92ad,'data':{..._0x58be99,'data':_0x58be99[_0x499577(0x33b)]},'cmd':_0x5c92ad[_0x499577(0x4cc)]};case g[_0x499577(0x371)][_0x499577(0x35f)]:return{..._0x5c92ad,'data':{..._0x58be99,'data':_0x58be99[_0x499577(0x468)]},'cmd':_0x5c92ad['cmd']};case g[_0x499577(0x371)][_0x499577(0x21c)]:return{..._0x5c92ad,'data':{..._0x58be99,'data':_0x58be99[_0x499577(0x272)]},'cmd':_0x5c92ad['cmd']};case g[_0x499577(0x371)][_0x499577(0x27c)]:case g['CollaborationEvent'][_0x499577(0x1b7)]:return{..._0x5c92ad,'data':{..._0x58be99,'data':_0x58be99[_0x499577(0x32f)]},'cmd':_0x5c92ad[_0x499577(0x4cc)]};case g[_0x499577(0x371)][_0x499577(0x407)]:return{..._0x5c92ad,'data':{..._0x58be99,'data':_0x58be99[_0x499577(0x272)]},'cmd':_0x5c92ad[_0x499577(0x4cc)]};case g['CollaborationEvent'][_0x499577(0x2d6)]:return{..._0x5c92ad,'data':_0x58be99,'cmd':_0x5c92ad[_0x499577(0x4cc)]};case g[_0x499577(0x371)][_0x499577(0x4f5)]:return{..._0x5c92ad,'data':{..._0x58be99,'data':_0x58be99['commentUpdateEvent']},'cmd':_0x5c92ad[_0x499577(0x4cc)]};case g[_0x499577(0x371)]['UPDATE_PERMISSION_OBJ']:return{..._0x5c92ad,'data':{..._0x58be99,'data':_0x58be99[_0x499577(0x3f6)]},'cmd':_0x5c92ad[_0x499577(0x4cc)]};case g[_0x499577(0x371)][_0x499577(0x38f)]:return{..._0x5c92ad,'data':{..._0x58be99,'data':_0x58be99[_0x499577(0x3d0)]},'cmd':_0x5c92ad[_0x499577(0x4cc)]};case g[_0x499577(0x371)]['UNISCRIPT_RUN']:return{..._0x5c92ad,'data':{..._0x58be99,'data':_0x58be99[_0x499577(0x4db)]},'cmd':_0x5c92ad[_0x499577(0x4cc)]};default:return _0x5c92ad;}}default:return _0x5c92ad;}}function Ot(_0x3d75bf){var _0xc366e7=_0xf5384;switch(_0x3d75bf['cmd']){case W[_0xc366e7(0x498)]:case W[_0xc366e7(0x45d)]:return JSON[_0xc366e7(0x3a6)]({'cmd':_0x3d75bf[_0xc366e7(0x4cc)],'routeKey':_0x3d75bf['routeKey']});case W[_0xc366e7(0x2ca)]:{let _0x47fe77;switch(_0x3d75bf[_0xc366e7(0x3a8)]['eventID']){case g[_0xc366e7(0x371)][_0xc366e7(0x23d)]:{_0x47fe77={'eventID':g[_0xc366e7(0x371)][_0xc366e7(0x23d)],'updateCursorEvent':_0x3d75bf[_0xc366e7(0x3a8)]['data']};break;}case g[_0xc366e7(0x371)][_0xc366e7(0x35f)]:{_0x47fe77={'eventID':g[_0xc366e7(0x371)][_0xc366e7(0x35f)],'leaveEvent':_0x3d75bf['data'][_0xc366e7(0x3a8)]};break;}case g[_0xc366e7(0x371)][_0xc366e7(0x20e)]:{_0x47fe77={'eventID':g[_0xc366e7(0x371)][_0xc366e7(0x20e)],'joinEvent':_0x3d75bf[_0xc366e7(0x3a8)][_0xc366e7(0x3a8)]};break;}case g[_0xc366e7(0x371)][_0xc366e7(0x21c)]:{_0x47fe77={'eventID':g[_0xc366e7(0x371)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x3d75bf[_0xc366e7(0x3a8)]['data']};break;}case g['CollaborationEvent']['LIVESHARE_OPERATION']:{_0x47fe77={'eventID':g[_0xc366e7(0x371)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x3d75bf[_0xc366e7(0x3a8)][_0xc366e7(0x3a8)]};break;}case g['CollaborationEvent'][_0xc366e7(0x407)]:{_0x47fe77={'eventID':g['CollaborationEvent'][_0xc366e7(0x407)],'liveShareTerminate':_0x3d75bf[_0xc366e7(0x3a8)][_0xc366e7(0x3a8)]};break;}case g['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:{_0x47fe77={'eventID':g[_0xc366e7(0x371)][_0xc366e7(0x29a)],'liveShareRequestHost':_0x3d75bf[_0xc366e7(0x3a8)][_0xc366e7(0x3a8)]};break;}case g['CollaborationEvent'][_0xc366e7(0x27c)]:{_0x47fe77={'eventID':g[_0xc366e7(0x371)][_0xc366e7(0x27c)]};break;}default:_0x47fe77={'eventID':_0x3d75bf[_0xc366e7(0x3a8)][_0xc366e7(0x25b)]};}return JSON[_0xc366e7(0x3a6)]({'cmd':_0x3d75bf['cmd'],'routeKey':_0x3d75bf[_0xc366e7(0x42c)],'collaMsg':_0x47fe77});}case W[_0xc366e7(0x397)]:return JSON[_0xc366e7(0x3a6)]({'cmd':_0x3d75bf[_0xc366e7(0x4cc)],'routeKey':_0x3d75bf[_0xc366e7(0x42c)],'joinReq':_0x3d75bf['data']});case W[_0xc366e7(0x431)]:return JSON[_0xc366e7(0x3a6)]({'cmd':_0x3d75bf['cmd'],'routeKey':_0x3d75bf[_0xc366e7(0x42c)],'leaveReq':_0x3d75bf['data']});default:throw new Error(_0xc366e7(0x3ed));}}var Xt=Object[_0xf5384(0x2b5)],Zt=(_0x1c5ae3,_0x17069e,_0x5e3134,_0x47aa26)=>{var _0x52af34=_0xf5384;for(var _0x39b915=_0x47aa26>0x1?void 0x0:_0x47aa26?Xt(_0x17069e,_0x5e3134):_0x17069e,_0x862a03=_0x1c5ae3[_0x52af34(0x39f)]-0x1,_0x48ebad;_0x862a03>=0x0;_0x862a03--)(_0x48ebad=_0x1c5ae3[_0x862a03])&&(_0x39b915=_0x48ebad(_0x39b915)||_0x39b915);return _0x39b915;},le=(_0x45879b,_0xa5e32a)=>(_0x62c1fa,_0x1f5189)=>_0xa5e32a(_0x62c1fa,_0x1f5189,_0x45879b);const $e=a['createIdentifier'](_0xf5384(0x4e0));function Qt(_0x46dd6e,_0x1f81d6,_0x27739b){var _0x9e982b=_0xf5384;return _0x46dd6e+'/'+_0x1f81d6+'/unit/'+_0x27739b+_0x9e982b(0x390);}exports[_0xf5384(0x48c)]=class extends a[_0xf5384(0x506)]{constructor(_0x34078f,_0x541917,_0x3d6e8b,_0x3e11af,_0x3ebfe4){var _0x337979=_0xf5384;super(),this['_injector']=_0x34078f,this[_0x337979(0x3e7)]=_0x541917,this[_0x337979(0x2b0)]=_0x3d6e8b,this[_0x337979(0x4be)]=_0x3e11af,this[_0x337979(0x1b6)]=_0x3ebfe4;}[_0xf5384(0x4d7)](_0x2965b8){var _0x5362d3=_0xf5384;const _0x1f3d85=this[_0x5362d3(0x3f2)][_0x5362d3(0x1f9)](q[_0x5362d3(0x432)]);if(!_0x1f3d85)throw new Error(_0x5362d3(0x228));const _0x549063=_0x1f3d85[_0x5362d3(0x1e9)](_0x2965b8);if(!_0x549063)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x5e22ff=new a['DisposableCollection'](),_0x11d5db=new j[(_0x5362d3(0x45b))]();_0x5e22ff[_0x5362d3(0x31f)](_0x549063[_0x5362d3(0x191)]['subscribe'](_0x37371b=>_0x11d5db['next'](_0x37371b))),_0x5e22ff[_0x5362d3(0x31f)](a[_0x5362d3(0x291)](()=>_0x11d5db['complete']()));const _0x14f298=new j[(_0x5362d3(0x45b))]();_0x5e22ff[_0x5362d3(0x31f)](_0x549063['error$'][_0x5362d3(0x30e)](_0x5c44ca=>_0x14f298[_0x5362d3(0x3d8)](_0x5c44ca))),_0x5e22ff[_0x5362d3(0x31f)](a[_0x5362d3(0x291)](()=>_0x14f298[_0x5362d3(0x364)]()));const _0x39495b=new j['Subject']();_0x5e22ff[_0x5362d3(0x31f)](_0x549063['message$'][_0x5362d3(0x30e)](_0x160e17=>{const _0x954bf0=Rt(_0x160e17);_0x39495b['next'](_0x954bf0);})),_0x5e22ff[_0x5362d3(0x31f)](a[_0x5362d3(0x291)](()=>_0x39495b[_0x5362d3(0x364)]()));let _0x5384ae;const _0x1a58a5=()=>{var _0x512bee=_0x5362d3;_0x14f298['next'](new Event(_0x512bee(0x2b2))),_0x11d5db[_0x512bee(0x3d8)](new Event(_0x512bee(0x2b2))),_0x5384ae[_0x512bee(0x39b)]();};return _0x5384ae={'memberID':'','close$':_0x11d5db[_0x5362d3(0x3b4)](),'error$':_0x14f298[_0x5362d3(0x3b4)](),'open$':_0x549063[_0x5362d3(0x30d)],'message$':_0x39495b[_0x5362d3(0x3b4)](),'send':_0x34ad9d=>{var _0x42a1ca=_0x5362d3;if(_0x34ad9d[_0x42a1ca(0x4cc)]===W['INGEST']){if(_0x34ad9d['data'][_0x42a1ca(0x25b)]===g[_0x42a1ca(0x371)][_0x42a1ca(0x20f)]){this[_0x42a1ca(0x1b9)](_0x5384ae,_0x34ad9d[_0x42a1ca(0x3a8)])['catch'](_0x53e7a2=>{var _0x304236=_0x42a1ca;this[_0x304236(0x4be)][_0x304236(0x1bf)](_0x53e7a2),_0x1a58a5();});return;}if(_0x34ad9d['data'][_0x42a1ca(0x25b)]===g[_0x42a1ca(0x371)][_0x42a1ca(0x255)]){const _0x5be058=_0x34ad9d['data'];this[_0x42a1ca(0x43f)](_0x5be058)['then'](_0x54ce69=>{var _0x412e62=_0x42a1ca;_0x39495b['next']({'cmd':W[_0x412e62(0x485)],'code':ae['OK'],'routeKey':_0x5be058[_0x412e62(0x3a8)][_0x412e62(0x418)],'routeType':'','data':{'eventID':g[_0x412e62(0x371)][_0x412e62(0x383)],'data':{'changesets':_0x54ce69}}});})['catch'](_0x939f3f=>{var _0x56eb03=_0x42a1ca;this['_logService'][_0x56eb03(0x1bf)](_0x939f3f),_0x1a58a5();});return;}}_0x549063[_0x42a1ca(0x262)](Ot(_0x34ad9d));},'close':()=>{var _0x193eb3=_0x5362d3;_0x549063[_0x193eb3(0x39b)](),_0x5e22ff[_0x193eb3(0x479)]();}},_0x5384ae;}async[_0xf5384(0x1b9)](_0x54166c,_0x2a42d6){var _0x4fa30f=_0xf5384,_0x514927,_0x1a470b;const {unitType:_0x44e342,unitID:_0x160813,changeset:_0x4bf8c6}=_0x2a42d6['data'],_0xdf2fb6={'unitID':_0x160813,'memberID':_0x54166c['memberID'],'type':_0x44e342,'changeset':g[_0x4fa30f(0x3b9)](_0x4bf8c6)},_0x2f0180=this['_configService'][_0x4fa30f(0x464)](mt),_0x27490e=this[_0x4fa30f(0x2b0)]['getConfig'](Y),_0x4db256=Qt((_0x1a470b=(_0x514927=_0x27490e==null?void 0x0:_0x27490e[_0x4fa30f(0x398)])!=null?_0x514927:_0x2f0180)!=null?_0x1a470b:Kt,_0x44e342,_0x160813);try{await this[_0x4fa30f(0x3e7)][_0x4fa30f(0x3e5)](_0x4db256,{'body':_0xdf2fb6});}catch(_0x2806b4){throw this['_logService'][_0x4fa30f(0x1bf)]('[CollaborationSession]',_0x4fa30f(0x473)),_0x2806b4;}}async[_0xf5384(0x43f)](_0x2e4a0b){var _0x54be2b=_0xf5384;const {unitID:_0x4dd6af,from:_0x5098f4,to:_0x5bdbaa,unitType:_0x5b5795}=_0x2e4a0b[_0x54be2b(0x3a8)];return(await this[_0x54be2b(0x1b6)][_0x54be2b(0x4dc)]({'metadata':void 0x0},{'unitID':_0x4dd6af,'type':_0x5b5795,'from':_0x5098f4,'to':_0x5bdbaa}))[_0x54be2b(0x1d5)];}},exports[_0xf5384(0x48c)]=Zt([le(0x0,a['Inject'](a[_0xf5384(0x247)])),le(0x1,a[_0xf5384(0x490)](q[_0xf5384(0x499)])),le(0x2,a['IConfigService']),le(0x3,a['ILogService']),le(0x4,g[_0xf5384(0x4f7)])],exports[_0xf5384(0x48c)]);const ei=_0xf5384(0x315);function ti(_0x214b63){var _0x4d2085=_0xf5384;return JSON[_0x4d2085(0x3a6)](_0x214b63)[_0x4d2085(0x39f)];}class Be{constructor(){var _0x22c88f=_0xf5384;A(this,_0x22c88f(0x3a4),new j[(_0x22c88f(0x45b))]()),A(this,_0x22c88f(0x2fc),this['_commentUpdate$'][_0x22c88f(0x3b4)]());}[_0xf5384(0x221)](_0x3a385e){var _0x117468=_0xf5384;this[_0x117468(0x3a4)][_0x117468(0x3d8)](_0x3a385e);}}var ii=Object[_0xf5384(0x2b5)],ni=(_0x3dc00a,_0x4429ab,_0x5acea1,_0x3b63c0)=>{var _0x48f9ae=_0xf5384;for(var _0x1c1e66=_0x3b63c0>0x1?void 0x0:_0x3b63c0?ii(_0x4429ab,_0x5acea1):_0x4429ab,_0x127a6c=_0x3dc00a[_0x48f9ae(0x39f)]-0x1,_0xa41013;_0x127a6c>=0x0;_0x127a6c--)(_0xa41013=_0x3dc00a[_0x127a6c])&&(_0x1c1e66=_0xa41013(_0x1c1e66)||_0x1c1e66);return _0x1c1e66;},Ke=(_0x80b0f7,_0x5a73d1)=>(_0x18c646,_0x3014f7)=>_0x5a73d1(_0x18c646,_0x3014f7,_0x80b0f7);exports[_0xf5384(0x1cd)]=class extends a['Disposable']{constructor(_0x22252e,_0x3dc373){var _0x301617=_0xf5384;super(),A(this,_0x301617(0x442),new Map()),A(this,'_roomCreated$',new j[(_0x301617(0x45b))]()),(this[_0x301617(0x1eb)]=_0x22252e,this[_0x301617(0x4a4)]=_0x3dc373,this['disposeWithMe'](j[_0x301617(0x3a5)](this[_0x301617(0x1eb)][_0x301617(0x408)](a[_0x301617(0x278)][_0x301617(0x33e)])[_0x301617(0x446)](V['map'](_0x1da6bd=>_0x1da6bd['getUnitId']())),this['_univerInstanceService'][_0x301617(0x408)](a['UniverInstanceType'][_0x301617(0x1d1)])[_0x301617(0x446)](V['map'](_0x5b84ae=>_0x5b84ae[_0x301617(0x2b8)]())),this[_0x301617(0x1eb)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x301617(0x3ba)])[_0x301617(0x446)](V['map'](_0x2b2d6b=>_0x2b2d6b[_0x301617(0x2b8)]())))[_0x301617(0x30e)](_0x3ede8b=>this[_0x301617(0x345)](_0x3ede8b))));}['waitForRoom$'](_0x3916f9){var _0x247d4f=_0xf5384;return this[_0x247d4f(0x442)][_0x247d4f(0x2e9)](_0x3916f9)?j['of'](this[_0x247d4f(0x442)]['get'](_0x3916f9)):this[_0x247d4f(0x40a)][_0x247d4f(0x446)](V['map'](_0x8512fc=>{var _0x372bf8=_0x247d4f;if(_0x8512fc===_0x3916f9)return this[_0x372bf8(0x442)][_0x372bf8(0x1f9)](_0x8512fc);}));}[_0xf5384(0x25c)](_0x3b2d26){var _0x512883=_0xf5384;this['_userManagerService'][_0x512883(0x25c)](_0x3b2d26);}['getCurrentUser'](){var _0x28a950=_0xf5384;return this[_0x28a950(0x4a4)][_0x28a950(0x314)]();}['updateMember'](_0x2f18f7,_0x550b9d){var _0x29bd23=_0xf5384;let _0x52c6ae=this['_roomMembers']['get'](_0x2f18f7);_0x52c6ae||(_0x52c6ae=new ri(),this['_roomMembers']['set'](_0x2f18f7,_0x52c6ae),this[_0x29bd23(0x40a)]['next'](_0x2f18f7)),_0x52c6ae[_0x29bd23(0x2ab)](_0x550b9d);}['removeMember'](_0xab6fb,_0x4fae6c){var _0x1b2a02=_0xf5384;const _0x36e8fd=this['_roomMembers'][_0x1b2a02(0x1f9)](_0xab6fb);_0x36e8fd&&_0x36e8fd['removeMember'](_0x4fae6c);}[_0xf5384(0x1cc)](_0x5b15dd){var _0xaa68bb=_0xf5384;return this[_0xaa68bb(0x442)][_0xaa68bb(0x1f9)](_0x5b15dd);}[_0xf5384(0x342)](_0x4ed014,_0x123f13){var _0x1d21d6=_0xf5384;const _0x41cebd=this[_0x1d21d6(0x442)]['get'](_0x4ed014);if(_0x41cebd)return _0x41cebd['getMember'](_0x123f13);}['_removeRoom'](_0x50dd22){var _0x3384fe=_0xf5384;const _0x34e32c=this[_0x3384fe(0x442)]['get'](_0x50dd22);_0x34e32c&&(_0x34e32c[_0x3384fe(0x479)](),this[_0x3384fe(0x442)]['delete'](_0x50dd22));}[_0xf5384(0x479)](){var _0x3d3d51=_0xf5384;this[_0x3d3d51(0x442)][_0x3d3d51(0x22c)](_0x5a3d23=>_0x5a3d23[_0x3d3d51(0x479)]()),this[_0x3d3d51(0x442)][_0x3d3d51(0x373)](),this[_0x3d3d51(0x40a)][_0x3d3d51(0x364)]();}},exports[_0xf5384(0x1cd)]=ni([Ke(0x0,a['IUniverInstanceService']),Ke(0x1,a['Inject'](a[_0xf5384(0x423)]))],exports[_0xf5384(0x1cd)]);class ri extends a[_0xf5384(0x506)]{constructor(){var _0x1257d4=_0xf5384;super(...arguments),A(this,_0x1257d4(0x512),new Map()),A(this,_0x1257d4(0x204),new j[(_0x1257d4(0x3a7))](this['_members'])),A(this,'members$',this[_0x1257d4(0x204)][_0x1257d4(0x3b4)]());}[_0xf5384(0x479)](){var _0x3f57dd=_0xf5384;this[_0x3f57dd(0x512)][_0x3f57dd(0x373)]();}[_0xf5384(0x2ab)](_0xc6d123){var _0x50972f=_0xf5384;this[_0x50972f(0x512)][_0x50972f(0x1b4)](_0xc6d123['memberID'],_0xc6d123),this['_emitMembers']();}[_0xf5384(0x1f6)](_0x5365d8){var _0x154db7=_0xf5384;this['_members'][_0x154db7(0x290)](_0x5365d8);}[_0xf5384(0x342)](_0x1ff681){var _0x3b763f=_0xf5384;return this[_0x3b763f(0x512)][_0x3b763f(0x1f9)](_0x1ff681);}[_0xf5384(0x50a)](){var _0x1741bc=_0xf5384;return Array[_0x1741bc(0x1c4)](this[_0x1741bc(0x512)][_0x1741bc(0x28b)]());}[_0xf5384(0x334)](){var _0x572f1a=_0xf5384;this[_0x572f1a(0x204)]['next'](this['_members']);}}var si=Object['getOwnPropertyDescriptor'],oi=(_0x2f5aa9,_0x12c526,_0x1b1db8,_0x30b8fb)=>{var _0x3c5072=_0xf5384;for(var _0x119018=_0x30b8fb>0x1?void 0x0:_0x30b8fb?si(_0x12c526,_0x1b1db8):_0x12c526,_0x2268c4=_0x2f5aa9[_0x3c5072(0x39f)]-0x1,_0x4974de;_0x2268c4>=0x0;_0x2268c4--)(_0x4974de=_0x2f5aa9[_0x2268c4])&&(_0x119018=_0x4974de(_0x119018)||_0x119018);return _0x119018;},oe=(_0x331de5,_0x4a829e)=>(_0x576561,_0x39189a)=>_0x4a829e(_0x576561,_0x39189a,_0x331de5),se=(_0x4cc639=>(_0x4cc639[_0x4cc639[_0xf5384(0x501)]=0x0]='IDLE',_0x4cc639[_0x4cc639[_0xf5384(0x409)]=0x1]=_0xf5384(0x409),_0x4cc639[_0x4cc639['OFFLINE']=0x2]=_0xf5384(0x3c9),_0x4cc639[_0x4cc639[_0xf5384(0x298)]=0x3]=_0xf5384(0x298),_0x4cc639))(se||{});const Ye={[ae[_0xf5384(0x38a)]]:_0xf5384(0x2c7),[ae[_0xf5384(0x48b)]]:_0xf5384(0x282),[ae['JOIN_ROOM_NOT_EXISTS']]:_0xf5384(0x299),[ae[_0xf5384(0x2e6)]]:_0xf5384(0x4b0),[ae['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0xf5384(0x3b6)};exports[_0xf5384(0x3a3)]=class extends a['RxDisposable']{constructor(_0xf023f7,_0x9ce10b,_0x85ef00,_0x211462,_0x509525,_0x211c1f,_0x55eab8,_0xe12585,_0x43ff7d){var _0x23a0c3=_0xf5384;super(),A(this,_0x23a0c3(0x336),new j[(_0x23a0c3(0x3a7))](0x0)),A(this,_0x23a0c3(0x3f3),this['_sessionStatus$'][_0x23a0c3(0x3b4)]()),A(this,_0x23a0c3(0x1dc),new j[(_0x23a0c3(0x45b))]()),A(this,'event$',this['_event$']['asObservable']()),A(this,_0x23a0c3(0x2f8)),A(this,_0x23a0c3(0x2ec)),A(this,_0x23a0c3(0x1bb)),A(this,'_shouldReportTelemetry',!0x1),A(this,_0x23a0c3(0x207),null),(this['_unitID']=_0xf023f7,this[_0x23a0c3(0x4be)]=_0x85ef00,this[_0x23a0c3(0x2b0)]=_0x211462,this[_0x23a0c3(0x289)]=_0x509525,this[_0x23a0c3(0x2f1)]=_0x211c1f,this['_commentService']=_0x55eab8,this[_0x23a0c3(0x3e8)]=_0xe12585,this[_0x23a0c3(0x29e)]=_0x43ff7d,this[_0x23a0c3(0x331)]=!!this[_0x23a0c3(0x29e)],_0x9ce10b['pipe'](j['takeUntil'](this['dispose$']))[_0x23a0c3(0x30e)](_0x30956a=>{var _0x5a2126=_0x23a0c3,_0x285461;typeof _0x30956a>'u'||(this['_socket']=_0x30956a,_0x30956a?(this['_joinRoom'](_0x30956a),this[_0x5a2126(0x2ec)]=_0x30956a[_0x5a2126(0x352)][_0x5a2126(0x30e)](_0x2f606e=>{var _0x11a99c=_0x5a2126;_0x2f606e[_0x11a99c(0x42c)]===this['_unitID']&&this[_0x11a99c(0x319)](_0x2f606e);})):(this[_0x5a2126(0x3d9)](),this['_sessionStatus$']['next'](0x2),(_0x285461=this[_0x5a2126(0x2ec)])==null||_0x285461[_0x5a2126(0x42d)](),this[_0x5a2126(0x2ec)]=null));}));}get[_0xf5384(0x22b)](){return this['_sessionStatus$']['getValue']();}[_0xf5384(0x4e9)](){var _0x1be500=_0xf5384,_0xd742d3,_0x53652b;return(_0x53652b=(_0xd742d3=this[_0x1be500(0x2f8)])==null?void 0x0:_0xd742d3['memberID'])!=null?_0x53652b:null;}[_0xf5384(0x479)](){var _0x4773ee=_0xf5384;super[_0x4773ee(0x479)](),this['dispose$']['next'](),this[_0x4773ee(0x2bf)][_0x4773ee(0x364)]();}[_0xf5384(0x39b)](){var _0x81fa85=_0xf5384,_0x2f3259,_0xd368a8;this[_0x81fa85(0x3d9)](),(_0x2f3259=this[_0x81fa85(0x2f8)])==null||_0x2f3259[_0x81fa85(0x262)]({'cmd':W[_0x81fa85(0x431)],'data':{'roomID':this['_unitID']}}),(_0xd368a8=this[_0x81fa85(0x2f8)])==null||_0xd368a8['close'](),this[_0x81fa85(0x1dc)][_0x81fa85(0x364)](),this['_sessionStatus$'][_0x81fa85(0x364)](),this['dispose']();}[_0xf5384(0x319)](_0x51a787){var _0x3f72b3=_0xf5384;_0x51a787[_0x3f72b3(0x4cc)]===W['JOIN']?this['_onJoinRoomEvent'](_0x51a787):_0x51a787['cmd']===W[_0x3f72b3(0x485)]&&this[_0x3f72b3(0x4ec)](_0x51a787);}[_0xf5384(0x28a)](_0x1aa2ed){var _0x424316=_0xf5384;this[_0x424316(0x336)][_0x424316(0x3d8)](0x1),_0x1aa2ed[_0x424316(0x262)]({'cmd':W[_0x424316(0x397)],'routeKey':this[_0x424316(0x1ce)],'routeType':'','data':{'rooms':[{'roomID':this[_0x424316(0x1ce)]}]}});}[_0xf5384(0x1a8)](_0x5cfcdf){var _0x40db55=_0xf5384,_0x251668;if(_0x5cfcdf[_0x40db55(0x4c7)]in Ye){this[_0x40db55(0x3e8)][_0x40db55(0x280)]({'id':Q[_0x40db55(0x4fc)],'data':Ye[_0x5cfcdf['code']]}),this[_0x40db55(0x336)]['next'](0x2);return;}this[_0x40db55(0x336)][_0x40db55(0x3d8)](0x3);const _0x9ce99f=(_0x251668=_0x5cfcdf[_0x40db55(0x3a8)]['roomInfos'][this[_0x40db55(0x1ce)]])==null?void 0x0:_0x251668[_0x40db55(0x220)];_0x9ce99f&&_0x9ce99f[_0x40db55(0x22c)](_0x242143=>this[_0x40db55(0x2f1)]['updateMember'](this[_0x40db55(0x1ce)],_0x242143));}['_onRecvEvent'](_0x2f918b){var _0x4318ef=_0xf5384;try{const _0x4a4be2=_0x2f918b[_0x4318ef(0x3a8)];switch(_0x4a4be2[_0x4318ef(0x25b)]){case g[_0x4318ef(0x371)][_0x4318ef(0x20e)]:this[_0x4318ef(0x240)](_0x4a4be2),this[_0x4318ef(0x1dc)][_0x4318ef(0x3d8)](_0x4a4be2);break;case g[_0x4318ef(0x371)][_0x4318ef(0x35f)]:this[_0x4318ef(0x4bb)](_0x4a4be2),this[_0x4318ef(0x1dc)]['next'](_0x4a4be2);break;case g[_0x4318ef(0x371)][_0x4318ef(0x27d)]:case g[_0x4318ef(0x371)]['CHANGESET_SHOULD_RETRY']:this[_0x4318ef(0x1fd)](),this['_clearCollaborationTimeoutTimer'](),this[_0x4318ef(0x1dc)][_0x4318ef(0x3d8)](_0x4a4be2);break;case g[_0x4318ef(0x371)][_0x4318ef(0x2d6)]:this[_0x4318ef(0x4be)][_0x4318ef(0x1bf)](_0x4318ef(0x517)+JSON[_0x4318ef(0x3a6)](_0x4a4be2)),this[_0x4318ef(0x1dc)]['next'](_0x4a4be2);break;case g[_0x4318ef(0x371)][_0x4318ef(0x4f5)]:this['_commentService'][_0x4318ef(0x221)](_0x4a4be2[_0x4318ef(0x3a8)]),this[_0x4318ef(0x1dc)][_0x4318ef(0x3d8)](_0x4a4be2);break;default:this['_event$'][_0x4318ef(0x3d8)](_0x4a4be2);}}catch(_0x483504){this['_logService'][_0x4318ef(0x1bf)](_0x483504,_0x2f918b);}}[_0xf5384(0x240)](_0x56a306){var _0x18c8cd=_0xf5384;this[_0x18c8cd(0x2f1)][_0x18c8cd(0x2ab)](this['_unitID'],_0x56a306['data']);}[_0xf5384(0x4bb)](_0x204969){var _0xe0b9d8=_0xf5384;this[_0xe0b9d8(0x2f1)]['removeMember'](this[_0xe0b9d8(0x1ce)],_0x204969[_0xe0b9d8(0x3a8)]['memberID']);}async[_0xf5384(0x262)](_0x5b08ac,_0x5c432e){var _0x1b04f3=_0xf5384;if(this[_0x1b04f3(0x22b)]!==0x3||!this[_0x1b04f3(0x2f8)])throw new Error(_0x1b04f3(0x458));try{_0x5b08ac[_0x1b04f3(0x25b)]===g[_0x1b04f3(0x371)][_0x1b04f3(0x20f)]&&(this[_0x1b04f3(0x1d2)](),this[_0x1b04f3(0x4a3)](_0x5b08ac)),this[_0x1b04f3(0x2f8)]['send']({'cmd':W[_0x1b04f3(0x2ca)],'routeKey':_0x5c432e,'routeType':'','data':_0x5b08ac});}catch(_0x41ec3d){this[_0x1b04f3(0x4be)]['error'](_0x41ec3d);}}['_scheduleCollaborationTimeoutTimer'](){var _0x1fbdf1=_0xf5384,_0xfba9f6;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x2c7962=_0x4e4b;this[_0x2c7962(0x1bb)]=null,this[_0x2c7962(0x3e8)][_0x2c7962(0x280)]({'id':Q[_0x2c7962(0x46f)]});},(_0xfba9f6=this[_0x1fbdf1(0x2b0)][_0x1fbdf1(0x464)](je))!=null?_0xfba9f6:gt);}['_clearCollaborationTimeoutTimer'](){var _0xf6c362=_0xf5384;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0xf6c362(0x1bb)]),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x382ecd){var _0x3ce654=_0xf5384;if(!this[_0x3ce654(0x331)])return;const {data:_0x2b492f}=_0x382ecd,{unitID:_0x111707,changeset:_0x107d62}=_0x2b492f,{mutations:_0x97f6f0,type:_0x4bfac1}=_0x107d62;this[_0x3ce654(0x207)]={'unitId':_0x111707,'type':_0x4bfac1,'startTime':performance[_0x3ce654(0x1f4)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x97f6f0)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x215880=_0xf5384;if(this[_0x215880(0x331)]){if(!this['_telemetryInfo']){this['_logService'][_0x215880(0x1bf)]('[CollaborationSession]',_0x215880(0x307));return;}this[_0x215880(0x207)][_0x215880(0x4ba)]=performance[_0x215880(0x1f4)](),this[_0x215880(0x207)][_0x215880(0x2c8)]=this[_0x215880(0x207)][_0x215880(0x4ba)]-this[_0x215880(0x207)][_0x215880(0x1e1)],this[_0x215880(0x29e)][_0x215880(0x503)](ei,this[_0x215880(0x207)]),this['_telemetryInfo']=null;}}[_0xf5384(0x3d9)](){this['_telemetryInfo']=null;}},exports['CollaborationSession']=oi([oe(0x2,a['ILogService']),oe(0x3,a[_0xf5384(0x475)]),oe(0x4,a[_0xf5384(0x490)](a['LocaleService'])),oe(0x5,a['Inject'](exports[_0xf5384(0x1cd)])),oe(0x6,a[_0xf5384(0x490)](Be)),oe(0x7,a[_0xf5384(0x490)](te)),oe(0x8,a[_0xf5384(0x1b8)](Mt[_0xf5384(0x2ed)]))],exports['CollaborationSession']);var ai=Object[_0xf5384(0x2b5)],ci=(_0x3f60d7,_0x2d9bdf,_0x55227d,_0x98809)=>{var _0x39ce34=_0xf5384;for(var _0x1c6718=_0x98809>0x1?void 0x0:_0x98809?ai(_0x2d9bdf,_0x55227d):_0x2d9bdf,_0xf1d34c=_0x3f60d7[_0x39ce34(0x39f)]-0x1,_0x50af80;_0xf1d34c>=0x0;_0xf1d34c--)(_0x50af80=_0x3f60d7[_0xf1d34c])&&(_0x1c6718=_0x50af80(_0x1c6718)||_0x1c6718);return _0x1c6718;},_e=(_0xb4e3db,_0x17b292)=>(_0x3b8ccf,_0x688dd7)=>_0x17b292(_0x3b8ccf,_0x688dd7,_0xb4e3db);exports[_0xf5384(0x4b8)]=class extends a[_0xf5384(0x506)]{constructor(_0x145d98,_0x3de6da,_0x973330,_0x4e1dea,_0x1263db,_0x18dadb){var _0x5591ed=_0xf5384;super(),A(this,'_socket$',new j['BehaviorSubject'](void 0x0)),A(this,_0x5591ed(0x4d4),this['_socket$']['asObservable']()),A(this,_0x5591ed(0x4ef),null),A(this,_0x5591ed(0x395),new Map()),A(this,_0x5591ed(0x45e),new j[(_0x5591ed(0x3a7))](se[_0x5591ed(0x501)])),A(this,_0x5591ed(0x1ca),this[_0x5591ed(0x45e)][_0x5591ed(0x3b4)]()),A(this,_0x5591ed(0x190),!0x1),A(this,_0x5591ed(0x1c5)),A(this,'_retryCount',0x0),A(this,'_sendHeartbeatTimer'),A(this,'_timeoutTimer'),(this[_0x5591ed(0x3f2)]=_0x145d98,this[_0x5591ed(0x4be)]=_0x3de6da,this[_0x5591ed(0x2b0)]=_0x973330,this[_0x5591ed(0x4b6)]=_0x4e1dea,this[_0x5591ed(0x3e8)]=_0x1263db,this['_networkConditionService']=_0x18dadb,this[_0x5591ed(0x477)]());}get['_socket'](){var _0x21589c=_0xf5384;return this[_0x21589c(0x3d6)][_0x21589c(0x237)]();}[_0xf5384(0x477)](){var _0x22c0f8=_0xf5384;this[_0x22c0f8(0x3f9)]&&this[_0x22c0f8(0x480)](this[_0x22c0f8(0x3f9)][_0x22c0f8(0x470)][_0x22c0f8(0x30e)](_0x1beb32=>{var _0x152fca=_0x22c0f8;_0x1beb32&&!this[_0x152fca(0x2f8)]&&this[_0x152fca(0x263)](),_0x1beb32||this[_0x152fca(0x1db)]();}));}[_0xf5384(0x479)](){var _0x59669a=_0xf5384;super[_0x59669a(0x479)](),this['_clearRetryConnectingTimer'](),this[_0x59669a(0x326)](),this['_clearHeartbeatTimer'](),this[_0x59669a(0x395)][_0x59669a(0x22c)](_0x33a59f=>_0x33a59f[_0x59669a(0x479)]()),this['_sessions']['clear'](),this[_0x59669a(0x45e)][_0x59669a(0x364)]();}async[_0xf5384(0x24d)](_0x4d9b3e){var _0x7c5481=_0xf5384;if(this[_0x7c5481(0x395)][_0x7c5481(0x2e9)](_0x4d9b3e))return this['_sessions'][_0x7c5481(0x1f9)](_0x4d9b3e);this[_0x7c5481(0x38c)]();const _0x218db5=this[_0x7c5481(0x3f2)][_0x7c5481(0x1ee)](exports[_0x7c5481(0x3a3)],_0x4d9b3e,this[_0x7c5481(0x3d6)][_0x7c5481(0x3b4)]());return this[_0x7c5481(0x395)][_0x7c5481(0x1b4)](_0x4d9b3e,_0x218db5),_0x218db5;}[_0xf5384(0x2f0)](_0x1cdf07){var _0x206f33=_0xf5384,_0x125386;const _0x4efef1=this['_sessions']['get'](_0x1cdf07);_0x4efef1&&(this[_0x206f33(0x395)]['delete'](_0x1cdf07),_0x4efef1[_0x206f33(0x39b)]()),this['_sessions'][_0x206f33(0x275)]||(_0x125386=this[_0x206f33(0x2f8)])==null||_0x125386[_0x206f33(0x39b)]();}['reconnect'](){var _0xb871d5=_0xf5384;this[_0xb871d5(0x4e3)]=0x0,this[_0xb871d5(0x2d7)](),this[_0xb871d5(0x241)]();}[_0xf5384(0x2d7)](){var _0x32e9b9=_0xf5384;this[_0x32e9b9(0x1c5)]!=null&&(clearTimeout(this[_0x32e9b9(0x1c5)]),this[_0x32e9b9(0x1c5)]=null);}async['_createSocket'](){var _0x305bd4=_0xf5384,_0x111a68,_0x51e3fa;const _0x61d30c=this[_0x305bd4(0x2b0)][_0x305bd4(0x464)](St),_0x11b77e=this[_0x305bd4(0x2b0)]['getConfig'](Y),_0x3155a4=(_0x51e3fa=(_0x111a68=_0x11b77e==null?void 0x0:_0x11b77e[_0x305bd4(0x514)])!=null?_0x111a68:_0x61d30c)!=null?_0x51e3fa:ft,_0x12d2d4=await this[_0x305bd4(0x4b6)][_0x305bd4(0x1e9)](_0x3155a4);return this[_0x305bd4(0x4ef)]=_0x12d2d4,_0x12d2d4;}async[_0xf5384(0x38c)](){var _0x1e8ec2=_0xf5384,_0x392a11,_0x3443ee;try{const _0x3d5c38=(_0x3443ee=(_0x392a11=this[_0x1e8ec2(0x2f8)])!=null?_0x392a11:this['_candidateSocket'])!=null?_0x3443ee:await this[_0x1e8ec2(0x285)]();if(_0x3d5c38){const _0x4a5dc7=_0x3d5c38[_0x1e8ec2(0x262)];_0x3d5c38['send']=_0x30522d=>(this['_rescheduleHeartbeat'](),_0x4a5dc7[_0x1e8ec2(0x346)](_0x3d5c38,[_0x30522d])),_0x3d5c38[_0x1e8ec2(0x352)][_0x1e8ec2(0x30e)](_0x541feb=>this[_0x1e8ec2(0x24b)](_0x3d5c38,_0x541feb)),_0x3d5c38['error$']['pipe'](V[_0x1e8ec2(0x28d)](0x1))['subscribe'](_0x3b0320=>this[_0x1e8ec2(0x4be)]['error'](_0x1e8ec2(0x1c7),_0x3b0320)),_0x3d5c38[_0x1e8ec2(0x30d)][_0x1e8ec2(0x446)](V[_0x1e8ec2(0x28d)](0x1))[_0x1e8ec2(0x30e)](()=>{var _0x577b98=_0x1e8ec2;this[_0x577b98(0x429)](_0x3d5c38);}),_0x3d5c38[_0x1e8ec2(0x191)]['pipe'](V[_0x1e8ec2(0x28d)](0x1))['subscribe'](_0x5368a0=>{var _0x43df29=_0x1e8ec2;this[_0x43df29(0x4be)][_0x43df29(0x3cf)](_0x43df29(0x3ea),_0x43df29(0x354),_0x5368a0),this[_0x43df29(0x363)]();});}}catch(_0x5728a5){this[_0x1e8ec2(0x4be)]['error'](_0x5728a5),this[_0x1e8ec2(0x363)]();}}[_0xf5384(0x429)](_0x542962){var _0x31436d=_0xf5384;this[_0x31436d(0x4be)][_0x31436d(0x3cf)](_0x31436d(0x3ea),_0x31436d(0x406)),_0x542962[_0x31436d(0x262)]({'cmd':W[_0x31436d(0x45d)]}),this[_0x31436d(0x338)]();}['_onOffline'](){var _0x7a0f5c=_0xf5384;this[_0x7a0f5c(0x190)]=!0x1,this[_0x7a0f5c(0x4ef)]=null,this['_status$'][_0x7a0f5c(0x3d8)](se['OFFLINE']),this[_0x7a0f5c(0x3d6)][_0x7a0f5c(0x3d8)](null),this[_0x7a0f5c(0x326)](),this['_clearHeartbeatTimer']();}[_0xf5384(0x363)](){var _0x20dfc6=_0xf5384,_0x4914bb;this['_onOffline'](),this['_retryCount']<((_0x4914bb=this[_0x20dfc6(0x2b0)][_0x20dfc6(0x464)](It))!=null?_0x4914bb:Vt)?(this[_0x20dfc6(0x3e8)][_0x20dfc6(0x280)]({'id':Q[_0x20dfc6(0x323)]}),this[_0x20dfc6(0x241)]()):this[_0x20dfc6(0x3e8)][_0x20dfc6(0x280)]({'id':Q[_0x20dfc6(0x20d)]});}[_0xf5384(0x241)](){var _0x57f5a1=_0xf5384,_0x29af02;const _0x37cfc6=this[_0x57f5a1(0x4e3)],_0x4150b7=this['_configService'][_0x57f5a1(0x464)](Y),_0x4ab42b=_0x37cfc6===0x0?0x0:((_0x29af02=_0x4150b7==null?void 0x0:_0x4150b7[_0x57f5a1(0x4ca)])!=null?_0x29af02:Ft)*0x2**_0x37cfc6;this[_0x57f5a1(0x1c5)]=setTimeout(()=>{var _0x2a97f2=_0x57f5a1;clearTimeout(this[_0x2a97f2(0x1c5)]),this[_0x2a97f2(0x1c5)]=null,this[_0x2a97f2(0x38c)]();},_0x4ab42b),this[_0x57f5a1(0x4e3)]+=0x1;}[_0xf5384(0x24b)](_0x38523b,_0x218158){var _0x6dd34f=_0xf5384;const {cmd:_0x436ab9}=_0x218158;_0x436ab9===W[_0x6dd34f(0x45d)]&&!this[_0x6dd34f(0x190)]&&(_0x38523b[_0x6dd34f(0x495)]=_0x218158[_0x6dd34f(0x3a8)][_0x6dd34f(0x495)],this[_0x6dd34f(0x3d6)][_0x6dd34f(0x3d8)](_0x38523b),this[_0x6dd34f(0x45e)][_0x6dd34f(0x3d8)](se[_0x6dd34f(0x298)]),this[_0x6dd34f(0x190)]=!0x0,this[_0x6dd34f(0x4ef)]=null),_0x436ab9===W[_0x6dd34f(0x498)]&&this['_clearTimeoutTimer'](),this[_0x6dd34f(0x338)]();}[_0xf5384(0x338)](){var _0x3c844e=_0xf5384,_0x50b98c;this[_0x3c844e(0x3fa)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x3c844e(0x1fe)](),(_0x50b98c=this[_0x3c844e(0x2b0)][_0x3c844e(0x464)](pt))!=null?_0x50b98c:Bt);}[_0xf5384(0x1fe)](){var _0x10c223=_0xf5384;this[_0x10c223(0x2f8)][_0x10c223(0x262)]({'cmd':W[_0x10c223(0x498)]}),this[_0x10c223(0x35d)]();}['_waitForHeartbeatResponse'](){var _0x45e6f5=_0xf5384,_0x3879ed;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x3879ed=this[_0x45e6f5(0x2b0)][_0x45e6f5(0x464)](je))!=null?_0x3879ed:gt);}[_0xf5384(0x3fa)](){var _0x932bdb=_0xf5384;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x932bdb(0x433)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x325534=_0xf5384;this[_0x325534(0x234)]!=null&&(clearTimeout(this[_0x325534(0x234)]),this[_0x325534(0x234)]=null);}},exports[_0xf5384(0x4b8)]=ci([_e(0x0,a[_0xf5384(0x490)](a[_0xf5384(0x247)])),_e(0x1,a[_0xf5384(0x1df)]),_e(0x2,a[_0xf5384(0x475)]),_e(0x3,$e),_e(0x4,a[_0xf5384(0x490)](te)),_e(0x5,a['Optional'](bt))],exports[_0xf5384(0x4b8)]);const G=[];for(let n=0x0;n<0x100;++n)G[_0xf5384(0x405)]((n+0x100)[_0xf5384(0x340)](0x10)[_0xf5384(0x46e)](0x1));function _0x4e4b(_0x3f3807,_0xfb9ec5){var _0x4041a1=_0x4041();return _0x4e4b=function(_0x4e4b70,_0x378d85){_0x4e4b70=_0x4e4b70-0x18f;var _0xbe86e8=_0x4041a1[_0x4e4b70];return _0xbe86e8;},_0x4e4b(_0x3f3807,_0xfb9ec5);}function hi(_0x18d0a9,_0x39c4a7=0x0){var _0x4ddbd5=_0xf5384;return(G[_0x18d0a9[_0x39c4a7+0x0]]+G[_0x18d0a9[_0x39c4a7+0x1]]+G[_0x18d0a9[_0x39c4a7+0x2]]+G[_0x18d0a9[_0x39c4a7+0x3]]+'-'+G[_0x18d0a9[_0x39c4a7+0x4]]+G[_0x18d0a9[_0x39c4a7+0x5]]+'-'+G[_0x18d0a9[_0x39c4a7+0x6]]+G[_0x18d0a9[_0x39c4a7+0x7]]+'-'+G[_0x18d0a9[_0x39c4a7+0x8]]+G[_0x18d0a9[_0x39c4a7+0x9]]+'-'+G[_0x18d0a9[_0x39c4a7+0xa]]+G[_0x18d0a9[_0x39c4a7+0xb]]+G[_0x18d0a9[_0x39c4a7+0xc]]+G[_0x18d0a9[_0x39c4a7+0xd]]+G[_0x18d0a9[_0x39c4a7+0xe]]+G[_0x18d0a9[_0x39c4a7+0xf]])[_0x4ddbd5(0x44a)]();}let Ue;const _i=new Uint8Array(0x10);function li(){var _0xf02e2d=_0xf5384;if(!Ue){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0xf02e2d(0x1a9));Ue=crypto[_0xf02e2d(0x49a)]['bind'](crypto);}return Ue(_i);}const ui=typeof crypto<'u'&&crypto[_0xf5384(0x3af)]&&crypto[_0xf5384(0x3af)][_0xf5384(0x493)](crypto),qe={'randomUUID':ui};function di(_0x263287,_0x2a98c9,_0x17f016){var _0x1adef8=_0xf5384,_0x280e7d,_0x17e1f4,_0x44a7b4;if(qe[_0x1adef8(0x3af)]&&!_0x263287)return qe[_0x1adef8(0x3af)]();_0x263287=_0x263287||{};const _0x5efb8e=(_0x44a7b4=(_0x17e1f4=_0x263287['random'])!=null?_0x17e1f4:(_0x280e7d=_0x263287[_0x1adef8(0x1b3)])==null?void 0x0:_0x280e7d['call'](_0x263287))!=null?_0x44a7b4:li();if(_0x5efb8e[_0x1adef8(0x39f)]<0x10)throw new Error(_0x1adef8(0x23b));return _0x5efb8e[0x6]=_0x5efb8e[0x6]&0xf|0x40,_0x5efb8e[0x8]=_0x5efb8e[0x8]&0x3f|0x80,hi(_0x5efb8e);}const z=a[_0xf5384(0x388)](_0xf5384(0x1aa));function vi(_0x3acde7){return'unit-cache-'+_0x3acde7;}var Si=Object[_0xf5384(0x2b5)],fi=(_0x4f44e0,_0x3556e8,_0x34b692,_0x556486)=>{var _0x5a89ac=_0xf5384;for(var _0x11c63c=_0x556486>0x1?void 0x0:_0x556486?Si(_0x3556e8,_0x34b692):_0x3556e8,_0x5506cb=_0x4f44e0[_0x5a89ac(0x39f)]-0x1,_0x2fcc66;_0x5506cb>=0x0;_0x5506cb--)(_0x2fcc66=_0x4f44e0[_0x5506cb])&&(_0x11c63c=_0x2fcc66(_0x11c63c)||_0x11c63c);return _0x11c63c;},Ae=(_0x560ce6,_0x5c2806)=>(_0x5ce527,_0x2b2fc7)=>_0x5c2806(_0x5ce527,_0x2b2fc7,_0x560ce6);function pi(_0x57a338){var _0x35fdf0=_0xf5384;const {unitID:_0x4ffcfd,mutations:_0x13e5fc}=_0x57a338;return{'unitId':_0x4ffcfd,'subUnitId':_0x13e5fc[0x0][_0x35fdf0(0x24a)][_0x35fdf0(0x3de)]};}exports['SheetTransformSelectionsService']=class{constructor(_0x4c2709,_0x40a279,_0x27f002){var _0x69b4ae=_0xf5384;this['_injector']=_0x4c2709,this[_0x69b4ae(0x1d3)]=_0x40a279,this[_0x69b4ae(0x203)]=_0x27f002;}[_0xf5384(0x2d9)](_0x365595){var _0x12e325=_0xf5384,_0x190c8a,_0x538b33,_0x2a5d4b,_0x4ba2c6;const _0x2345cb=this[_0x12e325(0x3f2)]['get'](Z[_0x12e325(0x19f)]),{unitId:_0x3bd37e,subUnitId:_0x2d9a6f}=pi(_0x365595),_0x7ed058=_0x2345cb==null?void 0x0:_0x2345cb[_0x12e325(0x3b3)](_0x3bd37e)[_0x12e325(0x1d4)](),_0x322a64=(_0x538b33=(_0x190c8a=this[_0x12e325(0x203)][_0x12e325(0x467)](_0x3bd37e))==null?void 0x0:_0x190c8a[_0x12e325(0x414)]())==null?void 0x0:_0x538b33[_0x12e325(0x4b3)]();if(_0x7ed058[_0x12e325(0x39f)]===0x0||!_0x3bd37e||!_0x2d9a6f)return;const _0x5b8267=[{'id':Z['SetSelectionsOperation']['id'],'params':{'unitId':_0x3bd37e,'subUnitId':_0x322a64,'selections':a[_0x12e325(0x4c4)][_0x12e325(0x2a8)](_0x7ed058)}}],_0x852f57=this[_0x12e325(0x1d3)][_0x12e325(0x22d)](_0x365595,_0x5b8267);if(!g[_0x12e325(0x420)](_0x852f57))throw _0x852f57['error'];const _0x51b302=(_0x4ba2c6=(_0x2a5d4b=_0x852f57[_0x12e325(0x29c)][0x0])==null?void 0x0:_0x2a5d4b[_0x12e325(0x24a)])==null?void 0x0:_0x4ba2c6['selections'];if(Array[_0x12e325(0x2fa)](_0x51b302)&&_0x51b302['length']){if(_0x51b302['length']===_0x5b8267[0x0][_0x12e325(0x24a)][_0x12e325(0x3a9)][_0x12e325(0x39f)]&&_0x51b302[_0x12e325(0x39e)]((_0x5995f0,_0x4b3e98)=>a[_0x12e325(0x2f4)][_0x12e325(0x197)](_0x5995f0[_0x12e325(0x3e0)],_0x5b8267[0x0]['params'][_0x12e325(0x3a9)][_0x4b3e98][_0x12e325(0x3e0)])))return;this[_0x12e325(0x3f2)][_0x12e325(0x1f9)](a['ICommandService'])['executeCommand'](Z[_0x12e325(0x3d1)]['id'],{'unitId':_0x3bd37e,'subUnitId':_0x322a64,'selections':_0x51b302});}}},exports[_0xf5384(0x2ae)]=fi([Ae(0x0,a['Inject'](a[_0xf5384(0x247)])),Ae(0x1,g[_0xf5384(0x487)]),Ae(0x2,a[_0xf5384(0x2f2)])],exports[_0xf5384(0x2ae)]);const ve=a[_0xf5384(0x388)](_0xf5384(0x3d2));var Fe=(_0x5f8045=>(_0x5f8045[_0x5f8045[_0xf5384(0x1b2)]=0x0]=_0xf5384(0x1b2),_0x5f8045[_0x5f8045[_0xf5384(0x1e7)]=0x1]=_0xf5384(0x1e7),_0x5f8045))(Fe||{});const gi=new Set([Z[_0xf5384(0x382)]['id']]);function ze(_0x34138f,_0x580cd1,_0x5f0d00,_0x20f2d2,_0x1b3c1e){var _0x96babb=_0xf5384,_0x279325,_0x36ac56,_0x40a0de,_0x16e6cb;const _0x495672=[];for(const _0x210c7e of _0x34138f)if(gi[_0x96babb(0x2e9)](_0x210c7e['id'])){if(_0x495672[_0x96babb(0x39f)]>0x0)break;_0x495672[_0x96babb(0x405)](_0x210c7e);break;}else _0x495672['push'](_0x210c7e);const _0x254e38=(_0x36ac56=(_0x279325=_0x1b3c1e[_0x96babb(0x314)]())==null?void 0x0:_0x279325[_0x96babb(0x3fb)])!=null?_0x36ac56:_0x96babb(0x42e),_0x3a0e20=(_0x16e6cb=(_0x40a0de=_0x1b3c1e[_0x96babb(0x314)]())==null?void 0x0:_0x40a0de['memberID'])!=null?_0x16e6cb:_0x96babb(0x42e);return{'changeset':{'unitID':_0x580cd1,'type':g[_0x96babb(0x2ef)](_0x5f0d00[_0x96babb(0x20a)](_0x580cd1)),'baseRev':_0x20f2d2[_0x96babb(0x40d)](_0x580cd1),'revision':0x0,'userID':_0x254e38,'memberID':_0x3a0e20,'mutations':_0x495672},'pendingMutations':_0x34138f[_0x96babb(0x46e)](_0x495672[_0x96babb(0x39f)])};}function Ii(_0x528023,_0x10e9e2,_0x13a287,_0x1172c2,_0x1f6c11){var _0xa3a101=_0xf5384,_0x499b90,_0x3ac224,_0x4a0af7,_0x36df10;const _0x162884=[_0x528023['reduce']((_0x11cb36,_0x20dc49)=>{var _0x52c0f1=_0x4e4b,_0x139ba7;const {id:_0x26b0e1}=_0x11cb36,{id:_0x4d5c7c,type:_0x2b3909}=_0x20dc49,_0x305786=(_0x139ba7=_0x11cb36[_0x52c0f1(0x24a)])!=null?_0x139ba7:{'actions':null},_0xa2cba9=_0x20dc49['params'];if(_0x26b0e1&&_0x26b0e1!==_0x4d5c7c)throw new Error(_0x52c0f1(0x36d)+_0x26b0e1+_0x52c0f1(0x4a8)+_0x4d5c7c+'.');return{..._0x11cb36,'id':_0x4d5c7c,'type':_0x2b3909,'params':{'unitId':_0xa2cba9[_0x52c0f1(0x447)],'textRanges':_0xa2cba9[_0x52c0f1(0x1a7)],'actions':a[_0x52c0f1(0x49d)][_0x52c0f1(0x1e4)](_0x305786[_0x52c0f1(0x3f1)],_0xa2cba9[_0x52c0f1(0x3f1)])}};},{})],_0x397060=(_0x3ac224=(_0x499b90=_0x1f6c11['getCurrentUser']())==null?void 0x0:_0x499b90['userID'])!=null?_0x3ac224:_0xa3a101(0x42e),_0x3318e1=(_0x36df10=(_0x4a0af7=_0x1f6c11[_0xa3a101(0x314)]())==null?void 0x0:_0x4a0af7[_0xa3a101(0x495)])!=null?_0x36df10:_0xa3a101(0x42e);return{'changeset':{'unitID':_0x10e9e2,'type':g[_0xa3a101(0x2ef)](_0x13a287[_0xa3a101(0x20a)](_0x10e9e2)),'baseRev':_0x1172c2[_0xa3a101(0x40d)](_0x10e9e2),'revision':0x0,'userID':_0x397060,'memberID':_0x3318e1,'mutations':_0x162884},'pendingMutations':[]};}function yt(_0x1a6e66,_0x1495df){var _0x2ab828=_0xf5384;const _0x191ee4=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x191ee4['next'](_0x1495df),_0x1a6e66),_0x191ee4[_0x2ab828(0x3b4)]()[_0x2ab828(0x446)](j[_0x2ab828(0x28d)](0x1));}const mi={'id':Z[_0xf5384(0x332)]['id'],'type':a[_0xf5384(0x294)][_0xf5384(0x335)],'params':{}};var Ei=Object['getOwnPropertyDescriptor'],ce=(_0x182459,_0x90fa42,_0x10cd4f,_0x2a13b5)=>{var _0x345180=_0xf5384;for(var _0x8f407c=_0x2a13b5>0x1?void 0x0:_0x2a13b5?Ei(_0x90fa42,_0x10cd4f):_0x90fa42,_0x487d95=_0x182459[_0x345180(0x39f)]-0x1,_0x3a39d9;_0x487d95>=0x0;_0x487d95--)(_0x3a39d9=_0x182459[_0x487d95])&&(_0x8f407c=_0x3a39d9(_0x8f407c)||_0x8f407c);return _0x8f407c;},w=(_0x4e13fe,_0x56e5a9)=>(_0x2d9879,_0x2f88b2)=>_0x56e5a9(_0x2d9879,_0x2f88b2,_0x4e13fe),Ve=(_0x433484=>(_0x433484[_0xf5384(0x4ae)]=_0xf5384(0x50b),_0x433484[_0xf5384(0x21f)]=_0xf5384(0x43a),_0x433484[_0xf5384(0x4cf)]=_0xf5384(0x4c0),_0x433484[_0xf5384(0x4af)]=_0xf5384(0x288),_0x433484[_0xf5384(0x443)]=_0xf5384(0x511),_0x433484[_0xf5384(0x417)]=_0xf5384(0x2dd),_0x433484[_0xf5384(0x230)]=_0xf5384(0x324),_0x433484[_0xf5384(0x3c9)]=_0xf5384(0x266),_0x433484))(Ve||{});const Nt=0xea60;class he{constructor(_0x54e88a,_0xb6196c,_0x5ba1a3,_0x33ff3f,_0x51c6f1,_0x1e4ecf,_0x19ab59,_0x223ac1,_0x1d749c){var _0x2db155=_0xf5384;A(this,_0x2db155(0x2e8),null),A(this,_0x2db155(0x2e0),[]),(this[_0x2db155(0x418)]=_0x54e88a,this[_0x2db155(0x36a)]=_0xb6196c,this[_0x2db155(0x38b)]=_0x51c6f1,this[_0x2db155(0x445)]=_0x1e4ecf,this['_undoRedoService']=_0x19ab59,this[_0x2db155(0x375)]=_0x223ac1,this[_0x2db155(0x4da)]=_0x1d749c,this[_0x2db155(0x2e8)]=_0x5ba1a3,this[_0x2db155(0x2e0)]=_0x33ff3f);}[_0xf5384(0x47d)](_0x471b83){var _0x5ec7c3=_0xf5384;const _0x36a981=this[_0x5ec7c3(0x375)][_0x5ec7c3(0x40d)](this['unitID']);return _0x471b83[_0x5ec7c3(0x34f)]>_0x36a981+0x1?(this[_0x5ec7c3(0x38b)][_0x5ec7c3(0x2f9)]({'from':_0x36a981,'to':_0x471b83[_0x5ec7c3(0x34f)]-0x1}),!0x0):!0x1;}[_0xf5384(0x4d1)](_0x5ddbd4){var _0x295fae=_0xf5384;this['_undoRedoService']['transformUndoRedo'](this[_0x295fae(0x418)],_0x5ddbd4);}[_0xf5384(0x2a4)](_0x50ad75){var _0x103154=_0xf5384,_0x1bf14c,_0x4388e5;(_0x4388e5=(_0x1bf14c=this['_handler'])[_0x103154(0x50e)])==null||_0x4388e5['call'](_0x1bf14c,_0x50ad75);}[_0xf5384(0x508)](_0x5a2c16){var _0x5017ba=_0xf5384,_0x49fe1d,_0x8e365f;return(_0x8e365f=(_0x49fe1d=this[_0x5017ba(0x38b)])[_0x5017ba(0x1d8)])==null?void 0x0:_0x8e365f[_0x5017ba(0x2ba)](_0x49fe1d,_0x5a2c16);}['_transformStateCache'](_0x2e91a7){var _0x5001fb=_0xf5384,_0x5c536b,_0x4c6266;return(_0x4c6266=(_0x5c536b=this[_0x5001fb(0x38b)])[_0x5001fb(0x316)])==null?void 0x0:_0x4c6266['call'](_0x5c536b,_0x2e91a7);}[_0xf5384(0x46b)](_0x39bbd1){var _0x4f010d=_0xf5384,_0x4f67cc,_0x2b817c,_0x236703;return(_0x236703=(_0x2b817c=(_0x4f67cc=this[_0x4f010d(0x38b)])[_0x4f010d(0x4bc)])==null?void 0x0:_0x2b817c[_0x4f010d(0x2ba)](_0x4f67cc,_0x39bbd1))!=null?_0x236703:_0x39bbd1;}['_transformRemoteChangesetByStateCache'](_0x1ff8d8){var _0x26e698=_0xf5384,_0x343263,_0x2ec0cf,_0x5df7c0;return(_0x5df7c0=(_0x2ec0cf=(_0x343263=this[_0x26e698(0x38b)])[_0x26e698(0x261)])==null?void 0x0:_0x2ec0cf['call'](_0x343263,_0x1ff8d8))!=null?_0x5df7c0:_0x1ff8d8;}[_0xf5384(0x500)](_0x56a4c6){var _0x4c42ed=_0xf5384,_0x2dedff,_0x9c06cd;if(this[_0x4c42ed(0x36a)]===X['UNIVER_DOC']){const {unitID:_0x529606,mutations:_0xa9dc4e,memberID:_0x26694d}=_0x56a4c6,_0x20fb58=_0xa9dc4e[0x0][_0x4c42ed(0x24a)][_0x4c42ed(0x1a7)];Array['isArray'](_0x20fb58)&&_0x20fb58[_0x4c42ed(0x39f)]>0x0&&((_0x9c06cd=(_0x2dedff=this[_0x4c42ed(0x38b)])[_0x4c42ed(0x239)])==null||_0x9c06cd[_0x4c42ed(0x2ba)](_0x2dedff,{'unitID':_0x529606,'memberID':_0x26694d,'textRanges':_0x20fb58}));}}[_0xf5384(0x2af)](){var _0x8bc700=_0xf5384,_0x5d3f6;(_0x5d3f6=this[_0x8bc700(0x4da)])==null||_0x5d3f6[_0x8bc700(0x4e7)](this[_0x8bc700(0x418)],this['type'],this[_0x8bc700(0x2e8)],this[_0x8bc700(0x2e0)]);}['_getCurrentRevision'](){var _0x39ec47=_0xf5384;return this[_0x39ec47(0x375)][_0x39ec47(0x40d)](this[_0x39ec47(0x418)]);}[_0xf5384(0x3ff)](){var _0x2fa8fb=_0xf5384;this['_revisionService'][_0x2fa8fb(0x374)](this[_0x2fa8fb(0x418)]);}[_0xf5384(0x4d3)](_0x31e31c){var _0x4fe1f0=_0xf5384,_0x1916a2;let _0x1a30aa=this[_0x4fe1f0(0x46b)](_0x31e31c);_0x1a30aa=this[_0x4fe1f0(0x258)](_0x1a30aa);const _0x1521c5=a[_0x4fe1f0(0x415)](_0x1a30aa[_0x4fe1f0(0x43d)],this['_commandService'],{'fromCollab':!0x0});if(!_0x1521c5['result'])throw _0x1521c5[_0x4fe1f0(0x1bf)]instanceof Error?_0x1521c5['error']:new Error((_0x1916a2=_0x1521c5[_0x4fe1f0(0x1bf)])!=null?_0x1916a2:_0x4fe1f0(0x1dd));this[_0x4fe1f0(0x508)](_0x1a30aa),this[_0x4fe1f0(0x35a)](_0x1a30aa),this[_0x4fe1f0(0x4d1)](_0x31e31c),this[_0x4fe1f0(0x2a4)](_0x1a30aa),this[_0x4fe1f0(0x500)](_0x1a30aa),this[_0x4fe1f0(0x3ff)]();}}exports[_0xf5384(0x3f5)]=class extends he{constructor(_0x43038b,_0x24cf36,_0x3a6c63,_0x53743d,_0x1fb5c5,_0x4f49e1,_0x4afb52,_0x589304,_0x27bf20,_0x530d28){var _0x245e6f=_0xf5384;super(_0x43038b,_0x24cf36,null,[],_0x3a6c63,_0x4afb52,_0x4f49e1,_0x53743d,_0x530d28),A(this,_0x245e6f(0x436),_0x245e6f(0x43a)),(this[_0x245e6f(0x3f2)]=_0x1fb5c5,this[_0x245e6f(0x4be)]=_0x589304,this[_0x245e6f(0x1d3)]=_0x27bf20,this[_0x245e6f(0x4d5)]=_0x530d28);}[_0xf5384(0x1bd)](_0x27f1a4){var _0x207f34=_0xf5384;const _0x1ff644=this[_0x207f34(0x3f2)][_0x207f34(0x1ee)](exports['PendingState'],this[_0x207f34(0x418)],this[_0x207f34(0x36a)],[_0x27f1a4],this[_0x207f34(0x38b)]);return _0x1ff644[_0x207f34(0x427)](),_0x1ff644['_updateLocalCache'](),_0x1ff644;}[_0xf5384(0x349)](_0x4df952){var _0x1a478c=_0xf5384;if(this[_0x1a478c(0x47d)](_0x4df952))return this['_injector'][_0x1a478c(0x1ee)](exports[_0x1a478c(0x232)],this[_0x1a478c(0x418)],this[_0x1a478c(0x36a)],null,[],null,[_0x4df952],this[_0x1a478c(0x38b)]);try{const _0x2d4af5=this['_transformService'][_0x1a478c(0x22d)](_0x4df952,[mi]);if(g[_0x1a478c(0x420)](_0x2d4af5)){const {c1Prime:_0x1d39a0}=_0x2d4af5;return this['_executeRemoteChangeset'](_0x1d39a0),this;}throw _0x2d4af5[_0x1a478c(0x1bf)];}catch(_0x1df168){return this[_0x1a478c(0x4be)][_0x1a478c(0x1bf)](_0x1df168),this['_onConflict'](!0x1);}}[_0xf5384(0x45c)](_0x4c4af1){var _0x22aacc=_0xf5384;return this[_0x22aacc(0x3f2)][_0x22aacc(0x1ee)](exports[_0x22aacc(0x509)],this[_0x22aacc(0x418)],this[_0x22aacc(0x36a)],null,[],this[_0x22aacc(0x38b)],_0x4c4af1);}[_0xf5384(0x4b1)](){var _0x1ab1bd=_0xf5384;throw new Error(_0x1ab1bd(0x2d0));}[_0xf5384(0x1cb)](){var _0x16787d=_0xf5384;throw new Error(_0x16787d(0x1e6));}[_0xf5384(0x4d8)](){return this;}['toggleOffline'](){var _0x4a0993=_0xf5384;return this[_0x4a0993(0x3f2)][_0x4a0993(0x1ee)](exports[_0x4a0993(0x1fc)],this[_0x4a0993(0x418)],this[_0x4a0993(0x36a)],null,[],this[_0x4a0993(0x38b)]);}['toggleOnline'](){return this;}[_0xf5384(0x283)](){var _0x1fb21f=_0xf5384;throw new Error(_0x1fb21f(0x231));}[_0xf5384(0x1a0)](){var _0x52f2fb=_0xf5384;const _0x4f7331=this[_0x52f2fb(0x375)][_0x52f2fb(0x40d)](this['unitID']);return this[_0x52f2fb(0x38b)]['onMissingChangesets']({'from':_0x4f7331,'to':0x0}),this['_injector']['createInstance'](exports[_0x52f2fb(0x232)],this['unitID'],this['type'],null,[],null,[],this[_0x52f2fb(0x38b)]);}},exports[_0xf5384(0x3f5)]=ce([w(0x3,a[_0xf5384(0x490)](g[_0xf5384(0x259)])),w(0x4,a[_0xf5384(0x490)](a[_0xf5384(0x247)])),w(0x5,a['IUndoRedoService']),w(0x6,a[_0xf5384(0x49f)]),w(0x7,a[_0xf5384(0x1df)]),w(0x8,g[_0xf5384(0x487)]),w(0x9,a[_0xf5384(0x1b8)](z))],exports[_0xf5384(0x3f5)]),exports[_0xf5384(0x41b)]=class extends he{constructor(_0x70fcab,_0x202000,_0x2b65e2,_0x49e761,_0x11e0b6,_0x2a2ba1,_0x20c68f,_0x588fd3,_0x463d69,_0x2d5849,_0x5f0785,_0x5aaaad,_0x2a7dd1,_0x1327c7){var _0x173666=_0xf5384;super(_0x70fcab,_0x202000,null,_0x2b65e2,_0x49e761,_0x463d69,_0x2a7dd1,_0x2a2ba1,_0x1327c7),A(this,'status','pending'),A(this,_0x173666(0x238),null),A(this,_0x173666(0x313),null),(this['_injector']=_0x11e0b6,this['_memberService']=_0x20c68f,this[_0x173666(0x4be)]=_0x588fd3,this[_0x173666(0x2b0)]=_0x2d5849,this[_0x173666(0x1d3)]=_0x5f0785,this[_0x173666(0x1eb)]=_0x5aaaad);}[_0xf5384(0x1bd)](_0x912d40){var _0x44ccd6=_0xf5384;return this['_pendingMutations'][_0x44ccd6(0x405)](_0x912d40),this[_0x44ccd6(0x2af)](),this;}[_0xf5384(0x349)](_0x4410ee){var _0x237a52=_0xf5384;if(this[_0x237a52(0x47d)](_0x4410ee))return this[_0x237a52(0x2d5)](),this['_injector'][_0x237a52(0x1ee)](exports['FetchingMissState'],this[_0x237a52(0x418)],this[_0x237a52(0x36a)],null,this[_0x237a52(0x2e0)],null,[_0x4410ee],this[_0x237a52(0x38b)]);try{const _0x3b93e=this[_0x237a52(0x1d3)][_0x237a52(0x22d)](_0x4410ee,this[_0x237a52(0x2e0)]);if(g[_0x237a52(0x420)](_0x3b93e)){const {c1Prime:_0x41120a,m2Prime:_0x33835e}=_0x3b93e;this['_executeRemoteChangeset'](_0x41120a);const _0x391895=this['_injector'][_0x237a52(0x1ee)](exports[_0x237a52(0x41b)],this[_0x237a52(0x418)],this[_0x237a52(0x36a)],_0x33835e,this[_0x237a52(0x38b)]);this[_0x237a52(0x2d5)]();const _0x577421=new Date()[_0x237a52(0x416)](),_0x52881c=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x237a52(0x238)]-_0x577421,0x0):this[_0x237a52(0x392)]();return _0x391895['_schedule'](_0x52881c),_0x391895;}throw _0x3b93e[_0x237a52(0x1bf)];}catch(_0x28343e){return this[_0x237a52(0x4be)]['error'](_0x28343e),this[_0x237a52(0x45c)](!0x1);}}[_0xf5384(0x4b1)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0xf5384(0x4d8)](){return this;}[_0xf5384(0x271)](){var _0x1d69b6=_0xf5384;return this[_0x1d69b6(0x2d5)](),this[_0x1d69b6(0x3f2)]['createInstance'](exports[_0x1d69b6(0x1fc)],this[_0x1d69b6(0x418)],this[_0x1d69b6(0x36a)],null,this[_0x1d69b6(0x2e0)],this['_handler']);}[_0xf5384(0x350)](){return this;}[_0xf5384(0x427)](_0x250ca2){var _0x22b7fd=_0xf5384;const _0x591c1a=_0x250ca2!=null?_0x250ca2:this[_0x22b7fd(0x392)]();this['_scheduleCompleteTimestamp']=new Date()[_0x22b7fd(0x416)]()+_0x591c1a,this[_0x22b7fd(0x313)]=setTimeout(()=>{var _0x344781=_0x22b7fd;this[_0x344781(0x2d5)]();let _0x39a8e9=null;switch(this[_0x344781(0x36a)]){case X[_0x344781(0x33e)]:{_0x39a8e9=ze(this[_0x344781(0x2e0)],this['unitID'],this['_univerInstanceService'],this[_0x344781(0x375)],this[_0x344781(0x2f1)]);break;}case X[_0x344781(0x1d1)]:{this[_0x344781(0x2e0)][_0x344781(0x39e)](_0x28f6ed=>_0x28f6ed['id']===ut[_0x344781(0x1ac)]['id'])?_0x39a8e9=Ii(this[_0x344781(0x2e0)],this[_0x344781(0x418)],this['_univerInstanceService'],this[_0x344781(0x375)],this[_0x344781(0x2f1)]):_0x39a8e9=ze(this[_0x344781(0x2e0)],this[_0x344781(0x418)],this[_0x344781(0x1eb)],this[_0x344781(0x375)],this[_0x344781(0x2f1)]);break;}default:throw new Error(_0x344781(0x1a3)+this[_0x344781(0x36a)]+_0x344781(0x507));}const {changeset:_0x5d780e,pendingMutations:_0x46bb52}=_0x39a8e9;this[_0x344781(0x38b)][_0x344781(0x422)](_0x5d780e);const _0x474e1d=_0x46bb52[_0x344781(0x39f)]?this[_0x344781(0x3f2)][_0x344781(0x1ee)](exports['AwaitingWithPendingState'],this[_0x344781(0x418)],this[_0x344781(0x36a)],_0x5d780e,_0x46bb52,this['_handler'],void 0x0):this[_0x344781(0x3f2)][_0x344781(0x1ee)](exports['AwaitingState'],this[_0x344781(0x418)],this[_0x344781(0x36a)],_0x5d780e,this[_0x344781(0x38b)]);_0x474e1d[_0x344781(0x2af)](),this[_0x344781(0x38b)][_0x344781(0x3b2)](this,_0x474e1d);},_0x591c1a);}[_0xf5384(0x392)](){var _0x3cfd0c=_0xf5384,_0x5c789b;const _0xc7f4dd=this[_0x3cfd0c(0x2b0)][_0x3cfd0c(0x464)](Y);return(_0x5c789b=_0xc7f4dd==null?void 0x0:_0xc7f4dd[_0x3cfd0c(0x31a)])!=null?_0x5c789b:jt;}[_0xf5384(0x283)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x2880b2=_0xf5384;this['_sendingTimer']!=null&&(clearTimeout(this[_0x2880b2(0x313)]),this[_0x2880b2(0x313)]=null);}['_onConflict'](_0x45a6c0){var _0x58170f=_0xf5384;return this[_0x58170f(0x2d5)](),this[_0x58170f(0x3f2)][_0x58170f(0x1ee)](exports['ConflictState'],this[_0x58170f(0x418)],this[_0x58170f(0x36a)],null,this['_pendingMutations'],this[_0x58170f(0x38b)],_0x45a6c0);}},exports['PendingState']=ce([w(0x4,a[_0xf5384(0x490)](a[_0xf5384(0x247)])),w(0x5,a['Inject'](g[_0xf5384(0x259)])),w(0x6,a[_0xf5384(0x490)](exports[_0xf5384(0x1cd)])),w(0x7,a[_0xf5384(0x1df)]),w(0x8,a[_0xf5384(0x49f)]),w(0x9,a['IConfigService']),w(0xa,g[_0xf5384(0x487)]),w(0xb,a['IUniverInstanceService']),w(0xc,a[_0xf5384(0x344)]),w(0xd,a['Optional'](z))],exports[_0xf5384(0x41b)]),exports[_0xf5384(0x4bf)]=class extends he{constructor(_0x27f3b0,_0x39087d,_0x313a53,_0x5428c2,_0x2e0401,_0x253f4c,_0x5b8617,_0x1f2964,_0x5d8bae,_0x3b0a68,_0xd0b60f){var _0x119abe=_0xf5384;super(_0x27f3b0,_0x39087d,_0x313a53,[],_0x5428c2,_0x5b8617,_0x3b0a68,_0x253f4c,_0xd0b60f),A(this,_0x119abe(0x436),_0x119abe(0x288)),A(this,_0x119abe(0x214),0x0),A(this,'_resendTimer'),A(this,_0x119abe(0x4ed)),(this['_injector']=_0x2e0401,this[_0x119abe(0x4be)]=_0x1f2964,this[_0x119abe(0x1d3)]=_0x5d8bae);}['appendMutation'](_0x3ba48f){var _0x4badc9=_0xf5384;this[_0x4badc9(0x2d5)]();const _0x35d64b=this['_injector'][_0x4badc9(0x1ee)](exports['AwaitingWithPendingState'],this[_0x4badc9(0x418)],this[_0x4badc9(0x36a)],this['_awaitingChangeset'],[_0x3ba48f],this[_0x4badc9(0x38b)],this[_0x4badc9(0x248)]);return _0x35d64b['_updateLocalCache'](),_0x35d64b;}['onRemoteChangeset'](_0xec157d){var _0x2699cc=_0xf5384;if(this[_0x2699cc(0x47d)](_0xec157d))return this[_0x2699cc(0x2d5)](),this['_injector']['createInstance'](exports[_0x2699cc(0x232)],this[_0x2699cc(0x418)],this[_0x2699cc(0x36a)],this[_0x2699cc(0x2e8)],[],null,[_0xec157d],this[_0x2699cc(0x38b)]);try{const _0x1ed73e=this[_0x2699cc(0x1d3)][_0x2699cc(0x1fb)]([_0xec157d],[this[_0x2699cc(0x2e8)]],!0x1);if(g[_0x2699cc(0x222)](_0x1ed73e)){const {c1Prime:_0x4745b5,c2Prime:_0x2f24c3}=_0x1ed73e;this[_0x2699cc(0x4d3)](_0x4745b5[0x0]),_0x2f24c3[0x0][_0x2699cc(0x2a0)]=this[_0x2699cc(0x200)](),this[_0x2699cc(0x2d5)]();const _0x343a45=this[_0x2699cc(0x3f2)][_0x2699cc(0x1ee)](exports[_0x2699cc(0x4bf)],this[_0x2699cc(0x418)],this[_0x2699cc(0x36a)],_0x2f24c3[0x0],this[_0x2699cc(0x38b)]);return _0x343a45['_updateLocalCache'](),_0x343a45;}return this[_0x2699cc(0x45c)](!0x1);}catch(_0x28ad23){return this[_0x2699cc(0x4be)][_0x2699cc(0x1bf)](_0x28ad23),this[_0x2699cc(0x45c)](!0x1);}}[_0xf5384(0x4b1)](_0x2e42ad){var _0x5d7e66=_0xf5384;this[_0x5d7e66(0x2d5)]();const _0x5cd3bf=this[_0x5d7e66(0x375)][_0x5d7e66(0x40d)](this[_0x5d7e66(0x418)]);if(_0x2e42ad[_0x5d7e66(0x34f)]<_0x5cd3bf-0x1)return this;if(this['_checkMissing'](_0x2e42ad))return this[_0x5d7e66(0x3f2)][_0x5d7e66(0x1ee)](exports[_0x5d7e66(0x232)],this['unitID'],this[_0x5d7e66(0x36a)],null,[],this[_0x5d7e66(0x2e8)],[],this[_0x5d7e66(0x38b)]);this['_incrementRevisionNumber']();const _0x2329ad=this[_0x5d7e66(0x3f2)]['createInstance'](exports[_0x5d7e66(0x3f5)],this[_0x5d7e66(0x418)],this['type'],this[_0x5d7e66(0x38b)]);return _0x2329ad[_0x5d7e66(0x2af)](),_0x2329ad;}['onRemoteRej'](_0x4fe36f){var _0x33cd8d=_0xf5384;return this[_0x33cd8d(0x45c)](!!(_0x4fe36f!=null&&_0x4fe36f[_0x33cd8d(0x24e)]));}[_0xf5384(0x4d8)](_0x14a5cb){var _0x1204b9=_0xf5384;return this[_0x1204b9(0x214)]>Nt?this['toggleOffline']():(this[_0x1204b9(0x248)]=yt(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x14a5cb['reqId']}),this[_0x1204b9(0x4ed)]=this[_0x1204b9(0x248)][_0x1204b9(0x30e)](({reqId:_0x1c7268,timeout:_0x417a0c})=>{var _0x2ceb87=_0x1204b9;this[_0x2ceb87(0x2c5)](_0x1c7268,_0x417a0c);}),this);}[_0xf5384(0x271)](){var _0x4bc26a=_0xf5384;return this['_clearScheduledTask'](),this[_0x4bc26a(0x3f2)][_0x4bc26a(0x1ee)](exports[_0x4bc26a(0x1fc)],this[_0x4bc26a(0x418)],this[_0x4bc26a(0x36a)],this['_awaitingChangeset'],[],this[_0x4bc26a(0x38b)]);}[_0xf5384(0x350)](){return this;}[_0xf5384(0x283)](){var _0x1a2ca=_0xf5384;this[_0x1a2ca(0x38b)][_0x1a2ca(0x422)](this[_0x1a2ca(0x2e8)]);}[_0xf5384(0x45c)](_0x1a9332){var _0x4644c8=_0xf5384;return this[_0x4644c8(0x2d5)](),this['_injector'][_0x4644c8(0x1ee)](exports['ConflictState'],this[_0x4644c8(0x418)],this[_0x4644c8(0x36a)],this['_awaitingChangeset'],[],this[_0x4644c8(0x38b)],_0x1a9332);}['_resendWithTimeout'](_0x20280f,_0xef9052){var _0xde693e=_0xf5384,_0x21db0d;_0x20280f===((_0x21db0d=this[_0xde693e(0x2e8)])==null?void 0x0:_0x21db0d[_0xde693e(0x268)])&&(this['resend'](),this['_resendTimeout']=_0xef9052===0x0?0x3e8:_0xef9052*0x2);}[_0xf5384(0x2d5)](){var _0x33cb35=_0xf5384,_0x10a8c5;(_0x10a8c5=this['_sender'])==null||_0x10a8c5[_0x33cb35(0x42d)](),this['_resendTimeout']=0x0;}},exports[_0xf5384(0x4bf)]=ce([w(0x4,a[_0xf5384(0x490)](a[_0xf5384(0x247)])),w(0x5,a[_0xf5384(0x490)](g['RevisionService'])),w(0x6,a[_0xf5384(0x49f)]),w(0x7,a[_0xf5384(0x1df)]),w(0x8,g[_0xf5384(0x487)]),w(0x9,a[_0xf5384(0x344)]),w(0xa,a['Optional'](z))],exports[_0xf5384(0x4bf)]),exports[_0xf5384(0x2e4)]=class extends he{constructor(_0x2123f7,_0x5c70c1,_0x673d64,_0x4c32a8,_0x400e93,_0xd13768,_0x33c50b,_0x38645d,_0x32b439,_0x59eb25,_0x57ffaa,_0x41fc22,_0x4431d0){var _0x484770=_0xf5384;super(_0x2123f7,_0x5c70c1,_0x673d64,_0x4c32a8,_0x400e93,_0x32b439,_0x41fc22,_0x38645d,_0x4431d0),A(this,_0x484770(0x436),_0x484770(0x511)),A(this,_0x484770(0x214),0x0),A(this,'_resendTimer'),A(this,_0x484770(0x4ed)),(this[_0x484770(0x3f2)]=_0x33c50b,this[_0x484770(0x4be)]=_0x59eb25,this[_0x484770(0x1d3)]=_0x57ffaa,this[_0x484770(0x4d5)]=_0x4431d0,_0xd13768&&(this[_0x484770(0x248)]=_0xd13768,this['_sender']=this[_0x484770(0x248)][_0x484770(0x30e)](({reqId:_0x2622eb,timeout:_0x15699e})=>{var _0x3936f0=_0x484770;this[_0x3936f0(0x2c5)](_0x2622eb,_0x15699e);})));}[_0xf5384(0x1bd)](_0x507d71){var _0x1b656e=_0xf5384;return this[_0x1b656e(0x2e0)]['push'](_0x507d71),this;}['onRemoteChangeset'](_0x17ac8c){var _0x1c91be=_0xf5384;if(this[_0x1c91be(0x47d)](_0x17ac8c))return this[_0x1c91be(0x2d5)](),this[_0x1c91be(0x3f2)]['createInstance'](exports['FetchingMissState'],this['unitID'],this['type'],this[_0x1c91be(0x2e8)],this[_0x1c91be(0x2e0)],null,[_0x17ac8c],this[_0x1c91be(0x38b)]);try{const _0x746c51=this[_0x1c91be(0x1d3)][_0x1c91be(0x1fb)]([_0x17ac8c],[this[_0x1c91be(0x2e8)]],!0x1);if(g[_0x1c91be(0x222)](_0x746c51)){const {c1Prime:_0x4c7fd2,c2Prime:_0x86f410}=_0x746c51,_0x395e2c=this[_0x1c91be(0x1d3)]['transformMutationsWithChangeset'](_0x4c7fd2[0x0],this[_0x1c91be(0x2e0)]);if(g[_0x1c91be(0x420)](_0x395e2c)){const {c1Prime:_0x3c0124,m2Prime:_0x214e25}=_0x395e2c;return this[_0x1c91be(0x4d3)](_0x3c0124),_0x86f410[0x0][_0x1c91be(0x2a0)]=this['_getCurrentRevision'](),this[_0x1c91be(0x2d5)](),this[_0x1c91be(0x3f2)]['createInstance'](exports[_0x1c91be(0x2e4)],this[_0x1c91be(0x418)],this[_0x1c91be(0x36a)],_0x86f410[0x0],_0x214e25,this[_0x1c91be(0x38b)],void 0x0);}throw _0x395e2c[_0x1c91be(0x1bf)];}throw _0x746c51[_0x1c91be(0x1bf)];}catch(_0x37b086){return this[_0x1c91be(0x4be)][_0x1c91be(0x1bf)](_0x37b086),this['_onConflict'](!0x1);}}[_0xf5384(0x4b1)](_0x4d8afc){var _0x23495c=_0xf5384;if(this[_0x23495c(0x2d5)](),this[_0x23495c(0x47d)](_0x4d8afc))return this['_injector'][_0x23495c(0x1ee)](exports['FetchingMissState'],this[_0x23495c(0x418)],this[_0x23495c(0x36a)],null,this['_pendingMutations'],this[_0x23495c(0x2e8)],[],this[_0x23495c(0x38b)]);this[_0x23495c(0x3ff)]();const _0x427d60=this[_0x23495c(0x3f2)][_0x23495c(0x1ee)](exports[_0x23495c(0x41b)],this[_0x23495c(0x418)],this[_0x23495c(0x36a)],this[_0x23495c(0x2e0)],this[_0x23495c(0x38b)]);return _0x427d60[_0x23495c(0x427)](),_0x427d60[_0x23495c(0x2af)](),_0x427d60;}[_0xf5384(0x1cb)](_0x4f775a){var _0x2b7a03=_0xf5384;return this[_0x2b7a03(0x45c)](!!(_0x4f775a!=null&&_0x4f775a[_0x2b7a03(0x24e)]));}['onRemoteRetry'](_0x216941){var _0x11a62c=_0xf5384;return this[_0x11a62c(0x214)]>Nt?this[_0x11a62c(0x271)]():(this['_resendTimer']=yt(this['_resendTimeout'],{'timeout':this[_0x11a62c(0x214)],'reqId':_0x216941[_0x11a62c(0x268)]}),this[_0x11a62c(0x4ed)]=this[_0x11a62c(0x248)][_0x11a62c(0x30e)](({reqId:_0x402b2a,timeout:_0xc4e883})=>{var _0x56066d=_0x11a62c;this[_0x56066d(0x2c5)](_0x402b2a,_0xc4e883);}),this);}[_0xf5384(0x271)](){var _0x19a9b5=_0xf5384;return this[_0x19a9b5(0x2d5)](),this[_0x19a9b5(0x3f2)][_0x19a9b5(0x1ee)](exports[_0x19a9b5(0x1fc)],this[_0x19a9b5(0x418)],this[_0x19a9b5(0x36a)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x19a9b5(0x38b)]);}['toggleOnline'](){return this;}['resend'](){var _0xbd670c=_0xf5384;this[_0xbd670c(0x38b)][_0xbd670c(0x422)](this[_0xbd670c(0x2e8)]);}[_0xf5384(0x45c)](_0x583fec){var _0x3ae253=_0xf5384;return this[_0x3ae253(0x2d5)](),this[_0x3ae253(0x3f2)][_0x3ae253(0x1ee)](exports[_0x3ae253(0x509)],this[_0x3ae253(0x418)],this[_0x3ae253(0x36a)],null,this[_0x3ae253(0x2e0)],this[_0x3ae253(0x38b)],_0x583fec);}[_0xf5384(0x2c5)](_0x3286b0,_0x47e64b){var _0x43482d=_0xf5384,_0x4b52d2;_0x3286b0===((_0x4b52d2=this[_0x43482d(0x2e8)])==null?void 0x0:_0x4b52d2[_0x43482d(0x268)])&&(this[_0x43482d(0x283)](),this[_0x43482d(0x214)]=_0x47e64b===0x0?0x3e8:_0x47e64b*0x2);}['_clearScheduledTask'](){var _0x199331=_0xf5384,_0x4c569c;(_0x4c569c=this[_0x199331(0x4ed)])==null||_0x4c569c[_0x199331(0x42d)](),this[_0x199331(0x214)]=0x0;}},exports[_0xf5384(0x2e4)]=ce([w(0x6,a[_0xf5384(0x490)](a[_0xf5384(0x247)])),w(0x7,a[_0xf5384(0x490)](g[_0xf5384(0x259)])),w(0x8,a[_0xf5384(0x49f)]),w(0x9,a[_0xf5384(0x1df)]),w(0xa,g[_0xf5384(0x487)]),w(0xb,a[_0xf5384(0x344)]),w(0xc,a['Optional'](z))],exports[_0xf5384(0x2e4)]),exports[_0xf5384(0x509)]=class extends he{constructor(_0x57a8a0,_0x3aae0d,_0x5db5eb,_0x5ba939,_0x5bed6b,_0x2b225d=!0x1,_0x17fa93,_0x912d57,_0x29d79d,_0x4a8b6b,_0x1d610b,_0x39224b,_0xbf7595){var _0x49092a=_0xf5384;super(_0x57a8a0,_0x3aae0d,_0x5db5eb,_0x5ba939,_0x5bed6b,_0x912d57,_0x29d79d,_0x4a8b6b,_0xbf7595),A(this,_0x49092a(0x436),_0x49092a(0x324)),(this[_0x49092a(0x452)]=_0x2b225d,this[_0x49092a(0x3b5)]=_0x17fa93,this[_0x49092a(0x289)]=_0x1d610b,this[_0x49092a(0x3e8)]=_0x39224b,this[_0x49092a(0x4d5)]=_0xbf7595,this[_0x49092a(0x462)](),this[_0x49092a(0x3eb)](),this['_disableEditing']());}[_0xf5384(0x1bd)](){return this;}[_0xf5384(0x349)](){return this;}['onRemoteAck'](){return this;}[_0xf5384(0x1cb)](){return this;}[_0xf5384(0x4d8)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0xf5384(0x283)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xf5384(0x3eb)](){var _0x5dd4e6=_0xf5384,_0x335c31;(_0x335c31=this[_0x5dd4e6(0x4da)])==null||_0x335c31[_0x5dd4e6(0x4e7)](this[_0x5dd4e6(0x418)],this[_0x5dd4e6(0x36a)],null,[]);}[_0xf5384(0x462)](){var _0x2031ac=_0xf5384;this[_0x2031ac(0x452)]?this[_0x2031ac(0x3e8)][_0x2031ac(0x280)]({'id':Q[_0x2031ac(0x1b1)]}):this['_collaborationUIEventService']['emitEvent']({'id':Q[_0x2031ac(0x230)]});}[_0xf5384(0x1a1)](){var _0x85bddc=_0xf5384;this[_0x85bddc(0x3b5)]['updatePermissionPoint'](new Z[(_0x85bddc(0x4f2))](this[_0x85bddc(0x418)])['id'],!0x1);}},exports[_0xf5384(0x509)]=ce([w(0x6,a[_0xf5384(0x490)](a[_0xf5384(0x193)])),w(0x7,a[_0xf5384(0x49f)]),w(0x8,a['IUndoRedoService']),w(0x9,a[_0xf5384(0x490)](g[_0xf5384(0x259)])),w(0xa,a['Inject'](a['LocaleService'])),w(0xb,a[_0xf5384(0x490)](te)),w(0xc,a[_0xf5384(0x1b8)](z))],exports['ConflictState']),exports[_0xf5384(0x1fc)]=class extends he{constructor(_0x4a6267,_0x1ceae1,_0x18a39c,_0x114e30,_0x1ff237,_0x2e58c0,_0x14af3d,_0x36f24d,_0x54184f,_0x8dd721){var _0x4e69bf=_0xf5384;super(_0x4a6267,_0x1ceae1,_0x18a39c,_0x114e30,_0x1ff237,_0x36f24d,_0x54184f,_0x14af3d,_0x8dd721),A(this,_0x4e69bf(0x436),'offline'),this[_0x4e69bf(0x3f2)]=_0x2e58c0;}[_0xf5384(0x1bd)](_0x12fecb){var _0x2d7e7e=_0xf5384;return this[_0x2d7e7e(0x2e0)]['push'](_0x12fecb),this[_0x2d7e7e(0x2af)](),this;}['onRemoteChangeset'](_0x121b27){var _0x12c899=_0xf5384;throw new Error(_0x12c899(0x276));}[_0xf5384(0x4b1)](){var _0x397ddd=_0xf5384;throw new Error(_0x397ddd(0x269));}[_0xf5384(0x1cb)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0xf5384(0x350)](){var _0x2d9602=_0xf5384;const {_injector:_0x13186e,_pendingMutations:_0x53be7d,_awaitingChangeset:_0x163cdc,unitID:_0x5e2c47,_handler:_0x5c70d8,type:_0x40447c}=this,_0x473cbd=Dt(_0x13186e,_0x5e2c47,_0x40447c,_0x163cdc,_0x53be7d,_0x5c70d8);return _0x473cbd instanceof exports[_0x2d9602(0x41b)]?_0x473cbd[_0x2d9602(0x427)]():(_0x473cbd instanceof exports[_0x2d9602(0x2e4)]||_0x473cbd instanceof exports[_0x2d9602(0x4bf)])&&_0x473cbd[_0x2d9602(0x283)](),_0x473cbd;}[_0xf5384(0x283)](){var _0x2a7874=_0xf5384;throw new Error(_0x2a7874(0x4f6));}},exports[_0xf5384(0x1fc)]=ce([w(0x5,a[_0xf5384(0x490)](a['Injector'])),w(0x6,a[_0xf5384(0x490)](g[_0xf5384(0x259)])),w(0x7,a['ICommandService']),w(0x8,a[_0xf5384(0x344)]),w(0x9,a[_0xf5384(0x1b8)](z))],exports['OfflineState']),exports[_0xf5384(0x232)]=class extends he{constructor(_0x5b1acf,_0x5b8b62,_0xeea3e9,_0x9cb6b7,_0x4da7f1,_0x46065a,_0x27f746,_0x4f965d,_0x2b2269,_0x46cc,_0x8292dd,_0x4377fe,_0x32d89f,_0x413cda){var _0x4fffd8=_0xf5384;super(_0x5b1acf,_0x5b8b62,_0xeea3e9,_0x9cb6b7,_0x27f746,_0x8292dd,_0x4377fe,_0x2b2269,_0x413cda),A(this,_0x4fffd8(0x436),'fetch_missing'),(this[_0x4fffd8(0x25a)]=_0x4da7f1,this['_queuedRemoteChangesets']=_0x46065a,this[_0x4fffd8(0x3f2)]=_0x4f965d,this[_0x4fffd8(0x4be)]=_0x46cc,this[_0x4fffd8(0x1d3)]=_0x32d89f,this[_0x4fffd8(0x4d5)]=_0x413cda);}['onMissedChangesetFetched'](_0x5ef9d0){var _0x62e89f=_0xf5384;try{const _0xc6423e=[..._0x5ef9d0,...this['_queuedRemoteChangesets']],_0xb026b3=[this[_0x62e89f(0x2e8)]||this[_0x62e89f(0x25a)]][_0x62e89f(0x27a)](_0xb69b3d=>!!_0xb69b3d);let _0x446105,_0x449792;if(_0xb026b3[_0x62e89f(0x39f)]){const _0x2853d9=this[_0x62e89f(0x1d3)][_0x62e89f(0x1fb)](_0xc6423e,_0xb026b3,!0x1);if(!g['isTransformChangesetsSuccess'](_0x2853d9))throw _0x2853d9[_0x62e89f(0x1bf)];_0x446105=_0x2853d9['c1Prime'],_0x449792=_0x2853d9['c2Prime'];}else _0x446105=_0xc6423e,_0x449792=[];let _0x3fdfc5=this[_0x62e89f(0x2e0)];_0x446105[_0x62e89f(0x22c)](_0x1635e0=>{var _0xd6adae=_0x62e89f;let _0x32b5ab;if(_0x3fdfc5[_0xd6adae(0x39f)]){const _0x3f6e30=this[_0xd6adae(0x1d3)][_0xd6adae(0x22d)](_0x1635e0,_0x3fdfc5);if(!g[_0xd6adae(0x420)](_0x3f6e30))throw _0x3f6e30[_0xd6adae(0x1bf)];_0x32b5ab=_0x3f6e30['c1Prime'],_0x3fdfc5=_0x3f6e30[_0xd6adae(0x29c)];}else _0x32b5ab=_0x1635e0;this[_0xd6adae(0x4d3)](_0x32b5ab);}),this['_acknowledgedAwaitingChangeset']&&this[_0x62e89f(0x3ff)](),this[_0x62e89f(0x2e8)]&&_0x449792[_0x62e89f(0x39f)]&&(_0x449792[0x0]['baseRev']=this['_getCurrentRevision']());let _0x54cf09;if(this['_awaitingChangeset']&&_0x3fdfc5[_0x62e89f(0x39f)]!==0x0)_0x54cf09=this['_injector']['createInstance'](exports[_0x62e89f(0x2e4)],this[_0x62e89f(0x418)],this['type'],_0x449792[0x0],_0x3fdfc5,this[_0x62e89f(0x38b)],void 0x0);else{if(this['_awaitingChangeset']&&_0x3fdfc5[_0x62e89f(0x39f)]===0x0)_0x449792[0x0][_0x62e89f(0x2a0)]=this['_getCurrentRevision'](),_0x54cf09=this['_injector'][_0x62e89f(0x1ee)](exports[_0x62e89f(0x4bf)],this['unitID'],this[_0x62e89f(0x36a)],_0x449792[0x0],this[_0x62e89f(0x38b)]);else{if(_0x3fdfc5[_0x62e89f(0x39f)]!==0x0){const _0x58b5c7=this[_0x62e89f(0x3f2)][_0x62e89f(0x1ee)](exports[_0x62e89f(0x41b)],this['unitID'],this['type'],_0x3fdfc5,this[_0x62e89f(0x38b)]);_0x58b5c7[_0x62e89f(0x427)](),_0x54cf09=_0x58b5c7;}else _0x54cf09=this['_injector'][_0x62e89f(0x1ee)](exports[_0x62e89f(0x3f5)],this[_0x62e89f(0x418)],this[_0x62e89f(0x36a)],this[_0x62e89f(0x38b)]);}}return _0x54cf09[_0x62e89f(0x2af)](),_0x54cf09;}catch(_0x14cd7a){return this['_logService']['error']('[FetchMissState]',_0x62e89f(0x2d1),_0x14cd7a),this[_0x62e89f(0x3f2)][_0x62e89f(0x1ee)](exports[_0x62e89f(0x509)],this[_0x62e89f(0x418)],this[_0x62e89f(0x36a)],this['_awaitingChangeset'],this[_0x62e89f(0x2e0)],this['_handler'],!0x1);}}[_0xf5384(0x283)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xf5384(0x1bd)](_0x1d1b21){var _0x3044f6=_0xf5384;return this[_0x3044f6(0x2e0)][_0x3044f6(0x405)](_0x1d1b21),this;}[_0xf5384(0x349)](_0x8d1020){var _0x4a817d=_0xf5384;return this['_queuedRemoteChangesets'][_0x4a817d(0x405)](_0x8d1020),this;}[_0xf5384(0x4b1)](_0x4fbc8f){var _0x539e28=_0xf5384;if(this[_0x539e28(0x2e8)])return this[_0x539e28(0x25a)]=this['_awaitingChangeset'],this[_0x539e28(0x2e8)]=null,this;throw new Error(_0x539e28(0x3dc));}[_0xf5384(0x1cb)](_0x3d8860){var _0x43f874=_0xf5384;return this[_0x43f874(0x45c)](!!(_0x3d8860!=null&&_0x3d8860[_0x43f874(0x24e)]));}[_0xf5384(0x4d8)](){return this;}[_0xf5384(0x271)](){var _0x24d88b=_0xf5384;return this[_0x24d88b(0x3f2)][_0x24d88b(0x1ee)](exports[_0x24d88b(0x1fc)],this[_0x24d88b(0x418)],this[_0x24d88b(0x36a)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x24d88b(0x38b)]);}[_0xf5384(0x350)](){return this;}[_0xf5384(0x45c)](_0x8ed28e){var _0x524a45=_0xf5384;return this[_0x524a45(0x3f2)][_0x524a45(0x1ee)](exports[_0x524a45(0x509)],this[_0x524a45(0x418)],this['type'],this[_0x524a45(0x2e8)],this[_0x524a45(0x2e0)],this[_0x524a45(0x38b)],_0x8ed28e);}},exports[_0xf5384(0x232)]=ce([w(0x7,a[_0xf5384(0x490)](a[_0xf5384(0x247)])),w(0x8,a['Inject'](g[_0xf5384(0x259)])),w(0x9,a[_0xf5384(0x1df)]),w(0xa,a['ICommandService']),w(0xb,a[_0xf5384(0x344)]),w(0xc,g[_0xf5384(0x487)]),w(0xd,a[_0xf5384(0x1b8)](z))],exports[_0xf5384(0x232)]);function Dt(_0x14e794,_0x16be10,_0x4a8ef6,_0x3aca8f,_0x43fd2e,_0x2459dc){var _0xa6f0fe=_0xf5384;return _0x3aca8f&&_0x43fd2e[_0xa6f0fe(0x39f)]?_0x14e794['createInstance'](exports[_0xa6f0fe(0x2e4)],_0x16be10,_0x4a8ef6,_0x3aca8f,_0x43fd2e,_0x2459dc,void 0x0):_0x3aca8f?_0x14e794[_0xa6f0fe(0x1ee)](exports[_0xa6f0fe(0x4bf)],_0x16be10,_0x4a8ef6,_0x3aca8f,_0x2459dc):_0x43fd2e['length']?_0x14e794['createInstance'](exports['PendingState'],_0x16be10,_0x4a8ef6,_0x43fd2e,_0x2459dc):_0x14e794[_0xa6f0fe(0x1ee)](exports[_0xa6f0fe(0x3f5)],_0x16be10,_0x4a8ef6,_0x2459dc);}var Ci=Object[_0xf5384(0x2b5)],We=(_0x4ece07,_0x3b8bdd,_0x2f44c6,_0x101160)=>{for(var _0x4e5bf4=_0x101160>0x1?void 0x0:_0x101160?Ci(_0x3b8bdd,_0x2f44c6):_0x3b8bdd,_0x228549=_0x4ece07['length']-0x1,_0x43edab;_0x228549>=0x0;_0x228549--)(_0x43edab=_0x4ece07[_0x228549])&&(_0x4e5bf4=_0x43edab(_0x4e5bf4)||_0x4e5bf4);return _0x4e5bf4;},$=(_0x58ddf0,_0x4befaf)=>(_0x51a693,_0xe8e55c)=>_0x4befaf(_0x51a693,_0xe8e55c,_0x58ddf0);exports[_0xf5384(0x36b)]=class extends a[_0xf5384(0x236)]{constructor(_0x27544d,_0x25fb8d,_0x5d581c,_0x5085fe,_0x3e84ac,_0x9cd076,_0x2f1ed4,_0x24e937,_0x74d692,_0xfdc335,_0x3226b1,_0xe70ab3,_0x14211b){var _0x4cf7ad=_0xf5384;super(),A(this,_0x4cf7ad(0x20b),new j[(_0x4cf7ad(0x3a7))](null)),A(this,_0x4cf7ad(0x3cd),this[_0x4cf7ad(0x20b)][_0x4cf7ad(0x3b4)]()),A(this,'_state'),A(this,_0x4cf7ad(0x37c),!0x1),A(this,'_changesetSessionId',''),A(this,'_changesetReqId',0x0),A(this,_0x4cf7ad(0x1ca),this[_0x4cf7ad(0x3cd)]['pipe'](j['map'](_0x1c89e3=>_0x1c89e3?_0x1c89e3[_0x4cf7ad(0x436)]:Ve['OFFLINE']),j[_0x4cf7ad(0x369)](0x1))),A(this,_0x4cf7ad(0x27b),!0x1),A(this,_0x4cf7ad(0x3df),[]),(this[_0x4cf7ad(0x418)]=_0x27544d,this[_0x4cf7ad(0x380)]=_0x25fb8d,this['_type']=_0x5d581c,this[_0x4cf7ad(0x3f2)]=_0x5085fe,this[_0x4cf7ad(0x393)]=_0x3e84ac,this[_0x4cf7ad(0x289)]=_0x9cd076,this['_revisionService']=_0x2f1ed4,this['_eventService']=_0x24e937,this['_logService']=_0x74d692,this[_0x4cf7ad(0x445)]=_0xfdc335,this['_permissionService']=_0x3226b1,this['_singleActiveUnitService']=_0xe70ab3,this['_localCacheService']=_0x14211b);}get[_0xf5384(0x2ff)](){var _0x38a7c9=_0xf5384;return this[_0x38a7c9(0x28c)];}async[_0xf5384(0x4d6)](){var _0x141f12=_0xf5384;if(this[_0x141f12(0x2ff)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x141f12(0x428)]();}['pauseCollaboration'](){var _0x295fbc=_0xf5384;return this[_0x295fbc(0x37c)]=!0x0,a[_0x295fbc(0x291)](()=>{var _0x36fd78=_0x295fbc;this[_0x36fd78(0x37c)]=!0x1,this[_0x36fd78(0x1b0)]();});}[_0xf5384(0x465)](_0x2878d9){var _0x662427=_0xf5384;this[_0x662427(0x3a0)](_0x2878d9);}[_0xf5384(0x2f3)](_0x5e3936){var _0x1040d3=_0xf5384;this['_state']=_0x5e3936,this[_0x1040d3(0x20b)][_0x1040d3(0x3d8)](_0x5e3936);}async[_0xf5384(0x428)](){var _0x4a5c5e=_0xf5384,_0x403baa;this[_0x4a5c5e(0x2f3)](await this[_0x4a5c5e(0x43b)]()),this['_singleActiveUnitService']&&((_0x403baa=this[_0x4a5c5e(0x4de)])==null||_0x403baa[_0x4a5c5e(0x301)](this[_0x4a5c5e(0x418)]),this['disposeWithMe'](this[_0x4a5c5e(0x4de)][_0x4a5c5e(0x44d)](this[_0x4a5c5e(0x418)])[_0x4a5c5e(0x30e)](_0x2b39da=>{var _0x13fa58=_0x4a5c5e;this[_0x13fa58(0x4be)][_0x13fa58(0x3cf)](_0x13fa58(0x3c2),'editing\x20status\x20changed\x20to',_0x2b39da),_0x2b39da===Fe[_0x13fa58(0x1e7)]?(this['_eventService'][_0x13fa58(0x280)]({'id':Q[_0x13fa58(0x4a0)]}),this[_0x13fa58(0x3b5)][_0x13fa58(0x212)](new Z[(_0x13fa58(0x4f2))](this[_0x13fa58(0x418)])['id'],!0x1),this[_0x13fa58(0x3b5)][_0x13fa58(0x4d9)](!0x1)):(this[_0x13fa58(0x3b5)][_0x13fa58(0x212)](new Z[(_0x13fa58(0x4f2))](this[_0x13fa58(0x418)])['id'],!0x0),this[_0x13fa58(0x3b5)]['setShowComponents'](!0x0));})));let _0xa9e8c1=!0x1;return this['disposeWithMe'](this[_0x4a5c5e(0x380)][_0x4a5c5e(0x3f3)][_0x4a5c5e(0x30e)](_0x5a64e6=>{var _0x1d6d35=_0x4a5c5e;_0x5a64e6===se[_0x1d6d35(0x298)]?this['_toggleOnline'](_0xa9e8c1):_0x5a64e6===se[_0x1d6d35(0x3c9)]&&(_0xa9e8c1=!0x0,this[_0x1d6d35(0x41c)]());})),this['disposeWithMe'](this[_0x4a5c5e(0x380)][_0x4a5c5e(0x250)]['subscribe'](_0x1f6c3a=>{var _0xdb6b67=_0x4a5c5e;try{switch(_0x1f6c3a[_0xdb6b67(0x25b)]){case g['CollaborationEvent'][_0xdb6b67(0x2c2)]:{this[_0xdb6b67(0x21e)](g[_0xdb6b67(0x2dc)](_0x1f6c3a[_0xdb6b67(0x3a8)]));break;}case g['CollaborationEvent']['CHANGESET_ACK']:{this[_0xdb6b67(0x2e2)](_0x1f6c3a[_0xdb6b67(0x3a8)]);break;}case g['CollaborationEvent'][_0xdb6b67(0x3c3)]:{this[_0xdb6b67(0x2fe)]();break;}case g[_0xdb6b67(0x371)][_0xdb6b67(0x37e)]:{this[_0xdb6b67(0x20c)](_0x1f6c3a[_0xdb6b67(0x3a8)]);break;}case g['CollaborationEvent'][_0xdb6b67(0x383)]:{this[_0xdb6b67(0x3b8)](_0x1f6c3a['data'][_0xdb6b67(0x1d5)]['map'](_0x246585=>g[_0xdb6b67(0x2dc)](_0x246585)));break;}case g['CollaborationEvent']['PERMISSION_REJ']:{this[_0xdb6b67(0x2fe)]({'isPermissionRej':!0x0});break;}case g['CollaborationEvent'][_0xdb6b67(0x434)]:break;}}catch(_0x39d3fe){throw console['error']('Error\x20on\x20receiving\x20event',_0x39d3fe),_0x39d3fe;}})),this[_0x4a5c5e(0x28c)];}[_0xf5384(0x2bd)](){var _0x547e52=_0xf5384;this[_0x547e52(0x27b)]=!0x1;}[_0xf5384(0x4e5)](){var _0x1ba8ce=_0xf5384;if(this['_transitionLocked'])throw new Error(_0x1ba8ce(0x35c));this[_0x1ba8ce(0x27b)]=!0x0;}[_0xf5384(0x3a0)](_0x4656da){var _0x4ababd=_0xf5384;this[_0x4ababd(0x4e5)](),this[_0x4ababd(0x2f3)](this['_state'][_0x4ababd(0x1bd)](_0x4656da)),this[_0x4ababd(0x2bd)]();}['_onRemoteChangeset'](_0x4e644c){var _0x1630b5=_0xf5384;if(!(_0x4e644c['revision']<=this['_revisionService'][_0x1630b5(0x40d)](this[_0x1630b5(0x418)]))){if(this[_0x1630b5(0x37c)]){this[_0x1630b5(0x3df)][_0x1630b5(0x405)](_0x4e644c);return;}this['_applyRemoteChangeset'](_0x4e644c);}}['_exhaustRemoteChangesetQueue'](){var _0x1eadb1=_0xf5384;this[_0x1eadb1(0x3df)][_0x1eadb1(0x22c)](_0x289e8f=>this[_0x1eadb1(0x21b)](_0x289e8f)),this[_0x1eadb1(0x3df)]=[];}[_0xf5384(0x21b)](_0x4bf26a){var _0x3a3bb8=_0xf5384;const _0x5b1c84=this[_0x3a3bb8(0x393)][_0x3a3bb8(0x355)]['fetchThroughInterceptors'](this[_0x3a3bb8(0x393)][_0x3a3bb8(0x355)][_0x3a3bb8(0x253)]()[_0x3a3bb8(0x34c)])(_0x4bf26a[_0x3a3bb8(0x43d)],null)||_0x4bf26a['mutations'],_0xe76f39={..._0x4bf26a,'mutations':_0x5b1c84};this[_0x3a3bb8(0x4e5)](),this[_0x3a3bb8(0x2f3)](this['_state'][_0x3a3bb8(0x349)](_0xe76f39)),this[_0x3a3bb8(0x2bd)]();}['_onRemoteACK'](_0x1c59d9){var _0x396b43=_0xf5384;this[_0x396b43(0x4e5)](),this['_updateState'](this['_state']['onRemoteAck'](_0x1c59d9)),this['_unlockTransition']();}[_0xf5384(0x2fe)](_0x5973ea){var _0x16ee91=_0xf5384;this[_0x16ee91(0x4e5)](),this['_updateState'](this[_0x16ee91(0x28c)]['onRemoteRej'](_0x5973ea)),this[_0x16ee91(0x2bd)]();}[_0xf5384(0x20c)](_0x2b38ad){var _0x5d1f34=_0xf5384;this[_0x5d1f34(0x4e5)](),this['_updateState'](this[_0x5d1f34(0x28c)][_0x5d1f34(0x4d8)](_0x2b38ad)),this[_0x5d1f34(0x2bd)]();}[_0xf5384(0x3b8)](_0x235851){var _0x2ec35e=_0xf5384;if(!(this['_state']instanceof exports[_0x2ec35e(0x232)]))throw new TypeError(_0x2ec35e(0x497));const _0x401311=_0x235851[_0x2ec35e(0x483)](_0x574906=>{var _0x41dc7b=_0x2ec35e;const _0x4a3238=this[_0x41dc7b(0x393)][_0x41dc7b(0x355)][_0x41dc7b(0x287)](this[_0x41dc7b(0x393)][_0x41dc7b(0x355)][_0x41dc7b(0x253)]()[_0x41dc7b(0x34c)])(_0x574906[_0x41dc7b(0x43d)],null)||_0x574906[_0x41dc7b(0x43d)];return{..._0x574906,'mutations':_0x4a3238};});this[_0x2ec35e(0x4e5)](),this[_0x2ec35e(0x2f3)](this[_0x2ec35e(0x28c)][_0x2ec35e(0x274)](_0x401311)),this[_0x2ec35e(0x2bd)]();}[_0xf5384(0x41c)](){var _0x526c9d=_0xf5384;this[_0x526c9d(0x4e5)](),this[_0x526c9d(0x2f3)](this[_0x526c9d(0x28c)][_0x526c9d(0x271)]()),this[_0x526c9d(0x2bd)]();}[_0xf5384(0x30b)](_0x1aa3c6=!0x1){var _0x4bcc10=_0xf5384;this[_0x4bcc10(0x4e5)](),this[_0x4bcc10(0x2f3)](this[_0x4bcc10(0x28c)][_0x4bcc10(0x350)]()),this[_0x4bcc10(0x2bd)]();const _0x467815=this[_0x4bcc10(0x28c)];_0x1aa3c6&&_0x467815 instanceof exports[_0x4bcc10(0x3f5)]&&(this['_lockTransition'](),this['_updateState'](_0x467815[_0x4bcc10(0x1a0)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x402c51=>{var _0x49567b=_0x4e4b;this[_0x49567b(0x380)][_0x49567b(0x3f3)][_0x49567b(0x446)](j[_0x49567b(0x28d)](0x1))[_0x49567b(0x30e)](async _0x2f3417=>{var _0x4db4e7=_0x49567b;_0x402c51(await this[_0x4db4e7(0x2ac)](_0x2f3417===se[_0x4db4e7(0x298)]));});});}['_createHandler'](){var _0x4e0e14=_0xf5384;const _0x10ec3e=this[_0x4e0e14(0x418)];return{'onStateChange':(_0x4f52dd,_0x35b231)=>{var _0x290612=_0x4e0e14;if(_0x4f52dd!==this[_0x290612(0x28c)])throw new Error(_0x290612(0x421)+_0x4f52dd[_0x290612(0x436)]+_0x290612(0x302)+_0x35b231[_0x290612(0x436)]+'\x0aCurrent:\x20'+this[_0x290612(0x28c)][_0x290612(0x436)]);this[_0x290612(0x2f3)](_0x35b231);},'onSendChangeset':_0x69de1d=>{var _0x4b0180=_0x4e0e14;_0x69de1d[_0x4b0180(0x2b1)]||(_0x69de1d[_0x4b0180(0x2b1)]=this['_changesetSessionId'],_0x69de1d[_0x4b0180(0x268)]=++this[_0x4b0180(0x242)]);const _0x2d3b3f={'eventID':g['CollaborationEvent'][_0x4b0180(0x20f)],'data':{'unitID':_0x69de1d[_0x4b0180(0x418)],'unitType':this[_0x4b0180(0x2a1)],'changeset':_0x69de1d,'memberID':this[_0x4b0180(0x380)][_0x4b0180(0x4e9)]()}};this[_0x4b0180(0x380)][_0x4b0180(0x262)](_0x2d3b3f,this['unitID']);},'onMissingChangesets':({from:_0x37bc62,to:_0x2e93d9})=>{var _0x405492=_0x4e0e14;this[_0x405492(0x4be)][_0x405492(0x3cf)](_0x405492(0x3c2),_0x405492(0x2ad)+_0x37bc62+_0x405492(0x245)+_0x2e93d9);const _0x1016ab={'eventID':g[_0x405492(0x371)]['FETCH_MISSING'],'data':{'unitID':_0x10ec3e,'unitType':this['_type'],'from':_0x37bc62,'to':_0x2e93d9}};this[_0x405492(0x380)][_0x405492(0x262)](_0x1016ab,this[_0x405492(0x418)]);}};}async[_0xf5384(0x2ac)](_0x3f543b){var _0x1d1f53=_0xf5384,_0x2ae10f,_0x397edb,_0xd484a9;const _0x1ecb6c=await((_0x2ae10f=this[_0x1d1f53(0x4da)])==null?void 0x0:_0x2ae10f[_0x1d1f53(0x3db)](this[_0x1d1f53(0x418)])),_0x20b48b=(_0x397edb=_0x1ecb6c==null?void 0x0:_0x1ecb6c[_0x1d1f53(0x43d)])!=null?_0x397edb:[],_0x4607b3=(_0xd484a9=_0x1ecb6c==null?void 0x0:_0x1ecb6c['awaitingChangeset'])!=null?_0xd484a9:null,_0x37e244=!!(_0x4607b3!=null&&_0x4607b3[_0x1d1f53(0x2b1)])&&!!(_0x4607b3!=null&&_0x4607b3[_0x1d1f53(0x268)]);this[_0x1d1f53(0x3c5)]=_0x37e244?_0x4607b3[_0x1d1f53(0x2b1)]:di(),this['_changesetReqId']=_0x37e244?_0x4607b3[_0x1d1f53(0x268)]:0x0;const _0x468f84=this['unitID'];try{this[_0x1d1f53(0x472)](_0x4607b3,_0x20b48b);}catch(_0x326452){this[_0x1d1f53(0x4be)]['error'](_0x326452);}const _0x3f0329=this[_0x1d1f53(0x4a7)]();if(_0x3f543b){const _0x327052=Dt(this['_injector'],_0x468f84,this[_0x1d1f53(0x2a1)],_0x4607b3,_0x20b48b,_0x3f0329);return _0x327052 instanceof exports[_0x1d1f53(0x41b)]?_0x327052[_0x1d1f53(0x427)]():(_0x327052 instanceof exports[_0x1d1f53(0x2e4)]||_0x327052 instanceof exports[_0x1d1f53(0x4bf)])&&_0x327052[_0x1d1f53(0x283)](),_0x327052;}return this[_0x1d1f53(0x3f2)][_0x1d1f53(0x1ee)](exports[_0x1d1f53(0x1fc)],_0x468f84,this[_0x1d1f53(0x2a1)],_0x4607b3,_0x20b48b,_0x3f0329);}[_0xf5384(0x472)](_0x5a9f68,_0xbcd5c3){var _0x5bf557=_0xf5384,_0x13c57e,_0x52197c;const _0x3cc13d=this[_0x5bf557(0x393)]['interceptor'][_0x5bf557(0x287)](this[_0x5bf557(0x393)][_0x5bf557(0x355)][_0x5bf557(0x253)]()['COMPRESS_MUTATION_APPLY']);(_0x13c57e=_0x3cc13d((_0x5a9f68==null?void 0x0:_0x5a9f68[_0x5bf557(0x43d)])||[],null))==null||_0x13c57e[_0x5bf557(0x22c)](_0x35acb0=>this['_commandService'][_0x5bf557(0x2a9)](_0x35acb0['id'],_0x35acb0['params'])),(_0x52197c=_0x3cc13d(_0xbcd5c3||[],null))==null||_0x52197c['forEach'](_0x2bb715=>this[_0x5bf557(0x445)][_0x5bf557(0x2a9)](_0x2bb715['id'],_0x2bb715[_0x5bf557(0x24a)]));}},exports[_0xf5384(0x36b)]=We([$(0x3,a[_0xf5384(0x490)](a[_0xf5384(0x247)])),$(0x4,a[_0xf5384(0x490)](g['CompressMutationService'])),$(0x5,a[_0xf5384(0x490)](a[_0xf5384(0x41e)])),$(0x6,a['Inject'](g[_0xf5384(0x259)])),$(0x7,a[_0xf5384(0x490)](te)),$(0x8,a[_0xf5384(0x1df)]),$(0x9,a['ICommandService']),$(0xa,a['IPermissionService']),$(0xb,a[_0xf5384(0x1b8)](ve)),$(0xc,a['Optional'](z))],exports[_0xf5384(0x36b)]),exports[_0xf5384(0x34b)]=class extends exports[_0xf5384(0x36b)]{constructor(_0x41a351,_0x4229f4,_0x399d9f,_0x4084f6,_0x6d993,_0x19ec06,_0x10361c,_0x3ac777,_0x5c3774,_0x2aa880,_0x1c7723,_0x1bfc84,_0x1122bd){var _0x5cc0c6=_0xf5384;super(_0x41a351,_0x399d9f,_0x4229f4,_0x4084f6,_0x6d993,_0x19ec06,_0x10361c,_0x3ac777,_0x5c3774,_0x2aa880,_0x1c7723,_0x1bfc84,_0x1122bd),A(this,'_handlerCallback',null),(this[_0x5cc0c6(0x418)]=_0x41a351,this[_0x5cc0c6(0x36a)]=_0x4229f4);}[_0xf5384(0x227)](_0x123c92){var _0x1e30af=_0xf5384;this[_0x1e30af(0x273)]=_0x123c92;}[_0xf5384(0x479)](){var _0x379e85=_0xf5384;this[_0x379e85(0x273)]=null,super[_0x379e85(0x479)]();}[_0xf5384(0x4a7)](){var _0x2e7ab6=_0xf5384;const _0x3f51c9=super[_0x2e7ab6(0x4a7)]();return _0x3f51c9[_0x2e7ab6(0x1d8)]=_0x4c29ef=>{var _0x4b6269=_0x2e7ab6,_0xd86618,_0x2c084b;return(_0x2c084b=(_0xd86618=this[_0x4b6269(0x273)])==null?void 0x0:_0xd86618[_0x4b6269(0x1d8)])==null?void 0x0:_0x2c084b[_0x4b6269(0x2ba)](_0xd86618,_0x4c29ef);},_0x3f51c9[_0x2e7ab6(0x316)]=_0x3d27e8=>{var _0x2aff2c=_0x2e7ab6,_0xc27e5e,_0x3c16e9;return(_0x3c16e9=(_0xc27e5e=this['_handlerCallback'])==null?void 0x0:_0xc27e5e[_0x2aff2c(0x316)])==null?void 0x0:_0x3c16e9['call'](_0xc27e5e,_0x3d27e8);},_0x3f51c9[_0x2e7ab6(0x50e)]=_0x45fa6a=>{var _0x508da3=_0x2e7ab6,_0x31f8d,_0x1f11cf;return(_0x1f11cf=(_0x31f8d=this[_0x508da3(0x273)])==null?void 0x0:_0x31f8d[_0x508da3(0x50e)])==null?void 0x0:_0x1f11cf['call'](_0x31f8d,_0x45fa6a);},_0x3f51c9['onSyncEditingCollabCursor']=_0x55cb74=>{var _0x70cb89=_0x2e7ab6,_0x2b9741,_0x536bb7;return(_0x536bb7=(_0x2b9741=this[_0x70cb89(0x273)])==null?void 0x0:_0x2b9741[_0x70cb89(0x239)])==null?void 0x0:_0x536bb7['call'](_0x2b9741,_0x55cb74);},_0x3f51c9[_0x2e7ab6(0x4bc)]=_0x23ec0f=>{var _0x23d027=_0x2e7ab6,_0x4fe52a,_0x10c402,_0x3f1886;if(!((_0x4fe52a=this['_handlerCallback'])!=null&&_0x4fe52a[_0x23d027(0x4bc)]))throw new Error(_0x23d027(0x455));return(_0x3f1886=(_0x10c402=this[_0x23d027(0x273)])==null?void 0x0:_0x10c402[_0x23d027(0x4bc)])==null?void 0x0:_0x3f1886[_0x23d027(0x2ba)](_0x10c402,_0x23ec0f);},_0x3f51c9[_0x2e7ab6(0x261)]=_0x3bb9a7=>{var _0x5c1e68=_0x2e7ab6,_0x519a83,_0x5c72b8,_0x4dcfa2;if(!((_0x519a83=this[_0x5c1e68(0x273)])!=null&&_0x519a83[_0x5c1e68(0x261)]))throw new Error(_0x5c1e68(0x32c));return(_0x4dcfa2=(_0x5c72b8=this[_0x5c1e68(0x273)])==null?void 0x0:_0x5c72b8[_0x5c1e68(0x261)])==null?void 0x0:_0x4dcfa2[_0x5c1e68(0x2ba)](_0x5c72b8,_0x3bb9a7);},_0x3f51c9;}async[_0xf5384(0x428)](){var _0x2515b0=_0xf5384;const _0x29ee1d=await super['_init']();return this[_0x2515b0(0x480)](this[_0x2515b0(0x445)][_0x2515b0(0x47c)]((_0x4edc83,_0x395b62)=>{var _0x9ce355=_0x2515b0;if(_0x4edc83[_0x9ce355(0x36a)]!==a[_0x9ce355(0x294)][_0x9ce355(0x335)]||_0x395b62!=null&&_0x395b62['fromCollab']||_0x395b62!=null&&_0x395b62[_0x9ce355(0x48f)]||_0x4edc83['id']===ut['RichTextEditingMutation']['id'])return;const _0xecb85d=_0x4edc83['params'];if((_0xecb85d==null?void 0x0:_0xecb85d[_0x9ce355(0x447)])!==this[_0x9ce355(0x418)])return;const _0xd2609c=_0x4edc83,_0x4bed88=this['_compressMutationService']['interceptor'][_0x9ce355(0x287)](this[_0x9ce355(0x393)]['interceptor'][_0x9ce355(0x253)]()[_0x9ce355(0x515)])([_0xd2609c],null)||[_0xd2609c];this[_0x9ce355(0x3a0)](_0x4bed88[0x0]);})),_0x29ee1d;}},exports[_0xf5384(0x34b)]=We([$(0x3,a[_0xf5384(0x490)](a[_0xf5384(0x247)])),$(0x4,a[_0xf5384(0x490)](g[_0xf5384(0x4fa)])),$(0x5,a[_0xf5384(0x490)](a[_0xf5384(0x41e)])),$(0x6,a['Inject'](g[_0xf5384(0x259)])),$(0x7,a[_0xf5384(0x490)](te)),$(0x8,a['ILogService']),$(0x9,a[_0xf5384(0x49f)]),$(0xa,a[_0xf5384(0x193)]),$(0xb,a[_0xf5384(0x1b8)](ve)),$(0xc,a[_0xf5384(0x1b8)](z))],exports[_0xf5384(0x34b)]),exports['SheetCollaborationEntity']=class extends exports[_0xf5384(0x36b)]{constructor(_0xdd65ac,_0x19eaf9,_0x49957e,_0xb3237d,_0x438539,_0x3593b5,_0x5e603b,_0x48cb68,_0x714cf0,_0x50d70f,_0x5294ac,_0x461d30,_0x5d64b0,_0x30014c){var _0x1d63d8=_0xf5384;super(_0xdd65ac,_0x49957e,_0x19eaf9,_0xb3237d,_0x438539,_0x3593b5,_0x5e603b,_0x714cf0,_0x50d70f,_0x5294ac,_0x461d30,_0x5d64b0,_0x30014c),this[_0x1d63d8(0x418)]=_0xdd65ac,this[_0x1d63d8(0x36a)]=_0x19eaf9,this[_0x1d63d8(0x1f0)]=_0x48cb68;}[_0xf5384(0x4a7)](){var _0x2780db=_0xf5384;const _0x588b35=super['_createHandler']();return _0x588b35[_0x2780db(0x50e)]=_0x36d925=>this[_0x2780db(0x1f0)][_0x2780db(0x2d9)](_0x36d925),_0x588b35;}async[_0xf5384(0x428)](){var _0x186475=_0xf5384;const _0xbc0809=await super[_0x186475(0x428)]();return this[_0x186475(0x480)](this['_commandService'][_0x186475(0x47c)]((_0x319053,_0x3f72f8)=>{var _0xe06881=_0x186475;if(_0x319053[_0xe06881(0x36a)]!==a[_0xe06881(0x294)][_0xe06881(0x335)]||_0x3f72f8!=null&&_0x3f72f8[_0xe06881(0x320)]||_0x3f72f8!=null&&_0x3f72f8['onlyLocal'])return;const _0x43058f=_0x319053['params'];if((_0x43058f==null?void 0x0:_0x43058f['unitId'])!==this[_0xe06881(0x418)])return;const _0x377403=_0x319053,_0x1fa82b=this[_0xe06881(0x393)][_0xe06881(0x355)][_0xe06881(0x287)](this['_compressMutationService'][_0xe06881(0x355)][_0xe06881(0x253)]()[_0xe06881(0x515)])([_0x377403],null)||[_0x377403];this[_0xe06881(0x3a0)](_0x1fa82b[0x0]);})),_0xbc0809;}},exports['SheetCollaborationEntity']=We([$(0x3,a[_0xf5384(0x490)](a[_0xf5384(0x247)])),$(0x4,a[_0xf5384(0x490)](g[_0xf5384(0x4fa)])),$(0x5,a[_0xf5384(0x490)](a['LocaleService'])),$(0x6,a[_0xf5384(0x490)](g['RevisionService'])),$(0x7,a[_0xf5384(0x490)](exports['SheetTransformSelectionsService'])),$(0x8,a[_0xf5384(0x490)](te)),$(0x9,a[_0xf5384(0x1df)]),$(0xa,a['ICommandService']),$(0xb,a[_0xf5384(0x193)]),$(0xc,a[_0xf5384(0x1b8)](ve)),$(0xd,a[_0xf5384(0x1b8)](z))],exports[_0xf5384(0x486)]);var Ti=Object[_0xf5384(0x2b5)],bi=(_0xcd87aa,_0x2c3a83,_0x1235c0,_0x33f1ed)=>{var _0x4aa9b9=_0xf5384;for(var _0x81ea6=_0x33f1ed>0x1?void 0x0:_0x33f1ed?Ti(_0x2c3a83,_0x1235c0):_0x2c3a83,_0x227c58=_0xcd87aa[_0x4aa9b9(0x39f)]-0x1,_0x350fc0;_0x227c58>=0x0;_0x227c58--)(_0x350fc0=_0xcd87aa[_0x227c58])&&(_0x81ea6=_0x350fc0(_0x81ea6)||_0x81ea6);return _0x81ea6;},Pe=(_0x33ea49,_0xd0593d)=>(_0xa2e406,_0x1d9c39)=>_0xd0593d(_0xa2e406,_0x1d9c39,_0x33ea49);exports[_0xf5384(0x2eb)]=class extends a[_0xf5384(0x236)]{constructor(_0x22766a,_0x2ea08c,_0x3b6206){var _0x14bfa6=_0xf5384;super(),A(this,'_entities',new Map()),A(this,_0x14bfa6(0x3ac),new j[(_0x14bfa6(0x45b))]()),A(this,_0x14bfa6(0x361),this[_0x14bfa6(0x3ac)]['asObservable']()),(this['_injector']=_0x22766a,this[_0x14bfa6(0x430)]=_0x2ea08c,this[_0x14bfa6(0x1eb)]=_0x3b6206,this[_0x14bfa6(0x428)]());}[_0xf5384(0x479)](){var _0x3d3044=_0xf5384;super[_0x3d3044(0x479)](),this[_0x3d3044(0x329)][_0x3d3044(0x22c)](_0x3c0160=>_0x3c0160[_0x3d3044(0x479)]()),this[_0x3d3044(0x329)][_0x3d3044(0x373)]();}[_0xf5384(0x45f)](_0x5b6d8c){var _0x5884b9=_0xf5384,_0x2f7dc5;return(_0x2f7dc5=this[_0x5884b9(0x329)]['get'](_0x5b6d8c))!=null?_0x2f7dc5:null;}[_0xf5384(0x306)](_0x559992){var _0x5cf8cd=_0xf5384;const _0x38f918=this[_0x5cf8cd(0x45f)](_0x559992);return _0x38f918?j['of'](_0x38f918):this[_0x5cf8cd(0x3ac)][_0x5cf8cd(0x446)](V[_0x5cf8cd(0x27a)](_0x532c99=>_0x532c99[_0x5cf8cd(0x418)]===_0x559992));}['readyForCollab'](_0x175d04){var _0x5f4aca=_0xf5384;return j[_0x5f4aca(0x1d0)](this['getCollabEntity$'](_0x175d04)[_0x5f4aca(0x446)](V['map'](()=>{})));}['_init'](){var _0x30d9e0=_0xf5384;this[_0x30d9e0(0x1eb)][_0x30d9e0(0x226)](a['UniverInstanceType'][_0x30d9e0(0x33e)])[_0x30d9e0(0x446)](j['takeUntil'](this[_0x30d9e0(0x2bf)]),V[_0x30d9e0(0x4ab)](0x10))[_0x30d9e0(0x30e)](async _0x45c58c=>{var _0x53e3bc=_0x30d9e0;const _0x3388c4=_0x45c58c[_0x53e3bc(0x2b8)](),_0x361e4c=await this[_0x53e3bc(0x34a)](_0x3388c4,X[_0x53e3bc(0x33e)]);this[_0x53e3bc(0x329)][_0x53e3bc(0x1b4)](_0x3388c4,_0x361e4c);}),this[_0x30d9e0(0x1eb)][_0x30d9e0(0x226)](a[_0x30d9e0(0x278)]['UNIVER_DOC'])['pipe'](j[_0x30d9e0(0x195)](this['dispose$']),V['delay'](0x10))['pipe'](V[_0x30d9e0(0x27a)](_0x3e7e22=>!_0x3e7e22[_0x30d9e0(0x2b8)]()[_0x30d9e0(0x399)]('__')))[_0x30d9e0(0x30e)](async _0x246b4a=>{var _0x2d23f5=_0x30d9e0;const _0x64b4d7=_0x246b4a[_0x2d23f5(0x2b8)](),_0x5f5c43=await this[_0x2d23f5(0x34a)](_0x64b4d7,X['UNIVER_DOC']);this[_0x2d23f5(0x329)][_0x2d23f5(0x1b4)](_0x64b4d7,_0x5f5c43);}),j['merge'](this[_0x30d9e0(0x1eb)][_0x30d9e0(0x408)](a[_0x30d9e0(0x278)]['UNIVER_SHEET']),this[_0x30d9e0(0x1eb)][_0x30d9e0(0x408)](a['UniverInstanceType'][_0x30d9e0(0x1d1)]))[_0x30d9e0(0x446)](j['takeUntil'](this[_0x30d9e0(0x2bf)]))[_0x30d9e0(0x30e)](_0x183684=>{var _0x14ac97=_0x30d9e0;const _0x282393=_0x183684['getUnitId'](),_0x536b1a=this[_0x14ac97(0x329)][_0x14ac97(0x1f9)](_0x282393);_0x536b1a&&(_0x536b1a[_0x14ac97(0x479)](),this[_0x14ac97(0x329)]['delete'](_0x282393));});}async[_0xf5384(0x34a)](_0x1a074e,_0x454413){var _0x1b7add=_0xf5384;const _0x41d3d4=await this['_collabSessionService']['requireSession'](_0x1a074e),_0x154b68=this['_injector'][_0x1b7add(0x1ee)](this[_0x1b7add(0x325)](_0x454413),_0x1a074e,_0x454413,_0x41d3d4);return await _0x154b68['init'](),this[_0x1b7add(0x3ac)][_0x1b7add(0x3d8)](_0x154b68),_0x154b68;}[_0xf5384(0x325)](_0x56748e){var _0x454bce=_0xf5384;switch(_0x56748e){case X[_0x454bce(0x1d1)]:return exports[_0x454bce(0x34b)];case X[_0x454bce(0x33e)]:return exports[_0x454bce(0x486)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x56748e);}}},exports[_0xf5384(0x2eb)]=bi([Pe(0x0,a['Inject'](a[_0xf5384(0x247)])),Pe(0x1,a['Inject'](exports[_0xf5384(0x4b8)])),Pe(0x2,a[_0xf5384(0x2f2)])],exports[_0xf5384(0x2eb)]);var Ri=Object[_0xf5384(0x2b5)],Oi=(_0x1ea6f1,_0x13b7b0,_0x5ea2c9,_0x448331)=>{var _0x2e06e1=_0xf5384;for(var _0x2e0277=_0x448331>0x1?void 0x0:_0x448331?Ri(_0x13b7b0,_0x5ea2c9):_0x13b7b0,_0x4e226a=_0x1ea6f1[_0x2e06e1(0x39f)]-0x1,_0x16e778;_0x4e226a>=0x0;_0x4e226a--)(_0x16e778=_0x1ea6f1[_0x4e226a])&&(_0x2e0277=_0x16e778(_0x2e0277)||_0x2e0277);return _0x2e0277;},Je=(_0x2c14bd,_0xce7659)=>(_0xdb09c3,_0x4e53c8)=>_0xce7659(_0xdb09c3,_0x4e53c8,_0x2c14bd);const yi=_0xf5384(0x4c3),Ni=_0xf5384(0x49b);let He=class extends a['Disposable']{constructor(_0x3aede9,_0x32fc53){var _0x5531b7=_0xf5384;super(),this[_0x5531b7(0x1eb)]=_0x3aede9,this[_0x5531b7(0x2b0)]=_0x32fc53,this[_0x5531b7(0x428)]();}['_init'](){var _0x238060=_0xf5384;this[_0x238060(0x480)](this['_univerInstanceService'][_0x238060(0x24f)][_0x238060(0x30e)](()=>{var _0x53b2a9=_0x238060,_0x18431e;const _0x1d4d0b=this['_univerInstanceService']['getFocusedUnit']();let _0x3803a9=(_0x18431e=this[_0x53b2a9(0x2b0)][_0x53b2a9(0x464)](yi))!=null?_0x18431e:Ni;_0x1d4d0b instanceof a[_0x53b2a9(0x347)]&&(_0x3803a9=_0x1d4d0b[_0x53b2a9(0x308)]),document[_0x53b2a9(0x2b7)]=_0x3803a9;}));}};He=Oi([Je(0x0,a[_0xf5384(0x2f2)]),Je(0x1,a[_0xf5384(0x475)])],He);var Di=Object[_0xf5384(0x2b5)],Ui=(_0x439c9e,_0x45efb5,_0x487449,_0x4bf630)=>{var _0x1e562e=_0xf5384;for(var _0x5017af=_0x4bf630>0x1?void 0x0:_0x4bf630?Di(_0x45efb5,_0x487449):_0x45efb5,_0x1dffde=_0x439c9e[_0x1e562e(0x39f)]-0x1,_0x556edb;_0x1dffde>=0x0;_0x1dffde--)(_0x556edb=_0x439c9e[_0x1dffde])&&(_0x5017af=_0x556edb(_0x5017af)||_0x5017af);return _0x5017af;},we=(_0x3c649d,_0x5b7f69)=>(_0x37a674,_0x4808e8)=>_0x5b7f69(_0x37a674,_0x4808e8,_0x3c649d);let ye=class{constructor(_0x5498bd,_0x360525,_0x2caafa){var _0x357433=_0xf5384;this[_0x357433(0x2b0)]=_0x5498bd,this['_httpService']=_0x360525,this[_0x357433(0x211)]=_0x2caafa,this[_0x357433(0x4d6)]();}[_0xf5384(0x4d6)](){var _0x3e5e83=_0xf5384;this[_0x3e5e83(0x3e7)][_0x3e5e83(0x251)]({'priority':0x1,'interceptor':(_0x38f1a2,_0x35e350)=>_0x35e350(_0x38f1a2)[_0x3e5e83(0x446)](j['concatMap'](async _0x32eaef=>{var _0x1c3dda=_0x3e5e83;const _0x3d7a33=_0x32eaef;if(_0x3d7a33['status']===0x191){if(typeof window>'u')throw new Error(_0x1c3dda(0x378));if(window['confirm'](this[_0x1c3dda(0x211)]['t']('auth.needGotoLoginAlert'))){const _0x3de595=window[_0x1c3dda(0x2c3)](window[_0x1c3dda(0x206)]['href']);window[_0x1c3dda(0x206)][_0x1c3dda(0x39c)]=this['_getLoginPath']()+_0x1c3dda(0x26b)+_0x3de595;}}return _0x3d7a33;}))});}[_0xf5384(0x358)](){var _0x886a0d=_0xf5384,_0x2de712,_0x538cdb;const _0x20f302=this[_0x886a0d(0x2b0)][_0x886a0d(0x464)](Et),_0x2c4919=this['_configService']['getConfig'](Y);return(_0x538cdb=(_0x2de712=_0x2c4919==null?void 0x0:_0x2c4919[_0x886a0d(0x469)])!=null?_0x2de712:_0x20f302)!=null?_0x538cdb:Yt;}};ye=Ui([we(0x0,a[_0xf5384(0x475)]),we(0x1,a[_0xf5384(0x490)](q['HTTPService'])),we(0x2,a[_0xf5384(0x490)](a[_0xf5384(0x41e)]))],ye);var Ai=Object[_0xf5384(0x2b5)],Pi=(_0x49871f,_0x2eacf0,_0x1144f5,_0x12f2ae)=>{var _0x540ae7=_0xf5384;for(var _0x47dfe5=_0x12f2ae>0x1?void 0x0:_0x12f2ae?Ai(_0x2eacf0,_0x1144f5):_0x2eacf0,_0x126d32=_0x49871f[_0x540ae7(0x39f)]-0x1,_0x19b215;_0x126d32>=0x0;_0x126d32--)(_0x19b215=_0x49871f[_0x126d32])&&(_0x47dfe5=_0x19b215(_0x47dfe5)||_0x47dfe5);return _0x47dfe5;},Xe=(_0x91cea8,_0x16b599)=>(_0x372963,_0x4eb26b)=>_0x16b599(_0x372963,_0x4eb26b,_0x91cea8);const Ge=_0xf5384(0x265),wi='/universer-api/authz';exports[_0xf5384(0x3be)]=class extends a[_0xf5384(0x506)]{constructor(_0x4f09e9,_0x1a5529){var _0x43d0e0=_0xf5384;super(),this[_0x43d0e0(0x23f)]=_0x4f09e9,this['_configService']=_0x1a5529,this[_0x43d0e0(0x21a)]();}[_0xf5384(0x21a)](){var _0x39fb0a=_0xf5384;const _0x10047c=this;this[_0x39fb0a(0x480)](this[_0x39fb0a(0x23f)][_0x39fb0a(0x251)]({'priority':0x3e7,'interceptor':q[_0x39fb0a(0x244)]({'isMatch'(_0x2e1c75){var _0x55597d=_0x39fb0a,_0x302fd0;if(_0x2e1c75[_0x55597d(0x343)]===_0x55597d(0x389)&&((_0x302fd0=_0x2e1c75[_0x55597d(0x243)])!=null&&_0x302fd0['body'])){const {objectID:_0x308855,objectType:_0x3a4a82}=_0x2e1c75['requestParams'][_0x55597d(0x1be)]||{};if(!_0x308855||_0x3a4a82===void 0x0)return!0x1;const _0x9f4f44=_0x10047c[_0x55597d(0x2b3)]()+'/'+_0x3a4a82+_0x55597d(0x4a9)+_0x308855+_0x55597d(0x3a1);if(_0x2e1c75[_0x55597d(0x4f3)]===_0x9f4f44)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5ec964){var _0x3c6955=_0x39fb0a,_0x3c0c99;return(_0x3c0c99=_0x5ec964['requestParams'])==null?void 0x0:_0x3c0c99[_0x3c6955(0x1be)];},'mergeParamsToRequest'(_0x3a19af,_0x1024e5){var _0x22d2cb=_0x39fb0a;const _0x3dbbd0=_0x10047c['_getAPIPrefixPath']()+_0x22d2cb(0x459),_0x1aa88d=_0x3a19af[_0x22d2cb(0x1cf)]((_0x5ee0af,_0x1531c0)=>{var _0x1dd262=_0x22d2cb;const {unitID:_0x44d5d6,objectID:_0x39ddfa,objectType:_0x508968,actions:_0x31735a}=_0x1531c0;return _0x5ee0af[_0x44d5d6]||(_0x5ee0af[_0x44d5d6]={}),_0x5ee0af[_0x44d5d6][_0x39ddfa]||(_0x5ee0af[_0x44d5d6][_0x39ddfa]={'objectID':_0x39ddfa,'objectType':_0x508968,'actions':[]}),_0x5ee0af[_0x44d5d6][_0x39ddfa]['actions'][_0x1dd262(0x405)](..._0x31735a),_0x5ee0af;},{}),_0x126054=[];for(const _0x27753c in _0x1aa88d)for(const _0x27ee57 in _0x1aa88d[_0x27753c]){const {actions:_0x2cded9,objectType:_0x6c64ba}=_0x1aa88d[_0x27753c][_0x27ee57],_0x371018=[...new Set(_0x2cded9)];_0x126054['push']({'unitID':_0x27753c,'objectID':_0x27ee57,'objectType':_0x6c64ba,'actions':_0x371018});}return new q[(_0x22d2cb(0x213))]('POST',_0x3dbbd0,{'headers':_0x1024e5[_0x22d2cb(0x2a7)],'withCredentials':_0x1024e5[_0x22d2cb(0x3cc)],'responseType':_0x1024e5[_0x22d2cb(0x2e7)],'body':{'requests':_0x126054}});}},{'distributeResult'(_0x20ccc3,_0x46b19b){const {objectActions:_0xfc7662}=_0x20ccc3;return _0x46b19b['map'](_0x361206=>{var _0x3f6c5b=_0x4e4b;const {unitID:_0x314e50,objectID:_0xd111b5,actions:_0x241b54}=_0x361206,_0x28ac80=_0xfc7662[_0x3f6c5b(0x48d)](_0x58ef52=>_0x58ef52['unitID']===_0x314e50&&_0x58ef52['objectID']===_0xd111b5),_0x245ee6=_0x241b54['map'](_0x5e5d37=>_0x28ac80==null?void 0x0:_0x28ac80[_0x3f6c5b(0x3f1)][_0x3f6c5b(0x48d)](_0x5ba9ae=>_0x5ba9ae['action']===_0x5e5d37))[_0x3f6c5b(0x27a)](_0x128211=>!!_0x128211);return{'config':_0x361206,'result':{'actions':_0x245ee6,'error':_0x20ccc3[_0x3f6c5b(0x1bf)]}};});}})}));}['_getAPIPrefixPath'](){var _0x511596=_0xf5384,_0x51c5da,_0x5e2132;const _0x1f546a=this[_0x511596(0x2b0)][_0x511596(0x464)](Ge),_0x2ce74b=this[_0x511596(0x2b0)][_0x511596(0x464)](Y);return(_0x5e2132=(_0x51c5da=_0x2ce74b==null?void 0x0:_0x2ce74b[_0x511596(0x297)])!=null?_0x51c5da:_0x1f546a)!=null?_0x5e2132:wi;}async[_0xf5384(0x3ce)](_0x1f4d51){var _0x374ca4=_0xf5384;const _0x284a42=this[_0x374ca4(0x2b3)]()+'/'+_0x1f4d51[_0x374ca4(0x281)]+'/object';return(await this[_0x374ca4(0x23f)][_0x374ca4(0x3e5)](_0x284a42,{'body':_0x1f4d51}))['body']['objectID']||'';}async[_0xf5384(0x4a6)](_0x55f9b9){var _0x20f126=_0xf5384;const _0x390c43=this[_0x20f126(0x2b3)]()+_0x20f126(0x217);return(await this[_0x20f126(0x23f)][_0x20f126(0x3e5)](_0x390c43,{'body':_0x55f9b9}))[_0x20f126(0x1be)][_0x20f126(0x1ae)];}async[_0xf5384(0x379)](_0x1b798b){var _0x55f357=_0xf5384,_0x54fefa,_0x276999;const _0x2dc349=this[_0x55f357(0x2b3)]()+'/'+_0x1b798b['objectType']+'/object/'+_0x1b798b[_0x55f357(0x339)],_0x245c91=await this[_0x55f357(0x23f)][_0x55f357(0x367)](_0x2dc349,{'body':_0x1b798b});if(((_0x276999=(_0x54fefa=_0x245c91==null?void 0x0:_0x245c91['body'])==null?void 0x0:_0x54fefa[_0x55f357(0x1bf)])==null?void 0x0:_0x276999[_0x55f357(0x4c7)])!==0x1)throw new Error(_0x55f357(0x2bc));}async['allowed'](_0xbdc038){var _0x296bbd=_0xf5384;const _0x346c1b=this[_0x296bbd(0x2b3)]()+'/'+_0xbdc038[_0x296bbd(0x281)]+_0x296bbd(0x4a9)+_0xbdc038[_0x296bbd(0x339)]+'/allowed';return(await this[_0x296bbd(0x23f)][_0x296bbd(0x3e5)](_0x346c1b,{'body':_0xbdc038}))[_0x296bbd(0x1be)][_0x296bbd(0x3f1)];}async[_0xf5384(0x246)](_0x29148d){var _0x14ab17=_0xf5384;const _0x14a98e=this[_0x14ab17(0x2b3)]()+_0x14ab17(0x459);return(await this[_0x14ab17(0x23f)]['post'](_0x14a98e,{'body':{'requests':_0x29148d}}))['body']['objectActions'];}async[_0xf5384(0x31d)](_0xa4dff0){var _0x575da2=_0xf5384;const _0x4c9b5e=this[_0x575da2(0x2b3)]()+'/'+_0xa4dff0['objectType']+_0x575da2(0x362),_0x47ff10=await this[_0x575da2(0x23f)]['post'](_0x4c9b5e,{'body':_0xa4dff0});return{'roles':_0x47ff10[_0x575da2(0x1be)][_0x575da2(0x30c)],'actions':_0x47ff10[_0x575da2(0x1be)]['actions']};}async[_0xf5384(0x359)](_0x2c4969){var _0x2d9f0c=_0xf5384;const _0x79c339=this[_0x2d9f0c(0x2b3)]()+_0x2d9f0c(0x460);await this[_0x2d9f0c(0x23f)][_0x2d9f0c(0x290)](_0x79c339,{'params':{'collaboratorID':_0x2c4969[_0x2d9f0c(0x2d4)],'objectID':_0x2c4969[_0x2d9f0c(0x339)],'unitID':_0x2c4969[_0x2d9f0c(0x418)]}});}async['updateCollaborator'](_0x2811ab){var _0x7f7740=_0xf5384;const _0x157a13=this[_0x7f7740(0x2b3)]()+_0x7f7740(0x460);await this[_0x7f7740(0x23f)][_0x7f7740(0x22f)](_0x157a13,{'body':_0x2811ab});}async[_0xf5384(0x23c)](_0x3bf732){var _0x4fa90f=_0xf5384;const _0x3c37b4=this[_0x4fa90f(0x2b3)]()+_0x4fa90f(0x460);await this[_0x4fa90f(0x23f)][_0x4fa90f(0x3e5)](_0x3c37b4,{'body':_0x3bf732});}async['listCollaborators'](_0x1aadba){var _0x808b0c=_0xf5384;const _0x143f95=this[_0x808b0c(0x2b3)]()+_0x808b0c(0x460);return(await this[_0x808b0c(0x23f)][_0x808b0c(0x1f9)](_0x143f95,{'params':{'objectID':_0x1aadba[_0x808b0c(0x339)],'unitID':_0x1aadba[_0x808b0c(0x418)]}}))[_0x808b0c(0x1be)]['collaborators'];}async[_0xf5384(0x419)](_0x49f690){var _0x37cca8=_0xf5384;const _0x539cf0=this[_0x37cca8(0x2b3)]()+'/collaborator';await this[_0x37cca8(0x23f)][_0x37cca8(0x367)](_0x539cf0,{'body':_0x49f690});}},exports[_0xf5384(0x3be)]=Pi([Xe(0x0,a[_0xf5384(0x490)](q[_0xf5384(0x499)])),Xe(0x1,a[_0xf5384(0x490)](a[_0xf5384(0x475)]))],exports[_0xf5384(0x3be)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x181a72){var _0x108754=_0xf5384;return _0x181a72&&_0x181a72['__esModule']&&Object[_0x108754(0x2c4)][_0x108754(0x31e)][_0x108754(0x2ba)](_0x181a72,_0x108754(0x454))?_0x181a72[_0x108754(0x454)]:_0x181a72;}var fe={'exports':{}};function Li(_0x573209){var _0x4b4be7=_0xf5384;throw new Error(_0x4b4be7(0x254)+_0x573209+_0x4b4be7(0x451));}var pe={'exports':{}},Mi=pe[_0xf5384(0x2d2)],Ze;function ee(){return Ze||(Ze=0x1,function(_0x218506,_0x2ae9f4){(function(_0x5100d0,_0x46eb66){var _0x1250fd=_0x4e4b;_0x218506[_0x1250fd(0x2d2)]=_0x46eb66();}(Mi,function(){var _0x544220=_0x544220||function(_0x3b8e57,_0x5afd19){var _0x2924dc=_0x4e4b,_0x72ba3d;if(typeof window<'u'&&window[_0x2924dc(0x449)]&&(_0x72ba3d=window[_0x2924dc(0x449)]),typeof self<'u'&&self[_0x2924dc(0x449)]&&(_0x72ba3d=self[_0x2924dc(0x449)]),typeof globalThis<'u'&&globalThis[_0x2924dc(0x449)]&&(_0x72ba3d=globalThis[_0x2924dc(0x449)]),!_0x72ba3d&&typeof window<'u'&&window[_0x2924dc(0x28e)]&&(_0x72ba3d=window[_0x2924dc(0x28e)]),!_0x72ba3d&&typeof Le<'u'&&Le['crypto']&&(_0x72ba3d=Le[_0x2924dc(0x449)]),!_0x72ba3d&&typeof Li==_0x2924dc(0x35b))try{_0x72ba3d=require(_0x2924dc(0x449));}catch{}var _0xa4774a=function(){var _0x43a840=_0x2924dc;if(_0x72ba3d){if(typeof _0x72ba3d[_0x43a840(0x49a)]==_0x43a840(0x35b))try{return _0x72ba3d[_0x43a840(0x49a)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x72ba3d['randomBytes']==_0x43a840(0x35b))try{return _0x72ba3d[_0x43a840(0x2aa)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x43a840(0x2cb));},_0x3be4c9=Object['create']||(function(){function _0x65356d(){}return function(_0x4cdcd3){var _0x2bcd13=_0x4e4b,_0x4ea500;return _0x65356d[_0x2bcd13(0x2c4)]=_0x4cdcd3,_0x4ea500=new _0x65356d(),_0x65356d[_0x2bcd13(0x2c4)]=null,_0x4ea500;};}()),_0x588e51={},_0x323387=_0x588e51[_0x2924dc(0x3e3)]={},_0x580b76=_0x323387[_0x2924dc(0x384)]=(function(){return{'extend':function(_0xd2c73f){var _0x456b34=_0x4e4b,_0x2a5a89=_0x3be4c9(this);return _0xd2c73f&&_0x2a5a89['mixIn'](_0xd2c73f),(!_0x2a5a89['hasOwnProperty'](_0x456b34(0x4d6))||this[_0x456b34(0x4d6)]===_0x2a5a89['init'])&&(_0x2a5a89[_0x456b34(0x4d6)]=function(){var _0x2b74cc=_0x456b34;_0x2a5a89['$super']['init'][_0x2b74cc(0x346)](this,arguments);}),_0x2a5a89['init'][_0x456b34(0x2c4)]=_0x2a5a89,_0x2a5a89[_0x456b34(0x50c)]=this,_0x2a5a89;},'create':function(){var _0x22a9b1=_0x4e4b,_0x228e7c=this[_0x22a9b1(0x2da)]();return _0x228e7c[_0x22a9b1(0x4d6)][_0x22a9b1(0x346)](_0x228e7c,arguments),_0x228e7c;},'init':function(){},'mixIn':function(_0x5c4648){var _0x2c0942=_0x4e4b;for(var _0x3e2f38 in _0x5c4648)_0x5c4648[_0x2c0942(0x31e)](_0x3e2f38)&&(this[_0x3e2f38]=_0x5c4648[_0x3e2f38]);_0x5c4648[_0x2c0942(0x31e)](_0x2c0942(0x340))&&(this[_0x2c0942(0x340)]=_0x5c4648['toString']);},'clone':function(){var _0x13fb02=_0x4e4b;return this['init'][_0x13fb02(0x2c4)]['extend'](this);}};}()),_0x32acc7=_0x323387[_0x2924dc(0x4ac)]=_0x580b76[_0x2924dc(0x2da)]({'init':function(_0x5782eb,_0x5a6da9){var _0x3c3c38=_0x2924dc;_0x5782eb=this[_0x3c3c38(0x1f1)]=_0x5782eb||[],_0x5a6da9!=_0x5afd19?this['sigBytes']=_0x5a6da9:this[_0x3c3c38(0x28f)]=_0x5782eb[_0x3c3c38(0x39f)]*0x4;},'toString':function(_0x484c95){return(_0x484c95||_0x1238de)['stringify'](this);},'concat':function(_0x329a76){var _0x553caa=_0x2924dc,_0x4878f1=this[_0x553caa(0x1f1)],_0x577405=_0x329a76[_0x553caa(0x1f1)],_0x1801da=this[_0x553caa(0x28f)],_0x447d1e=_0x329a76[_0x553caa(0x28f)];if(this[_0x553caa(0x277)](),_0x1801da%0x4)for(var _0x3c842f=0x0;_0x3c842f<_0x447d1e;_0x3c842f++){var _0x141f48=_0x577405[_0x3c842f>>>0x2]>>>0x18-_0x3c842f%0x4*0x8&0xff;_0x4878f1[_0x1801da+_0x3c842f>>>0x2]|=_0x141f48<<0x18-(_0x1801da+_0x3c842f)%0x4*0x8;}else{for(var _0x46b1e6=0x0;_0x46b1e6<_0x447d1e;_0x46b1e6+=0x4)_0x4878f1[_0x1801da+_0x46b1e6>>>0x2]=_0x577405[_0x46b1e6>>>0x2];}return this[_0x553caa(0x28f)]+=_0x447d1e,this;},'clamp':function(){var _0x3fcc10=_0x2924dc,_0x2e1488=this['words'],_0x1f9bc7=this[_0x3fcc10(0x28f)];_0x2e1488[_0x1f9bc7>>>0x2]&=0xffffffff<<0x20-_0x1f9bc7%0x4*0x8,_0x2e1488['length']=_0x3b8e57[_0x3fcc10(0x321)](_0x1f9bc7/0x4);},'clone':function(){var _0xb69f22=_0x2924dc,_0x419a17=_0x580b76[_0xb69f22(0x37b)]['call'](this);return _0x419a17[_0xb69f22(0x1f1)]=this[_0xb69f22(0x1f1)][_0xb69f22(0x46e)](0x0),_0x419a17;},'random':function(_0x2b87c0){var _0x1f642b=_0x2924dc;for(var _0x98a80c=[],_0x10a603=0x0;_0x10a603<_0x2b87c0;_0x10a603+=0x4)_0x98a80c[_0x1f642b(0x405)](_0xa4774a());return new _0x32acc7[(_0x1f642b(0x4d6))](_0x98a80c,_0x2b87c0);}}),_0x244055=_0x588e51['enc']={},_0x1238de=_0x244055[_0x2924dc(0x3e6)]={'stringify':function(_0x3d9d1b){var _0xa6c271=_0x2924dc;for(var _0x5f4321=_0x3d9d1b[_0xa6c271(0x1f1)],_0x1df4f6=_0x3d9d1b[_0xa6c271(0x28f)],_0x5d8d47=[],_0x315ca7=0x0;_0x315ca7<_0x1df4f6;_0x315ca7++){var _0x12a24f=_0x5f4321[_0x315ca7>>>0x2]>>>0x18-_0x315ca7%0x4*0x8&0xff;_0x5d8d47[_0xa6c271(0x405)]((_0x12a24f>>>0x4)[_0xa6c271(0x340)](0x10)),_0x5d8d47[_0xa6c271(0x405)]((_0x12a24f&0xf)['toString'](0x10));}return _0x5d8d47[_0xa6c271(0x225)]('');},'parse':function(_0x4123d5){var _0x193b6a=_0x2924dc;for(var _0x32e6be=_0x4123d5[_0x193b6a(0x39f)],_0x35c9bd=[],_0x16d293=0x0;_0x16d293<_0x32e6be;_0x16d293+=0x2)_0x35c9bd[_0x16d293>>>0x3]|=parseInt(_0x4123d5[_0x193b6a(0x1f7)](_0x16d293,0x2),0x10)<<0x18-_0x16d293%0x8*0x4;return new _0x32acc7[(_0x193b6a(0x4d6))](_0x35c9bd,_0x32e6be/0x2);}},_0xfe8116=_0x244055[_0x2924dc(0x33a)]={'stringify':function(_0x341474){var _0x303e4b=_0x2924dc;for(var _0x482947=_0x341474[_0x303e4b(0x1f1)],_0xbba85e=_0x341474[_0x303e4b(0x28f)],_0x5a91fb=[],_0x265b96=0x0;_0x265b96<_0xbba85e;_0x265b96++){var _0x598d67=_0x482947[_0x265b96>>>0x2]>>>0x18-_0x265b96%0x4*0x8&0xff;_0x5a91fb[_0x303e4b(0x405)](String['fromCharCode'](_0x598d67));}return _0x5a91fb[_0x303e4b(0x225)]('');},'parse':function(_0x5b35ae){var _0xe83ea5=_0x2924dc;for(var _0x55a3fe=_0x5b35ae[_0xe83ea5(0x39f)],_0x3a2b97=[],_0x3787d9=0x0;_0x3787d9<_0x55a3fe;_0x3787d9++)_0x3a2b97[_0x3787d9>>>0x2]|=(_0x5b35ae['charCodeAt'](_0x3787d9)&0xff)<<0x18-_0x3787d9%0x4*0x8;return new _0x32acc7[(_0xe83ea5(0x4d6))](_0x3a2b97,_0x55a3fe);}},_0x3bb6a0=_0x244055[_0x2924dc(0x404)]={'stringify':function(_0x40946b){var _0x2bfd96=_0x2924dc;try{return decodeURIComponent(escape(_0xfe8116[_0x2bfd96(0x3a6)](_0x40946b)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x317450){var _0x2bc031=_0x2924dc;return _0xfe8116[_0x2bc031(0x1f3)](unescape(encodeURIComponent(_0x317450)));}},_0xf2a321=_0x323387[_0x2924dc(0x4c8)]=_0x580b76['extend']({'reset':function(){var _0x2f3593=_0x2924dc;this[_0x2f3593(0x1e0)]=new _0x32acc7[(_0x2f3593(0x4d6))](),this['_nDataBytes']=0x0;},'_append':function(_0x31efa2){var _0x425be3=_0x2924dc;typeof _0x31efa2=='string'&&(_0x31efa2=_0x3bb6a0['parse'](_0x31efa2)),this[_0x425be3(0x1e0)]['concat'](_0x31efa2),this[_0x425be3(0x2c6)]+=_0x31efa2[_0x425be3(0x28f)];},'_process':function(_0x229331){var _0x5b8d39=_0x2924dc,_0x10bdd1,_0x1c8b99=this[_0x5b8d39(0x1e0)],_0x9c43b5=_0x1c8b99[_0x5b8d39(0x1f1)],_0x1af721=_0x1c8b99[_0x5b8d39(0x28f)],_0x38d443=this['blockSize'],_0x1d6ba1=_0x38d443*0x4,_0x1f52f2=_0x1af721/_0x1d6ba1;_0x229331?_0x1f52f2=_0x3b8e57['ceil'](_0x1f52f2):_0x1f52f2=_0x3b8e57[_0x5b8d39(0x2cc)]((_0x1f52f2|0x0)-this[_0x5b8d39(0x50d)],0x0);var _0x380fdc=_0x1f52f2*_0x38d443,_0x31ac80=_0x3b8e57[_0x5b8d39(0x2a3)](_0x380fdc*0x4,_0x1af721);if(_0x380fdc){for(var _0x5d04da=0x0;_0x5d04da<_0x380fdc;_0x5d04da+=_0x38d443)this['_doProcessBlock'](_0x9c43b5,_0x5d04da);_0x10bdd1=_0x9c43b5[_0x5b8d39(0x44e)](0x0,_0x380fdc),_0x1c8b99[_0x5b8d39(0x28f)]-=_0x31ac80;}return new _0x32acc7['init'](_0x10bdd1,_0x31ac80);},'clone':function(){var _0x126f60=_0x2924dc,_0x32f874=_0x580b76['clone']['call'](this);return _0x32f874[_0x126f60(0x1e0)]=this[_0x126f60(0x1e0)][_0x126f60(0x37b)](),_0x32f874;},'_minBufferSize':0x0});_0x323387[_0x2924dc(0x385)]=_0xf2a321[_0x2924dc(0x2da)]({'cfg':_0x580b76[_0x2924dc(0x2da)](),'init':function(_0x59396e){var _0x5b711f=_0x2924dc;this['cfg']=this[_0x5b711f(0x32e)][_0x5b711f(0x2da)](_0x59396e),this[_0x5b711f(0x3fe)]();},'reset':function(){var _0x3c6c2c=_0x2924dc;_0xf2a321['reset'][_0x3c6c2c(0x2ba)](this),this[_0x3c6c2c(0x3ee)]();},'update':function(_0x3799a9){return this['_append'](_0x3799a9),this['_process'](),this;},'finalize':function(_0x8e9234){var _0x78dc66=_0x2924dc;_0x8e9234&&this[_0x78dc66(0x36f)](_0x8e9234);var _0x5a09ae=this[_0x78dc66(0x37f)]();return _0x5a09ae;},'blockSize':0x10,'_createHelper':function(_0x508df7){return function(_0x5f504a,_0x12ee2){var _0xde9920=_0x4e4b;return new _0x508df7[(_0xde9920(0x4d6))](_0x12ee2)[_0xde9920(0x43e)](_0x5f504a);};},'_createHmacHelper':function(_0x2cd359){return function(_0x221548,_0x3d3c76){var _0x142ae7=_0x4e4b;return new _0x4de237[(_0x142ae7(0x2cf))][(_0x142ae7(0x4d6))](_0x2cd359,_0x3d3c76)[_0x142ae7(0x43e)](_0x221548);};}});var _0x4de237=_0x588e51[_0x2924dc(0x386)]={};return _0x588e51;}(Math);return _0x544220;}));}(pe)),pe['exports'];}var ge={'exports':{}},xi=ge[_0xf5384(0x2d2)],Qe;function Ut(){var _0x2df465=_0xf5384;return Qe||(Qe=0x1,function(_0x5383ff,_0x2e1ab5){(function(_0x543382,_0x29892a){var _0x4abc7b=_0x4e4b;_0x5383ff[_0x4abc7b(0x2d2)]=_0x29892a(ee());}(xi,function(_0x19649d){var _0xefbe2b=_0x4e4b;return(function(){var _0x25e144=_0x4e4b,_0x50581e=_0x19649d,_0x40524f=_0x50581e['lib'],_0x5eea88=_0x40524f['WordArray'],_0x485d3c=_0x50581e[_0x25e144(0x1f5)];_0x485d3c['Base64']={'stringify':function(_0x5d21c7){var _0x44fc70=_0x25e144,_0x167d17=_0x5d21c7[_0x44fc70(0x1f1)],_0xfb0d5=_0x5d21c7[_0x44fc70(0x28f)],_0x146fde=this[_0x44fc70(0x38e)];_0x5d21c7[_0x44fc70(0x277)]();for(var _0x4d232a=[],_0x23eefe=0x0;_0x23eefe<_0xfb0d5;_0x23eefe+=0x3)for(var _0x46f9de=_0x167d17[_0x23eefe>>>0x2]>>>0x18-_0x23eefe%0x4*0x8&0xff,_0x13216a=_0x167d17[_0x23eefe+0x1>>>0x2]>>>0x18-(_0x23eefe+0x1)%0x4*0x8&0xff,_0x374766=_0x167d17[_0x23eefe+0x2>>>0x2]>>>0x18-(_0x23eefe+0x2)%0x4*0x8&0xff,_0x487d73=_0x46f9de<<0x10|_0x13216a<<0x8|_0x374766,_0x111c68=0x0;_0x111c68<0x4&&_0x23eefe+_0x111c68*0.75<_0xfb0d5;_0x111c68++)_0x4d232a[_0x44fc70(0x405)](_0x146fde['charAt'](_0x487d73>>>0x6*(0x3-_0x111c68)&0x3f));var _0x4c0d69=_0x146fde['charAt'](0x40);if(_0x4c0d69){for(;_0x4d232a['length']%0x4;)_0x4d232a[_0x44fc70(0x405)](_0x4c0d69);}return _0x4d232a[_0x44fc70(0x225)]('');},'parse':function(_0x57cd89){var _0x517aac=_0x25e144,_0x3638ab=_0x57cd89[_0x517aac(0x39f)],_0x22dd59=this[_0x517aac(0x38e)],_0x51298a=this[_0x517aac(0x377)];if(!_0x51298a){_0x51298a=this['_reverseMap']=[];for(var _0x23ba10=0x0;_0x23ba10<_0x22dd59[_0x517aac(0x39f)];_0x23ba10++)_0x51298a[_0x22dd59[_0x517aac(0x4dd)](_0x23ba10)]=_0x23ba10;}var _0x28168b=_0x22dd59[_0x517aac(0x1af)](0x40);if(_0x28168b){var _0x3f7d8b=_0x57cd89[_0x517aac(0x33f)](_0x28168b);_0x3f7d8b!==-0x1&&(_0x3638ab=_0x3f7d8b);}return _0xd07d4c(_0x57cd89,_0x3638ab,_0x51298a);},'_map':_0x25e144(0x457)};function _0xd07d4c(_0x46bf18,_0x1bb84d,_0x18665b){var _0x1a298e=_0x25e144;for(var _0x3064eb=[],_0x3e8100=0x0,_0x3144b1=0x0;_0x3144b1<_0x1bb84d;_0x3144b1++)if(_0x3144b1%0x4){var _0x5c23f0=_0x18665b[_0x46bf18[_0x1a298e(0x4dd)](_0x3144b1-0x1)]<<_0x3144b1%0x4*0x2,_0x1e90a6=_0x18665b[_0x46bf18['charCodeAt'](_0x3144b1)]>>>0x6-_0x3144b1%0x4*0x2,_0x2dc06b=_0x5c23f0|_0x1e90a6;_0x3064eb[_0x3e8100>>>0x2]|=_0x2dc06b<<0x18-_0x3e8100%0x4*0x8,_0x3e8100++;}return _0x5eea88[_0x1a298e(0x3ce)](_0x3064eb,_0x3e8100);}}()),_0x19649d[_0xefbe2b(0x1f5)][_0xefbe2b(0x1c9)];}));}(ge)),ge[_0x2df465(0x2d2)];}var Ie={'exports':{}},ki=Ie[_0xf5384(0x2d2)],et;function Hi(){var _0x33993e=_0xf5384;return et||(et=0x1,function(_0x5503fd,_0x5f4cf6){(function(_0x222c36,_0x58ea8b){var _0x1d8c6a=_0x4e4b;_0x5503fd[_0x1d8c6a(0x2d2)]=_0x58ea8b(ee());}(ki,function(_0x4e4e97){var _0x42c976=_0x4e4b;return function(_0x3126fa){var _0x170f76=_0x4e4b,_0x47d9ff=_0x4e4e97,_0x48d6cd=_0x47d9ff[_0x170f76(0x3e3)],_0x3bd743=_0x48d6cd['WordArray'],_0x1f43d3=_0x48d6cd['Hasher'],_0x383fe1=_0x47d9ff['algo'],_0x1435af=[];(function(){var _0x562363=_0x170f76;for(var _0x5591=0x0;_0x5591<0x40;_0x5591++)_0x1435af[_0x5591]=_0x3126fa[_0x562363(0x4f8)](_0x3126fa[_0x562363(0x260)](_0x5591+0x1))*0x100000000|0x0;}());var _0x5cb5a0=_0x383fe1[_0x170f76(0x3a2)]=_0x1f43d3[_0x170f76(0x2da)]({'_doReset':function(){var _0x23be99=_0x170f76;this[_0x23be99(0x2bb)]=new _0x3bd743[(_0x23be99(0x4d6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x559222,_0x34fc1c){var _0x4dea36=_0x170f76;for(var _0xe22e21=0x0;_0xe22e21<0x10;_0xe22e21++){var _0x21c750=_0x34fc1c+_0xe22e21,_0x1b829f=_0x559222[_0x21c750];_0x559222[_0x21c750]=(_0x1b829f<<0x8|_0x1b829f>>>0x18)&0xff00ff|(_0x1b829f<<0x18|_0x1b829f>>>0x8)&0xff00ff00;}var _0x465bb8=this[_0x4dea36(0x2bb)][_0x4dea36(0x1f1)],_0x53d3c6=_0x559222[_0x34fc1c+0x0],_0x8997e9=_0x559222[_0x34fc1c+0x1],_0x18c155=_0x559222[_0x34fc1c+0x2],_0x40bd29=_0x559222[_0x34fc1c+0x3],_0x1eaf83=_0x559222[_0x34fc1c+0x4],_0x3185f1=_0x559222[_0x34fc1c+0x5],_0x16097e=_0x559222[_0x34fc1c+0x6],_0x30d002=_0x559222[_0x34fc1c+0x7],_0x2e241d=_0x559222[_0x34fc1c+0x8],_0xacbee9=_0x559222[_0x34fc1c+0x9],_0x3efd2e=_0x559222[_0x34fc1c+0xa],_0x54f1da=_0x559222[_0x34fc1c+0xb],_0x279e92=_0x559222[_0x34fc1c+0xc],_0x1db41f=_0x559222[_0x34fc1c+0xd],_0x11cc0b=_0x559222[_0x34fc1c+0xe],_0x468c57=_0x559222[_0x34fc1c+0xf],_0x11e968=_0x465bb8[0x0],_0x52a7d8=_0x465bb8[0x1],_0xd4dd14=_0x465bb8[0x2],_0x5eb014=_0x465bb8[0x3];_0x11e968=_0xb9680c(_0x11e968,_0x52a7d8,_0xd4dd14,_0x5eb014,_0x53d3c6,0x7,_0x1435af[0x0]),_0x5eb014=_0xb9680c(_0x5eb014,_0x11e968,_0x52a7d8,_0xd4dd14,_0x8997e9,0xc,_0x1435af[0x1]),_0xd4dd14=_0xb9680c(_0xd4dd14,_0x5eb014,_0x11e968,_0x52a7d8,_0x18c155,0x11,_0x1435af[0x2]),_0x52a7d8=_0xb9680c(_0x52a7d8,_0xd4dd14,_0x5eb014,_0x11e968,_0x40bd29,0x16,_0x1435af[0x3]),_0x11e968=_0xb9680c(_0x11e968,_0x52a7d8,_0xd4dd14,_0x5eb014,_0x1eaf83,0x7,_0x1435af[0x4]),_0x5eb014=_0xb9680c(_0x5eb014,_0x11e968,_0x52a7d8,_0xd4dd14,_0x3185f1,0xc,_0x1435af[0x5]),_0xd4dd14=_0xb9680c(_0xd4dd14,_0x5eb014,_0x11e968,_0x52a7d8,_0x16097e,0x11,_0x1435af[0x6]),_0x52a7d8=_0xb9680c(_0x52a7d8,_0xd4dd14,_0x5eb014,_0x11e968,_0x30d002,0x16,_0x1435af[0x7]),_0x11e968=_0xb9680c(_0x11e968,_0x52a7d8,_0xd4dd14,_0x5eb014,_0x2e241d,0x7,_0x1435af[0x8]),_0x5eb014=_0xb9680c(_0x5eb014,_0x11e968,_0x52a7d8,_0xd4dd14,_0xacbee9,0xc,_0x1435af[0x9]),_0xd4dd14=_0xb9680c(_0xd4dd14,_0x5eb014,_0x11e968,_0x52a7d8,_0x3efd2e,0x11,_0x1435af[0xa]),_0x52a7d8=_0xb9680c(_0x52a7d8,_0xd4dd14,_0x5eb014,_0x11e968,_0x54f1da,0x16,_0x1435af[0xb]),_0x11e968=_0xb9680c(_0x11e968,_0x52a7d8,_0xd4dd14,_0x5eb014,_0x279e92,0x7,_0x1435af[0xc]),_0x5eb014=_0xb9680c(_0x5eb014,_0x11e968,_0x52a7d8,_0xd4dd14,_0x1db41f,0xc,_0x1435af[0xd]),_0xd4dd14=_0xb9680c(_0xd4dd14,_0x5eb014,_0x11e968,_0x52a7d8,_0x11cc0b,0x11,_0x1435af[0xe]),_0x52a7d8=_0xb9680c(_0x52a7d8,_0xd4dd14,_0x5eb014,_0x11e968,_0x468c57,0x16,_0x1435af[0xf]),_0x11e968=_0x503df0(_0x11e968,_0x52a7d8,_0xd4dd14,_0x5eb014,_0x8997e9,0x5,_0x1435af[0x10]),_0x5eb014=_0x503df0(_0x5eb014,_0x11e968,_0x52a7d8,_0xd4dd14,_0x16097e,0x9,_0x1435af[0x11]),_0xd4dd14=_0x503df0(_0xd4dd14,_0x5eb014,_0x11e968,_0x52a7d8,_0x54f1da,0xe,_0x1435af[0x12]),_0x52a7d8=_0x503df0(_0x52a7d8,_0xd4dd14,_0x5eb014,_0x11e968,_0x53d3c6,0x14,_0x1435af[0x13]),_0x11e968=_0x503df0(_0x11e968,_0x52a7d8,_0xd4dd14,_0x5eb014,_0x3185f1,0x5,_0x1435af[0x14]),_0x5eb014=_0x503df0(_0x5eb014,_0x11e968,_0x52a7d8,_0xd4dd14,_0x3efd2e,0x9,_0x1435af[0x15]),_0xd4dd14=_0x503df0(_0xd4dd14,_0x5eb014,_0x11e968,_0x52a7d8,_0x468c57,0xe,_0x1435af[0x16]),_0x52a7d8=_0x503df0(_0x52a7d8,_0xd4dd14,_0x5eb014,_0x11e968,_0x1eaf83,0x14,_0x1435af[0x17]),_0x11e968=_0x503df0(_0x11e968,_0x52a7d8,_0xd4dd14,_0x5eb014,_0xacbee9,0x5,_0x1435af[0x18]),_0x5eb014=_0x503df0(_0x5eb014,_0x11e968,_0x52a7d8,_0xd4dd14,_0x11cc0b,0x9,_0x1435af[0x19]),_0xd4dd14=_0x503df0(_0xd4dd14,_0x5eb014,_0x11e968,_0x52a7d8,_0x40bd29,0xe,_0x1435af[0x1a]),_0x52a7d8=_0x503df0(_0x52a7d8,_0xd4dd14,_0x5eb014,_0x11e968,_0x2e241d,0x14,_0x1435af[0x1b]),_0x11e968=_0x503df0(_0x11e968,_0x52a7d8,_0xd4dd14,_0x5eb014,_0x1db41f,0x5,_0x1435af[0x1c]),_0x5eb014=_0x503df0(_0x5eb014,_0x11e968,_0x52a7d8,_0xd4dd14,_0x18c155,0x9,_0x1435af[0x1d]),_0xd4dd14=_0x503df0(_0xd4dd14,_0x5eb014,_0x11e968,_0x52a7d8,_0x30d002,0xe,_0x1435af[0x1e]),_0x52a7d8=_0x503df0(_0x52a7d8,_0xd4dd14,_0x5eb014,_0x11e968,_0x279e92,0x14,_0x1435af[0x1f]),_0x11e968=_0x24a625(_0x11e968,_0x52a7d8,_0xd4dd14,_0x5eb014,_0x3185f1,0x4,_0x1435af[0x20]),_0x5eb014=_0x24a625(_0x5eb014,_0x11e968,_0x52a7d8,_0xd4dd14,_0x2e241d,0xb,_0x1435af[0x21]),_0xd4dd14=_0x24a625(_0xd4dd14,_0x5eb014,_0x11e968,_0x52a7d8,_0x54f1da,0x10,_0x1435af[0x22]),_0x52a7d8=_0x24a625(_0x52a7d8,_0xd4dd14,_0x5eb014,_0x11e968,_0x11cc0b,0x17,_0x1435af[0x23]),_0x11e968=_0x24a625(_0x11e968,_0x52a7d8,_0xd4dd14,_0x5eb014,_0x8997e9,0x4,_0x1435af[0x24]),_0x5eb014=_0x24a625(_0x5eb014,_0x11e968,_0x52a7d8,_0xd4dd14,_0x1eaf83,0xb,_0x1435af[0x25]),_0xd4dd14=_0x24a625(_0xd4dd14,_0x5eb014,_0x11e968,_0x52a7d8,_0x30d002,0x10,_0x1435af[0x26]),_0x52a7d8=_0x24a625(_0x52a7d8,_0xd4dd14,_0x5eb014,_0x11e968,_0x3efd2e,0x17,_0x1435af[0x27]),_0x11e968=_0x24a625(_0x11e968,_0x52a7d8,_0xd4dd14,_0x5eb014,_0x1db41f,0x4,_0x1435af[0x28]),_0x5eb014=_0x24a625(_0x5eb014,_0x11e968,_0x52a7d8,_0xd4dd14,_0x53d3c6,0xb,_0x1435af[0x29]),_0xd4dd14=_0x24a625(_0xd4dd14,_0x5eb014,_0x11e968,_0x52a7d8,_0x40bd29,0x10,_0x1435af[0x2a]),_0x52a7d8=_0x24a625(_0x52a7d8,_0xd4dd14,_0x5eb014,_0x11e968,_0x16097e,0x17,_0x1435af[0x2b]),_0x11e968=_0x24a625(_0x11e968,_0x52a7d8,_0xd4dd14,_0x5eb014,_0xacbee9,0x4,_0x1435af[0x2c]),_0x5eb014=_0x24a625(_0x5eb014,_0x11e968,_0x52a7d8,_0xd4dd14,_0x279e92,0xb,_0x1435af[0x2d]),_0xd4dd14=_0x24a625(_0xd4dd14,_0x5eb014,_0x11e968,_0x52a7d8,_0x468c57,0x10,_0x1435af[0x2e]),_0x52a7d8=_0x24a625(_0x52a7d8,_0xd4dd14,_0x5eb014,_0x11e968,_0x18c155,0x17,_0x1435af[0x2f]),_0x11e968=_0x4d0da3(_0x11e968,_0x52a7d8,_0xd4dd14,_0x5eb014,_0x53d3c6,0x6,_0x1435af[0x30]),_0x5eb014=_0x4d0da3(_0x5eb014,_0x11e968,_0x52a7d8,_0xd4dd14,_0x30d002,0xa,_0x1435af[0x31]),_0xd4dd14=_0x4d0da3(_0xd4dd14,_0x5eb014,_0x11e968,_0x52a7d8,_0x11cc0b,0xf,_0x1435af[0x32]),_0x52a7d8=_0x4d0da3(_0x52a7d8,_0xd4dd14,_0x5eb014,_0x11e968,_0x3185f1,0x15,_0x1435af[0x33]),_0x11e968=_0x4d0da3(_0x11e968,_0x52a7d8,_0xd4dd14,_0x5eb014,_0x279e92,0x6,_0x1435af[0x34]),_0x5eb014=_0x4d0da3(_0x5eb014,_0x11e968,_0x52a7d8,_0xd4dd14,_0x40bd29,0xa,_0x1435af[0x35]),_0xd4dd14=_0x4d0da3(_0xd4dd14,_0x5eb014,_0x11e968,_0x52a7d8,_0x3efd2e,0xf,_0x1435af[0x36]),_0x52a7d8=_0x4d0da3(_0x52a7d8,_0xd4dd14,_0x5eb014,_0x11e968,_0x8997e9,0x15,_0x1435af[0x37]),_0x11e968=_0x4d0da3(_0x11e968,_0x52a7d8,_0xd4dd14,_0x5eb014,_0x2e241d,0x6,_0x1435af[0x38]),_0x5eb014=_0x4d0da3(_0x5eb014,_0x11e968,_0x52a7d8,_0xd4dd14,_0x468c57,0xa,_0x1435af[0x39]),_0xd4dd14=_0x4d0da3(_0xd4dd14,_0x5eb014,_0x11e968,_0x52a7d8,_0x16097e,0xf,_0x1435af[0x3a]),_0x52a7d8=_0x4d0da3(_0x52a7d8,_0xd4dd14,_0x5eb014,_0x11e968,_0x1db41f,0x15,_0x1435af[0x3b]),_0x11e968=_0x4d0da3(_0x11e968,_0x52a7d8,_0xd4dd14,_0x5eb014,_0x1eaf83,0x6,_0x1435af[0x3c]),_0x5eb014=_0x4d0da3(_0x5eb014,_0x11e968,_0x52a7d8,_0xd4dd14,_0x54f1da,0xa,_0x1435af[0x3d]),_0xd4dd14=_0x4d0da3(_0xd4dd14,_0x5eb014,_0x11e968,_0x52a7d8,_0x18c155,0xf,_0x1435af[0x3e]),_0x52a7d8=_0x4d0da3(_0x52a7d8,_0xd4dd14,_0x5eb014,_0x11e968,_0xacbee9,0x15,_0x1435af[0x3f]),_0x465bb8[0x0]=_0x465bb8[0x0]+_0x11e968|0x0,_0x465bb8[0x1]=_0x465bb8[0x1]+_0x52a7d8|0x0,_0x465bb8[0x2]=_0x465bb8[0x2]+_0xd4dd14|0x0,_0x465bb8[0x3]=_0x465bb8[0x3]+_0x5eb014|0x0;},'_doFinalize':function(){var _0x12a190=_0x170f76,_0x2a21db=this[_0x12a190(0x1e0)],_0x43b9f9=_0x2a21db['words'],_0x344699=this[_0x12a190(0x2c6)]*0x8,_0x4edd1f=_0x2a21db[_0x12a190(0x28f)]*0x8;_0x43b9f9[_0x4edd1f>>>0x5]|=0x80<<0x18-_0x4edd1f%0x20;var _0x495eaf=_0x3126fa['floor'](_0x344699/0x100000000),_0x2c03b7=_0x344699;_0x43b9f9[(_0x4edd1f+0x40>>>0x9<<0x4)+0xf]=(_0x495eaf<<0x8|_0x495eaf>>>0x18)&0xff00ff|(_0x495eaf<<0x18|_0x495eaf>>>0x8)&0xff00ff00,_0x43b9f9[(_0x4edd1f+0x40>>>0x9<<0x4)+0xe]=(_0x2c03b7<<0x8|_0x2c03b7>>>0x18)&0xff00ff|(_0x2c03b7<<0x18|_0x2c03b7>>>0x8)&0xff00ff00,_0x2a21db[_0x12a190(0x28f)]=(_0x43b9f9['length']+0x1)*0x4,this['_process']();for(var _0x17745c=this[_0x12a190(0x2bb)],_0x1cbc58=_0x17745c[_0x12a190(0x1f1)],_0x37e761=0x0;_0x37e761<0x4;_0x37e761++){var _0x4cdd96=_0x1cbc58[_0x37e761];_0x1cbc58[_0x37e761]=(_0x4cdd96<<0x8|_0x4cdd96>>>0x18)&0xff00ff|(_0x4cdd96<<0x18|_0x4cdd96>>>0x8)&0xff00ff00;}return _0x17745c;},'clone':function(){var _0x9e14bd=_0x170f76,_0x527ef5=_0x1f43d3[_0x9e14bd(0x37b)]['call'](this);return _0x527ef5['_hash']=this[_0x9e14bd(0x2bb)][_0x9e14bd(0x37b)](),_0x527ef5;}});function _0xb9680c(_0x276b3f,_0x3c58dd,_0x54d366,_0x466d5b,_0x36ab8c,_0x5c2380,_0x1f40f8){var _0x35a93=_0x276b3f+(_0x3c58dd&_0x54d366|~_0x3c58dd&_0x466d5b)+_0x36ab8c+_0x1f40f8;return(_0x35a93<<_0x5c2380|_0x35a93>>>0x20-_0x5c2380)+_0x3c58dd;}function _0x503df0(_0x167358,_0x4e80a9,_0x2c73b4,_0x4e19fb,_0x1c27aa,_0xdeedf6,_0x14b42d){var _0x4973e0=_0x167358+(_0x4e80a9&_0x4e19fb|_0x2c73b4&~_0x4e19fb)+_0x1c27aa+_0x14b42d;return(_0x4973e0<<_0xdeedf6|_0x4973e0>>>0x20-_0xdeedf6)+_0x4e80a9;}function _0x24a625(_0x11c2da,_0x441bca,_0x4cc9d9,_0x897b9c,_0x295d9c,_0x49fec1,_0x2a7bdd){var _0x1739cf=_0x11c2da+(_0x441bca^_0x4cc9d9^_0x897b9c)+_0x295d9c+_0x2a7bdd;return(_0x1739cf<<_0x49fec1|_0x1739cf>>>0x20-_0x49fec1)+_0x441bca;}function _0x4d0da3(_0x4719b2,_0x41a2e4,_0x50890c,_0x188be1,_0x1dee97,_0x4b1a7b,_0x5ad536){var _0x408a33=_0x4719b2+(_0x50890c^(_0x41a2e4|~_0x188be1))+_0x1dee97+_0x5ad536;return(_0x408a33<<_0x4b1a7b|_0x408a33>>>0x20-_0x4b1a7b)+_0x41a2e4;}_0x47d9ff[_0x170f76(0x3a2)]=_0x1f43d3['_createHelper'](_0x5cb5a0),_0x47d9ff[_0x170f76(0x26c)]=_0x1f43d3[_0x170f76(0x396)](_0x5cb5a0);}(Math),_0x4e4e97[_0x42c976(0x3a2)];}));}(Ie)),Ie[_0x33993e(0x2d2)];}var me={'exports':{}},Ee={'exports':{}},ji=Ee['exports'],tt;function $i(){var _0x58f36c=_0xf5384;return tt||(tt=0x1,function(_0x488846,_0x235b6){(function(_0x59f58c,_0x59fe95){var _0x32b5d5=_0x4e4b;_0x488846[_0x32b5d5(0x2d2)]=_0x59fe95(ee());}(ji,function(_0x3b9cf3){var _0x4eeef4=_0x4e4b;return(function(){var _0x1a75fc=_0x4e4b,_0x531e50=_0x3b9cf3,_0x46a456=_0x531e50[_0x1a75fc(0x3e3)],_0x3c78b1=_0x46a456[_0x1a75fc(0x4ac)],_0xef7431=_0x46a456[_0x1a75fc(0x385)],_0x24ba02=_0x531e50['algo'],_0x40ba7c=[],_0xf9893f=_0x24ba02[_0x1a75fc(0x333)]=_0xef7431[_0x1a75fc(0x2da)]({'_doReset':function(){var _0x3f15c2=_0x1a75fc;this['_hash']=new _0x3c78b1[(_0x3f15c2(0x4d6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2daf20,_0x421283){var _0x167386=_0x1a75fc;for(var _0x5b6bc0=this[_0x167386(0x2bb)][_0x167386(0x1f1)],_0x5acda7=_0x5b6bc0[0x0],_0x6725c8=_0x5b6bc0[0x1],_0x21c9fc=_0x5b6bc0[0x2],_0x86ab82=_0x5b6bc0[0x3],_0x5511e3=_0x5b6bc0[0x4],_0xad3b5c=0x0;_0xad3b5c<0x50;_0xad3b5c++){if(_0xad3b5c<0x10)_0x40ba7c[_0xad3b5c]=_0x2daf20[_0x421283+_0xad3b5c]|0x0;else{var _0x2ea8d0=_0x40ba7c[_0xad3b5c-0x3]^_0x40ba7c[_0xad3b5c-0x8]^_0x40ba7c[_0xad3b5c-0xe]^_0x40ba7c[_0xad3b5c-0x10];_0x40ba7c[_0xad3b5c]=_0x2ea8d0<<0x1|_0x2ea8d0>>>0x1f;}var _0x4c8697=(_0x5acda7<<0x5|_0x5acda7>>>0x1b)+_0x5511e3+_0x40ba7c[_0xad3b5c];_0xad3b5c<0x14?_0x4c8697+=(_0x6725c8&_0x21c9fc|~_0x6725c8&_0x86ab82)+0x5a827999:_0xad3b5c<0x28?_0x4c8697+=(_0x6725c8^_0x21c9fc^_0x86ab82)+0x6ed9eba1:_0xad3b5c<0x3c?_0x4c8697+=(_0x6725c8&_0x21c9fc|_0x6725c8&_0x86ab82|_0x21c9fc&_0x86ab82)-0x70e44324:_0x4c8697+=(_0x6725c8^_0x21c9fc^_0x86ab82)-0x359d3e2a,_0x5511e3=_0x86ab82,_0x86ab82=_0x21c9fc,_0x21c9fc=_0x6725c8<<0x1e|_0x6725c8>>>0x2,_0x6725c8=_0x5acda7,_0x5acda7=_0x4c8697;}_0x5b6bc0[0x0]=_0x5b6bc0[0x0]+_0x5acda7|0x0,_0x5b6bc0[0x1]=_0x5b6bc0[0x1]+_0x6725c8|0x0,_0x5b6bc0[0x2]=_0x5b6bc0[0x2]+_0x21c9fc|0x0,_0x5b6bc0[0x3]=_0x5b6bc0[0x3]+_0x86ab82|0x0,_0x5b6bc0[0x4]=_0x5b6bc0[0x4]+_0x5511e3|0x0;},'_doFinalize':function(){var _0x312134=_0x1a75fc,_0x56ed6e=this[_0x312134(0x1e0)],_0x1034a2=_0x56ed6e[_0x312134(0x1f1)],_0x3a6622=this[_0x312134(0x2c6)]*0x8,_0x410fe5=_0x56ed6e['sigBytes']*0x8;return _0x1034a2[_0x410fe5>>>0x5]|=0x80<<0x18-_0x410fe5%0x20,_0x1034a2[(_0x410fe5+0x40>>>0x9<<0x4)+0xe]=Math[_0x312134(0x491)](_0x3a6622/0x100000000),_0x1034a2[(_0x410fe5+0x40>>>0x9<<0x4)+0xf]=_0x3a6622,_0x56ed6e[_0x312134(0x28f)]=_0x1034a2['length']*0x4,this[_0x312134(0x356)](),this[_0x312134(0x2bb)];},'clone':function(){var _0x186a7a=_0x1a75fc,_0x33e083=_0xef7431[_0x186a7a(0x37b)][_0x186a7a(0x2ba)](this);return _0x33e083[_0x186a7a(0x2bb)]=this[_0x186a7a(0x2bb)][_0x186a7a(0x37b)](),_0x33e083;}});_0x531e50[_0x1a75fc(0x333)]=_0xef7431[_0x1a75fc(0x40f)](_0xf9893f),_0x531e50['HmacSHA1']=_0xef7431['_createHmacHelper'](_0xf9893f);}()),_0x3b9cf3[_0x4eeef4(0x333)];}));}(Ee)),Ee[_0x58f36c(0x2d2)];}function _0x4041(){var _0x1a3b05=['getUnitStatus$','splice','INVITE_CODE_ALREADY_BOUND','createEncryptor','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_isPermissionRej','UnitStatus','default','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','saveSnapshot','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','/-/object/-/batch_allowed','kdf','Subject','_onConflict','HELLO','_status$','getCollabEntity','/collaborator','getImageSourceCache','_showConflictNotification','salt','getConfig','onLocalMutation','_getUploadFileURL','getUnit','leaveEvent','loginUrlKey','PERSON','_transformRemoteChangesetByIMECache','ICollaborationSocketService','SEND_CHANGESET_TIMEOUT_KEY','slice','SUBMIT_CHANGESET_TIMEOUT','online$','CLOSE_ROOM','_replayCachedMutations','submit\x20changeset\x20error!','target','IConfigService','copyFileMeta','_listenToNetworkCondition','LICENSE_MAX_UNITS_EXCEEDED','dispose','_substituteUndoStack','serializeCombRequest','onCommandExecuted','_checkMissing','__creator','concat','disposeWithMe','UnitEmbedded','_config','map','People','RECV','SheetCollaborationEntity','ITransformService','1693788bUWfZL','setConfig','CollaborativeUndoRedoService','JOIN_ROOM_FULL','CollaborationSocketService','find','avatar','onlyLocal','Inject','floor','subject','bind','_getDownloadEndpointURL','memberID','INVALID_INVITE_CODE','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','HEARTBEAT','HTTPService','getRandomValues','Univer','mixIn','JSONX','originalMeta','ICommandService','OTHER_CLIENT_EDITING','CBC','YUUMI_RATE_OVER_LIMIT','_startTelemetryCollaborationNewChangeset','_userManagerService','Undefined','list','_createHandler','\x20-\x20','/object/','rxjs/operators','delay','WordArray','PasswordBasedCipher','NOT_COLLAB','AWAITING','session.room-permission-denied','onRemoteAck','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getSheetId','c1Prime','CollaborationStatus','_socketService','ImageSourceType','CollaborationSessionService','origin','stopTime','_onUserLeave','onTransformRemoteChangesetByIMECache','createDecryptor','_logService','AwaitingState','pending','change$','_doCryptBlock','DEFAULT_FILE_NAME','Tools','_ENC_XFORM_MODE','deserializeToCombResponse','code','BufferedBlockAlgorithm','_prevBlock','retryConnectingInterval','_transformStack','cmd','SNAPSHOT_HAS_BEEN_REMOVED','UniverCollaborationPlugin','PENDING','@univerjs-pro/collaboration','_transformUndoredo','CipherParams','_executeRemoteChangeset','socket$','localCacheService','init','_doCreateSocket','onRemoteRetry','setShowComponents','_localCacheService','uniscriptRunEvent','fetchMissingChangesets','charCodeAt','_singleActiveUnitService','PY_RUNTIME_SCRIPT_ERROR','univer-pro.collaboration-client-socket-service','ILocalCacheService','toStringTag','_retryCount','UNKNOWN_CODE','_lockTransition','@univerjs/docs','updateOfflineData','COLLAB_WEB_SOCKET_URL_KEY','getMemberID','refreshPermission','Encryptor','_onRecvEvent','_sender','6iFzbVT','_candidateSocket','RETRY_CONNECTING_MAX_COUNT_KEY','SessionStatus','WorkbookEditablePermission','url','ISingleActiveUnitService','COMMENT_UPDATE','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','ISnapshotServerService','abs','LICENSE_EXPORT_SIZE_EXCEEDED','CompressMutationService','Plugin','JOIN_ROOM_FAILED','?size=','2575791ziDmUK','UUID','_syncEditingCollabCursor','IDLE','33hZHFal','capture','Decryptor','socketService','Disposable','\x20in\x20_schedule.','_transformIMECache','ConflictState','getAllMembers','not_collab','$super','_minBufferSize','onTransformSelections','entries','awaitingChangeset','awaiting_with_pending','_members','IImageIoService','collabWebSocketUrl','COMPRESS_MUTATION_SEND','hasher','save\x20fail\x20reason\x20is\x20','EXCHANGE_SIGN_URL_SERVER_URL_KEY','/universer-api/oidc/authpage','_socketReady','close$','BlockCipher','IPermissionService','OpenSSL','takeUntil','mode','equals','CollaborationUIEventId','APPLY_DUPLICATED','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','WECHAT_HAS_BEEN_BOUND','workbook','_key','decrypt','SheetsSelectionsService','fetchMiss','_disableEditing','_initCloseConn','[PendingState]:\x20unhandled\x20univer\x20type:\x20','HttpImport','1DtjAkh','/universer-api/stream/file/upload','textRanges','_onJoinRoomEvent','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','collaboration-client.local-cache-service','enableAuthServer','RichTextEditingMutation','@univerjs/drawing','objects','charAt','_exhaustRemoteChangesetQueue','PERMISSION_DENIED','NO_OTHER_CLIENTS_EDITING','rng','set','APPLY_NON_SEQUENTIAL_REVISION','_snapshotServerService','LIVESHARE_OPERATION','Optional','_submitChangeset','_decreaseWaiting','_collaborationTimeoutTimer','INVITE_CODE_REQUIRED','appendMutation','body','error','UNRECOGNIZED','getImage','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','StreamCipher','from','_retryConnectingTimer','defineProperty','[CollaborationSessionService]:\x20socket\x20error','@univerjs-pro/license','Base64','status$','onRemoteRej','getRoom','MemberService','_unitID','reduce','firstValueFrom','UNIVER_DOC','_scheduleCollaborationTimeoutTimer','_transformService','getCurrentSelections','changesets','buffer','/rev/','onTransformIME','INTERNAL_ERROR','_initDependencies','_onOffline','_event$','[CollaborationState]:\x20apply\x20error!','COLLAB_SUBMIT_CHANGESET_URL','ILogService','_data','startTime','_iKey','_getSignURL','compose','BASE64','[SyncedState]:\x20received\x20rejection.','OTHER_CLIENTS_EDITING','_clearRedo','createSocket','5468183eEWpDf','_univerInstanceService','INVALID_ARGUMENT','SnapshotServerOverHTTPService','createInstance','saveChangeset','_sheetTransformSelectionsService','words','RETRY_CONNECTING_MAX_COUNT','parse','now','enc','removeMember','substr','@univerjs/network','get','sheets','transformChangesets','OfflineState','_stopTelemetryCollaborationNewChangeset','_sendHeartbeat','onStarting','_getCurrentRevision','ERROR_IMAGE_TYPE','APPLY_REVISION_CONFILICT','_instanceService','_members$','CollaborationImageIoService','location','_telemetryInfo','LOCAL_CACHE_INTERVAL_KEY','ImageUploadStatusType','getUnitType','_state$','_onRemoteRetry','SOCKET_FAILED','USERS_ENTER','SUBMIT_CHANGESET','[DataLoaderService]','localeService','updatePermissionPoint','HTTPRequest','_resendTimeout','{fileID}','MentionIoHttpService','/-/object/list','updateCursorEvent','YUUMI_UNABLE_LOAD_URL','_initMergeInterceptor','_applyRemoteChangeset','LIVESHARE_NEW_HOST','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_onRemoteChangeset','SYNCED','members','onCommentUpdate','isTransformChangesetsSuccess','random','transformUndoRedo','join','getTypeOfUnitAdded$','addHandlerCallback','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_initRequestHeader','8suVYBA','sessionStatus','forEach','transformMutationsWithChangeset','_getUndoStack','patch','CONFLICT','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','FetchingMissState','_loadDoc','_timeoutTimer','_DEC_XFORM_MODE','RxDisposable','getValue','_scheduleCompleteTimestamp','onSyncEditingCollabCursor','DEFAULT_COLLAB_WEB_SOCKET_URL','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','createCollaborator','UPDATE_CURSOR','ciphertext','_HTTPService','_onUserJoin','_tryReconnect','_changesetReqId','requestParams','MergeInterceptorFactory','\x20to\x20','batchAllowed','Injector','_resendTimer','HEARTBEAT_INTERVAL','params','_onMessage','BlockCipherMode','requireSession','isPermissionRej','focused$','event$','registerHTTPInterceptor','__Key__','getInterceptPoints','Could\x20not\x20dynamically\x20require\x20\x22','FETCH_MISSING','format','UserProfileImg','_transformRemoteChangesetByStateCache','RevisionService','_acknowledgedAwaitingChangeset','eventID','setCurrentUser','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_iv','EvpKDF','sin','onTransformRemoteChangesetByStateCache','send','reconnect','INVITE_CODE_HAS_BEEN_UES','AUTHZ_URL_KEY','offline','YUUMI_NO_CUBOID_FOR_QUESTION','reqId','[OfflineState]:\x20received\x20acknowledgement.','loadSheet','?url=','HmacMD5','_getAPIPrefix','EMAIL_HAS_BEEN_BOUND','ERROR_EXCEED_SIZE','_loadSheet','toggleOffline','liveShareNewHost','_handlerCallback','onMissedChangesetFetched','size','[OfflineState]:\x20received\x20changeset.','clamp','UniverInstanceType','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','filter','_transitionLocked','LIVESHARE_FETCH_OPERATIONS','CHANGESET_ACK','ivSize','IAuthzIoService','emitEvent','objectType','session.room-full','resend','_xformMode','_createSocket','getLocalCacheKey','fetchThroughInterceptors','awaiting','_localeService','_joinRoom','values','_state','take','msCrypto','sigBytes','delete','toDisposable','collaborators','[UniverCollaborationClientPlugin]','CommandType','touchDependencies','UniverNetworkPlugin','authzUrl','ONLINE','session.room-not-exists','LIVESHARE_REQUEST_HOST','enableSingleActiveInstanceLock','m2Prime','getSheetBlock','_telemetryService','_imageSourceCache','baseRev','_type','UNIVER_COLLABORATION_CLIENT_PLUGIN','min','_transformSelections','YUUMI_SUBSCRIPTION_NOT_FOUND','keySize','headers','deepClone','executeCommand','randomBytes','updateMember','_createInitialStateImpl','fetching\x20missing\x20changesets\x20from\x20','SheetTransformSelectionsService','_updateLocalCache','_configService','sid','connection\x20error','_getAPIPrefixPath','encryptBlock','getOwnPropertyDescriptor','Pkcs7','title','getUnitId','string','call','_hash','Failed\x20to\x20update\x20permission\x20point','_unlockTransition','/fetchmissing?from=','dispose$','JOIN_ROOM_NOT_EXISTS','saveImage','NEW_CHANGESETS','encodeURIComponent','prototype','_resendWithTimeout','_nDataBytes','session.join-failed','duration','5069080LDZsXd','INGEST','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','max','_clearUndo','9hmQMpT','HMAC','[SyncedState]:\x20received\x20acknowledgement.','failed\x20to\x20apply\x20missed\x20changesets!','exports','decryptBlock','collaboratorID','_clearScheduledTask','MSG_FOR_ERROR','_clearRetryConnectingTimer','src','transformSelections','extend','UNIVER_UNKNOWN','parseProtocolChangeset','fetch_missing','/universer-api/file/{fileID}/sign-url','generateRandomId','_pendingMutations','1585784IUrCpW','_onRemoteACK','_nRounds','AwaitingWithPendingState','image/png','JOIN_ROOM_PERMISSION_DENIED','responseType','_awaitingChangeset','has','APPLY_PERMISSION_DENIED','CollaborationController','_socketMessageSubscription','ITelemetryService','infoRsp','mapDocumentTypeToUniverType','closeSession','_memberService','IUniverInstanceService','_updateState','Rectangle','FileId','_snapshotService','LOCAL_CACHE_INTERVAL','_socket','onMissingChangesets','isArray','_unitInfo$','commentUpdate$','NOT_FOUND','_onRemoteRejected','state','symbol','editingUnit','\x0aAfter:\x20','DataLoaderService','includes','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getCollabEntity$','telemetry\x20info\x20is\x20not\x20initialized','name','resourceIDs','signUrlServerUrl','_toggleOnline','roles','open$','subscribe','compute','findIndex','padding','/block/','_sendingTimer','getCurrentUser','collaboration_new_changeset','onTransformState','reverse','formatter','_onCombEvent','sendChangesetTimeout','_collaborationSessionService','SNAPSHOT_URL_KEY','listRoles','hasOwnProperty','add','fromCollab','ceil','newCsEvent','SOCKET_FAILED_RETRY','conflict','_getCtorByUniverType','_clearTimeoutTimer','Module','Cipher','_entities','csAckEvent','loadUnit','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','MentionType','cfg','liveShareOperation','LICENSE_DISTRO_REJECTED','_shouldReportTelemetry','EmptyMutation','SHA1','_emitMembers','MUTATION','_sessionStatus$','_hasher','_rescheduleHeartbeat','objectID','Latin1','joinEvent','rev','transformStack\x20failed!','UNIVER_SHEET','indexOf','toString','univer-pro.collaboration-client.network-condition.service','getMember','method','IUndoRedoService','_removeRoom','apply','Workbook','_oKey','onRemoteChangeset','_startCollaboration','DocCollaborationEntity','COMPRESS_MUTATION_APPLY','hostname','uploadFileServerUrl','revision','toggleOnline','AES','message$','_mode','socket\x20close','interceptor','_process','unitInfo$','_getLoginPath','deleteCollaborator','_transformStateCache','function','[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.','_waitForHeartbeatResponse','image/gif','USERS_LEAVE','CollaborationUIEventService','entityInit$','/role','_onConnectionFailed','complete','initWorkbookPermissionChange','encrypt','put','/resources','shareReplay','type','CollaborationEntity','NoPadding','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_replaceFileID','_append','APPLY_REJECT','CollaborationEvent','permissionRejEvent','clear','incrementRevOfUnit','_revisionService','&assign=','_reverseMap','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','update','ALREADY_EXISTS','clone','_collaborationPaused','SNAPSHOT_SERVER_URL_KEY','CHANGESET_SHOULD_RETRY','_doFinalize','session','loadDoc','InsertSheetMutation','PSEUDO_FETCH_MISSING_RESULT','Base','Hasher','algo','isInternalEditorID','createIdentifier','POST','FAIL','_handler','_tryEnsureSocket','registerDependencies','_map','SHOULD_CLOSE_CONN','/new_changes','_updateStatus','_getSendChangesetTimeout','_compressMutationService','_change$','_sessions','_createHmacHelper','JOIN','collabSubmitChangesetUrl','startsWith','pad','close','href','COMPLETION_FINISHED','every','length','_onLocalMutation','/allowed','MD5','CollaborationSession','_commentUpdate$','merge','stringify','BehaviorSubject','data','selections','blockSize','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_entityInit$','/universer-api/uniscript','SNAPSHOT_INVALID_SNAPSHOT','randomUUID','collaMsg','_registerDependencies','onStateChange','getWorkbookSelections','asObservable','_permissionService','session.room-cnt-exceeds','UniverCollaborationClientPlugin','_onFetchMissResult','parseChangesetToProtocol','UNIVER_SLIDE','USER_NOT_INVITED_CODE','UNDEFINED','ws://127.0.0.1:8000/universer-api/comb/connect','AuthzIoHttpService','/unit/','isTransformMutationsWithChangesetFailure','CONNECTOR_DATA_TOO_LARGE','[CollaborationEntity]','CHANGESET_REJ','processBlock','_changesetSessionId','encode','_substituteRedoStack','HttpExport','OFFLINE','textEncoder','downloadEndpointUrl','withCredentials','state$','create','debug','shouldCloseConn','SetSelectionsOperation','univer-pro.collaboration-client.single-active-unit-service','/universer-api/comb','snapshotServerUrl','reject','_socket$','SerializableCipher','next','_throwTelemetryCollaborationNewChangeset','execute','loadOfflineData','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_cipher','subUnitId','_remoteChangesetQueue','range','[CollaborationUndoRedoService]','UnitSnapshot','lib','1512922ebOqgI','post','Hex','_httpService','_collaborationUIEventService','ERROR_IMAGE','[CollaborationSessionService]','_clearLocalCache','UNIVER_PROJECT','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_doReset','TOO_MANY_REQUESTS','b64DecodeUnicode','actions','_injector','sessionStatus$','DependentOn','SyncedState','updatePermissionObjEvent','LICENSE_IMPORT_SIZE_EXCEEDED','1573235FTAwtI','_networkConditionService','_clearHeartbeatTimer','userID','unitId\x20is\x20not\x20found','YUUMI_ASYNCIO_CANCELLED','reset','_incrementRevisionNumber','_parse','_keyPriorReset','_initUnitPermissionChange','ENSURE_SNAPSHOT_EXECUTION','Utf8','push','socket\x20open.','LIVESHARE_TERMINATE','getTypeOfUnitDisposed$','JOINING','_roomCreated$','json','_keySchedule','getCurrentRevOfUnit','IMentionIOService','_createHelper','_waitCount','_invKeySchedule','resolve','setWaitCount','getActiveSheet','sequenceExecute','getTime','FETCH_MISS','unitID','putCollaborators','LOGIN_URL_KEY','PendingState','_toggleOffline','getDeserializedSheetBlock','LocaleService','repeat','isTransformMutationsWithChangesetSuccess','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','onSendChangeset','UserManagerService','joinRsp','YUUMI_URL_COL_OUT_OF_RANGE','fromCharCode','_schedule','_init','_onConnectionOpen','UNKNOWN_CMD','INetworkConditionService','routeKey','unsubscribe','unknown','_getRedoStack','_collabSessionService','LEAVE','ISocketService','_sendHeartbeatTimer','UNISCRIPT_RUN','getLatestCsReqIdBySid','status','readAsDataURL','/universer-api/snapshot/','MOBILE_HAS_BEEN_BOUND','synced','_createInitialState','GLOBAL_ROOMS_CNT_EXCEEDS','mutations','finalize','_fetchMissChangesets','HEARTBEAT_TIMEOUT','SEND_CHANGESET_TIMEOUT','_roomMembers','AWAITING_WITH_PENDING','COLLAB_SUBMIT_CHANGESET_URL_KEY','_commandService','pipe','unitId','rxjs','crypto','toLowerCase','byteLength','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!'];_0x4041=function(){return _0x1a3b05;};return _0x4041();}var Ce={'exports':{}},Bi=Ce['exports'],it;function Fi(){var _0x360b56=_0xf5384;return it||(it=0x1,function(_0x2760eb,_0x17d320){(function(_0x57c4ee,_0x410880){var _0x501f4e=_0x4e4b;_0x2760eb[_0x501f4e(0x2d2)]=_0x410880(ee());}(Bi,function(_0x541982){(function(){var _0x8a8236=_0x4e4b,_0x4160cc=_0x541982,_0x1b4917=_0x4160cc['lib'],_0xc48b65=_0x1b4917[_0x8a8236(0x384)],_0x233737=_0x4160cc['enc'],_0x3bb300=_0x233737[_0x8a8236(0x404)],_0x4aa382=_0x4160cc[_0x8a8236(0x386)];_0x4aa382[_0x8a8236(0x2cf)]=_0xc48b65[_0x8a8236(0x2da)]({'init':function(_0x2ad28f,_0x24cdc7){var _0x4b2b6f=_0x8a8236;_0x2ad28f=this[_0x4b2b6f(0x337)]=new _0x2ad28f[(_0x4b2b6f(0x4d6))](),typeof _0x24cdc7=='string'&&(_0x24cdc7=_0x3bb300[_0x4b2b6f(0x1f3)](_0x24cdc7));var _0x47b467=_0x2ad28f[_0x4b2b6f(0x3aa)],_0x2e82dc=_0x47b467*0x4;_0x24cdc7[_0x4b2b6f(0x28f)]>_0x2e82dc&&(_0x24cdc7=_0x2ad28f['finalize'](_0x24cdc7)),_0x24cdc7[_0x4b2b6f(0x277)]();for(var _0x5aad11=this[_0x4b2b6f(0x348)]=_0x24cdc7[_0x4b2b6f(0x37b)](),_0x1ef8dd=this[_0x4b2b6f(0x1e2)]=_0x24cdc7[_0x4b2b6f(0x37b)](),_0x5a4b8d=_0x5aad11[_0x4b2b6f(0x1f1)],_0x49b57b=_0x1ef8dd[_0x4b2b6f(0x1f1)],_0x22302e=0x0;_0x22302e<_0x47b467;_0x22302e++)_0x5a4b8d[_0x22302e]^=0x5c5c5c5c,_0x49b57b[_0x22302e]^=0x36363636;_0x5aad11[_0x4b2b6f(0x28f)]=_0x1ef8dd[_0x4b2b6f(0x28f)]=_0x2e82dc,this[_0x4b2b6f(0x3fe)]();},'reset':function(){var _0x575f1d=_0x8a8236,_0x4d9459=this[_0x575f1d(0x337)];_0x4d9459[_0x575f1d(0x3fe)](),_0x4d9459[_0x575f1d(0x379)](this[_0x575f1d(0x1e2)]);},'update':function(_0x7c67ba){var _0x2eea69=_0x8a8236;return this[_0x2eea69(0x337)][_0x2eea69(0x379)](_0x7c67ba),this;},'finalize':function(_0x1ccc9c){var _0x4a227c=_0x8a8236,_0x17c5ae=this[_0x4a227c(0x337)],_0x154cb9=_0x17c5ae[_0x4a227c(0x43e)](_0x1ccc9c);_0x17c5ae[_0x4a227c(0x3fe)]();var _0x326927=_0x17c5ae[_0x4a227c(0x43e)](this[_0x4a227c(0x348)][_0x4a227c(0x37b)]()[_0x4a227c(0x47f)](_0x154cb9));return _0x326927;}});}());}));}(Ce)),Ce[_0x360b56(0x2d2)];}var Vi=me[_0xf5384(0x2d2)],nt;function At(){return nt||(nt=0x1,function(_0x420e4e,_0x57e9d3){(function(_0x2677e0,_0x440239,_0x48147f){var _0x2e326c=_0x4e4b;_0x420e4e[_0x2e326c(0x2d2)]=_0x440239(ee(),$i(),Fi());}(Vi,function(_0x3ca9b6){var _0x24f409=_0x4e4b;return(function(){var _0x1b145a=_0x4e4b,_0x57c3f9=_0x3ca9b6,_0x2c9ae0=_0x57c3f9[_0x1b145a(0x3e3)],_0x4523de=_0x2c9ae0[_0x1b145a(0x384)],_0x364ec7=_0x2c9ae0[_0x1b145a(0x4ac)],_0x47540c=_0x57c3f9[_0x1b145a(0x386)],_0x1eb28d=_0x47540c[_0x1b145a(0x3a2)],_0x5baafe=_0x47540c[_0x1b145a(0x25f)]=_0x4523de['extend']({'cfg':_0x4523de[_0x1b145a(0x2da)]({'keySize':0x80/0x20,'hasher':_0x1eb28d,'iterations':0x1}),'init':function(_0x498806){var _0x4df43e=_0x1b145a;this[_0x4df43e(0x32e)]=this[_0x4df43e(0x32e)]['extend'](_0x498806);},'compute':function(_0x33ebb4,_0x844d2){var _0x396a02=_0x1b145a;for(var _0x1bc388,_0x15995a=this[_0x396a02(0x32e)],_0x468b11=_0x15995a[_0x396a02(0x516)][_0x396a02(0x3ce)](),_0x305045=_0x364ec7['create'](),_0x471850=_0x305045[_0x396a02(0x1f1)],_0x26bba7=_0x15995a['keySize'],_0x443976=_0x15995a['iterations'];_0x471850[_0x396a02(0x39f)]<_0x26bba7;){_0x1bc388&&_0x468b11['update'](_0x1bc388),_0x1bc388=_0x468b11['update'](_0x33ebb4)[_0x396a02(0x43e)](_0x844d2),_0x468b11[_0x396a02(0x3fe)]();for(var _0x465fbc=0x1;_0x465fbc<_0x443976;_0x465fbc++)_0x1bc388=_0x468b11['finalize'](_0x1bc388),_0x468b11[_0x396a02(0x3fe)]();_0x305045[_0x396a02(0x47f)](_0x1bc388);}return _0x305045['sigBytes']=_0x26bba7*0x4,_0x305045;}});_0x57c3f9[_0x1b145a(0x25f)]=function(_0x46ecbf,_0x1b8605,_0x5646d6){var _0xf7d5ed=_0x1b145a;return _0x5baafe[_0xf7d5ed(0x3ce)](_0x5646d6)[_0xf7d5ed(0x30f)](_0x46ecbf,_0x1b8605);};}()),_0x3ca9b6[_0x24f409(0x25f)];}));}(me)),me['exports'];}var Te={'exports':{}},Wi=Te[_0xf5384(0x2d2)],rt;function Pt(){return rt||(rt=0x1,function(_0x4ca24b,_0x3bb99e){(function(_0x34bd5c,_0x4d750b,_0x14cce5){_0x4ca24b['exports']=_0x4d750b(ee(),At());}(Wi,function(_0x5e98c1){var _0x5b05aa=_0x4e4b;_0x5e98c1['lib'][_0x5b05aa(0x328)]||function(_0x8899e0){var _0x592d5d=_0x5b05aa,_0x23636f=_0x5e98c1,_0x531a3e=_0x23636f[_0x592d5d(0x3e3)],_0x306632=_0x531a3e[_0x592d5d(0x384)],_0x5a2f10=_0x531a3e['WordArray'],_0x51415f=_0x531a3e[_0x592d5d(0x4c8)],_0x1776c0=_0x23636f[_0x592d5d(0x1f5)];_0x1776c0[_0x592d5d(0x404)];var _0xed45dc=_0x1776c0[_0x592d5d(0x1c9)],_0x5375d4=_0x23636f['algo'],_0xdf1c8=_0x5375d4[_0x592d5d(0x25f)],_0x510384=_0x531a3e[_0x592d5d(0x328)]=_0x51415f[_0x592d5d(0x2da)]({'cfg':_0x306632[_0x592d5d(0x2da)](),'createEncryptor':function(_0x24c106,_0x431cd1){return this['create'](this['_ENC_XFORM_MODE'],_0x24c106,_0x431cd1);},'createDecryptor':function(_0x4cfb88,_0x2f3a3e){var _0x1c6b4f=_0x592d5d;return this[_0x1c6b4f(0x3ce)](this[_0x1c6b4f(0x235)],_0x4cfb88,_0x2f3a3e);},'init':function(_0x2973c7,_0x30271a,_0xc50f45){var _0x488e80=_0x592d5d;this[_0x488e80(0x32e)]=this[_0x488e80(0x32e)][_0x488e80(0x2da)](_0xc50f45),this[_0x488e80(0x284)]=_0x2973c7,this[_0x488e80(0x19d)]=_0x30271a,this['reset']();},'reset':function(){var _0x207f2e=_0x592d5d;_0x51415f[_0x207f2e(0x3fe)]['call'](this),this[_0x207f2e(0x3ee)]();},'process':function(_0x3f808d){var _0x370dc0=_0x592d5d;return this[_0x370dc0(0x36f)](_0x3f808d),this['_process']();},'finalize':function(_0x22309a){var _0x1e887a=_0x592d5d;_0x22309a&&this[_0x1e887a(0x36f)](_0x22309a);var _0x4c6f80=this['_doFinalize']();return _0x4c6f80;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xc996a0(_0x17e0f8){var _0x22b2b2=_0x4e4b;return typeof _0x17e0f8==_0x22b2b2(0x2b9)?_0x559044:_0x3c455d;}return function(_0xa55c66){return{'encrypt':function(_0xf81fc7,_0x49b743,_0x204e4a){var _0x4ba1f6=_0x4e4b;return _0xc996a0(_0x49b743)[_0x4ba1f6(0x366)](_0xa55c66,_0xf81fc7,_0x49b743,_0x204e4a);},'decrypt':function(_0xe3467e,_0x2edb13,_0xa4cd6d){var _0x5e3094=_0x4e4b;return _0xc996a0(_0x2edb13)[_0x5e3094(0x19e)](_0xa55c66,_0xe3467e,_0x2edb13,_0xa4cd6d);}};};}())});_0x531a3e[_0x592d5d(0x1c3)]=_0x510384[_0x592d5d(0x2da)]({'_doFinalize':function(){var _0x57768f=_0x592d5d,_0x478c4a=this[_0x57768f(0x356)](!0x0);return _0x478c4a;},'blockSize':0x1});var _0xa94026=_0x23636f['mode']={},_0x511a08=_0x531a3e[_0x592d5d(0x24c)]=_0x306632[_0x592d5d(0x2da)]({'createEncryptor':function(_0x53a570,_0x1502c6){var _0x148839=_0x592d5d;return this[_0x148839(0x4eb)]['create'](_0x53a570,_0x1502c6);},'createDecryptor':function(_0xaeeee5,_0x2ee4e8){var _0x3b97c4=_0x592d5d;return this['Decryptor'][_0x3b97c4(0x3ce)](_0xaeeee5,_0x2ee4e8);},'init':function(_0x107795,_0x52d76b){var _0x1ac96c=_0x592d5d;this[_0x1ac96c(0x3dd)]=_0x107795,this[_0x1ac96c(0x25e)]=_0x52d76b;}}),_0x405998=_0xa94026[_0x592d5d(0x4a1)]=(function(){var _0x2c36f6=_0x592d5d,_0x9be915=_0x511a08['extend']();_0x9be915[_0x2c36f6(0x4eb)]=_0x9be915[_0x2c36f6(0x2da)]({'processBlock':function(_0x10b835,_0x3a84fc){var _0xbca1eb=_0x2c36f6,_0x33f1e1=this[_0xbca1eb(0x3dd)],_0x3bfafc=_0x33f1e1[_0xbca1eb(0x3aa)];_0xfa0c98[_0xbca1eb(0x2ba)](this,_0x10b835,_0x3a84fc,_0x3bfafc),_0x33f1e1[_0xbca1eb(0x2b4)](_0x10b835,_0x3a84fc),this[_0xbca1eb(0x4c9)]=_0x10b835[_0xbca1eb(0x46e)](_0x3a84fc,_0x3a84fc+_0x3bfafc);}}),_0x9be915[_0x2c36f6(0x504)]=_0x9be915[_0x2c36f6(0x2da)]({'processBlock':function(_0x4259ea,_0x420142){var _0x3eec6e=_0x2c36f6,_0x1788b6=this['_cipher'],_0x3f6955=_0x1788b6[_0x3eec6e(0x3aa)],_0x22f9f8=_0x4259ea[_0x3eec6e(0x46e)](_0x420142,_0x420142+_0x3f6955);_0x1788b6[_0x3eec6e(0x2d3)](_0x4259ea,_0x420142),_0xfa0c98[_0x3eec6e(0x2ba)](this,_0x4259ea,_0x420142,_0x3f6955),this[_0x3eec6e(0x4c9)]=_0x22f9f8;}});function _0xfa0c98(_0x5734a2,_0xf32407,_0x3d8033){var _0x2cc240=_0x2c36f6,_0x50fdca,_0x33a6ad=this['_iv'];_0x33a6ad?(_0x50fdca=_0x33a6ad,this[_0x2cc240(0x25e)]=_0x8899e0):_0x50fdca=this[_0x2cc240(0x4c9)];for(var _0x4af2ed=0x0;_0x4af2ed<_0x3d8033;_0x4af2ed++)_0x5734a2[_0xf32407+_0x4af2ed]^=_0x50fdca[_0x4af2ed];}return _0x9be915;}()),_0x22ee27=_0x23636f[_0x592d5d(0x39a)]={},_0x487441=_0x22ee27[_0x592d5d(0x2b6)]={'pad':function(_0x2a222a,_0x14de2e){var _0x509ce0=_0x592d5d;for(var _0x1cf631=_0x14de2e*0x4,_0xc58455=_0x1cf631-_0x2a222a[_0x509ce0(0x28f)]%_0x1cf631,_0x1aa9ed=_0xc58455<<0x18|_0xc58455<<0x10|_0xc58455<<0x8|_0xc58455,_0x5e1d8b=[],_0x3abfdd=0x0;_0x3abfdd<_0xc58455;_0x3abfdd+=0x4)_0x5e1d8b['push'](_0x1aa9ed);var _0x34d623=_0x5a2f10[_0x509ce0(0x3ce)](_0x5e1d8b,_0xc58455);_0x2a222a[_0x509ce0(0x47f)](_0x34d623);},'unpad':function(_0x5f23a0){var _0x1d9dc7=_0x592d5d,_0x183b57=_0x5f23a0[_0x1d9dc7(0x1f1)][_0x5f23a0[_0x1d9dc7(0x28f)]-0x1>>>0x2]&0xff;_0x5f23a0[_0x1d9dc7(0x28f)]-=_0x183b57;}};_0x531a3e['BlockCipher']=_0x510384[_0x592d5d(0x2da)]({'cfg':_0x510384['cfg'][_0x592d5d(0x2da)]({'mode':_0x405998,'padding':_0x487441}),'reset':function(){var _0x1811c5=_0x592d5d,_0x99aadd;_0x510384[_0x1811c5(0x3fe)][_0x1811c5(0x2ba)](this);var _0x4431cd=this[_0x1811c5(0x32e)],_0x253fef=_0x4431cd['iv'],_0x3ea032=_0x4431cd[_0x1811c5(0x196)];this['_xformMode']==this[_0x1811c5(0x4c5)]?_0x99aadd=_0x3ea032['createEncryptor']:(_0x99aadd=_0x3ea032[_0x1811c5(0x4bd)],this['_minBufferSize']=0x1),this['_mode']&&this[_0x1811c5(0x353)][_0x1811c5(0x47e)]==_0x99aadd?this[_0x1811c5(0x353)]['init'](this,_0x253fef&&_0x253fef[_0x1811c5(0x1f1)]):(this[_0x1811c5(0x353)]=_0x99aadd[_0x1811c5(0x2ba)](_0x3ea032,this,_0x253fef&&_0x253fef[_0x1811c5(0x1f1)]),this[_0x1811c5(0x353)]['__creator']=_0x99aadd);},'_doProcessBlock':function(_0x5b9592,_0x1921c0){var _0x134bd3=_0x592d5d;this[_0x134bd3(0x353)][_0x134bd3(0x3c4)](_0x5b9592,_0x1921c0);},'_doFinalize':function(){var _0x8a5132=_0x592d5d,_0x3faad3,_0x534d7d=this[_0x8a5132(0x32e)][_0x8a5132(0x311)];return this[_0x8a5132(0x284)]==this[_0x8a5132(0x4c5)]?(_0x534d7d['pad'](this[_0x8a5132(0x1e0)],this[_0x8a5132(0x3aa)]),_0x3faad3=this[_0x8a5132(0x356)](!0x0)):(_0x3faad3=this[_0x8a5132(0x356)](!0x0),_0x534d7d['unpad'](_0x3faad3)),_0x3faad3;},'blockSize':0x80/0x20});var _0x2c1d83=_0x531a3e[_0x592d5d(0x4d2)]=_0x306632[_0x592d5d(0x2da)]({'init':function(_0x520ceb){var _0x50c0ee=_0x592d5d;this[_0x50c0ee(0x49c)](_0x520ceb);},'toString':function(_0x4fa167){var _0x29561c=_0x592d5d;return(_0x4fa167||this[_0x29561c(0x318)])[_0x29561c(0x3a6)](this);}}),_0x5981d5=_0x23636f[_0x592d5d(0x256)]={},_0x38dd35=_0x5981d5[_0x592d5d(0x194)]={'stringify':function(_0x570b78){var _0x5c78ed=_0x592d5d,_0x5071a9,_0x13ee7d=_0x570b78[_0x5c78ed(0x23e)],_0x13587b=_0x570b78[_0x5c78ed(0x463)];return _0x13587b?_0x5071a9=_0x5a2f10[_0x5c78ed(0x3ce)]([0x53616c74,0x65645f5f])[_0x5c78ed(0x47f)](_0x13587b)[_0x5c78ed(0x47f)](_0x13ee7d):_0x5071a9=_0x13ee7d,_0x5071a9[_0x5c78ed(0x340)](_0xed45dc);},'parse':function(_0xb52cff){var _0x32694c=_0x592d5d,_0x5cbd13,_0x127c75=_0xed45dc[_0x32694c(0x1f3)](_0xb52cff),_0x317f5d=_0x127c75[_0x32694c(0x1f1)];return _0x317f5d[0x0]==0x53616c74&&_0x317f5d[0x1]==0x65645f5f&&(_0x5cbd13=_0x5a2f10[_0x32694c(0x3ce)](_0x317f5d['slice'](0x2,0x4)),_0x317f5d[_0x32694c(0x44e)](0x0,0x4),_0x127c75['sigBytes']-=0x10),_0x2c1d83[_0x32694c(0x3ce)]({'ciphertext':_0x127c75,'salt':_0x5cbd13});}},_0x3c455d=_0x531a3e[_0x592d5d(0x3d7)]=_0x306632['extend']({'cfg':_0x306632[_0x592d5d(0x2da)]({'format':_0x38dd35}),'encrypt':function(_0x5d1b41,_0x3311d4,_0x26cb7c,_0x4ca3d2){var _0x2a1de7=_0x592d5d;_0x4ca3d2=this['cfg'][_0x2a1de7(0x2da)](_0x4ca3d2);var _0x31e17c=_0x5d1b41[_0x2a1de7(0x450)](_0x26cb7c,_0x4ca3d2),_0x4de2fb=_0x31e17c['finalize'](_0x3311d4),_0x2d65d2=_0x31e17c['cfg'];return _0x2c1d83[_0x2a1de7(0x3ce)]({'ciphertext':_0x4de2fb,'key':_0x26cb7c,'iv':_0x2d65d2['iv'],'algorithm':_0x5d1b41,'mode':_0x2d65d2[_0x2a1de7(0x196)],'padding':_0x2d65d2[_0x2a1de7(0x311)],'blockSize':_0x5d1b41[_0x2a1de7(0x3aa)],'formatter':_0x4ca3d2[_0x2a1de7(0x256)]});},'decrypt':function(_0x251975,_0x25cb5a,_0x1e3693,_0x3fb715){var _0x62df9b=_0x592d5d;_0x3fb715=this[_0x62df9b(0x32e)][_0x62df9b(0x2da)](_0x3fb715),_0x25cb5a=this['_parse'](_0x25cb5a,_0x3fb715['format']);var _0x2c8527=_0x251975[_0x62df9b(0x4bd)](_0x1e3693,_0x3fb715)[_0x62df9b(0x43e)](_0x25cb5a[_0x62df9b(0x23e)]);return _0x2c8527;},'_parse':function(_0x5946e7,_0x33555e){var _0x5802c5=_0x592d5d;return typeof _0x5946e7==_0x5802c5(0x2b9)?_0x33555e['parse'](_0x5946e7,this):_0x5946e7;}}),_0x56185e=_0x23636f['kdf']={},_0x5dfb5c=_0x56185e[_0x592d5d(0x194)]={'execute':function(_0xe12d61,_0x2b622f,_0x15eaec,_0x2f40d5,_0x31864f){var _0x121ef=_0x592d5d;if(_0x2f40d5||(_0x2f40d5=_0x5a2f10[_0x121ef(0x223)](0x40/0x8)),_0x31864f)var _0x3cdcb5=_0xdf1c8['create']({'keySize':_0x2b622f+_0x15eaec,'hasher':_0x31864f})['compute'](_0xe12d61,_0x2f40d5);else var _0x3cdcb5=_0xdf1c8[_0x121ef(0x3ce)]({'keySize':_0x2b622f+_0x15eaec})[_0x121ef(0x30f)](_0xe12d61,_0x2f40d5);var _0x53336e=_0x5a2f10['create'](_0x3cdcb5[_0x121ef(0x1f1)][_0x121ef(0x46e)](_0x2b622f),_0x15eaec*0x4);return _0x3cdcb5[_0x121ef(0x28f)]=_0x2b622f*0x4,_0x2c1d83[_0x121ef(0x3ce)]({'key':_0x3cdcb5,'iv':_0x53336e,'salt':_0x2f40d5});}},_0x559044=_0x531a3e[_0x592d5d(0x4ad)]=_0x3c455d[_0x592d5d(0x2da)]({'cfg':_0x3c455d[_0x592d5d(0x32e)][_0x592d5d(0x2da)]({'kdf':_0x5dfb5c}),'encrypt':function(_0x44e28d,_0x2286af,_0x49f091,_0x3d10bb){var _0x51cef3=_0x592d5d;_0x3d10bb=this[_0x51cef3(0x32e)][_0x51cef3(0x2da)](_0x3d10bb);var _0x27160e=_0x3d10bb['kdf'][_0x51cef3(0x3da)](_0x49f091,_0x44e28d[_0x51cef3(0x2a6)],_0x44e28d[_0x51cef3(0x27e)],_0x3d10bb[_0x51cef3(0x463)],_0x3d10bb[_0x51cef3(0x516)]);_0x3d10bb['iv']=_0x27160e['iv'];var _0x589dcd=_0x3c455d[_0x51cef3(0x366)]['call'](this,_0x44e28d,_0x2286af,_0x27160e['key'],_0x3d10bb);return _0x589dcd[_0x51cef3(0x49c)](_0x27160e),_0x589dcd;},'decrypt':function(_0xdef184,_0x52b1d2,_0x63f66b,_0x18e0c8){var _0x22bdde=_0x592d5d;_0x18e0c8=this['cfg'][_0x22bdde(0x2da)](_0x18e0c8),_0x52b1d2=this[_0x22bdde(0x400)](_0x52b1d2,_0x18e0c8['format']);var _0x5d3cff=_0x18e0c8[_0x22bdde(0x45a)][_0x22bdde(0x3da)](_0x63f66b,_0xdef184[_0x22bdde(0x2a6)],_0xdef184['ivSize'],_0x52b1d2['salt'],_0x18e0c8[_0x22bdde(0x516)]);_0x18e0c8['iv']=_0x5d3cff['iv'];var _0x4144b5=_0x3c455d[_0x22bdde(0x19e)][_0x22bdde(0x2ba)](this,_0xdef184,_0x52b1d2,_0x5d3cff['key'],_0x18e0c8);return _0x4144b5;}});}();}));}(Te)),Te['exports'];}var Gi=fe[_0xf5384(0x2d2)],st;function Ki(){var _0x3d8b66=_0xf5384;return st||(st=0x1,function(_0x47f2a0,_0x6c9853){(function(_0x2e794b,_0x36601e,_0x536c23){var _0x40bf06=_0x4e4b;_0x47f2a0[_0x40bf06(0x2d2)]=_0x36601e(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x4320a1){var _0x50569a=_0x4e4b;return(function(){var _0x2608ac=_0x4e4b,_0x31ea61=_0x4320a1,_0x2d8869=_0x31ea61[_0x2608ac(0x3e3)],_0x261953=_0x2d8869[_0x2608ac(0x192)],_0x4f2da2=_0x31ea61['algo'],_0x2e964c=[],_0xdbd6e4=[],_0x41679d=[],_0x585088=[],_0x49e3af=[],_0x1628c4=[],_0x48d4c3=[],_0x4cf121=[],_0x1c5e8e=[],_0x1d1637=[];(function(){for(var _0x521030=[],_0x5dadc7=0x0;_0x5dadc7<0x100;_0x5dadc7++)_0x5dadc7<0x80?_0x521030[_0x5dadc7]=_0x5dadc7<<0x1:_0x521030[_0x5dadc7]=_0x5dadc7<<0x1^0x11b;for(var _0x2b7313=0x0,_0x4ce889=0x0,_0x5dadc7=0x0;_0x5dadc7<0x100;_0x5dadc7++){var _0x103980=_0x4ce889^_0x4ce889<<0x1^_0x4ce889<<0x2^_0x4ce889<<0x3^_0x4ce889<<0x4;_0x103980=_0x103980>>>0x8^_0x103980&0xff^0x63,_0x2e964c[_0x2b7313]=_0x103980,_0xdbd6e4[_0x103980]=_0x2b7313;var _0x432e18=_0x521030[_0x2b7313],_0x113fc9=_0x521030[_0x432e18],_0x56925d=_0x521030[_0x113fc9],_0x272e1f=_0x521030[_0x103980]*0x101^_0x103980*0x1010100;_0x41679d[_0x2b7313]=_0x272e1f<<0x18|_0x272e1f>>>0x8,_0x585088[_0x2b7313]=_0x272e1f<<0x10|_0x272e1f>>>0x10,_0x49e3af[_0x2b7313]=_0x272e1f<<0x8|_0x272e1f>>>0x18,_0x1628c4[_0x2b7313]=_0x272e1f;var _0x272e1f=_0x56925d*0x1010101^_0x113fc9*0x10001^_0x432e18*0x101^_0x2b7313*0x1010100;_0x48d4c3[_0x103980]=_0x272e1f<<0x18|_0x272e1f>>>0x8,_0x4cf121[_0x103980]=_0x272e1f<<0x10|_0x272e1f>>>0x10,_0x1c5e8e[_0x103980]=_0x272e1f<<0x8|_0x272e1f>>>0x18,_0x1d1637[_0x103980]=_0x272e1f,_0x2b7313?(_0x2b7313=_0x432e18^_0x521030[_0x521030[_0x521030[_0x56925d^_0x432e18]]],_0x4ce889^=_0x521030[_0x521030[_0x4ce889]]):_0x2b7313=_0x4ce889=0x1;}}());var _0x3fd634=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5afea3=_0x4f2da2['AES']=_0x261953[_0x2608ac(0x2da)]({'_doReset':function(){var _0x23fc5f=_0x2608ac,_0x574ce8;if(!(this[_0x23fc5f(0x2e3)]&&this[_0x23fc5f(0x401)]===this[_0x23fc5f(0x19d)])){for(var _0x4cca2f=this['_keyPriorReset']=this[_0x23fc5f(0x19d)],_0x1c6e55=_0x4cca2f[_0x23fc5f(0x1f1)],_0x27a423=_0x4cca2f[_0x23fc5f(0x28f)]/0x4,_0x4439d1=this[_0x23fc5f(0x2e3)]=_0x27a423+0x6,_0x1775cc=(_0x4439d1+0x1)*0x4,_0x1f7b92=this[_0x23fc5f(0x40c)]=[],_0x359ae2=0x0;_0x359ae2<_0x1775cc;_0x359ae2++)_0x359ae2<_0x27a423?_0x1f7b92[_0x359ae2]=_0x1c6e55[_0x359ae2]:(_0x574ce8=_0x1f7b92[_0x359ae2-0x1],_0x359ae2%_0x27a423?_0x27a423>0x6&&_0x359ae2%_0x27a423==0x4&&(_0x574ce8=_0x2e964c[_0x574ce8>>>0x18]<<0x18|_0x2e964c[_0x574ce8>>>0x10&0xff]<<0x10|_0x2e964c[_0x574ce8>>>0x8&0xff]<<0x8|_0x2e964c[_0x574ce8&0xff]):(_0x574ce8=_0x574ce8<<0x8|_0x574ce8>>>0x18,_0x574ce8=_0x2e964c[_0x574ce8>>>0x18]<<0x18|_0x2e964c[_0x574ce8>>>0x10&0xff]<<0x10|_0x2e964c[_0x574ce8>>>0x8&0xff]<<0x8|_0x2e964c[_0x574ce8&0xff],_0x574ce8^=_0x3fd634[_0x359ae2/_0x27a423|0x0]<<0x18),_0x1f7b92[_0x359ae2]=_0x1f7b92[_0x359ae2-_0x27a423]^_0x574ce8);for(var _0x1dfff5=this[_0x23fc5f(0x411)]=[],_0x4cc59f=0x0;_0x4cc59f<_0x1775cc;_0x4cc59f++){var _0x359ae2=_0x1775cc-_0x4cc59f;if(_0x4cc59f%0x4)var _0x574ce8=_0x1f7b92[_0x359ae2];else var _0x574ce8=_0x1f7b92[_0x359ae2-0x4];_0x4cc59f<0x4||_0x359ae2<=0x4?_0x1dfff5[_0x4cc59f]=_0x574ce8:_0x1dfff5[_0x4cc59f]=_0x48d4c3[_0x2e964c[_0x574ce8>>>0x18]]^_0x4cf121[_0x2e964c[_0x574ce8>>>0x10&0xff]]^_0x1c5e8e[_0x2e964c[_0x574ce8>>>0x8&0xff]]^_0x1d1637[_0x2e964c[_0x574ce8&0xff]];}}},'encryptBlock':function(_0x31be0f,_0x241e69){var _0x16b9c8=_0x2608ac;this[_0x16b9c8(0x4c2)](_0x31be0f,_0x241e69,this[_0x16b9c8(0x40c)],_0x41679d,_0x585088,_0x49e3af,_0x1628c4,_0x2e964c);},'decryptBlock':function(_0x3df70d,_0x35f0d3){var _0x154157=_0x2608ac,_0x569b64=_0x3df70d[_0x35f0d3+0x1];_0x3df70d[_0x35f0d3+0x1]=_0x3df70d[_0x35f0d3+0x3],_0x3df70d[_0x35f0d3+0x3]=_0x569b64,this[_0x154157(0x4c2)](_0x3df70d,_0x35f0d3,this[_0x154157(0x411)],_0x48d4c3,_0x4cf121,_0x1c5e8e,_0x1d1637,_0xdbd6e4);var _0x569b64=_0x3df70d[_0x35f0d3+0x1];_0x3df70d[_0x35f0d3+0x1]=_0x3df70d[_0x35f0d3+0x3],_0x3df70d[_0x35f0d3+0x3]=_0x569b64;},'_doCryptBlock':function(_0x10b819,_0x19b47d,_0x32b220,_0x1c0a4a,_0x31837d,_0x46e660,_0x4eb0d4,_0xf4f338){for(var _0x4986db=this['_nRounds'],_0x436230=_0x10b819[_0x19b47d]^_0x32b220[0x0],_0x559adb=_0x10b819[_0x19b47d+0x1]^_0x32b220[0x1],_0xd7c4fe=_0x10b819[_0x19b47d+0x2]^_0x32b220[0x2],_0x3aea1e=_0x10b819[_0x19b47d+0x3]^_0x32b220[0x3],_0x4db808=0x4,_0x2789c4=0x1;_0x2789c4<_0x4986db;_0x2789c4++){var _0x484f53=_0x1c0a4a[_0x436230>>>0x18]^_0x31837d[_0x559adb>>>0x10&0xff]^_0x46e660[_0xd7c4fe>>>0x8&0xff]^_0x4eb0d4[_0x3aea1e&0xff]^_0x32b220[_0x4db808++],_0x1da3eb=_0x1c0a4a[_0x559adb>>>0x18]^_0x31837d[_0xd7c4fe>>>0x10&0xff]^_0x46e660[_0x3aea1e>>>0x8&0xff]^_0x4eb0d4[_0x436230&0xff]^_0x32b220[_0x4db808++],_0x360748=_0x1c0a4a[_0xd7c4fe>>>0x18]^_0x31837d[_0x3aea1e>>>0x10&0xff]^_0x46e660[_0x436230>>>0x8&0xff]^_0x4eb0d4[_0x559adb&0xff]^_0x32b220[_0x4db808++],_0x12a45e=_0x1c0a4a[_0x3aea1e>>>0x18]^_0x31837d[_0x436230>>>0x10&0xff]^_0x46e660[_0x559adb>>>0x8&0xff]^_0x4eb0d4[_0xd7c4fe&0xff]^_0x32b220[_0x4db808++];_0x436230=_0x484f53,_0x559adb=_0x1da3eb,_0xd7c4fe=_0x360748,_0x3aea1e=_0x12a45e;}var _0x484f53=(_0xf4f338[_0x436230>>>0x18]<<0x18|_0xf4f338[_0x559adb>>>0x10&0xff]<<0x10|_0xf4f338[_0xd7c4fe>>>0x8&0xff]<<0x8|_0xf4f338[_0x3aea1e&0xff])^_0x32b220[_0x4db808++],_0x1da3eb=(_0xf4f338[_0x559adb>>>0x18]<<0x18|_0xf4f338[_0xd7c4fe>>>0x10&0xff]<<0x10|_0xf4f338[_0x3aea1e>>>0x8&0xff]<<0x8|_0xf4f338[_0x436230&0xff])^_0x32b220[_0x4db808++],_0x360748=(_0xf4f338[_0xd7c4fe>>>0x18]<<0x18|_0xf4f338[_0x3aea1e>>>0x10&0xff]<<0x10|_0xf4f338[_0x436230>>>0x8&0xff]<<0x8|_0xf4f338[_0x559adb&0xff])^_0x32b220[_0x4db808++],_0x12a45e=(_0xf4f338[_0x3aea1e>>>0x18]<<0x18|_0xf4f338[_0x436230>>>0x10&0xff]<<0x10|_0xf4f338[_0x559adb>>>0x8&0xff]<<0x8|_0xf4f338[_0xd7c4fe&0xff])^_0x32b220[_0x4db808++];_0x10b819[_0x19b47d]=_0x484f53,_0x10b819[_0x19b47d+0x1]=_0x1da3eb,_0x10b819[_0x19b47d+0x2]=_0x360748,_0x10b819[_0x19b47d+0x3]=_0x12a45e;},'keySize':0x100/0x20});_0x31ea61[_0x2608ac(0x351)]=_0x261953['_createHelper'](_0x5afea3);}()),_0x4320a1[_0x50569a(0x351)];}));}(fe)),fe[_0x3d8b66(0x2d2)];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0xf5384(0x2d2)],at;function Xi(){var _0x2c37f5=_0xf5384;return at||(at=0x1,function(_0x15f9d6,_0x44d42c){(function(_0x3ba9ac,_0x2e3843){var _0x274a2a=_0x4e4b;_0x15f9d6[_0x274a2a(0x2d2)]=_0x2e3843(ee());}(Ji,function(_0x488d3f){var _0x247252=_0x4e4b;return _0x488d3f[_0x247252(0x1f5)][_0x247252(0x404)];}));}(be)),be[_0x2c37f5(0x2d2)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0xf5384(0x2d2)],ct;function tn(){var _0xe795fd=_0xf5384;return ct||(ct=0x1,function(_0x28ca69,_0x59f2c9){(function(_0x2b7843,_0x51eacc){var _0x3233fc=_0x4e4b;_0x28ca69[_0x3233fc(0x2d2)]=_0x51eacc(ee());}(en,function(_0x47282e){var _0x23af7a=_0x4e4b;return(function(){var _0x204db7=_0x4e4b;if(typeof ArrayBuffer=='function'){var _0x562095=_0x47282e,_0x3ff9ce=_0x562095[_0x204db7(0x3e3)],_0x6f76c3=_0x3ff9ce['WordArray'],_0x56f553=_0x6f76c3['init'],_0x14c43f=_0x6f76c3[_0x204db7(0x4d6)]=function(_0x2b9700){var _0x5ab165=_0x204db7;if(_0x2b9700 instanceof ArrayBuffer&&(_0x2b9700=new Uint8Array(_0x2b9700)),(_0x2b9700 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2b9700 instanceof Uint8ClampedArray||_0x2b9700 instanceof Int16Array||_0x2b9700 instanceof Uint16Array||_0x2b9700 instanceof Int32Array||_0x2b9700 instanceof Uint32Array||_0x2b9700 instanceof Float32Array||_0x2b9700 instanceof Float64Array)&&(_0x2b9700=new Uint8Array(_0x2b9700[_0x5ab165(0x1d6)],_0x2b9700['byteOffset'],_0x2b9700['byteLength'])),_0x2b9700 instanceof Uint8Array){for(var _0x3dc8cd=_0x2b9700[_0x5ab165(0x44b)],_0x3ef5e7=[],_0x998ec1=0x0;_0x998ec1<_0x3dc8cd;_0x998ec1++)_0x3ef5e7[_0x998ec1>>>0x2]|=_0x2b9700[_0x998ec1]<<0x18-_0x998ec1%0x4*0x8;_0x56f553['call'](this,_0x3ef5e7,_0x3dc8cd);}else _0x56f553[_0x5ab165(0x346)](this,arguments);};_0x14c43f[_0x204db7(0x2c4)]=_0x6f76c3;}}()),_0x47282e[_0x23af7a(0x3e3)]['WordArray'];}));}(Re)),Re[_0xe795fd(0x2d2)];}var nn=tn();const rn=Se(nn);var Oe={'exports':{}},sn=Oe[_0xf5384(0x2d2)],ht;function on(){var _0x3bf5e2=_0xf5384;return ht||(ht=0x1,function(_0x36738e,_0xd05b3d){(function(_0x24c88a,_0x41f274,_0x52f26c){_0x36738e['exports']=_0x41f274(ee(),Pt());}(sn,function(_0x253157){var _0x30ff80=_0x4e4b;return _0x253157[_0x30ff80(0x39a)][_0x30ff80(0x36c)]={'pad':function(){},'unpad':function(){}},_0x253157['pad']['NoPadding'];}));}(Oe)),Oe[_0x3bf5e2(0x2d2)];}var an=on();const cn=Se(an);function hn(_0x3e39f7,_0x3f0c73){var _0xbdb12f=_0xf5384;const _0x5541ea=_0x3f0c73-_0x3e39f7[_0xbdb12f(0x39f)]%_0x3f0c73,_0x590109=String[_0xbdb12f(0x426)](_0x5541ea)[_0xbdb12f(0x41f)](_0x5541ea);return _0x3e39f7+_0x590109;}function _n(_0x244fed,_0x4c3243){var _0x278401=_0xf5384;const _0x4a0867=rn[_0x278401(0x223)](0x10),_0x52f6a3=hn(_0x244fed,0x10),_0x5d787e=qi[_0x278401(0x366)](Qi[_0x278401(0x1f3)](_0x52f6a3),ot[_0x278401(0x1f3)](_0x4c3243),{'iv':_0x4a0867,'padding':cn});return _0x4a0867[_0x278401(0x47f)](_0x5d787e[_0x278401(0x23e)])[_0x278401(0x340)](ot);}function ln(){var _0x5e238f=_0xf5384;const _0xb83acc=xt['getGlobalObject']()[_0x5e238f(0x252)];if(_0xb83acc){const _0x534a12={'time':Math[_0x5e238f(0x491)](Date['now']()/0x3e8),'domain':location[_0x5e238f(0x34d)]};return _n(JSON[_0x5e238f(0x3a6)](_0x534a12),_0xb83acc);}}var un=Object['getOwnPropertyDescriptor'],dn=(_0xeb583d,_0xdf553e,_0x2372bb,_0x317002)=>{var _0x381a23=_0xf5384;for(var _0x2c18a7=_0x317002>0x1?void 0x0:_0x317002?un(_0xdf553e,_0x2372bb):_0xdf553e,_0x3349c3=_0xeb583d[_0x381a23(0x39f)]-0x1,_0x137203;_0x3349c3>=0x0;_0x3349c3--)(_0x137203=_0xeb583d[_0x3349c3])&&(_0x2c18a7=_0x137203(_0x2c18a7)||_0x2c18a7);return _0x2c18a7;},vn=(_0x204a27,_0x3da05c)=>(_0x3e4ffd,_0x424e0f)=>_0x3da05c(_0x3e4ffd,_0x424e0f,_0x204a27);let Ne=class{constructor(_0x476046){var _0x18f5e9=_0xf5384;this[_0x18f5e9(0x3e7)]=_0x476046,this['_initRequestHeader']();}[_0xf5384(0x229)](){var _0x1118bb=_0xf5384;this['_httpService'][_0x1118bb(0x251)]({'interceptor':(_0x5eba7a,_0x281305)=>{var _0x2232ad=_0x1118bb;const _0x1ed757=_0x5eba7a[_0x2232ad(0x2a7)],_0x408988=ln();return _0x408988&&_0x1ed757[_0x2232ad(0x1b4)]('x-univer-host',_0x408988),_0x281305(_0x5eba7a);}});}};Ne=dn([vn(0x0,a[_0xf5384(0x490)](q[_0xf5384(0x499)]))],Ne);var Sn=Object[_0xf5384(0x2b5)],fn=(_0x1fccdc,_0x37695d,_0x5415f0,_0x2f357d)=>{var _0x267d46=_0xf5384;for(var _0x67c587=_0x2f357d>0x1?void 0x0:_0x2f357d?Sn(_0x37695d,_0x5415f0):_0x37695d,_0x595030=_0x1fccdc[_0x267d46(0x39f)]-0x1,_0x2164de;_0x595030>=0x0;_0x595030--)(_0x2164de=_0x1fccdc[_0x595030])&&(_0x67c587=_0x2164de(_0x67c587)||_0x67c587);return _0x67c587;},Me=(_0x4a726f,_0x3bf76d)=>(_0x3d0ad8,_0x526fe6)=>_0x3bf76d(_0x3d0ad8,_0x526fe6,_0x4a726f);exports[_0xf5384(0x303)]=class extends a[_0xf5384(0x236)]{constructor(_0x11ef58,_0x5e3b5a,_0x1e3cfb){var _0x3e726f=_0xf5384;super(),A(this,_0x3e726f(0x2fb),new j[(_0x3e726f(0x3a7))](null)),A(this,_0x3e726f(0x357),this[_0x3e726f(0x2fb)][_0x3e726f(0x3b4)]()),(this['_logService']=_0x11ef58,this[_0x3e726f(0x2f6)]=_0x5e3b5a,this['_localCacheService']=_0x1e3cfb);}async[_0xf5384(0x32b)](_0x1f6c47,_0x940207,_0x420436){var _0x370fc7=_0xf5384;this[_0x370fc7(0x2fb)]['next']({'unitId':_0x1f6c47,'type':_0x940207,'subUnitId':_0x420436});let _0x2bde41=null;switch(_0x940207){case X[_0x370fc7(0x33e)]:{_0x2bde41=await this[_0x370fc7(0x270)](_0x1f6c47);break;}case X[_0x370fc7(0x1d1)]:{_0x2bde41=await this[_0x370fc7(0x233)](_0x1f6c47);break;}default:{this[_0x370fc7(0x4be)][_0x370fc7(0x1bf)](_0x370fc7(0x210),_0x370fc7(0x305));break;}}return _0x2bde41;}async[_0xf5384(0x270)](_0x2cdb7f){var _0x31acd2=_0xf5384,_0x2c8a74;let _0x54057c=0x0;const _0x43a44b=await((_0x2c8a74=this[_0x31acd2(0x4da)])==null?void 0x0:_0x2c8a74['loadOfflineData'](_0x2cdb7f));return _0x43a44b&&(_0x43a44b[_0x31acd2(0x510)]||_0x43a44b[_0x31acd2(0x43d)][_0x31acd2(0x39f)]!==0x0)&&(_0x54057c=_0x43a44b[_0x31acd2(0x33c)]),_0x54057c===0x0&&this[_0x31acd2(0x4be)][_0x31acd2(0x3cf)](_0x31acd2(0x210),_0x31acd2(0x279)),this[_0x31acd2(0x2f6)][_0x31acd2(0x26a)](_0x2cdb7f,_0x54057c);}async['_loadDoc'](_0x15f591){var _0x3b2655=_0xf5384,_0x441f38;let _0x2b0083=0x0;const _0x23b35a=await((_0x441f38=this['_localCacheService'])==null?void 0x0:_0x441f38['loadOfflineData'](_0x15f591));return _0x23b35a&&(_0x23b35a[_0x3b2655(0x510)]||_0x23b35a['mutations']['length']!==0x0)&&(_0x2b0083=_0x23b35a[_0x3b2655(0x33c)]),_0x2b0083===0x0&&this[_0x3b2655(0x4be)][_0x3b2655(0x3cf)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x3b2655(0x381)](_0x15f591,_0x2b0083);}},exports['DataLoaderService']=fn([Me(0x0,a[_0xf5384(0x1df)]),Me(0x1,a[_0xf5384(0x490)](g['SnapshotService'])),Me(0x2,a[_0xf5384(0x1b8)](z))],exports['DataLoaderService']);var pn=Object[_0xf5384(0x2b5)],gn=(_0x4395ff,_0x3c52a4,_0x2e4949,_0x17b682)=>{var _0x1cbd0c=_0xf5384;for(var _0x6e6ed1=_0x17b682>0x1?void 0x0:_0x17b682?pn(_0x3c52a4,_0x2e4949):_0x3c52a4,_0x27d53f=_0x4395ff[_0x1cbd0c(0x39f)]-0x1,_0x4200dd;_0x27d53f>=0x0;_0x27d53f--)(_0x4200dd=_0x4395ff[_0x27d53f])&&(_0x6e6ed1=_0x4200dd(_0x6e6ed1)||_0x6e6ed1);return _0x6e6ed1;},xe=(_0x4a18ae,_0x1798a8)=>(_0x2b3365,_0x4e31ea)=>_0x1798a8(_0x2b3365,_0x4e31ea,_0x4a18ae);const In=[_0xf5384(0x2e5),'image/jpeg','image/jpg',_0xf5384(0x35e),'image/bmp'],mn=0x5*0x400*0x400,En=_0xf5384(0x21d),Cn=_0xf5384(0x1a6),Tn=_0xf5384(0x518),bn=_0xf5384(0x2de);exports[_0xf5384(0x205)]=class{constructor(_0x2babdf,_0x4f72b1,_0x20ef40){var _0x90d0c8=_0xf5384;A(this,'_waitCount',0x0),A(this,_0x90d0c8(0x394),new j[(_0x90d0c8(0x45b))]()),A(this,_0x90d0c8(0x4c1),this[_0x90d0c8(0x394)]),A(this,'_imageSourceCache',new Map()),(this[_0x90d0c8(0x3e7)]=_0x2babdf,this[_0x90d0c8(0x2b0)]=_0x4f72b1,this['_univerInstanceService']=_0x20ef40);}[_0xf5384(0x413)](_0x4e5b9b){var _0x22d4c1=_0xf5384;this['_waitCount']=_0x4e5b9b,this[_0x22d4c1(0x394)][_0x22d4c1(0x3d8)](_0x4e5b9b);}[_0xf5384(0x461)](_0x44ceae,_0x626ad){var _0x5c283c=_0xf5384;if(_0x626ad===J[_0x5c283c(0x4b7)]['BASE64']){const _0x42376a=new Image();return _0x42376a[_0x5c283c(0x2d8)]=_0x44ceae,_0x42376a;}return this['_imageSourceCache'][_0x5c283c(0x1f9)](_0x44ceae);}['addImageSourceCache'](_0x984b58,_0x2d2d5c,_0x2235af){var _0x40558d=_0xf5384;_0x2d2d5c===J[_0x40558d(0x4b7)][_0x40558d(0x1e5)]||_0x2235af==null||this[_0x40558d(0x29f)]['set'](_0x984b58,_0x2235af);}async[_0xf5384(0x1c1)](_0x1c3e19){var _0x48db0a=_0xf5384;try{const _0x10dc5f=this[_0x48db0a(0x36e)](this['_getSignURL'](),''+_0x1c3e19),_0x39732a=(await this[_0x48db0a(0x3e7)][_0x48db0a(0x1f9)](_0x10dc5f))[_0x48db0a(0x1be)];if(_0x39732a[_0x48db0a(0x1bf)]&&_0x39732a['error'][_0x48db0a(0x4c7)]===Ct['OK']){const _0x38d006=new URL(_0x39732a[_0x48db0a(0x4f3)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x48db0a(0x412)](_0x38d006);}return Promise['reject'](_0x39732a[_0x48db0a(0x1bf)]);}catch(_0xf00e70){return Promise[_0x48db0a(0x3d5)](_0xf00e70);}}async[_0xf5384(0x2c1)](_0x108640){var _0x2c98f4=_0xf5384;let _0x2c183d='';if(!In[_0x2c98f4(0x304)](_0x108640['type']))return this[_0x2c98f4(0x1ba)](),Promise[_0x2c98f4(0x3d5)](new Error(J[_0x2c98f4(0x209)][_0x2c98f4(0x201)]));if(_0x108640[_0x2c98f4(0x275)]>mn)return this[_0x2c98f4(0x1ba)](),Promise[_0x2c98f4(0x3d5)](new Error(J[_0x2c98f4(0x209)][_0x2c98f4(0x26f)]));try{const _0x183eb1=new FormData();_0x183eb1['append']('file',_0x108640);const _0x30e59b=this[_0x2c98f4(0x1eb)]['getFocusedUnit'](),_0x571c68=_0x30e59b==null?void 0x0:_0x30e59b['getUnitId']();if(!_0x571c68)throw new Error(_0x2c98f4(0x3fc));const _0x567361=this[_0x2c98f4(0x466)]()+_0x2c98f4(0x4fd)+_0x108640['size']['toString']()+'&source='+Tt[_0x2c98f4(0x481)]+_0x2c98f4(0x376)+encodeURIComponent(_0x571c68),_0x5abdf8=await(await fetch(_0x567361,{'method':_0x2c98f4(0x389),'body':_0x183eb1}))[_0x2c98f4(0x40b)]();if(typeof _0x5abdf8['FileId']!='string')return this['_decreaseWaiting'](),Promise['reject'](new Error(J[_0x2c98f4(0x209)][_0x2c98f4(0x3e9)]));_0x2c183d=_0x5abdf8[_0x2c98f4(0x2f5)];}catch{return this[_0x2c98f4(0x1ba)](),Promise[_0x2c98f4(0x3d5)](new Error(J[_0x2c98f4(0x209)][_0x2c98f4(0x3e9)]));}return new Promise((_0x3ac4a9,_0x19740a)=>{var _0x576cad=_0x2c98f4;const _0x3ca3b7=new FileReader();_0x3ca3b7[_0x576cad(0x437)](_0x108640),_0x3ca3b7['onload']=_0x29bb6d=>{var _0x2d7fd3=_0x576cad,_0x559c7d;const _0x9d5da4=(_0x559c7d=_0x29bb6d[_0x2d7fd3(0x474)])==null?void 0x0:_0x559c7d['result'];if(_0x9d5da4==null){this[_0x2d7fd3(0x1ba)](),_0x19740a(new Error(J[_0x2d7fd3(0x209)][_0x2d7fd3(0x3e9)]));return;}const _0x40e5ff=a['Tools'][_0x2d7fd3(0x2df)](0x6);_0x3ac4a9({'imageId':_0x40e5ff,'imageSourceType':J[_0x2d7fd3(0x4b7)][_0x2d7fd3(0x4ff)],'source':_0x2c183d,'base64Cache':_0x9d5da4,'status':J[_0x2d7fd3(0x209)]['SUCCUSS']}),this[_0x2d7fd3(0x1ba)]();};});}[_0xf5384(0x466)](){var _0x1cae4c=_0xf5384,_0xf8cd51,_0x126791;const _0xcfcfd=this[_0x1cae4c(0x2b0)]['getConfig'](En),_0x5cb57b=this[_0x1cae4c(0x2b0)][_0x1cae4c(0x464)](Y);return(_0x126791=(_0xf8cd51=_0x5cb57b==null?void 0x0:_0x5cb57b[_0x1cae4c(0x34e)])!=null?_0xf8cd51:_0xcfcfd)!=null?_0x126791:Cn;}[_0xf5384(0x1e3)](){var _0x5475ea=_0xf5384,_0x59605d,_0x4ac7fc;const _0x3f9e0a=this[_0x5475ea(0x2b0)][_0x5475ea(0x464)](Tn),_0x5990b5=this['_configService'][_0x5475ea(0x464)](Y);return(_0x4ac7fc=(_0x59605d=_0x5990b5==null?void 0x0:_0x5990b5[_0x5475ea(0x30a)])!=null?_0x59605d:_0x3f9e0a)!=null?_0x4ac7fc:bn;}[_0xf5384(0x494)](){var _0x5ec5ae=_0xf5384,_0x49f86a;const _0x2310f7=this[_0x5ec5ae(0x2b0)][_0x5ec5ae(0x464)](Y);return(_0x49f86a=_0x2310f7==null?void 0x0:_0x2310f7[_0x5ec5ae(0x3cb)])!=null?_0x49f86a:location[_0x5ec5ae(0x4b9)];}[_0xf5384(0x36e)](_0x49a12b,_0x456079){var _0x1e40a6=_0xf5384;return _0x49a12b['replace'](_0x1e40a6(0x215),_0x456079);}['_decreaseWaiting'](){var _0x40c29e=_0xf5384;this[_0x40c29e(0x410)]-=0x1,this[_0x40c29e(0x394)]['next'](this[_0x40c29e(0x410)]);}},exports[_0xf5384(0x205)]=gn([xe(0x0,a[_0xf5384(0x490)](q['HTTPService'])),xe(0x1,a[_0xf5384(0x475)]),xe(0x2,a['Inject'](a[_0xf5384(0x2f2)]))],exports[_0xf5384(0x205)]);var Rn=Object[_0xf5384(0x2b5)],On=(_0x1db4c7,_0x372c13,_0x250e2e,_0x3ac2ae)=>{var _0x54ddbc=_0xf5384;for(var _0x3bda76=_0x3ac2ae>0x1?void 0x0:_0x3ac2ae?Rn(_0x372c13,_0x250e2e):_0x372c13,_0x91596c=_0x1db4c7[_0x54ddbc(0x39f)]-0x1,_0x210d46;_0x91596c>=0x0;_0x91596c--)(_0x210d46=_0x1db4c7[_0x91596c])&&(_0x3bda76=_0x210d46(_0x3bda76)||_0x3bda76);return _0x3bda76;},_t=(_0xa4aacd,_0x2efe95)=>(_0x81e82c,_0x3ce7c4)=>_0x2efe95(_0x81e82c,_0x3ce7c4,_0xa4aacd);const yn='/universer-api/authz';exports[_0xf5384(0x216)]=class{constructor(_0x3d50d1,_0x4c071c){var _0x1144ab=_0xf5384;this[_0x1144ab(0x2b0)]=_0x3d50d1,this[_0x1144ab(0x23f)]=_0x4c071c;}[_0xf5384(0x2b3)](){var _0x1ecb1b=_0xf5384,_0x169d29,_0x155b45;const _0xe9477d=this[_0x1ecb1b(0x2b0)][_0x1ecb1b(0x464)](Ge),_0x3df148=this[_0x1ecb1b(0x2b0)][_0x1ecb1b(0x464)](Y);return(_0x155b45=(_0x169d29=_0x3df148==null?void 0x0:_0x3df148[_0x1ecb1b(0x297)])!=null?_0x169d29:_0xe9477d)!=null?_0x155b45:yn;}async['list'](_0x1d0095){var _0x43a7cd=_0xf5384;const _0x2a731d=this['_getAPIPrefixPath']()+_0x43a7cd(0x460);return{'list':[{'title':_0x43a7cd(0x484),'mentions':(await this[_0x43a7cd(0x23f)][_0x43a7cd(0x1f9)](_0x2a731d,{'params':{'objectID':_0x1d0095['unitId'],'unitID':_0x1d0095[_0x43a7cd(0x447)]}}))[_0x43a7cd(0x1be)][_0x43a7cd(0x292)][_0x43a7cd(0x483)](_0x5b3f13=>({'objectId':_0x5b3f13['id'],'name':_0x5b3f13[_0x43a7cd(0x492)]['name'],'metadata':{'icon':_0x5b3f13[_0x43a7cd(0x492)][_0x43a7cd(0x48e)]},'label':_0x5b3f13[_0x43a7cd(0x492)][_0x43a7cd(0x308)],'objectType':a[_0x43a7cd(0x32d)][_0x43a7cd(0x46a)]})),'metadata':{},'type':a[_0x43a7cd(0x32d)][_0x43a7cd(0x46a)]}]};}},exports['MentionIoHttpService']=On([_t(0x0,a[_0xf5384(0x490)](a[_0xf5384(0x475)])),_t(0x1,a[_0xf5384(0x490)](q['HTTPService']))],exports[_0xf5384(0x216)]);var Nn=Object[_0xf5384(0x2b5)],Dn=(_0x423689,_0x614f15,_0x26ca46,_0x46cd33)=>{var _0x5cf3bb=_0xf5384;for(var _0x1810e0=_0x46cd33>0x1?void 0x0:_0x46cd33?Nn(_0x614f15,_0x26ca46):_0x614f15,_0x4714df=_0x423689[_0x5cf3bb(0x39f)]-0x1,_0x272028;_0x4714df>=0x0;_0x4714df--)(_0x272028=_0x423689[_0x4714df])&&(_0x1810e0=_0x272028(_0x1810e0)||_0x1810e0);return _0x1810e0;},ue=(_0x49c4b6,_0x501998)=>(_0x1d7514,_0x3051e9)=>_0x501998(_0x1d7514,_0x3051e9,_0x49c4b6);let De=class extends a[_0xf5384(0x236)]{constructor(_0x376a8,_0x568602,_0x440af7,_0x26cde1,_0x3b0720){var _0x574324=_0xf5384;super(),this[_0x574324(0x3f2)]=_0x376a8,this[_0x574324(0x1eb)]=_0x568602,this[_0x574324(0x3b5)]=_0x440af7,this[_0x574324(0x31b)]=_0x26cde1,this[_0x574324(0x3e8)]=_0x3b0720,this[_0x574324(0x402)](),this['_initCloseConn']();}[_0xf5384(0x1a2)](){var _0x46b059=_0xf5384;const _0x50fae=async _0x5b6d10=>{var _0x90c085=_0x4e4b;(await this[_0x90c085(0x31b)]['requireSession'](_0x5b6d10))['event$']['pipe'](V['filter'](_0x821331=>_0x821331[_0x90c085(0x25b)]===g[_0x90c085(0x371)][_0x90c085(0x38f)]),V['takeUntil'](this[_0x90c085(0x2bf)]))[_0x90c085(0x30e)](_0x120def=>{var _0x3568d3=_0x90c085;const _0x35fa00=_0x120def,{reason:_0x508525}=_0x35fa00[_0x3568d3(0x3a8)];this[_0x3568d3(0x3e8)][_0x3568d3(0x280)]({'id':Q[_0x3568d3(0x471)],'data':_0x508525}),this[_0x3568d3(0x3b5)][_0x3568d3(0x212)](new Z[(_0x3568d3(0x4f2))](_0x5b6d10)['id'],!0x1),this[_0x3568d3(0x31b)][_0x3568d3(0x2f0)](_0x5b6d10);});};j[_0x46b059(0x3a5)](this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x46b059(0x278)][_0x46b059(0x33e)]),this[_0x46b059(0x1eb)][_0x46b059(0x226)](a[_0x46b059(0x278)][_0x46b059(0x1d1)]))[_0x46b059(0x446)](V[_0x46b059(0x483)](_0x3c9a0b=>_0x3c9a0b['getUnitId']()),V[_0x46b059(0x27a)](_0x46a46d=>!a[_0x46b059(0x387)](_0x46a46d)),V[_0x46b059(0x195)](this[_0x46b059(0x2bf)]))[_0x46b059(0x30e)](_0x5a3658=>{_0x50fae(_0x5a3658);});}[_0xf5384(0x402)](){var _0x5d61a3=_0xf5384;const _0x43f771=async _0xf1a31f=>{var _0x454830=_0x4e4b;const _0x47c52e=await this[_0x454830(0x31b)][_0x454830(0x24d)](_0xf1a31f),_0x167091=this['_injector'][_0x454830(0x1f9)](Z['SheetPermissionInitController']);_0x47c52e[_0x454830(0x250)][_0x454830(0x446)](V[_0x454830(0x27a)](_0x467cd2=>_0x467cd2[_0x454830(0x25b)]===g[_0x454830(0x371)]['UPDATE_PERMISSION_OBJ']),V['takeUntil'](this[_0x454830(0x2bf)]))[_0x454830(0x30e)](_0x5e79ee=>{var _0x2f791e=_0x454830;const _0x265ee9=_0x5e79ee,{objectId:_0x7ec2bf}=_0x265ee9[_0x2f791e(0x3a8)];_0x7ec2bf===_0xf1a31f?_0x167091[_0x2f791e(0x365)](_0xf1a31f):_0x167091[_0x2f791e(0x4ea)](_0xf1a31f,_0x7ec2bf);});};j[_0x5d61a3(0x3a5)](this['_univerInstanceService'][_0x5d61a3(0x226)](a[_0x5d61a3(0x278)][_0x5d61a3(0x33e)]))[_0x5d61a3(0x446)](V[_0x5d61a3(0x483)](_0x32d99f=>_0x32d99f['getUnitId']()),V['filter'](_0x2356b4=>!a[_0x5d61a3(0x387)](_0x2356b4)),V[_0x5d61a3(0x195)](this[_0x5d61a3(0x2bf)]))[_0x5d61a3(0x30e)](_0x4036d4=>{_0x43f771(_0x4036d4);});}};De=Dn([ue(0x0,a[_0xf5384(0x490)](a[_0xf5384(0x247)])),ue(0x1,a['IUniverInstanceService']),ue(0x2,a['IPermissionService']),ue(0x3,a[_0xf5384(0x490)](exports[_0xf5384(0x4b8)])),ue(0x4,a[_0xf5384(0x490)](te))],De);var Un=Object[_0xf5384(0x2b5)],An=(_0x4cfe0b,_0x148f95,_0x20fb26,_0x5af627)=>{for(var _0x23a9b4=_0x5af627>0x1?void 0x0:_0x5af627?Un(_0x148f95,_0x20fb26):_0x148f95,_0x2f245a=_0x4cfe0b['length']-0x1,_0x27aa24;_0x2f245a>=0x0;_0x2f245a--)(_0x27aa24=_0x4cfe0b[_0x2f245a])&&(_0x23a9b4=_0x27aa24(_0x23a9b4)||_0x23a9b4);return _0x23a9b4;},lt=(_0x17a124,_0x148749)=>(_0x524cde,_0x3b8a28)=>_0x148749(_0x524cde,_0x3b8a28,_0x17a124);exports[_0xf5384(0x1ed)]=class{constructor(_0x241ef9,_0x29e69f){var _0x5e92a4=_0xf5384;this['_configService']=_0x241ef9,this[_0x5e92a4(0x3e7)]=_0x29e69f;}async['getUnitOnRev'](_0xe1fde1,_0xd37a3a){var _0x1aaf44=_0xf5384,_0x145ded;const {unitID:_0x427705,type:_0x4bf81d,revision:_0x5efb87=0x0}=_0xd37a3a,_0x12f729=this['getSnapshotAPIPath']()+'/'+_0x4bf81d+_0x1aaf44(0x3bf)+_0x427705+_0x1aaf44(0x1d7)+_0x5efb87,_0x4b814e=(await this[_0x1aaf44(0x3e7)][_0x1aaf44(0x1f9)](_0x12f729))[_0x1aaf44(0x1be)],_0xb51e2b=(_0x145ded=_0x4b814e['snapshot'])==null?void 0x0:_0x145ded[_0x1aaf44(0x19c)];if(_0xb51e2b){const _0x262694=_0xb51e2b==null?void 0x0:_0xb51e2b[_0x1aaf44(0x49e)],_0x3e22eb=g[_0x1aaf44(0x3ca)][_0x1aaf44(0x3c6)](g[_0x1aaf44(0x3f0)](_0x262694));_0xb51e2b[_0x1aaf44(0x49e)]=_0x3e22eb,Object[_0x1aaf44(0x50f)](_0xb51e2b[_0x1aaf44(0x1fa)])[_0x1aaf44(0x22c)](([,_0x5eefe3])=>{var _0x3d5ce3=_0x1aaf44;const _0x207e11=_0x5eefe3[_0x3d5ce3(0x49e)],_0x4cfd83=g[_0x3d5ce3(0x3ca)]['encode'](g['b64DecodeUnicode'](_0x207e11));_0x5eefe3[_0x3d5ce3(0x49e)]=_0x4cfd83;});}return _0x4b814e;}async[_0xf5384(0x29d)](_0x3da87c,_0x28e733){var _0x4bc4bd=_0xf5384;const {unitID:_0x1d2e0f,type:_0x3c3dc7,blockID:_0x4ca296}=_0x28e733,_0x5e7d92=this[_0x4bc4bd(0x26d)]()+'/'+_0x3c3dc7+'/unit/'+_0x1d2e0f+_0x4bc4bd(0x312)+_0x4ca296;return(await this[_0x4bc4bd(0x3e7)][_0x4bc4bd(0x1f9)](_0x5e7d92))[_0x4bc4bd(0x1be)];}async[_0xf5384(0x41d)](_0x265b49,_0x268110){var _0x141904=_0xf5384;const {unitID:_0xcd4b97,type:_0x5bd4d3,blockID:_0x53232b}=_0x268110,_0x1cb6e6=this[_0x141904(0x26d)]()+_0x141904(0x312)+_0x5bd4d3+_0x141904(0x3bf)+_0xcd4b97+_0x141904(0x312)+_0x53232b;return(await this[_0x141904(0x3e7)][_0x141904(0x1f9)](_0x1cb6e6))[_0x141904(0x1be)];}async[_0xf5384(0x4dc)](_0x406bd0,_0x5cfd24){var _0x1a858=_0xf5384;const {unitID:_0x12ffe1,type:_0x70e00c,from:_0x15a68f,to:_0x57ad72}=_0x5cfd24,_0x1ffbca=this[_0x1a858(0x26d)]()+'/'+_0x70e00c+_0x1a858(0x3bf)+_0x12ffe1+_0x1a858(0x2be)+_0x15a68f+'&to='+_0x57ad72;return(await this[_0x1a858(0x3e7)][_0x1a858(0x1f9)](_0x1ffbca))[_0x1a858(0x1be)];}['getSnapshotAPIPath'](){var _0x476537=_0xf5384,_0x384540;return(_0x384540=this['_configService'][_0x476537(0x464)](vt))!=null?_0x384540:this[_0x476537(0x26d)]();}[_0xf5384(0x26d)](){var _0x1352aa=_0xf5384,_0x33cf34,_0x3b9211;const _0x6c13f6=this['_configService'][_0x1352aa(0x464)](dt),_0x38bae1=this['_configService'][_0x1352aa(0x464)](Y);return(_0x3b9211=(_0x33cf34=_0x38bae1==null?void 0x0:_0x38bae1[_0x1352aa(0x3d4)])!=null?_0x33cf34:_0x6c13f6)!=null?_0x3b9211:kt;}async['getResourcesRequest'](_0x43586b,_0x55b563){var _0x10da17=_0xf5384;const _0x76931=_0x10da17(0x438)+_0x55b563[_0x10da17(0x36a)]+'/unit/'+_0x55b563['unitID']+_0x10da17(0x368);return(await this[_0x10da17(0x3e7)][_0x10da17(0x1f9)](_0x76931,{'params':{'resourceId':JSON['stringify'](_0x55b563[_0x10da17(0x309)])}}))[_0x10da17(0x1be)];}[_0xf5384(0x456)](){var _0x580084=_0xf5384;throw new Error(_0x580084(0x44c));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xf5384(0x1ef)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xf5384(0x476)](){var _0x26db0b=_0xf5384;throw new Error(_0x26db0b(0x44c));}[_0xf5384(0x435)](){var _0x13b70d=_0xf5384;throw new Error(_0x13b70d(0x44c));}},exports['SnapshotServerOverHTTPService']=An([lt(0x0,a[_0xf5384(0x475)]),lt(0x1,a[_0xf5384(0x490)](q[_0xf5384(0x499)]))],exports[_0xf5384(0x1ed)]);var Pn=Object[_0xf5384(0x2b5)],wn=(_0x164ff5,_0x1f931b,_0x41c59a,_0x1354a3)=>{for(var _0x56c308=_0x1354a3>0x1?void 0x0:_0x1354a3?Pn(_0x1f931b,_0x41c59a):_0x1f931b,_0x27c870=_0x164ff5['length']-0x1,_0x5e6192;_0x27c870>=0x0;_0x27c870--)(_0x5e6192=_0x164ff5[_0x27c870])&&(_0x56c308=_0x5e6192(_0x56c308)||_0x56c308);return _0x56c308;},de=(_0x2afb77,_0x47f49d)=>(_0x324c40,_0x39e7a0)=>_0x47f49d(_0x324c40,_0x39e7a0,_0x2afb77);exports[_0xf5384(0x48a)]=class extends a['LocalUndoRedoService']{constructor(_0x1fe343,_0x2e322d,_0x934b79,_0x105f53,_0x14aca8){var _0x10820e=_0xf5384;super(_0x1fe343,_0x2e322d,_0x934b79),this[_0x10820e(0x1d3)]=_0x105f53,this[_0x10820e(0x4be)]=_0x14aca8;}[_0xf5384(0x224)](_0x1430c8,_0x59afbd){var _0x34d251=_0xf5384;const _0x46b012=this[_0x34d251(0x22e)](_0x1430c8);if(_0x46b012)try{const _0x39fdb1=this[_0x34d251(0x4cb)](_0x46b012,_0x59afbd);this['_substituteUndoStack'](_0x1430c8,_0x39fdb1);}catch(_0x187b89){this[_0x34d251(0x4be)][_0x34d251(0x1bf)](_0x34d251(0x3e1),_0x187b89),this[_0x34d251(0x2cd)](_0x1430c8);}const _0x54ca9e=this[_0x34d251(0x42f)](_0x1430c8);if(_0x54ca9e)try{const _0x2d7b0b=this[_0x34d251(0x4cb)](_0x54ca9e,_0x59afbd);this[_0x34d251(0x3c7)](_0x1430c8,_0x2d7b0b);}catch(_0x29335f){this[_0x34d251(0x4be)][_0x34d251(0x1bf)](_0x29335f),this[_0x34d251(0x1e8)](_0x1430c8);}}['_clearUndo'](_0x2bf99e){var _0xe83eea=_0xf5384;const _0x3b273b=this[_0xe83eea(0x22e)](_0x2bf99e);_0x3b273b&&(_0x3b273b[_0xe83eea(0x39f)]=0x0,this[_0xe83eea(0x391)]());}[_0xf5384(0x1e8)](_0x33b073){var _0xb0151f=_0xf5384;const _0x3f311d=this[_0xb0151f(0x42f)](_0x33b073);_0x3f311d&&(_0x3f311d[_0xb0151f(0x39f)]=0x0,this[_0xb0151f(0x391)]());}[_0xf5384(0x47a)](_0x25c24e,_0x247c68){var _0x35c48b=_0xf5384;this['_undoStacks'][_0x35c48b(0x1b4)](_0x25c24e,_0x247c68),this[_0x35c48b(0x391)]();}['_substituteRedoStack'](_0x3f43f9,_0x44be41){var _0x22180e=_0xf5384;this['_redoStacks'][_0x22180e(0x1b4)](_0x3f43f9,_0x44be41),this[_0x22180e(0x391)]();}[_0xf5384(0x4cb)](_0x52f23d,_0x79bd9){var _0x31db49=_0xf5384;const _0x3909eb=[];let _0x42dc3f=_0x79bd9,_0x405908=_0x79bd9;for(let _0x555639=_0x52f23d['length']-0x1;_0x555639>=0x0;_0x555639--){const {unitID:_0x54cc0b,undoMutations:_0xf8d412,redoMutations:_0x54eb04}=_0x52f23d[_0x555639],_0x13a472=this[_0x31db49(0x1d3)][_0x31db49(0x22d)](_0x42dc3f,_0xf8d412),_0x24eb13=this[_0x31db49(0x1d3)][_0x31db49(0x22d)](_0x405908,_0x54eb04);if(g['isTransformMutationsWithChangesetFailure'](_0x13a472)||g[_0x31db49(0x3c0)](_0x24eb13)){this[_0x31db49(0x4be)][_0x31db49(0x1bf)](_0x31db49(0x3e1),_0x31db49(0x33d),_0x13a472,_0x24eb13);break;}_0x42dc3f=_0x13a472[_0x31db49(0x4b4)],_0x405908=_0x24eb13[_0x31db49(0x4b4)],_0x3909eb[_0x31db49(0x405)]({'unitID':_0x54cc0b,'undoMutations':_0x13a472['m2Prime'],'redoMutations':_0x24eb13[_0x31db49(0x29c)]});}return _0x3909eb[_0x31db49(0x317)]();}},exports[_0xf5384(0x48a)]=wn([de(0x0,a[_0xf5384(0x2f2)]),de(0x1,a[_0xf5384(0x49f)]),de(0x2,a['IContextService']),de(0x3,g[_0xf5384(0x487)]),de(0x4,a[_0xf5384(0x1df)])],exports[_0xf5384(0x48a)]);var Ln=Object[_0xf5384(0x1c6)],Mn=Object[_0xf5384(0x2b5)],xn=(_0x481915,_0x5c6c54,_0x433bc9)=>_0x5c6c54 in _0x481915?Ln(_0x481915,_0x5c6c54,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x433bc9}):_0x481915[_0x5c6c54]=_0x433bc9,kn=(_0x6b9d86,_0x369826,_0x5671f6,_0x2f5d6d)=>{var _0x5b7969=_0xf5384;for(var _0x1ab569=_0x2f5d6d>0x1?void 0x0:_0x2f5d6d?Mn(_0x369826,_0x5671f6):_0x369826,_0x353012=_0x6b9d86[_0x5b7969(0x39f)]-0x1,_0x7b94e0;_0x353012>=0x0;_0x353012--)(_0x7b94e0=_0x6b9d86[_0x353012])&&(_0x1ab569=_0x7b94e0(_0x1ab569)||_0x1ab569);return _0x1ab569;},ke=(_0x45222f,_0x105464)=>(_0x2b41a0,_0x4b3491)=>_0x105464(_0x2b41a0,_0x4b3491,_0x45222f),Hn=(_0x4a6d7d,_0x5f0380,_0x8280a6)=>xn(_0x4a6d7d,_0x5f0380+'',_0x8280a6);const jn=_0xf5384(0x2a2);exports[_0xf5384(0x3b7)]=class extends a[_0xf5384(0x4fb)]{constructor(_0x5b03cc,_0x428646,_0x29cf72,_0xe163cd){var _0xeb6317=_0xf5384;super(),A(this,_0xeb6317(0x482)),(this[_0xeb6317(0x4be)]=_0x428646,this[_0xeb6317(0x3f2)]=_0x29cf72,this[_0xeb6317(0x2b0)]=_0xe163cd);const {..._0x1a91c4}=a[_0xeb6317(0x3a5)]({},Jt,_0x5b03cc);if(!_0x1a91c4[_0xeb6317(0x505)])throw new Error(_0xeb6317(0x19a));this[_0xeb6317(0x482)]=_0x1a91c4,this[_0xeb6317(0x2b0)][_0xeb6317(0x489)](Y,_0x1a91c4);}[_0xf5384(0x1ff)](){var _0x2b5b64=_0xf5384;this['_registerDependencies'](),this[_0x2b5b64(0x1da)]();}[_0xf5384(0x3b1)](){var _0x7f4f62=_0xf5384,_0x437baa,_0x2c8703;this[_0x7f4f62(0x3f2)][_0x7f4f62(0x2e9)](a[_0x7f4f62(0x344)])&&this[_0x7f4f62(0x4be)][_0x7f4f62(0x1bf)](_0x7f4f62(0x293),_0x7f4f62(0x4b2));const _0x304a0c=a['mergeOverrideWithDependencies']([[a[_0x7f4f62(0x344)],{'useClass':exports[_0x7f4f62(0x48a)]}],[exports[_0x7f4f62(0x4b8)]],[exports['MemberService']],[exports[_0x7f4f62(0x2ae)]],[ye],[Ne],[Be],[De],[te],[exports[_0x7f4f62(0x303)]],[$e,{'useClass':this['_config'][_0x7f4f62(0x505)]}],[g[_0x7f4f62(0x4f7)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x7f4f62(0x27f)],{'useClass':exports[_0x7f4f62(0x3be)]}],[J[_0x7f4f62(0x513)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x7f4f62(0x40e)],{'useClass':exports['MentionIoHttpService']}],[exports['CollaborationController']],[He]],(_0x437baa=this[_0x7f4f62(0x482)])==null?void 0x0:_0x437baa['override']);if(!((_0x2c8703=this[_0x7f4f62(0x482)])!=null&&_0x2c8703[_0x7f4f62(0x29b)])){const _0x4d2602=_0x304a0c[_0x7f4f62(0x310)](([_0x1dbf94])=>_0x1dbf94===ve);_0x4d2602!==-0x1&&_0x304a0c[_0x7f4f62(0x44e)](_0x4d2602,0x1);}a[_0x7f4f62(0x38d)](this[_0x7f4f62(0x3f2)],_0x304a0c);}[_0xf5384(0x1da)](){var _0x327bde=_0xf5384,_0x4917c9,_0x2f4f40,_0x5ac36e;this[_0x327bde(0x3f2)]['get'](q[_0x327bde(0x499)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x4917c9=this[_0x327bde(0x482)])!=null&&_0x4917c9['enableOfflineEditing']||(_0x2f4f40=this[_0x327bde(0x3f2)]['get'](z,a['Quantity']['OPTIONAL']))==null||_0x2f4f40['disableLocalCache'](),(_0x5ac36e=this['_config'])!=null&&_0x5ac36e[_0x327bde(0x1ab)]&&a[_0x327bde(0x295)](this['_injector'],[[ye]]),a[_0x327bde(0x295)](this[_0x327bde(0x3f2)],[[Ne],[exports[_0x327bde(0x2eb)]],[De]]);}},Hn(exports[_0xf5384(0x3b7)],'pluginName',jn),exports[_0xf5384(0x3b7)]=kn([a[_0xf5384(0x3f4)](g[_0xf5384(0x4ce)],q[_0xf5384(0x296)]),ke(0x1,a[_0xf5384(0x1df)]),ke(0x2,a[_0xf5384(0x490)](a[_0xf5384(0x247)])),ke(0x3,a[_0xf5384(0x475)])],exports[_0xf5384(0x3b7)]),exports['AUTHZ_URL_KEY']=Ge,exports[_0xf5384(0x3ab)]=Y,exports[_0xf5384(0x444)]=mt,exports[_0xf5384(0x4e8)]=St,exports[_0xf5384(0x4b5)]=Ve,exports[_0xf5384(0x198)]=Q,exports[_0xf5384(0x360)]=te,exports['CommentService']=Be,exports[_0xf5384(0x23a)]=ft,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=zt,exports['DEFAULT_WS_SESSION_TICKET_URL']=$t,exports['HEARTBEAT_INTERVAL_KEY']=pt,exports['HEARTBEAT_TIMEOUT_KEY']=je,exports[_0xf5384(0x46c)]=$e,exports[_0xf5384(0x4e1)]=z,exports[_0xf5384(0x42b)]=bt,exports[_0xf5384(0x4f4)]=ve,exports['LOCAL_CACHE_INTERVAL']=Gt,exports[_0xf5384(0x208)]=Wt,exports[_0xf5384(0x41a)]=Et,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=qt,exports[_0xf5384(0x4f0)]=It,exports[_0xf5384(0x46d)]=Ht,exports[_0xf5384(0x37d)]=dt,exports['SNAPSHOT_URL_KEY']=vt,exports[_0xf5384(0x4f1)]=se,exports[_0xf5384(0x453)]=Fe,exports[_0xf5384(0x4c6)]=Rt,exports[_0xf5384(0x286)]=vi,exports[_0xf5384(0x47b)]=Ot;
|