@univerjs-pro/collaboration-client 0.8.0-nightly.202505261607 → 0.8.0-nightly.202505271607

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/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0xf4019d=_0x3525;(function(_0xf1f2f3,_0x5d73c6){var _0x53a3e3=_0x3525,_0x10de7e=_0xf1f2f3();while(!![]){try{var _0x46928f=-parseInt(_0x53a3e3(0x377))/0x1+-parseInt(_0x53a3e3(0x2ba))/0x2*(-parseInt(_0x53a3e3(0x27d))/0x3)+parseInt(_0x53a3e3(0x37f))/0x4+-parseInt(_0x53a3e3(0x2a6))/0x5+parseInt(_0x53a3e3(0x297))/0x6*(-parseInt(_0x53a3e3(0x44a))/0x7)+-parseInt(_0x53a3e3(0x372))/0x8*(-parseInt(_0x53a3e3(0x1c9))/0x9)+-parseInt(_0x53a3e3(0x40d))/0xa*(parseInt(_0x53a3e3(0x3a4))/0xb);if(_0x46928f===_0x5d73c6)break;else _0x10de7e['push'](_0x10de7e['shift']());}catch(_0x10f194){_0x10de7e['push'](_0x10de7e['shift']());}}}(_0x31aa,0x596cb));var Dt=Object['defineProperty'],At=(_0x825d0b,_0x446277,_0x429675)=>_0x446277 in _0x825d0b?Dt(_0x825d0b,_0x446277,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x429675}):_0x825d0b[_0x446277]=_0x429675,A=(_0x1e4590,_0x3dd9c5,_0x3e5238)=>At(_0x1e4590,typeof _0x3dd9c5!='symbol'?_0x3dd9c5+'':_0x3dd9c5,_0x3e5238);Object[_0xf4019d(0x3f0)](exports,Symbol['toStringTag'],{'value':_0xf4019d(0x2d0)});const a=require(_0xf4019d(0x27c)),$=require(_0xf4019d(0x36c)),V=require(_0xf4019d(0x2a5)),I=require(_0xf4019d(0x3f2)),Y=require(_0xf4019d(0x2d4)),Pt=require(_0xf4019d(0x2b2)),ht=require('@univerjs/docs'),X=require(_0xf4019d(0x4b1)),z=require(_0xf4019d(0x45d)),wt=require(_0xf4019d(0x4c3)),_t=_0xf4019d(0x24c),Lt='/universer-api/snapshot',lt=_0xf4019d(0x29f),Mt=_0xf4019d(0x1a3),xt=0x7d0,ut=_0xf4019d(0x327),dt='ws://127.0.0.1:8000/universer-api/comb/connect',kt='/universer-api/user/session-ticket',vt='HEARTBEAT_INTERVAL',Ht=0x7530,ke='HEARTBEAT_TIMEOUT',St=0x4e20,$t=0x4e20,ft=_0xf4019d(0x3f4),jt=0x3,Bt=_0xf4019d(0x35b),Ft=0x3e8,pt=_0xf4019d(0x333),Vt='/universer-api/comb',It=_0xf4019d(0x2c2),Wt=_0xf4019d(0x4c2),Gt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Kt=_0xf4019d(0x4d1);var gt=(_0x73843f=>(_0x73843f[_0x73843f[_0xf4019d(0x311)]=0x0]='UNDEFINED',_0x73843f[_0x73843f['OK']=0x1]='OK',_0x73843f[_0x73843f[_0xf4019d(0x517)]=0x2]=_0xf4019d(0x517),_0x73843f[_0x73843f[_0xf4019d(0x26b)]=0x3]='PERMISSION_DENIED',_0x73843f[_0x73843f[_0xf4019d(0x25a)]=0x4]=_0xf4019d(0x25a),_0x73843f[_0x73843f['UNAUTHENTICATED']=0x5]=_0xf4019d(0x4b3),_0x73843f[_0x73843f[_0xf4019d(0x3de)]=0x6]=_0xf4019d(0x3de),_0x73843f[_0x73843f[_0xf4019d(0x489)]=0x7]=_0xf4019d(0x489),_0x73843f[_0x73843f[_0xf4019d(0x252)]=0x8]=_0xf4019d(0x252),_0x73843f[_0x73843f[_0xf4019d(0x28e)]=0x9]=_0xf4019d(0x28e),_0x73843f[_0x73843f[_0xf4019d(0x3e7)]=0xa]=_0xf4019d(0x3e7),_0x73843f[_0x73843f[_0xf4019d(0x294)]=0x1389]=_0xf4019d(0x294),_0x73843f[_0x73843f[_0xf4019d(0x490)]=0x1771]=_0xf4019d(0x490),_0x73843f[_0x73843f[_0xf4019d(0x29e)]=0x1772]=_0xf4019d(0x29e),_0x73843f[_0x73843f[_0xf4019d(0x328)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x73843f[_0x73843f[_0xf4019d(0x2fd)]=0x1b59]=_0xf4019d(0x2fd),_0x73843f[_0x73843f[_0xf4019d(0x2d3)]=0x1b5a]=_0xf4019d(0x2d3),_0x73843f[_0x73843f[_0xf4019d(0x221)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x73843f[_0x73843f[_0xf4019d(0x2e2)]=0x1b5c]=_0xf4019d(0x2e2),_0x73843f[_0x73843f[_0xf4019d(0x375)]=0x1b5d]=_0xf4019d(0x375),_0x73843f[_0x73843f[_0xf4019d(0x50f)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x73843f[_0x73843f[_0xf4019d(0x345)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x73843f[_0x73843f[_0xf4019d(0x2bf)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x73843f[_0x73843f[_0xf4019d(0x312)]=0x232b]=_0xf4019d(0x312),_0x73843f[_0x73843f[_0xf4019d(0x20d)]=0x232c]=_0xf4019d(0x20d),_0x73843f[_0x73843f[_0xf4019d(0x256)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x73843f[_0x73843f[_0xf4019d(0x1f9)]=0x2711]=_0xf4019d(0x1f9),_0x73843f[_0x73843f['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xf4019d(0x4bb),_0x73843f[_0x73843f[_0xf4019d(0x44f)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x73843f[_0x73843f[_0xf4019d(0x47d)]=0x2714]=_0xf4019d(0x47d),_0x73843f[_0x73843f[_0xf4019d(0x245)]=0x271a]=_0xf4019d(0x245),_0x73843f[_0x73843f[_0xf4019d(0x251)]=0x271b]=_0xf4019d(0x251),_0x73843f[_0x73843f[_0xf4019d(0x2c8)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x73843f[_0x73843f[_0xf4019d(0x4a7)]=0x271d]=_0xf4019d(0x4a7),_0x73843f[_0x73843f['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0xf4019d(0x257),_0x73843f[_0x73843f['YUUMI_AI_RUN_FAILED']=0x271f]=_0xf4019d(0x2eb),_0x73843f[_0x73843f[_0xf4019d(0x28f)]=0x2af9]=_0xf4019d(0x28f),_0x73843f[_0x73843f[_0xf4019d(0x42c)]=0x2ee1]=_0xf4019d(0x42c),_0x73843f[_0x73843f['INVALID_INVITE_CODE']=0x2ee2]=_0xf4019d(0x1f0),_0x73843f[_0x73843f[_0xf4019d(0x209)]=0x2ee3]=_0xf4019d(0x209),_0x73843f[_0x73843f[_0xf4019d(0x48a)]=0x2ee4]=_0xf4019d(0x48a),_0x73843f[_0x73843f[_0xf4019d(0x21f)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x73843f[_0x73843f[_0xf4019d(0x3c7)]=0x32c9]=_0xf4019d(0x3c7),_0x73843f[_0x73843f[_0xf4019d(0x4de)]=0x32ca]=_0xf4019d(0x4de),_0x73843f[_0x73843f['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x73843f[_0x73843f['UNRECOGNIZED']=-0x1]=_0xf4019d(0x456),_0x73843f))(gt||{}),J=(_0x3a6ee0=>(_0x3a6ee0[_0x3a6ee0[_0xf4019d(0x4f0)]=0x0]=_0xf4019d(0x4f0),_0x3a6ee0[_0x3a6ee0[_0xf4019d(0x23a)]=0x1]=_0xf4019d(0x23a),_0x3a6ee0[_0x3a6ee0[_0xf4019d(0x2a8)]=0x2]='UNIVER_SHEET',_0x3a6ee0[_0x3a6ee0['UNIVER_SLIDE']=0x3]=_0xf4019d(0x2cf),_0x3a6ee0[_0x3a6ee0[_0xf4019d(0x1ba)]=0x4]='UNIVER_PROJECT',_0x3a6ee0[_0x3a6ee0[_0xf4019d(0x456)]=-0x1]=_0xf4019d(0x456),_0x3a6ee0))(J||{}),W=(_0x4cabf1=>(_0x4cabf1[_0x4cabf1[_0xf4019d(0x317)]=0x0]='UNKNOWN_CMD',_0x4cabf1[_0x4cabf1[_0xf4019d(0x216)]=0x1]='HELLO',_0x4cabf1[_0x4cabf1[_0xf4019d(0x1c1)]=0x2]='JOIN',_0x4cabf1[_0x4cabf1[_0xf4019d(0x300)]=0x3]='LEAVE',_0x4cabf1[_0x4cabf1[_0xf4019d(0x447)]=0x4]=_0xf4019d(0x447),_0x4cabf1[_0x4cabf1[_0xf4019d(0x4db)]=0x5]=_0xf4019d(0x4db),_0x4cabf1[_0x4cabf1[_0xf4019d(0x3d3)]=0x6]=_0xf4019d(0x3d3),_0x4cabf1[_0x4cabf1['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4cabf1))(W||{}),oe=(_0x1cbc35=>(_0x1cbc35[_0x1cbc35[_0xf4019d(0x340)]=0x0]=_0xf4019d(0x340),_0x1cbc35[_0x1cbc35['OK']=0x1]='OK',_0x1cbc35[_0x1cbc35[_0xf4019d(0x358)]=0x2]=_0xf4019d(0x358),_0x1cbc35[_0x1cbc35[_0xf4019d(0x401)]=0x3e9]='JOIN_ROOM_FULL',_0x1cbc35[_0x1cbc35[_0xf4019d(0x2de)]=0x3ea]=_0xf4019d(0x2de),_0x1cbc35[_0x1cbc35[_0xf4019d(0x47f)]=0x3eb]=_0xf4019d(0x47f),_0x1cbc35[_0x1cbc35['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x1cbc35[_0x1cbc35['UNRECOGNIZED']=-0x1]=_0xf4019d(0x456),_0x1cbc35))(oe||{}),Et=(_0x34d761=>(_0x34d761[_0x34d761[_0xf4019d(0x241)]=0x0]=_0xf4019d(0x241),_0x34d761[_0x34d761['HttpImport']=0x1]=_0xf4019d(0x1f8),_0x34d761[_0x34d761[_0xf4019d(0x446)]=0x2]=_0xf4019d(0x446),_0x34d761[_0x34d761['UnitEmbedded']=0x3]=_0xf4019d(0x1d5),_0x34d761[_0x34d761[_0xf4019d(0x1ad)]=0x4]=_0xf4019d(0x1ad),_0x34d761[_0x34d761[_0xf4019d(0x461)]=0x5]=_0xf4019d(0x461),_0x34d761[_0x34d761[_0xf4019d(0x456)]=-0x1]=_0xf4019d(0x456),_0x34d761))(Et||{});const K=_0xf4019d(0x393),Yt={};var Z=(_0x20197c=>(_0x20197c[_0xf4019d(0x1fb)]=_0xf4019d(0x1fb),_0x20197c[_0xf4019d(0x26b)]=_0xf4019d(0x26b),_0x20197c[_0xf4019d(0x28b)]=_0xf4019d(0x28b),_0x20197c[_0xf4019d(0x21d)]=_0xf4019d(0x21d),_0x20197c[_0xf4019d(0x2ae)]='JOIN_ROOM_FAILED',_0x20197c[_0xf4019d(0x411)]='SOCKET_FAILED_RETRY',_0x20197c[_0xf4019d(0x1ae)]=_0xf4019d(0x1ae),_0x20197c['SUBMIT_CHANGESET_TIMEOUT']=_0xf4019d(0x474),_0x20197c))(Z||{});class ee{constructor(){var _0x15ccc3=_0xf4019d;A(this,_0x15ccc3(0x30a),new $['Subject']()),A(this,_0x15ccc3(0x1ca),this[_0x15ccc3(0x30a)][_0x15ccc3(0x33f)]());}[_0xf4019d(0x32a)](_0x4f805b){var _0x4eb0c1=_0xf4019d;this[_0x4eb0c1(0x30a)]['next'](_0x4f805b);}}const mt=a['createIdentifier']('univer-pro.collaboration-client.network-condition.service');function Ct(_0x3480eb){var _0x50c6ac=_0xf4019d,_0x5d8a3f,_0x22273f,_0x16b4af,_0x2ec546,_0x110c21;const _0x59b53d=_0x3480eb[_0x50c6ac(0x3c4)],_0x58f058=JSON['parse'](_0x59b53d);switch(_0x58f058[_0x50c6ac(0x3d7)]){case W[_0x50c6ac(0x4db)]:case W['HELLO']:{const _0x4a5bd0=_0x58f058[_0x50c6ac(0x445)];return{..._0x58f058,'data':_0x4a5bd0,'cmd':_0x58f058['cmd']};}case W[_0x50c6ac(0x1c1)]:{const _0x1e717d=_0x58f058[_0x50c6ac(0x3c2)];return{..._0x58f058,'data':_0x1e717d,'cmd':_0x58f058[_0x50c6ac(0x3d7)]};}case W[_0x50c6ac(0x3d3)]:{const _0x292729=_0x58f058[_0x50c6ac(0x231)];switch(_0x292729[_0x50c6ac(0x2cc)]){case I[_0x50c6ac(0x21b)]['PERMISSION_REJ']:return{..._0x58f058,'data':{..._0x292729,'data':(_0x5d8a3f=_0x292729[_0x50c6ac(0x3f8)])==null?void 0x0:_0x5d8a3f['cs']},'cmd':_0x58f058[_0x50c6ac(0x3d7)]};case I['CollaborationEvent'][_0x50c6ac(0x3c6)]:return{..._0x58f058,'data':{..._0x292729,'data':(_0x22273f=_0x292729[_0x50c6ac(0x364)])==null?void 0x0:_0x22273f['cs']},'cmd':_0x58f058[_0x50c6ac(0x3d7)]};case I[_0x50c6ac(0x21b)][_0x50c6ac(0x32e)]:return{..._0x58f058,'data':{..._0x292729,'data':(_0x16b4af=_0x292729[_0x50c6ac(0x2f8)])==null?void 0x0:_0x16b4af['cs']},'cmd':_0x58f058['cmd']};case I[_0x50c6ac(0x21b)][_0x50c6ac(0x2d7)]:return{..._0x58f058,'data':{..._0x292729,'data':(_0x2ec546=_0x292729['csRejEvent'])==null?void 0x0:_0x2ec546['cs']},'cmd':_0x58f058[_0x50c6ac(0x3d7)]};case I['CollaborationEvent'][_0x50c6ac(0x395)]:return{..._0x58f058,'data':{..._0x292729,'data':(_0x110c21=_0x292729[_0x50c6ac(0x390)])==null?void 0x0:_0x110c21['cs']},'cmd':_0x58f058[_0x50c6ac(0x3d7)]};case I[_0x50c6ac(0x21b)][_0x50c6ac(0x232)]:return{..._0x58f058,'data':{..._0x292729,'data':_0x292729[_0x50c6ac(0x1d1)]},'cmd':_0x58f058[_0x50c6ac(0x3d7)]};case I[_0x50c6ac(0x21b)]['USERS_ENTER']:return{..._0x58f058,'data':{..._0x292729,'data':_0x292729[_0x50c6ac(0x44b)]},'cmd':_0x58f058[_0x50c6ac(0x3d7)]};case I['CollaborationEvent'][_0x50c6ac(0x360)]:return{..._0x58f058,'data':{..._0x292729,'data':_0x292729['leaveEvent']},'cmd':_0x58f058[_0x50c6ac(0x3d7)]};case I[_0x50c6ac(0x21b)][_0x50c6ac(0x422)]:return{..._0x58f058,'data':{..._0x292729,'data':_0x292729[_0x50c6ac(0x3d0)]},'cmd':_0x58f058[_0x50c6ac(0x3d7)]};case I[_0x50c6ac(0x21b)][_0x50c6ac(0x1c0)]:case I[_0x50c6ac(0x21b)][_0x50c6ac(0x2a4)]:return{..._0x58f058,'data':{..._0x292729,'data':_0x292729[_0x50c6ac(0x27a)]},'cmd':_0x58f058[_0x50c6ac(0x3d7)]};case I[_0x50c6ac(0x21b)]['LIVESHARE_TERMINATE']:return{..._0x58f058,'data':{..._0x292729,'data':_0x292729[_0x50c6ac(0x3d0)]},'cmd':_0x58f058[_0x50c6ac(0x3d7)]};case I[_0x50c6ac(0x21b)][_0x50c6ac(0x1e4)]:return{..._0x58f058,'data':_0x292729,'cmd':_0x58f058[_0x50c6ac(0x3d7)]};case I[_0x50c6ac(0x21b)][_0x50c6ac(0x499)]:return{..._0x58f058,'data':{..._0x292729,'data':_0x292729['commentUpdateEvent']},'cmd':_0x58f058[_0x50c6ac(0x3d7)]};case I[_0x50c6ac(0x21b)][_0x50c6ac(0x289)]:return{..._0x58f058,'data':{..._0x292729,'data':_0x292729[_0x50c6ac(0x38a)]},'cmd':_0x58f058[_0x50c6ac(0x3d7)]};case I['CollaborationEvent'][_0x50c6ac(0x37a)]:return{..._0x58f058,'data':{..._0x292729,'data':_0x292729['shouldCloseConn']},'cmd':_0x58f058[_0x50c6ac(0x3d7)]};case I[_0x50c6ac(0x21b)]['UNISCRIPT_RUN']:return{..._0x58f058,'data':{..._0x292729,'data':_0x292729['uniscriptRunEvent']},'cmd':_0x58f058['cmd']};default:return _0x58f058;}}default:return _0x58f058;}}function Tt(_0x570d0a){var _0x3c1c54=_0xf4019d;switch(_0x570d0a['cmd']){case W[_0x3c1c54(0x4db)]:case W['HELLO']:return JSON[_0x3c1c54(0x1f7)]({'cmd':_0x570d0a[_0x3c1c54(0x3d7)],'routeKey':_0x570d0a['routeKey']});case W[_0x3c1c54(0x447)]:{let _0x3c4bda;switch(_0x570d0a[_0x3c1c54(0x3c4)][_0x3c1c54(0x2cc)]){case I[_0x3c1c54(0x21b)][_0x3c1c54(0x232)]:{_0x3c4bda={'eventID':I[_0x3c1c54(0x21b)][_0x3c1c54(0x232)],'updateCursorEvent':_0x570d0a[_0x3c1c54(0x3c4)][_0x3c1c54(0x3c4)]};break;}case I[_0x3c1c54(0x21b)][_0x3c1c54(0x360)]:{_0x3c4bda={'eventID':I['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x570d0a['data'][_0x3c1c54(0x3c4)]};break;}case I[_0x3c1c54(0x21b)][_0x3c1c54(0x1b6)]:{_0x3c4bda={'eventID':I['CollaborationEvent'][_0x3c1c54(0x1b6)],'joinEvent':_0x570d0a[_0x3c1c54(0x3c4)]['data']};break;}case I[_0x3c1c54(0x21b)][_0x3c1c54(0x422)]:{_0x3c4bda={'eventID':I[_0x3c1c54(0x21b)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x570d0a[_0x3c1c54(0x3c4)][_0x3c1c54(0x3c4)]};break;}case I['CollaborationEvent'][_0x3c1c54(0x2a4)]:{_0x3c4bda={'eventID':I[_0x3c1c54(0x21b)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x570d0a[_0x3c1c54(0x3c4)]['data']};break;}case I[_0x3c1c54(0x21b)][_0x3c1c54(0x2c0)]:{_0x3c4bda={'eventID':I[_0x3c1c54(0x21b)][_0x3c1c54(0x2c0)],'liveShareTerminate':_0x570d0a[_0x3c1c54(0x3c4)][_0x3c1c54(0x3c4)]};break;}case I[_0x3c1c54(0x21b)][_0x3c1c54(0x30b)]:{_0x3c4bda={'eventID':I[_0x3c1c54(0x21b)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x570d0a[_0x3c1c54(0x3c4)][_0x3c1c54(0x3c4)]};break;}case I[_0x3c1c54(0x21b)][_0x3c1c54(0x1c0)]:{_0x3c4bda={'eventID':I['CollaborationEvent'][_0x3c1c54(0x1c0)]};break;}default:_0x3c4bda={'eventID':_0x570d0a['data'][_0x3c1c54(0x2cc)]};}return JSON['stringify']({'cmd':_0x570d0a[_0x3c1c54(0x3d7)],'routeKey':_0x570d0a[_0x3c1c54(0x4a5)],'collaMsg':_0x3c4bda});}case W[_0x3c1c54(0x1c1)]:return JSON[_0x3c1c54(0x1f7)]({'cmd':_0x570d0a[_0x3c1c54(0x3d7)],'routeKey':_0x570d0a[_0x3c1c54(0x4a5)],'joinReq':_0x570d0a[_0x3c1c54(0x3c4)]});case W['LEAVE']:return JSON[_0x3c1c54(0x1f7)]({'cmd':_0x570d0a[_0x3c1c54(0x3d7)],'routeKey':_0x570d0a[_0x3c1c54(0x4a5)],'leaveReq':_0x570d0a[_0x3c1c54(0x3c4)]});default:throw new Error(_0x3c1c54(0x4bd));}}var qt=Object[_0xf4019d(0x341)],zt=(_0x2df72d,_0x3a026a,_0x2b9387,_0x3d7bd0)=>{var _0x22faf2=_0xf4019d;for(var _0x583137=_0x3d7bd0>0x1?void 0x0:_0x3d7bd0?qt(_0x3a026a,_0x2b9387):_0x3a026a,_0x2ce1f0=_0x2df72d[_0x22faf2(0x20b)]-0x1,_0x1cfb7b;_0x2ce1f0>=0x0;_0x2ce1f0--)(_0x1cfb7b=_0x2df72d[_0x2ce1f0])&&(_0x583137=_0x1cfb7b(_0x583137)||_0x583137);return _0x583137;},_e=(_0x573ba4,_0x27c33a)=>(_0x3444f9,_0x234f06)=>_0x27c33a(_0x3444f9,_0x234f06,_0x573ba4);const He=a[_0xf4019d(0x266)](_0xf4019d(0x332));function Jt(_0x50e1c0,_0x2eecdd,_0x3e4d13){var _0x5ec109=_0xf4019d;return _0x50e1c0+'/'+_0x2eecdd+'/unit/'+_0x3e4d13+_0x5ec109(0x39a);}exports['CollaborationSocketService']=class extends a[_0xf4019d(0x322)]{constructor(_0x1b7f15,_0x3ca6fe,_0x4d2537,_0x1ede38,_0x1c672e){var _0x897c31=_0xf4019d;super(),this[_0x897c31(0x513)]=_0x1b7f15,this[_0x897c31(0x2b5)]=_0x3ca6fe,this['_configService']=_0x4d2537,this[_0x897c31(0x369)]=_0x1ede38,this[_0x897c31(0x4df)]=_0x1c672e;}[_0xf4019d(0x46d)](_0x181372){var _0x4dea86=_0xf4019d;const _0x1fba84=this[_0x4dea86(0x513)][_0x4dea86(0x1fc)](Y['ISocketService']);if(!_0x1fba84)throw new Error(_0x4dea86(0x308));const _0x28a8bb=_0x1fba84[_0x4dea86(0x1f1)](_0x181372);if(!_0x28a8bb)throw new Error(_0x4dea86(0x384));const _0x2649cd=new a[(_0x4dea86(0x20c))](),_0x2f69ed=new $[(_0x4dea86(0x4d6))]();_0x2649cd['add'](_0x28a8bb[_0x4dea86(0x42b)]['subscribe'](_0x50b45b=>_0x2f69ed[_0x4dea86(0x4ff)](_0x50b45b))),_0x2649cd[_0x4dea86(0x473)](a[_0x4dea86(0x420)](()=>_0x2f69ed['complete']()));const _0x533e07=new $[(_0x4dea86(0x4d6))]();_0x2649cd[_0x4dea86(0x473)](_0x28a8bb[_0x4dea86(0x3ad)][_0x4dea86(0x307)](_0x34adff=>_0x533e07[_0x4dea86(0x4ff)](_0x34adff))),_0x2649cd[_0x4dea86(0x473)](a[_0x4dea86(0x420)](()=>_0x533e07[_0x4dea86(0x458)]()));const _0x9cd31e=new $['Subject']();_0x2649cd[_0x4dea86(0x473)](_0x28a8bb[_0x4dea86(0x1b9)][_0x4dea86(0x307)](_0x39d403=>{var _0xfdd40b=_0x4dea86;const _0x4bb189=Ct(_0x39d403);_0x9cd31e[_0xfdd40b(0x4ff)](_0x4bb189);})),_0x2649cd[_0x4dea86(0x473)](a[_0x4dea86(0x420)](()=>_0x9cd31e['complete']()));let _0x5334b9;const _0x2ba643=()=>{var _0x3674e9=_0x4dea86;_0x533e07[_0x3674e9(0x4ff)](new Event(_0x3674e9(0x472))),_0x2f69ed['next'](new Event(_0x3674e9(0x472))),_0x5334b9[_0x3674e9(0x344)]();};return _0x5334b9={'memberID':'','close$':_0x2f69ed['asObservable'](),'error$':_0x533e07['asObservable'](),'open$':_0x28a8bb['open$'],'message$':_0x9cd31e[_0x4dea86(0x33f)](),'send':_0xa76b53=>{var _0x53274e=_0x4dea86;if(_0xa76b53['cmd']===W[_0x53274e(0x447)]){if(_0xa76b53[_0x53274e(0x3c4)][_0x53274e(0x2cc)]===I[_0x53274e(0x21b)]['SUBMIT_CHANGESET']){this[_0x53274e(0x45f)](_0x5334b9,_0xa76b53[_0x53274e(0x3c4)])[_0x53274e(0x4ba)](_0x456b62=>{var _0x26e250=_0x53274e;this[_0x26e250(0x369)]['error'](_0x456b62),_0x2ba643();});return;}if(_0xa76b53[_0x53274e(0x3c4)][_0x53274e(0x2cc)]===I[_0x53274e(0x21b)][_0x53274e(0x1de)]){const _0x1faf6f=_0xa76b53[_0x53274e(0x3c4)];this['_fetchMissChangesets'](_0x1faf6f)['then'](_0x41a324=>{var _0x299923=_0x53274e;_0x9cd31e[_0x299923(0x4ff)]({'cmd':W[_0x299923(0x3d3)],'code':oe['OK'],'routeKey':_0x1faf6f[_0x299923(0x3c4)][_0x299923(0x1a6)],'routeType':'','data':{'eventID':I[_0x299923(0x21b)][_0x299923(0x1e8)],'data':{'changesets':_0x41a324}}});})[_0x53274e(0x4ba)](_0xb7a2fc=>{var _0x37a124=_0x53274e;this[_0x37a124(0x369)][_0x37a124(0x4b8)](_0xb7a2fc),_0x2ba643();});return;}}_0x28a8bb[_0x53274e(0x44d)](Tt(_0xa76b53));},'close':()=>{var _0x2342c7=_0x4dea86;_0x28a8bb[_0x2342c7(0x344)](),_0x2649cd[_0x2342c7(0x22d)]();}},_0x5334b9;}async[_0xf4019d(0x45f)](_0x4b860e,_0x46c564){var _0x104223=_0xf4019d,_0x23215d,_0x32717b;const {unitType:_0x3957df,unitID:_0x16a7f3,changeset:_0x5b566e}=_0x46c564['data'],_0xb2889e={'unitID':_0x16a7f3,'memberID':_0x4b860e['memberID'],'type':_0x3957df,'changeset':I[_0x104223(0x48d)](_0x5b566e)},_0x596def=this[_0x104223(0x3aa)][_0x104223(0x42e)](pt),_0x153984=this['_configService'][_0x104223(0x42e)](K),_0xf997a8=Jt((_0x32717b=(_0x23215d=_0x153984==null?void 0x0:_0x153984[_0x104223(0x280)])!=null?_0x23215d:_0x596def)!=null?_0x32717b:Vt,_0x3957df,_0x16a7f3);try{await this['_httpService'][_0x104223(0x516)](_0xf997a8,{'body':_0xb2889e});}catch(_0xf1a661){throw this['_logService']['error'](_0x104223(0x4f9),'submit\x20changeset\x20error!'),_0xf1a661;}}async[_0xf4019d(0x3b0)](_0x4087ba){var _0x4402e4=_0xf4019d;const {unitID:_0x4b10a2,from:_0x3956af,to:_0x3c506e,unitType:_0xd3d57d}=_0x4087ba[_0x4402e4(0x3c4)];return(await this[_0x4402e4(0x4df)][_0x4402e4(0x2d1)]({'metadata':void 0x0},{'unitID':_0x4b10a2,'type':_0xd3d57d,'from':_0x3956af,'to':_0x3c506e}))[_0x4402e4(0x33d)];}},exports[_0xf4019d(0x381)]=zt([_e(0x0,a['Inject'](a['Injector'])),_e(0x1,a[_0xf4019d(0x404)](Y[_0xf4019d(0x4ad)])),_e(0x2,a[_0xf4019d(0x4f2)]),_e(0x3,a[_0xf4019d(0x2f2)]),_e(0x4,I[_0xf4019d(0x26f)])],exports['CollaborationSocketService']);const Xt=_0xf4019d(0x494);function Zt(_0x499447){return JSON['stringify'](_0x499447)['length'];}class $e{constructor(){var _0x83bb60=_0xf4019d;A(this,_0x83bb60(0x337),new $[(_0x83bb60(0x4d6))]()),A(this,'commentUpdate$',this['_commentUpdate$'][_0x83bb60(0x33f)]());}[_0xf4019d(0x39b)](_0x2e5a88){var _0xee8496=_0xf4019d;this[_0xee8496(0x337)][_0xee8496(0x4ff)](_0x2e5a88);}}var Qt=Object[_0xf4019d(0x341)],ei=(_0x44a53a,_0x33d059,_0x35de6b,_0x8db33f)=>{var _0x1fbdbd=_0xf4019d;for(var _0x2e655c=_0x8db33f>0x1?void 0x0:_0x8db33f?Qt(_0x33d059,_0x35de6b):_0x33d059,_0x19cef6=_0x44a53a[_0x1fbdbd(0x20b)]-0x1,_0x393e25;_0x19cef6>=0x0;_0x19cef6--)(_0x393e25=_0x44a53a[_0x19cef6])&&(_0x2e655c=_0x393e25(_0x2e655c)||_0x2e655c);return _0x2e655c;},We=(_0xc09761,_0x189940)=>(_0x5dae9b,_0x50d060)=>_0x189940(_0x5dae9b,_0x50d060,_0xc09761);exports[_0xf4019d(0x211)]=class extends a[_0xf4019d(0x322)]{constructor(_0x168241,_0x300f33){var _0x42cd11=_0xf4019d;super(),A(this,_0x42cd11(0x434),new Map()),A(this,_0x42cd11(0x2f0),new $[(_0x42cd11(0x4d6))]()),(this[_0x42cd11(0x261)]=_0x168241,this['_userManagerService']=_0x300f33,this[_0x42cd11(0x4fb)]($[_0x42cd11(0x41e)](this[_0x42cd11(0x261)][_0x42cd11(0x2e4)](a[_0x42cd11(0x4c0)][_0x42cd11(0x2a8)])[_0x42cd11(0x25e)](V[_0x42cd11(0x253)](_0x30282f=>_0x30282f[_0x42cd11(0x240)]())),this[_0x42cd11(0x261)][_0x42cd11(0x2e4)](a['UniverInstanceType'][_0x42cd11(0x23a)])[_0x42cd11(0x25e)](V[_0x42cd11(0x253)](_0x309f93=>_0x309f93[_0x42cd11(0x240)]())),this[_0x42cd11(0x261)]['getTypeOfUnitDisposed$'](a[_0x42cd11(0x4c0)][_0x42cd11(0x2cf)])[_0x42cd11(0x25e)](V['map'](_0x29504e=>_0x29504e[_0x42cd11(0x240)]())))['subscribe'](_0x448e06=>this[_0x42cd11(0x1b7)](_0x448e06))));}[_0xf4019d(0x2b7)](_0x1b067f){var _0x111f71=_0xf4019d;return this[_0x111f71(0x434)][_0x111f71(0x42a)](_0x1b067f)?$['of'](this[_0x111f71(0x434)]['get'](_0x1b067f)):this[_0x111f71(0x2f0)][_0x111f71(0x25e)](V[_0x111f71(0x253)](_0xb965cd=>{var _0x2b58e1=_0x111f71;if(_0xb965cd===_0x1b067f)return this['_roomMembers'][_0x2b58e1(0x1fc)](_0xb965cd);}));}['setCurrentUser'](_0x2afdf9){var _0x312b54=_0xf4019d;this[_0x312b54(0x23c)][_0x312b54(0x1d6)](_0x2afdf9);}[_0xf4019d(0x3c3)](){var _0x496567=_0xf4019d;return this[_0x496567(0x23c)][_0x496567(0x3c3)]();}[_0xf4019d(0x331)](_0x4b74a3,_0x340775){var _0x4925da=_0xf4019d;let _0x47f528=this[_0x4925da(0x434)][_0x4925da(0x1fc)](_0x4b74a3);_0x47f528||(_0x47f528=new ti(),this[_0x4925da(0x434)][_0x4925da(0x214)](_0x4b74a3,_0x47f528),this[_0x4925da(0x2f0)][_0x4925da(0x4ff)](_0x4b74a3)),_0x47f528[_0x4925da(0x331)](_0x340775);}[_0xf4019d(0x3f6)](_0x7e0466,_0x369d77){var _0x58ce00=_0xf4019d;const _0xb61fda=this[_0x58ce00(0x434)]['get'](_0x7e0466);_0xb61fda&&_0xb61fda['removeMember'](_0x369d77);}[_0xf4019d(0x1b4)](_0x29e233){var _0x4dd52e=_0xf4019d;return this[_0x4dd52e(0x434)][_0x4dd52e(0x1fc)](_0x29e233);}[_0xf4019d(0x27f)](_0x153c91,_0x3172bd){var _0x51c709=_0xf4019d;const _0x46e83b=this[_0x51c709(0x434)][_0x51c709(0x1fc)](_0x153c91);if(_0x46e83b)return _0x46e83b['getMember'](_0x3172bd);}[_0xf4019d(0x1b7)](_0x43ea30){var _0x1672a2=_0xf4019d;const _0x568791=this[_0x1672a2(0x434)][_0x1672a2(0x1fc)](_0x43ea30);_0x568791&&(_0x568791['dispose'](),this[_0x1672a2(0x434)][_0x1672a2(0x250)](_0x43ea30));}['dispose'](){var _0x51f452=_0xf4019d;this['_roomMembers'][_0x51f452(0x229)](_0x4cf6a6=>_0x4cf6a6['dispose']()),this[_0x51f452(0x434)]['clear'](),this['_roomCreated$'][_0x51f452(0x458)]();}},exports['MemberService']=ei([We(0x0,a[_0xf4019d(0x2d9)]),We(0x1,a[_0xf4019d(0x404)](a[_0xf4019d(0x3a9)]))],exports['MemberService']);class ti extends a[_0xf4019d(0x322)]{constructor(){var _0xf7c47a=_0xf4019d;super(...arguments),A(this,'_members',new Map()),A(this,_0xf7c47a(0x1b8),new $[(_0xf7c47a(0x2f5))](this[_0xf7c47a(0x34e)])),A(this,_0xf7c47a(0x4d3),this[_0xf7c47a(0x1b8)][_0xf7c47a(0x33f)]());}[_0xf4019d(0x22d)](){var _0x51fd9a=_0xf4019d;this['_members'][_0x51fd9a(0x315)]();}[_0xf4019d(0x331)](_0x5879fa){var _0x591558=_0xf4019d;this[_0x591558(0x34e)][_0x591558(0x214)](_0x5879fa[_0x591558(0x45b)],_0x5879fa),this['_emitMembers']();}[_0xf4019d(0x3f6)](_0x45b61f){var _0x14c5be=_0xf4019d;this[_0x14c5be(0x34e)][_0x14c5be(0x250)](_0x45b61f);}['getMember'](_0x44fcf7){var _0x37c337=_0xf4019d;return this[_0x37c337(0x34e)][_0x37c337(0x1fc)](_0x44fcf7);}[_0xf4019d(0x3b4)](){var _0x548f70=_0xf4019d;return Array[_0x548f70(0x1c8)](this['_members'][_0x548f70(0x413)]());}[_0xf4019d(0x1e5)](){var _0x41b0bc=_0xf4019d;this[_0x41b0bc(0x1b8)][_0x41b0bc(0x4ff)](this[_0x41b0bc(0x34e)]);}}var ii=Object[_0xf4019d(0x341)],ni=(_0x7b9606,_0x1061ef,_0x1b785c,_0x3a6116)=>{var _0xcf5ec8=_0xf4019d;for(var _0x3b297a=_0x3a6116>0x1?void 0x0:_0x3a6116?ii(_0x1061ef,_0x1b785c):_0x1061ef,_0x39a1cc=_0x7b9606[_0xcf5ec8(0x20b)]-0x1,_0x4efe6a;_0x39a1cc>=0x0;_0x39a1cc--)(_0x4efe6a=_0x7b9606[_0x39a1cc])&&(_0x3b297a=_0x4efe6a(_0x3b297a)||_0x3b297a);return _0x3b297a;},se=(_0x78250,_0x21030c)=>(_0x58c94f,_0x54e0a6)=>_0x21030c(_0x58c94f,_0x54e0a6,_0x78250),re=(_0x38623e=>(_0x38623e[_0x38623e['IDLE']=0x0]=_0xf4019d(0x496),_0x38623e[_0x38623e[_0xf4019d(0x368)]=0x1]=_0xf4019d(0x368),_0x38623e[_0x38623e[_0xf4019d(0x258)]=0x2]=_0xf4019d(0x258),_0x38623e[_0x38623e[_0xf4019d(0x4ca)]=0x3]='ONLINE',_0x38623e))(re||{});const Ge={[oe['FAIL']]:_0xf4019d(0x408),[oe[_0xf4019d(0x401)]]:_0xf4019d(0x3ac),[oe[_0xf4019d(0x2de)]]:_0xf4019d(0x439),[oe['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[oe[_0xf4019d(0x1bf)]]:'session.room-cnt-exceeds'};exports[_0xf4019d(0x4d9)]=class extends a[_0xf4019d(0x3ae)]{constructor(_0x6cad51,_0x4716f8,_0xc356c,_0xc2d4aa,_0x1f0a2b,_0x4502f4,_0x297a5e,_0x268ca4,_0x3c4792){var _0x46aa14=_0xf4019d;super(),A(this,'_sessionStatus$',new $['BehaviorSubject'](0x0)),A(this,_0x46aa14(0x4cf),this[_0x46aa14(0x45e)][_0x46aa14(0x33f)]()),A(this,_0x46aa14(0x30a),new $[(_0x46aa14(0x4d6))]()),A(this,_0x46aa14(0x1ca),this[_0x46aa14(0x30a)]['asObservable']()),A(this,'_socket'),A(this,_0x46aa14(0x3f5)),A(this,_0x46aa14(0x507)),A(this,'_shouldReportTelemetry',!0x1),A(this,_0x46aa14(0x1bb),null),(this['_unitID']=_0x6cad51,this['_logService']=_0xc356c,this[_0x46aa14(0x3aa)]=_0xc2d4aa,this[_0x46aa14(0x35f)]=_0x1f0a2b,this[_0x46aa14(0x45c)]=_0x4502f4,this[_0x46aa14(0x3b3)]=_0x297a5e,this[_0x46aa14(0x3bf)]=_0x268ca4,this[_0x46aa14(0x1d4)]=_0x3c4792,this[_0x46aa14(0x3df)]=!!this[_0x46aa14(0x1d4)],_0x4716f8[_0x46aa14(0x25e)]($[_0x46aa14(0x4c5)](this[_0x46aa14(0x4af)]))[_0x46aa14(0x307)](_0x2b375f=>{var _0x17bbc5=_0x46aa14,_0x187cc0;typeof _0x2b375f>'u'||(this[_0x17bbc5(0x2fc)]=_0x2b375f,_0x2b375f?(this[_0x17bbc5(0x449)](_0x2b375f),this[_0x17bbc5(0x3f5)]=_0x2b375f[_0x17bbc5(0x1b9)][_0x17bbc5(0x307)](_0x188631=>{var _0x448e3f=_0x17bbc5;_0x188631[_0x448e3f(0x4a5)]===this[_0x448e3f(0x511)]&&this[_0x448e3f(0x425)](_0x188631);})):(this[_0x17bbc5(0x224)](),this[_0x17bbc5(0x45e)][_0x17bbc5(0x4ff)](0x2),(_0x187cc0=this[_0x17bbc5(0x3f5)])==null||_0x187cc0[_0x17bbc5(0x1cf)](),this[_0x17bbc5(0x3f5)]=null));}));}get[_0xf4019d(0x371)](){var _0x11b289=_0xf4019d;return this[_0x11b289(0x45e)][_0x11b289(0x482)]();}['getMemberID'](){var _0x2c0049=_0xf4019d,_0x789611,_0x7993aa;return(_0x7993aa=(_0x789611=this[_0x2c0049(0x2fc)])==null?void 0x0:_0x789611[_0x2c0049(0x45b)])!=null?_0x7993aa:null;}[_0xf4019d(0x22d)](){var _0x5bcfad=_0xf4019d;super[_0x5bcfad(0x22d)](),this[_0x5bcfad(0x4af)][_0x5bcfad(0x4ff)](),this[_0x5bcfad(0x4af)][_0x5bcfad(0x458)]();}['close'](){var _0x37d24c=_0xf4019d,_0x2dd645,_0x57ac92;this[_0x37d24c(0x224)](),(_0x2dd645=this[_0x37d24c(0x2fc)])==null||_0x2dd645[_0x37d24c(0x44d)]({'cmd':W[_0x37d24c(0x300)],'data':{'roomID':this['_unitID']}}),(_0x57ac92=this[_0x37d24c(0x2fc)])==null||_0x57ac92[_0x37d24c(0x344)](),this[_0x37d24c(0x30a)][_0x37d24c(0x458)](),this['_sessionStatus$']['complete'](),this['dispose']();}['_onCombEvent'](_0x28cdc8){var _0x26cdc9=_0xf4019d;_0x28cdc8[_0x26cdc9(0x3d7)]===W['JOIN']?this[_0x26cdc9(0x305)](_0x28cdc8):_0x28cdc8[_0x26cdc9(0x3d7)]===W['RECV']&&this['_onRecvEvent'](_0x28cdc8);}[_0xf4019d(0x449)](_0x59bcb3){var _0xb99c83=_0xf4019d;this['_sessionStatus$']['next'](0x1),_0x59bcb3[_0xb99c83(0x44d)]({'cmd':W[_0xb99c83(0x1c1)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0xb99c83(0x511)]}]}});}[_0xf4019d(0x305)](_0x12faeb){var _0xfc6b92=_0xf4019d,_0x1377fe;if(_0x12faeb['code']in Ge){this[_0xfc6b92(0x3bf)][_0xfc6b92(0x32a)]({'id':Z['JOIN_ROOM_FAILED'],'data':Ge[_0x12faeb[_0xfc6b92(0x4b2)]]}),this[_0xfc6b92(0x45e)][_0xfc6b92(0x4ff)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x2c7e02=(_0x1377fe=_0x12faeb[_0xfc6b92(0x3c4)][_0xfc6b92(0x442)][this['_unitID']])==null?void 0x0:_0x1377fe['members'];_0x2c7e02&&_0x2c7e02[_0xfc6b92(0x229)](_0x30336a=>this[_0xfc6b92(0x45c)][_0xfc6b92(0x331)](this[_0xfc6b92(0x511)],_0x30336a));}[_0xf4019d(0x310)](_0xf5216f){var _0x4db257=_0xf4019d;try{const _0xf1e13c=_0xf5216f['data'];switch(_0xf1e13c[_0x4db257(0x2cc)]){case I[_0x4db257(0x21b)][_0x4db257(0x1b6)]:this[_0x4db257(0x3ea)](_0xf1e13c),this[_0x4db257(0x30a)]['next'](_0xf1e13c);break;case I[_0x4db257(0x21b)][_0x4db257(0x360)]:this[_0x4db257(0x287)](_0xf1e13c),this['_event$'][_0x4db257(0x4ff)](_0xf1e13c);break;case I[_0x4db257(0x21b)][_0x4db257(0x3c6)]:case I[_0x4db257(0x21b)][_0x4db257(0x395)]:this[_0x4db257(0x33b)](),this[_0x4db257(0x260)](),this[_0x4db257(0x30a)][_0x4db257(0x4ff)](_0xf1e13c);break;case I[_0x4db257(0x21b)]['MSG_FOR_ERROR']:this[_0x4db257(0x369)]['error'](_0x4db257(0x26c)+JSON['stringify'](_0xf1e13c)),this[_0x4db257(0x30a)]['next'](_0xf1e13c);break;case I[_0x4db257(0x21b)][_0x4db257(0x499)]:this[_0x4db257(0x3b3)][_0x4db257(0x39b)](_0xf1e13c[_0x4db257(0x3c4)]),this[_0x4db257(0x30a)][_0x4db257(0x4ff)](_0xf1e13c);break;default:this['_event$'][_0x4db257(0x4ff)](_0xf1e13c);}}catch(_0x49512d){this[_0x4db257(0x369)][_0x4db257(0x4b8)](_0x49512d,_0xf5216f);}}[_0xf4019d(0x3ea)](_0x5ef613){var _0x1567a3=_0xf4019d;this[_0x1567a3(0x45c)][_0x1567a3(0x331)](this['_unitID'],_0x5ef613[_0x1567a3(0x3c4)]);}[_0xf4019d(0x287)](_0x515680){var _0x1fd504=_0xf4019d;this['_memberService'][_0x1fd504(0x3f6)](this[_0x1fd504(0x511)],_0x515680[_0x1fd504(0x3c4)][_0x1fd504(0x45b)]);}async[_0xf4019d(0x44d)](_0x225fbc,_0x438ce4){var _0x2da0cb=_0xf4019d;if(this[_0x2da0cb(0x371)]!==0x3||!this[_0x2da0cb(0x2fc)])throw new Error(_0x2da0cb(0x386));try{_0x225fbc[_0x2da0cb(0x2cc)]===I[_0x2da0cb(0x21b)]['SUBMIT_CHANGESET']&&(this[_0x2da0cb(0x1bd)](),this[_0x2da0cb(0x3fe)](_0x225fbc)),this[_0x2da0cb(0x2fc)]['send']({'cmd':W[_0x2da0cb(0x447)],'routeKey':_0x438ce4,'routeType':'','data':_0x225fbc});}catch(_0x5eb584){this[_0x2da0cb(0x369)][_0x2da0cb(0x4b8)](_0x5eb584);}}[_0xf4019d(0x1bd)](){var _0x314fd1=_0xf4019d,_0x4b4cc5;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x42018f=_0x3525;this[_0x42018f(0x507)]=null,this['_collaborationUIEventService'][_0x42018f(0x32a)]({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x4b4cc5=this[_0x314fd1(0x3aa)]['getConfig'](ke))!=null?_0x4b4cc5:St);}[_0xf4019d(0x260)](){var _0x40d3f3=_0xf4019d;this[_0x40d3f3(0x507)]&&(clearTimeout(this[_0x40d3f3(0x507)]),this[_0x40d3f3(0x507)]=null);}[_0xf4019d(0x3fe)](_0x32c919){var _0x2f35ea=_0xf4019d;if(!this[_0x2f35ea(0x3df)])return;const {data:_0x64f090}=_0x32c919,{unitID:_0x2b7348,changeset:_0x42aa75}=_0x64f090,{mutations:_0x334460,type:_0x2d5925}=_0x42aa75;this['_telemetryInfo']={'unitId':_0x2b7348,'type':_0x2d5925,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x334460)};}['_stopTelemetryCollaborationNewChangeset'](){var _0xb65db2=_0xf4019d;if(this[_0xb65db2(0x3df)]){if(!this[_0xb65db2(0x1bb)]){this[_0xb65db2(0x369)][_0xb65db2(0x4b8)](_0xb65db2(0x4f9),_0xb65db2(0x2bd));return;}this[_0xb65db2(0x1bb)][_0xb65db2(0x249)]=performance[_0xb65db2(0x4d5)](),this['_telemetryInfo'][_0xb65db2(0x4e2)]=this[_0xb65db2(0x1bb)]['stopTime']-this[_0xb65db2(0x1bb)][_0xb65db2(0x4a6)],this[_0xb65db2(0x1d4)][_0xb65db2(0x1fa)](Xt,this[_0xb65db2(0x1bb)]),this['_telemetryInfo']=null;}}[_0xf4019d(0x224)](){var _0x53c8f3=_0xf4019d;this[_0x53c8f3(0x1bb)]=null;}},exports['CollaborationSession']=ni([se(0x2,a[_0xf4019d(0x2f2)]),se(0x3,a[_0xf4019d(0x4f2)]),se(0x4,a[_0xf4019d(0x404)](a['LocaleService'])),se(0x5,a[_0xf4019d(0x404)](exports['MemberService'])),se(0x6,a['Inject']($e)),se(0x7,a[_0xf4019d(0x404)](ee)),se(0x8,a['Optional'](Pt[_0xf4019d(0x2e9)]))],exports['CollaborationSession']);var ri=Object[_0xf4019d(0x341)],si=(_0x3b05cb,_0x239829,_0x1ce49e,_0x119a76)=>{for(var _0x447630=_0x119a76>0x1?void 0x0:_0x119a76?ri(_0x239829,_0x1ce49e):_0x239829,_0x51c373=_0x3b05cb['length']-0x1,_0x2b3ff0;_0x51c373>=0x0;_0x51c373--)(_0x2b3ff0=_0x3b05cb[_0x51c373])&&(_0x447630=_0x2b3ff0(_0x447630)||_0x447630);return _0x447630;},he=(_0x52df8c,_0x45c99c)=>(_0x3b5ae4,_0x2f2328)=>_0x45c99c(_0x3b5ae4,_0x2f2328,_0x52df8c);exports['CollaborationSessionService']=class extends a['Disposable']{constructor(_0x46941a,_0x484687,_0x296a84,_0x4dffdc,_0x293ac3,_0x2b71f9){var _0x990421=_0xf4019d;super(),A(this,_0x990421(0x201),new $[(_0x990421(0x2f5))](void 0x0)),A(this,_0x990421(0x40c),this[_0x990421(0x201)][_0x990421(0x33f)]()),A(this,_0x990421(0x1b2),null),A(this,_0x990421(0x50e),new Map()),A(this,_0x990421(0x409),new $[(_0x990421(0x2f5))](re[_0x990421(0x496)])),A(this,_0x990421(0x313),this[_0x990421(0x409)][_0x990421(0x33f)]()),A(this,_0x990421(0x37b),!0x1),A(this,_0x990421(0x3b1)),A(this,_0x990421(0x319),0x0),A(this,_0x990421(0x42d)),A(this,'_timeoutTimer'),(this[_0x990421(0x513)]=_0x46941a,this[_0x990421(0x369)]=_0x484687,this[_0x990421(0x3aa)]=_0x296a84,this[_0x990421(0x4a9)]=_0x4dffdc,this[_0x990421(0x3bf)]=_0x293ac3,this[_0x990421(0x470)]=_0x2b71f9,this['_listenToNetworkCondition']());}get[_0xf4019d(0x2fc)](){var _0x24ad2f=_0xf4019d;return this[_0x24ad2f(0x201)][_0x24ad2f(0x482)]();}[_0xf4019d(0x40b)](){var _0x4e8725=_0xf4019d;this[_0x4e8725(0x470)]&&this[_0x4e8725(0x4fb)](this[_0x4e8725(0x470)][_0x4e8725(0x4d2)][_0x4e8725(0x307)](_0x66a3b5=>{var _0x332be4=_0x4e8725;_0x66a3b5&&!this[_0x332be4(0x2fc)]&&this['reconnect'](),_0x66a3b5||this['_onOffline']();}));}[_0xf4019d(0x22d)](){var _0x12a803=_0xf4019d;super['dispose'](),this[_0x12a803(0x38f)](),this['_clearTimeoutTimer'](),this[_0x12a803(0x477)](),this[_0x12a803(0x50e)][_0x12a803(0x229)](_0x16dd12=>_0x16dd12['dispose']()),this[_0x12a803(0x50e)]['clear'](),this[_0x12a803(0x409)][_0x12a803(0x458)]();}async[_0xf4019d(0x391)](_0x26fd82){var _0x42c89f=_0xf4019d;if(this['_sessions'][_0x42c89f(0x42a)](_0x26fd82))return this[_0x42c89f(0x50e)][_0x42c89f(0x1fc)](_0x26fd82);this[_0x42c89f(0x34f)]();const _0x2cecfd=this['_injector'][_0x42c89f(0x35a)](exports[_0x42c89f(0x4d9)],_0x26fd82,this['_socket$'][_0x42c89f(0x33f)]());return this[_0x42c89f(0x50e)][_0x42c89f(0x214)](_0x26fd82,_0x2cecfd),_0x2cecfd;}[_0xf4019d(0x1a7)](_0x4f03bc){var _0x48f11c=_0xf4019d,_0x45b910;const _0x32b66c=this[_0x48f11c(0x50e)][_0x48f11c(0x1fc)](_0x4f03bc);_0x32b66c&&(this[_0x48f11c(0x50e)]['delete'](_0x4f03bc),_0x32b66c[_0x48f11c(0x344)]()),this[_0x48f11c(0x50e)][_0x48f11c(0x27e)]||(_0x45b910=this[_0x48f11c(0x2fc)])==null||_0x45b910['close']();}[_0xf4019d(0x438)](){var _0x4fe1be=_0xf4019d;this[_0x4fe1be(0x319)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}[_0xf4019d(0x38f)](){var _0xd0fe71=_0xf4019d;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0xd0fe71(0x3b1)]),this[_0xd0fe71(0x3b1)]=null);}async[_0xf4019d(0x4b9)](){var _0x46ab9d=_0xf4019d,_0x35efc1,_0x3da0c1;const _0x18cbcf=this[_0x46ab9d(0x3aa)][_0x46ab9d(0x42e)](ut),_0x2a8125=this[_0x46ab9d(0x3aa)][_0x46ab9d(0x42e)](K),_0x52c75e=(_0x3da0c1=(_0x35efc1=_0x2a8125==null?void 0x0:_0x2a8125['collabWebSocketUrl'])!=null?_0x35efc1:_0x18cbcf)!=null?_0x3da0c1:dt,_0x1631da=await this[_0x46ab9d(0x4a9)][_0x46ab9d(0x1f1)](_0x52c75e);return this[_0x46ab9d(0x1b2)]=_0x1631da,_0x1631da;}async[_0xf4019d(0x34f)](){var _0x375169=_0xf4019d,_0xa7c8ab,_0x1af2eb;try{const _0x396c34=(_0x1af2eb=(_0xa7c8ab=this['_socket'])!=null?_0xa7c8ab:this[_0x375169(0x1b2)])!=null?_0x1af2eb:await this[_0x375169(0x4b9)]();if(_0x396c34){const _0x3e25af=_0x396c34[_0x375169(0x44d)];_0x396c34['send']=_0x3fb608=>(this[_0x375169(0x1e2)](),_0x3e25af['apply'](_0x396c34,[_0x3fb608])),_0x396c34[_0x375169(0x1b9)][_0x375169(0x307)](_0x4837ab=>this['_onMessage'](_0x396c34,_0x4837ab)),_0x396c34[_0x375169(0x3ad)][_0x375169(0x25e)](V['take'](0x1))[_0x375169(0x307)](_0x17c76b=>this[_0x375169(0x369)]['error'](_0x375169(0x3da),_0x17c76b)),_0x396c34[_0x375169(0x3dd)][_0x375169(0x25e)](V['take'](0x1))[_0x375169(0x307)](()=>{var _0x40dbc1=_0x375169;this[_0x40dbc1(0x495)](_0x396c34);}),_0x396c34[_0x375169(0x42b)]['pipe'](V['take'](0x1))['subscribe'](_0x50dd6e=>{var _0x18b363=_0x375169;this['_logService'][_0x18b363(0x267)]('[CollaborationSessionService]',_0x18b363(0x21e),_0x50dd6e),this[_0x18b363(0x1ea)]();});}}catch(_0xb24603){this['_logService'][_0x375169(0x4b8)](_0xb24603),this[_0x375169(0x1ea)]();}}[_0xf4019d(0x495)](_0x13d234){var _0x3f516d=_0xf4019d;this[_0x3f516d(0x369)]['debug'](_0x3f516d(0x3b9),_0x3f516d(0x3dc)),_0x13d234[_0x3f516d(0x44d)]({'cmd':W['HELLO']}),this[_0x3f516d(0x1e2)]();}[_0xf4019d(0x354)](){var _0x398411=_0xf4019d;this[_0x398411(0x37b)]=!0x1,this['_candidateSocket']=null,this[_0x398411(0x409)][_0x398411(0x4ff)](re['OFFLINE']),this[_0x398411(0x201)][_0x398411(0x4ff)](null),this[_0x398411(0x4cd)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x56ca43=_0xf4019d,_0x5a4435;this[_0x56ca43(0x354)](),this[_0x56ca43(0x319)]<((_0x5a4435=this['_configService']['getConfig'](ft))!=null?_0x5a4435:jt)?(this['_collaborationUIEventService'][_0x56ca43(0x32a)]({'id':Z['SOCKET_FAILED_RETRY']}),this[_0x56ca43(0x421)]()):this['_collaborationUIEventService'][_0x56ca43(0x32a)]({'id':Z[_0x56ca43(0x1ae)]});}[_0xf4019d(0x421)](){var _0x47b4b3=_0xf4019d,_0x4ced66;const _0x4b6bbd=this[_0x47b4b3(0x319)],_0x5c445a=this[_0x47b4b3(0x3aa)][_0x47b4b3(0x42e)](K),_0x12460a=_0x4b6bbd===0x0?0x0:((_0x4ced66=_0x5c445a==null?void 0x0:_0x5c445a['retryConnectingInterval'])!=null?_0x4ced66:$t)*0x2**_0x4b6bbd;this[_0x47b4b3(0x3b1)]=setTimeout(()=>{var _0xe3dd41=_0x47b4b3;clearTimeout(this[_0xe3dd41(0x3b1)]),this['_retryConnectingTimer']=null,this[_0xe3dd41(0x34f)]();},_0x12460a),this[_0x47b4b3(0x319)]+=0x1;}[_0xf4019d(0x415)](_0xab1293,_0x3a4909){var _0x44fcfb=_0xf4019d;const {cmd:_0x4a5662}=_0x3a4909;_0x4a5662===W[_0x44fcfb(0x216)]&&!this[_0x44fcfb(0x37b)]&&(_0xab1293[_0x44fcfb(0x45b)]=_0x3a4909['data'][_0x44fcfb(0x45b)],this['_socket$'][_0x44fcfb(0x4ff)](_0xab1293),this['_status$'][_0x44fcfb(0x4ff)](re[_0x44fcfb(0x4ca)]),this[_0x44fcfb(0x37b)]=!0x0,this[_0x44fcfb(0x1b2)]=null),_0x4a5662===W[_0x44fcfb(0x4db)]&&this[_0x44fcfb(0x4cd)](),this[_0x44fcfb(0x1e2)]();}[_0xf4019d(0x1e2)](){var _0x35dbf3=_0xf4019d,_0x39dbdb;this[_0x35dbf3(0x477)](),this[_0x35dbf3(0x42d)]=setTimeout(()=>this[_0x35dbf3(0x383)](),(_0x39dbdb=this[_0x35dbf3(0x3aa)][_0x35dbf3(0x42e)](vt))!=null?_0x39dbdb:Ht);}[_0xf4019d(0x383)](){var _0xdb0cc0=_0xf4019d;this[_0xdb0cc0(0x2fc)][_0xdb0cc0(0x44d)]({'cmd':W[_0xdb0cc0(0x4db)]}),this[_0xdb0cc0(0x459)]();}[_0xf4019d(0x459)](){var _0x49a66a=_0xf4019d,_0x14ba7f;this[_0x49a66a(0x1c4)]=setTimeout(()=>this[_0x49a66a(0x1ea)](),(_0x14ba7f=this[_0x49a66a(0x3aa)][_0x49a66a(0x42e)](ke))!=null?_0x14ba7f:St);}['_clearHeartbeatTimer'](){var _0x4c315f=_0xf4019d;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x4c315f(0x42d)]),this[_0x4c315f(0x42d)]=null);}[_0xf4019d(0x4cd)](){var _0x4eae00=_0xf4019d;this[_0x4eae00(0x1c4)]!=null&&(clearTimeout(this[_0x4eae00(0x1c4)]),this[_0x4eae00(0x1c4)]=null);}},exports[_0xf4019d(0x4c6)]=si([he(0x0,a[_0xf4019d(0x404)](a['Injector'])),he(0x1,a[_0xf4019d(0x2f2)]),he(0x2,a[_0xf4019d(0x4f2)]),he(0x3,He),he(0x4,a['Inject'](ee)),he(0x5,a[_0xf4019d(0x283)](mt))],exports[_0xf4019d(0x4c6)]);const q=a[_0xf4019d(0x266)](_0xf4019d(0x483));function oi(_0x7ebf53){return'unit-cache-'+_0x7ebf53;}var ai=Object[_0xf4019d(0x341)],ci=(_0x504064,_0x487a77,_0x1fe764,_0x4edc36)=>{var _0x292126=_0xf4019d;for(var _0x407b15=_0x4edc36>0x1?void 0x0:_0x4edc36?ai(_0x487a77,_0x1fe764):_0x487a77,_0x4672c5=_0x504064[_0x292126(0x20b)]-0x1,_0x3def0d;_0x4672c5>=0x0;_0x4672c5--)(_0x3def0d=_0x504064[_0x4672c5])&&(_0x407b15=_0x3def0d(_0x407b15)||_0x407b15);return _0x407b15;},De=(_0x432a59,_0x3402de)=>(_0x44354a,_0x293251)=>_0x3402de(_0x44354a,_0x293251,_0x432a59);function hi(_0x61a690){var _0x1278eb=_0xf4019d;const {unitID:_0x41ba6c,mutations:_0xb6d0c8}=_0x61a690;return{'unitId':_0x41ba6c,'subUnitId':_0xb6d0c8[0x0]['params'][_0x1278eb(0x4a3)]};}exports[_0xf4019d(0x3d8)]=class{constructor(_0x16236d,_0x49f334,_0x141a4e){var _0x33eb0a=_0xf4019d;this[_0x33eb0a(0x513)]=_0x16236d,this[_0x33eb0a(0x2ec)]=_0x49f334,this[_0x33eb0a(0x2d6)]=_0x141a4e;}['transformSelections'](_0x2c73ac){var _0x3059fe=_0xf4019d,_0x2cf7f5,_0x3e913a,_0x4964eb,_0x468650;const _0x55934b=this[_0x3059fe(0x513)][_0x3059fe(0x1fc)](X['SheetsSelectionsService']),{unitId:_0x2cc69b,subUnitId:_0x314ff4}=hi(_0x2c73ac),_0x2f81c0=_0x55934b==null?void 0x0:_0x55934b[_0x3059fe(0x397)](_0x2cc69b)[_0x3059fe(0x3eb)](),_0xc38cb8=(_0x3e913a=(_0x2cf7f5=this[_0x3059fe(0x2d6)][_0x3059fe(0x3ba)](_0x2cc69b))==null?void 0x0:_0x2cf7f5[_0x3059fe(0x244)]())==null?void 0x0:_0x3e913a['getSheetId']();if(_0x2f81c0['length']===0x0||!_0x2cc69b||!_0x314ff4)return;const _0x4b4297=[{'id':X[_0x3059fe(0x29a)]['id'],'params':{'unitId':_0x2cc69b,'subUnitId':_0xc38cb8,'selections':a[_0x3059fe(0x4c7)][_0x3059fe(0x2a0)](_0x2f81c0)}}],_0x3a5863=this[_0x3059fe(0x2ec)]['transformMutationsWithChangeset'](_0x2c73ac,_0x4b4297);if(!I['isTransformMutationsWithChangesetSuccess'](_0x3a5863))throw _0x3a5863[_0x3059fe(0x4b8)];const _0x242307=(_0x468650=(_0x4964eb=_0x3a5863[_0x3059fe(0x30d)][0x0])==null?void 0x0:_0x4964eb[_0x3059fe(0x41a)])==null?void 0x0:_0x468650[_0x3059fe(0x392)];if(Array['isArray'](_0x242307)&&_0x242307[_0x3059fe(0x20b)]){if(_0x242307['length']===_0x4b4297[0x0]['params']['selections']['length']&&_0x242307['every']((_0xb17441,_0xa944a)=>a['Rectangle'][_0x3059fe(0x3b6)](_0xb17441[_0x3059fe(0x51c)],_0x4b4297[0x0][_0x3059fe(0x41a)][_0x3059fe(0x392)][_0xa944a][_0x3059fe(0x51c)])))return;this['_injector'][_0x3059fe(0x1fc)](a['ICommandService'])[_0x3059fe(0x30f)](X[_0x3059fe(0x29a)]['id'],{'unitId':_0x2cc69b,'subUnitId':_0xc38cb8,'selections':_0x242307});}}},exports[_0xf4019d(0x3d8)]=ci([De(0x0,a[_0xf4019d(0x404)](a['Injector'])),De(0x1,I[_0xf4019d(0x363)]),De(0x2,a['IUniverInstanceService'])],exports[_0xf4019d(0x3d8)]);const de=a[_0xf4019d(0x266)]('univer-pro.collaboration-client.single-active-unit-service');var je=(_0x3054d8=>(_0x3054d8[_0x3054d8[_0xf4019d(0x4ce)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3054d8[_0x3054d8['OTHER_CLIENTS_EDITING']=0x1]=_0xf4019d(0x503),_0x3054d8))(je||{});const _i=new Set([X[_0xf4019d(0x498)]['id']]);function Ke(_0x52dfcb,_0x35a0fc,_0x24ff1d,_0x198997,_0x1e5ff3){var _0x245051=_0xf4019d,_0x5a986f,_0x2e417a,_0x13163b,_0x27b698;const _0xea7477=[];for(const _0x283774 of _0x52dfcb)if(_i[_0x245051(0x42a)](_0x283774['id'])){if(_0xea7477[_0x245051(0x20b)]>0x0)break;_0xea7477[_0x245051(0x2db)](_0x283774);break;}else _0xea7477[_0x245051(0x2db)](_0x283774);const _0x103f93=(_0x2e417a=(_0x5a986f=_0x1e5ff3[_0x245051(0x3c3)]())==null?void 0x0:_0x5a986f[_0x245051(0x505)])!=null?_0x2e417a:_0x245051(0x4e0),_0xe7833f=(_0x27b698=(_0x13163b=_0x1e5ff3['getCurrentUser']())==null?void 0x0:_0x13163b['memberID'])!=null?_0x27b698:_0x245051(0x4e0);return{'changeset':{'unitID':_0x35a0fc,'type':I[_0x245051(0x2ac)](_0x24ff1d[_0x245051(0x46f)](_0x35a0fc)),'baseRev':_0x198997[_0x245051(0x4bc)](_0x35a0fc),'revision':0x0,'userID':_0x103f93,'memberID':_0xe7833f,'mutations':_0xea7477},'pendingMutations':_0x52dfcb[_0x245051(0x508)](_0xea7477[_0x245051(0x20b)])};}function li(_0x45345b,_0x2ea914,_0x343b29,_0x48e1ad,_0x274358){var _0x5dffc4=_0xf4019d,_0x5099f0,_0x34b77f,_0x145c33,_0x37b23f;const _0x5a187e=[_0x45345b[_0x5dffc4(0x464)]((_0x46c6ae,_0x10fa7b)=>{var _0x356a11=_0x5dffc4,_0x52374d;const {id:_0x4928fe}=_0x46c6ae,{id:_0x1beec3,type:_0x37d13f}=_0x10fa7b,_0x35d7b6=(_0x52374d=_0x46c6ae[_0x356a11(0x41a)])!=null?_0x52374d:{'actions':null},_0x1c26b1=_0x10fa7b['params'];if(_0x4928fe&&_0x4928fe!==_0x1beec3)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4928fe+_0x356a11(0x50a)+_0x1beec3+'.');return{..._0x46c6ae,'id':_0x1beec3,'type':_0x37d13f,'params':{'unitId':_0x1c26b1['unitId'],'textRanges':_0x1c26b1[_0x356a11(0x4d8)],'actions':a[_0x356a11(0x46e)][_0x356a11(0x359)](_0x35d7b6[_0x356a11(0x2f7)],_0x1c26b1['actions'])}};},{})],_0x3c4afc=(_0x34b77f=(_0x5099f0=_0x274358[_0x5dffc4(0x3c3)]())==null?void 0x0:_0x5099f0[_0x5dffc4(0x505)])!=null?_0x34b77f:'unknown',_0x34f17c=(_0x37b23f=(_0x145c33=_0x274358[_0x5dffc4(0x3c3)]())==null?void 0x0:_0x145c33[_0x5dffc4(0x45b)])!=null?_0x37b23f:'unknown';return{'changeset':{'unitID':_0x2ea914,'type':I[_0x5dffc4(0x2ac)](_0x343b29[_0x5dffc4(0x46f)](_0x2ea914)),'baseRev':_0x48e1ad['getCurrentRevOfUnit'](_0x2ea914),'revision':0x0,'userID':_0x3c4afc,'memberID':_0x34f17c,'mutations':_0x5a187e},'pendingMutations':[]};}function bt(_0x534e39,_0x2bdd2d){var _0x37bf0d=_0xf4019d;const _0x545d3f=new $[(_0x37bf0d(0x1c3))](0x1);return setTimeout(()=>_0x545d3f[_0x37bf0d(0x4ff)](_0x2bdd2d),_0x534e39),_0x545d3f[_0x37bf0d(0x33f)]()[_0x37bf0d(0x25e)]($[_0x37bf0d(0x38b)](0x1));}const ui={'id':X['EmptyMutation']['id'],'type':a[_0xf4019d(0x49c)][_0xf4019d(0x41b)],'params':{}};function _0x31aa(){var _0xce0f64=['onRemoteRetry','addHandlerCallback','decrypt','cmd','SheetTransformSelectionsService','/allowed','[CollaborationSessionService]:\x20socket\x20error','concatMap','socket\x20open.','open$','ALREADY_EXISTS','_shouldReportTelemetry','PERMISSION_REJ','COLLAB_WEB_SOCKET_URL_KEY','getDeserializedSheetBlock','_keyPriorReset','finalize','_parse','IContextService','LOGIN_FAILED','/resources','DEFAULT_FILE_NAME','_onUserJoin','getCurrentSelections','random','target','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','defineProperty','downloadEndpointUrl','@univerjs-pro/collaboration','_sendingTimer','RETRY_CONNECTING_MAX_COUNT','_socketMessageSubscription','removeMember','replace','permissionRejEvent','updateOfflineData','conflict','listCollaborators','loadDoc','CollaborationUIEventService','_startTelemetryCollaborationNewChangeset','_disableEditing','transformMutationsWithChangeset','JOIN_ROOM_FULL','patch','init','Inject','OfflineState','failed\x20to\x20apply\x20missed\x20changesets!','COMPRESS_MUTATION_APPLY','session.join-failed','_status$','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_listenToNetworkCondition','socket$','3370ZpCbes','/fetchmissing?from=','sid','/universer-api/authz','SOCKET_FAILED_RETRY','/block/','values','onSyncEditingCollabCursor','_onMessage','_sheetTransformSelectionsService','FileId','CollaborationStatus','$super','params','MUTATION','CollaborationImageIoService','_onRemoteRejected','merge','readInt32LE','toDisposable','_tryReconnect','LIVESHARE_NEW_HOST','registerDependencies','initWorkbookPermissionChange','_onCombEvent','UNIVER_COLLABORATION_CLIENT_PLUGIN','auth.needGotoLoginAlert','touchDependencies','_compressMutationService','has','close$','INVITE_CODE_HAS_BEEN_UES','_sendHeartbeatTimer','getConfig','toggleOnline','_initDependencies','Utf8','_entityInit$','_resendTimeout','_roomMembers','Cipher','blockSize','authzUrl','reconnect','session.room-not-exists','extend','DEFAULT_WS_SESSION_TICKET_URL','[OfflineState]:\x20received\x20changeset.','CipherParams','state$','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','getTime','_applyRemoteChangeset','roomInfos','_type','_onRemoteACK','infoRsp','HttpExport','INGEST','_createInitialState','_joinRoom','14CnukGx','joinEvent','_state$','send','image/jpeg','YUUMI_RATE_OVER_LIMIT','avatar','_changesetSessionId','name','ERROR_IMAGE_TYPE','_resendTimer','_undoRedoService','UNRECOGNIZED','Decryptor','complete','_waitForHeartbeatResponse','_executeRemoteChangeset','memberID','_memberService','@univerjs/drawing','_sessionStatus$','_submitChangeset','objectID','UserProfileImg','charCodeAt','ILocalCacheService','reduce','Failed\x20to\x20update\x20permission\x20point','state','result','IMentionIOService','_map','_onConflict','clamp','_doReset','_doCreateSocket','JSONX','getUnitType','_networkConditionService','IPermissionService','connection\x20error','add','SUBMIT_CHANGESET_TIMEOUT','_changesetReqId','_data','_clearHeartbeatTimer','resolve','_onLocalMutation','_showConflictNotification','resourceIDs','_onRemoteRetry','YUUMI_SUBSCRIPTION_NOT_FOUND','DataLoaderService','JOIN_ROOM_PERMISSION_DENIED','_getSignURL','_acknowledgedAwaitingChangeset','getValue','collaboration-client.local-cache-service','format','append','_updateStatus','_waitCount','DocCollaborationEntity','INVALID_ARGUMENT','USER_NOT_INVITED_CODE','headers','__Key__','parseChangesetToProtocol','_startCollaboration','\x0aAfter:\x20','SNAPSHOT_INVALID_SNAPSHOT','/universer-api/stream/file/upload','_state','_getAPIPrefix','collaboration_new_changeset','_onConnectionOpen','IDLE','registerHTTPInterceptor','InsertSheetMutation','COMMENT_UPDATE','_scheduleCompleteTimestamp','enc','CommandType','keySize','SheetCollaborationEntity','_clearUndo','/collaborator','subject','_awaitingChangeset','subUnitId','setWaitCount','routeKey','startTime','YUUMI_ALL_TABLES_IS_INVALID','snapshot','_socketService','__esModule','IImageIoService','href','HTTPService','_getLoginPath','dispose$','deleteCollaborator','@univerjs/sheets','code','UNAUTHENTICATED','kdf','_init','appendMutation','createDecryptor','error','_createSocket','catch','YUUMI_URL_COL_OUT_OF_RANGE','getCurrentRevOfUnit','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','LocalUndoRedoService','requestParams','UniverInstanceType','_HTTPService','/universer-api/oidc/authpage','@univerjs-pro/license','_clearLocalCache','takeUntil','CollaborationSessionService','Tools','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','hasOwnProperty','ONLINE','RichTextEditingMutation','updatePermissionPoint','_clearTimeoutTimer','NO_OTHER_CLIENTS_EDITING','sessionStatus$','awaitingChangeset','/universer-api/uniscript','online$','members$','transformSelections','now','Subject','pad','textRanges','CollaborationSession','Base64','HEARTBEAT','floor','_incrementRevisionNumber','MOBILE_HAS_BEEN_BOUND','_snapshotServerService','unknown','ciphertext','duration','SUBMIT_CHANGESET','action','_getRedoStack','UniverCollaborationPlugin','getRandomValues','randomBytes','getLocalCacheKey','_onRemoteChangeset','__creator','status','/unit/','mode','fetch_missing','UNIVER_UNKNOWN','onMissingChangesets','IConfigService','AUTHZ_URL_KEY','byteLength','FetchingMissState','type','sequenceExecute','c1Prime','[CollaborationSession]','_nRounds','disposeWithMe','decryptBlock','transformChangesets','max','next','SyncedState','RevisionService','localCacheService','OTHER_CLIENTS_EDITING','_reverseMap','userID','editing\x20status\x20changed\x20to','_collaborationTimeoutTimer','slice','_initMergeInterceptor','\x20-\x20','SnapshotServerOverHTTPService','OpenSSL','updateCollaborator','_sessions','CONNECTOR_DATA_TOO_LARGE','change$','_unitID','\x20to\x20','_injector','synced','AuthzIoHttpService','post','INTERNAL_ERROR','method','execute','fetchMiss','_isPermissionRej','range','SEND_CHANGESET_TIMEOUT','IUndoRedoService','getFocusedUnit','unitID','closeSession','_handlerCallback','loadOfflineData','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','responseType','Malformed\x20UTF-8\x20data','UnitSnapshot','SOCKET_FAILED','?size=','_hash','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_candidateSocket','INetworkConditionService','getRoom','_append','USERS_ENTER','_removeRoom','_members$','message$','UNIVER_PROJECT','_telemetryInfo','_getDownloadEndpointURL','_scheduleCollaborationTimeoutTimer','AWAITING_WITH_PENDING','GLOBAL_ROOMS_CNT_EXCEEDS','LIVESHARE_FETCH_OPERATIONS','JOIN','onMissedChangesetFetched','ReplaySubject','_timeoutTimer','MentionIoHttpService','_change$','_invKeySchedule','from','45hgpfSR','event$','SnapshotService','concat','string','Pkcs7','unsubscribe','_toggleOffline','updateCursorEvent','shareReplay','Latin1','_telemetryService','UnitEmbedded','setCurrentUser','_ENC_XFORM_MODE','_process','_getUploadFileURL','_permissionService','every','[CollaborationUndoRedoService]','fetchThroughInterceptors','FETCH_MISSING','c2Prime','COMPRESS_MUTATION_SEND','function','_rescheduleHeartbeat','_iv','MSG_FOR_ERROR','_emitMembers','DEFAULT_COLLAB_WEB_SOCKET_URL','[FetchMissState]','PSEUDO_FETCH_MISSING_RESULT','HMAC','_onConnectionFailed','_singleActiveUnitService','padding','body','ICollaborationSocketService','UnitStatus','INVALID_INVITE_CODE','createSocket','_createInitialStateImpl','_unlockTransition','delay','getLatestCsReqIdBySid','originalMeta','stringify','HttpImport','YUUMI_UNABLE_LOAD_URL','capture','OTHER_CLIENT_EDITING','get','reset','_unitInfo$','_collaborationSessionService','pauseCollaboration','_socket$','SessionStatus','toggleOffline','uploadFileServerUrl','PERSON','getCollabEntity','incrementRevOfUnit','mixIn','INVITE_CODE_REQUIRED','_getAPIPrefixPath','length','DisposableCollection','LICENSE_EXPORT_SIZE_EXCEEDED','ceil','textEncoder','_transformRemoteChangesetByIMECache','MemberService','onTransformState','_pendingMutations','set','loadUnitOfRevision','HELLO','not_collab','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','AwaitingWithPendingState','onTransformRemoteChangesetByStateCache','CollaborationEvent','_toggleOnline','CLOSE_ROOM','socket\x20close','INVITE_CODE_ALREADY_BOUND','fromCharCode','APPLY_REVISION_CONFILICT','update','encodeURIComponent','_throwTelemetryCollaborationNewChangeset','workbook','formatter','objectType','url','forEach','includes','cfg','_registerDependencies','dispose','{fileID}','ERROR_IMAGE','Hex','collaMsg','UPDATE_CURSOR','onCommandExecuted','sin','_transformIMECache','UUID','/rev/','HEARTBEAT_TIMEOUT_KEY','collaboratorID','UNIVER_DOC','_initCloseConn','_userManagerService','enableSingleActiveInstanceLock','words','_prevBlock','getUnitId','Undefined','AES','serializeCombRequest','getActiveSheet','YUUMI_NO_CUBOID_FOR_QUESTION','_eventService','image/bmp','_entities','stopTime','_replayCachedMutations','onload','SNAPSHOT_SERVER_URL_KEY','/-/object/-/batch_allowed','parseProtocolChangeset','_lockTransition','delete','YUUMI_ASYNCIO_CANCELLED','TOO_MANY_REQUESTS','map','_checkMissing','sigBytes','LICENSE_DISTRO_REJECTED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','OFFLINE','AWAITING','NOT_FOUND','saveChangeset','min','parse','pipe','_mode','_clearCollaborationTimeoutTimer','_univerInstanceService','reject','createEncryptor','_transformStateCache','listRoles','createIdentifier','debug','_keySchedule','[PendingState]:\x20received\x20rejection.','sheets','PERMISSION_DENIED','save\x20fail\x20reason\x20is\x20','create','onStateChange','ISnapshotServerService','_resendWithTimeout','filter','[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.','getUnitOnRev','pending','Hasher','_doCryptBlock','onTransformRemoteChangesetByIMECache','MergeInterceptorFactory','\x20in\x20_schedule.','liveShareOperation','exports','@univerjs/core','9fPvMJH','size','getMember','collabSubmitChangesetUrl','Base','_transformUndoredo','Optional','COLLAB_SUBMIT_CHANGESET_URL_KEY','fromCollab','lib','_onUserLeave','location','UPDATE_PERMISSION_OBJ','default','CONFLICT','CompressMutationService','HmacSHA1','COMPLETION_FINISHED','PY_RUNTIME_SCRIPT_ERROR','_queuedRemoteChangesets','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','Univer','enableAuthServer','CHANGESET_REVISION_CONFILICT','SYNCED','_updateLocalCache','237144ZxpKrD','WorkbookEditablePermission','SerializableCipher','SetSelectionsOperation','Error\x20on\x20receiving\x20event','_getUndoStack','CollaborationController','SNAPSHOT_HAS_BEEN_REMOVED','SNAPSHOT_URL_KEY','deepClone','[CollaborationState]:\x20apply\x20error!','_key','WordArray','LIVESHARE_OPERATION','rxjs/operators','1407250LTHgRH','RETRY_CONNECTING_MAX_COUNT_KEY','UNIVER_SHEET','Plugin','SUCCUSS','NoPadding','mapDocumentTypeToUniverType','_revisionService','JOIN_ROOM_FAILED','revision','call','[DataLoaderService]','@univerjs/telemetry','interceptor','toString','_httpService','override','waitForRoom$','loadUnit','[SyncedState]:\x20received\x20acknowledgement.','301276epCgXj','&assign=','isTransformMutationsWithChangesetFailure','telemetry\x20info\x20is\x20not\x20initialized','/object','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','LIVESHARE_TERMINATE','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','LOGIN_URL_KEY','getCollabEntity$','localeService','_snapshotService','putCollaborators','loadSheet','YUUMI_TABLE_NOT_FOUND_IN_UNIT','reverse','encrypt','uuidv4','eventID','prototype','ISingleActiveUnitService','UNIVER_SLIDE','Module','fetchMissingChangesets','hostname','APPLY_NON_SEQUENTIAL_REVISION','@univerjs/network','_iKey','_instanceService','CHANGESET_REJ','_imageSourceCache','IUniverInstanceService','onRemoteAck','push','BASE64','awaiting','JOIN_ROOM_NOT_EXISTS','StreamCipher','isArray','ERROR_EXCEED_SIZE','APPLY_PERMISSION_DENIED','title','getTypeOfUnitDisposed$','firstValueFrom','BlockCipherMode','_collabSessionService','SHA1','ITelemetryService','enableOfflineEditing','YUUMI_AI_RUN_FAILED','_transformService','/object/','_handler','_hasher','_roomCreated$','_syncEditingCollabCursor','ILogService','objects','POST','BehaviorSubject','join','actions','newCsEvent','_initRequestHeader','encode','FETCH_MISS','_socket','APPLY_REJECT','refreshPermission','_createHandler','LEAVE','collaborators','BufferedBlockAlgorithm','crypto','_getCurrentRevision','_onJoinRoomEvent','_transformSelections','subscribe','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','processBlock','_event$','LIVESHARE_REQUEST_HOST','_updateState','m2Prime','isPermissionRej','executeCommand','_onRecvEvent','UNDEFINED','LICENSE_IMPORT_SIZE_EXCEEDED','status$','onRemoteChangeset','clear','msCrypto','UNKNOWN_CMD','buffer','_retryCount','setShowComponents','_DEC_XFORM_MODE','_redoStacks','_decreaseWaiting','algo','_onFetchMissResult','deserializeToCombResponse','_substituteRedoStack','Disposable','_clearScheduledTask','/role','compute','[SyncedState]:\x20received\x20rejection.','COLLAB_WEB_SOCKET_URL','ENSURE_SNAPSHOT_EXECUTION','key','emitEvent','_transformStack','setConfig','_schedule','NEW_CHANGESETS','withCredentials','_transformRemoteChangesetByStateCache','updateMember','univer-pro.collaboration-client-socket-service','COLLAB_SUBMIT_CHANGESET_URL','MentionType','splice','getMemberID','_commentUpdate$','baseRev','reqId','getInterceptPoints','_stopTelemetryCollaborationNewChangeset','_localCacheService','changesets','onTransformIME','asObservable','UNKNOWN_CODE','getOwnPropertyDescriptor','_collaborationPaused','repeat','close','LICENSE_MAX_UNITS_EXCEEDED','_nDataBytes','Injector','[UniverCollaborationClientPlugin]','_commandService','unpad','Encryptor','list','\x0aCurrent:\x20','_members','_tryEnsureSocket','iterations','saveImage','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','UniverCollaborationClientPlugin','_onOffline','_transitionLocked','mutations','onTransformSelections','FAIL','compose','createInstance','LOCAL_CACHE_INTERVAL','session','getSnapshotAPIPath','file','_localeService','USERS_LEAVE','EvpKDF','CollaborationEntity','ITransformService','csAckEvent','_createHmacHelper','SheetPermissionInitController','LocaleService','JOINING','_logService','b64DecodeUnicode','salt','rxjs','getImageSourceCache','Could\x20not\x20dynamically\x20require\x20\x22','find','_xformMode','sessionStatus','451944aAwjsc','BlockCipher','_remoteChangesetQueue','APPLY_DUPLICATED','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','201249SfGSla','_doProcessBlock','UniverNetworkPlugin','SHOULD_CLOSE_CONN','_socketReady','ThresholdInterceptorFactory','apply','ICommandService','1687200wWmLDt','_undoStacks','CollaborationSocketService','getTypeOfUnitAdded$','_sendHeartbeat','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_getSendChangesetTimeout','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','People','unitId','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','updatePermissionObjEvent','take','onRemoteRej','ConflictState','PENDING','_clearRetryConnectingTimer','csShouldRetryEvent','requireSession','selections','collaboration-client.config','ivSize','CHANGESET_SHOULD_RETRY','MD5','getWorkbookSelections','isTransformMutationsWithChangesetSuccess','_cipher','/new_changes','onCommentUpdate','PasswordBasedCipher','UNISCRIPT_RUN','loginUrlKey','clone','resend','charAt','ImageSourceType','image/gif','7447xnhpLX','_oKey','/universer-api/file/{fileID}/sign-url','_config','isInternalEditorID','UserManagerService','_configService','ImageUploadStatusType','session.room-full','error$','RxDisposable','confirm','_fetchMissChangesets','_retryConnectingTimer','onStarting','_commentService','getAllMembers','CollaborativeUndoRedoService','equals','AwaitingState','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','[CollaborationSessionService]','getUnit','getSheetBlock','onSendChangeset','SEND_CHANGESET_TIMEOUT_KEY','_clearRedo','_collaborationUIEventService','offline','_doFinalize','joinRsp','getCurrentUser','data','awaiting_with_pending','CHANGESET_ACK','WECHAT_HAS_BEEN_BOUND','PendingState','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','put','_sender','_minBufferSize','byteOffset','EXCHANGE_SIGN_URL_SERVER_URL_KEY','socketService','liveShareNewHost','CommentService','origin','RECV'];_0x31aa=function(){return _0xce0f64;};return _0x31aa();}var di=Object[_0xf4019d(0x341)],ae=(_0x1ac710,_0x2ec2bb,_0x6dd698,_0x545d15)=>{for(var _0x5dcff0=_0x545d15>0x1?void 0x0:_0x545d15?di(_0x2ec2bb,_0x6dd698):_0x2ec2bb,_0x20d0ba=_0x1ac710['length']-0x1,_0x43cdf9;_0x20d0ba>=0x0;_0x20d0ba--)(_0x43cdf9=_0x1ac710[_0x20d0ba])&&(_0x5dcff0=_0x43cdf9(_0x5dcff0)||_0x5dcff0);return _0x5dcff0;},w=(_0x1a8b77,_0x1b7b6e)=>(_0xf4ce0b,_0x443b5b)=>_0x1b7b6e(_0xf4ce0b,_0x443b5b,_0x1a8b77),Be=(_0x3f8d25=>(_0x3f8d25['NOT_COLLAB']=_0xf4019d(0x217),_0x3f8d25[_0xf4019d(0x295)]=_0xf4019d(0x514),_0x3f8d25[_0xf4019d(0x38e)]=_0xf4019d(0x274),_0x3f8d25[_0xf4019d(0x259)]=_0xf4019d(0x2dd),_0x3f8d25[_0xf4019d(0x1be)]=_0xf4019d(0x3c5),_0x3f8d25[_0xf4019d(0x2fb)]='fetch_missing',_0x3f8d25['CONFLICT']=_0xf4019d(0x3fa),_0x3f8d25[_0xf4019d(0x258)]=_0xf4019d(0x3c0),_0x3f8d25))(Be||{});const Rt=0xea60;class ce{constructor(_0x465c52,_0x379a8c,_0x5cd8e9,_0x1e2772,_0x3192be,_0x1db24f,_0x44369d,_0x1d40e7,_0x33a304){var _0xb24f2e=_0xf4019d;A(this,_0xb24f2e(0x4a2),null),A(this,'_pendingMutations',[]),(this[_0xb24f2e(0x1a6)]=_0x465c52,this['type']=_0x379a8c,this['_handler']=_0x3192be,this['_commandService']=_0x1db24f,this[_0xb24f2e(0x455)]=_0x44369d,this[_0xb24f2e(0x2ad)]=_0x1d40e7,this[_0xb24f2e(0x33c)]=_0x33a304,this[_0xb24f2e(0x4a2)]=_0x5cd8e9,this[_0xb24f2e(0x213)]=_0x1e2772);}[_0xf4019d(0x254)](_0x3be236){var _0x8f621c=_0xf4019d;const _0x448d63=this['_revisionService']['getCurrentRevOfUnit'](this[_0x8f621c(0x1a6)]);return _0x3be236['revision']>_0x448d63+0x1?(this['_handler']['onMissingChangesets']({'from':_0x448d63,'to':_0x3be236[_0x8f621c(0x2af)]-0x1}),!0x0):!0x1;}[_0xf4019d(0x282)](_0x1d9751){var _0x4380ac=_0xf4019d;this[_0x4380ac(0x455)]['transformUndoRedo'](this[_0x4380ac(0x1a6)],_0x1d9751);}[_0xf4019d(0x306)](_0x2eb3f2){var _0x171c2f=_0xf4019d,_0x535f47,_0x190e94;(_0x190e94=(_0x535f47=this[_0x171c2f(0x2ee)])['onTransformSelections'])==null||_0x190e94[_0x171c2f(0x2b0)](_0x535f47,_0x2eb3f2);}[_0xf4019d(0x235)](_0x950b47){var _0xb90e84=_0xf4019d,_0x586240,_0x6ad93;return(_0x6ad93=(_0x586240=this[_0xb90e84(0x2ee)])['onTransformIME'])==null?void 0x0:_0x6ad93[_0xb90e84(0x2b0)](_0x586240,_0x950b47);}[_0xf4019d(0x264)](_0x3be9e2){var _0x200af9=_0xf4019d,_0x579870,_0x12fa14;return(_0x12fa14=(_0x579870=this[_0x200af9(0x2ee)])[_0x200af9(0x212)])==null?void 0x0:_0x12fa14[_0x200af9(0x2b0)](_0x579870,_0x3be9e2);}[_0xf4019d(0x210)](_0x1ba21e){var _0x4a9ea8=_0xf4019d,_0x39d09c,_0x30f6c7,_0x46d504;return(_0x46d504=(_0x30f6c7=(_0x39d09c=this['_handler'])[_0x4a9ea8(0x277)])==null?void 0x0:_0x30f6c7[_0x4a9ea8(0x2b0)](_0x39d09c,_0x1ba21e))!=null?_0x46d504:_0x1ba21e;}[_0xf4019d(0x330)](_0x26fc51){var _0x51c863=_0xf4019d,_0x6d1ffa,_0x55c6fa,_0xabc37c;return(_0xabc37c=(_0x55c6fa=(_0x6d1ffa=this[_0x51c863(0x2ee)])[_0x51c863(0x21a)])==null?void 0x0:_0x55c6fa[_0x51c863(0x2b0)](_0x6d1ffa,_0x26fc51))!=null?_0xabc37c:_0x26fc51;}[_0xf4019d(0x2f1)](_0x34217c){var _0x18892c=_0xf4019d,_0x5f1c3,_0x1a349d;if(this[_0x18892c(0x4f6)]===J['UNIVER_DOC']){const {unitID:_0x3dd1e7,mutations:_0xaf880d,memberID:_0x6191c9}=_0x34217c,_0x4da584=_0xaf880d[0x0][_0x18892c(0x41a)][_0x18892c(0x4d8)];Array[_0x18892c(0x2e0)](_0x4da584)&&_0x4da584[_0x18892c(0x20b)]>0x0&&((_0x1a349d=(_0x5f1c3=this['_handler'])[_0x18892c(0x414)])==null||_0x1a349d[_0x18892c(0x2b0)](_0x5f1c3,{'unitID':_0x3dd1e7,'memberID':_0x6191c9,'textRanges':_0x4da584}));}}[_0xf4019d(0x296)](){var _0x54ef57=_0xf4019d,_0x53afa7;(_0x53afa7=this[_0x54ef57(0x33c)])==null||_0x53afa7[_0x54ef57(0x3f9)](this[_0x54ef57(0x1a6)],this['type'],this['_awaitingChangeset'],this[_0x54ef57(0x213)]);}[_0xf4019d(0x304)](){var _0x321474=_0xf4019d;return this[_0x321474(0x2ad)][_0x321474(0x4bc)](this['unitID']);}['_incrementRevisionNumber'](){var _0x45f2c8=_0xf4019d;this['_revisionService'][_0x45f2c8(0x207)](this['unitID']);}[_0xf4019d(0x45a)](_0x22ae41){var _0x362b25=_0xf4019d,_0x2ba9cd;let _0x39a9f2=this[_0x362b25(0x210)](_0x22ae41);_0x39a9f2=this[_0x362b25(0x330)](_0x39a9f2);const _0x86d83=a[_0x362b25(0x4f7)](_0x39a9f2[_0x362b25(0x356)],this[_0x362b25(0x349)],{'fromCollab':!0x0});if(!_0x86d83[_0x362b25(0x467)])throw _0x86d83[_0x362b25(0x4b8)]instanceof Error?_0x86d83[_0x362b25(0x4b8)]:new Error((_0x2ba9cd=_0x86d83[_0x362b25(0x4b8)])!=null?_0x2ba9cd:_0x362b25(0x2a1));this[_0x362b25(0x235)](_0x39a9f2),this[_0x362b25(0x264)](_0x39a9f2),this[_0x362b25(0x282)](_0x22ae41),this['_transformSelections'](_0x39a9f2),this[_0x362b25(0x2f1)](_0x39a9f2),this['_incrementRevisionNumber']();}}exports[_0xf4019d(0x500)]=class extends ce{constructor(_0x593cd3,_0x545ae4,_0x622380,_0x4f6f5d,_0x4140bd,_0x11215e,_0x31a81e,_0x553a2a,_0x51651c,_0x32cd56){var _0xb24436=_0xf4019d;super(_0x593cd3,_0x545ae4,null,[],_0x622380,_0x31a81e,_0x11215e,_0x4f6f5d,_0x32cd56),A(this,_0xb24436(0x4ec),_0xb24436(0x514)),(this['_injector']=_0x4140bd,this[_0xb24436(0x369)]=_0x553a2a,this['_transformService']=_0x51651c,this[_0xb24436(0x502)]=_0x32cd56);}[_0xf4019d(0x4b6)](_0x3919d1){var _0x39e7bf=_0xf4019d;const _0x252674=this[_0x39e7bf(0x513)][_0x39e7bf(0x35a)](exports[_0x39e7bf(0x3c8)],this['unitID'],this['type'],[_0x3919d1],this['_handler']);return _0x252674[_0x39e7bf(0x32d)](),_0x252674[_0x39e7bf(0x296)](),_0x252674;}[_0xf4019d(0x314)](_0x43750d){var _0x205660=_0xf4019d;if(this['_checkMissing'](_0x43750d))return this[_0x205660(0x513)][_0x205660(0x35a)](exports[_0x205660(0x4f5)],this['unitID'],this[_0x205660(0x4f6)],null,[],null,[_0x43750d],this[_0x205660(0x2ee)]);try{const _0x14ae0f=this[_0x205660(0x2ec)][_0x205660(0x400)](_0x43750d,[ui]);if(I[_0x205660(0x398)](_0x14ae0f)){const {c1Prime:_0x2262c2}=_0x14ae0f;return this[_0x205660(0x45a)](_0x2262c2),this;}throw _0x14ae0f[_0x205660(0x4b8)];}catch(_0xb57a82){return this[_0x205660(0x369)][_0x205660(0x4b8)](_0xb57a82),this[_0x205660(0x46a)](!0x1);}}[_0xf4019d(0x46a)](_0x4f5210){var _0x1e68c0=_0xf4019d;return this['_injector'][_0x1e68c0(0x35a)](exports[_0x1e68c0(0x38d)],this[_0x1e68c0(0x1a6)],this['type'],null,[],this['_handler'],_0x4f5210);}[_0xf4019d(0x2da)](){var _0x18b0f9=_0xf4019d;throw new Error(_0x18b0f9(0x2b9));}[_0xf4019d(0x38c)](){var _0x3b4c17=_0xf4019d;throw new Error(_0x3b4c17(0x326));}[_0xf4019d(0x3d4)](){return this;}[_0xf4019d(0x203)](){var _0x282ef1=_0xf4019d;return this[_0x282ef1(0x513)][_0x282ef1(0x35a)](exports[_0x282ef1(0x405)],this['unitID'],this['type'],null,[],this['_handler']);}[_0xf4019d(0x42f)](){return this;}['resend'](){var _0x4aced4=_0xf4019d;throw new Error(_0x4aced4(0x389));}['fetchMiss'](){var _0x43212b=_0xf4019d;const _0x114b23=this[_0x43212b(0x2ad)]['getCurrentRevOfUnit'](this[_0x43212b(0x1a6)]);return this[_0x43212b(0x2ee)][_0x43212b(0x4f1)]({'from':_0x114b23,'to':0x0}),this['_injector'][_0x43212b(0x35a)](exports['FetchingMissState'],this['unitID'],this['type'],null,[],null,[],this[_0x43212b(0x2ee)]);}},exports['SyncedState']=ae([w(0x3,a[_0xf4019d(0x404)](I[_0xf4019d(0x501)])),w(0x4,a['Inject'](a[_0xf4019d(0x347)])),w(0x5,a[_0xf4019d(0x1a4)]),w(0x6,a['ICommandService']),w(0x7,a[_0xf4019d(0x2f2)]),w(0x8,I[_0xf4019d(0x363)]),w(0x9,a[_0xf4019d(0x283)](q))],exports[_0xf4019d(0x500)]),exports[_0xf4019d(0x3c8)]=class extends ce{constructor(_0x1b95be,_0x49e9c3,_0xc92589,_0x24c627,_0x249fde,_0x4a87b4,_0x22b880,_0x2a791c,_0x239a35,_0x595be2,_0x306c97,_0x4fcfd2,_0x155b31,_0x671d3e){var _0x430dc4=_0xf4019d;super(_0x1b95be,_0x49e9c3,null,_0xc92589,_0x24c627,_0x239a35,_0x155b31,_0x4a87b4,_0x671d3e),A(this,_0x430dc4(0x4ec),'pending'),A(this,_0x430dc4(0x49a),null),A(this,_0x430dc4(0x3f3),null),(this[_0x430dc4(0x513)]=_0x249fde,this['_memberService']=_0x22b880,this[_0x430dc4(0x369)]=_0x2a791c,this[_0x430dc4(0x3aa)]=_0x595be2,this['_transformService']=_0x306c97,this['_univerInstanceService']=_0x4fcfd2);}[_0xf4019d(0x4b6)](_0x134aa0){var _0x2e7d17=_0xf4019d;return this[_0x2e7d17(0x213)]['push'](_0x134aa0),this[_0x2e7d17(0x296)](),this;}[_0xf4019d(0x314)](_0x211d8e){var _0x7a8bc8=_0xf4019d;if(this[_0x7a8bc8(0x254)](_0x211d8e))return this[_0x7a8bc8(0x323)](),this['_injector'][_0x7a8bc8(0x35a)](exports[_0x7a8bc8(0x4f5)],this[_0x7a8bc8(0x1a6)],this[_0x7a8bc8(0x4f6)],null,this[_0x7a8bc8(0x213)],null,[_0x211d8e],this[_0x7a8bc8(0x2ee)]);try{const _0x5207fe=this[_0x7a8bc8(0x2ec)][_0x7a8bc8(0x400)](_0x211d8e,this[_0x7a8bc8(0x213)]);if(I[_0x7a8bc8(0x398)](_0x5207fe)){const {c1Prime:_0x251de3,m2Prime:_0x1ee2a0}=_0x5207fe;this[_0x7a8bc8(0x45a)](_0x251de3);const _0x5a0fb8=this[_0x7a8bc8(0x513)][_0x7a8bc8(0x35a)](exports[_0x7a8bc8(0x3c8)],this[_0x7a8bc8(0x1a6)],this[_0x7a8bc8(0x4f6)],_0x1ee2a0,this[_0x7a8bc8(0x2ee)]);this[_0x7a8bc8(0x323)]();const _0x4227ea=new Date()[_0x7a8bc8(0x440)](),_0x5e2063=this['_scheduleCompleteTimestamp']?Math[_0x7a8bc8(0x4fe)](this['_scheduleCompleteTimestamp']-_0x4227ea,0x0):this[_0x7a8bc8(0x385)]();return _0x5a0fb8[_0x7a8bc8(0x32d)](_0x5e2063),_0x5a0fb8;}throw _0x5207fe['error'];}catch(_0x3abb9d){return this[_0x7a8bc8(0x369)]['error'](_0x3abb9d),this[_0x7a8bc8(0x46a)](!0x1);}}[_0xf4019d(0x2da)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0xf4019d(0x38c)](){var _0x1f0f2a=_0xf4019d;throw new Error(_0x1f0f2a(0x269));}[_0xf4019d(0x3d4)](){return this;}[_0xf4019d(0x203)](){var _0x5113bb=_0xf4019d;return this[_0x5113bb(0x323)](),this[_0x5113bb(0x513)][_0x5113bb(0x35a)](exports[_0x5113bb(0x405)],this[_0x5113bb(0x1a6)],this[_0x5113bb(0x4f6)],null,this[_0x5113bb(0x213)],this[_0x5113bb(0x2ee)]);}[_0xf4019d(0x42f)](){return this;}[_0xf4019d(0x32d)](_0x538ab){var _0x21be64=_0xf4019d;const _0x541a0e=_0x538ab!=null?_0x538ab:this[_0x21be64(0x385)]();this['_scheduleCompleteTimestamp']=new Date()[_0x21be64(0x440)]()+_0x541a0e,this[_0x21be64(0x3f3)]=setTimeout(()=>{var _0x18b04b=_0x21be64;this['_clearScheduledTask']();let _0x3d9dac=null;switch(this[_0x18b04b(0x4f6)]){case J['UNIVER_SHEET']:{_0x3d9dac=Ke(this[_0x18b04b(0x213)],this[_0x18b04b(0x1a6)],this[_0x18b04b(0x261)],this[_0x18b04b(0x2ad)],this[_0x18b04b(0x45c)]);break;}case J[_0x18b04b(0x23a)]:{this['_pendingMutations'][_0x18b04b(0x1db)](_0x444b18=>_0x444b18['id']===ht[_0x18b04b(0x4cb)]['id'])?_0x3d9dac=li(this[_0x18b04b(0x213)],this['unitID'],this[_0x18b04b(0x261)],this['_revisionService'],this['_memberService']):_0x3d9dac=Ke(this[_0x18b04b(0x213)],this[_0x18b04b(0x1a6)],this['_univerInstanceService'],this[_0x18b04b(0x2ad)],this[_0x18b04b(0x45c)]);break;}default:throw new Error(_0x18b04b(0x1b1)+this['type']+_0x18b04b(0x279));}const {changeset:_0x4cd834,pendingMutations:_0x5ef840}=_0x3d9dac;this[_0x18b04b(0x2ee)][_0x18b04b(0x3bc)](_0x4cd834);const _0x37f31d=_0x5ef840[_0x18b04b(0x20b)]?this[_0x18b04b(0x513)]['createInstance'](exports['AwaitingWithPendingState'],this['unitID'],this[_0x18b04b(0x4f6)],_0x4cd834,_0x5ef840,this['_handler'],void 0x0):this[_0x18b04b(0x513)][_0x18b04b(0x35a)](exports[_0x18b04b(0x3b7)],this[_0x18b04b(0x1a6)],this[_0x18b04b(0x4f6)],_0x4cd834,this[_0x18b04b(0x2ee)]);_0x37f31d['_updateLocalCache'](),this[_0x18b04b(0x2ee)][_0x18b04b(0x26e)](this,_0x37f31d);},_0x541a0e);}[_0xf4019d(0x385)](){var _0x56980a=_0xf4019d,_0x1d4d7d;const _0x4ed887=this['_configService'][_0x56980a(0x42e)](K);return(_0x1d4d7d=_0x4ed887==null?void 0x0:_0x4ed887['sendChangesetTimeout'])!=null?_0x1d4d7d:xt;}[_0xf4019d(0x3a0)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xf4019d(0x323)](){var _0x1fe0fe=_0xf4019d;this['_sendingTimer']!=null&&(clearTimeout(this[_0x1fe0fe(0x3f3)]),this[_0x1fe0fe(0x3f3)]=null);}[_0xf4019d(0x46a)](_0x2ad776){var _0x5b8f42=_0xf4019d;return this['_clearScheduledTask'](),this[_0x5b8f42(0x513)][_0x5b8f42(0x35a)](exports[_0x5b8f42(0x38d)],this['unitID'],this[_0x5b8f42(0x4f6)],null,this[_0x5b8f42(0x213)],this[_0x5b8f42(0x2ee)],_0x2ad776);}},exports[_0xf4019d(0x3c8)]=ae([w(0x4,a['Inject'](a['Injector'])),w(0x5,a[_0xf4019d(0x404)](I[_0xf4019d(0x501)])),w(0x6,a[_0xf4019d(0x404)](exports[_0xf4019d(0x211)])),w(0x7,a[_0xf4019d(0x2f2)]),w(0x8,a['ICommandService']),w(0x9,a[_0xf4019d(0x4f2)]),w(0xa,I[_0xf4019d(0x363)]),w(0xb,a['IUniverInstanceService']),w(0xc,a[_0xf4019d(0x1a4)]),w(0xd,a['Optional'](q))],exports[_0xf4019d(0x3c8)]),exports[_0xf4019d(0x3b7)]=class extends ce{constructor(_0x3b194b,_0x5e9b95,_0x59a364,_0x500909,_0x30d078,_0x396c40,_0x3c7bf5,_0x254e00,_0x18d37b,_0x547ff3,_0x20c515){var _0x36fd72=_0xf4019d;super(_0x3b194b,_0x5e9b95,_0x59a364,[],_0x500909,_0x3c7bf5,_0x547ff3,_0x396c40,_0x20c515),A(this,'status','awaiting'),A(this,_0x36fd72(0x433),0x0),A(this,_0x36fd72(0x454)),A(this,'_sender'),(this['_injector']=_0x30d078,this[_0x36fd72(0x369)]=_0x254e00,this['_transformService']=_0x18d37b);}[_0xf4019d(0x4b6)](_0x3f3f8e){var _0x35c807=_0xf4019d;this['_clearScheduledTask']();const _0xf0275b=this[_0x35c807(0x513)][_0x35c807(0x35a)](exports[_0x35c807(0x219)],this[_0x35c807(0x1a6)],this['type'],this[_0x35c807(0x4a2)],[_0x3f3f8e],this[_0x35c807(0x2ee)],this[_0x35c807(0x454)]);return _0xf0275b[_0x35c807(0x296)](),_0xf0275b;}[_0xf4019d(0x314)](_0x17bd1c){var _0x5e1642=_0xf4019d;if(this[_0x5e1642(0x254)](_0x17bd1c))return this['_clearScheduledTask'](),this['_injector']['createInstance'](exports[_0x5e1642(0x4f5)],this['unitID'],this[_0x5e1642(0x4f6)],this['_awaitingChangeset'],[],null,[_0x17bd1c],this[_0x5e1642(0x2ee)]);try{const _0x1ca19d=this[_0x5e1642(0x2ec)][_0x5e1642(0x4fd)]([_0x17bd1c],[this[_0x5e1642(0x4a2)]],!0x1);if(I['isTransformChangesetsSuccess'](_0x1ca19d)){const {c1Prime:_0x45b047,c2Prime:_0x1a1c15}=_0x1ca19d;this[_0x5e1642(0x45a)](_0x45b047[0x0]),_0x1a1c15[0x0]['baseRev']=this[_0x5e1642(0x304)](),this[_0x5e1642(0x323)]();const _0x5670e6=this['_injector'][_0x5e1642(0x35a)](exports[_0x5e1642(0x3b7)],this[_0x5e1642(0x1a6)],this[_0x5e1642(0x4f6)],_0x1a1c15[0x0],this[_0x5e1642(0x2ee)]);return _0x5670e6[_0x5e1642(0x296)](),_0x5670e6;}return this[_0x5e1642(0x46a)](!0x1);}catch(_0x33fc67){return this['_logService'][_0x5e1642(0x4b8)](_0x33fc67),this[_0x5e1642(0x46a)](!0x1);}}[_0xf4019d(0x2da)](_0x23f218){var _0x4f6f12=_0xf4019d;this['_clearScheduledTask']();const _0x556c41=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);if(_0x23f218[_0x4f6f12(0x2af)]<_0x556c41-0x1)return this;if(this[_0x4f6f12(0x254)](_0x23f218))return this[_0x4f6f12(0x513)][_0x4f6f12(0x35a)](exports[_0x4f6f12(0x4f5)],this[_0x4f6f12(0x1a6)],this['type'],null,[],this[_0x4f6f12(0x4a2)],[],this[_0x4f6f12(0x2ee)]);this[_0x4f6f12(0x4dd)]();const _0x5ab3d4=this[_0x4f6f12(0x513)][_0x4f6f12(0x35a)](exports[_0x4f6f12(0x500)],this['unitID'],this[_0x4f6f12(0x4f6)],this[_0x4f6f12(0x2ee)]);return _0x5ab3d4[_0x4f6f12(0x296)](),_0x5ab3d4;}[_0xf4019d(0x38c)](_0x48fdcd){return this['_onConflict'](!!(_0x48fdcd!=null&&_0x48fdcd['isPermissionRej']));}[_0xf4019d(0x3d4)](_0x52c941){var _0x2c05ce=_0xf4019d;return this['_resendTimeout']>Rt?this[_0x2c05ce(0x203)]():(this[_0x2c05ce(0x454)]=bt(this[_0x2c05ce(0x433)],{'timeout':this['_resendTimeout'],'reqId':_0x52c941[_0x2c05ce(0x339)]}),this[_0x2c05ce(0x3cb)]=this[_0x2c05ce(0x454)][_0x2c05ce(0x307)](({reqId:_0x56589d,timeout:_0x1af65b})=>{this['_resendWithTimeout'](_0x56589d,_0x1af65b);}),this);}[_0xf4019d(0x203)](){var _0x2c5437=_0xf4019d;return this['_clearScheduledTask'](),this[_0x2c5437(0x513)]['createInstance'](exports[_0x2c5437(0x405)],this[_0x2c5437(0x1a6)],this['type'],this[_0x2c5437(0x4a2)],[],this[_0x2c5437(0x2ee)]);}[_0xf4019d(0x42f)](){return this;}['resend'](){var _0x51e278=_0xf4019d;this[_0x51e278(0x2ee)]['onSendChangeset'](this['_awaitingChangeset']);}[_0xf4019d(0x46a)](_0x4f844c){var _0x53fbfd=_0xf4019d;return this['_clearScheduledTask'](),this[_0x53fbfd(0x513)][_0x53fbfd(0x35a)](exports['ConflictState'],this[_0x53fbfd(0x1a6)],this['type'],this[_0x53fbfd(0x4a2)],[],this['_handler'],_0x4f844c);}[_0xf4019d(0x270)](_0x515b67,_0x7ea084){var _0x1e4ad2=_0xf4019d,_0x1b7efa;_0x515b67===((_0x1b7efa=this['_awaitingChangeset'])==null?void 0x0:_0x1b7efa[_0x1e4ad2(0x339)])&&(this[_0x1e4ad2(0x3a0)](),this[_0x1e4ad2(0x433)]=_0x7ea084===0x0?0x3e8:_0x7ea084*0x2);}[_0xf4019d(0x323)](){var _0x23679e=_0xf4019d,_0x1fe24e;(_0x1fe24e=this[_0x23679e(0x3cb)])==null||_0x1fe24e['unsubscribe'](),this[_0x23679e(0x433)]=0x0;}},exports[_0xf4019d(0x3b7)]=ae([w(0x4,a[_0xf4019d(0x404)](a[_0xf4019d(0x347)])),w(0x5,a[_0xf4019d(0x404)](I[_0xf4019d(0x501)])),w(0x6,a[_0xf4019d(0x37e)]),w(0x7,a[_0xf4019d(0x2f2)]),w(0x8,I[_0xf4019d(0x363)]),w(0x9,a[_0xf4019d(0x1a4)]),w(0xa,a[_0xf4019d(0x283)](q))],exports[_0xf4019d(0x3b7)]),exports['AwaitingWithPendingState']=class extends ce{constructor(_0x1be5fc,_0x10f3a9,_0x599c09,_0x3fb74c,_0x197373,_0x3e37af,_0xade292,_0x2ae207,_0x201095,_0x4a207e,_0x5424c0,_0x520eb7,_0x534e9c){var _0x5148e1=_0xf4019d;super(_0x1be5fc,_0x10f3a9,_0x599c09,_0x3fb74c,_0x197373,_0x201095,_0x520eb7,_0x2ae207,_0x534e9c),A(this,_0x5148e1(0x4ec),'awaiting_with_pending'),A(this,_0x5148e1(0x433),0x0),A(this,_0x5148e1(0x454)),A(this,_0x5148e1(0x3cb)),(this[_0x5148e1(0x513)]=_0xade292,this[_0x5148e1(0x369)]=_0x4a207e,this['_transformService']=_0x5424c0,this[_0x5148e1(0x502)]=_0x534e9c,_0x3e37af&&(this[_0x5148e1(0x454)]=_0x3e37af,this[_0x5148e1(0x3cb)]=this[_0x5148e1(0x454)][_0x5148e1(0x307)](({reqId:_0x5c44fc,timeout:_0x4c6fe2})=>{var _0x1242ba=_0x5148e1;this[_0x1242ba(0x270)](_0x5c44fc,_0x4c6fe2);})));}[_0xf4019d(0x4b6)](_0x4e2c1d){var _0x543d07=_0xf4019d;return this[_0x543d07(0x213)]['push'](_0x4e2c1d),this;}[_0xf4019d(0x314)](_0x1de7d8){var _0x3b809b=_0xf4019d;if(this['_checkMissing'](_0x1de7d8))return this[_0x3b809b(0x323)](),this['_injector'][_0x3b809b(0x35a)](exports['FetchingMissState'],this['unitID'],this[_0x3b809b(0x4f6)],this[_0x3b809b(0x4a2)],this[_0x3b809b(0x213)],null,[_0x1de7d8],this[_0x3b809b(0x2ee)]);try{const _0xa62ad6=this[_0x3b809b(0x2ec)][_0x3b809b(0x4fd)]([_0x1de7d8],[this[_0x3b809b(0x4a2)]],!0x1);if(I['isTransformChangesetsSuccess'](_0xa62ad6)){const {c1Prime:_0x872930,c2Prime:_0x19f5c2}=_0xa62ad6,_0x23c8e6=this[_0x3b809b(0x2ec)][_0x3b809b(0x400)](_0x872930[0x0],this[_0x3b809b(0x213)]);if(I[_0x3b809b(0x398)](_0x23c8e6)){const {c1Prime:_0x424971,m2Prime:_0x3100d5}=_0x23c8e6;return this[_0x3b809b(0x45a)](_0x424971),_0x19f5c2[0x0][_0x3b809b(0x338)]=this[_0x3b809b(0x304)](),this[_0x3b809b(0x323)](),this[_0x3b809b(0x513)][_0x3b809b(0x35a)](exports[_0x3b809b(0x219)],this[_0x3b809b(0x1a6)],this['type'],_0x19f5c2[0x0],_0x3100d5,this[_0x3b809b(0x2ee)],void 0x0);}throw _0x23c8e6[_0x3b809b(0x4b8)];}throw _0xa62ad6[_0x3b809b(0x4b8)];}catch(_0x1e7146){return this[_0x3b809b(0x369)]['error'](_0x1e7146),this[_0x3b809b(0x46a)](!0x1);}}['onRemoteAck'](_0x28567a){var _0x9a2bab=_0xf4019d;if(this[_0x9a2bab(0x323)](),this[_0x9a2bab(0x254)](_0x28567a))return this[_0x9a2bab(0x513)][_0x9a2bab(0x35a)](exports[_0x9a2bab(0x4f5)],this[_0x9a2bab(0x1a6)],this[_0x9a2bab(0x4f6)],null,this['_pendingMutations'],this[_0x9a2bab(0x4a2)],[],this[_0x9a2bab(0x2ee)]);this[_0x9a2bab(0x4dd)]();const _0x55abd0=this[_0x9a2bab(0x513)][_0x9a2bab(0x35a)](exports['PendingState'],this['unitID'],this[_0x9a2bab(0x4f6)],this[_0x9a2bab(0x213)],this['_handler']);return _0x55abd0[_0x9a2bab(0x32d)](),_0x55abd0['_updateLocalCache'](),_0x55abd0;}[_0xf4019d(0x38c)](_0xe42255){var _0x182e96=_0xf4019d;return this['_onConflict'](!!(_0xe42255!=null&&_0xe42255[_0x182e96(0x30e)]));}['onRemoteRetry'](_0x4503fa){var _0x59e0a5=_0xf4019d;return this[_0x59e0a5(0x433)]>Rt?this[_0x59e0a5(0x203)]():(this[_0x59e0a5(0x454)]=bt(this[_0x59e0a5(0x433)],{'timeout':this[_0x59e0a5(0x433)],'reqId':_0x4503fa[_0x59e0a5(0x339)]}),this[_0x59e0a5(0x3cb)]=this['_resendTimer'][_0x59e0a5(0x307)](({reqId:_0x5739fe,timeout:_0x39a38a})=>{this['_resendWithTimeout'](_0x5739fe,_0x39a38a);}),this);}[_0xf4019d(0x203)](){var _0x52a61a=_0xf4019d;return this[_0x52a61a(0x323)](),this['_injector'][_0x52a61a(0x35a)](exports[_0x52a61a(0x405)],this[_0x52a61a(0x1a6)],this[_0x52a61a(0x4f6)],this[_0x52a61a(0x4a2)],this[_0x52a61a(0x213)],this['_handler']);}[_0xf4019d(0x42f)](){return this;}[_0xf4019d(0x3a0)](){var _0x39529b=_0xf4019d;this[_0x39529b(0x2ee)][_0x39529b(0x3bc)](this[_0x39529b(0x4a2)]);}[_0xf4019d(0x46a)](_0x49e0b5){var _0x3d9e55=_0xf4019d;return this['_clearScheduledTask'](),this[_0x3d9e55(0x513)][_0x3d9e55(0x35a)](exports['ConflictState'],this[_0x3d9e55(0x1a6)],this[_0x3d9e55(0x4f6)],null,this[_0x3d9e55(0x213)],this['_handler'],_0x49e0b5);}[_0xf4019d(0x270)](_0xd65e1e,_0x2370d8){var _0x4c3533=_0xf4019d,_0x3818b0;_0xd65e1e===((_0x3818b0=this[_0x4c3533(0x4a2)])==null?void 0x0:_0x3818b0['reqId'])&&(this[_0x4c3533(0x3a0)](),this[_0x4c3533(0x433)]=_0x2370d8===0x0?0x3e8:_0x2370d8*0x2);}['_clearScheduledTask'](){var _0x148705=_0xf4019d,_0x5988b1;(_0x5988b1=this[_0x148705(0x3cb)])==null||_0x5988b1[_0x148705(0x1cf)](),this[_0x148705(0x433)]=0x0;}},exports[_0xf4019d(0x219)]=ae([w(0x6,a[_0xf4019d(0x404)](a[_0xf4019d(0x347)])),w(0x7,a['Inject'](I['RevisionService'])),w(0x8,a[_0xf4019d(0x37e)]),w(0x9,a['ILogService']),w(0xa,I['ITransformService']),w(0xb,a[_0xf4019d(0x1a4)]),w(0xc,a[_0xf4019d(0x283)](q))],exports[_0xf4019d(0x219)]),exports[_0xf4019d(0x38d)]=class extends ce{constructor(_0x568212,_0x56b34b,_0x1e2b5a,_0x555180,_0x21ce68,_0x2e1e90=!0x1,_0x1d0ab5,_0x26c24c,_0x35ac58,_0x21b039,_0x953b6d,_0x187ac6,_0x461a8d){var _0x35a4f9=_0xf4019d;super(_0x568212,_0x56b34b,_0x1e2b5a,_0x555180,_0x21ce68,_0x26c24c,_0x35ac58,_0x21b039,_0x461a8d),A(this,'status',_0x35a4f9(0x3fa)),(this[_0x35a4f9(0x51b)]=_0x2e1e90,this[_0x35a4f9(0x1da)]=_0x1d0ab5,this[_0x35a4f9(0x35f)]=_0x953b6d,this[_0x35a4f9(0x3bf)]=_0x187ac6,this[_0x35a4f9(0x502)]=_0x461a8d,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x35a4f9(0x3ff)]());}[_0xf4019d(0x4b6)](){return this;}[_0xf4019d(0x314)](){return this;}[_0xf4019d(0x2da)](){return this;}[_0xf4019d(0x38c)](){return this;}['onRemoteRetry'](){return this;}[_0xf4019d(0x203)](){return this;}[_0xf4019d(0x42f)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xf4019d(0x4c4)](){var _0x695b3b=_0xf4019d,_0xf152b6;(_0xf152b6=this[_0x695b3b(0x33c)])==null||_0xf152b6['updateOfflineData'](this['unitID'],this[_0x695b3b(0x4f6)],null,[]);}[_0xf4019d(0x47a)](){var _0x593579=_0xf4019d;this[_0x593579(0x51b)]?this[_0x593579(0x3bf)][_0x593579(0x32a)]({'id':Z[_0x593579(0x26b)]}):this[_0x593579(0x3bf)]['emitEvent']({'id':Z[_0x593579(0x28b)]});}[_0xf4019d(0x3ff)](){var _0x1935b7=_0xf4019d;this[_0x1935b7(0x1da)][_0x1935b7(0x4cc)](new X[(_0x1935b7(0x298))](this[_0x1935b7(0x1a6)])['id'],!0x1);}},exports[_0xf4019d(0x38d)]=ae([w(0x6,a[_0xf4019d(0x404)](a[_0xf4019d(0x471)])),w(0x7,a[_0xf4019d(0x37e)]),w(0x8,a[_0xf4019d(0x1a4)]),w(0x9,a[_0xf4019d(0x404)](I[_0xf4019d(0x501)])),w(0xa,a[_0xf4019d(0x404)](a[_0xf4019d(0x367)])),w(0xb,a[_0xf4019d(0x404)](ee)),w(0xc,a[_0xf4019d(0x283)](q))],exports[_0xf4019d(0x38d)]),exports[_0xf4019d(0x405)]=class extends ce{constructor(_0x27f690,_0x429922,_0x4db008,_0x4f5f88,_0x263f8a,_0x5ab6d3,_0x594409,_0x34c7c2,_0x5e2a47,_0x5254d3){super(_0x27f690,_0x429922,_0x4db008,_0x4f5f88,_0x263f8a,_0x34c7c2,_0x5e2a47,_0x594409,_0x5254d3),A(this,'status','offline'),this['_injector']=_0x5ab6d3;}['appendMutation'](_0xe1b0fc){var _0x4fbfa3=_0xf4019d;return this['_pendingMutations'][_0x4fbfa3(0x2db)](_0xe1b0fc),this['_updateLocalCache'](),this;}[_0xf4019d(0x314)](_0x279e0c){var _0x4331c6=_0xf4019d;throw new Error(_0x4331c6(0x43c));}[_0xf4019d(0x2da)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0xf4019d(0x38c)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0xf4019d(0x3d4)](){return this;}[_0xf4019d(0x203)](){return this;}[_0xf4019d(0x42f)](){var _0x5f1f53=_0xf4019d;const {_injector:_0x335384,_pendingMutations:_0x3c2b89,_awaitingChangeset:_0x4a7e67,unitID:_0x5c72e8,_handler:_0x1832a1,type:_0x2c7e5c}=this,_0x242f9d=Ot(_0x335384,_0x5c72e8,_0x2c7e5c,_0x4a7e67,_0x3c2b89,_0x1832a1);return _0x242f9d instanceof exports[_0x5f1f53(0x3c8)]?_0x242f9d['_schedule']():(_0x242f9d instanceof exports[_0x5f1f53(0x219)]||_0x242f9d instanceof exports['AwaitingState'])&&_0x242f9d[_0x5f1f53(0x3a0)](),_0x242f9d;}[_0xf4019d(0x3a0)](){var _0x1a8ce4=_0xf4019d;throw new Error(_0x1a8ce4(0x3ef));}},exports[_0xf4019d(0x405)]=ae([w(0x5,a[_0xf4019d(0x404)](a['Injector'])),w(0x6,a[_0xf4019d(0x404)](I[_0xf4019d(0x501)])),w(0x7,a['ICommandService']),w(0x8,a[_0xf4019d(0x1a4)]),w(0x9,a[_0xf4019d(0x283)](q))],exports[_0xf4019d(0x405)]),exports['FetchingMissState']=class extends ce{constructor(_0x4250d9,_0xd0d089,_0x55e035,_0x3ea3e3,_0x2a9f99,_0x2e0ae0,_0x19df47,_0x36716b,_0x7b5555,_0x586ce8,_0x5c4781,_0xa80811,_0x2829e3,_0x22d1b7){var _0x546d3f=_0xf4019d;super(_0x4250d9,_0xd0d089,_0x55e035,_0x3ea3e3,_0x19df47,_0x5c4781,_0xa80811,_0x7b5555,_0x22d1b7),A(this,_0x546d3f(0x4ec),_0x546d3f(0x4ef)),(this[_0x546d3f(0x481)]=_0x2a9f99,this[_0x546d3f(0x290)]=_0x2e0ae0,this[_0x546d3f(0x513)]=_0x36716b,this[_0x546d3f(0x369)]=_0x586ce8,this[_0x546d3f(0x2ec)]=_0x2829e3,this[_0x546d3f(0x502)]=_0x22d1b7);}['onMissedChangesetFetched'](_0x4b2178){var _0x1b87e9=_0xf4019d;try{const _0x1fafb7=[..._0x4b2178,...this['_queuedRemoteChangesets']],_0x5109a8=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x1b87e9(0x271)](_0x37545c=>!!_0x37545c);let _0x1109ae,_0x2a9f64;if(_0x5109a8[_0x1b87e9(0x20b)]){const _0x5562f7=this[_0x1b87e9(0x2ec)][_0x1b87e9(0x4fd)](_0x1fafb7,_0x5109a8,!0x1);if(!I['isTransformChangesetsSuccess'](_0x5562f7))throw _0x5562f7[_0x1b87e9(0x4b8)];_0x1109ae=_0x5562f7[_0x1b87e9(0x4f8)],_0x2a9f64=_0x5562f7[_0x1b87e9(0x1df)];}else _0x1109ae=_0x1fafb7,_0x2a9f64=[];let _0x4ae256=this['_pendingMutations'];_0x1109ae['forEach'](_0x670789=>{var _0x4d528e=_0x1b87e9;let _0x26d02b;if(_0x4ae256['length']){const _0x167da4=this['_transformService'][_0x4d528e(0x400)](_0x670789,_0x4ae256);if(!I[_0x4d528e(0x398)](_0x167da4))throw _0x167da4[_0x4d528e(0x4b8)];_0x26d02b=_0x167da4['c1Prime'],_0x4ae256=_0x167da4[_0x4d528e(0x30d)];}else _0x26d02b=_0x670789;this['_executeRemoteChangeset'](_0x26d02b);}),this[_0x1b87e9(0x481)]&&this[_0x1b87e9(0x4dd)](),this[_0x1b87e9(0x4a2)]&&_0x2a9f64['length']&&(_0x2a9f64[0x0][_0x1b87e9(0x338)]=this['_getCurrentRevision']());let _0x3440ce;if(this[_0x1b87e9(0x4a2)]&&_0x4ae256[_0x1b87e9(0x20b)]!==0x0)_0x3440ce=this[_0x1b87e9(0x513)]['createInstance'](exports[_0x1b87e9(0x219)],this[_0x1b87e9(0x1a6)],this['type'],_0x2a9f64[0x0],_0x4ae256,this[_0x1b87e9(0x2ee)],void 0x0);else{if(this[_0x1b87e9(0x4a2)]&&_0x4ae256[_0x1b87e9(0x20b)]===0x0)_0x2a9f64[0x0][_0x1b87e9(0x338)]=this[_0x1b87e9(0x304)](),_0x3440ce=this[_0x1b87e9(0x513)]['createInstance'](exports[_0x1b87e9(0x3b7)],this[_0x1b87e9(0x1a6)],this[_0x1b87e9(0x4f6)],_0x2a9f64[0x0],this[_0x1b87e9(0x2ee)]);else{if(_0x4ae256[_0x1b87e9(0x20b)]!==0x0){const _0x24c00c=this[_0x1b87e9(0x513)][_0x1b87e9(0x35a)](exports['PendingState'],this[_0x1b87e9(0x1a6)],this[_0x1b87e9(0x4f6)],_0x4ae256,this[_0x1b87e9(0x2ee)]);_0x24c00c[_0x1b87e9(0x32d)](),_0x3440ce=_0x24c00c;}else _0x3440ce=this['_injector'][_0x1b87e9(0x35a)](exports[_0x1b87e9(0x500)],this['unitID'],this[_0x1b87e9(0x4f6)],this[_0x1b87e9(0x2ee)]);}}return _0x3440ce[_0x1b87e9(0x296)](),_0x3440ce;}catch(_0x471bda){return this[_0x1b87e9(0x369)][_0x1b87e9(0x4b8)](_0x1b87e9(0x1e7),_0x1b87e9(0x406),_0x471bda),this[_0x1b87e9(0x513)][_0x1b87e9(0x35a)](exports[_0x1b87e9(0x38d)],this[_0x1b87e9(0x1a6)],this['type'],this[_0x1b87e9(0x4a2)],this['_pendingMutations'],this[_0x1b87e9(0x2ee)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x4f7134){var _0x115b56=_0xf4019d;return this['_pendingMutations'][_0x115b56(0x2db)](_0x4f7134),this;}[_0xf4019d(0x314)](_0x2994a2){var _0x2cd460=_0xf4019d;return this[_0x2cd460(0x290)]['push'](_0x2994a2),this;}[_0xf4019d(0x2da)](_0x146816){var _0x5eaae2=_0xf4019d;if(this[_0x5eaae2(0x4a2)])return this[_0x5eaae2(0x481)]=this[_0x5eaae2(0x4a2)],this[_0x5eaae2(0x4a2)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0xf4019d(0x38c)](_0x2e1cd8){var _0x571bba=_0xf4019d;return this[_0x571bba(0x46a)](!!(_0x2e1cd8!=null&&_0x2e1cd8['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0xf4019d(0x203)](){var _0x1b2796=_0xf4019d;return this['_injector'][_0x1b2796(0x35a)](exports[_0x1b2796(0x405)],this[_0x1b2796(0x1a6)],this['type'],this[_0x1b2796(0x4a2)],this['_pendingMutations'],this[_0x1b2796(0x2ee)]);}[_0xf4019d(0x42f)](){return this;}[_0xf4019d(0x46a)](_0x464bcd){var _0x228e5a=_0xf4019d;return this[_0x228e5a(0x513)][_0x228e5a(0x35a)](exports[_0x228e5a(0x38d)],this[_0x228e5a(0x1a6)],this[_0x228e5a(0x4f6)],this[_0x228e5a(0x4a2)],this[_0x228e5a(0x213)],this['_handler'],_0x464bcd);}},exports[_0xf4019d(0x4f5)]=ae([w(0x7,a[_0xf4019d(0x404)](a[_0xf4019d(0x347)])),w(0x8,a[_0xf4019d(0x404)](I['RevisionService'])),w(0x9,a['ILogService']),w(0xa,a[_0xf4019d(0x37e)]),w(0xb,a['IUndoRedoService']),w(0xc,I[_0xf4019d(0x363)]),w(0xd,a[_0xf4019d(0x283)](q))],exports[_0xf4019d(0x4f5)]);function Ot(_0x2c77bb,_0x53ae71,_0x509d45,_0x1b88ef,_0x7d4eab,_0x7b57b2){var _0xa78c3b=_0xf4019d;return _0x1b88ef&&_0x7d4eab['length']?_0x2c77bb[_0xa78c3b(0x35a)](exports['AwaitingWithPendingState'],_0x53ae71,_0x509d45,_0x1b88ef,_0x7d4eab,_0x7b57b2,void 0x0):_0x1b88ef?_0x2c77bb[_0xa78c3b(0x35a)](exports[_0xa78c3b(0x3b7)],_0x53ae71,_0x509d45,_0x1b88ef,_0x7b57b2):_0x7d4eab[_0xa78c3b(0x20b)]?_0x2c77bb[_0xa78c3b(0x35a)](exports[_0xa78c3b(0x3c8)],_0x53ae71,_0x509d45,_0x7d4eab,_0x7b57b2):_0x2c77bb[_0xa78c3b(0x35a)](exports[_0xa78c3b(0x500)],_0x53ae71,_0x509d45,_0x7b57b2);}var vi=Object[_0xf4019d(0x341)],Fe=(_0x184dfc,_0x3bf318,_0x31eb47,_0x421916)=>{var _0x4efb51=_0xf4019d;for(var _0x1afee7=_0x421916>0x1?void 0x0:_0x421916?vi(_0x3bf318,_0x31eb47):_0x3bf318,_0x511b6b=_0x184dfc[_0x4efb51(0x20b)]-0x1,_0x90545c;_0x511b6b>=0x0;_0x511b6b--)(_0x90545c=_0x184dfc[_0x511b6b])&&(_0x1afee7=_0x90545c(_0x1afee7)||_0x1afee7);return _0x1afee7;},j=(_0x40824d,_0x55694e)=>(_0x29057b,_0x2cd2eb)=>_0x55694e(_0x29057b,_0x2cd2eb,_0x40824d);exports[_0xf4019d(0x362)]=class extends a[_0xf4019d(0x3ae)]{constructor(_0x28ed1b,_0x58ec8f,_0xdd8caa,_0x2062d6,_0xaaa700,_0x3cad1e,_0x3269ee,_0x4b77c2,_0x36d76b,_0x533169,_0x10e40b,_0x57044c,_0x208107){var _0x318fe6=_0xf4019d;super(),A(this,_0x318fe6(0x44c),new $[(_0x318fe6(0x2f5))](null)),A(this,_0x318fe6(0x43e),this['_state$'][_0x318fe6(0x33f)]()),A(this,_0x318fe6(0x492)),A(this,_0x318fe6(0x342),!0x1),A(this,'_changesetSessionId',''),A(this,_0x318fe6(0x475),0x0),A(this,'status$',this[_0x318fe6(0x43e)][_0x318fe6(0x25e)]($['map'](_0x42c817=>_0x42c817?_0x42c817[_0x318fe6(0x4ec)]:Be['OFFLINE']),$[_0x318fe6(0x1d2)](0x1))),A(this,_0x318fe6(0x355),!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x318fe6(0x1a6)]=_0x28ed1b,this[_0x318fe6(0x35c)]=_0x58ec8f,this['_type']=_0xdd8caa,this[_0x318fe6(0x513)]=_0x2062d6,this[_0x318fe6(0x429)]=_0xaaa700,this['_localeService']=_0x3cad1e,this['_revisionService']=_0x3269ee,this['_eventService']=_0x4b77c2,this[_0x318fe6(0x369)]=_0x36d76b,this[_0x318fe6(0x349)]=_0x533169,this[_0x318fe6(0x1da)]=_0x10e40b,this[_0x318fe6(0x1eb)]=_0x57044c,this[_0x318fe6(0x33c)]=_0x208107);}get[_0xf4019d(0x466)](){return this['_state'];}async['init'](){var _0x3d76f6=_0xf4019d;if(this[_0x3d76f6(0x466)])throw new Error(_0x3d76f6(0x43f));await this[_0x3d76f6(0x4b5)]();}[_0xf4019d(0x200)](){var _0x1df3d3=_0xf4019d;return this[_0x1df3d3(0x342)]=!0x0,a['toDisposable'](()=>{var _0x38daef=_0x1df3d3;this[_0x38daef(0x342)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x22c910){var _0x30f64e=_0xf4019d;this[_0x30f64e(0x479)](_0x22c910);}[_0xf4019d(0x30c)](_0x2e6fee){var _0xf386a2=_0xf4019d;this[_0xf386a2(0x492)]=_0x2e6fee,this[_0xf386a2(0x44c)][_0xf386a2(0x4ff)](_0x2e6fee);}async[_0xf4019d(0x4b5)](){var _0x632304=_0xf4019d,_0x2759d9;this[_0x632304(0x30c)](await this[_0x632304(0x448)]()),this[_0x632304(0x1eb)]&&((_0x2759d9=this[_0x632304(0x1eb)])==null||_0x2759d9['editingUnit'](this[_0x632304(0x1a6)]),this[_0x632304(0x4fb)](this[_0x632304(0x1eb)]['getUnitStatus$'](this[_0x632304(0x1a6)])['subscribe'](_0x16b22a=>{var _0x5afe2e=_0x632304;this[_0x5afe2e(0x369)][_0x5afe2e(0x267)]('[CollaborationEntity]',_0x5afe2e(0x506),_0x16b22a),_0x16b22a===je[_0x5afe2e(0x503)]?(this[_0x5afe2e(0x246)][_0x5afe2e(0x32a)]({'id':Z[_0x5afe2e(0x1fb)]}),this[_0x5afe2e(0x1da)][_0x5afe2e(0x4cc)](new X[(_0x5afe2e(0x298))](this['unitID'])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x5afe2e(0x1da)][_0x5afe2e(0x4cc)](new X[(_0x5afe2e(0x298))](this[_0x5afe2e(0x1a6)])['id'],!0x0),this['_permissionService'][_0x5afe2e(0x31a)](!0x0));})));let _0x4f0b70=!0x1;return this['disposeWithMe'](this[_0x632304(0x35c)][_0x632304(0x4cf)]['subscribe'](_0x5d119b=>{var _0x128cb7=_0x632304;_0x5d119b===re[_0x128cb7(0x4ca)]?this['_toggleOnline'](_0x4f0b70):_0x5d119b===re[_0x128cb7(0x258)]&&(_0x4f0b70=!0x0,this[_0x128cb7(0x1d0)]());})),this[_0x632304(0x4fb)](this['session'][_0x632304(0x1ca)][_0x632304(0x307)](_0x516ab1=>{var _0x3265d3=_0x632304;try{switch(_0x516ab1[_0x3265d3(0x2cc)]){case I[_0x3265d3(0x21b)][_0x3265d3(0x32e)]:{this[_0x3265d3(0x4ea)](I[_0x3265d3(0x24e)](_0x516ab1[_0x3265d3(0x3c4)]));break;}case I['CollaborationEvent'][_0x3265d3(0x3c6)]:{this[_0x3265d3(0x444)](_0x516ab1[_0x3265d3(0x3c4)]);break;}case I[_0x3265d3(0x21b)][_0x3265d3(0x2d7)]:{this[_0x3265d3(0x41d)]();break;}case I[_0x3265d3(0x21b)][_0x3265d3(0x395)]:{this['_onRemoteRetry'](_0x516ab1[_0x3265d3(0x3c4)]);break;}case I[_0x3265d3(0x21b)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x3265d3(0x31f)](_0x516ab1[_0x3265d3(0x3c4)][_0x3265d3(0x33d)]['map'](_0x1dd8af=>I[_0x3265d3(0x24e)](_0x1dd8af)));break;}case I['CollaborationEvent'][_0x3265d3(0x3e0)]:{this[_0x3265d3(0x41d)]({'isPermissionRej':!0x0});break;}case I[_0x3265d3(0x21b)][_0x3265d3(0x39d)]:break;}}catch(_0x1e212a){throw console[_0x3265d3(0x4b8)](_0x3265d3(0x29b),_0x1e212a),_0x1e212a;}})),this[_0x632304(0x492)];}['_unlockTransition'](){var _0x546de0=_0xf4019d;this[_0x546de0(0x355)]=!0x1;}[_0xf4019d(0x24f)](){var _0x43ce01=_0xf4019d;if(this['_transitionLocked'])throw new Error(_0x43ce01(0x272));this[_0x43ce01(0x355)]=!0x0;}[_0xf4019d(0x479)](_0xa3269e){var _0x49307d=_0xf4019d;this[_0x49307d(0x24f)](),this['_updateState'](this[_0x49307d(0x492)]['appendMutation'](_0xa3269e)),this[_0x49307d(0x1f3)]();}['_onRemoteChangeset'](_0x5f1446){var _0xefad0c=_0xf4019d;if(!(_0x5f1446[_0xefad0c(0x2af)]<=this[_0xefad0c(0x2ad)][_0xefad0c(0x4bc)](this[_0xefad0c(0x1a6)]))){if(this[_0xefad0c(0x342)]){this[_0xefad0c(0x374)][_0xefad0c(0x2db)](_0x5f1446);return;}this['_applyRemoteChangeset'](_0x5f1446);}}['_exhaustRemoteChangesetQueue'](){var _0x2a0ff1=_0xf4019d;this['_remoteChangesetQueue'][_0x2a0ff1(0x229)](_0x57da57=>this[_0x2a0ff1(0x441)](_0x57da57)),this[_0x2a0ff1(0x374)]=[];}['_applyRemoteChangeset'](_0x3b2dfe){var _0x4f85c1=_0xf4019d;const _0x5b87f1=this['_compressMutationService'][_0x4f85c1(0x2b3)][_0x4f85c1(0x1dd)](this[_0x4f85c1(0x429)][_0x4f85c1(0x2b3)][_0x4f85c1(0x33a)]()[_0x4f85c1(0x407)])(_0x3b2dfe[_0x4f85c1(0x356)],null)||_0x3b2dfe[_0x4f85c1(0x356)],_0x87aa9b={..._0x3b2dfe,'mutations':_0x5b87f1};this[_0x4f85c1(0x24f)](),this[_0x4f85c1(0x30c)](this[_0x4f85c1(0x492)]['onRemoteChangeset'](_0x87aa9b)),this['_unlockTransition']();}[_0xf4019d(0x444)](_0x5842a1){var _0x241be1=_0xf4019d;this[_0x241be1(0x24f)](),this[_0x241be1(0x30c)](this[_0x241be1(0x492)][_0x241be1(0x2da)](_0x5842a1)),this[_0x241be1(0x1f3)]();}[_0xf4019d(0x41d)](_0x4626a4){var _0x28a574=_0xf4019d;this[_0x28a574(0x24f)](),this[_0x28a574(0x30c)](this[_0x28a574(0x492)]['onRemoteRej'](_0x4626a4)),this[_0x28a574(0x1f3)]();}[_0xf4019d(0x47c)](_0x1827d7){var _0x311b97=_0xf4019d;this[_0x311b97(0x24f)](),this[_0x311b97(0x30c)](this[_0x311b97(0x492)][_0x311b97(0x3d4)](_0x1827d7)),this[_0x311b97(0x1f3)]();}[_0xf4019d(0x31f)](_0x2189d4){var _0x3ef952=_0xf4019d;if(!(this[_0x3ef952(0x492)]instanceof exports[_0x3ef952(0x4f5)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x4de011=_0x2189d4[_0x3ef952(0x253)](_0x50de21=>{var _0x3fabe7=_0x3ef952;const _0x3d8569=this[_0x3fabe7(0x429)][_0x3fabe7(0x2b3)][_0x3fabe7(0x1dd)](this[_0x3fabe7(0x429)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x50de21[_0x3fabe7(0x356)],null)||_0x50de21[_0x3fabe7(0x356)];return{..._0x50de21,'mutations':_0x3d8569};});this['_lockTransition'](),this['_updateState'](this['_state'][_0x3ef952(0x1c2)](_0x4de011)),this[_0x3ef952(0x1f3)]();}[_0xf4019d(0x1d0)](){var _0x3187ab=_0xf4019d;this[_0x3187ab(0x24f)](),this['_updateState'](this[_0x3187ab(0x492)][_0x3187ab(0x203)]()),this['_unlockTransition']();}[_0xf4019d(0x21c)](_0x5a434e=!0x1){var _0x193f4e=_0xf4019d;this[_0x193f4e(0x24f)](),this[_0x193f4e(0x30c)](this[_0x193f4e(0x492)]['toggleOnline']()),this[_0x193f4e(0x1f3)]();const _0x5d83bf=this['_state'];_0x5a434e&&_0x5d83bf instanceof exports[_0x193f4e(0x500)]&&(this[_0x193f4e(0x24f)](),this[_0x193f4e(0x30c)](_0x5d83bf[_0x193f4e(0x51a)]()),this[_0x193f4e(0x1f3)]());}async[_0xf4019d(0x448)](){return new Promise(_0x1916b8=>{var _0x40431b=_0x3525;this['session'][_0x40431b(0x4cf)]['pipe']($['take'](0x1))[_0x40431b(0x307)](async _0x1cc58c=>{var _0x2d4fae=_0x40431b;_0x1916b8(await this[_0x2d4fae(0x1f2)](_0x1cc58c===re[_0x2d4fae(0x4ca)]));});});}['_createHandler'](){var _0x1bf4df=_0xf4019d;const _0x4f98e5=this[_0x1bf4df(0x1a6)];return{'onStateChange':(_0x4a9fdc,_0x5bd147)=>{var _0x6b49dd=_0x1bf4df;if(_0x4a9fdc!==this[_0x6b49dd(0x492)])throw new Error(_0x6b49dd(0x3c9)+_0x4a9fdc[_0x6b49dd(0x4ec)]+_0x6b49dd(0x48f)+_0x5bd147['status']+_0x6b49dd(0x34d)+this[_0x6b49dd(0x492)][_0x6b49dd(0x4ec)]);this[_0x6b49dd(0x30c)](_0x5bd147);},'onSendChangeset':_0x1f4724=>{var _0x13e1fe=_0x1bf4df;_0x1f4724[_0x13e1fe(0x40f)]||(_0x1f4724[_0x13e1fe(0x40f)]=this['_changesetSessionId'],_0x1f4724[_0x13e1fe(0x339)]=++this[_0x13e1fe(0x475)]);const _0x5755fa={'eventID':I[_0x13e1fe(0x21b)][_0x13e1fe(0x4e3)],'data':{'unitID':_0x1f4724[_0x13e1fe(0x1a6)],'unitType':this[_0x13e1fe(0x443)],'changeset':_0x1f4724,'memberID':this['session'][_0x13e1fe(0x336)]()}};this[_0x13e1fe(0x35c)][_0x13e1fe(0x44d)](_0x5755fa,this[_0x13e1fe(0x1a6)]);},'onMissingChangesets':({from:_0x54f17e,to:_0x5ed1dc})=>{var _0x596331=_0x1bf4df;this['_logService'][_0x596331(0x267)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x54f17e+_0x596331(0x512)+_0x5ed1dc);const _0x1d02d5={'eventID':I[_0x596331(0x21b)][_0x596331(0x1de)],'data':{'unitID':_0x4f98e5,'unitType':this['_type'],'from':_0x54f17e,'to':_0x5ed1dc}};this[_0x596331(0x35c)][_0x596331(0x44d)](_0x1d02d5,this[_0x596331(0x1a6)]);}};}async[_0xf4019d(0x1f2)](_0x1ddf05){var _0x2facd5=_0xf4019d,_0x45ac8e,_0x3f035e,_0x28a462;const _0x4bffcf=await((_0x45ac8e=this[_0x2facd5(0x33c)])==null?void 0x0:_0x45ac8e[_0x2facd5(0x1a9)](this[_0x2facd5(0x1a6)])),_0x4f1b9d=(_0x3f035e=_0x4bffcf==null?void 0x0:_0x4bffcf[_0x2facd5(0x356)])!=null?_0x3f035e:[],_0x4f99bd=(_0x28a462=_0x4bffcf==null?void 0x0:_0x4bffcf['awaitingChangeset'])!=null?_0x28a462:null,_0x252b60=!!(_0x4f99bd!=null&&_0x4f99bd[_0x2facd5(0x40f)])&&!!(_0x4f99bd!=null&&_0x4f99bd[_0x2facd5(0x339)]);this[_0x2facd5(0x451)]=_0x252b60?_0x4f99bd[_0x2facd5(0x40f)]:I[_0x2facd5(0x2cb)](),this[_0x2facd5(0x475)]=_0x252b60?_0x4f99bd[_0x2facd5(0x339)]:0x0;const _0x258dab=this['unitID'];try{this[_0x2facd5(0x24a)](_0x4f99bd,_0x4f1b9d);}catch(_0x178d65){this[_0x2facd5(0x369)][_0x2facd5(0x4b8)](_0x178d65);}const _0x2ae559=this['_createHandler']();if(_0x1ddf05){const _0x34a97a=Ot(this[_0x2facd5(0x513)],_0x258dab,this[_0x2facd5(0x443)],_0x4f99bd,_0x4f1b9d,_0x2ae559);return _0x34a97a instanceof exports[_0x2facd5(0x3c8)]?_0x34a97a[_0x2facd5(0x32d)]():(_0x34a97a instanceof exports['AwaitingWithPendingState']||_0x34a97a instanceof exports['AwaitingState'])&&_0x34a97a['resend'](),_0x34a97a;}return this[_0x2facd5(0x513)][_0x2facd5(0x35a)](exports[_0x2facd5(0x405)],_0x258dab,this[_0x2facd5(0x443)],_0x4f99bd,_0x4f1b9d,_0x2ae559);}[_0xf4019d(0x24a)](_0x1bf0e5,_0x5b68f9){var _0x4f343d=_0xf4019d,_0xd0a620,_0x27e8b9;const _0x3a5d50=this[_0x4f343d(0x429)][_0x4f343d(0x2b3)]['fetchThroughInterceptors'](this[_0x4f343d(0x429)][_0x4f343d(0x2b3)]['getInterceptPoints']()[_0x4f343d(0x407)]);(_0xd0a620=_0x3a5d50((_0x1bf0e5==null?void 0x0:_0x1bf0e5[_0x4f343d(0x356)])||[],null))==null||_0xd0a620['forEach'](_0x4866b5=>this[_0x4f343d(0x349)]['executeCommand'](_0x4866b5['id'],_0x4866b5[_0x4f343d(0x41a)])),(_0x27e8b9=_0x3a5d50(_0x5b68f9||[],null))==null||_0x27e8b9['forEach'](_0x4fba26=>this[_0x4f343d(0x349)][_0x4f343d(0x30f)](_0x4fba26['id'],_0x4fba26[_0x4f343d(0x41a)]));}},exports[_0xf4019d(0x362)]=Fe([j(0x3,a[_0xf4019d(0x404)](a[_0xf4019d(0x347)])),j(0x4,a[_0xf4019d(0x404)](I[_0xf4019d(0x28c)])),j(0x5,a[_0xf4019d(0x404)](a[_0xf4019d(0x367)])),j(0x6,a['Inject'](I[_0xf4019d(0x501)])),j(0x7,a[_0xf4019d(0x404)](ee)),j(0x8,a[_0xf4019d(0x2f2)]),j(0x9,a[_0xf4019d(0x37e)]),j(0xa,a[_0xf4019d(0x471)]),j(0xb,a['Optional'](de)),j(0xc,a['Optional'](q))],exports[_0xf4019d(0x362)]),exports[_0xf4019d(0x488)]=class extends exports[_0xf4019d(0x362)]{constructor(_0x38def7,_0x317f98,_0x184f25,_0x513507,_0x54632e,_0x2923c1,_0x2212f3,_0x25d56d,_0x561661,_0xba57fe,_0x39770e,_0x18a881,_0x4323a0){var _0x210bbb=_0xf4019d;super(_0x38def7,_0x184f25,_0x317f98,_0x513507,_0x54632e,_0x2923c1,_0x2212f3,_0x25d56d,_0x561661,_0xba57fe,_0x39770e,_0x18a881,_0x4323a0),A(this,'_handlerCallback',null),(this[_0x210bbb(0x1a6)]=_0x38def7,this[_0x210bbb(0x4f6)]=_0x317f98);}[_0xf4019d(0x3d5)](_0x1f4fd3){this['_handlerCallback']=_0x1f4fd3;}[_0xf4019d(0x22d)](){var _0x499022=_0xf4019d;this['_handlerCallback']=null,super[_0x499022(0x22d)]();}[_0xf4019d(0x2ff)](){var _0xf1a804=_0xf4019d;const _0x4d9e77=super[_0xf1a804(0x2ff)]();return _0x4d9e77[_0xf1a804(0x33e)]=_0x3bb07c=>{var _0x2af959=_0xf1a804,_0x5b8b1e,_0x1d7525;return(_0x1d7525=(_0x5b8b1e=this[_0x2af959(0x1a8)])==null?void 0x0:_0x5b8b1e[_0x2af959(0x33e)])==null?void 0x0:_0x1d7525[_0x2af959(0x2b0)](_0x5b8b1e,_0x3bb07c);},_0x4d9e77['onTransformState']=_0x378d38=>{var _0x2eca05=_0xf1a804,_0x2653ea,_0x5c943c;return(_0x5c943c=(_0x2653ea=this[_0x2eca05(0x1a8)])==null?void 0x0:_0x2653ea[_0x2eca05(0x212)])==null?void 0x0:_0x5c943c[_0x2eca05(0x2b0)](_0x2653ea,_0x378d38);},_0x4d9e77[_0xf1a804(0x357)]=_0x44bace=>{var _0x51a3dd=_0xf1a804,_0x370bb6,_0xe9a2be;return(_0xe9a2be=(_0x370bb6=this['_handlerCallback'])==null?void 0x0:_0x370bb6[_0x51a3dd(0x357)])==null?void 0x0:_0xe9a2be[_0x51a3dd(0x2b0)](_0x370bb6,_0x44bace);},_0x4d9e77[_0xf1a804(0x414)]=_0x3c12fe=>{var _0x251bc3=_0xf1a804,_0x4f02aa,_0x481cfc;return(_0x481cfc=(_0x4f02aa=this['_handlerCallback'])==null?void 0x0:_0x4f02aa[_0x251bc3(0x414)])==null?void 0x0:_0x481cfc[_0x251bc3(0x2b0)](_0x4f02aa,_0x3c12fe);},_0x4d9e77[_0xf1a804(0x277)]=_0x370f3c=>{var _0x23ccf1=_0xf1a804,_0x7bd7a,_0x3b0023,_0x799142;if(!((_0x7bd7a=this[_0x23ccf1(0x1a8)])!=null&&_0x7bd7a[_0x23ccf1(0x277)]))throw new Error(_0x23ccf1(0x40a));return(_0x799142=(_0x3b0023=this[_0x23ccf1(0x1a8)])==null?void 0x0:_0x3b0023[_0x23ccf1(0x277)])==null?void 0x0:_0x799142['call'](_0x3b0023,_0x370f3c);},_0x4d9e77['onTransformRemoteChangesetByStateCache']=_0x5e43e3=>{var _0x5b98f7=_0xf1a804,_0x32d0bf,_0x43a257,_0x46bb6e;if(!((_0x32d0bf=this[_0x5b98f7(0x1a8)])!=null&&_0x32d0bf[_0x5b98f7(0x21a)]))throw new Error(_0x5b98f7(0x376));return(_0x46bb6e=(_0x43a257=this[_0x5b98f7(0x1a8)])==null?void 0x0:_0x43a257['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x46bb6e['call'](_0x43a257,_0x5e43e3);},_0x4d9e77;}async[_0xf4019d(0x4b5)](){var _0x2c3e22=_0xf4019d;const _0x4ba61d=await super[_0x2c3e22(0x4b5)]();return this[_0x2c3e22(0x4fb)](this[_0x2c3e22(0x349)][_0x2c3e22(0x233)]((_0x47823f,_0x4c81d3)=>{var _0x37faef=_0x2c3e22;if(_0x47823f['type']!==a['CommandType']['MUTATION']||_0x4c81d3!=null&&_0x4c81d3['fromCollab']||_0x4c81d3!=null&&_0x4c81d3['onlyLocal']||_0x47823f['id']===ht[_0x37faef(0x4cb)]['id'])return;const _0xe416a3=_0x47823f['params'];if((_0xe416a3==null?void 0x0:_0xe416a3[_0x37faef(0x388)])!==this[_0x37faef(0x1a6)])return;const _0x1d6aff=_0x47823f,_0x29df3e=this[_0x37faef(0x429)]['interceptor'][_0x37faef(0x1dd)](this[_0x37faef(0x429)]['interceptor']['getInterceptPoints']()[_0x37faef(0x1e0)])([_0x1d6aff],null)||[_0x1d6aff];this[_0x37faef(0x479)](_0x29df3e[0x0]);})),_0x4ba61d;}},exports['DocCollaborationEntity']=Fe([j(0x3,a[_0xf4019d(0x404)](a[_0xf4019d(0x347)])),j(0x4,a[_0xf4019d(0x404)](I[_0xf4019d(0x28c)])),j(0x5,a[_0xf4019d(0x404)](a[_0xf4019d(0x367)])),j(0x6,a[_0xf4019d(0x404)](I[_0xf4019d(0x501)])),j(0x7,a[_0xf4019d(0x404)](ee)),j(0x8,a[_0xf4019d(0x2f2)]),j(0x9,a[_0xf4019d(0x37e)]),j(0xa,a[_0xf4019d(0x471)]),j(0xb,a[_0xf4019d(0x283)](de)),j(0xc,a[_0xf4019d(0x283)](q))],exports['DocCollaborationEntity']),exports[_0xf4019d(0x49e)]=class extends exports['CollaborationEntity']{constructor(_0x462f0a,_0x359e53,_0xf65858,_0x52f1c9,_0x33f0f9,_0x54a625,_0x9ca034,_0x336e9d,_0x319b74,_0x810220,_0x44b724,_0xb0a740,_0x1ea77e,_0xe4bb63){var _0x28cb9c=_0xf4019d;super(_0x462f0a,_0xf65858,_0x359e53,_0x52f1c9,_0x33f0f9,_0x54a625,_0x9ca034,_0x319b74,_0x810220,_0x44b724,_0xb0a740,_0x1ea77e,_0xe4bb63),this[_0x28cb9c(0x1a6)]=_0x462f0a,this[_0x28cb9c(0x4f6)]=_0x359e53,this[_0x28cb9c(0x416)]=_0x336e9d;}[_0xf4019d(0x2ff)](){var _0x476fc3=_0xf4019d;const _0x5e286b=super[_0x476fc3(0x2ff)]();return _0x5e286b[_0x476fc3(0x357)]=_0x23953f=>this[_0x476fc3(0x416)][_0x476fc3(0x4d4)](_0x23953f),_0x5e286b;}async['_init'](){var _0x482c60=_0xf4019d;const _0x56529e=await super[_0x482c60(0x4b5)]();return this[_0x482c60(0x4fb)](this[_0x482c60(0x349)][_0x482c60(0x233)]((_0xfdf27,_0x4bd191)=>{var _0x4e8df5=_0x482c60;if(_0xfdf27['type']!==a['CommandType'][_0x4e8df5(0x41b)]||_0x4bd191!=null&&_0x4bd191[_0x4e8df5(0x285)]||_0x4bd191!=null&&_0x4bd191['onlyLocal'])return;const _0x5a827f=_0xfdf27[_0x4e8df5(0x41a)];if((_0x5a827f==null?void 0x0:_0x5a827f[_0x4e8df5(0x388)])!==this[_0x4e8df5(0x1a6)])return;const _0x1b7797=_0xfdf27,_0x23edc2=this[_0x4e8df5(0x429)][_0x4e8df5(0x2b3)][_0x4e8df5(0x1dd)](this['_compressMutationService']['interceptor'][_0x4e8df5(0x33a)]()[_0x4e8df5(0x1e0)])([_0x1b7797],null)||[_0x1b7797];this[_0x4e8df5(0x479)](_0x23edc2[0x0]);})),_0x56529e;}},exports[_0xf4019d(0x49e)]=Fe([j(0x3,a[_0xf4019d(0x404)](a['Injector'])),j(0x4,a['Inject'](I['CompressMutationService'])),j(0x5,a[_0xf4019d(0x404)](a[_0xf4019d(0x367)])),j(0x6,a[_0xf4019d(0x404)](I[_0xf4019d(0x501)])),j(0x7,a[_0xf4019d(0x404)](exports[_0xf4019d(0x3d8)])),j(0x8,a[_0xf4019d(0x404)](ee)),j(0x9,a[_0xf4019d(0x2f2)]),j(0xa,a[_0xf4019d(0x37e)]),j(0xb,a[_0xf4019d(0x471)]),j(0xc,a['Optional'](de)),j(0xd,a[_0xf4019d(0x283)](q))],exports[_0xf4019d(0x49e)]);var Si=Object[_0xf4019d(0x341)],fi=(_0x2686b3,_0x233b30,_0x4809f3,_0x336190)=>{var _0x447169=_0xf4019d;for(var _0x258a6b=_0x336190>0x1?void 0x0:_0x336190?Si(_0x233b30,_0x4809f3):_0x233b30,_0x1cfae2=_0x2686b3[_0x447169(0x20b)]-0x1,_0xb4f750;_0x1cfae2>=0x0;_0x1cfae2--)(_0xb4f750=_0x2686b3[_0x1cfae2])&&(_0x258a6b=_0xb4f750(_0x258a6b)||_0x258a6b);return _0x258a6b;},Se=(_0x262559,_0x517e91)=>(_0x205e24,_0x3f1880)=>_0x517e91(_0x205e24,_0x3f1880,_0x262559);exports[_0xf4019d(0x29d)]=class extends a[_0xf4019d(0x3ae)]{constructor(_0x1ee456,_0x5a3a3c,_0x4720e2,_0x31f0ab){var _0x5cb715=_0xf4019d,_0x14e135;super(),A(this,_0x5cb715(0x248),new Map()),A(this,_0x5cb715(0x432),new $[(_0x5cb715(0x4d6))]()),A(this,'entityInit$',this[_0x5cb715(0x432)][_0x5cb715(0x33f)]()),(this[_0x5cb715(0x513)]=_0x1ee456,this[_0x5cb715(0x2e7)]=_0x5a3a3c,this[_0x5cb715(0x3aa)]=_0x4720e2,this[_0x5cb715(0x261)]=_0x31f0ab,((_0x14e135=this[_0x5cb715(0x3aa)][_0x5cb715(0x42e)](K))==null?void 0x0:_0x14e135['enableCollaboration'])!==!0x1&&this['_init']());}[_0xf4019d(0x22d)](){var _0x6e30dd=_0xf4019d;super[_0x6e30dd(0x22d)](),this['_entities'][_0x6e30dd(0x229)](_0x2e5fb9=>_0x2e5fb9[_0x6e30dd(0x22d)]()),this[_0x6e30dd(0x248)]['clear']();}['getCollabEntity'](_0x39be05){var _0x37e174=_0xf4019d,_0x5b6723;return(_0x5b6723=this[_0x37e174(0x248)][_0x37e174(0x1fc)](_0x39be05))!=null?_0x5b6723:null;}[_0xf4019d(0x2c3)](_0x266bdf){var _0x40da68=_0xf4019d;const _0xab4700=this[_0x40da68(0x206)](_0x266bdf);return _0xab4700?$['of'](_0xab4700):this['_entityInit$']['pipe'](V['filter'](_0x472d75=>_0x472d75[_0x40da68(0x1a6)]===_0x266bdf));}['readyForCollab'](_0x4709e7){var _0x4c054f=_0xf4019d;return $[_0x4c054f(0x2e5)](this[_0x4c054f(0x2c3)](_0x4709e7)['pipe'](V['map'](()=>{})));}[_0xf4019d(0x4b5)](){var _0x3731ae=_0xf4019d;this[_0x3731ae(0x261)][_0x3731ae(0x382)](a['UniverInstanceType'][_0x3731ae(0x2a8)])['pipe']($[_0x3731ae(0x4c5)](this[_0x3731ae(0x4af)]),V[_0x3731ae(0x1f4)](0x10))[_0x3731ae(0x307)](async _0x5c911d=>{var _0x58f04d=_0x3731ae;const _0x56f9c4=_0x5c911d['getUnitId'](),_0x306c22=await this[_0x58f04d(0x48e)](_0x56f9c4,J['UNIVER_SHEET']);this['_entities'][_0x58f04d(0x214)](_0x56f9c4,_0x306c22);}),this['_univerInstanceService'][_0x3731ae(0x382)](a[_0x3731ae(0x4c0)]['UNIVER_DOC'])[_0x3731ae(0x25e)]($[_0x3731ae(0x4c5)](this[_0x3731ae(0x4af)]),V[_0x3731ae(0x1f4)](0x10))[_0x3731ae(0x25e)](V[_0x3731ae(0x271)](_0x4e6c4e=>!_0x4e6c4e['getUnitId']()['startsWith']('__')))[_0x3731ae(0x307)](async _0x419d2d=>{var _0x4a8075=_0x3731ae;const _0x5c2c10=_0x419d2d[_0x4a8075(0x240)](),_0x24a04d=await this[_0x4a8075(0x48e)](_0x5c2c10,J['UNIVER_DOC']);this[_0x4a8075(0x248)][_0x4a8075(0x214)](_0x5c2c10,_0x24a04d);}),$['merge'](this[_0x3731ae(0x261)][_0x3731ae(0x2e4)](a['UniverInstanceType']['UNIVER_SHEET']),this[_0x3731ae(0x261)][_0x3731ae(0x2e4)](a['UniverInstanceType']['UNIVER_DOC']))[_0x3731ae(0x25e)]($[_0x3731ae(0x4c5)](this[_0x3731ae(0x4af)]))['subscribe'](_0x1b6b03=>{var _0x73599=_0x3731ae;const _0x284be7=_0x1b6b03[_0x73599(0x240)](),_0x108aca=this['_entities'][_0x73599(0x1fc)](_0x284be7);_0x108aca&&(_0x108aca[_0x73599(0x22d)](),this[_0x73599(0x248)][_0x73599(0x250)](_0x284be7));});}async[_0xf4019d(0x48e)](_0x3a9d56,_0x420829){var _0x161e52=_0xf4019d;const _0x51c287=await this[_0x161e52(0x2e7)][_0x161e52(0x391)](_0x3a9d56),_0x9c7478=this[_0x161e52(0x513)][_0x161e52(0x35a)](this['_getCtorByUniverType'](_0x420829),_0x3a9d56,_0x420829,_0x51c287);return await _0x9c7478[_0x161e52(0x403)](),this['_entityInit$'][_0x161e52(0x4ff)](_0x9c7478),_0x9c7478;}['_getCtorByUniverType'](_0x1ce656){var _0x1f4e07=_0xf4019d;switch(_0x1ce656){case J[_0x1f4e07(0x23a)]:return exports[_0x1f4e07(0x488)];case J['UNIVER_SHEET']:return exports[_0x1f4e07(0x49e)];default:throw new Error(_0x1f4e07(0x3ee)+_0x1ce656);}}},exports[_0xf4019d(0x29d)]=fi([Se(0x0,a['Inject'](a[_0xf4019d(0x347)])),Se(0x1,a['Inject'](exports[_0xf4019d(0x4c6)])),Se(0x2,a[_0xf4019d(0x4f2)]),Se(0x3,a[_0xf4019d(0x2d9)])],exports[_0xf4019d(0x29d)]);var pi=Object[_0xf4019d(0x341)],Ii=(_0x1625e1,_0x29969f,_0x40728f,_0x1a7e80)=>{var _0x236b82=_0xf4019d;for(var _0x3056bc=_0x1a7e80>0x1?void 0x0:_0x1a7e80?pi(_0x29969f,_0x40728f):_0x29969f,_0x395ff8=_0x1625e1[_0x236b82(0x20b)]-0x1,_0x4783c3;_0x395ff8>=0x0;_0x395ff8--)(_0x4783c3=_0x1625e1[_0x395ff8])&&(_0x3056bc=_0x4783c3(_0x3056bc)||_0x3056bc);return _0x3056bc;},Ye=(_0x185954,_0x41bacc)=>(_0x7ebd51,_0x5f0787)=>_0x41bacc(_0x7ebd51,_0x5f0787,_0x185954);const gi=_0xf4019d(0x3e9),Ei=_0xf4019d(0x292);let xe=class extends a['Disposable']{constructor(_0x137b72,_0x96e028){super(),this['_univerInstanceService']=_0x137b72,this['_configService']=_0x96e028,this['_init']();}[_0xf4019d(0x4b5)](){var _0x431a68=_0xf4019d;this[_0x431a68(0x4fb)](this['_univerInstanceService']['focused$'][_0x431a68(0x307)](()=>{var _0x9b5cf6=_0x431a68,_0x32a5a9;const _0x3c1297=this[_0x9b5cf6(0x261)]['getFocusedUnit']();let _0x58406a=(_0x32a5a9=this[_0x9b5cf6(0x3aa)][_0x9b5cf6(0x42e)](gi))!=null?_0x32a5a9:Ei;_0x3c1297 instanceof a['Workbook']&&(_0x58406a=_0x3c1297[_0x9b5cf6(0x452)]),document[_0x9b5cf6(0x2e3)]=_0x58406a;}));}};xe=Ii([Ye(0x0,a['IUniverInstanceService']),Ye(0x1,a[_0xf4019d(0x4f2)])],xe);var mi=Object['getOwnPropertyDescriptor'],Ci=(_0xf0cb74,_0x228970,_0x4ae7ab,_0x478909)=>{for(var _0x4f568d=_0x478909>0x1?void 0x0:_0x478909?mi(_0x228970,_0x4ae7ab):_0x228970,_0x12c57c=_0xf0cb74['length']-0x1,_0x2a5e3e;_0x12c57c>=0x0;_0x12c57c--)(_0x2a5e3e=_0xf0cb74[_0x12c57c])&&(_0x4f568d=_0x2a5e3e(_0x4f568d)||_0x4f568d);return _0x4f568d;},Ae=(_0x57ba92,_0x230e52)=>(_0x32f4e3,_0x21b64b)=>_0x230e52(_0x32f4e3,_0x21b64b,_0x57ba92);let ye=class{constructor(_0x2a1a54,_0x5795a2,_0x51f450){var _0x1e7cd7=_0xf4019d;this[_0x1e7cd7(0x3aa)]=_0x2a1a54,this['_httpService']=_0x5795a2,this[_0x1e7cd7(0x2c4)]=_0x51f450,this[_0x1e7cd7(0x403)]();}['init'](){var _0x2d6399=_0xf4019d;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x2fb5e6,_0x39c606)=>_0x39c606(_0x2fb5e6)[_0x2d6399(0x25e)]($[_0x2d6399(0x3db)](async _0x54c5fb=>{var _0x5ede13=_0x2d6399;const _0x200599=_0x54c5fb;if(_0x200599[_0x5ede13(0x4ec)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x5ede13(0x3af)](this[_0x5ede13(0x2c4)]['t'](_0x5ede13(0x427)))){const _0x3cfb55=window[_0x5ede13(0x223)](window['location']['href']);window[_0x5ede13(0x288)][_0x5ede13(0x4ac)]=this[_0x5ede13(0x4ae)]()+'?url='+_0x3cfb55;}}return _0x200599;}))});}[_0xf4019d(0x4ae)](){var _0x3a66d3=_0xf4019d,_0xb9e280,_0x484c9c;const _0x192a1c=this[_0x3a66d3(0x3aa)][_0x3a66d3(0x42e)](It),_0x327a1d=this[_0x3a66d3(0x3aa)][_0x3a66d3(0x42e)](K);return(_0x484c9c=(_0xb9e280=_0x327a1d==null?void 0x0:_0x327a1d[_0x3a66d3(0x39e)])!=null?_0xb9e280:_0x192a1c)!=null?_0x484c9c:Wt;}};ye=Ci([Ae(0x0,a[_0xf4019d(0x4f2)]),Ae(0x1,a[_0xf4019d(0x404)](Y[_0xf4019d(0x4ad)])),Ae(0x2,a['Inject'](a[_0xf4019d(0x367)]))],ye);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0x44a824,_0x1316b6,_0x3ef6bd,_0x31d218)=>{var _0x3e8cdb=_0xf4019d;for(var _0x4863d0=_0x31d218>0x1?void 0x0:_0x31d218?Ti(_0x1316b6,_0x3ef6bd):_0x1316b6,_0x3014f7=_0x44a824[_0x3e8cdb(0x20b)]-0x1,_0x567c06;_0x3014f7>=0x0;_0x3014f7--)(_0x567c06=_0x44a824[_0x3014f7])&&(_0x4863d0=_0x567c06(_0x4863d0)||_0x4863d0);return _0x4863d0;},qe=(_0xaad3bc,_0x3033d5)=>(_0x5d4185,_0x20655b)=>_0x3033d5(_0x5d4185,_0x20655b,_0xaad3bc);const Ve=_0xf4019d(0x4f3),Ri=_0xf4019d(0x410);exports['AuthzIoHttpService']=class extends a[_0xf4019d(0x322)]{constructor(_0xdd2fb6,_0x37dc58){var _0x4e3450=_0xf4019d;super(),this[_0x4e3450(0x4c1)]=_0xdd2fb6,this[_0x4e3450(0x3aa)]=_0x37dc58,this['_initMergeInterceptor']();}[_0xf4019d(0x509)](){var _0x3859b6=_0xf4019d;const _0x37f87f=this;this[_0x3859b6(0x4fb)](this['_HTTPService'][_0x3859b6(0x497)]({'priority':0x3e7,'interceptor':Y[_0x3859b6(0x278)]({'isMatch'(_0xd0d574){var _0x5912b0=_0x3859b6,_0x35f828;if(_0xd0d574[_0x5912b0(0x518)]===_0x5912b0(0x2f4)&&((_0x35f828=_0xd0d574[_0x5912b0(0x4bf)])!=null&&_0x35f828[_0x5912b0(0x1ed)])){const {objectID:_0x5c98be,objectType:_0x18e126}=_0xd0d574[_0x5912b0(0x4bf)][_0x5912b0(0x1ed)]||{};if(!_0x5c98be||_0x18e126===void 0x0)return!0x1;const _0x47a9e1=_0x37f87f['_getAPIPrefixPath']()+'/'+_0x18e126+_0x5912b0(0x2ed)+_0x5c98be+_0x5912b0(0x3d9);if(_0xd0d574[_0x5912b0(0x228)]===_0x47a9e1)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x286977){var _0x2fa41f=_0x3859b6,_0x4821e6;return(_0x4821e6=_0x286977[_0x2fa41f(0x4bf)])==null?void 0x0:_0x4821e6[_0x2fa41f(0x1ed)];},'mergeParamsToRequest'(_0x20474e,_0x4c80ba){var _0x46b531=_0x3859b6;const _0x35ba95=_0x37f87f[_0x46b531(0x20a)]()+'/-/object/-/batch_allowed',_0x4670bf=_0x20474e[_0x46b531(0x464)]((_0x4844de,_0x3b5bda)=>{var _0x228e28=_0x46b531;const {unitID:_0x47bd8b,objectID:_0x252bf1,objectType:_0x347a5b,actions:_0x44a02e}=_0x3b5bda;return _0x4844de[_0x47bd8b]||(_0x4844de[_0x47bd8b]={}),_0x4844de[_0x47bd8b][_0x252bf1]||(_0x4844de[_0x47bd8b][_0x252bf1]={'objectID':_0x252bf1,'objectType':_0x347a5b,'actions':[]}),_0x4844de[_0x47bd8b][_0x252bf1][_0x228e28(0x2f7)][_0x228e28(0x2db)](..._0x44a02e),_0x4844de;},{}),_0x579d8c=[];for(const _0x3f26db in _0x4670bf)for(const _0x242c47 in _0x4670bf[_0x3f26db]){const {actions:_0x5e9712,objectType:_0x34d9f1}=_0x4670bf[_0x3f26db][_0x242c47],_0x5da693=[...new Set(_0x5e9712)];_0x579d8c[_0x46b531(0x2db)]({'unitID':_0x3f26db,'objectID':_0x242c47,'objectType':_0x34d9f1,'actions':_0x5da693});}return new Y['HTTPRequest'](_0x46b531(0x2f4),_0x35ba95,{'headers':_0x4c80ba[_0x46b531(0x48b)],'withCredentials':_0x4c80ba[_0x46b531(0x32f)],'responseType':_0x4c80ba[_0x46b531(0x1ab)],'body':{'requests':_0x579d8c}});}},{'distributeResult'(_0x234b19,_0x4444cf){var _0x1c0bd5=_0x3859b6;const {objectActions:_0x95d0b7}=_0x234b19;return _0x4444cf[_0x1c0bd5(0x253)](_0x345096=>{var _0x494307=_0x1c0bd5;const {unitID:_0x33cac8,objectID:_0x2727a6,actions:_0x314618}=_0x345096,_0x29bf00=_0x95d0b7[_0x494307(0x36f)](_0x31316d=>_0x31316d[_0x494307(0x1a6)]===_0x33cac8&&_0x31316d[_0x494307(0x460)]===_0x2727a6),_0x2a0adf=_0x314618['map'](_0x461f6c=>_0x29bf00==null?void 0x0:_0x29bf00[_0x494307(0x2f7)][_0x494307(0x36f)](_0x9e93ee=>_0x9e93ee[_0x494307(0x4e4)]===_0x461f6c))[_0x494307(0x271)](_0x5594b9=>!!_0x5594b9);return{'config':_0x345096,'result':{'actions':_0x2a0adf,'error':_0x234b19['error']}};});}})}));}[_0xf4019d(0x20a)](){var _0x47c6aa=_0xf4019d,_0x530971,_0xc513d7;const _0x154686=this[_0x47c6aa(0x3aa)][_0x47c6aa(0x42e)](Ve),_0x16a926=this['_configService']['getConfig'](K);return(_0xc513d7=(_0x530971=_0x16a926==null?void 0x0:_0x16a926[_0x47c6aa(0x437)])!=null?_0x530971:_0x154686)!=null?_0xc513d7:Ri;}async[_0xf4019d(0x26d)](_0x4b70c0){var _0xe8c3bc=_0xf4019d;const _0x1fef3b=this[_0xe8c3bc(0x20a)]()+'/'+_0x4b70c0[_0xe8c3bc(0x227)]+_0xe8c3bc(0x2be);return(await this[_0xe8c3bc(0x4c1)]['post'](_0x1fef3b,{'body':_0x4b70c0}))['body'][_0xe8c3bc(0x460)]||'';}async[_0xf4019d(0x34c)](_0x49e880){var _0x510bef=_0xf4019d;const _0xe2fa80=this[_0x510bef(0x20a)]()+'/-/object/list';return(await this[_0x510bef(0x4c1)][_0x510bef(0x516)](_0xe2fa80,{'body':_0x49e880}))[_0x510bef(0x1ed)][_0x510bef(0x2f3)];}async['update'](_0x20d2df){var _0x55a28d=_0xf4019d,_0x3cce6f,_0x3de3f2;const _0x4eb55e=this[_0x55a28d(0x20a)]()+'/'+_0x20d2df[_0x55a28d(0x227)]+_0x55a28d(0x2ed)+_0x20d2df['objectID'],_0x187846=await this[_0x55a28d(0x4c1)]['put'](_0x4eb55e,{'body':_0x20d2df});if(((_0x3de3f2=(_0x3cce6f=_0x187846==null?void 0x0:_0x187846[_0x55a28d(0x1ed)])==null?void 0x0:_0x3cce6f[_0x55a28d(0x4b8)])==null?void 0x0:_0x3de3f2[_0x55a28d(0x4b2)])!==0x1)throw new Error(_0x55a28d(0x465));}async['allowed'](_0x1597a1){var _0x368366=_0xf4019d;const _0x311166=this[_0x368366(0x20a)]()+'/'+_0x1597a1[_0x368366(0x227)]+_0x368366(0x2ed)+_0x1597a1['objectID']+_0x368366(0x3d9);return(await this[_0x368366(0x4c1)][_0x368366(0x516)](_0x311166,{'body':_0x1597a1}))[_0x368366(0x1ed)][_0x368366(0x2f7)];}async['batchAllowed'](_0x484d05){var _0x27d1c2=_0xf4019d;const _0x102481=this[_0x27d1c2(0x20a)]()+_0x27d1c2(0x24d);return(await this[_0x27d1c2(0x4c1)]['post'](_0x102481,{'body':{'requests':_0x484d05}}))[_0x27d1c2(0x1ed)]['objectActions'];}async[_0xf4019d(0x265)](_0x2a9ecf){var _0x496798=_0xf4019d;const _0x2ab1b5=this[_0x496798(0x20a)]()+'/'+_0x2a9ecf['objectType']+_0x496798(0x324),_0x3ed7af=await this[_0x496798(0x4c1)][_0x496798(0x516)](_0x2ab1b5,{'body':_0x2a9ecf});return{'roles':_0x3ed7af[_0x496798(0x1ed)]['roles'],'actions':_0x3ed7af[_0x496798(0x1ed)]['actions']};}async[_0xf4019d(0x4b0)](_0x59d7a4){var _0x546c26=_0xf4019d;const _0x89d8ac=this['_getAPIPrefixPath']()+_0x546c26(0x4a0);await this[_0x546c26(0x4c1)][_0x546c26(0x250)](_0x89d8ac,{'params':{'collaboratorID':_0x59d7a4[_0x546c26(0x239)],'objectID':_0x59d7a4[_0x546c26(0x460)],'unitID':_0x59d7a4[_0x546c26(0x1a6)]}});}async[_0xf4019d(0x50d)](_0x443467){var _0x4471e0=_0xf4019d;const _0x3dcdff=this[_0x4471e0(0x20a)]()+_0x4471e0(0x4a0);await this[_0x4471e0(0x4c1)][_0x4471e0(0x402)](_0x3dcdff,{'body':_0x443467});}async['createCollaborator'](_0x34d150){var _0x323f58=_0xf4019d;const _0x28d1d0=this['_getAPIPrefixPath']()+_0x323f58(0x4a0);await this[_0x323f58(0x4c1)][_0x323f58(0x516)](_0x28d1d0,{'body':_0x34d150});}async[_0xf4019d(0x3fb)](_0x25299e){var _0x4a1f41=_0xf4019d;const _0x330378=this[_0x4a1f41(0x20a)]()+'/collaborator';return(await this[_0x4a1f41(0x4c1)][_0x4a1f41(0x1fc)](_0x330378,{'params':{'objectID':_0x25299e[_0x4a1f41(0x460)],'unitID':_0x25299e[_0x4a1f41(0x1a6)]}}))['body'][_0x4a1f41(0x301)];}async[_0xf4019d(0x2c6)](_0x4411fe){var _0x1daf37=_0xf4019d;const _0x320794=this[_0x1daf37(0x20a)]()+_0x1daf37(0x4a0);await this[_0x1daf37(0x4c1)][_0x1daf37(0x3ca)](_0x320794,{'body':_0x4411fe});}},exports['AuthzIoHttpService']=bi([qe(0x0,a[_0xf4019d(0x404)](Y[_0xf4019d(0x4ad)])),qe(0x1,a['Inject'](a[_0xf4019d(0x4f2)]))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x228c42){var _0x47f186=_0xf4019d;return _0x228c42&&_0x228c42[_0x47f186(0x4aa)]&&Object['prototype'][_0x47f186(0x4c9)][_0x47f186(0x2b0)](_0x228c42,'default')?_0x228c42[_0x47f186(0x28a)]:_0x228c42;}var fe={'exports':{}};function Oi(_0x23c90b){var _0x567f05=_0xf4019d;throw new Error(_0x567f05(0x36e)+_0x23c90b+_0x567f05(0x1aa));}var pe={'exports':{}},yi=pe[_0xf4019d(0x27b)],ze;function _0x3525(_0x16c585,_0x35b497){var _0x31aad0=_0x31aa();return _0x3525=function(_0x3525c9,_0x3e64ac){_0x3525c9=_0x3525c9-0x1a3;var _0x1cb343=_0x31aad0[_0x3525c9];return _0x1cb343;},_0x3525(_0x16c585,_0x35b497);}function Q(){var _0x381457=_0xf4019d;return ze||(ze=0x1,function(_0x20aa5c,_0x5d19a6){(function(_0x598e13,_0x15ceef){var _0x2e2266=_0x3525;_0x20aa5c[_0x2e2266(0x27b)]=_0x15ceef();}(yi,function(){var _0x1965d9=_0x1965d9||function(_0x17cd74,_0x19ac16){var _0x3af8e8=_0x3525,_0x45d91f;if(typeof window<'u'&&window[_0x3af8e8(0x303)]&&(_0x45d91f=window[_0x3af8e8(0x303)]),typeof self<'u'&&self['crypto']&&(_0x45d91f=self[_0x3af8e8(0x303)]),typeof globalThis<'u'&&globalThis[_0x3af8e8(0x303)]&&(_0x45d91f=globalThis[_0x3af8e8(0x303)]),!_0x45d91f&&typeof window<'u'&&window['msCrypto']&&(_0x45d91f=window[_0x3af8e8(0x316)]),!_0x45d91f&&typeof Pe<'u'&&Pe[_0x3af8e8(0x303)]&&(_0x45d91f=Pe['crypto']),!_0x45d91f&&typeof Oi==_0x3af8e8(0x1e1))try{_0x45d91f=require(_0x3af8e8(0x303));}catch{}var _0x5ac70c=function(){var _0x5e5c10=_0x3af8e8;if(_0x45d91f){if(typeof _0x45d91f['getRandomValues']=='function')try{return _0x45d91f[_0x5e5c10(0x4e7)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x45d91f[_0x5e5c10(0x4e8)]==_0x5e5c10(0x1e1))try{return _0x45d91f[_0x5e5c10(0x4e8)](0x4)[_0x5e5c10(0x41f)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x53c225=Object['create']||(function(){function _0x5af06d(){}return function(_0x5a8dca){var _0x5a3101=_0x3525,_0x1e4ba1;return _0x5af06d['prototype']=_0x5a8dca,_0x1e4ba1=new _0x5af06d(),_0x5af06d[_0x5a3101(0x2cd)]=null,_0x1e4ba1;};}()),_0x39db2a={},_0x30b17d=_0x39db2a[_0x3af8e8(0x286)]={},_0x1d355a=_0x30b17d[_0x3af8e8(0x281)]=(function(){return{'extend':function(_0x3159fe){var _0x3ba85b=_0x3525,_0x2712cd=_0x53c225(this);return _0x3159fe&&_0x2712cd['mixIn'](_0x3159fe),(!_0x2712cd['hasOwnProperty']('init')||this[_0x3ba85b(0x403)]===_0x2712cd[_0x3ba85b(0x403)])&&(_0x2712cd['init']=function(){var _0x5376c2=_0x3ba85b;_0x2712cd[_0x5376c2(0x419)][_0x5376c2(0x403)][_0x5376c2(0x37d)](this,arguments);}),_0x2712cd[_0x3ba85b(0x403)][_0x3ba85b(0x2cd)]=_0x2712cd,_0x2712cd[_0x3ba85b(0x419)]=this,_0x2712cd;},'create':function(){var _0x38429a=_0x3525,_0x57b51e=this[_0x38429a(0x43a)]();return _0x57b51e[_0x38429a(0x403)][_0x38429a(0x37d)](_0x57b51e,arguments),_0x57b51e;},'init':function(){},'mixIn':function(_0x5b83fe){var _0x2e92f2=_0x3525;for(var _0x2710ec in _0x5b83fe)_0x5b83fe[_0x2e92f2(0x4c9)](_0x2710ec)&&(this[_0x2710ec]=_0x5b83fe[_0x2710ec]);_0x5b83fe[_0x2e92f2(0x4c9)]('toString')&&(this['toString']=_0x5b83fe[_0x2e92f2(0x2b4)]);},'clone':function(){var _0x5dd8f7=_0x3525;return this[_0x5dd8f7(0x403)][_0x5dd8f7(0x2cd)][_0x5dd8f7(0x43a)](this);}};}()),_0x5b3774=_0x30b17d[_0x3af8e8(0x2a3)]=_0x1d355a['extend']({'init':function(_0x214d8b,_0x3e98b2){var _0x519d14=_0x3af8e8;_0x214d8b=this[_0x519d14(0x23e)]=_0x214d8b||[],_0x3e98b2!=_0x19ac16?this['sigBytes']=_0x3e98b2:this[_0x519d14(0x255)]=_0x214d8b[_0x519d14(0x20b)]*0x4;},'toString':function(_0x465bb4){var _0x5bf655=_0x3af8e8;return(_0x465bb4||_0x41a0ef)[_0x5bf655(0x1f7)](this);},'concat':function(_0x14f5d5){var _0x34649f=_0x3af8e8,_0xed8384=this[_0x34649f(0x23e)],_0x1dc640=_0x14f5d5[_0x34649f(0x23e)],_0x5842d5=this[_0x34649f(0x255)],_0x182289=_0x14f5d5['sigBytes'];if(this[_0x34649f(0x46b)](),_0x5842d5%0x4)for(var _0x5b29e6=0x0;_0x5b29e6<_0x182289;_0x5b29e6++){var _0x3c5425=_0x1dc640[_0x5b29e6>>>0x2]>>>0x18-_0x5b29e6%0x4*0x8&0xff;_0xed8384[_0x5842d5+_0x5b29e6>>>0x2]|=_0x3c5425<<0x18-(_0x5842d5+_0x5b29e6)%0x4*0x8;}else{for(var _0x28cc9c=0x0;_0x28cc9c<_0x182289;_0x28cc9c+=0x4)_0xed8384[_0x5842d5+_0x28cc9c>>>0x2]=_0x1dc640[_0x28cc9c>>>0x2];}return this['sigBytes']+=_0x182289,this;},'clamp':function(){var _0x24ce27=_0x3af8e8,_0x43e36a=this[_0x24ce27(0x23e)],_0x5d3750=this['sigBytes'];_0x43e36a[_0x5d3750>>>0x2]&=0xffffffff<<0x20-_0x5d3750%0x4*0x8,_0x43e36a[_0x24ce27(0x20b)]=_0x17cd74[_0x24ce27(0x20e)](_0x5d3750/0x4);},'clone':function(){var _0x16714b=_0x3af8e8,_0x104622=_0x1d355a[_0x16714b(0x39f)]['call'](this);return _0x104622[_0x16714b(0x23e)]=this['words']['slice'](0x0),_0x104622;},'random':function(_0x1a929c){var _0x2e374a=_0x3af8e8;for(var _0x15936c=[],_0x5d7994=0x0;_0x5d7994<_0x1a929c;_0x5d7994+=0x4)_0x15936c[_0x2e374a(0x2db)](_0x5ac70c());return new _0x5b3774[(_0x2e374a(0x403))](_0x15936c,_0x1a929c);}}),_0x56045d=_0x39db2a[_0x3af8e8(0x49b)]={},_0x41a0ef=_0x56045d[_0x3af8e8(0x230)]={'stringify':function(_0x1bf62f){var _0xeaba52=_0x3af8e8;for(var _0x8fcb90=_0x1bf62f[_0xeaba52(0x23e)],_0x27ac36=_0x1bf62f[_0xeaba52(0x255)],_0x4c833d=[],_0x3f5d35=0x0;_0x3f5d35<_0x27ac36;_0x3f5d35++){var _0x5a1d09=_0x8fcb90[_0x3f5d35>>>0x2]>>>0x18-_0x3f5d35%0x4*0x8&0xff;_0x4c833d[_0xeaba52(0x2db)]((_0x5a1d09>>>0x4)['toString'](0x10)),_0x4c833d[_0xeaba52(0x2db)]((_0x5a1d09&0xf)[_0xeaba52(0x2b4)](0x10));}return _0x4c833d[_0xeaba52(0x2f6)]('');},'parse':function(_0x289ab9){var _0x2021f5=_0x3af8e8;for(var _0x9187f8=_0x289ab9[_0x2021f5(0x20b)],_0x10ce90=[],_0xd1da85=0x0;_0xd1da85<_0x9187f8;_0xd1da85+=0x2)_0x10ce90[_0xd1da85>>>0x3]|=parseInt(_0x289ab9['substr'](_0xd1da85,0x2),0x10)<<0x18-_0xd1da85%0x8*0x4;return new _0x5b3774['init'](_0x10ce90,_0x9187f8/0x2);}},_0x4ff245=_0x56045d[_0x3af8e8(0x1d3)]={'stringify':function(_0x3d8c7e){var _0x537fbc=_0x3af8e8;for(var _0x592ef5=_0x3d8c7e['words'],_0x168e04=_0x3d8c7e[_0x537fbc(0x255)],_0x1915dc=[],_0x310451=0x0;_0x310451<_0x168e04;_0x310451++){var _0x1ed082=_0x592ef5[_0x310451>>>0x2]>>>0x18-_0x310451%0x4*0x8&0xff;_0x1915dc[_0x537fbc(0x2db)](String['fromCharCode'](_0x1ed082));}return _0x1915dc[_0x537fbc(0x2f6)]('');},'parse':function(_0x4d31e6){var _0x1b8047=_0x3af8e8;for(var _0x2eb51b=_0x4d31e6[_0x1b8047(0x20b)],_0x2a83f9=[],_0x2364c8=0x0;_0x2364c8<_0x2eb51b;_0x2364c8++)_0x2a83f9[_0x2364c8>>>0x2]|=(_0x4d31e6[_0x1b8047(0x462)](_0x2364c8)&0xff)<<0x18-_0x2364c8%0x4*0x8;return new _0x5b3774[(_0x1b8047(0x403))](_0x2a83f9,_0x2eb51b);}},_0x1ed59d=_0x56045d[_0x3af8e8(0x431)]={'stringify':function(_0x35ffc7){var _0x4c9610=_0x3af8e8;try{return decodeURIComponent(escape(_0x4ff245[_0x4c9610(0x1f7)](_0x35ffc7)));}catch{throw new Error(_0x4c9610(0x1ac));}},'parse':function(_0xc22272){var _0x314cd5=_0x3af8e8;return _0x4ff245[_0x314cd5(0x25d)](unescape(encodeURIComponent(_0xc22272)));}},_0x302c0e=_0x30b17d['BufferedBlockAlgorithm']=_0x1d355a[_0x3af8e8(0x43a)]({'reset':function(){var _0x1badee=_0x3af8e8;this['_data']=new _0x5b3774[(_0x1badee(0x403))](),this[_0x1badee(0x346)]=0x0;},'_append':function(_0x5ef7f3){var _0x17545d=_0x3af8e8;typeof _0x5ef7f3==_0x17545d(0x1cd)&&(_0x5ef7f3=_0x1ed59d[_0x17545d(0x25d)](_0x5ef7f3)),this['_data'][_0x17545d(0x1cc)](_0x5ef7f3),this[_0x17545d(0x346)]+=_0x5ef7f3[_0x17545d(0x255)];},'_process':function(_0x2acd6a){var _0x3715c8=_0x3af8e8,_0x3ab383,_0x4aa063=this[_0x3715c8(0x476)],_0x16fb38=_0x4aa063[_0x3715c8(0x23e)],_0x4a4467=_0x4aa063[_0x3715c8(0x255)],_0x4c19a3=this[_0x3715c8(0x436)],_0x45aefc=_0x4c19a3*0x4,_0x3eb690=_0x4a4467/_0x45aefc;_0x2acd6a?_0x3eb690=_0x17cd74[_0x3715c8(0x20e)](_0x3eb690):_0x3eb690=_0x17cd74['max']((_0x3eb690|0x0)-this[_0x3715c8(0x3cc)],0x0);var _0x22ab79=_0x3eb690*_0x4c19a3,_0x3c3ef8=_0x17cd74[_0x3715c8(0x25c)](_0x22ab79*0x4,_0x4a4467);if(_0x22ab79){for(var _0x2cf2ef=0x0;_0x2cf2ef<_0x22ab79;_0x2cf2ef+=_0x4c19a3)this[_0x3715c8(0x378)](_0x16fb38,_0x2cf2ef);_0x3ab383=_0x16fb38[_0x3715c8(0x335)](0x0,_0x22ab79),_0x4aa063['sigBytes']-=_0x3c3ef8;}return new _0x5b3774[(_0x3715c8(0x403))](_0x3ab383,_0x3c3ef8);},'clone':function(){var _0x5bceb1=_0x3af8e8,_0x10f30a=_0x1d355a[_0x5bceb1(0x39f)][_0x5bceb1(0x2b0)](this);return _0x10f30a[_0x5bceb1(0x476)]=this[_0x5bceb1(0x476)][_0x5bceb1(0x39f)](),_0x10f30a;},'_minBufferSize':0x0});_0x30b17d[_0x3af8e8(0x275)]=_0x302c0e[_0x3af8e8(0x43a)]({'cfg':_0x1d355a[_0x3af8e8(0x43a)](),'init':function(_0x38f66c){var _0x2486b7=_0x3af8e8;this['cfg']=this[_0x2486b7(0x22b)][_0x2486b7(0x43a)](_0x38f66c),this[_0x2486b7(0x1fd)]();},'reset':function(){var _0x367cdc=_0x3af8e8;_0x302c0e['reset'][_0x367cdc(0x2b0)](this),this[_0x367cdc(0x46c)]();},'update':function(_0x87617a){var _0x40cbba=_0x3af8e8;return this[_0x40cbba(0x1b5)](_0x87617a),this[_0x40cbba(0x1d8)](),this;},'finalize':function(_0x3de027){var _0x4806a5=_0x3af8e8;_0x3de027&&this[_0x4806a5(0x1b5)](_0x3de027);var _0x1cb620=this[_0x4806a5(0x3c1)]();return _0x1cb620;},'blockSize':0x10,'_createHelper':function(_0x2bbc54){return function(_0x273b38,_0x5c94cb){var _0x437d37=_0x3525;return new _0x2bbc54[(_0x437d37(0x403))](_0x5c94cb)[_0x437d37(0x3e4)](_0x273b38);};},'_createHmacHelper':function(_0x2ba138){return function(_0x775c22,_0x5bd3af){var _0x255623=_0x3525;return new _0xc693[(_0x255623(0x1e9))]['init'](_0x2ba138,_0x5bd3af)[_0x255623(0x3e4)](_0x775c22);};}});var _0xc693=_0x39db2a['algo']={};return _0x39db2a;}(Math);return _0x1965d9;}));}(pe)),pe[_0x381457(0x27b)];}var Ie={'exports':{}},Ni=Ie['exports'],Je;function yt(){return Je||(Je=0x1,function(_0x3ee9ce,_0x3b02b5){(function(_0x3e97ce,_0x3f6ec2){var _0x3bf5df=_0x3525;_0x3ee9ce[_0x3bf5df(0x27b)]=_0x3f6ec2(Q());}(Ni,function(_0x163798){var _0x1db518=_0x3525;return(function(){var _0x5fd3f4=_0x3525,_0x50bec7=_0x163798,_0x447272=_0x50bec7[_0x5fd3f4(0x286)],_0x4856e2=_0x447272[_0x5fd3f4(0x2a3)],_0x5b26d3=_0x50bec7[_0x5fd3f4(0x49b)];_0x5b26d3[_0x5fd3f4(0x4da)]={'stringify':function(_0x37b692){var _0x5b7b7f=_0x5fd3f4,_0x4091c0=_0x37b692[_0x5b7b7f(0x23e)],_0x240aa5=_0x37b692[_0x5b7b7f(0x255)],_0x5262ff=this[_0x5b7b7f(0x469)];_0x37b692[_0x5b7b7f(0x46b)]();for(var _0xa72261=[],_0x4915ff=0x0;_0x4915ff<_0x240aa5;_0x4915ff+=0x3)for(var _0x20643e=_0x4091c0[_0x4915ff>>>0x2]>>>0x18-_0x4915ff%0x4*0x8&0xff,_0x4d0f98=_0x4091c0[_0x4915ff+0x1>>>0x2]>>>0x18-(_0x4915ff+0x1)%0x4*0x8&0xff,_0x2ea54d=_0x4091c0[_0x4915ff+0x2>>>0x2]>>>0x18-(_0x4915ff+0x2)%0x4*0x8&0xff,_0x3f3ee7=_0x20643e<<0x10|_0x4d0f98<<0x8|_0x2ea54d,_0x4a8162=0x0;_0x4a8162<0x4&&_0x4915ff+_0x4a8162*0.75<_0x240aa5;_0x4a8162++)_0xa72261[_0x5b7b7f(0x2db)](_0x5262ff['charAt'](_0x3f3ee7>>>0x6*(0x3-_0x4a8162)&0x3f));var _0xf6b572=_0x5262ff['charAt'](0x40);if(_0xf6b572){for(;_0xa72261[_0x5b7b7f(0x20b)]%0x4;)_0xa72261[_0x5b7b7f(0x2db)](_0xf6b572);}return _0xa72261['join']('');},'parse':function(_0x276976){var _0x977f02=_0x5fd3f4,_0x3d6c3d=_0x276976[_0x977f02(0x20b)],_0x5bd2b5=this[_0x977f02(0x469)],_0xe3a6b0=this[_0x977f02(0x504)];if(!_0xe3a6b0){_0xe3a6b0=this[_0x977f02(0x504)]=[];for(var _0x43ea01=0x0;_0x43ea01<_0x5bd2b5[_0x977f02(0x20b)];_0x43ea01++)_0xe3a6b0[_0x5bd2b5[_0x977f02(0x462)](_0x43ea01)]=_0x43ea01;}var _0x32a692=_0x5bd2b5[_0x977f02(0x3a1)](0x40);if(_0x32a692){var _0x54a4f0=_0x276976['indexOf'](_0x32a692);_0x54a4f0!==-0x1&&(_0x3d6c3d=_0x54a4f0);}return _0x5d8adc(_0x276976,_0x3d6c3d,_0xe3a6b0);},'_map':_0x5fd3f4(0x3b8)};function _0x5d8adc(_0x4ba0ab,_0x496a89,_0x181fb9){var _0x5cb15a=_0x5fd3f4;for(var _0x476257=[],_0x230a11=0x0,_0x5ac1b6=0x0;_0x5ac1b6<_0x496a89;_0x5ac1b6++)if(_0x5ac1b6%0x4){var _0x10a62b=_0x181fb9[_0x4ba0ab['charCodeAt'](_0x5ac1b6-0x1)]<<_0x5ac1b6%0x4*0x2,_0x1f616f=_0x181fb9[_0x4ba0ab[_0x5cb15a(0x462)](_0x5ac1b6)]>>>0x6-_0x5ac1b6%0x4*0x2,_0x502b1b=_0x10a62b|_0x1f616f;_0x476257[_0x230a11>>>0x2]|=_0x502b1b<<0x18-_0x230a11%0x4*0x8,_0x230a11++;}return _0x4856e2[_0x5cb15a(0x26d)](_0x476257,_0x230a11);}}()),_0x163798['enc'][_0x1db518(0x4da)];}));}(Ie)),Ie['exports'];}var ge={'exports':{}},Ui=ge[_0xf4019d(0x27b)],Xe;function Di(){var _0x3dc3b7=_0xf4019d;return Xe||(Xe=0x1,function(_0x3049bd,_0x8cfe33){(function(_0x87e95e,_0xb9c2d6){var _0x5e204c=_0x3525;_0x3049bd[_0x5e204c(0x27b)]=_0xb9c2d6(Q());}(Ui,function(_0x1f9784){var _0x5eace2=_0x3525;return function(_0x4aa01d){var _0x5b2824=_0x3525,_0x136f86=_0x1f9784,_0x5ce31a=_0x136f86[_0x5b2824(0x286)],_0x54044c=_0x5ce31a[_0x5b2824(0x2a3)],_0x1f570a=_0x5ce31a['Hasher'],_0x3d2c8d=_0x136f86[_0x5b2824(0x31e)],_0x2cf15b=[];(function(){var _0x1b5ab9=_0x5b2824;for(var _0x39347e=0x0;_0x39347e<0x40;_0x39347e++)_0x2cf15b[_0x39347e]=_0x4aa01d['abs'](_0x4aa01d[_0x1b5ab9(0x234)](_0x39347e+0x1))*0x100000000|0x0;}());var _0x2ea98c=_0x3d2c8d[_0x5b2824(0x396)]=_0x1f570a['extend']({'_doReset':function(){var _0x57aa1f=_0x5b2824;this[_0x57aa1f(0x1b0)]=new _0x54044c[(_0x57aa1f(0x403))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x459809,_0x514054){var _0x4a73ce=_0x5b2824;for(var _0x4b543e=0x0;_0x4b543e<0x10;_0x4b543e++){var _0x1419c3=_0x514054+_0x4b543e,_0x47dbfe=_0x459809[_0x1419c3];_0x459809[_0x1419c3]=(_0x47dbfe<<0x8|_0x47dbfe>>>0x18)&0xff00ff|(_0x47dbfe<<0x18|_0x47dbfe>>>0x8)&0xff00ff00;}var _0xfb2310=this[_0x4a73ce(0x1b0)][_0x4a73ce(0x23e)],_0x40c3ee=_0x459809[_0x514054+0x0],_0x4e0ba7=_0x459809[_0x514054+0x1],_0x5cd5df=_0x459809[_0x514054+0x2],_0x46603a=_0x459809[_0x514054+0x3],_0x36220=_0x459809[_0x514054+0x4],_0x480faf=_0x459809[_0x514054+0x5],_0x2130ee=_0x459809[_0x514054+0x6],_0x5b5abb=_0x459809[_0x514054+0x7],_0xcaadac=_0x459809[_0x514054+0x8],_0x1cdabf=_0x459809[_0x514054+0x9],_0x2d65b5=_0x459809[_0x514054+0xa],_0x74527f=_0x459809[_0x514054+0xb],_0x33cf99=_0x459809[_0x514054+0xc],_0x23cf94=_0x459809[_0x514054+0xd],_0x558e56=_0x459809[_0x514054+0xe],_0x2cd7b2=_0x459809[_0x514054+0xf],_0x85bba1=_0xfb2310[0x0],_0x239f91=_0xfb2310[0x1],_0x496940=_0xfb2310[0x2],_0x268d5a=_0xfb2310[0x3];_0x85bba1=_0x3850ee(_0x85bba1,_0x239f91,_0x496940,_0x268d5a,_0x40c3ee,0x7,_0x2cf15b[0x0]),_0x268d5a=_0x3850ee(_0x268d5a,_0x85bba1,_0x239f91,_0x496940,_0x4e0ba7,0xc,_0x2cf15b[0x1]),_0x496940=_0x3850ee(_0x496940,_0x268d5a,_0x85bba1,_0x239f91,_0x5cd5df,0x11,_0x2cf15b[0x2]),_0x239f91=_0x3850ee(_0x239f91,_0x496940,_0x268d5a,_0x85bba1,_0x46603a,0x16,_0x2cf15b[0x3]),_0x85bba1=_0x3850ee(_0x85bba1,_0x239f91,_0x496940,_0x268d5a,_0x36220,0x7,_0x2cf15b[0x4]),_0x268d5a=_0x3850ee(_0x268d5a,_0x85bba1,_0x239f91,_0x496940,_0x480faf,0xc,_0x2cf15b[0x5]),_0x496940=_0x3850ee(_0x496940,_0x268d5a,_0x85bba1,_0x239f91,_0x2130ee,0x11,_0x2cf15b[0x6]),_0x239f91=_0x3850ee(_0x239f91,_0x496940,_0x268d5a,_0x85bba1,_0x5b5abb,0x16,_0x2cf15b[0x7]),_0x85bba1=_0x3850ee(_0x85bba1,_0x239f91,_0x496940,_0x268d5a,_0xcaadac,0x7,_0x2cf15b[0x8]),_0x268d5a=_0x3850ee(_0x268d5a,_0x85bba1,_0x239f91,_0x496940,_0x1cdabf,0xc,_0x2cf15b[0x9]),_0x496940=_0x3850ee(_0x496940,_0x268d5a,_0x85bba1,_0x239f91,_0x2d65b5,0x11,_0x2cf15b[0xa]),_0x239f91=_0x3850ee(_0x239f91,_0x496940,_0x268d5a,_0x85bba1,_0x74527f,0x16,_0x2cf15b[0xb]),_0x85bba1=_0x3850ee(_0x85bba1,_0x239f91,_0x496940,_0x268d5a,_0x33cf99,0x7,_0x2cf15b[0xc]),_0x268d5a=_0x3850ee(_0x268d5a,_0x85bba1,_0x239f91,_0x496940,_0x23cf94,0xc,_0x2cf15b[0xd]),_0x496940=_0x3850ee(_0x496940,_0x268d5a,_0x85bba1,_0x239f91,_0x558e56,0x11,_0x2cf15b[0xe]),_0x239f91=_0x3850ee(_0x239f91,_0x496940,_0x268d5a,_0x85bba1,_0x2cd7b2,0x16,_0x2cf15b[0xf]),_0x85bba1=_0x4da32a(_0x85bba1,_0x239f91,_0x496940,_0x268d5a,_0x4e0ba7,0x5,_0x2cf15b[0x10]),_0x268d5a=_0x4da32a(_0x268d5a,_0x85bba1,_0x239f91,_0x496940,_0x2130ee,0x9,_0x2cf15b[0x11]),_0x496940=_0x4da32a(_0x496940,_0x268d5a,_0x85bba1,_0x239f91,_0x74527f,0xe,_0x2cf15b[0x12]),_0x239f91=_0x4da32a(_0x239f91,_0x496940,_0x268d5a,_0x85bba1,_0x40c3ee,0x14,_0x2cf15b[0x13]),_0x85bba1=_0x4da32a(_0x85bba1,_0x239f91,_0x496940,_0x268d5a,_0x480faf,0x5,_0x2cf15b[0x14]),_0x268d5a=_0x4da32a(_0x268d5a,_0x85bba1,_0x239f91,_0x496940,_0x2d65b5,0x9,_0x2cf15b[0x15]),_0x496940=_0x4da32a(_0x496940,_0x268d5a,_0x85bba1,_0x239f91,_0x2cd7b2,0xe,_0x2cf15b[0x16]),_0x239f91=_0x4da32a(_0x239f91,_0x496940,_0x268d5a,_0x85bba1,_0x36220,0x14,_0x2cf15b[0x17]),_0x85bba1=_0x4da32a(_0x85bba1,_0x239f91,_0x496940,_0x268d5a,_0x1cdabf,0x5,_0x2cf15b[0x18]),_0x268d5a=_0x4da32a(_0x268d5a,_0x85bba1,_0x239f91,_0x496940,_0x558e56,0x9,_0x2cf15b[0x19]),_0x496940=_0x4da32a(_0x496940,_0x268d5a,_0x85bba1,_0x239f91,_0x46603a,0xe,_0x2cf15b[0x1a]),_0x239f91=_0x4da32a(_0x239f91,_0x496940,_0x268d5a,_0x85bba1,_0xcaadac,0x14,_0x2cf15b[0x1b]),_0x85bba1=_0x4da32a(_0x85bba1,_0x239f91,_0x496940,_0x268d5a,_0x23cf94,0x5,_0x2cf15b[0x1c]),_0x268d5a=_0x4da32a(_0x268d5a,_0x85bba1,_0x239f91,_0x496940,_0x5cd5df,0x9,_0x2cf15b[0x1d]),_0x496940=_0x4da32a(_0x496940,_0x268d5a,_0x85bba1,_0x239f91,_0x5b5abb,0xe,_0x2cf15b[0x1e]),_0x239f91=_0x4da32a(_0x239f91,_0x496940,_0x268d5a,_0x85bba1,_0x33cf99,0x14,_0x2cf15b[0x1f]),_0x85bba1=_0x4756f4(_0x85bba1,_0x239f91,_0x496940,_0x268d5a,_0x480faf,0x4,_0x2cf15b[0x20]),_0x268d5a=_0x4756f4(_0x268d5a,_0x85bba1,_0x239f91,_0x496940,_0xcaadac,0xb,_0x2cf15b[0x21]),_0x496940=_0x4756f4(_0x496940,_0x268d5a,_0x85bba1,_0x239f91,_0x74527f,0x10,_0x2cf15b[0x22]),_0x239f91=_0x4756f4(_0x239f91,_0x496940,_0x268d5a,_0x85bba1,_0x558e56,0x17,_0x2cf15b[0x23]),_0x85bba1=_0x4756f4(_0x85bba1,_0x239f91,_0x496940,_0x268d5a,_0x4e0ba7,0x4,_0x2cf15b[0x24]),_0x268d5a=_0x4756f4(_0x268d5a,_0x85bba1,_0x239f91,_0x496940,_0x36220,0xb,_0x2cf15b[0x25]),_0x496940=_0x4756f4(_0x496940,_0x268d5a,_0x85bba1,_0x239f91,_0x5b5abb,0x10,_0x2cf15b[0x26]),_0x239f91=_0x4756f4(_0x239f91,_0x496940,_0x268d5a,_0x85bba1,_0x2d65b5,0x17,_0x2cf15b[0x27]),_0x85bba1=_0x4756f4(_0x85bba1,_0x239f91,_0x496940,_0x268d5a,_0x23cf94,0x4,_0x2cf15b[0x28]),_0x268d5a=_0x4756f4(_0x268d5a,_0x85bba1,_0x239f91,_0x496940,_0x40c3ee,0xb,_0x2cf15b[0x29]),_0x496940=_0x4756f4(_0x496940,_0x268d5a,_0x85bba1,_0x239f91,_0x46603a,0x10,_0x2cf15b[0x2a]),_0x239f91=_0x4756f4(_0x239f91,_0x496940,_0x268d5a,_0x85bba1,_0x2130ee,0x17,_0x2cf15b[0x2b]),_0x85bba1=_0x4756f4(_0x85bba1,_0x239f91,_0x496940,_0x268d5a,_0x1cdabf,0x4,_0x2cf15b[0x2c]),_0x268d5a=_0x4756f4(_0x268d5a,_0x85bba1,_0x239f91,_0x496940,_0x33cf99,0xb,_0x2cf15b[0x2d]),_0x496940=_0x4756f4(_0x496940,_0x268d5a,_0x85bba1,_0x239f91,_0x2cd7b2,0x10,_0x2cf15b[0x2e]),_0x239f91=_0x4756f4(_0x239f91,_0x496940,_0x268d5a,_0x85bba1,_0x5cd5df,0x17,_0x2cf15b[0x2f]),_0x85bba1=_0x4a8b27(_0x85bba1,_0x239f91,_0x496940,_0x268d5a,_0x40c3ee,0x6,_0x2cf15b[0x30]),_0x268d5a=_0x4a8b27(_0x268d5a,_0x85bba1,_0x239f91,_0x496940,_0x5b5abb,0xa,_0x2cf15b[0x31]),_0x496940=_0x4a8b27(_0x496940,_0x268d5a,_0x85bba1,_0x239f91,_0x558e56,0xf,_0x2cf15b[0x32]),_0x239f91=_0x4a8b27(_0x239f91,_0x496940,_0x268d5a,_0x85bba1,_0x480faf,0x15,_0x2cf15b[0x33]),_0x85bba1=_0x4a8b27(_0x85bba1,_0x239f91,_0x496940,_0x268d5a,_0x33cf99,0x6,_0x2cf15b[0x34]),_0x268d5a=_0x4a8b27(_0x268d5a,_0x85bba1,_0x239f91,_0x496940,_0x46603a,0xa,_0x2cf15b[0x35]),_0x496940=_0x4a8b27(_0x496940,_0x268d5a,_0x85bba1,_0x239f91,_0x2d65b5,0xf,_0x2cf15b[0x36]),_0x239f91=_0x4a8b27(_0x239f91,_0x496940,_0x268d5a,_0x85bba1,_0x4e0ba7,0x15,_0x2cf15b[0x37]),_0x85bba1=_0x4a8b27(_0x85bba1,_0x239f91,_0x496940,_0x268d5a,_0xcaadac,0x6,_0x2cf15b[0x38]),_0x268d5a=_0x4a8b27(_0x268d5a,_0x85bba1,_0x239f91,_0x496940,_0x2cd7b2,0xa,_0x2cf15b[0x39]),_0x496940=_0x4a8b27(_0x496940,_0x268d5a,_0x85bba1,_0x239f91,_0x2130ee,0xf,_0x2cf15b[0x3a]),_0x239f91=_0x4a8b27(_0x239f91,_0x496940,_0x268d5a,_0x85bba1,_0x23cf94,0x15,_0x2cf15b[0x3b]),_0x85bba1=_0x4a8b27(_0x85bba1,_0x239f91,_0x496940,_0x268d5a,_0x36220,0x6,_0x2cf15b[0x3c]),_0x268d5a=_0x4a8b27(_0x268d5a,_0x85bba1,_0x239f91,_0x496940,_0x74527f,0xa,_0x2cf15b[0x3d]),_0x496940=_0x4a8b27(_0x496940,_0x268d5a,_0x85bba1,_0x239f91,_0x5cd5df,0xf,_0x2cf15b[0x3e]),_0x239f91=_0x4a8b27(_0x239f91,_0x496940,_0x268d5a,_0x85bba1,_0x1cdabf,0x15,_0x2cf15b[0x3f]),_0xfb2310[0x0]=_0xfb2310[0x0]+_0x85bba1|0x0,_0xfb2310[0x1]=_0xfb2310[0x1]+_0x239f91|0x0,_0xfb2310[0x2]=_0xfb2310[0x2]+_0x496940|0x0,_0xfb2310[0x3]=_0xfb2310[0x3]+_0x268d5a|0x0;},'_doFinalize':function(){var _0x2431e4=_0x5b2824,_0x4abd35=this[_0x2431e4(0x476)],_0x54430b=_0x4abd35[_0x2431e4(0x23e)],_0x1748ad=this['_nDataBytes']*0x8,_0x19c026=_0x4abd35['sigBytes']*0x8;_0x54430b[_0x19c026>>>0x5]|=0x80<<0x18-_0x19c026%0x20;var _0xf8228=_0x4aa01d[_0x2431e4(0x4dc)](_0x1748ad/0x100000000),_0x19b4a4=_0x1748ad;_0x54430b[(_0x19c026+0x40>>>0x9<<0x4)+0xf]=(_0xf8228<<0x8|_0xf8228>>>0x18)&0xff00ff|(_0xf8228<<0x18|_0xf8228>>>0x8)&0xff00ff00,_0x54430b[(_0x19c026+0x40>>>0x9<<0x4)+0xe]=(_0x19b4a4<<0x8|_0x19b4a4>>>0x18)&0xff00ff|(_0x19b4a4<<0x18|_0x19b4a4>>>0x8)&0xff00ff00,_0x4abd35[_0x2431e4(0x255)]=(_0x54430b[_0x2431e4(0x20b)]+0x1)*0x4,this[_0x2431e4(0x1d8)]();for(var _0x5a6174=this[_0x2431e4(0x1b0)],_0x1c314e=_0x5a6174[_0x2431e4(0x23e)],_0x1c7051=0x0;_0x1c7051<0x4;_0x1c7051++){var _0x3ff769=_0x1c314e[_0x1c7051];_0x1c314e[_0x1c7051]=(_0x3ff769<<0x8|_0x3ff769>>>0x18)&0xff00ff|(_0x3ff769<<0x18|_0x3ff769>>>0x8)&0xff00ff00;}return _0x5a6174;},'clone':function(){var _0x237dbe=_0x5b2824,_0x4dbff4=_0x1f570a[_0x237dbe(0x39f)][_0x237dbe(0x2b0)](this);return _0x4dbff4[_0x237dbe(0x1b0)]=this[_0x237dbe(0x1b0)][_0x237dbe(0x39f)](),_0x4dbff4;}});function _0x3850ee(_0x2d1c2d,_0x2bac86,_0x15f28d,_0x1409fb,_0x148f0c,_0x511acd,_0x3a9111){var _0x25d149=_0x2d1c2d+(_0x2bac86&_0x15f28d|~_0x2bac86&_0x1409fb)+_0x148f0c+_0x3a9111;return(_0x25d149<<_0x511acd|_0x25d149>>>0x20-_0x511acd)+_0x2bac86;}function _0x4da32a(_0x6aa3a6,_0x43d3b1,_0xa6a22,_0x37f8aa,_0x38436c,_0x12ae3d,_0x34e151){var _0x5cee6c=_0x6aa3a6+(_0x43d3b1&_0x37f8aa|_0xa6a22&~_0x37f8aa)+_0x38436c+_0x34e151;return(_0x5cee6c<<_0x12ae3d|_0x5cee6c>>>0x20-_0x12ae3d)+_0x43d3b1;}function _0x4756f4(_0x2074fe,_0xb40217,_0xe82827,_0x472733,_0x52c919,_0x4f3dc9,_0x15caa6){var _0x5b3db7=_0x2074fe+(_0xb40217^_0xe82827^_0x472733)+_0x52c919+_0x15caa6;return(_0x5b3db7<<_0x4f3dc9|_0x5b3db7>>>0x20-_0x4f3dc9)+_0xb40217;}function _0x4a8b27(_0x51f603,_0x2b1d92,_0x1dc96d,_0x45c07b,_0x5251fd,_0x4e7f8b,_0x294fc8){var _0x5998a9=_0x51f603+(_0x1dc96d^(_0x2b1d92|~_0x45c07b))+_0x5251fd+_0x294fc8;return(_0x5998a9<<_0x4e7f8b|_0x5998a9>>>0x20-_0x4e7f8b)+_0x2b1d92;}_0x136f86[_0x5b2824(0x396)]=_0x1f570a['_createHelper'](_0x2ea98c),_0x136f86['HmacMD5']=_0x1f570a[_0x5b2824(0x365)](_0x2ea98c);}(Math),_0x1f9784[_0x5eace2(0x396)];}));}(ge)),ge[_0x3dc3b7(0x27b)];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0xf4019d(0x27b)],Ze;function Pi(){var _0x2c8a42=_0xf4019d;return Ze||(Ze=0x1,function(_0x1295bc,_0x3125aa){(function(_0x45c3bf,_0x1436b3){var _0x3512c9=_0x3525;_0x1295bc[_0x3512c9(0x27b)]=_0x1436b3(Q());}(Ai,function(_0x1e8c82){var _0x5c3447=_0x3525;return(function(){var _0x4b0511=_0x3525,_0x55649d=_0x1e8c82,_0x275448=_0x55649d['lib'],_0x450dd9=_0x275448[_0x4b0511(0x2a3)],_0x283d55=_0x275448[_0x4b0511(0x275)],_0x9778b7=_0x55649d[_0x4b0511(0x31e)],_0x1fde89=[],_0x3580a3=_0x9778b7['SHA1']=_0x283d55['extend']({'_doReset':function(){var _0x36dc1c=_0x4b0511;this[_0x36dc1c(0x1b0)]=new _0x450dd9[(_0x36dc1c(0x403))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x59d3f3,_0x494528){var _0x3e9e3a=_0x4b0511;for(var _0x48f70b=this[_0x3e9e3a(0x1b0)][_0x3e9e3a(0x23e)],_0x2a965b=_0x48f70b[0x0],_0x12dd8e=_0x48f70b[0x1],_0x389bfe=_0x48f70b[0x2],_0xca771a=_0x48f70b[0x3],_0x3a17b1=_0x48f70b[0x4],_0x3cdcc1=0x0;_0x3cdcc1<0x50;_0x3cdcc1++){if(_0x3cdcc1<0x10)_0x1fde89[_0x3cdcc1]=_0x59d3f3[_0x494528+_0x3cdcc1]|0x0;else{var _0x256853=_0x1fde89[_0x3cdcc1-0x3]^_0x1fde89[_0x3cdcc1-0x8]^_0x1fde89[_0x3cdcc1-0xe]^_0x1fde89[_0x3cdcc1-0x10];_0x1fde89[_0x3cdcc1]=_0x256853<<0x1|_0x256853>>>0x1f;}var _0x3d5dc3=(_0x2a965b<<0x5|_0x2a965b>>>0x1b)+_0x3a17b1+_0x1fde89[_0x3cdcc1];_0x3cdcc1<0x14?_0x3d5dc3+=(_0x12dd8e&_0x389bfe|~_0x12dd8e&_0xca771a)+0x5a827999:_0x3cdcc1<0x28?_0x3d5dc3+=(_0x12dd8e^_0x389bfe^_0xca771a)+0x6ed9eba1:_0x3cdcc1<0x3c?_0x3d5dc3+=(_0x12dd8e&_0x389bfe|_0x12dd8e&_0xca771a|_0x389bfe&_0xca771a)-0x70e44324:_0x3d5dc3+=(_0x12dd8e^_0x389bfe^_0xca771a)-0x359d3e2a,_0x3a17b1=_0xca771a,_0xca771a=_0x389bfe,_0x389bfe=_0x12dd8e<<0x1e|_0x12dd8e>>>0x2,_0x12dd8e=_0x2a965b,_0x2a965b=_0x3d5dc3;}_0x48f70b[0x0]=_0x48f70b[0x0]+_0x2a965b|0x0,_0x48f70b[0x1]=_0x48f70b[0x1]+_0x12dd8e|0x0,_0x48f70b[0x2]=_0x48f70b[0x2]+_0x389bfe|0x0,_0x48f70b[0x3]=_0x48f70b[0x3]+_0xca771a|0x0,_0x48f70b[0x4]=_0x48f70b[0x4]+_0x3a17b1|0x0;},'_doFinalize':function(){var _0x46ea4f=_0x4b0511,_0x26aa11=this[_0x46ea4f(0x476)],_0x5c7027=_0x26aa11['words'],_0x51fb82=this['_nDataBytes']*0x8,_0x504c4b=_0x26aa11[_0x46ea4f(0x255)]*0x8;return _0x5c7027[_0x504c4b>>>0x5]|=0x80<<0x18-_0x504c4b%0x20,_0x5c7027[(_0x504c4b+0x40>>>0x9<<0x4)+0xe]=Math[_0x46ea4f(0x4dc)](_0x51fb82/0x100000000),_0x5c7027[(_0x504c4b+0x40>>>0x9<<0x4)+0xf]=_0x51fb82,_0x26aa11['sigBytes']=_0x5c7027[_0x46ea4f(0x20b)]*0x4,this[_0x46ea4f(0x1d8)](),this['_hash'];},'clone':function(){var _0x1ba75b=_0x4b0511,_0x3444b1=_0x283d55[_0x1ba75b(0x39f)][_0x1ba75b(0x2b0)](this);return _0x3444b1['_hash']=this['_hash'][_0x1ba75b(0x39f)](),_0x3444b1;}});_0x55649d[_0x4b0511(0x2e8)]=_0x283d55['_createHelper'](_0x3580a3),_0x55649d[_0x4b0511(0x28d)]=_0x283d55[_0x4b0511(0x365)](_0x3580a3);}()),_0x1e8c82[_0x5c3447(0x2e8)];}));}(me)),me[_0x2c8a42(0x27b)];}var Ce={'exports':{}},wi=Ce[_0xf4019d(0x27b)],Qe;function Li(){var _0x483841=_0xf4019d;return Qe||(Qe=0x1,function(_0xf37590,_0x41ba2c){(function(_0x9812ca,_0x240ed4){var _0x7e0e47=_0x3525;_0xf37590[_0x7e0e47(0x27b)]=_0x240ed4(Q());}(wi,function(_0x58524b){(function(){var _0x52af2c=_0x3525,_0x151766=_0x58524b,_0x26a967=_0x151766[_0x52af2c(0x286)],_0x1defa7=_0x26a967[_0x52af2c(0x281)],_0x27c0da=_0x151766[_0x52af2c(0x49b)],_0x3aabaf=_0x27c0da[_0x52af2c(0x431)],_0x1d486e=_0x151766[_0x52af2c(0x31e)];_0x1d486e['HMAC']=_0x1defa7[_0x52af2c(0x43a)]({'init':function(_0x3695f9,_0x5c7065){var _0x1b69d5=_0x52af2c;_0x3695f9=this[_0x1b69d5(0x2ef)]=new _0x3695f9[(_0x1b69d5(0x403))](),typeof _0x5c7065==_0x1b69d5(0x1cd)&&(_0x5c7065=_0x3aabaf['parse'](_0x5c7065));var _0x202bec=_0x3695f9[_0x1b69d5(0x436)],_0x170fab=_0x202bec*0x4;_0x5c7065[_0x1b69d5(0x255)]>_0x170fab&&(_0x5c7065=_0x3695f9[_0x1b69d5(0x3e4)](_0x5c7065)),_0x5c7065['clamp']();for(var _0x5d48ef=this[_0x1b69d5(0x3a5)]=_0x5c7065[_0x1b69d5(0x39f)](),_0x4105ca=this['_iKey']=_0x5c7065[_0x1b69d5(0x39f)](),_0x5b5079=_0x5d48ef[_0x1b69d5(0x23e)],_0x274008=_0x4105ca[_0x1b69d5(0x23e)],_0x41069c=0x0;_0x41069c<_0x202bec;_0x41069c++)_0x5b5079[_0x41069c]^=0x5c5c5c5c,_0x274008[_0x41069c]^=0x36363636;_0x5d48ef[_0x1b69d5(0x255)]=_0x4105ca['sigBytes']=_0x170fab,this[_0x1b69d5(0x1fd)]();},'reset':function(){var _0x2a79f3=_0x52af2c,_0x4c77f6=this[_0x2a79f3(0x2ef)];_0x4c77f6[_0x2a79f3(0x1fd)](),_0x4c77f6[_0x2a79f3(0x222)](this[_0x2a79f3(0x2d5)]);},'update':function(_0x4ba23e){var _0x57004f=_0x52af2c;return this['_hasher'][_0x57004f(0x222)](_0x4ba23e),this;},'finalize':function(_0x2a91ce){var _0x1431dd=_0x52af2c,_0x2ec564=this[_0x1431dd(0x2ef)],_0x5999d8=_0x2ec564[_0x1431dd(0x3e4)](_0x2a91ce);_0x2ec564[_0x1431dd(0x1fd)]();var _0x2dce02=_0x2ec564[_0x1431dd(0x3e4)](this[_0x1431dd(0x3a5)][_0x1431dd(0x39f)]()[_0x1431dd(0x1cc)](_0x5999d8));return _0x2dce02;}});}());}));}(Ce)),Ce[_0x483841(0x27b)];}var Mi=Ee[_0xf4019d(0x27b)],et;function Nt(){var _0xa8e8f1=_0xf4019d;return et||(et=0x1,function(_0xdf7028,_0x32277e){(function(_0xd3bcfc,_0x16c357,_0x4043aa){var _0x4d4f70=_0x3525;_0xdf7028[_0x4d4f70(0x27b)]=_0x16c357(Q(),Pi(),Li());}(Mi,function(_0x16f3e9){var _0x9e4afe=_0x3525;return(function(){var _0x1c251a=_0x3525,_0x4019b4=_0x16f3e9,_0x3b1fce=_0x4019b4[_0x1c251a(0x286)],_0x215b7d=_0x3b1fce[_0x1c251a(0x281)],_0x252c6a=_0x3b1fce[_0x1c251a(0x2a3)],_0x5981e1=_0x4019b4[_0x1c251a(0x31e)],_0xd88b40=_0x5981e1[_0x1c251a(0x396)],_0x317871=_0x5981e1['EvpKDF']=_0x215b7d[_0x1c251a(0x43a)]({'cfg':_0x215b7d[_0x1c251a(0x43a)]({'keySize':0x80/0x20,'hasher':_0xd88b40,'iterations':0x1}),'init':function(_0x4e6623){var _0x385148=_0x1c251a;this[_0x385148(0x22b)]=this[_0x385148(0x22b)]['extend'](_0x4e6623);},'compute':function(_0x1f58a0,_0x1ef2a0){var _0x26f17e=_0x1c251a;for(var _0x14bd64,_0x34499c=this['cfg'],_0x39780e=_0x34499c['hasher']['create'](),_0x278b90=_0x252c6a[_0x26f17e(0x26d)](),_0x3f62a1=_0x278b90['words'],_0x41d956=_0x34499c[_0x26f17e(0x49d)],_0x1f0208=_0x34499c[_0x26f17e(0x350)];_0x3f62a1['length']<_0x41d956;){_0x14bd64&&_0x39780e[_0x26f17e(0x222)](_0x14bd64),_0x14bd64=_0x39780e[_0x26f17e(0x222)](_0x1f58a0)[_0x26f17e(0x3e4)](_0x1ef2a0),_0x39780e['reset']();for(var _0x5f40e=0x1;_0x5f40e<_0x1f0208;_0x5f40e++)_0x14bd64=_0x39780e['finalize'](_0x14bd64),_0x39780e[_0x26f17e(0x1fd)]();_0x278b90[_0x26f17e(0x1cc)](_0x14bd64);}return _0x278b90[_0x26f17e(0x255)]=_0x41d956*0x4,_0x278b90;}});_0x4019b4[_0x1c251a(0x361)]=function(_0x3c0914,_0x16868b,_0x3015f8){var _0x340f59=_0x1c251a;return _0x317871[_0x340f59(0x26d)](_0x3015f8)[_0x340f59(0x325)](_0x3c0914,_0x16868b);};}()),_0x16f3e9[_0x9e4afe(0x361)];}));}(Ee)),Ee[_0xa8e8f1(0x27b)];}var Te={'exports':{}},xi=Te[_0xf4019d(0x27b)],tt;function Ut(){var _0x368582=_0xf4019d;return tt||(tt=0x1,function(_0x51ca76,_0x1b0228){(function(_0x187ce3,_0x2e3a88,_0x5ba62d){_0x51ca76['exports']=_0x2e3a88(Q(),Nt());}(xi,function(_0x24e40b){var _0x3e7e75=_0x3525;_0x24e40b['lib'][_0x3e7e75(0x435)]||function(_0x52b8d5){var _0x3d9cea=_0x3e7e75,_0x2df7cd=_0x24e40b,_0x39759e=_0x2df7cd[_0x3d9cea(0x286)],_0x224005=_0x39759e[_0x3d9cea(0x281)],_0x275ab3=_0x39759e[_0x3d9cea(0x2a3)],_0x2ddd0a=_0x39759e[_0x3d9cea(0x302)],_0x307695=_0x2df7cd[_0x3d9cea(0x49b)];_0x307695[_0x3d9cea(0x431)];var _0x2f8d47=_0x307695[_0x3d9cea(0x4da)],_0x73f0ee=_0x2df7cd[_0x3d9cea(0x31e)],_0x4c6010=_0x73f0ee[_0x3d9cea(0x361)],_0x101d65=_0x39759e['Cipher']=_0x2ddd0a[_0x3d9cea(0x43a)]({'cfg':_0x224005['extend'](),'createEncryptor':function(_0x266161,_0x54791d){var _0x44cc75=_0x3d9cea;return this[_0x44cc75(0x26d)](this[_0x44cc75(0x1d7)],_0x266161,_0x54791d);},'createDecryptor':function(_0x352ccc,_0xc9c943){var _0x4d0c36=_0x3d9cea;return this[_0x4d0c36(0x26d)](this[_0x4d0c36(0x31b)],_0x352ccc,_0xc9c943);},'init':function(_0x3eedb7,_0x50e6df,_0xbb8757){var _0x5ded72=_0x3d9cea;this['cfg']=this[_0x5ded72(0x22b)]['extend'](_0xbb8757),this['_xformMode']=_0x3eedb7,this['_key']=_0x50e6df,this[_0x5ded72(0x1fd)]();},'reset':function(){var _0x3a3d0e=_0x3d9cea;_0x2ddd0a[_0x3a3d0e(0x1fd)][_0x3a3d0e(0x2b0)](this),this[_0x3a3d0e(0x46c)]();},'process':function(_0x32ff87){return this['_append'](_0x32ff87),this['_process']();},'finalize':function(_0x156866){var _0x60a73c=_0x3d9cea;_0x156866&&this[_0x60a73c(0x1b5)](_0x156866);var _0x28f36a=this[_0x60a73c(0x3c1)]();return _0x28f36a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x424ef8(_0x41eceb){var _0xf47a90=_0x3525;return typeof _0x41eceb==_0xf47a90(0x1cd)?_0x3e1707:_0x55255f;}return function(_0x551cba){return{'encrypt':function(_0x298c25,_0xb0d55b,_0x4ea971){var _0x1228e0=_0x3525;return _0x424ef8(_0xb0d55b)[_0x1228e0(0x2ca)](_0x551cba,_0x298c25,_0xb0d55b,_0x4ea971);},'decrypt':function(_0x4e5c34,_0x208a08,_0x214044){var _0x157f53=_0x3525;return _0x424ef8(_0x208a08)[_0x157f53(0x3d6)](_0x551cba,_0x4e5c34,_0x208a08,_0x214044);}};};}())});_0x39759e[_0x3d9cea(0x2df)]=_0x101d65[_0x3d9cea(0x43a)]({'_doFinalize':function(){var _0x25f61f=this['_process'](!0x0);return _0x25f61f;},'blockSize':0x1});var _0x50ab95=_0x2df7cd[_0x3d9cea(0x4ee)]={},_0x173c93=_0x39759e[_0x3d9cea(0x2e6)]=_0x224005[_0x3d9cea(0x43a)]({'createEncryptor':function(_0x35fc6e,_0xd63ba5){var _0x55c479=_0x3d9cea;return this[_0x55c479(0x34b)]['create'](_0x35fc6e,_0xd63ba5);},'createDecryptor':function(_0x1aac07,_0x477cd5){var _0x822c66=_0x3d9cea;return this[_0x822c66(0x457)][_0x822c66(0x26d)](_0x1aac07,_0x477cd5);},'init':function(_0x46e56e,_0xb367f8){var _0x3fcdca=_0x3d9cea;this[_0x3fcdca(0x399)]=_0x46e56e,this[_0x3fcdca(0x1e3)]=_0xb367f8;}}),_0x15d923=_0x50ab95['CBC']=(function(){var _0x2f670c=_0x3d9cea,_0x48a9cc=_0x173c93[_0x2f670c(0x43a)]();_0x48a9cc[_0x2f670c(0x34b)]=_0x48a9cc[_0x2f670c(0x43a)]({'processBlock':function(_0x57903d,_0x3f9b22){var _0x325744=_0x2f670c,_0x19e4b8=this['_cipher'],_0x4965f2=_0x19e4b8[_0x325744(0x436)];_0x64e83c[_0x325744(0x2b0)](this,_0x57903d,_0x3f9b22,_0x4965f2),_0x19e4b8['encryptBlock'](_0x57903d,_0x3f9b22),this['_prevBlock']=_0x57903d['slice'](_0x3f9b22,_0x3f9b22+_0x4965f2);}}),_0x48a9cc[_0x2f670c(0x457)]=_0x48a9cc[_0x2f670c(0x43a)]({'processBlock':function(_0x1c7140,_0x917bab){var _0x4bc321=_0x2f670c,_0x31f698=this['_cipher'],_0x2e3576=_0x31f698[_0x4bc321(0x436)],_0x3e7e2e=_0x1c7140[_0x4bc321(0x508)](_0x917bab,_0x917bab+_0x2e3576);_0x31f698[_0x4bc321(0x4fc)](_0x1c7140,_0x917bab),_0x64e83c[_0x4bc321(0x2b0)](this,_0x1c7140,_0x917bab,_0x2e3576),this[_0x4bc321(0x23f)]=_0x3e7e2e;}});function _0x64e83c(_0x3a177d,_0x52aa31,_0x4fc23c){var _0x11d8f3=_0x2f670c,_0x51198e,_0x34841f=this[_0x11d8f3(0x1e3)];_0x34841f?(_0x51198e=_0x34841f,this['_iv']=_0x52b8d5):_0x51198e=this[_0x11d8f3(0x23f)];for(var _0x573e07=0x0;_0x573e07<_0x4fc23c;_0x573e07++)_0x3a177d[_0x52aa31+_0x573e07]^=_0x51198e[_0x573e07];}return _0x48a9cc;}()),_0x38ee3e=_0x2df7cd['pad']={},_0x4a39ae=_0x38ee3e[_0x3d9cea(0x1ce)]={'pad':function(_0x370c39,_0x43a468){var _0x24f020=_0x3d9cea;for(var _0x41a393=_0x43a468*0x4,_0x277eae=_0x41a393-_0x370c39[_0x24f020(0x255)]%_0x41a393,_0x35e466=_0x277eae<<0x18|_0x277eae<<0x10|_0x277eae<<0x8|_0x277eae,_0x289d16=[],_0x5336ca=0x0;_0x5336ca<_0x277eae;_0x5336ca+=0x4)_0x289d16['push'](_0x35e466);var _0x1595a8=_0x275ab3[_0x24f020(0x26d)](_0x289d16,_0x277eae);_0x370c39[_0x24f020(0x1cc)](_0x1595a8);},'unpad':function(_0x5d0166){var _0x35a063=_0x3d9cea,_0x285af6=_0x5d0166[_0x35a063(0x23e)][_0x5d0166['sigBytes']-0x1>>>0x2]&0xff;_0x5d0166[_0x35a063(0x255)]-=_0x285af6;}};_0x39759e[_0x3d9cea(0x373)]=_0x101d65['extend']({'cfg':_0x101d65['cfg']['extend']({'mode':_0x15d923,'padding':_0x4a39ae}),'reset':function(){var _0x3402d1=_0x3d9cea,_0x3c6e62;_0x101d65[_0x3402d1(0x1fd)][_0x3402d1(0x2b0)](this);var _0x51ff76=this['cfg'],_0x37c49f=_0x51ff76['iv'],_0x23a2cd=_0x51ff76[_0x3402d1(0x4ee)];this[_0x3402d1(0x370)]==this[_0x3402d1(0x1d7)]?_0x3c6e62=_0x23a2cd['createEncryptor']:(_0x3c6e62=_0x23a2cd[_0x3402d1(0x4b7)],this[_0x3402d1(0x3cc)]=0x1),this[_0x3402d1(0x25f)]&&this['_mode'][_0x3402d1(0x4eb)]==_0x3c6e62?this['_mode'][_0x3402d1(0x403)](this,_0x37c49f&&_0x37c49f['words']):(this['_mode']=_0x3c6e62[_0x3402d1(0x2b0)](_0x23a2cd,this,_0x37c49f&&_0x37c49f['words']),this[_0x3402d1(0x25f)][_0x3402d1(0x4eb)]=_0x3c6e62);},'_doProcessBlock':function(_0x20b49c,_0x3f809a){var _0xa1f702=_0x3d9cea;this[_0xa1f702(0x25f)][_0xa1f702(0x309)](_0x20b49c,_0x3f809a);},'_doFinalize':function(){var _0x28e0b6=_0x3d9cea,_0x197c13,_0x3489c3=this['cfg'][_0x28e0b6(0x1ec)];return this[_0x28e0b6(0x370)]==this[_0x28e0b6(0x1d7)]?(_0x3489c3['pad'](this['_data'],this[_0x28e0b6(0x436)]),_0x197c13=this[_0x28e0b6(0x1d8)](!0x0)):(_0x197c13=this[_0x28e0b6(0x1d8)](!0x0),_0x3489c3[_0x28e0b6(0x34a)](_0x197c13)),_0x197c13;},'blockSize':0x80/0x20});var _0xf015d1=_0x39759e[_0x3d9cea(0x43d)]=_0x224005[_0x3d9cea(0x43a)]({'init':function(_0x3e8e37){var _0x1350e4=_0x3d9cea;this[_0x1350e4(0x208)](_0x3e8e37);},'toString':function(_0x33dfa5){var _0x420055=_0x3d9cea;return(_0x33dfa5||this[_0x420055(0x226)])[_0x420055(0x1f7)](this);}}),_0x43d645=_0x2df7cd[_0x3d9cea(0x484)]={},_0x32175c=_0x43d645[_0x3d9cea(0x50c)]={'stringify':function(_0x58b700){var _0x4964f2=_0x3d9cea,_0x42ea89,_0x224ef0=_0x58b700[_0x4964f2(0x4e1)],_0x411e89=_0x58b700[_0x4964f2(0x36b)];return _0x411e89?_0x42ea89=_0x275ab3['create']([0x53616c74,0x65645f5f])['concat'](_0x411e89)[_0x4964f2(0x1cc)](_0x224ef0):_0x42ea89=_0x224ef0,_0x42ea89[_0x4964f2(0x2b4)](_0x2f8d47);},'parse':function(_0x5ec523){var _0x318317=_0x3d9cea,_0x3832c5,_0x35236d=_0x2f8d47[_0x318317(0x25d)](_0x5ec523),_0x99efc0=_0x35236d[_0x318317(0x23e)];return _0x99efc0[0x0]==0x53616c74&&_0x99efc0[0x1]==0x65645f5f&&(_0x3832c5=_0x275ab3[_0x318317(0x26d)](_0x99efc0[_0x318317(0x508)](0x2,0x4)),_0x99efc0[_0x318317(0x335)](0x0,0x4),_0x35236d['sigBytes']-=0x10),_0xf015d1[_0x318317(0x26d)]({'ciphertext':_0x35236d,'salt':_0x3832c5});}},_0x55255f=_0x39759e[_0x3d9cea(0x299)]=_0x224005[_0x3d9cea(0x43a)]({'cfg':_0x224005[_0x3d9cea(0x43a)]({'format':_0x32175c}),'encrypt':function(_0x245a93,_0x4747a2,_0x1eaf52,_0x4249bd){var _0xc65902=_0x3d9cea;_0x4249bd=this['cfg'][_0xc65902(0x43a)](_0x4249bd);var _0x45953f=_0x245a93[_0xc65902(0x263)](_0x1eaf52,_0x4249bd),_0x2e967e=_0x45953f[_0xc65902(0x3e4)](_0x4747a2),_0x589a1b=_0x45953f['cfg'];return _0xf015d1[_0xc65902(0x26d)]({'ciphertext':_0x2e967e,'key':_0x1eaf52,'iv':_0x589a1b['iv'],'algorithm':_0x245a93,'mode':_0x589a1b[_0xc65902(0x4ee)],'padding':_0x589a1b[_0xc65902(0x1ec)],'blockSize':_0x245a93[_0xc65902(0x436)],'formatter':_0x4249bd[_0xc65902(0x484)]});},'decrypt':function(_0x346c20,_0x21cce7,_0x4a6b5c,_0x463d25){var _0x2af6a4=_0x3d9cea;_0x463d25=this[_0x2af6a4(0x22b)]['extend'](_0x463d25),_0x21cce7=this[_0x2af6a4(0x3e5)](_0x21cce7,_0x463d25[_0x2af6a4(0x484)]);var _0xcc04f2=_0x346c20[_0x2af6a4(0x4b7)](_0x4a6b5c,_0x463d25)[_0x2af6a4(0x3e4)](_0x21cce7[_0x2af6a4(0x4e1)]);return _0xcc04f2;},'_parse':function(_0x306ef1,_0x100391){var _0x4aae0f=_0x3d9cea;return typeof _0x306ef1==_0x4aae0f(0x1cd)?_0x100391[_0x4aae0f(0x25d)](_0x306ef1,this):_0x306ef1;}}),_0x5152d2=_0x2df7cd[_0x3d9cea(0x4b4)]={},_0x4f67d4=_0x5152d2['OpenSSL']={'execute':function(_0x4720c3,_0x36aaac,_0x47b41c,_0x1b9229,_0x4e2601){var _0x4b2543=_0x3d9cea;if(_0x1b9229||(_0x1b9229=_0x275ab3[_0x4b2543(0x3ec)](0x40/0x8)),_0x4e2601)var _0x54b3f8=_0x4c6010[_0x4b2543(0x26d)]({'keySize':_0x36aaac+_0x47b41c,'hasher':_0x4e2601})[_0x4b2543(0x325)](_0x4720c3,_0x1b9229);else var _0x54b3f8=_0x4c6010[_0x4b2543(0x26d)]({'keySize':_0x36aaac+_0x47b41c})['compute'](_0x4720c3,_0x1b9229);var _0x2f8c65=_0x275ab3['create'](_0x54b3f8[_0x4b2543(0x23e)][_0x4b2543(0x508)](_0x36aaac),_0x47b41c*0x4);return _0x54b3f8['sigBytes']=_0x36aaac*0x4,_0xf015d1[_0x4b2543(0x26d)]({'key':_0x54b3f8,'iv':_0x2f8c65,'salt':_0x1b9229});}},_0x3e1707=_0x39759e[_0x3d9cea(0x39c)]=_0x55255f[_0x3d9cea(0x43a)]({'cfg':_0x55255f[_0x3d9cea(0x22b)][_0x3d9cea(0x43a)]({'kdf':_0x4f67d4}),'encrypt':function(_0x2713b5,_0x12a0f0,_0x8caf5d,_0x36c871){var _0x536829=_0x3d9cea;_0x36c871=this[_0x536829(0x22b)][_0x536829(0x43a)](_0x36c871);var _0x4254f0=_0x36c871[_0x536829(0x4b4)][_0x536829(0x519)](_0x8caf5d,_0x2713b5[_0x536829(0x49d)],_0x2713b5[_0x536829(0x394)],_0x36c871[_0x536829(0x36b)],_0x36c871['hasher']);_0x36c871['iv']=_0x4254f0['iv'];var _0x51cd9a=_0x55255f[_0x536829(0x2ca)][_0x536829(0x2b0)](this,_0x2713b5,_0x12a0f0,_0x4254f0[_0x536829(0x329)],_0x36c871);return _0x51cd9a[_0x536829(0x208)](_0x4254f0),_0x51cd9a;},'decrypt':function(_0x3f2f99,_0x2de785,_0x3a9a63,_0x18060d){var _0x1c6bd8=_0x3d9cea;_0x18060d=this[_0x1c6bd8(0x22b)][_0x1c6bd8(0x43a)](_0x18060d),_0x2de785=this['_parse'](_0x2de785,_0x18060d[_0x1c6bd8(0x484)]);var _0x5b7dcd=_0x18060d[_0x1c6bd8(0x4b4)][_0x1c6bd8(0x519)](_0x3a9a63,_0x3f2f99[_0x1c6bd8(0x49d)],_0x3f2f99['ivSize'],_0x2de785['salt'],_0x18060d['hasher']);_0x18060d['iv']=_0x5b7dcd['iv'];var _0x468ab4=_0x55255f[_0x1c6bd8(0x3d6)][_0x1c6bd8(0x2b0)](this,_0x3f2f99,_0x2de785,_0x5b7dcd[_0x1c6bd8(0x329)],_0x18060d);return _0x468ab4;}});}();}));}(Te)),Te[_0x368582(0x27b)];}var ki=fe[_0xf4019d(0x27b)],it;function Hi(){var _0x19f85f=_0xf4019d;return it||(it=0x1,function(_0x29e123,_0x1a0338){(function(_0x980ccb,_0x248649,_0x3475ea){_0x29e123['exports']=_0x248649(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x85f7e7){var _0x23f9cf=_0x3525;return(function(){var _0x4b5cff=_0x3525,_0x186f36=_0x85f7e7,_0x77b71e=_0x186f36[_0x4b5cff(0x286)],_0x58c78b=_0x77b71e['BlockCipher'],_0x9ee45d=_0x186f36[_0x4b5cff(0x31e)],_0x1850ed=[],_0x4bfbe9=[],_0x294ec4=[],_0x141cd2=[],_0x4d573f=[],_0x3d52e0=[],_0x303a21=[],_0x10cb8a=[],_0x4f2380=[],_0x3340f0=[];(function(){for(var _0x1585c0=[],_0x542acc=0x0;_0x542acc<0x100;_0x542acc++)_0x542acc<0x80?_0x1585c0[_0x542acc]=_0x542acc<<0x1:_0x1585c0[_0x542acc]=_0x542acc<<0x1^0x11b;for(var _0x5eb714=0x0,_0x516dee=0x0,_0x542acc=0x0;_0x542acc<0x100;_0x542acc++){var _0xa6f574=_0x516dee^_0x516dee<<0x1^_0x516dee<<0x2^_0x516dee<<0x3^_0x516dee<<0x4;_0xa6f574=_0xa6f574>>>0x8^_0xa6f574&0xff^0x63,_0x1850ed[_0x5eb714]=_0xa6f574,_0x4bfbe9[_0xa6f574]=_0x5eb714;var _0x3bbb71=_0x1585c0[_0x5eb714],_0x6bef49=_0x1585c0[_0x3bbb71],_0x3d08eb=_0x1585c0[_0x6bef49],_0x3b4e00=_0x1585c0[_0xa6f574]*0x101^_0xa6f574*0x1010100;_0x294ec4[_0x5eb714]=_0x3b4e00<<0x18|_0x3b4e00>>>0x8,_0x141cd2[_0x5eb714]=_0x3b4e00<<0x10|_0x3b4e00>>>0x10,_0x4d573f[_0x5eb714]=_0x3b4e00<<0x8|_0x3b4e00>>>0x18,_0x3d52e0[_0x5eb714]=_0x3b4e00;var _0x3b4e00=_0x3d08eb*0x1010101^_0x6bef49*0x10001^_0x3bbb71*0x101^_0x5eb714*0x1010100;_0x303a21[_0xa6f574]=_0x3b4e00<<0x18|_0x3b4e00>>>0x8,_0x10cb8a[_0xa6f574]=_0x3b4e00<<0x10|_0x3b4e00>>>0x10,_0x4f2380[_0xa6f574]=_0x3b4e00<<0x8|_0x3b4e00>>>0x18,_0x3340f0[_0xa6f574]=_0x3b4e00,_0x5eb714?(_0x5eb714=_0x3bbb71^_0x1585c0[_0x1585c0[_0x1585c0[_0x3d08eb^_0x3bbb71]]],_0x516dee^=_0x1585c0[_0x1585c0[_0x516dee]]):_0x5eb714=_0x516dee=0x1;}}());var _0x13c93c=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x476e61=_0x9ee45d['AES']=_0x58c78b[_0x4b5cff(0x43a)]({'_doReset':function(){var _0x12c3d6=_0x4b5cff,_0x3c4505;if(!(this[_0x12c3d6(0x4fa)]&&this['_keyPriorReset']===this[_0x12c3d6(0x2a2)])){for(var _0x35b4c2=this[_0x12c3d6(0x3e3)]=this['_key'],_0x48ab18=_0x35b4c2[_0x12c3d6(0x23e)],_0xeebb38=_0x35b4c2['sigBytes']/0x4,_0x36b866=this['_nRounds']=_0xeebb38+0x6,_0x4eb358=(_0x36b866+0x1)*0x4,_0x909e10=this[_0x12c3d6(0x268)]=[],_0x23e75e=0x0;_0x23e75e<_0x4eb358;_0x23e75e++)_0x23e75e<_0xeebb38?_0x909e10[_0x23e75e]=_0x48ab18[_0x23e75e]:(_0x3c4505=_0x909e10[_0x23e75e-0x1],_0x23e75e%_0xeebb38?_0xeebb38>0x6&&_0x23e75e%_0xeebb38==0x4&&(_0x3c4505=_0x1850ed[_0x3c4505>>>0x18]<<0x18|_0x1850ed[_0x3c4505>>>0x10&0xff]<<0x10|_0x1850ed[_0x3c4505>>>0x8&0xff]<<0x8|_0x1850ed[_0x3c4505&0xff]):(_0x3c4505=_0x3c4505<<0x8|_0x3c4505>>>0x18,_0x3c4505=_0x1850ed[_0x3c4505>>>0x18]<<0x18|_0x1850ed[_0x3c4505>>>0x10&0xff]<<0x10|_0x1850ed[_0x3c4505>>>0x8&0xff]<<0x8|_0x1850ed[_0x3c4505&0xff],_0x3c4505^=_0x13c93c[_0x23e75e/_0xeebb38|0x0]<<0x18),_0x909e10[_0x23e75e]=_0x909e10[_0x23e75e-_0xeebb38]^_0x3c4505);for(var _0x2a1ec5=this[_0x12c3d6(0x1c7)]=[],_0x4a3ea9=0x0;_0x4a3ea9<_0x4eb358;_0x4a3ea9++){var _0x23e75e=_0x4eb358-_0x4a3ea9;if(_0x4a3ea9%0x4)var _0x3c4505=_0x909e10[_0x23e75e];else var _0x3c4505=_0x909e10[_0x23e75e-0x4];_0x4a3ea9<0x4||_0x23e75e<=0x4?_0x2a1ec5[_0x4a3ea9]=_0x3c4505:_0x2a1ec5[_0x4a3ea9]=_0x303a21[_0x1850ed[_0x3c4505>>>0x18]]^_0x10cb8a[_0x1850ed[_0x3c4505>>>0x10&0xff]]^_0x4f2380[_0x1850ed[_0x3c4505>>>0x8&0xff]]^_0x3340f0[_0x1850ed[_0x3c4505&0xff]];}}},'encryptBlock':function(_0x14c3b5,_0xc2c361){var _0x2d6fb7=_0x4b5cff;this[_0x2d6fb7(0x276)](_0x14c3b5,_0xc2c361,this[_0x2d6fb7(0x268)],_0x294ec4,_0x141cd2,_0x4d573f,_0x3d52e0,_0x1850ed);},'decryptBlock':function(_0x5b606d,_0x16d47c){var _0x1c1ac8=_0x4b5cff,_0x5828b6=_0x5b606d[_0x16d47c+0x1];_0x5b606d[_0x16d47c+0x1]=_0x5b606d[_0x16d47c+0x3],_0x5b606d[_0x16d47c+0x3]=_0x5828b6,this[_0x1c1ac8(0x276)](_0x5b606d,_0x16d47c,this[_0x1c1ac8(0x1c7)],_0x303a21,_0x10cb8a,_0x4f2380,_0x3340f0,_0x4bfbe9);var _0x5828b6=_0x5b606d[_0x16d47c+0x1];_0x5b606d[_0x16d47c+0x1]=_0x5b606d[_0x16d47c+0x3],_0x5b606d[_0x16d47c+0x3]=_0x5828b6;},'_doCryptBlock':function(_0x69baa5,_0x174ab7,_0x40f88a,_0x3501f6,_0x2e475,_0x1059df,_0x53e63c,_0x4aff27){for(var _0x1449fa=this['_nRounds'],_0x410a3c=_0x69baa5[_0x174ab7]^_0x40f88a[0x0],_0xce6b78=_0x69baa5[_0x174ab7+0x1]^_0x40f88a[0x1],_0x2281e3=_0x69baa5[_0x174ab7+0x2]^_0x40f88a[0x2],_0x8c31c1=_0x69baa5[_0x174ab7+0x3]^_0x40f88a[0x3],_0x128402=0x4,_0xd5b1f=0x1;_0xd5b1f<_0x1449fa;_0xd5b1f++){var _0x2f35a6=_0x3501f6[_0x410a3c>>>0x18]^_0x2e475[_0xce6b78>>>0x10&0xff]^_0x1059df[_0x2281e3>>>0x8&0xff]^_0x53e63c[_0x8c31c1&0xff]^_0x40f88a[_0x128402++],_0x3f1b81=_0x3501f6[_0xce6b78>>>0x18]^_0x2e475[_0x2281e3>>>0x10&0xff]^_0x1059df[_0x8c31c1>>>0x8&0xff]^_0x53e63c[_0x410a3c&0xff]^_0x40f88a[_0x128402++],_0x27877f=_0x3501f6[_0x2281e3>>>0x18]^_0x2e475[_0x8c31c1>>>0x10&0xff]^_0x1059df[_0x410a3c>>>0x8&0xff]^_0x53e63c[_0xce6b78&0xff]^_0x40f88a[_0x128402++],_0x4593d5=_0x3501f6[_0x8c31c1>>>0x18]^_0x2e475[_0x410a3c>>>0x10&0xff]^_0x1059df[_0xce6b78>>>0x8&0xff]^_0x53e63c[_0x2281e3&0xff]^_0x40f88a[_0x128402++];_0x410a3c=_0x2f35a6,_0xce6b78=_0x3f1b81,_0x2281e3=_0x27877f,_0x8c31c1=_0x4593d5;}var _0x2f35a6=(_0x4aff27[_0x410a3c>>>0x18]<<0x18|_0x4aff27[_0xce6b78>>>0x10&0xff]<<0x10|_0x4aff27[_0x2281e3>>>0x8&0xff]<<0x8|_0x4aff27[_0x8c31c1&0xff])^_0x40f88a[_0x128402++],_0x3f1b81=(_0x4aff27[_0xce6b78>>>0x18]<<0x18|_0x4aff27[_0x2281e3>>>0x10&0xff]<<0x10|_0x4aff27[_0x8c31c1>>>0x8&0xff]<<0x8|_0x4aff27[_0x410a3c&0xff])^_0x40f88a[_0x128402++],_0x27877f=(_0x4aff27[_0x2281e3>>>0x18]<<0x18|_0x4aff27[_0x8c31c1>>>0x10&0xff]<<0x10|_0x4aff27[_0x410a3c>>>0x8&0xff]<<0x8|_0x4aff27[_0xce6b78&0xff])^_0x40f88a[_0x128402++],_0x4593d5=(_0x4aff27[_0x8c31c1>>>0x18]<<0x18|_0x4aff27[_0x410a3c>>>0x10&0xff]<<0x10|_0x4aff27[_0xce6b78>>>0x8&0xff]<<0x8|_0x4aff27[_0x2281e3&0xff])^_0x40f88a[_0x128402++];_0x69baa5[_0x174ab7]=_0x2f35a6,_0x69baa5[_0x174ab7+0x1]=_0x3f1b81,_0x69baa5[_0x174ab7+0x2]=_0x27877f,_0x69baa5[_0x174ab7+0x3]=_0x4593d5;},'keySize':0x100/0x20});_0x186f36['AES']=_0x58c78b['_createHelper'](_0x476e61);}()),_0x85f7e7[_0x23f9cf(0x242)];}));}(fe)),fe[_0x19f85f(0x27b)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0xf4019d(0x27b)],rt;function Vi(){var _0x2ea9e6=_0xf4019d;return rt||(rt=0x1,function(_0x1f2c88,_0x3c4671){(function(_0x163c72,_0x222e9e){var _0x20375f=_0x3525;_0x1f2c88[_0x20375f(0x27b)]=_0x222e9e(Q());}(Fi,function(_0x15bcb8){var _0x33d8ae=_0x3525;return _0x15bcb8[_0x33d8ae(0x49b)][_0x33d8ae(0x431)];}));}(be)),be[_0x2ea9e6(0x27b)];}var Wi=Vi();const Gi=ve(Wi);var Re={'exports':{}},Ki=Re[_0xf4019d(0x27b)],st;function Yi(){var _0x14f3b4=_0xf4019d;return st||(st=0x1,function(_0xb20806,_0x420bae){(function(_0x161013,_0x35c566){_0xb20806['exports']=_0x35c566(Q());}(Ki,function(_0x1546c4){var _0x519e5d=_0x3525;return(function(){var _0x38c661=_0x3525;if(typeof ArrayBuffer==_0x38c661(0x1e1)){var _0x51636b=_0x1546c4,_0x19dfb5=_0x51636b['lib'],_0x2dff31=_0x19dfb5[_0x38c661(0x2a3)],_0x4c03b4=_0x2dff31[_0x38c661(0x403)],_0x1af839=_0x2dff31['init']=function(_0x3d58ef){var _0x52b0e1=_0x38c661;if(_0x3d58ef instanceof ArrayBuffer&&(_0x3d58ef=new Uint8Array(_0x3d58ef)),(_0x3d58ef instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3d58ef instanceof Uint8ClampedArray||_0x3d58ef instanceof Int16Array||_0x3d58ef instanceof Uint16Array||_0x3d58ef instanceof Int32Array||_0x3d58ef instanceof Uint32Array||_0x3d58ef instanceof Float32Array||_0x3d58ef instanceof Float64Array)&&(_0x3d58ef=new Uint8Array(_0x3d58ef[_0x52b0e1(0x318)],_0x3d58ef[_0x52b0e1(0x3cd)],_0x3d58ef['byteLength'])),_0x3d58ef instanceof Uint8Array){for(var _0x1b8319=_0x3d58ef[_0x52b0e1(0x4f4)],_0x1242d5=[],_0x3ba529=0x0;_0x3ba529<_0x1b8319;_0x3ba529++)_0x1242d5[_0x3ba529>>>0x2]|=_0x3d58ef[_0x3ba529]<<0x18-_0x3ba529%0x4*0x8;_0x4c03b4[_0x52b0e1(0x2b0)](this,_0x1242d5,_0x1b8319);}else _0x4c03b4[_0x52b0e1(0x37d)](this,arguments);};_0x1af839[_0x38c661(0x2cd)]=_0x2dff31;}}()),_0x1546c4[_0x519e5d(0x286)][_0x519e5d(0x2a3)];}));}(Re)),Re[_0x14f3b4(0x27b)];}var qi=Yi();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe['exports'],ot;function Xi(){var _0x22cfee=_0xf4019d;return ot||(ot=0x1,function(_0x22c4d1,_0x5dfc4b){(function(_0x39127b,_0x2a93bf,_0x2a8b35){var _0x3fd2c1=_0x3525;_0x22c4d1[_0x3fd2c1(0x27b)]=_0x2a93bf(Q(),Ut());}(Ji,function(_0x40bece){var _0x1bfc44=_0x3525;return _0x40bece[_0x1bfc44(0x4d7)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x40bece[_0x1bfc44(0x4d7)][_0x1bfc44(0x2ab)];}));}(Oe)),Oe[_0x22cfee(0x27b)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x213efe,_0x43529c){var _0x39d470=_0xf4019d;const _0x178c6c=_0x43529c-_0x213efe[_0x39d470(0x20b)]%_0x43529c,_0x55e32f=String[_0x39d470(0x220)](_0x178c6c)[_0x39d470(0x343)](_0x178c6c);return _0x213efe+_0x55e32f;}function tn(_0x179c27,_0x520ac2){var _0xe9873=_0xf4019d;const _0x194b71=zi[_0xe9873(0x3ec)](0x10),_0x3b1050=en(_0x179c27,0x10),_0x4c6a53=ji[_0xe9873(0x2ca)](Gi[_0xe9873(0x25d)](_0x3b1050),nt['parse'](_0x520ac2),{'iv':_0x194b71,'padding':Qi});return _0x194b71[_0xe9873(0x1cc)](_0x4c6a53[_0xe9873(0x4e1)])[_0xe9873(0x2b4)](nt);}function nn(){var _0x57b7a8=_0xf4019d;const _0x13c9e6=wt['getGlobalObject']()[_0x57b7a8(0x48c)];if(_0x13c9e6){const _0x589c8e={'time':Math[_0x57b7a8(0x4dc)](Date[_0x57b7a8(0x4d5)]()/0x3e8),'domain':location[_0x57b7a8(0x2d2)]};return tn(JSON[_0x57b7a8(0x1f7)](_0x589c8e),_0x13c9e6);}}var rn=Object['getOwnPropertyDescriptor'],sn=(_0x2efde4,_0x91e9c5,_0x45d36d,_0x1ab1d0)=>{var _0x2f965b=_0xf4019d;for(var _0x3824e7=_0x1ab1d0>0x1?void 0x0:_0x1ab1d0?rn(_0x91e9c5,_0x45d36d):_0x91e9c5,_0x4f6841=_0x2efde4[_0x2f965b(0x20b)]-0x1,_0x5131c7;_0x4f6841>=0x0;_0x4f6841--)(_0x5131c7=_0x2efde4[_0x4f6841])&&(_0x3824e7=_0x5131c7(_0x3824e7)||_0x3824e7);return _0x3824e7;},on=(_0x41f5ff,_0x51f9f2)=>(_0x54d34a,_0x4d4f1e)=>_0x51f9f2(_0x54d34a,_0x4d4f1e,_0x41f5ff);let Ne=class{constructor(_0x2a8a4f){var _0x4adc01=_0xf4019d;this[_0x4adc01(0x2b5)]=_0x2a8a4f,this['_initRequestHeader']();}[_0xf4019d(0x2f9)](){var _0x5421f3=_0xf4019d;this['_httpService'][_0x5421f3(0x497)]({'interceptor':(_0x3c3159,_0x2c9799)=>{var _0xd6a887=_0x5421f3;const _0x1dd4ae=_0x3c3159[_0xd6a887(0x48b)],_0x51be82=nn();return _0x51be82&&_0x1dd4ae[_0xd6a887(0x214)]('x-univer-host',_0x51be82),_0x2c9799(_0x3c3159);}});}};Ne=sn([on(0x0,a[_0xf4019d(0x404)](Y[_0xf4019d(0x4ad)]))],Ne);var an=Object[_0xf4019d(0x341)],cn=(_0x374614,_0x420409,_0x1b98f3,_0x32727f)=>{var _0x3ddba0=_0xf4019d;for(var _0x301165=_0x32727f>0x1?void 0x0:_0x32727f?an(_0x420409,_0x1b98f3):_0x420409,_0xf65e21=_0x374614[_0x3ddba0(0x20b)]-0x1,_0x415724;_0xf65e21>=0x0;_0xf65e21--)(_0x415724=_0x374614[_0xf65e21])&&(_0x301165=_0x415724(_0x301165)||_0x301165);return _0x301165;},we=(_0x4eaaa1,_0x1f3055)=>(_0x12df11,_0x337b22)=>_0x1f3055(_0x12df11,_0x337b22,_0x4eaaa1);exports[_0xf4019d(0x47e)]=class extends a['RxDisposable']{constructor(_0x2bf466,_0x4ac715,_0x3f76dd){var _0x4aedc0=_0xf4019d;super(),A(this,_0x4aedc0(0x1fe),new $[(_0x4aedc0(0x2f5))](null)),A(this,'unitInfo$',this['_unitInfo$'][_0x4aedc0(0x33f)]()),(this['_logService']=_0x2bf466,this[_0x4aedc0(0x2c5)]=_0x4ac715,this[_0x4aedc0(0x33c)]=_0x3f76dd);}async[_0xf4019d(0x215)](_0x4c83de,_0x4c5599,_0x2afb8b){var _0x5ec4be=_0xf4019d;this[_0x5ec4be(0x1fe)][_0x5ec4be(0x4ff)]({'unitId':_0x4c83de,'type':_0x4c5599});let _0x4724eb=null;switch(_0x4c5599){case J[_0x5ec4be(0x2a8)]:{_0x4724eb=await this[_0x5ec4be(0x2c5)][_0x5ec4be(0x2c7)](_0x4c83de,_0x2afb8b);break;}case J[_0x5ec4be(0x23a)]:{_0x4724eb=await this[_0x5ec4be(0x2c5)][_0x5ec4be(0x3fc)](_0x4c83de,_0x2afb8b);break;}default:{this['_logService'][_0x5ec4be(0x4b8)](_0x5ec4be(0x2b1),_0x5ec4be(0x2c1));break;}}return _0x4724eb;}async[_0xf4019d(0x2b8)](_0x1cbe30,_0x227203,_0x4f8ef5){var _0x236194=_0xf4019d,_0x4df1cc;this['_unitInfo$'][_0x236194(0x4ff)]({'unitId':_0x1cbe30,'type':_0x227203,'subUnitId':_0x4f8ef5});let _0x2baa43=0x0;const _0x2e56a3=await((_0x4df1cc=this[_0x236194(0x33c)])==null?void 0x0:_0x4df1cc['loadOfflineData'](_0x1cbe30));return _0x2e56a3&&(_0x2e56a3[_0x236194(0x4d0)]||_0x2e56a3[_0x236194(0x356)][_0x236194(0x20b)]!==0x0)&&(_0x2baa43=_0x2e56a3['rev']),_0x2baa43===0x0&&this[_0x236194(0x369)][_0x236194(0x267)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x236194(0x215)](_0x1cbe30,_0x227203,_0x2baa43);}},exports[_0xf4019d(0x47e)]=cn([we(0x0,a[_0xf4019d(0x2f2)]),we(0x1,a['Inject'](I[_0xf4019d(0x1cb)])),we(0x2,a['Optional'](q))],exports[_0xf4019d(0x47e)]);var hn=Object[_0xf4019d(0x341)],_n=(_0x1fd7f3,_0x2eec48,_0x2c47f0,_0x50f175)=>{var _0x89bb48=_0xf4019d;for(var _0x22520a=_0x50f175>0x1?void 0x0:_0x50f175?hn(_0x2eec48,_0x2c47f0):_0x2eec48,_0xe2051f=_0x1fd7f3[_0x89bb48(0x20b)]-0x1,_0x39b766;_0xe2051f>=0x0;_0xe2051f--)(_0x39b766=_0x1fd7f3[_0xe2051f])&&(_0x22520a=_0x39b766(_0x22520a)||_0x22520a);return _0x22520a;},Le=(_0x3e0da6,_0x2d498e)=>(_0x172eed,_0x3e0d7b)=>_0x2d498e(_0x172eed,_0x3e0d7b,_0x3e0da6);const ln=['image/png',_0xf4019d(0x44e),'image/jpg',_0xf4019d(0x3a3),_0xf4019d(0x247)],un=0x5*0x400*0x400,dn=_0xf4019d(0x4c8),vn=_0xf4019d(0x491),Sn=_0xf4019d(0x3ce),fn=_0xf4019d(0x3a6);exports[_0xf4019d(0x41c)]=class{constructor(_0x437719,_0x36dfd1,_0x56987a){var _0xa92ea0=_0xf4019d;A(this,_0xa92ea0(0x487),0x0),A(this,'_change$',new $[(_0xa92ea0(0x4d6))]()),A(this,_0xa92ea0(0x510),this[_0xa92ea0(0x1c6)]),A(this,_0xa92ea0(0x2d8),new Map()),(this[_0xa92ea0(0x2b5)]=_0x437719,this[_0xa92ea0(0x3aa)]=_0x36dfd1,this[_0xa92ea0(0x261)]=_0x56987a);}[_0xf4019d(0x4a4)](_0x4f3dea){var _0x516ffc=_0xf4019d;this['_waitCount']=_0x4f3dea,this['_change$'][_0x516ffc(0x4ff)](_0x4f3dea);}[_0xf4019d(0x36d)](_0xa18ac5,_0x203951){var _0x29f00f=_0xf4019d;if(_0x203951===z['ImageSourceType'][_0x29f00f(0x2dc)]){const _0x27e21b=new Image();return _0x27e21b['src']=_0xa18ac5,_0x27e21b;}return this[_0x29f00f(0x2d8)]['get'](_0xa18ac5);}['addImageSourceCache'](_0x873804,_0x4ac6d1,_0x5ccea7){var _0x302277=_0xf4019d;_0x4ac6d1===z[_0x302277(0x3a2)]['BASE64']||_0x5ccea7==null||this[_0x302277(0x2d8)][_0x302277(0x214)](_0x873804,_0x5ccea7);}async['getImage'](_0x4f5123){var _0x5de747=_0xf4019d;try{const _0x497626=this['_replaceFileID'](this[_0x5de747(0x480)](),''+_0x4f5123),_0x5cea5c=(await this['_httpService']['get'](_0x497626))['body'];if(_0x5cea5c['error']&&_0x5cea5c['error'][_0x5de747(0x4b2)]===gt['OK']){const _0x1d2d26=new URL(_0x5cea5c[_0x5de747(0x228)],this[_0x5de747(0x1bc)]())[_0x5de747(0x2b4)]();return Promise[_0x5de747(0x478)](_0x1d2d26);}return Promise[_0x5de747(0x262)](_0x5cea5c['error']);}catch(_0x5c1f37){return Promise[_0x5de747(0x262)](_0x5c1f37);}}async[_0xf4019d(0x351)](_0xd45c7c){var _0x403ca7=_0xf4019d;let _0x3efcf5='';if(!ln[_0x403ca7(0x22a)](_0xd45c7c[_0x403ca7(0x4f6)]))return this[_0x403ca7(0x31d)](),Promise[_0x403ca7(0x262)](new Error(z['ImageUploadStatusType'][_0x403ca7(0x453)]));if(_0xd45c7c['size']>un)return this[_0x403ca7(0x31d)](),Promise['reject'](new Error(z[_0x403ca7(0x3ab)][_0x403ca7(0x2e1)]));try{const _0x194b14=new FormData();_0x194b14[_0x403ca7(0x485)](_0x403ca7(0x35e),_0xd45c7c);const _0x465b8a=this[_0x403ca7(0x261)][_0x403ca7(0x1a5)](),_0x5e26e4=_0x465b8a==null?void 0x0:_0x465b8a[_0x403ca7(0x240)]();if(!_0x5e26e4)throw new Error('unitId\x20is\x20not\x20found');const _0x267949=this['_getUploadFileURL']()+_0x403ca7(0x1af)+_0xd45c7c[_0x403ca7(0x27e)][_0x403ca7(0x2b4)]()+'&source='+Et[_0x403ca7(0x1d5)]+_0x403ca7(0x2bb)+encodeURIComponent(_0x5e26e4),_0x3007bc={'body':_0x194b14},_0x203a4d=(await this[_0x403ca7(0x2b5)][_0x403ca7(0x516)](_0x267949,_0x3007bc))['body'];if(typeof _0x203a4d[_0x403ca7(0x417)]!=_0x403ca7(0x1cd))return this[_0x403ca7(0x31d)](),Promise[_0x403ca7(0x262)](new Error(z[_0x403ca7(0x3ab)]['ERROR_IMAGE']));_0x3efcf5=_0x203a4d[_0x403ca7(0x417)];}catch{return this['_decreaseWaiting'](),Promise[_0x403ca7(0x262)](new Error(z[_0x403ca7(0x3ab)][_0x403ca7(0x22f)]));}return new Promise((_0x2c66cb,_0x20a477)=>{var _0x597185=_0x403ca7;const _0x339129=new FileReader();_0x339129['readAsDataURL'](_0xd45c7c),_0x339129[_0x597185(0x24b)]=_0x4d1a60=>{var _0x2eed7d=_0x597185,_0x571c09;const _0x559b63=(_0x571c09=_0x4d1a60[_0x2eed7d(0x3ed)])==null?void 0x0:_0x571c09[_0x2eed7d(0x467)];if(_0x559b63==null){this[_0x2eed7d(0x31d)](),_0x20a477(new Error(z['ImageUploadStatusType'][_0x2eed7d(0x22f)]));return;}const _0x578580=a[_0x2eed7d(0x4c7)]['generateRandomId'](0x6);_0x2c66cb({'imageId':_0x578580,'imageSourceType':z['ImageSourceType'][_0x2eed7d(0x236)],'source':_0x3efcf5,'base64Cache':_0x559b63,'status':z[_0x2eed7d(0x3ab)][_0x2eed7d(0x2aa)]}),this[_0x2eed7d(0x31d)]();};});}[_0xf4019d(0x1d9)](){var _0x2f36de=_0xf4019d,_0x2c7345,_0x1fb82e;const _0x4fa821=this[_0x2f36de(0x3aa)][_0x2f36de(0x42e)](dn),_0x574f8b=this[_0x2f36de(0x3aa)]['getConfig'](K);return(_0x1fb82e=(_0x2c7345=_0x574f8b==null?void 0x0:_0x574f8b[_0x2f36de(0x204)])!=null?_0x2c7345:_0x4fa821)!=null?_0x1fb82e:vn;}[_0xf4019d(0x480)](){var _0x3004a3=_0xf4019d,_0xa8752f,_0x50e213;const _0x20cb0d=this[_0x3004a3(0x3aa)][_0x3004a3(0x42e)](Sn),_0x80b906=this[_0x3004a3(0x3aa)]['getConfig'](K);return(_0x50e213=(_0xa8752f=_0x80b906==null?void 0x0:_0x80b906['signUrlServerUrl'])!=null?_0xa8752f:_0x20cb0d)!=null?_0x50e213:fn;}['_getDownloadEndpointURL'](){var _0x3f222a=_0xf4019d,_0x2b853e;const _0x1fbd74=this[_0x3f222a(0x3aa)][_0x3f222a(0x42e)](K);return(_0x2b853e=_0x1fbd74==null?void 0x0:_0x1fbd74[_0x3f222a(0x3f1)])!=null?_0x2b853e:location[_0x3f222a(0x3d2)];}['_replaceFileID'](_0x674bec,_0xe1a00a){var _0x5ef640=_0xf4019d;return _0x674bec[_0x5ef640(0x3f7)](_0x5ef640(0x22e),_0xe1a00a);}[_0xf4019d(0x31d)](){var _0xd52b82=_0xf4019d;this[_0xd52b82(0x487)]-=0x1,this[_0xd52b82(0x1c6)]['next'](this[_0xd52b82(0x487)]);}},exports['CollaborationImageIoService']=_n([Le(0x0,a[_0xf4019d(0x404)](Y['HTTPService'])),Le(0x1,a[_0xf4019d(0x4f2)]),Le(0x2,a[_0xf4019d(0x404)](a['IUniverInstanceService']))],exports[_0xf4019d(0x41c)]);var pn=Object[_0xf4019d(0x341)],In=(_0x25b6ed,_0x4369d1,_0x395c59,_0x5c64ea)=>{var _0x9114ff=_0xf4019d;for(var _0x5a2f3d=_0x5c64ea>0x1?void 0x0:_0x5c64ea?pn(_0x4369d1,_0x395c59):_0x4369d1,_0xfa18c=_0x25b6ed[_0x9114ff(0x20b)]-0x1,_0x51ed00;_0xfa18c>=0x0;_0xfa18c--)(_0x51ed00=_0x25b6ed[_0xfa18c])&&(_0x5a2f3d=_0x51ed00(_0x5a2f3d)||_0x5a2f3d);return _0x5a2f3d;},at=(_0x46482b,_0x4541a9)=>(_0x4fa959,_0x442491)=>_0x4541a9(_0x4fa959,_0x442491,_0x46482b);const gn=_0xf4019d(0x410);exports[_0xf4019d(0x1c5)]=class{constructor(_0x4a6172,_0x35c51e){var _0x5efa2d=_0xf4019d;this['_configService']=_0x4a6172,this[_0x5efa2d(0x4c1)]=_0x35c51e;}[_0xf4019d(0x20a)](){var _0x1e7469=_0xf4019d,_0x42fa9f,_0x832cfd;const _0x9c05a4=this[_0x1e7469(0x3aa)][_0x1e7469(0x42e)](Ve),_0x34c495=this[_0x1e7469(0x3aa)][_0x1e7469(0x42e)](K);return(_0x832cfd=(_0x42fa9f=_0x34c495==null?void 0x0:_0x34c495['authzUrl'])!=null?_0x42fa9f:_0x9c05a4)!=null?_0x832cfd:gn;}async[_0xf4019d(0x34c)](_0x201f5a){var _0x421941=_0xf4019d;const _0x50e20a=this[_0x421941(0x20a)]()+'/collaborator';return{'list':[{'title':_0x421941(0x387),'mentions':(await this[_0x421941(0x4c1)][_0x421941(0x1fc)](_0x50e20a,{'params':{'objectID':_0x201f5a[_0x421941(0x388)],'unitID':_0x201f5a['unitId']}}))[_0x421941(0x1ed)][_0x421941(0x301)][_0x421941(0x253)](_0x2101c4=>({'objectId':_0x2101c4['id'],'name':_0x2101c4[_0x421941(0x4a1)][_0x421941(0x452)],'metadata':{'icon':_0x2101c4['subject'][_0x421941(0x450)]},'label':_0x2101c4[_0x421941(0x4a1)][_0x421941(0x452)],'objectType':a[_0x421941(0x334)][_0x421941(0x205)]})),'metadata':{},'type':a[_0x421941(0x334)][_0x421941(0x205)]}]};}},exports['MentionIoHttpService']=In([at(0x0,a['Inject'](a[_0xf4019d(0x4f2)])),at(0x1,a['Inject'](Y[_0xf4019d(0x4ad)]))],exports[_0xf4019d(0x1c5)]);var En=Object['getOwnPropertyDescriptor'],mn=(_0x7a2398,_0x229737,_0x4ce784,_0x18bf07)=>{var _0x117443=_0xf4019d;for(var _0x1c848e=_0x18bf07>0x1?void 0x0:_0x18bf07?En(_0x229737,_0x4ce784):_0x229737,_0x453812=_0x7a2398[_0x117443(0x20b)]-0x1,_0x5a9220;_0x453812>=0x0;_0x453812--)(_0x5a9220=_0x7a2398[_0x453812])&&(_0x1c848e=_0x5a9220(_0x1c848e)||_0x1c848e);return _0x1c848e;},le=(_0x1cb50d,_0x3ae16f)=>(_0x154fd7,_0x2d938d)=>_0x3ae16f(_0x154fd7,_0x2d938d,_0x1cb50d);let Ue=class extends a['RxDisposable']{constructor(_0x2bd5f4,_0x8c1e4d,_0x9872f2,_0x31d6f2,_0xe22b63){var _0x41441a=_0xf4019d;super(),this[_0x41441a(0x513)]=_0x2bd5f4,this[_0x41441a(0x261)]=_0x8c1e4d,this[_0x41441a(0x1da)]=_0x9872f2,this[_0x41441a(0x1ff)]=_0x31d6f2,this[_0x41441a(0x3bf)]=_0xe22b63,this['_initUnitPermissionChange'](),this[_0x41441a(0x23b)]();}['_initCloseConn'](){var _0x1995b9=_0xf4019d;const _0x4f6d59=async _0x3c2e9d=>{var _0x1c1fca=_0x3525;(await this['_collaborationSessionService'][_0x1c1fca(0x391)](_0x3c2e9d))[_0x1c1fca(0x1ca)][_0x1c1fca(0x25e)](V['filter'](_0x64998d=>_0x64998d[_0x1c1fca(0x2cc)]===I[_0x1c1fca(0x21b)]['SHOULD_CLOSE_CONN']),V[_0x1c1fca(0x4c5)](this[_0x1c1fca(0x4af)]))['subscribe'](_0x567264=>{var _0x2e2be3=_0x1c1fca;const _0x94c432=_0x567264,{reason:_0x1237aa}=_0x94c432[_0x2e2be3(0x3c4)];this[_0x2e2be3(0x3bf)][_0x2e2be3(0x32a)]({'id':Z[_0x2e2be3(0x21d)],'data':_0x1237aa}),this['_permissionService'][_0x2e2be3(0x4cc)](new X[(_0x2e2be3(0x298))](_0x3c2e9d)['id'],!0x1),this[_0x2e2be3(0x1ff)][_0x2e2be3(0x1a7)](_0x3c2e9d);});};$[_0x1995b9(0x41e)](this[_0x1995b9(0x261)][_0x1995b9(0x382)](a[_0x1995b9(0x4c0)][_0x1995b9(0x2a8)]),this[_0x1995b9(0x261)][_0x1995b9(0x382)](a[_0x1995b9(0x4c0)]['UNIVER_DOC']))[_0x1995b9(0x25e)](V[_0x1995b9(0x253)](_0x39b9c0=>_0x39b9c0[_0x1995b9(0x240)]()),V[_0x1995b9(0x271)](_0x2dd65a=>!a['isInternalEditorID'](_0x2dd65a)),V[_0x1995b9(0x4c5)](this['dispose$']))[_0x1995b9(0x307)](_0x4321a8=>{_0x4f6d59(_0x4321a8);});}['_initUnitPermissionChange'](){var _0x111279=_0xf4019d;const _0x3d805e=async _0x6c1059=>{var _0x296396=_0x3525;const _0x308e95=await this[_0x296396(0x1ff)][_0x296396(0x391)](_0x6c1059),_0x263b9c=this[_0x296396(0x513)]['get'](X[_0x296396(0x366)]);_0x308e95[_0x296396(0x1ca)][_0x296396(0x25e)](V[_0x296396(0x271)](_0x46f42c=>_0x46f42c[_0x296396(0x2cc)]===I[_0x296396(0x21b)]['UPDATE_PERMISSION_OBJ']),V[_0x296396(0x4c5)](this['dispose$']))['subscribe'](_0x34fcdd=>{var _0xeecf0b=_0x296396;const _0xfeaf27=_0x34fcdd,{objectId:_0xac8a6b}=_0xfeaf27[_0xeecf0b(0x3c4)];_0xac8a6b===_0x6c1059?_0x263b9c[_0xeecf0b(0x424)](_0x6c1059):_0x263b9c[_0xeecf0b(0x2fe)](_0x6c1059,_0xac8a6b);});};$['merge'](this[_0x111279(0x261)][_0x111279(0x382)](a[_0x111279(0x4c0)][_0x111279(0x2a8)]))['pipe'](V[_0x111279(0x253)](_0x394792=>_0x394792[_0x111279(0x240)]()),V[_0x111279(0x271)](_0x18c0e8=>!a[_0x111279(0x3a8)](_0x18c0e8)),V[_0x111279(0x4c5)](this[_0x111279(0x4af)]))[_0x111279(0x307)](_0x362861=>{_0x3d805e(_0x362861);});}};Ue=mn([le(0x0,a[_0xf4019d(0x404)](a['Injector'])),le(0x1,a[_0xf4019d(0x2d9)]),le(0x2,a[_0xf4019d(0x471)]),le(0x3,a[_0xf4019d(0x404)](exports[_0xf4019d(0x4c6)])),le(0x4,a[_0xf4019d(0x404)](ee))],Ue);var Cn=Object['getOwnPropertyDescriptor'],Tn=(_0x29991e,_0x2b656d,_0x523ef0,_0x40985d)=>{var _0x3f6b0f=_0xf4019d;for(var _0x1a68f8=_0x40985d>0x1?void 0x0:_0x40985d?Cn(_0x2b656d,_0x523ef0):_0x2b656d,_0x4fdcf1=_0x29991e[_0x3f6b0f(0x20b)]-0x1,_0x4c9221;_0x4fdcf1>=0x0;_0x4fdcf1--)(_0x4c9221=_0x29991e[_0x4fdcf1])&&(_0x1a68f8=_0x4c9221(_0x1a68f8)||_0x1a68f8);return _0x1a68f8;},ct=(_0x13f98a,_0x524359)=>(_0x138b18,_0x190adf)=>_0x524359(_0x138b18,_0x190adf,_0x13f98a);exports['SnapshotServerOverHTTPService']=class{constructor(_0x28c030,_0x4c2de7){var _0x55a8bf=_0xf4019d;this[_0x55a8bf(0x3aa)]=_0x28c030,this[_0x55a8bf(0x2b5)]=_0x4c2de7;}async[_0xf4019d(0x273)](_0x3d9e51,_0x3eb057){var _0x3a67bf=_0xf4019d,_0xb7e193;const {unitID:_0x53f47d,type:_0x45764b,revision:_0x4b17d4=0x0}=_0x3eb057,_0x3af390=this[_0x3a67bf(0x35d)]()+'/'+_0x45764b+_0x3a67bf(0x4ed)+_0x53f47d+_0x3a67bf(0x237)+_0x4b17d4,_0x30df72=(await this[_0x3a67bf(0x2b5)]['get'](_0x3af390))['body'],_0xb982e4=(_0xb7e193=_0x30df72[_0x3a67bf(0x4a8)])==null?void 0x0:_0xb7e193[_0x3a67bf(0x225)];if(_0xb982e4){const _0x21d4fb=_0xb982e4==null?void 0x0:_0xb982e4['originalMeta'],_0x3adf07=I[_0x3a67bf(0x20f)][_0x3a67bf(0x2fa)](I['b64DecodeUnicode'](_0x21d4fb));_0xb982e4[_0x3a67bf(0x1f6)]=_0x3adf07,Object['entries'](_0xb982e4[_0x3a67bf(0x26a)])[_0x3a67bf(0x229)](([,_0x3dd744])=>{var _0x222296=_0x3a67bf;const _0x47c178=_0x3dd744[_0x222296(0x1f6)],_0x36a280=I[_0x222296(0x20f)][_0x222296(0x2fa)](I[_0x222296(0x36a)](_0x47c178));_0x3dd744['originalMeta']=_0x36a280;});}return _0x30df72;}async[_0xf4019d(0x3bb)](_0x51537c,_0x2ec9f7){var _0x2b9e93=_0xf4019d;const {unitID:_0x48dffd,type:_0x240293,blockID:_0x2b72e6}=_0x2ec9f7,_0x10be36=this['_getAPIPrefix']()+'/'+_0x240293+_0x2b9e93(0x4ed)+_0x48dffd+_0x2b9e93(0x412)+_0x2b72e6;return(await this[_0x2b9e93(0x2b5)]['get'](_0x10be36))['body'];}async[_0xf4019d(0x3e2)](_0x18827a,_0x141803){var _0x43495d=_0xf4019d;const {unitID:_0x5f3431,type:_0x13207a,blockID:_0x2e3585}=_0x141803,_0x3968e9=this[_0x43495d(0x493)]()+_0x43495d(0x412)+_0x13207a+_0x43495d(0x4ed)+_0x5f3431+_0x43495d(0x412)+_0x2e3585;return(await this[_0x43495d(0x2b5)][_0x43495d(0x1fc)](_0x3968e9))['body'];}async[_0xf4019d(0x2d1)](_0x148f95,_0x51adf9){var _0x1624f6=_0xf4019d;const {unitID:_0x242299,type:_0x33ca87,from:_0x201e1c,to:_0x15dd21}=_0x51adf9,_0x430114=this[_0x1624f6(0x493)]()+'/'+_0x33ca87+_0x1624f6(0x4ed)+_0x242299+_0x1624f6(0x40e)+_0x201e1c+'&to='+_0x15dd21;return(await this[_0x1624f6(0x2b5)][_0x1624f6(0x1fc)](_0x430114))[_0x1624f6(0x1ed)];}['getSnapshotAPIPath'](){var _0x5d6cac=_0xf4019d,_0xbf8d02;return(_0xbf8d02=this[_0x5d6cac(0x3aa)][_0x5d6cac(0x42e)](lt))!=null?_0xbf8d02:this[_0x5d6cac(0x493)]();}[_0xf4019d(0x493)](){var _0x2c01aa=_0xf4019d,_0x30eb6e,_0x2bad41;const _0x138d41=this[_0x2c01aa(0x3aa)]['getConfig'](_t),_0x1aea81=this[_0x2c01aa(0x3aa)][_0x2c01aa(0x42e)](K);return(_0x2bad41=(_0x30eb6e=_0x1aea81==null?void 0x0:_0x1aea81['snapshotServerUrl'])!=null?_0x30eb6e:_0x138d41)!=null?_0x2bad41:Lt;}async['getResourcesRequest'](_0x1b67a8,_0x3e0e76){var _0x10db3b=_0xf4019d;const _0x549208='/universer-api/snapshot/'+_0x3e0e76['type']+_0x10db3b(0x4ed)+_0x3e0e76['unitID']+_0x10db3b(0x3e8);return(await this[_0x10db3b(0x2b5)][_0x10db3b(0x1fc)](_0x549208,{'params':{'resourceId':JSON[_0x10db3b(0x1f7)](_0x3e0e76[_0x10db3b(0x47b)])}}))[_0x10db3b(0x1ed)];}['saveSnapshot'](){var _0x414863=_0xf4019d;throw new Error(_0x414863(0x218));}['updateSnapshot'](){var _0x5acc6b=_0xf4019d;throw new Error(_0x5acc6b(0x218));}['saveSheetBlock'](){var _0x44e879=_0xf4019d;throw new Error(_0x44e879(0x218));}[_0xf4019d(0x25b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xf4019d(0x1f5)](){var _0x424e80=_0xf4019d;throw new Error(_0x424e80(0x218));}},exports['SnapshotServerOverHTTPService']=Tn([ct(0x0,a[_0xf4019d(0x4f2)]),ct(0x1,a[_0xf4019d(0x404)](Y[_0xf4019d(0x4ad)]))],exports[_0xf4019d(0x50b)]);var bn=Object[_0xf4019d(0x341)],Rn=(_0x728a37,_0x518c9e,_0x450d20,_0x5ea8bd)=>{var _0x5284c6=_0xf4019d;for(var _0xed210e=_0x5ea8bd>0x1?void 0x0:_0x5ea8bd?bn(_0x518c9e,_0x450d20):_0x518c9e,_0x18f3fe=_0x728a37[_0x5284c6(0x20b)]-0x1,_0x369f52;_0x18f3fe>=0x0;_0x18f3fe--)(_0x369f52=_0x728a37[_0x18f3fe])&&(_0xed210e=_0x369f52(_0xed210e)||_0xed210e);return _0xed210e;},ue=(_0x34a7c8,_0x36489f)=>(_0x21c182,_0x38b339)=>_0x36489f(_0x21c182,_0x38b339,_0x34a7c8);exports[_0xf4019d(0x3b5)]=class extends a[_0xf4019d(0x4be)]{constructor(_0x44423e,_0x10f722,_0x2a37a5,_0x254042,_0x20d787){var _0x35fa39=_0xf4019d;super(_0x44423e,_0x10f722,_0x2a37a5),this[_0x35fa39(0x2ec)]=_0x254042,this[_0x35fa39(0x369)]=_0x20d787;}['transformUndoRedo'](_0x3b7dbc,_0x422353){var _0x6d52c9=_0xf4019d;const _0x120bce=this[_0x6d52c9(0x29c)](_0x3b7dbc);if(_0x120bce)try{const _0x1ccc64=this['_transformStack'](_0x120bce,_0x422353);this['_substituteUndoStack'](_0x3b7dbc,_0x1ccc64);}catch(_0x51b64f){this[_0x6d52c9(0x369)][_0x6d52c9(0x4b8)](_0x6d52c9(0x1dc),_0x51b64f),this[_0x6d52c9(0x49f)](_0x3b7dbc);}const _0x2520ad=this[_0x6d52c9(0x4e5)](_0x3b7dbc);if(_0x2520ad)try{const _0xfd77b6=this[_0x6d52c9(0x32b)](_0x2520ad,_0x422353);this[_0x6d52c9(0x321)](_0x3b7dbc,_0xfd77b6);}catch(_0x5b50dc){this[_0x6d52c9(0x369)][_0x6d52c9(0x4b8)](_0x5b50dc),this[_0x6d52c9(0x3be)](_0x3b7dbc);}}[_0xf4019d(0x49f)](_0x1ec733){var _0x55f2fe=_0xf4019d;const _0xc306f2=this[_0x55f2fe(0x29c)](_0x1ec733);_0xc306f2&&(_0xc306f2[_0x55f2fe(0x20b)]=0x0,this[_0x55f2fe(0x486)]());}[_0xf4019d(0x3be)](_0x351a7c){var _0x42fdfa=_0xf4019d;const _0x3ea416=this['_getRedoStack'](_0x351a7c);_0x3ea416&&(_0x3ea416['length']=0x0,this[_0x42fdfa(0x486)]());}['_substituteUndoStack'](_0x37c49d,_0xecd897){var _0x2732f2=_0xf4019d;this[_0x2732f2(0x380)]['set'](_0x37c49d,_0xecd897),this[_0x2732f2(0x486)]();}[_0xf4019d(0x321)](_0x309cbc,_0x1e541e){var _0x4bea29=_0xf4019d;this[_0x4bea29(0x31c)][_0x4bea29(0x214)](_0x309cbc,_0x1e541e),this[_0x4bea29(0x486)]();}[_0xf4019d(0x32b)](_0x2cfaca,_0x2322be){var _0x2a1c25=_0xf4019d;const _0x4f63bc=[];let _0x2c1add=_0x2322be,_0x464fe1=_0x2322be;for(let _0x3eed85=_0x2cfaca[_0x2a1c25(0x20b)]-0x1;_0x3eed85>=0x0;_0x3eed85--){const {unitID:_0x47350f,undoMutations:_0x135b69,redoMutations:_0x571440}=_0x2cfaca[_0x3eed85],_0x4a5023=this[_0x2a1c25(0x2ec)]['transformMutationsWithChangeset'](_0x2c1add,_0x135b69),_0x1df203=this[_0x2a1c25(0x2ec)][_0x2a1c25(0x400)](_0x464fe1,_0x571440);if(I[_0x2a1c25(0x2bc)](_0x4a5023)||I[_0x2a1c25(0x2bc)](_0x1df203)){this[_0x2a1c25(0x369)]['error'](_0x2a1c25(0x1dc),'transformStack\x20failed!',_0x4a5023,_0x1df203);break;}_0x2c1add=_0x4a5023[_0x2a1c25(0x4f8)],_0x464fe1=_0x1df203[_0x2a1c25(0x4f8)],_0x4f63bc['push']({'unitID':_0x47350f,'undoMutations':_0x4a5023[_0x2a1c25(0x30d)],'redoMutations':_0x1df203[_0x2a1c25(0x30d)]});}return _0x4f63bc[_0x2a1c25(0x2c9)]();}},exports[_0xf4019d(0x3b5)]=Rn([ue(0x0,a[_0xf4019d(0x2d9)]),ue(0x1,a[_0xf4019d(0x37e)]),ue(0x2,a[_0xf4019d(0x3e6)]),ue(0x3,I['ITransformService']),ue(0x4,a['ILogService'])],exports[_0xf4019d(0x3b5)]);var On=Object[_0xf4019d(0x3f0)],yn=Object['getOwnPropertyDescriptor'],Nn=(_0x3348af,_0x21a3c8,_0x2ba1ce)=>_0x21a3c8 in _0x3348af?On(_0x3348af,_0x21a3c8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ba1ce}):_0x3348af[_0x21a3c8]=_0x2ba1ce,Un=(_0x3bb846,_0x24d71b,_0x4b9de7,_0x25b866)=>{var _0x5a0bb6=_0xf4019d;for(var _0xf61c29=_0x25b866>0x1?void 0x0:_0x25b866?yn(_0x24d71b,_0x4b9de7):_0x24d71b,_0x34caf3=_0x3bb846[_0x5a0bb6(0x20b)]-0x1,_0x465da2;_0x34caf3>=0x0;_0x34caf3--)(_0x465da2=_0x3bb846[_0x34caf3])&&(_0xf61c29=_0x465da2(_0xf61c29)||_0xf61c29);return _0xf61c29;},Me=(_0x148587,_0x1d8b67)=>(_0x7bfbb,_0x407929)=>_0x1d8b67(_0x7bfbb,_0x407929,_0x148587),Dn=(_0x4272ca,_0x386b6a,_0x9048e2)=>Nn(_0x4272ca,_0x386b6a+'',_0x9048e2);const An=_0xf4019d(0x426);exports[_0xf4019d(0x353)]=class extends a[_0xf4019d(0x2a9)]{constructor(_0x5eafe8,_0x16c035,_0x1d4ba3,_0x894dee){var _0x52a7ae=_0xf4019d;super(),A(this,'_config'),(this[_0x52a7ae(0x369)]=_0x16c035,this['_injector']=_0x1d4ba3,this[_0x52a7ae(0x3aa)]=_0x894dee);const {..._0x2fef8b}=a[_0x52a7ae(0x41e)]({},Yt,_0x5eafe8);if(!_0x2fef8b[_0x52a7ae(0x3cf)])throw new Error(_0x52a7ae(0x291));this[_0x52a7ae(0x3a7)]=_0x2fef8b,this[_0x52a7ae(0x3aa)][_0x52a7ae(0x32c)](K,_0x2fef8b);}[_0xf4019d(0x3b2)](){var _0x115f52=_0xf4019d;this['_registerDependencies'](),this[_0x115f52(0x430)]();}[_0xf4019d(0x22c)](){var _0x1cd586=_0xf4019d,_0x272d31,_0x29febe;this['_injector'][_0x1cd586(0x42a)](a[_0x1cd586(0x1a4)])&&this[_0x1cd586(0x369)][_0x1cd586(0x4b8)](_0x1cd586(0x348),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x5a7572=a['mergeOverrideWithDependencies']([[a[_0x1cd586(0x1a4)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x1cd586(0x4c6)]],[exports['MemberService']],[exports[_0x1cd586(0x3d8)]],[ye],[Ne],[$e],[Ue],[ee],[exports[_0x1cd586(0x47e)]],[He,{'useClass':this[_0x1cd586(0x3a7)][_0x1cd586(0x3cf)]}],[I['ISnapshotServerService'],{'useClass':exports[_0x1cd586(0x50b)]}],[a['IAuthzIoService'],{'useClass':exports[_0x1cd586(0x515)]}],[z[_0x1cd586(0x4ab)],{'useClass':exports[_0x1cd586(0x41c)]}],[a[_0x1cd586(0x468)],{'useClass':exports[_0x1cd586(0x1c5)]}],[exports[_0x1cd586(0x29d)]],[xe]],(_0x272d31=this[_0x1cd586(0x3a7)])==null?void 0x0:_0x272d31[_0x1cd586(0x2b6)]);if(!((_0x29febe=this[_0x1cd586(0x3a7)])!=null&&_0x29febe[_0x1cd586(0x23d)])){const _0x13b42f=_0x5a7572['findIndex'](([_0x4eca43])=>_0x4eca43===de);_0x13b42f!==-0x1&&_0x5a7572[_0x1cd586(0x335)](_0x13b42f,0x1);}a[_0x1cd586(0x423)](this['_injector'],_0x5a7572);}[_0xf4019d(0x430)](){var _0x145885=_0xf4019d,_0x1e9827,_0x420ab8,_0x2c9575;this[_0x145885(0x513)][_0x145885(0x1fc)](Y['HTTPService'])[_0x145885(0x497)]({'priority':0x14,'interceptor':Y[_0x145885(0x37c)]({'maxParallel':0x6})}),(_0x1e9827=this[_0x145885(0x3a7)])!=null&&_0x1e9827[_0x145885(0x2ea)]||(_0x420ab8=this[_0x145885(0x513)][_0x145885(0x1fc)](q,a['Quantity']['OPTIONAL']))==null||_0x420ab8['disableLocalCache'](),(_0x2c9575=this[_0x145885(0x3a7)])!=null&&_0x2c9575[_0x145885(0x293)]&&a['touchDependencies'](this[_0x145885(0x513)],[[ye]]),a[_0x145885(0x428)](this[_0x145885(0x513)],[[Ne],[exports[_0x145885(0x29d)]],[Ue]]);}},Dn(exports[_0xf4019d(0x353)],'pluginName',An),exports[_0xf4019d(0x353)]=Un([a['DependentOn'](I[_0xf4019d(0x4e6)],Y[_0xf4019d(0x379)]),Me(0x1,a[_0xf4019d(0x2f2)]),Me(0x2,a[_0xf4019d(0x404)](a[_0xf4019d(0x347)])),Me(0x3,a[_0xf4019d(0x4f2)])],exports[_0xf4019d(0x353)]),exports[_0xf4019d(0x4f3)]=Ve,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=K,exports[_0xf4019d(0x284)]=pt,exports[_0xf4019d(0x3e1)]=ut,exports[_0xf4019d(0x418)]=Be,exports['CollaborationUIEventId']=Z,exports[_0xf4019d(0x3fd)]=ee,exports[_0xf4019d(0x3d1)]=$e,exports[_0xf4019d(0x1e6)]=dt,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=Kt,exports[_0xf4019d(0x43b)]=kt,exports['HEARTBEAT_INTERVAL_KEY']=vt,exports[_0xf4019d(0x238)]=ke,exports[_0xf4019d(0x1ee)]=He,exports[_0xf4019d(0x463)]=q,exports[_0xf4019d(0x1b3)]=mt,exports[_0xf4019d(0x2ce)]=de,exports['LOCAL_CACHE_INTERVAL']=Ft,exports['LOCAL_CACHE_INTERVAL_KEY']=Bt,exports[_0xf4019d(0x2c2)]=It,exports[_0xf4019d(0x352)]=Gt,exports[_0xf4019d(0x2a7)]=ft,exports[_0xf4019d(0x3bd)]=Mt,exports[_0xf4019d(0x24c)]=_t,exports[_0xf4019d(0x29f)]=lt,exports[_0xf4019d(0x202)]=re,exports[_0xf4019d(0x1ef)]=je,exports[_0xf4019d(0x320)]=Ct,exports[_0xf4019d(0x4e9)]=oi,exports[_0xf4019d(0x243)]=Tt;
1
+ 'use strict';var _0x5d9338=_0x4a4a;(function(_0x5d9b5f,_0x58f99d){var _0x38e5cb=_0x4a4a,_0x4bd4de=_0x5d9b5f();while(!![]){try{var _0x3e78ad=parseInt(_0x38e5cb(0x466))/0x1+-parseInt(_0x38e5cb(0x434))/0x2+parseInt(_0x38e5cb(0x38f))/0x3+-parseInt(_0x38e5cb(0x321))/0x4*(-parseInt(_0x38e5cb(0x14d))/0x5)+parseInt(_0x38e5cb(0x329))/0x6+-parseInt(_0x38e5cb(0x23a))/0x7+-parseInt(_0x38e5cb(0x183))/0x8;if(_0x3e78ad===_0x58f99d)break;else _0x4bd4de['push'](_0x4bd4de['shift']());}catch(_0x26ab1b){_0x4bd4de['push'](_0x4bd4de['shift']());}}}(_0x96fe,0xdf9ac));var Dt=Object['defineProperty'],At=(_0x2fd2af,_0x5d0292,_0x53ea83)=>_0x5d0292 in _0x2fd2af?Dt(_0x2fd2af,_0x5d0292,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53ea83}):_0x2fd2af[_0x5d0292]=_0x53ea83,A=(_0x37cc3d,_0x55ff1b,_0x1cf53a)=>At(_0x37cc3d,typeof _0x55ff1b!='symbol'?_0x55ff1b+'':_0x55ff1b,_0x1cf53a);Object['defineProperty'](exports,Symbol[_0x5d9338(0x16e)],{'value':'Module'});const a=require(_0x5d9338(0x426)),$=require(_0x5d9338(0x42d)),V=require('rxjs/operators'),I=require(_0x5d9338(0x14b)),Y=require(_0x5d9338(0x16a)),Pt=require(_0x5d9338(0x111)),ht=require('@univerjs/docs'),X=require(_0x5d9338(0x264)),z=require('@univerjs/drawing'),wt=require('@univerjs-pro/license'),_t=_0x5d9338(0x419),Lt=_0x5d9338(0x2ee),lt=_0x5d9338(0x428),Mt=_0x5d9338(0x233),xt=0x7d0,ut=_0x5d9338(0x13a),dt=_0x5d9338(0x166),kt='/universer-api/user/session-ticket',vt=_0x5d9338(0x409),Ht=0x7530,ke='HEARTBEAT_TIMEOUT',St=0x4e20,$t=0x4e20,ft=_0x5d9338(0x408),jt=0x3,Bt=_0x5d9338(0x37c),Ft=0x3e8,pt=_0x5d9338(0x3a9),Vt=_0x5d9338(0x24c),It=_0x5d9338(0x119),Wt=_0x5d9338(0x20a),Gt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Kt=_0x5d9338(0x2ef);var gt=(_0x34ec4e=>(_0x34ec4e[_0x34ec4e[_0x5d9338(0x180)]=0x0]='UNDEFINED',_0x34ec4e[_0x34ec4e['OK']=0x1]='OK',_0x34ec4e[_0x34ec4e[_0x5d9338(0x262)]=0x2]=_0x5d9338(0x262),_0x34ec4e[_0x34ec4e[_0x5d9338(0x1d4)]=0x3]=_0x5d9338(0x1d4),_0x34ec4e[_0x34ec4e['NOT_FOUND']=0x4]=_0x5d9338(0x2a6),_0x34ec4e[_0x34ec4e[_0x5d9338(0x393)]=0x5]=_0x5d9338(0x393),_0x34ec4e[_0x34ec4e['ALREADY_EXISTS']=0x6]=_0x5d9338(0x128),_0x34ec4e[_0x34ec4e[_0x5d9338(0x39a)]=0x7]=_0x5d9338(0x39a),_0x34ec4e[_0x34ec4e[_0x5d9338(0x3bd)]=0x8]=_0x5d9338(0x3bd),_0x34ec4e[_0x34ec4e[_0x5d9338(0x394)]=0x9]=_0x5d9338(0x394),_0x34ec4e[_0x34ec4e[_0x5d9338(0x23c)]=0xa]='LOGIN_FAILED',_0x34ec4e[_0x34ec4e[_0x5d9338(0x184)]=0x1389]=_0x5d9338(0x184),_0x34ec4e[_0x34ec4e['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x5d9338(0x23e),_0x34ec4e[_0x34ec4e['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x5d9338(0x29c),_0x34ec4e[_0x34ec4e[_0x5d9338(0x1e7)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x34ec4e[_0x34ec4e['APPLY_REJECT']=0x1b59]=_0x5d9338(0x1f9),_0x34ec4e[_0x34ec4e[_0x5d9338(0x1b5)]=0x1b5a]=_0x5d9338(0x1b5),_0x34ec4e[_0x34ec4e[_0x5d9338(0x11d)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x34ec4e[_0x34ec4e[_0x5d9338(0x3dd)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x34ec4e[_0x34ec4e[_0x5d9338(0x3a0)]=0x1b5d]='APPLY_DUPLICATED',_0x34ec4e[_0x34ec4e[_0x5d9338(0x453)]=0x1f41]=_0x5d9338(0x453),_0x34ec4e[_0x34ec4e[_0x5d9338(0x2e9)]=0x2329]=_0x5d9338(0x2e9),_0x34ec4e[_0x34ec4e[_0x5d9338(0x340)]=0x232a]=_0x5d9338(0x340),_0x34ec4e[_0x34ec4e[_0x5d9338(0x28e)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x34ec4e[_0x34ec4e[_0x5d9338(0x235)]=0x232c]=_0x5d9338(0x235),_0x34ec4e[_0x34ec4e[_0x5d9338(0x432)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x34ec4e[_0x34ec4e[_0x5d9338(0x464)]=0x2711]=_0x5d9338(0x464),_0x34ec4e[_0x34ec4e[_0x5d9338(0x332)]=0x2712]=_0x5d9338(0x332),_0x34ec4e[_0x34ec4e[_0x5d9338(0x24e)]=0x2713]=_0x5d9338(0x24e),_0x34ec4e[_0x34ec4e['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x34ec4e[_0x34ec4e[_0x5d9338(0x27a)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x34ec4e[_0x34ec4e[_0x5d9338(0x100)]=0x271b]=_0x5d9338(0x100),_0x34ec4e[_0x34ec4e[_0x5d9338(0x2cb)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x34ec4e[_0x34ec4e[_0x5d9338(0x3fc)]=0x271d]=_0x5d9338(0x3fc),_0x34ec4e[_0x34ec4e[_0x5d9338(0x212)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x34ec4e[_0x34ec4e[_0x5d9338(0x1c3)]=0x271f]=_0x5d9338(0x1c3),_0x34ec4e[_0x34ec4e[_0x5d9338(0x43a)]=0x2af9]=_0x5d9338(0x43a),_0x34ec4e[_0x34ec4e[_0x5d9338(0x421)]=0x2ee1]=_0x5d9338(0x421),_0x34ec4e[_0x34ec4e['INVALID_INVITE_CODE']=0x2ee2]=_0x5d9338(0x15e),_0x34ec4e[_0x34ec4e[_0x5d9338(0x22e)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x34ec4e[_0x34ec4e[_0x5d9338(0x1b8)]=0x2ee4]=_0x5d9338(0x1b8),_0x34ec4e[_0x34ec4e['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x34ec4e[_0x34ec4e['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5d9338(0x2f0),_0x34ec4e[_0x34ec4e[_0x5d9338(0x200)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x34ec4e[_0x34ec4e[_0x5d9338(0x390)]=0x32cb]=_0x5d9338(0x390),_0x34ec4e[_0x34ec4e[_0x5d9338(0x27d)]=-0x1]=_0x5d9338(0x27d),_0x34ec4e))(gt||{}),J=(_0xa02b0b=>(_0xa02b0b[_0xa02b0b['UNIVER_UNKNOWN']=0x0]=_0x5d9338(0x355),_0xa02b0b[_0xa02b0b['UNIVER_DOC']=0x1]=_0x5d9338(0x2e3),_0xa02b0b[_0xa02b0b[_0x5d9338(0x3f9)]=0x2]=_0x5d9338(0x3f9),_0xa02b0b[_0xa02b0b[_0x5d9338(0x113)]=0x3]=_0x5d9338(0x113),_0xa02b0b[_0xa02b0b[_0x5d9338(0x117)]=0x4]=_0x5d9338(0x117),_0xa02b0b[_0xa02b0b[_0x5d9338(0x27d)]=-0x1]=_0x5d9338(0x27d),_0xa02b0b))(J||{}),W=(_0x575343=>(_0x575343[_0x575343[_0x5d9338(0x2a9)]=0x0]=_0x5d9338(0x2a9),_0x575343[_0x575343[_0x5d9338(0x301)]=0x1]=_0x5d9338(0x301),_0x575343[_0x575343['JOIN']=0x2]=_0x5d9338(0x271),_0x575343[_0x575343['LEAVE']=0x3]=_0x5d9338(0x127),_0x575343[_0x575343[_0x5d9338(0x2b3)]=0x4]='INGEST',_0x575343[_0x575343[_0x5d9338(0x1c7)]=0x5]=_0x5d9338(0x1c7),_0x575343[_0x575343['RECV']=0x6]='RECV',_0x575343[_0x575343[_0x5d9338(0x27d)]=-0x1]='UNRECOGNIZED',_0x575343))(W||{}),oe=(_0x271860=>(_0x271860[_0x271860[_0x5d9338(0x2ce)]=0x0]=_0x5d9338(0x2ce),_0x271860[_0x271860['OK']=0x1]='OK',_0x271860[_0x271860[_0x5d9338(0x2d3)]=0x2]=_0x5d9338(0x2d3),_0x271860[_0x271860[_0x5d9338(0x35a)]=0x3e9]=_0x5d9338(0x35a),_0x271860[_0x271860[_0x5d9338(0x160)]=0x3ea]=_0x5d9338(0x160),_0x271860[_0x271860[_0x5d9338(0x330)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x271860[_0x271860[_0x5d9338(0x198)]=0x3ec]=_0x5d9338(0x198),_0x271860[_0x271860['UNRECOGNIZED']=-0x1]=_0x5d9338(0x27d),_0x271860))(oe||{}),Et=(_0x59fc7f=>(_0x59fc7f[_0x59fc7f[_0x5d9338(0x22a)]=0x0]=_0x5d9338(0x22a),_0x59fc7f[_0x59fc7f[_0x5d9338(0x15c)]=0x1]=_0x5d9338(0x15c),_0x59fc7f[_0x59fc7f[_0x5d9338(0x256)]=0x2]=_0x5d9338(0x256),_0x59fc7f[_0x59fc7f[_0x5d9338(0x152)]=0x3]=_0x5d9338(0x152),_0x59fc7f[_0x59fc7f[_0x5d9338(0x103)]=0x4]=_0x5d9338(0x103),_0x59fc7f[_0x59fc7f[_0x5d9338(0x2c3)]=0x5]=_0x5d9338(0x2c3),_0x59fc7f[_0x59fc7f[_0x5d9338(0x27d)]=-0x1]=_0x5d9338(0x27d),_0x59fc7f))(Et||{});const K='collaboration-client.config',Yt={};var Z=(_0x216220=>(_0x216220[_0x5d9338(0x179)]=_0x5d9338(0x179),_0x216220[_0x5d9338(0x1d4)]=_0x5d9338(0x1d4),_0x216220['CONFLICT']=_0x5d9338(0x194),_0x216220[_0x5d9338(0x143)]=_0x5d9338(0x143),_0x216220[_0x5d9338(0x367)]='JOIN_ROOM_FAILED',_0x216220[_0x5d9338(0x1af)]=_0x5d9338(0x1af),_0x216220[_0x5d9338(0x1a1)]=_0x5d9338(0x1a1),_0x216220[_0x5d9338(0x3db)]=_0x5d9338(0x3db),_0x216220))(Z||{});class ee{constructor(){var _0x183952=_0x5d9338;A(this,_0x183952(0x2cf),new $[(_0x183952(0x41d))]()),A(this,_0x183952(0x3e9),this[_0x183952(0x2cf)][_0x183952(0x203)]());}['emitEvent'](_0x1ea29c){var _0x24543b=_0x5d9338;this[_0x24543b(0x2cf)][_0x24543b(0x1c8)](_0x1ea29c);}}function _0x96fe(){var _0xc10c43=['executeCommand','closeSession','image/jpeg','TOO_MANY_REQUESTS','cmd','fetchMiss','_executeRemoteChangeset','[SyncedState]:\x20received\x20acknowledgement.','_clearScheduledTask','[OfflineState]:\x20received\x20changeset.','HEARTBEAT_INTERVAL_KEY','now','reduce','session.room-permission-denied','WorkbookEditablePermission','getCurrentSelections','_schedule','_applyRemoteChangeset','_getCurrentRevision','_unitID','reset','refreshPermission','_getUndoStack','ITransformService','EmptyMutation','infoRsp','_getCtorByUniverType','Could\x20not\x20dynamically\x20require\x20\x22','mutations','NO_OTHER_CLIENTS_EDITING','UPDATE_PERMISSION_OBJ','_createSocket','[DataLoaderService]','SUBMIT_CHANGESET_TIMEOUT','unitInfo$','APPLY_PERMISSION_DENIED','actions','_resendTimer','status','has','CHANGESET_REJ','rev','_registerDependencies','_initDependencies','snapshotServerUrl','SHA1','_telemetryInfo','event$','ICommandService','message$','_config','ciphertext','ceil','ISocketService','socket$','CommentService','roles','waitForRoom$','catch','_socketMessageSubscription','UniverCollaborationPlugin','reqId','isTransformMutationsWithChangesetFailure','UNIVER_SHEET','IMentionIOService','_transitionLocked','YUUMI_ALL_TABLES_IS_INVALID','decrypt','size','eventID','_getDownloadEndpointURL','OFFLINE','NEW_CHANGESETS','_stopTelemetryCollaborationNewChangeset','target','OpenSSL','encrypt','PERSON','RETRY_CONNECTING_MAX_COUNT','HEARTBEAT_INTERVAL','_scheduleCollaborationTimeoutTimer','exports','_getRedoStack','createInstance','_doFinalize','FileId','IConfigService','OfflineState','_createInitialState','_type','concat','_logService','_exhaustRemoteChangesetQueue','_transformStack','updateSnapshot','SNAPSHOT_SERVER_URL_KEY','_minBufferSize','onTransformRemoteChangesetByStateCache','_imageSourceCache','Subject','_memberService','joinEvent','open$','INVITE_CODE_HAS_BEEN_UES','updatePermissionPoint','Quantity','/collaborator','DEFAULT_FILE_NAME','@univerjs/core','join','SNAPSHOT_URL_KEY','RxDisposable','commentUpdateEvent','session.join-failed','update','rxjs','HmacMD5','COMMENT_UPDATE','max','awaiting','LICENSE_DISTRO_REJECTED','ImageSourceType','1432916tIIHOe','file','onCommandExecuted','SEND_CHANGESET_TIMEOUT_KEY','COMPRESS_MUTATION_SEND','onStateChange','PY_RUNTIME_SCRIPT_ERROR','_getSignURL','failed\x20to\x20apply\x20missed\x20changesets!','get','slice','_sendingTimer','override','enableAuthServer','pauseCollaboration','_snapshotServerService','Base','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_clearTimeoutTimer','parseChangesetToProtocol','SUBMIT_CHANGESET','ThresholdInterceptorFactory','HMAC','onRemoteRetry','msCrypto','Encryptor','localeService','_configService','_substituteRedoStack','listRoles','reverse','CONNECTOR_DATA_TOO_LARGE','sheets','readyForCollab','isArray','m2Prime','onSyncEditingCollabCursor','_collabSessionService','_initMergeInterceptor','socket\x20close','extend','error','filter','touchDependencies','pending','_tryEnsureSocket','/allowed','Tools','YUUMI_UNABLE_LOAD_URL','getFocusedUnit','1410835zGhULw','__creator','getTime','UPDATE_CURSOR','_collaborationPaused','changesets','COLLAB_WEB_SOCKET_URL_KEY','_state','YUUMI_ASYNCIO_CANCELLED','getRoom','saveSnapshot','UnitSnapshot','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','requestParams','charCodeAt','AwaitingState','floor','dispose','_onCombEvent','sin','isTransformMutationsWithChangesetSuccess','image/bmp','fetchThroughInterceptors','snapshot','_createHandler','@univerjs/telemetry','UniverCollaborationClientPlugin','UNIVER_SLIDE','updateOfflineData','Disposable','_collaborationUIEventService','UNIVER_PROJECT','loadSheet','LOGIN_URL_KEY','PasswordBasedCipher','collaboratorID','_iKey','APPLY_REVISION_CONFILICT','Utf8','body','_roomMembers','MemberService','_cipher','getTypeOfUnitDisposed$','interceptor','_disableEditing','debug','LEAVE','ALREADY_EXISTS','_parse','onMissingChangesets','fetch_missing','hasOwnProperty','crypto','SHOULD_CLOSE_CONN','ITelemetryService','CollaborationSession','getMember','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_incrementRevisionNumber','encode','_permissionService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getValue','createDecryptor','_updateLocalCache','COLLAB_WEB_SOCKET_URL','getTypeOfUnitAdded$','_redoStacks','function','onRemoteRej','_clearRedo','_nRounds','getSnapshotAPIPath','delete','CLOSE_ROOM','onTransformState','CollaborationUIEventService','_collaborationSessionService','Malformed\x20UTF-8\x20data','_status$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','readInt32LE','@univerjs-pro/collaboration','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','12665znKlaf','_pendingMutations','_handler','post','code','UnitEmbedded','_append','unknown','_unlockTransition','downloadEndpointUrl','[PendingState]:\x20received\x20rejection.','connection\x20error','loadUnitOfRevision','_updateStatus','DisposableCollection','HttpImport','Inject','INVALID_INVITE_CODE','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','JOIN_ROOM_NOT_EXISTS','\x20to\x20','LocaleService','getCurrentUser','getLatestCsReqIdBySid','data','ws://127.0.0.1:8000/universer-api/comb/connect','PENDING','isTransformChangesetsSuccess','toString','@univerjs/network','_throwTelemetryCollaborationNewChangeset','saveSheetBlock','addHandlerCallback','toStringTag','_collaborationTimeoutTimer','_process','sid','BufferedBlockAlgorithm','hostname','_socketService','onTransformSelections','put','getCurrentRevOfUnit','IPermissionService','OTHER_CLIENT_EDITING','fetching\x20missing\x20changesets\x20from\x20','compose','send','_initRequestHeader','getRandomValues','merge','UNDEFINED','liveShareNewHost','_isPermissionRej','1807008AyQpQp','CHANGESET_REVISION_CONFILICT','ImageUploadStatusType','UnitStatus','ONLINE','AUTHZ_URL_KEY','startsWith','[FetchMissState]','[CollaborationSession]','encodeURIComponent','getMemberID','/-/object/list','_instanceService','MUTATION','_members$','unpad','IUndoRedoService','CONFLICT','SheetsSelectionsService','_init','_state$','GLOBAL_ROOMS_CNT_EXCEEDS','_shouldReportTelemetry','getInterceptPoints','_onOffline','enableOfflineEditing','_toggleOnline','[PendingState]:\x20unhandled\x20univer\x20type:\x20','uploadFileServerUrl','onRemoteChangeset','SOCKET_FAILED','_undoRedoService','toggleOnline','onSendChangeset','encryptBlock','getUnitId','_sender','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','setShowComponents','ERROR_IMAGE_TYPE','LIVESHARE_REQUEST_HOST','sigBytes','_transformRemoteChangesetByStateCache','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','SOCKET_FAILED_RETRY','format','_transformStateCache','_roomCreated$','session','_syncEditingCollabCursor','APPLY_NON_SEQUENTIAL_REVISION','collabSubmitChangesetUrl','getUnitStatus$','USER_NOT_INVITED_CODE','subject','_singleActiveUnitService','collaboration-client.local-cache-service','_startCollaboration','FETCH_MISS','AuthzIoHttpService','stringify','unitID','defineProperty','_rescheduleHeartbeat','YUUMI_AI_RUN_FAILED','range','ReplaySubject','_clearHeartbeatTimer','HEARTBEAT','next','avatar','localCacheService','_changesetReqId','_socket$','_commentUpdate$','objectType','_networkConditionService','_sheetTransformSelectionsService','pipe','[OfflineState]:\x20received\x20rejection.','EvpKDF','PERMISSION_DENIED','[SyncedState]:\x20received\x20rejection.','DEFAULT_COLLAB_WEB_SOCKET_URL','createIdentifier','memberID','_acknowledgedAwaitingChangeset','DocCollaborationEntity','_getAPIPrefix','[OfflineState]:\x20received\x20acknowledgement.','_transformSelections','CHANGESET_SHOULD_RETRY','takeUntil','_onConflict','listCollaborators','BehaviorSubject','csShouldRetryEvent','CollaborationStatus','telemetry\x20info\x20is\x20not\x20initialized','getDeserializedSheetBlock','ENSURE_SNAPSHOT_EXECUTION','readAsDataURL','delay','_keyPriorReset','fromCharCode','/universer-api/authz','IDLE','_listenToNetworkCondition','close$','c1Prime','uuidv4','disableLocalCache','_initCloseConn','every','_joinRoom','buffer','_createHelper','_replaceFileID','APPLY_REJECT','UUID','_waitForHeartbeatResponse','firstValueFrom','_queuedRemoteChangesets','objectID','mapDocumentTypeToUniverType','MOBILE_HAS_BEEN_BOUND','[CollaborationSessionService]','keySize','asObservable','_revisionService','loadOfflineData','push','/block/','_handlerCallback','prototype','/universer-api/oidc/authpage','_socketReady','_injector','min','emitEvent','collaMsg','indexOf','_mode','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_nDataBytes','_replayCachedMutations','SyncedState','RETRY_CONNECTING_MAX_COUNT_KEY','createSocket','CollaborationUIEventId','_clearUndo','complete','from','createCollaborator','c2Prime','_onFetchMissResult','UniverInstanceType','getUnitOnRev','\x20in\x20_schedule.','USERS_ENTER','_emitMembers','list','Hex','CollaborationEvent','PendingState','href','capture','Undefined','Cipher','_onJoinRoomEvent','processBlock','INVITE_CODE_REQUIRED','updateCursorEvent','startTime','image/gif','apply','SEND_CHANGESET_TIMEOUT','_resendTimeout','LICENSE_EXPORT_SIZE_EXCEEDED','splice','hasher','transformMutationsWithChangeset','_onConnectionOpen','3543239ToqlYz','collabWebSocketUrl','LOGIN_FAILED','/-/object/-/batch_allowed','SNAPSHOT_INVALID_SNAPSHOT','PERMISSION_REJ','disposeWithMe','_resendWithTimeout','includes','_getLoginPath','call','CollaborationController','_retryCount','resend','_keySchedule','url','_onUserLeave','incrementRevOfUnit','/universer-api/comb','liveShareOperation','YUUMI_RATE_OVER_LIMIT','blockSize','fromCollab','HTTPService','UniverNetworkPlugin','_getUploadFileURL','getOwnPropertyDescriptor','reject','HttpExport','formatter','offline','_entities','awaitingChangeset','originalMeta','onload','_awaitingChangeset','CipherParams','_onLocalMutation','loginUrlKey','IImageIoService','INTERNAL_ERROR','_ENC_XFORM_MODE','@univerjs/sheets','_decreaseWaiting','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_xformMode','error$','_key','string','[UniverCollaborationClientPlugin]','_clearRetryConnectingTimer','append','toDisposable','salt','_DEC_XFORM_MODE','JOIN','_commandService','CommandType','userID','_map','session.room-full','deepClone','setConfig','_onRemoteRetry','YUUMI_NO_CUBOID_FOR_QUESTION','key','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','UNRECOGNIZED','_userManagerService','socket\x20open.','retryConnectingInterval','getUnitType','editing\x20status\x20changed\x20to','_univerInstanceService','{fileID}','_reverseMap','updatePermissionObjEvent','sequenceExecute','_socket','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','LIVESHARE_OPERATION','_localCacheService','RichTextEditingMutation','updateCollaborator','LICENSE_IMPORT_SIZE_EXCEEDED','RECV','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','decryptBlock','kdf','enc','compute','OTHER_CLIENTS_EDITING','onTransformIME','SessionStatus','confirm','_updateState','mode','_tryReconnect','SNAPSHOT_HAS_BEEN_REMOVED','getSheetId','ivSize','_sessionStatus$','MentionIoHttpService','session.room-not-exists','authzUrl','byteLength','transformUndoRedo','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','NOT_FOUND','_initUnitPermissionChange','location','UNKNOWN_CMD','&to=','CollaborationEntity','transformSelections','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_doReset','updateMember','_invKeySchedule','Hasher','take','INGEST','Error\x20on\x20receiving\x20event','resourceIDs','FETCH_MISSING','BASE64','\x20-\x20','AES','synced','CollaborativeUndoRedoService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','CollaborationImageIoService','_localeService','clear','_HTTPService','isPermissionRej','signUrlServerUrl','UserProfileImg','withCredentials','/object/','onlyLocal','stopTime','_sessions','type','_httpService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','sessionStatus$','_sendHeartbeat','UNKNOWN_CODE','_event$','StreamCipher','randomBytes','_removeRoom','FAIL','members','clamp','_members','_scheduleCompleteTimestamp','add','transformChangesets','CHANGESET_ACK','_waitCount','_remoteChangesetQueue','routeKey','_clearCollaborationTimeoutTimer','onCommentUpdate','_getSendChangesetTimeout','ISnapshotServerService','UNISCRIPT_RUN','UNIVER_DOC','Optional','entries','clone','&source=','_onRemoteChangeset','LICENSE_MAX_UNITS_EXCEEDED','getConfig','CompressMutationService','?size=','lib','/universer-api/snapshot','/universer-api/uniscript','WECHAT_HAS_BEEN_BOUND','DependentOn','serializeCombRequest','RevisionService','reconnect','mergeOverrideWithDependencies','CBC','cfg','length','MergeInterceptorFactory','[CollaborationUndoRedoService]','then','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','SnapshotServerOverHTTPService','IAuthzIoService','registerHTTPInterceptor','unitId','HELLO','MD5','_candidateSocket','HmacSHA1','UserManagerService','_showConflictNotification','_snapshotService','save\x20fail\x20reason\x20is\x20','finalize','params','image/png','AWAITING','SnapshotService','_onRecvEvent','saveImage','_lockTransition','joinRsp','_unitInfo$','charAt','values','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','DataLoaderService','words','dispose$','_getAPIPrefixPath','map','deleteCollaborator','subscribe','/unit/','\x0aAfter:\x20','initWorkbookPermissionChange','padding','316DWxcxD','SheetCollaborationEntity','LOCAL_CACHE_INTERVAL_KEY','POST','Decryptor','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','LIVESHARE_FETCH_OPERATIONS','_compressMutationService','2225448uvZYps','AwaitingWithPendingState','parse','UNIVER_COLLABORATION_CLIENT_PLUGIN','x-univer-host','BlockCipherMode','CollaborationSessionService','JOIN_ROOM_PERMISSION_DENIED','AWAITING_WITH_PENDING','YUUMI_URL_COL_OUT_OF_RANGE','fetchMissingChangesets','default','forEach','conflict','_transformService','unsubscribe','_onMessage','USERS_LEAVE','abs','responseType','headers','toggleOffline','[CollaborationState]:\x20apply\x20error!','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[CollaborationEntity]','_data','Injector','_hash','DEFAULT_WS_SESSION_TICKET_URL','getCollabEntity$','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','COMPRESS_MUTATION_APPLY','revision','_startTelemetryCollaborationNewChangeset','_onConnectionFailed','sendChangesetTimeout','FetchingMissState','_transformUndoredo','onMissedChangesetFetched','_changesetSessionId','_checkMissing','[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.','copyFileMeta','baseRev','UNIVER_UNKNOWN','state','_transformRemoteChangesetByIMECache','getActiveSheet','getLocalCacheKey','JOIN_ROOM_FULL','_onUserJoin','getAllMembers','SheetTransformSelectionsService','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','init','objectActions','setWaitCount','ConflictState','$super','getCollabEntity','create','appendMutation','JOIN_ROOM_FAILED','find','CollaborationSocketService','onTransformRemoteChangesetByIMECache','JOINING','_createHmacHelper','_telemetryService','LIVESHARE_TERMINATE','close','&assign=','univer-pro.collaboration-client.single-active-unit-service','WordArray','LIVESHARE_NEW_HOST','ILogService','Pkcs7','pad','generateRandomId','getResourcesRequest','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','repeat','_doCryptBlock','LOCAL_CACHE_INTERVAL','submit\x20changeset\x20error!','onRemoteAck','result','COLLAB_SUBMIT_CHANGESET_URL_KEY','textRanges','enableSingleActiveInstanceLock','_fetchMissChangesets','removeMember','set','deserializeToCombResponse','_substituteUndoStack','shareReplay','_change$','_hasher','_sendHeartbeatTimer','\x0aCurrent:\x20','_eventService','_createInitialStateImpl','1147635ajYuim','EMAIL_HAS_BEEN_BOUND','Workbook','_retryConnectingTimer','UNAUTHENTICATED','COMPLETION_FINISHED','name','_oKey','IUniverInstanceService','onStarting','status$','INVALID_ARGUMENT','loadUnit','batchAllowed','requireSession','unit-cache-','auth.needGotoLoginAlert','APPLY_DUPLICATED','getSheetBlock','mixIn','getGlobalObject','roomInfos','_entityInit$','replace','ERROR_IMAGE','SetSelectionsOperation','COLLAB_SUBMIT_CHANGESET_URL','random','?url=','_timeoutTimer','collaboration_new_changeset','isInternalEditorID','_prevBlock','selections','_commentService','b64DecodeUnicode','algo','JSONX','socketService','execute','setCurrentUser','_clearLocalCache','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!'];_0x96fe=function(){return _0xc10c43;};return _0x96fe();}const mt=a[_0x5d9338(0x1d7)]('univer-pro.collaboration-client.network-condition.service');function Ct(_0x2fd6d1){var _0x574d9e=_0x5d9338,_0x27fc53,_0x52f3c5,_0xa2c0a,_0x4f80f1,_0x5779b5;const _0x3b0c37=_0x2fd6d1[_0x574d9e(0x165)],_0x41064b=JSON[_0x574d9e(0x32b)](_0x3b0c37);switch(_0x41064b[_0x574d9e(0x3be)]){case W[_0x574d9e(0x1c7)]:case W[_0x574d9e(0x301)]:{const _0x480e5d=_0x41064b[_0x574d9e(0x3d3)];return{..._0x41064b,'data':_0x480e5d,'cmd':_0x41064b[_0x574d9e(0x3be)]};}case W[_0x574d9e(0x271)]:{const _0x301a28=_0x41064b[_0x574d9e(0x311)];return{..._0x41064b,'data':_0x301a28,'cmd':_0x41064b[_0x574d9e(0x3be)]};}case W[_0x574d9e(0x28f)]:{const _0xad17a0=_0x41064b[_0x574d9e(0x20f)];switch(_0xad17a0[_0x574d9e(0x3ff)]){case I[_0x574d9e(0x226)]['PERMISSION_REJ']:return{..._0x41064b,'data':{..._0xad17a0,'data':(_0x27fc53=_0xad17a0['permissionRejEvent'])==null?void 0x0:_0x27fc53['cs']},'cmd':_0x41064b[_0x574d9e(0x3be)]};case I[_0x574d9e(0x226)][_0x574d9e(0x2da)]:return{..._0x41064b,'data':{..._0xad17a0,'data':(_0x52f3c5=_0xad17a0['csAckEvent'])==null?void 0x0:_0x52f3c5['cs']},'cmd':_0x41064b['cmd']};case I[_0x574d9e(0x226)][_0x574d9e(0x402)]:return{..._0x41064b,'data':{..._0xad17a0,'data':(_0xa2c0a=_0xad17a0['newCsEvent'])==null?void 0x0:_0xa2c0a['cs']},'cmd':_0x41064b[_0x574d9e(0x3be)]};case I['CollaborationEvent']['CHANGESET_REJ']:return{..._0x41064b,'data':{..._0xad17a0,'data':(_0x4f80f1=_0xad17a0['csRejEvent'])==null?void 0x0:_0x4f80f1['cs']},'cmd':_0x41064b[_0x574d9e(0x3be)]};case I[_0x574d9e(0x226)][_0x574d9e(0x1de)]:return{..._0x41064b,'data':{..._0xad17a0,'data':(_0x5779b5=_0xad17a0[_0x574d9e(0x1e3)])==null?void 0x0:_0x5779b5['cs']},'cmd':_0x41064b[_0x574d9e(0x3be)]};case I[_0x574d9e(0x226)][_0x574d9e(0xfb)]:return{..._0x41064b,'data':{..._0xad17a0,'data':_0xad17a0[_0x574d9e(0x22f)]},'cmd':_0x41064b[_0x574d9e(0x3be)]};case I[_0x574d9e(0x226)][_0x574d9e(0x222)]:return{..._0x41064b,'data':{..._0xad17a0,'data':_0xad17a0[_0x574d9e(0x41f)]},'cmd':_0x41064b[_0x574d9e(0x3be)]};case I[_0x574d9e(0x226)]['USERS_LEAVE']:return{..._0x41064b,'data':{..._0xad17a0,'data':_0xad17a0['leaveEvent']},'cmd':_0x41064b[_0x574d9e(0x3be)]};case I[_0x574d9e(0x226)]['LIVESHARE_NEW_HOST']:return{..._0x41064b,'data':{..._0xad17a0,'data':_0xad17a0[_0x574d9e(0x181)]},'cmd':_0x41064b[_0x574d9e(0x3be)]};case I[_0x574d9e(0x226)]['LIVESHARE_FETCH_OPERATIONS']:case I[_0x574d9e(0x226)]['LIVESHARE_OPERATION']:return{..._0x41064b,'data':{..._0xad17a0,'data':_0xad17a0[_0x574d9e(0x24d)]},'cmd':_0x41064b['cmd']};case I[_0x574d9e(0x226)][_0x574d9e(0x36e)]:return{..._0x41064b,'data':{..._0xad17a0,'data':_0xad17a0[_0x574d9e(0x181)]},'cmd':_0x41064b['cmd']};case I['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x41064b,'data':_0xad17a0,'cmd':_0x41064b['cmd']};case I[_0x574d9e(0x226)][_0x574d9e(0x42f)]:return{..._0x41064b,'data':{..._0xad17a0,'data':_0xad17a0[_0x574d9e(0x42a)]},'cmd':_0x41064b[_0x574d9e(0x3be)]};case I[_0x574d9e(0x226)][_0x574d9e(0x3d8)]:return{..._0x41064b,'data':{..._0xad17a0,'data':_0xad17a0[_0x574d9e(0x286)]},'cmd':_0x41064b['cmd']};case I[_0x574d9e(0x226)][_0x574d9e(0x12e)]:return{..._0x41064b,'data':{..._0xad17a0,'data':_0xad17a0['shouldCloseConn']},'cmd':_0x41064b[_0x574d9e(0x3be)]};case I[_0x574d9e(0x226)][_0x574d9e(0x2e2)]:return{..._0x41064b,'data':{..._0xad17a0,'data':_0xad17a0['uniscriptRunEvent']},'cmd':_0x41064b[_0x574d9e(0x3be)]};default:return _0x41064b;}}default:return _0x41064b;}}function Tt(_0x7921ba){var _0x3e10d5=_0x5d9338;switch(_0x7921ba['cmd']){case W[_0x3e10d5(0x1c7)]:case W[_0x3e10d5(0x301)]:return JSON['stringify']({'cmd':_0x7921ba[_0x3e10d5(0x3be)],'routeKey':_0x7921ba[_0x3e10d5(0x2dd)]});case W['INGEST']:{let _0x5ef231;switch(_0x7921ba['data'][_0x3e10d5(0x3ff)]){case I[_0x3e10d5(0x226)][_0x3e10d5(0xfb)]:{_0x5ef231={'eventID':I[_0x3e10d5(0x226)][_0x3e10d5(0xfb)],'updateCursorEvent':_0x7921ba[_0x3e10d5(0x165)][_0x3e10d5(0x165)]};break;}case I[_0x3e10d5(0x226)][_0x3e10d5(0x33a)]:{_0x5ef231={'eventID':I[_0x3e10d5(0x226)][_0x3e10d5(0x33a)],'leaveEvent':_0x7921ba[_0x3e10d5(0x165)]['data']};break;}case I[_0x3e10d5(0x226)][_0x3e10d5(0x222)]:{_0x5ef231={'eventID':I[_0x3e10d5(0x226)]['USERS_ENTER'],'joinEvent':_0x7921ba[_0x3e10d5(0x165)][_0x3e10d5(0x165)]};break;}case I[_0x3e10d5(0x226)][_0x3e10d5(0x373)]:{_0x5ef231={'eventID':I['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x7921ba[_0x3e10d5(0x165)][_0x3e10d5(0x165)]};break;}case I[_0x3e10d5(0x226)][_0x3e10d5(0x28a)]:{_0x5ef231={'eventID':I[_0x3e10d5(0x226)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x7921ba[_0x3e10d5(0x165)][_0x3e10d5(0x165)]};break;}case I[_0x3e10d5(0x226)][_0x3e10d5(0x36e)]:{_0x5ef231={'eventID':I[_0x3e10d5(0x226)][_0x3e10d5(0x36e)],'liveShareTerminate':_0x7921ba[_0x3e10d5(0x165)][_0x3e10d5(0x165)]};break;}case I[_0x3e10d5(0x226)][_0x3e10d5(0x1ab)]:{_0x5ef231={'eventID':I[_0x3e10d5(0x226)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x7921ba['data'][_0x3e10d5(0x165)]};break;}case I['CollaborationEvent'][_0x3e10d5(0x327)]:{_0x5ef231={'eventID':I[_0x3e10d5(0x226)][_0x3e10d5(0x327)]};break;}default:_0x5ef231={'eventID':_0x7921ba[_0x3e10d5(0x165)][_0x3e10d5(0x3ff)]};}return JSON[_0x3e10d5(0x1bf)]({'cmd':_0x7921ba[_0x3e10d5(0x3be)],'routeKey':_0x7921ba[_0x3e10d5(0x2dd)],'collaMsg':_0x5ef231});}case W[_0x3e10d5(0x271)]:return JSON['stringify']({'cmd':_0x7921ba[_0x3e10d5(0x3be)],'routeKey':_0x7921ba[_0x3e10d5(0x2dd)],'joinReq':_0x7921ba[_0x3e10d5(0x165)]});case W[_0x3e10d5(0x127)]:return JSON[_0x3e10d5(0x1bf)]({'cmd':_0x7921ba[_0x3e10d5(0x3be)],'routeKey':_0x7921ba['routeKey'],'leaveReq':_0x7921ba[_0x3e10d5(0x165)]});default:throw new Error(_0x3e10d5(0x326));}}var qt=Object['getOwnPropertyDescriptor'],zt=(_0x511eb3,_0x10e0cc,_0x12ae4f,_0x37a738)=>{var _0x571a1f=_0x5d9338;for(var _0x396e21=_0x37a738>0x1?void 0x0:_0x37a738?qt(_0x10e0cc,_0x12ae4f):_0x10e0cc,_0x4ecfa5=_0x511eb3[_0x571a1f(0x2f8)]-0x1,_0x30c22b;_0x4ecfa5>=0x0;_0x4ecfa5--)(_0x30c22b=_0x511eb3[_0x4ecfa5])&&(_0x396e21=_0x30c22b(_0x396e21)||_0x396e21);return _0x396e21;},_e=(_0x327e44,_0x19f6c7)=>(_0x3089e7,_0x15ee98)=>_0x19f6c7(_0x3089e7,_0x15ee98,_0x327e44);const He=a[_0x5d9338(0x1d7)]('univer-pro.collaboration-client-socket-service');function Jt(_0x2f77df,_0x280480,_0x3b9a17){return _0x2f77df+'/'+_0x280480+'/unit/'+_0x3b9a17+'/new_changes';}exports[_0x5d9338(0x369)]=class extends a[_0x5d9338(0x115)]{constructor(_0x565022,_0x2f6406,_0x2447d3,_0x383c20,_0x427b5c){var _0x45c701=_0x5d9338;super(),this[_0x45c701(0x20c)]=_0x565022,this['_httpService']=_0x2f6406,this[_0x45c701(0x44f)]=_0x2447d3,this[_0x45c701(0x415)]=_0x383c20,this[_0x45c701(0x443)]=_0x427b5c;}['_doCreateSocket'](_0x821c2b){var _0x439c88=_0x5d9338;const _0x21660f=this[_0x439c88(0x20c)]['get'](Y[_0x439c88(0x3ef)]);if(!_0x21660f)throw new Error(_0x439c88(0x3b9));const _0x4cf132=_0x21660f[_0x439c88(0x217)](_0x821c2b);if(!_0x4cf132)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x681688=new a[(_0x439c88(0x15b))](),_0x2fb1bf=new $['Subject']();_0x681688[_0x439c88(0x2d8)](_0x4cf132[_0x439c88(0x1ef)]['subscribe'](_0x4fcd9d=>_0x2fb1bf[_0x439c88(0x1c8)](_0x4fcd9d))),_0x681688[_0x439c88(0x2d8)](a[_0x439c88(0x26e)](()=>_0x2fb1bf['complete']()));const _0x5c639f=new $[(_0x439c88(0x41d))]();_0x681688[_0x439c88(0x2d8)](_0x4cf132[_0x439c88(0x268)][_0x439c88(0x31c)](_0x188114=>_0x5c639f['next'](_0x188114))),_0x681688['add'](a[_0x439c88(0x26e)](()=>_0x5c639f[_0x439c88(0x21a)]()));const _0x33cf2d=new $[(_0x439c88(0x41d))]();_0x681688[_0x439c88(0x2d8)](_0x4cf132[_0x439c88(0x3eb)]['subscribe'](_0x28dad6=>{var _0x579a20=_0x439c88;const _0x45e597=Ct(_0x28dad6);_0x33cf2d[_0x579a20(0x1c8)](_0x45e597);})),_0x681688[_0x439c88(0x2d8)](a[_0x439c88(0x26e)](()=>_0x33cf2d['complete']()));let _0x3ed4fb;const _0xda431d=()=>{var _0x3749f3=_0x439c88;_0x5c639f['next'](new Event('connection\x20error')),_0x2fb1bf['next'](new Event(_0x3749f3(0x158))),_0x3ed4fb['close']();};return _0x3ed4fb={'memberID':'','close$':_0x2fb1bf[_0x439c88(0x203)](),'error$':_0x5c639f[_0x439c88(0x203)](),'open$':_0x4cf132[_0x439c88(0x420)],'message$':_0x33cf2d[_0x439c88(0x203)](),'send':_0x5bf86b=>{var _0xeb3ec0=_0x439c88;if(_0x5bf86b[_0xeb3ec0(0x3be)]===W[_0xeb3ec0(0x2b3)]){if(_0x5bf86b[_0xeb3ec0(0x165)][_0xeb3ec0(0x3ff)]===I['CollaborationEvent'][_0xeb3ec0(0x448)]){this['_submitChangeset'](_0x3ed4fb,_0x5bf86b['data'])['catch'](_0x44295=>{var _0x5d9b0e=_0xeb3ec0;this[_0x5d9b0e(0x415)][_0x5d9b0e(0x45d)](_0x44295),_0xda431d();});return;}if(_0x5bf86b[_0xeb3ec0(0x165)][_0xeb3ec0(0x3ff)]===I[_0xeb3ec0(0x226)]['FETCH_MISSING']){const _0x2d9530=_0x5bf86b[_0xeb3ec0(0x165)];this[_0xeb3ec0(0x383)](_0x2d9530)[_0xeb3ec0(0x2fb)](_0x4805aa=>{var _0x37c465=_0xeb3ec0;_0x33cf2d[_0x37c465(0x1c8)]({'cmd':W['RECV'],'code':oe['OK'],'routeKey':_0x2d9530[_0x37c465(0x165)][_0x37c465(0x1c0)],'routeType':'','data':{'eventID':I[_0x37c465(0x226)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x4805aa}}});})[_0xeb3ec0(0x3f4)](_0x52fc90=>{var _0x3f5b8b=_0xeb3ec0;this[_0x3f5b8b(0x415)][_0x3f5b8b(0x45d)](_0x52fc90),_0xda431d();});return;}}_0x4cf132[_0xeb3ec0(0x17c)](Tt(_0x5bf86b));},'close':()=>{var _0x4cdb60=_0x439c88;_0x4cf132[_0x4cdb60(0x36f)](),_0x681688[_0x4cdb60(0x109)]();}},_0x3ed4fb;}async['_submitChangeset'](_0x18df31,_0x38d2cb){var _0x273f87=_0x5d9338,_0x40ebb5,_0x124587;const {unitType:_0x4b4c3e,unitID:_0x240c17,changeset:_0x2ce111}=_0x38d2cb[_0x273f87(0x165)],_0xc46410={'unitID':_0x240c17,'memberID':_0x18df31['memberID'],'type':_0x4b4c3e,'changeset':I[_0x273f87(0x447)](_0x2ce111)},_0x4c2688=this['_configService']['getConfig'](pt),_0x4dcf3c=this[_0x273f87(0x44f)]['getConfig'](K),_0x376703=Jt((_0x124587=(_0x40ebb5=_0x4dcf3c==null?void 0x0:_0x4dcf3c[_0x273f87(0x1b6)])!=null?_0x40ebb5:_0x4c2688)!=null?_0x124587:Vt,_0x4b4c3e,_0x240c17);try{await this[_0x273f87(0x2ca)]['post'](_0x376703,{'body':_0xc46410});}catch(_0xedba97){throw this[_0x273f87(0x415)][_0x273f87(0x45d)](_0x273f87(0x18b),_0x273f87(0x37d)),_0xedba97;}}async[_0x5d9338(0x383)](_0x1b346d){var _0x3df014=_0x5d9338;const {unitID:_0x1454c3,from:_0x44a7d9,to:_0x44a8dc,unitType:_0x3de936}=_0x1b346d[_0x3df014(0x165)];return(await this[_0x3df014(0x443)][_0x3df014(0x333)]({'metadata':void 0x0},{'unitID':_0x1454c3,'type':_0x3de936,'from':_0x44a7d9,'to':_0x44a8dc}))[_0x3df014(0xfd)];}},exports[_0x5d9338(0x369)]=zt([_e(0x0,a[_0x5d9338(0x15d)](a[_0x5d9338(0x343)])),_e(0x1,a['Inject'](Y[_0x5d9338(0x251)])),_e(0x2,a['IConfigService']),_e(0x3,a[_0x5d9338(0x374)]),_e(0x4,I[_0x5d9338(0x2e1)])],exports['CollaborationSocketService']);const Xt=_0x5d9338(0x3ad);function Zt(_0x2aede7){var _0x5a8fe5=_0x5d9338;return JSON[_0x5a8fe5(0x1bf)](_0x2aede7)[_0x5a8fe5(0x2f8)];}class $e{constructor(){var _0x58bddf=_0x5d9338;A(this,_0x58bddf(0x1cd),new $[(_0x58bddf(0x41d))]()),A(this,'commentUpdate$',this[_0x58bddf(0x1cd)]['asObservable']());}[_0x5d9338(0x2df)](_0x18d44b){var _0x506706=_0x5d9338;this[_0x506706(0x1cd)][_0x506706(0x1c8)](_0x18d44b);}}var Qt=Object[_0x5d9338(0x254)],ei=(_0x41348c,_0x4c6939,_0xe10bbb,_0x773bc2)=>{for(var _0x318099=_0x773bc2>0x1?void 0x0:_0x773bc2?Qt(_0x4c6939,_0xe10bbb):_0x4c6939,_0x2fef16=_0x41348c['length']-0x1,_0x50697e;_0x2fef16>=0x0;_0x2fef16--)(_0x50697e=_0x41348c[_0x2fef16])&&(_0x318099=_0x50697e(_0x318099)||_0x318099);return _0x318099;},We=(_0x2c213f,_0x37297e)=>(_0x17e0ba,_0x1049d5)=>_0x37297e(_0x17e0ba,_0x1049d5,_0x2c213f);exports[_0x5d9338(0x121)]=class extends a[_0x5d9338(0x115)]{constructor(_0x20061a,_0x52f909){var _0x102022=_0x5d9338;super(),A(this,_0x102022(0x120),new Map()),A(this,'_roomCreated$',new $[(_0x102022(0x41d))]()),(this[_0x102022(0x283)]=_0x20061a,this[_0x102022(0x27e)]=_0x52f909,this[_0x102022(0x240)]($['merge'](this[_0x102022(0x283)][_0x102022(0x123)](a['UniverInstanceType'][_0x102022(0x3f9)])[_0x102022(0x1d1)](V[_0x102022(0x31a)](_0xa500a5=>_0xa500a5[_0x102022(0x1a6)]())),this[_0x102022(0x283)][_0x102022(0x123)](a['UniverInstanceType'][_0x102022(0x2e3)])[_0x102022(0x1d1)](V['map'](_0x10f2b2=>_0x10f2b2[_0x102022(0x1a6)]())),this[_0x102022(0x283)][_0x102022(0x123)](a['UniverInstanceType'][_0x102022(0x113)])[_0x102022(0x1d1)](V[_0x102022(0x31a)](_0x556ae8=>_0x556ae8[_0x102022(0x1a6)]())))[_0x102022(0x31c)](_0x32cb72=>this[_0x102022(0x2d2)](_0x32cb72))));}[_0x5d9338(0x3f3)](_0x343e4e){var _0x189684=_0x5d9338;return this[_0x189684(0x120)][_0x189684(0x3e1)](_0x343e4e)?$['of'](this['_roomMembers']['get'](_0x343e4e)):this[_0x189684(0x1b2)][_0x189684(0x1d1)](V['map'](_0x5bbdc7=>{var _0x3697ec=_0x189684;if(_0x5bbdc7===_0x343e4e)return this[_0x3697ec(0x120)][_0x3697ec(0x43d)](_0x5bbdc7);}));}[_0x5d9338(0x3b7)](_0x58058d){var _0xe96a11=_0x5d9338;this[_0xe96a11(0x27e)]['setCurrentUser'](_0x58058d);}[_0x5d9338(0x163)](){var _0x406417=_0x5d9338;return this[_0x406417(0x27e)][_0x406417(0x163)]();}[_0x5d9338(0x2af)](_0x47641c,_0x1a19f8){var _0x153e95=_0x5d9338;let _0x4c46ec=this[_0x153e95(0x120)]['get'](_0x47641c);_0x4c46ec||(_0x4c46ec=new ti(),this[_0x153e95(0x120)][_0x153e95(0x385)](_0x47641c,_0x4c46ec),this[_0x153e95(0x1b2)][_0x153e95(0x1c8)](_0x47641c)),_0x4c46ec['updateMember'](_0x1a19f8);}[_0x5d9338(0x384)](_0x3f2d69,_0x4afe2f){var _0x1e4f73=_0x5d9338;const _0x1a6836=this[_0x1e4f73(0x120)]['get'](_0x3f2d69);_0x1a6836&&_0x1a6836[_0x1e4f73(0x384)](_0x4afe2f);}[_0x5d9338(0x101)](_0x431710){var _0x5161e7=_0x5d9338;return this[_0x5161e7(0x120)][_0x5161e7(0x43d)](_0x431710);}[_0x5d9338(0x131)](_0x3cfb0f,_0xbdd008){var _0x373e6e=_0x5d9338;const _0x149bb9=this['_roomMembers'][_0x373e6e(0x43d)](_0x3cfb0f);if(_0x149bb9)return _0x149bb9['getMember'](_0xbdd008);}[_0x5d9338(0x2d2)](_0x544d8e){var _0x2ba8ef=_0x5d9338;const _0x428e61=this[_0x2ba8ef(0x120)][_0x2ba8ef(0x43d)](_0x544d8e);_0x428e61&&(_0x428e61[_0x2ba8ef(0x109)](),this[_0x2ba8ef(0x120)][_0x2ba8ef(0x142)](_0x544d8e));}[_0x5d9338(0x109)](){var _0x277cd4=_0x5d9338;this[_0x277cd4(0x120)][_0x277cd4(0x335)](_0x4e1f59=>_0x4e1f59[_0x277cd4(0x109)]()),this[_0x277cd4(0x120)]['clear'](),this[_0x277cd4(0x1b2)]['complete']();}},exports[_0x5d9338(0x121)]=ei([We(0x0,a['IUniverInstanceService']),We(0x1,a[_0x5d9338(0x15d)](a[_0x5d9338(0x305)]))],exports[_0x5d9338(0x121)]);class ti extends a['Disposable']{constructor(){var _0x8f54b3=_0x5d9338;super(...arguments),A(this,_0x8f54b3(0x2d6),new Map()),A(this,_0x8f54b3(0x191),new $[(_0x8f54b3(0x1e2))](this[_0x8f54b3(0x2d6)])),A(this,'members$',this[_0x8f54b3(0x191)]['asObservable']());}['dispose'](){var _0x6202de=_0x5d9338;this['_members'][_0x6202de(0x2bf)]();}['updateMember'](_0x4c5c35){var _0x25b4c2=_0x5d9338;this[_0x25b4c2(0x2d6)][_0x25b4c2(0x385)](_0x4c5c35[_0x25b4c2(0x1d8)],_0x4c5c35),this['_emitMembers']();}[_0x5d9338(0x384)](_0x50750d){var _0x24bab6=_0x5d9338;this[_0x24bab6(0x2d6)][_0x24bab6(0x142)](_0x50750d);}[_0x5d9338(0x131)](_0x1211c8){var _0x5d32f7=_0x5d9338;return this[_0x5d32f7(0x2d6)][_0x5d32f7(0x43d)](_0x1211c8);}[_0x5d9338(0x35c)](){var _0x43d326=_0x5d9338;return Array[_0x43d326(0x21b)](this[_0x43d326(0x2d6)][_0x43d326(0x314)]());}[_0x5d9338(0x223)](){var _0x3d0dc5=_0x5d9338;this['_members$'][_0x3d0dc5(0x1c8)](this[_0x3d0dc5(0x2d6)]);}}var ii=Object[_0x5d9338(0x254)],ni=(_0x419f16,_0x51c621,_0x121a2b,_0x5bc301)=>{for(var _0x2a58da=_0x5bc301>0x1?void 0x0:_0x5bc301?ii(_0x51c621,_0x121a2b):_0x51c621,_0x161801=_0x419f16['length']-0x1,_0x574ea5;_0x161801>=0x0;_0x161801--)(_0x574ea5=_0x419f16[_0x161801])&&(_0x2a58da=_0x574ea5(_0x2a58da)||_0x2a58da);return _0x2a58da;},se=(_0x14bcd0,_0x3dc24e)=>(_0x1d7ff3,_0x301f14)=>_0x3dc24e(_0x1d7ff3,_0x301f14,_0x14bcd0),re=(_0x2dc8d9=>(_0x2dc8d9[_0x2dc8d9[_0x5d9338(0x1ed)]=0x0]=_0x5d9338(0x1ed),_0x2dc8d9[_0x2dc8d9['JOINING']=0x1]=_0x5d9338(0x36b),_0x2dc8d9[_0x2dc8d9[_0x5d9338(0x401)]=0x2]='OFFLINE',_0x2dc8d9[_0x2dc8d9[_0x5d9338(0x187)]=0x3]=_0x5d9338(0x187),_0x2dc8d9))(re||{});const Ge={[oe[_0x5d9338(0x2d3)]]:_0x5d9338(0x42b),[oe[_0x5d9338(0x35a)]]:_0x5d9338(0x276),[oe['JOIN_ROOM_NOT_EXISTS']]:_0x5d9338(0x2a1),[oe[_0x5d9338(0x330)]]:_0x5d9338(0x3c7),[oe[_0x5d9338(0x198)]]:'session.room-cnt-exceeds'};exports[_0x5d9338(0x130)]=class extends a[_0x5d9338(0x429)]{constructor(_0x2468ba,_0x1a1ae4,_0x5a39fb,_0x5021dd,_0x983319,_0x1ad76e,_0x5726d3,_0x3b74f1,_0x3f54ad){var _0x400dd3=_0x5d9338;super(),A(this,_0x400dd3(0x29f),new $['BehaviorSubject'](0x0)),A(this,_0x400dd3(0x2cc),this['_sessionStatus$'][_0x400dd3(0x203)]()),A(this,_0x400dd3(0x2cf),new $[(_0x400dd3(0x41d))]()),A(this,_0x400dd3(0x3e9),this['_event$'][_0x400dd3(0x203)]()),A(this,_0x400dd3(0x288)),A(this,_0x400dd3(0x3f5)),A(this,_0x400dd3(0x16f)),A(this,_0x400dd3(0x199),!0x1),A(this,'_telemetryInfo',null),(this[_0x400dd3(0x3cd)]=_0x2468ba,this[_0x400dd3(0x415)]=_0x5a39fb,this[_0x400dd3(0x44f)]=_0x5021dd,this[_0x400dd3(0x2be)]=_0x983319,this[_0x400dd3(0x41e)]=_0x1ad76e,this[_0x400dd3(0x3b1)]=_0x5726d3,this[_0x400dd3(0x116)]=_0x3b74f1,this['_telemetryService']=_0x3f54ad,this['_shouldReportTelemetry']=!!this[_0x400dd3(0x36d)],_0x1a1ae4[_0x400dd3(0x1d1)]($[_0x400dd3(0x1df)](this[_0x400dd3(0x318)]))['subscribe'](_0x4409d0=>{var _0x361c96=_0x400dd3,_0x51d4f4;typeof _0x4409d0>'u'||(this['_socket']=_0x4409d0,_0x4409d0?(this[_0x361c96(0x1f5)](_0x4409d0),this[_0x361c96(0x3f5)]=_0x4409d0[_0x361c96(0x3eb)]['subscribe'](_0x4503c6=>{var _0x462dd7=_0x361c96;_0x4503c6['routeKey']===this[_0x462dd7(0x3cd)]&&this[_0x462dd7(0x10a)](_0x4503c6);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x361c96(0x29f)][_0x361c96(0x1c8)](0x2),(_0x51d4f4=this[_0x361c96(0x3f5)])==null||_0x51d4f4[_0x361c96(0x338)](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x3b5707=_0x5d9338;return this[_0x3b5707(0x29f)][_0x3b5707(0x137)]();}[_0x5d9338(0x18d)](){var _0x3877f8=_0x5d9338,_0x599b72,_0x3392c4;return(_0x3392c4=(_0x599b72=this[_0x3877f8(0x288)])==null?void 0x0:_0x599b72[_0x3877f8(0x1d8)])!=null?_0x3392c4:null;}[_0x5d9338(0x109)](){var _0x40131b=_0x5d9338;super[_0x40131b(0x109)](),this[_0x40131b(0x318)][_0x40131b(0x1c8)](),this[_0x40131b(0x318)][_0x40131b(0x21a)]();}[_0x5d9338(0x36f)](){var _0xeb1cde=_0x5d9338,_0x2e2f04,_0x37c52d;this[_0xeb1cde(0x16b)](),(_0x2e2f04=this['_socket'])==null||_0x2e2f04['send']({'cmd':W[_0xeb1cde(0x127)],'data':{'roomID':this[_0xeb1cde(0x3cd)]}}),(_0x37c52d=this[_0xeb1cde(0x288)])==null||_0x37c52d[_0xeb1cde(0x36f)](),this[_0xeb1cde(0x2cf)][_0xeb1cde(0x21a)](),this[_0xeb1cde(0x29f)][_0xeb1cde(0x21a)](),this[_0xeb1cde(0x109)]();}[_0x5d9338(0x10a)](_0x23fc06){var _0x4471ee=_0x5d9338;_0x23fc06[_0x4471ee(0x3be)]===W['JOIN']?this['_onJoinRoomEvent'](_0x23fc06):_0x23fc06[_0x4471ee(0x3be)]===W[_0x4471ee(0x28f)]&&this['_onRecvEvent'](_0x23fc06);}['_joinRoom'](_0x59cd68){var _0x1dad62=_0x5d9338;this[_0x1dad62(0x29f)]['next'](0x1),_0x59cd68['send']({'cmd':W[_0x1dad62(0x271)],'routeKey':this[_0x1dad62(0x3cd)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1dad62(0x3cd)]}]}});}[_0x5d9338(0x22c)](_0x1e7ea6){var _0x1be327=_0x5d9338,_0x2e6f25;if(_0x1e7ea6['code']in Ge){this['_collaborationUIEventService'][_0x1be327(0x20e)]({'id':Z['JOIN_ROOM_FAILED'],'data':Ge[_0x1e7ea6[_0x1be327(0x151)]]}),this['_sessionStatus$'][_0x1be327(0x1c8)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x55ad1c=(_0x2e6f25=_0x1e7ea6['data'][_0x1be327(0x3a4)][this[_0x1be327(0x3cd)]])==null?void 0x0:_0x2e6f25[_0x1be327(0x2d4)];_0x55ad1c&&_0x55ad1c[_0x1be327(0x335)](_0x297edc=>this[_0x1be327(0x41e)]['updateMember'](this[_0x1be327(0x3cd)],_0x297edc));}[_0x5d9338(0x30e)](_0x47f911){var _0x284de0=_0x5d9338;try{const _0x2cc3d5=_0x47f911[_0x284de0(0x165)];switch(_0x2cc3d5['eventID']){case I[_0x284de0(0x226)][_0x284de0(0x222)]:this[_0x284de0(0x35b)](_0x2cc3d5),this[_0x284de0(0x2cf)][_0x284de0(0x1c8)](_0x2cc3d5);break;case I[_0x284de0(0x226)][_0x284de0(0x33a)]:this[_0x284de0(0x24a)](_0x2cc3d5),this[_0x284de0(0x2cf)][_0x284de0(0x1c8)](_0x2cc3d5);break;case I['CollaborationEvent'][_0x284de0(0x2da)]:case I[_0x284de0(0x226)][_0x284de0(0x1de)]:this[_0x284de0(0x403)](),this[_0x284de0(0x2de)](),this[_0x284de0(0x2cf)][_0x284de0(0x1c8)](_0x2cc3d5);break;case I['CollaborationEvent']['MSG_FOR_ERROR']:this[_0x284de0(0x415)][_0x284de0(0x45d)](_0x284de0(0x308)+JSON[_0x284de0(0x1bf)](_0x2cc3d5)),this[_0x284de0(0x2cf)][_0x284de0(0x1c8)](_0x2cc3d5);break;case I['CollaborationEvent'][_0x284de0(0x42f)]:this[_0x284de0(0x3b1)][_0x284de0(0x2df)](_0x2cc3d5[_0x284de0(0x165)]),this[_0x284de0(0x2cf)][_0x284de0(0x1c8)](_0x2cc3d5);break;default:this['_event$'][_0x284de0(0x1c8)](_0x2cc3d5);}}catch(_0x29b42e){this[_0x284de0(0x415)][_0x284de0(0x45d)](_0x29b42e,_0x47f911);}}[_0x5d9338(0x35b)](_0x2ade72){var _0x3c2386=_0x5d9338;this[_0x3c2386(0x41e)]['updateMember'](this[_0x3c2386(0x3cd)],_0x2ade72[_0x3c2386(0x165)]);}['_onUserLeave'](_0x4964f9){var _0x2ce00c=_0x5d9338;this[_0x2ce00c(0x41e)][_0x2ce00c(0x384)](this[_0x2ce00c(0x3cd)],_0x4964f9[_0x2ce00c(0x165)]['memberID']);}async[_0x5d9338(0x17c)](_0x527ea2,_0x3f8f2a){var _0x3bbdec=_0x5d9338;if(this['sessionStatus']!==0x3||!this[_0x3bbdec(0x288)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x527ea2[_0x3bbdec(0x3ff)]===I['CollaborationEvent'][_0x3bbdec(0x448)]&&(this[_0x3bbdec(0x40a)](),this[_0x3bbdec(0x34a)](_0x527ea2)),this[_0x3bbdec(0x288)][_0x3bbdec(0x17c)]({'cmd':W[_0x3bbdec(0x2b3)],'routeKey':_0x3f8f2a,'routeType':'','data':_0x527ea2});}catch(_0x6fd869){this[_0x3bbdec(0x415)][_0x3bbdec(0x45d)](_0x6fd869);}}[_0x5d9338(0x40a)](){var _0x2ba4a3=_0x5d9338,_0x1955b0;this[_0x2ba4a3(0x16f)]=setTimeout(()=>{var _0x4f028e=_0x2ba4a3;this[_0x4f028e(0x16f)]=null,this[_0x4f028e(0x116)]['emitEvent']({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x1955b0=this['_configService'][_0x2ba4a3(0x2ea)](ke))!=null?_0x1955b0:St);}['_clearCollaborationTimeoutTimer'](){var _0x4924ee=_0x5d9338;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x4924ee(0x16f)]),this[_0x4924ee(0x16f)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x5dcdc6){var _0x5c4f5d=_0x5d9338;if(!this['_shouldReportTelemetry'])return;const {data:_0x5ea62d}=_0x5dcdc6,{unitID:_0x5de5c7,changeset:_0x53f42a}=_0x5ea62d,{mutations:_0x240b1a,type:_0x172910}=_0x53f42a;this[_0x5c4f5d(0x3e8)]={'unitId':_0x5de5c7,'type':_0x172910,'startTime':performance[_0x5c4f5d(0x3c5)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x240b1a)};}[_0x5d9338(0x403)](){var _0x1493b0=_0x5d9338;if(this[_0x1493b0(0x199)]){if(!this[_0x1493b0(0x3e8)]){this[_0x1493b0(0x415)][_0x1493b0(0x45d)]('[CollaborationSession]',_0x1493b0(0x1e5));return;}this['_telemetryInfo'][_0x1493b0(0x2c7)]=performance[_0x1493b0(0x3c5)](),this['_telemetryInfo']['duration']=this[_0x1493b0(0x3e8)][_0x1493b0(0x2c7)]-this[_0x1493b0(0x3e8)][_0x1493b0(0x230)],this['_telemetryService'][_0x1493b0(0x229)](Xt,this[_0x1493b0(0x3e8)]),this[_0x1493b0(0x3e8)]=null;}}[_0x5d9338(0x16b)](){var _0x524766=_0x5d9338;this[_0x524766(0x3e8)]=null;}},exports['CollaborationSession']=ni([se(0x2,a[_0x5d9338(0x374)]),se(0x3,a[_0x5d9338(0x410)]),se(0x4,a[_0x5d9338(0x15d)](a[_0x5d9338(0x162)])),se(0x5,a[_0x5d9338(0x15d)](exports['MemberService'])),se(0x6,a[_0x5d9338(0x15d)]($e)),se(0x7,a[_0x5d9338(0x15d)](ee)),se(0x8,a['Optional'](Pt[_0x5d9338(0x12f)]))],exports[_0x5d9338(0x130)]);function _0x4a4a(_0x459335,_0x4a4d51){var _0x96fe6c=_0x96fe();return _0x4a4a=function(_0x4a4ac3,_0x554925){_0x4a4ac3=_0x4a4ac3-0xfa;var _0x1a9b7d=_0x96fe6c[_0x4a4ac3];return _0x1a9b7d;},_0x4a4a(_0x459335,_0x4a4d51);}var ri=Object[_0x5d9338(0x254)],si=(_0x57fb68,_0x30d7a1,_0x3a1e33,_0x29172f)=>{var _0x469504=_0x5d9338;for(var _0x33ca81=_0x29172f>0x1?void 0x0:_0x29172f?ri(_0x30d7a1,_0x3a1e33):_0x30d7a1,_0x36d558=_0x57fb68[_0x469504(0x2f8)]-0x1,_0x4e52ea;_0x36d558>=0x0;_0x36d558--)(_0x4e52ea=_0x57fb68[_0x36d558])&&(_0x33ca81=_0x4e52ea(_0x33ca81)||_0x33ca81);return _0x33ca81;},he=(_0x2ffc15,_0x44cbad)=>(_0x14c36b,_0x112ad3)=>_0x44cbad(_0x14c36b,_0x112ad3,_0x2ffc15);exports['CollaborationSessionService']=class extends a[_0x5d9338(0x115)]{constructor(_0x57e2cd,_0x46f7c1,_0x538dde,_0x3679f2,_0x5c3967,_0x3923e9){var _0x5acd9c=_0x5d9338;super(),A(this,_0x5acd9c(0x1cc),new $[(_0x5acd9c(0x1e2))](void 0x0)),A(this,_0x5acd9c(0x3f0),this[_0x5acd9c(0x1cc)][_0x5acd9c(0x203)]()),A(this,'_candidateSocket',null),A(this,'_sessions',new Map()),A(this,'_status$',new $[(_0x5acd9c(0x1e2))](re['IDLE'])),A(this,_0x5acd9c(0x399),this[_0x5acd9c(0x148)][_0x5acd9c(0x203)]()),A(this,'_socketReady',!0x1),A(this,_0x5acd9c(0x392)),A(this,_0x5acd9c(0x246),0x0),A(this,_0x5acd9c(0x38b)),A(this,'_timeoutTimer'),(this[_0x5acd9c(0x20c)]=_0x57e2cd,this[_0x5acd9c(0x415)]=_0x46f7c1,this[_0x5acd9c(0x44f)]=_0x538dde,this[_0x5acd9c(0x174)]=_0x3679f2,this[_0x5acd9c(0x116)]=_0x5c3967,this[_0x5acd9c(0x1cf)]=_0x3923e9,this[_0x5acd9c(0x1ee)]());}get['_socket'](){var _0x5a4446=_0x5d9338;return this[_0x5a4446(0x1cc)]['getValue']();}[_0x5d9338(0x1ee)](){var _0x39d8a9=_0x5d9338;this['_networkConditionService']&&this[_0x39d8a9(0x240)](this[_0x39d8a9(0x1cf)]['online$'][_0x39d8a9(0x31c)](_0xc71ddd=>{var _0x14b10d=_0x39d8a9;_0xc71ddd&&!this['_socket']&&this[_0x14b10d(0x2f4)](),_0xc71ddd||this['_onOffline']();}));}[_0x5d9338(0x109)](){var _0xd07ea8=_0x5d9338;super[_0xd07ea8(0x109)](),this[_0xd07ea8(0x26c)](),this[_0xd07ea8(0x446)](),this[_0xd07ea8(0x1c6)](),this[_0xd07ea8(0x2c8)]['forEach'](_0x351a10=>_0x351a10[_0xd07ea8(0x109)]()),this[_0xd07ea8(0x2c8)]['clear'](),this['_status$'][_0xd07ea8(0x21a)]();}async[_0x5d9338(0x39d)](_0x4826a1){var _0xb03cb6=_0x5d9338;if(this[_0xb03cb6(0x2c8)][_0xb03cb6(0x3e1)](_0x4826a1))return this[_0xb03cb6(0x2c8)]['get'](_0x4826a1);this[_0xb03cb6(0x461)]();const _0x557256=this[_0xb03cb6(0x20c)][_0xb03cb6(0x40d)](exports[_0xb03cb6(0x130)],_0x4826a1,this['_socket$']['asObservable']());return this[_0xb03cb6(0x2c8)][_0xb03cb6(0x385)](_0x4826a1,_0x557256),_0x557256;}[_0x5d9338(0x3bb)](_0x4b84c9){var _0x59cf0a=_0x5d9338,_0x4fd18a;const _0x37d578=this[_0x59cf0a(0x2c8)][_0x59cf0a(0x43d)](_0x4b84c9);_0x37d578&&(this[_0x59cf0a(0x2c8)]['delete'](_0x4b84c9),_0x37d578[_0x59cf0a(0x36f)]()),this['_sessions'][_0x59cf0a(0x3fe)]||(_0x4fd18a=this[_0x59cf0a(0x288)])==null||_0x4fd18a[_0x59cf0a(0x36f)]();}['reconnect'](){var _0x4aaecb=_0x5d9338;this[_0x4aaecb(0x246)]=0x0,this[_0x4aaecb(0x26c)](),this[_0x4aaecb(0x29b)]();}[_0x5d9338(0x26c)](){var _0xd5d092=_0x5d9338;this[_0xd5d092(0x392)]!=null&&(clearTimeout(this[_0xd5d092(0x392)]),this[_0xd5d092(0x392)]=null);}async[_0x5d9338(0x3d9)](){var _0x4a18c5=_0x5d9338,_0x528315,_0x22e0f;const _0xc7dc91=this[_0x4a18c5(0x44f)][_0x4a18c5(0x2ea)](ut),_0x8adbc6=this['_configService']['getConfig'](K),_0x20e296=(_0x22e0f=(_0x528315=_0x8adbc6==null?void 0x0:_0x8adbc6[_0x4a18c5(0x23b)])!=null?_0x528315:_0xc7dc91)!=null?_0x22e0f:dt,_0x4eb9d7=await this[_0x4a18c5(0x174)][_0x4a18c5(0x217)](_0x20e296);return this[_0x4a18c5(0x303)]=_0x4eb9d7,_0x4eb9d7;}async['_tryEnsureSocket'](){var _0x212131=_0x5d9338,_0x1892a5,_0x4f8b3e;try{const _0x2e21e9=(_0x4f8b3e=(_0x1892a5=this['_socket'])!=null?_0x1892a5:this['_candidateSocket'])!=null?_0x4f8b3e:await this['_createSocket']();if(_0x2e21e9){const _0x391521=_0x2e21e9[_0x212131(0x17c)];_0x2e21e9[_0x212131(0x17c)]=_0x180c61=>(this['_rescheduleHeartbeat'](),_0x391521['apply'](_0x2e21e9,[_0x180c61])),_0x2e21e9[_0x212131(0x3eb)][_0x212131(0x31c)](_0x331930=>this[_0x212131(0x339)](_0x2e21e9,_0x331930)),_0x2e21e9['error$']['pipe'](V[_0x212131(0x2b2)](0x1))['subscribe'](_0x2cd101=>this['_logService'][_0x212131(0x45d)]('[CollaborationSessionService]:\x20socket\x20error',_0x2cd101)),_0x2e21e9[_0x212131(0x420)][_0x212131(0x1d1)](V['take'](0x1))[_0x212131(0x31c)](()=>{this['_onConnectionOpen'](_0x2e21e9);}),_0x2e21e9[_0x212131(0x1ef)]['pipe'](V[_0x212131(0x2b2)](0x1))[_0x212131(0x31c)](_0x240762=>{var _0x44ef03=_0x212131;this[_0x44ef03(0x415)][_0x44ef03(0x126)](_0x44ef03(0x201),_0x44ef03(0x45b),_0x240762),this[_0x44ef03(0x34b)]();});}}catch(_0x440fcd){this[_0x212131(0x415)]['error'](_0x440fcd),this[_0x212131(0x34b)]();}}[_0x5d9338(0x239)](_0x3d726c){var _0xd4b944=_0x5d9338;this[_0xd4b944(0x415)]['debug'](_0xd4b944(0x201),_0xd4b944(0x27f)),_0x3d726c[_0xd4b944(0x17c)]({'cmd':W['HELLO']}),this[_0xd4b944(0x1c2)]();}[_0x5d9338(0x19b)](){var _0x3d61e1=_0x5d9338;this[_0x3d61e1(0x20b)]=!0x1,this[_0x3d61e1(0x303)]=null,this['_status$'][_0x3d61e1(0x1c8)](re[_0x3d61e1(0x401)]),this['_socket$'][_0x3d61e1(0x1c8)](null),this[_0x3d61e1(0x446)](),this[_0x3d61e1(0x1c6)]();}[_0x5d9338(0x34b)](){var _0x300e28=_0x5d9338,_0x35db96;this[_0x300e28(0x19b)](),this['_retryCount']<((_0x35db96=this[_0x300e28(0x44f)][_0x300e28(0x2ea)](ft))!=null?_0x35db96:jt)?(this[_0x300e28(0x116)][_0x300e28(0x20e)]({'id':Z['SOCKET_FAILED_RETRY']}),this[_0x300e28(0x29b)]()):this[_0x300e28(0x116)][_0x300e28(0x20e)]({'id':Z['SOCKET_FAILED']});}[_0x5d9338(0x29b)](){var _0x16f99f=_0x5d9338,_0xad3b0a;const _0x36ec41=this['_retryCount'],_0xa97fa9=this['_configService'][_0x16f99f(0x2ea)](K),_0x177041=_0x36ec41===0x0?0x0:((_0xad3b0a=_0xa97fa9==null?void 0x0:_0xa97fa9[_0x16f99f(0x280)])!=null?_0xad3b0a:$t)*0x2**_0x36ec41;this[_0x16f99f(0x392)]=setTimeout(()=>{var _0x1ff379=_0x16f99f;clearTimeout(this[_0x1ff379(0x392)]),this[_0x1ff379(0x392)]=null,this['_tryEnsureSocket']();},_0x177041),this[_0x16f99f(0x246)]+=0x1;}['_onMessage'](_0x5f19c0,_0x105258){var _0x2c1fc1=_0x5d9338;const {cmd:_0x579c27}=_0x105258;_0x579c27===W[_0x2c1fc1(0x301)]&&!this[_0x2c1fc1(0x20b)]&&(_0x5f19c0[_0x2c1fc1(0x1d8)]=_0x105258[_0x2c1fc1(0x165)]['memberID'],this['_socket$'][_0x2c1fc1(0x1c8)](_0x5f19c0),this['_status$'][_0x2c1fc1(0x1c8)](re[_0x2c1fc1(0x187)]),this[_0x2c1fc1(0x20b)]=!0x0,this[_0x2c1fc1(0x303)]=null),_0x579c27===W[_0x2c1fc1(0x1c7)]&&this[_0x2c1fc1(0x446)](),this[_0x2c1fc1(0x1c2)]();}['_rescheduleHeartbeat'](){var _0x206b60=_0x5d9338,_0x1dcc43;this[_0x206b60(0x1c6)](),this[_0x206b60(0x38b)]=setTimeout(()=>this[_0x206b60(0x2cd)](),(_0x1dcc43=this['_configService'][_0x206b60(0x2ea)](vt))!=null?_0x1dcc43:Ht);}[_0x5d9338(0x2cd)](){var _0x1c6f9a=_0x5d9338;this['_socket'][_0x1c6f9a(0x17c)]({'cmd':W[_0x1c6f9a(0x1c7)]}),this['_waitForHeartbeatResponse']();}[_0x5d9338(0x1fb)](){var _0x423e44=_0x5d9338,_0x315454;this[_0x423e44(0x3ac)]=setTimeout(()=>this[_0x423e44(0x34b)](),(_0x315454=this[_0x423e44(0x44f)][_0x423e44(0x2ea)](ke))!=null?_0x315454:St);}[_0x5d9338(0x1c6)](){var _0x24633a=_0x5d9338;this[_0x24633a(0x38b)]!=null&&(clearTimeout(this[_0x24633a(0x38b)]),this[_0x24633a(0x38b)]=null);}[_0x5d9338(0x446)](){var _0x379e92=_0x5d9338;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x379e92(0x3ac)]),this[_0x379e92(0x3ac)]=null);}},exports[_0x5d9338(0x32f)]=si([he(0x0,a[_0x5d9338(0x15d)](a[_0x5d9338(0x343)])),he(0x1,a[_0x5d9338(0x374)]),he(0x2,a[_0x5d9338(0x410)]),he(0x3,He),he(0x4,a[_0x5d9338(0x15d)](ee)),he(0x5,a[_0x5d9338(0x2e4)](mt))],exports[_0x5d9338(0x32f)]);const q=a[_0x5d9338(0x1d7)](_0x5d9338(0x1bb));function oi(_0x3c13e0){var _0x28870e=_0x5d9338;return _0x28870e(0x39e)+_0x3c13e0;}var ai=Object[_0x5d9338(0x254)],ci=(_0x41504f,_0x595148,_0x3aea60,_0x2fc908)=>{for(var _0xae5e32=_0x2fc908>0x1?void 0x0:_0x2fc908?ai(_0x595148,_0x3aea60):_0x595148,_0x43f422=_0x41504f['length']-0x1,_0x1106f7;_0x43f422>=0x0;_0x43f422--)(_0x1106f7=_0x41504f[_0x43f422])&&(_0xae5e32=_0x1106f7(_0xae5e32)||_0xae5e32);return _0xae5e32;},De=(_0x263a75,_0xd72c8a)=>(_0x3bb4e1,_0x29861e)=>_0xd72c8a(_0x3bb4e1,_0x29861e,_0x263a75);function hi(_0x262e6e){const {unitID:_0x458ae3,mutations:_0x8c42ea}=_0x262e6e;return{'unitId':_0x458ae3,'subUnitId':_0x8c42ea[0x0]['params']['subUnitId']};}exports[_0x5d9338(0x35d)]=class{constructor(_0x310c98,_0x9345f2,_0x5a14a2){var _0x460b44=_0x5d9338;this[_0x460b44(0x20c)]=_0x310c98,this[_0x460b44(0x337)]=_0x9345f2,this[_0x460b44(0x18f)]=_0x5a14a2;}[_0x5d9338(0x2ac)](_0x340dbb){var _0x405cdf=_0x5d9338,_0x31f627,_0x5d32c9,_0x195ac8,_0x5c5a1a;const _0xdec04e=this[_0x405cdf(0x20c)][_0x405cdf(0x43d)](X[_0x405cdf(0x195)]),{unitId:_0x5baacc,subUnitId:_0x2dc7d9}=hi(_0x340dbb),_0x531fe9=_0xdec04e==null?void 0x0:_0xdec04e['getWorkbookSelections'](_0x5baacc)[_0x405cdf(0x3c9)](),_0x23fece=(_0x5d32c9=(_0x31f627=this[_0x405cdf(0x18f)]['getUnit'](_0x5baacc))==null?void 0x0:_0x31f627[_0x405cdf(0x358)]())==null?void 0x0:_0x5d32c9[_0x405cdf(0x29d)]();if(_0x531fe9[_0x405cdf(0x2f8)]===0x0||!_0x5baacc||!_0x2dc7d9)return;const _0x40bcc5=[{'id':X[_0x405cdf(0x3a8)]['id'],'params':{'unitId':_0x5baacc,'subUnitId':_0x23fece,'selections':a[_0x405cdf(0x463)][_0x405cdf(0x277)](_0x531fe9)}}],_0x1ae16d=this[_0x405cdf(0x337)][_0x405cdf(0x238)](_0x340dbb,_0x40bcc5);if(!I[_0x405cdf(0x10c)](_0x1ae16d))throw _0x1ae16d['error'];const _0x5696bf=(_0x5c5a1a=(_0x195ac8=_0x1ae16d[_0x405cdf(0x457)][0x0])==null?void 0x0:_0x195ac8[_0x405cdf(0x30a)])==null?void 0x0:_0x5c5a1a[_0x405cdf(0x3b0)];if(Array[_0x405cdf(0x456)](_0x5696bf)&&_0x5696bf[_0x405cdf(0x2f8)]){if(_0x5696bf[_0x405cdf(0x2f8)]===_0x40bcc5[0x0][_0x405cdf(0x30a)][_0x405cdf(0x3b0)]['length']&&_0x5696bf['every']((_0x1911f7,_0x2642ea)=>a['Rectangle']['equals'](_0x1911f7['range'],_0x40bcc5[0x0][_0x405cdf(0x30a)][_0x405cdf(0x3b0)][_0x2642ea][_0x405cdf(0x1c4)])))return;this['_injector'][_0x405cdf(0x43d)](a[_0x405cdf(0x3ea)])[_0x405cdf(0x3ba)](X[_0x405cdf(0x3a8)]['id'],{'unitId':_0x5baacc,'subUnitId':_0x23fece,'selections':_0x5696bf});}}},exports['SheetTransformSelectionsService']=ci([De(0x0,a[_0x5d9338(0x15d)](a['Injector'])),De(0x1,I['ITransformService']),De(0x2,a[_0x5d9338(0x397)])],exports[_0x5d9338(0x35d)]);const de=a[_0x5d9338(0x1d7)](_0x5d9338(0x371));var je=(_0x4d7f6a=>(_0x4d7f6a[_0x4d7f6a[_0x5d9338(0x3d7)]=0x0]=_0x5d9338(0x3d7),_0x4d7f6a[_0x4d7f6a['OTHER_CLIENTS_EDITING']=0x1]=_0x5d9338(0x295),_0x4d7f6a))(je||{});const _i=new Set([X['InsertSheetMutation']['id']]);function Ke(_0x5a3be1,_0x2aad56,_0x1a8cfa,_0x210e7d,_0x42cf74){var _0x56dc30=_0x5d9338,_0x50d164,_0x39b609,_0x1db335,_0x15ffc6;const _0x5f02ef=[];for(const _0x4858ab of _0x5a3be1)if(_i['has'](_0x4858ab['id'])){if(_0x5f02ef['length']>0x0)break;_0x5f02ef[_0x56dc30(0x206)](_0x4858ab);break;}else _0x5f02ef['push'](_0x4858ab);const _0x33208=(_0x39b609=(_0x50d164=_0x42cf74['getCurrentUser']())==null?void 0x0:_0x50d164[_0x56dc30(0x274)])!=null?_0x39b609:_0x56dc30(0x154),_0x5f4a95=(_0x15ffc6=(_0x1db335=_0x42cf74[_0x56dc30(0x163)]())==null?void 0x0:_0x1db335['memberID'])!=null?_0x15ffc6:'unknown';return{'changeset':{'unitID':_0x2aad56,'type':I[_0x56dc30(0x1ff)](_0x1a8cfa[_0x56dc30(0x281)](_0x2aad56)),'baseRev':_0x210e7d['getCurrentRevOfUnit'](_0x2aad56),'revision':0x0,'userID':_0x33208,'memberID':_0x5f4a95,'mutations':_0x5f02ef},'pendingMutations':_0x5a3be1[_0x56dc30(0x43e)](_0x5f02ef[_0x56dc30(0x2f8)])};}function li(_0x5c7279,_0x4c0bbf,_0x4c31ea,_0xc85fe7,_0x40f02c){var _0x27c0bd=_0x5d9338,_0x29c61a,_0x46e13f,_0x5d1c9c,_0x524a85;const _0x406859=[_0x5c7279[_0x27c0bd(0x3c6)]((_0x43d6b5,_0x2f2757)=>{var _0x1e44c4=_0x27c0bd,_0x4c699f;const {id:_0x5d97bb}=_0x43d6b5,{id:_0xfde6bb,type:_0x44bbfd}=_0x2f2757,_0xa745c1=(_0x4c699f=_0x43d6b5['params'])!=null?_0x4c699f:{'actions':null},_0x1e9793=_0x2f2757[_0x1e44c4(0x30a)];if(_0x5d97bb&&_0x5d97bb!==_0xfde6bb)throw new Error(_0x1e44c4(0x266)+_0x5d97bb+_0x1e44c4(0x2b8)+_0xfde6bb+'.');return{..._0x43d6b5,'id':_0xfde6bb,'type':_0x44bbfd,'params':{'unitId':_0x1e9793[_0x1e44c4(0x300)],'textRanges':_0x1e9793[_0x1e44c4(0x381)],'actions':a[_0x1e44c4(0x3b4)][_0x1e44c4(0x17b)](_0xa745c1['actions'],_0x1e9793['actions'])}};},{})],_0x233e6b=(_0x46e13f=(_0x29c61a=_0x40f02c[_0x27c0bd(0x163)]())==null?void 0x0:_0x29c61a[_0x27c0bd(0x274)])!=null?_0x46e13f:'unknown',_0x34a719=(_0x524a85=(_0x5d1c9c=_0x40f02c[_0x27c0bd(0x163)]())==null?void 0x0:_0x5d1c9c[_0x27c0bd(0x1d8)])!=null?_0x524a85:_0x27c0bd(0x154);return{'changeset':{'unitID':_0x4c0bbf,'type':I[_0x27c0bd(0x1ff)](_0x4c31ea[_0x27c0bd(0x281)](_0x4c0bbf)),'baseRev':_0xc85fe7['getCurrentRevOfUnit'](_0x4c0bbf),'revision':0x0,'userID':_0x233e6b,'memberID':_0x34a719,'mutations':_0x406859},'pendingMutations':[]};}function bt(_0x1f787c,_0x908918){var _0x2f70f9=_0x5d9338;const _0x4bd2d4=new $[(_0x2f70f9(0x1c5))](0x1);return setTimeout(()=>_0x4bd2d4[_0x2f70f9(0x1c8)](_0x908918),_0x1f787c),_0x4bd2d4[_0x2f70f9(0x203)]()[_0x2f70f9(0x1d1)]($[_0x2f70f9(0x2b2)](0x1));}const ui={'id':X[_0x5d9338(0x3d2)]['id'],'type':a[_0x5d9338(0x273)][_0x5d9338(0x190)],'params':{}};var di=Object[_0x5d9338(0x254)],ae=(_0x20becd,_0x53049e,_0x1b8a2d,_0x12a844)=>{var _0x52aaed=_0x5d9338;for(var _0x126c7b=_0x12a844>0x1?void 0x0:_0x12a844?di(_0x53049e,_0x1b8a2d):_0x53049e,_0x2876f3=_0x20becd[_0x52aaed(0x2f8)]-0x1,_0x5aa2f3;_0x2876f3>=0x0;_0x2876f3--)(_0x5aa2f3=_0x20becd[_0x2876f3])&&(_0x126c7b=_0x5aa2f3(_0x126c7b)||_0x126c7b);return _0x126c7b;},w=(_0x25136c,_0x593c96)=>(_0x5f2ea3,_0x55829c)=>_0x593c96(_0x5f2ea3,_0x55829c,_0x25136c),Be=(_0xe9abb=>(_0xe9abb['NOT_COLLAB']='not_collab',_0xe9abb['SYNCED']=_0x5d9338(0x2ba),_0xe9abb[_0x5d9338(0x167)]='pending',_0xe9abb[_0x5d9338(0x30c)]=_0x5d9338(0x431),_0xe9abb[_0x5d9338(0x331)]='awaiting_with_pending',_0xe9abb[_0x5d9338(0x1bd)]=_0x5d9338(0x12b),_0xe9abb[_0x5d9338(0x194)]=_0x5d9338(0x336),_0xe9abb[_0x5d9338(0x401)]=_0x5d9338(0x258),_0xe9abb))(Be||{});const Rt=0xea60;class ce{constructor(_0x75ef26,_0x2c856a,_0x13b184,_0x5c64df,_0x44818e,_0x540701,_0x252f46,_0x2fcea3,_0x33c871){var _0x43dc50=_0x5d9338;A(this,_0x43dc50(0x25d),null),A(this,'_pendingMutations',[]),(this[_0x43dc50(0x1c0)]=_0x75ef26,this['type']=_0x2c856a,this[_0x43dc50(0x14f)]=_0x44818e,this[_0x43dc50(0x272)]=_0x540701,this[_0x43dc50(0x1a2)]=_0x252f46,this['_revisionService']=_0x2fcea3,this[_0x43dc50(0x28b)]=_0x33c871,this[_0x43dc50(0x25d)]=_0x13b184,this[_0x43dc50(0x14e)]=_0x5c64df);}[_0x5d9338(0x351)](_0x22612a){var _0x3d3526=_0x5d9338;const _0x55a8f8=this[_0x3d3526(0x204)][_0x3d3526(0x177)](this[_0x3d3526(0x1c0)]);return _0x22612a[_0x3d3526(0x349)]>_0x55a8f8+0x1?(this[_0x3d3526(0x14f)][_0x3d3526(0x12a)]({'from':_0x55a8f8,'to':_0x22612a['revision']-0x1}),!0x0):!0x1;}[_0x5d9338(0x34e)](_0x6df9cc){var _0x579e8e=_0x5d9338;this[_0x579e8e(0x1a2)][_0x579e8e(0x2a4)](this[_0x579e8e(0x1c0)],_0x6df9cc);}['_transformSelections'](_0x223d66){var _0x478ac5=_0x5d9338,_0x3ab65a,_0x5744e2;(_0x5744e2=(_0x3ab65a=this[_0x478ac5(0x14f)])[_0x478ac5(0x175)])==null||_0x5744e2[_0x478ac5(0x244)](_0x3ab65a,_0x223d66);}['_transformIMECache'](_0x292ace){var _0x38dd61=_0x5d9338,_0x463b9b,_0x2fed9b;return(_0x2fed9b=(_0x463b9b=this[_0x38dd61(0x14f)])['onTransformIME'])==null?void 0x0:_0x2fed9b[_0x38dd61(0x244)](_0x463b9b,_0x292ace);}[_0x5d9338(0x1b1)](_0xb70ea2){var _0x1e0449=_0x5d9338,_0xb54309,_0x514fc1;return(_0x514fc1=(_0xb54309=this[_0x1e0449(0x14f)])[_0x1e0449(0x144)])==null?void 0x0:_0x514fc1['call'](_0xb54309,_0xb70ea2);}['_transformRemoteChangesetByIMECache'](_0x36055a){var _0x2ffd45=_0x5d9338,_0x193020,_0x4bb3f9,_0x506c6b;return(_0x506c6b=(_0x4bb3f9=(_0x193020=this[_0x2ffd45(0x14f)])[_0x2ffd45(0x36a)])==null?void 0x0:_0x4bb3f9[_0x2ffd45(0x244)](_0x193020,_0x36055a))!=null?_0x506c6b:_0x36055a;}['_transformRemoteChangesetByStateCache'](_0x421eb8){var _0x1a4b55=_0x5d9338,_0x2111cc,_0x236552,_0x199a37;return(_0x199a37=(_0x236552=(_0x2111cc=this[_0x1a4b55(0x14f)])[_0x1a4b55(0x41b)])==null?void 0x0:_0x236552[_0x1a4b55(0x244)](_0x2111cc,_0x421eb8))!=null?_0x199a37:_0x421eb8;}[_0x5d9338(0x1b4)](_0x2c525a){var _0x1e1138=_0x5d9338,_0x1bf7b7,_0x43c341;if(this[_0x1e1138(0x2c9)]===J[_0x1e1138(0x2e3)]){const {unitID:_0x435257,mutations:_0x3b0129,memberID:_0x295322}=_0x2c525a,_0x1eb820=_0x3b0129[0x0][_0x1e1138(0x30a)][_0x1e1138(0x381)];Array[_0x1e1138(0x456)](_0x1eb820)&&_0x1eb820[_0x1e1138(0x2f8)]>0x0&&((_0x43c341=(_0x1bf7b7=this[_0x1e1138(0x14f)])['onSyncEditingCollabCursor'])==null||_0x43c341[_0x1e1138(0x244)](_0x1bf7b7,{'unitID':_0x435257,'memberID':_0x295322,'textRanges':_0x1eb820}));}}['_updateLocalCache'](){var _0x3bb16b=_0x5d9338,_0x50d316;(_0x50d316=this[_0x3bb16b(0x28b)])==null||_0x50d316[_0x3bb16b(0x114)](this['unitID'],this[_0x3bb16b(0x2c9)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x5d9338(0x3cc)](){var _0x10ab76=_0x5d9338;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x10ab76(0x1c0)]);}[_0x5d9338(0x133)](){var _0x5cc3cc=_0x5d9338;this[_0x5cc3cc(0x204)][_0x5cc3cc(0x24b)](this['unitID']);}[_0x5d9338(0x3c0)](_0xae46c7){var _0xf055bc=_0x5d9338,_0xc506f2;let _0x28b006=this[_0xf055bc(0x357)](_0xae46c7);_0x28b006=this[_0xf055bc(0x1ad)](_0x28b006);const _0x20e82f=a[_0xf055bc(0x287)](_0x28b006[_0xf055bc(0x3d6)],this['_commandService'],{'fromCollab':!0x0});if(!_0x20e82f[_0xf055bc(0x37f)])throw _0x20e82f[_0xf055bc(0x45d)]instanceof Error?_0x20e82f[_0xf055bc(0x45d)]:new Error((_0xc506f2=_0x20e82f['error'])!=null?_0xc506f2:_0xf055bc(0x33f));this['_transformIMECache'](_0x28b006),this[_0xf055bc(0x1b1)](_0x28b006),this[_0xf055bc(0x34e)](_0xae46c7),this[_0xf055bc(0x1dd)](_0x28b006),this['_syncEditingCollabCursor'](_0x28b006),this['_incrementRevisionNumber']();}}exports['SyncedState']=class extends ce{constructor(_0x53feec,_0x59b398,_0x213dae,_0x2dafce,_0x4d7893,_0x2b7a01,_0xaa20b6,_0x2c9c1c,_0x3887fa,_0x54438e){var _0x56b26a=_0x5d9338;super(_0x53feec,_0x59b398,null,[],_0x213dae,_0xaa20b6,_0x2b7a01,_0x2dafce,_0x54438e),A(this,_0x56b26a(0x3e0),_0x56b26a(0x2ba)),(this[_0x56b26a(0x20c)]=_0x4d7893,this[_0x56b26a(0x415)]=_0x2c9c1c,this[_0x56b26a(0x337)]=_0x3887fa,this[_0x56b26a(0x1ca)]=_0x54438e);}[_0x5d9338(0x366)](_0x1b5554){var _0x10d143=_0x5d9338;const _0x25c695=this[_0x10d143(0x20c)][_0x10d143(0x40d)](exports[_0x10d143(0x227)],this[_0x10d143(0x1c0)],this[_0x10d143(0x2c9)],[_0x1b5554],this['_handler']);return _0x25c695[_0x10d143(0x3ca)](),_0x25c695['_updateLocalCache'](),_0x25c695;}[_0x5d9338(0x1a0)](_0x6d537b){var _0x3e1652=_0x5d9338;if(this[_0x3e1652(0x351)](_0x6d537b))return this[_0x3e1652(0x20c)][_0x3e1652(0x40d)](exports[_0x3e1652(0x34d)],this['unitID'],this[_0x3e1652(0x2c9)],null,[],null,[_0x6d537b],this[_0x3e1652(0x14f)]);try{const _0x5f3fcb=this[_0x3e1652(0x337)][_0x3e1652(0x238)](_0x6d537b,[ui]);if(I[_0x3e1652(0x10c)](_0x5f3fcb)){const {c1Prime:_0x38bd9c}=_0x5f3fcb;return this[_0x3e1652(0x3c0)](_0x38bd9c),this;}throw _0x5f3fcb[_0x3e1652(0x45d)];}catch(_0x33054a){return this[_0x3e1652(0x415)][_0x3e1652(0x45d)](_0x33054a),this[_0x3e1652(0x1e0)](!0x1);}}[_0x5d9338(0x1e0)](_0x2b894a){var _0x235e1d=_0x5d9338;return this['_injector'][_0x235e1d(0x40d)](exports[_0x235e1d(0x362)],this[_0x235e1d(0x1c0)],this['type'],null,[],this['_handler'],_0x2b894a);}[_0x5d9338(0x37e)](){var _0x12fc25=_0x5d9338;throw new Error(_0x12fc25(0x3c1));}[_0x5d9338(0x13e)](){var _0x2ccfef=_0x5d9338;throw new Error(_0x2ccfef(0x1d5));}['onRemoteRetry'](){return this;}[_0x5d9338(0x33e)](){var _0x37354e=_0x5d9338;return this[_0x37354e(0x20c)][_0x37354e(0x40d)](exports[_0x37354e(0x411)],this[_0x37354e(0x1c0)],this[_0x37354e(0x2c9)],null,[],this[_0x37354e(0x14f)]);}[_0x5d9338(0x1a3)](){return this;}[_0x5d9338(0x247)](){var _0x22d762=_0x5d9338;throw new Error(_0x22d762(0x1ae));}[_0x5d9338(0x3bf)](){var _0x582181=_0x5d9338;const _0x14bbc1=this[_0x582181(0x204)]['getCurrentRevOfUnit'](this[_0x582181(0x1c0)]);return this['_handler'][_0x582181(0x12a)]({'from':_0x14bbc1,'to':0x0}),this[_0x582181(0x20c)][_0x582181(0x40d)](exports[_0x582181(0x34d)],this[_0x582181(0x1c0)],this[_0x582181(0x2c9)],null,[],null,[],this[_0x582181(0x14f)]);}},exports[_0x5d9338(0x215)]=ae([w(0x3,a['Inject'](I[_0x5d9338(0x2f3)])),w(0x4,a[_0x5d9338(0x15d)](a[_0x5d9338(0x343)])),w(0x5,a['IUndoRedoService']),w(0x6,a[_0x5d9338(0x3ea)]),w(0x7,a[_0x5d9338(0x374)]),w(0x8,I[_0x5d9338(0x3d1)]),w(0x9,a[_0x5d9338(0x2e4)](q))],exports[_0x5d9338(0x215)]),exports[_0x5d9338(0x227)]=class extends ce{constructor(_0x3b69e2,_0x2c7e74,_0xcb6d70,_0x27f4ae,_0x4b88d8,_0x4d571b,_0x2cbc78,_0x5c98cc,_0x2d8666,_0x7e8ec8,_0x384ec0,_0x36f732,_0x2476fd,_0x4405b3){var _0x616171=_0x5d9338;super(_0x3b69e2,_0x2c7e74,null,_0xcb6d70,_0x27f4ae,_0x2d8666,_0x2476fd,_0x4d571b,_0x4405b3),A(this,_0x616171(0x3e0),_0x616171(0x460)),A(this,_0x616171(0x2d7),null),A(this,'_sendingTimer',null),(this['_injector']=_0x4b88d8,this[_0x616171(0x41e)]=_0x2cbc78,this[_0x616171(0x415)]=_0x5c98cc,this['_configService']=_0x7e8ec8,this[_0x616171(0x337)]=_0x384ec0,this['_univerInstanceService']=_0x36f732);}[_0x5d9338(0x366)](_0x5ddcd5){var _0x5b3e01=_0x5d9338;return this[_0x5b3e01(0x14e)][_0x5b3e01(0x206)](_0x5ddcd5),this[_0x5b3e01(0x139)](),this;}[_0x5d9338(0x1a0)](_0x22920f){var _0x1cbd16=_0x5d9338;if(this[_0x1cbd16(0x351)](_0x22920f))return this[_0x1cbd16(0x3c2)](),this[_0x1cbd16(0x20c)]['createInstance'](exports['FetchingMissState'],this[_0x1cbd16(0x1c0)],this['type'],null,this['_pendingMutations'],null,[_0x22920f],this[_0x1cbd16(0x14f)]);try{const _0x4a602f=this['_transformService']['transformMutationsWithChangeset'](_0x22920f,this[_0x1cbd16(0x14e)]);if(I[_0x1cbd16(0x10c)](_0x4a602f)){const {c1Prime:_0x42dbb7,m2Prime:_0x1cfea5}=_0x4a602f;this[_0x1cbd16(0x3c0)](_0x42dbb7);const _0x586e9d=this[_0x1cbd16(0x20c)][_0x1cbd16(0x40d)](exports['PendingState'],this[_0x1cbd16(0x1c0)],this[_0x1cbd16(0x2c9)],_0x1cfea5,this['_handler']);this['_clearScheduledTask']();const _0x2878bc=new Date()[_0x1cbd16(0xfa)](),_0x29e0f3=this[_0x1cbd16(0x2d7)]?Math[_0x1cbd16(0x430)](this[_0x1cbd16(0x2d7)]-_0x2878bc,0x0):this[_0x1cbd16(0x2e0)]();return _0x586e9d[_0x1cbd16(0x3ca)](_0x29e0f3),_0x586e9d;}throw _0x4a602f['error'];}catch(_0x1e7def){return this[_0x1cbd16(0x415)][_0x1cbd16(0x45d)](_0x1e7def),this[_0x1cbd16(0x1e0)](!0x1);}}[_0x5d9338(0x37e)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0xa885a=_0x5d9338;throw new Error(_0xa885a(0x157));}[_0x5d9338(0x44b)](){return this;}[_0x5d9338(0x33e)](){var _0x201a84=_0x5d9338;return this[_0x201a84(0x3c2)](),this[_0x201a84(0x20c)][_0x201a84(0x40d)](exports[_0x201a84(0x411)],this[_0x201a84(0x1c0)],this[_0x201a84(0x2c9)],null,this[_0x201a84(0x14e)],this[_0x201a84(0x14f)]);}['toggleOnline'](){return this;}[_0x5d9338(0x3ca)](_0x114a8d){var _0x31731c=_0x5d9338;const _0x33163=_0x114a8d!=null?_0x114a8d:this[_0x31731c(0x2e0)]();this[_0x31731c(0x2d7)]=new Date()[_0x31731c(0xfa)]()+_0x33163,this[_0x31731c(0x43f)]=setTimeout(()=>{var _0xea621=_0x31731c;this[_0xea621(0x3c2)]();let _0xff7abc=null;switch(this[_0xea621(0x2c9)]){case J[_0xea621(0x3f9)]:{_0xff7abc=Ke(this['_pendingMutations'],this['unitID'],this[_0xea621(0x283)],this[_0xea621(0x204)],this[_0xea621(0x41e)]);break;}case J[_0xea621(0x2e3)]:{this[_0xea621(0x14e)][_0xea621(0x1f4)](_0x5ce7cc=>_0x5ce7cc['id']===ht[_0xea621(0x28c)]['id'])?_0xff7abc=li(this['_pendingMutations'],this['unitID'],this[_0xea621(0x283)],this[_0xea621(0x204)],this[_0xea621(0x41e)]):_0xff7abc=Ke(this[_0xea621(0x14e)],this[_0xea621(0x1c0)],this[_0xea621(0x283)],this[_0xea621(0x204)],this[_0xea621(0x41e)]);break;}default:throw new Error(_0xea621(0x19e)+this[_0xea621(0x2c9)]+_0xea621(0x221));}const {changeset:_0x2af01f,pendingMutations:_0x151a93}=_0xff7abc;this[_0xea621(0x14f)]['onSendChangeset'](_0x2af01f);const _0xa1cf4f=_0x151a93[_0xea621(0x2f8)]?this[_0xea621(0x20c)][_0xea621(0x40d)](exports[_0xea621(0x32a)],this[_0xea621(0x1c0)],this[_0xea621(0x2c9)],_0x2af01f,_0x151a93,this[_0xea621(0x14f)],void 0x0):this['_injector'][_0xea621(0x40d)](exports[_0xea621(0x107)],this[_0xea621(0x1c0)],this[_0xea621(0x2c9)],_0x2af01f,this[_0xea621(0x14f)]);_0xa1cf4f[_0xea621(0x139)](),this['_handler'][_0xea621(0x439)](this,_0xa1cf4f);},_0x33163);}[_0x5d9338(0x2e0)](){var _0xf7de7b=_0x5d9338,_0x15cc4b;const _0x2cad1e=this[_0xf7de7b(0x44f)][_0xf7de7b(0x2ea)](K);return(_0x15cc4b=_0x2cad1e==null?void 0x0:_0x2cad1e[_0xf7de7b(0x34c)])!=null?_0x15cc4b:xt;}[_0x5d9338(0x247)](){var _0x47ca8b=_0x5d9338;throw new Error(_0x47ca8b(0x132));}[_0x5d9338(0x3c2)](){var _0x3c9b72=_0x5d9338;this[_0x3c9b72(0x43f)]!=null&&(clearTimeout(this[_0x3c9b72(0x43f)]),this['_sendingTimer']=null);}[_0x5d9338(0x1e0)](_0x4a6625){var _0x28953a=_0x5d9338;return this[_0x28953a(0x3c2)](),this[_0x28953a(0x20c)][_0x28953a(0x40d)](exports[_0x28953a(0x362)],this[_0x28953a(0x1c0)],this['type'],null,this[_0x28953a(0x14e)],this['_handler'],_0x4a6625);}},exports['PendingState']=ae([w(0x4,a[_0x5d9338(0x15d)](a[_0x5d9338(0x343)])),w(0x5,a[_0x5d9338(0x15d)](I[_0x5d9338(0x2f3)])),w(0x6,a[_0x5d9338(0x15d)](exports[_0x5d9338(0x121)])),w(0x7,a['ILogService']),w(0x8,a[_0x5d9338(0x3ea)]),w(0x9,a[_0x5d9338(0x410)]),w(0xa,I[_0x5d9338(0x3d1)]),w(0xb,a[_0x5d9338(0x397)]),w(0xc,a[_0x5d9338(0x193)]),w(0xd,a['Optional'](q))],exports[_0x5d9338(0x227)]),exports[_0x5d9338(0x107)]=class extends ce{constructor(_0x5995f6,_0x3e81d7,_0x3a7c17,_0xcbf0bc,_0x153bbd,_0x55f7e,_0x6f2698,_0x470ca8,_0x5e3c64,_0xcd665e,_0x3831ba){var _0x35d572=_0x5d9338;super(_0x5995f6,_0x3e81d7,_0x3a7c17,[],_0xcbf0bc,_0x6f2698,_0xcd665e,_0x55f7e,_0x3831ba),A(this,_0x35d572(0x3e0),_0x35d572(0x431)),A(this,_0x35d572(0x234),0x0),A(this,'_resendTimer'),A(this,_0x35d572(0x1a7)),(this['_injector']=_0x153bbd,this[_0x35d572(0x415)]=_0x470ca8,this[_0x35d572(0x337)]=_0x5e3c64);}['appendMutation'](_0x203697){var _0x38d154=_0x5d9338;this[_0x38d154(0x3c2)]();const _0x24e97f=this[_0x38d154(0x20c)][_0x38d154(0x40d)](exports[_0x38d154(0x32a)],this[_0x38d154(0x1c0)],this['type'],this['_awaitingChangeset'],[_0x203697],this[_0x38d154(0x14f)],this['_resendTimer']);return _0x24e97f['_updateLocalCache'](),_0x24e97f;}[_0x5d9338(0x1a0)](_0x6c997b){var _0x40c3e3=_0x5d9338;if(this['_checkMissing'](_0x6c997b))return this[_0x40c3e3(0x3c2)](),this[_0x40c3e3(0x20c)]['createInstance'](exports['FetchingMissState'],this['unitID'],this[_0x40c3e3(0x2c9)],this[_0x40c3e3(0x25d)],[],null,[_0x6c997b],this['_handler']);try{const _0x269197=this[_0x40c3e3(0x337)][_0x40c3e3(0x2d9)]([_0x6c997b],[this[_0x40c3e3(0x25d)]],!0x1);if(I[_0x40c3e3(0x168)](_0x269197)){const {c1Prime:_0xebaa63,c2Prime:_0x190b7e}=_0x269197;this[_0x40c3e3(0x3c0)](_0xebaa63[0x0]),_0x190b7e[0x0][_0x40c3e3(0x354)]=this[_0x40c3e3(0x3cc)](),this[_0x40c3e3(0x3c2)]();const _0x2faab3=this[_0x40c3e3(0x20c)][_0x40c3e3(0x40d)](exports[_0x40c3e3(0x107)],this['unitID'],this[_0x40c3e3(0x2c9)],_0x190b7e[0x0],this['_handler']);return _0x2faab3['_updateLocalCache'](),_0x2faab3;}return this[_0x40c3e3(0x1e0)](!0x1);}catch(_0x102e86){return this[_0x40c3e3(0x415)][_0x40c3e3(0x45d)](_0x102e86),this[_0x40c3e3(0x1e0)](!0x1);}}[_0x5d9338(0x37e)](_0x33932f){var _0x179ec6=_0x5d9338;this[_0x179ec6(0x3c2)]();const _0x43b945=this[_0x179ec6(0x204)]['getCurrentRevOfUnit'](this[_0x179ec6(0x1c0)]);if(_0x33932f['revision']<_0x43b945-0x1)return this;if(this[_0x179ec6(0x351)](_0x33932f))return this[_0x179ec6(0x20c)][_0x179ec6(0x40d)](exports[_0x179ec6(0x34d)],this['unitID'],this[_0x179ec6(0x2c9)],null,[],this[_0x179ec6(0x25d)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x11c51c=this[_0x179ec6(0x20c)][_0x179ec6(0x40d)](exports[_0x179ec6(0x215)],this[_0x179ec6(0x1c0)],this['type'],this[_0x179ec6(0x14f)]);return _0x11c51c['_updateLocalCache'](),_0x11c51c;}[_0x5d9338(0x13e)](_0x14d614){var _0x1f85e6=_0x5d9338;return this[_0x1f85e6(0x1e0)](!!(_0x14d614!=null&&_0x14d614[_0x1f85e6(0x2c1)]));}[_0x5d9338(0x44b)](_0x35d943){var _0x155e5b=_0x5d9338;return this[_0x155e5b(0x234)]>Rt?this[_0x155e5b(0x33e)]():(this[_0x155e5b(0x3df)]=bt(this[_0x155e5b(0x234)],{'timeout':this[_0x155e5b(0x234)],'reqId':_0x35d943['reqId']}),this[_0x155e5b(0x1a7)]=this['_resendTimer'][_0x155e5b(0x31c)](({reqId:_0x4c472a,timeout:_0xbac8cb})=>{var _0x151c38=_0x155e5b;this[_0x151c38(0x241)](_0x4c472a,_0xbac8cb);}),this);}[_0x5d9338(0x33e)](){var _0x5288b6=_0x5d9338;return this[_0x5288b6(0x3c2)](),this[_0x5288b6(0x20c)]['createInstance'](exports[_0x5288b6(0x411)],this['unitID'],this[_0x5288b6(0x2c9)],this['_awaitingChangeset'],[],this[_0x5288b6(0x14f)]);}[_0x5d9338(0x1a3)](){return this;}[_0x5d9338(0x247)](){var _0xdf1a31=_0x5d9338;this[_0xdf1a31(0x14f)][_0xdf1a31(0x1a4)](this['_awaitingChangeset']);}[_0x5d9338(0x1e0)](_0xaaf8a0){var _0x10007b=_0x5d9338;return this['_clearScheduledTask'](),this['_injector'][_0x10007b(0x40d)](exports['ConflictState'],this[_0x10007b(0x1c0)],this[_0x10007b(0x2c9)],this[_0x10007b(0x25d)],[],this[_0x10007b(0x14f)],_0xaaf8a0);}[_0x5d9338(0x241)](_0x993659,_0x5390c3){var _0x2063ea=_0x5d9338,_0x148adb;_0x993659===((_0x148adb=this[_0x2063ea(0x25d)])==null?void 0x0:_0x148adb['reqId'])&&(this['resend'](),this['_resendTimeout']=_0x5390c3===0x0?0x3e8:_0x5390c3*0x2);}[_0x5d9338(0x3c2)](){var _0x274de3=_0x5d9338,_0x4be185;(_0x4be185=this[_0x274de3(0x1a7)])==null||_0x4be185['unsubscribe'](),this['_resendTimeout']=0x0;}},exports[_0x5d9338(0x107)]=ae([w(0x4,a['Inject'](a[_0x5d9338(0x343)])),w(0x5,a[_0x5d9338(0x15d)](I[_0x5d9338(0x2f3)])),w(0x6,a[_0x5d9338(0x3ea)]),w(0x7,a[_0x5d9338(0x374)]),w(0x8,I['ITransformService']),w(0x9,a[_0x5d9338(0x193)]),w(0xa,a[_0x5d9338(0x2e4)](q))],exports[_0x5d9338(0x107)]),exports['AwaitingWithPendingState']=class extends ce{constructor(_0x4082de,_0x5cfded,_0x14b81a,_0x1dca78,_0x358246,_0x30ca50,_0x5ec50a,_0x230f01,_0xe05ff8,_0xe16e8f,_0x23de11,_0x2e9c8e,_0x4ee8cd){var _0x481f85=_0x5d9338;super(_0x4082de,_0x5cfded,_0x14b81a,_0x1dca78,_0x358246,_0xe05ff8,_0x2e9c8e,_0x230f01,_0x4ee8cd),A(this,_0x481f85(0x3e0),'awaiting_with_pending'),A(this,_0x481f85(0x234),0x0),A(this,_0x481f85(0x3df)),A(this,_0x481f85(0x1a7)),(this[_0x481f85(0x20c)]=_0x5ec50a,this[_0x481f85(0x415)]=_0xe16e8f,this[_0x481f85(0x337)]=_0x23de11,this[_0x481f85(0x1ca)]=_0x4ee8cd,_0x30ca50&&(this[_0x481f85(0x3df)]=_0x30ca50,this[_0x481f85(0x1a7)]=this['_resendTimer']['subscribe'](({reqId:_0x3c4dbb,timeout:_0x5bf8})=>{var _0x1fa99f=_0x481f85;this[_0x1fa99f(0x241)](_0x3c4dbb,_0x5bf8);})));}[_0x5d9338(0x366)](_0x1279ff){var _0x21eb77=_0x5d9338;return this[_0x21eb77(0x14e)][_0x21eb77(0x206)](_0x1279ff),this;}[_0x5d9338(0x1a0)](_0xf7a78b){var _0x1577bc=_0x5d9338;if(this['_checkMissing'](_0xf7a78b))return this['_clearScheduledTask'](),this[_0x1577bc(0x20c)][_0x1577bc(0x40d)](exports[_0x1577bc(0x34d)],this['unitID'],this[_0x1577bc(0x2c9)],this[_0x1577bc(0x25d)],this['_pendingMutations'],null,[_0xf7a78b],this['_handler']);try{const _0x173abf=this[_0x1577bc(0x337)][_0x1577bc(0x2d9)]([_0xf7a78b],[this[_0x1577bc(0x25d)]],!0x1);if(I[_0x1577bc(0x168)](_0x173abf)){const {c1Prime:_0x4fc2b6,c2Prime:_0x5c0f59}=_0x173abf,_0x3b1b8a=this[_0x1577bc(0x337)][_0x1577bc(0x238)](_0x4fc2b6[0x0],this[_0x1577bc(0x14e)]);if(I[_0x1577bc(0x10c)](_0x3b1b8a)){const {c1Prime:_0x199cf6,m2Prime:_0x1d29bf}=_0x3b1b8a;return this[_0x1577bc(0x3c0)](_0x199cf6),_0x5c0f59[0x0][_0x1577bc(0x354)]=this[_0x1577bc(0x3cc)](),this[_0x1577bc(0x3c2)](),this[_0x1577bc(0x20c)]['createInstance'](exports['AwaitingWithPendingState'],this[_0x1577bc(0x1c0)],this[_0x1577bc(0x2c9)],_0x5c0f59[0x0],_0x1d29bf,this[_0x1577bc(0x14f)],void 0x0);}throw _0x3b1b8a[_0x1577bc(0x45d)];}throw _0x173abf[_0x1577bc(0x45d)];}catch(_0x2aa05d){return this['_logService'][_0x1577bc(0x45d)](_0x2aa05d),this[_0x1577bc(0x1e0)](!0x1);}}[_0x5d9338(0x37e)](_0x26f7f1){var _0x3497c0=_0x5d9338;if(this[_0x3497c0(0x3c2)](),this[_0x3497c0(0x351)](_0x26f7f1))return this[_0x3497c0(0x20c)][_0x3497c0(0x40d)](exports[_0x3497c0(0x34d)],this['unitID'],this[_0x3497c0(0x2c9)],null,this[_0x3497c0(0x14e)],this['_awaitingChangeset'],[],this[_0x3497c0(0x14f)]);this['_incrementRevisionNumber']();const _0x4a9a3e=this[_0x3497c0(0x20c)][_0x3497c0(0x40d)](exports[_0x3497c0(0x227)],this[_0x3497c0(0x1c0)],this[_0x3497c0(0x2c9)],this['_pendingMutations'],this['_handler']);return _0x4a9a3e[_0x3497c0(0x3ca)](),_0x4a9a3e[_0x3497c0(0x139)](),_0x4a9a3e;}[_0x5d9338(0x13e)](_0x3548f1){var _0x2146f5=_0x5d9338;return this[_0x2146f5(0x1e0)](!!(_0x3548f1!=null&&_0x3548f1[_0x2146f5(0x2c1)]));}[_0x5d9338(0x44b)](_0x5a371d){var _0x2c5e20=_0x5d9338;return this[_0x2c5e20(0x234)]>Rt?this[_0x2c5e20(0x33e)]():(this[_0x2c5e20(0x3df)]=bt(this['_resendTimeout'],{'timeout':this[_0x2c5e20(0x234)],'reqId':_0x5a371d[_0x2c5e20(0x3f7)]}),this['_sender']=this['_resendTimer'][_0x2c5e20(0x31c)](({reqId:_0x3ec5c0,timeout:_0x5d7ff9})=>{var _0x374465=_0x2c5e20;this[_0x374465(0x241)](_0x3ec5c0,_0x5d7ff9);}),this);}[_0x5d9338(0x33e)](){var _0x5cdc1f=_0x5d9338;return this[_0x5cdc1f(0x3c2)](),this[_0x5cdc1f(0x20c)]['createInstance'](exports[_0x5cdc1f(0x411)],this['unitID'],this['type'],this[_0x5cdc1f(0x25d)],this[_0x5cdc1f(0x14e)],this['_handler']);}[_0x5d9338(0x1a3)](){return this;}[_0x5d9338(0x247)](){var _0x5687d6=_0x5d9338;this[_0x5687d6(0x14f)]['onSendChangeset'](this[_0x5687d6(0x25d)]);}[_0x5d9338(0x1e0)](_0x39d6ed){var _0x1d8920=_0x5d9338;return this[_0x1d8920(0x3c2)](),this[_0x1d8920(0x20c)]['createInstance'](exports[_0x1d8920(0x362)],this[_0x1d8920(0x1c0)],this[_0x1d8920(0x2c9)],null,this[_0x1d8920(0x14e)],this[_0x1d8920(0x14f)],_0x39d6ed);}[_0x5d9338(0x241)](_0x2b6a18,_0x39ab28){var _0x2ab2d0=_0x5d9338,_0xf231e6;_0x2b6a18===((_0xf231e6=this[_0x2ab2d0(0x25d)])==null?void 0x0:_0xf231e6[_0x2ab2d0(0x3f7)])&&(this[_0x2ab2d0(0x247)](),this[_0x2ab2d0(0x234)]=_0x39ab28===0x0?0x3e8:_0x39ab28*0x2);}['_clearScheduledTask'](){var _0x542371=_0x5d9338,_0x50134b;(_0x50134b=this[_0x542371(0x1a7)])==null||_0x50134b[_0x542371(0x338)](),this[_0x542371(0x234)]=0x0;}},exports[_0x5d9338(0x32a)]=ae([w(0x6,a['Inject'](a[_0x5d9338(0x343)])),w(0x7,a[_0x5d9338(0x15d)](I['RevisionService'])),w(0x8,a[_0x5d9338(0x3ea)]),w(0x9,a['ILogService']),w(0xa,I[_0x5d9338(0x3d1)]),w(0xb,a['IUndoRedoService']),w(0xc,a['Optional'](q))],exports[_0x5d9338(0x32a)]),exports[_0x5d9338(0x362)]=class extends ce{constructor(_0x413de6,_0x3448ae,_0x474916,_0xb8007f,_0x86f74d,_0x2b1a8a=!0x1,_0x36d1d3,_0x309582,_0x29a784,_0xa3a51f,_0x1efd5b,_0x4e7dca,_0x2a1add){var _0x4b112d=_0x5d9338;super(_0x413de6,_0x3448ae,_0x474916,_0xb8007f,_0x86f74d,_0x309582,_0x29a784,_0xa3a51f,_0x2a1add),A(this,_0x4b112d(0x3e0),_0x4b112d(0x336)),(this[_0x4b112d(0x182)]=_0x2b1a8a,this[_0x4b112d(0x135)]=_0x36d1d3,this[_0x4b112d(0x2be)]=_0x1efd5b,this[_0x4b112d(0x116)]=_0x4e7dca,this[_0x4b112d(0x1ca)]=_0x2a1add,this[_0x4b112d(0x306)](),this[_0x4b112d(0x3b8)](),this[_0x4b112d(0x125)]());}[_0x5d9338(0x366)](){return this;}[_0x5d9338(0x1a0)](){return this;}[_0x5d9338(0x37e)](){return this;}[_0x5d9338(0x13e)](){return this;}[_0x5d9338(0x44b)](){return this;}['toggleOffline'](){return this;}[_0x5d9338(0x1a3)](){return this;}['resend'](){var _0x48456c=_0x5d9338;throw new Error(_0x48456c(0x14c));}[_0x5d9338(0x3b8)](){var _0x2c5077=_0x5d9338,_0x2c9da0;(_0x2c9da0=this[_0x2c5077(0x28b)])==null||_0x2c9da0[_0x2c5077(0x114)](this[_0x2c5077(0x1c0)],this[_0x2c5077(0x2c9)],null,[]);}['_showConflictNotification'](){var _0x1e0292=_0x5d9338;this[_0x1e0292(0x182)]?this[_0x1e0292(0x116)][_0x1e0292(0x20e)]({'id':Z[_0x1e0292(0x1d4)]}):this[_0x1e0292(0x116)][_0x1e0292(0x20e)]({'id':Z[_0x1e0292(0x194)]});}[_0x5d9338(0x125)](){var _0x4acfea=_0x5d9338;this[_0x4acfea(0x135)][_0x4acfea(0x422)](new X['WorkbookEditablePermission'](this['unitID'])['id'],!0x1);}},exports[_0x5d9338(0x362)]=ae([w(0x6,a[_0x5d9338(0x15d)](a['IPermissionService'])),w(0x7,a[_0x5d9338(0x3ea)]),w(0x8,a[_0x5d9338(0x193)]),w(0x9,a['Inject'](I[_0x5d9338(0x2f3)])),w(0xa,a['Inject'](a[_0x5d9338(0x162)])),w(0xb,a['Inject'](ee)),w(0xc,a[_0x5d9338(0x2e4)](q))],exports['ConflictState']),exports[_0x5d9338(0x411)]=class extends ce{constructor(_0x4f76b6,_0x30fa68,_0x2854b7,_0x50885e,_0x439343,_0x166b49,_0xa8d64a,_0x41e197,_0x474b71,_0x7e4f17){var _0x24a4d3=_0x5d9338;super(_0x4f76b6,_0x30fa68,_0x2854b7,_0x50885e,_0x439343,_0x41e197,_0x474b71,_0xa8d64a,_0x7e4f17),A(this,'status',_0x24a4d3(0x258)),this[_0x24a4d3(0x20c)]=_0x166b49;}[_0x5d9338(0x366)](_0x25236f){var _0x201ce4=_0x5d9338;return this['_pendingMutations'][_0x201ce4(0x206)](_0x25236f),this[_0x201ce4(0x139)](),this;}[_0x5d9338(0x1a0)](_0x3e98ba){var _0x2e237a=_0x5d9338;throw new Error(_0x2e237a(0x3c3));}[_0x5d9338(0x37e)](){var _0x31d33c=_0x5d9338;throw new Error(_0x31d33c(0x1dc));}['onRemoteRej'](){var _0x25509f=_0x5d9338;throw new Error(_0x25509f(0x1d2));}[_0x5d9338(0x44b)](){return this;}[_0x5d9338(0x33e)](){return this;}['toggleOnline'](){var _0x59b9c5=_0x5d9338;const {_injector:_0x76f825,_pendingMutations:_0x5b158e,_awaitingChangeset:_0x3f4e2b,unitID:_0x3227a0,_handler:_0x1b6d68,type:_0x50ce36}=this,_0x2ed41f=Ot(_0x76f825,_0x3227a0,_0x50ce36,_0x3f4e2b,_0x5b158e,_0x1b6d68);return _0x2ed41f instanceof exports[_0x59b9c5(0x227)]?_0x2ed41f[_0x59b9c5(0x3ca)]():(_0x2ed41f instanceof exports[_0x59b9c5(0x32a)]||_0x2ed41f instanceof exports[_0x59b9c5(0x107)])&&_0x2ed41f['resend'](),_0x2ed41f;}['resend'](){var _0x28845f=_0x5d9338;throw new Error(_0x28845f(0x2fc));}},exports[_0x5d9338(0x411)]=ae([w(0x5,a[_0x5d9338(0x15d)](a[_0x5d9338(0x343)])),w(0x6,a[_0x5d9338(0x15d)](I[_0x5d9338(0x2f3)])),w(0x7,a[_0x5d9338(0x3ea)]),w(0x8,a[_0x5d9338(0x193)]),w(0x9,a[_0x5d9338(0x2e4)](q))],exports['OfflineState']),exports['FetchingMissState']=class extends ce{constructor(_0x117438,_0x350555,_0x240189,_0x351190,_0x3e2b8,_0x387d1f,_0x424d41,_0x40a201,_0xa8225e,_0x7b2714,_0x16810f,_0x28862a,_0x5a766d,_0x5734d3){var _0x2b8879=_0x5d9338;super(_0x117438,_0x350555,_0x240189,_0x351190,_0x424d41,_0x16810f,_0x28862a,_0xa8225e,_0x5734d3),A(this,_0x2b8879(0x3e0),_0x2b8879(0x12b)),(this[_0x2b8879(0x1d9)]=_0x3e2b8,this[_0x2b8879(0x1fd)]=_0x387d1f,this['_injector']=_0x40a201,this[_0x2b8879(0x415)]=_0x7b2714,this[_0x2b8879(0x337)]=_0x5a766d,this['localCacheService']=_0x5734d3);}[_0x5d9338(0x34f)](_0x58bc78){var _0x485ef0=_0x5d9338;try{const _0x3d373d=[..._0x58bc78,...this[_0x485ef0(0x1fd)]],_0x43c535=[this[_0x485ef0(0x25d)]||this[_0x485ef0(0x1d9)]][_0x485ef0(0x45e)](_0x598173=>!!_0x598173);let _0x18abf0,_0x3d17f2;if(_0x43c535['length']){const _0x3678e7=this[_0x485ef0(0x337)][_0x485ef0(0x2d9)](_0x3d373d,_0x43c535,!0x1);if(!I['isTransformChangesetsSuccess'](_0x3678e7))throw _0x3678e7[_0x485ef0(0x45d)];_0x18abf0=_0x3678e7[_0x485ef0(0x1f0)],_0x3d17f2=_0x3678e7[_0x485ef0(0x21d)];}else _0x18abf0=_0x3d373d,_0x3d17f2=[];let _0x98abb4=this[_0x485ef0(0x14e)];_0x18abf0['forEach'](_0x74dc69=>{var _0x1009c5=_0x485ef0;let _0x1be156;if(_0x98abb4['length']){const _0x383e28=this[_0x1009c5(0x337)][_0x1009c5(0x238)](_0x74dc69,_0x98abb4);if(!I[_0x1009c5(0x10c)](_0x383e28))throw _0x383e28[_0x1009c5(0x45d)];_0x1be156=_0x383e28['c1Prime'],_0x98abb4=_0x383e28[_0x1009c5(0x457)];}else _0x1be156=_0x74dc69;this[_0x1009c5(0x3c0)](_0x1be156);}),this[_0x485ef0(0x1d9)]&&this[_0x485ef0(0x133)](),this[_0x485ef0(0x25d)]&&_0x3d17f2[_0x485ef0(0x2f8)]&&(_0x3d17f2[0x0][_0x485ef0(0x354)]=this['_getCurrentRevision']());let _0x2dad21;if(this['_awaitingChangeset']&&_0x98abb4['length']!==0x0)_0x2dad21=this[_0x485ef0(0x20c)][_0x485ef0(0x40d)](exports['AwaitingWithPendingState'],this[_0x485ef0(0x1c0)],this[_0x485ef0(0x2c9)],_0x3d17f2[0x0],_0x98abb4,this[_0x485ef0(0x14f)],void 0x0);else{if(this[_0x485ef0(0x25d)]&&_0x98abb4[_0x485ef0(0x2f8)]===0x0)_0x3d17f2[0x0][_0x485ef0(0x354)]=this[_0x485ef0(0x3cc)](),_0x2dad21=this[_0x485ef0(0x20c)][_0x485ef0(0x40d)](exports[_0x485ef0(0x107)],this[_0x485ef0(0x1c0)],this[_0x485ef0(0x2c9)],_0x3d17f2[0x0],this[_0x485ef0(0x14f)]);else{if(_0x98abb4[_0x485ef0(0x2f8)]!==0x0){const _0xc67319=this[_0x485ef0(0x20c)][_0x485ef0(0x40d)](exports[_0x485ef0(0x227)],this['unitID'],this[_0x485ef0(0x2c9)],_0x98abb4,this['_handler']);_0xc67319['_schedule'](),_0x2dad21=_0xc67319;}else _0x2dad21=this[_0x485ef0(0x20c)][_0x485ef0(0x40d)](exports['SyncedState'],this[_0x485ef0(0x1c0)],this[_0x485ef0(0x2c9)],this['_handler']);}}return _0x2dad21[_0x485ef0(0x139)](),_0x2dad21;}catch(_0x88ac0f){return this[_0x485ef0(0x415)][_0x485ef0(0x45d)](_0x485ef0(0x18a),_0x485ef0(0x43c),_0x88ac0f),this[_0x485ef0(0x20c)]['createInstance'](exports[_0x485ef0(0x362)],this['unitID'],this[_0x485ef0(0x2c9)],this[_0x485ef0(0x25d)],this['_pendingMutations'],this[_0x485ef0(0x14f)],!0x1);}}['resend'](){var _0x1919a2=_0x5d9338;throw new Error(_0x1919a2(0x347));}[_0x5d9338(0x366)](_0x20f353){var _0x1d51ef=_0x5d9338;return this[_0x1d51ef(0x14e)]['push'](_0x20f353),this;}[_0x5d9338(0x1a0)](_0x58c46d){return this['_queuedRemoteChangesets']['push'](_0x58c46d),this;}[_0x5d9338(0x37e)](_0xdae74c){var _0x1e3c9e=_0x5d9338;if(this[_0x1e3c9e(0x25d)])return this[_0x1e3c9e(0x1d9)]=this[_0x1e3c9e(0x25d)],this[_0x1e3c9e(0x25d)]=null,this;throw new Error(_0x1e3c9e(0x1a8));}['onRemoteRej'](_0x1a5f95){var _0x53c0f6=_0x5d9338;return this['_onConflict'](!!(_0x1a5f95!=null&&_0x1a5f95[_0x53c0f6(0x2c1)]));}['onRemoteRetry'](){return this;}[_0x5d9338(0x33e)](){var _0x1b7151=_0x5d9338;return this['_injector']['createInstance'](exports[_0x1b7151(0x411)],this[_0x1b7151(0x1c0)],this['type'],this[_0x1b7151(0x25d)],this[_0x1b7151(0x14e)],this['_handler']);}[_0x5d9338(0x1a3)](){return this;}[_0x5d9338(0x1e0)](_0x54eb77){var _0x5744f9=_0x5d9338;return this[_0x5744f9(0x20c)][_0x5744f9(0x40d)](exports[_0x5744f9(0x362)],this['unitID'],this['type'],this[_0x5744f9(0x25d)],this['_pendingMutations'],this[_0x5744f9(0x14f)],_0x54eb77);}},exports[_0x5d9338(0x34d)]=ae([w(0x7,a[_0x5d9338(0x15d)](a[_0x5d9338(0x343)])),w(0x8,a['Inject'](I[_0x5d9338(0x2f3)])),w(0x9,a[_0x5d9338(0x374)]),w(0xa,a[_0x5d9338(0x3ea)]),w(0xb,a['IUndoRedoService']),w(0xc,I[_0x5d9338(0x3d1)]),w(0xd,a[_0x5d9338(0x2e4)](q))],exports[_0x5d9338(0x34d)]);function Ot(_0x1dcb35,_0x253456,_0x3cffc0,_0x2708fd,_0x371403,_0x5ceb3b){var _0xb90f16=_0x5d9338;return _0x2708fd&&_0x371403[_0xb90f16(0x2f8)]?_0x1dcb35['createInstance'](exports[_0xb90f16(0x32a)],_0x253456,_0x3cffc0,_0x2708fd,_0x371403,_0x5ceb3b,void 0x0):_0x2708fd?_0x1dcb35[_0xb90f16(0x40d)](exports[_0xb90f16(0x107)],_0x253456,_0x3cffc0,_0x2708fd,_0x5ceb3b):_0x371403[_0xb90f16(0x2f8)]?_0x1dcb35[_0xb90f16(0x40d)](exports[_0xb90f16(0x227)],_0x253456,_0x3cffc0,_0x371403,_0x5ceb3b):_0x1dcb35['createInstance'](exports[_0xb90f16(0x215)],_0x253456,_0x3cffc0,_0x5ceb3b);}var vi=Object[_0x5d9338(0x254)],Fe=(_0x286502,_0xf0fb65,_0x5e3361,_0x360d89)=>{var _0x25f9bb=_0x5d9338;for(var _0x52cb98=_0x360d89>0x1?void 0x0:_0x360d89?vi(_0xf0fb65,_0x5e3361):_0xf0fb65,_0xf49a48=_0x286502[_0x25f9bb(0x2f8)]-0x1,_0x38b7bb;_0xf49a48>=0x0;_0xf49a48--)(_0x38b7bb=_0x286502[_0xf49a48])&&(_0x52cb98=_0x38b7bb(_0x52cb98)||_0x52cb98);return _0x52cb98;},j=(_0x368199,_0x3ad360)=>(_0x1c61cc,_0x4b50da)=>_0x3ad360(_0x1c61cc,_0x4b50da,_0x368199);exports['CollaborationEntity']=class extends a[_0x5d9338(0x429)]{constructor(_0x3ad72d,_0x1d47e3,_0x16b389,_0x18a0fd,_0x59dc78,_0xdb6524,_0x45a47e,_0x5a9b5e,_0x2d844b,_0x3208a,_0x219e67,_0x32fca3,_0x4b0523){var _0x407d58=_0x5d9338;super(),A(this,_0x407d58(0x197),new $[(_0x407d58(0x1e2))](null)),A(this,'state$',this[_0x407d58(0x197)][_0x407d58(0x203)]()),A(this,_0x407d58(0xff)),A(this,_0x407d58(0xfc),!0x1),A(this,_0x407d58(0x350),''),A(this,_0x407d58(0x1cb),0x0),A(this,_0x407d58(0x399),this['state$']['pipe']($[_0x407d58(0x31a)](_0x2a9161=>_0x2a9161?_0x2a9161[_0x407d58(0x3e0)]:Be[_0x407d58(0x401)]),$[_0x407d58(0x388)](0x1))),A(this,_0x407d58(0x3fb),!0x1),A(this,_0x407d58(0x2dc),[]),(this[_0x407d58(0x1c0)]=_0x3ad72d,this[_0x407d58(0x1b3)]=_0x1d47e3,this['_type']=_0x16b389,this[_0x407d58(0x20c)]=_0x18a0fd,this['_compressMutationService']=_0x59dc78,this[_0x407d58(0x2be)]=_0xdb6524,this['_revisionService']=_0x45a47e,this[_0x407d58(0x38d)]=_0x5a9b5e,this[_0x407d58(0x415)]=_0x2d844b,this[_0x407d58(0x272)]=_0x3208a,this[_0x407d58(0x135)]=_0x219e67,this['_singleActiveUnitService']=_0x32fca3,this[_0x407d58(0x28b)]=_0x4b0523);}get[_0x5d9338(0x356)](){return this['_state'];}async[_0x5d9338(0x35f)](){var _0x38fa70=_0x5d9338;if(this[_0x38fa70(0x356)])throw new Error(_0x38fa70(0x2bc));await this['_init']();}[_0x5d9338(0x442)](){var _0x45bda4=_0x5d9338;return this[_0x45bda4(0xfc)]=!0x0,a['toDisposable'](()=>{var _0x334fd0=_0x45bda4;this['_collaborationPaused']=!0x1,this[_0x334fd0(0x416)]();});}['onLocalMutation'](_0x1f5496){var _0x177926=_0x5d9338;this[_0x177926(0x25f)](_0x1f5496);}[_0x5d9338(0x299)](_0x40e9a9){var _0x7ca499=_0x5d9338;this[_0x7ca499(0xff)]=_0x40e9a9,this[_0x7ca499(0x197)]['next'](_0x40e9a9);}async[_0x5d9338(0x196)](){var _0x5f0b11=_0x5d9338,_0x5f25b8;this['_updateState'](await this['_createInitialState']()),this[_0x5f0b11(0x1ba)]&&((_0x5f25b8=this[_0x5f0b11(0x1ba)])==null||_0x5f25b8['editingUnit'](this[_0x5f0b11(0x1c0)]),this['disposeWithMe'](this[_0x5f0b11(0x1ba)][_0x5f0b11(0x1b7)](this[_0x5f0b11(0x1c0)])[_0x5f0b11(0x31c)](_0x1186bd=>{var _0x2cb144=_0x5f0b11;this[_0x2cb144(0x415)][_0x2cb144(0x126)](_0x2cb144(0x341),_0x2cb144(0x282),_0x1186bd),_0x1186bd===je[_0x2cb144(0x295)]?(this[_0x2cb144(0x38d)]['emitEvent']({'id':Z['OTHER_CLIENT_EDITING']}),this[_0x2cb144(0x135)][_0x2cb144(0x422)](new X[(_0x2cb144(0x3c8))](this[_0x2cb144(0x1c0)])['id'],!0x1),this['_permissionService'][_0x2cb144(0x1a9)](!0x1)):(this[_0x2cb144(0x135)][_0x2cb144(0x422)](new X[(_0x2cb144(0x3c8))](this[_0x2cb144(0x1c0)])['id'],!0x0),this['_permissionService'][_0x2cb144(0x1a9)](!0x0));})));let _0x9e5db0=!0x1;return this[_0x5f0b11(0x240)](this['session'][_0x5f0b11(0x2cc)][_0x5f0b11(0x31c)](_0x5d8a72=>{var _0x1d5599=_0x5f0b11;_0x5d8a72===re['ONLINE']?this[_0x1d5599(0x19d)](_0x9e5db0):_0x5d8a72===re[_0x1d5599(0x401)]&&(_0x9e5db0=!0x0,this['_toggleOffline']());})),this[_0x5f0b11(0x240)](this[_0x5f0b11(0x1b3)][_0x5f0b11(0x3e9)]['subscribe'](_0x8c2088=>{var _0x257805=_0x5f0b11;try{switch(_0x8c2088[_0x257805(0x3ff)]){case I['CollaborationEvent'][_0x257805(0x402)]:{this[_0x257805(0x2e8)](I['parseProtocolChangeset'](_0x8c2088['data']));break;}case I[_0x257805(0x226)]['CHANGESET_ACK']:{this['_onRemoteACK'](_0x8c2088[_0x257805(0x165)]);break;}case I[_0x257805(0x226)][_0x257805(0x3e2)]:{this['_onRemoteRejected']();break;}case I[_0x257805(0x226)]['CHANGESET_SHOULD_RETRY']:{this[_0x257805(0x279)](_0x8c2088[_0x257805(0x165)]);break;}case I[_0x257805(0x226)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x257805(0x21e)](_0x8c2088['data'][_0x257805(0xfd)][_0x257805(0x31a)](_0x125ec6=>I['parseProtocolChangeset'](_0x125ec6)));break;}case I[_0x257805(0x226)][_0x257805(0x23f)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case I[_0x257805(0x226)][_0x257805(0x2e2)]:break;}}catch(_0x45ba78){throw console[_0x257805(0x45d)](_0x257805(0x2b4),_0x45ba78),_0x45ba78;}})),this[_0x5f0b11(0xff)];}[_0x5d9338(0x155)](){var _0x46560d=_0x5d9338;this[_0x46560d(0x3fb)]=!0x1;}['_lockTransition'](){var _0x16cd3d=_0x5d9338;if(this[_0x16cd3d(0x3fb)])throw new Error(_0x16cd3d(0x352));this[_0x16cd3d(0x3fb)]=!0x0;}['_onLocalMutation'](_0x5889d3){var _0x582b6d=_0x5d9338;this[_0x582b6d(0x310)](),this[_0x582b6d(0x299)](this[_0x582b6d(0xff)][_0x582b6d(0x366)](_0x5889d3)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x565125){var _0x1c9eee=_0x5d9338;if(!(_0x565125[_0x1c9eee(0x349)]<=this['_revisionService'][_0x1c9eee(0x177)](this[_0x1c9eee(0x1c0)]))){if(this['_collaborationPaused']){this[_0x1c9eee(0x2dc)][_0x1c9eee(0x206)](_0x565125);return;}this[_0x1c9eee(0x3cb)](_0x565125);}}[_0x5d9338(0x416)](){var _0xf802d4=_0x5d9338;this[_0xf802d4(0x2dc)][_0xf802d4(0x335)](_0x4958a2=>this['_applyRemoteChangeset'](_0x4958a2)),this['_remoteChangesetQueue']=[];}[_0x5d9338(0x3cb)](_0x73605d){var _0xa28168=_0x5d9338;const _0x41a6cb=this[_0xa28168(0x328)][_0xa28168(0x124)]['fetchThroughInterceptors'](this[_0xa28168(0x328)][_0xa28168(0x124)][_0xa28168(0x19a)]()['COMPRESS_MUTATION_APPLY'])(_0x73605d[_0xa28168(0x3d6)],null)||_0x73605d['mutations'],_0x50727d={..._0x73605d,'mutations':_0x41a6cb};this[_0xa28168(0x310)](),this[_0xa28168(0x299)](this[_0xa28168(0xff)][_0xa28168(0x1a0)](_0x50727d)),this[_0xa28168(0x155)]();}['_onRemoteACK'](_0x252fbd){var _0x442824=_0x5d9338;this['_lockTransition'](),this[_0x442824(0x299)](this['_state']['onRemoteAck'](_0x252fbd)),this[_0x442824(0x155)]();}['_onRemoteRejected'](_0x405e79){var _0x4bb400=_0x5d9338;this[_0x4bb400(0x310)](),this['_updateState'](this['_state'][_0x4bb400(0x13e)](_0x405e79)),this[_0x4bb400(0x155)]();}[_0x5d9338(0x279)](_0x3074fe){var _0x3d4288=_0x5d9338;this[_0x3d4288(0x310)](),this[_0x3d4288(0x299)](this[_0x3d4288(0xff)][_0x3d4288(0x44b)](_0x3074fe)),this['_unlockTransition']();}['_onFetchMissResult'](_0x3f7a5c){var _0x2c6234=_0x5d9338;if(!(this[_0x2c6234(0xff)]instanceof exports[_0x2c6234(0x34d)]))throw new TypeError(_0x2c6234(0x149));const _0x2402c0=_0x3f7a5c[_0x2c6234(0x31a)](_0x10c967=>{var _0x360a8d=_0x2c6234;const _0x5e3ad0=this[_0x360a8d(0x328)][_0x360a8d(0x124)][_0x360a8d(0x10e)](this['_compressMutationService'][_0x360a8d(0x124)][_0x360a8d(0x19a)]()[_0x360a8d(0x348)])(_0x10c967[_0x360a8d(0x3d6)],null)||_0x10c967['mutations'];return{..._0x10c967,'mutations':_0x5e3ad0};});this[_0x2c6234(0x310)](),this[_0x2c6234(0x299)](this[_0x2c6234(0xff)][_0x2c6234(0x34f)](_0x2402c0)),this['_unlockTransition']();}['_toggleOffline'](){var _0x1d230f=_0x5d9338;this[_0x1d230f(0x310)](),this[_0x1d230f(0x299)](this[_0x1d230f(0xff)][_0x1d230f(0x33e)]()),this[_0x1d230f(0x155)]();}[_0x5d9338(0x19d)](_0x1ad143=!0x1){var _0x484db2=_0x5d9338;this['_lockTransition'](),this['_updateState'](this[_0x484db2(0xff)][_0x484db2(0x1a3)]()),this[_0x484db2(0x155)]();const _0x18e516=this[_0x484db2(0xff)];_0x1ad143&&_0x18e516 instanceof exports[_0x484db2(0x215)]&&(this[_0x484db2(0x310)](),this[_0x484db2(0x299)](_0x18e516[_0x484db2(0x3bf)]()),this[_0x484db2(0x155)]());}async[_0x5d9338(0x412)](){return new Promise(_0x139722=>{var _0x1d2611=_0x4a4a;this[_0x1d2611(0x1b3)]['sessionStatus$']['pipe']($[_0x1d2611(0x2b2)](0x1))['subscribe'](async _0x1929b7=>{var _0x1e9e77=_0x1d2611;_0x139722(await this[_0x1e9e77(0x38e)](_0x1929b7===re[_0x1e9e77(0x187)]));});});}['_createHandler'](){const _0x8ab5c8=this['unitID'];return{'onStateChange':(_0x1a72df,_0x163bed)=>{var _0x1e5149=_0x4a4a;if(_0x1a72df!==this[_0x1e5149(0xff)])throw new Error(_0x1e5149(0x289)+_0x1a72df[_0x1e5149(0x3e0)]+_0x1e5149(0x31e)+_0x163bed[_0x1e5149(0x3e0)]+_0x1e5149(0x38c)+this[_0x1e5149(0xff)]['status']);this[_0x1e5149(0x299)](_0x163bed);},'onSendChangeset':_0x12949f=>{var _0x3c067c=_0x4a4a;_0x12949f['sid']||(_0x12949f['sid']=this['_changesetSessionId'],_0x12949f['reqId']=++this[_0x3c067c(0x1cb)]);const _0x5a980a={'eventID':I[_0x3c067c(0x226)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x12949f[_0x3c067c(0x1c0)],'unitType':this['_type'],'changeset':_0x12949f,'memberID':this[_0x3c067c(0x1b3)][_0x3c067c(0x18d)]()}};this['session'][_0x3c067c(0x17c)](_0x5a980a,this[_0x3c067c(0x1c0)]);},'onMissingChangesets':({from:_0x408682,to:_0x45ad2c})=>{var _0x5c64c=_0x4a4a;this[_0x5c64c(0x415)][_0x5c64c(0x126)](_0x5c64c(0x341),_0x5c64c(0x17a)+_0x408682+_0x5c64c(0x161)+_0x45ad2c);const _0x35a620={'eventID':I['CollaborationEvent'][_0x5c64c(0x2b6)],'data':{'unitID':_0x8ab5c8,'unitType':this['_type'],'from':_0x408682,'to':_0x45ad2c}};this['session'][_0x5c64c(0x17c)](_0x35a620,this[_0x5c64c(0x1c0)]);}};}async[_0x5d9338(0x38e)](_0x1756ba){var _0x483599=_0x5d9338,_0x423815,_0x50c52c,_0x5eb575;const _0x21669d=await((_0x423815=this[_0x483599(0x28b)])==null?void 0x0:_0x423815[_0x483599(0x205)](this[_0x483599(0x1c0)])),_0xc6daa5=(_0x50c52c=_0x21669d==null?void 0x0:_0x21669d[_0x483599(0x3d6)])!=null?_0x50c52c:[],_0x5e9633=(_0x5eb575=_0x21669d==null?void 0x0:_0x21669d[_0x483599(0x25a)])!=null?_0x5eb575:null,_0x28b4c2=!!(_0x5e9633!=null&&_0x5e9633[_0x483599(0x171)])&&!!(_0x5e9633!=null&&_0x5e9633[_0x483599(0x3f7)]);this[_0x483599(0x350)]=_0x28b4c2?_0x5e9633['sid']:I[_0x483599(0x1f1)](),this[_0x483599(0x1cb)]=_0x28b4c2?_0x5e9633['reqId']:0x0;const _0x18a0df=this[_0x483599(0x1c0)];try{this[_0x483599(0x214)](_0x5e9633,_0xc6daa5);}catch(_0x53aed5){this[_0x483599(0x415)]['error'](_0x53aed5);}const _0x5ee4af=this[_0x483599(0x110)]();if(_0x1756ba){const _0x1ad6c1=Ot(this[_0x483599(0x20c)],_0x18a0df,this['_type'],_0x5e9633,_0xc6daa5,_0x5ee4af);return _0x1ad6c1 instanceof exports[_0x483599(0x227)]?_0x1ad6c1['_schedule']():(_0x1ad6c1 instanceof exports[_0x483599(0x32a)]||_0x1ad6c1 instanceof exports[_0x483599(0x107)])&&_0x1ad6c1['resend'](),_0x1ad6c1;}return this[_0x483599(0x20c)]['createInstance'](exports['OfflineState'],_0x18a0df,this[_0x483599(0x413)],_0x5e9633,_0xc6daa5,_0x5ee4af);}[_0x5d9338(0x214)](_0x403783,_0x2b5a2a){var _0x5e9e0a=_0x5d9338,_0x7db6cf,_0x4e5cbe;const _0x1082cd=this[_0x5e9e0a(0x328)]['interceptor'][_0x5e9e0a(0x10e)](this['_compressMutationService'][_0x5e9e0a(0x124)][_0x5e9e0a(0x19a)]()[_0x5e9e0a(0x348)]);(_0x7db6cf=_0x1082cd((_0x403783==null?void 0x0:_0x403783[_0x5e9e0a(0x3d6)])||[],null))==null||_0x7db6cf[_0x5e9e0a(0x335)](_0x4a4e47=>this[_0x5e9e0a(0x272)][_0x5e9e0a(0x3ba)](_0x4a4e47['id'],_0x4a4e47[_0x5e9e0a(0x30a)])),(_0x4e5cbe=_0x1082cd(_0x2b5a2a||[],null))==null||_0x4e5cbe[_0x5e9e0a(0x335)](_0x13dcbc=>this['_commandService']['executeCommand'](_0x13dcbc['id'],_0x13dcbc[_0x5e9e0a(0x30a)]));}},exports[_0x5d9338(0x2ab)]=Fe([j(0x3,a[_0x5d9338(0x15d)](a[_0x5d9338(0x343)])),j(0x4,a[_0x5d9338(0x15d)](I['CompressMutationService'])),j(0x5,a[_0x5d9338(0x15d)](a[_0x5d9338(0x162)])),j(0x6,a[_0x5d9338(0x15d)](I['RevisionService'])),j(0x7,a[_0x5d9338(0x15d)](ee)),j(0x8,a[_0x5d9338(0x374)]),j(0x9,a[_0x5d9338(0x3ea)]),j(0xa,a[_0x5d9338(0x178)]),j(0xb,a['Optional'](de)),j(0xc,a[_0x5d9338(0x2e4)](q))],exports[_0x5d9338(0x2ab)]),exports[_0x5d9338(0x1da)]=class extends exports[_0x5d9338(0x2ab)]{constructor(_0x160cb9,_0x33ea70,_0x50d01b,_0x550468,_0x5521c3,_0x411869,_0x140dd3,_0x56d10e,_0x4a066d,_0x126ca3,_0x62c1b7,_0x4832e6,_0x401852){var _0x3d740f=_0x5d9338;super(_0x160cb9,_0x50d01b,_0x33ea70,_0x550468,_0x5521c3,_0x411869,_0x140dd3,_0x56d10e,_0x4a066d,_0x126ca3,_0x62c1b7,_0x4832e6,_0x401852),A(this,_0x3d740f(0x208),null),(this[_0x3d740f(0x1c0)]=_0x160cb9,this[_0x3d740f(0x2c9)]=_0x33ea70);}[_0x5d9338(0x16d)](_0x9b72a9){this['_handlerCallback']=_0x9b72a9;}[_0x5d9338(0x109)](){var _0x55ddd3=_0x5d9338;this[_0x55ddd3(0x208)]=null,super['dispose']();}[_0x5d9338(0x110)](){var _0x1c5024=_0x5d9338;const _0x38ff38=super[_0x1c5024(0x110)]();return _0x38ff38[_0x1c5024(0x296)]=_0x25de08=>{var _0x1baeb3=_0x1c5024,_0xc39bbb,_0x30f0e;return(_0x30f0e=(_0xc39bbb=this['_handlerCallback'])==null?void 0x0:_0xc39bbb[_0x1baeb3(0x296)])==null?void 0x0:_0x30f0e[_0x1baeb3(0x244)](_0xc39bbb,_0x25de08);},_0x38ff38[_0x1c5024(0x144)]=_0x1944a2=>{var _0x48e40b=_0x1c5024,_0x5a23cf,_0x15c930;return(_0x15c930=(_0x5a23cf=this[_0x48e40b(0x208)])==null?void 0x0:_0x5a23cf['onTransformState'])==null?void 0x0:_0x15c930['call'](_0x5a23cf,_0x1944a2);},_0x38ff38['onTransformSelections']=_0xb0776a=>{var _0x3ba879=_0x1c5024,_0x18bde9,_0x2c4ee7;return(_0x2c4ee7=(_0x18bde9=this[_0x3ba879(0x208)])==null?void 0x0:_0x18bde9[_0x3ba879(0x175)])==null?void 0x0:_0x2c4ee7[_0x3ba879(0x244)](_0x18bde9,_0xb0776a);},_0x38ff38[_0x1c5024(0x458)]=_0x5ae42f=>{var _0x45cc1a=_0x1c5024,_0x5057b2,_0x5e37d9;return(_0x5e37d9=(_0x5057b2=this[_0x45cc1a(0x208)])==null?void 0x0:_0x5057b2['onSyncEditingCollabCursor'])==null?void 0x0:_0x5e37d9[_0x45cc1a(0x244)](_0x5057b2,_0x5ae42f);},_0x38ff38[_0x1c5024(0x36a)]=_0x29c440=>{var _0x42c963=_0x1c5024,_0x5677b9,_0x113b9e,_0x440848;if(!((_0x5677b9=this[_0x42c963(0x208)])!=null&&_0x5677b9['onTransformRemoteChangesetByIMECache']))throw new Error(_0x42c963(0x290));return(_0x440848=(_0x113b9e=this[_0x42c963(0x208)])==null?void 0x0:_0x113b9e['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x440848['call'](_0x113b9e,_0x29c440);},_0x38ff38[_0x1c5024(0x41b)]=_0x294f79=>{var _0x222297=_0x1c5024,_0x733c4,_0x159636,_0x1150fd;if(!((_0x733c4=this[_0x222297(0x208)])!=null&&_0x733c4[_0x222297(0x41b)]))throw new Error(_0x222297(0x35e));return(_0x1150fd=(_0x159636=this[_0x222297(0x208)])==null?void 0x0:_0x159636[_0x222297(0x41b)])==null?void 0x0:_0x1150fd['call'](_0x159636,_0x294f79);},_0x38ff38;}async[_0x5d9338(0x196)](){var _0x2f1e55=_0x5d9338;const _0x2d809e=await super['_init']();return this[_0x2f1e55(0x240)](this[_0x2f1e55(0x272)][_0x2f1e55(0x436)]((_0x3d6cde,_0x4f723e)=>{var _0x19ef37=_0x2f1e55;if(_0x3d6cde[_0x19ef37(0x2c9)]!==a['CommandType'][_0x19ef37(0x190)]||_0x4f723e!=null&&_0x4f723e[_0x19ef37(0x250)]||_0x4f723e!=null&&_0x4f723e['onlyLocal']||_0x3d6cde['id']===ht[_0x19ef37(0x28c)]['id'])return;const _0x2d9245=_0x3d6cde[_0x19ef37(0x30a)];if((_0x2d9245==null?void 0x0:_0x2d9245[_0x19ef37(0x300)])!==this[_0x19ef37(0x1c0)])return;const _0x1ed7c6=_0x3d6cde,_0x284854=this[_0x19ef37(0x328)][_0x19ef37(0x124)][_0x19ef37(0x10e)](this[_0x19ef37(0x328)][_0x19ef37(0x124)][_0x19ef37(0x19a)]()[_0x19ef37(0x438)])([_0x1ed7c6],null)||[_0x1ed7c6];this[_0x19ef37(0x25f)](_0x284854[0x0]);})),_0x2d809e;}},exports[_0x5d9338(0x1da)]=Fe([j(0x3,a[_0x5d9338(0x15d)](a['Injector'])),j(0x4,a['Inject'](I[_0x5d9338(0x2eb)])),j(0x5,a[_0x5d9338(0x15d)](a[_0x5d9338(0x162)])),j(0x6,a[_0x5d9338(0x15d)](I[_0x5d9338(0x2f3)])),j(0x7,a[_0x5d9338(0x15d)](ee)),j(0x8,a[_0x5d9338(0x374)]),j(0x9,a[_0x5d9338(0x3ea)]),j(0xa,a[_0x5d9338(0x178)]),j(0xb,a[_0x5d9338(0x2e4)](de)),j(0xc,a[_0x5d9338(0x2e4)](q))],exports['DocCollaborationEntity']),exports[_0x5d9338(0x322)]=class extends exports['CollaborationEntity']{constructor(_0xad01d2,_0x2be525,_0x56ae12,_0x3624a5,_0x27344a,_0x4ff5d3,_0x3409d0,_0x38101d,_0xf48f6a,_0x483893,_0x4277af,_0x4f9777,_0x45ddc4,_0x4bbc48){var _0x5b3a51=_0x5d9338;super(_0xad01d2,_0x56ae12,_0x2be525,_0x3624a5,_0x27344a,_0x4ff5d3,_0x3409d0,_0xf48f6a,_0x483893,_0x4277af,_0x4f9777,_0x45ddc4,_0x4bbc48),this[_0x5b3a51(0x1c0)]=_0xad01d2,this['type']=_0x2be525,this[_0x5b3a51(0x1d0)]=_0x38101d;}['_createHandler'](){var _0x4c6691=_0x5d9338;const _0x34dc3a=super['_createHandler']();return _0x34dc3a[_0x4c6691(0x175)]=_0x151629=>this[_0x4c6691(0x1d0)]['transformSelections'](_0x151629),_0x34dc3a;}async[_0x5d9338(0x196)](){var _0x22452f=_0x5d9338;const _0x43c16d=await super[_0x22452f(0x196)]();return this['disposeWithMe'](this[_0x22452f(0x272)]['onCommandExecuted']((_0xd4ed72,_0x3f4a41)=>{var _0x26bb8b=_0x22452f;if(_0xd4ed72[_0x26bb8b(0x2c9)]!==a['CommandType'][_0x26bb8b(0x190)]||_0x3f4a41!=null&&_0x3f4a41['fromCollab']||_0x3f4a41!=null&&_0x3f4a41[_0x26bb8b(0x2c6)])return;const _0x2e9e52=_0xd4ed72['params'];if((_0x2e9e52==null?void 0x0:_0x2e9e52[_0x26bb8b(0x300)])!==this['unitID'])return;const _0x3331cd=_0xd4ed72,_0x283a83=this['_compressMutationService'][_0x26bb8b(0x124)]['fetchThroughInterceptors'](this[_0x26bb8b(0x328)]['interceptor']['getInterceptPoints']()[_0x26bb8b(0x438)])([_0x3331cd],null)||[_0x3331cd];this[_0x26bb8b(0x25f)](_0x283a83[0x0]);})),_0x43c16d;}},exports['SheetCollaborationEntity']=Fe([j(0x3,a[_0x5d9338(0x15d)](a[_0x5d9338(0x343)])),j(0x4,a[_0x5d9338(0x15d)](I[_0x5d9338(0x2eb)])),j(0x5,a[_0x5d9338(0x15d)](a[_0x5d9338(0x162)])),j(0x6,a['Inject'](I[_0x5d9338(0x2f3)])),j(0x7,a[_0x5d9338(0x15d)](exports[_0x5d9338(0x35d)])),j(0x8,a['Inject'](ee)),j(0x9,a[_0x5d9338(0x374)]),j(0xa,a['ICommandService']),j(0xb,a[_0x5d9338(0x178)]),j(0xc,a[_0x5d9338(0x2e4)](de)),j(0xd,a[_0x5d9338(0x2e4)](q))],exports[_0x5d9338(0x322)]);var Si=Object[_0x5d9338(0x254)],fi=(_0x5b345f,_0x2c6acd,_0x5551df,_0x4eab0f)=>{var _0x137fca=_0x5d9338;for(var _0x4f8f98=_0x4eab0f>0x1?void 0x0:_0x4eab0f?Si(_0x2c6acd,_0x5551df):_0x2c6acd,_0x52aa7e=_0x5b345f[_0x137fca(0x2f8)]-0x1,_0x5c33de;_0x52aa7e>=0x0;_0x52aa7e--)(_0x5c33de=_0x5b345f[_0x52aa7e])&&(_0x4f8f98=_0x5c33de(_0x4f8f98)||_0x4f8f98);return _0x4f8f98;},Se=(_0x1cea0a,_0x38c67e)=>(_0x47b9e3,_0x20e8e4)=>_0x38c67e(_0x47b9e3,_0x20e8e4,_0x1cea0a);exports[_0x5d9338(0x245)]=class extends a[_0x5d9338(0x429)]{constructor(_0x40911d,_0xf03f5b,_0x508634,_0x1faacd){var _0x599b5b=_0x5d9338,_0x30dd9c;super(),A(this,_0x599b5b(0x259),new Map()),A(this,_0x599b5b(0x3a5),new $['Subject']()),A(this,'entityInit$',this[_0x599b5b(0x3a5)][_0x599b5b(0x203)]()),(this['_injector']=_0x40911d,this[_0x599b5b(0x459)]=_0xf03f5b,this[_0x599b5b(0x44f)]=_0x508634,this[_0x599b5b(0x283)]=_0x1faacd,((_0x30dd9c=this[_0x599b5b(0x44f)][_0x599b5b(0x2ea)](K))==null?void 0x0:_0x30dd9c['enableCollaboration'])!==!0x1&&this['_init']());}[_0x5d9338(0x109)](){var _0x138ab3=_0x5d9338;super[_0x138ab3(0x109)](),this[_0x138ab3(0x259)][_0x138ab3(0x335)](_0x48cca9=>_0x48cca9[_0x138ab3(0x109)]()),this[_0x138ab3(0x259)][_0x138ab3(0x2bf)]();}[_0x5d9338(0x364)](_0x27b3f0){var _0x2e4087=_0x5d9338,_0x495864;return(_0x495864=this[_0x2e4087(0x259)][_0x2e4087(0x43d)](_0x27b3f0))!=null?_0x495864:null;}[_0x5d9338(0x346)](_0x289cbd){var _0x3d7431=_0x5d9338;const _0x3470db=this['getCollabEntity'](_0x289cbd);return _0x3470db?$['of'](_0x3470db):this[_0x3d7431(0x3a5)][_0x3d7431(0x1d1)](V[_0x3d7431(0x45e)](_0x4fa824=>_0x4fa824[_0x3d7431(0x1c0)]===_0x289cbd));}[_0x5d9338(0x455)](_0x4459dc){var _0x1f9848=_0x5d9338;return $[_0x1f9848(0x1fc)](this[_0x1f9848(0x346)](_0x4459dc)[_0x1f9848(0x1d1)](V['map'](()=>{})));}[_0x5d9338(0x196)](){var _0x3b3e26=_0x5d9338;this[_0x3b3e26(0x283)][_0x3b3e26(0x13b)](a[_0x3b3e26(0x21f)]['UNIVER_SHEET'])[_0x3b3e26(0x1d1)]($[_0x3b3e26(0x1df)](this[_0x3b3e26(0x318)]),V[_0x3b3e26(0x1e9)](0x10))['subscribe'](async _0x470ed1=>{var _0x4c6c13=_0x3b3e26;const _0x4018c2=_0x470ed1[_0x4c6c13(0x1a6)](),_0x6b8b07=await this[_0x4c6c13(0x1bc)](_0x4018c2,J['UNIVER_SHEET']);this[_0x4c6c13(0x259)][_0x4c6c13(0x385)](_0x4018c2,_0x6b8b07);}),this[_0x3b3e26(0x283)][_0x3b3e26(0x13b)](a[_0x3b3e26(0x21f)][_0x3b3e26(0x2e3)])[_0x3b3e26(0x1d1)]($[_0x3b3e26(0x1df)](this['dispose$']),V[_0x3b3e26(0x1e9)](0x10))[_0x3b3e26(0x1d1)](V['filter'](_0x31894a=>!_0x31894a[_0x3b3e26(0x1a6)]()[_0x3b3e26(0x189)]('__')))[_0x3b3e26(0x31c)](async _0x3dcf3e=>{var _0x774b46=_0x3b3e26;const _0x2975e7=_0x3dcf3e[_0x774b46(0x1a6)](),_0x5bde3e=await this[_0x774b46(0x1bc)](_0x2975e7,J[_0x774b46(0x2e3)]);this[_0x774b46(0x259)]['set'](_0x2975e7,_0x5bde3e);}),$[_0x3b3e26(0x17f)](this[_0x3b3e26(0x283)][_0x3b3e26(0x123)](a[_0x3b3e26(0x21f)][_0x3b3e26(0x3f9)]),this[_0x3b3e26(0x283)][_0x3b3e26(0x123)](a[_0x3b3e26(0x21f)][_0x3b3e26(0x2e3)]))[_0x3b3e26(0x1d1)]($['takeUntil'](this[_0x3b3e26(0x318)]))[_0x3b3e26(0x31c)](_0x138bc7=>{var _0x2e329b=_0x3b3e26;const _0x374955=_0x138bc7[_0x2e329b(0x1a6)](),_0x460550=this['_entities'][_0x2e329b(0x43d)](_0x374955);_0x460550&&(_0x460550[_0x2e329b(0x109)](),this[_0x2e329b(0x259)]['delete'](_0x374955));});}async['_startCollaboration'](_0x457d23,_0x36a02d){var _0x41bbe4=_0x5d9338;const _0x17e07b=await this['_collabSessionService'][_0x41bbe4(0x39d)](_0x457d23),_0x16e026=this['_injector']['createInstance'](this[_0x41bbe4(0x3d4)](_0x36a02d),_0x457d23,_0x36a02d,_0x17e07b);return await _0x16e026[_0x41bbe4(0x35f)](),this[_0x41bbe4(0x3a5)]['next'](_0x16e026),_0x16e026;}[_0x5d9338(0x3d4)](_0x1975cf){var _0x53e7ef=_0x5d9338;switch(_0x1975cf){case J[_0x53e7ef(0x2e3)]:return exports[_0x53e7ef(0x1da)];case J[_0x53e7ef(0x3f9)]:return exports[_0x53e7ef(0x322)];default:throw new Error(_0x53e7ef(0x445)+_0x1975cf);}}},exports[_0x5d9338(0x245)]=fi([Se(0x0,a[_0x5d9338(0x15d)](a[_0x5d9338(0x343)])),Se(0x1,a['Inject'](exports[_0x5d9338(0x32f)])),Se(0x2,a[_0x5d9338(0x410)]),Se(0x3,a[_0x5d9338(0x397)])],exports['CollaborationController']);var pi=Object[_0x5d9338(0x254)],Ii=(_0x7e5a90,_0x560f47,_0x41318e,_0x5bd456)=>{var _0xacb433=_0x5d9338;for(var _0x323f93=_0x5bd456>0x1?void 0x0:_0x5bd456?pi(_0x560f47,_0x41318e):_0x560f47,_0x2030b8=_0x7e5a90[_0xacb433(0x2f8)]-0x1,_0x2bbf70;_0x2030b8>=0x0;_0x2030b8--)(_0x2bbf70=_0x7e5a90[_0x2030b8])&&(_0x323f93=_0x2bbf70(_0x323f93)||_0x323f93);return _0x323f93;},Ye=(_0x1c7411,_0x38085a)=>(_0x219e20,_0x4fdc8f)=>_0x38085a(_0x219e20,_0x4fdc8f,_0x1c7411);const gi=_0x5d9338(0x425),Ei='Univer';let xe=class extends a['Disposable']{constructor(_0x401a92,_0x3fdfd5){var _0x5632a8=_0x5d9338;super(),this[_0x5632a8(0x283)]=_0x401a92,this[_0x5632a8(0x44f)]=_0x3fdfd5,this[_0x5632a8(0x196)]();}[_0x5d9338(0x196)](){var _0x4c41dd=_0x5d9338;this[_0x4c41dd(0x240)](this[_0x4c41dd(0x283)]['focused$']['subscribe'](()=>{var _0x159b44=_0x4c41dd,_0x10b80d;const _0x560108=this[_0x159b44(0x283)][_0x159b44(0x465)]();let _0x75c0c2=(_0x10b80d=this[_0x159b44(0x44f)][_0x159b44(0x2ea)](gi))!=null?_0x10b80d:Ei;_0x560108 instanceof a[_0x159b44(0x391)]&&(_0x75c0c2=_0x560108['name']),document['title']=_0x75c0c2;}));}};xe=Ii([Ye(0x0,a[_0x5d9338(0x397)]),Ye(0x1,a[_0x5d9338(0x410)])],xe);var mi=Object[_0x5d9338(0x254)],Ci=(_0x139f2c,_0x4fa230,_0x30de30,_0x2e31bd)=>{var _0x430d26=_0x5d9338;for(var _0x1abdb3=_0x2e31bd>0x1?void 0x0:_0x2e31bd?mi(_0x4fa230,_0x30de30):_0x4fa230,_0x530469=_0x139f2c[_0x430d26(0x2f8)]-0x1,_0x4e17e0;_0x530469>=0x0;_0x530469--)(_0x4e17e0=_0x139f2c[_0x530469])&&(_0x1abdb3=_0x4e17e0(_0x1abdb3)||_0x1abdb3);return _0x1abdb3;},Ae=(_0x30ff18,_0x48e22e)=>(_0x2ce363,_0x5a7af6)=>_0x48e22e(_0x2ce363,_0x5a7af6,_0x30ff18);let ye=class{constructor(_0x1de401,_0x302fed,_0x2f5b7b){var _0x328695=_0x5d9338;this[_0x328695(0x44f)]=_0x1de401,this[_0x328695(0x2ca)]=_0x302fed,this[_0x328695(0x44e)]=_0x2f5b7b,this[_0x328695(0x35f)]();}['init'](){var _0xe3a0e=_0x5d9338;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x4857ac,_0x513730)=>_0x513730(_0x4857ac)[_0xe3a0e(0x1d1)]($['concatMap'](async _0x55af04=>{var _0x4dba0a=_0xe3a0e;const _0x3a209a=_0x55af04;if(_0x3a209a[_0x4dba0a(0x3e0)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x4dba0a(0x298)](this['localeService']['t'](_0x4dba0a(0x39f)))){const _0x5143e7=window[_0x4dba0a(0x18c)](window['location'][_0x4dba0a(0x228)]);window[_0x4dba0a(0x2a8)][_0x4dba0a(0x228)]=this[_0x4dba0a(0x243)]()+_0x4dba0a(0x3ab)+_0x5143e7;}}return _0x3a209a;}))});}[_0x5d9338(0x243)](){var _0x2430c8=_0x5d9338,_0x24594a,_0x29af4a;const _0x41c98a=this[_0x2430c8(0x44f)][_0x2430c8(0x2ea)](It),_0xbfdc66=this[_0x2430c8(0x44f)]['getConfig'](K);return(_0x29af4a=(_0x24594a=_0xbfdc66==null?void 0x0:_0xbfdc66[_0x2430c8(0x260)])!=null?_0x24594a:_0x41c98a)!=null?_0x29af4a:Wt;}};ye=Ci([Ae(0x0,a[_0x5d9338(0x410)]),Ae(0x1,a[_0x5d9338(0x15d)](Y[_0x5d9338(0x251)])),Ae(0x2,a[_0x5d9338(0x15d)](a[_0x5d9338(0x162)]))],ye);var Ti=Object[_0x5d9338(0x254)],bi=(_0x506a72,_0x156b15,_0x19e4e0,_0x448377)=>{var _0x235955=_0x5d9338;for(var _0x184750=_0x448377>0x1?void 0x0:_0x448377?Ti(_0x156b15,_0x19e4e0):_0x156b15,_0x34f80f=_0x506a72[_0x235955(0x2f8)]-0x1,_0xdd97b9;_0x34f80f>=0x0;_0x34f80f--)(_0xdd97b9=_0x506a72[_0x34f80f])&&(_0x184750=_0xdd97b9(_0x184750)||_0x184750);return _0x184750;},qe=(_0x19b533,_0x3aac83)=>(_0x557766,_0x7312e6)=>_0x3aac83(_0x557766,_0x7312e6,_0x19b533);const Ve=_0x5d9338(0x188),Ri='/universer-api/authz';exports[_0x5d9338(0x1be)]=class extends a[_0x5d9338(0x115)]{constructor(_0x20eb0e,_0x1b1d0c){var _0xa07f66=_0x5d9338;super(),this[_0xa07f66(0x2c0)]=_0x20eb0e,this['_configService']=_0x1b1d0c,this[_0xa07f66(0x45a)]();}[_0x5d9338(0x45a)](){var _0x53c743=_0x5d9338;const _0x3ac69d=this;this['disposeWithMe'](this[_0x53c743(0x2c0)][_0x53c743(0x2ff)]({'priority':0x3e7,'interceptor':Y[_0x53c743(0x2f9)]({'isMatch'(_0x3b89d2){var _0x2e384a=_0x53c743,_0x398d33;if(_0x3b89d2['method']==='POST'&&((_0x398d33=_0x3b89d2['requestParams'])!=null&&_0x398d33[_0x2e384a(0x11f)])){const {objectID:_0x556189,objectType:_0x5c6135}=_0x3b89d2[_0x2e384a(0x105)][_0x2e384a(0x11f)]||{};if(!_0x556189||_0x5c6135===void 0x0)return!0x1;const _0x5e2eff=_0x3ac69d[_0x2e384a(0x319)]()+'/'+_0x5c6135+_0x2e384a(0x2c5)+_0x556189+_0x2e384a(0x462);if(_0x3b89d2['url']===_0x5e2eff)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4534bd){var _0x573255=_0x53c743,_0x7b5f59;return(_0x7b5f59=_0x4534bd[_0x573255(0x105)])==null?void 0x0:_0x7b5f59[_0x573255(0x11f)];},'mergeParamsToRequest'(_0x48c222,_0x58739d){var _0x5d1c15=_0x53c743;const _0x55b88d=_0x3ac69d['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x180270=_0x48c222[_0x5d1c15(0x3c6)]((_0x18e3a1,_0x15a3f8)=>{var _0x42b261=_0x5d1c15;const {unitID:_0xa5c3b1,objectID:_0x2206ad,objectType:_0x373fd5,actions:_0x1f8acf}=_0x15a3f8;return _0x18e3a1[_0xa5c3b1]||(_0x18e3a1[_0xa5c3b1]={}),_0x18e3a1[_0xa5c3b1][_0x2206ad]||(_0x18e3a1[_0xa5c3b1][_0x2206ad]={'objectID':_0x2206ad,'objectType':_0x373fd5,'actions':[]}),_0x18e3a1[_0xa5c3b1][_0x2206ad][_0x42b261(0x3de)]['push'](..._0x1f8acf),_0x18e3a1;},{}),_0x69d2a7=[];for(const _0xe03476 in _0x180270)for(const _0x5c33ed in _0x180270[_0xe03476]){const {actions:_0x20a5e2,objectType:_0x2cff13}=_0x180270[_0xe03476][_0x5c33ed],_0x5aea95=[...new Set(_0x20a5e2)];_0x69d2a7['push']({'unitID':_0xe03476,'objectID':_0x5c33ed,'objectType':_0x2cff13,'actions':_0x5aea95});}return new Y['HTTPRequest'](_0x5d1c15(0x324),_0x55b88d,{'headers':_0x58739d[_0x5d1c15(0x33d)],'withCredentials':_0x58739d[_0x5d1c15(0x2c4)],'responseType':_0x58739d[_0x5d1c15(0x33c)],'body':{'requests':_0x69d2a7}});}},{'distributeResult'(_0x4f3c1a,_0x509065){var _0x4e72ec=_0x53c743;const {objectActions:_0x4c06bc}=_0x4f3c1a;return _0x509065[_0x4e72ec(0x31a)](_0x450b20=>{var _0x617bc=_0x4e72ec;const {unitID:_0x2712bf,objectID:_0x3bb4b9,actions:_0x313356}=_0x450b20,_0x443321=_0x4c06bc[_0x617bc(0x368)](_0x2f1182=>_0x2f1182[_0x617bc(0x1c0)]===_0x2712bf&&_0x2f1182['objectID']===_0x3bb4b9),_0x220d30=_0x313356[_0x617bc(0x31a)](_0x56962c=>_0x443321==null?void 0x0:_0x443321[_0x617bc(0x3de)][_0x617bc(0x368)](_0x18d5d7=>_0x18d5d7['action']===_0x56962c))['filter'](_0x2b38da=>!!_0x2b38da);return{'config':_0x450b20,'result':{'actions':_0x220d30,'error':_0x4f3c1a['error']}};});}})}));}[_0x5d9338(0x319)](){var _0x1a4f59=_0x5d9338,_0x1c8c6c,_0x5c936e;const _0x4310c6=this[_0x1a4f59(0x44f)][_0x1a4f59(0x2ea)](Ve),_0x4cfd37=this[_0x1a4f59(0x44f)]['getConfig'](K);return(_0x5c936e=(_0x1c8c6c=_0x4cfd37==null?void 0x0:_0x4cfd37[_0x1a4f59(0x2a2)])!=null?_0x1c8c6c:_0x4310c6)!=null?_0x5c936e:Ri;}async[_0x5d9338(0x365)](_0xd99a16){var _0x4c6b78=_0x5d9338;const _0x16c0c4=this[_0x4c6b78(0x319)]()+'/'+_0xd99a16[_0x4c6b78(0x1ce)]+'/object';return(await this['_HTTPService'][_0x4c6b78(0x150)](_0x16c0c4,{'body':_0xd99a16}))['body']['objectID']||'';}async[_0x5d9338(0x224)](_0x4cf29e){var _0x225645=_0x5d9338;const _0x448d4c=this[_0x225645(0x319)]()+_0x225645(0x18e);return(await this[_0x225645(0x2c0)][_0x225645(0x150)](_0x448d4c,{'body':_0x4cf29e}))[_0x225645(0x11f)]['objects'];}async[_0x5d9338(0x42c)](_0x1b0967){var _0x4b97c5=_0x5d9338,_0x2ffcf4,_0x43da9c;const _0x3ee22e=this[_0x4b97c5(0x319)]()+'/'+_0x1b0967[_0x4b97c5(0x1ce)]+_0x4b97c5(0x2c5)+_0x1b0967[_0x4b97c5(0x1fe)],_0xd5198d=await this[_0x4b97c5(0x2c0)][_0x4b97c5(0x176)](_0x3ee22e,{'body':_0x1b0967});if(((_0x43da9c=(_0x2ffcf4=_0xd5198d==null?void 0x0:_0xd5198d[_0x4b97c5(0x11f)])==null?void 0x0:_0x2ffcf4[_0x4b97c5(0x45d)])==null?void 0x0:_0x43da9c[_0x4b97c5(0x151)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async['allowed'](_0x28f9fc){var _0x4af829=_0x5d9338;const _0x4d38ea=this[_0x4af829(0x319)]()+'/'+_0x28f9fc['objectType']+_0x4af829(0x2c5)+_0x28f9fc[_0x4af829(0x1fe)]+_0x4af829(0x462);return(await this[_0x4af829(0x2c0)][_0x4af829(0x150)](_0x4d38ea,{'body':_0x28f9fc}))[_0x4af829(0x11f)][_0x4af829(0x3de)];}async[_0x5d9338(0x39c)](_0x145db4){var _0x4abf31=_0x5d9338;const _0x1a4281=this[_0x4abf31(0x319)]()+_0x4abf31(0x23d);return(await this[_0x4abf31(0x2c0)][_0x4abf31(0x150)](_0x1a4281,{'body':{'requests':_0x145db4}}))[_0x4abf31(0x11f)][_0x4abf31(0x360)];}async[_0x5d9338(0x451)](_0x2a30dc){var _0x5a62f2=_0x5d9338;const _0x3583be=this[_0x5a62f2(0x319)]()+'/'+_0x2a30dc['objectType']+'/role',_0x2063f3=await this['_HTTPService'][_0x5a62f2(0x150)](_0x3583be,{'body':_0x2a30dc});return{'roles':_0x2063f3[_0x5a62f2(0x11f)][_0x5a62f2(0x3f2)],'actions':_0x2063f3[_0x5a62f2(0x11f)][_0x5a62f2(0x3de)]};}async[_0x5d9338(0x31b)](_0x3b1f23){var _0x26bde1=_0x5d9338;const _0x4e4306=this[_0x26bde1(0x319)]()+_0x26bde1(0x424);await this[_0x26bde1(0x2c0)]['delete'](_0x4e4306,{'params':{'collaboratorID':_0x3b1f23[_0x26bde1(0x11b)],'objectID':_0x3b1f23[_0x26bde1(0x1fe)],'unitID':_0x3b1f23[_0x26bde1(0x1c0)]}});}async[_0x5d9338(0x28d)](_0x2323e7){var _0x550eb2=_0x5d9338;const _0x4dc747=this[_0x550eb2(0x319)]()+_0x550eb2(0x424);await this[_0x550eb2(0x2c0)]['patch'](_0x4dc747,{'body':_0x2323e7});}async[_0x5d9338(0x21c)](_0x15c42b){var _0x679dc6=_0x5d9338;const _0x13fa74=this[_0x679dc6(0x319)]()+_0x679dc6(0x424);await this[_0x679dc6(0x2c0)][_0x679dc6(0x150)](_0x13fa74,{'body':_0x15c42b});}async[_0x5d9338(0x1e1)](_0x1c276d){var _0x5ebb54=_0x5d9338;const _0x165a5a=this['_getAPIPrefixPath']()+_0x5ebb54(0x424);return(await this[_0x5ebb54(0x2c0)][_0x5ebb54(0x43d)](_0x165a5a,{'params':{'objectID':_0x1c276d[_0x5ebb54(0x1fe)],'unitID':_0x1c276d['unitID']}}))[_0x5ebb54(0x11f)]['collaborators'];}async['putCollaborators'](_0x59e923){var _0x6133a3=_0x5d9338;const _0xbb619d=this[_0x6133a3(0x319)]()+'/collaborator';await this[_0x6133a3(0x2c0)][_0x6133a3(0x176)](_0xbb619d,{'body':_0x59e923});}},exports[_0x5d9338(0x1be)]=bi([qe(0x0,a[_0x5d9338(0x15d)](Y[_0x5d9338(0x251)])),qe(0x1,a[_0x5d9338(0x15d)](a[_0x5d9338(0x410)]))],exports[_0x5d9338(0x1be)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0xb17696){var _0x439507=_0x5d9338;return _0xb17696&&_0xb17696['__esModule']&&Object[_0x439507(0x209)]['hasOwnProperty'][_0x439507(0x244)](_0xb17696,_0x439507(0x334))?_0xb17696[_0x439507(0x334)]:_0xb17696;}var fe={'exports':{}};function Oi(_0x5a0209){var _0x644649=_0x5d9338;throw new Error(_0x644649(0x3d5)+_0x5a0209+_0x644649(0x136));}var pe={'exports':{}},yi=pe[_0x5d9338(0x40b)],ze;function Q(){var _0x55a177=_0x5d9338;return ze||(ze=0x1,function(_0x457299,_0x5abe12){(function(_0x450e37,_0x25cc9e){var _0x1bbaab=_0x4a4a;_0x457299[_0x1bbaab(0x40b)]=_0x25cc9e();}(yi,function(){var _0x1b0ffa=_0x1b0ffa||function(_0x1538a9,_0x3e5be8){var _0x14794d=_0x4a4a,_0x15df33;if(typeof window<'u'&&window[_0x14794d(0x12d)]&&(_0x15df33=window[_0x14794d(0x12d)]),typeof self<'u'&&self['crypto']&&(_0x15df33=self[_0x14794d(0x12d)]),typeof globalThis<'u'&&globalThis[_0x14794d(0x12d)]&&(_0x15df33=globalThis[_0x14794d(0x12d)]),!_0x15df33&&typeof window<'u'&&window[_0x14794d(0x44c)]&&(_0x15df33=window[_0x14794d(0x44c)]),!_0x15df33&&typeof Pe<'u'&&Pe[_0x14794d(0x12d)]&&(_0x15df33=Pe[_0x14794d(0x12d)]),!_0x15df33&&typeof Oi=='function')try{_0x15df33=require(_0x14794d(0x12d));}catch{}var _0x8cf434=function(){var _0x2c7aa7=_0x14794d;if(_0x15df33){if(typeof _0x15df33['getRandomValues']==_0x2c7aa7(0x13d))try{return _0x15df33[_0x2c7aa7(0x17e)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x15df33['randomBytes']==_0x2c7aa7(0x13d))try{return _0x15df33[_0x2c7aa7(0x2d1)](0x4)[_0x2c7aa7(0x14a)]();}catch{}}throw new Error(_0x2c7aa7(0x315));},_0x193933=Object[_0x14794d(0x365)]||(function(){function _0x5be1f2(){}return function(_0x3a89f8){var _0x349f09=_0x4a4a,_0xe7ef3;return _0x5be1f2[_0x349f09(0x209)]=_0x3a89f8,_0xe7ef3=new _0x5be1f2(),_0x5be1f2[_0x349f09(0x209)]=null,_0xe7ef3;};}()),_0x3669bb={},_0xbc83d1=_0x3669bb[_0x14794d(0x2ed)]={},_0x39e905=_0xbc83d1['Base']=(function(){return{'extend':function(_0x54a24e){var _0x3c3224=_0x4a4a,_0x2444e2=_0x193933(this);return _0x54a24e&&_0x2444e2['mixIn'](_0x54a24e),(!_0x2444e2[_0x3c3224(0x12c)](_0x3c3224(0x35f))||this[_0x3c3224(0x35f)]===_0x2444e2['init'])&&(_0x2444e2[_0x3c3224(0x35f)]=function(){var _0x5642ca=_0x3c3224;_0x2444e2[_0x5642ca(0x363)][_0x5642ca(0x35f)]['apply'](this,arguments);}),_0x2444e2[_0x3c3224(0x35f)][_0x3c3224(0x209)]=_0x2444e2,_0x2444e2[_0x3c3224(0x363)]=this,_0x2444e2;},'create':function(){var _0x3ec7f7=_0x4a4a,_0x40b1ce=this[_0x3ec7f7(0x45c)]();return _0x40b1ce['init'][_0x3ec7f7(0x232)](_0x40b1ce,arguments),_0x40b1ce;},'init':function(){},'mixIn':function(_0xd2af96){var _0x1af55a=_0x4a4a;for(var _0x23f119 in _0xd2af96)_0xd2af96[_0x1af55a(0x12c)](_0x23f119)&&(this[_0x23f119]=_0xd2af96[_0x23f119]);_0xd2af96[_0x1af55a(0x12c)](_0x1af55a(0x169))&&(this[_0x1af55a(0x169)]=_0xd2af96[_0x1af55a(0x169)]);},'clone':function(){var _0x2a39e6=_0x4a4a;return this[_0x2a39e6(0x35f)][_0x2a39e6(0x209)][_0x2a39e6(0x45c)](this);}};}()),_0x92f2e9=_0xbc83d1['WordArray']=_0x39e905[_0x14794d(0x45c)]({'init':function(_0x58d562,_0x488363){var _0x17c7a2=_0x14794d;_0x58d562=this[_0x17c7a2(0x317)]=_0x58d562||[],_0x488363!=_0x3e5be8?this[_0x17c7a2(0x1ac)]=_0x488363:this[_0x17c7a2(0x1ac)]=_0x58d562[_0x17c7a2(0x2f8)]*0x4;},'toString':function(_0x2bbea6){var _0x458294=_0x14794d;return(_0x2bbea6||_0x2a04ee)[_0x458294(0x1bf)](this);},'concat':function(_0x7f0ef3){var _0x1d5eef=_0x14794d,_0x5bd6cc=this['words'],_0x1eb2d3=_0x7f0ef3[_0x1d5eef(0x317)],_0x365749=this[_0x1d5eef(0x1ac)],_0x53728a=_0x7f0ef3[_0x1d5eef(0x1ac)];if(this[_0x1d5eef(0x2d5)](),_0x365749%0x4)for(var _0x42a664=0x0;_0x42a664<_0x53728a;_0x42a664++){var _0x2ebd45=_0x1eb2d3[_0x42a664>>>0x2]>>>0x18-_0x42a664%0x4*0x8&0xff;_0x5bd6cc[_0x365749+_0x42a664>>>0x2]|=_0x2ebd45<<0x18-(_0x365749+_0x42a664)%0x4*0x8;}else{for(var _0x39a7fe=0x0;_0x39a7fe<_0x53728a;_0x39a7fe+=0x4)_0x5bd6cc[_0x365749+_0x39a7fe>>>0x2]=_0x1eb2d3[_0x39a7fe>>>0x2];}return this[_0x1d5eef(0x1ac)]+=_0x53728a,this;},'clamp':function(){var _0xe92ef5=_0x14794d,_0x3dcb88=this[_0xe92ef5(0x317)],_0x126d0d=this[_0xe92ef5(0x1ac)];_0x3dcb88[_0x126d0d>>>0x2]&=0xffffffff<<0x20-_0x126d0d%0x4*0x8,_0x3dcb88[_0xe92ef5(0x2f8)]=_0x1538a9[_0xe92ef5(0x3ee)](_0x126d0d/0x4);},'clone':function(){var _0xf341b1=_0x14794d,_0x1e6714=_0x39e905[_0xf341b1(0x2e6)][_0xf341b1(0x244)](this);return _0x1e6714[_0xf341b1(0x317)]=this[_0xf341b1(0x317)][_0xf341b1(0x43e)](0x0),_0x1e6714;},'random':function(_0x3e3877){var _0x439238=_0x14794d;for(var _0x283402=[],_0xa2d4fd=0x0;_0xa2d4fd<_0x3e3877;_0xa2d4fd+=0x4)_0x283402[_0x439238(0x206)](_0x8cf434());return new _0x92f2e9[(_0x439238(0x35f))](_0x283402,_0x3e3877);}}),_0xd33490=_0x3669bb[_0x14794d(0x293)]={},_0x2a04ee=_0xd33490[_0x14794d(0x225)]={'stringify':function(_0xbb9246){var _0x4dbf51=_0x14794d;for(var _0x5aa836=_0xbb9246[_0x4dbf51(0x317)],_0x11260e=_0xbb9246[_0x4dbf51(0x1ac)],_0xdc470a=[],_0x583787=0x0;_0x583787<_0x11260e;_0x583787++){var _0x22ee92=_0x5aa836[_0x583787>>>0x2]>>>0x18-_0x583787%0x4*0x8&0xff;_0xdc470a[_0x4dbf51(0x206)]((_0x22ee92>>>0x4)[_0x4dbf51(0x169)](0x10)),_0xdc470a[_0x4dbf51(0x206)]((_0x22ee92&0xf)[_0x4dbf51(0x169)](0x10));}return _0xdc470a[_0x4dbf51(0x427)]('');},'parse':function(_0x3abfa0){var _0x32a710=_0x14794d;for(var _0x2b1dae=_0x3abfa0['length'],_0x14f7c0=[],_0xb5cfdb=0x0;_0xb5cfdb<_0x2b1dae;_0xb5cfdb+=0x2)_0x14f7c0[_0xb5cfdb>>>0x3]|=parseInt(_0x3abfa0['substr'](_0xb5cfdb,0x2),0x10)<<0x18-_0xb5cfdb%0x8*0x4;return new _0x92f2e9[(_0x32a710(0x35f))](_0x14f7c0,_0x2b1dae/0x2);}},_0x284aab=_0xd33490['Latin1']={'stringify':function(_0x1da82e){var _0x1af2b2=_0x14794d;for(var _0x20fd85=_0x1da82e[_0x1af2b2(0x317)],_0x31fa68=_0x1da82e['sigBytes'],_0x4387d1=[],_0x43e51a=0x0;_0x43e51a<_0x31fa68;_0x43e51a++){var _0x306ffa=_0x20fd85[_0x43e51a>>>0x2]>>>0x18-_0x43e51a%0x4*0x8&0xff;_0x4387d1[_0x1af2b2(0x206)](String[_0x1af2b2(0x1eb)](_0x306ffa));}return _0x4387d1[_0x1af2b2(0x427)]('');},'parse':function(_0x26153b){var _0xc587d1=_0x14794d;for(var _0x2ff233=_0x26153b[_0xc587d1(0x2f8)],_0x4ae6a1=[],_0x1889d8=0x0;_0x1889d8<_0x2ff233;_0x1889d8++)_0x4ae6a1[_0x1889d8>>>0x2]|=(_0x26153b[_0xc587d1(0x106)](_0x1889d8)&0xff)<<0x18-_0x1889d8%0x4*0x8;return new _0x92f2e9[(_0xc587d1(0x35f))](_0x4ae6a1,_0x2ff233);}},_0x3e2b09=_0xd33490[_0x14794d(0x11e)]={'stringify':function(_0x543316){var _0x41c154=_0x14794d;try{return decodeURIComponent(escape(_0x284aab[_0x41c154(0x1bf)](_0x543316)));}catch{throw new Error(_0x41c154(0x147));}},'parse':function(_0x4d87c7){var _0xcbe715=_0x14794d;return _0x284aab[_0xcbe715(0x32b)](unescape(encodeURIComponent(_0x4d87c7)));}},_0x4e79eb=_0xbc83d1['BufferedBlockAlgorithm']=_0x39e905[_0x14794d(0x45c)]({'reset':function(){var _0x3e4d73=_0x14794d;this[_0x3e4d73(0x342)]=new _0x92f2e9[(_0x3e4d73(0x35f))](),this[_0x3e4d73(0x213)]=0x0;},'_append':function(_0x197823){var _0x39e63b=_0x14794d;typeof _0x197823==_0x39e63b(0x26a)&&(_0x197823=_0x3e2b09[_0x39e63b(0x32b)](_0x197823)),this[_0x39e63b(0x342)][_0x39e63b(0x414)](_0x197823),this['_nDataBytes']+=_0x197823['sigBytes'];},'_process':function(_0x3640f0){var _0x40cf82=_0x14794d,_0x1a7f05,_0xccd898=this[_0x40cf82(0x342)],_0x12ef53=_0xccd898[_0x40cf82(0x317)],_0x13630a=_0xccd898[_0x40cf82(0x1ac)],_0x31904c=this['blockSize'],_0x5e22d0=_0x31904c*0x4,_0x342416=_0x13630a/_0x5e22d0;_0x3640f0?_0x342416=_0x1538a9[_0x40cf82(0x3ee)](_0x342416):_0x342416=_0x1538a9[_0x40cf82(0x430)]((_0x342416|0x0)-this[_0x40cf82(0x41a)],0x0);var _0x3af4a4=_0x342416*_0x31904c,_0x529912=_0x1538a9[_0x40cf82(0x20d)](_0x3af4a4*0x4,_0x13630a);if(_0x3af4a4){for(var _0x13f798=0x0;_0x13f798<_0x3af4a4;_0x13f798+=_0x31904c)this['_doProcessBlock'](_0x12ef53,_0x13f798);_0x1a7f05=_0x12ef53['splice'](0x0,_0x3af4a4),_0xccd898['sigBytes']-=_0x529912;}return new _0x92f2e9['init'](_0x1a7f05,_0x529912);},'clone':function(){var _0x1c0f90=_0x14794d,_0x1452fe=_0x39e905[_0x1c0f90(0x2e6)][_0x1c0f90(0x244)](this);return _0x1452fe[_0x1c0f90(0x342)]=this['_data'][_0x1c0f90(0x2e6)](),_0x1452fe;},'_minBufferSize':0x0});_0xbc83d1[_0x14794d(0x2b1)]=_0x4e79eb[_0x14794d(0x45c)]({'cfg':_0x39e905[_0x14794d(0x45c)](),'init':function(_0x2810e5){var _0xdb3d9c=_0x14794d;this['cfg']=this[_0xdb3d9c(0x2f7)]['extend'](_0x2810e5),this[_0xdb3d9c(0x3ce)]();},'reset':function(){var _0x449e3b=_0x14794d;_0x4e79eb[_0x449e3b(0x3ce)][_0x449e3b(0x244)](this),this[_0x449e3b(0x2ae)]();},'update':function(_0x14a92c){var _0x57d298=_0x14794d;return this['_append'](_0x14a92c),this[_0x57d298(0x170)](),this;},'finalize':function(_0x4da4f6){var _0x428981=_0x14794d;_0x4da4f6&&this[_0x428981(0x153)](_0x4da4f6);var _0x992803=this[_0x428981(0x40e)]();return _0x992803;},'blockSize':0x10,'_createHelper':function(_0x5f0974){return function(_0x5052ab,_0x42a43d){var _0x2f3d78=_0x4a4a;return new _0x5f0974[(_0x2f3d78(0x35f))](_0x42a43d)[_0x2f3d78(0x309)](_0x5052ab);};},'_createHmacHelper':function(_0x4d6a28){return function(_0xe53a88,_0x45bdd8){var _0xdd15de=_0x4a4a;return new _0x5b209e['HMAC'][(_0xdd15de(0x35f))](_0x4d6a28,_0x45bdd8)[_0xdd15de(0x309)](_0xe53a88);};}});var _0x5b209e=_0x3669bb['algo']={};return _0x3669bb;}(Math);return _0x1b0ffa;}));}(pe)),pe[_0x55a177(0x40b)];}var Ie={'exports':{}},Ni=Ie['exports'],Je;function yt(){var _0x9d87c1=_0x5d9338;return Je||(Je=0x1,function(_0xefe66d,_0x10e24c){(function(_0x1cbc8a,_0x3dff66){_0xefe66d['exports']=_0x3dff66(Q());}(Ni,function(_0xa64ebd){return(function(){var _0x4c65b6=_0x4a4a,_0x188188=_0xa64ebd,_0x594993=_0x188188[_0x4c65b6(0x2ed)],_0x43b3c3=_0x594993[_0x4c65b6(0x372)],_0x589079=_0x188188[_0x4c65b6(0x293)];_0x589079['Base64']={'stringify':function(_0x2cff1e){var _0x308573=_0x4c65b6,_0xfab2ff=_0x2cff1e['words'],_0x5d6684=_0x2cff1e[_0x308573(0x1ac)],_0x66011d=this['_map'];_0x2cff1e['clamp']();for(var _0x406b81=[],_0x1d3435=0x0;_0x1d3435<_0x5d6684;_0x1d3435+=0x3)for(var _0x5cb43c=_0xfab2ff[_0x1d3435>>>0x2]>>>0x18-_0x1d3435%0x4*0x8&0xff,_0x4d81ed=_0xfab2ff[_0x1d3435+0x1>>>0x2]>>>0x18-(_0x1d3435+0x1)%0x4*0x8&0xff,_0x3f9991=_0xfab2ff[_0x1d3435+0x2>>>0x2]>>>0x18-(_0x1d3435+0x2)%0x4*0x8&0xff,_0x3d5198=_0x5cb43c<<0x10|_0x4d81ed<<0x8|_0x3f9991,_0x17f242=0x0;_0x17f242<0x4&&_0x1d3435+_0x17f242*0.75<_0x5d6684;_0x17f242++)_0x406b81[_0x308573(0x206)](_0x66011d[_0x308573(0x313)](_0x3d5198>>>0x6*(0x3-_0x17f242)&0x3f));var _0x231336=_0x66011d[_0x308573(0x313)](0x40);if(_0x231336){for(;_0x406b81[_0x308573(0x2f8)]%0x4;)_0x406b81['push'](_0x231336);}return _0x406b81[_0x308573(0x427)]('');},'parse':function(_0x227ba6){var _0x3d15eb=_0x4c65b6,_0x2c958b=_0x227ba6['length'],_0x16c285=this[_0x3d15eb(0x275)],_0x5ef83b=this[_0x3d15eb(0x285)];if(!_0x5ef83b){_0x5ef83b=this[_0x3d15eb(0x285)]=[];for(var _0x34d0c8=0x0;_0x34d0c8<_0x16c285[_0x3d15eb(0x2f8)];_0x34d0c8++)_0x5ef83b[_0x16c285[_0x3d15eb(0x106)](_0x34d0c8)]=_0x34d0c8;}var _0x17e535=_0x16c285[_0x3d15eb(0x313)](0x40);if(_0x17e535){var _0x33933b=_0x227ba6[_0x3d15eb(0x210)](_0x17e535);_0x33933b!==-0x1&&(_0x2c958b=_0x33933b);}return _0x422c27(_0x227ba6,_0x2c958b,_0x5ef83b);},'_map':_0x4c65b6(0x104)};function _0x422c27(_0x15f5d4,_0x157a8b,_0x1f4852){var _0x400fd3=_0x4c65b6;for(var _0x1a7360=[],_0x3d89c2=0x0,_0x178e3c=0x0;_0x178e3c<_0x157a8b;_0x178e3c++)if(_0x178e3c%0x4){var _0x3eab8e=_0x1f4852[_0x15f5d4[_0x400fd3(0x106)](_0x178e3c-0x1)]<<_0x178e3c%0x4*0x2,_0x25b4ee=_0x1f4852[_0x15f5d4[_0x400fd3(0x106)](_0x178e3c)]>>>0x6-_0x178e3c%0x4*0x2,_0x30b368=_0x3eab8e|_0x25b4ee;_0x1a7360[_0x3d89c2>>>0x2]|=_0x30b368<<0x18-_0x3d89c2%0x4*0x8,_0x3d89c2++;}return _0x43b3c3[_0x400fd3(0x365)](_0x1a7360,_0x3d89c2);}}()),_0xa64ebd['enc']['Base64'];}));}(Ie)),Ie[_0x9d87c1(0x40b)];}var ge={'exports':{}},Ui=ge[_0x5d9338(0x40b)],Xe;function Di(){var _0x44e0a4=_0x5d9338;return Xe||(Xe=0x1,function(_0xca7f5,_0x55e184){(function(_0x4c850e,_0x5d29a4){var _0x5813ca=_0x4a4a;_0xca7f5[_0x5813ca(0x40b)]=_0x5d29a4(Q());}(Ui,function(_0x4702e0){var _0x4471f8=_0x4a4a;return function(_0x1f9965){var _0x4c52dd=_0x4a4a,_0x2ddc78=_0x4702e0,_0x23a5a0=_0x2ddc78['lib'],_0x735876=_0x23a5a0[_0x4c52dd(0x372)],_0x3982fd=_0x23a5a0[_0x4c52dd(0x2b1)],_0x2ba478=_0x2ddc78[_0x4c52dd(0x3b3)],_0x1e4c7d=[];(function(){var _0x2445ef=_0x4c52dd;for(var _0xd74d05=0x0;_0xd74d05<0x40;_0xd74d05++)_0x1e4c7d[_0xd74d05]=_0x1f9965[_0x2445ef(0x33b)](_0x1f9965[_0x2445ef(0x10b)](_0xd74d05+0x1))*0x100000000|0x0;}());var _0x5380eb=_0x2ba478[_0x4c52dd(0x302)]=_0x3982fd[_0x4c52dd(0x45c)]({'_doReset':function(){var _0x287dba=_0x4c52dd;this['_hash']=new _0x735876[(_0x287dba(0x35f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3a1fa3,_0x25c624){var _0x2d3ed9=_0x4c52dd;for(var _0x364485=0x0;_0x364485<0x10;_0x364485++){var _0x278035=_0x25c624+_0x364485,_0x32af2b=_0x3a1fa3[_0x278035];_0x3a1fa3[_0x278035]=(_0x32af2b<<0x8|_0x32af2b>>>0x18)&0xff00ff|(_0x32af2b<<0x18|_0x32af2b>>>0x8)&0xff00ff00;}var _0x5475ad=this['_hash'][_0x2d3ed9(0x317)],_0x113699=_0x3a1fa3[_0x25c624+0x0],_0x1a8678=_0x3a1fa3[_0x25c624+0x1],_0x5203bb=_0x3a1fa3[_0x25c624+0x2],_0xe108de=_0x3a1fa3[_0x25c624+0x3],_0x3a470b=_0x3a1fa3[_0x25c624+0x4],_0x58c48a=_0x3a1fa3[_0x25c624+0x5],_0x5499c2=_0x3a1fa3[_0x25c624+0x6],_0x451ede=_0x3a1fa3[_0x25c624+0x7],_0x141882=_0x3a1fa3[_0x25c624+0x8],_0x4bd79e=_0x3a1fa3[_0x25c624+0x9],_0x4a2b7e=_0x3a1fa3[_0x25c624+0xa],_0x1f82f2=_0x3a1fa3[_0x25c624+0xb],_0x34960b=_0x3a1fa3[_0x25c624+0xc],_0x16f3ef=_0x3a1fa3[_0x25c624+0xd],_0x2357bc=_0x3a1fa3[_0x25c624+0xe],_0x1ee015=_0x3a1fa3[_0x25c624+0xf],_0x209a77=_0x5475ad[0x0],_0x48116a=_0x5475ad[0x1],_0x338181=_0x5475ad[0x2],_0x3c77d9=_0x5475ad[0x3];_0x209a77=_0x56ab4f(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x113699,0x7,_0x1e4c7d[0x0]),_0x3c77d9=_0x56ab4f(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x1a8678,0xc,_0x1e4c7d[0x1]),_0x338181=_0x56ab4f(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x5203bb,0x11,_0x1e4c7d[0x2]),_0x48116a=_0x56ab4f(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0xe108de,0x16,_0x1e4c7d[0x3]),_0x209a77=_0x56ab4f(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x3a470b,0x7,_0x1e4c7d[0x4]),_0x3c77d9=_0x56ab4f(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x58c48a,0xc,_0x1e4c7d[0x5]),_0x338181=_0x56ab4f(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x5499c2,0x11,_0x1e4c7d[0x6]),_0x48116a=_0x56ab4f(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x451ede,0x16,_0x1e4c7d[0x7]),_0x209a77=_0x56ab4f(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x141882,0x7,_0x1e4c7d[0x8]),_0x3c77d9=_0x56ab4f(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x4bd79e,0xc,_0x1e4c7d[0x9]),_0x338181=_0x56ab4f(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x4a2b7e,0x11,_0x1e4c7d[0xa]),_0x48116a=_0x56ab4f(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x1f82f2,0x16,_0x1e4c7d[0xb]),_0x209a77=_0x56ab4f(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x34960b,0x7,_0x1e4c7d[0xc]),_0x3c77d9=_0x56ab4f(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x16f3ef,0xc,_0x1e4c7d[0xd]),_0x338181=_0x56ab4f(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x2357bc,0x11,_0x1e4c7d[0xe]),_0x48116a=_0x56ab4f(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x1ee015,0x16,_0x1e4c7d[0xf]),_0x209a77=_0x469a9c(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x1a8678,0x5,_0x1e4c7d[0x10]),_0x3c77d9=_0x469a9c(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x5499c2,0x9,_0x1e4c7d[0x11]),_0x338181=_0x469a9c(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x1f82f2,0xe,_0x1e4c7d[0x12]),_0x48116a=_0x469a9c(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x113699,0x14,_0x1e4c7d[0x13]),_0x209a77=_0x469a9c(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x58c48a,0x5,_0x1e4c7d[0x14]),_0x3c77d9=_0x469a9c(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x4a2b7e,0x9,_0x1e4c7d[0x15]),_0x338181=_0x469a9c(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x1ee015,0xe,_0x1e4c7d[0x16]),_0x48116a=_0x469a9c(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x3a470b,0x14,_0x1e4c7d[0x17]),_0x209a77=_0x469a9c(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x4bd79e,0x5,_0x1e4c7d[0x18]),_0x3c77d9=_0x469a9c(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x2357bc,0x9,_0x1e4c7d[0x19]),_0x338181=_0x469a9c(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0xe108de,0xe,_0x1e4c7d[0x1a]),_0x48116a=_0x469a9c(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x141882,0x14,_0x1e4c7d[0x1b]),_0x209a77=_0x469a9c(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x16f3ef,0x5,_0x1e4c7d[0x1c]),_0x3c77d9=_0x469a9c(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x5203bb,0x9,_0x1e4c7d[0x1d]),_0x338181=_0x469a9c(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x451ede,0xe,_0x1e4c7d[0x1e]),_0x48116a=_0x469a9c(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x34960b,0x14,_0x1e4c7d[0x1f]),_0x209a77=_0x27b13c(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x58c48a,0x4,_0x1e4c7d[0x20]),_0x3c77d9=_0x27b13c(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x141882,0xb,_0x1e4c7d[0x21]),_0x338181=_0x27b13c(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x1f82f2,0x10,_0x1e4c7d[0x22]),_0x48116a=_0x27b13c(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x2357bc,0x17,_0x1e4c7d[0x23]),_0x209a77=_0x27b13c(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x1a8678,0x4,_0x1e4c7d[0x24]),_0x3c77d9=_0x27b13c(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x3a470b,0xb,_0x1e4c7d[0x25]),_0x338181=_0x27b13c(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x451ede,0x10,_0x1e4c7d[0x26]),_0x48116a=_0x27b13c(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x4a2b7e,0x17,_0x1e4c7d[0x27]),_0x209a77=_0x27b13c(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x16f3ef,0x4,_0x1e4c7d[0x28]),_0x3c77d9=_0x27b13c(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x113699,0xb,_0x1e4c7d[0x29]),_0x338181=_0x27b13c(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0xe108de,0x10,_0x1e4c7d[0x2a]),_0x48116a=_0x27b13c(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x5499c2,0x17,_0x1e4c7d[0x2b]),_0x209a77=_0x27b13c(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x4bd79e,0x4,_0x1e4c7d[0x2c]),_0x3c77d9=_0x27b13c(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x34960b,0xb,_0x1e4c7d[0x2d]),_0x338181=_0x27b13c(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x1ee015,0x10,_0x1e4c7d[0x2e]),_0x48116a=_0x27b13c(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x5203bb,0x17,_0x1e4c7d[0x2f]),_0x209a77=_0x23e68b(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x113699,0x6,_0x1e4c7d[0x30]),_0x3c77d9=_0x23e68b(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x451ede,0xa,_0x1e4c7d[0x31]),_0x338181=_0x23e68b(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x2357bc,0xf,_0x1e4c7d[0x32]),_0x48116a=_0x23e68b(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x58c48a,0x15,_0x1e4c7d[0x33]),_0x209a77=_0x23e68b(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x34960b,0x6,_0x1e4c7d[0x34]),_0x3c77d9=_0x23e68b(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0xe108de,0xa,_0x1e4c7d[0x35]),_0x338181=_0x23e68b(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x4a2b7e,0xf,_0x1e4c7d[0x36]),_0x48116a=_0x23e68b(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x1a8678,0x15,_0x1e4c7d[0x37]),_0x209a77=_0x23e68b(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x141882,0x6,_0x1e4c7d[0x38]),_0x3c77d9=_0x23e68b(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x1ee015,0xa,_0x1e4c7d[0x39]),_0x338181=_0x23e68b(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x5499c2,0xf,_0x1e4c7d[0x3a]),_0x48116a=_0x23e68b(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x16f3ef,0x15,_0x1e4c7d[0x3b]),_0x209a77=_0x23e68b(_0x209a77,_0x48116a,_0x338181,_0x3c77d9,_0x3a470b,0x6,_0x1e4c7d[0x3c]),_0x3c77d9=_0x23e68b(_0x3c77d9,_0x209a77,_0x48116a,_0x338181,_0x1f82f2,0xa,_0x1e4c7d[0x3d]),_0x338181=_0x23e68b(_0x338181,_0x3c77d9,_0x209a77,_0x48116a,_0x5203bb,0xf,_0x1e4c7d[0x3e]),_0x48116a=_0x23e68b(_0x48116a,_0x338181,_0x3c77d9,_0x209a77,_0x4bd79e,0x15,_0x1e4c7d[0x3f]),_0x5475ad[0x0]=_0x5475ad[0x0]+_0x209a77|0x0,_0x5475ad[0x1]=_0x5475ad[0x1]+_0x48116a|0x0,_0x5475ad[0x2]=_0x5475ad[0x2]+_0x338181|0x0,_0x5475ad[0x3]=_0x5475ad[0x3]+_0x3c77d9|0x0;},'_doFinalize':function(){var _0x15a238=_0x4c52dd,_0x24e422=this[_0x15a238(0x342)],_0x1f1d32=_0x24e422[_0x15a238(0x317)],_0x5766a2=this[_0x15a238(0x213)]*0x8,_0x4d978e=_0x24e422['sigBytes']*0x8;_0x1f1d32[_0x4d978e>>>0x5]|=0x80<<0x18-_0x4d978e%0x20;var _0x4e5de3=_0x1f9965[_0x15a238(0x108)](_0x5766a2/0x100000000),_0x5d707c=_0x5766a2;_0x1f1d32[(_0x4d978e+0x40>>>0x9<<0x4)+0xf]=(_0x4e5de3<<0x8|_0x4e5de3>>>0x18)&0xff00ff|(_0x4e5de3<<0x18|_0x4e5de3>>>0x8)&0xff00ff00,_0x1f1d32[(_0x4d978e+0x40>>>0x9<<0x4)+0xe]=(_0x5d707c<<0x8|_0x5d707c>>>0x18)&0xff00ff|(_0x5d707c<<0x18|_0x5d707c>>>0x8)&0xff00ff00,_0x24e422[_0x15a238(0x1ac)]=(_0x1f1d32[_0x15a238(0x2f8)]+0x1)*0x4,this[_0x15a238(0x170)]();for(var _0x33f91d=this['_hash'],_0x59ef52=_0x33f91d[_0x15a238(0x317)],_0x2bae41=0x0;_0x2bae41<0x4;_0x2bae41++){var _0x1f879f=_0x59ef52[_0x2bae41];_0x59ef52[_0x2bae41]=(_0x1f879f<<0x8|_0x1f879f>>>0x18)&0xff00ff|(_0x1f879f<<0x18|_0x1f879f>>>0x8)&0xff00ff00;}return _0x33f91d;},'clone':function(){var _0x1200fc=_0x4c52dd,_0x68a389=_0x3982fd['clone'][_0x1200fc(0x244)](this);return _0x68a389[_0x1200fc(0x344)]=this['_hash'][_0x1200fc(0x2e6)](),_0x68a389;}});function _0x56ab4f(_0x4b793d,_0x2f9393,_0x2ae5c1,_0x588f02,_0x3b244f,_0x3f338e,_0x3071b3){var _0x22d0ba=_0x4b793d+(_0x2f9393&_0x2ae5c1|~_0x2f9393&_0x588f02)+_0x3b244f+_0x3071b3;return(_0x22d0ba<<_0x3f338e|_0x22d0ba>>>0x20-_0x3f338e)+_0x2f9393;}function _0x469a9c(_0x421eca,_0x4081fe,_0x384d4b,_0x5261a5,_0x359b2e,_0x39692e,_0x147423){var _0x3d4de2=_0x421eca+(_0x4081fe&_0x5261a5|_0x384d4b&~_0x5261a5)+_0x359b2e+_0x147423;return(_0x3d4de2<<_0x39692e|_0x3d4de2>>>0x20-_0x39692e)+_0x4081fe;}function _0x27b13c(_0x17b482,_0xce4b16,_0x3c7787,_0x37feb3,_0x3a9c35,_0x13abcb,_0x15f47b){var _0x4f8901=_0x17b482+(_0xce4b16^_0x3c7787^_0x37feb3)+_0x3a9c35+_0x15f47b;return(_0x4f8901<<_0x13abcb|_0x4f8901>>>0x20-_0x13abcb)+_0xce4b16;}function _0x23e68b(_0x55683,_0x2dd6a8,_0x1d9cfd,_0x32e5f0,_0x2b4ce2,_0x313f03,_0x5bfda6){var _0x3dec17=_0x55683+(_0x1d9cfd^(_0x2dd6a8|~_0x32e5f0))+_0x2b4ce2+_0x5bfda6;return(_0x3dec17<<_0x313f03|_0x3dec17>>>0x20-_0x313f03)+_0x2dd6a8;}_0x2ddc78[_0x4c52dd(0x302)]=_0x3982fd[_0x4c52dd(0x1f7)](_0x5380eb),_0x2ddc78[_0x4c52dd(0x42e)]=_0x3982fd[_0x4c52dd(0x36c)](_0x5380eb);}(Math),_0x4702e0[_0x4471f8(0x302)];}));}(ge)),ge[_0x44e0a4(0x40b)];}var Ee={'exports':{}},me={'exports':{}},Ai=me['exports'],Ze;function Pi(){var _0x343ba3=_0x5d9338;return Ze||(Ze=0x1,function(_0x19f40b,_0x471904){(function(_0x340189,_0x39dff1){var _0x10b378=_0x4a4a;_0x19f40b[_0x10b378(0x40b)]=_0x39dff1(Q());}(Ai,function(_0x1aaa0f){var _0x4f290d=_0x4a4a;return(function(){var _0x59766a=_0x4a4a,_0x399b2c=_0x1aaa0f,_0x5875cf=_0x399b2c[_0x59766a(0x2ed)],_0x1728a6=_0x5875cf[_0x59766a(0x372)],_0x4617d4=_0x5875cf[_0x59766a(0x2b1)],_0x2c10bf=_0x399b2c[_0x59766a(0x3b3)],_0x12e1db=[],_0x26dcc9=_0x2c10bf['SHA1']=_0x4617d4[_0x59766a(0x45c)]({'_doReset':function(){var _0x4f794f=_0x59766a;this[_0x4f794f(0x344)]=new _0x1728a6[(_0x4f794f(0x35f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2a5bfa,_0x4c909a){var _0x143fc4=_0x59766a;for(var _0x43d42f=this[_0x143fc4(0x344)][_0x143fc4(0x317)],_0x871cfd=_0x43d42f[0x0],_0x422e79=_0x43d42f[0x1],_0x4d8dd0=_0x43d42f[0x2],_0x3f6ae8=_0x43d42f[0x3],_0x40fce1=_0x43d42f[0x4],_0x3275a1=0x0;_0x3275a1<0x50;_0x3275a1++){if(_0x3275a1<0x10)_0x12e1db[_0x3275a1]=_0x2a5bfa[_0x4c909a+_0x3275a1]|0x0;else{var _0x2d7483=_0x12e1db[_0x3275a1-0x3]^_0x12e1db[_0x3275a1-0x8]^_0x12e1db[_0x3275a1-0xe]^_0x12e1db[_0x3275a1-0x10];_0x12e1db[_0x3275a1]=_0x2d7483<<0x1|_0x2d7483>>>0x1f;}var _0x3dbc58=(_0x871cfd<<0x5|_0x871cfd>>>0x1b)+_0x40fce1+_0x12e1db[_0x3275a1];_0x3275a1<0x14?_0x3dbc58+=(_0x422e79&_0x4d8dd0|~_0x422e79&_0x3f6ae8)+0x5a827999:_0x3275a1<0x28?_0x3dbc58+=(_0x422e79^_0x4d8dd0^_0x3f6ae8)+0x6ed9eba1:_0x3275a1<0x3c?_0x3dbc58+=(_0x422e79&_0x4d8dd0|_0x422e79&_0x3f6ae8|_0x4d8dd0&_0x3f6ae8)-0x70e44324:_0x3dbc58+=(_0x422e79^_0x4d8dd0^_0x3f6ae8)-0x359d3e2a,_0x40fce1=_0x3f6ae8,_0x3f6ae8=_0x4d8dd0,_0x4d8dd0=_0x422e79<<0x1e|_0x422e79>>>0x2,_0x422e79=_0x871cfd,_0x871cfd=_0x3dbc58;}_0x43d42f[0x0]=_0x43d42f[0x0]+_0x871cfd|0x0,_0x43d42f[0x1]=_0x43d42f[0x1]+_0x422e79|0x0,_0x43d42f[0x2]=_0x43d42f[0x2]+_0x4d8dd0|0x0,_0x43d42f[0x3]=_0x43d42f[0x3]+_0x3f6ae8|0x0,_0x43d42f[0x4]=_0x43d42f[0x4]+_0x40fce1|0x0;},'_doFinalize':function(){var _0x17edba=_0x59766a,_0x458624=this['_data'],_0x276eca=_0x458624[_0x17edba(0x317)],_0x577ae3=this[_0x17edba(0x213)]*0x8,_0x323663=_0x458624[_0x17edba(0x1ac)]*0x8;return _0x276eca[_0x323663>>>0x5]|=0x80<<0x18-_0x323663%0x20,_0x276eca[(_0x323663+0x40>>>0x9<<0x4)+0xe]=Math[_0x17edba(0x108)](_0x577ae3/0x100000000),_0x276eca[(_0x323663+0x40>>>0x9<<0x4)+0xf]=_0x577ae3,_0x458624[_0x17edba(0x1ac)]=_0x276eca[_0x17edba(0x2f8)]*0x4,this[_0x17edba(0x170)](),this[_0x17edba(0x344)];},'clone':function(){var _0x2b5d8f=_0x59766a,_0x1c1497=_0x4617d4[_0x2b5d8f(0x2e6)][_0x2b5d8f(0x244)](this);return _0x1c1497[_0x2b5d8f(0x344)]=this[_0x2b5d8f(0x344)][_0x2b5d8f(0x2e6)](),_0x1c1497;}});_0x399b2c[_0x59766a(0x3e7)]=_0x4617d4[_0x59766a(0x1f7)](_0x26dcc9),_0x399b2c[_0x59766a(0x304)]=_0x4617d4[_0x59766a(0x36c)](_0x26dcc9);}()),_0x1aaa0f[_0x4f290d(0x3e7)];}));}(me)),me[_0x343ba3(0x40b)];}var Ce={'exports':{}},wi=Ce[_0x5d9338(0x40b)],Qe;function Li(){var _0x59a271=_0x5d9338;return Qe||(Qe=0x1,function(_0x2556bf,_0x279f91){(function(_0x449e1f,_0x5a76de){_0x2556bf['exports']=_0x5a76de(Q());}(wi,function(_0x1d70fc){(function(){var _0x4896b8=_0x4a4a,_0x5c689a=_0x1d70fc,_0x5918b3=_0x5c689a[_0x4896b8(0x2ed)],_0x43b207=_0x5918b3[_0x4896b8(0x444)],_0x780e1a=_0x5c689a['enc'],_0x5bc87a=_0x780e1a[_0x4896b8(0x11e)],_0x2b3df5=_0x5c689a['algo'];_0x2b3df5[_0x4896b8(0x44a)]=_0x43b207['extend']({'init':function(_0x57ffde,_0x14c94e){var _0x4ecd8d=_0x4896b8;_0x57ffde=this[_0x4ecd8d(0x38a)]=new _0x57ffde[(_0x4ecd8d(0x35f))](),typeof _0x14c94e==_0x4ecd8d(0x26a)&&(_0x14c94e=_0x5bc87a[_0x4ecd8d(0x32b)](_0x14c94e));var _0xeeef15=_0x57ffde[_0x4ecd8d(0x24f)],_0x2d94af=_0xeeef15*0x4;_0x14c94e[_0x4ecd8d(0x1ac)]>_0x2d94af&&(_0x14c94e=_0x57ffde[_0x4ecd8d(0x309)](_0x14c94e)),_0x14c94e[_0x4ecd8d(0x2d5)]();for(var _0x3377ad=this['_oKey']=_0x14c94e[_0x4ecd8d(0x2e6)](),_0x35d4ee=this['_iKey']=_0x14c94e['clone'](),_0xb70410=_0x3377ad[_0x4ecd8d(0x317)],_0x506de4=_0x35d4ee[_0x4ecd8d(0x317)],_0xcafd25=0x0;_0xcafd25<_0xeeef15;_0xcafd25++)_0xb70410[_0xcafd25]^=0x5c5c5c5c,_0x506de4[_0xcafd25]^=0x36363636;_0x3377ad[_0x4ecd8d(0x1ac)]=_0x35d4ee['sigBytes']=_0x2d94af,this['reset']();},'reset':function(){var _0x1bbb00=_0x4896b8,_0x565ed3=this[_0x1bbb00(0x38a)];_0x565ed3[_0x1bbb00(0x3ce)](),_0x565ed3[_0x1bbb00(0x42c)](this[_0x1bbb00(0x11c)]);},'update':function(_0x579446){var _0x5b1366=_0x4896b8;return this[_0x5b1366(0x38a)][_0x5b1366(0x42c)](_0x579446),this;},'finalize':function(_0x5c0413){var _0x162046=_0x4896b8,_0x64b1af=this['_hasher'],_0x47d8e1=_0x64b1af[_0x162046(0x309)](_0x5c0413);_0x64b1af[_0x162046(0x3ce)]();var _0xa52b93=_0x64b1af['finalize'](this[_0x162046(0x396)]['clone']()[_0x162046(0x414)](_0x47d8e1));return _0xa52b93;}});}());}));}(Ce)),Ce[_0x59a271(0x40b)];}var Mi=Ee[_0x5d9338(0x40b)],et;function Nt(){var _0x126b58=_0x5d9338;return et||(et=0x1,function(_0x963647,_0xb07703){(function(_0x5af74a,_0x397ec3,_0x45ec37){var _0x3750ce=_0x4a4a;_0x963647[_0x3750ce(0x40b)]=_0x397ec3(Q(),Pi(),Li());}(Mi,function(_0x270795){return(function(){var _0x54b535=_0x4a4a,_0x4acff5=_0x270795,_0xfea4b2=_0x4acff5[_0x54b535(0x2ed)],_0xbcfb92=_0xfea4b2[_0x54b535(0x444)],_0x3e7eba=_0xfea4b2['WordArray'],_0x4839e7=_0x4acff5['algo'],_0x4fc64b=_0x4839e7['MD5'],_0x46d35f=_0x4839e7['EvpKDF']=_0xbcfb92['extend']({'cfg':_0xbcfb92[_0x54b535(0x45c)]({'keySize':0x80/0x20,'hasher':_0x4fc64b,'iterations':0x1}),'init':function(_0x28782e){var _0xd6ee79=_0x54b535;this[_0xd6ee79(0x2f7)]=this[_0xd6ee79(0x2f7)][_0xd6ee79(0x45c)](_0x28782e);},'compute':function(_0xa48a22,_0x5376e9){var _0x4d5b2b=_0x54b535;for(var _0x37aa82,_0x3384af=this[_0x4d5b2b(0x2f7)],_0x3ebffa=_0x3384af['hasher'][_0x4d5b2b(0x365)](),_0x3e1663=_0x3e7eba[_0x4d5b2b(0x365)](),_0xa34212=_0x3e1663[_0x4d5b2b(0x317)],_0x5c346f=_0x3384af[_0x4d5b2b(0x202)],_0x1f8fdc=_0x3384af['iterations'];_0xa34212[_0x4d5b2b(0x2f8)]<_0x5c346f;){_0x37aa82&&_0x3ebffa[_0x4d5b2b(0x42c)](_0x37aa82),_0x37aa82=_0x3ebffa[_0x4d5b2b(0x42c)](_0xa48a22)[_0x4d5b2b(0x309)](_0x5376e9),_0x3ebffa['reset']();for(var _0x163b3e=0x1;_0x163b3e<_0x1f8fdc;_0x163b3e++)_0x37aa82=_0x3ebffa[_0x4d5b2b(0x309)](_0x37aa82),_0x3ebffa[_0x4d5b2b(0x3ce)]();_0x3e1663[_0x4d5b2b(0x414)](_0x37aa82);}return _0x3e1663[_0x4d5b2b(0x1ac)]=_0x5c346f*0x4,_0x3e1663;}});_0x4acff5[_0x54b535(0x1d3)]=function(_0x11ebdc,_0x13282b,_0x358d91){var _0x107d1d=_0x54b535;return _0x46d35f['create'](_0x358d91)[_0x107d1d(0x294)](_0x11ebdc,_0x13282b);};}()),_0x270795['EvpKDF'];}));}(Ee)),Ee[_0x126b58(0x40b)];}var Te={'exports':{}},xi=Te[_0x5d9338(0x40b)],tt;function Ut(){var _0x57b133=_0x5d9338;return tt||(tt=0x1,function(_0x47d3f9,_0x2c8e2e){(function(_0x493d59,_0x2d6042,_0x42d1fb){_0x47d3f9['exports']=_0x2d6042(Q(),Nt());}(xi,function(_0x4b7fc0){var _0x3cdfe2=_0x4a4a;_0x4b7fc0[_0x3cdfe2(0x2ed)][_0x3cdfe2(0x22b)]||function(_0x5ec85c){var _0x17488d=_0x3cdfe2,_0x44ca6f=_0x4b7fc0,_0x5c71b0=_0x44ca6f[_0x17488d(0x2ed)],_0x432d5a=_0x5c71b0[_0x17488d(0x444)],_0x1f7630=_0x5c71b0[_0x17488d(0x372)],_0x24e6ea=_0x5c71b0[_0x17488d(0x172)],_0x416f85=_0x44ca6f[_0x17488d(0x293)];_0x416f85[_0x17488d(0x11e)];var _0x48181e=_0x416f85['Base64'],_0x459649=_0x44ca6f['algo'],_0x593da6=_0x459649['EvpKDF'],_0x5320fd=_0x5c71b0[_0x17488d(0x22b)]=_0x24e6ea[_0x17488d(0x45c)]({'cfg':_0x432d5a[_0x17488d(0x45c)](),'createEncryptor':function(_0xe8d2de,_0x2114ad){var _0x403e26=_0x17488d;return this[_0x403e26(0x365)](this[_0x403e26(0x263)],_0xe8d2de,_0x2114ad);},'createDecryptor':function(_0xbdc99d,_0x4d28a1){var _0x29e66c=_0x17488d;return this[_0x29e66c(0x365)](this[_0x29e66c(0x270)],_0xbdc99d,_0x4d28a1);},'init':function(_0x36ff99,_0xa23ce4,_0x16efca){var _0x3805a=_0x17488d;this['cfg']=this['cfg'][_0x3805a(0x45c)](_0x16efca),this[_0x3805a(0x267)]=_0x36ff99,this[_0x3805a(0x269)]=_0xa23ce4,this[_0x3805a(0x3ce)]();},'reset':function(){var _0x12dfd4=_0x17488d;_0x24e6ea[_0x12dfd4(0x3ce)][_0x12dfd4(0x244)](this),this[_0x12dfd4(0x2ae)]();},'process':function(_0x21f2f2){var _0x4fb520=_0x17488d;return this[_0x4fb520(0x153)](_0x21f2f2),this['_process']();},'finalize':function(_0x285dfd){var _0x78d5f2=_0x17488d;_0x285dfd&&this['_append'](_0x285dfd);var _0x25bc38=this[_0x78d5f2(0x40e)]();return _0x25bc38;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x11a750(_0x144267){var _0x233b83=_0x4a4a;return typeof _0x144267==_0x233b83(0x26a)?_0x4a490b:_0x43f542;}return function(_0x455689){return{'encrypt':function(_0x520723,_0x58b41f,_0x12c619){var _0x54a1b6=_0x4a4a;return _0x11a750(_0x58b41f)[_0x54a1b6(0x406)](_0x455689,_0x520723,_0x58b41f,_0x12c619);},'decrypt':function(_0xda9fad,_0x324427,_0x17cbce){var _0x61852d=_0x4a4a;return _0x11a750(_0x324427)[_0x61852d(0x3fd)](_0x455689,_0xda9fad,_0x324427,_0x17cbce);}};};}())});_0x5c71b0[_0x17488d(0x2d0)]=_0x5320fd[_0x17488d(0x45c)]({'_doFinalize':function(){var _0x1d5765=this['_process'](!0x0);return _0x1d5765;},'blockSize':0x1});var _0x5ae2b8=_0x44ca6f[_0x17488d(0x29a)]={},_0x4807ac=_0x5c71b0[_0x17488d(0x32e)]=_0x432d5a[_0x17488d(0x45c)]({'createEncryptor':function(_0x4bc25a,_0x149014){var _0x259338=_0x17488d;return this[_0x259338(0x44d)][_0x259338(0x365)](_0x4bc25a,_0x149014);},'createDecryptor':function(_0x1a0f69,_0x46a0bf){var _0x3d2b7b=_0x17488d;return this[_0x3d2b7b(0x325)]['create'](_0x1a0f69,_0x46a0bf);},'init':function(_0x348afb,_0x53e301){var _0x5576e3=_0x17488d;this[_0x5576e3(0x122)]=_0x348afb,this['_iv']=_0x53e301;}}),_0x431d1b=_0x5ae2b8[_0x17488d(0x2f6)]=(function(){var _0x1f9186=_0x17488d,_0x4fbda5=_0x4807ac[_0x1f9186(0x45c)]();_0x4fbda5[_0x1f9186(0x44d)]=_0x4fbda5[_0x1f9186(0x45c)]({'processBlock':function(_0x4afcf3,_0x160443){var _0x2809b6=_0x1f9186,_0x496b33=this['_cipher'],_0x594dcb=_0x496b33[_0x2809b6(0x24f)];_0x14c25d[_0x2809b6(0x244)](this,_0x4afcf3,_0x160443,_0x594dcb),_0x496b33[_0x2809b6(0x1a5)](_0x4afcf3,_0x160443),this[_0x2809b6(0x3af)]=_0x4afcf3[_0x2809b6(0x43e)](_0x160443,_0x160443+_0x594dcb);}}),_0x4fbda5['Decryptor']=_0x4fbda5[_0x1f9186(0x45c)]({'processBlock':function(_0x31b5d6,_0x19aaed){var _0x4f853c=_0x1f9186,_0x34182a=this[_0x4f853c(0x122)],_0x34a06c=_0x34182a['blockSize'],_0x1c32d5=_0x31b5d6[_0x4f853c(0x43e)](_0x19aaed,_0x19aaed+_0x34a06c);_0x34182a[_0x4f853c(0x291)](_0x31b5d6,_0x19aaed),_0x14c25d[_0x4f853c(0x244)](this,_0x31b5d6,_0x19aaed,_0x34a06c),this[_0x4f853c(0x3af)]=_0x1c32d5;}});function _0x14c25d(_0x138af7,_0x5a84b0,_0x1b2239){var _0x1ab9ce=_0x1f9186,_0x4c0867,_0x26c9f8=this['_iv'];_0x26c9f8?(_0x4c0867=_0x26c9f8,this['_iv']=_0x5ec85c):_0x4c0867=this[_0x1ab9ce(0x3af)];for(var _0xf072ac=0x0;_0xf072ac<_0x1b2239;_0xf072ac++)_0x138af7[_0x5a84b0+_0xf072ac]^=_0x4c0867[_0xf072ac];}return _0x4fbda5;}()),_0x26ba96=_0x44ca6f['pad']={},_0x462cd3=_0x26ba96[_0x17488d(0x375)]={'pad':function(_0x37c63f,_0xb3fe95){var _0x5dddd6=_0x17488d;for(var _0x43da2b=_0xb3fe95*0x4,_0x339c0f=_0x43da2b-_0x37c63f[_0x5dddd6(0x1ac)]%_0x43da2b,_0x32e8b2=_0x339c0f<<0x18|_0x339c0f<<0x10|_0x339c0f<<0x8|_0x339c0f,_0x3a8123=[],_0x62157a=0x0;_0x62157a<_0x339c0f;_0x62157a+=0x4)_0x3a8123['push'](_0x32e8b2);var _0x313b5d=_0x1f7630[_0x5dddd6(0x365)](_0x3a8123,_0x339c0f);_0x37c63f[_0x5dddd6(0x414)](_0x313b5d);},'unpad':function(_0x35112e){var _0x2c1969=_0x17488d,_0x5e7ce9=_0x35112e['words'][_0x35112e[_0x2c1969(0x1ac)]-0x1>>>0x2]&0xff;_0x35112e[_0x2c1969(0x1ac)]-=_0x5e7ce9;}};_0x5c71b0['BlockCipher']=_0x5320fd[_0x17488d(0x45c)]({'cfg':_0x5320fd[_0x17488d(0x2f7)]['extend']({'mode':_0x431d1b,'padding':_0x462cd3}),'reset':function(){var _0x3eb9d5=_0x17488d,_0x21f717;_0x5320fd[_0x3eb9d5(0x3ce)][_0x3eb9d5(0x244)](this);var _0x5c9288=this[_0x3eb9d5(0x2f7)],_0x288a5b=_0x5c9288['iv'],_0x2067dc=_0x5c9288[_0x3eb9d5(0x29a)];this[_0x3eb9d5(0x267)]==this[_0x3eb9d5(0x263)]?_0x21f717=_0x2067dc['createEncryptor']:(_0x21f717=_0x2067dc[_0x3eb9d5(0x138)],this['_minBufferSize']=0x1),this['_mode']&&this['_mode']['__creator']==_0x21f717?this[_0x3eb9d5(0x211)][_0x3eb9d5(0x35f)](this,_0x288a5b&&_0x288a5b[_0x3eb9d5(0x317)]):(this[_0x3eb9d5(0x211)]=_0x21f717[_0x3eb9d5(0x244)](_0x2067dc,this,_0x288a5b&&_0x288a5b[_0x3eb9d5(0x317)]),this[_0x3eb9d5(0x211)][_0x3eb9d5(0x467)]=_0x21f717);},'_doProcessBlock':function(_0x5d69da,_0x2ecd1f){var _0x80d106=_0x17488d;this[_0x80d106(0x211)][_0x80d106(0x22d)](_0x5d69da,_0x2ecd1f);},'_doFinalize':function(){var _0x55afe4=_0x17488d,_0x285341,_0x5c6681=this['cfg'][_0x55afe4(0x320)];return this[_0x55afe4(0x267)]==this['_ENC_XFORM_MODE']?(_0x5c6681[_0x55afe4(0x376)](this[_0x55afe4(0x342)],this[_0x55afe4(0x24f)]),_0x285341=this[_0x55afe4(0x170)](!0x0)):(_0x285341=this[_0x55afe4(0x170)](!0x0),_0x5c6681[_0x55afe4(0x192)](_0x285341)),_0x285341;},'blockSize':0x80/0x20});var _0x5048c6=_0x5c71b0[_0x17488d(0x25e)]=_0x432d5a[_0x17488d(0x45c)]({'init':function(_0x484993){var _0x238c0f=_0x17488d;this[_0x238c0f(0x3a2)](_0x484993);},'toString':function(_0x4052a9){var _0x1b03af=_0x17488d;return(_0x4052a9||this[_0x1b03af(0x257)])[_0x1b03af(0x1bf)](this);}}),_0x5a903e=_0x44ca6f[_0x17488d(0x1b0)]={},_0x394bc2=_0x5a903e[_0x17488d(0x405)]={'stringify':function(_0x4369ff){var _0x27270e=_0x17488d,_0x434dd0,_0x629c7e=_0x4369ff['ciphertext'],_0x3d9c6d=_0x4369ff['salt'];return _0x3d9c6d?_0x434dd0=_0x1f7630[_0x27270e(0x365)]([0x53616c74,0x65645f5f])[_0x27270e(0x414)](_0x3d9c6d)[_0x27270e(0x414)](_0x629c7e):_0x434dd0=_0x629c7e,_0x434dd0[_0x27270e(0x169)](_0x48181e);},'parse':function(_0x19bf38){var _0x12cb47=_0x17488d,_0x56ddc5,_0x39d9e4=_0x48181e[_0x12cb47(0x32b)](_0x19bf38),_0x2c45f3=_0x39d9e4[_0x12cb47(0x317)];return _0x2c45f3[0x0]==0x53616c74&&_0x2c45f3[0x1]==0x65645f5f&&(_0x56ddc5=_0x1f7630[_0x12cb47(0x365)](_0x2c45f3[_0x12cb47(0x43e)](0x2,0x4)),_0x2c45f3[_0x12cb47(0x236)](0x0,0x4),_0x39d9e4[_0x12cb47(0x1ac)]-=0x10),_0x5048c6['create']({'ciphertext':_0x39d9e4,'salt':_0x56ddc5});}},_0x43f542=_0x5c71b0['SerializableCipher']=_0x432d5a['extend']({'cfg':_0x432d5a[_0x17488d(0x45c)]({'format':_0x394bc2}),'encrypt':function(_0x2304cc,_0x59e4be,_0x90bfa,_0x217758){var _0x265942=_0x17488d;_0x217758=this[_0x265942(0x2f7)]['extend'](_0x217758);var _0xf2c3df=_0x2304cc['createEncryptor'](_0x90bfa,_0x217758),_0xf91fb9=_0xf2c3df[_0x265942(0x309)](_0x59e4be),_0x318ba5=_0xf2c3df[_0x265942(0x2f7)];return _0x5048c6[_0x265942(0x365)]({'ciphertext':_0xf91fb9,'key':_0x90bfa,'iv':_0x318ba5['iv'],'algorithm':_0x2304cc,'mode':_0x318ba5['mode'],'padding':_0x318ba5['padding'],'blockSize':_0x2304cc['blockSize'],'formatter':_0x217758[_0x265942(0x1b0)]});},'decrypt':function(_0x1f9312,_0x545751,_0x47fbb7,_0x4aea58){var _0xaf8ada=_0x17488d;_0x4aea58=this[_0xaf8ada(0x2f7)][_0xaf8ada(0x45c)](_0x4aea58),_0x545751=this['_parse'](_0x545751,_0x4aea58[_0xaf8ada(0x1b0)]);var _0x31517c=_0x1f9312[_0xaf8ada(0x138)](_0x47fbb7,_0x4aea58)['finalize'](_0x545751['ciphertext']);return _0x31517c;},'_parse':function(_0x450305,_0x209502){var _0x25cd95=_0x17488d;return typeof _0x450305==_0x25cd95(0x26a)?_0x209502['parse'](_0x450305,this):_0x450305;}}),_0x49d7f5=_0x44ca6f[_0x17488d(0x292)]={},_0x5a4e64=_0x49d7f5['OpenSSL']={'execute':function(_0x13f6db,_0x3f032b,_0x3891fa,_0x19a599,_0x39c424){var _0x312685=_0x17488d;if(_0x19a599||(_0x19a599=_0x1f7630[_0x312685(0x3aa)](0x40/0x8)),_0x39c424)var _0x1b7e52=_0x593da6[_0x312685(0x365)]({'keySize':_0x3f032b+_0x3891fa,'hasher':_0x39c424})[_0x312685(0x294)](_0x13f6db,_0x19a599);else var _0x1b7e52=_0x593da6[_0x312685(0x365)]({'keySize':_0x3f032b+_0x3891fa})[_0x312685(0x294)](_0x13f6db,_0x19a599);var _0x3840a3=_0x1f7630[_0x312685(0x365)](_0x1b7e52['words'][_0x312685(0x43e)](_0x3f032b),_0x3891fa*0x4);return _0x1b7e52[_0x312685(0x1ac)]=_0x3f032b*0x4,_0x5048c6[_0x312685(0x365)]({'key':_0x1b7e52,'iv':_0x3840a3,'salt':_0x19a599});}},_0x4a490b=_0x5c71b0[_0x17488d(0x11a)]=_0x43f542['extend']({'cfg':_0x43f542[_0x17488d(0x2f7)]['extend']({'kdf':_0x5a4e64}),'encrypt':function(_0x111038,_0x2210db,_0x57332b,_0x18a892){var _0x13b0c0=_0x17488d;_0x18a892=this[_0x13b0c0(0x2f7)][_0x13b0c0(0x45c)](_0x18a892);var _0x449b2e=_0x18a892[_0x13b0c0(0x292)][_0x13b0c0(0x3b6)](_0x57332b,_0x111038[_0x13b0c0(0x202)],_0x111038[_0x13b0c0(0x29e)],_0x18a892[_0x13b0c0(0x26f)],_0x18a892[_0x13b0c0(0x237)]);_0x18a892['iv']=_0x449b2e['iv'];var _0x3aaa97=_0x43f542[_0x13b0c0(0x406)][_0x13b0c0(0x244)](this,_0x111038,_0x2210db,_0x449b2e[_0x13b0c0(0x27b)],_0x18a892);return _0x3aaa97['mixIn'](_0x449b2e),_0x3aaa97;},'decrypt':function(_0x509bfb,_0x5cb270,_0x3e904b,_0x26fa8e){var _0x4c5470=_0x17488d;_0x26fa8e=this[_0x4c5470(0x2f7)]['extend'](_0x26fa8e),_0x5cb270=this[_0x4c5470(0x129)](_0x5cb270,_0x26fa8e['format']);var _0x2449b5=_0x26fa8e['kdf'][_0x4c5470(0x3b6)](_0x3e904b,_0x509bfb[_0x4c5470(0x202)],_0x509bfb['ivSize'],_0x5cb270[_0x4c5470(0x26f)],_0x26fa8e['hasher']);_0x26fa8e['iv']=_0x2449b5['iv'];var _0x29384a=_0x43f542['decrypt']['call'](this,_0x509bfb,_0x5cb270,_0x2449b5['key'],_0x26fa8e);return _0x29384a;}});}();}));}(Te)),Te[_0x57b133(0x40b)];}var ki=fe[_0x5d9338(0x40b)],it;function Hi(){var _0x5b5489=_0x5d9338;return it||(it=0x1,function(_0x35dcc2,_0x25e427){(function(_0x9e22be,_0xc7dd29,_0x215e18){var _0x152b5b=_0x4a4a;_0x35dcc2[_0x152b5b(0x40b)]=_0xc7dd29(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x5a84db){return(function(){var _0x46fbe7=_0x4a4a,_0x5a7700=_0x5a84db,_0x35529b=_0x5a7700[_0x46fbe7(0x2ed)],_0x4b7e78=_0x35529b['BlockCipher'],_0x1aac5a=_0x5a7700[_0x46fbe7(0x3b3)],_0x435b3f=[],_0x9b934c=[],_0x3d3c4d=[],_0x4bc578=[],_0x4016c5=[],_0x146200=[],_0xb23f29=[],_0x2c9aec=[],_0x1ad09f=[],_0xfccb84=[];(function(){for(var _0x5c5dde=[],_0x1a0957=0x0;_0x1a0957<0x100;_0x1a0957++)_0x1a0957<0x80?_0x5c5dde[_0x1a0957]=_0x1a0957<<0x1:_0x5c5dde[_0x1a0957]=_0x1a0957<<0x1^0x11b;for(var _0x501b22=0x0,_0x200b81=0x0,_0x1a0957=0x0;_0x1a0957<0x100;_0x1a0957++){var _0x4a0491=_0x200b81^_0x200b81<<0x1^_0x200b81<<0x2^_0x200b81<<0x3^_0x200b81<<0x4;_0x4a0491=_0x4a0491>>>0x8^_0x4a0491&0xff^0x63,_0x435b3f[_0x501b22]=_0x4a0491,_0x9b934c[_0x4a0491]=_0x501b22;var _0x12c7d1=_0x5c5dde[_0x501b22],_0x11b293=_0x5c5dde[_0x12c7d1],_0x19afdb=_0x5c5dde[_0x11b293],_0x5dedf4=_0x5c5dde[_0x4a0491]*0x101^_0x4a0491*0x1010100;_0x3d3c4d[_0x501b22]=_0x5dedf4<<0x18|_0x5dedf4>>>0x8,_0x4bc578[_0x501b22]=_0x5dedf4<<0x10|_0x5dedf4>>>0x10,_0x4016c5[_0x501b22]=_0x5dedf4<<0x8|_0x5dedf4>>>0x18,_0x146200[_0x501b22]=_0x5dedf4;var _0x5dedf4=_0x19afdb*0x1010101^_0x11b293*0x10001^_0x12c7d1*0x101^_0x501b22*0x1010100;_0xb23f29[_0x4a0491]=_0x5dedf4<<0x18|_0x5dedf4>>>0x8,_0x2c9aec[_0x4a0491]=_0x5dedf4<<0x10|_0x5dedf4>>>0x10,_0x1ad09f[_0x4a0491]=_0x5dedf4<<0x8|_0x5dedf4>>>0x18,_0xfccb84[_0x4a0491]=_0x5dedf4,_0x501b22?(_0x501b22=_0x12c7d1^_0x5c5dde[_0x5c5dde[_0x5c5dde[_0x19afdb^_0x12c7d1]]],_0x200b81^=_0x5c5dde[_0x5c5dde[_0x200b81]]):_0x501b22=_0x200b81=0x1;}}());var _0x4b0220=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2772ed=_0x1aac5a[_0x46fbe7(0x2b9)]=_0x4b7e78[_0x46fbe7(0x45c)]({'_doReset':function(){var _0x16f6b1=_0x46fbe7,_0x280bf5;if(!(this[_0x16f6b1(0x140)]&&this['_keyPriorReset']===this[_0x16f6b1(0x269)])){for(var _0x107f61=this[_0x16f6b1(0x1ea)]=this['_key'],_0x3b4ce=_0x107f61[_0x16f6b1(0x317)],_0x2a75d1=_0x107f61[_0x16f6b1(0x1ac)]/0x4,_0x2dff5c=this[_0x16f6b1(0x140)]=_0x2a75d1+0x6,_0x2bd552=(_0x2dff5c+0x1)*0x4,_0x2e9d6a=this[_0x16f6b1(0x248)]=[],_0x3b4387=0x0;_0x3b4387<_0x2bd552;_0x3b4387++)_0x3b4387<_0x2a75d1?_0x2e9d6a[_0x3b4387]=_0x3b4ce[_0x3b4387]:(_0x280bf5=_0x2e9d6a[_0x3b4387-0x1],_0x3b4387%_0x2a75d1?_0x2a75d1>0x6&&_0x3b4387%_0x2a75d1==0x4&&(_0x280bf5=_0x435b3f[_0x280bf5>>>0x18]<<0x18|_0x435b3f[_0x280bf5>>>0x10&0xff]<<0x10|_0x435b3f[_0x280bf5>>>0x8&0xff]<<0x8|_0x435b3f[_0x280bf5&0xff]):(_0x280bf5=_0x280bf5<<0x8|_0x280bf5>>>0x18,_0x280bf5=_0x435b3f[_0x280bf5>>>0x18]<<0x18|_0x435b3f[_0x280bf5>>>0x10&0xff]<<0x10|_0x435b3f[_0x280bf5>>>0x8&0xff]<<0x8|_0x435b3f[_0x280bf5&0xff],_0x280bf5^=_0x4b0220[_0x3b4387/_0x2a75d1|0x0]<<0x18),_0x2e9d6a[_0x3b4387]=_0x2e9d6a[_0x3b4387-_0x2a75d1]^_0x280bf5);for(var _0x33c526=this[_0x16f6b1(0x2b0)]=[],_0x2352af=0x0;_0x2352af<_0x2bd552;_0x2352af++){var _0x3b4387=_0x2bd552-_0x2352af;if(_0x2352af%0x4)var _0x280bf5=_0x2e9d6a[_0x3b4387];else var _0x280bf5=_0x2e9d6a[_0x3b4387-0x4];_0x2352af<0x4||_0x3b4387<=0x4?_0x33c526[_0x2352af]=_0x280bf5:_0x33c526[_0x2352af]=_0xb23f29[_0x435b3f[_0x280bf5>>>0x18]]^_0x2c9aec[_0x435b3f[_0x280bf5>>>0x10&0xff]]^_0x1ad09f[_0x435b3f[_0x280bf5>>>0x8&0xff]]^_0xfccb84[_0x435b3f[_0x280bf5&0xff]];}}},'encryptBlock':function(_0x288af9,_0x49da66){this['_doCryptBlock'](_0x288af9,_0x49da66,this['_keySchedule'],_0x3d3c4d,_0x4bc578,_0x4016c5,_0x146200,_0x435b3f);},'decryptBlock':function(_0x51fdde,_0x17a743){var _0x32c7f2=_0x46fbe7,_0x30cf5e=_0x51fdde[_0x17a743+0x1];_0x51fdde[_0x17a743+0x1]=_0x51fdde[_0x17a743+0x3],_0x51fdde[_0x17a743+0x3]=_0x30cf5e,this[_0x32c7f2(0x37b)](_0x51fdde,_0x17a743,this['_invKeySchedule'],_0xb23f29,_0x2c9aec,_0x1ad09f,_0xfccb84,_0x9b934c);var _0x30cf5e=_0x51fdde[_0x17a743+0x1];_0x51fdde[_0x17a743+0x1]=_0x51fdde[_0x17a743+0x3],_0x51fdde[_0x17a743+0x3]=_0x30cf5e;},'_doCryptBlock':function(_0x2f7bd7,_0x3014d1,_0x30d654,_0x3b5826,_0x3918bd,_0x55ce82,_0x10e97c,_0x4654b0){var _0x1bf4fd=_0x46fbe7;for(var _0x137655=this[_0x1bf4fd(0x140)],_0x41b6ff=_0x2f7bd7[_0x3014d1]^_0x30d654[0x0],_0xadce27=_0x2f7bd7[_0x3014d1+0x1]^_0x30d654[0x1],_0x1f5f0d=_0x2f7bd7[_0x3014d1+0x2]^_0x30d654[0x2],_0x102154=_0x2f7bd7[_0x3014d1+0x3]^_0x30d654[0x3],_0x4a85ea=0x4,_0x13f3f5=0x1;_0x13f3f5<_0x137655;_0x13f3f5++){var _0x67ac33=_0x3b5826[_0x41b6ff>>>0x18]^_0x3918bd[_0xadce27>>>0x10&0xff]^_0x55ce82[_0x1f5f0d>>>0x8&0xff]^_0x10e97c[_0x102154&0xff]^_0x30d654[_0x4a85ea++],_0x12ada7=_0x3b5826[_0xadce27>>>0x18]^_0x3918bd[_0x1f5f0d>>>0x10&0xff]^_0x55ce82[_0x102154>>>0x8&0xff]^_0x10e97c[_0x41b6ff&0xff]^_0x30d654[_0x4a85ea++],_0x6f0eef=_0x3b5826[_0x1f5f0d>>>0x18]^_0x3918bd[_0x102154>>>0x10&0xff]^_0x55ce82[_0x41b6ff>>>0x8&0xff]^_0x10e97c[_0xadce27&0xff]^_0x30d654[_0x4a85ea++],_0x23c7cc=_0x3b5826[_0x102154>>>0x18]^_0x3918bd[_0x41b6ff>>>0x10&0xff]^_0x55ce82[_0xadce27>>>0x8&0xff]^_0x10e97c[_0x1f5f0d&0xff]^_0x30d654[_0x4a85ea++];_0x41b6ff=_0x67ac33,_0xadce27=_0x12ada7,_0x1f5f0d=_0x6f0eef,_0x102154=_0x23c7cc;}var _0x67ac33=(_0x4654b0[_0x41b6ff>>>0x18]<<0x18|_0x4654b0[_0xadce27>>>0x10&0xff]<<0x10|_0x4654b0[_0x1f5f0d>>>0x8&0xff]<<0x8|_0x4654b0[_0x102154&0xff])^_0x30d654[_0x4a85ea++],_0x12ada7=(_0x4654b0[_0xadce27>>>0x18]<<0x18|_0x4654b0[_0x1f5f0d>>>0x10&0xff]<<0x10|_0x4654b0[_0x102154>>>0x8&0xff]<<0x8|_0x4654b0[_0x41b6ff&0xff])^_0x30d654[_0x4a85ea++],_0x6f0eef=(_0x4654b0[_0x1f5f0d>>>0x18]<<0x18|_0x4654b0[_0x102154>>>0x10&0xff]<<0x10|_0x4654b0[_0x41b6ff>>>0x8&0xff]<<0x8|_0x4654b0[_0xadce27&0xff])^_0x30d654[_0x4a85ea++],_0x23c7cc=(_0x4654b0[_0x102154>>>0x18]<<0x18|_0x4654b0[_0x41b6ff>>>0x10&0xff]<<0x10|_0x4654b0[_0xadce27>>>0x8&0xff]<<0x8|_0x4654b0[_0x1f5f0d&0xff])^_0x30d654[_0x4a85ea++];_0x2f7bd7[_0x3014d1]=_0x67ac33,_0x2f7bd7[_0x3014d1+0x1]=_0x12ada7,_0x2f7bd7[_0x3014d1+0x2]=_0x6f0eef,_0x2f7bd7[_0x3014d1+0x3]=_0x23c7cc;},'keySize':0x100/0x20});_0x5a7700[_0x46fbe7(0x2b9)]=_0x4b7e78['_createHelper'](_0x2772ed);}()),_0x5a84db['AES'];}));}(fe)),fe[_0x5b5489(0x40b)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x5d9338(0x40b)],rt;function Vi(){var _0x418161=_0x5d9338;return rt||(rt=0x1,function(_0x2661eb,_0x5c8699){(function(_0x10830d,_0x20c3cf){var _0x19c189=_0x4a4a;_0x2661eb[_0x19c189(0x40b)]=_0x20c3cf(Q());}(Fi,function(_0x214dd1){var _0x93d76e=_0x4a4a;return _0x214dd1[_0x93d76e(0x293)]['Utf8'];}));}(be)),be[_0x418161(0x40b)];}var Wi=Vi();const Gi=ve(Wi);var Re={'exports':{}},Ki=Re['exports'],st;function Yi(){return st||(st=0x1,function(_0x8a9201,_0x4fd0b0){(function(_0x5396b7,_0x401327){var _0x4c7e32=_0x4a4a;_0x8a9201[_0x4c7e32(0x40b)]=_0x401327(Q());}(Ki,function(_0x1b5842){return(function(){var _0x2163f8=_0x4a4a;if(typeof ArrayBuffer==_0x2163f8(0x13d)){var _0x3b0dbe=_0x1b5842,_0x5274c8=_0x3b0dbe['lib'],_0x2a12b4=_0x5274c8[_0x2163f8(0x372)],_0x3e717d=_0x2a12b4[_0x2163f8(0x35f)],_0x3e2167=_0x2a12b4['init']=function(_0x403070){var _0x1b36d0=_0x2163f8;if(_0x403070 instanceof ArrayBuffer&&(_0x403070=new Uint8Array(_0x403070)),(_0x403070 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x403070 instanceof Uint8ClampedArray||_0x403070 instanceof Int16Array||_0x403070 instanceof Uint16Array||_0x403070 instanceof Int32Array||_0x403070 instanceof Uint32Array||_0x403070 instanceof Float32Array||_0x403070 instanceof Float64Array)&&(_0x403070=new Uint8Array(_0x403070[_0x1b36d0(0x1f6)],_0x403070['byteOffset'],_0x403070[_0x1b36d0(0x2a3)])),_0x403070 instanceof Uint8Array){for(var _0x27bdfb=_0x403070[_0x1b36d0(0x2a3)],_0x5e9b1d=[],_0x2bbdf3=0x0;_0x2bbdf3<_0x27bdfb;_0x2bbdf3++)_0x5e9b1d[_0x2bbdf3>>>0x2]|=_0x403070[_0x2bbdf3]<<0x18-_0x2bbdf3%0x4*0x8;_0x3e717d[_0x1b36d0(0x244)](this,_0x5e9b1d,_0x27bdfb);}else _0x3e717d['apply'](this,arguments);};_0x3e2167[_0x2163f8(0x209)]=_0x2a12b4;}}()),_0x1b5842['lib']['WordArray'];}));}(Re)),Re['exports'];}var qi=Yi();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x5d9338(0x40b)],ot;function Xi(){var _0x3c35d9=_0x5d9338;return ot||(ot=0x1,function(_0xf0a811,_0x4ad69a){(function(_0x205d1c,_0x1cb3ae,_0x3dfda7){var _0x49fe77=_0x4a4a;_0xf0a811[_0x49fe77(0x40b)]=_0x1cb3ae(Q(),Ut());}(Ji,function(_0x21ca5c){var _0x325117=_0x4a4a;return _0x21ca5c['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x21ca5c[_0x325117(0x376)]['NoPadding'];}));}(Oe)),Oe[_0x3c35d9(0x40b)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x43d59c,_0x52dbc3){var _0x3f4cc2=_0x5d9338;const _0x27e05a=_0x52dbc3-_0x43d59c[_0x3f4cc2(0x2f8)]%_0x52dbc3,_0x4b502a=String[_0x3f4cc2(0x1eb)](_0x27e05a)[_0x3f4cc2(0x37a)](_0x27e05a);return _0x43d59c+_0x4b502a;}function tn(_0x163a07,_0x1f2fe3){var _0x2f145c=_0x5d9338;const _0xc7ab21=zi[_0x2f145c(0x3aa)](0x10),_0x3eccf9=en(_0x163a07,0x10),_0x3e2b68=ji[_0x2f145c(0x406)](Gi[_0x2f145c(0x32b)](_0x3eccf9),nt[_0x2f145c(0x32b)](_0x1f2fe3),{'iv':_0xc7ab21,'padding':Qi});return _0xc7ab21[_0x2f145c(0x414)](_0x3e2b68[_0x2f145c(0x3ed)])[_0x2f145c(0x169)](nt);}function nn(){var _0x3ff5ca=_0x5d9338;const _0x3ac929=wt[_0x3ff5ca(0x3a3)]()['__Key__'];if(_0x3ac929){const _0x4e2bd9={'time':Math[_0x3ff5ca(0x108)](Date[_0x3ff5ca(0x3c5)]()/0x3e8),'domain':location[_0x3ff5ca(0x173)]};return tn(JSON[_0x3ff5ca(0x1bf)](_0x4e2bd9),_0x3ac929);}}var rn=Object[_0x5d9338(0x254)],sn=(_0x948b25,_0xfbe940,_0x44bf0f,_0x39f4e0)=>{var _0x448cbf=_0x5d9338;for(var _0x4c8147=_0x39f4e0>0x1?void 0x0:_0x39f4e0?rn(_0xfbe940,_0x44bf0f):_0xfbe940,_0x289b18=_0x948b25[_0x448cbf(0x2f8)]-0x1,_0xac0be8;_0x289b18>=0x0;_0x289b18--)(_0xac0be8=_0x948b25[_0x289b18])&&(_0x4c8147=_0xac0be8(_0x4c8147)||_0x4c8147);return _0x4c8147;},on=(_0x2d635c,_0x262fd4)=>(_0x147e02,_0xe49867)=>_0x262fd4(_0x147e02,_0xe49867,_0x2d635c);let Ne=class{constructor(_0x257e0e){var _0x3d6293=_0x5d9338;this[_0x3d6293(0x2ca)]=_0x257e0e,this[_0x3d6293(0x17d)]();}[_0x5d9338(0x17d)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x2d8d13,_0x3d1511)=>{var _0x4dcfbf=_0x4a4a;const _0x3250e7=_0x2d8d13[_0x4dcfbf(0x33d)],_0x56e625=nn();return _0x56e625&&_0x3250e7['set'](_0x4dcfbf(0x32d),_0x56e625),_0x3d1511(_0x2d8d13);}});}};Ne=sn([on(0x0,a[_0x5d9338(0x15d)](Y['HTTPService']))],Ne);var an=Object['getOwnPropertyDescriptor'],cn=(_0x3163c7,_0x2bc277,_0x390163,_0x38904b)=>{var _0x5e19ee=_0x5d9338;for(var _0xaf5da4=_0x38904b>0x1?void 0x0:_0x38904b?an(_0x2bc277,_0x390163):_0x2bc277,_0x5f18bc=_0x3163c7[_0x5e19ee(0x2f8)]-0x1,_0x40b8d8;_0x5f18bc>=0x0;_0x5f18bc--)(_0x40b8d8=_0x3163c7[_0x5f18bc])&&(_0xaf5da4=_0x40b8d8(_0xaf5da4)||_0xaf5da4);return _0xaf5da4;},we=(_0x1e55fc,_0x4bffce)=>(_0x56d7d9,_0x515dc3)=>_0x4bffce(_0x56d7d9,_0x515dc3,_0x1e55fc);exports[_0x5d9338(0x316)]=class extends a[_0x5d9338(0x429)]{constructor(_0x662f44,_0x1e00d0,_0xc8cbac){var _0x51e6b3=_0x5d9338;super(),A(this,_0x51e6b3(0x312),new $[(_0x51e6b3(0x1e2))](null)),A(this,_0x51e6b3(0x3dc),this[_0x51e6b3(0x312)][_0x51e6b3(0x203)]()),(this[_0x51e6b3(0x415)]=_0x662f44,this['_snapshotService']=_0x1e00d0,this['_localCacheService']=_0xc8cbac);}async[_0x5d9338(0x159)](_0x2ff1b1,_0x2c83fa,_0x28bc2a){var _0x3ecfe5=_0x5d9338;this['_unitInfo$']['next']({'unitId':_0x2ff1b1,'type':_0x2c83fa});let _0x36eae9=null;switch(_0x2c83fa){case J['UNIVER_SHEET']:{_0x36eae9=await this[_0x3ecfe5(0x307)][_0x3ecfe5(0x118)](_0x2ff1b1,_0x28bc2a);break;}case J['UNIVER_DOC']:{_0x36eae9=await this[_0x3ecfe5(0x307)]['loadDoc'](_0x2ff1b1,_0x28bc2a);break;}default:{this[_0x3ecfe5(0x415)][_0x3ecfe5(0x45d)]('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x36eae9;}async[_0x5d9338(0x39b)](_0x18510a,_0x46b5df,_0x207fe2){var _0x3253a5=_0x5d9338,_0x389d96;this['_unitInfo$'][_0x3253a5(0x1c8)]({'unitId':_0x18510a,'type':_0x46b5df,'subUnitId':_0x207fe2});let _0x1f213c=0x0;const _0x33f039=await((_0x389d96=this['_localCacheService'])==null?void 0x0:_0x389d96[_0x3253a5(0x205)](_0x18510a));return _0x33f039&&(_0x33f039[_0x3253a5(0x25a)]||_0x33f039[_0x3253a5(0x3d6)][_0x3253a5(0x2f8)]!==0x0)&&(_0x1f213c=_0x33f039[_0x3253a5(0x3e3)]),_0x1f213c===0x0&&this['_logService'][_0x3253a5(0x126)](_0x3253a5(0x3da),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x3253a5(0x159)](_0x18510a,_0x46b5df,_0x1f213c);}},exports[_0x5d9338(0x316)]=cn([we(0x0,a['ILogService']),we(0x1,a[_0x5d9338(0x15d)](I[_0x5d9338(0x30d)])),we(0x2,a[_0x5d9338(0x2e4)](q))],exports[_0x5d9338(0x316)]);var hn=Object[_0x5d9338(0x254)],_n=(_0x2cf982,_0x4f7660,_0x10c31b,_0x360476)=>{for(var _0x18dc39=_0x360476>0x1?void 0x0:_0x360476?hn(_0x4f7660,_0x10c31b):_0x4f7660,_0x24c3db=_0x2cf982['length']-0x1,_0x2bf307;_0x24c3db>=0x0;_0x24c3db--)(_0x2bf307=_0x2cf982[_0x24c3db])&&(_0x18dc39=_0x2bf307(_0x18dc39)||_0x18dc39);return _0x18dc39;},Le=(_0x57ddfd,_0x3a514b)=>(_0x553392,_0xd4f4d6)=>_0x3a514b(_0x553392,_0xd4f4d6,_0x57ddfd);const ln=[_0x5d9338(0x30b),_0x5d9338(0x3bc),'image/jpg',_0x5d9338(0x231),_0x5d9338(0x10d)],un=0x5*0x400*0x400,dn=_0x5d9338(0x2a5),vn='/universer-api/stream/file/upload',Sn=_0x5d9338(0x2ad),fn='/universer-api/file/{fileID}/sign-url';exports[_0x5d9338(0x2bd)]=class{constructor(_0x5d11ce,_0x1f9626,_0x15c4cf){var _0x59ea83=_0x5d9338;A(this,_0x59ea83(0x2db),0x0),A(this,_0x59ea83(0x389),new $[(_0x59ea83(0x41d))]()),A(this,'change$',this['_change$']),A(this,_0x59ea83(0x41c),new Map()),(this['_httpService']=_0x5d11ce,this[_0x59ea83(0x44f)]=_0x1f9626,this[_0x59ea83(0x283)]=_0x15c4cf);}[_0x5d9338(0x361)](_0x33ae74){var _0xdd09f5=_0x5d9338;this[_0xdd09f5(0x2db)]=_0x33ae74,this[_0xdd09f5(0x389)][_0xdd09f5(0x1c8)](_0x33ae74);}['getImageSourceCache'](_0x1cea0b,_0x2d342e){var _0x4aaf2b=_0x5d9338;if(_0x2d342e===z[_0x4aaf2b(0x433)][_0x4aaf2b(0x2b7)]){const _0x1e2b68=new Image();return _0x1e2b68['src']=_0x1cea0b,_0x1e2b68;}return this[_0x4aaf2b(0x41c)]['get'](_0x1cea0b);}['addImageSourceCache'](_0x25bec6,_0x474e9f,_0xfa09f0){var _0x13065b=_0x5d9338;_0x474e9f===z[_0x13065b(0x433)][_0x13065b(0x2b7)]||_0xfa09f0==null||this['_imageSourceCache'][_0x13065b(0x385)](_0x25bec6,_0xfa09f0);}async['getImage'](_0x389a42){var _0x5658e7=_0x5d9338;try{const _0x2f175e=this[_0x5658e7(0x1f8)](this[_0x5658e7(0x43b)](),''+_0x389a42),_0x564158=(await this['_httpService'][_0x5658e7(0x43d)](_0x2f175e))[_0x5658e7(0x11f)];if(_0x564158[_0x5658e7(0x45d)]&&_0x564158[_0x5658e7(0x45d)][_0x5658e7(0x151)]===gt['OK']){const _0x389d55=new URL(_0x564158[_0x5658e7(0x249)],this[_0x5658e7(0x400)]())[_0x5658e7(0x169)]();return Promise['resolve'](_0x389d55);}return Promise[_0x5658e7(0x255)](_0x564158[_0x5658e7(0x45d)]);}catch(_0xf5642b){return Promise[_0x5658e7(0x255)](_0xf5642b);}}async[_0x5d9338(0x30f)](_0x5471f3){var _0x5db16e=_0x5d9338;let _0x13960a='';if(!ln[_0x5db16e(0x242)](_0x5471f3[_0x5db16e(0x2c9)]))return this[_0x5db16e(0x265)](),Promise[_0x5db16e(0x255)](new Error(z[_0x5db16e(0x185)][_0x5db16e(0x1aa)]));if(_0x5471f3[_0x5db16e(0x3fe)]>un)return this['_decreaseWaiting'](),Promise[_0x5db16e(0x255)](new Error(z['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x24a317=new FormData();_0x24a317[_0x5db16e(0x26d)](_0x5db16e(0x435),_0x5471f3);const _0x363601=this[_0x5db16e(0x283)][_0x5db16e(0x465)](),_0xc77542=_0x363601==null?void 0x0:_0x363601[_0x5db16e(0x1a6)]();if(!_0xc77542)throw new Error('unitId\x20is\x20not\x20found');const _0xabc6d0=this[_0x5db16e(0x253)]()+_0x5db16e(0x2ec)+_0x5471f3[_0x5db16e(0x3fe)][_0x5db16e(0x169)]()+_0x5db16e(0x2e7)+Et['UnitEmbedded']+_0x5db16e(0x370)+encodeURIComponent(_0xc77542),_0x497590={'body':_0x24a317},_0x37d598=(await this['_httpService'][_0x5db16e(0x150)](_0xabc6d0,_0x497590))[_0x5db16e(0x11f)];if(typeof _0x37d598['FileId']!=_0x5db16e(0x26a))return this[_0x5db16e(0x265)](),Promise['reject'](new Error(z[_0x5db16e(0x185)]['ERROR_IMAGE']));_0x13960a=_0x37d598[_0x5db16e(0x40f)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(z[_0x5db16e(0x185)][_0x5db16e(0x3a7)]));}return new Promise((_0x485e4e,_0x325474)=>{var _0x40ccd1=_0x5db16e;const _0xd084c6=new FileReader();_0xd084c6[_0x40ccd1(0x1e8)](_0x5471f3),_0xd084c6[_0x40ccd1(0x25c)]=_0x4a9422=>{var _0x2adf2c=_0x40ccd1,_0x3349ad;const _0x3cb55f=(_0x3349ad=_0x4a9422[_0x2adf2c(0x404)])==null?void 0x0:_0x3349ad[_0x2adf2c(0x37f)];if(_0x3cb55f==null){this[_0x2adf2c(0x265)](),_0x325474(new Error(z[_0x2adf2c(0x185)]['ERROR_IMAGE']));return;}const _0x292780=a['Tools'][_0x2adf2c(0x377)](0x6);_0x485e4e({'imageId':_0x292780,'imageSourceType':z[_0x2adf2c(0x433)][_0x2adf2c(0x1fa)],'source':_0x13960a,'base64Cache':_0x3cb55f,'status':z[_0x2adf2c(0x185)]['SUCCUSS']}),this[_0x2adf2c(0x265)]();};});}[_0x5d9338(0x253)](){var _0x1e8a3f=_0x5d9338,_0x1d5088,_0x348865;const _0x5d4846=this[_0x1e8a3f(0x44f)][_0x1e8a3f(0x2ea)](dn),_0x50297b=this[_0x1e8a3f(0x44f)]['getConfig'](K);return(_0x348865=(_0x1d5088=_0x50297b==null?void 0x0:_0x50297b[_0x1e8a3f(0x19f)])!=null?_0x1d5088:_0x5d4846)!=null?_0x348865:vn;}[_0x5d9338(0x43b)](){var _0x293f24=_0x5d9338,_0xa54681,_0x4ee3ca;const _0x1fb331=this['_configService'][_0x293f24(0x2ea)](Sn),_0x523cd7=this[_0x293f24(0x44f)][_0x293f24(0x2ea)](K);return(_0x4ee3ca=(_0xa54681=_0x523cd7==null?void 0x0:_0x523cd7[_0x293f24(0x2c2)])!=null?_0xa54681:_0x1fb331)!=null?_0x4ee3ca:fn;}[_0x5d9338(0x400)](){var _0x4e557c=_0x5d9338,_0x55a429;const _0xf0d104=this[_0x4e557c(0x44f)][_0x4e557c(0x2ea)](K);return(_0x55a429=_0xf0d104==null?void 0x0:_0xf0d104[_0x4e557c(0x156)])!=null?_0x55a429:location['origin'];}[_0x5d9338(0x1f8)](_0xa28855,_0x51b25a){var _0x2fa2d9=_0x5d9338;return _0xa28855[_0x2fa2d9(0x3a6)](_0x2fa2d9(0x284),_0x51b25a);}[_0x5d9338(0x265)](){var _0x437e57=_0x5d9338;this[_0x437e57(0x2db)]-=0x1,this[_0x437e57(0x389)][_0x437e57(0x1c8)](this[_0x437e57(0x2db)]);}},exports[_0x5d9338(0x2bd)]=_n([Le(0x0,a['Inject'](Y[_0x5d9338(0x251)])),Le(0x1,a[_0x5d9338(0x410)]),Le(0x2,a[_0x5d9338(0x15d)](a[_0x5d9338(0x397)]))],exports[_0x5d9338(0x2bd)]);var pn=Object[_0x5d9338(0x254)],In=(_0x28a3e5,_0x1c7020,_0x2efd5a,_0x12609d)=>{var _0x697432=_0x5d9338;for(var _0x4c15a8=_0x12609d>0x1?void 0x0:_0x12609d?pn(_0x1c7020,_0x2efd5a):_0x1c7020,_0x253176=_0x28a3e5[_0x697432(0x2f8)]-0x1,_0x2891ce;_0x253176>=0x0;_0x253176--)(_0x2891ce=_0x28a3e5[_0x253176])&&(_0x4c15a8=_0x2891ce(_0x4c15a8)||_0x4c15a8);return _0x4c15a8;},at=(_0x2fb308,_0x4bed86)=>(_0x49334b,_0x3fe130)=>_0x4bed86(_0x49334b,_0x3fe130,_0x2fb308);const gn=_0x5d9338(0x1ec);exports[_0x5d9338(0x2a0)]=class{constructor(_0x11e7c6,_0x4f7589){var _0x984a9a=_0x5d9338;this[_0x984a9a(0x44f)]=_0x11e7c6,this[_0x984a9a(0x2c0)]=_0x4f7589;}[_0x5d9338(0x319)](){var _0x29ca15=_0x5d9338,_0x33fb16,_0x15e1e9;const _0x20d513=this['_configService'][_0x29ca15(0x2ea)](Ve),_0x3c07e0=this[_0x29ca15(0x44f)][_0x29ca15(0x2ea)](K);return(_0x15e1e9=(_0x33fb16=_0x3c07e0==null?void 0x0:_0x3c07e0[_0x29ca15(0x2a2)])!=null?_0x33fb16:_0x20d513)!=null?_0x15e1e9:gn;}async[_0x5d9338(0x224)](_0x3934fd){var _0xaef024=_0x5d9338;const _0x4c52cc=this[_0xaef024(0x319)]()+_0xaef024(0x424);return{'list':[{'title':'People','mentions':(await this[_0xaef024(0x2c0)][_0xaef024(0x43d)](_0x4c52cc,{'params':{'objectID':_0x3934fd['unitId'],'unitID':_0x3934fd[_0xaef024(0x300)]}}))['body']['collaborators']['map'](_0x51d11c=>({'objectId':_0x51d11c['id'],'name':_0x51d11c[_0xaef024(0x1b9)]['name'],'metadata':{'icon':_0x51d11c[_0xaef024(0x1b9)][_0xaef024(0x1c9)]},'label':_0x51d11c[_0xaef024(0x1b9)][_0xaef024(0x395)],'objectType':a['MentionType']['PERSON']})),'metadata':{},'type':a['MentionType'][_0xaef024(0x407)]}]};}},exports[_0x5d9338(0x2a0)]=In([at(0x0,a[_0x5d9338(0x15d)](a[_0x5d9338(0x410)])),at(0x1,a[_0x5d9338(0x15d)](Y[_0x5d9338(0x251)]))],exports[_0x5d9338(0x2a0)]);var En=Object[_0x5d9338(0x254)],mn=(_0x258857,_0x8024d6,_0x96549a,_0x473cc5)=>{var _0x33a3aa=_0x5d9338;for(var _0x2fb154=_0x473cc5>0x1?void 0x0:_0x473cc5?En(_0x8024d6,_0x96549a):_0x8024d6,_0x484c60=_0x258857[_0x33a3aa(0x2f8)]-0x1,_0x2d74a0;_0x484c60>=0x0;_0x484c60--)(_0x2d74a0=_0x258857[_0x484c60])&&(_0x2fb154=_0x2d74a0(_0x2fb154)||_0x2fb154);return _0x2fb154;},le=(_0x34e6a3,_0x5e6885)=>(_0x3f7750,_0x4b2315)=>_0x5e6885(_0x3f7750,_0x4b2315,_0x34e6a3);let Ue=class extends a[_0x5d9338(0x429)]{constructor(_0x244c24,_0x178ce0,_0x4e143e,_0x10392b,_0x344076){var _0x2ce431=_0x5d9338;super(),this[_0x2ce431(0x20c)]=_0x244c24,this[_0x2ce431(0x283)]=_0x178ce0,this['_permissionService']=_0x4e143e,this[_0x2ce431(0x146)]=_0x10392b,this[_0x2ce431(0x116)]=_0x344076,this[_0x2ce431(0x2a7)](),this['_initCloseConn']();}[_0x5d9338(0x1f3)](){var _0x405ee3=_0x5d9338;const _0x547928=async _0x6aa5b0=>{var _0x30eadd=_0x4a4a;(await this['_collaborationSessionService'][_0x30eadd(0x39d)](_0x6aa5b0))[_0x30eadd(0x3e9)]['pipe'](V['filter'](_0x339f87=>_0x339f87[_0x30eadd(0x3ff)]===I[_0x30eadd(0x226)][_0x30eadd(0x12e)]),V[_0x30eadd(0x1df)](this[_0x30eadd(0x318)]))[_0x30eadd(0x31c)](_0x3ee4c3=>{var _0x577ebd=_0x30eadd;const _0x561a4a=_0x3ee4c3,{reason:_0x40a6c8}=_0x561a4a[_0x577ebd(0x165)];this[_0x577ebd(0x116)][_0x577ebd(0x20e)]({'id':Z[_0x577ebd(0x143)],'data':_0x40a6c8}),this[_0x577ebd(0x135)][_0x577ebd(0x422)](new X[(_0x577ebd(0x3c8))](_0x6aa5b0)['id'],!0x1),this['_collaborationSessionService'][_0x577ebd(0x3bb)](_0x6aa5b0);});};$[_0x405ee3(0x17f)](this['_univerInstanceService'][_0x405ee3(0x13b)](a[_0x405ee3(0x21f)]['UNIVER_SHEET']),this[_0x405ee3(0x283)][_0x405ee3(0x13b)](a[_0x405ee3(0x21f)][_0x405ee3(0x2e3)]))[_0x405ee3(0x1d1)](V[_0x405ee3(0x31a)](_0xc3c8eb=>_0xc3c8eb[_0x405ee3(0x1a6)]()),V[_0x405ee3(0x45e)](_0x93b8c2=>!a[_0x405ee3(0x3ae)](_0x93b8c2)),V[_0x405ee3(0x1df)](this[_0x405ee3(0x318)]))[_0x405ee3(0x31c)](_0x27e4a2=>{_0x547928(_0x27e4a2);});}[_0x5d9338(0x2a7)](){var _0x16f161=_0x5d9338;const _0x4a26be=async _0x19653f=>{var _0x5915bc=_0x4a4a;const _0x54c0e4=await this[_0x5915bc(0x146)]['requireSession'](_0x19653f),_0x5d2920=this[_0x5915bc(0x20c)][_0x5915bc(0x43d)](X['SheetPermissionInitController']);_0x54c0e4[_0x5915bc(0x3e9)][_0x5915bc(0x1d1)](V[_0x5915bc(0x45e)](_0x815235=>_0x815235[_0x5915bc(0x3ff)]===I[_0x5915bc(0x226)][_0x5915bc(0x3d8)]),V[_0x5915bc(0x1df)](this[_0x5915bc(0x318)]))[_0x5915bc(0x31c)](_0x527e7a=>{var _0x3c2f6a=_0x5915bc;const _0x384822=_0x527e7a,{objectId:_0x2140b3}=_0x384822[_0x3c2f6a(0x165)];_0x2140b3===_0x19653f?_0x5d2920[_0x3c2f6a(0x31f)](_0x19653f):_0x5d2920[_0x3c2f6a(0x3cf)](_0x19653f,_0x2140b3);});};$[_0x16f161(0x17f)](this[_0x16f161(0x283)]['getTypeOfUnitAdded$'](a[_0x16f161(0x21f)][_0x16f161(0x3f9)]))[_0x16f161(0x1d1)](V[_0x16f161(0x31a)](_0x480431=>_0x480431[_0x16f161(0x1a6)]()),V[_0x16f161(0x45e)](_0x137e2d=>!a[_0x16f161(0x3ae)](_0x137e2d)),V['takeUntil'](this[_0x16f161(0x318)]))[_0x16f161(0x31c)](_0x3fe723=>{_0x4a26be(_0x3fe723);});}};Ue=mn([le(0x0,a['Inject'](a[_0x5d9338(0x343)])),le(0x1,a[_0x5d9338(0x397)]),le(0x2,a[_0x5d9338(0x178)]),le(0x3,a[_0x5d9338(0x15d)](exports['CollaborationSessionService'])),le(0x4,a['Inject'](ee))],Ue);var Cn=Object[_0x5d9338(0x254)],Tn=(_0xe55c36,_0x353db7,_0x342688,_0x275c9e)=>{for(var _0x110172=_0x275c9e>0x1?void 0x0:_0x275c9e?Cn(_0x353db7,_0x342688):_0x353db7,_0x162c43=_0xe55c36['length']-0x1,_0x47d64a;_0x162c43>=0x0;_0x162c43--)(_0x47d64a=_0xe55c36[_0x162c43])&&(_0x110172=_0x47d64a(_0x110172)||_0x110172);return _0x110172;},ct=(_0x545083,_0x5a19e5)=>(_0x348833,_0x21720d)=>_0x5a19e5(_0x348833,_0x21720d,_0x545083);exports['SnapshotServerOverHTTPService']=class{constructor(_0x3522ba,_0x52493a){var _0x1ddd39=_0x5d9338;this[_0x1ddd39(0x44f)]=_0x3522ba,this[_0x1ddd39(0x2ca)]=_0x52493a;}async[_0x5d9338(0x220)](_0x314845,_0x4bc460){var _0x59ba27=_0x5d9338,_0x4948c9;const {unitID:_0x62b3eb,type:_0x7e95b9,revision:_0x18be98=0x0}=_0x4bc460,_0x3cfb82=this[_0x59ba27(0x141)]()+'/'+_0x7e95b9+_0x59ba27(0x31d)+_0x62b3eb+'/rev/'+_0x18be98,_0x1a9c5f=(await this[_0x59ba27(0x2ca)][_0x59ba27(0x43d)](_0x3cfb82))[_0x59ba27(0x11f)],_0x1b143d=(_0x4948c9=_0x1a9c5f[_0x59ba27(0x10f)])==null?void 0x0:_0x4948c9['workbook'];if(_0x1b143d){const _0x3d09f7=_0x1b143d==null?void 0x0:_0x1b143d[_0x59ba27(0x25b)],_0x3f938d=I['textEncoder']['encode'](I[_0x59ba27(0x3b2)](_0x3d09f7));_0x1b143d['originalMeta']=_0x3f938d,Object[_0x59ba27(0x2e5)](_0x1b143d[_0x59ba27(0x454)])['forEach'](([,_0x1a4088])=>{var _0x3337f6=_0x59ba27;const _0x129456=_0x1a4088[_0x3337f6(0x25b)],_0x5c0e38=I['textEncoder'][_0x3337f6(0x134)](I[_0x3337f6(0x3b2)](_0x129456));_0x1a4088[_0x3337f6(0x25b)]=_0x5c0e38;});}return _0x1a9c5f;}async[_0x5d9338(0x3a1)](_0x3e2bda,_0x4e8454){var _0x2736a5=_0x5d9338;const {unitID:_0xf417e7,type:_0x103c10,blockID:_0x2c310f}=_0x4e8454,_0x33ed9e=this[_0x2736a5(0x1db)]()+'/'+_0x103c10+_0x2736a5(0x31d)+_0xf417e7+'/block/'+_0x2c310f;return(await this['_httpService']['get'](_0x33ed9e))['body'];}async[_0x5d9338(0x1e6)](_0x188520,_0x48b26a){var _0x194367=_0x5d9338;const {unitID:_0x33727e,type:_0x3bb759,blockID:_0x1fd4e1}=_0x48b26a,_0x57f2b0=this[_0x194367(0x1db)]()+_0x194367(0x207)+_0x3bb759+'/unit/'+_0x33727e+_0x194367(0x207)+_0x1fd4e1;return(await this[_0x194367(0x2ca)][_0x194367(0x43d)](_0x57f2b0))[_0x194367(0x11f)];}async[_0x5d9338(0x333)](_0x40bd03,_0x1c43b7){var _0x3826e7=_0x5d9338;const {unitID:_0x3c183a,type:_0x43d0cb,from:_0xc1bf77,to:_0x3626c4}=_0x1c43b7,_0xa63f3b=this['_getAPIPrefix']()+'/'+_0x43d0cb+_0x3826e7(0x31d)+_0x3c183a+'/fetchmissing?from='+_0xc1bf77+_0x3826e7(0x2aa)+_0x3626c4;return(await this['_httpService'][_0x3826e7(0x43d)](_0xa63f3b))[_0x3826e7(0x11f)];}[_0x5d9338(0x141)](){var _0x50c569=_0x5d9338,_0x2949ef;return(_0x2949ef=this[_0x50c569(0x44f)][_0x50c569(0x2ea)](lt))!=null?_0x2949ef:this[_0x50c569(0x1db)]();}['_getAPIPrefix'](){var _0x376f70=_0x5d9338,_0x556e0d,_0x488401;const _0xcdc220=this[_0x376f70(0x44f)][_0x376f70(0x2ea)](_t),_0x19d1fb=this[_0x376f70(0x44f)][_0x376f70(0x2ea)](K);return(_0x488401=(_0x556e0d=_0x19d1fb==null?void 0x0:_0x19d1fb[_0x376f70(0x3e6)])!=null?_0x556e0d:_0xcdc220)!=null?_0x488401:Lt;}async[_0x5d9338(0x378)](_0x3dba10,_0x2d37cc){var _0x1459c3=_0x5d9338;const _0x2e0743='/universer-api/snapshot/'+_0x2d37cc[_0x1459c3(0x2c9)]+_0x1459c3(0x31d)+_0x2d37cc[_0x1459c3(0x1c0)]+'/resources';return(await this[_0x1459c3(0x2ca)]['get'](_0x2e0743,{'params':{'resourceId':JSON[_0x1459c3(0x1bf)](_0x2d37cc[_0x1459c3(0x2b5)])}}))[_0x1459c3(0x11f)];}[_0x5d9338(0x102)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5d9338(0x418)](){var _0x1b82e5=_0x5d9338;throw new Error(_0x1b82e5(0x27c));}[_0x5d9338(0x16c)](){var _0x1d2bec=_0x5d9338;throw new Error(_0x1d2bec(0x27c));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5d9338(0x353)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5d9338(0x164)](){var _0x57bc4f=_0x5d9338;throw new Error(_0x57bc4f(0x27c));}},exports['SnapshotServerOverHTTPService']=Tn([ct(0x0,a['IConfigService']),ct(0x1,a[_0x5d9338(0x15d)](Y[_0x5d9338(0x251)]))],exports[_0x5d9338(0x2fd)]);var bn=Object[_0x5d9338(0x254)],Rn=(_0x3c0dbb,_0x2f8a9e,_0x3149e7,_0x7e6823)=>{var _0x32ed0d=_0x5d9338;for(var _0x5a35d8=_0x7e6823>0x1?void 0x0:_0x7e6823?bn(_0x2f8a9e,_0x3149e7):_0x2f8a9e,_0x4883d2=_0x3c0dbb[_0x32ed0d(0x2f8)]-0x1,_0x4cd139;_0x4883d2>=0x0;_0x4883d2--)(_0x4cd139=_0x3c0dbb[_0x4883d2])&&(_0x5a35d8=_0x4cd139(_0x5a35d8)||_0x5a35d8);return _0x5a35d8;},ue=(_0xf9221,_0x4f12c3)=>(_0x5dc533,_0x2b8d29)=>_0x4f12c3(_0x5dc533,_0x2b8d29,_0xf9221);exports[_0x5d9338(0x2bb)]=class extends a['LocalUndoRedoService']{constructor(_0x58eb8b,_0x30db3c,_0x129ded,_0x36aeae,_0xca43c6){var _0x390564=_0x5d9338;super(_0x58eb8b,_0x30db3c,_0x129ded),this['_transformService']=_0x36aeae,this[_0x390564(0x415)]=_0xca43c6;}[_0x5d9338(0x2a4)](_0x316a2f,_0x4dea88){var _0x2d3459=_0x5d9338;const _0x37a3fd=this[_0x2d3459(0x3d0)](_0x316a2f);if(_0x37a3fd)try{const _0x34dc91=this[_0x2d3459(0x417)](_0x37a3fd,_0x4dea88);this[_0x2d3459(0x387)](_0x316a2f,_0x34dc91);}catch(_0x185243){this[_0x2d3459(0x415)][_0x2d3459(0x45d)]('[CollaborationUndoRedoService]',_0x185243),this[_0x2d3459(0x219)](_0x316a2f);}const _0xda5d7d=this[_0x2d3459(0x40c)](_0x316a2f);if(_0xda5d7d)try{const _0x55e27a=this[_0x2d3459(0x417)](_0xda5d7d,_0x4dea88);this[_0x2d3459(0x450)](_0x316a2f,_0x55e27a);}catch(_0x22cc54){this[_0x2d3459(0x415)]['error'](_0x22cc54),this['_clearRedo'](_0x316a2f);}}['_clearUndo'](_0x64c608){var _0x57bdec=_0x5d9338;const _0xad9b79=this[_0x57bdec(0x3d0)](_0x64c608);_0xad9b79&&(_0xad9b79[_0x57bdec(0x2f8)]=0x0,this[_0x57bdec(0x15a)]());}[_0x5d9338(0x13f)](_0x18fd8f){var _0x45ef78=_0x5d9338;const _0x1a259f=this[_0x45ef78(0x40c)](_0x18fd8f);_0x1a259f&&(_0x1a259f[_0x45ef78(0x2f8)]=0x0,this[_0x45ef78(0x15a)]());}['_substituteUndoStack'](_0x2b67d4,_0x1fde5e){var _0x8fcdfe=_0x5d9338;this['_undoStacks'][_0x8fcdfe(0x385)](_0x2b67d4,_0x1fde5e),this[_0x8fcdfe(0x15a)]();}['_substituteRedoStack'](_0x2f3440,_0x552fc4){var _0x38b6d2=_0x5d9338;this[_0x38b6d2(0x13c)][_0x38b6d2(0x385)](_0x2f3440,_0x552fc4),this[_0x38b6d2(0x15a)]();}[_0x5d9338(0x417)](_0x23fdfb,_0x200cc3){var _0x4ad681=_0x5d9338;const _0x2637ed=[];let _0x3b84b9=_0x200cc3,_0x1ba891=_0x200cc3;for(let _0x41ae78=_0x23fdfb['length']-0x1;_0x41ae78>=0x0;_0x41ae78--){const {unitID:_0x43a226,undoMutations:_0x46cf67,redoMutations:_0x59b2b6}=_0x23fdfb[_0x41ae78],_0x1aea79=this['_transformService'][_0x4ad681(0x238)](_0x3b84b9,_0x46cf67),_0x4e6f4f=this[_0x4ad681(0x337)]['transformMutationsWithChangeset'](_0x1ba891,_0x59b2b6);if(I[_0x4ad681(0x3f8)](_0x1aea79)||I['isTransformMutationsWithChangesetFailure'](_0x4e6f4f)){this[_0x4ad681(0x415)]['error'](_0x4ad681(0x2fa),'transformStack\x20failed!',_0x1aea79,_0x4e6f4f);break;}_0x3b84b9=_0x1aea79[_0x4ad681(0x1f0)],_0x1ba891=_0x4e6f4f[_0x4ad681(0x1f0)],_0x2637ed[_0x4ad681(0x206)]({'unitID':_0x43a226,'undoMutations':_0x1aea79['m2Prime'],'redoMutations':_0x4e6f4f['m2Prime']});}return _0x2637ed[_0x4ad681(0x452)]();}},exports[_0x5d9338(0x2bb)]=Rn([ue(0x0,a[_0x5d9338(0x397)]),ue(0x1,a[_0x5d9338(0x3ea)]),ue(0x2,a['IContextService']),ue(0x3,I[_0x5d9338(0x3d1)]),ue(0x4,a['ILogService'])],exports[_0x5d9338(0x2bb)]);var On=Object[_0x5d9338(0x1c1)],yn=Object[_0x5d9338(0x254)],Nn=(_0xe72c20,_0x1a4079,_0x1bdabd)=>_0x1a4079 in _0xe72c20?On(_0xe72c20,_0x1a4079,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1bdabd}):_0xe72c20[_0x1a4079]=_0x1bdabd,Un=(_0x23ee60,_0x7a3e46,_0xea0ffb,_0x2b8fa0)=>{var _0x2fa591=_0x5d9338;for(var _0x2dba68=_0x2b8fa0>0x1?void 0x0:_0x2b8fa0?yn(_0x7a3e46,_0xea0ffb):_0x7a3e46,_0x39132c=_0x23ee60[_0x2fa591(0x2f8)]-0x1,_0x1ce2f2;_0x39132c>=0x0;_0x39132c--)(_0x1ce2f2=_0x23ee60[_0x39132c])&&(_0x2dba68=_0x1ce2f2(_0x2dba68)||_0x2dba68);return _0x2dba68;},Me=(_0x11507c,_0x29a401)=>(_0x51108c,_0x40e0f8)=>_0x29a401(_0x51108c,_0x40e0f8,_0x11507c),Dn=(_0x29cf69,_0x21feac,_0x66a996)=>Nn(_0x29cf69,_0x21feac+'',_0x66a996);const An=_0x5d9338(0x32c);exports['UniverCollaborationClientPlugin']=class extends a['Plugin']{constructor(_0x9eb0bf,_0x4f1c24,_0x5f255b,_0x5974b8){var _0x195e38=_0x5d9338;super(),A(this,_0x195e38(0x3ec)),(this[_0x195e38(0x415)]=_0x4f1c24,this[_0x195e38(0x20c)]=_0x5f255b,this[_0x195e38(0x44f)]=_0x5974b8);const {..._0x2cec1e}=a[_0x195e38(0x17f)]({},Yt,_0x9eb0bf);if(!_0x2cec1e[_0x195e38(0x3b5)])throw new Error(_0x195e38(0x379));this['_config']=_0x2cec1e,this[_0x195e38(0x44f)][_0x195e38(0x278)](K,_0x2cec1e);}[_0x5d9338(0x398)](){var _0x426a1e=_0x5d9338;this[_0x426a1e(0x3e4)](),this['_initDependencies']();}['_registerDependencies'](){var _0x194860=_0x5d9338,_0xd42dfd,_0x4d6115;this['_injector']['has'](a['IUndoRedoService'])&&this[_0x194860(0x415)][_0x194860(0x45d)](_0x194860(0x26b),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x2fb9a=a[_0x194860(0x2f5)]([[a[_0x194860(0x193)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x194860(0x32f)]],[exports[_0x194860(0x121)]],[exports[_0x194860(0x35d)]],[ye],[Ne],[$e],[Ue],[ee],[exports[_0x194860(0x316)]],[He,{'useClass':this['_config'][_0x194860(0x3b5)]}],[I[_0x194860(0x2e1)],{'useClass':exports[_0x194860(0x2fd)]}],[a[_0x194860(0x2fe)],{'useClass':exports[_0x194860(0x1be)]}],[z[_0x194860(0x261)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x194860(0x3fa)],{'useClass':exports[_0x194860(0x2a0)]}],[exports[_0x194860(0x245)]],[xe]],(_0xd42dfd=this[_0x194860(0x3ec)])==null?void 0x0:_0xd42dfd[_0x194860(0x440)]);if(!((_0x4d6115=this[_0x194860(0x3ec)])!=null&&_0x4d6115[_0x194860(0x382)])){const _0x5181b5=_0x2fb9a['findIndex'](([_0x5783b5])=>_0x5783b5===de);_0x5181b5!==-0x1&&_0x2fb9a[_0x194860(0x236)](_0x5181b5,0x1);}a['registerDependencies'](this['_injector'],_0x2fb9a);}[_0x5d9338(0x3e5)](){var _0x5c8f2d=_0x5d9338,_0x12ce82,_0x5e3f33,_0x31077c;this[_0x5c8f2d(0x20c)]['get'](Y[_0x5c8f2d(0x251)])[_0x5c8f2d(0x2ff)]({'priority':0x14,'interceptor':Y[_0x5c8f2d(0x449)]({'maxParallel':0x6})}),(_0x12ce82=this[_0x5c8f2d(0x3ec)])!=null&&_0x12ce82[_0x5c8f2d(0x19c)]||(_0x5e3f33=this[_0x5c8f2d(0x20c)]['get'](q,a[_0x5c8f2d(0x423)]['OPTIONAL']))==null||_0x5e3f33[_0x5c8f2d(0x1f2)](),(_0x31077c=this[_0x5c8f2d(0x3ec)])!=null&&_0x31077c[_0x5c8f2d(0x441)]&&a[_0x5c8f2d(0x45f)](this[_0x5c8f2d(0x20c)],[[ye]]),a[_0x5c8f2d(0x45f)](this[_0x5c8f2d(0x20c)],[[Ne],[exports[_0x5c8f2d(0x245)]],[Ue]]);}},Dn(exports[_0x5d9338(0x112)],'pluginName',An),exports['UniverCollaborationClientPlugin']=Un([a[_0x5d9338(0x2f1)](I[_0x5d9338(0x3f6)],Y[_0x5d9338(0x252)]),Me(0x1,a['ILogService']),Me(0x2,a['Inject'](a[_0x5d9338(0x343)])),Me(0x3,a[_0x5d9338(0x410)])],exports[_0x5d9338(0x112)]),exports[_0x5d9338(0x188)]=Ve,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=K,exports[_0x5d9338(0x380)]=pt,exports[_0x5d9338(0xfe)]=ut,exports[_0x5d9338(0x1e4)]=Be,exports[_0x5d9338(0x218)]=Z,exports[_0x5d9338(0x145)]=ee,exports[_0x5d9338(0x3f1)]=$e,exports[_0x5d9338(0x1d6)]=dt,exports[_0x5d9338(0x15f)]=Kt,exports[_0x5d9338(0x345)]=kt,exports[_0x5d9338(0x3c4)]=vt,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports['ICollaborationSocketService']=He,exports['ILocalCacheService']=q,exports['INetworkConditionService']=mt,exports['ISingleActiveUnitService']=de,exports[_0x5d9338(0x37c)]=Ft,exports[_0x5d9338(0x323)]=Bt,exports[_0x5d9338(0x119)]=It,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=Gt,exports[_0x5d9338(0x216)]=ft,exports[_0x5d9338(0x437)]=Mt,exports[_0x5d9338(0x419)]=_t,exports[_0x5d9338(0x428)]=lt,exports[_0x5d9338(0x297)]=re,exports[_0x5d9338(0x186)]=je,exports[_0x5d9338(0x386)]=Ct,exports[_0x5d9338(0x359)]=oi,exports[_0x5d9338(0x2f2)]=Tt;