@univerjs-pro/collaboration-client 0.6.10-experimental.20250427-89a0949 → 0.6.10-experimental.20250428-261c0dd
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 _0x162eea=_0x32dc;(function(_0x414b54,_0x4ff529){var _0x337528=_0x32dc,_0x4fc096=_0x414b54();while(!![]){try{var _0x4e48fe=parseInt(_0x337528(0x310))/0x1+parseInt(_0x337528(0x4f7))/0x2+parseInt(_0x337528(0x411))/0x3*(-parseInt(_0x337528(0x2ad))/0x4)+-parseInt(_0x337528(0x403))/0x5+parseInt(_0x337528(0x339))/0x6+parseInt(_0x337528(0x31b))/0x7+parseInt(_0x337528(0x248))/0x8*(-parseInt(_0x337528(0x3f7))/0x9);if(_0x4e48fe===_0x4ff529)break;else _0x4fc096['push'](_0x4fc096['shift']());}catch(_0xe85962){_0x4fc096['push'](_0x4fc096['shift']());}}}(_0x5ad4,0x9f697));var wt=Object[_0x162eea(0x37f)],Lt=(_0x3d5788,_0x17ece9,_0x44146f)=>_0x17ece9 in _0x3d5788?wt(_0x3d5788,_0x17ece9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x44146f}):_0x3d5788[_0x17ece9]=_0x44146f,A=(_0x57fc6f,_0x52dbdd,_0x2bc1f8)=>Lt(_0x57fc6f,typeof _0x52dbdd!=_0x162eea(0x426)?_0x52dbdd+'':_0x52dbdd,_0x2bc1f8);Object[_0x162eea(0x37f)](exports,Symbol[_0x162eea(0x433)],{'value':_0x162eea(0x460)});const a=require(_0x162eea(0x458)),j=require(_0x162eea(0x4ac)),V=require(_0x162eea(0x505)),g=require(_0x162eea(0x36d)),q=require(_0x162eea(0x4c0)),Mt=require('@univerjs/telemetry'),ut=require(_0x162eea(0x1e9)),Z=require(_0x162eea(0x31d)),J=require(_0x162eea(0x1f4)),xt=require(_0x162eea(0x431)),dt=_0x162eea(0x3b0),kt=_0x162eea(0x42a),vt=_0x162eea(0x31f),Ht=_0x162eea(0x270),jt=0x7d0,St=_0x162eea(0x392),ft=_0x162eea(0x292),$t='/universer-api/user/session-ticket',pt='HEARTBEAT_INTERVAL',Bt=0x7530,je=_0x162eea(0x477),gt=0x4e20,Ft=0x4e20,It=_0x162eea(0x2bb),Vt=0x3,Wt=_0x162eea(0x2da),Gt=0x3e8,mt='COLLAB_SUBMIT_CHANGESET_URL',Kt=_0x162eea(0x3b1),Et=_0x162eea(0x1e7),Yt='/universer-api/oidc/authpage',qt=_0x162eea(0x1c6),zt='/universer-api/uniscript';var Ct=(_0x281ada=>(_0x281ada[_0x281ada[_0x162eea(0x31a)]=0x0]=_0x162eea(0x31a),_0x281ada[_0x281ada['OK']=0x1]='OK',_0x281ada[_0x281ada['INTERNAL_ERROR']=0x2]=_0x162eea(0x396),_0x281ada[_0x281ada[_0x162eea(0x2d7)]=0x3]=_0x162eea(0x2d7),_0x281ada[_0x281ada[_0x162eea(0x478)]=0x4]=_0x162eea(0x478),_0x281ada[_0x281ada['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x281ada[_0x281ada[_0x162eea(0x2c4)]=0x6]=_0x162eea(0x2c4),_0x281ada[_0x281ada[_0x162eea(0x3ef)]=0x7]=_0x162eea(0x3ef),_0x281ada[_0x281ada[_0x162eea(0x2ab)]=0x8]=_0x162eea(0x2ab),_0x281ada[_0x281ada['COMPLETION_FINISHED']=0x9]=_0x162eea(0x44a),_0x281ada[_0x281ada[_0x162eea(0x41c)]=0xa]=_0x162eea(0x41c),_0x281ada[_0x281ada[_0x162eea(0x2e3)]=0x1389]=_0x162eea(0x2e3),_0x281ada[_0x281ada[_0x162eea(0x43c)]=0x1771]=_0x162eea(0x43c),_0x281ada[_0x281ada['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x162eea(0x2e0),_0x281ada[_0x281ada[_0x162eea(0x1fe)]=0x1773]=_0x162eea(0x1fe),_0x281ada[_0x281ada[_0x162eea(0x409)]=0x1b59]='APPLY_REJECT',_0x281ada[_0x281ada[_0x162eea(0x44e)]=0x1b5a]=_0x162eea(0x44e),_0x281ada[_0x281ada[_0x162eea(0x422)]=0x1b5b]=_0x162eea(0x422),_0x281ada[_0x281ada[_0x162eea(0x214)]=0x1b5c]=_0x162eea(0x214),_0x281ada[_0x281ada[_0x162eea(0x21d)]=0x1b5d]=_0x162eea(0x21d),_0x281ada[_0x281ada[_0x162eea(0x499)]=0x1f41]=_0x162eea(0x499),_0x281ada[_0x281ada[_0x162eea(0x496)]=0x2329]=_0x162eea(0x496),_0x281ada[_0x281ada[_0x162eea(0x490)]=0x232a]=_0x162eea(0x490),_0x281ada[_0x281ada[_0x162eea(0x1e8)]=0x232b]=_0x162eea(0x1e8),_0x281ada[_0x281ada[_0x162eea(0x471)]=0x232c]=_0x162eea(0x471),_0x281ada[_0x281ada[_0x162eea(0x3cb)]=0x232d]=_0x162eea(0x3cb),_0x281ada[_0x281ada[_0x162eea(0x293)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x281ada[_0x281ada['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x162eea(0x229),_0x281ada[_0x281ada[_0x162eea(0x43a)]=0x2713]=_0x162eea(0x43a),_0x281ada[_0x281ada['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x281ada[_0x281ada[_0x162eea(0x3ae)]=0x271a]=_0x162eea(0x3ae),_0x281ada[_0x281ada[_0x162eea(0x2b8)]=0x271b]=_0x162eea(0x2b8),_0x281ada[_0x281ada[_0x162eea(0x420)]=0x2af9]=_0x162eea(0x420),_0x281ada[_0x281ada[_0x162eea(0x4e5)]=0x2ee1]=_0x162eea(0x4e5),_0x281ada[_0x281ada['INVALID_INVITE_CODE']=0x2ee2]=_0x162eea(0x461),_0x281ada[_0x281ada[_0x162eea(0x30e)]=0x2ee3]=_0x162eea(0x30e),_0x281ada[_0x281ada[_0x162eea(0x3bf)]=0x2ee4]=_0x162eea(0x3bf),_0x281ada[_0x281ada[_0x162eea(0x1e4)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x281ada[_0x281ada[_0x162eea(0x519)]=0x32c9]=_0x162eea(0x519),_0x281ada[_0x281ada[_0x162eea(0x488)]=0x32ca]=_0x162eea(0x488),_0x281ada[_0x281ada[_0x162eea(0x4b2)]=0x32cb]=_0x162eea(0x4b2),_0x281ada[_0x281ada[_0x162eea(0x42f)]=-0x1]=_0x162eea(0x42f),_0x281ada))(Ct||{}),X=(_0x44f5aa=>(_0x44f5aa[_0x44f5aa[_0x162eea(0x33b)]=0x0]=_0x162eea(0x33b),_0x44f5aa[_0x44f5aa[_0x162eea(0x351)]=0x1]='UNIVER_DOC',_0x44f5aa[_0x44f5aa[_0x162eea(0x1f7)]=0x2]=_0x162eea(0x1f7),_0x44f5aa[_0x44f5aa[_0x162eea(0x264)]=0x3]=_0x162eea(0x264),_0x44f5aa[_0x44f5aa['UNIVER_PROJECT']=0x4]=_0x162eea(0x475),_0x44f5aa[_0x44f5aa['UNRECOGNIZED']=-0x1]=_0x162eea(0x42f),_0x44f5aa))(X||{}),W=(_0x25db69=>(_0x25db69[_0x25db69[_0x162eea(0x39c)]=0x0]=_0x162eea(0x39c),_0x25db69[_0x25db69[_0x162eea(0x43f)]=0x1]=_0x162eea(0x43f),_0x25db69[_0x25db69[_0x162eea(0x498)]=0x2]='JOIN',_0x25db69[_0x25db69[_0x162eea(0x29f)]=0x3]=_0x162eea(0x29f),_0x25db69[_0x25db69[_0x162eea(0x484)]=0x4]='INGEST',_0x25db69[_0x25db69[_0x162eea(0x4fa)]=0x5]='HEARTBEAT',_0x25db69[_0x25db69['RECV']=0x6]=_0x162eea(0x3bc),_0x25db69[_0x25db69['UNRECOGNIZED']=-0x1]=_0x162eea(0x42f),_0x25db69))(W||{}),ae=(_0x29b71b=>(_0x29b71b[_0x29b71b[_0x162eea(0x46b)]=0x0]='UNKNOWN_CODE',_0x29b71b[_0x29b71b['OK']=0x1]='OK',_0x29b71b[_0x29b71b['FAIL']=0x2]='FAIL',_0x29b71b[_0x29b71b[_0x162eea(0x3ab)]=0x3e9]=_0x162eea(0x3ab),_0x29b71b[_0x29b71b[_0x162eea(0x1d2)]=0x3ea]=_0x162eea(0x1d2),_0x29b71b[_0x29b71b[_0x162eea(0x4b9)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x29b71b[_0x29b71b['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x162eea(0x267),_0x29b71b[_0x29b71b[_0x162eea(0x42f)]=-0x1]=_0x162eea(0x42f),_0x29b71b))(ae||{}),Tt=(_0x52885d=>(_0x52885d[_0x52885d[_0x162eea(0x378)]=0x0]=_0x162eea(0x378),_0x52885d[_0x52885d[_0x162eea(0x3ed)]=0x1]='HttpImport',_0x52885d[_0x52885d[_0x162eea(0x2a3)]=0x2]=_0x162eea(0x2a3),_0x52885d[_0x52885d[_0x162eea(0x4bd)]=0x3]='UnitEmbedded',_0x52885d[_0x52885d[_0x162eea(0x240)]=0x4]='UnitSnapshot',_0x52885d[_0x52885d[_0x162eea(0x37e)]=0x5]=_0x162eea(0x37e),_0x52885d[_0x52885d[_0x162eea(0x42f)]=-0x1]=_0x162eea(0x42f),_0x52885d))(Tt||{});const Y=_0x162eea(0x1b9),Jt={};var Q=(_0x13009b=>(_0x13009b[_0x162eea(0x518)]=_0x162eea(0x518),_0x13009b['PERMISSION_DENIED']=_0x162eea(0x2d7),_0x13009b[_0x162eea(0x1b5)]='CONFLICT',_0x13009b[_0x162eea(0x52f)]='CLOSE_ROOM',_0x13009b[_0x162eea(0x30b)]=_0x162eea(0x30b),_0x13009b[_0x162eea(0x3eb)]='SOCKET_FAILED_RETRY',_0x13009b[_0x162eea(0x49f)]=_0x162eea(0x49f),_0x13009b[_0x162eea(0x3c1)]=_0x162eea(0x3c1),_0x13009b))(Q||{});class te{constructor(){var _0x5ebf57=_0x162eea;A(this,_0x5ebf57(0x2f3),new j[(_0x5ebf57(0x506))]()),A(this,'event$',this[_0x5ebf57(0x2f3)]['asObservable']());}[_0x162eea(0x250)](_0x34fbff){var _0x472765=_0x162eea;this[_0x472765(0x2f3)][_0x472765(0x263)](_0x34fbff);}}const bt=a[_0x162eea(0x259)](_0x162eea(0x398));function Rt(_0x45b6cf){var _0x492795=_0x162eea,_0x136ea2,_0xe7f363,_0x2008ee,_0x5045f1,_0x54935a;const _0xd93291=_0x45b6cf[_0x492795(0x23d)],_0x57d8d5=JSON[_0x492795(0x2e7)](_0xd93291);switch(_0x57d8d5['cmd']){case W[_0x492795(0x4fa)]:case W[_0x492795(0x43f)]:{const _0x38d8bf=_0x57d8d5[_0x492795(0x305)];return{..._0x57d8d5,'data':_0x38d8bf,'cmd':_0x57d8d5[_0x492795(0x31c)]};}case W[_0x492795(0x498)]:{const _0x89d5f5=_0x57d8d5['joinRsp'];return{..._0x57d8d5,'data':_0x89d5f5,'cmd':_0x57d8d5[_0x492795(0x31c)]};}case W[_0x492795(0x3bc)]:{const _0x1c1213=_0x57d8d5[_0x492795(0x2fa)];switch(_0x1c1213[_0x492795(0x480)]){case g['CollaborationEvent'][_0x492795(0x48a)]:return{..._0x57d8d5,'data':{..._0x1c1213,'data':(_0x136ea2=_0x1c1213[_0x492795(0x45d)])==null?void 0x0:_0x136ea2['cs']},'cmd':_0x57d8d5[_0x492795(0x31c)]};case g['CollaborationEvent'][_0x492795(0x24b)]:return{..._0x57d8d5,'data':{..._0x1c1213,'data':(_0xe7f363=_0x1c1213[_0x492795(0x51a)])==null?void 0x0:_0xe7f363['cs']},'cmd':_0x57d8d5[_0x492795(0x31c)]};case g[_0x492795(0x4c4)]['NEW_CHANGESETS']:return{..._0x57d8d5,'data':{..._0x1c1213,'data':(_0x2008ee=_0x1c1213[_0x492795(0x29e)])==null?void 0x0:_0x2008ee['cs']},'cmd':_0x57d8d5[_0x492795(0x31c)]};case g['CollaborationEvent']['CHANGESET_REJ']:return{..._0x57d8d5,'data':{..._0x1c1213,'data':(_0x5045f1=_0x1c1213[_0x492795(0x44b)])==null?void 0x0:_0x5045f1['cs']},'cmd':_0x57d8d5[_0x492795(0x31c)]};case g[_0x492795(0x4c4)][_0x492795(0x4e8)]:return{..._0x57d8d5,'data':{..._0x1c1213,'data':(_0x54935a=_0x1c1213['csShouldRetryEvent'])==null?void 0x0:_0x54935a['cs']},'cmd':_0x57d8d5['cmd']};case g[_0x492795(0x4c4)]['UPDATE_CURSOR']:return{..._0x57d8d5,'data':{..._0x1c1213,'data':_0x1c1213[_0x492795(0x3e6)]},'cmd':_0x57d8d5[_0x492795(0x31c)]};case g['CollaborationEvent'][_0x492795(0x38a)]:return{..._0x57d8d5,'data':{..._0x1c1213,'data':_0x1c1213['joinEvent']},'cmd':_0x57d8d5[_0x492795(0x31c)]};case g[_0x492795(0x4c4)][_0x492795(0x2b7)]:return{..._0x57d8d5,'data':{..._0x1c1213,'data':_0x1c1213[_0x492795(0x3f1)]},'cmd':_0x57d8d5[_0x492795(0x31c)]};case g[_0x492795(0x4c4)]['LIVESHARE_NEW_HOST']:return{..._0x57d8d5,'data':{..._0x1c1213,'data':_0x1c1213[_0x492795(0x455)]},'cmd':_0x57d8d5[_0x492795(0x31c)]};case g[_0x492795(0x4c4)][_0x492795(0x225)]:case g[_0x492795(0x4c4)][_0x492795(0x4eb)]:return{..._0x57d8d5,'data':{..._0x1c1213,'data':_0x1c1213[_0x492795(0x2b3)]},'cmd':_0x57d8d5[_0x492795(0x31c)]};case g['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x57d8d5,'data':{..._0x1c1213,'data':_0x1c1213[_0x492795(0x455)]},'cmd':_0x57d8d5[_0x492795(0x31c)]};case g[_0x492795(0x4c4)][_0x492795(0x3ec)]:return{..._0x57d8d5,'data':_0x1c1213,'cmd':_0x57d8d5[_0x492795(0x31c)]};case g[_0x492795(0x4c4)]['COMMENT_UPDATE']:return{..._0x57d8d5,'data':{..._0x1c1213,'data':_0x1c1213['commentUpdateEvent']},'cmd':_0x57d8d5[_0x492795(0x31c)]};case g[_0x492795(0x4c4)][_0x492795(0x429)]:return{..._0x57d8d5,'data':{..._0x1c1213,'data':_0x1c1213['updatePermissionObjEvent']},'cmd':_0x57d8d5[_0x492795(0x31c)]};case g['CollaborationEvent'][_0x492795(0x348)]:return{..._0x57d8d5,'data':{..._0x1c1213,'data':_0x1c1213[_0x492795(0x4c7)]},'cmd':_0x57d8d5[_0x492795(0x31c)]};case g['CollaborationEvent'][_0x492795(0x393)]:return{..._0x57d8d5,'data':{..._0x1c1213,'data':_0x1c1213['uniscriptRunEvent']},'cmd':_0x57d8d5[_0x492795(0x31c)]};default:return _0x57d8d5;}}default:return _0x57d8d5;}}function Ot(_0x460e8a){var _0x3b2a1a=_0x162eea;switch(_0x460e8a[_0x3b2a1a(0x31c)]){case W['HEARTBEAT']:case W[_0x3b2a1a(0x43f)]:return JSON[_0x3b2a1a(0x218)]({'cmd':_0x460e8a[_0x3b2a1a(0x31c)],'routeKey':_0x460e8a[_0x3b2a1a(0x35e)]});case W[_0x3b2a1a(0x484)]:{let _0x250225;switch(_0x460e8a[_0x3b2a1a(0x23d)][_0x3b2a1a(0x480)]){case g[_0x3b2a1a(0x4c4)][_0x3b2a1a(0x299)]:{_0x250225={'eventID':g[_0x3b2a1a(0x4c4)]['UPDATE_CURSOR'],'updateCursorEvent':_0x460e8a[_0x3b2a1a(0x23d)]['data']};break;}case g[_0x3b2a1a(0x4c4)][_0x3b2a1a(0x2b7)]:{_0x250225={'eventID':g['CollaborationEvent'][_0x3b2a1a(0x2b7)],'leaveEvent':_0x460e8a[_0x3b2a1a(0x23d)][_0x3b2a1a(0x23d)]};break;}case g['CollaborationEvent']['USERS_ENTER']:{_0x250225={'eventID':g[_0x3b2a1a(0x4c4)]['USERS_ENTER'],'joinEvent':_0x460e8a[_0x3b2a1a(0x23d)][_0x3b2a1a(0x23d)]};break;}case g[_0x3b2a1a(0x4c4)][_0x3b2a1a(0x1b1)]:{_0x250225={'eventID':g[_0x3b2a1a(0x4c4)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x460e8a['data'][_0x3b2a1a(0x23d)]};break;}case g[_0x3b2a1a(0x4c4)]['LIVESHARE_OPERATION']:{_0x250225={'eventID':g[_0x3b2a1a(0x4c4)][_0x3b2a1a(0x4eb)],'liveShareOperation':_0x460e8a[_0x3b2a1a(0x23d)][_0x3b2a1a(0x23d)]};break;}case g['CollaborationEvent'][_0x3b2a1a(0x20b)]:{_0x250225={'eventID':g['CollaborationEvent'][_0x3b2a1a(0x20b)],'liveShareTerminate':_0x460e8a[_0x3b2a1a(0x23d)][_0x3b2a1a(0x23d)]};break;}case g[_0x3b2a1a(0x4c4)][_0x3b2a1a(0x338)]:{_0x250225={'eventID':g[_0x3b2a1a(0x4c4)][_0x3b2a1a(0x338)],'liveShareRequestHost':_0x460e8a[_0x3b2a1a(0x23d)][_0x3b2a1a(0x23d)]};break;}case g[_0x3b2a1a(0x4c4)][_0x3b2a1a(0x225)]:{_0x250225={'eventID':g[_0x3b2a1a(0x4c4)][_0x3b2a1a(0x225)]};break;}default:_0x250225={'eventID':_0x460e8a[_0x3b2a1a(0x23d)][_0x3b2a1a(0x480)]};}return JSON[_0x3b2a1a(0x218)]({'cmd':_0x460e8a[_0x3b2a1a(0x31c)],'routeKey':_0x460e8a['routeKey'],'collaMsg':_0x250225});}case W[_0x3b2a1a(0x498)]:return JSON[_0x3b2a1a(0x218)]({'cmd':_0x460e8a['cmd'],'routeKey':_0x460e8a[_0x3b2a1a(0x35e)],'joinReq':_0x460e8a[_0x3b2a1a(0x23d)]});case W[_0x3b2a1a(0x29f)]:return JSON[_0x3b2a1a(0x218)]({'cmd':_0x460e8a['cmd'],'routeKey':_0x460e8a[_0x3b2a1a(0x35e)],'leaveReq':_0x460e8a[_0x3b2a1a(0x23d)]});default:throw new Error(_0x3b2a1a(0x4e9));}}var Xt=Object[_0x162eea(0x4db)],Zt=(_0x1a4d2f,_0x4d2307,_0x29a6a8,_0xe8cb34)=>{var _0x5a4ed2=_0x162eea;for(var _0x1fc74c=_0xe8cb34>0x1?void 0x0:_0xe8cb34?Xt(_0x4d2307,_0x29a6a8):_0x4d2307,_0x40918f=_0x1a4d2f[_0x5a4ed2(0x359)]-0x1,_0x51a9a9;_0x40918f>=0x0;_0x40918f--)(_0x51a9a9=_0x1a4d2f[_0x40918f])&&(_0x1fc74c=_0x51a9a9(_0x1fc74c)||_0x1fc74c);return _0x1fc74c;},le=(_0x52220a,_0xbcc285)=>(_0x499fbf,_0x3474e0)=>_0xbcc285(_0x499fbf,_0x3474e0,_0x52220a);const $e=a[_0x162eea(0x259)](_0x162eea(0x4da));function Qt(_0x20f603,_0x2ee27b,_0x125dde){var _0x5dbc25=_0x162eea;return _0x20f603+'/'+_0x2ee27b+_0x5dbc25(0x4a4)+_0x125dde+'/new_changes';}exports[_0x162eea(0x427)]=class extends a[_0x162eea(0x3bb)]{constructor(_0x4e44fe,_0x4a56bb,_0x597c53,_0x4a3796,_0x28c8e0){var _0xb079a0=_0x162eea;super(),this[_0xb079a0(0x36f)]=_0x4e44fe,this[_0xb079a0(0x51c)]=_0x4a56bb,this[_0xb079a0(0x294)]=_0x597c53,this[_0xb079a0(0x2ee)]=_0x4a3796,this[_0xb079a0(0x2a9)]=_0x28c8e0;}['_doCreateSocket'](_0x24b1b9){var _0x2c2dca=_0x162eea;const _0x241dfc=this['_injector'][_0x2c2dca(0x2a8)](q[_0x2c2dca(0x4c2)]);if(!_0x241dfc)throw new Error(_0x2c2dca(0x282));const _0x536841=_0x241dfc[_0x2c2dca(0x1cc)](_0x24b1b9);if(!_0x536841)throw new Error(_0x2c2dca(0x336));const _0x37dcb1=new a[(_0x2c2dca(0x213))](),_0xa37224=new j[(_0x2c2dca(0x506))]();_0x37dcb1[_0x2c2dca(0x50c)](_0x536841[_0x2c2dca(0x247)][_0x2c2dca(0x352)](_0x3afe7b=>_0xa37224['next'](_0x3afe7b))),_0x37dcb1[_0x2c2dca(0x50c)](a[_0x2c2dca(0x4f3)](()=>_0xa37224[_0x2c2dca(0x3fc)]()));const _0x476d4d=new j[(_0x2c2dca(0x506))]();_0x37dcb1[_0x2c2dca(0x50c)](_0x536841[_0x2c2dca(0x365)]['subscribe'](_0x4478f9=>_0x476d4d['next'](_0x4478f9))),_0x37dcb1[_0x2c2dca(0x50c)](a[_0x2c2dca(0x4f3)](()=>_0x476d4d['complete']()));const _0x45fca8=new j[(_0x2c2dca(0x506))]();_0x37dcb1[_0x2c2dca(0x50c)](_0x536841[_0x2c2dca(0x2c8)][_0x2c2dca(0x352)](_0x5092a7=>{var _0x39cb0a=_0x2c2dca;const _0x1e8a9b=Rt(_0x5092a7);_0x45fca8[_0x39cb0a(0x263)](_0x1e8a9b);})),_0x37dcb1['add'](a[_0x2c2dca(0x4f3)](()=>_0x45fca8['complete']()));let _0x9d3b90;const _0x12be48=()=>{var _0x54698e=_0x2c2dca;_0x476d4d[_0x54698e(0x263)](new Event('connection\x20error')),_0xa37224['next'](new Event(_0x54698e(0x2fc))),_0x9d3b90[_0x54698e(0x341)]();};return _0x9d3b90={'memberID':'','close$':_0xa37224[_0x2c2dca(0x521)](),'error$':_0x476d4d[_0x2c2dca(0x521)](),'open$':_0x536841['open$'],'message$':_0x45fca8[_0x2c2dca(0x521)](),'send':_0x92c5e8=>{var _0x74895b=_0x2c2dca;if(_0x92c5e8[_0x74895b(0x31c)]===W[_0x74895b(0x484)]){if(_0x92c5e8[_0x74895b(0x23d)][_0x74895b(0x480)]===g[_0x74895b(0x4c4)][_0x74895b(0x370)]){this[_0x74895b(0x51b)](_0x9d3b90,_0x92c5e8[_0x74895b(0x23d)])[_0x74895b(0x24e)](_0x3457df=>{var _0x205675=_0x74895b;this[_0x205675(0x2ee)][_0x205675(0x389)](_0x3457df),_0x12be48();});return;}if(_0x92c5e8[_0x74895b(0x23d)]['eventID']===g[_0x74895b(0x4c4)]['FETCH_MISSING']){const _0x3c2a02=_0x92c5e8[_0x74895b(0x23d)];this['_fetchMissChangesets'](_0x3c2a02)[_0x74895b(0x23b)](_0x1def2b=>{var _0x34e1b6=_0x74895b;_0x45fca8[_0x34e1b6(0x263)]({'cmd':W[_0x34e1b6(0x3bc)],'code':ae['OK'],'routeKey':_0x3c2a02[_0x34e1b6(0x23d)]['unitID'],'routeType':'','data':{'eventID':g[_0x34e1b6(0x4c4)][_0x34e1b6(0x527)],'data':{'changesets':_0x1def2b}}});})[_0x74895b(0x24e)](_0x4cfbba=>{var _0x5c6133=_0x74895b;this['_logService'][_0x5c6133(0x389)](_0x4cfbba),_0x12be48();});return;}}_0x536841[_0x74895b(0x303)](Ot(_0x92c5e8));},'close':()=>{var _0x19b6ff=_0x2c2dca;_0x536841[_0x19b6ff(0x341)](),_0x37dcb1['dispose']();}},_0x9d3b90;}async[_0x162eea(0x51b)](_0x3c8588,_0x3f1c6c){var _0x919c93=_0x162eea,_0x42ef71,_0x3c4b5f;const {unitType:_0x3a09d5,unitID:_0x4710e0,changeset:_0x35ae90}=_0x3f1c6c[_0x919c93(0x23d)],_0x1fa8f2={'unitID':_0x4710e0,'memberID':_0x3c8588[_0x919c93(0x454)],'type':_0x3a09d5,'changeset':g[_0x919c93(0x2a0)](_0x35ae90)},_0x308876=this[_0x919c93(0x294)][_0x919c93(0x49d)](mt),_0x3941a7=this[_0x919c93(0x294)][_0x919c93(0x49d)](Y),_0x2bff6a=Qt((_0x3c4b5f=(_0x42ef71=_0x3941a7==null?void 0x0:_0x3941a7['collabSubmitChangesetUrl'])!=null?_0x42ef71:_0x308876)!=null?_0x3c4b5f:Kt,_0x3a09d5,_0x4710e0);try{await this[_0x919c93(0x51c)]['post'](_0x2bff6a,{'body':_0x1fa8f2});}catch(_0xac1339){throw this[_0x919c93(0x2ee)][_0x919c93(0x389)](_0x919c93(0x1e0),_0x919c93(0x4f5)),_0xac1339;}}async[_0x162eea(0x3c2)](_0x4a8244){var _0x5d31d0=_0x162eea;const {unitID:_0x1b353b,from:_0x26d637,to:_0x3d8d59,unitType:_0x52b325}=_0x4a8244['data'];return(await this[_0x5d31d0(0x2a9)][_0x5d31d0(0x501)]({'metadata':void 0x0},{'unitID':_0x1b353b,'type':_0x52b325,'from':_0x26d637,'to':_0x3d8d59}))[_0x5d31d0(0x232)];}},exports['CollaborationSocketService']=Zt([le(0x0,a[_0x162eea(0x1ec)](a[_0x162eea(0x3c3)])),le(0x1,a[_0x162eea(0x1ec)](q[_0x162eea(0x3ce)])),le(0x2,a[_0x162eea(0x4a1)]),le(0x3,a['ILogService']),le(0x4,g[_0x162eea(0x329)])],exports['CollaborationSocketService']);const ei=_0x162eea(0x366);function ti(_0x46cab9){var _0x44dcdb=_0x162eea;return JSON['stringify'](_0x46cab9)[_0x44dcdb(0x359)];}class Be{constructor(){var _0x103b57=_0x162eea;A(this,'_commentUpdate$',new j[(_0x103b57(0x506))]()),A(this,_0x103b57(0x363),this[_0x103b57(0x522)][_0x103b57(0x521)]());}['onCommentUpdate'](_0x155694){var _0x20f536=_0x162eea;this[_0x20f536(0x522)]['next'](_0x155694);}}var ii=Object[_0x162eea(0x4db)],ni=(_0x48e127,_0x1fc3f2,_0x369cd6,_0x235497)=>{for(var _0xd043c0=_0x235497>0x1?void 0x0:_0x235497?ii(_0x1fc3f2,_0x369cd6):_0x1fc3f2,_0x285e60=_0x48e127['length']-0x1,_0x1e5a50;_0x285e60>=0x0;_0x285e60--)(_0x1e5a50=_0x48e127[_0x285e60])&&(_0xd043c0=_0x1e5a50(_0xd043c0)||_0xd043c0);return _0xd043c0;},Ke=(_0x13a501,_0xcd1f5a)=>(_0x4a1882,_0x1a89a1)=>_0xcd1f5a(_0x4a1882,_0x1a89a1,_0x13a501);exports[_0x162eea(0x445)]=class extends a['Disposable']{constructor(_0x2b8ec4,_0x337a41){var _0x2dc35b=_0x162eea;super(),A(this,_0x2dc35b(0x1ca),new Map()),A(this,_0x2dc35b(0x440),new j['Subject']()),(this[_0x2dc35b(0x3c9)]=_0x2b8ec4,this[_0x2dc35b(0x513)]=_0x337a41,this[_0x2dc35b(0x1f2)](j['merge'](this[_0x2dc35b(0x3c9)][_0x2dc35b(0x321)](a[_0x2dc35b(0x354)][_0x2dc35b(0x1f7)])[_0x2dc35b(0x35d)](V[_0x2dc35b(0x320)](_0x4ea33a=>_0x4ea33a[_0x2dc35b(0x3f8)]())),this[_0x2dc35b(0x3c9)]['getTypeOfUnitDisposed$'](a[_0x2dc35b(0x354)][_0x2dc35b(0x351)])[_0x2dc35b(0x35d)](V[_0x2dc35b(0x320)](_0x20e64c=>_0x20e64c['getUnitId']())),this['_univerInstanceService'][_0x2dc35b(0x321)](a[_0x2dc35b(0x354)]['UNIVER_SLIDE'])[_0x2dc35b(0x35d)](V['map'](_0x11f6a4=>_0x11f6a4[_0x2dc35b(0x3f8)]())))[_0x2dc35b(0x352)](_0x584b2a=>this[_0x2dc35b(0x1ba)](_0x584b2a))));}[_0x162eea(0x386)](_0x185ba7){var _0x3e46d4=_0x162eea;return this[_0x3e46d4(0x1ca)][_0x3e46d4(0x3d4)](_0x185ba7)?j['of'](this[_0x3e46d4(0x1ca)][_0x3e46d4(0x2a8)](_0x185ba7)):this['_roomCreated$']['pipe'](V['map'](_0x385531=>{var _0x343c9d=_0x3e46d4;if(_0x385531===_0x185ba7)return this['_roomMembers'][_0x343c9d(0x2a8)](_0x385531);}));}['setCurrentUser'](_0x3052ba){var _0x227279=_0x162eea;this[_0x227279(0x513)]['setCurrentUser'](_0x3052ba);}[_0x162eea(0x21e)](){var _0x4b2914=_0x162eea;return this['_userManagerService'][_0x4b2914(0x21e)]();}[_0x162eea(0x4b7)](_0x2b150d,_0x5eb5e1){var _0x50cbbb=_0x162eea;let _0x2f2972=this['_roomMembers'][_0x50cbbb(0x2a8)](_0x2b150d);_0x2f2972||(_0x2f2972=new ri(),this[_0x50cbbb(0x1ca)]['set'](_0x2b150d,_0x2f2972),this['_roomCreated$'][_0x50cbbb(0x263)](_0x2b150d)),_0x2f2972[_0x50cbbb(0x4b7)](_0x5eb5e1);}[_0x162eea(0x3d9)](_0x2a1d2f,_0x4e8833){var _0x551dc3=_0x162eea;const _0x2bac87=this[_0x551dc3(0x1ca)]['get'](_0x2a1d2f);_0x2bac87&&_0x2bac87[_0x551dc3(0x3d9)](_0x4e8833);}['getRoom'](_0xe742a3){var _0x175227=_0x162eea;return this[_0x175227(0x1ca)]['get'](_0xe742a3);}[_0x162eea(0x258)](_0x5b02ed,_0x43b27c){var _0x87d124=_0x162eea;const _0x2e8856=this[_0x87d124(0x1ca)]['get'](_0x5b02ed);if(_0x2e8856)return _0x2e8856[_0x87d124(0x258)](_0x43b27c);}[_0x162eea(0x1ba)](_0x411d28){var _0x5b65a6=_0x162eea;const _0x585c92=this[_0x5b65a6(0x1ca)]['get'](_0x411d28);_0x585c92&&(_0x585c92[_0x5b65a6(0x3aa)](),this['_roomMembers'][_0x5b65a6(0x22b)](_0x411d28));}['dispose'](){var _0x547b71=_0x162eea;this[_0x547b71(0x1ca)]['forEach'](_0x135b3f=>_0x135b3f['dispose']()),this['_roomMembers']['clear'](),this[_0x547b71(0x440)]['complete']();}},exports['MemberService']=ni([Ke(0x0,a[_0x162eea(0x27c)]),Ke(0x1,a[_0x162eea(0x1ec)](a[_0x162eea(0x358)]))],exports[_0x162eea(0x445)]);class ri extends a['Disposable']{constructor(){var _0xc85e0=_0x162eea;super(...arguments),A(this,_0xc85e0(0x1da),new Map()),A(this,_0xc85e0(0x421),new j[(_0xc85e0(0x52d))](this[_0xc85e0(0x1da)])),A(this,_0xc85e0(0x448),this[_0xc85e0(0x421)][_0xc85e0(0x521)]());}[_0x162eea(0x3aa)](){var _0x35554b=_0x162eea;this[_0x35554b(0x1da)]['clear']();}[_0x162eea(0x4b7)](_0x5aa3dd){var _0x3d612d=_0x162eea;this[_0x3d612d(0x1da)]['set'](_0x5aa3dd[_0x3d612d(0x454)],_0x5aa3dd),this[_0x3d612d(0x342)]();}['removeMember'](_0x358a6b){var _0x5d6537=_0x162eea;this[_0x5d6537(0x1da)][_0x5d6537(0x22b)](_0x358a6b);}[_0x162eea(0x258)](_0x501018){var _0x130e4a=_0x162eea;return this[_0x130e4a(0x1da)][_0x130e4a(0x2a8)](_0x501018);}['getAllMembers'](){var _0x556cd3=_0x162eea;return Array[_0x556cd3(0x276)](this[_0x556cd3(0x1da)]['values']());}[_0x162eea(0x342)](){var _0x334741=_0x162eea;this['_members$'][_0x334741(0x263)](this[_0x334741(0x1da)]);}}var si=Object[_0x162eea(0x4db)],oi=(_0x527751,_0x21a490,_0x507ddd,_0x4ec65c)=>{var _0x27fa31=_0x162eea;for(var _0x1b78d1=_0x4ec65c>0x1?void 0x0:_0x4ec65c?si(_0x21a490,_0x507ddd):_0x21a490,_0x1706d7=_0x527751[_0x27fa31(0x359)]-0x1,_0x2bf194;_0x1706d7>=0x0;_0x1706d7--)(_0x2bf194=_0x527751[_0x1706d7])&&(_0x1b78d1=_0x2bf194(_0x1b78d1)||_0x1b78d1);return _0x1b78d1;},oe=(_0x49c320,_0xb8bbef)=>(_0x5ecd07,_0x3aa070)=>_0xb8bbef(_0x5ecd07,_0x3aa070,_0x49c320),se=(_0x2c2e82=>(_0x2c2e82[_0x2c2e82[_0x162eea(0x435)]=0x0]=_0x162eea(0x435),_0x2c2e82[_0x2c2e82[_0x162eea(0x289)]=0x1]=_0x162eea(0x289),_0x2c2e82[_0x2c2e82[_0x162eea(0x3c0)]=0x2]=_0x162eea(0x3c0),_0x2c2e82[_0x2c2e82[_0x162eea(0x3e2)]=0x3]=_0x162eea(0x3e2),_0x2c2e82))(se||{});const Ye={[ae[_0x162eea(0x1c9)]]:_0x162eea(0x4ff),[ae[_0x162eea(0x3ab)]]:_0x162eea(0x3c7),[ae['JOIN_ROOM_NOT_EXISTS']]:_0x162eea(0x2cc),[ae[_0x162eea(0x4b9)]]:_0x162eea(0x27f),[ae[_0x162eea(0x267)]]:_0x162eea(0x45b)};exports[_0x162eea(0x3e5)]=class extends a[_0x162eea(0x1d9)]{constructor(_0x3376eb,_0x30bdf5,_0x26b9b2,_0x44ccdd,_0xc5815d,_0x53ca3d,_0xb1c1a5,_0x6552b,_0x286fab){var _0x54d851=_0x162eea;super(),A(this,_0x54d851(0x493),new j[(_0x54d851(0x52d))](0x0)),A(this,_0x54d851(0x4d8),this[_0x54d851(0x493)][_0x54d851(0x521)]()),A(this,_0x54d851(0x2f3),new j[(_0x54d851(0x506))]()),A(this,'event$',this[_0x54d851(0x2f3)]['asObservable']()),A(this,_0x54d851(0x367)),A(this,_0x54d851(0x228)),A(this,_0x54d851(0x29b)),A(this,_0x54d851(0x23f),!0x1),A(this,'_telemetryInfo',null),(this[_0x54d851(0x4e4)]=_0x3376eb,this['_logService']=_0x26b9b2,this[_0x54d851(0x294)]=_0x44ccdd,this[_0x54d851(0x34e)]=_0xc5815d,this[_0x54d851(0x4f1)]=_0x53ca3d,this[_0x54d851(0x2aa)]=_0xb1c1a5,this['_collaborationUIEventService']=_0x6552b,this[_0x54d851(0x3ac)]=_0x286fab,this['_shouldReportTelemetry']=!!this[_0x54d851(0x3ac)],_0x30bdf5['pipe'](j[_0x54d851(0x2ff)](this['dispose$']))['subscribe'](_0x2888b5=>{var _0x1d7e12=_0x54d851,_0x26a1a3;typeof _0x2888b5>'u'||(this['_socket']=_0x2888b5,_0x2888b5?(this[_0x1d7e12(0x417)](_0x2888b5),this[_0x1d7e12(0x228)]=_0x2888b5[_0x1d7e12(0x2c8)][_0x1d7e12(0x352)](_0xb6b5e2=>{var _0x4906f8=_0x1d7e12;_0xb6b5e2[_0x4906f8(0x35e)]===this['_unitID']&&this['_onCombEvent'](_0xb6b5e2);})):(this[_0x1d7e12(0x245)](),this[_0x1d7e12(0x493)][_0x1d7e12(0x263)](0x2),(_0x26a1a3=this['_socketMessageSubscription'])==null||_0x26a1a3[_0x1d7e12(0x2c7)](),this[_0x1d7e12(0x228)]=null));}));}get[_0x162eea(0x371)](){var _0x561c88=_0x162eea;return this[_0x561c88(0x493)][_0x561c88(0x244)]();}[_0x162eea(0x1bf)](){var _0x2e183c=_0x162eea,_0x590c5b,_0x17f2b1;return(_0x17f2b1=(_0x590c5b=this[_0x2e183c(0x367)])==null?void 0x0:_0x590c5b[_0x2e183c(0x454)])!=null?_0x17f2b1:null;}[_0x162eea(0x3aa)](){var _0x295f20=_0x162eea;super[_0x295f20(0x3aa)](),this[_0x295f20(0x400)][_0x295f20(0x263)](),this[_0x295f20(0x400)][_0x295f20(0x3fc)]();}[_0x162eea(0x341)](){var _0x6e63fa=_0x162eea,_0x57bfef,_0x56904b;this[_0x6e63fa(0x245)](),(_0x57bfef=this[_0x6e63fa(0x367)])==null||_0x57bfef[_0x6e63fa(0x303)]({'cmd':W[_0x6e63fa(0x29f)],'data':{'roomID':this['_unitID']}}),(_0x56904b=this['_socket'])==null||_0x56904b[_0x6e63fa(0x341)](),this['_event$'][_0x6e63fa(0x3fc)](),this[_0x6e63fa(0x493)][_0x6e63fa(0x3fc)](),this[_0x6e63fa(0x3aa)]();}[_0x162eea(0x230)](_0x496c3b){var _0xb6dfda=_0x162eea;_0x496c3b[_0xb6dfda(0x31c)]===W[_0xb6dfda(0x498)]?this[_0xb6dfda(0x32c)](_0x496c3b):_0x496c3b[_0xb6dfda(0x31c)]===W[_0xb6dfda(0x3bc)]&&this[_0xb6dfda(0x2b9)](_0x496c3b);}[_0x162eea(0x417)](_0x2a1439){var _0x851248=_0x162eea;this[_0x851248(0x493)][_0x851248(0x263)](0x1),_0x2a1439[_0x851248(0x303)]({'cmd':W[_0x851248(0x498)],'routeKey':this[_0x851248(0x4e4)],'routeType':'','data':{'rooms':[{'roomID':this[_0x851248(0x4e4)]}]}});}[_0x162eea(0x32c)](_0x2de435){var _0x681260=_0x162eea,_0x5b863a;if(_0x2de435['code']in Ye){this[_0x681260(0x41b)][_0x681260(0x250)]({'id':Q['JOIN_ROOM_FAILED'],'data':Ye[_0x2de435[_0x681260(0x3f3)]]}),this[_0x681260(0x493)][_0x681260(0x263)](0x2);return;}this[_0x681260(0x493)][_0x681260(0x263)](0x3);const _0x15bd75=(_0x5b863a=_0x2de435[_0x681260(0x23d)][_0x681260(0x419)][this[_0x681260(0x4e4)]])==null?void 0x0:_0x5b863a['members'];_0x15bd75&&_0x15bd75[_0x681260(0x290)](_0xae2037=>this[_0x681260(0x4f1)][_0x681260(0x4b7)](this[_0x681260(0x4e4)],_0xae2037));}[_0x162eea(0x2b9)](_0xba15d1){var _0x424c57=_0x162eea;try{const _0x5cc830=_0xba15d1[_0x424c57(0x23d)];switch(_0x5cc830[_0x424c57(0x480)]){case g[_0x424c57(0x4c4)][_0x424c57(0x38a)]:this[_0x424c57(0x4f2)](_0x5cc830),this['_event$'][_0x424c57(0x263)](_0x5cc830);break;case g['CollaborationEvent'][_0x424c57(0x2b7)]:this[_0x424c57(0x22c)](_0x5cc830),this['_event$'][_0x424c57(0x263)](_0x5cc830);break;case g[_0x424c57(0x4c4)][_0x424c57(0x24b)]:case g[_0x424c57(0x4c4)][_0x424c57(0x4e8)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x424c57(0x330)](),this[_0x424c57(0x2f3)]['next'](_0x5cc830);break;case g[_0x424c57(0x4c4)][_0x424c57(0x3ec)]:this[_0x424c57(0x2ee)][_0x424c57(0x389)](_0x424c57(0x3a2)+JSON[_0x424c57(0x218)](_0x5cc830)),this['_event$'][_0x424c57(0x263)](_0x5cc830);break;case g[_0x424c57(0x4c4)][_0x424c57(0x3e7)]:this[_0x424c57(0x2aa)]['onCommentUpdate'](_0x5cc830['data']),this['_event$'][_0x424c57(0x263)](_0x5cc830);break;default:this['_event$'][_0x424c57(0x263)](_0x5cc830);}}catch(_0xeb76ca){this[_0x424c57(0x2ee)][_0x424c57(0x389)](_0xeb76ca,_0xba15d1);}}[_0x162eea(0x4f2)](_0x40596c){var _0x2747f0=_0x162eea;this['_memberService']['updateMember'](this[_0x2747f0(0x4e4)],_0x40596c[_0x2747f0(0x23d)]);}[_0x162eea(0x22c)](_0x5d32ca){var _0x74a44e=_0x162eea;this[_0x74a44e(0x4f1)][_0x74a44e(0x3d9)](this['_unitID'],_0x5d32ca[_0x74a44e(0x23d)]['memberID']);}async[_0x162eea(0x303)](_0x588391,_0x339936){var _0x28cf74=_0x162eea;if(this[_0x28cf74(0x371)]!==0x3||!this[_0x28cf74(0x367)])throw new Error(_0x28cf74(0x4aa));try{_0x588391[_0x28cf74(0x480)]===g[_0x28cf74(0x4c4)][_0x28cf74(0x370)]&&(this[_0x28cf74(0x302)](),this['_startTelemetryCollaborationNewChangeset'](_0x588391)),this[_0x28cf74(0x367)]['send']({'cmd':W['INGEST'],'routeKey':_0x339936,'routeType':'','data':_0x588391});}catch(_0xd46347){this['_logService'][_0x28cf74(0x389)](_0xd46347);}}[_0x162eea(0x302)](){var _0x59de5b=_0x162eea,_0xac00d9;this[_0x59de5b(0x29b)]=setTimeout(()=>{var _0x551a6e=_0x59de5b;this[_0x551a6e(0x29b)]=null,this['_collaborationUIEventService']['emitEvent']({'id':Q[_0x551a6e(0x3c1)]});},(_0xac00d9=this['_configService'][_0x59de5b(0x49d)](je))!=null?_0xac00d9:gt);}[_0x162eea(0x330)](){var _0x233206=_0x162eea;this[_0x233206(0x29b)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x233206(0x29b)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x3a2ac2){var _0x11f115=_0x162eea;if(!this[_0x11f115(0x23f)])return;const {data:_0x3deff7}=_0x3a2ac2,{unitID:_0x3782ab,changeset:_0x2c1a27}=_0x3deff7,{mutations:_0x4aace7,type:_0x161879}=_0x2c1a27;this[_0x11f115(0x4d9)]={'unitId':_0x3782ab,'type':_0x161879,'startTime':performance[_0x11f115(0x512)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x4aace7)};}[_0x162eea(0x317)](){var _0x92d269=_0x162eea;if(this[_0x92d269(0x23f)]){if(!this[_0x92d269(0x4d9)]){this['_logService']['error']('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x92d269(0x4d9)][_0x92d269(0x36c)]=performance[_0x92d269(0x512)](),this['_telemetryInfo'][_0x92d269(0x3da)]=this[_0x92d269(0x4d9)][_0x92d269(0x36c)]-this['_telemetryInfo'][_0x92d269(0x242)],this['_telemetryService'][_0x92d269(0x222)](ei,this['_telemetryInfo']),this[_0x92d269(0x4d9)]=null;}}[_0x162eea(0x245)](){this['_telemetryInfo']=null;}},exports['CollaborationSession']=oi([oe(0x2,a[_0x162eea(0x2ba)]),oe(0x3,a[_0x162eea(0x4a1)]),oe(0x4,a[_0x162eea(0x1ec)](a[_0x162eea(0x2e5)])),oe(0x5,a['Inject'](exports[_0x162eea(0x445)])),oe(0x6,a['Inject'](Be)),oe(0x7,a[_0x162eea(0x1ec)](te)),oe(0x8,a[_0x162eea(0x2dc)](Mt[_0x162eea(0x4e1)]))],exports[_0x162eea(0x3e5)]);var ai=Object['getOwnPropertyDescriptor'],ci=(_0x50cef2,_0x3d4ecf,_0x3c9c4b,_0x20c9f8)=>{var _0xf588f8=_0x162eea;for(var _0x11d779=_0x20c9f8>0x1?void 0x0:_0x20c9f8?ai(_0x3d4ecf,_0x3c9c4b):_0x3d4ecf,_0x34b760=_0x50cef2[_0xf588f8(0x359)]-0x1,_0x491dc5;_0x34b760>=0x0;_0x34b760--)(_0x491dc5=_0x50cef2[_0x34b760])&&(_0x11d779=_0x491dc5(_0x11d779)||_0x11d779);return _0x11d779;},_e=(_0x17c3a3,_0x1db77e)=>(_0x483062,_0x3a5e16)=>_0x1db77e(_0x483062,_0x3a5e16,_0x17c3a3);exports[_0x162eea(0x46e)]=class extends a[_0x162eea(0x3bb)]{constructor(_0x2dbc6d,_0x22ea56,_0x55763f,_0x160520,_0x3451c6,_0x53f831){var _0x2fb527=_0x162eea;super(),A(this,_0x2fb527(0x272),new j[(_0x2fb527(0x52d))](void 0x0)),A(this,_0x2fb527(0x40a),this[_0x2fb527(0x272)]['asObservable']()),A(this,_0x2fb527(0x443),null),A(this,_0x2fb527(0x34b),new Map()),A(this,'_status$',new j['BehaviorSubject'](se[_0x2fb527(0x435)])),A(this,'status$',this['_status$'][_0x2fb527(0x521)]()),A(this,_0x2fb527(0x274),!0x1),A(this,_0x2fb527(0x301)),A(this,'_retryCount',0x0),A(this,'_sendHeartbeatTimer'),A(this,'_timeoutTimer'),(this['_injector']=_0x2dbc6d,this[_0x2fb527(0x2ee)]=_0x22ea56,this[_0x2fb527(0x294)]=_0x55763f,this[_0x2fb527(0x2fd)]=_0x160520,this['_collaborationUIEventService']=_0x3451c6,this[_0x2fb527(0x497)]=_0x53f831,this[_0x2fb527(0x50a)]());}get[_0x162eea(0x367)](){var _0x5ec631=_0x162eea;return this[_0x5ec631(0x272)][_0x5ec631(0x244)]();}[_0x162eea(0x50a)](){var _0x1f2a30=_0x162eea;this[_0x1f2a30(0x497)]&&this[_0x1f2a30(0x1f2)](this[_0x1f2a30(0x497)][_0x1f2a30(0x4f0)][_0x1f2a30(0x352)](_0x5acc0e=>{var _0x5a1df5=_0x1f2a30;_0x5acc0e&&!this[_0x5a1df5(0x367)]&&this[_0x5a1df5(0x526)](),_0x5acc0e||this[_0x5a1df5(0x1d3)]();}));}[_0x162eea(0x3aa)](){var _0x1ebe3f=_0x162eea;super[_0x1ebe3f(0x3aa)](),this[_0x1ebe3f(0x3bd)](),this['_clearTimeoutTimer'](),this[_0x1ebe3f(0x210)](),this[_0x1ebe3f(0x34b)][_0x1ebe3f(0x290)](_0x3b04a3=>_0x3b04a3['dispose']()),this[_0x1ebe3f(0x34b)][_0x1ebe3f(0x340)](),this['_status$']['complete']();}async['requireSession'](_0x283fca){var _0x2eb7ca=_0x162eea;if(this[_0x2eb7ca(0x34b)][_0x2eb7ca(0x3d4)](_0x283fca))return this[_0x2eb7ca(0x34b)][_0x2eb7ca(0x2a8)](_0x283fca);this[_0x2eb7ca(0x33f)]();const _0x4a0850=this[_0x2eb7ca(0x36f)][_0x2eb7ca(0x43b)](exports['CollaborationSession'],_0x283fca,this[_0x2eb7ca(0x272)][_0x2eb7ca(0x521)]());return this[_0x2eb7ca(0x34b)][_0x2eb7ca(0x4a6)](_0x283fca,_0x4a0850),_0x4a0850;}[_0x162eea(0x25e)](_0x2577e8){var _0x1bb9ac=_0x162eea,_0x2368b0;const _0x1584e5=this[_0x1bb9ac(0x34b)][_0x1bb9ac(0x2a8)](_0x2577e8);_0x1584e5&&(this[_0x1bb9ac(0x34b)][_0x1bb9ac(0x22b)](_0x2577e8),_0x1584e5['close']()),this[_0x1bb9ac(0x34b)]['size']||(_0x2368b0=this['_socket'])==null||_0x2368b0[_0x1bb9ac(0x341)]();}[_0x162eea(0x526)](){var _0x480fdf=_0x162eea;this[_0x480fdf(0x327)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x480fdf(0x23a)]();}[_0x162eea(0x3bd)](){var _0x211f37=_0x162eea;this[_0x211f37(0x301)]!=null&&(clearTimeout(this[_0x211f37(0x301)]),this[_0x211f37(0x301)]=null);}async[_0x162eea(0x46f)](){var _0x5d5004=_0x162eea,_0x4ce69f,_0x23f716;const _0x47c88c=this[_0x5d5004(0x294)][_0x5d5004(0x49d)](St),_0x10214b=this[_0x5d5004(0x294)][_0x5d5004(0x49d)](Y),_0x34adb7=(_0x23f716=(_0x4ce69f=_0x10214b==null?void 0x0:_0x10214b['collabWebSocketUrl'])!=null?_0x4ce69f:_0x47c88c)!=null?_0x23f716:ft,_0x459b1c=await this[_0x5d5004(0x2fd)]['createSocket'](_0x34adb7);return this['_candidateSocket']=_0x459b1c,_0x459b1c;}async[_0x162eea(0x33f)](){var _0x4200ec=_0x162eea,_0x410fae,_0x4fae3c;try{const _0x5ecc9d=(_0x4fae3c=(_0x410fae=this[_0x4200ec(0x367)])!=null?_0x410fae:this[_0x4200ec(0x443)])!=null?_0x4fae3c:await this[_0x4200ec(0x46f)]();if(_0x5ecc9d){const _0x5605d0=_0x5ecc9d[_0x4200ec(0x303)];_0x5ecc9d['send']=_0x904372=>(this[_0x4200ec(0x45c)](),_0x5605d0[_0x4200ec(0x446)](_0x5ecc9d,[_0x904372])),_0x5ecc9d['message$'][_0x4200ec(0x352)](_0x48c4f9=>this[_0x4200ec(0x1d6)](_0x5ecc9d,_0x48c4f9)),_0x5ecc9d[_0x4200ec(0x365)][_0x4200ec(0x35d)](V[_0x4200ec(0x1c2)](0x1))[_0x4200ec(0x352)](_0x1dff4e=>this['_logService']['error'](_0x4200ec(0x2d4),_0x1dff4e)),_0x5ecc9d[_0x4200ec(0x489)]['pipe'](V['take'](0x1))[_0x4200ec(0x352)](()=>{this['_onConnectionOpen'](_0x5ecc9d);}),_0x5ecc9d[_0x4200ec(0x247)]['pipe'](V['take'](0x1))[_0x4200ec(0x352)](_0x3a8e46=>{var _0x382271=_0x4200ec;this[_0x382271(0x2ee)][_0x382271(0x428)]('[CollaborationSessionService]',_0x382271(0x4d5),_0x3a8e46),this[_0x382271(0x20e)]();});}}catch(_0x4fdbf4){this[_0x4200ec(0x2ee)][_0x4200ec(0x389)](_0x4fdbf4),this[_0x4200ec(0x20e)]();}}[_0x162eea(0x3af)](_0x519851){var _0x3e3954=_0x162eea;this[_0x3e3954(0x2ee)]['debug']('[CollaborationSessionService]',_0x3e3954(0x50f)),_0x519851[_0x3e3954(0x303)]({'cmd':W[_0x3e3954(0x43f)]}),this[_0x3e3954(0x45c)]();}[_0x162eea(0x1d3)](){var _0x1a4c82=_0x162eea;this[_0x1a4c82(0x274)]=!0x1,this[_0x1a4c82(0x443)]=null,this[_0x1a4c82(0x27d)][_0x1a4c82(0x263)](se[_0x1a4c82(0x3c0)]),this[_0x1a4c82(0x272)][_0x1a4c82(0x263)](null),this[_0x1a4c82(0x1e2)](),this['_clearHeartbeatTimer']();}[_0x162eea(0x20e)](){var _0x51929e=_0x162eea,_0x289e6b;this['_onOffline'](),this[_0x51929e(0x327)]<((_0x289e6b=this['_configService'][_0x51929e(0x49d)](It))!=null?_0x289e6b:Vt)?(this['_collaborationUIEventService']['emitEvent']({'id':Q[_0x51929e(0x3eb)]}),this[_0x51929e(0x23a)]()):this['_collaborationUIEventService'][_0x51929e(0x250)]({'id':Q['SOCKET_FAILED']});}[_0x162eea(0x23a)](){var _0x97c70b=_0x162eea,_0x18029b;const _0x3ae054=this[_0x97c70b(0x327)],_0x5cec3b=this[_0x97c70b(0x294)][_0x97c70b(0x49d)](Y),_0x3cdc88=_0x3ae054===0x0?0x0:((_0x18029b=_0x5cec3b==null?void 0x0:_0x5cec3b['retryConnectingInterval'])!=null?_0x18029b:Ft)*0x2**_0x3ae054;this[_0x97c70b(0x301)]=setTimeout(()=>{var _0x48a920=_0x97c70b;clearTimeout(this['_retryConnectingTimer']),this[_0x48a920(0x301)]=null,this[_0x48a920(0x33f)]();},_0x3cdc88),this[_0x97c70b(0x327)]+=0x1;}[_0x162eea(0x1d6)](_0x89e234,_0x6aa8f0){var _0x1c66e7=_0x162eea;const {cmd:_0x7b50fb}=_0x6aa8f0;_0x7b50fb===W[_0x1c66e7(0x43f)]&&!this[_0x1c66e7(0x274)]&&(_0x89e234[_0x1c66e7(0x454)]=_0x6aa8f0[_0x1c66e7(0x23d)][_0x1c66e7(0x454)],this['_socket$'][_0x1c66e7(0x263)](_0x89e234),this['_status$'][_0x1c66e7(0x263)](se[_0x1c66e7(0x3e2)]),this[_0x1c66e7(0x274)]=!0x0,this[_0x1c66e7(0x443)]=null),_0x7b50fb===W[_0x1c66e7(0x4fa)]&&this[_0x1c66e7(0x1e2)](),this[_0x1c66e7(0x45c)]();}['_rescheduleHeartbeat'](){var _0x24277c=_0x162eea,_0x287a18;this['_clearHeartbeatTimer'](),this[_0x24277c(0x1d8)]=setTimeout(()=>this[_0x24277c(0x4a5)](),(_0x287a18=this[_0x24277c(0x294)][_0x24277c(0x49d)](pt))!=null?_0x287a18:Bt);}[_0x162eea(0x4a5)](){var _0x482ad3=_0x162eea;this[_0x482ad3(0x367)][_0x482ad3(0x303)]({'cmd':W[_0x482ad3(0x4fa)]}),this[_0x482ad3(0x447)]();}['_waitForHeartbeatResponse'](){var _0x3c55cb=_0x162eea,_0x4fd090;this[_0x3c55cb(0x491)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x4fd090=this[_0x3c55cb(0x294)][_0x3c55cb(0x49d)](je))!=null?_0x4fd090:gt);}['_clearHeartbeatTimer'](){var _0x5abfbb=_0x162eea;this[_0x5abfbb(0x1d8)]!=null&&(clearTimeout(this[_0x5abfbb(0x1d8)]),this[_0x5abfbb(0x1d8)]=null);}[_0x162eea(0x1e2)](){var _0x25cc8f=_0x162eea;this[_0x25cc8f(0x491)]!=null&&(clearTimeout(this[_0x25cc8f(0x491)]),this['_timeoutTimer']=null);}},exports['CollaborationSessionService']=ci([_e(0x0,a[_0x162eea(0x1ec)](a[_0x162eea(0x3c3)])),_e(0x1,a[_0x162eea(0x2ba)]),_e(0x2,a[_0x162eea(0x4a1)]),_e(0x3,$e),_e(0x4,a['Inject'](te)),_e(0x5,a['Optional'](bt))],exports[_0x162eea(0x46e)]);const G=[];for(let n=0x0;n<0x100;++n)G['push']((n+0x100)[_0x162eea(0x3f9)](0x10)[_0x162eea(0x423)](0x1));function hi(_0x4e4e7c,_0x341510=0x0){var _0x53b890=_0x162eea;return(G[_0x4e4e7c[_0x341510+0x0]]+G[_0x4e4e7c[_0x341510+0x1]]+G[_0x4e4e7c[_0x341510+0x2]]+G[_0x4e4e7c[_0x341510+0x3]]+'-'+G[_0x4e4e7c[_0x341510+0x4]]+G[_0x4e4e7c[_0x341510+0x5]]+'-'+G[_0x4e4e7c[_0x341510+0x6]]+G[_0x4e4e7c[_0x341510+0x7]]+'-'+G[_0x4e4e7c[_0x341510+0x8]]+G[_0x4e4e7c[_0x341510+0x9]]+'-'+G[_0x4e4e7c[_0x341510+0xa]]+G[_0x4e4e7c[_0x341510+0xb]]+G[_0x4e4e7c[_0x341510+0xc]]+G[_0x4e4e7c[_0x341510+0xd]]+G[_0x4e4e7c[_0x341510+0xe]]+G[_0x4e4e7c[_0x341510+0xf]])[_0x53b890(0x3ea)]();}let Ue;const _i=new Uint8Array(0x10);function li(){var _0x3fa457=_0x162eea;if(!Ue){if(typeof crypto>'u'||!crypto[_0x3fa457(0x4e3)])throw new Error(_0x3fa457(0x2d5));Ue=crypto[_0x3fa457(0x4e3)]['bind'](crypto);}return Ue(_i);}const ui=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x162eea(0x249)](crypto),qe={'randomUUID':ui};function di(_0x6b9fa9,_0x210f71,_0x5b5cae){var _0x90948c=_0x162eea,_0x4e1155,_0x3a2008,_0x2d260a;if(qe[_0x90948c(0x1f1)]&&!_0x6b9fa9)return qe[_0x90948c(0x1f1)]();_0x6b9fa9=_0x6b9fa9||{};const _0x286c3d=(_0x2d260a=(_0x3a2008=_0x6b9fa9[_0x90948c(0x51e)])!=null?_0x3a2008:(_0x4e1155=_0x6b9fa9['rng'])==null?void 0x0:_0x4e1155[_0x90948c(0x4b0)](_0x6b9fa9))!=null?_0x2d260a:li();if(_0x286c3d[_0x90948c(0x359)]<0x10)throw new Error(_0x90948c(0x2ec));return _0x286c3d[0x6]=_0x286c3d[0x6]&0xf|0x40,_0x286c3d[0x8]=_0x286c3d[0x8]&0x3f|0x80,hi(_0x286c3d);}const z=a['createIdentifier'](_0x162eea(0x200));function vi(_0x40deda){var _0x667bf8=_0x162eea;return _0x667bf8(0x4b8)+_0x40deda;}var Si=Object[_0x162eea(0x4db)],fi=(_0x4da378,_0x21c81b,_0x572510,_0x2aeafc)=>{var _0x2a448c=_0x162eea;for(var _0x5e9e54=_0x2aeafc>0x1?void 0x0:_0x2aeafc?Si(_0x21c81b,_0x572510):_0x21c81b,_0x3ba21e=_0x4da378[_0x2a448c(0x359)]-0x1,_0x1bb8b7;_0x3ba21e>=0x0;_0x3ba21e--)(_0x1bb8b7=_0x4da378[_0x3ba21e])&&(_0x5e9e54=_0x1bb8b7(_0x5e9e54)||_0x5e9e54);return _0x5e9e54;},Ae=(_0x595746,_0x28fb72)=>(_0x52707d,_0x5ed96b)=>_0x28fb72(_0x52707d,_0x5ed96b,_0x595746);function pi(_0x50a8ac){var _0x43c4be=_0x162eea;const {unitID:_0x120cc6,mutations:_0x5b902f}=_0x50a8ac;return{'unitId':_0x120cc6,'subUnitId':_0x5b902f[0x0]['params'][_0x43c4be(0x2dd)]};}exports[_0x162eea(0x41e)]=class{constructor(_0x21ae1f,_0x5a7e1f,_0x2848f9){var _0x2b9c91=_0x162eea;this[_0x2b9c91(0x36f)]=_0x21ae1f,this[_0x2b9c91(0x424)]=_0x5a7e1f,this[_0x2b9c91(0x39f)]=_0x2848f9;}[_0x162eea(0x35f)](_0x347445){var _0x2e8f30=_0x162eea,_0x4086e2,_0xfc6b39,_0x1041a6,_0x1d04b1;const _0x487f59=this['_injector'][_0x2e8f30(0x2a8)](Z[_0x2e8f30(0x296)]),{unitId:_0x2b67f3,subUnitId:_0x5cec6f}=pi(_0x347445),_0x4208c2=_0x487f59==null?void 0x0:_0x487f59[_0x2e8f30(0x1cd)](_0x2b67f3)[_0x2e8f30(0x29c)](),_0x358c31=(_0xfc6b39=(_0x4086e2=this[_0x2e8f30(0x39f)][_0x2e8f30(0x314)](_0x2b67f3))==null?void 0x0:_0x4086e2[_0x2e8f30(0x21c)]())==null?void 0x0:_0xfc6b39['getSheetId']();if(_0x4208c2['length']===0x0||!_0x2b67f3||!_0x5cec6f)return;const _0xd523ab=[{'id':Z[_0x2e8f30(0x34c)]['id'],'params':{'unitId':_0x2b67f3,'subUnitId':_0x358c31,'selections':a['Tools'][_0x2e8f30(0x23c)](_0x4208c2)}}],_0x5de567=this[_0x2e8f30(0x424)]['transformMutationsWithChangeset'](_0x347445,_0xd523ab);if(!g[_0x2e8f30(0x1d7)](_0x5de567))throw _0x5de567[_0x2e8f30(0x389)];const _0x3d651e=(_0x1d04b1=(_0x1041a6=_0x5de567['m2Prime'][0x0])==null?void 0x0:_0x1041a6['params'])==null?void 0x0:_0x1d04b1[_0x2e8f30(0x4c1)];if(Array['isArray'](_0x3d651e)&&_0x3d651e[_0x2e8f30(0x359)]){if(_0x3d651e[_0x2e8f30(0x359)]===_0xd523ab[0x0][_0x2e8f30(0x42c)][_0x2e8f30(0x4c1)][_0x2e8f30(0x359)]&&_0x3d651e[_0x2e8f30(0x4cc)]((_0x278ca2,_0x5d5ad6)=>a[_0x2e8f30(0x32b)]['equals'](_0x278ca2['range'],_0xd523ab[0x0][_0x2e8f30(0x42c)][_0x2e8f30(0x4c1)][_0x5d5ad6][_0x2e8f30(0x3b2)])))return;this[_0x2e8f30(0x36f)][_0x2e8f30(0x2a8)](a['ICommandService'])[_0x2e8f30(0x319)](Z[_0x2e8f30(0x34c)]['id'],{'unitId':_0x2b67f3,'subUnitId':_0x358c31,'selections':_0x3d651e});}}},exports[_0x162eea(0x41e)]=fi([Ae(0x0,a[_0x162eea(0x1ec)](a['Injector'])),Ae(0x1,g['ITransformService']),Ae(0x2,a[_0x162eea(0x27c)])],exports[_0x162eea(0x41e)]);const ve=a[_0x162eea(0x259)](_0x162eea(0x36a));var Fe=(_0x5ee13c=>(_0x5ee13c[_0x5ee13c[_0x162eea(0x1bb)]=0x0]=_0x162eea(0x1bb),_0x5ee13c[_0x5ee13c[_0x162eea(0x1d4)]=0x1]=_0x162eea(0x1d4),_0x5ee13c))(Fe||{});const gi=new Set([Z[_0x162eea(0x450)]['id']]);function ze(_0x4bf240,_0x18ada9,_0x273314,_0x3e5d5b,_0x28a531){var _0x42cea5=_0x162eea,_0x3cd0bf,_0x498910,_0x2749dc,_0xdd1c7c;const _0x32aefb=[];for(const _0x57cd94 of _0x4bf240)if(gi['has'](_0x57cd94['id'])){if(_0x32aefb[_0x42cea5(0x359)]>0x0)break;_0x32aefb[_0x42cea5(0x38c)](_0x57cd94);break;}else _0x32aefb[_0x42cea5(0x38c)](_0x57cd94);const _0x50d08f=(_0x498910=(_0x3cd0bf=_0x28a531[_0x42cea5(0x21e)]())==null?void 0x0:_0x3cd0bf['userID'])!=null?_0x498910:_0x42cea5(0x46c),_0x38ad86=(_0xdd1c7c=(_0x2749dc=_0x28a531[_0x42cea5(0x21e)]())==null?void 0x0:_0x2749dc[_0x42cea5(0x454)])!=null?_0xdd1c7c:_0x42cea5(0x46c);return{'changeset':{'unitID':_0x18ada9,'type':g[_0x42cea5(0x20f)](_0x273314['getUnitType'](_0x18ada9)),'baseRev':_0x3e5d5b[_0x42cea5(0x353)](_0x18ada9),'revision':0x0,'userID':_0x50d08f,'memberID':_0x38ad86,'mutations':_0x32aefb},'pendingMutations':_0x4bf240[_0x42cea5(0x423)](_0x32aefb[_0x42cea5(0x359)])};}function Ii(_0x462422,_0x5aa473,_0x344b0b,_0x21af31,_0x5ebf82){var _0x224ab5=_0x162eea,_0x328541,_0x5545b0,_0x4904d2,_0x3d8050;const _0x8b2dd4=[_0x462422[_0x224ab5(0x1b3)]((_0x188ca8,_0x3be5f6)=>{var _0x4679d3=_0x224ab5,_0x4760a6;const {id:_0x5adfd9}=_0x188ca8,{id:_0x117a9a,type:_0x252cb2}=_0x3be5f6,_0x156105=(_0x4760a6=_0x188ca8['params'])!=null?_0x4760a6:{'actions':null},_0x519ae4=_0x3be5f6[_0x4679d3(0x42c)];if(_0x5adfd9&&_0x5adfd9!==_0x117a9a)throw new Error(_0x4679d3(0x3b4)+_0x5adfd9+'\x20-\x20'+_0x117a9a+'.');return{..._0x188ca8,'id':_0x117a9a,'type':_0x252cb2,'params':{'unitId':_0x519ae4[_0x4679d3(0x322)],'textRanges':_0x519ae4['textRanges'],'actions':a[_0x4679d3(0x381)][_0x4679d3(0x24a)](_0x156105[_0x4679d3(0x2ae)],_0x519ae4[_0x4679d3(0x2ae)])}};},{})],_0x1f76bd=(_0x5545b0=(_0x328541=_0x5ebf82[_0x224ab5(0x21e)]())==null?void 0x0:_0x328541[_0x224ab5(0x3b7)])!=null?_0x5545b0:_0x224ab5(0x46c),_0x547f2b=(_0x3d8050=(_0x4904d2=_0x5ebf82[_0x224ab5(0x21e)]())==null?void 0x0:_0x4904d2[_0x224ab5(0x454)])!=null?_0x3d8050:_0x224ab5(0x46c);return{'changeset':{'unitID':_0x5aa473,'type':g[_0x224ab5(0x20f)](_0x344b0b[_0x224ab5(0x3a7)](_0x5aa473)),'baseRev':_0x21af31[_0x224ab5(0x353)](_0x5aa473),'revision':0x0,'userID':_0x1f76bd,'memberID':_0x547f2b,'mutations':_0x8b2dd4},'pendingMutations':[]};}function yt(_0x362c80,_0x102dc2){var _0x3b514b=_0x162eea;const _0x5a9844=new j[(_0x3b514b(0x3b6))](0x1);return setTimeout(()=>_0x5a9844[_0x3b514b(0x263)](_0x102dc2),_0x362c80),_0x5a9844['asObservable']()[_0x3b514b(0x35d)](j[_0x3b514b(0x1c2)](0x1));}const mi={'id':Z[_0x162eea(0x4a2)]['id'],'type':a['CommandType']['MUTATION'],'params':{}};var Ei=Object[_0x162eea(0x4db)],ce=(_0x566b59,_0x292d24,_0x1f2c73,_0x5ef714)=>{var _0x2e9c86=_0x162eea;for(var _0x5d82ab=_0x5ef714>0x1?void 0x0:_0x5ef714?Ei(_0x292d24,_0x1f2c73):_0x292d24,_0x43a422=_0x566b59[_0x2e9c86(0x359)]-0x1,_0x50fff8;_0x43a422>=0x0;_0x43a422--)(_0x50fff8=_0x566b59[_0x43a422])&&(_0x5d82ab=_0x50fff8(_0x5d82ab)||_0x5d82ab);return _0x5d82ab;},w=(_0x5d9f35,_0x103ad4)=>(_0x750950,_0x38dd65)=>_0x103ad4(_0x750950,_0x38dd65,_0x5d9f35),Ve=(_0xb1f2c5=>(_0xb1f2c5[_0x162eea(0x479)]='not_collab',_0xb1f2c5[_0x162eea(0x25d)]=_0x162eea(0x487),_0xb1f2c5[_0x162eea(0x32d)]='pending',_0xb1f2c5['AWAITING']=_0x162eea(0x406),_0xb1f2c5['AWAITING_WITH_PENDING']=_0x162eea(0x3e0),_0xb1f2c5['FETCH_MISS']=_0x162eea(0x47c),_0xb1f2c5[_0x162eea(0x1b5)]='conflict',_0xb1f2c5['OFFLINE']=_0x162eea(0x44c),_0xb1f2c5))(Ve||{});const Nt=0xea60;class he{constructor(_0x457a50,_0x4bfcfe,_0x450db1,_0x2532ac,_0x510bab,_0x2e9645,_0x3fd685,_0x1cb881,_0x2419b1){var _0x406b14=_0x162eea;A(this,_0x406b14(0x3df),null),A(this,_0x406b14(0x391),[]),(this[_0x406b14(0x21a)]=_0x457a50,this[_0x406b14(0x469)]=_0x4bfcfe,this[_0x406b14(0x395)]=_0x510bab,this[_0x406b14(0x2ce)]=_0x2e9645,this[_0x406b14(0x436)]=_0x3fd685,this[_0x406b14(0x437)]=_0x1cb881,this[_0x406b14(0x1ad)]=_0x2419b1,this[_0x406b14(0x3df)]=_0x450db1,this[_0x406b14(0x391)]=_0x2532ac);}[_0x162eea(0x4c6)](_0x1e82d0){var _0x2a52bc=_0x162eea;const _0x6e7c20=this[_0x2a52bc(0x437)][_0x2a52bc(0x353)](this[_0x2a52bc(0x21a)]);return _0x1e82d0[_0x2a52bc(0x414)]>_0x6e7c20+0x1?(this['_handler']['onMissingChangesets']({'from':_0x6e7c20,'to':_0x1e82d0[_0x2a52bc(0x414)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x1a9834){var _0x133426=_0x162eea;this[_0x133426(0x436)]['transformUndoRedo'](this[_0x133426(0x21a)],_0x1a9834);}[_0x162eea(0x36b)](_0x45fda6){var _0x1c51bb=_0x162eea,_0x4cc07f,_0x363c63;(_0x363c63=(_0x4cc07f=this[_0x1c51bb(0x395)])[_0x1c51bb(0x40c)])==null||_0x363c63[_0x1c51bb(0x4b0)](_0x4cc07f,_0x45fda6);}['_transformIMECache'](_0x300783){var _0x42c9a1=_0x162eea,_0x5f54b5,_0x1bb824;return(_0x1bb824=(_0x5f54b5=this[_0x42c9a1(0x395)])[_0x42c9a1(0x205)])==null?void 0x0:_0x1bb824['call'](_0x5f54b5,_0x300783);}[_0x162eea(0x394)](_0x3efc5c){var _0x2e4e84=_0x162eea,_0x21ed67,_0x16b44b;return(_0x16b44b=(_0x21ed67=this['_handler'])[_0x2e4e84(0x2bd)])==null?void 0x0:_0x16b44b['call'](_0x21ed67,_0x3efc5c);}['_transformRemoteChangesetByIMECache'](_0x18de07){var _0x1733a7=_0x162eea,_0x52e61d,_0xcaa66b,_0x591fcf;return(_0x591fcf=(_0xcaa66b=(_0x52e61d=this[_0x1733a7(0x395)])[_0x1733a7(0x3c8)])==null?void 0x0:_0xcaa66b['call'](_0x52e61d,_0x18de07))!=null?_0x591fcf:_0x18de07;}[_0x162eea(0x465)](_0x186a01){var _0xda8695=_0x162eea,_0x48a987,_0x1f2be2,_0x4c1816;return(_0x4c1816=(_0x1f2be2=(_0x48a987=this[_0xda8695(0x395)])[_0xda8695(0x415)])==null?void 0x0:_0x1f2be2[_0xda8695(0x4b0)](_0x48a987,_0x186a01))!=null?_0x4c1816:_0x186a01;}['_syncEditingCollabCursor'](_0x5b49d1){var _0xcc0b7c=_0x162eea,_0x590838,_0xad771e;if(this[_0xcc0b7c(0x469)]===X['UNIVER_DOC']){const {unitID:_0x112a68,mutations:_0x381a6f,memberID:_0x140c50}=_0x5b49d1,_0x66a66c=_0x381a6f[0x0]['params'][_0xcc0b7c(0x2f7)];Array[_0xcc0b7c(0x253)](_0x66a66c)&&_0x66a66c['length']>0x0&&((_0xad771e=(_0x590838=this[_0xcc0b7c(0x395)])['onSyncEditingCollabCursor'])==null||_0xad771e[_0xcc0b7c(0x4b0)](_0x590838,{'unitID':_0x112a68,'memberID':_0x140c50,'textRanges':_0x66a66c}));}}[_0x162eea(0x50e)](){var _0x1e3a93=_0x162eea,_0x2354b5;(_0x2354b5=this['_localCacheService'])==null||_0x2354b5[_0x1e3a93(0x3a1)](this[_0x1e3a93(0x21a)],this[_0x1e3a93(0x469)],this['_awaitingChangeset'],this[_0x1e3a93(0x391)]);}[_0x162eea(0x316)](){var _0x3ebb9c=_0x162eea;return this['_revisionService'][_0x3ebb9c(0x353)](this[_0x3ebb9c(0x21a)]);}['_incrementRevisionNumber'](){var _0x12e875=_0x162eea;this[_0x12e875(0x437)]['incrementRevOfUnit'](this['unitID']);}[_0x162eea(0x3a8)](_0x59f306){var _0x5b9371=_0x162eea,_0x135667;let _0x492ce8=this['_transformRemoteChangesetByIMECache'](_0x59f306);_0x492ce8=this[_0x5b9371(0x465)](_0x492ce8);const _0x25c25e=a[_0x5b9371(0x449)](_0x492ce8[_0x5b9371(0x27b)],this[_0x5b9371(0x2ce)],{'fromCollab':!0x0});if(!_0x25c25e['result'])throw _0x25c25e[_0x5b9371(0x389)]instanceof Error?_0x25c25e['error']:new Error((_0x135667=_0x25c25e[_0x5b9371(0x389)])!=null?_0x135667:_0x5b9371(0x1fd));this[_0x5b9371(0x1be)](_0x492ce8),this[_0x5b9371(0x394)](_0x492ce8),this[_0x5b9371(0x2cd)](_0x59f306),this['_transformSelections'](_0x492ce8),this[_0x5b9371(0x4b1)](_0x492ce8),this[_0x5b9371(0x33a)]();}}exports[_0x162eea(0x500)]=class extends he{constructor(_0xb4a8d,_0x46351a,_0x272907,_0x30d05b,_0x3aed82,_0x10127b,_0x52eb4d,_0x1a1960,_0x5f2bf5,_0x591575){var _0x7e1687=_0x162eea;super(_0xb4a8d,_0x46351a,null,[],_0x272907,_0x52eb4d,_0x10127b,_0x30d05b,_0x591575),A(this,_0x7e1687(0x23e),_0x7e1687(0x487)),(this[_0x7e1687(0x36f)]=_0x3aed82,this[_0x7e1687(0x2ee)]=_0x1a1960,this[_0x7e1687(0x424)]=_0x5f2bf5,this[_0x7e1687(0x1dd)]=_0x591575);}[_0x162eea(0x474)](_0xc72233){var _0x59f84b=_0x162eea;const _0x4fd459=this['_injector']['createInstance'](exports[_0x59f84b(0x2a1)],this[_0x59f84b(0x21a)],this['type'],[_0xc72233],this[_0x59f84b(0x395)]);return _0x4fd459[_0x59f84b(0x2bc)](),_0x4fd459[_0x59f84b(0x50e)](),_0x4fd459;}[_0x162eea(0x397)](_0x3e58d2){var _0x6d2da7=_0x162eea;if(this[_0x6d2da7(0x4c6)](_0x3e58d2))return this['_injector'][_0x6d2da7(0x43b)](exports[_0x6d2da7(0x255)],this[_0x6d2da7(0x21a)],this[_0x6d2da7(0x469)],null,[],null,[_0x3e58d2],this[_0x6d2da7(0x395)]);try{const _0x593551=this[_0x6d2da7(0x424)]['transformMutationsWithChangeset'](_0x3e58d2,[mi]);if(g['isTransformMutationsWithChangesetSuccess'](_0x593551)){const {c1Prime:_0x1b78d8}=_0x593551;return this[_0x6d2da7(0x3a8)](_0x1b78d8),this;}throw _0x593551[_0x6d2da7(0x389)];}catch(_0x241ed4){return this[_0x6d2da7(0x2ee)][_0x6d2da7(0x389)](_0x241ed4),this[_0x6d2da7(0x470)](!0x1);}}['_onConflict'](_0x5f3ffe){var _0x20f3e9=_0x162eea;return this[_0x20f3e9(0x36f)][_0x20f3e9(0x43b)](exports[_0x20f3e9(0x33e)],this[_0x20f3e9(0x21a)],this['type'],null,[],this['_handler'],_0x5f3ffe);}[_0x162eea(0x304)](){var _0x158bb0=_0x162eea;throw new Error(_0x158bb0(0x48d));}[_0x162eea(0x523)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x162eea(0x2cb)](){return this;}[_0x162eea(0x26d)](){var _0x348bc6=_0x162eea;return this[_0x348bc6(0x36f)][_0x348bc6(0x43b)](exports[_0x348bc6(0x203)],this[_0x348bc6(0x21a)],this[_0x348bc6(0x469)],null,[],this['_handler']);}[_0x162eea(0x47b)](){return this;}['resend'](){var _0x18cc4e=_0x162eea;throw new Error(_0x18cc4e(0x1fa));}[_0x162eea(0x212)](){var _0x3024c7=_0x162eea;const _0xefb511=this[_0x3024c7(0x437)][_0x3024c7(0x353)](this[_0x3024c7(0x21a)]);return this[_0x3024c7(0x395)]['onMissingChangesets']({'from':_0xefb511,'to':0x0}),this[_0x3024c7(0x36f)][_0x3024c7(0x43b)](exports[_0x3024c7(0x255)],this[_0x3024c7(0x21a)],this[_0x3024c7(0x469)],null,[],null,[],this[_0x3024c7(0x395)]);}},exports[_0x162eea(0x500)]=ce([w(0x3,a['Inject'](g[_0x162eea(0x33c)])),w(0x4,a[_0x162eea(0x1ec)](a[_0x162eea(0x3c3)])),w(0x5,a[_0x162eea(0x482)]),w(0x6,a['ICommandService']),w(0x7,a[_0x162eea(0x2ba)]),w(0x8,g['ITransformService']),w(0x9,a[_0x162eea(0x2dc)](z))],exports[_0x162eea(0x500)]),exports[_0x162eea(0x2a1)]=class extends he{constructor(_0x3b3428,_0x2649f8,_0x1fb9c3,_0x2cf627,_0x193631,_0x255ba4,_0x3a75c4,_0xb22eb7,_0x1b4aaa,_0xf8c71c,_0x1928a5,_0x1deb32,_0x47165f,_0x1bcf1c){var _0xa90d26=_0x162eea;super(_0x3b3428,_0x2649f8,null,_0x1fb9c3,_0x2cf627,_0x1b4aaa,_0x47165f,_0x255ba4,_0x1bcf1c),A(this,_0xa90d26(0x23e),_0xa90d26(0x380)),A(this,_0xa90d26(0x223),null),A(this,_0xa90d26(0x4b4),null),(this[_0xa90d26(0x36f)]=_0x193631,this['_memberService']=_0x3a75c4,this[_0xa90d26(0x2ee)]=_0xb22eb7,this['_configService']=_0xf8c71c,this['_transformService']=_0x1928a5,this[_0xa90d26(0x3c9)]=_0x1deb32);}['appendMutation'](_0x1c794a){var _0x4cccbd=_0x162eea;return this['_pendingMutations'][_0x4cccbd(0x38c)](_0x1c794a),this[_0x4cccbd(0x50e)](),this;}['onRemoteChangeset'](_0x30440a){var _0x36e79f=_0x162eea;if(this[_0x36e79f(0x4c6)](_0x30440a))return this[_0x36e79f(0x4ce)](),this['_injector']['createInstance'](exports[_0x36e79f(0x255)],this['unitID'],this[_0x36e79f(0x469)],null,this['_pendingMutations'],null,[_0x30440a],this[_0x36e79f(0x395)]);try{const _0x40817a=this[_0x36e79f(0x424)]['transformMutationsWithChangeset'](_0x30440a,this[_0x36e79f(0x391)]);if(g[_0x36e79f(0x1d7)](_0x40817a)){const {c1Prime:_0xd69a3e,m2Prime:_0x481482}=_0x40817a;this['_executeRemoteChangeset'](_0xd69a3e);const _0x4882ad=this[_0x36e79f(0x36f)]['createInstance'](exports[_0x36e79f(0x2a1)],this[_0x36e79f(0x21a)],this[_0x36e79f(0x469)],_0x481482,this[_0x36e79f(0x395)]);this[_0x36e79f(0x4ce)]();const _0x1a8c9a=new Date()['getTime'](),_0x42b065=this[_0x36e79f(0x223)]?Math[_0x36e79f(0x529)](this[_0x36e79f(0x223)]-_0x1a8c9a,0x0):this[_0x36e79f(0x1c0)]();return _0x4882ad[_0x36e79f(0x2bc)](_0x42b065),_0x4882ad;}throw _0x40817a[_0x36e79f(0x389)];}catch(_0x3446c7){return this[_0x36e79f(0x2ee)][_0x36e79f(0x389)](_0x3446c7),this[_0x36e79f(0x470)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x162eea(0x523)](){var _0x5b8ffa=_0x162eea;throw new Error(_0x5b8ffa(0x38f));}[_0x162eea(0x2cb)](){return this;}['toggleOffline'](){var _0x349fc4=_0x162eea;return this[_0x349fc4(0x4ce)](),this[_0x349fc4(0x36f)][_0x349fc4(0x43b)](exports[_0x349fc4(0x203)],this[_0x349fc4(0x21a)],this['type'],null,this[_0x349fc4(0x391)],this[_0x349fc4(0x395)]);}[_0x162eea(0x47b)](){return this;}['_schedule'](_0x55ee0c){var _0x20e822=_0x162eea;const _0x932e6c=_0x55ee0c!=null?_0x55ee0c:this['_getSendChangesetTimeout']();this[_0x20e822(0x223)]=new Date()['getTime']()+_0x932e6c,this['_sendingTimer']=setTimeout(()=>{var _0x7c5e87=_0x20e822;this[_0x7c5e87(0x4ce)]();let _0x11d73c=null;switch(this[_0x7c5e87(0x469)]){case X[_0x7c5e87(0x1f7)]:{_0x11d73c=ze(this[_0x7c5e87(0x391)],this[_0x7c5e87(0x21a)],this[_0x7c5e87(0x3c9)],this['_revisionService'],this[_0x7c5e87(0x4f1)]);break;}case X[_0x7c5e87(0x351)]:{this[_0x7c5e87(0x391)][_0x7c5e87(0x4cc)](_0x2654c6=>_0x2654c6['id']===ut['RichTextEditingMutation']['id'])?_0x11d73c=Ii(this['_pendingMutations'],this[_0x7c5e87(0x21a)],this[_0x7c5e87(0x3c9)],this[_0x7c5e87(0x437)],this[_0x7c5e87(0x4f1)]):_0x11d73c=ze(this[_0x7c5e87(0x391)],this[_0x7c5e87(0x21a)],this['_univerInstanceService'],this[_0x7c5e87(0x437)],this[_0x7c5e87(0x4f1)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x7c5e87(0x469)]+'\x20in\x20_schedule.');}const {changeset:_0x50602e,pendingMutations:_0x3c362a}=_0x11d73c;this[_0x7c5e87(0x395)][_0x7c5e87(0x430)](_0x50602e);const _0x2c6bc3=_0x3c362a[_0x7c5e87(0x359)]?this['_injector'][_0x7c5e87(0x43b)](exports[_0x7c5e87(0x473)],this[_0x7c5e87(0x21a)],this[_0x7c5e87(0x469)],_0x50602e,_0x3c362a,this[_0x7c5e87(0x395)],void 0x0):this[_0x7c5e87(0x36f)][_0x7c5e87(0x43b)](exports[_0x7c5e87(0x368)],this[_0x7c5e87(0x21a)],this['type'],_0x50602e,this[_0x7c5e87(0x395)]);_0x2c6bc3[_0x7c5e87(0x50e)](),this[_0x7c5e87(0x395)][_0x7c5e87(0x42d)](this,_0x2c6bc3);},_0x932e6c);}[_0x162eea(0x1c0)](){var _0x558171=_0x162eea,_0x323df7;const _0x316181=this[_0x558171(0x294)][_0x558171(0x49d)](Y);return(_0x323df7=_0x316181==null?void 0x0:_0x316181['sendChangesetTimeout'])!=null?_0x323df7:jt;}[_0x162eea(0x3b3)](){var _0x3e7224=_0x162eea;throw new Error(_0x3e7224(0x504));}[_0x162eea(0x4ce)](){var _0x4a97d8=_0x162eea;this['_sendingTimer']!=null&&(clearTimeout(this[_0x4a97d8(0x4b4)]),this[_0x4a97d8(0x4b4)]=null);}['_onConflict'](_0x403c91){var _0x406562=_0x162eea;return this[_0x406562(0x4ce)](),this[_0x406562(0x36f)][_0x406562(0x43b)](exports['ConflictState'],this[_0x406562(0x21a)],this['type'],null,this[_0x406562(0x391)],this[_0x406562(0x395)],_0x403c91);}},exports['PendingState']=ce([w(0x4,a[_0x162eea(0x1ec)](a[_0x162eea(0x3c3)])),w(0x5,a['Inject'](g['RevisionService'])),w(0x6,a[_0x162eea(0x1ec)](exports[_0x162eea(0x445)])),w(0x7,a['ILogService']),w(0x8,a[_0x162eea(0x46d)]),w(0x9,a[_0x162eea(0x4a1)]),w(0xa,g['ITransformService']),w(0xb,a[_0x162eea(0x27c)]),w(0xc,a[_0x162eea(0x482)]),w(0xd,a[_0x162eea(0x2dc)](z))],exports[_0x162eea(0x2a1)]),exports[_0x162eea(0x368)]=class extends he{constructor(_0x207f85,_0x4b0d17,_0x59a96c,_0x3569f4,_0x4687df,_0x2d22e3,_0x421065,_0x5a5297,_0x4ed430,_0x5e708c,_0x1db37a){var _0x232761=_0x162eea;super(_0x207f85,_0x4b0d17,_0x59a96c,[],_0x3569f4,_0x421065,_0x5e708c,_0x2d22e3,_0x1db37a),A(this,'status',_0x232761(0x406)),A(this,_0x232761(0x439),0x0),A(this,_0x232761(0x4e7)),A(this,'_sender'),(this[_0x232761(0x36f)]=_0x4687df,this['_logService']=_0x5a5297,this[_0x232761(0x424)]=_0x4ed430);}[_0x162eea(0x474)](_0x36a33d){var _0x5439fc=_0x162eea;this[_0x5439fc(0x4ce)]();const _0x51a0a6=this['_injector'][_0x5439fc(0x43b)](exports[_0x5439fc(0x473)],this[_0x5439fc(0x21a)],this[_0x5439fc(0x469)],this['_awaitingChangeset'],[_0x36a33d],this[_0x5439fc(0x395)],this[_0x5439fc(0x4e7)]);return _0x51a0a6['_updateLocalCache'](),_0x51a0a6;}[_0x162eea(0x397)](_0x1dceb0){var _0x231d9b=_0x162eea;if(this[_0x231d9b(0x4c6)](_0x1dceb0))return this['_clearScheduledTask'](),this[_0x231d9b(0x36f)][_0x231d9b(0x43b)](exports[_0x231d9b(0x255)],this[_0x231d9b(0x21a)],this[_0x231d9b(0x469)],this[_0x231d9b(0x3df)],[],null,[_0x1dceb0],this[_0x231d9b(0x395)]);try{const _0x92293d=this['_transformService'][_0x231d9b(0x3d8)]([_0x1dceb0],[this[_0x231d9b(0x3df)]],!0x1);if(g['isTransformChangesetsSuccess'](_0x92293d)){const {c1Prime:_0x239553,c2Prime:_0x315f55}=_0x92293d;this[_0x231d9b(0x3a8)](_0x239553[0x0]),_0x315f55[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x231d9b(0x4ce)]();const _0x59bc9b=this[_0x231d9b(0x36f)][_0x231d9b(0x43b)](exports[_0x231d9b(0x368)],this['unitID'],this[_0x231d9b(0x469)],_0x315f55[0x0],this[_0x231d9b(0x395)]);return _0x59bc9b[_0x231d9b(0x50e)](),_0x59bc9b;}return this[_0x231d9b(0x470)](!0x1);}catch(_0x4b2477){return this['_logService'][_0x231d9b(0x389)](_0x4b2477),this[_0x231d9b(0x470)](!0x1);}}[_0x162eea(0x304)](_0x557432){var _0x100d55=_0x162eea;this[_0x100d55(0x4ce)]();const _0x3a3c38=this[_0x100d55(0x437)][_0x100d55(0x353)](this['unitID']);if(_0x557432[_0x100d55(0x414)]<_0x3a3c38-0x1)return this;if(this[_0x100d55(0x4c6)](_0x557432))return this['_injector']['createInstance'](exports[_0x100d55(0x255)],this[_0x100d55(0x21a)],this[_0x100d55(0x469)],null,[],this[_0x100d55(0x3df)],[],this[_0x100d55(0x395)]);this[_0x100d55(0x33a)]();const _0x22558a=this[_0x100d55(0x36f)][_0x100d55(0x43b)](exports[_0x100d55(0x500)],this[_0x100d55(0x21a)],this['type'],this[_0x100d55(0x395)]);return _0x22558a[_0x100d55(0x50e)](),_0x22558a;}['onRemoteRej'](_0x3cc0cb){var _0x1a7d0d=_0x162eea;return this[_0x1a7d0d(0x470)](!!(_0x3cc0cb!=null&&_0x3cc0cb[_0x1a7d0d(0x273)]));}['onRemoteRetry'](_0x27fe07){var _0x45520f=_0x162eea;return this['_resendTimeout']>Nt?this[_0x45520f(0x26d)]():(this[_0x45520f(0x4e7)]=yt(this[_0x45520f(0x439)],{'timeout':this[_0x45520f(0x439)],'reqId':_0x27fe07['reqId']}),this[_0x45520f(0x4fc)]=this[_0x45520f(0x4e7)]['subscribe'](({reqId:_0x171ed8,timeout:_0x2dfdfe})=>{var _0xf90581=_0x45520f;this[_0xf90581(0x3ff)](_0x171ed8,_0x2dfdfe);}),this);}[_0x162eea(0x26d)](){var _0x55bfae=_0x162eea;return this[_0x55bfae(0x4ce)](),this[_0x55bfae(0x36f)]['createInstance'](exports['OfflineState'],this[_0x55bfae(0x21a)],this[_0x55bfae(0x469)],this[_0x55bfae(0x3df)],[],this[_0x55bfae(0x395)]);}[_0x162eea(0x47b)](){return this;}[_0x162eea(0x3b3)](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}[_0x162eea(0x470)](_0x100cf4){var _0x507587=_0x162eea;return this[_0x507587(0x4ce)](),this[_0x507587(0x36f)][_0x507587(0x43b)](exports[_0x507587(0x33e)],this[_0x507587(0x21a)],this[_0x507587(0x469)],this[_0x507587(0x3df)],[],this[_0x507587(0x395)],_0x100cf4);}[_0x162eea(0x3ff)](_0x3a084b,_0x359578){var _0x270bb9=_0x162eea,_0x182438;_0x3a084b===((_0x182438=this['_awaitingChangeset'])==null?void 0x0:_0x182438['reqId'])&&(this['resend'](),this[_0x270bb9(0x439)]=_0x359578===0x0?0x3e8:_0x359578*0x2);}[_0x162eea(0x4ce)](){var _0x1046d1=_0x162eea,_0x2b8494;(_0x2b8494=this[_0x1046d1(0x4fc)])==null||_0x2b8494[_0x1046d1(0x2c7)](),this[_0x1046d1(0x439)]=0x0;}},exports['AwaitingState']=ce([w(0x4,a[_0x162eea(0x1ec)](a[_0x162eea(0x3c3)])),w(0x5,a['Inject'](g[_0x162eea(0x33c)])),w(0x6,a[_0x162eea(0x46d)]),w(0x7,a[_0x162eea(0x2ba)]),w(0x8,g[_0x162eea(0x462)]),w(0x9,a['IUndoRedoService']),w(0xa,a['Optional'](z))],exports[_0x162eea(0x368)]),exports[_0x162eea(0x473)]=class extends he{constructor(_0x1c9aac,_0x35d1ed,_0x2437c1,_0x24a745,_0x2e87d0,_0x61622e,_0x2c03a4,_0x16dffe,_0x50094e,_0xfb38a1,_0x2ead43,_0x2666f1,_0x232900){var _0x433155=_0x162eea;super(_0x1c9aac,_0x35d1ed,_0x2437c1,_0x24a745,_0x2e87d0,_0x50094e,_0x2666f1,_0x16dffe,_0x232900),A(this,_0x433155(0x23e),_0x433155(0x3e0)),A(this,'_resendTimeout',0x0),A(this,_0x433155(0x4e7)),A(this,_0x433155(0x4fc)),(this[_0x433155(0x36f)]=_0x2c03a4,this[_0x433155(0x2ee)]=_0xfb38a1,this[_0x433155(0x424)]=_0x2ead43,this[_0x433155(0x1dd)]=_0x232900,_0x61622e&&(this[_0x433155(0x4e7)]=_0x61622e,this[_0x433155(0x4fc)]=this[_0x433155(0x4e7)][_0x433155(0x352)](({reqId:_0x5e6e45,timeout:_0x17c676})=>{var _0x28f34f=_0x433155;this[_0x28f34f(0x3ff)](_0x5e6e45,_0x17c676);})));}['appendMutation'](_0x5e1f2f){var _0x40eee7=_0x162eea;return this[_0x40eee7(0x391)][_0x40eee7(0x38c)](_0x5e1f2f),this;}[_0x162eea(0x397)](_0x4c5d4f){var _0x3b83a9=_0x162eea;if(this[_0x3b83a9(0x4c6)](_0x4c5d4f))return this[_0x3b83a9(0x4ce)](),this[_0x3b83a9(0x36f)][_0x3b83a9(0x43b)](exports[_0x3b83a9(0x255)],this[_0x3b83a9(0x21a)],this['type'],this[_0x3b83a9(0x3df)],this['_pendingMutations'],null,[_0x4c5d4f],this['_handler']);try{const _0x3d7053=this[_0x3b83a9(0x424)][_0x3b83a9(0x3d8)]([_0x4c5d4f],[this[_0x3b83a9(0x3df)]],!0x1);if(g[_0x3b83a9(0x2b2)](_0x3d7053)){const {c1Prime:_0x289ed6,c2Prime:_0x3f1268}=_0x3d7053,_0x38fc3c=this[_0x3b83a9(0x424)][_0x3b83a9(0x361)](_0x289ed6[0x0],this[_0x3b83a9(0x391)]);if(g[_0x3b83a9(0x1d7)](_0x38fc3c)){const {c1Prime:_0x216e59,m2Prime:_0x429beb}=_0x38fc3c;return this[_0x3b83a9(0x3a8)](_0x216e59),_0x3f1268[0x0][_0x3b83a9(0x467)]=this[_0x3b83a9(0x316)](),this[_0x3b83a9(0x4ce)](),this['_injector'][_0x3b83a9(0x43b)](exports[_0x3b83a9(0x473)],this[_0x3b83a9(0x21a)],this[_0x3b83a9(0x469)],_0x3f1268[0x0],_0x429beb,this['_handler'],void 0x0);}throw _0x38fc3c[_0x3b83a9(0x389)];}throw _0x3d7053['error'];}catch(_0x390827){return this['_logService'][_0x3b83a9(0x389)](_0x390827),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x115c6b){var _0x32460b=_0x162eea;if(this[_0x32460b(0x4ce)](),this[_0x32460b(0x4c6)](_0x115c6b))return this['_injector']['createInstance'](exports['FetchingMissState'],this[_0x32460b(0x21a)],this[_0x32460b(0x469)],null,this[_0x32460b(0x391)],this[_0x32460b(0x3df)],[],this['_handler']);this[_0x32460b(0x33a)]();const _0x321f36=this[_0x32460b(0x36f)]['createInstance'](exports[_0x32460b(0x2a1)],this[_0x32460b(0x21a)],this['type'],this[_0x32460b(0x391)],this[_0x32460b(0x395)]);return _0x321f36['_schedule'](),_0x321f36[_0x32460b(0x50e)](),_0x321f36;}[_0x162eea(0x523)](_0x57e52b){var _0x2af87a=_0x162eea;return this[_0x2af87a(0x470)](!!(_0x57e52b!=null&&_0x57e52b[_0x2af87a(0x273)]));}[_0x162eea(0x2cb)](_0x347127){var _0x32836a=_0x162eea;return this[_0x32836a(0x439)]>Nt?this[_0x32836a(0x26d)]():(this[_0x32836a(0x4e7)]=yt(this[_0x32836a(0x439)],{'timeout':this[_0x32836a(0x439)],'reqId':_0x347127[_0x32836a(0x297)]}),this[_0x32836a(0x4fc)]=this['_resendTimer'][_0x32836a(0x352)](({reqId:_0x4a438e,timeout:_0x25e8d7})=>{this['_resendWithTimeout'](_0x4a438e,_0x25e8d7);}),this);}[_0x162eea(0x26d)](){var _0x5d1d2c=_0x162eea;return this[_0x5d1d2c(0x4ce)](),this[_0x5d1d2c(0x36f)][_0x5d1d2c(0x43b)](exports['OfflineState'],this[_0x5d1d2c(0x21a)],this['type'],this[_0x5d1d2c(0x3df)],this[_0x5d1d2c(0x391)],this[_0x5d1d2c(0x395)]);}['toggleOnline'](){return this;}['resend'](){var _0x17a9ca=_0x162eea;this[_0x17a9ca(0x395)]['onSendChangeset'](this[_0x17a9ca(0x3df)]);}['_onConflict'](_0x34c103){var _0x562774=_0x162eea;return this[_0x562774(0x4ce)](),this[_0x562774(0x36f)][_0x562774(0x43b)](exports[_0x562774(0x33e)],this[_0x562774(0x21a)],this[_0x562774(0x469)],null,this['_pendingMutations'],this[_0x562774(0x395)],_0x34c103);}[_0x162eea(0x3ff)](_0x25ea52,_0x15f98c){var _0x5d0338=_0x162eea,_0x22cd12;_0x25ea52===((_0x22cd12=this[_0x5d0338(0x3df)])==null?void 0x0:_0x22cd12[_0x5d0338(0x297)])&&(this[_0x5d0338(0x3b3)](),this[_0x5d0338(0x439)]=_0x15f98c===0x0?0x3e8:_0x15f98c*0x2);}[_0x162eea(0x4ce)](){var _0x2eaa22=_0x162eea,_0x590e7c;(_0x590e7c=this[_0x2eaa22(0x4fc)])==null||_0x590e7c[_0x2eaa22(0x2c7)](),this[_0x2eaa22(0x439)]=0x0;}},exports[_0x162eea(0x473)]=ce([w(0x6,a[_0x162eea(0x1ec)](a['Injector'])),w(0x7,a[_0x162eea(0x1ec)](g[_0x162eea(0x33c)])),w(0x8,a[_0x162eea(0x46d)]),w(0x9,a[_0x162eea(0x2ba)]),w(0xa,g[_0x162eea(0x462)]),w(0xb,a[_0x162eea(0x482)]),w(0xc,a[_0x162eea(0x2dc)](z))],exports[_0x162eea(0x473)]),exports[_0x162eea(0x33e)]=class extends he{constructor(_0x2da68d,_0x175508,_0x50ebe6,_0x1841a5,_0x28d3de,_0x475fd6=!0x1,_0x124632,_0x3ffce3,_0x3898cf,_0x42b76a,_0x4f6e6b,_0x4f1ae8,_0x423e6f){var _0x31a371=_0x162eea;super(_0x2da68d,_0x175508,_0x50ebe6,_0x1841a5,_0x28d3de,_0x3ffce3,_0x3898cf,_0x42b76a,_0x423e6f),A(this,_0x31a371(0x23e),'conflict'),(this[_0x31a371(0x20c)]=_0x475fd6,this['_permissionService']=_0x124632,this[_0x31a371(0x34e)]=_0x4f6e6b,this[_0x31a371(0x41b)]=_0x4f1ae8,this['localCacheService']=_0x423e6f,this[_0x31a371(0x48e)](),this['_clearLocalCache'](),this[_0x31a371(0x28f)]());}[_0x162eea(0x474)](){return this;}[_0x162eea(0x397)](){return this;}[_0x162eea(0x304)](){return this;}[_0x162eea(0x523)](){return this;}[_0x162eea(0x2cb)](){return this;}[_0x162eea(0x26d)](){return this;}[_0x162eea(0x47b)](){return this;}[_0x162eea(0x3b3)](){var _0x469fb7=_0x162eea;throw new Error(_0x469fb7(0x3ee));}[_0x162eea(0x3f0)](){var _0x2f4bda=_0x162eea,_0x2947d9;(_0x2947d9=this[_0x2f4bda(0x1ad)])==null||_0x2947d9[_0x2f4bda(0x3a1)](this[_0x2f4bda(0x21a)],this[_0x2f4bda(0x469)],null,[]);}['_showConflictNotification'](){var _0x5d4236=_0x162eea;this[_0x5d4236(0x20c)]?this[_0x5d4236(0x41b)]['emitEvent']({'id':Q['PERMISSION_DENIED']}):this[_0x5d4236(0x41b)][_0x5d4236(0x250)]({'id':Q[_0x5d4236(0x1b5)]});}[_0x162eea(0x28f)](){var _0x30edb9=_0x162eea;this['_permissionService'][_0x30edb9(0x286)](new Z[(_0x30edb9(0x2b5))](this[_0x30edb9(0x21a)])['id'],!0x1);}},exports[_0x162eea(0x33e)]=ce([w(0x6,a[_0x162eea(0x1ec)](a['IPermissionService'])),w(0x7,a[_0x162eea(0x46d)]),w(0x8,a[_0x162eea(0x482)]),w(0x9,a[_0x162eea(0x1ec)](g[_0x162eea(0x33c)])),w(0xa,a[_0x162eea(0x1ec)](a[_0x162eea(0x2e5)])),w(0xb,a[_0x162eea(0x1ec)](te)),w(0xc,a[_0x162eea(0x2dc)](z))],exports[_0x162eea(0x33e)]),exports[_0x162eea(0x203)]=class extends he{constructor(_0x160e07,_0x224f83,_0x3e3948,_0x531945,_0x5729ab,_0x29201,_0x35a6d0,_0x7ba812,_0x32fa03,_0x287efb){var _0x1a3c20=_0x162eea;super(_0x160e07,_0x224f83,_0x3e3948,_0x531945,_0x5729ab,_0x7ba812,_0x32fa03,_0x35a6d0,_0x287efb),A(this,'status',_0x1a3c20(0x44c)),this['_injector']=_0x29201;}[_0x162eea(0x474)](_0x2dd0cb){var _0x18e008=_0x162eea;return this['_pendingMutations']['push'](_0x2dd0cb),this[_0x18e008(0x50e)](),this;}[_0x162eea(0x397)](_0x14e3fb){var _0x28af46=_0x162eea;throw new Error(_0x28af46(0x27a));}[_0x162eea(0x304)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x162eea(0x523)](){var _0x5ca1bd=_0x162eea;throw new Error(_0x5ca1bd(0x4c3));}[_0x162eea(0x2cb)](){return this;}[_0x162eea(0x26d)](){return this;}[_0x162eea(0x47b)](){var _0x334c91=_0x162eea;const {_injector:_0x55a1e9,_pendingMutations:_0x1c6943,_awaitingChangeset:_0x49f99a,unitID:_0xd148bf,_handler:_0x6aacbc,type:_0x4ce332}=this,_0x5674ad=Dt(_0x55a1e9,_0xd148bf,_0x4ce332,_0x49f99a,_0x1c6943,_0x6aacbc);return _0x5674ad instanceof exports['PendingState']?_0x5674ad['_schedule']():(_0x5674ad instanceof exports[_0x334c91(0x473)]||_0x5674ad instanceof exports['AwaitingState'])&&_0x5674ad[_0x334c91(0x3b3)](),_0x5674ad;}[_0x162eea(0x3b3)](){var _0x22ca34=_0x162eea;throw new Error(_0x22ca34(0x2d9));}},exports[_0x162eea(0x203)]=ce([w(0x5,a[_0x162eea(0x1ec)](a['Injector'])),w(0x6,a[_0x162eea(0x1ec)](g[_0x162eea(0x33c)])),w(0x7,a[_0x162eea(0x46d)]),w(0x8,a[_0x162eea(0x482)]),w(0x9,a[_0x162eea(0x2dc)](z))],exports[_0x162eea(0x203)]),exports['FetchingMissState']=class extends he{constructor(_0x38566d,_0xbd31bb,_0x43c21d,_0x4612d2,_0x38d1f3,_0x59705f,_0x7deff1,_0x4ecbda,_0x167b12,_0x53f385,_0x40c7fb,_0x979bdc,_0x3ed9e9,_0x37276e){var _0x2102ae=_0x162eea;super(_0x38566d,_0xbd31bb,_0x43c21d,_0x4612d2,_0x7deff1,_0x40c7fb,_0x979bdc,_0x167b12,_0x37276e),A(this,_0x2102ae(0x23e),'fetch_missing'),(this[_0x2102ae(0x356)]=_0x38d1f3,this[_0x2102ae(0x40e)]=_0x59705f,this[_0x2102ae(0x36f)]=_0x4ecbda,this[_0x2102ae(0x2ee)]=_0x53f385,this[_0x2102ae(0x424)]=_0x3ed9e9,this['localCacheService']=_0x37276e);}['onMissedChangesetFetched'](_0x2951c1){var _0x15814e=_0x162eea;try{const _0x90a9a3=[..._0x2951c1,...this[_0x15814e(0x40e)]],_0x1a717c=[this[_0x15814e(0x3df)]||this[_0x15814e(0x356)]][_0x15814e(0x45f)](_0x45c4cb=>!!_0x45c4cb);let _0x1b4d6e,_0xa4f76d;if(_0x1a717c[_0x15814e(0x359)]){const _0x300c82=this[_0x15814e(0x424)][_0x15814e(0x3d8)](_0x90a9a3,_0x1a717c,!0x1);if(!g[_0x15814e(0x2b2)](_0x300c82))throw _0x300c82[_0x15814e(0x389)];_0x1b4d6e=_0x300c82[_0x15814e(0x204)],_0xa4f76d=_0x300c82[_0x15814e(0x38b)];}else _0x1b4d6e=_0x90a9a3,_0xa4f76d=[];let _0xbfcb16=this[_0x15814e(0x391)];_0x1b4d6e[_0x15814e(0x290)](_0x4e30f7=>{var _0x46e01f=_0x15814e;let _0x3e6868;if(_0xbfcb16[_0x46e01f(0x359)]){const _0x5cd852=this[_0x46e01f(0x424)][_0x46e01f(0x361)](_0x4e30f7,_0xbfcb16);if(!g[_0x46e01f(0x1d7)](_0x5cd852))throw _0x5cd852[_0x46e01f(0x389)];_0x3e6868=_0x5cd852['c1Prime'],_0xbfcb16=_0x5cd852[_0x46e01f(0x1e5)];}else _0x3e6868=_0x4e30f7;this[_0x46e01f(0x3a8)](_0x3e6868);}),this[_0x15814e(0x356)]&&this[_0x15814e(0x33a)](),this[_0x15814e(0x3df)]&&_0xa4f76d['length']&&(_0xa4f76d[0x0][_0x15814e(0x467)]=this['_getCurrentRevision']());let _0x54881a;if(this[_0x15814e(0x3df)]&&_0xbfcb16[_0x15814e(0x359)]!==0x0)_0x54881a=this['_injector'][_0x15814e(0x43b)](exports[_0x15814e(0x473)],this['unitID'],this[_0x15814e(0x469)],_0xa4f76d[0x0],_0xbfcb16,this[_0x15814e(0x395)],void 0x0);else{if(this[_0x15814e(0x3df)]&&_0xbfcb16[_0x15814e(0x359)]===0x0)_0xa4f76d[0x0]['baseRev']=this[_0x15814e(0x316)](),_0x54881a=this[_0x15814e(0x36f)]['createInstance'](exports[_0x15814e(0x368)],this['unitID'],this[_0x15814e(0x469)],_0xa4f76d[0x0],this[_0x15814e(0x395)]);else{if(_0xbfcb16[_0x15814e(0x359)]!==0x0){const _0x1453e9=this['_injector'][_0x15814e(0x43b)](exports[_0x15814e(0x2a1)],this[_0x15814e(0x21a)],this['type'],_0xbfcb16,this['_handler']);_0x1453e9[_0x15814e(0x2bc)](),_0x54881a=_0x1453e9;}else _0x54881a=this[_0x15814e(0x36f)][_0x15814e(0x43b)](exports[_0x15814e(0x500)],this[_0x15814e(0x21a)],this['type'],this[_0x15814e(0x395)]);}}return _0x54881a[_0x15814e(0x50e)](),_0x54881a;}catch(_0x289fd4){return this[_0x15814e(0x2ee)][_0x15814e(0x389)](_0x15814e(0x345),_0x15814e(0x3fe),_0x289fd4),this['_injector']['createInstance'](exports[_0x15814e(0x33e)],this[_0x15814e(0x21a)],this[_0x15814e(0x469)],this['_awaitingChangeset'],this[_0x15814e(0x391)],this['_handler'],!0x1);}}[_0x162eea(0x3b3)](){var _0x56a92a=_0x162eea;throw new Error(_0x56a92a(0x21b));}[_0x162eea(0x474)](_0xc7da22){var _0x3949e2=_0x162eea;return this[_0x3949e2(0x391)]['push'](_0xc7da22),this;}['onRemoteChangeset'](_0x3f8ac3){var _0x3ce80a=_0x162eea;return this[_0x3ce80a(0x40e)][_0x3ce80a(0x38c)](_0x3f8ac3),this;}[_0x162eea(0x304)](_0x144a7e){var _0x3a2ee8=_0x162eea;if(this[_0x3a2ee8(0x3df)])return this[_0x3a2ee8(0x356)]=this[_0x3a2ee8(0x3df)],this[_0x3a2ee8(0x3df)]=null,this;throw new Error(_0x3a2ee8(0x34d));}['onRemoteRej'](_0x490a84){var _0xd96ad7=_0x162eea;return this[_0xd96ad7(0x470)](!!(_0x490a84!=null&&_0x490a84[_0xd96ad7(0x273)]));}[_0x162eea(0x2cb)](){return this;}[_0x162eea(0x26d)](){var _0x4d2a22=_0x162eea;return this['_injector'][_0x4d2a22(0x43b)](exports[_0x4d2a22(0x203)],this[_0x4d2a22(0x21a)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x4d2a22(0x395)]);}[_0x162eea(0x47b)](){return this;}['_onConflict'](_0x4a031d){var _0x542dc1=_0x162eea;return this['_injector'][_0x542dc1(0x43b)](exports[_0x542dc1(0x33e)],this[_0x542dc1(0x21a)],this['type'],this['_awaitingChangeset'],this[_0x542dc1(0x391)],this[_0x542dc1(0x395)],_0x4a031d);}},exports[_0x162eea(0x255)]=ce([w(0x7,a[_0x162eea(0x1ec)](a[_0x162eea(0x3c3)])),w(0x8,a[_0x162eea(0x1ec)](g['RevisionService'])),w(0x9,a['ILogService']),w(0xa,a[_0x162eea(0x46d)]),w(0xb,a[_0x162eea(0x482)]),w(0xc,g['ITransformService']),w(0xd,a[_0x162eea(0x2dc)](z))],exports[_0x162eea(0x255)]);function Dt(_0x2d839a,_0x32a692,_0x493ca2,_0x2ed0f7,_0x158f7e,_0x4999a8){var _0xfb2b15=_0x162eea;return _0x2ed0f7&&_0x158f7e[_0xfb2b15(0x359)]?_0x2d839a['createInstance'](exports[_0xfb2b15(0x473)],_0x32a692,_0x493ca2,_0x2ed0f7,_0x158f7e,_0x4999a8,void 0x0):_0x2ed0f7?_0x2d839a['createInstance'](exports[_0xfb2b15(0x368)],_0x32a692,_0x493ca2,_0x2ed0f7,_0x4999a8):_0x158f7e[_0xfb2b15(0x359)]?_0x2d839a['createInstance'](exports[_0xfb2b15(0x2a1)],_0x32a692,_0x493ca2,_0x158f7e,_0x4999a8):_0x2d839a['createInstance'](exports[_0xfb2b15(0x500)],_0x32a692,_0x493ca2,_0x4999a8);}var Ci=Object[_0x162eea(0x4db)],We=(_0x13315a,_0xf5fbfb,_0xa56c66,_0xdc0f02)=>{var _0x7e7ac0=_0x162eea;for(var _0x59d255=_0xdc0f02>0x1?void 0x0:_0xdc0f02?Ci(_0xf5fbfb,_0xa56c66):_0xf5fbfb,_0x485e51=_0x13315a[_0x7e7ac0(0x359)]-0x1,_0x1e54e9;_0x485e51>=0x0;_0x485e51--)(_0x1e54e9=_0x13315a[_0x485e51])&&(_0x59d255=_0x1e54e9(_0x59d255)||_0x59d255);return _0x59d255;},$=(_0x4cdc40,_0xf1d666)=>(_0x56a95f,_0x2ad85f)=>_0xf1d666(_0x56a95f,_0x2ad85f,_0x4cdc40);exports[_0x162eea(0x4ad)]=class extends a[_0x162eea(0x1d9)]{constructor(_0xeddd95,_0x449ee3,_0x57e3d7,_0x320bc4,_0x5752ab,_0x5baf54,_0x4d9281,_0x11f4cb,_0x2a01fd,_0x627dd1,_0x2785aa,_0x1ab530,_0x3fdd8c){var _0x133815=_0x162eea;super(),A(this,_0x133815(0x2c5),new j['BehaviorSubject'](null)),A(this,_0x133815(0x28e),this[_0x133815(0x2c5)][_0x133815(0x521)]()),A(this,_0x133815(0x39d)),A(this,_0x133815(0x32e),!0x1),A(this,'_changesetSessionId',''),A(this,_0x133815(0x2ef),0x0),A(this,'status$',this[_0x133815(0x28e)]['pipe'](j[_0x133815(0x320)](_0x551d3e=>_0x551d3e?_0x551d3e[_0x133815(0x23e)]:Ve[_0x133815(0x3c0)]),j[_0x133815(0x413)](0x1))),A(this,_0x133815(0x26c),!0x1),A(this,_0x133815(0x22d),[]),(this['unitID']=_0xeddd95,this[_0x133815(0x45e)]=_0x449ee3,this['_type']=_0x57e3d7,this['_injector']=_0x320bc4,this[_0x133815(0x1b7)]=_0x5752ab,this[_0x133815(0x34e)]=_0x5baf54,this[_0x133815(0x437)]=_0x4d9281,this['_eventService']=_0x11f4cb,this[_0x133815(0x2ee)]=_0x2a01fd,this['_commandService']=_0x627dd1,this[_0x133815(0x425)]=_0x2785aa,this[_0x133815(0x4b5)]=_0x1ab530,this[_0x133815(0x1ad)]=_0x3fdd8c);}get[_0x162eea(0x1d0)](){var _0x38aad3=_0x162eea;return this[_0x38aad3(0x39d)];}async[_0x162eea(0x227)](){var _0x930433=_0x162eea;if(this[_0x930433(0x1d0)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x930433(0x2fe)]();}[_0x162eea(0x209)](){var _0x21e7ec=_0x162eea;return this['_collaborationPaused']=!0x0,a[_0x21e7ec(0x4f3)](()=>{var _0x287b9d=_0x21e7ec;this[_0x287b9d(0x32e)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x162eea(0x25c)](_0x177f10){var _0x27f1c7=_0x162eea;this[_0x27f1c7(0x4de)](_0x177f10);}[_0x162eea(0x49c)](_0x45fb4c){var _0x376254=_0x162eea;this[_0x376254(0x39d)]=_0x45fb4c,this[_0x376254(0x2c5)]['next'](_0x45fb4c);}async[_0x162eea(0x2fe)](){var _0x2cbbab=_0x162eea,_0x5cd5a8;this[_0x2cbbab(0x49c)](await this[_0x2cbbab(0x208)]()),this[_0x2cbbab(0x4b5)]&&((_0x5cd5a8=this[_0x2cbbab(0x4b5)])==null||_0x5cd5a8['editingUnit'](this[_0x2cbbab(0x21a)]),this[_0x2cbbab(0x1f2)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x2cbbab(0x21a)])['subscribe'](_0x581710=>{var _0x4b20f3=_0x2cbbab;this[_0x4b20f3(0x2ee)][_0x4b20f3(0x428)](_0x4b20f3(0x278),'editing\x20status\x20changed\x20to',_0x581710),_0x581710===Fe[_0x4b20f3(0x1d4)]?(this['_eventService']['emitEvent']({'id':Q[_0x4b20f3(0x518)]}),this[_0x4b20f3(0x425)][_0x4b20f3(0x286)](new Z[(_0x4b20f3(0x2b5))](this[_0x4b20f3(0x21a)])['id'],!0x1),this[_0x4b20f3(0x425)][_0x4b20f3(0x388)](!0x1)):(this[_0x4b20f3(0x425)][_0x4b20f3(0x286)](new Z[(_0x4b20f3(0x2b5))](this['unitID'])['id'],!0x0),this[_0x4b20f3(0x425)]['setShowComponents'](!0x0));})));let _0x477b84=!0x1;return this[_0x2cbbab(0x1f2)](this[_0x2cbbab(0x45e)][_0x2cbbab(0x4d8)]['subscribe'](_0x4884ec=>{var _0x177a11=_0x2cbbab;_0x4884ec===se[_0x177a11(0x3e2)]?this[_0x177a11(0x39a)](_0x477b84):_0x4884ec===se[_0x177a11(0x3c0)]&&(_0x477b84=!0x0,this['_toggleOffline']());})),this[_0x2cbbab(0x1f2)](this[_0x2cbbab(0x45e)][_0x2cbbab(0x334)][_0x2cbbab(0x352)](_0x127f2b=>{var _0x4112bd=_0x2cbbab;try{switch(_0x127f2b[_0x4112bd(0x480)]){case g[_0x4112bd(0x4c4)][_0x4112bd(0x442)]:{this[_0x4112bd(0x2a7)](g['parseProtocolChangeset'](_0x127f2b[_0x4112bd(0x23d)]));break;}case g[_0x4112bd(0x4c4)][_0x4112bd(0x24b)]:{this[_0x4112bd(0x31e)](_0x127f2b[_0x4112bd(0x23d)]);break;}case g['CollaborationEvent'][_0x4112bd(0x4fd)]:{this[_0x4112bd(0x1ce)]();break;}case g[_0x4112bd(0x4c4)][_0x4112bd(0x4e8)]:{this[_0x4112bd(0x1e1)](_0x127f2b[_0x4112bd(0x23d)]);break;}case g[_0x4112bd(0x4c4)][_0x4112bd(0x527)]:{this[_0x4112bd(0x260)](_0x127f2b[_0x4112bd(0x23d)][_0x4112bd(0x232)]['map'](_0x3c117b=>g[_0x4112bd(0x4a8)](_0x3c117b)));break;}case g['CollaborationEvent'][_0x4112bd(0x48a)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case g['CollaborationEvent'][_0x4112bd(0x393)]:break;}}catch(_0x2bd423){throw console[_0x4112bd(0x389)]('Error\x20on\x20receiving\x20event',_0x2bd423),_0x2bd423;}})),this[_0x2cbbab(0x39d)];}['_unlockTransition'](){var _0x2cdb36=_0x162eea;this[_0x2cdb36(0x26c)]=!0x1;}['_lockTransition'](){var _0x90c79c=_0x162eea;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x90c79c(0x26c)]=!0x0;}[_0x162eea(0x4de)](_0xbb13db){var _0x255138=_0x162eea;this[_0x255138(0x4cb)](),this[_0x255138(0x49c)](this[_0x255138(0x39d)][_0x255138(0x474)](_0xbb13db)),this[_0x255138(0x328)]();}['_onRemoteChangeset'](_0x39f141){var _0x587ad7=_0x162eea;if(!(_0x39f141[_0x587ad7(0x414)]<=this[_0x587ad7(0x437)][_0x587ad7(0x353)](this[_0x587ad7(0x21a)]))){if(this[_0x587ad7(0x32e)]){this[_0x587ad7(0x22d)][_0x587ad7(0x38c)](_0x39f141);return;}this[_0x587ad7(0x265)](_0x39f141);}}[_0x162eea(0x434)](){var _0x5a64f6=_0x162eea;this['_remoteChangesetQueue'][_0x5a64f6(0x290)](_0x645d14=>this[_0x5a64f6(0x265)](_0x645d14)),this[_0x5a64f6(0x22d)]=[];}[_0x162eea(0x265)](_0x4e7ac9){var _0x5e44e8=_0x162eea;const _0x22c9d5=this[_0x5e44e8(0x1b7)]['interceptor'][_0x5e44e8(0x4ef)](this['_compressMutationService'][_0x5e44e8(0x4e0)][_0x5e44e8(0x3a0)]()[_0x5e44e8(0x3a9)])(_0x4e7ac9['mutations'],null)||_0x4e7ac9[_0x5e44e8(0x27b)],_0x582d5f={..._0x4e7ac9,'mutations':_0x22c9d5};this[_0x5e44e8(0x4cb)](),this[_0x5e44e8(0x49c)](this[_0x5e44e8(0x39d)][_0x5e44e8(0x397)](_0x582d5f)),this[_0x5e44e8(0x328)]();}['_onRemoteACK'](_0x415e25){var _0x5e44b9=_0x162eea;this[_0x5e44b9(0x4cb)](),this[_0x5e44b9(0x49c)](this[_0x5e44b9(0x39d)][_0x5e44b9(0x304)](_0x415e25)),this[_0x5e44b9(0x328)]();}['_onRemoteRejected'](_0x1246c1){var _0x35235d=_0x162eea;this[_0x35235d(0x4cb)](),this[_0x35235d(0x49c)](this[_0x35235d(0x39d)][_0x35235d(0x523)](_0x1246c1)),this[_0x35235d(0x328)]();}['_onRemoteRetry'](_0x49bd04){var _0x5f1fde=_0x162eea;this[_0x5f1fde(0x4cb)](),this[_0x5f1fde(0x49c)](this[_0x5f1fde(0x39d)][_0x5f1fde(0x2cb)](_0x49bd04)),this[_0x5f1fde(0x328)]();}[_0x162eea(0x260)](_0x2c5586){var _0x3684da=_0x162eea;if(!(this[_0x3684da(0x39d)]instanceof exports[_0x3684da(0x255)]))throw new TypeError(_0x3684da(0x444));const _0x22fabf=_0x2c5586[_0x3684da(0x320)](_0x472615=>{var _0x3a1794=_0x3684da;const _0x238bcb=this[_0x3a1794(0x1b7)][_0x3a1794(0x4e0)]['fetchThroughInterceptors'](this[_0x3a1794(0x1b7)][_0x3a1794(0x4e0)][_0x3a1794(0x3a0)]()['COMPRESS_MUTATION_APPLY'])(_0x472615[_0x3a1794(0x27b)],null)||_0x472615[_0x3a1794(0x27b)];return{..._0x472615,'mutations':_0x238bcb};});this[_0x3684da(0x4cb)](),this[_0x3684da(0x49c)](this[_0x3684da(0x39d)][_0x3684da(0x1fc)](_0x22fabf)),this['_unlockTransition']();}[_0x162eea(0x312)](){var _0x3ad17b=_0x162eea;this[_0x3ad17b(0x4cb)](),this[_0x3ad17b(0x49c)](this[_0x3ad17b(0x39d)]['toggleOffline']()),this['_unlockTransition']();}[_0x162eea(0x39a)](_0x3f7b34=!0x1){var _0x2da35f=_0x162eea;this['_lockTransition'](),this[_0x2da35f(0x49c)](this['_state'][_0x2da35f(0x47b)]()),this[_0x2da35f(0x328)]();const _0xe31460=this[_0x2da35f(0x39d)];_0x3f7b34&&_0xe31460 instanceof exports[_0x2da35f(0x500)]&&(this[_0x2da35f(0x4cb)](),this[_0x2da35f(0x49c)](_0xe31460[_0x2da35f(0x212)]()),this[_0x2da35f(0x328)]());}async['_createInitialState'](){return new Promise(_0x3abe94=>{var _0x3c7180=_0x32dc;this[_0x3c7180(0x45e)]['sessionStatus$']['pipe'](j[_0x3c7180(0x1c2)](0x1))['subscribe'](async _0x592a44=>{var _0x4db50c=_0x3c7180;_0x3abe94(await this['_createInitialStateImpl'](_0x592a44===se[_0x4db50c(0x3e2)]));});});}[_0x162eea(0x307)](){const _0x59810a=this['unitID'];return{'onStateChange':(_0x5c7a55,_0x4ff95c)=>{var _0x5c56ba=_0x32dc;if(_0x5c7a55!==this['_state'])throw new Error(_0x5c56ba(0x201)+_0x5c7a55[_0x5c56ba(0x23e)]+_0x5c56ba(0x36e)+_0x4ff95c['status']+_0x5c56ba(0x48f)+this['_state'][_0x5c56ba(0x23e)]);this[_0x5c56ba(0x49c)](_0x4ff95c);},'onSendChangeset':_0x3e92f1=>{var _0xc10f19=_0x32dc;_0x3e92f1[_0xc10f19(0x30f)]||(_0x3e92f1[_0xc10f19(0x30f)]=this[_0xc10f19(0x1c3)],_0x3e92f1[_0xc10f19(0x297)]=++this['_changesetReqId']);const _0x4a42e2={'eventID':g['CollaborationEvent'][_0xc10f19(0x370)],'data':{'unitID':_0x3e92f1[_0xc10f19(0x21a)],'unitType':this[_0xc10f19(0x295)],'changeset':_0x3e92f1,'memberID':this['session'][_0xc10f19(0x1bf)]()}};this[_0xc10f19(0x45e)]['send'](_0x4a42e2,this[_0xc10f19(0x21a)]);},'onMissingChangesets':({from:_0x3fe1bf,to:_0x50960b})=>{var _0x746ce1=_0x32dc;this[_0x746ce1(0x2ee)][_0x746ce1(0x428)]('[CollaborationEntity]',_0x746ce1(0x257)+_0x3fe1bf+_0x746ce1(0x432)+_0x50960b);const _0x54c243={'eventID':g[_0x746ce1(0x4c4)][_0x746ce1(0x3f6)],'data':{'unitID':_0x59810a,'unitType':this['_type'],'from':_0x3fe1bf,'to':_0x50960b}};this[_0x746ce1(0x45e)][_0x746ce1(0x303)](_0x54c243,this[_0x746ce1(0x21a)]);}};}async[_0x162eea(0x4b3)](_0x4c011c){var _0x2d6918=_0x162eea,_0x13d294,_0x4d3f1e,_0x527e7b;const _0x1bf5e5=await((_0x13d294=this[_0x2d6918(0x1ad)])==null?void 0x0:_0x13d294[_0x2d6918(0x41d)](this[_0x2d6918(0x21a)])),_0x4d25de=(_0x4d3f1e=_0x1bf5e5==null?void 0x0:_0x1bf5e5[_0x2d6918(0x27b)])!=null?_0x4d3f1e:[],_0x31f3b1=(_0x527e7b=_0x1bf5e5==null?void 0x0:_0x1bf5e5[_0x2d6918(0x325)])!=null?_0x527e7b:null,_0x2651ff=!!(_0x31f3b1!=null&&_0x31f3b1[_0x2d6918(0x30f)])&&!!(_0x31f3b1!=null&&_0x31f3b1['reqId']);this[_0x2d6918(0x1c3)]=_0x2651ff?_0x31f3b1[_0x2d6918(0x30f)]:di(),this[_0x2d6918(0x2ef)]=_0x2651ff?_0x31f3b1[_0x2d6918(0x297)]:0x0;const _0x353061=this[_0x2d6918(0x21a)];try{this[_0x2d6918(0x4ab)](_0x31f3b1,_0x4d25de);}catch(_0x48f96b){this['_logService'][_0x2d6918(0x389)](_0x48f96b);}const _0x1f452e=this['_createHandler']();if(_0x4c011c){const _0x252afa=Dt(this[_0x2d6918(0x36f)],_0x353061,this[_0x2d6918(0x295)],_0x31f3b1,_0x4d25de,_0x1f452e);return _0x252afa instanceof exports[_0x2d6918(0x2a1)]?_0x252afa['_schedule']():(_0x252afa instanceof exports['AwaitingWithPendingState']||_0x252afa instanceof exports['AwaitingState'])&&_0x252afa[_0x2d6918(0x3b3)](),_0x252afa;}return this[_0x2d6918(0x36f)][_0x2d6918(0x43b)](exports[_0x2d6918(0x203)],_0x353061,this[_0x2d6918(0x295)],_0x31f3b1,_0x4d25de,_0x1f452e);}[_0x162eea(0x4ab)](_0x450234,_0x5de5fd){var _0x218665=_0x162eea,_0x394267,_0x5d07c5;const _0x50f184=this['_compressMutationService'][_0x218665(0x4e0)][_0x218665(0x4ef)](this[_0x218665(0x1b7)][_0x218665(0x4e0)][_0x218665(0x3a0)]()['COMPRESS_MUTATION_APPLY']);(_0x394267=_0x50f184((_0x450234==null?void 0x0:_0x450234[_0x218665(0x27b)])||[],null))==null||_0x394267[_0x218665(0x290)](_0x1c8b9=>this['_commandService']['executeCommand'](_0x1c8b9['id'],_0x1c8b9[_0x218665(0x42c)])),(_0x5d07c5=_0x50f184(_0x5de5fd||[],null))==null||_0x5d07c5['forEach'](_0x15b7a8=>this[_0x218665(0x2ce)][_0x218665(0x319)](_0x15b7a8['id'],_0x15b7a8[_0x218665(0x42c)]));}},exports[_0x162eea(0x4ad)]=We([$(0x3,a['Inject'](a[_0x162eea(0x3c3)])),$(0x4,a[_0x162eea(0x1ec)](g[_0x162eea(0x39b)])),$(0x5,a[_0x162eea(0x1ec)](a['LocaleService'])),$(0x6,a['Inject'](g[_0x162eea(0x33c)])),$(0x7,a[_0x162eea(0x1ec)](te)),$(0x8,a[_0x162eea(0x2ba)]),$(0x9,a['ICommandService']),$(0xa,a['IPermissionService']),$(0xb,a['Optional'](ve)),$(0xc,a[_0x162eea(0x2dc)](z))],exports[_0x162eea(0x4ad)]),exports['DocCollaborationEntity']=class extends exports[_0x162eea(0x4ad)]{constructor(_0x36aefe,_0x2c22f5,_0x1171dd,_0x59b985,_0x5b7216,_0x359d83,_0x233019,_0x1fed12,_0x1ccb42,_0x39823a,_0x278161,_0x2094cf,_0x200e63){var _0x5f5746=_0x162eea;super(_0x36aefe,_0x1171dd,_0x2c22f5,_0x59b985,_0x5b7216,_0x359d83,_0x233019,_0x1fed12,_0x1ccb42,_0x39823a,_0x278161,_0x2094cf,_0x200e63),A(this,_0x5f5746(0x535),null),(this[_0x5f5746(0x21a)]=_0x36aefe,this['type']=_0x2c22f5);}[_0x162eea(0x4df)](_0x486f11){var _0x1b42a2=_0x162eea;this[_0x1b42a2(0x535)]=_0x486f11;}[_0x162eea(0x3aa)](){var _0x2297ac=_0x162eea;this['_handlerCallback']=null,super[_0x2297ac(0x3aa)]();}[_0x162eea(0x307)](){var _0xecbf86=_0x162eea;const _0x392308=super[_0xecbf86(0x307)]();return _0x392308[_0xecbf86(0x205)]=_0xd7520d=>{var _0x5203c5=_0xecbf86,_0x3839b1,_0x5b4c9a;return(_0x5b4c9a=(_0x3839b1=this[_0x5203c5(0x535)])==null?void 0x0:_0x3839b1[_0x5203c5(0x205)])==null?void 0x0:_0x5b4c9a[_0x5203c5(0x4b0)](_0x3839b1,_0xd7520d);},_0x392308[_0xecbf86(0x2bd)]=_0x102c34=>{var _0x460d0a=_0xecbf86,_0x18351d,_0x59ae2a;return(_0x59ae2a=(_0x18351d=this[_0x460d0a(0x535)])==null?void 0x0:_0x18351d[_0x460d0a(0x2bd)])==null?void 0x0:_0x59ae2a[_0x460d0a(0x4b0)](_0x18351d,_0x102c34);},_0x392308['onTransformSelections']=_0x8202f7=>{var _0x56e783=_0xecbf86,_0x175b5,_0x5d1417;return(_0x5d1417=(_0x175b5=this[_0x56e783(0x535)])==null?void 0x0:_0x175b5[_0x56e783(0x40c)])==null?void 0x0:_0x5d1417[_0x56e783(0x4b0)](_0x175b5,_0x8202f7);},_0x392308[_0xecbf86(0x47f)]=_0x1886c6=>{var _0x3a1c76=_0xecbf86,_0x24bb94,_0x45dd7d;return(_0x45dd7d=(_0x24bb94=this[_0x3a1c76(0x535)])==null?void 0x0:_0x24bb94[_0x3a1c76(0x47f)])==null?void 0x0:_0x45dd7d[_0x3a1c76(0x4b0)](_0x24bb94,_0x1886c6);},_0x392308[_0xecbf86(0x3c8)]=_0x2240e6=>{var _0x14fe02=_0xecbf86,_0x31ec95,_0x1970be,_0x5ea1fa;if(!((_0x31ec95=this[_0x14fe02(0x535)])!=null&&_0x31ec95[_0x14fe02(0x3c8)]))throw new Error(_0x14fe02(0x216));return(_0x5ea1fa=(_0x1970be=this['_handlerCallback'])==null?void 0x0:_0x1970be[_0x14fe02(0x3c8)])==null?void 0x0:_0x5ea1fa[_0x14fe02(0x4b0)](_0x1970be,_0x2240e6);},_0x392308['onTransformRemoteChangesetByStateCache']=_0xfad394=>{var _0x4c73fd=_0xecbf86,_0x41ef14,_0x33a4ee,_0x18b1ad;if(!((_0x41ef14=this['_handlerCallback'])!=null&&_0x41ef14['onTransformRemoteChangesetByStateCache']))throw new Error(_0x4c73fd(0x1fb));return(_0x18b1ad=(_0x33a4ee=this[_0x4c73fd(0x535)])==null?void 0x0:_0x33a4ee[_0x4c73fd(0x415)])==null?void 0x0:_0x18b1ad['call'](_0x33a4ee,_0xfad394);},_0x392308;}async[_0x162eea(0x2fe)](){var _0x14198e=_0x162eea;const _0x4b393c=await super[_0x14198e(0x2fe)]();return this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x10814a,_0x562a2a)=>{var _0x301761=_0x14198e;if(_0x10814a['type']!==a[_0x301761(0x346)][_0x301761(0x47a)]||_0x562a2a!=null&&_0x562a2a['fromCollab']||_0x562a2a!=null&&_0x562a2a[_0x301761(0x456)]||_0x10814a['id']===ut['RichTextEditingMutation']['id'])return;const _0x242264=_0x10814a[_0x301761(0x42c)];if((_0x242264==null?void 0x0:_0x242264[_0x301761(0x322)])!==this[_0x301761(0x21a)])return;const _0x29d8c7=_0x10814a,_0x5e778e=this['_compressMutationService'][_0x301761(0x4e0)][_0x301761(0x4ef)](this[_0x301761(0x1b7)][_0x301761(0x4e0)][_0x301761(0x3a0)]()[_0x301761(0x30a)])([_0x29d8c7],null)||[_0x29d8c7];this[_0x301761(0x4de)](_0x5e778e[0x0]);})),_0x4b393c;}},exports[_0x162eea(0x52b)]=We([$(0x3,a[_0x162eea(0x1ec)](a[_0x162eea(0x3c3)])),$(0x4,a[_0x162eea(0x1ec)](g[_0x162eea(0x39b)])),$(0x5,a[_0x162eea(0x1ec)](a[_0x162eea(0x2e5)])),$(0x6,a[_0x162eea(0x1ec)](g[_0x162eea(0x33c)])),$(0x7,a[_0x162eea(0x1ec)](te)),$(0x8,a[_0x162eea(0x2ba)]),$(0x9,a[_0x162eea(0x46d)]),$(0xa,a['IPermissionService']),$(0xb,a['Optional'](ve)),$(0xc,a[_0x162eea(0x2dc)](z))],exports[_0x162eea(0x52b)]),exports[_0x162eea(0x1df)]=class extends exports[_0x162eea(0x4ad)]{constructor(_0x554f47,_0xc74ea9,_0x41140b,_0x493a18,_0x265c7d,_0x44839f,_0x415e24,_0x2a0384,_0x35bb05,_0x488136,_0x45af12,_0x275dc4,_0x35ea9e,_0x3c2898){var _0x149e3e=_0x162eea;super(_0x554f47,_0x41140b,_0xc74ea9,_0x493a18,_0x265c7d,_0x44839f,_0x415e24,_0x35bb05,_0x488136,_0x45af12,_0x275dc4,_0x35ea9e,_0x3c2898),this['unitID']=_0x554f47,this[_0x149e3e(0x469)]=_0xc74ea9,this[_0x149e3e(0x261)]=_0x2a0384;}[_0x162eea(0x307)](){var _0x18d904=_0x162eea;const _0x566bd2=super['_createHandler']();return _0x566bd2['onTransformSelections']=_0x452179=>this['_sheetTransformSelectionsService'][_0x18d904(0x35f)](_0x452179),_0x566bd2;}async[_0x162eea(0x2fe)](){var _0x3147ed=_0x162eea;const _0x3f89a2=await super['_init']();return this[_0x3147ed(0x1f2)](this[_0x3147ed(0x2ce)]['onCommandExecuted']((_0x2de89d,_0x4c9962)=>{var _0x26e7ab=_0x3147ed;if(_0x2de89d[_0x26e7ab(0x469)]!==a[_0x26e7ab(0x346)][_0x26e7ab(0x47a)]||_0x4c9962!=null&&_0x4c9962[_0x26e7ab(0x251)]||_0x4c9962!=null&&_0x4c9962[_0x26e7ab(0x456)])return;const _0x47c2f6=_0x2de89d[_0x26e7ab(0x42c)];if((_0x47c2f6==null?void 0x0:_0x47c2f6[_0x26e7ab(0x322)])!==this['unitID'])return;const _0x2586c5=_0x2de89d,_0x29ab18=this[_0x26e7ab(0x1b7)][_0x26e7ab(0x4e0)][_0x26e7ab(0x4ef)](this[_0x26e7ab(0x1b7)]['interceptor'][_0x26e7ab(0x3a0)]()[_0x26e7ab(0x30a)])([_0x2586c5],null)||[_0x2586c5];this[_0x26e7ab(0x4de)](_0x29ab18[0x0]);})),_0x3f89a2;}},exports[_0x162eea(0x1df)]=We([$(0x3,a[_0x162eea(0x1ec)](a[_0x162eea(0x3c3)])),$(0x4,a[_0x162eea(0x1ec)](g[_0x162eea(0x39b)])),$(0x5,a[_0x162eea(0x1ec)](a[_0x162eea(0x2e5)])),$(0x6,a[_0x162eea(0x1ec)](g[_0x162eea(0x33c)])),$(0x7,a[_0x162eea(0x1ec)](exports[_0x162eea(0x41e)])),$(0x8,a['Inject'](te)),$(0x9,a[_0x162eea(0x2ba)]),$(0xa,a[_0x162eea(0x46d)]),$(0xb,a['IPermissionService']),$(0xc,a[_0x162eea(0x2dc)](ve)),$(0xd,a['Optional'](z))],exports[_0x162eea(0x1df)]);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0x18d1dd,_0x1813bd,_0x3dc685,_0x21995d)=>{var _0xe0c54e=_0x162eea;for(var _0x2e256c=_0x21995d>0x1?void 0x0:_0x21995d?Ti(_0x1813bd,_0x3dc685):_0x1813bd,_0x5821cf=_0x18d1dd[_0xe0c54e(0x359)]-0x1,_0x3e168d;_0x5821cf>=0x0;_0x5821cf--)(_0x3e168d=_0x18d1dd[_0x5821cf])&&(_0x2e256c=_0x3e168d(_0x2e256c)||_0x2e256c);return _0x2e256c;},Pe=(_0x40e9eb,_0x139464)=>(_0x13a708,_0x5d1c2c)=>_0x139464(_0x13a708,_0x5d1c2c,_0x40e9eb);exports[_0x162eea(0x29a)]=class extends a[_0x162eea(0x1d9)]{constructor(_0xe2e3b8,_0x45b29a,_0xb71df7){var _0xa88a1=_0x162eea;super(),A(this,_0xa88a1(0x376),new Map()),A(this,_0xa88a1(0x390),new j[(_0xa88a1(0x506))]()),A(this,'entityInit$',this['_entityInit$'][_0xa88a1(0x521)]()),(this[_0xa88a1(0x36f)]=_0xe2e3b8,this[_0xa88a1(0x1c5)]=_0x45b29a,this['_univerInstanceService']=_0xb71df7,this[_0xa88a1(0x2fe)]());}[_0x162eea(0x3aa)](){var _0xd95bd9=_0x162eea;super[_0xd95bd9(0x3aa)](),this['_entities'][_0xd95bd9(0x290)](_0x4173a7=>_0x4173a7[_0xd95bd9(0x3aa)]()),this[_0xd95bd9(0x376)][_0xd95bd9(0x340)]();}['getCollabEntity'](_0x31b84a){var _0x3e2e9e=_0x162eea,_0x5e3bcf;return(_0x5e3bcf=this[_0x3e2e9e(0x376)][_0x3e2e9e(0x2a8)](_0x31b84a))!=null?_0x5e3bcf:null;}[_0x162eea(0x1dc)](_0x98f196){var _0x2b19fa=_0x162eea;const _0xd4235a=this[_0x2b19fa(0x224)](_0x98f196);return _0xd4235a?j['of'](_0xd4235a):this[_0x2b19fa(0x390)][_0x2b19fa(0x35d)](V[_0x2b19fa(0x45f)](_0x5d9baf=>_0x5d9baf[_0x2b19fa(0x21a)]===_0x98f196));}[_0x162eea(0x43e)](_0x11bcd1){var _0x1942a1=_0x162eea;return j['firstValueFrom'](this[_0x1942a1(0x1dc)](_0x11bcd1)[_0x1942a1(0x35d)](V[_0x1942a1(0x320)](()=>{})));}[_0x162eea(0x2fe)](){var _0xea1567=_0x162eea;this[_0xea1567(0x3c9)]['getTypeOfUnitAdded$'](a['UniverInstanceType']['UNIVER_SHEET'])['pipe'](j[_0xea1567(0x2ff)](this[_0xea1567(0x400)]),V[_0xea1567(0x3cc)](0x10))[_0xea1567(0x352)](async _0x3402d3=>{var _0x41ba00=_0xea1567;const _0x178841=_0x3402d3['getUnitId'](),_0x8074a=await this[_0x41ba00(0x1ed)](_0x178841,X[_0x41ba00(0x1f7)]);this[_0x41ba00(0x376)][_0x41ba00(0x4a6)](_0x178841,_0x8074a);}),this[_0xea1567(0x3c9)][_0xea1567(0x372)](a[_0xea1567(0x354)][_0xea1567(0x351)])['pipe'](j['takeUntil'](this[_0xea1567(0x400)]),V[_0xea1567(0x3cc)](0x10))['pipe'](V[_0xea1567(0x45f)](_0x53211d=>!_0x53211d['getUnitId']()['startsWith']('__')))[_0xea1567(0x352)](async _0x45543e=>{var _0x929c29=_0xea1567;const _0x3d8555=_0x45543e[_0x929c29(0x3f8)](),_0x319f76=await this[_0x929c29(0x1ed)](_0x3d8555,X[_0x929c29(0x351)]);this[_0x929c29(0x376)]['set'](_0x3d8555,_0x319f76);}),j[_0xea1567(0x2a6)](this[_0xea1567(0x3c9)]['getTypeOfUnitDisposed$'](a[_0xea1567(0x354)][_0xea1567(0x1f7)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0xea1567(0x354)][_0xea1567(0x351)]))[_0xea1567(0x35d)](j[_0xea1567(0x2ff)](this[_0xea1567(0x400)]))['subscribe'](_0x4ca649=>{var _0x30cb4b=_0xea1567;const _0x463913=_0x4ca649[_0x30cb4b(0x3f8)](),_0x23b010=this[_0x30cb4b(0x376)][_0x30cb4b(0x2a8)](_0x463913);_0x23b010&&(_0x23b010[_0x30cb4b(0x3aa)](),this[_0x30cb4b(0x376)][_0x30cb4b(0x22b)](_0x463913));});}async[_0x162eea(0x1ed)](_0x531c9e,_0x3c4e2f){var _0x193215=_0x162eea;const _0xad2661=await this[_0x193215(0x1c5)][_0x193215(0x25f)](_0x531c9e),_0x41924a=this['_injector']['createInstance'](this['_getCtorByUniverType'](_0x3c4e2f),_0x531c9e,_0x3c4e2f,_0xad2661);return await _0x41924a[_0x193215(0x227)](),this['_entityInit$'][_0x193215(0x263)](_0x41924a),_0x41924a;}[_0x162eea(0x362)](_0xda7339){var _0x39f2ae=_0x162eea;switch(_0xda7339){case X[_0x39f2ae(0x351)]:return exports[_0x39f2ae(0x52b)];case X['UNIVER_SHEET']:return exports['SheetCollaborationEntity'];default:throw new Error(_0x39f2ae(0x42e)+_0xda7339);}}},exports['CollaborationController']=bi([Pe(0x0,a[_0x162eea(0x1ec)](a[_0x162eea(0x3c3)])),Pe(0x1,a['Inject'](exports[_0x162eea(0x46e)])),Pe(0x2,a[_0x162eea(0x27c)])],exports['CollaborationController']);var Ri=Object[_0x162eea(0x4db)],Oi=(_0xb6d86f,_0x1cc57a,_0x518b49,_0x22fc8d)=>{for(var _0x67266a=_0x22fc8d>0x1?void 0x0:_0x22fc8d?Ri(_0x1cc57a,_0x518b49):_0x1cc57a,_0x234af1=_0xb6d86f['length']-0x1,_0x35109c;_0x234af1>=0x0;_0x234af1--)(_0x35109c=_0xb6d86f[_0x234af1])&&(_0x67266a=_0x35109c(_0x67266a)||_0x67266a);return _0x67266a;},Je=(_0x1228bc,_0x262a7d)=>(_0x599bc6,_0x4f6c79)=>_0x262a7d(_0x599bc6,_0x4f6c79,_0x1228bc);const yi=_0x162eea(0x2a4),Ni='Univer';let He=class extends a[_0x162eea(0x3bb)]{constructor(_0x1c4bf6,_0x4671b2){var _0x4d483b=_0x162eea;super(),this[_0x4d483b(0x3c9)]=_0x1c4bf6,this[_0x4d483b(0x294)]=_0x4671b2,this[_0x4d483b(0x2fe)]();}[_0x162eea(0x2fe)](){var _0x4c54c4=_0x162eea;this[_0x4c54c4(0x1f2)](this[_0x4c54c4(0x3c9)][_0x4c54c4(0x410)]['subscribe'](()=>{var _0x24fc24=_0x4c54c4,_0xf140b7;const _0x25004b=this[_0x24fc24(0x3c9)][_0x24fc24(0x3c4)]();let _0x10cc1c=(_0xf140b7=this[_0x24fc24(0x294)][_0x24fc24(0x49d)](yi))!=null?_0xf140b7:Ni;_0x25004b instanceof a[_0x24fc24(0x4c8)]&&(_0x10cc1c=_0x25004b[_0x24fc24(0x24d)]),document[_0x24fc24(0x219)]=_0x10cc1c;}));}};He=Oi([Je(0x0,a[_0x162eea(0x27c)]),Je(0x1,a[_0x162eea(0x4a1)])],He);var Di=Object[_0x162eea(0x4db)],Ui=(_0x40e820,_0x369446,_0xa46f4,_0x3bcba3)=>{var _0x45b2c6=_0x162eea;for(var _0x17539a=_0x3bcba3>0x1?void 0x0:_0x3bcba3?Di(_0x369446,_0xa46f4):_0x369446,_0xeec7b3=_0x40e820[_0x45b2c6(0x359)]-0x1,_0x2b32b9;_0xeec7b3>=0x0;_0xeec7b3--)(_0x2b32b9=_0x40e820[_0xeec7b3])&&(_0x17539a=_0x2b32b9(_0x17539a)||_0x17539a);return _0x17539a;},we=(_0xde523c,_0x452fe4)=>(_0x5b686a,_0x5044be)=>_0x452fe4(_0x5b686a,_0x5044be,_0xde523c);let ye=class{constructor(_0x4c4c51,_0x331c03,_0x1b21f2){var _0x1882e0=_0x162eea;this[_0x1882e0(0x294)]=_0x4c4c51,this['_httpService']=_0x331c03,this['localeService']=_0x1b21f2,this['init']();}['init'](){var _0xd94d6e=_0x162eea;this[_0xd94d6e(0x51c)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x5ece8a,_0x4d66e2)=>_0x4d66e2(_0x5ece8a)[_0xd94d6e(0x35d)](j[_0xd94d6e(0x2d1)](async _0x5ba929=>{var _0xee256e=_0xd94d6e;const _0x4410bb=_0x5ba929;if(_0x4410bb[_0xee256e(0x23e)]===0x191){if(typeof window>'u')throw new Error(_0xee256e(0x416));if(window['confirm'](this[_0xee256e(0x34a)]['t'](_0xee256e(0x308)))){const _0x1d87c5=window[_0xee256e(0x323)](window['location'][_0xee256e(0x468)]);window[_0xee256e(0x4d7)][_0xee256e(0x468)]=this[_0xee256e(0x1db)]()+_0xee256e(0x2b6)+_0x1d87c5;}}return _0x4410bb;}))});}[_0x162eea(0x1db)](){var _0x5ed4a0=_0x162eea,_0x137831,_0x2bab97;const _0x5d025d=this['_configService'][_0x5ed4a0(0x49d)](Et),_0x472512=this[_0x5ed4a0(0x294)][_0x5ed4a0(0x49d)](Y);return(_0x2bab97=(_0x137831=_0x472512==null?void 0x0:_0x472512[_0x5ed4a0(0x2d0)])!=null?_0x137831:_0x5d025d)!=null?_0x2bab97:Yt;}};ye=Ui([we(0x0,a[_0x162eea(0x4a1)]),we(0x1,a[_0x162eea(0x1ec)](q[_0x162eea(0x3ce)])),we(0x2,a[_0x162eea(0x1ec)](a[_0x162eea(0x2e5)]))],ye);var Ai=Object[_0x162eea(0x4db)],Pi=(_0x925365,_0x349e51,_0x28e25b,_0x59b80f)=>{var _0x3b8a7f=_0x162eea;for(var _0x53d411=_0x59b80f>0x1?void 0x0:_0x59b80f?Ai(_0x349e51,_0x28e25b):_0x349e51,_0xf14d68=_0x925365[_0x3b8a7f(0x359)]-0x1,_0x3cd565;_0xf14d68>=0x0;_0xf14d68--)(_0x3cd565=_0x925365[_0xf14d68])&&(_0x53d411=_0x3cd565(_0x53d411)||_0x53d411);return _0x53d411;},Xe=(_0x548ab,_0x43d053)=>(_0x312431,_0x5c97fe)=>_0x43d053(_0x312431,_0x5c97fe,_0x548ab);const Ge=_0x162eea(0x3d6),wi='/universer-api/authz';exports[_0x162eea(0x383)]=class extends a[_0x162eea(0x3bb)]{constructor(_0x2d5c4e,_0x343fc7){var _0x97254d=_0x162eea;super(),this[_0x97254d(0x44f)]=_0x2d5c4e,this[_0x97254d(0x294)]=_0x343fc7,this[_0x97254d(0x385)]();}[_0x162eea(0x385)](){var _0x516595=_0x162eea;const _0x2c8958=this;this[_0x516595(0x1f2)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x516595(0x1ae)]({'isMatch'(_0x4fa3f5){var _0x512515=_0x516595,_0x43128b;if(_0x4fa3f5[_0x512515(0x1b4)]===_0x512515(0x4f8)&&((_0x43128b=_0x4fa3f5[_0x512515(0x3db)])!=null&&_0x43128b[_0x512515(0x4a9)])){const {objectID:_0x3e620f,objectType:_0x20e0a3}=_0x4fa3f5[_0x512515(0x3db)]['body']||{};if(!_0x3e620f||_0x20e0a3===void 0x0)return!0x1;const _0x1439bd=_0x2c8958[_0x512515(0x243)]()+'/'+_0x20e0a3+_0x512515(0x235)+_0x3e620f+'/allowed';if(_0x4fa3f5[_0x512515(0x2d8)]===_0x1439bd)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x10e487){var _0x83c1e1=_0x516595,_0x36a5a4;return(_0x36a5a4=_0x10e487[_0x83c1e1(0x3db)])==null?void 0x0:_0x36a5a4['body'];},'mergeParamsToRequest'(_0x29423a,_0xff2231){var _0x1e47c6=_0x516595;const _0xfaefa3=_0x2c8958[_0x1e47c6(0x243)]()+_0x1e47c6(0x246),_0x19a2c6=_0x29423a[_0x1e47c6(0x1b3)]((_0x5d3e28,_0xd13db6)=>{var _0x1fcf89=_0x1e47c6;const {unitID:_0x5cdbd2,objectID:_0x19a33a,objectType:_0x18ee4f,actions:_0x3bbc58}=_0xd13db6;return _0x5d3e28[_0x5cdbd2]||(_0x5d3e28[_0x5cdbd2]={}),_0x5d3e28[_0x5cdbd2][_0x19a33a]||(_0x5d3e28[_0x5cdbd2][_0x19a33a]={'objectID':_0x19a33a,'objectType':_0x18ee4f,'actions':[]}),_0x5d3e28[_0x5cdbd2][_0x19a33a][_0x1fcf89(0x2ae)][_0x1fcf89(0x38c)](..._0x3bbc58),_0x5d3e28;},{}),_0x253c4d=[];for(const _0x24c1d3 in _0x19a2c6)for(const _0x54ceaa in _0x19a2c6[_0x24c1d3]){const {actions:_0x160df4,objectType:_0x607f04}=_0x19a2c6[_0x24c1d3][_0x54ceaa],_0x45fac2=[...new Set(_0x160df4)];_0x253c4d[_0x1e47c6(0x38c)]({'unitID':_0x24c1d3,'objectID':_0x54ceaa,'objectType':_0x607f04,'actions':_0x45fac2});}return new q[(_0x1e47c6(0x373))](_0x1e47c6(0x4f8),_0xfaefa3,{'headers':_0xff2231[_0x1e47c6(0x32a)],'withCredentials':_0xff2231[_0x1e47c6(0x507)],'responseType':_0xff2231[_0x1e47c6(0x32f)],'body':{'requests':_0x253c4d}});}},{'distributeResult'(_0x3eccae,_0x14e717){var _0x408f0f=_0x516595;const {objectActions:_0x49390e}=_0x3eccae;return _0x14e717[_0x408f0f(0x320)](_0x5c4127=>{var _0x4c1bbc=_0x408f0f;const {unitID:_0x446fd4,objectID:_0x4422b7,actions:_0x31cb10}=_0x5c4127,_0x3c854d=_0x49390e['find'](_0x1c0526=>_0x1c0526['unitID']===_0x446fd4&&_0x1c0526[_0x4c1bbc(0x49a)]===_0x4422b7),_0x19b93a=_0x31cb10['map'](_0x1503d9=>_0x3c854d==null?void 0x0:_0x3c854d[_0x4c1bbc(0x2ae)][_0x4c1bbc(0x4bb)](_0x58d43c=>_0x58d43c[_0x4c1bbc(0x402)]===_0x1503d9))[_0x4c1bbc(0x45f)](_0x5567ef=>!!_0x5567ef);return{'config':_0x5c4127,'result':{'actions':_0x19b93a,'error':_0x3eccae[_0x4c1bbc(0x389)]}};});}})}));}[_0x162eea(0x243)](){var _0xdb007b=_0x162eea,_0x25187e,_0x5c1586;const _0x3d8772=this[_0xdb007b(0x294)][_0xdb007b(0x49d)](Ge),_0x4c490d=this[_0xdb007b(0x294)][_0xdb007b(0x49d)](Y);return(_0x5c1586=(_0x25187e=_0x4c490d==null?void 0x0:_0x4c490d[_0xdb007b(0x283)])!=null?_0x25187e:_0x3d8772)!=null?_0x5c1586:wi;}async[_0x162eea(0x266)](_0x35c234){var _0xa84f3a=_0x162eea;const _0x1d7c80=this[_0xa84f3a(0x243)]()+'/'+_0x35c234[_0xa84f3a(0x207)]+_0xa84f3a(0x4cf);return(await this[_0xa84f3a(0x44f)][_0xa84f3a(0x3ad)](_0x1d7c80,{'body':_0x35c234}))[_0xa84f3a(0x4a9)][_0xa84f3a(0x49a)]||'';}async[_0x162eea(0x4a3)](_0x55965f){var _0x29dedb=_0x162eea;const _0x8746d9=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x29dedb(0x44f)]['post'](_0x8746d9,{'body':_0x55965f}))['body'][_0x29dedb(0x4dc)];}async[_0x162eea(0x407)](_0x479971){var _0x16c6ee=_0x162eea,_0x3a5a97,_0x3b2b54;const _0x39a947=this['_getAPIPrefixPath']()+'/'+_0x479971[_0x16c6ee(0x207)]+_0x16c6ee(0x235)+_0x479971[_0x16c6ee(0x49a)],_0x581f04=await this['_HTTPService']['put'](_0x39a947,{'body':_0x479971});if(((_0x3b2b54=(_0x3a5a97=_0x581f04==null?void 0x0:_0x581f04[_0x16c6ee(0x4a9)])==null?void 0x0:_0x3a5a97[_0x16c6ee(0x389)])==null?void 0x0:_0x3b2b54[_0x16c6ee(0x3f3)])!==0x1)throw new Error(_0x16c6ee(0x279));}async[_0x162eea(0x2d6)](_0xb0fac9){var _0x41e119=_0x162eea;const _0x50daf0=this[_0x41e119(0x243)]()+'/'+_0xb0fac9[_0x41e119(0x207)]+_0x41e119(0x235)+_0xb0fac9[_0x41e119(0x49a)]+'/allowed';return(await this[_0x41e119(0x44f)][_0x41e119(0x3ad)](_0x50daf0,{'body':_0xb0fac9}))[_0x41e119(0x4a9)]['actions'];}async[_0x162eea(0x1f0)](_0x49672c){var _0x2309d9=_0x162eea;const _0x49acb1=this[_0x2309d9(0x243)]()+_0x2309d9(0x246);return(await this[_0x2309d9(0x44f)][_0x2309d9(0x3ad)](_0x49acb1,{'body':{'requests':_0x49672c}}))[_0x2309d9(0x4a9)][_0x2309d9(0x1f5)];}async[_0x162eea(0x1bd)](_0x41c766){var _0x241d6e=_0x162eea;const _0x2fddab=this[_0x241d6e(0x243)]()+'/'+_0x41c766[_0x241d6e(0x207)]+'/role',_0x29aca0=await this[_0x241d6e(0x44f)]['post'](_0x2fddab,{'body':_0x41c766});return{'roles':_0x29aca0[_0x241d6e(0x4a9)][_0x241d6e(0x46a)],'actions':_0x29aca0[_0x241d6e(0x4a9)][_0x241d6e(0x2ae)]};}async[_0x162eea(0x1e3)](_0x14e636){var _0x4de037=_0x162eea;const _0xd9d4a9=this[_0x4de037(0x243)]()+_0x4de037(0x441);await this[_0x4de037(0x44f)][_0x4de037(0x22b)](_0xd9d4a9,{'params':{'collaboratorID':_0x14e636['collaboratorID'],'objectID':_0x14e636[_0x4de037(0x49a)],'unitID':_0x14e636[_0x4de037(0x21a)]}});}async[_0x162eea(0x4e6)](_0x2186f6){var _0x5a1d09=_0x162eea;const _0x2ea837=this['_getAPIPrefixPath']()+_0x5a1d09(0x441);await this[_0x5a1d09(0x44f)][_0x5a1d09(0x2f8)](_0x2ea837,{'body':_0x2186f6});}async[_0x162eea(0x220)](_0x3c5cc3){var _0xbd2d1=_0x162eea;const _0x419c4d=this[_0xbd2d1(0x243)]()+_0xbd2d1(0x441);await this['_HTTPService'][_0xbd2d1(0x3ad)](_0x419c4d,{'body':_0x3c5cc3});}async['listCollaborators'](_0x556702){var _0x3c88d1=_0x162eea;const _0x26c09a=this[_0x3c88d1(0x243)]()+_0x3c88d1(0x441);return(await this[_0x3c88d1(0x44f)][_0x3c88d1(0x2a8)](_0x26c09a,{'params':{'objectID':_0x556702['objectID'],'unitID':_0x556702[_0x3c88d1(0x21a)]}}))[_0x3c88d1(0x4a9)][_0x3c88d1(0x217)];}async[_0x162eea(0x472)](_0x2fbde8){var _0x28f030=_0x162eea;const _0x97bd96=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x28f030(0x44f)][_0x28f030(0x50b)](_0x97bd96,{'body':_0x2fbde8});}},exports[_0x162eea(0x383)]=Pi([Xe(0x0,a[_0x162eea(0x1ec)](q[_0x162eea(0x3ce)])),Xe(0x1,a[_0x162eea(0x1ec)](a[_0x162eea(0x4a1)]))],exports[_0x162eea(0x383)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x165433){var _0x2d6ea5=_0x162eea;return _0x165433&&_0x165433['__esModule']&&Object['prototype'][_0x2d6ea5(0x1cf)][_0x2d6ea5(0x4b0)](_0x165433,_0x2d6ea5(0x221))?_0x165433[_0x2d6ea5(0x221)]:_0x165433;}var fe={'exports':{}};function Li(_0x3ff702){var _0x580dc0=_0x162eea;throw new Error(_0x580dc0(0x408)+_0x3ff702+_0x580dc0(0x525));}var pe={'exports':{}},Mi=pe['exports'],Ze;function ee(){var _0xeb735f=_0x162eea;return Ze||(Ze=0x1,function(_0x5a8591,_0x4e43fe){(function(_0x44c835,_0x314ea3){var _0x193862=_0x32dc;_0x5a8591[_0x193862(0x35b)]=_0x314ea3();}(Mi,function(){var _0x8dac13=_0x8dac13||function(_0x1e884e,_0x3c52cd){var _0x5ea90e=_0x32dc,_0x19aba4;if(typeof window<'u'&&window['crypto']&&(_0x19aba4=window['crypto']),typeof self<'u'&&self[_0x5ea90e(0x3f5)]&&(_0x19aba4=self[_0x5ea90e(0x3f5)]),typeof globalThis<'u'&&globalThis[_0x5ea90e(0x3f5)]&&(_0x19aba4=globalThis[_0x5ea90e(0x3f5)]),!_0x19aba4&&typeof window<'u'&&window['msCrypto']&&(_0x19aba4=window['msCrypto']),!_0x19aba4&&typeof Le<'u'&&Le[_0x5ea90e(0x3f5)]&&(_0x19aba4=Le[_0x5ea90e(0x3f5)]),!_0x19aba4&&typeof Li==_0x5ea90e(0x509))try{_0x19aba4=require(_0x5ea90e(0x3f5));}catch{}var _0x486a24=function(){var _0x2c069c=_0x5ea90e;if(_0x19aba4){if(typeof _0x19aba4['getRandomValues']=='function')try{return _0x19aba4[_0x2c069c(0x4e3)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x19aba4['randomBytes']=='function')try{return _0x19aba4[_0x2c069c(0x45a)](0x4)[_0x2c069c(0x3fa)]();}catch{}}throw new Error(_0x2c069c(0x524));},_0x1766d2=Object[_0x5ea90e(0x266)]||(function(){function _0x3e1a68(){}return function(_0x48c412){var _0x5a8428=_0x32dc,_0x58f2ab;return _0x3e1a68[_0x5a8428(0x4d0)]=_0x48c412,_0x58f2ab=new _0x3e1a68(),_0x3e1a68['prototype']=null,_0x58f2ab;};}()),_0x1a9b51={},_0x547ebf=_0x1a9b51['lib']={},_0x419c43=_0x547ebf['Base']=(function(){return{'extend':function(_0x26d12d){var _0x1c69b8=_0x32dc,_0x151f1f=_0x1766d2(this);return _0x26d12d&&_0x151f1f[_0x1c69b8(0x262)](_0x26d12d),(!_0x151f1f[_0x1c69b8(0x1cf)](_0x1c69b8(0x227))||this[_0x1c69b8(0x227)]===_0x151f1f[_0x1c69b8(0x227)])&&(_0x151f1f[_0x1c69b8(0x227)]=function(){var _0x1b2693=_0x1c69b8;_0x151f1f['$super'][_0x1b2693(0x227)][_0x1b2693(0x446)](this,arguments);}),_0x151f1f[_0x1c69b8(0x227)][_0x1c69b8(0x4d0)]=_0x151f1f,_0x151f1f[_0x1c69b8(0x3dd)]=this,_0x151f1f;},'create':function(){var _0x199691=_0x32dc,_0x35c0ed=this[_0x199691(0x2f2)]();return _0x35c0ed['init'][_0x199691(0x446)](_0x35c0ed,arguments),_0x35c0ed;},'init':function(){},'mixIn':function(_0x5633cc){var _0x5b36ea=_0x32dc;for(var _0x297e1d in _0x5633cc)_0x5633cc[_0x5b36ea(0x1cf)](_0x297e1d)&&(this[_0x297e1d]=_0x5633cc[_0x297e1d]);_0x5633cc[_0x5b36ea(0x1cf)](_0x5b36ea(0x3f9))&&(this[_0x5b36ea(0x3f9)]=_0x5633cc[_0x5b36ea(0x3f9)]);},'clone':function(){var _0x43b811=_0x32dc;return this['init'][_0x43b811(0x4d0)][_0x43b811(0x2f2)](this);}};}()),_0xc58c46=_0x547ebf[_0x5ea90e(0x486)]=_0x419c43['extend']({'init':function(_0x4918e1,_0x5c463f){var _0x310724=_0x5ea90e;_0x4918e1=this[_0x310724(0x517)]=_0x4918e1||[],_0x5c463f!=_0x3c52cd?this[_0x310724(0x3a6)]=_0x5c463f:this[_0x310724(0x3a6)]=_0x4918e1[_0x310724(0x359)]*0x4;},'toString':function(_0x36f06f){var _0x1bf56b=_0x5ea90e;return(_0x36f06f||_0x4fac08)[_0x1bf56b(0x218)](this);},'concat':function(_0x3ad2d2){var _0x4c66eb=_0x5ea90e,_0x490ad5=this['words'],_0x1a5715=_0x3ad2d2[_0x4c66eb(0x517)],_0x27ebf5=this[_0x4c66eb(0x3a6)],_0x117f10=_0x3ad2d2[_0x4c66eb(0x3a6)];if(this['clamp'](),_0x27ebf5%0x4)for(var _0x4f0966=0x0;_0x4f0966<_0x117f10;_0x4f0966++){var _0x23e035=_0x1a5715[_0x4f0966>>>0x2]>>>0x18-_0x4f0966%0x4*0x8&0xff;_0x490ad5[_0x27ebf5+_0x4f0966>>>0x2]|=_0x23e035<<0x18-(_0x27ebf5+_0x4f0966)%0x4*0x8;}else{for(var _0x40c421=0x0;_0x40c421<_0x117f10;_0x40c421+=0x4)_0x490ad5[_0x27ebf5+_0x40c421>>>0x2]=_0x1a5715[_0x40c421>>>0x2];}return this[_0x4c66eb(0x3a6)]+=_0x117f10,this;},'clamp':function(){var _0x2a9808=_0x5ea90e,_0x2a503c=this[_0x2a9808(0x517)],_0x19e34e=this['sigBytes'];_0x2a503c[_0x19e34e>>>0x2]&=0xffffffff<<0x20-_0x19e34e%0x4*0x8,_0x2a503c[_0x2a9808(0x359)]=_0x1e884e[_0x2a9808(0x502)](_0x19e34e/0x4);},'clone':function(){var _0x457802=_0x5ea90e,_0x13ddf4=_0x419c43['clone'][_0x457802(0x4b0)](this);return _0x13ddf4['words']=this[_0x457802(0x517)][_0x457802(0x423)](0x0),_0x13ddf4;},'random':function(_0x4c5d99){var _0x36a49d=_0x5ea90e;for(var _0x1e766a=[],_0x42c727=0x0;_0x42c727<_0x4c5d99;_0x42c727+=0x4)_0x1e766a['push'](_0x486a24());return new _0xc58c46[(_0x36a49d(0x227))](_0x1e766a,_0x4c5d99);}}),_0x3ce639=_0x1a9b51[_0x5ea90e(0x202)]={},_0x4fac08=_0x3ce639['Hex']={'stringify':function(_0x37c75f){var _0xf0a5c6=_0x5ea90e;for(var _0x3c567b=_0x37c75f['words'],_0x197460=_0x37c75f[_0xf0a5c6(0x3a6)],_0x143129=[],_0x2e8ab7=0x0;_0x2e8ab7<_0x197460;_0x2e8ab7++){var _0x3f5c3a=_0x3c567b[_0x2e8ab7>>>0x2]>>>0x18-_0x2e8ab7%0x4*0x8&0xff;_0x143129['push']((_0x3f5c3a>>>0x4)['toString'](0x10)),_0x143129[_0xf0a5c6(0x38c)]((_0x3f5c3a&0xf)[_0xf0a5c6(0x3f9)](0x10));}return _0x143129[_0xf0a5c6(0x4b6)]('');},'parse':function(_0x301bd7){var _0x540bb3=_0x5ea90e;for(var _0x5e1cd1=_0x301bd7[_0x540bb3(0x359)],_0x3241d2=[],_0x523346=0x0;_0x523346<_0x5e1cd1;_0x523346+=0x2)_0x3241d2[_0x523346>>>0x3]|=parseInt(_0x301bd7[_0x540bb3(0x4af)](_0x523346,0x2),0x10)<<0x18-_0x523346%0x8*0x4;return new _0xc58c46['init'](_0x3241d2,_0x5e1cd1/0x2);}},_0x12a480=_0x3ce639['Latin1']={'stringify':function(_0x263604){var _0x42f1e8=_0x5ea90e;for(var _0x48848e=_0x263604[_0x42f1e8(0x517)],_0x499baa=_0x263604[_0x42f1e8(0x3a6)],_0x1276fd=[],_0x2df6bc=0x0;_0x2df6bc<_0x499baa;_0x2df6bc++){var _0x446999=_0x48848e[_0x2df6bc>>>0x2]>>>0x18-_0x2df6bc%0x4*0x8&0xff;_0x1276fd[_0x42f1e8(0x38c)](String[_0x42f1e8(0x25a)](_0x446999));}return _0x1276fd['join']('');},'parse':function(_0x261ff6){var _0x35586b=_0x5ea90e;for(var _0x3a28c6=_0x261ff6[_0x35586b(0x359)],_0x458171=[],_0x3d105b=0x0;_0x3d105b<_0x3a28c6;_0x3d105b++)_0x458171[_0x3d105b>>>0x2]|=(_0x261ff6[_0x35586b(0x3a5)](_0x3d105b)&0xff)<<0x18-_0x3d105b%0x4*0x8;return new _0xc58c46[(_0x35586b(0x227))](_0x458171,_0x3a28c6);}},_0x1c980f=_0x3ce639['Utf8']={'stringify':function(_0x4ab989){var _0x44f556=_0x5ea90e;try{return decodeURIComponent(escape(_0x12a480[_0x44f556(0x218)](_0x4ab989)));}catch{throw new Error(_0x44f556(0x3f4));}},'parse':function(_0x1d28af){var _0x5cc886=_0x5ea90e;return _0x12a480[_0x5cc886(0x2e7)](unescape(encodeURIComponent(_0x1d28af)));}},_0x5e0243=_0x547ebf['BufferedBlockAlgorithm']=_0x419c43['extend']({'reset':function(){var _0xf7703=_0x5ea90e;this[_0xf7703(0x1d5)]=new _0xc58c46[(_0xf7703(0x227))](),this[_0xf7703(0x3b8)]=0x0;},'_append':function(_0x5272bd){var _0x58b5c7=_0x5ea90e;typeof _0x5272bd==_0x58b5c7(0x379)&&(_0x5272bd=_0x1c980f[_0x58b5c7(0x2e7)](_0x5272bd)),this[_0x58b5c7(0x1d5)][_0x58b5c7(0x300)](_0x5272bd),this[_0x58b5c7(0x3b8)]+=_0x5272bd['sigBytes'];},'_process':function(_0x2d2370){var _0x154a4d=_0x5ea90e,_0x285dd6,_0x521976=this['_data'],_0x1337ee=_0x521976[_0x154a4d(0x517)],_0x5dbf84=_0x521976[_0x154a4d(0x3a6)],_0x1c39cb=this[_0x154a4d(0x237)],_0x596af8=_0x1c39cb*0x4,_0x5f44fe=_0x5dbf84/_0x596af8;_0x2d2370?_0x5f44fe=_0x1e884e[_0x154a4d(0x502)](_0x5f44fe):_0x5f44fe=_0x1e884e['max']((_0x5f44fe|0x0)-this[_0x154a4d(0x4bc)],0x0);var _0x4f4929=_0x5f44fe*_0x1c39cb,_0x26192a=_0x1e884e['min'](_0x4f4929*0x4,_0x5dbf84);if(_0x4f4929){for(var _0x3b0968=0x0;_0x3b0968<_0x4f4929;_0x3b0968+=_0x1c39cb)this[_0x154a4d(0x20a)](_0x1337ee,_0x3b0968);_0x285dd6=_0x1337ee[_0x154a4d(0x39e)](0x0,_0x4f4929),_0x521976[_0x154a4d(0x3a6)]-=_0x26192a;}return new _0xc58c46['init'](_0x285dd6,_0x26192a);},'clone':function(){var _0x3d0521=_0x5ea90e,_0x2864bb=_0x419c43[_0x3d0521(0x355)][_0x3d0521(0x4b0)](this);return _0x2864bb[_0x3d0521(0x1d5)]=this[_0x3d0521(0x1d5)]['clone'](),_0x2864bb;},'_minBufferSize':0x0});_0x547ebf[_0x5ea90e(0x206)]=_0x5e0243[_0x5ea90e(0x2f2)]({'cfg':_0x419c43[_0x5ea90e(0x2f2)](),'init':function(_0xa052e3){var _0x936bee=_0x5ea90e;this[_0x936bee(0x49b)]=this[_0x936bee(0x49b)][_0x936bee(0x2f2)](_0xa052e3),this[_0x936bee(0x511)]();},'reset':function(){var _0x141029=_0x5ea90e;_0x5e0243[_0x141029(0x511)]['call'](this),this[_0x141029(0x1ee)]();},'update':function(_0x58754d){var _0x2065cd=_0x5ea90e;return this[_0x2065cd(0x28d)](_0x58754d),this[_0x2065cd(0x4ed)](),this;},'finalize':function(_0x4ad89c){var _0x85f478=_0x5ea90e;_0x4ad89c&&this['_append'](_0x4ad89c);var _0x14bb82=this[_0x85f478(0x4ec)]();return _0x14bb82;},'blockSize':0x10,'_createHelper':function(_0x24ffe5){return function(_0x338b65,_0x2a33dd){var _0x3b4f48=_0x32dc;return new _0x24ffe5[(_0x3b4f48(0x227))](_0x2a33dd)['finalize'](_0x338b65);};},'_createHmacHelper':function(_0x12bdc2){return function(_0x170e82,_0x3d40f8){var _0x1caae0=_0x32dc;return new _0x128b97['HMAC']['init'](_0x12bdc2,_0x3d40f8)[_0x1caae0(0x30d)](_0x170e82);};}});var _0x128b97=_0x1a9b51[_0x5ea90e(0x503)]={};return _0x1a9b51;}(Math);return _0x8dac13;}));}(pe)),pe[_0xeb735f(0x35b)];}var ge={'exports':{}},xi=ge[_0x162eea(0x35b)],Qe;function Ut(){var _0x4c8953=_0x162eea;return Qe||(Qe=0x1,function(_0x1610dc,_0x50bf0d){(function(_0x31ebc3,_0x21f78a){var _0x387101=_0x32dc;_0x1610dc[_0x387101(0x35b)]=_0x21f78a(ee());}(xi,function(_0xed1961){var _0x988c66=_0x32dc;return(function(){var _0x3d97c1=_0x32dc,_0xa14363=_0xed1961,_0xe9794d=_0xa14363[_0x3d97c1(0x281)],_0x1aa50a=_0xe9794d[_0x3d97c1(0x486)],_0x670210=_0xa14363['enc'];_0x670210[_0x3d97c1(0x3c6)]={'stringify':function(_0x3a7b24){var _0x5ec4e8=_0x3d97c1,_0x53d799=_0x3a7b24[_0x5ec4e8(0x517)],_0x4a6810=_0x3a7b24['sigBytes'],_0x575b05=this[_0x5ec4e8(0x26f)];_0x3a7b24[_0x5ec4e8(0x360)]();for(var _0x5828dd=[],_0x17e8ca=0x0;_0x17e8ca<_0x4a6810;_0x17e8ca+=0x3)for(var _0x42975c=_0x53d799[_0x17e8ca>>>0x2]>>>0x18-_0x17e8ca%0x4*0x8&0xff,_0xb2d29=_0x53d799[_0x17e8ca+0x1>>>0x2]>>>0x18-(_0x17e8ca+0x1)%0x4*0x8&0xff,_0x4fc241=_0x53d799[_0x17e8ca+0x2>>>0x2]>>>0x18-(_0x17e8ca+0x2)%0x4*0x8&0xff,_0x256737=_0x42975c<<0x10|_0xb2d29<<0x8|_0x4fc241,_0x585d3b=0x0;_0x585d3b<0x4&&_0x17e8ca+_0x585d3b*0.75<_0x4a6810;_0x585d3b++)_0x5828dd[_0x5ec4e8(0x38c)](_0x575b05[_0x5ec4e8(0x29d)](_0x256737>>>0x6*(0x3-_0x585d3b)&0x3f));var _0x542bf4=_0x575b05[_0x5ec4e8(0x29d)](0x40);if(_0x542bf4){for(;_0x5828dd[_0x5ec4e8(0x359)]%0x4;)_0x5828dd[_0x5ec4e8(0x38c)](_0x542bf4);}return _0x5828dd[_0x5ec4e8(0x4b6)]('');},'parse':function(_0x13f0c8){var _0x352484=_0x3d97c1,_0x1fe657=_0x13f0c8['length'],_0xb3c0f1=this[_0x352484(0x26f)],_0x5c95c2=this['_reverseMap'];if(!_0x5c95c2){_0x5c95c2=this['_reverseMap']=[];for(var _0x42f4fe=0x0;_0x42f4fe<_0xb3c0f1[_0x352484(0x359)];_0x42f4fe++)_0x5c95c2[_0xb3c0f1[_0x352484(0x3a5)](_0x42f4fe)]=_0x42f4fe;}var _0x4b6889=_0xb3c0f1[_0x352484(0x29d)](0x40);if(_0x4b6889){var _0x4b37be=_0x13f0c8[_0x352484(0x211)](_0x4b6889);_0x4b37be!==-0x1&&(_0x1fe657=_0x4b37be);}return _0x29baab(_0x13f0c8,_0x1fe657,_0x5c95c2);},'_map':_0x3d97c1(0x234)};function _0x29baab(_0x76801a,_0x3d41e4,_0x475c3e){var _0x56815a=_0x3d97c1;for(var _0x3b5479=[],_0x4dd635=0x0,_0x3b226b=0x0;_0x3b226b<_0x3d41e4;_0x3b226b++)if(_0x3b226b%0x4){var _0x4a8790=_0x475c3e[_0x76801a[_0x56815a(0x3a5)](_0x3b226b-0x1)]<<_0x3b226b%0x4*0x2,_0x185b96=_0x475c3e[_0x76801a['charCodeAt'](_0x3b226b)]>>>0x6-_0x3b226b%0x4*0x2,_0x132991=_0x4a8790|_0x185b96;_0x3b5479[_0x4dd635>>>0x2]|=_0x132991<<0x18-_0x4dd635%0x4*0x8,_0x4dd635++;}return _0x1aa50a['create'](_0x3b5479,_0x4dd635);}}()),_0xed1961[_0x988c66(0x202)][_0x988c66(0x3c6)];}));}(ge)),ge[_0x4c8953(0x35b)];}var Ie={'exports':{}},ki=Ie['exports'],et;function Hi(){var _0x27c60a=_0x162eea;return et||(et=0x1,function(_0x3facbe,_0x4c96c2){(function(_0x97d0bb,_0x5c34bb){var _0x32ba70=_0x32dc;_0x3facbe[_0x32ba70(0x35b)]=_0x5c34bb(ee());}(ki,function(_0x5a2f14){var _0xae2028=_0x32dc;return function(_0x13de99){var _0x4c0abb=_0x32dc,_0x39a9ab=_0x5a2f14,_0x29902c=_0x39a9ab[_0x4c0abb(0x281)],_0xace1de=_0x29902c[_0x4c0abb(0x486)],_0x38622d=_0x29902c['Hasher'],_0x592769=_0x39a9ab[_0x4c0abb(0x503)],_0x5b610a=[];(function(){var _0xc87d63=_0x4c0abb;for(var _0x5195e3=0x0;_0x5195e3<0x40;_0x5195e3++)_0x5b610a[_0x5195e3]=_0x13de99['abs'](_0x13de99[_0xc87d63(0x350)](_0x5195e3+0x1))*0x100000000|0x0;}());var _0x115369=_0x592769[_0x4c0abb(0x1b2)]=_0x38622d[_0x4c0abb(0x2f2)]({'_doReset':function(){var _0x2f1940=_0x4c0abb;this['_hash']=new _0xace1de[(_0x2f1940(0x227))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2da2a3,_0x1f327a){var _0x2ffdd2=_0x4c0abb;for(var _0x44ed58=0x0;_0x44ed58<0x10;_0x44ed58++){var _0x4c257a=_0x1f327a+_0x44ed58,_0x31833c=_0x2da2a3[_0x4c257a];_0x2da2a3[_0x4c257a]=(_0x31833c<<0x8|_0x31833c>>>0x18)&0xff00ff|(_0x31833c<<0x18|_0x31833c>>>0x8)&0xff00ff00;}var _0x39ea7a=this[_0x2ffdd2(0x233)][_0x2ffdd2(0x517)],_0x113509=_0x2da2a3[_0x1f327a+0x0],_0x264651=_0x2da2a3[_0x1f327a+0x1],_0x452758=_0x2da2a3[_0x1f327a+0x2],_0x3d2fa8=_0x2da2a3[_0x1f327a+0x3],_0x1ff6c6=_0x2da2a3[_0x1f327a+0x4],_0x5b1c2a=_0x2da2a3[_0x1f327a+0x5],_0x769614=_0x2da2a3[_0x1f327a+0x6],_0x444db3=_0x2da2a3[_0x1f327a+0x7],_0x166efa=_0x2da2a3[_0x1f327a+0x8],_0x4afc93=_0x2da2a3[_0x1f327a+0x9],_0x42257e=_0x2da2a3[_0x1f327a+0xa],_0x4c37b0=_0x2da2a3[_0x1f327a+0xb],_0x22895f=_0x2da2a3[_0x1f327a+0xc],_0x5bb04a=_0x2da2a3[_0x1f327a+0xd],_0x2c707c=_0x2da2a3[_0x1f327a+0xe],_0x3c49e0=_0x2da2a3[_0x1f327a+0xf],_0x21bce1=_0x39ea7a[0x0],_0x33e9b4=_0x39ea7a[0x1],_0x50a444=_0x39ea7a[0x2],_0x19dc05=_0x39ea7a[0x3];_0x21bce1=_0x419f14(_0x21bce1,_0x33e9b4,_0x50a444,_0x19dc05,_0x113509,0x7,_0x5b610a[0x0]),_0x19dc05=_0x419f14(_0x19dc05,_0x21bce1,_0x33e9b4,_0x50a444,_0x264651,0xc,_0x5b610a[0x1]),_0x50a444=_0x419f14(_0x50a444,_0x19dc05,_0x21bce1,_0x33e9b4,_0x452758,0x11,_0x5b610a[0x2]),_0x33e9b4=_0x419f14(_0x33e9b4,_0x50a444,_0x19dc05,_0x21bce1,_0x3d2fa8,0x16,_0x5b610a[0x3]),_0x21bce1=_0x419f14(_0x21bce1,_0x33e9b4,_0x50a444,_0x19dc05,_0x1ff6c6,0x7,_0x5b610a[0x4]),_0x19dc05=_0x419f14(_0x19dc05,_0x21bce1,_0x33e9b4,_0x50a444,_0x5b1c2a,0xc,_0x5b610a[0x5]),_0x50a444=_0x419f14(_0x50a444,_0x19dc05,_0x21bce1,_0x33e9b4,_0x769614,0x11,_0x5b610a[0x6]),_0x33e9b4=_0x419f14(_0x33e9b4,_0x50a444,_0x19dc05,_0x21bce1,_0x444db3,0x16,_0x5b610a[0x7]),_0x21bce1=_0x419f14(_0x21bce1,_0x33e9b4,_0x50a444,_0x19dc05,_0x166efa,0x7,_0x5b610a[0x8]),_0x19dc05=_0x419f14(_0x19dc05,_0x21bce1,_0x33e9b4,_0x50a444,_0x4afc93,0xc,_0x5b610a[0x9]),_0x50a444=_0x419f14(_0x50a444,_0x19dc05,_0x21bce1,_0x33e9b4,_0x42257e,0x11,_0x5b610a[0xa]),_0x33e9b4=_0x419f14(_0x33e9b4,_0x50a444,_0x19dc05,_0x21bce1,_0x4c37b0,0x16,_0x5b610a[0xb]),_0x21bce1=_0x419f14(_0x21bce1,_0x33e9b4,_0x50a444,_0x19dc05,_0x22895f,0x7,_0x5b610a[0xc]),_0x19dc05=_0x419f14(_0x19dc05,_0x21bce1,_0x33e9b4,_0x50a444,_0x5bb04a,0xc,_0x5b610a[0xd]),_0x50a444=_0x419f14(_0x50a444,_0x19dc05,_0x21bce1,_0x33e9b4,_0x2c707c,0x11,_0x5b610a[0xe]),_0x33e9b4=_0x419f14(_0x33e9b4,_0x50a444,_0x19dc05,_0x21bce1,_0x3c49e0,0x16,_0x5b610a[0xf]),_0x21bce1=_0x5faca4(_0x21bce1,_0x33e9b4,_0x50a444,_0x19dc05,_0x264651,0x5,_0x5b610a[0x10]),_0x19dc05=_0x5faca4(_0x19dc05,_0x21bce1,_0x33e9b4,_0x50a444,_0x769614,0x9,_0x5b610a[0x11]),_0x50a444=_0x5faca4(_0x50a444,_0x19dc05,_0x21bce1,_0x33e9b4,_0x4c37b0,0xe,_0x5b610a[0x12]),_0x33e9b4=_0x5faca4(_0x33e9b4,_0x50a444,_0x19dc05,_0x21bce1,_0x113509,0x14,_0x5b610a[0x13]),_0x21bce1=_0x5faca4(_0x21bce1,_0x33e9b4,_0x50a444,_0x19dc05,_0x5b1c2a,0x5,_0x5b610a[0x14]),_0x19dc05=_0x5faca4(_0x19dc05,_0x21bce1,_0x33e9b4,_0x50a444,_0x42257e,0x9,_0x5b610a[0x15]),_0x50a444=_0x5faca4(_0x50a444,_0x19dc05,_0x21bce1,_0x33e9b4,_0x3c49e0,0xe,_0x5b610a[0x16]),_0x33e9b4=_0x5faca4(_0x33e9b4,_0x50a444,_0x19dc05,_0x21bce1,_0x1ff6c6,0x14,_0x5b610a[0x17]),_0x21bce1=_0x5faca4(_0x21bce1,_0x33e9b4,_0x50a444,_0x19dc05,_0x4afc93,0x5,_0x5b610a[0x18]),_0x19dc05=_0x5faca4(_0x19dc05,_0x21bce1,_0x33e9b4,_0x50a444,_0x2c707c,0x9,_0x5b610a[0x19]),_0x50a444=_0x5faca4(_0x50a444,_0x19dc05,_0x21bce1,_0x33e9b4,_0x3d2fa8,0xe,_0x5b610a[0x1a]),_0x33e9b4=_0x5faca4(_0x33e9b4,_0x50a444,_0x19dc05,_0x21bce1,_0x166efa,0x14,_0x5b610a[0x1b]),_0x21bce1=_0x5faca4(_0x21bce1,_0x33e9b4,_0x50a444,_0x19dc05,_0x5bb04a,0x5,_0x5b610a[0x1c]),_0x19dc05=_0x5faca4(_0x19dc05,_0x21bce1,_0x33e9b4,_0x50a444,_0x452758,0x9,_0x5b610a[0x1d]),_0x50a444=_0x5faca4(_0x50a444,_0x19dc05,_0x21bce1,_0x33e9b4,_0x444db3,0xe,_0x5b610a[0x1e]),_0x33e9b4=_0x5faca4(_0x33e9b4,_0x50a444,_0x19dc05,_0x21bce1,_0x22895f,0x14,_0x5b610a[0x1f]),_0x21bce1=_0x5cece0(_0x21bce1,_0x33e9b4,_0x50a444,_0x19dc05,_0x5b1c2a,0x4,_0x5b610a[0x20]),_0x19dc05=_0x5cece0(_0x19dc05,_0x21bce1,_0x33e9b4,_0x50a444,_0x166efa,0xb,_0x5b610a[0x21]),_0x50a444=_0x5cece0(_0x50a444,_0x19dc05,_0x21bce1,_0x33e9b4,_0x4c37b0,0x10,_0x5b610a[0x22]),_0x33e9b4=_0x5cece0(_0x33e9b4,_0x50a444,_0x19dc05,_0x21bce1,_0x2c707c,0x17,_0x5b610a[0x23]),_0x21bce1=_0x5cece0(_0x21bce1,_0x33e9b4,_0x50a444,_0x19dc05,_0x264651,0x4,_0x5b610a[0x24]),_0x19dc05=_0x5cece0(_0x19dc05,_0x21bce1,_0x33e9b4,_0x50a444,_0x1ff6c6,0xb,_0x5b610a[0x25]),_0x50a444=_0x5cece0(_0x50a444,_0x19dc05,_0x21bce1,_0x33e9b4,_0x444db3,0x10,_0x5b610a[0x26]),_0x33e9b4=_0x5cece0(_0x33e9b4,_0x50a444,_0x19dc05,_0x21bce1,_0x42257e,0x17,_0x5b610a[0x27]),_0x21bce1=_0x5cece0(_0x21bce1,_0x33e9b4,_0x50a444,_0x19dc05,_0x5bb04a,0x4,_0x5b610a[0x28]),_0x19dc05=_0x5cece0(_0x19dc05,_0x21bce1,_0x33e9b4,_0x50a444,_0x113509,0xb,_0x5b610a[0x29]),_0x50a444=_0x5cece0(_0x50a444,_0x19dc05,_0x21bce1,_0x33e9b4,_0x3d2fa8,0x10,_0x5b610a[0x2a]),_0x33e9b4=_0x5cece0(_0x33e9b4,_0x50a444,_0x19dc05,_0x21bce1,_0x769614,0x17,_0x5b610a[0x2b]),_0x21bce1=_0x5cece0(_0x21bce1,_0x33e9b4,_0x50a444,_0x19dc05,_0x4afc93,0x4,_0x5b610a[0x2c]),_0x19dc05=_0x5cece0(_0x19dc05,_0x21bce1,_0x33e9b4,_0x50a444,_0x22895f,0xb,_0x5b610a[0x2d]),_0x50a444=_0x5cece0(_0x50a444,_0x19dc05,_0x21bce1,_0x33e9b4,_0x3c49e0,0x10,_0x5b610a[0x2e]),_0x33e9b4=_0x5cece0(_0x33e9b4,_0x50a444,_0x19dc05,_0x21bce1,_0x452758,0x17,_0x5b610a[0x2f]),_0x21bce1=_0x52e8b1(_0x21bce1,_0x33e9b4,_0x50a444,_0x19dc05,_0x113509,0x6,_0x5b610a[0x30]),_0x19dc05=_0x52e8b1(_0x19dc05,_0x21bce1,_0x33e9b4,_0x50a444,_0x444db3,0xa,_0x5b610a[0x31]),_0x50a444=_0x52e8b1(_0x50a444,_0x19dc05,_0x21bce1,_0x33e9b4,_0x2c707c,0xf,_0x5b610a[0x32]),_0x33e9b4=_0x52e8b1(_0x33e9b4,_0x50a444,_0x19dc05,_0x21bce1,_0x5b1c2a,0x15,_0x5b610a[0x33]),_0x21bce1=_0x52e8b1(_0x21bce1,_0x33e9b4,_0x50a444,_0x19dc05,_0x22895f,0x6,_0x5b610a[0x34]),_0x19dc05=_0x52e8b1(_0x19dc05,_0x21bce1,_0x33e9b4,_0x50a444,_0x3d2fa8,0xa,_0x5b610a[0x35]),_0x50a444=_0x52e8b1(_0x50a444,_0x19dc05,_0x21bce1,_0x33e9b4,_0x42257e,0xf,_0x5b610a[0x36]),_0x33e9b4=_0x52e8b1(_0x33e9b4,_0x50a444,_0x19dc05,_0x21bce1,_0x264651,0x15,_0x5b610a[0x37]),_0x21bce1=_0x52e8b1(_0x21bce1,_0x33e9b4,_0x50a444,_0x19dc05,_0x166efa,0x6,_0x5b610a[0x38]),_0x19dc05=_0x52e8b1(_0x19dc05,_0x21bce1,_0x33e9b4,_0x50a444,_0x3c49e0,0xa,_0x5b610a[0x39]),_0x50a444=_0x52e8b1(_0x50a444,_0x19dc05,_0x21bce1,_0x33e9b4,_0x769614,0xf,_0x5b610a[0x3a]),_0x33e9b4=_0x52e8b1(_0x33e9b4,_0x50a444,_0x19dc05,_0x21bce1,_0x5bb04a,0x15,_0x5b610a[0x3b]),_0x21bce1=_0x52e8b1(_0x21bce1,_0x33e9b4,_0x50a444,_0x19dc05,_0x1ff6c6,0x6,_0x5b610a[0x3c]),_0x19dc05=_0x52e8b1(_0x19dc05,_0x21bce1,_0x33e9b4,_0x50a444,_0x4c37b0,0xa,_0x5b610a[0x3d]),_0x50a444=_0x52e8b1(_0x50a444,_0x19dc05,_0x21bce1,_0x33e9b4,_0x452758,0xf,_0x5b610a[0x3e]),_0x33e9b4=_0x52e8b1(_0x33e9b4,_0x50a444,_0x19dc05,_0x21bce1,_0x4afc93,0x15,_0x5b610a[0x3f]),_0x39ea7a[0x0]=_0x39ea7a[0x0]+_0x21bce1|0x0,_0x39ea7a[0x1]=_0x39ea7a[0x1]+_0x33e9b4|0x0,_0x39ea7a[0x2]=_0x39ea7a[0x2]+_0x50a444|0x0,_0x39ea7a[0x3]=_0x39ea7a[0x3]+_0x19dc05|0x0;},'_doFinalize':function(){var _0x5aac79=_0x4c0abb,_0x1e4ce1=this[_0x5aac79(0x1d5)],_0x3a4372=_0x1e4ce1[_0x5aac79(0x517)],_0xd8f9ae=this[_0x5aac79(0x3b8)]*0x8,_0x2ba8a1=_0x1e4ce1[_0x5aac79(0x3a6)]*0x8;_0x3a4372[_0x2ba8a1>>>0x5]|=0x80<<0x18-_0x2ba8a1%0x20;var _0x59e2a5=_0x13de99['floor'](_0xd8f9ae/0x100000000),_0x4bebec=_0xd8f9ae;_0x3a4372[(_0x2ba8a1+0x40>>>0x9<<0x4)+0xf]=(_0x59e2a5<<0x8|_0x59e2a5>>>0x18)&0xff00ff|(_0x59e2a5<<0x18|_0x59e2a5>>>0x8)&0xff00ff00,_0x3a4372[(_0x2ba8a1+0x40>>>0x9<<0x4)+0xe]=(_0x4bebec<<0x8|_0x4bebec>>>0x18)&0xff00ff|(_0x4bebec<<0x18|_0x4bebec>>>0x8)&0xff00ff00,_0x1e4ce1[_0x5aac79(0x3a6)]=(_0x3a4372[_0x5aac79(0x359)]+0x1)*0x4,this['_process']();for(var _0x3a2585=this['_hash'],_0x357caa=_0x3a2585[_0x5aac79(0x517)],_0x15aa81=0x0;_0x15aa81<0x4;_0x15aa81++){var _0x4e6935=_0x357caa[_0x15aa81];_0x357caa[_0x15aa81]=(_0x4e6935<<0x8|_0x4e6935>>>0x18)&0xff00ff|(_0x4e6935<<0x18|_0x4e6935>>>0x8)&0xff00ff00;}return _0x3a2585;},'clone':function(){var _0x5c24f2=_0x4c0abb,_0x3e25c1=_0x38622d[_0x5c24f2(0x355)][_0x5c24f2(0x4b0)](this);return _0x3e25c1['_hash']=this['_hash'][_0x5c24f2(0x355)](),_0x3e25c1;}});function _0x419f14(_0x369430,_0x5a9cc0,_0x17a3e0,_0x24a0aa,_0x2ea27e,_0x5e1129,_0x17f715){var _0x4b86ab=_0x369430+(_0x5a9cc0&_0x17a3e0|~_0x5a9cc0&_0x24a0aa)+_0x2ea27e+_0x17f715;return(_0x4b86ab<<_0x5e1129|_0x4b86ab>>>0x20-_0x5e1129)+_0x5a9cc0;}function _0x5faca4(_0x49a77b,_0x2ebfcc,_0x219791,_0x7b5000,_0x457d7b,_0x1a2a98,_0x2bca47){var _0x548f9d=_0x49a77b+(_0x2ebfcc&_0x7b5000|_0x219791&~_0x7b5000)+_0x457d7b+_0x2bca47;return(_0x548f9d<<_0x1a2a98|_0x548f9d>>>0x20-_0x1a2a98)+_0x2ebfcc;}function _0x5cece0(_0x542585,_0x44f0df,_0x288495,_0x3741f6,_0x3f3a42,_0x2abfc0,_0x4c38a4){var _0x3ce625=_0x542585+(_0x44f0df^_0x288495^_0x3741f6)+_0x3f3a42+_0x4c38a4;return(_0x3ce625<<_0x2abfc0|_0x3ce625>>>0x20-_0x2abfc0)+_0x44f0df;}function _0x52e8b1(_0x313111,_0x747a6c,_0x15ce50,_0x3b4bda,_0xe0b805,_0x505598,_0x539635){var _0x5c4b3e=_0x313111+(_0x15ce50^(_0x747a6c|~_0x3b4bda))+_0xe0b805+_0x539635;return(_0x5c4b3e<<_0x505598|_0x5c4b3e>>>0x20-_0x505598)+_0x747a6c;}_0x39a9ab[_0x4c0abb(0x1b2)]=_0x38622d[_0x4c0abb(0x1c1)](_0x115369),_0x39a9ab[_0x4c0abb(0x3c5)]=_0x38622d[_0x4c0abb(0x528)](_0x115369);}(Math),_0x5a2f14[_0xae2028(0x1b2)];}));}(Ie)),Ie[_0x27c60a(0x35b)];}var me={'exports':{}},Ee={'exports':{}},ji=Ee[_0x162eea(0x35b)],tt;function _0x32dc(_0x53e4ab,_0x55e6cf){var _0x5ad4cf=_0x5ad4();return _0x32dc=function(_0x32dcbd,_0x543ddf){_0x32dcbd=_0x32dcbd-0x1ad;var _0xc76b90=_0x5ad4cf[_0x32dcbd];return _0xc76b90;},_0x32dc(_0x53e4ab,_0x55e6cf);}function $i(){var _0x5430ac=_0x162eea;return tt||(tt=0x1,function(_0x40cd7d,_0x24aee8){(function(_0x4cb1ca,_0x45f2f3){var _0x3252ce=_0x32dc;_0x40cd7d[_0x3252ce(0x35b)]=_0x45f2f3(ee());}(ji,function(_0x1f21cf){var _0x4b2e29=_0x32dc;return(function(){var _0x17becd=_0x32dc,_0x91bf87=_0x1f21cf,_0x4fc020=_0x91bf87[_0x17becd(0x281)],_0x454d2b=_0x4fc020['WordArray'],_0x2c40f5=_0x4fc020[_0x17becd(0x206)],_0x5e0cc8=_0x91bf87[_0x17becd(0x503)],_0x107af1=[],_0x4de9f8=_0x5e0cc8['SHA1']=_0x2c40f5[_0x17becd(0x2f2)]({'_doReset':function(){var _0x5037a0=_0x17becd;this[_0x5037a0(0x233)]=new _0x454d2b[(_0x5037a0(0x227))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x35530b,_0x4e1397){var _0x3c2246=_0x17becd;for(var _0x36de09=this[_0x3c2246(0x233)][_0x3c2246(0x517)],_0x4259b3=_0x36de09[0x0],_0x3599c4=_0x36de09[0x1],_0x2e0da2=_0x36de09[0x2],_0x5590cb=_0x36de09[0x3],_0x1cbeec=_0x36de09[0x4],_0x2a741a=0x0;_0x2a741a<0x50;_0x2a741a++){if(_0x2a741a<0x10)_0x107af1[_0x2a741a]=_0x35530b[_0x4e1397+_0x2a741a]|0x0;else{var _0x2d0873=_0x107af1[_0x2a741a-0x3]^_0x107af1[_0x2a741a-0x8]^_0x107af1[_0x2a741a-0xe]^_0x107af1[_0x2a741a-0x10];_0x107af1[_0x2a741a]=_0x2d0873<<0x1|_0x2d0873>>>0x1f;}var _0x282499=(_0x4259b3<<0x5|_0x4259b3>>>0x1b)+_0x1cbeec+_0x107af1[_0x2a741a];_0x2a741a<0x14?_0x282499+=(_0x3599c4&_0x2e0da2|~_0x3599c4&_0x5590cb)+0x5a827999:_0x2a741a<0x28?_0x282499+=(_0x3599c4^_0x2e0da2^_0x5590cb)+0x6ed9eba1:_0x2a741a<0x3c?_0x282499+=(_0x3599c4&_0x2e0da2|_0x3599c4&_0x5590cb|_0x2e0da2&_0x5590cb)-0x70e44324:_0x282499+=(_0x3599c4^_0x2e0da2^_0x5590cb)-0x359d3e2a,_0x1cbeec=_0x5590cb,_0x5590cb=_0x2e0da2,_0x2e0da2=_0x3599c4<<0x1e|_0x3599c4>>>0x2,_0x3599c4=_0x4259b3,_0x4259b3=_0x282499;}_0x36de09[0x0]=_0x36de09[0x0]+_0x4259b3|0x0,_0x36de09[0x1]=_0x36de09[0x1]+_0x3599c4|0x0,_0x36de09[0x2]=_0x36de09[0x2]+_0x2e0da2|0x0,_0x36de09[0x3]=_0x36de09[0x3]+_0x5590cb|0x0,_0x36de09[0x4]=_0x36de09[0x4]+_0x1cbeec|0x0;},'_doFinalize':function(){var _0x4a0142=_0x17becd,_0x4f526a=this[_0x4a0142(0x1d5)],_0xa0d380=_0x4f526a[_0x4a0142(0x517)],_0x15bfc0=this['_nDataBytes']*0x8,_0x2f3902=_0x4f526a[_0x4a0142(0x3a6)]*0x8;return _0xa0d380[_0x2f3902>>>0x5]|=0x80<<0x18-_0x2f3902%0x20,_0xa0d380[(_0x2f3902+0x40>>>0x9<<0x4)+0xe]=Math[_0x4a0142(0x531)](_0x15bfc0/0x100000000),_0xa0d380[(_0x2f3902+0x40>>>0x9<<0x4)+0xf]=_0x15bfc0,_0x4f526a[_0x4a0142(0x3a6)]=_0xa0d380['length']*0x4,this[_0x4a0142(0x4ed)](),this['_hash'];},'clone':function(){var _0x108aeb=_0x17becd,_0x47d59a=_0x2c40f5['clone'][_0x108aeb(0x4b0)](this);return _0x47d59a[_0x108aeb(0x233)]=this['_hash'][_0x108aeb(0x355)](),_0x47d59a;}});_0x91bf87[_0x17becd(0x2f5)]=_0x2c40f5[_0x17becd(0x1c1)](_0x4de9f8),_0x91bf87['HmacSHA1']=_0x2c40f5[_0x17becd(0x528)](_0x4de9f8);}()),_0x1f21cf[_0x4b2e29(0x2f5)];}));}(Ee)),Ee[_0x5430ac(0x35b)];}var Ce={'exports':{}},Bi=Ce[_0x162eea(0x35b)],it;function Fi(){var _0x16af67=_0x162eea;return it||(it=0x1,function(_0x36af91,_0x4d4c17){(function(_0x5ab806,_0x1916fe){_0x36af91['exports']=_0x1916fe(ee());}(Bi,function(_0x151625){(function(){var _0x22c1b4=_0x32dc,_0x4ae4ad=_0x151625,_0x23c325=_0x4ae4ad[_0x22c1b4(0x281)],_0x40c602=_0x23c325[_0x22c1b4(0x3be)],_0x4568bd=_0x4ae4ad[_0x22c1b4(0x202)],_0x441ba5=_0x4568bd[_0x22c1b4(0x3fd)],_0x26604b=_0x4ae4ad[_0x22c1b4(0x503)];_0x26604b[_0x22c1b4(0x326)]=_0x40c602['extend']({'init':function(_0x12c96,_0x25f14d){var _0x3f61b6=_0x22c1b4;_0x12c96=this[_0x3f61b6(0x37d)]=new _0x12c96[(_0x3f61b6(0x227))](),typeof _0x25f14d==_0x3f61b6(0x379)&&(_0x25f14d=_0x441ba5[_0x3f61b6(0x2e7)](_0x25f14d));var _0x6a730a=_0x12c96['blockSize'],_0x2bddc2=_0x6a730a*0x4;_0x25f14d['sigBytes']>_0x2bddc2&&(_0x25f14d=_0x12c96[_0x3f61b6(0x30d)](_0x25f14d)),_0x25f14d['clamp']();for(var _0x17e969=this[_0x3f61b6(0x309)]=_0x25f14d[_0x3f61b6(0x355)](),_0x3e5e0c=this['_iKey']=_0x25f14d[_0x3f61b6(0x355)](),_0x50a96e=_0x17e969[_0x3f61b6(0x517)],_0xbdf479=_0x3e5e0c[_0x3f61b6(0x517)],_0x29a0e2=0x0;_0x29a0e2<_0x6a730a;_0x29a0e2++)_0x50a96e[_0x29a0e2]^=0x5c5c5c5c,_0xbdf479[_0x29a0e2]^=0x36363636;_0x17e969[_0x3f61b6(0x3a6)]=_0x3e5e0c[_0x3f61b6(0x3a6)]=_0x2bddc2,this[_0x3f61b6(0x511)]();},'reset':function(){var _0x506c25=_0x22c1b4,_0x198480=this[_0x506c25(0x37d)];_0x198480[_0x506c25(0x511)](),_0x198480[_0x506c25(0x407)](this['_iKey']);},'update':function(_0x25aabc){var _0x54fb10=_0x22c1b4;return this['_hasher'][_0x54fb10(0x407)](_0x25aabc),this;},'finalize':function(_0x1acb45){var _0x5a0173=_0x22c1b4,_0xa6dcfd=this[_0x5a0173(0x37d)],_0x3f5754=_0xa6dcfd[_0x5a0173(0x30d)](_0x1acb45);_0xa6dcfd[_0x5a0173(0x511)]();var _0x5fdf30=_0xa6dcfd['finalize'](this[_0x5a0173(0x309)]['clone']()[_0x5a0173(0x300)](_0x3f5754));return _0x5fdf30;}});}());}));}(Ce)),Ce[_0x16af67(0x35b)];}var Vi=me[_0x162eea(0x35b)],nt;function At(){return nt||(nt=0x1,function(_0x2b8c54,_0x4b1051){(function(_0x380c07,_0x4fce32,_0x1b1d6e){var _0x4302fe=_0x32dc;_0x2b8c54[_0x4302fe(0x35b)]=_0x4fce32(ee(),$i(),Fi());}(Vi,function(_0x5b0f99){var _0x22b95f=_0x32dc;return(function(){var _0x556e2c=_0x32dc,_0x20e91f=_0x5b0f99,_0x586d08=_0x20e91f[_0x556e2c(0x281)],_0x532976=_0x586d08[_0x556e2c(0x3be)],_0x102cf5=_0x586d08[_0x556e2c(0x486)],_0x429a8b=_0x20e91f[_0x556e2c(0x503)],_0x572a7f=_0x429a8b[_0x556e2c(0x1b2)],_0x3ee4e7=_0x429a8b[_0x556e2c(0x44d)]=_0x532976[_0x556e2c(0x2f2)]({'cfg':_0x532976['extend']({'keySize':0x80/0x20,'hasher':_0x572a7f,'iterations':0x1}),'init':function(_0x1f138b){var _0x32c931=_0x556e2c;this[_0x32c931(0x49b)]=this[_0x32c931(0x49b)][_0x32c931(0x2f2)](_0x1f138b);},'compute':function(_0x1b4a14,_0x69e466){var _0x8e6991=_0x556e2c;for(var _0x3ca365,_0x18fe4d=this[_0x8e6991(0x49b)],_0x55701e=_0x18fe4d['hasher'][_0x8e6991(0x266)](),_0x1a6fe2=_0x102cf5[_0x8e6991(0x266)](),_0x57530d=_0x1a6fe2['words'],_0x5b492b=_0x18fe4d['keySize'],_0x2f9ebe=_0x18fe4d[_0x8e6991(0x2fb)];_0x57530d[_0x8e6991(0x359)]<_0x5b492b;){_0x3ca365&&_0x55701e[_0x8e6991(0x407)](_0x3ca365),_0x3ca365=_0x55701e[_0x8e6991(0x407)](_0x1b4a14)[_0x8e6991(0x30d)](_0x69e466),_0x55701e['reset']();for(var _0x2e950e=0x1;_0x2e950e<_0x2f9ebe;_0x2e950e++)_0x3ca365=_0x55701e['finalize'](_0x3ca365),_0x55701e[_0x8e6991(0x511)]();_0x1a6fe2['concat'](_0x3ca365);}return _0x1a6fe2['sigBytes']=_0x5b492b*0x4,_0x1a6fe2;}});_0x20e91f['EvpKDF']=function(_0x2925e3,_0x2e4636,_0x5136f9){var _0x534425=_0x556e2c;return _0x3ee4e7[_0x534425(0x266)](_0x5136f9)[_0x534425(0x22a)](_0x2925e3,_0x2e4636);};}()),_0x5b0f99[_0x22b95f(0x44d)];}));}(me)),me['exports'];}var Te={'exports':{}},Wi=Te[_0x162eea(0x35b)],rt;function Pt(){return rt||(rt=0x1,function(_0x5a6ad7,_0x1ccb1a){(function(_0x393839,_0xfe10a,_0x16c2ea){var _0x380af0=_0x32dc;_0x5a6ad7[_0x380af0(0x35b)]=_0xfe10a(ee(),At());}(Wi,function(_0x4081e3){var _0x2fde40=_0x32dc;_0x4081e3['lib'][_0x2fde40(0x466)]||function(_0x4deabd){var _0x2f4e4a=_0x2fde40,_0x5dfee7=_0x4081e3,_0x2268ce=_0x5dfee7[_0x2f4e4a(0x281)],_0x6ae3c3=_0x2268ce[_0x2f4e4a(0x3be)],_0x129227=_0x2268ce[_0x2f4e4a(0x486)],_0x116f51=_0x2268ce[_0x2f4e4a(0x1eb)],_0x11abae=_0x5dfee7['enc'];_0x11abae[_0x2f4e4a(0x3fd)];var _0x2cd4d6=_0x11abae[_0x2f4e4a(0x3c6)],_0x311e05=_0x5dfee7[_0x2f4e4a(0x503)],_0x26195f=_0x311e05[_0x2f4e4a(0x44d)],_0x19b017=_0x2268ce['Cipher']=_0x116f51['extend']({'cfg':_0x6ae3c3[_0x2f4e4a(0x2f2)](),'createEncryptor':function(_0x4595f2,_0xb8ad49){var _0x29c5e0=_0x2f4e4a;return this[_0x29c5e0(0x266)](this[_0x29c5e0(0x457)],_0x4595f2,_0xb8ad49);},'createDecryptor':function(_0x4b6f6a,_0x25d1d3){var _0x3b2907=_0x2f4e4a;return this[_0x3b2907(0x266)](this[_0x3b2907(0x4d3)],_0x4b6f6a,_0x25d1d3);},'init':function(_0x5fa85b,_0x1255a5,_0x33a323){var _0x31b35d=_0x2f4e4a;this[_0x31b35d(0x49b)]=this[_0x31b35d(0x49b)][_0x31b35d(0x2f2)](_0x33a323),this['_xformMode']=_0x5fa85b,this[_0x31b35d(0x35c)]=_0x1255a5,this[_0x31b35d(0x511)]();},'reset':function(){var _0x1dbd76=_0x2f4e4a;_0x116f51[_0x1dbd76(0x511)][_0x1dbd76(0x4b0)](this),this[_0x1dbd76(0x1ee)]();},'process':function(_0x46844c){var _0x1b6ccb=_0x2f4e4a;return this[_0x1b6ccb(0x28d)](_0x46844c),this[_0x1b6ccb(0x4ed)]();},'finalize':function(_0xa53b29){var _0x451728=_0x2f4e4a;_0xa53b29&&this[_0x451728(0x28d)](_0xa53b29);var _0x33aef8=this[_0x451728(0x4ec)]();return _0x33aef8;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1c4f0b(_0x12612f){var _0x314061=_0x32dc;return typeof _0x12612f==_0x314061(0x379)?_0x4c53d7:_0x4dc07a;}return function(_0xfb2b57){return{'encrypt':function(_0x38016c,_0x826cf4,_0x27ae58){return _0x1c4f0b(_0x826cf4)['encrypt'](_0xfb2b57,_0x38016c,_0x826cf4,_0x27ae58);},'decrypt':function(_0x1c168c,_0x1eeeea,_0x102b36){var _0x5423af=_0x32dc;return _0x1c4f0b(_0x1eeeea)[_0x5423af(0x4d6)](_0xfb2b57,_0x1c168c,_0x1eeeea,_0x102b36);}};};}())});_0x2268ce[_0x2f4e4a(0x25b)]=_0x19b017[_0x2f4e4a(0x2f2)]({'_doFinalize':function(){var _0x46a7cf=_0x2f4e4a,_0x3548bb=this[_0x46a7cf(0x4ed)](!0x0);return _0x3548bb;},'blockSize':0x1});var _0x40b707=_0x5dfee7[_0x2f4e4a(0x47d)]={},_0x57d3fd=_0x2268ce[_0x2f4e4a(0x387)]=_0x6ae3c3['extend']({'createEncryptor':function(_0x5abc4e,_0x135d49){var _0x1b6e8a=_0x2f4e4a;return this[_0x1b6e8a(0x40d)][_0x1b6e8a(0x266)](_0x5abc4e,_0x135d49);},'createDecryptor':function(_0x321d92,_0xfe7094){var _0x5943d9=_0x2f4e4a;return this[_0x5943d9(0x48c)][_0x5943d9(0x266)](_0x321d92,_0xfe7094);},'init':function(_0x167a3d,_0x4d3dfe){var _0x32d63c=_0x2f4e4a;this[_0x32d63c(0x30c)]=_0x167a3d,this['_iv']=_0x4d3dfe;}}),_0x2b3c47=_0x40b707[_0x2f4e4a(0x40f)]=(function(){var _0x4b33c3=_0x2f4e4a,_0x203f1e=_0x57d3fd['extend']();_0x203f1e[_0x4b33c3(0x40d)]=_0x203f1e[_0x4b33c3(0x2f2)]({'processBlock':function(_0x15764e,_0x3ec02c){var _0x3ed311=_0x4b33c3,_0x44dc74=this['_cipher'],_0x1a78e1=_0x44dc74[_0x3ed311(0x237)];_0x1124e1[_0x3ed311(0x4b0)](this,_0x15764e,_0x3ec02c,_0x1a78e1),_0x44dc74[_0x3ed311(0x3b9)](_0x15764e,_0x3ec02c),this['_prevBlock']=_0x15764e[_0x3ed311(0x423)](_0x3ec02c,_0x3ec02c+_0x1a78e1);}}),_0x203f1e[_0x4b33c3(0x48c)]=_0x203f1e['extend']({'processBlock':function(_0x305280,_0x2040cf){var _0x28de19=_0x4b33c3,_0x4b039f=this[_0x28de19(0x30c)],_0x42b9d2=_0x4b039f[_0x28de19(0x237)],_0xcf9f0d=_0x305280[_0x28de19(0x423)](_0x2040cf,_0x2040cf+_0x42b9d2);_0x4b039f[_0x28de19(0x2e1)](_0x305280,_0x2040cf),_0x1124e1[_0x28de19(0x4b0)](this,_0x305280,_0x2040cf,_0x42b9d2),this['_prevBlock']=_0xcf9f0d;}});function _0x1124e1(_0x5b1cdc,_0xf2ef44,_0x47cbc6){var _0x434f0d=_0x4b33c3,_0x2da2ee,_0x392bf9=this[_0x434f0d(0x3d3)];_0x392bf9?(_0x2da2ee=_0x392bf9,this[_0x434f0d(0x3d3)]=_0x4deabd):_0x2da2ee=this[_0x434f0d(0x2b0)];for(var _0x132348=0x0;_0x132348<_0x47cbc6;_0x132348++)_0x5b1cdc[_0xf2ef44+_0x132348]^=_0x2da2ee[_0x132348];}return _0x203f1e;}()),_0x92102f=_0x5dfee7[_0x2f4e4a(0x22e)]={},_0x244f9b=_0x92102f[_0x2f4e4a(0x464)]={'pad':function(_0x9ba1a8,_0x371d4c){var _0x4c161f=_0x2f4e4a;for(var _0x5b104b=_0x371d4c*0x4,_0x56af58=_0x5b104b-_0x9ba1a8[_0x4c161f(0x3a6)]%_0x5b104b,_0x3c1b56=_0x56af58<<0x18|_0x56af58<<0x10|_0x56af58<<0x8|_0x56af58,_0x4cede7=[],_0x4f8c00=0x0;_0x4f8c00<_0x56af58;_0x4f8c00+=0x4)_0x4cede7[_0x4c161f(0x38c)](_0x3c1b56);var _0x560547=_0x129227[_0x4c161f(0x266)](_0x4cede7,_0x56af58);_0x9ba1a8[_0x4c161f(0x300)](_0x560547);},'unpad':function(_0x5b71af){var _0x442a10=_0x2f4e4a,_0x1730cb=_0x5b71af[_0x442a10(0x517)][_0x5b71af[_0x442a10(0x3a6)]-0x1>>>0x2]&0xff;_0x5b71af[_0x442a10(0x3a6)]-=_0x1730cb;}};_0x2268ce['BlockCipher']=_0x19b017[_0x2f4e4a(0x2f2)]({'cfg':_0x19b017['cfg'][_0x2f4e4a(0x2f2)]({'mode':_0x2b3c47,'padding':_0x244f9b}),'reset':function(){var _0x61dca6=_0x2f4e4a,_0x1f0663;_0x19b017[_0x61dca6(0x511)][_0x61dca6(0x4b0)](this);var _0x1fc65f=this['cfg'],_0x18e016=_0x1fc65f['iv'],_0x52ddb1=_0x1fc65f[_0x61dca6(0x47d)];this[_0x61dca6(0x231)]==this[_0x61dca6(0x457)]?_0x1f0663=_0x52ddb1[_0x61dca6(0x3ca)]:(_0x1f0663=_0x52ddb1[_0x61dca6(0x241)],this[_0x61dca6(0x4bc)]=0x1),this[_0x61dca6(0x495)]&&this['_mode'][_0x61dca6(0x324)]==_0x1f0663?this[_0x61dca6(0x495)][_0x61dca6(0x227)](this,_0x18e016&&_0x18e016[_0x61dca6(0x517)]):(this[_0x61dca6(0x495)]=_0x1f0663[_0x61dca6(0x4b0)](_0x52ddb1,this,_0x18e016&&_0x18e016[_0x61dca6(0x517)]),this[_0x61dca6(0x495)]['__creator']=_0x1f0663);},'_doProcessBlock':function(_0x19521c,_0x9625bd){var _0x2fc2fc=_0x2f4e4a;this[_0x2fc2fc(0x495)][_0x2fc2fc(0x4f9)](_0x19521c,_0x9625bd);},'_doFinalize':function(){var _0x544c24=_0x2f4e4a,_0x157c83,_0x4ac43f=this[_0x544c24(0x49b)][_0x544c24(0x520)];return this[_0x544c24(0x231)]==this['_ENC_XFORM_MODE']?(_0x4ac43f[_0x544c24(0x22e)](this[_0x544c24(0x1d5)],this[_0x544c24(0x237)]),_0x157c83=this[_0x544c24(0x4ed)](!0x0)):(_0x157c83=this[_0x544c24(0x4ed)](!0x0),_0x4ac43f['unpad'](_0x157c83)),_0x157c83;},'blockSize':0x80/0x20});var _0x7a7e42=_0x2268ce[_0x2f4e4a(0x48b)]=_0x6ae3c3[_0x2f4e4a(0x2f2)]({'init':function(_0x222d77){var _0x2717dd=_0x2f4e4a;this[_0x2717dd(0x262)](_0x222d77);},'toString':function(_0x306502){var _0x57e98f=_0x2f4e4a;return(_0x306502||this[_0x57e98f(0x3d2)])['stringify'](this);}}),_0x27d5cc=_0x5dfee7[_0x2f4e4a(0x2b4)]={},_0x33ce8d=_0x27d5cc[_0x2f4e4a(0x4c9)]={'stringify':function(_0x190942){var _0x5b0145=_0x2f4e4a,_0x5765f4,_0x529ac8=_0x190942['ciphertext'],_0x4209de=_0x190942['salt'];return _0x4209de?_0x5765f4=_0x129227[_0x5b0145(0x266)]([0x53616c74,0x65645f5f])['concat'](_0x4209de)[_0x5b0145(0x300)](_0x529ac8):_0x5765f4=_0x529ac8,_0x5765f4[_0x5b0145(0x3f9)](_0x2cd4d6);},'parse':function(_0x1eb77e){var _0x513cb5=_0x2f4e4a,_0x556436,_0x15d787=_0x2cd4d6[_0x513cb5(0x2e7)](_0x1eb77e),_0x585734=_0x15d787[_0x513cb5(0x517)];return _0x585734[0x0]==0x53616c74&&_0x585734[0x1]==0x65645f5f&&(_0x556436=_0x129227[_0x513cb5(0x266)](_0x585734[_0x513cb5(0x423)](0x2,0x4)),_0x585734[_0x513cb5(0x39e)](0x0,0x4),_0x15d787['sigBytes']-=0x10),_0x7a7e42['create']({'ciphertext':_0x15d787,'salt':_0x556436});}},_0x4dc07a=_0x2268ce[_0x2f4e4a(0x1c4)]=_0x6ae3c3[_0x2f4e4a(0x2f2)]({'cfg':_0x6ae3c3[_0x2f4e4a(0x2f2)]({'format':_0x33ce8d}),'encrypt':function(_0x22d60e,_0x16b829,_0x39007e,_0xa6ddae){var _0x953e2d=_0x2f4e4a;_0xa6ddae=this[_0x953e2d(0x49b)][_0x953e2d(0x2f2)](_0xa6ddae);var _0x100450=_0x22d60e['createEncryptor'](_0x39007e,_0xa6ddae),_0x18fda5=_0x100450[_0x953e2d(0x30d)](_0x16b829),_0xee7930=_0x100450[_0x953e2d(0x49b)];return _0x7a7e42[_0x953e2d(0x266)]({'ciphertext':_0x18fda5,'key':_0x39007e,'iv':_0xee7930['iv'],'algorithm':_0x22d60e,'mode':_0xee7930[_0x953e2d(0x47d)],'padding':_0xee7930['padding'],'blockSize':_0x22d60e[_0x953e2d(0x237)],'formatter':_0xa6ddae[_0x953e2d(0x2b4)]});},'decrypt':function(_0x5d2273,_0x22feb2,_0x9bea01,_0x369561){var _0x218366=_0x2f4e4a;_0x369561=this['cfg'][_0x218366(0x2f2)](_0x369561),_0x22feb2=this[_0x218366(0x2eb)](_0x22feb2,_0x369561['format']);var _0x1a9fcd=_0x5d2273['createDecryptor'](_0x9bea01,_0x369561)[_0x218366(0x30d)](_0x22feb2[_0x218366(0x38d)]);return _0x1a9fcd;},'_parse':function(_0x5b8daa,_0x4a5201){var _0x1e744e=_0x2f4e4a;return typeof _0x5b8daa==_0x1e744e(0x379)?_0x4a5201['parse'](_0x5b8daa,this):_0x5b8daa;}}),_0x66a805=_0x5dfee7[_0x2f4e4a(0x343)]={},_0x2d84b0=_0x66a805[_0x2f4e4a(0x4c9)]={'execute':function(_0x2807f6,_0x2bd64e,_0x342ab1,_0x6cd0,_0x9c8cf3){var _0x53aaab=_0x2f4e4a;if(_0x6cd0||(_0x6cd0=_0x129227[_0x53aaab(0x51e)](0x40/0x8)),_0x9c8cf3)var _0x5c638e=_0x26195f[_0x53aaab(0x266)]({'keySize':_0x2bd64e+_0x342ab1,'hasher':_0x9c8cf3})[_0x53aaab(0x22a)](_0x2807f6,_0x6cd0);else var _0x5c638e=_0x26195f[_0x53aaab(0x266)]({'keySize':_0x2bd64e+_0x342ab1})[_0x53aaab(0x22a)](_0x2807f6,_0x6cd0);var _0x1c593d=_0x129227[_0x53aaab(0x266)](_0x5c638e[_0x53aaab(0x517)][_0x53aaab(0x423)](_0x2bd64e),_0x342ab1*0x4);return _0x5c638e[_0x53aaab(0x3a6)]=_0x2bd64e*0x4,_0x7a7e42[_0x53aaab(0x266)]({'key':_0x5c638e,'iv':_0x1c593d,'salt':_0x6cd0});}},_0x4c53d7=_0x2268ce[_0x2f4e4a(0x2de)]=_0x4dc07a[_0x2f4e4a(0x2f2)]({'cfg':_0x4dc07a[_0x2f4e4a(0x49b)][_0x2f4e4a(0x2f2)]({'kdf':_0x2d84b0}),'encrypt':function(_0x28ff36,_0x4955c2,_0x14e976,_0x5466f3){var _0x11e94b=_0x2f4e4a;_0x5466f3=this[_0x11e94b(0x49b)][_0x11e94b(0x2f2)](_0x5466f3);var _0x51830a=_0x5466f3[_0x11e94b(0x343)][_0x11e94b(0x41f)](_0x14e976,_0x28ff36['keySize'],_0x28ff36[_0x11e94b(0x2d3)],_0x5466f3[_0x11e94b(0x2f1)],_0x5466f3['hasher']);_0x5466f3['iv']=_0x51830a['iv'];var _0x13e177=_0x4dc07a['encrypt'][_0x11e94b(0x4b0)](this,_0x28ff36,_0x4955c2,_0x51830a['key'],_0x5466f3);return _0x13e177[_0x11e94b(0x262)](_0x51830a),_0x13e177;},'decrypt':function(_0x170c22,_0x243a9d,_0xe69085,_0x341c53){var _0x238142=_0x2f4e4a;_0x341c53=this[_0x238142(0x49b)][_0x238142(0x2f2)](_0x341c53),_0x243a9d=this[_0x238142(0x2eb)](_0x243a9d,_0x341c53[_0x238142(0x2b4)]);var _0x316945=_0x341c53[_0x238142(0x343)][_0x238142(0x41f)](_0xe69085,_0x170c22[_0x238142(0x35a)],_0x170c22[_0x238142(0x2d3)],_0x243a9d[_0x238142(0x2f1)],_0x341c53[_0x238142(0x34f)]);_0x341c53['iv']=_0x316945['iv'];var _0xdfd7e0=_0x4dc07a[_0x238142(0x4d6)]['call'](this,_0x170c22,_0x243a9d,_0x316945[_0x238142(0x4d2)],_0x341c53);return _0xdfd7e0;}});}();}));}(Te)),Te['exports'];}var Gi=fe[_0x162eea(0x35b)],st;function Ki(){var _0x6260ea=_0x162eea;return st||(st=0x1,function(_0x3e29bd,_0xf825f2){(function(_0x57696e,_0x23dedb,_0x38b045){var _0x89189e=_0x32dc;_0x3e29bd[_0x89189e(0x35b)]=_0x23dedb(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x4fb1c9){return(function(){var _0x5daf19=_0x32dc,_0x27b86a=_0x4fb1c9,_0x3877a2=_0x27b86a[_0x5daf19(0x281)],_0x5a112f=_0x3877a2[_0x5daf19(0x1ff)],_0x3ce66f=_0x27b86a[_0x5daf19(0x503)],_0x5e0d9e=[],_0x861a1c=[],_0x1a92b9=[],_0x70ae02=[],_0x299648=[],_0x10a8c4=[],_0x40944d=[],_0x3ecd5f=[],_0x3186cc=[],_0x5cb549=[];(function(){for(var _0x3323bb=[],_0xea65b1=0x0;_0xea65b1<0x100;_0xea65b1++)_0xea65b1<0x80?_0x3323bb[_0xea65b1]=_0xea65b1<<0x1:_0x3323bb[_0xea65b1]=_0xea65b1<<0x1^0x11b;for(var _0x1a9104=0x0,_0x4ac700=0x0,_0xea65b1=0x0;_0xea65b1<0x100;_0xea65b1++){var _0x243413=_0x4ac700^_0x4ac700<<0x1^_0x4ac700<<0x2^_0x4ac700<<0x3^_0x4ac700<<0x4;_0x243413=_0x243413>>>0x8^_0x243413&0xff^0x63,_0x5e0d9e[_0x1a9104]=_0x243413,_0x861a1c[_0x243413]=_0x1a9104;var _0x26b58f=_0x3323bb[_0x1a9104],_0xcb4d21=_0x3323bb[_0x26b58f],_0x2228a5=_0x3323bb[_0xcb4d21],_0x4aaace=_0x3323bb[_0x243413]*0x101^_0x243413*0x1010100;_0x1a92b9[_0x1a9104]=_0x4aaace<<0x18|_0x4aaace>>>0x8,_0x70ae02[_0x1a9104]=_0x4aaace<<0x10|_0x4aaace>>>0x10,_0x299648[_0x1a9104]=_0x4aaace<<0x8|_0x4aaace>>>0x18,_0x10a8c4[_0x1a9104]=_0x4aaace;var _0x4aaace=_0x2228a5*0x1010101^_0xcb4d21*0x10001^_0x26b58f*0x101^_0x1a9104*0x1010100;_0x40944d[_0x243413]=_0x4aaace<<0x18|_0x4aaace>>>0x8,_0x3ecd5f[_0x243413]=_0x4aaace<<0x10|_0x4aaace>>>0x10,_0x3186cc[_0x243413]=_0x4aaace<<0x8|_0x4aaace>>>0x18,_0x5cb549[_0x243413]=_0x4aaace,_0x1a9104?(_0x1a9104=_0x26b58f^_0x3323bb[_0x3323bb[_0x3323bb[_0x2228a5^_0x26b58f]]],_0x4ac700^=_0x3323bb[_0x3323bb[_0x4ac700]]):_0x1a9104=_0x4ac700=0x1;}}());var _0x7c0658=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x38abb5=_0x3ce66f[_0x5daf19(0x1d1)]=_0x5a112f[_0x5daf19(0x2f2)]({'_doReset':function(){var _0x93a779=_0x5daf19,_0x56e596;if(!(this[_0x93a779(0x52c)]&&this[_0x93a779(0x4a0)]===this[_0x93a779(0x35c)])){for(var _0x4d4255=this[_0x93a779(0x4a0)]=this[_0x93a779(0x35c)],_0x4f388f=_0x4d4255['words'],_0x4d0be8=_0x4d4255['sigBytes']/0x4,_0x4628ed=this['_nRounds']=_0x4d0be8+0x6,_0x493340=(_0x4628ed+0x1)*0x4,_0x51a299=this[_0x93a779(0x52a)]=[],_0x3a1f96=0x0;_0x3a1f96<_0x493340;_0x3a1f96++)_0x3a1f96<_0x4d0be8?_0x51a299[_0x3a1f96]=_0x4f388f[_0x3a1f96]:(_0x56e596=_0x51a299[_0x3a1f96-0x1],_0x3a1f96%_0x4d0be8?_0x4d0be8>0x6&&_0x3a1f96%_0x4d0be8==0x4&&(_0x56e596=_0x5e0d9e[_0x56e596>>>0x18]<<0x18|_0x5e0d9e[_0x56e596>>>0x10&0xff]<<0x10|_0x5e0d9e[_0x56e596>>>0x8&0xff]<<0x8|_0x5e0d9e[_0x56e596&0xff]):(_0x56e596=_0x56e596<<0x8|_0x56e596>>>0x18,_0x56e596=_0x5e0d9e[_0x56e596>>>0x18]<<0x18|_0x5e0d9e[_0x56e596>>>0x10&0xff]<<0x10|_0x5e0d9e[_0x56e596>>>0x8&0xff]<<0x8|_0x5e0d9e[_0x56e596&0xff],_0x56e596^=_0x7c0658[_0x3a1f96/_0x4d0be8|0x0]<<0x18),_0x51a299[_0x3a1f96]=_0x51a299[_0x3a1f96-_0x4d0be8]^_0x56e596);for(var _0x1ffb6d=this[_0x93a779(0x271)]=[],_0x587fd9=0x0;_0x587fd9<_0x493340;_0x587fd9++){var _0x3a1f96=_0x493340-_0x587fd9;if(_0x587fd9%0x4)var _0x56e596=_0x51a299[_0x3a1f96];else var _0x56e596=_0x51a299[_0x3a1f96-0x4];_0x587fd9<0x4||_0x3a1f96<=0x4?_0x1ffb6d[_0x587fd9]=_0x56e596:_0x1ffb6d[_0x587fd9]=_0x40944d[_0x5e0d9e[_0x56e596>>>0x18]]^_0x3ecd5f[_0x5e0d9e[_0x56e596>>>0x10&0xff]]^_0x3186cc[_0x5e0d9e[_0x56e596>>>0x8&0xff]]^_0x5cb549[_0x5e0d9e[_0x56e596&0xff]];}}},'encryptBlock':function(_0x5a5667,_0x4aa2f5){var _0xbf3d17=_0x5daf19;this[_0xbf3d17(0x256)](_0x5a5667,_0x4aa2f5,this[_0xbf3d17(0x52a)],_0x1a92b9,_0x70ae02,_0x299648,_0x10a8c4,_0x5e0d9e);},'decryptBlock':function(_0x274188,_0x5b0819){var _0x2ac9d4=_0x5daf19,_0xa3080a=_0x274188[_0x5b0819+0x1];_0x274188[_0x5b0819+0x1]=_0x274188[_0x5b0819+0x3],_0x274188[_0x5b0819+0x3]=_0xa3080a,this['_doCryptBlock'](_0x274188,_0x5b0819,this[_0x2ac9d4(0x271)],_0x40944d,_0x3ecd5f,_0x3186cc,_0x5cb549,_0x861a1c);var _0xa3080a=_0x274188[_0x5b0819+0x1];_0x274188[_0x5b0819+0x1]=_0x274188[_0x5b0819+0x3],_0x274188[_0x5b0819+0x3]=_0xa3080a;},'_doCryptBlock':function(_0x42e58,_0x2fc857,_0x4fe807,_0x11c95d,_0x11ba8d,_0x18d88b,_0x392eee,_0x5909ee){var _0xaf4507=_0x5daf19;for(var _0x11f30d=this[_0xaf4507(0x52c)],_0x2fe77b=_0x42e58[_0x2fc857]^_0x4fe807[0x0],_0x447b11=_0x42e58[_0x2fc857+0x1]^_0x4fe807[0x1],_0x962076=_0x42e58[_0x2fc857+0x2]^_0x4fe807[0x2],_0x2d73e3=_0x42e58[_0x2fc857+0x3]^_0x4fe807[0x3],_0x2157f8=0x4,_0x32726b=0x1;_0x32726b<_0x11f30d;_0x32726b++){var _0x35824b=_0x11c95d[_0x2fe77b>>>0x18]^_0x11ba8d[_0x447b11>>>0x10&0xff]^_0x18d88b[_0x962076>>>0x8&0xff]^_0x392eee[_0x2d73e3&0xff]^_0x4fe807[_0x2157f8++],_0x19a093=_0x11c95d[_0x447b11>>>0x18]^_0x11ba8d[_0x962076>>>0x10&0xff]^_0x18d88b[_0x2d73e3>>>0x8&0xff]^_0x392eee[_0x2fe77b&0xff]^_0x4fe807[_0x2157f8++],_0x11301e=_0x11c95d[_0x962076>>>0x18]^_0x11ba8d[_0x2d73e3>>>0x10&0xff]^_0x18d88b[_0x2fe77b>>>0x8&0xff]^_0x392eee[_0x447b11&0xff]^_0x4fe807[_0x2157f8++],_0x360cf8=_0x11c95d[_0x2d73e3>>>0x18]^_0x11ba8d[_0x2fe77b>>>0x10&0xff]^_0x18d88b[_0x447b11>>>0x8&0xff]^_0x392eee[_0x962076&0xff]^_0x4fe807[_0x2157f8++];_0x2fe77b=_0x35824b,_0x447b11=_0x19a093,_0x962076=_0x11301e,_0x2d73e3=_0x360cf8;}var _0x35824b=(_0x5909ee[_0x2fe77b>>>0x18]<<0x18|_0x5909ee[_0x447b11>>>0x10&0xff]<<0x10|_0x5909ee[_0x962076>>>0x8&0xff]<<0x8|_0x5909ee[_0x2d73e3&0xff])^_0x4fe807[_0x2157f8++],_0x19a093=(_0x5909ee[_0x447b11>>>0x18]<<0x18|_0x5909ee[_0x962076>>>0x10&0xff]<<0x10|_0x5909ee[_0x2d73e3>>>0x8&0xff]<<0x8|_0x5909ee[_0x2fe77b&0xff])^_0x4fe807[_0x2157f8++],_0x11301e=(_0x5909ee[_0x962076>>>0x18]<<0x18|_0x5909ee[_0x2d73e3>>>0x10&0xff]<<0x10|_0x5909ee[_0x2fe77b>>>0x8&0xff]<<0x8|_0x5909ee[_0x447b11&0xff])^_0x4fe807[_0x2157f8++],_0x360cf8=(_0x5909ee[_0x2d73e3>>>0x18]<<0x18|_0x5909ee[_0x2fe77b>>>0x10&0xff]<<0x10|_0x5909ee[_0x447b11>>>0x8&0xff]<<0x8|_0x5909ee[_0x962076&0xff])^_0x4fe807[_0x2157f8++];_0x42e58[_0x2fc857]=_0x35824b,_0x42e58[_0x2fc857+0x1]=_0x19a093,_0x42e58[_0x2fc857+0x2]=_0x11301e,_0x42e58[_0x2fc857+0x3]=_0x360cf8;},'keySize':0x100/0x20});_0x27b86a['AES']=_0x5a112f[_0x5daf19(0x1c1)](_0x38abb5);}()),_0x4fb1c9['AES'];}));}(fe)),fe[_0x6260ea(0x35b)];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x162eea(0x35b)],at;function Xi(){var _0x4c5702=_0x162eea;return at||(at=0x1,function(_0x45ba54,_0x64f093){(function(_0x396508,_0x272800){var _0x320308=_0x32dc;_0x45ba54[_0x320308(0x35b)]=_0x272800(ee());}(Ji,function(_0x2a1930){var _0x7fd848=_0x32dc;return _0x2a1930[_0x7fd848(0x202)][_0x7fd848(0x3fd)];}));}(be)),be[_0x4c5702(0x35b)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x162eea(0x35b)],ct;function tn(){var _0xcfd41e=_0x162eea;return ct||(ct=0x1,function(_0x50504f,_0x139a97){(function(_0x3d0e9b,_0x5d7b74){var _0x4da7a3=_0x32dc;_0x50504f[_0x4da7a3(0x35b)]=_0x5d7b74(ee());}(en,function(_0x9fbafe){var _0x20a0d0=_0x32dc;return(function(){var _0x5eb48e=_0x32dc;if(typeof ArrayBuffer=='function'){var _0x4a7b01=_0x9fbafe,_0x4e00dc=_0x4a7b01[_0x5eb48e(0x281)],_0x3d48a2=_0x4e00dc[_0x5eb48e(0x486)],_0x4db794=_0x3d48a2[_0x5eb48e(0x227)],_0x4cde1b=_0x3d48a2['init']=function(_0x58c9ee){var _0x56265a=_0x5eb48e;if(_0x58c9ee instanceof ArrayBuffer&&(_0x58c9ee=new Uint8Array(_0x58c9ee)),(_0x58c9ee instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x58c9ee instanceof Uint8ClampedArray||_0x58c9ee instanceof Int16Array||_0x58c9ee instanceof Uint16Array||_0x58c9ee instanceof Int32Array||_0x58c9ee instanceof Uint32Array||_0x58c9ee instanceof Float32Array||_0x58c9ee instanceof Float64Array)&&(_0x58c9ee=new Uint8Array(_0x58c9ee[_0x56265a(0x4fb)],_0x58c9ee[_0x56265a(0x2be)],_0x58c9ee['byteLength'])),_0x58c9ee instanceof Uint8Array){for(var _0xa61690=_0x58c9ee[_0x56265a(0x1b6)],_0x2a232b=[],_0x2babdb=0x0;_0x2babdb<_0xa61690;_0x2babdb++)_0x2a232b[_0x2babdb>>>0x2]|=_0x58c9ee[_0x2babdb]<<0x18-_0x2babdb%0x4*0x8;_0x4db794[_0x56265a(0x4b0)](this,_0x2a232b,_0xa61690);}else _0x4db794[_0x56265a(0x446)](this,arguments);};_0x4cde1b[_0x5eb48e(0x4d0)]=_0x3d48a2;}}()),_0x9fbafe[_0x20a0d0(0x281)][_0x20a0d0(0x486)];}));}(Re)),Re[_0xcfd41e(0x35b)];}var nn=tn();const rn=Se(nn);var Oe={'exports':{}},sn=Oe[_0x162eea(0x35b)],ht;function on(){var _0x42b94c=_0x162eea;return ht||(ht=0x1,function(_0x15927c,_0x571923){(function(_0x5a7e7f,_0x11f372,_0x55d081){_0x15927c['exports']=_0x11f372(ee(),Pt());}(sn,function(_0x244666){var _0x120439=_0x32dc;return _0x244666[_0x120439(0x22e)][_0x120439(0x22f)]={'pad':function(){},'unpad':function(){}},_0x244666[_0x120439(0x22e)][_0x120439(0x22f)];}));}(Oe)),Oe[_0x42b94c(0x35b)];}var an=on();const cn=Se(an);function hn(_0x50df29,_0x16dc9f){var _0x1c5999=_0x162eea;const _0x2b4d4f=_0x16dc9f-_0x50df29[_0x1c5999(0x359)]%_0x16dc9f,_0x25829f=String[_0x1c5999(0x25a)](_0x2b4d4f)[_0x1c5999(0x2e9)](_0x2b4d4f);return _0x50df29+_0x25829f;}function _n(_0x36ff63,_0x4fc8c0){var _0x35ad3f=_0x162eea;const _0x15f908=rn[_0x35ad3f(0x51e)](0x10),_0xb0e147=hn(_0x36ff63,0x10),_0x558402=qi['encrypt'](Qi[_0x35ad3f(0x2e7)](_0xb0e147),ot['parse'](_0x4fc8c0),{'iv':_0x15f908,'padding':cn});return _0x15f908[_0x35ad3f(0x300)](_0x558402[_0x35ad3f(0x38d)])[_0x35ad3f(0x3f9)](ot);}function ln(){var _0x25f407=_0x162eea;const _0x3be8eb=xt[_0x25f407(0x4dd)]()[_0x25f407(0x399)];if(_0x3be8eb){const _0x929a96={'time':Math[_0x25f407(0x531)](Date[_0x25f407(0x512)]()/0x3e8),'domain':location[_0x25f407(0x24c)]};return _n(JSON[_0x25f407(0x218)](_0x929a96),_0x3be8eb);}}var un=Object[_0x162eea(0x4db)],dn=(_0x1683f5,_0xdc2d1e,_0x2d64e9,_0x27336d)=>{var _0x5993fd=_0x162eea;for(var _0x5d827c=_0x27336d>0x1?void 0x0:_0x27336d?un(_0xdc2d1e,_0x2d64e9):_0xdc2d1e,_0x28c974=_0x1683f5[_0x5993fd(0x359)]-0x1,_0x460a07;_0x28c974>=0x0;_0x28c974--)(_0x460a07=_0x1683f5[_0x28c974])&&(_0x5d827c=_0x460a07(_0x5d827c)||_0x5d827c);return _0x5d827c;},vn=(_0x65fad6,_0x5bb5e6)=>(_0x162101,_0x4cb867)=>_0x5bb5e6(_0x162101,_0x4cb867,_0x65fad6);let Ne=class{constructor(_0x1e2eef){var _0x97a0ed=_0x162eea;this[_0x97a0ed(0x51c)]=_0x1e2eef,this['_initRequestHeader']();}['_initRequestHeader'](){var _0x105242=_0x162eea;this[_0x105242(0x51c)][_0x105242(0x1ef)]({'interceptor':(_0x1f14ab,_0x4d5ac5)=>{var _0x5b70ce=_0x105242;const _0x196fbe=_0x1f14ab[_0x5b70ce(0x32a)],_0x1f4813=ln();return _0x1f4813&&_0x196fbe[_0x5b70ce(0x4a6)]('x-univer-host',_0x1f4813),_0x4d5ac5(_0x1f14ab);}});}};Ne=dn([vn(0x0,a[_0x162eea(0x1ec)](q[_0x162eea(0x3ce)]))],Ne);var Sn=Object[_0x162eea(0x4db)],fn=(_0xb49e9f,_0xaaea2f,_0x4b94a7,_0x34547b)=>{var _0x5340bd=_0x162eea;for(var _0xab090a=_0x34547b>0x1?void 0x0:_0x34547b?Sn(_0xaaea2f,_0x4b94a7):_0xaaea2f,_0x1accd3=_0xb49e9f[_0x5340bd(0x359)]-0x1,_0x5007e4;_0x1accd3>=0x0;_0x1accd3--)(_0x5007e4=_0xb49e9f[_0x1accd3])&&(_0xab090a=_0x5007e4(_0xab090a)||_0xab090a);return _0xab090a;},Me=(_0xc37a01,_0x384c72)=>(_0x432304,_0x5db646)=>_0x384c72(_0x432304,_0x5db646,_0xc37a01);exports[_0x162eea(0x51d)]=class extends a[_0x162eea(0x1d9)]{constructor(_0x5ea943,_0x1c295d,_0x4f6578){var _0x17aa1f=_0x162eea;super(),A(this,_0x17aa1f(0x2db),new j['BehaviorSubject'](null)),A(this,_0x17aa1f(0x2ca),this[_0x17aa1f(0x2db)][_0x17aa1f(0x521)]()),(this[_0x17aa1f(0x2ee)]=_0x5ea943,this[_0x17aa1f(0x3e3)]=_0x1c295d,this[_0x17aa1f(0x1ad)]=_0x4f6578);}async[_0x162eea(0x2f9)](_0x2ddd27,_0x4676c7,_0x417f75){var _0x1a0a52=_0x162eea;this[_0x1a0a52(0x2db)][_0x1a0a52(0x263)]({'unitId':_0x2ddd27,'type':_0x4676c7,'subUnitId':_0x417f75});let _0x4527dc=null;switch(_0x4676c7){case X[_0x1a0a52(0x1f7)]:{_0x4527dc=await this[_0x1a0a52(0x1c8)](_0x2ddd27);break;}case X[_0x1a0a52(0x351)]:{_0x4527dc=await this[_0x1a0a52(0x364)](_0x2ddd27);break;}default:{this[_0x1a0a52(0x2ee)][_0x1a0a52(0x389)](_0x1a0a52(0x412),_0x1a0a52(0x28b));break;}}return _0x4527dc;}async[_0x162eea(0x1c8)](_0x26f297){var _0x340569=_0x162eea,_0x1825b1;let _0x51865e=0x0;const _0x28a508=await((_0x1825b1=this[_0x340569(0x1ad)])==null?void 0x0:_0x1825b1[_0x340569(0x41d)](_0x26f297));return _0x28a508&&(_0x28a508[_0x340569(0x325)]||_0x28a508[_0x340569(0x27b)][_0x340569(0x359)]!==0x0)&&(_0x51865e=_0x28a508[_0x340569(0x269)]),_0x51865e===0x0&&this[_0x340569(0x2ee)][_0x340569(0x428)]('[DataLoaderService]',_0x340569(0x252)),this[_0x340569(0x3e3)]['loadSheet'](_0x26f297,_0x51865e);}async[_0x162eea(0x364)](_0x5cce35){var _0x588f4f=_0x162eea,_0x4d28ca;let _0x1b1cb1=0x0;const _0x559474=await((_0x4d28ca=this[_0x588f4f(0x1ad)])==null?void 0x0:_0x4d28ca[_0x588f4f(0x41d)](_0x5cce35));return _0x559474&&(_0x559474[_0x588f4f(0x325)]||_0x559474[_0x588f4f(0x27b)][_0x588f4f(0x359)]!==0x0)&&(_0x1b1cb1=_0x559474['rev']),_0x1b1cb1===0x0&&this[_0x588f4f(0x2ee)][_0x588f4f(0x428)](_0x588f4f(0x412),_0x588f4f(0x252)),this[_0x588f4f(0x3e3)][_0x588f4f(0x3d5)](_0x5cce35,_0x1b1cb1);}},exports[_0x162eea(0x51d)]=fn([Me(0x0,a[_0x162eea(0x2ba)]),Me(0x1,a['Inject'](g[_0x162eea(0x2bf)])),Me(0x2,a[_0x162eea(0x2dc)](z))],exports[_0x162eea(0x51d)]);var pn=Object[_0x162eea(0x4db)],gn=(_0x2e9b9a,_0x59bae2,_0x33c171,_0x1d87fd)=>{for(var _0x153cd8=_0x1d87fd>0x1?void 0x0:_0x1d87fd?pn(_0x59bae2,_0x33c171):_0x59bae2,_0x48ca63=_0x2e9b9a['length']-0x1,_0x2f853c;_0x48ca63>=0x0;_0x48ca63--)(_0x2f853c=_0x2e9b9a[_0x48ca63])&&(_0x153cd8=_0x2f853c(_0x153cd8)||_0x153cd8);return _0x153cd8;},xe=(_0x39127e,_0x25391)=>(_0x482d3e,_0x52f487)=>_0x25391(_0x482d3e,_0x52f487,_0x39127e);function _0x5ad4(){var _0x46dd31=['dispose$','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','action','274055RjiEMJ','getSnapshotAPIPath','COLLAB_SUBMIT_CHANGESET_URL_KEY','awaiting','update','Could\x20not\x20dynamically\x20require\x20\x22','APPLY_REJECT','socket$','/universer-api/stream/file/upload','onTransformSelections','Encryptor','_queuedRemoteChangesets','CBC','focused$','190131RneZbV','[DataLoaderService]','shareReplay','revision','onTransformRemoteChangesetByStateCache','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_joinRoom','enableSingleActiveInstanceLock','roomInfos','ILocalCacheService','_collaborationUIEventService','LOGIN_FAILED','loadOfflineData','SheetTransformSelectionsService','execute','PY_RUNTIME_SCRIPT_ERROR','_members$','APPLY_REVISION_CONFILICT','slice','_transformService','_permissionService','symbol','CollaborationSocketService','debug','UPDATE_PERMISSION_OBJ','/universer-api/snapshot','target','params','onStateChange','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','UNRECOGNIZED','onSendChangeset','@univerjs-pro/license','\x20to\x20','toStringTag','_exhaustRemoteChangesetQueue','IDLE','_undoRedoService','_revisionService','enableAuthServer','_resendTimeout','YUUMI_RATE_OVER_LIMIT','createInstance','SNAPSHOT_INVALID_SNAPSHOT','SheetPermissionInitController','readyForCollab','HELLO','_roomCreated$','/collaborator','NEW_CHANGESETS','_candidateSocket','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','MemberService','apply','_waitForHeartbeatResponse','members$','sequenceExecute','COMPLETION_FINISHED','csRejEvent','offline','EvpKDF','APPLY_NON_SEQUENTIAL_REVISION','_HTTPService','InsertSheetMutation','CollaborationUIEventService','SnapshotServerOverHTTPService','b64DecodeUnicode','memberID','liveShareNewHost','onlyLocal','_ENC_XFORM_MODE','@univerjs/core','/rev/','randomBytes','session.room-cnt-exceeds','_rescheduleHeartbeat','permissionRejEvent','session','filter','Module','INVALID_INVITE_CODE','ITransformService','size','Pkcs7','_transformRemoteChangesetByStateCache','Cipher','baseRev','href','type','roles','UNKNOWN_CODE','unknown','ICommandService','CollaborationSessionService','_createSocket','_onConflict','LICENSE_EXPORT_SIZE_EXCEEDED','putCollaborators','AwaitingWithPendingState','appendMutation','UNIVER_PROJECT','touchDependencies','HEARTBEAT_TIMEOUT','NOT_FOUND','NOT_COLLAB','MUTATION','toggleOnline','fetch_missing','mode','isTransformMutationsWithChangesetFailure','onSyncEditingCollabCursor','eventID','ThresholdInterceptorFactory','IUndoRedoService','getUnitOnRev','INGEST','file','WordArray','synced','MOBILE_HAS_BEEN_BOUND','open$','PERMISSION_REJ','CipherParams','Decryptor','[SyncedState]:\x20received\x20acknowledgement.','_showConflictNotification','\x0aCurrent:\x20','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_timeoutTimer','SessionStatus','_sessionStatus$','DEFAULT_WS_SESSION_TICKET_URL','_mode','LICENSE_MAX_UNITS_EXCEEDED','_networkConditionService','JOIN','CONNECTOR_DATA_TOO_LARGE','objectID','cfg','_updateState','getConfig','getResourcesRequest','SOCKET_FAILED','_keyPriorReset','IConfigService','EmptyMutation','list','/unit/','_sendHeartbeat','set','_getAPIPrefix','parseProtocolChangeset','body','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_replayCachedMutations','rxjs','CollaborationEntity','getImage','substr','call','_syncEditingCollabCursor','EMAIL_HAS_BEEN_BOUND','_createInitialStateImpl','_sendingTimer','_singleActiveUnitService','join','updateMember','unit-cache-','JOIN_ROOM_PERMISSION_DENIED','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','find','_minBufferSize','UnitEmbedded','PERSON','_transformStack','@univerjs/network','selections','ISocketService','[OfflineState]:\x20received\x20rejection.','CollaborationEvent','origin','_checkMissing','shouldCloseConn','Workbook','OpenSSL','_collaborationSessionService','_lockTransition','every','originalMeta','_clearScheduledTask','/object','prototype','copyFileMeta','key','_DEC_XFORM_MODE','generateRandomId','socket\x20close','decrypt','location','sessionStatus$','_telemetryInfo','univer-pro.collaboration-client-socket-service','getOwnPropertyDescriptor','objects','getGlobalObject','_onLocalMutation','addHandlerCallback','interceptor','ITelemetryService','_undoStacks','getRandomValues','_unitID','INVITE_CODE_HAS_BEEN_UES','updateCollaborator','_resendTimer','CHANGESET_SHOULD_RETRY','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','DependentOn','LIVESHARE_OPERATION','_doFinalize','_process','SUCCUSS','fetchThroughInterceptors','online$','_memberService','_onUserJoin','toDisposable','serializeCombRequest','submit\x20changeset\x20error!','subject','1280232khNPBM','POST','processBlock','HEARTBEAT','buffer','_sender','CHANGESET_REJ','IPermissionService','session.join-failed','SyncedState','fetchMissingChangesets','ceil','algo','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','rxjs/operators','Subject','withCredentials','_replaceFileID','function','_listenToNetworkCondition','put','add','ERROR_EXCEED_SIZE','_updateLocalCache','socket\x20open.','CommentService','reset','now','_userManagerService','FileId','MentionIoHttpService','UniverCollaborationClientPlugin','words','OTHER_CLIENT_EDITING','WECHAT_HAS_BEEN_BOUND','csAckEvent','_submitChangeset','_httpService','DataLoaderService','random','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','padding','asObservable','_commentUpdate$','onRemoteRej','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','reconnect','PSEUDO_FETCH_MISSING_RESULT','_createHmacHelper','max','_keySchedule','DocCollaborationEntity','_nRounds','BehaviorSubject','Quantity','CLOSE_ROOM','downloadEndpointUrl','floor','reject','resourceIDs','/fetchmissing?from=','_handlerCallback','_localCacheService','MergeInterceptorFactory','image/gif','/block/','LIVESHARE_NEW_HOST','MD5','reduce','method','CONFLICT','byteLength','_compressMutationService','onload','collaboration-client.config','_removeRoom','NO_OTHER_CLIENTS_EDITING','?size=','listRoles','_transformIMECache','getMemberID','_getSendChangesetTimeout','_createHelper','take','_changesetSessionId','SerializableCipher','_collabSessionService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_getUploadFileURL','_loadSheet','FAIL','_roomMembers','RETRY_CONNECTING_MAX_COUNT_KEY','createSocket','getWorkbookSelections','_onRemoteRejected','hasOwnProperty','state','AES','JOIN_ROOM_NOT_EXISTS','_onOffline','OTHER_CLIENTS_EDITING','_data','_onMessage','isTransformMutationsWithChangesetSuccess','_sendHeartbeatTimer','RxDisposable','_members','_getLoginPath','getCollabEntity$','localCacheService','COLLAB_WEB_SOCKET_URL_KEY','SheetCollaborationEntity','[CollaborationSession]','_onRemoteRetry','_clearTimeoutTimer','deleteCollaborator','INVITE_CODE_ALREADY_BOUND','m2Prime','/universer-api/snapshot/','LOGIN_URL_KEY','LICENSE_IMPORT_SIZE_EXCEEDED','@univerjs/docs','[CollaborationUndoRedoService]','BufferedBlockAlgorithm','Inject','_startCollaboration','_doReset','registerHTTPInterceptor','batchAllowed','randomUUID','disposeWithMe','/universer-api/file/{fileID}/sign-url','@univerjs/drawing','objectActions','findIndex','UNIVER_SHEET','includes','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','onMissedChangesetFetched','[CollaborationState]:\x20apply\x20error!','ENSURE_SNAPSHOT_EXECUTION','BlockCipher','collaboration-client.local-cache-service','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','enc','OfflineState','c1Prime','onTransformIME','Hasher','objectType','_createInitialState','pauseCollaboration','_doProcessBlock','LIVESHARE_TERMINATE','_isPermissionRej','mergeOverrideWithDependencies','_onConnectionFailed','mapDocumentTypeToUniverType','_clearHeartbeatTimer','indexOf','fetchMiss','DisposableCollection','APPLY_PERMISSION_DENIED','&assign=','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','collaborators','stringify','title','unitID','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','getActiveSheet','APPLY_DUPLICATED','getCurrentUser','getSheetBlock','createCollaborator','default','capture','_scheduleCompleteTimestamp','getCollabEntity','LIVESHARE_FETCH_OPERATIONS','_clearUndo','init','_socketMessageSubscription','YUUMI_URL_COL_OUT_OF_RANGE','compute','delete','_onUserLeave','_remoteChangesetQueue','pad','NoPadding','_onCombEvent','_xformMode','changesets','_hash','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','/object/','_redoStacks','blockSize','getLocalCacheKey','saveSnapshot','_tryReconnect','then','deepClone','data','status','_shouldReportTelemetry','UnitSnapshot','createDecryptor','startTime','_getAPIPrefixPath','getValue','_throwTelemetryCollaborationNewChangeset','/-/object/-/batch_allowed','close$','233968fmwDMk','bind','compose','CHANGESET_ACK','hostname','name','catch','_registerDependencies','emitEvent','fromCollab','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','isArray','ICollaborationSocketService','FetchingMissState','_doCryptBlock','fetching\x20missing\x20changesets\x20from\x20','getMember','createIdentifier','fromCharCode','StreamCipher','onLocalMutation','SYNCED','closeSession','requireSession','_onFetchMissResult','_sheetTransformSelectionsService','mixIn','next','UNIVER_SLIDE','_applyRemoteChangeset','create','GLOBAL_ROOMS_CNT_EXCEEDS','encode','rev','image/bmp','uploadFileServerUrl','_transitionLocked','toggleOffline','_imageSourceCache','_map','SEND_CHANGESET_TIMEOUT','_invKeySchedule','_socket$','isPermissionRej','_socketReady','avatar','from','result','[CollaborationEntity]','Failed\x20to\x20update\x20permission\x20point','[OfflineState]:\x20received\x20changeset.','mutations','IUniverInstanceService','_status$','CollaborationStatus','session.room-permission-denied','src','lib','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','authzUrl','BASE64','getDeserializedSheetBlock','updatePermissionPoint','pluginName','deserializeToCombResponse','JOINING','HEARTBEAT_TIMEOUT_KEY','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_getDownloadEndpointURL','_append','state$','_disableEditing','forEach','IContextService','ws://127.0.0.1:8000/universer-api/comb/connect','YUUMI_UNABLE_LOAD_URL','_configService','_type','SheetsSelectionsService','reqId','_initUnitPermissionChange','UPDATE_CURSOR','CollaborationController','_collaborationTimeoutTimer','getCurrentSelections','charAt','newCsEvent','LEAVE','parseChangesetToProtocol','PendingState','_initCloseConn','HttpExport','DEFAULT_FILE_NAME','setWaitCount','merge','_onRemoteChangeset','get','_snapshotServerService','_commentService','TOO_MANY_REQUESTS','refreshPermission','8bPBDUc','actions','_initDependencies','_prevBlock','ERROR_IMAGE_TYPE','isTransformChangesetsSuccess','liveShareOperation','format','WorkbookEditablePermission','?url=','USERS_LEAVE','YUUMI_ASYNCIO_CANCELLED','_onRecvEvent','ILogService','RETRY_CONNECTING_MAX_COUNT','_schedule','onTransformState','byteOffset','SnapshotService','[UniverCollaborationClientPlugin]','UNIVER_COLLABORATION_CLIENT_PLUGIN','_clearRedo','isInternalEditorID','ALREADY_EXISTS','_state$','entries','unsubscribe','message$','change$','unitInfo$','onRemoteRetry','session.room-not-exists','_transformUndoredo','_commandService','&source=','loginUrlKey','concatMap','_getUndoStack','ivSize','[CollaborationSessionService]:\x20socket\x20error','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','allowed','PERMISSION_DENIED','url','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','LOCAL_CACHE_INTERVAL','_unitInfo$','Optional','subUnitId','PasswordBasedCipher','saveSheetBlock','SNAPSHOT_HAS_BEEN_REMOVED','decryptBlock','registerDependencies','CHANGESET_REVISION_CONFILICT','snapshot','LocaleService','readAsDataURL','parse','signUrlServerUrl','repeat','saveImage','_parse','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','LocalUndoRedoService','_logService','_changesetReqId','ISingleActiveUnitService','salt','extend','_event$','resolve','SHA1','CollaborationImageIoService','textRanges','patch','loadUnit','collaMsg','iterations','connection\x20error','_socketService','_init','takeUntil','concat','_retryConnectingTimer','_scheduleCollaborationTimeoutTimer','send','onRemoteAck','infoRsp','Tools','_createHandler','auth.needGotoLoginAlert','_oKey','COMPRESS_MUTATION_SEND','JOIN_ROOM_FAILED','_cipher','finalize','INVITE_CODE_REQUIRED','sid','1253219grpVQn','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_toggleOffline','MentionType','getUnit','unitId\x20is\x20not\x20found','_getCurrentRevision','_stopTelemetryCollaborationNewChangeset','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','executeCommand','UNDEFINED','4309333VoLAFJ','cmd','@univerjs/sheets','_onRemoteACK','SNAPSHOT_URL_KEY','map','getTypeOfUnitDisposed$','unitId','encodeURIComponent','__creator','awaitingChangeset','HMAC','_retryCount','_unlockTransition','ISnapshotServerService','headers','Rectangle','_onJoinRoomEvent','PENDING','_collaborationPaused','responseType','_clearCollaborationTimeoutTimer','_substituteRedoStack','UniverNetworkPlugin','json','event$','ERROR_IMAGE','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','setConfig','LIVESHARE_REQUEST_HOST','6448116GjxEQp','_incrementRevisionNumber','UNIVER_UNKNOWN','RevisionService','_getSignURL','ConflictState','_tryEnsureSocket','clear','close','_emitMembers','kdf','CollaborativeUndoRedoService','[FetchMissState]','CommandType','_decreaseWaiting','SHOULD_CLOSE_CONN','_waitCount','localeService','_sessions','SetSelectionsOperation','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_localeService','hasher','sin','UNIVER_DOC','subscribe','getCurrentRevOfUnit','UniverInstanceType','clone','_acknowledgedAwaitingChangeset','snapshotServerUrl','UserManagerService','length','keySize','exports','_key','pipe','routeKey','transformSelections','clamp','transformMutationsWithChangeset','_getCtorByUniverType','commentUpdate$','_loadDoc','error$','collaboration_new_changeset','_socket','AwaitingState','_config','univer-pro.collaboration-client.single-active-unit-service','_transformSelections','stopTime','@univerjs-pro/collaboration','\x0aAfter:\x20','_injector','SUBMIT_CHANGESET','sessionStatus','getTypeOfUnitAdded$','HTTPRequest','ImageUploadStatusType','getLatestCsReqIdBySid','_entities','image/png','Undefined','string','_change$','socketService','IMentionIOService','_hasher','UserProfileImg','defineProperty','pending','JSONX','SEND_CHANGESET_TIMEOUT_KEY','AuthzIoHttpService','workbook','_initMergeInterceptor','waitForRoom$','BlockCipherMode','setShowComponents','error','USERS_ENTER','c2Prime','push','ciphertext','/universer-api/authz','[PendingState]:\x20received\x20rejection.','_entityInit$','_pendingMutations','COLLAB_WEB_SOCKET_URL','UNISCRIPT_RUN','_transformStateCache','_handler','INTERNAL_ERROR','onRemoteChangeset','univer-pro.collaboration-client.network-condition.service','__Key__','_toggleOnline','CompressMutationService','UNKNOWN_CMD','_state','splice','_instanceService','getInterceptPoints','updateOfflineData','save\x20fail\x20reason\x20is\x20','_getRedoStack','UUID','charCodeAt','sigBytes','getUnitType','_executeRemoteChangeset','COMPRESS_MUTATION_APPLY','dispose','JOIN_ROOM_FULL','_telemetryService','post','YUUMI_NO_CUBOID_FOR_QUESTION','_onConnectionOpen','SNAPSHOT_SERVER_URL_KEY','/universer-api/comb','range','resend','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','IAuthzIoService','ReplaySubject','userID','_nDataBytes','encryptBlock','{fileID}','Disposable','RECV','_clearRetryConnectingTimer','Base','USER_NOT_INVITED_CODE','OFFLINE','SUBMIT_CHANGESET_TIMEOUT','_fetchMissChangesets','Injector','getFocusedUnit','HmacMD5','Base64','session.room-full','onTransformRemoteChangesetByIMECache','_univerInstanceService','createEncryptor','LICENSE_DISTRO_REJECTED','delay','_updateStatus','HTTPService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','addImageSourceCache','transformStack\x20failed!','formatter','_iv','has','loadDoc','AUTHZ_URL_KEY','DEFAULT_COLLAB_WEB_SOCKET_URL','transformChangesets','removeMember','duration','requestParams','enableOfflineEditing','$super','append','_awaitingChangeset','awaiting_with_pending','/resources','ONLINE','_snapshotService','replace','CollaborationSession','updateCursorEvent','COMMENT_UPDATE','image/jpeg','ImageSourceType','toLowerCase','SOCKET_FAILED_RETRY','MSG_FOR_ERROR','HttpImport','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','INVALID_ARGUMENT','_clearLocalCache','leaveEvent','_substituteUndoStack','code','Malformed\x20UTF-8\x20data','crypto','FETCH_MISSING','846tWAJAz','getUnitId','toString','readInt32LE','getImageSourceCache','complete','Utf8','failed\x20to\x20apply\x20missed\x20changesets!','_resendWithTimeout'];_0x5ad4=function(){return _0x46dd31;};return _0x5ad4();}const In=[_0x162eea(0x377),_0x162eea(0x3e8),'image/jpg',_0x162eea(0x1af),_0x162eea(0x26a)],mn=0x5*0x400*0x400,En=_0x162eea(0x4ba),Cn=_0x162eea(0x40b),Tn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',bn=_0x162eea(0x1f3);exports[_0x162eea(0x2f6)]=class{constructor(_0x53629f,_0x58de5b,_0x38169e){var _0x2bbac4=_0x162eea;A(this,_0x2bbac4(0x349),0x0),A(this,_0x2bbac4(0x37a),new j[(_0x2bbac4(0x506))]()),A(this,_0x2bbac4(0x2c9),this[_0x2bbac4(0x37a)]),A(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x53629f,this[_0x2bbac4(0x294)]=_0x58de5b,this[_0x2bbac4(0x3c9)]=_0x38169e);}[_0x162eea(0x2a5)](_0x24ed1a){var _0x531ddf=_0x162eea;this[_0x531ddf(0x349)]=_0x24ed1a,this[_0x531ddf(0x37a)][_0x531ddf(0x263)](_0x24ed1a);}[_0x162eea(0x3fb)](_0x179531,_0xd32b50){var _0x443cb0=_0x162eea;if(_0xd32b50===J['ImageSourceType'][_0x443cb0(0x284)]){const _0x6bd33f=new Image();return _0x6bd33f[_0x443cb0(0x280)]=_0x179531,_0x6bd33f;}return this['_imageSourceCache']['get'](_0x179531);}[_0x162eea(0x3d0)](_0x4e062f,_0x32f93b,_0x200343){var _0x34f85c=_0x162eea;_0x32f93b===J['ImageSourceType']['BASE64']||_0x200343==null||this[_0x34f85c(0x26e)]['set'](_0x4e062f,_0x200343);}async[_0x162eea(0x4ae)](_0x1f03ec){var _0x51f088=_0x162eea;try{const _0x17a09f=this[_0x51f088(0x508)](this[_0x51f088(0x33d)](),''+_0x1f03ec),_0x592bc5=(await this[_0x51f088(0x51c)]['get'](_0x17a09f))['body'];if(_0x592bc5['error']&&_0x592bc5[_0x51f088(0x389)][_0x51f088(0x3f3)]===Ct['OK']){const _0x535dba=new URL(_0x592bc5[_0x51f088(0x2d8)],this[_0x51f088(0x28c)]())[_0x51f088(0x3f9)]();return Promise[_0x51f088(0x2f4)](_0x535dba);}return Promise[_0x51f088(0x532)](_0x592bc5[_0x51f088(0x389)]);}catch(_0x297fc6){return Promise[_0x51f088(0x532)](_0x297fc6);}}async[_0x162eea(0x2ea)](_0x5c8fa1){var _0xb1bfe5=_0x162eea;let _0x314ff8='';if(!In[_0xb1bfe5(0x1f8)](_0x5c8fa1[_0xb1bfe5(0x469)]))return this[_0xb1bfe5(0x347)](),Promise['reject'](new Error(J[_0xb1bfe5(0x374)][_0xb1bfe5(0x2b1)]));if(_0x5c8fa1[_0xb1bfe5(0x463)]>mn)return this[_0xb1bfe5(0x347)](),Promise[_0xb1bfe5(0x532)](new Error(J[_0xb1bfe5(0x374)][_0xb1bfe5(0x50d)]));try{const _0x75c385=new FormData();_0x75c385[_0xb1bfe5(0x3de)](_0xb1bfe5(0x485),_0x5c8fa1);const _0x4cc677=this[_0xb1bfe5(0x3c9)][_0xb1bfe5(0x3c4)](),_0x301b1f=_0x4cc677==null?void 0x0:_0x4cc677['getUnitId']();if(!_0x301b1f)throw new Error(_0xb1bfe5(0x315));const _0x4d416e=this[_0xb1bfe5(0x1c7)]()+_0xb1bfe5(0x1bc)+_0x5c8fa1[_0xb1bfe5(0x463)]['toString']()+_0xb1bfe5(0x2cf)+Tt[_0xb1bfe5(0x4bd)]+_0xb1bfe5(0x215)+encodeURIComponent(_0x301b1f),_0x387369=await(await fetch(_0x4d416e,{'method':_0xb1bfe5(0x4f8),'body':_0x75c385}))[_0xb1bfe5(0x333)]();if(typeof _0x387369[_0xb1bfe5(0x514)]!=_0xb1bfe5(0x379))return this['_decreaseWaiting'](),Promise[_0xb1bfe5(0x532)](new Error(J[_0xb1bfe5(0x374)][_0xb1bfe5(0x335)]));_0x314ff8=_0x387369[_0xb1bfe5(0x514)];}catch{return this['_decreaseWaiting'](),Promise[_0xb1bfe5(0x532)](new Error(J[_0xb1bfe5(0x374)][_0xb1bfe5(0x335)]));}return new Promise((_0x3580cb,_0x21b260)=>{var _0x40684a=_0xb1bfe5;const _0x2a00d5=new FileReader();_0x2a00d5[_0x40684a(0x2e6)](_0x5c8fa1),_0x2a00d5[_0x40684a(0x1b8)]=_0x461cdb=>{var _0x362257=_0x40684a,_0x78a100;const _0x36d671=(_0x78a100=_0x461cdb[_0x362257(0x42b)])==null?void 0x0:_0x78a100[_0x362257(0x277)];if(_0x36d671==null){this['_decreaseWaiting'](),_0x21b260(new Error(J[_0x362257(0x374)][_0x362257(0x335)]));return;}const _0x5e1171=a[_0x362257(0x306)][_0x362257(0x4d4)](0x6);_0x3580cb({'imageId':_0x5e1171,'imageSourceType':J[_0x362257(0x3e9)][_0x362257(0x3a4)],'source':_0x314ff8,'base64Cache':_0x36d671,'status':J[_0x362257(0x374)][_0x362257(0x4ee)]}),this[_0x362257(0x347)]();};});}[_0x162eea(0x1c7)](){var _0x3f984d=_0x162eea,_0x237161,_0x2cbe13;const _0x17bb66=this[_0x3f984d(0x294)]['getConfig'](En),_0x3012b0=this[_0x3f984d(0x294)][_0x3f984d(0x49d)](Y);return(_0x2cbe13=(_0x237161=_0x3012b0==null?void 0x0:_0x3012b0[_0x3f984d(0x26b)])!=null?_0x237161:_0x17bb66)!=null?_0x2cbe13:Cn;}[_0x162eea(0x33d)](){var _0x1bada5=_0x162eea,_0x2a1caf,_0x47756e;const _0x4106ff=this[_0x1bada5(0x294)][_0x1bada5(0x49d)](Tn),_0x1f9bb5=this[_0x1bada5(0x294)][_0x1bada5(0x49d)](Y);return(_0x47756e=(_0x2a1caf=_0x1f9bb5==null?void 0x0:_0x1f9bb5[_0x1bada5(0x2e8)])!=null?_0x2a1caf:_0x4106ff)!=null?_0x47756e:bn;}[_0x162eea(0x28c)](){var _0xfa2bd8=_0x162eea,_0x2399b7;const _0x17e1cc=this[_0xfa2bd8(0x294)][_0xfa2bd8(0x49d)](Y);return(_0x2399b7=_0x17e1cc==null?void 0x0:_0x17e1cc[_0xfa2bd8(0x530)])!=null?_0x2399b7:location[_0xfa2bd8(0x4c5)];}[_0x162eea(0x508)](_0x22823a,_0x12f92e){var _0x28f8c8=_0x162eea;return _0x22823a[_0x28f8c8(0x3e4)](_0x28f8c8(0x3ba),_0x12f92e);}[_0x162eea(0x347)](){var _0x1fdaee=_0x162eea;this[_0x1fdaee(0x349)]-=0x1,this[_0x1fdaee(0x37a)][_0x1fdaee(0x263)](this['_waitCount']);}},exports[_0x162eea(0x2f6)]=gn([xe(0x0,a[_0x162eea(0x1ec)](q['HTTPService'])),xe(0x1,a['IConfigService']),xe(0x2,a[_0x162eea(0x1ec)](a[_0x162eea(0x27c)]))],exports['CollaborationImageIoService']);var Rn=Object[_0x162eea(0x4db)],On=(_0xa7c9b4,_0x281a9f,_0x2b8b1e,_0xf44c90)=>{var _0xbb2d2e=_0x162eea;for(var _0x34c9f0=_0xf44c90>0x1?void 0x0:_0xf44c90?Rn(_0x281a9f,_0x2b8b1e):_0x281a9f,_0x53657a=_0xa7c9b4[_0xbb2d2e(0x359)]-0x1,_0x4da41e;_0x53657a>=0x0;_0x53657a--)(_0x4da41e=_0xa7c9b4[_0x53657a])&&(_0x34c9f0=_0x4da41e(_0x34c9f0)||_0x34c9f0);return _0x34c9f0;},_t=(_0x57a98f,_0x995ecf)=>(_0x245cfa,_0x22442e)=>_0x995ecf(_0x245cfa,_0x22442e,_0x57a98f);const yn=_0x162eea(0x38e);exports['MentionIoHttpService']=class{constructor(_0x5bcc44,_0x6db2b){var _0x408640=_0x162eea;this[_0x408640(0x294)]=_0x5bcc44,this[_0x408640(0x44f)]=_0x6db2b;}['_getAPIPrefixPath'](){var _0x5b8479=_0x162eea,_0x515adb,_0x5d2bc1;const _0x3562b3=this[_0x5b8479(0x294)][_0x5b8479(0x49d)](Ge),_0x4af768=this[_0x5b8479(0x294)][_0x5b8479(0x49d)](Y);return(_0x5d2bc1=(_0x515adb=_0x4af768==null?void 0x0:_0x4af768['authzUrl'])!=null?_0x515adb:_0x3562b3)!=null?_0x5d2bc1:yn;}async[_0x162eea(0x4a3)](_0x57f528){var _0x4c7924=_0x162eea;const _0x30f7ea=this[_0x4c7924(0x243)]()+_0x4c7924(0x441);return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x4c7924(0x2a8)](_0x30f7ea,{'params':{'objectID':_0x57f528[_0x4c7924(0x322)],'unitID':_0x57f528[_0x4c7924(0x322)]}}))[_0x4c7924(0x4a9)][_0x4c7924(0x217)][_0x4c7924(0x320)](_0x5bb72e=>({'objectId':_0x5bb72e['id'],'name':_0x5bb72e[_0x4c7924(0x4f6)][_0x4c7924(0x24d)],'metadata':{'icon':_0x5bb72e[_0x4c7924(0x4f6)][_0x4c7924(0x275)]},'label':_0x5bb72e['subject'][_0x4c7924(0x24d)],'objectType':a[_0x4c7924(0x313)][_0x4c7924(0x4be)]})),'metadata':{},'type':a['MentionType'][_0x4c7924(0x4be)]}]};}},exports[_0x162eea(0x515)]=On([_t(0x0,a[_0x162eea(0x1ec)](a[_0x162eea(0x4a1)])),_t(0x1,a['Inject'](q[_0x162eea(0x3ce)]))],exports[_0x162eea(0x515)]);var Nn=Object[_0x162eea(0x4db)],Dn=(_0x429d91,_0x455222,_0x34b2ab,_0x355cff)=>{var _0x3cfbc8=_0x162eea;for(var _0xede9dc=_0x355cff>0x1?void 0x0:_0x355cff?Nn(_0x455222,_0x34b2ab):_0x455222,_0x6a45dd=_0x429d91[_0x3cfbc8(0x359)]-0x1,_0xb6f57f;_0x6a45dd>=0x0;_0x6a45dd--)(_0xb6f57f=_0x429d91[_0x6a45dd])&&(_0xede9dc=_0xb6f57f(_0xede9dc)||_0xede9dc);return _0xede9dc;},ue=(_0x5281cb,_0x83e68b)=>(_0x4fdbe6,_0x61a4c4)=>_0x83e68b(_0x4fdbe6,_0x61a4c4,_0x5281cb);let De=class extends a[_0x162eea(0x1d9)]{constructor(_0x6b8823,_0x2d00b9,_0x35f352,_0x521706,_0xcb269a){var _0x39353e=_0x162eea;super(),this['_injector']=_0x6b8823,this[_0x39353e(0x3c9)]=_0x2d00b9,this[_0x39353e(0x425)]=_0x35f352,this[_0x39353e(0x4ca)]=_0x521706,this[_0x39353e(0x41b)]=_0xcb269a,this['_initUnitPermissionChange'](),this[_0x39353e(0x2a2)]();}[_0x162eea(0x2a2)](){var _0x2c75a6=_0x162eea;const _0xcffac2=async _0x5e590f=>{var _0x137725=_0x32dc;(await this['_collaborationSessionService'][_0x137725(0x25f)](_0x5e590f))[_0x137725(0x334)][_0x137725(0x35d)](V[_0x137725(0x45f)](_0x4594a8=>_0x4594a8[_0x137725(0x480)]===g['CollaborationEvent'][_0x137725(0x348)]),V[_0x137725(0x2ff)](this[_0x137725(0x400)]))[_0x137725(0x352)](_0x3a33e7=>{var _0x1e5cfa=_0x137725;const _0x5d5332=_0x3a33e7,{reason:_0x3e5666}=_0x5d5332[_0x1e5cfa(0x23d)];this['_collaborationUIEventService'][_0x1e5cfa(0x250)]({'id':Q[_0x1e5cfa(0x52f)],'data':_0x3e5666}),this['_permissionService'][_0x1e5cfa(0x286)](new Z['WorkbookEditablePermission'](_0x5e590f)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x5e590f);});};j[_0x2c75a6(0x2a6)](this['_univerInstanceService'][_0x2c75a6(0x372)](a[_0x2c75a6(0x354)][_0x2c75a6(0x1f7)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x2c75a6(0x354)]['UNIVER_DOC']))[_0x2c75a6(0x35d)](V['map'](_0x580e77=>_0x580e77[_0x2c75a6(0x3f8)]()),V[_0x2c75a6(0x45f)](_0x2cd689=>!a[_0x2c75a6(0x2c3)](_0x2cd689)),V[_0x2c75a6(0x2ff)](this['dispose$']))[_0x2c75a6(0x352)](_0x3fbee2=>{_0xcffac2(_0x3fbee2);});}[_0x162eea(0x298)](){var _0x4a1d35=_0x162eea;const _0xc85cd8=async _0x5de991=>{var _0x1444d5=_0x32dc;const _0x334d51=await this[_0x1444d5(0x4ca)][_0x1444d5(0x25f)](_0x5de991),_0x27c007=this[_0x1444d5(0x36f)][_0x1444d5(0x2a8)](Z[_0x1444d5(0x43d)]);_0x334d51['event$'][_0x1444d5(0x35d)](V[_0x1444d5(0x45f)](_0x36bcd5=>_0x36bcd5[_0x1444d5(0x480)]===g['CollaborationEvent'][_0x1444d5(0x429)]),V[_0x1444d5(0x2ff)](this['dispose$']))[_0x1444d5(0x352)](_0x4d1a0b=>{var _0x3706fb=_0x1444d5;const _0x44116e=_0x4d1a0b,{objectId:_0x3b57c0}=_0x44116e[_0x3706fb(0x23d)];_0x3b57c0===_0x5de991?_0x27c007['initWorkbookPermissionChange'](_0x5de991):_0x27c007[_0x3706fb(0x2ac)](_0x5de991,_0x3b57c0);});};j[_0x4a1d35(0x2a6)](this[_0x4a1d35(0x3c9)][_0x4a1d35(0x372)](a[_0x4a1d35(0x354)]['UNIVER_SHEET']))['pipe'](V[_0x4a1d35(0x320)](_0x43edbe=>_0x43edbe['getUnitId']()),V['filter'](_0x4e1a19=>!a[_0x4a1d35(0x2c3)](_0x4e1a19)),V[_0x4a1d35(0x2ff)](this[_0x4a1d35(0x400)]))['subscribe'](_0x2c06ad=>{_0xc85cd8(_0x2c06ad);});}};De=Dn([ue(0x0,a[_0x162eea(0x1ec)](a[_0x162eea(0x3c3)])),ue(0x1,a[_0x162eea(0x27c)]),ue(0x2,a[_0x162eea(0x4fe)]),ue(0x3,a[_0x162eea(0x1ec)](exports[_0x162eea(0x46e)])),ue(0x4,a['Inject'](te))],De);var Un=Object[_0x162eea(0x4db)],An=(_0xf3d95b,_0x492cb9,_0x47bc0b,_0x3862ba)=>{for(var _0x18edb5=_0x3862ba>0x1?void 0x0:_0x3862ba?Un(_0x492cb9,_0x47bc0b):_0x492cb9,_0x40ad22=_0xf3d95b['length']-0x1,_0x41f88d;_0x40ad22>=0x0;_0x40ad22--)(_0x41f88d=_0xf3d95b[_0x40ad22])&&(_0x18edb5=_0x41f88d(_0x18edb5)||_0x18edb5);return _0x18edb5;},lt=(_0x4ffdc2,_0x51e400)=>(_0x2dc705,_0x2ecfd8)=>_0x51e400(_0x2dc705,_0x2ecfd8,_0x4ffdc2);exports['SnapshotServerOverHTTPService']=class{constructor(_0x4a2199,_0x25c722){this['_configService']=_0x4a2199,this['_httpService']=_0x25c722;}async[_0x162eea(0x483)](_0x5169f3,_0x5a9e71){var _0x11d468=_0x162eea,_0x55e9b6;const {unitID:_0x5bed10,type:_0x38407d,revision:_0x550ff3=0x0}=_0x5a9e71,_0x403757=this['getSnapshotAPIPath']()+'/'+_0x38407d+_0x11d468(0x4a4)+_0x5bed10+_0x11d468(0x459)+_0x550ff3,_0x38c6f9=(await this[_0x11d468(0x51c)][_0x11d468(0x2a8)](_0x403757))[_0x11d468(0x4a9)],_0x2bfd0b=(_0x55e9b6=_0x38c6f9[_0x11d468(0x2e4)])==null?void 0x0:_0x55e9b6[_0x11d468(0x384)];if(_0x2bfd0b){const _0x1cdbc7=_0x2bfd0b==null?void 0x0:_0x2bfd0b[_0x11d468(0x4cd)],_0x543ccd=g['textEncoder']['encode'](g['b64DecodeUnicode'](_0x1cdbc7));_0x2bfd0b['originalMeta']=_0x543ccd,Object[_0x11d468(0x2c6)](_0x2bfd0b['sheets'])[_0x11d468(0x290)](([,_0x10eea9])=>{var _0x3cb8d2=_0x11d468;const _0x548674=_0x10eea9[_0x3cb8d2(0x4cd)],_0x3bdc42=g['textEncoder'][_0x3cb8d2(0x268)](g[_0x3cb8d2(0x453)](_0x548674));_0x10eea9[_0x3cb8d2(0x4cd)]=_0x3bdc42;});}return _0x38c6f9;}async[_0x162eea(0x21f)](_0x33bb94,_0x19ceb2){var _0x4dd6fd=_0x162eea;const {unitID:_0x1dcb83,type:_0x4f9896,blockID:_0x22751b}=_0x19ceb2,_0x529e52=this['_getAPIPrefix']()+'/'+_0x4f9896+_0x4dd6fd(0x4a4)+_0x1dcb83+'/block/'+_0x22751b;return(await this[_0x4dd6fd(0x51c)]['get'](_0x529e52))['body'];}async[_0x162eea(0x285)](_0x6b85ba,_0x52bcee){var _0x1fb262=_0x162eea;const {unitID:_0x16dac3,type:_0x47b0b0,blockID:_0x40e571}=_0x52bcee,_0x525cd3=this[_0x1fb262(0x4a7)]()+'/block/'+_0x47b0b0+'/unit/'+_0x16dac3+_0x1fb262(0x1b0)+_0x40e571;return(await this[_0x1fb262(0x51c)][_0x1fb262(0x2a8)](_0x525cd3))[_0x1fb262(0x4a9)];}async['fetchMissingChangesets'](_0x4314f1,_0x5c3767){var _0x209163=_0x162eea;const {unitID:_0x537f2d,type:_0x13b35f,from:_0x443879,to:_0x363d49}=_0x5c3767,_0x2f209b=this[_0x209163(0x4a7)]()+'/'+_0x13b35f+_0x209163(0x4a4)+_0x537f2d+_0x209163(0x534)+_0x443879+'&to='+_0x363d49;return(await this['_httpService'][_0x209163(0x2a8)](_0x2f209b))[_0x209163(0x4a9)];}[_0x162eea(0x404)](){var _0x2c8b89=_0x162eea,_0x2d914e;return(_0x2d914e=this[_0x2c8b89(0x294)]['getConfig'](vt))!=null?_0x2d914e:this['_getAPIPrefix']();}[_0x162eea(0x4a7)](){var _0x1f00d1=_0x162eea,_0x575e39,_0x33411f;const _0x141176=this['_configService'][_0x1f00d1(0x49d)](dt),_0x3f748e=this[_0x1f00d1(0x294)]['getConfig'](Y);return(_0x33411f=(_0x575e39=_0x3f748e==null?void 0x0:_0x3f748e[_0x1f00d1(0x357)])!=null?_0x575e39:_0x141176)!=null?_0x33411f:kt;}async[_0x162eea(0x49e)](_0x1827cd,_0x57aa58){var _0x494c2f=_0x162eea;const _0x1d1e34=_0x494c2f(0x1e6)+_0x57aa58['type']+_0x494c2f(0x4a4)+_0x57aa58[_0x494c2f(0x21a)]+_0x494c2f(0x3e1);return(await this[_0x494c2f(0x51c)][_0x494c2f(0x2a8)](_0x1d1e34,{'params':{'resourceId':JSON['stringify'](_0x57aa58[_0x494c2f(0x533)])}}))[_0x494c2f(0x4a9)];}[_0x162eea(0x239)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x162eea(0x2df)](){var _0x53d5d0=_0x162eea;throw new Error(_0x53d5d0(0x1f9));}['saveChangeset'](){var _0x56e252=_0x162eea;throw new Error(_0x56e252(0x1f9));}[_0x162eea(0x4d1)](){var _0x30242d=_0x162eea;throw new Error(_0x30242d(0x1f9));}[_0x162eea(0x375)](){var _0x11ae0c=_0x162eea;throw new Error(_0x11ae0c(0x1f9));}},exports[_0x162eea(0x452)]=An([lt(0x0,a[_0x162eea(0x4a1)]),lt(0x1,a['Inject'](q['HTTPService']))],exports[_0x162eea(0x452)]);var Pn=Object[_0x162eea(0x4db)],wn=(_0x59f14c,_0x88f1e3,_0x6e83ba,_0x59043b)=>{var _0xbe9234=_0x162eea;for(var _0x562bad=_0x59043b>0x1?void 0x0:_0x59043b?Pn(_0x88f1e3,_0x6e83ba):_0x88f1e3,_0x1ad44d=_0x59f14c[_0xbe9234(0x359)]-0x1,_0x200f30;_0x1ad44d>=0x0;_0x1ad44d--)(_0x200f30=_0x59f14c[_0x1ad44d])&&(_0x562bad=_0x200f30(_0x562bad)||_0x562bad);return _0x562bad;},de=(_0x37b2fc,_0x7ea15e)=>(_0x376e8a,_0x2d1441)=>_0x7ea15e(_0x376e8a,_0x2d1441,_0x37b2fc);exports[_0x162eea(0x344)]=class extends a[_0x162eea(0x2ed)]{constructor(_0x199cdc,_0x35ad37,_0x393c95,_0x60fb01,_0x51d8d9){var _0x5853d3=_0x162eea;super(_0x199cdc,_0x35ad37,_0x393c95),this[_0x5853d3(0x424)]=_0x60fb01,this[_0x5853d3(0x2ee)]=_0x51d8d9;}['transformUndoRedo'](_0x41cad8,_0x56254f){var _0x409c06=_0x162eea;const _0x24e386=this[_0x409c06(0x2d2)](_0x41cad8);if(_0x24e386)try{const _0x4e32dc=this[_0x409c06(0x4bf)](_0x24e386,_0x56254f);this[_0x409c06(0x3f2)](_0x41cad8,_0x4e32dc);}catch(_0x4c021e){this[_0x409c06(0x2ee)]['error'](_0x409c06(0x1ea),_0x4c021e),this[_0x409c06(0x226)](_0x41cad8);}const _0x2b300b=this[_0x409c06(0x3a3)](_0x41cad8);if(_0x2b300b)try{const _0x500d1a=this[_0x409c06(0x4bf)](_0x2b300b,_0x56254f);this[_0x409c06(0x331)](_0x41cad8,_0x500d1a);}catch(_0x428664){this[_0x409c06(0x2ee)][_0x409c06(0x389)](_0x428664),this[_0x409c06(0x2c2)](_0x41cad8);}}[_0x162eea(0x226)](_0x5e69f2){var _0x5bb03f=_0x162eea;const _0x429a2e=this[_0x5bb03f(0x2d2)](_0x5e69f2);_0x429a2e&&(_0x429a2e[_0x5bb03f(0x359)]=0x0,this[_0x5bb03f(0x3cd)]());}[_0x162eea(0x2c2)](_0x19add6){var _0x37a6c8=_0x162eea;const _0x5c977d=this[_0x37a6c8(0x3a3)](_0x19add6);_0x5c977d&&(_0x5c977d['length']=0x0,this[_0x37a6c8(0x3cd)]());}[_0x162eea(0x3f2)](_0x18b6f8,_0x337bf3){var _0x24505a=_0x162eea;this[_0x24505a(0x4e2)][_0x24505a(0x4a6)](_0x18b6f8,_0x337bf3),this[_0x24505a(0x3cd)]();}[_0x162eea(0x331)](_0x1cc322,_0x1b0f07){var _0x5753ec=_0x162eea;this[_0x5753ec(0x236)][_0x5753ec(0x4a6)](_0x1cc322,_0x1b0f07),this['_updateStatus']();}['_transformStack'](_0x25ef48,_0x988d6c){var _0x1c24b2=_0x162eea;const _0x43167a=[];let _0x342f75=_0x988d6c,_0x2de83a=_0x988d6c;for(let _0xe0e4b4=_0x25ef48['length']-0x1;_0xe0e4b4>=0x0;_0xe0e4b4--){const {unitID:_0x8be2bd,undoMutations:_0x1b9982,redoMutations:_0x30df6e}=_0x25ef48[_0xe0e4b4],_0x24cb58=this[_0x1c24b2(0x424)][_0x1c24b2(0x361)](_0x342f75,_0x1b9982),_0x2af029=this[_0x1c24b2(0x424)][_0x1c24b2(0x361)](_0x2de83a,_0x30df6e);if(g['isTransformMutationsWithChangesetFailure'](_0x24cb58)||g[_0x1c24b2(0x47e)](_0x2af029)){this['_logService'][_0x1c24b2(0x389)](_0x1c24b2(0x1ea),_0x1c24b2(0x3d1),_0x24cb58,_0x2af029);break;}_0x342f75=_0x24cb58[_0x1c24b2(0x204)],_0x2de83a=_0x2af029[_0x1c24b2(0x204)],_0x43167a[_0x1c24b2(0x38c)]({'unitID':_0x8be2bd,'undoMutations':_0x24cb58[_0x1c24b2(0x1e5)],'redoMutations':_0x2af029['m2Prime']});}return _0x43167a['reverse']();}},exports['CollaborativeUndoRedoService']=wn([de(0x0,a[_0x162eea(0x27c)]),de(0x1,a[_0x162eea(0x46d)]),de(0x2,a[_0x162eea(0x291)]),de(0x3,g['ITransformService']),de(0x4,a[_0x162eea(0x2ba)])],exports[_0x162eea(0x344)]);var Ln=Object[_0x162eea(0x37f)],Mn=Object[_0x162eea(0x4db)],xn=(_0x4b25f0,_0x4992ab,_0x3e022b)=>_0x4992ab in _0x4b25f0?Ln(_0x4b25f0,_0x4992ab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e022b}):_0x4b25f0[_0x4992ab]=_0x3e022b,kn=(_0x3e0c73,_0x4ad78c,_0x3a311b,_0x2014a5)=>{var _0x467e01=_0x162eea;for(var _0xe8e4e6=_0x2014a5>0x1?void 0x0:_0x2014a5?Mn(_0x4ad78c,_0x3a311b):_0x4ad78c,_0x51c46b=_0x3e0c73[_0x467e01(0x359)]-0x1,_0x4094ad;_0x51c46b>=0x0;_0x51c46b--)(_0x4094ad=_0x3e0c73[_0x51c46b])&&(_0xe8e4e6=_0x4094ad(_0xe8e4e6)||_0xe8e4e6);return _0xe8e4e6;},ke=(_0x29ad95,_0x590270)=>(_0x3b0d54,_0xe5e26b)=>_0x590270(_0x3b0d54,_0xe5e26b,_0x29ad95),Hn=(_0x3dd1f2,_0x506252,_0x4e565b)=>xn(_0x3dd1f2,_0x506252+'',_0x4e565b);const jn=_0x162eea(0x2c1);exports['UniverCollaborationClientPlugin']=class extends a['Plugin']{constructor(_0x51300d,_0x1c2d18,_0x2e343f,_0x5cd809){var _0x203419=_0x162eea;super(),A(this,_0x203419(0x369)),(this[_0x203419(0x2ee)]=_0x1c2d18,this[_0x203419(0x36f)]=_0x2e343f,this[_0x203419(0x294)]=_0x5cd809);const {..._0x37af6b}=a['merge']({},Jt,_0x51300d);if(!_0x37af6b[_0x203419(0x37b)])throw new Error(_0x203419(0x318));this[_0x203419(0x369)]=_0x37af6b,this[_0x203419(0x294)][_0x203419(0x337)](Y,_0x37af6b);}['onStarting'](){var _0x5df0c9=_0x162eea;this[_0x5df0c9(0x24f)](),this[_0x5df0c9(0x2af)]();}[_0x162eea(0x24f)](){var _0x3bd3cd=_0x162eea,_0x35f992,_0x4c2190;this['_injector'][_0x3bd3cd(0x3d4)](a[_0x3bd3cd(0x482)])&&this[_0x3bd3cd(0x2ee)][_0x3bd3cd(0x389)](_0x3bd3cd(0x2c0),_0x3bd3cd(0x401));const _0xaebcbc=a[_0x3bd3cd(0x20d)]([[a['IUndoRedoService'],{'useClass':exports[_0x3bd3cd(0x344)]}],[exports[_0x3bd3cd(0x46e)]],[exports['MemberService']],[exports['SheetTransformSelectionsService']],[ye],[Ne],[Be],[De],[te],[exports[_0x3bd3cd(0x51d)]],[$e,{'useClass':this['_config'][_0x3bd3cd(0x37b)]}],[g[_0x3bd3cd(0x329)],{'useClass':exports[_0x3bd3cd(0x452)]}],[a[_0x3bd3cd(0x3b5)],{'useClass':exports[_0x3bd3cd(0x383)]}],[J['IImageIoService'],{'useClass':exports[_0x3bd3cd(0x2f6)]}],[a[_0x3bd3cd(0x37c)],{'useClass':exports[_0x3bd3cd(0x515)]}],[exports[_0x3bd3cd(0x29a)]],[He]],(_0x35f992=this[_0x3bd3cd(0x369)])==null?void 0x0:_0x35f992['override']);if(!((_0x4c2190=this[_0x3bd3cd(0x369)])!=null&&_0x4c2190[_0x3bd3cd(0x418)])){const _0x1e5459=_0xaebcbc[_0x3bd3cd(0x1f6)](([_0x54255a])=>_0x54255a===ve);_0x1e5459!==-0x1&&_0xaebcbc[_0x3bd3cd(0x39e)](_0x1e5459,0x1);}a[_0x3bd3cd(0x2e2)](this[_0x3bd3cd(0x36f)],_0xaebcbc);}[_0x162eea(0x2af)](){var _0x1fbf8e=_0x162eea,_0x4660f9,_0x5a5128,_0x1be331;this[_0x1fbf8e(0x36f)][_0x1fbf8e(0x2a8)](q[_0x1fbf8e(0x3ce)])[_0x1fbf8e(0x1ef)]({'priority':0x14,'interceptor':q[_0x1fbf8e(0x481)]({'maxParallel':0x6})}),(_0x4660f9=this['_config'])!=null&&_0x4660f9[_0x1fbf8e(0x3dc)]||(_0x5a5128=this[_0x1fbf8e(0x36f)][_0x1fbf8e(0x2a8)](z,a[_0x1fbf8e(0x52e)]['OPTIONAL']))==null||_0x5a5128['disableLocalCache'](),(_0x1be331=this[_0x1fbf8e(0x369)])!=null&&_0x1be331[_0x1fbf8e(0x438)]&&a[_0x1fbf8e(0x476)](this[_0x1fbf8e(0x36f)],[[ye]]),a['touchDependencies'](this[_0x1fbf8e(0x36f)],[[Ne],[exports[_0x1fbf8e(0x29a)]],[De]]);}},Hn(exports[_0x162eea(0x516)],_0x162eea(0x287),jn),exports['UniverCollaborationClientPlugin']=kn([a[_0x162eea(0x4ea)](g['UniverCollaborationPlugin'],q[_0x162eea(0x332)]),ke(0x1,a['ILogService']),ke(0x2,a[_0x162eea(0x1ec)](a['Injector'])),ke(0x3,a['IConfigService'])],exports[_0x162eea(0x516)]),exports[_0x162eea(0x3d6)]=Ge,exports[_0x162eea(0x3cf)]=Y,exports[_0x162eea(0x405)]=mt,exports[_0x162eea(0x1de)]=St,exports[_0x162eea(0x27e)]=Ve,exports['CollaborationUIEventId']=Q,exports[_0x162eea(0x451)]=te,exports[_0x162eea(0x510)]=Be,exports[_0x162eea(0x3d7)]=ft,exports[_0x162eea(0x51f)]=zt,exports[_0x162eea(0x494)]=$t,exports['HEARTBEAT_INTERVAL_KEY']=pt,exports[_0x162eea(0x28a)]=je,exports[_0x162eea(0x254)]=$e,exports[_0x162eea(0x41a)]=z,exports['INetworkConditionService']=bt,exports[_0x162eea(0x2f0)]=ve,exports[_0x162eea(0x2da)]=Gt,exports['LOCAL_CACHE_INTERVAL_KEY']=Wt,exports[_0x162eea(0x1e7)]=Et,exports[_0x162eea(0x311)]=qt,exports[_0x162eea(0x1cb)]=It,exports[_0x162eea(0x382)]=Ht,exports[_0x162eea(0x3b0)]=dt,exports[_0x162eea(0x31f)]=vt,exports[_0x162eea(0x492)]=se,exports['UnitStatus']=Fe,exports[_0x162eea(0x288)]=Rt,exports[_0x162eea(0x238)]=vi,exports[_0x162eea(0x4f4)]=Ot;
|
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;
|