@univerjs-pro/collaboration-client 0.6.7-nightly.202503261607 → 0.6.7-nightly.202503291606
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 _0x440d83=_0x8679;(function(_0x266368,_0x4bd803){var _0xe0859b=_0x8679,_0x4fe818=_0x266368();while(!![]){try{var _0x5d4dd3=parseInt(_0xe0859b(0x44b))/0x1*(-parseInt(_0xe0859b(0x3b1))/0x2)+parseInt(_0xe0859b(0x1ae))/0x3*(parseInt(_0xe0859b(0x449))/0x4)+parseInt(_0xe0859b(0x1e1))/0x5*(parseInt(_0xe0859b(0x314))/0x6)+parseInt(_0xe0859b(0x423))/0x7*(parseInt(_0xe0859b(0x3fb))/0x8)+parseInt(_0xe0859b(0x3bc))/0x9*(parseInt(_0xe0859b(0x4b9))/0xa)+-parseInt(_0xe0859b(0x2f8))/0xb+-parseInt(_0xe0859b(0x42e))/0xc;if(_0x5d4dd3===_0x4bd803)break;else _0x4fe818['push'](_0x4fe818['shift']());}catch(_0x54421a){_0x4fe818['push'](_0x4fe818['shift']());}}}(_0x5a0e,0xa2c22));var wt=Object[_0x440d83(0x27e)],Lt=(_0x5f515b,_0x2ff013,_0x337da6)=>_0x2ff013 in _0x5f515b?wt(_0x5f515b,_0x2ff013,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x337da6}):_0x5f515b[_0x2ff013]=_0x337da6,A=(_0x4f3b02,_0x12149b,_0x5838b5)=>Lt(_0x4f3b02,typeof _0x12149b!=_0x440d83(0x51b)?_0x12149b+'':_0x12149b,_0x5838b5);Object[_0x440d83(0x27e)](exports,Symbol[_0x440d83(0x1c8)],{'value':_0x440d83(0x4fc)});const a=require(_0x440d83(0x257)),j=require(_0x440d83(0x401)),V=require('rxjs/operators'),g=require(_0x440d83(0x25f)),q=require(_0x440d83(0x2e2)),Mt=require(_0x440d83(0x351)),ut=require('@univerjs/docs'),Z=require('@univerjs/sheets'),J=require(_0x440d83(0x308)),xt=require(_0x440d83(0x1b8)),dt=_0x440d83(0x375),kt=_0x440d83(0x451),vt='SNAPSHOT_URL_KEY',Ht='SEND_CHANGESET_TIMEOUT',jt=0x7d0,St='COLLAB_WEB_SOCKET_URL',ft=_0x440d83(0x1c6),$t=_0x440d83(0x29d),pt='HEARTBEAT_INTERVAL',Bt=0x7530,je=_0x440d83(0x342),gt=0x4e20,Ft=0x4e20,mt=_0x440d83(0x4b5),Vt=0x3,Wt=_0x440d83(0x36f),Gt=0x3e8,It=_0x440d83(0x31f),Kt=_0x440d83(0x441),Et=_0x440d83(0x2c7),Yt='/universer-api/oidc/authpage',qt=_0x440d83(0x2fa),zt=_0x440d83(0x3f4);var Ct=(_0x37ea8e=>(_0x37ea8e[_0x37ea8e[_0x440d83(0x486)]=0x0]=_0x440d83(0x486),_0x37ea8e[_0x37ea8e['OK']=0x1]='OK',_0x37ea8e[_0x37ea8e[_0x440d83(0x208)]=0x2]=_0x440d83(0x208),_0x37ea8e[_0x37ea8e['PERMISSION_DENIED']=0x3]=_0x440d83(0x50f),_0x37ea8e[_0x37ea8e[_0x440d83(0x3da)]=0x4]=_0x440d83(0x3da),_0x37ea8e[_0x37ea8e[_0x440d83(0x4e6)]=0x5]=_0x440d83(0x4e6),_0x37ea8e[_0x37ea8e[_0x440d83(0x4bc)]=0x6]=_0x440d83(0x4bc),_0x37ea8e[_0x37ea8e[_0x440d83(0x4c0)]=0x7]=_0x440d83(0x4c0),_0x37ea8e[_0x37ea8e[_0x440d83(0x2dc)]=0x8]=_0x440d83(0x2dc),_0x37ea8e[_0x37ea8e['COMPLETION_FINISHED']=0x9]=_0x440d83(0x3d6),_0x37ea8e[_0x37ea8e[_0x440d83(0x436)]=0xa]=_0x440d83(0x436),_0x37ea8e[_0x37ea8e[_0x440d83(0x224)]=0x1389]=_0x440d83(0x224),_0x37ea8e[_0x37ea8e['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x440d83(0x453),_0x37ea8e[_0x37ea8e[_0x440d83(0x4e8)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x37ea8e[_0x37ea8e[_0x440d83(0x46b)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x37ea8e[_0x37ea8e[_0x440d83(0x46d)]=0x1b59]=_0x440d83(0x46d),_0x37ea8e[_0x37ea8e[_0x440d83(0x424)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x37ea8e[_0x37ea8e[_0x440d83(0x286)]=0x1b5b]=_0x440d83(0x286),_0x37ea8e[_0x37ea8e[_0x440d83(0x38d)]=0x1b5c]=_0x440d83(0x38d),_0x37ea8e[_0x37ea8e['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x37ea8e[_0x37ea8e[_0x440d83(0x28b)]=0x1f41]=_0x440d83(0x28b),_0x37ea8e[_0x37ea8e[_0x440d83(0x522)]=0x2329]=_0x440d83(0x522),_0x37ea8e[_0x37ea8e[_0x440d83(0x330)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x37ea8e[_0x37ea8e[_0x440d83(0x20f)]=0x232b]=_0x440d83(0x20f),_0x37ea8e[_0x37ea8e[_0x440d83(0x4e5)]=0x232c]=_0x440d83(0x4e5),_0x37ea8e[_0x37ea8e['LICENSE_DISTRO_REJECTED']=0x232d]=_0x440d83(0x23a),_0x37ea8e[_0x37ea8e['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x37ea8e[_0x37ea8e[_0x440d83(0x49d)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x37ea8e[_0x37ea8e[_0x440d83(0x319)]=0x2713]=_0x440d83(0x319),_0x37ea8e[_0x37ea8e[_0x440d83(0x409)]=0x2714]=_0x440d83(0x409),_0x37ea8e[_0x37ea8e[_0x440d83(0x27c)]=0x2af9]=_0x440d83(0x27c),_0x37ea8e[_0x37ea8e[_0x440d83(0x27f)]=0x2ee1]=_0x440d83(0x27f),_0x37ea8e[_0x37ea8e[_0x440d83(0x45c)]=0x2ee2]=_0x440d83(0x45c),_0x37ea8e[_0x37ea8e[_0x440d83(0x353)]=0x2ee3]=_0x440d83(0x353),_0x37ea8e[_0x37ea8e[_0x440d83(0x27b)]=0x2ee4]=_0x440d83(0x27b),_0x37ea8e[_0x37ea8e[_0x440d83(0x299)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x37ea8e[_0x37ea8e[_0x440d83(0x4c6)]=-0x1]=_0x440d83(0x4c6),_0x37ea8e))(Ct||{}),X=(_0xc46a89=>(_0xc46a89[_0xc46a89['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0xc46a89[_0xc46a89['UNIVER_DOC']=0x1]=_0x440d83(0x3a0),_0xc46a89[_0xc46a89['UNIVER_SHEET']=0x2]=_0x440d83(0x45e),_0xc46a89[_0xc46a89[_0x440d83(0x374)]=0x3]=_0x440d83(0x374),_0xc46a89[_0xc46a89['UNIVER_PROJECT']=0x4]=_0x440d83(0x214),_0xc46a89[_0xc46a89['UNRECOGNIZED']=-0x1]=_0x440d83(0x4c6),_0xc46a89))(X||{}),W=(_0x45c9d5=>(_0x45c9d5[_0x45c9d5[_0x440d83(0x4dd)]=0x0]='UNKNOWN_CMD',_0x45c9d5[_0x45c9d5['HELLO']=0x1]=_0x440d83(0x2ca),_0x45c9d5[_0x45c9d5[_0x440d83(0x34c)]=0x2]=_0x440d83(0x34c),_0x45c9d5[_0x45c9d5['LEAVE']=0x3]=_0x440d83(0x39d),_0x45c9d5[_0x45c9d5[_0x440d83(0x3b7)]=0x4]=_0x440d83(0x3b7),_0x45c9d5[_0x45c9d5['HEARTBEAT']=0x5]=_0x440d83(0x456),_0x45c9d5[_0x45c9d5['RECV']=0x6]=_0x440d83(0x3e3),_0x45c9d5[_0x45c9d5['UNRECOGNIZED']=-0x1]=_0x440d83(0x4c6),_0x45c9d5))(W||{}),ae=(_0x1fa4da=>(_0x1fa4da[_0x1fa4da[_0x440d83(0x2be)]=0x0]=_0x440d83(0x2be),_0x1fa4da[_0x1fa4da['OK']=0x1]='OK',_0x1fa4da[_0x1fa4da['FAIL']=0x2]=_0x440d83(0x220),_0x1fa4da[_0x1fa4da[_0x440d83(0x295)]=0x3e9]=_0x440d83(0x295),_0x1fa4da[_0x1fa4da[_0x440d83(0x2b5)]=0x3ea]=_0x440d83(0x2b5),_0x1fa4da[_0x1fa4da['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x440d83(0x499),_0x1fa4da[_0x1fa4da[_0x440d83(0x3cc)]=0x3ec]=_0x440d83(0x3cc),_0x1fa4da[_0x1fa4da[_0x440d83(0x4c6)]=-0x1]='UNRECOGNIZED',_0x1fa4da))(ae||{}),Tt=(_0x53578d=>(_0x53578d[_0x53578d[_0x440d83(0x236)]=0x0]=_0x440d83(0x236),_0x53578d[_0x53578d['HttpImport']=0x1]=_0x440d83(0x39e),_0x53578d[_0x53578d[_0x440d83(0x419)]=0x2]=_0x440d83(0x419),_0x53578d[_0x53578d[_0x440d83(0x3b8)]=0x3]=_0x440d83(0x3b8),_0x53578d[_0x53578d['UnitSnapshot']=0x4]=_0x440d83(0x398),_0x53578d[_0x53578d['UNRECOGNIZED']=-0x1]=_0x440d83(0x4c6),_0x53578d))(Tt||{});const Y=_0x440d83(0x2c6),Jt={};var Q=(_0x30a646=>(_0x30a646['OTHER_CLIENT_EDITING']=_0x440d83(0x3e0),_0x30a646[_0x440d83(0x50f)]=_0x440d83(0x50f),_0x30a646['CONFLICT']=_0x440d83(0x3ea),_0x30a646['CLOSE_ROOM']=_0x440d83(0x4cb),_0x30a646[_0x440d83(0x47d)]='JOIN_ROOM_FAILED',_0x30a646[_0x440d83(0x38f)]=_0x440d83(0x38f),_0x30a646['SOCKET_FAILED']=_0x440d83(0x4f3),_0x30a646['SUBMIT_CHANGESET_TIMEOUT']=_0x440d83(0x480),_0x30a646))(Q||{});class te{constructor(){var _0x24dcc0=_0x440d83;A(this,_0x24dcc0(0x316),new j[(_0x24dcc0(0x1d9))]()),A(this,_0x24dcc0(0x400),this[_0x24dcc0(0x316)]['asObservable']());}[_0x440d83(0x4db)](_0x4767c5){var _0x4d2324=_0x440d83;this[_0x4d2324(0x316)][_0x4d2324(0x500)](_0x4767c5);}}const bt=a[_0x440d83(0x2e7)](_0x440d83(0x4d9));function Rt(_0x58b9b5){var _0x129a02=_0x440d83,_0x1adf30,_0x5c8388,_0xb12032,_0x31a4c2,_0x173a0b;const _0x48708a=_0x58b9b5[_0x129a02(0x279)],_0x2ffc00=JSON[_0x129a02(0x477)](_0x48708a);switch(_0x2ffc00[_0x129a02(0x3e2)]){case W[_0x129a02(0x456)]:case W[_0x129a02(0x2ca)]:{const _0xaeae5e=_0x2ffc00[_0x129a02(0x25a)];return{..._0x2ffc00,'data':_0xaeae5e,'cmd':_0x2ffc00[_0x129a02(0x3e2)]};}case W['JOIN']:{const _0x3b1b88=_0x2ffc00[_0x129a02(0x46f)];return{..._0x2ffc00,'data':_0x3b1b88,'cmd':_0x2ffc00['cmd']};}case W[_0x129a02(0x3e3)]:{const _0x3771e7=_0x2ffc00[_0x129a02(0x2ef)];switch(_0x3771e7['eventID']){case g[_0x129a02(0x274)][_0x129a02(0x23c)]:return{..._0x2ffc00,'data':{..._0x3771e7,'data':(_0x1adf30=_0x3771e7['permissionRejEvent'])==null?void 0x0:_0x1adf30['cs']},'cmd':_0x2ffc00[_0x129a02(0x3e2)]};case g[_0x129a02(0x274)][_0x129a02(0x231)]:return{..._0x2ffc00,'data':{..._0x3771e7,'data':(_0x5c8388=_0x3771e7[_0x129a02(0x519)])==null?void 0x0:_0x5c8388['cs']},'cmd':_0x2ffc00['cmd']};case g[_0x129a02(0x274)][_0x129a02(0x36b)]:return{..._0x2ffc00,'data':{..._0x3771e7,'data':(_0xb12032=_0x3771e7[_0x129a02(0x2bf)])==null?void 0x0:_0xb12032['cs']},'cmd':_0x2ffc00['cmd']};case g['CollaborationEvent']['CHANGESET_REJ']:return{..._0x2ffc00,'data':{..._0x3771e7,'data':(_0x31a4c2=_0x3771e7[_0x129a02(0x2d4)])==null?void 0x0:_0x31a4c2['cs']},'cmd':_0x2ffc00[_0x129a02(0x3e2)]};case g[_0x129a02(0x274)][_0x129a02(0x4d0)]:return{..._0x2ffc00,'data':{..._0x3771e7,'data':(_0x173a0b=_0x3771e7[_0x129a02(0x49a)])==null?void 0x0:_0x173a0b['cs']},'cmd':_0x2ffc00[_0x129a02(0x3e2)]};case g[_0x129a02(0x274)]['UPDATE_CURSOR']:return{..._0x2ffc00,'data':{..._0x3771e7,'data':_0x3771e7[_0x129a02(0x322)]},'cmd':_0x2ffc00['cmd']};case g[_0x129a02(0x274)][_0x129a02(0x51d)]:return{..._0x2ffc00,'data':{..._0x3771e7,'data':_0x3771e7[_0x129a02(0x482)]},'cmd':_0x2ffc00[_0x129a02(0x3e2)]};case g['CollaborationEvent']['USERS_LEAVE']:return{..._0x2ffc00,'data':{..._0x3771e7,'data':_0x3771e7[_0x129a02(0x2d8)]},'cmd':_0x2ffc00['cmd']};case g[_0x129a02(0x274)][_0x129a02(0x36a)]:return{..._0x2ffc00,'data':{..._0x3771e7,'data':_0x3771e7[_0x129a02(0x2a6)]},'cmd':_0x2ffc00['cmd']};case g[_0x129a02(0x274)]['LIVESHARE_FETCH_OPERATIONS']:case g['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x2ffc00,'data':{..._0x3771e7,'data':_0x3771e7['liveShareOperation']},'cmd':_0x2ffc00[_0x129a02(0x3e2)]};case g['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x2ffc00,'data':{..._0x3771e7,'data':_0x3771e7[_0x129a02(0x2a6)]},'cmd':_0x2ffc00[_0x129a02(0x3e2)]};case g[_0x129a02(0x274)][_0x129a02(0x25c)]:return{..._0x2ffc00,'data':_0x3771e7,'cmd':_0x2ffc00['cmd']};case g['CollaborationEvent'][_0x129a02(0x3b0)]:return{..._0x2ffc00,'data':{..._0x3771e7,'data':_0x3771e7[_0x129a02(0x4ba)]},'cmd':_0x2ffc00[_0x129a02(0x3e2)]};case g[_0x129a02(0x274)][_0x129a02(0x43d)]:return{..._0x2ffc00,'data':{..._0x3771e7,'data':_0x3771e7[_0x129a02(0x212)]},'cmd':_0x2ffc00['cmd']};case g[_0x129a02(0x274)][_0x129a02(0x511)]:return{..._0x2ffc00,'data':{..._0x3771e7,'data':_0x3771e7[_0x129a02(0x48e)]},'cmd':_0x2ffc00[_0x129a02(0x3e2)]};case g[_0x129a02(0x274)]['UNISCRIPT_RUN']:return{..._0x2ffc00,'data':{..._0x3771e7,'data':_0x3771e7[_0x129a02(0x439)]},'cmd':_0x2ffc00[_0x129a02(0x3e2)]};default:return _0x2ffc00;}}default:return _0x2ffc00;}}function yt(_0x3439ed){var _0x29ce53=_0x440d83;switch(_0x3439ed[_0x29ce53(0x3e2)]){case W[_0x29ce53(0x456)]:case W['HELLO']:return JSON[_0x29ce53(0x1ec)]({'cmd':_0x3439ed[_0x29ce53(0x3e2)],'routeKey':_0x3439ed[_0x29ce53(0x3a7)]});case W[_0x29ce53(0x3b7)]:{let _0xa02334;switch(_0x3439ed[_0x29ce53(0x279)][_0x29ce53(0x23b)]){case g[_0x29ce53(0x274)][_0x29ce53(0x221)]:{_0xa02334={'eventID':g[_0x29ce53(0x274)][_0x29ce53(0x221)],'updateCursorEvent':_0x3439ed[_0x29ce53(0x279)][_0x29ce53(0x279)]};break;}case g[_0x29ce53(0x274)]['USERS_LEAVE']:{_0xa02334={'eventID':g[_0x29ce53(0x274)][_0x29ce53(0x222)],'leaveEvent':_0x3439ed[_0x29ce53(0x279)][_0x29ce53(0x279)]};break;}case g['CollaborationEvent']['USERS_ENTER']:{_0xa02334={'eventID':g['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0x3439ed[_0x29ce53(0x279)][_0x29ce53(0x279)]};break;}case g[_0x29ce53(0x274)][_0x29ce53(0x36a)]:{_0xa02334={'eventID':g['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x3439ed[_0x29ce53(0x279)]['data']};break;}case g[_0x29ce53(0x274)][_0x29ce53(0x42d)]:{_0xa02334={'eventID':g['CollaborationEvent'][_0x29ce53(0x42d)],'liveShareOperation':_0x3439ed[_0x29ce53(0x279)][_0x29ce53(0x279)]};break;}case g[_0x29ce53(0x274)][_0x29ce53(0x495)]:{_0xa02334={'eventID':g['CollaborationEvent'][_0x29ce53(0x495)],'liveShareTerminate':_0x3439ed[_0x29ce53(0x279)][_0x29ce53(0x279)]};break;}case g[_0x29ce53(0x274)][_0x29ce53(0x4a9)]:{_0xa02334={'eventID':g[_0x29ce53(0x274)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x3439ed[_0x29ce53(0x279)]['data']};break;}case g[_0x29ce53(0x274)][_0x29ce53(0x327)]:{_0xa02334={'eventID':g[_0x29ce53(0x274)][_0x29ce53(0x327)]};break;}default:_0xa02334={'eventID':_0x3439ed[_0x29ce53(0x279)][_0x29ce53(0x23b)]};}return JSON['stringify']({'cmd':_0x3439ed[_0x29ce53(0x3e2)],'routeKey':_0x3439ed['routeKey'],'collaMsg':_0xa02334});}case W[_0x29ce53(0x34c)]:return JSON[_0x29ce53(0x1ec)]({'cmd':_0x3439ed[_0x29ce53(0x3e2)],'routeKey':_0x3439ed[_0x29ce53(0x3a7)],'joinReq':_0x3439ed[_0x29ce53(0x279)]});case W[_0x29ce53(0x39d)]:return JSON[_0x29ce53(0x1ec)]({'cmd':_0x3439ed[_0x29ce53(0x3e2)],'routeKey':_0x3439ed['routeKey'],'leaveReq':_0x3439ed[_0x29ce53(0x279)]});default:throw new Error(_0x29ce53(0x4d7));}}var Xt=Object[_0x440d83(0x4a6)],Zt=(_0x400f8b,_0x50ecd1,_0x103e2d,_0x270435)=>{var _0x35ecdd=_0x440d83;for(var _0x2b221c=_0x270435>0x1?void 0x0:_0x270435?Xt(_0x50ecd1,_0x103e2d):_0x50ecd1,_0xa5af8=_0x400f8b[_0x35ecdd(0x3f7)]-0x1,_0x55d33d;_0xa5af8>=0x0;_0xa5af8--)(_0x55d33d=_0x400f8b[_0xa5af8])&&(_0x2b221c=_0x55d33d(_0x2b221c)||_0x2b221c);return _0x2b221c;},_e=(_0x5a7c6d,_0x2b5a75)=>(_0x593811,_0x15a16e)=>_0x2b5a75(_0x593811,_0x15a16e,_0x5a7c6d);const $e=a[_0x440d83(0x2e7)](_0x440d83(0x376));function Qt(_0x223130,_0x32bc65,_0x31e37e){var _0x87f637=_0x440d83;return _0x223130+'/'+_0x32bc65+_0x87f637(0x2fc)+_0x31e37e+_0x87f637(0x2b0);}exports[_0x440d83(0x50c)]=class extends a[_0x440d83(0x24e)]{constructor(_0x30701f,_0x2c28c1,_0x4899b6,_0x49d96b,_0x12be4c){var _0x53e59a=_0x440d83;super(),this['_injector']=_0x30701f,this[_0x53e59a(0x462)]=_0x2c28c1,this[_0x53e59a(0x4c8)]=_0x4899b6,this[_0x53e59a(0x3c1)]=_0x49d96b,this[_0x53e59a(0x30e)]=_0x12be4c;}[_0x440d83(0x386)](_0x56b0fa){var _0x21e04d=_0x440d83;const _0x144006=this[_0x21e04d(0x3aa)][_0x21e04d(0x1e0)](q[_0x21e04d(0x29b)]);if(!_0x144006)throw new Error(_0x21e04d(0x461));const _0x2cadaf=_0x144006['createSocket'](_0x56b0fa);if(!_0x2cadaf)throw new Error(_0x21e04d(0x435));const _0x1c2a6e=new a[(_0x21e04d(0x2f9))](),_0x5ca16e=new j['Subject']();_0x1c2a6e[_0x21e04d(0x210)](_0x2cadaf[_0x21e04d(0x379)][_0x21e04d(0x2e4)](_0x3a130b=>_0x5ca16e['next'](_0x3a130b))),_0x1c2a6e[_0x21e04d(0x210)](a[_0x21e04d(0x266)](()=>_0x5ca16e[_0x21e04d(0x248)]()));const _0x1ac54e=new j[(_0x21e04d(0x1d9))]();_0x1c2a6e[_0x21e04d(0x210)](_0x2cadaf[_0x21e04d(0x367)][_0x21e04d(0x2e4)](_0x46c81d=>_0x1ac54e[_0x21e04d(0x500)](_0x46c81d))),_0x1c2a6e[_0x21e04d(0x210)](a[_0x21e04d(0x266)](()=>_0x1ac54e['complete']()));const _0x15fb19=new j[(_0x21e04d(0x1d9))]();_0x1c2a6e[_0x21e04d(0x210)](_0x2cadaf[_0x21e04d(0x41d)][_0x21e04d(0x2e4)](_0x186faf=>{const _0x5337b1=Rt(_0x186faf);_0x15fb19['next'](_0x5337b1);})),_0x1c2a6e[_0x21e04d(0x210)](a[_0x21e04d(0x266)](()=>_0x15fb19[_0x21e04d(0x248)]()));let _0x3f807a;const _0x787820=()=>{var _0x5a7c72=_0x21e04d;_0x1ac54e['next'](new Event(_0x5a7c72(0x255))),_0x5ca16e[_0x5a7c72(0x500)](new Event('connection\x20error')),_0x3f807a[_0x5a7c72(0x407)]();};return _0x3f807a={'memberID':'','close$':_0x5ca16e['asObservable'](),'error$':_0x1ac54e[_0x21e04d(0x205)](),'open$':_0x2cadaf[_0x21e04d(0x1b2)],'message$':_0x15fb19[_0x21e04d(0x205)](),'send':_0x48c7f5=>{var _0x5b2e48=_0x21e04d;if(_0x48c7f5[_0x5b2e48(0x3e2)]===W[_0x5b2e48(0x3b7)]){if(_0x48c7f5[_0x5b2e48(0x279)][_0x5b2e48(0x23b)]===g[_0x5b2e48(0x274)]['SUBMIT_CHANGESET']){this[_0x5b2e48(0x429)](_0x3f807a,_0x48c7f5[_0x5b2e48(0x279)])[_0x5b2e48(0x387)](_0x187f5c=>{var _0x495fe8=_0x5b2e48;this['_logService'][_0x495fe8(0x1ba)](_0x187f5c),_0x787820();});return;}if(_0x48c7f5['data']['eventID']===g[_0x5b2e48(0x274)][_0x5b2e48(0x463)]){const _0x7143e3=_0x48c7f5['data'];this['_fetchMissChangesets'](_0x7143e3)[_0x5b2e48(0x2d5)](_0x48e2d1=>{var _0x43aa4e=_0x5b2e48;_0x15fb19['next']({'cmd':W['RECV'],'code':ae['OK'],'routeKey':_0x7143e3['data'][_0x43aa4e(0x2db)],'routeType':'','data':{'eventID':g[_0x43aa4e(0x274)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x48e2d1}}});})[_0x5b2e48(0x387)](_0x346ad6=>{var _0x22fb84=_0x5b2e48;this[_0x22fb84(0x3c1)]['error'](_0x346ad6),_0x787820();});return;}}_0x2cadaf[_0x5b2e48(0x1fe)](yt(_0x48c7f5));},'close':()=>{var _0x5cc3b4=_0x21e04d;_0x2cadaf['close'](),_0x1c2a6e[_0x5cc3b4(0x362)]();}},_0x3f807a;}async[_0x440d83(0x429)](_0x26aa4a,_0x55c45f){var _0x172193=_0x440d83,_0x323ca7,_0x212db0;const {unitType:_0x2844eb,unitID:_0x10fca,changeset:_0x22b9aa}=_0x55c45f['data'],_0x524870={'unitID':_0x10fca,'memberID':_0x26aa4a[_0x172193(0x514)],'type':_0x2844eb,'changeset':g[_0x172193(0x4e2)](_0x22b9aa)},_0x3785ef=this[_0x172193(0x4c8)][_0x172193(0x273)](It),_0x4c374b=this['_configService'][_0x172193(0x273)](Y),_0x3c30c1=Qt((_0x212db0=(_0x323ca7=_0x4c374b==null?void 0x0:_0x4c374b[_0x172193(0x446)])!=null?_0x323ca7:_0x3785ef)!=null?_0x212db0:Kt,_0x2844eb,_0x10fca);try{await this['_httpService'][_0x172193(0x42a)](_0x3c30c1,{'body':_0x524870});}catch(_0x10eeb4){throw this[_0x172193(0x3c1)][_0x172193(0x1ba)](_0x172193(0x2d9),'submit\x20changeset\x20error!'),_0x10eeb4;}}async[_0x440d83(0x2ac)](_0x24a09f){var _0x41f722=_0x440d83;const {unitID:_0x5ed969,from:_0x410311,to:_0x1980a0,unitType:_0x3e0c65}=_0x24a09f[_0x41f722(0x279)];return(await this[_0x41f722(0x30e)][_0x41f722(0x384)]({'metadata':void 0x0},{'unitID':_0x5ed969,'type':_0x3e0c65,'from':_0x410311,'to':_0x1980a0}))[_0x41f722(0x1fc)];}},exports[_0x440d83(0x50c)]=Zt([_e(0x0,a[_0x440d83(0x202)](a[_0x440d83(0x2f4)])),_e(0x1,a[_0x440d83(0x202)](q['HTTPService'])),_e(0x2,a[_0x440d83(0x24d)]),_e(0x3,a[_0x440d83(0x427)]),_e(0x4,g[_0x440d83(0x2f7)])],exports['CollaborationSocketService']);const ei='collaboration_new_changeset';function ti(_0x1b38f4){var _0x53c843=_0x440d83;return JSON[_0x53c843(0x1ec)](_0x1b38f4)['length'];}class Be{constructor(){var _0x3567e6=_0x440d83;A(this,_0x3567e6(0x3e4),new j[(_0x3567e6(0x1d9))]()),A(this,_0x3567e6(0x373),this[_0x3567e6(0x3e4)]['asObservable']());}['onCommentUpdate'](_0x3155f4){var _0x453f58=_0x440d83;this[_0x453f58(0x3e4)][_0x453f58(0x500)](_0x3155f4);}}var ii=Object[_0x440d83(0x4a6)],ni=(_0x1991da,_0x27c0c9,_0x3e5f96,_0x40abc9)=>{var _0x323494=_0x440d83;for(var _0x490c44=_0x40abc9>0x1?void 0x0:_0x40abc9?ii(_0x27c0c9,_0x3e5f96):_0x27c0c9,_0x43806d=_0x1991da[_0x323494(0x3f7)]-0x1,_0x5ea726;_0x43806d>=0x0;_0x43806d--)(_0x5ea726=_0x1991da[_0x43806d])&&(_0x490c44=_0x5ea726(_0x490c44)||_0x490c44);return _0x490c44;},Ke=(_0x35db4c,_0xd853f8)=>(_0x405b90,_0x16ef64)=>_0xd853f8(_0x405b90,_0x16ef64,_0x35db4c);exports[_0x440d83(0x3c0)]=class extends a[_0x440d83(0x24e)]{constructor(_0x575019,_0x5381f3){var _0x3917f4=_0x440d83;super(),A(this,_0x3917f4(0x34a),new Map()),A(this,'_roomCreated$',new j[(_0x3917f4(0x1d9))]()),(this[_0x3917f4(0x2fe)]=_0x575019,this[_0x3917f4(0x3d9)]=_0x5381f3,this['disposeWithMe'](j[_0x3917f4(0x3a8)](this[_0x3917f4(0x2fe)]['getTypeOfUnitDisposed$'](a[_0x3917f4(0x3ca)]['UNIVER_SHEET'])[_0x3917f4(0x34f)](V['map'](_0x1cc8cd=>_0x1cc8cd[_0x3917f4(0x483)]())),this[_0x3917f4(0x2fe)][_0x3917f4(0x26a)](a['UniverInstanceType'][_0x3917f4(0x3a0)])[_0x3917f4(0x34f)](V[_0x3917f4(0x341)](_0x498d2f=>_0x498d2f[_0x3917f4(0x483)]())),this[_0x3917f4(0x2fe)][_0x3917f4(0x26a)](a[_0x3917f4(0x3ca)][_0x3917f4(0x374)])['pipe'](V['map'](_0x1e9e47=>_0x1e9e47['getUnitId']())))[_0x3917f4(0x2e4)](_0x13cbec=>this[_0x3917f4(0x464)](_0x13cbec))));}['waitForRoom$'](_0x1b4b34){var _0x8180c1=_0x440d83;return this[_0x8180c1(0x34a)][_0x8180c1(0x32f)](_0x1b4b34)?j['of'](this[_0x8180c1(0x34a)]['get'](_0x1b4b34)):this[_0x8180c1(0x46c)][_0x8180c1(0x34f)](V[_0x8180c1(0x341)](_0x3fe844=>{var _0x193e7e=_0x8180c1;if(_0x3fe844===_0x1b4b34)return this[_0x193e7e(0x34a)][_0x193e7e(0x1e0)](_0x3fe844);}));}[_0x440d83(0x323)](_0x2e568a){var _0x4b6035=_0x440d83;this[_0x4b6035(0x3d9)][_0x4b6035(0x323)](_0x2e568a);}[_0x440d83(0x460)](){var _0x1781f6=_0x440d83;return this[_0x1781f6(0x3d9)][_0x1781f6(0x460)]();}[_0x440d83(0x2b9)](_0x174386,_0x99ae2c){var _0x5d4f2c=_0x440d83;let _0x5a60f3=this[_0x5d4f2c(0x34a)][_0x5d4f2c(0x1e0)](_0x174386);_0x5a60f3||(_0x5a60f3=new ri(),this[_0x5d4f2c(0x34a)][_0x5d4f2c(0x3eb)](_0x174386,_0x5a60f3),this['_roomCreated$'][_0x5d4f2c(0x500)](_0x174386)),_0x5a60f3['updateMember'](_0x99ae2c);}[_0x440d83(0x4fa)](_0x4f4a88,_0xec0037){var _0x106020=_0x440d83;const _0x5f4ba0=this[_0x106020(0x34a)][_0x106020(0x1e0)](_0x4f4a88);_0x5f4ba0&&_0x5f4ba0[_0x106020(0x4fa)](_0xec0037);}[_0x440d83(0x350)](_0x4fcad8){return this['_roomMembers']['get'](_0x4fcad8);}[_0x440d83(0x25d)](_0x1c9e6b,_0x5b530a){var _0x2827cc=_0x440d83;const _0x48a226=this[_0x2827cc(0x34a)]['get'](_0x1c9e6b);if(_0x48a226)return _0x48a226[_0x2827cc(0x25d)](_0x5b530a);}['_removeRoom'](_0x51468b){var _0x548d91=_0x440d83;const _0x98b3a2=this[_0x548d91(0x34a)]['get'](_0x51468b);_0x98b3a2&&(_0x98b3a2['dispose'](),this[_0x548d91(0x34a)]['delete'](_0x51468b));}['dispose'](){var _0x2b5b3b=_0x440d83;this[_0x2b5b3b(0x34a)][_0x2b5b3b(0x39f)](_0x4ef9a4=>_0x4ef9a4[_0x2b5b3b(0x362)]()),this[_0x2b5b3b(0x34a)][_0x2b5b3b(0x32b)](),this[_0x2b5b3b(0x46c)][_0x2b5b3b(0x248)]();}},exports[_0x440d83(0x3c0)]=ni([Ke(0x0,a[_0x440d83(0x4be)]),Ke(0x1,a[_0x440d83(0x202)](a['UserManagerService']))],exports[_0x440d83(0x3c0)]);function _0x5a0e(){var _0x440fd6=['_snapshotService','&assign=','_changesetReqId','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','/universer-api/snapshot','ONLINE','SNAPSHOT_INVALID_SNAPSHOT','save\x20fail\x20reason\x20is\x20','fromCollab','HEARTBEAT','HTTPService','focused$','_init','getUnitStatus$','conflict','INVALID_INVITE_CODE','CHANGESET_REJ','UNIVER_SHEET','push','getCurrentUser','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_httpService','FETCH_MISSING','_removeRoom','unit-cache-','pluginName','hasOwnProperty','getActiveSheet','awaiting_with_pending','_cipher','ENSURE_SNAPSHOT_EXECUTION','_roomCreated$','APPLY_REJECT','_executeRemoteChangeset','joinRsp','/universer-api/snapshot/','appendMutation','socket$','AwaitingState','execute','members','toLowerCase','parse','PasswordBasedCipher','SetSelectionsOperation','concat','/object','_invKeySchedule','JOIN_ROOM_FAILED','telemetry\x20info\x20is\x20not\x20initialized','_state','SUBMIT_CHANGESET_TIMEOUT','name','joinEvent','getUnitId','RevisionService','getLocalCacheKey','UNDEFINED','snapshotServerUrl','IUndoRedoService','unitId','Plugin','_commentService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_resendTimer','shouldCloseConn','onMissedChangesetFetched','action','iterations','getRandomValues','_sendingTimer','LocaleService','LIVESHARE_TERMINATE','saveChangeset','equals','_mode','JOIN_ROOM_PERMISSION_DENIED','csShouldRetryEvent','[DataLoaderService]','_localeService','YUUMI_URL_COL_OUT_OF_RANGE','Hasher','getImage','WordArray','_parse','resolve','EmptyMutation','_createInitialState','_tryReconnect','getOwnPropertyDescriptor','update','_nRounds','LIVESHARE_REQUEST_HOST','MentionType','awaitingChangeset','executeCommand','ivSize','confirm','_sessionStatus$','loadDoc','/block/','/collaborator','format','objects','RETRY_CONNECTING_MAX_COUNT','reset','_shouldReportTelemetry','/universer-api/stream/file/upload','190cKrSUn','commentUpdateEvent','_handlerCallback','ALREADY_EXISTS','ISingleActiveUnitService','IUniverInstanceService','_loadSheet','INVALID_ARGUMENT','_collaborationUIEventService','Univer','onMissingChangesets','listRoles','_key','UNRECOGNIZED','SUCCUSS','_configService','append','hostname','CLOSE_ROOM','_process','__esModule','_onOffline','_transformSelections','CHANGESET_SHOULD_RETRY','CommandType','padding','_incrementRevisionNumber','encryptBlock','_transformUndoredo','_oKey','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','location','univer-pro.collaboration-client.network-condition.service','getImageSourceCache','emitEvent','createInstance','UNKNOWN_CMD','authzUrl','_hash','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_tryEnsureSocket','parseChangesetToProtocol','put','editing\x20status\x20changed\x20to','LICENSE_EXPORT_SIZE_EXCEEDED','UNAUTHENTICATED','JOINING','SNAPSHOT_HAS_BEEN_REMOVED','getInterceptPoints','Failed\x20to\x20update\x20permission\x20point','debug','_candidateSocket','socketService','transformChangesets','HTTPRequest','_acknowledgedAwaitingChangeset','OPTIONAL','RichTextEditingMutation','SOCKET_FAILED','sin','_createHmacHelper','_commandService','_onRemoteACK','MUTATION','mutations','removeMember','Optional','Module','_queuedRemoteChangesets','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','ERROR_IMAGE_TYPE','next','src','OFFLINE','_transformService','ConflictState','exports','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','getSheetId','crypto','SheetPermissionInitController','_getDownloadEndpointURL','/allowed','CollaborationSocketService','PENDING','CollaborationUIEventId','PERMISSION_DENIED','INetworkConditionService','SHOULD_CLOSE_CONN','FetchingMissState','compute','memberID','decrypt','_eventService','mapDocumentTypeToUniverType','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','csAckEvent','session','symbol','b64DecodeUnicode','USERS_ENTER','ERROR_IMAGE','HMAC','_getSendChangesetTimeout','_clearScheduledTask','LICENSE_MAX_UNITS_EXCEEDED','getUnitType','_onCombEvent','userID','_registerDependencies','stopTime','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','2082DytyWb','parseProtocolChangeset','_onUserJoin','DependentOn','open$','ceil','_sheetTransformSelectionsService','[OfflineState]:\x20received\x20rejection.','sheets','abs','@univerjs-pro/license','DataLoaderService','error','_sendHeartbeat','univer-pro.collaboration-client.single-active-unit-service','deepClone','onTransformState','_unlockTransition','members$','unknown','code','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','POST','ImageUploadStatusType','ws://127.0.0.1:8000/universer-api/comb/connect','fetchThroughInterceptors','toStringTag','_telemetryService','CollaborativeUndoRedoService','_sender','transformMutationsWithChangeset','_getUndoStack','_syncEditingCollabCursor','_transformIMECache','_timeoutTimer','sessionStatus','unpad','CompressMutationService','msCrypto','_permissionService','Tools','_updateLocalCache','OTHER_CLIENTS_EDITING','Subject','toString','_clearTimeoutTimer','function','_checkMissing','cfg','HmacMD5','get','410UYrilE','saveSheetBlock','charCodeAt','delete','session.join-failed','Encryptor','_compressMutationService','range','CollaborationSessionService','onSendChangeset','_initDependencies','stringify','SNAPSHOT_URL_KEY','encodeURIComponent','loadUnit','textRanges','UniverNetworkPlugin','touchDependencies','_hasher','dispose$','create','/rev/','_throwTelemetryCollaborationNewChangeset','resend','getDeserializedSheetBlock','_collabSessionService','onStateChange','changesets','clamp','send','_map','_config','isTransformChangesetsSuccess','Inject','_iKey','now','asObservable','allowed','DEFAULT_WS_SESSION_TICKET_URL','INTERNAL_ERROR','getFocusedUnit','origin','_imageSourceCache','Error\x20on\x20receiving\x20event','getValue','addHandlerCallback','LICENSE_IMPORT_SIZE_EXCEEDED','add','onStarting','updatePermissionObjEvent','saveSnapshot','UNIVER_PROJECT','WorkbookEditablePermission','AES','getWorkbookSelections','type','_unitID','_collaborationSessionService','SheetTransformSelectionsService','isTransformMutationsWithChangesetSuccess','values','_stopTelemetryCollaborationNewChangeset','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','FAIL','UPDATE_CURSOR','USERS_LEAVE','_awaitingChangeset','CHANGESET_REVISION_CONFILICT','_clearRedo','hasher','ERROR_EXCEED_SIZE','UUID','/resources','_socket$','bind','_DEC_XFORM_MODE','lib','_doReset','floor','_onRemoteRetry','CHANGESET_ACK','refreshPermission','CollaborationEntity','[OfflineState]:\x20received\x20acknowledgement.','_waitCount','Undefined','onTransformSelections','_getLoginPath','signUrlServerUrl','LICENSE_DISTRO_REJECTED','eventID','PERMISSION_REJ','DEFAULT_COLLAB_WEB_SOCKET_URL','string','_transitionLocked','_updateStatus','indexOf','every','Rectangle','InsertSheetMutation','/universer-api/authz','collaborators','randomUUID','complete','SHA1','ciphertext','CommentService','EvpKDF','IConfigService','Disposable','setWaitCount','onLocalMutation','NoPadding','setConfig','selections','encrypt','connection\x20error','_transformStateCache','@univerjs/core','_collaborationPaused','OpenSSL','infoRsp','charAt','MSG_FOR_ERROR','getMember','__Key__','@univerjs-pro/collaboration','SheetsSelectionsService','originalMeta','_sendHeartbeatTimer','setShowComponents','_getAPIPrefix','loginUrlKey','toDisposable','subUnitId','requireSession','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getTypeOfUnitDisposed$','textEncoder','_initCloseConn','MD5','pending','mergeOverrideWithDependencies','synced','_onConnectionFailed','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','getConfig','CollaborationEvent','enableSingleActiveInstanceLock','{fileID}','_type','listCollaborators','data','params','USER_NOT_INVITED_CODE','PY_RUNTIME_SCRIPT_ERROR','_createHelper','defineProperty','INVITE_CODE_HAS_BEEN_UES','_startTelemetryCollaborationNewChangeset','_doCryptBlock','requestParams','_xformMode','MentionIoHttpService','onTransformIME','APPLY_REVISION_CONFILICT','reverse','_initMergeInterceptor','ImageSourceType','onlyLocal','CONNECTOR_DATA_TOO_LARGE','_onLocalMutation','_keySchedule','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','Cipher','_lockTransition','roomInfos','_entityInit$','subject','_change$','JOIN_ROOM_FULL','[OfflineState]:\x20received\x20changeset.','_showConflictNotification','_unitInfo$','INVITE_CODE_ALREADY_BOUND','_state$','ISocketService','_append','/universer-api/user/session-ticket','updatePermissionPoint','_data','&to=','_transformStack','NOT_COLLAB','CollaborationUIEventService','localCacheService','compose','liveShareNewHost','CollaborationSession','fromCharCode','createSocket','status$','_initUnitPermissionChange','_fetchMissChangesets','_toggleOnline','HEARTBEAT_INTERVAL_KEY','rng','/new_changes','_createInitialStateImpl','closeSession','onRemoteRej','byteOffset','JOIN_ROOM_NOT_EXISTS','OfflineState','default','change$','updateMember','readInt32LE','SnapshotService','_doProcessBlock','PSEUDO_FETCH_MISSING_RESULT','UNKNOWN_CODE','newCsEvent','AwaitingWithPendingState','_minBufferSize','readAsDataURL','_updateState','ITransformService','init','collaboration-client.config','LOGIN_URL_KEY','[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.','getTypeOfUnitAdded$','HELLO','UniverCollaborationClientPlugin','take','status','uploadFileServerUrl','repeat','JSONX','result','saveImage','pad','csRejEvent','then','getSnapshotAPIPath','SnapshotServerOverHTTPService','leaveEvent','[CollaborationSession]','_getAPIPrefixPath','unitID','TOO_MANY_REQUESTS','sigBytes','unsubscribe','_networkConditionService','_listenToNetworkCondition','_rescheduleHeartbeat','@univerjs/network','random','subscribe','snapshot','sendChangesetTimeout','createIdentifier','SessionStatus','_onJoinRoomEvent','batchAllowed','_resendTimeout','CollaborationController','registerDependencies','_clearUndo','collaMsg','$super','getTime','_initRequestHeader','_substituteRedoStack','Injector','SYNCED','extend','ISnapshotServerService','10980475grHuEI','DisposableCollection','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','MergeInterceptorFactory','/unit/','objectType','_univerInstanceService','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_clearRetryConnectingTimer','target','getCurrentSelections','_ENC_XFORM_MODE','apply','initWorkbookPermissionChange','_replayCachedMutations','image/jpeg','@univerjs/drawing','onload','registerHTTPInterceptor','/-/object/-/batch_allowed','IMentionIOService','salt','_snapshotServerService','\x20to\x20','[CollaborationState]:\x20apply\x20error!','enableAuthServer','rev','_getCtorByUniverType','22602rOmMZp','SUBMIT_CHANGESET','_event$','IImageIoService','_getRedoStack','YUUMI_RATE_OVER_LIMIT','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_entities','getCollabEntity','_onFetchMissResult','&source=','COLLAB_SUBMIT_CHANGESET_URL','onTransformRemoteChangesetByStateCache','_status$','updateCursorEvent','setCurrentUser','NO_OTHER_CLIENTS_EDITING','reqId','[PendingState]:\x20unhandled\x20univer\x20type:\x20','LIVESHARE_FETCH_OPERATIONS','AUTHZ_URL_KEY','_telemetryInfo','Malformed\x20UTF-8\x20data','clear','_applyRemoteChangeset','clone','revision','has','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','href','getResourcesRequest','getLatestCsReqIdBySid','_clearHeartbeatTimer','isInternalEditorID','list','_transformRemoteChangesetByStateCache','delay','actions','Utf8','baseRev','loadSheet','PERSON','randomBytes','COLLAB_SUBMIT_CHANGESET_URL_KEY','call','map','HEARTBEAT_TIMEOUT','Quantity','avatar','m2Prime','[CollaborationSessionService]:\x20socket\x20error','replace','_reverseMap','serializeCombRequest','_roomMembers','[FetchMissState]','JOIN','_onConflict','DocCollaborationEntity','pipe','getRoom','@univerjs/telemetry','_iv','INVITE_CODE_REQUIRED','finalize','getCurrentRevOfUnit','_onMessage','BufferedBlockAlgorithm','takeUntil','__creator','incrementRevOfUnit','splice','SEND_CHANGESET_TIMEOUT_KEY','onSyncEditingCollabCursor','min','toggleOffline','AWAITING_WITH_PENDING','getUnitOnRev','dispose','COMPRESS_MUTATION_SEND','AuthzIoHttpService','HEARTBEAT_TIMEOUT_KEY','SheetCollaborationEntity','error$','COMPRESS_MUTATION_APPLY','localeService','LIVESHARE_NEW_HOST','NEW_CHANGESETS','_waitForHeartbeatResponse','max','interceptor','LOCAL_CACHE_INTERVAL','createEncryptor','_scheduleCompleteTimestamp','disableLocalCache','commentUpdate$','UNIVER_SLIDE','SNAPSHOT_SERVER_URL_KEY','univer-pro.collaboration-client-socket-service','[SyncedState]:\x20received\x20acknowledgement.','getUnit','close$','Base','_emitMembers','_onRemoteRejected','_prevBlock','failed\x20to\x20apply\x20missed\x20changesets!','slice','_localCacheService','onRemoteChangeset','entries','_createHandler','fetchMissingChangesets','onCommandExecuted','_doCreateSocket','catch','enc','json','processBlock','_onRemoteChangeset','_loadDoc','APPLY_PERMISSION_DENIED','FileId','SOCKET_FAILED_RETRY','deserializeToCombResponse','unitId\x20is\x20not\x20found','_singleActiveUnitService','_remoteChangesetQueue','isArray','objectID','_onRecvEvent','ICollaborationSocketService','UnitSnapshot','retryConnectingInterval','IContextService','ThresholdInterceptorFactory','_members$','LEAVE','HttpImport','forEach','UNIVER_DOC','sid','_keyPriorReset','transformUndoRedo','words','algo','sessionStatus$','routeKey','merge','readyForCollab','_injector','Workbook','Base64','onRemoteRetry','_retryConnectingTimer','_getCurrentRevision','COMMENT_UPDATE','5316osjysq','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','[UniverCollaborationClientPlugin]','_getUploadFileURL','_memberService','INGEST','UnitEmbedded','Hex','_members','_doFinalize','276390GtYNoE','_sessions','Decryptor','_joinRoom','MemberService','_logService','online$','/-/object/list','size','startTime','toggleOnline','override','filter','_retryCount','UniverInstanceType','byteLength','GLOBAL_ROOMS_CNT_EXCEEDS','_HTTPService','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_clearLocalCache','_decreaseWaiting','_handler','BehaviorSubject','?url=','_socketService','mode','COMPLETION_FINISHED','kdf','_nDataBytes','_userManagerService','NOT_FOUND','firstValueFrom','SerializableCipher','getSheetBlock','getMemberID','buffer','OTHER_CLIENT_EDITING','updateCollaborator','cmd','RECV','_commentUpdate$','[PendingState]:\x20received\x20rejection.','CollaborationImageIoService','isTransformMutationsWithChangesetFailure','pauseCollaboration','IDLE','CONFLICT','set','[CollaborationUndoRedoService]','deleteCollaborator','People','/object/','encode','disposeWithMe','blockSize','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','/universer-api/uniscript','_collaborationTimeoutTimer','_transformRemoteChangesetByIMECache','length','find','addImageSourceCache','workbook','6082120xxqfeV','UNISCRIPT_RUN','_undoRedoService','_disableEditing','IPermissionService','event$','rxjs','onCommentUpdate','_changesetSessionId','ICommandService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_socketMessageSubscription','close','transformSelections','YUUMI_SUBSCRIPTION_NOT_FOUND','_schedule','getAllMembers','_toggleOffline','onRemoteAck','_socketReady','mixIn','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','session.room-permission-denied','auth.needGotoLoginAlert','_resendWithTimeout','PendingState','prototype','onTransformRemoteChangesetByIMECache','reject','fetching\x20missing\x20changesets\x20from\x20','HttpExport','getCollabEntity$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_isPermissionRej','message$','LOCAL_CACHE_INTERVAL_KEY','updateOfflineData','RETRY_CONNECTING_MAX_COUNT_KEY','\x0aAfter:\x20','_onConnectionOpen','7eBoxND','APPLY_NON_SEQUENTIAL_REVISION','SyncedState','_socket','ILogService','body','_submitChangeset','post','_revisionService','CBC','LIVESHARE_OPERATION','6745416WDNwIN','BlockCipher','_startCollaboration','BASE64','shareReplay','loadOfflineData','Latin1','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','LOGIN_FAILED','unitInfo$','LocalUndoRedoService','uniscriptRunEvent','_pendingMutations','join','_substituteUndoStack','UPDATE_PERMISSION_OBJ','_clearCollaborationTimeoutTimer','duration','objectActions','/universer-api/comb','url','\x20in\x20_schedule.','RxDisposable','c1Prime','collabSubmitChangesetUrl','isPermissionRej','keySize','6788MKmZpF','[SyncedState]:\x20received\x20rejection.','227aMlKHO','/role'];_0x5a0e=function(){return _0x440fd6;};return _0x5a0e();}class ri extends a[_0x440d83(0x24e)]{constructor(){var _0x2b4cae=_0x440d83;super(...arguments),A(this,'_members',new Map()),A(this,'_members$',new j[(_0x2b4cae(0x3d2))](this[_0x2b4cae(0x3ba)])),A(this,_0x2b4cae(0x1c0),this[_0x2b4cae(0x39c)]['asObservable']());}[_0x440d83(0x362)](){var _0x3c1d79=_0x440d83;this[_0x3c1d79(0x3ba)]['clear']();}[_0x440d83(0x2b9)](_0x4271c3){var _0x1bb502=_0x440d83;this['_members'][_0x1bb502(0x3eb)](_0x4271c3['memberID'],_0x4271c3),this[_0x1bb502(0x37b)]();}[_0x440d83(0x4fa)](_0x376e9e){this['_members']['delete'](_0x376e9e);}['getMember'](_0x158bee){var _0x461e0b=_0x440d83;return this[_0x461e0b(0x3ba)][_0x461e0b(0x1e0)](_0x158bee);}[_0x440d83(0x40b)](){var _0x3f5c58=_0x440d83;return Array['from'](this[_0x3f5c58(0x3ba)][_0x3f5c58(0x21d)]());}['_emitMembers'](){var _0xec2292=_0x440d83;this[_0xec2292(0x39c)][_0xec2292(0x500)](this[_0xec2292(0x3ba)]);}}var si=Object[_0x440d83(0x4a6)],oi=(_0x4f7dc4,_0x21d09f,_0xf30cb8,_0x181107)=>{var _0xab8525=_0x440d83;for(var _0x513f3e=_0x181107>0x1?void 0x0:_0x181107?si(_0x21d09f,_0xf30cb8):_0x21d09f,_0x2d65e2=_0x4f7dc4[_0xab8525(0x3f7)]-0x1,_0x8efa20;_0x2d65e2>=0x0;_0x2d65e2--)(_0x8efa20=_0x4f7dc4[_0x2d65e2])&&(_0x513f3e=_0x8efa20(_0x513f3e)||_0x513f3e);return _0x513f3e;},oe=(_0x5754d2,_0x1c9b1f)=>(_0xa02560,_0x2f982d)=>_0x1c9b1f(_0xa02560,_0x2f982d,_0x5754d2),se=(_0x244cb1=>(_0x244cb1[_0x244cb1[_0x440d83(0x3e9)]=0x0]=_0x440d83(0x3e9),_0x244cb1[_0x244cb1[_0x440d83(0x4e7)]=0x1]=_0x440d83(0x4e7),_0x244cb1[_0x244cb1['OFFLINE']=0x2]='OFFLINE',_0x244cb1[_0x244cb1['ONLINE']=0x3]=_0x440d83(0x452),_0x244cb1))(se||{});const Ye={[ae[_0x440d83(0x220)]]:_0x440d83(0x1e5),[ae['JOIN_ROOM_FULL']]:'session.room-full',[ae['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[ae['JOIN_ROOM_PERMISSION_DENIED']]:_0x440d83(0x411),[ae['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};exports['CollaborationSession']=class extends a['RxDisposable']{constructor(_0x404a7f,_0x3054fe,_0x2a28bf,_0x46d36e,_0x2b685f,_0x215459,_0x1dfff1,_0x3ab9d2,_0x39fe59){var _0x2f21d5=_0x440d83;super(),A(this,_0x2f21d5(0x4af),new j[(_0x2f21d5(0x3d2))](0x0)),A(this,'sessionStatus$',this[_0x2f21d5(0x4af)][_0x2f21d5(0x205)]()),A(this,_0x2f21d5(0x316),new j[(_0x2f21d5(0x1d9))]()),A(this,_0x2f21d5(0x400),this[_0x2f21d5(0x316)][_0x2f21d5(0x205)]()),A(this,_0x2f21d5(0x426)),A(this,_0x2f21d5(0x406)),A(this,_0x2f21d5(0x3f5)),A(this,_0x2f21d5(0x4b7),!0x1),A(this,_0x2f21d5(0x329),null),(this[_0x2f21d5(0x219)]=_0x404a7f,this[_0x2f21d5(0x3c1)]=_0x2a28bf,this[_0x2f21d5(0x4c8)]=_0x46d36e,this[_0x2f21d5(0x49c)]=_0x2b685f,this['_memberService']=_0x215459,this[_0x2f21d5(0x48b)]=_0x1dfff1,this[_0x2f21d5(0x4c1)]=_0x3ab9d2,this[_0x2f21d5(0x1c9)]=_0x39fe59,this[_0x2f21d5(0x4b7)]=!!this['_telemetryService'],_0x3054fe[_0x2f21d5(0x34f)](j[_0x2f21d5(0x358)](this[_0x2f21d5(0x1f4)]))[_0x2f21d5(0x2e4)](_0x1d537a=>{var _0x3f82ec=_0x2f21d5,_0x11bf8a;typeof _0x1d537a>'u'||(this[_0x3f82ec(0x426)]=_0x1d537a,_0x1d537a?(this[_0x3f82ec(0x3bf)](_0x1d537a),this['_socketMessageSubscription']=_0x1d537a[_0x3f82ec(0x41d)][_0x3f82ec(0x2e4)](_0x314ff0=>{var _0x5e2129=_0x3f82ec;_0x314ff0[_0x5e2129(0x3a7)]===this[_0x5e2129(0x219)]&&this['_onCombEvent'](_0x314ff0);})):(this[_0x3f82ec(0x1f7)](),this[_0x3f82ec(0x4af)]['next'](0x2),(_0x11bf8a=this[_0x3f82ec(0x406)])==null||_0x11bf8a['unsubscribe'](),this[_0x3f82ec(0x406)]=null));}));}get[_0x440d83(0x1d1)](){var _0x3cdc2c=_0x440d83;return this['_sessionStatus$'][_0x3cdc2c(0x20d)]();}[_0x440d83(0x3de)](){var _0x2baa5a=_0x440d83,_0x229424,_0x5d65d9;return(_0x5d65d9=(_0x229424=this['_socket'])==null?void 0x0:_0x229424[_0x2baa5a(0x514)])!=null?_0x5d65d9:null;}[_0x440d83(0x362)](){var _0x5916bb=_0x440d83;super[_0x5916bb(0x362)](),this[_0x5916bb(0x1f4)][_0x5916bb(0x500)](),this[_0x5916bb(0x1f4)][_0x5916bb(0x248)]();}[_0x440d83(0x407)](){var _0x334ae6=_0x440d83,_0x47fed7,_0x3c9e94;this[_0x334ae6(0x1f7)](),(_0x47fed7=this[_0x334ae6(0x426)])==null||_0x47fed7[_0x334ae6(0x1fe)]({'cmd':W['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x3c9e94=this[_0x334ae6(0x426)])==null||_0x3c9e94[_0x334ae6(0x407)](),this[_0x334ae6(0x316)]['complete'](),this['_sessionStatus$'][_0x334ae6(0x248)](),this[_0x334ae6(0x362)]();}[_0x440d83(0x524)](_0x14c726){var _0x5f3a5f=_0x440d83;_0x14c726[_0x5f3a5f(0x3e2)]===W[_0x5f3a5f(0x34c)]?this['_onJoinRoomEvent'](_0x14c726):_0x14c726[_0x5f3a5f(0x3e2)]===W[_0x5f3a5f(0x3e3)]&&this[_0x5f3a5f(0x396)](_0x14c726);}[_0x440d83(0x3bf)](_0x2d83cd){var _0x5903b8=_0x440d83;this[_0x5903b8(0x4af)][_0x5903b8(0x500)](0x1),_0x2d83cd[_0x5903b8(0x1fe)]({'cmd':W[_0x5903b8(0x34c)],'routeKey':this[_0x5903b8(0x219)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x440d83(0x2e9)](_0x320cfb){var _0x5f299f=_0x440d83,_0x27cc02;if(_0x320cfb[_0x5f299f(0x1c2)]in Ye){this[_0x5f299f(0x4c1)][_0x5f299f(0x4db)]({'id':Q[_0x5f299f(0x47d)],'data':Ye[_0x320cfb[_0x5f299f(0x1c2)]]}),this['_sessionStatus$'][_0x5f299f(0x500)](0x2);return;}this['_sessionStatus$'][_0x5f299f(0x500)](0x3);const _0x1bd6e0=(_0x27cc02=_0x320cfb[_0x5f299f(0x279)][_0x5f299f(0x291)][this[_0x5f299f(0x219)]])==null?void 0x0:_0x27cc02[_0x5f299f(0x475)];_0x1bd6e0&&_0x1bd6e0[_0x5f299f(0x39f)](_0x5e5cb0=>this['_memberService']['updateMember'](this[_0x5f299f(0x219)],_0x5e5cb0));}[_0x440d83(0x396)](_0x26e0c0){var _0x3dfe48=_0x440d83;try{const _0x518202=_0x26e0c0['data'];switch(_0x518202['eventID']){case g[_0x3dfe48(0x274)][_0x3dfe48(0x51d)]:this['_onUserJoin'](_0x518202),this[_0x3dfe48(0x316)]['next'](_0x518202);break;case g[_0x3dfe48(0x274)]['USERS_LEAVE']:this['_onUserLeave'](_0x518202),this['_event$'][_0x3dfe48(0x500)](_0x518202);break;case g[_0x3dfe48(0x274)][_0x3dfe48(0x231)]:case g[_0x3dfe48(0x274)][_0x3dfe48(0x4d0)]:this[_0x3dfe48(0x21e)](),this[_0x3dfe48(0x43e)](),this[_0x3dfe48(0x316)][_0x3dfe48(0x500)](_0x518202);break;case g[_0x3dfe48(0x274)]['MSG_FOR_ERROR']:this[_0x3dfe48(0x3c1)][_0x3dfe48(0x1ba)](_0x3dfe48(0x454)+JSON[_0x3dfe48(0x1ec)](_0x518202)),this['_event$'][_0x3dfe48(0x500)](_0x518202);break;case g['CollaborationEvent'][_0x3dfe48(0x3b0)]:this[_0x3dfe48(0x48b)][_0x3dfe48(0x402)](_0x518202[_0x3dfe48(0x279)]),this[_0x3dfe48(0x316)]['next'](_0x518202);break;default:this[_0x3dfe48(0x316)][_0x3dfe48(0x500)](_0x518202);}}catch(_0x3133f5){this[_0x3dfe48(0x3c1)]['error'](_0x3133f5,_0x26e0c0);}}[_0x440d83(0x1b0)](_0x1fc24e){var _0x46d2ba=_0x440d83;this[_0x46d2ba(0x3b6)][_0x46d2ba(0x2b9)](this['_unitID'],_0x1fc24e[_0x46d2ba(0x279)]);}['_onUserLeave'](_0x576238){var _0x310970=_0x440d83;this[_0x310970(0x3b6)][_0x310970(0x4fa)](this[_0x310970(0x219)],_0x576238['data'][_0x310970(0x514)]);}async[_0x440d83(0x1fe)](_0x519c5b,_0xe87833){var _0x6654ee=_0x440d83;if(this[_0x6654ee(0x1d1)]!==0x3||!this['_socket'])throw new Error(_0x6654ee(0x21f));try{_0x519c5b[_0x6654ee(0x23b)]===g[_0x6654ee(0x274)][_0x6654ee(0x315)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x519c5b)),this[_0x6654ee(0x426)][_0x6654ee(0x1fe)]({'cmd':W['INGEST'],'routeKey':_0xe87833,'routeType':'','data':_0x519c5b});}catch(_0x2579d4){this['_logService'][_0x6654ee(0x1ba)](_0x2579d4);}}['_scheduleCollaborationTimeoutTimer'](){var _0x3de83a=_0x440d83,_0x2917f7;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x4d75de=_0x8679;this[_0x4d75de(0x3f5)]=null,this[_0x4d75de(0x4c1)][_0x4d75de(0x4db)]({'id':Q['SUBMIT_CHANGESET_TIMEOUT']});},(_0x2917f7=this[_0x3de83a(0x4c8)][_0x3de83a(0x273)](je))!=null?_0x2917f7:gt);}[_0x440d83(0x43e)](){var _0x130855=_0x440d83;this[_0x130855(0x3f5)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x130855(0x3f5)]=null);}[_0x440d83(0x280)](_0x10566a){var _0x6e741a=_0x440d83;if(!this['_shouldReportTelemetry'])return;const {data:_0x3b5856}=_0x10566a,{unitID:_0x42f582,changeset:_0x51678f}=_0x3b5856,{mutations:_0x3aeb0d,type:_0x148a4b}=_0x51678f;this['_telemetryInfo']={'unitId':_0x42f582,'type':_0x148a4b,'startTime':performance[_0x6e741a(0x204)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x3aeb0d)};}[_0x440d83(0x21e)](){var _0x36f50d=_0x440d83;if(this[_0x36f50d(0x4b7)]){if(!this[_0x36f50d(0x329)]){this[_0x36f50d(0x3c1)][_0x36f50d(0x1ba)](_0x36f50d(0x2d9),_0x36f50d(0x47e));return;}this[_0x36f50d(0x329)]['stopTime']=performance['now'](),this['_telemetryInfo'][_0x36f50d(0x43f)]=this[_0x36f50d(0x329)][_0x36f50d(0x527)]-this[_0x36f50d(0x329)][_0x36f50d(0x3c5)],this['_telemetryService']['capture'](ei,this[_0x36f50d(0x329)]),this[_0x36f50d(0x329)]=null;}}[_0x440d83(0x1f7)](){var _0x4925ed=_0x440d83;this[_0x4925ed(0x329)]=null;}},exports[_0x440d83(0x2a7)]=oi([oe(0x2,a[_0x440d83(0x427)]),oe(0x3,a['IConfigService']),oe(0x4,a[_0x440d83(0x202)](a[_0x440d83(0x494)])),oe(0x5,a[_0x440d83(0x202)](exports[_0x440d83(0x3c0)])),oe(0x6,a[_0x440d83(0x202)](Be)),oe(0x7,a[_0x440d83(0x202)](te)),oe(0x8,a[_0x440d83(0x4fb)](Mt['ITelemetryService']))],exports[_0x440d83(0x2a7)]);var ai=Object[_0x440d83(0x4a6)],ci=(_0x40db0f,_0x4a9b7c,_0x365e72,_0x3a860e)=>{var _0x5242dc=_0x440d83;for(var _0x2797ee=_0x3a860e>0x1?void 0x0:_0x3a860e?ai(_0x4a9b7c,_0x365e72):_0x4a9b7c,_0x1a4e59=_0x40db0f[_0x5242dc(0x3f7)]-0x1,_0x112438;_0x1a4e59>=0x0;_0x1a4e59--)(_0x112438=_0x40db0f[_0x1a4e59])&&(_0x2797ee=_0x112438(_0x2797ee)||_0x2797ee);return _0x2797ee;},le=(_0x5ea3a0,_0x40ee01)=>(_0x1c737f,_0x2f3345)=>_0x40ee01(_0x1c737f,_0x2f3345,_0x5ea3a0);exports[_0x440d83(0x1e9)]=class extends a[_0x440d83(0x24e)]{constructor(_0x58594e,_0x4875df,_0x58f2d1,_0x4bad45,_0x22e8f2,_0x3ec13f){var _0x2ec923=_0x440d83;super(),A(this,_0x2ec923(0x22a),new j[(_0x2ec923(0x3d2))](void 0x0)),A(this,_0x2ec923(0x472),this[_0x2ec923(0x22a)][_0x2ec923(0x205)]()),A(this,_0x2ec923(0x4ec),null),A(this,_0x2ec923(0x3bd),new Map()),A(this,_0x2ec923(0x321),new j[(_0x2ec923(0x3d2))](se['IDLE'])),A(this,_0x2ec923(0x2aa),this[_0x2ec923(0x321)][_0x2ec923(0x205)]()),A(this,_0x2ec923(0x40e),!0x1),A(this,'_retryConnectingTimer'),A(this,_0x2ec923(0x3c9),0x0),A(this,_0x2ec923(0x262)),A(this,_0x2ec923(0x1d0)),(this['_injector']=_0x58594e,this['_logService']=_0x4875df,this[_0x2ec923(0x4c8)]=_0x58f2d1,this[_0x2ec923(0x3d4)]=_0x4bad45,this['_collaborationUIEventService']=_0x22e8f2,this[_0x2ec923(0x2df)]=_0x3ec13f,this[_0x2ec923(0x2e0)]());}get[_0x440d83(0x426)](){var _0x420ce4=_0x440d83;return this[_0x420ce4(0x22a)]['getValue']();}['_listenToNetworkCondition'](){var _0x212751=_0x440d83;this[_0x212751(0x2df)]&&this[_0x212751(0x3f1)](this[_0x212751(0x2df)][_0x212751(0x3c2)]['subscribe'](_0x4ecec4=>{var _0x5c68b9=_0x212751;_0x4ecec4&&!this[_0x5c68b9(0x426)]&&this['reconnect'](),_0x4ecec4||this['_onOffline']();}));}[_0x440d83(0x362)](){var _0x473071=_0x440d83;super[_0x473071(0x362)](),this[_0x473071(0x300)](),this[_0x473071(0x1db)](),this[_0x473071(0x334)](),this[_0x473071(0x3bd)][_0x473071(0x39f)](_0x4064c9=>_0x4064c9[_0x473071(0x362)]()),this[_0x473071(0x3bd)]['clear'](),this[_0x473071(0x321)][_0x473071(0x248)]();}async[_0x440d83(0x268)](_0x1d0266){var _0x1f1f0b=_0x440d83;if(this[_0x1f1f0b(0x3bd)]['has'](_0x1d0266))return this['_sessions'][_0x1f1f0b(0x1e0)](_0x1d0266);this[_0x1f1f0b(0x4e1)]();const _0x3e92cd=this[_0x1f1f0b(0x3aa)]['createInstance'](exports[_0x1f1f0b(0x2a7)],_0x1d0266,this['_socket$'][_0x1f1f0b(0x205)]());return this[_0x1f1f0b(0x3bd)][_0x1f1f0b(0x3eb)](_0x1d0266,_0x3e92cd),_0x3e92cd;}[_0x440d83(0x2b2)](_0x49cf12){var _0x4c9ff4=_0x440d83,_0x500b14;const _0xca8029=this[_0x4c9ff4(0x3bd)]['get'](_0x49cf12);_0xca8029&&(this[_0x4c9ff4(0x3bd)][_0x4c9ff4(0x1e4)](_0x49cf12),_0xca8029[_0x4c9ff4(0x407)]()),this[_0x4c9ff4(0x3bd)]['size']||(_0x500b14=this[_0x4c9ff4(0x426)])==null||_0x500b14['close']();}['reconnect'](){var _0x3f0bb4=_0x440d83;this[_0x3f0bb4(0x3c9)]=0x0,this[_0x3f0bb4(0x300)](),this[_0x3f0bb4(0x4a5)]();}[_0x440d83(0x300)](){var _0x500b4c=_0x440d83;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x500b4c(0x3ae)]),this[_0x500b4c(0x3ae)]=null);}async['_createSocket'](){var _0x570086=_0x440d83,_0x41a59e,_0x18b1cc;const _0x1676d2=this['_configService']['getConfig'](St),_0x181b68=this[_0x570086(0x4c8)][_0x570086(0x273)](Y),_0x21f993=(_0x18b1cc=(_0x41a59e=_0x181b68==null?void 0x0:_0x181b68['collabWebSocketUrl'])!=null?_0x41a59e:_0x1676d2)!=null?_0x18b1cc:ft,_0x35defd=await this[_0x570086(0x3d4)][_0x570086(0x2a9)](_0x21f993);return this['_candidateSocket']=_0x35defd,_0x35defd;}async[_0x440d83(0x4e1)](){var _0x164617=_0x440d83,_0x3a7f1b,_0x256d51;try{const _0x547a13=(_0x256d51=(_0x3a7f1b=this[_0x164617(0x426)])!=null?_0x3a7f1b:this[_0x164617(0x4ec)])!=null?_0x256d51:await this['_createSocket']();if(_0x547a13){const _0x1c9904=_0x547a13[_0x164617(0x1fe)];_0x547a13['send']=_0x309f13=>(this[_0x164617(0x2e1)](),_0x1c9904[_0x164617(0x304)](_0x547a13,[_0x309f13])),_0x547a13[_0x164617(0x41d)]['subscribe'](_0x314fe1=>this['_onMessage'](_0x547a13,_0x314fe1)),_0x547a13[_0x164617(0x367)]['pipe'](V[_0x164617(0x2cc)](0x1))[_0x164617(0x2e4)](_0x289f32=>this[_0x164617(0x3c1)][_0x164617(0x1ba)](_0x164617(0x346),_0x289f32)),_0x547a13[_0x164617(0x1b2)][_0x164617(0x34f)](V[_0x164617(0x2cc)](0x1))['subscribe'](()=>{var _0x2ae070=_0x164617;this[_0x2ae070(0x422)](_0x547a13);}),_0x547a13[_0x164617(0x379)][_0x164617(0x34f)](V['take'](0x1))[_0x164617(0x2e4)](_0x687b7f=>{var _0x1425a2=_0x164617;this[_0x1425a2(0x3c1)][_0x1425a2(0x4eb)]('[CollaborationSessionService]','socket\x20close',_0x687b7f),this[_0x1425a2(0x271)]();});}}catch(_0x2c2231){this['_logService'][_0x164617(0x1ba)](_0x2c2231),this[_0x164617(0x271)]();}}['_onConnectionOpen'](_0x5284b5){var _0x31885d=_0x440d83;this[_0x31885d(0x3c1)]['debug']('[CollaborationSessionService]','socket\x20open.'),_0x5284b5['send']({'cmd':W[_0x31885d(0x2ca)]}),this[_0x31885d(0x2e1)]();}['_onOffline'](){var _0x1dc991=_0x440d83;this[_0x1dc991(0x40e)]=!0x1,this[_0x1dc991(0x4ec)]=null,this[_0x1dc991(0x321)][_0x1dc991(0x500)](se['OFFLINE']),this['_socket$'][_0x1dc991(0x500)](null),this[_0x1dc991(0x1db)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x52734a=_0x440d83,_0x56d44f;this[_0x52734a(0x4ce)](),this[_0x52734a(0x3c9)]<((_0x56d44f=this[_0x52734a(0x4c8)][_0x52734a(0x273)](mt))!=null?_0x56d44f:Vt)?(this['_collaborationUIEventService'][_0x52734a(0x4db)]({'id':Q[_0x52734a(0x38f)]}),this[_0x52734a(0x4a5)]()):this['_collaborationUIEventService'][_0x52734a(0x4db)]({'id':Q['SOCKET_FAILED']});}[_0x440d83(0x4a5)](){var _0x1c7373=_0x440d83,_0x40c5df;const _0x43c638=this[_0x1c7373(0x3c9)],_0x469256=this[_0x1c7373(0x4c8)][_0x1c7373(0x273)](Y),_0x430118=_0x43c638===0x0?0x0:((_0x40c5df=_0x469256==null?void 0x0:_0x469256[_0x1c7373(0x399)])!=null?_0x40c5df:Ft)*0x2**_0x43c638;this[_0x1c7373(0x3ae)]=setTimeout(()=>{var _0x161cdf=_0x1c7373;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x161cdf(0x4e1)]();},_0x430118),this[_0x1c7373(0x3c9)]+=0x1;}[_0x440d83(0x356)](_0x12c81d,_0x2ad03a){var _0x5b5e86=_0x440d83;const {cmd:_0x1dcf48}=_0x2ad03a;_0x1dcf48===W['HELLO']&&!this[_0x5b5e86(0x40e)]&&(_0x12c81d[_0x5b5e86(0x514)]=_0x2ad03a[_0x5b5e86(0x279)][_0x5b5e86(0x514)],this['_socket$'][_0x5b5e86(0x500)](_0x12c81d),this[_0x5b5e86(0x321)][_0x5b5e86(0x500)](se[_0x5b5e86(0x452)]),this['_socketReady']=!0x0,this[_0x5b5e86(0x4ec)]=null),_0x1dcf48===W[_0x5b5e86(0x456)]&&this['_clearTimeoutTimer'](),this[_0x5b5e86(0x2e1)]();}[_0x440d83(0x2e1)](){var _0x11c2bc=_0x440d83,_0x35653b;this[_0x11c2bc(0x334)](),this[_0x11c2bc(0x262)]=setTimeout(()=>this[_0x11c2bc(0x1bb)](),(_0x35653b=this[_0x11c2bc(0x4c8)]['getConfig'](pt))!=null?_0x35653b:Bt);}[_0x440d83(0x1bb)](){var _0x22d82b=_0x440d83;this[_0x22d82b(0x426)][_0x22d82b(0x1fe)]({'cmd':W[_0x22d82b(0x456)]}),this[_0x22d82b(0x36c)]();}[_0x440d83(0x36c)](){var _0x5c0649=_0x440d83,_0x3d9f7c;this[_0x5c0649(0x1d0)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x3d9f7c=this[_0x5c0649(0x4c8)]['getConfig'](je))!=null?_0x3d9f7c:gt);}[_0x440d83(0x334)](){var _0x5948bc=_0x440d83;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x5948bc(0x262)]=null);}[_0x440d83(0x1db)](){var _0x4aaf74=_0x440d83;this[_0x4aaf74(0x1d0)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}},exports[_0x440d83(0x1e9)]=ci([le(0x0,a['Inject'](a[_0x440d83(0x2f4)])),le(0x1,a['ILogService']),le(0x2,a[_0x440d83(0x24d)]),le(0x3,$e),le(0x4,a[_0x440d83(0x202)](te)),le(0x5,a['Optional'](bt))],exports[_0x440d83(0x1e9)]);const G=[];for(let n=0x0;n<0x100;++n)G[_0x440d83(0x45f)]((n+0x100)[_0x440d83(0x1da)](0x10)['slice'](0x1));function hi(_0x3cbfa9,_0x260886=0x0){var _0x2faf62=_0x440d83;return(G[_0x3cbfa9[_0x260886+0x0]]+G[_0x3cbfa9[_0x260886+0x1]]+G[_0x3cbfa9[_0x260886+0x2]]+G[_0x3cbfa9[_0x260886+0x3]]+'-'+G[_0x3cbfa9[_0x260886+0x4]]+G[_0x3cbfa9[_0x260886+0x5]]+'-'+G[_0x3cbfa9[_0x260886+0x6]]+G[_0x3cbfa9[_0x260886+0x7]]+'-'+G[_0x3cbfa9[_0x260886+0x8]]+G[_0x3cbfa9[_0x260886+0x9]]+'-'+G[_0x3cbfa9[_0x260886+0xa]]+G[_0x3cbfa9[_0x260886+0xb]]+G[_0x3cbfa9[_0x260886+0xc]]+G[_0x3cbfa9[_0x260886+0xd]]+G[_0x3cbfa9[_0x260886+0xe]]+G[_0x3cbfa9[_0x260886+0xf]])[_0x2faf62(0x476)]();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x1f6452=_0x440d83;if(!Ue){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Ue=crypto[_0x1f6452(0x492)][_0x1f6452(0x22b)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto[_0x440d83(0x247)]&&crypto[_0x440d83(0x247)]['bind'](crypto),qe={'randomUUID':ui};function di(_0x5dc85e,_0x9ce66,_0x6fa057){var _0x4cfad7=_0x440d83,_0x2c8ffd,_0x491501,_0x41230c;if(qe['randomUUID']&&!_0x5dc85e)return qe[_0x4cfad7(0x247)]();_0x5dc85e=_0x5dc85e||{};const _0xb15037=(_0x41230c=(_0x491501=_0x5dc85e[_0x4cfad7(0x2e3)])!=null?_0x491501:(_0x2c8ffd=_0x5dc85e[_0x4cfad7(0x2af)])==null?void 0x0:_0x2c8ffd[_0x4cfad7(0x340)](_0x5dc85e))!=null?_0x41230c:_i();if(_0xb15037[_0x4cfad7(0x3f7)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0xb15037[0x6]=_0xb15037[0x6]&0xf|0x40,_0xb15037[0x8]=_0xb15037[0x8]&0x3f|0x80,hi(_0xb15037);}const z=a[_0x440d83(0x2e7)]('collaboration-client.local-cache-service');function vi(_0x375e9e){var _0xa3ba0e=_0x440d83;return _0xa3ba0e(0x465)+_0x375e9e;}var Si=Object[_0x440d83(0x4a6)],fi=(_0x4d989a,_0x3bfb6a,_0x1bcd97,_0x597802)=>{var _0x5e71ef=_0x440d83;for(var _0x482643=_0x597802>0x1?void 0x0:_0x597802?Si(_0x3bfb6a,_0x1bcd97):_0x3bfb6a,_0x30dc46=_0x4d989a[_0x5e71ef(0x3f7)]-0x1,_0x1e0c8c;_0x30dc46>=0x0;_0x30dc46--)(_0x1e0c8c=_0x4d989a[_0x30dc46])&&(_0x482643=_0x1e0c8c(_0x482643)||_0x482643);return _0x482643;},Ae=(_0x28ea1c,_0x440f59)=>(_0x39c1b9,_0x4b9929)=>_0x440f59(_0x39c1b9,_0x4b9929,_0x28ea1c);function pi(_0xb0a14){var _0x13cbbb=_0x440d83;const {unitID:_0x45f56c,mutations:_0x5bb606}=_0xb0a14;return{'unitId':_0x45f56c,'subUnitId':_0x5bb606[0x0][_0x13cbbb(0x27a)][_0x13cbbb(0x267)]};}exports['SheetTransformSelectionsService']=class{constructor(_0xaa09fe,_0x4e8ae8,_0x50e1c8){var _0x11d034=_0x440d83;this[_0x11d034(0x3aa)]=_0xaa09fe,this['_transformService']=_0x4e8ae8,this['_instanceService']=_0x50e1c8;}['transformSelections'](_0x4a68ea){var _0x54c943=_0x440d83,_0x8262e3,_0x21c6fb,_0x58c42f,_0x41fd29;const _0x59c464=this[_0x54c943(0x3aa)]['get'](Z[_0x54c943(0x260)]),{unitId:_0x10b1b6,subUnitId:_0x212791}=pi(_0x4a68ea),_0x5e30ad=_0x59c464==null?void 0x0:_0x59c464[_0x54c943(0x217)](_0x10b1b6)[_0x54c943(0x302)](),_0x127190=(_0x21c6fb=(_0x8262e3=this['_instanceService'][_0x54c943(0x378)](_0x10b1b6))==null?void 0x0:_0x8262e3[_0x54c943(0x468)]())==null?void 0x0:_0x21c6fb[_0x54c943(0x507)]();if(_0x5e30ad['length']===0x0||!_0x10b1b6||!_0x212791)return;const _0x32c2c8=[{'id':Z[_0x54c943(0x479)]['id'],'params':{'unitId':_0x10b1b6,'subUnitId':_0x127190,'selections':a[_0x54c943(0x1d6)][_0x54c943(0x1bd)](_0x5e30ad)}}],_0x5dbb7d=this[_0x54c943(0x503)]['transformMutationsWithChangeset'](_0x4a68ea,_0x32c2c8);if(!g[_0x54c943(0x21c)](_0x5dbb7d))throw _0x5dbb7d[_0x54c943(0x1ba)];const _0x221f3d=(_0x41fd29=(_0x58c42f=_0x5dbb7d[_0x54c943(0x345)][0x0])==null?void 0x0:_0x58c42f[_0x54c943(0x27a)])==null?void 0x0:_0x41fd29['selections'];if(Array[_0x54c943(0x394)](_0x221f3d)&&_0x221f3d[_0x54c943(0x3f7)]){if(_0x221f3d[_0x54c943(0x3f7)]===_0x32c2c8[0x0][_0x54c943(0x27a)][_0x54c943(0x253)][_0x54c943(0x3f7)]&&_0x221f3d[_0x54c943(0x242)]((_0x78dfd,_0x358782)=>a[_0x54c943(0x243)][_0x54c943(0x497)](_0x78dfd[_0x54c943(0x1e8)],_0x32c2c8[0x0]['params'][_0x54c943(0x253)][_0x358782][_0x54c943(0x1e8)])))return;this[_0x54c943(0x3aa)][_0x54c943(0x1e0)](a['ICommandService'])[_0x54c943(0x4ac)](Z[_0x54c943(0x479)]['id'],{'unitId':_0x10b1b6,'subUnitId':_0x127190,'selections':_0x221f3d});}}},exports['SheetTransformSelectionsService']=fi([Ae(0x0,a[_0x440d83(0x202)](a[_0x440d83(0x2f4)])),Ae(0x1,g['ITransformService']),Ae(0x2,a['IUniverInstanceService'])],exports[_0x440d83(0x21b)]);const ve=a[_0x440d83(0x2e7)](_0x440d83(0x1bc));var Fe=(_0x4a983b=>(_0x4a983b[_0x4a983b[_0x440d83(0x324)]=0x0]=_0x440d83(0x324),_0x4a983b[_0x4a983b['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x4a983b))(Fe||{});const gi=new Set([Z[_0x440d83(0x244)]['id']]);function ze(_0x4e8c37,_0x192fc7,_0x383036,_0xe6e880,_0x331125){var _0x269f88=_0x440d83,_0x4d9367,_0x23d42b,_0x3ceff6,_0x4c6679;const _0x10e716=[];for(const _0x339be3 of _0x4e8c37)if(gi[_0x269f88(0x32f)](_0x339be3['id'])){if(_0x10e716[_0x269f88(0x3f7)]>0x0)break;_0x10e716[_0x269f88(0x45f)](_0x339be3);break;}else _0x10e716[_0x269f88(0x45f)](_0x339be3);const _0xff0952=(_0x23d42b=(_0x4d9367=_0x331125[_0x269f88(0x460)]())==null?void 0x0:_0x4d9367[_0x269f88(0x525)])!=null?_0x23d42b:_0x269f88(0x1c1),_0x2497d8=(_0x4c6679=(_0x3ceff6=_0x331125[_0x269f88(0x460)]())==null?void 0x0:_0x3ceff6[_0x269f88(0x514)])!=null?_0x4c6679:_0x269f88(0x1c1);return{'changeset':{'unitID':_0x192fc7,'type':g['mapDocumentTypeToUniverType'](_0x383036[_0x269f88(0x523)](_0x192fc7)),'baseRev':_0xe6e880['getCurrentRevOfUnit'](_0x192fc7),'revision':0x0,'userID':_0xff0952,'memberID':_0x2497d8,'mutations':_0x10e716},'pendingMutations':_0x4e8c37['slice'](_0x10e716[_0x269f88(0x3f7)])};}function mi(_0x5d43fb,_0x5e62d5,_0xb74ad9,_0x4d3e8c,_0x210407){var _0xb8b65a=_0x440d83,_0x2f4dc8,_0x49e72a,_0x2fc632,_0x2bad55;const _0x436762=[_0x5d43fb['reduce']((_0x2cae24,_0x4c521d)=>{var _0x20668d=_0x8679,_0x428490;const {id:_0x472de5}=_0x2cae24,{id:_0x4512b9,type:_0x304ba0}=_0x4c521d,_0x1491e9=(_0x428490=_0x2cae24[_0x20668d(0x27a)])!=null?_0x428490:{'actions':null},_0x181fcc=_0x4c521d[_0x20668d(0x27a)];if(_0x472de5&&_0x472de5!==_0x4512b9)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x472de5+'\x20-\x20'+_0x4512b9+'.');return{..._0x2cae24,'id':_0x4512b9,'type':_0x304ba0,'params':{'unitId':_0x181fcc[_0x20668d(0x489)],'textRanges':_0x181fcc[_0x20668d(0x1f0)],'actions':a[_0x20668d(0x2d0)][_0x20668d(0x2a5)](_0x1491e9[_0x20668d(0x339)],_0x181fcc[_0x20668d(0x339)])}};},{})],_0x26090e=(_0x49e72a=(_0x2f4dc8=_0x210407[_0xb8b65a(0x460)]())==null?void 0x0:_0x2f4dc8[_0xb8b65a(0x525)])!=null?_0x49e72a:_0xb8b65a(0x1c1),_0x3a6c8f=(_0x2bad55=(_0x2fc632=_0x210407[_0xb8b65a(0x460)]())==null?void 0x0:_0x2fc632[_0xb8b65a(0x514)])!=null?_0x2bad55:_0xb8b65a(0x1c1);return{'changeset':{'unitID':_0x5e62d5,'type':g[_0xb8b65a(0x517)](_0xb74ad9[_0xb8b65a(0x523)](_0x5e62d5)),'baseRev':_0x4d3e8c['getCurrentRevOfUnit'](_0x5e62d5),'revision':0x0,'userID':_0x26090e,'memberID':_0x3a6c8f,'mutations':_0x436762},'pendingMutations':[]};}function Ot(_0x27f27f,_0x57a8c4){var _0x36c9a6=_0x440d83;const _0x49aacd=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x49aacd['next'](_0x57a8c4),_0x27f27f),_0x49aacd[_0x36c9a6(0x205)]()[_0x36c9a6(0x34f)](j['take'](0x1));}const Ii={'id':Z[_0x440d83(0x4a3)]['id'],'type':a[_0x440d83(0x4d1)][_0x440d83(0x4f8)],'params':{}};var Ei=Object[_0x440d83(0x4a6)],ce=(_0x2cc8ac,_0x16e348,_0x4ab0ca,_0xe37973)=>{var _0x214180=_0x440d83;for(var _0x5cba81=_0xe37973>0x1?void 0x0:_0xe37973?Ei(_0x16e348,_0x4ab0ca):_0x16e348,_0x5d0a9e=_0x2cc8ac[_0x214180(0x3f7)]-0x1,_0x4797ad;_0x5d0a9e>=0x0;_0x5d0a9e--)(_0x4797ad=_0x2cc8ac[_0x5d0a9e])&&(_0x5cba81=_0x4797ad(_0x5cba81)||_0x5cba81);return _0x5cba81;},w=(_0x66d1a2,_0xec7f8f)=>(_0xc11220,_0x1b2cb7)=>_0xec7f8f(_0xc11220,_0x1b2cb7,_0x66d1a2),Ve=(_0xe95b95=>(_0xe95b95[_0x440d83(0x2a2)]='not_collab',_0xe95b95[_0x440d83(0x2f5)]=_0x440d83(0x270),_0xe95b95[_0x440d83(0x50d)]='pending',_0xe95b95['AWAITING']='awaiting',_0xe95b95[_0x440d83(0x360)]=_0x440d83(0x469),_0xe95b95['FETCH_MISS']='fetch_missing',_0xe95b95[_0x440d83(0x3ea)]='conflict',_0xe95b95[_0x440d83(0x502)]='offline',_0xe95b95))(Ve||{});const Nt=0xea60;class he{constructor(_0x554677,_0x19e7d7,_0x2f5aaf,_0x22ab4a,_0x3958ef,_0x2706cf,_0x2404e6,_0x4e1590,_0xca217a){var _0x3ee6e5=_0x440d83;A(this,_0x3ee6e5(0x223),null),A(this,_0x3ee6e5(0x43a),[]),(this[_0x3ee6e5(0x2db)]=_0x554677,this['type']=_0x19e7d7,this[_0x3ee6e5(0x3d1)]=_0x3958ef,this[_0x3ee6e5(0x4f6)]=_0x2706cf,this[_0x3ee6e5(0x3fd)]=_0x2404e6,this[_0x3ee6e5(0x42b)]=_0x4e1590,this[_0x3ee6e5(0x380)]=_0xca217a,this[_0x3ee6e5(0x223)]=_0x2f5aaf,this['_pendingMutations']=_0x22ab4a);}[_0x440d83(0x1dd)](_0x51366b){var _0x84b818=_0x440d83;const _0x112990=this[_0x84b818(0x42b)][_0x84b818(0x355)](this['unitID']);return _0x51366b[_0x84b818(0x32e)]>_0x112990+0x1?(this[_0x84b818(0x3d1)][_0x84b818(0x4c3)]({'from':_0x112990,'to':_0x51366b[_0x84b818(0x32e)]-0x1}),!0x0):!0x1;}[_0x440d83(0x4d5)](_0x2c3b48){var _0x3cd4fb=_0x440d83;this[_0x3cd4fb(0x3fd)][_0x3cd4fb(0x3a3)](this[_0x3cd4fb(0x2db)],_0x2c3b48);}[_0x440d83(0x4cf)](_0x3b70d5){var _0x47dfa4=_0x440d83,_0x225f96,_0x2091e2;(_0x2091e2=(_0x225f96=this[_0x47dfa4(0x3d1)])[_0x47dfa4(0x237)])==null||_0x2091e2['call'](_0x225f96,_0x3b70d5);}[_0x440d83(0x1cf)](_0x1b7d87){var _0x519362=_0x440d83,_0x55a68d,_0x5d8979;return(_0x5d8979=(_0x55a68d=this[_0x519362(0x3d1)])[_0x519362(0x285)])==null?void 0x0:_0x5d8979['call'](_0x55a68d,_0x1b7d87);}[_0x440d83(0x256)](_0x599967){var _0xcb1702=_0x440d83,_0x556276,_0x1de8e3;return(_0x1de8e3=(_0x556276=this['_handler'])[_0xcb1702(0x1be)])==null?void 0x0:_0x1de8e3[_0xcb1702(0x340)](_0x556276,_0x599967);}[_0x440d83(0x3f6)](_0x3e08d3){var _0x44c0d8=_0x440d83,_0x19e8fe,_0x2131a1,_0x5a787c;return(_0x5a787c=(_0x2131a1=(_0x19e8fe=this[_0x44c0d8(0x3d1)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2131a1[_0x44c0d8(0x340)](_0x19e8fe,_0x3e08d3))!=null?_0x5a787c:_0x3e08d3;}[_0x440d83(0x337)](_0x20c5df){var _0x4de8bd=_0x440d83,_0x18acc4,_0x8c1138,_0x57aaae;return(_0x57aaae=(_0x8c1138=(_0x18acc4=this['_handler'])[_0x4de8bd(0x320)])==null?void 0x0:_0x8c1138['call'](_0x18acc4,_0x20c5df))!=null?_0x57aaae:_0x20c5df;}[_0x440d83(0x1ce)](_0xe2d345){var _0x2941a7=_0x440d83,_0x22c8ca,_0x3cdcb5;if(this['type']===X[_0x2941a7(0x3a0)]){const {unitID:_0x30d392,mutations:_0x213f26,memberID:_0x4ae107}=_0xe2d345,_0x47a45e=_0x213f26[0x0]['params'][_0x2941a7(0x1f0)];Array[_0x2941a7(0x394)](_0x47a45e)&&_0x47a45e[_0x2941a7(0x3f7)]>0x0&&((_0x3cdcb5=(_0x22c8ca=this[_0x2941a7(0x3d1)])[_0x2941a7(0x35d)])==null||_0x3cdcb5[_0x2941a7(0x340)](_0x22c8ca,{'unitID':_0x30d392,'memberID':_0x4ae107,'textRanges':_0x47a45e}));}}[_0x440d83(0x1d7)](){var _0x49f08e=_0x440d83,_0x1c40ad;(_0x1c40ad=this[_0x49f08e(0x380)])==null||_0x1c40ad[_0x49f08e(0x41f)](this[_0x49f08e(0x2db)],this[_0x49f08e(0x218)],this[_0x49f08e(0x223)],this[_0x49f08e(0x43a)]);}['_getCurrentRevision'](){var _0x145ade=_0x440d83;return this[_0x145ade(0x42b)]['getCurrentRevOfUnit'](this[_0x145ade(0x2db)]);}[_0x440d83(0x4d3)](){var _0x172b76=_0x440d83;this[_0x172b76(0x42b)][_0x172b76(0x35a)](this['unitID']);}[_0x440d83(0x46e)](_0x33ba66){var _0x511bb3=_0x440d83,_0x1a7fbb;let _0x5a6cfb=this[_0x511bb3(0x3f6)](_0x33ba66);_0x5a6cfb=this[_0x511bb3(0x337)](_0x5a6cfb);const _0x1c3c7d=a['sequenceExecute'](_0x5a6cfb[_0x511bb3(0x4f9)],this[_0x511bb3(0x4f6)],{'fromCollab':!0x0});if(!_0x1c3c7d[_0x511bb3(0x2d1)])throw _0x1c3c7d[_0x511bb3(0x1ba)]instanceof Error?_0x1c3c7d['error']:new Error((_0x1a7fbb=_0x1c3c7d[_0x511bb3(0x1ba)])!=null?_0x1a7fbb:_0x511bb3(0x310));this[_0x511bb3(0x1cf)](_0x5a6cfb),this[_0x511bb3(0x256)](_0x5a6cfb),this['_transformUndoredo'](_0x33ba66),this[_0x511bb3(0x4cf)](_0x5a6cfb),this[_0x511bb3(0x1ce)](_0x5a6cfb),this['_incrementRevisionNumber']();}}exports['SyncedState']=class extends he{constructor(_0x14d72d,_0x14dfaf,_0x1d9d22,_0x2dab17,_0x4516a3,_0x329755,_0xa6fa40,_0x4c9d0c,_0x2b819e,_0x2eca7a){var _0x5c0b18=_0x440d83;super(_0x14d72d,_0x14dfaf,null,[],_0x1d9d22,_0xa6fa40,_0x329755,_0x2dab17,_0x2eca7a),A(this,_0x5c0b18(0x2cd),'synced'),(this['_injector']=_0x4516a3,this[_0x5c0b18(0x3c1)]=_0x4c9d0c,this[_0x5c0b18(0x503)]=_0x2b819e,this[_0x5c0b18(0x2a4)]=_0x2eca7a);}[_0x440d83(0x471)](_0x2e3350){var _0x40b6eb=_0x440d83;const _0x56b17d=this[_0x40b6eb(0x3aa)][_0x40b6eb(0x4dc)](exports[_0x40b6eb(0x414)],this[_0x40b6eb(0x2db)],this[_0x40b6eb(0x218)],[_0x2e3350],this[_0x40b6eb(0x3d1)]);return _0x56b17d[_0x40b6eb(0x40a)](),_0x56b17d[_0x40b6eb(0x1d7)](),_0x56b17d;}['onRemoteChangeset'](_0x3e03d2){var _0x4a19e8=_0x440d83;if(this[_0x4a19e8(0x1dd)](_0x3e03d2))return this['_injector']['createInstance'](exports[_0x4a19e8(0x512)],this[_0x4a19e8(0x2db)],this[_0x4a19e8(0x218)],null,[],null,[_0x3e03d2],this[_0x4a19e8(0x3d1)]);try{const _0x474ed6=this['_transformService'][_0x4a19e8(0x1cc)](_0x3e03d2,[Ii]);if(g[_0x4a19e8(0x21c)](_0x474ed6)){const {c1Prime:_0x80f2e4}=_0x474ed6;return this[_0x4a19e8(0x46e)](_0x80f2e4),this;}throw _0x474ed6[_0x4a19e8(0x1ba)];}catch(_0x478b2d){return this[_0x4a19e8(0x3c1)]['error'](_0x478b2d),this[_0x4a19e8(0x34d)](!0x1);}}[_0x440d83(0x34d)](_0x1925b4){var _0x5deb7b=_0x440d83;return this[_0x5deb7b(0x3aa)][_0x5deb7b(0x4dc)](exports['ConflictState'],this[_0x5deb7b(0x2db)],this[_0x5deb7b(0x218)],null,[],this[_0x5deb7b(0x3d1)],_0x1925b4);}['onRemoteAck'](){var _0x496dcd=_0x440d83;throw new Error(_0x496dcd(0x377));}[_0x440d83(0x2b3)](){var _0x3432ce=_0x440d83;throw new Error(_0x3432ce(0x44a));}[_0x440d83(0x3ad)](){return this;}[_0x440d83(0x35f)](){var _0x434047=_0x440d83;return this[_0x434047(0x3aa)][_0x434047(0x4dc)](exports[_0x434047(0x2b6)],this[_0x434047(0x2db)],this[_0x434047(0x218)],null,[],this[_0x434047(0x3d1)]);}['toggleOnline'](){return this;}[_0x440d83(0x1f8)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x57418f=_0x440d83;const _0x52957e=this[_0x57418f(0x42b)][_0x57418f(0x355)](this['unitID']);return this[_0x57418f(0x3d1)][_0x57418f(0x4c3)]({'from':_0x52957e,'to':0x0}),this[_0x57418f(0x3aa)][_0x57418f(0x4dc)](exports['FetchingMissState'],this[_0x57418f(0x2db)],this[_0x57418f(0x218)],null,[],null,[],this[_0x57418f(0x3d1)]);}},exports[_0x440d83(0x425)]=ce([w(0x3,a[_0x440d83(0x202)](g[_0x440d83(0x484)])),w(0x4,a['Inject'](a['Injector'])),w(0x5,a[_0x440d83(0x488)]),w(0x6,a[_0x440d83(0x404)]),w(0x7,a['ILogService']),w(0x8,g['ITransformService']),w(0x9,a['Optional'](z))],exports[_0x440d83(0x425)]),exports[_0x440d83(0x414)]=class extends he{constructor(_0x27fc16,_0x35eb18,_0x2df3a3,_0x4397e2,_0x209d48,_0x3f442a,_0x170b6b,_0x51db49,_0x3b2a69,_0x5c5a32,_0x38c653,_0x8639d9,_0x31c6f7,_0x512d78){var _0x4bf1a0=_0x440d83;super(_0x27fc16,_0x35eb18,null,_0x2df3a3,_0x4397e2,_0x3b2a69,_0x31c6f7,_0x3f442a,_0x512d78),A(this,_0x4bf1a0(0x2cd),_0x4bf1a0(0x26e)),A(this,_0x4bf1a0(0x371),null),A(this,_0x4bf1a0(0x493),null),(this[_0x4bf1a0(0x3aa)]=_0x209d48,this[_0x4bf1a0(0x3b6)]=_0x170b6b,this[_0x4bf1a0(0x3c1)]=_0x51db49,this[_0x4bf1a0(0x4c8)]=_0x5c5a32,this[_0x4bf1a0(0x503)]=_0x38c653,this[_0x4bf1a0(0x2fe)]=_0x8639d9);}[_0x440d83(0x471)](_0x2cf62f){var _0x36f33b=_0x440d83;return this['_pendingMutations']['push'](_0x2cf62f),this[_0x36f33b(0x1d7)](),this;}[_0x440d83(0x381)](_0x3384e6){var _0x19e2f6=_0x440d83;if(this[_0x19e2f6(0x1dd)](_0x3384e6))return this[_0x19e2f6(0x521)](),this[_0x19e2f6(0x3aa)]['createInstance'](exports[_0x19e2f6(0x512)],this[_0x19e2f6(0x2db)],this[_0x19e2f6(0x218)],null,this[_0x19e2f6(0x43a)],null,[_0x3384e6],this[_0x19e2f6(0x3d1)]);try{const _0x5d6f04=this[_0x19e2f6(0x503)][_0x19e2f6(0x1cc)](_0x3384e6,this[_0x19e2f6(0x43a)]);if(g[_0x19e2f6(0x21c)](_0x5d6f04)){const {c1Prime:_0x178ea7,m2Prime:_0x45355c}=_0x5d6f04;this[_0x19e2f6(0x46e)](_0x178ea7);const _0x33ddec=this['_injector'][_0x19e2f6(0x4dc)](exports[_0x19e2f6(0x414)],this[_0x19e2f6(0x2db)],this[_0x19e2f6(0x218)],_0x45355c,this[_0x19e2f6(0x3d1)]);this['_clearScheduledTask']();const _0x2a2f62=new Date()['getTime'](),_0x3b9e24=this[_0x19e2f6(0x371)]?Math[_0x19e2f6(0x36d)](this[_0x19e2f6(0x371)]-_0x2a2f62,0x0):this['_getSendChangesetTimeout']();return _0x33ddec[_0x19e2f6(0x40a)](_0x3b9e24),_0x33ddec;}throw _0x5d6f04[_0x19e2f6(0x1ba)];}catch(_0x26e31a){return this[_0x19e2f6(0x3c1)][_0x19e2f6(0x1ba)](_0x26e31a),this[_0x19e2f6(0x34d)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x440d83(0x2b3)](){var _0x1fa49e=_0x440d83;throw new Error(_0x1fa49e(0x3e5));}['onRemoteRetry'](){return this;}[_0x440d83(0x35f)](){var _0x47f411=_0x440d83;return this[_0x47f411(0x521)](),this[_0x47f411(0x3aa)][_0x47f411(0x4dc)](exports[_0x47f411(0x2b6)],this[_0x47f411(0x2db)],this[_0x47f411(0x218)],null,this['_pendingMutations'],this[_0x47f411(0x3d1)]);}[_0x440d83(0x3c6)](){return this;}[_0x440d83(0x40a)](_0x2b4380){var _0x474c32=_0x440d83;const _0x5cfa38=_0x2b4380!=null?_0x2b4380:this['_getSendChangesetTimeout']();this[_0x474c32(0x371)]=new Date()[_0x474c32(0x2f1)]()+_0x5cfa38,this[_0x474c32(0x493)]=setTimeout(()=>{var _0x4e1aea=_0x474c32;this['_clearScheduledTask']();let _0x3b3b9c=null;switch(this['type']){case X[_0x4e1aea(0x45e)]:{_0x3b3b9c=ze(this[_0x4e1aea(0x43a)],this[_0x4e1aea(0x2db)],this[_0x4e1aea(0x2fe)],this['_revisionService'],this[_0x4e1aea(0x3b6)]);break;}case X['UNIVER_DOC']:{this['_pendingMutations'][_0x4e1aea(0x242)](_0x5b73c1=>_0x5b73c1['id']===ut[_0x4e1aea(0x4f2)]['id'])?_0x3b3b9c=mi(this[_0x4e1aea(0x43a)],this[_0x4e1aea(0x2db)],this[_0x4e1aea(0x2fe)],this[_0x4e1aea(0x42b)],this[_0x4e1aea(0x3b6)]):_0x3b3b9c=ze(this[_0x4e1aea(0x43a)],this[_0x4e1aea(0x2db)],this[_0x4e1aea(0x2fe)],this[_0x4e1aea(0x42b)],this['_memberService']);break;}default:throw new Error(_0x4e1aea(0x326)+this['type']+_0x4e1aea(0x443));}const {changeset:_0x5b94e5,pendingMutations:_0x210fcd}=_0x3b3b9c;this[_0x4e1aea(0x3d1)][_0x4e1aea(0x1ea)](_0x5b94e5);const _0x304c97=_0x210fcd[_0x4e1aea(0x3f7)]?this['_injector'][_0x4e1aea(0x4dc)](exports[_0x4e1aea(0x2c0)],this[_0x4e1aea(0x2db)],this[_0x4e1aea(0x218)],_0x5b94e5,_0x210fcd,this[_0x4e1aea(0x3d1)],void 0x0):this[_0x4e1aea(0x3aa)][_0x4e1aea(0x4dc)](exports[_0x4e1aea(0x473)],this['unitID'],this[_0x4e1aea(0x218)],_0x5b94e5,this[_0x4e1aea(0x3d1)]);_0x304c97[_0x4e1aea(0x1d7)](),this[_0x4e1aea(0x3d1)][_0x4e1aea(0x1fb)](this,_0x304c97);},_0x5cfa38);}[_0x440d83(0x520)](){var _0x4389ea=_0x440d83,_0x5837b9;const _0x1a725a=this['_configService']['getConfig'](Y);return(_0x5837b9=_0x1a725a==null?void 0x0:_0x1a725a[_0x4389ea(0x2e6)])!=null?_0x5837b9:jt;}[_0x440d83(0x1f8)](){var _0x5c141f=_0x440d83;throw new Error(_0x5c141f(0x48c));}[_0x440d83(0x521)](){var _0x34a80e=_0x440d83;this[_0x34a80e(0x493)]!=null&&(clearTimeout(this[_0x34a80e(0x493)]),this[_0x34a80e(0x493)]=null);}[_0x440d83(0x34d)](_0x3e5ec1){var _0x479be9=_0x440d83;return this[_0x479be9(0x521)](),this[_0x479be9(0x3aa)][_0x479be9(0x4dc)](exports[_0x479be9(0x504)],this[_0x479be9(0x2db)],this[_0x479be9(0x218)],null,this[_0x479be9(0x43a)],this[_0x479be9(0x3d1)],_0x3e5ec1);}},exports['PendingState']=ce([w(0x4,a[_0x440d83(0x202)](a['Injector'])),w(0x5,a[_0x440d83(0x202)](g[_0x440d83(0x484)])),w(0x6,a['Inject'](exports[_0x440d83(0x3c0)])),w(0x7,a['ILogService']),w(0x8,a[_0x440d83(0x404)]),w(0x9,a['IConfigService']),w(0xa,g[_0x440d83(0x2c4)]),w(0xb,a['IUniverInstanceService']),w(0xc,a[_0x440d83(0x488)]),w(0xd,a['Optional'](z))],exports['PendingState']),exports[_0x440d83(0x473)]=class extends he{constructor(_0x1cf246,_0x56fd69,_0x3cee19,_0x38c8a6,_0x2894f1,_0x46e0bc,_0x107e97,_0x2c63c9,_0x29a23f,_0x2f94cc,_0x2cc93b){var _0x1acc95=_0x440d83;super(_0x1cf246,_0x56fd69,_0x3cee19,[],_0x38c8a6,_0x107e97,_0x2f94cc,_0x46e0bc,_0x2cc93b),A(this,_0x1acc95(0x2cd),'awaiting'),A(this,_0x1acc95(0x2eb),0x0),A(this,'_resendTimer'),A(this,_0x1acc95(0x1cb)),(this[_0x1acc95(0x3aa)]=_0x2894f1,this[_0x1acc95(0x3c1)]=_0x2c63c9,this[_0x1acc95(0x503)]=_0x29a23f);}['appendMutation'](_0x1817ae){var _0x111a32=_0x440d83;this['_clearScheduledTask']();const _0x21cdcb=this[_0x111a32(0x3aa)][_0x111a32(0x4dc)](exports[_0x111a32(0x2c0)],this[_0x111a32(0x2db)],this[_0x111a32(0x218)],this[_0x111a32(0x223)],[_0x1817ae],this[_0x111a32(0x3d1)],this[_0x111a32(0x48d)]);return _0x21cdcb[_0x111a32(0x1d7)](),_0x21cdcb;}[_0x440d83(0x381)](_0xd8081){var _0x359f82=_0x440d83;if(this['_checkMissing'](_0xd8081))return this[_0x359f82(0x521)](),this[_0x359f82(0x3aa)][_0x359f82(0x4dc)](exports[_0x359f82(0x512)],this[_0x359f82(0x2db)],this[_0x359f82(0x218)],this[_0x359f82(0x223)],[],null,[_0xd8081],this[_0x359f82(0x3d1)]);try{const _0x28cf88=this[_0x359f82(0x503)]['transformChangesets']([_0xd8081],[this[_0x359f82(0x223)]],!0x1);if(g[_0x359f82(0x201)](_0x28cf88)){const {c1Prime:_0x56ee8f,c2Prime:_0x481449}=_0x28cf88;this[_0x359f82(0x46e)](_0x56ee8f[0x0]),_0x481449[0x0][_0x359f82(0x33b)]=this[_0x359f82(0x3af)](),this[_0x359f82(0x521)]();const _0x9011f=this[_0x359f82(0x3aa)][_0x359f82(0x4dc)](exports[_0x359f82(0x473)],this[_0x359f82(0x2db)],this[_0x359f82(0x218)],_0x481449[0x0],this[_0x359f82(0x3d1)]);return _0x9011f[_0x359f82(0x1d7)](),_0x9011f;}return this['_onConflict'](!0x1);}catch(_0x5cbe6e){return this[_0x359f82(0x3c1)][_0x359f82(0x1ba)](_0x5cbe6e),this[_0x359f82(0x34d)](!0x1);}}[_0x440d83(0x40d)](_0x899c72){var _0xcf4618=_0x440d83;this[_0xcf4618(0x521)]();const _0x32f3f3=this[_0xcf4618(0x42b)][_0xcf4618(0x355)](this[_0xcf4618(0x2db)]);if(_0x899c72[_0xcf4618(0x32e)]<_0x32f3f3-0x1)return this;if(this[_0xcf4618(0x1dd)](_0x899c72))return this[_0xcf4618(0x3aa)][_0xcf4618(0x4dc)](exports[_0xcf4618(0x512)],this['unitID'],this[_0xcf4618(0x218)],null,[],this[_0xcf4618(0x223)],[],this['_handler']);this[_0xcf4618(0x4d3)]();const _0x1a74e0=this['_injector'][_0xcf4618(0x4dc)](exports['SyncedState'],this[_0xcf4618(0x2db)],this[_0xcf4618(0x218)],this[_0xcf4618(0x3d1)]);return _0x1a74e0[_0xcf4618(0x1d7)](),_0x1a74e0;}[_0x440d83(0x2b3)](_0x9378d5){var _0x1b4ee4=_0x440d83;return this[_0x1b4ee4(0x34d)](!!(_0x9378d5!=null&&_0x9378d5[_0x1b4ee4(0x447)]));}['onRemoteRetry'](_0x4ced51){var _0xaf6d1a=_0x440d83;return this[_0xaf6d1a(0x2eb)]>Nt?this[_0xaf6d1a(0x35f)]():(this[_0xaf6d1a(0x48d)]=Ot(this[_0xaf6d1a(0x2eb)],{'timeout':this[_0xaf6d1a(0x2eb)],'reqId':_0x4ced51[_0xaf6d1a(0x325)]}),this[_0xaf6d1a(0x1cb)]=this['_resendTimer'][_0xaf6d1a(0x2e4)](({reqId:_0x52fd3f,timeout:_0x55986d})=>{this['_resendWithTimeout'](_0x52fd3f,_0x55986d);}),this);}[_0x440d83(0x35f)](){var _0x42ccb8=_0x440d83;return this[_0x42ccb8(0x521)](),this[_0x42ccb8(0x3aa)][_0x42ccb8(0x4dc)](exports[_0x42ccb8(0x2b6)],this[_0x42ccb8(0x2db)],this[_0x42ccb8(0x218)],this[_0x42ccb8(0x223)],[],this[_0x42ccb8(0x3d1)]);}['toggleOnline'](){return this;}['resend'](){var _0x2dba30=_0x440d83;this[_0x2dba30(0x3d1)][_0x2dba30(0x1ea)](this['_awaitingChangeset']);}[_0x440d83(0x34d)](_0x2e89b7){var _0x254ddc=_0x440d83;return this[_0x254ddc(0x521)](),this[_0x254ddc(0x3aa)][_0x254ddc(0x4dc)](exports['ConflictState'],this[_0x254ddc(0x2db)],this['type'],this[_0x254ddc(0x223)],[],this['_handler'],_0x2e89b7);}[_0x440d83(0x413)](_0x343bd6,_0x41e012){var _0x12b497=_0x440d83,_0x592421;_0x343bd6===((_0x592421=this[_0x12b497(0x223)])==null?void 0x0:_0x592421[_0x12b497(0x325)])&&(this[_0x12b497(0x1f8)](),this['_resendTimeout']=_0x41e012===0x0?0x3e8:_0x41e012*0x2);}['_clearScheduledTask'](){var _0x2bca97=_0x440d83,_0xf96531;(_0xf96531=this[_0x2bca97(0x1cb)])==null||_0xf96531['unsubscribe'](),this[_0x2bca97(0x2eb)]=0x0;}},exports[_0x440d83(0x473)]=ce([w(0x4,a[_0x440d83(0x202)](a[_0x440d83(0x2f4)])),w(0x5,a[_0x440d83(0x202)](g[_0x440d83(0x484)])),w(0x6,a[_0x440d83(0x404)]),w(0x7,a[_0x440d83(0x427)]),w(0x8,g[_0x440d83(0x2c4)]),w(0x9,a[_0x440d83(0x488)]),w(0xa,a['Optional'](z))],exports[_0x440d83(0x473)]),exports[_0x440d83(0x2c0)]=class extends he{constructor(_0x56a859,_0xe63df6,_0x443796,_0x5888fb,_0x258707,_0x1291a7,_0x2bf6f2,_0x25838a,_0xf9a2c5,_0x403012,_0x2d059d,_0x1929b4,_0x57a46f){var _0x723fe0=_0x440d83;super(_0x56a859,_0xe63df6,_0x443796,_0x5888fb,_0x258707,_0xf9a2c5,_0x1929b4,_0x25838a,_0x57a46f),A(this,_0x723fe0(0x2cd),'awaiting_with_pending'),A(this,_0x723fe0(0x2eb),0x0),A(this,_0x723fe0(0x48d)),A(this,'_sender'),(this['_injector']=_0x2bf6f2,this[_0x723fe0(0x3c1)]=_0x403012,this['_transformService']=_0x2d059d,this[_0x723fe0(0x2a4)]=_0x57a46f,_0x1291a7&&(this[_0x723fe0(0x48d)]=_0x1291a7,this[_0x723fe0(0x1cb)]=this[_0x723fe0(0x48d)][_0x723fe0(0x2e4)](({reqId:_0x30c674,timeout:_0x591400})=>{var _0x32e657=_0x723fe0;this[_0x32e657(0x413)](_0x30c674,_0x591400);})));}['appendMutation'](_0x23f68b){var _0xb28c4=_0x440d83;return this[_0xb28c4(0x43a)][_0xb28c4(0x45f)](_0x23f68b),this;}['onRemoteChangeset'](_0x185468){var _0x2f8668=_0x440d83;if(this[_0x2f8668(0x1dd)](_0x185468))return this['_clearScheduledTask'](),this[_0x2f8668(0x3aa)][_0x2f8668(0x4dc)](exports[_0x2f8668(0x512)],this['unitID'],this[_0x2f8668(0x218)],this['_awaitingChangeset'],this[_0x2f8668(0x43a)],null,[_0x185468],this['_handler']);try{const _0x52572e=this[_0x2f8668(0x503)][_0x2f8668(0x4ee)]([_0x185468],[this[_0x2f8668(0x223)]],!0x1);if(g[_0x2f8668(0x201)](_0x52572e)){const {c1Prime:_0x2b1d4e,c2Prime:_0x2ad5c6}=_0x52572e,_0x8340f2=this[_0x2f8668(0x503)]['transformMutationsWithChangeset'](_0x2b1d4e[0x0],this['_pendingMutations']);if(g['isTransformMutationsWithChangesetSuccess'](_0x8340f2)){const {c1Prime:_0x3b0c8b,m2Prime:_0xac4a0a}=_0x8340f2;return this[_0x2f8668(0x46e)](_0x3b0c8b),_0x2ad5c6[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x2f8668(0x521)](),this[_0x2f8668(0x3aa)][_0x2f8668(0x4dc)](exports[_0x2f8668(0x2c0)],this[_0x2f8668(0x2db)],this[_0x2f8668(0x218)],_0x2ad5c6[0x0],_0xac4a0a,this[_0x2f8668(0x3d1)],void 0x0);}throw _0x8340f2[_0x2f8668(0x1ba)];}throw _0x52572e['error'];}catch(_0x1b685c){return this[_0x2f8668(0x3c1)]['error'](_0x1b685c),this[_0x2f8668(0x34d)](!0x1);}}[_0x440d83(0x40d)](_0x48c2a1){var _0xea898=_0x440d83;if(this[_0xea898(0x521)](),this['_checkMissing'](_0x48c2a1))return this[_0xea898(0x3aa)][_0xea898(0x4dc)](exports[_0xea898(0x512)],this['unitID'],this[_0xea898(0x218)],null,this[_0xea898(0x43a)],this[_0xea898(0x223)],[],this[_0xea898(0x3d1)]);this[_0xea898(0x4d3)]();const _0x258159=this[_0xea898(0x3aa)][_0xea898(0x4dc)](exports['PendingState'],this[_0xea898(0x2db)],this[_0xea898(0x218)],this[_0xea898(0x43a)],this[_0xea898(0x3d1)]);return _0x258159[_0xea898(0x40a)](),_0x258159['_updateLocalCache'](),_0x258159;}['onRemoteRej'](_0x6a3c7b){var _0x225f30=_0x440d83;return this['_onConflict'](!!(_0x6a3c7b!=null&&_0x6a3c7b[_0x225f30(0x447)]));}[_0x440d83(0x3ad)](_0x212d9a){var _0x1e60b5=_0x440d83;return this[_0x1e60b5(0x2eb)]>Nt?this[_0x1e60b5(0x35f)]():(this[_0x1e60b5(0x48d)]=Ot(this[_0x1e60b5(0x2eb)],{'timeout':this['_resendTimeout'],'reqId':_0x212d9a[_0x1e60b5(0x325)]}),this[_0x1e60b5(0x1cb)]=this[_0x1e60b5(0x48d)]['subscribe'](({reqId:_0x2ef5c1,timeout:_0x507d33})=>{var _0x4c0952=_0x1e60b5;this[_0x4c0952(0x413)](_0x2ef5c1,_0x507d33);}),this);}[_0x440d83(0x35f)](){var _0x272deb=_0x440d83;return this[_0x272deb(0x521)](),this['_injector']['createInstance'](exports['OfflineState'],this[_0x272deb(0x2db)],this[_0x272deb(0x218)],this['_awaitingChangeset'],this[_0x272deb(0x43a)],this[_0x272deb(0x3d1)]);}[_0x440d83(0x3c6)](){return this;}['resend'](){var _0x1064e9=_0x440d83;this[_0x1064e9(0x3d1)][_0x1064e9(0x1ea)](this[_0x1064e9(0x223)]);}[_0x440d83(0x34d)](_0x68db45){var _0x4a4936=_0x440d83;return this[_0x4a4936(0x521)](),this[_0x4a4936(0x3aa)][_0x4a4936(0x4dc)](exports[_0x4a4936(0x504)],this[_0x4a4936(0x2db)],this[_0x4a4936(0x218)],null,this[_0x4a4936(0x43a)],this[_0x4a4936(0x3d1)],_0x68db45);}[_0x440d83(0x413)](_0x4d0a38,_0x57a2aa){var _0x132745=_0x440d83,_0x2aeeba;_0x4d0a38===((_0x2aeeba=this[_0x132745(0x223)])==null?void 0x0:_0x2aeeba[_0x132745(0x325)])&&(this[_0x132745(0x1f8)](),this['_resendTimeout']=_0x57a2aa===0x0?0x3e8:_0x57a2aa*0x2);}[_0x440d83(0x521)](){var _0x52d326=_0x440d83,_0xeaefc8;(_0xeaefc8=this[_0x52d326(0x1cb)])==null||_0xeaefc8[_0x52d326(0x2de)](),this[_0x52d326(0x2eb)]=0x0;}},exports[_0x440d83(0x2c0)]=ce([w(0x6,a[_0x440d83(0x202)](a[_0x440d83(0x2f4)])),w(0x7,a[_0x440d83(0x202)](g[_0x440d83(0x484)])),w(0x8,a[_0x440d83(0x404)]),w(0x9,a[_0x440d83(0x427)]),w(0xa,g['ITransformService']),w(0xb,a[_0x440d83(0x488)]),w(0xc,a[_0x440d83(0x4fb)](z))],exports[_0x440d83(0x2c0)]),exports[_0x440d83(0x504)]=class extends he{constructor(_0x4976a2,_0x300c8d,_0x790668,_0xcf0e89,_0x5c1e83,_0x5ce3cb=!0x1,_0x20adab,_0x4ddf44,_0x481261,_0x370a4c,_0x373070,_0x1ffcdf,_0x163f2a){var _0x2012e0=_0x440d83;super(_0x4976a2,_0x300c8d,_0x790668,_0xcf0e89,_0x5c1e83,_0x4ddf44,_0x481261,_0x370a4c,_0x163f2a),A(this,_0x2012e0(0x2cd),_0x2012e0(0x45b)),(this[_0x2012e0(0x41c)]=_0x5ce3cb,this[_0x2012e0(0x1d5)]=_0x20adab,this[_0x2012e0(0x49c)]=_0x373070,this[_0x2012e0(0x4c1)]=_0x1ffcdf,this[_0x2012e0(0x2a4)]=_0x163f2a,this[_0x2012e0(0x297)](),this[_0x2012e0(0x3cf)](),this['_disableEditing']());}[_0x440d83(0x471)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x440d83(0x3ad)](){return this;}[_0x440d83(0x35f)](){return this;}[_0x440d83(0x3c6)](){return this;}[_0x440d83(0x1f8)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x1733d4=_0x440d83,_0x5e549b;(_0x5e549b=this[_0x1733d4(0x380)])==null||_0x5e549b[_0x1733d4(0x41f)](this[_0x1733d4(0x2db)],this[_0x1733d4(0x218)],null,[]);}[_0x440d83(0x297)](){var _0x26abfd=_0x440d83;this[_0x26abfd(0x41c)]?this[_0x26abfd(0x4c1)][_0x26abfd(0x4db)]({'id':Q[_0x26abfd(0x50f)]}):this[_0x26abfd(0x4c1)]['emitEvent']({'id':Q['CONFLICT']});}[_0x440d83(0x3fe)](){var _0x2d60f7=_0x440d83;this['_permissionService'][_0x2d60f7(0x29e)](new Z['WorkbookEditablePermission'](this[_0x2d60f7(0x2db)])['id'],!0x1);}},exports[_0x440d83(0x504)]=ce([w(0x6,a[_0x440d83(0x202)](a['IPermissionService'])),w(0x7,a[_0x440d83(0x404)]),w(0x8,a[_0x440d83(0x488)]),w(0x9,a[_0x440d83(0x202)](g[_0x440d83(0x484)])),w(0xa,a['Inject'](a['LocaleService'])),w(0xb,a[_0x440d83(0x202)](te)),w(0xc,a[_0x440d83(0x4fb)](z))],exports['ConflictState']),exports[_0x440d83(0x2b6)]=class extends he{constructor(_0x6a66fe,_0x1576cc,_0x5224c9,_0x5e68f1,_0x4f3f75,_0xab0757,_0x2ac024,_0x4a7117,_0x22055c,_0x3b7612){var _0x432d07=_0x440d83;super(_0x6a66fe,_0x1576cc,_0x5224c9,_0x5e68f1,_0x4f3f75,_0x4a7117,_0x22055c,_0x2ac024,_0x3b7612),A(this,_0x432d07(0x2cd),'offline'),this[_0x432d07(0x3aa)]=_0xab0757;}[_0x440d83(0x471)](_0x195b7f){var _0x24ba6d=_0x440d83;return this[_0x24ba6d(0x43a)][_0x24ba6d(0x45f)](_0x195b7f),this['_updateLocalCache'](),this;}[_0x440d83(0x381)](_0x5e6e74){var _0x2d5699=_0x440d83;throw new Error(_0x2d5699(0x296));}[_0x440d83(0x40d)](){var _0x1e107e=_0x440d83;throw new Error(_0x1e107e(0x234));}[_0x440d83(0x2b3)](){var _0x254311=_0x440d83;throw new Error(_0x254311(0x1b5));}[_0x440d83(0x3ad)](){return this;}['toggleOffline'](){return this;}[_0x440d83(0x3c6)](){var _0x490466=_0x440d83;const {_injector:_0x47be8e,_pendingMutations:_0x1b2afe,_awaitingChangeset:_0x3018db,unitID:_0x9da30b,_handler:_0x120e07,type:_0x5daf2f}=this,_0x1f1d15=Dt(_0x47be8e,_0x9da30b,_0x5daf2f,_0x3018db,_0x1b2afe,_0x120e07);return _0x1f1d15 instanceof exports[_0x490466(0x414)]?_0x1f1d15['_schedule']():(_0x1f1d15 instanceof exports[_0x490466(0x2c0)]||_0x1f1d15 instanceof exports['AwaitingState'])&&_0x1f1d15[_0x490466(0x1f8)](),_0x1f1d15;}[_0x440d83(0x1f8)](){var _0x43561e=_0x440d83;throw new Error(_0x43561e(0x41b));}},exports[_0x440d83(0x2b6)]=ce([w(0x5,a[_0x440d83(0x202)](a[_0x440d83(0x2f4)])),w(0x6,a[_0x440d83(0x202)](g[_0x440d83(0x484)])),w(0x7,a['ICommandService']),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x440d83(0x4fb)](z))],exports['OfflineState']),exports[_0x440d83(0x512)]=class extends he{constructor(_0x1cd683,_0x1b8122,_0x58b45f,_0x98e7a4,_0x3f18ba,_0x897931,_0x3cf014,_0x4a2125,_0x18254d,_0x585227,_0x3e4335,_0x21501a,_0x18487b,_0x3ca6d7){var _0x2f285d=_0x440d83;super(_0x1cd683,_0x1b8122,_0x58b45f,_0x98e7a4,_0x3cf014,_0x3e4335,_0x21501a,_0x18254d,_0x3ca6d7),A(this,'status','fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x3f18ba,this[_0x2f285d(0x4fd)]=_0x897931,this[_0x2f285d(0x3aa)]=_0x4a2125,this[_0x2f285d(0x3c1)]=_0x585227,this[_0x2f285d(0x503)]=_0x18487b,this[_0x2f285d(0x2a4)]=_0x3ca6d7);}['onMissedChangesetFetched'](_0x2eddbc){var _0x32935b=_0x440d83;try{const _0x1fa288=[..._0x2eddbc,...this[_0x32935b(0x4fd)]],_0x368f8e=[this['_awaitingChangeset']||this[_0x32935b(0x4f0)]][_0x32935b(0x3c8)](_0x185322=>!!_0x185322);let _0x1805f1,_0x102431;if(_0x368f8e['length']){const _0x77baea=this[_0x32935b(0x503)][_0x32935b(0x4ee)](_0x1fa288,_0x368f8e,!0x1);if(!g[_0x32935b(0x201)](_0x77baea))throw _0x77baea[_0x32935b(0x1ba)];_0x1805f1=_0x77baea['c1Prime'],_0x102431=_0x77baea['c2Prime'];}else _0x1805f1=_0x1fa288,_0x102431=[];let _0x17193b=this[_0x32935b(0x43a)];_0x1805f1[_0x32935b(0x39f)](_0x43f1ea=>{var _0x2d06f5=_0x32935b;let _0x34eff3;if(_0x17193b[_0x2d06f5(0x3f7)]){const _0x5eb4bb=this[_0x2d06f5(0x503)][_0x2d06f5(0x1cc)](_0x43f1ea,_0x17193b);if(!g[_0x2d06f5(0x21c)](_0x5eb4bb))throw _0x5eb4bb['error'];_0x34eff3=_0x5eb4bb['c1Prime'],_0x17193b=_0x5eb4bb[_0x2d06f5(0x345)];}else _0x34eff3=_0x43f1ea;this[_0x2d06f5(0x46e)](_0x34eff3);}),this[_0x32935b(0x4f0)]&&this[_0x32935b(0x4d3)](),this['_awaitingChangeset']&&_0x102431['length']&&(_0x102431[0x0][_0x32935b(0x33b)]=this[_0x32935b(0x3af)]());let _0x3cad88;if(this[_0x32935b(0x223)]&&_0x17193b[_0x32935b(0x3f7)]!==0x0)_0x3cad88=this[_0x32935b(0x3aa)][_0x32935b(0x4dc)](exports[_0x32935b(0x2c0)],this['unitID'],this[_0x32935b(0x218)],_0x102431[0x0],_0x17193b,this[_0x32935b(0x3d1)],void 0x0);else{if(this[_0x32935b(0x223)]&&_0x17193b[_0x32935b(0x3f7)]===0x0)_0x102431[0x0][_0x32935b(0x33b)]=this[_0x32935b(0x3af)](),_0x3cad88=this[_0x32935b(0x3aa)]['createInstance'](exports[_0x32935b(0x473)],this[_0x32935b(0x2db)],this[_0x32935b(0x218)],_0x102431[0x0],this[_0x32935b(0x3d1)]);else{if(_0x17193b[_0x32935b(0x3f7)]!==0x0){const _0x506442=this[_0x32935b(0x3aa)]['createInstance'](exports['PendingState'],this[_0x32935b(0x2db)],this[_0x32935b(0x218)],_0x17193b,this[_0x32935b(0x3d1)]);_0x506442[_0x32935b(0x40a)](),_0x3cad88=_0x506442;}else _0x3cad88=this['_injector']['createInstance'](exports['SyncedState'],this[_0x32935b(0x2db)],this[_0x32935b(0x218)],this[_0x32935b(0x3d1)]);}}return _0x3cad88['_updateLocalCache'](),_0x3cad88;}catch(_0x27e6d9){return this[_0x32935b(0x3c1)]['error'](_0x32935b(0x34b),_0x32935b(0x37e),_0x27e6d9),this[_0x32935b(0x3aa)]['createInstance'](exports['ConflictState'],this[_0x32935b(0x2db)],this[_0x32935b(0x218)],this[_0x32935b(0x223)],this[_0x32935b(0x43a)],this[_0x32935b(0x3d1)],!0x1);}}[_0x440d83(0x1f8)](){var _0x607beb=_0x440d83;throw new Error(_0x607beb(0x405));}[_0x440d83(0x471)](_0x540284){return this['_pendingMutations']['push'](_0x540284),this;}[_0x440d83(0x381)](_0x232d91){var _0x4c89fc=_0x440d83;return this[_0x4c89fc(0x4fd)][_0x4c89fc(0x45f)](_0x232d91),this;}[_0x440d83(0x40d)](_0x3a7467){var _0xc9d93=_0x440d83;if(this[_0xc9d93(0x223)])return this['_acknowledgedAwaitingChangeset']=this[_0xc9d93(0x223)],this[_0xc9d93(0x223)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x440d83(0x2b3)](_0x30dee3){var _0x40a83d=_0x440d83;return this[_0x40a83d(0x34d)](!!(_0x30dee3!=null&&_0x30dee3['isPermissionRej']));}[_0x440d83(0x3ad)](){return this;}[_0x440d83(0x35f)](){var _0x4fac74=_0x440d83;return this[_0x4fac74(0x3aa)][_0x4fac74(0x4dc)](exports['OfflineState'],this[_0x4fac74(0x2db)],this[_0x4fac74(0x218)],this[_0x4fac74(0x223)],this[_0x4fac74(0x43a)],this['_handler']);}[_0x440d83(0x3c6)](){return this;}[_0x440d83(0x34d)](_0x11460c){var _0x5e7e56=_0x440d83;return this[_0x5e7e56(0x3aa)][_0x5e7e56(0x4dc)](exports[_0x5e7e56(0x504)],this[_0x5e7e56(0x2db)],this[_0x5e7e56(0x218)],this['_awaitingChangeset'],this[_0x5e7e56(0x43a)],this[_0x5e7e56(0x3d1)],_0x11460c);}},exports['FetchingMissState']=ce([w(0x7,a[_0x440d83(0x202)](a[_0x440d83(0x2f4)])),w(0x8,a[_0x440d83(0x202)](g[_0x440d83(0x484)])),w(0x9,a['ILogService']),w(0xa,a['ICommandService']),w(0xb,a[_0x440d83(0x488)]),w(0xc,g['ITransformService']),w(0xd,a[_0x440d83(0x4fb)](z))],exports[_0x440d83(0x512)]);function Dt(_0x4f4471,_0x55c098,_0x6c09c7,_0x2bbcca,_0x1d23b5,_0x125978){var _0x173f46=_0x440d83;return _0x2bbcca&&_0x1d23b5[_0x173f46(0x3f7)]?_0x4f4471[_0x173f46(0x4dc)](exports[_0x173f46(0x2c0)],_0x55c098,_0x6c09c7,_0x2bbcca,_0x1d23b5,_0x125978,void 0x0):_0x2bbcca?_0x4f4471[_0x173f46(0x4dc)](exports[_0x173f46(0x473)],_0x55c098,_0x6c09c7,_0x2bbcca,_0x125978):_0x1d23b5[_0x173f46(0x3f7)]?_0x4f4471[_0x173f46(0x4dc)](exports[_0x173f46(0x414)],_0x55c098,_0x6c09c7,_0x1d23b5,_0x125978):_0x4f4471[_0x173f46(0x4dc)](exports[_0x173f46(0x425)],_0x55c098,_0x6c09c7,_0x125978);}var Ci=Object[_0x440d83(0x4a6)],We=(_0x14cbba,_0x587168,_0xbbaef0,_0x3a52bc)=>{var _0x8a02f7=_0x440d83;for(var _0x3b04d0=_0x3a52bc>0x1?void 0x0:_0x3a52bc?Ci(_0x587168,_0xbbaef0):_0x587168,_0x20a74f=_0x14cbba[_0x8a02f7(0x3f7)]-0x1,_0x506ea1;_0x20a74f>=0x0;_0x20a74f--)(_0x506ea1=_0x14cbba[_0x20a74f])&&(_0x3b04d0=_0x506ea1(_0x3b04d0)||_0x3b04d0);return _0x3b04d0;},$=(_0x155e22,_0x4c109f)=>(_0x10bd68,_0x1e3da6)=>_0x4c109f(_0x10bd68,_0x1e3da6,_0x155e22);exports[_0x440d83(0x233)]=class extends a[_0x440d83(0x444)]{constructor(_0x3a80bd,_0x1c336d,_0x56047c,_0x312a1a,_0x4508d7,_0x57ebb5,_0x428159,_0x306ca2,_0x32fa16,_0x369c65,_0x6006a9,_0x130b04,_0x3d3b6d){var _0x3bc0cb=_0x440d83;super(),A(this,_0x3bc0cb(0x29a),new j[(_0x3bc0cb(0x3d2))](null)),A(this,'state$',this[_0x3bc0cb(0x29a)][_0x3bc0cb(0x205)]()),A(this,_0x3bc0cb(0x47f)),A(this,_0x3bc0cb(0x258),!0x1),A(this,_0x3bc0cb(0x403),''),A(this,_0x3bc0cb(0x44f),0x0),A(this,'status$',this['state$'][_0x3bc0cb(0x34f)](j[_0x3bc0cb(0x341)](_0x330742=>_0x330742?_0x330742[_0x3bc0cb(0x2cd)]:Ve['OFFLINE']),j[_0x3bc0cb(0x432)](0x1))),A(this,'_transitionLocked',!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x3bc0cb(0x2db)]=_0x3a80bd,this[_0x3bc0cb(0x51a)]=_0x1c336d,this[_0x3bc0cb(0x277)]=_0x56047c,this[_0x3bc0cb(0x3aa)]=_0x312a1a,this[_0x3bc0cb(0x1e7)]=_0x4508d7,this[_0x3bc0cb(0x49c)]=_0x57ebb5,this[_0x3bc0cb(0x42b)]=_0x428159,this[_0x3bc0cb(0x516)]=_0x306ca2,this[_0x3bc0cb(0x3c1)]=_0x32fa16,this[_0x3bc0cb(0x4f6)]=_0x369c65,this[_0x3bc0cb(0x1d5)]=_0x6006a9,this[_0x3bc0cb(0x392)]=_0x130b04,this[_0x3bc0cb(0x380)]=_0x3d3b6d);}get['state'](){return this['_state'];}async['init'](){var _0x32e42f=_0x440d83;if(this['state'])throw new Error(_0x32e42f(0x1ad));await this['_init']();}[_0x440d83(0x3e8)](){var _0x2957be=_0x440d83;return this[_0x2957be(0x258)]=!0x0,a[_0x2957be(0x266)](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x440d83(0x250)](_0x5dc754){var _0x497224=_0x440d83;this[_0x497224(0x28c)](_0x5dc754);}[_0x440d83(0x2c3)](_0x528085){var _0x4354d7=_0x440d83;this[_0x4354d7(0x47f)]=_0x528085,this['_state$'][_0x4354d7(0x500)](_0x528085);}async[_0x440d83(0x459)](){var _0x330525=_0x440d83,_0x465a23;this[_0x330525(0x2c3)](await this[_0x330525(0x4a4)]()),this[_0x330525(0x392)]&&((_0x465a23=this[_0x330525(0x392)])==null||_0x465a23['editingUnit'](this[_0x330525(0x2db)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x330525(0x45a)](this[_0x330525(0x2db)])[_0x330525(0x2e4)](_0x4a473e=>{var _0x5bd5f9=_0x330525;this[_0x5bd5f9(0x3c1)]['debug']('[CollaborationEntity]',_0x5bd5f9(0x4e4),_0x4a473e),_0x4a473e===Fe[_0x5bd5f9(0x1d8)]?(this[_0x5bd5f9(0x516)][_0x5bd5f9(0x4db)]({'id':Q[_0x5bd5f9(0x3e0)]}),this[_0x5bd5f9(0x1d5)][_0x5bd5f9(0x29e)](new Z[(_0x5bd5f9(0x215))](this[_0x5bd5f9(0x2db)])['id'],!0x1),this[_0x5bd5f9(0x1d5)][_0x5bd5f9(0x263)](!0x1)):(this[_0x5bd5f9(0x1d5)][_0x5bd5f9(0x29e)](new Z[(_0x5bd5f9(0x215))](this[_0x5bd5f9(0x2db)])['id'],!0x0),this[_0x5bd5f9(0x1d5)][_0x5bd5f9(0x263)](!0x0));})));let _0x31aa01=!0x1;return this['disposeWithMe'](this[_0x330525(0x51a)]['sessionStatus$'][_0x330525(0x2e4)](_0x29a54f=>{var _0x14ad50=_0x330525;_0x29a54f===se['ONLINE']?this[_0x14ad50(0x2ad)](_0x31aa01):_0x29a54f===se[_0x14ad50(0x502)]&&(_0x31aa01=!0x0,this[_0x14ad50(0x40c)]());})),this['disposeWithMe'](this[_0x330525(0x51a)][_0x330525(0x400)][_0x330525(0x2e4)](_0x23c730=>{var _0x1e5808=_0x330525;try{switch(_0x23c730[_0x1e5808(0x23b)]){case g[_0x1e5808(0x274)][_0x1e5808(0x36b)]:{this[_0x1e5808(0x38b)](g[_0x1e5808(0x1af)](_0x23c730[_0x1e5808(0x279)]));break;}case g['CollaborationEvent']['CHANGESET_ACK']:{this[_0x1e5808(0x4f7)](_0x23c730['data']);break;}case g[_0x1e5808(0x274)][_0x1e5808(0x45d)]:{this[_0x1e5808(0x37c)]();break;}case g['CollaborationEvent'][_0x1e5808(0x4d0)]:{this['_onRemoteRetry'](_0x23c730[_0x1e5808(0x279)]);break;}case g['CollaborationEvent'][_0x1e5808(0x2bd)]:{this[_0x1e5808(0x31d)](_0x23c730[_0x1e5808(0x279)][_0x1e5808(0x1fc)][_0x1e5808(0x341)](_0xe589cd=>g[_0x1e5808(0x1af)](_0xe589cd)));break;}case g[_0x1e5808(0x274)][_0x1e5808(0x23c)]:{this[_0x1e5808(0x37c)]({'isPermissionRej':!0x0});break;}case g[_0x1e5808(0x274)][_0x1e5808(0x3fc)]:break;}}catch(_0x450d5){throw console['error'](_0x1e5808(0x20c),_0x450d5),_0x450d5;}})),this['_state'];}[_0x440d83(0x1bf)](){this['_transitionLocked']=!0x1;}[_0x440d83(0x290)](){var _0x1484ac=_0x440d83;if(this['_transitionLocked'])throw new Error(_0x1484ac(0x2c8));this[_0x1484ac(0x23f)]=!0x0;}['_onLocalMutation'](_0x3cb3c1){var _0xc3ecec=_0x440d83;this[_0xc3ecec(0x290)](),this[_0xc3ecec(0x2c3)](this[_0xc3ecec(0x47f)][_0xc3ecec(0x471)](_0x3cb3c1)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x5e219a){var _0x14b01e=_0x440d83;if(!(_0x5e219a[_0x14b01e(0x32e)]<=this['_revisionService'][_0x14b01e(0x355)](this[_0x14b01e(0x2db)]))){if(this['_collaborationPaused']){this[_0x14b01e(0x393)][_0x14b01e(0x45f)](_0x5e219a);return;}this['_applyRemoteChangeset'](_0x5e219a);}}['_exhaustRemoteChangesetQueue'](){var _0x476eb5=_0x440d83;this[_0x476eb5(0x393)][_0x476eb5(0x39f)](_0x4033b2=>this[_0x476eb5(0x32c)](_0x4033b2)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x589669){var _0x54058d=_0x440d83;const _0x364a17=this[_0x54058d(0x1e7)][_0x54058d(0x36e)][_0x54058d(0x1c7)](this[_0x54058d(0x1e7)][_0x54058d(0x36e)]['getInterceptPoints']()[_0x54058d(0x368)])(_0x589669['mutations'],null)||_0x589669['mutations'],_0x36eb00={..._0x589669,'mutations':_0x364a17};this[_0x54058d(0x290)](),this['_updateState'](this[_0x54058d(0x47f)]['onRemoteChangeset'](_0x36eb00)),this[_0x54058d(0x1bf)]();}[_0x440d83(0x4f7)](_0x6f5643){var _0x1234e2=_0x440d83;this[_0x1234e2(0x290)](),this[_0x1234e2(0x2c3)](this[_0x1234e2(0x47f)][_0x1234e2(0x40d)](_0x6f5643)),this['_unlockTransition']();}[_0x440d83(0x37c)](_0x23da94){var _0x11ccfd=_0x440d83;this[_0x11ccfd(0x290)](),this[_0x11ccfd(0x2c3)](this[_0x11ccfd(0x47f)][_0x11ccfd(0x2b3)](_0x23da94)),this['_unlockTransition']();}[_0x440d83(0x230)](_0x18d303){var _0x31076c=_0x440d83;this[_0x31076c(0x290)](),this[_0x31076c(0x2c3)](this[_0x31076c(0x47f)][_0x31076c(0x3ad)](_0x18d303)),this[_0x31076c(0x1bf)]();}['_onFetchMissResult'](_0x47248a){var _0x514ffc=_0x440d83;if(!(this['_state']instanceof exports[_0x514ffc(0x512)]))throw new TypeError(_0x514ffc(0x4fe));const _0x508688=_0x47248a[_0x514ffc(0x341)](_0x241697=>{var _0x2cbba6=_0x514ffc;const _0x583b44=this[_0x2cbba6(0x1e7)][_0x2cbba6(0x36e)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x2cbba6(0x368)])(_0x241697['mutations'],null)||_0x241697[_0x2cbba6(0x4f9)];return{..._0x241697,'mutations':_0x583b44};});this[_0x514ffc(0x290)](),this[_0x514ffc(0x2c3)](this[_0x514ffc(0x47f)][_0x514ffc(0x48f)](_0x508688)),this['_unlockTransition']();}[_0x440d83(0x40c)](){var _0x3383e4=_0x440d83;this[_0x3383e4(0x290)](),this[_0x3383e4(0x2c3)](this['_state'][_0x3383e4(0x35f)]()),this[_0x3383e4(0x1bf)]();}['_toggleOnline'](_0x25b107=!0x1){var _0x1310d7=_0x440d83;this['_lockTransition'](),this[_0x1310d7(0x2c3)](this[_0x1310d7(0x47f)]['toggleOnline']()),this[_0x1310d7(0x1bf)]();const _0x319127=this['_state'];_0x25b107&&_0x319127 instanceof exports[_0x1310d7(0x425)]&&(this[_0x1310d7(0x290)](),this['_updateState'](_0x319127['fetchMiss']()),this[_0x1310d7(0x1bf)]());}async['_createInitialState'](){return new Promise(_0x5cf715=>{var _0x160a85=_0x8679;this[_0x160a85(0x51a)][_0x160a85(0x3a6)][_0x160a85(0x34f)](j[_0x160a85(0x2cc)](0x1))[_0x160a85(0x2e4)](async _0x4955c2=>{var _0x25f0ef=_0x160a85;_0x5cf715(await this[_0x25f0ef(0x2b1)](_0x4955c2===se[_0x25f0ef(0x452)]));});});}['_createHandler'](){var _0x48c75=_0x440d83;const _0x5db3a0=this[_0x48c75(0x2db)];return{'onStateChange':(_0x417e4c,_0x2dea6e)=>{var _0x139987=_0x48c75;if(_0x417e4c!==this['_state'])throw new Error(_0x139987(0x3f3)+_0x417e4c[_0x139987(0x2cd)]+_0x139987(0x421)+_0x2dea6e[_0x139987(0x2cd)]+'\x0aCurrent:\x20'+this[_0x139987(0x47f)]['status']);this[_0x139987(0x2c3)](_0x2dea6e);},'onSendChangeset':_0x17e444=>{var _0x2ab852=_0x48c75;_0x17e444[_0x2ab852(0x3a1)]||(_0x17e444[_0x2ab852(0x3a1)]=this['_changesetSessionId'],_0x17e444[_0x2ab852(0x325)]=++this[_0x2ab852(0x44f)]);const _0x3de935={'eventID':g[_0x2ab852(0x274)][_0x2ab852(0x315)],'data':{'unitID':_0x17e444[_0x2ab852(0x2db)],'unitType':this[_0x2ab852(0x277)],'changeset':_0x17e444,'memberID':this[_0x2ab852(0x51a)][_0x2ab852(0x3de)]()}};this[_0x2ab852(0x51a)]['send'](_0x3de935,this[_0x2ab852(0x2db)]);},'onMissingChangesets':({from:_0x5b7b05,to:_0x4e9897})=>{var _0x9d4558=_0x48c75;this['_logService'][_0x9d4558(0x4eb)]('[CollaborationEntity]',_0x9d4558(0x418)+_0x5b7b05+_0x9d4558(0x30f)+_0x4e9897);const _0x3a0020={'eventID':g['CollaborationEvent']['FETCH_MISSING'],'data':{'unitID':_0x5db3a0,'unitType':this[_0x9d4558(0x277)],'from':_0x5b7b05,'to':_0x4e9897}};this[_0x9d4558(0x51a)][_0x9d4558(0x1fe)](_0x3a0020,this['unitID']);}};}async['_createInitialStateImpl'](_0x25ad56){var _0x2d3791=_0x440d83,_0x18f6a9,_0x37edc2,_0xf8c15b;const _0x37198e=await((_0x18f6a9=this[_0x2d3791(0x380)])==null?void 0x0:_0x18f6a9[_0x2d3791(0x433)](this[_0x2d3791(0x2db)])),_0x4b59dd=(_0x37edc2=_0x37198e==null?void 0x0:_0x37198e[_0x2d3791(0x4f9)])!=null?_0x37edc2:[],_0x58242d=(_0xf8c15b=_0x37198e==null?void 0x0:_0x37198e[_0x2d3791(0x4ab)])!=null?_0xf8c15b:null,_0x532f0f=!!(_0x58242d!=null&&_0x58242d['sid'])&&!!(_0x58242d!=null&&_0x58242d[_0x2d3791(0x325)]);this[_0x2d3791(0x403)]=_0x532f0f?_0x58242d[_0x2d3791(0x3a1)]:di(),this[_0x2d3791(0x44f)]=_0x532f0f?_0x58242d[_0x2d3791(0x325)]:0x0;const _0x221c74=this[_0x2d3791(0x2db)];try{this[_0x2d3791(0x306)](_0x58242d,_0x4b59dd);}catch(_0x23e69d){this[_0x2d3791(0x3c1)][_0x2d3791(0x1ba)](_0x23e69d);}const _0x346e23=this[_0x2d3791(0x383)]();if(_0x25ad56){const _0x3d2563=Dt(this[_0x2d3791(0x3aa)],_0x221c74,this[_0x2d3791(0x277)],_0x58242d,_0x4b59dd,_0x346e23);return _0x3d2563 instanceof exports[_0x2d3791(0x414)]?_0x3d2563[_0x2d3791(0x40a)]():(_0x3d2563 instanceof exports[_0x2d3791(0x2c0)]||_0x3d2563 instanceof exports[_0x2d3791(0x473)])&&_0x3d2563[_0x2d3791(0x1f8)](),_0x3d2563;}return this[_0x2d3791(0x3aa)][_0x2d3791(0x4dc)](exports['OfflineState'],_0x221c74,this['_type'],_0x58242d,_0x4b59dd,_0x346e23);}[_0x440d83(0x306)](_0x73c017,_0x35da0b){var _0x1b00b6=_0x440d83,_0x420ce3,_0x596fab;const _0x530f47=this[_0x1b00b6(0x1e7)][_0x1b00b6(0x36e)][_0x1b00b6(0x1c7)](this[_0x1b00b6(0x1e7)]['interceptor'][_0x1b00b6(0x4e9)]()[_0x1b00b6(0x368)]);(_0x420ce3=_0x530f47((_0x73c017==null?void 0x0:_0x73c017[_0x1b00b6(0x4f9)])||[],null))==null||_0x420ce3[_0x1b00b6(0x39f)](_0x5a1e8a=>this[_0x1b00b6(0x4f6)]['executeCommand'](_0x5a1e8a['id'],_0x5a1e8a['params'])),(_0x596fab=_0x530f47(_0x35da0b||[],null))==null||_0x596fab[_0x1b00b6(0x39f)](_0x13b1a1=>this['_commandService'][_0x1b00b6(0x4ac)](_0x13b1a1['id'],_0x13b1a1[_0x1b00b6(0x27a)]));}},exports[_0x440d83(0x233)]=We([$(0x3,a[_0x440d83(0x202)](a[_0x440d83(0x2f4)])),$(0x4,a[_0x440d83(0x202)](g[_0x440d83(0x1d3)])),$(0x5,a['Inject'](a[_0x440d83(0x494)])),$(0x6,a[_0x440d83(0x202)](g[_0x440d83(0x484)])),$(0x7,a[_0x440d83(0x202)](te)),$(0x8,a['ILogService']),$(0x9,a[_0x440d83(0x404)]),$(0xa,a[_0x440d83(0x3ff)]),$(0xb,a[_0x440d83(0x4fb)](ve)),$(0xc,a[_0x440d83(0x4fb)](z))],exports[_0x440d83(0x233)]),exports[_0x440d83(0x34e)]=class extends exports[_0x440d83(0x233)]{constructor(_0x4542ea,_0x1e6a19,_0x591083,_0x3946a1,_0x33b1cc,_0x409c15,_0x3566de,_0x3aeb5f,_0x434c68,_0x252148,_0x620624,_0x30c0a8,_0x5aaadb){var _0x3a6c0b=_0x440d83;super(_0x4542ea,_0x591083,_0x1e6a19,_0x3946a1,_0x33b1cc,_0x409c15,_0x3566de,_0x3aeb5f,_0x434c68,_0x252148,_0x620624,_0x30c0a8,_0x5aaadb),A(this,_0x3a6c0b(0x4bb),null),(this[_0x3a6c0b(0x2db)]=_0x4542ea,this['type']=_0x1e6a19);}[_0x440d83(0x20e)](_0x30a1eb){var _0x5d30fa=_0x440d83;this[_0x5d30fa(0x4bb)]=_0x30a1eb;}[_0x440d83(0x362)](){var _0x187feb=_0x440d83;this['_handlerCallback']=null,super[_0x187feb(0x362)]();}['_createHandler'](){var _0x3a647a=_0x440d83;const _0x38e492=super['_createHandler']();return _0x38e492[_0x3a647a(0x285)]=_0xc5b51e=>{var _0x209dbe=_0x3a647a,_0x7df9e7,_0x343f5a;return(_0x343f5a=(_0x7df9e7=this['_handlerCallback'])==null?void 0x0:_0x7df9e7['onTransformIME'])==null?void 0x0:_0x343f5a[_0x209dbe(0x340)](_0x7df9e7,_0xc5b51e);},_0x38e492[_0x3a647a(0x1be)]=_0xff32ed=>{var _0x561bc6=_0x3a647a,_0x7a67ee,_0x353a21;return(_0x353a21=(_0x7a67ee=this[_0x561bc6(0x4bb)])==null?void 0x0:_0x7a67ee[_0x561bc6(0x1be)])==null?void 0x0:_0x353a21[_0x561bc6(0x340)](_0x7a67ee,_0xff32ed);},_0x38e492[_0x3a647a(0x237)]=_0x13c86d=>{var _0x1b24c2=_0x3a647a,_0x3f4a50,_0x15745c;return(_0x15745c=(_0x3f4a50=this[_0x1b24c2(0x4bb)])==null?void 0x0:_0x3f4a50[_0x1b24c2(0x237)])==null?void 0x0:_0x15745c[_0x1b24c2(0x340)](_0x3f4a50,_0x13c86d);},_0x38e492['onSyncEditingCollabCursor']=_0xb6a1c0=>{var _0x4424e6=_0x3a647a,_0x1bbdc1,_0x556811;return(_0x556811=(_0x1bbdc1=this['_handlerCallback'])==null?void 0x0:_0x1bbdc1[_0x4424e6(0x35d)])==null?void 0x0:_0x556811['call'](_0x1bbdc1,_0xb6a1c0);},_0x38e492['onTransformRemoteChangesetByIMECache']=_0x4fba1e=>{var _0x285212=_0x3a647a,_0x2a349a,_0x5cf334,_0x1e5145;if(!((_0x2a349a=this[_0x285212(0x4bb)])!=null&&_0x2a349a[_0x285212(0x416)]))throw new Error(_0x285212(0x3b3));return(_0x1e5145=(_0x5cf334=this['_handlerCallback'])==null?void 0x0:_0x5cf334[_0x285212(0x416)])==null?void 0x0:_0x1e5145[_0x285212(0x340)](_0x5cf334,_0x4fba1e);},_0x38e492['onTransformRemoteChangesetByStateCache']=_0x3270ff=>{var _0x57efb7=_0x3a647a,_0x29c31f,_0x19a52f,_0x574186;if(!((_0x29c31f=this[_0x57efb7(0x4bb)])!=null&&_0x29c31f['onTransformRemoteChangesetByStateCache']))throw new Error(_0x57efb7(0x3ce));return(_0x574186=(_0x19a52f=this[_0x57efb7(0x4bb)])==null?void 0x0:_0x19a52f[_0x57efb7(0x320)])==null?void 0x0:_0x574186['call'](_0x19a52f,_0x3270ff);},_0x38e492;}async[_0x440d83(0x459)](){var _0xb212c=_0x440d83;const _0x289046=await super[_0xb212c(0x459)]();return this[_0xb212c(0x3f1)](this[_0xb212c(0x4f6)][_0xb212c(0x385)]((_0x2781b8,_0x33c67e)=>{var _0x9e4389=_0xb212c;if(_0x2781b8[_0x9e4389(0x218)]!==a[_0x9e4389(0x4d1)]['MUTATION']||_0x33c67e!=null&&_0x33c67e[_0x9e4389(0x455)]||_0x33c67e!=null&&_0x33c67e[_0x9e4389(0x28a)]||_0x2781b8['id']===ut[_0x9e4389(0x4f2)]['id'])return;const _0x2bb967=_0x2781b8[_0x9e4389(0x27a)];if((_0x2bb967==null?void 0x0:_0x2bb967['unitId'])!==this[_0x9e4389(0x2db)])return;const _0x5c4722=_0x2781b8,_0x51f344=this[_0x9e4389(0x1e7)]['interceptor'][_0x9e4389(0x1c7)](this['_compressMutationService'][_0x9e4389(0x36e)][_0x9e4389(0x4e9)]()[_0x9e4389(0x363)])([_0x5c4722],null)||[_0x5c4722];this[_0x9e4389(0x28c)](_0x51f344[0x0]);})),_0x289046;}},exports[_0x440d83(0x34e)]=We([$(0x3,a['Inject'](a[_0x440d83(0x2f4)])),$(0x4,a[_0x440d83(0x202)](g['CompressMutationService'])),$(0x5,a['Inject'](a[_0x440d83(0x494)])),$(0x6,a[_0x440d83(0x202)](g[_0x440d83(0x484)])),$(0x7,a[_0x440d83(0x202)](te)),$(0x8,a['ILogService']),$(0x9,a['ICommandService']),$(0xa,a[_0x440d83(0x3ff)]),$(0xb,a[_0x440d83(0x4fb)](ve)),$(0xc,a['Optional'](z))],exports[_0x440d83(0x34e)]),exports[_0x440d83(0x366)]=class extends exports[_0x440d83(0x233)]{constructor(_0x47c699,_0x25c669,_0x438ab8,_0x507321,_0x55eb02,_0x2554b5,_0xc5dab8,_0x142f88,_0x348004,_0x4dd72c,_0x13f4ea,_0x474066,_0x4b4757,_0x7475f0){var _0x611801=_0x440d83;super(_0x47c699,_0x438ab8,_0x25c669,_0x507321,_0x55eb02,_0x2554b5,_0xc5dab8,_0x348004,_0x4dd72c,_0x13f4ea,_0x474066,_0x4b4757,_0x7475f0),this[_0x611801(0x2db)]=_0x47c699,this['type']=_0x25c669,this['_sheetTransformSelectionsService']=_0x142f88;}['_createHandler'](){var _0x1a5f82=_0x440d83;const _0x2561dc=super[_0x1a5f82(0x383)]();return _0x2561dc[_0x1a5f82(0x237)]=_0x418ba7=>this[_0x1a5f82(0x1b4)][_0x1a5f82(0x408)](_0x418ba7),_0x2561dc;}async[_0x440d83(0x459)](){var _0x5eeaa1=_0x440d83;const _0x20ec23=await super[_0x5eeaa1(0x459)]();return this[_0x5eeaa1(0x3f1)](this[_0x5eeaa1(0x4f6)][_0x5eeaa1(0x385)]((_0x1c44f7,_0x3abe6a)=>{var _0x12f416=_0x5eeaa1;if(_0x1c44f7[_0x12f416(0x218)]!==a[_0x12f416(0x4d1)]['MUTATION']||_0x3abe6a!=null&&_0x3abe6a[_0x12f416(0x455)]||_0x3abe6a!=null&&_0x3abe6a[_0x12f416(0x28a)])return;const _0xa8c9ad=_0x1c44f7[_0x12f416(0x27a)];if((_0xa8c9ad==null?void 0x0:_0xa8c9ad[_0x12f416(0x489)])!==this[_0x12f416(0x2db)])return;const _0x3bf57a=_0x1c44f7,_0x5104b1=this[_0x12f416(0x1e7)][_0x12f416(0x36e)][_0x12f416(0x1c7)](this[_0x12f416(0x1e7)]['interceptor'][_0x12f416(0x4e9)]()['COMPRESS_MUTATION_SEND'])([_0x3bf57a],null)||[_0x3bf57a];this[_0x12f416(0x28c)](_0x5104b1[0x0]);})),_0x20ec23;}},exports[_0x440d83(0x366)]=We([$(0x3,a[_0x440d83(0x202)](a[_0x440d83(0x2f4)])),$(0x4,a[_0x440d83(0x202)](g[_0x440d83(0x1d3)])),$(0x5,a[_0x440d83(0x202)](a[_0x440d83(0x494)])),$(0x6,a[_0x440d83(0x202)](g[_0x440d83(0x484)])),$(0x7,a[_0x440d83(0x202)](exports['SheetTransformSelectionsService'])),$(0x8,a[_0x440d83(0x202)](te)),$(0x9,a[_0x440d83(0x427)]),$(0xa,a['ICommandService']),$(0xb,a[_0x440d83(0x3ff)]),$(0xc,a['Optional'](ve)),$(0xd,a[_0x440d83(0x4fb)](z))],exports['SheetCollaborationEntity']);var Ti=Object[_0x440d83(0x4a6)],bi=(_0x40e098,_0x60eafe,_0xb1bb79,_0x30c69e)=>{var _0x317739=_0x440d83;for(var _0x359c95=_0x30c69e>0x1?void 0x0:_0x30c69e?Ti(_0x60eafe,_0xb1bb79):_0x60eafe,_0x548851=_0x40e098[_0x317739(0x3f7)]-0x1,_0x5e1fd6;_0x548851>=0x0;_0x548851--)(_0x5e1fd6=_0x40e098[_0x548851])&&(_0x359c95=_0x5e1fd6(_0x359c95)||_0x359c95);return _0x359c95;},Pe=(_0x41aa8d,_0x4915e8)=>(_0x31f664,_0xf5787a)=>_0x4915e8(_0x31f664,_0xf5787a,_0x41aa8d);exports[_0x440d83(0x2ec)]=class extends a[_0x440d83(0x444)]{constructor(_0x1af05c,_0x515924,_0x55d685){var _0x2a2b17=_0x440d83;super(),A(this,'_entities',new Map()),A(this,'_entityInit$',new j[(_0x2a2b17(0x1d9))]()),A(this,'entityInit$',this[_0x2a2b17(0x292)][_0x2a2b17(0x205)]()),(this[_0x2a2b17(0x3aa)]=_0x1af05c,this['_collabSessionService']=_0x515924,this[_0x2a2b17(0x2fe)]=_0x55d685,this[_0x2a2b17(0x459)]());}['dispose'](){var _0x3cd44f=_0x440d83;super[_0x3cd44f(0x362)](),this[_0x3cd44f(0x31b)]['forEach'](_0x25eb53=>_0x25eb53[_0x3cd44f(0x362)]()),this[_0x3cd44f(0x31b)][_0x3cd44f(0x32b)]();}[_0x440d83(0x31c)](_0x5e5767){var _0x4965db=_0x440d83,_0x3cc974;return(_0x3cc974=this[_0x4965db(0x31b)][_0x4965db(0x1e0)](_0x5e5767))!=null?_0x3cc974:null;}[_0x440d83(0x41a)](_0x3ab1a6){var _0x18e206=_0x440d83;const _0x120502=this[_0x18e206(0x31c)](_0x3ab1a6);return _0x120502?j['of'](_0x120502):this[_0x18e206(0x292)]['pipe'](V[_0x18e206(0x3c8)](_0x5de982=>_0x5de982[_0x18e206(0x2db)]===_0x3ab1a6));}[_0x440d83(0x3a9)](_0xc282be){var _0xd4ca48=_0x440d83;return j[_0xd4ca48(0x3db)](this[_0xd4ca48(0x41a)](_0xc282be)[_0xd4ca48(0x34f)](V[_0xd4ca48(0x341)](()=>{})));}[_0x440d83(0x459)](){var _0x2d2c7b=_0x440d83;this[_0x2d2c7b(0x2fe)][_0x2d2c7b(0x2c9)](a[_0x2d2c7b(0x3ca)][_0x2d2c7b(0x45e)])['pipe'](j['takeUntil'](this[_0x2d2c7b(0x1f4)]),V[_0x2d2c7b(0x338)](0x10))[_0x2d2c7b(0x2e4)](async _0x3faf74=>{var _0x522192=_0x2d2c7b;const _0x16cc5e=_0x3faf74['getUnitId'](),_0x23e4c0=await this[_0x522192(0x430)](_0x16cc5e,X[_0x522192(0x45e)]);this[_0x522192(0x31b)][_0x522192(0x3eb)](_0x16cc5e,_0x23e4c0);}),this[_0x2d2c7b(0x2fe)][_0x2d2c7b(0x2c9)](a[_0x2d2c7b(0x3ca)][_0x2d2c7b(0x3a0)])['pipe'](j['takeUntil'](this[_0x2d2c7b(0x1f4)]),V['delay'](0x10))[_0x2d2c7b(0x34f)](V['filter'](_0x39e1c1=>!_0x39e1c1[_0x2d2c7b(0x483)]()['startsWith']('__')))[_0x2d2c7b(0x2e4)](async _0x558b69=>{var _0x508d8d=_0x2d2c7b;const _0x287580=_0x558b69['getUnitId'](),_0x1bb39d=await this[_0x508d8d(0x430)](_0x287580,X[_0x508d8d(0x3a0)]);this[_0x508d8d(0x31b)]['set'](_0x287580,_0x1bb39d);}),j[_0x2d2c7b(0x3a8)](this[_0x2d2c7b(0x2fe)][_0x2d2c7b(0x26a)](a[_0x2d2c7b(0x3ca)][_0x2d2c7b(0x45e)]),this[_0x2d2c7b(0x2fe)][_0x2d2c7b(0x26a)](a[_0x2d2c7b(0x3ca)][_0x2d2c7b(0x3a0)]))['pipe'](j[_0x2d2c7b(0x358)](this['dispose$']))[_0x2d2c7b(0x2e4)](_0x232857=>{var _0x8c2945=_0x2d2c7b;const _0x540ff4=_0x232857['getUnitId'](),_0x3776f6=this[_0x8c2945(0x31b)][_0x8c2945(0x1e0)](_0x540ff4);_0x3776f6&&(_0x3776f6['dispose'](),this[_0x8c2945(0x31b)][_0x8c2945(0x1e4)](_0x540ff4));});}async['_startCollaboration'](_0x330718,_0x2e5eed){var _0x4238b9=_0x440d83;const _0x19b027=await this[_0x4238b9(0x1fa)][_0x4238b9(0x268)](_0x330718),_0x54c758=this[_0x4238b9(0x3aa)][_0x4238b9(0x4dc)](this[_0x4238b9(0x313)](_0x2e5eed),_0x330718,_0x2e5eed,_0x19b027);return await _0x54c758[_0x4238b9(0x2c5)](),this[_0x4238b9(0x292)]['next'](_0x54c758),_0x54c758;}[_0x440d83(0x313)](_0x5b19e0){var _0xde212f=_0x440d83;switch(_0x5b19e0){case X[_0xde212f(0x3a0)]:return exports['DocCollaborationEntity'];case X[_0xde212f(0x45e)]:return exports[_0xde212f(0x366)];default:throw new Error(_0xde212f(0x518)+_0x5b19e0);}}},exports[_0x440d83(0x2ec)]=bi([Pe(0x0,a[_0x440d83(0x202)](a[_0x440d83(0x2f4)])),Pe(0x1,a[_0x440d83(0x202)](exports[_0x440d83(0x1e9)])),Pe(0x2,a[_0x440d83(0x4be)])],exports[_0x440d83(0x2ec)]);var Ri=Object[_0x440d83(0x4a6)],yi=(_0x25ea7,_0x25de42,_0x52aba1,_0x2be500)=>{var _0x4aca1e=_0x440d83;for(var _0x1bf83e=_0x2be500>0x1?void 0x0:_0x2be500?Ri(_0x25de42,_0x52aba1):_0x25de42,_0x482c31=_0x25ea7[_0x4aca1e(0x3f7)]-0x1,_0x1d3989;_0x482c31>=0x0;_0x482c31--)(_0x1d3989=_0x25ea7[_0x482c31])&&(_0x1bf83e=_0x1d3989(_0x1bf83e)||_0x1bf83e);return _0x1bf83e;},Je=(_0x381b54,_0x59502a)=>(_0x598c8f,_0x2fdf2e)=>_0x59502a(_0x598c8f,_0x2fdf2e,_0x381b54);const Oi='DEFAULT_FILE_NAME',Ni=_0x440d83(0x4c2);let He=class extends a[_0x440d83(0x24e)]{constructor(_0x1a33f8,_0x4a9ea9){var _0x5de2e8=_0x440d83;super(),this['_univerInstanceService']=_0x1a33f8,this[_0x5de2e8(0x4c8)]=_0x4a9ea9,this[_0x5de2e8(0x459)]();}[_0x440d83(0x459)](){var _0x1c804c=_0x440d83;this['disposeWithMe'](this[_0x1c804c(0x2fe)][_0x1c804c(0x458)][_0x1c804c(0x2e4)](()=>{var _0x3bac38=_0x1c804c,_0x38b2a9;const _0x2d6a29=this[_0x3bac38(0x2fe)][_0x3bac38(0x209)]();let _0x56cb43=(_0x38b2a9=this[_0x3bac38(0x4c8)][_0x3bac38(0x273)](Oi))!=null?_0x38b2a9:Ni;_0x2d6a29 instanceof a[_0x3bac38(0x3ab)]&&(_0x56cb43=_0x2d6a29[_0x3bac38(0x481)]),document['title']=_0x56cb43;}));}};He=yi([Je(0x0,a[_0x440d83(0x4be)]),Je(0x1,a['IConfigService'])],He);var Di=Object[_0x440d83(0x4a6)],Ui=(_0x4ce7db,_0x40595d,_0x5d660a,_0x228e14)=>{for(var _0x5017d7=_0x228e14>0x1?void 0x0:_0x228e14?Di(_0x40595d,_0x5d660a):_0x40595d,_0x4a3404=_0x4ce7db['length']-0x1,_0x6e6e88;_0x4a3404>=0x0;_0x4a3404--)(_0x6e6e88=_0x4ce7db[_0x4a3404])&&(_0x5017d7=_0x6e6e88(_0x5017d7)||_0x5017d7);return _0x5017d7;},we=(_0x3a3f64,_0x45eff1)=>(_0x754676,_0x256282)=>_0x45eff1(_0x754676,_0x256282,_0x3a3f64);let Oe=class{constructor(_0x5bab0a,_0x16d29a,_0xbe49e1){var _0x2e30e3=_0x440d83;this[_0x2e30e3(0x4c8)]=_0x5bab0a,this[_0x2e30e3(0x462)]=_0x16d29a,this[_0x2e30e3(0x369)]=_0xbe49e1,this[_0x2e30e3(0x2c5)]();}[_0x440d83(0x2c5)](){var _0x41fa5d=_0x440d83;this[_0x41fa5d(0x462)][_0x41fa5d(0x30a)]({'priority':0x1,'interceptor':(_0x4235c6,_0x2c6ff9)=>_0x2c6ff9(_0x4235c6)[_0x41fa5d(0x34f)](j['concatMap'](async _0x7ac044=>{var _0x53b886=_0x41fa5d;const _0x140bd6=_0x7ac044;if(_0x140bd6[_0x53b886(0x2cd)]===0x191){if(typeof window>'u')throw new Error(_0x53b886(0x1c3));if(window[_0x53b886(0x4ae)](this[_0x53b886(0x369)]['t'](_0x53b886(0x412)))){const _0x5c6709=window[_0x53b886(0x1ee)](window['location']['href']);window[_0x53b886(0x4d8)][_0x53b886(0x331)]=this[_0x53b886(0x238)]()+_0x53b886(0x3d3)+_0x5c6709;}}return _0x140bd6;}))});}[_0x440d83(0x238)](){var _0x11ee90=_0x440d83,_0xf1ae9e,_0x395938;const _0x21d1af=this[_0x11ee90(0x4c8)][_0x11ee90(0x273)](Et),_0x4672bc=this[_0x11ee90(0x4c8)][_0x11ee90(0x273)](Y);return(_0x395938=(_0xf1ae9e=_0x4672bc==null?void 0x0:_0x4672bc[_0x11ee90(0x265)])!=null?_0xf1ae9e:_0x21d1af)!=null?_0x395938:Yt;}};Oe=Ui([we(0x0,a['IConfigService']),we(0x1,a[_0x440d83(0x202)](q[_0x440d83(0x457)])),we(0x2,a[_0x440d83(0x202)](a[_0x440d83(0x494)]))],Oe);var Ai=Object[_0x440d83(0x4a6)],Pi=(_0x1d06ae,_0x228a7c,_0x41f8b1,_0x54d522)=>{var _0xb4543d=_0x440d83;for(var _0x3c321f=_0x54d522>0x1?void 0x0:_0x54d522?Ai(_0x228a7c,_0x41f8b1):_0x228a7c,_0x409812=_0x1d06ae[_0xb4543d(0x3f7)]-0x1,_0x48dda5;_0x409812>=0x0;_0x409812--)(_0x48dda5=_0x1d06ae[_0x409812])&&(_0x3c321f=_0x48dda5(_0x3c321f)||_0x3c321f);return _0x3c321f;},Xe=(_0x42247d,_0x1181d3)=>(_0x3032d6,_0x81bb0d)=>_0x1181d3(_0x3032d6,_0x81bb0d,_0x42247d);const Ge=_0x440d83(0x328),wi=_0x440d83(0x245);exports[_0x440d83(0x364)]=class extends a[_0x440d83(0x24e)]{constructor(_0x45c577,_0x132dee){var _0x2e0e16=_0x440d83;super(),this[_0x2e0e16(0x3cd)]=_0x45c577,this[_0x2e0e16(0x4c8)]=_0x132dee,this[_0x2e0e16(0x288)]();}[_0x440d83(0x288)](){var _0x584885=_0x440d83;const _0x2f8245=this;this['disposeWithMe'](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x584885(0x2fb)]({'isMatch'(_0x388dd9){var _0x42b4f9=_0x584885,_0x5dbe0d;if(_0x388dd9['method']===_0x42b4f9(0x1c4)&&((_0x5dbe0d=_0x388dd9['requestParams'])!=null&&_0x5dbe0d[_0x42b4f9(0x428)])){const {objectID:_0x12ba39,objectType:_0x314c77}=_0x388dd9[_0x42b4f9(0x282)][_0x42b4f9(0x428)]||{};if(!_0x12ba39||_0x314c77===void 0x0)return!0x1;const _0x3e0593=_0x2f8245[_0x42b4f9(0x2da)]()+'/'+_0x314c77+_0x42b4f9(0x3ef)+_0x12ba39+_0x42b4f9(0x50b);if(_0x388dd9[_0x42b4f9(0x442)]===_0x3e0593)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5c6970){var _0x53ac09=_0x584885,_0x54515a;return(_0x54515a=_0x5c6970[_0x53ac09(0x282)])==null?void 0x0:_0x54515a[_0x53ac09(0x428)];},'mergeParamsToRequest'(_0x458e21,_0x3e72d8){var _0x526c7d=_0x584885;const _0x25baa3=_0x2f8245[_0x526c7d(0x2da)]()+_0x526c7d(0x30b),_0x294730=_0x458e21['reduce']((_0x444ef8,_0x58482c)=>{var _0x235d60=_0x526c7d;const {unitID:_0xec8598,objectID:_0x32d8fc,objectType:_0x5b15d4,actions:_0x52c3c2}=_0x58482c;return _0x444ef8[_0xec8598]||(_0x444ef8[_0xec8598]={}),_0x444ef8[_0xec8598][_0x32d8fc]||(_0x444ef8[_0xec8598][_0x32d8fc]={'objectID':_0x32d8fc,'objectType':_0x5b15d4,'actions':[]}),_0x444ef8[_0xec8598][_0x32d8fc][_0x235d60(0x339)][_0x235d60(0x45f)](..._0x52c3c2),_0x444ef8;},{}),_0x411bac=[];for(const _0x55b251 in _0x294730)for(const _0x3c66c5 in _0x294730[_0x55b251]){const {actions:_0x424249,objectType:_0x40ecbe}=_0x294730[_0x55b251][_0x3c66c5],_0x7c9e=[...new Set(_0x424249)];_0x411bac[_0x526c7d(0x45f)]({'unitID':_0x55b251,'objectID':_0x3c66c5,'objectType':_0x40ecbe,'actions':_0x7c9e});}return new q[(_0x526c7d(0x4ef))](_0x526c7d(0x1c4),_0x25baa3,{'headers':_0x3e72d8['headers'],'withCredentials':_0x3e72d8['withCredentials'],'responseType':_0x3e72d8['responseType'],'body':{'requests':_0x411bac}});}},{'distributeResult'(_0x4eb58e,_0x54f356){var _0x790d10=_0x584885;const {objectActions:_0x2e9199}=_0x4eb58e;return _0x54f356[_0x790d10(0x341)](_0x575ad8=>{var _0x3bd93a=_0x790d10;const {unitID:_0x1ad48d,objectID:_0x26958b,actions:_0x3fd238}=_0x575ad8,_0x4ee70e=_0x2e9199['find'](_0xb24854=>_0xb24854[_0x3bd93a(0x2db)]===_0x1ad48d&&_0xb24854[_0x3bd93a(0x395)]===_0x26958b),_0x96b360=_0x3fd238[_0x3bd93a(0x341)](_0x3aba5e=>_0x4ee70e==null?void 0x0:_0x4ee70e[_0x3bd93a(0x339)][_0x3bd93a(0x3f8)](_0x5c44d3=>_0x5c44d3[_0x3bd93a(0x490)]===_0x3aba5e))[_0x3bd93a(0x3c8)](_0x3e1ce4=>!!_0x3e1ce4);return{'config':_0x575ad8,'result':{'actions':_0x96b360,'error':_0x4eb58e[_0x3bd93a(0x1ba)]}};});}})}));}[_0x440d83(0x2da)](){var _0x2053e5=_0x440d83,_0x2ead06,_0x19bf2b;const _0xc0b82e=this[_0x2053e5(0x4c8)][_0x2053e5(0x273)](Ge),_0xb7688a=this['_configService'][_0x2053e5(0x273)](Y);return(_0x19bf2b=(_0x2ead06=_0xb7688a==null?void 0x0:_0xb7688a[_0x2053e5(0x4de)])!=null?_0x2ead06:_0xc0b82e)!=null?_0x19bf2b:wi;}async['create'](_0x12cb95){var _0x21e8c9=_0x440d83;const _0x581ecf=this['_getAPIPrefixPath']()+'/'+_0x12cb95['objectType']+_0x21e8c9(0x47b);return(await this[_0x21e8c9(0x3cd)]['post'](_0x581ecf,{'body':_0x12cb95}))[_0x21e8c9(0x428)][_0x21e8c9(0x395)]||'';}async[_0x440d83(0x336)](_0x580219){var _0x4c3586=_0x440d83;const _0x192abe=this[_0x4c3586(0x2da)]()+_0x4c3586(0x3c3);return(await this['_HTTPService']['post'](_0x192abe,{'body':_0x580219}))[_0x4c3586(0x428)][_0x4c3586(0x4b4)];}async[_0x440d83(0x4a7)](_0x3c5e8b){var _0x30c596=_0x440d83,_0x577303,_0x5994a7;const _0x27c9cd=this[_0x30c596(0x2da)]()+'/'+_0x3c5e8b[_0x30c596(0x2fd)]+_0x30c596(0x3ef)+_0x3c5e8b[_0x30c596(0x395)],_0x531b10=await this['_HTTPService']['put'](_0x27c9cd,{'body':_0x3c5e8b});if(((_0x5994a7=(_0x577303=_0x531b10==null?void 0x0:_0x531b10['body'])==null?void 0x0:_0x577303[_0x30c596(0x1ba)])==null?void 0x0:_0x5994a7[_0x30c596(0x1c2)])!==0x0)throw new Error(_0x30c596(0x4ea));}async[_0x440d83(0x206)](_0x4a072a){var _0x212cf8=_0x440d83;const _0x4db670=this['_getAPIPrefixPath']()+'/'+_0x4a072a['objectType']+_0x212cf8(0x3ef)+_0x4a072a['objectID']+_0x212cf8(0x50b);return(await this[_0x212cf8(0x3cd)][_0x212cf8(0x42a)](_0x4db670,{'body':_0x4a072a}))['body'][_0x212cf8(0x339)];}async[_0x440d83(0x2ea)](_0x1e9e21){var _0x5be9e1=_0x440d83;const _0x3e0574=this[_0x5be9e1(0x2da)]()+_0x5be9e1(0x30b);return(await this[_0x5be9e1(0x3cd)][_0x5be9e1(0x42a)](_0x3e0574,{'body':{'requests':_0x1e9e21}}))[_0x5be9e1(0x428)][_0x5be9e1(0x440)];}async[_0x440d83(0x4c4)](_0xbed9f2){var _0x4de0ba=_0x440d83;const _0x5dd48d=this[_0x4de0ba(0x2da)]()+'/'+_0xbed9f2[_0x4de0ba(0x2fd)]+_0x4de0ba(0x44c),_0x30a916=await this[_0x4de0ba(0x3cd)][_0x4de0ba(0x42a)](_0x5dd48d,{'body':_0xbed9f2});return{'roles':_0x30a916[_0x4de0ba(0x428)]['roles'],'actions':_0x30a916[_0x4de0ba(0x428)][_0x4de0ba(0x339)]};}async[_0x440d83(0x3ed)](_0x5af212){var _0x175957=_0x440d83;const _0x2db00d=this[_0x175957(0x2da)]()+_0x175957(0x4b2);await this[_0x175957(0x3cd)][_0x175957(0x1e4)](_0x2db00d,{'params':{'collaboratorID':_0x5af212['collaboratorID'],'objectID':_0x5af212[_0x175957(0x395)],'unitID':_0x5af212['unitID']}});}async[_0x440d83(0x3e1)](_0x49f55d){var _0x330505=_0x440d83;const _0x52c54e=this[_0x330505(0x2da)]()+_0x330505(0x4b2);await this[_0x330505(0x3cd)]['patch'](_0x52c54e,{'body':_0x49f55d});}async['createCollaborator'](_0x42fa5b){var _0x4886b1=_0x440d83;const _0x5d32e=this[_0x4886b1(0x2da)]()+'/collaborator';await this[_0x4886b1(0x3cd)][_0x4886b1(0x42a)](_0x5d32e,{'body':_0x42fa5b});}async[_0x440d83(0x278)](_0x3d84a7){var _0x4860a1=_0x440d83;const _0x1bf599=this[_0x4860a1(0x2da)]()+_0x4860a1(0x4b2);return(await this['_HTTPService'][_0x4860a1(0x1e0)](_0x1bf599,{'params':{'objectID':_0x3d84a7[_0x4860a1(0x395)],'unitID':_0x3d84a7[_0x4860a1(0x2db)]}}))[_0x4860a1(0x428)]['collaborators'];}async['putCollaborators'](_0x54967a){var _0x330266=_0x440d83;const _0xd5ef96=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x330266(0x3cd)][_0x330266(0x4e3)](_0xd5ef96,{'body':_0x54967a});}},exports['AuthzIoHttpService']=Pi([Xe(0x0,a['Inject'](q[_0x440d83(0x457)])),Xe(0x1,a[_0x440d83(0x202)](a['IConfigService']))],exports['AuthzIoHttpService']);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x5b0352){var _0x2ed7b1=_0x440d83;return _0x5b0352&&_0x5b0352[_0x2ed7b1(0x4cd)]&&Object[_0x2ed7b1(0x415)]['hasOwnProperty']['call'](_0x5b0352,_0x2ed7b1(0x2b7))?_0x5b0352['default']:_0x5b0352;}var fe={'exports':{}};function Li(_0x3f81c0){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x3f81c0+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},Mi=pe[_0x440d83(0x505)],Ze;function ee(){var _0x35ca95=_0x440d83;return Ze||(Ze=0x1,function(_0x1f001e,_0x365b52){(function(_0x1bffb5,_0x5a99f5){var _0x103a2f=_0x8679;_0x1f001e[_0x103a2f(0x505)]=_0x5a99f5();}(Mi,function(){var _0x223258=_0x223258||function(_0x173d90,_0x3627d7){var _0x4dd3a7=_0x8679,_0x183574;if(typeof window<'u'&&window[_0x4dd3a7(0x508)]&&(_0x183574=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x183574=self[_0x4dd3a7(0x508)]),typeof globalThis<'u'&&globalThis[_0x4dd3a7(0x508)]&&(_0x183574=globalThis[_0x4dd3a7(0x508)]),!_0x183574&&typeof window<'u'&&window['msCrypto']&&(_0x183574=window[_0x4dd3a7(0x1d4)]),!_0x183574&&typeof Le<'u'&&Le[_0x4dd3a7(0x508)]&&(_0x183574=Le['crypto']),!_0x183574&&typeof Li=='function')try{_0x183574=require(_0x4dd3a7(0x508));}catch{}var _0x7904a2=function(){var _0x399db0=_0x4dd3a7;if(_0x183574){if(typeof _0x183574[_0x399db0(0x492)]==_0x399db0(0x1dc))try{return _0x183574['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x183574[_0x399db0(0x33e)]==_0x399db0(0x1dc))try{return _0x183574[_0x399db0(0x33e)](0x4)[_0x399db0(0x2ba)]();}catch{}}throw new Error(_0x399db0(0x4e0));},_0x3b0a0b=Object['create']||(function(){function _0x4e9fa6(){}return function(_0x4e12b2){var _0x4e08db=_0x8679,_0x415841;return _0x4e9fa6['prototype']=_0x4e12b2,_0x415841=new _0x4e9fa6(),_0x4e9fa6[_0x4e08db(0x415)]=null,_0x415841;};}()),_0x514f04={},_0x207df0=_0x514f04[_0x4dd3a7(0x22d)]={},_0x3d6fd1=_0x207df0[_0x4dd3a7(0x37a)]=(function(){return{'extend':function(_0x578bec){var _0x1c54c8=_0x8679,_0xfe5068=_0x3b0a0b(this);return _0x578bec&&_0xfe5068['mixIn'](_0x578bec),(!_0xfe5068[_0x1c54c8(0x467)](_0x1c54c8(0x2c5))||this[_0x1c54c8(0x2c5)]===_0xfe5068[_0x1c54c8(0x2c5)])&&(_0xfe5068[_0x1c54c8(0x2c5)]=function(){var _0x5f3bd2=_0x1c54c8;_0xfe5068[_0x5f3bd2(0x2f0)]['init'][_0x5f3bd2(0x304)](this,arguments);}),_0xfe5068['init'][_0x1c54c8(0x415)]=_0xfe5068,_0xfe5068['$super']=this,_0xfe5068;},'create':function(){var _0x2adc2e=_0x8679,_0x7c60ca=this[_0x2adc2e(0x2f6)]();return _0x7c60ca[_0x2adc2e(0x2c5)][_0x2adc2e(0x304)](_0x7c60ca,arguments),_0x7c60ca;},'init':function(){},'mixIn':function(_0x20e558){var _0x23ce30=_0x8679;for(var _0xd3ceda in _0x20e558)_0x20e558[_0x23ce30(0x467)](_0xd3ceda)&&(this[_0xd3ceda]=_0x20e558[_0xd3ceda]);_0x20e558[_0x23ce30(0x467)](_0x23ce30(0x1da))&&(this['toString']=_0x20e558[_0x23ce30(0x1da)]);},'clone':function(){var _0x245609=_0x8679;return this[_0x245609(0x2c5)][_0x245609(0x415)][_0x245609(0x2f6)](this);}};}()),_0x146a23=_0x207df0[_0x4dd3a7(0x4a0)]=_0x3d6fd1[_0x4dd3a7(0x2f6)]({'init':function(_0x1c12d3,_0x5b0f88){var _0x3390e2=_0x4dd3a7;_0x1c12d3=this[_0x3390e2(0x3a4)]=_0x1c12d3||[],_0x5b0f88!=_0x3627d7?this[_0x3390e2(0x2dd)]=_0x5b0f88:this[_0x3390e2(0x2dd)]=_0x1c12d3[_0x3390e2(0x3f7)]*0x4;},'toString':function(_0x5d4fc0){var _0x349823=_0x4dd3a7;return(_0x5d4fc0||_0x382a81)[_0x349823(0x1ec)](this);},'concat':function(_0x4bfcaa){var _0x3821ea=_0x4dd3a7,_0x491b9e=this[_0x3821ea(0x3a4)],_0x127306=_0x4bfcaa[_0x3821ea(0x3a4)],_0x4d4f2d=this[_0x3821ea(0x2dd)],_0xc1488a=_0x4bfcaa['sigBytes'];if(this[_0x3821ea(0x1fd)](),_0x4d4f2d%0x4)for(var _0xb05ad7=0x0;_0xb05ad7<_0xc1488a;_0xb05ad7++){var _0x444656=_0x127306[_0xb05ad7>>>0x2]>>>0x18-_0xb05ad7%0x4*0x8&0xff;_0x491b9e[_0x4d4f2d+_0xb05ad7>>>0x2]|=_0x444656<<0x18-(_0x4d4f2d+_0xb05ad7)%0x4*0x8;}else{for(var _0x5e4e0a=0x0;_0x5e4e0a<_0xc1488a;_0x5e4e0a+=0x4)_0x491b9e[_0x4d4f2d+_0x5e4e0a>>>0x2]=_0x127306[_0x5e4e0a>>>0x2];}return this[_0x3821ea(0x2dd)]+=_0xc1488a,this;},'clamp':function(){var _0x5906dd=_0x4dd3a7,_0x3644ca=this[_0x5906dd(0x3a4)],_0x55bd19=this['sigBytes'];_0x3644ca[_0x55bd19>>>0x2]&=0xffffffff<<0x20-_0x55bd19%0x4*0x8,_0x3644ca[_0x5906dd(0x3f7)]=_0x173d90[_0x5906dd(0x1b3)](_0x55bd19/0x4);},'clone':function(){var _0x35b986=_0x4dd3a7,_0x4548ac=_0x3d6fd1[_0x35b986(0x32d)]['call'](this);return _0x4548ac['words']=this['words']['slice'](0x0),_0x4548ac;},'random':function(_0x1179aa){var _0x4b4b75=_0x4dd3a7;for(var _0x39f5a7=[],_0x5b25ee=0x0;_0x5b25ee<_0x1179aa;_0x5b25ee+=0x4)_0x39f5a7[_0x4b4b75(0x45f)](_0x7904a2());return new _0x146a23[(_0x4b4b75(0x2c5))](_0x39f5a7,_0x1179aa);}}),_0x484d0d=_0x514f04[_0x4dd3a7(0x388)]={},_0x382a81=_0x484d0d[_0x4dd3a7(0x3b9)]={'stringify':function(_0x36c46b){var _0x357b5e=_0x4dd3a7;for(var _0xaeb1fb=_0x36c46b['words'],_0x272ad8=_0x36c46b[_0x357b5e(0x2dd)],_0xdf1e88=[],_0x2a5433=0x0;_0x2a5433<_0x272ad8;_0x2a5433++){var _0x38682c=_0xaeb1fb[_0x2a5433>>>0x2]>>>0x18-_0x2a5433%0x4*0x8&0xff;_0xdf1e88['push']((_0x38682c>>>0x4)[_0x357b5e(0x1da)](0x10)),_0xdf1e88['push']((_0x38682c&0xf)[_0x357b5e(0x1da)](0x10));}return _0xdf1e88[_0x357b5e(0x43b)]('');},'parse':function(_0x2b6e90){var _0x5e2fd4=_0x4dd3a7;for(var _0x14d502=_0x2b6e90[_0x5e2fd4(0x3f7)],_0x3da022=[],_0x36367d=0x0;_0x36367d<_0x14d502;_0x36367d+=0x2)_0x3da022[_0x36367d>>>0x3]|=parseInt(_0x2b6e90['substr'](_0x36367d,0x2),0x10)<<0x18-_0x36367d%0x8*0x4;return new _0x146a23[(_0x5e2fd4(0x2c5))](_0x3da022,_0x14d502/0x2);}},_0x2148ad=_0x484d0d[_0x4dd3a7(0x434)]={'stringify':function(_0x1ff365){var _0x4e708a=_0x4dd3a7;for(var _0x750ad2=_0x1ff365['words'],_0x22498d=_0x1ff365[_0x4e708a(0x2dd)],_0x3fea05=[],_0x1cc577=0x0;_0x1cc577<_0x22498d;_0x1cc577++){var _0x56d8ff=_0x750ad2[_0x1cc577>>>0x2]>>>0x18-_0x1cc577%0x4*0x8&0xff;_0x3fea05[_0x4e708a(0x45f)](String[_0x4e708a(0x2a8)](_0x56d8ff));}return _0x3fea05[_0x4e708a(0x43b)]('');},'parse':function(_0x1a4db2){var _0x2d8cba=_0x4dd3a7;for(var _0x334add=_0x1a4db2[_0x2d8cba(0x3f7)],_0x415b12=[],_0x11dd60=0x0;_0x11dd60<_0x334add;_0x11dd60++)_0x415b12[_0x11dd60>>>0x2]|=(_0x1a4db2['charCodeAt'](_0x11dd60)&0xff)<<0x18-_0x11dd60%0x4*0x8;return new _0x146a23[(_0x2d8cba(0x2c5))](_0x415b12,_0x334add);}},_0x306fba=_0x484d0d[_0x4dd3a7(0x33a)]={'stringify':function(_0x5e1621){var _0x3e1e0b=_0x4dd3a7;try{return decodeURIComponent(escape(_0x2148ad[_0x3e1e0b(0x1ec)](_0x5e1621)));}catch{throw new Error(_0x3e1e0b(0x32a));}},'parse':function(_0x3ed8d5){var _0x5093b5=_0x4dd3a7;return _0x2148ad[_0x5093b5(0x477)](unescape(encodeURIComponent(_0x3ed8d5)));}},_0x272b0b=_0x207df0[_0x4dd3a7(0x357)]=_0x3d6fd1[_0x4dd3a7(0x2f6)]({'reset':function(){var _0x325bd2=_0x4dd3a7;this[_0x325bd2(0x29f)]=new _0x146a23[(_0x325bd2(0x2c5))](),this['_nDataBytes']=0x0;},'_append':function(_0x1dfe85){var _0x3b2212=_0x4dd3a7;typeof _0x1dfe85==_0x3b2212(0x23e)&&(_0x1dfe85=_0x306fba[_0x3b2212(0x477)](_0x1dfe85)),this[_0x3b2212(0x29f)]['concat'](_0x1dfe85),this['_nDataBytes']+=_0x1dfe85[_0x3b2212(0x2dd)];},'_process':function(_0x2dec8a){var _0x1872c6=_0x4dd3a7,_0x203cd3,_0x385276=this[_0x1872c6(0x29f)],_0x378c69=_0x385276[_0x1872c6(0x3a4)],_0x5ef6f2=_0x385276[_0x1872c6(0x2dd)],_0x4c439d=this[_0x1872c6(0x3f2)],_0x628786=_0x4c439d*0x4,_0x31c505=_0x5ef6f2/_0x628786;_0x2dec8a?_0x31c505=_0x173d90[_0x1872c6(0x1b3)](_0x31c505):_0x31c505=_0x173d90[_0x1872c6(0x36d)]((_0x31c505|0x0)-this['_minBufferSize'],0x0);var _0x252d82=_0x31c505*_0x4c439d,_0x4537ef=_0x173d90[_0x1872c6(0x35e)](_0x252d82*0x4,_0x5ef6f2);if(_0x252d82){for(var _0x593ac8=0x0;_0x593ac8<_0x252d82;_0x593ac8+=_0x4c439d)this[_0x1872c6(0x2bc)](_0x378c69,_0x593ac8);_0x203cd3=_0x378c69[_0x1872c6(0x35b)](0x0,_0x252d82),_0x385276[_0x1872c6(0x2dd)]-=_0x4537ef;}return new _0x146a23[(_0x1872c6(0x2c5))](_0x203cd3,_0x4537ef);},'clone':function(){var _0x35de54=_0x4dd3a7,_0x1396a2=_0x3d6fd1[_0x35de54(0x32d)][_0x35de54(0x340)](this);return _0x1396a2[_0x35de54(0x29f)]=this[_0x35de54(0x29f)]['clone'](),_0x1396a2;},'_minBufferSize':0x0});_0x207df0[_0x4dd3a7(0x49e)]=_0x272b0b[_0x4dd3a7(0x2f6)]({'cfg':_0x3d6fd1['extend'](),'init':function(_0x2b9fd9){var _0x5568e1=_0x4dd3a7;this[_0x5568e1(0x1de)]=this[_0x5568e1(0x1de)][_0x5568e1(0x2f6)](_0x2b9fd9),this[_0x5568e1(0x4b6)]();},'reset':function(){var _0x1114f8=_0x4dd3a7;_0x272b0b['reset'][_0x1114f8(0x340)](this),this[_0x1114f8(0x22e)]();},'update':function(_0x5965cd){var _0x1150c6=_0x4dd3a7;return this[_0x1150c6(0x29c)](_0x5965cd),this[_0x1150c6(0x4cc)](),this;},'finalize':function(_0x45b53a){var _0x22ac20=_0x4dd3a7;_0x45b53a&&this['_append'](_0x45b53a);var _0x48382c=this[_0x22ac20(0x3bb)]();return _0x48382c;},'blockSize':0x10,'_createHelper':function(_0x43c81c){return function(_0x34b9af,_0x5645dc){var _0xce2dc2=_0x8679;return new _0x43c81c['init'](_0x5645dc)[_0xce2dc2(0x354)](_0x34b9af);};},'_createHmacHelper':function(_0x58970c){return function(_0x491f,_0x3fcdca){var _0x9de0b3=_0x8679;return new _0x4c17de[(_0x9de0b3(0x51f))]['init'](_0x58970c,_0x3fcdca)['finalize'](_0x491f);};}});var _0x4c17de=_0x514f04[_0x4dd3a7(0x3a5)]={};return _0x514f04;}(Math);return _0x223258;}));}(pe)),pe[_0x35ca95(0x505)];}var ge={'exports':{}},xi=ge[_0x440d83(0x505)],Qe;function Ut(){var _0x3391f0=_0x440d83;return Qe||(Qe=0x1,function(_0x3aca2c,_0x101e78){(function(_0x1d22c9,_0x59a9d0){_0x3aca2c['exports']=_0x59a9d0(ee());}(xi,function(_0x5f5ae5){var _0x1a1af1=_0x8679;return(function(){var _0x114f9b=_0x8679,_0x1718cc=_0x5f5ae5,_0x54f6cd=_0x1718cc[_0x114f9b(0x22d)],_0xa4de7d=_0x54f6cd[_0x114f9b(0x4a0)],_0xd78218=_0x1718cc[_0x114f9b(0x388)];_0xd78218[_0x114f9b(0x3ac)]={'stringify':function(_0x31532c){var _0x460984=_0x114f9b,_0x44893a=_0x31532c[_0x460984(0x3a4)],_0x634bc4=_0x31532c[_0x460984(0x2dd)],_0x298e4f=this[_0x460984(0x1ff)];_0x31532c[_0x460984(0x1fd)]();for(var _0x177c76=[],_0x4fa9af=0x0;_0x4fa9af<_0x634bc4;_0x4fa9af+=0x3)for(var _0x17f90f=_0x44893a[_0x4fa9af>>>0x2]>>>0x18-_0x4fa9af%0x4*0x8&0xff,_0x172464=_0x44893a[_0x4fa9af+0x1>>>0x2]>>>0x18-(_0x4fa9af+0x1)%0x4*0x8&0xff,_0x3516ca=_0x44893a[_0x4fa9af+0x2>>>0x2]>>>0x18-(_0x4fa9af+0x2)%0x4*0x8&0xff,_0x15056a=_0x17f90f<<0x10|_0x172464<<0x8|_0x3516ca,_0x1ae7f4=0x0;_0x1ae7f4<0x4&&_0x4fa9af+_0x1ae7f4*0.75<_0x634bc4;_0x1ae7f4++)_0x177c76[_0x460984(0x45f)](_0x298e4f['charAt'](_0x15056a>>>0x6*(0x3-_0x1ae7f4)&0x3f));var _0x1d4f56=_0x298e4f['charAt'](0x40);if(_0x1d4f56){for(;_0x177c76[_0x460984(0x3f7)]%0x4;)_0x177c76['push'](_0x1d4f56);}return _0x177c76[_0x460984(0x43b)]('');},'parse':function(_0x1b789d){var _0x18af28=_0x114f9b,_0xf892a7=_0x1b789d['length'],_0x49893f=this['_map'],_0x4edf40=this[_0x18af28(0x348)];if(!_0x4edf40){_0x4edf40=this[_0x18af28(0x348)]=[];for(var _0x55a5d2=0x0;_0x55a5d2<_0x49893f[_0x18af28(0x3f7)];_0x55a5d2++)_0x4edf40[_0x49893f[_0x18af28(0x1e3)](_0x55a5d2)]=_0x55a5d2;}var _0x5c3a1c=_0x49893f[_0x18af28(0x25b)](0x40);if(_0x5c3a1c){var _0x282f80=_0x1b789d[_0x18af28(0x241)](_0x5c3a1c);_0x282f80!==-0x1&&(_0xf892a7=_0x282f80);}return _0x189fc8(_0x1b789d,_0xf892a7,_0x4edf40);},'_map':_0x114f9b(0x31a)};function _0x189fc8(_0x50f805,_0x85045,_0x2f19eb){var _0x16308d=_0x114f9b;for(var _0x3538ac=[],_0x3a1139=0x0,_0x17fd81=0x0;_0x17fd81<_0x85045;_0x17fd81++)if(_0x17fd81%0x4){var _0x44dd4f=_0x2f19eb[_0x50f805[_0x16308d(0x1e3)](_0x17fd81-0x1)]<<_0x17fd81%0x4*0x2,_0x3a39ff=_0x2f19eb[_0x50f805[_0x16308d(0x1e3)](_0x17fd81)]>>>0x6-_0x17fd81%0x4*0x2,_0x1282c7=_0x44dd4f|_0x3a39ff;_0x3538ac[_0x3a1139>>>0x2]|=_0x1282c7<<0x18-_0x3a1139%0x4*0x8,_0x3a1139++;}return _0xa4de7d[_0x16308d(0x1f5)](_0x3538ac,_0x3a1139);}}()),_0x5f5ae5['enc'][_0x1a1af1(0x3ac)];}));}(ge)),ge[_0x3391f0(0x505)];}var me={'exports':{}},ki=me[_0x440d83(0x505)],et;function Hi(){var _0xa42bf4=_0x440d83;return et||(et=0x1,function(_0x380910,_0x1d1b62){(function(_0xf187e3,_0xa41ce2){var _0x4bd7ed=_0x8679;_0x380910[_0x4bd7ed(0x505)]=_0xa41ce2(ee());}(ki,function(_0x2c57b8){return function(_0x44c4a8){var _0x48d620=_0x8679,_0x52927c=_0x2c57b8,_0x5d5ee0=_0x52927c[_0x48d620(0x22d)],_0xf47954=_0x5d5ee0['WordArray'],_0x2fe06a=_0x5d5ee0[_0x48d620(0x49e)],_0x59c5fa=_0x52927c[_0x48d620(0x3a5)],_0xa0a0d0=[];(function(){var _0x1157f0=_0x48d620;for(var _0x228e83=0x0;_0x228e83<0x40;_0x228e83++)_0xa0a0d0[_0x228e83]=_0x44c4a8[_0x1157f0(0x1b7)](_0x44c4a8[_0x1157f0(0x4f4)](_0x228e83+0x1))*0x100000000|0x0;}());var _0x2085f8=_0x59c5fa[_0x48d620(0x26d)]=_0x2fe06a[_0x48d620(0x2f6)]({'_doReset':function(){this['_hash']=new _0xf47954['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x40c156,_0x170687){var _0x3bf0aa=_0x48d620;for(var _0x25fd5c=0x0;_0x25fd5c<0x10;_0x25fd5c++){var _0x43c52f=_0x170687+_0x25fd5c,_0x3237f5=_0x40c156[_0x43c52f];_0x40c156[_0x43c52f]=(_0x3237f5<<0x8|_0x3237f5>>>0x18)&0xff00ff|(_0x3237f5<<0x18|_0x3237f5>>>0x8)&0xff00ff00;}var _0x3a2ad4=this[_0x3bf0aa(0x4df)]['words'],_0x582f1e=_0x40c156[_0x170687+0x0],_0x2b42a2=_0x40c156[_0x170687+0x1],_0x4a5b04=_0x40c156[_0x170687+0x2],_0x10021a=_0x40c156[_0x170687+0x3],_0xd37c12=_0x40c156[_0x170687+0x4],_0x372392=_0x40c156[_0x170687+0x5],_0x31205b=_0x40c156[_0x170687+0x6],_0x1931ee=_0x40c156[_0x170687+0x7],_0x24a419=_0x40c156[_0x170687+0x8],_0x518730=_0x40c156[_0x170687+0x9],_0x5d5584=_0x40c156[_0x170687+0xa],_0x58467b=_0x40c156[_0x170687+0xb],_0x3669ac=_0x40c156[_0x170687+0xc],_0x360e11=_0x40c156[_0x170687+0xd],_0x2ee052=_0x40c156[_0x170687+0xe],_0x558e9e=_0x40c156[_0x170687+0xf],_0x464b63=_0x3a2ad4[0x0],_0x557451=_0x3a2ad4[0x1],_0x5e37f7=_0x3a2ad4[0x2],_0x45cbe1=_0x3a2ad4[0x3];_0x464b63=_0x593f29(_0x464b63,_0x557451,_0x5e37f7,_0x45cbe1,_0x582f1e,0x7,_0xa0a0d0[0x0]),_0x45cbe1=_0x593f29(_0x45cbe1,_0x464b63,_0x557451,_0x5e37f7,_0x2b42a2,0xc,_0xa0a0d0[0x1]),_0x5e37f7=_0x593f29(_0x5e37f7,_0x45cbe1,_0x464b63,_0x557451,_0x4a5b04,0x11,_0xa0a0d0[0x2]),_0x557451=_0x593f29(_0x557451,_0x5e37f7,_0x45cbe1,_0x464b63,_0x10021a,0x16,_0xa0a0d0[0x3]),_0x464b63=_0x593f29(_0x464b63,_0x557451,_0x5e37f7,_0x45cbe1,_0xd37c12,0x7,_0xa0a0d0[0x4]),_0x45cbe1=_0x593f29(_0x45cbe1,_0x464b63,_0x557451,_0x5e37f7,_0x372392,0xc,_0xa0a0d0[0x5]),_0x5e37f7=_0x593f29(_0x5e37f7,_0x45cbe1,_0x464b63,_0x557451,_0x31205b,0x11,_0xa0a0d0[0x6]),_0x557451=_0x593f29(_0x557451,_0x5e37f7,_0x45cbe1,_0x464b63,_0x1931ee,0x16,_0xa0a0d0[0x7]),_0x464b63=_0x593f29(_0x464b63,_0x557451,_0x5e37f7,_0x45cbe1,_0x24a419,0x7,_0xa0a0d0[0x8]),_0x45cbe1=_0x593f29(_0x45cbe1,_0x464b63,_0x557451,_0x5e37f7,_0x518730,0xc,_0xa0a0d0[0x9]),_0x5e37f7=_0x593f29(_0x5e37f7,_0x45cbe1,_0x464b63,_0x557451,_0x5d5584,0x11,_0xa0a0d0[0xa]),_0x557451=_0x593f29(_0x557451,_0x5e37f7,_0x45cbe1,_0x464b63,_0x58467b,0x16,_0xa0a0d0[0xb]),_0x464b63=_0x593f29(_0x464b63,_0x557451,_0x5e37f7,_0x45cbe1,_0x3669ac,0x7,_0xa0a0d0[0xc]),_0x45cbe1=_0x593f29(_0x45cbe1,_0x464b63,_0x557451,_0x5e37f7,_0x360e11,0xc,_0xa0a0d0[0xd]),_0x5e37f7=_0x593f29(_0x5e37f7,_0x45cbe1,_0x464b63,_0x557451,_0x2ee052,0x11,_0xa0a0d0[0xe]),_0x557451=_0x593f29(_0x557451,_0x5e37f7,_0x45cbe1,_0x464b63,_0x558e9e,0x16,_0xa0a0d0[0xf]),_0x464b63=_0x529c50(_0x464b63,_0x557451,_0x5e37f7,_0x45cbe1,_0x2b42a2,0x5,_0xa0a0d0[0x10]),_0x45cbe1=_0x529c50(_0x45cbe1,_0x464b63,_0x557451,_0x5e37f7,_0x31205b,0x9,_0xa0a0d0[0x11]),_0x5e37f7=_0x529c50(_0x5e37f7,_0x45cbe1,_0x464b63,_0x557451,_0x58467b,0xe,_0xa0a0d0[0x12]),_0x557451=_0x529c50(_0x557451,_0x5e37f7,_0x45cbe1,_0x464b63,_0x582f1e,0x14,_0xa0a0d0[0x13]),_0x464b63=_0x529c50(_0x464b63,_0x557451,_0x5e37f7,_0x45cbe1,_0x372392,0x5,_0xa0a0d0[0x14]),_0x45cbe1=_0x529c50(_0x45cbe1,_0x464b63,_0x557451,_0x5e37f7,_0x5d5584,0x9,_0xa0a0d0[0x15]),_0x5e37f7=_0x529c50(_0x5e37f7,_0x45cbe1,_0x464b63,_0x557451,_0x558e9e,0xe,_0xa0a0d0[0x16]),_0x557451=_0x529c50(_0x557451,_0x5e37f7,_0x45cbe1,_0x464b63,_0xd37c12,0x14,_0xa0a0d0[0x17]),_0x464b63=_0x529c50(_0x464b63,_0x557451,_0x5e37f7,_0x45cbe1,_0x518730,0x5,_0xa0a0d0[0x18]),_0x45cbe1=_0x529c50(_0x45cbe1,_0x464b63,_0x557451,_0x5e37f7,_0x2ee052,0x9,_0xa0a0d0[0x19]),_0x5e37f7=_0x529c50(_0x5e37f7,_0x45cbe1,_0x464b63,_0x557451,_0x10021a,0xe,_0xa0a0d0[0x1a]),_0x557451=_0x529c50(_0x557451,_0x5e37f7,_0x45cbe1,_0x464b63,_0x24a419,0x14,_0xa0a0d0[0x1b]),_0x464b63=_0x529c50(_0x464b63,_0x557451,_0x5e37f7,_0x45cbe1,_0x360e11,0x5,_0xa0a0d0[0x1c]),_0x45cbe1=_0x529c50(_0x45cbe1,_0x464b63,_0x557451,_0x5e37f7,_0x4a5b04,0x9,_0xa0a0d0[0x1d]),_0x5e37f7=_0x529c50(_0x5e37f7,_0x45cbe1,_0x464b63,_0x557451,_0x1931ee,0xe,_0xa0a0d0[0x1e]),_0x557451=_0x529c50(_0x557451,_0x5e37f7,_0x45cbe1,_0x464b63,_0x3669ac,0x14,_0xa0a0d0[0x1f]),_0x464b63=_0x59b9c7(_0x464b63,_0x557451,_0x5e37f7,_0x45cbe1,_0x372392,0x4,_0xa0a0d0[0x20]),_0x45cbe1=_0x59b9c7(_0x45cbe1,_0x464b63,_0x557451,_0x5e37f7,_0x24a419,0xb,_0xa0a0d0[0x21]),_0x5e37f7=_0x59b9c7(_0x5e37f7,_0x45cbe1,_0x464b63,_0x557451,_0x58467b,0x10,_0xa0a0d0[0x22]),_0x557451=_0x59b9c7(_0x557451,_0x5e37f7,_0x45cbe1,_0x464b63,_0x2ee052,0x17,_0xa0a0d0[0x23]),_0x464b63=_0x59b9c7(_0x464b63,_0x557451,_0x5e37f7,_0x45cbe1,_0x2b42a2,0x4,_0xa0a0d0[0x24]),_0x45cbe1=_0x59b9c7(_0x45cbe1,_0x464b63,_0x557451,_0x5e37f7,_0xd37c12,0xb,_0xa0a0d0[0x25]),_0x5e37f7=_0x59b9c7(_0x5e37f7,_0x45cbe1,_0x464b63,_0x557451,_0x1931ee,0x10,_0xa0a0d0[0x26]),_0x557451=_0x59b9c7(_0x557451,_0x5e37f7,_0x45cbe1,_0x464b63,_0x5d5584,0x17,_0xa0a0d0[0x27]),_0x464b63=_0x59b9c7(_0x464b63,_0x557451,_0x5e37f7,_0x45cbe1,_0x360e11,0x4,_0xa0a0d0[0x28]),_0x45cbe1=_0x59b9c7(_0x45cbe1,_0x464b63,_0x557451,_0x5e37f7,_0x582f1e,0xb,_0xa0a0d0[0x29]),_0x5e37f7=_0x59b9c7(_0x5e37f7,_0x45cbe1,_0x464b63,_0x557451,_0x10021a,0x10,_0xa0a0d0[0x2a]),_0x557451=_0x59b9c7(_0x557451,_0x5e37f7,_0x45cbe1,_0x464b63,_0x31205b,0x17,_0xa0a0d0[0x2b]),_0x464b63=_0x59b9c7(_0x464b63,_0x557451,_0x5e37f7,_0x45cbe1,_0x518730,0x4,_0xa0a0d0[0x2c]),_0x45cbe1=_0x59b9c7(_0x45cbe1,_0x464b63,_0x557451,_0x5e37f7,_0x3669ac,0xb,_0xa0a0d0[0x2d]),_0x5e37f7=_0x59b9c7(_0x5e37f7,_0x45cbe1,_0x464b63,_0x557451,_0x558e9e,0x10,_0xa0a0d0[0x2e]),_0x557451=_0x59b9c7(_0x557451,_0x5e37f7,_0x45cbe1,_0x464b63,_0x4a5b04,0x17,_0xa0a0d0[0x2f]),_0x464b63=_0x2294aa(_0x464b63,_0x557451,_0x5e37f7,_0x45cbe1,_0x582f1e,0x6,_0xa0a0d0[0x30]),_0x45cbe1=_0x2294aa(_0x45cbe1,_0x464b63,_0x557451,_0x5e37f7,_0x1931ee,0xa,_0xa0a0d0[0x31]),_0x5e37f7=_0x2294aa(_0x5e37f7,_0x45cbe1,_0x464b63,_0x557451,_0x2ee052,0xf,_0xa0a0d0[0x32]),_0x557451=_0x2294aa(_0x557451,_0x5e37f7,_0x45cbe1,_0x464b63,_0x372392,0x15,_0xa0a0d0[0x33]),_0x464b63=_0x2294aa(_0x464b63,_0x557451,_0x5e37f7,_0x45cbe1,_0x3669ac,0x6,_0xa0a0d0[0x34]),_0x45cbe1=_0x2294aa(_0x45cbe1,_0x464b63,_0x557451,_0x5e37f7,_0x10021a,0xa,_0xa0a0d0[0x35]),_0x5e37f7=_0x2294aa(_0x5e37f7,_0x45cbe1,_0x464b63,_0x557451,_0x5d5584,0xf,_0xa0a0d0[0x36]),_0x557451=_0x2294aa(_0x557451,_0x5e37f7,_0x45cbe1,_0x464b63,_0x2b42a2,0x15,_0xa0a0d0[0x37]),_0x464b63=_0x2294aa(_0x464b63,_0x557451,_0x5e37f7,_0x45cbe1,_0x24a419,0x6,_0xa0a0d0[0x38]),_0x45cbe1=_0x2294aa(_0x45cbe1,_0x464b63,_0x557451,_0x5e37f7,_0x558e9e,0xa,_0xa0a0d0[0x39]),_0x5e37f7=_0x2294aa(_0x5e37f7,_0x45cbe1,_0x464b63,_0x557451,_0x31205b,0xf,_0xa0a0d0[0x3a]),_0x557451=_0x2294aa(_0x557451,_0x5e37f7,_0x45cbe1,_0x464b63,_0x360e11,0x15,_0xa0a0d0[0x3b]),_0x464b63=_0x2294aa(_0x464b63,_0x557451,_0x5e37f7,_0x45cbe1,_0xd37c12,0x6,_0xa0a0d0[0x3c]),_0x45cbe1=_0x2294aa(_0x45cbe1,_0x464b63,_0x557451,_0x5e37f7,_0x58467b,0xa,_0xa0a0d0[0x3d]),_0x5e37f7=_0x2294aa(_0x5e37f7,_0x45cbe1,_0x464b63,_0x557451,_0x4a5b04,0xf,_0xa0a0d0[0x3e]),_0x557451=_0x2294aa(_0x557451,_0x5e37f7,_0x45cbe1,_0x464b63,_0x518730,0x15,_0xa0a0d0[0x3f]),_0x3a2ad4[0x0]=_0x3a2ad4[0x0]+_0x464b63|0x0,_0x3a2ad4[0x1]=_0x3a2ad4[0x1]+_0x557451|0x0,_0x3a2ad4[0x2]=_0x3a2ad4[0x2]+_0x5e37f7|0x0,_0x3a2ad4[0x3]=_0x3a2ad4[0x3]+_0x45cbe1|0x0;},'_doFinalize':function(){var _0x136f0f=_0x48d620,_0x47eae7=this[_0x136f0f(0x29f)],_0x58d2cf=_0x47eae7['words'],_0x12ce67=this[_0x136f0f(0x3d8)]*0x8,_0x96f7dd=_0x47eae7[_0x136f0f(0x2dd)]*0x8;_0x58d2cf[_0x96f7dd>>>0x5]|=0x80<<0x18-_0x96f7dd%0x20;var _0x2d483c=_0x44c4a8[_0x136f0f(0x22f)](_0x12ce67/0x100000000),_0x1d78ce=_0x12ce67;_0x58d2cf[(_0x96f7dd+0x40>>>0x9<<0x4)+0xf]=(_0x2d483c<<0x8|_0x2d483c>>>0x18)&0xff00ff|(_0x2d483c<<0x18|_0x2d483c>>>0x8)&0xff00ff00,_0x58d2cf[(_0x96f7dd+0x40>>>0x9<<0x4)+0xe]=(_0x1d78ce<<0x8|_0x1d78ce>>>0x18)&0xff00ff|(_0x1d78ce<<0x18|_0x1d78ce>>>0x8)&0xff00ff00,_0x47eae7[_0x136f0f(0x2dd)]=(_0x58d2cf[_0x136f0f(0x3f7)]+0x1)*0x4,this[_0x136f0f(0x4cc)]();for(var _0x57c076=this[_0x136f0f(0x4df)],_0x26ebb9=_0x57c076[_0x136f0f(0x3a4)],_0x1c403f=0x0;_0x1c403f<0x4;_0x1c403f++){var _0x641863=_0x26ebb9[_0x1c403f];_0x26ebb9[_0x1c403f]=(_0x641863<<0x8|_0x641863>>>0x18)&0xff00ff|(_0x641863<<0x18|_0x641863>>>0x8)&0xff00ff00;}return _0x57c076;},'clone':function(){var _0x157245=_0x48d620,_0x543cd5=_0x2fe06a[_0x157245(0x32d)][_0x157245(0x340)](this);return _0x543cd5[_0x157245(0x4df)]=this[_0x157245(0x4df)][_0x157245(0x32d)](),_0x543cd5;}});function _0x593f29(_0x1a7708,_0x1e82f4,_0x4a1e4f,_0x1fac89,_0x4e9e39,_0x1768ab,_0x1b5c57){var _0x105a7c=_0x1a7708+(_0x1e82f4&_0x4a1e4f|~_0x1e82f4&_0x1fac89)+_0x4e9e39+_0x1b5c57;return(_0x105a7c<<_0x1768ab|_0x105a7c>>>0x20-_0x1768ab)+_0x1e82f4;}function _0x529c50(_0x288c7a,_0x7c7065,_0x4a4a47,_0x391760,_0x5a23ce,_0xbde1a7,_0x580176){var _0x130a54=_0x288c7a+(_0x7c7065&_0x391760|_0x4a4a47&~_0x391760)+_0x5a23ce+_0x580176;return(_0x130a54<<_0xbde1a7|_0x130a54>>>0x20-_0xbde1a7)+_0x7c7065;}function _0x59b9c7(_0x514370,_0x356775,_0x4023ab,_0x425bc9,_0x2e8086,_0x2e4ec3,_0x5cc1a0){var _0x2c5fd7=_0x514370+(_0x356775^_0x4023ab^_0x425bc9)+_0x2e8086+_0x5cc1a0;return(_0x2c5fd7<<_0x2e4ec3|_0x2c5fd7>>>0x20-_0x2e4ec3)+_0x356775;}function _0x2294aa(_0x2f73e4,_0xbcb8b9,_0x30e4d2,_0x48e76a,_0x59e537,_0x3a1537,_0x2b6a6a){var _0x1e0533=_0x2f73e4+(_0x30e4d2^(_0xbcb8b9|~_0x48e76a))+_0x59e537+_0x2b6a6a;return(_0x1e0533<<_0x3a1537|_0x1e0533>>>0x20-_0x3a1537)+_0xbcb8b9;}_0x52927c[_0x48d620(0x26d)]=_0x2fe06a[_0x48d620(0x27d)](_0x2085f8),_0x52927c[_0x48d620(0x1df)]=_0x2fe06a[_0x48d620(0x4f5)](_0x2085f8);}(Math),_0x2c57b8['MD5'];}));}(me)),me[_0xa42bf4(0x505)];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee['exports'],tt;function $i(){var _0x12e0cd=_0x440d83;return tt||(tt=0x1,function(_0x1ade0c,_0x546775){(function(_0x2269e9,_0x2cfd1f){var _0x547a08=_0x8679;_0x1ade0c[_0x547a08(0x505)]=_0x2cfd1f(ee());}(ji,function(_0x1fa4a5){return(function(){var _0x4fe185=_0x8679,_0x1d4a37=_0x1fa4a5,_0x530071=_0x1d4a37[_0x4fe185(0x22d)],_0x25a739=_0x530071['WordArray'],_0x3b382f=_0x530071[_0x4fe185(0x49e)],_0x54a5aa=_0x1d4a37[_0x4fe185(0x3a5)],_0x5ba16b=[],_0x45006e=_0x54a5aa[_0x4fe185(0x249)]=_0x3b382f[_0x4fe185(0x2f6)]({'_doReset':function(){this['_hash']=new _0x25a739['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4a98b9,_0x457ec5){var _0x4d14aa=_0x4fe185;for(var _0x53986a=this[_0x4d14aa(0x4df)][_0x4d14aa(0x3a4)],_0x5ef676=_0x53986a[0x0],_0x5f175d=_0x53986a[0x1],_0x23df8b=_0x53986a[0x2],_0x4cec08=_0x53986a[0x3],_0x4ab398=_0x53986a[0x4],_0x20eb96=0x0;_0x20eb96<0x50;_0x20eb96++){if(_0x20eb96<0x10)_0x5ba16b[_0x20eb96]=_0x4a98b9[_0x457ec5+_0x20eb96]|0x0;else{var _0x104f63=_0x5ba16b[_0x20eb96-0x3]^_0x5ba16b[_0x20eb96-0x8]^_0x5ba16b[_0x20eb96-0xe]^_0x5ba16b[_0x20eb96-0x10];_0x5ba16b[_0x20eb96]=_0x104f63<<0x1|_0x104f63>>>0x1f;}var _0x5f5ad6=(_0x5ef676<<0x5|_0x5ef676>>>0x1b)+_0x4ab398+_0x5ba16b[_0x20eb96];_0x20eb96<0x14?_0x5f5ad6+=(_0x5f175d&_0x23df8b|~_0x5f175d&_0x4cec08)+0x5a827999:_0x20eb96<0x28?_0x5f5ad6+=(_0x5f175d^_0x23df8b^_0x4cec08)+0x6ed9eba1:_0x20eb96<0x3c?_0x5f5ad6+=(_0x5f175d&_0x23df8b|_0x5f175d&_0x4cec08|_0x23df8b&_0x4cec08)-0x70e44324:_0x5f5ad6+=(_0x5f175d^_0x23df8b^_0x4cec08)-0x359d3e2a,_0x4ab398=_0x4cec08,_0x4cec08=_0x23df8b,_0x23df8b=_0x5f175d<<0x1e|_0x5f175d>>>0x2,_0x5f175d=_0x5ef676,_0x5ef676=_0x5f5ad6;}_0x53986a[0x0]=_0x53986a[0x0]+_0x5ef676|0x0,_0x53986a[0x1]=_0x53986a[0x1]+_0x5f175d|0x0,_0x53986a[0x2]=_0x53986a[0x2]+_0x23df8b|0x0,_0x53986a[0x3]=_0x53986a[0x3]+_0x4cec08|0x0,_0x53986a[0x4]=_0x53986a[0x4]+_0x4ab398|0x0;},'_doFinalize':function(){var _0x2a477d=_0x4fe185,_0x34d3dd=this[_0x2a477d(0x29f)],_0x3af24e=_0x34d3dd[_0x2a477d(0x3a4)],_0x39d462=this[_0x2a477d(0x3d8)]*0x8,_0x12751f=_0x34d3dd[_0x2a477d(0x2dd)]*0x8;return _0x3af24e[_0x12751f>>>0x5]|=0x80<<0x18-_0x12751f%0x20,_0x3af24e[(_0x12751f+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x39d462/0x100000000),_0x3af24e[(_0x12751f+0x40>>>0x9<<0x4)+0xf]=_0x39d462,_0x34d3dd[_0x2a477d(0x2dd)]=_0x3af24e[_0x2a477d(0x3f7)]*0x4,this[_0x2a477d(0x4cc)](),this['_hash'];},'clone':function(){var _0x43787f=_0x4fe185,_0x3b49e=_0x3b382f[_0x43787f(0x32d)][_0x43787f(0x340)](this);return _0x3b49e[_0x43787f(0x4df)]=this[_0x43787f(0x4df)][_0x43787f(0x32d)](),_0x3b49e;}});_0x1d4a37[_0x4fe185(0x249)]=_0x3b382f['_createHelper'](_0x45006e),_0x1d4a37['HmacSHA1']=_0x3b382f[_0x4fe185(0x4f5)](_0x45006e);}()),_0x1fa4a5['SHA1'];}));}(Ee)),Ee[_0x12e0cd(0x505)];}var Ce={'exports':{}},Bi=Ce['exports'],it;function Fi(){var _0x5afc99=_0x440d83;return it||(it=0x1,function(_0x34b574,_0x49464c){(function(_0x58ea90,_0xd19f9e){var _0xdc5359=_0x8679;_0x34b574[_0xdc5359(0x505)]=_0xd19f9e(ee());}(Bi,function(_0x3fc179){(function(){var _0xde5239=_0x8679,_0x1f7db2=_0x3fc179,_0xe94a0=_0x1f7db2[_0xde5239(0x22d)],_0x2c9499=_0xe94a0['Base'],_0x31220a=_0x1f7db2[_0xde5239(0x388)],_0x10203f=_0x31220a[_0xde5239(0x33a)],_0x5e93df=_0x1f7db2[_0xde5239(0x3a5)];_0x5e93df['HMAC']=_0x2c9499['extend']({'init':function(_0x493fbd,_0xcd8b89){var _0x425792=_0xde5239;_0x493fbd=this[_0x425792(0x1f3)]=new _0x493fbd['init'](),typeof _0xcd8b89==_0x425792(0x23e)&&(_0xcd8b89=_0x10203f['parse'](_0xcd8b89));var _0x5d4312=_0x493fbd['blockSize'],_0x745016=_0x5d4312*0x4;_0xcd8b89[_0x425792(0x2dd)]>_0x745016&&(_0xcd8b89=_0x493fbd[_0x425792(0x354)](_0xcd8b89)),_0xcd8b89[_0x425792(0x1fd)]();for(var _0x5f4a8d=this[_0x425792(0x4d6)]=_0xcd8b89[_0x425792(0x32d)](),_0x1a8074=this[_0x425792(0x203)]=_0xcd8b89['clone'](),_0x408b17=_0x5f4a8d['words'],_0x260d35=_0x1a8074[_0x425792(0x3a4)],_0xce591d=0x0;_0xce591d<_0x5d4312;_0xce591d++)_0x408b17[_0xce591d]^=0x5c5c5c5c,_0x260d35[_0xce591d]^=0x36363636;_0x5f4a8d[_0x425792(0x2dd)]=_0x1a8074[_0x425792(0x2dd)]=_0x745016,this['reset']();},'reset':function(){var _0x434d09=_0xde5239,_0x21edeb=this[_0x434d09(0x1f3)];_0x21edeb[_0x434d09(0x4b6)](),_0x21edeb[_0x434d09(0x4a7)](this[_0x434d09(0x203)]);},'update':function(_0x33f7d3){var _0x40c2f6=_0xde5239;return this[_0x40c2f6(0x1f3)][_0x40c2f6(0x4a7)](_0x33f7d3),this;},'finalize':function(_0x362e90){var _0xe5a5fe=_0xde5239,_0x3d067a=this[_0xe5a5fe(0x1f3)],_0x5e62c8=_0x3d067a[_0xe5a5fe(0x354)](_0x362e90);_0x3d067a[_0xe5a5fe(0x4b6)]();var _0x16fc8d=_0x3d067a[_0xe5a5fe(0x354)](this[_0xe5a5fe(0x4d6)][_0xe5a5fe(0x32d)]()[_0xe5a5fe(0x47a)](_0x5e62c8));return _0x16fc8d;}});}());}));}(Ce)),Ce[_0x5afc99(0x505)];}function _0x8679(_0x2919b9,_0x12f58c){var _0x5a0e9b=_0x5a0e();return _0x8679=function(_0x867918,_0x155df9){_0x867918=_0x867918-0x1ad;var _0x2b4940=_0x5a0e9b[_0x867918];return _0x2b4940;},_0x8679(_0x2919b9,_0x12f58c);}var Vi=Ie[_0x440d83(0x505)],nt;function At(){return nt||(nt=0x1,function(_0x30f2f1,_0x25fe2a){(function(_0x1c5cd1,_0xecf295,_0x105b92){var _0x4a911c=_0x8679;_0x30f2f1[_0x4a911c(0x505)]=_0xecf295(ee(),$i(),Fi());}(Vi,function(_0x510f32){var _0x260312=_0x8679;return(function(){var _0x3c0712=_0x8679,_0x1f557d=_0x510f32,_0x2904e6=_0x1f557d['lib'],_0x1a03c3=_0x2904e6['Base'],_0x4213a7=_0x2904e6['WordArray'],_0x54d514=_0x1f557d[_0x3c0712(0x3a5)],_0x30dc69=_0x54d514[_0x3c0712(0x26d)],_0x509802=_0x54d514['EvpKDF']=_0x1a03c3[_0x3c0712(0x2f6)]({'cfg':_0x1a03c3['extend']({'keySize':0x80/0x20,'hasher':_0x30dc69,'iterations':0x1}),'init':function(_0x4c6e6c){var _0x5b995=_0x3c0712;this[_0x5b995(0x1de)]=this[_0x5b995(0x1de)][_0x5b995(0x2f6)](_0x4c6e6c);},'compute':function(_0x50b4df,_0x48921e){var _0x32f0eb=_0x3c0712;for(var _0x4c6d5c,_0x21a07a=this['cfg'],_0x40688d=_0x21a07a[_0x32f0eb(0x226)]['create'](),_0x510092=_0x4213a7[_0x32f0eb(0x1f5)](),_0x46b1ec=_0x510092[_0x32f0eb(0x3a4)],_0x735394=_0x21a07a[_0x32f0eb(0x448)],_0x109ac7=_0x21a07a[_0x32f0eb(0x491)];_0x46b1ec[_0x32f0eb(0x3f7)]<_0x735394;){_0x4c6d5c&&_0x40688d['update'](_0x4c6d5c),_0x4c6d5c=_0x40688d[_0x32f0eb(0x4a7)](_0x50b4df)[_0x32f0eb(0x354)](_0x48921e),_0x40688d[_0x32f0eb(0x4b6)]();for(var _0x765c5d=0x1;_0x765c5d<_0x109ac7;_0x765c5d++)_0x4c6d5c=_0x40688d[_0x32f0eb(0x354)](_0x4c6d5c),_0x40688d[_0x32f0eb(0x4b6)]();_0x510092[_0x32f0eb(0x47a)](_0x4c6d5c);}return _0x510092['sigBytes']=_0x735394*0x4,_0x510092;}});_0x1f557d[_0x3c0712(0x24c)]=function(_0x17c050,_0x4072c2,_0x45049b){var _0x1f5b88=_0x3c0712;return _0x509802[_0x1f5b88(0x1f5)](_0x45049b)['compute'](_0x17c050,_0x4072c2);};}()),_0x510f32[_0x260312(0x24c)];}));}(Ie)),Ie['exports'];}var Te={'exports':{}},Wi=Te['exports'],rt;function Pt(){var _0xc5f9e3=_0x440d83;return rt||(rt=0x1,function(_0x111b2e,_0x523cbf){(function(_0x1cf123,_0xb68854,_0x42cdb0){_0x111b2e['exports']=_0xb68854(ee(),At());}(Wi,function(_0x161e6a){var _0x2d5712=_0x8679;_0x161e6a['lib'][_0x2d5712(0x28f)]||function(_0x12796e){var _0x557d47=_0x2d5712,_0x30cb8d=_0x161e6a,_0x4688f2=_0x30cb8d['lib'],_0xe3b6c9=_0x4688f2['Base'],_0x42fc2b=_0x4688f2[_0x557d47(0x4a0)],_0x21ce57=_0x4688f2[_0x557d47(0x357)],_0x5f018c=_0x30cb8d['enc'];_0x5f018c[_0x557d47(0x33a)];var _0x269731=_0x5f018c['Base64'],_0x5ea47b=_0x30cb8d['algo'],_0x53e4ff=_0x5ea47b[_0x557d47(0x24c)],_0x5949f3=_0x4688f2[_0x557d47(0x28f)]=_0x21ce57[_0x557d47(0x2f6)]({'cfg':_0xe3b6c9[_0x557d47(0x2f6)](),'createEncryptor':function(_0x359e14,_0x2b214e){var _0x3d755c=_0x557d47;return this[_0x3d755c(0x1f5)](this[_0x3d755c(0x303)],_0x359e14,_0x2b214e);},'createDecryptor':function(_0x2a7a81,_0x25b555){var _0x2dd47a=_0x557d47;return this['create'](this[_0x2dd47a(0x22c)],_0x2a7a81,_0x25b555);},'init':function(_0xee0919,_0x3e2350,_0x21ae5f){var _0x5497aa=_0x557d47;this['cfg']=this['cfg'][_0x5497aa(0x2f6)](_0x21ae5f),this['_xformMode']=_0xee0919,this[_0x5497aa(0x4c5)]=_0x3e2350,this[_0x5497aa(0x4b6)]();},'reset':function(){var _0x2bb1f6=_0x557d47;_0x21ce57[_0x2bb1f6(0x4b6)][_0x2bb1f6(0x340)](this),this[_0x2bb1f6(0x22e)]();},'process':function(_0x23cdde){var _0x1a470d=_0x557d47;return this[_0x1a470d(0x29c)](_0x23cdde),this[_0x1a470d(0x4cc)]();},'finalize':function(_0x1b6e2d){var _0x22c810=_0x557d47;_0x1b6e2d&&this[_0x22c810(0x29c)](_0x1b6e2d);var _0x278b9d=this[_0x22c810(0x3bb)]();return _0x278b9d;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xe6a76a(_0x3bdb46){var _0x44428a=_0x8679;return typeof _0x3bdb46==_0x44428a(0x23e)?_0x9c8e4d:_0x1c0f03;}return function(_0x35ad13){return{'encrypt':function(_0x33af69,_0x18e24b,_0x119664){var _0x12e353=_0x8679;return _0xe6a76a(_0x18e24b)[_0x12e353(0x254)](_0x35ad13,_0x33af69,_0x18e24b,_0x119664);},'decrypt':function(_0x2863b9,_0xabf923,_0x517107){return _0xe6a76a(_0xabf923)['decrypt'](_0x35ad13,_0x2863b9,_0xabf923,_0x517107);}};};}())});_0x4688f2['StreamCipher']=_0x5949f3[_0x557d47(0x2f6)]({'_doFinalize':function(){var _0x524be3=_0x557d47,_0x3e2db9=this[_0x524be3(0x4cc)](!0x0);return _0x3e2db9;},'blockSize':0x1});var _0x5548d9=_0x30cb8d[_0x557d47(0x3d5)]={},_0x1941f5=_0x4688f2['BlockCipherMode']=_0xe3b6c9[_0x557d47(0x2f6)]({'createEncryptor':function(_0x54cea0,_0x30d61f){var _0xb7b847=_0x557d47;return this[_0xb7b847(0x1e6)][_0xb7b847(0x1f5)](_0x54cea0,_0x30d61f);},'createDecryptor':function(_0x5b6cf3,_0x317cd7){var _0x23694d=_0x557d47;return this[_0x23694d(0x3be)][_0x23694d(0x1f5)](_0x5b6cf3,_0x317cd7);},'init':function(_0x33e0b6,_0xb1e0c6){var _0x11edf9=_0x557d47;this[_0x11edf9(0x46a)]=_0x33e0b6,this['_iv']=_0xb1e0c6;}}),_0x130758=_0x5548d9[_0x557d47(0x42c)]=(function(){var _0x12eab1=_0x557d47,_0x9ee021=_0x1941f5[_0x12eab1(0x2f6)]();_0x9ee021[_0x12eab1(0x1e6)]=_0x9ee021['extend']({'processBlock':function(_0x52e3d7,_0x411b05){var _0x46201b=_0x12eab1,_0x3cc54f=this[_0x46201b(0x46a)],_0x3f7d90=_0x3cc54f[_0x46201b(0x3f2)];_0xda8133[_0x46201b(0x340)](this,_0x52e3d7,_0x411b05,_0x3f7d90),_0x3cc54f[_0x46201b(0x4d4)](_0x52e3d7,_0x411b05),this['_prevBlock']=_0x52e3d7[_0x46201b(0x37f)](_0x411b05,_0x411b05+_0x3f7d90);}}),_0x9ee021[_0x12eab1(0x3be)]=_0x9ee021[_0x12eab1(0x2f6)]({'processBlock':function(_0x2dfe08,_0x1f2be7){var _0x132f5d=_0x12eab1,_0x30fe6a=this[_0x132f5d(0x46a)],_0x4d87d5=_0x30fe6a[_0x132f5d(0x3f2)],_0x3e347b=_0x2dfe08['slice'](_0x1f2be7,_0x1f2be7+_0x4d87d5);_0x30fe6a['decryptBlock'](_0x2dfe08,_0x1f2be7),_0xda8133[_0x132f5d(0x340)](this,_0x2dfe08,_0x1f2be7,_0x4d87d5),this[_0x132f5d(0x37d)]=_0x3e347b;}});function _0xda8133(_0x100a7d,_0x1b27b8,_0x129904){var _0x10b68c=_0x12eab1,_0x53ddc8,_0x318aac=this[_0x10b68c(0x352)];_0x318aac?(_0x53ddc8=_0x318aac,this[_0x10b68c(0x352)]=_0x12796e):_0x53ddc8=this[_0x10b68c(0x37d)];for(var _0x2b7a84=0x0;_0x2b7a84<_0x129904;_0x2b7a84++)_0x100a7d[_0x1b27b8+_0x2b7a84]^=_0x53ddc8[_0x2b7a84];}return _0x9ee021;}()),_0x553fcc=_0x30cb8d[_0x557d47(0x2d3)]={},_0x26561a=_0x553fcc['Pkcs7']={'pad':function(_0x50688f,_0x66ea48){var _0x2751bb=_0x557d47;for(var _0x5c2688=_0x66ea48*0x4,_0x5dc8c2=_0x5c2688-_0x50688f[_0x2751bb(0x2dd)]%_0x5c2688,_0x1e541c=_0x5dc8c2<<0x18|_0x5dc8c2<<0x10|_0x5dc8c2<<0x8|_0x5dc8c2,_0x296b10=[],_0x55ac50=0x0;_0x55ac50<_0x5dc8c2;_0x55ac50+=0x4)_0x296b10[_0x2751bb(0x45f)](_0x1e541c);var _0x4f800c=_0x42fc2b['create'](_0x296b10,_0x5dc8c2);_0x50688f['concat'](_0x4f800c);},'unpad':function(_0x574881){var _0x3f3ac1=_0x557d47,_0x347de6=_0x574881[_0x3f3ac1(0x3a4)][_0x574881['sigBytes']-0x1>>>0x2]&0xff;_0x574881['sigBytes']-=_0x347de6;}};_0x4688f2[_0x557d47(0x42f)]=_0x5949f3[_0x557d47(0x2f6)]({'cfg':_0x5949f3['cfg'][_0x557d47(0x2f6)]({'mode':_0x130758,'padding':_0x26561a}),'reset':function(){var _0x568fa6=_0x557d47,_0x3bcc66;_0x5949f3[_0x568fa6(0x4b6)]['call'](this);var _0x3b5565=this[_0x568fa6(0x1de)],_0x368889=_0x3b5565['iv'],_0x5c4997=_0x3b5565[_0x568fa6(0x3d5)];this[_0x568fa6(0x283)]==this[_0x568fa6(0x303)]?_0x3bcc66=_0x5c4997['createEncryptor']:(_0x3bcc66=_0x5c4997['createDecryptor'],this[_0x568fa6(0x2c1)]=0x1),this[_0x568fa6(0x498)]&&this[_0x568fa6(0x498)][_0x568fa6(0x359)]==_0x3bcc66?this[_0x568fa6(0x498)][_0x568fa6(0x2c5)](this,_0x368889&&_0x368889[_0x568fa6(0x3a4)]):(this[_0x568fa6(0x498)]=_0x3bcc66['call'](_0x5c4997,this,_0x368889&&_0x368889[_0x568fa6(0x3a4)]),this[_0x568fa6(0x498)][_0x568fa6(0x359)]=_0x3bcc66);},'_doProcessBlock':function(_0x3bed8f,_0xd903f2){var _0xfe004=_0x557d47;this[_0xfe004(0x498)][_0xfe004(0x38a)](_0x3bed8f,_0xd903f2);},'_doFinalize':function(){var _0x3f7b7f=_0x557d47,_0x3ad5a2,_0x2b8ccd=this[_0x3f7b7f(0x1de)][_0x3f7b7f(0x4d2)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x2b8ccd[_0x3f7b7f(0x2d3)](this[_0x3f7b7f(0x29f)],this[_0x3f7b7f(0x3f2)]),_0x3ad5a2=this[_0x3f7b7f(0x4cc)](!0x0)):(_0x3ad5a2=this[_0x3f7b7f(0x4cc)](!0x0),_0x2b8ccd[_0x3f7b7f(0x1d2)](_0x3ad5a2)),_0x3ad5a2;},'blockSize':0x80/0x20});var _0x1691c7=_0x4688f2['CipherParams']=_0xe3b6c9['extend']({'init':function(_0xc458ce){var _0xe1435f=_0x557d47;this[_0xe1435f(0x40f)](_0xc458ce);},'toString':function(_0xc109c5){var _0x326a04=_0x557d47;return(_0xc109c5||this['formatter'])[_0x326a04(0x1ec)](this);}}),_0x369a35=_0x30cb8d[_0x557d47(0x4b3)]={},_0x474aec=_0x369a35['OpenSSL']={'stringify':function(_0x24c1a0){var _0x5dbc21=_0x557d47,_0x385126,_0x472608=_0x24c1a0[_0x5dbc21(0x24a)],_0x4b6c8c=_0x24c1a0[_0x5dbc21(0x30d)];return _0x4b6c8c?_0x385126=_0x42fc2b['create']([0x53616c74,0x65645f5f])['concat'](_0x4b6c8c)[_0x5dbc21(0x47a)](_0x472608):_0x385126=_0x472608,_0x385126[_0x5dbc21(0x1da)](_0x269731);},'parse':function(_0x1c7321){var _0x3217b2=_0x557d47,_0x5fed8e,_0x4c9ba1=_0x269731[_0x3217b2(0x477)](_0x1c7321),_0x506599=_0x4c9ba1[_0x3217b2(0x3a4)];return _0x506599[0x0]==0x53616c74&&_0x506599[0x1]==0x65645f5f&&(_0x5fed8e=_0x42fc2b['create'](_0x506599[_0x3217b2(0x37f)](0x2,0x4)),_0x506599[_0x3217b2(0x35b)](0x0,0x4),_0x4c9ba1['sigBytes']-=0x10),_0x1691c7[_0x3217b2(0x1f5)]({'ciphertext':_0x4c9ba1,'salt':_0x5fed8e});}},_0x1c0f03=_0x4688f2[_0x557d47(0x3dc)]=_0xe3b6c9[_0x557d47(0x2f6)]({'cfg':_0xe3b6c9['extend']({'format':_0x474aec}),'encrypt':function(_0x479d47,_0x2d6716,_0x2414d6,_0x12fd9b){var _0x4e6b15=_0x557d47;_0x12fd9b=this[_0x4e6b15(0x1de)]['extend'](_0x12fd9b);var _0xd72ecf=_0x479d47[_0x4e6b15(0x370)](_0x2414d6,_0x12fd9b),_0x33601c=_0xd72ecf['finalize'](_0x2d6716),_0xdbd3db=_0xd72ecf[_0x4e6b15(0x1de)];return _0x1691c7[_0x4e6b15(0x1f5)]({'ciphertext':_0x33601c,'key':_0x2414d6,'iv':_0xdbd3db['iv'],'algorithm':_0x479d47,'mode':_0xdbd3db['mode'],'padding':_0xdbd3db[_0x4e6b15(0x4d2)],'blockSize':_0x479d47[_0x4e6b15(0x3f2)],'formatter':_0x12fd9b[_0x4e6b15(0x4b3)]});},'decrypt':function(_0x4d72f8,_0x3e619d,_0x477e32,_0x37104f){var _0x275886=_0x557d47;_0x37104f=this[_0x275886(0x1de)][_0x275886(0x2f6)](_0x37104f),_0x3e619d=this['_parse'](_0x3e619d,_0x37104f[_0x275886(0x4b3)]);var _0x2d0aee=_0x4d72f8['createDecryptor'](_0x477e32,_0x37104f)[_0x275886(0x354)](_0x3e619d[_0x275886(0x24a)]);return _0x2d0aee;},'_parse':function(_0x11e580,_0x1c8419){var _0x998ceb=_0x557d47;return typeof _0x11e580==_0x998ceb(0x23e)?_0x1c8419['parse'](_0x11e580,this):_0x11e580;}}),_0x1e0a98=_0x30cb8d[_0x557d47(0x3d7)]={},_0x401d27=_0x1e0a98[_0x557d47(0x259)]={'execute':function(_0x526325,_0x340ddd,_0x542ad5,_0x13b37d,_0xda5172){var _0x3cec91=_0x557d47;if(_0x13b37d||(_0x13b37d=_0x42fc2b['random'](0x40/0x8)),_0xda5172)var _0x3696e5=_0x53e4ff['create']({'keySize':_0x340ddd+_0x542ad5,'hasher':_0xda5172})['compute'](_0x526325,_0x13b37d);else var _0x3696e5=_0x53e4ff['create']({'keySize':_0x340ddd+_0x542ad5})[_0x3cec91(0x513)](_0x526325,_0x13b37d);var _0x20be36=_0x42fc2b[_0x3cec91(0x1f5)](_0x3696e5[_0x3cec91(0x3a4)][_0x3cec91(0x37f)](_0x340ddd),_0x542ad5*0x4);return _0x3696e5['sigBytes']=_0x340ddd*0x4,_0x1691c7['create']({'key':_0x3696e5,'iv':_0x20be36,'salt':_0x13b37d});}},_0x9c8e4d=_0x4688f2[_0x557d47(0x478)]=_0x1c0f03[_0x557d47(0x2f6)]({'cfg':_0x1c0f03['cfg'][_0x557d47(0x2f6)]({'kdf':_0x401d27}),'encrypt':function(_0x21ba69,_0x35e437,_0x2270b0,_0x3035f0){var _0x3502e0=_0x557d47;_0x3035f0=this[_0x3502e0(0x1de)][_0x3502e0(0x2f6)](_0x3035f0);var _0x1cfd3e=_0x3035f0[_0x3502e0(0x3d7)][_0x3502e0(0x474)](_0x2270b0,_0x21ba69['keySize'],_0x21ba69['ivSize'],_0x3035f0['salt'],_0x3035f0[_0x3502e0(0x226)]);_0x3035f0['iv']=_0x1cfd3e['iv'];var _0x5606e0=_0x1c0f03[_0x3502e0(0x254)][_0x3502e0(0x340)](this,_0x21ba69,_0x35e437,_0x1cfd3e['key'],_0x3035f0);return _0x5606e0[_0x3502e0(0x40f)](_0x1cfd3e),_0x5606e0;},'decrypt':function(_0x564aff,_0x8abfbc,_0x4d46e0,_0x5690bd){var _0x48b2f9=_0x557d47;_0x5690bd=this[_0x48b2f9(0x1de)]['extend'](_0x5690bd),_0x8abfbc=this[_0x48b2f9(0x4a1)](_0x8abfbc,_0x5690bd[_0x48b2f9(0x4b3)]);var _0x376920=_0x5690bd[_0x48b2f9(0x3d7)][_0x48b2f9(0x474)](_0x4d46e0,_0x564aff[_0x48b2f9(0x448)],_0x564aff[_0x48b2f9(0x4ad)],_0x8abfbc[_0x48b2f9(0x30d)],_0x5690bd[_0x48b2f9(0x226)]);_0x5690bd['iv']=_0x376920['iv'];var _0x28b725=_0x1c0f03[_0x48b2f9(0x515)]['call'](this,_0x564aff,_0x8abfbc,_0x376920['key'],_0x5690bd);return _0x28b725;}});}();}));}(Te)),Te[_0xc5f9e3(0x505)];}var Gi=fe[_0x440d83(0x505)],st;function Ki(){var _0x40aeb0=_0x440d83;return st||(st=0x1,function(_0x207bc8,_0x28154b){(function(_0x51fbd3,_0xd43bec,_0x29fef8){var _0x1bec28=_0x8679;_0x207bc8[_0x1bec28(0x505)]=_0xd43bec(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x334245){var _0x2687fc=_0x8679;return(function(){var _0x4a9454=_0x8679,_0x1e4e8c=_0x334245,_0x1e6f52=_0x1e4e8c[_0x4a9454(0x22d)],_0x8bc426=_0x1e6f52['BlockCipher'],_0x30c437=_0x1e4e8c[_0x4a9454(0x3a5)],_0x1f1bb8=[],_0x2e9257=[],_0x24dddd=[],_0x5a8439=[],_0x4cd33f=[],_0x3966bf=[],_0x29aabd=[],_0x2c8e78=[],_0x27f660=[],_0xf17a28=[];(function(){for(var _0x308b8d=[],_0x5b492c=0x0;_0x5b492c<0x100;_0x5b492c++)_0x5b492c<0x80?_0x308b8d[_0x5b492c]=_0x5b492c<<0x1:_0x308b8d[_0x5b492c]=_0x5b492c<<0x1^0x11b;for(var _0xc69944=0x0,_0x5da2e5=0x0,_0x5b492c=0x0;_0x5b492c<0x100;_0x5b492c++){var _0xe64246=_0x5da2e5^_0x5da2e5<<0x1^_0x5da2e5<<0x2^_0x5da2e5<<0x3^_0x5da2e5<<0x4;_0xe64246=_0xe64246>>>0x8^_0xe64246&0xff^0x63,_0x1f1bb8[_0xc69944]=_0xe64246,_0x2e9257[_0xe64246]=_0xc69944;var _0x5104bf=_0x308b8d[_0xc69944],_0x4147ea=_0x308b8d[_0x5104bf],_0x3f964a=_0x308b8d[_0x4147ea],_0x3706a2=_0x308b8d[_0xe64246]*0x101^_0xe64246*0x1010100;_0x24dddd[_0xc69944]=_0x3706a2<<0x18|_0x3706a2>>>0x8,_0x5a8439[_0xc69944]=_0x3706a2<<0x10|_0x3706a2>>>0x10,_0x4cd33f[_0xc69944]=_0x3706a2<<0x8|_0x3706a2>>>0x18,_0x3966bf[_0xc69944]=_0x3706a2;var _0x3706a2=_0x3f964a*0x1010101^_0x4147ea*0x10001^_0x5104bf*0x101^_0xc69944*0x1010100;_0x29aabd[_0xe64246]=_0x3706a2<<0x18|_0x3706a2>>>0x8,_0x2c8e78[_0xe64246]=_0x3706a2<<0x10|_0x3706a2>>>0x10,_0x27f660[_0xe64246]=_0x3706a2<<0x8|_0x3706a2>>>0x18,_0xf17a28[_0xe64246]=_0x3706a2,_0xc69944?(_0xc69944=_0x5104bf^_0x308b8d[_0x308b8d[_0x308b8d[_0x3f964a^_0x5104bf]]],_0x5da2e5^=_0x308b8d[_0x308b8d[_0x5da2e5]]):_0xc69944=_0x5da2e5=0x1;}}());var _0xe0fd64=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x46e9de=_0x30c437[_0x4a9454(0x216)]=_0x8bc426['extend']({'_doReset':function(){var _0xf2856b=_0x4a9454,_0x18438d;if(!(this[_0xf2856b(0x4a8)]&&this[_0xf2856b(0x3a2)]===this[_0xf2856b(0x4c5)])){for(var _0x26c64d=this[_0xf2856b(0x3a2)]=this[_0xf2856b(0x4c5)],_0x1b2a14=_0x26c64d[_0xf2856b(0x3a4)],_0x2a1b66=_0x26c64d[_0xf2856b(0x2dd)]/0x4,_0x15e50b=this[_0xf2856b(0x4a8)]=_0x2a1b66+0x6,_0x5d3562=(_0x15e50b+0x1)*0x4,_0x316a69=this[_0xf2856b(0x28d)]=[],_0x288da6=0x0;_0x288da6<_0x5d3562;_0x288da6++)_0x288da6<_0x2a1b66?_0x316a69[_0x288da6]=_0x1b2a14[_0x288da6]:(_0x18438d=_0x316a69[_0x288da6-0x1],_0x288da6%_0x2a1b66?_0x2a1b66>0x6&&_0x288da6%_0x2a1b66==0x4&&(_0x18438d=_0x1f1bb8[_0x18438d>>>0x18]<<0x18|_0x1f1bb8[_0x18438d>>>0x10&0xff]<<0x10|_0x1f1bb8[_0x18438d>>>0x8&0xff]<<0x8|_0x1f1bb8[_0x18438d&0xff]):(_0x18438d=_0x18438d<<0x8|_0x18438d>>>0x18,_0x18438d=_0x1f1bb8[_0x18438d>>>0x18]<<0x18|_0x1f1bb8[_0x18438d>>>0x10&0xff]<<0x10|_0x1f1bb8[_0x18438d>>>0x8&0xff]<<0x8|_0x1f1bb8[_0x18438d&0xff],_0x18438d^=_0xe0fd64[_0x288da6/_0x2a1b66|0x0]<<0x18),_0x316a69[_0x288da6]=_0x316a69[_0x288da6-_0x2a1b66]^_0x18438d);for(var _0x34ff53=this[_0xf2856b(0x47c)]=[],_0x10514a=0x0;_0x10514a<_0x5d3562;_0x10514a++){var _0x288da6=_0x5d3562-_0x10514a;if(_0x10514a%0x4)var _0x18438d=_0x316a69[_0x288da6];else var _0x18438d=_0x316a69[_0x288da6-0x4];_0x10514a<0x4||_0x288da6<=0x4?_0x34ff53[_0x10514a]=_0x18438d:_0x34ff53[_0x10514a]=_0x29aabd[_0x1f1bb8[_0x18438d>>>0x18]]^_0x2c8e78[_0x1f1bb8[_0x18438d>>>0x10&0xff]]^_0x27f660[_0x1f1bb8[_0x18438d>>>0x8&0xff]]^_0xf17a28[_0x1f1bb8[_0x18438d&0xff]];}}},'encryptBlock':function(_0x1dbd77,_0x1632cf){var _0x509f6c=_0x4a9454;this['_doCryptBlock'](_0x1dbd77,_0x1632cf,this[_0x509f6c(0x28d)],_0x24dddd,_0x5a8439,_0x4cd33f,_0x3966bf,_0x1f1bb8);},'decryptBlock':function(_0x10671a,_0x4e3574){var _0x5ea251=_0x4a9454,_0xa176b9=_0x10671a[_0x4e3574+0x1];_0x10671a[_0x4e3574+0x1]=_0x10671a[_0x4e3574+0x3],_0x10671a[_0x4e3574+0x3]=_0xa176b9,this[_0x5ea251(0x281)](_0x10671a,_0x4e3574,this[_0x5ea251(0x47c)],_0x29aabd,_0x2c8e78,_0x27f660,_0xf17a28,_0x2e9257);var _0xa176b9=_0x10671a[_0x4e3574+0x1];_0x10671a[_0x4e3574+0x1]=_0x10671a[_0x4e3574+0x3],_0x10671a[_0x4e3574+0x3]=_0xa176b9;},'_doCryptBlock':function(_0x1a66fa,_0x2be90c,_0x536fd4,_0x5e5151,_0x2e3486,_0x5c0cfa,_0x37c11d,_0x16334b){var _0x188b00=_0x4a9454;for(var _0x3912a6=this[_0x188b00(0x4a8)],_0x4575ea=_0x1a66fa[_0x2be90c]^_0x536fd4[0x0],_0x378668=_0x1a66fa[_0x2be90c+0x1]^_0x536fd4[0x1],_0x346bd8=_0x1a66fa[_0x2be90c+0x2]^_0x536fd4[0x2],_0x21c962=_0x1a66fa[_0x2be90c+0x3]^_0x536fd4[0x3],_0x224190=0x4,_0xd3a96=0x1;_0xd3a96<_0x3912a6;_0xd3a96++){var _0x1f2b65=_0x5e5151[_0x4575ea>>>0x18]^_0x2e3486[_0x378668>>>0x10&0xff]^_0x5c0cfa[_0x346bd8>>>0x8&0xff]^_0x37c11d[_0x21c962&0xff]^_0x536fd4[_0x224190++],_0x2befd1=_0x5e5151[_0x378668>>>0x18]^_0x2e3486[_0x346bd8>>>0x10&0xff]^_0x5c0cfa[_0x21c962>>>0x8&0xff]^_0x37c11d[_0x4575ea&0xff]^_0x536fd4[_0x224190++],_0x51f86e=_0x5e5151[_0x346bd8>>>0x18]^_0x2e3486[_0x21c962>>>0x10&0xff]^_0x5c0cfa[_0x4575ea>>>0x8&0xff]^_0x37c11d[_0x378668&0xff]^_0x536fd4[_0x224190++],_0x5b4ef0=_0x5e5151[_0x21c962>>>0x18]^_0x2e3486[_0x4575ea>>>0x10&0xff]^_0x5c0cfa[_0x378668>>>0x8&0xff]^_0x37c11d[_0x346bd8&0xff]^_0x536fd4[_0x224190++];_0x4575ea=_0x1f2b65,_0x378668=_0x2befd1,_0x346bd8=_0x51f86e,_0x21c962=_0x5b4ef0;}var _0x1f2b65=(_0x16334b[_0x4575ea>>>0x18]<<0x18|_0x16334b[_0x378668>>>0x10&0xff]<<0x10|_0x16334b[_0x346bd8>>>0x8&0xff]<<0x8|_0x16334b[_0x21c962&0xff])^_0x536fd4[_0x224190++],_0x2befd1=(_0x16334b[_0x378668>>>0x18]<<0x18|_0x16334b[_0x346bd8>>>0x10&0xff]<<0x10|_0x16334b[_0x21c962>>>0x8&0xff]<<0x8|_0x16334b[_0x4575ea&0xff])^_0x536fd4[_0x224190++],_0x51f86e=(_0x16334b[_0x346bd8>>>0x18]<<0x18|_0x16334b[_0x21c962>>>0x10&0xff]<<0x10|_0x16334b[_0x4575ea>>>0x8&0xff]<<0x8|_0x16334b[_0x378668&0xff])^_0x536fd4[_0x224190++],_0x5b4ef0=(_0x16334b[_0x21c962>>>0x18]<<0x18|_0x16334b[_0x4575ea>>>0x10&0xff]<<0x10|_0x16334b[_0x378668>>>0x8&0xff]<<0x8|_0x16334b[_0x346bd8&0xff])^_0x536fd4[_0x224190++];_0x1a66fa[_0x2be90c]=_0x1f2b65,_0x1a66fa[_0x2be90c+0x1]=_0x2befd1,_0x1a66fa[_0x2be90c+0x2]=_0x51f86e,_0x1a66fa[_0x2be90c+0x3]=_0x5b4ef0;},'keySize':0x100/0x20});_0x1e4e8c[_0x4a9454(0x216)]=_0x8bc426[_0x4a9454(0x27d)](_0x46e9de);}()),_0x334245[_0x2687fc(0x216)];}));}(fe)),fe[_0x40aeb0(0x505)];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x440d83(0x505)],at;function Xi(){return at||(at=0x1,function(_0x1d67ca,_0x36cf5f){(function(_0xb604f0,_0x38dcd2){var _0x50809e=_0x8679;_0x1d67ca[_0x50809e(0x505)]=_0x38dcd2(ee());}(Ji,function(_0x2f49dc){var _0x55e7ed=_0x8679;return _0x2f49dc[_0x55e7ed(0x388)][_0x55e7ed(0x33a)];}));}(be)),be['exports'];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x440d83(0x505)],ct;function tn(){return ct||(ct=0x1,function(_0x1ef234,_0x542647){(function(_0x2916f9,_0x4a7f3f){var _0x47755e=_0x8679;_0x1ef234[_0x47755e(0x505)]=_0x4a7f3f(ee());}(en,function(_0x3a8528){var _0x4ad55d=_0x8679;return(function(){var _0x5c0c2d=_0x8679;if(typeof ArrayBuffer==_0x5c0c2d(0x1dc)){var _0x3910e5=_0x3a8528,_0x27f7e1=_0x3910e5['lib'],_0x513d5f=_0x27f7e1[_0x5c0c2d(0x4a0)],_0x5846ed=_0x513d5f[_0x5c0c2d(0x2c5)],_0x33b3c8=_0x513d5f[_0x5c0c2d(0x2c5)]=function(_0x4d3e72){var _0x59a635=_0x5c0c2d;if(_0x4d3e72 instanceof ArrayBuffer&&(_0x4d3e72=new Uint8Array(_0x4d3e72)),(_0x4d3e72 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4d3e72 instanceof Uint8ClampedArray||_0x4d3e72 instanceof Int16Array||_0x4d3e72 instanceof Uint16Array||_0x4d3e72 instanceof Int32Array||_0x4d3e72 instanceof Uint32Array||_0x4d3e72 instanceof Float32Array||_0x4d3e72 instanceof Float64Array)&&(_0x4d3e72=new Uint8Array(_0x4d3e72[_0x59a635(0x3df)],_0x4d3e72[_0x59a635(0x2b4)],_0x4d3e72['byteLength'])),_0x4d3e72 instanceof Uint8Array){for(var _0x51c2af=_0x4d3e72[_0x59a635(0x3cb)],_0x263466=[],_0x2fd992=0x0;_0x2fd992<_0x51c2af;_0x2fd992++)_0x263466[_0x2fd992>>>0x2]|=_0x4d3e72[_0x2fd992]<<0x18-_0x2fd992%0x4*0x8;_0x5846ed[_0x59a635(0x340)](this,_0x263466,_0x51c2af);}else _0x5846ed[_0x59a635(0x304)](this,arguments);};_0x33b3c8[_0x5c0c2d(0x415)]=_0x513d5f;}}()),_0x3a8528[_0x4ad55d(0x22d)]['WordArray'];}));}(Re)),Re['exports'];}var nn=tn();const rn=Se(nn);var ye={'exports':{}},sn=ye[_0x440d83(0x505)],ht;function on(){var _0x5a5cd5=_0x440d83;return ht||(ht=0x1,function(_0x5766be,_0x5c355f){(function(_0x3a981c,_0x5f598d,_0x59150c){_0x5766be['exports']=_0x5f598d(ee(),Pt());}(sn,function(_0x2e2b1e){var _0x2f473f=_0x8679;return _0x2e2b1e['pad'][_0x2f473f(0x251)]={'pad':function(){},'unpad':function(){}},_0x2e2b1e[_0x2f473f(0x2d3)][_0x2f473f(0x251)];}));}(ye)),ye[_0x5a5cd5(0x505)];}var an=on();const cn=Se(an);function hn(_0x4a9e90,_0x21893a){var _0x266093=_0x440d83;const _0x50f3c2=_0x21893a-_0x4a9e90[_0x266093(0x3f7)]%_0x21893a,_0x479b43=String[_0x266093(0x2a8)](_0x50f3c2)[_0x266093(0x2cf)](_0x50f3c2);return _0x4a9e90+_0x479b43;}function ln(_0x5d3fe5,_0x30961f){var _0x1cb5f0=_0x440d83;const _0x929e60=rn[_0x1cb5f0(0x2e3)](0x10),_0xc61eb6=hn(_0x5d3fe5,0x10),_0x49b201=qi[_0x1cb5f0(0x254)](Qi[_0x1cb5f0(0x477)](_0xc61eb6),ot[_0x1cb5f0(0x477)](_0x30961f),{'iv':_0x929e60,'padding':cn});return _0x929e60[_0x1cb5f0(0x47a)](_0x49b201['ciphertext'])[_0x1cb5f0(0x1da)](ot);}function _n(){var _0x39841b=_0x440d83;const _0x415181=xt['getGlobalObject']()[_0x39841b(0x25e)];if(_0x415181){const _0x4e14c4={'time':Math[_0x39841b(0x22f)](Date[_0x39841b(0x204)]()/0x3e8),'domain':location[_0x39841b(0x4ca)]};return ln(JSON[_0x39841b(0x1ec)](_0x4e14c4),_0x415181);}}var un=Object[_0x440d83(0x4a6)],dn=(_0x3d5e50,_0x4d2ce8,_0x509225,_0x102ca1)=>{var _0xbbe23=_0x440d83;for(var _0x3632d5=_0x102ca1>0x1?void 0x0:_0x102ca1?un(_0x4d2ce8,_0x509225):_0x4d2ce8,_0x5d3e1c=_0x3d5e50[_0xbbe23(0x3f7)]-0x1,_0x1d57b0;_0x5d3e1c>=0x0;_0x5d3e1c--)(_0x1d57b0=_0x3d5e50[_0x5d3e1c])&&(_0x3632d5=_0x1d57b0(_0x3632d5)||_0x3632d5);return _0x3632d5;},vn=(_0x139a3d,_0x1fcbe8)=>(_0x1cf796,_0x295831)=>_0x1fcbe8(_0x1cf796,_0x295831,_0x139a3d);let Ne=class{constructor(_0x2d19cb){var _0x10d826=_0x440d83;this[_0x10d826(0x462)]=_0x2d19cb,this[_0x10d826(0x2f2)]();}[_0x440d83(0x2f2)](){var _0x51d274=_0x440d83;this[_0x51d274(0x462)][_0x51d274(0x30a)]({'interceptor':(_0xb4b4d,_0x3f478c)=>{var _0x358fa0=_0x51d274;const _0x432d9b=_0xb4b4d['headers'],_0x994b94=_n();return _0x994b94&&_0x432d9b[_0x358fa0(0x3eb)]('x-univer-host',_0x994b94),_0x3f478c(_0xb4b4d);}});}};Ne=dn([vn(0x0,a[_0x440d83(0x202)](q[_0x440d83(0x457)]))],Ne);var Sn=Object['getOwnPropertyDescriptor'],fn=(_0x4696ef,_0x24fae6,_0x57ffd9,_0x3a9392)=>{var _0x297aa6=_0x440d83;for(var _0x4a4a68=_0x3a9392>0x1?void 0x0:_0x3a9392?Sn(_0x24fae6,_0x57ffd9):_0x24fae6,_0x43cb36=_0x4696ef[_0x297aa6(0x3f7)]-0x1,_0x1121b9;_0x43cb36>=0x0;_0x43cb36--)(_0x1121b9=_0x4696ef[_0x43cb36])&&(_0x4a4a68=_0x1121b9(_0x4a4a68)||_0x4a4a68);return _0x4a4a68;},Me=(_0x2a356c,_0x486392)=>(_0x496896,_0x56482f)=>_0x486392(_0x496896,_0x56482f,_0x2a356c);exports[_0x440d83(0x1b9)]=class extends a[_0x440d83(0x444)]{constructor(_0x485ea1,_0x485843,_0xb7df2a){var _0x2cbbe8=_0x440d83;super(),A(this,_0x2cbbe8(0x298),new j[(_0x2cbbe8(0x3d2))](null)),A(this,_0x2cbbe8(0x437),this[_0x2cbbe8(0x298)]['asObservable']()),(this[_0x2cbbe8(0x3c1)]=_0x485ea1,this[_0x2cbbe8(0x44d)]=_0x485843,this['_localCacheService']=_0xb7df2a);}async[_0x440d83(0x1ef)](_0x3ce8e9,_0x451dca,_0x3b340b){var _0x32a711=_0x440d83;this[_0x32a711(0x298)][_0x32a711(0x500)]({'unitId':_0x3ce8e9,'type':_0x451dca,'subUnitId':_0x3b340b});let _0x6a6a27=null;switch(_0x451dca){case X['UNIVER_SHEET']:{_0x6a6a27=await this['_loadSheet'](_0x3ce8e9);break;}case X[_0x32a711(0x3a0)]:{_0x6a6a27=await this[_0x32a711(0x38c)](_0x3ce8e9);break;}default:{this[_0x32a711(0x3c1)][_0x32a711(0x1ba)]('[DataLoaderService]',_0x32a711(0x269));break;}}return _0x6a6a27;}async[_0x440d83(0x4bf)](_0x594d41){var _0x409c10=_0x440d83,_0x5a55f3;let _0x1418dd=0x0;const _0x219780=await((_0x5a55f3=this['_localCacheService'])==null?void 0x0:_0x5a55f3[_0x409c10(0x433)](_0x594d41));return _0x219780&&(_0x219780[_0x409c10(0x4ab)]||_0x219780[_0x409c10(0x4f9)][_0x409c10(0x3f7)]!==0x0)&&(_0x1418dd=_0x219780[_0x409c10(0x312)]),_0x1418dd===0x0&&this['_logService']['debug'](_0x409c10(0x49b),_0x409c10(0x450)),this[_0x409c10(0x44d)][_0x409c10(0x33c)](_0x594d41,_0x1418dd);}async[_0x440d83(0x38c)](_0x356115){var _0x43258d=_0x440d83,_0x475ed6;let _0x507711=0x0;const _0x57fdd6=await((_0x475ed6=this[_0x43258d(0x380)])==null?void 0x0:_0x475ed6['loadOfflineData'](_0x356115));return _0x57fdd6&&(_0x57fdd6[_0x43258d(0x4ab)]||_0x57fdd6['mutations'][_0x43258d(0x3f7)]!==0x0)&&(_0x507711=_0x57fdd6['rev']),_0x507711===0x0&&this['_logService']['debug']('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x43258d(0x44d)][_0x43258d(0x4b0)](_0x356115,_0x507711);}},exports[_0x440d83(0x1b9)]=fn([Me(0x0,a[_0x440d83(0x427)]),Me(0x1,a['Inject'](g[_0x440d83(0x2bb)])),Me(0x2,a[_0x440d83(0x4fb)](z))],exports['DataLoaderService']);var pn=Object['getOwnPropertyDescriptor'],gn=(_0x29e048,_0x37b11e,_0x196ae8,_0x3794fc)=>{var _0x5a306c=_0x440d83;for(var _0x516949=_0x3794fc>0x1?void 0x0:_0x3794fc?pn(_0x37b11e,_0x196ae8):_0x37b11e,_0x4f282d=_0x29e048[_0x5a306c(0x3f7)]-0x1,_0x5423e3;_0x4f282d>=0x0;_0x4f282d--)(_0x5423e3=_0x29e048[_0x4f282d])&&(_0x516949=_0x5423e3(_0x516949)||_0x516949);return _0x516949;},xe=(_0x5e002d,_0xf6c240)=>(_0x26e510,_0x1a1c04)=>_0xf6c240(_0x26e510,_0x1a1c04,_0x5e002d);const mn=['image/png',_0x440d83(0x307),'image/jpg','image/gif','image/bmp'],In=0x5*0x400*0x400,En=_0x440d83(0x506),Cn=_0x440d83(0x4b8),Tn=_0x440d83(0x2ff),bn='/universer-api/file/{fileID}/sign-url';exports[_0x440d83(0x3e6)]=class{constructor(_0xe87021,_0x2daf6a,_0x2cfb0a){var _0x26977c=_0x440d83;A(this,'_waitCount',0x0),A(this,_0x26977c(0x294),new j[(_0x26977c(0x1d9))]()),A(this,_0x26977c(0x2b8),this['_change$']),A(this,_0x26977c(0x20b),new Map()),(this[_0x26977c(0x462)]=_0xe87021,this[_0x26977c(0x4c8)]=_0x2daf6a,this['_univerInstanceService']=_0x2cfb0a);}[_0x440d83(0x24f)](_0x4c1fc9){var _0x135ada=_0x440d83;this['_waitCount']=_0x4c1fc9,this[_0x135ada(0x294)]['next'](_0x4c1fc9);}[_0x440d83(0x4da)](_0x412b67,_0x120cdc){var _0x109c92=_0x440d83;if(_0x120cdc===J['ImageSourceType'][_0x109c92(0x431)]){const _0x2ff30e=new Image();return _0x2ff30e[_0x109c92(0x501)]=_0x412b67,_0x2ff30e;}return this['_imageSourceCache'][_0x109c92(0x1e0)](_0x412b67);}[_0x440d83(0x3f9)](_0x304b7b,_0x28681,_0x377352){var _0x21bde7=_0x440d83;_0x28681===J[_0x21bde7(0x289)][_0x21bde7(0x431)]||_0x377352==null||this['_imageSourceCache'][_0x21bde7(0x3eb)](_0x304b7b,_0x377352);}async[_0x440d83(0x49f)](_0x5055b2){var _0x23cfa1=_0x440d83;try{const _0x436540=this['_replaceFileID'](this['_getSignURL'](),''+_0x5055b2),_0x53fd90=(await this['_httpService'][_0x23cfa1(0x1e0)](_0x436540))[_0x23cfa1(0x428)];if(_0x53fd90[_0x23cfa1(0x1ba)]&&_0x53fd90[_0x23cfa1(0x1ba)][_0x23cfa1(0x1c2)]===Ct['OK']){const _0x38e0db=new URL(_0x53fd90[_0x23cfa1(0x442)],this[_0x23cfa1(0x50a)]())['toString']();return Promise[_0x23cfa1(0x4a2)](_0x38e0db);}return Promise[_0x23cfa1(0x417)](_0x53fd90[_0x23cfa1(0x1ba)]);}catch(_0x3bb911){return Promise['reject'](_0x3bb911);}}async[_0x440d83(0x2d2)](_0x54ef9e){var _0x5a8364=_0x440d83;let _0x5208f3='';if(!mn['includes'](_0x54ef9e['type']))return this[_0x5a8364(0x3d0)](),Promise[_0x5a8364(0x417)](new Error(J['ImageUploadStatusType'][_0x5a8364(0x4ff)]));if(_0x54ef9e[_0x5a8364(0x3c4)]>In)return this[_0x5a8364(0x3d0)](),Promise[_0x5a8364(0x417)](new Error(J[_0x5a8364(0x1c5)][_0x5a8364(0x227)]));try{const _0x165468=new FormData();_0x165468[_0x5a8364(0x4c9)]('file',_0x54ef9e);const _0x922919=this['_univerInstanceService'][_0x5a8364(0x209)](),_0x4bd225=_0x922919==null?void 0x0:_0x922919[_0x5a8364(0x483)]();if(!_0x4bd225)throw new Error(_0x5a8364(0x391));const _0x531757=this[_0x5a8364(0x3b5)]()+'?size='+_0x54ef9e[_0x5a8364(0x3c4)][_0x5a8364(0x1da)]()+_0x5a8364(0x31e)+Tt[_0x5a8364(0x3b8)]+_0x5a8364(0x44e)+encodeURIComponent(_0x4bd225),_0x143aa8=await(await fetch(_0x531757,{'method':_0x5a8364(0x1c4),'body':_0x165468}))[_0x5a8364(0x389)]();if(typeof _0x143aa8[_0x5a8364(0x38e)]!=_0x5a8364(0x23e))return this[_0x5a8364(0x3d0)](),Promise[_0x5a8364(0x417)](new Error(J[_0x5a8364(0x1c5)][_0x5a8364(0x51e)]));_0x5208f3=_0x143aa8[_0x5a8364(0x38e)];}catch{return this[_0x5a8364(0x3d0)](),Promise[_0x5a8364(0x417)](new Error(J['ImageUploadStatusType']['ERROR_IMAGE']));}return new Promise((_0x54c1e4,_0x367589)=>{var _0x2da38d=_0x5a8364;const _0x13bf6c=new FileReader();_0x13bf6c[_0x2da38d(0x2c2)](_0x54ef9e),_0x13bf6c[_0x2da38d(0x309)]=_0x5629db=>{var _0x583fbb=_0x2da38d,_0x53fde5;const _0x4d0764=(_0x53fde5=_0x5629db[_0x583fbb(0x301)])==null?void 0x0:_0x53fde5[_0x583fbb(0x2d1)];if(_0x4d0764==null){this[_0x583fbb(0x3d0)](),_0x367589(new Error(J[_0x583fbb(0x1c5)][_0x583fbb(0x51e)]));return;}const _0x2b0b35=a[_0x583fbb(0x1d6)]['generateRandomId'](0x6);_0x54c1e4({'imageId':_0x2b0b35,'imageSourceType':J['ImageSourceType'][_0x583fbb(0x228)],'source':_0x5208f3,'base64Cache':_0x4d0764,'status':J['ImageUploadStatusType'][_0x583fbb(0x4c7)]}),this[_0x583fbb(0x3d0)]();};});}[_0x440d83(0x3b5)](){var _0x29a9be=_0x440d83,_0x5e14b1,_0x5e18c4;const _0x24de6e=this[_0x29a9be(0x4c8)][_0x29a9be(0x273)](En),_0x7adee1=this[_0x29a9be(0x4c8)]['getConfig'](Y);return(_0x5e18c4=(_0x5e14b1=_0x7adee1==null?void 0x0:_0x7adee1[_0x29a9be(0x2ce)])!=null?_0x5e14b1:_0x24de6e)!=null?_0x5e18c4:Cn;}['_getSignURL'](){var _0xa44f40=_0x440d83,_0x475070,_0x2c46ff;const _0x3aca3b=this['_configService'][_0xa44f40(0x273)](Tn),_0x98a344=this[_0xa44f40(0x4c8)][_0xa44f40(0x273)](Y);return(_0x2c46ff=(_0x475070=_0x98a344==null?void 0x0:_0x98a344[_0xa44f40(0x239)])!=null?_0x475070:_0x3aca3b)!=null?_0x2c46ff:bn;}[_0x440d83(0x50a)](){var _0x3abf3c=_0x440d83,_0x33d15f;const _0x53e849=this['_configService'][_0x3abf3c(0x273)](Y);return(_0x33d15f=_0x53e849==null?void 0x0:_0x53e849['downloadEndpointUrl'])!=null?_0x33d15f:location[_0x3abf3c(0x20a)];}['_replaceFileID'](_0x4000a5,_0x236a61){var _0x3b6338=_0x440d83;return _0x4000a5[_0x3b6338(0x347)](_0x3b6338(0x276),_0x236a61);}[_0x440d83(0x3d0)](){var _0x21facb=_0x440d83;this[_0x21facb(0x235)]-=0x1,this[_0x21facb(0x294)]['next'](this[_0x21facb(0x235)]);}},exports[_0x440d83(0x3e6)]=gn([xe(0x0,a[_0x440d83(0x202)](q[_0x440d83(0x457)])),xe(0x1,a[_0x440d83(0x24d)]),xe(0x2,a[_0x440d83(0x202)](a[_0x440d83(0x4be)]))],exports[_0x440d83(0x3e6)]);var Rn=Object[_0x440d83(0x4a6)],yn=(_0x2c9048,_0x16eac5,_0x5bda76,_0x1481ad)=>{var _0x3e9e94=_0x440d83;for(var _0x2ff8f2=_0x1481ad>0x1?void 0x0:_0x1481ad?Rn(_0x16eac5,_0x5bda76):_0x16eac5,_0x131363=_0x2c9048[_0x3e9e94(0x3f7)]-0x1,_0x18feba;_0x131363>=0x0;_0x131363--)(_0x18feba=_0x2c9048[_0x131363])&&(_0x2ff8f2=_0x18feba(_0x2ff8f2)||_0x2ff8f2);return _0x2ff8f2;},lt=(_0x31521d,_0x1d60bf)=>(_0x10284e,_0xe7d2ef)=>_0x1d60bf(_0x10284e,_0xe7d2ef,_0x31521d);const On=_0x440d83(0x245);exports[_0x440d83(0x284)]=class{constructor(_0x5277fc,_0x49ccd3){var _0x4b6e4e=_0x440d83;this['_configService']=_0x5277fc,this[_0x4b6e4e(0x3cd)]=_0x49ccd3;}[_0x440d83(0x2da)](){var _0x3218d1=_0x440d83,_0x2393c0,_0x1fff10;const _0x7ff039=this[_0x3218d1(0x4c8)][_0x3218d1(0x273)](Ge),_0x5d7a91=this[_0x3218d1(0x4c8)][_0x3218d1(0x273)](Y);return(_0x1fff10=(_0x2393c0=_0x5d7a91==null?void 0x0:_0x5d7a91['authzUrl'])!=null?_0x2393c0:_0x7ff039)!=null?_0x1fff10:On;}async[_0x440d83(0x336)](_0x4cc962){var _0x7e4b20=_0x440d83;const _0x2a7a37=this['_getAPIPrefixPath']()+_0x7e4b20(0x4b2);return{'list':[{'title':_0x7e4b20(0x3ee),'mentions':(await this['_HTTPService'][_0x7e4b20(0x1e0)](_0x2a7a37,{'params':{'objectID':_0x4cc962['unitId'],'unitID':_0x4cc962[_0x7e4b20(0x489)]}}))[_0x7e4b20(0x428)][_0x7e4b20(0x246)][_0x7e4b20(0x341)](_0x855db=>({'objectId':_0x855db['id'],'name':_0x855db[_0x7e4b20(0x293)][_0x7e4b20(0x481)],'metadata':{'icon':_0x855db['subject'][_0x7e4b20(0x344)]},'label':_0x855db['subject'][_0x7e4b20(0x481)],'objectType':a[_0x7e4b20(0x4aa)][_0x7e4b20(0x33d)]})),'metadata':{},'type':a['MentionType'][_0x7e4b20(0x33d)]}]};}},exports[_0x440d83(0x284)]=yn([lt(0x0,a[_0x440d83(0x202)](a['IConfigService'])),lt(0x1,a['Inject'](q[_0x440d83(0x457)]))],exports[_0x440d83(0x284)]);var Nn=Object[_0x440d83(0x4a6)],Dn=(_0x2bc022,_0x1404a6,_0x303152,_0x100242)=>{for(var _0xac0e15=_0x100242>0x1?void 0x0:_0x100242?Nn(_0x1404a6,_0x303152):_0x1404a6,_0x2a9b63=_0x2bc022['length']-0x1,_0xf29818;_0x2a9b63>=0x0;_0x2a9b63--)(_0xf29818=_0x2bc022[_0x2a9b63])&&(_0xac0e15=_0xf29818(_0xac0e15)||_0xac0e15);return _0xac0e15;},ue=(_0x1cb910,_0x54cfd6)=>(_0x7ec416,_0x51ff42)=>_0x54cfd6(_0x7ec416,_0x51ff42,_0x1cb910);let De=class extends a[_0x440d83(0x444)]{constructor(_0x475871,_0x1c3c3c,_0x51de0c,_0x56b1d0,_0x309bda){var _0x31441a=_0x440d83;super(),this['_injector']=_0x475871,this['_univerInstanceService']=_0x1c3c3c,this[_0x31441a(0x1d5)]=_0x51de0c,this[_0x31441a(0x21a)]=_0x56b1d0,this[_0x31441a(0x4c1)]=_0x309bda,this[_0x31441a(0x2ab)](),this[_0x31441a(0x26c)]();}[_0x440d83(0x26c)](){var _0x449245=_0x440d83;const _0x359421=async _0x4a6335=>{var _0x21a065=_0x8679;(await this[_0x21a065(0x21a)][_0x21a065(0x268)](_0x4a6335))[_0x21a065(0x400)][_0x21a065(0x34f)](V[_0x21a065(0x3c8)](_0x48bd16=>_0x48bd16['eventID']===g[_0x21a065(0x274)][_0x21a065(0x511)]),V[_0x21a065(0x358)](this[_0x21a065(0x1f4)]))['subscribe'](_0x37a753=>{var _0x379267=_0x21a065;const _0x52b94c=_0x37a753,{reason:_0x4165c4}=_0x52b94c['data'];this[_0x379267(0x4c1)][_0x379267(0x4db)]({'id':Q[_0x379267(0x4cb)],'data':_0x4165c4}),this[_0x379267(0x1d5)]['updatePermissionPoint'](new Z[(_0x379267(0x215))](_0x4a6335)['id'],!0x1),this[_0x379267(0x21a)][_0x379267(0x2b2)](_0x4a6335);});};j[_0x449245(0x3a8)](this['_univerInstanceService'][_0x449245(0x2c9)](a[_0x449245(0x3ca)][_0x449245(0x45e)]),this[_0x449245(0x2fe)][_0x449245(0x2c9)](a[_0x449245(0x3ca)][_0x449245(0x3a0)]))[_0x449245(0x34f)](V[_0x449245(0x341)](_0x5db6c6=>_0x5db6c6['getUnitId']()),V[_0x449245(0x3c8)](_0x33a507=>!a[_0x449245(0x335)](_0x33a507)),V[_0x449245(0x358)](this[_0x449245(0x1f4)]))[_0x449245(0x2e4)](_0x4fbf41=>{_0x359421(_0x4fbf41);});}['_initUnitPermissionChange'](){var _0x43a9d3=_0x440d83;const _0x2c4cc0=async _0x5a3134=>{var _0x40b190=_0x8679;const _0x376d79=await this[_0x40b190(0x21a)][_0x40b190(0x268)](_0x5a3134),_0x2b88de=this[_0x40b190(0x3aa)][_0x40b190(0x1e0)](Z[_0x40b190(0x509)]);_0x376d79[_0x40b190(0x400)][_0x40b190(0x34f)](V[_0x40b190(0x3c8)](_0x3799bc=>_0x3799bc['eventID']===g['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),V[_0x40b190(0x358)](this[_0x40b190(0x1f4)]))[_0x40b190(0x2e4)](_0x315e3e=>{var _0x520e37=_0x40b190;const _0x3c721d=_0x315e3e,{objectId:_0x590a25}=_0x3c721d['data'];_0x590a25===_0x5a3134?_0x2b88de[_0x520e37(0x305)](_0x5a3134):_0x2b88de[_0x520e37(0x232)](_0x5a3134,_0x590a25);});};j[_0x43a9d3(0x3a8)](this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x43a9d3(0x3ca)][_0x43a9d3(0x45e)]))['pipe'](V[_0x43a9d3(0x341)](_0x22bf04=>_0x22bf04[_0x43a9d3(0x483)]()),V[_0x43a9d3(0x3c8)](_0x1535de=>!a['isInternalEditorID'](_0x1535de)),V['takeUntil'](this[_0x43a9d3(0x1f4)]))[_0x43a9d3(0x2e4)](_0x2ee33b=>{_0x2c4cc0(_0x2ee33b);});}};De=Dn([ue(0x0,a[_0x440d83(0x202)](a['Injector'])),ue(0x1,a['IUniverInstanceService']),ue(0x2,a[_0x440d83(0x3ff)]),ue(0x3,a[_0x440d83(0x202)](exports[_0x440d83(0x1e9)])),ue(0x4,a[_0x440d83(0x202)](te))],De);var Un=Object[_0x440d83(0x4a6)],An=(_0x471410,_0x4d096c,_0x558560,_0x177ef4)=>{var _0x1d6e4b=_0x440d83;for(var _0x2330a3=_0x177ef4>0x1?void 0x0:_0x177ef4?Un(_0x4d096c,_0x558560):_0x4d096c,_0x59e6e5=_0x471410[_0x1d6e4b(0x3f7)]-0x1,_0xe2b3c8;_0x59e6e5>=0x0;_0x59e6e5--)(_0xe2b3c8=_0x471410[_0x59e6e5])&&(_0x2330a3=_0xe2b3c8(_0x2330a3)||_0x2330a3);return _0x2330a3;},_t=(_0x45a482,_0x38474f)=>(_0x3ee71a,_0x5c24b6)=>_0x38474f(_0x3ee71a,_0x5c24b6,_0x45a482);exports[_0x440d83(0x2d7)]=class{constructor(_0x2aeabe,_0x37574f){var _0x4e79ec=_0x440d83;this[_0x4e79ec(0x4c8)]=_0x2aeabe,this[_0x4e79ec(0x462)]=_0x37574f;}async[_0x440d83(0x361)](_0x3e3d63,_0x5c4f83){var _0x43a82b=_0x440d83,_0x50fc4c;const {unitID:_0x4ec5fe,type:_0x3b704e,revision:_0x513d55=0x0}=_0x5c4f83,_0x25b0b2=this[_0x43a82b(0x2d6)]()+'/'+_0x3b704e+_0x43a82b(0x2fc)+_0x4ec5fe+_0x43a82b(0x1f6)+_0x513d55,_0x1c9607=(await this[_0x43a82b(0x462)][_0x43a82b(0x1e0)](_0x25b0b2))[_0x43a82b(0x428)],_0x14526d=(_0x50fc4c=_0x1c9607[_0x43a82b(0x2e5)])==null?void 0x0:_0x50fc4c[_0x43a82b(0x3fa)];if(_0x14526d){const _0x1a5e5c=_0x14526d==null?void 0x0:_0x14526d[_0x43a82b(0x261)],_0x1653d9=g[_0x43a82b(0x26b)][_0x43a82b(0x3f0)](g[_0x43a82b(0x51c)](_0x1a5e5c));_0x14526d[_0x43a82b(0x261)]=_0x1653d9,Object[_0x43a82b(0x382)](_0x14526d[_0x43a82b(0x1b6)])['forEach'](([,_0x3f7bad])=>{var _0x1f4046=_0x43a82b;const _0x19b90b=_0x3f7bad[_0x1f4046(0x261)],_0x5ef378=g[_0x1f4046(0x26b)][_0x1f4046(0x3f0)](g[_0x1f4046(0x51c)](_0x19b90b));_0x3f7bad[_0x1f4046(0x261)]=_0x5ef378;});}return _0x1c9607;}async[_0x440d83(0x3dd)](_0x52edc6,_0x511670){var _0x16308f=_0x440d83;const {unitID:_0x12de46,type:_0x5387ac,blockID:_0x568135}=_0x511670,_0x17a115=this[_0x16308f(0x264)]()+'/'+_0x5387ac+'/unit/'+_0x12de46+_0x16308f(0x4b1)+_0x568135;return(await this['_httpService']['get'](_0x17a115))[_0x16308f(0x428)];}async[_0x440d83(0x1f9)](_0x168e84,_0x190dc4){var _0x3fbb1a=_0x440d83;const {unitID:_0x2900c1,type:_0x15b675,blockID:_0x1be0ba}=_0x190dc4,_0xfa53ff=this[_0x3fbb1a(0x264)]()+'/block/'+_0x15b675+'/unit/'+_0x2900c1+_0x3fbb1a(0x4b1)+_0x1be0ba;return(await this[_0x3fbb1a(0x462)][_0x3fbb1a(0x1e0)](_0xfa53ff))[_0x3fbb1a(0x428)];}async['fetchMissingChangesets'](_0xa48277,_0xe3f98b){var _0x2eeaec=_0x440d83;const {unitID:_0x4cb07a,type:_0x4a21b0,from:_0x237e1e,to:_0x4e6ba1}=_0xe3f98b,_0x2a9679=this[_0x2eeaec(0x264)]()+'/'+_0x4a21b0+_0x2eeaec(0x2fc)+_0x4cb07a+'/fetchmissing?from='+_0x237e1e+_0x2eeaec(0x2a0)+_0x4e6ba1;return(await this[_0x2eeaec(0x462)][_0x2eeaec(0x1e0)](_0x2a9679))[_0x2eeaec(0x428)];}[_0x440d83(0x2d6)](){var _0x176833;return(_0x176833=this['_configService']['getConfig'](vt))!=null?_0x176833:this['_getAPIPrefix']();}[_0x440d83(0x264)](){var _0x4a9128=_0x440d83,_0x446660,_0x3f7e18;const _0x1620ec=this[_0x4a9128(0x4c8)][_0x4a9128(0x273)](dt),_0x539b8b=this[_0x4a9128(0x4c8)][_0x4a9128(0x273)](Y);return(_0x3f7e18=(_0x446660=_0x539b8b==null?void 0x0:_0x539b8b[_0x4a9128(0x487)])!=null?_0x446660:_0x1620ec)!=null?_0x3f7e18:kt;}async[_0x440d83(0x332)](_0x8e4320,_0x313886){var _0x3f4255=_0x440d83;const _0x234492=_0x3f4255(0x470)+_0x313886[_0x3f4255(0x218)]+_0x3f4255(0x2fc)+_0x313886[_0x3f4255(0x2db)]+_0x3f4255(0x229);return(await this['_httpService'][_0x3f4255(0x1e0)](_0x234492,{'params':{'resourceId':JSON[_0x3f4255(0x1ec)](_0x313886['resourceIDs'])}}))['body'];}[_0x440d83(0x213)](){var _0x3a1d81=_0x440d83;throw new Error(_0x3a1d81(0x410));}[_0x440d83(0x1e2)](){var _0x54431f=_0x440d83;throw new Error(_0x54431f(0x410));}[_0x440d83(0x496)](){var _0xd235b=_0x440d83;throw new Error(_0xd235b(0x410));}['copyFileMeta'](){var _0x5bb6cd=_0x440d83;throw new Error(_0x5bb6cd(0x410));}[_0x440d83(0x333)](){var _0x218142=_0x440d83;throw new Error(_0x218142(0x410));}},exports[_0x440d83(0x2d7)]=An([_t(0x0,a[_0x440d83(0x24d)]),_t(0x1,a[_0x440d83(0x202)](q[_0x440d83(0x457)]))],exports[_0x440d83(0x2d7)]);var Pn=Object[_0x440d83(0x4a6)],wn=(_0x3c1488,_0x3c252f,_0x2e5d0f,_0x1cea70)=>{var _0x334008=_0x440d83;for(var _0x5e6bb8=_0x1cea70>0x1?void 0x0:_0x1cea70?Pn(_0x3c252f,_0x2e5d0f):_0x3c252f,_0x474aee=_0x3c1488[_0x334008(0x3f7)]-0x1,_0x16e481;_0x474aee>=0x0;_0x474aee--)(_0x16e481=_0x3c1488[_0x474aee])&&(_0x5e6bb8=_0x16e481(_0x5e6bb8)||_0x5e6bb8);return _0x5e6bb8;},de=(_0x2edc07,_0x452f24)=>(_0x3e5563,_0x142b57)=>_0x452f24(_0x3e5563,_0x142b57,_0x2edc07);exports[_0x440d83(0x1ca)]=class extends a[_0x440d83(0x438)]{constructor(_0x11490e,_0x18ef3e,_0x10b207,_0x3f0363,_0xe955c8){var _0x22252d=_0x440d83;super(_0x11490e,_0x18ef3e,_0x10b207),this[_0x22252d(0x503)]=_0x3f0363,this['_logService']=_0xe955c8;}[_0x440d83(0x3a3)](_0x8b3363,_0x14617e){var _0x3a22f9=_0x440d83;const _0x1cfe79=this[_0x3a22f9(0x1cd)](_0x8b3363);if(_0x1cfe79)try{const _0x5730aa=this[_0x3a22f9(0x2a1)](_0x1cfe79,_0x14617e);this[_0x3a22f9(0x43c)](_0x8b3363,_0x5730aa);}catch(_0x3515a9){this[_0x3a22f9(0x3c1)][_0x3a22f9(0x1ba)](_0x3a22f9(0x3ec),_0x3515a9),this[_0x3a22f9(0x2ee)](_0x8b3363);}const _0x54cf2c=this[_0x3a22f9(0x318)](_0x8b3363);if(_0x54cf2c)try{const _0x854e25=this[_0x3a22f9(0x2a1)](_0x54cf2c,_0x14617e);this[_0x3a22f9(0x2f3)](_0x8b3363,_0x854e25);}catch(_0x37d851){this[_0x3a22f9(0x3c1)][_0x3a22f9(0x1ba)](_0x37d851),this[_0x3a22f9(0x225)](_0x8b3363);}}['_clearUndo'](_0x3995dc){var _0x219bd4=_0x440d83;const _0x363bee=this[_0x219bd4(0x1cd)](_0x3995dc);_0x363bee&&(_0x363bee['length']=0x0,this[_0x219bd4(0x240)]());}['_clearRedo'](_0x285604){var _0x57cb52=_0x440d83;const _0x5714a6=this[_0x57cb52(0x318)](_0x285604);_0x5714a6&&(_0x5714a6[_0x57cb52(0x3f7)]=0x0,this['_updateStatus']());}[_0x440d83(0x43c)](_0x2c1311,_0x63048){var _0x1b1f29=_0x440d83;this['_undoStacks'][_0x1b1f29(0x3eb)](_0x2c1311,_0x63048),this[_0x1b1f29(0x240)]();}[_0x440d83(0x2f3)](_0x149fa1,_0x592e8f){var _0x10173a=_0x440d83;this['_redoStacks'][_0x10173a(0x3eb)](_0x149fa1,_0x592e8f),this[_0x10173a(0x240)]();}['_transformStack'](_0x2b3591,_0xb58de6){var _0x2df706=_0x440d83;const _0x47c90c=[];let _0x139c5e=_0xb58de6,_0x5f37bf=_0xb58de6;for(let _0x1a8b0a=_0x2b3591[_0x2df706(0x3f7)]-0x1;_0x1a8b0a>=0x0;_0x1a8b0a--){const {unitID:_0x33c465,undoMutations:_0x287fca,redoMutations:_0x49bb5a}=_0x2b3591[_0x1a8b0a],_0x5ba1c8=this['_transformService'][_0x2df706(0x1cc)](_0x139c5e,_0x287fca),_0x3196ae=this[_0x2df706(0x503)][_0x2df706(0x1cc)](_0x5f37bf,_0x49bb5a);if(g[_0x2df706(0x3e7)](_0x5ba1c8)||g[_0x2df706(0x3e7)](_0x3196ae)){this[_0x2df706(0x3c1)]['error'](_0x2df706(0x3ec),'transformStack\x20failed!',_0x5ba1c8,_0x3196ae);break;}_0x139c5e=_0x5ba1c8[_0x2df706(0x445)],_0x5f37bf=_0x3196ae[_0x2df706(0x445)],_0x47c90c[_0x2df706(0x45f)]({'unitID':_0x33c465,'undoMutations':_0x5ba1c8[_0x2df706(0x345)],'redoMutations':_0x3196ae[_0x2df706(0x345)]});}return _0x47c90c[_0x2df706(0x287)]();}},exports[_0x440d83(0x1ca)]=wn([de(0x0,a[_0x440d83(0x4be)]),de(0x1,a[_0x440d83(0x404)]),de(0x2,a[_0x440d83(0x39a)]),de(0x3,g[_0x440d83(0x2c4)]),de(0x4,a[_0x440d83(0x427)])],exports['CollaborativeUndoRedoService']);var Ln=Object[_0x440d83(0x27e)],Mn=Object['getOwnPropertyDescriptor'],xn=(_0x21ba27,_0x2fb0c6,_0x294ef1)=>_0x2fb0c6 in _0x21ba27?Ln(_0x21ba27,_0x2fb0c6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x294ef1}):_0x21ba27[_0x2fb0c6]=_0x294ef1,kn=(_0x3138b9,_0x262541,_0x54dc4c,_0x27531a)=>{var _0x19996a=_0x440d83;for(var _0x50597c=_0x27531a>0x1?void 0x0:_0x27531a?Mn(_0x262541,_0x54dc4c):_0x262541,_0x584ef1=_0x3138b9[_0x19996a(0x3f7)]-0x1,_0x35e1dd;_0x584ef1>=0x0;_0x584ef1--)(_0x35e1dd=_0x3138b9[_0x584ef1])&&(_0x50597c=_0x35e1dd(_0x50597c)||_0x50597c);return _0x50597c;},ke=(_0x2ea9f8,_0x1dda93)=>(_0x1eb8d0,_0x4b767b)=>_0x1dda93(_0x1eb8d0,_0x4b767b,_0x2ea9f8),Hn=(_0x54f479,_0x4b90cd,_0x2d4985)=>xn(_0x54f479,_0x4b90cd+'',_0x2d4985);const jn='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports['UniverCollaborationClientPlugin']=class extends a[_0x440d83(0x48a)]{constructor(_0x127bbd,_0x12ec36,_0x37c1cd,_0x1c9137){var _0x256630=_0x440d83;super(),A(this,_0x256630(0x200)),(this[_0x256630(0x3c1)]=_0x12ec36,this[_0x256630(0x3aa)]=_0x37c1cd,this[_0x256630(0x4c8)]=_0x1c9137);const {..._0x212c79}=a['merge']({},Jt,_0x127bbd);if(!_0x212c79[_0x256630(0x4ed)])throw new Error(_0x256630(0x272));this['_config']=_0x212c79,this[_0x256630(0x4c8)][_0x256630(0x252)](Y,_0x212c79);}[_0x440d83(0x211)](){var _0x552fa3=_0x440d83;this[_0x552fa3(0x526)](),this[_0x552fa3(0x1eb)]();}[_0x440d83(0x526)](){var _0x5bde8f=_0x440d83,_0xf196a1,_0x356681;this[_0x5bde8f(0x3aa)][_0x5bde8f(0x32f)](a[_0x5bde8f(0x488)])&&this[_0x5bde8f(0x3c1)][_0x5bde8f(0x1ba)](_0x5bde8f(0x3b4),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x527ecd=a[_0x5bde8f(0x26f)]([[a[_0x5bde8f(0x488)],{'useClass':exports[_0x5bde8f(0x1ca)]}],[exports[_0x5bde8f(0x1e9)]],[exports[_0x5bde8f(0x3c0)]],[exports[_0x5bde8f(0x21b)]],[Oe],[Ne],[Be],[De],[te],[exports[_0x5bde8f(0x1b9)]],[$e,{'useClass':this[_0x5bde8f(0x200)][_0x5bde8f(0x4ed)]}],[g['ISnapshotServerService'],{'useClass':exports[_0x5bde8f(0x2d7)]}],[a['IAuthzIoService'],{'useClass':exports['AuthzIoHttpService']}],[J[_0x5bde8f(0x317)],{'useClass':exports[_0x5bde8f(0x3e6)]}],[a[_0x5bde8f(0x30c)],{'useClass':exports['MentionIoHttpService']}],[exports['CollaborationController']],[He]],(_0xf196a1=this['_config'])==null?void 0x0:_0xf196a1[_0x5bde8f(0x3c7)]);if(!((_0x356681=this[_0x5bde8f(0x200)])!=null&&_0x356681[_0x5bde8f(0x275)])){const _0x8f4f95=_0x527ecd['findIndex'](([_0x1e7c4d])=>_0x1e7c4d===ve);_0x8f4f95!==-0x1&&_0x527ecd[_0x5bde8f(0x35b)](_0x8f4f95,0x1);}a[_0x5bde8f(0x2ed)](this['_injector'],_0x527ecd);}[_0x440d83(0x1eb)](){var _0x253c06=_0x440d83,_0x2b5c8c,_0x484ed8,_0x2cc845;this[_0x253c06(0x3aa)][_0x253c06(0x1e0)](q[_0x253c06(0x457)])[_0x253c06(0x30a)]({'priority':0x14,'interceptor':q[_0x253c06(0x39b)]({'maxParallel':0x6})}),(_0x2b5c8c=this['_config'])!=null&&_0x2b5c8c['enableOfflineEditing']||(_0x484ed8=this['_injector'][_0x253c06(0x1e0)](z,a[_0x253c06(0x343)][_0x253c06(0x4f1)]))==null||_0x484ed8[_0x253c06(0x372)](),(_0x2cc845=this[_0x253c06(0x200)])!=null&&_0x2cc845[_0x253c06(0x311)]&&a[_0x253c06(0x1f2)](this['_injector'],[[Oe]]),a['touchDependencies'](this['_injector'],[[Ne],[exports['CollaborationController']],[De]]);}},Hn(exports[_0x440d83(0x2cb)],_0x440d83(0x466),jn),exports[_0x440d83(0x2cb)]=kn([a[_0x440d83(0x1b1)](g['UniverCollaborationPlugin'],q[_0x440d83(0x1f1)]),ke(0x1,a[_0x440d83(0x427)]),ke(0x2,a[_0x440d83(0x202)](a[_0x440d83(0x2f4)])),ke(0x3,a['IConfigService'])],exports[_0x440d83(0x2cb)]),exports[_0x440d83(0x328)]=Ge,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports[_0x440d83(0x33f)]=It,exports['COLLAB_WEB_SOCKET_URL_KEY']=St,exports['CollaborationStatus']=Ve,exports[_0x440d83(0x50e)]=Q,exports[_0x440d83(0x2a3)]=te,exports[_0x440d83(0x24b)]=Be,exports[_0x440d83(0x23d)]=ft,exports[_0x440d83(0x3b2)]=zt,exports[_0x440d83(0x207)]=$t,exports[_0x440d83(0x2ae)]=pt,exports[_0x440d83(0x365)]=je,exports[_0x440d83(0x397)]=$e,exports['ILocalCacheService']=z,exports[_0x440d83(0x510)]=bt,exports[_0x440d83(0x4bd)]=ve,exports[_0x440d83(0x36f)]=Gt,exports[_0x440d83(0x41e)]=Wt,exports[_0x440d83(0x2c7)]=Et,exports[_0x440d83(0x28e)]=qt,exports[_0x440d83(0x420)]=mt,exports[_0x440d83(0x35c)]=Ht,exports['SNAPSHOT_SERVER_URL_KEY']=dt,exports[_0x440d83(0x1ed)]=vt,exports[_0x440d83(0x2e8)]=se,exports['UnitStatus']=Fe,exports[_0x440d83(0x390)]=Rt,exports[_0x440d83(0x485)]=vi,exports[_0x440d83(0x349)]=yt;
|
1
|
+
'use strict';var _0x30a490=_0x2a67;(function(_0x4e143a,_0x45b707){var _0x421105=_0x2a67,_0x39e05a=_0x4e143a();while(!![]){try{var _0x2445dd=parseInt(_0x421105(0x199))/0x1+-parseInt(_0x421105(0x1e3))/0x2+parseInt(_0x421105(0x1f6))/0x3*(parseInt(_0x421105(0x361))/0x4)+parseInt(_0x421105(0x205))/0x5*(parseInt(_0x421105(0x182))/0x6)+-parseInt(_0x421105(0x1d7))/0x7+-parseInt(_0x421105(0x218))/0x8+parseInt(_0x421105(0x458))/0x9*(parseInt(_0x421105(0x227))/0xa);if(_0x2445dd===_0x45b707)break;else _0x39e05a['push'](_0x39e05a['shift']());}catch(_0x1eac66){_0x39e05a['push'](_0x39e05a['shift']());}}}(_0x2b52,0xef5b8));var wt=Object[_0x30a490(0x1ba)],Lt=(_0x50ba79,_0x1579d4,_0x5b8884)=>_0x1579d4 in _0x50ba79?wt(_0x50ba79,_0x1579d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b8884}):_0x50ba79[_0x1579d4]=_0x5b8884,A=(_0x24763f,_0x2e42f5,_0x31fe1f)=>Lt(_0x24763f,typeof _0x2e42f5!='symbol'?_0x2e42f5+'':_0x2e42f5,_0x31fe1f);Object[_0x30a490(0x1ba)](exports,Symbol['toStringTag'],{'value':'Module'});function _0x2b52(){var _0xe3e671=['blockSize','_pendingMutations','resend','_substituteUndoStack','_resendTimer','_getAPIPrefix','_data','_getDownloadEndpointURL','_getRedoStack','loadOfflineData','addHandlerCallback','event$','get','onSyncEditingCollabCursor','length','SheetPermissionInitController','BlockCipherMode','_transformRemoteChangesetByIMECache','_collaborationPaused','focused$','slice','pauseCollaboration','_collaborationSessionService','socket$','_doFinalize','LocaleService','_awaitingChangeset','/allowed','getCollabEntity$','_univerInstanceService','x-univer-host','reduce','onRemoteRej','UNRECOGNIZED','_nDataBytes','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_getCtorByUniverType','/universer-api/stream/file/upload','_updateStatus','toDisposable','_disableEditing','_transformStateCache','session','csShouldRetryEvent','concat','setShowComponents','map','_commandService','UniverNetworkPlugin','ALREADY_EXISTS','_oKey','MentionType','Optional','conflict','_fetchMissChangesets','UUID','PY_RUNTIME_SCRIPT_ERROR','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','unitInfo$','fetchThroughInterceptors','JOIN','_members$','getWorkbookSelections','UniverInstanceType','_mode','executeCommand','_loadDoc','crypto','ERROR_EXCEED_SIZE','_httpService','YUUMI_URL_COL_OUT_OF_RANGE','INGEST','call','onRemoteChangeset','onMissingChangesets','_replayCachedMutations','RevisionService','_unitID','_executeRemoteChangeset','_config','OfflineState','transformStack\x20failed!','c1Prime','52pHCqPw','_permissionService','AUTHZ_URL_KEY','setWaitCount','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','onTransformRemoteChangesetByStateCache','isPermissionRej','LIVESHARE_FETCH_OPERATIONS','_doReset','getImageSourceCache','code','YUUMI_SUBSCRIPTION_NOT_FOUND','APPLY_REVISION_CONFILICT','_clearTimeoutTimer','MergeInterceptorFactory','readInt32LE','objects','_socket$','_timeoutTimer','LIVESHARE_OPERATION','random','interceptor','roles','concatMap','_networkConditionService','getCurrentUser','_keySchedule','TOO_MANY_REQUESTS','_stopTelemetryCollaborationNewChangeset','onSendChangeset','compute','_sheetTransformSelectionsService','sin','objectActions','_substituteRedoStack','ISingleActiveUnitService','rxjs/operators','Hasher','People','fetch_missing','_commentService','createSocket','AES','SNAPSHOT_INVALID_SNAPSHOT','complete','GLOBAL_ROOMS_CNT_EXCEEDS','open$','finalize','state','BlockCipher','getTypeOfUnitAdded$','transformMutationsWithChangeset','CollaborativeUndoRedoService','YUUMI_RATE_OVER_LIMIT','_entityInit$','onStateChange','state$','NoPadding','_getCurrentRevision','_logService','LOGIN_FAILED','PERMISSION_DENIED','rng','__Key__','_onOffline','enableOfflineEditing','?size=','@univerjs/telemetry','baseRev','_onConnectionOpen','format','subUnitId','Base','COLLAB_SUBMIT_CHANGESET_URL_KEY','__creator','charCodeAt','_lockTransition','fromCollab','Inject','_clearCollaborationTimeoutTimer','_key','@univerjs/docs','USER_NOT_INVITED_CODE','JOIN_ROOM_NOT_EXISTS','_collaborationTimeoutTimer','INTERNAL_ERROR','RxDisposable','JOIN_ROOM_FULL','LIVESHARE_REQUEST_HOST','FetchingMissState','ICommandService','HEARTBEAT','_createInitialState','cmd','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','byteLength','add','collaboration-client.config','commentUpdateEvent','createEncryptor','entries','SUBMIT_CHANGESET','_removeRoom','createIdentifier','mode','pad','Utf8','ISocketService','JSONX','updatePermissionPoint','&to=','_onRemoteRetry','members$','_getUploadFileURL','getDeserializedSheetBlock','getFocusedUnit','find','includes','_transformRemoteChangesetByStateCache','serializeCombRequest','deleteCollaborator','INVALID_INVITE_CODE','sessionStatus','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','message$','list','_retryConnectingTimer','_state$','/universer-api/snapshot/','touchDependencies','_doCreateSocket','_init','memberID','_transformService','saveChangeset','telemetry\x20info\x20is\x20not\x20initialized','JOIN_ROOM_FAILED','kdf','Encryptor','encrypt','_process','PendingState','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','create','Plugin','disposeWithMe','/universer-api/user/session-ticket','onTransformState','_map','UNAUTHENTICATED','stopTime','sequenceExecute','waitForRoom$','data','mapDocumentTypeToUniverType','_unitInfo$','location','DataLoaderService','retryConnectingInterval','/collaborator','_waitCount','enableSingleActiveInstanceLock','saveSnapshot','session.room-full','_sessionStatus$','[CollaborationState]:\x20apply\x20error!','_cipher','/object/','_onConnectionFailed','CHANGESET_ACK','CHANGESET_SHOULD_RETRY','status$','getTypeOfUnitDisposed$','_submitChangeset','ImageSourceType','MentionIoHttpService','PENDING','OTHER_CLIENT_EDITING','HMAC','UniverCollaborationClientPlugin','isTransformMutationsWithChangesetFailure','commentUpdate$','min','roomInfos','image/png','ConflictState','UNDEFINED','close','ITransformService','origin','copyFileMeta','Failed\x20to\x20update\x20permission\x20point','UnitEmbedded','resourceIDs','_roomMembers','onload','result','getUnitOnRev','CONFLICT','actions','_onJoinRoomEvent','/-/object/-/batch_allowed','title','UnitStatus','listCollaborators','objectType','_configService','_sender','objectID','ivSize','enc','_compressMutationService','getMemberID','liveShareNewHost','closeSession','subject','extend','deserializeToCombResponse','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','session.room-cnt-exceeds','send','reconnect','onTransformRemoteChangesetByIMECache','getCollabEntity','_sessions','close$','UNIVER_UNKNOWN','updateCollaborator','onRemoteRetry','unit-cache-','INetworkConditionService','getSheetBlock','allowed','_injector','_transitionLocked','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','save\x20fail\x20reason\x20is\x20','generateRandomId','RECV','[UniverCollaborationClientPlugin]','dispose$','loginUrlKey','Injector','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_localeService','snapshot','_members','2493wlDkHL','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','Disposable','_revisionService','take','SNAPSHOT_SERVER_URL_KEY','DEFAULT_FILE_NAME','workbook','/universer-api/oidc/authpage','put','_resendTimeout','_socketReady','_queuedRemoteChangesets','removeMember','IAuthzIoService','session.room-not-exists','/fetchmissing?from=','ERROR_IMAGE','_commentUpdate$','_onMessage','requireSession','SUBMIT_CHANGESET_TIMEOUT','image/gif','LICENSE_EXPORT_SIZE_EXCEEDED','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_transformSelections','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_getLoginPath','toString','routeKey','LICENSE_MAX_UNITS_EXCEEDED','CommentService','filter','function','synced','reset','SUCCUSS','SheetTransformSelectionsService','now','collaMsg','fromCharCode','sessionStatus$','_changesetReqId','_updateLocalCache','univer-pro.collaboration-client.network-condition.service','[CollaborationSessionService]','_incrementRevisionNumber','COMPLETION_FINISHED','update','AWAITING_WITH_PENDING','CollaborationUIEventService','_isPermissionRej','enableAuthServer','Tools','_sendHeartbeatTimer','_sendingTimer','isTransformChangesetsSuccess','_transformStack','revision','NO_OTHER_CLIENTS_EDITING','_decreaseWaiting','clone','UNIVER_COLLABORATION_CLIENT_PLUGIN','_rescheduleHeartbeat','_roomCreated$','b64DecodeUnicode','_userManagerService','USERS_LEAVE','SHA1','PSEUDO_FETCH_MISSING_RESULT','_sendHeartbeat','ws://127.0.0.1:8000/universer-api/comb/connect','_shouldReportTelemetry','lib','SessionStatus','SHOULD_CLOSE_CONN','_createHandler','set','updateCursorEvent','_updateState','withCredentials','dispose','_doCryptBlock','_initMergeInterceptor','originalMeta','OFFLINE','size','_DEC_XFORM_MODE','_createSocket','Base64','exports','_acknowledgedAwaitingChangeset','_waitForHeartbeatResponse','isArray','/universer-api/authz','_syncEditingCollabCursor','INVITE_CODE_HAS_BEEN_UES','ENSURE_SNAPSHOT_EXECUTION','JOIN_ROOM_PERMISSION_DENIED','collaborators','key','_onCombEvent','[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.','_undoRedoService','getUnitStatus$','FileId','padding','onTransformIME','INVALID_ARGUMENT','_checkMissing','[CollaborationUndoRedoService]','SetSelectionsOperation','UniverCollaborationPlugin','_handlerCallback','_onRemoteRejected','getMember','_prevBlock','SEND_CHANGESET_TIMEOUT_KEY','ThresholdInterceptorFactory','socketService','_onRemoteChangeset','leaveEvent','CollaborationImageIoService','YUUMI_UNABLE_LOAD_URL','EvpKDF','LICENSE_DISTRO_REJECTED','getImage','?url=','/universer-api/snapshot','HTTPRequest','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','createDecryptor','transformChangesets','updateMember','NOT_FOUND','_state','_onConflict','_doProcessBlock','_initCloseConn','_remoteChangesetQueue','_getUndoStack','selections','equals','onCommandExecuted','emitEvent','_applyRemoteChangeset','SheetCollaborationEntity','\x20in\x20_schedule.','Error\x20on\x20receiving\x20event','_xformMode','DependentOn','prototype','addImageSourceCache','_transformUndoredo','fetchMiss','BufferedBlockAlgorithm','FETCH_MISSING','_entities','_resendWithTimeout','\x20-\x20','body','COMPRESS_MUTATION_APPLY','POST','InsertSheetMutation','getRandomValues','every','670146ucKSLZ','iterations','setCurrentUser','_imageSourceCache','[OfflineState]:\x20received\x20rejection.','Subject','unknown','ITelemetryService','encryptBlock','editing\x20status\x20changed\x20to','toggleOnline','next','CollaborationStatus','collaboration-client.local-cache-service','ImageUploadStatusType','_tryReconnect','onLocalMutation','_singleActiveUnitService','FETCH_MISS','getValue','COLLAB_SUBMIT_CHANGESET_URL','getUnitId','COLLAB_WEB_SOCKET_URL','894046HCdTUe','SheetsSelectionsService','_redoStacks','session.room-permission-denied','CHANGESET_REVISION_CONFILICT','IPermissionService','image/jpeg','getUnitType','batchAllowed','rev','_localCacheService','/new_changes','WorkbookEditablePermission','_changesetSessionId','socket\x20close','[PendingState]:\x20received\x20acknowledgement.','editingUnit','getCurrentRevOfUnit','SOCKET_FAILED','reverse','CLOSE_ROOM','_showConflictNotification','cfg','init','$super','_getSendChangesetTimeout','ReplaySubject','updateOfflineData','createCollaborator','BehaviorSubject','indexOf','_initUnitPermissionChange','SnapshotServerOverHTTPService','defineProperty','auth.needGotoLoginAlert','_listenToNetworkCondition','MSG_FOR_ERROR','ICollaborationSocketService','disableLocalCache','randomUUID','keySize','unitId','randomBytes','CollaborationSocketService','clamp','SYNCED','catch','eventID','/universer-api/file/{fileID}/sign-url','words','_getSignURL','&assign=','clear','CollaborationEvent','_snapshotService','/object','FAIL','post','createInstance','_getAPIPrefixPath','/universer-api/uniscript','transformUndoRedo','11315542LEuOIf','_instanceService','fetching\x20missing\x20changesets\x20from\x20','HttpImport','_collabSessionService','_clearLocalCache','ISnapshotServerService','SyncedState','IImageIoService','hasher','OTHER_CLIENTS_EDITING','_reverseMap','3343264Gjlvoq','MD5','salt','requestParams','Hex','_socketMessageSubscription','csRejEvent','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','IUndoRedoService','@univerjs-pro/collaboration','LOCAL_CACHE_INTERVAL','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_replaceFileID','Decryptor','PERMISSION_REJ','debug','asObservable','_type','headers','265062gdJcgz','_exhaustRemoteChangesetQueue','_createInitialStateImpl','encode','floor','bind','changesets','APPLY_PERMISSION_DENIED','sigBytes','DEFAULT_COLLAB_WEB_SOCKET_URL','RichTextEditingMutation','[OfflineState]:\x20received\x20changeset.','_onRemoteACK','sid','UNIVER_DOC','65ZkwbXX','LIVESHARE_TERMINATE','string','delay','_append','localCacheService','IContextService','LOGIN_URL_KEY','registerHTTPInterceptor','mutations','_emitMembers','CollaborationSession','AuthzIoHttpService','parse','StreamCipher','saveImage','COMMENT_UPDATE','_onLocalMutation','_change$','5063744VrXbxV','_createHmacHelper','execute','IDLE','isTransformMutationsWithChangesetSuccess','_nRounds','MemberService','UNKNOWN_CODE','univer-pro.collaboration-client.single-active-unit-service','_invKeySchedule','mixIn','USERS_ENTER','append','has','[SyncedState]:\x20received\x20rejection.','50790LWTdeU','shareReplay','textEncoder','toggleOffline','name','capture','CollaborationController','merge','findIndex','Undefined','loadSheet','sendChangesetTimeout','_keyPriorReset','onTransformSelections','_eventService','forEach','getTime','downloadEndpointUrl','Quantity','AwaitingState','Cipher','_clearRetryConnectingTimer','parseProtocolChangeset','_hash','_clearHeartbeatTimer','hasOwnProperty','processBlock','NOT_COLLAB','href','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','HttpExport','isInternalEditorID','failed\x20to\x20apply\x20missed\x20changesets!','refreshPermission','registerDependencies','[SyncedState]:\x20received\x20acknowledgement.','reqId','CONNECTOR_DATA_TOO_LARGE','repeat','_status$','authzUrl','buffer','_initDependencies','LIVESHARE_NEW_HOST','sheets','apply','awaiting','infoRsp','abs','Malformed\x20UTF-8\x20data','entityInit$','_scheduleCompleteTimestamp','url','ceil','awaitingChangeset','_onUserLeave','putCollaborators','_clearRedo','getAllMembers','_onFetchMissResult','_toggleOffline','default','ONLINE','getSnapshotAPIPath','_candidateSocket','_startTelemetryCollaborationNewChangeset','image/bmp','_toggleOnline','SNAPSHOT_URL_KEY','_retryCount','src','params','m2Prime','HTTPService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','unitID','compose','NEW_CHANGESETS','SOCKET_FAILED_RETRY','/universer-api/comb','patch','UNIVER_SLIDE','duration','range','_clearScheduledTask','pluginName','parseChangesetToProtocol','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_memberService','getInterceptPoints','startTime','_telemetryService','APPLY_NON_SEQUENTIAL_REVISION','BASE64','takeUntil','pipe','readAsDataURL','userID','JOINING','values','getUnit','loadUnit','\x0aCurrent:\x20','_joinRoom','_iKey','__esModule','UserManagerService','/role','_undoStacks','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','INVITE_CODE_REQUIRED','[CollaborationSession]','replace','DocCollaborationEntity','type','target','_hasher','error','hostname','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','APPLY_REJECT','newCsEvent','offline','_telemetryInfo','formatter','UPDATE_CURSOR','_collaborationUIEventService','_transformIMECache','charAt','joinRsp','image/jpg','deepClone','push','connection\x20error','change$','unsubscribe','awaiting_with_pending','join','_throwTelemetryCollaborationNewChangeset','_loadSheet','decrypt','delete','submit\x20changeset\x20error!','UPDATE_PERMISSION_OBJ','saveSheetBlock','reject','UNISCRIPT_RUN','from','method','getConfig','responseType','/rev/','appendMutation','pending','localeService','getOwnPropertyDescriptor','CollaborationEntity','HELLO','error$','_unlockTransition','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','ILogService','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Workbook','INVITE_CODE_ALREADY_BOUND','[CollaborationSessionService]:\x20socket\x20error','DEFAULT_WS_SESSION_TICKET_URL','[OfflineState]:\x20received\x20acknowledgement.','IConfigService','HmacSHA1','ciphertext','_minBufferSize','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','subscribe','CHANGESET_REJ','session.join-failed','[PendingState]:\x20received\x20rejection.','_startCollaboration','_registerDependencies','WordArray','_ENC_XFORM_MODE','AWAITING','confirm','@univerjs/sheets','_onRecvEvent','not_collab','HEARTBEAT_INTERVAL','fetchMissingChangesets','onCommentUpdate','onStarting','CompressMutationService','SNAPSHOT_HAS_BEEN_REMOVED','_schedule','_HTTPService','CommandType','UnitSnapshot','CipherParams','AwaitingWithPendingState','splice','PERSON','msCrypto','getActiveSheet','LEAVE','[DataLoaderService]','UNIVER_SHEET','_snapshotServerService','_clearUndo','/block/','IUniverInstanceService','onMissedChangesetFetched','_onUserJoin','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_iv','status','_event$','CollaborationSessionService','/unit/','getGlobalObject','onRemoteAck','algo','_initRequestHeader','collabSubmitChangesetUrl','stringify','initWorkbookPermissionChange','APPLY_DUPLICATED','MUTATION','_handler','_createHelper','COLLAB_WEB_SOCKET_URL_KEY','_tryEnsureSocket','_socket'];_0x2b52=function(){return _0xe3e671;};return _0x2b52();}const a=require('@univerjs/core'),j=require('rxjs'),V=require(_0x30a490(0x385)),g=require(_0x30a490(0x1ec)),q=require('@univerjs/network'),Mt=require(_0x30a490(0x3a4)),ut=require(_0x30a490(0x3b2)),Z=require(_0x30a490(0x2de)),J=require('@univerjs/drawing'),xt=require('@univerjs-pro/license'),dt=_0x30a490(0x45e),kt=_0x30a490(0x4d9),vt=_0x30a490(0x26b),Ht='SEND_CHANGESET_TIMEOUT',jt=0x7d0,St=_0x30a490(0x198),ft=_0x30a490(0x4a0),$t=_0x30a490(0x3f3),pt=_0x30a490(0x2e1),Bt=0x7530,je='HEARTBEAT_TIMEOUT',gt=0x4e20,Ft=0x4e20,mt='RETRY_CONNECTING_MAX_COUNT',Vt=0x3,Wt=_0x30a490(0x1ed),Gt=0x3e8,It=_0x30a490(0x196),Kt=_0x30a490(0x276),Et=_0x30a490(0x20c),Yt=_0x30a490(0x461),qt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',zt=_0x30a490(0x1d5);var Ct=(_0x3791de=>(_0x3791de[_0x3791de[_0x30a490(0x41b)]=0x0]='UNDEFINED',_0x3791de[_0x3791de['OK']=0x1]='OK',_0x3791de[_0x3791de['INTERNAL_ERROR']=0x2]=_0x30a490(0x3b6),_0x3791de[_0x3791de[_0x30a490(0x39e)]=0x3]=_0x30a490(0x39e),_0x3791de[_0x3791de[_0x30a490(0x4df)]=0x4]=_0x30a490(0x4df),_0x3791de[_0x3791de[_0x30a490(0x3f6)]=0x5]=_0x30a490(0x3f6),_0x3791de[_0x3791de[_0x30a490(0x33f)]=0x6]=_0x30a490(0x33f),_0x3791de[_0x3791de['INVALID_ARGUMENT']=0x7]=_0x30a490(0x4c5),_0x3791de[_0x3791de[_0x30a490(0x37c)]=0x8]=_0x30a490(0x37c),_0x3791de[_0x3791de['COMPLETION_FINISHED']=0x9]=_0x30a490(0x488),_0x3791de[_0x3791de[_0x30a490(0x39d)]=0xa]=_0x30a490(0x39d),_0x3791de[_0x3791de[_0x30a490(0x19d)]=0x1389]=_0x30a490(0x19d),_0x3791de[_0x3791de[_0x30a490(0x38c)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3791de[_0x3791de[_0x30a490(0x2e6)]=0x1772]=_0x30a490(0x2e6),_0x3791de[_0x3791de[_0x30a490(0x4ba)]=0x1773]=_0x30a490(0x4ba),_0x3791de[_0x3791de[_0x30a490(0x29f)]=0x1b59]=_0x30a490(0x29f),_0x3791de[_0x3791de[_0x30a490(0x283)]=0x1b5a]=_0x30a490(0x283),_0x3791de[_0x3791de[_0x30a490(0x36d)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3791de[_0x3791de[_0x30a490(0x1fd)]=0x1b5c]=_0x30a490(0x1fd),_0x3791de[_0x3791de[_0x30a490(0x307)]=0x1b5d]='APPLY_DUPLICATED',_0x3791de[_0x3791de[_0x30a490(0x24c)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3791de[_0x3791de[_0x30a490(0x477)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3791de[_0x3791de[_0x30a490(0x1ee)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3791de[_0x3791de['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3791de[_0x3791de[_0x30a490(0x470)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3791de[_0x3791de[_0x30a490(0x4d6)]=0x232d]=_0x30a490(0x4d6),_0x3791de[_0x3791de['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x30a490(0x4d4),_0x3791de[_0x3791de[_0x30a490(0x354)]=0x2712]=_0x30a490(0x354),_0x3791de[_0x3791de[_0x30a490(0x396)]=0x2713]=_0x30a490(0x396),_0x3791de[_0x3791de[_0x30a490(0x36c)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3791de[_0x3791de[_0x30a490(0x346)]=0x2af9]=_0x30a490(0x346),_0x3791de[_0x3791de[_0x30a490(0x4b9)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x3791de[_0x3791de[_0x30a490(0x3da)]=0x2ee2]=_0x30a490(0x3da),_0x3791de[_0x3791de[_0x30a490(0x295)]=0x2ee3]=_0x30a490(0x295),_0x3791de[_0x3791de['USER_NOT_INVITED_CODE']=0x2ee4]=_0x30a490(0x3b3),_0x3791de[_0x3791de['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x30a490(0x2cb),_0x3791de[_0x3791de[_0x30a490(0x32f)]=-0x1]=_0x30a490(0x32f),_0x3791de))(Ct||{}),X=(_0x1650a1=>(_0x1650a1[_0x1650a1[_0x30a490(0x443)]=0x0]=_0x30a490(0x443),_0x1650a1[_0x1650a1[_0x30a490(0x204)]=0x1]=_0x30a490(0x204),_0x1650a1[_0x1650a1[_0x30a490(0x2f3)]=0x2]='UNIVER_SHEET',_0x1650a1[_0x1650a1['UNIVER_SLIDE']=0x3]=_0x30a490(0x278),_0x1650a1[_0x1650a1['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x1650a1[_0x1650a1[_0x30a490(0x32f)]=-0x1]=_0x30a490(0x32f),_0x1650a1))(X||{}),W=(_0x55cb04=>(_0x55cb04[_0x55cb04['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x55cb04[_0x55cb04[_0x30a490(0x2c4)]=0x1]=_0x30a490(0x2c4),_0x55cb04[_0x55cb04[_0x30a490(0x34a)]=0x2]=_0x30a490(0x34a),_0x55cb04[_0x55cb04[_0x30a490(0x2f1)]=0x3]=_0x30a490(0x2f1),_0x55cb04[_0x55cb04[_0x30a490(0x355)]=0x4]=_0x30a490(0x355),_0x55cb04[_0x55cb04[_0x30a490(0x3bc)]=0x5]=_0x30a490(0x3bc),_0x55cb04[_0x55cb04[_0x30a490(0x44f)]=0x6]=_0x30a490(0x44f),_0x55cb04[_0x55cb04[_0x30a490(0x32f)]=-0x1]=_0x30a490(0x32f),_0x55cb04))(W||{}),ae=(_0x398b17=>(_0x398b17[_0x398b17['UNKNOWN_CODE']=0x0]=_0x30a490(0x21f),_0x398b17[_0x398b17['OK']=0x1]='OK',_0x398b17[_0x398b17[_0x30a490(0x1d1)]=0x2]=_0x30a490(0x1d1),_0x398b17[_0x398b17[_0x30a490(0x3b8)]=0x3e9]=_0x30a490(0x3b8),_0x398b17[_0x398b17[_0x30a490(0x3b4)]=0x3ea]=_0x30a490(0x3b4),_0x398b17[_0x398b17[_0x30a490(0x4bb)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x398b17[_0x398b17[_0x30a490(0x38e)]=0x3ec]=_0x30a490(0x38e),_0x398b17[_0x398b17[_0x30a490(0x32f)]=-0x1]=_0x30a490(0x32f),_0x398b17))(ae||{}),Tt=(_0x4bb2e0=>(_0x4bb2e0[_0x4bb2e0[_0x30a490(0x230)]=0x0]=_0x30a490(0x230),_0x4bb2e0[_0x4bb2e0[_0x30a490(0x1da)]=0x1]=_0x30a490(0x1da),_0x4bb2e0[_0x4bb2e0[_0x30a490(0x245)]=0x2]=_0x30a490(0x245),_0x4bb2e0[_0x4bb2e0[_0x30a490(0x421)]=0x3]=_0x30a490(0x421),_0x4bb2e0[_0x4bb2e0[_0x30a490(0x2ea)]=0x4]=_0x30a490(0x2ea),_0x4bb2e0[_0x4bb2e0['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4bb2e0))(Tt||{});const Y=_0x30a490(0x3c2),Jt={};var Q=(_0x359278=>(_0x359278[_0x30a490(0x412)]=_0x30a490(0x412),_0x359278[_0x30a490(0x39e)]=_0x30a490(0x39e),_0x359278[_0x30a490(0x427)]=_0x30a490(0x427),_0x359278[_0x30a490(0x1ad)]=_0x30a490(0x1ad),_0x359278[_0x30a490(0x3e9)]=_0x30a490(0x3e9),_0x359278['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x359278['SOCKET_FAILED']=_0x30a490(0x1ab),_0x359278['SUBMIT_CHANGESET_TIMEOUT']=_0x30a490(0x46e),_0x359278))(Q||{});class te{constructor(){var _0x46fcba=_0x30a490;A(this,_0x46fcba(0x2fd),new j[(_0x46fcba(0x187))]()),A(this,'event$',this[_0x46fcba(0x2fd)][_0x46fcba(0x1f3)]());}['emitEvent'](_0x4953e4){var _0x214259=_0x30a490;this[_0x214259(0x2fd)][_0x214259(0x18d)](_0x4953e4);}}const bt=a[_0x30a490(0x3c8)](_0x30a490(0x485));function Rt(_0x27aaeb){var _0x90e7d9=_0x30a490,_0x481672,_0x41ac3c,_0x11c0f3,_0x574f01,_0x466c4e;const _0x39b4aa=_0x27aaeb['data'],_0x38f7f0=JSON['parse'](_0x39b4aa);switch(_0x38f7f0[_0x90e7d9(0x3be)]){case W[_0x90e7d9(0x3bc)]:case W['HELLO']:{const _0x2bf559=_0x38f7f0[_0x90e7d9(0x256)];return{..._0x38f7f0,'data':_0x2bf559,'cmd':_0x38f7f0[_0x90e7d9(0x3be)]};}case W[_0x90e7d9(0x34a)]:{const _0x1745d9=_0x38f7f0[_0x90e7d9(0x2a8)];return{..._0x38f7f0,'data':_0x1745d9,'cmd':_0x38f7f0['cmd']};}case W[_0x90e7d9(0x44f)]:{const _0x23ffae=_0x38f7f0[_0x90e7d9(0x480)];switch(_0x23ffae[_0x90e7d9(0x1c8)]){case g[_0x90e7d9(0x1ce)][_0x90e7d9(0x1f1)]:return{..._0x38f7f0,'data':{..._0x23ffae,'data':(_0x481672=_0x23ffae['permissionRejEvent'])==null?void 0x0:_0x481672['cs']},'cmd':_0x38f7f0['cmd']};case g['CollaborationEvent'][_0x90e7d9(0x40a)]:return{..._0x38f7f0,'data':{..._0x23ffae,'data':(_0x41ac3c=_0x23ffae['csAckEvent'])==null?void 0x0:_0x41ac3c['cs']},'cmd':_0x38f7f0['cmd']};case g[_0x90e7d9(0x1ce)][_0x90e7d9(0x274)]:return{..._0x38f7f0,'data':{..._0x23ffae,'data':(_0x11c0f3=_0x23ffae[_0x90e7d9(0x2a0)])==null?void 0x0:_0x11c0f3['cs']},'cmd':_0x38f7f0[_0x90e7d9(0x3be)]};case g[_0x90e7d9(0x1ce)][_0x90e7d9(0x2d5)]:return{..._0x38f7f0,'data':{..._0x23ffae,'data':(_0x574f01=_0x23ffae[_0x90e7d9(0x1e9)])==null?void 0x0:_0x574f01['cs']},'cmd':_0x38f7f0['cmd']};case g[_0x90e7d9(0x1ce)][_0x90e7d9(0x40b)]:return{..._0x38f7f0,'data':{..._0x23ffae,'data':(_0x466c4e=_0x23ffae[_0x90e7d9(0x339)])==null?void 0x0:_0x466c4e['cs']},'cmd':_0x38f7f0[_0x90e7d9(0x3be)]};case g[_0x90e7d9(0x1ce)][_0x90e7d9(0x2a4)]:return{..._0x38f7f0,'data':{..._0x23ffae,'data':_0x23ffae[_0x90e7d9(0x4a7)]},'cmd':_0x38f7f0[_0x90e7d9(0x3be)]};case g[_0x90e7d9(0x1ce)][_0x90e7d9(0x223)]:return{..._0x38f7f0,'data':{..._0x23ffae,'data':_0x23ffae['joinEvent']},'cmd':_0x38f7f0[_0x90e7d9(0x3be)]};case g[_0x90e7d9(0x1ce)][_0x90e7d9(0x49c)]:return{..._0x38f7f0,'data':{..._0x23ffae,'data':_0x23ffae[_0x90e7d9(0x4d2)]},'cmd':_0x38f7f0[_0x90e7d9(0x3be)]};case g['CollaborationEvent']['LIVESHARE_NEW_HOST']:return{..._0x38f7f0,'data':{..._0x23ffae,'data':_0x23ffae['liveShareNewHost']},'cmd':_0x38f7f0[_0x90e7d9(0x3be)]};case g['CollaborationEvent'][_0x90e7d9(0x368)]:case g[_0x90e7d9(0x1ce)][_0x90e7d9(0x374)]:return{..._0x38f7f0,'data':{..._0x23ffae,'data':_0x23ffae['liveShareOperation']},'cmd':_0x38f7f0[_0x90e7d9(0x3be)]};case g['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x38f7f0,'data':{..._0x23ffae,'data':_0x23ffae[_0x90e7d9(0x436)]},'cmd':_0x38f7f0[_0x90e7d9(0x3be)]};case g[_0x90e7d9(0x1ce)]['MSG_FOR_ERROR']:return{..._0x38f7f0,'data':_0x23ffae,'cmd':_0x38f7f0['cmd']};case g[_0x90e7d9(0x1ce)][_0x90e7d9(0x215)]:return{..._0x38f7f0,'data':{..._0x23ffae,'data':_0x23ffae[_0x90e7d9(0x3c3)]},'cmd':_0x38f7f0['cmd']};case g[_0x90e7d9(0x1ce)]['UPDATE_PERMISSION_OBJ']:return{..._0x38f7f0,'data':{..._0x23ffae,'data':_0x23ffae['updatePermissionObjEvent']},'cmd':_0x38f7f0[_0x90e7d9(0x3be)]};case g['CollaborationEvent'][_0x90e7d9(0x4a4)]:return{..._0x38f7f0,'data':{..._0x23ffae,'data':_0x23ffae['shouldCloseConn']},'cmd':_0x38f7f0[_0x90e7d9(0x3be)]};case g[_0x90e7d9(0x1ce)]['UNISCRIPT_RUN']:return{..._0x38f7f0,'data':{..._0x23ffae,'data':_0x23ffae['uniscriptRunEvent']},'cmd':_0x38f7f0[_0x90e7d9(0x3be)]};default:return _0x38f7f0;}}default:return _0x38f7f0;}}function yt(_0x2674d6){var _0x4fcb6a=_0x30a490;switch(_0x2674d6[_0x4fcb6a(0x3be)]){case W[_0x4fcb6a(0x3bc)]:case W[_0x4fcb6a(0x2c4)]:return JSON['stringify']({'cmd':_0x2674d6[_0x4fcb6a(0x3be)],'routeKey':_0x2674d6[_0x4fcb6a(0x476)]});case W[_0x4fcb6a(0x355)]:{let _0x168555;switch(_0x2674d6[_0x4fcb6a(0x3fa)][_0x4fcb6a(0x1c8)]){case g[_0x4fcb6a(0x1ce)]['UPDATE_CURSOR']:{_0x168555={'eventID':g[_0x4fcb6a(0x1ce)]['UPDATE_CURSOR'],'updateCursorEvent':_0x2674d6['data'][_0x4fcb6a(0x3fa)]};break;}case g['CollaborationEvent'][_0x4fcb6a(0x49c)]:{_0x168555={'eventID':g[_0x4fcb6a(0x1ce)]['USERS_LEAVE'],'leaveEvent':_0x2674d6[_0x4fcb6a(0x3fa)][_0x4fcb6a(0x3fa)]};break;}case g[_0x4fcb6a(0x1ce)][_0x4fcb6a(0x223)]:{_0x168555={'eventID':g['CollaborationEvent'][_0x4fcb6a(0x223)],'joinEvent':_0x2674d6[_0x4fcb6a(0x3fa)]['data']};break;}case g[_0x4fcb6a(0x1ce)][_0x4fcb6a(0x252)]:{_0x168555={'eventID':g[_0x4fcb6a(0x1ce)][_0x4fcb6a(0x252)],'liveShareNewHost':_0x2674d6['data'][_0x4fcb6a(0x3fa)]};break;}case g[_0x4fcb6a(0x1ce)][_0x4fcb6a(0x374)]:{_0x168555={'eventID':g[_0x4fcb6a(0x1ce)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x2674d6[_0x4fcb6a(0x3fa)][_0x4fcb6a(0x3fa)]};break;}case g[_0x4fcb6a(0x1ce)][_0x4fcb6a(0x206)]:{_0x168555={'eventID':g[_0x4fcb6a(0x1ce)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x2674d6[_0x4fcb6a(0x3fa)][_0x4fcb6a(0x3fa)]};break;}case g['CollaborationEvent'][_0x4fcb6a(0x3b9)]:{_0x168555={'eventID':g[_0x4fcb6a(0x1ce)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x2674d6[_0x4fcb6a(0x3fa)][_0x4fcb6a(0x3fa)]};break;}case g[_0x4fcb6a(0x1ce)][_0x4fcb6a(0x368)]:{_0x168555={'eventID':g[_0x4fcb6a(0x1ce)][_0x4fcb6a(0x368)]};break;}default:_0x168555={'eventID':_0x2674d6[_0x4fcb6a(0x3fa)]['eventID']};}return JSON[_0x4fcb6a(0x305)]({'cmd':_0x2674d6[_0x4fcb6a(0x3be)],'routeKey':_0x2674d6['routeKey'],'collaMsg':_0x168555});}case W[_0x4fcb6a(0x34a)]:return JSON[_0x4fcb6a(0x305)]({'cmd':_0x2674d6['cmd'],'routeKey':_0x2674d6[_0x4fcb6a(0x476)],'joinReq':_0x2674d6[_0x4fcb6a(0x3fa)]});case W[_0x4fcb6a(0x2f1)]:return JSON['stringify']({'cmd':_0x2674d6[_0x4fcb6a(0x3be)],'routeKey':_0x2674d6[_0x4fcb6a(0x476)],'leaveReq':_0x2674d6[_0x4fcb6a(0x3fa)]});default:throw new Error(_0x4fcb6a(0x3bf));}}var Xt=Object[_0x30a490(0x2c2)],Zt=(_0x16f3e0,_0x204e07,_0x2cebee,_0x42d36a)=>{for(var _0x1cd4ec=_0x42d36a>0x1?void 0x0:_0x42d36a?Xt(_0x204e07,_0x2cebee):_0x204e07,_0x194686=_0x16f3e0['length']-0x1,_0x6ea3ec;_0x194686>=0x0;_0x194686--)(_0x6ea3ec=_0x16f3e0[_0x194686])&&(_0x1cd4ec=_0x6ea3ec(_0x1cd4ec)||_0x1cd4ec);return _0x1cd4ec;},_e=(_0x32d86e,_0x1060fc)=>(_0x469db5,_0x4c2eea)=>_0x1060fc(_0x469db5,_0x4c2eea,_0x32d86e);const $e=a[_0x30a490(0x3c8)]('univer-pro.collaboration-client-socket-service');function Qt(_0x426656,_0x1d74b1,_0x1f919e){var _0x2211b8=_0x30a490;return _0x426656+'/'+_0x1d74b1+_0x2211b8(0x2ff)+_0x1f919e+_0x2211b8(0x1a4);}exports['CollaborationSocketService']=class extends a[_0x30a490(0x45b)]{constructor(_0x3b610c,_0x31b630,_0x3c4922,_0x1c2179,_0x3a095a){var _0x5aade1=_0x30a490;super(),this[_0x5aade1(0x44a)]=_0x3b610c,this[_0x5aade1(0x353)]=_0x31b630,this[_0x5aade1(0x42f)]=_0x3c4922,this[_0x5aade1(0x39c)]=_0x1c2179,this[_0x5aade1(0x2f4)]=_0x3a095a;}[_0x30a490(0x3e3)](_0x2484e7){var _0x584ced=_0x30a490;const _0x34905a=this['_injector'][_0x584ced(0x31a)](q[_0x584ced(0x3cc)]);if(!_0x34905a)throw new Error(_0x584ced(0x29e));const _0x232aee=_0x34905a['createSocket'](_0x2484e7);if(!_0x232aee)throw new Error(_0x584ced(0x44c));const _0x492591=new a['DisposableCollection'](),_0x3548b6=new j[(_0x584ced(0x187))]();_0x492591[_0x584ced(0x3c1)](_0x232aee[_0x584ced(0x442)]['subscribe'](_0xb19a55=>_0x3548b6[_0x584ced(0x18d)](_0xb19a55))),_0x492591[_0x584ced(0x3c1)](a[_0x584ced(0x335)](()=>_0x3548b6[_0x584ced(0x38d)]()));const _0x46e419=new j[(_0x584ced(0x187))]();_0x492591[_0x584ced(0x3c1)](_0x232aee[_0x584ced(0x2c5)][_0x584ced(0x2d4)](_0x2ec9df=>_0x46e419[_0x584ced(0x18d)](_0x2ec9df))),_0x492591[_0x584ced(0x3c1)](a[_0x584ced(0x335)](()=>_0x46e419[_0x584ced(0x38d)]()));const _0x4ff4c2=new j[(_0x584ced(0x187))]();_0x492591[_0x584ced(0x3c1)](_0x232aee['message$'][_0x584ced(0x2d4)](_0x4d9a37=>{const _0x4720f3=Rt(_0x4d9a37);_0x4ff4c2['next'](_0x4720f3);})),_0x492591['add'](a['toDisposable'](()=>_0x4ff4c2[_0x584ced(0x38d)]()));let _0x178133;const _0x407c7d=()=>{var _0x32df83=_0x584ced;_0x46e419[_0x32df83(0x18d)](new Event('connection\x20error')),_0x3548b6[_0x32df83(0x18d)](new Event(_0x32df83(0x2ac))),_0x178133[_0x32df83(0x41c)]();};return _0x178133={'memberID':'','close$':_0x3548b6[_0x584ced(0x1f3)](),'error$':_0x46e419[_0x584ced(0x1f3)](),'open$':_0x232aee['open$'],'message$':_0x4ff4c2[_0x584ced(0x1f3)](),'send':_0x5cd5ba=>{var _0x39f3a6=_0x584ced;if(_0x5cd5ba[_0x39f3a6(0x3be)]===W['INGEST']){if(_0x5cd5ba[_0x39f3a6(0x3fa)][_0x39f3a6(0x1c8)]===g[_0x39f3a6(0x1ce)]['SUBMIT_CHANGESET']){this[_0x39f3a6(0x40e)](_0x178133,_0x5cd5ba[_0x39f3a6(0x3fa)])[_0x39f3a6(0x1c7)](_0x4e7013=>{var _0x54727f=_0x39f3a6;this[_0x54727f(0x39c)]['error'](_0x4e7013),_0x407c7d();});return;}if(_0x5cd5ba[_0x39f3a6(0x3fa)][_0x39f3a6(0x1c8)]===g[_0x39f3a6(0x1ce)][_0x39f3a6(0x178)]){const _0x1d2580=_0x5cd5ba[_0x39f3a6(0x3fa)];this[_0x39f3a6(0x344)](_0x1d2580)['then'](_0x3df316=>{var _0x56bba8=_0x39f3a6;_0x4ff4c2[_0x56bba8(0x18d)]({'cmd':W['RECV'],'code':ae['OK'],'routeKey':_0x1d2580[_0x56bba8(0x3fa)][_0x56bba8(0x272)],'routeType':'','data':{'eventID':g['CollaborationEvent'][_0x56bba8(0x49e)],'data':{'changesets':_0x3df316}}});})[_0x39f3a6(0x1c7)](_0x3a47b5=>{var _0x4f33f0=_0x39f3a6;this[_0x4f33f0(0x39c)][_0x4f33f0(0x29c)](_0x3a47b5),_0x407c7d();});return;}}_0x232aee[_0x39f3a6(0x43d)](yt(_0x5cd5ba));},'close':()=>{var _0xc12c24=_0x584ced;_0x232aee[_0xc12c24(0x41c)](),_0x492591[_0xc12c24(0x4aa)]();}},_0x178133;}async[_0x30a490(0x40e)](_0x4114b1,_0x4eda63){var _0x5e765b=_0x30a490,_0x8ccb3e,_0x283219;const {unitType:_0x1ba499,unitID:_0x7945df,changeset:_0x419f47}=_0x4eda63[_0x5e765b(0x3fa)],_0x385013={'unitID':_0x7945df,'memberID':_0x4114b1[_0x5e765b(0x3e5)],'type':_0x1ba499,'changeset':g[_0x5e765b(0x27d)](_0x419f47)},_0x43141c=this[_0x5e765b(0x42f)]['getConfig'](It),_0x13f0e9=this[_0x5e765b(0x42f)]['getConfig'](Y),_0x48571e=Qt((_0x283219=(_0x8ccb3e=_0x13f0e9==null?void 0x0:_0x13f0e9[_0x5e765b(0x304)])!=null?_0x8ccb3e:_0x43141c)!=null?_0x283219:Kt,_0x1ba499,_0x7945df);try{await this[_0x5e765b(0x353)][_0x5e765b(0x1d2)](_0x48571e,{'body':_0x385013});}catch(_0x5ae812){throw this[_0x5e765b(0x39c)]['error'](_0x5e765b(0x296),_0x5e765b(0x2b5)),_0x5ae812;}}async[_0x30a490(0x344)](_0x3816e4){var _0x423854=_0x30a490;const {unitID:_0x22054f,from:_0x3e1741,to:_0x5e1cce,unitType:_0x7c99e1}=_0x3816e4[_0x423854(0x3fa)];return(await this['_snapshotServerService'][_0x423854(0x2e2)]({'metadata':void 0x0},{'unitID':_0x22054f,'type':_0x7c99e1,'from':_0x3e1741,'to':_0x5e1cce}))[_0x423854(0x1fc)];}},exports['CollaborationSocketService']=Zt([_e(0x0,a[_0x30a490(0x3af)](a[_0x30a490(0x453)])),_e(0x1,a['Inject'](q[_0x30a490(0x270)])),_e(0x2,a[_0x30a490(0x2cf)]),_e(0x3,a[_0x30a490(0x2c8)]),_e(0x4,g['ISnapshotServerService'])],exports[_0x30a490(0x1c4)]);const ei='collaboration_new_changeset';function ti(_0x149b4a){var _0x57bccc=_0x30a490;return JSON[_0x57bccc(0x305)](_0x149b4a)['length'];}class Be{constructor(){var _0x121cdc=_0x30a490;A(this,_0x121cdc(0x46b),new j[(_0x121cdc(0x187))]()),A(this,_0x121cdc(0x416),this[_0x121cdc(0x46b)]['asObservable']());}[_0x30a490(0x2e3)](_0x1a5f3c){var _0x8bd58e=_0x30a490;this[_0x8bd58e(0x46b)][_0x8bd58e(0x18d)](_0x1a5f3c);}}var ii=Object['getOwnPropertyDescriptor'],ni=(_0x24a6a0,_0x4e050b,_0x1797d9,_0x3e71a4)=>{for(var _0x2bd12d=_0x3e71a4>0x1?void 0x0:_0x3e71a4?ii(_0x4e050b,_0x1797d9):_0x4e050b,_0x8fba05=_0x24a6a0['length']-0x1,_0x54c7b3;_0x8fba05>=0x0;_0x8fba05--)(_0x54c7b3=_0x24a6a0[_0x8fba05])&&(_0x2bd12d=_0x54c7b3(_0x2bd12d)||_0x2bd12d);return _0x2bd12d;},Ke=(_0x334e19,_0x4d2b15)=>(_0x3872ec,_0x46f081)=>_0x4d2b15(_0x3872ec,_0x46f081,_0x334e19);exports['MemberService']=class extends a[_0x30a490(0x45b)]{constructor(_0x48d56c,_0x5164e7){var _0x2c8564=_0x30a490;super(),A(this,'_roomMembers',new Map()),A(this,_0x2c8564(0x499),new j[(_0x2c8564(0x187))]()),(this[_0x2c8564(0x32b)]=_0x48d56c,this[_0x2c8564(0x49b)]=_0x5164e7,this[_0x2c8564(0x3f2)](j[_0x2c8564(0x22e)](this[_0x2c8564(0x32b)]['getTypeOfUnitDisposed$'](a[_0x2c8564(0x34d)][_0x2c8564(0x2f3)])['pipe'](V[_0x2c8564(0x33c)](_0x380188=>_0x380188['getUnitId']())),this[_0x2c8564(0x32b)][_0x2c8564(0x40d)](a[_0x2c8564(0x34d)][_0x2c8564(0x204)])[_0x2c8564(0x286)](V[_0x2c8564(0x33c)](_0x8fc9c9=>_0x8fc9c9[_0x2c8564(0x197)]())),this[_0x2c8564(0x32b)][_0x2c8564(0x40d)](a[_0x2c8564(0x34d)][_0x2c8564(0x278)])[_0x2c8564(0x286)](V['map'](_0x2f5343=>_0x2f5343[_0x2c8564(0x197)]())))[_0x2c8564(0x2d4)](_0x292b46=>this['_removeRoom'](_0x292b46))));}[_0x30a490(0x3f9)](_0x84ad66){var _0x46938f=_0x30a490;return this[_0x46938f(0x423)][_0x46938f(0x225)](_0x84ad66)?j['of'](this[_0x46938f(0x423)][_0x46938f(0x31a)](_0x84ad66)):this[_0x46938f(0x499)]['pipe'](V['map'](_0x343122=>{var _0x4f6011=_0x46938f;if(_0x343122===_0x84ad66)return this[_0x4f6011(0x423)][_0x4f6011(0x31a)](_0x343122);}));}[_0x30a490(0x184)](_0x377949){var _0x50d6e0=_0x30a490;this['_userManagerService'][_0x50d6e0(0x184)](_0x377949);}[_0x30a490(0x37a)](){var _0x1c0ed5=_0x30a490;return this[_0x1c0ed5(0x49b)][_0x1c0ed5(0x37a)]();}['updateMember'](_0x2079ba,_0x2ff280){var _0x524541=_0x30a490;let _0x576b85=this['_roomMembers']['get'](_0x2079ba);_0x576b85||(_0x576b85=new ri(),this[_0x524541(0x423)][_0x524541(0x4a6)](_0x2079ba,_0x576b85),this[_0x524541(0x499)][_0x524541(0x18d)](_0x2079ba)),_0x576b85['updateMember'](_0x2ff280);}[_0x30a490(0x466)](_0x2676b1,_0x510b6c){var _0x426779=_0x30a490;const _0x37dd98=this[_0x426779(0x423)]['get'](_0x2676b1);_0x37dd98&&_0x37dd98[_0x426779(0x466)](_0x510b6c);}['getRoom'](_0x4ff976){var _0x22c25e=_0x30a490;return this[_0x22c25e(0x423)][_0x22c25e(0x31a)](_0x4ff976);}[_0x30a490(0x4cc)](_0x4f5e03,_0x281ff7){var _0x1d1dd2=_0x30a490;const _0x20d92c=this[_0x1d1dd2(0x423)][_0x1d1dd2(0x31a)](_0x4f5e03);if(_0x20d92c)return _0x20d92c[_0x1d1dd2(0x4cc)](_0x281ff7);}[_0x30a490(0x3c7)](_0x2afb17){var _0x26ec8b=_0x30a490;const _0x3d993b=this[_0x26ec8b(0x423)]['get'](_0x2afb17);_0x3d993b&&(_0x3d993b['dispose'](),this[_0x26ec8b(0x423)][_0x26ec8b(0x2b4)](_0x2afb17));}[_0x30a490(0x4aa)](){var _0x5c90b5=_0x30a490;this[_0x5c90b5(0x423)][_0x5c90b5(0x236)](_0x2b73c3=>_0x2b73c3[_0x5c90b5(0x4aa)]()),this[_0x5c90b5(0x423)][_0x5c90b5(0x1cd)](),this[_0x5c90b5(0x499)][_0x5c90b5(0x38d)]();}},exports[_0x30a490(0x21e)]=ni([Ke(0x0,a[_0x30a490(0x2f7)]),Ke(0x1,a[_0x30a490(0x3af)](a[_0x30a490(0x291)]))],exports['MemberService']);class ri extends a[_0x30a490(0x45b)]{constructor(){var _0x2a3790=_0x30a490;super(...arguments),A(this,_0x2a3790(0x457),new Map()),A(this,'_members$',new j[(_0x2a3790(0x1b6))](this[_0x2a3790(0x457)])),A(this,_0x2a3790(0x3d1),this[_0x2a3790(0x34b)][_0x2a3790(0x1f3)]());}['dispose'](){var _0x1b9ce0=_0x30a490;this[_0x1b9ce0(0x457)]['clear']();}[_0x30a490(0x4de)](_0x28cf5c){var _0x40342f=_0x30a490;this[_0x40342f(0x457)][_0x40342f(0x4a6)](_0x28cf5c[_0x40342f(0x3e5)],_0x28cf5c),this[_0x40342f(0x20f)]();}[_0x30a490(0x466)](_0x693ed6){var _0x4e2fe3=_0x30a490;this[_0x4e2fe3(0x457)]['delete'](_0x693ed6);}['getMember'](_0x57c493){var _0xad4980=_0x30a490;return this[_0xad4980(0x457)][_0xad4980(0x31a)](_0x57c493);}[_0x30a490(0x261)](){var _0x4dd5be=_0x30a490;return Array[_0x4dd5be(0x2ba)](this[_0x4dd5be(0x457)][_0x4dd5be(0x28a)]());}[_0x30a490(0x20f)](){var _0x3d6ba2=_0x30a490;this[_0x3d6ba2(0x34b)][_0x3d6ba2(0x18d)](this[_0x3d6ba2(0x457)]);}}var si=Object[_0x30a490(0x2c2)],oi=(_0x383a57,_0x162a7d,_0x436ef0,_0x214955)=>{var _0x2fa611=_0x30a490;for(var _0x519417=_0x214955>0x1?void 0x0:_0x214955?si(_0x162a7d,_0x436ef0):_0x162a7d,_0x452546=_0x383a57[_0x2fa611(0x31c)]-0x1,_0x5df804;_0x452546>=0x0;_0x452546--)(_0x5df804=_0x383a57[_0x452546])&&(_0x519417=_0x5df804(_0x519417)||_0x519417);return _0x519417;},oe=(_0x4f79a4,_0x33b7b1)=>(_0x2f4460,_0x9fb15c)=>_0x33b7b1(_0x2f4460,_0x9fb15c,_0x4f79a4),se=(_0x34ee2d=>(_0x34ee2d[_0x34ee2d[_0x30a490(0x21b)]=0x0]=_0x30a490(0x21b),_0x34ee2d[_0x34ee2d[_0x30a490(0x289)]=0x1]=_0x30a490(0x289),_0x34ee2d[_0x34ee2d['OFFLINE']=0x2]=_0x30a490(0x4ae),_0x34ee2d[_0x34ee2d[_0x30a490(0x265)]=0x3]=_0x30a490(0x265),_0x34ee2d))(se||{});const Ye={[ae[_0x30a490(0x1d1)]]:_0x30a490(0x2d6),[ae[_0x30a490(0x3b8)]]:_0x30a490(0x404),[ae[_0x30a490(0x3b4)]]:_0x30a490(0x468),[ae[_0x30a490(0x4bb)]]:_0x30a490(0x19c),[ae['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x30a490(0x43c)};exports[_0x30a490(0x210)]=class extends a['RxDisposable']{constructor(_0x2486bc,_0x1eadde,_0xc5e9c4,_0x5a1a15,_0x332430,_0x3f7def,_0x5bdb0e,_0x5c9552,_0x32d382){var _0xd146a3=_0x30a490;super(),A(this,_0xd146a3(0x405),new j[(_0xd146a3(0x1b6))](0x0)),A(this,_0xd146a3(0x482),this[_0xd146a3(0x405)][_0xd146a3(0x1f3)]()),A(this,_0xd146a3(0x2fd),new j[(_0xd146a3(0x187))]()),A(this,_0xd146a3(0x319),this[_0xd146a3(0x2fd)][_0xd146a3(0x1f3)]()),A(this,_0xd146a3(0x30d)),A(this,_0xd146a3(0x1e8)),A(this,'_collaborationTimeoutTimer'),A(this,_0xd146a3(0x4a1),!0x1),A(this,_0xd146a3(0x2a2),null),(this[_0xd146a3(0x35b)]=_0x2486bc,this[_0xd146a3(0x39c)]=_0xc5e9c4,this[_0xd146a3(0x42f)]=_0x5a1a15,this[_0xd146a3(0x455)]=_0x332430,this[_0xd146a3(0x27f)]=_0x3f7def,this[_0xd146a3(0x389)]=_0x5bdb0e,this[_0xd146a3(0x2a5)]=_0x5c9552,this[_0xd146a3(0x282)]=_0x32d382,this['_shouldReportTelemetry']=!!this[_0xd146a3(0x282)],_0x1eadde[_0xd146a3(0x286)](j['takeUntil'](this['dispose$']))[_0xd146a3(0x2d4)](_0x330ba2=>{var _0x1d7f6e=_0xd146a3,_0x42d4ee;typeof _0x330ba2>'u'||(this[_0x1d7f6e(0x30d)]=_0x330ba2,_0x330ba2?(this['_joinRoom'](_0x330ba2),this[_0x1d7f6e(0x1e8)]=_0x330ba2[_0x1d7f6e(0x3dd)][_0x1d7f6e(0x2d4)](_0x13f448=>{var _0x3b187f=_0x1d7f6e;_0x13f448[_0x3b187f(0x476)]===this[_0x3b187f(0x35b)]&&this[_0x3b187f(0x4be)](_0x13f448);})):(this[_0x1d7f6e(0x2b1)](),this['_sessionStatus$'][_0x1d7f6e(0x18d)](0x2),(_0x42d4ee=this[_0x1d7f6e(0x1e8)])==null||_0x42d4ee[_0x1d7f6e(0x2ae)](),this['_socketMessageSubscription']=null));}));}get[_0x30a490(0x3db)](){var _0x4ebc30=_0x30a490;return this[_0x4ebc30(0x405)][_0x4ebc30(0x195)]();}[_0x30a490(0x435)](){var _0xa580c4=_0x30a490,_0x488e04,_0x1e4df6;return(_0x1e4df6=(_0x488e04=this[_0xa580c4(0x30d)])==null?void 0x0:_0x488e04[_0xa580c4(0x3e5)])!=null?_0x1e4df6:null;}['dispose'](){var _0x5d58d2=_0x30a490;super[_0x5d58d2(0x4aa)](),this[_0x5d58d2(0x451)]['next'](),this[_0x5d58d2(0x451)][_0x5d58d2(0x38d)]();}['close'](){var _0x372a55=_0x30a490,_0x3752ab,_0x17373f;this[_0x372a55(0x2b1)](),(_0x3752ab=this[_0x372a55(0x30d)])==null||_0x3752ab[_0x372a55(0x43d)]({'cmd':W[_0x372a55(0x2f1)],'data':{'roomID':this[_0x372a55(0x35b)]}}),(_0x17373f=this[_0x372a55(0x30d)])==null||_0x17373f[_0x372a55(0x41c)](),this[_0x372a55(0x2fd)][_0x372a55(0x38d)](),this['_sessionStatus$'][_0x372a55(0x38d)](),this[_0x372a55(0x4aa)]();}[_0x30a490(0x4be)](_0x4b2db1){var _0x41d300=_0x30a490;_0x4b2db1[_0x41d300(0x3be)]===W['JOIN']?this['_onJoinRoomEvent'](_0x4b2db1):_0x4b2db1[_0x41d300(0x3be)]===W[_0x41d300(0x44f)]&&this[_0x41d300(0x2df)](_0x4b2db1);}[_0x30a490(0x28e)](_0x4badf2){var _0xec8656=_0x30a490;this['_sessionStatus$'][_0xec8656(0x18d)](0x1),_0x4badf2['send']({'cmd':W[_0xec8656(0x34a)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0xec8656(0x35b)]}]}});}[_0x30a490(0x429)](_0x3b3573){var _0x1c2c50=_0x30a490,_0x337ce1;if(_0x3b3573['code']in Ye){this[_0x1c2c50(0x2a5)][_0x1c2c50(0x16c)]({'id':Q['JOIN_ROOM_FAILED'],'data':Ye[_0x3b3573[_0x1c2c50(0x36b)]]}),this[_0x1c2c50(0x405)][_0x1c2c50(0x18d)](0x2);return;}this['_sessionStatus$'][_0x1c2c50(0x18d)](0x3);const _0x2fbbd0=(_0x337ce1=_0x3b3573['data'][_0x1c2c50(0x418)][this[_0x1c2c50(0x35b)]])==null?void 0x0:_0x337ce1['members'];_0x2fbbd0&&_0x2fbbd0['forEach'](_0x22843a=>this[_0x1c2c50(0x27f)][_0x1c2c50(0x4de)](this['_unitID'],_0x22843a));}['_onRecvEvent'](_0x54f96e){var _0x4dbf1d=_0x30a490;try{const _0x438f71=_0x54f96e[_0x4dbf1d(0x3fa)];switch(_0x438f71[_0x4dbf1d(0x1c8)]){case g[_0x4dbf1d(0x1ce)][_0x4dbf1d(0x223)]:this[_0x4dbf1d(0x2f9)](_0x438f71),this['_event$'][_0x4dbf1d(0x18d)](_0x438f71);break;case g[_0x4dbf1d(0x1ce)][_0x4dbf1d(0x49c)]:this[_0x4dbf1d(0x25e)](_0x438f71),this[_0x4dbf1d(0x2fd)][_0x4dbf1d(0x18d)](_0x438f71);break;case g[_0x4dbf1d(0x1ce)][_0x4dbf1d(0x40a)]:case g['CollaborationEvent'][_0x4dbf1d(0x40b)]:this[_0x4dbf1d(0x37d)](),this[_0x4dbf1d(0x3b0)](),this[_0x4dbf1d(0x2fd)][_0x4dbf1d(0x18d)](_0x438f71);break;case g['CollaborationEvent'][_0x4dbf1d(0x1bd)]:this[_0x4dbf1d(0x39c)][_0x4dbf1d(0x29c)](_0x4dbf1d(0x44d)+JSON[_0x4dbf1d(0x305)](_0x438f71)),this[_0x4dbf1d(0x2fd)][_0x4dbf1d(0x18d)](_0x438f71);break;case g['CollaborationEvent'][_0x4dbf1d(0x215)]:this[_0x4dbf1d(0x389)]['onCommentUpdate'](_0x438f71['data']),this[_0x4dbf1d(0x2fd)][_0x4dbf1d(0x18d)](_0x438f71);break;default:this[_0x4dbf1d(0x2fd)][_0x4dbf1d(0x18d)](_0x438f71);}}catch(_0x277e28){this[_0x4dbf1d(0x39c)][_0x4dbf1d(0x29c)](_0x277e28,_0x54f96e);}}[_0x30a490(0x2f9)](_0x433f88){var _0x424b34=_0x30a490;this['_memberService'][_0x424b34(0x4de)](this[_0x424b34(0x35b)],_0x433f88[_0x424b34(0x3fa)]);}[_0x30a490(0x25e)](_0x32541d){var _0x1d2d40=_0x30a490;this[_0x1d2d40(0x27f)][_0x1d2d40(0x466)](this[_0x1d2d40(0x35b)],_0x32541d['data']['memberID']);}async['send'](_0x5befd7,_0x223d22){var _0x6337a4=_0x30a490;if(this[_0x6337a4(0x3db)]!==0x3||!this[_0x6337a4(0x30d)])throw new Error(_0x6337a4(0x459));try{_0x5befd7['eventID']===g[_0x6337a4(0x1ce)]['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x6337a4(0x268)](_0x5befd7)),this[_0x6337a4(0x30d)][_0x6337a4(0x43d)]({'cmd':W['INGEST'],'routeKey':_0x223d22,'routeType':'','data':_0x5befd7});}catch(_0x4ff3c8){this[_0x6337a4(0x39c)]['error'](_0x4ff3c8);}}['_scheduleCollaborationTimeoutTimer'](){var _0xf34b2a=_0x30a490,_0x35308c;this[_0xf34b2a(0x3b5)]=setTimeout(()=>{var _0x1380fe=_0xf34b2a;this[_0x1380fe(0x3b5)]=null,this[_0x1380fe(0x2a5)]['emitEvent']({'id':Q[_0x1380fe(0x46e)]});},(_0x35308c=this['_configService'][_0xf34b2a(0x2bc)](je))!=null?_0x35308c:gt);}[_0x30a490(0x3b0)](){var _0x24717e=_0x30a490;this[_0x24717e(0x3b5)]&&(clearTimeout(this[_0x24717e(0x3b5)]),this['_collaborationTimeoutTimer']=null);}[_0x30a490(0x268)](_0x5311f5){var _0x1cdaf1=_0x30a490;if(!this[_0x1cdaf1(0x4a1)])return;const {data:_0x39cecb}=_0x5311f5,{unitID:_0x282086,changeset:_0x3f95db}=_0x39cecb,{mutations:_0x53ee44,type:_0x4638e3}=_0x3f95db;this[_0x1cdaf1(0x2a2)]={'unitId':_0x282086,'type':_0x4638e3,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ti(_0x53ee44)};}[_0x30a490(0x37d)](){var _0x5e4516=_0x30a490;if(this[_0x5e4516(0x4a1)]){if(!this[_0x5e4516(0x2a2)]){this[_0x5e4516(0x39c)][_0x5e4516(0x29c)](_0x5e4516(0x296),_0x5e4516(0x3e8));return;}this[_0x5e4516(0x2a2)][_0x5e4516(0x3f7)]=performance['now'](),this[_0x5e4516(0x2a2)][_0x5e4516(0x279)]=this['_telemetryInfo'][_0x5e4516(0x3f7)]-this[_0x5e4516(0x2a2)][_0x5e4516(0x281)],this[_0x5e4516(0x282)][_0x5e4516(0x22c)](ei,this[_0x5e4516(0x2a2)]),this[_0x5e4516(0x2a2)]=null;}}[_0x30a490(0x2b1)](){var _0x5cf934=_0x30a490;this[_0x5cf934(0x2a2)]=null;}},exports[_0x30a490(0x210)]=oi([oe(0x2,a[_0x30a490(0x2c8)]),oe(0x3,a[_0x30a490(0x2cf)]),oe(0x4,a[_0x30a490(0x3af)](a[_0x30a490(0x327)])),oe(0x5,a[_0x30a490(0x3af)](exports[_0x30a490(0x21e)])),oe(0x6,a[_0x30a490(0x3af)](Be)),oe(0x7,a[_0x30a490(0x3af)](te)),oe(0x8,a[_0x30a490(0x342)](Mt[_0x30a490(0x189)]))],exports['CollaborationSession']);var ai=Object[_0x30a490(0x2c2)],ci=(_0x41a57f,_0x3fd72d,_0x2e6ad8,_0x51aa6b)=>{for(var _0x1c67f0=_0x51aa6b>0x1?void 0x0:_0x51aa6b?ai(_0x3fd72d,_0x2e6ad8):_0x3fd72d,_0x336174=_0x41a57f['length']-0x1,_0x102210;_0x336174>=0x0;_0x336174--)(_0x102210=_0x41a57f[_0x336174])&&(_0x1c67f0=_0x102210(_0x1c67f0)||_0x1c67f0);return _0x1c67f0;},le=(_0x5f5904,_0xec076)=>(_0x3fa82b,_0x53a43d)=>_0xec076(_0x3fa82b,_0x53a43d,_0x5f5904);exports[_0x30a490(0x2fe)]=class extends a[_0x30a490(0x45b)]{constructor(_0xcf4d6f,_0x3a9398,_0x264520,_0x3fa21c,_0x1f061e,_0x39125f){var _0x4dc097=_0x30a490;super(),A(this,'_socket$',new j[(_0x4dc097(0x1b6))](void 0x0)),A(this,_0x4dc097(0x325),this[_0x4dc097(0x372)]['asObservable']()),A(this,_0x4dc097(0x267),null),A(this,_0x4dc097(0x441),new Map()),A(this,_0x4dc097(0x24e),new j[(_0x4dc097(0x1b6))](se[_0x4dc097(0x21b)])),A(this,_0x4dc097(0x40c),this[_0x4dc097(0x24e)][_0x4dc097(0x1f3)]()),A(this,'_socketReady',!0x1),A(this,_0x4dc097(0x3df)),A(this,_0x4dc097(0x26c),0x0),A(this,_0x4dc097(0x48f)),A(this,'_timeoutTimer'),(this['_injector']=_0xcf4d6f,this[_0x4dc097(0x39c)]=_0x3a9398,this[_0x4dc097(0x42f)]=_0x264520,this['_socketService']=_0x3fa21c,this['_collaborationUIEventService']=_0x1f061e,this[_0x4dc097(0x379)]=_0x39125f,this[_0x4dc097(0x1bc)]());}get[_0x30a490(0x30d)](){var _0x44b8a8=_0x30a490;return this['_socket$'][_0x44b8a8(0x195)]();}[_0x30a490(0x1bc)](){var _0x5725a1=_0x30a490;this[_0x5725a1(0x379)]&&this[_0x5725a1(0x3f2)](this['_networkConditionService']['online$']['subscribe'](_0x2374ac=>{var _0x45a16c=_0x5725a1;_0x2374ac&&!this[_0x45a16c(0x30d)]&&this['reconnect'](),_0x2374ac||this[_0x45a16c(0x3a1)]();}));}['dispose'](){var _0x2c2a03=_0x30a490;super[_0x2c2a03(0x4aa)](),this[_0x2c2a03(0x23c)](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this[_0x2c2a03(0x441)][_0x2c2a03(0x236)](_0x147150=>_0x147150[_0x2c2a03(0x4aa)]()),this[_0x2c2a03(0x441)][_0x2c2a03(0x1cd)](),this[_0x2c2a03(0x24e)]['complete']();}async[_0x30a490(0x46d)](_0xe3225){var _0x40171c=_0x30a490;if(this[_0x40171c(0x441)][_0x40171c(0x225)](_0xe3225))return this[_0x40171c(0x441)][_0x40171c(0x31a)](_0xe3225);this[_0x40171c(0x30c)]();const _0x4b4959=this[_0x40171c(0x44a)][_0x40171c(0x1d3)](exports[_0x40171c(0x210)],_0xe3225,this[_0x40171c(0x372)][_0x40171c(0x1f3)]());return this[_0x40171c(0x441)][_0x40171c(0x4a6)](_0xe3225,_0x4b4959),_0x4b4959;}[_0x30a490(0x437)](_0x4f33cd){var _0x8db574=_0x30a490,_0x22ddb0;const _0x2e08d6=this[_0x8db574(0x441)][_0x8db574(0x31a)](_0x4f33cd);_0x2e08d6&&(this[_0x8db574(0x441)][_0x8db574(0x2b4)](_0x4f33cd),_0x2e08d6[_0x8db574(0x41c)]()),this[_0x8db574(0x441)][_0x8db574(0x4af)]||(_0x22ddb0=this[_0x8db574(0x30d)])==null||_0x22ddb0[_0x8db574(0x41c)]();}[_0x30a490(0x43e)](){var _0x50ffa2=_0x30a490;this[_0x50ffa2(0x26c)]=0x0,this[_0x50ffa2(0x23c)](),this[_0x50ffa2(0x191)]();}[_0x30a490(0x23c)](){var _0x488a6e=_0x30a490;this[_0x488a6e(0x3df)]!=null&&(clearTimeout(this[_0x488a6e(0x3df)]),this[_0x488a6e(0x3df)]=null);}async[_0x30a490(0x4b1)](){var _0x1616cf=_0x30a490,_0x1f1afb,_0x1543f6;const _0x57abf3=this['_configService'][_0x1616cf(0x2bc)](St),_0x214ad8=this[_0x1616cf(0x42f)][_0x1616cf(0x2bc)](Y),_0xefe55a=(_0x1543f6=(_0x1f1afb=_0x214ad8==null?void 0x0:_0x214ad8['collabWebSocketUrl'])!=null?_0x1f1afb:_0x57abf3)!=null?_0x1543f6:ft,_0x51c647=await this['_socketService'][_0x1616cf(0x38a)](_0xefe55a);return this[_0x1616cf(0x267)]=_0x51c647,_0x51c647;}async['_tryEnsureSocket'](){var _0x1085a3=_0x30a490,_0x544044,_0x1b50ff;try{const _0x52f888=(_0x1b50ff=(_0x544044=this['_socket'])!=null?_0x544044:this['_candidateSocket'])!=null?_0x1b50ff:await this['_createSocket']();if(_0x52f888){const _0x138c80=_0x52f888[_0x1085a3(0x43d)];_0x52f888[_0x1085a3(0x43d)]=_0x505856=>(this[_0x1085a3(0x498)](),_0x138c80[_0x1085a3(0x254)](_0x52f888,[_0x505856])),_0x52f888[_0x1085a3(0x3dd)][_0x1085a3(0x2d4)](_0xa1d5fc=>this[_0x1085a3(0x46c)](_0x52f888,_0xa1d5fc)),_0x52f888[_0x1085a3(0x2c5)][_0x1085a3(0x286)](V[_0x1085a3(0x45d)](0x1))['subscribe'](_0x103938=>this[_0x1085a3(0x39c)][_0x1085a3(0x29c)](_0x1085a3(0x2cc),_0x103938)),_0x52f888[_0x1085a3(0x38f)][_0x1085a3(0x286)](V[_0x1085a3(0x45d)](0x1))[_0x1085a3(0x2d4)](()=>{var _0x1c39f9=_0x1085a3;this[_0x1c39f9(0x3a6)](_0x52f888);}),_0x52f888[_0x1085a3(0x442)][_0x1085a3(0x286)](V[_0x1085a3(0x45d)](0x1))[_0x1085a3(0x2d4)](_0x14c67f=>{var _0x5c81fa=_0x1085a3;this[_0x5c81fa(0x39c)]['debug'](_0x5c81fa(0x486),_0x5c81fa(0x1a7),_0x14c67f),this[_0x5c81fa(0x409)]();});}}catch(_0x43f86f){this[_0x1085a3(0x39c)][_0x1085a3(0x29c)](_0x43f86f),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x4159ee){var _0x15baed=_0x30a490;this[_0x15baed(0x39c)]['debug'](_0x15baed(0x486),'socket\x20open.'),_0x4159ee[_0x15baed(0x43d)]({'cmd':W[_0x15baed(0x2c4)]}),this[_0x15baed(0x498)]();}[_0x30a490(0x3a1)](){var _0x388918=_0x30a490;this[_0x388918(0x464)]=!0x1,this[_0x388918(0x267)]=null,this[_0x388918(0x24e)][_0x388918(0x18d)](se[_0x388918(0x4ae)]),this['_socket$'][_0x388918(0x18d)](null),this['_clearTimeoutTimer'](),this[_0x388918(0x23f)]();}[_0x30a490(0x409)](){var _0x1478d5=_0x30a490,_0x598281;this['_onOffline'](),this[_0x1478d5(0x26c)]<((_0x598281=this[_0x1478d5(0x42f)][_0x1478d5(0x2bc)](mt))!=null?_0x598281:Vt)?(this[_0x1478d5(0x2a5)]['emitEvent']({'id':Q[_0x1478d5(0x275)]}),this[_0x1478d5(0x191)]()):this[_0x1478d5(0x2a5)][_0x1478d5(0x16c)]({'id':Q[_0x1478d5(0x1ab)]});}[_0x30a490(0x191)](){var _0xd0b846=_0x30a490,_0x44226a;const _0x5711f9=this[_0xd0b846(0x26c)],_0x1766f2=this[_0xd0b846(0x42f)]['getConfig'](Y),_0x2f3423=_0x5711f9===0x0?0x0:((_0x44226a=_0x1766f2==null?void 0x0:_0x1766f2[_0xd0b846(0x3ff)])!=null?_0x44226a:Ft)*0x2**_0x5711f9;this[_0xd0b846(0x3df)]=setTimeout(()=>{var _0xcb146d=_0xd0b846;clearTimeout(this[_0xcb146d(0x3df)]),this['_retryConnectingTimer']=null,this[_0xcb146d(0x30c)]();},_0x2f3423),this[_0xd0b846(0x26c)]+=0x1;}[_0x30a490(0x46c)](_0xb3fa7f,_0x48349a){var _0x44fd53=_0x30a490;const {cmd:_0x21f970}=_0x48349a;_0x21f970===W[_0x44fd53(0x2c4)]&&!this[_0x44fd53(0x464)]&&(_0xb3fa7f[_0x44fd53(0x3e5)]=_0x48349a[_0x44fd53(0x3fa)]['memberID'],this[_0x44fd53(0x372)]['next'](_0xb3fa7f),this[_0x44fd53(0x24e)][_0x44fd53(0x18d)](se[_0x44fd53(0x265)]),this[_0x44fd53(0x464)]=!0x0,this[_0x44fd53(0x267)]=null),_0x21f970===W[_0x44fd53(0x3bc)]&&this['_clearTimeoutTimer'](),this[_0x44fd53(0x498)]();}[_0x30a490(0x498)](){var _0x27d9ce=_0x30a490,_0xede663;this[_0x27d9ce(0x23f)](),this[_0x27d9ce(0x48f)]=setTimeout(()=>this[_0x27d9ce(0x49f)](),(_0xede663=this[_0x27d9ce(0x42f)][_0x27d9ce(0x2bc)](pt))!=null?_0xede663:Bt);}['_sendHeartbeat'](){var _0x1cff7a=_0x30a490;this[_0x1cff7a(0x30d)][_0x1cff7a(0x43d)]({'cmd':W[_0x1cff7a(0x3bc)]}),this[_0x1cff7a(0x4b5)]();}['_waitForHeartbeatResponse'](){var _0x3e21bc=_0x30a490,_0x1a0cb3;this[_0x3e21bc(0x373)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x1a0cb3=this[_0x3e21bc(0x42f)]['getConfig'](je))!=null?_0x1a0cb3:gt);}[_0x30a490(0x23f)](){var _0x58b4a1=_0x30a490;this[_0x58b4a1(0x48f)]!=null&&(clearTimeout(this[_0x58b4a1(0x48f)]),this['_sendHeartbeatTimer']=null);}[_0x30a490(0x36e)](){var _0x4d23b2=_0x30a490;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x4d23b2(0x373)]=null);}},exports['CollaborationSessionService']=ci([le(0x0,a[_0x30a490(0x3af)](a[_0x30a490(0x453)])),le(0x1,a[_0x30a490(0x2c8)]),le(0x2,a[_0x30a490(0x2cf)]),le(0x3,$e),le(0x4,a[_0x30a490(0x3af)](te)),le(0x5,a[_0x30a490(0x342)](bt))],exports['CollaborationSessionService']);const G=[];for(let n=0x0;n<0x100;++n)G[_0x30a490(0x2ab)]((n+0x100)[_0x30a490(0x475)](0x10)[_0x30a490(0x322)](0x1));function hi(_0x446ec8,_0xccfcf0=0x0){return(G[_0x446ec8[_0xccfcf0+0x0]]+G[_0x446ec8[_0xccfcf0+0x1]]+G[_0x446ec8[_0xccfcf0+0x2]]+G[_0x446ec8[_0xccfcf0+0x3]]+'-'+G[_0x446ec8[_0xccfcf0+0x4]]+G[_0x446ec8[_0xccfcf0+0x5]]+'-'+G[_0x446ec8[_0xccfcf0+0x6]]+G[_0x446ec8[_0xccfcf0+0x7]]+'-'+G[_0x446ec8[_0xccfcf0+0x8]]+G[_0x446ec8[_0xccfcf0+0x9]]+'-'+G[_0x446ec8[_0xccfcf0+0xa]]+G[_0x446ec8[_0xccfcf0+0xb]]+G[_0x446ec8[_0xccfcf0+0xc]]+G[_0x446ec8[_0xccfcf0+0xd]]+G[_0x446ec8[_0xccfcf0+0xe]]+G[_0x446ec8[_0xccfcf0+0xf]])['toLowerCase']();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x3ff492=_0x30a490;if(!Ue){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x3ff492(0x244));Ue=crypto[_0x3ff492(0x180)][_0x3ff492(0x1fb)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto[_0x30a490(0x1c0)]&&crypto[_0x30a490(0x1c0)]['bind'](crypto),qe={'randomUUID':ui};function di(_0x1d3971,_0x345d36,_0x2ed0bf){var _0x56e2b3=_0x30a490,_0x295656,_0x2d2b9b,_0x5108c5;if(qe[_0x56e2b3(0x1c0)]&&!_0x1d3971)return qe['randomUUID']();_0x1d3971=_0x1d3971||{};const _0x484f8b=(_0x5108c5=(_0x2d2b9b=_0x1d3971[_0x56e2b3(0x375)])!=null?_0x2d2b9b:(_0x295656=_0x1d3971[_0x56e2b3(0x39f)])==null?void 0x0:_0x295656[_0x56e2b3(0x356)](_0x1d3971))!=null?_0x5108c5:_i();if(_0x484f8b[_0x56e2b3(0x31c)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x484f8b[0x6]=_0x484f8b[0x6]&0xf|0x40,_0x484f8b[0x8]=_0x484f8b[0x8]&0x3f|0x80,hi(_0x484f8b);}const z=a['createIdentifier'](_0x30a490(0x18f));function vi(_0x43047e){var _0x364772=_0x30a490;return _0x364772(0x446)+_0x43047e;}var Si=Object['getOwnPropertyDescriptor'],fi=(_0x50599e,_0x31960e,_0x2ae94b,_0x5e95b2)=>{var _0x5c92b0=_0x30a490;for(var _0x454452=_0x5e95b2>0x1?void 0x0:_0x5e95b2?Si(_0x31960e,_0x2ae94b):_0x31960e,_0x3e83c5=_0x50599e[_0x5c92b0(0x31c)]-0x1,_0x6734cd;_0x3e83c5>=0x0;_0x3e83c5--)(_0x6734cd=_0x50599e[_0x3e83c5])&&(_0x454452=_0x6734cd(_0x454452)||_0x454452);return _0x454452;},Ae=(_0x5f391c,_0x139d0d)=>(_0xdb260,_0x33ef87)=>_0x139d0d(_0xdb260,_0x33ef87,_0x5f391c);function pi(_0x49988a){var _0x13d639=_0x30a490;const {unitID:_0x25bd19,mutations:_0x2bd7d8}=_0x49988a;return{'unitId':_0x25bd19,'subUnitId':_0x2bd7d8[0x0]['params'][_0x13d639(0x3a8)]};}exports[_0x30a490(0x47e)]=class{constructor(_0x591593,_0x23ec18,_0x4f39d8){var _0x3c9252=_0x30a490;this[_0x3c9252(0x44a)]=_0x591593,this[_0x3c9252(0x3e6)]=_0x23ec18,this[_0x3c9252(0x1d8)]=_0x4f39d8;}['transformSelections'](_0x3636ce){var _0x42f4a5=_0x30a490,_0x26ca07,_0x4b522e,_0x16f7e1,_0x305282;const _0x3e2ff6=this[_0x42f4a5(0x44a)][_0x42f4a5(0x31a)](Z[_0x42f4a5(0x19a)]),{unitId:_0xf5a5b6,subUnitId:_0x13409f}=pi(_0x3636ce),_0x1b50ed=_0x3e2ff6==null?void 0x0:_0x3e2ff6[_0x42f4a5(0x34c)](_0xf5a5b6)['getCurrentSelections'](),_0x2765b6=(_0x4b522e=(_0x26ca07=this[_0x42f4a5(0x1d8)][_0x42f4a5(0x28b)](_0xf5a5b6))==null?void 0x0:_0x26ca07[_0x42f4a5(0x2f0)]())==null?void 0x0:_0x4b522e['getSheetId']();if(_0x1b50ed[_0x42f4a5(0x31c)]===0x0||!_0xf5a5b6||!_0x13409f)return;const _0xa8bedd=[{'id':Z[_0x42f4a5(0x4c8)]['id'],'params':{'unitId':_0xf5a5b6,'subUnitId':_0x2765b6,'selections':a[_0x42f4a5(0x48e)][_0x42f4a5(0x2aa)](_0x1b50ed)}}],_0x56a7ac=this[_0x42f4a5(0x3e6)]['transformMutationsWithChangeset'](_0x3636ce,_0xa8bedd);if(!g['isTransformMutationsWithChangesetSuccess'](_0x56a7ac))throw _0x56a7ac[_0x42f4a5(0x29c)];const _0x22d340=(_0x305282=(_0x16f7e1=_0x56a7ac['m2Prime'][0x0])==null?void 0x0:_0x16f7e1['params'])==null?void 0x0:_0x305282[_0x42f4a5(0x169)];if(Array[_0x42f4a5(0x4b6)](_0x22d340)&&_0x22d340[_0x42f4a5(0x31c)]){if(_0x22d340[_0x42f4a5(0x31c)]===_0xa8bedd[0x0][_0x42f4a5(0x26e)]['selections'][_0x42f4a5(0x31c)]&&_0x22d340[_0x42f4a5(0x181)]((_0x42818d,_0x3acbc6)=>a['Rectangle'][_0x42f4a5(0x16a)](_0x42818d['range'],_0xa8bedd[0x0]['params']['selections'][_0x3acbc6][_0x42f4a5(0x27a)])))return;this[_0x42f4a5(0x44a)][_0x42f4a5(0x31a)](a[_0x42f4a5(0x3bb)])[_0x42f4a5(0x34f)](Z[_0x42f4a5(0x4c8)]['id'],{'unitId':_0xf5a5b6,'subUnitId':_0x2765b6,'selections':_0x22d340});}}},exports[_0x30a490(0x47e)]=fi([Ae(0x0,a['Inject'](a[_0x30a490(0x453)])),Ae(0x1,g[_0x30a490(0x41d)]),Ae(0x2,a[_0x30a490(0x2f7)])],exports[_0x30a490(0x47e)]);const ve=a[_0x30a490(0x3c8)](_0x30a490(0x220));var Fe=(_0x293864=>(_0x293864[_0x293864[_0x30a490(0x494)]=0x0]=_0x30a490(0x494),_0x293864[_0x293864[_0x30a490(0x1e1)]=0x1]=_0x30a490(0x1e1),_0x293864))(Fe||{});const gi=new Set([Z[_0x30a490(0x17f)]['id']]);function ze(_0x47dce7,_0x168e1d,_0x57f08b,_0xb4f041,_0x3a28a2){var _0x32ac70=_0x30a490,_0x12f2cb,_0x426ea9,_0x2c83d8,_0x5bd4a9;const _0xe388e9=[];for(const _0x2a9001 of _0x47dce7)if(gi[_0x32ac70(0x225)](_0x2a9001['id'])){if(_0xe388e9['length']>0x0)break;_0xe388e9[_0x32ac70(0x2ab)](_0x2a9001);break;}else _0xe388e9[_0x32ac70(0x2ab)](_0x2a9001);const _0x5a3454=(_0x426ea9=(_0x12f2cb=_0x3a28a2[_0x32ac70(0x37a)]())==null?void 0x0:_0x12f2cb[_0x32ac70(0x288)])!=null?_0x426ea9:_0x32ac70(0x188),_0x2dbbc2=(_0x5bd4a9=(_0x2c83d8=_0x3a28a2[_0x32ac70(0x37a)]())==null?void 0x0:_0x2c83d8[_0x32ac70(0x3e5)])!=null?_0x5bd4a9:_0x32ac70(0x188);return{'changeset':{'unitID':_0x168e1d,'type':g[_0x32ac70(0x3fb)](_0x57f08b['getUnitType'](_0x168e1d)),'baseRev':_0xb4f041[_0x32ac70(0x1aa)](_0x168e1d),'revision':0x0,'userID':_0x5a3454,'memberID':_0x2dbbc2,'mutations':_0xe388e9},'pendingMutations':_0x47dce7[_0x32ac70(0x322)](_0xe388e9[_0x32ac70(0x31c)])};}function mi(_0x3970e6,_0x1e413e,_0x32b16e,_0x252a78,_0x2cd5c7){var _0x5ee6fb=_0x30a490,_0x56f135,_0xd8a846,_0x563177,_0x232dce;const _0x2f1164=[_0x3970e6[_0x5ee6fb(0x32d)]((_0x41096f,_0x186939)=>{var _0x104f61=_0x5ee6fb,_0x5f141d;const {id:_0x4db80e}=_0x41096f,{id:_0x7e66c8,type:_0x137680}=_0x186939,_0x16f7f2=(_0x5f141d=_0x41096f[_0x104f61(0x26e)])!=null?_0x5f141d:{'actions':null},_0x361d6d=_0x186939[_0x104f61(0x26e)];if(_0x4db80e&&_0x4db80e!==_0x7e66c8)throw new Error(_0x104f61(0x27e)+_0x4db80e+_0x104f61(0x17b)+_0x7e66c8+'.');return{..._0x41096f,'id':_0x7e66c8,'type':_0x137680,'params':{'unitId':_0x361d6d['unitId'],'textRanges':_0x361d6d['textRanges'],'actions':a[_0x104f61(0x3cd)][_0x104f61(0x273)](_0x16f7f2[_0x104f61(0x428)],_0x361d6d[_0x104f61(0x428)])}};},{})],_0x2474d2=(_0xd8a846=(_0x56f135=_0x2cd5c7['getCurrentUser']())==null?void 0x0:_0x56f135[_0x5ee6fb(0x288)])!=null?_0xd8a846:_0x5ee6fb(0x188),_0x1b28bc=(_0x232dce=(_0x563177=_0x2cd5c7[_0x5ee6fb(0x37a)]())==null?void 0x0:_0x563177['memberID'])!=null?_0x232dce:_0x5ee6fb(0x188);return{'changeset':{'unitID':_0x1e413e,'type':g['mapDocumentTypeToUniverType'](_0x32b16e[_0x5ee6fb(0x1a0)](_0x1e413e)),'baseRev':_0x252a78['getCurrentRevOfUnit'](_0x1e413e),'revision':0x0,'userID':_0x2474d2,'memberID':_0x1b28bc,'mutations':_0x2f1164},'pendingMutations':[]};}function Ot(_0x4a0e2f,_0x2467d0){var _0x4e342c=_0x30a490;const _0xc0cab2=new j[(_0x4e342c(0x1b3))](0x1);return setTimeout(()=>_0xc0cab2['next'](_0x2467d0),_0x4a0e2f),_0xc0cab2[_0x4e342c(0x1f3)]()[_0x4e342c(0x286)](j[_0x4e342c(0x45d)](0x1));}const Ii={'id':Z['EmptyMutation']['id'],'type':a[_0x30a490(0x2e9)][_0x30a490(0x308)],'params':{}};var Ei=Object['getOwnPropertyDescriptor'],ce=(_0x24186c,_0x5f5cdd,_0xd0b168,_0x2d884c)=>{var _0x3b716e=_0x30a490;for(var _0x5bb485=_0x2d884c>0x1?void 0x0:_0x2d884c?Ei(_0x5f5cdd,_0xd0b168):_0x5f5cdd,_0x520cb7=_0x24186c[_0x3b716e(0x31c)]-0x1,_0x4c0f68;_0x520cb7>=0x0;_0x520cb7--)(_0x4c0f68=_0x24186c[_0x520cb7])&&(_0x5bb485=_0x4c0f68(_0x5bb485)||_0x5bb485);return _0x5bb485;},w=(_0x5b123a,_0x3a7ffc)=>(_0x1cf7a6,_0x11cb0d)=>_0x3a7ffc(_0x1cf7a6,_0x11cb0d,_0x5b123a),Ve=(_0x24c685=>(_0x24c685[_0x30a490(0x242)]=_0x30a490(0x2e0),_0x24c685[_0x30a490(0x1c6)]=_0x30a490(0x47b),_0x24c685[_0x30a490(0x411)]=_0x30a490(0x2c0),_0x24c685[_0x30a490(0x2dc)]=_0x30a490(0x255),_0x24c685[_0x30a490(0x48a)]='awaiting_with_pending',_0x24c685[_0x30a490(0x194)]=_0x30a490(0x388),_0x24c685[_0x30a490(0x427)]=_0x30a490(0x343),_0x24c685['OFFLINE']=_0x30a490(0x2a1),_0x24c685))(Ve||{});const Nt=0xea60;class he{constructor(_0x2780e8,_0x22ff62,_0x25e662,_0x48e8fa,_0x7a8a32,_0x1121d1,_0x3cd10f,_0x2dffc1,_0x4a4032){var _0x571f27=_0x30a490;A(this,_0x571f27(0x328),null),A(this,_0x571f27(0x30f),[]),(this[_0x571f27(0x272)]=_0x2780e8,this[_0x571f27(0x299)]=_0x22ff62,this[_0x571f27(0x309)]=_0x7a8a32,this[_0x571f27(0x33d)]=_0x1121d1,this[_0x571f27(0x4c0)]=_0x3cd10f,this[_0x571f27(0x45c)]=_0x2dffc1,this[_0x571f27(0x1a3)]=_0x4a4032,this[_0x571f27(0x328)]=_0x25e662,this[_0x571f27(0x30f)]=_0x48e8fa);}[_0x30a490(0x4c6)](_0x2d6776){var _0x2e1b0c=_0x30a490;const _0x2990af=this[_0x2e1b0c(0x45c)][_0x2e1b0c(0x1aa)](this[_0x2e1b0c(0x272)]);return _0x2d6776[_0x2e1b0c(0x493)]>_0x2990af+0x1?(this['_handler'][_0x2e1b0c(0x358)]({'from':_0x2990af,'to':_0x2d6776[_0x2e1b0c(0x493)]-0x1}),!0x0):!0x1;}[_0x30a490(0x175)](_0x5494dc){var _0xbbfd5e=_0x30a490;this[_0xbbfd5e(0x4c0)][_0xbbfd5e(0x1d6)](this[_0xbbfd5e(0x272)],_0x5494dc);}[_0x30a490(0x472)](_0x394f14){var _0x40c7ca=_0x30a490,_0x5f3b4d,_0x34ce8d;(_0x34ce8d=(_0x5f3b4d=this[_0x40c7ca(0x309)])[_0x40c7ca(0x234)])==null||_0x34ce8d[_0x40c7ca(0x356)](_0x5f3b4d,_0x394f14);}['_transformIMECache'](_0x46a0a1){var _0x13c949=_0x30a490,_0x4a1d40,_0x131ebf;return(_0x131ebf=(_0x4a1d40=this['_handler'])[_0x13c949(0x4c4)])==null?void 0x0:_0x131ebf[_0x13c949(0x356)](_0x4a1d40,_0x46a0a1);}[_0x30a490(0x337)](_0x13c433){var _0x36e7ac=_0x30a490,_0x571241,_0x49bc05;return(_0x49bc05=(_0x571241=this[_0x36e7ac(0x309)])[_0x36e7ac(0x3f4)])==null?void 0x0:_0x49bc05[_0x36e7ac(0x356)](_0x571241,_0x13c433);}[_0x30a490(0x31f)](_0x147a17){var _0x5f1453=_0x30a490,_0x5d088a,_0x15d431,_0x296011;return(_0x296011=(_0x15d431=(_0x5d088a=this[_0x5f1453(0x309)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x15d431[_0x5f1453(0x356)](_0x5d088a,_0x147a17))!=null?_0x296011:_0x147a17;}['_transformRemoteChangesetByStateCache'](_0x3a556b){var _0x5ab164=_0x30a490,_0x47b96a,_0x4c2e26,_0x3cbf89;return(_0x3cbf89=(_0x4c2e26=(_0x47b96a=this[_0x5ab164(0x309)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4c2e26[_0x5ab164(0x356)](_0x47b96a,_0x3a556b))!=null?_0x3cbf89:_0x3a556b;}[_0x30a490(0x4b8)](_0x503605){var _0x16e763=_0x30a490,_0xafd580,_0x40799e;if(this[_0x16e763(0x299)]===X['UNIVER_DOC']){const {unitID:_0x2bd7d6,mutations:_0xff644f,memberID:_0x1f01e1}=_0x503605,_0x1542bb=_0xff644f[0x0][_0x16e763(0x26e)]['textRanges'];Array[_0x16e763(0x4b6)](_0x1542bb)&&_0x1542bb['length']>0x0&&((_0x40799e=(_0xafd580=this[_0x16e763(0x309)])[_0x16e763(0x31b)])==null||_0x40799e[_0x16e763(0x356)](_0xafd580,{'unitID':_0x2bd7d6,'memberID':_0x1f01e1,'textRanges':_0x1542bb}));}}['_updateLocalCache'](){var _0xc7f646=_0x30a490,_0xcb3e2;(_0xcb3e2=this[_0xc7f646(0x1a3)])==null||_0xcb3e2[_0xc7f646(0x1b4)](this[_0xc7f646(0x272)],this[_0xc7f646(0x299)],this[_0xc7f646(0x328)],this[_0xc7f646(0x30f)]);}[_0x30a490(0x39b)](){var _0x5b9df5=_0x30a490;return this[_0x5b9df5(0x45c)][_0x5b9df5(0x1aa)](this['unitID']);}[_0x30a490(0x487)](){var _0x595865=_0x30a490;this[_0x595865(0x45c)]['incrementRevOfUnit'](this[_0x595865(0x272)]);}['_executeRemoteChangeset'](_0x162683){var _0x237326=_0x30a490,_0x54b57d;let _0x3668b7=this[_0x237326(0x31f)](_0x162683);_0x3668b7=this[_0x237326(0x3d7)](_0x3668b7);const _0x54cee6=a[_0x237326(0x3f8)](_0x3668b7[_0x237326(0x20e)],this[_0x237326(0x33d)],{'fromCollab':!0x0});if(!_0x54cee6[_0x237326(0x425)])throw _0x54cee6['error']instanceof Error?_0x54cee6[_0x237326(0x29c)]:new Error((_0x54b57d=_0x54cee6['error'])!=null?_0x54b57d:_0x237326(0x406));this[_0x237326(0x2a6)](_0x3668b7),this[_0x237326(0x337)](_0x3668b7),this[_0x237326(0x175)](_0x162683),this[_0x237326(0x472)](_0x3668b7),this[_0x237326(0x4b8)](_0x3668b7),this[_0x237326(0x487)]();}}exports[_0x30a490(0x1de)]=class extends he{constructor(_0x1ca2f1,_0x296048,_0x5e7e23,_0x56a994,_0x26eef8,_0x3930ff,_0xe9a863,_0x28719d,_0x473824,_0xb35f77){var _0x4f226e=_0x30a490;super(_0x1ca2f1,_0x296048,null,[],_0x5e7e23,_0xe9a863,_0x3930ff,_0x56a994,_0xb35f77),A(this,_0x4f226e(0x2fc),_0x4f226e(0x47b)),(this['_injector']=_0x26eef8,this[_0x4f226e(0x39c)]=_0x28719d,this[_0x4f226e(0x3e6)]=_0x473824,this[_0x4f226e(0x20a)]=_0xb35f77);}[_0x30a490(0x2bf)](_0x448b06){var _0x1b16d8=_0x30a490;const _0x4e684b=this['_injector'][_0x1b16d8(0x1d3)](exports[_0x1b16d8(0x3ee)],this['unitID'],this[_0x1b16d8(0x299)],[_0x448b06],this[_0x1b16d8(0x309)]);return _0x4e684b['_schedule'](),_0x4e684b[_0x1b16d8(0x484)](),_0x4e684b;}[_0x30a490(0x357)](_0x3f9df4){var _0x4fa163=_0x30a490;if(this['_checkMissing'](_0x3f9df4))return this[_0x4fa163(0x44a)][_0x4fa163(0x1d3)](exports[_0x4fa163(0x3ba)],this['unitID'],this[_0x4fa163(0x299)],null,[],null,[_0x3f9df4],this[_0x4fa163(0x309)]);try{const _0x356c69=this[_0x4fa163(0x3e6)][_0x4fa163(0x394)](_0x3f9df4,[Ii]);if(g['isTransformMutationsWithChangesetSuccess'](_0x356c69)){const {c1Prime:_0x287e34}=_0x356c69;return this[_0x4fa163(0x35c)](_0x287e34),this;}throw _0x356c69[_0x4fa163(0x29c)];}catch(_0x1958b2){return this[_0x4fa163(0x39c)][_0x4fa163(0x29c)](_0x1958b2),this[_0x4fa163(0x4e1)](!0x1);}}[_0x30a490(0x4e1)](_0x56e5a8){var _0x2bf2f4=_0x30a490;return this[_0x2bf2f4(0x44a)][_0x2bf2f4(0x1d3)](exports['ConflictState'],this['unitID'],this['type'],null,[],this[_0x2bf2f4(0x309)],_0x56e5a8);}[_0x30a490(0x301)](){var _0x56117a=_0x30a490;throw new Error(_0x56117a(0x24a));}['onRemoteRej'](){var _0x388a89=_0x30a490;throw new Error(_0x388a89(0x226));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x51475e=_0x30a490;return this[_0x51475e(0x44a)][_0x51475e(0x1d3)](exports[_0x51475e(0x35e)],this['unitID'],this[_0x51475e(0x299)],null,[],this[_0x51475e(0x309)]);}[_0x30a490(0x18c)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x30a490(0x176)](){var _0xf412db=_0x30a490;const _0x353b67=this[_0xf412db(0x45c)][_0xf412db(0x1aa)](this[_0xf412db(0x272)]);return this[_0xf412db(0x309)][_0xf412db(0x358)]({'from':_0x353b67,'to':0x0}),this['_injector'][_0xf412db(0x1d3)](exports['FetchingMissState'],this['unitID'],this[_0xf412db(0x299)],null,[],null,[],this[_0xf412db(0x309)]);}},exports[_0x30a490(0x1de)]=ce([w(0x3,a[_0x30a490(0x3af)](g['RevisionService'])),w(0x4,a[_0x30a490(0x3af)](a[_0x30a490(0x453)])),w(0x5,a[_0x30a490(0x1eb)]),w(0x6,a[_0x30a490(0x3bb)]),w(0x7,a[_0x30a490(0x2c8)]),w(0x8,g['ITransformService']),w(0x9,a[_0x30a490(0x342)](z))],exports[_0x30a490(0x1de)]),exports[_0x30a490(0x3ee)]=class extends he{constructor(_0x4ef6d4,_0x495cfe,_0x10c6f6,_0x15ea4b,_0x47163b,_0x4ba2c4,_0x2384c8,_0x292f97,_0x4d28f7,_0x3cdae5,_0x29050b,_0xe14e77,_0xb80390,_0x4ab81d){var _0x303467=_0x30a490;super(_0x4ef6d4,_0x495cfe,null,_0x10c6f6,_0x15ea4b,_0x4d28f7,_0xb80390,_0x4ba2c4,_0x4ab81d),A(this,_0x303467(0x2fc),_0x303467(0x2c0)),A(this,_0x303467(0x25a),null),A(this,_0x303467(0x490),null),(this[_0x303467(0x44a)]=_0x47163b,this[_0x303467(0x27f)]=_0x2384c8,this[_0x303467(0x39c)]=_0x292f97,this['_configService']=_0x3cdae5,this[_0x303467(0x3e6)]=_0x29050b,this[_0x303467(0x32b)]=_0xe14e77);}['appendMutation'](_0x2a0816){var _0x574b52=_0x30a490;return this[_0x574b52(0x30f)]['push'](_0x2a0816),this['_updateLocalCache'](),this;}[_0x30a490(0x357)](_0x4ba363){var _0x225806=_0x30a490;if(this[_0x225806(0x4c6)](_0x4ba363))return this[_0x225806(0x27b)](),this[_0x225806(0x44a)]['createInstance'](exports[_0x225806(0x3ba)],this[_0x225806(0x272)],this[_0x225806(0x299)],null,this[_0x225806(0x30f)],null,[_0x4ba363],this[_0x225806(0x309)]);try{const _0x38d5d8=this[_0x225806(0x3e6)]['transformMutationsWithChangeset'](_0x4ba363,this['_pendingMutations']);if(g[_0x225806(0x21c)](_0x38d5d8)){const {c1Prime:_0x449b86,m2Prime:_0x439ae6}=_0x38d5d8;this['_executeRemoteChangeset'](_0x449b86);const _0x448a5e=this[_0x225806(0x44a)][_0x225806(0x1d3)](exports[_0x225806(0x3ee)],this[_0x225806(0x272)],this[_0x225806(0x299)],_0x439ae6,this['_handler']);this[_0x225806(0x27b)]();const _0x4f6bfa=new Date()[_0x225806(0x237)](),_0x2a4146=this[_0x225806(0x25a)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x4f6bfa,0x0):this[_0x225806(0x1b2)]();return _0x448a5e[_0x225806(0x2e7)](_0x2a4146),_0x448a5e;}throw _0x38d5d8[_0x225806(0x29c)];}catch(_0x5ec1b6){return this[_0x225806(0x39c)]['error'](_0x5ec1b6),this[_0x225806(0x4e1)](!0x1);}}[_0x30a490(0x301)](){var _0x64dd61=_0x30a490;throw new Error(_0x64dd61(0x1a8));}[_0x30a490(0x32e)](){var _0x174c24=_0x30a490;throw new Error(_0x174c24(0x2d7));}['onRemoteRetry'](){return this;}[_0x30a490(0x22a)](){var _0x2a0239=_0x30a490;return this[_0x2a0239(0x27b)](),this[_0x2a0239(0x44a)]['createInstance'](exports['OfflineState'],this['unitID'],this['type'],null,this[_0x2a0239(0x30f)],this[_0x2a0239(0x309)]);}['toggleOnline'](){return this;}[_0x30a490(0x2e7)](_0x10fc94){var _0x2be9e1=_0x30a490;const _0x2ac1e6=_0x10fc94!=null?_0x10fc94:this[_0x2be9e1(0x1b2)]();this[_0x2be9e1(0x25a)]=new Date()[_0x2be9e1(0x237)]()+_0x2ac1e6,this[_0x2be9e1(0x490)]=setTimeout(()=>{var _0x531847=_0x2be9e1;this[_0x531847(0x27b)]();let _0xa80cbe=null;switch(this[_0x531847(0x299)]){case X[_0x531847(0x2f3)]:{_0xa80cbe=ze(this['_pendingMutations'],this[_0x531847(0x272)],this['_univerInstanceService'],this[_0x531847(0x45c)],this[_0x531847(0x27f)]);break;}case X[_0x531847(0x204)]:{this[_0x531847(0x30f)][_0x531847(0x181)](_0x252263=>_0x252263['id']===ut[_0x531847(0x200)]['id'])?_0xa80cbe=mi(this[_0x531847(0x30f)],this['unitID'],this[_0x531847(0x32b)],this[_0x531847(0x45c)],this[_0x531847(0x27f)]):_0xa80cbe=ze(this[_0x531847(0x30f)],this[_0x531847(0x272)],this[_0x531847(0x32b)],this[_0x531847(0x45c)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x531847(0x299)]+_0x531847(0x16f));}const {changeset:_0x1b0bea,pendingMutations:_0x5e373c}=_0xa80cbe;this[_0x531847(0x309)][_0x531847(0x37e)](_0x1b0bea);const _0x59b597=_0x5e373c['length']?this[_0x531847(0x44a)]['createInstance'](exports[_0x531847(0x2ec)],this[_0x531847(0x272)],this[_0x531847(0x299)],_0x1b0bea,_0x5e373c,this['_handler'],void 0x0):this[_0x531847(0x44a)][_0x531847(0x1d3)](exports[_0x531847(0x23a)],this[_0x531847(0x272)],this[_0x531847(0x299)],_0x1b0bea,this[_0x531847(0x309)]);_0x59b597['_updateLocalCache'](),this[_0x531847(0x309)][_0x531847(0x398)](this,_0x59b597);},_0x2ac1e6);}[_0x30a490(0x1b2)](){var _0x6ba0e5=_0x30a490,_0x1447c7;const _0x24c31c=this[_0x6ba0e5(0x42f)][_0x6ba0e5(0x2bc)](Y);return(_0x1447c7=_0x24c31c==null?void 0x0:_0x24c31c[_0x6ba0e5(0x232)])!=null?_0x1447c7:jt;}['resend'](){var _0x395726=_0x30a490;throw new Error(_0x395726(0x271));}[_0x30a490(0x27b)](){var _0x4ae83f=_0x30a490;this[_0x4ae83f(0x490)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x4ae83f(0x490)]=null);}[_0x30a490(0x4e1)](_0x20fb57){var _0x415189=_0x30a490;return this[_0x415189(0x27b)](),this[_0x415189(0x44a)]['createInstance'](exports['ConflictState'],this[_0x415189(0x272)],this[_0x415189(0x299)],null,this[_0x415189(0x30f)],this[_0x415189(0x309)],_0x20fb57);}},exports['PendingState']=ce([w(0x4,a[_0x30a490(0x3af)](a[_0x30a490(0x453)])),w(0x5,a[_0x30a490(0x3af)](g[_0x30a490(0x35a)])),w(0x6,a[_0x30a490(0x3af)](exports[_0x30a490(0x21e)])),w(0x7,a[_0x30a490(0x2c8)]),w(0x8,a['ICommandService']),w(0x9,a['IConfigService']),w(0xa,g[_0x30a490(0x41d)]),w(0xb,a[_0x30a490(0x2f7)]),w(0xc,a[_0x30a490(0x1eb)]),w(0xd,a[_0x30a490(0x342)](z))],exports[_0x30a490(0x3ee)]),exports[_0x30a490(0x23a)]=class extends he{constructor(_0x421203,_0x158488,_0x39e0e3,_0xeda419,_0x379a7a,_0x2e5623,_0x1e1402,_0x34e1ad,_0x58c5e6,_0x26b786,_0x468f29){var _0x1b6f18=_0x30a490;super(_0x421203,_0x158488,_0x39e0e3,[],_0xeda419,_0x1e1402,_0x26b786,_0x2e5623,_0x468f29),A(this,'status',_0x1b6f18(0x255)),A(this,_0x1b6f18(0x463),0x0),A(this,'_resendTimer'),A(this,_0x1b6f18(0x430)),(this[_0x1b6f18(0x44a)]=_0x379a7a,this['_logService']=_0x34e1ad,this[_0x1b6f18(0x3e6)]=_0x58c5e6);}[_0x30a490(0x2bf)](_0x5d5d08){var _0x4f64f5=_0x30a490;this[_0x4f64f5(0x27b)]();const _0x5b693a=this[_0x4f64f5(0x44a)][_0x4f64f5(0x1d3)](exports[_0x4f64f5(0x2ec)],this[_0x4f64f5(0x272)],this[_0x4f64f5(0x299)],this[_0x4f64f5(0x328)],[_0x5d5d08],this[_0x4f64f5(0x309)],this['_resendTimer']);return _0x5b693a[_0x4f64f5(0x484)](),_0x5b693a;}[_0x30a490(0x357)](_0x214ddd){var _0x3fa8e3=_0x30a490;if(this[_0x3fa8e3(0x4c6)](_0x214ddd))return this[_0x3fa8e3(0x27b)](),this['_injector'][_0x3fa8e3(0x1d3)](exports['FetchingMissState'],this['unitID'],this[_0x3fa8e3(0x299)],this['_awaitingChangeset'],[],null,[_0x214ddd],this[_0x3fa8e3(0x309)]);try{const _0x1ccfe5=this['_transformService'][_0x3fa8e3(0x4dd)]([_0x214ddd],[this['_awaitingChangeset']],!0x1);if(g[_0x3fa8e3(0x491)](_0x1ccfe5)){const {c1Prime:_0x55bcb3,c2Prime:_0x3b3b02}=_0x1ccfe5;this['_executeRemoteChangeset'](_0x55bcb3[0x0]),_0x3b3b02[0x0][_0x3fa8e3(0x3a5)]=this[_0x3fa8e3(0x39b)](),this[_0x3fa8e3(0x27b)]();const _0x494768=this[_0x3fa8e3(0x44a)]['createInstance'](exports[_0x3fa8e3(0x23a)],this[_0x3fa8e3(0x272)],this[_0x3fa8e3(0x299)],_0x3b3b02[0x0],this['_handler']);return _0x494768[_0x3fa8e3(0x484)](),_0x494768;}return this[_0x3fa8e3(0x4e1)](!0x1);}catch(_0x3731b5){return this[_0x3fa8e3(0x39c)][_0x3fa8e3(0x29c)](_0x3731b5),this[_0x3fa8e3(0x4e1)](!0x1);}}[_0x30a490(0x301)](_0x2bf7f4){var _0x19f51b=_0x30a490;this['_clearScheduledTask']();const _0x202939=this['_revisionService'][_0x19f51b(0x1aa)](this[_0x19f51b(0x272)]);if(_0x2bf7f4['revision']<_0x202939-0x1)return this;if(this[_0x19f51b(0x4c6)](_0x2bf7f4))return this['_injector'][_0x19f51b(0x1d3)](exports[_0x19f51b(0x3ba)],this[_0x19f51b(0x272)],this[_0x19f51b(0x299)],null,[],this[_0x19f51b(0x328)],[],this[_0x19f51b(0x309)]);this['_incrementRevisionNumber']();const _0x2f7c63=this[_0x19f51b(0x44a)][_0x19f51b(0x1d3)](exports[_0x19f51b(0x1de)],this[_0x19f51b(0x272)],this[_0x19f51b(0x299)],this[_0x19f51b(0x309)]);return _0x2f7c63[_0x19f51b(0x484)](),_0x2f7c63;}[_0x30a490(0x32e)](_0x3649ec){var _0x1a5737=_0x30a490;return this['_onConflict'](!!(_0x3649ec!=null&&_0x3649ec[_0x1a5737(0x367)]));}[_0x30a490(0x445)](_0x48598b){var _0x29076d=_0x30a490;return this['_resendTimeout']>Nt?this['toggleOffline']():(this[_0x29076d(0x312)]=Ot(this['_resendTimeout'],{'timeout':this[_0x29076d(0x463)],'reqId':_0x48598b[_0x29076d(0x24b)]}),this[_0x29076d(0x430)]=this[_0x29076d(0x312)][_0x29076d(0x2d4)](({reqId:_0x4e02fc,timeout:_0x2f3c01})=>{var _0x545a65=_0x29076d;this[_0x545a65(0x17a)](_0x4e02fc,_0x2f3c01);}),this);}[_0x30a490(0x22a)](){var _0x38726c=_0x30a490;return this[_0x38726c(0x27b)](),this[_0x38726c(0x44a)][_0x38726c(0x1d3)](exports[_0x38726c(0x35e)],this[_0x38726c(0x272)],this[_0x38726c(0x299)],this['_awaitingChangeset'],[],this[_0x38726c(0x309)]);}[_0x30a490(0x18c)](){return this;}[_0x30a490(0x310)](){var _0x17e5a1=_0x30a490;this[_0x17e5a1(0x309)][_0x17e5a1(0x37e)](this['_awaitingChangeset']);}[_0x30a490(0x4e1)](_0x86ce08){var _0x42e2a3=_0x30a490;return this[_0x42e2a3(0x27b)](),this[_0x42e2a3(0x44a)][_0x42e2a3(0x1d3)](exports[_0x42e2a3(0x41a)],this[_0x42e2a3(0x272)],this[_0x42e2a3(0x299)],this[_0x42e2a3(0x328)],[],this[_0x42e2a3(0x309)],_0x86ce08);}['_resendWithTimeout'](_0x5ee044,_0x1b63e7){var _0x1451fd=_0x30a490,_0x96d129;_0x5ee044===((_0x96d129=this[_0x1451fd(0x328)])==null?void 0x0:_0x96d129[_0x1451fd(0x24b)])&&(this[_0x1451fd(0x310)](),this['_resendTimeout']=_0x1b63e7===0x0?0x3e8:_0x1b63e7*0x2);}[_0x30a490(0x27b)](){var _0x32a17b=_0x30a490,_0x2f9c8d;(_0x2f9c8d=this['_sender'])==null||_0x2f9c8d[_0x32a17b(0x2ae)](),this['_resendTimeout']=0x0;}},exports[_0x30a490(0x23a)]=ce([w(0x4,a[_0x30a490(0x3af)](a[_0x30a490(0x453)])),w(0x5,a[_0x30a490(0x3af)](g[_0x30a490(0x35a)])),w(0x6,a[_0x30a490(0x3bb)]),w(0x7,a['ILogService']),w(0x8,g['ITransformService']),w(0x9,a[_0x30a490(0x1eb)]),w(0xa,a[_0x30a490(0x342)](z))],exports[_0x30a490(0x23a)]),exports[_0x30a490(0x2ec)]=class extends he{constructor(_0x332756,_0x4e72f5,_0x5c2454,_0x4f28fb,_0x4541dd,_0x51ffb4,_0x2faabc,_0x67fa1f,_0x19c23d,_0x51396b,_0x195c19,_0x517879,_0x497329){var _0x390e50=_0x30a490;super(_0x332756,_0x4e72f5,_0x5c2454,_0x4f28fb,_0x4541dd,_0x19c23d,_0x517879,_0x67fa1f,_0x497329),A(this,_0x390e50(0x2fc),_0x390e50(0x2af)),A(this,_0x390e50(0x463),0x0),A(this,'_resendTimer'),A(this,'_sender'),(this[_0x390e50(0x44a)]=_0x2faabc,this['_logService']=_0x51396b,this[_0x390e50(0x3e6)]=_0x195c19,this[_0x390e50(0x20a)]=_0x497329,_0x51ffb4&&(this[_0x390e50(0x312)]=_0x51ffb4,this[_0x390e50(0x430)]=this['_resendTimer'][_0x390e50(0x2d4)](({reqId:_0xa74654,timeout:_0x1209b0})=>{var _0x3497c6=_0x390e50;this[_0x3497c6(0x17a)](_0xa74654,_0x1209b0);})));}[_0x30a490(0x2bf)](_0x154dfe){var _0x56090e=_0x30a490;return this[_0x56090e(0x30f)][_0x56090e(0x2ab)](_0x154dfe),this;}[_0x30a490(0x357)](_0x46f9e4){var _0x186848=_0x30a490;if(this[_0x186848(0x4c6)](_0x46f9e4))return this['_clearScheduledTask'](),this[_0x186848(0x44a)]['createInstance'](exports[_0x186848(0x3ba)],this[_0x186848(0x272)],this[_0x186848(0x299)],this[_0x186848(0x328)],this['_pendingMutations'],null,[_0x46f9e4],this[_0x186848(0x309)]);try{const _0x352797=this['_transformService'][_0x186848(0x4dd)]([_0x46f9e4],[this[_0x186848(0x328)]],!0x1);if(g['isTransformChangesetsSuccess'](_0x352797)){const {c1Prime:_0x24b658,c2Prime:_0x4c258d}=_0x352797,_0x3fe17c=this[_0x186848(0x3e6)]['transformMutationsWithChangeset'](_0x24b658[0x0],this[_0x186848(0x30f)]);if(g[_0x186848(0x21c)](_0x3fe17c)){const {c1Prime:_0xd65ea3,m2Prime:_0x2fc22a}=_0x3fe17c;return this['_executeRemoteChangeset'](_0xd65ea3),_0x4c258d[0x0][_0x186848(0x3a5)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x186848(0x44a)][_0x186848(0x1d3)](exports[_0x186848(0x2ec)],this[_0x186848(0x272)],this[_0x186848(0x299)],_0x4c258d[0x0],_0x2fc22a,this[_0x186848(0x309)],void 0x0);}throw _0x3fe17c['error'];}throw _0x352797[_0x186848(0x29c)];}catch(_0x3906e8){return this[_0x186848(0x39c)][_0x186848(0x29c)](_0x3906e8),this['_onConflict'](!0x1);}}[_0x30a490(0x301)](_0x48c217){var _0x3be91b=_0x30a490;if(this[_0x3be91b(0x27b)](),this[_0x3be91b(0x4c6)](_0x48c217))return this['_injector']['createInstance'](exports[_0x3be91b(0x3ba)],this[_0x3be91b(0x272)],this[_0x3be91b(0x299)],null,this[_0x3be91b(0x30f)],this[_0x3be91b(0x328)],[],this['_handler']);this[_0x3be91b(0x487)]();const _0x4baf51=this[_0x3be91b(0x44a)][_0x3be91b(0x1d3)](exports[_0x3be91b(0x3ee)],this['unitID'],this[_0x3be91b(0x299)],this['_pendingMutations'],this[_0x3be91b(0x309)]);return _0x4baf51['_schedule'](),_0x4baf51[_0x3be91b(0x484)](),_0x4baf51;}[_0x30a490(0x32e)](_0x404323){var _0x1dd1d7=_0x30a490;return this[_0x1dd1d7(0x4e1)](!!(_0x404323!=null&&_0x404323['isPermissionRej']));}[_0x30a490(0x445)](_0x4500ff){var _0x3dbedd=_0x30a490;return this[_0x3dbedd(0x463)]>Nt?this[_0x3dbedd(0x22a)]():(this[_0x3dbedd(0x312)]=Ot(this[_0x3dbedd(0x463)],{'timeout':this[_0x3dbedd(0x463)],'reqId':_0x4500ff[_0x3dbedd(0x24b)]}),this[_0x3dbedd(0x430)]=this[_0x3dbedd(0x312)][_0x3dbedd(0x2d4)](({reqId:_0x5cd309,timeout:_0xe73a82})=>{var _0x2eb776=_0x3dbedd;this[_0x2eb776(0x17a)](_0x5cd309,_0xe73a82);}),this);}['toggleOffline'](){var _0x5c72ef=_0x30a490;return this[_0x5c72ef(0x27b)](),this[_0x5c72ef(0x44a)][_0x5c72ef(0x1d3)](exports[_0x5c72ef(0x35e)],this[_0x5c72ef(0x272)],this['type'],this[_0x5c72ef(0x328)],this[_0x5c72ef(0x30f)],this[_0x5c72ef(0x309)]);}[_0x30a490(0x18c)](){return this;}['resend'](){var _0x37bc7f=_0x30a490;this[_0x37bc7f(0x309)][_0x37bc7f(0x37e)](this['_awaitingChangeset']);}['_onConflict'](_0x1de700){var _0x396fa9=_0x30a490;return this['_clearScheduledTask'](),this['_injector']['createInstance'](exports['ConflictState'],this[_0x396fa9(0x272)],this['type'],null,this[_0x396fa9(0x30f)],this[_0x396fa9(0x309)],_0x1de700);}[_0x30a490(0x17a)](_0x2a19c9,_0x57b44d){var _0xf31406=_0x30a490,_0x47142a;_0x2a19c9===((_0x47142a=this[_0xf31406(0x328)])==null?void 0x0:_0x47142a['reqId'])&&(this[_0xf31406(0x310)](),this['_resendTimeout']=_0x57b44d===0x0?0x3e8:_0x57b44d*0x2);}['_clearScheduledTask'](){var _0x1af7ff=_0x30a490,_0x34e486;(_0x34e486=this[_0x1af7ff(0x430)])==null||_0x34e486['unsubscribe'](),this[_0x1af7ff(0x463)]=0x0;}},exports[_0x30a490(0x2ec)]=ce([w(0x6,a[_0x30a490(0x3af)](a[_0x30a490(0x453)])),w(0x7,a[_0x30a490(0x3af)](g[_0x30a490(0x35a)])),w(0x8,a[_0x30a490(0x3bb)]),w(0x9,a['ILogService']),w(0xa,g['ITransformService']),w(0xb,a[_0x30a490(0x1eb)]),w(0xc,a[_0x30a490(0x342)](z))],exports['AwaitingWithPendingState']),exports[_0x30a490(0x41a)]=class extends he{constructor(_0x3b4d5f,_0xa8c899,_0xc80c88,_0x72946f,_0x510e3c,_0x2f8a9f=!0x1,_0x469448,_0x4ea5bf,_0x555271,_0x3dca84,_0xc928ad,_0x3ace78,_0x1be5ea){var _0x317895=_0x30a490;super(_0x3b4d5f,_0xa8c899,_0xc80c88,_0x72946f,_0x510e3c,_0x4ea5bf,_0x555271,_0x3dca84,_0x1be5ea),A(this,_0x317895(0x2fc),_0x317895(0x343)),(this[_0x317895(0x48c)]=_0x2f8a9f,this['_permissionService']=_0x469448,this['_localeService']=_0xc928ad,this[_0x317895(0x2a5)]=_0x3ace78,this['localCacheService']=_0x1be5ea,this[_0x317895(0x1ae)](),this[_0x317895(0x1dc)](),this[_0x317895(0x336)]());}[_0x30a490(0x2bf)](){return this;}['onRemoteChangeset'](){return this;}[_0x30a490(0x301)](){return this;}['onRemoteRej'](){return this;}[_0x30a490(0x445)](){return this;}[_0x30a490(0x22a)](){return this;}[_0x30a490(0x18c)](){return this;}[_0x30a490(0x310)](){var _0x4a5dcd=_0x30a490;throw new Error(_0x4a5dcd(0x45a));}['_clearLocalCache'](){var _0x33bf90=_0x30a490,_0x347e1d;(_0x347e1d=this[_0x33bf90(0x1a3)])==null||_0x347e1d[_0x33bf90(0x1b4)](this[_0x33bf90(0x272)],this['type'],null,[]);}['_showConflictNotification'](){var _0x315460=_0x30a490;this[_0x315460(0x48c)]?this['_collaborationUIEventService'][_0x315460(0x16c)]({'id':Q[_0x315460(0x39e)]}):this[_0x315460(0x2a5)]['emitEvent']({'id':Q[_0x315460(0x427)]});}['_disableEditing'](){var _0x44e51e=_0x30a490;this[_0x44e51e(0x362)][_0x44e51e(0x3ce)](new Z['WorkbookEditablePermission'](this[_0x44e51e(0x272)])['id'],!0x1);}},exports['ConflictState']=ce([w(0x6,a[_0x30a490(0x3af)](a['IPermissionService'])),w(0x7,a[_0x30a490(0x3bb)]),w(0x8,a[_0x30a490(0x1eb)]),w(0x9,a[_0x30a490(0x3af)](g[_0x30a490(0x35a)])),w(0xa,a['Inject'](a[_0x30a490(0x327)])),w(0xb,a[_0x30a490(0x3af)](te)),w(0xc,a['Optional'](z))],exports[_0x30a490(0x41a)]),exports[_0x30a490(0x35e)]=class extends he{constructor(_0x41db1a,_0x2cbf88,_0x2b8c66,_0x214e57,_0x259bb2,_0x163cb0,_0x5e1d82,_0x596fab,_0x3ce7ae,_0x26a756){var _0x2846cc=_0x30a490;super(_0x41db1a,_0x2cbf88,_0x2b8c66,_0x214e57,_0x259bb2,_0x596fab,_0x3ce7ae,_0x5e1d82,_0x26a756),A(this,'status',_0x2846cc(0x2a1)),this['_injector']=_0x163cb0;}[_0x30a490(0x2bf)](_0x3271a1){var _0x23e02d=_0x30a490;return this[_0x23e02d(0x30f)][_0x23e02d(0x2ab)](_0x3271a1),this[_0x23e02d(0x484)](),this;}[_0x30a490(0x357)](_0x1745b9){var _0x3e7caf=_0x30a490;throw new Error(_0x3e7caf(0x201));}['onRemoteAck'](){var _0x5e2fe1=_0x30a490;throw new Error(_0x5e2fe1(0x2ce));}[_0x30a490(0x32e)](){var _0x2ebc4f=_0x30a490;throw new Error(_0x2ebc4f(0x186));}[_0x30a490(0x445)](){return this;}['toggleOffline'](){return this;}[_0x30a490(0x18c)](){var _0x7d9f4e=_0x30a490;const {_injector:_0x5c13dd,_pendingMutations:_0x24f652,_awaitingChangeset:_0x382a73,unitID:_0x3e3d45,_handler:_0x3c16b6,type:_0x5ea9af}=this,_0x21ce5b=Dt(_0x5c13dd,_0x3e3d45,_0x5ea9af,_0x382a73,_0x24f652,_0x3c16b6);return _0x21ce5b instanceof exports[_0x7d9f4e(0x3ee)]?_0x21ce5b[_0x7d9f4e(0x2e7)]():(_0x21ce5b instanceof exports[_0x7d9f4e(0x2ec)]||_0x21ce5b instanceof exports['AwaitingState'])&&_0x21ce5b[_0x7d9f4e(0x310)](),_0x21ce5b;}[_0x30a490(0x310)](){var _0x655da3=_0x30a490;throw new Error(_0x655da3(0x2fa));}},exports[_0x30a490(0x35e)]=ce([w(0x5,a['Inject'](a[_0x30a490(0x453)])),w(0x6,a[_0x30a490(0x3af)](g[_0x30a490(0x35a)])),w(0x7,a[_0x30a490(0x3bb)]),w(0x8,a[_0x30a490(0x1eb)]),w(0x9,a['Optional'](z))],exports['OfflineState']),exports[_0x30a490(0x3ba)]=class extends he{constructor(_0x4a6a60,_0x5b3113,_0x52e7d3,_0x2a1be3,_0x279db2,_0x5f13aa,_0xa1598c,_0x1ba496,_0x423c8c,_0x5742d0,_0x2ed552,_0x15603e,_0x374c34,_0x5e21d6){var _0x422dce=_0x30a490;super(_0x4a6a60,_0x5b3113,_0x52e7d3,_0x2a1be3,_0xa1598c,_0x2ed552,_0x15603e,_0x423c8c,_0x5e21d6),A(this,_0x422dce(0x2fc),_0x422dce(0x388)),(this[_0x422dce(0x4b4)]=_0x279db2,this[_0x422dce(0x465)]=_0x5f13aa,this[_0x422dce(0x44a)]=_0x1ba496,this[_0x422dce(0x39c)]=_0x5742d0,this[_0x422dce(0x3e6)]=_0x374c34,this['localCacheService']=_0x5e21d6);}[_0x30a490(0x2f8)](_0x2776c1){var _0x10fcbd=_0x30a490;try{const _0x3b038d=[..._0x2776c1,...this['_queuedRemoteChangesets']],_0x3ac91f=[this[_0x10fcbd(0x328)]||this[_0x10fcbd(0x4b4)]][_0x10fcbd(0x479)](_0x1d75ac=>!!_0x1d75ac);let _0x536e3c,_0x53ae24;if(_0x3ac91f[_0x10fcbd(0x31c)]){const _0x5d8182=this[_0x10fcbd(0x3e6)][_0x10fcbd(0x4dd)](_0x3b038d,_0x3ac91f,!0x1);if(!g[_0x10fcbd(0x491)](_0x5d8182))throw _0x5d8182[_0x10fcbd(0x29c)];_0x536e3c=_0x5d8182[_0x10fcbd(0x360)],_0x53ae24=_0x5d8182['c2Prime'];}else _0x536e3c=_0x3b038d,_0x53ae24=[];let _0x24b078=this[_0x10fcbd(0x30f)];_0x536e3c[_0x10fcbd(0x236)](_0x57719b=>{var _0x4ffd87=_0x10fcbd;let _0x48b0ca;if(_0x24b078[_0x4ffd87(0x31c)]){const _0x14a4d5=this[_0x4ffd87(0x3e6)][_0x4ffd87(0x394)](_0x57719b,_0x24b078);if(!g['isTransformMutationsWithChangesetSuccess'](_0x14a4d5))throw _0x14a4d5[_0x4ffd87(0x29c)];_0x48b0ca=_0x14a4d5[_0x4ffd87(0x360)],_0x24b078=_0x14a4d5['m2Prime'];}else _0x48b0ca=_0x57719b;this['_executeRemoteChangeset'](_0x48b0ca);}),this[_0x10fcbd(0x4b4)]&&this[_0x10fcbd(0x487)](),this[_0x10fcbd(0x328)]&&_0x53ae24[_0x10fcbd(0x31c)]&&(_0x53ae24[0x0]['baseRev']=this['_getCurrentRevision']());let _0x409f4c;if(this['_awaitingChangeset']&&_0x24b078[_0x10fcbd(0x31c)]!==0x0)_0x409f4c=this[_0x10fcbd(0x44a)][_0x10fcbd(0x1d3)](exports[_0x10fcbd(0x2ec)],this['unitID'],this[_0x10fcbd(0x299)],_0x53ae24[0x0],_0x24b078,this[_0x10fcbd(0x309)],void 0x0);else{if(this[_0x10fcbd(0x328)]&&_0x24b078[_0x10fcbd(0x31c)]===0x0)_0x53ae24[0x0][_0x10fcbd(0x3a5)]=this[_0x10fcbd(0x39b)](),_0x409f4c=this[_0x10fcbd(0x44a)][_0x10fcbd(0x1d3)](exports[_0x10fcbd(0x23a)],this[_0x10fcbd(0x272)],this[_0x10fcbd(0x299)],_0x53ae24[0x0],this['_handler']);else{if(_0x24b078[_0x10fcbd(0x31c)]!==0x0){const _0x5a5b0f=this[_0x10fcbd(0x44a)][_0x10fcbd(0x1d3)](exports[_0x10fcbd(0x3ee)],this['unitID'],this[_0x10fcbd(0x299)],_0x24b078,this['_handler']);_0x5a5b0f['_schedule'](),_0x409f4c=_0x5a5b0f;}else _0x409f4c=this[_0x10fcbd(0x44a)][_0x10fcbd(0x1d3)](exports['SyncedState'],this[_0x10fcbd(0x272)],this[_0x10fcbd(0x299)],this[_0x10fcbd(0x309)]);}}return _0x409f4c[_0x10fcbd(0x484)](),_0x409f4c;}catch(_0xfefc92){return this[_0x10fcbd(0x39c)]['error']('[FetchMissState]',_0x10fcbd(0x247),_0xfefc92),this[_0x10fcbd(0x44a)]['createInstance'](exports[_0x10fcbd(0x41a)],this[_0x10fcbd(0x272)],this[_0x10fcbd(0x299)],this[_0x10fcbd(0x328)],this[_0x10fcbd(0x30f)],this['_handler'],!0x1);}}[_0x30a490(0x310)](){var _0x5e2c6e=_0x30a490;throw new Error(_0x5e2c6e(0x454));}[_0x30a490(0x2bf)](_0x2bf35a){return this['_pendingMutations']['push'](_0x2bf35a),this;}[_0x30a490(0x357)](_0x1898ae){var _0x585a4a=_0x30a490;return this[_0x585a4a(0x465)][_0x585a4a(0x2ab)](_0x1898ae),this;}[_0x30a490(0x301)](_0x966c81){var _0x113793=_0x30a490;if(this[_0x113793(0x328)])return this[_0x113793(0x4b4)]=this[_0x113793(0x328)],this[_0x113793(0x328)]=null,this;throw new Error(_0x113793(0x2c7));}['onRemoteRej'](_0x51d66d){var _0x43ca3d=_0x30a490;return this[_0x43ca3d(0x4e1)](!!(_0x51d66d!=null&&_0x51d66d['isPermissionRej']));}[_0x30a490(0x445)](){return this;}[_0x30a490(0x22a)](){var _0x389643=_0x30a490;return this['_injector'][_0x389643(0x1d3)](exports[_0x389643(0x35e)],this[_0x389643(0x272)],this[_0x389643(0x299)],this[_0x389643(0x328)],this[_0x389643(0x30f)],this['_handler']);}[_0x30a490(0x18c)](){return this;}['_onConflict'](_0xf04aaf){var _0xc18911=_0x30a490;return this[_0xc18911(0x44a)][_0xc18911(0x1d3)](exports[_0xc18911(0x41a)],this[_0xc18911(0x272)],this['type'],this[_0xc18911(0x328)],this[_0xc18911(0x30f)],this[_0xc18911(0x309)],_0xf04aaf);}},exports[_0x30a490(0x3ba)]=ce([w(0x7,a['Inject'](a[_0x30a490(0x453)])),w(0x8,a[_0x30a490(0x3af)](g[_0x30a490(0x35a)])),w(0x9,a[_0x30a490(0x2c8)]),w(0xa,a['ICommandService']),w(0xb,a[_0x30a490(0x1eb)]),w(0xc,g[_0x30a490(0x41d)]),w(0xd,a['Optional'](z))],exports[_0x30a490(0x3ba)]);function Dt(_0x4a67f0,_0x580e84,_0xd075fa,_0x121822,_0x103d5a,_0x453cdd){var _0x4743ed=_0x30a490;return _0x121822&&_0x103d5a[_0x4743ed(0x31c)]?_0x4a67f0[_0x4743ed(0x1d3)](exports[_0x4743ed(0x2ec)],_0x580e84,_0xd075fa,_0x121822,_0x103d5a,_0x453cdd,void 0x0):_0x121822?_0x4a67f0[_0x4743ed(0x1d3)](exports[_0x4743ed(0x23a)],_0x580e84,_0xd075fa,_0x121822,_0x453cdd):_0x103d5a[_0x4743ed(0x31c)]?_0x4a67f0['createInstance'](exports['PendingState'],_0x580e84,_0xd075fa,_0x103d5a,_0x453cdd):_0x4a67f0[_0x4743ed(0x1d3)](exports[_0x4743ed(0x1de)],_0x580e84,_0xd075fa,_0x453cdd);}var Ci=Object[_0x30a490(0x2c2)],We=(_0x5d5734,_0x4d46ae,_0x9f4fbe,_0x423e68)=>{for(var _0x4cc795=_0x423e68>0x1?void 0x0:_0x423e68?Ci(_0x4d46ae,_0x9f4fbe):_0x4d46ae,_0xc9a1fa=_0x5d5734['length']-0x1,_0x77b919;_0xc9a1fa>=0x0;_0xc9a1fa--)(_0x77b919=_0x5d5734[_0xc9a1fa])&&(_0x4cc795=_0x77b919(_0x4cc795)||_0x4cc795);return _0x4cc795;},$=(_0x2c4e36,_0x1da5c9)=>(_0x4fc7be,_0x857e7c)=>_0x1da5c9(_0x4fc7be,_0x857e7c,_0x2c4e36);exports[_0x30a490(0x2c3)]=class extends a[_0x30a490(0x3b7)]{constructor(_0x455f0a,_0xec84d9,_0x3afc73,_0x5bf9f9,_0x1125c4,_0x460fd3,_0x544cb1,_0x125966,_0x2c297b,_0x1c5488,_0x1e0d55,_0x19ad0b,_0x23bec2){var _0x229662=_0x30a490;super(),A(this,_0x229662(0x3e0),new j[(_0x229662(0x1b6))](null)),A(this,_0x229662(0x399),this['_state$'][_0x229662(0x1f3)]()),A(this,'_state'),A(this,'_collaborationPaused',!0x1),A(this,_0x229662(0x1a6),''),A(this,_0x229662(0x483),0x0),A(this,_0x229662(0x40c),this[_0x229662(0x399)][_0x229662(0x286)](j[_0x229662(0x33c)](_0xc4d777=>_0xc4d777?_0xc4d777[_0x229662(0x2fc)]:Ve[_0x229662(0x4ae)]),j[_0x229662(0x228)](0x1))),A(this,'_transitionLocked',!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x229662(0x272)]=_0x455f0a,this[_0x229662(0x338)]=_0xec84d9,this['_type']=_0x3afc73,this[_0x229662(0x44a)]=_0x5bf9f9,this[_0x229662(0x434)]=_0x1125c4,this[_0x229662(0x455)]=_0x460fd3,this[_0x229662(0x45c)]=_0x544cb1,this[_0x229662(0x235)]=_0x125966,this['_logService']=_0x2c297b,this[_0x229662(0x33d)]=_0x1c5488,this[_0x229662(0x362)]=_0x1e0d55,this[_0x229662(0x193)]=_0x19ad0b,this[_0x229662(0x1a3)]=_0x23bec2);}get[_0x30a490(0x391)](){var _0x4dc296=_0x30a490;return this[_0x4dc296(0x4e0)];}async[_0x30a490(0x1b0)](){var _0x5391d4=_0x30a490;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x5391d4(0x3e4)]();}[_0x30a490(0x323)](){var _0x351ac6=_0x30a490;return this[_0x351ac6(0x320)]=!0x0,a['toDisposable'](()=>{var _0xebf657=_0x351ac6;this[_0xebf657(0x320)]=!0x1,this[_0xebf657(0x1f7)]();});}[_0x30a490(0x192)](_0x533490){var _0x15e4f3=_0x30a490;this[_0x15e4f3(0x216)](_0x533490);}[_0x30a490(0x4a8)](_0x5d8382){var _0x1a18f4=_0x30a490;this[_0x1a18f4(0x4e0)]=_0x5d8382,this[_0x1a18f4(0x3e0)][_0x1a18f4(0x18d)](_0x5d8382);}async['_init'](){var _0x2d0749=_0x30a490,_0x45640d;this[_0x2d0749(0x4a8)](await this[_0x2d0749(0x3bd)]()),this[_0x2d0749(0x193)]&&((_0x45640d=this['_singleActiveUnitService'])==null||_0x45640d[_0x2d0749(0x1a9)](this['unitID']),this[_0x2d0749(0x3f2)](this[_0x2d0749(0x193)][_0x2d0749(0x4c1)](this[_0x2d0749(0x272)])['subscribe'](_0xd5e5e1=>{var _0x304f23=_0x2d0749;this[_0x304f23(0x39c)][_0x304f23(0x1f2)]('[CollaborationEntity]',_0x304f23(0x18b),_0xd5e5e1),_0xd5e5e1===Fe['OTHER_CLIENTS_EDITING']?(this[_0x304f23(0x235)]['emitEvent']({'id':Q[_0x304f23(0x412)]}),this[_0x304f23(0x362)][_0x304f23(0x3ce)](new Z['WorkbookEditablePermission'](this[_0x304f23(0x272)])['id'],!0x1),this[_0x304f23(0x362)][_0x304f23(0x33b)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new Z[(_0x304f23(0x1a5))](this['unitID'])['id'],!0x0),this[_0x304f23(0x362)]['setShowComponents'](!0x0));})));let _0x596075=!0x1;return this[_0x2d0749(0x3f2)](this[_0x2d0749(0x338)][_0x2d0749(0x482)][_0x2d0749(0x2d4)](_0x33b3e9=>{var _0x3bf685=_0x2d0749;_0x33b3e9===se[_0x3bf685(0x265)]?this[_0x3bf685(0x26a)](_0x596075):_0x33b3e9===se[_0x3bf685(0x4ae)]&&(_0x596075=!0x0,this[_0x3bf685(0x263)]());})),this[_0x2d0749(0x3f2)](this[_0x2d0749(0x338)]['event$']['subscribe'](_0x50b378=>{var _0x42b9e4=_0x2d0749;try{switch(_0x50b378[_0x42b9e4(0x1c8)]){case g[_0x42b9e4(0x1ce)][_0x42b9e4(0x274)]:{this['_onRemoteChangeset'](g['parseProtocolChangeset'](_0x50b378['data']));break;}case g[_0x42b9e4(0x1ce)][_0x42b9e4(0x40a)]:{this[_0x42b9e4(0x202)](_0x50b378[_0x42b9e4(0x3fa)]);break;}case g[_0x42b9e4(0x1ce)][_0x42b9e4(0x2d5)]:{this[_0x42b9e4(0x4cb)]();break;}case g[_0x42b9e4(0x1ce)][_0x42b9e4(0x40b)]:{this['_onRemoteRetry'](_0x50b378[_0x42b9e4(0x3fa)]);break;}case g[_0x42b9e4(0x1ce)][_0x42b9e4(0x49e)]:{this[_0x42b9e4(0x262)](_0x50b378[_0x42b9e4(0x3fa)][_0x42b9e4(0x1fc)][_0x42b9e4(0x33c)](_0x5c1070=>g[_0x42b9e4(0x23d)](_0x5c1070)));break;}case g[_0x42b9e4(0x1ce)][_0x42b9e4(0x1f1)]:{this[_0x42b9e4(0x4cb)]({'isPermissionRej':!0x0});break;}case g[_0x42b9e4(0x1ce)][_0x42b9e4(0x2b9)]:break;}}catch(_0x1b9a75){throw console[_0x42b9e4(0x29c)](_0x42b9e4(0x170),_0x1b9a75),_0x1b9a75;}})),this[_0x2d0749(0x4e0)];}[_0x30a490(0x2c6)](){var _0x1db57d=_0x30a490;this[_0x1db57d(0x44b)]=!0x1;}[_0x30a490(0x3ad)](){var _0x1f5df6=_0x30a490;if(this[_0x1f5df6(0x44b)])throw new Error(_0x1f5df6(0x4bf));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x2f15b3){var _0x2016a4=_0x30a490;this[_0x2016a4(0x3ad)](),this[_0x2016a4(0x4a8)](this[_0x2016a4(0x4e0)]['appendMutation'](_0x2f15b3)),this[_0x2016a4(0x2c6)]();}[_0x30a490(0x4d1)](_0x1ccbd5){var _0x449898=_0x30a490;if(!(_0x1ccbd5[_0x449898(0x493)]<=this[_0x449898(0x45c)][_0x449898(0x1aa)](this[_0x449898(0x272)]))){if(this[_0x449898(0x320)]){this['_remoteChangesetQueue'][_0x449898(0x2ab)](_0x1ccbd5);return;}this['_applyRemoteChangeset'](_0x1ccbd5);}}[_0x30a490(0x1f7)](){var _0x7c6009=_0x30a490;this[_0x7c6009(0x167)][_0x7c6009(0x236)](_0x183975=>this[_0x7c6009(0x16d)](_0x183975)),this['_remoteChangesetQueue']=[];}[_0x30a490(0x16d)](_0x37c092){var _0x2b36c2=_0x30a490;const _0x3e6964=this[_0x2b36c2(0x434)][_0x2b36c2(0x376)][_0x2b36c2(0x349)](this[_0x2b36c2(0x434)][_0x2b36c2(0x376)][_0x2b36c2(0x280)]()['COMPRESS_MUTATION_APPLY'])(_0x37c092[_0x2b36c2(0x20e)],null)||_0x37c092[_0x2b36c2(0x20e)],_0x3d5046={..._0x37c092,'mutations':_0x3e6964};this[_0x2b36c2(0x3ad)](),this[_0x2b36c2(0x4a8)](this['_state']['onRemoteChangeset'](_0x3d5046)),this[_0x2b36c2(0x2c6)]();}[_0x30a490(0x202)](_0x4984){var _0x553175=_0x30a490;this[_0x553175(0x3ad)](),this[_0x553175(0x4a8)](this[_0x553175(0x4e0)][_0x553175(0x301)](_0x4984)),this['_unlockTransition']();}[_0x30a490(0x4cb)](_0x23fdb7){var _0x396862=_0x30a490;this['_lockTransition'](),this[_0x396862(0x4a8)](this[_0x396862(0x4e0)]['onRemoteRej'](_0x23fdb7)),this[_0x396862(0x2c6)]();}[_0x30a490(0x3d0)](_0x1af81c){var _0x4548a8=_0x30a490;this[_0x4548a8(0x3ad)](),this['_updateState'](this[_0x4548a8(0x4e0)][_0x4548a8(0x445)](_0x1af81c)),this[_0x4548a8(0x2c6)]();}[_0x30a490(0x262)](_0x31df65){var _0x4baac3=_0x30a490;if(!(this[_0x4baac3(0x4e0)]instanceof exports[_0x4baac3(0x3ba)]))throw new TypeError(_0x4baac3(0x4db));const _0x11e163=_0x31df65[_0x4baac3(0x33c)](_0x33e93a=>{var _0x2b147f=_0x4baac3;const _0x20c0d7=this[_0x2b147f(0x434)][_0x2b147f(0x376)][_0x2b147f(0x349)](this[_0x2b147f(0x434)][_0x2b147f(0x376)]['getInterceptPoints']()[_0x2b147f(0x17d)])(_0x33e93a['mutations'],null)||_0x33e93a[_0x2b147f(0x20e)];return{..._0x33e93a,'mutations':_0x20c0d7};});this[_0x4baac3(0x3ad)](),this[_0x4baac3(0x4a8)](this[_0x4baac3(0x4e0)]['onMissedChangesetFetched'](_0x11e163)),this[_0x4baac3(0x2c6)]();}[_0x30a490(0x263)](){var _0x4c115a=_0x30a490;this['_lockTransition'](),this[_0x4c115a(0x4a8)](this[_0x4c115a(0x4e0)]['toggleOffline']()),this[_0x4c115a(0x2c6)]();}[_0x30a490(0x26a)](_0x2bc4dc=!0x1){var _0x3d4e56=_0x30a490;this[_0x3d4e56(0x3ad)](),this['_updateState'](this[_0x3d4e56(0x4e0)][_0x3d4e56(0x18c)]()),this[_0x3d4e56(0x2c6)]();const _0x3130d6=this[_0x3d4e56(0x4e0)];_0x2bc4dc&&_0x3130d6 instanceof exports[_0x3d4e56(0x1de)]&&(this['_lockTransition'](),this[_0x3d4e56(0x4a8)](_0x3130d6[_0x3d4e56(0x176)]()),this[_0x3d4e56(0x2c6)]());}async[_0x30a490(0x3bd)](){return new Promise(_0x197457=>{var _0x98a84b=_0x2a67;this[_0x98a84b(0x338)][_0x98a84b(0x482)]['pipe'](j[_0x98a84b(0x45d)](0x1))[_0x98a84b(0x2d4)](async _0x30e054=>{var _0x25ac03=_0x98a84b;_0x197457(await this[_0x25ac03(0x1f8)](_0x30e054===se[_0x25ac03(0x265)]));});});}[_0x30a490(0x4a5)](){const _0x1f3fd4=this['unitID'];return{'onStateChange':(_0x1e9169,_0x32d6c4)=>{var _0x1704d5=_0x2a67;if(_0x1e9169!==this[_0x1704d5(0x4e0)])throw new Error(_0x1704d5(0x473)+_0x1e9169[_0x1704d5(0x2fc)]+'\x0aAfter:\x20'+_0x32d6c4['status']+_0x1704d5(0x28d)+this['_state'][_0x1704d5(0x2fc)]);this['_updateState'](_0x32d6c4);},'onSendChangeset':_0x55cb75=>{var _0x1b925f=_0x2a67;_0x55cb75[_0x1b925f(0x203)]||(_0x55cb75[_0x1b925f(0x203)]=this['_changesetSessionId'],_0x55cb75[_0x1b925f(0x24b)]=++this[_0x1b925f(0x483)]);const _0x8ac0a4={'eventID':g[_0x1b925f(0x1ce)][_0x1b925f(0x3c6)],'data':{'unitID':_0x55cb75[_0x1b925f(0x272)],'unitType':this[_0x1b925f(0x1f4)],'changeset':_0x55cb75,'memberID':this[_0x1b925f(0x338)][_0x1b925f(0x435)]()}};this[_0x1b925f(0x338)][_0x1b925f(0x43d)](_0x8ac0a4,this[_0x1b925f(0x272)]);},'onMissingChangesets':({from:_0x51932a,to:_0x3e5dc6})=>{var _0x17b885=_0x2a67;this[_0x17b885(0x39c)]['debug']('[CollaborationEntity]',_0x17b885(0x1d9)+_0x51932a+'\x20to\x20'+_0x3e5dc6);const _0x5302aa={'eventID':g[_0x17b885(0x1ce)][_0x17b885(0x178)],'data':{'unitID':_0x1f3fd4,'unitType':this[_0x17b885(0x1f4)],'from':_0x51932a,'to':_0x3e5dc6}};this[_0x17b885(0x338)][_0x17b885(0x43d)](_0x5302aa,this[_0x17b885(0x272)]);}};}async[_0x30a490(0x1f8)](_0x2f8249){var _0x18ce97=_0x30a490,_0x4cf5b1,_0x7d6562,_0x21dccc;const _0x2a7cf9=await((_0x4cf5b1=this[_0x18ce97(0x1a3)])==null?void 0x0:_0x4cf5b1[_0x18ce97(0x317)](this[_0x18ce97(0x272)])),_0x2623c1=(_0x7d6562=_0x2a7cf9==null?void 0x0:_0x2a7cf9[_0x18ce97(0x20e)])!=null?_0x7d6562:[],_0x1645a4=(_0x21dccc=_0x2a7cf9==null?void 0x0:_0x2a7cf9[_0x18ce97(0x25d)])!=null?_0x21dccc:null,_0x21c787=!!(_0x1645a4!=null&&_0x1645a4[_0x18ce97(0x203)])&&!!(_0x1645a4!=null&&_0x1645a4[_0x18ce97(0x24b)]);this[_0x18ce97(0x1a6)]=_0x21c787?_0x1645a4[_0x18ce97(0x203)]:di(),this[_0x18ce97(0x483)]=_0x21c787?_0x1645a4[_0x18ce97(0x24b)]:0x0;const _0x2dd5e2=this[_0x18ce97(0x272)];try{this[_0x18ce97(0x359)](_0x1645a4,_0x2623c1);}catch(_0x3d4b11){this[_0x18ce97(0x39c)][_0x18ce97(0x29c)](_0x3d4b11);}const _0x496f0d=this['_createHandler']();if(_0x2f8249){const _0x32dea7=Dt(this[_0x18ce97(0x44a)],_0x2dd5e2,this['_type'],_0x1645a4,_0x2623c1,_0x496f0d);return _0x32dea7 instanceof exports[_0x18ce97(0x3ee)]?_0x32dea7['_schedule']():(_0x32dea7 instanceof exports['AwaitingWithPendingState']||_0x32dea7 instanceof exports[_0x18ce97(0x23a)])&&_0x32dea7[_0x18ce97(0x310)](),_0x32dea7;}return this['_injector'][_0x18ce97(0x1d3)](exports[_0x18ce97(0x35e)],_0x2dd5e2,this[_0x18ce97(0x1f4)],_0x1645a4,_0x2623c1,_0x496f0d);}[_0x30a490(0x359)](_0x1870b2,_0x4a9fbc){var _0x7c1f85=_0x30a490,_0x5571ed,_0x388601;const _0x53f501=this[_0x7c1f85(0x434)]['interceptor'][_0x7c1f85(0x349)](this[_0x7c1f85(0x434)]['interceptor'][_0x7c1f85(0x280)]()[_0x7c1f85(0x17d)]);(_0x5571ed=_0x53f501((_0x1870b2==null?void 0x0:_0x1870b2[_0x7c1f85(0x20e)])||[],null))==null||_0x5571ed[_0x7c1f85(0x236)](_0x5882d6=>this['_commandService']['executeCommand'](_0x5882d6['id'],_0x5882d6['params'])),(_0x388601=_0x53f501(_0x4a9fbc||[],null))==null||_0x388601[_0x7c1f85(0x236)](_0x4b1619=>this[_0x7c1f85(0x33d)][_0x7c1f85(0x34f)](_0x4b1619['id'],_0x4b1619['params']));}},exports[_0x30a490(0x2c3)]=We([$(0x3,a[_0x30a490(0x3af)](a[_0x30a490(0x453)])),$(0x4,a[_0x30a490(0x3af)](g[_0x30a490(0x2e5)])),$(0x5,a['Inject'](a[_0x30a490(0x327)])),$(0x6,a[_0x30a490(0x3af)](g[_0x30a490(0x35a)])),$(0x7,a[_0x30a490(0x3af)](te)),$(0x8,a['ILogService']),$(0x9,a[_0x30a490(0x3bb)]),$(0xa,a[_0x30a490(0x19e)]),$(0xb,a['Optional'](ve)),$(0xc,a['Optional'](z))],exports[_0x30a490(0x2c3)]),exports[_0x30a490(0x298)]=class extends exports[_0x30a490(0x2c3)]{constructor(_0x121d04,_0x209f77,_0x1f2a03,_0x5eae45,_0x431b65,_0x722fcc,_0x3d3301,_0x281593,_0x56cc66,_0x32e7ef,_0x45aa04,_0x36ad34,_0x477fea){var _0x1e1f64=_0x30a490;super(_0x121d04,_0x1f2a03,_0x209f77,_0x5eae45,_0x431b65,_0x722fcc,_0x3d3301,_0x281593,_0x56cc66,_0x32e7ef,_0x45aa04,_0x36ad34,_0x477fea),A(this,'_handlerCallback',null),(this['unitID']=_0x121d04,this[_0x1e1f64(0x299)]=_0x209f77);}[_0x30a490(0x318)](_0x583a65){var _0x399eeb=_0x30a490;this[_0x399eeb(0x4ca)]=_0x583a65;}[_0x30a490(0x4aa)](){var _0x429741=_0x30a490;this[_0x429741(0x4ca)]=null,super[_0x429741(0x4aa)]();}[_0x30a490(0x4a5)](){var _0x3e3c86=_0x30a490;const _0x5a732d=super['_createHandler']();return _0x5a732d['onTransformIME']=_0x2ca75b=>{var _0x4c7155=_0x2a67,_0x5e3b92,_0x34b899;return(_0x34b899=(_0x5e3b92=this[_0x4c7155(0x4ca)])==null?void 0x0:_0x5e3b92['onTransformIME'])==null?void 0x0:_0x34b899[_0x4c7155(0x356)](_0x5e3b92,_0x2ca75b);},_0x5a732d[_0x3e3c86(0x3f4)]=_0x309f01=>{var _0x56b8a1=_0x3e3c86,_0x27bfb8,_0xd37149;return(_0xd37149=(_0x27bfb8=this['_handlerCallback'])==null?void 0x0:_0x27bfb8[_0x56b8a1(0x3f4)])==null?void 0x0:_0xd37149[_0x56b8a1(0x356)](_0x27bfb8,_0x309f01);},_0x5a732d[_0x3e3c86(0x234)]=_0x34278f=>{var _0x4bfebd=_0x3e3c86,_0x5ec86b,_0x3332fc;return(_0x3332fc=(_0x5ec86b=this[_0x4bfebd(0x4ca)])==null?void 0x0:_0x5ec86b[_0x4bfebd(0x234)])==null?void 0x0:_0x3332fc['call'](_0x5ec86b,_0x34278f);},_0x5a732d['onSyncEditingCollabCursor']=_0x1df390=>{var _0x250f54=_0x3e3c86,_0x2691c8,_0x5d326d;return(_0x5d326d=(_0x2691c8=this[_0x250f54(0x4ca)])==null?void 0x0:_0x2691c8[_0x250f54(0x31b)])==null?void 0x0:_0x5d326d[_0x250f54(0x356)](_0x2691c8,_0x1df390);},_0x5a732d[_0x3e3c86(0x43f)]=_0x9f20b3=>{var _0xf667=_0x3e3c86,_0x6539db,_0x9b88e8,_0xbec222;if(!((_0x6539db=this[_0xf667(0x4ca)])!=null&&_0x6539db[_0xf667(0x43f)]))throw new Error(_0xf667(0x2d3));return(_0xbec222=(_0x9b88e8=this[_0xf667(0x4ca)])==null?void 0x0:_0x9b88e8[_0xf667(0x43f)])==null?void 0x0:_0xbec222['call'](_0x9b88e8,_0x9f20b3);},_0x5a732d['onTransformRemoteChangesetByStateCache']=_0x497e8b=>{var _0x5b55c0=_0x3e3c86,_0x1101a2,_0x550e97,_0x55d45e;if(!((_0x1101a2=this[_0x5b55c0(0x4ca)])!=null&&_0x1101a2[_0x5b55c0(0x366)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x55d45e=(_0x550e97=this[_0x5b55c0(0x4ca)])==null?void 0x0:_0x550e97[_0x5b55c0(0x366)])==null?void 0x0:_0x55d45e[_0x5b55c0(0x356)](_0x550e97,_0x497e8b);},_0x5a732d;}async['_init'](){var _0x465199=_0x30a490;const _0x3d6b22=await super[_0x465199(0x3e4)]();return this[_0x465199(0x3f2)](this['_commandService'][_0x465199(0x16b)]((_0x47481f,_0xedee1b)=>{var _0x22e973=_0x465199;if(_0x47481f[_0x22e973(0x299)]!==a[_0x22e973(0x2e9)][_0x22e973(0x308)]||_0xedee1b!=null&&_0xedee1b[_0x22e973(0x3ae)]||_0xedee1b!=null&&_0xedee1b['onlyLocal']||_0x47481f['id']===ut['RichTextEditingMutation']['id'])return;const _0x5d8c83=_0x47481f[_0x22e973(0x26e)];if((_0x5d8c83==null?void 0x0:_0x5d8c83[_0x22e973(0x1c2)])!==this['unitID'])return;const _0x6d9012=_0x47481f,_0x138a11=this[_0x22e973(0x434)][_0x22e973(0x376)][_0x22e973(0x349)](this[_0x22e973(0x434)]['interceptor'][_0x22e973(0x280)]()['COMPRESS_MUTATION_SEND'])([_0x6d9012],null)||[_0x6d9012];this[_0x22e973(0x216)](_0x138a11[0x0]);})),_0x3d6b22;}},exports['DocCollaborationEntity']=We([$(0x3,a[_0x30a490(0x3af)](a[_0x30a490(0x453)])),$(0x4,a['Inject'](g[_0x30a490(0x2e5)])),$(0x5,a[_0x30a490(0x3af)](a['LocaleService'])),$(0x6,a[_0x30a490(0x3af)](g[_0x30a490(0x35a)])),$(0x7,a['Inject'](te)),$(0x8,a[_0x30a490(0x2c8)]),$(0x9,a[_0x30a490(0x3bb)]),$(0xa,a[_0x30a490(0x19e)]),$(0xb,a['Optional'](ve)),$(0xc,a[_0x30a490(0x342)](z))],exports[_0x30a490(0x298)]),exports[_0x30a490(0x16e)]=class extends exports[_0x30a490(0x2c3)]{constructor(_0x4e3dcd,_0x992bc8,_0x2bac95,_0x2ca852,_0x358bb8,_0x36d5a4,_0x4dab80,_0x2d2261,_0x4ea0ea,_0x348bcd,_0x252c04,_0x3be8e6,_0x3bff10,_0x48fb9a){var _0x5c5c27=_0x30a490;super(_0x4e3dcd,_0x2bac95,_0x992bc8,_0x2ca852,_0x358bb8,_0x36d5a4,_0x4dab80,_0x4ea0ea,_0x348bcd,_0x252c04,_0x3be8e6,_0x3bff10,_0x48fb9a),this[_0x5c5c27(0x272)]=_0x4e3dcd,this[_0x5c5c27(0x299)]=_0x992bc8,this[_0x5c5c27(0x380)]=_0x2d2261;}[_0x30a490(0x4a5)](){var _0x756a7f=_0x30a490;const _0x25de15=super[_0x756a7f(0x4a5)]();return _0x25de15[_0x756a7f(0x234)]=_0x5208f4=>this[_0x756a7f(0x380)]['transformSelections'](_0x5208f4),_0x25de15;}async['_init'](){var _0x411faf=_0x30a490;const _0x170c9e=await super[_0x411faf(0x3e4)]();return this[_0x411faf(0x3f2)](this['_commandService'][_0x411faf(0x16b)]((_0x196aa7,_0x51d322)=>{var _0x9360a0=_0x411faf;if(_0x196aa7['type']!==a[_0x9360a0(0x2e9)]['MUTATION']||_0x51d322!=null&&_0x51d322[_0x9360a0(0x3ae)]||_0x51d322!=null&&_0x51d322['onlyLocal'])return;const _0x131630=_0x196aa7[_0x9360a0(0x26e)];if((_0x131630==null?void 0x0:_0x131630[_0x9360a0(0x1c2)])!==this['unitID'])return;const _0x48719b=_0x196aa7,_0x37cbf8=this[_0x9360a0(0x434)][_0x9360a0(0x376)][_0x9360a0(0x349)](this['_compressMutationService'][_0x9360a0(0x376)][_0x9360a0(0x280)]()['COMPRESS_MUTATION_SEND'])([_0x48719b],null)||[_0x48719b];this[_0x9360a0(0x216)](_0x37cbf8[0x0]);})),_0x170c9e;}},exports['SheetCollaborationEntity']=We([$(0x3,a[_0x30a490(0x3af)](a[_0x30a490(0x453)])),$(0x4,a['Inject'](g[_0x30a490(0x2e5)])),$(0x5,a['Inject'](a['LocaleService'])),$(0x6,a[_0x30a490(0x3af)](g[_0x30a490(0x35a)])),$(0x7,a[_0x30a490(0x3af)](exports[_0x30a490(0x47e)])),$(0x8,a[_0x30a490(0x3af)](te)),$(0x9,a[_0x30a490(0x2c8)]),$(0xa,a[_0x30a490(0x3bb)]),$(0xb,a[_0x30a490(0x19e)]),$(0xc,a[_0x30a490(0x342)](ve)),$(0xd,a[_0x30a490(0x342)](z))],exports['SheetCollaborationEntity']);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0x12894e,_0xb52812,_0x7b73de,_0x473ad1)=>{var _0x2e433c=_0x30a490;for(var _0x6aedfe=_0x473ad1>0x1?void 0x0:_0x473ad1?Ti(_0xb52812,_0x7b73de):_0xb52812,_0x3806ce=_0x12894e[_0x2e433c(0x31c)]-0x1,_0x42495d;_0x3806ce>=0x0;_0x3806ce--)(_0x42495d=_0x12894e[_0x3806ce])&&(_0x6aedfe=_0x42495d(_0x6aedfe)||_0x6aedfe);return _0x6aedfe;},Pe=(_0xb7201b,_0x1de157)=>(_0x59a0e9,_0x49f86c)=>_0x1de157(_0x59a0e9,_0x49f86c,_0xb7201b);exports[_0x30a490(0x22d)]=class extends a[_0x30a490(0x3b7)]{constructor(_0x4e33b7,_0x1d5058,_0x82b053){var _0x1ecef3=_0x30a490;super(),A(this,_0x1ecef3(0x179),new Map()),A(this,_0x1ecef3(0x397),new j[(_0x1ecef3(0x187))]()),A(this,_0x1ecef3(0x259),this[_0x1ecef3(0x397)][_0x1ecef3(0x1f3)]()),(this[_0x1ecef3(0x44a)]=_0x4e33b7,this[_0x1ecef3(0x1db)]=_0x1d5058,this[_0x1ecef3(0x32b)]=_0x82b053,this[_0x1ecef3(0x3e4)]());}['dispose'](){var _0x28b9e4=_0x30a490;super[_0x28b9e4(0x4aa)](),this[_0x28b9e4(0x179)][_0x28b9e4(0x236)](_0x1ba95=>_0x1ba95[_0x28b9e4(0x4aa)]()),this[_0x28b9e4(0x179)][_0x28b9e4(0x1cd)]();}[_0x30a490(0x440)](_0x29acd1){var _0x581e94=_0x30a490,_0x23e6a4;return(_0x23e6a4=this[_0x581e94(0x179)][_0x581e94(0x31a)](_0x29acd1))!=null?_0x23e6a4:null;}[_0x30a490(0x32a)](_0x44ca02){var _0x5410e4=_0x30a490;const _0x409661=this[_0x5410e4(0x440)](_0x44ca02);return _0x409661?j['of'](_0x409661):this[_0x5410e4(0x397)]['pipe'](V['filter'](_0x234d8c=>_0x234d8c[_0x5410e4(0x272)]===_0x44ca02));}['readyForCollab'](_0x557c0e){var _0x5ee513=_0x30a490;return j['firstValueFrom'](this[_0x5ee513(0x32a)](_0x557c0e)['pipe'](V['map'](()=>{})));}['_init'](){var _0x41bff8=_0x30a490;this[_0x41bff8(0x32b)][_0x41bff8(0x393)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x41bff8(0x286)](j[_0x41bff8(0x285)](this[_0x41bff8(0x451)]),V[_0x41bff8(0x208)](0x10))[_0x41bff8(0x2d4)](async _0x30e9bd=>{var _0x1d5e8a=_0x41bff8;const _0xc53c73=_0x30e9bd['getUnitId'](),_0x1be92d=await this[_0x1d5e8a(0x2d8)](_0xc53c73,X[_0x1d5e8a(0x2f3)]);this[_0x1d5e8a(0x179)][_0x1d5e8a(0x4a6)](_0xc53c73,_0x1be92d);}),this[_0x41bff8(0x32b)][_0x41bff8(0x393)](a[_0x41bff8(0x34d)][_0x41bff8(0x204)])[_0x41bff8(0x286)](j[_0x41bff8(0x285)](this[_0x41bff8(0x451)]),V[_0x41bff8(0x208)](0x10))[_0x41bff8(0x286)](V[_0x41bff8(0x479)](_0x5bfe64=>!_0x5bfe64[_0x41bff8(0x197)]()['startsWith']('__')))['subscribe'](async _0x3cd6f3=>{var _0x130d32=_0x41bff8;const _0x1ac8b1=_0x3cd6f3[_0x130d32(0x197)](),_0x1e8d70=await this['_startCollaboration'](_0x1ac8b1,X[_0x130d32(0x204)]);this['_entities'][_0x130d32(0x4a6)](_0x1ac8b1,_0x1e8d70);}),j[_0x41bff8(0x22e)](this[_0x41bff8(0x32b)][_0x41bff8(0x40d)](a[_0x41bff8(0x34d)][_0x41bff8(0x2f3)]),this['_univerInstanceService'][_0x41bff8(0x40d)](a['UniverInstanceType'][_0x41bff8(0x204)]))[_0x41bff8(0x286)](j['takeUntil'](this[_0x41bff8(0x451)]))[_0x41bff8(0x2d4)](_0x3f38bd=>{var _0x3ac84e=_0x41bff8;const _0x1f2920=_0x3f38bd['getUnitId'](),_0x1420d1=this['_entities'][_0x3ac84e(0x31a)](_0x1f2920);_0x1420d1&&(_0x1420d1['dispose'](),this[_0x3ac84e(0x179)][_0x3ac84e(0x2b4)](_0x1f2920));});}async['_startCollaboration'](_0x159489,_0x56ce5a){var _0x36d7b4=_0x30a490;const _0x12bc5c=await this[_0x36d7b4(0x1db)][_0x36d7b4(0x46d)](_0x159489),_0x8961cf=this['_injector'][_0x36d7b4(0x1d3)](this[_0x36d7b4(0x332)](_0x56ce5a),_0x159489,_0x56ce5a,_0x12bc5c);return await _0x8961cf[_0x36d7b4(0x1b0)](),this[_0x36d7b4(0x397)][_0x36d7b4(0x18d)](_0x8961cf),_0x8961cf;}['_getCtorByUniverType'](_0x1d967d){var _0x5242a4=_0x30a490;switch(_0x1d967d){case X[_0x5242a4(0x204)]:return exports[_0x5242a4(0x298)];case X['UNIVER_SHEET']:return exports[_0x5242a4(0x16e)];default:throw new Error(_0x5242a4(0x3dc)+_0x1d967d);}}},exports['CollaborationController']=bi([Pe(0x0,a[_0x30a490(0x3af)](a[_0x30a490(0x453)])),Pe(0x1,a['Inject'](exports[_0x30a490(0x2fe)])),Pe(0x2,a[_0x30a490(0x2f7)])],exports[_0x30a490(0x22d)]);var Ri=Object[_0x30a490(0x2c2)],yi=(_0xd15602,_0x4ae3a9,_0x149626,_0x3082a7)=>{var _0x2a411b=_0x30a490;for(var _0x210caa=_0x3082a7>0x1?void 0x0:_0x3082a7?Ri(_0x4ae3a9,_0x149626):_0x4ae3a9,_0x546214=_0xd15602[_0x2a411b(0x31c)]-0x1,_0x23cdd0;_0x546214>=0x0;_0x546214--)(_0x23cdd0=_0xd15602[_0x546214])&&(_0x210caa=_0x23cdd0(_0x210caa)||_0x210caa);return _0x210caa;},Je=(_0x552ad2,_0x376666)=>(_0x4b7653,_0x2d6f40)=>_0x376666(_0x4b7653,_0x2d6f40,_0x552ad2);const Oi=_0x30a490(0x45f),Ni='Univer';let He=class extends a['Disposable']{constructor(_0x265116,_0x2c27c2){var _0x2eaed8=_0x30a490;super(),this[_0x2eaed8(0x32b)]=_0x265116,this['_configService']=_0x2c27c2,this[_0x2eaed8(0x3e4)]();}[_0x30a490(0x3e4)](){var _0x1a6dfc=_0x30a490;this[_0x1a6dfc(0x3f2)](this[_0x1a6dfc(0x32b)][_0x1a6dfc(0x321)][_0x1a6dfc(0x2d4)](()=>{var _0x5f4571=_0x1a6dfc,_0x299e2f;const _0x38290b=this[_0x5f4571(0x32b)][_0x5f4571(0x3d4)]();let _0x2f8470=(_0x299e2f=this[_0x5f4571(0x42f)][_0x5f4571(0x2bc)](Oi))!=null?_0x299e2f:Ni;_0x38290b instanceof a[_0x5f4571(0x2ca)]&&(_0x2f8470=_0x38290b[_0x5f4571(0x22b)]),document[_0x5f4571(0x42b)]=_0x2f8470;}));}};He=yi([Je(0x0,a[_0x30a490(0x2f7)]),Je(0x1,a[_0x30a490(0x2cf)])],He);var Di=Object[_0x30a490(0x2c2)],Ui=(_0x541025,_0x375731,_0x110fe4,_0xe88667)=>{var _0x8682d8=_0x30a490;for(var _0x8c4d00=_0xe88667>0x1?void 0x0:_0xe88667?Di(_0x375731,_0x110fe4):_0x375731,_0x414c39=_0x541025[_0x8682d8(0x31c)]-0x1,_0x777223;_0x414c39>=0x0;_0x414c39--)(_0x777223=_0x541025[_0x414c39])&&(_0x8c4d00=_0x777223(_0x8c4d00)||_0x8c4d00);return _0x8c4d00;},we=(_0xcf518,_0x587d36)=>(_0xfed688,_0x526894)=>_0x587d36(_0xfed688,_0x526894,_0xcf518);let Oe=class{constructor(_0x38556c,_0x9cba5c,_0x482fdc){var _0x5ef5f9=_0x30a490;this[_0x5ef5f9(0x42f)]=_0x38556c,this[_0x5ef5f9(0x353)]=_0x9cba5c,this[_0x5ef5f9(0x2c1)]=_0x482fdc,this[_0x5ef5f9(0x1b0)]();}['init'](){var _0x598603=_0x30a490;this[_0x598603(0x353)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x509a9c,_0x5c5755)=>_0x5c5755(_0x509a9c)[_0x598603(0x286)](j[_0x598603(0x378)](async _0x3f36cf=>{var _0x41d867=_0x598603;const _0x3aec8b=_0x3f36cf;if(_0x3aec8b[_0x41d867(0x2fc)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x41d867(0x2dd)](this[_0x41d867(0x2c1)]['t'](_0x41d867(0x1bb)))){const _0x52cc99=window['encodeURIComponent'](window['location'][_0x41d867(0x243)]);window[_0x41d867(0x3fd)]['href']=this['_getLoginPath']()+_0x41d867(0x4d8)+_0x52cc99;}}return _0x3aec8b;}))});}[_0x30a490(0x474)](){var _0x1e7232=_0x30a490,_0x217df6,_0x5ec6ef;const _0x318071=this[_0x1e7232(0x42f)]['getConfig'](Et),_0x5c22f3=this['_configService'][_0x1e7232(0x2bc)](Y);return(_0x5ec6ef=(_0x217df6=_0x5c22f3==null?void 0x0:_0x5c22f3[_0x1e7232(0x452)])!=null?_0x217df6:_0x318071)!=null?_0x5ec6ef:Yt;}};Oe=Ui([we(0x0,a[_0x30a490(0x2cf)]),we(0x1,a[_0x30a490(0x3af)](q[_0x30a490(0x270)])),we(0x2,a['Inject'](a['LocaleService']))],Oe);var Ai=Object[_0x30a490(0x2c2)],Pi=(_0x4680b1,_0x3c1e49,_0x24c39a,_0x1f966b)=>{var _0x3ebd14=_0x30a490;for(var _0xffa160=_0x1f966b>0x1?void 0x0:_0x1f966b?Ai(_0x3c1e49,_0x24c39a):_0x3c1e49,_0x3d4c3e=_0x4680b1[_0x3ebd14(0x31c)]-0x1,_0x576560;_0x3d4c3e>=0x0;_0x3d4c3e--)(_0x576560=_0x4680b1[_0x3d4c3e])&&(_0xffa160=_0x576560(_0xffa160)||_0xffa160);return _0xffa160;},Xe=(_0x1ece9a,_0x3ea14b)=>(_0x4773c5,_0x625b6d)=>_0x3ea14b(_0x4773c5,_0x625b6d,_0x1ece9a);const Ge='AUTHZ_URL_KEY',wi='/universer-api/authz';exports['AuthzIoHttpService']=class extends a[_0x30a490(0x45b)]{constructor(_0x8d41c6,_0x124eba){var _0x4206a5=_0x30a490;super(),this[_0x4206a5(0x2e8)]=_0x8d41c6,this[_0x4206a5(0x42f)]=_0x124eba,this[_0x4206a5(0x4ac)]();}[_0x30a490(0x4ac)](){var _0x227d9e=_0x30a490;const _0x5abd41=this;this['disposeWithMe'](this['_HTTPService'][_0x227d9e(0x20d)]({'priority':0x3e7,'interceptor':q[_0x227d9e(0x36f)]({'isMatch'(_0x38de6b){var _0x5dedbb=_0x227d9e,_0x5d6497;if(_0x38de6b[_0x5dedbb(0x2bb)]===_0x5dedbb(0x17e)&&((_0x5d6497=_0x38de6b[_0x5dedbb(0x1e6)])!=null&&_0x5d6497[_0x5dedbb(0x17c)])){const {objectID:_0x1e05fd,objectType:_0x26e2ab}=_0x38de6b[_0x5dedbb(0x1e6)][_0x5dedbb(0x17c)]||{};if(!_0x1e05fd||_0x26e2ab===void 0x0)return!0x1;const _0x4c6ab8=_0x5abd41[_0x5dedbb(0x1d4)]()+'/'+_0x26e2ab+'/object/'+_0x1e05fd+'/allowed';if(_0x38de6b[_0x5dedbb(0x25b)]===_0x4c6ab8)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x179e6d){var _0x2672ff=_0x227d9e,_0x57ec99;return(_0x57ec99=_0x179e6d[_0x2672ff(0x1e6)])==null?void 0x0:_0x57ec99[_0x2672ff(0x17c)];},'mergeParamsToRequest'(_0xd84b52,_0x28bc65){var _0x1496f0=_0x227d9e;const _0x4ac7da=_0x5abd41[_0x1496f0(0x1d4)]()+_0x1496f0(0x42a),_0x31e860=_0xd84b52['reduce']((_0x5d1851,_0x49914b)=>{var _0x16e5b4=_0x1496f0;const {unitID:_0x3e711c,objectID:_0x1ed343,objectType:_0x96c5a7,actions:_0x83e97b}=_0x49914b;return _0x5d1851[_0x3e711c]||(_0x5d1851[_0x3e711c]={}),_0x5d1851[_0x3e711c][_0x1ed343]||(_0x5d1851[_0x3e711c][_0x1ed343]={'objectID':_0x1ed343,'objectType':_0x96c5a7,'actions':[]}),_0x5d1851[_0x3e711c][_0x1ed343]['actions'][_0x16e5b4(0x2ab)](..._0x83e97b),_0x5d1851;},{}),_0x599a12=[];for(const _0x42ed99 in _0x31e860)for(const _0x9d6984 in _0x31e860[_0x42ed99]){const {actions:_0x1986e6,objectType:_0x38e0bf}=_0x31e860[_0x42ed99][_0x9d6984],_0x4a8dcc=[...new Set(_0x1986e6)];_0x599a12[_0x1496f0(0x2ab)]({'unitID':_0x42ed99,'objectID':_0x9d6984,'objectType':_0x38e0bf,'actions':_0x4a8dcc});}return new q[(_0x1496f0(0x4da))](_0x1496f0(0x17e),_0x4ac7da,{'headers':_0x28bc65[_0x1496f0(0x1f5)],'withCredentials':_0x28bc65[_0x1496f0(0x4a9)],'responseType':_0x28bc65[_0x1496f0(0x2bd)],'body':{'requests':_0x599a12}});}},{'distributeResult'(_0x14b7da,_0x5a779b){var _0x39d338=_0x227d9e;const {objectActions:_0x31c85d}=_0x14b7da;return _0x5a779b[_0x39d338(0x33c)](_0x19ba2f=>{var _0x4b9768=_0x39d338;const {unitID:_0x4b70af,objectID:_0x2ed966,actions:_0xc69672}=_0x19ba2f,_0x4c3314=_0x31c85d['find'](_0x258eae=>_0x258eae[_0x4b9768(0x272)]===_0x4b70af&&_0x258eae[_0x4b9768(0x431)]===_0x2ed966),_0x1418d3=_0xc69672[_0x4b9768(0x33c)](_0x20a6b3=>_0x4c3314==null?void 0x0:_0x4c3314[_0x4b9768(0x428)][_0x4b9768(0x3d5)](_0x7db5fe=>_0x7db5fe['action']===_0x20a6b3))[_0x4b9768(0x479)](_0x2c7868=>!!_0x2c7868);return{'config':_0x19ba2f,'result':{'actions':_0x1418d3,'error':_0x14b7da[_0x4b9768(0x29c)]}};});}})}));}['_getAPIPrefixPath'](){var _0x27e720=_0x30a490,_0x6662b,_0x3e749a;const _0x21af4c=this[_0x27e720(0x42f)]['getConfig'](Ge),_0x1b9407=this[_0x27e720(0x42f)]['getConfig'](Y);return(_0x3e749a=(_0x6662b=_0x1b9407==null?void 0x0:_0x1b9407[_0x27e720(0x24f)])!=null?_0x6662b:_0x21af4c)!=null?_0x3e749a:wi;}async['create'](_0x4552db){var _0x4ed55f=_0x30a490;const _0x5d75cc=this[_0x4ed55f(0x1d4)]()+'/'+_0x4552db['objectType']+_0x4ed55f(0x1d0);return(await this[_0x4ed55f(0x2e8)]['post'](_0x5d75cc,{'body':_0x4552db}))[_0x4ed55f(0x17c)][_0x4ed55f(0x431)]||'';}async[_0x30a490(0x3de)](_0x205078){var _0x204ade=_0x30a490;const _0x2ae2e9=this[_0x204ade(0x1d4)]()+'/-/object/list';return(await this[_0x204ade(0x2e8)]['post'](_0x2ae2e9,{'body':_0x205078}))[_0x204ade(0x17c)][_0x204ade(0x371)];}async[_0x30a490(0x489)](_0x889fea){var _0x197cdc=_0x30a490,_0x49aa0c,_0x3577eb;const _0x3d1e8d=this['_getAPIPrefixPath']()+'/'+_0x889fea[_0x197cdc(0x42e)]+'/object/'+_0x889fea[_0x197cdc(0x431)],_0x1ff5ee=await this['_HTTPService'][_0x197cdc(0x462)](_0x3d1e8d,{'body':_0x889fea});if(((_0x3577eb=(_0x49aa0c=_0x1ff5ee==null?void 0x0:_0x1ff5ee['body'])==null?void 0x0:_0x49aa0c[_0x197cdc(0x29c)])==null?void 0x0:_0x3577eb[_0x197cdc(0x36b)])!==0x1)throw new Error(_0x197cdc(0x420));}async[_0x30a490(0x449)](_0x396937){var _0x11538c=_0x30a490;const _0x389159=this[_0x11538c(0x1d4)]()+'/'+_0x396937['objectType']+_0x11538c(0x408)+_0x396937[_0x11538c(0x431)]+_0x11538c(0x329);return(await this[_0x11538c(0x2e8)]['post'](_0x389159,{'body':_0x396937}))[_0x11538c(0x17c)][_0x11538c(0x428)];}async[_0x30a490(0x1a1)](_0x14708e){var _0xa09a69=_0x30a490;const _0x28bf3e=this[_0xa09a69(0x1d4)]()+_0xa09a69(0x42a);return(await this[_0xa09a69(0x2e8)][_0xa09a69(0x1d2)](_0x28bf3e,{'body':{'requests':_0x14708e}}))[_0xa09a69(0x17c)][_0xa09a69(0x382)];}async['listRoles'](_0x53bb08){var _0x38d016=_0x30a490;const _0x4ecaa4=this[_0x38d016(0x1d4)]()+'/'+_0x53bb08[_0x38d016(0x42e)]+_0x38d016(0x292),_0x2402c5=await this[_0x38d016(0x2e8)][_0x38d016(0x1d2)](_0x4ecaa4,{'body':_0x53bb08});return{'roles':_0x2402c5[_0x38d016(0x17c)][_0x38d016(0x377)],'actions':_0x2402c5[_0x38d016(0x17c)][_0x38d016(0x428)]};}async[_0x30a490(0x3d9)](_0x5857ec){var _0xebbb1=_0x30a490;const _0x1af21c=this[_0xebbb1(0x1d4)]()+'/collaborator';await this['_HTTPService']['delete'](_0x1af21c,{'params':{'collaboratorID':_0x5857ec['collaboratorID'],'objectID':_0x5857ec['objectID'],'unitID':_0x5857ec['unitID']}});}async[_0x30a490(0x444)](_0x4196c3){var _0x170ec5=_0x30a490;const _0xb0795=this[_0x170ec5(0x1d4)]()+_0x170ec5(0x400);await this[_0x170ec5(0x2e8)][_0x170ec5(0x277)](_0xb0795,{'body':_0x4196c3});}async[_0x30a490(0x1b5)](_0x90b616){var _0x1381e1=_0x30a490;const _0x466246=this[_0x1381e1(0x1d4)]()+'/collaborator';await this[_0x1381e1(0x2e8)][_0x1381e1(0x1d2)](_0x466246,{'body':_0x90b616});}async[_0x30a490(0x42d)](_0x5ce501){var _0xdb1fb9=_0x30a490;const _0x324d26=this[_0xdb1fb9(0x1d4)]()+_0xdb1fb9(0x400);return(await this[_0xdb1fb9(0x2e8)][_0xdb1fb9(0x31a)](_0x324d26,{'params':{'objectID':_0x5ce501[_0xdb1fb9(0x431)],'unitID':_0x5ce501[_0xdb1fb9(0x272)]}}))['body'][_0xdb1fb9(0x4bc)];}async[_0x30a490(0x25f)](_0x56144d){var _0xe3ca0c=_0x30a490;const _0x2c72a4=this[_0xe3ca0c(0x1d4)]()+_0xe3ca0c(0x400);await this['_HTTPService']['put'](_0x2c72a4,{'body':_0x56144d});}},exports['AuthzIoHttpService']=Pi([Xe(0x0,a[_0x30a490(0x3af)](q[_0x30a490(0x270)])),Xe(0x1,a[_0x30a490(0x3af)](a[_0x30a490(0x2cf)]))],exports['AuthzIoHttpService']);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x563786){var _0x58434d=_0x30a490;return _0x563786&&_0x563786[_0x58434d(0x290)]&&Object[_0x58434d(0x173)][_0x58434d(0x240)][_0x58434d(0x356)](_0x563786,_0x58434d(0x264))?_0x563786[_0x58434d(0x264)]:_0x563786;}var fe={'exports':{}};function Li(_0x614d8e){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x614d8e+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},Mi=pe[_0x30a490(0x4b3)],Ze;function ee(){var _0x35b339=_0x30a490;return Ze||(Ze=0x1,function(_0x24d15e,_0x314fe6){(function(_0x19bb86,_0x3a20bd){_0x24d15e['exports']=_0x3a20bd();}(Mi,function(){var _0x59d98f=_0x59d98f||function(_0x1a6fb8,_0x402508){var _0x527ca9=_0x2a67,_0x365c6e;if(typeof window<'u'&&window[_0x527ca9(0x351)]&&(_0x365c6e=window[_0x527ca9(0x351)]),typeof self<'u'&&self['crypto']&&(_0x365c6e=self[_0x527ca9(0x351)]),typeof globalThis<'u'&&globalThis[_0x527ca9(0x351)]&&(_0x365c6e=globalThis['crypto']),!_0x365c6e&&typeof window<'u'&&window[_0x527ca9(0x2ef)]&&(_0x365c6e=window[_0x527ca9(0x2ef)]),!_0x365c6e&&typeof Le<'u'&&Le[_0x527ca9(0x351)]&&(_0x365c6e=Le[_0x527ca9(0x351)]),!_0x365c6e&&typeof Li=='function')try{_0x365c6e=require(_0x527ca9(0x351));}catch{}var _0x5ca2fa=function(){var _0x41c3a6=_0x527ca9;if(_0x365c6e){if(typeof _0x365c6e[_0x41c3a6(0x180)]==_0x41c3a6(0x47a))try{return _0x365c6e[_0x41c3a6(0x180)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x365c6e['randomBytes']=='function')try{return _0x365c6e[_0x41c3a6(0x1c3)](0x4)[_0x41c3a6(0x370)]();}catch{}}throw new Error(_0x41c3a6(0x294));},_0x25d464=Object['create']||(function(){function _0x423b51(){}return function(_0x30c8f3){var _0x540e2b;return _0x423b51['prototype']=_0x30c8f3,_0x540e2b=new _0x423b51(),_0x423b51['prototype']=null,_0x540e2b;};}()),_0xf940bd={},_0x11822e=_0xf940bd[_0x527ca9(0x4a2)]={},_0x2956dd=_0x11822e['Base']=(function(){return{'extend':function(_0x5b8ac5){var _0x54636e=_0x2a67,_0x58d06c=_0x25d464(this);return _0x5b8ac5&&_0x58d06c[_0x54636e(0x222)](_0x5b8ac5),(!_0x58d06c[_0x54636e(0x240)]('init')||this['init']===_0x58d06c[_0x54636e(0x1b0)])&&(_0x58d06c[_0x54636e(0x1b0)]=function(){var _0x1c4d7e=_0x54636e;_0x58d06c['$super']['init'][_0x1c4d7e(0x254)](this,arguments);}),_0x58d06c[_0x54636e(0x1b0)]['prototype']=_0x58d06c,_0x58d06c[_0x54636e(0x1b1)]=this,_0x58d06c;},'create':function(){var _0x7647b1=_0x2a67,_0x275cd6=this[_0x7647b1(0x439)]();return _0x275cd6[_0x7647b1(0x1b0)][_0x7647b1(0x254)](_0x275cd6,arguments),_0x275cd6;},'init':function(){},'mixIn':function(_0x5e4ed1){var _0x1eeaa7=_0x2a67;for(var _0x420e2b in _0x5e4ed1)_0x5e4ed1['hasOwnProperty'](_0x420e2b)&&(this[_0x420e2b]=_0x5e4ed1[_0x420e2b]);_0x5e4ed1[_0x1eeaa7(0x240)](_0x1eeaa7(0x475))&&(this[_0x1eeaa7(0x475)]=_0x5e4ed1['toString']);},'clone':function(){var _0x56a898=_0x2a67;return this[_0x56a898(0x1b0)][_0x56a898(0x173)][_0x56a898(0x439)](this);}};}()),_0x365276=_0x11822e['WordArray']=_0x2956dd[_0x527ca9(0x439)]({'init':function(_0x5c2d09,_0x41748e){var _0x2ce824=_0x527ca9;_0x5c2d09=this['words']=_0x5c2d09||[],_0x41748e!=_0x402508?this['sigBytes']=_0x41748e:this[_0x2ce824(0x1fe)]=_0x5c2d09[_0x2ce824(0x31c)]*0x4;},'toString':function(_0x59313a){return(_0x59313a||_0x4fdac3)['stringify'](this);},'concat':function(_0x9a96f1){var _0x34f882=_0x527ca9,_0x12971f=this[_0x34f882(0x1ca)],_0x49c7e0=_0x9a96f1[_0x34f882(0x1ca)],_0x3dd6e3=this[_0x34f882(0x1fe)],_0x43f907=_0x9a96f1[_0x34f882(0x1fe)];if(this['clamp'](),_0x3dd6e3%0x4)for(var _0x13c68a=0x0;_0x13c68a<_0x43f907;_0x13c68a++){var _0x2efa44=_0x49c7e0[_0x13c68a>>>0x2]>>>0x18-_0x13c68a%0x4*0x8&0xff;_0x12971f[_0x3dd6e3+_0x13c68a>>>0x2]|=_0x2efa44<<0x18-(_0x3dd6e3+_0x13c68a)%0x4*0x8;}else{for(var _0x3384e9=0x0;_0x3384e9<_0x43f907;_0x3384e9+=0x4)_0x12971f[_0x3dd6e3+_0x3384e9>>>0x2]=_0x49c7e0[_0x3384e9>>>0x2];}return this[_0x34f882(0x1fe)]+=_0x43f907,this;},'clamp':function(){var _0x59480d=_0x527ca9,_0x33e835=this[_0x59480d(0x1ca)],_0x44a06d=this[_0x59480d(0x1fe)];_0x33e835[_0x44a06d>>>0x2]&=0xffffffff<<0x20-_0x44a06d%0x4*0x8,_0x33e835[_0x59480d(0x31c)]=_0x1a6fb8[_0x59480d(0x25c)](_0x44a06d/0x4);},'clone':function(){var _0x4ecc2d=_0x527ca9,_0x2cea30=_0x2956dd['clone'][_0x4ecc2d(0x356)](this);return _0x2cea30[_0x4ecc2d(0x1ca)]=this[_0x4ecc2d(0x1ca)][_0x4ecc2d(0x322)](0x0),_0x2cea30;},'random':function(_0x5ab3ca){var _0x117445=_0x527ca9;for(var _0x3eb2a1=[],_0x4fabce=0x0;_0x4fabce<_0x5ab3ca;_0x4fabce+=0x4)_0x3eb2a1[_0x117445(0x2ab)](_0x5ca2fa());return new _0x365276[(_0x117445(0x1b0))](_0x3eb2a1,_0x5ab3ca);}}),_0x18e724=_0xf940bd[_0x527ca9(0x433)]={},_0x4fdac3=_0x18e724[_0x527ca9(0x1e7)]={'stringify':function(_0x4a9f87){var _0x16265b=_0x527ca9;for(var _0x58fc7b=_0x4a9f87['words'],_0x47077f=_0x4a9f87[_0x16265b(0x1fe)],_0x3a7ec6=[],_0x2132b6=0x0;_0x2132b6<_0x47077f;_0x2132b6++){var _0x264998=_0x58fc7b[_0x2132b6>>>0x2]>>>0x18-_0x2132b6%0x4*0x8&0xff;_0x3a7ec6[_0x16265b(0x2ab)]((_0x264998>>>0x4)[_0x16265b(0x475)](0x10)),_0x3a7ec6[_0x16265b(0x2ab)]((_0x264998&0xf)[_0x16265b(0x475)](0x10));}return _0x3a7ec6[_0x16265b(0x2b0)]('');},'parse':function(_0x4c872e){var _0x4a1afe=_0x527ca9;for(var _0x1c50d3=_0x4c872e['length'],_0x431157=[],_0x11fd6e=0x0;_0x11fd6e<_0x1c50d3;_0x11fd6e+=0x2)_0x431157[_0x11fd6e>>>0x3]|=parseInt(_0x4c872e['substr'](_0x11fd6e,0x2),0x10)<<0x18-_0x11fd6e%0x8*0x4;return new _0x365276[(_0x4a1afe(0x1b0))](_0x431157,_0x1c50d3/0x2);}},_0x5f1c3=_0x18e724['Latin1']={'stringify':function(_0x3548ed){var _0xadff8f=_0x527ca9;for(var _0x109996=_0x3548ed['words'],_0x2b8ba1=_0x3548ed['sigBytes'],_0x436887=[],_0x2ad43c=0x0;_0x2ad43c<_0x2b8ba1;_0x2ad43c++){var _0x19bd48=_0x109996[_0x2ad43c>>>0x2]>>>0x18-_0x2ad43c%0x4*0x8&0xff;_0x436887[_0xadff8f(0x2ab)](String[_0xadff8f(0x481)](_0x19bd48));}return _0x436887[_0xadff8f(0x2b0)]('');},'parse':function(_0x218417){var _0xed4634=_0x527ca9;for(var _0x19c149=_0x218417[_0xed4634(0x31c)],_0x475a99=[],_0x528643=0x0;_0x528643<_0x19c149;_0x528643++)_0x475a99[_0x528643>>>0x2]|=(_0x218417[_0xed4634(0x3ac)](_0x528643)&0xff)<<0x18-_0x528643%0x4*0x8;return new _0x365276[(_0xed4634(0x1b0))](_0x475a99,_0x19c149);}},_0x1975ee=_0x18e724['Utf8']={'stringify':function(_0x23b818){var _0x5b4b75=_0x527ca9;try{return decodeURIComponent(escape(_0x5f1c3[_0x5b4b75(0x305)](_0x23b818)));}catch{throw new Error(_0x5b4b75(0x258));}},'parse':function(_0x2f517c){var _0x5f23d6=_0x527ca9;return _0x5f1c3[_0x5f23d6(0x212)](unescape(encodeURIComponent(_0x2f517c)));}},_0x271e3e=_0x11822e[_0x527ca9(0x177)]=_0x2956dd[_0x527ca9(0x439)]({'reset':function(){var _0x51414e=_0x527ca9;this[_0x51414e(0x314)]=new _0x365276[(_0x51414e(0x1b0))](),this[_0x51414e(0x330)]=0x0;},'_append':function(_0x28d629){var _0x130a88=_0x527ca9;typeof _0x28d629=='string'&&(_0x28d629=_0x1975ee[_0x130a88(0x212)](_0x28d629)),this[_0x130a88(0x314)][_0x130a88(0x33a)](_0x28d629),this[_0x130a88(0x330)]+=_0x28d629[_0x130a88(0x1fe)];},'_process':function(_0x2496b9){var _0x1a515a=_0x527ca9,_0x23a04c,_0x4bbb1a=this[_0x1a515a(0x314)],_0x32b934=_0x4bbb1a[_0x1a515a(0x1ca)],_0x19af10=_0x4bbb1a[_0x1a515a(0x1fe)],_0x26a829=this[_0x1a515a(0x30e)],_0x46b532=_0x26a829*0x4,_0xa29ae5=_0x19af10/_0x46b532;_0x2496b9?_0xa29ae5=_0x1a6fb8[_0x1a515a(0x25c)](_0xa29ae5):_0xa29ae5=_0x1a6fb8['max']((_0xa29ae5|0x0)-this[_0x1a515a(0x2d2)],0x0);var _0x13199b=_0xa29ae5*_0x26a829,_0x5e484b=_0x1a6fb8[_0x1a515a(0x417)](_0x13199b*0x4,_0x19af10);if(_0x13199b){for(var _0x15204a=0x0;_0x15204a<_0x13199b;_0x15204a+=_0x26a829)this[_0x1a515a(0x4e2)](_0x32b934,_0x15204a);_0x23a04c=_0x32b934[_0x1a515a(0x2ed)](0x0,_0x13199b),_0x4bbb1a[_0x1a515a(0x1fe)]-=_0x5e484b;}return new _0x365276[(_0x1a515a(0x1b0))](_0x23a04c,_0x5e484b);},'clone':function(){var _0x18a2e1=_0x527ca9,_0xccf14e=_0x2956dd[_0x18a2e1(0x496)][_0x18a2e1(0x356)](this);return _0xccf14e[_0x18a2e1(0x314)]=this[_0x18a2e1(0x314)]['clone'](),_0xccf14e;},'_minBufferSize':0x0});_0x11822e[_0x527ca9(0x386)]=_0x271e3e['extend']({'cfg':_0x2956dd['extend'](),'init':function(_0x1dda3c){var _0x213d22=_0x527ca9;this[_0x213d22(0x1af)]=this[_0x213d22(0x1af)][_0x213d22(0x439)](_0x1dda3c),this['reset']();},'reset':function(){var _0x382a0c=_0x527ca9;_0x271e3e[_0x382a0c(0x47c)][_0x382a0c(0x356)](this),this['_doReset']();},'update':function(_0x497fae){var _0x5c3a13=_0x527ca9;return this[_0x5c3a13(0x209)](_0x497fae),this[_0x5c3a13(0x3ed)](),this;},'finalize':function(_0x5a83f9){var _0x3d9b56=_0x527ca9;_0x5a83f9&&this[_0x3d9b56(0x209)](_0x5a83f9);var _0x2c14bb=this['_doFinalize']();return _0x2c14bb;},'blockSize':0x10,'_createHelper':function(_0x295d4b){return function(_0x3bc479,_0x291b81){var _0x34c3ba=_0x2a67;return new _0x295d4b[(_0x34c3ba(0x1b0))](_0x291b81)[_0x34c3ba(0x390)](_0x3bc479);};},'_createHmacHelper':function(_0x3b20fe){return function(_0xe71e84,_0x3e417c){var _0xc64699=_0x2a67;return new _0x51c3b7[(_0xc64699(0x413))][(_0xc64699(0x1b0))](_0x3b20fe,_0x3e417c)[_0xc64699(0x390)](_0xe71e84);};}});var _0x51c3b7=_0xf940bd[_0x527ca9(0x302)]={};return _0xf940bd;}(Math);return _0x59d98f;}));}(pe)),pe[_0x35b339(0x4b3)];}var ge={'exports':{}},xi=ge['exports'],Qe;function Ut(){var _0x5633ae=_0x30a490;return Qe||(Qe=0x1,function(_0x3694e3,_0x2c0b6a){(function(_0x348212,_0xf2090d){var _0x287293=_0x2a67;_0x3694e3[_0x287293(0x4b3)]=_0xf2090d(ee());}(xi,function(_0xb916b8){var _0x1328f0=_0x2a67;return(function(){var _0x52347e=_0x2a67,_0x4616bf=_0xb916b8,_0x47de6a=_0x4616bf[_0x52347e(0x4a2)],_0x13ef27=_0x47de6a[_0x52347e(0x2da)],_0x3f1fed=_0x4616bf['enc'];_0x3f1fed[_0x52347e(0x4b2)]={'stringify':function(_0x1926d6){var _0x183489=_0x52347e,_0x21676c=_0x1926d6[_0x183489(0x1ca)],_0x2ed74b=_0x1926d6[_0x183489(0x1fe)],_0x48c381=this[_0x183489(0x3f5)];_0x1926d6[_0x183489(0x1c5)]();for(var _0x2dfd06=[],_0x211fa6=0x0;_0x211fa6<_0x2ed74b;_0x211fa6+=0x3)for(var _0x190c9a=_0x21676c[_0x211fa6>>>0x2]>>>0x18-_0x211fa6%0x4*0x8&0xff,_0xe2ecac=_0x21676c[_0x211fa6+0x1>>>0x2]>>>0x18-(_0x211fa6+0x1)%0x4*0x8&0xff,_0xadbf56=_0x21676c[_0x211fa6+0x2>>>0x2]>>>0x18-(_0x211fa6+0x2)%0x4*0x8&0xff,_0x40ebd5=_0x190c9a<<0x10|_0xe2ecac<<0x8|_0xadbf56,_0x45ee4d=0x0;_0x45ee4d<0x4&&_0x211fa6+_0x45ee4d*0.75<_0x2ed74b;_0x45ee4d++)_0x2dfd06[_0x183489(0x2ab)](_0x48c381[_0x183489(0x2a7)](_0x40ebd5>>>0x6*(0x3-_0x45ee4d)&0x3f));var _0x49a4e7=_0x48c381[_0x183489(0x2a7)](0x40);if(_0x49a4e7){for(;_0x2dfd06['length']%0x4;)_0x2dfd06[_0x183489(0x2ab)](_0x49a4e7);}return _0x2dfd06[_0x183489(0x2b0)]('');},'parse':function(_0x5e8e86){var _0x5de4c1=_0x52347e,_0x5795bf=_0x5e8e86[_0x5de4c1(0x31c)],_0x18a4bb=this['_map'],_0x212715=this['_reverseMap'];if(!_0x212715){_0x212715=this[_0x5de4c1(0x1e2)]=[];for(var _0x368c5e=0x0;_0x368c5e<_0x18a4bb[_0x5de4c1(0x31c)];_0x368c5e++)_0x212715[_0x18a4bb[_0x5de4c1(0x3ac)](_0x368c5e)]=_0x368c5e;}var _0x29e08e=_0x18a4bb['charAt'](0x40);if(_0x29e08e){var _0x951f70=_0x5e8e86[_0x5de4c1(0x1b7)](_0x29e08e);_0x951f70!==-0x1&&(_0x5795bf=_0x951f70);}return _0x411a96(_0x5e8e86,_0x5795bf,_0x212715);},'_map':_0x52347e(0x331)};function _0x411a96(_0x1ffa63,_0x4c9138,_0x5a41a0){var _0x38ea47=_0x52347e;for(var _0xd1b14e=[],_0x1ff464=0x0,_0x412a4d=0x0;_0x412a4d<_0x4c9138;_0x412a4d++)if(_0x412a4d%0x4){var _0x44445e=_0x5a41a0[_0x1ffa63[_0x38ea47(0x3ac)](_0x412a4d-0x1)]<<_0x412a4d%0x4*0x2,_0x33f8f3=_0x5a41a0[_0x1ffa63[_0x38ea47(0x3ac)](_0x412a4d)]>>>0x6-_0x412a4d%0x4*0x2,_0x21c2f8=_0x44445e|_0x33f8f3;_0xd1b14e[_0x1ff464>>>0x2]|=_0x21c2f8<<0x18-_0x1ff464%0x4*0x8,_0x1ff464++;}return _0x13ef27[_0x38ea47(0x3f0)](_0xd1b14e,_0x1ff464);}}()),_0xb916b8[_0x1328f0(0x433)]['Base64'];}));}(ge)),ge[_0x5633ae(0x4b3)];}var me={'exports':{}},ki=me['exports'],et;function Hi(){var _0x167a3f=_0x30a490;return et||(et=0x1,function(_0x5cb55d,_0x22b822){(function(_0xa8b385,_0x13baa4){var _0x41995b=_0x2a67;_0x5cb55d[_0x41995b(0x4b3)]=_0x13baa4(ee());}(ki,function(_0x21dd1c){var _0x580b48=_0x2a67;return function(_0x22e8b8){var _0x48321e=_0x2a67,_0x5c4f5b=_0x21dd1c,_0x18302f=_0x5c4f5b[_0x48321e(0x4a2)],_0x186643=_0x18302f[_0x48321e(0x2da)],_0x97a2aa=_0x18302f[_0x48321e(0x386)],_0x3e096b=_0x5c4f5b[_0x48321e(0x302)],_0x17ab1f=[];(function(){var _0x5b7372=_0x48321e;for(var _0xed5875=0x0;_0xed5875<0x40;_0xed5875++)_0x17ab1f[_0xed5875]=_0x22e8b8[_0x5b7372(0x257)](_0x22e8b8[_0x5b7372(0x381)](_0xed5875+0x1))*0x100000000|0x0;}());var _0xe415ab=_0x3e096b[_0x48321e(0x1e4)]=_0x97a2aa[_0x48321e(0x439)]({'_doReset':function(){var _0x4e8808=_0x48321e;this[_0x4e8808(0x23e)]=new _0x186643['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x133fdc,_0x3f1683){for(var _0x512463=0x0;_0x512463<0x10;_0x512463++){var _0x3102b2=_0x3f1683+_0x512463,_0x26f407=_0x133fdc[_0x3102b2];_0x133fdc[_0x3102b2]=(_0x26f407<<0x8|_0x26f407>>>0x18)&0xff00ff|(_0x26f407<<0x18|_0x26f407>>>0x8)&0xff00ff00;}var _0x38276d=this['_hash']['words'],_0x1342be=_0x133fdc[_0x3f1683+0x0],_0x189027=_0x133fdc[_0x3f1683+0x1],_0x47b888=_0x133fdc[_0x3f1683+0x2],_0x5e973f=_0x133fdc[_0x3f1683+0x3],_0x422b53=_0x133fdc[_0x3f1683+0x4],_0x5f439b=_0x133fdc[_0x3f1683+0x5],_0x8afd5d=_0x133fdc[_0x3f1683+0x6],_0x43559d=_0x133fdc[_0x3f1683+0x7],_0x17d95d=_0x133fdc[_0x3f1683+0x8],_0x564a8d=_0x133fdc[_0x3f1683+0x9],_0x54cca=_0x133fdc[_0x3f1683+0xa],_0x127e82=_0x133fdc[_0x3f1683+0xb],_0x355f6c=_0x133fdc[_0x3f1683+0xc],_0x41bcb2=_0x133fdc[_0x3f1683+0xd],_0x3eceeb=_0x133fdc[_0x3f1683+0xe],_0x5eac04=_0x133fdc[_0x3f1683+0xf],_0x18dd92=_0x38276d[0x0],_0x442a46=_0x38276d[0x1],_0x401499=_0x38276d[0x2],_0x59038d=_0x38276d[0x3];_0x18dd92=_0x835fb7(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x1342be,0x7,_0x17ab1f[0x0]),_0x59038d=_0x835fb7(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x189027,0xc,_0x17ab1f[0x1]),_0x401499=_0x835fb7(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x47b888,0x11,_0x17ab1f[0x2]),_0x442a46=_0x835fb7(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x5e973f,0x16,_0x17ab1f[0x3]),_0x18dd92=_0x835fb7(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x422b53,0x7,_0x17ab1f[0x4]),_0x59038d=_0x835fb7(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x5f439b,0xc,_0x17ab1f[0x5]),_0x401499=_0x835fb7(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x8afd5d,0x11,_0x17ab1f[0x6]),_0x442a46=_0x835fb7(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x43559d,0x16,_0x17ab1f[0x7]),_0x18dd92=_0x835fb7(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x17d95d,0x7,_0x17ab1f[0x8]),_0x59038d=_0x835fb7(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x564a8d,0xc,_0x17ab1f[0x9]),_0x401499=_0x835fb7(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x54cca,0x11,_0x17ab1f[0xa]),_0x442a46=_0x835fb7(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x127e82,0x16,_0x17ab1f[0xb]),_0x18dd92=_0x835fb7(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x355f6c,0x7,_0x17ab1f[0xc]),_0x59038d=_0x835fb7(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x41bcb2,0xc,_0x17ab1f[0xd]),_0x401499=_0x835fb7(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x3eceeb,0x11,_0x17ab1f[0xe]),_0x442a46=_0x835fb7(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x5eac04,0x16,_0x17ab1f[0xf]),_0x18dd92=_0x520252(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x189027,0x5,_0x17ab1f[0x10]),_0x59038d=_0x520252(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x8afd5d,0x9,_0x17ab1f[0x11]),_0x401499=_0x520252(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x127e82,0xe,_0x17ab1f[0x12]),_0x442a46=_0x520252(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x1342be,0x14,_0x17ab1f[0x13]),_0x18dd92=_0x520252(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x5f439b,0x5,_0x17ab1f[0x14]),_0x59038d=_0x520252(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x54cca,0x9,_0x17ab1f[0x15]),_0x401499=_0x520252(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x5eac04,0xe,_0x17ab1f[0x16]),_0x442a46=_0x520252(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x422b53,0x14,_0x17ab1f[0x17]),_0x18dd92=_0x520252(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x564a8d,0x5,_0x17ab1f[0x18]),_0x59038d=_0x520252(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x3eceeb,0x9,_0x17ab1f[0x19]),_0x401499=_0x520252(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x5e973f,0xe,_0x17ab1f[0x1a]),_0x442a46=_0x520252(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x17d95d,0x14,_0x17ab1f[0x1b]),_0x18dd92=_0x520252(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x41bcb2,0x5,_0x17ab1f[0x1c]),_0x59038d=_0x520252(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x47b888,0x9,_0x17ab1f[0x1d]),_0x401499=_0x520252(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x43559d,0xe,_0x17ab1f[0x1e]),_0x442a46=_0x520252(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x355f6c,0x14,_0x17ab1f[0x1f]),_0x18dd92=_0x114ef3(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x5f439b,0x4,_0x17ab1f[0x20]),_0x59038d=_0x114ef3(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x17d95d,0xb,_0x17ab1f[0x21]),_0x401499=_0x114ef3(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x127e82,0x10,_0x17ab1f[0x22]),_0x442a46=_0x114ef3(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x3eceeb,0x17,_0x17ab1f[0x23]),_0x18dd92=_0x114ef3(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x189027,0x4,_0x17ab1f[0x24]),_0x59038d=_0x114ef3(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x422b53,0xb,_0x17ab1f[0x25]),_0x401499=_0x114ef3(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x43559d,0x10,_0x17ab1f[0x26]),_0x442a46=_0x114ef3(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x54cca,0x17,_0x17ab1f[0x27]),_0x18dd92=_0x114ef3(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x41bcb2,0x4,_0x17ab1f[0x28]),_0x59038d=_0x114ef3(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x1342be,0xb,_0x17ab1f[0x29]),_0x401499=_0x114ef3(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x5e973f,0x10,_0x17ab1f[0x2a]),_0x442a46=_0x114ef3(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x8afd5d,0x17,_0x17ab1f[0x2b]),_0x18dd92=_0x114ef3(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x564a8d,0x4,_0x17ab1f[0x2c]),_0x59038d=_0x114ef3(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x355f6c,0xb,_0x17ab1f[0x2d]),_0x401499=_0x114ef3(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x5eac04,0x10,_0x17ab1f[0x2e]),_0x442a46=_0x114ef3(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x47b888,0x17,_0x17ab1f[0x2f]),_0x18dd92=_0x6a71b0(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x1342be,0x6,_0x17ab1f[0x30]),_0x59038d=_0x6a71b0(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x43559d,0xa,_0x17ab1f[0x31]),_0x401499=_0x6a71b0(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x3eceeb,0xf,_0x17ab1f[0x32]),_0x442a46=_0x6a71b0(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x5f439b,0x15,_0x17ab1f[0x33]),_0x18dd92=_0x6a71b0(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x355f6c,0x6,_0x17ab1f[0x34]),_0x59038d=_0x6a71b0(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x5e973f,0xa,_0x17ab1f[0x35]),_0x401499=_0x6a71b0(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x54cca,0xf,_0x17ab1f[0x36]),_0x442a46=_0x6a71b0(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x189027,0x15,_0x17ab1f[0x37]),_0x18dd92=_0x6a71b0(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x17d95d,0x6,_0x17ab1f[0x38]),_0x59038d=_0x6a71b0(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x5eac04,0xa,_0x17ab1f[0x39]),_0x401499=_0x6a71b0(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x8afd5d,0xf,_0x17ab1f[0x3a]),_0x442a46=_0x6a71b0(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x41bcb2,0x15,_0x17ab1f[0x3b]),_0x18dd92=_0x6a71b0(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x422b53,0x6,_0x17ab1f[0x3c]),_0x59038d=_0x6a71b0(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x127e82,0xa,_0x17ab1f[0x3d]),_0x401499=_0x6a71b0(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x47b888,0xf,_0x17ab1f[0x3e]),_0x442a46=_0x6a71b0(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x564a8d,0x15,_0x17ab1f[0x3f]),_0x38276d[0x0]=_0x38276d[0x0]+_0x18dd92|0x0,_0x38276d[0x1]=_0x38276d[0x1]+_0x442a46|0x0,_0x38276d[0x2]=_0x38276d[0x2]+_0x401499|0x0,_0x38276d[0x3]=_0x38276d[0x3]+_0x59038d|0x0;},'_doFinalize':function(){var _0x28a34b=_0x48321e,_0x386e51=this[_0x28a34b(0x314)],_0x1dcc9b=_0x386e51[_0x28a34b(0x1ca)],_0x5731d6=this['_nDataBytes']*0x8,_0x31fbe3=_0x386e51[_0x28a34b(0x1fe)]*0x8;_0x1dcc9b[_0x31fbe3>>>0x5]|=0x80<<0x18-_0x31fbe3%0x20;var _0x54fe69=_0x22e8b8[_0x28a34b(0x1fa)](_0x5731d6/0x100000000),_0x1a4769=_0x5731d6;_0x1dcc9b[(_0x31fbe3+0x40>>>0x9<<0x4)+0xf]=(_0x54fe69<<0x8|_0x54fe69>>>0x18)&0xff00ff|(_0x54fe69<<0x18|_0x54fe69>>>0x8)&0xff00ff00,_0x1dcc9b[(_0x31fbe3+0x40>>>0x9<<0x4)+0xe]=(_0x1a4769<<0x8|_0x1a4769>>>0x18)&0xff00ff|(_0x1a4769<<0x18|_0x1a4769>>>0x8)&0xff00ff00,_0x386e51[_0x28a34b(0x1fe)]=(_0x1dcc9b[_0x28a34b(0x31c)]+0x1)*0x4,this[_0x28a34b(0x3ed)]();for(var _0x2bcba2=this[_0x28a34b(0x23e)],_0x5e5e86=_0x2bcba2['words'],_0x40cf29=0x0;_0x40cf29<0x4;_0x40cf29++){var _0x1dadf0=_0x5e5e86[_0x40cf29];_0x5e5e86[_0x40cf29]=(_0x1dadf0<<0x8|_0x1dadf0>>>0x18)&0xff00ff|(_0x1dadf0<<0x18|_0x1dadf0>>>0x8)&0xff00ff00;}return _0x2bcba2;},'clone':function(){var _0x22e312=_0x48321e,_0x20c05d=_0x97a2aa[_0x22e312(0x496)][_0x22e312(0x356)](this);return _0x20c05d[_0x22e312(0x23e)]=this[_0x22e312(0x23e)][_0x22e312(0x496)](),_0x20c05d;}});function _0x835fb7(_0x33ea2c,_0xc415e8,_0x2fda84,_0x51e1b0,_0x6c1a58,_0x42dfa9,_0x54801a){var _0x426c6f=_0x33ea2c+(_0xc415e8&_0x2fda84|~_0xc415e8&_0x51e1b0)+_0x6c1a58+_0x54801a;return(_0x426c6f<<_0x42dfa9|_0x426c6f>>>0x20-_0x42dfa9)+_0xc415e8;}function _0x520252(_0x447e71,_0x28d60e,_0x488816,_0x41744c,_0x1fd266,_0x47687d,_0x3d6359){var _0x56463e=_0x447e71+(_0x28d60e&_0x41744c|_0x488816&~_0x41744c)+_0x1fd266+_0x3d6359;return(_0x56463e<<_0x47687d|_0x56463e>>>0x20-_0x47687d)+_0x28d60e;}function _0x114ef3(_0x6d43ea,_0x182c15,_0x5dc25a,_0x92ed18,_0x23748d,_0x29a0d4,_0x6aad37){var _0x4c511b=_0x6d43ea+(_0x182c15^_0x5dc25a^_0x92ed18)+_0x23748d+_0x6aad37;return(_0x4c511b<<_0x29a0d4|_0x4c511b>>>0x20-_0x29a0d4)+_0x182c15;}function _0x6a71b0(_0x41637a,_0x2929a5,_0x19ddbc,_0x2c8611,_0x1f531a,_0x197c9d,_0x3e4353){var _0xef7b9c=_0x41637a+(_0x19ddbc^(_0x2929a5|~_0x2c8611))+_0x1f531a+_0x3e4353;return(_0xef7b9c<<_0x197c9d|_0xef7b9c>>>0x20-_0x197c9d)+_0x2929a5;}_0x5c4f5b[_0x48321e(0x1e4)]=_0x97a2aa[_0x48321e(0x30a)](_0xe415ab),_0x5c4f5b['HmacMD5']=_0x97a2aa[_0x48321e(0x219)](_0xe415ab);}(Math),_0x21dd1c[_0x580b48(0x1e4)];}));}(me)),me[_0x167a3f(0x4b3)];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee[_0x30a490(0x4b3)],tt;function $i(){return tt||(tt=0x1,function(_0x12c5c3,_0x2a70c8){(function(_0x6a6a3c,_0x217fc9){_0x12c5c3['exports']=_0x217fc9(ee());}(ji,function(_0x3b072d){return(function(){var _0x39ad27=_0x2a67,_0xa3e02d=_0x3b072d,_0x2d2b54=_0xa3e02d['lib'],_0x160b42=_0x2d2b54[_0x39ad27(0x2da)],_0x49f6d8=_0x2d2b54[_0x39ad27(0x386)],_0x89b763=_0xa3e02d[_0x39ad27(0x302)],_0x168a69=[],_0x5017d7=_0x89b763[_0x39ad27(0x49d)]=_0x49f6d8[_0x39ad27(0x439)]({'_doReset':function(){var _0x30c9fe=_0x39ad27;this[_0x30c9fe(0x23e)]=new _0x160b42['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x56501c,_0x37bcb9){var _0x4c9b59=_0x39ad27;for(var _0xf6a56b=this[_0x4c9b59(0x23e)][_0x4c9b59(0x1ca)],_0x4e8ace=_0xf6a56b[0x0],_0x5f3967=_0xf6a56b[0x1],_0x4f7fb0=_0xf6a56b[0x2],_0x1012cf=_0xf6a56b[0x3],_0x14c6fc=_0xf6a56b[0x4],_0x1ace40=0x0;_0x1ace40<0x50;_0x1ace40++){if(_0x1ace40<0x10)_0x168a69[_0x1ace40]=_0x56501c[_0x37bcb9+_0x1ace40]|0x0;else{var _0x522843=_0x168a69[_0x1ace40-0x3]^_0x168a69[_0x1ace40-0x8]^_0x168a69[_0x1ace40-0xe]^_0x168a69[_0x1ace40-0x10];_0x168a69[_0x1ace40]=_0x522843<<0x1|_0x522843>>>0x1f;}var _0x278baa=(_0x4e8ace<<0x5|_0x4e8ace>>>0x1b)+_0x14c6fc+_0x168a69[_0x1ace40];_0x1ace40<0x14?_0x278baa+=(_0x5f3967&_0x4f7fb0|~_0x5f3967&_0x1012cf)+0x5a827999:_0x1ace40<0x28?_0x278baa+=(_0x5f3967^_0x4f7fb0^_0x1012cf)+0x6ed9eba1:_0x1ace40<0x3c?_0x278baa+=(_0x5f3967&_0x4f7fb0|_0x5f3967&_0x1012cf|_0x4f7fb0&_0x1012cf)-0x70e44324:_0x278baa+=(_0x5f3967^_0x4f7fb0^_0x1012cf)-0x359d3e2a,_0x14c6fc=_0x1012cf,_0x1012cf=_0x4f7fb0,_0x4f7fb0=_0x5f3967<<0x1e|_0x5f3967>>>0x2,_0x5f3967=_0x4e8ace,_0x4e8ace=_0x278baa;}_0xf6a56b[0x0]=_0xf6a56b[0x0]+_0x4e8ace|0x0,_0xf6a56b[0x1]=_0xf6a56b[0x1]+_0x5f3967|0x0,_0xf6a56b[0x2]=_0xf6a56b[0x2]+_0x4f7fb0|0x0,_0xf6a56b[0x3]=_0xf6a56b[0x3]+_0x1012cf|0x0,_0xf6a56b[0x4]=_0xf6a56b[0x4]+_0x14c6fc|0x0;},'_doFinalize':function(){var _0x1b647e=_0x39ad27,_0x1bbd0b=this['_data'],_0x4797bc=_0x1bbd0b[_0x1b647e(0x1ca)],_0x358429=this[_0x1b647e(0x330)]*0x8,_0x14dc61=_0x1bbd0b[_0x1b647e(0x1fe)]*0x8;return _0x4797bc[_0x14dc61>>>0x5]|=0x80<<0x18-_0x14dc61%0x20,_0x4797bc[(_0x14dc61+0x40>>>0x9<<0x4)+0xe]=Math[_0x1b647e(0x1fa)](_0x358429/0x100000000),_0x4797bc[(_0x14dc61+0x40>>>0x9<<0x4)+0xf]=_0x358429,_0x1bbd0b[_0x1b647e(0x1fe)]=_0x4797bc[_0x1b647e(0x31c)]*0x4,this[_0x1b647e(0x3ed)](),this[_0x1b647e(0x23e)];},'clone':function(){var _0x13ed56=_0x39ad27,_0x5f3e7a=_0x49f6d8[_0x13ed56(0x496)]['call'](this);return _0x5f3e7a[_0x13ed56(0x23e)]=this[_0x13ed56(0x23e)][_0x13ed56(0x496)](),_0x5f3e7a;}});_0xa3e02d[_0x39ad27(0x49d)]=_0x49f6d8[_0x39ad27(0x30a)](_0x5017d7),_0xa3e02d[_0x39ad27(0x2d0)]=_0x49f6d8[_0x39ad27(0x219)](_0x5017d7);}()),_0x3b072d['SHA1'];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},Bi=Ce['exports'],it;function Fi(){var _0x27e6d5=_0x30a490;return it||(it=0x1,function(_0x20cc78,_0x47f9a0){(function(_0x467829,_0x4639d9){_0x20cc78['exports']=_0x4639d9(ee());}(Bi,function(_0x560459){(function(){var _0x16aa46=_0x2a67,_0x352eb9=_0x560459,_0x50cd5d=_0x352eb9['lib'],_0x1785f1=_0x50cd5d['Base'],_0x263d1b=_0x352eb9[_0x16aa46(0x433)],_0x66839c=_0x263d1b[_0x16aa46(0x3cb)],_0x3cae1b=_0x352eb9[_0x16aa46(0x302)];_0x3cae1b['HMAC']=_0x1785f1[_0x16aa46(0x439)]({'init':function(_0x14fdb0,_0x59aa7f){var _0x4f8711=_0x16aa46;_0x14fdb0=this[_0x4f8711(0x29b)]=new _0x14fdb0[(_0x4f8711(0x1b0))](),typeof _0x59aa7f=='string'&&(_0x59aa7f=_0x66839c[_0x4f8711(0x212)](_0x59aa7f));var _0x5962b2=_0x14fdb0[_0x4f8711(0x30e)],_0xe20870=_0x5962b2*0x4;_0x59aa7f[_0x4f8711(0x1fe)]>_0xe20870&&(_0x59aa7f=_0x14fdb0[_0x4f8711(0x390)](_0x59aa7f)),_0x59aa7f[_0x4f8711(0x1c5)]();for(var _0x5a5383=this[_0x4f8711(0x340)]=_0x59aa7f[_0x4f8711(0x496)](),_0x3a6f34=this[_0x4f8711(0x28f)]=_0x59aa7f[_0x4f8711(0x496)](),_0x2c7893=_0x5a5383[_0x4f8711(0x1ca)],_0x162b27=_0x3a6f34[_0x4f8711(0x1ca)],_0x305180=0x0;_0x305180<_0x5962b2;_0x305180++)_0x2c7893[_0x305180]^=0x5c5c5c5c,_0x162b27[_0x305180]^=0x36363636;_0x5a5383[_0x4f8711(0x1fe)]=_0x3a6f34[_0x4f8711(0x1fe)]=_0xe20870,this[_0x4f8711(0x47c)]();},'reset':function(){var _0x3b5392=_0x16aa46,_0x2c6924=this['_hasher'];_0x2c6924['reset'](),_0x2c6924['update'](this[_0x3b5392(0x28f)]);},'update':function(_0x1efb02){var _0x299c48=_0x16aa46;return this[_0x299c48(0x29b)][_0x299c48(0x489)](_0x1efb02),this;},'finalize':function(_0x45147b){var _0x8352c8=_0x16aa46,_0x1de926=this[_0x8352c8(0x29b)],_0x1a1bf9=_0x1de926[_0x8352c8(0x390)](_0x45147b);_0x1de926[_0x8352c8(0x47c)]();var _0x3f55c8=_0x1de926[_0x8352c8(0x390)](this[_0x8352c8(0x340)]['clone']()[_0x8352c8(0x33a)](_0x1a1bf9));return _0x3f55c8;}});}());}));}(Ce)),Ce[_0x27e6d5(0x4b3)];}var Vi=Ie[_0x30a490(0x4b3)],nt;function At(){var _0x719747=_0x30a490;return nt||(nt=0x1,function(_0x2c597e,_0x13a59d){(function(_0xc252ca,_0x38b58b,_0x2d6714){_0x2c597e['exports']=_0x38b58b(ee(),$i(),Fi());}(Vi,function(_0xd0aff3){var _0x2291fc=_0x2a67;return(function(){var _0x5ec8bb=_0x2a67,_0x24050a=_0xd0aff3,_0x53593f=_0x24050a[_0x5ec8bb(0x4a2)],_0x1d0c8a=_0x53593f[_0x5ec8bb(0x3a9)],_0x15d738=_0x53593f[_0x5ec8bb(0x2da)],_0x1b7d5d=_0x24050a[_0x5ec8bb(0x302)],_0x4a3028=_0x1b7d5d[_0x5ec8bb(0x1e4)],_0x1fb865=_0x1b7d5d[_0x5ec8bb(0x4d5)]=_0x1d0c8a[_0x5ec8bb(0x439)]({'cfg':_0x1d0c8a[_0x5ec8bb(0x439)]({'keySize':0x80/0x20,'hasher':_0x4a3028,'iterations':0x1}),'init':function(_0x16b158){var _0x46aae2=_0x5ec8bb;this[_0x46aae2(0x1af)]=this['cfg'][_0x46aae2(0x439)](_0x16b158);},'compute':function(_0x407239,_0x385d12){var _0x28555e=_0x5ec8bb;for(var _0x4883ed,_0x5dc156=this[_0x28555e(0x1af)],_0x2545d2=_0x5dc156[_0x28555e(0x1e0)][_0x28555e(0x3f0)](),_0x362632=_0x15d738[_0x28555e(0x3f0)](),_0x1bc8a2=_0x362632[_0x28555e(0x1ca)],_0x4ab9eb=_0x5dc156[_0x28555e(0x1c1)],_0x40b762=_0x5dc156[_0x28555e(0x183)];_0x1bc8a2[_0x28555e(0x31c)]<_0x4ab9eb;){_0x4883ed&&_0x2545d2['update'](_0x4883ed),_0x4883ed=_0x2545d2[_0x28555e(0x489)](_0x407239)[_0x28555e(0x390)](_0x385d12),_0x2545d2[_0x28555e(0x47c)]();for(var _0x92f83b=0x1;_0x92f83b<_0x40b762;_0x92f83b++)_0x4883ed=_0x2545d2['finalize'](_0x4883ed),_0x2545d2[_0x28555e(0x47c)]();_0x362632['concat'](_0x4883ed);}return _0x362632['sigBytes']=_0x4ab9eb*0x4,_0x362632;}});_0x24050a[_0x5ec8bb(0x4d5)]=function(_0x24d116,_0x37c16b,_0x531692){var _0xb9dd70=_0x5ec8bb;return _0x1fb865[_0xb9dd70(0x3f0)](_0x531692)[_0xb9dd70(0x37f)](_0x24d116,_0x37c16b);};}()),_0xd0aff3[_0x2291fc(0x4d5)];}));}(Ie)),Ie[_0x719747(0x4b3)];}var Te={'exports':{}},Wi=Te['exports'],rt;function Pt(){var _0x482d20=_0x30a490;return rt||(rt=0x1,function(_0x10ae52,_0x23460a){(function(_0x1625a4,_0x510368,_0x5b8437){var _0x32c29b=_0x2a67;_0x10ae52[_0x32c29b(0x4b3)]=_0x510368(ee(),At());}(Wi,function(_0x3cb4a5){var _0x3d9225=_0x2a67;_0x3cb4a5['lib'][_0x3d9225(0x23b)]||function(_0x4c5654){var _0x1e7aae=_0x3d9225,_0x5c5ba9=_0x3cb4a5,_0x103f6d=_0x5c5ba9[_0x1e7aae(0x4a2)],_0x147eff=_0x103f6d[_0x1e7aae(0x3a9)],_0x4f1031=_0x103f6d[_0x1e7aae(0x2da)],_0x500bfd=_0x103f6d[_0x1e7aae(0x177)],_0x3c10f0=_0x5c5ba9['enc'];_0x3c10f0['Utf8'];var _0x23d039=_0x3c10f0[_0x1e7aae(0x4b2)],_0x13088c=_0x5c5ba9[_0x1e7aae(0x302)],_0x3997fe=_0x13088c[_0x1e7aae(0x4d5)],_0x1efd3e=_0x103f6d[_0x1e7aae(0x23b)]=_0x500bfd[_0x1e7aae(0x439)]({'cfg':_0x147eff[_0x1e7aae(0x439)](),'createEncryptor':function(_0x5ba6ed,_0x20f1e6){var _0x31337b=_0x1e7aae;return this[_0x31337b(0x3f0)](this['_ENC_XFORM_MODE'],_0x5ba6ed,_0x20f1e6);},'createDecryptor':function(_0x4ee4ef,_0x14f571){var _0x3b4900=_0x1e7aae;return this[_0x3b4900(0x3f0)](this[_0x3b4900(0x4b0)],_0x4ee4ef,_0x14f571);},'init':function(_0x3aa96c,_0x225f0c,_0x5ecf06){var _0x2ad15b=_0x1e7aae;this[_0x2ad15b(0x1af)]=this['cfg'][_0x2ad15b(0x439)](_0x5ecf06),this[_0x2ad15b(0x171)]=_0x3aa96c,this[_0x2ad15b(0x3b1)]=_0x225f0c,this[_0x2ad15b(0x47c)]();},'reset':function(){var _0x44ee58=_0x1e7aae;_0x500bfd[_0x44ee58(0x47c)][_0x44ee58(0x356)](this),this[_0x44ee58(0x369)]();},'process':function(_0x4ef95f){var _0x339f41=_0x1e7aae;return this[_0x339f41(0x209)](_0x4ef95f),this[_0x339f41(0x3ed)]();},'finalize':function(_0x30d011){var _0x30d278=_0x1e7aae;_0x30d011&&this[_0x30d278(0x209)](_0x30d011);var _0x3b66a3=this[_0x30d278(0x326)]();return _0x3b66a3;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4c9af5(_0x1d4683){var _0x1dfc3a=_0x2a67;return typeof _0x1d4683==_0x1dfc3a(0x207)?_0x5389d5:_0x1edaa9;}return function(_0x26ea97){return{'encrypt':function(_0x17ead8,_0xbbf6a8,_0x1719a4){return _0x4c9af5(_0xbbf6a8)['encrypt'](_0x26ea97,_0x17ead8,_0xbbf6a8,_0x1719a4);},'decrypt':function(_0x2b2d83,_0x1e513a,_0x37b84c){var _0x3b6ce=_0x2a67;return _0x4c9af5(_0x1e513a)[_0x3b6ce(0x2b3)](_0x26ea97,_0x2b2d83,_0x1e513a,_0x37b84c);}};};}())});_0x103f6d[_0x1e7aae(0x213)]=_0x1efd3e['extend']({'_doFinalize':function(){var _0xdb317f=_0x1e7aae,_0x4702ef=this[_0xdb317f(0x3ed)](!0x0);return _0x4702ef;},'blockSize':0x1});var _0x12b5fa=_0x5c5ba9[_0x1e7aae(0x3c9)]={},_0x1f5c11=_0x103f6d[_0x1e7aae(0x31e)]=_0x147eff[_0x1e7aae(0x439)]({'createEncryptor':function(_0x281bc2,_0x523516){return this['Encryptor']['create'](_0x281bc2,_0x523516);},'createDecryptor':function(_0x3b4a17,_0x1fe900){var _0x569985=_0x1e7aae;return this[_0x569985(0x1f0)][_0x569985(0x3f0)](_0x3b4a17,_0x1fe900);},'init':function(_0x354374,_0x4659a3){var _0x1a2f0d=_0x1e7aae;this[_0x1a2f0d(0x407)]=_0x354374,this[_0x1a2f0d(0x2fb)]=_0x4659a3;}}),_0x225e52=_0x12b5fa['CBC']=(function(){var _0x138736=_0x1e7aae,_0x42f542=_0x1f5c11[_0x138736(0x439)]();_0x42f542[_0x138736(0x3eb)]=_0x42f542[_0x138736(0x439)]({'processBlock':function(_0x237b48,_0x30d7b8){var _0x3d5873=_0x138736,_0x3a633b=this[_0x3d5873(0x407)],_0x46bfe8=_0x3a633b[_0x3d5873(0x30e)];_0x3c4f60[_0x3d5873(0x356)](this,_0x237b48,_0x30d7b8,_0x46bfe8),_0x3a633b[_0x3d5873(0x18a)](_0x237b48,_0x30d7b8),this[_0x3d5873(0x4cd)]=_0x237b48[_0x3d5873(0x322)](_0x30d7b8,_0x30d7b8+_0x46bfe8);}}),_0x42f542[_0x138736(0x1f0)]=_0x42f542['extend']({'processBlock':function(_0x5d8832,_0xb26e1d){var _0x3480d7=_0x138736,_0x45d1b6=this[_0x3480d7(0x407)],_0x59ded1=_0x45d1b6[_0x3480d7(0x30e)],_0x116607=_0x5d8832[_0x3480d7(0x322)](_0xb26e1d,_0xb26e1d+_0x59ded1);_0x45d1b6['decryptBlock'](_0x5d8832,_0xb26e1d),_0x3c4f60['call'](this,_0x5d8832,_0xb26e1d,_0x59ded1),this[_0x3480d7(0x4cd)]=_0x116607;}});function _0x3c4f60(_0x267749,_0x5642fb,_0x352009){var _0x1fdc50=_0x138736,_0x33a075,_0x4ef735=this[_0x1fdc50(0x2fb)];_0x4ef735?(_0x33a075=_0x4ef735,this[_0x1fdc50(0x2fb)]=_0x4c5654):_0x33a075=this['_prevBlock'];for(var _0x24c0c0=0x0;_0x24c0c0<_0x352009;_0x24c0c0++)_0x267749[_0x5642fb+_0x24c0c0]^=_0x33a075[_0x24c0c0];}return _0x42f542;}()),_0x19699e=_0x5c5ba9[_0x1e7aae(0x3ca)]={},_0x4c1a1e=_0x19699e['Pkcs7']={'pad':function(_0x3d6327,_0x17bfdb){var _0x377db5=_0x1e7aae;for(var _0xbfddfd=_0x17bfdb*0x4,_0x35003a=_0xbfddfd-_0x3d6327[_0x377db5(0x1fe)]%_0xbfddfd,_0x35e45d=_0x35003a<<0x18|_0x35003a<<0x10|_0x35003a<<0x8|_0x35003a,_0x37cc5a=[],_0x21a8f0=0x0;_0x21a8f0<_0x35003a;_0x21a8f0+=0x4)_0x37cc5a['push'](_0x35e45d);var _0x5bd940=_0x4f1031[_0x377db5(0x3f0)](_0x37cc5a,_0x35003a);_0x3d6327[_0x377db5(0x33a)](_0x5bd940);},'unpad':function(_0x5a1ab5){var _0x193bb1=_0x1e7aae,_0x42c4fa=_0x5a1ab5['words'][_0x5a1ab5['sigBytes']-0x1>>>0x2]&0xff;_0x5a1ab5[_0x193bb1(0x1fe)]-=_0x42c4fa;}};_0x103f6d['BlockCipher']=_0x1efd3e[_0x1e7aae(0x439)]({'cfg':_0x1efd3e[_0x1e7aae(0x1af)][_0x1e7aae(0x439)]({'mode':_0x225e52,'padding':_0x4c1a1e}),'reset':function(){var _0x58781e=_0x1e7aae,_0x53c4ea;_0x1efd3e[_0x58781e(0x47c)][_0x58781e(0x356)](this);var _0x5cd8d3=this[_0x58781e(0x1af)],_0x4151c3=_0x5cd8d3['iv'],_0x1e874e=_0x5cd8d3[_0x58781e(0x3c9)];this[_0x58781e(0x171)]==this['_ENC_XFORM_MODE']?_0x53c4ea=_0x1e874e[_0x58781e(0x3c4)]:(_0x53c4ea=_0x1e874e[_0x58781e(0x4dc)],this[_0x58781e(0x2d2)]=0x1),this[_0x58781e(0x34e)]&&this['_mode'][_0x58781e(0x3ab)]==_0x53c4ea?this['_mode'][_0x58781e(0x1b0)](this,_0x4151c3&&_0x4151c3[_0x58781e(0x1ca)]):(this[_0x58781e(0x34e)]=_0x53c4ea[_0x58781e(0x356)](_0x1e874e,this,_0x4151c3&&_0x4151c3[_0x58781e(0x1ca)]),this[_0x58781e(0x34e)][_0x58781e(0x3ab)]=_0x53c4ea);},'_doProcessBlock':function(_0x324f5f,_0x27bbd9){var _0x2c478f=_0x1e7aae;this['_mode'][_0x2c478f(0x241)](_0x324f5f,_0x27bbd9);},'_doFinalize':function(){var _0x37122e=_0x1e7aae,_0x6ca158,_0x54fc63=this[_0x37122e(0x1af)][_0x37122e(0x4c3)];return this[_0x37122e(0x171)]==this[_0x37122e(0x2db)]?(_0x54fc63[_0x37122e(0x3ca)](this[_0x37122e(0x314)],this[_0x37122e(0x30e)]),_0x6ca158=this[_0x37122e(0x3ed)](!0x0)):(_0x6ca158=this[_0x37122e(0x3ed)](!0x0),_0x54fc63['unpad'](_0x6ca158)),_0x6ca158;},'blockSize':0x80/0x20});var _0x3bfa1c=_0x103f6d[_0x1e7aae(0x2eb)]=_0x147eff['extend']({'init':function(_0x21a076){var _0x1abb94=_0x1e7aae;this[_0x1abb94(0x222)](_0x21a076);},'toString':function(_0x484527){var _0x409132=_0x1e7aae;return(_0x484527||this[_0x409132(0x2a3)])[_0x409132(0x305)](this);}}),_0x3788a4=_0x5c5ba9[_0x1e7aae(0x3a7)]={},_0x4ece41=_0x3788a4['OpenSSL']={'stringify':function(_0x407039){var _0x2cda4d=_0x1e7aae,_0x37e368,_0xb08831=_0x407039[_0x2cda4d(0x2d1)],_0x2b5ca3=_0x407039[_0x2cda4d(0x1e5)];return _0x2b5ca3?_0x37e368=_0x4f1031[_0x2cda4d(0x3f0)]([0x53616c74,0x65645f5f])[_0x2cda4d(0x33a)](_0x2b5ca3)[_0x2cda4d(0x33a)](_0xb08831):_0x37e368=_0xb08831,_0x37e368[_0x2cda4d(0x475)](_0x23d039);},'parse':function(_0x34dded){var _0x8165f8=_0x1e7aae,_0x5bd85d,_0x17a1b4=_0x23d039['parse'](_0x34dded),_0x47f2d8=_0x17a1b4[_0x8165f8(0x1ca)];return _0x47f2d8[0x0]==0x53616c74&&_0x47f2d8[0x1]==0x65645f5f&&(_0x5bd85d=_0x4f1031[_0x8165f8(0x3f0)](_0x47f2d8[_0x8165f8(0x322)](0x2,0x4)),_0x47f2d8[_0x8165f8(0x2ed)](0x0,0x4),_0x17a1b4[_0x8165f8(0x1fe)]-=0x10),_0x3bfa1c[_0x8165f8(0x3f0)]({'ciphertext':_0x17a1b4,'salt':_0x5bd85d});}},_0x1edaa9=_0x103f6d['SerializableCipher']=_0x147eff['extend']({'cfg':_0x147eff[_0x1e7aae(0x439)]({'format':_0x4ece41}),'encrypt':function(_0x2291cd,_0x21ed22,_0x421393,_0x1d54f2){var _0x42bf46=_0x1e7aae;_0x1d54f2=this[_0x42bf46(0x1af)]['extend'](_0x1d54f2);var _0x4f97f4=_0x2291cd[_0x42bf46(0x3c4)](_0x421393,_0x1d54f2),_0x2120bb=_0x4f97f4[_0x42bf46(0x390)](_0x21ed22),_0x536d18=_0x4f97f4[_0x42bf46(0x1af)];return _0x3bfa1c[_0x42bf46(0x3f0)]({'ciphertext':_0x2120bb,'key':_0x421393,'iv':_0x536d18['iv'],'algorithm':_0x2291cd,'mode':_0x536d18[_0x42bf46(0x3c9)],'padding':_0x536d18[_0x42bf46(0x4c3)],'blockSize':_0x2291cd[_0x42bf46(0x30e)],'formatter':_0x1d54f2[_0x42bf46(0x3a7)]});},'decrypt':function(_0x530da9,_0x544a48,_0x3580a6,_0x14371a){var _0x493ca3=_0x1e7aae;_0x14371a=this[_0x493ca3(0x1af)][_0x493ca3(0x439)](_0x14371a),_0x544a48=this['_parse'](_0x544a48,_0x14371a[_0x493ca3(0x3a7)]);var _0x41ca42=_0x530da9[_0x493ca3(0x4dc)](_0x3580a6,_0x14371a)[_0x493ca3(0x390)](_0x544a48['ciphertext']);return _0x41ca42;},'_parse':function(_0x36efdb,_0x4ad3e6){var _0x18f065=_0x1e7aae;return typeof _0x36efdb==_0x18f065(0x207)?_0x4ad3e6['parse'](_0x36efdb,this):_0x36efdb;}}),_0x953152=_0x5c5ba9[_0x1e7aae(0x3ea)]={},_0x3ab0c2=_0x953152['OpenSSL']={'execute':function(_0x4735e2,_0x470321,_0xd449d,_0x50eea7,_0x26b1d6){var _0x38d8d3=_0x1e7aae;if(_0x50eea7||(_0x50eea7=_0x4f1031[_0x38d8d3(0x375)](0x40/0x8)),_0x26b1d6)var _0x42eb52=_0x3997fe[_0x38d8d3(0x3f0)]({'keySize':_0x470321+_0xd449d,'hasher':_0x26b1d6})[_0x38d8d3(0x37f)](_0x4735e2,_0x50eea7);else var _0x42eb52=_0x3997fe[_0x38d8d3(0x3f0)]({'keySize':_0x470321+_0xd449d})[_0x38d8d3(0x37f)](_0x4735e2,_0x50eea7);var _0x1803fa=_0x4f1031[_0x38d8d3(0x3f0)](_0x42eb52['words'][_0x38d8d3(0x322)](_0x470321),_0xd449d*0x4);return _0x42eb52[_0x38d8d3(0x1fe)]=_0x470321*0x4,_0x3bfa1c[_0x38d8d3(0x3f0)]({'key':_0x42eb52,'iv':_0x1803fa,'salt':_0x50eea7});}},_0x5389d5=_0x103f6d['PasswordBasedCipher']=_0x1edaa9[_0x1e7aae(0x439)]({'cfg':_0x1edaa9[_0x1e7aae(0x1af)][_0x1e7aae(0x439)]({'kdf':_0x3ab0c2}),'encrypt':function(_0x947c26,_0x1cece6,_0x5027ba,_0x4fa90e){var _0xfba68d=_0x1e7aae;_0x4fa90e=this[_0xfba68d(0x1af)][_0xfba68d(0x439)](_0x4fa90e);var _0x57a786=_0x4fa90e[_0xfba68d(0x3ea)][_0xfba68d(0x21a)](_0x5027ba,_0x947c26[_0xfba68d(0x1c1)],_0x947c26[_0xfba68d(0x432)],_0x4fa90e['salt'],_0x4fa90e[_0xfba68d(0x1e0)]);_0x4fa90e['iv']=_0x57a786['iv'];var _0x71a64b=_0x1edaa9[_0xfba68d(0x3ec)][_0xfba68d(0x356)](this,_0x947c26,_0x1cece6,_0x57a786[_0xfba68d(0x4bd)],_0x4fa90e);return _0x71a64b[_0xfba68d(0x222)](_0x57a786),_0x71a64b;},'decrypt':function(_0x28c2c1,_0x520f8f,_0xf2acd3,_0x1ee04d){var _0x185197=_0x1e7aae;_0x1ee04d=this[_0x185197(0x1af)][_0x185197(0x439)](_0x1ee04d),_0x520f8f=this['_parse'](_0x520f8f,_0x1ee04d['format']);var _0x4c7302=_0x1ee04d[_0x185197(0x3ea)]['execute'](_0xf2acd3,_0x28c2c1['keySize'],_0x28c2c1['ivSize'],_0x520f8f[_0x185197(0x1e5)],_0x1ee04d[_0x185197(0x1e0)]);_0x1ee04d['iv']=_0x4c7302['iv'];var _0x5de31f=_0x1edaa9[_0x185197(0x2b3)][_0x185197(0x356)](this,_0x28c2c1,_0x520f8f,_0x4c7302[_0x185197(0x4bd)],_0x1ee04d);return _0x5de31f;}});}();}));}(Te)),Te[_0x482d20(0x4b3)];}var Gi=fe[_0x30a490(0x4b3)],st;function Ki(){var _0x58b964=_0x30a490;return st||(st=0x1,function(_0xdf5368,_0x250bbc){(function(_0x58d620,_0x380c0f,_0x5cd30e){var _0x2f4aad=_0x2a67;_0xdf5368[_0x2f4aad(0x4b3)]=_0x380c0f(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x17c553){var _0x218490=_0x2a67;return(function(){var _0x1b4b7b=_0x2a67,_0x4e0680=_0x17c553,_0x4795e4=_0x4e0680[_0x1b4b7b(0x4a2)],_0x55a26a=_0x4795e4[_0x1b4b7b(0x392)],_0x5bcf85=_0x4e0680[_0x1b4b7b(0x302)],_0x402fd1=[],_0x5247f9=[],_0x183058=[],_0x2b4cc9=[],_0x36c4ce=[],_0x20b864=[],_0x298369=[],_0x2de099=[],_0x1d7739=[],_0xd71350=[];(function(){for(var _0x2586db=[],_0x18dc77=0x0;_0x18dc77<0x100;_0x18dc77++)_0x18dc77<0x80?_0x2586db[_0x18dc77]=_0x18dc77<<0x1:_0x2586db[_0x18dc77]=_0x18dc77<<0x1^0x11b;for(var _0x3b537d=0x0,_0x1963ea=0x0,_0x18dc77=0x0;_0x18dc77<0x100;_0x18dc77++){var _0xf2a462=_0x1963ea^_0x1963ea<<0x1^_0x1963ea<<0x2^_0x1963ea<<0x3^_0x1963ea<<0x4;_0xf2a462=_0xf2a462>>>0x8^_0xf2a462&0xff^0x63,_0x402fd1[_0x3b537d]=_0xf2a462,_0x5247f9[_0xf2a462]=_0x3b537d;var _0x4b8750=_0x2586db[_0x3b537d],_0x226ce2=_0x2586db[_0x4b8750],_0x9698c3=_0x2586db[_0x226ce2],_0x17f9c5=_0x2586db[_0xf2a462]*0x101^_0xf2a462*0x1010100;_0x183058[_0x3b537d]=_0x17f9c5<<0x18|_0x17f9c5>>>0x8,_0x2b4cc9[_0x3b537d]=_0x17f9c5<<0x10|_0x17f9c5>>>0x10,_0x36c4ce[_0x3b537d]=_0x17f9c5<<0x8|_0x17f9c5>>>0x18,_0x20b864[_0x3b537d]=_0x17f9c5;var _0x17f9c5=_0x9698c3*0x1010101^_0x226ce2*0x10001^_0x4b8750*0x101^_0x3b537d*0x1010100;_0x298369[_0xf2a462]=_0x17f9c5<<0x18|_0x17f9c5>>>0x8,_0x2de099[_0xf2a462]=_0x17f9c5<<0x10|_0x17f9c5>>>0x10,_0x1d7739[_0xf2a462]=_0x17f9c5<<0x8|_0x17f9c5>>>0x18,_0xd71350[_0xf2a462]=_0x17f9c5,_0x3b537d?(_0x3b537d=_0x4b8750^_0x2586db[_0x2586db[_0x2586db[_0x9698c3^_0x4b8750]]],_0x1963ea^=_0x2586db[_0x2586db[_0x1963ea]]):_0x3b537d=_0x1963ea=0x1;}}());var _0x2c8ab4=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x29c31d=_0x5bcf85[_0x1b4b7b(0x38b)]=_0x55a26a[_0x1b4b7b(0x439)]({'_doReset':function(){var _0x15e1d4=_0x1b4b7b,_0x40fec2;if(!(this[_0x15e1d4(0x21d)]&&this[_0x15e1d4(0x233)]===this['_key'])){for(var _0x4ab822=this['_keyPriorReset']=this[_0x15e1d4(0x3b1)],_0x125c13=_0x4ab822[_0x15e1d4(0x1ca)],_0x92899c=_0x4ab822[_0x15e1d4(0x1fe)]/0x4,_0x515fde=this[_0x15e1d4(0x21d)]=_0x92899c+0x6,_0x284c91=(_0x515fde+0x1)*0x4,_0xe5c85a=this[_0x15e1d4(0x37b)]=[],_0x5ebafe=0x0;_0x5ebafe<_0x284c91;_0x5ebafe++)_0x5ebafe<_0x92899c?_0xe5c85a[_0x5ebafe]=_0x125c13[_0x5ebafe]:(_0x40fec2=_0xe5c85a[_0x5ebafe-0x1],_0x5ebafe%_0x92899c?_0x92899c>0x6&&_0x5ebafe%_0x92899c==0x4&&(_0x40fec2=_0x402fd1[_0x40fec2>>>0x18]<<0x18|_0x402fd1[_0x40fec2>>>0x10&0xff]<<0x10|_0x402fd1[_0x40fec2>>>0x8&0xff]<<0x8|_0x402fd1[_0x40fec2&0xff]):(_0x40fec2=_0x40fec2<<0x8|_0x40fec2>>>0x18,_0x40fec2=_0x402fd1[_0x40fec2>>>0x18]<<0x18|_0x402fd1[_0x40fec2>>>0x10&0xff]<<0x10|_0x402fd1[_0x40fec2>>>0x8&0xff]<<0x8|_0x402fd1[_0x40fec2&0xff],_0x40fec2^=_0x2c8ab4[_0x5ebafe/_0x92899c|0x0]<<0x18),_0xe5c85a[_0x5ebafe]=_0xe5c85a[_0x5ebafe-_0x92899c]^_0x40fec2);for(var _0x38ac49=this[_0x15e1d4(0x221)]=[],_0x18f75f=0x0;_0x18f75f<_0x284c91;_0x18f75f++){var _0x5ebafe=_0x284c91-_0x18f75f;if(_0x18f75f%0x4)var _0x40fec2=_0xe5c85a[_0x5ebafe];else var _0x40fec2=_0xe5c85a[_0x5ebafe-0x4];_0x18f75f<0x4||_0x5ebafe<=0x4?_0x38ac49[_0x18f75f]=_0x40fec2:_0x38ac49[_0x18f75f]=_0x298369[_0x402fd1[_0x40fec2>>>0x18]]^_0x2de099[_0x402fd1[_0x40fec2>>>0x10&0xff]]^_0x1d7739[_0x402fd1[_0x40fec2>>>0x8&0xff]]^_0xd71350[_0x402fd1[_0x40fec2&0xff]];}}},'encryptBlock':function(_0xf02528,_0x16de8c){var _0x42f572=_0x1b4b7b;this[_0x42f572(0x4ab)](_0xf02528,_0x16de8c,this[_0x42f572(0x37b)],_0x183058,_0x2b4cc9,_0x36c4ce,_0x20b864,_0x402fd1);},'decryptBlock':function(_0x2f62d9,_0x2a6747){var _0x1560c1=_0x1b4b7b,_0x725dc8=_0x2f62d9[_0x2a6747+0x1];_0x2f62d9[_0x2a6747+0x1]=_0x2f62d9[_0x2a6747+0x3],_0x2f62d9[_0x2a6747+0x3]=_0x725dc8,this[_0x1560c1(0x4ab)](_0x2f62d9,_0x2a6747,this['_invKeySchedule'],_0x298369,_0x2de099,_0x1d7739,_0xd71350,_0x5247f9);var _0x725dc8=_0x2f62d9[_0x2a6747+0x1];_0x2f62d9[_0x2a6747+0x1]=_0x2f62d9[_0x2a6747+0x3],_0x2f62d9[_0x2a6747+0x3]=_0x725dc8;},'_doCryptBlock':function(_0x3032bf,_0x3286c0,_0x3cd806,_0x2f0434,_0xb7dc5d,_0xc56550,_0x132cf0,_0x233a90){for(var _0x5bd7ed=this['_nRounds'],_0x383657=_0x3032bf[_0x3286c0]^_0x3cd806[0x0],_0x2f0980=_0x3032bf[_0x3286c0+0x1]^_0x3cd806[0x1],_0x4514e6=_0x3032bf[_0x3286c0+0x2]^_0x3cd806[0x2],_0x1a27ed=_0x3032bf[_0x3286c0+0x3]^_0x3cd806[0x3],_0x30a2f3=0x4,_0x469e2f=0x1;_0x469e2f<_0x5bd7ed;_0x469e2f++){var _0x1c5727=_0x2f0434[_0x383657>>>0x18]^_0xb7dc5d[_0x2f0980>>>0x10&0xff]^_0xc56550[_0x4514e6>>>0x8&0xff]^_0x132cf0[_0x1a27ed&0xff]^_0x3cd806[_0x30a2f3++],_0x285c7a=_0x2f0434[_0x2f0980>>>0x18]^_0xb7dc5d[_0x4514e6>>>0x10&0xff]^_0xc56550[_0x1a27ed>>>0x8&0xff]^_0x132cf0[_0x383657&0xff]^_0x3cd806[_0x30a2f3++],_0x461d8c=_0x2f0434[_0x4514e6>>>0x18]^_0xb7dc5d[_0x1a27ed>>>0x10&0xff]^_0xc56550[_0x383657>>>0x8&0xff]^_0x132cf0[_0x2f0980&0xff]^_0x3cd806[_0x30a2f3++],_0x405565=_0x2f0434[_0x1a27ed>>>0x18]^_0xb7dc5d[_0x383657>>>0x10&0xff]^_0xc56550[_0x2f0980>>>0x8&0xff]^_0x132cf0[_0x4514e6&0xff]^_0x3cd806[_0x30a2f3++];_0x383657=_0x1c5727,_0x2f0980=_0x285c7a,_0x4514e6=_0x461d8c,_0x1a27ed=_0x405565;}var _0x1c5727=(_0x233a90[_0x383657>>>0x18]<<0x18|_0x233a90[_0x2f0980>>>0x10&0xff]<<0x10|_0x233a90[_0x4514e6>>>0x8&0xff]<<0x8|_0x233a90[_0x1a27ed&0xff])^_0x3cd806[_0x30a2f3++],_0x285c7a=(_0x233a90[_0x2f0980>>>0x18]<<0x18|_0x233a90[_0x4514e6>>>0x10&0xff]<<0x10|_0x233a90[_0x1a27ed>>>0x8&0xff]<<0x8|_0x233a90[_0x383657&0xff])^_0x3cd806[_0x30a2f3++],_0x461d8c=(_0x233a90[_0x4514e6>>>0x18]<<0x18|_0x233a90[_0x1a27ed>>>0x10&0xff]<<0x10|_0x233a90[_0x383657>>>0x8&0xff]<<0x8|_0x233a90[_0x2f0980&0xff])^_0x3cd806[_0x30a2f3++],_0x405565=(_0x233a90[_0x1a27ed>>>0x18]<<0x18|_0x233a90[_0x383657>>>0x10&0xff]<<0x10|_0x233a90[_0x2f0980>>>0x8&0xff]<<0x8|_0x233a90[_0x4514e6&0xff])^_0x3cd806[_0x30a2f3++];_0x3032bf[_0x3286c0]=_0x1c5727,_0x3032bf[_0x3286c0+0x1]=_0x285c7a,_0x3032bf[_0x3286c0+0x2]=_0x461d8c,_0x3032bf[_0x3286c0+0x3]=_0x405565;},'keySize':0x100/0x20});_0x4e0680[_0x1b4b7b(0x38b)]=_0x55a26a['_createHelper'](_0x29c31d);}()),_0x17c553[_0x218490(0x38b)];}));}(fe)),fe[_0x58b964(0x4b3)];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x30a490(0x4b3)],at;function Xi(){var _0x30344e=_0x30a490;return at||(at=0x1,function(_0x47f2cd,_0x44addf){(function(_0x4f5cf6,_0x260891){_0x47f2cd['exports']=_0x260891(ee());}(Ji,function(_0x41d272){return _0x41d272['enc']['Utf8'];}));}(be)),be[_0x30344e(0x4b3)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x30a490(0x4b3)],ct;function tn(){var _0x31807f=_0x30a490;return ct||(ct=0x1,function(_0x857248,_0x6587fe){(function(_0xbca75c,_0x2b1631){var _0x226003=_0x2a67;_0x857248[_0x226003(0x4b3)]=_0x2b1631(ee());}(en,function(_0x4bee32){return(function(){var _0x5a327d=_0x2a67;if(typeof ArrayBuffer==_0x5a327d(0x47a)){var _0x13dd58=_0x4bee32,_0x475bcf=_0x13dd58[_0x5a327d(0x4a2)],_0x5a4f1f=_0x475bcf[_0x5a327d(0x2da)],_0x29186b=_0x5a4f1f[_0x5a327d(0x1b0)],_0x395e8c=_0x5a4f1f[_0x5a327d(0x1b0)]=function(_0x1a34ce){var _0x273c00=_0x5a327d;if(_0x1a34ce instanceof ArrayBuffer&&(_0x1a34ce=new Uint8Array(_0x1a34ce)),(_0x1a34ce instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1a34ce instanceof Uint8ClampedArray||_0x1a34ce instanceof Int16Array||_0x1a34ce instanceof Uint16Array||_0x1a34ce instanceof Int32Array||_0x1a34ce instanceof Uint32Array||_0x1a34ce instanceof Float32Array||_0x1a34ce instanceof Float64Array)&&(_0x1a34ce=new Uint8Array(_0x1a34ce[_0x273c00(0x250)],_0x1a34ce['byteOffset'],_0x1a34ce[_0x273c00(0x3c0)])),_0x1a34ce instanceof Uint8Array){for(var _0x57d524=_0x1a34ce[_0x273c00(0x3c0)],_0x4278d0=[],_0x130150=0x0;_0x130150<_0x57d524;_0x130150++)_0x4278d0[_0x130150>>>0x2]|=_0x1a34ce[_0x130150]<<0x18-_0x130150%0x4*0x8;_0x29186b[_0x273c00(0x356)](this,_0x4278d0,_0x57d524);}else _0x29186b[_0x273c00(0x254)](this,arguments);};_0x395e8c['prototype']=_0x5a4f1f;}}()),_0x4bee32['lib']['WordArray'];}));}(Re)),Re[_0x31807f(0x4b3)];}var nn=tn();const rn=Se(nn);var ye={'exports':{}},sn=ye[_0x30a490(0x4b3)],ht;function on(){var _0x365726=_0x30a490;return ht||(ht=0x1,function(_0x4b133d,_0x2b834a){(function(_0x482abd,_0x63a5fd,_0x2972d6){var _0xc49395=_0x2a67;_0x4b133d[_0xc49395(0x4b3)]=_0x63a5fd(ee(),Pt());}(sn,function(_0x3135df){var _0x10c133=_0x2a67;return _0x3135df[_0x10c133(0x3ca)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x3135df[_0x10c133(0x3ca)][_0x10c133(0x39a)];}));}(ye)),ye[_0x365726(0x4b3)];}var an=on();const cn=Se(an);function hn(_0x5bedf0,_0x3118c5){var _0x2cd08b=_0x30a490;const _0xc5a0b5=_0x3118c5-_0x5bedf0[_0x2cd08b(0x31c)]%_0x3118c5,_0x5a646c=String[_0x2cd08b(0x481)](_0xc5a0b5)[_0x2cd08b(0x24d)](_0xc5a0b5);return _0x5bedf0+_0x5a646c;}function ln(_0xffe1fd,_0x15fc80){var _0x2246c8=_0x30a490;const _0x2f34b7=rn[_0x2246c8(0x375)](0x10),_0x1b915c=hn(_0xffe1fd,0x10),_0x16aeaa=qi['encrypt'](Qi[_0x2246c8(0x212)](_0x1b915c),ot[_0x2246c8(0x212)](_0x15fc80),{'iv':_0x2f34b7,'padding':cn});return _0x2f34b7[_0x2246c8(0x33a)](_0x16aeaa[_0x2246c8(0x2d1)])[_0x2246c8(0x475)](ot);}function _n(){var _0x1456ac=_0x30a490;const _0x5c2765=xt[_0x1456ac(0x300)]()[_0x1456ac(0x3a0)];if(_0x5c2765){const _0x1269f7={'time':Math['floor'](Date[_0x1456ac(0x47f)]()/0x3e8),'domain':location[_0x1456ac(0x29d)]};return ln(JSON[_0x1456ac(0x305)](_0x1269f7),_0x5c2765);}}var un=Object['getOwnPropertyDescriptor'],dn=(_0x1f7951,_0x504819,_0x223add,_0x42750c)=>{var _0x4dbc61=_0x30a490;for(var _0x5d8bd8=_0x42750c>0x1?void 0x0:_0x42750c?un(_0x504819,_0x223add):_0x504819,_0x4a7235=_0x1f7951[_0x4dbc61(0x31c)]-0x1,_0x60c1d;_0x4a7235>=0x0;_0x4a7235--)(_0x60c1d=_0x1f7951[_0x4a7235])&&(_0x5d8bd8=_0x60c1d(_0x5d8bd8)||_0x5d8bd8);return _0x5d8bd8;},vn=(_0x9a0c1d,_0x21dd0e)=>(_0x5a7461,_0x2babe4)=>_0x21dd0e(_0x5a7461,_0x2babe4,_0x9a0c1d);let Ne=class{constructor(_0x5e1a91){var _0x12109a=_0x30a490;this[_0x12109a(0x353)]=_0x5e1a91,this[_0x12109a(0x303)]();}[_0x30a490(0x303)](){var _0x44c0d4=_0x30a490;this[_0x44c0d4(0x353)]['registerHTTPInterceptor']({'interceptor':(_0x1a731c,_0x5004c6)=>{var _0x226d26=_0x44c0d4;const _0x4c4276=_0x1a731c[_0x226d26(0x1f5)],_0x15852d=_n();return _0x15852d&&_0x4c4276[_0x226d26(0x4a6)](_0x226d26(0x32c),_0x15852d),_0x5004c6(_0x1a731c);}});}};Ne=dn([vn(0x0,a[_0x30a490(0x3af)](q['HTTPService']))],Ne);var Sn=Object['getOwnPropertyDescriptor'],fn=(_0x191a2e,_0x1d740d,_0x5a9cc4,_0xb20b05)=>{for(var _0x26d356=_0xb20b05>0x1?void 0x0:_0xb20b05?Sn(_0x1d740d,_0x5a9cc4):_0x1d740d,_0x25d287=_0x191a2e['length']-0x1,_0xae62f4;_0x25d287>=0x0;_0x25d287--)(_0xae62f4=_0x191a2e[_0x25d287])&&(_0x26d356=_0xae62f4(_0x26d356)||_0x26d356);return _0x26d356;},Me=(_0x523ddb,_0xfdc6b8)=>(_0x4e568c,_0x4cdfa2)=>_0xfdc6b8(_0x4e568c,_0x4cdfa2,_0x523ddb);exports[_0x30a490(0x3fe)]=class extends a[_0x30a490(0x3b7)]{constructor(_0x3bf85e,_0x2cb9dc,_0x1662b0){var _0x3cc44d=_0x30a490;super(),A(this,'_unitInfo$',new j[(_0x3cc44d(0x1b6))](null)),A(this,_0x3cc44d(0x348),this[_0x3cc44d(0x3fc)]['asObservable']()),(this[_0x3cc44d(0x39c)]=_0x3bf85e,this[_0x3cc44d(0x1cf)]=_0x2cb9dc,this[_0x3cc44d(0x1a3)]=_0x1662b0);}async[_0x30a490(0x28c)](_0x225692,_0x2ee026,_0x3d05d9){var _0x4a4a34=_0x30a490;this['_unitInfo$'][_0x4a4a34(0x18d)]({'unitId':_0x225692,'type':_0x2ee026,'subUnitId':_0x3d05d9});let _0x55baf0=null;switch(_0x2ee026){case X[_0x4a4a34(0x2f3)]:{_0x55baf0=await this[_0x4a4a34(0x2b2)](_0x225692);break;}case X['UNIVER_DOC']:{_0x55baf0=await this[_0x4a4a34(0x350)](_0x225692);break;}default:{this[_0x4a4a34(0x39c)]['error']('[DataLoaderService]',_0x4a4a34(0x2c9));break;}}return _0x55baf0;}async[_0x30a490(0x2b2)](_0x4c0c32){var _0xad4b54=_0x30a490,_0x32c8d8;let _0x32b295=0x0;const _0x3d23d7=await((_0x32c8d8=this[_0xad4b54(0x1a3)])==null?void 0x0:_0x32c8d8['loadOfflineData'](_0x4c0c32));return _0x3d23d7&&(_0x3d23d7[_0xad4b54(0x25d)]||_0x3d23d7[_0xad4b54(0x20e)][_0xad4b54(0x31c)]!==0x0)&&(_0x32b295=_0x3d23d7[_0xad4b54(0x1a2)]),_0x32b295===0x0&&this[_0xad4b54(0x39c)][_0xad4b54(0x1f2)](_0xad4b54(0x2f2),_0xad4b54(0x347)),this[_0xad4b54(0x1cf)][_0xad4b54(0x231)](_0x4c0c32,_0x32b295);}async[_0x30a490(0x350)](_0x2d7ead){var _0x5ba6ca=_0x30a490,_0x2e51a0;let _0x5e0bcd=0x0;const _0x2ec930=await((_0x2e51a0=this[_0x5ba6ca(0x1a3)])==null?void 0x0:_0x2e51a0[_0x5ba6ca(0x317)](_0x2d7ead));return _0x2ec930&&(_0x2ec930[_0x5ba6ca(0x25d)]||_0x2ec930[_0x5ba6ca(0x20e)][_0x5ba6ca(0x31c)]!==0x0)&&(_0x5e0bcd=_0x2ec930[_0x5ba6ca(0x1a2)]),_0x5e0bcd===0x0&&this[_0x5ba6ca(0x39c)][_0x5ba6ca(0x1f2)](_0x5ba6ca(0x2f2),_0x5ba6ca(0x347)),this['_snapshotService']['loadDoc'](_0x2d7ead,_0x5e0bcd);}},exports[_0x30a490(0x3fe)]=fn([Me(0x0,a['ILogService']),Me(0x1,a[_0x30a490(0x3af)](g['SnapshotService'])),Me(0x2,a[_0x30a490(0x342)](z))],exports[_0x30a490(0x3fe)]);var pn=Object[_0x30a490(0x2c2)],gn=(_0x18d742,_0x1944d5,_0x316327,_0x3165eb)=>{var _0xf046b7=_0x30a490;for(var _0x5b668c=_0x3165eb>0x1?void 0x0:_0x3165eb?pn(_0x1944d5,_0x316327):_0x1944d5,_0x91aa12=_0x18d742[_0xf046b7(0x31c)]-0x1,_0x47c651;_0x91aa12>=0x0;_0x91aa12--)(_0x47c651=_0x18d742[_0x91aa12])&&(_0x5b668c=_0x47c651(_0x5b668c)||_0x5b668c);return _0x5b668c;},xe=(_0x59060c,_0x489a9e)=>(_0x73a122,_0x1a1611)=>_0x489a9e(_0x73a122,_0x1a1611,_0x59060c);const mn=[_0x30a490(0x419),_0x30a490(0x19f),_0x30a490(0x2a9),_0x30a490(0x46f),_0x30a490(0x269)],In=0x5*0x400*0x400,En=_0x30a490(0x365),Cn=_0x30a490(0x333),Tn=_0x30a490(0x471),bn=_0x30a490(0x1c9);exports[_0x30a490(0x4d3)]=class{constructor(_0x4ea7ff,_0x588103,_0x8b5c51){var _0x5a3ae0=_0x30a490;A(this,'_waitCount',0x0),A(this,_0x5a3ae0(0x217),new j[(_0x5a3ae0(0x187))]()),A(this,_0x5a3ae0(0x2ad),this[_0x5a3ae0(0x217)]),A(this,_0x5a3ae0(0x185),new Map()),(this[_0x5a3ae0(0x353)]=_0x4ea7ff,this[_0x5a3ae0(0x42f)]=_0x588103,this['_univerInstanceService']=_0x8b5c51);}[_0x30a490(0x364)](_0x2f110e){var _0x31aa40=_0x30a490;this['_waitCount']=_0x2f110e,this[_0x31aa40(0x217)][_0x31aa40(0x18d)](_0x2f110e);}[_0x30a490(0x36a)](_0x21dce3,_0x4227c4){var _0x22cb59=_0x30a490;if(_0x4227c4===J['ImageSourceType'][_0x22cb59(0x284)]){const _0xa2bf3=new Image();return _0xa2bf3[_0x22cb59(0x26d)]=_0x21dce3,_0xa2bf3;}return this[_0x22cb59(0x185)][_0x22cb59(0x31a)](_0x21dce3);}[_0x30a490(0x174)](_0x17f53c,_0x569aa0,_0x375f81){var _0x6f4f08=_0x30a490;_0x569aa0===J[_0x6f4f08(0x40f)]['BASE64']||_0x375f81==null||this[_0x6f4f08(0x185)][_0x6f4f08(0x4a6)](_0x17f53c,_0x375f81);}async[_0x30a490(0x4d7)](_0x396d6b){var _0x3257cb=_0x30a490;try{const _0xdb9e60=this[_0x3257cb(0x1ef)](this[_0x3257cb(0x1cb)](),''+_0x396d6b),_0x181217=(await this[_0x3257cb(0x353)][_0x3257cb(0x31a)](_0xdb9e60))[_0x3257cb(0x17c)];if(_0x181217['error']&&_0x181217[_0x3257cb(0x29c)][_0x3257cb(0x36b)]===Ct['OK']){const _0x33e1f8=new URL(_0x181217[_0x3257cb(0x25b)],this['_getDownloadEndpointURL']())['toString']();return Promise['resolve'](_0x33e1f8);}return Promise[_0x3257cb(0x2b8)](_0x181217[_0x3257cb(0x29c)]);}catch(_0x1460b0){return Promise['reject'](_0x1460b0);}}async[_0x30a490(0x214)](_0x2fde75){var _0x439ec2=_0x30a490;let _0x1fe170='';if(!mn[_0x439ec2(0x3d6)](_0x2fde75[_0x439ec2(0x299)]))return this[_0x439ec2(0x495)](),Promise[_0x439ec2(0x2b8)](new Error(J[_0x439ec2(0x190)]['ERROR_IMAGE_TYPE']));if(_0x2fde75[_0x439ec2(0x4af)]>In)return this[_0x439ec2(0x495)](),Promise['reject'](new Error(J['ImageUploadStatusType'][_0x439ec2(0x352)]));try{const _0x59eb4d=new FormData();_0x59eb4d[_0x439ec2(0x224)]('file',_0x2fde75);const _0x35dff6=this[_0x439ec2(0x32b)][_0x439ec2(0x3d4)](),_0x2491f4=_0x35dff6==null?void 0x0:_0x35dff6[_0x439ec2(0x197)]();if(!_0x2491f4)throw new Error('unitId\x20is\x20not\x20found');const _0x1fa1ee=this[_0x439ec2(0x3d2)]()+_0x439ec2(0x3a3)+_0x2fde75[_0x439ec2(0x4af)][_0x439ec2(0x475)]()+'&source='+Tt['UnitEmbedded']+_0x439ec2(0x1cc)+encodeURIComponent(_0x2491f4),_0x2c80f8=await(await fetch(_0x1fa1ee,{'method':'POST','body':_0x59eb4d}))['json']();if(typeof _0x2c80f8[_0x439ec2(0x4c2)]!='string')return this[_0x439ec2(0x495)](),Promise[_0x439ec2(0x2b8)](new Error(J[_0x439ec2(0x190)][_0x439ec2(0x46a)]));_0x1fe170=_0x2c80f8[_0x439ec2(0x4c2)];}catch{return this[_0x439ec2(0x495)](),Promise[_0x439ec2(0x2b8)](new Error(J[_0x439ec2(0x190)][_0x439ec2(0x46a)]));}return new Promise((_0xde3c45,_0x139d77)=>{var _0x44577a=_0x439ec2;const _0x15966e=new FileReader();_0x15966e[_0x44577a(0x287)](_0x2fde75),_0x15966e[_0x44577a(0x424)]=_0x234b13=>{var _0x3e4acc=_0x44577a,_0x2da511;const _0x2e2732=(_0x2da511=_0x234b13[_0x3e4acc(0x29a)])==null?void 0x0:_0x2da511['result'];if(_0x2e2732==null){this[_0x3e4acc(0x495)](),_0x139d77(new Error(J[_0x3e4acc(0x190)][_0x3e4acc(0x46a)]));return;}const _0x438745=a['Tools'][_0x3e4acc(0x44e)](0x6);_0xde3c45({'imageId':_0x438745,'imageSourceType':J[_0x3e4acc(0x40f)][_0x3e4acc(0x345)],'source':_0x1fe170,'base64Cache':_0x2e2732,'status':J['ImageUploadStatusType'][_0x3e4acc(0x47d)]}),this[_0x3e4acc(0x495)]();};});}[_0x30a490(0x3d2)](){var _0x11fe8d=_0x30a490,_0x2c42a0,_0x531e3b;const _0x291842=this['_configService'][_0x11fe8d(0x2bc)](En),_0x4a40d4=this[_0x11fe8d(0x42f)][_0x11fe8d(0x2bc)](Y);return(_0x531e3b=(_0x2c42a0=_0x4a40d4==null?void 0x0:_0x4a40d4['uploadFileServerUrl'])!=null?_0x2c42a0:_0x291842)!=null?_0x531e3b:Cn;}[_0x30a490(0x1cb)](){var _0x50dc5d=_0x30a490,_0x339246,_0x2ed456;const _0x95ba70=this['_configService'][_0x50dc5d(0x2bc)](Tn),_0xd9e6e5=this['_configService']['getConfig'](Y);return(_0x2ed456=(_0x339246=_0xd9e6e5==null?void 0x0:_0xd9e6e5['signUrlServerUrl'])!=null?_0x339246:_0x95ba70)!=null?_0x2ed456:bn;}[_0x30a490(0x315)](){var _0x4c0535=_0x30a490,_0x3b29ff;const _0x76d9b3=this[_0x4c0535(0x42f)][_0x4c0535(0x2bc)](Y);return(_0x3b29ff=_0x76d9b3==null?void 0x0:_0x76d9b3[_0x4c0535(0x238)])!=null?_0x3b29ff:location[_0x4c0535(0x41e)];}[_0x30a490(0x1ef)](_0x1b4a0a,_0x4d8434){var _0x497df1=_0x30a490;return _0x1b4a0a[_0x497df1(0x297)]('{fileID}',_0x4d8434);}[_0x30a490(0x495)](){var _0x180046=_0x30a490;this['_waitCount']-=0x1,this[_0x180046(0x217)]['next'](this[_0x180046(0x401)]);}},exports[_0x30a490(0x4d3)]=gn([xe(0x0,a[_0x30a490(0x3af)](q[_0x30a490(0x270)])),xe(0x1,a['IConfigService']),xe(0x2,a['Inject'](a['IUniverInstanceService']))],exports[_0x30a490(0x4d3)]);var Rn=Object[_0x30a490(0x2c2)],yn=(_0x427d30,_0x34c854,_0x59f528,_0x3773c2)=>{var _0x1d5759=_0x30a490;for(var _0x4adba8=_0x3773c2>0x1?void 0x0:_0x3773c2?Rn(_0x34c854,_0x59f528):_0x34c854,_0x24f261=_0x427d30[_0x1d5759(0x31c)]-0x1,_0x2a04a3;_0x24f261>=0x0;_0x24f261--)(_0x2a04a3=_0x427d30[_0x24f261])&&(_0x4adba8=_0x2a04a3(_0x4adba8)||_0x4adba8);return _0x4adba8;},lt=(_0xe3cbb,_0x314d30)=>(_0x30bd0d,_0x305868)=>_0x314d30(_0x30bd0d,_0x305868,_0xe3cbb);const On=_0x30a490(0x4b7);exports[_0x30a490(0x410)]=class{constructor(_0x4f9027,_0x47faa0){var _0x4c30c4=_0x30a490;this['_configService']=_0x4f9027,this[_0x4c30c4(0x2e8)]=_0x47faa0;}['_getAPIPrefixPath'](){var _0x26e7b3=_0x30a490,_0x4befee,_0x39f4b8;const _0x49b083=this[_0x26e7b3(0x42f)]['getConfig'](Ge),_0x4eabc8=this[_0x26e7b3(0x42f)][_0x26e7b3(0x2bc)](Y);return(_0x39f4b8=(_0x4befee=_0x4eabc8==null?void 0x0:_0x4eabc8[_0x26e7b3(0x24f)])!=null?_0x4befee:_0x49b083)!=null?_0x39f4b8:On;}async['list'](_0x1efeff){var _0x58ebb8=_0x30a490;const _0x44c9ed=this[_0x58ebb8(0x1d4)]()+_0x58ebb8(0x400);return{'list':[{'title':_0x58ebb8(0x387),'mentions':(await this[_0x58ebb8(0x2e8)][_0x58ebb8(0x31a)](_0x44c9ed,{'params':{'objectID':_0x1efeff[_0x58ebb8(0x1c2)],'unitID':_0x1efeff[_0x58ebb8(0x1c2)]}}))[_0x58ebb8(0x17c)][_0x58ebb8(0x4bc)][_0x58ebb8(0x33c)](_0x53c07a=>({'objectId':_0x53c07a['id'],'name':_0x53c07a['subject']['name'],'metadata':{'icon':_0x53c07a[_0x58ebb8(0x438)]['avatar']},'label':_0x53c07a[_0x58ebb8(0x438)][_0x58ebb8(0x22b)],'objectType':a[_0x58ebb8(0x341)][_0x58ebb8(0x2ee)]})),'metadata':{},'type':a['MentionType'][_0x58ebb8(0x2ee)]}]};}},exports[_0x30a490(0x410)]=yn([lt(0x0,a[_0x30a490(0x3af)](a[_0x30a490(0x2cf)])),lt(0x1,a[_0x30a490(0x3af)](q[_0x30a490(0x270)]))],exports[_0x30a490(0x410)]);var Nn=Object[_0x30a490(0x2c2)],Dn=(_0x51bcf4,_0xeb382e,_0x4f39e8,_0x241548)=>{var _0xb039d9=_0x30a490;for(var _0x4c450e=_0x241548>0x1?void 0x0:_0x241548?Nn(_0xeb382e,_0x4f39e8):_0xeb382e,_0x2f61f9=_0x51bcf4[_0xb039d9(0x31c)]-0x1,_0x52eb2a;_0x2f61f9>=0x0;_0x2f61f9--)(_0x52eb2a=_0x51bcf4[_0x2f61f9])&&(_0x4c450e=_0x52eb2a(_0x4c450e)||_0x4c450e);return _0x4c450e;},ue=(_0x2d6ad8,_0x45263e)=>(_0x2f1fa0,_0x487f28)=>_0x45263e(_0x2f1fa0,_0x487f28,_0x2d6ad8);let De=class extends a[_0x30a490(0x3b7)]{constructor(_0x135a22,_0x287e40,_0x5a9b88,_0x4996eb,_0x4748bf){var _0x5b014f=_0x30a490;super(),this[_0x5b014f(0x44a)]=_0x135a22,this[_0x5b014f(0x32b)]=_0x287e40,this['_permissionService']=_0x5a9b88,this[_0x5b014f(0x324)]=_0x4996eb,this['_collaborationUIEventService']=_0x4748bf,this[_0x5b014f(0x1b8)](),this[_0x5b014f(0x4e3)]();}[_0x30a490(0x4e3)](){var _0xfc02d8=_0x30a490;const _0x17b631=async _0x53590b=>{var _0x56a3a1=_0x2a67;(await this[_0x56a3a1(0x324)][_0x56a3a1(0x46d)](_0x53590b))[_0x56a3a1(0x319)]['pipe'](V[_0x56a3a1(0x479)](_0x2f3536=>_0x2f3536[_0x56a3a1(0x1c8)]===g[_0x56a3a1(0x1ce)][_0x56a3a1(0x4a4)]),V[_0x56a3a1(0x285)](this['dispose$']))[_0x56a3a1(0x2d4)](_0xd4371a=>{var _0x251d54=_0x56a3a1;const _0x3575cd=_0xd4371a,{reason:_0x2f7d75}=_0x3575cd[_0x251d54(0x3fa)];this['_collaborationUIEventService'][_0x251d54(0x16c)]({'id':Q[_0x251d54(0x1ad)],'data':_0x2f7d75}),this[_0x251d54(0x362)][_0x251d54(0x3ce)](new Z[(_0x251d54(0x1a5))](_0x53590b)['id'],!0x1),this[_0x251d54(0x324)][_0x251d54(0x437)](_0x53590b);});};j[_0xfc02d8(0x22e)](this['_univerInstanceService'][_0xfc02d8(0x393)](a[_0xfc02d8(0x34d)][_0xfc02d8(0x2f3)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0xfc02d8(0x34d)][_0xfc02d8(0x204)]))['pipe'](V['map'](_0x22a0ee=>_0x22a0ee[_0xfc02d8(0x197)]()),V[_0xfc02d8(0x479)](_0x2df875=>!a[_0xfc02d8(0x246)](_0x2df875)),V[_0xfc02d8(0x285)](this['dispose$']))[_0xfc02d8(0x2d4)](_0x245d01=>{_0x17b631(_0x245d01);});}[_0x30a490(0x1b8)](){var _0x4ea6ac=_0x30a490;const _0x276a7c=async _0x25528b=>{var _0x2190c4=_0x2a67;const _0x2155ea=await this[_0x2190c4(0x324)][_0x2190c4(0x46d)](_0x25528b),_0xbfa5ec=this[_0x2190c4(0x44a)][_0x2190c4(0x31a)](Z[_0x2190c4(0x31d)]);_0x2155ea['event$'][_0x2190c4(0x286)](V[_0x2190c4(0x479)](_0x512778=>_0x512778[_0x2190c4(0x1c8)]===g[_0x2190c4(0x1ce)][_0x2190c4(0x2b6)]),V[_0x2190c4(0x285)](this[_0x2190c4(0x451)]))['subscribe'](_0x3c4fa2=>{var _0x3f17a4=_0x2190c4;const _0x4b515f=_0x3c4fa2,{objectId:_0x365df2}=_0x4b515f[_0x3f17a4(0x3fa)];_0x365df2===_0x25528b?_0xbfa5ec[_0x3f17a4(0x306)](_0x25528b):_0xbfa5ec[_0x3f17a4(0x248)](_0x25528b,_0x365df2);});};j[_0x4ea6ac(0x22e)](this[_0x4ea6ac(0x32b)][_0x4ea6ac(0x393)](a[_0x4ea6ac(0x34d)][_0x4ea6ac(0x2f3)]))['pipe'](V[_0x4ea6ac(0x33c)](_0x50bea7=>_0x50bea7['getUnitId']()),V[_0x4ea6ac(0x479)](_0x3813f9=>!a['isInternalEditorID'](_0x3813f9)),V[_0x4ea6ac(0x285)](this[_0x4ea6ac(0x451)]))['subscribe'](_0x14f810=>{_0x276a7c(_0x14f810);});}};De=Dn([ue(0x0,a['Inject'](a[_0x30a490(0x453)])),ue(0x1,a[_0x30a490(0x2f7)]),ue(0x2,a[_0x30a490(0x19e)]),ue(0x3,a[_0x30a490(0x3af)](exports[_0x30a490(0x2fe)])),ue(0x4,a[_0x30a490(0x3af)](te))],De);var Un=Object[_0x30a490(0x2c2)],An=(_0x3145f6,_0x26ff5b,_0x8a8435,_0x1b1a76)=>{var _0x595a4d=_0x30a490;for(var _0x207e63=_0x1b1a76>0x1?void 0x0:_0x1b1a76?Un(_0x26ff5b,_0x8a8435):_0x26ff5b,_0x351404=_0x3145f6[_0x595a4d(0x31c)]-0x1,_0x1c7a32;_0x351404>=0x0;_0x351404--)(_0x1c7a32=_0x3145f6[_0x351404])&&(_0x207e63=_0x1c7a32(_0x207e63)||_0x207e63);return _0x207e63;},_t=(_0x5d7bf6,_0x4462a9)=>(_0xf8a078,_0xc043e8)=>_0x4462a9(_0xf8a078,_0xc043e8,_0x5d7bf6);exports['SnapshotServerOverHTTPService']=class{constructor(_0x355657,_0x1a2734){var _0x4c7766=_0x30a490;this[_0x4c7766(0x42f)]=_0x355657,this['_httpService']=_0x1a2734;}async[_0x30a490(0x426)](_0x3d6b84,_0x335447){var _0x503d91=_0x30a490,_0x2b7a79;const {unitID:_0x2aecf0,type:_0x1598f6,revision:_0xf40c26=0x0}=_0x335447,_0x1a5c6e=this['getSnapshotAPIPath']()+'/'+_0x1598f6+_0x503d91(0x2ff)+_0x2aecf0+_0x503d91(0x2be)+_0xf40c26,_0x326428=(await this[_0x503d91(0x353)][_0x503d91(0x31a)](_0x1a5c6e))['body'],_0x3e27e9=(_0x2b7a79=_0x326428[_0x503d91(0x456)])==null?void 0x0:_0x2b7a79[_0x503d91(0x460)];if(_0x3e27e9){const _0x43db87=_0x3e27e9==null?void 0x0:_0x3e27e9[_0x503d91(0x4ad)],_0x24bba6=g[_0x503d91(0x229)][_0x503d91(0x1f9)](g[_0x503d91(0x49a)](_0x43db87));_0x3e27e9['originalMeta']=_0x24bba6,Object[_0x503d91(0x3c5)](_0x3e27e9[_0x503d91(0x253)])['forEach'](([,_0x1055c4])=>{var _0x271251=_0x503d91;const _0x5aed88=_0x1055c4[_0x271251(0x4ad)],_0xc10f2a=g[_0x271251(0x229)]['encode'](g['b64DecodeUnicode'](_0x5aed88));_0x1055c4[_0x271251(0x4ad)]=_0xc10f2a;});}return _0x326428;}async[_0x30a490(0x448)](_0x13c14f,_0x544f50){var _0x455ea4=_0x30a490;const {unitID:_0x286903,type:_0x48acae,blockID:_0x259854}=_0x544f50,_0x2009d7=this[_0x455ea4(0x313)]()+'/'+_0x48acae+_0x455ea4(0x2ff)+_0x286903+_0x455ea4(0x2f6)+_0x259854;return(await this[_0x455ea4(0x353)][_0x455ea4(0x31a)](_0x2009d7))[_0x455ea4(0x17c)];}async[_0x30a490(0x3d3)](_0x58e8e4,_0x4898e1){var _0x3a1b76=_0x30a490;const {unitID:_0x4d795b,type:_0xc74aa2,blockID:_0x1aea46}=_0x4898e1,_0x2b2a00=this[_0x3a1b76(0x313)]()+_0x3a1b76(0x2f6)+_0xc74aa2+'/unit/'+_0x4d795b+_0x3a1b76(0x2f6)+_0x1aea46;return(await this[_0x3a1b76(0x353)][_0x3a1b76(0x31a)](_0x2b2a00))[_0x3a1b76(0x17c)];}async['fetchMissingChangesets'](_0x125f87,_0x4c380e){var _0x57ed72=_0x30a490;const {unitID:_0x405468,type:_0x917368,from:_0x3405c1,to:_0x2a0311}=_0x4c380e,_0x4b2645=this[_0x57ed72(0x313)]()+'/'+_0x917368+_0x57ed72(0x2ff)+_0x405468+_0x57ed72(0x469)+_0x3405c1+_0x57ed72(0x3cf)+_0x2a0311;return(await this[_0x57ed72(0x353)][_0x57ed72(0x31a)](_0x4b2645))[_0x57ed72(0x17c)];}[_0x30a490(0x266)](){var _0x49e214=_0x30a490,_0x1b84ad;return(_0x1b84ad=this[_0x49e214(0x42f)][_0x49e214(0x2bc)](vt))!=null?_0x1b84ad:this[_0x49e214(0x313)]();}[_0x30a490(0x313)](){var _0x4c9c48=_0x30a490,_0x4874e5,_0xaa9967;const _0x1fe3a2=this[_0x4c9c48(0x42f)]['getConfig'](dt),_0x53658b=this[_0x4c9c48(0x42f)]['getConfig'](Y);return(_0xaa9967=(_0x4874e5=_0x53658b==null?void 0x0:_0x53658b['snapshotServerUrl'])!=null?_0x4874e5:_0x1fe3a2)!=null?_0xaa9967:kt;}async['getResourcesRequest'](_0x109124,_0x6afca8){var _0x246d69=_0x30a490;const _0x225bd9=_0x246d69(0x3e1)+_0x6afca8[_0x246d69(0x299)]+_0x246d69(0x2ff)+_0x6afca8[_0x246d69(0x272)]+'/resources';return(await this[_0x246d69(0x353)][_0x246d69(0x31a)](_0x225bd9,{'params':{'resourceId':JSON[_0x246d69(0x305)](_0x6afca8[_0x246d69(0x422)])}}))[_0x246d69(0x17c)];}[_0x30a490(0x403)](){var _0x1b3d5f=_0x30a490;throw new Error(_0x1b3d5f(0x43b));}[_0x30a490(0x2b7)](){var _0x16496c=_0x30a490;throw new Error(_0x16496c(0x43b));}[_0x30a490(0x3e7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x30a490(0x41f)](){var _0x57c2f4=_0x30a490;throw new Error(_0x57c2f4(0x43b));}['getLatestCsReqIdBySid'](){var _0x5967cf=_0x30a490;throw new Error(_0x5967cf(0x43b));}},exports[_0x30a490(0x1b9)]=An([_t(0x0,a[_0x30a490(0x2cf)]),_t(0x1,a['Inject'](q[_0x30a490(0x270)]))],exports[_0x30a490(0x1b9)]);function _0x2a67(_0x5833ab,_0x5a4038){var _0x2b5206=_0x2b52();return _0x2a67=function(_0x2a6703,_0x349da3){_0x2a6703=_0x2a6703-0x167;var _0x12541f=_0x2b5206[_0x2a6703];return _0x12541f;},_0x2a67(_0x5833ab,_0x5a4038);}var Pn=Object[_0x30a490(0x2c2)],wn=(_0x3c2caa,_0x2352ee,_0x2de7c8,_0x3c5a39)=>{var _0x5397af=_0x30a490;for(var _0x5d79f4=_0x3c5a39>0x1?void 0x0:_0x3c5a39?Pn(_0x2352ee,_0x2de7c8):_0x2352ee,_0x5ac85e=_0x3c2caa[_0x5397af(0x31c)]-0x1,_0x3e07a2;_0x5ac85e>=0x0;_0x5ac85e--)(_0x3e07a2=_0x3c2caa[_0x5ac85e])&&(_0x5d79f4=_0x3e07a2(_0x5d79f4)||_0x5d79f4);return _0x5d79f4;},de=(_0x56f35e,_0x28f711)=>(_0x504146,_0x53624c)=>_0x28f711(_0x504146,_0x53624c,_0x56f35e);exports[_0x30a490(0x395)]=class extends a['LocalUndoRedoService']{constructor(_0x3b5eaa,_0x57c611,_0x1ef4bd,_0x19f2c8,_0x19b03e){var _0x4a650f=_0x30a490;super(_0x3b5eaa,_0x57c611,_0x1ef4bd),this[_0x4a650f(0x3e6)]=_0x19f2c8,this['_logService']=_0x19b03e;}[_0x30a490(0x1d6)](_0x180a20,_0x58e4d8){var _0x80f6b0=_0x30a490;const _0xa36b6=this[_0x80f6b0(0x168)](_0x180a20);if(_0xa36b6)try{const _0x320a10=this[_0x80f6b0(0x492)](_0xa36b6,_0x58e4d8);this['_substituteUndoStack'](_0x180a20,_0x320a10);}catch(_0x56f931){this[_0x80f6b0(0x39c)][_0x80f6b0(0x29c)](_0x80f6b0(0x4c7),_0x56f931),this[_0x80f6b0(0x2f5)](_0x180a20);}const _0x36e36b=this['_getRedoStack'](_0x180a20);if(_0x36e36b)try{const _0x442ebd=this[_0x80f6b0(0x492)](_0x36e36b,_0x58e4d8);this['_substituteRedoStack'](_0x180a20,_0x442ebd);}catch(_0x30ce70){this[_0x80f6b0(0x39c)][_0x80f6b0(0x29c)](_0x30ce70),this[_0x80f6b0(0x260)](_0x180a20);}}[_0x30a490(0x2f5)](_0x23163d){var _0x7e8b41=_0x30a490;const _0x3026ee=this[_0x7e8b41(0x168)](_0x23163d);_0x3026ee&&(_0x3026ee[_0x7e8b41(0x31c)]=0x0,this[_0x7e8b41(0x334)]());}['_clearRedo'](_0x146a3d){var _0x1557ea=_0x30a490;const _0x191102=this[_0x1557ea(0x316)](_0x146a3d);_0x191102&&(_0x191102[_0x1557ea(0x31c)]=0x0,this[_0x1557ea(0x334)]());}[_0x30a490(0x311)](_0x384fff,_0x52b1f7){var _0x47fa50=_0x30a490;this[_0x47fa50(0x293)][_0x47fa50(0x4a6)](_0x384fff,_0x52b1f7),this[_0x47fa50(0x334)]();}[_0x30a490(0x383)](_0x48813c,_0x1580c9){var _0x143d40=_0x30a490;this[_0x143d40(0x19b)][_0x143d40(0x4a6)](_0x48813c,_0x1580c9),this[_0x143d40(0x334)]();}[_0x30a490(0x492)](_0x8521ef,_0x3c5356){var _0x2ee606=_0x30a490;const _0x2c31cf=[];let _0x32f3d0=_0x3c5356,_0x42a15b=_0x3c5356;for(let _0x49f833=_0x8521ef[_0x2ee606(0x31c)]-0x1;_0x49f833>=0x0;_0x49f833--){const {unitID:_0x512df9,undoMutations:_0x5242a1,redoMutations:_0x7cac24}=_0x8521ef[_0x49f833],_0x123585=this[_0x2ee606(0x3e6)]['transformMutationsWithChangeset'](_0x32f3d0,_0x5242a1),_0x160c92=this['_transformService'][_0x2ee606(0x394)](_0x42a15b,_0x7cac24);if(g[_0x2ee606(0x415)](_0x123585)||g[_0x2ee606(0x415)](_0x160c92)){this[_0x2ee606(0x39c)][_0x2ee606(0x29c)](_0x2ee606(0x4c7),_0x2ee606(0x35f),_0x123585,_0x160c92);break;}_0x32f3d0=_0x123585[_0x2ee606(0x360)],_0x42a15b=_0x160c92[_0x2ee606(0x360)],_0x2c31cf[_0x2ee606(0x2ab)]({'unitID':_0x512df9,'undoMutations':_0x123585[_0x2ee606(0x26f)],'redoMutations':_0x160c92[_0x2ee606(0x26f)]});}return _0x2c31cf[_0x2ee606(0x1ac)]();}},exports['CollaborativeUndoRedoService']=wn([de(0x0,a[_0x30a490(0x2f7)]),de(0x1,a[_0x30a490(0x3bb)]),de(0x2,a[_0x30a490(0x20b)]),de(0x3,g[_0x30a490(0x41d)]),de(0x4,a[_0x30a490(0x2c8)])],exports[_0x30a490(0x395)]);var Ln=Object[_0x30a490(0x1ba)],Mn=Object['getOwnPropertyDescriptor'],xn=(_0x20da53,_0x3378ab,_0x50b6dc)=>_0x3378ab in _0x20da53?Ln(_0x20da53,_0x3378ab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x50b6dc}):_0x20da53[_0x3378ab]=_0x50b6dc,kn=(_0x203ca6,_0x402e9e,_0x291b73,_0x554393)=>{var _0x2922ea=_0x30a490;for(var _0x2c7ccc=_0x554393>0x1?void 0x0:_0x554393?Mn(_0x402e9e,_0x291b73):_0x402e9e,_0x5210b4=_0x203ca6[_0x2922ea(0x31c)]-0x1,_0x1b9a44;_0x5210b4>=0x0;_0x5210b4--)(_0x1b9a44=_0x203ca6[_0x5210b4])&&(_0x2c7ccc=_0x1b9a44(_0x2c7ccc)||_0x2c7ccc);return _0x2c7ccc;},ke=(_0x2eec70,_0x1ba4af)=>(_0x126e15,_0x1f448c)=>_0x1ba4af(_0x126e15,_0x1f448c,_0x2eec70),Hn=(_0x1951b6,_0x51787c,_0x8a8e37)=>xn(_0x1951b6,_0x51787c+'',_0x8a8e37);const jn=_0x30a490(0x497);exports[_0x30a490(0x414)]=class extends a[_0x30a490(0x3f1)]{constructor(_0x4bde26,_0xdbe83c,_0x7d58ad,_0x281faf){var _0x4dbbd5=_0x30a490;super(),A(this,_0x4dbbd5(0x35d)),(this[_0x4dbbd5(0x39c)]=_0xdbe83c,this[_0x4dbbd5(0x44a)]=_0x7d58ad,this[_0x4dbbd5(0x42f)]=_0x281faf);const {..._0x2ad6a8}=a[_0x4dbbd5(0x22e)]({},Jt,_0x4bde26);if(!_0x2ad6a8[_0x4dbbd5(0x4d0)])throw new Error(_0x4dbbd5(0x3ef));this[_0x4dbbd5(0x35d)]=_0x2ad6a8,this['_configService']['setConfig'](Y,_0x2ad6a8);}[_0x30a490(0x2e4)](){var _0x339095=_0x30a490;this[_0x339095(0x2d9)](),this[_0x339095(0x251)]();}[_0x30a490(0x2d9)](){var _0x1b018c=_0x30a490,_0x2ae1a,_0x1853bf;this[_0x1b018c(0x44a)][_0x1b018c(0x225)](a[_0x1b018c(0x1eb)])&&this[_0x1b018c(0x39c)][_0x1b018c(0x29c)](_0x1b018c(0x450),_0x1b018c(0x1ea));const _0x552d91=a['mergeOverrideWithDependencies']([[a[_0x1b018c(0x1eb)],{'useClass':exports[_0x1b018c(0x395)]}],[exports[_0x1b018c(0x2fe)]],[exports[_0x1b018c(0x21e)]],[exports[_0x1b018c(0x47e)]],[Oe],[Ne],[Be],[De],[te],[exports[_0x1b018c(0x3fe)]],[$e,{'useClass':this[_0x1b018c(0x35d)][_0x1b018c(0x4d0)]}],[g[_0x1b018c(0x1dd)],{'useClass':exports[_0x1b018c(0x1b9)]}],[a[_0x1b018c(0x467)],{'useClass':exports[_0x1b018c(0x211)]}],[J[_0x1b018c(0x1df)],{'useClass':exports[_0x1b018c(0x4d3)]}],[a['IMentionIOService'],{'useClass':exports[_0x1b018c(0x410)]}],[exports[_0x1b018c(0x22d)]],[He]],(_0x2ae1a=this[_0x1b018c(0x35d)])==null?void 0x0:_0x2ae1a['override']);if(!((_0x1853bf=this[_0x1b018c(0x35d)])!=null&&_0x1853bf[_0x1b018c(0x402)])){const _0x27f4d5=_0x552d91[_0x1b018c(0x22f)](([_0x725fbf])=>_0x725fbf===ve);_0x27f4d5!==-0x1&&_0x552d91[_0x1b018c(0x2ed)](_0x27f4d5,0x1);}a[_0x1b018c(0x249)](this[_0x1b018c(0x44a)],_0x552d91);}[_0x30a490(0x251)](){var _0x56ed32=_0x30a490,_0x5cae3f,_0x48b382,_0x254aec;this[_0x56ed32(0x44a)]['get'](q[_0x56ed32(0x270)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q[_0x56ed32(0x4cf)]({'maxParallel':0x6})}),(_0x5cae3f=this['_config'])!=null&&_0x5cae3f[_0x56ed32(0x3a2)]||(_0x48b382=this[_0x56ed32(0x44a)]['get'](z,a[_0x56ed32(0x239)]['OPTIONAL']))==null||_0x48b382[_0x56ed32(0x1bf)](),(_0x254aec=this[_0x56ed32(0x35d)])!=null&&_0x254aec[_0x56ed32(0x48d)]&&a[_0x56ed32(0x3e2)](this[_0x56ed32(0x44a)],[[Oe]]),a['touchDependencies'](this[_0x56ed32(0x44a)],[[Ne],[exports[_0x56ed32(0x22d)]],[De]]);}},Hn(exports['UniverCollaborationClientPlugin'],_0x30a490(0x27c),jn),exports['UniverCollaborationClientPlugin']=kn([a[_0x30a490(0x172)](g[_0x30a490(0x4c9)],q[_0x30a490(0x33e)]),ke(0x1,a[_0x30a490(0x2c8)]),ke(0x2,a[_0x30a490(0x3af)](a[_0x30a490(0x453)])),ke(0x3,a[_0x30a490(0x2cf)])],exports[_0x30a490(0x414)]),exports[_0x30a490(0x363)]=Ge,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports[_0x30a490(0x3aa)]=It,exports[_0x30a490(0x30b)]=St,exports[_0x30a490(0x18e)]=Ve,exports['CollaborationUIEventId']=Q,exports[_0x30a490(0x48b)]=te,exports[_0x30a490(0x478)]=Be,exports[_0x30a490(0x1ff)]=ft,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=zt,exports[_0x30a490(0x2cd)]=$t,exports['HEARTBEAT_INTERVAL_KEY']=pt,exports['HEARTBEAT_TIMEOUT_KEY']=je,exports[_0x30a490(0x1be)]=$e,exports['ILocalCacheService']=z,exports[_0x30a490(0x447)]=bt,exports[_0x30a490(0x384)]=ve,exports[_0x30a490(0x1ed)]=Gt,exports['LOCAL_CACHE_INTERVAL_KEY']=Wt,exports[_0x30a490(0x20c)]=Et,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=qt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=mt,exports[_0x30a490(0x4ce)]=Ht,exports[_0x30a490(0x45e)]=dt,exports['SNAPSHOT_URL_KEY']=vt,exports[_0x30a490(0x4a3)]=se,exports[_0x30a490(0x42c)]=Fe,exports[_0x30a490(0x43a)]=Rt,exports['getLocalCacheKey']=vi,exports[_0x30a490(0x3d8)]=yt;
|