@univerjs-pro/collaboration-client 0.10.0 → 0.10.1
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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.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/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.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/ko-KR.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 +10 -10
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0x2f6cf0=_0x30fe;(function(_0x654229,_0x104234){var _0x581197=_0x30fe,_0x5b70ed=_0x654229();while(!![]){try{var _0x303b30=parseInt(_0x581197(0x2ad))/0x1*(-parseInt(_0x581197(0x33d))/0x2)+parseInt(_0x581197(0x35f))/0x3+parseInt(_0x581197(0x53f))/0x4+-parseInt(_0x581197(0x3e0))/0x5+-parseInt(_0x581197(0x301))/0x6+parseInt(_0x581197(0x533))/0x7*(parseInt(_0x581197(0x534))/0x8)+parseInt(_0x581197(0x556))/0x9;if(_0x303b30===_0x104234)break;else _0x5b70ed['push'](_0x5b70ed['shift']());}catch(_0x23cf06){_0x5b70ed['push'](_0x5b70ed['shift']());}}}(_0x1f96,0x1dfe1));var bt=Object[_0x2f6cf0(0x231)],Ot=(_0x575087,_0x3e5083,_0x4a5721)=>_0x3e5083 in _0x575087?bt(_0x575087,_0x3e5083,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a5721}):_0x575087[_0x3e5083]=_0x4a5721,A=(_0x4746d2,_0x439f7d,_0x3f557d)=>Ot(_0x4746d2,typeof _0x439f7d!=_0x2f6cf0(0x4fe)?_0x439f7d+'':_0x439f7d,_0x3f557d);Object[_0x2f6cf0(0x231)](exports,Symbol['toStringTag'],{'value':'Module'});const a=require('@univerjs/core'),H=require('rxjs'),V=require('rxjs/operators'),p=require('@univerjs-pro/collaboration'),q=require('@univerjs/network'),Rt=require('@univerjs/telemetry'),ct=require('@univerjs/docs'),X=require('@univerjs/sheets'),z=require('@univerjs/drawing'),yt=require('@univerjs-pro/license'),Nt=_0x2f6cf0(0x223),Dt=_0x2f6cf0(0x202),Ut=0x7d0,ht=_0x2f6cf0(0x2c8),At='/universer-api/user/session-ticket',_t=_0x2f6cf0(0x42e),Pt=0x7530,ke=_0x2f6cf0(0x25a),lt=0x4e20,wt=0x4e20,ut='RETRY_CONNECTING_MAX_COUNT',Mt=0x3,Lt='LOCAL_CACHE_INTERVAL',xt=0x3e8,kt=_0x2f6cf0(0x497),$t=_0x2f6cf0(0x4b2),Ht=_0x2f6cf0(0x30d),jt=_0x2f6cf0(0x416);var dt=(_0x3606dd=>(_0x3606dd[_0x3606dd[_0x2f6cf0(0x3f3)]=0x0]=_0x2f6cf0(0x3f3),_0x3606dd[_0x3606dd['OK']=0x1]='OK',_0x3606dd[_0x3606dd[_0x2f6cf0(0x4f0)]=0x2]=_0x2f6cf0(0x4f0),_0x3606dd[_0x3606dd[_0x2f6cf0(0x367)]=0x3]=_0x2f6cf0(0x367),_0x3606dd[_0x3606dd[_0x2f6cf0(0x4f4)]=0x4]=_0x2f6cf0(0x4f4),_0x3606dd[_0x3606dd[_0x2f6cf0(0x333)]=0x5]='UNAUTHENTICATED',_0x3606dd[_0x3606dd['ALREADY_EXISTS']=0x6]=_0x2f6cf0(0x40d),_0x3606dd[_0x3606dd[_0x2f6cf0(0x3fc)]=0x7]=_0x2f6cf0(0x3fc),_0x3606dd[_0x3606dd[_0x2f6cf0(0x537)]=0x8]='TOO_MANY_REQUESTS',_0x3606dd[_0x3606dd[_0x2f6cf0(0x233)]=0x9]=_0x2f6cf0(0x233),_0x3606dd[_0x3606dd[_0x2f6cf0(0x399)]=0xa]=_0x2f6cf0(0x399),_0x3606dd[_0x3606dd['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x2f6cf0(0x402),_0x3606dd[_0x3606dd['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3606dd[_0x3606dd[_0x2f6cf0(0x260)]=0xd]=_0x2f6cf0(0x260),_0x3606dd[_0x3606dd[_0x2f6cf0(0x311)]=0xe]=_0x2f6cf0(0x311),_0x3606dd[_0x3606dd[_0x2f6cf0(0x3cc)]=0x1389]=_0x2f6cf0(0x3cc),_0x3606dd[_0x3606dd[_0x2f6cf0(0x352)]=0x1771]=_0x2f6cf0(0x352),_0x3606dd[_0x3606dd[_0x2f6cf0(0x4a6)]=0x1772]=_0x2f6cf0(0x4a6),_0x3606dd[_0x3606dd[_0x2f6cf0(0x26c)]=0x1773]=_0x2f6cf0(0x26c),_0x3606dd[_0x3606dd[_0x2f6cf0(0x2b6)]=0x1b59]=_0x2f6cf0(0x2b6),_0x3606dd[_0x3606dd[_0x2f6cf0(0x379)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3606dd[_0x3606dd[_0x2f6cf0(0x4a7)]=0x1b5b]=_0x2f6cf0(0x4a7),_0x3606dd[_0x3606dd[_0x2f6cf0(0x4d2)]=0x1b5c]=_0x2f6cf0(0x4d2),_0x3606dd[_0x3606dd[_0x2f6cf0(0x21d)]=0x1b5d]=_0x2f6cf0(0x21d),_0x3606dd[_0x3606dd[_0x2f6cf0(0x39e)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3606dd[_0x3606dd[_0x2f6cf0(0x32d)]=0x2329]=_0x2f6cf0(0x32d),_0x3606dd[_0x3606dd[_0x2f6cf0(0x354)]=0x232a]=_0x2f6cf0(0x354),_0x3606dd[_0x3606dd[_0x2f6cf0(0x47b)]=0x232b]=_0x2f6cf0(0x47b),_0x3606dd[_0x3606dd[_0x2f6cf0(0x447)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3606dd[_0x3606dd['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2f6cf0(0x515),_0x3606dd[_0x3606dd[_0x2f6cf0(0x2b1)]=0x2711]=_0x2f6cf0(0x2b1),_0x3606dd[_0x3606dd[_0x2f6cf0(0x487)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3606dd[_0x3606dd[_0x2f6cf0(0x3d3)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3606dd[_0x3606dd[_0x2f6cf0(0x3e9)]=0x2714]=_0x2f6cf0(0x3e9),_0x3606dd[_0x3606dd['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x2f6cf0(0x26f),_0x3606dd[_0x3606dd[_0x2f6cf0(0x275)]=0x271b]=_0x2f6cf0(0x275),_0x3606dd[_0x3606dd['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x3606dd[_0x3606dd['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x2f6cf0(0x4eb),_0x3606dd[_0x3606dd['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x2f6cf0(0x42d),_0x3606dd[_0x3606dd[_0x2f6cf0(0x2b4)]=0x271f]=_0x2f6cf0(0x2b4),_0x3606dd[_0x3606dd[_0x2f6cf0(0x3a0)]=0x2720]=_0x2f6cf0(0x3a0),_0x3606dd[_0x3606dd[_0x2f6cf0(0x528)]=0x2af9]=_0x2f6cf0(0x528),_0x3606dd[_0x3606dd[_0x2f6cf0(0x2d1)]=0x2ee1]=_0x2f6cf0(0x2d1),_0x3606dd[_0x3606dd[_0x2f6cf0(0x32c)]=0x2ee2]=_0x2f6cf0(0x32c),_0x3606dd[_0x3606dd[_0x2f6cf0(0x542)]=0x2ee3]=_0x2f6cf0(0x542),_0x3606dd[_0x3606dd[_0x2f6cf0(0x273)]=0x2ee4]=_0x2f6cf0(0x273),_0x3606dd[_0x3606dd['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2f6cf0(0x523),_0x3606dd[_0x3606dd[_0x2f6cf0(0x307)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3606dd[_0x3606dd[_0x2f6cf0(0x242)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3606dd[_0x3606dd['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2f6cf0(0x2f6),_0x3606dd[_0x3606dd[_0x2f6cf0(0x417)]=-0x1]=_0x2f6cf0(0x417),_0x3606dd))(dt||{}),J=(_0x2a1bae=>(_0x2a1bae[_0x2a1bae['UNIVER_UNKNOWN']=0x0]=_0x2f6cf0(0x4ac),_0x2a1bae[_0x2a1bae[_0x2f6cf0(0x4a1)]=0x1]=_0x2f6cf0(0x4a1),_0x2a1bae[_0x2a1bae['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x2a1bae[_0x2a1bae['UNIVER_SLIDE']=0x3]=_0x2f6cf0(0x335),_0x2a1bae[_0x2a1bae[_0x2f6cf0(0x220)]=0x4]=_0x2f6cf0(0x220),_0x2a1bae[_0x2a1bae[_0x2f6cf0(0x417)]=-0x1]='UNRECOGNIZED',_0x2a1bae))(J||{}),W=(_0x7d3c70=>(_0x7d3c70[_0x7d3c70[_0x2f6cf0(0x4e9)]=0x0]=_0x2f6cf0(0x4e9),_0x7d3c70[_0x7d3c70[_0x2f6cf0(0x2e2)]=0x1]=_0x2f6cf0(0x2e2),_0x7d3c70[_0x7d3c70[_0x2f6cf0(0x2cb)]=0x2]=_0x2f6cf0(0x2cb),_0x7d3c70[_0x7d3c70[_0x2f6cf0(0x382)]=0x3]=_0x2f6cf0(0x382),_0x7d3c70[_0x7d3c70['INGEST']=0x4]=_0x2f6cf0(0x4ec),_0x7d3c70[_0x7d3c70[_0x2f6cf0(0x336)]=0x5]=_0x2f6cf0(0x336),_0x7d3c70[_0x7d3c70[_0x2f6cf0(0x407)]=0x6]=_0x2f6cf0(0x407),_0x7d3c70[_0x7d3c70['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x7d3c70))(W||{}),se=(_0x1f0de0=>(_0x1f0de0[_0x1f0de0[_0x2f6cf0(0x410)]=0x0]='UNKNOWN_CODE',_0x1f0de0[_0x1f0de0['OK']=0x1]='OK',_0x1f0de0[_0x1f0de0['FAIL']=0x2]=_0x2f6cf0(0x360),_0x1f0de0[_0x1f0de0[_0x2f6cf0(0x4e4)]=0x3e9]='JOIN_ROOM_FULL',_0x1f0de0[_0x1f0de0[_0x2f6cf0(0x3f5)]=0x3ea]=_0x2f6cf0(0x3f5),_0x1f0de0[_0x1f0de0[_0x2f6cf0(0x44d)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x1f0de0[_0x1f0de0['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x2f6cf0(0x215),_0x1f0de0[_0x1f0de0[_0x2f6cf0(0x417)]=-0x1]='UNRECOGNIZED',_0x1f0de0))(se||{}),vt=(_0x56f9fe=>(_0x56f9fe[_0x56f9fe[_0x2f6cf0(0x526)]=0x0]='Undefined',_0x56f9fe[_0x56f9fe[_0x2f6cf0(0x37c)]=0x1]=_0x2f6cf0(0x37c),_0x56f9fe[_0x56f9fe[_0x2f6cf0(0x2fe)]=0x2]=_0x2f6cf0(0x2fe),_0x56f9fe[_0x56f9fe[_0x2f6cf0(0x43f)]=0x3]='UnitEmbedded',_0x56f9fe[_0x56f9fe['UnitSnapshot']=0x4]=_0x2f6cf0(0x398),_0x56f9fe[_0x56f9fe[_0x2f6cf0(0x51c)]=0x5]='UserProfileImg',_0x56f9fe[_0x56f9fe[_0x2f6cf0(0x417)]=-0x1]=_0x2f6cf0(0x417),_0x56f9fe))(vt||{});const Y=_0x2f6cf0(0x2a2),Bt={};var Z=(_0x16db32=>(_0x16db32[_0x2f6cf0(0x3b6)]='OTHER_CLIENT_EDITING',_0x16db32[_0x2f6cf0(0x367)]=_0x2f6cf0(0x367),_0x16db32[_0x2f6cf0(0x4de)]=_0x2f6cf0(0x4de),_0x16db32['CLOSE_ROOM']=_0x2f6cf0(0x308),_0x16db32[_0x2f6cf0(0x46d)]='JOIN_ROOM_FAILED',_0x16db32[_0x2f6cf0(0x481)]=_0x2f6cf0(0x481),_0x16db32['SOCKET_FAILED']='SOCKET_FAILED',_0x16db32[_0x2f6cf0(0x3ef)]='SUBMIT_CHANGESET_TIMEOUT',_0x16db32))(Z||{});class ee{constructor(){var _0x2949f0=_0x2f6cf0;A(this,'_event$',new H[(_0x2949f0(0x3dc))]()),A(this,'event$',this[_0x2949f0(0x518)][_0x2949f0(0x480)]());}['emitEvent'](_0x405d4f){var _0x514518=_0x2f6cf0;this[_0x514518(0x518)][_0x514518(0x4b8)](_0x405d4f);}}const St=a[_0x2f6cf0(0x276)]('univer-pro.collaboration-client.network-condition.service');function ft(_0x4f5ca7){var _0x390b6b=_0x2f6cf0,_0x2b6ee,_0x41939f,_0x2fa8d9,_0x59c8a4,_0x2de910;const _0x354dd8=_0x4f5ca7[_0x390b6b(0x49d)],_0x383168=JSON[_0x390b6b(0x3b9)](_0x354dd8);switch(_0x383168[_0x390b6b(0x2e7)]){case W[_0x390b6b(0x336)]:case W['HELLO']:{const _0x21d886=_0x383168[_0x390b6b(0x236)];return{..._0x383168,'data':_0x21d886,'cmd':_0x383168[_0x390b6b(0x2e7)]};}case W[_0x390b6b(0x2cb)]:{const _0x3c278a=_0x383168[_0x390b6b(0x519)];return{..._0x383168,'data':_0x3c278a,'cmd':_0x383168[_0x390b6b(0x2e7)]};}case W[_0x390b6b(0x407)]:{const _0x39cd5f=_0x383168[_0x390b6b(0x4bf)];switch(_0x39cd5f['eventID']){case p[_0x390b6b(0x252)][_0x390b6b(0x37a)]:return{..._0x383168,'data':{..._0x39cd5f,'data':(_0x2b6ee=_0x39cd5f[_0x390b6b(0x3c5)])==null?void 0x0:_0x2b6ee['cs']},'cmd':_0x383168['cmd']};case p[_0x390b6b(0x252)][_0x390b6b(0x4cb)]:return{..._0x383168,'data':{..._0x39cd5f,'data':(_0x41939f=_0x39cd5f[_0x390b6b(0x341)])==null?void 0x0:_0x41939f['cs']},'cmd':_0x383168[_0x390b6b(0x2e7)]};case p['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x383168,'data':{..._0x39cd5f,'data':(_0x2fa8d9=_0x39cd5f[_0x390b6b(0x466)])==null?void 0x0:_0x2fa8d9['cs']},'cmd':_0x383168['cmd']};case p[_0x390b6b(0x252)][_0x390b6b(0x33f)]:return{..._0x383168,'data':{..._0x39cd5f,'data':(_0x59c8a4=_0x39cd5f[_0x390b6b(0x323)])==null?void 0x0:_0x59c8a4['cs']},'cmd':_0x383168[_0x390b6b(0x2e7)]};case p[_0x390b6b(0x252)][_0x390b6b(0x4fa)]:return{..._0x383168,'data':{..._0x39cd5f,'data':(_0x2de910=_0x39cd5f[_0x390b6b(0x2fc)])==null?void 0x0:_0x2de910['cs']},'cmd':_0x383168['cmd']};case p[_0x390b6b(0x252)][_0x390b6b(0x3f2)]:return{..._0x383168,'data':{..._0x39cd5f,'data':_0x39cd5f['updateCursorEvent']},'cmd':_0x383168[_0x390b6b(0x2e7)]};case p[_0x390b6b(0x252)][_0x390b6b(0x251)]:return{..._0x383168,'data':{..._0x39cd5f,'data':_0x39cd5f[_0x390b6b(0x421)]},'cmd':_0x383168[_0x390b6b(0x2e7)]};case p[_0x390b6b(0x252)][_0x390b6b(0x38a)]:return{..._0x383168,'data':{..._0x39cd5f,'data':_0x39cd5f['leaveEvent']},'cmd':_0x383168[_0x390b6b(0x2e7)]};case p[_0x390b6b(0x252)][_0x390b6b(0x3d5)]:return{..._0x383168,'data':{..._0x39cd5f,'data':_0x39cd5f['liveShareNewHost']},'cmd':_0x383168[_0x390b6b(0x2e7)]};case p[_0x390b6b(0x252)][_0x390b6b(0x296)]:case p['CollaborationEvent'][_0x390b6b(0x320)]:return{..._0x383168,'data':{..._0x39cd5f,'data':_0x39cd5f[_0x390b6b(0x244)]},'cmd':_0x383168[_0x390b6b(0x2e7)]};case p[_0x390b6b(0x252)][_0x390b6b(0x39d)]:return{..._0x383168,'data':{..._0x39cd5f,'data':_0x39cd5f[_0x390b6b(0x46b)]},'cmd':_0x383168['cmd']};case p[_0x390b6b(0x252)]['MSG_FOR_ERROR']:return{..._0x383168,'data':_0x39cd5f,'cmd':_0x383168[_0x390b6b(0x2e7)]};case p['CollaborationEvent']['COMMENT_UPDATE']:return{..._0x383168,'data':{..._0x39cd5f,'data':_0x39cd5f[_0x390b6b(0x553)]},'cmd':_0x383168['cmd']};case p[_0x390b6b(0x252)][_0x390b6b(0x372)]:return{..._0x383168,'data':{..._0x39cd5f,'data':_0x39cd5f[_0x390b6b(0x361)]},'cmd':_0x383168[_0x390b6b(0x2e7)]};case p[_0x390b6b(0x252)]['SHOULD_CLOSE_CONN']:return{..._0x383168,'data':{..._0x39cd5f,'data':_0x39cd5f[_0x390b6b(0x443)]},'cmd':_0x383168[_0x390b6b(0x2e7)]};case p[_0x390b6b(0x252)]['UNISCRIPT_RUN']:return{..._0x383168,'data':{..._0x39cd5f,'data':_0x39cd5f['uniscriptRunEvent']},'cmd':_0x383168['cmd']};default:return _0x383168;}}default:return _0x383168;}}function It(_0x27a4b8){var _0x348ab6=_0x2f6cf0;switch(_0x27a4b8[_0x348ab6(0x2e7)]){case W[_0x348ab6(0x336)]:case W[_0x348ab6(0x2e2)]:return JSON[_0x348ab6(0x245)]({'cmd':_0x27a4b8[_0x348ab6(0x2e7)],'routeKey':_0x27a4b8[_0x348ab6(0x439)]});case W['INGEST']:{let _0xdc0612;switch(_0x27a4b8[_0x348ab6(0x49d)][_0x348ab6(0x3f1)]){case p[_0x348ab6(0x252)]['UPDATE_CURSOR']:{_0xdc0612={'eventID':p[_0x348ab6(0x252)]['UPDATE_CURSOR'],'updateCursorEvent':_0x27a4b8['data'][_0x348ab6(0x49d)]};break;}case p[_0x348ab6(0x252)]['USERS_LEAVE']:{_0xdc0612={'eventID':p[_0x348ab6(0x252)][_0x348ab6(0x38a)],'leaveEvent':_0x27a4b8[_0x348ab6(0x49d)][_0x348ab6(0x49d)]};break;}case p[_0x348ab6(0x252)][_0x348ab6(0x251)]:{_0xdc0612={'eventID':p[_0x348ab6(0x252)][_0x348ab6(0x251)],'joinEvent':_0x27a4b8['data'][_0x348ab6(0x49d)]};break;}case p[_0x348ab6(0x252)]['LIVESHARE_NEW_HOST']:{_0xdc0612={'eventID':p[_0x348ab6(0x252)][_0x348ab6(0x3d5)],'liveShareNewHost':_0x27a4b8['data'][_0x348ab6(0x49d)]};break;}case p[_0x348ab6(0x252)]['LIVESHARE_OPERATION']:{_0xdc0612={'eventID':p['CollaborationEvent'][_0x348ab6(0x320)],'liveShareOperation':_0x27a4b8[_0x348ab6(0x49d)]['data']};break;}case p[_0x348ab6(0x252)][_0x348ab6(0x39d)]:{_0xdc0612={'eventID':p[_0x348ab6(0x252)][_0x348ab6(0x39d)],'liveShareTerminate':_0x27a4b8[_0x348ab6(0x49d)][_0x348ab6(0x49d)]};break;}case p[_0x348ab6(0x252)][_0x348ab6(0x4bd)]:{_0xdc0612={'eventID':p[_0x348ab6(0x252)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x27a4b8[_0x348ab6(0x49d)][_0x348ab6(0x49d)]};break;}case p[_0x348ab6(0x252)][_0x348ab6(0x296)]:{_0xdc0612={'eventID':p['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0xdc0612={'eventID':_0x27a4b8[_0x348ab6(0x49d)][_0x348ab6(0x3f1)]};}return JSON[_0x348ab6(0x245)]({'cmd':_0x27a4b8['cmd'],'routeKey':_0x27a4b8[_0x348ab6(0x439)],'collaMsg':_0xdc0612});}case W[_0x348ab6(0x2cb)]:return JSON[_0x348ab6(0x245)]({'cmd':_0x27a4b8[_0x348ab6(0x2e7)],'routeKey':_0x27a4b8[_0x348ab6(0x439)],'joinReq':_0x27a4b8[_0x348ab6(0x49d)]});case W[_0x348ab6(0x382)]:return JSON['stringify']({'cmd':_0x27a4b8[_0x348ab6(0x2e7)],'routeKey':_0x27a4b8[_0x348ab6(0x439)],'leaveReq':_0x27a4b8[_0x348ab6(0x49d)]});default:throw new Error(_0x348ab6(0x40f));}}var Ft=Object[_0x2f6cf0(0x51f)],Vt=(_0x712469,_0x2aff98,_0x248fcf,_0xbfce44)=>{for(var _0x2754e9=_0xbfce44>0x1?void 0x0:_0xbfce44?Ft(_0x2aff98,_0x248fcf):_0x2aff98,_0x53f489=_0x712469['length']-0x1,_0x921379;_0x53f489>=0x0;_0x53f489--)(_0x921379=_0x712469[_0x53f489])&&(_0x2754e9=_0x921379(_0x2754e9)||_0x2754e9);return _0x2754e9;},_e=(_0x5c6b8d,_0x2fc15f)=>(_0x556517,_0x22f7b3)=>_0x2fc15f(_0x556517,_0x22f7b3,_0x5c6b8d);const $e=a[_0x2f6cf0(0x276)](_0x2f6cf0(0x30f));function Wt(_0x57f48f,_0xa3af98,_0x5cd82c){var _0xa0344c=_0x2f6cf0;return _0x57f48f+'/'+_0xa3af98+_0xa0344c(0x266)+_0x5cd82c+'/new_changes';}exports[_0x2f6cf0(0x545)]=class extends a['Disposable']{constructor(_0x36a3b7,_0x2450ec,_0x53aacb,_0x4bf87a,_0x2e907b){var _0x3dd4ca=_0x2f6cf0;super(),this[_0x3dd4ca(0x2d8)]=_0x36a3b7,this['_httpService']=_0x2450ec,this['_configService']=_0x53aacb,this[_0x3dd4ca(0x39f)]=_0x4bf87a,this[_0x3dd4ca(0x49b)]=_0x2e907b;}[_0x2f6cf0(0x366)](_0x1087e1){var _0x5f28f5=_0x2f6cf0;const _0x1467af=this[_0x5f28f5(0x2d8)][_0x5f28f5(0x1f6)](q['ISocketService']);if(!_0x1467af)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x38b079=_0x1467af['createSocket'](_0x1087e1);if(!_0x38b079)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x2a6631=new a['DisposableCollection'](),_0x59634d=new H['Subject']();_0x2a6631[_0x5f28f5(0x562)](_0x38b079['close$'][_0x5f28f5(0x2a7)](_0x324b16=>_0x59634d[_0x5f28f5(0x4b8)](_0x324b16))),_0x2a6631[_0x5f28f5(0x562)](a[_0x5f28f5(0x4bc)](()=>_0x59634d['complete']()));const _0x1fe6c2=new H[(_0x5f28f5(0x3dc))]();_0x2a6631[_0x5f28f5(0x562)](_0x38b079[_0x5f28f5(0x201)]['subscribe'](_0x4d32a0=>_0x1fe6c2[_0x5f28f5(0x4b8)](_0x4d32a0))),_0x2a6631['add'](a[_0x5f28f5(0x4bc)](()=>_0x1fe6c2[_0x5f28f5(0x339)]()));const _0x445347=new H['Subject']();_0x2a6631[_0x5f28f5(0x562)](_0x38b079[_0x5f28f5(0x548)][_0x5f28f5(0x2a7)](_0x59b919=>{var _0x15617b=_0x5f28f5;const _0x4fee1d=ft(_0x59b919);_0x445347[_0x15617b(0x4b8)](_0x4fee1d);})),_0x2a6631['add'](a[_0x5f28f5(0x4bc)](()=>_0x445347[_0x5f28f5(0x339)]()));let _0x1a3bc9;const _0x1870a7=()=>{var _0x385f87=_0x5f28f5;_0x1fe6c2[_0x385f87(0x4b8)](new Event('connection\x20error')),_0x59634d[_0x385f87(0x4b8)](new Event(_0x385f87(0x434))),_0x1a3bc9[_0x385f87(0x457)]();};return _0x1a3bc9={'memberID':'','close$':_0x59634d['asObservable'](),'error$':_0x1fe6c2['asObservable'](),'open$':_0x38b079['open$'],'message$':_0x445347[_0x5f28f5(0x480)](),'send':_0x5ca61f=>{var _0x149b82=_0x5f28f5;if(_0x5ca61f[_0x149b82(0x2e7)]===W[_0x149b82(0x4ec)]){if(_0x5ca61f['data'][_0x149b82(0x3f1)]===p[_0x149b82(0x252)][_0x149b82(0x3c1)]){this[_0x149b82(0x432)](_0x1a3bc9,_0x5ca61f[_0x149b82(0x49d)])['catch'](_0x4ebaa2=>{var _0x49b395=_0x149b82;this[_0x49b395(0x39f)][_0x49b395(0x2c2)](_0x4ebaa2),_0x1870a7();});return;}if(_0x5ca61f[_0x149b82(0x49d)][_0x149b82(0x3f1)]===p[_0x149b82(0x252)]['FETCH_MISSING']){const _0x18b8a1=_0x5ca61f[_0x149b82(0x49d)];this['_fetchMissChangesets'](_0x18b8a1)['then'](_0x306377=>{var _0x50f88b=_0x149b82;_0x445347[_0x50f88b(0x4b8)]({'cmd':W['RECV'],'code':se['OK'],'routeKey':_0x18b8a1[_0x50f88b(0x49d)][_0x50f88b(0x1f2)],'routeType':'','data':{'eventID':p[_0x50f88b(0x252)][_0x50f88b(0x312)],'data':{'changesets':_0x306377}}});})[_0x149b82(0x52e)](_0x517444=>{var _0x4ed753=_0x149b82;this[_0x4ed753(0x39f)]['error'](_0x517444),_0x1870a7();});return;}}_0x38b079[_0x149b82(0x3f7)](It(_0x5ca61f));},'close':()=>{var _0x58b21a=_0x5f28f5;_0x38b079[_0x58b21a(0x457)](),_0x2a6631['dispose']();}},_0x1a3bc9;}async[_0x2f6cf0(0x432)](_0x4ce922,_0x43208c){var _0x42ef5f=_0x2f6cf0,_0x59600e;const {unitType:_0x204db2,unitID:_0x56b8e0,changeset:_0x591019}=_0x43208c[_0x42ef5f(0x49d)],_0x57a8cd={'unitID':_0x56b8e0,'memberID':_0x4ce922[_0x42ef5f(0x283)],'type':_0x204db2,'changeset':p[_0x42ef5f(0x36b)](_0x591019)},_0x11474c=this[_0x42ef5f(0x543)][_0x42ef5f(0x52a)](Y),_0x40acf2=Wt((_0x59600e=_0x11474c==null?void 0x0:_0x11474c[_0x42ef5f(0x28e)])!=null?_0x59600e:kt,_0x204db2,_0x56b8e0);try{await this[_0x42ef5f(0x2bc)][_0x42ef5f(0x295)](_0x40acf2,{'body':_0x57a8cd});}catch(_0x119b94){throw this['_logService'][_0x42ef5f(0x2c2)](_0x42ef5f(0x2f8),_0x42ef5f(0x309)),_0x119b94;}}async['_fetchMissChangesets'](_0x28c56e){var _0x4127e7=_0x2f6cf0;const {unitID:_0x2598a7,from:_0x3d7eb3,to:_0x7e878f,unitType:_0xc86ad6}=_0x28c56e[_0x4127e7(0x49d)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x2598a7,'type':_0xc86ad6,'from':_0x3d7eb3,'to':_0x7e878f}))[_0x4127e7(0x429)];}},exports['CollaborationSocketService']=Vt([_e(0x0,a['Inject'](a[_0x2f6cf0(0x3b2)])),_e(0x1,a[_0x2f6cf0(0x4ba)](q[_0x2f6cf0(0x2d4)])),_e(0x2,a[_0x2f6cf0(0x45e)]),_e(0x3,a['ILogService']),_e(0x4,p[_0x2f6cf0(0x406)])],exports[_0x2f6cf0(0x545)]);const Gt='collaboration_new_changeset';function Yt(_0x41ef3f){return JSON['stringify'](_0x41ef3f)['length'];}class He{constructor(){var _0x32a2b0=_0x2f6cf0;A(this,_0x32a2b0(0x262),new H[(_0x32a2b0(0x3dc))]()),A(this,_0x32a2b0(0x22c),this['_commentUpdate$'][_0x32a2b0(0x480)]());}[_0x2f6cf0(0x356)](_0x46529b){this['_commentUpdate$']['next'](_0x46529b);}}var qt=Object[_0x2f6cf0(0x51f)],Kt=(_0x6ffd31,_0x1997ca,_0x554d28,_0x1f8072)=>{for(var _0x5d631b=_0x1f8072>0x1?void 0x0:_0x1f8072?qt(_0x1997ca,_0x554d28):_0x1997ca,_0x6f8bb2=_0x6ffd31['length']-0x1,_0x576106;_0x6f8bb2>=0x0;_0x6f8bb2--)(_0x576106=_0x6ffd31[_0x6f8bb2])&&(_0x5d631b=_0x576106(_0x5d631b)||_0x5d631b);return _0x5d631b;},Ve=(_0x17eb3a,_0x4714c3)=>(_0x2519f9,_0x17e645)=>_0x4714c3(_0x2519f9,_0x17e645,_0x17eb3a);exports[_0x2f6cf0(0x2d2)]=class extends a['Disposable']{constructor(_0x361fae,_0x59cd28){var _0x44340f=_0x2f6cf0;super(),A(this,_0x44340f(0x362),new Map()),A(this,_0x44340f(0x255),new H[(_0x44340f(0x3dc))]()),(this[_0x44340f(0x3a8)]=_0x361fae,this[_0x44340f(0x37f)]=_0x59cd28,this[_0x44340f(0x20b)](H[_0x44340f(0x293)](this['_univerInstanceService'][_0x44340f(0x46f)](a[_0x44340f(0x454)][_0x44340f(0x3b3)])[_0x44340f(0x298)](V[_0x44340f(0x237)](_0x344fc2=>_0x344fc2[_0x44340f(0x3de)]())),this[_0x44340f(0x3a8)][_0x44340f(0x46f)](a[_0x44340f(0x454)][_0x44340f(0x4a1)])[_0x44340f(0x298)](V[_0x44340f(0x237)](_0x543c3f=>_0x543c3f[_0x44340f(0x3de)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x44340f(0x335)])[_0x44340f(0x298)](V[_0x44340f(0x237)](_0xdc70fa=>_0xdc70fa[_0x44340f(0x3de)]())))[_0x44340f(0x2a7)](_0x52bc64=>this[_0x44340f(0x4e6)](_0x52bc64))));}[_0x2f6cf0(0x29f)](_0x22c2fc){var _0x1099aa=_0x2f6cf0;return this['_roomMembers'][_0x1099aa(0x52c)](_0x22c2fc)?H['of'](this[_0x1099aa(0x362)]['get'](_0x22c2fc)):this[_0x1099aa(0x255)]['pipe'](V['map'](_0x116bc5=>{var _0x3bae17=_0x1099aa;if(_0x116bc5===_0x22c2fc)return this[_0x3bae17(0x362)][_0x3bae17(0x1f6)](_0x116bc5);}));}['setCurrentUser'](_0x5039d5){var _0x468543=_0x2f6cf0;this['_userManagerService'][_0x468543(0x2f7)](_0x5039d5);}[_0x2f6cf0(0x217)](){var _0x363084=_0x2f6cf0;return this[_0x363084(0x37f)][_0x363084(0x217)]();}['updateMember'](_0x5a18c0,_0x175af9){var _0x13d07b=_0x2f6cf0;let _0x3c1c86=this[_0x13d07b(0x362)][_0x13d07b(0x1f6)](_0x5a18c0);_0x3c1c86||(_0x3c1c86=new zt(),this[_0x13d07b(0x362)][_0x13d07b(0x48a)](_0x5a18c0,_0x3c1c86),this[_0x13d07b(0x255)][_0x13d07b(0x4b8)](_0x5a18c0)),_0x3c1c86[_0x13d07b(0x3e7)](_0x175af9);}[_0x2f6cf0(0x35b)](_0x1a37d8,_0x5d3f54){var _0x17ceaa=_0x2f6cf0;const _0x1c3671=this[_0x17ceaa(0x362)][_0x17ceaa(0x1f6)](_0x1a37d8);_0x1c3671&&_0x1c3671[_0x17ceaa(0x35b)](_0x5d3f54);}['getRoom'](_0x19bcff){var _0x3a12cb=_0x2f6cf0;return this[_0x3a12cb(0x362)][_0x3a12cb(0x1f6)](_0x19bcff);}[_0x2f6cf0(0x39a)](_0x1b45ec,_0x26fc14){var _0x2ea75d=_0x2f6cf0;const _0x2bf456=this[_0x2ea75d(0x362)][_0x2ea75d(0x1f6)](_0x1b45ec);if(_0x2bf456)return _0x2bf456[_0x2ea75d(0x39a)](_0x26fc14);}[_0x2f6cf0(0x4e6)](_0x53d2ad){var _0x562dc2=_0x2f6cf0;const _0x238ef5=this[_0x562dc2(0x362)]['get'](_0x53d2ad);_0x238ef5&&(_0x238ef5['dispose'](),this[_0x562dc2(0x362)][_0x562dc2(0x53a)](_0x53d2ad));}[_0x2f6cf0(0x4c4)](){var _0x33caeb=_0x2f6cf0;this[_0x33caeb(0x362)]['forEach'](_0x4d629f=>_0x4d629f[_0x33caeb(0x4c4)]()),this[_0x33caeb(0x362)][_0x33caeb(0x468)](),this[_0x33caeb(0x255)]['complete']();}},exports[_0x2f6cf0(0x2d2)]=Kt([Ve(0x0,a[_0x2f6cf0(0x4cf)]),Ve(0x1,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x1f1)]))],exports['MemberService']);class zt extends a[_0x2f6cf0(0x2a3)]{constructor(){var _0x5ce7fc=_0x2f6cf0;super(...arguments),A(this,_0x5ce7fc(0x415),new Map()),A(this,'_members$',new H[(_0x5ce7fc(0x1fd))](this[_0x5ce7fc(0x415)])),A(this,_0x5ce7fc(0x281),this[_0x5ce7fc(0x4d8)][_0x5ce7fc(0x480)]());}[_0x2f6cf0(0x4c4)](){var _0x7a283c=_0x2f6cf0;this[_0x7a283c(0x415)][_0x7a283c(0x468)]();}[_0x2f6cf0(0x3e7)](_0x4ffc61){var _0x703752=_0x2f6cf0;this['_members'][_0x703752(0x48a)](_0x4ffc61[_0x703752(0x283)],_0x4ffc61),this['_emitMembers']();}[_0x2f6cf0(0x35b)](_0x18b3d3){var _0xfaf426=_0x2f6cf0;this[_0xfaf426(0x415)][_0xfaf426(0x53a)](_0x18b3d3);}[_0x2f6cf0(0x39a)](_0x2d8fdc){var _0x4681ba=_0x2f6cf0;return this[_0x4681ba(0x415)][_0x4681ba(0x1f6)](_0x2d8fdc);}[_0x2f6cf0(0x25c)](){var _0x16608f=_0x2f6cf0;return Array[_0x16608f(0x550)](this['_members'][_0x16608f(0x414)]());}[_0x2f6cf0(0x42f)](){var _0x4d3848=_0x2f6cf0;this[_0x4d3848(0x4d8)][_0x4d3848(0x4b8)](this[_0x4d3848(0x415)]);}}var Jt=Object[_0x2f6cf0(0x51f)],Xt=(_0x2ac0d4,_0x5280fb,_0x35c76f,_0x3b4bef)=>{var _0x447762=_0x2f6cf0;for(var _0x25245a=_0x3b4bef>0x1?void 0x0:_0x3b4bef?Jt(_0x5280fb,_0x35c76f):_0x5280fb,_0x3ceaf2=_0x2ac0d4[_0x447762(0x4ca)]-0x1,_0x5a0807;_0x3ceaf2>=0x0;_0x3ceaf2--)(_0x5a0807=_0x2ac0d4[_0x3ceaf2])&&(_0x25245a=_0x5a0807(_0x25245a)||_0x25245a);return _0x25245a;},ce=(_0x768f8c,_0x521f62)=>(_0x5707b1,_0x25a4d0)=>_0x521f62(_0x5707b1,_0x25a4d0,_0x768f8c),re=(_0x42a3f8=>(_0x42a3f8[_0x42a3f8[_0x2f6cf0(0x4c8)]=0x0]=_0x2f6cf0(0x4c8),_0x42a3f8[_0x42a3f8['JOINING']=0x1]=_0x2f6cf0(0x208),_0x42a3f8[_0x42a3f8['OFFLINE']=0x2]='OFFLINE',_0x42a3f8[_0x42a3f8['ONLINE']=0x3]=_0x2f6cf0(0x47d),_0x42a3f8))(re||{});const We={[se[_0x2f6cf0(0x360)]]:'session.join-failed',[se[_0x2f6cf0(0x4e4)]]:_0x2f6cf0(0x37e),[se['JOIN_ROOM_NOT_EXISTS']]:_0x2f6cf0(0x224),[se[_0x2f6cf0(0x44d)]]:'session.room-permission-denied',[se[_0x2f6cf0(0x215)]]:_0x2f6cf0(0x319)};exports[_0x2f6cf0(0x35c)]=class extends a[_0x2f6cf0(0x44c)]{constructor(_0xa9f763,_0x26bb0e,_0x2a4086,_0x118995,_0x4f943d,_0x5a84a4,_0x3e7cb1,_0x4e397d){var _0x3c7b23=_0x2f6cf0;super(),A(this,_0x3c7b23(0x2be),new H['BehaviorSubject'](0x0)),A(this,'sessionStatus$',this[_0x3c7b23(0x2be)][_0x3c7b23(0x480)]()),A(this,_0x3c7b23(0x518),new H['Subject']()),A(this,_0x3c7b23(0x329),this[_0x3c7b23(0x518)][_0x3c7b23(0x480)]()),A(this,_0x3c7b23(0x268)),A(this,_0x3c7b23(0x1f5)),A(this,_0x3c7b23(0x521)),A(this,'_shouldReportTelemetry',!0x1),A(this,_0x3c7b23(0x50f),null),(this[_0x3c7b23(0x40a)]=_0xa9f763,this[_0x3c7b23(0x39f)]=_0x2a4086,this[_0x3c7b23(0x543)]=_0x118995,this[_0x3c7b23(0x4e2)]=_0x4f943d,this[_0x3c7b23(0x420)]=_0x5a84a4,this[_0x3c7b23(0x22f)]=_0x3e7cb1,this['_telemetryService']=_0x4e397d,this[_0x3c7b23(0x3fb)]=!!this['_telemetryService'],_0x26bb0e[_0x3c7b23(0x298)](H['takeUntil'](this[_0x3c7b23(0x3d9)]))[_0x3c7b23(0x2a7)](_0x205e51=>{var _0xd5841e=_0x3c7b23,_0x4f3c62;typeof _0x205e51>'u'||(this[_0xd5841e(0x268)]=_0x205e51,_0x205e51?(this[_0xd5841e(0x3fe)](_0x205e51),this[_0xd5841e(0x1f5)]=_0x205e51['message$'][_0xd5841e(0x2a7)](_0x1c747c=>{var _0x185be5=_0xd5841e;_0x1c747c[_0x185be5(0x439)]===this[_0x185be5(0x40a)]&&this[_0x185be5(0x503)](_0x1c747c);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0xd5841e(0x2be)][_0xd5841e(0x4b8)](0x2),(_0x4f3c62=this[_0xd5841e(0x1f5)])==null||_0x4f3c62[_0xd5841e(0x1f7)](),this[_0xd5841e(0x1f5)]=null));}));}get[_0x2f6cf0(0x25f)](){var _0x93bc64=_0x2f6cf0;return this[_0x93bc64(0x2be)][_0x93bc64(0x2b2)]();}[_0x2f6cf0(0x54c)](){var _0x19726b,_0x58e3cb;return(_0x58e3cb=(_0x19726b=this['_socket'])==null?void 0x0:_0x19726b['memberID'])!=null?_0x58e3cb:null;}[_0x2f6cf0(0x4c4)](){var _0x47f6ab=_0x2f6cf0;super[_0x47f6ab(0x4c4)](),this[_0x47f6ab(0x3d9)][_0x47f6ab(0x4b8)](),this[_0x47f6ab(0x3d9)][_0x47f6ab(0x339)]();}[_0x2f6cf0(0x457)](){var _0x12c9a9=_0x2f6cf0,_0x577757,_0x58a293;this[_0x12c9a9(0x316)](),(_0x577757=this[_0x12c9a9(0x268)])==null||_0x577757[_0x12c9a9(0x3f7)]({'cmd':W[_0x12c9a9(0x382)],'data':{'roomID':this['_unitID']}}),(_0x58a293=this['_socket'])==null||_0x58a293[_0x12c9a9(0x457)](),this[_0x12c9a9(0x518)]['complete'](),this['_sessionStatus$'][_0x12c9a9(0x339)](),this[_0x12c9a9(0x4c4)]();}[_0x2f6cf0(0x503)](_0x1d55cf){var _0x3574d5=_0x2f6cf0;_0x1d55cf[_0x3574d5(0x2e7)]===W['JOIN']?this[_0x3574d5(0x2d6)](_0x1d55cf):_0x1d55cf[_0x3574d5(0x2e7)]===W[_0x3574d5(0x407)]&&this[_0x3574d5(0x44b)](_0x1d55cf);}[_0x2f6cf0(0x3fe)](_0x5a2a9d){var _0x5b8645=_0x2f6cf0;this[_0x5b8645(0x2be)][_0x5b8645(0x4b8)](0x1),_0x5a2a9d[_0x5b8645(0x3f7)]({'cmd':W[_0x5b8645(0x2cb)],'routeKey':this[_0x5b8645(0x40a)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x2f6cf0(0x2d6)](_0x425c05){var _0x443686=_0x2f6cf0,_0x3d5a24;if(_0x425c05['code']in We){this[_0x443686(0x22f)][_0x443686(0x33e)]({'id':Z[_0x443686(0x46d)],'data':We[_0x425c05[_0x443686(0x44e)]]}),this[_0x443686(0x2be)][_0x443686(0x4b8)](0x2);return;}this[_0x443686(0x2be)][_0x443686(0x4b8)](0x3);const _0x118791=(_0x3d5a24=_0x425c05[_0x443686(0x49d)][_0x443686(0x232)][this[_0x443686(0x40a)]])==null?void 0x0:_0x3d5a24[_0x443686(0x274)];_0x118791&&_0x118791['forEach'](_0x3f7596=>this['_memberService']['updateMember'](this['_unitID'],_0x3f7596));}[_0x2f6cf0(0x44b)](_0xc66cfa){var _0x20b7d7=_0x2f6cf0;try{const _0x37808e=_0xc66cfa['data'];switch(_0x37808e[_0x20b7d7(0x3f1)]){case p[_0x20b7d7(0x252)][_0x20b7d7(0x251)]:this['_onUserJoin'](_0x37808e),this['_event$']['next'](_0x37808e);break;case p[_0x20b7d7(0x252)][_0x20b7d7(0x38a)]:this['_onUserLeave'](_0x37808e),this[_0x20b7d7(0x518)]['next'](_0x37808e);break;case p[_0x20b7d7(0x252)][_0x20b7d7(0x4cb)]:case p[_0x20b7d7(0x252)]['CHANGESET_SHOULD_RETRY']:this[_0x20b7d7(0x209)](),this[_0x20b7d7(0x54d)](),this[_0x20b7d7(0x518)][_0x20b7d7(0x4b8)](_0x37808e);break;case p[_0x20b7d7(0x252)][_0x20b7d7(0x2ab)]:this['_logService'][_0x20b7d7(0x2c2)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x20b7d7(0x245)](_0x37808e)),this[_0x20b7d7(0x518)]['next'](_0x37808e);break;case p[_0x20b7d7(0x252)]['COMMENT_UPDATE']:this[_0x20b7d7(0x420)][_0x20b7d7(0x356)](_0x37808e[_0x20b7d7(0x49d)]),this['_event$']['next'](_0x37808e);break;default:this[_0x20b7d7(0x518)][_0x20b7d7(0x4b8)](_0x37808e);}}catch(_0x161212){this[_0x20b7d7(0x39f)]['error'](_0x161212,_0xc66cfa);}}[_0x2f6cf0(0x46a)](_0x1baa78){var _0x6823df=_0x2f6cf0;this[_0x6823df(0x4e2)][_0x6823df(0x3e7)](this[_0x6823df(0x40a)],_0x1baa78[_0x6823df(0x49d)]);}['_onUserLeave'](_0x349dc7){var _0xd5bda=_0x2f6cf0;this[_0xd5bda(0x4e2)][_0xd5bda(0x35b)](this[_0xd5bda(0x40a)],_0x349dc7[_0xd5bda(0x49d)]['memberID']);}async[_0x2f6cf0(0x3f7)](_0x337a3a,_0x2fa3d){var _0x3e2635=_0x2f6cf0;if(this[_0x3e2635(0x25f)]!==0x3||!this[_0x3e2635(0x268)])throw new Error(_0x3e2635(0x508));try{_0x337a3a[_0x3e2635(0x3f1)]===p[_0x3e2635(0x252)][_0x3e2635(0x3c1)]&&(this[_0x3e2635(0x287)](),this[_0x3e2635(0x357)](_0x337a3a)),this[_0x3e2635(0x268)][_0x3e2635(0x3f7)]({'cmd':W['INGEST'],'routeKey':_0x2fa3d,'routeType':'','data':_0x337a3a});}catch(_0x2305d5){this[_0x3e2635(0x39f)][_0x3e2635(0x2c2)](_0x2305d5);}}[_0x2f6cf0(0x287)](){var _0x1b2e2c=_0x2f6cf0,_0x438244;this[_0x1b2e2c(0x521)]=setTimeout(()=>{var _0x3ce580=_0x1b2e2c;this[_0x3ce580(0x521)]=null,this['_collaborationUIEventService'][_0x3ce580(0x33e)]({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x438244=this[_0x1b2e2c(0x543)]['getConfig'](ke))!=null?_0x438244:lt);}[_0x2f6cf0(0x54d)](){var _0x224814=_0x2f6cf0;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x224814(0x521)]),this[_0x224814(0x521)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x4dee77){var _0x43f76c=_0x2f6cf0;if(!this[_0x43f76c(0x3fb)])return;const {data:_0x52e6ba}=_0x4dee77,{unitID:_0x51bad1,changeset:_0x1fa752}=_0x52e6ba,{mutations:_0x4c48c6,type:_0x3b9c87}=_0x1fa752;this[_0x43f76c(0x50f)]={'unitId':_0x51bad1,'type':_0x3b9c87,'startTime':performance[_0x43f76c(0x4dc)](),'stopTime':0x0,'duration':0x0,'size':Yt(_0x4c48c6)};}[_0x2f6cf0(0x209)](){var _0xe6973f=_0x2f6cf0;if(this['_shouldReportTelemetry']){if(!this[_0xe6973f(0x50f)]){this['_logService'][_0xe6973f(0x2c2)](_0xe6973f(0x2f8),_0xe6973f(0x33c));return;}this[_0xe6973f(0x50f)][_0xe6973f(0x325)]=performance['now'](),this[_0xe6973f(0x50f)][_0xe6973f(0x4ce)]=this[_0xe6973f(0x50f)][_0xe6973f(0x325)]-this['_telemetryInfo'][_0xe6973f(0x4bb)],this[_0xe6973f(0x3c8)][_0xe6973f(0x4fd)](Gt,this[_0xe6973f(0x50f)]),this[_0xe6973f(0x50f)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x3751e8=_0x2f6cf0;this[_0x3751e8(0x50f)]=null;}},exports[_0x2f6cf0(0x35c)]=Xt([ce(0x2,a['ILogService']),ce(0x3,a[_0x2f6cf0(0x45e)]),ce(0x4,a[_0x2f6cf0(0x4ba)](exports[_0x2f6cf0(0x2d2)])),ce(0x5,a[_0x2f6cf0(0x4ba)](He)),ce(0x6,a[_0x2f6cf0(0x4ba)](ee)),ce(0x7,a[_0x2f6cf0(0x388)](Rt['ITelemetryService']))],exports['CollaborationSession']);var Zt=Object[_0x2f6cf0(0x51f)],Qt=(_0x1d1b8d,_0x47ca05,_0x1192ba,_0x3e7ae2)=>{var _0x558d37=_0x2f6cf0;for(var _0x23a044=_0x3e7ae2>0x1?void 0x0:_0x3e7ae2?Zt(_0x47ca05,_0x1192ba):_0x47ca05,_0x1f577b=_0x1d1b8d[_0x558d37(0x4ca)]-0x1,_0x569615;_0x1f577b>=0x0;_0x1f577b--)(_0x569615=_0x1d1b8d[_0x1f577b])&&(_0x23a044=_0x569615(_0x23a044)||_0x23a044);return _0x23a044;},he=(_0x4146a,_0x639ea0)=>(_0x35caef,_0x2f59c3)=>_0x639ea0(_0x35caef,_0x2f59c3,_0x4146a);exports[_0x2f6cf0(0x365)]=class extends a['Disposable']{constructor(_0x58a7c8,_0x553ae2,_0x222ba,_0x48ce5f,_0x3cbf14,_0x1dffea){var _0x1a35b0=_0x2f6cf0;super(),A(this,_0x1a35b0(0x546),new H[(_0x1a35b0(0x1fd))](void 0x0)),A(this,_0x1a35b0(0x4b6),this[_0x1a35b0(0x546)][_0x1a35b0(0x480)]()),A(this,_0x1a35b0(0x549),null),A(this,_0x1a35b0(0x2b5),new Map()),A(this,_0x1a35b0(0x310),new H[(_0x1a35b0(0x1fd))](re[_0x1a35b0(0x4c8)])),A(this,_0x1a35b0(0x321),this[_0x1a35b0(0x310)]['asObservable']()),A(this,_0x1a35b0(0x24d),!0x1),A(this,_0x1a35b0(0x3b8)),A(this,_0x1a35b0(0x34f),0x0),A(this,_0x1a35b0(0x1fc)),A(this,_0x1a35b0(0x3cf)),(this[_0x1a35b0(0x2d8)]=_0x58a7c8,this[_0x1a35b0(0x39f)]=_0x553ae2,this['_configService']=_0x222ba,this[_0x1a35b0(0x315)]=_0x48ce5f,this[_0x1a35b0(0x22f)]=_0x3cbf14,this[_0x1a35b0(0x41b)]=_0x1dffea,this[_0x1a35b0(0x50c)]());}get['_socket'](){var _0x5c0a76=_0x2f6cf0;return this[_0x5c0a76(0x546)][_0x5c0a76(0x2b2)]();}['_listenToNetworkCondition'](){var _0x420df6=_0x2f6cf0;this[_0x420df6(0x41b)]&&this[_0x420df6(0x20b)](this[_0x420df6(0x41b)]['online$']['subscribe'](_0x217d49=>{var _0x22c547=_0x420df6;_0x217d49&&!this[_0x22c547(0x268)]&&this[_0x22c547(0x206)](),_0x217d49||this[_0x22c547(0x2e6)]();}));}[_0x2f6cf0(0x4c4)](){var _0x3cd4f1=_0x2f6cf0;super[_0x3cd4f1(0x4c4)](),this[_0x3cd4f1(0x474)](),this['_clearTimeoutTimer'](),this[_0x3cd4f1(0x422)](),this[_0x3cd4f1(0x2b5)][_0x3cd4f1(0x397)](_0x57c68a=>_0x57c68a['dispose']()),this['_sessions'][_0x3cd4f1(0x468)](),this['_status$'][_0x3cd4f1(0x339)]();}async[_0x2f6cf0(0x241)](_0x1d4898){var _0x4544b1=_0x2f6cf0;if(this[_0x4544b1(0x2b5)][_0x4544b1(0x52c)](_0x1d4898))return this[_0x4544b1(0x2b5)]['get'](_0x1d4898);this[_0x4544b1(0x43c)]();const _0x566223=this[_0x4544b1(0x2d8)][_0x4544b1(0x486)](exports['CollaborationSession'],_0x1d4898,this['_socket$']['asObservable']());return this[_0x4544b1(0x2b5)][_0x4544b1(0x48a)](_0x1d4898,_0x566223),_0x566223;}[_0x2f6cf0(0x284)](_0x3c68b6){var _0x883c2b=_0x2f6cf0,_0x6351a1;const _0x2bcbb1=this[_0x883c2b(0x2b5)][_0x883c2b(0x1f6)](_0x3c68b6);_0x2bcbb1&&(this[_0x883c2b(0x2b5)][_0x883c2b(0x53a)](_0x3c68b6),_0x2bcbb1['close']()),this[_0x883c2b(0x2b5)][_0x883c2b(0x290)]||(_0x6351a1=this['_socket'])==null||_0x6351a1[_0x883c2b(0x457)]();}[_0x2f6cf0(0x206)](){var _0x472f0a=_0x2f6cf0;this[_0x472f0a(0x34f)]=0x0,this[_0x472f0a(0x474)](),this[_0x472f0a(0x34e)]();}[_0x2f6cf0(0x474)](){var _0x3fb046=_0x2f6cf0;this[_0x3fb046(0x3b8)]!=null&&(clearTimeout(this[_0x3fb046(0x3b8)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x5597ea=_0x2f6cf0,_0x19155d;const _0x1467e6=this['_configService'][_0x5597ea(0x52a)](Y),_0x42a742=(_0x19155d=_0x1467e6==null?void 0x0:_0x1467e6[_0x5597ea(0x23e)])!=null?_0x19155d:ht,_0x116e7d=await this['_socketService'][_0x5597ea(0x433)](_0x42a742);return this[_0x5597ea(0x549)]=_0x116e7d,_0x116e7d;}async[_0x2f6cf0(0x43c)](){var _0x4d2e9d=_0x2f6cf0,_0x37dd2e,_0x33751e;try{const _0x3b6d94=(_0x33751e=(_0x37dd2e=this[_0x4d2e9d(0x268)])!=null?_0x37dd2e:this[_0x4d2e9d(0x549)])!=null?_0x33751e:await this[_0x4d2e9d(0x482)]();if(_0x3b6d94){const _0x38ca73=_0x3b6d94[_0x4d2e9d(0x3f7)];_0x3b6d94['send']=_0x12359a=>(this[_0x4d2e9d(0x544)](),_0x38ca73[_0x4d2e9d(0x2a8)](_0x3b6d94,[_0x12359a])),_0x3b6d94[_0x4d2e9d(0x548)][_0x4d2e9d(0x2a7)](_0x15d0d1=>this[_0x4d2e9d(0x525)](_0x3b6d94,_0x15d0d1)),_0x3b6d94['error$']['pipe'](V['take'](0x1))[_0x4d2e9d(0x2a7)](_0x1d1d46=>this['_logService'][_0x4d2e9d(0x2c2)](_0x4d2e9d(0x1fb),_0x1d1d46)),_0x3b6d94['open$'][_0x4d2e9d(0x298)](V[_0x4d2e9d(0x2d5)](0x1))[_0x4d2e9d(0x2a7)](()=>{this['_onConnectionOpen'](_0x3b6d94);}),_0x3b6d94[_0x4d2e9d(0x326)][_0x4d2e9d(0x298)](V[_0x4d2e9d(0x2d5)](0x1))[_0x4d2e9d(0x2a7)](_0x23d302=>{var _0x57985d=_0x4d2e9d;this[_0x57985d(0x39f)][_0x57985d(0x359)](_0x57985d(0x313),_0x57985d(0x44a),_0x23d302),this['_onConnectionFailed']();});}}catch(_0x350c83){this[_0x4d2e9d(0x39f)][_0x4d2e9d(0x2c2)](_0x350c83),this[_0x4d2e9d(0x560)]();}}['_onConnectionOpen'](_0x5e6f57){var _0x517bb1=_0x2f6cf0;this[_0x517bb1(0x39f)][_0x517bb1(0x359)](_0x517bb1(0x313),_0x517bb1(0x55f)),_0x5e6f57['send']({'cmd':W['HELLO']}),this[_0x517bb1(0x544)]();}['_onOffline'](){var _0x445302=_0x2f6cf0;this[_0x445302(0x24d)]=!0x1,this[_0x445302(0x549)]=null,this['_status$'][_0x445302(0x4b8)](re[_0x445302(0x3ee)]),this[_0x445302(0x546)][_0x445302(0x4b8)](null),this[_0x445302(0x2f1)](),this[_0x445302(0x422)]();}['_onConnectionFailed'](){var _0x1c2b77=_0x2f6cf0,_0x5df299;this['_onOffline'](),this[_0x1c2b77(0x34f)]<((_0x5df299=this['_configService'][_0x1c2b77(0x52a)](ut))!=null?_0x5df299:Mt)?(this['_collaborationUIEventService']['emitEvent']({'id':Z[_0x1c2b77(0x481)]}),this[_0x1c2b77(0x34e)]()):this['_collaborationUIEventService']['emitEvent']({'id':Z[_0x1c2b77(0x30e)]});}['_tryReconnect'](){var _0x4c1a7d=_0x2f6cf0,_0x4656c4;const _0x31a609=this[_0x4c1a7d(0x34f)],_0x529922=this[_0x4c1a7d(0x543)][_0x4c1a7d(0x52a)](Y),_0x2ef766=_0x31a609===0x0?0x0:((_0x4656c4=_0x529922==null?void 0x0:_0x529922[_0x4c1a7d(0x2fd)])!=null?_0x4656c4:wt)*0x2**_0x31a609;this['_retryConnectingTimer']=setTimeout(()=>{var _0x1318a3=_0x4c1a7d;clearTimeout(this[_0x1318a3(0x3b8)]),this['_retryConnectingTimer']=null,this[_0x1318a3(0x43c)]();},_0x2ef766),this[_0x4c1a7d(0x34f)]+=0x1;}['_onMessage'](_0x4f6130,_0x5d0d1d){var _0x4a6d44=_0x2f6cf0;const {cmd:_0x2335e1}=_0x5d0d1d;_0x2335e1===W['HELLO']&&!this[_0x4a6d44(0x24d)]&&(_0x4f6130['memberID']=_0x5d0d1d['data']['memberID'],this[_0x4a6d44(0x546)]['next'](_0x4f6130),this['_status$'][_0x4a6d44(0x4b8)](re[_0x4a6d44(0x47d)]),this[_0x4a6d44(0x24d)]=!0x0,this[_0x4a6d44(0x549)]=null),_0x2335e1===W[_0x4a6d44(0x336)]&&this[_0x4a6d44(0x2f1)](),this['_rescheduleHeartbeat']();}[_0x2f6cf0(0x544)](){var _0x48d16e=_0x2f6cf0,_0x49d295;this['_clearHeartbeatTimer'](),this[_0x48d16e(0x1fc)]=setTimeout(()=>this[_0x48d16e(0x4f2)](),(_0x49d295=this[_0x48d16e(0x543)][_0x48d16e(0x52a)](_t))!=null?_0x49d295:Pt);}['_sendHeartbeat'](){var _0xfd5c87=_0x2f6cf0;this[_0xfd5c87(0x268)][_0xfd5c87(0x3f7)]({'cmd':W[_0xfd5c87(0x336)]}),this['_waitForHeartbeatResponse']();}[_0x2f6cf0(0x496)](){var _0xc49af=_0x2f6cf0,_0x5b1d1b;this['_timeoutTimer']=setTimeout(()=>this[_0xc49af(0x560)](),(_0x5b1d1b=this[_0xc49af(0x543)][_0xc49af(0x52a)](ke))!=null?_0x5b1d1b:lt);}[_0x2f6cf0(0x422)](){var _0x4d75b9=_0x2f6cf0;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x4d75b9(0x1fc)]),this[_0x4d75b9(0x1fc)]=null);}[_0x2f6cf0(0x2f1)](){var _0x3ebdfc=_0x2f6cf0;this[_0x3ebdfc(0x3cf)]!=null&&(clearTimeout(this[_0x3ebdfc(0x3cf)]),this[_0x3ebdfc(0x3cf)]=null);}},exports[_0x2f6cf0(0x365)]=Qt([he(0x0,a[_0x2f6cf0(0x4ba)](a['Injector'])),he(0x1,a['ILogService']),he(0x2,a['IConfigService']),he(0x3,$e),he(0x4,a[_0x2f6cf0(0x4ba)](ee)),he(0x5,a[_0x2f6cf0(0x388)](St))],exports[_0x2f6cf0(0x365)]);const K=a[_0x2f6cf0(0x276)](_0x2f6cf0(0x4f8));function ei(_0x47050a){return'unit-cache-'+_0x47050a;}var ti=Object['getOwnPropertyDescriptor'],ii=(_0x1dfb88,_0x327e60,_0x5400f0,_0x485308)=>{var _0xe21fa7=_0x2f6cf0;for(var _0x81ae2f=_0x485308>0x1?void 0x0:_0x485308?ti(_0x327e60,_0x5400f0):_0x327e60,_0xe83569=_0x1dfb88[_0xe21fa7(0x4ca)]-0x1,_0x25faf2;_0xe83569>=0x0;_0xe83569--)(_0x25faf2=_0x1dfb88[_0xe83569])&&(_0x81ae2f=_0x25faf2(_0x81ae2f)||_0x81ae2f);return _0x81ae2f;},Ue=(_0x182f37,_0x46f014)=>(_0x2036cc,_0x551cc7)=>_0x46f014(_0x2036cc,_0x551cc7,_0x182f37);function ni(_0x3b3dcb){var _0x589e50=_0x2f6cf0;const {unitID:_0x3f5ebf,mutations:_0x295244}=_0x3b3dcb;return{'unitId':_0x3f5ebf,'subUnitId':_0x295244[0x0][_0x589e50(0x2a1)][_0x589e50(0x235)]};}exports[_0x2f6cf0(0x448)]=class{constructor(_0x1bc0ee,_0xf7e942,_0x20fe7c){var _0x67e570=_0x2f6cf0;this['_injector']=_0x1bc0ee,this[_0x67e570(0x54f)]=_0xf7e942,this['_instanceService']=_0x20fe7c;}[_0x2f6cf0(0x2b8)](_0x155749){var _0x33a651=_0x2f6cf0,_0x3570d0,_0x4a8c43,_0x5964c0,_0x3f6f17;const _0x56988a=this['_injector'][_0x33a651(0x1f6)](X[_0x33a651(0x331)]),{unitId:_0x53d4b2,subUnitId:_0x1d5d27}=ni(_0x155749),_0x3a1dfb=_0x56988a==null?void 0x0:_0x56988a['getWorkbookSelections'](_0x53d4b2)['getCurrentSelections'](),_0x2d5dab=(_0x4a8c43=(_0x3570d0=this[_0x33a651(0x300)][_0x33a651(0x392)](_0x53d4b2))==null?void 0x0:_0x3570d0[_0x33a651(0x43a)]())==null?void 0x0:_0x4a8c43[_0x33a651(0x1fe)]();if(_0x3a1dfb[_0x33a651(0x4ca)]===0x0||!_0x53d4b2||!_0x1d5d27)return;const _0x5c371f=[{'id':X['SetSelectionsOperation']['id'],'params':{'unitId':_0x53d4b2,'subUnitId':_0x2d5dab,'selections':a[_0x33a651(0x337)][_0x33a651(0x219)](_0x3a1dfb)}}],_0x30fb19=this['_transformService'][_0x33a651(0x49c)](_0x155749,_0x5c371f);if(!p[_0x33a651(0x332)](_0x30fb19))throw _0x30fb19[_0x33a651(0x2c2)];const _0x58caca=(_0x3f6f17=(_0x5964c0=_0x30fb19[_0x33a651(0x203)][0x0])==null?void 0x0:_0x5964c0[_0x33a651(0x2a1)])==null?void 0x0:_0x3f6f17['selections'];if(Array['isArray'](_0x58caca)&&_0x58caca[_0x33a651(0x4ca)]){if(_0x58caca['length']===_0x5c371f[0x0]['params']['selections'][_0x33a651(0x4ca)]&&_0x58caca[_0x33a651(0x32f)]((_0x423622,_0x5f3382)=>a[_0x33a651(0x3d0)][_0x33a651(0x28b)](_0x423622[_0x33a651(0x491)],_0x5c371f[0x0]['params'][_0x33a651(0x204)][_0x5f3382][_0x33a651(0x491)])))return;this['_injector']['get'](a['ICommandService'])[_0x33a651(0x44f)](X[_0x33a651(0x3d4)]['id'],{'unitId':_0x53d4b2,'subUnitId':_0x2d5dab,'selections':_0x58caca});}}},exports[_0x2f6cf0(0x448)]=ii([Ue(0x0,a[_0x2f6cf0(0x4ba)](a['Injector'])),Ue(0x1,p[_0x2f6cf0(0x517)]),Ue(0x2,a[_0x2f6cf0(0x4cf)])],exports[_0x2f6cf0(0x448)]);const de=a[_0x2f6cf0(0x276)](_0x2f6cf0(0x52d));var je=(_0x3f7360=>(_0x3f7360[_0x3f7360['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3f7360[_0x3f7360['OTHER_CLIENTS_EDITING']=0x1]=_0x2f6cf0(0x445),_0x3f7360))(je||{});const ri=new Set([X['InsertSheetMutation']['id']]);function Ge(_0x3ec6fa,_0x5cbf1b,_0x191939,_0x4d1b6e,_0x39b1e3){var _0x1a66bd=_0x2f6cf0,_0x6b16e6,_0x1c4289,_0x4e9ab2,_0x4bc8ae;const _0x2ead69=[];for(const _0x7ce601 of _0x3ec6fa)if(ri[_0x1a66bd(0x52c)](_0x7ce601['id'])){if(_0x2ead69[_0x1a66bd(0x4ca)]>0x0)break;_0x2ead69['push'](_0x7ce601);break;}else _0x2ead69[_0x1a66bd(0x547)](_0x7ce601);const _0x413761=(_0x1c4289=(_0x6b16e6=_0x39b1e3[_0x1a66bd(0x217)]())==null?void 0x0:_0x6b16e6[_0x1a66bd(0x4cc)])!=null?_0x1c4289:'unknown',_0x3e1a66=(_0x4bc8ae=(_0x4e9ab2=_0x39b1e3[_0x1a66bd(0x217)]())==null?void 0x0:_0x4e9ab2[_0x1a66bd(0x283)])!=null?_0x4bc8ae:_0x1a66bd(0x3c3);return{'changeset':{'unitID':_0x5cbf1b,'type':p[_0x1a66bd(0x211)](_0x191939['getUnitType'](_0x5cbf1b)),'baseRev':_0x4d1b6e[_0x1a66bd(0x2ff)](_0x5cbf1b),'revision':0x0,'userID':_0x413761,'memberID':_0x3e1a66,'mutations':_0x2ead69},'pendingMutations':_0x3ec6fa[_0x1a66bd(0x2e5)](_0x2ead69[_0x1a66bd(0x4ca)])};}function si(_0x59b6b4,_0x1b2a4e,_0x25a5bb,_0x2394d8,_0x3feed0){var _0x4a9fb0=_0x2f6cf0,_0x4467aa,_0x26d689,_0x5f3113,_0x236dbd;const _0x23fa64=[_0x59b6b4[_0x4a9fb0(0x49e)]((_0x2edcc6,_0x3898d0)=>{var _0x517908=_0x4a9fb0,_0x2d0f0c;const {id:_0xf16b97}=_0x2edcc6,{id:_0x475743,type:_0x224d30}=_0x3898d0,_0x55dfb0=(_0x2d0f0c=_0x2edcc6[_0x517908(0x2a1)])!=null?_0x2d0f0c:{'actions':null},_0x5d009=_0x3898d0[_0x517908(0x2a1)];if(_0xf16b97&&_0xf16b97!==_0x475743)throw new Error(_0x517908(0x23a)+_0xf16b97+_0x517908(0x4c1)+_0x475743+'.');return{..._0x2edcc6,'id':_0x475743,'type':_0x224d30,'params':{'unitId':_0x5d009[_0x517908(0x4d7)],'textRanges':_0x5d009[_0x517908(0x4db)],'actions':a[_0x517908(0x43e)][_0x517908(0x3bb)](_0x55dfb0[_0x517908(0x21b)],_0x5d009['actions'])}};},{})],_0x58a4b1=(_0x26d689=(_0x4467aa=_0x3feed0['getCurrentUser']())==null?void 0x0:_0x4467aa['userID'])!=null?_0x26d689:_0x4a9fb0(0x3c3),_0x4bad76=(_0x236dbd=(_0x5f3113=_0x3feed0[_0x4a9fb0(0x217)]())==null?void 0x0:_0x5f3113['memberID'])!=null?_0x236dbd:'unknown';return{'changeset':{'unitID':_0x1b2a4e,'type':p['mapDocumentTypeToUniverType'](_0x25a5bb[_0x4a9fb0(0x373)](_0x1b2a4e)),'baseRev':_0x2394d8[_0x4a9fb0(0x2ff)](_0x1b2a4e),'revision':0x0,'userID':_0x58a4b1,'memberID':_0x4bad76,'mutations':_0x23fa64},'pendingMutations':[]};}function _0x30fe(_0x40e66b,_0x7b4637){var _0x1f964c=_0x1f96();return _0x30fe=function(_0x30feab,_0x4c3d3c){_0x30feab=_0x30feab-0x1f1;var _0x34b328=_0x1f964c[_0x30feab];return _0x34b328;},_0x30fe(_0x40e66b,_0x7b4637);}function pt(_0x4e3bce,_0x4b7186){var _0x362eac=_0x2f6cf0;const _0x5352fd=new H[(_0x362eac(0x22a))](0x1);return setTimeout(()=>_0x5352fd['next'](_0x4b7186),_0x4e3bce),_0x5352fd[_0x362eac(0x480)]()[_0x362eac(0x298)](H[_0x362eac(0x2d5)](0x1));}const oi={'id':X[_0x2f6cf0(0x38b)]['id'],'type':a[_0x2f6cf0(0x2ed)][_0x2f6cf0(0x24c)],'params':{}};var ai=Object['getOwnPropertyDescriptor'],oe=(_0x16888c,_0x301cd5,_0x40d0d0,_0x1e32bb)=>{var _0x4ec006=_0x2f6cf0;for(var _0x4ec419=_0x1e32bb>0x1?void 0x0:_0x1e32bb?ai(_0x301cd5,_0x40d0d0):_0x301cd5,_0x1e4f62=_0x16888c[_0x4ec006(0x4ca)]-0x1,_0x5d9fad;_0x1e4f62>=0x0;_0x1e4f62--)(_0x5d9fad=_0x16888c[_0x1e4f62])&&(_0x4ec419=_0x5d9fad(_0x4ec419)||_0x4ec419);return _0x4ec419;},w=(_0x2d800d,_0x5a1b24)=>(_0x56d79a,_0x32c47c)=>_0x5a1b24(_0x56d79a,_0x32c47c,_0x2d800d),Be=(_0x42c144=>(_0x42c144[_0x2f6cf0(0x42a)]='not_collab',_0x42c144[_0x2f6cf0(0x353)]=_0x2f6cf0(0x387),_0x42c144['PENDING']=_0x2f6cf0(0x38d),_0x42c144['AWAITING']='awaiting',_0x42c144[_0x2f6cf0(0x3ca)]=_0x2f6cf0(0x384),_0x42c144['FETCH_MISS']=_0x2f6cf0(0x288),_0x42c144[_0x2f6cf0(0x4de)]=_0x2f6cf0(0x4d0),_0x42c144[_0x2f6cf0(0x3ee)]='offline',_0x42c144))(Be||{});const mt=0xea60;class ae{constructor(_0x20b63d,_0x51902e,_0x5cbf6c,_0x25e01,_0x4a57f7,_0x4cdb1a,_0x2fafc3,_0x4dc237,_0x15a7db){var _0x550745=_0x2f6cf0;A(this,'_awaitingChangeset',null),A(this,'_pendingMutations',[]),(this['unitID']=_0x20b63d,this['type']=_0x51902e,this[_0x550745(0x41a)]=_0x4a57f7,this[_0x550745(0x45d)]=_0x4cdb1a,this[_0x550745(0x253)]=_0x2fafc3,this[_0x550745(0x507)]=_0x4dc237,this[_0x550745(0x2c3)]=_0x15a7db,this['_awaitingChangeset']=_0x5cbf6c,this[_0x550745(0x4b7)]=_0x25e01);}[_0x2f6cf0(0x36a)](_0x1a7274){var _0x352281=_0x2f6cf0;const _0x19369f=this[_0x352281(0x507)]['getCurrentRevOfUnit'](this[_0x352281(0x1f2)]);return _0x1a7274[_0x352281(0x303)]>_0x19369f+0x1?(this[_0x352281(0x41a)]['onMissingChangesets']({'from':_0x19369f,'to':_0x1a7274[_0x352281(0x303)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x12b6de){var _0x26f02c=_0x2f6cf0;this['_undoRedoService'][_0x26f02c(0x4fb)](this[_0x26f02c(0x1f2)],_0x12b6de);}[_0x2f6cf0(0x4ee)](_0x12d5cf){var _0x57755b=_0x2f6cf0,_0x51e46f,_0x1e44f1;(_0x1e44f1=(_0x51e46f=this[_0x57755b(0x41a)])[_0x57755b(0x4dd)])==null||_0x1e44f1[_0x57755b(0x411)](_0x51e46f,_0x12d5cf);}[_0x2f6cf0(0x4e1)](_0x44accc){var _0x5cd7e9,_0x4ab530;return(_0x4ab530=(_0x5cd7e9=this['_handler'])['onTransformIME'])==null?void 0x0:_0x4ab530['call'](_0x5cd7e9,_0x44accc);}[_0x2f6cf0(0x277)](_0x242513){var _0x17d5c1=_0x2f6cf0,_0x53a266,_0xcfd1df;return(_0xcfd1df=(_0x53a266=this[_0x17d5c1(0x41a)])['onTransformState'])==null?void 0x0:_0xcfd1df['call'](_0x53a266,_0x242513);}['_transformRemoteChangesetByIMECache'](_0x370135){var _0x5badeb=_0x2f6cf0,_0x23c0cf,_0x272641,_0x4fcea0;return(_0x4fcea0=(_0x272641=(_0x23c0cf=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x272641[_0x5badeb(0x411)](_0x23c0cf,_0x370135))!=null?_0x4fcea0:_0x370135;}[_0x2f6cf0(0x425)](_0xeb4edb){var _0x59eab5=_0x2f6cf0,_0x138c40,_0x37e623,_0x129fce;return(_0x129fce=(_0x37e623=(_0x138c40=this[_0x59eab5(0x41a)])[_0x59eab5(0x4fc)])==null?void 0x0:_0x37e623[_0x59eab5(0x411)](_0x138c40,_0xeb4edb))!=null?_0x129fce:_0xeb4edb;}[_0x2f6cf0(0x51a)](_0x4c9e5e){var _0x32db73=_0x2f6cf0,_0x51857a,_0x40c425;if(this['type']===J[_0x32db73(0x4a1)]){const {unitID:_0x14ef55,mutations:_0x4d0dbb,memberID:_0xf09869}=_0x4c9e5e,_0xca0586=_0x4d0dbb[0x0]['params'][_0x32db73(0x4db)];Array[_0x32db73(0x2de)](_0xca0586)&&_0xca0586[_0x32db73(0x4ca)]>0x0&&((_0x40c425=(_0x51857a=this['_handler'])[_0x32db73(0x1f9)])==null||_0x40c425[_0x32db73(0x411)](_0x51857a,{'unitID':_0x14ef55,'memberID':_0xf09869,'textRanges':_0xca0586}));}}[_0x2f6cf0(0x230)](){var _0x38cda4=_0x2f6cf0,_0x2074db;(_0x2074db=this[_0x38cda4(0x2c3)])==null||_0x2074db['updateOfflineData'](this[_0x38cda4(0x1f2)],this[_0x38cda4(0x477)],this['_awaitingChangeset'],this[_0x38cda4(0x4b7)]);}[_0x2f6cf0(0x49f)](){var _0x35bbed=_0x2f6cf0;return this[_0x35bbed(0x507)][_0x35bbed(0x2ff)](this['unitID']);}[_0x2f6cf0(0x442)](){var _0x126456=_0x2f6cf0;this[_0x126456(0x507)][_0x126456(0x4b3)](this[_0x126456(0x1f2)]);}[_0x2f6cf0(0x2dc)](_0x29d130){var _0x29d3b2=_0x2f6cf0,_0xee7a0b;let _0x34d0f5=this[_0x29d3b2(0x3ac)](_0x29d130);_0x34d0f5=this[_0x29d3b2(0x425)](_0x34d0f5);const _0x2cdb0e=a['sequenceExecute'](_0x34d0f5['mutations'],this[_0x29d3b2(0x45d)],{'fromCollab':!0x0});if(!_0x2cdb0e[_0x29d3b2(0x512)])throw _0x2cdb0e[_0x29d3b2(0x2c2)]instanceof Error?_0x2cdb0e[_0x29d3b2(0x2c2)]:new Error((_0xee7a0b=_0x2cdb0e[_0x29d3b2(0x2c2)])!=null?_0xee7a0b:_0x29d3b2(0x238));this['_transformIMECache'](_0x34d0f5),this[_0x29d3b2(0x277)](_0x34d0f5),this[_0x29d3b2(0x327)](_0x29d130),this[_0x29d3b2(0x4ee)](_0x34d0f5),this[_0x29d3b2(0x51a)](_0x34d0f5),this[_0x29d3b2(0x442)]();}}exports['SyncedState']=class extends ae{constructor(_0xbb522b,_0x597690,_0x317c0a,_0x24f3bf,_0x4d4cb9,_0x861e2d,_0x50ebe8,_0x5c3cc3,_0x344da1,_0x5c9aaa){var _0x1e1457=_0x2f6cf0;super(_0xbb522b,_0x597690,null,[],_0x317c0a,_0x50ebe8,_0x861e2d,_0x24f3bf,_0x5c9aaa),A(this,_0x1e1457(0x43d),'synced'),(this[_0x1e1457(0x2d8)]=_0x4d4cb9,this[_0x1e1457(0x39f)]=_0x5c3cc3,this[_0x1e1457(0x54f)]=_0x344da1,this['localCacheService']=_0x5c9aaa);}[_0x2f6cf0(0x426)](_0x521bc1){var _0x4d7518=_0x2f6cf0;const _0x3a9202=this[_0x4d7518(0x2d8)][_0x4d7518(0x486)](exports[_0x4d7518(0x1f3)],this[_0x4d7518(0x1f2)],this[_0x4d7518(0x477)],[_0x521bc1],this[_0x4d7518(0x41a)]);return _0x3a9202[_0x4d7518(0x4df)](),_0x3a9202[_0x4d7518(0x230)](),_0x3a9202;}[_0x2f6cf0(0x343)](_0x4991f3){var _0x19a020=_0x2f6cf0;if(this[_0x19a020(0x36a)](_0x4991f3))return this[_0x19a020(0x2d8)]['createInstance'](exports[_0x19a020(0x3d8)],this['unitID'],this[_0x19a020(0x477)],null,[],null,[_0x4991f3],this[_0x19a020(0x41a)]);try{const _0x35bd18=this['_transformService'][_0x19a020(0x49c)](_0x4991f3,[oi]);if(p[_0x19a020(0x332)](_0x35bd18)){const {c1Prime:_0x17db30}=_0x35bd18;return this[_0x19a020(0x2dc)](_0x17db30),this;}throw _0x35bd18[_0x19a020(0x2c2)];}catch(_0x2dc340){return this[_0x19a020(0x39f)]['error'](_0x2dc340),this[_0x19a020(0x4c9)](!0x1);}}[_0x2f6cf0(0x4c9)](_0x1d95e8){var _0x258159=_0x2f6cf0;return this[_0x258159(0x2d8)][_0x258159(0x486)](exports[_0x258159(0x27c)],this[_0x258159(0x1f2)],this[_0x258159(0x477)],null,[],this['_handler'],_0x1d95e8);}[_0x2f6cf0(0x509)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x568f77=_0x2f6cf0;throw new Error(_0x568f77(0x2e9));}[_0x2f6cf0(0x3ff)](){return this;}[_0x2f6cf0(0x471)](){var _0x466c78=_0x2f6cf0;return this[_0x466c78(0x2d8)][_0x466c78(0x486)](exports['OfflineState'],this[_0x466c78(0x1f2)],this[_0x466c78(0x477)],null,[],this['_handler']);}[_0x2f6cf0(0x45f)](){return this;}['resend'](){var _0x38bf06=_0x2f6cf0;throw new Error(_0x38bf06(0x4b0));}[_0x2f6cf0(0x4b1)](){var _0x51a624=_0x2f6cf0;const _0x295175=this['_revisionService'][_0x51a624(0x2ff)](this['unitID']);return this[_0x51a624(0x41a)][_0x51a624(0x226)]({'from':_0x295175,'to':0x0}),this[_0x51a624(0x2d8)][_0x51a624(0x486)](exports[_0x51a624(0x3d8)],this['unitID'],this['type'],null,[],null,[],this[_0x51a624(0x41a)]);}},exports[_0x2f6cf0(0x34c)]=oe([w(0x3,a[_0x2f6cf0(0x4ba)](p[_0x2f6cf0(0x48f)])),w(0x4,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x3b2)])),w(0x5,a[_0x2f6cf0(0x563)]),w(0x6,a[_0x2f6cf0(0x48d)]),w(0x7,a[_0x2f6cf0(0x3ae)]),w(0x8,p[_0x2f6cf0(0x517)]),w(0x9,a['Optional'](K))],exports[_0x2f6cf0(0x34c)]),exports[_0x2f6cf0(0x1f3)]=class extends ae{constructor(_0x49d039,_0x5174fc,_0x47c036,_0x375073,_0x3d3bc0,_0x2902da,_0x4476ce,_0x343ecc,_0x32caf3,_0x53bd47,_0x2d6513,_0x1785cf,_0x20cbed,_0x4c9bb8){var _0x4eb748=_0x2f6cf0;super(_0x49d039,_0x5174fc,null,_0x47c036,_0x375073,_0x32caf3,_0x20cbed,_0x2902da,_0x4c9bb8),A(this,_0x4eb748(0x43d),_0x4eb748(0x38d)),A(this,_0x4eb748(0x257),null),A(this,_0x4eb748(0x248),null),(this['_injector']=_0x3d3bc0,this[_0x4eb748(0x4e2)]=_0x4476ce,this[_0x4eb748(0x39f)]=_0x343ecc,this['_configService']=_0x53bd47,this[_0x4eb748(0x54f)]=_0x2d6513,this['_univerInstanceService']=_0x1785cf);}[_0x2f6cf0(0x426)](_0x445cd5){var _0x597c70=_0x2f6cf0;return this[_0x597c70(0x4b7)][_0x597c70(0x547)](_0x445cd5),this[_0x597c70(0x230)](),this;}['onRemoteChangeset'](_0x2aea1c){var _0x21dec5=_0x2f6cf0;if(this[_0x21dec5(0x36a)](_0x2aea1c))return this[_0x21dec5(0x479)](),this[_0x21dec5(0x2d8)][_0x21dec5(0x486)](exports[_0x21dec5(0x3d8)],this['unitID'],this[_0x21dec5(0x477)],null,this[_0x21dec5(0x4b7)],null,[_0x2aea1c],this[_0x21dec5(0x41a)]);try{const _0x5841a7=this[_0x21dec5(0x54f)][_0x21dec5(0x49c)](_0x2aea1c,this[_0x21dec5(0x4b7)]);if(p[_0x21dec5(0x332)](_0x5841a7)){const {c1Prime:_0x2e02b3,m2Prime:_0x8d1127}=_0x5841a7;this[_0x21dec5(0x2dc)](_0x2e02b3);const _0x485668=this[_0x21dec5(0x2d8)][_0x21dec5(0x486)](exports['PendingState'],this[_0x21dec5(0x1f2)],this[_0x21dec5(0x477)],_0x8d1127,this[_0x21dec5(0x41a)]);this['_clearScheduledTask']();const _0x10c579=new Date()['getTime'](),_0x628c01=this[_0x21dec5(0x257)]?Math[_0x21dec5(0x423)](this[_0x21dec5(0x257)]-_0x10c579,0x0):this['_getSendChangesetTimeout']();return _0x485668[_0x21dec5(0x4df)](_0x628c01),_0x485668;}throw _0x5841a7['error'];}catch(_0x34aee5){return this[_0x21dec5(0x39f)][_0x21dec5(0x2c2)](_0x34aee5),this['_onConflict'](!0x1);}}[_0x2f6cf0(0x509)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x2f6cf0(0x21f)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x2f6cf0(0x3ff)](){return this;}[_0x2f6cf0(0x471)](){var _0x56cb9c=_0x2f6cf0;return this[_0x56cb9c(0x479)](),this[_0x56cb9c(0x2d8)][_0x56cb9c(0x486)](exports['OfflineState'],this['unitID'],this[_0x56cb9c(0x477)],null,this['_pendingMutations'],this[_0x56cb9c(0x41a)]);}[_0x2f6cf0(0x45f)](){return this;}[_0x2f6cf0(0x4df)](_0x24bf99){var _0x30c5c1=_0x2f6cf0;const _0x32a7be=_0x24bf99!=null?_0x24bf99:this[_0x30c5c1(0x221)]();this[_0x30c5c1(0x257)]=new Date()[_0x30c5c1(0x272)]()+_0x32a7be,this[_0x30c5c1(0x248)]=setTimeout(()=>{var _0x59dd65=_0x30c5c1;this[_0x59dd65(0x479)]();let _0x48329e=null;switch(this[_0x59dd65(0x477)]){case J[_0x59dd65(0x3b3)]:{_0x48329e=Ge(this[_0x59dd65(0x4b7)],this[_0x59dd65(0x1f2)],this[_0x59dd65(0x3a8)],this[_0x59dd65(0x507)],this[_0x59dd65(0x4e2)]);break;}case J[_0x59dd65(0x4a1)]:{this[_0x59dd65(0x4b7)][_0x59dd65(0x32f)](_0xf871fe=>_0xf871fe['id']===ct[_0x59dd65(0x3f4)]['id'])?_0x48329e=si(this[_0x59dd65(0x4b7)],this[_0x59dd65(0x1f2)],this['_univerInstanceService'],this[_0x59dd65(0x507)],this[_0x59dd65(0x4e2)]):_0x48329e=Ge(this[_0x59dd65(0x4b7)],this[_0x59dd65(0x1f2)],this[_0x59dd65(0x3a8)],this[_0x59dd65(0x507)],this[_0x59dd65(0x4e2)]);break;}default:throw new Error(_0x59dd65(0x2d3)+this[_0x59dd65(0x477)]+_0x59dd65(0x418));}const {changeset:_0x43f231,pendingMutations:_0x24e329}=_0x48329e;this[_0x59dd65(0x41a)]['onSendChangeset'](_0x43f231);const _0x2f9972=_0x24e329[_0x59dd65(0x4ca)]?this['_injector'][_0x59dd65(0x486)](exports['AwaitingWithPendingState'],this[_0x59dd65(0x1f2)],this[_0x59dd65(0x477)],_0x43f231,_0x24e329,this[_0x59dd65(0x41a)],void 0x0):this[_0x59dd65(0x2d8)]['createInstance'](exports[_0x59dd65(0x527)],this[_0x59dd65(0x1f2)],this[_0x59dd65(0x477)],_0x43f231,this[_0x59dd65(0x41a)]);_0x2f9972['_updateLocalCache'](),this['_handler'][_0x59dd65(0x4f9)](this,_0x2f9972);},_0x32a7be);}[_0x2f6cf0(0x221)](){var _0x2dcf9e=_0x2f6cf0,_0x22cc20;const _0x45811c=this[_0x2dcf9e(0x543)][_0x2dcf9e(0x52a)](Y);return(_0x22cc20=_0x45811c==null?void 0x0:_0x45811c[_0x2dcf9e(0x4d3)])!=null?_0x22cc20:Ut;}[_0x2f6cf0(0x364)](){var _0xbc19bd=_0x2f6cf0;throw new Error(_0xbc19bd(0x492));}[_0x2f6cf0(0x479)](){var _0xb48702=_0x2f6cf0;this[_0xb48702(0x248)]!=null&&(clearTimeout(this[_0xb48702(0x248)]),this[_0xb48702(0x248)]=null);}[_0x2f6cf0(0x4c9)](_0x441d21){var _0x5bd430=_0x2f6cf0;return this['_clearScheduledTask'](),this[_0x5bd430(0x2d8)][_0x5bd430(0x486)](exports[_0x5bd430(0x27c)],this['unitID'],this[_0x5bd430(0x477)],null,this[_0x5bd430(0x4b7)],this[_0x5bd430(0x41a)],_0x441d21);}},exports['PendingState']=oe([w(0x4,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x3b2)])),w(0x5,a[_0x2f6cf0(0x4ba)](p[_0x2f6cf0(0x48f)])),w(0x6,a[_0x2f6cf0(0x4ba)](exports[_0x2f6cf0(0x2d2)])),w(0x7,a[_0x2f6cf0(0x3ae)]),w(0x8,a['ICommandService']),w(0x9,a['IConfigService']),w(0xa,p[_0x2f6cf0(0x517)]),w(0xb,a[_0x2f6cf0(0x4cf)]),w(0xc,a[_0x2f6cf0(0x563)]),w(0xd,a[_0x2f6cf0(0x388)](K))],exports[_0x2f6cf0(0x1f3)]),exports[_0x2f6cf0(0x527)]=class extends ae{constructor(_0x59755c,_0x2332f4,_0x35c4c5,_0x29a66f,_0x172263,_0x476e40,_0xdfe0de,_0xecf35c,_0x5a6c2e,_0x5d8bcc,_0x479820){var _0x532974=_0x2f6cf0;super(_0x59755c,_0x2332f4,_0x35c4c5,[],_0x29a66f,_0xdfe0de,_0x5d8bcc,_0x476e40,_0x479820),A(this,_0x532974(0x43d),_0x532974(0x47c)),A(this,_0x532974(0x375),0x0),A(this,_0x532974(0x500)),A(this,_0x532974(0x225)),(this[_0x532974(0x2d8)]=_0x172263,this[_0x532974(0x39f)]=_0xecf35c,this[_0x532974(0x54f)]=_0x5a6c2e);}[_0x2f6cf0(0x426)](_0x14ca77){var _0x12b1ed=_0x2f6cf0;this[_0x12b1ed(0x479)]();const _0x2cb30a=this[_0x12b1ed(0x2d8)][_0x12b1ed(0x486)](exports[_0x12b1ed(0x239)],this['unitID'],this[_0x12b1ed(0x477)],this['_awaitingChangeset'],[_0x14ca77],this[_0x12b1ed(0x41a)],this[_0x12b1ed(0x500)]);return _0x2cb30a[_0x12b1ed(0x230)](),_0x2cb30a;}[_0x2f6cf0(0x343)](_0x2a3320){var _0x3eef45=_0x2f6cf0;if(this[_0x3eef45(0x36a)](_0x2a3320))return this['_clearScheduledTask'](),this[_0x3eef45(0x2d8)][_0x3eef45(0x486)](exports[_0x3eef45(0x3d8)],this[_0x3eef45(0x1f2)],this[_0x3eef45(0x477)],this['_awaitingChangeset'],[],null,[_0x2a3320],this[_0x3eef45(0x41a)]);try{const _0x416ddf=this[_0x3eef45(0x54f)][_0x3eef45(0x430)]([_0x2a3320],[this[_0x3eef45(0x403)]],!0x1);if(p['isTransformChangesetsSuccess'](_0x416ddf)){const {c1Prime:_0x141925,c2Prime:_0x5e3023}=_0x416ddf;this['_executeRemoteChangeset'](_0x141925[0x0]),_0x5e3023[0x0][_0x3eef45(0x395)]=this[_0x3eef45(0x49f)](),this[_0x3eef45(0x479)]();const _0x3c260d=this['_injector'][_0x3eef45(0x486)](exports[_0x3eef45(0x527)],this['unitID'],this['type'],_0x5e3023[0x0],this[_0x3eef45(0x41a)]);return _0x3c260d[_0x3eef45(0x230)](),_0x3c260d;}return this[_0x3eef45(0x4c9)](!0x1);}catch(_0x58f361){return this[_0x3eef45(0x39f)]['error'](_0x58f361),this['_onConflict'](!0x1);}}[_0x2f6cf0(0x509)](_0xe4a656){var _0x54f4c8=_0x2f6cf0;this['_clearScheduledTask']();const _0xc94db8=this[_0x54f4c8(0x507)][_0x54f4c8(0x2ff)](this[_0x54f4c8(0x1f2)]);if(_0xe4a656['revision']<_0xc94db8-0x1)return this;if(this[_0x54f4c8(0x36a)](_0xe4a656))return this[_0x54f4c8(0x2d8)]['createInstance'](exports[_0x54f4c8(0x3d8)],this[_0x54f4c8(0x1f2)],this['type'],null,[],this[_0x54f4c8(0x403)],[],this['_handler']);this[_0x54f4c8(0x442)]();const _0x6e75b1=this[_0x54f4c8(0x2d8)][_0x54f4c8(0x486)](exports[_0x54f4c8(0x34c)],this[_0x54f4c8(0x1f2)],this['type'],this[_0x54f4c8(0x41a)]);return _0x6e75b1[_0x54f4c8(0x230)](),_0x6e75b1;}[_0x2f6cf0(0x21f)](_0x5af311){var _0x5e1805=_0x2f6cf0;return this['_onConflict'](!!(_0x5af311!=null&&_0x5af311[_0x5e1805(0x376)]));}[_0x2f6cf0(0x3ff)](_0x392118){var _0x55af84=_0x2f6cf0;return this[_0x55af84(0x375)]>mt?this[_0x55af84(0x471)]():(this['_resendTimer']=pt(this[_0x55af84(0x375)],{'timeout':this[_0x55af84(0x375)],'reqId':_0x392118[_0x55af84(0x4ae)]}),this[_0x55af84(0x225)]=this[_0x55af84(0x500)][_0x55af84(0x2a7)](({reqId:_0x33b108,timeout:_0x84a13b})=>{var _0x2c85e5=_0x55af84;this[_0x2c85e5(0x240)](_0x33b108,_0x84a13b);}),this);}[_0x2f6cf0(0x471)](){var _0x5d6037=_0x2f6cf0;return this['_clearScheduledTask'](),this['_injector'][_0x5d6037(0x486)](exports[_0x5d6037(0x551)],this['unitID'],this['type'],this[_0x5d6037(0x403)],[],this['_handler']);}[_0x2f6cf0(0x45f)](){return this;}[_0x2f6cf0(0x364)](){var _0x5ce1fa=_0x2f6cf0;this[_0x5ce1fa(0x41a)][_0x5ce1fa(0x3b1)](this[_0x5ce1fa(0x403)]);}[_0x2f6cf0(0x4c9)](_0x2f2e31){var _0xf5a4fd=_0x2f6cf0;return this[_0xf5a4fd(0x479)](),this[_0xf5a4fd(0x2d8)]['createInstance'](exports['ConflictState'],this[_0xf5a4fd(0x1f2)],this['type'],this[_0xf5a4fd(0x403)],[],this['_handler'],_0x2f2e31);}[_0x2f6cf0(0x240)](_0x3857d2,_0x57ea30){var _0x279031=_0x2f6cf0,_0x135999;_0x3857d2===((_0x135999=this[_0x279031(0x403)])==null?void 0x0:_0x135999[_0x279031(0x4ae)])&&(this[_0x279031(0x364)](),this[_0x279031(0x375)]=_0x57ea30===0x0?0x3e8:_0x57ea30*0x2);}[_0x2f6cf0(0x479)](){var _0x144e23=_0x2f6cf0,_0xa350;(_0xa350=this[_0x144e23(0x225)])==null||_0xa350[_0x144e23(0x1f7)](),this[_0x144e23(0x375)]=0x0;}},exports['AwaitingState']=oe([w(0x4,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x3b2)])),w(0x5,a[_0x2f6cf0(0x4ba)](p[_0x2f6cf0(0x48f)])),w(0x6,a[_0x2f6cf0(0x48d)]),w(0x7,a['ILogService']),w(0x8,p['ITransformService']),w(0x9,a['IUndoRedoService']),w(0xa,a[_0x2f6cf0(0x388)](K))],exports['AwaitingState']),exports['AwaitingWithPendingState']=class extends ae{constructor(_0xbbbfe5,_0x3edd44,_0x175afa,_0x1b28de,_0x5410f2,_0x4ae1d5,_0x37a162,_0x49cda1,_0x4bfff0,_0x20f927,_0x1b2dfa,_0x5535ac,_0x45abb6){var _0xcfc13a=_0x2f6cf0;super(_0xbbbfe5,_0x3edd44,_0x175afa,_0x1b28de,_0x5410f2,_0x4bfff0,_0x5535ac,_0x49cda1,_0x45abb6),A(this,_0xcfc13a(0x43d),_0xcfc13a(0x384)),A(this,'_resendTimeout',0x0),A(this,_0xcfc13a(0x500)),A(this,_0xcfc13a(0x225)),(this[_0xcfc13a(0x2d8)]=_0x37a162,this['_logService']=_0x20f927,this[_0xcfc13a(0x54f)]=_0x1b2dfa,this[_0xcfc13a(0x4a4)]=_0x45abb6,_0x4ae1d5&&(this[_0xcfc13a(0x500)]=_0x4ae1d5,this[_0xcfc13a(0x225)]=this[_0xcfc13a(0x500)][_0xcfc13a(0x2a7)](({reqId:_0xc97392,timeout:_0x179dde})=>{var _0x59926c=_0xcfc13a;this[_0x59926c(0x240)](_0xc97392,_0x179dde);})));}[_0x2f6cf0(0x426)](_0x4a2946){var _0x5c4b54=_0x2f6cf0;return this[_0x5c4b54(0x4b7)][_0x5c4b54(0x547)](_0x4a2946),this;}[_0x2f6cf0(0x343)](_0x5301fe){var _0x5019dd=_0x2f6cf0;if(this[_0x5019dd(0x36a)](_0x5301fe))return this[_0x5019dd(0x479)](),this[_0x5019dd(0x2d8)][_0x5019dd(0x486)](exports[_0x5019dd(0x3d8)],this[_0x5019dd(0x1f2)],this[_0x5019dd(0x477)],this[_0x5019dd(0x403)],this[_0x5019dd(0x4b7)],null,[_0x5301fe],this['_handler']);try{const _0x3b02dd=this[_0x5019dd(0x54f)][_0x5019dd(0x430)]([_0x5301fe],[this[_0x5019dd(0x403)]],!0x1);if(p[_0x5019dd(0x2c1)](_0x3b02dd)){const {c1Prime:_0x43ff58,c2Prime:_0x4a5d50}=_0x3b02dd,_0x60a546=this[_0x5019dd(0x54f)][_0x5019dd(0x49c)](_0x43ff58[0x0],this[_0x5019dd(0x4b7)]);if(p[_0x5019dd(0x332)](_0x60a546)){const {c1Prime:_0x593c41,m2Prime:_0x140e7f}=_0x60a546;return this[_0x5019dd(0x2dc)](_0x593c41),_0x4a5d50[0x0][_0x5019dd(0x395)]=this[_0x5019dd(0x49f)](),this[_0x5019dd(0x479)](),this[_0x5019dd(0x2d8)]['createInstance'](exports[_0x5019dd(0x239)],this[_0x5019dd(0x1f2)],this[_0x5019dd(0x477)],_0x4a5d50[0x0],_0x140e7f,this[_0x5019dd(0x41a)],void 0x0);}throw _0x60a546['error'];}throw _0x3b02dd[_0x5019dd(0x2c2)];}catch(_0x58875b){return this[_0x5019dd(0x39f)]['error'](_0x58875b),this[_0x5019dd(0x4c9)](!0x1);}}[_0x2f6cf0(0x509)](_0x4ebb30){var _0x132939=_0x2f6cf0;if(this[_0x132939(0x479)](),this[_0x132939(0x36a)](_0x4ebb30))return this[_0x132939(0x2d8)]['createInstance'](exports[_0x132939(0x3d8)],this['unitID'],this[_0x132939(0x477)],null,this[_0x132939(0x4b7)],this[_0x132939(0x403)],[],this[_0x132939(0x41a)]);this[_0x132939(0x442)]();const _0x327f51=this['_injector'][_0x132939(0x486)](exports[_0x132939(0x1f3)],this[_0x132939(0x1f2)],this[_0x132939(0x477)],this[_0x132939(0x4b7)],this['_handler']);return _0x327f51['_schedule'](),_0x327f51['_updateLocalCache'](),_0x327f51;}[_0x2f6cf0(0x21f)](_0x31dafe){var _0x176e7a=_0x2f6cf0;return this[_0x176e7a(0x4c9)](!!(_0x31dafe!=null&&_0x31dafe[_0x176e7a(0x376)]));}[_0x2f6cf0(0x3ff)](_0x5d0f05){var _0x285119=_0x2f6cf0;return this['_resendTimeout']>mt?this['toggleOffline']():(this[_0x285119(0x500)]=pt(this['_resendTimeout'],{'timeout':this[_0x285119(0x375)],'reqId':_0x5d0f05[_0x285119(0x4ae)]}),this[_0x285119(0x225)]=this[_0x285119(0x500)][_0x285119(0x2a7)](({reqId:_0x4eb514,timeout:_0x67278f})=>{var _0x22d72a=_0x285119;this[_0x22d72a(0x240)](_0x4eb514,_0x67278f);}),this);}[_0x2f6cf0(0x471)](){var _0x3d99f9=_0x2f6cf0;return this[_0x3d99f9(0x479)](),this['_injector']['createInstance'](exports['OfflineState'],this[_0x3d99f9(0x1f2)],this[_0x3d99f9(0x477)],this[_0x3d99f9(0x403)],this['_pendingMutations'],this['_handler']);}[_0x2f6cf0(0x45f)](){return this;}['resend'](){var _0x1a27f4=_0x2f6cf0;this[_0x1a27f4(0x41a)][_0x1a27f4(0x3b1)](this[_0x1a27f4(0x403)]);}[_0x2f6cf0(0x4c9)](_0xc37492){var _0x38b69a=_0x2f6cf0;return this[_0x38b69a(0x479)](),this[_0x38b69a(0x2d8)][_0x38b69a(0x486)](exports['ConflictState'],this[_0x38b69a(0x1f2)],this[_0x38b69a(0x477)],null,this['_pendingMutations'],this[_0x38b69a(0x41a)],_0xc37492);}[_0x2f6cf0(0x240)](_0x33f308,_0x3558bc){var _0x1c3b78=_0x2f6cf0,_0x2956f8;_0x33f308===((_0x2956f8=this[_0x1c3b78(0x403)])==null?void 0x0:_0x2956f8[_0x1c3b78(0x4ae)])&&(this[_0x1c3b78(0x364)](),this[_0x1c3b78(0x375)]=_0x3558bc===0x0?0x3e8:_0x3558bc*0x2);}[_0x2f6cf0(0x479)](){var _0x14afc3=_0x2f6cf0,_0x29a52d;(_0x29a52d=this[_0x14afc3(0x225)])==null||_0x29a52d[_0x14afc3(0x1f7)](),this['_resendTimeout']=0x0;}},exports['AwaitingWithPendingState']=oe([w(0x6,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x3b2)])),w(0x7,a[_0x2f6cf0(0x4ba)](p[_0x2f6cf0(0x48f)])),w(0x8,a['ICommandService']),w(0x9,a[_0x2f6cf0(0x3ae)]),w(0xa,p[_0x2f6cf0(0x517)]),w(0xb,a[_0x2f6cf0(0x563)]),w(0xc,a[_0x2f6cf0(0x388)](K))],exports['AwaitingWithPendingState']),exports[_0x2f6cf0(0x27c)]=class extends ae{constructor(_0x1abe3e,_0xd9dd93,_0x520e07,_0x3ac1a1,_0x24d854,_0x5b73bd=!0x1,_0x327419,_0x1526bc,_0x42eb66,_0x21e096,_0x24e666,_0x4804fc,_0x4cd356){var _0x438a7f=_0x2f6cf0;super(_0x1abe3e,_0xd9dd93,_0x520e07,_0x3ac1a1,_0x24d854,_0x1526bc,_0x42eb66,_0x21e096,_0x4cd356),A(this,_0x438a7f(0x43d),'conflict'),(this['_isPermissionRej']=_0x5b73bd,this[_0x438a7f(0x38e)]=_0x327419,this[_0x438a7f(0x555)]=_0x24e666,this[_0x438a7f(0x22f)]=_0x4804fc,this[_0x438a7f(0x4a4)]=_0x4cd356,this[_0x438a7f(0x3f9)](),this[_0x438a7f(0x495)](),this[_0x438a7f(0x2da)]());}[_0x2f6cf0(0x426)](){return this;}[_0x2f6cf0(0x343)](){return this;}[_0x2f6cf0(0x509)](){return this;}['onRemoteRej'](){return this;}[_0x2f6cf0(0x3ff)](){return this;}[_0x2f6cf0(0x471)](){return this;}[_0x2f6cf0(0x45f)](){return this;}[_0x2f6cf0(0x364)](){var _0x46d7bf=_0x2f6cf0;throw new Error(_0x46d7bf(0x3eb));}[_0x2f6cf0(0x495)](){var _0x4097ad=_0x2f6cf0,_0x7460b8;(_0x7460b8=this['_localCacheService'])==null||_0x7460b8[_0x4097ad(0x3ed)](this[_0x4097ad(0x1f2)],this[_0x4097ad(0x477)],null,[]);}['_showConflictNotification'](){var _0xbc23f4=_0x2f6cf0;this[_0xbc23f4(0x2cc)]?this[_0xbc23f4(0x22f)][_0xbc23f4(0x33e)]({'id':Z[_0xbc23f4(0x367)]}):this['_collaborationUIEventService'][_0xbc23f4(0x33e)]({'id':Z[_0xbc23f4(0x4de)]});}[_0x2f6cf0(0x2da)](){var _0x42812a=_0x2f6cf0;this['_permissionService'][_0x42812a(0x3a1)](new X[(_0x42812a(0x344))](this[_0x42812a(0x1f2)])['id'],!0x1);}},exports[_0x2f6cf0(0x27c)]=oe([w(0x6,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x400)])),w(0x7,a['ICommandService']),w(0x8,a[_0x2f6cf0(0x563)]),w(0x9,a[_0x2f6cf0(0x4ba)](p['RevisionService'])),w(0xa,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x441)])),w(0xb,a['Inject'](ee)),w(0xc,a['Optional'](K))],exports[_0x2f6cf0(0x27c)]),exports[_0x2f6cf0(0x551)]=class extends ae{constructor(_0x260261,_0x3b3e1a,_0x990249,_0x1ee026,_0x264cb8,_0x316320,_0x389d39,_0xa494b8,_0x4d37f2,_0x4d99ee){var _0x35780e=_0x2f6cf0;super(_0x260261,_0x3b3e1a,_0x990249,_0x1ee026,_0x264cb8,_0xa494b8,_0x4d37f2,_0x389d39,_0x4d99ee),A(this,'status',_0x35780e(0x34a)),this[_0x35780e(0x2d8)]=_0x316320;}[_0x2f6cf0(0x426)](_0x180374){var _0x20d84f=_0x2f6cf0;return this[_0x20d84f(0x4b7)]['push'](_0x180374),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x55416e){var _0x2557d4=_0x2f6cf0;throw new Error(_0x2557d4(0x4c5));}['onRemoteAck'](){var _0x4e1d46=_0x2f6cf0;throw new Error(_0x4e1d46(0x42b));}['onRemoteRej'](){var _0x215043=_0x2f6cf0;throw new Error(_0x215043(0x39b));}['onRemoteRetry'](){return this;}[_0x2f6cf0(0x471)](){return this;}[_0x2f6cf0(0x45f)](){var _0x160f51=_0x2f6cf0;const {_injector:_0x11dade,_pendingMutations:_0x267fdc,_awaitingChangeset:_0x2bd5b8,unitID:_0x53c56b,_handler:_0x163c91,type:_0x39195e}=this,_0x126f08=gt(_0x11dade,_0x53c56b,_0x39195e,_0x2bd5b8,_0x267fdc,_0x163c91);return _0x126f08 instanceof exports[_0x160f51(0x1f3)]?_0x126f08[_0x160f51(0x4df)]():(_0x126f08 instanceof exports['AwaitingWithPendingState']||_0x126f08 instanceof exports[_0x160f51(0x527)])&&_0x126f08[_0x160f51(0x364)](),_0x126f08;}[_0x2f6cf0(0x364)](){var _0x2f6ad0=_0x2f6cf0;throw new Error(_0x2f6ad0(0x2ca));}},exports[_0x2f6cf0(0x551)]=oe([w(0x5,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x3b2)])),w(0x6,a[_0x2f6cf0(0x4ba)](p[_0x2f6cf0(0x48f)])),w(0x7,a[_0x2f6cf0(0x48d)]),w(0x8,a[_0x2f6cf0(0x563)]),w(0x9,a[_0x2f6cf0(0x388)](K))],exports[_0x2f6cf0(0x551)]),exports['FetchingMissState']=class extends ae{constructor(_0x5bed33,_0x2d94e7,_0x1aaba9,_0x5881f,_0x9e18ff,_0x5d96e7,_0x656b2d,_0x11e6d4,_0x42fe36,_0x370bd7,_0x5046f6,_0x869c91,_0x14576a,_0x5ec312){var _0x237374=_0x2f6cf0;super(_0x5bed33,_0x2d94e7,_0x1aaba9,_0x5881f,_0x656b2d,_0x5046f6,_0x869c91,_0x42fe36,_0x5ec312),A(this,'status','fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x9e18ff,this['_queuedRemoteChangesets']=_0x5d96e7,this[_0x237374(0x2d8)]=_0x11e6d4,this[_0x237374(0x39f)]=_0x370bd7,this[_0x237374(0x54f)]=_0x14576a,this[_0x237374(0x4a4)]=_0x5ec312);}['onMissedChangesetFetched'](_0x16f4bb){var _0x2d44b7=_0x2f6cf0;try{const _0x485172=[..._0x16f4bb,...this[_0x2d44b7(0x2d7)]],_0x27464c=[this[_0x2d44b7(0x403)]||this[_0x2d44b7(0x2a4)]][_0x2d44b7(0x3ec)](_0x794f1a=>!!_0x794f1a);let _0x4d5c94,_0x4035a1;if(_0x27464c['length']){const _0x5f1348=this[_0x2d44b7(0x54f)][_0x2d44b7(0x430)](_0x485172,_0x27464c,!0x1);if(!p['isTransformChangesetsSuccess'](_0x5f1348))throw _0x5f1348['error'];_0x4d5c94=_0x5f1348[_0x2d44b7(0x27a)],_0x4035a1=_0x5f1348[_0x2d44b7(0x41c)];}else _0x4d5c94=_0x485172,_0x4035a1=[];let _0x6499ec=this[_0x2d44b7(0x4b7)];_0x4d5c94[_0x2d44b7(0x397)](_0x4739c5=>{var _0x4833f2=_0x2d44b7;let _0x402906;if(_0x6499ec[_0x4833f2(0x4ca)]){const _0x3ff621=this[_0x4833f2(0x54f)][_0x4833f2(0x49c)](_0x4739c5,_0x6499ec);if(!p[_0x4833f2(0x332)](_0x3ff621))throw _0x3ff621['error'];_0x402906=_0x3ff621[_0x4833f2(0x27a)],_0x6499ec=_0x3ff621[_0x4833f2(0x203)];}else _0x402906=_0x4739c5;this[_0x4833f2(0x2dc)](_0x402906);}),this[_0x2d44b7(0x2a4)]&&this['_incrementRevisionNumber'](),this[_0x2d44b7(0x403)]&&_0x4035a1[_0x2d44b7(0x4ca)]&&(_0x4035a1[0x0][_0x2d44b7(0x395)]=this[_0x2d44b7(0x49f)]());let _0x25fd98;if(this[_0x2d44b7(0x403)]&&_0x6499ec[_0x2d44b7(0x4ca)]!==0x0)_0x25fd98=this[_0x2d44b7(0x2d8)]['createInstance'](exports[_0x2d44b7(0x239)],this['unitID'],this[_0x2d44b7(0x477)],_0x4035a1[0x0],_0x6499ec,this['_handler'],void 0x0);else{if(this[_0x2d44b7(0x403)]&&_0x6499ec[_0x2d44b7(0x4ca)]===0x0)_0x4035a1[0x0][_0x2d44b7(0x395)]=this[_0x2d44b7(0x49f)](),_0x25fd98=this['_injector'][_0x2d44b7(0x486)](exports['AwaitingState'],this[_0x2d44b7(0x1f2)],this[_0x2d44b7(0x477)],_0x4035a1[0x0],this[_0x2d44b7(0x41a)]);else{if(_0x6499ec[_0x2d44b7(0x4ca)]!==0x0){const _0x16900e=this['_injector']['createInstance'](exports['PendingState'],this['unitID'],this[_0x2d44b7(0x477)],_0x6499ec,this[_0x2d44b7(0x41a)]);_0x16900e[_0x2d44b7(0x4df)](),_0x25fd98=_0x16900e;}else _0x25fd98=this[_0x2d44b7(0x2d8)][_0x2d44b7(0x486)](exports[_0x2d44b7(0x34c)],this['unitID'],this[_0x2d44b7(0x477)],this[_0x2d44b7(0x41a)]);}}return _0x25fd98[_0x2d44b7(0x230)](),_0x25fd98;}catch(_0x411c82){return this[_0x2d44b7(0x39f)]['error'](_0x2d44b7(0x464),'failed\x20to\x20apply\x20missed\x20changesets!',_0x411c82),this[_0x2d44b7(0x2d8)][_0x2d44b7(0x486)](exports[_0x2d44b7(0x27c)],this[_0x2d44b7(0x1f2)],this[_0x2d44b7(0x477)],this['_awaitingChangeset'],this[_0x2d44b7(0x4b7)],this[_0x2d44b7(0x41a)],!0x1);}}['resend'](){var _0xecabeb=_0x2f6cf0;throw new Error(_0xecabeb(0x3f6));}['appendMutation'](_0x403c7f){var _0x381633=_0x2f6cf0;return this['_pendingMutations'][_0x381633(0x547)](_0x403c7f),this;}[_0x2f6cf0(0x343)](_0x387b1c){var _0xa9a8b6=_0x2f6cf0;return this[_0xa9a8b6(0x2d7)][_0xa9a8b6(0x547)](_0x387b1c),this;}[_0x2f6cf0(0x509)](_0x32ad1e){var _0x1bae78=_0x2f6cf0;if(this[_0x1bae78(0x403)])return this[_0x1bae78(0x2a4)]=this['_awaitingChangeset'],this[_0x1bae78(0x403)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x2f6cf0(0x21f)](_0x118402){var _0x38b6bd=_0x2f6cf0;return this[_0x38b6bd(0x4c9)](!!(_0x118402!=null&&_0x118402['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x2f6cf0(0x471)](){var _0x9d8a7c=_0x2f6cf0;return this['_injector']['createInstance'](exports['OfflineState'],this[_0x9d8a7c(0x1f2)],this[_0x9d8a7c(0x477)],this[_0x9d8a7c(0x403)],this[_0x9d8a7c(0x4b7)],this[_0x9d8a7c(0x41a)]);}[_0x2f6cf0(0x45f)](){return this;}[_0x2f6cf0(0x4c9)](_0x20ac12){var _0x28f8c8=_0x2f6cf0;return this[_0x28f8c8(0x2d8)][_0x28f8c8(0x486)](exports['ConflictState'],this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x28f8c8(0x4b7)],this['_handler'],_0x20ac12);}},exports[_0x2f6cf0(0x3d8)]=oe([w(0x7,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x3b2)])),w(0x8,a[_0x2f6cf0(0x4ba)](p[_0x2f6cf0(0x48f)])),w(0x9,a['ILogService']),w(0xa,a[_0x2f6cf0(0x48d)]),w(0xb,a[_0x2f6cf0(0x563)]),w(0xc,p[_0x2f6cf0(0x517)]),w(0xd,a[_0x2f6cf0(0x388)](K))],exports[_0x2f6cf0(0x3d8)]);function _0x1f96(){var _0xd2140f=['words','getUnitOnRev','set','BlockCipher','_snapshotService','ICommandService','_initMergeInterceptor','RevisionService','_prevBlock','range','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','join','_eventService','_clearLocalCache','_waitForHeartbeatResponse','/universer-api/comb','salt','loadOfflineData','/collaborator','_snapshotServerService','transformMutationsWithChangeset','data','reduce','_getCurrentRevision','Base64','UNIVER_DOC','_getCtorByUniverType','allowed','localCacheService','image/jpg','SNAPSHOT_HAS_BEEN_REMOVED','APPLY_REVISION_CONFILICT','clone','session','_getLoginPath','_sheetTransformSelectionsService','UNIVER_UNKNOWN','floor','reqId','SheetCollaborationEntity','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','fetchMiss','/universer-api/oidc/authpage','incrementRevOfUnit','/fetchmissing?from=','DEFAULT_WS_SESSION_TICKET_URL','socket$','_pendingMutations','next','localeService','Inject','startTime','toDisposable','LIVESHARE_REQUEST_HOST','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','collaMsg','[DataLoaderService]','\x20-\x20','downloadEndpointUrl','_lockTransition','dispose','[OfflineState]:\x20received\x20changeset.','saveSnapshot','_nRounds','IDLE','_onConflict','length','CHANGESET_ACK','userID','MentionType','duration','IUniverInstanceService','conflict','title','APPLY_PERMISSION_DENIED','sendChangesetTimeout','UnitStatus','_HTTPService','takeUntil','unitId','_members$','[CollaborationEntity]','generateRandomId','textRanges','now','onTransformSelections','CONFLICT','_schedule','reset','_transformIMECache','_memberService','BASE64','JOIN_ROOM_FULL','batchAllowed','_removeRoom','snapshot','_process','UNKNOWN_CMD','byteLength','YUUMI_ALL_TABLES_IS_INVALID','INGEST','pauseCollaboration','_transformSelections','$super','INTERNAL_ERROR','DependentOn','_sendHeartbeat','registerDependencies','NOT_FOUND','isInternalEditorID','CollaborativeUndoRedoService','addHandlerCallback','collaboration-client.local-cache-service','onStateChange','CHANGESET_SHOULD_RETRY','transformUndoRedo','onTransformRemoteChangesetByStateCache','capture','symbol','COMPRESS_MUTATION_SEND','_resendTimer','string','interceptor','_onCombEvent','avatar','HmacSHA1','CollaborationEntity','_revisionService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','onRemoteAck','fetchThroughInterceptors','findIndex','_listenToNetworkCondition','/object/','createEncryptor','_telemetryInfo','key','LOCAL_CACHE_INTERVAL_KEY','result','enableSingleActiveInstanceLock','SessionStatus','LICENSE_DISTRO_REJECTED','createDecryptor','ITransformService','_event$','joinRsp','_syncEditingCollabCursor','auth.needGotoLoginAlert','UserProfileImg','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','pad','getOwnPropertyDescriptor','createCollaborator','_collaborationTimeoutTimer','_type','INVITE_CODE_ALREADY_BOUND','getCollabEntity$','_onMessage','Undefined','AwaitingState','PY_RUNTIME_SCRIPT_ERROR','IContextService','getConfig','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','has','univer-pro.collaboration-client.single-active-unit-service','catch','_entityInit$','EvpKDF','fromCharCode','toString','1194662ZxCmqt','8vhKZKX','_doProcessBlock','_doFinalize','TOO_MANY_REQUESTS','onTransformIME','objectActions','delete','iterations','UNIVER_COLLABORATION_CLIENT_PLUGIN','mutations','deserializeToCombResponse','62848YvfRJK','responseType','href','INVITE_CODE_REQUIRED','_configService','_rescheduleHeartbeat','CollaborationSocketService','_socket$','push','message$','_candidateSocket','People','?url=','getMemberID','_clearCollaborationTimeoutTimer','Malformed\x20UTF-8\x20data','_transformService','from','OfflineState','resourceIDs','commentUpdateEvent','_collaborationPaused','_localeService','1161891yXTkEI','authzUrl','Utf8','getImageSourceCache','charCodeAt','_map','sid','uploadFileServerUrl','loginUrlKey','socket\x20open.','_onConnectionFailed','substr','add','IUndoRedoService','UserManagerService','unitID','PendingState','x-univer-host','_socketMessageSubscription','get','unsubscribe','finalize','onSyncEditingCollabCursor','loadUnitOfRevision','[CollaborationSessionService]:\x20socket\x20error','_sendHeartbeatTimer','BehaviorSubject','getSheetId','getUnitStatus$','patch','error$','SNAPSHOT_URL_KEY','m2Prime','selections','_decreaseWaiting','reconnect','mixIn','JOINING','_stopTelemetryCollaborationNewChangeset','getDeserializedSheetBlock','disposeWithMe','IMentionIOService','msCrypto','/block/','saveSheetBlock','_ENC_XFORM_MODE','mapDocumentTypeToUniverType','_changesetSessionId','Failed\x20to\x20update\x20permission\x20point','_minBufferSize','GLOBAL_ROOMS_CNT_EXCEEDS','SerializableCipher','getCurrentUser','[CollaborationUndoRedoService]','deepClone','subject','actions','/universer-api/stream/file/upload','APPLY_DUPLICATED','decryptBlock','onRemoteRej','UNIVER_PROJECT','_getSendChangesetTimeout','splice','/universer-api/snapshot','session.room-not-exists','_sender','onMissingChangesets','create','_changesetReqId','_collabSessionService','ReplaySubject','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','commentUpdate$','MentionIoHttpService','loadSheet','_collaborationUIEventService','_updateLocalCache','defineProperty','roomInfos','COMPLETION_FINISHED','HMAC','subUnitId','infoRsp','map','[CollaborationState]:\x20apply\x20error!','AwaitingWithPendingState','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_invKeySchedule','CollaborationUIEventService','listRoles','collabWebSocketUrl','onlyLocal','_resendWithTimeout','requireSession','MOBILE_HAS_BEEN_BOUND','/universer-api/authz','liveShareOperation','stringify','_onFetchMissResult','withCredentials','_sendingTimer','_getUploadFileURL','_handlerCallback','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','MUTATION','_socketReady','encode','b64DecodeUnicode','_getRedoStack','USERS_ENTER','CollaborationEvent','_undoRedoService','delay','_roomCreated$','_exhaustRemoteChangesetQueue','_scheduleCompleteTimestamp','format','_parse','HEARTBEAT_TIMEOUT','registerHTTPInterceptor','getAllMembers','_createHelper','_config','sessionStatus','EMAIL_VERIFY_CODE_MISMATCH','_key','_commentUpdate$','MD5','unpad','_state','/unit/','HTTPRequest','_socket','HEARTBEAT_INTERVAL_KEY','_transformStack','_hasher','ENSURE_SNAPSHOT_EXECUTION','abs','url','YUUMI_NO_CUBOID_FOR_QUESTION','_clearRedo','body','getTime','USER_NOT_INVITED_CODE','members','YUUMI_ASYNCIO_CANCELLED','createIdentifier','_transformStateCache','override','_onRemoteACK','c1Prime','Hasher','ConflictState','_substituteUndoStack','enc','_singleActiveUnitService','file','members$','setShowComponents','memberID','closeSession','collaboratorID','name','_scheduleCollaborationTimeoutTimer','fetch_missing','buffer','exports','equals','padding','PERSON','collabSubmitChangesetUrl','processBlock','size','PasswordBasedCipher','ciphertext','merge','pluginName','post','LIVESHARE_FETCH_OPERATIONS','_unitInfo$','pipe','_reverseMap','_keyPriorReset','putCollaborators','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','entityInit$','_onRemoteRetry','waitForRoom$','list','params','collaboration-client.config','Disposable','_acknowledgedAwaitingChangeset','sigBytes','Plugin','subscribe','apply','ThresholdInterceptorFactory','_updateStatus','MSG_FOR_ERROR','_getAPIPrefixPath','3323KrWeTi','confirm','uuidv4','onCommandExecuted','YUUMI_UNABLE_LOAD_URL','getValue','AuthzIoHttpService','YUUMI_AI_RUN_FAILED','_sessions','APPLY_REJECT','UniverNetworkPlugin','transformSelections','entries','sessionStatus$','[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.','_httpService','/rev/','_sessionStatus$','_getUndoStack','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','isTransformChangesetsSuccess','error','_localCacheService','fetching\x20missing\x20changesets\x20from\x20','find','_initCloseConn','cfg','ws://127.0.0.1:8000/universer-api/comb/connect','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','JOIN','_isPermissionRej','image/jpeg','target','headers','/-/object/list','INVITE_CODE_HAS_BEEN_UES','MemberService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','HTTPService','take','_onJoinRoomEvent','_queuedRemoteChangesets','_injector','firstValueFrom','_disableEditing','_getDownloadEndpointURL','_executeRemoteChangeset','hasOwnProperty','isArray','onLocalMutation','ImageSourceType','/object','HELLO','_replaceFileID','/universer-api/snapshot/','slice','_onOffline','cmd','originalMeta','[SyncedState]:\x20received\x20rejection.','_updateState','_clearUndo','_keySchedule','CommandType','setConfig','origin','_initDependencies','_clearTimeoutTimer','encodeURIComponent','_toggleOnline','random','DataLoaderService','EMAIL_HAS_BEEN_BOUND','setCurrentUser','[CollaborationSession]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getFocusedUnit','Latin1','csShouldRetryEvent','retryConnectingInterval','HttpExport','getCurrentRevOfUnit','_instanceService','696114HnPybL','_oKey','revision','_registerDependencies','&to=','initWorkbookPermissionChange','WECHAT_HAS_BEEN_BOUND','CLOSE_ROOM','submit\x20changeset\x20error!','IImageIoService','execute','LOCAL_CACHE_INTERVAL','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SOCKET_FAILED','univer-pro.collaboration-client-socket-service','_status$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','PSEUDO_FETCH_MISSING_RESULT','[CollaborationSessionService]','_xformMode','_socketService','_throwTelemetryCollaborationNewChangeset','serializeCombRequest','HmacMD5','session.room-cnt-exceeds','randomBytes','_undoStacks','prototype','hostname','WordArray','copyFileMeta','LIVESHARE_OPERATION','status$','_onRemoteChangeset','csRejEvent','_nDataBytes','stopTime','close$','_transformUndoredo','onload','event$','Could\x20not\x20dynamically\x20require\x20\x22','readAsDataURL','INVALID_INVITE_CODE','LICENSE_MAX_UNITS_EXCEEDED','_hash','every','DocCollaborationEntity','SheetsSelectionsService','isTransformMutationsWithChangesetSuccess','UNAUTHENTICATED','hasher','UNIVER_SLIDE','HEARTBEAT','Tools','_imageSourceCache','complete','RETRY_CONNECTING_MAX_COUNT_KEY','CollaborationImageIoService','telemetry\x20info\x20is\x20not\x20initialized','86bzSxpN','emitEvent','CHANGESET_REJ','Quantity','csAckEvent','getRandomValues','onRemoteChangeset','WorkbookEditablePermission','onTransformRemoteChangesetByIMECache','formatter','getInterceptPoints','_append','_toggleOffline','offline','_redoStacks','SyncedState','SnapshotService','_tryReconnect','_retryCount','DEFAULT_FILE_NAME','AES','SNAPSHOT_INVALID_SNAPSHOT','SYNCED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','OpenSSL','onCommentUpdate','_startTelemetryCollaborationNewChangeset','_getSignURL','debug','SnapshotServerOverHTTPService','removeMember','CollaborationSession','_onRemoteRejected','Base','459735dBvLXG','FAIL','updatePermissionObjEvent','_roomMembers','extend','resend','CollaborationSessionService','_doCreateSocket','PERMISSION_DENIED','enableOfflineEditing','append','_checkMissing','parseChangesetToProtocol','BlockCipherMode','_entities','_collaborationSessionService','charAt','_createHandler','_doCryptBlock','UPDATE_PERMISSION_OBJ','getUnitType','_unlockTransition','_resendTimeout','isPermissionRej','state','touchDependencies','APPLY_NON_SEQUENTIAL_REVISION','PERMISSION_REJ','sin','HttpImport','readInt32LE','session.room-full','_userManagerService','CBC','StreamCipher','LEAVE','__esModule','awaiting_with_pending','concat','ERROR_IMAGE','synced','Optional','function','USERS_LEAVE','EmptyMutation','state$','pending','_permissionService','_onLocalMutation','method','OPTIONAL','getUnit','algo','_initRequestHeader','baseRev','/-/object/-/batch_allowed','forEach','UnitSnapshot','LOGIN_FAILED','getMember','[OfflineState]:\x20received\x20rejection.','mergeOverrideWithDependencies','LIVESHARE_TERMINATE','CONNECTOR_DATA_TOO_LARGE','_logService','YUUMI_CONNECTOR_URL_NOT_FOUND','updatePermissionPoint','getGlobalObject','compute','sheets','getTypeOfUnitAdded$','init','_doReset','_univerInstanceService','UNISCRIPT_RUN','resolve','refreshPermission','_transformRemoteChangesetByIMECache','_init','ILogService','onTransformState','src','onSendChangeset','Injector','UNIVER_SHEET','ICollaborationSocketService','_compressMutationService','OTHER_CLIENT_EDITING','enableCollaboration','_retryConnectingTimer','parse','Encryptor','compose','\x20to\x20','indexOf','updateCollaborator','_change$','unitInfo$','SUBMIT_CHANGESET','getLocalCacheKey','unknown','socketService','permissionRejEvent','_DEC_XFORM_MODE','change$','_telemetryService','mode','AWAITING_WITH_PENDING','Workbook','CHANGESET_REVISION_CONFILICT','awaitingChangeset','location','_timeoutTimer','Rectangle','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','shareReplay','YUUMI_RATE_OVER_LIMIT','SetSelectionsOperation','LIVESHARE_NEW_HOST','parseProtocolChangeset','objectID','FetchingMissState','dispose$','ERROR_EXCEED_SIZE','deleteCollaborator','Subject','SHA1','getUnitId','_waitCount','434825GbZwdy','getImage','encrypt','replace','getSnapshotAPIPath','_substituteRedoStack','clamp','updateMember','_iv','YUUMI_SUBSCRIPTION_NOT_FOUND','loadUnit','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','filter','updateOfflineData','OFFLINE','SUBMIT_CHANGESET_TIMEOUT','focused$','eventID','UPDATE_CURSOR','UNDEFINED','RichTextEditingMutation','JOIN_ROOM_NOT_EXISTS','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','send','_createInitialStateImpl','_showConflictNotification','COMPRESS_MUTATION_APPLY','_shouldReportTelemetry','INVALID_ARGUMENT','_replayCachedMutations','_joinRoom','onRemoteRetry','IPermissionService','keySize','MOBILE_VERIFY_CODE_MISMATCH','_awaitingChangeset','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','objectType','ISnapshotServerService','RECV','UniverCollaborationClientPlugin','ERROR_IMAGE_TYPE','_unitID','_iKey','default','ALREADY_EXISTS','blockSize','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','UNKNOWN_CODE','call','NoPadding','reject','values','_members','/universer-api/uniscript','UNRECOGNIZED','\x20in\x20_schedule.','crypto','_handler','_networkConditionService','c2Prime','updateSnapshot','_createHmacHelper','CollaborationUIEventId','_commentService','joinEvent','_clearHeartbeatTimer','max','editing\x20status\x20changed\x20to','_transformRemoteChangesetByStateCache','appendMutation','_remoteChangesetQueue','getSheetBlock','changesets','NOT_COLLAB','[OfflineState]:\x20received\x20acknowledgement.','_createInitialState','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','HEARTBEAT_INTERVAL','_emitMembers','transformChangesets','collaborators','_submitChangeset','createSocket','connection\x20error','IAuthzIoService','textEncoder','Pkcs7','fromCollab','routeKey','getActiveSheet','_mode','_tryEnsureSocket','status','JSONX','UnitEmbedded','_applyRemoteChangeset','LocaleService','_incrementRevisionNumber','shouldCloseConn','snapshotServerUrl','OTHER_CLIENTS_EDITING','FileId','LICENSE_EXPORT_SIZE_EXCEEDED','SheetTransformSelectionsService','kdf','socket\x20close','_onRecvEvent','RxDisposable','JOIN_ROOM_PERMISSION_DENIED','code','executeCommand','ImageUploadStatusType','Cipher','workbook','_transitionLocked','UniverInstanceType','decrypt','requestParams','close','saveImage','getCollabEntity','update','POST','_cipher','_commandService','IConfigService','toggleOnline','CompressMutationService','BufferedBlockAlgorithm','_data','Decryptor','[FetchMissState]','Hex','newCsEvent','_initUnitPermissionChange','clear','ceil','_onUserJoin','liveShareNewHost','lib','JOIN_ROOM_FAILED','enableAuthServer','getTypeOfUnitDisposed$','loadDoc','toggleOffline','ivSize','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_clearRetryConnectingTimer','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','__creator','type','_getAPIPrefix','_clearScheduledTask','/allowed','LICENSE_IMPORT_SIZE_EXCEEDED','awaiting','ONLINE','Univer','SUCCUSS','asObservable','SOCKET_FAILED_RETRY','_createSocket','CollaborationController','&source=','getLatestCsReqIdBySid','createInstance','YUUMI_URL_COL_OUT_OF_RANGE'];_0x1f96=function(){return _0xd2140f;};return _0x1f96();}function gt(_0x53014f,_0x2f4538,_0x1c27c2,_0x278a5b,_0x2c1205,_0x26e8ba){var _0x2ca9e2=_0x2f6cf0;return _0x278a5b&&_0x2c1205[_0x2ca9e2(0x4ca)]?_0x53014f[_0x2ca9e2(0x486)](exports[_0x2ca9e2(0x239)],_0x2f4538,_0x1c27c2,_0x278a5b,_0x2c1205,_0x26e8ba,void 0x0):_0x278a5b?_0x53014f[_0x2ca9e2(0x486)](exports[_0x2ca9e2(0x527)],_0x2f4538,_0x1c27c2,_0x278a5b,_0x26e8ba):_0x2c1205[_0x2ca9e2(0x4ca)]?_0x53014f['createInstance'](exports['PendingState'],_0x2f4538,_0x1c27c2,_0x2c1205,_0x26e8ba):_0x53014f[_0x2ca9e2(0x486)](exports[_0x2ca9e2(0x34c)],_0x2f4538,_0x1c27c2,_0x26e8ba);}var ci=Object[_0x2f6cf0(0x51f)],Fe=(_0x118008,_0xd9c93,_0x195219,_0x1e80fe)=>{var _0x448291=_0x2f6cf0;for(var _0xe26fc1=_0x1e80fe>0x1?void 0x0:_0x1e80fe?ci(_0xd9c93,_0x195219):_0xd9c93,_0x2da8e0=_0x118008[_0x448291(0x4ca)]-0x1,_0x9b51f6;_0x2da8e0>=0x0;_0x2da8e0--)(_0x9b51f6=_0x118008[_0x2da8e0])&&(_0xe26fc1=_0x9b51f6(_0xe26fc1)||_0xe26fc1);return _0xe26fc1;},j=(_0x176a89,_0x2938fc)=>(_0x2c4d78,_0x441b69)=>_0x2938fc(_0x2c4d78,_0x441b69,_0x176a89);exports[_0x2f6cf0(0x506)]=class extends a['RxDisposable']{constructor(_0xe7f50d,_0x1a46a9,_0x32b9fe,_0xc72485,_0x42a9d5,_0xa3990e,_0x487417,_0x2e2ad1,_0x2b78fd,_0x34e6dd,_0x46a3d5,_0x4631dd,_0x56becd){var _0x50b186=_0x2f6cf0;super(),A(this,'_state$',new H[(_0x50b186(0x1fd))](null)),A(this,_0x50b186(0x38c),this['_state$']['asObservable']()),A(this,_0x50b186(0x265)),A(this,'_collaborationPaused',!0x1),A(this,_0x50b186(0x212),''),A(this,'_changesetReqId',0x0),A(this,'status$',this[_0x50b186(0x38c)][_0x50b186(0x298)](H[_0x50b186(0x237)](_0x14c659=>_0x14c659?_0x14c659[_0x50b186(0x43d)]:Be[_0x50b186(0x3ee)]),H[_0x50b186(0x3d2)](0x1))),A(this,_0x50b186(0x453),!0x1),A(this,_0x50b186(0x427),[]),(this['unitID']=_0xe7f50d,this[_0x50b186(0x4a9)]=_0x1a46a9,this['_type']=_0x32b9fe,this[_0x50b186(0x2d8)]=_0xc72485,this[_0x50b186(0x3b5)]=_0x42a9d5,this['_localeService']=_0xa3990e,this[_0x50b186(0x507)]=_0x487417,this[_0x50b186(0x494)]=_0x2e2ad1,this[_0x50b186(0x39f)]=_0x2b78fd,this[_0x50b186(0x45d)]=_0x34e6dd,this['_permissionService']=_0x46a3d5,this[_0x50b186(0x27f)]=_0x4631dd,this[_0x50b186(0x2c3)]=_0x56becd);}get[_0x2f6cf0(0x377)](){var _0x1aee04=_0x2f6cf0;return this[_0x1aee04(0x265)];}async[_0x2f6cf0(0x3a6)](){var _0x13c795=_0x2f6cf0;if(this[_0x13c795(0x377)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x13c795(0x3ad)]();}[_0x2f6cf0(0x4ed)](){var _0x2a069b=_0x2f6cf0;return this[_0x2a069b(0x554)]=!0x0,a['toDisposable'](()=>{var _0x2ecc94=_0x2a069b;this['_collaborationPaused']=!0x1,this[_0x2ecc94(0x256)]();});}[_0x2f6cf0(0x2df)](_0xd48de4){var _0x8d9927=_0x2f6cf0;this[_0x8d9927(0x38f)](_0xd48de4);}[_0x2f6cf0(0x2ea)](_0x31b8d0){var _0x474e8d=_0x2f6cf0;this[_0x474e8d(0x265)]=_0x31b8d0,this['_state$'][_0x474e8d(0x4b8)](_0x31b8d0);}async[_0x2f6cf0(0x3ad)](){var _0x3094fb=_0x2f6cf0,_0xfa0404;this[_0x3094fb(0x2ea)](await this[_0x3094fb(0x42c)]()),this['_singleActiveUnitService']&&((_0xfa0404=this[_0x3094fb(0x27f)])==null||_0xfa0404['editingUnit'](this[_0x3094fb(0x1f2)]),this[_0x3094fb(0x20b)](this[_0x3094fb(0x27f)][_0x3094fb(0x1ff)](this[_0x3094fb(0x1f2)])[_0x3094fb(0x2a7)](_0xd60d24=>{var _0x1b0c3c=_0x3094fb;this[_0x1b0c3c(0x39f)][_0x1b0c3c(0x359)]('[CollaborationEntity]',_0x1b0c3c(0x424),_0xd60d24),_0xd60d24===je[_0x1b0c3c(0x445)]?(this[_0x1b0c3c(0x494)][_0x1b0c3c(0x33e)]({'id':Z[_0x1b0c3c(0x3b6)]}),this[_0x1b0c3c(0x38e)]['updatePermissionPoint'](new X[(_0x1b0c3c(0x344))](this[_0x1b0c3c(0x1f2)])['id'],!0x1),this[_0x1b0c3c(0x38e)][_0x1b0c3c(0x282)](!0x1)):(this[_0x1b0c3c(0x38e)][_0x1b0c3c(0x3a1)](new X[(_0x1b0c3c(0x344))](this['unitID'])['id'],!0x0),this[_0x1b0c3c(0x38e)][_0x1b0c3c(0x282)](!0x0));})));let _0xb1e326=!0x1;return this[_0x3094fb(0x20b)](this[_0x3094fb(0x4a9)]['sessionStatus$']['subscribe'](_0x43c426=>{var _0x5efbad=_0x3094fb;_0x43c426===re[_0x5efbad(0x47d)]?this[_0x5efbad(0x2f3)](_0xb1e326):_0x43c426===re['OFFLINE']&&(_0xb1e326=!0x0,this[_0x5efbad(0x349)]());})),this[_0x3094fb(0x20b)](this[_0x3094fb(0x4a9)][_0x3094fb(0x329)][_0x3094fb(0x2a7)](_0x396193=>{var _0x42ef74=_0x3094fb;try{switch(_0x396193[_0x42ef74(0x3f1)]){case p[_0x42ef74(0x252)]['NEW_CHANGESETS']:{this['_onRemoteChangeset'](p['parseProtocolChangeset'](_0x396193[_0x42ef74(0x49d)]));break;}case p[_0x42ef74(0x252)]['CHANGESET_ACK']:{this[_0x42ef74(0x279)](_0x396193[_0x42ef74(0x49d)]);break;}case p['CollaborationEvent'][_0x42ef74(0x33f)]:{this[_0x42ef74(0x35d)]();break;}case p[_0x42ef74(0x252)][_0x42ef74(0x4fa)]:{this[_0x42ef74(0x29e)](_0x396193[_0x42ef74(0x49d)]);break;}case p[_0x42ef74(0x252)][_0x42ef74(0x312)]:{this[_0x42ef74(0x246)](_0x396193[_0x42ef74(0x49d)][_0x42ef74(0x429)][_0x42ef74(0x237)](_0x3aa1a2=>p[_0x42ef74(0x3d6)](_0x3aa1a2)));break;}case p[_0x42ef74(0x252)][_0x42ef74(0x37a)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case p[_0x42ef74(0x252)][_0x42ef74(0x3a9)]:break;}}catch(_0x1de56f){throw console[_0x42ef74(0x2c2)]('Error\x20on\x20receiving\x20event',_0x1de56f),_0x1de56f;}})),this[_0x3094fb(0x265)];}['_unlockTransition'](){var _0x27fa59=_0x2f6cf0;this[_0x27fa59(0x453)]=!0x1;}[_0x2f6cf0(0x4c3)](){var _0x4c2e16=_0x2f6cf0;if(this['_transitionLocked'])throw new Error(_0x4c2e16(0x2bb));this[_0x4c2e16(0x453)]=!0x0;}[_0x2f6cf0(0x38f)](_0x56cbd0){var _0x5437dd=_0x2f6cf0;this[_0x5437dd(0x4c3)](),this[_0x5437dd(0x2ea)](this[_0x5437dd(0x265)][_0x5437dd(0x426)](_0x56cbd0)),this[_0x5437dd(0x374)]();}[_0x2f6cf0(0x322)](_0x2e919b){var _0x13635c=_0x2f6cf0;if(!(_0x2e919b[_0x13635c(0x303)]<=this['_revisionService'][_0x13635c(0x2ff)](this['unitID']))){if(this[_0x13635c(0x554)]){this[_0x13635c(0x427)][_0x13635c(0x547)](_0x2e919b);return;}this[_0x13635c(0x440)](_0x2e919b);}}['_exhaustRemoteChangesetQueue'](){var _0x45ad5d=_0x2f6cf0;this[_0x45ad5d(0x427)][_0x45ad5d(0x397)](_0x6401b5=>this['_applyRemoteChangeset'](_0x6401b5)),this[_0x45ad5d(0x427)]=[];}[_0x2f6cf0(0x440)](_0x15b4a1){var _0x4fa2d5=_0x2f6cf0;const _0x27b87a=this[_0x4fa2d5(0x3b5)][_0x4fa2d5(0x502)]['fetchThroughInterceptors'](this[_0x4fa2d5(0x3b5)]['interceptor'][_0x4fa2d5(0x347)]()[_0x4fa2d5(0x3fa)])(_0x15b4a1['mutations'],null)||_0x15b4a1[_0x4fa2d5(0x53d)],_0x3103f8={..._0x15b4a1,'mutations':_0x27b87a};this['_lockTransition'](),this[_0x4fa2d5(0x2ea)](this['_state'][_0x4fa2d5(0x343)](_0x3103f8)),this[_0x4fa2d5(0x374)]();}[_0x2f6cf0(0x279)](_0x95dc88){var _0x362c45=_0x2f6cf0;this[_0x362c45(0x4c3)](),this[_0x362c45(0x2ea)](this['_state'][_0x362c45(0x509)](_0x95dc88)),this['_unlockTransition']();}['_onRemoteRejected'](_0x5e55bc){var _0x516ae6=_0x2f6cf0;this[_0x516ae6(0x4c3)](),this['_updateState'](this[_0x516ae6(0x265)][_0x516ae6(0x21f)](_0x5e55bc)),this['_unlockTransition']();}[_0x2f6cf0(0x29e)](_0x20c151){var _0x1a8fcf=_0x2f6cf0;this[_0x1a8fcf(0x4c3)](),this['_updateState'](this[_0x1a8fcf(0x265)][_0x1a8fcf(0x3ff)](_0x20c151)),this[_0x1a8fcf(0x374)]();}['_onFetchMissResult'](_0x3808f9){var _0x15c590=_0x2f6cf0;if(!(this[_0x15c590(0x265)]instanceof exports[_0x15c590(0x3d8)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x2fc04c=_0x3808f9[_0x15c590(0x237)](_0x34c828=>{var _0x2b351d=_0x15c590;const _0x1dfa99=this[_0x2b351d(0x3b5)][_0x2b351d(0x502)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x2b351d(0x502)]['getInterceptPoints']()[_0x2b351d(0x3fa)])(_0x34c828[_0x2b351d(0x53d)],null)||_0x34c828[_0x2b351d(0x53d)];return{..._0x34c828,'mutations':_0x1dfa99};});this[_0x15c590(0x4c3)](),this[_0x15c590(0x2ea)](this[_0x15c590(0x265)]['onMissedChangesetFetched'](_0x2fc04c)),this[_0x15c590(0x374)]();}[_0x2f6cf0(0x349)](){var _0x188ebb=_0x2f6cf0;this[_0x188ebb(0x4c3)](),this[_0x188ebb(0x2ea)](this[_0x188ebb(0x265)][_0x188ebb(0x471)]()),this['_unlockTransition']();}['_toggleOnline'](_0x57f34f=!0x1){var _0x35f266=_0x2f6cf0;this[_0x35f266(0x4c3)](),this[_0x35f266(0x2ea)](this[_0x35f266(0x265)][_0x35f266(0x45f)]()),this[_0x35f266(0x374)]();const _0x4cd1dd=this[_0x35f266(0x265)];_0x57f34f&&_0x4cd1dd instanceof exports['SyncedState']&&(this[_0x35f266(0x4c3)](),this[_0x35f266(0x2ea)](_0x4cd1dd['fetchMiss']()),this['_unlockTransition']());}async[_0x2f6cf0(0x42c)](){return new Promise(_0x1ed861=>{var _0x4fefaf=_0x30fe;this[_0x4fefaf(0x4a9)][_0x4fefaf(0x2ba)][_0x4fefaf(0x298)](H[_0x4fefaf(0x2d5)](0x1))[_0x4fefaf(0x2a7)](async _0x3318f9=>{var _0x4b2cff=_0x4fefaf;_0x1ed861(await this[_0x4b2cff(0x3f8)](_0x3318f9===re[_0x4b2cff(0x47d)]));});});}[_0x2f6cf0(0x370)](){var _0x359e3a=_0x2f6cf0;const _0x2118a3=this[_0x359e3a(0x1f2)];return{'onStateChange':(_0x2cee5a,_0x2212c7)=>{var _0x5a70ef=_0x359e3a;if(_0x2cee5a!==this[_0x5a70ef(0x265)])throw new Error(_0x5a70ef(0x404)+_0x2cee5a['status']+'\x0aAfter:\x20'+_0x2212c7[_0x5a70ef(0x43d)]+'\x0aCurrent:\x20'+this[_0x5a70ef(0x265)][_0x5a70ef(0x43d)]);this[_0x5a70ef(0x2ea)](_0x2212c7);},'onSendChangeset':_0x4e5234=>{var _0x3077ca=_0x359e3a;_0x4e5234[_0x3077ca(0x55c)]||(_0x4e5234['sid']=this[_0x3077ca(0x212)],_0x4e5234[_0x3077ca(0x4ae)]=++this[_0x3077ca(0x228)]);const _0x466724={'eventID':p[_0x3077ca(0x252)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x4e5234[_0x3077ca(0x1f2)],'unitType':this['_type'],'changeset':_0x4e5234,'memberID':this['session'][_0x3077ca(0x54c)]()}};this['session'][_0x3077ca(0x3f7)](_0x466724,this['unitID']);},'onMissingChangesets':({from:_0x23483f,to:_0x3976dc})=>{var _0x58510a=_0x359e3a;this[_0x58510a(0x39f)][_0x58510a(0x359)](_0x58510a(0x4d9),_0x58510a(0x2c4)+_0x23483f+_0x58510a(0x3bc)+_0x3976dc);const _0xe9a4aa={'eventID':p[_0x58510a(0x252)]['FETCH_MISSING'],'data':{'unitID':_0x2118a3,'unitType':this[_0x58510a(0x522)],'from':_0x23483f,'to':_0x3976dc}};this['session'][_0x58510a(0x3f7)](_0xe9a4aa,this['unitID']);}};}async['_createInitialStateImpl'](_0x3003f2){var _0x286a73=_0x2f6cf0,_0x49d800,_0x3ad816,_0x91f9dc;const _0x1417d6=await((_0x49d800=this[_0x286a73(0x2c3)])==null?void 0x0:_0x49d800[_0x286a73(0x499)](this[_0x286a73(0x1f2)])),_0x1cc3a2=(_0x3ad816=_0x1417d6==null?void 0x0:_0x1417d6[_0x286a73(0x53d)])!=null?_0x3ad816:[],_0x45beb0=(_0x91f9dc=_0x1417d6==null?void 0x0:_0x1417d6[_0x286a73(0x3cd)])!=null?_0x91f9dc:null,_0x658a74=!!(_0x45beb0!=null&&_0x45beb0[_0x286a73(0x55c)])&&!!(_0x45beb0!=null&&_0x45beb0[_0x286a73(0x4ae)]);this[_0x286a73(0x212)]=_0x658a74?_0x45beb0[_0x286a73(0x55c)]:p[_0x286a73(0x2af)](),this[_0x286a73(0x228)]=_0x658a74?_0x45beb0[_0x286a73(0x4ae)]:0x0;const _0x4bd275=this[_0x286a73(0x1f2)];try{this[_0x286a73(0x3fd)](_0x45beb0,_0x1cc3a2);}catch(_0x1d34b0){this[_0x286a73(0x39f)][_0x286a73(0x2c2)](_0x1d34b0);}const _0x3b4a51=this[_0x286a73(0x370)]();if(_0x3003f2){const _0x241c15=gt(this[_0x286a73(0x2d8)],_0x4bd275,this[_0x286a73(0x522)],_0x45beb0,_0x1cc3a2,_0x3b4a51);return _0x241c15 instanceof exports[_0x286a73(0x1f3)]?_0x241c15[_0x286a73(0x4df)]():(_0x241c15 instanceof exports[_0x286a73(0x239)]||_0x241c15 instanceof exports[_0x286a73(0x527)])&&_0x241c15[_0x286a73(0x364)](),_0x241c15;}return this[_0x286a73(0x2d8)]['createInstance'](exports[_0x286a73(0x551)],_0x4bd275,this['_type'],_0x45beb0,_0x1cc3a2,_0x3b4a51);}['_replayCachedMutations'](_0x31d2dd,_0x18e2c7){var _0x40665b=_0x2f6cf0,_0x4a3650,_0x3aa987;const _0x7d5b6b=this[_0x40665b(0x3b5)][_0x40665b(0x502)][_0x40665b(0x50a)](this['_compressMutationService'][_0x40665b(0x502)][_0x40665b(0x347)]()[_0x40665b(0x3fa)]);(_0x4a3650=_0x7d5b6b((_0x31d2dd==null?void 0x0:_0x31d2dd[_0x40665b(0x53d)])||[],null))==null||_0x4a3650[_0x40665b(0x397)](_0x4c6676=>this[_0x40665b(0x45d)][_0x40665b(0x44f)](_0x4c6676['id'],_0x4c6676['params'])),(_0x3aa987=_0x7d5b6b(_0x18e2c7||[],null))==null||_0x3aa987[_0x40665b(0x397)](_0x532bf4=>this['_commandService'][_0x40665b(0x44f)](_0x532bf4['id'],_0x532bf4[_0x40665b(0x2a1)]));}},exports[_0x2f6cf0(0x506)]=Fe([j(0x3,a['Inject'](a[_0x2f6cf0(0x3b2)])),j(0x4,a[_0x2f6cf0(0x4ba)](p[_0x2f6cf0(0x460)])),j(0x5,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x441)])),j(0x6,a[_0x2f6cf0(0x4ba)](p[_0x2f6cf0(0x48f)])),j(0x7,a[_0x2f6cf0(0x4ba)](ee)),j(0x8,a[_0x2f6cf0(0x3ae)]),j(0x9,a['ICommandService']),j(0xa,a['IPermissionService']),j(0xb,a[_0x2f6cf0(0x388)](de)),j(0xc,a['Optional'](K))],exports[_0x2f6cf0(0x506)]),exports[_0x2f6cf0(0x330)]=class extends exports['CollaborationEntity']{constructor(_0x10401c,_0x124f19,_0x89d933,_0x54b246,_0x11ff78,_0x2f7ecd,_0x627233,_0x27a707,_0x40eeab,_0x29e153,_0x426b32,_0x13c7ae,_0x370220){var _0x202c7c=_0x2f6cf0;super(_0x10401c,_0x89d933,_0x124f19,_0x54b246,_0x11ff78,_0x2f7ecd,_0x627233,_0x27a707,_0x40eeab,_0x29e153,_0x426b32,_0x13c7ae,_0x370220),A(this,_0x202c7c(0x24a),null),(this[_0x202c7c(0x1f2)]=_0x10401c,this[_0x202c7c(0x477)]=_0x124f19);}[_0x2f6cf0(0x4f7)](_0x424ac2){var _0x415ed4=_0x2f6cf0;this[_0x415ed4(0x24a)]=_0x424ac2;}[_0x2f6cf0(0x4c4)](){var _0x2e8694=_0x2f6cf0;this[_0x2e8694(0x24a)]=null,super[_0x2e8694(0x4c4)]();}['_createHandler'](){var _0x2018d8=_0x2f6cf0;const _0x56c343=super[_0x2018d8(0x370)]();return _0x56c343[_0x2018d8(0x538)]=_0x23a4ff=>{var _0x55fda9=_0x2018d8,_0x4c041b,_0x71fb75;return(_0x71fb75=(_0x4c041b=this[_0x55fda9(0x24a)])==null?void 0x0:_0x4c041b[_0x55fda9(0x538)])==null?void 0x0:_0x71fb75[_0x55fda9(0x411)](_0x4c041b,_0x23a4ff);},_0x56c343[_0x2018d8(0x3af)]=_0x1d01f5=>{var _0x1f952c=_0x2018d8,_0xb40baf,_0x230ab4;return(_0x230ab4=(_0xb40baf=this['_handlerCallback'])==null?void 0x0:_0xb40baf[_0x1f952c(0x3af)])==null?void 0x0:_0x230ab4[_0x1f952c(0x411)](_0xb40baf,_0x1d01f5);},_0x56c343['onTransformSelections']=_0xaecec=>{var _0xfb4599=_0x2018d8,_0x4b2a5c,_0x293e21;return(_0x293e21=(_0x4b2a5c=this[_0xfb4599(0x24a)])==null?void 0x0:_0x4b2a5c['onTransformSelections'])==null?void 0x0:_0x293e21[_0xfb4599(0x411)](_0x4b2a5c,_0xaecec);},_0x56c343[_0x2018d8(0x1f9)]=_0x31620a=>{var _0x3a84a4,_0x16162a;return(_0x16162a=(_0x3a84a4=this['_handlerCallback'])==null?void 0x0:_0x3a84a4['onSyncEditingCollabCursor'])==null?void 0x0:_0x16162a['call'](_0x3a84a4,_0x31620a);},_0x56c343[_0x2018d8(0x345)]=_0x3037da=>{var _0x4cee35=_0x2018d8,_0x71cd87,_0x2326b4,_0x10431d;if(!((_0x71cd87=this['_handlerCallback'])!=null&&_0x71cd87['onTransformRemoteChangesetByIMECache']))throw new Error(_0x4cee35(0x4be));return(_0x10431d=(_0x2326b4=this[_0x4cee35(0x24a)])==null?void 0x0:_0x2326b4['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x10431d[_0x4cee35(0x411)](_0x2326b4,_0x3037da);},_0x56c343[_0x2018d8(0x4fc)]=_0x25184a=>{var _0x203341=_0x2018d8,_0x3c6aa6,_0xbe6291,_0x5a99c0;if(!((_0x3c6aa6=this[_0x203341(0x24a)])!=null&&_0x3c6aa6[_0x203341(0x4fc)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x5a99c0=(_0xbe6291=this[_0x203341(0x24a)])==null?void 0x0:_0xbe6291[_0x203341(0x4fc)])==null?void 0x0:_0x5a99c0[_0x203341(0x411)](_0xbe6291,_0x25184a);},_0x56c343;}async['_init'](){var _0x51af02=_0x2f6cf0;const _0x25741b=await super[_0x51af02(0x3ad)]();return this[_0x51af02(0x20b)](this[_0x51af02(0x45d)][_0x51af02(0x2b0)]((_0x2fddea,_0x26f854)=>{var _0x3e61dc=_0x51af02;if(_0x2fddea['type']!==a['CommandType'][_0x3e61dc(0x24c)]||_0x26f854!=null&&_0x26f854[_0x3e61dc(0x438)]||_0x26f854!=null&&_0x26f854[_0x3e61dc(0x23f)]||_0x2fddea['id']===ct[_0x3e61dc(0x3f4)]['id'])return;const _0x2ce18a=_0x2fddea['params'];if((_0x2ce18a==null?void 0x0:_0x2ce18a[_0x3e61dc(0x4d7)])!==this['unitID'])return;const _0x400880=_0x2fddea,_0x2d275e=this[_0x3e61dc(0x3b5)][_0x3e61dc(0x502)][_0x3e61dc(0x50a)](this[_0x3e61dc(0x3b5)]['interceptor']['getInterceptPoints']()[_0x3e61dc(0x4ff)])([_0x400880],null)||[_0x400880];this[_0x3e61dc(0x38f)](_0x2d275e[0x0]);})),_0x25741b;}},exports['DocCollaborationEntity']=Fe([j(0x3,a['Inject'](a[_0x2f6cf0(0x3b2)])),j(0x4,a[_0x2f6cf0(0x4ba)](p[_0x2f6cf0(0x460)])),j(0x5,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x441)])),j(0x6,a['Inject'](p['RevisionService'])),j(0x7,a[_0x2f6cf0(0x4ba)](ee)),j(0x8,a[_0x2f6cf0(0x3ae)]),j(0x9,a[_0x2f6cf0(0x48d)]),j(0xa,a['IPermissionService']),j(0xb,a[_0x2f6cf0(0x388)](de)),j(0xc,a[_0x2f6cf0(0x388)](K))],exports[_0x2f6cf0(0x330)]),exports['SheetCollaborationEntity']=class extends exports[_0x2f6cf0(0x506)]{constructor(_0x42fe92,_0x3a8724,_0x4fe1e1,_0x99215b,_0xdd1098,_0x3c74b1,_0x1a2626,_0x962aa8,_0x1afe74,_0x242c6e,_0x4cf0a5,_0xa83ceb,_0x24af26,_0x5e6d74){var _0x2c30a3=_0x2f6cf0;super(_0x42fe92,_0x4fe1e1,_0x3a8724,_0x99215b,_0xdd1098,_0x3c74b1,_0x1a2626,_0x1afe74,_0x242c6e,_0x4cf0a5,_0xa83ceb,_0x24af26,_0x5e6d74),this[_0x2c30a3(0x1f2)]=_0x42fe92,this[_0x2c30a3(0x477)]=_0x3a8724,this['_sheetTransformSelectionsService']=_0x962aa8;}[_0x2f6cf0(0x370)](){var _0x3b15d5=_0x2f6cf0;const _0x171f01=super[_0x3b15d5(0x370)]();return _0x171f01['onTransformSelections']=_0x105554=>this[_0x3b15d5(0x4ab)]['transformSelections'](_0x105554),_0x171f01;}async[_0x2f6cf0(0x3ad)](){var _0x1c5770=_0x2f6cf0;const _0x452466=await super[_0x1c5770(0x3ad)]();return this['disposeWithMe'](this[_0x1c5770(0x45d)][_0x1c5770(0x2b0)]((_0x25ec40,_0x18b82f)=>{var _0x6cc033=_0x1c5770;if(_0x25ec40[_0x6cc033(0x477)]!==a[_0x6cc033(0x2ed)]['MUTATION']||_0x18b82f!=null&&_0x18b82f[_0x6cc033(0x438)]||_0x18b82f!=null&&_0x18b82f['onlyLocal'])return;const _0x2a2117=_0x25ec40[_0x6cc033(0x2a1)];if((_0x2a2117==null?void 0x0:_0x2a2117[_0x6cc033(0x4d7)])!==this[_0x6cc033(0x1f2)])return;const _0x2cf6c0=_0x25ec40,_0xd757d8=this[_0x6cc033(0x3b5)][_0x6cc033(0x502)]['fetchThroughInterceptors'](this[_0x6cc033(0x3b5)][_0x6cc033(0x502)][_0x6cc033(0x347)]()[_0x6cc033(0x4ff)])([_0x2cf6c0],null)||[_0x2cf6c0];this[_0x6cc033(0x38f)](_0xd757d8[0x0]);})),_0x452466;}},exports[_0x2f6cf0(0x4af)]=Fe([j(0x3,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x3b2)])),j(0x4,a[_0x2f6cf0(0x4ba)](p['CompressMutationService'])),j(0x5,a['Inject'](a[_0x2f6cf0(0x441)])),j(0x6,a[_0x2f6cf0(0x4ba)](p[_0x2f6cf0(0x48f)])),j(0x7,a[_0x2f6cf0(0x4ba)](exports['SheetTransformSelectionsService'])),j(0x8,a[_0x2f6cf0(0x4ba)](ee)),j(0x9,a[_0x2f6cf0(0x3ae)]),j(0xa,a[_0x2f6cf0(0x48d)]),j(0xb,a[_0x2f6cf0(0x400)]),j(0xc,a[_0x2f6cf0(0x388)](de)),j(0xd,a[_0x2f6cf0(0x388)](K))],exports['SheetCollaborationEntity']);var hi=Object[_0x2f6cf0(0x51f)],_i=(_0x43ad8b,_0x41977,_0x2aad24,_0x54ccff)=>{var _0x116104=_0x2f6cf0;for(var _0x13104b=_0x54ccff>0x1?void 0x0:_0x54ccff?hi(_0x41977,_0x2aad24):_0x41977,_0x1d2787=_0x43ad8b[_0x116104(0x4ca)]-0x1,_0x12ea29;_0x1d2787>=0x0;_0x1d2787--)(_0x12ea29=_0x43ad8b[_0x1d2787])&&(_0x13104b=_0x12ea29(_0x13104b)||_0x13104b);return _0x13104b;},Se=(_0x52b019,_0x2bdce9)=>(_0x22f7f8,_0x2ce07a)=>_0x2bdce9(_0x22f7f8,_0x2ce07a,_0x52b019);exports[_0x2f6cf0(0x483)]=class extends a[_0x2f6cf0(0x44c)]{constructor(_0x14e436,_0x57057a,_0x4ee007,_0x469ffa){var _0x1d83b6=_0x2f6cf0,_0x4eb78e;super(),A(this,_0x1d83b6(0x36d),new Map()),A(this,_0x1d83b6(0x52f),new H[(_0x1d83b6(0x3dc))]()),A(this,_0x1d83b6(0x29d),this['_entityInit$'][_0x1d83b6(0x480)]()),(this[_0x1d83b6(0x2d8)]=_0x14e436,this[_0x1d83b6(0x229)]=_0x57057a,this[_0x1d83b6(0x543)]=_0x4ee007,this[_0x1d83b6(0x3a8)]=_0x469ffa,((_0x4eb78e=this[_0x1d83b6(0x543)][_0x1d83b6(0x52a)](Y))==null?void 0x0:_0x4eb78e[_0x1d83b6(0x3b7)])!==!0x1&&this['_init']());}[_0x2f6cf0(0x4c4)](){var _0x418b21=_0x2f6cf0;super[_0x418b21(0x4c4)](),this[_0x418b21(0x36d)][_0x418b21(0x397)](_0x1892df=>_0x1892df[_0x418b21(0x4c4)]()),this['_entities'][_0x418b21(0x468)]();}[_0x2f6cf0(0x459)](_0x7ad64e){var _0x40e30e=_0x2f6cf0,_0x14aa0e;return(_0x14aa0e=this[_0x40e30e(0x36d)][_0x40e30e(0x1f6)](_0x7ad64e))!=null?_0x14aa0e:null;}[_0x2f6cf0(0x524)](_0x4bce16){var _0x3ffb6d=_0x2f6cf0;const _0x27a9d9=this[_0x3ffb6d(0x459)](_0x4bce16);return _0x27a9d9?H['of'](_0x27a9d9):this[_0x3ffb6d(0x52f)]['pipe'](V['filter'](_0x5bef90=>_0x5bef90[_0x3ffb6d(0x1f2)]===_0x4bce16));}['readyForCollab'](_0x255aec){var _0x161d59=_0x2f6cf0;return H[_0x161d59(0x2d9)](this[_0x161d59(0x524)](_0x255aec)['pipe'](V[_0x161d59(0x237)](()=>{})));}[_0x2f6cf0(0x3ad)](){var _0x5dde6e=_0x2f6cf0;this['_univerInstanceService'][_0x5dde6e(0x3a5)](a['UniverInstanceType'][_0x5dde6e(0x3b3)])[_0x5dde6e(0x298)](H['takeUntil'](this[_0x5dde6e(0x3d9)]),V[_0x5dde6e(0x254)](0x10))['subscribe'](async _0x13d95a=>{var _0x369d6e=_0x5dde6e;const _0x3b0b82=_0x13d95a['getUnitId'](),_0x51d917=await this['_startCollaboration'](_0x3b0b82,J[_0x369d6e(0x3b3)]);this['_entities'][_0x369d6e(0x48a)](_0x3b0b82,_0x51d917);}),this[_0x5dde6e(0x3a8)]['getTypeOfUnitAdded$'](a[_0x5dde6e(0x454)]['UNIVER_DOC'])[_0x5dde6e(0x298)](H['takeUntil'](this[_0x5dde6e(0x3d9)]),V[_0x5dde6e(0x254)](0x10))[_0x5dde6e(0x298)](V[_0x5dde6e(0x3ec)](_0x1af134=>!_0x1af134['getUnitId']()['startsWith']('__')))['subscribe'](async _0x35f8cb=>{var _0x1551d3=_0x5dde6e;const _0xaa6810=_0x35f8cb[_0x1551d3(0x3de)](),_0x1bd0f1=await this['_startCollaboration'](_0xaa6810,J[_0x1551d3(0x4a1)]);this[_0x1551d3(0x36d)]['set'](_0xaa6810,_0x1bd0f1);}),H[_0x5dde6e(0x293)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x5dde6e(0x454)][_0x5dde6e(0x3b3)]),this[_0x5dde6e(0x3a8)][_0x5dde6e(0x46f)](a['UniverInstanceType'][_0x5dde6e(0x4a1)]))[_0x5dde6e(0x298)](H[_0x5dde6e(0x4d6)](this[_0x5dde6e(0x3d9)]))['subscribe'](_0xa0c138=>{var _0x479e92=_0x5dde6e;const _0x5aeb92=_0xa0c138[_0x479e92(0x3de)](),_0x195fa3=this[_0x479e92(0x36d)][_0x479e92(0x1f6)](_0x5aeb92);_0x195fa3&&(_0x195fa3[_0x479e92(0x4c4)](),this[_0x479e92(0x36d)][_0x479e92(0x53a)](_0x5aeb92));});}async['_startCollaboration'](_0xc0818d,_0xf12dda){var _0x705113=_0x2f6cf0;const _0x306301=await this[_0x705113(0x229)]['requireSession'](_0xc0818d),_0x20a156=this[_0x705113(0x2d8)][_0x705113(0x486)](this[_0x705113(0x4a2)](_0xf12dda),_0xc0818d,_0xf12dda,_0x306301);return await _0x20a156[_0x705113(0x3a6)](),this['_entityInit$'][_0x705113(0x4b8)](_0x20a156),_0x20a156;}[_0x2f6cf0(0x4a2)](_0x4b1e2e){var _0x45aea0=_0x2f6cf0;switch(_0x4b1e2e){case J['UNIVER_DOC']:return exports[_0x45aea0(0x330)];case J[_0x45aea0(0x3b3)]:return exports[_0x45aea0(0x4af)];default:throw new Error(_0x45aea0(0x51d)+_0x4b1e2e);}}},exports['CollaborationController']=_i([Se(0x0,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x3b2)])),Se(0x1,a['Inject'](exports[_0x2f6cf0(0x365)])),Se(0x2,a[_0x2f6cf0(0x45e)]),Se(0x3,a['IUniverInstanceService'])],exports['CollaborationController']);var li=Object['getOwnPropertyDescriptor'],ui=(_0x520ae3,_0x539d56,_0x3b3982,_0x1b5141)=>{var _0x2da5c4=_0x2f6cf0;for(var _0x51ec7a=_0x1b5141>0x1?void 0x0:_0x1b5141?li(_0x539d56,_0x3b3982):_0x539d56,_0x30fbae=_0x520ae3[_0x2da5c4(0x4ca)]-0x1,_0x2baa41;_0x30fbae>=0x0;_0x30fbae--)(_0x2baa41=_0x520ae3[_0x30fbae])&&(_0x51ec7a=_0x2baa41(_0x51ec7a)||_0x51ec7a);return _0x51ec7a;},Ye=(_0x545de0,_0x5edb37)=>(_0x37e20a,_0xc208dc)=>_0x5edb37(_0x37e20a,_0xc208dc,_0x545de0);const di=_0x2f6cf0(0x350),vi=_0x2f6cf0(0x47e);let xe=class extends a[_0x2f6cf0(0x2a3)]{constructor(_0x1c45be,_0x42257a){var _0x19227b=_0x2f6cf0;super(),this[_0x19227b(0x3a8)]=_0x1c45be,this[_0x19227b(0x543)]=_0x42257a,this[_0x19227b(0x3ad)]();}[_0x2f6cf0(0x3ad)](){var _0x546c7d=_0x2f6cf0;this[_0x546c7d(0x20b)](this[_0x546c7d(0x3a8)][_0x546c7d(0x3f0)]['subscribe'](()=>{var _0x2f83ea=_0x546c7d,_0x335cc5;const _0x22bc97=this[_0x2f83ea(0x3a8)][_0x2f83ea(0x2fa)]();let _0x86c48c=(_0x335cc5=this[_0x2f83ea(0x543)][_0x2f83ea(0x52a)](di))!=null?_0x335cc5:vi;_0x22bc97 instanceof a[_0x2f83ea(0x3cb)]&&(_0x86c48c=_0x22bc97['name']),document[_0x2f83ea(0x4d1)]=_0x86c48c;}));}};xe=ui([Ye(0x0,a[_0x2f6cf0(0x4cf)]),Ye(0x1,a[_0x2f6cf0(0x45e)])],xe);var Si=Object[_0x2f6cf0(0x51f)],fi=(_0x181d7f,_0x3dd917,_0x4d21cd,_0x515325)=>{for(var _0x34e569=_0x515325>0x1?void 0x0:_0x515325?Si(_0x3dd917,_0x4d21cd):_0x3dd917,_0x5d84a0=_0x181d7f['length']-0x1,_0x55bbad;_0x5d84a0>=0x0;_0x5d84a0--)(_0x55bbad=_0x181d7f[_0x5d84a0])&&(_0x34e569=_0x55bbad(_0x34e569)||_0x34e569);return _0x34e569;},Ae=(_0x252a08,_0x4594ec)=>(_0x364b43,_0x198745)=>_0x4594ec(_0x364b43,_0x198745,_0x252a08);let ye=class{constructor(_0x53f49e,_0x3a94b4,_0x5ea81a){var _0x550efa=_0x2f6cf0;this[_0x550efa(0x543)]=_0x53f49e,this['_httpService']=_0x3a94b4,this['localeService']=_0x5ea81a,this['init']();}[_0x2f6cf0(0x3a6)](){var _0x5a627f=_0x2f6cf0;this[_0x5a627f(0x2bc)][_0x5a627f(0x25b)]({'priority':0x1,'interceptor':(_0x3945b6,_0x581b6c)=>_0x581b6c(_0x3945b6)[_0x5a627f(0x298)](H['concatMap'](async _0x338eb3=>{var _0x59c001=_0x5a627f;const _0x19b469=_0x338eb3;if(_0x19b469['status']===0x191){if(typeof window>'u')throw new Error(_0x59c001(0x473));if(window[_0x59c001(0x2ae)](this[_0x59c001(0x4b9)]['t'](_0x59c001(0x51b)))){const _0x400901=window[_0x59c001(0x2f2)](window[_0x59c001(0x3ce)]['href']);window[_0x59c001(0x3ce)][_0x59c001(0x541)]=this[_0x59c001(0x4aa)]()+_0x59c001(0x54b)+_0x400901;}}return _0x19b469;}))});}[_0x2f6cf0(0x4aa)](){var _0x29b82e=_0x2f6cf0,_0x3cc781;const _0x40ee9d=this['_configService'][_0x29b82e(0x52a)](Y);return(_0x3cc781=_0x40ee9d==null?void 0x0:_0x40ee9d[_0x29b82e(0x55e)])!=null?_0x3cc781:$t;}};ye=fi([Ae(0x0,a[_0x2f6cf0(0x45e)]),Ae(0x1,a[_0x2f6cf0(0x4ba)](q['HTTPService'])),Ae(0x2,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x441)]))],ye);var Ii=Object['getOwnPropertyDescriptor'],pi=(_0x3665b3,_0x2e6143,_0x528633,_0x4149b5)=>{var _0x14bdf1=_0x2f6cf0;for(var _0x1b51ed=_0x4149b5>0x1?void 0x0:_0x4149b5?Ii(_0x2e6143,_0x528633):_0x2e6143,_0x1243ed=_0x3665b3[_0x14bdf1(0x4ca)]-0x1,_0x13664f;_0x1243ed>=0x0;_0x1243ed--)(_0x13664f=_0x3665b3[_0x1243ed])&&(_0x1b51ed=_0x13664f(_0x1b51ed)||_0x1b51ed);return _0x1b51ed;},qe=(_0x13f37f,_0x1a7cb3)=>(_0x4fa2b3,_0x19ad5f)=>_0x1a7cb3(_0x4fa2b3,_0x19ad5f,_0x13f37f);const mi=_0x2f6cf0(0x243);exports['AuthzIoHttpService']=class extends a['Disposable']{constructor(_0x46007f,_0x1eddef){var _0x5f2dde=_0x2f6cf0;super(),this[_0x5f2dde(0x4d5)]=_0x46007f,this[_0x5f2dde(0x543)]=_0x1eddef,this[_0x5f2dde(0x48e)]();}[_0x2f6cf0(0x48e)](){var _0x335d86=_0x2f6cf0;const _0x1e0561=this;this[_0x335d86(0x20b)](this[_0x335d86(0x4d5)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q['MergeInterceptorFactory']({'isMatch'(_0xa7c6f7){var _0x57ec16=_0x335d86,_0x245705;if(_0xa7c6f7[_0x57ec16(0x390)]===_0x57ec16(0x45b)&&((_0x245705=_0xa7c6f7[_0x57ec16(0x456)])!=null&&_0x245705[_0x57ec16(0x271)])){const {objectID:_0x26e4ad,objectType:_0x2cfc65}=_0xa7c6f7['requestParams'][_0x57ec16(0x271)]||{};if(!_0x26e4ad||_0x2cfc65===void 0x0)return!0x1;const _0x50d77f=_0x1e0561[_0x57ec16(0x2ac)]()+'/'+_0x2cfc65+_0x57ec16(0x50d)+_0x26e4ad+_0x57ec16(0x47a);if(_0xa7c6f7[_0x57ec16(0x26e)]===_0x50d77f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5540a0){var _0x220ff5=_0x335d86,_0x3cf787;return(_0x3cf787=_0x5540a0[_0x220ff5(0x456)])==null?void 0x0:_0x3cf787['body'];},'mergeParamsToRequest'(_0x2a77db,_0x1a4c6b){var _0x55812f=_0x335d86;const _0x36960f=_0x1e0561[_0x55812f(0x2ac)]()+_0x55812f(0x396),_0x80c01e=_0x2a77db['reduce']((_0x449405,_0xc921a8)=>{var _0x1427aa=_0x55812f;const {unitID:_0x44f3e4,objectID:_0x4cb724,objectType:_0x39b840,actions:_0x17e9fc}=_0xc921a8;return _0x449405[_0x44f3e4]||(_0x449405[_0x44f3e4]={}),_0x449405[_0x44f3e4][_0x4cb724]||(_0x449405[_0x44f3e4][_0x4cb724]={'objectID':_0x4cb724,'objectType':_0x39b840,'actions':[]}),_0x449405[_0x44f3e4][_0x4cb724][_0x1427aa(0x21b)][_0x1427aa(0x547)](..._0x17e9fc),_0x449405;},{}),_0x878735=[];for(const _0x2a1170 in _0x80c01e)for(const _0x152ff1 in _0x80c01e[_0x2a1170]){const {actions:_0x52cefe,objectType:_0xd0446c}=_0x80c01e[_0x2a1170][_0x152ff1],_0x17eb31=[...new Set(_0x52cefe)];_0x878735['push']({'unitID':_0x2a1170,'objectID':_0x152ff1,'objectType':_0xd0446c,'actions':_0x17eb31});}return new q[(_0x55812f(0x267))](_0x55812f(0x45b),_0x36960f,{'headers':_0x1a4c6b[_0x55812f(0x2cf)],'withCredentials':_0x1a4c6b[_0x55812f(0x247)],'responseType':_0x1a4c6b[_0x55812f(0x540)],'body':{'requests':_0x878735}});}},{'distributeResult'(_0x5005aa,_0x2d7fe4){const {objectActions:_0x32d192}=_0x5005aa;return _0x2d7fe4['map'](_0x271954=>{var _0x8c82b3=_0x30fe;const {unitID:_0x2a8eaf,objectID:_0x2d9a36,actions:_0x4e97ed}=_0x271954,_0x2ef5ca=_0x32d192[_0x8c82b3(0x2c5)](_0x307c75=>_0x307c75['unitID']===_0x2a8eaf&&_0x307c75[_0x8c82b3(0x3d7)]===_0x2d9a36),_0x4ba2e6=_0x4e97ed[_0x8c82b3(0x237)](_0xb94fc5=>_0x2ef5ca==null?void 0x0:_0x2ef5ca['actions']['find'](_0x4cd822=>_0x4cd822['action']===_0xb94fc5))[_0x8c82b3(0x3ec)](_0x2c2d5a=>!!_0x2c2d5a);return{'config':_0x271954,'result':{'actions':_0x4ba2e6,'error':_0x5005aa[_0x8c82b3(0x2c2)]}};});}})}));}['_getAPIPrefixPath'](){var _0x1be291=_0x2f6cf0,_0x178a43;const _0x399601=this[_0x1be291(0x543)][_0x1be291(0x52a)](Y);return(_0x178a43=_0x399601==null?void 0x0:_0x399601[_0x1be291(0x557)])!=null?_0x178a43:mi;}async[_0x2f6cf0(0x227)](_0x659c04){var _0x49d832=_0x2f6cf0;const _0x233c1c=this['_getAPIPrefixPath']()+'/'+_0x659c04[_0x49d832(0x405)]+_0x49d832(0x2e1);return(await this[_0x49d832(0x4d5)]['post'](_0x233c1c,{'body':_0x659c04}))[_0x49d832(0x271)][_0x49d832(0x3d7)]||'';}async[_0x2f6cf0(0x2a0)](_0xbcd641){var _0x36e409=_0x2f6cf0;const _0x4f8faa=this[_0x36e409(0x2ac)]()+_0x36e409(0x2d0);return(await this[_0x36e409(0x4d5)][_0x36e409(0x295)](_0x4f8faa,{'body':_0xbcd641}))['body']['objects'];}async['update'](_0x18c5ce){var _0x351b77=_0x2f6cf0,_0x2699eb,_0x13dbc4;const _0x2dad89=this[_0x351b77(0x2ac)]()+'/'+_0x18c5ce[_0x351b77(0x405)]+'/object/'+_0x18c5ce['objectID'],_0x2f197d=await this[_0x351b77(0x4d5)]['put'](_0x2dad89,{'body':_0x18c5ce});if(((_0x13dbc4=(_0x2699eb=_0x2f197d==null?void 0x0:_0x2f197d[_0x351b77(0x271)])==null?void 0x0:_0x2699eb[_0x351b77(0x2c2)])==null?void 0x0:_0x13dbc4[_0x351b77(0x44e)])!==0x1)throw new Error(_0x351b77(0x213));}async[_0x2f6cf0(0x4a3)](_0x1d531f){var _0xf5d8da=_0x2f6cf0;const _0x663071=this[_0xf5d8da(0x2ac)]()+'/'+_0x1d531f[_0xf5d8da(0x405)]+_0xf5d8da(0x50d)+_0x1d531f['objectID']+_0xf5d8da(0x47a);return(await this[_0xf5d8da(0x4d5)]['post'](_0x663071,{'body':_0x1d531f}))[_0xf5d8da(0x271)]['actions'];}async[_0x2f6cf0(0x4e5)](_0x1a42b7){var _0x5e0580=_0x2f6cf0;const _0x92a3af=this[_0x5e0580(0x2ac)]()+_0x5e0580(0x396);return(await this[_0x5e0580(0x4d5)]['post'](_0x92a3af,{'body':{'requests':_0x1a42b7}}))[_0x5e0580(0x271)][_0x5e0580(0x539)];}async[_0x2f6cf0(0x23d)](_0x729ef6){var _0x579418=_0x2f6cf0;const _0x331de5=this[_0x579418(0x2ac)]()+'/'+_0x729ef6[_0x579418(0x405)]+'/role',_0x188f56=await this[_0x579418(0x4d5)]['post'](_0x331de5,{'body':_0x729ef6});return{'roles':_0x188f56[_0x579418(0x271)]['roles'],'actions':_0x188f56['body'][_0x579418(0x21b)]};}async[_0x2f6cf0(0x3db)](_0x1b46a7){var _0xa19818=_0x2f6cf0;const _0x1e2aa7=this[_0xa19818(0x2ac)]()+_0xa19818(0x49a);await this[_0xa19818(0x4d5)][_0xa19818(0x53a)](_0x1e2aa7,{'params':{'collaboratorID':_0x1b46a7[_0xa19818(0x285)],'objectID':_0x1b46a7['objectID'],'unitID':_0x1b46a7[_0xa19818(0x1f2)]}});}async[_0x2f6cf0(0x3be)](_0x2c8e6b){var _0x556e85=_0x2f6cf0;const _0x9f7645=this[_0x556e85(0x2ac)]()+_0x556e85(0x49a);await this[_0x556e85(0x4d5)][_0x556e85(0x200)](_0x9f7645,{'body':_0x2c8e6b});}async[_0x2f6cf0(0x520)](_0x495271){var _0x2661da=_0x2f6cf0;const _0x2bec73=this[_0x2661da(0x2ac)]()+_0x2661da(0x49a);await this[_0x2661da(0x4d5)][_0x2661da(0x295)](_0x2bec73,{'body':_0x495271});}async['listCollaborators'](_0x42bb5e){var _0x43a44b=_0x2f6cf0;const _0x2900b1=this['_getAPIPrefixPath']()+_0x43a44b(0x49a);return(await this[_0x43a44b(0x4d5)][_0x43a44b(0x1f6)](_0x2900b1,{'params':{'objectID':_0x42bb5e['objectID'],'unitID':_0x42bb5e['unitID']}}))[_0x43a44b(0x271)][_0x43a44b(0x431)];}async[_0x2f6cf0(0x29b)](_0x58534a){var _0x28810b=_0x2f6cf0;const _0xc7566=this['_getAPIPrefixPath']()+_0x28810b(0x49a);await this[_0x28810b(0x4d5)]['put'](_0xc7566,{'body':_0x58534a});}},exports[_0x2f6cf0(0x2b3)]=pi([qe(0x0,a[_0x2f6cf0(0x4ba)](q['HTTPService'])),qe(0x1,a['Inject'](a[_0x2f6cf0(0x45e)]))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0xb247e1){var _0x546079=_0x2f6cf0;return _0xb247e1&&_0xb247e1[_0x546079(0x383)]&&Object[_0x546079(0x31c)][_0x546079(0x2dd)][_0x546079(0x411)](_0xb247e1,'default')?_0xb247e1[_0x546079(0x40c)]:_0xb247e1;}var fe={'exports':{}};function gi(_0x5cdbbe){var _0x1e005f=_0x2f6cf0;throw new Error(_0x1e005f(0x32a)+_0x5cdbbe+_0x1e005f(0x475));}var Ie={'exports':{}},Ei=Ie[_0x2f6cf0(0x28a)],Ke;function Q(){return Ke||(Ke=0x1,function(_0x42e79a,_0x55a5cd){(function(_0xfa52a8,_0x2fd88a){_0x42e79a['exports']=_0x2fd88a();}(Ei,function(){var _0x39d5f0=_0x39d5f0||function(_0xc1382f,_0x481ffc){var _0x3acba5=_0x30fe,_0x42e6f5;if(typeof window<'u'&&window[_0x3acba5(0x419)]&&(_0x42e6f5=window[_0x3acba5(0x419)]),typeof self<'u'&&self[_0x3acba5(0x419)]&&(_0x42e6f5=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x42e6f5=globalThis[_0x3acba5(0x419)]),!_0x42e6f5&&typeof window<'u'&&window[_0x3acba5(0x20d)]&&(_0x42e6f5=window[_0x3acba5(0x20d)]),!_0x42e6f5&&typeof Pe<'u'&&Pe[_0x3acba5(0x419)]&&(_0x42e6f5=Pe[_0x3acba5(0x419)]),!_0x42e6f5&&typeof gi=='function')try{_0x42e6f5=require('crypto');}catch{}var _0xae6c3f=function(){var _0x202b1c=_0x3acba5;if(_0x42e6f5){if(typeof _0x42e6f5[_0x202b1c(0x342)]==_0x202b1c(0x389))try{return _0x42e6f5[_0x202b1c(0x342)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x42e6f5[_0x202b1c(0x31a)]==_0x202b1c(0x389))try{return _0x42e6f5['randomBytes'](0x4)[_0x202b1c(0x37d)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0xdb0317=Object['create']||(function(){function _0xc565e1(){}return function(_0x3b129e){var _0x3f2123=_0x30fe,_0xe1814d;return _0xc565e1['prototype']=_0x3b129e,_0xe1814d=new _0xc565e1(),_0xc565e1[_0x3f2123(0x31c)]=null,_0xe1814d;};}()),_0x61b358={},_0x5dd5a7=_0x61b358[_0x3acba5(0x46c)]={},_0x218ccf=_0x5dd5a7[_0x3acba5(0x35e)]=(function(){return{'extend':function(_0x5804c5){var _0x51395e=_0x30fe,_0xcab3e2=_0xdb0317(this);return _0x5804c5&&_0xcab3e2[_0x51395e(0x207)](_0x5804c5),(!_0xcab3e2[_0x51395e(0x2dd)](_0x51395e(0x3a6))||this[_0x51395e(0x3a6)]===_0xcab3e2['init'])&&(_0xcab3e2[_0x51395e(0x3a6)]=function(){var _0x52e437=_0x51395e;_0xcab3e2[_0x52e437(0x4ef)]['init'][_0x52e437(0x2a8)](this,arguments);}),_0xcab3e2[_0x51395e(0x3a6)][_0x51395e(0x31c)]=_0xcab3e2,_0xcab3e2[_0x51395e(0x4ef)]=this,_0xcab3e2;},'create':function(){var _0x5db435=_0x30fe,_0x284021=this[_0x5db435(0x363)]();return _0x284021['init'][_0x5db435(0x2a8)](_0x284021,arguments),_0x284021;},'init':function(){},'mixIn':function(_0x3bbb26){var _0x5ebecb=_0x30fe;for(var _0x21c7d6 in _0x3bbb26)_0x3bbb26['hasOwnProperty'](_0x21c7d6)&&(this[_0x21c7d6]=_0x3bbb26[_0x21c7d6]);_0x3bbb26[_0x5ebecb(0x2dd)](_0x5ebecb(0x532))&&(this['toString']=_0x3bbb26[_0x5ebecb(0x532)]);},'clone':function(){var _0x50c326=_0x30fe;return this['init'][_0x50c326(0x31c)][_0x50c326(0x363)](this);}};}()),_0x2778e7=_0x5dd5a7['WordArray']=_0x218ccf[_0x3acba5(0x363)]({'init':function(_0x47de5d,_0x1631cd){var _0x58a3db=_0x3acba5;_0x47de5d=this['words']=_0x47de5d||[],_0x1631cd!=_0x481ffc?this[_0x58a3db(0x2a5)]=_0x1631cd:this[_0x58a3db(0x2a5)]=_0x47de5d['length']*0x4;},'toString':function(_0x1d7fc7){return(_0x1d7fc7||_0x3ece1b)['stringify'](this);},'concat':function(_0x2ff692){var _0x1f5460=_0x3acba5,_0x3be097=this['words'],_0x4f9995=_0x2ff692['words'],_0x15a0c6=this[_0x1f5460(0x2a5)],_0x591942=_0x2ff692[_0x1f5460(0x2a5)];if(this['clamp'](),_0x15a0c6%0x4)for(var _0xef20c6=0x0;_0xef20c6<_0x591942;_0xef20c6++){var _0x4f653e=_0x4f9995[_0xef20c6>>>0x2]>>>0x18-_0xef20c6%0x4*0x8&0xff;_0x3be097[_0x15a0c6+_0xef20c6>>>0x2]|=_0x4f653e<<0x18-(_0x15a0c6+_0xef20c6)%0x4*0x8;}else{for(var _0x1bcdad=0x0;_0x1bcdad<_0x591942;_0x1bcdad+=0x4)_0x3be097[_0x15a0c6+_0x1bcdad>>>0x2]=_0x4f9995[_0x1bcdad>>>0x2];}return this['sigBytes']+=_0x591942,this;},'clamp':function(){var _0x1bb8f7=_0x3acba5,_0x10bb25=this['words'],_0x1d73fb=this[_0x1bb8f7(0x2a5)];_0x10bb25[_0x1d73fb>>>0x2]&=0xffffffff<<0x20-_0x1d73fb%0x4*0x8,_0x10bb25[_0x1bb8f7(0x4ca)]=_0xc1382f[_0x1bb8f7(0x469)](_0x1d73fb/0x4);},'clone':function(){var _0x17cf36=_0x3acba5,_0x303d86=_0x218ccf['clone'][_0x17cf36(0x411)](this);return _0x303d86['words']=this[_0x17cf36(0x488)][_0x17cf36(0x2e5)](0x0),_0x303d86;},'random':function(_0x42c3c2){var _0x1e2776=_0x3acba5;for(var _0x505dc1=[],_0x2f1a75=0x0;_0x2f1a75<_0x42c3c2;_0x2f1a75+=0x4)_0x505dc1['push'](_0xae6c3f());return new _0x2778e7[(_0x1e2776(0x3a6))](_0x505dc1,_0x42c3c2);}}),_0x2b0d13=_0x61b358[_0x3acba5(0x27e)]={},_0x3ece1b=_0x2b0d13[_0x3acba5(0x465)]={'stringify':function(_0x47e769){var _0x3edff0=_0x3acba5;for(var _0x4c0505=_0x47e769[_0x3edff0(0x488)],_0xa5f6c2=_0x47e769[_0x3edff0(0x2a5)],_0x59c063=[],_0x40fd8e=0x0;_0x40fd8e<_0xa5f6c2;_0x40fd8e++){var _0xd7ff10=_0x4c0505[_0x40fd8e>>>0x2]>>>0x18-_0x40fd8e%0x4*0x8&0xff;_0x59c063[_0x3edff0(0x547)]((_0xd7ff10>>>0x4)[_0x3edff0(0x532)](0x10)),_0x59c063[_0x3edff0(0x547)]((_0xd7ff10&0xf)[_0x3edff0(0x532)](0x10));}return _0x59c063[_0x3edff0(0x493)]('');},'parse':function(_0x5d8a88){var _0x17bee3=_0x3acba5;for(var _0x44b9c0=_0x5d8a88[_0x17bee3(0x4ca)],_0x39fd3a=[],_0x30d771=0x0;_0x30d771<_0x44b9c0;_0x30d771+=0x2)_0x39fd3a[_0x30d771>>>0x3]|=parseInt(_0x5d8a88[_0x17bee3(0x561)](_0x30d771,0x2),0x10)<<0x18-_0x30d771%0x8*0x4;return new _0x2778e7[(_0x17bee3(0x3a6))](_0x39fd3a,_0x44b9c0/0x2);}},_0x161e86=_0x2b0d13[_0x3acba5(0x2fb)]={'stringify':function(_0x53e160){var _0x410905=_0x3acba5;for(var _0x4acb32=_0x53e160[_0x410905(0x488)],_0x45455f=_0x53e160[_0x410905(0x2a5)],_0x95688b=[],_0x59378f=0x0;_0x59378f<_0x45455f;_0x59378f++){var _0x3212f4=_0x4acb32[_0x59378f>>>0x2]>>>0x18-_0x59378f%0x4*0x8&0xff;_0x95688b['push'](String['fromCharCode'](_0x3212f4));}return _0x95688b['join']('');},'parse':function(_0xa96f79){var _0x386b1d=_0x3acba5;for(var _0x4ba7a8=_0xa96f79[_0x386b1d(0x4ca)],_0x38792b=[],_0x40334d=0x0;_0x40334d<_0x4ba7a8;_0x40334d++)_0x38792b[_0x40334d>>>0x2]|=(_0xa96f79[_0x386b1d(0x55a)](_0x40334d)&0xff)<<0x18-_0x40334d%0x4*0x8;return new _0x2778e7[(_0x386b1d(0x3a6))](_0x38792b,_0x4ba7a8);}},_0x5b1ca1=_0x2b0d13[_0x3acba5(0x558)]={'stringify':function(_0x3b100a){var _0x1cf9a8=_0x3acba5;try{return decodeURIComponent(escape(_0x161e86[_0x1cf9a8(0x245)](_0x3b100a)));}catch{throw new Error(_0x1cf9a8(0x54e));}},'parse':function(_0x2704a2){return _0x161e86['parse'](unescape(encodeURIComponent(_0x2704a2)));}},_0x9d3769=_0x5dd5a7[_0x3acba5(0x461)]=_0x218ccf[_0x3acba5(0x363)]({'reset':function(){var _0x391be8=_0x3acba5;this['_data']=new _0x2778e7[(_0x391be8(0x3a6))](),this[_0x391be8(0x324)]=0x0;},'_append':function(_0x43f2ab){var _0x1c3774=_0x3acba5;typeof _0x43f2ab==_0x1c3774(0x501)&&(_0x43f2ab=_0x5b1ca1['parse'](_0x43f2ab)),this['_data'][_0x1c3774(0x385)](_0x43f2ab),this['_nDataBytes']+=_0x43f2ab[_0x1c3774(0x2a5)];},'_process':function(_0x5736e3){var _0x733679=_0x3acba5,_0xa9c54d,_0x429eaa=this[_0x733679(0x462)],_0x1d89ca=_0x429eaa[_0x733679(0x488)],_0x1a2e71=_0x429eaa[_0x733679(0x2a5)],_0x4d89d3=this['blockSize'],_0x1060db=_0x4d89d3*0x4,_0xf183cf=_0x1a2e71/_0x1060db;_0x5736e3?_0xf183cf=_0xc1382f[_0x733679(0x469)](_0xf183cf):_0xf183cf=_0xc1382f[_0x733679(0x423)]((_0xf183cf|0x0)-this[_0x733679(0x214)],0x0);var _0x260877=_0xf183cf*_0x4d89d3,_0x9dfa15=_0xc1382f['min'](_0x260877*0x4,_0x1a2e71);if(_0x260877){for(var _0xc35259=0x0;_0xc35259<_0x260877;_0xc35259+=_0x4d89d3)this[_0x733679(0x535)](_0x1d89ca,_0xc35259);_0xa9c54d=_0x1d89ca[_0x733679(0x222)](0x0,_0x260877),_0x429eaa[_0x733679(0x2a5)]-=_0x9dfa15;}return new _0x2778e7['init'](_0xa9c54d,_0x9dfa15);},'clone':function(){var _0x1adba4=_0x3acba5,_0x4c2cff=_0x218ccf['clone']['call'](this);return _0x4c2cff[_0x1adba4(0x462)]=this[_0x1adba4(0x462)][_0x1adba4(0x4a8)](),_0x4c2cff;},'_minBufferSize':0x0});_0x5dd5a7[_0x3acba5(0x27b)]=_0x9d3769[_0x3acba5(0x363)]({'cfg':_0x218ccf[_0x3acba5(0x363)](),'init':function(_0x40cbe7){var _0x4bbc8a=_0x3acba5;this[_0x4bbc8a(0x2c7)]=this[_0x4bbc8a(0x2c7)]['extend'](_0x40cbe7),this['reset']();},'reset':function(){var _0x42f968=_0x3acba5;_0x9d3769[_0x42f968(0x4e0)][_0x42f968(0x411)](this),this[_0x42f968(0x3a7)]();},'update':function(_0x4098f2){return this['_append'](_0x4098f2),this['_process'](),this;},'finalize':function(_0x145c97){var _0x53cb78=_0x3acba5;_0x145c97&&this['_append'](_0x145c97);var _0x49ce95=this[_0x53cb78(0x536)]();return _0x49ce95;},'blockSize':0x10,'_createHelper':function(_0x29dbdc){return function(_0x54a63c,_0x3c095c){var _0x5ff169=_0x30fe;return new _0x29dbdc[(_0x5ff169(0x3a6))](_0x3c095c)['finalize'](_0x54a63c);};},'_createHmacHelper':function(_0x5e4edd){return function(_0x21ebc6,_0x4326d5){var _0x3e94bd=_0x30fe;return new _0x4e8d81[(_0x3e94bd(0x234))][(_0x3e94bd(0x3a6))](_0x5e4edd,_0x4326d5)[_0x3e94bd(0x1f8)](_0x21ebc6);};}});var _0x4e8d81=_0x61b358[_0x3acba5(0x393)]={};return _0x61b358;}(Math);return _0x39d5f0;}));}(Ie)),Ie['exports'];}var pe={'exports':{}},Ci=pe[_0x2f6cf0(0x28a)],ze;function Et(){var _0x2262e6=_0x2f6cf0;return ze||(ze=0x1,function(_0x302be7,_0x4ec05f){(function(_0x195266,_0x5999a2){var _0x1939ff=_0x30fe;_0x302be7[_0x1939ff(0x28a)]=_0x5999a2(Q());}(Ci,function(_0x280111){var _0x3dc212=_0x30fe;return(function(){var _0x2ea8b3=_0x30fe,_0x6f2e15=_0x280111,_0x423bf5=_0x6f2e15['lib'],_0x17d730=_0x423bf5[_0x2ea8b3(0x31e)],_0x59fc4a=_0x6f2e15['enc'];_0x59fc4a['Base64']={'stringify':function(_0x362117){var _0x503eff=_0x2ea8b3,_0xf48085=_0x362117[_0x503eff(0x488)],_0x5475a4=_0x362117[_0x503eff(0x2a5)],_0x4a38ed=this['_map'];_0x362117['clamp']();for(var _0x486ba8=[],_0xd653b6=0x0;_0xd653b6<_0x5475a4;_0xd653b6+=0x3)for(var _0x4ed657=_0xf48085[_0xd653b6>>>0x2]>>>0x18-_0xd653b6%0x4*0x8&0xff,_0x2f9660=_0xf48085[_0xd653b6+0x1>>>0x2]>>>0x18-(_0xd653b6+0x1)%0x4*0x8&0xff,_0x199638=_0xf48085[_0xd653b6+0x2>>>0x2]>>>0x18-(_0xd653b6+0x2)%0x4*0x8&0xff,_0x1874f2=_0x4ed657<<0x10|_0x2f9660<<0x8|_0x199638,_0x348feb=0x0;_0x348feb<0x4&&_0xd653b6+_0x348feb*0.75<_0x5475a4;_0x348feb++)_0x486ba8[_0x503eff(0x547)](_0x4a38ed[_0x503eff(0x36f)](_0x1874f2>>>0x6*(0x3-_0x348feb)&0x3f));var _0x56c207=_0x4a38ed[_0x503eff(0x36f)](0x40);if(_0x56c207){for(;_0x486ba8[_0x503eff(0x4ca)]%0x4;)_0x486ba8[_0x503eff(0x547)](_0x56c207);}return _0x486ba8[_0x503eff(0x493)]('');},'parse':function(_0x2a05cd){var _0x5e2c51=_0x2ea8b3,_0x4433e5=_0x2a05cd[_0x5e2c51(0x4ca)],_0x33e3f0=this[_0x5e2c51(0x55b)],_0x592eee=this[_0x5e2c51(0x299)];if(!_0x592eee){_0x592eee=this[_0x5e2c51(0x299)]=[];for(var _0xb80bcd=0x0;_0xb80bcd<_0x33e3f0['length'];_0xb80bcd++)_0x592eee[_0x33e3f0['charCodeAt'](_0xb80bcd)]=_0xb80bcd;}var _0x4ce0b7=_0x33e3f0[_0x5e2c51(0x36f)](0x40);if(_0x4ce0b7){var _0x5590ac=_0x2a05cd[_0x5e2c51(0x3bd)](_0x4ce0b7);_0x5590ac!==-0x1&&(_0x4433e5=_0x5590ac);}return _0x89fe8(_0x2a05cd,_0x4433e5,_0x592eee);},'_map':_0x2ea8b3(0x29c)};function _0x89fe8(_0x2e9905,_0x378c85,_0x57f2d4){var _0x218fe5=_0x2ea8b3;for(var _0x2333a4=[],_0x348ca5=0x0,_0xa16202=0x0;_0xa16202<_0x378c85;_0xa16202++)if(_0xa16202%0x4){var _0x344298=_0x57f2d4[_0x2e9905[_0x218fe5(0x55a)](_0xa16202-0x1)]<<_0xa16202%0x4*0x2,_0x147430=_0x57f2d4[_0x2e9905[_0x218fe5(0x55a)](_0xa16202)]>>>0x6-_0xa16202%0x4*0x2,_0x19c0b3=_0x344298|_0x147430;_0x2333a4[_0x348ca5>>>0x2]|=_0x19c0b3<<0x18-_0x348ca5%0x4*0x8,_0x348ca5++;}return _0x17d730[_0x218fe5(0x227)](_0x2333a4,_0x348ca5);}}()),_0x280111['enc'][_0x3dc212(0x4a0)];}));}(pe)),pe[_0x2262e6(0x28a)];}var me={'exports':{}},Ti=me[_0x2f6cf0(0x28a)],Je;function bi(){var _0x5c559b=_0x2f6cf0;return Je||(Je=0x1,function(_0x29d06a,_0x5595f1){(function(_0x20f925,_0x314a97){var _0x18a789=_0x30fe;_0x29d06a[_0x18a789(0x28a)]=_0x314a97(Q());}(Ti,function(_0x4c1b29){return function(_0x52f867){var _0x3994a4=_0x30fe,_0x199e5e=_0x4c1b29,_0x5be676=_0x199e5e['lib'],_0x51ce44=_0x5be676[_0x3994a4(0x31e)],_0x23ec47=_0x5be676[_0x3994a4(0x27b)],_0x16b0cf=_0x199e5e[_0x3994a4(0x393)],_0x4e5ae8=[];(function(){var _0x48add9=_0x3994a4;for(var _0x18f29a=0x0;_0x18f29a<0x40;_0x18f29a++)_0x4e5ae8[_0x18f29a]=_0x52f867[_0x48add9(0x26d)](_0x52f867[_0x48add9(0x37b)](_0x18f29a+0x1))*0x100000000|0x0;}());var _0x4d2b2b=_0x16b0cf[_0x3994a4(0x263)]=_0x23ec47['extend']({'_doReset':function(){var _0x214504=_0x3994a4;this[_0x214504(0x32e)]=new _0x51ce44['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3198e6,_0x1e9602){var _0x22a186=_0x3994a4;for(var _0x29ba30=0x0;_0x29ba30<0x10;_0x29ba30++){var _0x16c18c=_0x1e9602+_0x29ba30,_0x49a5f4=_0x3198e6[_0x16c18c];_0x3198e6[_0x16c18c]=(_0x49a5f4<<0x8|_0x49a5f4>>>0x18)&0xff00ff|(_0x49a5f4<<0x18|_0x49a5f4>>>0x8)&0xff00ff00;}var _0x3e43a0=this['_hash'][_0x22a186(0x488)],_0x4cf7a4=_0x3198e6[_0x1e9602+0x0],_0x4c6e26=_0x3198e6[_0x1e9602+0x1],_0x18ea2d=_0x3198e6[_0x1e9602+0x2],_0x472079=_0x3198e6[_0x1e9602+0x3],_0x1b72c9=_0x3198e6[_0x1e9602+0x4],_0x3da5c8=_0x3198e6[_0x1e9602+0x5],_0x2f72e4=_0x3198e6[_0x1e9602+0x6],_0x2b0353=_0x3198e6[_0x1e9602+0x7],_0x194752=_0x3198e6[_0x1e9602+0x8],_0x18f4d0=_0x3198e6[_0x1e9602+0x9],_0x39c08b=_0x3198e6[_0x1e9602+0xa],_0x3473b7=_0x3198e6[_0x1e9602+0xb],_0x1ffeed=_0x3198e6[_0x1e9602+0xc],_0x304706=_0x3198e6[_0x1e9602+0xd],_0x50387c=_0x3198e6[_0x1e9602+0xe],_0xf9e352=_0x3198e6[_0x1e9602+0xf],_0x2f2531=_0x3e43a0[0x0],_0x3e50f9=_0x3e43a0[0x1],_0x4c15e6=_0x3e43a0[0x2],_0x3ab53b=_0x3e43a0[0x3];_0x2f2531=_0x5cf5f7(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x4cf7a4,0x7,_0x4e5ae8[0x0]),_0x3ab53b=_0x5cf5f7(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x4c6e26,0xc,_0x4e5ae8[0x1]),_0x4c15e6=_0x5cf5f7(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x18ea2d,0x11,_0x4e5ae8[0x2]),_0x3e50f9=_0x5cf5f7(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x472079,0x16,_0x4e5ae8[0x3]),_0x2f2531=_0x5cf5f7(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x1b72c9,0x7,_0x4e5ae8[0x4]),_0x3ab53b=_0x5cf5f7(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3da5c8,0xc,_0x4e5ae8[0x5]),_0x4c15e6=_0x5cf5f7(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x2f72e4,0x11,_0x4e5ae8[0x6]),_0x3e50f9=_0x5cf5f7(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x2b0353,0x16,_0x4e5ae8[0x7]),_0x2f2531=_0x5cf5f7(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x194752,0x7,_0x4e5ae8[0x8]),_0x3ab53b=_0x5cf5f7(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x18f4d0,0xc,_0x4e5ae8[0x9]),_0x4c15e6=_0x5cf5f7(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x39c08b,0x11,_0x4e5ae8[0xa]),_0x3e50f9=_0x5cf5f7(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3473b7,0x16,_0x4e5ae8[0xb]),_0x2f2531=_0x5cf5f7(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x1ffeed,0x7,_0x4e5ae8[0xc]),_0x3ab53b=_0x5cf5f7(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x304706,0xc,_0x4e5ae8[0xd]),_0x4c15e6=_0x5cf5f7(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x50387c,0x11,_0x4e5ae8[0xe]),_0x3e50f9=_0x5cf5f7(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0xf9e352,0x16,_0x4e5ae8[0xf]),_0x2f2531=_0x168cbc(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x4c6e26,0x5,_0x4e5ae8[0x10]),_0x3ab53b=_0x168cbc(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x2f72e4,0x9,_0x4e5ae8[0x11]),_0x4c15e6=_0x168cbc(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x3473b7,0xe,_0x4e5ae8[0x12]),_0x3e50f9=_0x168cbc(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x4cf7a4,0x14,_0x4e5ae8[0x13]),_0x2f2531=_0x168cbc(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x3da5c8,0x5,_0x4e5ae8[0x14]),_0x3ab53b=_0x168cbc(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x39c08b,0x9,_0x4e5ae8[0x15]),_0x4c15e6=_0x168cbc(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0xf9e352,0xe,_0x4e5ae8[0x16]),_0x3e50f9=_0x168cbc(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x1b72c9,0x14,_0x4e5ae8[0x17]),_0x2f2531=_0x168cbc(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x18f4d0,0x5,_0x4e5ae8[0x18]),_0x3ab53b=_0x168cbc(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x50387c,0x9,_0x4e5ae8[0x19]),_0x4c15e6=_0x168cbc(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x472079,0xe,_0x4e5ae8[0x1a]),_0x3e50f9=_0x168cbc(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x194752,0x14,_0x4e5ae8[0x1b]),_0x2f2531=_0x168cbc(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x304706,0x5,_0x4e5ae8[0x1c]),_0x3ab53b=_0x168cbc(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x18ea2d,0x9,_0x4e5ae8[0x1d]),_0x4c15e6=_0x168cbc(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x2b0353,0xe,_0x4e5ae8[0x1e]),_0x3e50f9=_0x168cbc(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x1ffeed,0x14,_0x4e5ae8[0x1f]),_0x2f2531=_0x3ff24e(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x3da5c8,0x4,_0x4e5ae8[0x20]),_0x3ab53b=_0x3ff24e(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x194752,0xb,_0x4e5ae8[0x21]),_0x4c15e6=_0x3ff24e(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x3473b7,0x10,_0x4e5ae8[0x22]),_0x3e50f9=_0x3ff24e(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x50387c,0x17,_0x4e5ae8[0x23]),_0x2f2531=_0x3ff24e(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x4c6e26,0x4,_0x4e5ae8[0x24]),_0x3ab53b=_0x3ff24e(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x1b72c9,0xb,_0x4e5ae8[0x25]),_0x4c15e6=_0x3ff24e(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x2b0353,0x10,_0x4e5ae8[0x26]),_0x3e50f9=_0x3ff24e(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x39c08b,0x17,_0x4e5ae8[0x27]),_0x2f2531=_0x3ff24e(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x304706,0x4,_0x4e5ae8[0x28]),_0x3ab53b=_0x3ff24e(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x4cf7a4,0xb,_0x4e5ae8[0x29]),_0x4c15e6=_0x3ff24e(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x472079,0x10,_0x4e5ae8[0x2a]),_0x3e50f9=_0x3ff24e(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x2f72e4,0x17,_0x4e5ae8[0x2b]),_0x2f2531=_0x3ff24e(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x18f4d0,0x4,_0x4e5ae8[0x2c]),_0x3ab53b=_0x3ff24e(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x1ffeed,0xb,_0x4e5ae8[0x2d]),_0x4c15e6=_0x3ff24e(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0xf9e352,0x10,_0x4e5ae8[0x2e]),_0x3e50f9=_0x3ff24e(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x18ea2d,0x17,_0x4e5ae8[0x2f]),_0x2f2531=_0x37d80e(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x4cf7a4,0x6,_0x4e5ae8[0x30]),_0x3ab53b=_0x37d80e(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x2b0353,0xa,_0x4e5ae8[0x31]),_0x4c15e6=_0x37d80e(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x50387c,0xf,_0x4e5ae8[0x32]),_0x3e50f9=_0x37d80e(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3da5c8,0x15,_0x4e5ae8[0x33]),_0x2f2531=_0x37d80e(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x1ffeed,0x6,_0x4e5ae8[0x34]),_0x3ab53b=_0x37d80e(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x472079,0xa,_0x4e5ae8[0x35]),_0x4c15e6=_0x37d80e(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x39c08b,0xf,_0x4e5ae8[0x36]),_0x3e50f9=_0x37d80e(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x4c6e26,0x15,_0x4e5ae8[0x37]),_0x2f2531=_0x37d80e(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x194752,0x6,_0x4e5ae8[0x38]),_0x3ab53b=_0x37d80e(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0xf9e352,0xa,_0x4e5ae8[0x39]),_0x4c15e6=_0x37d80e(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x2f72e4,0xf,_0x4e5ae8[0x3a]),_0x3e50f9=_0x37d80e(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x304706,0x15,_0x4e5ae8[0x3b]),_0x2f2531=_0x37d80e(_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x1b72c9,0x6,_0x4e5ae8[0x3c]),_0x3ab53b=_0x37d80e(_0x3ab53b,_0x2f2531,_0x3e50f9,_0x4c15e6,_0x3473b7,0xa,_0x4e5ae8[0x3d]),_0x4c15e6=_0x37d80e(_0x4c15e6,_0x3ab53b,_0x2f2531,_0x3e50f9,_0x18ea2d,0xf,_0x4e5ae8[0x3e]),_0x3e50f9=_0x37d80e(_0x3e50f9,_0x4c15e6,_0x3ab53b,_0x2f2531,_0x18f4d0,0x15,_0x4e5ae8[0x3f]),_0x3e43a0[0x0]=_0x3e43a0[0x0]+_0x2f2531|0x0,_0x3e43a0[0x1]=_0x3e43a0[0x1]+_0x3e50f9|0x0,_0x3e43a0[0x2]=_0x3e43a0[0x2]+_0x4c15e6|0x0,_0x3e43a0[0x3]=_0x3e43a0[0x3]+_0x3ab53b|0x0;},'_doFinalize':function(){var _0x1f5f9b=_0x3994a4,_0x1ec597=this[_0x1f5f9b(0x462)],_0x2f7e3c=_0x1ec597['words'],_0x58022f=this[_0x1f5f9b(0x324)]*0x8,_0x57dcef=_0x1ec597[_0x1f5f9b(0x2a5)]*0x8;_0x2f7e3c[_0x57dcef>>>0x5]|=0x80<<0x18-_0x57dcef%0x20;var _0x33ab84=_0x52f867[_0x1f5f9b(0x4ad)](_0x58022f/0x100000000),_0x7b6ff8=_0x58022f;_0x2f7e3c[(_0x57dcef+0x40>>>0x9<<0x4)+0xf]=(_0x33ab84<<0x8|_0x33ab84>>>0x18)&0xff00ff|(_0x33ab84<<0x18|_0x33ab84>>>0x8)&0xff00ff00,_0x2f7e3c[(_0x57dcef+0x40>>>0x9<<0x4)+0xe]=(_0x7b6ff8<<0x8|_0x7b6ff8>>>0x18)&0xff00ff|(_0x7b6ff8<<0x18|_0x7b6ff8>>>0x8)&0xff00ff00,_0x1ec597[_0x1f5f9b(0x2a5)]=(_0x2f7e3c[_0x1f5f9b(0x4ca)]+0x1)*0x4,this[_0x1f5f9b(0x4e8)]();for(var _0x35141a=this[_0x1f5f9b(0x32e)],_0xff11db=_0x35141a[_0x1f5f9b(0x488)],_0x1206b1=0x0;_0x1206b1<0x4;_0x1206b1++){var _0x1d7efc=_0xff11db[_0x1206b1];_0xff11db[_0x1206b1]=(_0x1d7efc<<0x8|_0x1d7efc>>>0x18)&0xff00ff|(_0x1d7efc<<0x18|_0x1d7efc>>>0x8)&0xff00ff00;}return _0x35141a;},'clone':function(){var _0x3233bf=_0x3994a4,_0x41fc1a=_0x23ec47[_0x3233bf(0x4a8)]['call'](this);return _0x41fc1a[_0x3233bf(0x32e)]=this[_0x3233bf(0x32e)][_0x3233bf(0x4a8)](),_0x41fc1a;}});function _0x5cf5f7(_0x1fb00f,_0x2e61b1,_0x1e8ff7,_0x3295a3,_0x4ef8f1,_0x1d7a8f,_0x283dc9){var _0x249bd2=_0x1fb00f+(_0x2e61b1&_0x1e8ff7|~_0x2e61b1&_0x3295a3)+_0x4ef8f1+_0x283dc9;return(_0x249bd2<<_0x1d7a8f|_0x249bd2>>>0x20-_0x1d7a8f)+_0x2e61b1;}function _0x168cbc(_0xc0b19a,_0x54b7a4,_0x24ff26,_0x448ef4,_0x2ff54c,_0x2bc4ae,_0x6a1021){var _0x256d1d=_0xc0b19a+(_0x54b7a4&_0x448ef4|_0x24ff26&~_0x448ef4)+_0x2ff54c+_0x6a1021;return(_0x256d1d<<_0x2bc4ae|_0x256d1d>>>0x20-_0x2bc4ae)+_0x54b7a4;}function _0x3ff24e(_0x40d61d,_0x556a8c,_0x242b01,_0x5be550,_0x4f68c3,_0x386d88,_0x1cfbe5){var _0x2dd995=_0x40d61d+(_0x556a8c^_0x242b01^_0x5be550)+_0x4f68c3+_0x1cfbe5;return(_0x2dd995<<_0x386d88|_0x2dd995>>>0x20-_0x386d88)+_0x556a8c;}function _0x37d80e(_0x59d84e,_0x537a13,_0x36c900,_0x2be6ba,_0x335fa7,_0x10ccb2,_0x3fae44){var _0xdece2f=_0x59d84e+(_0x36c900^(_0x537a13|~_0x2be6ba))+_0x335fa7+_0x3fae44;return(_0xdece2f<<_0x10ccb2|_0xdece2f>>>0x20-_0x10ccb2)+_0x537a13;}_0x199e5e[_0x3994a4(0x263)]=_0x23ec47['_createHelper'](_0x4d2b2b),_0x199e5e[_0x3994a4(0x318)]=_0x23ec47[_0x3994a4(0x41e)](_0x4d2b2b);}(Math),_0x4c1b29['MD5'];}));}(me)),me[_0x5c559b(0x28a)];}var ge={'exports':{}},Ee={'exports':{}},Oi=Ee[_0x2f6cf0(0x28a)],Xe;function Ri(){var _0x2d7037=_0x2f6cf0;return Xe||(Xe=0x1,function(_0x4a3175,_0x2d0e8c){(function(_0xc8e100,_0x31a524){var _0x58fe5d=_0x30fe;_0x4a3175[_0x58fe5d(0x28a)]=_0x31a524(Q());}(Oi,function(_0x5c48c1){var _0x2067f5=_0x30fe;return(function(){var _0x34ad49=_0x30fe,_0x2c3c2a=_0x5c48c1,_0x3cfc4c=_0x2c3c2a[_0x34ad49(0x46c)],_0x135c23=_0x3cfc4c[_0x34ad49(0x31e)],_0x1dc7d6=_0x3cfc4c[_0x34ad49(0x27b)],_0x5b579d=_0x2c3c2a[_0x34ad49(0x393)],_0x1b51f9=[],_0x1cde4b=_0x5b579d[_0x34ad49(0x3dd)]=_0x1dc7d6[_0x34ad49(0x363)]({'_doReset':function(){var _0x5241c8=_0x34ad49;this[_0x5241c8(0x32e)]=new _0x135c23[(_0x5241c8(0x3a6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x28faea,_0x4ca978){var _0x9cd84=_0x34ad49;for(var _0x10fa3d=this[_0x9cd84(0x32e)][_0x9cd84(0x488)],_0x12d3d6=_0x10fa3d[0x0],_0x10c714=_0x10fa3d[0x1],_0x73135a=_0x10fa3d[0x2],_0x43ca5d=_0x10fa3d[0x3],_0x79466b=_0x10fa3d[0x4],_0x546182=0x0;_0x546182<0x50;_0x546182++){if(_0x546182<0x10)_0x1b51f9[_0x546182]=_0x28faea[_0x4ca978+_0x546182]|0x0;else{var _0x5d3b6a=_0x1b51f9[_0x546182-0x3]^_0x1b51f9[_0x546182-0x8]^_0x1b51f9[_0x546182-0xe]^_0x1b51f9[_0x546182-0x10];_0x1b51f9[_0x546182]=_0x5d3b6a<<0x1|_0x5d3b6a>>>0x1f;}var _0x5e56e6=(_0x12d3d6<<0x5|_0x12d3d6>>>0x1b)+_0x79466b+_0x1b51f9[_0x546182];_0x546182<0x14?_0x5e56e6+=(_0x10c714&_0x73135a|~_0x10c714&_0x43ca5d)+0x5a827999:_0x546182<0x28?_0x5e56e6+=(_0x10c714^_0x73135a^_0x43ca5d)+0x6ed9eba1:_0x546182<0x3c?_0x5e56e6+=(_0x10c714&_0x73135a|_0x10c714&_0x43ca5d|_0x73135a&_0x43ca5d)-0x70e44324:_0x5e56e6+=(_0x10c714^_0x73135a^_0x43ca5d)-0x359d3e2a,_0x79466b=_0x43ca5d,_0x43ca5d=_0x73135a,_0x73135a=_0x10c714<<0x1e|_0x10c714>>>0x2,_0x10c714=_0x12d3d6,_0x12d3d6=_0x5e56e6;}_0x10fa3d[0x0]=_0x10fa3d[0x0]+_0x12d3d6|0x0,_0x10fa3d[0x1]=_0x10fa3d[0x1]+_0x10c714|0x0,_0x10fa3d[0x2]=_0x10fa3d[0x2]+_0x73135a|0x0,_0x10fa3d[0x3]=_0x10fa3d[0x3]+_0x43ca5d|0x0,_0x10fa3d[0x4]=_0x10fa3d[0x4]+_0x79466b|0x0;},'_doFinalize':function(){var _0x3bd57d=_0x34ad49,_0x17ba97=this['_data'],_0x41d33a=_0x17ba97['words'],_0xb8926c=this[_0x3bd57d(0x324)]*0x8,_0x3e1b15=_0x17ba97['sigBytes']*0x8;return _0x41d33a[_0x3e1b15>>>0x5]|=0x80<<0x18-_0x3e1b15%0x20,_0x41d33a[(_0x3e1b15+0x40>>>0x9<<0x4)+0xe]=Math[_0x3bd57d(0x4ad)](_0xb8926c/0x100000000),_0x41d33a[(_0x3e1b15+0x40>>>0x9<<0x4)+0xf]=_0xb8926c,_0x17ba97['sigBytes']=_0x41d33a[_0x3bd57d(0x4ca)]*0x4,this[_0x3bd57d(0x4e8)](),this[_0x3bd57d(0x32e)];},'clone':function(){var _0xd69d81=_0x34ad49,_0x1ec845=_0x1dc7d6[_0xd69d81(0x4a8)][_0xd69d81(0x411)](this);return _0x1ec845['_hash']=this[_0xd69d81(0x32e)]['clone'](),_0x1ec845;}});_0x2c3c2a[_0x34ad49(0x3dd)]=_0x1dc7d6[_0x34ad49(0x25d)](_0x1cde4b),_0x2c3c2a[_0x34ad49(0x505)]=_0x1dc7d6[_0x34ad49(0x41e)](_0x1cde4b);}()),_0x5c48c1[_0x2067f5(0x3dd)];}));}(Ee)),Ee[_0x2d7037(0x28a)];}var Ce={'exports':{}},yi=Ce[_0x2f6cf0(0x28a)],Ze;function Ni(){var _0xdbda66=_0x2f6cf0;return Ze||(Ze=0x1,function(_0x51b42f,_0x264d70){(function(_0x3246f3,_0x4eebb5){_0x51b42f['exports']=_0x4eebb5(Q());}(yi,function(_0x701cc){(function(){var _0x419b02=_0x30fe,_0x195efa=_0x701cc,_0x4efe4a=_0x195efa[_0x419b02(0x46c)],_0xe745a7=_0x4efe4a[_0x419b02(0x35e)],_0x21f571=_0x195efa[_0x419b02(0x27e)],_0x54d6d7=_0x21f571['Utf8'],_0x496b0e=_0x195efa[_0x419b02(0x393)];_0x496b0e[_0x419b02(0x234)]=_0xe745a7[_0x419b02(0x363)]({'init':function(_0x6f2bc7,_0x232609){var _0x2bfcb3=_0x419b02;_0x6f2bc7=this['_hasher']=new _0x6f2bc7[(_0x2bfcb3(0x3a6))](),typeof _0x232609=='string'&&(_0x232609=_0x54d6d7[_0x2bfcb3(0x3b9)](_0x232609));var _0x4ea6ad=_0x6f2bc7[_0x2bfcb3(0x40e)],_0x58c04c=_0x4ea6ad*0x4;_0x232609[_0x2bfcb3(0x2a5)]>_0x58c04c&&(_0x232609=_0x6f2bc7[_0x2bfcb3(0x1f8)](_0x232609)),_0x232609[_0x2bfcb3(0x3e6)]();for(var _0x517b45=this[_0x2bfcb3(0x302)]=_0x232609[_0x2bfcb3(0x4a8)](),_0xd799be=this[_0x2bfcb3(0x40b)]=_0x232609[_0x2bfcb3(0x4a8)](),_0x26d5b8=_0x517b45[_0x2bfcb3(0x488)],_0xf19163=_0xd799be['words'],_0x621f12=0x0;_0x621f12<_0x4ea6ad;_0x621f12++)_0x26d5b8[_0x621f12]^=0x5c5c5c5c,_0xf19163[_0x621f12]^=0x36363636;_0x517b45[_0x2bfcb3(0x2a5)]=_0xd799be[_0x2bfcb3(0x2a5)]=_0x58c04c,this[_0x2bfcb3(0x4e0)]();},'reset':function(){var _0x400602=_0x419b02,_0x5a3e85=this[_0x400602(0x26b)];_0x5a3e85[_0x400602(0x4e0)](),_0x5a3e85[_0x400602(0x45a)](this[_0x400602(0x40b)]);},'update':function(_0x3f201a){var _0x1d8939=_0x419b02;return this['_hasher'][_0x1d8939(0x45a)](_0x3f201a),this;},'finalize':function(_0x3a2c33){var _0x3d5402=_0x419b02,_0x32e0ed=this[_0x3d5402(0x26b)],_0x1b4e26=_0x32e0ed[_0x3d5402(0x1f8)](_0x3a2c33);_0x32e0ed[_0x3d5402(0x4e0)]();var _0x2b3025=_0x32e0ed[_0x3d5402(0x1f8)](this[_0x3d5402(0x302)][_0x3d5402(0x4a8)]()[_0x3d5402(0x385)](_0x1b4e26));return _0x2b3025;}});}());}));}(Ce)),Ce[_0xdbda66(0x28a)];}var Di=ge[_0x2f6cf0(0x28a)],Qe;function Ct(){var _0x101f23=_0x2f6cf0;return Qe||(Qe=0x1,function(_0x11da37,_0x5e8995){(function(_0x167db7,_0x1d2c1c,_0x4194bc){var _0x5411f1=_0x30fe;_0x11da37[_0x5411f1(0x28a)]=_0x1d2c1c(Q(),Ri(),Ni());}(Di,function(_0x49107a){return(function(){var _0x7a0b3b=_0x30fe,_0x128dfd=_0x49107a,_0xc3baa0=_0x128dfd['lib'],_0x24ceab=_0xc3baa0[_0x7a0b3b(0x35e)],_0x56f11b=_0xc3baa0['WordArray'],_0x18b49c=_0x128dfd[_0x7a0b3b(0x393)],_0x5409f1=_0x18b49c[_0x7a0b3b(0x263)],_0x45c2e0=_0x18b49c[_0x7a0b3b(0x530)]=_0x24ceab['extend']({'cfg':_0x24ceab[_0x7a0b3b(0x363)]({'keySize':0x80/0x20,'hasher':_0x5409f1,'iterations':0x1}),'init':function(_0x392ba0){var _0x4c5519=_0x7a0b3b;this[_0x4c5519(0x2c7)]=this[_0x4c5519(0x2c7)][_0x4c5519(0x363)](_0x392ba0);},'compute':function(_0x6161c7,_0x58b263){var _0x5b1f79=_0x7a0b3b;for(var _0x1dc9f8,_0x5d0af5=this[_0x5b1f79(0x2c7)],_0x33906f=_0x5d0af5[_0x5b1f79(0x334)][_0x5b1f79(0x227)](),_0x279e28=_0x56f11b[_0x5b1f79(0x227)](),_0x403fd6=_0x279e28[_0x5b1f79(0x488)],_0x4abaca=_0x5d0af5[_0x5b1f79(0x401)],_0x5cbbb4=_0x5d0af5[_0x5b1f79(0x53b)];_0x403fd6[_0x5b1f79(0x4ca)]<_0x4abaca;){_0x1dc9f8&&_0x33906f[_0x5b1f79(0x45a)](_0x1dc9f8),_0x1dc9f8=_0x33906f[_0x5b1f79(0x45a)](_0x6161c7)[_0x5b1f79(0x1f8)](_0x58b263),_0x33906f['reset']();for(var _0xf71061=0x1;_0xf71061<_0x5cbbb4;_0xf71061++)_0x1dc9f8=_0x33906f['finalize'](_0x1dc9f8),_0x33906f[_0x5b1f79(0x4e0)]();_0x279e28[_0x5b1f79(0x385)](_0x1dc9f8);}return _0x279e28[_0x5b1f79(0x2a5)]=_0x4abaca*0x4,_0x279e28;}});_0x128dfd['EvpKDF']=function(_0x1f6f65,_0x33880a,_0x7c8b9f){var _0x1a8f0c=_0x7a0b3b;return _0x45c2e0['create'](_0x7c8b9f)[_0x1a8f0c(0x3a3)](_0x1f6f65,_0x33880a);};}()),_0x49107a['EvpKDF'];}));}(ge)),ge[_0x101f23(0x28a)];}var Te={'exports':{}},Ui=Te[_0x2f6cf0(0x28a)],et;function Tt(){var _0x1bacd4=_0x2f6cf0;return et||(et=0x1,function(_0xd07024,_0x5b6659){(function(_0xaf0c10,_0x1b5678,_0x445d4b){var _0x374d9f=_0x30fe;_0xd07024[_0x374d9f(0x28a)]=_0x1b5678(Q(),Ct());}(Ui,function(_0x3d37b5){var _0x49b14e=_0x30fe;_0x3d37b5['lib'][_0x49b14e(0x451)]||function(_0x3aa046){var _0x1c3b3f=_0x49b14e,_0x5526ba=_0x3d37b5,_0x55c2e4=_0x5526ba['lib'],_0x8bedb5=_0x55c2e4[_0x1c3b3f(0x35e)],_0x3529af=_0x55c2e4[_0x1c3b3f(0x31e)],_0x362d15=_0x55c2e4['BufferedBlockAlgorithm'],_0x580ef4=_0x5526ba[_0x1c3b3f(0x27e)];_0x580ef4[_0x1c3b3f(0x558)];var _0x17f104=_0x580ef4[_0x1c3b3f(0x4a0)],_0x30a2cf=_0x5526ba[_0x1c3b3f(0x393)],_0x58db49=_0x30a2cf['EvpKDF'],_0x11a4cb=_0x55c2e4[_0x1c3b3f(0x451)]=_0x362d15['extend']({'cfg':_0x8bedb5[_0x1c3b3f(0x363)](),'createEncryptor':function(_0x429807,_0x292079){var _0x5ba42d=_0x1c3b3f;return this[_0x5ba42d(0x227)](this[_0x5ba42d(0x210)],_0x429807,_0x292079);},'createDecryptor':function(_0x536ccc,_0xf97a6){var _0x2aab05=_0x1c3b3f;return this[_0x2aab05(0x227)](this[_0x2aab05(0x3c6)],_0x536ccc,_0xf97a6);},'init':function(_0x49e8a6,_0x2e33ce,_0x980336){var _0x4a6215=_0x1c3b3f;this[_0x4a6215(0x2c7)]=this[_0x4a6215(0x2c7)][_0x4a6215(0x363)](_0x980336),this[_0x4a6215(0x314)]=_0x49e8a6,this['_key']=_0x2e33ce,this[_0x4a6215(0x4e0)]();},'reset':function(){var _0x1a6cb3=_0x1c3b3f;_0x362d15[_0x1a6cb3(0x4e0)][_0x1a6cb3(0x411)](this),this[_0x1a6cb3(0x3a7)]();},'process':function(_0x33c0b9){var _0x1e0dee=_0x1c3b3f;return this[_0x1e0dee(0x348)](_0x33c0b9),this[_0x1e0dee(0x4e8)]();},'finalize':function(_0x324a39){var _0x39217d=_0x1c3b3f;_0x324a39&&this[_0x39217d(0x348)](_0x324a39);var _0xdc9bc9=this[_0x39217d(0x536)]();return _0xdc9bc9;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2eb563(_0x27cfa7){var _0x3acde7=_0x30fe;return typeof _0x27cfa7==_0x3acde7(0x501)?_0x24e004:_0x2995c0;}return function(_0x10d2cf){return{'encrypt':function(_0x32863e,_0x345c73,_0x2117da){var _0x133fac=_0x30fe;return _0x2eb563(_0x345c73)[_0x133fac(0x3e2)](_0x10d2cf,_0x32863e,_0x345c73,_0x2117da);},'decrypt':function(_0x3b6690,_0x550d4c,_0x5867a3){var _0xa4e088=_0x30fe;return _0x2eb563(_0x550d4c)[_0xa4e088(0x455)](_0x10d2cf,_0x3b6690,_0x550d4c,_0x5867a3);}};};}())});_0x55c2e4[_0x1c3b3f(0x381)]=_0x11a4cb[_0x1c3b3f(0x363)]({'_doFinalize':function(){var _0x66ab7a=this['_process'](!0x0);return _0x66ab7a;},'blockSize':0x1});var _0x2281a2=_0x5526ba[_0x1c3b3f(0x3c9)]={},_0x3a4cd1=_0x55c2e4[_0x1c3b3f(0x36c)]=_0x8bedb5[_0x1c3b3f(0x363)]({'createEncryptor':function(_0x2fd3f3,_0x1c379e){var _0x10f6b9=_0x1c3b3f;return this[_0x10f6b9(0x3ba)]['create'](_0x2fd3f3,_0x1c379e);},'createDecryptor':function(_0x1aa278,_0x21313d){var _0x3f8e57=_0x1c3b3f;return this[_0x3f8e57(0x463)][_0x3f8e57(0x227)](_0x1aa278,_0x21313d);},'init':function(_0xef171c,_0x2a442d){var _0x5e3616=_0x1c3b3f;this['_cipher']=_0xef171c,this[_0x5e3616(0x3e8)]=_0x2a442d;}}),_0x1b5fbd=_0x2281a2[_0x1c3b3f(0x380)]=(function(){var _0x5891bb=_0x1c3b3f,_0x382ae5=_0x3a4cd1[_0x5891bb(0x363)]();_0x382ae5[_0x5891bb(0x3ba)]=_0x382ae5[_0x5891bb(0x363)]({'processBlock':function(_0x2454f1,_0x538950){var _0x37b9d5=_0x5891bb,_0x1b0503=this[_0x37b9d5(0x45c)],_0x4290dc=_0x1b0503[_0x37b9d5(0x40e)];_0x2f9c5a[_0x37b9d5(0x411)](this,_0x2454f1,_0x538950,_0x4290dc),_0x1b0503['encryptBlock'](_0x2454f1,_0x538950),this[_0x37b9d5(0x490)]=_0x2454f1[_0x37b9d5(0x2e5)](_0x538950,_0x538950+_0x4290dc);}}),_0x382ae5[_0x5891bb(0x463)]=_0x382ae5['extend']({'processBlock':function(_0x127605,_0x123b72){var _0x2bbac7=_0x5891bb,_0x202815=this[_0x2bbac7(0x45c)],_0x1b8569=_0x202815['blockSize'],_0x3579a4=_0x127605[_0x2bbac7(0x2e5)](_0x123b72,_0x123b72+_0x1b8569);_0x202815[_0x2bbac7(0x21e)](_0x127605,_0x123b72),_0x2f9c5a['call'](this,_0x127605,_0x123b72,_0x1b8569),this[_0x2bbac7(0x490)]=_0x3579a4;}});function _0x2f9c5a(_0x1acbe6,_0x1e9d4d,_0x36c13f){var _0x31c30b=_0x5891bb,_0x135fed,_0x53566e=this['_iv'];_0x53566e?(_0x135fed=_0x53566e,this['_iv']=_0x3aa046):_0x135fed=this[_0x31c30b(0x490)];for(var _0x113e0c=0x0;_0x113e0c<_0x36c13f;_0x113e0c++)_0x1acbe6[_0x1e9d4d+_0x113e0c]^=_0x135fed[_0x113e0c];}return _0x382ae5;}()),_0x48ccdb=_0x5526ba[_0x1c3b3f(0x51e)]={},_0x1600fa=_0x48ccdb[_0x1c3b3f(0x437)]={'pad':function(_0x2c8d52,_0x5bcba0){var _0x130cc7=_0x1c3b3f;for(var _0x7b4170=_0x5bcba0*0x4,_0x581112=_0x7b4170-_0x2c8d52['sigBytes']%_0x7b4170,_0x114fb9=_0x581112<<0x18|_0x581112<<0x10|_0x581112<<0x8|_0x581112,_0x227d88=[],_0x23adc1=0x0;_0x23adc1<_0x581112;_0x23adc1+=0x4)_0x227d88['push'](_0x114fb9);var _0x363384=_0x3529af[_0x130cc7(0x227)](_0x227d88,_0x581112);_0x2c8d52[_0x130cc7(0x385)](_0x363384);},'unpad':function(_0x250f66){var _0x592fb9=_0x1c3b3f,_0x66664a=_0x250f66[_0x592fb9(0x488)][_0x250f66[_0x592fb9(0x2a5)]-0x1>>>0x2]&0xff;_0x250f66[_0x592fb9(0x2a5)]-=_0x66664a;}};_0x55c2e4[_0x1c3b3f(0x48b)]=_0x11a4cb[_0x1c3b3f(0x363)]({'cfg':_0x11a4cb[_0x1c3b3f(0x2c7)][_0x1c3b3f(0x363)]({'mode':_0x1b5fbd,'padding':_0x1600fa}),'reset':function(){var _0x13492b=_0x1c3b3f,_0x19a5ad;_0x11a4cb[_0x13492b(0x4e0)][_0x13492b(0x411)](this);var _0x5c6f58=this[_0x13492b(0x2c7)],_0x17efb3=_0x5c6f58['iv'],_0xca88a6=_0x5c6f58['mode'];this[_0x13492b(0x314)]==this[_0x13492b(0x210)]?_0x19a5ad=_0xca88a6[_0x13492b(0x50e)]:(_0x19a5ad=_0xca88a6[_0x13492b(0x516)],this['_minBufferSize']=0x1),this['_mode']&&this['_mode'][_0x13492b(0x476)]==_0x19a5ad?this['_mode'][_0x13492b(0x3a6)](this,_0x17efb3&&_0x17efb3['words']):(this[_0x13492b(0x43b)]=_0x19a5ad[_0x13492b(0x411)](_0xca88a6,this,_0x17efb3&&_0x17efb3['words']),this[_0x13492b(0x43b)][_0x13492b(0x476)]=_0x19a5ad);},'_doProcessBlock':function(_0x833e36,_0x1d5e45){var _0x1cbce9=_0x1c3b3f;this[_0x1cbce9(0x43b)][_0x1cbce9(0x28f)](_0x833e36,_0x1d5e45);},'_doFinalize':function(){var _0x2f7a59=_0x1c3b3f,_0x103d2a,_0x596485=this['cfg'][_0x2f7a59(0x28c)];return this[_0x2f7a59(0x314)]==this[_0x2f7a59(0x210)]?(_0x596485[_0x2f7a59(0x51e)](this['_data'],this['blockSize']),_0x103d2a=this[_0x2f7a59(0x4e8)](!0x0)):(_0x103d2a=this['_process'](!0x0),_0x596485[_0x2f7a59(0x264)](_0x103d2a)),_0x103d2a;},'blockSize':0x80/0x20});var _0x4858d0=_0x55c2e4['CipherParams']=_0x8bedb5[_0x1c3b3f(0x363)]({'init':function(_0xbd32aa){var _0x2e2a2d=_0x1c3b3f;this[_0x2e2a2d(0x207)](_0xbd32aa);},'toString':function(_0x40a590){var _0x5b7534=_0x1c3b3f;return(_0x40a590||this[_0x5b7534(0x346)])[_0x5b7534(0x245)](this);}}),_0x19cb95=_0x5526ba[_0x1c3b3f(0x258)]={},_0xc07c34=_0x19cb95[_0x1c3b3f(0x355)]={'stringify':function(_0x104937){var _0x3d870e=_0x1c3b3f,_0x2acf34,_0x329d8a=_0x104937[_0x3d870e(0x292)],_0x256272=_0x104937[_0x3d870e(0x498)];return _0x256272?_0x2acf34=_0x3529af[_0x3d870e(0x227)]([0x53616c74,0x65645f5f])[_0x3d870e(0x385)](_0x256272)['concat'](_0x329d8a):_0x2acf34=_0x329d8a,_0x2acf34[_0x3d870e(0x532)](_0x17f104);},'parse':function(_0xa111d2){var _0x4416e7=_0x1c3b3f,_0x2a8518,_0x148dc9=_0x17f104[_0x4416e7(0x3b9)](_0xa111d2),_0x264682=_0x148dc9[_0x4416e7(0x488)];return _0x264682[0x0]==0x53616c74&&_0x264682[0x1]==0x65645f5f&&(_0x2a8518=_0x3529af['create'](_0x264682['slice'](0x2,0x4)),_0x264682[_0x4416e7(0x222)](0x0,0x4),_0x148dc9[_0x4416e7(0x2a5)]-=0x10),_0x4858d0[_0x4416e7(0x227)]({'ciphertext':_0x148dc9,'salt':_0x2a8518});}},_0x2995c0=_0x55c2e4[_0x1c3b3f(0x216)]=_0x8bedb5[_0x1c3b3f(0x363)]({'cfg':_0x8bedb5[_0x1c3b3f(0x363)]({'format':_0xc07c34}),'encrypt':function(_0x5d059e,_0x1bfb75,_0x59922a,_0x200301){var _0x22abed=_0x1c3b3f;_0x200301=this['cfg']['extend'](_0x200301);var _0xa47177=_0x5d059e[_0x22abed(0x50e)](_0x59922a,_0x200301),_0x4d00eb=_0xa47177[_0x22abed(0x1f8)](_0x1bfb75),_0x57f0f7=_0xa47177[_0x22abed(0x2c7)];return _0x4858d0[_0x22abed(0x227)]({'ciphertext':_0x4d00eb,'key':_0x59922a,'iv':_0x57f0f7['iv'],'algorithm':_0x5d059e,'mode':_0x57f0f7[_0x22abed(0x3c9)],'padding':_0x57f0f7[_0x22abed(0x28c)],'blockSize':_0x5d059e['blockSize'],'formatter':_0x200301[_0x22abed(0x258)]});},'decrypt':function(_0x25970d,_0x289ce3,_0x385f50,_0xfb0c12){var _0x4bdaa0=_0x1c3b3f;_0xfb0c12=this[_0x4bdaa0(0x2c7)][_0x4bdaa0(0x363)](_0xfb0c12),_0x289ce3=this[_0x4bdaa0(0x259)](_0x289ce3,_0xfb0c12[_0x4bdaa0(0x258)]);var _0x28a82a=_0x25970d['createDecryptor'](_0x385f50,_0xfb0c12)[_0x4bdaa0(0x1f8)](_0x289ce3['ciphertext']);return _0x28a82a;},'_parse':function(_0x428842,_0x21a662){var _0x46a78d=_0x1c3b3f;return typeof _0x428842=='string'?_0x21a662[_0x46a78d(0x3b9)](_0x428842,this):_0x428842;}}),_0x33069e=_0x5526ba[_0x1c3b3f(0x449)]={},_0x1cfb2f=_0x33069e['OpenSSL']={'execute':function(_0xe03fcf,_0x1b44c3,_0x12d09e,_0x2b4239,_0x3df713){var _0x7fde88=_0x1c3b3f;if(_0x2b4239||(_0x2b4239=_0x3529af['random'](0x40/0x8)),_0x3df713)var _0x4fbb48=_0x58db49[_0x7fde88(0x227)]({'keySize':_0x1b44c3+_0x12d09e,'hasher':_0x3df713})[_0x7fde88(0x3a3)](_0xe03fcf,_0x2b4239);else var _0x4fbb48=_0x58db49[_0x7fde88(0x227)]({'keySize':_0x1b44c3+_0x12d09e})[_0x7fde88(0x3a3)](_0xe03fcf,_0x2b4239);var _0x22be55=_0x3529af['create'](_0x4fbb48['words'][_0x7fde88(0x2e5)](_0x1b44c3),_0x12d09e*0x4);return _0x4fbb48[_0x7fde88(0x2a5)]=_0x1b44c3*0x4,_0x4858d0['create']({'key':_0x4fbb48,'iv':_0x22be55,'salt':_0x2b4239});}},_0x24e004=_0x55c2e4[_0x1c3b3f(0x291)]=_0x2995c0[_0x1c3b3f(0x363)]({'cfg':_0x2995c0[_0x1c3b3f(0x2c7)][_0x1c3b3f(0x363)]({'kdf':_0x1cfb2f}),'encrypt':function(_0x679276,_0x1132bb,_0x39aa54,_0x5f4e26){var _0x3b0e2c=_0x1c3b3f;_0x5f4e26=this[_0x3b0e2c(0x2c7)][_0x3b0e2c(0x363)](_0x5f4e26);var _0x1671fd=_0x5f4e26[_0x3b0e2c(0x449)][_0x3b0e2c(0x30b)](_0x39aa54,_0x679276['keySize'],_0x679276['ivSize'],_0x5f4e26[_0x3b0e2c(0x498)],_0x5f4e26[_0x3b0e2c(0x334)]);_0x5f4e26['iv']=_0x1671fd['iv'];var _0x2e460d=_0x2995c0['encrypt'][_0x3b0e2c(0x411)](this,_0x679276,_0x1132bb,_0x1671fd['key'],_0x5f4e26);return _0x2e460d[_0x3b0e2c(0x207)](_0x1671fd),_0x2e460d;},'decrypt':function(_0x455fae,_0x1bc37d,_0xdd8f1,_0x532e29){var _0x46ed9c=_0x1c3b3f;_0x532e29=this['cfg']['extend'](_0x532e29),_0x1bc37d=this[_0x46ed9c(0x259)](_0x1bc37d,_0x532e29[_0x46ed9c(0x258)]);var _0x3d82ad=_0x532e29[_0x46ed9c(0x449)][_0x46ed9c(0x30b)](_0xdd8f1,_0x455fae[_0x46ed9c(0x401)],_0x455fae[_0x46ed9c(0x472)],_0x1bc37d[_0x46ed9c(0x498)],_0x532e29['hasher']);_0x532e29['iv']=_0x3d82ad['iv'];var _0x16cbd9=_0x2995c0['decrypt'][_0x46ed9c(0x411)](this,_0x455fae,_0x1bc37d,_0x3d82ad[_0x46ed9c(0x510)],_0x532e29);return _0x16cbd9;}});}();}));}(Te)),Te[_0x1bacd4(0x28a)];}var Ai=fe[_0x2f6cf0(0x28a)],tt;function Pi(){var _0x12ecd9=_0x2f6cf0;return tt||(tt=0x1,function(_0x511267,_0x37c427){(function(_0x14b486,_0x503edf,_0x49e602){var _0x155483=_0x30fe;_0x511267[_0x155483(0x28a)]=_0x503edf(Q(),Et(),bi(),Ct(),Tt());}(Ai,function(_0x1f61b3){return(function(){var _0x1b0aa9=_0x30fe,_0x7258b0=_0x1f61b3,_0x5132d9=_0x7258b0['lib'],_0x4bcca9=_0x5132d9['BlockCipher'],_0x4727f9=_0x7258b0[_0x1b0aa9(0x393)],_0x2439f2=[],_0x4936f1=[],_0x1292f7=[],_0x8037d3=[],_0x478632=[],_0x548e6c=[],_0x69f793=[],_0x3fd109=[],_0x88915f=[],_0x1abf28=[];(function(){for(var _0x5459b3=[],_0x31fee3=0x0;_0x31fee3<0x100;_0x31fee3++)_0x31fee3<0x80?_0x5459b3[_0x31fee3]=_0x31fee3<<0x1:_0x5459b3[_0x31fee3]=_0x31fee3<<0x1^0x11b;for(var _0x263d91=0x0,_0x3f2dea=0x0,_0x31fee3=0x0;_0x31fee3<0x100;_0x31fee3++){var _0x469ca7=_0x3f2dea^_0x3f2dea<<0x1^_0x3f2dea<<0x2^_0x3f2dea<<0x3^_0x3f2dea<<0x4;_0x469ca7=_0x469ca7>>>0x8^_0x469ca7&0xff^0x63,_0x2439f2[_0x263d91]=_0x469ca7,_0x4936f1[_0x469ca7]=_0x263d91;var _0x35aa48=_0x5459b3[_0x263d91],_0x20bb5d=_0x5459b3[_0x35aa48],_0x16d961=_0x5459b3[_0x20bb5d],_0x881505=_0x5459b3[_0x469ca7]*0x101^_0x469ca7*0x1010100;_0x1292f7[_0x263d91]=_0x881505<<0x18|_0x881505>>>0x8,_0x8037d3[_0x263d91]=_0x881505<<0x10|_0x881505>>>0x10,_0x478632[_0x263d91]=_0x881505<<0x8|_0x881505>>>0x18,_0x548e6c[_0x263d91]=_0x881505;var _0x881505=_0x16d961*0x1010101^_0x20bb5d*0x10001^_0x35aa48*0x101^_0x263d91*0x1010100;_0x69f793[_0x469ca7]=_0x881505<<0x18|_0x881505>>>0x8,_0x3fd109[_0x469ca7]=_0x881505<<0x10|_0x881505>>>0x10,_0x88915f[_0x469ca7]=_0x881505<<0x8|_0x881505>>>0x18,_0x1abf28[_0x469ca7]=_0x881505,_0x263d91?(_0x263d91=_0x35aa48^_0x5459b3[_0x5459b3[_0x5459b3[_0x16d961^_0x35aa48]]],_0x3f2dea^=_0x5459b3[_0x5459b3[_0x3f2dea]]):_0x263d91=_0x3f2dea=0x1;}}());var _0x536b7a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xb00dcf=_0x4727f9['AES']=_0x4bcca9[_0x1b0aa9(0x363)]({'_doReset':function(){var _0x112421=_0x1b0aa9,_0x5c5fef;if(!(this['_nRounds']&&this[_0x112421(0x29a)]===this['_key'])){for(var _0x557488=this[_0x112421(0x29a)]=this[_0x112421(0x261)],_0x966244=_0x557488[_0x112421(0x488)],_0x491ff0=_0x557488[_0x112421(0x2a5)]/0x4,_0x32dc74=this['_nRounds']=_0x491ff0+0x6,_0x5cc9a6=(_0x32dc74+0x1)*0x4,_0x1c0e19=this['_keySchedule']=[],_0x183923=0x0;_0x183923<_0x5cc9a6;_0x183923++)_0x183923<_0x491ff0?_0x1c0e19[_0x183923]=_0x966244[_0x183923]:(_0x5c5fef=_0x1c0e19[_0x183923-0x1],_0x183923%_0x491ff0?_0x491ff0>0x6&&_0x183923%_0x491ff0==0x4&&(_0x5c5fef=_0x2439f2[_0x5c5fef>>>0x18]<<0x18|_0x2439f2[_0x5c5fef>>>0x10&0xff]<<0x10|_0x2439f2[_0x5c5fef>>>0x8&0xff]<<0x8|_0x2439f2[_0x5c5fef&0xff]):(_0x5c5fef=_0x5c5fef<<0x8|_0x5c5fef>>>0x18,_0x5c5fef=_0x2439f2[_0x5c5fef>>>0x18]<<0x18|_0x2439f2[_0x5c5fef>>>0x10&0xff]<<0x10|_0x2439f2[_0x5c5fef>>>0x8&0xff]<<0x8|_0x2439f2[_0x5c5fef&0xff],_0x5c5fef^=_0x536b7a[_0x183923/_0x491ff0|0x0]<<0x18),_0x1c0e19[_0x183923]=_0x1c0e19[_0x183923-_0x491ff0]^_0x5c5fef);for(var _0x56e5ef=this['_invKeySchedule']=[],_0x529058=0x0;_0x529058<_0x5cc9a6;_0x529058++){var _0x183923=_0x5cc9a6-_0x529058;if(_0x529058%0x4)var _0x5c5fef=_0x1c0e19[_0x183923];else var _0x5c5fef=_0x1c0e19[_0x183923-0x4];_0x529058<0x4||_0x183923<=0x4?_0x56e5ef[_0x529058]=_0x5c5fef:_0x56e5ef[_0x529058]=_0x69f793[_0x2439f2[_0x5c5fef>>>0x18]]^_0x3fd109[_0x2439f2[_0x5c5fef>>>0x10&0xff]]^_0x88915f[_0x2439f2[_0x5c5fef>>>0x8&0xff]]^_0x1abf28[_0x2439f2[_0x5c5fef&0xff]];}}},'encryptBlock':function(_0x3eb19c,_0x87ab6){var _0xd0c8a2=_0x1b0aa9;this['_doCryptBlock'](_0x3eb19c,_0x87ab6,this[_0xd0c8a2(0x2ec)],_0x1292f7,_0x8037d3,_0x478632,_0x548e6c,_0x2439f2);},'decryptBlock':function(_0x35ed60,_0x40e423){var _0x1afef5=_0x1b0aa9,_0x1d7617=_0x35ed60[_0x40e423+0x1];_0x35ed60[_0x40e423+0x1]=_0x35ed60[_0x40e423+0x3],_0x35ed60[_0x40e423+0x3]=_0x1d7617,this[_0x1afef5(0x371)](_0x35ed60,_0x40e423,this[_0x1afef5(0x23b)],_0x69f793,_0x3fd109,_0x88915f,_0x1abf28,_0x4936f1);var _0x1d7617=_0x35ed60[_0x40e423+0x1];_0x35ed60[_0x40e423+0x1]=_0x35ed60[_0x40e423+0x3],_0x35ed60[_0x40e423+0x3]=_0x1d7617;},'_doCryptBlock':function(_0x55826c,_0x532562,_0x36b9bb,_0x50b3e9,_0xb785af,_0x400b82,_0x423713,_0x1b1ea4){var _0x345039=_0x1b0aa9;for(var _0x3aa512=this[_0x345039(0x4c7)],_0xad6845=_0x55826c[_0x532562]^_0x36b9bb[0x0],_0xd82abc=_0x55826c[_0x532562+0x1]^_0x36b9bb[0x1],_0x46469f=_0x55826c[_0x532562+0x2]^_0x36b9bb[0x2],_0x459b32=_0x55826c[_0x532562+0x3]^_0x36b9bb[0x3],_0x53abd3=0x4,_0xdad00b=0x1;_0xdad00b<_0x3aa512;_0xdad00b++){var _0x879afb=_0x50b3e9[_0xad6845>>>0x18]^_0xb785af[_0xd82abc>>>0x10&0xff]^_0x400b82[_0x46469f>>>0x8&0xff]^_0x423713[_0x459b32&0xff]^_0x36b9bb[_0x53abd3++],_0x13aa61=_0x50b3e9[_0xd82abc>>>0x18]^_0xb785af[_0x46469f>>>0x10&0xff]^_0x400b82[_0x459b32>>>0x8&0xff]^_0x423713[_0xad6845&0xff]^_0x36b9bb[_0x53abd3++],_0x1d6a61=_0x50b3e9[_0x46469f>>>0x18]^_0xb785af[_0x459b32>>>0x10&0xff]^_0x400b82[_0xad6845>>>0x8&0xff]^_0x423713[_0xd82abc&0xff]^_0x36b9bb[_0x53abd3++],_0x459088=_0x50b3e9[_0x459b32>>>0x18]^_0xb785af[_0xad6845>>>0x10&0xff]^_0x400b82[_0xd82abc>>>0x8&0xff]^_0x423713[_0x46469f&0xff]^_0x36b9bb[_0x53abd3++];_0xad6845=_0x879afb,_0xd82abc=_0x13aa61,_0x46469f=_0x1d6a61,_0x459b32=_0x459088;}var _0x879afb=(_0x1b1ea4[_0xad6845>>>0x18]<<0x18|_0x1b1ea4[_0xd82abc>>>0x10&0xff]<<0x10|_0x1b1ea4[_0x46469f>>>0x8&0xff]<<0x8|_0x1b1ea4[_0x459b32&0xff])^_0x36b9bb[_0x53abd3++],_0x13aa61=(_0x1b1ea4[_0xd82abc>>>0x18]<<0x18|_0x1b1ea4[_0x46469f>>>0x10&0xff]<<0x10|_0x1b1ea4[_0x459b32>>>0x8&0xff]<<0x8|_0x1b1ea4[_0xad6845&0xff])^_0x36b9bb[_0x53abd3++],_0x1d6a61=(_0x1b1ea4[_0x46469f>>>0x18]<<0x18|_0x1b1ea4[_0x459b32>>>0x10&0xff]<<0x10|_0x1b1ea4[_0xad6845>>>0x8&0xff]<<0x8|_0x1b1ea4[_0xd82abc&0xff])^_0x36b9bb[_0x53abd3++],_0x459088=(_0x1b1ea4[_0x459b32>>>0x18]<<0x18|_0x1b1ea4[_0xad6845>>>0x10&0xff]<<0x10|_0x1b1ea4[_0xd82abc>>>0x8&0xff]<<0x8|_0x1b1ea4[_0x46469f&0xff])^_0x36b9bb[_0x53abd3++];_0x55826c[_0x532562]=_0x879afb,_0x55826c[_0x532562+0x1]=_0x13aa61,_0x55826c[_0x532562+0x2]=_0x1d6a61,_0x55826c[_0x532562+0x3]=_0x459088;},'keySize':0x100/0x20});_0x7258b0[_0x1b0aa9(0x351)]=_0x4bcca9[_0x1b0aa9(0x25d)](_0xb00dcf);}()),_0x1f61b3['AES'];}));}(fe)),fe[_0x12ecd9(0x28a)];}var wi=Pi();const Mi=ve(wi);var Li=Et();const it=ve(Li);var be={'exports':{}},xi=be[_0x2f6cf0(0x28a)],nt;function ki(){var _0x53c5de=_0x2f6cf0;return nt||(nt=0x1,function(_0xd8bfee,_0x2ad8ff){(function(_0x555191,_0x37fcab){var _0x17a279=_0x30fe;_0xd8bfee[_0x17a279(0x28a)]=_0x37fcab(Q());}(xi,function(_0x357235){var _0x102e7b=_0x30fe;return _0x357235['enc'][_0x102e7b(0x558)];}));}(be)),be[_0x53c5de(0x28a)];}var $i=ki();const Hi=ve($i);var Oe={'exports':{}},ji=Oe[_0x2f6cf0(0x28a)],rt;function Bi(){var _0x53a8c1=_0x2f6cf0;return rt||(rt=0x1,function(_0x13e182,_0x12534d){(function(_0x5460a5,_0x1093da){_0x13e182['exports']=_0x1093da(Q());}(ji,function(_0x4dfab7){var _0x1a178b=_0x30fe;return(function(){var _0x38d123=_0x30fe;if(typeof ArrayBuffer=='function'){var _0x262a8e=_0x4dfab7,_0x3fe763=_0x262a8e['lib'],_0x9c8997=_0x3fe763[_0x38d123(0x31e)],_0x55c0c9=_0x9c8997['init'],_0x101021=_0x9c8997[_0x38d123(0x3a6)]=function(_0x6afab9){var _0x1f4996=_0x38d123;if(_0x6afab9 instanceof ArrayBuffer&&(_0x6afab9=new Uint8Array(_0x6afab9)),(_0x6afab9 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x6afab9 instanceof Uint8ClampedArray||_0x6afab9 instanceof Int16Array||_0x6afab9 instanceof Uint16Array||_0x6afab9 instanceof Int32Array||_0x6afab9 instanceof Uint32Array||_0x6afab9 instanceof Float32Array||_0x6afab9 instanceof Float64Array)&&(_0x6afab9=new Uint8Array(_0x6afab9[_0x1f4996(0x289)],_0x6afab9['byteOffset'],_0x6afab9[_0x1f4996(0x4ea)])),_0x6afab9 instanceof Uint8Array){for(var _0xf1ec84=_0x6afab9[_0x1f4996(0x4ea)],_0x54fdce=[],_0xfd1c59=0x0;_0xfd1c59<_0xf1ec84;_0xfd1c59++)_0x54fdce[_0xfd1c59>>>0x2]|=_0x6afab9[_0xfd1c59]<<0x18-_0xfd1c59%0x4*0x8;_0x55c0c9[_0x1f4996(0x411)](this,_0x54fdce,_0xf1ec84);}else _0x55c0c9['apply'](this,arguments);};_0x101021[_0x38d123(0x31c)]=_0x9c8997;}}()),_0x4dfab7['lib'][_0x1a178b(0x31e)];}));}(Oe)),Oe[_0x53a8c1(0x28a)];}var Fi=Bi();const Vi=ve(Fi);var Re={'exports':{}},Wi=Re[_0x2f6cf0(0x28a)],st;function Gi(){var _0x281e72=_0x2f6cf0;return st||(st=0x1,function(_0x64f68b,_0x1261cf){(function(_0x26a0d6,_0x28fcd3,_0x16874c){_0x64f68b['exports']=_0x28fcd3(Q(),Tt());}(Wi,function(_0x239627){var _0x3dc695=_0x30fe;return _0x239627[_0x3dc695(0x51e)][_0x3dc695(0x412)]={'pad':function(){},'unpad':function(){}},_0x239627['pad'][_0x3dc695(0x412)];}));}(Re)),Re[_0x281e72(0x28a)];}var Yi=Gi();const qi=ve(Yi);function Ki(_0x44f79e,_0x3ef996){var _0x2c9710=_0x2f6cf0;const _0x3fb849=_0x3ef996-_0x44f79e['length']%_0x3ef996,_0x351e3e=String[_0x2c9710(0x531)](_0x3fb849)['repeat'](_0x3fb849);return _0x44f79e+_0x351e3e;}function zi(_0x57fe47,_0xfa38ae){var _0x2d73d3=_0x2f6cf0;const _0x333f06=Vi[_0x2d73d3(0x2f4)](0x10),_0x63d673=Ki(_0x57fe47,0x10),_0x129f5a=Mi[_0x2d73d3(0x3e2)](Hi[_0x2d73d3(0x3b9)](_0x63d673),it[_0x2d73d3(0x3b9)](_0xfa38ae),{'iv':_0x333f06,'padding':qi});return _0x333f06['concat'](_0x129f5a['ciphertext'])[_0x2d73d3(0x532)](it);}function Ji(){var _0x3f588a=_0x2f6cf0;const _0x1a0537=yt[_0x3f588a(0x3a2)]()['__Key__'];if(_0x1a0537){const _0x3cbac0={'time':Math['floor'](Date[_0x3f588a(0x4dc)]()/0x3e8),'domain':location[_0x3f588a(0x31d)]};return zi(JSON['stringify'](_0x3cbac0),_0x1a0537);}}var Xi=Object[_0x2f6cf0(0x51f)],Zi=(_0x2fa0ba,_0x26c765,_0x2b9dc6,_0xafa8ee)=>{var _0x1ee8dc=_0x2f6cf0;for(var _0x479903=_0xafa8ee>0x1?void 0x0:_0xafa8ee?Xi(_0x26c765,_0x2b9dc6):_0x26c765,_0x2d2cf7=_0x2fa0ba[_0x1ee8dc(0x4ca)]-0x1,_0x2a443f;_0x2d2cf7>=0x0;_0x2d2cf7--)(_0x2a443f=_0x2fa0ba[_0x2d2cf7])&&(_0x479903=_0x2a443f(_0x479903)||_0x479903);return _0x479903;},Qi=(_0x469a19,_0x1dc85b)=>(_0x443ffd,_0x388af6)=>_0x1dc85b(_0x443ffd,_0x388af6,_0x469a19);let Ne=class{constructor(_0x9a3dcf){var _0x5dd8a5=_0x2f6cf0;this[_0x5dd8a5(0x2bc)]=_0x9a3dcf,this[_0x5dd8a5(0x394)]();}[_0x2f6cf0(0x394)](){var _0x1a7b57=_0x2f6cf0;this[_0x1a7b57(0x2bc)][_0x1a7b57(0x25b)]({'interceptor':(_0x1e91a0,_0x145d1e)=>{var _0x3969d2=_0x1a7b57;const _0x131ebe=_0x1e91a0[_0x3969d2(0x2cf)],_0x32881=Ji();return _0x32881&&_0x131ebe['set'](_0x3969d2(0x1f4),_0x32881),_0x145d1e(_0x1e91a0);}});}};Ne=Zi([Qi(0x0,a[_0x2f6cf0(0x4ba)](q[_0x2f6cf0(0x2d4)]))],Ne);var en=Object[_0x2f6cf0(0x51f)],tn=(_0x1e912b,_0x1f3e2d,_0xdf9e54,_0x547aab)=>{for(var _0x460914=_0x547aab>0x1?void 0x0:_0x547aab?en(_0x1f3e2d,_0xdf9e54):_0x1f3e2d,_0x3dca74=_0x1e912b['length']-0x1,_0x27b3b5;_0x3dca74>=0x0;_0x3dca74--)(_0x27b3b5=_0x1e912b[_0x3dca74])&&(_0x460914=_0x27b3b5(_0x460914)||_0x460914);return _0x460914;},we=(_0x38eb49,_0x22221a)=>(_0x4927ec,_0x23eb6d)=>_0x22221a(_0x4927ec,_0x23eb6d,_0x38eb49);exports[_0x2f6cf0(0x2f5)]=class extends a['RxDisposable']{constructor(_0x4b5708,_0x2d9830,_0x4f7c23){var _0x519189=_0x2f6cf0;super(),A(this,_0x519189(0x297),new H[(_0x519189(0x1fd))](null)),A(this,_0x519189(0x3c0),this[_0x519189(0x297)][_0x519189(0x480)]()),(this[_0x519189(0x39f)]=_0x4b5708,this[_0x519189(0x48c)]=_0x2d9830,this[_0x519189(0x2c3)]=_0x4f7c23);}async['loadUnitOfRevision'](_0x16633c,_0x1484ea,_0x6af12f){var _0x41a2ab=_0x2f6cf0;this[_0x41a2ab(0x297)][_0x41a2ab(0x4b8)]({'unitId':_0x16633c,'type':_0x1484ea});let _0x1302c9=null;switch(_0x1484ea){case J[_0x41a2ab(0x3b3)]:{_0x1302c9=await this['_snapshotService'][_0x41a2ab(0x22e)](_0x16633c,_0x6af12f);break;}case J[_0x41a2ab(0x4a1)]:{_0x1302c9=await this[_0x41a2ab(0x48c)][_0x41a2ab(0x470)](_0x16633c,_0x6af12f);break;}default:{this[_0x41a2ab(0x39f)]['error'](_0x41a2ab(0x4c0),_0x41a2ab(0x3d1));break;}}return _0x1302c9;}async[_0x2f6cf0(0x3ea)](_0xaa64bf,_0x51d422,_0x74cab9){var _0x23f0f0=_0x2f6cf0,_0x3f38cf;this[_0x23f0f0(0x297)][_0x23f0f0(0x4b8)]({'unitId':_0xaa64bf,'type':_0x51d422,'subUnitId':_0x74cab9});let _0x3cca27=0x0;const _0x10bf57=await((_0x3f38cf=this[_0x23f0f0(0x2c3)])==null?void 0x0:_0x3f38cf[_0x23f0f0(0x499)](_0xaa64bf));return _0x10bf57&&(_0x10bf57[_0x23f0f0(0x3cd)]||_0x10bf57[_0x23f0f0(0x53d)]['length']!==0x0)&&(_0x3cca27=_0x10bf57['rev']),_0x3cca27===0x0&&this['_logService'][_0x23f0f0(0x359)]('[DataLoaderService]',_0x23f0f0(0x52b)),this[_0x23f0f0(0x1fa)](_0xaa64bf,_0x51d422,_0x3cca27);}},exports[_0x2f6cf0(0x2f5)]=tn([we(0x0,a[_0x2f6cf0(0x3ae)]),we(0x1,a['Inject'](p[_0x2f6cf0(0x34d)])),we(0x2,a['Optional'](K))],exports['DataLoaderService']);var nn=Object[_0x2f6cf0(0x51f)],rn=(_0x5997b4,_0x282560,_0x198476,_0x4159aa)=>{for(var _0xbc4ea6=_0x4159aa>0x1?void 0x0:_0x4159aa?nn(_0x282560,_0x198476):_0x282560,_0x1a0581=_0x5997b4['length']-0x1,_0x4d4a91;_0x1a0581>=0x0;_0x1a0581--)(_0x4d4a91=_0x5997b4[_0x1a0581])&&(_0xbc4ea6=_0x4d4a91(_0xbc4ea6)||_0xbc4ea6);return _0xbc4ea6;},Me=(_0x4e23a8,_0x1e3758)=>(_0x5a09d5,_0x13cd81)=>_0x1e3758(_0x5a09d5,_0x13cd81,_0x4e23a8);const sn=['image/png',_0x2f6cf0(0x2cd),_0x2f6cf0(0x4a5),'image/gif','image/bmp'],on=0x5*0x400*0x400,an=_0x2f6cf0(0x21c),cn='/universer-api/file/{fileID}/sign-url';exports[_0x2f6cf0(0x33b)]=class{constructor(_0x1740ec,_0x3e431a,_0x54648d){var _0x1f408a=_0x2f6cf0;A(this,_0x1f408a(0x3df),0x0),A(this,_0x1f408a(0x3bf),new H['Subject']()),A(this,_0x1f408a(0x3c7),this[_0x1f408a(0x3bf)]),A(this,'_imageSourceCache',new Map()),(this[_0x1f408a(0x2bc)]=_0x1740ec,this[_0x1f408a(0x543)]=_0x3e431a,this[_0x1f408a(0x3a8)]=_0x54648d);}['setWaitCount'](_0x191437){var _0x25d9fe=_0x2f6cf0;this[_0x25d9fe(0x3df)]=_0x191437,this[_0x25d9fe(0x3bf)][_0x25d9fe(0x4b8)](_0x191437);}[_0x2f6cf0(0x559)](_0x27c3bd,_0x5421dd){var _0x2e4821=_0x2f6cf0;if(_0x5421dd===z['ImageSourceType']['BASE64']){const _0x3cafec=new Image();return _0x3cafec[_0x2e4821(0x3b0)]=_0x27c3bd,_0x3cafec;}return this[_0x2e4821(0x338)][_0x2e4821(0x1f6)](_0x27c3bd);}['addImageSourceCache'](_0x51053f,_0x2b6aec,_0x21fb42){var _0x44e429=_0x2f6cf0;_0x2b6aec===z[_0x44e429(0x2e0)][_0x44e429(0x4e3)]||_0x21fb42==null||this['_imageSourceCache'][_0x44e429(0x48a)](_0x51053f,_0x21fb42);}async[_0x2f6cf0(0x3e1)](_0x2cca19){var _0x526247=_0x2f6cf0;try{const _0x333c6b=this[_0x526247(0x2e3)](this[_0x526247(0x358)](),''+_0x2cca19),_0x3bbf7b=(await this[_0x526247(0x2bc)]['get'](_0x333c6b))[_0x526247(0x271)];if(_0x3bbf7b[_0x526247(0x2c2)]&&_0x3bbf7b[_0x526247(0x2c2)][_0x526247(0x44e)]===dt['OK']){const _0x4a111a=new URL(_0x3bbf7b['url'],this[_0x526247(0x2db)]())['toString']();return Promise[_0x526247(0x3aa)](_0x4a111a);}return Promise['reject'](_0x3bbf7b[_0x526247(0x2c2)]);}catch(_0x309d71){return Promise[_0x526247(0x413)](_0x309d71);}}async[_0x2f6cf0(0x458)](_0x51b795){var _0x3c960f=_0x2f6cf0;let _0x26f332='';if(!sn['includes'](_0x51b795[_0x3c960f(0x477)]))return this[_0x3c960f(0x205)](),Promise['reject'](new Error(z['ImageUploadStatusType'][_0x3c960f(0x409)]));if(_0x51b795[_0x3c960f(0x290)]>on)return this[_0x3c960f(0x205)](),Promise['reject'](new Error(z['ImageUploadStatusType'][_0x3c960f(0x3da)]));try{const _0xa27ac4=new FormData();_0xa27ac4[_0x3c960f(0x369)](_0x3c960f(0x280),_0x51b795);const _0x45e3b6=this[_0x3c960f(0x3a8)][_0x3c960f(0x2fa)](),_0x392f7f=_0x45e3b6==null?void 0x0:_0x45e3b6[_0x3c960f(0x3de)]();if(!_0x392f7f)throw new Error('unitId\x20is\x20not\x20found');const _0x1c04c3=this[_0x3c960f(0x249)]()+'?size='+_0x51b795[_0x3c960f(0x290)][_0x3c960f(0x532)]()+_0x3c960f(0x484)+vt[_0x3c960f(0x43f)]+'&assign='+encodeURIComponent(_0x392f7f),_0x55d127={'body':_0xa27ac4},_0x4b04a1=(await this[_0x3c960f(0x2bc)]['post'](_0x1c04c3,_0x55d127))['body'];if(typeof _0x4b04a1[_0x3c960f(0x446)]!=_0x3c960f(0x501))return this[_0x3c960f(0x205)](),Promise[_0x3c960f(0x413)](new Error(z[_0x3c960f(0x450)][_0x3c960f(0x386)]));_0x26f332=_0x4b04a1['FileId'];}catch{return this[_0x3c960f(0x205)](),Promise[_0x3c960f(0x413)](new Error(z[_0x3c960f(0x450)][_0x3c960f(0x386)]));}return new Promise((_0x5ca633,_0x163cf8)=>{var _0x5e3818=_0x3c960f;const _0x18dfd1=new FileReader();_0x18dfd1[_0x5e3818(0x32b)](_0x51b795),_0x18dfd1[_0x5e3818(0x328)]=_0x4fd7a5=>{var _0x18f48b=_0x5e3818,_0x31c102;const _0x176352=(_0x31c102=_0x4fd7a5[_0x18f48b(0x2ce)])==null?void 0x0:_0x31c102[_0x18f48b(0x512)];if(_0x176352==null){this[_0x18f48b(0x205)](),_0x163cf8(new Error(z[_0x18f48b(0x450)][_0x18f48b(0x386)]));return;}const _0x3a25d0=a[_0x18f48b(0x4da)](0x6);_0x5ca633({'imageId':_0x3a25d0,'imageSourceType':z[_0x18f48b(0x2e0)]['UUID'],'source':_0x26f332,'base64Cache':_0x176352,'status':z[_0x18f48b(0x450)][_0x18f48b(0x47f)]}),this[_0x18f48b(0x205)]();};});}[_0x2f6cf0(0x249)](){var _0x380507=_0x2f6cf0,_0x16a146;const _0x510526=this['_configService'][_0x380507(0x52a)](Y);return(_0x16a146=_0x510526==null?void 0x0:_0x510526[_0x380507(0x55d)])!=null?_0x16a146:an;}[_0x2f6cf0(0x358)](){var _0x509f29=_0x2f6cf0,_0x1680eb;const _0x1836f9=this['_configService'][_0x509f29(0x52a)](Y);return(_0x1680eb=_0x1836f9==null?void 0x0:_0x1836f9['signUrlServerUrl'])!=null?_0x1680eb:cn;}['_getDownloadEndpointURL'](){var _0x4d4742=_0x2f6cf0,_0x1fbad8;const _0xdc4138=this[_0x4d4742(0x543)][_0x4d4742(0x52a)](Y);return(_0x1fbad8=_0xdc4138==null?void 0x0:_0xdc4138[_0x4d4742(0x4c2)])!=null?_0x1fbad8:location[_0x4d4742(0x2ef)];}[_0x2f6cf0(0x2e3)](_0x369666,_0x26b1ea){var _0x15bc1a=_0x2f6cf0;return _0x369666[_0x15bc1a(0x3e3)]('{fileID}',_0x26b1ea);}[_0x2f6cf0(0x205)](){var _0x22d1d1=_0x2f6cf0;this[_0x22d1d1(0x3df)]-=0x1,this[_0x22d1d1(0x3bf)][_0x22d1d1(0x4b8)](this[_0x22d1d1(0x3df)]);}},exports[_0x2f6cf0(0x33b)]=rn([Me(0x0,a[_0x2f6cf0(0x4ba)](q[_0x2f6cf0(0x2d4)])),Me(0x1,a[_0x2f6cf0(0x45e)]),Me(0x2,a['Inject'](a['IUniverInstanceService']))],exports[_0x2f6cf0(0x33b)]);var hn=Object[_0x2f6cf0(0x51f)],_n=(_0x466a06,_0x1f7c1d,_0x37a36a,_0x5e6af1)=>{var _0x1d109b=_0x2f6cf0;for(var _0x54ca27=_0x5e6af1>0x1?void 0x0:_0x5e6af1?hn(_0x1f7c1d,_0x37a36a):_0x1f7c1d,_0x521306=_0x466a06[_0x1d109b(0x4ca)]-0x1,_0x476fe0;_0x521306>=0x0;_0x521306--)(_0x476fe0=_0x466a06[_0x521306])&&(_0x54ca27=_0x476fe0(_0x54ca27)||_0x54ca27);return _0x54ca27;},ot=(_0x5bacc4,_0x14c580)=>(_0x4d43d7,_0x5a2f47)=>_0x14c580(_0x4d43d7,_0x5a2f47,_0x5bacc4);const ln='/universer-api/authz';exports[_0x2f6cf0(0x22d)]=class{constructor(_0x59ec7b,_0x54d175){var _0x5bff5b=_0x2f6cf0;this['_configService']=_0x59ec7b,this[_0x5bff5b(0x4d5)]=_0x54d175;}[_0x2f6cf0(0x2ac)](){var _0x521595=_0x2f6cf0,_0x5ead8a;const _0x3adffe=this[_0x521595(0x543)][_0x521595(0x52a)](Y);return(_0x5ead8a=_0x3adffe==null?void 0x0:_0x3adffe[_0x521595(0x557)])!=null?_0x5ead8a:ln;}async[_0x2f6cf0(0x2a0)](_0x1107d8){var _0x2b8dfe=_0x2f6cf0;const _0x34a98c=this[_0x2b8dfe(0x2ac)]()+'/collaborator';return{'list':[{'title':_0x2b8dfe(0x54a),'mentions':(await this[_0x2b8dfe(0x4d5)][_0x2b8dfe(0x1f6)](_0x34a98c,{'params':{'objectID':_0x1107d8[_0x2b8dfe(0x4d7)],'unitID':_0x1107d8[_0x2b8dfe(0x4d7)]}}))['body'][_0x2b8dfe(0x431)][_0x2b8dfe(0x237)](_0x1c004b=>({'objectId':_0x1c004b['id'],'name':_0x1c004b[_0x2b8dfe(0x21a)][_0x2b8dfe(0x286)],'metadata':{'icon':_0x1c004b[_0x2b8dfe(0x21a)][_0x2b8dfe(0x504)]},'label':_0x1c004b[_0x2b8dfe(0x21a)][_0x2b8dfe(0x286)],'objectType':a[_0x2b8dfe(0x4cd)][_0x2b8dfe(0x28d)]})),'metadata':{},'type':a[_0x2b8dfe(0x4cd)][_0x2b8dfe(0x28d)]}]};}},exports[_0x2f6cf0(0x22d)]=_n([ot(0x0,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x45e)])),ot(0x1,a['Inject'](q['HTTPService']))],exports[_0x2f6cf0(0x22d)]);var un=Object['getOwnPropertyDescriptor'],dn=(_0x43c874,_0x5e4e0e,_0x575762,_0x3d1e52)=>{var _0x3075db=_0x2f6cf0;for(var _0x5840d2=_0x3d1e52>0x1?void 0x0:_0x3d1e52?un(_0x5e4e0e,_0x575762):_0x5e4e0e,_0x47a38c=_0x43c874[_0x3075db(0x4ca)]-0x1,_0x4609ef;_0x47a38c>=0x0;_0x47a38c--)(_0x4609ef=_0x43c874[_0x47a38c])&&(_0x5840d2=_0x4609ef(_0x5840d2)||_0x5840d2);return _0x5840d2;},le=(_0x537c04,_0x2c9f85)=>(_0x2ea55d,_0x2c5dfb)=>_0x2c9f85(_0x2ea55d,_0x2c5dfb,_0x537c04);let De=class extends a[_0x2f6cf0(0x44c)]{constructor(_0x498b29,_0x533d40,_0x166138,_0x443efb,_0x494d96){var _0x256bf5=_0x2f6cf0;super(),this[_0x256bf5(0x2d8)]=_0x498b29,this['_univerInstanceService']=_0x533d40,this[_0x256bf5(0x38e)]=_0x166138,this[_0x256bf5(0x36e)]=_0x443efb,this[_0x256bf5(0x22f)]=_0x494d96,this['_initUnitPermissionChange'](),this[_0x256bf5(0x2c6)]();}[_0x2f6cf0(0x2c6)](){var _0x5c42e6=_0x2f6cf0;const _0x456840=async _0x626d92=>{var _0x2fb2eb=_0x30fe;(await this[_0x2fb2eb(0x36e)][_0x2fb2eb(0x241)](_0x626d92))[_0x2fb2eb(0x329)][_0x2fb2eb(0x298)](V['filter'](_0x204cd8=>_0x204cd8[_0x2fb2eb(0x3f1)]===p[_0x2fb2eb(0x252)]['SHOULD_CLOSE_CONN']),V[_0x2fb2eb(0x4d6)](this[_0x2fb2eb(0x3d9)]))[_0x2fb2eb(0x2a7)](_0x2b3cf9=>{var _0x53b9d3=_0x2fb2eb;const _0x1d52eb=_0x2b3cf9,{reason:_0x4c0049}=_0x1d52eb['data'];this[_0x53b9d3(0x22f)][_0x53b9d3(0x33e)]({'id':Z[_0x53b9d3(0x308)],'data':_0x4c0049}),this[_0x53b9d3(0x38e)]['updatePermissionPoint'](new X[(_0x53b9d3(0x344))](_0x626d92)['id'],!0x1),this[_0x53b9d3(0x36e)][_0x53b9d3(0x284)](_0x626d92);});};H[_0x5c42e6(0x293)](this[_0x5c42e6(0x3a8)][_0x5c42e6(0x3a5)](a[_0x5c42e6(0x454)][_0x5c42e6(0x3b3)]),this[_0x5c42e6(0x3a8)][_0x5c42e6(0x3a5)](a['UniverInstanceType'][_0x5c42e6(0x4a1)]))[_0x5c42e6(0x298)](V[_0x5c42e6(0x237)](_0x27446b=>_0x27446b['getUnitId']()),V[_0x5c42e6(0x3ec)](_0x3e9b9e=>!a[_0x5c42e6(0x4f5)](_0x3e9b9e)),V[_0x5c42e6(0x4d6)](this[_0x5c42e6(0x3d9)]))['subscribe'](_0x4e7b39=>{_0x456840(_0x4e7b39);});}[_0x2f6cf0(0x467)](){var _0x4c4c59=_0x2f6cf0;const _0x57085c=async _0x373328=>{var _0x25cc20=_0x30fe;const _0x5784e5=await this[_0x25cc20(0x36e)]['requireSession'](_0x373328),_0x593dd9=this[_0x25cc20(0x2d8)][_0x25cc20(0x1f6)](X['SheetPermissionInitController']);_0x5784e5[_0x25cc20(0x329)][_0x25cc20(0x298)](V[_0x25cc20(0x3ec)](_0x54ca96=>_0x54ca96[_0x25cc20(0x3f1)]===p[_0x25cc20(0x252)]['UPDATE_PERMISSION_OBJ']),V['takeUntil'](this['dispose$']))[_0x25cc20(0x2a7)](_0xc8f78b=>{var _0x3a510a=_0x25cc20;const _0x2386ff=_0xc8f78b,{objectId:_0x2180bf}=_0x2386ff['data'];_0x2180bf===_0x373328?_0x593dd9[_0x3a510a(0x306)](_0x373328):_0x593dd9[_0x3a510a(0x3ab)](_0x373328,_0x2180bf);});};H['merge'](this[_0x4c4c59(0x3a8)][_0x4c4c59(0x3a5)](a[_0x4c4c59(0x454)][_0x4c4c59(0x3b3)]))['pipe'](V['map'](_0x5d046d=>_0x5d046d['getUnitId']()),V[_0x4c4c59(0x3ec)](_0x2b65cc=>!a[_0x4c4c59(0x4f5)](_0x2b65cc)),V[_0x4c4c59(0x4d6)](this[_0x4c4c59(0x3d9)]))['subscribe'](_0xea8a8e=>{_0x57085c(_0xea8a8e);});}};De=dn([le(0x0,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x3b2)])),le(0x1,a[_0x2f6cf0(0x4cf)]),le(0x2,a[_0x2f6cf0(0x400)]),le(0x3,a[_0x2f6cf0(0x4ba)](exports['CollaborationSessionService'])),le(0x4,a[_0x2f6cf0(0x4ba)](ee))],De);var vn=Object[_0x2f6cf0(0x51f)],Sn=(_0x25c5bf,_0x24fa53,_0x406091,_0x386dc6)=>{for(var _0x45346e=_0x386dc6>0x1?void 0x0:_0x386dc6?vn(_0x24fa53,_0x406091):_0x24fa53,_0x4c0536=_0x25c5bf['length']-0x1,_0x34856d;_0x4c0536>=0x0;_0x4c0536--)(_0x34856d=_0x25c5bf[_0x4c0536])&&(_0x45346e=_0x34856d(_0x45346e)||_0x45346e);return _0x45346e;},at=(_0x50a2cd,_0x1f41c9)=>(_0x43b806,_0x4aee53)=>_0x1f41c9(_0x43b806,_0x4aee53,_0x50a2cd);exports[_0x2f6cf0(0x35a)]=class{constructor(_0xaa7345,_0x908790){var _0x181296=_0x2f6cf0;this[_0x181296(0x543)]=_0xaa7345,this['_httpService']=_0x908790;}async[_0x2f6cf0(0x489)](_0x555012,_0x18f025){var _0x59953d=_0x2f6cf0,_0x47b577;const {unitID:_0x426cb6,type:_0x215ce2,revision:_0x231e40=0x0}=_0x18f025,_0x268764=this[_0x59953d(0x3e4)]()+'/'+_0x215ce2+_0x59953d(0x266)+_0x426cb6+_0x59953d(0x2bd)+_0x231e40,_0x5d461f=(await this[_0x59953d(0x2bc)][_0x59953d(0x1f6)](_0x268764))['body'],_0xc2fb8a=(_0x47b577=_0x5d461f[_0x59953d(0x4e7)])==null?void 0x0:_0x47b577[_0x59953d(0x452)];if(_0xc2fb8a){const _0x467028=_0xc2fb8a==null?void 0x0:_0xc2fb8a[_0x59953d(0x2e8)],_0x3c93ca=p[_0x59953d(0x436)]['encode'](p[_0x59953d(0x24f)](_0x467028));_0xc2fb8a['originalMeta']=_0x3c93ca,Object[_0x59953d(0x2b9)](_0xc2fb8a[_0x59953d(0x3a4)])[_0x59953d(0x397)](([,_0x5a2552])=>{var _0x412c5a=_0x59953d;const _0x251e98=_0x5a2552[_0x412c5a(0x2e8)],_0x2b45c7=p[_0x412c5a(0x436)][_0x412c5a(0x24e)](p[_0x412c5a(0x24f)](_0x251e98));_0x5a2552[_0x412c5a(0x2e8)]=_0x2b45c7;});}return _0x5d461f;}async[_0x2f6cf0(0x428)](_0x41759e,_0xc267ed){var _0x3663c8=_0x2f6cf0;const {unitID:_0x18871c,type:_0x1534ee,blockID:_0x1b5e73}=_0xc267ed,_0x39490b=this[_0x3663c8(0x478)]()+'/'+_0x1534ee+_0x3663c8(0x266)+_0x18871c+_0x3663c8(0x20e)+_0x1b5e73;return(await this['_httpService'][_0x3663c8(0x1f6)](_0x39490b))[_0x3663c8(0x271)];}async[_0x2f6cf0(0x20a)](_0x35285a,_0x46763b){var _0x1a2630=_0x2f6cf0;const {unitID:_0x4edd99,type:_0x21871d,blockID:_0x299526}=_0x46763b,_0x14187f=this[_0x1a2630(0x478)]()+_0x1a2630(0x20e)+_0x21871d+_0x1a2630(0x266)+_0x4edd99+_0x1a2630(0x20e)+_0x299526;return(await this[_0x1a2630(0x2bc)]['get'](_0x14187f))[_0x1a2630(0x271)];}async['fetchMissingChangesets'](_0x5d6806,_0x37da42){var _0x290174=_0x2f6cf0;const {unitID:_0x4c9bde,type:_0x2483df,from:_0x497ba0,to:_0x344a50}=_0x37da42,_0x22e0d7=this[_0x290174(0x478)]()+'/'+_0x2483df+_0x290174(0x266)+_0x4c9bde+_0x290174(0x4b4)+_0x497ba0+_0x290174(0x305)+_0x344a50;return(await this[_0x290174(0x2bc)][_0x290174(0x1f6)](_0x22e0d7))[_0x290174(0x271)];}['getSnapshotAPIPath'](){var _0x26efdd=_0x2f6cf0,_0x219b16;return(_0x219b16=this['_configService'][_0x26efdd(0x52a)](Dt))!=null?_0x219b16:this[_0x26efdd(0x478)]();}[_0x2f6cf0(0x478)](){var _0x51576b=_0x2f6cf0,_0x8de75a;const _0x3b63af=this[_0x51576b(0x543)][_0x51576b(0x52a)](Y);return(_0x8de75a=_0x3b63af==null?void 0x0:_0x3b63af[_0x51576b(0x444)])!=null?_0x8de75a:Nt;}async['getResourcesRequest'](_0x5ea4dc,_0x37e9ec){var _0xf9fb73=_0x2f6cf0;const _0x379c1e=_0xf9fb73(0x2e4)+_0x37e9ec[_0xf9fb73(0x477)]+_0xf9fb73(0x266)+_0x37e9ec[_0xf9fb73(0x1f2)]+'/resources';return(await this[_0xf9fb73(0x2bc)][_0xf9fb73(0x1f6)](_0x379c1e,{'params':{'resourceId':JSON['stringify'](_0x37e9ec[_0xf9fb73(0x552)])}}))['body'];}[_0x2f6cf0(0x4c6)](){var _0x1391aa=_0x2f6cf0;throw new Error(_0x1391aa(0x24b));}[_0x2f6cf0(0x41d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2f6cf0(0x20f)](){var _0x5a07c7=_0x2f6cf0;throw new Error(_0x5a07c7(0x24b));}['saveChangeset'](){var _0x5664d9=_0x2f6cf0;throw new Error(_0x5664d9(0x24b));}[_0x2f6cf0(0x31f)](){var _0x3d60a3=_0x2f6cf0;throw new Error(_0x3d60a3(0x24b));}[_0x2f6cf0(0x485)](){var _0x2fece7=_0x2f6cf0;throw new Error(_0x2fece7(0x24b));}},exports[_0x2f6cf0(0x35a)]=Sn([at(0x0,a[_0x2f6cf0(0x45e)]),at(0x1,a[_0x2f6cf0(0x4ba)](q['HTTPService']))],exports[_0x2f6cf0(0x35a)]);var fn=Object[_0x2f6cf0(0x51f)],In=(_0x3f3b74,_0x3f0847,_0x235404,_0x42ca45)=>{var _0x2da9a9=_0x2f6cf0;for(var _0x2c412f=_0x42ca45>0x1?void 0x0:_0x42ca45?fn(_0x3f0847,_0x235404):_0x3f0847,_0x52cc6a=_0x3f3b74[_0x2da9a9(0x4ca)]-0x1,_0x385698;_0x52cc6a>=0x0;_0x52cc6a--)(_0x385698=_0x3f3b74[_0x52cc6a])&&(_0x2c412f=_0x385698(_0x2c412f)||_0x2c412f);return _0x2c412f;},ue=(_0x240cb8,_0x238f3a)=>(_0x515167,_0x164c86)=>_0x238f3a(_0x515167,_0x164c86,_0x240cb8);exports['CollaborativeUndoRedoService']=class extends a['LocalUndoRedoService']{constructor(_0x4be969,_0x4873cc,_0x34cf76,_0x5e0b95,_0x3d4beb){var _0x1e0caf=_0x2f6cf0;super(_0x4be969,_0x4873cc,_0x34cf76),this[_0x1e0caf(0x54f)]=_0x5e0b95,this['_logService']=_0x3d4beb;}[_0x2f6cf0(0x4fb)](_0x5923da,_0x16a9dd){var _0xc43c8f=_0x2f6cf0;const _0x3ba248=this[_0xc43c8f(0x2bf)](_0x5923da);if(_0x3ba248)try{const _0x31f05d=this['_transformStack'](_0x3ba248,_0x16a9dd);this[_0xc43c8f(0x27d)](_0x5923da,_0x31f05d);}catch(_0x33e855){this['_logService'][_0xc43c8f(0x2c2)](_0xc43c8f(0x218),_0x33e855),this[_0xc43c8f(0x2eb)](_0x5923da);}const _0x2216e8=this[_0xc43c8f(0x250)](_0x5923da);if(_0x2216e8)try{const _0x59b3e7=this[_0xc43c8f(0x26a)](_0x2216e8,_0x16a9dd);this[_0xc43c8f(0x3e5)](_0x5923da,_0x59b3e7);}catch(_0x140f47){this['_logService'][_0xc43c8f(0x2c2)](_0x140f47),this['_clearRedo'](_0x5923da);}}[_0x2f6cf0(0x2eb)](_0x417053){var _0x186d22=_0x2f6cf0;const _0x1aaa8f=this[_0x186d22(0x2bf)](_0x417053);_0x1aaa8f&&(_0x1aaa8f[_0x186d22(0x4ca)]=0x0,this[_0x186d22(0x2aa)]());}[_0x2f6cf0(0x270)](_0x54add7){var _0x165f84=_0x2f6cf0;const _0x3150a0=this['_getRedoStack'](_0x54add7);_0x3150a0&&(_0x3150a0[_0x165f84(0x4ca)]=0x0,this[_0x165f84(0x2aa)]());}[_0x2f6cf0(0x27d)](_0x325802,_0x5995a7){var _0x1367c4=_0x2f6cf0;this[_0x1367c4(0x31b)][_0x1367c4(0x48a)](_0x325802,_0x5995a7),this[_0x1367c4(0x2aa)]();}[_0x2f6cf0(0x3e5)](_0x511a01,_0x585f5e){var _0x2a890c=_0x2f6cf0;this[_0x2a890c(0x34b)][_0x2a890c(0x48a)](_0x511a01,_0x585f5e),this['_updateStatus']();}[_0x2f6cf0(0x26a)](_0x189b55,_0xb8bd70){var _0x1fe4a0=_0x2f6cf0;const _0x59241f=[];let _0x272c35=_0xb8bd70,_0x1196d9=_0xb8bd70;for(let _0x5cba4c=_0x189b55[_0x1fe4a0(0x4ca)]-0x1;_0x5cba4c>=0x0;_0x5cba4c--){const {unitID:_0x1c5339,undoMutations:_0x25f13b,redoMutations:_0x186ac5}=_0x189b55[_0x5cba4c],_0x42a5c8=this[_0x1fe4a0(0x54f)][_0x1fe4a0(0x49c)](_0x272c35,_0x25f13b),_0x2c4d4d=this[_0x1fe4a0(0x54f)][_0x1fe4a0(0x49c)](_0x1196d9,_0x186ac5);if(p['isTransformMutationsWithChangesetFailure'](_0x42a5c8)||p['isTransformMutationsWithChangesetFailure'](_0x2c4d4d)){this['_logService'][_0x1fe4a0(0x2c2)](_0x1fe4a0(0x218),'transformStack\x20failed!',_0x42a5c8,_0x2c4d4d);break;}_0x272c35=_0x42a5c8['c1Prime'],_0x1196d9=_0x2c4d4d[_0x1fe4a0(0x27a)],_0x59241f[_0x1fe4a0(0x547)]({'unitID':_0x1c5339,'undoMutations':_0x42a5c8[_0x1fe4a0(0x203)],'redoMutations':_0x2c4d4d[_0x1fe4a0(0x203)]});}return _0x59241f['reverse']();}},exports[_0x2f6cf0(0x4f6)]=In([ue(0x0,a[_0x2f6cf0(0x4cf)]),ue(0x1,a[_0x2f6cf0(0x48d)]),ue(0x2,a[_0x2f6cf0(0x529)]),ue(0x3,p[_0x2f6cf0(0x517)]),ue(0x4,a['ILogService'])],exports['CollaborativeUndoRedoService']);var pn=Object[_0x2f6cf0(0x231)],mn=Object[_0x2f6cf0(0x51f)],gn=(_0x4982b6,_0x4ee128,_0x226d9a)=>_0x4ee128 in _0x4982b6?pn(_0x4982b6,_0x4ee128,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x226d9a}):_0x4982b6[_0x4ee128]=_0x226d9a,En=(_0x471203,_0x23fe62,_0x53948b,_0x6ab9c9)=>{for(var _0xa937e3=_0x6ab9c9>0x1?void 0x0:_0x6ab9c9?mn(_0x23fe62,_0x53948b):_0x23fe62,_0x2afd28=_0x471203['length']-0x1,_0x326f84;_0x2afd28>=0x0;_0x2afd28--)(_0x326f84=_0x471203[_0x2afd28])&&(_0xa937e3=_0x326f84(_0xa937e3)||_0xa937e3);return _0xa937e3;},Le=(_0x408808,_0x381e95)=>(_0x4dbf75,_0x5b8eac)=>_0x381e95(_0x4dbf75,_0x5b8eac,_0x408808),Cn=(_0x29af62,_0x4df1d4,_0xf7310f)=>gn(_0x29af62,_0x4df1d4+'',_0xf7310f);const Tn=_0x2f6cf0(0x53c);exports[_0x2f6cf0(0x408)]=class extends a[_0x2f6cf0(0x2a6)]{constructor(_0xc631d0,_0x4ce7ae,_0x102d6e,_0x33f202){var _0x2bd945=_0x2f6cf0;super(),A(this,'_config'),(this[_0x2bd945(0x39f)]=_0x4ce7ae,this['_injector']=_0x102d6e,this['_configService']=_0x33f202);const {..._0x38a29f}=a['merge']({},Bt,_0xc631d0);if(!_0x38a29f['socketService'])throw new Error(_0x2bd945(0x22b));this[_0x2bd945(0x25e)]=_0x38a29f,this[_0x2bd945(0x543)][_0x2bd945(0x2ee)](Y,_0x38a29f);}['onStarting'](){var _0x4f9197=_0x2f6cf0;this[_0x4f9197(0x304)](),this[_0x4f9197(0x2f0)]();}[_0x2f6cf0(0x304)](){var _0x370650=_0x2f6cf0,_0x181b17,_0x3c6ca5;this[_0x370650(0x2d8)][_0x370650(0x52c)](a['IUndoRedoService'])&&this[_0x370650(0x39f)][_0x370650(0x2c2)]('[UniverCollaborationClientPlugin]',_0x370650(0x2f9));const _0x5c2367=a[_0x370650(0x39c)]([[a['IUndoRedoService'],{'useClass':exports[_0x370650(0x4f6)]}],[exports[_0x370650(0x365)]],[exports[_0x370650(0x2d2)]],[exports[_0x370650(0x448)]],[ye],[Ne],[He],[De],[ee],[exports['DataLoaderService']],[$e,{'useClass':this[_0x370650(0x25e)][_0x370650(0x3c4)]}],[p[_0x370650(0x406)],{'useClass':exports[_0x370650(0x35a)]}],[a[_0x370650(0x435)],{'useClass':exports[_0x370650(0x2b3)]}],[z[_0x370650(0x30a)],{'useClass':exports[_0x370650(0x33b)]}],[a[_0x370650(0x20c)],{'useClass':exports['MentionIoHttpService']}],[exports[_0x370650(0x483)]],[xe]],(_0x181b17=this['_config'])==null?void 0x0:_0x181b17[_0x370650(0x278)]);if(!((_0x3c6ca5=this[_0x370650(0x25e)])!=null&&_0x3c6ca5[_0x370650(0x513)])){const _0xcdc20b=_0x5c2367[_0x370650(0x50b)](([_0x4f93e3])=>_0x4f93e3===de);_0xcdc20b!==-0x1&&_0x5c2367['splice'](_0xcdc20b,0x1);}a[_0x370650(0x4f3)](this[_0x370650(0x2d8)],_0x5c2367);}[_0x2f6cf0(0x2f0)](){var _0x12f839=_0x2f6cf0,_0x5b8b24,_0x44dfe5,_0x184add;this['_injector'][_0x12f839(0x1f6)](q[_0x12f839(0x2d4)])[_0x12f839(0x25b)]({'priority':0x14,'interceptor':q[_0x12f839(0x2a9)]({'maxParallel':0x6})}),(_0x5b8b24=this['_config'])!=null&&_0x5b8b24[_0x12f839(0x368)]||(_0x44dfe5=this[_0x12f839(0x2d8)][_0x12f839(0x1f6)](K,a[_0x12f839(0x340)][_0x12f839(0x391)]))==null||_0x44dfe5['disableLocalCache'](),(_0x184add=this[_0x12f839(0x25e)])!=null&&_0x184add[_0x12f839(0x46e)]&&a[_0x12f839(0x378)](this['_injector'],[[ye]]),a[_0x12f839(0x378)](this[_0x12f839(0x2d8)],[[Ne],[exports[_0x12f839(0x483)]],[De]]);}},Cn(exports[_0x2f6cf0(0x408)],_0x2f6cf0(0x294),Tn),exports[_0x2f6cf0(0x408)]=En([a[_0x2f6cf0(0x4f1)](p['UniverCollaborationPlugin'],q[_0x2f6cf0(0x2b7)]),Le(0x1,a[_0x2f6cf0(0x3ae)]),Le(0x2,a[_0x2f6cf0(0x4ba)](a[_0x2f6cf0(0x3b2)])),Le(0x3,a[_0x2f6cf0(0x45e)])],exports[_0x2f6cf0(0x408)]),exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports['CollaborationStatus']=Be,exports[_0x2f6cf0(0x41f)]=Z,exports[_0x2f6cf0(0x23c)]=ee,exports['CommentService']=He,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=ht,exports[_0x2f6cf0(0x2c0)]=jt,exports[_0x2f6cf0(0x4b5)]=At,exports[_0x2f6cf0(0x269)]=_t,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports[_0x2f6cf0(0x3b4)]=$e,exports['ILocalCacheService']=K,exports['INetworkConditionService']=St,exports['ISingleActiveUnitService']=de,exports[_0x2f6cf0(0x30c)]=xt,exports[_0x2f6cf0(0x511)]=Lt,exports[_0x2f6cf0(0x2c9)]=Ht,exports[_0x2f6cf0(0x33a)]=ut,exports[_0x2f6cf0(0x514)]=re,exports[_0x2f6cf0(0x4d4)]=je,exports[_0x2f6cf0(0x53e)]=ft,exports[_0x2f6cf0(0x3c2)]=ei,exports[_0x2f6cf0(0x317)]=It;
|
1
|
+
'use strict';var _0x387fe2=_0x2609;(function(_0x5af091,_0x422f54){var _0x3659c3=_0x2609,_0x21d4fb=_0x5af091();while(!![]){try{var _0x222cab=-parseInt(_0x3659c3(0x1d3))/0x1*(-parseInt(_0x3659c3(0x116))/0x2)+-parseInt(_0x3659c3(0x24b))/0x3+parseInt(_0x3659c3(0x165))/0x4+-parseInt(_0x3659c3(0x12e))/0x5+-parseInt(_0x3659c3(0x210))/0x6*(-parseInt(_0x3659c3(0x1cb))/0x7)+-parseInt(_0x3659c3(0x29d))/0x8+-parseInt(_0x3659c3(0x25a))/0x9;if(_0x222cab===_0x422f54)break;else _0x21d4fb['push'](_0x21d4fb['shift']());}catch(_0x49c7c9){_0x21d4fb['push'](_0x21d4fb['shift']());}}}(_0x1cd9,0xacb75));var bt=Object[_0x387fe2(0x109)],Ot=(_0x4a49cf,_0x30beca,_0x333117)=>_0x30beca in _0x4a49cf?bt(_0x4a49cf,_0x30beca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x333117}):_0x4a49cf[_0x30beca]=_0x333117,A=(_0x52d59a,_0x1ff389,_0x228afa)=>Ot(_0x52d59a,typeof _0x1ff389!=_0x387fe2(0x1cd)?_0x1ff389+'':_0x1ff389,_0x228afa);Object[_0x387fe2(0x109)](exports,Symbol[_0x387fe2(0x41e)],{'value':'Module'});const a=require('@univerjs/core'),H=require('rxjs'),V=require('rxjs/operators'),p=require('@univerjs-pro/collaboration'),q=require('@univerjs/network'),Rt=require('@univerjs/telemetry'),ct=require('@univerjs/docs'),X=require('@univerjs/sheets'),z=require('@univerjs/drawing'),yt=require('@univerjs-pro/license'),Nt=_0x387fe2(0x10c),Dt=_0x387fe2(0x147),Ut=0x7d0,ht=_0x387fe2(0x190),At=_0x387fe2(0x16c),_t='HEARTBEAT_INTERVAL',Pt=0x7530,ke='HEARTBEAT_TIMEOUT',lt=0x4e20,wt=0x4e20,ut=_0x387fe2(0x1ac),Mt=0x3,Lt=_0x387fe2(0x1fd),xt=0x3e8,kt='/universer-api/comb',$t=_0x387fe2(0x359),Ht=_0x387fe2(0x27d),jt=_0x387fe2(0x279);var dt=(_0x57709a=>(_0x57709a[_0x57709a['UNDEFINED']=0x0]=_0x387fe2(0x2c9),_0x57709a[_0x57709a['OK']=0x1]='OK',_0x57709a[_0x57709a[_0x387fe2(0x3a6)]=0x2]=_0x387fe2(0x3a6),_0x57709a[_0x57709a[_0x387fe2(0x324)]=0x3]=_0x387fe2(0x324),_0x57709a[_0x57709a[_0x387fe2(0x377)]=0x4]=_0x387fe2(0x377),_0x57709a[_0x57709a['UNAUTHENTICATED']=0x5]=_0x387fe2(0x3e7),_0x57709a[_0x57709a[_0x387fe2(0x16b)]=0x6]='ALREADY_EXISTS',_0x57709a[_0x57709a[_0x387fe2(0x303)]=0x7]=_0x387fe2(0x303),_0x57709a[_0x57709a['TOO_MANY_REQUESTS']=0x8]=_0x387fe2(0x1c7),_0x57709a[_0x57709a[_0x387fe2(0x3b0)]=0x9]='COMPLETION_FINISHED',_0x57709a[_0x57709a[_0x387fe2(0x178)]=0xa]=_0x387fe2(0x178),_0x57709a[_0x57709a['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x387fe2(0x28d),_0x57709a[_0x57709a[_0x387fe2(0x30d)]=0xc]=_0x387fe2(0x30d),_0x57709a[_0x57709a[_0x387fe2(0x2c6)]=0xd]=_0x387fe2(0x2c6),_0x57709a[_0x57709a[_0x387fe2(0x199)]=0xe]=_0x387fe2(0x199),_0x57709a[_0x57709a['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x387fe2(0x2f3),_0x57709a[_0x57709a[_0x387fe2(0x2aa)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x57709a[_0x57709a['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x387fe2(0x312),_0x57709a[_0x57709a['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x387fe2(0x369),_0x57709a[_0x57709a[_0x387fe2(0x197)]=0x1b59]=_0x387fe2(0x197),_0x57709a[_0x57709a[_0x387fe2(0x1d6)]=0x1b5a]=_0x387fe2(0x1d6),_0x57709a[_0x57709a[_0x387fe2(0x321)]=0x1b5b]=_0x387fe2(0x321),_0x57709a[_0x57709a['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x387fe2(0x3c4),_0x57709a[_0x57709a[_0x387fe2(0x183)]=0x1b5d]='APPLY_DUPLICATED',_0x57709a[_0x57709a[_0x387fe2(0x2fc)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x57709a[_0x57709a[_0x387fe2(0x385)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x57709a[_0x57709a[_0x387fe2(0xb0)]=0x232a]=_0x387fe2(0xb0),_0x57709a[_0x57709a['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x387fe2(0x3a1),_0x57709a[_0x57709a[_0x387fe2(0x26d)]=0x232c]=_0x387fe2(0x26d),_0x57709a[_0x57709a[_0x387fe2(0x129)]=0x232d]=_0x387fe2(0x129),_0x57709a[_0x57709a[_0x387fe2(0x207)]=0x2711]=_0x387fe2(0x207),_0x57709a[_0x57709a[_0x387fe2(0xc5)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x57709a[_0x57709a['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x57709a[_0x57709a['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x57709a[_0x57709a[_0x387fe2(0x2d1)]=0x271a]=_0x387fe2(0x2d1),_0x57709a[_0x57709a[_0x387fe2(0x24f)]=0x271b]=_0x387fe2(0x24f),_0x57709a[_0x57709a['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x387fe2(0xcf),_0x57709a[_0x57709a['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x387fe2(0x347),_0x57709a[_0x57709a[_0x387fe2(0x33b)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x57709a[_0x57709a[_0x387fe2(0x3ec)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x57709a[_0x57709a[_0x387fe2(0xd9)]=0x2720]=_0x387fe2(0xd9),_0x57709a[_0x57709a['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x387fe2(0x261),_0x57709a[_0x57709a[_0x387fe2(0x104)]=0x2ee1]=_0x387fe2(0x104),_0x57709a[_0x57709a[_0x387fe2(0x11a)]=0x2ee2]=_0x387fe2(0x11a),_0x57709a[_0x57709a[_0x387fe2(0x103)]=0x2ee3]=_0x387fe2(0x103),_0x57709a[_0x57709a[_0x387fe2(0x2f4)]=0x2ee4]=_0x387fe2(0x2f4),_0x57709a[_0x57709a[_0x387fe2(0x1a4)]=0x2ee5]=_0x387fe2(0x1a4),_0x57709a[_0x57709a[_0x387fe2(0x1f0)]=0x32c9]=_0x387fe2(0x1f0),_0x57709a[_0x57709a[_0x387fe2(0x266)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x57709a[_0x57709a[_0x387fe2(0x13b)]=0x32cb]=_0x387fe2(0x13b),_0x57709a[_0x57709a[_0x387fe2(0xb9)]=-0x1]='UNRECOGNIZED',_0x57709a))(dt||{}),J=(_0x49fc58=>(_0x49fc58[_0x49fc58[_0x387fe2(0x13c)]=0x0]='UNIVER_UNKNOWN',_0x49fc58[_0x49fc58[_0x387fe2(0x2a5)]=0x1]=_0x387fe2(0x2a5),_0x49fc58[_0x49fc58[_0x387fe2(0x107)]=0x2]='UNIVER_SHEET',_0x49fc58[_0x49fc58[_0x387fe2(0x2a3)]=0x3]='UNIVER_SLIDE',_0x49fc58[_0x49fc58[_0x387fe2(0x12b)]=0x4]=_0x387fe2(0x12b),_0x49fc58[_0x49fc58[_0x387fe2(0xb9)]=-0x1]=_0x387fe2(0xb9),_0x49fc58))(J||{}),W=(_0x228794=>(_0x228794[_0x228794[_0x387fe2(0x345)]=0x0]=_0x387fe2(0x345),_0x228794[_0x228794[_0x387fe2(0x244)]=0x1]=_0x387fe2(0x244),_0x228794[_0x228794[_0x387fe2(0x1f5)]=0x2]='JOIN',_0x228794[_0x228794[_0x387fe2(0x2e2)]=0x3]=_0x387fe2(0x2e2),_0x228794[_0x228794[_0x387fe2(0x403)]=0x4]=_0x387fe2(0x403),_0x228794[_0x228794[_0x387fe2(0x2d7)]=0x5]=_0x387fe2(0x2d7),_0x228794[_0x228794[_0x387fe2(0x281)]=0x6]='RECV',_0x228794[_0x228794[_0x387fe2(0xb9)]=-0x1]='UNRECOGNIZED',_0x228794))(W||{}),se=(_0x14b11f=>(_0x14b11f[_0x14b11f[_0x387fe2(0x17a)]=0x0]=_0x387fe2(0x17a),_0x14b11f[_0x14b11f['OK']=0x1]='OK',_0x14b11f[_0x14b11f[_0x387fe2(0x356)]=0x2]=_0x387fe2(0x356),_0x14b11f[_0x14b11f[_0x387fe2(0x3d1)]=0x3e9]=_0x387fe2(0x3d1),_0x14b11f[_0x14b11f[_0x387fe2(0x198)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x14b11f[_0x14b11f[_0x387fe2(0x406)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x14b11f[_0x14b11f[_0x387fe2(0x120)]=0x3ec]=_0x387fe2(0x120),_0x14b11f[_0x14b11f[_0x387fe2(0xb9)]=-0x1]=_0x387fe2(0xb9),_0x14b11f))(se||{}),vt=(_0x4d1504=>(_0x4d1504[_0x4d1504['Undefined']=0x0]=_0x387fe2(0x242),_0x4d1504[_0x4d1504[_0x387fe2(0x3d3)]=0x1]=_0x387fe2(0x3d3),_0x4d1504[_0x4d1504[_0x387fe2(0x17d)]=0x2]='HttpExport',_0x4d1504[_0x4d1504[_0x387fe2(0x3a8)]=0x3]=_0x387fe2(0x3a8),_0x4d1504[_0x4d1504['UnitSnapshot']=0x4]='UnitSnapshot',_0x4d1504[_0x4d1504['UserProfileImg']=0x5]=_0x387fe2(0x125),_0x4d1504[_0x4d1504[_0x387fe2(0xb9)]=-0x1]=_0x387fe2(0xb9),_0x4d1504))(vt||{});const Y='collaboration-client.config',Bt={};var Z=(_0x5530a1=>(_0x5530a1[_0x387fe2(0x1ad)]=_0x387fe2(0x1ad),_0x5530a1[_0x387fe2(0x324)]=_0x387fe2(0x324),_0x5530a1[_0x387fe2(0x3f9)]='CONFLICT',_0x5530a1[_0x387fe2(0xf5)]=_0x387fe2(0xf5),_0x5530a1[_0x387fe2(0x141)]='JOIN_ROOM_FAILED',_0x5530a1[_0x387fe2(0x363)]='SOCKET_FAILED_RETRY',_0x5530a1['SOCKET_FAILED']=_0x387fe2(0x325),_0x5530a1[_0x387fe2(0x294)]=_0x387fe2(0x294),_0x5530a1))(Z||{});class ee{constructor(){var _0xb81e76=_0x387fe2;A(this,_0xb81e76(0x173),new H[(_0xb81e76(0x2e1))]()),A(this,_0xb81e76(0xbb),this['_event$'][_0xb81e76(0x37f)]());}[_0x387fe2(0x3ea)](_0x287ac3){this['_event$']['next'](_0x287ac3);}}const St=a[_0x387fe2(0x333)](_0x387fe2(0x1d2));function ft(_0x576498){var _0x32cae2=_0x387fe2,_0x1682fc,_0x5e26a0,_0x473788,_0x439cce,_0x1604f1;const _0x4a1be7=_0x576498['data'],_0x3b4148=JSON[_0x32cae2(0x3aa)](_0x4a1be7);switch(_0x3b4148[_0x32cae2(0x159)]){case W[_0x32cae2(0x2d7)]:case W['HELLO']:{const _0x3775cf=_0x3b4148['infoRsp'];return{..._0x3b4148,'data':_0x3775cf,'cmd':_0x3b4148[_0x32cae2(0x159)]};}case W[_0x32cae2(0x1f5)]:{const _0x56b16c=_0x3b4148[_0x32cae2(0x1c6)];return{..._0x3b4148,'data':_0x56b16c,'cmd':_0x3b4148[_0x32cae2(0x159)]};}case W[_0x32cae2(0x281)]:{const _0x583d90=_0x3b4148[_0x32cae2(0x375)];switch(_0x583d90[_0x32cae2(0x2d5)]){case p[_0x32cae2(0x184)][_0x32cae2(0x337)]:return{..._0x3b4148,'data':{..._0x583d90,'data':(_0x1682fc=_0x583d90[_0x32cae2(0x408)])==null?void 0x0:_0x1682fc['cs']},'cmd':_0x3b4148[_0x32cae2(0x159)]};case p['CollaborationEvent'][_0x32cae2(0x211)]:return{..._0x3b4148,'data':{..._0x583d90,'data':(_0x5e26a0=_0x583d90[_0x32cae2(0x346)])==null?void 0x0:_0x5e26a0['cs']},'cmd':_0x3b4148['cmd']};case p[_0x32cae2(0x184)][_0x32cae2(0x245)]:return{..._0x3b4148,'data':{..._0x583d90,'data':(_0x473788=_0x583d90[_0x32cae2(0xf7)])==null?void 0x0:_0x473788['cs']},'cmd':_0x3b4148[_0x32cae2(0x159)]};case p[_0x32cae2(0x184)]['CHANGESET_REJ']:return{..._0x3b4148,'data':{..._0x583d90,'data':(_0x439cce=_0x583d90['csRejEvent'])==null?void 0x0:_0x439cce['cs']},'cmd':_0x3b4148['cmd']};case p['CollaborationEvent'][_0x32cae2(0x1b8)]:return{..._0x3b4148,'data':{..._0x583d90,'data':(_0x1604f1=_0x583d90[_0x32cae2(0x388)])==null?void 0x0:_0x1604f1['cs']},'cmd':_0x3b4148[_0x32cae2(0x159)]};case p[_0x32cae2(0x184)]['UPDATE_CURSOR']:return{..._0x3b4148,'data':{..._0x583d90,'data':_0x583d90[_0x32cae2(0x378)]},'cmd':_0x3b4148[_0x32cae2(0x159)]};case p[_0x32cae2(0x184)]['USERS_ENTER']:return{..._0x3b4148,'data':{..._0x583d90,'data':_0x583d90[_0x32cae2(0x1e3)]},'cmd':_0x3b4148['cmd']};case p[_0x32cae2(0x184)][_0x32cae2(0xa9)]:return{..._0x3b4148,'data':{..._0x583d90,'data':_0x583d90[_0x32cae2(0x132)]},'cmd':_0x3b4148[_0x32cae2(0x159)]};case p[_0x32cae2(0x184)][_0x32cae2(0x380)]:return{..._0x3b4148,'data':{..._0x583d90,'data':_0x583d90[_0x32cae2(0x2eb)]},'cmd':_0x3b4148[_0x32cae2(0x159)]};case p[_0x32cae2(0x184)][_0x32cae2(0x249)]:case p[_0x32cae2(0x184)]['LIVESHARE_OPERATION']:return{..._0x3b4148,'data':{..._0x583d90,'data':_0x583d90[_0x32cae2(0x1ae)]},'cmd':_0x3b4148[_0x32cae2(0x159)]};case p[_0x32cae2(0x184)][_0x32cae2(0x19f)]:return{..._0x3b4148,'data':{..._0x583d90,'data':_0x583d90['liveShareNewHost']},'cmd':_0x3b4148[_0x32cae2(0x159)]};case p[_0x32cae2(0x184)][_0x32cae2(0x163)]:return{..._0x3b4148,'data':_0x583d90,'cmd':_0x3b4148[_0x32cae2(0x159)]};case p[_0x32cae2(0x184)][_0x32cae2(0x1a8)]:return{..._0x3b4148,'data':{..._0x583d90,'data':_0x583d90[_0x32cae2(0xd7)]},'cmd':_0x3b4148['cmd']};case p[_0x32cae2(0x184)][_0x32cae2(0x2b2)]:return{..._0x3b4148,'data':{..._0x583d90,'data':_0x583d90[_0x32cae2(0x2f7)]},'cmd':_0x3b4148['cmd']};case p[_0x32cae2(0x184)][_0x32cae2(0x13d)]:return{..._0x3b4148,'data':{..._0x583d90,'data':_0x583d90[_0x32cae2(0x188)]},'cmd':_0x3b4148[_0x32cae2(0x159)]};case p[_0x32cae2(0x184)][_0x32cae2(0x18c)]:return{..._0x3b4148,'data':{..._0x583d90,'data':_0x583d90[_0x32cae2(0x137)]},'cmd':_0x3b4148['cmd']};default:return _0x3b4148;}}default:return _0x3b4148;}}function It(_0x1713f7){var _0x30517e=_0x387fe2;switch(_0x1713f7[_0x30517e(0x159)]){case W[_0x30517e(0x2d7)]:case W[_0x30517e(0x244)]:return JSON[_0x30517e(0xe1)]({'cmd':_0x1713f7[_0x30517e(0x159)],'routeKey':_0x1713f7[_0x30517e(0x33a)]});case W[_0x30517e(0x403)]:{let _0x46096f;switch(_0x1713f7[_0x30517e(0xa4)]['eventID']){case p[_0x30517e(0x184)][_0x30517e(0xc7)]:{_0x46096f={'eventID':p['CollaborationEvent'][_0x30517e(0xc7)],'updateCursorEvent':_0x1713f7[_0x30517e(0xa4)][_0x30517e(0xa4)]};break;}case p['CollaborationEvent'][_0x30517e(0xa9)]:{_0x46096f={'eventID':p[_0x30517e(0x184)][_0x30517e(0xa9)],'leaveEvent':_0x1713f7[_0x30517e(0xa4)][_0x30517e(0xa4)]};break;}case p[_0x30517e(0x184)]['USERS_ENTER']:{_0x46096f={'eventID':p['CollaborationEvent'][_0x30517e(0x3c5)],'joinEvent':_0x1713f7[_0x30517e(0xa4)]['data']};break;}case p[_0x30517e(0x184)][_0x30517e(0x380)]:{_0x46096f={'eventID':p[_0x30517e(0x184)][_0x30517e(0x380)],'liveShareNewHost':_0x1713f7['data']['data']};break;}case p[_0x30517e(0x184)][_0x30517e(0x1c5)]:{_0x46096f={'eventID':p[_0x30517e(0x184)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x1713f7[_0x30517e(0xa4)][_0x30517e(0xa4)]};break;}case p['CollaborationEvent'][_0x30517e(0x19f)]:{_0x46096f={'eventID':p[_0x30517e(0x184)][_0x30517e(0x19f)],'liveShareTerminate':_0x1713f7[_0x30517e(0xa4)][_0x30517e(0xa4)]};break;}case p[_0x30517e(0x184)][_0x30517e(0x217)]:{_0x46096f={'eventID':p[_0x30517e(0x184)][_0x30517e(0x217)],'liveShareRequestHost':_0x1713f7['data'][_0x30517e(0xa4)]};break;}case p['CollaborationEvent'][_0x30517e(0x249)]:{_0x46096f={'eventID':p[_0x30517e(0x184)][_0x30517e(0x249)]};break;}default:_0x46096f={'eventID':_0x1713f7['data'][_0x30517e(0x2d5)]};}return JSON[_0x30517e(0xe1)]({'cmd':_0x1713f7[_0x30517e(0x159)],'routeKey':_0x1713f7[_0x30517e(0x33a)],'collaMsg':_0x46096f});}case W[_0x30517e(0x1f5)]:return JSON[_0x30517e(0xe1)]({'cmd':_0x1713f7[_0x30517e(0x159)],'routeKey':_0x1713f7[_0x30517e(0x33a)],'joinReq':_0x1713f7[_0x30517e(0xa4)]});case W['LEAVE']:return JSON[_0x30517e(0xe1)]({'cmd':_0x1713f7[_0x30517e(0x159)],'routeKey':_0x1713f7['routeKey'],'leaveReq':_0x1713f7[_0x30517e(0xa4)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ft=Object[_0x387fe2(0xff)],Vt=(_0x186ef3,_0x15bd87,_0x2f2010,_0x7649c)=>{var _0x504ef0=_0x387fe2;for(var _0x8b5f26=_0x7649c>0x1?void 0x0:_0x7649c?Ft(_0x15bd87,_0x2f2010):_0x15bd87,_0x39cc18=_0x186ef3[_0x504ef0(0x2b4)]-0x1,_0x22cb25;_0x39cc18>=0x0;_0x39cc18--)(_0x22cb25=_0x186ef3[_0x39cc18])&&(_0x8b5f26=_0x22cb25(_0x8b5f26)||_0x8b5f26);return _0x8b5f26;},_e=(_0x211486,_0x2da2d8)=>(_0x447c2d,_0x4e59b4)=>_0x2da2d8(_0x447c2d,_0x4e59b4,_0x211486);const $e=a['createIdentifier'](_0x387fe2(0x2c4));function Wt(_0x5e2783,_0x289d90,_0x4013c0){var _0xedecff=_0x387fe2;return _0x5e2783+'/'+_0x289d90+_0xedecff(0x150)+_0x4013c0+_0xedecff(0x182);}exports['CollaborationSocketService']=class extends a[_0x387fe2(0x1ee)]{constructor(_0x2402b3,_0x1e95cb,_0x56bb89,_0x5d600a,_0x5aadb7){var _0x3fc851=_0x387fe2;super(),this[_0x3fc851(0x285)]=_0x2402b3,this[_0x3fc851(0x3da)]=_0x1e95cb,this[_0x3fc851(0x3a0)]=_0x56bb89,this[_0x3fc851(0x1c3)]=_0x5d600a,this[_0x3fc851(0x34e)]=_0x5aadb7;}[_0x387fe2(0x130)](_0x10eaae){var _0x54738d=_0x387fe2;const _0x8f714e=this[_0x54738d(0x285)][_0x54738d(0x12a)](q['ISocketService']);if(!_0x8f714e)throw new Error(_0x54738d(0x35b));const _0x1a3068=_0x8f714e[_0x54738d(0x2cf)](_0x10eaae);if(!_0x1a3068)throw new Error(_0x54738d(0x29a));const _0x564f65=new a[(_0x54738d(0x331))](),_0x15a33d=new H['Subject']();_0x564f65[_0x54738d(0x2f0)](_0x1a3068[_0x54738d(0x1c8)][_0x54738d(0x3a3)](_0x3351c4=>_0x15a33d['next'](_0x3351c4))),_0x564f65['add'](a[_0x54738d(0x2df)](()=>_0x15a33d[_0x54738d(0x22b)]()));const _0x326c5f=new H[(_0x54738d(0x2e1))]();_0x564f65[_0x54738d(0x2f0)](_0x1a3068[_0x54738d(0xb6)]['subscribe'](_0x24d749=>_0x326c5f[_0x54738d(0x1dc)](_0x24d749))),_0x564f65[_0x54738d(0x2f0)](a[_0x54738d(0x2df)](()=>_0x326c5f['complete']()));const _0x4bb18a=new H[(_0x54738d(0x2e1))]();_0x564f65[_0x54738d(0x2f0)](_0x1a3068[_0x54738d(0x10d)][_0x54738d(0x3a3)](_0x91858f=>{var _0xcf597=_0x54738d;const _0x305389=ft(_0x91858f);_0x4bb18a[_0xcf597(0x1dc)](_0x305389);})),_0x564f65['add'](a[_0x54738d(0x2df)](()=>_0x4bb18a[_0x54738d(0x22b)]()));let _0x3fc17b;const _0x201f50=()=>{var _0x1023ff=_0x54738d;_0x326c5f[_0x1023ff(0x1dc)](new Event(_0x1023ff(0x24c))),_0x15a33d[_0x1023ff(0x1dc)](new Event(_0x1023ff(0x24c))),_0x3fc17b['close']();};return _0x3fc17b={'memberID':'','close$':_0x15a33d[_0x54738d(0x37f)](),'error$':_0x326c5f['asObservable'](),'open$':_0x1a3068['open$'],'message$':_0x4bb18a[_0x54738d(0x37f)](),'send':_0x3cc0f8=>{var _0xe94f44=_0x54738d;if(_0x3cc0f8['cmd']===W[_0xe94f44(0x403)]){if(_0x3cc0f8[_0xe94f44(0xa4)][_0xe94f44(0x2d5)]===p['CollaborationEvent'][_0xe94f44(0x140)]){this[_0xe94f44(0x241)](_0x3fc17b,_0x3cc0f8['data'])[_0xe94f44(0x224)](_0x336d3c=>{var _0x28f771=_0xe94f44;this['_logService'][_0x28f771(0x305)](_0x336d3c),_0x201f50();});return;}if(_0x3cc0f8[_0xe94f44(0xa4)][_0xe94f44(0x2d5)]===p[_0xe94f44(0x184)][_0xe94f44(0x1db)]){const _0x32bf62=_0x3cc0f8[_0xe94f44(0xa4)];this[_0xe94f44(0x203)](_0x32bf62)[_0xe94f44(0xcc)](_0x3f8dc4=>{var _0x329e04=_0xe94f44;_0x4bb18a[_0x329e04(0x1dc)]({'cmd':W[_0x329e04(0x281)],'code':se['OK'],'routeKey':_0x32bf62[_0x329e04(0xa4)][_0x329e04(0x287)],'routeType':'','data':{'eventID':p['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x3f8dc4}}});})[_0xe94f44(0x224)](_0x295531=>{var _0xb23585=_0xe94f44;this[_0xb23585(0x1c3)][_0xb23585(0x305)](_0x295531),_0x201f50();});return;}}_0x1a3068[_0xe94f44(0x34b)](It(_0x3cc0f8));},'close':()=>{var _0x32045a=_0x54738d;_0x1a3068[_0x32045a(0x37c)](),_0x564f65[_0x32045a(0x32a)]();}},_0x3fc17b;}async[_0x387fe2(0x241)](_0x10dd8a,_0x2ae1e7){var _0x37a299=_0x387fe2,_0x9934ea;const {unitType:_0xfbbe3c,unitID:_0x5b6de9,changeset:_0x4f3a26}=_0x2ae1e7['data'],_0x1bcd65={'unitID':_0x5b6de9,'memberID':_0x10dd8a[_0x37a299(0x218)],'type':_0xfbbe3c,'changeset':p[_0x37a299(0x30a)](_0x4f3a26)},_0x18998d=this[_0x37a299(0x3a0)][_0x37a299(0x19c)](Y),_0x34fd7f=Wt((_0x9934ea=_0x18998d==null?void 0x0:_0x18998d[_0x37a299(0x2fd)])!=null?_0x9934ea:kt,_0xfbbe3c,_0x5b6de9);try{await this[_0x37a299(0x3da)][_0x37a299(0x1b6)](_0x34fd7f,{'body':_0x1bcd65});}catch(_0x41fdc5){throw this['_logService'][_0x37a299(0x305)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x41fdc5;}}async[_0x387fe2(0x203)](_0x63d9ac){var _0x51c50d=_0x387fe2;const {unitID:_0x3b732b,from:_0x8e23b0,to:_0x2e486f,unitType:_0x424a56}=_0x63d9ac[_0x51c50d(0xa4)];return(await this[_0x51c50d(0x34e)][_0x51c50d(0xd6)]({'metadata':void 0x0},{'unitID':_0x3b732b,'type':_0x424a56,'from':_0x8e23b0,'to':_0x2e486f}))['changesets'];}},exports[_0x387fe2(0x1ce)]=Vt([_e(0x0,a['Inject'](a[_0x387fe2(0x272)])),_e(0x1,a[_0x387fe2(0x25f)](q[_0x387fe2(0x10b)])),_e(0x2,a[_0x387fe2(0x3b6)]),_e(0x3,a['ILogService']),_e(0x4,p[_0x387fe2(0x2e4)])],exports['CollaborationSocketService']);const Gt='collaboration_new_changeset';function Yt(_0x130dd6){var _0x555318=_0x387fe2;return JSON[_0x555318(0xe1)](_0x130dd6)[_0x555318(0x2b4)];}class He{constructor(){var _0x38ba16=_0x387fe2;A(this,_0x38ba16(0x27b),new H[(_0x38ba16(0x2e1))]()),A(this,_0x38ba16(0x3cc),this[_0x38ba16(0x27b)][_0x38ba16(0x37f)]());}[_0x387fe2(0x330)](_0x197cea){this['_commentUpdate$']['next'](_0x197cea);}}var qt=Object[_0x387fe2(0xff)],Kt=(_0x1ee783,_0x45c281,_0x5e0b22,_0x23998f)=>{var _0xf3c4e=_0x387fe2;for(var _0x478f9e=_0x23998f>0x1?void 0x0:_0x23998f?qt(_0x45c281,_0x5e0b22):_0x45c281,_0x296c62=_0x1ee783[_0xf3c4e(0x2b4)]-0x1,_0x72bcb8;_0x296c62>=0x0;_0x296c62--)(_0x72bcb8=_0x1ee783[_0x296c62])&&(_0x478f9e=_0x72bcb8(_0x478f9e)||_0x478f9e);return _0x478f9e;},Ve=(_0x2b9955,_0x5678a9)=>(_0x2a6a0a,_0x505cad)=>_0x5678a9(_0x2a6a0a,_0x505cad,_0x2b9955);exports[_0x387fe2(0xf6)]=class extends a[_0x387fe2(0x1ee)]{constructor(_0x14526f,_0x331b44){var _0x579763=_0x387fe2;super(),A(this,_0x579763(0x3e2),new Map()),A(this,'_roomCreated$',new H['Subject']()),(this[_0x579763(0x396)]=_0x14526f,this[_0x579763(0x3ca)]=_0x331b44,this[_0x579763(0xbc)](H['merge'](this[_0x579763(0x396)][_0x579763(0x3ef)](a[_0x579763(0xc9)][_0x579763(0x107)])[_0x579763(0x3cd)](V[_0x579763(0xf0)](_0x3b0738=>_0x3b0738[_0x579763(0x195)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x579763(0xc9)]['UNIVER_DOC'])[_0x579763(0x3cd)](V['map'](_0x3ce76b=>_0x3ce76b['getUnitId']())),this[_0x579763(0x396)]['getTypeOfUnitDisposed$'](a['UniverInstanceType']['UNIVER_SLIDE'])['pipe'](V['map'](_0x34398a=>_0x34398a[_0x579763(0x195)]())))[_0x579763(0x3a3)](_0x31bb60=>this[_0x579763(0xdb)](_0x31bb60))));}['waitForRoom$'](_0x7e971e){var _0x374895=_0x387fe2;return this[_0x374895(0x3e2)][_0x374895(0x2b1)](_0x7e971e)?H['of'](this[_0x374895(0x3e2)][_0x374895(0x12a)](_0x7e971e)):this['_roomCreated$']['pipe'](V[_0x374895(0xf0)](_0x1d272f=>{var _0x23fa03=_0x374895;if(_0x1d272f===_0x7e971e)return this[_0x23fa03(0x3e2)]['get'](_0x1d272f);}));}[_0x387fe2(0x252)](_0x298b74){var _0x20b567=_0x387fe2;this[_0x20b567(0x3ca)][_0x20b567(0x252)](_0x298b74);}[_0x387fe2(0x15c)](){var _0x36f9ad=_0x387fe2;return this[_0x36f9ad(0x3ca)][_0x36f9ad(0x15c)]();}['updateMember'](_0x15e634,_0x213735){var _0x580516=_0x387fe2;let _0x853427=this['_roomMembers'][_0x580516(0x12a)](_0x15e634);_0x853427||(_0x853427=new zt(),this[_0x580516(0x3e2)][_0x580516(0x1b1)](_0x15e634,_0x853427),this['_roomCreated$'][_0x580516(0x1dc)](_0x15e634)),_0x853427[_0x580516(0x20f)](_0x213735);}[_0x387fe2(0x162)](_0x22454e,_0x55f157){var _0x4d2fe2=_0x387fe2;const _0x56f44d=this[_0x4d2fe2(0x3e2)][_0x4d2fe2(0x12a)](_0x22454e);_0x56f44d&&_0x56f44d['removeMember'](_0x55f157);}['getRoom'](_0x4f121a){var _0x54d953=_0x387fe2;return this[_0x54d953(0x3e2)]['get'](_0x4f121a);}[_0x387fe2(0x31b)](_0x54ea8f,_0x544145){var _0x273a07=_0x387fe2;const _0x7d0acb=this['_roomMembers'][_0x273a07(0x12a)](_0x54ea8f);if(_0x7d0acb)return _0x7d0acb[_0x273a07(0x31b)](_0x544145);}[_0x387fe2(0xdb)](_0x5ba186){var _0x2267b7=_0x387fe2;const _0x45efb8=this[_0x2267b7(0x3e2)][_0x2267b7(0x12a)](_0x5ba186);_0x45efb8&&(_0x45efb8[_0x2267b7(0x32a)](),this[_0x2267b7(0x3e2)]['delete'](_0x5ba186));}['dispose'](){var _0x5e1b11=_0x387fe2;this[_0x5e1b11(0x3e2)][_0x5e1b11(0x138)](_0x425799=>_0x425799[_0x5e1b11(0x32a)]()),this[_0x5e1b11(0x3e2)][_0x5e1b11(0x1e7)](),this[_0x5e1b11(0x27a)]['complete']();}},exports[_0x387fe2(0xf6)]=Kt([Ve(0x0,a[_0x387fe2(0x31c)]),Ve(0x1,a[_0x387fe2(0x25f)](a['UserManagerService']))],exports[_0x387fe2(0xf6)]);class zt extends a['Disposable']{constructor(){var _0x37c012=_0x387fe2;super(...arguments),A(this,'_members',new Map()),A(this,'_members$',new H[(_0x37c012(0x2bf))](this[_0x37c012(0x1d1)])),A(this,_0x37c012(0x180),this[_0x37c012(0x31f)][_0x37c012(0x37f)]());}[_0x387fe2(0x32a)](){var _0x4c73ec=_0x387fe2;this[_0x4c73ec(0x1d1)]['clear']();}['updateMember'](_0x3a4a15){var _0x5def18=_0x387fe2;this[_0x5def18(0x1d1)][_0x5def18(0x1b1)](_0x3a4a15[_0x5def18(0x218)],_0x3a4a15),this[_0x5def18(0x12d)]();}[_0x387fe2(0x162)](_0x1d9e90){var _0x398c81=_0x387fe2;this[_0x398c81(0x1d1)][_0x398c81(0x25c)](_0x1d9e90);}[_0x387fe2(0x31b)](_0x43cefa){var _0x41d7ef=_0x387fe2;return this[_0x41d7ef(0x1d1)]['get'](_0x43cefa);}[_0x387fe2(0x128)](){var _0x177632=_0x387fe2;return Array[_0x177632(0x10a)](this[_0x177632(0x1d1)][_0x177632(0x100)]());}[_0x387fe2(0x12d)](){var _0x1e0689=_0x387fe2;this[_0x1e0689(0x31f)]['next'](this[_0x1e0689(0x1d1)]);}}var Jt=Object[_0x387fe2(0xff)],Xt=(_0x100fb0,_0x582386,_0x5c5170,_0x2361e3)=>{var _0x3bc679=_0x387fe2;for(var _0x5ae394=_0x2361e3>0x1?void 0x0:_0x2361e3?Jt(_0x582386,_0x5c5170):_0x582386,_0x254c15=_0x100fb0[_0x3bc679(0x2b4)]-0x1,_0x17fef1;_0x254c15>=0x0;_0x254c15--)(_0x17fef1=_0x100fb0[_0x254c15])&&(_0x5ae394=_0x17fef1(_0x5ae394)||_0x5ae394);return _0x5ae394;},ce=(_0x49239b,_0x37dc6)=>(_0x27ca9a,_0x18158d)=>_0x37dc6(_0x27ca9a,_0x18158d,_0x49239b),re=(_0x26b536=>(_0x26b536[_0x26b536[_0x387fe2(0x273)]=0x0]=_0x387fe2(0x273),_0x26b536[_0x26b536[_0x387fe2(0x30c)]=0x1]=_0x387fe2(0x30c),_0x26b536[_0x26b536[_0x387fe2(0x193)]=0x2]=_0x387fe2(0x193),_0x26b536[_0x26b536['ONLINE']=0x3]=_0x387fe2(0x26f),_0x26b536))(re||{});const We={[se['FAIL']]:_0x387fe2(0xac),[se[_0x387fe2(0x3d1)]]:'session.room-full',[se[_0x387fe2(0x198)]]:_0x387fe2(0x2ca),[se['JOIN_ROOM_PERMISSION_DENIED']]:_0x387fe2(0xef),[se[_0x387fe2(0x120)]]:_0x387fe2(0xd2)};exports[_0x387fe2(0xfc)]=class extends a[_0x387fe2(0x41a)]{constructor(_0x3232bd,_0x36d453,_0x4ae02c,_0x5686f7,_0x22db0a,_0x395ee4,_0x82016f,_0x4e57cc){var _0x15f3db=_0x387fe2;super(),A(this,_0x15f3db(0x237),new H[(_0x15f3db(0x2bf))](0x0)),A(this,_0x15f3db(0xaf),this[_0x15f3db(0x237)][_0x15f3db(0x37f)]()),A(this,_0x15f3db(0x173),new H['Subject']()),A(this,'event$',this[_0x15f3db(0x173)][_0x15f3db(0x37f)]()),A(this,_0x15f3db(0xc0)),A(this,_0x15f3db(0x20b)),A(this,'_collaborationTimeoutTimer'),A(this,_0x15f3db(0x414),!0x1),A(this,_0x15f3db(0x168),null),(this[_0x15f3db(0x36e)]=_0x3232bd,this[_0x15f3db(0x1c3)]=_0x4ae02c,this[_0x15f3db(0x3a0)]=_0x5686f7,this[_0x15f3db(0x22a)]=_0x22db0a,this[_0x15f3db(0x38a)]=_0x395ee4,this[_0x15f3db(0x2e8)]=_0x82016f,this['_telemetryService']=_0x4e57cc,this['_shouldReportTelemetry']=!!this[_0x15f3db(0x1d8)],_0x36d453[_0x15f3db(0x3cd)](H[_0x15f3db(0x1bd)](this[_0x15f3db(0xc3)]))[_0x15f3db(0x3a3)](_0x59795a=>{var _0x1ab44d=_0x15f3db,_0x299846;typeof _0x59795a>'u'||(this[_0x1ab44d(0xc0)]=_0x59795a,_0x59795a?(this[_0x1ab44d(0x15f)](_0x59795a),this[_0x1ab44d(0x20b)]=_0x59795a[_0x1ab44d(0x10d)][_0x1ab44d(0x3a3)](_0x53143a=>{var _0x5e86f5=_0x1ab44d;_0x53143a[_0x5e86f5(0x33a)]===this['_unitID']&&this[_0x5e86f5(0x1fe)](_0x53143a);})):(this[_0x1ab44d(0x2b6)](),this[_0x1ab44d(0x237)][_0x1ab44d(0x1dc)](0x2),(_0x299846=this[_0x1ab44d(0x20b)])==null||_0x299846[_0x1ab44d(0x2a0)](),this[_0x1ab44d(0x20b)]=null));}));}get[_0x387fe2(0xf8)](){var _0x270f2f=_0x387fe2;return this[_0x270f2f(0x237)][_0x270f2f(0x283)]();}[_0x387fe2(0x2b0)](){var _0x2558ae=_0x387fe2,_0x231695,_0x1f7c4a;return(_0x1f7c4a=(_0x231695=this[_0x2558ae(0xc0)])==null?void 0x0:_0x231695[_0x2558ae(0x218)])!=null?_0x1f7c4a:null;}[_0x387fe2(0x32a)](){var _0x1488de=_0x387fe2;super[_0x1488de(0x32a)](),this[_0x1488de(0xc3)]['next'](),this[_0x1488de(0xc3)][_0x1488de(0x22b)]();}[_0x387fe2(0x37c)](){var _0x2a34ee=_0x387fe2,_0x292906,_0x143aa4;this[_0x2a34ee(0x2b6)](),(_0x292906=this[_0x2a34ee(0xc0)])==null||_0x292906['send']({'cmd':W[_0x2a34ee(0x2e2)],'data':{'roomID':this['_unitID']}}),(_0x143aa4=this['_socket'])==null||_0x143aa4[_0x2a34ee(0x37c)](),this['_event$'][_0x2a34ee(0x22b)](),this['_sessionStatus$']['complete'](),this[_0x2a34ee(0x32a)]();}[_0x387fe2(0x1fe)](_0x3d0ae7){var _0xdb6604=_0x387fe2;_0x3d0ae7['cmd']===W[_0xdb6604(0x1f5)]?this[_0xdb6604(0x2b3)](_0x3d0ae7):_0x3d0ae7[_0xdb6604(0x159)]===W[_0xdb6604(0x281)]&&this['_onRecvEvent'](_0x3d0ae7);}[_0x387fe2(0x15f)](_0x1ff7ef){var _0x26fd75=_0x387fe2;this['_sessionStatus$'][_0x26fd75(0x1dc)](0x1),_0x1ff7ef[_0x26fd75(0x34b)]({'cmd':W[_0x26fd75(0x1f5)],'routeKey':this[_0x26fd75(0x36e)],'routeType':'','data':{'rooms':[{'roomID':this[_0x26fd75(0x36e)]}]}});}[_0x387fe2(0x2b3)](_0x52349e){var _0xa69417=_0x387fe2,_0x205c57;if(_0x52349e[_0xa69417(0xca)]in We){this[_0xa69417(0x2e8)]['emitEvent']({'id':Z[_0xa69417(0x141)],'data':We[_0x52349e[_0xa69417(0xca)]]}),this[_0xa69417(0x237)][_0xa69417(0x1dc)](0x2);return;}this[_0xa69417(0x237)]['next'](0x3);const _0x1f24ce=(_0x205c57=_0x52349e['data'][_0xa69417(0x13a)][this[_0xa69417(0x36e)]])==null?void 0x0:_0x205c57[_0xa69417(0x322)];_0x1f24ce&&_0x1f24ce[_0xa69417(0x138)](_0x515178=>this[_0xa69417(0x22a)][_0xa69417(0x20f)](this[_0xa69417(0x36e)],_0x515178));}[_0x387fe2(0x358)](_0x41e062){var _0x2f7fdb=_0x387fe2;try{const _0x3c228b=_0x41e062[_0x2f7fdb(0xa4)];switch(_0x3c228b['eventID']){case p[_0x2f7fdb(0x184)]['USERS_ENTER']:this[_0x2f7fdb(0x232)](_0x3c228b),this['_event$'][_0x2f7fdb(0x1dc)](_0x3c228b);break;case p[_0x2f7fdb(0x184)][_0x2f7fdb(0xa9)]:this[_0x2f7fdb(0x368)](_0x3c228b),this[_0x2f7fdb(0x173)]['next'](_0x3c228b);break;case p[_0x2f7fdb(0x184)]['CHANGESET_ACK']:case p[_0x2f7fdb(0x184)][_0x2f7fdb(0x1b8)]:this[_0x2f7fdb(0x1ff)](),this[_0x2f7fdb(0x41b)](),this[_0x2f7fdb(0x173)][_0x2f7fdb(0x1dc)](_0x3c228b);break;case p[_0x2f7fdb(0x184)][_0x2f7fdb(0x163)]:this[_0x2f7fdb(0x1c3)]['error'](_0x2f7fdb(0x3c2)+JSON[_0x2f7fdb(0xe1)](_0x3c228b)),this[_0x2f7fdb(0x173)][_0x2f7fdb(0x1dc)](_0x3c228b);break;case p['CollaborationEvent'][_0x2f7fdb(0x1a8)]:this[_0x2f7fdb(0x38a)][_0x2f7fdb(0x330)](_0x3c228b[_0x2f7fdb(0xa4)]),this[_0x2f7fdb(0x173)][_0x2f7fdb(0x1dc)](_0x3c228b);break;default:this[_0x2f7fdb(0x173)]['next'](_0x3c228b);}}catch(_0x451f53){this[_0x2f7fdb(0x1c3)][_0x2f7fdb(0x305)](_0x451f53,_0x41e062);}}[_0x387fe2(0x232)](_0x1e8f04){var _0x1ce777=_0x387fe2;this[_0x1ce777(0x22a)][_0x1ce777(0x20f)](this[_0x1ce777(0x36e)],_0x1e8f04['data']);}[_0x387fe2(0x368)](_0x34602b){var _0x133d53=_0x387fe2;this[_0x133d53(0x22a)]['removeMember'](this[_0x133d53(0x36e)],_0x34602b[_0x133d53(0xa4)][_0x133d53(0x218)]);}async[_0x387fe2(0x34b)](_0x52a274,_0xb9f069){var _0x15f0a4=_0x387fe2;if(this[_0x15f0a4(0xf8)]!==0x3||!this[_0x15f0a4(0xc0)])throw new Error(_0x15f0a4(0x2a9));try{_0x52a274[_0x15f0a4(0x2d5)]===p[_0x15f0a4(0x184)][_0x15f0a4(0x140)]&&(this[_0x15f0a4(0x126)](),this['_startTelemetryCollaborationNewChangeset'](_0x52a274)),this[_0x15f0a4(0xc0)][_0x15f0a4(0x34b)]({'cmd':W['INGEST'],'routeKey':_0xb9f069,'routeType':'','data':_0x52a274});}catch(_0x48b821){this[_0x15f0a4(0x1c3)][_0x15f0a4(0x305)](_0x48b821);}}[_0x387fe2(0x126)](){var _0x2e4485=_0x387fe2,_0x174952;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x28a279=_0x2609;this[_0x28a279(0xfe)]=null,this[_0x28a279(0x2e8)][_0x28a279(0x3ea)]({'id':Z[_0x28a279(0x294)]});},(_0x174952=this[_0x2e4485(0x3a0)][_0x2e4485(0x19c)](ke))!=null?_0x174952:lt);}[_0x387fe2(0x41b)](){var _0x247460=_0x387fe2;this[_0x247460(0xfe)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x387fe2(0x3d6)](_0x10d639){var _0x50ffc2=_0x387fe2;if(!this[_0x50ffc2(0x414)])return;const {data:_0x2bd118}=_0x10d639,{unitID:_0x4c88ff,changeset:_0x24482f}=_0x2bd118,{mutations:_0x52df38,type:_0x440984}=_0x24482f;this['_telemetryInfo']={'unitId':_0x4c88ff,'type':_0x440984,'startTime':performance[_0x50ffc2(0xc8)](),'stopTime':0x0,'duration':0x0,'size':Yt(_0x52df38)};}[_0x387fe2(0x1ff)](){var _0x34fae4=_0x387fe2;if(this['_shouldReportTelemetry']){if(!this[_0x34fae4(0x168)]){this['_logService'][_0x34fae4(0x305)]('[CollaborationSession]',_0x34fae4(0x2ae));return;}this[_0x34fae4(0x168)]['stopTime']=performance['now'](),this[_0x34fae4(0x168)][_0x34fae4(0x123)]=this[_0x34fae4(0x168)]['stopTime']-this[_0x34fae4(0x168)]['startTime'],this[_0x34fae4(0x1d8)]['capture'](Gt,this[_0x34fae4(0x168)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x1e4b1c=_0x387fe2;this[_0x1e4b1c(0x168)]=null;}},exports[_0x387fe2(0xfc)]=Xt([ce(0x2,a[_0x387fe2(0x2d9)]),ce(0x3,a[_0x387fe2(0x3b6)]),ce(0x4,a[_0x387fe2(0x25f)](exports[_0x387fe2(0xf6)])),ce(0x5,a[_0x387fe2(0x25f)](He)),ce(0x6,a[_0x387fe2(0x25f)](ee)),ce(0x7,a[_0x387fe2(0x209)](Rt[_0x387fe2(0x376)]))],exports['CollaborationSession']);var Zt=Object[_0x387fe2(0xff)],Qt=(_0x435380,_0x4ab859,_0x5b8ce8,_0x648d6f)=>{var _0x2b0198=_0x387fe2;for(var _0x1ba348=_0x648d6f>0x1?void 0x0:_0x648d6f?Zt(_0x4ab859,_0x5b8ce8):_0x4ab859,_0x28ddf5=_0x435380[_0x2b0198(0x2b4)]-0x1,_0x5d9715;_0x28ddf5>=0x0;_0x28ddf5--)(_0x5d9715=_0x435380[_0x28ddf5])&&(_0x1ba348=_0x5d9715(_0x1ba348)||_0x1ba348);return _0x1ba348;},he=(_0x498d02,_0x92e4cc)=>(_0x11c68f,_0xbe8d68)=>_0x92e4cc(_0x11c68f,_0xbe8d68,_0x498d02);exports[_0x387fe2(0x3e6)]=class extends a[_0x387fe2(0x1ee)]{constructor(_0x58fc74,_0x556651,_0x3c1867,_0x390b5d,_0x12daf1,_0x3e9f10){var _0x3c58ca=_0x387fe2;super(),A(this,'_socket$',new H[(_0x3c58ca(0x2bf))](void 0x0)),A(this,_0x3c58ca(0x235),this[_0x3c58ca(0x18f)]['asObservable']()),A(this,_0x3c58ca(0x196),null),A(this,_0x3c58ca(0x3ad),new Map()),A(this,_0x3c58ca(0x1e0),new H[(_0x3c58ca(0x2bf))](re[_0x3c58ca(0x273)])),A(this,_0x3c58ca(0x14f),this[_0x3c58ca(0x1e0)][_0x3c58ca(0x37f)]()),A(this,'_socketReady',!0x1),A(this,_0x3c58ca(0x3ba)),A(this,'_retryCount',0x0),A(this,_0x3c58ca(0x33e)),A(this,'_timeoutTimer'),(this[_0x3c58ca(0x285)]=_0x58fc74,this[_0x3c58ca(0x1c3)]=_0x556651,this['_configService']=_0x3c1867,this[_0x3c58ca(0x17b)]=_0x390b5d,this[_0x3c58ca(0x2e8)]=_0x12daf1,this['_networkConditionService']=_0x3e9f10,this[_0x3c58ca(0xb4)]());}get[_0x387fe2(0xc0)](){var _0x18c648=_0x387fe2;return this[_0x18c648(0x18f)][_0x18c648(0x283)]();}['_listenToNetworkCondition'](){var _0x182f2c=_0x387fe2;this[_0x182f2c(0xf4)]&&this[_0x182f2c(0xbc)](this['_networkConditionService'][_0x182f2c(0x36d)]['subscribe'](_0x1239ea=>{var _0x488e13=_0x182f2c;_0x1239ea&&!this[_0x488e13(0xc0)]&&this[_0x488e13(0x2a2)](),_0x1239ea||this[_0x488e13(0x40f)]();}));}[_0x387fe2(0x32a)](){var _0x582fd3=_0x387fe2;super[_0x582fd3(0x32a)](),this['_clearRetryConnectingTimer'](),this[_0x582fd3(0x2e9)](),this[_0x582fd3(0x39b)](),this[_0x582fd3(0x3ad)][_0x582fd3(0x138)](_0x276c9c=>_0x276c9c[_0x582fd3(0x32a)]()),this[_0x582fd3(0x3ad)][_0x582fd3(0x1e7)](),this[_0x582fd3(0x1e0)][_0x582fd3(0x22b)]();}async[_0x387fe2(0x1fc)](_0x2344b3){var _0x4e28d5=_0x387fe2;if(this['_sessions'][_0x4e28d5(0x2b1)](_0x2344b3))return this[_0x4e28d5(0x3ad)]['get'](_0x2344b3);this[_0x4e28d5(0x18b)]();const _0x1a6a9a=this[_0x4e28d5(0x285)][_0x4e28d5(0xbf)](exports['CollaborationSession'],_0x2344b3,this['_socket$'][_0x4e28d5(0x37f)]());return this[_0x4e28d5(0x3ad)][_0x4e28d5(0x1b1)](_0x2344b3,_0x1a6a9a),_0x1a6a9a;}[_0x387fe2(0x2a4)](_0x4a2cf0){var _0x4da43a=_0x387fe2,_0x2d6cf2;const _0x26455a=this[_0x4da43a(0x3ad)][_0x4da43a(0x12a)](_0x4a2cf0);_0x26455a&&(this[_0x4da43a(0x3ad)][_0x4da43a(0x25c)](_0x4a2cf0),_0x26455a[_0x4da43a(0x37c)]()),this[_0x4da43a(0x3ad)][_0x4da43a(0x219)]||(_0x2d6cf2=this[_0x4da43a(0xc0)])==null||_0x2d6cf2[_0x4da43a(0x37c)]();}[_0x387fe2(0x2a2)](){var _0x5bd594=_0x387fe2;this['_retryCount']=0x0,this[_0x5bd594(0x397)](),this[_0x5bd594(0x300)]();}['_clearRetryConnectingTimer'](){var _0x4924f1=_0x387fe2;this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x4924f1(0x3ba)]=null);}async[_0x387fe2(0x328)](){var _0x50782e=_0x387fe2,_0x5cf895;const _0x40f413=this[_0x50782e(0x3a0)][_0x50782e(0x19c)](Y),_0x43d2fa=(_0x5cf895=_0x40f413==null?void 0x0:_0x40f413['collabWebSocketUrl'])!=null?_0x5cf895:ht,_0x3ff51b=await this[_0x50782e(0x17b)]['createSocket'](_0x43d2fa);return this[_0x50782e(0x196)]=_0x3ff51b,_0x3ff51b;}async[_0x387fe2(0x18b)](){var _0x5d346f=_0x387fe2,_0xc66987,_0x29957a;try{const _0x4eab68=(_0x29957a=(_0xc66987=this['_socket'])!=null?_0xc66987:this[_0x5d346f(0x196)])!=null?_0x29957a:await this[_0x5d346f(0x328)]();if(_0x4eab68){const _0x3fc76c=_0x4eab68[_0x5d346f(0x34b)];_0x4eab68[_0x5d346f(0x34b)]=_0x15e45d=>(this[_0x5d346f(0x318)](),_0x3fc76c[_0x5d346f(0x1fb)](_0x4eab68,[_0x15e45d])),_0x4eab68[_0x5d346f(0x10d)][_0x5d346f(0x3a3)](_0x8f60bd=>this[_0x5d346f(0x1a7)](_0x4eab68,_0x8f60bd)),_0x4eab68[_0x5d346f(0xb6)]['pipe'](V['take'](0x1))[_0x5d346f(0x3a3)](_0x449dd6=>this[_0x5d346f(0x1c3)]['error'](_0x5d346f(0x1f1),_0x449dd6)),_0x4eab68[_0x5d346f(0x1eb)][_0x5d346f(0x3cd)](V[_0x5d346f(0x23d)](0x1))[_0x5d346f(0x3a3)](()=>{var _0x35886c=_0x5d346f;this[_0x35886c(0x373)](_0x4eab68);}),_0x4eab68[_0x5d346f(0x1c8)][_0x5d346f(0x3cd)](V['take'](0x1))[_0x5d346f(0x3a3)](_0x4b3c0e=>{var _0x2e2fcf=_0x5d346f;this['_logService'][_0x2e2fcf(0x278)](_0x2e2fcf(0x401),_0x2e2fcf(0x105),_0x4b3c0e),this[_0x2e2fcf(0x2e5)]();});}}catch(_0x304b70){this[_0x5d346f(0x1c3)][_0x5d346f(0x305)](_0x304b70),this['_onConnectionFailed']();}}[_0x387fe2(0x373)](_0x4149c8){var _0xf3e1b9=_0x387fe2;this[_0xf3e1b9(0x1c3)][_0xf3e1b9(0x278)](_0xf3e1b9(0x401),_0xf3e1b9(0x24d)),_0x4149c8[_0xf3e1b9(0x34b)]({'cmd':W[_0xf3e1b9(0x244)]}),this['_rescheduleHeartbeat']();}[_0x387fe2(0x40f)](){var _0x5533d0=_0x387fe2;this[_0x5533d0(0x3a2)]=!0x1,this[_0x5533d0(0x196)]=null,this[_0x5533d0(0x1e0)][_0x5533d0(0x1dc)](re[_0x5533d0(0x193)]),this[_0x5533d0(0x18f)]['next'](null),this[_0x5533d0(0x2e9)](),this[_0x5533d0(0x39b)]();}[_0x387fe2(0x2e5)](){var _0x2047b5=_0x387fe2,_0x50aa9b;this['_onOffline'](),this[_0x2047b5(0x11b)]<((_0x50aa9b=this['_configService'][_0x2047b5(0x19c)](ut))!=null?_0x50aa9b:Mt)?(this[_0x2047b5(0x2e8)]['emitEvent']({'id':Z[_0x2047b5(0x363)]}),this[_0x2047b5(0x300)]()):this['_collaborationUIEventService'][_0x2047b5(0x3ea)]({'id':Z[_0x2047b5(0x325)]});}[_0x387fe2(0x300)](){var _0x46a9a0=_0x387fe2,_0x2e0915;const _0x231716=this[_0x46a9a0(0x11b)],_0x322cfe=this['_configService'][_0x46a9a0(0x19c)](Y),_0x5763f1=_0x231716===0x0?0x0:((_0x2e0915=_0x322cfe==null?void 0x0:_0x322cfe[_0x46a9a0(0x2f6)])!=null?_0x2e0915:wt)*0x2**_0x231716;this[_0x46a9a0(0x3ba)]=setTimeout(()=>{var _0x4f4c47=_0x46a9a0;clearTimeout(this[_0x4f4c47(0x3ba)]),this[_0x4f4c47(0x3ba)]=null,this['_tryEnsureSocket']();},_0x5763f1),this[_0x46a9a0(0x11b)]+=0x1;}['_onMessage'](_0x26fdd0,_0x23de9a){var _0x327f6=_0x387fe2;const {cmd:_0x37dc66}=_0x23de9a;_0x37dc66===W[_0x327f6(0x244)]&&!this[_0x327f6(0x3a2)]&&(_0x26fdd0[_0x327f6(0x218)]=_0x23de9a[_0x327f6(0xa4)]['memberID'],this['_socket$']['next'](_0x26fdd0),this['_status$'][_0x327f6(0x1dc)](re['ONLINE']),this['_socketReady']=!0x0,this[_0x327f6(0x196)]=null),_0x37dc66===W['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x327f6(0x318)]();}[_0x387fe2(0x318)](){var _0x32145c=_0x387fe2,_0x117b9f;this[_0x32145c(0x39b)](),this[_0x32145c(0x33e)]=setTimeout(()=>this[_0x32145c(0x409)](),(_0x117b9f=this[_0x32145c(0x3a0)][_0x32145c(0x19c)](_t))!=null?_0x117b9f:Pt);}['_sendHeartbeat'](){var _0x157722=_0x387fe2;this[_0x157722(0xc0)][_0x157722(0x34b)]({'cmd':W[_0x157722(0x2d7)]}),this[_0x157722(0x295)]();}[_0x387fe2(0x295)](){var _0x1768a2=_0x387fe2,_0x38fe52;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x38fe52=this[_0x1768a2(0x3a0)][_0x1768a2(0x19c)](ke))!=null?_0x38fe52:lt);}[_0x387fe2(0x39b)](){var _0x57f655=_0x387fe2;this[_0x57f655(0x33e)]!=null&&(clearTimeout(this[_0x57f655(0x33e)]),this[_0x57f655(0x33e)]=null);}[_0x387fe2(0x2e9)](){var _0x529300=_0x387fe2;this[_0x529300(0xe5)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x529300(0xe5)]=null);}},exports[_0x387fe2(0x3e6)]=Qt([he(0x0,a[_0x387fe2(0x25f)](a[_0x387fe2(0x272)])),he(0x1,a['ILogService']),he(0x2,a[_0x387fe2(0x3b6)]),he(0x3,$e),he(0x4,a[_0x387fe2(0x25f)](ee)),he(0x5,a[_0x387fe2(0x209)](St))],exports[_0x387fe2(0x3e6)]);const K=a[_0x387fe2(0x333)]('collaboration-client.local-cache-service');function ei(_0x266257){var _0x4e3461=_0x387fe2;return _0x4e3461(0x1b3)+_0x266257;}var ti=Object[_0x387fe2(0xff)],ii=(_0x34bd0f,_0x4bafd0,_0x1344b7,_0x50686a)=>{var _0x3adcba=_0x387fe2;for(var _0x510f2b=_0x50686a>0x1?void 0x0:_0x50686a?ti(_0x4bafd0,_0x1344b7):_0x4bafd0,_0x597f71=_0x34bd0f[_0x3adcba(0x2b4)]-0x1,_0x11bdff;_0x597f71>=0x0;_0x597f71--)(_0x11bdff=_0x34bd0f[_0x597f71])&&(_0x510f2b=_0x11bdff(_0x510f2b)||_0x510f2b);return _0x510f2b;},Ue=(_0x36a15e,_0x4e419d)=>(_0x36cdd3,_0x554f37)=>_0x4e419d(_0x36cdd3,_0x554f37,_0x36a15e);function ni(_0x604dee){var _0x114150=_0x387fe2;const {unitID:_0x250c76,mutations:_0x34aeaa}=_0x604dee;return{'unitId':_0x250c76,'subUnitId':_0x34aeaa[0x0]['params'][_0x114150(0x268)]};}exports[_0x387fe2(0x354)]=class{constructor(_0x5eb2bf,_0x148bc0,_0x1c9b9e){var _0x3580ac=_0x387fe2;this[_0x3580ac(0x285)]=_0x5eb2bf,this[_0x3580ac(0x270)]=_0x148bc0,this['_instanceService']=_0x1c9b9e;}[_0x387fe2(0x304)](_0xfe3089){var _0x5c5f1b=_0x387fe2,_0x412e1c,_0x34b0d8,_0x156971,_0x302b9d;const _0x19a9bd=this['_injector'][_0x5c5f1b(0x12a)](X[_0x5c5f1b(0x26a)]),{unitId:_0x1efc29,subUnitId:_0x453589}=ni(_0xfe3089),_0x2781f2=_0x19a9bd==null?void 0x0:_0x19a9bd['getWorkbookSelections'](_0x1efc29)[_0x5c5f1b(0x14b)](),_0x2ee9ba=(_0x34b0d8=(_0x412e1c=this[_0x5c5f1b(0x1f4)][_0x5c5f1b(0x343)](_0x1efc29))==null?void 0x0:_0x412e1c[_0x5c5f1b(0x3b8)]())==null?void 0x0:_0x34b0d8[_0x5c5f1b(0x169)]();if(_0x2781f2[_0x5c5f1b(0x2b4)]===0x0||!_0x1efc29||!_0x453589)return;const _0x213272=[{'id':X[_0x5c5f1b(0x2d8)]['id'],'params':{'unitId':_0x1efc29,'subUnitId':_0x2ee9ba,'selections':a[_0x5c5f1b(0xcd)][_0x5c5f1b(0x238)](_0x2781f2)}}],_0x24a46b=this['_transformService'][_0x5c5f1b(0x127)](_0xfe3089,_0x213272);if(!p['isTransformMutationsWithChangesetSuccess'](_0x24a46b))throw _0x24a46b[_0x5c5f1b(0x305)];const _0x14835f=(_0x302b9d=(_0x156971=_0x24a46b[_0x5c5f1b(0x2e0)][0x0])==null?void 0x0:_0x156971[_0x5c5f1b(0x3bf)])==null?void 0x0:_0x302b9d['selections'];if(Array['isArray'](_0x14835f)&&_0x14835f['length']){if(_0x14835f['length']===_0x213272[0x0][_0x5c5f1b(0x3bf)][_0x5c5f1b(0x301)]['length']&&_0x14835f[_0x5c5f1b(0x102)]((_0x58a0d3,_0x74e9b5)=>a[_0x5c5f1b(0x3c3)][_0x5c5f1b(0xf2)](_0x58a0d3[_0x5c5f1b(0x277)],_0x213272[0x0]['params'][_0x5c5f1b(0x301)][_0x74e9b5]['range'])))return;this[_0x5c5f1b(0x285)][_0x5c5f1b(0x12a)](a[_0x5c5f1b(0x228)])[_0x5c5f1b(0x154)](X['SetSelectionsOperation']['id'],{'unitId':_0x1efc29,'subUnitId':_0x2ee9ba,'selections':_0x14835f});}}},exports[_0x387fe2(0x354)]=ii([Ue(0x0,a[_0x387fe2(0x25f)](a[_0x387fe2(0x272)])),Ue(0x1,p[_0x387fe2(0x25b)]),Ue(0x2,a['IUniverInstanceService'])],exports[_0x387fe2(0x354)]);const de=a[_0x387fe2(0x333)](_0x387fe2(0x27e));var je=(_0xc2e966=>(_0xc2e966[_0xc2e966[_0x387fe2(0x14e)]=0x0]=_0x387fe2(0x14e),_0xc2e966[_0xc2e966[_0x387fe2(0x40e)]=0x1]=_0x387fe2(0x40e),_0xc2e966))(je||{});const ri=new Set([X['InsertSheetMutation']['id']]);function Ge(_0x1b60b1,_0x524b4b,_0x1be1a1,_0x14254e,_0x427556){var _0x4971e7=_0x387fe2,_0x45f4b6,_0x2bf4e5,_0x401556,_0x249f55;const _0x15c16f=[];for(const _0x12439c of _0x1b60b1)if(ri[_0x4971e7(0x2b1)](_0x12439c['id'])){if(_0x15c16f[_0x4971e7(0x2b4)]>0x0)break;_0x15c16f[_0x4971e7(0x2a6)](_0x12439c);break;}else _0x15c16f[_0x4971e7(0x2a6)](_0x12439c);const _0x4ef5de=(_0x2bf4e5=(_0x45f4b6=_0x427556['getCurrentUser']())==null?void 0x0:_0x45f4b6[_0x4971e7(0xec)])!=null?_0x2bf4e5:_0x4971e7(0x14a),_0x14f9b0=(_0x249f55=(_0x401556=_0x427556['getCurrentUser']())==null?void 0x0:_0x401556[_0x4971e7(0x218)])!=null?_0x249f55:_0x4971e7(0x14a);return{'changeset':{'unitID':_0x524b4b,'type':p['mapDocumentTypeToUniverType'](_0x1be1a1[_0x4971e7(0x2db)](_0x524b4b)),'baseRev':_0x14254e['getCurrentRevOfUnit'](_0x524b4b),'revision':0x0,'userID':_0x4ef5de,'memberID':_0x14f9b0,'mutations':_0x15c16f},'pendingMutations':_0x1b60b1[_0x4971e7(0xa5)](_0x15c16f[_0x4971e7(0x2b4)])};}function si(_0x5f2864,_0x5722b6,_0x46d8a8,_0x4d8d14,_0x30e53a){var _0x3b4ba5=_0x387fe2,_0xeecb15,_0x277c14,_0x36e231,_0x5cde65;const _0x1ecb08=[_0x5f2864[_0x3b4ba5(0x220)]((_0x3a0561,_0xff56f2)=>{var _0x448809=_0x3b4ba5,_0x8691fd;const {id:_0xa9be92}=_0x3a0561,{id:_0x2799f5,type:_0x19375e}=_0xff56f2,_0x20fee8=(_0x8691fd=_0x3a0561[_0x448809(0x3bf)])!=null?_0x8691fd:{'actions':null},_0x145c19=_0xff56f2[_0x448809(0x3bf)];if(_0xa9be92&&_0xa9be92!==_0x2799f5)throw new Error(_0x448809(0x11d)+_0xa9be92+_0x448809(0x306)+_0x2799f5+'.');return{..._0x3a0561,'id':_0x2799f5,'type':_0x19375e,'params':{'unitId':_0x145c19[_0x448809(0xe7)],'textRanges':_0x145c19[_0x448809(0x40d)],'actions':a[_0x448809(0x214)]['compose'](_0x20fee8[_0x448809(0x32f)],_0x145c19[_0x448809(0x32f)])}};},{})],_0x372189=(_0x277c14=(_0xeecb15=_0x30e53a[_0x3b4ba5(0x15c)]())==null?void 0x0:_0xeecb15[_0x3b4ba5(0xec)])!=null?_0x277c14:_0x3b4ba5(0x14a),_0x21256d=(_0x5cde65=(_0x36e231=_0x30e53a[_0x3b4ba5(0x15c)]())==null?void 0x0:_0x36e231['memberID'])!=null?_0x5cde65:'unknown';return{'changeset':{'unitID':_0x5722b6,'type':p[_0x3b4ba5(0x3e3)](_0x46d8a8[_0x3b4ba5(0x2db)](_0x5722b6)),'baseRev':_0x4d8d14['getCurrentRevOfUnit'](_0x5722b6),'revision':0x0,'userID':_0x372189,'memberID':_0x21256d,'mutations':_0x1ecb08},'pendingMutations':[]};}function pt(_0xa0921e,_0x46cff6){var _0x174667=_0x387fe2;const _0x14e1b0=new H[(_0x174667(0x309))](0x1);return setTimeout(()=>_0x14e1b0[_0x174667(0x1dc)](_0x46cff6),_0xa0921e),_0x14e1b0[_0x174667(0x37f)]()['pipe'](H[_0x174667(0x23d)](0x1));}const oi={'id':X[_0x387fe2(0x1e9)]['id'],'type':a[_0x387fe2(0x15b)][_0x387fe2(0x101)],'params':{}};var ai=Object['getOwnPropertyDescriptor'],oe=(_0x49a4d5,_0x44991e,_0x39bdc3,_0x2c9ef4)=>{var _0x36134a=_0x387fe2;for(var _0x3f778c=_0x2c9ef4>0x1?void 0x0:_0x2c9ef4?ai(_0x44991e,_0x39bdc3):_0x44991e,_0x3d78b7=_0x49a4d5[_0x36134a(0x2b4)]-0x1,_0x30581c;_0x3d78b7>=0x0;_0x3d78b7--)(_0x30581c=_0x49a4d5[_0x3d78b7])&&(_0x3f778c=_0x30581c(_0x3f778c)||_0x3f778c);return _0x3f778c;},w=(_0x31b84a,_0x44e64c)=>(_0x58f404,_0x805fe)=>_0x44e64c(_0x58f404,_0x805fe,_0x31b84a),Be=(_0xcd13fc=>(_0xcd13fc[_0x387fe2(0x29f)]=_0x387fe2(0x1b5),_0xcd13fc[_0x387fe2(0x1f2)]=_0x387fe2(0x41c),_0xcd13fc[_0x387fe2(0x3ff)]=_0x387fe2(0xcb),_0xcd13fc[_0x387fe2(0x2ef)]='awaiting',_0xcd13fc[_0x387fe2(0x26c)]=_0x387fe2(0x3c1),_0xcd13fc[_0x387fe2(0x234)]=_0x387fe2(0x352),_0xcd13fc[_0x387fe2(0x3f9)]=_0x387fe2(0x204),_0xcd13fc[_0x387fe2(0x193)]=_0x387fe2(0x302),_0xcd13fc))(Be||{});const mt=0xea60;class ae{constructor(_0x438305,_0x8d4788,_0x1f645f,_0x1a96ea,_0x18ee4c,_0x4d7865,_0x3bafb0,_0x165090,_0x4e751a){var _0x2d9e16=_0x387fe2;A(this,'_awaitingChangeset',null),A(this,_0x2d9e16(0x2ec),[]),(this[_0x2d9e16(0x287)]=_0x438305,this[_0x2d9e16(0x2ed)]=_0x8d4788,this[_0x2d9e16(0x2fe)]=_0x18ee4c,this[_0x2d9e16(0x17c)]=_0x4d7865,this[_0x2d9e16(0x2a7)]=_0x3bafb0,this[_0x2d9e16(0x405)]=_0x165090,this[_0x2d9e16(0x413)]=_0x4e751a,this[_0x2d9e16(0x393)]=_0x1f645f,this['_pendingMutations']=_0x1a96ea);}[_0x387fe2(0x364)](_0x298427){var _0x43f81f=_0x387fe2;const _0x239020=this[_0x43f81f(0x405)][_0x43f81f(0x422)](this[_0x43f81f(0x287)]);return _0x298427[_0x43f81f(0x185)]>_0x239020+0x1?(this[_0x43f81f(0x2fe)]['onMissingChangesets']({'from':_0x239020,'to':_0x298427[_0x43f81f(0x185)]-0x1}),!0x0):!0x1;}[_0x387fe2(0x3bb)](_0x45c4a9){var _0x26c708=_0x387fe2;this['_undoRedoService'][_0x26c708(0x3d5)](this['unitID'],_0x45c4a9);}['_transformSelections'](_0x34afa6){var _0x245661=_0x387fe2,_0xd65ca4,_0x5c5e9f;(_0x5c5e9f=(_0xd65ca4=this[_0x245661(0x2fe)])[_0x245661(0x31e)])==null||_0x5c5e9f[_0x245661(0x239)](_0xd65ca4,_0x34afa6);}['_transformIMECache'](_0xf09ba2){var _0x451960=_0x387fe2,_0x144dcd,_0x11c911;return(_0x11c911=(_0x144dcd=this[_0x451960(0x2fe)])[_0x451960(0x2c8)])==null?void 0x0:_0x11c911[_0x451960(0x239)](_0x144dcd,_0xf09ba2);}[_0x387fe2(0x12c)](_0x1079e6){var _0x11c9ef=_0x387fe2,_0x14283c,_0x52b8ca;return(_0x52b8ca=(_0x14283c=this['_handler'])[_0x11c9ef(0x32d)])==null?void 0x0:_0x52b8ca['call'](_0x14283c,_0x1079e6);}[_0x387fe2(0x177)](_0x358eda){var _0x326f73=_0x387fe2,_0x5694ef,_0x46f491,_0x3c9d21;return(_0x3c9d21=(_0x46f491=(_0x5694ef=this[_0x326f73(0x2fe)])[_0x326f73(0x25d)])==null?void 0x0:_0x46f491[_0x326f73(0x239)](_0x5694ef,_0x358eda))!=null?_0x3c9d21:_0x358eda;}['_transformRemoteChangesetByStateCache'](_0x291120){var _0x6704b=_0x387fe2,_0x210b7d,_0x505164,_0x426417;return(_0x426417=(_0x505164=(_0x210b7d=this[_0x6704b(0x2fe)])[_0x6704b(0x2ff)])==null?void 0x0:_0x505164[_0x6704b(0x239)](_0x210b7d,_0x291120))!=null?_0x426417:_0x291120;}[_0x387fe2(0x416)](_0x1ebdff){var _0x1ab7e9=_0x387fe2,_0x21fae0,_0x51ab15;if(this[_0x1ab7e9(0x2ed)]===J[_0x1ab7e9(0x2a5)]){const {unitID:_0x5cf63f,mutations:_0xe158f5,memberID:_0x1a360c}=_0x1ebdff,_0x26fc56=_0xe158f5[0x0][_0x1ab7e9(0x3bf)][_0x1ab7e9(0x40d)];Array[_0x1ab7e9(0x38b)](_0x26fc56)&&_0x26fc56[_0x1ab7e9(0x2b4)]>0x0&&((_0x51ab15=(_0x21fae0=this[_0x1ab7e9(0x2fe)])[_0x1ab7e9(0x3b5)])==null||_0x51ab15[_0x1ab7e9(0x239)](_0x21fae0,{'unitID':_0x5cf63f,'memberID':_0x1a360c,'textRanges':_0x26fc56}));}}[_0x387fe2(0x400)](){var _0x56daa4=_0x387fe2,_0x1c543b;(_0x1c543b=this[_0x56daa4(0x413)])==null||_0x1c543b[_0x56daa4(0x192)](this[_0x56daa4(0x287)],this[_0x56daa4(0x2ed)],this[_0x56daa4(0x393)],this['_pendingMutations']);}[_0x387fe2(0x1a3)](){var _0x5daa4f=_0x387fe2;return this[_0x5daa4f(0x405)][_0x5daa4f(0x422)](this[_0x5daa4f(0x287)]);}['_incrementRevisionNumber'](){var _0x2c9fcc=_0x387fe2;this[_0x2c9fcc(0x405)][_0x2c9fcc(0x3b1)](this['unitID']);}['_executeRemoteChangeset'](_0xf1b874){var _0x44bc3f=_0x387fe2,_0x200c4e;let _0xb0e18d=this[_0x44bc3f(0x177)](_0xf1b874);_0xb0e18d=this[_0x44bc3f(0x334)](_0xb0e18d);const _0x8e344b=a['sequenceExecute'](_0xb0e18d['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x8e344b[_0x44bc3f(0x31a)])throw _0x8e344b[_0x44bc3f(0x305)]instanceof Error?_0x8e344b['error']:new Error((_0x200c4e=_0x8e344b[_0x44bc3f(0x305)])!=null?_0x200c4e:'[CollaborationState]:\x20apply\x20error!');this[_0x44bc3f(0x40c)](_0xb0e18d),this[_0x44bc3f(0x12c)](_0xb0e18d),this[_0x44bc3f(0x3bb)](_0xf1b874),this['_transformSelections'](_0xb0e18d),this[_0x44bc3f(0x416)](_0xb0e18d),this[_0x44bc3f(0x1a2)]();}}exports[_0x387fe2(0x311)]=class extends ae{constructor(_0x16284f,_0x44a690,_0xa8dca1,_0x215469,_0x2a12d8,_0x2247e6,_0x2fdf6b,_0x2cdd0c,_0x4dd17d,_0x573f95){var _0x4d0d23=_0x387fe2;super(_0x16284f,_0x44a690,null,[],_0xa8dca1,_0x2fdf6b,_0x2247e6,_0x215469,_0x573f95),A(this,_0x4d0d23(0xe3),_0x4d0d23(0x41c)),(this[_0x4d0d23(0x285)]=_0x2a12d8,this[_0x4d0d23(0x1c3)]=_0x2cdd0c,this['_transformService']=_0x4dd17d,this[_0x4d0d23(0x340)]=_0x573f95);}[_0x387fe2(0x2b9)](_0x50800a){var _0x10c89a=_0x387fe2;const _0x29624a=this[_0x10c89a(0x285)]['createInstance'](exports[_0x10c89a(0x1b9)],this[_0x10c89a(0x287)],this['type'],[_0x50800a],this[_0x10c89a(0x2fe)]);return _0x29624a[_0x10c89a(0x3e5)](),_0x29624a[_0x10c89a(0x400)](),_0x29624a;}['onRemoteChangeset'](_0x47a0ea){var _0x295fdf=_0x387fe2;if(this[_0x295fdf(0x364)](_0x47a0ea))return this[_0x295fdf(0x285)]['createInstance'](exports['FetchingMissState'],this['unitID'],this[_0x295fdf(0x2ed)],null,[],null,[_0x47a0ea],this[_0x295fdf(0x2fe)]);try{const _0x48ff6f=this[_0x295fdf(0x270)][_0x295fdf(0x127)](_0x47a0ea,[oi]);if(p[_0x295fdf(0x38f)](_0x48ff6f)){const {c1Prime:_0x3b1ec9}=_0x48ff6f;return this[_0x295fdf(0x243)](_0x3b1ec9),this;}throw _0x48ff6f[_0x295fdf(0x305)];}catch(_0x2df6d9){return this[_0x295fdf(0x1c3)][_0x295fdf(0x305)](_0x2df6d9),this[_0x295fdf(0x269)](!0x1);}}['_onConflict'](_0x4a47ea){var _0x27d7ee=_0x387fe2;return this[_0x27d7ee(0x285)][_0x27d7ee(0xbf)](exports['ConflictState'],this[_0x27d7ee(0x287)],this[_0x27d7ee(0x2ed)],null,[],this['_handler'],_0x4a47ea);}[_0x387fe2(0xb5)](){var _0x2706d3=_0x387fe2;throw new Error(_0x2706d3(0x3f1));}[_0x387fe2(0x28e)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x387fe2(0x411)](){return this;}[_0x387fe2(0x19a)](){var _0x90cb88=_0x387fe2;return this[_0x90cb88(0x285)]['createInstance'](exports[_0x90cb88(0x260)],this[_0x90cb88(0x287)],this[_0x90cb88(0x2ed)],null,[],this[_0x90cb88(0x2fe)]);}[_0x387fe2(0x226)](){return this;}[_0x387fe2(0x41f)](){var _0x63225=_0x387fe2;throw new Error(_0x63225(0x336));}[_0x387fe2(0x35d)](){var _0x115801=_0x387fe2;const _0x42955d=this[_0x115801(0x405)][_0x115801(0x422)](this[_0x115801(0x287)]);return this[_0x115801(0x2fe)][_0x115801(0x1f7)]({'from':_0x42955d,'to':0x0}),this[_0x115801(0x285)]['createInstance'](exports[_0x115801(0xdd)],this[_0x115801(0x287)],this['type'],null,[],null,[],this[_0x115801(0x2fe)]);}},exports[_0x387fe2(0x311)]=oe([w(0x3,a[_0x387fe2(0x25f)](p[_0x387fe2(0x3e4)])),w(0x4,a[_0x387fe2(0x25f)](a[_0x387fe2(0x272)])),w(0x5,a[_0x387fe2(0x106)]),w(0x6,a[_0x387fe2(0x228)]),w(0x7,a[_0x387fe2(0x2d9)]),w(0x8,p[_0x387fe2(0x25b)]),w(0x9,a[_0x387fe2(0x209)](K))],exports[_0x387fe2(0x311)]),exports[_0x387fe2(0x1b9)]=class extends ae{constructor(_0x4cba66,_0x1fa509,_0x215282,_0x7bf2c8,_0x566483,_0x54a412,_0x4425d0,_0x6889dd,_0x3e4383,_0x46e0da,_0x1b7950,_0x120379,_0x453714,_0x1bb2d7){var _0xecd1df=_0x387fe2;super(_0x4cba66,_0x1fa509,null,_0x215282,_0x7bf2c8,_0x3e4383,_0x453714,_0x54a412,_0x1bb2d7),A(this,_0xecd1df(0xe3),_0xecd1df(0xcb)),A(this,_0xecd1df(0x23e),null),A(this,_0xecd1df(0x1fa),null),(this['_injector']=_0x566483,this[_0xecd1df(0x22a)]=_0x4425d0,this[_0xecd1df(0x1c3)]=_0x6889dd,this['_configService']=_0x46e0da,this[_0xecd1df(0x270)]=_0x1b7950,this[_0xecd1df(0x396)]=_0x120379);}[_0x387fe2(0x2b9)](_0x3418ae){var _0x4ca846=_0x387fe2;return this[_0x4ca846(0x2ec)][_0x4ca846(0x2a6)](_0x3418ae),this[_0x4ca846(0x400)](),this;}[_0x387fe2(0x146)](_0x122e28){var _0x21a837=_0x387fe2;if(this[_0x21a837(0x364)](_0x122e28))return this['_clearScheduledTask'](),this[_0x21a837(0x285)][_0x21a837(0xbf)](exports[_0x21a837(0xdd)],this[_0x21a837(0x287)],this[_0x21a837(0x2ed)],null,this[_0x21a837(0x2ec)],null,[_0x122e28],this[_0x21a837(0x2fe)]);try{const _0x1318e3=this[_0x21a837(0x270)][_0x21a837(0x127)](_0x122e28,this[_0x21a837(0x2ec)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x1318e3)){const {c1Prime:_0x354c39,m2Prime:_0x17559c}=_0x1318e3;this[_0x21a837(0x243)](_0x354c39);const _0x4790bc=this[_0x21a837(0x285)]['createInstance'](exports['PendingState'],this[_0x21a837(0x287)],this[_0x21a837(0x2ed)],_0x17559c,this['_handler']);this['_clearScheduledTask']();const _0x586445=new Date()[_0x21a837(0xd3)](),_0x4b0573=this[_0x21a837(0x23e)]?Math[_0x21a837(0x276)](this[_0x21a837(0x23e)]-_0x586445,0x0):this['_getSendChangesetTimeout']();return _0x4790bc['_schedule'](_0x4b0573),_0x4790bc;}throw _0x1318e3['error'];}catch(_0x137656){return this[_0x21a837(0x1c3)][_0x21a837(0x305)](_0x137656),this[_0x21a837(0x269)](!0x1);}}[_0x387fe2(0xb5)](){var _0x5b65e8=_0x387fe2;throw new Error(_0x5b65e8(0x365));}[_0x387fe2(0x28e)](){var _0x43a90d=_0x387fe2;throw new Error(_0x43a90d(0x2e6));}[_0x387fe2(0x411)](){return this;}[_0x387fe2(0x19a)](){var _0x33fb6a=_0x387fe2;return this[_0x33fb6a(0x1ed)](),this[_0x33fb6a(0x285)][_0x33fb6a(0xbf)](exports[_0x33fb6a(0x260)],this[_0x33fb6a(0x287)],this[_0x33fb6a(0x2ed)],null,this[_0x33fb6a(0x2ec)],this[_0x33fb6a(0x2fe)]);}[_0x387fe2(0x226)](){return this;}[_0x387fe2(0x3e5)](_0x3fd919){var _0x19a792=_0x387fe2;const _0x488715=_0x3fd919!=null?_0x3fd919:this['_getSendChangesetTimeout']();this[_0x19a792(0x23e)]=new Date()['getTime']()+_0x488715,this['_sendingTimer']=setTimeout(()=>{var _0x102194=_0x19a792;this[_0x102194(0x1ed)]();let _0x2b3a04=null;switch(this[_0x102194(0x2ed)]){case J[_0x102194(0x107)]:{_0x2b3a04=Ge(this[_0x102194(0x2ec)],this[_0x102194(0x287)],this[_0x102194(0x396)],this[_0x102194(0x405)],this[_0x102194(0x22a)]);break;}case J[_0x102194(0x2a5)]:{this[_0x102194(0x2ec)][_0x102194(0x102)](_0x5e228d=>_0x5e228d['id']===ct[_0x102194(0x3ed)]['id'])?_0x2b3a04=si(this[_0x102194(0x2ec)],this[_0x102194(0x287)],this['_univerInstanceService'],this[_0x102194(0x405)],this[_0x102194(0x22a)]):_0x2b3a04=Ge(this[_0x102194(0x2ec)],this[_0x102194(0x287)],this[_0x102194(0x396)],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x102194(0x179)+this[_0x102194(0x2ed)]+'\x20in\x20_schedule.');}const {changeset:_0x4257e1,pendingMutations:_0x996c12}=_0x2b3a04;this[_0x102194(0x2fe)][_0x102194(0x370)](_0x4257e1);const _0x23e0c2=_0x996c12[_0x102194(0x2b4)]?this[_0x102194(0x285)][_0x102194(0xbf)](exports[_0x102194(0x201)],this[_0x102194(0x287)],this[_0x102194(0x2ed)],_0x4257e1,_0x996c12,this[_0x102194(0x2fe)],void 0x0):this['_injector'][_0x102194(0xbf)](exports[_0x102194(0xe2)],this[_0x102194(0x287)],this[_0x102194(0x2ed)],_0x4257e1,this[_0x102194(0x2fe)]);_0x23e0c2[_0x102194(0x400)](),this[_0x102194(0x2fe)][_0x102194(0x175)](this,_0x23e0c2);},_0x488715);}[_0x387fe2(0x171)](){var _0x2d3478=_0x387fe2,_0x2ae64c;const _0x373f2e=this['_configService'][_0x2d3478(0x19c)](Y);return(_0x2ae64c=_0x373f2e==null?void 0x0:_0x373f2e[_0x2d3478(0x21d)])!=null?_0x2ae64c:Ut;}[_0x387fe2(0x41f)](){var _0x4c6ea4=_0x387fe2;throw new Error(_0x4c6ea4(0x151));}['_clearScheduledTask'](){var _0x56faac=_0x387fe2;this[_0x56faac(0x1fa)]!=null&&(clearTimeout(this[_0x56faac(0x1fa)]),this[_0x56faac(0x1fa)]=null);}['_onConflict'](_0x1ec7b3){var _0x2614cf=_0x387fe2;return this['_clearScheduledTask'](),this[_0x2614cf(0x285)][_0x2614cf(0xbf)](exports[_0x2614cf(0x3af)],this[_0x2614cf(0x287)],this[_0x2614cf(0x2ed)],null,this[_0x2614cf(0x2ec)],this[_0x2614cf(0x2fe)],_0x1ec7b3);}},exports[_0x387fe2(0x1b9)]=oe([w(0x4,a[_0x387fe2(0x25f)](a[_0x387fe2(0x272)])),w(0x5,a[_0x387fe2(0x25f)](p[_0x387fe2(0x3e4)])),w(0x6,a[_0x387fe2(0x25f)](exports[_0x387fe2(0xf6)])),w(0x7,a[_0x387fe2(0x2d9)]),w(0x8,a[_0x387fe2(0x228)]),w(0x9,a[_0x387fe2(0x3b6)]),w(0xa,p[_0x387fe2(0x25b)]),w(0xb,a[_0x387fe2(0x31c)]),w(0xc,a[_0x387fe2(0x106)]),w(0xd,a[_0x387fe2(0x209)](K))],exports['PendingState']),exports[_0x387fe2(0xe2)]=class extends ae{constructor(_0x1d25fa,_0xcd3c90,_0x2f82c0,_0x5b9aeb,_0xb4e4fb,_0x3a50b9,_0x260662,_0x5ceaa1,_0x536b75,_0xa36ed9,_0x166b7e){var _0x190a88=_0x387fe2;super(_0x1d25fa,_0xcd3c90,_0x2f82c0,[],_0x5b9aeb,_0x260662,_0xa36ed9,_0x3a50b9,_0x166b7e),A(this,_0x190a88(0xe3),_0x190a88(0x3bd)),A(this,_0x190a88(0x113),0x0),A(this,'_resendTimer'),A(this,_0x190a88(0x2dd)),(this['_injector']=_0xb4e4fb,this[_0x190a88(0x1c3)]=_0x5ceaa1,this[_0x190a88(0x270)]=_0x536b75);}[_0x387fe2(0x2b9)](_0x55f77b){var _0x7017fb=_0x387fe2;this[_0x7017fb(0x1ed)]();const _0x12e5b4=this[_0x7017fb(0x285)][_0x7017fb(0xbf)](exports[_0x7017fb(0x201)],this[_0x7017fb(0x287)],this[_0x7017fb(0x2ed)],this[_0x7017fb(0x393)],[_0x55f77b],this[_0x7017fb(0x2fe)],this[_0x7017fb(0x350)]);return _0x12e5b4[_0x7017fb(0x400)](),_0x12e5b4;}[_0x387fe2(0x146)](_0x3c354d){var _0xdc9862=_0x387fe2;if(this[_0xdc9862(0x364)](_0x3c354d))return this[_0xdc9862(0x1ed)](),this[_0xdc9862(0x285)][_0xdc9862(0xbf)](exports[_0xdc9862(0xdd)],this[_0xdc9862(0x287)],this['type'],this[_0xdc9862(0x393)],[],null,[_0x3c354d],this[_0xdc9862(0x2fe)]);try{const _0x3b7b7d=this[_0xdc9862(0x270)][_0xdc9862(0xaa)]([_0x3c354d],[this[_0xdc9862(0x393)]],!0x1);if(p[_0xdc9862(0x3fa)](_0x3b7b7d)){const {c1Prime:_0x5ec48c,c2Prime:_0x38583b}=_0x3b7b7d;this[_0xdc9862(0x243)](_0x5ec48c[0x0]),_0x38583b[0x0][_0xdc9862(0x1c4)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x262afb=this[_0xdc9862(0x285)][_0xdc9862(0xbf)](exports[_0xdc9862(0xe2)],this['unitID'],this[_0xdc9862(0x2ed)],_0x38583b[0x0],this[_0xdc9862(0x2fe)]);return _0x262afb['_updateLocalCache'](),_0x262afb;}return this[_0xdc9862(0x269)](!0x1);}catch(_0x1cc0a5){return this[_0xdc9862(0x1c3)][_0xdc9862(0x305)](_0x1cc0a5),this[_0xdc9862(0x269)](!0x1);}}['onRemoteAck'](_0x49ff5a){var _0x56a45d=_0x387fe2;this['_clearScheduledTask']();const _0x38120a=this[_0x56a45d(0x405)][_0x56a45d(0x422)](this[_0x56a45d(0x287)]);if(_0x49ff5a[_0x56a45d(0x185)]<_0x38120a-0x1)return this;if(this[_0x56a45d(0x364)](_0x49ff5a))return this[_0x56a45d(0x285)]['createInstance'](exports['FetchingMissState'],this[_0x56a45d(0x287)],this[_0x56a45d(0x2ed)],null,[],this[_0x56a45d(0x393)],[],this[_0x56a45d(0x2fe)]);this[_0x56a45d(0x1a2)]();const _0x200dea=this[_0x56a45d(0x285)][_0x56a45d(0xbf)](exports[_0x56a45d(0x311)],this[_0x56a45d(0x287)],this[_0x56a45d(0x2ed)],this['_handler']);return _0x200dea['_updateLocalCache'](),_0x200dea;}[_0x387fe2(0x28e)](_0x100e1c){return this['_onConflict'](!!(_0x100e1c!=null&&_0x100e1c['isPermissionRej']));}[_0x387fe2(0x411)](_0x34d1fb){var _0x5690ac=_0x387fe2;return this[_0x5690ac(0x113)]>mt?this['toggleOffline']():(this[_0x5690ac(0x350)]=pt(this[_0x5690ac(0x113)],{'timeout':this['_resendTimeout'],'reqId':_0x34d1fb[_0x5690ac(0x1be)]}),this[_0x5690ac(0x2dd)]=this[_0x5690ac(0x350)]['subscribe'](({reqId:_0x53ba93,timeout:_0x555330})=>{var _0x3381c8=_0x5690ac;this[_0x3381c8(0x284)](_0x53ba93,_0x555330);}),this);}['toggleOffline'](){var _0x13e226=_0x387fe2;return this['_clearScheduledTask'](),this['_injector'][_0x13e226(0xbf)](exports[_0x13e226(0x260)],this['unitID'],this[_0x13e226(0x2ed)],this[_0x13e226(0x393)],[],this[_0x13e226(0x2fe)]);}[_0x387fe2(0x226)](){return this;}[_0x387fe2(0x41f)](){var _0x48c282=_0x387fe2;this['_handler'][_0x48c282(0x370)](this['_awaitingChangeset']);}[_0x387fe2(0x269)](_0x36e7a4){var _0x985d55=_0x387fe2;return this[_0x985d55(0x1ed)](),this[_0x985d55(0x285)]['createInstance'](exports[_0x985d55(0x3af)],this[_0x985d55(0x287)],this[_0x985d55(0x2ed)],this[_0x985d55(0x393)],[],this[_0x985d55(0x2fe)],_0x36e7a4);}['_resendWithTimeout'](_0x5731d9,_0xeb7133){var _0x4edc08=_0x387fe2,_0x2170ee;_0x5731d9===((_0x2170ee=this[_0x4edc08(0x393)])==null?void 0x0:_0x2170ee[_0x4edc08(0x1be)])&&(this[_0x4edc08(0x41f)](),this[_0x4edc08(0x113)]=_0xeb7133===0x0?0x3e8:_0xeb7133*0x2);}[_0x387fe2(0x1ed)](){var _0x5796ab=_0x387fe2,_0xb648c4;(_0xb648c4=this[_0x5796ab(0x2dd)])==null||_0xb648c4[_0x5796ab(0x2a0)](),this[_0x5796ab(0x113)]=0x0;}},exports[_0x387fe2(0xe2)]=oe([w(0x4,a[_0x387fe2(0x25f)](a[_0x387fe2(0x272)])),w(0x5,a[_0x387fe2(0x25f)](p[_0x387fe2(0x3e4)])),w(0x6,a[_0x387fe2(0x228)]),w(0x7,a['ILogService']),w(0x8,p[_0x387fe2(0x25b)]),w(0x9,a[_0x387fe2(0x106)]),w(0xa,a[_0x387fe2(0x209)](K))],exports[_0x387fe2(0xe2)]),exports['AwaitingWithPendingState']=class extends ae{constructor(_0x100f3a,_0x52696f,_0x5019b2,_0x3a39aa,_0x541625,_0x1e1e55,_0x114cf7,_0x50c2c2,_0xec3417,_0x4a6e1e,_0x1b9bcc,_0xce6fe2,_0xb6f2c8){var _0x3e61ad=_0x387fe2;super(_0x100f3a,_0x52696f,_0x5019b2,_0x3a39aa,_0x541625,_0xec3417,_0xce6fe2,_0x50c2c2,_0xb6f2c8),A(this,_0x3e61ad(0xe3),_0x3e61ad(0x3c1)),A(this,_0x3e61ad(0x113),0x0),A(this,_0x3e61ad(0x350)),A(this,_0x3e61ad(0x2dd)),(this[_0x3e61ad(0x285)]=_0x114cf7,this[_0x3e61ad(0x1c3)]=_0x4a6e1e,this[_0x3e61ad(0x270)]=_0x1b9bcc,this[_0x3e61ad(0x340)]=_0xb6f2c8,_0x1e1e55&&(this['_resendTimer']=_0x1e1e55,this['_sender']=this[_0x3e61ad(0x350)][_0x3e61ad(0x3a3)](({reqId:_0x551d0f,timeout:_0x2f449b})=>{this['_resendWithTimeout'](_0x551d0f,_0x2f449b);})));}[_0x387fe2(0x2b9)](_0x1d39ee){var _0x5af159=_0x387fe2;return this[_0x5af159(0x2ec)]['push'](_0x1d39ee),this;}[_0x387fe2(0x146)](_0x5ae859){var _0x22645e=_0x387fe2;if(this['_checkMissing'](_0x5ae859))return this[_0x22645e(0x1ed)](),this[_0x22645e(0x285)]['createInstance'](exports[_0x22645e(0xdd)],this[_0x22645e(0x287)],this[_0x22645e(0x2ed)],this[_0x22645e(0x393)],this[_0x22645e(0x2ec)],null,[_0x5ae859],this['_handler']);try{const _0xa755ca=this['_transformService'][_0x22645e(0xaa)]([_0x5ae859],[this['_awaitingChangeset']],!0x1);if(p[_0x22645e(0x3fa)](_0xa755ca)){const {c1Prime:_0x382588,c2Prime:_0x10e9d0}=_0xa755ca,_0x47de67=this[_0x22645e(0x270)][_0x22645e(0x127)](_0x382588[0x0],this['_pendingMutations']);if(p[_0x22645e(0x38f)](_0x47de67)){const {c1Prime:_0x390bb0,m2Prime:_0x562e26}=_0x47de67;return this['_executeRemoteChangeset'](_0x390bb0),_0x10e9d0[0x0][_0x22645e(0x1c4)]=this[_0x22645e(0x1a3)](),this[_0x22645e(0x1ed)](),this[_0x22645e(0x285)][_0x22645e(0xbf)](exports[_0x22645e(0x201)],this[_0x22645e(0x287)],this['type'],_0x10e9d0[0x0],_0x562e26,this[_0x22645e(0x2fe)],void 0x0);}throw _0x47de67[_0x22645e(0x305)];}throw _0xa755ca[_0x22645e(0x305)];}catch(_0x5e1d90){return this[_0x22645e(0x1c3)][_0x22645e(0x305)](_0x5e1d90),this[_0x22645e(0x269)](!0x1);}}['onRemoteAck'](_0x32e417){var _0x36ece5=_0x387fe2;if(this[_0x36ece5(0x1ed)](),this[_0x36ece5(0x364)](_0x32e417))return this[_0x36ece5(0x285)][_0x36ece5(0xbf)](exports['FetchingMissState'],this[_0x36ece5(0x287)],this[_0x36ece5(0x2ed)],null,this[_0x36ece5(0x2ec)],this[_0x36ece5(0x393)],[],this[_0x36ece5(0x2fe)]);this[_0x36ece5(0x1a2)]();const _0x546b4a=this[_0x36ece5(0x285)][_0x36ece5(0xbf)](exports[_0x36ece5(0x1b9)],this[_0x36ece5(0x287)],this[_0x36ece5(0x2ed)],this[_0x36ece5(0x2ec)],this[_0x36ece5(0x2fe)]);return _0x546b4a['_schedule'](),_0x546b4a[_0x36ece5(0x400)](),_0x546b4a;}[_0x387fe2(0x28e)](_0x52543e){var _0x42bc82=_0x387fe2;return this[_0x42bc82(0x269)](!!(_0x52543e!=null&&_0x52543e[_0x42bc82(0x21c)]));}[_0x387fe2(0x411)](_0x415faf){var _0x1d6458=_0x387fe2;return this[_0x1d6458(0x113)]>mt?this[_0x1d6458(0x19a)]():(this[_0x1d6458(0x350)]=pt(this[_0x1d6458(0x113)],{'timeout':this[_0x1d6458(0x113)],'reqId':_0x415faf[_0x1d6458(0x1be)]}),this['_sender']=this['_resendTimer'][_0x1d6458(0x3a3)](({reqId:_0x479ee9,timeout:_0x58a219})=>{this['_resendWithTimeout'](_0x479ee9,_0x58a219);}),this);}[_0x387fe2(0x19a)](){var _0x2c1f2d=_0x387fe2;return this[_0x2c1f2d(0x1ed)](),this[_0x2c1f2d(0x285)][_0x2c1f2d(0xbf)](exports[_0x2c1f2d(0x260)],this[_0x2c1f2d(0x287)],this[_0x2c1f2d(0x2ed)],this['_awaitingChangeset'],this[_0x2c1f2d(0x2ec)],this[_0x2c1f2d(0x2fe)]);}[_0x387fe2(0x226)](){return this;}['resend'](){var _0x14b7b8=_0x387fe2;this['_handler'][_0x14b7b8(0x370)](this['_awaitingChangeset']);}[_0x387fe2(0x269)](_0x2d04da){var _0x4d8e4e=_0x387fe2;return this['_clearScheduledTask'](),this[_0x4d8e4e(0x285)][_0x4d8e4e(0xbf)](exports[_0x4d8e4e(0x3af)],this[_0x4d8e4e(0x287)],this[_0x4d8e4e(0x2ed)],null,this['_pendingMutations'],this[_0x4d8e4e(0x2fe)],_0x2d04da);}['_resendWithTimeout'](_0x315cf0,_0x4b54ec){var _0x20cf55=_0x387fe2,_0x3c1a17;_0x315cf0===((_0x3c1a17=this[_0x20cf55(0x393)])==null?void 0x0:_0x3c1a17[_0x20cf55(0x1be)])&&(this['resend'](),this[_0x20cf55(0x113)]=_0x4b54ec===0x0?0x3e8:_0x4b54ec*0x2);}[_0x387fe2(0x1ed)](){var _0x173118=_0x387fe2,_0x33e5cf;(_0x33e5cf=this[_0x173118(0x2dd)])==null||_0x33e5cf[_0x173118(0x2a0)](),this[_0x173118(0x113)]=0x0;}},exports[_0x387fe2(0x201)]=oe([w(0x6,a[_0x387fe2(0x25f)](a[_0x387fe2(0x272)])),w(0x7,a[_0x387fe2(0x25f)](p['RevisionService'])),w(0x8,a['ICommandService']),w(0x9,a['ILogService']),w(0xa,p[_0x387fe2(0x25b)]),w(0xb,a[_0x387fe2(0x106)]),w(0xc,a[_0x387fe2(0x209)](K))],exports[_0x387fe2(0x201)]),exports[_0x387fe2(0x3af)]=class extends ae{constructor(_0x3c831f,_0x4eba84,_0x1369bb,_0x1e5214,_0x42019f,_0xcee057=!0x1,_0x106cea,_0x3a386f,_0x16fa3b,_0x231bc6,_0x2ad8b8,_0x128c5c,_0x45140a){var _0x2914bb=_0x387fe2;super(_0x3c831f,_0x4eba84,_0x1369bb,_0x1e5214,_0x42019f,_0x3a386f,_0x16fa3b,_0x231bc6,_0x45140a),A(this,'status',_0x2914bb(0x204)),(this[_0x2914bb(0x37b)]=_0xcee057,this[_0x2914bb(0x3dc)]=_0x106cea,this[_0x2914bb(0x36f)]=_0x2ad8b8,this[_0x2914bb(0x2e8)]=_0x128c5c,this['localCacheService']=_0x45140a,this[_0x2914bb(0x191)](),this['_clearLocalCache'](),this[_0x2914bb(0x362)]());}[_0x387fe2(0x2b9)](){return this;}[_0x387fe2(0x146)](){return this;}[_0x387fe2(0xb5)](){return this;}[_0x387fe2(0x28e)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x387fe2(0x226)](){return this;}[_0x387fe2(0x41f)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x387fe2(0x3e0)](){var _0xdfff91=_0x387fe2,_0x34b2cc;(_0x34b2cc=this[_0xdfff91(0x413)])==null||_0x34b2cc[_0xdfff91(0x192)](this[_0xdfff91(0x287)],this[_0xdfff91(0x2ed)],null,[]);}[_0x387fe2(0x191)](){var _0x46f2b3=_0x387fe2;this['_isPermissionRej']?this[_0x46f2b3(0x2e8)][_0x46f2b3(0x3ea)]({'id':Z[_0x46f2b3(0x324)]}):this['_collaborationUIEventService'][_0x46f2b3(0x3ea)]({'id':Z[_0x46f2b3(0x3f9)]});}[_0x387fe2(0x362)](){var _0xc5a531=_0x387fe2;this[_0xc5a531(0x3dc)][_0xc5a531(0x21a)](new X[(_0xc5a531(0x2f1))](this[_0xc5a531(0x287)])['id'],!0x1);}},exports['ConflictState']=oe([w(0x6,a[_0x387fe2(0x25f)](a['IPermissionService'])),w(0x7,a[_0x387fe2(0x228)]),w(0x8,a['IUndoRedoService']),w(0x9,a['Inject'](p[_0x387fe2(0x3e4)])),w(0xa,a[_0x387fe2(0x25f)](a[_0x387fe2(0x349)])),w(0xb,a[_0x387fe2(0x25f)](ee)),w(0xc,a[_0x387fe2(0x209)](K))],exports['ConflictState']),exports[_0x387fe2(0x260)]=class extends ae{constructor(_0x56d29a,_0x915eca,_0x4e71b0,_0xceac70,_0x18c908,_0x2a8f61,_0x549b26,_0x11b501,_0xcae630,_0x1f45c3){var _0x1c87e7=_0x387fe2;super(_0x56d29a,_0x915eca,_0x4e71b0,_0xceac70,_0x18c908,_0x11b501,_0xcae630,_0x549b26,_0x1f45c3),A(this,_0x1c87e7(0xe3),_0x1c87e7(0x302)),this[_0x1c87e7(0x285)]=_0x2a8f61;}[_0x387fe2(0x2b9)](_0x303991){var _0x5b3a88=_0x387fe2;return this[_0x5b3a88(0x2ec)][_0x5b3a88(0x2a6)](_0x303991),this[_0x5b3a88(0x400)](),this;}['onRemoteChangeset'](_0x985ddc){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x387fe2(0xb5)](){var _0x59b03b=_0x387fe2;throw new Error(_0x59b03b(0x3a9));}[_0x387fe2(0x28e)](){var _0x20c20f=_0x387fe2;throw new Error(_0x20c20f(0x3fd));}[_0x387fe2(0x411)](){return this;}[_0x387fe2(0x19a)](){return this;}['toggleOnline'](){var _0x5d69d1=_0x387fe2;const {_injector:_0x28fd8c,_pendingMutations:_0x1c7423,_awaitingChangeset:_0x13828f,unitID:_0x34d05c,_handler:_0x210727,type:_0x3797cd}=this,_0x2f42cc=gt(_0x28fd8c,_0x34d05c,_0x3797cd,_0x13828f,_0x1c7423,_0x210727);return _0x2f42cc instanceof exports[_0x5d69d1(0x1b9)]?_0x2f42cc['_schedule']():(_0x2f42cc instanceof exports['AwaitingWithPendingState']||_0x2f42cc instanceof exports[_0x5d69d1(0xe2)])&&_0x2f42cc[_0x5d69d1(0x41f)](),_0x2f42cc;}[_0x387fe2(0x41f)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0x387fe2(0x260)]=oe([w(0x5,a['Inject'](a[_0x387fe2(0x272)])),w(0x6,a['Inject'](p[_0x387fe2(0x3e4)])),w(0x7,a[_0x387fe2(0x228)]),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x387fe2(0x209)](K))],exports[_0x387fe2(0x260)]),exports[_0x387fe2(0xdd)]=class extends ae{constructor(_0x227df9,_0x4bf41c,_0x1f7061,_0x52b9a4,_0x4f7f8,_0x381aa5,_0x56186e,_0x193869,_0x4e02af,_0x4f1396,_0x496be5,_0x57a353,_0x708483,_0xe35b40){var _0x57798a=_0x387fe2;super(_0x227df9,_0x4bf41c,_0x1f7061,_0x52b9a4,_0x56186e,_0x496be5,_0x57a353,_0x4e02af,_0xe35b40),A(this,'status',_0x57798a(0x352)),(this[_0x57798a(0x16f)]=_0x4f7f8,this[_0x57798a(0x1f8)]=_0x381aa5,this[_0x57798a(0x285)]=_0x193869,this[_0x57798a(0x1c3)]=_0x4f1396,this[_0x57798a(0x270)]=_0x708483,this[_0x57798a(0x340)]=_0xe35b40);}[_0x387fe2(0x2fb)](_0x2a204e){var _0x596d72=_0x387fe2;try{const _0x1126c7=[..._0x2a204e,...this[_0x596d72(0x1f8)]],_0x3814e2=[this[_0x596d72(0x393)]||this[_0x596d72(0x16f)]]['filter'](_0x151dcd=>!!_0x151dcd);let _0x5ee024,_0x1c6a00;if(_0x3814e2['length']){const _0x244dc6=this['_transformService']['transformChangesets'](_0x1126c7,_0x3814e2,!0x1);if(!p['isTransformChangesetsSuccess'](_0x244dc6))throw _0x244dc6['error'];_0x5ee024=_0x244dc6[_0x596d72(0x37e)],_0x1c6a00=_0x244dc6[_0x596d72(0x17f)];}else _0x5ee024=_0x1126c7,_0x1c6a00=[];let _0x33a03c=this['_pendingMutations'];_0x5ee024[_0x596d72(0x138)](_0x5658df=>{var _0x16f05d=_0x596d72;let _0x4edad0;if(_0x33a03c['length']){const _0x3993a1=this[_0x16f05d(0x270)][_0x16f05d(0x127)](_0x5658df,_0x33a03c);if(!p['isTransformMutationsWithChangesetSuccess'](_0x3993a1))throw _0x3993a1[_0x16f05d(0x305)];_0x4edad0=_0x3993a1[_0x16f05d(0x37e)],_0x33a03c=_0x3993a1[_0x16f05d(0x2e0)];}else _0x4edad0=_0x5658df;this['_executeRemoteChangeset'](_0x4edad0);}),this['_acknowledgedAwaitingChangeset']&&this[_0x596d72(0x1a2)](),this[_0x596d72(0x393)]&&_0x1c6a00[_0x596d72(0x2b4)]&&(_0x1c6a00[0x0][_0x596d72(0x1c4)]=this['_getCurrentRevision']());let _0x2d9cfa;if(this[_0x596d72(0x393)]&&_0x33a03c[_0x596d72(0x2b4)]!==0x0)_0x2d9cfa=this[_0x596d72(0x285)]['createInstance'](exports[_0x596d72(0x201)],this['unitID'],this[_0x596d72(0x2ed)],_0x1c6a00[0x0],_0x33a03c,this['_handler'],void 0x0);else{if(this[_0x596d72(0x393)]&&_0x33a03c[_0x596d72(0x2b4)]===0x0)_0x1c6a00[0x0][_0x596d72(0x1c4)]=this[_0x596d72(0x1a3)](),_0x2d9cfa=this[_0x596d72(0x285)][_0x596d72(0xbf)](exports[_0x596d72(0xe2)],this[_0x596d72(0x287)],this[_0x596d72(0x2ed)],_0x1c6a00[0x0],this[_0x596d72(0x2fe)]);else{if(_0x33a03c[_0x596d72(0x2b4)]!==0x0){const _0x1fab42=this['_injector']['createInstance'](exports[_0x596d72(0x1b9)],this[_0x596d72(0x287)],this['type'],_0x33a03c,this[_0x596d72(0x2fe)]);_0x1fab42['_schedule'](),_0x2d9cfa=_0x1fab42;}else _0x2d9cfa=this[_0x596d72(0x285)][_0x596d72(0xbf)](exports['SyncedState'],this['unitID'],this['type'],this[_0x596d72(0x2fe)]);}}return _0x2d9cfa[_0x596d72(0x400)](),_0x2d9cfa;}catch(_0x2c1799){return this[_0x596d72(0x1c3)][_0x596d72(0x305)](_0x596d72(0x149),_0x596d72(0x402),_0x2c1799),this[_0x596d72(0x285)][_0x596d72(0xbf)](exports[_0x596d72(0x3af)],this['unitID'],this[_0x596d72(0x2ed)],this[_0x596d72(0x393)],this['_pendingMutations'],this[_0x596d72(0x2fe)],!0x1);}}[_0x387fe2(0x41f)](){var _0x349793=_0x387fe2;throw new Error(_0x349793(0x257));}['appendMutation'](_0x516111){var _0x3e0895=_0x387fe2;return this['_pendingMutations'][_0x3e0895(0x2a6)](_0x516111),this;}['onRemoteChangeset'](_0x2e0ed7){var _0x15bd6b=_0x387fe2;return this[_0x15bd6b(0x1f8)][_0x15bd6b(0x2a6)](_0x2e0ed7),this;}['onRemoteAck'](_0x447ddb){var _0xebf3ca=_0x387fe2;if(this[_0xebf3ca(0x393)])return this[_0xebf3ca(0x16f)]=this[_0xebf3ca(0x393)],this[_0xebf3ca(0x393)]=null,this;throw new Error(_0xebf3ca(0x263));}[_0x387fe2(0x28e)](_0x112569){var _0x501e81=_0x387fe2;return this[_0x501e81(0x269)](!!(_0x112569!=null&&_0x112569[_0x501e81(0x21c)]));}[_0x387fe2(0x411)](){return this;}['toggleOffline'](){var _0x5da7fc=_0x387fe2;return this[_0x5da7fc(0x285)][_0x5da7fc(0xbf)](exports['OfflineState'],this[_0x5da7fc(0x287)],this[_0x5da7fc(0x2ed)],this[_0x5da7fc(0x393)],this[_0x5da7fc(0x2ec)],this[_0x5da7fc(0x2fe)]);}[_0x387fe2(0x226)](){return this;}[_0x387fe2(0x269)](_0x8d1a3b){var _0x15307a=_0x387fe2;return this[_0x15307a(0x285)][_0x15307a(0xbf)](exports[_0x15307a(0x3af)],this[_0x15307a(0x287)],this[_0x15307a(0x2ed)],this[_0x15307a(0x393)],this[_0x15307a(0x2ec)],this[_0x15307a(0x2fe)],_0x8d1a3b);}},exports['FetchingMissState']=oe([w(0x7,a[_0x387fe2(0x25f)](a[_0x387fe2(0x272)])),w(0x8,a[_0x387fe2(0x25f)](p[_0x387fe2(0x3e4)])),w(0x9,a[_0x387fe2(0x2d9)]),w(0xa,a[_0x387fe2(0x228)]),w(0xb,a[_0x387fe2(0x106)]),w(0xc,p[_0x387fe2(0x25b)]),w(0xd,a['Optional'](K))],exports[_0x387fe2(0xdd)]);function gt(_0x345225,_0x502df1,_0x1ed007,_0x332cf4,_0x2abdcc,_0x1b6193){var _0x1f4e7c=_0x387fe2;return _0x332cf4&&_0x2abdcc[_0x1f4e7c(0x2b4)]?_0x345225[_0x1f4e7c(0xbf)](exports['AwaitingWithPendingState'],_0x502df1,_0x1ed007,_0x332cf4,_0x2abdcc,_0x1b6193,void 0x0):_0x332cf4?_0x345225[_0x1f4e7c(0xbf)](exports[_0x1f4e7c(0xe2)],_0x502df1,_0x1ed007,_0x332cf4,_0x1b6193):_0x2abdcc[_0x1f4e7c(0x2b4)]?_0x345225['createInstance'](exports[_0x1f4e7c(0x1b9)],_0x502df1,_0x1ed007,_0x2abdcc,_0x1b6193):_0x345225[_0x1f4e7c(0xbf)](exports[_0x1f4e7c(0x311)],_0x502df1,_0x1ed007,_0x1b6193);}var ci=Object[_0x387fe2(0xff)],Fe=(_0xab7ff7,_0x16d61d,_0x13b5fb,_0x12ac77)=>{for(var _0x41ed02=_0x12ac77>0x1?void 0x0:_0x12ac77?ci(_0x16d61d,_0x13b5fb):_0x16d61d,_0x5c7b21=_0xab7ff7['length']-0x1,_0x1ca987;_0x5c7b21>=0x0;_0x5c7b21--)(_0x1ca987=_0xab7ff7[_0x5c7b21])&&(_0x41ed02=_0x1ca987(_0x41ed02)||_0x41ed02);return _0x41ed02;},j=(_0x1138ad,_0x1ba115)=>(_0x15f3fa,_0x1958eb)=>_0x1ba115(_0x15f3fa,_0x1958eb,_0x1138ad);exports[_0x387fe2(0x3c6)]=class extends a[_0x387fe2(0x41a)]{constructor(_0x56bfc5,_0x2e1f89,_0x1957b7,_0xd85c7d,_0x5bc501,_0x1c37ac,_0x11d068,_0x3d5024,_0x1f0399,_0x53863f,_0x2ccfc6,_0x583a92,_0x2220ff){var _0x55c47f=_0x387fe2;super(),A(this,_0x55c47f(0x3db),new H[(_0x55c47f(0x2bf))](null)),A(this,_0x55c47f(0x157),this[_0x55c47f(0x3db)][_0x55c47f(0x37f)]()),A(this,_0x55c47f(0xa6)),A(this,_0x55c47f(0x1da),!0x1),A(this,_0x55c47f(0x1a0),''),A(this,_0x55c47f(0x32c),0x0),A(this,_0x55c47f(0x14f),this[_0x55c47f(0x157)][_0x55c47f(0x3cd)](H[_0x55c47f(0xf0)](_0x29fe4f=>_0x29fe4f?_0x29fe4f[_0x55c47f(0xe3)]:Be[_0x55c47f(0x193)]),H[_0x55c47f(0x2d6)](0x1))),A(this,_0x55c47f(0x307),!0x1),A(this,_0x55c47f(0x117),[]),(this['unitID']=_0x56bfc5,this['session']=_0x2e1f89,this[_0x55c47f(0x1d7)]=_0x1957b7,this['_injector']=_0xd85c7d,this[_0x55c47f(0xce)]=_0x5bc501,this['_localeService']=_0x1c37ac,this['_revisionService']=_0x11d068,this[_0x55c47f(0x415)]=_0x3d5024,this[_0x55c47f(0x1c3)]=_0x1f0399,this[_0x55c47f(0x17c)]=_0x53863f,this[_0x55c47f(0x3dc)]=_0x2ccfc6,this[_0x55c47f(0xbd)]=_0x583a92,this[_0x55c47f(0x413)]=_0x2220ff);}get[_0x387fe2(0x417)](){var _0x5858a1=_0x387fe2;return this[_0x5858a1(0xa6)];}async[_0x387fe2(0x22e)](){var _0x4fb7df=_0x387fe2;if(this['state'])throw new Error(_0x4fb7df(0x3ce));await this[_0x4fb7df(0x30b)]();}[_0x387fe2(0x37a)](){var _0x378351=_0x387fe2;return this['_collaborationPaused']=!0x0,a[_0x378351(0x2df)](()=>{var _0x312079=_0x378351;this[_0x312079(0x1da)]=!0x1,this[_0x312079(0xe0)]();});}[_0x387fe2(0x3f8)](_0x147b15){var _0x220906=_0x387fe2;this[_0x220906(0x233)](_0x147b15);}[_0x387fe2(0xe4)](_0x50446a){var _0x27807d=_0x387fe2;this[_0x27807d(0xa6)]=_0x50446a,this['_state$'][_0x27807d(0x1dc)](_0x50446a);}async['_init'](){var _0xc76698=_0x387fe2,_0x1615e5;this[_0xc76698(0xe4)](await this[_0xc76698(0x288)]()),this['_singleActiveUnitService']&&((_0x1615e5=this[_0xc76698(0xbd)])==null||_0x1615e5[_0xc76698(0x2c7)](this[_0xc76698(0x287)]),this[_0xc76698(0xbc)](this[_0xc76698(0xbd)]['getUnitStatus$'](this[_0xc76698(0x287)])[_0xc76698(0x3a3)](_0x529e9e=>{var _0x2e3036=_0xc76698;this[_0x2e3036(0x1c3)]['debug'](_0x2e3036(0x2a1),'editing\x20status\x20changed\x20to',_0x529e9e),_0x529e9e===je['OTHER_CLIENTS_EDITING']?(this[_0x2e3036(0x415)][_0x2e3036(0x3ea)]({'id':Z[_0x2e3036(0x1ad)]}),this[_0x2e3036(0x3dc)][_0x2e3036(0x21a)](new X[(_0x2e3036(0x2f1))](this[_0x2e3036(0x287)])['id'],!0x1),this[_0x2e3036(0x3dc)][_0x2e3036(0x344)](!0x1)):(this[_0x2e3036(0x3dc)][_0x2e3036(0x21a)](new X[(_0x2e3036(0x2f1))](this[_0x2e3036(0x287)])['id'],!0x0),this[_0x2e3036(0x3dc)][_0x2e3036(0x344)](!0x0));})));let _0x215569=!0x1;return this['disposeWithMe'](this[_0xc76698(0xf9)][_0xc76698(0xaf)][_0xc76698(0x3a3)](_0x35be35=>{var _0x146770=_0xc76698;_0x35be35===re['ONLINE']?this[_0x146770(0xb2)](_0x215569):_0x35be35===re[_0x146770(0x193)]&&(_0x215569=!0x0,this[_0x146770(0x381)]());})),this[_0xc76698(0xbc)](this[_0xc76698(0xf9)]['event$'][_0xc76698(0x3a3)](_0x1b616c=>{var _0x3106d5=_0xc76698;try{switch(_0x1b616c['eventID']){case p[_0x3106d5(0x184)][_0x3106d5(0x245)]:{this[_0x3106d5(0x3b7)](p[_0x3106d5(0x1bb)](_0x1b616c[_0x3106d5(0xa4)]));break;}case p[_0x3106d5(0x184)][_0x3106d5(0x211)]:{this[_0x3106d5(0x118)](_0x1b616c[_0x3106d5(0xa4)]);break;}case p['CollaborationEvent'][_0x3106d5(0x410)]:{this[_0x3106d5(0x27c)]();break;}case p[_0x3106d5(0x184)]['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x1b616c[_0x3106d5(0xa4)]);break;}case p[_0x3106d5(0x184)][_0x3106d5(0x213)]:{this[_0x3106d5(0x379)](_0x1b616c[_0x3106d5(0xa4)][_0x3106d5(0x181)][_0x3106d5(0xf0)](_0xbe6aa8=>p[_0x3106d5(0x1bb)](_0xbe6aa8)));break;}case p['CollaborationEvent'][_0x3106d5(0x337)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case p[_0x3106d5(0x184)]['UNISCRIPT_RUN']:break;}}catch(_0x557072){throw console['error'](_0x3106d5(0x15a),_0x557072),_0x557072;}})),this['_state'];}[_0x387fe2(0x374)](){var _0x3837ad=_0x387fe2;this[_0x3837ad(0x307)]=!0x1;}[_0x387fe2(0x35e)](){var _0x43a39e=_0x387fe2;if(this['_transitionLocked'])throw new Error(_0x43a39e(0x136));this[_0x43a39e(0x307)]=!0x0;}[_0x387fe2(0x233)](_0x233726){var _0x1ef211=_0x387fe2;this[_0x1ef211(0x35e)](),this['_updateState'](this[_0x1ef211(0xa6)]['appendMutation'](_0x233726)),this[_0x1ef211(0x374)]();}['_onRemoteChangeset'](_0x3e6d92){var _0xb4d677=_0x387fe2;if(!(_0x3e6d92[_0xb4d677(0x185)]<=this[_0xb4d677(0x405)][_0xb4d677(0x422)](this['unitID']))){if(this[_0xb4d677(0x1da)]){this['_remoteChangesetQueue'][_0xb4d677(0x2a6)](_0x3e6d92);return;}this[_0xb4d677(0x41d)](_0x3e6d92);}}['_exhaustRemoteChangesetQueue'](){var _0x59a1ea=_0x387fe2;this[_0x59a1ea(0x117)][_0x59a1ea(0x138)](_0x1a641d=>this[_0x59a1ea(0x41d)](_0x1a641d)),this[_0x59a1ea(0x117)]=[];}[_0x387fe2(0x41d)](_0x2257d6){var _0x1d5c5b=_0x387fe2;const _0x388d4e=this['_compressMutationService']['interceptor'][_0x1d5c5b(0x412)](this[_0x1d5c5b(0xce)]['interceptor']['getInterceptPoints']()[_0x1d5c5b(0x227)])(_0x2257d6['mutations'],null)||_0x2257d6['mutations'],_0x4e044f={..._0x2257d6,'mutations':_0x388d4e};this[_0x1d5c5b(0x35e)](),this[_0x1d5c5b(0xe4)](this[_0x1d5c5b(0xa6)]['onRemoteChangeset'](_0x4e044f)),this[_0x1d5c5b(0x374)]();}['_onRemoteACK'](_0x4b19ea){var _0x496b5f=_0x387fe2;this[_0x496b5f(0x35e)](),this[_0x496b5f(0xe4)](this['_state']['onRemoteAck'](_0x4b19ea)),this[_0x496b5f(0x374)]();}[_0x387fe2(0x27c)](_0x547315){var _0x36c188=_0x387fe2;this[_0x36c188(0x35e)](),this[_0x36c188(0xe4)](this[_0x36c188(0xa6)][_0x36c188(0x28e)](_0x547315)),this[_0x36c188(0x374)]();}[_0x387fe2(0x15d)](_0x548f81){var _0xb379e0=_0x387fe2;this[_0xb379e0(0x35e)](),this[_0xb379e0(0xe4)](this[_0xb379e0(0xa6)][_0xb379e0(0x411)](_0x548f81)),this[_0xb379e0(0x374)]();}[_0x387fe2(0x379)](_0x1383c3){var _0x3d2d37=_0x387fe2;if(!(this[_0x3d2d37(0xa6)]instanceof exports[_0x3d2d37(0xdd)]))throw new TypeError(_0x3d2d37(0x121));const _0x5a4eb6=_0x1383c3[_0x3d2d37(0xf0)](_0x592ec4=>{var _0x4500f2=_0x3d2d37;const _0x2ad55f=this[_0x4500f2(0xce)][_0x4500f2(0x274)][_0x4500f2(0x412)](this[_0x4500f2(0xce)][_0x4500f2(0x274)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x592ec4[_0x4500f2(0x172)],null)||_0x592ec4[_0x4500f2(0x172)];return{..._0x592ec4,'mutations':_0x2ad55f};});this['_lockTransition'](),this[_0x3d2d37(0xe4)](this[_0x3d2d37(0xa6)][_0x3d2d37(0x2fb)](_0x5a4eb6)),this[_0x3d2d37(0x374)]();}['_toggleOffline'](){var _0x310058=_0x387fe2;this[_0x310058(0x35e)](),this['_updateState'](this['_state'][_0x310058(0x19a)]()),this[_0x310058(0x374)]();}[_0x387fe2(0xb2)](_0x6723ec=!0x1){var _0x1fd8d7=_0x387fe2;this[_0x1fd8d7(0x35e)](),this['_updateState'](this[_0x1fd8d7(0xa6)][_0x1fd8d7(0x226)]()),this['_unlockTransition']();const _0x407943=this['_state'];_0x6723ec&&_0x407943 instanceof exports['SyncedState']&&(this[_0x1fd8d7(0x35e)](),this[_0x1fd8d7(0xe4)](_0x407943[_0x1fd8d7(0x35d)]()),this[_0x1fd8d7(0x374)]());}async[_0x387fe2(0x288)](){return new Promise(_0x396c79=>{var _0x3ea263=_0x2609;this[_0x3ea263(0xf9)][_0x3ea263(0xaf)][_0x3ea263(0x3cd)](H[_0x3ea263(0x23d)](0x1))[_0x3ea263(0x3a3)](async _0x451f73=>{var _0x189a28=_0x3ea263;_0x396c79(await this['_createInitialStateImpl'](_0x451f73===re[_0x189a28(0x26f)]));});});}[_0x387fe2(0x292)](){const _0x55d1f7=this['unitID'];return{'onStateChange':(_0x5edf81,_0x66ea4e)=>{var _0x5a02c2=_0x2609;if(_0x5edf81!==this[_0x5a02c2(0xa6)])throw new Error(_0x5a02c2(0x3bc)+_0x5edf81[_0x5a02c2(0xe3)]+_0x5a02c2(0x18e)+_0x66ea4e[_0x5a02c2(0xe3)]+_0x5a02c2(0x21b)+this[_0x5a02c2(0xa6)]['status']);this['_updateState'](_0x66ea4e);},'onSendChangeset':_0x2d0c50=>{var _0x595d82=_0x2609;_0x2d0c50[_0x595d82(0x386)]||(_0x2d0c50[_0x595d82(0x386)]=this[_0x595d82(0x1a0)],_0x2d0c50['reqId']=++this[_0x595d82(0x32c)]);const _0x486457={'eventID':p[_0x595d82(0x184)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x2d0c50[_0x595d82(0x287)],'unitType':this['_type'],'changeset':_0x2d0c50,'memberID':this[_0x595d82(0xf9)][_0x595d82(0x2b0)]()}};this[_0x595d82(0xf9)]['send'](_0x486457,this[_0x595d82(0x287)]);},'onMissingChangesets':({from:_0x5ad28a,to:_0x5ee73e})=>{var _0x4c1365=_0x2609;this[_0x4c1365(0x1c3)][_0x4c1365(0x278)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x5ad28a+_0x4c1365(0x161)+_0x5ee73e);const _0x5658cf={'eventID':p[_0x4c1365(0x184)][_0x4c1365(0x1db)],'data':{'unitID':_0x55d1f7,'unitType':this[_0x4c1365(0x1d7)],'from':_0x5ad28a,'to':_0x5ee73e}};this['session'][_0x4c1365(0x34b)](_0x5658cf,this[_0x4c1365(0x287)]);}};}async[_0x387fe2(0x164)](_0x71a4d3){var _0x5b801c=_0x387fe2,_0x66f389,_0x977c4f,_0x29dcf4;const _0xf2083=await((_0x66f389=this['_localCacheService'])==null?void 0x0:_0x66f389[_0x5b801c(0x3e9)](this[_0x5b801c(0x287)])),_0x3d8803=(_0x977c4f=_0xf2083==null?void 0x0:_0xf2083[_0x5b801c(0x172)])!=null?_0x977c4f:[],_0x101d42=(_0x29dcf4=_0xf2083==null?void 0x0:_0xf2083[_0x5b801c(0x160)])!=null?_0x29dcf4:null,_0x48617a=!!(_0x101d42!=null&&_0x101d42[_0x5b801c(0x386)])&&!!(_0x101d42!=null&&_0x101d42[_0x5b801c(0x1be)]);this[_0x5b801c(0x1a0)]=_0x48617a?_0x101d42[_0x5b801c(0x386)]:p['uuidv4'](),this[_0x5b801c(0x32c)]=_0x48617a?_0x101d42[_0x5b801c(0x1be)]:0x0;const _0x1cd463=this[_0x5b801c(0x287)];try{this[_0x5b801c(0x1d5)](_0x101d42,_0x3d8803);}catch(_0x2719cb){this['_logService'][_0x5b801c(0x305)](_0x2719cb);}const _0x316c0b=this['_createHandler']();if(_0x71a4d3){const _0x15b4a5=gt(this['_injector'],_0x1cd463,this[_0x5b801c(0x1d7)],_0x101d42,_0x3d8803,_0x316c0b);return _0x15b4a5 instanceof exports[_0x5b801c(0x1b9)]?_0x15b4a5[_0x5b801c(0x3e5)]():(_0x15b4a5 instanceof exports['AwaitingWithPendingState']||_0x15b4a5 instanceof exports[_0x5b801c(0xe2)])&&_0x15b4a5[_0x5b801c(0x41f)](),_0x15b4a5;}return this['_injector'][_0x5b801c(0xbf)](exports['OfflineState'],_0x1cd463,this['_type'],_0x101d42,_0x3d8803,_0x316c0b);}[_0x387fe2(0x1d5)](_0x278670,_0x6f55f6){var _0x3e7939=_0x387fe2,_0x2f6ed4,_0x872bf5;const _0x57afda=this[_0x3e7939(0xce)][_0x3e7939(0x274)][_0x3e7939(0x412)](this[_0x3e7939(0xce)]['interceptor'][_0x3e7939(0x3f0)]()['COMPRESS_MUTATION_APPLY']);(_0x2f6ed4=_0x57afda((_0x278670==null?void 0x0:_0x278670['mutations'])||[],null))==null||_0x2f6ed4[_0x3e7939(0x138)](_0x2bb8d7=>this[_0x3e7939(0x17c)][_0x3e7939(0x154)](_0x2bb8d7['id'],_0x2bb8d7[_0x3e7939(0x3bf)])),(_0x872bf5=_0x57afda(_0x6f55f6||[],null))==null||_0x872bf5[_0x3e7939(0x138)](_0x282850=>this[_0x3e7939(0x17c)][_0x3e7939(0x154)](_0x282850['id'],_0x282850[_0x3e7939(0x3bf)]));}},exports['CollaborationEntity']=Fe([j(0x3,a[_0x387fe2(0x25f)](a[_0x387fe2(0x272)])),j(0x4,a[_0x387fe2(0x25f)](p[_0x387fe2(0x265)])),j(0x5,a[_0x387fe2(0x25f)](a[_0x387fe2(0x349)])),j(0x6,a[_0x387fe2(0x25f)](p[_0x387fe2(0x3e4)])),j(0x7,a[_0x387fe2(0x25f)](ee)),j(0x8,a[_0x387fe2(0x2d9)]),j(0x9,a['ICommandService']),j(0xa,a['IPermissionService']),j(0xb,a[_0x387fe2(0x209)](de)),j(0xc,a['Optional'](K))],exports[_0x387fe2(0x3c6)]),exports[_0x387fe2(0x1a6)]=class extends exports[_0x387fe2(0x3c6)]{constructor(_0x159b5a,_0x3893a0,_0x4091d,_0x56d60d,_0x229b59,_0x2de426,_0x480a63,_0x40560b,_0x4f98f0,_0x10cf11,_0x2a3185,_0x9febd5,_0x138663){var _0xdbfb69=_0x387fe2;super(_0x159b5a,_0x4091d,_0x3893a0,_0x56d60d,_0x229b59,_0x2de426,_0x480a63,_0x40560b,_0x4f98f0,_0x10cf11,_0x2a3185,_0x9febd5,_0x138663),A(this,_0xdbfb69(0x3d0),null),(this[_0xdbfb69(0x287)]=_0x159b5a,this[_0xdbfb69(0x2ed)]=_0x3893a0);}['addHandlerCallback'](_0x19e98e){this['_handlerCallback']=_0x19e98e;}[_0x387fe2(0x32a)](){var _0x253bc5=_0x387fe2;this[_0x253bc5(0x3d0)]=null,super[_0x253bc5(0x32a)]();}[_0x387fe2(0x292)](){var _0x562691=_0x387fe2;const _0x9d5c4e=super['_createHandler']();return _0x9d5c4e['onTransformIME']=_0x5de223=>{var _0x5dbecf=_0x2609,_0x57ee57,_0x327bba;return(_0x327bba=(_0x57ee57=this[_0x5dbecf(0x3d0)])==null?void 0x0:_0x57ee57['onTransformIME'])==null?void 0x0:_0x327bba[_0x5dbecf(0x239)](_0x57ee57,_0x5de223);},_0x9d5c4e['onTransformState']=_0x39d53c=>{var _0x1de72b=_0x2609,_0x221e16,_0x5d69e8;return(_0x5d69e8=(_0x221e16=this[_0x1de72b(0x3d0)])==null?void 0x0:_0x221e16[_0x1de72b(0x32d)])==null?void 0x0:_0x5d69e8[_0x1de72b(0x239)](_0x221e16,_0x39d53c);},_0x9d5c4e[_0x562691(0x31e)]=_0x5f5dc2=>{var _0x5377b1=_0x562691,_0x4d0ef4,_0x543533;return(_0x543533=(_0x4d0ef4=this[_0x5377b1(0x3d0)])==null?void 0x0:_0x4d0ef4[_0x5377b1(0x31e)])==null?void 0x0:_0x543533[_0x5377b1(0x239)](_0x4d0ef4,_0x5f5dc2);},_0x9d5c4e[_0x562691(0x3b5)]=_0x5582a9=>{var _0x2ff114=_0x562691,_0x40c556,_0x2b042e;return(_0x2b042e=(_0x40c556=this[_0x2ff114(0x3d0)])==null?void 0x0:_0x40c556[_0x2ff114(0x3b5)])==null?void 0x0:_0x2b042e[_0x2ff114(0x239)](_0x40c556,_0x5582a9);},_0x9d5c4e[_0x562691(0x25d)]=_0x498abc=>{var _0xe5fced=_0x562691,_0x4fb5a0,_0x50c1db,_0x47f77a;if(!((_0x4fb5a0=this[_0xe5fced(0x3d0)])!=null&&_0x4fb5a0[_0xe5fced(0x25d)]))throw new Error(_0xe5fced(0x143));return(_0x47f77a=(_0x50c1db=this[_0xe5fced(0x3d0)])==null?void 0x0:_0x50c1db[_0xe5fced(0x25d)])==null?void 0x0:_0x47f77a[_0xe5fced(0x239)](_0x50c1db,_0x498abc);},_0x9d5c4e['onTransformRemoteChangesetByStateCache']=_0x3bf945=>{var _0x5c5665=_0x562691,_0x14890c,_0x19341b,_0x3506a0;if(!((_0x14890c=this[_0x5c5665(0x3d0)])!=null&&_0x14890c[_0x5c5665(0x2ff)]))throw new Error(_0x5c5665(0x315));return(_0x3506a0=(_0x19341b=this[_0x5c5665(0x3d0)])==null?void 0x0:_0x19341b[_0x5c5665(0x2ff)])==null?void 0x0:_0x3506a0[_0x5c5665(0x239)](_0x19341b,_0x3bf945);},_0x9d5c4e;}async['_init'](){var _0x5f47ac=_0x387fe2;const _0x2a4dd1=await super['_init']();return this[_0x5f47ac(0xbc)](this[_0x5f47ac(0x17c)][_0x5f47ac(0x2de)]((_0x12d47c,_0x437e2f)=>{var _0x432635=_0x5f47ac;if(_0x12d47c[_0x432635(0x2ed)]!==a[_0x432635(0x15b)]['MUTATION']||_0x437e2f!=null&&_0x437e2f[_0x432635(0x35a)]||_0x437e2f!=null&&_0x437e2f[_0x432635(0x2ce)]||_0x12d47c['id']===ct[_0x432635(0x3ed)]['id'])return;const _0xd4ed6f=_0x12d47c[_0x432635(0x3bf)];if((_0xd4ed6f==null?void 0x0:_0xd4ed6f['unitId'])!==this[_0x432635(0x287)])return;const _0x36a1d8=_0x12d47c,_0x1447a9=this[_0x432635(0xce)]['interceptor'][_0x432635(0x412)](this['_compressMutationService'][_0x432635(0x274)][_0x432635(0x3f0)]()[_0x432635(0x112)])([_0x36a1d8],null)||[_0x36a1d8];this['_onLocalMutation'](_0x1447a9[0x0]);})),_0x2a4dd1;}},exports['DocCollaborationEntity']=Fe([j(0x3,a[_0x387fe2(0x25f)](a[_0x387fe2(0x272)])),j(0x4,a[_0x387fe2(0x25f)](p['CompressMutationService'])),j(0x5,a[_0x387fe2(0x25f)](a[_0x387fe2(0x349)])),j(0x6,a[_0x387fe2(0x25f)](p[_0x387fe2(0x3e4)])),j(0x7,a[_0x387fe2(0x25f)](ee)),j(0x8,a[_0x387fe2(0x2d9)]),j(0x9,a['ICommandService']),j(0xa,a[_0x387fe2(0xdf)]),j(0xb,a[_0x387fe2(0x209)](de)),j(0xc,a[_0x387fe2(0x209)](K))],exports[_0x387fe2(0x1a6)]),exports['SheetCollaborationEntity']=class extends exports[_0x387fe2(0x3c6)]{constructor(_0x5956e5,_0x3698cd,_0x48feff,_0x1a1a03,_0x687a23,_0x4f78ba,_0x110818,_0xad2223,_0x36647c,_0x5e5d28,_0x44c73f,_0x36638d,_0x3f3468,_0x4a0c94){var _0xe775b8=_0x387fe2;super(_0x5956e5,_0x48feff,_0x3698cd,_0x1a1a03,_0x687a23,_0x4f78ba,_0x110818,_0x36647c,_0x5e5d28,_0x44c73f,_0x36638d,_0x3f3468,_0x4a0c94),this[_0xe775b8(0x287)]=_0x5956e5,this['type']=_0x3698cd,this[_0xe775b8(0x1d4)]=_0xad2223;}[_0x387fe2(0x292)](){var _0x539458=_0x387fe2;const _0x32db21=super[_0x539458(0x292)]();return _0x32db21[_0x539458(0x31e)]=_0x151b1e=>this[_0x539458(0x1d4)][_0x539458(0x304)](_0x151b1e),_0x32db21;}async[_0x387fe2(0x30b)](){var _0x4dc488=_0x387fe2;const _0x13f04a=await super[_0x4dc488(0x30b)]();return this[_0x4dc488(0xbc)](this[_0x4dc488(0x17c)][_0x4dc488(0x2de)]((_0x194faf,_0x2c6860)=>{var _0x737e73=_0x4dc488;if(_0x194faf[_0x737e73(0x2ed)]!==a[_0x737e73(0x15b)]['MUTATION']||_0x2c6860!=null&&_0x2c6860[_0x737e73(0x35a)]||_0x2c6860!=null&&_0x2c6860['onlyLocal'])return;const _0x1d2820=_0x194faf[_0x737e73(0x3bf)];if((_0x1d2820==null?void 0x0:_0x1d2820['unitId'])!==this[_0x737e73(0x287)])return;const _0x2d93a5=_0x194faf,_0x7eff47=this[_0x737e73(0xce)][_0x737e73(0x274)][_0x737e73(0x412)](this['_compressMutationService'][_0x737e73(0x274)][_0x737e73(0x3f0)]()[_0x737e73(0x112)])([_0x2d93a5],null)||[_0x2d93a5];this[_0x737e73(0x233)](_0x7eff47[0x0]);})),_0x13f04a;}},exports['SheetCollaborationEntity']=Fe([j(0x3,a[_0x387fe2(0x25f)](a[_0x387fe2(0x272)])),j(0x4,a[_0x387fe2(0x25f)](p[_0x387fe2(0x265)])),j(0x5,a['Inject'](a['LocaleService'])),j(0x6,a['Inject'](p[_0x387fe2(0x3e4)])),j(0x7,a[_0x387fe2(0x25f)](exports['SheetTransformSelectionsService'])),j(0x8,a[_0x387fe2(0x25f)](ee)),j(0x9,a[_0x387fe2(0x2d9)]),j(0xa,a[_0x387fe2(0x228)]),j(0xb,a['IPermissionService']),j(0xc,a[_0x387fe2(0x209)](de)),j(0xd,a[_0x387fe2(0x209)](K))],exports[_0x387fe2(0x314)]);var hi=Object[_0x387fe2(0xff)],_i=(_0x186fc6,_0x4f4974,_0x7c5f85,_0x282eed)=>{var _0x3c3e3f=_0x387fe2;for(var _0x40fe17=_0x282eed>0x1?void 0x0:_0x282eed?hi(_0x4f4974,_0x7c5f85):_0x4f4974,_0x27dd68=_0x186fc6[_0x3c3e3f(0x2b4)]-0x1,_0xfd73d0;_0x27dd68>=0x0;_0x27dd68--)(_0xfd73d0=_0x186fc6[_0x27dd68])&&(_0x40fe17=_0xfd73d0(_0x40fe17)||_0x40fe17);return _0x40fe17;},Se=(_0x3361c5,_0xc9712e)=>(_0x32f066,_0x555b86)=>_0xc9712e(_0x32f066,_0x555b86,_0x3361c5);exports['CollaborationController']=class extends a[_0x387fe2(0x41a)]{constructor(_0x10d828,_0x1e3974,_0x22fda8,_0x5f0825){var _0x4fc5f7=_0x387fe2,_0x3b0d70;super(),A(this,_0x4fc5f7(0x39a),new Map()),A(this,'_entityInit$',new H['Subject']()),A(this,_0x4fc5f7(0x2af),this[_0x4fc5f7(0x3b2)]['asObservable']()),(this[_0x4fc5f7(0x285)]=_0x10d828,this['_collabSessionService']=_0x1e3974,this['_configService']=_0x22fda8,this[_0x4fc5f7(0x396)]=_0x5f0825,((_0x3b0d70=this[_0x4fc5f7(0x3a0)][_0x4fc5f7(0x19c)](Y))==null?void 0x0:_0x3b0d70[_0x4fc5f7(0x419)])!==!0x1&&this[_0x4fc5f7(0x30b)]());}['dispose'](){var _0x5d39e8=_0x387fe2;super[_0x5d39e8(0x32a)](),this[_0x5d39e8(0x39a)][_0x5d39e8(0x138)](_0x3c8a41=>_0x3c8a41[_0x5d39e8(0x32a)]()),this[_0x5d39e8(0x39a)][_0x5d39e8(0x1e7)]();}[_0x387fe2(0x392)](_0x550ba8){var _0x370eb5=_0x387fe2,_0x3dbd7e;return(_0x3dbd7e=this[_0x370eb5(0x39a)][_0x370eb5(0x12a)](_0x550ba8))!=null?_0x3dbd7e:null;}['getCollabEntity$'](_0x51f156){var _0x11594a=_0x387fe2;const _0x5eb4a9=this[_0x11594a(0x392)](_0x51f156);return _0x5eb4a9?H['of'](_0x5eb4a9):this[_0x11594a(0x3b2)]['pipe'](V[_0x11594a(0x30f)](_0x11fea3=>_0x11fea3[_0x11594a(0x287)]===_0x51f156));}[_0x387fe2(0x10f)](_0x37dd40){var _0x4dc608=_0x387fe2;return H[_0x4dc608(0x1df)](this['getCollabEntity$'](_0x37dd40)[_0x4dc608(0x3cd)](V[_0x4dc608(0xf0)](()=>{})));}['_init'](){var _0x6c03dc=_0x387fe2;this[_0x6c03dc(0x396)][_0x6c03dc(0x186)](a[_0x6c03dc(0xc9)][_0x6c03dc(0x107)])['pipe'](H['takeUntil'](this[_0x6c03dc(0xc3)]),V[_0x6c03dc(0x35c)](0x10))[_0x6c03dc(0x3a3)](async _0x128239=>{var _0x50509d=_0x6c03dc;const _0x1e6ded=_0x128239[_0x50509d(0x195)](),_0x51b79a=await this[_0x50509d(0x1e6)](_0x1e6ded,J[_0x50509d(0x107)]);this[_0x50509d(0x39a)][_0x50509d(0x1b1)](_0x1e6ded,_0x51b79a);}),this[_0x6c03dc(0x396)][_0x6c03dc(0x186)](a[_0x6c03dc(0xc9)][_0x6c03dc(0x2a5)])[_0x6c03dc(0x3cd)](H['takeUntil'](this[_0x6c03dc(0xc3)]),V[_0x6c03dc(0x35c)](0x10))[_0x6c03dc(0x3cd)](V[_0x6c03dc(0x30f)](_0x3d15a8=>!_0x3d15a8[_0x6c03dc(0x195)]()['startsWith']('__')))[_0x6c03dc(0x3a3)](async _0x38fd68=>{var _0x37465a=_0x6c03dc;const _0x4914a0=_0x38fd68[_0x37465a(0x195)](),_0x992993=await this[_0x37465a(0x1e6)](_0x4914a0,J[_0x37465a(0x2a5)]);this['_entities']['set'](_0x4914a0,_0x992993);}),H[_0x6c03dc(0x155)](this['_univerInstanceService'][_0x6c03dc(0x3ef)](a['UniverInstanceType'][_0x6c03dc(0x107)]),this['_univerInstanceService'][_0x6c03dc(0x3ef)](a[_0x6c03dc(0xc9)][_0x6c03dc(0x2a5)]))[_0x6c03dc(0x3cd)](H[_0x6c03dc(0x1bd)](this['dispose$']))[_0x6c03dc(0x3a3)](_0x5e26b3=>{var _0x1dca0c=_0x6c03dc;const _0x38cac3=_0x5e26b3[_0x1dca0c(0x195)](),_0x20d24d=this['_entities']['get'](_0x38cac3);_0x20d24d&&(_0x20d24d[_0x1dca0c(0x32a)](),this[_0x1dca0c(0x39a)]['delete'](_0x38cac3));});}async[_0x387fe2(0x1e6)](_0x1b1a89,_0x3d00b7){var _0x4a8fc7=_0x387fe2;const _0x30eb3d=await this[_0x4a8fc7(0x36c)]['requireSession'](_0x1b1a89),_0x5c0af0=this['_injector']['createInstance'](this[_0x4a8fc7(0xb8)](_0x3d00b7),_0x1b1a89,_0x3d00b7,_0x30eb3d);return await _0x5c0af0[_0x4a8fc7(0x22e)](),this[_0x4a8fc7(0x3b2)][_0x4a8fc7(0x1dc)](_0x5c0af0),_0x5c0af0;}['_getCtorByUniverType'](_0x596f52){var _0x37567e=_0x387fe2;switch(_0x596f52){case J['UNIVER_DOC']:return exports[_0x37567e(0x1a6)];case J[_0x37567e(0x107)]:return exports[_0x37567e(0x314)];default:throw new Error(_0x37567e(0x310)+_0x596f52);}}},exports['CollaborationController']=_i([Se(0x0,a[_0x387fe2(0x25f)](a[_0x387fe2(0x272)])),Se(0x1,a[_0x387fe2(0x25f)](exports[_0x387fe2(0x3e6)])),Se(0x2,a[_0x387fe2(0x3b6)]),Se(0x3,a[_0x387fe2(0x31c)])],exports[_0x387fe2(0x2c3)]);var li=Object[_0x387fe2(0xff)],ui=(_0x4d0aec,_0x4846ba,_0xff88af,_0x2ff6d8)=>{var _0x77a6aa=_0x387fe2;for(var _0x563cd3=_0x2ff6d8>0x1?void 0x0:_0x2ff6d8?li(_0x4846ba,_0xff88af):_0x4846ba,_0x46f4d3=_0x4d0aec[_0x77a6aa(0x2b4)]-0x1,_0x48e84f;_0x46f4d3>=0x0;_0x46f4d3--)(_0x48e84f=_0x4d0aec[_0x46f4d3])&&(_0x563cd3=_0x48e84f(_0x563cd3)||_0x563cd3);return _0x563cd3;},Ye=(_0x811ed3,_0xb7ad4b)=>(_0x173d88,_0x1fc46a)=>_0xb7ad4b(_0x173d88,_0x1fc46a,_0x811ed3);const di=_0x387fe2(0xee),vi=_0x387fe2(0x1c1);let xe=class extends a['Disposable']{constructor(_0xbd3bb4,_0x5cfb6a){var _0x3c31a0=_0x387fe2;super(),this[_0x3c31a0(0x396)]=_0xbd3bb4,this[_0x3c31a0(0x3a0)]=_0x5cfb6a,this[_0x3c31a0(0x30b)]();}[_0x387fe2(0x30b)](){var _0x4d1605=_0x387fe2;this['disposeWithMe'](this[_0x4d1605(0x396)][_0x4d1605(0x1b4)][_0x4d1605(0x3a3)](()=>{var _0x4de055=_0x4d1605,_0x494771;const _0x7acb82=this[_0x4de055(0x396)][_0x4de055(0x34a)]();let _0x4dd68f=(_0x494771=this[_0x4de055(0x3a0)][_0x4de055(0x19c)](di))!=null?_0x494771:vi;_0x7acb82 instanceof a[_0x4de055(0x11c)]&&(_0x4dd68f=_0x7acb82[_0x4de055(0x16a)]),document[_0x4de055(0x19b)]=_0x4dd68f;}));}};xe=ui([Ye(0x0,a['IUniverInstanceService']),Ye(0x1,a[_0x387fe2(0x3b6)])],xe);var Si=Object[_0x387fe2(0xff)],fi=(_0x46ad9d,_0x5eb48e,_0x23e55e,_0x53e0e4)=>{var _0x545d9e=_0x387fe2;for(var _0x3afe6b=_0x53e0e4>0x1?void 0x0:_0x53e0e4?Si(_0x5eb48e,_0x23e55e):_0x5eb48e,_0x474dd9=_0x46ad9d[_0x545d9e(0x2b4)]-0x1,_0x378454;_0x474dd9>=0x0;_0x474dd9--)(_0x378454=_0x46ad9d[_0x474dd9])&&(_0x3afe6b=_0x378454(_0x3afe6b)||_0x3afe6b);return _0x3afe6b;},Ae=(_0x175573,_0x4f313b)=>(_0x188dce,_0x97da37)=>_0x4f313b(_0x188dce,_0x97da37,_0x175573);let ye=class{constructor(_0x34b74b,_0x44913c,_0x1fb14a){var _0x4c1dd3=_0x387fe2;this[_0x4c1dd3(0x3a0)]=_0x34b74b,this[_0x4c1dd3(0x3da)]=_0x44913c,this[_0x4c1dd3(0x3f3)]=_0x1fb14a,this[_0x4c1dd3(0x22e)]();}['init'](){var _0x5c2b34=_0x387fe2;this[_0x5c2b34(0x3da)][_0x5c2b34(0xde)]({'priority':0x1,'interceptor':(_0x20cd9a,_0x4637bc)=>_0x4637bc(_0x20cd9a)[_0x5c2b34(0x3cd)](H[_0x5c2b34(0x3fc)](async _0x5e8db1=>{var _0x167960=_0x5c2b34;const _0x86291a=_0x5e8db1;if(_0x86291a[_0x167960(0xe3)]===0x191){if(typeof window>'u')throw new Error(_0x167960(0x2b8));if(window[_0x167960(0x425)](this[_0x167960(0x3f3)]['t'](_0x167960(0x3ab)))){const _0x489947=window[_0x167960(0x2ab)](window[_0x167960(0xb7)][_0x167960(0x2cc)]);window[_0x167960(0xb7)][_0x167960(0x2cc)]=this[_0x167960(0x280)]()+_0x167960(0x2d4)+_0x489947;}}return _0x86291a;}))});}[_0x387fe2(0x280)](){var _0x41ce27=_0x387fe2,_0x26a091;const _0x3e9a8a=this[_0x41ce27(0x3a0)][_0x41ce27(0x19c)](Y);return(_0x26a091=_0x3e9a8a==null?void 0x0:_0x3e9a8a[_0x41ce27(0x3e8)])!=null?_0x26a091:$t;}};ye=fi([Ae(0x0,a[_0x387fe2(0x3b6)]),Ae(0x1,a[_0x387fe2(0x25f)](q['HTTPService'])),Ae(0x2,a[_0x387fe2(0x25f)](a[_0x387fe2(0x349)]))],ye);var Ii=Object['getOwnPropertyDescriptor'],pi=(_0x5edeff,_0x4efd72,_0x10cb42,_0x1f4619)=>{var _0x1adcfe=_0x387fe2;for(var _0x486120=_0x1f4619>0x1?void 0x0:_0x1f4619?Ii(_0x4efd72,_0x10cb42):_0x4efd72,_0x552159=_0x5edeff[_0x1adcfe(0x2b4)]-0x1,_0x158ed8;_0x552159>=0x0;_0x552159--)(_0x158ed8=_0x5edeff[_0x552159])&&(_0x486120=_0x158ed8(_0x486120)||_0x486120);return _0x486120;},qe=(_0xd7f159,_0x5266fd)=>(_0xf045e8,_0x2298c6)=>_0x5266fd(_0xf045e8,_0x2298c6,_0xd7f159);const mi=_0x387fe2(0x3e1);exports['AuthzIoHttpService']=class extends a[_0x387fe2(0x1ee)]{constructor(_0x1818d0,_0x567723){var _0x45942d=_0x387fe2;super(),this[_0x45942d(0x28c)]=_0x1818d0,this[_0x45942d(0x3a0)]=_0x567723,this[_0x45942d(0x24e)]();}[_0x387fe2(0x24e)](){var _0x1d9e8a=_0x387fe2;const _0x424afd=this;this[_0x1d9e8a(0xbc)](this[_0x1d9e8a(0x28c)][_0x1d9e8a(0xde)]({'priority':0x3e7,'interceptor':q['MergeInterceptorFactory']({'isMatch'(_0x3a9644){var _0x26f811=_0x1d9e8a,_0x5a4166;if(_0x3a9644['method']==='POST'&&((_0x5a4166=_0x3a9644['requestParams'])!=null&&_0x5a4166[_0x26f811(0x1c9)])){const {objectID:_0x563b42,objectType:_0x29f500}=_0x3a9644[_0x26f811(0x1e1)][_0x26f811(0x1c9)]||{};if(!_0x563b42||_0x29f500===void 0x0)return!0x1;const _0x4d6aab=_0x424afd[_0x26f811(0x2cd)]()+'/'+_0x29f500+_0x26f811(0x145)+_0x563b42+_0x26f811(0xd5);if(_0x3a9644['url']===_0x4d6aab)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x292757){var _0x598416=_0x1d9e8a,_0x4ebea7;return(_0x4ebea7=_0x292757[_0x598416(0x1e1)])==null?void 0x0:_0x4ebea7[_0x598416(0x1c9)];},'mergeParamsToRequest'(_0x58da38,_0x2b5e69){var _0x57f7a1=_0x1d9e8a;const _0x4503d7=_0x424afd[_0x57f7a1(0x2cd)]()+_0x57f7a1(0x3a7),_0x3eedf9=_0x58da38['reduce']((_0x5d646f,_0x33219f)=>{var _0x1672c3=_0x57f7a1;const {unitID:_0x2e7491,objectID:_0x5893ae,objectType:_0xafabc2,actions:_0x2afdbd}=_0x33219f;return _0x5d646f[_0x2e7491]||(_0x5d646f[_0x2e7491]={}),_0x5d646f[_0x2e7491][_0x5893ae]||(_0x5d646f[_0x2e7491][_0x5893ae]={'objectID':_0x5893ae,'objectType':_0xafabc2,'actions':[]}),_0x5d646f[_0x2e7491][_0x5893ae][_0x1672c3(0x32f)][_0x1672c3(0x2a6)](..._0x2afdbd),_0x5d646f;},{}),_0x506eba=[];for(const _0x3f1d67 in _0x3eedf9)for(const _0x5397ef in _0x3eedf9[_0x3f1d67]){const {actions:_0x1b9e7a,objectType:_0x10ef1a}=_0x3eedf9[_0x3f1d67][_0x5397ef],_0xb7c97b=[...new Set(_0x1b9e7a)];_0x506eba[_0x57f7a1(0x2a6)]({'unitID':_0x3f1d67,'objectID':_0x5397ef,'objectType':_0x10ef1a,'actions':_0xb7c97b});}return new q[(_0x57f7a1(0xc4))]('POST',_0x4503d7,{'headers':_0x2b5e69[_0x57f7a1(0x394)],'withCredentials':_0x2b5e69[_0x57f7a1(0x339)],'responseType':_0x2b5e69['responseType'],'body':{'requests':_0x506eba}});}},{'distributeResult'(_0x2f6a40,_0x1b0526){var _0x5dea86=_0x1d9e8a;const {objectActions:_0xad75f9}=_0x2f6a40;return _0x1b0526[_0x5dea86(0xf0)](_0x5c1829=>{var _0x16929b=_0x5dea86;const {unitID:_0x559fe5,objectID:_0x2f9ecb,actions:_0x346296}=_0x5c1829,_0x29fe34=_0xad75f9['find'](_0x55ba62=>_0x55ba62[_0x16929b(0x287)]===_0x559fe5&&_0x55ba62[_0x16929b(0x174)]===_0x2f9ecb),_0x1f2c55=_0x346296['map'](_0x3a16de=>_0x29fe34==null?void 0x0:_0x29fe34[_0x16929b(0x32f)][_0x16929b(0x2c2)](_0x293907=>_0x293907[_0x16929b(0x2da)]===_0x3a16de))[_0x16929b(0x30f)](_0x50a896=>!!_0x50a896);return{'config':_0x5c1829,'result':{'actions':_0x1f2c55,'error':_0x2f6a40[_0x16929b(0x305)]}};});}})}));}[_0x387fe2(0x2cd)](){var _0x5a58b0=_0x387fe2,_0x3f8de7;const _0x2f15b7=this[_0x5a58b0(0x3a0)][_0x5a58b0(0x19c)](Y);return(_0x3f8de7=_0x2f15b7==null?void 0x0:_0x2f15b7[_0x5a58b0(0xfa)])!=null?_0x3f8de7:mi;}async['create'](_0x25cd68){var _0x3e730d=_0x387fe2;const _0x5c9689=this[_0x3e730d(0x2cd)]()+'/'+_0x25cd68[_0x3e730d(0x253)]+_0x3e730d(0x1d9);return(await this[_0x3e730d(0x28c)][_0x3e730d(0x1b6)](_0x5c9689,{'body':_0x25cd68}))[_0x3e730d(0x1c9)][_0x3e730d(0x174)]||'';}async['list'](_0x49f5d8){var _0x4950ad=_0x387fe2;const _0x3f1fca=this[_0x4950ad(0x2cd)]()+_0x4950ad(0x216);return(await this[_0x4950ad(0x28c)][_0x4950ad(0x1b6)](_0x3f1fca,{'body':_0x49f5d8}))[_0x4950ad(0x1c9)]['objects'];}async['update'](_0x19a1fb){var _0x552c42=_0x387fe2,_0x271db3,_0x5786f9;const _0x749eb=this[_0x552c42(0x2cd)]()+'/'+_0x19a1fb[_0x552c42(0x253)]+_0x552c42(0x145)+_0x19a1fb[_0x552c42(0x174)],_0x563da0=await this[_0x552c42(0x28c)][_0x552c42(0x2fa)](_0x749eb,{'body':_0x19a1fb});if(((_0x5786f9=(_0x271db3=_0x563da0==null?void 0x0:_0x563da0[_0x552c42(0x1c9)])==null?void 0x0:_0x271db3[_0x552c42(0x305)])==null?void 0x0:_0x5786f9['code'])!==0x1)throw new Error(_0x552c42(0x264));}async[_0x387fe2(0x3f6)](_0x14dff7){var _0x92267c=_0x387fe2;const _0x4dc779=this[_0x92267c(0x2cd)]()+'/'+_0x14dff7[_0x92267c(0x253)]+'/object/'+_0x14dff7['objectID']+'/allowed';return(await this[_0x92267c(0x28c)]['post'](_0x4dc779,{'body':_0x14dff7}))[_0x92267c(0x1c9)][_0x92267c(0x32f)];}async['batchAllowed'](_0x48da51){var _0x2cede2=_0x387fe2;const _0x43cca9=this['_getAPIPrefixPath']()+_0x2cede2(0x3a7);return(await this[_0x2cede2(0x28c)]['post'](_0x43cca9,{'body':{'requests':_0x48da51}}))[_0x2cede2(0x1c9)][_0x2cede2(0x37d)];}async[_0x387fe2(0x327)](_0x32a39b){var _0x373f9a=_0x387fe2;const _0x2b8895=this[_0x373f9a(0x2cd)]()+'/'+_0x32a39b['objectType']+_0x373f9a(0x23c),_0x2ab06a=await this[_0x373f9a(0x28c)][_0x373f9a(0x1b6)](_0x2b8895,{'body':_0x32a39b});return{'roles':_0x2ab06a['body'][_0x373f9a(0xfd)],'actions':_0x2ab06a['body'][_0x373f9a(0x32f)]};}async[_0x387fe2(0x21e)](_0x193f4b){var _0x13e07c=_0x387fe2;const _0x4e9706=this[_0x13e07c(0x2cd)]()+'/collaborator';await this[_0x13e07c(0x28c)][_0x13e07c(0x25c)](_0x4e9706,{'params':{'collaboratorID':_0x193f4b[_0x13e07c(0xa8)],'objectID':_0x193f4b[_0x13e07c(0x174)],'unitID':_0x193f4b['unitID']}});}async[_0x387fe2(0x3eb)](_0x41a0e7){var _0x5312c4=_0x387fe2;const _0x199ab4=this[_0x5312c4(0x2cd)]()+'/collaborator';await this[_0x5312c4(0x28c)][_0x5312c4(0x2e7)](_0x199ab4,{'body':_0x41a0e7});}async[_0x387fe2(0x225)](_0x43dea7){var _0x1ed4c4=_0x387fe2;const _0x3bff5e=this[_0x1ed4c4(0x2cd)]()+_0x1ed4c4(0x1ec);await this[_0x1ed4c4(0x28c)][_0x1ed4c4(0x1b6)](_0x3bff5e,{'body':_0x43dea7});}async[_0x387fe2(0x3c7)](_0x409a11){var _0x23ebdb=_0x387fe2;const _0x556633=this[_0x23ebdb(0x2cd)]()+_0x23ebdb(0x1ec);return(await this[_0x23ebdb(0x28c)][_0x23ebdb(0x12a)](_0x556633,{'params':{'objectID':_0x409a11[_0x23ebdb(0x174)],'unitID':_0x409a11[_0x23ebdb(0x287)]}}))[_0x23ebdb(0x1c9)][_0x23ebdb(0xae)];}async[_0x387fe2(0x3f4)](_0xf8c59f){var _0x30a8f5=_0x387fe2;const _0x1b65fb=this[_0x30a8f5(0x2cd)]()+_0x30a8f5(0x1ec);await this[_0x30a8f5(0x28c)]['put'](_0x1b65fb,{'body':_0xf8c59f});}},exports[_0x387fe2(0x115)]=pi([qe(0x0,a['Inject'](q[_0x387fe2(0x10b)])),qe(0x1,a['Inject'](a[_0x387fe2(0x3b6)]))],exports[_0x387fe2(0x115)]);function _0x2609(_0x41276,_0x399f51){var _0x1cd98c=_0x1cd9();return _0x2609=function(_0x2609c9,_0x3fd8b8){_0x2609c9=_0x2609c9-0xa4;var _0x2f83e2=_0x1cd98c[_0x2609c9];return _0x2f83e2;},_0x2609(_0x41276,_0x399f51);}var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x47c95c){var _0x4cdd08=_0x387fe2;return _0x47c95c&&_0x47c95c['__esModule']&&Object[_0x4cdd08(0x332)][_0x4cdd08(0x296)]['call'](_0x47c95c,_0x4cdd08(0xfb))?_0x47c95c[_0x4cdd08(0xfb)]:_0x47c95c;}var fe={'exports':{}};function gi(_0x560a69){var _0x26e1a2=_0x387fe2;throw new Error(_0x26e1a2(0x231)+_0x560a69+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ie={'exports':{}},Ei=Ie['exports'],Ke;function Q(){var _0x5905dd=_0x387fe2;return Ke||(Ke=0x1,function(_0x27bc83,_0x3f6e37){(function(_0x3fc7d2,_0x284ad5){var _0x25b330=_0x2609;_0x27bc83[_0x25b330(0x387)]=_0x284ad5();}(Ei,function(){var _0x505b39=_0x505b39||function(_0x12bb5c,_0x4cc048){var _0x364c2c=_0x2609,_0x6641b2;if(typeof window<'u'&&window['crypto']&&(_0x6641b2=window[_0x364c2c(0x271)]),typeof self<'u'&&self['crypto']&&(_0x6641b2=self['crypto']),typeof globalThis<'u'&&globalThis[_0x364c2c(0x271)]&&(_0x6641b2=globalThis[_0x364c2c(0x271)]),!_0x6641b2&&typeof window<'u'&&window[_0x364c2c(0x20d)]&&(_0x6641b2=window['msCrypto']),!_0x6641b2&&typeof Pe<'u'&&Pe[_0x364c2c(0x271)]&&(_0x6641b2=Pe[_0x364c2c(0x271)]),!_0x6641b2&&typeof gi==_0x364c2c(0x329))try{_0x6641b2=require('crypto');}catch{}var _0x158d6f=function(){var _0x39e8a=_0x364c2c;if(_0x6641b2){if(typeof _0x6641b2[_0x39e8a(0x384)]=='function')try{return _0x6641b2[_0x39e8a(0x384)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x6641b2['randomBytes']==_0x39e8a(0x329))try{return _0x6641b2[_0x39e8a(0x119)](0x4)[_0x39e8a(0x282)]();}catch{}}throw new Error(_0x39e8a(0x33c));},_0x21f3b9=Object['create']||(function(){function _0x5cfff3(){}return function(_0x231d03){var _0x520c3f=_0x2609,_0x537da5;return _0x5cfff3[_0x520c3f(0x332)]=_0x231d03,_0x537da5=new _0x5cfff3(),_0x5cfff3[_0x520c3f(0x332)]=null,_0x537da5;};}()),_0x1b3224={},_0x364b6f=_0x1b3224[_0x364c2c(0x248)]={},_0x354dcd=_0x364b6f[_0x364c2c(0x167)]=(function(){return{'extend':function(_0x125c03){var _0xf7b86c=_0x2609,_0x529187=_0x21f3b9(this);return _0x125c03&&_0x529187[_0xf7b86c(0x28a)](_0x125c03),(!_0x529187['hasOwnProperty']('init')||this[_0xf7b86c(0x22e)]===_0x529187[_0xf7b86c(0x22e)])&&(_0x529187[_0xf7b86c(0x22e)]=function(){var _0x13f915=_0xf7b86c;_0x529187[_0x13f915(0xea)][_0x13f915(0x22e)][_0x13f915(0x1fb)](this,arguments);}),_0x529187[_0xf7b86c(0x22e)]['prototype']=_0x529187,_0x529187['$super']=this,_0x529187;},'create':function(){var _0x5524fe=_0x2609,_0x11c963=this[_0x5524fe(0x28b)]();return _0x11c963['init'][_0x5524fe(0x1fb)](_0x11c963,arguments),_0x11c963;},'init':function(){},'mixIn':function(_0x42dab7){var _0x4547f1=_0x2609;for(var _0x3def01 in _0x42dab7)_0x42dab7[_0x4547f1(0x296)](_0x3def01)&&(this[_0x3def01]=_0x42dab7[_0x3def01]);_0x42dab7[_0x4547f1(0x296)]('toString')&&(this[_0x4547f1(0x20e)]=_0x42dab7['toString']);},'clone':function(){var _0x3ad9b5=_0x2609;return this[_0x3ad9b5(0x22e)][_0x3ad9b5(0x332)][_0x3ad9b5(0x28b)](this);}};}()),_0x52a684=_0x364b6f['WordArray']=_0x354dcd[_0x364c2c(0x28b)]({'init':function(_0x22349a,_0x40665f){var _0x290c20=_0x364c2c;_0x22349a=this['words']=_0x22349a||[],_0x40665f!=_0x4cc048?this['sigBytes']=_0x40665f:this['sigBytes']=_0x22349a[_0x290c20(0x2b4)]*0x4;},'toString':function(_0x4f83a5){var _0x47dde0=_0x364c2c;return(_0x4f83a5||_0x3fb389)[_0x47dde0(0xe1)](this);},'concat':function(_0x2d6d03){var _0x137bdf=_0x364c2c,_0x5ec4e6=this['words'],_0x5ef43b=_0x2d6d03[_0x137bdf(0x1bf)],_0x2d2ff2=this[_0x137bdf(0x421)],_0x7b061a=_0x2d6d03[_0x137bdf(0x421)];if(this[_0x137bdf(0x29e)](),_0x2d2ff2%0x4)for(var _0x2085d0=0x0;_0x2085d0<_0x7b061a;_0x2085d0++){var _0x329935=_0x5ef43b[_0x2085d0>>>0x2]>>>0x18-_0x2085d0%0x4*0x8&0xff;_0x5ec4e6[_0x2d2ff2+_0x2085d0>>>0x2]|=_0x329935<<0x18-(_0x2d2ff2+_0x2085d0)%0x4*0x8;}else{for(var _0x13cf27=0x0;_0x13cf27<_0x7b061a;_0x13cf27+=0x4)_0x5ec4e6[_0x2d2ff2+_0x13cf27>>>0x2]=_0x5ef43b[_0x13cf27>>>0x2];}return this['sigBytes']+=_0x7b061a,this;},'clamp':function(){var _0x2c4954=_0x364c2c,_0x3ced0b=this[_0x2c4954(0x1bf)],_0x3c1cd1=this[_0x2c4954(0x421)];_0x3ced0b[_0x3c1cd1>>>0x2]&=0xffffffff<<0x20-_0x3c1cd1%0x4*0x8,_0x3ced0b[_0x2c4954(0x2b4)]=_0x12bb5c[_0x2c4954(0x290)](_0x3c1cd1/0x4);},'clone':function(){var _0x14d338=_0x364c2c,_0x2688f2=_0x354dcd[_0x14d338(0x29b)][_0x14d338(0x239)](this);return _0x2688f2[_0x14d338(0x1bf)]=this[_0x14d338(0x1bf)][_0x14d338(0xa5)](0x0),_0x2688f2;},'random':function(_0x5a8b30){var _0x15beeb=_0x364c2c;for(var _0x2ab376=[],_0x197606=0x0;_0x197606<_0x5a8b30;_0x197606+=0x4)_0x2ab376[_0x15beeb(0x2a6)](_0x158d6f());return new _0x52a684[(_0x15beeb(0x22e))](_0x2ab376,_0x5a8b30);}}),_0x36c1d0=_0x1b3224['enc']={},_0x3fb389=_0x36c1d0[_0x364c2c(0x426)]={'stringify':function(_0xab9fec){var _0x322c8e=_0x364c2c;for(var _0x1c79ad=_0xab9fec[_0x322c8e(0x1bf)],_0x5230e5=_0xab9fec[_0x322c8e(0x421)],_0xc3f4a6=[],_0x53de67=0x0;_0x53de67<_0x5230e5;_0x53de67++){var _0x4b3c59=_0x1c79ad[_0x53de67>>>0x2]>>>0x18-_0x53de67%0x4*0x8&0xff;_0xc3f4a6['push']((_0x4b3c59>>>0x4)[_0x322c8e(0x20e)](0x10)),_0xc3f4a6[_0x322c8e(0x2a6)]((_0x4b3c59&0xf)[_0x322c8e(0x20e)](0x10));}return _0xc3f4a6[_0x322c8e(0x16e)]('');},'parse':function(_0x38f3cb){var _0x66ce7e=_0x364c2c;for(var _0x1660ee=_0x38f3cb[_0x66ce7e(0x2b4)],_0x37f123=[],_0x6c529d=0x0;_0x6c529d<_0x1660ee;_0x6c529d+=0x2)_0x37f123[_0x6c529d>>>0x3]|=parseInt(_0x38f3cb[_0x66ce7e(0x367)](_0x6c529d,0x2),0x10)<<0x18-_0x6c529d%0x8*0x4;return new _0x52a684['init'](_0x37f123,_0x1660ee/0x2);}},_0x55dbb4=_0x36c1d0['Latin1']={'stringify':function(_0x5379a8){var _0x3220a4=_0x364c2c;for(var _0x679240=_0x5379a8[_0x3220a4(0x1bf)],_0x37b183=_0x5379a8[_0x3220a4(0x421)],_0x2c15a0=[],_0x11f55c=0x0;_0x11f55c<_0x37b183;_0x11f55c++){var _0x3b3790=_0x679240[_0x11f55c>>>0x2]>>>0x18-_0x11f55c%0x4*0x8&0xff;_0x2c15a0['push'](String[_0x3220a4(0x134)](_0x3b3790));}return _0x2c15a0[_0x3220a4(0x16e)]('');},'parse':function(_0x25f9c8){var _0x3b7699=_0x364c2c;for(var _0xc7af8f=_0x25f9c8[_0x3b7699(0x2b4)],_0x365e8f=[],_0x24e160=0x0;_0x24e160<_0xc7af8f;_0x24e160++)_0x365e8f[_0x24e160>>>0x2]|=(_0x25f9c8[_0x3b7699(0x2c5)](_0x24e160)&0xff)<<0x18-_0x24e160%0x4*0x8;return new _0x52a684['init'](_0x365e8f,_0xc7af8f);}},_0x40c600=_0x36c1d0[_0x364c2c(0x26b)]={'stringify':function(_0x45b1e8){var _0x142a4a=_0x364c2c;try{return decodeURIComponent(escape(_0x55dbb4['stringify'](_0x45b1e8)));}catch{throw new Error(_0x142a4a(0xd1));}},'parse':function(_0x5a1a9b){var _0x29b4fa=_0x364c2c;return _0x55dbb4[_0x29b4fa(0x3aa)](unescape(encodeURIComponent(_0x5a1a9b)));}},_0x2a9c74=_0x364b6f['BufferedBlockAlgorithm']=_0x354dcd['extend']({'reset':function(){var _0x45be84=_0x364c2c;this[_0x45be84(0x108)]=new _0x52a684[(_0x45be84(0x22e))](),this['_nDataBytes']=0x0;},'_append':function(_0x59aedb){var _0x2864cb=_0x364c2c;typeof _0x59aedb==_0x2864cb(0x424)&&(_0x59aedb=_0x40c600[_0x2864cb(0x3aa)](_0x59aedb)),this[_0x2864cb(0x108)]['concat'](_0x59aedb),this[_0x2864cb(0x135)]+=_0x59aedb[_0x2864cb(0x421)];},'_process':function(_0x302efb){var _0x561fe5=_0x364c2c,_0x4f2a95,_0x5a8705=this[_0x561fe5(0x108)],_0x307d02=_0x5a8705[_0x561fe5(0x1bf)],_0x1597f4=_0x5a8705[_0x561fe5(0x421)],_0x284eb0=this[_0x561fe5(0x395)],_0x29d97e=_0x284eb0*0x4,_0x4ffaf9=_0x1597f4/_0x29d97e;_0x302efb?_0x4ffaf9=_0x12bb5c['ceil'](_0x4ffaf9):_0x4ffaf9=_0x12bb5c[_0x561fe5(0x276)]((_0x4ffaf9|0x0)-this[_0x561fe5(0x122)],0x0);var _0x5393cd=_0x4ffaf9*_0x284eb0,_0x20ae15=_0x12bb5c[_0x561fe5(0x1b2)](_0x5393cd*0x4,_0x1597f4);if(_0x5393cd){for(var _0x525f06=0x0;_0x525f06<_0x5393cd;_0x525f06+=_0x284eb0)this[_0x561fe5(0x3d9)](_0x307d02,_0x525f06);_0x4f2a95=_0x307d02[_0x561fe5(0x176)](0x0,_0x5393cd),_0x5a8705['sigBytes']-=_0x20ae15;}return new _0x52a684[(_0x561fe5(0x22e))](_0x4f2a95,_0x20ae15);},'clone':function(){var _0x2cc439=_0x364c2c,_0x953af9=_0x354dcd['clone'][_0x2cc439(0x239)](this);return _0x953af9[_0x2cc439(0x108)]=this[_0x2cc439(0x108)][_0x2cc439(0x29b)](),_0x953af9;},'_minBufferSize':0x0});_0x364b6f[_0x364c2c(0x187)]=_0x2a9c74[_0x364c2c(0x28b)]({'cfg':_0x354dcd[_0x364c2c(0x28b)](),'init':function(_0x42d83b){this['cfg']=this['cfg']['extend'](_0x42d83b),this['reset']();},'reset':function(){var _0x38af2a=_0x364c2c;_0x2a9c74[_0x38af2a(0x142)]['call'](this),this[_0x38af2a(0x348)]();},'update':function(_0x54c3f1){var _0x5951c8=_0x364c2c;return this[_0x5951c8(0x262)](_0x54c3f1),this[_0x5951c8(0x28f)](),this;},'finalize':function(_0x4234df){var _0x1d01b1=_0x364c2c;_0x4234df&&this['_append'](_0x4234df);var _0x2f5efe=this[_0x1d01b1(0x320)]();return _0x2f5efe;},'blockSize':0x10,'_createHelper':function(_0x4ab092){return function(_0x48e020,_0xb5b686){return new _0x4ab092['init'](_0xb5b686)['finalize'](_0x48e020);};},'_createHmacHelper':function(_0x1e6401){return function(_0x4a07a9,_0x3e2f61){var _0x82822=_0x2609;return new _0x477368[(_0x82822(0x35f))][(_0x82822(0x22e))](_0x1e6401,_0x3e2f61)[_0x82822(0x267)](_0x4a07a9);};}});var _0x477368=_0x1b3224[_0x364c2c(0x2cb)]={};return _0x1b3224;}(Math);return _0x505b39;}));}(Ie)),Ie[_0x5905dd(0x387)];}var pe={'exports':{}},Ci=pe['exports'],ze;function Et(){return ze||(ze=0x1,function(_0x1f1c20,_0x5c3890){(function(_0xf19eed,_0x4b4d13){_0x1f1c20['exports']=_0x4b4d13(Q());}(Ci,function(_0x3f173d){var _0x31360b=_0x2609;return(function(){var _0x44a133=_0x2609,_0x51a7b=_0x3f173d,_0x4b4968=_0x51a7b[_0x44a133(0x248)],_0x405b67=_0x4b4968[_0x44a133(0x3ac)],_0x200931=_0x51a7b[_0x44a133(0x11f)];_0x200931[_0x44a133(0x3d7)]={'stringify':function(_0x3ab06f){var _0x1b9d0d=_0x44a133,_0x51752a=_0x3ab06f['words'],_0x2b2e26=_0x3ab06f[_0x1b9d0d(0x421)],_0x5bd8de=this[_0x1b9d0d(0x286)];_0x3ab06f[_0x1b9d0d(0x29e)]();for(var _0x4dc915=[],_0x924f78=0x0;_0x924f78<_0x2b2e26;_0x924f78+=0x3)for(var _0x38367c=_0x51752a[_0x924f78>>>0x2]>>>0x18-_0x924f78%0x4*0x8&0xff,_0x52769f=_0x51752a[_0x924f78+0x1>>>0x2]>>>0x18-(_0x924f78+0x1)%0x4*0x8&0xff,_0x2559e0=_0x51752a[_0x924f78+0x2>>>0x2]>>>0x18-(_0x924f78+0x2)%0x4*0x8&0xff,_0x3dd4e9=_0x38367c<<0x10|_0x52769f<<0x8|_0x2559e0,_0x36abea=0x0;_0x36abea<0x4&&_0x924f78+_0x36abea*0.75<_0x2b2e26;_0x36abea++)_0x4dc915[_0x1b9d0d(0x2a6)](_0x5bd8de['charAt'](_0x3dd4e9>>>0x6*(0x3-_0x36abea)&0x3f));var _0x2962dc=_0x5bd8de[_0x1b9d0d(0x2be)](0x40);if(_0x2962dc){for(;_0x4dc915['length']%0x4;)_0x4dc915['push'](_0x2962dc);}return _0x4dc915['join']('');},'parse':function(_0x2c7747){var _0x27e338=_0x44a133,_0x3d25d5=_0x2c7747['length'],_0x550a4e=this[_0x27e338(0x286)],_0x5765e8=this[_0x27e338(0x139)];if(!_0x5765e8){_0x5765e8=this['_reverseMap']=[];for(var _0x23c0a5=0x0;_0x23c0a5<_0x550a4e['length'];_0x23c0a5++)_0x5765e8[_0x550a4e[_0x27e338(0x2c5)](_0x23c0a5)]=_0x23c0a5;}var _0x1535be=_0x550a4e['charAt'](0x40);if(_0x1535be){var _0x33a3bb=_0x2c7747[_0x27e338(0xeb)](_0x1535be);_0x33a3bb!==-0x1&&(_0x3d25d5=_0x33a3bb);}return _0x2226de(_0x2c7747,_0x3d25d5,_0x5765e8);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x2226de(_0x2ea52f,_0x4e6216,_0x395b6a){var _0x9ebce4=_0x44a133;for(var _0x3f1b1f=[],_0x466eeb=0x0,_0x15f39d=0x0;_0x15f39d<_0x4e6216;_0x15f39d++)if(_0x15f39d%0x4){var _0x1050f7=_0x395b6a[_0x2ea52f['charCodeAt'](_0x15f39d-0x1)]<<_0x15f39d%0x4*0x2,_0x5a7794=_0x395b6a[_0x2ea52f[_0x9ebce4(0x2c5)](_0x15f39d)]>>>0x6-_0x15f39d%0x4*0x2,_0x2f5427=_0x1050f7|_0x5a7794;_0x3f1b1f[_0x466eeb>>>0x2]|=_0x2f5427<<0x18-_0x466eeb%0x4*0x8,_0x466eeb++;}return _0x405b67[_0x9ebce4(0x189)](_0x3f1b1f,_0x466eeb);}}()),_0x3f173d[_0x31360b(0x11f)]['Base64'];}));}(pe)),pe['exports'];}var me={'exports':{}},Ti=me[_0x387fe2(0x387)],Je;function bi(){var _0x2bc92a=_0x387fe2;return Je||(Je=0x1,function(_0x51b2ab,_0x2819ee){(function(_0x9bce71,_0x4c0335){var _0x468fbd=_0x2609;_0x51b2ab[_0x468fbd(0x387)]=_0x4c0335(Q());}(Ti,function(_0x280acd){return function(_0x348a55){var _0x1833d0=_0x2609,_0xd9adf=_0x280acd,_0x555f6f=_0xd9adf[_0x1833d0(0x248)],_0x30c569=_0x555f6f['WordArray'],_0x4493c2=_0x555f6f['Hasher'],_0x3c534e=_0xd9adf[_0x1833d0(0x2cb)],_0x156ff5=[];(function(){var _0xd02bcf=_0x1833d0;for(var _0x486196=0x0;_0x486196<0x40;_0x486196++)_0x156ff5[_0x486196]=_0x348a55[_0xd02bcf(0x3a4)](_0x348a55[_0xd02bcf(0x10e)](_0x486196+0x1))*0x100000000|0x0;}());var _0x3296e1=_0x3c534e[_0x1833d0(0x194)]=_0x4493c2[_0x1833d0(0x28b)]({'_doReset':function(){var _0x5a3704=_0x1833d0;this[_0x5a3704(0x206)]=new _0x30c569[(_0x5a3704(0x22e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x337664,_0x2a28d3){var _0x560904=_0x1833d0;for(var _0x52d4e9=0x0;_0x52d4e9<0x10;_0x52d4e9++){var _0x34966a=_0x2a28d3+_0x52d4e9,_0x345343=_0x337664[_0x34966a];_0x337664[_0x34966a]=(_0x345343<<0x8|_0x345343>>>0x18)&0xff00ff|(_0x345343<<0x18|_0x345343>>>0x8)&0xff00ff00;}var _0x4ec88e=this[_0x560904(0x206)][_0x560904(0x1bf)],_0x237ce2=_0x337664[_0x2a28d3+0x0],_0x50f74d=_0x337664[_0x2a28d3+0x1],_0x27c133=_0x337664[_0x2a28d3+0x2],_0x4f95fb=_0x337664[_0x2a28d3+0x3],_0x4bee42=_0x337664[_0x2a28d3+0x4],_0x3a7ea2=_0x337664[_0x2a28d3+0x5],_0x3958a9=_0x337664[_0x2a28d3+0x6],_0x4d68bc=_0x337664[_0x2a28d3+0x7],_0x248010=_0x337664[_0x2a28d3+0x8],_0x430bf5=_0x337664[_0x2a28d3+0x9],_0x1d4c5c=_0x337664[_0x2a28d3+0xa],_0x2eb5e0=_0x337664[_0x2a28d3+0xb],_0x4c00f5=_0x337664[_0x2a28d3+0xc],_0x74ba35=_0x337664[_0x2a28d3+0xd],_0x557cdc=_0x337664[_0x2a28d3+0xe],_0x14c8be=_0x337664[_0x2a28d3+0xf],_0x59bcaf=_0x4ec88e[0x0],_0x32b818=_0x4ec88e[0x1],_0x253382=_0x4ec88e[0x2],_0x1fce9f=_0x4ec88e[0x3];_0x59bcaf=_0x337f07(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x237ce2,0x7,_0x156ff5[0x0]),_0x1fce9f=_0x337f07(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x50f74d,0xc,_0x156ff5[0x1]),_0x253382=_0x337f07(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x27c133,0x11,_0x156ff5[0x2]),_0x32b818=_0x337f07(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x4f95fb,0x16,_0x156ff5[0x3]),_0x59bcaf=_0x337f07(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x4bee42,0x7,_0x156ff5[0x4]),_0x1fce9f=_0x337f07(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x3a7ea2,0xc,_0x156ff5[0x5]),_0x253382=_0x337f07(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x3958a9,0x11,_0x156ff5[0x6]),_0x32b818=_0x337f07(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x4d68bc,0x16,_0x156ff5[0x7]),_0x59bcaf=_0x337f07(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x248010,0x7,_0x156ff5[0x8]),_0x1fce9f=_0x337f07(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x430bf5,0xc,_0x156ff5[0x9]),_0x253382=_0x337f07(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x1d4c5c,0x11,_0x156ff5[0xa]),_0x32b818=_0x337f07(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x2eb5e0,0x16,_0x156ff5[0xb]),_0x59bcaf=_0x337f07(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x4c00f5,0x7,_0x156ff5[0xc]),_0x1fce9f=_0x337f07(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x74ba35,0xc,_0x156ff5[0xd]),_0x253382=_0x337f07(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x557cdc,0x11,_0x156ff5[0xe]),_0x32b818=_0x337f07(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x14c8be,0x16,_0x156ff5[0xf]),_0x59bcaf=_0xa90052(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x50f74d,0x5,_0x156ff5[0x10]),_0x1fce9f=_0xa90052(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x3958a9,0x9,_0x156ff5[0x11]),_0x253382=_0xa90052(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x2eb5e0,0xe,_0x156ff5[0x12]),_0x32b818=_0xa90052(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x237ce2,0x14,_0x156ff5[0x13]),_0x59bcaf=_0xa90052(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x3a7ea2,0x5,_0x156ff5[0x14]),_0x1fce9f=_0xa90052(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x1d4c5c,0x9,_0x156ff5[0x15]),_0x253382=_0xa90052(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x14c8be,0xe,_0x156ff5[0x16]),_0x32b818=_0xa90052(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x4bee42,0x14,_0x156ff5[0x17]),_0x59bcaf=_0xa90052(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x430bf5,0x5,_0x156ff5[0x18]),_0x1fce9f=_0xa90052(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x557cdc,0x9,_0x156ff5[0x19]),_0x253382=_0xa90052(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x4f95fb,0xe,_0x156ff5[0x1a]),_0x32b818=_0xa90052(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x248010,0x14,_0x156ff5[0x1b]),_0x59bcaf=_0xa90052(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x74ba35,0x5,_0x156ff5[0x1c]),_0x1fce9f=_0xa90052(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x27c133,0x9,_0x156ff5[0x1d]),_0x253382=_0xa90052(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x4d68bc,0xe,_0x156ff5[0x1e]),_0x32b818=_0xa90052(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x4c00f5,0x14,_0x156ff5[0x1f]),_0x59bcaf=_0x517d08(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x3a7ea2,0x4,_0x156ff5[0x20]),_0x1fce9f=_0x517d08(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x248010,0xb,_0x156ff5[0x21]),_0x253382=_0x517d08(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x2eb5e0,0x10,_0x156ff5[0x22]),_0x32b818=_0x517d08(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x557cdc,0x17,_0x156ff5[0x23]),_0x59bcaf=_0x517d08(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x50f74d,0x4,_0x156ff5[0x24]),_0x1fce9f=_0x517d08(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x4bee42,0xb,_0x156ff5[0x25]),_0x253382=_0x517d08(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x4d68bc,0x10,_0x156ff5[0x26]),_0x32b818=_0x517d08(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x1d4c5c,0x17,_0x156ff5[0x27]),_0x59bcaf=_0x517d08(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x74ba35,0x4,_0x156ff5[0x28]),_0x1fce9f=_0x517d08(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x237ce2,0xb,_0x156ff5[0x29]),_0x253382=_0x517d08(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x4f95fb,0x10,_0x156ff5[0x2a]),_0x32b818=_0x517d08(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x3958a9,0x17,_0x156ff5[0x2b]),_0x59bcaf=_0x517d08(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x430bf5,0x4,_0x156ff5[0x2c]),_0x1fce9f=_0x517d08(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x4c00f5,0xb,_0x156ff5[0x2d]),_0x253382=_0x517d08(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x14c8be,0x10,_0x156ff5[0x2e]),_0x32b818=_0x517d08(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x27c133,0x17,_0x156ff5[0x2f]),_0x59bcaf=_0x2868ac(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x237ce2,0x6,_0x156ff5[0x30]),_0x1fce9f=_0x2868ac(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x4d68bc,0xa,_0x156ff5[0x31]),_0x253382=_0x2868ac(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x557cdc,0xf,_0x156ff5[0x32]),_0x32b818=_0x2868ac(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x3a7ea2,0x15,_0x156ff5[0x33]),_0x59bcaf=_0x2868ac(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x4c00f5,0x6,_0x156ff5[0x34]),_0x1fce9f=_0x2868ac(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x4f95fb,0xa,_0x156ff5[0x35]),_0x253382=_0x2868ac(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x1d4c5c,0xf,_0x156ff5[0x36]),_0x32b818=_0x2868ac(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x50f74d,0x15,_0x156ff5[0x37]),_0x59bcaf=_0x2868ac(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x248010,0x6,_0x156ff5[0x38]),_0x1fce9f=_0x2868ac(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x14c8be,0xa,_0x156ff5[0x39]),_0x253382=_0x2868ac(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x3958a9,0xf,_0x156ff5[0x3a]),_0x32b818=_0x2868ac(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x74ba35,0x15,_0x156ff5[0x3b]),_0x59bcaf=_0x2868ac(_0x59bcaf,_0x32b818,_0x253382,_0x1fce9f,_0x4bee42,0x6,_0x156ff5[0x3c]),_0x1fce9f=_0x2868ac(_0x1fce9f,_0x59bcaf,_0x32b818,_0x253382,_0x2eb5e0,0xa,_0x156ff5[0x3d]),_0x253382=_0x2868ac(_0x253382,_0x1fce9f,_0x59bcaf,_0x32b818,_0x27c133,0xf,_0x156ff5[0x3e]),_0x32b818=_0x2868ac(_0x32b818,_0x253382,_0x1fce9f,_0x59bcaf,_0x430bf5,0x15,_0x156ff5[0x3f]),_0x4ec88e[0x0]=_0x4ec88e[0x0]+_0x59bcaf|0x0,_0x4ec88e[0x1]=_0x4ec88e[0x1]+_0x32b818|0x0,_0x4ec88e[0x2]=_0x4ec88e[0x2]+_0x253382|0x0,_0x4ec88e[0x3]=_0x4ec88e[0x3]+_0x1fce9f|0x0;},'_doFinalize':function(){var _0x4ed071=_0x1833d0,_0xef761=this[_0x4ed071(0x108)],_0x39fe63=_0xef761[_0x4ed071(0x1bf)],_0x4703d9=this[_0x4ed071(0x135)]*0x8,_0x1748b8=_0xef761[_0x4ed071(0x421)]*0x8;_0x39fe63[_0x1748b8>>>0x5]|=0x80<<0x18-_0x1748b8%0x20;var _0xd5d3ee=_0x348a55['floor'](_0x4703d9/0x100000000),_0x4c70d7=_0x4703d9;_0x39fe63[(_0x1748b8+0x40>>>0x9<<0x4)+0xf]=(_0xd5d3ee<<0x8|_0xd5d3ee>>>0x18)&0xff00ff|(_0xd5d3ee<<0x18|_0xd5d3ee>>>0x8)&0xff00ff00,_0x39fe63[(_0x1748b8+0x40>>>0x9<<0x4)+0xe]=(_0x4c70d7<<0x8|_0x4c70d7>>>0x18)&0xff00ff|(_0x4c70d7<<0x18|_0x4c70d7>>>0x8)&0xff00ff00,_0xef761[_0x4ed071(0x421)]=(_0x39fe63['length']+0x1)*0x4,this['_process']();for(var _0x6e383=this[_0x4ed071(0x206)],_0x6f8df8=_0x6e383['words'],_0x47a856=0x0;_0x47a856<0x4;_0x47a856++){var _0x3989e1=_0x6f8df8[_0x47a856];_0x6f8df8[_0x47a856]=(_0x3989e1<<0x8|_0x3989e1>>>0x18)&0xff00ff|(_0x3989e1<<0x18|_0x3989e1>>>0x8)&0xff00ff00;}return _0x6e383;},'clone':function(){var _0x4f6e71=_0x1833d0,_0x3d3b21=_0x4493c2[_0x4f6e71(0x29b)][_0x4f6e71(0x239)](this);return _0x3d3b21[_0x4f6e71(0x206)]=this[_0x4f6e71(0x206)][_0x4f6e71(0x29b)](),_0x3d3b21;}});function _0x337f07(_0x2d5146,_0xd5d2b6,_0x297346,_0x12e2c7,_0x207d99,_0xaf1f5e,_0x9aab6){var _0x37ae47=_0x2d5146+(_0xd5d2b6&_0x297346|~_0xd5d2b6&_0x12e2c7)+_0x207d99+_0x9aab6;return(_0x37ae47<<_0xaf1f5e|_0x37ae47>>>0x20-_0xaf1f5e)+_0xd5d2b6;}function _0xa90052(_0x1f2c6f,_0x4f773a,_0x3a0a5d,_0x1c3fc3,_0x8290b5,_0x299293,_0x8e5359){var _0x5325f7=_0x1f2c6f+(_0x4f773a&_0x1c3fc3|_0x3a0a5d&~_0x1c3fc3)+_0x8290b5+_0x8e5359;return(_0x5325f7<<_0x299293|_0x5325f7>>>0x20-_0x299293)+_0x4f773a;}function _0x517d08(_0x3efa26,_0x1a7f60,_0x14088b,_0x1bcacd,_0x24d3e9,_0x2da67c,_0x258c3d){var _0x24dbf6=_0x3efa26+(_0x1a7f60^_0x14088b^_0x1bcacd)+_0x24d3e9+_0x258c3d;return(_0x24dbf6<<_0x2da67c|_0x24dbf6>>>0x20-_0x2da67c)+_0x1a7f60;}function _0x2868ac(_0x453f9b,_0x216b86,_0x20cce8,_0x1b7579,_0x462a20,_0x9a2aaa,_0x115b8f){var _0xebf95b=_0x453f9b+(_0x20cce8^(_0x216b86|~_0x1b7579))+_0x462a20+_0x115b8f;return(_0xebf95b<<_0x9a2aaa|_0xebf95b>>>0x20-_0x9a2aaa)+_0x216b86;}_0xd9adf[_0x1833d0(0x194)]=_0x4493c2[_0x1833d0(0x133)](_0x3296e1),_0xd9adf['HmacMD5']=_0x4493c2[_0x1833d0(0x33d)](_0x3296e1);}(Math),_0x280acd['MD5'];}));}(me)),me[_0x2bc92a(0x387)];}function _0x1cd9(){var _0x31f0aa=['abs','ThresholdInterceptorFactory','INTERNAL_ERROR','/-/object/-/batch_allowed','UnitEmbedded','[OfflineState]:\x20received\x20acknowledgement.','parse','auth.needGotoLoginAlert','WordArray','_sessions','saveSnapshot','ConflictState','COMPLETION_FINISHED','incrementRevOfUnit','_entityInit$','uploadFileServerUrl','[CollaborationUndoRedoService]','onSyncEditingCollabCursor','IConfigService','_onRemoteChangeset','getActiveSheet','loadDoc','_retryConnectingTimer','_transformUndoredo','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','awaiting','byteOffset','params','[DataLoaderService]','awaiting_with_pending','save\x20fail\x20reason\x20is\x20','Rectangle','APPLY_PERMISSION_DENIED','USERS_ENTER','CollaborationEntity','listCollaborators','HEARTBEAT_INTERVAL_KEY','_doCryptBlock','_userManagerService','IAuthzIoService','commentUpdate$','pipe','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','override','_handlerCallback','JOIN_ROOM_FULL','__creator','HttpImport','avatar','transformUndoRedo','_startTelemetryCollaborationNewChangeset','Base64','_DEC_XFORM_MODE','_doProcessBlock','_httpService','_state$','_permissionService','_getDownloadEndpointURL','CollaborationUIEventService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_clearLocalCache','/universer-api/authz','_roomMembers','mapDocumentTypeToUniverType','RevisionService','_schedule','CollaborationSessionService','UNAUTHENTICATED','loginUrlKey','loadOfflineData','emitEvent','updateCollaborator','YUUMI_AI_RUN_FAILED','RichTextEditingMutation','resourceIDs','getTypeOfUnitDisposed$','getInterceptPoints','[SyncedState]:\x20received\x20acknowledgement.','concat','localeService','putCollaborators','x-univer-host','allowed','registerDependencies','onLocalMutation','CONFLICT','isTransformChangesetsSuccess','target','concatMap','[OfflineState]:\x20received\x20rejection.','_getAPIPrefix','PENDING','_updateLocalCache','[CollaborationSessionService]','failed\x20to\x20apply\x20missed\x20changesets!','INGEST','_nRounds','_revisionService','JOIN_ROOM_PERMISSION_DENIED','enableSingleActiveInstanceLock','permissionRejEvent','_sendHeartbeat','CommentService','serializeCombRequest','_transformIMECache','textRanges','OTHER_CLIENTS_EDITING','_onOffline','CHANGESET_REJ','onRemoteRetry','fetchThroughInterceptors','_localCacheService','_shouldReportTelemetry','_eventService','_syncEditingCollabCursor','state','People','enableCollaboration','RxDisposable','_clearCollaborationTimeoutTimer','synced','_applyRemoteChangeset','toStringTag','resend','INetworkConditionService','sigBytes','getCurrentRevOfUnit','execute','string','confirm','Hex','data','slice','_state','image/bmp','collaboratorID','USERS_LEAVE','transformChangesets','repeat','session.join-failed','_initDependencies','collaborators','sessionStatus$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getSnapshotAPIPath','_toggleOnline','/fetchmissing?from=','_listenToNetworkCondition','onRemoteAck','error$','location','_getCtorByUniverType','UNRECOGNIZED','__Key__','event$','disposeWithMe','_singleActiveUnitService','IImageIoService','createInstance','_socket','append','_replaceFileID','dispose$','HTTPRequest','YUUMI_URL_COL_OUT_OF_RANGE','snapshotServerUrl','UPDATE_CURSOR','now','UniverInstanceType','code','pending','then','Tools','_compressMutationService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_mode','Malformed\x20UTF-8\x20data','session.room-cnt-exceeds','getTime','isTransformMutationsWithChangesetFailure','/allowed','fetchMissingChangesets','commentUpdateEvent','UNIVER_COLLABORATION_CLIENT_PLUGIN','YUUMI_CONNECTOR_URL_NOT_FOUND','saveImage','_removeRoom','ERROR_EXCEED_SIZE','FetchingMissState','registerHTTPInterceptor','IPermissionService','_exhaustRemoteChangesetQueue','stringify','AwaitingState','status','_updateState','_timeoutTimer','[UniverCollaborationClientPlugin]','unitId','addImageSourceCache','_cipher','$super','indexOf','userID','disableLocalCache','DEFAULT_FILE_NAME','session.room-permission-denied','map','CollaborationUIEventId','equals','ISingleActiveUnitService','_networkConditionService','CLOSE_ROOM','MemberService','newCsEvent','sessionStatus','session','authzUrl','default','CollaborationSession','roles','_collaborationTimeoutTimer','getOwnPropertyDescriptor','values','MUTATION','every','INVITE_CODE_REQUIRED','INVITE_CODE_HAS_BEEN_UES','socket\x20close','IUndoRedoService','UNIVER_SHEET','_data','defineProperty','from','HTTPService','/universer-api/snapshot','message$','sin','readyForCollab','unitId\x20is\x20not\x20found','DataLoaderService','COMPRESS_MUTATION_SEND','_resendTimeout','loadSheet','AuthzIoHttpService','2lhqPWN','_remoteChangesetQueue','_onRemoteACK','randomBytes','INVALID_INVITE_CODE','_retryCount','Workbook','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_invKeySchedule','enc','GLOBAL_ROOMS_CNT_EXCEEDS','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_minBufferSize','duration','random','UserProfileImg','_scheduleCollaborationTimeoutTimer','transformMutationsWithChangeset','getAllMembers','LICENSE_DISTRO_REJECTED','get','UNIVER_PROJECT','_transformStateCache','_emitMembers','2946755kdCinJ','getLatestCsReqIdBySid','_doCreateSocket','hasher','leaveEvent','_createHelper','fromCharCode','_nDataBytes','[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.','uniscriptRunEvent','forEach','_reverseMap','roomInfos','EMAIL_HAS_BEEN_BOUND','UNIVER_UNKNOWN','SHOULD_CLOSE_CONN','resolve','_parse','SUBMIT_CHANGESET','JOIN_ROOM_FAILED','reset','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','b64DecodeUnicode','/object/','onRemoteChangeset','SNAPSHOT_URL_KEY','_key','[FetchMissState]','unknown','getCurrentSelections','createEncryptor','CollaborationImageIoService','NO_OTHER_CLIENTS_EDITING','status$','/unit/','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','ciphertext','getGlobalObject','executeCommand','merge','_hasher','state$','updateSnapshot','cmd','Error\x20on\x20receiving\x20event','CommandType','getCurrentUser','_onRemoteRetry','_keySchedule','_joinRoom','awaitingChangeset','\x20to\x20','removeMember','MSG_FOR_ERROR','_createInitialStateImpl','1685492dRFHkx','Quantity','Base','_telemetryInfo','getSheetId','name','ALREADY_EXISTS','/universer-api/user/session-ticket','UniverCollaborationClientPlugin','join','_acknowledgedAwaitingChangeset','_config','_getSendChangesetTimeout','mutations','_event$','objectID','onStateChange','splice','_transformRemoteChangesetByIMECache','LOGIN_FAILED','[PendingState]:\x20unhandled\x20univer\x20type:\x20','UNKNOWN_CODE','_socketService','_commandService','HttpExport','ERROR_IMAGE_TYPE','c2Prime','members$','changesets','/new_changes','APPLY_DUPLICATED','CollaborationEvent','revision','getTypeOfUnitAdded$','Hasher','shouldCloseConn','create','readAsDataURL','_tryEnsureSocket','UNISCRIPT_RUN','change$','\x0aAfter:\x20','_socket$','ws://127.0.0.1:8000/universer-api/comb/connect','_showConflictNotification','updateOfflineData','OFFLINE','MD5','getUnitId','_candidateSocket','APPLY_REJECT','JOIN_ROOM_NOT_EXISTS','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','toggleOffline','title','getConfig','_collaborationSessionService','/resources','LIVESHARE_TERMINATE','_changesetSessionId','format','_incrementRevisionNumber','_getCurrentRevision','INVITE_CODE_ALREADY_BOUND','PasswordBasedCipher','DocCollaborationEntity','_onMessage','COMMENT_UPDATE','_waitCount','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','HEARTBEAT_TIMEOUT_KEY','RETRY_CONNECTING_MAX_COUNT','OTHER_CLIENT_EDITING','liveShareOperation','/universer-api/file/{fileID}/sign-url','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','set','min','unit-cache-','focused$','not_collab','post','salt','CHANGESET_SHOULD_RETRY','PendingState','_redoStacks','parseProtocolChangeset','ILocalCacheService','takeUntil','reqId','words','encode','Univer','/rev/','_logService','baseRev','LIVESHARE_OPERATION','joinRsp','TOO_MANY_REQUESTS','close$','body','NoPadding','5222dwBTcE','setConfig','symbol','CollaborationSocketService','loadUnitOfRevision','compute','_members','univer-pro.collaboration-client.network-condition.service','1015886ypozcU','_sheetTransformSelectionsService','_replayCachedMutations','APPLY_NON_SEQUENTIAL_REVISION','_type','_telemetryService','/object','_collaborationPaused','FETCH_MISSING','next','PERSON','_xformMode','firstValueFrom','_status$','requestParams','rev','joinEvent','_prevBlock','BlockCipher','_startCollaboration','clear','_undoStacks','EmptyMutation','_getSignURL','open$','/collaborator','_clearScheduledTask','Disposable','getResourcesRequest','WECHAT_HAS_BEEN_BOUND','[CollaborationSessionService]:\x20socket\x20error','SYNCED','_keyPriorReset','_instanceService','JOIN','workbook','onMissingChangesets','_queuedRemoteChangesets','setWaitCount','_sendingTimer','apply','requireSession','LOCAL_CACHE_INTERVAL','_onCombEvent','_stopTelemetryCollaborationNewChangeset','SHA1','AwaitingWithPendingState','originalMeta','_fetchMissChangesets','conflict','SnapshotServerOverHTTPService','_hash','YUUMI_UNABLE_LOAD_URL','reject','Optional','getSheetBlock','_socketMessageSubscription','refreshPermission','msCrypto','toString','updateMember','10908sMfTbs','CHANGESET_ACK','EvpKDF','PSEUDO_FETCH_MISSING_RESULT','JSONX','unitInfo$','/-/object/list','LIVESHARE_REQUEST_HOST','memberID','size','updatePermissionPoint','\x0aCurrent:\x20','isPermissionRej','sendChangesetTimeout','deleteCollaborator','Decryptor','reduce','DEFAULT_COLLAB_WEB_SOCKET_URL','BASE64','_change$','catch','createCollaborator','toggleOnline','COMPRESS_MUTATION_APPLY','ICommandService','processBlock','_memberService','complete','&to=','byteLength','init','MentionIoHttpService','keySize','Could\x20not\x20dynamically\x20require\x20\x22','_onUserJoin','_onLocalMutation','FETCH_MISS','socket$','LocalUndoRedoService','_sessionStatus$','deepClone','call','mergeOverrideWithDependencies','getImage','/role','take','_scheduleCompleteTimestamp','src','{fileID}','_submitChangeset','Undefined','_executeRemoteChangeset','HELLO','NEW_CHANGESETS','enableOfflineEditing','ivSize','lib','LIVESHARE_FETCH_OPERATIONS','_initUnitPermissionChange','1334172YEVfOZ','connection\x20error','socket\x20open.','_initMergeInterceptor','YUUMI_ASYNCIO_CANCELLED','_getUploadFileURL','pad','setCurrentUser','objectType','RETRY_CONNECTING_MAX_COUNT_KEY','initWorkbookPermissionChange','onload','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','ImageUploadStatusType','_clearRedo','5805036wDqNLa','ITransformService','delete','onTransformRemoteChangesetByIMECache','OpenSSL','Inject','OfflineState','PY_RUNTIME_SCRIPT_ERROR','_append','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','Failed\x20to\x20update\x20permission\x20point','CompressMutationService','MOBILE_HAS_BEEN_BOUND','finalize','subUnitId','_onConflict','SheetsSelectionsService','Utf8','AWAITING_WITH_PENDING','LICENSE_EXPORT_SIZE_EXCEEDED','UniverNetworkPlugin','ONLINE','_transformService','crypto','Injector','IDLE','interceptor','LOCAL_CACHE_INTERVAL_KEY','max','range','debug','/universer-api/uniscript','_roomCreated$','_commentUpdate$','_onRemoteRejected','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','univer-pro.collaboration-client.single-active-unit-service','AES','_getLoginPath','RECV','readInt32LE','getValue','_resendWithTimeout','_injector','_map','unitID','_createInitialState','sheets','mixIn','extend','_HTTPService','MOBILE_VERIFY_CODE_MISMATCH','onRemoteRej','_process','ceil','Encryptor','_createHandler','FileId','SUBMIT_CHANGESET_TIMEOUT','_waitForHeartbeatResponse','hasOwnProperty','_getUndoStack','CBC','kdf','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','clone','MentionType','3255704CMHFNB','clamp','NOT_COLLAB','unsubscribe','[CollaborationEntity]','reconnect','UNIVER_SLIDE','closeSession','UNIVER_DOC','push','_undoRedoService','_unitInfo$','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','SNAPSHOT_INVALID_SNAPSHOT','encodeURIComponent','key','_iKey','telemetry\x20info\x20is\x20not\x20initialized','entityInit$','getMemberID','has','UPDATE_PERMISSION_OBJ','_onJoinRoomEvent','length','decryptBlock','_throwTelemetryCollaborationNewChangeset','_updateStatus','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','appendMutation','loadUnit','_snapshotService','SnapshotService','ImageSourceType','charAt','BehaviorSubject','createDecryptor','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','find','CollaborationController','univer-pro.collaboration-client-socket-service','charCodeAt','EMAIL_VERIFY_CODE_MISMATCH','editingUnit','onTransformIME','UNDEFINED','session.room-not-exists','algo','href','_getAPIPrefixPath','onlyLocal','createSocket','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','YUUMI_NO_CUBOID_FOR_QUESTION','socketService','saveSheetBlock','?url=','eventID','shareReplay','HEARTBEAT','SetSelectionsOperation','ILogService','action','getUnitType','ERROR_IMAGE','_sender','onCommandExecuted','toDisposable','m2Prime','Subject','LEAVE','_ENC_XFORM_MODE','ISnapshotServerService','_onConnectionFailed','[PendingState]:\x20received\x20rejection.','patch','_collaborationUIEventService','_clearTimeoutTimer','textEncoder','liveShareNewHost','_pendingMutations','type','isInternalEditorID','AWAITING','add','WorkbookEditablePermission','update','CHANGESET_REVISION_CONFILICT','USER_NOT_INVITED_CODE','floor','retryConnectingInterval','updatePermissionObjEvent','DEFAULT_WS_SESSION_TICKET_URL','SheetPermissionInitController','put','onMissedChangesetFetched','CONNECTOR_DATA_TOO_LARGE','collabSubmitChangesetUrl','_handler','onTransformRemoteChangesetByStateCache','_tryReconnect','selections','offline','INVALID_ARGUMENT','transformSelections','error','\x20-\x20','_transitionLocked','SerializableCipher','ReplaySubject','parseChangesetToProtocol','_init','JOINING','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','filter','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','SyncedState','SNAPSHOT_HAS_BEEN_REMOVED','_clearUndo','SheetCollaborationEntity','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','image/jpg','_oKey','_rescheduleHeartbeat','_registerDependencies','result','getMember','IUniverInstanceService','_iv','onTransformSelections','_members$','_doFinalize','APPLY_REVISION_CONFILICT','members','IContextService','PERMISSION_DENIED','SOCKET_FAILED','signUrlServerUrl','listRoles','_createSocket','function','dispose','/block/','_changesetReqId','onTransformState','decrypt','actions','onCommentUpdate','DisposableCollection','prototype','createIdentifier','_transformRemoteChangesetByStateCache','subject','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','PERMISSION_REJ','_decreaseWaiting','withCredentials','routeKey','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_createHmacHelper','_sendHeartbeatTimer','origin','localCacheService','_substituteUndoStack','encrypt','getUnit','setShowComponents','UNKNOWN_CMD','csAckEvent','YUUMI_ALL_TABLES_IS_INVALID','_doReset','LocaleService','getFocusedUnit','send','BlockCipherMode','cfg','_snapshotServerService','UniverCollaborationPlugin','_resendTimer','&assign=','fetch_missing','image/png','SheetTransformSelectionsService','buffer','FAIL','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_onRecvEvent','/universer-api/oidc/authpage','fromCollab','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','delay','fetchMiss','_lockTransition','HMAC','HmacSHA1','CollaborativeUndoRedoService','_disableEditing','SOCKET_FAILED_RETRY','_checkMissing','[PendingState]:\x20received\x20acknowledgement.','deserializeToCombResponse','substr','_onUserLeave','ENSURE_SNAPSHOT_EXECUTION','generateRandomId','UnitStatus','_collabSessionService','online$','_unitID','_localeService','onSendChangeset','CollaborationStatus','UUID','_onConnectionOpen','_unlockTransition','collaMsg','ITelemetryService','NOT_FOUND','updateCursorEvent','_onFetchMissResult','pauseCollaboration','_isPermissionRej','close','objectActions','c1Prime','asObservable','LIVESHARE_NEW_HOST','_toggleOffline','StreamCipher','_substituteRedoStack','getRandomValues','LICENSE_MAX_UNITS_EXCEEDED','sid','exports','csShouldRetryEvent','unpad','_commentService','isArray','mode','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','image/jpeg','isTransformMutationsWithChangesetSuccess','entries','touchDependencies','getCollabEntity','_awaitingChangeset','headers','blockSize','_univerInstanceService','_clearRetryConnectingTimer','BufferedBlockAlgorithm','padding','_entities','_clearHeartbeatTimer','?size=','DependentOn','_initRequestHeader','_transformStack','_configService','LICENSE_IMPORT_SIZE_EXCEEDED','_socketReady','subscribe'];_0x1cd9=function(){return _0x31f0aa;};return _0x1cd9();}var ge={'exports':{}},Ee={'exports':{}},Oi=Ee[_0x387fe2(0x387)],Xe;function Ri(){return Xe||(Xe=0x1,function(_0x125054,_0x573864){(function(_0x243c4d,_0x41a5b7){_0x125054['exports']=_0x41a5b7(Q());}(Oi,function(_0x2f1a80){var _0x4b9e16=_0x2609;return(function(){var _0x4de391=_0x2609,_0x2dec31=_0x2f1a80,_0xdc07d0=_0x2dec31['lib'],_0x47e463=_0xdc07d0[_0x4de391(0x3ac)],_0x284fd8=_0xdc07d0[_0x4de391(0x187)],_0x382fe0=_0x2dec31[_0x4de391(0x2cb)],_0x564e79=[],_0x2ad4a5=_0x382fe0[_0x4de391(0x200)]=_0x284fd8[_0x4de391(0x28b)]({'_doReset':function(){var _0x3ed065=_0x4de391;this['_hash']=new _0x47e463[(_0x3ed065(0x22e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x36bc09,_0x2ec2f7){var _0x32f8a4=_0x4de391;for(var _0x2e1d23=this[_0x32f8a4(0x206)][_0x32f8a4(0x1bf)],_0x4dcfaa=_0x2e1d23[0x0],_0x57a059=_0x2e1d23[0x1],_0x28638a=_0x2e1d23[0x2],_0x55d934=_0x2e1d23[0x3],_0x4dc94b=_0x2e1d23[0x4],_0x2de1c0=0x0;_0x2de1c0<0x50;_0x2de1c0++){if(_0x2de1c0<0x10)_0x564e79[_0x2de1c0]=_0x36bc09[_0x2ec2f7+_0x2de1c0]|0x0;else{var _0x10ec30=_0x564e79[_0x2de1c0-0x3]^_0x564e79[_0x2de1c0-0x8]^_0x564e79[_0x2de1c0-0xe]^_0x564e79[_0x2de1c0-0x10];_0x564e79[_0x2de1c0]=_0x10ec30<<0x1|_0x10ec30>>>0x1f;}var _0x47cd02=(_0x4dcfaa<<0x5|_0x4dcfaa>>>0x1b)+_0x4dc94b+_0x564e79[_0x2de1c0];_0x2de1c0<0x14?_0x47cd02+=(_0x57a059&_0x28638a|~_0x57a059&_0x55d934)+0x5a827999:_0x2de1c0<0x28?_0x47cd02+=(_0x57a059^_0x28638a^_0x55d934)+0x6ed9eba1:_0x2de1c0<0x3c?_0x47cd02+=(_0x57a059&_0x28638a|_0x57a059&_0x55d934|_0x28638a&_0x55d934)-0x70e44324:_0x47cd02+=(_0x57a059^_0x28638a^_0x55d934)-0x359d3e2a,_0x4dc94b=_0x55d934,_0x55d934=_0x28638a,_0x28638a=_0x57a059<<0x1e|_0x57a059>>>0x2,_0x57a059=_0x4dcfaa,_0x4dcfaa=_0x47cd02;}_0x2e1d23[0x0]=_0x2e1d23[0x0]+_0x4dcfaa|0x0,_0x2e1d23[0x1]=_0x2e1d23[0x1]+_0x57a059|0x0,_0x2e1d23[0x2]=_0x2e1d23[0x2]+_0x28638a|0x0,_0x2e1d23[0x3]=_0x2e1d23[0x3]+_0x55d934|0x0,_0x2e1d23[0x4]=_0x2e1d23[0x4]+_0x4dc94b|0x0;},'_doFinalize':function(){var _0x37b0e5=_0x4de391,_0xba5f8a=this[_0x37b0e5(0x108)],_0x3214cf=_0xba5f8a[_0x37b0e5(0x1bf)],_0x44a662=this[_0x37b0e5(0x135)]*0x8,_0x395e56=_0xba5f8a[_0x37b0e5(0x421)]*0x8;return _0x3214cf[_0x395e56>>>0x5]|=0x80<<0x18-_0x395e56%0x20,_0x3214cf[(_0x395e56+0x40>>>0x9<<0x4)+0xe]=Math[_0x37b0e5(0x2f5)](_0x44a662/0x100000000),_0x3214cf[(_0x395e56+0x40>>>0x9<<0x4)+0xf]=_0x44a662,_0xba5f8a[_0x37b0e5(0x421)]=_0x3214cf[_0x37b0e5(0x2b4)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x4363f9=_0x4de391,_0x4365dd=_0x284fd8[_0x4363f9(0x29b)]['call'](this);return _0x4365dd[_0x4363f9(0x206)]=this[_0x4363f9(0x206)][_0x4363f9(0x29b)](),_0x4365dd;}});_0x2dec31[_0x4de391(0x200)]=_0x284fd8['_createHelper'](_0x2ad4a5),_0x2dec31[_0x4de391(0x360)]=_0x284fd8[_0x4de391(0x33d)](_0x2ad4a5);}()),_0x2f1a80[_0x4b9e16(0x200)];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},yi=Ce[_0x387fe2(0x387)],Ze;function Ni(){var _0x55b95b=_0x387fe2;return Ze||(Ze=0x1,function(_0x5af7eb,_0x5dec4b){(function(_0x1c5103,_0x53c179){var _0xdcb167=_0x2609;_0x5af7eb[_0xdcb167(0x387)]=_0x53c179(Q());}(yi,function(_0x30dda0){(function(){var _0x40b186=_0x2609,_0x16a2dd=_0x30dda0,_0x56b8ed=_0x16a2dd['lib'],_0x2c99a0=_0x56b8ed['Base'],_0x35825f=_0x16a2dd[_0x40b186(0x11f)],_0x194200=_0x35825f[_0x40b186(0x26b)],_0x52a7be=_0x16a2dd[_0x40b186(0x2cb)];_0x52a7be[_0x40b186(0x35f)]=_0x2c99a0[_0x40b186(0x28b)]({'init':function(_0x260860,_0x243ef6){var _0x123412=_0x40b186;_0x260860=this[_0x123412(0x156)]=new _0x260860['init'](),typeof _0x243ef6==_0x123412(0x424)&&(_0x243ef6=_0x194200[_0x123412(0x3aa)](_0x243ef6));var _0xc639a7=_0x260860[_0x123412(0x395)],_0x557ff4=_0xc639a7*0x4;_0x243ef6['sigBytes']>_0x557ff4&&(_0x243ef6=_0x260860[_0x123412(0x267)](_0x243ef6)),_0x243ef6[_0x123412(0x29e)]();for(var _0x3535a0=this[_0x123412(0x317)]=_0x243ef6[_0x123412(0x29b)](),_0x386988=this[_0x123412(0x2ad)]=_0x243ef6[_0x123412(0x29b)](),_0x2528c9=_0x3535a0['words'],_0x4f72f1=_0x386988[_0x123412(0x1bf)],_0xdbe1b5=0x0;_0xdbe1b5<_0xc639a7;_0xdbe1b5++)_0x2528c9[_0xdbe1b5]^=0x5c5c5c5c,_0x4f72f1[_0xdbe1b5]^=0x36363636;_0x3535a0[_0x123412(0x421)]=_0x386988[_0x123412(0x421)]=_0x557ff4,this[_0x123412(0x142)]();},'reset':function(){var _0x1d772e=_0x40b186,_0x1617dc=this[_0x1d772e(0x156)];_0x1617dc[_0x1d772e(0x142)](),_0x1617dc[_0x1d772e(0x2f2)](this['_iKey']);},'update':function(_0x475741){var _0x18273d=_0x40b186;return this[_0x18273d(0x156)][_0x18273d(0x2f2)](_0x475741),this;},'finalize':function(_0x2e5004){var _0x2d00f9=_0x40b186,_0x159f14=this['_hasher'],_0xcf7b72=_0x159f14[_0x2d00f9(0x267)](_0x2e5004);_0x159f14[_0x2d00f9(0x142)]();var _0x5e7e43=_0x159f14['finalize'](this[_0x2d00f9(0x317)][_0x2d00f9(0x29b)]()[_0x2d00f9(0x3f2)](_0xcf7b72));return _0x5e7e43;}});}());}));}(Ce)),Ce[_0x55b95b(0x387)];}var Di=ge[_0x387fe2(0x387)],Qe;function Ct(){var _0xada2d9=_0x387fe2;return Qe||(Qe=0x1,function(_0x1e8b2d,_0x497b8a){(function(_0x58eedb,_0x1bd74d,_0xae9e7f){_0x1e8b2d['exports']=_0x1bd74d(Q(),Ri(),Ni());}(Di,function(_0x5c107d){var _0x53cc87=_0x2609;return(function(){var _0x41ac5d=_0x2609,_0x245188=_0x5c107d,_0x59feb3=_0x245188[_0x41ac5d(0x248)],_0x4cd11c=_0x59feb3[_0x41ac5d(0x167)],_0x3093e0=_0x59feb3[_0x41ac5d(0x3ac)],_0x1ecb01=_0x245188['algo'],_0x440024=_0x1ecb01[_0x41ac5d(0x194)],_0x4b8f73=_0x1ecb01[_0x41ac5d(0x212)]=_0x4cd11c[_0x41ac5d(0x28b)]({'cfg':_0x4cd11c[_0x41ac5d(0x28b)]({'keySize':0x80/0x20,'hasher':_0x440024,'iterations':0x1}),'init':function(_0x3513d5){var _0x2619a1=_0x41ac5d;this['cfg']=this[_0x2619a1(0x34d)][_0x2619a1(0x28b)](_0x3513d5);},'compute':function(_0x4c7bd6,_0x26f1a2){var _0xa5875a=_0x41ac5d;for(var _0x162e0d,_0x4d2221=this[_0xa5875a(0x34d)],_0x561cac=_0x4d2221[_0xa5875a(0x131)][_0xa5875a(0x189)](),_0x25e3a5=_0x3093e0[_0xa5875a(0x189)](),_0x1a23ef=_0x25e3a5['words'],_0x7ea538=_0x4d2221[_0xa5875a(0x230)],_0x4982f6=_0x4d2221['iterations'];_0x1a23ef[_0xa5875a(0x2b4)]<_0x7ea538;){_0x162e0d&&_0x561cac[_0xa5875a(0x2f2)](_0x162e0d),_0x162e0d=_0x561cac[_0xa5875a(0x2f2)](_0x4c7bd6)[_0xa5875a(0x267)](_0x26f1a2),_0x561cac[_0xa5875a(0x142)]();for(var _0x44766e=0x1;_0x44766e<_0x4982f6;_0x44766e++)_0x162e0d=_0x561cac['finalize'](_0x162e0d),_0x561cac['reset']();_0x25e3a5[_0xa5875a(0x3f2)](_0x162e0d);}return _0x25e3a5[_0xa5875a(0x421)]=_0x7ea538*0x4,_0x25e3a5;}});_0x245188[_0x41ac5d(0x212)]=function(_0x1b2cc1,_0x252d4e,_0xd58f82){var _0x39b354=_0x41ac5d;return _0x4b8f73[_0x39b354(0x189)](_0xd58f82)['compute'](_0x1b2cc1,_0x252d4e);};}()),_0x5c107d[_0x53cc87(0x212)];}));}(ge)),ge[_0xada2d9(0x387)];}var Te={'exports':{}},Ui=Te[_0x387fe2(0x387)],et;function Tt(){var _0x456af8=_0x387fe2;return et||(et=0x1,function(_0x595f1c,_0x200af4){(function(_0x38f081,_0x5e6fcc,_0x275580){var _0xf71cf1=_0x2609;_0x595f1c[_0xf71cf1(0x387)]=_0x5e6fcc(Q(),Ct());}(Ui,function(_0x9e511b){var _0x164c5e=_0x2609;_0x9e511b[_0x164c5e(0x248)]['Cipher']||function(_0x5942c5){var _0xf5e419=_0x164c5e,_0x1981fb=_0x9e511b,_0x16823e=_0x1981fb[_0xf5e419(0x248)],_0x231593=_0x16823e[_0xf5e419(0x167)],_0x26577d=_0x16823e['WordArray'],_0x501399=_0x16823e[_0xf5e419(0x398)],_0x5455a8=_0x1981fb['enc'];_0x5455a8[_0xf5e419(0x26b)];var _0x908985=_0x5455a8[_0xf5e419(0x3d7)],_0x4d72b6=_0x1981fb[_0xf5e419(0x2cb)],_0xcaa97b=_0x4d72b6[_0xf5e419(0x212)],_0x51c7ad=_0x16823e['Cipher']=_0x501399[_0xf5e419(0x28b)]({'cfg':_0x231593['extend'](),'createEncryptor':function(_0x190fcd,_0x1f80d2){var _0x584fa7=_0xf5e419;return this[_0x584fa7(0x189)](this[_0x584fa7(0x2e3)],_0x190fcd,_0x1f80d2);},'createDecryptor':function(_0xbdb689,_0x5a9f65){var _0x59b755=_0xf5e419;return this['create'](this[_0x59b755(0x3d8)],_0xbdb689,_0x5a9f65);},'init':function(_0x33660a,_0xf2ae73,_0x55040a){var _0x5eb26a=_0xf5e419;this[_0x5eb26a(0x34d)]=this['cfg'][_0x5eb26a(0x28b)](_0x55040a),this['_xformMode']=_0x33660a,this['_key']=_0xf2ae73,this['reset']();},'reset':function(){var _0xd7a520=_0xf5e419;_0x501399[_0xd7a520(0x142)][_0xd7a520(0x239)](this),this[_0xd7a520(0x348)]();},'process':function(_0x3bc785){var _0xac6361=_0xf5e419;return this[_0xac6361(0x262)](_0x3bc785),this[_0xac6361(0x28f)]();},'finalize':function(_0xfcb0d9){var _0x504850=_0xf5e419;_0xfcb0d9&&this[_0x504850(0x262)](_0xfcb0d9);var _0x3e2788=this['_doFinalize']();return _0x3e2788;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xd27bd3(_0x1a3f0d){var _0xabae6d=_0x2609;return typeof _0x1a3f0d==_0xabae6d(0x424)?_0x28f239:_0x1e993d;}return function(_0x4a3f07){return{'encrypt':function(_0x47217e,_0x3ae1cf,_0x42915d){var _0x1de05b=_0x2609;return _0xd27bd3(_0x3ae1cf)[_0x1de05b(0x342)](_0x4a3f07,_0x47217e,_0x3ae1cf,_0x42915d);},'decrypt':function(_0x275cf2,_0x4ec6b8,_0x1d0744){var _0x2b5901=_0x2609;return _0xd27bd3(_0x4ec6b8)[_0x2b5901(0x32e)](_0x4a3f07,_0x275cf2,_0x4ec6b8,_0x1d0744);}};};}())});_0x16823e[_0xf5e419(0x382)]=_0x51c7ad['extend']({'_doFinalize':function(){var _0x50627e=_0xf5e419,_0x45200c=this[_0x50627e(0x28f)](!0x0);return _0x45200c;},'blockSize':0x1});var _0x2ed8aa=_0x1981fb['mode']={},_0x3636c2=_0x16823e[_0xf5e419(0x34c)]=_0x231593['extend']({'createEncryptor':function(_0x510649,_0x4c6925){var _0x24a692=_0xf5e419;return this[_0x24a692(0x291)][_0x24a692(0x189)](_0x510649,_0x4c6925);},'createDecryptor':function(_0x2cf06d,_0x2fe24f){var _0x228f26=_0xf5e419;return this[_0x228f26(0x21f)][_0x228f26(0x189)](_0x2cf06d,_0x2fe24f);},'init':function(_0xa9c70b,_0x3cf71b){var _0x21635=_0xf5e419;this[_0x21635(0xe9)]=_0xa9c70b,this['_iv']=_0x3cf71b;}}),_0x59fa9d=_0x2ed8aa[_0xf5e419(0x298)]=(function(){var _0x47ee45=_0xf5e419,_0x32404d=_0x3636c2[_0x47ee45(0x28b)]();_0x32404d[_0x47ee45(0x291)]=_0x32404d[_0x47ee45(0x28b)]({'processBlock':function(_0xc352ff,_0x1f2c4e){var _0x30ae76=_0x47ee45,_0x3acfcd=this[_0x30ae76(0xe9)],_0x1d64d5=_0x3acfcd['blockSize'];_0xb675d8[_0x30ae76(0x239)](this,_0xc352ff,_0x1f2c4e,_0x1d64d5),_0x3acfcd['encryptBlock'](_0xc352ff,_0x1f2c4e),this[_0x30ae76(0x1e4)]=_0xc352ff[_0x30ae76(0xa5)](_0x1f2c4e,_0x1f2c4e+_0x1d64d5);}}),_0x32404d['Decryptor']=_0x32404d[_0x47ee45(0x28b)]({'processBlock':function(_0x35e964,_0xdd445e){var _0x2461ac=_0x47ee45,_0x5457c6=this[_0x2461ac(0xe9)],_0x19e4c2=_0x5457c6[_0x2461ac(0x395)],_0x59b69a=_0x35e964['slice'](_0xdd445e,_0xdd445e+_0x19e4c2);_0x5457c6[_0x2461ac(0x2b5)](_0x35e964,_0xdd445e),_0xb675d8[_0x2461ac(0x239)](this,_0x35e964,_0xdd445e,_0x19e4c2),this[_0x2461ac(0x1e4)]=_0x59b69a;}});function _0xb675d8(_0x483136,_0x1fcb72,_0x178012){var _0x132d39=_0x47ee45,_0x3daadf,_0x3719d4=this['_iv'];_0x3719d4?(_0x3daadf=_0x3719d4,this[_0x132d39(0x31d)]=_0x5942c5):_0x3daadf=this[_0x132d39(0x1e4)];for(var _0xb34a6f=0x0;_0xb34a6f<_0x178012;_0xb34a6f++)_0x483136[_0x1fcb72+_0xb34a6f]^=_0x3daadf[_0xb34a6f];}return _0x32404d;}()),_0x31e68b=_0x1981fb[_0xf5e419(0x251)]={},_0x3420db=_0x31e68b['Pkcs7']={'pad':function(_0x1bdcda,_0x2e47fb){var _0x47d367=_0xf5e419;for(var _0x51c1e1=_0x2e47fb*0x4,_0x341ece=_0x51c1e1-_0x1bdcda['sigBytes']%_0x51c1e1,_0x2b1843=_0x341ece<<0x18|_0x341ece<<0x10|_0x341ece<<0x8|_0x341ece,_0x8dbbe0=[],_0x32136a=0x0;_0x32136a<_0x341ece;_0x32136a+=0x4)_0x8dbbe0[_0x47d367(0x2a6)](_0x2b1843);var _0x35876a=_0x26577d[_0x47d367(0x189)](_0x8dbbe0,_0x341ece);_0x1bdcda[_0x47d367(0x3f2)](_0x35876a);},'unpad':function(_0x42a8bd){var _0x49ce43=_0xf5e419,_0x5e8f3f=_0x42a8bd['words'][_0x42a8bd[_0x49ce43(0x421)]-0x1>>>0x2]&0xff;_0x42a8bd[_0x49ce43(0x421)]-=_0x5e8f3f;}};_0x16823e[_0xf5e419(0x1e5)]=_0x51c7ad[_0xf5e419(0x28b)]({'cfg':_0x51c7ad[_0xf5e419(0x34d)][_0xf5e419(0x28b)]({'mode':_0x59fa9d,'padding':_0x3420db}),'reset':function(){var _0x5ec7de=_0xf5e419,_0x2c9d2e;_0x51c7ad[_0x5ec7de(0x142)][_0x5ec7de(0x239)](this);var _0xff0352=this[_0x5ec7de(0x34d)],_0x7f15e1=_0xff0352['iv'],_0x451275=_0xff0352['mode'];this[_0x5ec7de(0x1de)]==this[_0x5ec7de(0x2e3)]?_0x2c9d2e=_0x451275[_0x5ec7de(0x14c)]:(_0x2c9d2e=_0x451275['createDecryptor'],this[_0x5ec7de(0x122)]=0x1),this[_0x5ec7de(0xd0)]&&this[_0x5ec7de(0xd0)][_0x5ec7de(0x3d2)]==_0x2c9d2e?this['_mode'][_0x5ec7de(0x22e)](this,_0x7f15e1&&_0x7f15e1[_0x5ec7de(0x1bf)]):(this['_mode']=_0x2c9d2e['call'](_0x451275,this,_0x7f15e1&&_0x7f15e1[_0x5ec7de(0x1bf)]),this[_0x5ec7de(0xd0)][_0x5ec7de(0x3d2)]=_0x2c9d2e);},'_doProcessBlock':function(_0x4f64ce,_0x255c0b){var _0x1d0331=_0xf5e419;this[_0x1d0331(0xd0)][_0x1d0331(0x229)](_0x4f64ce,_0x255c0b);},'_doFinalize':function(){var _0x4bb8bf=_0xf5e419,_0x15888e,_0x665c7f=this[_0x4bb8bf(0x34d)]['padding'];return this[_0x4bb8bf(0x1de)]==this[_0x4bb8bf(0x2e3)]?(_0x665c7f[_0x4bb8bf(0x251)](this['_data'],this[_0x4bb8bf(0x395)]),_0x15888e=this['_process'](!0x0)):(_0x15888e=this['_process'](!0x0),_0x665c7f[_0x4bb8bf(0x389)](_0x15888e)),_0x15888e;},'blockSize':0x80/0x20});var _0x3529df=_0x16823e['CipherParams']=_0x231593[_0xf5e419(0x28b)]({'init':function(_0x1fa804){this['mixIn'](_0x1fa804);},'toString':function(_0xb30a2){return(_0xb30a2||this['formatter'])['stringify'](this);}}),_0x2013e5=_0x1981fb[_0xf5e419(0x1a1)]={},_0x30f0fd=_0x2013e5[_0xf5e419(0x25e)]={'stringify':function(_0x166371){var _0xb15e3=_0xf5e419,_0x2afe7a,_0x50b12e=_0x166371[_0xb15e3(0x152)],_0x95026f=_0x166371[_0xb15e3(0x1b7)];return _0x95026f?_0x2afe7a=_0x26577d[_0xb15e3(0x189)]([0x53616c74,0x65645f5f])[_0xb15e3(0x3f2)](_0x95026f)[_0xb15e3(0x3f2)](_0x50b12e):_0x2afe7a=_0x50b12e,_0x2afe7a['toString'](_0x908985);},'parse':function(_0x36963a){var _0x444aff=_0xf5e419,_0x265c5d,_0x212e13=_0x908985[_0x444aff(0x3aa)](_0x36963a),_0x182bc1=_0x212e13[_0x444aff(0x1bf)];return _0x182bc1[0x0]==0x53616c74&&_0x182bc1[0x1]==0x65645f5f&&(_0x265c5d=_0x26577d[_0x444aff(0x189)](_0x182bc1['slice'](0x2,0x4)),_0x182bc1['splice'](0x0,0x4),_0x212e13[_0x444aff(0x421)]-=0x10),_0x3529df['create']({'ciphertext':_0x212e13,'salt':_0x265c5d});}},_0x1e993d=_0x16823e[_0xf5e419(0x308)]=_0x231593[_0xf5e419(0x28b)]({'cfg':_0x231593[_0xf5e419(0x28b)]({'format':_0x30f0fd}),'encrypt':function(_0x1f2673,_0x4541f2,_0x5092db,_0x5dad05){var _0x474e40=_0xf5e419;_0x5dad05=this[_0x474e40(0x34d)]['extend'](_0x5dad05);var _0x4f2b4b=_0x1f2673[_0x474e40(0x14c)](_0x5092db,_0x5dad05),_0x37d0cc=_0x4f2b4b[_0x474e40(0x267)](_0x4541f2),_0x993464=_0x4f2b4b[_0x474e40(0x34d)];return _0x3529df[_0x474e40(0x189)]({'ciphertext':_0x37d0cc,'key':_0x5092db,'iv':_0x993464['iv'],'algorithm':_0x1f2673,'mode':_0x993464[_0x474e40(0x38c)],'padding':_0x993464[_0x474e40(0x399)],'blockSize':_0x1f2673[_0x474e40(0x395)],'formatter':_0x5dad05[_0x474e40(0x1a1)]});},'decrypt':function(_0x3c64a5,_0x42f65b,_0xa20bab,_0xa64e0e){var _0x3883fd=_0xf5e419;_0xa64e0e=this[_0x3883fd(0x34d)][_0x3883fd(0x28b)](_0xa64e0e),_0x42f65b=this[_0x3883fd(0x13f)](_0x42f65b,_0xa64e0e[_0x3883fd(0x1a1)]);var _0x53f71d=_0x3c64a5[_0x3883fd(0x2c0)](_0xa20bab,_0xa64e0e)[_0x3883fd(0x267)](_0x42f65b[_0x3883fd(0x152)]);return _0x53f71d;},'_parse':function(_0x189f93,_0x27a323){var _0x2d4604=_0xf5e419;return typeof _0x189f93==_0x2d4604(0x424)?_0x27a323[_0x2d4604(0x3aa)](_0x189f93,this):_0x189f93;}}),_0x3cb2ae=_0x1981fb[_0xf5e419(0x299)]={},_0x4f84d8=_0x3cb2ae[_0xf5e419(0x25e)]={'execute':function(_0x446c8a,_0x300136,_0x102206,_0x3ea0de,_0x35ebf8){var _0x4b0690=_0xf5e419;if(_0x3ea0de||(_0x3ea0de=_0x26577d[_0x4b0690(0x124)](0x40/0x8)),_0x35ebf8)var _0x42a84c=_0xcaa97b[_0x4b0690(0x189)]({'keySize':_0x300136+_0x102206,'hasher':_0x35ebf8})['compute'](_0x446c8a,_0x3ea0de);else var _0x42a84c=_0xcaa97b[_0x4b0690(0x189)]({'keySize':_0x300136+_0x102206})[_0x4b0690(0x1d0)](_0x446c8a,_0x3ea0de);var _0x2cac84=_0x26577d['create'](_0x42a84c[_0x4b0690(0x1bf)][_0x4b0690(0xa5)](_0x300136),_0x102206*0x4);return _0x42a84c['sigBytes']=_0x300136*0x4,_0x3529df[_0x4b0690(0x189)]({'key':_0x42a84c,'iv':_0x2cac84,'salt':_0x3ea0de});}},_0x28f239=_0x16823e[_0xf5e419(0x1a5)]=_0x1e993d['extend']({'cfg':_0x1e993d[_0xf5e419(0x34d)]['extend']({'kdf':_0x4f84d8}),'encrypt':function(_0x412509,_0x69a6c3,_0x4d1e5b,_0x36419a){var _0x460662=_0xf5e419;_0x36419a=this[_0x460662(0x34d)]['extend'](_0x36419a);var _0x57f379=_0x36419a[_0x460662(0x299)][_0x460662(0x423)](_0x4d1e5b,_0x412509[_0x460662(0x230)],_0x412509[_0x460662(0x247)],_0x36419a[_0x460662(0x1b7)],_0x36419a[_0x460662(0x131)]);_0x36419a['iv']=_0x57f379['iv'];var _0x136dfd=_0x1e993d['encrypt'][_0x460662(0x239)](this,_0x412509,_0x69a6c3,_0x57f379[_0x460662(0x2ac)],_0x36419a);return _0x136dfd['mixIn'](_0x57f379),_0x136dfd;},'decrypt':function(_0x483069,_0x352fb8,_0x505691,_0x470945){var _0x42b74f=_0xf5e419;_0x470945=this['cfg'][_0x42b74f(0x28b)](_0x470945),_0x352fb8=this[_0x42b74f(0x13f)](_0x352fb8,_0x470945['format']);var _0x59b9bb=_0x470945[_0x42b74f(0x299)][_0x42b74f(0x423)](_0x505691,_0x483069['keySize'],_0x483069[_0x42b74f(0x247)],_0x352fb8['salt'],_0x470945[_0x42b74f(0x131)]);_0x470945['iv']=_0x59b9bb['iv'];var _0x2bd7e3=_0x1e993d[_0x42b74f(0x32e)][_0x42b74f(0x239)](this,_0x483069,_0x352fb8,_0x59b9bb[_0x42b74f(0x2ac)],_0x470945);return _0x2bd7e3;}});}();}));}(Te)),Te[_0x456af8(0x387)];}var Ai=fe[_0x387fe2(0x387)],tt;function Pi(){var _0x1e775f=_0x387fe2;return tt||(tt=0x1,function(_0x55e36e,_0x212363){(function(_0x365e6e,_0x39f37a,_0x3ed6c8){var _0x243fdd=_0x2609;_0x55e36e[_0x243fdd(0x387)]=_0x39f37a(Q(),Et(),bi(),Ct(),Tt());}(Ai,function(_0x3eef2a){var _0x49f9eb=_0x2609;return(function(){var _0x5bd268=_0x2609,_0x3e9427=_0x3eef2a,_0xc22d09=_0x3e9427['lib'],_0x338388=_0xc22d09[_0x5bd268(0x1e5)],_0x2fbccb=_0x3e9427['algo'],_0x2e1bb5=[],_0x55f78e=[],_0x2c6555=[],_0x4b69fd=[],_0x59ccfd=[],_0x51e304=[],_0x259d19=[],_0x26c881=[],_0x28694f=[],_0x17a553=[];(function(){for(var _0x563225=[],_0xd68fa8=0x0;_0xd68fa8<0x100;_0xd68fa8++)_0xd68fa8<0x80?_0x563225[_0xd68fa8]=_0xd68fa8<<0x1:_0x563225[_0xd68fa8]=_0xd68fa8<<0x1^0x11b;for(var _0x236ef4=0x0,_0x4aea0f=0x0,_0xd68fa8=0x0;_0xd68fa8<0x100;_0xd68fa8++){var _0x3e960f=_0x4aea0f^_0x4aea0f<<0x1^_0x4aea0f<<0x2^_0x4aea0f<<0x3^_0x4aea0f<<0x4;_0x3e960f=_0x3e960f>>>0x8^_0x3e960f&0xff^0x63,_0x2e1bb5[_0x236ef4]=_0x3e960f,_0x55f78e[_0x3e960f]=_0x236ef4;var _0x84fbbf=_0x563225[_0x236ef4],_0x2bff4d=_0x563225[_0x84fbbf],_0x3f62b5=_0x563225[_0x2bff4d],_0x25010f=_0x563225[_0x3e960f]*0x101^_0x3e960f*0x1010100;_0x2c6555[_0x236ef4]=_0x25010f<<0x18|_0x25010f>>>0x8,_0x4b69fd[_0x236ef4]=_0x25010f<<0x10|_0x25010f>>>0x10,_0x59ccfd[_0x236ef4]=_0x25010f<<0x8|_0x25010f>>>0x18,_0x51e304[_0x236ef4]=_0x25010f;var _0x25010f=_0x3f62b5*0x1010101^_0x2bff4d*0x10001^_0x84fbbf*0x101^_0x236ef4*0x1010100;_0x259d19[_0x3e960f]=_0x25010f<<0x18|_0x25010f>>>0x8,_0x26c881[_0x3e960f]=_0x25010f<<0x10|_0x25010f>>>0x10,_0x28694f[_0x3e960f]=_0x25010f<<0x8|_0x25010f>>>0x18,_0x17a553[_0x3e960f]=_0x25010f,_0x236ef4?(_0x236ef4=_0x84fbbf^_0x563225[_0x563225[_0x563225[_0x3f62b5^_0x84fbbf]]],_0x4aea0f^=_0x563225[_0x563225[_0x4aea0f]]):_0x236ef4=_0x4aea0f=0x1;}}());var _0x471662=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x326cea=_0x2fbccb[_0x5bd268(0x27f)]=_0x338388[_0x5bd268(0x28b)]({'_doReset':function(){var _0x113f40=_0x5bd268,_0x36464f;if(!(this[_0x113f40(0x404)]&&this[_0x113f40(0x1f3)]===this[_0x113f40(0x148)])){for(var _0x420677=this[_0x113f40(0x1f3)]=this['_key'],_0x3c465c=_0x420677[_0x113f40(0x1bf)],_0x221822=_0x420677[_0x113f40(0x421)]/0x4,_0x151e07=this[_0x113f40(0x404)]=_0x221822+0x6,_0x19915d=(_0x151e07+0x1)*0x4,_0x29d925=this[_0x113f40(0x15e)]=[],_0x2eb0f8=0x0;_0x2eb0f8<_0x19915d;_0x2eb0f8++)_0x2eb0f8<_0x221822?_0x29d925[_0x2eb0f8]=_0x3c465c[_0x2eb0f8]:(_0x36464f=_0x29d925[_0x2eb0f8-0x1],_0x2eb0f8%_0x221822?_0x221822>0x6&&_0x2eb0f8%_0x221822==0x4&&(_0x36464f=_0x2e1bb5[_0x36464f>>>0x18]<<0x18|_0x2e1bb5[_0x36464f>>>0x10&0xff]<<0x10|_0x2e1bb5[_0x36464f>>>0x8&0xff]<<0x8|_0x2e1bb5[_0x36464f&0xff]):(_0x36464f=_0x36464f<<0x8|_0x36464f>>>0x18,_0x36464f=_0x2e1bb5[_0x36464f>>>0x18]<<0x18|_0x2e1bb5[_0x36464f>>>0x10&0xff]<<0x10|_0x2e1bb5[_0x36464f>>>0x8&0xff]<<0x8|_0x2e1bb5[_0x36464f&0xff],_0x36464f^=_0x471662[_0x2eb0f8/_0x221822|0x0]<<0x18),_0x29d925[_0x2eb0f8]=_0x29d925[_0x2eb0f8-_0x221822]^_0x36464f);for(var _0x15041c=this[_0x113f40(0x11e)]=[],_0xc5a09=0x0;_0xc5a09<_0x19915d;_0xc5a09++){var _0x2eb0f8=_0x19915d-_0xc5a09;if(_0xc5a09%0x4)var _0x36464f=_0x29d925[_0x2eb0f8];else var _0x36464f=_0x29d925[_0x2eb0f8-0x4];_0xc5a09<0x4||_0x2eb0f8<=0x4?_0x15041c[_0xc5a09]=_0x36464f:_0x15041c[_0xc5a09]=_0x259d19[_0x2e1bb5[_0x36464f>>>0x18]]^_0x26c881[_0x2e1bb5[_0x36464f>>>0x10&0xff]]^_0x28694f[_0x2e1bb5[_0x36464f>>>0x8&0xff]]^_0x17a553[_0x2e1bb5[_0x36464f&0xff]];}}},'encryptBlock':function(_0x230c4d,_0x29303c){var _0xf72f4f=_0x5bd268;this[_0xf72f4f(0x3c9)](_0x230c4d,_0x29303c,this[_0xf72f4f(0x15e)],_0x2c6555,_0x4b69fd,_0x59ccfd,_0x51e304,_0x2e1bb5);},'decryptBlock':function(_0x189689,_0x5370fe){var _0x2493e9=_0x5bd268,_0x3cd636=_0x189689[_0x5370fe+0x1];_0x189689[_0x5370fe+0x1]=_0x189689[_0x5370fe+0x3],_0x189689[_0x5370fe+0x3]=_0x3cd636,this[_0x2493e9(0x3c9)](_0x189689,_0x5370fe,this['_invKeySchedule'],_0x259d19,_0x26c881,_0x28694f,_0x17a553,_0x55f78e);var _0x3cd636=_0x189689[_0x5370fe+0x1];_0x189689[_0x5370fe+0x1]=_0x189689[_0x5370fe+0x3],_0x189689[_0x5370fe+0x3]=_0x3cd636;},'_doCryptBlock':function(_0x490035,_0x2a8bee,_0x5063e5,_0x14ff45,_0x39ddc3,_0x28a0cf,_0x3dce93,_0x432fda){var _0x4c9cb9=_0x5bd268;for(var _0x340cc3=this[_0x4c9cb9(0x404)],_0x58faf7=_0x490035[_0x2a8bee]^_0x5063e5[0x0],_0x423542=_0x490035[_0x2a8bee+0x1]^_0x5063e5[0x1],_0xcac61e=_0x490035[_0x2a8bee+0x2]^_0x5063e5[0x2],_0x5eef48=_0x490035[_0x2a8bee+0x3]^_0x5063e5[0x3],_0x16d105=0x4,_0x4c0d0c=0x1;_0x4c0d0c<_0x340cc3;_0x4c0d0c++){var _0x2d8fb8=_0x14ff45[_0x58faf7>>>0x18]^_0x39ddc3[_0x423542>>>0x10&0xff]^_0x28a0cf[_0xcac61e>>>0x8&0xff]^_0x3dce93[_0x5eef48&0xff]^_0x5063e5[_0x16d105++],_0x39e8ce=_0x14ff45[_0x423542>>>0x18]^_0x39ddc3[_0xcac61e>>>0x10&0xff]^_0x28a0cf[_0x5eef48>>>0x8&0xff]^_0x3dce93[_0x58faf7&0xff]^_0x5063e5[_0x16d105++],_0x215ad5=_0x14ff45[_0xcac61e>>>0x18]^_0x39ddc3[_0x5eef48>>>0x10&0xff]^_0x28a0cf[_0x58faf7>>>0x8&0xff]^_0x3dce93[_0x423542&0xff]^_0x5063e5[_0x16d105++],_0x3bdfbd=_0x14ff45[_0x5eef48>>>0x18]^_0x39ddc3[_0x58faf7>>>0x10&0xff]^_0x28a0cf[_0x423542>>>0x8&0xff]^_0x3dce93[_0xcac61e&0xff]^_0x5063e5[_0x16d105++];_0x58faf7=_0x2d8fb8,_0x423542=_0x39e8ce,_0xcac61e=_0x215ad5,_0x5eef48=_0x3bdfbd;}var _0x2d8fb8=(_0x432fda[_0x58faf7>>>0x18]<<0x18|_0x432fda[_0x423542>>>0x10&0xff]<<0x10|_0x432fda[_0xcac61e>>>0x8&0xff]<<0x8|_0x432fda[_0x5eef48&0xff])^_0x5063e5[_0x16d105++],_0x39e8ce=(_0x432fda[_0x423542>>>0x18]<<0x18|_0x432fda[_0xcac61e>>>0x10&0xff]<<0x10|_0x432fda[_0x5eef48>>>0x8&0xff]<<0x8|_0x432fda[_0x58faf7&0xff])^_0x5063e5[_0x16d105++],_0x215ad5=(_0x432fda[_0xcac61e>>>0x18]<<0x18|_0x432fda[_0x5eef48>>>0x10&0xff]<<0x10|_0x432fda[_0x58faf7>>>0x8&0xff]<<0x8|_0x432fda[_0x423542&0xff])^_0x5063e5[_0x16d105++],_0x3bdfbd=(_0x432fda[_0x5eef48>>>0x18]<<0x18|_0x432fda[_0x58faf7>>>0x10&0xff]<<0x10|_0x432fda[_0x423542>>>0x8&0xff]<<0x8|_0x432fda[_0xcac61e&0xff])^_0x5063e5[_0x16d105++];_0x490035[_0x2a8bee]=_0x2d8fb8,_0x490035[_0x2a8bee+0x1]=_0x39e8ce,_0x490035[_0x2a8bee+0x2]=_0x215ad5,_0x490035[_0x2a8bee+0x3]=_0x3bdfbd;},'keySize':0x100/0x20});_0x3e9427[_0x5bd268(0x27f)]=_0x338388[_0x5bd268(0x133)](_0x326cea);}()),_0x3eef2a[_0x49f9eb(0x27f)];}));}(fe)),fe[_0x1e775f(0x387)];}var wi=Pi();const Mi=ve(wi);var Li=Et();const it=ve(Li);var be={'exports':{}},xi=be[_0x387fe2(0x387)],nt;function ki(){return nt||(nt=0x1,function(_0x4d41ac,_0x258393){(function(_0x52095b,_0x49f286){var _0x53e866=_0x2609;_0x4d41ac[_0x53e866(0x387)]=_0x49f286(Q());}(xi,function(_0x4ef3f4){var _0x47a71b=_0x2609;return _0x4ef3f4[_0x47a71b(0x11f)][_0x47a71b(0x26b)];}));}(be)),be['exports'];}var $i=ki();const Hi=ve($i);var Oe={'exports':{}},ji=Oe[_0x387fe2(0x387)],rt;function Bi(){return rt||(rt=0x1,function(_0x173824,_0x2c5321){(function(_0x4e5235,_0x23ebd7){var _0x1a40a2=_0x2609;_0x173824[_0x1a40a2(0x387)]=_0x23ebd7(Q());}(ji,function(_0x1de62f){var _0x202295=_0x2609;return(function(){var _0x3a6f4c=_0x2609;if(typeof ArrayBuffer=='function'){var _0x1ebb4f=_0x1de62f,_0xc21c3e=_0x1ebb4f[_0x3a6f4c(0x248)],_0x2a5034=_0xc21c3e[_0x3a6f4c(0x3ac)],_0x46ee67=_0x2a5034['init'],_0xdf9c18=_0x2a5034[_0x3a6f4c(0x22e)]=function(_0xf2a32e){var _0x80f8b4=_0x3a6f4c;if(_0xf2a32e instanceof ArrayBuffer&&(_0xf2a32e=new Uint8Array(_0xf2a32e)),(_0xf2a32e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xf2a32e instanceof Uint8ClampedArray||_0xf2a32e instanceof Int16Array||_0xf2a32e instanceof Uint16Array||_0xf2a32e instanceof Int32Array||_0xf2a32e instanceof Uint32Array||_0xf2a32e instanceof Float32Array||_0xf2a32e instanceof Float64Array)&&(_0xf2a32e=new Uint8Array(_0xf2a32e[_0x80f8b4(0x355)],_0xf2a32e[_0x80f8b4(0x3be)],_0xf2a32e[_0x80f8b4(0x22d)])),_0xf2a32e instanceof Uint8Array){for(var _0x32d1bf=_0xf2a32e[_0x80f8b4(0x22d)],_0x1b03de=[],_0x48ba04=0x0;_0x48ba04<_0x32d1bf;_0x48ba04++)_0x1b03de[_0x48ba04>>>0x2]|=_0xf2a32e[_0x48ba04]<<0x18-_0x48ba04%0x4*0x8;_0x46ee67[_0x80f8b4(0x239)](this,_0x1b03de,_0x32d1bf);}else _0x46ee67['apply'](this,arguments);};_0xdf9c18['prototype']=_0x2a5034;}}()),_0x1de62f['lib'][_0x202295(0x3ac)];}));}(Oe)),Oe['exports'];}var Fi=Bi();const Vi=ve(Fi);var Re={'exports':{}},Wi=Re[_0x387fe2(0x387)],st;function Gi(){var _0x1714dc=_0x387fe2;return st||(st=0x1,function(_0xb0bdec,_0x547077){(function(_0x3d7448,_0x121e2b,_0x1aac9b){var _0x51f723=_0x2609;_0xb0bdec[_0x51f723(0x387)]=_0x121e2b(Q(),Tt());}(Wi,function(_0x40fac8){var _0x4fd6be=_0x2609;return _0x40fac8[_0x4fd6be(0x251)][_0x4fd6be(0x1ca)]={'pad':function(){},'unpad':function(){}},_0x40fac8[_0x4fd6be(0x251)][_0x4fd6be(0x1ca)];}));}(Re)),Re[_0x1714dc(0x387)];}var Yi=Gi();const qi=ve(Yi);function Ki(_0xfa606c,_0x4a548e){var _0x6d65bc=_0x387fe2;const _0x29a124=_0x4a548e-_0xfa606c['length']%_0x4a548e,_0xf4db1b=String[_0x6d65bc(0x134)](_0x29a124)[_0x6d65bc(0xab)](_0x29a124);return _0xfa606c+_0xf4db1b;}function zi(_0x5dec61,_0x485749){var _0x20fb91=_0x387fe2;const _0x260c6f=Vi[_0x20fb91(0x124)](0x10),_0x391cf1=Ki(_0x5dec61,0x10),_0x4f28a9=Mi[_0x20fb91(0x342)](Hi[_0x20fb91(0x3aa)](_0x391cf1),it[_0x20fb91(0x3aa)](_0x485749),{'iv':_0x260c6f,'padding':qi});return _0x260c6f[_0x20fb91(0x3f2)](_0x4f28a9[_0x20fb91(0x152)])[_0x20fb91(0x20e)](it);}function Ji(){var _0x1f5c91=_0x387fe2;const _0x56fe63=yt[_0x1f5c91(0x153)]()[_0x1f5c91(0xba)];if(_0x56fe63){const _0x4c537c={'time':Math[_0x1f5c91(0x2f5)](Date[_0x1f5c91(0xc8)]()/0x3e8),'domain':location['hostname']};return zi(JSON[_0x1f5c91(0xe1)](_0x4c537c),_0x56fe63);}}var Xi=Object[_0x387fe2(0xff)],Zi=(_0x1c812d,_0x2ec007,_0x5091ee,_0x1749bc)=>{var _0x163522=_0x387fe2;for(var _0x134746=_0x1749bc>0x1?void 0x0:_0x1749bc?Xi(_0x2ec007,_0x5091ee):_0x2ec007,_0x376b12=_0x1c812d[_0x163522(0x2b4)]-0x1,_0x4c80cd;_0x376b12>=0x0;_0x376b12--)(_0x4c80cd=_0x1c812d[_0x376b12])&&(_0x134746=_0x4c80cd(_0x134746)||_0x134746);return _0x134746;},Qi=(_0x3aa0d1,_0x466039)=>(_0x1fd852,_0x1ef959)=>_0x466039(_0x1fd852,_0x1ef959,_0x3aa0d1);let Ne=class{constructor(_0x4dbe61){var _0x36ace2=_0x387fe2;this[_0x36ace2(0x3da)]=_0x4dbe61,this[_0x36ace2(0x39e)]();}[_0x387fe2(0x39e)](){var _0x558083=_0x387fe2;this[_0x558083(0x3da)][_0x558083(0xde)]({'interceptor':(_0x5bbcaf,_0x15e9c2)=>{var _0xf9779c=_0x558083;const _0xd55834=_0x5bbcaf[_0xf9779c(0x394)],_0x4523ee=Ji();return _0x4523ee&&_0xd55834[_0xf9779c(0x1b1)](_0xf9779c(0x3f5),_0x4523ee),_0x15e9c2(_0x5bbcaf);}});}};Ne=Zi([Qi(0x0,a['Inject'](q[_0x387fe2(0x10b)]))],Ne);var en=Object[_0x387fe2(0xff)],tn=(_0x5d688c,_0x4b04ae,_0x3be99d,_0xdfa24d)=>{var _0x4ff314=_0x387fe2;for(var _0x12203a=_0xdfa24d>0x1?void 0x0:_0xdfa24d?en(_0x4b04ae,_0x3be99d):_0x4b04ae,_0xa994eb=_0x5d688c[_0x4ff314(0x2b4)]-0x1,_0x3b863c;_0xa994eb>=0x0;_0xa994eb--)(_0x3b863c=_0x5d688c[_0xa994eb])&&(_0x12203a=_0x3b863c(_0x12203a)||_0x12203a);return _0x12203a;},we=(_0x24892a,_0x5324c6)=>(_0x51080d,_0x53717d)=>_0x5324c6(_0x51080d,_0x53717d,_0x24892a);exports[_0x387fe2(0x111)]=class extends a[_0x387fe2(0x41a)]{constructor(_0x1083a0,_0x2b83d6,_0x39ffd1){var _0x1ee373=_0x387fe2;super(),A(this,_0x1ee373(0x2a8),new H[(_0x1ee373(0x2bf))](null)),A(this,_0x1ee373(0x215),this['_unitInfo$'][_0x1ee373(0x37f)]()),(this['_logService']=_0x1083a0,this[_0x1ee373(0x2bb)]=_0x2b83d6,this['_localCacheService']=_0x39ffd1);}async[_0x387fe2(0x1cf)](_0x2084a6,_0x27cdb8,_0x2dde19){var _0x1489e2=_0x387fe2;this[_0x1489e2(0x2a8)][_0x1489e2(0x1dc)]({'unitId':_0x2084a6,'type':_0x27cdb8});let _0x1abed8=null;switch(_0x27cdb8){case J[_0x1489e2(0x107)]:{_0x1abed8=await this[_0x1489e2(0x2bb)][_0x1489e2(0x114)](_0x2084a6,_0x2dde19);break;}case J[_0x1489e2(0x2a5)]:{_0x1abed8=await this[_0x1489e2(0x2bb)][_0x1489e2(0x3b9)](_0x2084a6,_0x2dde19);break;}default:{this[_0x1489e2(0x1c3)]['error']('[DataLoaderService]',_0x1489e2(0x1b0));break;}}return _0x1abed8;}async[_0x387fe2(0x2ba)](_0x6fb98e,_0x200019,_0x8b2ff0){var _0x2a2056=_0x387fe2,_0x490c0b;this[_0x2a2056(0x2a8)][_0x2a2056(0x1dc)]({'unitId':_0x6fb98e,'type':_0x200019,'subUnitId':_0x8b2ff0});let _0x2f1852=0x0;const _0x23fd1d=await((_0x490c0b=this[_0x2a2056(0x413)])==null?void 0x0:_0x490c0b['loadOfflineData'](_0x6fb98e));return _0x23fd1d&&(_0x23fd1d[_0x2a2056(0x160)]||_0x23fd1d[_0x2a2056(0x172)]['length']!==0x0)&&(_0x2f1852=_0x23fd1d[_0x2a2056(0x1e2)]),_0x2f1852===0x0&&this['_logService']['debug'](_0x2a2056(0x3c0),_0x2a2056(0x2c1)),this[_0x2a2056(0x1cf)](_0x6fb98e,_0x200019,_0x2f1852);}},exports['DataLoaderService']=tn([we(0x0,a['ILogService']),we(0x1,a[_0x387fe2(0x25f)](p[_0x387fe2(0x2bc)])),we(0x2,a[_0x387fe2(0x209)](K))],exports[_0x387fe2(0x111)]);var nn=Object[_0x387fe2(0xff)],rn=(_0x1d5222,_0x5bd57d,_0x2461b4,_0x46fece)=>{for(var _0x48c119=_0x46fece>0x1?void 0x0:_0x46fece?nn(_0x5bd57d,_0x2461b4):_0x5bd57d,_0x113dc2=_0x1d5222['length']-0x1,_0x29d7fe;_0x113dc2>=0x0;_0x113dc2--)(_0x29d7fe=_0x1d5222[_0x113dc2])&&(_0x48c119=_0x29d7fe(_0x48c119)||_0x48c119);return _0x48c119;},Me=(_0x13ff50,_0x28a1ed)=>(_0x24b0b1,_0x4229aa)=>_0x28a1ed(_0x24b0b1,_0x4229aa,_0x13ff50);const sn=[_0x387fe2(0x353),_0x387fe2(0x38e),_0x387fe2(0x316),'image/gif',_0x387fe2(0xa7)],on=0x5*0x400*0x400,an='/universer-api/stream/file/upload',cn=_0x387fe2(0x1af);exports['CollaborationImageIoService']=class{constructor(_0x12e836,_0x4b1e7f,_0x1db670){var _0x9f4d48=_0x387fe2;A(this,_0x9f4d48(0x1a9),0x0),A(this,_0x9f4d48(0x223),new H[(_0x9f4d48(0x2e1))]()),A(this,_0x9f4d48(0x18d),this[_0x9f4d48(0x223)]),A(this,'_imageSourceCache',new Map()),(this[_0x9f4d48(0x3da)]=_0x12e836,this[_0x9f4d48(0x3a0)]=_0x4b1e7f,this['_univerInstanceService']=_0x1db670);}[_0x387fe2(0x1f9)](_0x3a5f23){var _0x429048=_0x387fe2;this['_waitCount']=_0x3a5f23,this[_0x429048(0x223)]['next'](_0x3a5f23);}['getImageSourceCache'](_0x21dbc7,_0x34e71c){var _0x2ad389=_0x387fe2;if(_0x34e71c===z[_0x2ad389(0x2bd)][_0x2ad389(0x222)]){const _0x1ba501=new Image();return _0x1ba501[_0x2ad389(0x23f)]=_0x21dbc7,_0x1ba501;}return this['_imageSourceCache'][_0x2ad389(0x12a)](_0x21dbc7);}[_0x387fe2(0xe8)](_0x4ecf40,_0x4378b9,_0x37be4a){var _0x582183=_0x387fe2;_0x4378b9===z[_0x582183(0x2bd)][_0x582183(0x222)]||_0x37be4a==null||this['_imageSourceCache'][_0x582183(0x1b1)](_0x4ecf40,_0x37be4a);}async[_0x387fe2(0x23b)](_0x4b76b4){var _0x49210e=_0x387fe2;try{const _0x6521a6=this[_0x49210e(0xc2)](this['_getSignURL'](),''+_0x4b76b4),_0x551226=(await this[_0x49210e(0x3da)][_0x49210e(0x12a)](_0x6521a6))['body'];if(_0x551226[_0x49210e(0x305)]&&_0x551226['error'][_0x49210e(0xca)]===dt['OK']){const _0x162950=new URL(_0x551226['url'],this[_0x49210e(0x3dd)]())[_0x49210e(0x20e)]();return Promise[_0x49210e(0x13e)](_0x162950);}return Promise[_0x49210e(0x208)](_0x551226[_0x49210e(0x305)]);}catch(_0x3e3e83){return Promise[_0x49210e(0x208)](_0x3e3e83);}}async[_0x387fe2(0xda)](_0xc18dcc){var _0x2349d4=_0x387fe2;let _0xdc18ec='';if(!sn['includes'](_0xc18dcc[_0x2349d4(0x2ed)]))return this['_decreaseWaiting'](),Promise[_0x2349d4(0x208)](new Error(z['ImageUploadStatusType'][_0x2349d4(0x17e)]));if(_0xc18dcc['size']>on)return this['_decreaseWaiting'](),Promise[_0x2349d4(0x208)](new Error(z[_0x2349d4(0x258)][_0x2349d4(0xdc)]));try{const _0x2b30f3=new FormData();_0x2b30f3[_0x2349d4(0xc1)]('file',_0xc18dcc);const _0x39a05f=this['_univerInstanceService']['getFocusedUnit'](),_0x2e07c0=_0x39a05f==null?void 0x0:_0x39a05f[_0x2349d4(0x195)]();if(!_0x2e07c0)throw new Error(_0x2349d4(0x110));const _0x40d8a4=this['_getUploadFileURL']()+_0x2349d4(0x39c)+_0xc18dcc[_0x2349d4(0x219)][_0x2349d4(0x20e)]()+'&source='+vt[_0x2349d4(0x3a8)]+_0x2349d4(0x351)+encodeURIComponent(_0x2e07c0),_0xc783e1={'body':_0x2b30f3},_0x1ef060=(await this[_0x2349d4(0x3da)][_0x2349d4(0x1b6)](_0x40d8a4,_0xc783e1))[_0x2349d4(0x1c9)];if(typeof _0x1ef060[_0x2349d4(0x293)]!=_0x2349d4(0x424))return this[_0x2349d4(0x338)](),Promise[_0x2349d4(0x208)](new Error(z['ImageUploadStatusType'][_0x2349d4(0x2dc)]));_0xdc18ec=_0x1ef060['FileId'];}catch{return this[_0x2349d4(0x338)](),Promise[_0x2349d4(0x208)](new Error(z['ImageUploadStatusType'][_0x2349d4(0x2dc)]));}return new Promise((_0x688b16,_0x3afeb9)=>{var _0x49e5f6=_0x2349d4;const _0x16efe5=new FileReader();_0x16efe5[_0x49e5f6(0x18a)](_0xc18dcc),_0x16efe5[_0x49e5f6(0x256)]=_0x4c9cdf=>{var _0x1a96bc=_0x49e5f6,_0x4950d9;const _0x26a9d2=(_0x4950d9=_0x4c9cdf[_0x1a96bc(0x3fb)])==null?void 0x0:_0x4950d9['result'];if(_0x26a9d2==null){this[_0x1a96bc(0x338)](),_0x3afeb9(new Error(z['ImageUploadStatusType'][_0x1a96bc(0x2dc)]));return;}const _0x1c7be4=a[_0x1a96bc(0x36a)](0x6);_0x688b16({'imageId':_0x1c7be4,'imageSourceType':z[_0x1a96bc(0x2bd)][_0x1a96bc(0x372)],'source':_0xdc18ec,'base64Cache':_0x26a9d2,'status':z[_0x1a96bc(0x258)]['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x387fe2(0x250)](){var _0x321b6d=_0x387fe2,_0x22fb70;const _0xf97fb5=this[_0x321b6d(0x3a0)]['getConfig'](Y);return(_0x22fb70=_0xf97fb5==null?void 0x0:_0xf97fb5[_0x321b6d(0x3b3)])!=null?_0x22fb70:an;}[_0x387fe2(0x1ea)](){var _0x8020a6=_0x387fe2,_0x257676;const _0xd56baf=this['_configService'][_0x8020a6(0x19c)](Y);return(_0x257676=_0xd56baf==null?void 0x0:_0xd56baf[_0x8020a6(0x326)])!=null?_0x257676:cn;}['_getDownloadEndpointURL'](){var _0x3a1621=_0x387fe2,_0x11d6c2;const _0x4e01e4=this['_configService'][_0x3a1621(0x19c)](Y);return(_0x11d6c2=_0x4e01e4==null?void 0x0:_0x4e01e4['downloadEndpointUrl'])!=null?_0x11d6c2:location[_0x3a1621(0x33f)];}['_replaceFileID'](_0xbcdc4a,_0x46b5a9){var _0xf8aa77=_0x387fe2;return _0xbcdc4a['replace'](_0xf8aa77(0x240),_0x46b5a9);}['_decreaseWaiting'](){var _0xcd2b83=_0x387fe2;this[_0xcd2b83(0x1a9)]-=0x1,this['_change$'][_0xcd2b83(0x1dc)](this[_0xcd2b83(0x1a9)]);}},exports['CollaborationImageIoService']=rn([Me(0x0,a[_0x387fe2(0x25f)](q[_0x387fe2(0x10b)])),Me(0x1,a['IConfigService']),Me(0x2,a[_0x387fe2(0x25f)](a['IUniverInstanceService']))],exports[_0x387fe2(0x14d)]);var hn=Object[_0x387fe2(0xff)],_n=(_0x1b63cc,_0x305d65,_0x12b3eb,_0x89ada3)=>{var _0x1cb3ed=_0x387fe2;for(var _0x2b6609=_0x89ada3>0x1?void 0x0:_0x89ada3?hn(_0x305d65,_0x12b3eb):_0x305d65,_0x5a1d1a=_0x1b63cc[_0x1cb3ed(0x2b4)]-0x1,_0x32bbac;_0x5a1d1a>=0x0;_0x5a1d1a--)(_0x32bbac=_0x1b63cc[_0x5a1d1a])&&(_0x2b6609=_0x32bbac(_0x2b6609)||_0x2b6609);return _0x2b6609;},ot=(_0x2f4794,_0x16fdff)=>(_0x2c9d9b,_0x47cb97)=>_0x16fdff(_0x2c9d9b,_0x47cb97,_0x2f4794);const ln=_0x387fe2(0x3e1);exports[_0x387fe2(0x22f)]=class{constructor(_0x24381b,_0x548a08){var _0x511ebd=_0x387fe2;this[_0x511ebd(0x3a0)]=_0x24381b,this[_0x511ebd(0x28c)]=_0x548a08;}[_0x387fe2(0x2cd)](){var _0x35bf90=_0x387fe2,_0x5be658;const _0x57ff93=this['_configService'][_0x35bf90(0x19c)](Y);return(_0x5be658=_0x57ff93==null?void 0x0:_0x57ff93[_0x35bf90(0xfa)])!=null?_0x5be658:ln;}async['list'](_0x3f8bca){var _0x562024=_0x387fe2;const _0x29865a=this[_0x562024(0x2cd)]()+_0x562024(0x1ec);return{'list':[{'title':_0x562024(0x418),'mentions':(await this[_0x562024(0x28c)][_0x562024(0x12a)](_0x29865a,{'params':{'objectID':_0x3f8bca[_0x562024(0xe7)],'unitID':_0x3f8bca[_0x562024(0xe7)]}}))['body'][_0x562024(0xae)][_0x562024(0xf0)](_0x340fdb=>({'objectId':_0x340fdb['id'],'name':_0x340fdb[_0x562024(0x335)][_0x562024(0x16a)],'metadata':{'icon':_0x340fdb[_0x562024(0x335)][_0x562024(0x3d4)]},'label':_0x340fdb[_0x562024(0x335)][_0x562024(0x16a)],'objectType':a[_0x562024(0x29c)][_0x562024(0x1dd)]})),'metadata':{},'type':a[_0x562024(0x29c)]['PERSON']}]};}},exports[_0x387fe2(0x22f)]=_n([ot(0x0,a[_0x387fe2(0x25f)](a['IConfigService'])),ot(0x1,a[_0x387fe2(0x25f)](q[_0x387fe2(0x10b)]))],exports[_0x387fe2(0x22f)]);var un=Object[_0x387fe2(0xff)],dn=(_0x2e2b6a,_0x1d3317,_0x1c4846,_0x4c5beb)=>{var _0x583e43=_0x387fe2;for(var _0x5d55c4=_0x4c5beb>0x1?void 0x0:_0x4c5beb?un(_0x1d3317,_0x1c4846):_0x1d3317,_0x2896ca=_0x2e2b6a[_0x583e43(0x2b4)]-0x1,_0x20082d;_0x2896ca>=0x0;_0x2896ca--)(_0x20082d=_0x2e2b6a[_0x2896ca])&&(_0x5d55c4=_0x20082d(_0x5d55c4)||_0x5d55c4);return _0x5d55c4;},le=(_0x2f0790,_0x1072c5)=>(_0x4f5ce8,_0x28fd92)=>_0x1072c5(_0x4f5ce8,_0x28fd92,_0x2f0790);let De=class extends a[_0x387fe2(0x41a)]{constructor(_0x58e40f,_0x120d5b,_0x3ea4f7,_0x44f4c2,_0x1e7b46){var _0x3c741f=_0x387fe2;super(),this['_injector']=_0x58e40f,this['_univerInstanceService']=_0x120d5b,this[_0x3c741f(0x3dc)]=_0x3ea4f7,this[_0x3c741f(0x19d)]=_0x44f4c2,this[_0x3c741f(0x2e8)]=_0x1e7b46,this[_0x3c741f(0x24a)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x3e2803=_0x387fe2;const _0x51b834=async _0xa621b7=>{var _0x203ff3=_0x2609;(await this[_0x203ff3(0x19d)]['requireSession'](_0xa621b7))[_0x203ff3(0xbb)]['pipe'](V[_0x203ff3(0x30f)](_0x54ae14=>_0x54ae14[_0x203ff3(0x2d5)]===p[_0x203ff3(0x184)][_0x203ff3(0x13d)]),V[_0x203ff3(0x1bd)](this[_0x203ff3(0xc3)]))[_0x203ff3(0x3a3)](_0x22e552=>{var _0x499352=_0x203ff3;const _0x4b76ed=_0x22e552,{reason:_0x33da0e}=_0x4b76ed[_0x499352(0xa4)];this[_0x499352(0x2e8)][_0x499352(0x3ea)]({'id':Z[_0x499352(0xf5)],'data':_0x33da0e}),this[_0x499352(0x3dc)][_0x499352(0x21a)](new X[(_0x499352(0x2f1))](_0xa621b7)['id'],!0x1),this[_0x499352(0x19d)][_0x499352(0x2a4)](_0xa621b7);});};H[_0x3e2803(0x155)](this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x3e2803(0xc9)][_0x3e2803(0x107)]),this[_0x3e2803(0x396)][_0x3e2803(0x186)](a[_0x3e2803(0xc9)][_0x3e2803(0x2a5)]))[_0x3e2803(0x3cd)](V[_0x3e2803(0xf0)](_0x33901d=>_0x33901d[_0x3e2803(0x195)]()),V[_0x3e2803(0x30f)](_0x895b57=>!a[_0x3e2803(0x2ee)](_0x895b57)),V['takeUntil'](this['dispose$']))['subscribe'](_0x420eda=>{_0x51b834(_0x420eda);});}[_0x387fe2(0x24a)](){var _0x384533=_0x387fe2;const _0x25f90e=async _0x9f47da=>{var _0xf8a2de=_0x2609;const _0x3f4d53=await this[_0xf8a2de(0x19d)][_0xf8a2de(0x1fc)](_0x9f47da),_0x4501a2=this[_0xf8a2de(0x285)][_0xf8a2de(0x12a)](X[_0xf8a2de(0x2f9)]);_0x3f4d53[_0xf8a2de(0xbb)][_0xf8a2de(0x3cd)](V[_0xf8a2de(0x30f)](_0x5440e4=>_0x5440e4['eventID']===p['CollaborationEvent'][_0xf8a2de(0x2b2)]),V[_0xf8a2de(0x1bd)](this[_0xf8a2de(0xc3)]))['subscribe'](_0x2217c5=>{var _0x4b551e=_0xf8a2de;const _0xa1a5ef=_0x2217c5,{objectId:_0x2810e1}=_0xa1a5ef['data'];_0x2810e1===_0x9f47da?_0x4501a2[_0x4b551e(0x255)](_0x9f47da):_0x4501a2[_0x4b551e(0x20c)](_0x9f47da,_0x2810e1);});};H[_0x384533(0x155)](this[_0x384533(0x396)][_0x384533(0x186)](a['UniverInstanceType'][_0x384533(0x107)]))[_0x384533(0x3cd)](V['map'](_0x1ad807=>_0x1ad807[_0x384533(0x195)]()),V[_0x384533(0x30f)](_0x5e98df=>!a['isInternalEditorID'](_0x5e98df)),V[_0x384533(0x1bd)](this[_0x384533(0xc3)]))['subscribe'](_0x224155=>{_0x25f90e(_0x224155);});}};De=dn([le(0x0,a[_0x387fe2(0x25f)](a['Injector'])),le(0x1,a['IUniverInstanceService']),le(0x2,a['IPermissionService']),le(0x3,a[_0x387fe2(0x25f)](exports[_0x387fe2(0x3e6)])),le(0x4,a[_0x387fe2(0x25f)](ee))],De);var vn=Object['getOwnPropertyDescriptor'],Sn=(_0x9f3302,_0x30b6bc,_0x549bd3,_0x1f0a0f)=>{for(var _0x2aefa7=_0x1f0a0f>0x1?void 0x0:_0x1f0a0f?vn(_0x30b6bc,_0x549bd3):_0x30b6bc,_0x38c16a=_0x9f3302['length']-0x1,_0x84b226;_0x38c16a>=0x0;_0x38c16a--)(_0x84b226=_0x9f3302[_0x38c16a])&&(_0x2aefa7=_0x84b226(_0x2aefa7)||_0x2aefa7);return _0x2aefa7;},at=(_0x3b4482,_0x5f028d)=>(_0x5a8d98,_0x4840bf)=>_0x5f028d(_0x5a8d98,_0x4840bf,_0x3b4482);exports[_0x387fe2(0x205)]=class{constructor(_0x17254d,_0x567b6c){var _0x20d72a=_0x387fe2;this['_configService']=_0x17254d,this[_0x20d72a(0x3da)]=_0x567b6c;}async['getUnitOnRev'](_0x1a3976,_0x465026){var _0x4793ae=_0x387fe2,_0x55ca32;const {unitID:_0x571827,type:_0x25463e,revision:_0x4261e6=0x0}=_0x465026,_0x1cabb6=this[_0x4793ae(0xb1)]()+'/'+_0x25463e+_0x4793ae(0x150)+_0x571827+_0x4793ae(0x1c2)+_0x4261e6,_0x35046d=(await this[_0x4793ae(0x3da)]['get'](_0x1cabb6))['body'],_0x2c7773=(_0x55ca32=_0x35046d['snapshot'])==null?void 0x0:_0x55ca32[_0x4793ae(0x1f6)];if(_0x2c7773){const _0x54c0c0=_0x2c7773==null?void 0x0:_0x2c7773[_0x4793ae(0x202)],_0x57c6e8=p['textEncoder']['encode'](p['b64DecodeUnicode'](_0x54c0c0));_0x2c7773[_0x4793ae(0x202)]=_0x57c6e8,Object[_0x4793ae(0x390)](_0x2c7773[_0x4793ae(0x289)])['forEach'](([,_0x374366])=>{var _0x1b42b4=_0x4793ae;const _0x5e205f=_0x374366[_0x1b42b4(0x202)],_0x36223d=p[_0x1b42b4(0x2ea)][_0x1b42b4(0x1c0)](p[_0x1b42b4(0x144)](_0x5e205f));_0x374366['originalMeta']=_0x36223d;});}return _0x35046d;}async[_0x387fe2(0x20a)](_0x5ab2bc,_0x992400){var _0xcba25e=_0x387fe2;const {unitID:_0x275735,type:_0x501e79,blockID:_0x598592}=_0x992400,_0x239a97=this[_0xcba25e(0x3fe)]()+'/'+_0x501e79+_0xcba25e(0x150)+_0x275735+_0xcba25e(0x32b)+_0x598592;return(await this[_0xcba25e(0x3da)][_0xcba25e(0x12a)](_0x239a97))[_0xcba25e(0x1c9)];}async['getDeserializedSheetBlock'](_0x421405,_0x2e676d){var _0x3ff398=_0x387fe2;const {unitID:_0x242d6f,type:_0x2cf450,blockID:_0x24948a}=_0x2e676d,_0x2e9750=this['_getAPIPrefix']()+'/block/'+_0x2cf450+_0x3ff398(0x150)+_0x242d6f+'/block/'+_0x24948a;return(await this['_httpService'][_0x3ff398(0x12a)](_0x2e9750))[_0x3ff398(0x1c9)];}async[_0x387fe2(0xd6)](_0x4b07ad,_0x2763f8){var _0x4b9824=_0x387fe2;const {unitID:_0x14db52,type:_0x49aea5,from:_0xcfcbd,to:_0x5a0b00}=_0x2763f8,_0x2325c3=this[_0x4b9824(0x3fe)]()+'/'+_0x49aea5+_0x4b9824(0x150)+_0x14db52+_0x4b9824(0xb3)+_0xcfcbd+_0x4b9824(0x22c)+_0x5a0b00;return(await this[_0x4b9824(0x3da)][_0x4b9824(0x12a)](_0x2325c3))[_0x4b9824(0x1c9)];}[_0x387fe2(0xb1)](){var _0x47825e=_0x387fe2,_0x16f2bc;return(_0x16f2bc=this[_0x47825e(0x3a0)]['getConfig'](Dt))!=null?_0x16f2bc:this[_0x47825e(0x3fe)]();}[_0x387fe2(0x3fe)](){var _0x432554=_0x387fe2,_0x46d243;const _0x4d6434=this[_0x432554(0x3a0)][_0x432554(0x19c)](Y);return(_0x46d243=_0x4d6434==null?void 0x0:_0x4d6434[_0x432554(0xc6)])!=null?_0x46d243:Nt;}async[_0x387fe2(0x1ef)](_0x460f1f,_0x5f1e63){var _0x2ff378=_0x387fe2;const _0x49cf1c='/universer-api/snapshot/'+_0x5f1e63[_0x2ff378(0x2ed)]+_0x2ff378(0x150)+_0x5f1e63['unitID']+_0x2ff378(0x19e);return(await this[_0x2ff378(0x3da)][_0x2ff378(0x12a)](_0x49cf1c,{'params':{'resourceId':JSON[_0x2ff378(0xe1)](_0x5f1e63[_0x2ff378(0x3ee)])}}))[_0x2ff378(0x1c9)];}[_0x387fe2(0x3ae)](){var _0xf3b4cf=_0x387fe2;throw new Error(_0xf3b4cf(0x3df));}[_0x387fe2(0x158)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x387fe2(0x2d3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){var _0x2ac81f=_0x387fe2;throw new Error(_0x2ac81f(0x3df));}['copyFileMeta'](){var _0x3f47ad=_0x387fe2;throw new Error(_0x3f47ad(0x3df));}[_0x387fe2(0x12f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x387fe2(0x205)]=Sn([at(0x0,a[_0x387fe2(0x3b6)]),at(0x1,a[_0x387fe2(0x25f)](q[_0x387fe2(0x10b)]))],exports[_0x387fe2(0x205)]);var fn=Object[_0x387fe2(0xff)],In=(_0x18fc71,_0x5a0c6d,_0x3bfcc8,_0x31faa1)=>{var _0x17eedd=_0x387fe2;for(var _0x23d549=_0x31faa1>0x1?void 0x0:_0x31faa1?fn(_0x5a0c6d,_0x3bfcc8):_0x5a0c6d,_0x4c87f9=_0x18fc71[_0x17eedd(0x2b4)]-0x1,_0x2bf0ef;_0x4c87f9>=0x0;_0x4c87f9--)(_0x2bf0ef=_0x18fc71[_0x4c87f9])&&(_0x23d549=_0x2bf0ef(_0x23d549)||_0x23d549);return _0x23d549;},ue=(_0x3392d5,_0x546802)=>(_0x553fad,_0x57a48d)=>_0x546802(_0x553fad,_0x57a48d,_0x3392d5);exports[_0x387fe2(0x361)]=class extends a[_0x387fe2(0x236)]{constructor(_0x1f007c,_0x67cd75,_0x46e887,_0x228285,_0x45c313){var _0x5d9d15=_0x387fe2;super(_0x1f007c,_0x67cd75,_0x46e887),this['_transformService']=_0x228285,this[_0x5d9d15(0x1c3)]=_0x45c313;}[_0x387fe2(0x3d5)](_0x2e5cf3,_0x45ee48){var _0x34ddeb=_0x387fe2;const _0x346731=this['_getUndoStack'](_0x2e5cf3);if(_0x346731)try{const _0x33d16a=this['_transformStack'](_0x346731,_0x45ee48);this['_substituteUndoStack'](_0x2e5cf3,_0x33d16a);}catch(_0x17c8de){this['_logService'][_0x34ddeb(0x305)](_0x34ddeb(0x3b4),_0x17c8de),this[_0x34ddeb(0x313)](_0x2e5cf3);}const _0x18315d=this['_getRedoStack'](_0x2e5cf3);if(_0x18315d)try{const _0x1f33ca=this['_transformStack'](_0x18315d,_0x45ee48);this[_0x34ddeb(0x383)](_0x2e5cf3,_0x1f33ca);}catch(_0x42572d){this[_0x34ddeb(0x1c3)]['error'](_0x42572d),this['_clearRedo'](_0x2e5cf3);}}[_0x387fe2(0x313)](_0x5d67f8){var _0x180bcd=_0x387fe2;const _0x9c479=this[_0x180bcd(0x297)](_0x5d67f8);_0x9c479&&(_0x9c479['length']=0x0,this[_0x180bcd(0x2b7)]());}[_0x387fe2(0x259)](_0x21c640){var _0x2cdb6e=_0x387fe2;const _0x417d7d=this['_getRedoStack'](_0x21c640);_0x417d7d&&(_0x417d7d[_0x2cdb6e(0x2b4)]=0x0,this[_0x2cdb6e(0x2b7)]());}[_0x387fe2(0x341)](_0x2f7428,_0x561cb0){var _0xeaaef7=_0x387fe2;this[_0xeaaef7(0x1e8)][_0xeaaef7(0x1b1)](_0x2f7428,_0x561cb0),this[_0xeaaef7(0x2b7)]();}['_substituteRedoStack'](_0x355d7a,_0x149a59){var _0x51c0ce=_0x387fe2;this[_0x51c0ce(0x1ba)]['set'](_0x355d7a,_0x149a59),this['_updateStatus']();}[_0x387fe2(0x39f)](_0x4d6ccd,_0x290bc5){var _0x3986b6=_0x387fe2;const _0x3c8508=[];let _0x3b5ba8=_0x290bc5,_0x347633=_0x290bc5;for(let _0x3b254f=_0x4d6ccd[_0x3986b6(0x2b4)]-0x1;_0x3b254f>=0x0;_0x3b254f--){const {unitID:_0x5df6c0,undoMutations:_0x3a3692,redoMutations:_0x32a29e}=_0x4d6ccd[_0x3b254f],_0x6d84db=this[_0x3986b6(0x270)][_0x3986b6(0x127)](_0x3b5ba8,_0x3a3692),_0x2d97b8=this['_transformService'][_0x3986b6(0x127)](_0x347633,_0x32a29e);if(p[_0x3986b6(0xd4)](_0x6d84db)||p[_0x3986b6(0xd4)](_0x2d97b8)){this[_0x3986b6(0x1c3)][_0x3986b6(0x305)](_0x3986b6(0x3b4),'transformStack\x20failed!',_0x6d84db,_0x2d97b8);break;}_0x3b5ba8=_0x6d84db[_0x3986b6(0x37e)],_0x347633=_0x2d97b8[_0x3986b6(0x37e)],_0x3c8508[_0x3986b6(0x2a6)]({'unitID':_0x5df6c0,'undoMutations':_0x6d84db['m2Prime'],'redoMutations':_0x2d97b8['m2Prime']});}return _0x3c8508['reverse']();}},exports[_0x387fe2(0x361)]=In([ue(0x0,a['IUniverInstanceService']),ue(0x1,a['ICommandService']),ue(0x2,a[_0x387fe2(0x323)]),ue(0x3,p[_0x387fe2(0x25b)]),ue(0x4,a[_0x387fe2(0x2d9)])],exports[_0x387fe2(0x361)]);var pn=Object['defineProperty'],mn=Object[_0x387fe2(0xff)],gn=(_0xd22f98,_0x14c9d4,_0x2ee269)=>_0x14c9d4 in _0xd22f98?pn(_0xd22f98,_0x14c9d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ee269}):_0xd22f98[_0x14c9d4]=_0x2ee269,En=(_0xc6dfe5,_0x555ae4,_0x44ecc3,_0x54e37a)=>{var _0x148603=_0x387fe2;for(var _0x333bc9=_0x54e37a>0x1?void 0x0:_0x54e37a?mn(_0x555ae4,_0x44ecc3):_0x555ae4,_0x4f4abc=_0xc6dfe5[_0x148603(0x2b4)]-0x1,_0x13f718;_0x4f4abc>=0x0;_0x4f4abc--)(_0x13f718=_0xc6dfe5[_0x4f4abc])&&(_0x333bc9=_0x13f718(_0x333bc9)||_0x333bc9);return _0x333bc9;},Le=(_0x236345,_0x23242b)=>(_0x5df531,_0xa34ebd)=>_0x23242b(_0x5df531,_0xa34ebd,_0x236345),Cn=(_0x2f4c12,_0x36ca8c,_0x53cf71)=>gn(_0x2f4c12,_0x36ca8c+'',_0x53cf71);const Tn=_0x387fe2(0xd8);exports[_0x387fe2(0x16d)]=class extends a['Plugin']{constructor(_0x3bbbcf,_0x246ba1,_0x4434ba,_0x55579b){var _0x1bdf2d=_0x387fe2;super(),A(this,'_config'),(this['_logService']=_0x246ba1,this[_0x1bdf2d(0x285)]=_0x4434ba,this[_0x1bdf2d(0x3a0)]=_0x55579b);const {..._0x110af3}=a[_0x1bdf2d(0x155)]({},Bt,_0x3bbbcf);if(!_0x110af3['socketService'])throw new Error(_0x1bdf2d(0x2d0));this[_0x1bdf2d(0x170)]=_0x110af3,this[_0x1bdf2d(0x3a0)][_0x1bdf2d(0x1cc)](Y,_0x110af3);}['onStarting'](){var _0x5ee504=_0x387fe2;this[_0x5ee504(0x319)](),this['_initDependencies']();}['_registerDependencies'](){var _0x4b4d58=_0x387fe2,_0x38a4f2,_0x597f99;this['_injector']['has'](a[_0x4b4d58(0x106)])&&this[_0x4b4d58(0x1c3)][_0x4b4d58(0x305)](_0x4b4d58(0xe6),_0x4b4d58(0x357));const _0x2b13a8=a[_0x4b4d58(0x23a)]([[a['IUndoRedoService'],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x4b4d58(0x3e6)]],[exports[_0x4b4d58(0xf6)]],[exports['SheetTransformSelectionsService']],[ye],[Ne],[He],[De],[ee],[exports[_0x4b4d58(0x111)]],[$e,{'useClass':this[_0x4b4d58(0x170)][_0x4b4d58(0x2d2)]}],[p['ISnapshotServerService'],{'useClass':exports[_0x4b4d58(0x205)]}],[a[_0x4b4d58(0x3cb)],{'useClass':exports[_0x4b4d58(0x115)]}],[z[_0x4b4d58(0xbe)],{'useClass':exports[_0x4b4d58(0x14d)]}],[a['IMentionIOService'],{'useClass':exports[_0x4b4d58(0x22f)]}],[exports[_0x4b4d58(0x2c3)]],[xe]],(_0x38a4f2=this[_0x4b4d58(0x170)])==null?void 0x0:_0x38a4f2[_0x4b4d58(0x3cf)]);if(!((_0x597f99=this[_0x4b4d58(0x170)])!=null&&_0x597f99[_0x4b4d58(0x407)])){const _0x59b8dd=_0x2b13a8['findIndex'](([_0x2390c0])=>_0x2390c0===de);_0x59b8dd!==-0x1&&_0x2b13a8[_0x4b4d58(0x176)](_0x59b8dd,0x1);}a[_0x4b4d58(0x3f7)](this['_injector'],_0x2b13a8);}[_0x387fe2(0xad)](){var _0x8ab096=_0x387fe2,_0x5a63fa,_0x3c4245,_0x2c936f;this[_0x8ab096(0x285)][_0x8ab096(0x12a)](q[_0x8ab096(0x10b)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q[_0x8ab096(0x3a5)]({'maxParallel':0x6})}),(_0x5a63fa=this[_0x8ab096(0x170)])!=null&&_0x5a63fa[_0x8ab096(0x246)]||(_0x3c4245=this[_0x8ab096(0x285)][_0x8ab096(0x12a)](K,a[_0x8ab096(0x166)]['OPTIONAL']))==null||_0x3c4245[_0x8ab096(0xed)](),(_0x2c936f=this['_config'])!=null&&_0x2c936f['enableAuthServer']&&a[_0x8ab096(0x391)](this['_injector'],[[ye]]),a[_0x8ab096(0x391)](this[_0x8ab096(0x285)],[[Ne],[exports['CollaborationController']],[De]]);}},Cn(exports['UniverCollaborationClientPlugin'],'pluginName',Tn),exports[_0x387fe2(0x16d)]=En([a[_0x387fe2(0x39d)](p[_0x387fe2(0x34f)],q[_0x387fe2(0x26e)]),Le(0x1,a[_0x387fe2(0x2d9)]),Le(0x2,a[_0x387fe2(0x25f)](a['Injector'])),Le(0x3,a['IConfigService'])],exports['UniverCollaborationClientPlugin']),exports[_0x387fe2(0x1aa)]=Y,exports[_0x387fe2(0x371)]=Be,exports[_0x387fe2(0xf1)]=Z,exports[_0x387fe2(0x3de)]=ee,exports[_0x387fe2(0x40a)]=He,exports[_0x387fe2(0x221)]=ht,exports[_0x387fe2(0x30e)]=jt,exports[_0x387fe2(0x2f8)]=At,exports[_0x387fe2(0x3c8)]=_t,exports[_0x387fe2(0x1ab)]=ke,exports['ICollaborationSocketService']=$e,exports[_0x387fe2(0x1bc)]=K,exports[_0x387fe2(0x420)]=St,exports[_0x387fe2(0xf3)]=de,exports[_0x387fe2(0x1fd)]=xt,exports[_0x387fe2(0x275)]=Lt,exports[_0x387fe2(0x38d)]=Ht,exports[_0x387fe2(0x254)]=ut,exports['SessionStatus']=re,exports[_0x387fe2(0x36b)]=je,exports[_0x387fe2(0x366)]=ft,exports['getLocalCacheKey']=ei,exports[_0x387fe2(0x40b)]=It;
|