@univerjs-pro/collaboration-client 0.9.1 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0x38cf52=_0x20ff;(function(_0x13ed2b,_0xb582af){var _0x526e66=_0x20ff,_0x3d6deb=_0x13ed2b();while(!![]){try{var _0x1b1c45=parseInt(_0x526e66(0x414))/0x1+-parseInt(_0x526e66(0x51d))/0x2*(parseInt(_0x526e66(0x319))/0x3)+-parseInt(_0x526e66(0x2e7))/0x4*(-parseInt(_0x526e66(0x345))/0x5)+parseInt(_0x526e66(0x321))/0x6*(-parseInt(_0x526e66(0x41e))/0x7)+parseInt(_0x526e66(0x4c5))/0x8+-parseInt(_0x526e66(0x49f))/0x9+parseInt(_0x526e66(0x275))/0xa*(parseInt(_0x526e66(0x4fe))/0xb);if(_0x1b1c45===_0xb582af)break;else _0x3d6deb['push'](_0x3d6deb['shift']());}catch(_0x323a73){_0x3d6deb['push'](_0x3d6deb['shift']());}}}(_0x37e5,0x3c78f));var Ut=Object[_0x38cf52(0x296)],At=(_0x10f1ef,_0x59add4,_0x15500b)=>_0x59add4 in _0x10f1ef?Ut(_0x10f1ef,_0x59add4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15500b}):_0x10f1ef[_0x59add4]=_0x15500b,A=(_0x2d0304,_0x58778d,_0x388440)=>At(_0x2d0304,typeof _0x58778d!=_0x38cf52(0x3d4)?_0x58778d+'':_0x58778d,_0x388440);Object[_0x38cf52(0x296)](exports,Symbol['toStringTag'],{'value':_0x38cf52(0x2ec)});const a=require('@univerjs/core'),$=require('rxjs'),V=require('rxjs/operators'),p=require('@univerjs-pro/collaboration'),K=require('@univerjs/network'),Pt=require('@univerjs/telemetry'),ht=require('@univerjs/docs'),X=require('@univerjs/sheets'),z=require('@univerjs/drawing'),Lt=require('@univerjs-pro/license'),_t=_0x38cf52(0x563),wt=_0x38cf52(0x386),lt=_0x38cf52(0x235),Mt=_0x38cf52(0x24a),xt=0x7d0,ut='COLLAB_WEB_SOCKET_URL',dt=_0x38cf52(0x3fe),kt=_0x38cf52(0x491),vt=_0x38cf52(0x201),Ht=0x7530,ke=_0x38cf52(0x3cf),St=0x4e20,$t=0x4e20,ft='RETRY_CONNECTING_MAX_COUNT',jt=0x3,Bt=_0x38cf52(0x46f),Ft=0x3e8,It=_0x38cf52(0x20e),Vt=_0x38cf52(0x3b6),pt=_0x38cf52(0x575),Wt=_0x38cf52(0x1fa),Yt=_0x38cf52(0x331),Gt='/universer-api/uniscript';var gt=(_0x403734=>(_0x403734[_0x403734[_0x38cf52(0x43b)]=0x0]=_0x38cf52(0x43b),_0x403734[_0x403734['OK']=0x1]='OK',_0x403734[_0x403734['INTERNAL_ERROR']=0x2]=_0x38cf52(0x229),_0x403734[_0x403734[_0x38cf52(0x462)]=0x3]=_0x38cf52(0x462),_0x403734[_0x403734[_0x38cf52(0x294)]=0x4]=_0x38cf52(0x294),_0x403734[_0x403734['UNAUTHENTICATED']=0x5]=_0x38cf52(0x2b8),_0x403734[_0x403734[_0x38cf52(0x448)]=0x6]=_0x38cf52(0x448),_0x403734[_0x403734['INVALID_ARGUMENT']=0x7]=_0x38cf52(0x2cc),_0x403734[_0x403734[_0x38cf52(0x44f)]=0x8]=_0x38cf52(0x44f),_0x403734[_0x403734[_0x38cf52(0x56d)]=0x9]=_0x38cf52(0x56d),_0x403734[_0x403734[_0x38cf52(0x382)]=0xa]=_0x38cf52(0x382),_0x403734[_0x403734[_0x38cf52(0x42a)]=0xb]=_0x38cf52(0x42a),_0x403734[_0x403734[_0x38cf52(0x51c)]=0xc]=_0x38cf52(0x51c),_0x403734[_0x403734[_0x38cf52(0x395)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x403734[_0x403734[_0x38cf52(0x54d)]=0xe]=_0x38cf52(0x54d),_0x403734[_0x403734['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x38cf52(0x322),_0x403734[_0x403734[_0x38cf52(0x2ea)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x403734[_0x403734[_0x38cf52(0x2f6)]=0x1772]=_0x38cf52(0x2f6),_0x403734[_0x403734['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x38cf52(0x49b),_0x403734[_0x403734[_0x38cf52(0x26e)]=0x1b59]=_0x38cf52(0x26e),_0x403734[_0x403734[_0x38cf52(0x41c)]=0x1b5a]=_0x38cf52(0x41c),_0x403734[_0x403734['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x38cf52(0x238),_0x403734[_0x403734[_0x38cf52(0x40d)]=0x1b5c]=_0x38cf52(0x40d),_0x403734[_0x403734[_0x38cf52(0x208)]=0x1b5d]=_0x38cf52(0x208),_0x403734[_0x403734[_0x38cf52(0x3d1)]=0x1f41]=_0x38cf52(0x3d1),_0x403734[_0x403734[_0x38cf52(0x56a)]=0x2329]=_0x38cf52(0x56a),_0x403734[_0x403734['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x38cf52(0x393),_0x403734[_0x403734[_0x38cf52(0x468)]=0x232b]=_0x38cf52(0x468),_0x403734[_0x403734['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x38cf52(0x227),_0x403734[_0x403734['LICENSE_DISTRO_REJECTED']=0x232d]=_0x38cf52(0x4bd),_0x403734[_0x403734[_0x38cf52(0x32e)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x403734[_0x403734['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x403734[_0x403734[_0x38cf52(0x3fb)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x403734[_0x403734[_0x38cf52(0x2d5)]=0x2714]=_0x38cf52(0x2d5),_0x403734[_0x403734[_0x38cf52(0x377)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x403734[_0x403734[_0x38cf52(0x292)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x403734[_0x403734[_0x38cf52(0x4b6)]=0x271c]=_0x38cf52(0x4b6),_0x403734[_0x403734[_0x38cf52(0x222)]=0x271d]=_0x38cf52(0x222),_0x403734[_0x403734[_0x38cf52(0x2bc)]=0x271e]=_0x38cf52(0x2bc),_0x403734[_0x403734[_0x38cf52(0x29d)]=0x271f]=_0x38cf52(0x29d),_0x403734[_0x403734[_0x38cf52(0x422)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x403734[_0x403734[_0x38cf52(0x3c2)]=0x2af9]=_0x38cf52(0x3c2),_0x403734[_0x403734[_0x38cf52(0x290)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x403734[_0x403734['INVALID_INVITE_CODE']=0x2ee2]=_0x38cf52(0x34c),_0x403734[_0x403734[_0x38cf52(0x3a4)]=0x2ee3]=_0x38cf52(0x3a4),_0x403734[_0x403734[_0x38cf52(0x540)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x403734[_0x403734['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x403734[_0x403734[_0x38cf52(0x20d)]=0x32c9]=_0x38cf52(0x20d),_0x403734[_0x403734[_0x38cf52(0x218)]=0x32ca]=_0x38cf52(0x218),_0x403734[_0x403734['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x38cf52(0x473),_0x403734[_0x403734['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x403734))(gt||{}),J=(_0x2c5992=>(_0x2c5992[_0x2c5992[_0x38cf52(0x313)]=0x0]=_0x38cf52(0x313),_0x2c5992[_0x2c5992[_0x38cf52(0x2d7)]=0x1]=_0x38cf52(0x2d7),_0x2c5992[_0x2c5992['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x2c5992[_0x2c5992[_0x38cf52(0x2ef)]=0x3]=_0x38cf52(0x2ef),_0x2c5992[_0x2c5992[_0x38cf52(0x558)]=0x4]=_0x38cf52(0x558),_0x2c5992[_0x2c5992[_0x38cf52(0x569)]=-0x1]='UNRECOGNIZED',_0x2c5992))(J||{}),W=(_0xf530ed=>(_0xf530ed[_0xf530ed[_0x38cf52(0x269)]=0x0]='UNKNOWN_CMD',_0xf530ed[_0xf530ed[_0x38cf52(0x412)]=0x1]=_0x38cf52(0x412),_0xf530ed[_0xf530ed['JOIN']=0x2]=_0x38cf52(0x476),_0xf530ed[_0xf530ed[_0x38cf52(0x399)]=0x3]='LEAVE',_0xf530ed[_0xf530ed['INGEST']=0x4]=_0x38cf52(0x35f),_0xf530ed[_0xf530ed['HEARTBEAT']=0x5]='HEARTBEAT',_0xf530ed[_0xf530ed[_0x38cf52(0x349)]=0x6]='RECV',_0xf530ed[_0xf530ed['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xf530ed))(W||{}),oe=(_0x1c41df=>(_0x1c41df[_0x1c41df[_0x38cf52(0x38d)]=0x0]='UNKNOWN_CODE',_0x1c41df[_0x1c41df['OK']=0x1]='OK',_0x1c41df[_0x1c41df[_0x38cf52(0x53d)]=0x2]=_0x38cf52(0x53d),_0x1c41df[_0x1c41df['JOIN_ROOM_FULL']=0x3e9]=_0x38cf52(0x22e),_0x1c41df[_0x1c41df[_0x38cf52(0x48f)]=0x3ea]=_0x38cf52(0x48f),_0x1c41df[_0x1c41df[_0x38cf52(0x351)]=0x3eb]=_0x38cf52(0x351),_0x1c41df[_0x1c41df[_0x38cf52(0x33d)]=0x3ec]=_0x38cf52(0x33d),_0x1c41df[_0x1c41df[_0x38cf52(0x569)]=-0x1]='UNRECOGNIZED',_0x1c41df))(oe||{}),Et=(_0x5b5ee8=>(_0x5b5ee8[_0x5b5ee8[_0x38cf52(0x444)]=0x0]=_0x38cf52(0x444),_0x5b5ee8[_0x5b5ee8[_0x38cf52(0x380)]=0x1]=_0x38cf52(0x380),_0x5b5ee8[_0x5b5ee8['HttpExport']=0x2]=_0x38cf52(0x2c4),_0x5b5ee8[_0x5b5ee8['UnitEmbedded']=0x3]='UnitEmbedded',_0x5b5ee8[_0x5b5ee8[_0x38cf52(0x4e8)]=0x4]=_0x38cf52(0x4e8),_0x5b5ee8[_0x5b5ee8[_0x38cf52(0x397)]=0x5]=_0x38cf52(0x397),_0x5b5ee8[_0x5b5ee8[_0x38cf52(0x569)]=-0x1]=_0x38cf52(0x569),_0x5b5ee8))(Et||{});const G=_0x38cf52(0x3f4),Kt={};var Z=(_0x33a242=>(_0x33a242['OTHER_CLIENT_EDITING']=_0x38cf52(0x25c),_0x33a242['PERMISSION_DENIED']=_0x38cf52(0x462),_0x33a242['CONFLICT']=_0x38cf52(0x300),_0x33a242[_0x38cf52(0x45d)]=_0x38cf52(0x45d),_0x33a242[_0x38cf52(0x50f)]=_0x38cf52(0x50f),_0x33a242[_0x38cf52(0x3de)]='SOCKET_FAILED_RETRY',_0x33a242[_0x38cf52(0x200)]=_0x38cf52(0x200),_0x33a242[_0x38cf52(0x48a)]=_0x38cf52(0x48a),_0x33a242))(Z||{});class ee{constructor(){var _0x226c15=_0x38cf52;A(this,_0x226c15(0x482),new $[(_0x226c15(0x3ef))]()),A(this,_0x226c15(0x311),this[_0x226c15(0x482)]['asObservable']());}['emitEvent'](_0x1eaf92){var _0x5a8451=_0x38cf52;this[_0x5a8451(0x482)][_0x5a8451(0x546)](_0x1eaf92);}}const mt=a['createIdentifier'](_0x38cf52(0x4c4));function Ct(_0xb0c201){var _0x4bbf3a=_0x38cf52,_0x3e0282,_0x1cee5f,_0x9411d4,_0x56aa41,_0x35e90a;const _0x53af09=_0xb0c201[_0x4bbf3a(0x3bc)],_0x491ae5=JSON['parse'](_0x53af09);switch(_0x491ae5[_0x4bbf3a(0x467)]){case W[_0x4bbf3a(0x432)]:case W[_0x4bbf3a(0x412)]:{const _0x5e9661=_0x491ae5[_0x4bbf3a(0x445)];return{..._0x491ae5,'data':_0x5e9661,'cmd':_0x491ae5[_0x4bbf3a(0x467)]};}case W[_0x4bbf3a(0x476)]:{const _0x4b77d8=_0x491ae5['joinRsp'];return{..._0x491ae5,'data':_0x4b77d8,'cmd':_0x491ae5[_0x4bbf3a(0x467)]};}case W[_0x4bbf3a(0x349)]:{const _0x56b44c=_0x491ae5[_0x4bbf3a(0x46a)];switch(_0x56b44c[_0x4bbf3a(0x39c)]){case p[_0x4bbf3a(0x401)][_0x4bbf3a(0x504)]:return{..._0x491ae5,'data':{..._0x56b44c,'data':(_0x3e0282=_0x56b44c['permissionRejEvent'])==null?void 0x0:_0x3e0282['cs']},'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p[_0x4bbf3a(0x401)]['CHANGESET_ACK']:return{..._0x491ae5,'data':{..._0x56b44c,'data':(_0x1cee5f=_0x56b44c['csAckEvent'])==null?void 0x0:_0x1cee5f['cs']},'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p[_0x4bbf3a(0x401)][_0x4bbf3a(0x220)]:return{..._0x491ae5,'data':{..._0x56b44c,'data':(_0x9411d4=_0x56b44c[_0x4bbf3a(0x247)])==null?void 0x0:_0x9411d4['cs']},'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p['CollaborationEvent']['CHANGESET_REJ']:return{..._0x491ae5,'data':{..._0x56b44c,'data':(_0x56aa41=_0x56b44c[_0x4bbf3a(0x466)])==null?void 0x0:_0x56aa41['cs']},'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p[_0x4bbf3a(0x401)][_0x4bbf3a(0x36d)]:return{..._0x491ae5,'data':{..._0x56b44c,'data':(_0x35e90a=_0x56b44c[_0x4bbf3a(0x454)])==null?void 0x0:_0x35e90a['cs']},'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p[_0x4bbf3a(0x401)]['UPDATE_CURSOR']:return{..._0x491ae5,'data':{..._0x56b44c,'data':_0x56b44c[_0x4bbf3a(0x2c3)]},'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p[_0x4bbf3a(0x401)][_0x4bbf3a(0x51f)]:return{..._0x491ae5,'data':{..._0x56b44c,'data':_0x56b44c[_0x4bbf3a(0x554)]},'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p[_0x4bbf3a(0x401)][_0x4bbf3a(0x2d9)]:return{..._0x491ae5,'data':{..._0x56b44c,'data':_0x56b44c[_0x4bbf3a(0x3f8)]},'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p['CollaborationEvent'][_0x4bbf3a(0x529)]:return{..._0x491ae5,'data':{..._0x56b44c,'data':_0x56b44c[_0x4bbf3a(0x4da)]},'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p['CollaborationEvent'][_0x4bbf3a(0x438)]:case p[_0x4bbf3a(0x401)][_0x4bbf3a(0x434)]:return{..._0x491ae5,'data':{..._0x56b44c,'data':_0x56b44c['liveShareOperation']},'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p[_0x4bbf3a(0x401)]['LIVESHARE_TERMINATE']:return{..._0x491ae5,'data':{..._0x56b44c,'data':_0x56b44c['liveShareNewHost']},'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p[_0x4bbf3a(0x401)][_0x4bbf3a(0x479)]:return{..._0x491ae5,'data':_0x56b44c,'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p[_0x4bbf3a(0x401)]['COMMENT_UPDATE']:return{..._0x491ae5,'data':{..._0x56b44c,'data':_0x56b44c['commentUpdateEvent']},'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p[_0x4bbf3a(0x401)][_0x4bbf3a(0x244)]:return{..._0x491ae5,'data':{..._0x56b44c,'data':_0x56b44c[_0x4bbf3a(0x4f0)]},'cmd':_0x491ae5['cmd']};case p['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x491ae5,'data':{..._0x56b44c,'data':_0x56b44c[_0x4bbf3a(0x22a)]},'cmd':_0x491ae5['cmd']};case p[_0x4bbf3a(0x401)][_0x4bbf3a(0x3f6)]:return{..._0x491ae5,'data':{..._0x56b44c,'data':_0x56b44c[_0x4bbf3a(0x3f9)]},'cmd':_0x491ae5['cmd']};default:return _0x491ae5;}}default:return _0x491ae5;}}function Tt(_0x180c7f){var _0x529e18=_0x38cf52;switch(_0x180c7f[_0x529e18(0x467)]){case W['HEARTBEAT']:case W[_0x529e18(0x412)]:return JSON['stringify']({'cmd':_0x180c7f[_0x529e18(0x467)],'routeKey':_0x180c7f[_0x529e18(0x40c)]});case W[_0x529e18(0x35f)]:{let _0x369b6f;switch(_0x180c7f['data'][_0x529e18(0x39c)]){case p[_0x529e18(0x401)][_0x529e18(0x305)]:{_0x369b6f={'eventID':p['CollaborationEvent'][_0x529e18(0x305)],'updateCursorEvent':_0x180c7f[_0x529e18(0x3bc)][_0x529e18(0x3bc)]};break;}case p[_0x529e18(0x401)][_0x529e18(0x2d9)]:{_0x369b6f={'eventID':p['CollaborationEvent'][_0x529e18(0x2d9)],'leaveEvent':_0x180c7f[_0x529e18(0x3bc)]['data']};break;}case p[_0x529e18(0x401)]['USERS_ENTER']:{_0x369b6f={'eventID':p[_0x529e18(0x401)][_0x529e18(0x51f)],'joinEvent':_0x180c7f['data'][_0x529e18(0x3bc)]};break;}case p[_0x529e18(0x401)][_0x529e18(0x529)]:{_0x369b6f={'eventID':p['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x180c7f[_0x529e18(0x3bc)][_0x529e18(0x3bc)]};break;}case p[_0x529e18(0x401)]['LIVESHARE_OPERATION']:{_0x369b6f={'eventID':p['CollaborationEvent'][_0x529e18(0x434)],'liveShareOperation':_0x180c7f[_0x529e18(0x3bc)][_0x529e18(0x3bc)]};break;}case p['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x369b6f={'eventID':p[_0x529e18(0x401)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x180c7f[_0x529e18(0x3bc)]['data']};break;}case p['CollaborationEvent'][_0x529e18(0x4b5)]:{_0x369b6f={'eventID':p[_0x529e18(0x401)][_0x529e18(0x4b5)],'liveShareRequestHost':_0x180c7f[_0x529e18(0x3bc)]['data']};break;}case p[_0x529e18(0x401)][_0x529e18(0x438)]:{_0x369b6f={'eventID':p['CollaborationEvent'][_0x529e18(0x438)]};break;}default:_0x369b6f={'eventID':_0x180c7f[_0x529e18(0x3bc)][_0x529e18(0x39c)]};}return JSON[_0x529e18(0x4a5)]({'cmd':_0x180c7f['cmd'],'routeKey':_0x180c7f[_0x529e18(0x40c)],'collaMsg':_0x369b6f});}case W[_0x529e18(0x476)]:return JSON[_0x529e18(0x4a5)]({'cmd':_0x180c7f[_0x529e18(0x467)],'routeKey':_0x180c7f[_0x529e18(0x40c)],'joinReq':_0x180c7f[_0x529e18(0x3bc)]});case W[_0x529e18(0x399)]:return JSON[_0x529e18(0x4a5)]({'cmd':_0x180c7f['cmd'],'routeKey':_0x180c7f[_0x529e18(0x40c)],'leaveReq':_0x180c7f[_0x529e18(0x3bc)]});default:throw new Error(_0x529e18(0x425));}}var qt=Object[_0x38cf52(0x28a)],zt=(_0x15e273,_0x59c05d,_0x3d5403,_0xc5d24c)=>{for(var _0x3a7373=_0xc5d24c>0x1?void 0x0:_0xc5d24c?qt(_0x59c05d,_0x3d5403):_0x59c05d,_0x4b6777=_0x15e273['length']-0x1,_0x246011;_0x4b6777>=0x0;_0x4b6777--)(_0x246011=_0x15e273[_0x4b6777])&&(_0x3a7373=_0x246011(_0x3a7373)||_0x3a7373);return _0x3a7373;},_e=(_0x5cc971,_0x31d357)=>(_0x4ec72a,_0x25d81f)=>_0x31d357(_0x4ec72a,_0x25d81f,_0x5cc971);const He=a[_0x38cf52(0x493)](_0x38cf52(0x4cb));function Jt(_0x21710c,_0xd318a4,_0x4571d3){var _0x5ee276=_0x38cf52;return _0x21710c+'/'+_0xd318a4+_0x5ee276(0x4fd)+_0x4571d3+_0x5ee276(0x3c5);}exports[_0x38cf52(0x441)]=class extends a[_0x38cf52(0x519)]{constructor(_0x50726c,_0x2d61ab,_0x4e97a4,_0x6d5853,_0x42f036){var _0x2ce72e=_0x38cf52;super(),this[_0x2ce72e(0x45a)]=_0x50726c,this['_httpService']=_0x2d61ab,this[_0x2ce72e(0x515)]=_0x4e97a4,this[_0x2ce72e(0x346)]=_0x6d5853,this[_0x2ce72e(0x54e)]=_0x42f036;}[_0x38cf52(0x354)](_0x460e7e){var _0x38edd5=_0x38cf52;const _0x46e766=this['_injector'][_0x38edd5(0x47a)](K['ISocketService']);if(!_0x46e766)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x1bc33a=_0x46e766[_0x38edd5(0x455)](_0x460e7e);if(!_0x1bc33a)throw new Error(_0x38edd5(0x2b2));const _0x1d5b3f=new a[(_0x38edd5(0x1f0))](),_0x59f769=new $[(_0x38edd5(0x3ef))]();_0x1d5b3f['add'](_0x1bc33a['close$'][_0x38edd5(0x36f)](_0x268bfd=>_0x59f769['next'](_0x268bfd))),_0x1d5b3f['add'](a[_0x38edd5(0x27a)](()=>_0x59f769['complete']()));const _0x58b1e2=new $[(_0x38edd5(0x3ef))]();_0x1d5b3f['add'](_0x1bc33a[_0x38edd5(0x4a9)][_0x38edd5(0x36f)](_0x171c03=>_0x58b1e2['next'](_0x171c03))),_0x1d5b3f[_0x38edd5(0x3b7)](a['toDisposable'](()=>_0x58b1e2[_0x38edd5(0x43e)]()));const _0x297ed0=new $[(_0x38edd5(0x3ef))]();_0x1d5b3f[_0x38edd5(0x3b7)](_0x1bc33a[_0x38edd5(0x3a1)][_0x38edd5(0x36f)](_0xd3aba0=>{const _0x21053d=Ct(_0xd3aba0);_0x297ed0['next'](_0x21053d);})),_0x1d5b3f[_0x38edd5(0x3b7)](a[_0x38edd5(0x27a)](()=>_0x297ed0['complete']()));let _0x395b0c;const _0x144d89=()=>{var _0x3dd0a7=_0x38edd5;_0x58b1e2['next'](new Event(_0x3dd0a7(0x39d))),_0x59f769[_0x3dd0a7(0x546)](new Event('connection\x20error')),_0x395b0c[_0x3dd0a7(0x3dc)]();};return _0x395b0c={'memberID':'','close$':_0x59f769[_0x38edd5(0x2ed)](),'error$':_0x58b1e2['asObservable'](),'open$':_0x1bc33a['open$'],'message$':_0x297ed0['asObservable'](),'send':_0x295f7e=>{var _0x3024a5=_0x38edd5;if(_0x295f7e[_0x3024a5(0x467)]===W['INGEST']){if(_0x295f7e[_0x3024a5(0x3bc)][_0x3024a5(0x39c)]===p['CollaborationEvent'][_0x3024a5(0x318)]){this['_submitChangeset'](_0x395b0c,_0x295f7e[_0x3024a5(0x3bc)])[_0x3024a5(0x254)](_0x493695=>{var _0x15d254=_0x3024a5;this[_0x15d254(0x346)][_0x15d254(0x373)](_0x493695),_0x144d89();});return;}if(_0x295f7e[_0x3024a5(0x3bc)][_0x3024a5(0x39c)]===p[_0x3024a5(0x401)][_0x3024a5(0x337)]){const _0x5ae3b2=_0x295f7e['data'];this[_0x3024a5(0x2c1)](_0x5ae3b2)[_0x3024a5(0x402)](_0x329b6f=>{var _0x28599e=_0x3024a5;_0x297ed0['next']({'cmd':W[_0x28599e(0x349)],'code':oe['OK'],'routeKey':_0x5ae3b2[_0x28599e(0x3bc)][_0x28599e(0x270)],'routeType':'','data':{'eventID':p[_0x28599e(0x401)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x329b6f}}});})[_0x3024a5(0x254)](_0x317b26=>{var _0x107622=_0x3024a5;this['_logService'][_0x107622(0x373)](_0x317b26),_0x144d89();});return;}}_0x1bc33a[_0x3024a5(0x261)](Tt(_0x295f7e));},'close':()=>{var _0x31adbd=_0x38edd5;_0x1bc33a[_0x31adbd(0x3dc)](),_0x1d5b3f['dispose']();}},_0x395b0c;}async[_0x38cf52(0x1fb)](_0x464c4c,_0x4b6faf){var _0x585a72=_0x38cf52,_0x514a5e,_0x23a9c7;const {unitType:_0x4a9e7b,unitID:_0x5ee66e,changeset:_0x17adcc}=_0x4b6faf[_0x585a72(0x3bc)],_0x236e26={'unitID':_0x5ee66e,'memberID':_0x464c4c[_0x585a72(0x2eb)],'type':_0x4a9e7b,'changeset':p[_0x585a72(0x2e5)](_0x17adcc)},_0xc43e00=this[_0x585a72(0x515)][_0x585a72(0x2be)](It),_0x5c9729=this[_0x585a72(0x515)][_0x585a72(0x2be)](G),_0x15df7a=Jt((_0x23a9c7=(_0x514a5e=_0x5c9729==null?void 0x0:_0x5c9729[_0x585a72(0x28f)])!=null?_0x514a5e:_0xc43e00)!=null?_0x23a9c7:Vt,_0x4a9e7b,_0x5ee66e);try{await this[_0x585a72(0x4df)][_0x585a72(0x49e)](_0x15df7a,{'body':_0x236e26});}catch(_0x41306b){throw this[_0x585a72(0x346)][_0x585a72(0x373)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x41306b;}}async[_0x38cf52(0x2c1)](_0x515551){var _0x1f98f5=_0x38cf52;const {unitID:_0x4c7f8f,from:_0x2883d3,to:_0x59af84,unitType:_0x11f35f}=_0x515551[_0x1f98f5(0x3bc)];return(await this[_0x1f98f5(0x54e)][_0x1f98f5(0x2ac)]({'metadata':void 0x0},{'unitID':_0x4c7f8f,'type':_0x11f35f,'from':_0x2883d3,'to':_0x59af84}))['changesets'];}},exports['CollaborationSocketService']=zt([_e(0x0,a[_0x38cf52(0x54a)](a[_0x38cf52(0x23e)])),_e(0x1,a['Inject'](K['HTTPService'])),_e(0x2,a[_0x38cf52(0x230)]),_e(0x3,a[_0x38cf52(0x20c)]),_e(0x4,p[_0x38cf52(0x308)])],exports[_0x38cf52(0x441)]);const Xt=_0x38cf52(0x487);function Zt(_0x3bdb87){var _0x2d9648=_0x38cf52;return JSON[_0x2d9648(0x4a5)](_0x3bdb87)[_0x2d9648(0x4ea)];}class $e{constructor(){var _0x452b1f=_0x38cf52;A(this,_0x452b1f(0x2b5),new $[(_0x452b1f(0x3ef))]()),A(this,_0x452b1f(0x435),this[_0x452b1f(0x2b5)][_0x452b1f(0x2ed)]());}[_0x38cf52(0x4b9)](_0x1d6d83){var _0x638d79=_0x38cf52;this[_0x638d79(0x2b5)]['next'](_0x1d6d83);}}var Qt=Object[_0x38cf52(0x28a)],ei=(_0x3ee787,_0x1aef7f,_0xb3f4b4,_0x5ae2bc)=>{var _0x2193a6=_0x38cf52;for(var _0x14ae47=_0x5ae2bc>0x1?void 0x0:_0x5ae2bc?Qt(_0x1aef7f,_0xb3f4b4):_0x1aef7f,_0x12f5c0=_0x3ee787[_0x2193a6(0x4ea)]-0x1,_0x3ea8dd;_0x12f5c0>=0x0;_0x12f5c0--)(_0x3ea8dd=_0x3ee787[_0x12f5c0])&&(_0x14ae47=_0x3ea8dd(_0x14ae47)||_0x14ae47);return _0x14ae47;},We=(_0x51f634,_0x222945)=>(_0x108b4c,_0x33b349)=>_0x222945(_0x108b4c,_0x33b349,_0x51f634);exports['MemberService']=class extends a[_0x38cf52(0x519)]{constructor(_0x44772f,_0x4e573d){var _0x264fa3=_0x38cf52;super(),A(this,_0x264fa3(0x3ed),new Map()),A(this,_0x264fa3(0x437),new $[(_0x264fa3(0x3ef))]()),(this[_0x264fa3(0x4fb)]=_0x44772f,this[_0x264fa3(0x50a)]=_0x4e573d,this[_0x264fa3(0x54c)]($['merge'](this[_0x264fa3(0x4fb)][_0x264fa3(0x35e)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x264fa3(0x516)](V['map'](_0x6bb8c0=>_0x6bb8c0[_0x264fa3(0x32d)]())),this[_0x264fa3(0x4fb)]['getTypeOfUnitDisposed$'](a[_0x264fa3(0x42e)][_0x264fa3(0x2d7)])[_0x264fa3(0x516)](V['map'](_0x4e1b2a=>_0x4e1b2a[_0x264fa3(0x32d)]())),this[_0x264fa3(0x4fb)][_0x264fa3(0x35e)](a[_0x264fa3(0x42e)]['UNIVER_SLIDE'])[_0x264fa3(0x516)](V[_0x264fa3(0x475)](_0x2e6e2e=>_0x2e6e2e[_0x264fa3(0x32d)]())))[_0x264fa3(0x36f)](_0x25a83f=>this[_0x264fa3(0x211)](_0x25a83f))));}[_0x38cf52(0x453)](_0x9eb1f3){var _0xc1eb61=_0x38cf52;return this[_0xc1eb61(0x3ed)][_0xc1eb61(0x4a6)](_0x9eb1f3)?$['of'](this[_0xc1eb61(0x3ed)][_0xc1eb61(0x47a)](_0x9eb1f3)):this['_roomCreated$'][_0xc1eb61(0x516)](V[_0xc1eb61(0x475)](_0x565f69=>{var _0x54527f=_0xc1eb61;if(_0x565f69===_0x9eb1f3)return this[_0x54527f(0x3ed)][_0x54527f(0x47a)](_0x565f69);}));}[_0x38cf52(0x30d)](_0x178d33){var _0x273912=_0x38cf52;this['_userManagerService'][_0x273912(0x30d)](_0x178d33);}['getCurrentUser'](){var _0x278a6c=_0x38cf52;return this['_userManagerService'][_0x278a6c(0x54f)]();}[_0x38cf52(0x213)](_0x50283c,_0x17110e){var _0x17df2d=_0x38cf52;let _0x5f0b2=this[_0x17df2d(0x3ed)][_0x17df2d(0x47a)](_0x50283c);_0x5f0b2||(_0x5f0b2=new ti(),this[_0x17df2d(0x3ed)][_0x17df2d(0x31c)](_0x50283c,_0x5f0b2),this[_0x17df2d(0x437)]['next'](_0x50283c)),_0x5f0b2[_0x17df2d(0x213)](_0x17110e);}[_0x38cf52(0x514)](_0x4aead4,_0x365055){var _0x45e221=_0x38cf52;const _0x2fbc06=this[_0x45e221(0x3ed)][_0x45e221(0x47a)](_0x4aead4);_0x2fbc06&&_0x2fbc06[_0x45e221(0x514)](_0x365055);}[_0x38cf52(0x48c)](_0x5c3eef){var _0x3abbbd=_0x38cf52;return this[_0x3abbbd(0x3ed)][_0x3abbbd(0x47a)](_0x5c3eef);}[_0x38cf52(0x2a8)](_0x2e930e,_0x4ca8f2){var _0x1434e1=_0x38cf52;const _0x84ce73=this['_roomMembers'][_0x1434e1(0x47a)](_0x2e930e);if(_0x84ce73)return _0x84ce73[_0x1434e1(0x2a8)](_0x4ca8f2);}[_0x38cf52(0x211)](_0x2a219c){var _0xd6a299=_0x38cf52;const _0x80891f=this[_0xd6a299(0x3ed)][_0xd6a299(0x47a)](_0x2a219c);_0x80891f&&(_0x80891f[_0xd6a299(0x52d)](),this[_0xd6a299(0x3ed)][_0xd6a299(0x484)](_0x2a219c));}[_0x38cf52(0x52d)](){var _0x30a77a=_0x38cf52;this[_0x30a77a(0x3ed)][_0x30a77a(0x49c)](_0x1cb8d1=>_0x1cb8d1[_0x30a77a(0x52d)]()),this[_0x30a77a(0x3ed)][_0x30a77a(0x533)](),this[_0x30a77a(0x437)][_0x30a77a(0x43e)]();}},exports[_0x38cf52(0x442)]=ei([We(0x0,a['IUniverInstanceService']),We(0x1,a['Inject'](a[_0x38cf52(0x38f)]))],exports[_0x38cf52(0x442)]);class ti extends a['Disposable']{constructor(){var _0x51c8ea=_0x38cf52;super(...arguments),A(this,_0x51c8ea(0x231),new Map()),A(this,_0x51c8ea(0x31e),new $[(_0x51c8ea(0x21e))](this['_members'])),A(this,_0x51c8ea(0x573),this[_0x51c8ea(0x31e)][_0x51c8ea(0x2ed)]());}[_0x38cf52(0x52d)](){var _0x2c9adb=_0x38cf52;this[_0x2c9adb(0x231)][_0x2c9adb(0x533)]();}[_0x38cf52(0x213)](_0x70c26b){var _0x42fc80=_0x38cf52;this['_members'][_0x42fc80(0x31c)](_0x70c26b[_0x42fc80(0x2eb)],_0x70c26b),this[_0x42fc80(0x485)]();}[_0x38cf52(0x514)](_0x3d70d7){var _0x1a1f71=_0x38cf52;this[_0x1a1f71(0x231)][_0x1a1f71(0x484)](_0x3d70d7);}['getMember'](_0xe25deb){var _0x133138=_0x38cf52;return this[_0x133138(0x231)]['get'](_0xe25deb);}[_0x38cf52(0x28d)](){var _0x2dae21=_0x38cf52;return Array[_0x2dae21(0x388)](this[_0x2dae21(0x231)][_0x2dae21(0x4b0)]());}[_0x38cf52(0x485)](){var _0x28ab19=_0x38cf52;this[_0x28ab19(0x31e)][_0x28ab19(0x546)](this[_0x28ab19(0x231)]);}}var ii=Object[_0x38cf52(0x28a)],ni=(_0x2c3b4c,_0x543a3c,_0x1e64fc,_0x54818f)=>{var _0x11b5ba=_0x38cf52;for(var _0x2b6697=_0x54818f>0x1?void 0x0:_0x54818f?ii(_0x543a3c,_0x1e64fc):_0x543a3c,_0x103e34=_0x2c3b4c[_0x11b5ba(0x4ea)]-0x1,_0x5b7879;_0x103e34>=0x0;_0x103e34--)(_0x5b7879=_0x2c3b4c[_0x103e34])&&(_0x2b6697=_0x5b7879(_0x2b6697)||_0x2b6697);return _0x2b6697;},se=(_0x202aea,_0x3b238c)=>(_0x48dffb,_0x496a23)=>_0x3b238c(_0x48dffb,_0x496a23,_0x202aea),re=(_0x21f4f2=>(_0x21f4f2[_0x21f4f2[_0x38cf52(0x497)]=0x0]=_0x38cf52(0x497),_0x21f4f2[_0x21f4f2[_0x38cf52(0x4ec)]=0x1]=_0x38cf52(0x4ec),_0x21f4f2[_0x21f4f2[_0x38cf52(0x55e)]=0x2]=_0x38cf52(0x55e),_0x21f4f2[_0x21f4f2[_0x38cf52(0x464)]=0x3]=_0x38cf52(0x464),_0x21f4f2))(re||{});const Ye={[oe[_0x38cf52(0x53d)]]:_0x38cf52(0x3b4),[oe[_0x38cf52(0x22e)]]:_0x38cf52(0x4c0),[oe['JOIN_ROOM_NOT_EXISTS']]:_0x38cf52(0x278),[oe[_0x38cf52(0x351)]]:_0x38cf52(0x4fc),[oe[_0x38cf52(0x33d)]]:_0x38cf52(0x4c6)};exports[_0x38cf52(0x3eb)]=class extends a[_0x38cf52(0x374)]{constructor(_0x2439cf,_0xa5ba65,_0x322821,_0x394a1b,_0x3ec4d2,_0x3ca3cd,_0x19dc38,_0xa679ae,_0x586c58){var _0x329a49=_0x38cf52;super(),A(this,_0x329a49(0x4f9),new $[(_0x329a49(0x21e))](0x0)),A(this,_0x329a49(0x312),this[_0x329a49(0x4f9)][_0x329a49(0x2ed)]()),A(this,'_event$',new $[(_0x329a49(0x3ef))]()),A(this,'event$',this[_0x329a49(0x482)][_0x329a49(0x2ed)]()),A(this,_0x329a49(0x428)),A(this,'_socketMessageSubscription'),A(this,_0x329a49(0x2e2)),A(this,_0x329a49(0x241),!0x1),A(this,_0x329a49(0x392),null),(this[_0x329a49(0x559)]=_0x2439cf,this[_0x329a49(0x346)]=_0x322821,this['_configService']=_0x394a1b,this[_0x329a49(0x263)]=_0x3ec4d2,this[_0x329a49(0x2e8)]=_0x3ca3cd,this[_0x329a49(0x41f)]=_0x19dc38,this[_0x329a49(0x446)]=_0xa679ae,this[_0x329a49(0x51e)]=_0x586c58,this[_0x329a49(0x241)]=!!this[_0x329a49(0x51e)],_0xa5ba65[_0x329a49(0x516)]($[_0x329a49(0x3fc)](this[_0x329a49(0x326)]))['subscribe'](_0x205026=>{var _0x4705f0=_0x329a49,_0x439ba0;typeof _0x205026>'u'||(this[_0x4705f0(0x428)]=_0x205026,_0x205026?(this[_0x4705f0(0x2df)](_0x205026),this[_0x4705f0(0x3e8)]=_0x205026[_0x4705f0(0x3a1)][_0x4705f0(0x36f)](_0x2d5ca0=>{var _0x3e3fa6=_0x4705f0;_0x2d5ca0[_0x3e3fa6(0x40c)]===this[_0x3e3fa6(0x559)]&&this[_0x3e3fa6(0x281)](_0x2d5ca0);})):(this[_0x4705f0(0x48b)](),this[_0x4705f0(0x4f9)][_0x4705f0(0x546)](0x2),(_0x439ba0=this[_0x4705f0(0x3e8)])==null||_0x439ba0[_0x4705f0(0x362)](),this[_0x4705f0(0x3e8)]=null));}));}get[_0x38cf52(0x3a5)](){var _0x344ae3=_0x38cf52;return this['_sessionStatus$'][_0x344ae3(0x250)]();}['getMemberID'](){var _0x4db35c=_0x38cf52,_0x9fd557,_0x2b5f80;return(_0x2b5f80=(_0x9fd557=this['_socket'])==null?void 0x0:_0x9fd557[_0x4db35c(0x2eb)])!=null?_0x2b5f80:null;}[_0x38cf52(0x52d)](){var _0x52872b=_0x38cf52;super[_0x52872b(0x52d)](),this['dispose$'][_0x52872b(0x546)](),this['dispose$'][_0x52872b(0x43e)]();}[_0x38cf52(0x3dc)](){var _0xe30446=_0x38cf52,_0x130375,_0x1de576;this['_throwTelemetryCollaborationNewChangeset'](),(_0x130375=this[_0xe30446(0x428)])==null||_0x130375['send']({'cmd':W[_0xe30446(0x399)],'data':{'roomID':this[_0xe30446(0x559)]}}),(_0x1de576=this['_socket'])==null||_0x1de576[_0xe30446(0x3dc)](),this['_event$'][_0xe30446(0x43e)](),this[_0xe30446(0x4f9)][_0xe30446(0x43e)](),this[_0xe30446(0x52d)]();}[_0x38cf52(0x281)](_0x43725e){var _0xd1e736=_0x38cf52;_0x43725e['cmd']===W[_0xd1e736(0x476)]?this[_0xd1e736(0x38e)](_0x43725e):_0x43725e[_0xd1e736(0x467)]===W[_0xd1e736(0x349)]&&this[_0xd1e736(0x3c4)](_0x43725e);}[_0x38cf52(0x2df)](_0x226733){var _0x287fc3=_0x38cf52;this[_0x287fc3(0x4f9)][_0x287fc3(0x546)](0x1),_0x226733[_0x287fc3(0x261)]({'cmd':W[_0x287fc3(0x476)],'routeKey':this[_0x287fc3(0x559)],'routeType':'','data':{'rooms':[{'roomID':this[_0x287fc3(0x559)]}]}});}['_onJoinRoomEvent'](_0x2941e7){var _0x151525=_0x38cf52,_0x1c964e;if(_0x2941e7['code']in Ye){this[_0x151525(0x446)][_0x151525(0x427)]({'id':Z[_0x151525(0x50f)],'data':Ye[_0x2941e7[_0x151525(0x4f8)]]}),this[_0x151525(0x4f9)][_0x151525(0x546)](0x2);return;}this[_0x151525(0x4f9)]['next'](0x3);const _0x21e409=(_0x1c964e=_0x2941e7[_0x151525(0x3bc)][_0x151525(0x4e6)][this[_0x151525(0x559)]])==null?void 0x0:_0x1c964e[_0x151525(0x3dd)];_0x21e409&&_0x21e409['forEach'](_0x385caa=>this['_memberService'][_0x151525(0x213)](this[_0x151525(0x559)],_0x385caa));}[_0x38cf52(0x3c4)](_0x40a48c){var _0x2de51c=_0x38cf52;try{const _0x358979=_0x40a48c['data'];switch(_0x358979[_0x2de51c(0x39c)]){case p['CollaborationEvent'][_0x2de51c(0x51f)]:this[_0x2de51c(0x3e0)](_0x358979),this[_0x2de51c(0x482)][_0x2de51c(0x546)](_0x358979);break;case p[_0x2de51c(0x401)][_0x2de51c(0x2d9)]:this['_onUserLeave'](_0x358979),this['_event$'][_0x2de51c(0x546)](_0x358979);break;case p[_0x2de51c(0x401)][_0x2de51c(0x303)]:case p[_0x2de51c(0x401)][_0x2de51c(0x36d)]:this[_0x2de51c(0x500)](),this[_0x2de51c(0x44e)](),this[_0x2de51c(0x482)][_0x2de51c(0x546)](_0x358979);break;case p[_0x2de51c(0x401)][_0x2de51c(0x479)]:this['_logService'][_0x2de51c(0x373)](_0x2de51c(0x534)+JSON[_0x2de51c(0x4a5)](_0x358979)),this['_event$'][_0x2de51c(0x546)](_0x358979);break;case p[_0x2de51c(0x401)]['COMMENT_UPDATE']:this[_0x2de51c(0x41f)]['onCommentUpdate'](_0x358979[_0x2de51c(0x3bc)]),this['_event$'][_0x2de51c(0x546)](_0x358979);break;default:this['_event$'][_0x2de51c(0x546)](_0x358979);}}catch(_0x13281f){this[_0x2de51c(0x346)][_0x2de51c(0x373)](_0x13281f,_0x40a48c);}}['_onUserJoin'](_0x54d076){var _0x24a72c=_0x38cf52;this['_memberService'][_0x24a72c(0x213)](this[_0x24a72c(0x559)],_0x54d076[_0x24a72c(0x3bc)]);}[_0x38cf52(0x2e0)](_0xf1f874){var _0xe9ff18=_0x38cf52;this['_memberService']['removeMember'](this[_0xe9ff18(0x559)],_0xf1f874[_0xe9ff18(0x3bc)][_0xe9ff18(0x2eb)]);}async[_0x38cf52(0x261)](_0xbba530,_0x23a6b2){var _0x14b469=_0x38cf52;if(this[_0x14b469(0x3a5)]!==0x3||!this[_0x14b469(0x428)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0xbba530['eventID']===p[_0x14b469(0x401)]['SUBMIT_CHANGESET']&&(this[_0x14b469(0x2f1)](),this[_0x14b469(0x4b4)](_0xbba530)),this[_0x14b469(0x428)]['send']({'cmd':W[_0x14b469(0x35f)],'routeKey':_0x23a6b2,'routeType':'','data':_0xbba530});}catch(_0x5dfb72){this[_0x14b469(0x346)]['error'](_0x5dfb72);}}[_0x38cf52(0x2f1)](){var _0x414bae=_0x38cf52,_0x8923c0;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x54cbe4=_0x20ff;this[_0x54cbe4(0x2e2)]=null,this[_0x54cbe4(0x446)][_0x54cbe4(0x427)]({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x8923c0=this[_0x414bae(0x515)]['getConfig'](ke))!=null?_0x8923c0:St);}[_0x38cf52(0x44e)](){var _0x256eff=_0x38cf52;this[_0x256eff(0x2e2)]&&(clearTimeout(this[_0x256eff(0x2e2)]),this[_0x256eff(0x2e2)]=null);}[_0x38cf52(0x4b4)](_0x5cdee7){var _0x1abc72=_0x38cf52;if(!this[_0x1abc72(0x241)])return;const {data:_0x513d63}=_0x5cdee7,{unitID:_0x4a0852,changeset:_0x180ff1}=_0x513d63,{mutations:_0x41ef9c,type:_0x4b2d79}=_0x180ff1;this[_0x1abc72(0x392)]={'unitId':_0x4a0852,'type':_0x4b2d79,'startTime':performance[_0x1abc72(0x551)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x41ef9c)};}[_0x38cf52(0x500)](){var _0x1543fd=_0x38cf52;if(this['_shouldReportTelemetry']){if(!this[_0x1543fd(0x392)]){this[_0x1543fd(0x346)][_0x1543fd(0x373)](_0x1543fd(0x27f),_0x1543fd(0x343));return;}this[_0x1543fd(0x392)][_0x1543fd(0x323)]=performance[_0x1543fd(0x551)](),this[_0x1543fd(0x392)][_0x1543fd(0x505)]=this['_telemetryInfo'][_0x1543fd(0x323)]-this[_0x1543fd(0x392)][_0x1543fd(0x26b)],this[_0x1543fd(0x51e)][_0x1543fd(0x4bf)](Xt,this[_0x1543fd(0x392)]),this[_0x1543fd(0x392)]=null;}}[_0x38cf52(0x48b)](){var _0x2181fd=_0x38cf52;this[_0x2181fd(0x392)]=null;}},exports[_0x38cf52(0x3eb)]=ni([se(0x2,a[_0x38cf52(0x20c)]),se(0x3,a['IConfigService']),se(0x4,a[_0x38cf52(0x54a)](a[_0x38cf52(0x4ce)])),se(0x5,a[_0x38cf52(0x54a)](exports[_0x38cf52(0x442)])),se(0x6,a['Inject']($e)),se(0x7,a[_0x38cf52(0x54a)](ee)),se(0x8,a['Optional'](Pt[_0x38cf52(0x2b9)]))],exports[_0x38cf52(0x3eb)]);var ri=Object[_0x38cf52(0x28a)],si=(_0xa6b7d,_0x1b167a,_0x3e700e,_0xd60c92)=>{var _0x4fc1cd=_0x38cf52;for(var _0x1df0f9=_0xd60c92>0x1?void 0x0:_0xd60c92?ri(_0x1b167a,_0x3e700e):_0x1b167a,_0x168b1a=_0xa6b7d[_0x4fc1cd(0x4ea)]-0x1,_0x1f8245;_0x168b1a>=0x0;_0x168b1a--)(_0x1f8245=_0xa6b7d[_0x168b1a])&&(_0x1df0f9=_0x1f8245(_0x1df0f9)||_0x1df0f9);return _0x1df0f9;},he=(_0x376f07,_0x55f78d)=>(_0x517417,_0xda48c0)=>_0x55f78d(_0x517417,_0xda48c0,_0x376f07);exports[_0x38cf52(0x55a)]=class extends a['Disposable']{constructor(_0x38fdb8,_0x20170b,_0x1e5d51,_0x28b52a,_0x41abf0,_0x1b1e40){var _0xb47f35=_0x38cf52;super(),A(this,'_socket$',new $[(_0xb47f35(0x21e))](void 0x0)),A(this,_0xb47f35(0x24b),this[_0xb47f35(0x37a)]['asObservable']()),A(this,'_candidateSocket',null),A(this,_0xb47f35(0x284),new Map()),A(this,_0xb47f35(0x457),new $[(_0xb47f35(0x21e))](re[_0xb47f35(0x497)])),A(this,'status$',this[_0xb47f35(0x457)][_0xb47f35(0x2ed)]()),A(this,'_socketReady',!0x1),A(this,_0xb47f35(0x48d)),A(this,_0xb47f35(0x3c7),0x0),A(this,'_sendHeartbeatTimer'),A(this,_0xb47f35(0x33a)),(this[_0xb47f35(0x45a)]=_0x38fdb8,this[_0xb47f35(0x346)]=_0x20170b,this['_configService']=_0x1e5d51,this[_0xb47f35(0x212)]=_0x28b52a,this[_0xb47f35(0x446)]=_0x41abf0,this[_0xb47f35(0x39f)]=_0x1b1e40,this[_0xb47f35(0x550)]());}get[_0x38cf52(0x428)](){var _0x271f57=_0x38cf52;return this[_0x271f57(0x37a)][_0x271f57(0x250)]();}[_0x38cf52(0x550)](){var _0x5ad13f=_0x38cf52;this[_0x5ad13f(0x39f)]&&this[_0x5ad13f(0x54c)](this[_0x5ad13f(0x39f)][_0x5ad13f(0x4eb)][_0x5ad13f(0x36f)](_0x4535a2=>{var _0x30044a=_0x5ad13f;_0x4535a2&&!this[_0x30044a(0x428)]&&this[_0x30044a(0x2f9)](),_0x4535a2||this[_0x30044a(0x3d9)]();}));}[_0x38cf52(0x52d)](){var _0x35931b=_0x38cf52;super[_0x35931b(0x52d)](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this[_0x35931b(0x28c)](),this[_0x35931b(0x284)][_0x35931b(0x49c)](_0x140070=>_0x140070[_0x35931b(0x52d)]()),this[_0x35931b(0x284)]['clear'](),this[_0x35931b(0x457)]['complete']();}async[_0x38cf52(0x4aa)](_0x4c56ab){var _0x569485=_0x38cf52;if(this[_0x569485(0x284)]['has'](_0x4c56ab))return this[_0x569485(0x284)]['get'](_0x4c56ab);this['_tryEnsureSocket']();const _0x235bfd=this[_0x569485(0x45a)]['createInstance'](exports[_0x569485(0x3eb)],_0x4c56ab,this['_socket$'][_0x569485(0x2ed)]());return this[_0x569485(0x284)]['set'](_0x4c56ab,_0x235bfd),_0x235bfd;}[_0x38cf52(0x495)](_0x4a0a47){var _0x7b9710=_0x38cf52,_0x1ba8fe;const _0x10c01c=this['_sessions'][_0x7b9710(0x47a)](_0x4a0a47);_0x10c01c&&(this['_sessions']['delete'](_0x4a0a47),_0x10c01c['close']()),this['_sessions'][_0x7b9710(0x42b)]||(_0x1ba8fe=this[_0x7b9710(0x428)])==null||_0x1ba8fe[_0x7b9710(0x3dc)]();}[_0x38cf52(0x2f9)](){var _0x532602=_0x38cf52;this[_0x532602(0x3c7)]=0x0,this[_0x532602(0x53c)](),this[_0x532602(0x37e)]();}['_clearRetryConnectingTimer'](){var _0x7e5f02=_0x38cf52;this[_0x7e5f02(0x48d)]!=null&&(clearTimeout(this[_0x7e5f02(0x48d)]),this['_retryConnectingTimer']=null);}async[_0x38cf52(0x206)](){var _0x5e046d=_0x38cf52,_0xa6c474,_0x5be71d;const _0x4c1603=this['_configService'][_0x5e046d(0x2be)](ut),_0x2955ca=this['_configService'][_0x5e046d(0x2be)](G),_0x520ec1=(_0x5be71d=(_0xa6c474=_0x2955ca==null?void 0x0:_0x2955ca[_0x5e046d(0x4c9)])!=null?_0xa6c474:_0x4c1603)!=null?_0x5be71d:dt,_0x5b6894=await this[_0x5e046d(0x212)][_0x5e046d(0x455)](_0x520ec1);return this[_0x5e046d(0x339)]=_0x5b6894,_0x5b6894;}async[_0x38cf52(0x202)](){var _0x15bf18=_0x38cf52,_0x1b3005,_0x42ffdc;try{const _0x1c74d4=(_0x42ffdc=(_0x1b3005=this[_0x15bf18(0x428)])!=null?_0x1b3005:this['_candidateSocket'])!=null?_0x42ffdc:await this[_0x15bf18(0x206)]();if(_0x1c74d4){const _0x2ea93e=_0x1c74d4[_0x15bf18(0x261)];_0x1c74d4['send']=_0x2d080b=>(this[_0x15bf18(0x45b)](),_0x2ea93e[_0x15bf18(0x30c)](_0x1c74d4,[_0x2d080b])),_0x1c74d4[_0x15bf18(0x3a1)][_0x15bf18(0x36f)](_0x1ca8cd=>this['_onMessage'](_0x1c74d4,_0x1ca8cd)),_0x1c74d4[_0x15bf18(0x4a9)]['pipe'](V[_0x15bf18(0x2db)](0x1))[_0x15bf18(0x36f)](_0x2ca82b=>this[_0x15bf18(0x346)][_0x15bf18(0x373)](_0x15bf18(0x30a),_0x2ca82b)),_0x1c74d4[_0x15bf18(0x2b1)][_0x15bf18(0x516)](V['take'](0x1))['subscribe'](()=>{var _0x444536=_0x15bf18;this[_0x444536(0x42c)](_0x1c74d4);}),_0x1c74d4['close$'][_0x15bf18(0x516)](V[_0x15bf18(0x2db)](0x1))[_0x15bf18(0x36f)](_0x106d3b=>{var _0x4ec226=_0x15bf18;this[_0x4ec226(0x346)]['debug'](_0x4ec226(0x34d),_0x4ec226(0x3a2),_0x106d3b),this[_0x4ec226(0x353)]();});}}catch(_0x18c7b4){this[_0x15bf18(0x346)]['error'](_0x18c7b4),this[_0x15bf18(0x353)]();}}['_onConnectionOpen'](_0x1d5f2e){var _0x3c484e=_0x38cf52;this['_logService']['debug'](_0x3c484e(0x34d),_0x3c484e(0x488)),_0x1d5f2e[_0x3c484e(0x261)]({'cmd':W['HELLO']}),this[_0x3c484e(0x45b)]();}['_onOffline'](){var _0x582efe=_0x38cf52;this[_0x582efe(0x4c8)]=!0x1,this[_0x582efe(0x339)]=null,this[_0x582efe(0x457)]['next'](re[_0x582efe(0x55e)]),this['_socket$'][_0x582efe(0x546)](null),this[_0x582efe(0x37b)](),this[_0x582efe(0x28c)]();}['_onConnectionFailed'](){var _0x4515b7=_0x38cf52,_0x2f7840;this['_onOffline'](),this[_0x4515b7(0x3c7)]<((_0x2f7840=this[_0x4515b7(0x515)][_0x4515b7(0x2be)](ft))!=null?_0x2f7840:jt)?(this[_0x4515b7(0x446)]['emitEvent']({'id':Z[_0x4515b7(0x3de)]}),this[_0x4515b7(0x37e)]()):this[_0x4515b7(0x446)][_0x4515b7(0x427)]({'id':Z[_0x4515b7(0x200)]});}['_tryReconnect'](){var _0x552a9d=_0x38cf52,_0x4ac84d;const _0xa7b717=this[_0x552a9d(0x3c7)],_0x4a7293=this[_0x552a9d(0x515)][_0x552a9d(0x2be)](G),_0x347bc7=_0xa7b717===0x0?0x0:((_0x4ac84d=_0x4a7293==null?void 0x0:_0x4a7293[_0x552a9d(0x375)])!=null?_0x4ac84d:$t)*0x2**_0xa7b717;this['_retryConnectingTimer']=setTimeout(()=>{var _0x50bcaa=_0x552a9d;clearTimeout(this[_0x50bcaa(0x48d)]),this[_0x50bcaa(0x48d)]=null,this['_tryEnsureSocket']();},_0x347bc7),this[_0x552a9d(0x3c7)]+=0x1;}[_0x38cf52(0x4a0)](_0x570d32,_0x2d6ed2){var _0x5861d9=_0x38cf52;const {cmd:_0x24d7ff}=_0x2d6ed2;_0x24d7ff===W[_0x5861d9(0x412)]&&!this['_socketReady']&&(_0x570d32[_0x5861d9(0x2eb)]=_0x2d6ed2[_0x5861d9(0x3bc)][_0x5861d9(0x2eb)],this[_0x5861d9(0x37a)][_0x5861d9(0x546)](_0x570d32),this['_status$'][_0x5861d9(0x546)](re['ONLINE']),this[_0x5861d9(0x4c8)]=!0x0,this[_0x5861d9(0x339)]=null),_0x24d7ff===W['HEARTBEAT']&&this[_0x5861d9(0x37b)](),this['_rescheduleHeartbeat']();}[_0x38cf52(0x45b)](){var _0x5304ba=_0x38cf52,_0x9348fe;this['_clearHeartbeatTimer'](),this[_0x5304ba(0x3d8)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x9348fe=this[_0x5304ba(0x515)][_0x5304ba(0x2be)](vt))!=null?_0x9348fe:Ht);}[_0x38cf52(0x3a3)](){var _0x1a2cc1=_0x38cf52;this['_socket']['send']({'cmd':W['HEARTBEAT']}),this[_0x1a2cc1(0x334)]();}[_0x38cf52(0x334)](){var _0x45ab92=_0x38cf52,_0x45d3c2;this[_0x45ab92(0x33a)]=setTimeout(()=>this[_0x45ab92(0x353)](),(_0x45d3c2=this[_0x45ab92(0x515)][_0x45ab92(0x2be)](ke))!=null?_0x45d3c2:St);}['_clearHeartbeatTimer'](){var _0x5048a1=_0x38cf52;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x5048a1(0x3d8)]=null);}[_0x38cf52(0x37b)](){var _0x465564=_0x38cf52;this[_0x465564(0x33a)]!=null&&(clearTimeout(this[_0x465564(0x33a)]),this[_0x465564(0x33a)]=null);}},exports[_0x38cf52(0x55a)]=si([he(0x0,a[_0x38cf52(0x54a)](a[_0x38cf52(0x23e)])),he(0x1,a[_0x38cf52(0x20c)]),he(0x2,a[_0x38cf52(0x230)]),he(0x3,He),he(0x4,a[_0x38cf52(0x54a)](ee)),he(0x5,a['Optional'](mt))],exports[_0x38cf52(0x55a)]);const q=a['createIdentifier'](_0x38cf52(0x41b));function oi(_0x5ee109){var _0x11226c=_0x38cf52;return _0x11226c(0x257)+_0x5ee109;}var ai=Object[_0x38cf52(0x28a)],ci=(_0x5edb7f,_0x18df13,_0x45ec82,_0x590e04)=>{var _0x5099f0=_0x38cf52;for(var _0x23fd9d=_0x590e04>0x1?void 0x0:_0x590e04?ai(_0x18df13,_0x45ec82):_0x18df13,_0x12e6ec=_0x5edb7f[_0x5099f0(0x4ea)]-0x1,_0x244efb;_0x12e6ec>=0x0;_0x12e6ec--)(_0x244efb=_0x5edb7f[_0x12e6ec])&&(_0x23fd9d=_0x244efb(_0x23fd9d)||_0x23fd9d);return _0x23fd9d;},Ue=(_0x411bad,_0x2125a4)=>(_0x56ad91,_0xaf2c2d)=>_0x2125a4(_0x56ad91,_0xaf2c2d,_0x411bad);function hi(_0x5de1b2){var _0x1f7c00=_0x38cf52;const {unitID:_0x26c9d0,mutations:_0x3ce07f}=_0x5de1b2;return{'unitId':_0x26c9d0,'subUnitId':_0x3ce07f[0x0][_0x1f7c00(0x501)][_0x1f7c00(0x266)]};}exports[_0x38cf52(0x372)]=class{constructor(_0x113e9a,_0x809eab,_0x3e87a1){var _0x36936b=_0x38cf52;this[_0x36936b(0x45a)]=_0x113e9a,this[_0x36936b(0x471)]=_0x809eab,this[_0x36936b(0x545)]=_0x3e87a1;}['transformSelections'](_0x581c8c){var _0x2512b9=_0x38cf52,_0x3d4f5d,_0x50906a,_0x6d1f78,_0x4c208a;const _0x581e07=this[_0x2512b9(0x45a)][_0x2512b9(0x47a)](X['SheetsSelectionsService']),{unitId:_0x458029,subUnitId:_0x521dc7}=hi(_0x581c8c),_0x4be37b=_0x581e07==null?void 0x0:_0x581e07[_0x2512b9(0x20b)](_0x458029)[_0x2512b9(0x2fe)](),_0x524bc6=(_0x50906a=(_0x3d4f5d=this[_0x2512b9(0x545)]['getUnit'](_0x458029))==null?void 0x0:_0x3d4f5d[_0x2512b9(0x3b0)]())==null?void 0x0:_0x50906a[_0x2512b9(0x406)]();if(_0x4be37b[_0x2512b9(0x4ea)]===0x0||!_0x458029||!_0x521dc7)return;const _0x17928c=[{'id':X[_0x2512b9(0x3cc)]['id'],'params':{'unitId':_0x458029,'subUnitId':_0x524bc6,'selections':a[_0x2512b9(0x531)]['deepClone'](_0x4be37b)}}],_0x43c9b1=this[_0x2512b9(0x471)][_0x2512b9(0x232)](_0x581c8c,_0x17928c);if(!p[_0x2512b9(0x3e1)](_0x43c9b1))throw _0x43c9b1[_0x2512b9(0x373)];const _0x5cf01e=(_0x4c208a=(_0x6d1f78=_0x43c9b1[_0x2512b9(0x29a)][0x0])==null?void 0x0:_0x6d1f78[_0x2512b9(0x501)])==null?void 0x0:_0x4c208a[_0x2512b9(0x4f4)];if(Array[_0x2512b9(0x332)](_0x5cf01e)&&_0x5cf01e['length']){if(_0x5cf01e[_0x2512b9(0x4ea)]===_0x17928c[0x0]['params']['selections']['length']&&_0x5cf01e[_0x2512b9(0x366)]((_0x1acc04,_0x425b79)=>a[_0x2512b9(0x1f9)][_0x2512b9(0x367)](_0x1acc04[_0x2512b9(0x46b)],_0x17928c[0x0]['params'][_0x2512b9(0x4f4)][_0x425b79][_0x2512b9(0x46b)])))return;this[_0x2512b9(0x45a)][_0x2512b9(0x47a)](a[_0x2512b9(0x273)])['executeCommand'](X[_0x2512b9(0x3cc)]['id'],{'unitId':_0x458029,'subUnitId':_0x524bc6,'selections':_0x5cf01e});}}},exports['SheetTransformSelectionsService']=ci([Ue(0x0,a['Inject'](a['Injector'])),Ue(0x1,p['ITransformService']),Ue(0x2,a['IUniverInstanceService'])],exports[_0x38cf52(0x372)]);const de=a[_0x38cf52(0x493)](_0x38cf52(0x52e));var je=(_0x48eb82=>(_0x48eb82[_0x48eb82['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x38cf52(0x4b1),_0x48eb82[_0x48eb82[_0x38cf52(0x2f2)]=0x1]=_0x38cf52(0x2f2),_0x48eb82))(je||{});const _i=new Set([X[_0x38cf52(0x39e)]['id']]);function Ge(_0x4fd1ad,_0x34c91f,_0x11f9fd,_0x34ae5d,_0x3eda4e){var _0x4944c7=_0x38cf52,_0x1660a9,_0x1460ca,_0x2d7ae1,_0x2c20d0;const _0x229f70=[];for(const _0x3e8c26 of _0x4fd1ad)if(_i[_0x4944c7(0x4a6)](_0x3e8c26['id'])){if(_0x229f70[_0x4944c7(0x4ea)]>0x0)break;_0x229f70[_0x4944c7(0x398)](_0x3e8c26);break;}else _0x229f70[_0x4944c7(0x398)](_0x3e8c26);const _0x50f24a=(_0x1460ca=(_0x1660a9=_0x3eda4e[_0x4944c7(0x54f)]())==null?void 0x0:_0x1660a9[_0x4944c7(0x204)])!=null?_0x1460ca:_0x4944c7(0x391),_0x3f4e4d=(_0x2c20d0=(_0x2d7ae1=_0x3eda4e[_0x4944c7(0x54f)]())==null?void 0x0:_0x2d7ae1[_0x4944c7(0x2eb)])!=null?_0x2c20d0:_0x4944c7(0x391);return{'changeset':{'unitID':_0x34c91f,'type':p['mapDocumentTypeToUniverType'](_0x11f9fd[_0x4944c7(0x538)](_0x34c91f)),'baseRev':_0x34ae5d[_0x4944c7(0x2c0)](_0x34c91f),'revision':0x0,'userID':_0x50f24a,'memberID':_0x3f4e4d,'mutations':_0x229f70},'pendingMutations':_0x4fd1ad[_0x4944c7(0x342)](_0x229f70['length'])};}function li(_0x376a8a,_0x2f4f36,_0x58e2e3,_0x2a93fa,_0x11770f){var _0x26dc3d=_0x38cf52,_0x3c474b,_0x351566,_0x6825ab,_0x2bd734;const _0x3a5f00=[_0x376a8a[_0x26dc3d(0x47c)]((_0xcc167b,_0x3702d0)=>{var _0x2c079d=_0x26dc3d,_0x34872a;const {id:_0x5dabf6}=_0xcc167b,{id:_0x27dade,type:_0x230c2c}=_0x3702d0,_0x1cdc57=(_0x34872a=_0xcc167b[_0x2c079d(0x501)])!=null?_0x34872a:{'actions':null},_0x1891a0=_0x3702d0[_0x2c079d(0x501)];if(_0x5dabf6&&_0x5dabf6!==_0x27dade)throw new Error(_0x2c079d(0x3f0)+_0x5dabf6+'\x20-\x20'+_0x27dade+'.');return{..._0xcc167b,'id':_0x27dade,'type':_0x230c2c,'params':{'unitId':_0x1891a0['unitId'],'textRanges':_0x1891a0['textRanges'],'actions':a[_0x2c079d(0x37c)][_0x2c079d(0x3fd)](_0x1cdc57[_0x2c079d(0x431)],_0x1891a0[_0x2c079d(0x431)])}};},{})],_0x2f1c50=(_0x351566=(_0x3c474b=_0x11770f[_0x26dc3d(0x54f)]())==null?void 0x0:_0x3c474b[_0x26dc3d(0x204)])!=null?_0x351566:_0x26dc3d(0x391),_0x5842c7=(_0x2bd734=(_0x6825ab=_0x11770f[_0x26dc3d(0x54f)]())==null?void 0x0:_0x6825ab['memberID'])!=null?_0x2bd734:_0x26dc3d(0x391);return{'changeset':{'unitID':_0x2f4f36,'type':p[_0x26dc3d(0x423)](_0x58e2e3['getUnitType'](_0x2f4f36)),'baseRev':_0x2a93fa['getCurrentRevOfUnit'](_0x2f4f36),'revision':0x0,'userID':_0x2f1c50,'memberID':_0x5842c7,'mutations':_0x3a5f00},'pendingMutations':[]};}function bt(_0x2c50a4,_0x457aa0){var _0x1fad11=_0x38cf52;const _0x1bacc8=new $[(_0x1fad11(0x3af))](0x1);return setTimeout(()=>_0x1bacc8[_0x1fad11(0x546)](_0x457aa0),_0x2c50a4),_0x1bacc8[_0x1fad11(0x2ed)]()[_0x1fad11(0x516)]($[_0x1fad11(0x2db)](0x1));}const ui={'id':X[_0x38cf52(0x3c3)]['id'],'type':a[_0x38cf52(0x4c1)][_0x38cf52(0x4ad)],'params':{}};var di=Object[_0x38cf52(0x28a)],ae=(_0x925334,_0x4f4ba5,_0x5472eb,_0xaa407e)=>{for(var _0xdf3d7e=_0xaa407e>0x1?void 0x0:_0xaa407e?di(_0x4f4ba5,_0x5472eb):_0x4f4ba5,_0x1d8b5c=_0x925334['length']-0x1,_0x6645d7;_0x1d8b5c>=0x0;_0x1d8b5c--)(_0x6645d7=_0x925334[_0x1d8b5c])&&(_0xdf3d7e=_0x6645d7(_0xdf3d7e)||_0xdf3d7e);return _0xdf3d7e;},L=(_0x5a3b1f,_0x225ff2)=>(_0x538e5f,_0x5ac94c)=>_0x225ff2(_0x538e5f,_0x5ac94c,_0x5a3b1f),Be=(_0x267979=>(_0x267979['NOT_COLLAB']=_0x38cf52(0x413),_0x267979[_0x38cf52(0x2bf)]='synced',_0x267979[_0x38cf52(0x279)]=_0x38cf52(0x4f6),_0x267979[_0x38cf52(0x3f3)]=_0x38cf52(0x4a3),_0x267979['AWAITING_WITH_PENDING']=_0x38cf52(0x510),_0x267979[_0x38cf52(0x328)]=_0x38cf52(0x3f2),_0x267979[_0x38cf52(0x300)]=_0x38cf52(0x4b2),_0x267979[_0x38cf52(0x55e)]=_0x38cf52(0x3cb),_0x267979))(Be||{});const Rt=0xea60;class ce{constructor(_0x533bd1,_0x378427,_0x261b5a,_0x2c0077,_0x1b2700,_0x5050a6,_0x3ec692,_0x48501b,_0x5408e4){var _0x54bf25=_0x38cf52;A(this,_0x54bf25(0x46c),null),A(this,_0x54bf25(0x25b),[]),(this['unitID']=_0x533bd1,this['type']=_0x378427,this[_0x54bf25(0x379)]=_0x1b2700,this[_0x54bf25(0x46e)]=_0x5050a6,this[_0x54bf25(0x4dc)]=_0x3ec692,this[_0x54bf25(0x4e1)]=_0x48501b,this['_localCacheService']=_0x5408e4,this[_0x54bf25(0x46c)]=_0x261b5a,this[_0x54bf25(0x25b)]=_0x2c0077);}[_0x38cf52(0x34e)](_0xff8abe){var _0x1fc73b=_0x38cf52;const _0x4cd73f=this[_0x1fc73b(0x4e1)][_0x1fc73b(0x2c0)](this[_0x1fc73b(0x270)]);return _0xff8abe[_0x1fc73b(0x301)]>_0x4cd73f+0x1?(this[_0x1fc73b(0x379)][_0x1fc73b(0x2fd)]({'from':_0x4cd73f,'to':_0xff8abe[_0x1fc73b(0x301)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x554f52){var _0x444673=_0x38cf52;this[_0x444673(0x4dc)][_0x444673(0x4ae)](this[_0x444673(0x270)],_0x554f52);}['_transformSelections'](_0x57999b){var _0xa979b=_0x38cf52,_0x11fb5b,_0x3d85e6;(_0x3d85e6=(_0x11fb5b=this[_0xa979b(0x379)])[_0xa979b(0x2e9)])==null||_0x3d85e6[_0xa979b(0x508)](_0x11fb5b,_0x57999b);}['_transformIMECache'](_0xb24179){var _0x33ac9e=_0x38cf52,_0x368e8d,_0x3d9a75;return(_0x3d9a75=(_0x368e8d=this['_handler'])[_0x33ac9e(0x47d)])==null?void 0x0:_0x3d9a75[_0x33ac9e(0x508)](_0x368e8d,_0xb24179);}[_0x38cf52(0x2c5)](_0x19a1eb){var _0x12f865=_0x38cf52,_0x13e3f2,_0x38421c;return(_0x38421c=(_0x13e3f2=this[_0x12f865(0x379)])['onTransformState'])==null?void 0x0:_0x38421c['call'](_0x13e3f2,_0x19a1eb);}['_transformRemoteChangesetByIMECache'](_0x59090b){var _0x2a3a23=_0x38cf52,_0x3a2620,_0x4a4a97,_0x12359e;return(_0x12359e=(_0x4a4a97=(_0x3a2620=this[_0x2a3a23(0x379)])[_0x2a3a23(0x53e)])==null?void 0x0:_0x4a4a97[_0x2a3a23(0x508)](_0x3a2620,_0x59090b))!=null?_0x12359e:_0x59090b;}['_transformRemoteChangesetByStateCache'](_0x302281){var _0x59d5d4=_0x38cf52,_0x4c81f7,_0x2600ac,_0x5a1fdf;return(_0x5a1fdf=(_0x2600ac=(_0x4c81f7=this[_0x59d5d4(0x379)])[_0x59d5d4(0x240)])==null?void 0x0:_0x2600ac[_0x59d5d4(0x508)](_0x4c81f7,_0x302281))!=null?_0x5a1fdf:_0x302281;}['_syncEditingCollabCursor'](_0x412a9d){var _0xd9f117=_0x38cf52,_0xb27d35,_0xa1564f;if(this[_0xd9f117(0x1f5)]===J[_0xd9f117(0x2d7)]){const {unitID:_0x407ce0,mutations:_0x155d66,memberID:_0x1be479}=_0x412a9d,_0x5b001e=_0x155d66[0x0][_0xd9f117(0x501)][_0xd9f117(0x205)];Array[_0xd9f117(0x332)](_0x5b001e)&&_0x5b001e['length']>0x0&&((_0xa1564f=(_0xb27d35=this[_0xd9f117(0x379)])[_0xd9f117(0x359)])==null||_0xa1564f[_0xd9f117(0x508)](_0xb27d35,{'unitID':_0x407ce0,'memberID':_0x1be479,'textRanges':_0x5b001e}));}}[_0x38cf52(0x3d7)](){var _0x216887=_0x38cf52,_0x5db640;(_0x5db640=this[_0x216887(0x4ed)])==null||_0x5db640[_0x216887(0x483)](this[_0x216887(0x270)],this[_0x216887(0x1f5)],this[_0x216887(0x46c)],this[_0x216887(0x25b)]);}[_0x38cf52(0x45e)](){var _0x13045c=_0x38cf52;return this['_revisionService'][_0x13045c(0x2c0)](this[_0x13045c(0x270)]);}['_incrementRevisionNumber'](){var _0x33e205=_0x38cf52;this[_0x33e205(0x4e1)]['incrementRevOfUnit'](this[_0x33e205(0x270)]);}['_executeRemoteChangeset'](_0x1b0cfb){var _0xafbf7=_0x38cf52,_0xf1dd2b;let _0x3093c2=this[_0xafbf7(0x35a)](_0x1b0cfb);_0x3093c2=this['_transformRemoteChangesetByStateCache'](_0x3093c2);const _0x5c7079=a[_0xafbf7(0x22d)](_0x3093c2[_0xafbf7(0x233)],this['_commandService'],{'fromCollab':!0x0});if(!_0x5c7079['result'])throw _0x5c7079[_0xafbf7(0x373)]instanceof Error?_0x5c7079[_0xafbf7(0x373)]:new Error((_0xf1dd2b=_0x5c7079[_0xafbf7(0x373)])!=null?_0xf1dd2b:_0xafbf7(0x3ba));this[_0xafbf7(0x56c)](_0x3093c2),this[_0xafbf7(0x2c5)](_0x3093c2),this[_0xafbf7(0x55d)](_0x1b0cfb),this[_0xafbf7(0x55b)](_0x3093c2),this[_0xafbf7(0x544)](_0x3093c2),this[_0xafbf7(0x4f3)]();}}exports[_0x38cf52(0x49d)]=class extends ce{constructor(_0x4154b2,_0x2e3fe4,_0x3a7b70,_0x2e70da,_0x465bc2,_0x18c220,_0x43aa35,_0x1a7131,_0x47adc1,_0x391ee4){var _0x2c7ddc=_0x38cf52;super(_0x4154b2,_0x2e3fe4,null,[],_0x3a7b70,_0x43aa35,_0x18c220,_0x2e70da,_0x391ee4),A(this,_0x2c7ddc(0x381),_0x2c7ddc(0x1f6)),(this[_0x2c7ddc(0x45a)]=_0x465bc2,this['_logService']=_0x1a7131,this['_transformService']=_0x47adc1,this['localCacheService']=_0x391ee4);}[_0x38cf52(0x458)](_0x5b171d){var _0x26ff80=_0x38cf52;const _0x294c69=this[_0x26ff80(0x45a)][_0x26ff80(0x21f)](exports['PendingState'],this['unitID'],this['type'],[_0x5b171d],this[_0x26ff80(0x379)]);return _0x294c69[_0x26ff80(0x486)](),_0x294c69[_0x26ff80(0x3d7)](),_0x294c69;}[_0x38cf52(0x477)](_0x2a5b42){var _0x2be593=_0x38cf52;if(this[_0x2be593(0x34e)](_0x2a5b42))return this['_injector'][_0x2be593(0x21f)](exports['FetchingMissState'],this[_0x2be593(0x270)],this[_0x2be593(0x1f5)],null,[],null,[_0x2a5b42],this[_0x2be593(0x379)]);try{const _0x2066dc=this[_0x2be593(0x471)][_0x2be593(0x232)](_0x2a5b42,[ui]);if(p[_0x2be593(0x3e1)](_0x2066dc)){const {c1Prime:_0x190bcf}=_0x2066dc;return this['_executeRemoteChangeset'](_0x190bcf),this;}throw _0x2066dc[_0x2be593(0x373)];}catch(_0x559ae1){return this[_0x2be593(0x346)][_0x2be593(0x373)](_0x559ae1),this[_0x2be593(0x3f5)](!0x1);}}[_0x38cf52(0x3f5)](_0x4e86d3){var _0x27986b=_0x38cf52;return this[_0x27986b(0x45a)][_0x27986b(0x21f)](exports[_0x27986b(0x38b)],this['unitID'],this[_0x27986b(0x1f5)],null,[],this[_0x27986b(0x379)],_0x4e86d3);}[_0x38cf52(0x3b9)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x56b5fe=_0x38cf52;throw new Error(_0x56b5fe(0x209));}[_0x38cf52(0x3bd)](){return this;}[_0x38cf52(0x315)](){var _0x19bb92=_0x38cf52;return this[_0x19bb92(0x45a)][_0x19bb92(0x21f)](exports['OfflineState'],this[_0x19bb92(0x270)],this['type'],null,[],this['_handler']);}[_0x38cf52(0x271)](){return this;}[_0x38cf52(0x30b)](){var _0x1b7d77=_0x38cf52;throw new Error(_0x1b7d77(0x243));}[_0x38cf52(0x451)](){var _0x3a4d7e=_0x38cf52;const _0x489c70=this[_0x3a4d7e(0x4e1)][_0x3a4d7e(0x2c0)](this['unitID']);return this['_handler'][_0x3a4d7e(0x2fd)]({'from':_0x489c70,'to':0x0}),this[_0x3a4d7e(0x45a)][_0x3a4d7e(0x21f)](exports[_0x3a4d7e(0x260)],this[_0x3a4d7e(0x270)],this[_0x3a4d7e(0x1f5)],null,[],null,[],this['_handler']);}},exports[_0x38cf52(0x49d)]=ae([L(0x3,a[_0x38cf52(0x54a)](p[_0x38cf52(0x3aa)])),L(0x4,a[_0x38cf52(0x54a)](a[_0x38cf52(0x23e)])),L(0x5,a[_0x38cf52(0x430)]),L(0x6,a['ICommandService']),L(0x7,a['ILogService']),L(0x8,p[_0x38cf52(0x293)]),L(0x9,a[_0x38cf52(0x383)](q))],exports[_0x38cf52(0x49d)]),exports[_0x38cf52(0x248)]=class extends ce{constructor(_0x5b2d1b,_0x27f3d2,_0x1054e0,_0x1daa14,_0x57979f,_0x365f3c,_0x5de80b,_0x1a08db,_0x37386f,_0x11dba7,_0x135ea7,_0x19bf62,_0x1adcc6,_0x136918){var _0x39b99d=_0x38cf52;super(_0x5b2d1b,_0x27f3d2,null,_0x1054e0,_0x1daa14,_0x37386f,_0x1adcc6,_0x365f3c,_0x136918),A(this,_0x39b99d(0x381),_0x39b99d(0x4f6)),A(this,'_scheduleCompleteTimestamp',null),A(this,_0x39b99d(0x57b),null),(this[_0x39b99d(0x45a)]=_0x57979f,this[_0x39b99d(0x2e8)]=_0x5de80b,this[_0x39b99d(0x346)]=_0x1a08db,this[_0x39b99d(0x515)]=_0x11dba7,this['_transformService']=_0x135ea7,this['_univerInstanceService']=_0x19bf62);}['appendMutation'](_0x74c556){var _0x15cdde=_0x38cf52;return this[_0x15cdde(0x25b)]['push'](_0x74c556),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x4d6510){var _0x53cc59=_0x38cf52;if(this[_0x53cc59(0x34e)](_0x4d6510))return this[_0x53cc59(0x36b)](),this['_injector']['createInstance'](exports[_0x53cc59(0x260)],this[_0x53cc59(0x270)],this[_0x53cc59(0x1f5)],null,this[_0x53cc59(0x25b)],null,[_0x4d6510],this['_handler']);try{const _0x4fccbb=this[_0x53cc59(0x471)][_0x53cc59(0x232)](_0x4d6510,this['_pendingMutations']);if(p[_0x53cc59(0x3e1)](_0x4fccbb)){const {c1Prime:_0x5a9e1e,m2Prime:_0x141e6d}=_0x4fccbb;this[_0x53cc59(0x561)](_0x5a9e1e);const _0x225883=this['_injector'][_0x53cc59(0x21f)](exports[_0x53cc59(0x248)],this[_0x53cc59(0x270)],this[_0x53cc59(0x1f5)],_0x141e6d,this[_0x53cc59(0x379)]);this[_0x53cc59(0x36b)]();const _0x1a1e27=new Date()[_0x53cc59(0x3cd)](),_0x216550=this[_0x53cc59(0x523)]?Math[_0x53cc59(0x289)](this[_0x53cc59(0x523)]-_0x1a1e27,0x0):this[_0x53cc59(0x24c)]();return _0x225883[_0x53cc59(0x486)](_0x216550),_0x225883;}throw _0x4fccbb[_0x53cc59(0x373)];}catch(_0x10cfd9){return this[_0x53cc59(0x346)]['error'](_0x10cfd9),this[_0x53cc59(0x3f5)](!0x1);}}[_0x38cf52(0x3b9)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x5806a6=_0x38cf52;throw new Error(_0x5806a6(0x249));}[_0x38cf52(0x3bd)](){return this;}[_0x38cf52(0x315)](){var _0x263396=_0x38cf52;return this[_0x263396(0x36b)](),this[_0x263396(0x45a)][_0x263396(0x21f)](exports[_0x263396(0x327)],this['unitID'],this['type'],null,this[_0x263396(0x25b)],this[_0x263396(0x379)]);}[_0x38cf52(0x271)](){return this;}[_0x38cf52(0x486)](_0x3bc551){var _0x1fd495=_0x38cf52;const _0x3c2c84=_0x3bc551!=null?_0x3bc551:this[_0x1fd495(0x24c)]();this[_0x1fd495(0x523)]=new Date()[_0x1fd495(0x3cd)]()+_0x3c2c84,this[_0x1fd495(0x57b)]=setTimeout(()=>{var _0x342018=_0x1fd495;this['_clearScheduledTask']();let _0x1bf4dc=null;switch(this[_0x342018(0x1f5)]){case J['UNIVER_SHEET']:{_0x1bf4dc=Ge(this[_0x342018(0x25b)],this[_0x342018(0x270)],this[_0x342018(0x4fb)],this[_0x342018(0x4e1)],this['_memberService']);break;}case J[_0x342018(0x2d7)]:{this['_pendingMutations'][_0x342018(0x366)](_0x1a4c12=>_0x1a4c12['id']===ht[_0x342018(0x1fd)]['id'])?_0x1bf4dc=li(this[_0x342018(0x25b)],this[_0x342018(0x270)],this[_0x342018(0x4fb)],this[_0x342018(0x4e1)],this[_0x342018(0x2e8)]):_0x1bf4dc=Ge(this[_0x342018(0x25b)],this['unitID'],this[_0x342018(0x4fb)],this[_0x342018(0x4e1)],this[_0x342018(0x2e8)]);break;}default:throw new Error(_0x342018(0x421)+this[_0x342018(0x1f5)]+'\x20in\x20_schedule.');}const {changeset:_0x25564a,pendingMutations:_0x1509dd}=_0x1bf4dc;this[_0x342018(0x379)][_0x342018(0x4c2)](_0x25564a);const _0x2fb24c=_0x1509dd['length']?this[_0x342018(0x45a)]['createInstance'](exports[_0x342018(0x3ad)],this[_0x342018(0x270)],this[_0x342018(0x1f5)],_0x25564a,_0x1509dd,this[_0x342018(0x379)],void 0x0):this[_0x342018(0x45a)][_0x342018(0x21f)](exports[_0x342018(0x2fb)],this[_0x342018(0x270)],this['type'],_0x25564a,this[_0x342018(0x379)]);_0x2fb24c['_updateLocalCache'](),this['_handler'][_0x342018(0x361)](this,_0x2fb24c);},_0x3c2c84);}[_0x38cf52(0x24c)](){var _0x59a3e6=_0x38cf52,_0x32bb74;const _0x1d3685=this[_0x59a3e6(0x515)][_0x59a3e6(0x2be)](G);return(_0x32bb74=_0x1d3685==null?void 0x0:_0x1d3685[_0x59a3e6(0x3be)])!=null?_0x32bb74:xt;}['resend'](){var _0x4c9a47=_0x38cf52;throw new Error(_0x4c9a47(0x576));}['_clearScheduledTask'](){var _0x3f3eeb=_0x38cf52;this['_sendingTimer']!=null&&(clearTimeout(this[_0x3f3eeb(0x57b)]),this[_0x3f3eeb(0x57b)]=null);}[_0x38cf52(0x3f5)](_0x467d91){var _0xaba282=_0x38cf52;return this[_0xaba282(0x36b)](),this[_0xaba282(0x45a)][_0xaba282(0x21f)](exports[_0xaba282(0x38b)],this[_0xaba282(0x270)],this[_0xaba282(0x1f5)],null,this['_pendingMutations'],this['_handler'],_0x467d91);}},exports[_0x38cf52(0x248)]=ae([L(0x4,a['Inject'](a[_0x38cf52(0x23e)])),L(0x5,a[_0x38cf52(0x54a)](p['RevisionService'])),L(0x6,a['Inject'](exports[_0x38cf52(0x442)])),L(0x7,a[_0x38cf52(0x20c)]),L(0x8,a['ICommandService']),L(0x9,a[_0x38cf52(0x230)]),L(0xa,p[_0x38cf52(0x293)]),L(0xb,a[_0x38cf52(0x23f)]),L(0xc,a['IUndoRedoService']),L(0xd,a['Optional'](q))],exports[_0x38cf52(0x248)]),exports[_0x38cf52(0x2fb)]=class extends ce{constructor(_0x5ca47b,_0x13b5c4,_0x5e02f4,_0x56e1ec,_0x5ebb8c,_0x298564,_0x1109e4,_0x13602f,_0x235203,_0x51f317,_0x56bcf9){var _0x1739e9=_0x38cf52;super(_0x5ca47b,_0x13b5c4,_0x5e02f4,[],_0x56e1ec,_0x1109e4,_0x51f317,_0x298564,_0x56bcf9),A(this,_0x1739e9(0x381),_0x1739e9(0x4a3)),A(this,_0x1739e9(0x528),0x0),A(this,_0x1739e9(0x1fc)),A(this,_0x1739e9(0x2cf)),(this[_0x1739e9(0x45a)]=_0x5ebb8c,this[_0x1739e9(0x346)]=_0x13602f,this[_0x1739e9(0x471)]=_0x235203);}['appendMutation'](_0x48d8b2){var _0x3762fd=_0x38cf52;this['_clearScheduledTask']();const _0x2a2609=this['_injector'][_0x3762fd(0x21f)](exports['AwaitingWithPendingState'],this[_0x3762fd(0x270)],this['type'],this['_awaitingChangeset'],[_0x48d8b2],this[_0x3762fd(0x379)],this[_0x3762fd(0x1fc)]);return _0x2a2609[_0x3762fd(0x3d7)](),_0x2a2609;}['onRemoteChangeset'](_0xdab7d6){var _0x54186b=_0x38cf52;if(this[_0x54186b(0x34e)](_0xdab7d6))return this[_0x54186b(0x36b)](),this['_injector'][_0x54186b(0x21f)](exports[_0x54186b(0x260)],this[_0x54186b(0x270)],this[_0x54186b(0x1f5)],this[_0x54186b(0x46c)],[],null,[_0xdab7d6],this[_0x54186b(0x379)]);try{const _0x17d7b2=this[_0x54186b(0x471)][_0x54186b(0x385)]([_0xdab7d6],[this[_0x54186b(0x46c)]],!0x1);if(p[_0x54186b(0x2c8)](_0x17d7b2)){const {c1Prime:_0x59e8cf,c2Prime:_0x1c9ee6}=_0x17d7b2;this[_0x54186b(0x561)](_0x59e8cf[0x0]),_0x1c9ee6[0x0][_0x54186b(0x267)]=this[_0x54186b(0x45e)](),this[_0x54186b(0x36b)]();const _0x374457=this['_injector'][_0x54186b(0x21f)](exports[_0x54186b(0x2fb)],this[_0x54186b(0x270)],this[_0x54186b(0x1f5)],_0x1c9ee6[0x0],this[_0x54186b(0x379)]);return _0x374457[_0x54186b(0x3d7)](),_0x374457;}return this[_0x54186b(0x3f5)](!0x1);}catch(_0x33fdfa){return this['_logService'][_0x54186b(0x373)](_0x33fdfa),this[_0x54186b(0x3f5)](!0x1);}}[_0x38cf52(0x3b9)](_0x2b9aac){var _0xd443b6=_0x38cf52;this['_clearScheduledTask']();const _0x51b447=this[_0xd443b6(0x4e1)][_0xd443b6(0x2c0)](this[_0xd443b6(0x270)]);if(_0x2b9aac[_0xd443b6(0x301)]<_0x51b447-0x1)return this;if(this['_checkMissing'](_0x2b9aac))return this[_0xd443b6(0x45a)][_0xd443b6(0x21f)](exports[_0xd443b6(0x260)],this[_0xd443b6(0x270)],this[_0xd443b6(0x1f5)],null,[],this[_0xd443b6(0x46c)],[],this[_0xd443b6(0x379)]);this[_0xd443b6(0x4f3)]();const _0x271b4f=this[_0xd443b6(0x45a)][_0xd443b6(0x21f)](exports[_0xd443b6(0x49d)],this['unitID'],this[_0xd443b6(0x1f5)],this[_0xd443b6(0x379)]);return _0x271b4f[_0xd443b6(0x3d7)](),_0x271b4f;}['onRemoteRej'](_0x29882a){var _0x555001=_0x38cf52;return this[_0x555001(0x3f5)](!!(_0x29882a!=null&&_0x29882a[_0x555001(0x43a)]));}[_0x38cf52(0x3bd)](_0x15ba04){var _0x1bf543=_0x38cf52;return this[_0x1bf543(0x528)]>Rt?this[_0x1bf543(0x315)]():(this[_0x1bf543(0x1fc)]=bt(this[_0x1bf543(0x528)],{'timeout':this[_0x1bf543(0x528)],'reqId':_0x15ba04[_0x1bf543(0x470)]}),this[_0x1bf543(0x2cf)]=this[_0x1bf543(0x1fc)][_0x1bf543(0x36f)](({reqId:_0x297a1a,timeout:_0x59e84b})=>{var _0x2e6a87=_0x1bf543;this[_0x2e6a87(0x572)](_0x297a1a,_0x59e84b);}),this);}['toggleOffline'](){var _0x19b850=_0x38cf52;return this[_0x19b850(0x36b)](),this[_0x19b850(0x45a)][_0x19b850(0x21f)](exports[_0x19b850(0x327)],this['unitID'],this['type'],this[_0x19b850(0x46c)],[],this[_0x19b850(0x379)]);}['toggleOnline'](){return this;}[_0x38cf52(0x30b)](){var _0x4c6182=_0x38cf52;this[_0x4c6182(0x379)][_0x4c6182(0x4c2)](this[_0x4c6182(0x46c)]);}[_0x38cf52(0x3f5)](_0x4232db){var _0xb6656c=_0x38cf52;return this[_0xb6656c(0x36b)](),this[_0xb6656c(0x45a)]['createInstance'](exports['ConflictState'],this[_0xb6656c(0x270)],this[_0xb6656c(0x1f5)],this['_awaitingChangeset'],[],this[_0xb6656c(0x379)],_0x4232db);}[_0x38cf52(0x572)](_0x51e614,_0x1f6bb3){var _0x191315=_0x38cf52,_0x13beb7;_0x51e614===((_0x13beb7=this[_0x191315(0x46c)])==null?void 0x0:_0x13beb7[_0x191315(0x470)])&&(this[_0x191315(0x30b)](),this[_0x191315(0x528)]=_0x1f6bb3===0x0?0x3e8:_0x1f6bb3*0x2);}['_clearScheduledTask'](){var _0x48b1a8=_0x38cf52,_0x59d477;(_0x59d477=this['_sender'])==null||_0x59d477[_0x48b1a8(0x362)](),this[_0x48b1a8(0x528)]=0x0;}},exports[_0x38cf52(0x2fb)]=ae([L(0x4,a[_0x38cf52(0x54a)](a[_0x38cf52(0x23e)])),L(0x5,a[_0x38cf52(0x54a)](p[_0x38cf52(0x3aa)])),L(0x6,a['ICommandService']),L(0x7,a[_0x38cf52(0x20c)]),L(0x8,p['ITransformService']),L(0x9,a[_0x38cf52(0x430)]),L(0xa,a['Optional'](q))],exports[_0x38cf52(0x2fb)]),exports[_0x38cf52(0x3ad)]=class extends ce{constructor(_0x3e8a60,_0x398ded,_0x395653,_0x5ce922,_0x29a4b9,_0x180d70,_0x127947,_0x558deb,_0x5f2b6b,_0x7b9c47,_0x5150f8,_0x57c3e7,_0x32e282){var _0x590299=_0x38cf52;super(_0x3e8a60,_0x398ded,_0x395653,_0x5ce922,_0x29a4b9,_0x5f2b6b,_0x57c3e7,_0x558deb,_0x32e282),A(this,_0x590299(0x381),_0x590299(0x510)),A(this,_0x590299(0x528),0x0),A(this,'_resendTimer'),A(this,_0x590299(0x2cf)),(this[_0x590299(0x45a)]=_0x127947,this[_0x590299(0x346)]=_0x7b9c47,this['_transformService']=_0x5150f8,this['localCacheService']=_0x32e282,_0x180d70&&(this[_0x590299(0x1fc)]=_0x180d70,this[_0x590299(0x2cf)]=this[_0x590299(0x1fc)][_0x590299(0x36f)](({reqId:_0x39918d,timeout:_0x4b235d})=>{var _0x5709e7=_0x590299;this[_0x5709e7(0x572)](_0x39918d,_0x4b235d);})));}['appendMutation'](_0x25fb54){return this['_pendingMutations']['push'](_0x25fb54),this;}[_0x38cf52(0x477)](_0x55c9fb){var _0x438279=_0x38cf52;if(this[_0x438279(0x34e)](_0x55c9fb))return this[_0x438279(0x36b)](),this['_injector']['createInstance'](exports['FetchingMissState'],this['unitID'],this[_0x438279(0x1f5)],this['_awaitingChangeset'],this[_0x438279(0x25b)],null,[_0x55c9fb],this[_0x438279(0x379)]);try{const _0x514ab6=this[_0x438279(0x471)]['transformChangesets']([_0x55c9fb],[this[_0x438279(0x46c)]],!0x1);if(p[_0x438279(0x2c8)](_0x514ab6)){const {c1Prime:_0x24b4a5,c2Prime:_0x227ddf}=_0x514ab6,_0x5785f2=this[_0x438279(0x471)][_0x438279(0x232)](_0x24b4a5[0x0],this[_0x438279(0x25b)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x5785f2)){const {c1Prime:_0x1238ef,m2Prime:_0xa26fb0}=_0x5785f2;return this[_0x438279(0x561)](_0x1238ef),_0x227ddf[0x0][_0x438279(0x267)]=this[_0x438279(0x45e)](),this['_clearScheduledTask'](),this[_0x438279(0x45a)][_0x438279(0x21f)](exports[_0x438279(0x3ad)],this[_0x438279(0x270)],this['type'],_0x227ddf[0x0],_0xa26fb0,this['_handler'],void 0x0);}throw _0x5785f2['error'];}throw _0x514ab6['error'];}catch(_0x326de8){return this[_0x438279(0x346)]['error'](_0x326de8),this[_0x438279(0x3f5)](!0x1);}}[_0x38cf52(0x3b9)](_0x3bd7db){var _0x5dca93=_0x38cf52;if(this[_0x5dca93(0x36b)](),this[_0x5dca93(0x34e)](_0x3bd7db))return this[_0x5dca93(0x45a)]['createInstance'](exports['FetchingMissState'],this['unitID'],this[_0x5dca93(0x1f5)],null,this[_0x5dca93(0x25b)],this[_0x5dca93(0x46c)],[],this[_0x5dca93(0x379)]);this[_0x5dca93(0x4f3)]();const _0x2ab7cc=this['_injector'][_0x5dca93(0x21f)](exports[_0x5dca93(0x248)],this[_0x5dca93(0x270)],this[_0x5dca93(0x1f5)],this[_0x5dca93(0x25b)],this[_0x5dca93(0x379)]);return _0x2ab7cc['_schedule'](),_0x2ab7cc['_updateLocalCache'](),_0x2ab7cc;}[_0x38cf52(0x29e)](_0x2d5df7){var _0x281e4b=_0x38cf52;return this[_0x281e4b(0x3f5)](!!(_0x2d5df7!=null&&_0x2d5df7[_0x281e4b(0x43a)]));}['onRemoteRetry'](_0x1b9729){var _0x820441=_0x38cf52;return this[_0x820441(0x528)]>Rt?this['toggleOffline']():(this[_0x820441(0x1fc)]=bt(this['_resendTimeout'],{'timeout':this[_0x820441(0x528)],'reqId':_0x1b9729['reqId']}),this[_0x820441(0x2cf)]=this[_0x820441(0x1fc)]['subscribe'](({reqId:_0x52c55d,timeout:_0xc3040e})=>{this['_resendWithTimeout'](_0x52c55d,_0xc3040e);}),this);}[_0x38cf52(0x315)](){var _0x20c7e1=_0x38cf52;return this[_0x20c7e1(0x36b)](),this[_0x20c7e1(0x45a)][_0x20c7e1(0x21f)](exports[_0x20c7e1(0x327)],this['unitID'],this[_0x20c7e1(0x1f5)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x20c7e1(0x379)]);}[_0x38cf52(0x271)](){return this;}[_0x38cf52(0x30b)](){var _0x52fd2f=_0x38cf52;this['_handler'][_0x52fd2f(0x4c2)](this['_awaitingChangeset']);}['_onConflict'](_0x1b5175){var _0x427b3c=_0x38cf52;return this[_0x427b3c(0x36b)](),this['_injector'][_0x427b3c(0x21f)](exports[_0x427b3c(0x38b)],this['unitID'],this['type'],null,this[_0x427b3c(0x25b)],this[_0x427b3c(0x379)],_0x1b5175);}[_0x38cf52(0x572)](_0x26e888,_0x3887cf){var _0x377a1f=_0x38cf52,_0x2a2b91;_0x26e888===((_0x2a2b91=this[_0x377a1f(0x46c)])==null?void 0x0:_0x2a2b91['reqId'])&&(this[_0x377a1f(0x30b)](),this[_0x377a1f(0x528)]=_0x3887cf===0x0?0x3e8:_0x3887cf*0x2);}[_0x38cf52(0x36b)](){var _0x3144b9=_0x38cf52,_0x1a3438;(_0x1a3438=this[_0x3144b9(0x2cf)])==null||_0x1a3438[_0x3144b9(0x362)](),this[_0x3144b9(0x528)]=0x0;}},exports[_0x38cf52(0x3ad)]=ae([L(0x6,a[_0x38cf52(0x54a)](a[_0x38cf52(0x23e)])),L(0x7,a['Inject'](p['RevisionService'])),L(0x8,a['ICommandService']),L(0x9,a['ILogService']),L(0xa,p[_0x38cf52(0x293)]),L(0xb,a['IUndoRedoService']),L(0xc,a[_0x38cf52(0x383)](q))],exports['AwaitingWithPendingState']),exports[_0x38cf52(0x38b)]=class extends ce{constructor(_0x399c18,_0x56655e,_0x1b1f6e,_0x26b352,_0xfad310,_0x1aff5a=!0x1,_0x504d4b,_0x465673,_0x3fe5f5,_0x2e650e,_0xa4e1ce,_0x21a3c1,_0x3a27e8){var _0x4ecfb8=_0x38cf52;super(_0x399c18,_0x56655e,_0x1b1f6e,_0x26b352,_0xfad310,_0x465673,_0x3fe5f5,_0x2e650e,_0x3a27e8),A(this,_0x4ecfb8(0x381),'conflict'),(this['_isPermissionRej']=_0x1aff5a,this[_0x4ecfb8(0x530)]=_0x504d4b,this[_0x4ecfb8(0x263)]=_0xa4e1ce,this['_collaborationUIEventService']=_0x21a3c1,this[_0x4ecfb8(0x20f)]=_0x3a27e8,this[_0x4ecfb8(0x403)](),this[_0x4ecfb8(0x251)](),this[_0x4ecfb8(0x216)]());}['appendMutation'](){return this;}[_0x38cf52(0x477)](){return this;}['onRemoteAck'](){return this;}[_0x38cf52(0x29e)](){return this;}[_0x38cf52(0x3bd)](){return this;}[_0x38cf52(0x315)](){return this;}[_0x38cf52(0x271)](){return this;}[_0x38cf52(0x30b)](){var _0x1aeab1=_0x38cf52;throw new Error(_0x1aeab1(0x280));}['_clearLocalCache'](){var _0x3d9920=_0x38cf52,_0x598fa6;(_0x598fa6=this[_0x3d9920(0x4ed)])==null||_0x598fa6['updateOfflineData'](this['unitID'],this['type'],null,[]);}[_0x38cf52(0x403)](){var _0x533a65=_0x38cf52;this[_0x533a65(0x478)]?this[_0x533a65(0x446)][_0x533a65(0x427)]({'id':Z[_0x533a65(0x462)]}):this[_0x533a65(0x446)][_0x533a65(0x427)]({'id':Z['CONFLICT']});}[_0x38cf52(0x216)](){var _0x357c2c=_0x38cf52;this[_0x357c2c(0x530)][_0x357c2c(0x21c)](new X[(_0x357c2c(0x44a))](this[_0x357c2c(0x270)])['id'],!0x1);}},exports[_0x38cf52(0x38b)]=ae([L(0x6,a[_0x38cf52(0x54a)](a['IPermissionService'])),L(0x7,a[_0x38cf52(0x273)]),L(0x8,a[_0x38cf52(0x430)]),L(0x9,a[_0x38cf52(0x54a)](p[_0x38cf52(0x3aa)])),L(0xa,a[_0x38cf52(0x54a)](a[_0x38cf52(0x4ce)])),L(0xb,a['Inject'](ee)),L(0xc,a[_0x38cf52(0x383)](q))],exports[_0x38cf52(0x38b)]),exports[_0x38cf52(0x327)]=class extends ce{constructor(_0x15ff30,_0x528997,_0x4b9b04,_0x1a57db,_0x25f589,_0x311d4c,_0x47e08a,_0x3e2a7d,_0x3db460,_0x55e234){var _0x3c32b7=_0x38cf52;super(_0x15ff30,_0x528997,_0x4b9b04,_0x1a57db,_0x25f589,_0x3e2a7d,_0x3db460,_0x47e08a,_0x55e234),A(this,_0x3c32b7(0x381),_0x3c32b7(0x3cb)),this[_0x3c32b7(0x45a)]=_0x311d4c;}['appendMutation'](_0x1b6271){var _0x4e7cfe=_0x38cf52;return this[_0x4e7cfe(0x25b)]['push'](_0x1b6271),this[_0x4e7cfe(0x3d7)](),this;}[_0x38cf52(0x477)](_0x215dbc){var _0x4fee7f=_0x38cf52;throw new Error(_0x4fee7f(0x258));}[_0x38cf52(0x3b9)](){var _0x440173=_0x38cf52;throw new Error(_0x440173(0x55c));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x38cf52(0x3bd)](){return this;}[_0x38cf52(0x315)](){return this;}[_0x38cf52(0x271)](){var _0x1075f0=_0x38cf52;const {_injector:_0x3e99f6,_pendingMutations:_0x5189f2,_awaitingChangeset:_0x161531,unitID:_0x1827a,_handler:_0x582b53,type:_0x1eb1d0}=this,_0x36e018=Ot(_0x3e99f6,_0x1827a,_0x1eb1d0,_0x161531,_0x5189f2,_0x582b53);return _0x36e018 instanceof exports['PendingState']?_0x36e018[_0x1075f0(0x486)]():(_0x36e018 instanceof exports[_0x1075f0(0x3ad)]||_0x36e018 instanceof exports[_0x1075f0(0x2fb)])&&_0x36e018[_0x1075f0(0x30b)](),_0x36e018;}[_0x38cf52(0x30b)](){var _0x26d52d=_0x38cf52;throw new Error(_0x26d52d(0x35c));}},exports[_0x38cf52(0x327)]=ae([L(0x5,a['Inject'](a[_0x38cf52(0x23e)])),L(0x6,a[_0x38cf52(0x54a)](p[_0x38cf52(0x3aa)])),L(0x7,a['ICommandService']),L(0x8,a['IUndoRedoService']),L(0x9,a[_0x38cf52(0x383)](q))],exports[_0x38cf52(0x327)]),exports[_0x38cf52(0x260)]=class extends ce{constructor(_0x550cf3,_0x176619,_0x2af9e6,_0xfa6903,_0x2ef5c0,_0x1b0e1d,_0x2d1c34,_0x2df7dd,_0xfc13e9,_0x4ffcd9,_0x2b3d79,_0x3e7743,_0x3d5bb3,_0x4567ec){var _0x27afb9=_0x38cf52;super(_0x550cf3,_0x176619,_0x2af9e6,_0xfa6903,_0x2d1c34,_0x2b3d79,_0x3e7743,_0xfc13e9,_0x4567ec),A(this,_0x27afb9(0x381),_0x27afb9(0x3f2)),(this[_0x27afb9(0x50b)]=_0x2ef5c0,this[_0x27afb9(0x404)]=_0x1b0e1d,this[_0x27afb9(0x45a)]=_0x2df7dd,this[_0x27afb9(0x346)]=_0x4ffcd9,this[_0x27afb9(0x471)]=_0x3d5bb3,this[_0x27afb9(0x20f)]=_0x4567ec);}[_0x38cf52(0x272)](_0x42e332){var _0x3e6cb3=_0x38cf52;try{const _0xff4b00=[..._0x42e332,...this[_0x3e6cb3(0x404)]],_0x1f421b=[this[_0x3e6cb3(0x46c)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x4cf57d=>!!_0x4cf57d);let _0xe359b2,_0x3e8c18;if(_0x1f421b[_0x3e6cb3(0x4ea)]){const _0x27bc4c=this[_0x3e6cb3(0x471)][_0x3e6cb3(0x385)](_0xff4b00,_0x1f421b,!0x1);if(!p[_0x3e6cb3(0x2c8)](_0x27bc4c))throw _0x27bc4c[_0x3e6cb3(0x373)];_0xe359b2=_0x27bc4c[_0x3e6cb3(0x389)],_0x3e8c18=_0x27bc4c['c2Prime'];}else _0xe359b2=_0xff4b00,_0x3e8c18=[];let _0x3b1cbd=this[_0x3e6cb3(0x25b)];_0xe359b2[_0x3e6cb3(0x49c)](_0x16c109=>{var _0xd96cc5=_0x3e6cb3;let _0x3e8637;if(_0x3b1cbd[_0xd96cc5(0x4ea)]){const _0x52b533=this[_0xd96cc5(0x471)][_0xd96cc5(0x232)](_0x16c109,_0x3b1cbd);if(!p[_0xd96cc5(0x3e1)](_0x52b533))throw _0x52b533[_0xd96cc5(0x373)];_0x3e8637=_0x52b533[_0xd96cc5(0x389)],_0x3b1cbd=_0x52b533[_0xd96cc5(0x29a)];}else _0x3e8637=_0x16c109;this[_0xd96cc5(0x561)](_0x3e8637);}),this[_0x3e6cb3(0x50b)]&&this[_0x3e6cb3(0x4f3)](),this[_0x3e6cb3(0x46c)]&&_0x3e8c18[_0x3e6cb3(0x4ea)]&&(_0x3e8c18[0x0][_0x3e6cb3(0x267)]=this[_0x3e6cb3(0x45e)]());let _0x22e45c;if(this['_awaitingChangeset']&&_0x3b1cbd[_0x3e6cb3(0x4ea)]!==0x0)_0x22e45c=this[_0x3e6cb3(0x45a)]['createInstance'](exports['AwaitingWithPendingState'],this[_0x3e6cb3(0x270)],this[_0x3e6cb3(0x1f5)],_0x3e8c18[0x0],_0x3b1cbd,this['_handler'],void 0x0);else{if(this[_0x3e6cb3(0x46c)]&&_0x3b1cbd['length']===0x0)_0x3e8c18[0x0][_0x3e6cb3(0x267)]=this[_0x3e6cb3(0x45e)](),_0x22e45c=this[_0x3e6cb3(0x45a)][_0x3e6cb3(0x21f)](exports[_0x3e6cb3(0x2fb)],this[_0x3e6cb3(0x270)],this[_0x3e6cb3(0x1f5)],_0x3e8c18[0x0],this[_0x3e6cb3(0x379)]);else{if(_0x3b1cbd[_0x3e6cb3(0x4ea)]!==0x0){const _0x2e5ff2=this[_0x3e6cb3(0x45a)][_0x3e6cb3(0x21f)](exports[_0x3e6cb3(0x248)],this[_0x3e6cb3(0x270)],this[_0x3e6cb3(0x1f5)],_0x3b1cbd,this['_handler']);_0x2e5ff2['_schedule'](),_0x22e45c=_0x2e5ff2;}else _0x22e45c=this[_0x3e6cb3(0x45a)][_0x3e6cb3(0x21f)](exports[_0x3e6cb3(0x49d)],this['unitID'],this[_0x3e6cb3(0x1f5)],this[_0x3e6cb3(0x379)]);}}return _0x22e45c[_0x3e6cb3(0x3d7)](),_0x22e45c;}catch(_0x4778b6){return this[_0x3e6cb3(0x346)]['error'](_0x3e6cb3(0x4e9),'failed\x20to\x20apply\x20missed\x20changesets!',_0x4778b6),this[_0x3e6cb3(0x45a)][_0x3e6cb3(0x21f)](exports[_0x3e6cb3(0x38b)],this['unitID'],this['type'],this[_0x3e6cb3(0x46c)],this[_0x3e6cb3(0x25b)],this[_0x3e6cb3(0x379)],!0x1);}}[_0x38cf52(0x30b)](){var _0x17e790=_0x38cf52;throw new Error(_0x17e790(0x536));}[_0x38cf52(0x458)](_0x494c2d){var _0x2db629=_0x38cf52;return this[_0x2db629(0x25b)][_0x2db629(0x398)](_0x494c2d),this;}['onRemoteChangeset'](_0x134a2b){var _0x23ca7a=_0x38cf52;return this[_0x23ca7a(0x404)][_0x23ca7a(0x398)](_0x134a2b),this;}[_0x38cf52(0x3b9)](_0x513f83){var _0x190d53=_0x38cf52;if(this[_0x190d53(0x46c)])return this['_acknowledgedAwaitingChangeset']=this[_0x190d53(0x46c)],this[_0x190d53(0x46c)]=null,this;throw new Error(_0x190d53(0x3ab));}[_0x38cf52(0x29e)](_0x7691dd){var _0x919816=_0x38cf52;return this[_0x919816(0x3f5)](!!(_0x7691dd!=null&&_0x7691dd['isPermissionRej']));}[_0x38cf52(0x3bd)](){return this;}['toggleOffline'](){var _0x1a590a=_0x38cf52;return this['_injector'][_0x1a590a(0x21f)](exports[_0x1a590a(0x327)],this['unitID'],this[_0x1a590a(0x1f5)],this[_0x1a590a(0x46c)],this[_0x1a590a(0x25b)],this[_0x1a590a(0x379)]);}[_0x38cf52(0x271)](){return this;}[_0x38cf52(0x3f5)](_0x1ee577){var _0x49da5e=_0x38cf52;return this[_0x49da5e(0x45a)]['createInstance'](exports[_0x49da5e(0x38b)],this[_0x49da5e(0x270)],this[_0x49da5e(0x1f5)],this[_0x49da5e(0x46c)],this[_0x49da5e(0x25b)],this['_handler'],_0x1ee577);}},exports[_0x38cf52(0x260)]=ae([L(0x7,a[_0x38cf52(0x54a)](a[_0x38cf52(0x23e)])),L(0x8,a[_0x38cf52(0x54a)](p[_0x38cf52(0x3aa)])),L(0x9,a[_0x38cf52(0x20c)]),L(0xa,a[_0x38cf52(0x273)]),L(0xb,a[_0x38cf52(0x430)]),L(0xc,p[_0x38cf52(0x293)]),L(0xd,a[_0x38cf52(0x383)](q))],exports['FetchingMissState']);function Ot(_0x43a6e2,_0x306873,_0x33a050,_0x415b3b,_0x13c456,_0x2b00a2){var _0x135e90=_0x38cf52;return _0x415b3b&&_0x13c456[_0x135e90(0x4ea)]?_0x43a6e2[_0x135e90(0x21f)](exports[_0x135e90(0x3ad)],_0x306873,_0x33a050,_0x415b3b,_0x13c456,_0x2b00a2,void 0x0):_0x415b3b?_0x43a6e2[_0x135e90(0x21f)](exports[_0x135e90(0x2fb)],_0x306873,_0x33a050,_0x415b3b,_0x2b00a2):_0x13c456[_0x135e90(0x4ea)]?_0x43a6e2[_0x135e90(0x21f)](exports[_0x135e90(0x248)],_0x306873,_0x33a050,_0x13c456,_0x2b00a2):_0x43a6e2[_0x135e90(0x21f)](exports[_0x135e90(0x49d)],_0x306873,_0x33a050,_0x2b00a2);}var vi=Object[_0x38cf52(0x28a)],Fe=(_0x619787,_0x696be1,_0x348460,_0x3da69e)=>{var _0x1160f8=_0x38cf52;for(var _0x48144e=_0x3da69e>0x1?void 0x0:_0x3da69e?vi(_0x696be1,_0x348460):_0x696be1,_0x4b7326=_0x619787[_0x1160f8(0x4ea)]-0x1,_0x21359d;_0x4b7326>=0x0;_0x4b7326--)(_0x21359d=_0x619787[_0x4b7326])&&(_0x48144e=_0x21359d(_0x48144e)||_0x48144e);return _0x48144e;},j=(_0x54d65b,_0x5d6d1d)=>(_0x52e65a,_0x2c6dbb)=>_0x5d6d1d(_0x52e65a,_0x2c6dbb,_0x54d65b);exports[_0x38cf52(0x21a)]=class extends a[_0x38cf52(0x374)]{constructor(_0x2f9ab2,_0xa04c5e,_0x2625d4,_0x50e653,_0x4b5e79,_0x15b2b7,_0x191085,_0x2e47af,_0x3eaf16,_0x5f2bf0,_0x532281,_0x507ea3,_0x26525c){var _0x557072=_0x38cf52;super(),A(this,_0x557072(0x2dc),new $[(_0x557072(0x21e))](null)),A(this,_0x557072(0x28e),this[_0x557072(0x2dc)]['asObservable']()),A(this,_0x557072(0x480)),A(this,_0x557072(0x370),!0x1),A(this,_0x557072(0x3a0),''),A(this,_0x557072(0x304),0x0),A(this,_0x557072(0x3c9),this['state$'][_0x557072(0x516)]($['map'](_0x485bdd=>_0x485bdd?_0x485bdd['status']:Be[_0x557072(0x55e)]),$[_0x557072(0x4d7)](0x1))),A(this,_0x557072(0x3a6),!0x1),A(this,_0x557072(0x4f1),[]),(this['unitID']=_0x2f9ab2,this[_0x557072(0x4d4)]=_0xa04c5e,this[_0x557072(0x407)]=_0x2625d4,this[_0x557072(0x45a)]=_0x50e653,this['_compressMutationService']=_0x4b5e79,this['_localeService']=_0x15b2b7,this['_revisionService']=_0x191085,this[_0x557072(0x45c)]=_0x2e47af,this[_0x557072(0x346)]=_0x3eaf16,this[_0x557072(0x46e)]=_0x5f2bf0,this['_permissionService']=_0x532281,this['_singleActiveUnitService']=_0x507ea3,this[_0x557072(0x4ed)]=_0x26525c);}get[_0x38cf52(0x291)](){return this['_state'];}async[_0x38cf52(0x2b6)](){var _0x96b7e4=_0x38cf52;if(this['state'])throw new Error(_0x96b7e4(0x4b7));await this[_0x96b7e4(0x24e)]();}[_0x38cf52(0x50c)](){var _0x33e817=_0x38cf52;return this[_0x33e817(0x370)]=!0x0,a[_0x33e817(0x27a)](()=>{var _0x157633=_0x33e817;this[_0x157633(0x370)]=!0x1,this[_0x157633(0x224)]();});}[_0x38cf52(0x4cf)](_0x1c77ee){this['_onLocalMutation'](_0x1c77ee);}[_0x38cf52(0x274)](_0x394423){var _0x36ea4a=_0x38cf52;this[_0x36ea4a(0x480)]=_0x394423,this[_0x36ea4a(0x2dc)]['next'](_0x394423);}async[_0x38cf52(0x24e)](){var _0x3b4a4f=_0x38cf52,_0x1698f8;this[_0x3b4a4f(0x274)](await this['_createInitialState']()),this[_0x3b4a4f(0x245)]&&((_0x1698f8=this['_singleActiveUnitService'])==null||_0x1698f8[_0x3b4a4f(0x27e)](this[_0x3b4a4f(0x270)]),this[_0x3b4a4f(0x54c)](this[_0x3b4a4f(0x245)]['getUnitStatus$'](this[_0x3b4a4f(0x270)])[_0x3b4a4f(0x36f)](_0x22f693=>{var _0x242ea6=_0x3b4a4f;this[_0x242ea6(0x346)][_0x242ea6(0x2de)](_0x242ea6(0x1f7),'editing\x20status\x20changed\x20to',_0x22f693),_0x22f693===je[_0x242ea6(0x2f2)]?(this[_0x242ea6(0x45c)][_0x242ea6(0x427)]({'id':Z['OTHER_CLIENT_EDITING']}),this[_0x242ea6(0x530)][_0x242ea6(0x21c)](new X[(_0x242ea6(0x44a))](this[_0x242ea6(0x270)])['id'],!0x1),this[_0x242ea6(0x530)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x242ea6(0x21c)](new X[(_0x242ea6(0x44a))](this[_0x242ea6(0x270)])['id'],!0x0),this[_0x242ea6(0x530)][_0x242ea6(0x49a)](!0x0));})));let _0x1af1c7=!0x1;return this[_0x3b4a4f(0x54c)](this[_0x3b4a4f(0x4d4)][_0x3b4a4f(0x312)][_0x3b4a4f(0x36f)](_0x3f15a8=>{var _0x15fddd=_0x3b4a4f;_0x3f15a8===re['ONLINE']?this[_0x15fddd(0x307)](_0x1af1c7):_0x3f15a8===re[_0x15fddd(0x55e)]&&(_0x1af1c7=!0x0,this[_0x15fddd(0x4be)]());})),this[_0x3b4a4f(0x54c)](this[_0x3b4a4f(0x4d4)][_0x3b4a4f(0x311)][_0x3b4a4f(0x36f)](_0x4ceb46=>{var _0x1db6fd=_0x3b4a4f;try{switch(_0x4ceb46[_0x1db6fd(0x39c)]){case p[_0x1db6fd(0x401)][_0x1db6fd(0x220)]:{this[_0x1db6fd(0x4d6)](p['parseProtocolChangeset'](_0x4ceb46[_0x1db6fd(0x3bc)]));break;}case p['CollaborationEvent'][_0x1db6fd(0x303)]:{this['_onRemoteACK'](_0x4ceb46[_0x1db6fd(0x3bc)]);break;}case p['CollaborationEvent'][_0x1db6fd(0x221)]:{this[_0x1db6fd(0x25e)]();break;}case p[_0x1db6fd(0x401)]['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x4ceb46[_0x1db6fd(0x3bc)]);break;}case p[_0x1db6fd(0x401)][_0x1db6fd(0x228)]:{this[_0x1db6fd(0x4dd)](_0x4ceb46[_0x1db6fd(0x3bc)][_0x1db6fd(0x4f2)][_0x1db6fd(0x475)](_0x1bc1c9=>p[_0x1db6fd(0x33c)](_0x1bc1c9)));break;}case p[_0x1db6fd(0x401)][_0x1db6fd(0x504)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case p[_0x1db6fd(0x401)][_0x1db6fd(0x3f6)]:break;}}catch(_0x1eca8e){throw console[_0x1db6fd(0x373)](_0x1db6fd(0x410),_0x1eca8e),_0x1eca8e;}})),this['_state'];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x38cf52(0x219)](){if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}[_0x38cf52(0x4e0)](_0x4c45e1){var _0x1477bf=_0x38cf52;this[_0x1477bf(0x219)](),this[_0x1477bf(0x274)](this[_0x1477bf(0x480)][_0x1477bf(0x458)](_0x4c45e1)),this[_0x1477bf(0x31b)]();}['_onRemoteChangeset'](_0xa08ca9){var _0x37f2e9=_0x38cf52;if(!(_0xa08ca9['revision']<=this['_revisionService'][_0x37f2e9(0x2c0)](this['unitID']))){if(this[_0x37f2e9(0x370)]){this[_0x37f2e9(0x4f1)][_0x37f2e9(0x398)](_0xa08ca9);return;}this[_0x37f2e9(0x35d)](_0xa08ca9);}}[_0x38cf52(0x224)](){var _0x2ffb62=_0x38cf52;this['_remoteChangesetQueue'][_0x2ffb62(0x49c)](_0x1ef55f=>this[_0x2ffb62(0x35d)](_0x1ef55f)),this[_0x2ffb62(0x4f1)]=[];}['_applyRemoteChangeset'](_0x306121){var _0x341f54=_0x38cf52;const _0x5dd3ec=this[_0x341f54(0x335)]['interceptor'][_0x341f54(0x419)](this[_0x341f54(0x335)][_0x341f54(0x29f)][_0x341f54(0x4b3)]()[_0x341f54(0x549)])(_0x306121['mutations'],null)||_0x306121['mutations'],_0x5b7299={..._0x306121,'mutations':_0x5dd3ec};this[_0x341f54(0x219)](),this[_0x341f54(0x274)](this[_0x341f54(0x480)][_0x341f54(0x477)](_0x5b7299)),this[_0x341f54(0x31b)]();}[_0x38cf52(0x4d8)](_0x30b2d9){var _0x3a9606=_0x38cf52;this[_0x3a9606(0x219)](),this[_0x3a9606(0x274)](this[_0x3a9606(0x480)][_0x3a9606(0x3b9)](_0x30b2d9)),this['_unlockTransition']();}[_0x38cf52(0x25e)](_0x264acb){var _0x25ac58=_0x38cf52;this[_0x25ac58(0x219)](),this[_0x25ac58(0x274)](this[_0x25ac58(0x480)]['onRemoteRej'](_0x264acb)),this[_0x25ac58(0x31b)]();}[_0x38cf52(0x2ba)](_0x24b6e2){var _0x460eca=_0x38cf52;this[_0x460eca(0x219)](),this[_0x460eca(0x274)](this['_state']['onRemoteRetry'](_0x24b6e2)),this[_0x460eca(0x31b)]();}['_onFetchMissResult'](_0x4046be){var _0x21b4af=_0x38cf52;if(!(this[_0x21b4af(0x480)]instanceof exports[_0x21b4af(0x260)]))throw new TypeError(_0x21b4af(0x4a4));const _0x254bae=_0x4046be[_0x21b4af(0x475)](_0x13a063=>{var _0x243c97=_0x21b4af;const _0x2ad5dc=this[_0x243c97(0x335)][_0x243c97(0x29f)][_0x243c97(0x419)](this[_0x243c97(0x335)][_0x243c97(0x29f)][_0x243c97(0x4b3)]()[_0x243c97(0x549)])(_0x13a063[_0x243c97(0x233)],null)||_0x13a063[_0x243c97(0x233)];return{..._0x13a063,'mutations':_0x2ad5dc};});this[_0x21b4af(0x219)](),this[_0x21b4af(0x274)](this[_0x21b4af(0x480)][_0x21b4af(0x272)](_0x254bae)),this[_0x21b4af(0x31b)]();}['_toggleOffline'](){var _0x375b39=_0x38cf52;this['_lockTransition'](),this['_updateState'](this[_0x375b39(0x480)][_0x375b39(0x315)]()),this[_0x375b39(0x31b)]();}[_0x38cf52(0x307)](_0x3f73ad=!0x1){var _0x3d814b=_0x38cf52;this['_lockTransition'](),this[_0x3d814b(0x274)](this[_0x3d814b(0x480)][_0x3d814b(0x271)]()),this['_unlockTransition']();const _0x43f654=this['_state'];_0x3f73ad&&_0x43f654 instanceof exports[_0x3d814b(0x49d)]&&(this[_0x3d814b(0x219)](),this[_0x3d814b(0x274)](_0x43f654[_0x3d814b(0x451)]()),this[_0x3d814b(0x31b)]());}async[_0x38cf52(0x2f4)](){return new Promise(_0x1928ee=>{var _0x4d29f9=_0x20ff;this[_0x4d29f9(0x4d4)][_0x4d29f9(0x312)]['pipe']($[_0x4d29f9(0x2db)](0x1))[_0x4d29f9(0x36f)](async _0x1f1f95=>{var _0xc01c61=_0x4d29f9;_0x1928ee(await this[_0xc01c61(0x565)](_0x1f1f95===re[_0xc01c61(0x464)]));});});}[_0x38cf52(0x1ff)](){var _0x5f2d11=_0x38cf52;const _0x3e452b=this[_0x5f2d11(0x270)];return{'onStateChange':(_0xfbbcce,_0x103b0f)=>{var _0x4ebc17=_0x5f2d11;if(_0xfbbcce!==this['_state'])throw new Error(_0x4ebc17(0x408)+_0xfbbcce[_0x4ebc17(0x381)]+_0x4ebc17(0x38c)+_0x103b0f['status']+_0x4ebc17(0x2a0)+this[_0x4ebc17(0x480)]['status']);this['_updateState'](_0x103b0f);},'onSendChangeset':_0x24b101=>{var _0x59a008=_0x5f2d11;_0x24b101[_0x59a008(0x47e)]||(_0x24b101[_0x59a008(0x47e)]=this[_0x59a008(0x3a0)],_0x24b101[_0x59a008(0x470)]=++this[_0x59a008(0x304)]);const _0x481869={'eventID':p[_0x59a008(0x401)][_0x59a008(0x318)],'data':{'unitID':_0x24b101[_0x59a008(0x270)],'unitType':this[_0x59a008(0x407)],'changeset':_0x24b101,'memberID':this[_0x59a008(0x4d4)][_0x59a008(0x1fe)]()}};this['session'][_0x59a008(0x261)](_0x481869,this[_0x59a008(0x270)]);},'onMissingChangesets':({from:_0x362700,to:_0x137ae3})=>{var _0x249eeb=_0x5f2d11;this[_0x249eeb(0x346)][_0x249eeb(0x2de)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x362700+_0x249eeb(0x283)+_0x137ae3);const _0x3f12c3={'eventID':p[_0x249eeb(0x401)][_0x249eeb(0x337)],'data':{'unitID':_0x3e452b,'unitType':this[_0x249eeb(0x407)],'from':_0x362700,'to':_0x137ae3}};this['session']['send'](_0x3f12c3,this[_0x249eeb(0x270)]);}};}async[_0x38cf52(0x565)](_0x31b46f){var _0x2abf71=_0x38cf52,_0x40a0fb,_0x273404,_0x5dc854;const _0x35c549=await((_0x40a0fb=this[_0x2abf71(0x4ed)])==null?void 0x0:_0x40a0fb[_0x2abf71(0x259)](this[_0x2abf71(0x270)])),_0x769f91=(_0x273404=_0x35c549==null?void 0x0:_0x35c549[_0x2abf71(0x233)])!=null?_0x273404:[],_0x2bdce9=(_0x5dc854=_0x35c549==null?void 0x0:_0x35c549[_0x2abf71(0x564)])!=null?_0x5dc854:null,_0x1da179=!!(_0x2bdce9!=null&&_0x2bdce9[_0x2abf71(0x47e)])&&!!(_0x2bdce9!=null&&_0x2bdce9[_0x2abf71(0x470)]);this['_changesetSessionId']=_0x1da179?_0x2bdce9[_0x2abf71(0x47e)]:p[_0x2abf71(0x299)](),this[_0x2abf71(0x304)]=_0x1da179?_0x2bdce9[_0x2abf71(0x470)]:0x0;const _0x32669e=this['unitID'];try{this[_0x2abf71(0x40b)](_0x2bdce9,_0x769f91);}catch(_0x1488cc){this[_0x2abf71(0x346)]['error'](_0x1488cc);}const _0x6602a=this[_0x2abf71(0x1ff)]();if(_0x31b46f){const _0x4c5ff2=Ot(this['_injector'],_0x32669e,this['_type'],_0x2bdce9,_0x769f91,_0x6602a);return _0x4c5ff2 instanceof exports[_0x2abf71(0x248)]?_0x4c5ff2[_0x2abf71(0x486)]():(_0x4c5ff2 instanceof exports['AwaitingWithPendingState']||_0x4c5ff2 instanceof exports[_0x2abf71(0x2fb)])&&_0x4c5ff2['resend'](),_0x4c5ff2;}return this[_0x2abf71(0x45a)][_0x2abf71(0x21f)](exports['OfflineState'],_0x32669e,this[_0x2abf71(0x407)],_0x2bdce9,_0x769f91,_0x6602a);}[_0x38cf52(0x40b)](_0x36706a,_0x323135){var _0xd0622c=_0x38cf52,_0x2dc7e5,_0x10a6c3;const _0x123351=this[_0xd0622c(0x335)][_0xd0622c(0x29f)][_0xd0622c(0x419)](this['_compressMutationService']['interceptor'][_0xd0622c(0x4b3)]()[_0xd0622c(0x549)]);(_0x2dc7e5=_0x123351((_0x36706a==null?void 0x0:_0x36706a[_0xd0622c(0x233)])||[],null))==null||_0x2dc7e5['forEach'](_0x208c2b=>this[_0xd0622c(0x46e)][_0xd0622c(0x418)](_0x208c2b['id'],_0x208c2b[_0xd0622c(0x501)])),(_0x10a6c3=_0x123351(_0x323135||[],null))==null||_0x10a6c3[_0xd0622c(0x49c)](_0x47704b=>this[_0xd0622c(0x46e)][_0xd0622c(0x418)](_0x47704b['id'],_0x47704b['params']));}},exports[_0x38cf52(0x21a)]=Fe([j(0x3,a[_0x38cf52(0x54a)](a[_0x38cf52(0x23e)])),j(0x4,a[_0x38cf52(0x54a)](p['CompressMutationService'])),j(0x5,a[_0x38cf52(0x54a)](a[_0x38cf52(0x4ce)])),j(0x6,a[_0x38cf52(0x54a)](p[_0x38cf52(0x3aa)])),j(0x7,a[_0x38cf52(0x54a)](ee)),j(0x8,a[_0x38cf52(0x20c)]),j(0x9,a['ICommandService']),j(0xa,a['IPermissionService']),j(0xb,a[_0x38cf52(0x383)](de)),j(0xc,a['Optional'](q))],exports[_0x38cf52(0x21a)]),exports['DocCollaborationEntity']=class extends exports[_0x38cf52(0x21a)]{constructor(_0xf5fe22,_0x3f7b7f,_0x4545a8,_0x469eac,_0x3eac05,_0x581e6e,_0x16726b,_0x2df6cd,_0x1a4f63,_0x49f190,_0x99f41,_0x566e21,_0x849d44){var _0x314e79=_0x38cf52;super(_0xf5fe22,_0x4545a8,_0x3f7b7f,_0x469eac,_0x3eac05,_0x581e6e,_0x16726b,_0x2df6cd,_0x1a4f63,_0x49f190,_0x99f41,_0x566e21,_0x849d44),A(this,'_handlerCallback',null),(this['unitID']=_0xf5fe22,this[_0x314e79(0x1f5)]=_0x3f7b7f);}['addHandlerCallback'](_0x170054){var _0x36621f=_0x38cf52;this[_0x36621f(0x4a7)]=_0x170054;}[_0x38cf52(0x52d)](){var _0x59200b=_0x38cf52;this['_handlerCallback']=null,super[_0x59200b(0x52d)]();}['_createHandler'](){var _0x9b1886=_0x38cf52;const _0x440107=super[_0x9b1886(0x1ff)]();return _0x440107[_0x9b1886(0x47d)]=_0x126e27=>{var _0x1881bd=_0x9b1886,_0x2b06bf,_0x57da75;return(_0x57da75=(_0x2b06bf=this[_0x1881bd(0x4a7)])==null?void 0x0:_0x2b06bf[_0x1881bd(0x47d)])==null?void 0x0:_0x57da75['call'](_0x2b06bf,_0x126e27);},_0x440107[_0x9b1886(0x461)]=_0x426fcc=>{var _0xb8b38d=_0x9b1886,_0x6c4591,_0xe7fc77;return(_0xe7fc77=(_0x6c4591=this[_0xb8b38d(0x4a7)])==null?void 0x0:_0x6c4591['onTransformState'])==null?void 0x0:_0xe7fc77[_0xb8b38d(0x508)](_0x6c4591,_0x426fcc);},_0x440107[_0x9b1886(0x2e9)]=_0x4c753e=>{var _0x374ff0=_0x9b1886,_0x58f185,_0x35af92;return(_0x35af92=(_0x58f185=this[_0x374ff0(0x4a7)])==null?void 0x0:_0x58f185[_0x374ff0(0x2e9)])==null?void 0x0:_0x35af92[_0x374ff0(0x508)](_0x58f185,_0x4c753e);},_0x440107[_0x9b1886(0x359)]=_0x596d88=>{var _0x29036c=_0x9b1886,_0x1e4e98,_0x4147e4;return(_0x4147e4=(_0x1e4e98=this[_0x29036c(0x4a7)])==null?void 0x0:_0x1e4e98[_0x29036c(0x359)])==null?void 0x0:_0x4147e4[_0x29036c(0x508)](_0x1e4e98,_0x596d88);},_0x440107['onTransformRemoteChangesetByIMECache']=_0x38968d=>{var _0x5ad9cd=_0x9b1886,_0x54db32,_0x24c00e,_0x4d288b;if(!((_0x54db32=this[_0x5ad9cd(0x4a7)])!=null&&_0x54db32[_0x5ad9cd(0x53e)]))throw new Error(_0x5ad9cd(0x4c7));return(_0x4d288b=(_0x24c00e=this['_handlerCallback'])==null?void 0x0:_0x24c00e[_0x5ad9cd(0x53e)])==null?void 0x0:_0x4d288b[_0x5ad9cd(0x508)](_0x24c00e,_0x38968d);},_0x440107['onTransformRemoteChangesetByStateCache']=_0xf47966=>{var _0x44d3a8=_0x9b1886,_0x4c9e66,_0x1c3ec0,_0x3d05bf;if(!((_0x4c9e66=this[_0x44d3a8(0x4a7)])!=null&&_0x4c9e66[_0x44d3a8(0x240)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x3d05bf=(_0x1c3ec0=this['_handlerCallback'])==null?void 0x0:_0x1c3ec0[_0x44d3a8(0x240)])==null?void 0x0:_0x3d05bf[_0x44d3a8(0x508)](_0x1c3ec0,_0xf47966);},_0x440107;}async[_0x38cf52(0x24e)](){var _0xfe5e87=_0x38cf52;const _0x4cd7b2=await super[_0xfe5e87(0x24e)]();return this['disposeWithMe'](this[_0xfe5e87(0x46e)]['onCommandExecuted']((_0x4be5eb,_0x2eb904)=>{var _0x213d01=_0xfe5e87;if(_0x4be5eb[_0x213d01(0x1f5)]!==a[_0x213d01(0x4c1)]['MUTATION']||_0x2eb904!=null&&_0x2eb904[_0x213d01(0x492)]||_0x2eb904!=null&&_0x2eb904['onlyLocal']||_0x4be5eb['id']===ht[_0x213d01(0x1fd)]['id'])return;const _0x2e13f2=_0x4be5eb[_0x213d01(0x501)];if((_0x2e13f2==null?void 0x0:_0x2e13f2['unitId'])!==this[_0x213d01(0x270)])return;const _0x2991c0=_0x4be5eb,_0x33c152=this[_0x213d01(0x335)][_0x213d01(0x29f)][_0x213d01(0x419)](this[_0x213d01(0x335)][_0x213d01(0x29f)][_0x213d01(0x4b3)]()[_0x213d01(0x579)])([_0x2991c0],null)||[_0x2991c0];this[_0x213d01(0x4e0)](_0x33c152[0x0]);})),_0x4cd7b2;}},exports[_0x38cf52(0x3b1)]=Fe([j(0x3,a[_0x38cf52(0x54a)](a[_0x38cf52(0x23e)])),j(0x4,a[_0x38cf52(0x54a)](p[_0x38cf52(0x4f5)])),j(0x5,a['Inject'](a['LocaleService'])),j(0x6,a[_0x38cf52(0x54a)](p[_0x38cf52(0x3aa)])),j(0x7,a[_0x38cf52(0x54a)](ee)),j(0x8,a[_0x38cf52(0x20c)]),j(0x9,a[_0x38cf52(0x273)]),j(0xa,a[_0x38cf52(0x324)]),j(0xb,a[_0x38cf52(0x383)](de)),j(0xc,a[_0x38cf52(0x383)](q))],exports[_0x38cf52(0x3b1)]),exports[_0x38cf52(0x50d)]=class extends exports[_0x38cf52(0x21a)]{constructor(_0x4f7ca3,_0xb68d32,_0x2829b2,_0x15f21e,_0x367ae5,_0x3247c5,_0x2312e4,_0x1bce94,_0x5c3ad7,_0xe6c12f,_0x16cc02,_0x5e397b,_0x2d79d3,_0x5f3d4e){var _0x1a8808=_0x38cf52;super(_0x4f7ca3,_0x2829b2,_0xb68d32,_0x15f21e,_0x367ae5,_0x3247c5,_0x2312e4,_0x5c3ad7,_0xe6c12f,_0x16cc02,_0x5e397b,_0x2d79d3,_0x5f3d4e),this[_0x1a8808(0x270)]=_0x4f7ca3,this['type']=_0xb68d32,this[_0x1a8808(0x3d6)]=_0x1bce94;}[_0x38cf52(0x1ff)](){var _0x39525c=_0x38cf52;const _0x4496a3=super[_0x39525c(0x1ff)]();return _0x4496a3[_0x39525c(0x2e9)]=_0x6cc5f7=>this[_0x39525c(0x3d6)][_0x39525c(0x3e7)](_0x6cc5f7),_0x4496a3;}async[_0x38cf52(0x24e)](){var _0x245978=_0x38cf52;const _0x40f16e=await super[_0x245978(0x24e)]();return this['disposeWithMe'](this['_commandService'][_0x245978(0x21d)]((_0x3f2f35,_0x8b2816)=>{var _0x175e4a=_0x245978;if(_0x3f2f35[_0x175e4a(0x1f5)]!==a[_0x175e4a(0x4c1)][_0x175e4a(0x4ad)]||_0x8b2816!=null&&_0x8b2816['fromCollab']||_0x8b2816!=null&&_0x8b2816[_0x175e4a(0x3e2)])return;const _0x1bd5e5=_0x3f2f35[_0x175e4a(0x501)];if((_0x1bd5e5==null?void 0x0:_0x1bd5e5[_0x175e4a(0x24f)])!==this[_0x175e4a(0x270)])return;const _0x32d33e=_0x3f2f35,_0x49460d=this[_0x175e4a(0x335)][_0x175e4a(0x29f)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x175e4a(0x29f)][_0x175e4a(0x4b3)]()[_0x175e4a(0x579)])([_0x32d33e],null)||[_0x32d33e];this[_0x175e4a(0x4e0)](_0x49460d[0x0]);})),_0x40f16e;}},exports['SheetCollaborationEntity']=Fe([j(0x3,a[_0x38cf52(0x54a)](a[_0x38cf52(0x23e)])),j(0x4,a[_0x38cf52(0x54a)](p[_0x38cf52(0x4f5)])),j(0x5,a[_0x38cf52(0x54a)](a['LocaleService'])),j(0x6,a[_0x38cf52(0x54a)](p[_0x38cf52(0x3aa)])),j(0x7,a[_0x38cf52(0x54a)](exports[_0x38cf52(0x372)])),j(0x8,a[_0x38cf52(0x54a)](ee)),j(0x9,a[_0x38cf52(0x20c)]),j(0xa,a[_0x38cf52(0x273)]),j(0xb,a['IPermissionService']),j(0xc,a['Optional'](de)),j(0xd,a[_0x38cf52(0x383)](q))],exports[_0x38cf52(0x50d)]);var Si=Object[_0x38cf52(0x28a)],fi=(_0x17b104,_0x4b637c,_0x48c7f8,_0x469955)=>{var _0x4a4e5e=_0x38cf52;for(var _0x5983e5=_0x469955>0x1?void 0x0:_0x469955?Si(_0x4b637c,_0x48c7f8):_0x4b637c,_0x2dae52=_0x17b104[_0x4a4e5e(0x4ea)]-0x1,_0x2666a0;_0x2dae52>=0x0;_0x2dae52--)(_0x2666a0=_0x17b104[_0x2dae52])&&(_0x5983e5=_0x2666a0(_0x5983e5)||_0x5983e5);return _0x5983e5;},Se=(_0x2bea4c,_0x56dd93)=>(_0x206fe7,_0x249d86)=>_0x56dd93(_0x206fe7,_0x249d86,_0x2bea4c);exports[_0x38cf52(0x2a9)]=class extends a[_0x38cf52(0x374)]{constructor(_0xbd51a1,_0x3f8bbf,_0x4f83d0,_0x32547e){var _0x352a7a=_0x38cf52,_0x5d6520;super(),A(this,_0x352a7a(0x511),new Map()),A(this,_0x352a7a(0x3c8),new $[(_0x352a7a(0x3ef))]()),A(this,_0x352a7a(0x369),this[_0x352a7a(0x3c8)]['asObservable']()),(this[_0x352a7a(0x45a)]=_0xbd51a1,this[_0x352a7a(0x378)]=_0x3f8bbf,this[_0x352a7a(0x515)]=_0x4f83d0,this['_univerInstanceService']=_0x32547e,((_0x5d6520=this['_configService'][_0x352a7a(0x2be)](G))==null?void 0x0:_0x5d6520[_0x352a7a(0x4d1)])!==!0x1&&this[_0x352a7a(0x24e)]());}[_0x38cf52(0x52d)](){var _0x14f65a=_0x38cf52;super[_0x14f65a(0x52d)](),this[_0x14f65a(0x511)][_0x14f65a(0x49c)](_0x4e0535=>_0x4e0535[_0x14f65a(0x52d)]()),this[_0x14f65a(0x511)][_0x14f65a(0x533)]();}[_0x38cf52(0x41a)](_0x150815){var _0x339fdb=_0x38cf52,_0x2f2e46;return(_0x2f2e46=this['_entities'][_0x339fdb(0x47a)](_0x150815))!=null?_0x2f2e46:null;}[_0x38cf52(0x456)](_0x334a79){var _0x24e888=_0x38cf52;const _0x142957=this[_0x24e888(0x41a)](_0x334a79);return _0x142957?$['of'](_0x142957):this[_0x24e888(0x3c8)][_0x24e888(0x516)](V['filter'](_0x4b9c66=>_0x4b9c66[_0x24e888(0x270)]===_0x334a79));}['readyForCollab'](_0x3f9843){var _0x3398c6=_0x38cf52;return $[_0x3398c6(0x3a8)](this[_0x3398c6(0x456)](_0x3f9843)[_0x3398c6(0x516)](V[_0x3398c6(0x475)](()=>{})));}[_0x38cf52(0x24e)](){var _0x240808=_0x38cf52;this[_0x240808(0x4fb)][_0x240808(0x460)](a[_0x240808(0x42e)][_0x240808(0x3ec)])[_0x240808(0x516)]($[_0x240808(0x3fc)](this['dispose$']),V[_0x240808(0x2d3)](0x10))[_0x240808(0x36f)](async _0x2a74d9=>{var _0x334700=_0x240808;const _0x3294d8=_0x2a74d9[_0x334700(0x32d)](),_0x30ef74=await this['_startCollaboration'](_0x3294d8,J[_0x334700(0x3ec)]);this[_0x334700(0x511)][_0x334700(0x31c)](_0x3294d8,_0x30ef74);}),this[_0x240808(0x4fb)]['getTypeOfUnitAdded$'](a[_0x240808(0x42e)][_0x240808(0x2d7)])[_0x240808(0x516)]($['takeUntil'](this[_0x240808(0x326)]),V['delay'](0x10))['pipe'](V[_0x240808(0x242)](_0x4e0902=>!_0x4e0902[_0x240808(0x32d)]()[_0x240808(0x236)]('__')))[_0x240808(0x36f)](async _0x304a7d=>{var _0x3e6b51=_0x240808;const _0x7c2743=_0x304a7d['getUnitId'](),_0x33b231=await this[_0x3e6b51(0x3d2)](_0x7c2743,J[_0x3e6b51(0x2d7)]);this[_0x3e6b51(0x511)]['set'](_0x7c2743,_0x33b231);}),$[_0x240808(0x429)](this[_0x240808(0x4fb)][_0x240808(0x35e)](a[_0x240808(0x42e)]['UNIVER_SHEET']),this[_0x240808(0x4fb)]['getTypeOfUnitDisposed$'](a['UniverInstanceType']['UNIVER_DOC']))['pipe']($[_0x240808(0x3fc)](this[_0x240808(0x326)]))[_0x240808(0x36f)](_0x169a60=>{var _0x2978cc=_0x240808;const _0xc0542c=_0x169a60[_0x2978cc(0x32d)](),_0x23fce4=this[_0x2978cc(0x511)][_0x2978cc(0x47a)](_0xc0542c);_0x23fce4&&(_0x23fce4[_0x2978cc(0x52d)](),this[_0x2978cc(0x511)][_0x2978cc(0x484)](_0xc0542c));});}async[_0x38cf52(0x3d2)](_0xf6b10d,_0x24cfae){var _0x44fc06=_0x38cf52;const _0x55c397=await this[_0x44fc06(0x378)][_0x44fc06(0x4aa)](_0xf6b10d),_0x5a1cab=this[_0x44fc06(0x45a)][_0x44fc06(0x21f)](this[_0x44fc06(0x44b)](_0x24cfae),_0xf6b10d,_0x24cfae,_0x55c397);return await _0x5a1cab[_0x44fc06(0x2b6)](),this['_entityInit$'][_0x44fc06(0x546)](_0x5a1cab),_0x5a1cab;}[_0x38cf52(0x44b)](_0x11e7f2){var _0x1937ee=_0x38cf52;switch(_0x11e7f2){case J[_0x1937ee(0x2d7)]:return exports['DocCollaborationEntity'];case J['UNIVER_SHEET']:return exports['SheetCollaborationEntity'];default:throw new Error(_0x1937ee(0x2ae)+_0x11e7f2);}}},exports[_0x38cf52(0x2a9)]=fi([Se(0x0,a[_0x38cf52(0x54a)](a[_0x38cf52(0x23e)])),Se(0x1,a[_0x38cf52(0x54a)](exports['CollaborationSessionService'])),Se(0x2,a[_0x38cf52(0x230)]),Se(0x3,a[_0x38cf52(0x23f)])],exports['CollaborationController']);var Ii=Object[_0x38cf52(0x28a)],pi=(_0xe471a2,_0x385255,_0x2b6709,_0xdaa5)=>{var _0x50c502=_0x38cf52;for(var _0x1b8338=_0xdaa5>0x1?void 0x0:_0xdaa5?Ii(_0x385255,_0x2b6709):_0x385255,_0x5ed2e4=_0xe471a2[_0x50c502(0x4ea)]-0x1,_0x22ffb0;_0x5ed2e4>=0x0;_0x5ed2e4--)(_0x22ffb0=_0xe471a2[_0x5ed2e4])&&(_0x1b8338=_0x22ffb0(_0x1b8338)||_0x1b8338);return _0x1b8338;},Ke=(_0x33e82d,_0x1b61b3)=>(_0x213074,_0x109423)=>_0x1b61b3(_0x213074,_0x109423,_0x33e82d);const gi='DEFAULT_FILE_NAME',Ei='Univer';let xe=class extends a[_0x38cf52(0x519)]{constructor(_0x572f7e,_0x2b2e38){var _0x269105=_0x38cf52;super(),this[_0x269105(0x4fb)]=_0x572f7e,this[_0x269105(0x515)]=_0x2b2e38,this['_init']();}['_init'](){var _0x399fbc=_0x38cf52;this[_0x399fbc(0x54c)](this[_0x399fbc(0x4fb)]['focused$'][_0x399fbc(0x36f)](()=>{var _0xcc2290=_0x399fbc,_0xc176d0;const _0xfc6166=this['_univerInstanceService'][_0xcc2290(0x4a8)]();let _0x55f6a4=(_0xc176d0=this[_0xcc2290(0x515)][_0xcc2290(0x2be)](gi))!=null?_0xc176d0:Ei;_0xfc6166 instanceof a[_0xcc2290(0x2cb)]&&(_0x55f6a4=_0xfc6166[_0xcc2290(0x42d)]),document['title']=_0x55f6a4;}));}};xe=pi([Ke(0x0,a[_0x38cf52(0x23f)]),Ke(0x1,a[_0x38cf52(0x230)])],xe);var mi=Object[_0x38cf52(0x28a)],Ci=(_0x4281fc,_0x44a84f,_0x272ad,_0x3a5822)=>{for(var _0x4450c4=_0x3a5822>0x1?void 0x0:_0x3a5822?mi(_0x44a84f,_0x272ad):_0x44a84f,_0x37cd38=_0x4281fc['length']-0x1,_0x515594;_0x37cd38>=0x0;_0x37cd38--)(_0x515594=_0x4281fc[_0x37cd38])&&(_0x4450c4=_0x515594(_0x4450c4)||_0x4450c4);return _0x4450c4;},Ae=(_0x21fcf2,_0x5a0d60)=>(_0x15ba54,_0x511510)=>_0x5a0d60(_0x15ba54,_0x511510,_0x21fcf2);let ye=class{constructor(_0xb9331e,_0x473e0a,_0x4d1494){var _0x306800=_0x38cf52;this[_0x306800(0x515)]=_0xb9331e,this[_0x306800(0x4df)]=_0x473e0a,this[_0x306800(0x2a4)]=_0x4d1494,this['init']();}[_0x38cf52(0x2b6)](){var _0x53b582=_0x38cf52;this[_0x53b582(0x4df)][_0x53b582(0x4cc)]({'priority':0x1,'interceptor':(_0x4bcf25,_0x27eb5b)=>_0x27eb5b(_0x4bcf25)['pipe']($[_0x53b582(0x56e)](async _0x3a9fe3=>{var _0x1e68d3=_0x53b582;const _0x134ad8=_0x3a9fe3;if(_0x134ad8[_0x1e68d3(0x381)]===0x191){if(typeof window>'u')throw new Error(_0x1e68d3(0x23b));if(window[_0x1e68d3(0x2a2)](this['localeService']['t'](_0x1e68d3(0x376)))){const _0x346140=window[_0x1e68d3(0x517)](window[_0x1e68d3(0x469)][_0x1e68d3(0x542)]);window[_0x1e68d3(0x469)][_0x1e68d3(0x542)]=this[_0x1e68d3(0x20a)]()+_0x1e68d3(0x3f7)+_0x346140;}}return _0x134ad8;}))});}[_0x38cf52(0x20a)](){var _0x6e11b5=_0x38cf52,_0x58b5b8,_0x3e46c6;const _0x2615e9=this[_0x6e11b5(0x515)][_0x6e11b5(0x2be)](pt),_0x5d9c71=this[_0x6e11b5(0x515)]['getConfig'](G);return(_0x3e46c6=(_0x58b5b8=_0x5d9c71==null?void 0x0:_0x5d9c71['loginUrlKey'])!=null?_0x58b5b8:_0x2615e9)!=null?_0x3e46c6:Wt;}};ye=Ci([Ae(0x0,a[_0x38cf52(0x230)]),Ae(0x1,a[_0x38cf52(0x54a)](K[_0x38cf52(0x3b2)])),Ae(0x2,a[_0x38cf52(0x54a)](a[_0x38cf52(0x4ce)]))],ye);var Ti=Object[_0x38cf52(0x28a)],bi=(_0x2a9658,_0x515c77,_0x594d57,_0x5902af)=>{var _0x500de1=_0x38cf52;for(var _0x5a71b6=_0x5902af>0x1?void 0x0:_0x5902af?Ti(_0x515c77,_0x594d57):_0x515c77,_0x287f07=_0x2a9658[_0x500de1(0x4ea)]-0x1,_0x986fb9;_0x287f07>=0x0;_0x287f07--)(_0x986fb9=_0x2a9658[_0x287f07])&&(_0x5a71b6=_0x986fb9(_0x5a71b6)||_0x5a71b6);return _0x5a71b6;},qe=(_0x2ab2d7,_0x50f6c7)=>(_0xb9a904,_0x17b241)=>_0x50f6c7(_0xb9a904,_0x17b241,_0x2ab2d7);const Ve=_0x38cf52(0x2b4),Ri='/universer-api/authz';exports['AuthzIoHttpService']=class extends a['Disposable']{constructor(_0x129fff,_0x364416){var _0x52237e=_0x38cf52;super(),this[_0x52237e(0x364)]=_0x129fff,this[_0x52237e(0x515)]=_0x364416,this[_0x52237e(0x557)]();}['_initMergeInterceptor'](){var _0x5d6c5f=_0x38cf52;const _0xc4feb1=this;this[_0x5d6c5f(0x54c)](this[_0x5d6c5f(0x364)][_0x5d6c5f(0x4cc)]({'priority':0x3e7,'interceptor':K[_0x5d6c5f(0x2bd)]({'isMatch'(_0x36d131){var _0x289fd4=_0x5d6c5f,_0x4083ad;if(_0x36d131[_0x289fd4(0x3b3)]===_0x289fd4(0x577)&&((_0x4083ad=_0x36d131['requestParams'])!=null&&_0x4083ad['body'])){const {objectID:_0x29e906,objectType:_0x279865}=_0x36d131['requestParams']['body']||{};if(!_0x29e906||_0x279865===void 0x0)return!0x1;const _0x1a294e=_0xc4feb1[_0x289fd4(0x31d)]()+'/'+_0x279865+_0x289fd4(0x52a)+_0x29e906+_0x289fd4(0x2a7);if(_0x36d131[_0x289fd4(0x2ab)]===_0x1a294e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x363f4f){var _0x198008=_0x5d6c5f,_0x371b7a;return(_0x371b7a=_0x363f4f[_0x198008(0x341)])==null?void 0x0:_0x371b7a[_0x198008(0x3a9)];},'mergeParamsToRequest'(_0x4c1da1,_0x1b8dd2){var _0x2e4bee=_0x5d6c5f;const _0x21c7cf=_0xc4feb1[_0x2e4bee(0x31d)]()+_0x2e4bee(0x276),_0x45ed32=_0x4c1da1[_0x2e4bee(0x47c)]((_0x57ba64,_0x410818)=>{var _0x1e83cb=_0x2e4bee;const {unitID:_0x1253d6,objectID:_0x39fc09,objectType:_0x3353d5,actions:_0x5d31f0}=_0x410818;return _0x57ba64[_0x1253d6]||(_0x57ba64[_0x1253d6]={}),_0x57ba64[_0x1253d6][_0x39fc09]||(_0x57ba64[_0x1253d6][_0x39fc09]={'objectID':_0x39fc09,'objectType':_0x3353d5,'actions':[]}),_0x57ba64[_0x1253d6][_0x39fc09][_0x1e83cb(0x431)][_0x1e83cb(0x398)](..._0x5d31f0),_0x57ba64;},{}),_0x3f2cba=[];for(const _0x493de2 in _0x45ed32)for(const _0x3a216e in _0x45ed32[_0x493de2]){const {actions:_0x2fa801,objectType:_0x453274}=_0x45ed32[_0x493de2][_0x3a216e],_0x33307f=[...new Set(_0x2fa801)];_0x3f2cba['push']({'unitID':_0x493de2,'objectID':_0x3a216e,'objectType':_0x453274,'actions':_0x33307f});}return new K[(_0x2e4bee(0x33b))](_0x2e4bee(0x577),_0x21c7cf,{'headers':_0x1b8dd2[_0x2e4bee(0x566)],'withCredentials':_0x1b8dd2[_0x2e4bee(0x3f1)],'responseType':_0x1b8dd2[_0x2e4bee(0x2cd)],'body':{'requests':_0x3f2cba}});}},{'distributeResult'(_0x29c7f9,_0x375609){const {objectActions:_0x1315d9}=_0x29c7f9;return _0x375609['map'](_0x2ba2c9=>{var _0x541655=_0x20ff;const {unitID:_0x369b27,objectID:_0x5d6829,actions:_0x752fdb}=_0x2ba2c9,_0x48531c=_0x1315d9['find'](_0x38f746=>_0x38f746['unitID']===_0x369b27&&_0x38f746[_0x541655(0x45f)]===_0x5d6829),_0x4cbc16=_0x752fdb['map'](_0x3844f4=>_0x48531c==null?void 0x0:_0x48531c[_0x541655(0x431)][_0x541655(0x3ae)](_0x54ce9=>_0x54ce9['action']===_0x3844f4))[_0x541655(0x242)](_0x531248=>!!_0x531248);return{'config':_0x2ba2c9,'result':{'actions':_0x4cbc16,'error':_0x29c7f9[_0x541655(0x373)]}};});}})}));}['_getAPIPrefixPath'](){var _0x3b192f=_0x38cf52,_0x1f006b,_0x7850bc;const _0x259720=this[_0x3b192f(0x515)][_0x3b192f(0x2be)](Ve),_0x3ef11c=this['_configService'][_0x3b192f(0x2be)](G);return(_0x7850bc=(_0x1f006b=_0x3ef11c==null?void 0x0:_0x3ef11c[_0x3b192f(0x387)])!=null?_0x1f006b:_0x259720)!=null?_0x7850bc:Ri;}async['create'](_0x5a394f){var _0x43517c=_0x38cf52;const _0x77a890=this[_0x43517c(0x31d)]()+'/'+_0x5a394f[_0x43517c(0x265)]+_0x43517c(0x415);return(await this[_0x43517c(0x364)][_0x43517c(0x49e)](_0x77a890,{'body':_0x5a394f}))[_0x43517c(0x3a9)]['objectID']||'';}async[_0x38cf52(0x452)](_0x5cbd0c){var _0x53f2ac=_0x38cf52;const _0x538aea=this[_0x53f2ac(0x31d)]()+_0x53f2ac(0x32c);return(await this[_0x53f2ac(0x364)][_0x53f2ac(0x49e)](_0x538aea,{'body':_0x5cbd0c}))[_0x53f2ac(0x3a9)][_0x53f2ac(0x325)];}async[_0x38cf52(0x4db)](_0xddf2ed){var _0x26f130=_0x38cf52,_0x4106bc,_0xb72893;const _0x5c6c3d=this['_getAPIPrefixPath']()+'/'+_0xddf2ed['objectType']+_0x26f130(0x52a)+_0xddf2ed[_0x26f130(0x45f)],_0x40d20c=await this[_0x26f130(0x364)][_0x26f130(0x2e4)](_0x5c6c3d,{'body':_0xddf2ed});if(((_0xb72893=(_0x4106bc=_0x40d20c==null?void 0x0:_0x40d20c[_0x26f130(0x3a9)])==null?void 0x0:_0x4106bc[_0x26f130(0x373)])==null?void 0x0:_0xb72893[_0x26f130(0x4f8)])!==0x1)throw new Error(_0x26f130(0x2e3));}async[_0x38cf52(0x400)](_0x4447f5){var _0x3c264d=_0x38cf52;const _0x436e6c=this[_0x3c264d(0x31d)]()+'/'+_0x4447f5[_0x3c264d(0x265)]+_0x3c264d(0x52a)+_0x4447f5['objectID']+'/allowed';return(await this[_0x3c264d(0x364)][_0x3c264d(0x49e)](_0x436e6c,{'body':_0x4447f5}))['body']['actions'];}async[_0x38cf52(0x43f)](_0x8c9ee6){var _0x116640=_0x38cf52;const _0x3e0fdb=this['_getAPIPrefixPath']()+_0x116640(0x276);return(await this[_0x116640(0x364)][_0x116640(0x49e)](_0x3e0fdb,{'body':{'requests':_0x8c9ee6}}))[_0x116640(0x3a9)]['objectActions'];}async[_0x38cf52(0x578)](_0x42f4d9){var _0x42e1ab=_0x38cf52;const _0x3fc9f0=this[_0x42e1ab(0x31d)]()+'/'+_0x42f4d9[_0x42e1ab(0x265)]+'/role',_0xd6ec67=await this['_HTTPService']['post'](_0x3fc9f0,{'body':_0x42f4d9});return{'roles':_0xd6ec67[_0x42e1ab(0x3a9)][_0x42e1ab(0x3a7)],'actions':_0xd6ec67['body'][_0x42e1ab(0x431)]};}async[_0x38cf52(0x56b)](_0x34ae24){var _0x238ba8=_0x38cf52;const _0x4a81d6=this[_0x238ba8(0x31d)]()+_0x238ba8(0x494);await this[_0x238ba8(0x364)]['delete'](_0x4a81d6,{'params':{'collaboratorID':_0x34ae24[_0x238ba8(0x2bb)],'objectID':_0x34ae24['objectID'],'unitID':_0x34ae24[_0x238ba8(0x270)]}});}async[_0x38cf52(0x513)](_0x45928c){var _0x506964=_0x38cf52;const _0x5affc6=this[_0x506964(0x31d)]()+'/collaborator';await this[_0x506964(0x364)]['patch'](_0x5affc6,{'body':_0x45928c});}async['createCollaborator'](_0x5be075){var _0x419261=_0x38cf52;const _0x72f212=this[_0x419261(0x31d)]()+_0x419261(0x494);await this[_0x419261(0x364)][_0x419261(0x49e)](_0x72f212,{'body':_0x5be075});}async['listCollaborators'](_0xe7ee3a){var _0x239243=_0x38cf52;const _0x52bc69=this[_0x239243(0x31d)]()+_0x239243(0x494);return(await this[_0x239243(0x364)]['get'](_0x52bc69,{'params':{'objectID':_0xe7ee3a[_0x239243(0x45f)],'unitID':_0xe7ee3a[_0x239243(0x270)]}}))[_0x239243(0x3a9)][_0x239243(0x2d0)];}async[_0x38cf52(0x43d)](_0x2fc7ce){var _0x4c733d=_0x38cf52;const _0x570236=this[_0x4c733d(0x31d)]()+_0x4c733d(0x494);await this[_0x4c733d(0x364)][_0x4c733d(0x2e4)](_0x570236,{'body':_0x2fc7ce});}},exports[_0x38cf52(0x348)]=bi([qe(0x0,a[_0x38cf52(0x54a)](K[_0x38cf52(0x3b2)])),qe(0x1,a[_0x38cf52(0x54a)](a[_0x38cf52(0x230)]))],exports[_0x38cf52(0x348)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x2e9452){var _0x5128ff=_0x38cf52;return _0x2e9452&&_0x2e9452[_0x5128ff(0x384)]&&Object['prototype'][_0x5128ff(0x239)][_0x5128ff(0x508)](_0x2e9452,'default')?_0x2e9452['default']:_0x2e9452;}var fe={'exports':{}};function Oi(_0x5b4901){var _0x11cd34=_0x38cf52;throw new Error(_0x11cd34(0x1f4)+_0x5b4901+_0x11cd34(0x409));}var Ie={'exports':{}},yi=Ie[_0x38cf52(0x2aa)],ze;function Q(){var _0x5d9b46=_0x38cf52;return ze||(ze=0x1,function(_0x2e6eba,_0x49f841){(function(_0x3f4d83,_0x1cf2f2){var _0x34a419=_0x20ff;_0x2e6eba[_0x34a419(0x2aa)]=_0x1cf2f2();}(yi,function(){var _0x3cc87c=_0x3cc87c||function(_0xb397c0,_0x2a70e2){var _0x34ad45=_0x20ff,_0x5c3d03;if(typeof window<'u'&&window[_0x34ad45(0x358)]&&(_0x5c3d03=window[_0x34ad45(0x358)]),typeof self<'u'&&self['crypto']&&(_0x5c3d03=self[_0x34ad45(0x358)]),typeof globalThis<'u'&&globalThis[_0x34ad45(0x358)]&&(_0x5c3d03=globalThis[_0x34ad45(0x358)]),!_0x5c3d03&&typeof window<'u'&&window['msCrypto']&&(_0x5c3d03=window[_0x34ad45(0x390)]),!_0x5c3d03&&typeof Pe<'u'&&Pe[_0x34ad45(0x358)]&&(_0x5c3d03=Pe[_0x34ad45(0x358)]),!_0x5c3d03&&typeof Oi==_0x34ad45(0x553))try{_0x5c3d03=require('crypto');}catch{}var _0x4c69ad=function(){var _0x12b635=_0x34ad45;if(_0x5c3d03){if(typeof _0x5c3d03[_0x12b635(0x3c6)]=='function')try{return _0x5c3d03[_0x12b635(0x3c6)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5c3d03[_0x12b635(0x4c3)]==_0x12b635(0x553))try{return _0x5c3d03[_0x12b635(0x4c3)](0x4)[_0x12b635(0x433)]();}catch{}}throw new Error(_0x12b635(0x520));},_0x34a20b=Object[_0x34ad45(0x330)]||(function(){function _0x4f1c4f(){}return function(_0x4a733a){var _0x7eab86=_0x20ff,_0x3d7b27;return _0x4f1c4f['prototype']=_0x4a733a,_0x3d7b27=new _0x4f1c4f(),_0x4f1c4f[_0x7eab86(0x4fa)]=null,_0x3d7b27;};}()),_0x2d218e={},_0x157705=_0x2d218e[_0x34ad45(0x47b)]={},_0x15a8c2=_0x157705[_0x34ad45(0x4d0)]=(function(){return{'extend':function(_0x2fd948){var _0x885983=_0x20ff,_0x2f0dde=_0x34a20b(this);return _0x2fd948&&_0x2f0dde[_0x885983(0x502)](_0x2fd948),(!_0x2f0dde[_0x885983(0x239)](_0x885983(0x2b6))||this[_0x885983(0x2b6)]===_0x2f0dde[_0x885983(0x2b6)])&&(_0x2f0dde[_0x885983(0x2b6)]=function(){var _0x452851=_0x885983;_0x2f0dde[_0x452851(0x22b)][_0x452851(0x2b6)][_0x452851(0x30c)](this,arguments);}),_0x2f0dde['init'][_0x885983(0x4fa)]=_0x2f0dde,_0x2f0dde[_0x885983(0x22b)]=this,_0x2f0dde;},'create':function(){var _0x109e5c=_0x20ff,_0x305c96=this[_0x109e5c(0x2ad)]();return _0x305c96[_0x109e5c(0x2b6)][_0x109e5c(0x30c)](_0x305c96,arguments),_0x305c96;},'init':function(){},'mixIn':function(_0x5ab0ef){var _0x1d7d1f=_0x20ff;for(var _0x5dfe9 in _0x5ab0ef)_0x5ab0ef[_0x1d7d1f(0x239)](_0x5dfe9)&&(this[_0x5dfe9]=_0x5ab0ef[_0x5dfe9]);_0x5ab0ef[_0x1d7d1f(0x239)](_0x1d7d1f(0x2da))&&(this['toString']=_0x5ab0ef['toString']);},'clone':function(){var _0x53fbec=_0x20ff;return this[_0x53fbec(0x2b6)][_0x53fbec(0x4fa)][_0x53fbec(0x2ad)](this);}};}()),_0x4abcfe=_0x157705[_0x34ad45(0x285)]=_0x15a8c2['extend']({'init':function(_0x293cf5,_0x3962b5){var _0x1e6d76=_0x34ad45;_0x293cf5=this[_0x1e6d76(0x24d)]=_0x293cf5||[],_0x3962b5!=_0x2a70e2?this[_0x1e6d76(0x526)]=_0x3962b5:this[_0x1e6d76(0x526)]=_0x293cf5[_0x1e6d76(0x4ea)]*0x4;},'toString':function(_0x4062f0){var _0xa43e86=_0x34ad45;return(_0x4062f0||_0x484b95)[_0xa43e86(0x4a5)](this);},'concat':function(_0x27196d){var _0x5df191=_0x34ad45,_0x152f18=this[_0x5df191(0x24d)],_0x565603=_0x27196d[_0x5df191(0x24d)],_0x180ba5=this[_0x5df191(0x526)],_0x272eba=_0x27196d[_0x5df191(0x526)];if(this['clamp'](),_0x180ba5%0x4)for(var _0x1ec77d=0x0;_0x1ec77d<_0x272eba;_0x1ec77d++){var _0x4717c3=_0x565603[_0x1ec77d>>>0x2]>>>0x18-_0x1ec77d%0x4*0x8&0xff;_0x152f18[_0x180ba5+_0x1ec77d>>>0x2]|=_0x4717c3<<0x18-(_0x180ba5+_0x1ec77d)%0x4*0x8;}else{for(var _0x45d1cf=0x0;_0x45d1cf<_0x272eba;_0x45d1cf+=0x4)_0x152f18[_0x180ba5+_0x45d1cf>>>0x2]=_0x565603[_0x45d1cf>>>0x2];}return this[_0x5df191(0x526)]+=_0x272eba,this;},'clamp':function(){var _0x5d7742=_0x34ad45,_0x2266ce=this[_0x5d7742(0x24d)],_0x48162a=this[_0x5d7742(0x526)];_0x2266ce[_0x48162a>>>0x2]&=0xffffffff<<0x20-_0x48162a%0x4*0x8,_0x2266ce[_0x5d7742(0x4ea)]=_0xb397c0[_0x5d7742(0x44d)](_0x48162a/0x4);},'clone':function(){var _0x339821=_0x34ad45,_0x1c73bd=_0x15a8c2[_0x339821(0x4ab)][_0x339821(0x508)](this);return _0x1c73bd[_0x339821(0x24d)]=this['words'][_0x339821(0x342)](0x0),_0x1c73bd;},'random':function(_0x1d598f){var _0x2385ed=_0x34ad45;for(var _0x43a891=[],_0x178157=0x0;_0x178157<_0x1d598f;_0x178157+=0x4)_0x43a891[_0x2385ed(0x398)](_0x4c69ad());return new _0x4abcfe[(_0x2385ed(0x2b6))](_0x43a891,_0x1d598f);}}),_0x1db2c0=_0x2d218e['enc']={},_0x484b95=_0x1db2c0[_0x34ad45(0x3ea)]={'stringify':function(_0x5403ff){var _0x3d185e=_0x34ad45;for(var _0x2b50fd=_0x5403ff[_0x3d185e(0x24d)],_0x54dbd2=_0x5403ff[_0x3d185e(0x526)],_0x34b173=[],_0x8462b1=0x0;_0x8462b1<_0x54dbd2;_0x8462b1++){var _0x329014=_0x2b50fd[_0x8462b1>>>0x2]>>>0x18-_0x8462b1%0x4*0x8&0xff;_0x34b173[_0x3d185e(0x398)]((_0x329014>>>0x4)[_0x3d185e(0x2da)](0x10)),_0x34b173[_0x3d185e(0x398)]((_0x329014&0xf)[_0x3d185e(0x2da)](0x10));}return _0x34b173['join']('');},'parse':function(_0x1c0432){var _0x5cc27c=_0x34ad45;for(var _0x203a67=_0x1c0432[_0x5cc27c(0x4ea)],_0x1a3f52=[],_0x3c68ab=0x0;_0x3c68ab<_0x203a67;_0x3c68ab+=0x2)_0x1a3f52[_0x3c68ab>>>0x3]|=parseInt(_0x1c0432['substr'](_0x3c68ab,0x2),0x10)<<0x18-_0x3c68ab%0x8*0x4;return new _0x4abcfe['init'](_0x1a3f52,_0x203a67/0x2);}},_0x46b1e2=_0x1db2c0['Latin1']={'stringify':function(_0x513bb5){var _0x28ab69=_0x34ad45;for(var _0x199e51=_0x513bb5[_0x28ab69(0x24d)],_0xb702d6=_0x513bb5[_0x28ab69(0x526)],_0x2f0042=[],_0x496e93=0x0;_0x496e93<_0xb702d6;_0x496e93++){var _0xdf6ccf=_0x199e51[_0x496e93>>>0x2]>>>0x18-_0x496e93%0x4*0x8&0xff;_0x2f0042[_0x28ab69(0x398)](String[_0x28ab69(0x53f)](_0xdf6ccf));}return _0x2f0042[_0x28ab69(0x2d8)]('');},'parse':function(_0x4ba946){var _0x92dfd=_0x34ad45;for(var _0x37ccd8=_0x4ba946['length'],_0x24e103=[],_0x31c103=0x0;_0x31c103<_0x37ccd8;_0x31c103++)_0x24e103[_0x31c103>>>0x2]|=(_0x4ba946['charCodeAt'](_0x31c103)&0xff)<<0x18-_0x31c103%0x4*0x8;return new _0x4abcfe[(_0x92dfd(0x2b6))](_0x24e103,_0x37ccd8);}},_0x152667=_0x1db2c0[_0x34ad45(0x4af)]={'stringify':function(_0x1ede7e){var _0x349895=_0x34ad45;try{return decodeURIComponent(escape(_0x46b1e2[_0x349895(0x4a5)](_0x1ede7e)));}catch{throw new Error(_0x349895(0x2fc));}},'parse':function(_0x56b679){var _0x592bf7=_0x34ad45;return _0x46b1e2[_0x592bf7(0x447)](unescape(encodeURIComponent(_0x56b679)));}},_0x5148ee=_0x157705['BufferedBlockAlgorithm']=_0x15a8c2['extend']({'reset':function(){var _0x483cf9=_0x34ad45;this[_0x483cf9(0x35b)]=new _0x4abcfe['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x3ed28c){var _0x5ea540=_0x34ad45;typeof _0x3ed28c==_0x5ea540(0x31a)&&(_0x3ed28c=_0x152667[_0x5ea540(0x447)](_0x3ed28c)),this['_data']['concat'](_0x3ed28c),this[_0x5ea540(0x215)]+=_0x3ed28c[_0x5ea540(0x526)];},'_process':function(_0x355046){var _0x4750de=_0x34ad45,_0x5d92d7,_0x4f67e3=this[_0x4750de(0x35b)],_0x3a920d=_0x4f67e3[_0x4750de(0x24d)],_0x1b7383=_0x4f67e3[_0x4750de(0x526)],_0x15529b=this[_0x4750de(0x357)],_0x221a09=_0x15529b*0x4,_0x2b7cb8=_0x1b7383/_0x221a09;_0x355046?_0x2b7cb8=_0xb397c0[_0x4750de(0x44d)](_0x2b7cb8):_0x2b7cb8=_0xb397c0[_0x4750de(0x289)]((_0x2b7cb8|0x0)-this['_minBufferSize'],0x0);var _0x3896bc=_0x2b7cb8*_0x15529b,_0x13d30e=_0xb397c0[_0x4750de(0x3db)](_0x3896bc*0x4,_0x1b7383);if(_0x3896bc){for(var _0xc42c46=0x0;_0xc42c46<_0x3896bc;_0xc42c46+=_0x15529b)this['_doProcessBlock'](_0x3a920d,_0xc42c46);_0x5d92d7=_0x3a920d['splice'](0x0,_0x3896bc),_0x4f67e3[_0x4750de(0x526)]-=_0x13d30e;}return new _0x4abcfe[(_0x4750de(0x2b6))](_0x5d92d7,_0x13d30e);},'clone':function(){var _0x55d2ce=_0x34ad45,_0x653e32=_0x15a8c2['clone']['call'](this);return _0x653e32[_0x55d2ce(0x35b)]=this[_0x55d2ce(0x35b)]['clone'](),_0x653e32;},'_minBufferSize':0x0});_0x157705[_0x34ad45(0x512)]=_0x5148ee[_0x34ad45(0x2ad)]({'cfg':_0x15a8c2[_0x34ad45(0x2ad)](),'init':function(_0x1ddc84){var _0x320e51=_0x34ad45;this[_0x320e51(0x53b)]=this[_0x320e51(0x53b)][_0x320e51(0x2ad)](_0x1ddc84),this[_0x320e51(0x32f)]();},'reset':function(){var _0x3cecd7=_0x34ad45;_0x5148ee[_0x3cecd7(0x32f)]['call'](this),this['_doReset']();},'update':function(_0x55485a){var _0x5a0897=_0x34ad45;return this[_0x5a0897(0x4d3)](_0x55485a),this[_0x5a0897(0x264)](),this;},'finalize':function(_0x359a17){var _0x3829ee=_0x34ad45;_0x359a17&&this[_0x3829ee(0x4d3)](_0x359a17);var _0x21bb6b=this[_0x3829ee(0x22f)]();return _0x21bb6b;},'blockSize':0x10,'_createHelper':function(_0x2337d7){return function(_0x195328,_0x23c188){var _0x562cd0=_0x20ff;return new _0x2337d7[(_0x562cd0(0x2b6))](_0x23c188)[_0x562cd0(0x56f)](_0x195328);};},'_createHmacHelper':function(_0x1e2aae){return function(_0x1f986e,_0x382cdb){var _0x3ad0d6=_0x20ff;return new _0x41b93f[(_0x3ad0d6(0x443))][(_0x3ad0d6(0x2b6))](_0x1e2aae,_0x382cdb)['finalize'](_0x1f986e);};}});var _0x41b93f=_0x2d218e[_0x34ad45(0x3c1)]={};return _0x2d218e;}(Math);return _0x3cc87c;}));}(Ie)),Ie[_0x5d9b46(0x2aa)];}var pe={'exports':{}},Ni=pe[_0x38cf52(0x2aa)],Je;function yt(){var _0x47c7e5=_0x38cf52;return Je||(Je=0x1,function(_0x482176,_0x1b459c){(function(_0x1aa9f2,_0x9570ad){var _0x5add71=_0x20ff;_0x482176[_0x5add71(0x2aa)]=_0x9570ad(Q());}(Ni,function(_0x26556d){var _0x251ce2=_0x20ff;return(function(){var _0x122f70=_0x20ff,_0x1c9aec=_0x26556d,_0x490ca6=_0x1c9aec[_0x122f70(0x47b)],_0x30e492=_0x490ca6[_0x122f70(0x285)],_0x218f3c=_0x1c9aec[_0x122f70(0x570)];_0x218f3c['Base64']={'stringify':function(_0x9bb19c){var _0x4c5403=_0x122f70,_0x54b427=_0x9bb19c[_0x4c5403(0x24d)],_0x58a14c=_0x9bb19c[_0x4c5403(0x526)],_0x329a84=this[_0x4c5403(0x465)];_0x9bb19c[_0x4c5403(0x416)]();for(var _0x17168e=[],_0x3e197b=0x0;_0x3e197b<_0x58a14c;_0x3e197b+=0x3)for(var _0x2c3a62=_0x54b427[_0x3e197b>>>0x2]>>>0x18-_0x3e197b%0x4*0x8&0xff,_0x180d39=_0x54b427[_0x3e197b+0x1>>>0x2]>>>0x18-(_0x3e197b+0x1)%0x4*0x8&0xff,_0x3670fe=_0x54b427[_0x3e197b+0x2>>>0x2]>>>0x18-(_0x3e197b+0x2)%0x4*0x8&0xff,_0x5aebdf=_0x2c3a62<<0x10|_0x180d39<<0x8|_0x3670fe,_0x2c7f35=0x0;_0x2c7f35<0x4&&_0x3e197b+_0x2c7f35*0.75<_0x58a14c;_0x2c7f35++)_0x17168e['push'](_0x329a84['charAt'](_0x5aebdf>>>0x6*(0x3-_0x2c7f35)&0x3f));var _0x575247=_0x329a84[_0x4c5403(0x543)](0x40);if(_0x575247){for(;_0x17168e[_0x4c5403(0x4ea)]%0x4;)_0x17168e[_0x4c5403(0x398)](_0x575247);}return _0x17168e['join']('');},'parse':function(_0x2e3d71){var _0x529768=_0x122f70,_0x4a03a7=_0x2e3d71[_0x529768(0x4ea)],_0x15e4a3=this['_map'],_0x3ad95b=this[_0x529768(0x4e2)];if(!_0x3ad95b){_0x3ad95b=this[_0x529768(0x4e2)]=[];for(var _0x54b5cc=0x0;_0x54b5cc<_0x15e4a3[_0x529768(0x4ea)];_0x54b5cc++)_0x3ad95b[_0x15e4a3[_0x529768(0x1f3)](_0x54b5cc)]=_0x54b5cc;}var _0xe81e8=_0x15e4a3[_0x529768(0x543)](0x40);if(_0xe81e8){var _0x57a36f=_0x2e3d71[_0x529768(0x31f)](_0xe81e8);_0x57a36f!==-0x1&&(_0x4a03a7=_0x57a36f);}return _0x242bf4(_0x2e3d71,_0x4a03a7,_0x3ad95b);},'_map':_0x122f70(0x26c)};function _0x242bf4(_0x1d66b4,_0x52e313,_0x2a26e2){var _0x121d98=_0x122f70;for(var _0x58b293=[],_0x14271b=0x0,_0x3c4eb1=0x0;_0x3c4eb1<_0x52e313;_0x3c4eb1++)if(_0x3c4eb1%0x4){var _0x2e0306=_0x2a26e2[_0x1d66b4[_0x121d98(0x1f3)](_0x3c4eb1-0x1)]<<_0x3c4eb1%0x4*0x2,_0x58fcca=_0x2a26e2[_0x1d66b4['charCodeAt'](_0x3c4eb1)]>>>0x6-_0x3c4eb1%0x4*0x2,_0x3a27e7=_0x2e0306|_0x58fcca;_0x58b293[_0x14271b>>>0x2]|=_0x3a27e7<<0x18-_0x14271b%0x4*0x8,_0x14271b++;}return _0x30e492[_0x121d98(0x330)](_0x58b293,_0x14271b);}}()),_0x26556d[_0x251ce2(0x570)][_0x251ce2(0x394)];}));}(pe)),pe[_0x47c7e5(0x2aa)];}var ge={'exports':{}},Di=ge['exports'],Xe;function Ui(){return Xe||(Xe=0x1,function(_0x578ccd,_0x230365){(function(_0x574cec,_0x4cd950){_0x578ccd['exports']=_0x4cd950(Q());}(Di,function(_0x223a8f){return function(_0xfe6f77){var _0x11fd1d=_0x20ff,_0x2d60b1=_0x223a8f,_0x4334d7=_0x2d60b1[_0x11fd1d(0x47b)],_0x56023d=_0x4334d7['WordArray'],_0x40378c=_0x4334d7[_0x11fd1d(0x512)],_0x243cc0=_0x2d60b1[_0x11fd1d(0x3c1)],_0x2b84d3=[];(function(){var _0x26541d=_0x11fd1d;for(var _0x14da08=0x0;_0x14da08<0x40;_0x14da08++)_0x2b84d3[_0x14da08]=_0xfe6f77[_0x26541d(0x217)](_0xfe6f77[_0x26541d(0x356)](_0x14da08+0x1))*0x100000000|0x0;}());var _0x4c8630=_0x243cc0[_0x11fd1d(0x507)]=_0x40378c[_0x11fd1d(0x2ad)]({'_doReset':function(){var _0x5e0224=_0x11fd1d;this['_hash']=new _0x56023d[(_0x5e0224(0x2b6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x58bcd3,_0xdba188){var _0x564ea5=_0x11fd1d;for(var _0x13b6c1=0x0;_0x13b6c1<0x10;_0x13b6c1++){var _0x523efc=_0xdba188+_0x13b6c1,_0x594dca=_0x58bcd3[_0x523efc];_0x58bcd3[_0x523efc]=(_0x594dca<<0x8|_0x594dca>>>0x18)&0xff00ff|(_0x594dca<<0x18|_0x594dca>>>0x8)&0xff00ff00;}var _0x41d5f8=this[_0x564ea5(0x4ee)][_0x564ea5(0x24d)],_0x550ad0=_0x58bcd3[_0xdba188+0x0],_0x449285=_0x58bcd3[_0xdba188+0x1],_0x4fd2bd=_0x58bcd3[_0xdba188+0x2],_0x55a78e=_0x58bcd3[_0xdba188+0x3],_0x17fa51=_0x58bcd3[_0xdba188+0x4],_0x403a94=_0x58bcd3[_0xdba188+0x5],_0x3974e5=_0x58bcd3[_0xdba188+0x6],_0x1e6990=_0x58bcd3[_0xdba188+0x7],_0x319280=_0x58bcd3[_0xdba188+0x8],_0x34aada=_0x58bcd3[_0xdba188+0x9],_0x107d2b=_0x58bcd3[_0xdba188+0xa],_0x45f6e4=_0x58bcd3[_0xdba188+0xb],_0x938058=_0x58bcd3[_0xdba188+0xc],_0x1ef13d=_0x58bcd3[_0xdba188+0xd],_0xda4b05=_0x58bcd3[_0xdba188+0xe],_0x46e6c9=_0x58bcd3[_0xdba188+0xf],_0x2b154a=_0x41d5f8[0x0],_0x2fc6a7=_0x41d5f8[0x1],_0x199a26=_0x41d5f8[0x2],_0x307812=_0x41d5f8[0x3];_0x2b154a=_0x5c1829(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x550ad0,0x7,_0x2b84d3[0x0]),_0x307812=_0x5c1829(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x449285,0xc,_0x2b84d3[0x1]),_0x199a26=_0x5c1829(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x4fd2bd,0x11,_0x2b84d3[0x2]),_0x2fc6a7=_0x5c1829(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x55a78e,0x16,_0x2b84d3[0x3]),_0x2b154a=_0x5c1829(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x17fa51,0x7,_0x2b84d3[0x4]),_0x307812=_0x5c1829(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x403a94,0xc,_0x2b84d3[0x5]),_0x199a26=_0x5c1829(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x3974e5,0x11,_0x2b84d3[0x6]),_0x2fc6a7=_0x5c1829(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x1e6990,0x16,_0x2b84d3[0x7]),_0x2b154a=_0x5c1829(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x319280,0x7,_0x2b84d3[0x8]),_0x307812=_0x5c1829(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x34aada,0xc,_0x2b84d3[0x9]),_0x199a26=_0x5c1829(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x107d2b,0x11,_0x2b84d3[0xa]),_0x2fc6a7=_0x5c1829(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x45f6e4,0x16,_0x2b84d3[0xb]),_0x2b154a=_0x5c1829(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x938058,0x7,_0x2b84d3[0xc]),_0x307812=_0x5c1829(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x1ef13d,0xc,_0x2b84d3[0xd]),_0x199a26=_0x5c1829(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0xda4b05,0x11,_0x2b84d3[0xe]),_0x2fc6a7=_0x5c1829(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x46e6c9,0x16,_0x2b84d3[0xf]),_0x2b154a=_0x17ef8d(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x449285,0x5,_0x2b84d3[0x10]),_0x307812=_0x17ef8d(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x3974e5,0x9,_0x2b84d3[0x11]),_0x199a26=_0x17ef8d(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x45f6e4,0xe,_0x2b84d3[0x12]),_0x2fc6a7=_0x17ef8d(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x550ad0,0x14,_0x2b84d3[0x13]),_0x2b154a=_0x17ef8d(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x403a94,0x5,_0x2b84d3[0x14]),_0x307812=_0x17ef8d(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x107d2b,0x9,_0x2b84d3[0x15]),_0x199a26=_0x17ef8d(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x46e6c9,0xe,_0x2b84d3[0x16]),_0x2fc6a7=_0x17ef8d(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x17fa51,0x14,_0x2b84d3[0x17]),_0x2b154a=_0x17ef8d(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x34aada,0x5,_0x2b84d3[0x18]),_0x307812=_0x17ef8d(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0xda4b05,0x9,_0x2b84d3[0x19]),_0x199a26=_0x17ef8d(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x55a78e,0xe,_0x2b84d3[0x1a]),_0x2fc6a7=_0x17ef8d(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x319280,0x14,_0x2b84d3[0x1b]),_0x2b154a=_0x17ef8d(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x1ef13d,0x5,_0x2b84d3[0x1c]),_0x307812=_0x17ef8d(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x4fd2bd,0x9,_0x2b84d3[0x1d]),_0x199a26=_0x17ef8d(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x1e6990,0xe,_0x2b84d3[0x1e]),_0x2fc6a7=_0x17ef8d(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x938058,0x14,_0x2b84d3[0x1f]),_0x2b154a=_0x44dfad(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x403a94,0x4,_0x2b84d3[0x20]),_0x307812=_0x44dfad(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x319280,0xb,_0x2b84d3[0x21]),_0x199a26=_0x44dfad(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x45f6e4,0x10,_0x2b84d3[0x22]),_0x2fc6a7=_0x44dfad(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0xda4b05,0x17,_0x2b84d3[0x23]),_0x2b154a=_0x44dfad(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x449285,0x4,_0x2b84d3[0x24]),_0x307812=_0x44dfad(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x17fa51,0xb,_0x2b84d3[0x25]),_0x199a26=_0x44dfad(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x1e6990,0x10,_0x2b84d3[0x26]),_0x2fc6a7=_0x44dfad(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x107d2b,0x17,_0x2b84d3[0x27]),_0x2b154a=_0x44dfad(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x1ef13d,0x4,_0x2b84d3[0x28]),_0x307812=_0x44dfad(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x550ad0,0xb,_0x2b84d3[0x29]),_0x199a26=_0x44dfad(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x55a78e,0x10,_0x2b84d3[0x2a]),_0x2fc6a7=_0x44dfad(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x3974e5,0x17,_0x2b84d3[0x2b]),_0x2b154a=_0x44dfad(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x34aada,0x4,_0x2b84d3[0x2c]),_0x307812=_0x44dfad(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x938058,0xb,_0x2b84d3[0x2d]),_0x199a26=_0x44dfad(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x46e6c9,0x10,_0x2b84d3[0x2e]),_0x2fc6a7=_0x44dfad(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x4fd2bd,0x17,_0x2b84d3[0x2f]),_0x2b154a=_0x2bf3b7(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x550ad0,0x6,_0x2b84d3[0x30]),_0x307812=_0x2bf3b7(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x1e6990,0xa,_0x2b84d3[0x31]),_0x199a26=_0x2bf3b7(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0xda4b05,0xf,_0x2b84d3[0x32]),_0x2fc6a7=_0x2bf3b7(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x403a94,0x15,_0x2b84d3[0x33]),_0x2b154a=_0x2bf3b7(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x938058,0x6,_0x2b84d3[0x34]),_0x307812=_0x2bf3b7(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x55a78e,0xa,_0x2b84d3[0x35]),_0x199a26=_0x2bf3b7(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x107d2b,0xf,_0x2b84d3[0x36]),_0x2fc6a7=_0x2bf3b7(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x449285,0x15,_0x2b84d3[0x37]),_0x2b154a=_0x2bf3b7(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x319280,0x6,_0x2b84d3[0x38]),_0x307812=_0x2bf3b7(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x46e6c9,0xa,_0x2b84d3[0x39]),_0x199a26=_0x2bf3b7(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x3974e5,0xf,_0x2b84d3[0x3a]),_0x2fc6a7=_0x2bf3b7(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x1ef13d,0x15,_0x2b84d3[0x3b]),_0x2b154a=_0x2bf3b7(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x17fa51,0x6,_0x2b84d3[0x3c]),_0x307812=_0x2bf3b7(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x45f6e4,0xa,_0x2b84d3[0x3d]),_0x199a26=_0x2bf3b7(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x4fd2bd,0xf,_0x2b84d3[0x3e]),_0x2fc6a7=_0x2bf3b7(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x34aada,0x15,_0x2b84d3[0x3f]),_0x41d5f8[0x0]=_0x41d5f8[0x0]+_0x2b154a|0x0,_0x41d5f8[0x1]=_0x41d5f8[0x1]+_0x2fc6a7|0x0,_0x41d5f8[0x2]=_0x41d5f8[0x2]+_0x199a26|0x0,_0x41d5f8[0x3]=_0x41d5f8[0x3]+_0x307812|0x0;},'_doFinalize':function(){var _0x543019=_0x11fd1d,_0x286be2=this[_0x543019(0x35b)],_0x224fbd=_0x286be2[_0x543019(0x24d)],_0xb6ffc0=this[_0x543019(0x215)]*0x8,_0x459e63=_0x286be2['sigBytes']*0x8;_0x224fbd[_0x459e63>>>0x5]|=0x80<<0x18-_0x459e63%0x20;var _0x56d1a1=_0xfe6f77[_0x543019(0x3bf)](_0xb6ffc0/0x100000000),_0x2e19be=_0xb6ffc0;_0x224fbd[(_0x459e63+0x40>>>0x9<<0x4)+0xf]=(_0x56d1a1<<0x8|_0x56d1a1>>>0x18)&0xff00ff|(_0x56d1a1<<0x18|_0x56d1a1>>>0x8)&0xff00ff00,_0x224fbd[(_0x459e63+0x40>>>0x9<<0x4)+0xe]=(_0x2e19be<<0x8|_0x2e19be>>>0x18)&0xff00ff|(_0x2e19be<<0x18|_0x2e19be>>>0x8)&0xff00ff00,_0x286be2[_0x543019(0x526)]=(_0x224fbd[_0x543019(0x4ea)]+0x1)*0x4,this[_0x543019(0x264)]();for(var _0x325141=this[_0x543019(0x4ee)],_0x10d5b0=_0x325141[_0x543019(0x24d)],_0xd72c86=0x0;_0xd72c86<0x4;_0xd72c86++){var _0x1e8311=_0x10d5b0[_0xd72c86];_0x10d5b0[_0xd72c86]=(_0x1e8311<<0x8|_0x1e8311>>>0x18)&0xff00ff|(_0x1e8311<<0x18|_0x1e8311>>>0x8)&0xff00ff00;}return _0x325141;},'clone':function(){var _0x225b4e=_0x11fd1d,_0x4df6a5=_0x40378c[_0x225b4e(0x4ab)][_0x225b4e(0x508)](this);return _0x4df6a5[_0x225b4e(0x4ee)]=this[_0x225b4e(0x4ee)][_0x225b4e(0x4ab)](),_0x4df6a5;}});function _0x5c1829(_0x3e3f5d,_0x2f5b77,_0x3073bb,_0x5c1fc2,_0xa9e4df,_0x418d9d,_0x489956){var _0x220541=_0x3e3f5d+(_0x2f5b77&_0x3073bb|~_0x2f5b77&_0x5c1fc2)+_0xa9e4df+_0x489956;return(_0x220541<<_0x418d9d|_0x220541>>>0x20-_0x418d9d)+_0x2f5b77;}function _0x17ef8d(_0x3977c8,_0x21af71,_0x302cdb,_0x53d302,_0x17af39,_0x3eb6c0,_0x3ccae1){var _0x2da495=_0x3977c8+(_0x21af71&_0x53d302|_0x302cdb&~_0x53d302)+_0x17af39+_0x3ccae1;return(_0x2da495<<_0x3eb6c0|_0x2da495>>>0x20-_0x3eb6c0)+_0x21af71;}function _0x44dfad(_0x28b9da,_0x49043a,_0x2675c,_0x4956dd,_0x5ebf7a,_0x83db1b,_0xd2a2c4){var _0x1ba9fe=_0x28b9da+(_0x49043a^_0x2675c^_0x4956dd)+_0x5ebf7a+_0xd2a2c4;return(_0x1ba9fe<<_0x83db1b|_0x1ba9fe>>>0x20-_0x83db1b)+_0x49043a;}function _0x2bf3b7(_0x13cd72,_0x575590,_0x318b03,_0x17a51d,_0x36b6a6,_0x393aec,_0x101bc2){var _0x373bb2=_0x13cd72+(_0x318b03^(_0x575590|~_0x17a51d))+_0x36b6a6+_0x101bc2;return(_0x373bb2<<_0x393aec|_0x373bb2>>>0x20-_0x393aec)+_0x575590;}_0x2d60b1[_0x11fd1d(0x507)]=_0x40378c[_0x11fd1d(0x562)](_0x4c8630),_0x2d60b1[_0x11fd1d(0x2f3)]=_0x40378c[_0x11fd1d(0x40a)](_0x4c8630);}(Math),_0x223a8f['MD5'];}));}(ge)),ge['exports'];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x38cf52(0x2aa)],Ze;function Pi(){var _0x5976f8=_0x38cf52;return Ze||(Ze=0x1,function(_0x6f295c,_0x4d35f5){(function(_0x22848e,_0x4c3619){var _0x442bf7=_0x20ff;_0x6f295c[_0x442bf7(0x2aa)]=_0x4c3619(Q());}(Ai,function(_0x24fa62){var _0x5805c6=_0x20ff;return(function(){var _0x154506=_0x20ff,_0x57089d=_0x24fa62,_0x55389b=_0x57089d[_0x154506(0x47b)],_0x20ebc3=_0x55389b['WordArray'],_0xfabddc=_0x55389b['Hasher'],_0x383639=_0x57089d['algo'],_0x53b98c=[],_0x1b3597=_0x383639[_0x154506(0x329)]=_0xfabddc[_0x154506(0x2ad)]({'_doReset':function(){var _0x275663=_0x154506;this[_0x275663(0x4ee)]=new _0x20ebc3[(_0x275663(0x2b6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x234b8a,_0x8066){var _0x1b7462=_0x154506;for(var _0x515dc7=this[_0x1b7462(0x4ee)]['words'],_0x434b96=_0x515dc7[0x0],_0x6b462f=_0x515dc7[0x1],_0x31d130=_0x515dc7[0x2],_0x2d1b04=_0x515dc7[0x3],_0x357c91=_0x515dc7[0x4],_0x558dfa=0x0;_0x558dfa<0x50;_0x558dfa++){if(_0x558dfa<0x10)_0x53b98c[_0x558dfa]=_0x234b8a[_0x8066+_0x558dfa]|0x0;else{var _0x5d1acb=_0x53b98c[_0x558dfa-0x3]^_0x53b98c[_0x558dfa-0x8]^_0x53b98c[_0x558dfa-0xe]^_0x53b98c[_0x558dfa-0x10];_0x53b98c[_0x558dfa]=_0x5d1acb<<0x1|_0x5d1acb>>>0x1f;}var _0x3b7a32=(_0x434b96<<0x5|_0x434b96>>>0x1b)+_0x357c91+_0x53b98c[_0x558dfa];_0x558dfa<0x14?_0x3b7a32+=(_0x6b462f&_0x31d130|~_0x6b462f&_0x2d1b04)+0x5a827999:_0x558dfa<0x28?_0x3b7a32+=(_0x6b462f^_0x31d130^_0x2d1b04)+0x6ed9eba1:_0x558dfa<0x3c?_0x3b7a32+=(_0x6b462f&_0x31d130|_0x6b462f&_0x2d1b04|_0x31d130&_0x2d1b04)-0x70e44324:_0x3b7a32+=(_0x6b462f^_0x31d130^_0x2d1b04)-0x359d3e2a,_0x357c91=_0x2d1b04,_0x2d1b04=_0x31d130,_0x31d130=_0x6b462f<<0x1e|_0x6b462f>>>0x2,_0x6b462f=_0x434b96,_0x434b96=_0x3b7a32;}_0x515dc7[0x0]=_0x515dc7[0x0]+_0x434b96|0x0,_0x515dc7[0x1]=_0x515dc7[0x1]+_0x6b462f|0x0,_0x515dc7[0x2]=_0x515dc7[0x2]+_0x31d130|0x0,_0x515dc7[0x3]=_0x515dc7[0x3]+_0x2d1b04|0x0,_0x515dc7[0x4]=_0x515dc7[0x4]+_0x357c91|0x0;},'_doFinalize':function(){var _0x1c49b9=_0x154506,_0x2b201a=this[_0x1c49b9(0x35b)],_0x421c5c=_0x2b201a[_0x1c49b9(0x24d)],_0x46c043=this[_0x1c49b9(0x215)]*0x8,_0x3809b7=_0x2b201a[_0x1c49b9(0x526)]*0x8;return _0x421c5c[_0x3809b7>>>0x5]|=0x80<<0x18-_0x3809b7%0x20,_0x421c5c[(_0x3809b7+0x40>>>0x9<<0x4)+0xe]=Math[_0x1c49b9(0x3bf)](_0x46c043/0x100000000),_0x421c5c[(_0x3809b7+0x40>>>0x9<<0x4)+0xf]=_0x46c043,_0x2b201a[_0x1c49b9(0x526)]=_0x421c5c[_0x1c49b9(0x4ea)]*0x4,this['_process'](),this[_0x1c49b9(0x4ee)];},'clone':function(){var _0x172d09=_0x154506,_0x3844d4=_0xfabddc['clone']['call'](this);return _0x3844d4[_0x172d09(0x4ee)]=this[_0x172d09(0x4ee)][_0x172d09(0x4ab)](),_0x3844d4;}});_0x57089d[_0x154506(0x329)]=_0xfabddc[_0x154506(0x562)](_0x1b3597),_0x57089d[_0x154506(0x2a6)]=_0xfabddc[_0x154506(0x40a)](_0x1b3597);}()),_0x24fa62[_0x5805c6(0x329)];}));}(me)),me[_0x5976f8(0x2aa)];}var Ce={'exports':{}},Li=Ce[_0x38cf52(0x2aa)],Qe;function wi(){var _0x5567cd=_0x38cf52;return Qe||(Qe=0x1,function(_0x300664,_0x1666e1){(function(_0x13ec2c,_0x49eb47){var _0x1313ec=_0x20ff;_0x300664[_0x1313ec(0x2aa)]=_0x49eb47(Q());}(Li,function(_0x167b64){(function(){var _0x311259=_0x20ff,_0x11da3f=_0x167b64,_0x58fdf9=_0x11da3f[_0x311259(0x47b)],_0x40ad7e=_0x58fdf9[_0x311259(0x4d0)],_0x450d78=_0x11da3f['enc'],_0x3aa48d=_0x450d78[_0x311259(0x4af)],_0x17fb89=_0x11da3f[_0x311259(0x3c1)];_0x17fb89[_0x311259(0x443)]=_0x40ad7e[_0x311259(0x2ad)]({'init':function(_0x11e45e,_0x5de9b7){var _0x289ba2=_0x311259;_0x11e45e=this['_hasher']=new _0x11e45e['init'](),typeof _0x5de9b7=='string'&&(_0x5de9b7=_0x3aa48d['parse'](_0x5de9b7));var _0x489389=_0x11e45e[_0x289ba2(0x357)],_0x1f4f15=_0x489389*0x4;_0x5de9b7[_0x289ba2(0x526)]>_0x1f4f15&&(_0x5de9b7=_0x11e45e[_0x289ba2(0x56f)](_0x5de9b7)),_0x5de9b7['clamp']();for(var _0x23fd21=this[_0x289ba2(0x3d3)]=_0x5de9b7[_0x289ba2(0x4ab)](),_0x2bb6bf=this[_0x289ba2(0x539)]=_0x5de9b7[_0x289ba2(0x4ab)](),_0x3d07d5=_0x23fd21[_0x289ba2(0x24d)],_0xb150b8=_0x2bb6bf[_0x289ba2(0x24d)],_0x5be050=0x0;_0x5be050<_0x489389;_0x5be050++)_0x3d07d5[_0x5be050]^=0x5c5c5c5c,_0xb150b8[_0x5be050]^=0x36363636;_0x23fd21[_0x289ba2(0x526)]=_0x2bb6bf[_0x289ba2(0x526)]=_0x1f4f15,this[_0x289ba2(0x32f)]();},'reset':function(){var _0x464f1f=_0x311259,_0x190154=this['_hasher'];_0x190154['reset'](),_0x190154[_0x464f1f(0x4db)](this[_0x464f1f(0x539)]);},'update':function(_0x223372){var _0x2d4618=_0x311259;return this[_0x2d4618(0x33e)]['update'](_0x223372),this;},'finalize':function(_0x404f94){var _0x4d5744=_0x311259,_0x2a7f5d=this[_0x4d5744(0x33e)],_0x2fe976=_0x2a7f5d['finalize'](_0x404f94);_0x2a7f5d['reset']();var _0x184cf3=_0x2a7f5d['finalize'](this[_0x4d5744(0x3d3)]['clone']()[_0x4d5744(0x34b)](_0x2fe976));return _0x184cf3;}});}());}));}(Ce)),Ce[_0x5567cd(0x2aa)];}var Mi=Ee[_0x38cf52(0x2aa)],et;function Nt(){var _0x2b8eb5=_0x38cf52;return et||(et=0x1,function(_0xeeb67e,_0x102b97){(function(_0x50e5f6,_0xf4d603,_0x552a44){var _0x3a177d=_0x20ff;_0xeeb67e[_0x3a177d(0x2aa)]=_0xf4d603(Q(),Pi(),wi());}(Mi,function(_0x435026){var _0x1dd769=_0x20ff;return(function(){var _0xf56194=_0x20ff,_0x342299=_0x435026,_0x322a59=_0x342299['lib'],_0x554182=_0x322a59['Base'],_0x581979=_0x322a59[_0xf56194(0x285)],_0x427197=_0x342299['algo'],_0x4acdcc=_0x427197[_0xf56194(0x507)],_0x313760=_0x427197['EvpKDF']=_0x554182[_0xf56194(0x2ad)]({'cfg':_0x554182[_0xf56194(0x2ad)]({'keySize':0x80/0x20,'hasher':_0x4acdcc,'iterations':0x1}),'init':function(_0x529c9e){var _0x462780=_0xf56194;this[_0x462780(0x53b)]=this[_0x462780(0x53b)]['extend'](_0x529c9e);},'compute':function(_0x560999,_0x48dcb8){var _0x1ddf13=_0xf56194;for(var _0x4a1631,_0x59bcfa=this[_0x1ddf13(0x53b)],_0x427127=_0x59bcfa[_0x1ddf13(0x2f8)][_0x1ddf13(0x330)](),_0x36aa27=_0x581979['create'](),_0x37ba83=_0x36aa27['words'],_0x502692=_0x59bcfa[_0x1ddf13(0x309)],_0x4256d6=_0x59bcfa[_0x1ddf13(0x22c)];_0x37ba83[_0x1ddf13(0x4ea)]<_0x502692;){_0x4a1631&&_0x427127['update'](_0x4a1631),_0x4a1631=_0x427127[_0x1ddf13(0x4db)](_0x560999)[_0x1ddf13(0x56f)](_0x48dcb8),_0x427127['reset']();for(var _0x4eabae=0x1;_0x4eabae<_0x4256d6;_0x4eabae++)_0x4a1631=_0x427127[_0x1ddf13(0x56f)](_0x4a1631),_0x427127[_0x1ddf13(0x32f)]();_0x36aa27[_0x1ddf13(0x34b)](_0x4a1631);}return _0x36aa27['sigBytes']=_0x502692*0x4,_0x36aa27;}});_0x342299[_0xf56194(0x214)]=function(_0x324b80,_0x49dcc0,_0x4e7abf){var _0x5b6678=_0xf56194;return _0x313760[_0x5b6678(0x330)](_0x4e7abf)[_0x5b6678(0x481)](_0x324b80,_0x49dcc0);};}()),_0x435026[_0x1dd769(0x214)];}));}(Ee)),Ee[_0x2b8eb5(0x2aa)];}var Te={'exports':{}},xi=Te['exports'],tt;function Dt(){var _0x1ffd94=_0x38cf52;return tt||(tt=0x1,function(_0x1a9c8e,_0x55acfc){(function(_0x449469,_0x4df8f3,_0x795be1){_0x1a9c8e['exports']=_0x4df8f3(Q(),Nt());}(xi,function(_0x16a4a3){var _0x4b6fe9=_0x20ff;_0x16a4a3[_0x4b6fe9(0x47b)][_0x4b6fe9(0x3ee)]||function(_0x13f750){var _0x2a162e=_0x4b6fe9,_0x965ef2=_0x16a4a3,_0x4cbfaa=_0x965ef2['lib'],_0x129a13=_0x4cbfaa[_0x2a162e(0x4d0)],_0x9a73b4=_0x4cbfaa['WordArray'],_0x5ad705=_0x4cbfaa[_0x2a162e(0x3ca)],_0xc93e84=_0x965ef2['enc'];_0xc93e84[_0x2a162e(0x4af)];var _0x3638d0=_0xc93e84[_0x2a162e(0x394)],_0x7b81ff=_0x965ef2['algo'],_0x3b72ff=_0x7b81ff[_0x2a162e(0x214)],_0x54aba9=_0x4cbfaa[_0x2a162e(0x3ee)]=_0x5ad705[_0x2a162e(0x2ad)]({'cfg':_0x129a13['extend'](),'createEncryptor':function(_0x292d96,_0x1d4b32){var _0x3161c6=_0x2a162e;return this[_0x3161c6(0x330)](this[_0x3161c6(0x295)],_0x292d96,_0x1d4b32);},'createDecryptor':function(_0x243b6c,_0x516ed3){var _0xfd4344=_0x2a162e;return this[_0xfd4344(0x330)](this[_0xfd4344(0x347)],_0x243b6c,_0x516ed3);},'init':function(_0x529e56,_0x5e6737,_0x3fcc88){var _0x3829ac=_0x2a162e;this[_0x3829ac(0x53b)]=this[_0x3829ac(0x53b)][_0x3829ac(0x2ad)](_0x3fcc88),this[_0x3829ac(0x4e7)]=_0x529e56,this[_0x3829ac(0x527)]=_0x5e6737,this[_0x3829ac(0x32f)]();},'reset':function(){var _0x2ccca5=_0x2a162e;_0x5ad705['reset'][_0x2ccca5(0x508)](this),this[_0x2ccca5(0x420)]();},'process':function(_0x4108e){var _0x3cf598=_0x2a162e;return this[_0x3cf598(0x4d3)](_0x4108e),this[_0x3cf598(0x264)]();},'finalize':function(_0x53564f){var _0x50fe95=_0x2a162e;_0x53564f&&this[_0x50fe95(0x4d3)](_0x53564f);var _0x17d9fc=this['_doFinalize']();return _0x17d9fc;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x512fe2(_0x5de226){var _0x162a1a=_0x20ff;return typeof _0x5de226==_0x162a1a(0x31a)?_0x3d25a1:_0x57a545;}return function(_0x357493){return{'encrypt':function(_0x119ed4,_0x25a31e,_0xea575){var _0x1378e3=_0x20ff;return _0x512fe2(_0x25a31e)[_0x1378e3(0x2b3)](_0x357493,_0x119ed4,_0x25a31e,_0xea575);},'decrypt':function(_0x406d9b,_0xeee60f,_0x98aa96){var _0x29e075=_0x20ff;return _0x512fe2(_0xeee60f)[_0x29e075(0x26d)](_0x357493,_0x406d9b,_0xeee60f,_0x98aa96);}};};}())});_0x4cbfaa[_0x2a162e(0x3e9)]=_0x54aba9[_0x2a162e(0x2ad)]({'_doFinalize':function(){var _0x324e6d=this['_process'](!0x0);return _0x324e6d;},'blockSize':0x1});var _0x54a809=_0x965ef2[_0x2a162e(0x25d)]={},_0x1abac8=_0x4cbfaa[_0x2a162e(0x25a)]=_0x129a13[_0x2a162e(0x2ad)]({'createEncryptor':function(_0x23375f,_0x1962ff){var _0xe75b5b=_0x2a162e;return this[_0xe75b5b(0x2ff)]['create'](_0x23375f,_0x1962ff);},'createDecryptor':function(_0x4e7da7,_0x4a1e7c){var _0x7ff637=_0x2a162e;return this[_0x7ff637(0x340)][_0x7ff637(0x330)](_0x4e7da7,_0x4a1e7c);},'init':function(_0x57c464,_0x2fda8c){var _0x2ca793=_0x2a162e;this[_0x2ca793(0x2c7)]=_0x57c464,this[_0x2ca793(0x4ca)]=_0x2fda8c;}}),_0x4e5b66=_0x54a809[_0x2a162e(0x472)]=(function(){var _0x4a2434=_0x2a162e,_0x4b3987=_0x1abac8[_0x4a2434(0x2ad)]();_0x4b3987[_0x4a2434(0x2ff)]=_0x4b3987[_0x4a2434(0x2ad)]({'processBlock':function(_0x2b67d0,_0x290dcb){var _0x322a23=_0x4a2434,_0x441716=this[_0x322a23(0x2c7)],_0x348b53=_0x441716[_0x322a23(0x357)];_0x466d24['call'](this,_0x2b67d0,_0x290dcb,_0x348b53),_0x441716[_0x322a23(0x298)](_0x2b67d0,_0x290dcb),this[_0x322a23(0x352)]=_0x2b67d0[_0x322a23(0x342)](_0x290dcb,_0x290dcb+_0x348b53);}}),_0x4b3987['Decryptor']=_0x4b3987['extend']({'processBlock':function(_0x161aa5,_0x2471f6){var _0x51d875=_0x4a2434,_0x33e77b=this[_0x51d875(0x2c7)],_0x47a663=_0x33e77b['blockSize'],_0x3f3946=_0x161aa5[_0x51d875(0x342)](_0x2471f6,_0x2471f6+_0x47a663);_0x33e77b[_0x51d875(0x39a)](_0x161aa5,_0x2471f6),_0x466d24['call'](this,_0x161aa5,_0x2471f6,_0x47a663),this[_0x51d875(0x352)]=_0x3f3946;}});function _0x466d24(_0x388661,_0x335609,_0x2fa8e5){var _0x2dd429=_0x4a2434,_0x4d4c45,_0x1d35d9=this[_0x2dd429(0x4ca)];_0x1d35d9?(_0x4d4c45=_0x1d35d9,this[_0x2dd429(0x4ca)]=_0x13f750):_0x4d4c45=this[_0x2dd429(0x352)];for(var _0x188a93=0x0;_0x188a93<_0x2fa8e5;_0x188a93++)_0x388661[_0x335609+_0x188a93]^=_0x4d4c45[_0x188a93];}return _0x4b3987;}()),_0x2f7e02=_0x965ef2[_0x2a162e(0x4f7)]={},_0x51d796=_0x2f7e02[_0x2a162e(0x2e1)]={'pad':function(_0x573116,_0x4df92a){var _0x52791f=_0x2a162e;for(var _0x2fc9de=_0x4df92a*0x4,_0x45b2a1=_0x2fc9de-_0x573116[_0x52791f(0x526)]%_0x2fc9de,_0x184125=_0x45b2a1<<0x18|_0x45b2a1<<0x10|_0x45b2a1<<0x8|_0x45b2a1,_0x36f1e7=[],_0x231b2a=0x0;_0x231b2a<_0x45b2a1;_0x231b2a+=0x4)_0x36f1e7[_0x52791f(0x398)](_0x184125);var _0x5a932c=_0x9a73b4[_0x52791f(0x330)](_0x36f1e7,_0x45b2a1);_0x573116[_0x52791f(0x34b)](_0x5a932c);},'unpad':function(_0x26c9dd){var _0x305563=_0x2a162e,_0x2309ce=_0x26c9dd[_0x305563(0x24d)][_0x26c9dd[_0x305563(0x526)]-0x1>>>0x2]&0xff;_0x26c9dd[_0x305563(0x526)]-=_0x2309ce;}};_0x4cbfaa[_0x2a162e(0x518)]=_0x54aba9[_0x2a162e(0x2ad)]({'cfg':_0x54aba9[_0x2a162e(0x53b)][_0x2a162e(0x2ad)]({'mode':_0x4e5b66,'padding':_0x51d796}),'reset':function(){var _0x5e9c76=_0x2a162e,_0x4d758a;_0x54aba9[_0x5e9c76(0x32f)][_0x5e9c76(0x508)](this);var _0x478f7f=this['cfg'],_0x4e38e9=_0x478f7f['iv'],_0x1f1562=_0x478f7f[_0x5e9c76(0x25d)];this[_0x5e9c76(0x4e7)]==this[_0x5e9c76(0x295)]?_0x4d758a=_0x1f1562[_0x5e9c76(0x4ba)]:(_0x4d758a=_0x1f1562[_0x5e9c76(0x4cd)],this[_0x5e9c76(0x336)]=0x1),this[_0x5e9c76(0x2af)]&&this['_mode'][_0x5e9c76(0x3d5)]==_0x4d758a?this['_mode'][_0x5e9c76(0x2b6)](this,_0x4e38e9&&_0x4e38e9[_0x5e9c76(0x24d)]):(this[_0x5e9c76(0x2af)]=_0x4d758a[_0x5e9c76(0x508)](_0x1f1562,this,_0x4e38e9&&_0x4e38e9['words']),this['_mode'][_0x5e9c76(0x3d5)]=_0x4d758a);},'_doProcessBlock':function(_0x75aab5,_0x2aabac){var _0x14b8ca=_0x2a162e;this[_0x14b8ca(0x2af)][_0x14b8ca(0x36a)](_0x75aab5,_0x2aabac);},'_doFinalize':function(){var _0x266943=_0x2a162e,_0x4da89e,_0xa2a9b3=this[_0x266943(0x53b)][_0x266943(0x537)];return this[_0x266943(0x4e7)]==this['_ENC_XFORM_MODE']?(_0xa2a9b3[_0x266943(0x4f7)](this['_data'],this[_0x266943(0x357)]),_0x4da89e=this['_process'](!0x0)):(_0x4da89e=this['_process'](!0x0),_0xa2a9b3[_0x266943(0x226)](_0x4da89e)),_0x4da89e;},'blockSize':0x80/0x20});var _0x5b10c2=_0x4cbfaa[_0x2a162e(0x203)]=_0x129a13[_0x2a162e(0x2ad)]({'init':function(_0x4df187){var _0x52756c=_0x2a162e;this[_0x52756c(0x502)](_0x4df187);},'toString':function(_0x54c504){var _0x55fc59=_0x2a162e;return(_0x54c504||this[_0x55fc59(0x25f)])['stringify'](this);}}),_0x3261f3=_0x965ef2[_0x2a162e(0x252)]={},_0x47fc9f=_0x3261f3[_0x2a162e(0x3df)]={'stringify':function(_0x404be0){var _0x32c3f=_0x2a162e,_0x2c1512,_0x30e7ba=_0x404be0[_0x32c3f(0x360)],_0x31d465=_0x404be0[_0x32c3f(0x37f)];return _0x31d465?_0x2c1512=_0x9a73b4[_0x32c3f(0x330)]([0x53616c74,0x65645f5f])['concat'](_0x31d465)[_0x32c3f(0x34b)](_0x30e7ba):_0x2c1512=_0x30e7ba,_0x2c1512[_0x32c3f(0x2da)](_0x3638d0);},'parse':function(_0x44f3c5){var _0x3184c0=_0x2a162e,_0x593e52,_0x2b97ca=_0x3638d0[_0x3184c0(0x447)](_0x44f3c5),_0x41ca65=_0x2b97ca[_0x3184c0(0x24d)];return _0x41ca65[0x0]==0x53616c74&&_0x41ca65[0x1]==0x65645f5f&&(_0x593e52=_0x9a73b4[_0x3184c0(0x330)](_0x41ca65[_0x3184c0(0x342)](0x2,0x4)),_0x41ca65['splice'](0x0,0x4),_0x2b97ca[_0x3184c0(0x526)]-=0x10),_0x5b10c2['create']({'ciphertext':_0x2b97ca,'salt':_0x593e52});}},_0x57a545=_0x4cbfaa[_0x2a162e(0x256)]=_0x129a13['extend']({'cfg':_0x129a13[_0x2a162e(0x2ad)]({'format':_0x47fc9f}),'encrypt':function(_0x41e0c3,_0x5b210a,_0x1476b3,_0x341890){var _0x5eb2f4=_0x2a162e;_0x341890=this[_0x5eb2f4(0x53b)][_0x5eb2f4(0x2ad)](_0x341890);var _0x130885=_0x41e0c3['createEncryptor'](_0x1476b3,_0x341890),_0x43b9fa=_0x130885[_0x5eb2f4(0x56f)](_0x5b210a),_0xd32344=_0x130885[_0x5eb2f4(0x53b)];return _0x5b10c2[_0x5eb2f4(0x330)]({'ciphertext':_0x43b9fa,'key':_0x1476b3,'iv':_0xd32344['iv'],'algorithm':_0x41e0c3,'mode':_0xd32344[_0x5eb2f4(0x25d)],'padding':_0xd32344[_0x5eb2f4(0x537)],'blockSize':_0x41e0c3[_0x5eb2f4(0x357)],'formatter':_0x341890[_0x5eb2f4(0x252)]});},'decrypt':function(_0x38a0a2,_0x342a9a,_0x77f0ec,_0x3b618a){var _0x148ca2=_0x2a162e;_0x3b618a=this['cfg'][_0x148ca2(0x2ad)](_0x3b618a),_0x342a9a=this[_0x148ca2(0x2f5)](_0x342a9a,_0x3b618a[_0x148ca2(0x252)]);var _0x5e0480=_0x38a0a2[_0x148ca2(0x4cd)](_0x77f0ec,_0x3b618a)[_0x148ca2(0x56f)](_0x342a9a[_0x148ca2(0x360)]);return _0x5e0480;},'_parse':function(_0x46a11a,_0x5ef473){var _0x3928fa=_0x2a162e;return typeof _0x46a11a==_0x3928fa(0x31a)?_0x5ef473[_0x3928fa(0x447)](_0x46a11a,this):_0x46a11a;}}),_0x1e7322=_0x965ef2[_0x2a162e(0x4d2)]={},_0x4d014b=_0x1e7322['OpenSSL']={'execute':function(_0x4583b3,_0x419596,_0x1e920f,_0x395870,_0x2000fb){var _0x23f1f4=_0x2a162e;if(_0x395870||(_0x395870=_0x9a73b4[_0x23f1f4(0x567)](0x40/0x8)),_0x2000fb)var _0x38d3e5=_0x3b72ff[_0x23f1f4(0x330)]({'keySize':_0x419596+_0x1e920f,'hasher':_0x2000fb})['compute'](_0x4583b3,_0x395870);else var _0x38d3e5=_0x3b72ff[_0x23f1f4(0x330)]({'keySize':_0x419596+_0x1e920f})[_0x23f1f4(0x481)](_0x4583b3,_0x395870);var _0x469301=_0x9a73b4['create'](_0x38d3e5['words'][_0x23f1f4(0x342)](_0x419596),_0x1e920f*0x4);return _0x38d3e5[_0x23f1f4(0x526)]=_0x419596*0x4,_0x5b10c2[_0x23f1f4(0x330)]({'key':_0x38d3e5,'iv':_0x469301,'salt':_0x395870});}},_0x3d25a1=_0x4cbfaa[_0x2a162e(0x282)]=_0x57a545['extend']({'cfg':_0x57a545[_0x2a162e(0x53b)][_0x2a162e(0x2ad)]({'kdf':_0x4d014b}),'encrypt':function(_0x21be22,_0x115c20,_0x11b71f,_0x3b77a2){var _0x1f3f46=_0x2a162e;_0x3b77a2=this[_0x1f3f46(0x53b)][_0x1f3f46(0x2ad)](_0x3b77a2);var _0x118884=_0x3b77a2[_0x1f3f46(0x4d2)][_0x1f3f46(0x288)](_0x11b71f,_0x21be22[_0x1f3f46(0x309)],_0x21be22[_0x1f3f46(0x2c2)],_0x3b77a2[_0x1f3f46(0x37f)],_0x3b77a2[_0x1f3f46(0x2f8)]);_0x3b77a2['iv']=_0x118884['iv'];var _0x37e965=_0x57a545[_0x1f3f46(0x2b3)]['call'](this,_0x21be22,_0x115c20,_0x118884[_0x1f3f46(0x1f2)],_0x3b77a2);return _0x37e965[_0x1f3f46(0x502)](_0x118884),_0x37e965;},'decrypt':function(_0x1950eb,_0x1130d0,_0x33565f,_0x3e4a1b){var _0x1c9c4d=_0x2a162e;_0x3e4a1b=this['cfg'][_0x1c9c4d(0x2ad)](_0x3e4a1b),_0x1130d0=this[_0x1c9c4d(0x2f5)](_0x1130d0,_0x3e4a1b[_0x1c9c4d(0x252)]);var _0x3061a6=_0x3e4a1b[_0x1c9c4d(0x4d2)][_0x1c9c4d(0x288)](_0x33565f,_0x1950eb[_0x1c9c4d(0x309)],_0x1950eb[_0x1c9c4d(0x2c2)],_0x1130d0['salt'],_0x3e4a1b[_0x1c9c4d(0x2f8)]);_0x3e4a1b['iv']=_0x3061a6['iv'];var _0x337f23=_0x57a545[_0x1c9c4d(0x26d)][_0x1c9c4d(0x508)](this,_0x1950eb,_0x1130d0,_0x3061a6[_0x1c9c4d(0x1f2)],_0x3e4a1b);return _0x337f23;}});}();}));}(Te)),Te[_0x1ffd94(0x2aa)];}var ki=fe[_0x38cf52(0x2aa)],it;function Hi(){var _0x28463b=_0x38cf52;return it||(it=0x1,function(_0x2a3509,_0x1572e9){(function(_0x2e7a4f,_0x2bf941,_0x42607f){var _0x409e7b=_0x20ff;_0x2a3509[_0x409e7b(0x2aa)]=_0x2bf941(Q(),yt(),Ui(),Nt(),Dt());}(ki,function(_0x35b849){var _0xe02a22=_0x20ff;return(function(){var _0x4a1855=_0x20ff,_0x27d911=_0x35b849,_0x5013c6=_0x27d911[_0x4a1855(0x47b)],_0x4dc0a6=_0x5013c6[_0x4a1855(0x518)],_0x355ddf=_0x27d911[_0x4a1855(0x3c1)],_0x398ffc=[],_0x323dee=[],_0x3a0f87=[],_0x4322d1=[],_0x10ffdf=[],_0x732f9c=[],_0x11cf66=[],_0x43edca=[],_0xdb80eb=[],_0x4f38ff=[];(function(){for(var _0xd1e0b5=[],_0x2d638f=0x0;_0x2d638f<0x100;_0x2d638f++)_0x2d638f<0x80?_0xd1e0b5[_0x2d638f]=_0x2d638f<<0x1:_0xd1e0b5[_0x2d638f]=_0x2d638f<<0x1^0x11b;for(var _0x1a28c5=0x0,_0x2895e6=0x0,_0x2d638f=0x0;_0x2d638f<0x100;_0x2d638f++){var _0x3c557d=_0x2895e6^_0x2895e6<<0x1^_0x2895e6<<0x2^_0x2895e6<<0x3^_0x2895e6<<0x4;_0x3c557d=_0x3c557d>>>0x8^_0x3c557d&0xff^0x63,_0x398ffc[_0x1a28c5]=_0x3c557d,_0x323dee[_0x3c557d]=_0x1a28c5;var _0x5ec838=_0xd1e0b5[_0x1a28c5],_0x2d03f7=_0xd1e0b5[_0x5ec838],_0x37abd9=_0xd1e0b5[_0x2d03f7],_0x43dd5c=_0xd1e0b5[_0x3c557d]*0x101^_0x3c557d*0x1010100;_0x3a0f87[_0x1a28c5]=_0x43dd5c<<0x18|_0x43dd5c>>>0x8,_0x4322d1[_0x1a28c5]=_0x43dd5c<<0x10|_0x43dd5c>>>0x10,_0x10ffdf[_0x1a28c5]=_0x43dd5c<<0x8|_0x43dd5c>>>0x18,_0x732f9c[_0x1a28c5]=_0x43dd5c;var _0x43dd5c=_0x37abd9*0x1010101^_0x2d03f7*0x10001^_0x5ec838*0x101^_0x1a28c5*0x1010100;_0x11cf66[_0x3c557d]=_0x43dd5c<<0x18|_0x43dd5c>>>0x8,_0x43edca[_0x3c557d]=_0x43dd5c<<0x10|_0x43dd5c>>>0x10,_0xdb80eb[_0x3c557d]=_0x43dd5c<<0x8|_0x43dd5c>>>0x18,_0x4f38ff[_0x3c557d]=_0x43dd5c,_0x1a28c5?(_0x1a28c5=_0x5ec838^_0xd1e0b5[_0xd1e0b5[_0xd1e0b5[_0x37abd9^_0x5ec838]]],_0x2895e6^=_0xd1e0b5[_0xd1e0b5[_0x2895e6]]):_0x1a28c5=_0x2895e6=0x1;}}());var _0x1ae601=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x17c884=_0x355ddf[_0x4a1855(0x306)]=_0x4dc0a6[_0x4a1855(0x2ad)]({'_doReset':function(){var _0x5d6721=_0x4a1855,_0x4b6dc6;if(!(this[_0x5d6721(0x3d0)]&&this[_0x5d6721(0x499)]===this['_key'])){for(var _0x150e61=this[_0x5d6721(0x499)]=this[_0x5d6721(0x527)],_0x54b100=_0x150e61[_0x5d6721(0x24d)],_0x237048=_0x150e61[_0x5d6721(0x526)]/0x4,_0x396430=this[_0x5d6721(0x3d0)]=_0x237048+0x6,_0x548a6b=(_0x396430+0x1)*0x4,_0x7678fb=this[_0x5d6721(0x29c)]=[],_0x5cd7be=0x0;_0x5cd7be<_0x548a6b;_0x5cd7be++)_0x5cd7be<_0x237048?_0x7678fb[_0x5cd7be]=_0x54b100[_0x5cd7be]:(_0x4b6dc6=_0x7678fb[_0x5cd7be-0x1],_0x5cd7be%_0x237048?_0x237048>0x6&&_0x5cd7be%_0x237048==0x4&&(_0x4b6dc6=_0x398ffc[_0x4b6dc6>>>0x18]<<0x18|_0x398ffc[_0x4b6dc6>>>0x10&0xff]<<0x10|_0x398ffc[_0x4b6dc6>>>0x8&0xff]<<0x8|_0x398ffc[_0x4b6dc6&0xff]):(_0x4b6dc6=_0x4b6dc6<<0x8|_0x4b6dc6>>>0x18,_0x4b6dc6=_0x398ffc[_0x4b6dc6>>>0x18]<<0x18|_0x398ffc[_0x4b6dc6>>>0x10&0xff]<<0x10|_0x398ffc[_0x4b6dc6>>>0x8&0xff]<<0x8|_0x398ffc[_0x4b6dc6&0xff],_0x4b6dc6^=_0x1ae601[_0x5cd7be/_0x237048|0x0]<<0x18),_0x7678fb[_0x5cd7be]=_0x7678fb[_0x5cd7be-_0x237048]^_0x4b6dc6);for(var _0x50cfd5=this[_0x5d6721(0x2b0)]=[],_0x3fa768=0x0;_0x3fa768<_0x548a6b;_0x3fa768++){var _0x5cd7be=_0x548a6b-_0x3fa768;if(_0x3fa768%0x4)var _0x4b6dc6=_0x7678fb[_0x5cd7be];else var _0x4b6dc6=_0x7678fb[_0x5cd7be-0x4];_0x3fa768<0x4||_0x5cd7be<=0x4?_0x50cfd5[_0x3fa768]=_0x4b6dc6:_0x50cfd5[_0x3fa768]=_0x11cf66[_0x398ffc[_0x4b6dc6>>>0x18]]^_0x43edca[_0x398ffc[_0x4b6dc6>>>0x10&0xff]]^_0xdb80eb[_0x398ffc[_0x4b6dc6>>>0x8&0xff]]^_0x4f38ff[_0x398ffc[_0x4b6dc6&0xff]];}}},'encryptBlock':function(_0x4be667,_0x39fe6e){var _0x24fbd4=_0x4a1855;this['_doCryptBlock'](_0x4be667,_0x39fe6e,this[_0x24fbd4(0x29c)],_0x3a0f87,_0x4322d1,_0x10ffdf,_0x732f9c,_0x398ffc);},'decryptBlock':function(_0x40186d,_0x283e64){var _0x27d0a3=_0x4a1855,_0x9764aa=_0x40186d[_0x283e64+0x1];_0x40186d[_0x283e64+0x1]=_0x40186d[_0x283e64+0x3],_0x40186d[_0x283e64+0x3]=_0x9764aa,this[_0x27d0a3(0x26f)](_0x40186d,_0x283e64,this['_invKeySchedule'],_0x11cf66,_0x43edca,_0xdb80eb,_0x4f38ff,_0x323dee);var _0x9764aa=_0x40186d[_0x283e64+0x1];_0x40186d[_0x283e64+0x1]=_0x40186d[_0x283e64+0x3],_0x40186d[_0x283e64+0x3]=_0x9764aa;},'_doCryptBlock':function(_0x4e269e,_0x52a485,_0x20947d,_0xabd700,_0x49df3e,_0x2aab21,_0x4c647a,_0x4edf08){var _0x3475e0=_0x4a1855;for(var _0x563bba=this[_0x3475e0(0x3d0)],_0x83a482=_0x4e269e[_0x52a485]^_0x20947d[0x0],_0x490c1c=_0x4e269e[_0x52a485+0x1]^_0x20947d[0x1],_0x3ffe98=_0x4e269e[_0x52a485+0x2]^_0x20947d[0x2],_0x5f9ea8=_0x4e269e[_0x52a485+0x3]^_0x20947d[0x3],_0x4514d8=0x4,_0x537352=0x1;_0x537352<_0x563bba;_0x537352++){var _0x3be854=_0xabd700[_0x83a482>>>0x18]^_0x49df3e[_0x490c1c>>>0x10&0xff]^_0x2aab21[_0x3ffe98>>>0x8&0xff]^_0x4c647a[_0x5f9ea8&0xff]^_0x20947d[_0x4514d8++],_0x4fec52=_0xabd700[_0x490c1c>>>0x18]^_0x49df3e[_0x3ffe98>>>0x10&0xff]^_0x2aab21[_0x5f9ea8>>>0x8&0xff]^_0x4c647a[_0x83a482&0xff]^_0x20947d[_0x4514d8++],_0x1f32da=_0xabd700[_0x3ffe98>>>0x18]^_0x49df3e[_0x5f9ea8>>>0x10&0xff]^_0x2aab21[_0x83a482>>>0x8&0xff]^_0x4c647a[_0x490c1c&0xff]^_0x20947d[_0x4514d8++],_0x160512=_0xabd700[_0x5f9ea8>>>0x18]^_0x49df3e[_0x83a482>>>0x10&0xff]^_0x2aab21[_0x490c1c>>>0x8&0xff]^_0x4c647a[_0x3ffe98&0xff]^_0x20947d[_0x4514d8++];_0x83a482=_0x3be854,_0x490c1c=_0x4fec52,_0x3ffe98=_0x1f32da,_0x5f9ea8=_0x160512;}var _0x3be854=(_0x4edf08[_0x83a482>>>0x18]<<0x18|_0x4edf08[_0x490c1c>>>0x10&0xff]<<0x10|_0x4edf08[_0x3ffe98>>>0x8&0xff]<<0x8|_0x4edf08[_0x5f9ea8&0xff])^_0x20947d[_0x4514d8++],_0x4fec52=(_0x4edf08[_0x490c1c>>>0x18]<<0x18|_0x4edf08[_0x3ffe98>>>0x10&0xff]<<0x10|_0x4edf08[_0x5f9ea8>>>0x8&0xff]<<0x8|_0x4edf08[_0x83a482&0xff])^_0x20947d[_0x4514d8++],_0x1f32da=(_0x4edf08[_0x3ffe98>>>0x18]<<0x18|_0x4edf08[_0x5f9ea8>>>0x10&0xff]<<0x10|_0x4edf08[_0x83a482>>>0x8&0xff]<<0x8|_0x4edf08[_0x490c1c&0xff])^_0x20947d[_0x4514d8++],_0x160512=(_0x4edf08[_0x5f9ea8>>>0x18]<<0x18|_0x4edf08[_0x83a482>>>0x10&0xff]<<0x10|_0x4edf08[_0x490c1c>>>0x8&0xff]<<0x8|_0x4edf08[_0x3ffe98&0xff])^_0x20947d[_0x4514d8++];_0x4e269e[_0x52a485]=_0x3be854,_0x4e269e[_0x52a485+0x1]=_0x4fec52,_0x4e269e[_0x52a485+0x2]=_0x1f32da,_0x4e269e[_0x52a485+0x3]=_0x160512;},'keySize':0x100/0x20});_0x27d911[_0x4a1855(0x306)]=_0x4dc0a6[_0x4a1855(0x562)](_0x17c884);}()),_0x35b849[_0xe02a22(0x306)];}));}(fe)),fe[_0x28463b(0x2aa)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be['exports'],rt;function Vi(){var _0x3b59ab=_0x38cf52;return rt||(rt=0x1,function(_0x37320a,_0x1a197d){(function(_0x4c75dc,_0x5cbd80){var _0x4709c6=_0x20ff;_0x37320a[_0x4709c6(0x2aa)]=_0x5cbd80(Q());}(Fi,function(_0x4d408a){var _0xdbdb2e=_0x20ff;return _0x4d408a[_0xdbdb2e(0x570)][_0xdbdb2e(0x4af)];}));}(be)),be[_0x3b59ab(0x2aa)];}var Wi=Vi();const Yi=ve(Wi);var Re={'exports':{}},Gi=Re[_0x38cf52(0x2aa)],st;function Ki(){var _0x107adf=_0x38cf52;return st||(st=0x1,function(_0x9e1cb6,_0x4c51b8){(function(_0x21af32,_0x336659){var _0x312974=_0x20ff;_0x9e1cb6[_0x312974(0x2aa)]=_0x336659(Q());}(Gi,function(_0x2cc270){return(function(){var _0x558a99=_0x20ff;if(typeof ArrayBuffer=='function'){var _0x156d7b=_0x2cc270,_0x2549e4=_0x156d7b['lib'],_0x25408d=_0x2549e4['WordArray'],_0x594779=_0x25408d['init'],_0x299b2e=_0x25408d[_0x558a99(0x2b6)]=function(_0x550ee8){var _0x6515a8=_0x558a99;if(_0x550ee8 instanceof ArrayBuffer&&(_0x550ee8=new Uint8Array(_0x550ee8)),(_0x550ee8 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x550ee8 instanceof Uint8ClampedArray||_0x550ee8 instanceof Int16Array||_0x550ee8 instanceof Uint16Array||_0x550ee8 instanceof Int32Array||_0x550ee8 instanceof Uint32Array||_0x550ee8 instanceof Float32Array||_0x550ee8 instanceof Float64Array)&&(_0x550ee8=new Uint8Array(_0x550ee8['buffer'],_0x550ee8[_0x6515a8(0x4ac)],_0x550ee8[_0x6515a8(0x440)])),_0x550ee8 instanceof Uint8Array){for(var _0x4f9141=_0x550ee8[_0x6515a8(0x440)],_0x458c4f=[],_0x3f12cc=0x0;_0x3f12cc<_0x4f9141;_0x3f12cc++)_0x458c4f[_0x3f12cc>>>0x2]|=_0x550ee8[_0x3f12cc]<<0x18-_0x3f12cc%0x4*0x8;_0x594779[_0x6515a8(0x508)](this,_0x458c4f,_0x4f9141);}else _0x594779[_0x6515a8(0x30c)](this,arguments);};_0x299b2e['prototype']=_0x25408d;}}()),_0x2cc270['lib']['WordArray'];}));}(Re)),Re[_0x107adf(0x2aa)];}var qi=Ki();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x38cf52(0x2aa)],ot;function Xi(){var _0x4bc43e=_0x38cf52;return ot||(ot=0x1,function(_0x38d0af,_0x134dee){(function(_0x23af5c,_0x4b4aa8,_0x13426c){var _0x245b56=_0x20ff;_0x38d0af[_0x245b56(0x2aa)]=_0x4b4aa8(Q(),Dt());}(Ji,function(_0xb3c06e){var _0x202836=_0x20ff;return _0xb3c06e['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0xb3c06e[_0x202836(0x4f7)][_0x202836(0x223)];}));}(Oe)),Oe[_0x4bc43e(0x2aa)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x414332,_0x264211){var _0x34a681=_0x38cf52;const _0x324626=_0x264211-_0x414332[_0x34a681(0x4ea)]%_0x264211,_0x410a65=String['fromCharCode'](_0x324626)[_0x34a681(0x547)](_0x324626);return _0x414332+_0x410a65;}function tn(_0x5e430d,_0x4177bb){var _0x28d79c=_0x38cf52;const _0xf6415a=zi[_0x28d79c(0x567)](0x10),_0x2bdf42=en(_0x5e430d,0x10),_0x2d110c=ji[_0x28d79c(0x2b3)](Yi['parse'](_0x2bdf42),nt[_0x28d79c(0x447)](_0x4177bb),{'iv':_0xf6415a,'padding':Qi});return _0xf6415a[_0x28d79c(0x34b)](_0x2d110c[_0x28d79c(0x360)])['toString'](nt);}function _0x20ff(_0x2df4af,_0x5cce62){var _0x37e52b=_0x37e5();return _0x20ff=function(_0x20ff97,_0x5387e5){_0x20ff97=_0x20ff97-0x1ee;var _0x265930=_0x37e52b[_0x20ff97];return _0x265930;},_0x20ff(_0x2df4af,_0x5cce62);}function nn(){var _0x33b16f=_0x38cf52;const _0x16b449=Lt['getGlobalObject']()[_0x33b16f(0x52c)];if(_0x16b449){const _0x473ca9={'time':Math['floor'](Date[_0x33b16f(0x551)]()/0x3e8),'domain':location[_0x33b16f(0x50e)]};return tn(JSON[_0x33b16f(0x4a5)](_0x473ca9),_0x16b449);}}var rn=Object['getOwnPropertyDescriptor'],sn=(_0x39d1c7,_0x2262fd,_0x33881a,_0x12c719)=>{for(var _0x1ebd42=_0x12c719>0x1?void 0x0:_0x12c719?rn(_0x2262fd,_0x33881a):_0x2262fd,_0x45a230=_0x39d1c7['length']-0x1,_0x52694a;_0x45a230>=0x0;_0x45a230--)(_0x52694a=_0x39d1c7[_0x45a230])&&(_0x1ebd42=_0x52694a(_0x1ebd42)||_0x1ebd42);return _0x1ebd42;},on=(_0x20161f,_0x287edc)=>(_0x1218b9,_0x5196bb)=>_0x287edc(_0x1218b9,_0x5196bb,_0x20161f);let Ne=class{constructor(_0x5dada1){var _0x16d8aa=_0x38cf52;this[_0x16d8aa(0x4df)]=_0x5dada1,this[_0x16d8aa(0x38a)]();}[_0x38cf52(0x38a)](){var _0x5dca83=_0x38cf52;this[_0x5dca83(0x4df)][_0x5dca83(0x4cc)]({'interceptor':(_0x3564b1,_0x2c7f34)=>{var _0x4c9d8d=_0x5dca83;const _0x13485d=_0x3564b1[_0x4c9d8d(0x566)],_0x483fe7=nn();return _0x483fe7&&_0x13485d['set'](_0x4c9d8d(0x560),_0x483fe7),_0x2c7f34(_0x3564b1);}});}};Ne=sn([on(0x0,a[_0x38cf52(0x54a)](K[_0x38cf52(0x3b2)]))],Ne);var an=Object[_0x38cf52(0x28a)],cn=(_0xbc9b80,_0x5b95c5,_0x4d576f,_0x23e64a)=>{for(var _0x4e6e78=_0x23e64a>0x1?void 0x0:_0x23e64a?an(_0x5b95c5,_0x4d576f):_0x5b95c5,_0x1d161f=_0xbc9b80['length']-0x1,_0x33e2f5;_0x1d161f>=0x0;_0x1d161f--)(_0x33e2f5=_0xbc9b80[_0x1d161f])&&(_0x4e6e78=_0x33e2f5(_0x4e6e78)||_0x4e6e78);return _0x4e6e78;},Le=(_0x1b9c18,_0x21c209)=>(_0x468865,_0x274740)=>_0x21c209(_0x468865,_0x274740,_0x1b9c18);exports[_0x38cf52(0x2a5)]=class extends a[_0x38cf52(0x374)]{constructor(_0x13b712,_0x3b1a8b,_0xdd1140){var _0x307067=_0x38cf52;super(),A(this,'_unitInfo$',new $[(_0x307067(0x21e))](null)),A(this,_0x307067(0x439),this['_unitInfo$'][_0x307067(0x2ed)]()),(this[_0x307067(0x346)]=_0x13b712,this[_0x307067(0x40e)]=_0x3b1a8b,this[_0x307067(0x4ed)]=_0xdd1140);}async['loadUnitOfRevision'](_0x96817b,_0x5d1ba0,_0x5ebda2){var _0x1818f3=_0x38cf52;this['_unitInfo$'][_0x1818f3(0x546)]({'unitId':_0x96817b,'type':_0x5d1ba0});let _0x3c6030=null;switch(_0x5d1ba0){case J[_0x1818f3(0x3ec)]:{_0x3c6030=await this[_0x1818f3(0x40e)][_0x1818f3(0x541)](_0x96817b,_0x5ebda2);break;}case J['UNIVER_DOC']:{_0x3c6030=await this[_0x1818f3(0x40e)][_0x1818f3(0x3e4)](_0x96817b,_0x5ebda2);break;}default:{this[_0x1818f3(0x346)][_0x1818f3(0x373)]('[DataLoaderService]',_0x1818f3(0x521));break;}}return _0x3c6030;}async[_0x38cf52(0x37d)](_0xa82ff8,_0x556843,_0x4cf979){var _0x10b7fa=_0x38cf52,_0x2a595d;this[_0x10b7fa(0x4e5)][_0x10b7fa(0x546)]({'unitId':_0xa82ff8,'type':_0x556843,'subUnitId':_0x4cf979});let _0x696ce1=0x0;const _0x5587e3=await((_0x2a595d=this[_0x10b7fa(0x4ed)])==null?void 0x0:_0x2a595d['loadOfflineData'](_0xa82ff8));return _0x5587e3&&(_0x5587e3['awaitingChangeset']||_0x5587e3[_0x10b7fa(0x233)][_0x10b7fa(0x4ea)]!==0x0)&&(_0x696ce1=_0x5587e3[_0x10b7fa(0x368)]),_0x696ce1===0x0&&this[_0x10b7fa(0x346)][_0x10b7fa(0x2de)](_0x10b7fa(0x2d6),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x10b7fa(0x463)](_0xa82ff8,_0x556843,_0x696ce1);}},exports[_0x38cf52(0x2a5)]=cn([Le(0x0,a[_0x38cf52(0x20c)]),Le(0x1,a[_0x38cf52(0x54a)](p['SnapshotService'])),Le(0x2,a[_0x38cf52(0x383)](q))],exports['DataLoaderService']);var hn=Object['getOwnPropertyDescriptor'],_n=(_0x5030a7,_0x3f2908,_0x35ef0c,_0x56a5fb)=>{for(var _0x536610=_0x56a5fb>0x1?void 0x0:_0x56a5fb?hn(_0x3f2908,_0x35ef0c):_0x3f2908,_0x934ddc=_0x5030a7['length']-0x1,_0x54d3fe;_0x934ddc>=0x0;_0x934ddc--)(_0x54d3fe=_0x5030a7[_0x934ddc])&&(_0x536610=_0x54d3fe(_0x536610)||_0x536610);return _0x536610;},we=(_0x3c48a4,_0x320f6c)=>(_0x13369c,_0x33a50f)=>_0x320f6c(_0x13369c,_0x33a50f,_0x3c48a4);const ln=[_0x38cf52(0x57a),_0x38cf52(0x3b5),'image/jpg','image/gif',_0x38cf52(0x51a)],un=0x5*0x400*0x400,dn='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',vn=_0x38cf52(0x490),Sn=_0x38cf52(0x548),fn=_0x38cf52(0x27c);exports[_0x38cf52(0x333)]=class{constructor(_0x25f6d0,_0x5b9b2b,_0x423960){var _0x138f41=_0x38cf52;A(this,'_waitCount',0x0),A(this,'_change$',new $[(_0x138f41(0x3ef))]()),A(this,_0x138f41(0x3b8),this[_0x138f41(0x207)]),A(this,_0x138f41(0x2dd),new Map()),(this['_httpService']=_0x25f6d0,this[_0x138f41(0x515)]=_0x5b9b2b,this[_0x138f41(0x4fb)]=_0x423960);}[_0x38cf52(0x535)](_0x48159a){var _0x22e968=_0x38cf52;this[_0x22e968(0x46d)]=_0x48159a,this[_0x22e968(0x207)][_0x22e968(0x546)](_0x48159a);}[_0x38cf52(0x36c)](_0x147ce2,_0x122585){var _0x417750=_0x38cf52;if(_0x122585===z[_0x417750(0x39b)][_0x417750(0x320)]){const _0x32423c=new Image();return _0x32423c['src']=_0x147ce2,_0x32423c;}return this[_0x417750(0x2dd)][_0x417750(0x47a)](_0x147ce2);}[_0x38cf52(0x2a1)](_0x29b309,_0xab6967,_0x4d60f9){var _0xcef372=_0x38cf52;_0xab6967===z[_0xcef372(0x39b)][_0xcef372(0x320)]||_0x4d60f9==null||this['_imageSourceCache'][_0xcef372(0x31c)](_0x29b309,_0x4d60f9);}async['getImage'](_0x54ad23){var _0x51a519=_0x38cf52;try{const _0x2a73bf=this[_0x51a519(0x2a3)](this[_0x51a519(0x496)](),''+_0x54ad23),_0x3f68a5=(await this[_0x51a519(0x4df)][_0x51a519(0x47a)](_0x2a73bf))[_0x51a519(0x3a9)];if(_0x3f68a5[_0x51a519(0x373)]&&_0x3f68a5[_0x51a519(0x373)][_0x51a519(0x4f8)]===gt['OK']){const _0x507157=new URL(_0x3f68a5[_0x51a519(0x2ab)],this[_0x51a519(0x27b)]())['toString']();return Promise[_0x51a519(0x30e)](_0x507157);}return Promise[_0x51a519(0x3fa)](_0x3f68a5[_0x51a519(0x373)]);}catch(_0x344ebb){return Promise[_0x51a519(0x3fa)](_0x344ebb);}}async[_0x38cf52(0x21b)](_0x562e48){var _0x290cd9=_0x38cf52;let _0x11ba92='';if(!ln[_0x290cd9(0x2f0)](_0x562e48[_0x290cd9(0x1f5)]))return this[_0x290cd9(0x459)](),Promise['reject'](new Error(z[_0x290cd9(0x34f)][_0x290cd9(0x23d)]));if(_0x562e48['size']>un)return this[_0x290cd9(0x459)](),Promise[_0x290cd9(0x3fa)](new Error(z[_0x290cd9(0x34f)][_0x290cd9(0x23a)]));try{const _0x209d40=new FormData();_0x209d40['append'](_0x290cd9(0x411),_0x562e48);const _0x5059d4=this['_univerInstanceService'][_0x290cd9(0x4a8)](),_0x39c506=_0x5059d4==null?void 0x0:_0x5059d4['getUnitId']();if(!_0x39c506)throw new Error(_0x290cd9(0x405));const _0x5245c9=this[_0x290cd9(0x498)]()+_0x290cd9(0x23c)+_0x562e48[_0x290cd9(0x42b)][_0x290cd9(0x2da)]()+_0x290cd9(0x40f)+Et['UnitEmbedded']+'&assign='+encodeURIComponent(_0x39c506),_0x4eab76={'body':_0x209d40},_0x50d048=(await this[_0x290cd9(0x4df)][_0x290cd9(0x49e)](_0x5245c9,_0x4eab76))['body'];if(typeof _0x50d048[_0x290cd9(0x344)]!=_0x290cd9(0x31a))return this['_decreaseWaiting'](),Promise[_0x290cd9(0x3fa)](new Error(z[_0x290cd9(0x34f)]['ERROR_IMAGE']));_0x11ba92=_0x50d048[_0x290cd9(0x344)];}catch{return this[_0x290cd9(0x459)](),Promise['reject'](new Error(z[_0x290cd9(0x34f)][_0x290cd9(0x417)]));}return new Promise((_0x49b373,_0x400216)=>{var _0x10a971=_0x290cd9;const _0x4392e1=new FileReader();_0x4392e1[_0x10a971(0x2fa)](_0x562e48),_0x4392e1[_0x10a971(0x302)]=_0x438b6a=>{var _0x3972e3=_0x10a971,_0x3f2032;const _0x167683=(_0x3f2032=_0x438b6a['target'])==null?void 0x0:_0x3f2032['result'];if(_0x167683==null){this[_0x3972e3(0x459)](),_0x400216(new Error(z['ImageUploadStatusType'][_0x3972e3(0x417)]));return;}const _0x35260a=a[_0x3972e3(0x531)][_0x3972e3(0x3ac)](0x6);_0x49b373({'imageId':_0x35260a,'imageSourceType':z['ImageSourceType'][_0x3972e3(0x55f)],'source':_0x11ba92,'base64Cache':_0x167683,'status':z[_0x3972e3(0x34f)]['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x38cf52(0x498)](){var _0x12297f=_0x38cf52,_0x486f66,_0x2bbf63;const _0x3bc28d=this[_0x12297f(0x515)][_0x12297f(0x2be)](dn),_0x407250=this['_configService'][_0x12297f(0x2be)](G);return(_0x2bbf63=(_0x486f66=_0x407250==null?void 0x0:_0x407250[_0x12297f(0x524)])!=null?_0x486f66:_0x3bc28d)!=null?_0x2bbf63:vn;}[_0x38cf52(0x496)](){var _0x55ffb7=_0x38cf52,_0x37d4f4,_0x1b86b5;const _0x505d97=this[_0x55ffb7(0x515)][_0x55ffb7(0x2be)](Sn),_0x290f32=this[_0x55ffb7(0x515)][_0x55ffb7(0x2be)](G);return(_0x1b86b5=(_0x37d4f4=_0x290f32==null?void 0x0:_0x290f32[_0x55ffb7(0x3da)])!=null?_0x37d4f4:_0x505d97)!=null?_0x1b86b5:fn;}['_getDownloadEndpointURL'](){var _0x137bce=_0x38cf52,_0x9e762e;const _0x76d9ef=this[_0x137bce(0x515)]['getConfig'](G);return(_0x9e762e=_0x76d9ef==null?void 0x0:_0x76d9ef[_0x137bce(0x503)])!=null?_0x9e762e:location[_0x137bce(0x3e5)];}['_replaceFileID'](_0x13690d,_0x3f60ff){var _0x30f6a6=_0x38cf52;return _0x13690d[_0x30f6a6(0x552)](_0x30f6a6(0x509),_0x3f60ff);}['_decreaseWaiting'](){var _0x10d617=_0x38cf52;this[_0x10d617(0x46d)]-=0x1,this[_0x10d617(0x207)][_0x10d617(0x546)](this[_0x10d617(0x46d)]);}},exports[_0x38cf52(0x333)]=_n([we(0x0,a[_0x38cf52(0x54a)](K[_0x38cf52(0x3b2)])),we(0x1,a['IConfigService']),we(0x2,a[_0x38cf52(0x54a)](a['IUniverInstanceService']))],exports[_0x38cf52(0x333)]);function _0x37e5(){var _0x211b4d=['[UniverCollaborationClientPlugin]','_roomCreated$','LIVESHARE_FETCH_OPERATIONS','unitInfo$','isPermissionRej','UNDEFINED','DependentOn','putCollaborators','complete','batchAllowed','byteLength','CollaborationSocketService','MemberService','HMAC','Undefined','infoRsp','_collaborationUIEventService','parse','ALREADY_EXISTS','_config','WorkbookEditablePermission','_getCtorByUniverType','UNIVER_COLLABORATION_CLIENT_PLUGIN','ceil','_clearCollaborationTimeoutTimer','TOO_MANY_REQUESTS','UniverCollaborationPlugin','fetchMiss','list','waitForRoom$','csShouldRetryEvent','createSocket','getCollabEntity$','_status$','appendMutation','_decreaseWaiting','_injector','_rescheduleHeartbeat','_eventService','CLOSE_ROOM','_getCurrentRevision','objectID','getTypeOfUnitAdded$','onTransformState','PERMISSION_DENIED','loadUnitOfRevision','ONLINE','_map','csRejEvent','cmd','LICENSE_IMPORT_SIZE_EXCEEDED','location','collaMsg','range','_awaitingChangeset','_waitCount','_commandService','LOCAL_CACHE_INTERVAL','reqId','_transformService','CBC','EMAIL_HAS_BEEN_BOUND','_collaborationSessionService','map','JOIN','onRemoteChangeset','_isPermissionRej','MSG_FOR_ERROR','get','lib','reduce','onTransformIME','sid','_clearUndo','_state','compute','_event$','updateOfflineData','delete','_emitMembers','_schedule','collaboration_new_changeset','socket\x20open.','UnitStatus','SUBMIT_CHANGESET_TIMEOUT','_throwTelemetryCollaborationNewChangeset','getRoom','_retryConnectingTimer','pluginName','JOIN_ROOM_NOT_EXISTS','/universer-api/stream/file/upload','/universer-api/user/session-ticket','fromCollab','createIdentifier','/collaborator','closeSession','_getSignURL','IDLE','_getUploadFileURL','_keyPriorReset','setShowComponents','ENSURE_SNAPSHOT_EXECUTION','forEach','SyncedState','post','3984903LRhKZx','_onMessage','enableSingleActiveInstanceLock','LOCAL_CACHE_INTERVAL_KEY','awaiting','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','stringify','has','_handlerCallback','getFocusedUnit','error$','requireSession','clone','byteOffset','MUTATION','transformUndoRedo','Utf8','values','NO_OTHER_CLIENTS_EDITING','conflict','getInterceptPoints','_startTelemetryCollaborationNewChangeset','LIVESHARE_REQUEST_HOST','YUUMI_TABLE_NOT_FOUND_IN_UNIT','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','OPTIONAL','onCommentUpdate','createEncryptor','LocalUndoRedoService','_initDependencies','LICENSE_DISTRO_REJECTED','_toggleOffline','capture','session.room-full','CommandType','onSendChangeset','randomBytes','univer-pro.collaboration-client.network-condition.service','2584792NCVOYb','session.room-cnt-exceeds','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_socketReady','collabWebSocketUrl','_iv','univer-pro.collaboration-client-socket-service','registerHTTPInterceptor','createDecryptor','LocaleService','onLocalMutation','Base','enableCollaboration','kdf','_append','session','_clearRedo','_onRemoteChangeset','shareReplay','_onRemoteACK','Plugin','liveShareNewHost','update','_undoRedoService','_onFetchMissResult','CommentService','_httpService','_onLocalMutation','_revisionService','_reverseMap','touchDependencies','textEncoder','_unitInfo$','roomInfos','_xformMode','UnitSnapshot','[FetchMissState]','length','online$','JOINING','_localCacheService','_hash','_transformStack','updatePermissionObjEvent','_remoteChangesetQueue','changesets','_incrementRevisionNumber','selections','CompressMutationService','pending','pad','code','_sessionStatus$','prototype','_univerInstanceService','session.room-permission-denied','/unit/','11HQUCyV','getUnitOnRev','_stopTelemetryCollaborationNewChangeset','params','mixIn','downloadEndpointUrl','PERMISSION_REJ','duration','snapshot','MD5','call','{fileID}','_userManagerService','_acknowledgedAwaitingChangeset','pauseCollaboration','SheetCollaborationEntity','hostname','JOIN_ROOM_FAILED','awaiting_with_pending','_entities','Hasher','updateCollaborator','removeMember','_configService','pipe','encodeURIComponent','BlockCipher','Disposable','image/bmp','isTransformMutationsWithChangesetFailure','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','14SUpnjS','_telemetryService','USERS_ENTER','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','ILocalCacheService','_scheduleCompleteTimestamp','uploadFileServerUrl','_getUndoStack','sigBytes','_key','_resendTimeout','LIVESHARE_NEW_HOST','/object/','override','__Key__','dispose','univer-pro.collaboration-client.single-active-unit-service','entries','_permissionService','Tools','COLLAB_WEB_SOCKET_URL_KEY','clear','save\x20fail\x20reason\x20is\x20','setWaitCount','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','padding','getUnitType','_iKey','_substituteUndoStack','cfg','_clearRetryConnectingTimer','FAIL','onTransformRemoteChangesetByIMECache','fromCharCode','USER_NOT_INVITED_CODE','loadSheet','href','charAt','_syncEditingCollabCursor','_instanceService','next','repeat','EXCHANGE_SIGN_URL_SERVER_URL_KEY','COMPRESS_MUTATION_APPLY','Inject','ThresholdInterceptorFactory','disposeWithMe','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_snapshotServerService','getCurrentUser','_listenToNetworkCondition','now','replace','function','joinEvent','socketService','enableAuthServer','_initMergeInterceptor','UNIVER_PROJECT','_unitID','CollaborationSessionService','_transformSelections','[OfflineState]:\x20received\x20acknowledgement.','_transformUndoredo','OFFLINE','UUID','x-univer-host','_executeRemoteChangeset','_createHelper','SNAPSHOT_SERVER_URL_KEY','awaitingChangeset','_createInitialStateImpl','headers','random','CollaborationUIEventId','UNRECOGNIZED','LICENSE_MAX_UNITS_EXCEEDED','deleteCollaborator','_transformIMECache','COMPLETION_FINISHED','concatMap','finalize','enc','HEARTBEAT_INTERVAL_KEY','_resendWithTimeout','members$','b64DecodeUnicode','LOGIN_URL_KEY','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','POST','listRoles','COMPRESS_MUTATION_SEND','image/png','_sendingTimer','updateSnapshot','PERSON','DisposableCollection','IMentionIOService','key','charCodeAt','Could\x20not\x20dynamically\x20require\x20\x22','type','synced','[CollaborationEntity]','onStarting','Rectangle','/universer-api/oidc/authpage','_submitChangeset','_resendTimer','RichTextEditingMutation','getMemberID','_createHandler','SOCKET_FAILED','HEARTBEAT_INTERVAL','_tryEnsureSocket','CipherParams','userID','textRanges','_createSocket','_change$','APPLY_DUPLICATED','[SyncedState]:\x20received\x20rejection.','_getLoginPath','getWorkbookSelections','ILogService','WECHAT_HAS_BEEN_BOUND','COLLAB_SUBMIT_CHANGESET_URL','localCacheService','initWorkbookPermissionChange','_removeRoom','_socketService','updateMember','EvpKDF','_nDataBytes','_disableEditing','abs','MOBILE_HAS_BEEN_BOUND','_lockTransition','CollaborationEntity','saveImage','updatePermissionPoint','onCommandExecuted','BehaviorSubject','createInstance','NEW_CHANGESETS','CHANGESET_REJ','YUUMI_ALL_TABLES_IS_INVALID','NoPadding','_exhaustRemoteChangesetQueue','_initUnitPermissionChange','unpad','LICENSE_EXPORT_SIZE_EXCEEDED','PSEUDO_FETCH_MISSING_RESULT','INTERNAL_ERROR','shouldCloseConn','$super','iterations','sequenceExecute','JOIN_ROOM_FULL','_doFinalize','IConfigService','_members','transformMutationsWithChangeset','mutations','isInternalEditorID','SNAPSHOT_URL_KEY','startsWith','/rev/','APPLY_REVISION_CONFILICT','hasOwnProperty','ERROR_EXCEED_SIZE','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','?size=','ERROR_IMAGE_TYPE','Injector','IUniverInstanceService','onTransformRemoteChangesetByStateCache','_shouldReportTelemetry','filter','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','UPDATE_PERMISSION_OBJ','_singleActiveUnitService','People','newCsEvent','PendingState','[PendingState]:\x20received\x20rejection.','SEND_CHANGESET_TIMEOUT','socket$','_getSendChangesetTimeout','words','_init','unitId','getValue','_clearLocalCache','format','snapshotServerUrl','catch','MentionIoHttpService','SerializableCipher','unit-cache-','[OfflineState]:\x20received\x20changeset.','loadOfflineData','BlockCipherMode','_pendingMutations','OTHER_CLIENT_EDITING','mode','_onRemoteRejected','formatter','FetchingMissState','send','_redoStacks','_localeService','_process','objectType','subUnitId','baseRev','ICollaborationSocketService','UNKNOWN_CMD','CollaborationUIEventService','startTime','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','decrypt','APPLY_REJECT','_doCryptBlock','unitID','toggleOnline','onMissedChangesetFetched','ICommandService','_updateState','5753650uIHrqO','/-/object/-/batch_allowed','getDeserializedSheetBlock','session.room-not-exists','PENDING','toDisposable','_getDownloadEndpointURL','/universer-api/file/{fileID}/sign-url','disableLocalCache','editingUnit','[CollaborationSession]','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_onCombEvent','PasswordBasedCipher','\x20to\x20','_sessions','WordArray','_registerDependencies','CollaborativeUndoRedoService','execute','max','getOwnPropertyDescriptor','/resources','_clearHeartbeatTimer','getAllMembers','state$','collabSubmitChangesetUrl','INVITE_CODE_HAS_BEEN_UES','state','YUUMI_ASYNCIO_CANCELLED','ITransformService','NOT_FOUND','_ENC_XFORM_MODE','defineProperty','refreshPermission','encryptBlock','uuidv4','m2Prime','_getRedoStack','_keySchedule','YUUMI_AI_RUN_FAILED','onRemoteRej','interceptor','\x0aCurrent:\x20','addImageSourceCache','confirm','_replaceFileID','localeService','DataLoaderService','HmacSHA1','/allowed','getMember','CollaborationController','exports','url','fetchMissingChangesets','extend','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_mode','_invKeySchedule','open$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','encrypt','AUTHZ_URL_KEY','_commentUpdate$','init','originalMeta','UNAUTHENTICATED','ITelemetryService','_onRemoteRetry','collaboratorID','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','MergeInterceptorFactory','getConfig','SYNCED','getCurrentRevOfUnit','_fetchMissChangesets','ivSize','updateCursorEvent','HttpExport','_transformStateCache','copyFileMeta','_cipher','isTransformChangesetsSuccess','transformStack\x20failed!','sheets','Workbook','INVALID_ARGUMENT','responseType','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_sender','collaborators','getLocalCacheKey','getSnapshotAPIPath','delay','[CollaborationUndoRedoService]','YUUMI_SUBSCRIPTION_NOT_FOUND','[DataLoaderService]','UNIVER_DOC','join','USERS_LEAVE','toString','take','_state$','_imageSourceCache','debug','_joinRoom','_onUserLeave','Pkcs7','_collaborationTimeoutTimer','Failed\x20to\x20update\x20permission\x20point','put','parseChangesetToProtocol','SnapshotServerOverHTTPService','587420PPyMGQ','_memberService','onTransformSelections','SNAPSHOT_INVALID_SNAPSHOT','memberID','Module','asObservable','findIndex','UNIVER_SLIDE','includes','_scheduleCollaborationTimeoutTimer','OTHER_CLIENTS_EDITING','HmacMD5','_createInitialState','_parse','SNAPSHOT_HAS_BEEN_REMOVED','saveSheetBlock','hasher','reconnect','readAsDataURL','AwaitingState','Malformed\x20UTF-8\x20data','onMissingChangesets','getCurrentSelections','Encryptor','CONFLICT','revision','onload','CHANGESET_ACK','_changesetReqId','UPDATE_CURSOR','AES','_toggleOnline','ISnapshotServerService','keySize','[CollaborationSessionService]:\x20socket\x20error','resend','apply','setCurrentUser','resolve','IContextService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','event$','sessionStatus$','UNIVER_UNKNOWN','UniverCollaborationClientPlugin','toggleOffline','SheetPermissionInitController','HEARTBEAT_TIMEOUT_KEY','SUBMIT_CHANGESET','139863yqqRbV','string','_unlockTransition','set','_getAPIPrefixPath','_members$','indexOf','BASE64','3084tndSnh','CHANGESET_REVISION_CONFILICT','stopTime','IPermissionService','objects','dispose$','OfflineState','FETCH_MISS','SHA1','MentionType','UniverNetworkPlugin','/-/object/list','getUnitId','YUUMI_UNABLE_LOAD_URL','reset','create','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','isArray','CollaborationImageIoService','_waitForHeartbeatResponse','_compressMutationService','_minBufferSize','FETCH_MISSING','deserializeToCombResponse','_candidateSocket','_timeoutTimer','HTTPRequest','parseProtocolChangeset','GLOBAL_ROOMS_CNT_EXCEEDS','_hasher','/universer-api/snapshot/','Decryptor','requestParams','slice','telemetry\x20info\x20is\x20not\x20initialized','FileId','5QRbdQM','_logService','_DEC_XFORM_MODE','AuthzIoHttpService','RECV','INetworkConditionService','concat','INVALID_INVITE_CODE','[CollaborationSessionService]','_checkMissing','ImageUploadStatusType','_updateStatus','JOIN_ROOM_PERMISSION_DENIED','_prevBlock','_onConnectionFailed','_doCreateSocket','workbook','sin','blockSize','crypto','onSyncEditingCollabCursor','_transformRemoteChangesetByIMECache','_data','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_applyRemoteChangeset','getTypeOfUnitDisposed$','INGEST','ciphertext','onStateChange','unsubscribe','saveSnapshot','_HTTPService','IAuthzIoService','every','equals','rev','entityInit$','processBlock','_clearScheduledTask','getImageSourceCache','CHANGESET_SHOULD_RETRY','_getAPIPrefix','subscribe','_collaborationPaused','splice','SheetTransformSelectionsService','error','RxDisposable','retryConnectingInterval','auth.needGotoLoginAlert','YUUMI_NO_CUBOID_FOR_QUESTION','_collabSessionService','_handler','_socket$','_clearTimeoutTimer','JSONX','loadUnit','_tryReconnect','salt','HttpImport','status','LOGIN_FAILED','Optional','__esModule','transformChangesets','/universer-api/snapshot','authzUrl','from','c1Prime','_initRequestHeader','ConflictState','\x0aAfter:\x20','UNKNOWN_CODE','_onJoinRoomEvent','UserManagerService','msCrypto','unknown','_telemetryInfo','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Base64','EMAIL_VERIFY_CODE_MISMATCH','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','UserProfileImg','push','LEAVE','decryptBlock','ImageSourceType','eventID','connection\x20error','InsertSheetMutation','_networkConditionService','_changesetSessionId','message$','socket\x20close','_sendHeartbeat','INVITE_CODE_REQUIRED','sessionStatus','_transitionLocked','roles','firstValueFrom','body','RevisionService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','generateRandomId','AwaitingWithPendingState','find','ReplaySubject','getActiveSheet','DocCollaborationEntity','HTTPService','method','session.join-failed','image/jpeg','/universer-api/comb','add','change$','onRemoteAck','[CollaborationState]:\x20apply\x20error!','COLLAB_SUBMIT_CHANGESET_URL_KEY','data','onRemoteRetry','sendChangesetTimeout','floor','getSheetBlock','algo','PY_RUNTIME_SCRIPT_ERROR','EmptyMutation','_onRecvEvent','/new_changes','getRandomValues','_retryCount','_entityInit$','status$','BufferedBlockAlgorithm','offline','SetSelectionsOperation','getTime','mergeOverrideWithDependencies','HEARTBEAT_TIMEOUT','_nRounds','CONNECTOR_DATA_TOO_LARGE','_startCollaboration','_oKey','symbol','__creator','_sheetTransformSelectionsService','_updateLocalCache','_sendHeartbeatTimer','_onOffline','signUrlServerUrl','min','close','members','SOCKET_FAILED_RETRY','OpenSSL','_onUserJoin','isTransformMutationsWithChangesetSuccess','onlyLocal','setConfig','loadDoc','origin','_substituteRedoStack','transformSelections','_socketMessageSubscription','StreamCipher','Hex','CollaborationSession','UNIVER_SHEET','_roomMembers','Cipher','Subject','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','withCredentials','fetch_missing','AWAITING','collaboration-client.config','_onConflict','UNISCRIPT_RUN','?url=','leaveEvent','uniscriptRunEvent','reject','YUUMI_RATE_OVER_LIMIT','takeUntil','compose','ws://127.0.0.1:8000/universer-api/comb/connect','SessionStatus','allowed','CollaborationEvent','then','_showConflictNotification','_queuedRemoteChangesets','unitId\x20is\x20not\x20found','getSheetId','_type','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_createHmacHelper','_replayCachedMutations','routeKey','APPLY_PERMISSION_DENIED','_snapshotService','&source=','Error\x20on\x20receiving\x20event','file','HELLO','not_collab','216154zhReGg','/object','clamp','ERROR_IMAGE','executeCommand','fetchThroughInterceptors','getCollabEntity','collaboration-client.local-cache-service','APPLY_NON_SEQUENTIAL_REVISION','subject','3332LiJmsO','_commentService','_doReset','[PendingState]:\x20unhandled\x20univer\x20type:\x20','YUUMI_CONNECTOR_URL_NOT_FOUND','mapDocumentTypeToUniverType','saveChangeset','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','CollaborationStatus','emitEvent','_socket','merge','MOBILE_VERIFY_CODE_MISMATCH','size','_onConnectionOpen','name','UniverInstanceType','/block/','IUndoRedoService','actions','HEARTBEAT','readInt32LE','LIVESHARE_OPERATION','commentUpdate$'];_0x37e5=function(){return _0x211b4d;};return _0x37e5();}var In=Object[_0x38cf52(0x28a)],pn=(_0x3904b6,_0x218eae,_0x4b9f7d,_0x573680)=>{var _0x2b206a=_0x38cf52;for(var _0x241c45=_0x573680>0x1?void 0x0:_0x573680?In(_0x218eae,_0x4b9f7d):_0x218eae,_0x5498b4=_0x3904b6[_0x2b206a(0x4ea)]-0x1,_0x1a37ab;_0x5498b4>=0x0;_0x5498b4--)(_0x1a37ab=_0x3904b6[_0x5498b4])&&(_0x241c45=_0x1a37ab(_0x241c45)||_0x241c45);return _0x241c45;},at=(_0x13a66c,_0x5d8832)=>(_0x4d1013,_0x21d9e6)=>_0x5d8832(_0x4d1013,_0x21d9e6,_0x13a66c);const gn='/universer-api/authz';exports['MentionIoHttpService']=class{constructor(_0x175ea0,_0x4db646){var _0x1266e1=_0x38cf52;this[_0x1266e1(0x515)]=_0x175ea0,this[_0x1266e1(0x364)]=_0x4db646;}[_0x38cf52(0x31d)](){var _0x220cb7=_0x38cf52,_0x4cdf40,_0x306f6f;const _0x2074a9=this[_0x220cb7(0x515)][_0x220cb7(0x2be)](Ve),_0x124c24=this[_0x220cb7(0x515)][_0x220cb7(0x2be)](G);return(_0x306f6f=(_0x4cdf40=_0x124c24==null?void 0x0:_0x124c24[_0x220cb7(0x387)])!=null?_0x4cdf40:_0x2074a9)!=null?_0x306f6f:gn;}async['list'](_0x4f8d43){var _0x2752c4=_0x38cf52;const _0x4f0ea5=this['_getAPIPrefixPath']()+_0x2752c4(0x494);return{'list':[{'title':_0x2752c4(0x246),'mentions':(await this[_0x2752c4(0x364)][_0x2752c4(0x47a)](_0x4f0ea5,{'params':{'objectID':_0x4f8d43['unitId'],'unitID':_0x4f8d43[_0x2752c4(0x24f)]}}))[_0x2752c4(0x3a9)][_0x2752c4(0x2d0)]['map'](_0x15c691=>({'objectId':_0x15c691['id'],'name':_0x15c691[_0x2752c4(0x41d)][_0x2752c4(0x42d)],'metadata':{'icon':_0x15c691['subject']['avatar']},'label':_0x15c691['subject']['name'],'objectType':a['MentionType'][_0x2752c4(0x1ef)]})),'metadata':{},'type':a[_0x2752c4(0x32a)][_0x2752c4(0x1ef)]}]};}},exports['MentionIoHttpService']=pn([at(0x0,a['Inject'](a[_0x38cf52(0x230)])),at(0x1,a['Inject'](K['HTTPService']))],exports['MentionIoHttpService']);var En=Object['getOwnPropertyDescriptor'],mn=(_0x5158bd,_0x4ac957,_0x48bc04,_0x189115)=>{var _0x32f2d4=_0x38cf52;for(var _0x39b320=_0x189115>0x1?void 0x0:_0x189115?En(_0x4ac957,_0x48bc04):_0x4ac957,_0x40bc9e=_0x5158bd[_0x32f2d4(0x4ea)]-0x1,_0x2e2107;_0x40bc9e>=0x0;_0x40bc9e--)(_0x2e2107=_0x5158bd[_0x40bc9e])&&(_0x39b320=_0x2e2107(_0x39b320)||_0x39b320);return _0x39b320;},le=(_0x907264,_0x275220)=>(_0x55c430,_0x9eb36c)=>_0x275220(_0x55c430,_0x9eb36c,_0x907264);let De=class extends a[_0x38cf52(0x374)]{constructor(_0x629bf8,_0x2f1152,_0x93400f,_0x54c836,_0x3df2bb){var _0xe20499=_0x38cf52;super(),this['_injector']=_0x629bf8,this['_univerInstanceService']=_0x2f1152,this['_permissionService']=_0x93400f,this[_0xe20499(0x474)]=_0x54c836,this[_0xe20499(0x446)]=_0x3df2bb,this['_initUnitPermissionChange'](),this['_initCloseConn']();}['_initCloseConn'](){var _0x5ad40b=_0x38cf52;const _0x17f919=async _0x455f4e=>{var _0x379a8c=_0x20ff;(await this[_0x379a8c(0x474)][_0x379a8c(0x4aa)](_0x455f4e))[_0x379a8c(0x311)][_0x379a8c(0x516)](V[_0x379a8c(0x242)](_0x1d1670=>_0x1d1670['eventID']===p[_0x379a8c(0x401)]['SHOULD_CLOSE_CONN']),V['takeUntil'](this[_0x379a8c(0x326)]))[_0x379a8c(0x36f)](_0x1c7cc2=>{var _0x3f9671=_0x379a8c;const _0x5f58fe=_0x1c7cc2,{reason:_0x1367c7}=_0x5f58fe[_0x3f9671(0x3bc)];this[_0x3f9671(0x446)][_0x3f9671(0x427)]({'id':Z[_0x3f9671(0x45d)],'data':_0x1367c7}),this[_0x3f9671(0x530)]['updatePermissionPoint'](new X['WorkbookEditablePermission'](_0x455f4e)['id'],!0x1),this[_0x3f9671(0x474)]['closeSession'](_0x455f4e);});};$[_0x5ad40b(0x429)](this[_0x5ad40b(0x4fb)]['getTypeOfUnitAdded$'](a[_0x5ad40b(0x42e)][_0x5ad40b(0x3ec)]),this[_0x5ad40b(0x4fb)][_0x5ad40b(0x460)](a[_0x5ad40b(0x42e)]['UNIVER_DOC']))['pipe'](V[_0x5ad40b(0x475)](_0x5ce955=>_0x5ce955[_0x5ad40b(0x32d)]()),V['filter'](_0x1f6bfe=>!a[_0x5ad40b(0x234)](_0x1f6bfe)),V[_0x5ad40b(0x3fc)](this[_0x5ad40b(0x326)]))['subscribe'](_0x2db982=>{_0x17f919(_0x2db982);});}[_0x38cf52(0x225)](){var _0x150b44=_0x38cf52;const _0x44db68=async _0x5b852a=>{var _0x445c4c=_0x20ff;const _0x41a058=await this[_0x445c4c(0x474)][_0x445c4c(0x4aa)](_0x5b852a),_0x1fe736=this['_injector'][_0x445c4c(0x47a)](X[_0x445c4c(0x316)]);_0x41a058[_0x445c4c(0x311)][_0x445c4c(0x516)](V[_0x445c4c(0x242)](_0x2aeaa1=>_0x2aeaa1[_0x445c4c(0x39c)]===p['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),V[_0x445c4c(0x3fc)](this[_0x445c4c(0x326)]))['subscribe'](_0xda8f66=>{var _0x71a1cf=_0x445c4c;const _0x441582=_0xda8f66,{objectId:_0x14c418}=_0x441582['data'];_0x14c418===_0x5b852a?_0x1fe736[_0x71a1cf(0x210)](_0x5b852a):_0x1fe736[_0x71a1cf(0x297)](_0x5b852a,_0x14c418);});};$['merge'](this[_0x150b44(0x4fb)]['getTypeOfUnitAdded$'](a[_0x150b44(0x42e)][_0x150b44(0x3ec)]))[_0x150b44(0x516)](V[_0x150b44(0x475)](_0xdc299d=>_0xdc299d[_0x150b44(0x32d)]()),V['filter'](_0x5d9eab=>!a[_0x150b44(0x234)](_0x5d9eab)),V['takeUntil'](this[_0x150b44(0x326)]))[_0x150b44(0x36f)](_0x4b9f9c=>{_0x44db68(_0x4b9f9c);});}};De=mn([le(0x0,a[_0x38cf52(0x54a)](a[_0x38cf52(0x23e)])),le(0x1,a[_0x38cf52(0x23f)]),le(0x2,a[_0x38cf52(0x324)]),le(0x3,a['Inject'](exports[_0x38cf52(0x55a)])),le(0x4,a[_0x38cf52(0x54a)](ee))],De);var Cn=Object[_0x38cf52(0x28a)],Tn=(_0x940b28,_0x5b0279,_0x5a2b1d,_0x39f318)=>{for(var _0x42e4d9=_0x39f318>0x1?void 0x0:_0x39f318?Cn(_0x5b0279,_0x5a2b1d):_0x5b0279,_0x3e31cc=_0x940b28['length']-0x1,_0x2b5d5c;_0x3e31cc>=0x0;_0x3e31cc--)(_0x2b5d5c=_0x940b28[_0x3e31cc])&&(_0x42e4d9=_0x2b5d5c(_0x42e4d9)||_0x42e4d9);return _0x42e4d9;},ct=(_0x211ac3,_0x1280c4)=>(_0x4a554b,_0x445705)=>_0x1280c4(_0x4a554b,_0x445705,_0x211ac3);exports[_0x38cf52(0x2e6)]=class{constructor(_0x352c3a,_0x199653){this['_configService']=_0x352c3a,this['_httpService']=_0x199653;}async[_0x38cf52(0x4ff)](_0x5d0657,_0x3b72c5){var _0x5bbfa8=_0x38cf52,_0x439c42;const {unitID:_0x2596a9,type:_0x53206d,revision:_0x10ee8a=0x0}=_0x3b72c5,_0x1f5b1e=this[_0x5bbfa8(0x2d2)]()+'/'+_0x53206d+_0x5bbfa8(0x4fd)+_0x2596a9+_0x5bbfa8(0x237)+_0x10ee8a,_0x5d62ed=(await this['_httpService'][_0x5bbfa8(0x47a)](_0x1f5b1e))['body'],_0x4e3d8d=(_0x439c42=_0x5d62ed[_0x5bbfa8(0x506)])==null?void 0x0:_0x439c42[_0x5bbfa8(0x355)];if(_0x4e3d8d){const _0x11f483=_0x4e3d8d==null?void 0x0:_0x4e3d8d[_0x5bbfa8(0x2b7)],_0x3f21dc=p[_0x5bbfa8(0x4e4)]['encode'](p['b64DecodeUnicode'](_0x11f483));_0x4e3d8d[_0x5bbfa8(0x2b7)]=_0x3f21dc,Object[_0x5bbfa8(0x52f)](_0x4e3d8d[_0x5bbfa8(0x2ca)])[_0x5bbfa8(0x49c)](([,_0x2019bf])=>{var _0x111511=_0x5bbfa8;const _0x1e8fc0=_0x2019bf[_0x111511(0x2b7)],_0x24b653=p[_0x111511(0x4e4)]['encode'](p[_0x111511(0x574)](_0x1e8fc0));_0x2019bf[_0x111511(0x2b7)]=_0x24b653;});}return _0x5d62ed;}async[_0x38cf52(0x3c0)](_0x258c36,_0x585b5d){var _0x5c6b3f=_0x38cf52;const {unitID:_0x3085df,type:_0x2a33e8,blockID:_0x1931e7}=_0x585b5d,_0x18de47=this['_getAPIPrefix']()+'/'+_0x2a33e8+_0x5c6b3f(0x4fd)+_0x3085df+_0x5c6b3f(0x42f)+_0x1931e7;return(await this[_0x5c6b3f(0x4df)][_0x5c6b3f(0x47a)](_0x18de47))[_0x5c6b3f(0x3a9)];}async[_0x38cf52(0x277)](_0x4ab748,_0xf8045a){var _0x36f814=_0x38cf52;const {unitID:_0x493676,type:_0x383d7b,blockID:_0x326931}=_0xf8045a,_0xd96c3a=this[_0x36f814(0x36e)]()+_0x36f814(0x42f)+_0x383d7b+_0x36f814(0x4fd)+_0x493676+'/block/'+_0x326931;return(await this['_httpService'][_0x36f814(0x47a)](_0xd96c3a))[_0x36f814(0x3a9)];}async[_0x38cf52(0x2ac)](_0x49291d,_0x11d7cb){var _0xdadda4=_0x38cf52;const {unitID:_0x8e40c7,type:_0x495762,from:_0x5a2f43,to:_0x5d759f}=_0x11d7cb,_0x127463=this[_0xdadda4(0x36e)]()+'/'+_0x495762+_0xdadda4(0x4fd)+_0x8e40c7+'/fetchmissing?from='+_0x5a2f43+'&to='+_0x5d759f;return(await this[_0xdadda4(0x4df)][_0xdadda4(0x47a)](_0x127463))[_0xdadda4(0x3a9)];}[_0x38cf52(0x2d2)](){var _0x1c19d6=_0x38cf52,_0x468880;return(_0x468880=this[_0x1c19d6(0x515)][_0x1c19d6(0x2be)](lt))!=null?_0x468880:this['_getAPIPrefix']();}[_0x38cf52(0x36e)](){var _0x4789eb=_0x38cf52,_0x10d2cb,_0x42a66d;const _0x337a8e=this[_0x4789eb(0x515)][_0x4789eb(0x2be)](_t),_0x410828=this['_configService'][_0x4789eb(0x2be)](G);return(_0x42a66d=(_0x10d2cb=_0x410828==null?void 0x0:_0x410828[_0x4789eb(0x253)])!=null?_0x10d2cb:_0x337a8e)!=null?_0x42a66d:wt;}async['getResourcesRequest'](_0x52edd6,_0x3a6966){var _0x3a97d7=_0x38cf52;const _0x2f9e8e=_0x3a97d7(0x33f)+_0x3a6966[_0x3a97d7(0x1f5)]+_0x3a97d7(0x4fd)+_0x3a6966[_0x3a97d7(0x270)]+_0x3a97d7(0x28b);return(await this[_0x3a97d7(0x4df)]['get'](_0x2f9e8e,{'params':{'resourceId':JSON['stringify'](_0x3a6966['resourceIDs'])}}))[_0x3a97d7(0x3a9)];}[_0x38cf52(0x363)](){var _0x4fcec9=_0x38cf52;throw new Error(_0x4fcec9(0x310));}[_0x38cf52(0x1ee)](){var _0x410171=_0x38cf52;throw new Error(_0x410171(0x310));}[_0x38cf52(0x2f7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x38cf52(0x424)](){var _0x4d6076=_0x38cf52;throw new Error(_0x4d6076(0x310));}[_0x38cf52(0x2c6)](){var _0x293136=_0x38cf52;throw new Error(_0x293136(0x310));}['getLatestCsReqIdBySid'](){var _0x49ee03=_0x38cf52;throw new Error(_0x49ee03(0x310));}},exports[_0x38cf52(0x2e6)]=Tn([ct(0x0,a['IConfigService']),ct(0x1,a[_0x38cf52(0x54a)](K[_0x38cf52(0x3b2)]))],exports[_0x38cf52(0x2e6)]);var bn=Object[_0x38cf52(0x28a)],Rn=(_0x40f4e4,_0x395541,_0x16aae1,_0x743222)=>{var _0x50c3c2=_0x38cf52;for(var _0x37168c=_0x743222>0x1?void 0x0:_0x743222?bn(_0x395541,_0x16aae1):_0x395541,_0x902e2=_0x40f4e4[_0x50c3c2(0x4ea)]-0x1,_0x1f63c2;_0x902e2>=0x0;_0x902e2--)(_0x1f63c2=_0x40f4e4[_0x902e2])&&(_0x37168c=_0x1f63c2(_0x37168c)||_0x37168c);return _0x37168c;},ue=(_0x448a93,_0x144fea)=>(_0x2c5135,_0x1ed81a)=>_0x144fea(_0x2c5135,_0x1ed81a,_0x448a93);exports[_0x38cf52(0x287)]=class extends a[_0x38cf52(0x4bb)]{constructor(_0x3d781e,_0x1e4a14,_0x2be716,_0xd1e6b6,_0x4d80ae){var _0x132413=_0x38cf52;super(_0x3d781e,_0x1e4a14,_0x2be716),this[_0x132413(0x471)]=_0xd1e6b6,this[_0x132413(0x346)]=_0x4d80ae;}[_0x38cf52(0x4ae)](_0x2bad82,_0x141757){var _0x4c716f=_0x38cf52;const _0x599108=this[_0x4c716f(0x525)](_0x2bad82);if(_0x599108)try{const _0x453bc2=this[_0x4c716f(0x4ef)](_0x599108,_0x141757);this[_0x4c716f(0x53a)](_0x2bad82,_0x453bc2);}catch(_0x1d638e){this['_logService']['error'](_0x4c716f(0x2d4),_0x1d638e),this[_0x4c716f(0x47f)](_0x2bad82);}const _0x111195=this[_0x4c716f(0x29b)](_0x2bad82);if(_0x111195)try{const _0x460a77=this[_0x4c716f(0x4ef)](_0x111195,_0x141757);this[_0x4c716f(0x3e6)](_0x2bad82,_0x460a77);}catch(_0x108aa){this['_logService'][_0x4c716f(0x373)](_0x108aa),this['_clearRedo'](_0x2bad82);}}[_0x38cf52(0x47f)](_0x53692b){var _0x1f6ec0=_0x38cf52;const _0x50038f=this[_0x1f6ec0(0x525)](_0x53692b);_0x50038f&&(_0x50038f['length']=0x0,this['_updateStatus']());}[_0x38cf52(0x4d5)](_0x58d560){var _0x36c1ca=_0x38cf52;const _0x11e817=this['_getRedoStack'](_0x58d560);_0x11e817&&(_0x11e817[_0x36c1ca(0x4ea)]=0x0,this[_0x36c1ca(0x350)]());}['_substituteUndoStack'](_0x590685,_0xbbf907){var _0x406c52=_0x38cf52;this['_undoStacks'][_0x406c52(0x31c)](_0x590685,_0xbbf907),this[_0x406c52(0x350)]();}['_substituteRedoStack'](_0x23cce9,_0x1c6166){var _0xe2c84d=_0x38cf52;this[_0xe2c84d(0x262)][_0xe2c84d(0x31c)](_0x23cce9,_0x1c6166),this[_0xe2c84d(0x350)]();}[_0x38cf52(0x4ef)](_0x9658cd,_0x314713){var _0x2a67c5=_0x38cf52;const _0x2e747b=[];let _0x4a0cc8=_0x314713,_0x322733=_0x314713;for(let _0x1c21e8=_0x9658cd[_0x2a67c5(0x4ea)]-0x1;_0x1c21e8>=0x0;_0x1c21e8--){const {unitID:_0x2454fb,undoMutations:_0xa174d6,redoMutations:_0x4b8bc7}=_0x9658cd[_0x1c21e8],_0x208a0d=this['_transformService'][_0x2a67c5(0x232)](_0x4a0cc8,_0xa174d6),_0x29d679=this[_0x2a67c5(0x471)][_0x2a67c5(0x232)](_0x322733,_0x4b8bc7);if(p[_0x2a67c5(0x51b)](_0x208a0d)||p[_0x2a67c5(0x51b)](_0x29d679)){this[_0x2a67c5(0x346)][_0x2a67c5(0x373)](_0x2a67c5(0x2d4),_0x2a67c5(0x2c9),_0x208a0d,_0x29d679);break;}_0x4a0cc8=_0x208a0d['c1Prime'],_0x322733=_0x29d679[_0x2a67c5(0x389)],_0x2e747b[_0x2a67c5(0x398)]({'unitID':_0x2454fb,'undoMutations':_0x208a0d[_0x2a67c5(0x29a)],'redoMutations':_0x29d679[_0x2a67c5(0x29a)]});}return _0x2e747b['reverse']();}},exports[_0x38cf52(0x287)]=Rn([ue(0x0,a['IUniverInstanceService']),ue(0x1,a['ICommandService']),ue(0x2,a[_0x38cf52(0x30f)]),ue(0x3,p[_0x38cf52(0x293)]),ue(0x4,a[_0x38cf52(0x20c)])],exports[_0x38cf52(0x287)]);var On=Object[_0x38cf52(0x296)],yn=Object[_0x38cf52(0x28a)],Nn=(_0xf4e58b,_0x8a64aa,_0x13a00b)=>_0x8a64aa in _0xf4e58b?On(_0xf4e58b,_0x8a64aa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13a00b}):_0xf4e58b[_0x8a64aa]=_0x13a00b,Dn=(_0x2cbbe2,_0x1efbf1,_0x31031c,_0x4f8ee0)=>{var _0x4d067f=_0x38cf52;for(var _0x14ed24=_0x4f8ee0>0x1?void 0x0:_0x4f8ee0?yn(_0x1efbf1,_0x31031c):_0x1efbf1,_0xede24a=_0x2cbbe2[_0x4d067f(0x4ea)]-0x1,_0x77ae2d;_0xede24a>=0x0;_0xede24a--)(_0x77ae2d=_0x2cbbe2[_0xede24a])&&(_0x14ed24=_0x77ae2d(_0x14ed24)||_0x14ed24);return _0x14ed24;},Me=(_0x2625df,_0x318e7e)=>(_0x3fc490,_0xbc0fab)=>_0x318e7e(_0x3fc490,_0xbc0fab,_0x2625df),Un=(_0x36d61e,_0xb719d9,_0x510583)=>Nn(_0x36d61e,_0xb719d9+'',_0x510583);const An=_0x38cf52(0x44c);exports[_0x38cf52(0x314)]=class extends a[_0x38cf52(0x4d9)]{constructor(_0x1dbcdb,_0x274e43,_0x54b981,_0x1e9695){var _0x2468e9=_0x38cf52;super(),A(this,_0x2468e9(0x449)),(this['_logService']=_0x274e43,this[_0x2468e9(0x45a)]=_0x54b981,this[_0x2468e9(0x515)]=_0x1e9695);const {..._0x505e2e}=a[_0x2468e9(0x429)]({},Kt,_0x1dbcdb);if(!_0x505e2e[_0x2468e9(0x555)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x2468e9(0x449)]=_0x505e2e,this['_configService'][_0x2468e9(0x3e3)](G,_0x505e2e);}[_0x38cf52(0x1f8)](){var _0x4410b8=_0x38cf52;this[_0x4410b8(0x286)](),this[_0x4410b8(0x4bc)]();}['_registerDependencies'](){var _0x4028d8=_0x38cf52,_0x2c182a,_0x564f40;this['_injector'][_0x4028d8(0x4a6)](a[_0x4028d8(0x430)])&&this[_0x4028d8(0x346)][_0x4028d8(0x373)](_0x4028d8(0x436),_0x4028d8(0x396));const _0x564ef7=a[_0x4028d8(0x3ce)]([[a[_0x4028d8(0x430)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports['CollaborationSessionService']],[exports['MemberService']],[exports[_0x4028d8(0x372)]],[ye],[Ne],[$e],[De],[ee],[exports[_0x4028d8(0x2a5)]],[He,{'useClass':this[_0x4028d8(0x449)][_0x4028d8(0x555)]}],[p[_0x4028d8(0x308)],{'useClass':exports[_0x4028d8(0x2e6)]}],[a[_0x4028d8(0x365)],{'useClass':exports[_0x4028d8(0x348)]}],[z['IImageIoService'],{'useClass':exports[_0x4028d8(0x333)]}],[a[_0x4028d8(0x1f1)],{'useClass':exports[_0x4028d8(0x255)]}],[exports[_0x4028d8(0x2a9)]],[xe]],(_0x2c182a=this[_0x4028d8(0x449)])==null?void 0x0:_0x2c182a[_0x4028d8(0x52b)]);if(!((_0x564f40=this['_config'])!=null&&_0x564f40[_0x4028d8(0x4a1)])){const _0x2404f9=_0x564ef7[_0x4028d8(0x2ee)](([_0x37779a])=>_0x37779a===de);_0x2404f9!==-0x1&&_0x564ef7[_0x4028d8(0x371)](_0x2404f9,0x1);}a['registerDependencies'](this[_0x4028d8(0x45a)],_0x564ef7);}[_0x38cf52(0x4bc)](){var _0x30257b=_0x38cf52,_0x14baf6,_0x29ffa0,_0xc0d5a8;this['_injector'][_0x30257b(0x47a)](K['HTTPService'])[_0x30257b(0x4cc)]({'priority':0x14,'interceptor':K[_0x30257b(0x54b)]({'maxParallel':0x6})}),(_0x14baf6=this[_0x30257b(0x449)])!=null&&_0x14baf6['enableOfflineEditing']||(_0x29ffa0=this['_injector']['get'](q,a['Quantity'][_0x30257b(0x4b8)]))==null||_0x29ffa0[_0x30257b(0x27d)](),(_0xc0d5a8=this['_config'])!=null&&_0xc0d5a8[_0x30257b(0x556)]&&a[_0x30257b(0x4e3)](this['_injector'],[[ye]]),a['touchDependencies'](this[_0x30257b(0x45a)],[[Ne],[exports[_0x30257b(0x2a9)]],[De]]);}},Un(exports['UniverCollaborationClientPlugin'],_0x38cf52(0x48e),An),exports['UniverCollaborationClientPlugin']=Dn([a[_0x38cf52(0x43c)](p[_0x38cf52(0x450)],K[_0x38cf52(0x32b)]),Me(0x1,a[_0x38cf52(0x20c)]),Me(0x2,a['Inject'](a[_0x38cf52(0x23e)])),Me(0x3,a['IConfigService'])],exports[_0x38cf52(0x314)]),exports[_0x38cf52(0x2b4)]=Ve,exports[_0x38cf52(0x2ce)]=G,exports[_0x38cf52(0x3bb)]=It,exports[_0x38cf52(0x532)]=ut,exports[_0x38cf52(0x426)]=Be,exports[_0x38cf52(0x568)]=Z,exports[_0x38cf52(0x26a)]=ee,exports[_0x38cf52(0x4de)]=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=dt,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=Gt,exports['DEFAULT_WS_SESSION_TICKET_URL']=kt,exports[_0x38cf52(0x571)]=vt,exports[_0x38cf52(0x317)]=ke,exports[_0x38cf52(0x268)]=He,exports[_0x38cf52(0x522)]=q,exports[_0x38cf52(0x34a)]=mt,exports['ISingleActiveUnitService']=de,exports['LOCAL_CACHE_INTERVAL']=Ft,exports[_0x38cf52(0x4a2)]=Bt,exports['LOGIN_URL_KEY']=pt,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=Yt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ft,exports['SEND_CHANGESET_TIMEOUT_KEY']=Mt,exports[_0x38cf52(0x563)]=_t,exports[_0x38cf52(0x235)]=lt,exports[_0x38cf52(0x3ff)]=re,exports[_0x38cf52(0x489)]=je,exports[_0x38cf52(0x338)]=Ct,exports[_0x38cf52(0x2d1)]=oi,exports['serializeCombRequest']=Tt;
|
1
|
+
'use strict';var _0x6122a6=_0x726b;(function(_0x529822,_0x3b19aa){var _0x24578a=_0x726b,_0x4a61e6=_0x529822();while(!![]){try{var _0x279b9b=parseInt(_0x24578a(0x41c))/0x1+-parseInt(_0x24578a(0x388))/0x2+-parseInt(_0x24578a(0x22b))/0x3*(-parseInt(_0x24578a(0x3fc))/0x4)+parseInt(_0x24578a(0x1f2))/0x5+parseInt(_0x24578a(0x21d))/0x6+-parseInt(_0x24578a(0x208))/0x7*(-parseInt(_0x24578a(0x27b))/0x8)+-parseInt(_0x24578a(0x179))/0x9;if(_0x279b9b===_0x3b19aa)break;else _0x4a61e6['push'](_0x4a61e6['shift']());}catch(_0x287bc3){_0x4a61e6['push'](_0x4a61e6['shift']());}}}(_0xed10,0x314bb));var Ut=Object[_0x6122a6(0x2ed)],At=(_0x43f5d4,_0x5f3986,_0x5e9326)=>_0x5f3986 in _0x43f5d4?Ut(_0x43f5d4,_0x5f3986,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e9326}):_0x43f5d4[_0x5f3986]=_0x5e9326,A=(_0xcf3925,_0x12d048,_0x19511c)=>At(_0xcf3925,typeof _0x12d048!=_0x6122a6(0x1da)?_0x12d048+'':_0x12d048,_0x19511c);Object['defineProperty'](exports,Symbol[_0x6122a6(0x3da)],{'value':'Module'});const a=require('@univerjs/core'),$=require('rxjs'),V=require('rxjs/operators'),p=require('@univerjs-pro/collaboration'),K=require('@univerjs/network'),Pt=require('@univerjs/telemetry'),ht=require('@univerjs/docs'),X=require('@univerjs/sheets'),z=require('@univerjs/drawing'),Lt=require('@univerjs-pro/license'),_t='SNAPSHOT_SERVER_URL_KEY',wt=_0x6122a6(0x470),lt=_0x6122a6(0x346),Mt='SEND_CHANGESET_TIMEOUT',xt=0x7d0,ut=_0x6122a6(0x4d6),dt=_0x6122a6(0x371),kt=_0x6122a6(0x3d8),vt=_0x6122a6(0x194),Ht=0x7530,ke=_0x6122a6(0x445),St=0x4e20,$t=0x4e20,ft='RETRY_CONNECTING_MAX_COUNT',jt=0x3,Bt=_0x6122a6(0x290),Ft=0x3e8,It=_0x6122a6(0x3b3),Vt=_0x6122a6(0x170),pt=_0x6122a6(0x223),Wt='/universer-api/oidc/authpage',Yt=_0x6122a6(0x369),Gt='/universer-api/uniscript';var gt=(_0x17e771=>(_0x17e771[_0x17e771[_0x6122a6(0x2ca)]=0x0]=_0x6122a6(0x2ca),_0x17e771[_0x17e771['OK']=0x1]='OK',_0x17e771[_0x17e771[_0x6122a6(0x3ab)]=0x2]=_0x6122a6(0x3ab),_0x17e771[_0x17e771[_0x6122a6(0x31f)]=0x3]=_0x6122a6(0x31f),_0x17e771[_0x17e771['NOT_FOUND']=0x4]=_0x6122a6(0x2ee),_0x17e771[_0x17e771['UNAUTHENTICATED']=0x5]=_0x6122a6(0x206),_0x17e771[_0x17e771[_0x6122a6(0x417)]=0x6]=_0x6122a6(0x417),_0x17e771[_0x17e771[_0x6122a6(0x18b)]=0x7]=_0x6122a6(0x18b),_0x17e771[_0x17e771['TOO_MANY_REQUESTS']=0x8]=_0x6122a6(0x2b3),_0x17e771[_0x17e771['COMPLETION_FINISHED']=0x9]=_0x6122a6(0x1c5),_0x17e771[_0x17e771[_0x6122a6(0x335)]=0xa]='LOGIN_FAILED',_0x17e771[_0x17e771[_0x6122a6(0x34e)]=0xb]=_0x6122a6(0x34e),_0x17e771[_0x17e771[_0x6122a6(0x4c4)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x17e771[_0x17e771[_0x6122a6(0x41f)]=0xd]=_0x6122a6(0x41f),_0x17e771[_0x17e771['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x6122a6(0x2ab),_0x17e771[_0x17e771[_0x6122a6(0x1a3)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x17e771[_0x17e771['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x6122a6(0x40b),_0x17e771[_0x17e771[_0x6122a6(0x1e2)]=0x1772]=_0x6122a6(0x1e2),_0x17e771[_0x17e771['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x6122a6(0x4ce),_0x17e771[_0x17e771[_0x6122a6(0x1ee)]=0x1b59]=_0x6122a6(0x1ee),_0x17e771[_0x17e771['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x6122a6(0x4c0),_0x17e771[_0x17e771[_0x6122a6(0x20d)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x17e771[_0x17e771[_0x6122a6(0x3b4)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x17e771[_0x17e771[_0x6122a6(0x3ec)]=0x1b5d]=_0x6122a6(0x3ec),_0x17e771[_0x17e771[_0x6122a6(0x3cf)]=0x1f41]=_0x6122a6(0x3cf),_0x17e771[_0x17e771[_0x6122a6(0x4c2)]=0x2329]=_0x6122a6(0x4c2),_0x17e771[_0x17e771['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x6122a6(0x3e2),_0x17e771[_0x17e771['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x6122a6(0x478),_0x17e771[_0x17e771[_0x6122a6(0x2aa)]=0x232c]=_0x6122a6(0x2aa),_0x17e771[_0x17e771[_0x6122a6(0x183)]=0x232d]=_0x6122a6(0x183),_0x17e771[_0x17e771[_0x6122a6(0x217)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x17e771[_0x17e771[_0x6122a6(0x18c)]=0x2712]=_0x6122a6(0x18c),_0x17e771[_0x17e771[_0x6122a6(0x364)]=0x2713]=_0x6122a6(0x364),_0x17e771[_0x17e771[_0x6122a6(0x4cd)]=0x2714]=_0x6122a6(0x4cd),_0x17e771[_0x17e771[_0x6122a6(0x169)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x17e771[_0x17e771[_0x6122a6(0x32e)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x17e771[_0x17e771[_0x6122a6(0x4ad)]=0x271c]=_0x6122a6(0x4ad),_0x17e771[_0x17e771[_0x6122a6(0x2d9)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x17e771[_0x17e771['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x6122a6(0x2e0),_0x17e771[_0x17e771[_0x6122a6(0x377)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x17e771[_0x17e771[_0x6122a6(0x384)]=0x2720]=_0x6122a6(0x384),_0x17e771[_0x17e771['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x6122a6(0x347),_0x17e771[_0x17e771[_0x6122a6(0x2cf)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x17e771[_0x17e771[_0x6122a6(0x37d)]=0x2ee2]=_0x6122a6(0x37d),_0x17e771[_0x17e771[_0x6122a6(0x413)]=0x2ee3]=_0x6122a6(0x413),_0x17e771[_0x17e771[_0x6122a6(0x1f0)]=0x2ee4]=_0x6122a6(0x1f0),_0x17e771[_0x17e771[_0x6122a6(0x4a9)]=0x2ee5]=_0x6122a6(0x4a9),_0x17e771[_0x17e771['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x6122a6(0x3fd),_0x17e771[_0x17e771['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x17e771[_0x17e771[_0x6122a6(0x47a)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x17e771[_0x17e771[_0x6122a6(0x342)]=-0x1]=_0x6122a6(0x342),_0x17e771))(gt||{}),J=(_0x4d820a=>(_0x4d820a[_0x4d820a[_0x6122a6(0x49e)]=0x0]=_0x6122a6(0x49e),_0x4d820a[_0x4d820a[_0x6122a6(0x216)]=0x1]='UNIVER_DOC',_0x4d820a[_0x4d820a[_0x6122a6(0x2d0)]=0x2]=_0x6122a6(0x2d0),_0x4d820a[_0x4d820a[_0x6122a6(0x1b6)]=0x3]=_0x6122a6(0x1b6),_0x4d820a[_0x4d820a[_0x6122a6(0x416)]=0x4]=_0x6122a6(0x416),_0x4d820a[_0x4d820a[_0x6122a6(0x342)]=-0x1]=_0x6122a6(0x342),_0x4d820a))(J||{}),W=(_0x6d98a4=>(_0x6d98a4[_0x6d98a4[_0x6122a6(0x32f)]=0x0]='UNKNOWN_CMD',_0x6d98a4[_0x6d98a4['HELLO']=0x1]='HELLO',_0x6d98a4[_0x6d98a4['JOIN']=0x2]=_0x6122a6(0x3c0),_0x6d98a4[_0x6d98a4[_0x6122a6(0x395)]=0x3]=_0x6122a6(0x395),_0x6d98a4[_0x6d98a4['INGEST']=0x4]=_0x6122a6(0x1ed),_0x6d98a4[_0x6d98a4['HEARTBEAT']=0x5]=_0x6122a6(0x386),_0x6d98a4[_0x6d98a4['RECV']=0x6]=_0x6122a6(0x17c),_0x6d98a4[_0x6d98a4[_0x6122a6(0x342)]=-0x1]=_0x6122a6(0x342),_0x6d98a4))(W||{}),oe=(_0x3ec60c=>(_0x3ec60c[_0x3ec60c[_0x6122a6(0x227)]=0x0]='UNKNOWN_CODE',_0x3ec60c[_0x3ec60c['OK']=0x1]='OK',_0x3ec60c[_0x3ec60c[_0x6122a6(0x1fe)]=0x2]='FAIL',_0x3ec60c[_0x3ec60c['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x3ec60c[_0x3ec60c['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x6122a6(0x190),_0x3ec60c[_0x3ec60c[_0x6122a6(0x20f)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x3ec60c[_0x3ec60c[_0x6122a6(0x4dc)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x3ec60c[_0x3ec60c[_0x6122a6(0x342)]=-0x1]=_0x6122a6(0x342),_0x3ec60c))(oe||{}),Et=(_0x202a8a=>(_0x202a8a[_0x202a8a[_0x6122a6(0x18d)]=0x0]=_0x6122a6(0x18d),_0x202a8a[_0x202a8a[_0x6122a6(0x341)]=0x1]=_0x6122a6(0x341),_0x202a8a[_0x202a8a[_0x6122a6(0x41e)]=0x2]=_0x6122a6(0x41e),_0x202a8a[_0x202a8a[_0x6122a6(0x47d)]=0x3]=_0x6122a6(0x47d),_0x202a8a[_0x202a8a[_0x6122a6(0x2c9)]=0x4]='UnitSnapshot',_0x202a8a[_0x202a8a[_0x6122a6(0x4a1)]=0x5]='UserProfileImg',_0x202a8a[_0x202a8a[_0x6122a6(0x342)]=-0x1]=_0x6122a6(0x342),_0x202a8a))(Et||{});const G=_0x6122a6(0x435),Kt={};var Z=(_0x379fa0=>(_0x379fa0[_0x6122a6(0x362)]='OTHER_CLIENT_EDITING',_0x379fa0[_0x6122a6(0x31f)]=_0x6122a6(0x31f),_0x379fa0[_0x6122a6(0x171)]=_0x6122a6(0x171),_0x379fa0[_0x6122a6(0x31a)]=_0x6122a6(0x31a),_0x379fa0['JOIN_ROOM_FAILED']='JOIN_ROOM_FAILED',_0x379fa0[_0x6122a6(0x44f)]=_0x6122a6(0x44f),_0x379fa0['SOCKET_FAILED']=_0x6122a6(0x42c),_0x379fa0[_0x6122a6(0x3ce)]=_0x6122a6(0x3ce),_0x379fa0))(Z||{});class ee{constructor(){var _0x56653f=_0x6122a6;A(this,_0x56653f(0x2fd),new $[(_0x56653f(0x495))]()),A(this,_0x56653f(0x22d),this['_event$'][_0x56653f(0x207)]());}[_0x6122a6(0x3ad)](_0x21b784){var _0x1656c1=_0x6122a6;this[_0x1656c1(0x2fd)][_0x1656c1(0x1f4)](_0x21b784);}}const mt=a['createIdentifier']('univer-pro.collaboration-client.network-condition.service');function Ct(_0xb5793f){var _0x3f40c8=_0x6122a6,_0x33dded,_0x1934ca,_0x53e91f,_0x5e84ab,_0x225dea;const _0x2aa3fc=_0xb5793f[_0x3f40c8(0x398)],_0x43e72b=JSON[_0x3f40c8(0x42a)](_0x2aa3fc);switch(_0x43e72b['cmd']){case W['HEARTBEAT']:case W[_0x3f40c8(0x1d0)]:{const _0x4f71e1=_0x43e72b[_0x3f40c8(0x2f1)];return{..._0x43e72b,'data':_0x4f71e1,'cmd':_0x43e72b['cmd']};}case W['JOIN']:{const _0x3595bd=_0x43e72b[_0x3f40c8(0x319)];return{..._0x43e72b,'data':_0x3595bd,'cmd':_0x43e72b[_0x3f40c8(0x1fb)]};}case W[_0x3f40c8(0x17c)]:{const _0x4acf4b=_0x43e72b[_0x3f40c8(0x4ba)];switch(_0x4acf4b[_0x3f40c8(0x2fc)]){case p[_0x3f40c8(0x2b2)][_0x3f40c8(0x281)]:return{..._0x43e72b,'data':{..._0x4acf4b,'data':(_0x33dded=_0x4acf4b[_0x3f40c8(0x2d5)])==null?void 0x0:_0x33dded['cs']},'cmd':_0x43e72b[_0x3f40c8(0x1fb)]};case p[_0x3f40c8(0x2b2)]['CHANGESET_ACK']:return{..._0x43e72b,'data':{..._0x4acf4b,'data':(_0x1934ca=_0x4acf4b[_0x3f40c8(0x36c)])==null?void 0x0:_0x1934ca['cs']},'cmd':_0x43e72b[_0x3f40c8(0x1fb)]};case p[_0x3f40c8(0x2b2)]['NEW_CHANGESETS']:return{..._0x43e72b,'data':{..._0x4acf4b,'data':(_0x53e91f=_0x4acf4b[_0x3f40c8(0x313)])==null?void 0x0:_0x53e91f['cs']},'cmd':_0x43e72b[_0x3f40c8(0x1fb)]};case p['CollaborationEvent'][_0x3f40c8(0x2de)]:return{..._0x43e72b,'data':{..._0x4acf4b,'data':(_0x5e84ab=_0x4acf4b['csRejEvent'])==null?void 0x0:_0x5e84ab['cs']},'cmd':_0x43e72b[_0x3f40c8(0x1fb)]};case p['CollaborationEvent'][_0x3f40c8(0x3b6)]:return{..._0x43e72b,'data':{..._0x4acf4b,'data':(_0x225dea=_0x4acf4b[_0x3f40c8(0x443)])==null?void 0x0:_0x225dea['cs']},'cmd':_0x43e72b[_0x3f40c8(0x1fb)]};case p[_0x3f40c8(0x2b2)]['UPDATE_CURSOR']:return{..._0x43e72b,'data':{..._0x4acf4b,'data':_0x4acf4b['updateCursorEvent']},'cmd':_0x43e72b[_0x3f40c8(0x1fb)]};case p['CollaborationEvent']['USERS_ENTER']:return{..._0x43e72b,'data':{..._0x4acf4b,'data':_0x4acf4b['joinEvent']},'cmd':_0x43e72b['cmd']};case p[_0x3f40c8(0x2b2)]['USERS_LEAVE']:return{..._0x43e72b,'data':{..._0x4acf4b,'data':_0x4acf4b['leaveEvent']},'cmd':_0x43e72b['cmd']};case p['CollaborationEvent'][_0x3f40c8(0x200)]:return{..._0x43e72b,'data':{..._0x4acf4b,'data':_0x4acf4b[_0x3f40c8(0x26e)]},'cmd':_0x43e72b['cmd']};case p[_0x3f40c8(0x2b2)][_0x3f40c8(0x269)]:case p[_0x3f40c8(0x2b2)][_0x3f40c8(0x1b7)]:return{..._0x43e72b,'data':{..._0x4acf4b,'data':_0x4acf4b[_0x3f40c8(0x4c9)]},'cmd':_0x43e72b[_0x3f40c8(0x1fb)]};case p['CollaborationEvent'][_0x3f40c8(0x45d)]:return{..._0x43e72b,'data':{..._0x4acf4b,'data':_0x4acf4b[_0x3f40c8(0x26e)]},'cmd':_0x43e72b[_0x3f40c8(0x1fb)]};case p[_0x3f40c8(0x2b2)][_0x3f40c8(0x2f3)]:return{..._0x43e72b,'data':_0x4acf4b,'cmd':_0x43e72b['cmd']};case p['CollaborationEvent'][_0x3f40c8(0x3d5)]:return{..._0x43e72b,'data':{..._0x4acf4b,'data':_0x4acf4b[_0x3f40c8(0x27d)]},'cmd':_0x43e72b['cmd']};case p['CollaborationEvent'][_0x3f40c8(0x40c)]:return{..._0x43e72b,'data':{..._0x4acf4b,'data':_0x4acf4b[_0x3f40c8(0x489)]},'cmd':_0x43e72b[_0x3f40c8(0x1fb)]};case p[_0x3f40c8(0x2b2)][_0x3f40c8(0x1db)]:return{..._0x43e72b,'data':{..._0x4acf4b,'data':_0x4acf4b[_0x3f40c8(0x1f5)]},'cmd':_0x43e72b[_0x3f40c8(0x1fb)]};case p['CollaborationEvent'][_0x3f40c8(0x47b)]:return{..._0x43e72b,'data':{..._0x4acf4b,'data':_0x4acf4b[_0x3f40c8(0x3e7)]},'cmd':_0x43e72b[_0x3f40c8(0x1fb)]};default:return _0x43e72b;}}default:return _0x43e72b;}}function Tt(_0x2cd5db){var _0x16fcf6=_0x6122a6;switch(_0x2cd5db[_0x16fcf6(0x1fb)]){case W[_0x16fcf6(0x386)]:case W[_0x16fcf6(0x1d0)]:return JSON['stringify']({'cmd':_0x2cd5db[_0x16fcf6(0x1fb)],'routeKey':_0x2cd5db[_0x16fcf6(0x2e3)]});case W[_0x16fcf6(0x1ed)]:{let _0x1c030d;switch(_0x2cd5db[_0x16fcf6(0x398)][_0x16fcf6(0x2fc)]){case p[_0x16fcf6(0x2b2)][_0x16fcf6(0x354)]:{_0x1c030d={'eventID':p[_0x16fcf6(0x2b2)][_0x16fcf6(0x354)],'updateCursorEvent':_0x2cd5db['data']['data']};break;}case p[_0x16fcf6(0x2b2)][_0x16fcf6(0x279)]:{_0x1c030d={'eventID':p[_0x16fcf6(0x2b2)][_0x16fcf6(0x279)],'leaveEvent':_0x2cd5db[_0x16fcf6(0x398)][_0x16fcf6(0x398)]};break;}case p[_0x16fcf6(0x2b2)]['USERS_ENTER']:{_0x1c030d={'eventID':p[_0x16fcf6(0x2b2)][_0x16fcf6(0x34f)],'joinEvent':_0x2cd5db['data'][_0x16fcf6(0x398)]};break;}case p['CollaborationEvent']['LIVESHARE_NEW_HOST']:{_0x1c030d={'eventID':p[_0x16fcf6(0x2b2)][_0x16fcf6(0x200)],'liveShareNewHost':_0x2cd5db[_0x16fcf6(0x398)][_0x16fcf6(0x398)]};break;}case p[_0x16fcf6(0x2b2)]['LIVESHARE_OPERATION']:{_0x1c030d={'eventID':p[_0x16fcf6(0x2b2)][_0x16fcf6(0x1b7)],'liveShareOperation':_0x2cd5db[_0x16fcf6(0x398)][_0x16fcf6(0x398)]};break;}case p[_0x16fcf6(0x2b2)][_0x16fcf6(0x45d)]:{_0x1c030d={'eventID':p[_0x16fcf6(0x2b2)][_0x16fcf6(0x45d)],'liveShareTerminate':_0x2cd5db[_0x16fcf6(0x398)][_0x16fcf6(0x398)]};break;}case p[_0x16fcf6(0x2b2)][_0x16fcf6(0x166)]:{_0x1c030d={'eventID':p[_0x16fcf6(0x2b2)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x2cd5db[_0x16fcf6(0x398)][_0x16fcf6(0x398)]};break;}case p[_0x16fcf6(0x2b2)]['LIVESHARE_FETCH_OPERATIONS']:{_0x1c030d={'eventID':p['CollaborationEvent'][_0x16fcf6(0x269)]};break;}default:_0x1c030d={'eventID':_0x2cd5db[_0x16fcf6(0x398)][_0x16fcf6(0x2fc)]};}return JSON['stringify']({'cmd':_0x2cd5db[_0x16fcf6(0x1fb)],'routeKey':_0x2cd5db[_0x16fcf6(0x2e3)],'collaMsg':_0x1c030d});}case W['JOIN']:return JSON[_0x16fcf6(0x355)]({'cmd':_0x2cd5db[_0x16fcf6(0x1fb)],'routeKey':_0x2cd5db[_0x16fcf6(0x2e3)],'joinReq':_0x2cd5db[_0x16fcf6(0x398)]});case W['LEAVE']:return JSON[_0x16fcf6(0x355)]({'cmd':_0x2cd5db[_0x16fcf6(0x1fb)],'routeKey':_0x2cd5db[_0x16fcf6(0x2e3)],'leaveReq':_0x2cd5db[_0x16fcf6(0x398)]});default:throw new Error(_0x16fcf6(0x447));}}var qt=Object[_0x6122a6(0x333)],zt=(_0x401284,_0x47151a,_0x598da1,_0x44d45e)=>{for(var _0x4b7215=_0x44d45e>0x1?void 0x0:_0x44d45e?qt(_0x47151a,_0x598da1):_0x47151a,_0x3b7caa=_0x401284['length']-0x1,_0x2dfc88;_0x3b7caa>=0x0;_0x3b7caa--)(_0x2dfc88=_0x401284[_0x3b7caa])&&(_0x4b7215=_0x2dfc88(_0x4b7215)||_0x4b7215);return _0x4b7215;},_e=(_0x44b32b,_0x150ca0)=>(_0x5eb9cc,_0x478e4e)=>_0x150ca0(_0x5eb9cc,_0x478e4e,_0x44b32b);const He=a[_0x6122a6(0x1d7)]('univer-pro.collaboration-client-socket-service');function Jt(_0x4c2eac,_0x9b336e,_0xa114b1){var _0x1e7113=_0x6122a6;return _0x4c2eac+'/'+_0x9b336e+_0x1e7113(0x23b)+_0xa114b1+_0x1e7113(0x237);}exports[_0x6122a6(0x3df)]=class extends a[_0x6122a6(0x3c9)]{constructor(_0x2f134e,_0x4f0f0c,_0x24d707,_0x55e86d,_0x5abca6){var _0x288ca9=_0x6122a6;super(),this['_injector']=_0x2f134e,this['_httpService']=_0x4f0f0c,this['_configService']=_0x24d707,this['_logService']=_0x55e86d,this[_0x288ca9(0x30a)]=_0x5abca6;}['_doCreateSocket'](_0x797f19){var _0x316f13=_0x6122a6;const _0x4446de=this[_0x316f13(0x282)][_0x316f13(0x4c3)](K[_0x316f13(0x476)]);if(!_0x4446de)throw new Error(_0x316f13(0x2cc));const _0x183cb6=_0x4446de[_0x316f13(0x219)](_0x797f19);if(!_0x183cb6)throw new Error(_0x316f13(0x380));const _0x309be4=new a[(_0x316f13(0x1fc))](),_0xe82ca=new $[(_0x316f13(0x495))]();_0x309be4[_0x316f13(0x21a)](_0x183cb6[_0x316f13(0x4a8)]['subscribe'](_0x29cca1=>_0xe82ca['next'](_0x29cca1))),_0x309be4[_0x316f13(0x21a)](a['toDisposable'](()=>_0xe82ca[_0x316f13(0x43b)]()));const _0x577acc=new $[(_0x316f13(0x495))]();_0x309be4[_0x316f13(0x21a)](_0x183cb6[_0x316f13(0x37c)]['subscribe'](_0x34dd6c=>_0x577acc[_0x316f13(0x1f4)](_0x34dd6c))),_0x309be4[_0x316f13(0x21a)](a[_0x316f13(0x3f0)](()=>_0x577acc[_0x316f13(0x43b)]()));const _0x47c60e=new $[(_0x316f13(0x495))]();_0x309be4[_0x316f13(0x21a)](_0x183cb6[_0x316f13(0x1b3)]['subscribe'](_0x5f04ae=>{var _0x234ed0=_0x316f13;const _0x29a9b4=Ct(_0x5f04ae);_0x47c60e[_0x234ed0(0x1f4)](_0x29a9b4);})),_0x309be4['add'](a[_0x316f13(0x3f0)](()=>_0x47c60e[_0x316f13(0x43b)]()));let _0x5f1015;const _0x1ef680=()=>{var _0x1153ef=_0x316f13;_0x577acc[_0x1153ef(0x1f4)](new Event(_0x1153ef(0x250))),_0xe82ca[_0x1153ef(0x1f4)](new Event('connection\x20error')),_0x5f1015[_0x1153ef(0x3ca)]();};return _0x5f1015={'memberID':'','close$':_0xe82ca[_0x316f13(0x207)](),'error$':_0x577acc[_0x316f13(0x207)](),'open$':_0x183cb6[_0x316f13(0x23f)],'message$':_0x47c60e[_0x316f13(0x207)](),'send':_0x26e383=>{var _0x440dd3=_0x316f13;if(_0x26e383['cmd']===W[_0x440dd3(0x1ed)]){if(_0x26e383[_0x440dd3(0x398)][_0x440dd3(0x2fc)]===p['CollaborationEvent'][_0x440dd3(0x3c3)]){this[_0x440dd3(0x418)](_0x5f1015,_0x26e383['data'])[_0x440dd3(0x1a1)](_0xfbd603=>{var _0x4b2183=_0x440dd3;this['_logService'][_0x4b2183(0x2a4)](_0xfbd603),_0x1ef680();});return;}if(_0x26e383[_0x440dd3(0x398)][_0x440dd3(0x2fc)]===p[_0x440dd3(0x2b2)][_0x440dd3(0x1eb)]){const _0x326734=_0x26e383[_0x440dd3(0x398)];this['_fetchMissChangesets'](_0x326734)[_0x440dd3(0x4b6)](_0x460672=>{var _0x4d2d79=_0x440dd3;_0x47c60e['next']({'cmd':W[_0x4d2d79(0x17c)],'code':oe['OK'],'routeKey':_0x326734[_0x4d2d79(0x398)]['unitID'],'routeType':'','data':{'eventID':p['CollaborationEvent'][_0x4d2d79(0x1c2)],'data':{'changesets':_0x460672}}});})['catch'](_0x1aeb96=>{var _0x48bdf1=_0x440dd3;this['_logService'][_0x48bdf1(0x2a4)](_0x1aeb96),_0x1ef680();});return;}}_0x183cb6[_0x440dd3(0x2eb)](Tt(_0x26e383));},'close':()=>{_0x183cb6['close'](),_0x309be4['dispose']();}},_0x5f1015;}async[_0x6122a6(0x418)](_0x170eb4,_0xee466c){var _0x35082f=_0x6122a6,_0x45f613,_0x4e6dbc;const {unitType:_0x28f9a4,unitID:_0x475675,changeset:_0x420eb4}=_0xee466c[_0x35082f(0x398)],_0x2b5364={'unitID':_0x475675,'memberID':_0x170eb4[_0x35082f(0x2e1)],'type':_0x28f9a4,'changeset':p[_0x35082f(0x234)](_0x420eb4)},_0x37f448=this['_configService'][_0x35082f(0x3ae)](It),_0x4807c2=this[_0x35082f(0x23c)][_0x35082f(0x3ae)](G),_0x1cce73=Jt((_0x4e6dbc=(_0x45f613=_0x4807c2==null?void 0x0:_0x4807c2[_0x35082f(0x1d2)])!=null?_0x45f613:_0x37f448)!=null?_0x4e6dbc:Vt,_0x28f9a4,_0x475675);try{await this['_httpService'][_0x35082f(0x40a)](_0x1cce73,{'body':_0x2b5364});}catch(_0x190603){throw this[_0x35082f(0x408)][_0x35082f(0x2a4)](_0x35082f(0x192),_0x35082f(0x221)),_0x190603;}}async[_0x6122a6(0x297)](_0x125ec9){var _0x31938b=_0x6122a6;const {unitID:_0x19dabe,from:_0x41fd44,to:_0x180191,unitType:_0x5668cc}=_0x125ec9[_0x31938b(0x398)];return(await this[_0x31938b(0x30a)][_0x31938b(0x4b3)]({'metadata':void 0x0},{'unitID':_0x19dabe,'type':_0x5668cc,'from':_0x41fd44,'to':_0x180191}))[_0x31938b(0x4db)];}},exports[_0x6122a6(0x3df)]=zt([_e(0x0,a['Inject'](a[_0x6122a6(0x2a0)])),_e(0x1,a[_0x6122a6(0x43e)](K[_0x6122a6(0x385)])),_e(0x2,a[_0x6122a6(0x2a5)]),_e(0x3,a[_0x6122a6(0x2a2)]),_e(0x4,p[_0x6122a6(0x25d)])],exports['CollaborationSocketService']);const Xt=_0x6122a6(0x399);function Zt(_0x3633aa){var _0x47c126=_0x6122a6;return JSON[_0x47c126(0x355)](_0x3633aa)[_0x47c126(0x254)];}class $e{constructor(){var _0x4dc81a=_0x6122a6;A(this,_0x4dc81a(0x35e),new $[(_0x4dc81a(0x495))]()),A(this,'commentUpdate$',this[_0x4dc81a(0x35e)][_0x4dc81a(0x207)]());}[_0x6122a6(0x1e0)](_0x2bc0c5){var _0x4dd73e=_0x6122a6;this[_0x4dd73e(0x35e)][_0x4dd73e(0x1f4)](_0x2bc0c5);}}var Qt=Object['getOwnPropertyDescriptor'],ei=(_0x20439a,_0x2a1a78,_0x545ec8,_0x5c02b7)=>{var _0x21b8b4=_0x6122a6;for(var _0x2caa7e=_0x5c02b7>0x1?void 0x0:_0x5c02b7?Qt(_0x2a1a78,_0x545ec8):_0x2a1a78,_0x56553a=_0x20439a[_0x21b8b4(0x254)]-0x1,_0x2a2886;_0x56553a>=0x0;_0x56553a--)(_0x2a2886=_0x20439a[_0x56553a])&&(_0x2caa7e=_0x2a2886(_0x2caa7e)||_0x2caa7e);return _0x2caa7e;},We=(_0x466e6b,_0x384974)=>(_0x4bbf1c,_0x3b472e)=>_0x384974(_0x4bbf1c,_0x3b472e,_0x466e6b);exports['MemberService']=class extends a[_0x6122a6(0x3c9)]{constructor(_0x35401a,_0x30e130){var _0x35e81a=_0x6122a6;super(),A(this,_0x35e81a(0x1bb),new Map()),A(this,'_roomCreated$',new $[(_0x35e81a(0x495))]()),(this[_0x35e81a(0x36f)]=_0x35401a,this[_0x35e81a(0x3c6)]=_0x30e130,this[_0x35e81a(0x38c)]($['merge'](this[_0x35e81a(0x36f)][_0x35e81a(0x30c)](a['UniverInstanceType'][_0x35e81a(0x2d0)])[_0x35e81a(0x211)](V[_0x35e81a(0x243)](_0x494eb7=>_0x494eb7[_0x35e81a(0x318)]())),this[_0x35e81a(0x36f)][_0x35e81a(0x30c)](a['UniverInstanceType'][_0x35e81a(0x216)])[_0x35e81a(0x211)](V['map'](_0x937fb2=>_0x937fb2[_0x35e81a(0x318)]())),this[_0x35e81a(0x36f)][_0x35e81a(0x30c)](a[_0x35e81a(0x209)][_0x35e81a(0x1b6)])[_0x35e81a(0x211)](V[_0x35e81a(0x243)](_0x2238de=>_0x2238de[_0x35e81a(0x318)]())))['subscribe'](_0x5764f6=>this[_0x35e81a(0x2f8)](_0x5764f6))));}['waitForRoom$'](_0x1fdb07){var _0x4bf1ff=_0x6122a6;return this[_0x4bf1ff(0x1bb)][_0x4bf1ff(0x1f9)](_0x1fdb07)?$['of'](this['_roomMembers'][_0x4bf1ff(0x4c3)](_0x1fdb07)):this[_0x4bf1ff(0x20b)][_0x4bf1ff(0x211)](V[_0x4bf1ff(0x243)](_0x2c1a3e=>{var _0x1cfec5=_0x4bf1ff;if(_0x2c1a3e===_0x1fdb07)return this['_roomMembers'][_0x1cfec5(0x4c3)](_0x2c1a3e);}));}[_0x6122a6(0x360)](_0x317971){var _0x44c0fa=_0x6122a6;this[_0x44c0fa(0x3c6)][_0x44c0fa(0x360)](_0x317971);}['getCurrentUser'](){return this['_userManagerService']['getCurrentUser']();}['updateMember'](_0xc028eb,_0x2e9c4d){var _0x1cb969=_0x6122a6;let _0x39642c=this[_0x1cb969(0x1bb)]['get'](_0xc028eb);_0x39642c||(_0x39642c=new ti(),this['_roomMembers'][_0x1cb969(0x472)](_0xc028eb,_0x39642c),this[_0x1cb969(0x20b)]['next'](_0xc028eb)),_0x39642c['updateMember'](_0x2e9c4d);}[_0x6122a6(0x48d)](_0x2d4f73,_0x3e19f3){var _0x7fb767=_0x6122a6;const _0x15e03e=this[_0x7fb767(0x1bb)][_0x7fb767(0x4c3)](_0x2d4f73);_0x15e03e&&_0x15e03e['removeMember'](_0x3e19f3);}[_0x6122a6(0x357)](_0xab66d6){var _0x5a4bef=_0x6122a6;return this[_0x5a4bef(0x1bb)][_0x5a4bef(0x4c3)](_0xab66d6);}[_0x6122a6(0x327)](_0x3a14f5,_0x193183){var _0x23612f=_0x6122a6;const _0x527b24=this['_roomMembers'][_0x23612f(0x4c3)](_0x3a14f5);if(_0x527b24)return _0x527b24[_0x23612f(0x327)](_0x193183);}[_0x6122a6(0x2f8)](_0x4f5c8a){var _0x15121f=_0x6122a6;const _0x554619=this['_roomMembers'][_0x15121f(0x4c3)](_0x4f5c8a);_0x554619&&(_0x554619[_0x15121f(0x288)](),this[_0x15121f(0x1bb)][_0x15121f(0x1bc)](_0x4f5c8a));}[_0x6122a6(0x288)](){var _0x15cab6=_0x6122a6;this[_0x15cab6(0x1bb)][_0x15cab6(0x44b)](_0x1bebd1=>_0x1bebd1[_0x15cab6(0x288)]()),this[_0x15cab6(0x1bb)][_0x15cab6(0x2b9)](),this[_0x15cab6(0x20b)][_0x15cab6(0x43b)]();}},exports['MemberService']=ei([We(0x0,a[_0x6122a6(0x43f)]),We(0x1,a['Inject'](a[_0x6122a6(0x38a)]))],exports[_0x6122a6(0x37b)]);class ti extends a['Disposable']{constructor(){var _0x39780c=_0x6122a6;super(...arguments),A(this,_0x39780c(0x433),new Map()),A(this,_0x39780c(0x436),new $[(_0x39780c(0x3b5))](this[_0x39780c(0x433)])),A(this,'members$',this[_0x39780c(0x436)][_0x39780c(0x207)]());}[_0x6122a6(0x288)](){var _0x179cff=_0x6122a6;this[_0x179cff(0x433)][_0x179cff(0x2b9)]();}[_0x6122a6(0x19f)](_0x422480){var _0x52137f=_0x6122a6;this['_members'][_0x52137f(0x472)](_0x422480[_0x52137f(0x2e1)],_0x422480),this[_0x52137f(0x30f)]();}[_0x6122a6(0x48d)](_0x3f4e1c){var _0x24cadb=_0x6122a6;this[_0x24cadb(0x433)][_0x24cadb(0x1bc)](_0x3f4e1c);}[_0x6122a6(0x327)](_0xc9ea5d){var _0x6c81a9=_0x6122a6;return this[_0x6c81a9(0x433)][_0x6c81a9(0x4c3)](_0xc9ea5d);}[_0x6122a6(0x3a6)](){return Array['from'](this['_members']['values']());}[_0x6122a6(0x30f)](){var _0x5847b6=_0x6122a6;this[_0x5847b6(0x436)][_0x5847b6(0x1f4)](this[_0x5847b6(0x433)]);}}var ii=Object['getOwnPropertyDescriptor'],ni=(_0x19cbe9,_0x3a7aae,_0x4508f8,_0x2585b3)=>{for(var _0x5c844b=_0x2585b3>0x1?void 0x0:_0x2585b3?ii(_0x3a7aae,_0x4508f8):_0x3a7aae,_0x5126ad=_0x19cbe9['length']-0x1,_0x450513;_0x5126ad>=0x0;_0x5126ad--)(_0x450513=_0x19cbe9[_0x5126ad])&&(_0x5c844b=_0x450513(_0x5c844b)||_0x5c844b);return _0x5c844b;},se=(_0x310928,_0x13f430)=>(_0x269d5f,_0x213574)=>_0x13f430(_0x269d5f,_0x213574,_0x310928),re=(_0x7d32fb=>(_0x7d32fb[_0x7d32fb[_0x6122a6(0x1c6)]=0x0]='IDLE',_0x7d32fb[_0x7d32fb[_0x6122a6(0x42e)]=0x1]=_0x6122a6(0x42e),_0x7d32fb[_0x7d32fb[_0x6122a6(0x20c)]=0x2]=_0x6122a6(0x20c),_0x7d32fb[_0x7d32fb[_0x6122a6(0x426)]=0x3]=_0x6122a6(0x426),_0x7d32fb))(re||{});const Ye={[oe[_0x6122a6(0x1fe)]]:'session.join-failed',[oe[_0x6122a6(0x2b8)]]:_0x6122a6(0x278),[oe[_0x6122a6(0x190)]]:_0x6122a6(0x410),[oe['JOIN_ROOM_PERMISSION_DENIED']]:_0x6122a6(0x40f),[oe['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x6122a6(0x375)};exports['CollaborationSession']=class extends a[_0x6122a6(0x404)]{constructor(_0x3a6e0b,_0x4ee823,_0x4bc095,_0x5d777f,_0x44fd5c,_0x2f9e67,_0x4317ac,_0x2ba24d,_0x127265){var _0x2b6968=_0x6122a6;super(),A(this,_0x2b6968(0x3ef),new $[(_0x2b6968(0x3b5))](0x0)),A(this,_0x2b6968(0x296),this['_sessionStatus$'][_0x2b6968(0x207)]()),A(this,_0x2b6968(0x2fd),new $[(_0x2b6968(0x495))]()),A(this,'event$',this[_0x2b6968(0x2fd)]['asObservable']()),A(this,_0x2b6968(0x465)),A(this,'_socketMessageSubscription'),A(this,_0x2b6968(0x4ac)),A(this,'_shouldReportTelemetry',!0x1),A(this,_0x2b6968(0x403),null),(this[_0x2b6968(0x1b1)]=_0x3a6e0b,this['_logService']=_0x4bc095,this[_0x2b6968(0x23c)]=_0x5d777f,this[_0x2b6968(0x467)]=_0x44fd5c,this[_0x2b6968(0x3bb)]=_0x2f9e67,this[_0x2b6968(0x20a)]=_0x4317ac,this[_0x2b6968(0x36e)]=_0x2ba24d,this[_0x2b6968(0x2d1)]=_0x127265,this['_shouldReportTelemetry']=!!this[_0x2b6968(0x2d1)],_0x4ee823[_0x2b6968(0x211)]($[_0x2b6968(0x407)](this[_0x2b6968(0x17f)]))[_0x2b6968(0x3d3)](_0xc0b36e=>{var _0x4459de=_0x2b6968,_0x381242;typeof _0xc0b36e>'u'||(this[_0x4459de(0x465)]=_0xc0b36e,_0xc0b36e?(this[_0x4459de(0x462)](_0xc0b36e),this[_0x4459de(0x344)]=_0xc0b36e['message$'][_0x4459de(0x3d3)](_0x2378af=>{var _0x38f5c2=_0x4459de;_0x2378af['routeKey']===this[_0x38f5c2(0x1b1)]&&this[_0x38f5c2(0x3bc)](_0x2378af);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x4459de(0x3ef)]['next'](0x2),(_0x381242=this[_0x4459de(0x344)])==null||_0x381242[_0x4459de(0x1dd)](),this[_0x4459de(0x344)]=null));}));}get[_0x6122a6(0x3f4)](){var _0x5a7f8c=_0x6122a6;return this['_sessionStatus$'][_0x5a7f8c(0x4a2)]();}[_0x6122a6(0x21c)](){var _0x4c96fc=_0x6122a6,_0x13a69d,_0x53b9f5;return(_0x53b9f5=(_0x13a69d=this['_socket'])==null?void 0x0:_0x13a69d[_0x4c96fc(0x2e1)])!=null?_0x53b9f5:null;}['dispose'](){var _0x45bc4b=_0x6122a6;super[_0x45bc4b(0x288)](),this[_0x45bc4b(0x17f)]['next'](),this['dispose$'][_0x45bc4b(0x43b)]();}[_0x6122a6(0x3ca)](){var _0x41ebb1=_0x6122a6,_0x158669,_0x5cba22;this['_throwTelemetryCollaborationNewChangeset'](),(_0x158669=this[_0x41ebb1(0x465)])==null||_0x158669[_0x41ebb1(0x2eb)]({'cmd':W[_0x41ebb1(0x395)],'data':{'roomID':this[_0x41ebb1(0x1b1)]}}),(_0x5cba22=this[_0x41ebb1(0x465)])==null||_0x5cba22[_0x41ebb1(0x3ca)](),this[_0x41ebb1(0x2fd)]['complete'](),this[_0x41ebb1(0x3ef)][_0x41ebb1(0x43b)](),this[_0x41ebb1(0x288)]();}[_0x6122a6(0x3bc)](_0x576da1){var _0x36e46e=_0x6122a6;_0x576da1[_0x36e46e(0x1fb)]===W['JOIN']?this['_onJoinRoomEvent'](_0x576da1):_0x576da1[_0x36e46e(0x1fb)]===W[_0x36e46e(0x17c)]&&this[_0x36e46e(0x396)](_0x576da1);}['_joinRoom'](_0x48a782){var _0x1c1371=_0x6122a6;this[_0x1c1371(0x3ef)][_0x1c1371(0x1f4)](0x1),_0x48a782[_0x1c1371(0x2eb)]({'cmd':W[_0x1c1371(0x3c0)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x6122a6(0x1d5)](_0x495816){var _0x3d27c8=_0x6122a6,_0x5ccdfe;if(_0x495816[_0x3d27c8(0x3de)]in Ye){this['_collaborationUIEventService']['emitEvent']({'id':Z[_0x3d27c8(0x4d4)],'data':Ye[_0x495816[_0x3d27c8(0x3de)]]}),this[_0x3d27c8(0x3ef)][_0x3d27c8(0x1f4)](0x2);return;}this[_0x3d27c8(0x3ef)][_0x3d27c8(0x1f4)](0x3);const _0x5b5a4f=(_0x5ccdfe=_0x495816[_0x3d27c8(0x398)][_0x3d27c8(0x415)][this['_unitID']])==null?void 0x0:_0x5ccdfe[_0x3d27c8(0x251)];_0x5b5a4f&&_0x5b5a4f[_0x3d27c8(0x44b)](_0x5d7f63=>this[_0x3d27c8(0x3bb)][_0x3d27c8(0x19f)](this['_unitID'],_0x5d7f63));}[_0x6122a6(0x396)](_0x24ec2c){var _0x3a5f67=_0x6122a6;try{const _0x4325ed=_0x24ec2c[_0x3a5f67(0x398)];switch(_0x4325ed[_0x3a5f67(0x2fc)]){case p[_0x3a5f67(0x2b2)]['USERS_ENTER']:this[_0x3a5f67(0x302)](_0x4325ed),this['_event$'][_0x3a5f67(0x1f4)](_0x4325ed);break;case p['CollaborationEvent'][_0x3a5f67(0x279)]:this[_0x3a5f67(0x3c5)](_0x4325ed),this[_0x3a5f67(0x2fd)][_0x3a5f67(0x1f4)](_0x4325ed);break;case p[_0x3a5f67(0x2b2)][_0x3a5f67(0x46c)]:case p[_0x3a5f67(0x2b2)][_0x3a5f67(0x3b6)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x3a5f67(0x22e)](),this[_0x3a5f67(0x2fd)][_0x3a5f67(0x1f4)](_0x4325ed);break;case p[_0x3a5f67(0x2b2)][_0x3a5f67(0x2f3)]:this['_logService'][_0x3a5f67(0x2a4)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x4325ed)),this[_0x3a5f67(0x2fd)]['next'](_0x4325ed);break;case p['CollaborationEvent']['COMMENT_UPDATE']:this[_0x3a5f67(0x20a)][_0x3a5f67(0x1e0)](_0x4325ed[_0x3a5f67(0x398)]),this[_0x3a5f67(0x2fd)][_0x3a5f67(0x1f4)](_0x4325ed);break;default:this[_0x3a5f67(0x2fd)][_0x3a5f67(0x1f4)](_0x4325ed);}}catch(_0x497c78){this['_logService'][_0x3a5f67(0x2a4)](_0x497c78,_0x24ec2c);}}[_0x6122a6(0x302)](_0x5b0852){var _0x26fba1=_0x6122a6;this[_0x26fba1(0x3bb)][_0x26fba1(0x19f)](this[_0x26fba1(0x1b1)],_0x5b0852[_0x26fba1(0x398)]);}[_0x6122a6(0x3c5)](_0xc835a1){var _0x3191b4=_0x6122a6;this['_memberService']['removeMember'](this[_0x3191b4(0x1b1)],_0xc835a1[_0x3191b4(0x398)][_0x3191b4(0x2e1)]);}async[_0x6122a6(0x2eb)](_0x1f756e,_0x2d11c0){var _0x42b790=_0x6122a6;if(this[_0x42b790(0x3f4)]!==0x3||!this[_0x42b790(0x465)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x1f756e[_0x42b790(0x2fc)]===p[_0x42b790(0x2b2)][_0x42b790(0x3c3)]&&(this[_0x42b790(0x35a)](),this['_startTelemetryCollaborationNewChangeset'](_0x1f756e)),this[_0x42b790(0x465)]['send']({'cmd':W[_0x42b790(0x1ed)],'routeKey':_0x2d11c0,'routeType':'','data':_0x1f756e});}catch(_0x5bf311){this[_0x42b790(0x408)]['error'](_0x5bf311);}}[_0x6122a6(0x35a)](){var _0x441cf9=_0x6122a6,_0x195d7e;this[_0x441cf9(0x4ac)]=setTimeout(()=>{var _0x8a651c=_0x441cf9;this['_collaborationTimeoutTimer']=null,this[_0x8a651c(0x36e)][_0x8a651c(0x3ad)]({'id':Z[_0x8a651c(0x3ce)]});},(_0x195d7e=this[_0x441cf9(0x23c)]['getConfig'](ke))!=null?_0x195d7e:St);}[_0x6122a6(0x22e)](){var _0x45a026=_0x6122a6;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x45a026(0x4ac)]),this[_0x45a026(0x4ac)]=null);}[_0x6122a6(0x39d)](_0x52e470){var _0x144a02=_0x6122a6;if(!this[_0x144a02(0x273)])return;const {data:_0x5cb9e5}=_0x52e470,{unitID:_0x1674cb,changeset:_0x1eeff4}=_0x5cb9e5,{mutations:_0x45897f,type:_0x173d20}=_0x1eeff4;this[_0x144a02(0x403)]={'unitId':_0x1674cb,'type':_0x173d20,'startTime':performance[_0x144a02(0x1ff)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x45897f)};}[_0x6122a6(0x390)](){var _0x20d378=_0x6122a6;if(this[_0x20d378(0x273)]){if(!this[_0x20d378(0x403)]){this[_0x20d378(0x408)][_0x20d378(0x2a4)](_0x20d378(0x192),_0x20d378(0x3c8));return;}this[_0x20d378(0x403)][_0x20d378(0x238)]=performance[_0x20d378(0x1ff)](),this[_0x20d378(0x403)][_0x20d378(0x261)]=this['_telemetryInfo']['stopTime']-this[_0x20d378(0x403)][_0x20d378(0x3c2)],this[_0x20d378(0x2d1)][_0x20d378(0x16e)](Xt,this[_0x20d378(0x403)]),this[_0x20d378(0x403)]=null;}}[_0x6122a6(0x2c3)](){var _0x20b7b3=_0x6122a6;this[_0x20b7b3(0x403)]=null;}},exports['CollaborationSession']=ni([se(0x2,a['ILogService']),se(0x3,a[_0x6122a6(0x2a5)]),se(0x4,a[_0x6122a6(0x43e)](a['LocaleService'])),se(0x5,a[_0x6122a6(0x43e)](exports['MemberService'])),se(0x6,a['Inject']($e)),se(0x7,a[_0x6122a6(0x43e)](ee)),se(0x8,a[_0x6122a6(0x240)](Pt[_0x6122a6(0x39a)]))],exports[_0x6122a6(0x461)]);var ri=Object[_0x6122a6(0x333)],si=(_0x2bb610,_0x389f09,_0x48c714,_0x4230a6)=>{var _0x13215d=_0x6122a6;for(var _0x3ae82a=_0x4230a6>0x1?void 0x0:_0x4230a6?ri(_0x389f09,_0x48c714):_0x389f09,_0x11d624=_0x2bb610[_0x13215d(0x254)]-0x1,_0x5be6b1;_0x11d624>=0x0;_0x11d624--)(_0x5be6b1=_0x2bb610[_0x11d624])&&(_0x3ae82a=_0x5be6b1(_0x3ae82a)||_0x3ae82a);return _0x3ae82a;},he=(_0x3da8c4,_0x550d38)=>(_0x5abe03,_0x50bbe7)=>_0x550d38(_0x5abe03,_0x50bbe7,_0x3da8c4);exports['CollaborationSessionService']=class extends a[_0x6122a6(0x3c9)]{constructor(_0x5e4c9f,_0x95cb3,_0x401b1c,_0x595dc2,_0x2008d8,_0x5dc7a1){var _0x3378ac=_0x6122a6;super(),A(this,'_socket$',new $[(_0x3378ac(0x3b5))](void 0x0)),A(this,'socket$',this[_0x3378ac(0x4a4)][_0x3378ac(0x207)]()),A(this,_0x3378ac(0x2ae),null),A(this,_0x3378ac(0x1f8),new Map()),A(this,_0x3378ac(0x16f),new $[(_0x3378ac(0x3b5))](re[_0x3378ac(0x1c6)])),A(this,_0x3378ac(0x2cb),this[_0x3378ac(0x16f)]['asObservable']()),A(this,_0x3378ac(0x381),!0x1),A(this,_0x3378ac(0x4a3)),A(this,_0x3378ac(0x36b),0x0),A(this,_0x3378ac(0x35c)),A(this,_0x3378ac(0x3e3)),(this[_0x3378ac(0x282)]=_0x5e4c9f,this['_logService']=_0x95cb3,this[_0x3378ac(0x23c)]=_0x401b1c,this[_0x3378ac(0x3e6)]=_0x595dc2,this[_0x3378ac(0x36e)]=_0x2008d8,this['_networkConditionService']=_0x5dc7a1,this[_0x3378ac(0x245)]());}get[_0x6122a6(0x465)](){var _0x338f2f=_0x6122a6;return this[_0x338f2f(0x4a4)][_0x338f2f(0x4a2)]();}['_listenToNetworkCondition'](){var _0x2b0902=_0x6122a6;this['_networkConditionService']&&this[_0x2b0902(0x38c)](this[_0x2b0902(0x2ba)][_0x2b0902(0x16c)]['subscribe'](_0x54f5fe=>{var _0x543b6b=_0x2b0902;_0x54f5fe&&!this[_0x543b6b(0x465)]&&this['reconnect'](),_0x54f5fe||this[_0x543b6b(0x43d)]();}));}[_0x6122a6(0x288)](){var _0x51b77d=_0x6122a6;super[_0x51b77d(0x288)](),this[_0x51b77d(0x420)](),this[_0x51b77d(0x49b)](),this[_0x51b77d(0x34b)](),this[_0x51b77d(0x1f8)]['forEach'](_0x2a57f2=>_0x2a57f2[_0x51b77d(0x288)]()),this[_0x51b77d(0x1f8)]['clear'](),this[_0x51b77d(0x16f)]['complete']();}async[_0x6122a6(0x27e)](_0x3ad2e5){var _0x3b9037=_0x6122a6;if(this[_0x3b9037(0x1f8)][_0x3b9037(0x1f9)](_0x3ad2e5))return this['_sessions'][_0x3b9037(0x4c3)](_0x3ad2e5);this[_0x3b9037(0x2fe)]();const _0x3de0d5=this[_0x3b9037(0x282)][_0x3b9037(0x286)](exports[_0x3b9037(0x461)],_0x3ad2e5,this[_0x3b9037(0x4a4)][_0x3b9037(0x207)]());return this['_sessions'][_0x3b9037(0x472)](_0x3ad2e5,_0x3de0d5),_0x3de0d5;}[_0x6122a6(0x4c5)](_0x56f129){var _0x409e46=_0x6122a6,_0x28a8e9;const _0x56b3d0=this[_0x409e46(0x1f8)][_0x409e46(0x4c3)](_0x56f129);_0x56b3d0&&(this[_0x409e46(0x1f8)][_0x409e46(0x1bc)](_0x56f129),_0x56b3d0[_0x409e46(0x3ca)]()),this[_0x409e46(0x1f8)][_0x409e46(0x1c9)]||(_0x28a8e9=this[_0x409e46(0x465)])==null||_0x28a8e9[_0x409e46(0x3ca)]();}['reconnect'](){this['_retryCount']=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}[_0x6122a6(0x420)](){var _0x46daa1=_0x6122a6;this[_0x46daa1(0x4a3)]!=null&&(clearTimeout(this[_0x46daa1(0x4a3)]),this['_retryConnectingTimer']=null);}async[_0x6122a6(0x29e)](){var _0x5e0d56=_0x6122a6,_0x12d6b6,_0x2c56e5;const _0x975e15=this['_configService'][_0x5e0d56(0x3ae)](ut),_0x44e358=this['_configService'][_0x5e0d56(0x3ae)](G),_0x5513e7=(_0x2c56e5=(_0x12d6b6=_0x44e358==null?void 0x0:_0x44e358[_0x5e0d56(0x400)])!=null?_0x12d6b6:_0x975e15)!=null?_0x2c56e5:dt,_0x24b495=await this[_0x5e0d56(0x3e6)][_0x5e0d56(0x219)](_0x5513e7);return this[_0x5e0d56(0x2ae)]=_0x24b495,_0x24b495;}async['_tryEnsureSocket'](){var _0x28b2bc=_0x6122a6,_0x38a087,_0x29f545;try{const _0xbeef27=(_0x29f545=(_0x38a087=this['_socket'])!=null?_0x38a087:this[_0x28b2bc(0x2ae)])!=null?_0x29f545:await this[_0x28b2bc(0x29e)]();if(_0xbeef27){const _0x5b27f7=_0xbeef27[_0x28b2bc(0x2eb)];_0xbeef27[_0x28b2bc(0x2eb)]=_0x23c3b1=>(this['_rescheduleHeartbeat'](),_0x5b27f7[_0x28b2bc(0x1bd)](_0xbeef27,[_0x23c3b1])),_0xbeef27['message$'][_0x28b2bc(0x3d3)](_0x57b4e1=>this[_0x28b2bc(0x31e)](_0xbeef27,_0x57b4e1)),_0xbeef27[_0x28b2bc(0x37c)]['pipe'](V[_0x28b2bc(0x3e9)](0x1))['subscribe'](_0xad9f08=>this[_0x28b2bc(0x408)]['error'](_0x28b2bc(0x19c),_0xad9f08)),_0xbeef27[_0x28b2bc(0x23f)]['pipe'](V[_0x28b2bc(0x3e9)](0x1))[_0x28b2bc(0x3d3)](()=>{var _0xaaccd4=_0x28b2bc;this[_0xaaccd4(0x451)](_0xbeef27);}),_0xbeef27['close$']['pipe'](V[_0x28b2bc(0x3e9)](0x1))[_0x28b2bc(0x3d3)](_0x148c58=>{var _0x1fb42d=_0x28b2bc;this['_logService']['debug']('[CollaborationSessionService]',_0x1fb42d(0x334),_0x148c58),this[_0x1fb42d(0x49f)]();});}}catch(_0x4b4bde){this[_0x28b2bc(0x408)][_0x28b2bc(0x2a4)](_0x4b4bde),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x347e81){var _0x23d897=_0x6122a6;this[_0x23d897(0x408)][_0x23d897(0x249)]('[CollaborationSessionService]',_0x23d897(0x1ab)),_0x347e81[_0x23d897(0x2eb)]({'cmd':W[_0x23d897(0x1d0)]}),this[_0x23d897(0x1a5)]();}['_onOffline'](){var _0xaec911=_0x6122a6;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0xaec911(0x16f)][_0xaec911(0x1f4)](re[_0xaec911(0x20c)]),this[_0xaec911(0x4a4)][_0xaec911(0x1f4)](null),this['_clearTimeoutTimer'](),this[_0xaec911(0x34b)]();}['_onConnectionFailed'](){var _0x4c8dfb=_0x6122a6,_0x7316da;this[_0x4c8dfb(0x43d)](),this['_retryCount']<((_0x7316da=this[_0x4c8dfb(0x23c)][_0x4c8dfb(0x3ae)](ft))!=null?_0x7316da:jt)?(this[_0x4c8dfb(0x36e)][_0x4c8dfb(0x3ad)]({'id':Z[_0x4c8dfb(0x44f)]}),this[_0x4c8dfb(0x3a4)]()):this['_collaborationUIEventService'][_0x4c8dfb(0x3ad)]({'id':Z['SOCKET_FAILED']});}['_tryReconnect'](){var _0xaac645=_0x6122a6,_0x445ec1;const _0x205769=this['_retryCount'],_0x22ed8c=this['_configService'][_0xaac645(0x3ae)](G),_0x14c6b1=_0x205769===0x0?0x0:((_0x445ec1=_0x22ed8c==null?void 0x0:_0x22ed8c['retryConnectingInterval'])!=null?_0x445ec1:$t)*0x2**_0x205769;this['_retryConnectingTimer']=setTimeout(()=>{var _0x3a1d9b=_0xaac645;clearTimeout(this[_0x3a1d9b(0x4a3)]),this[_0x3a1d9b(0x4a3)]=null,this['_tryEnsureSocket']();},_0x14c6b1),this[_0xaac645(0x36b)]+=0x1;}[_0x6122a6(0x31e)](_0x540b6f,_0x42829b){var _0x277e27=_0x6122a6;const {cmd:_0x12535a}=_0x42829b;_0x12535a===W[_0x277e27(0x1d0)]&&!this[_0x277e27(0x381)]&&(_0x540b6f[_0x277e27(0x2e1)]=_0x42829b['data']['memberID'],this[_0x277e27(0x4a4)][_0x277e27(0x1f4)](_0x540b6f),this[_0x277e27(0x16f)][_0x277e27(0x1f4)](re[_0x277e27(0x426)]),this['_socketReady']=!0x0,this[_0x277e27(0x2ae)]=null),_0x12535a===W['HEARTBEAT']&&this[_0x277e27(0x49b)](),this[_0x277e27(0x1a5)]();}[_0x6122a6(0x1a5)](){var _0x1ef81c=_0x6122a6,_0x5ed144;this[_0x1ef81c(0x34b)](),this[_0x1ef81c(0x35c)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x5ed144=this[_0x1ef81c(0x23c)][_0x1ef81c(0x3ae)](vt))!=null?_0x5ed144:Ht);}[_0x6122a6(0x42f)](){var _0x3da180=_0x6122a6;this[_0x3da180(0x465)]['send']({'cmd':W[_0x3da180(0x386)]}),this[_0x3da180(0x24c)]();}['_waitForHeartbeatResponse'](){var _0x44193b=_0x6122a6,_0x75da1d;this[_0x44193b(0x3e3)]=setTimeout(()=>this[_0x44193b(0x49f)](),(_0x75da1d=this[_0x44193b(0x23c)][_0x44193b(0x3ae)](ke))!=null?_0x75da1d:St);}[_0x6122a6(0x34b)](){var _0x1b7179=_0x6122a6;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x1b7179(0x35c)]=null);}['_clearTimeoutTimer'](){var _0x2b3134=_0x6122a6;this[_0x2b3134(0x3e3)]!=null&&(clearTimeout(this[_0x2b3134(0x3e3)]),this[_0x2b3134(0x3e3)]=null);}},exports[_0x6122a6(0x454)]=si([he(0x0,a[_0x6122a6(0x43e)](a[_0x6122a6(0x2a0)])),he(0x1,a[_0x6122a6(0x2a2)]),he(0x2,a['IConfigService']),he(0x3,He),he(0x4,a['Inject'](ee)),he(0x5,a[_0x6122a6(0x240)](mt))],exports[_0x6122a6(0x454)]);const q=a[_0x6122a6(0x1d7)](_0x6122a6(0x3b0));function oi(_0x208299){var _0x51c6cb=_0x6122a6;return _0x51c6cb(0x271)+_0x208299;}var ai=Object[_0x6122a6(0x333)],ci=(_0x3701b2,_0x42275e,_0x8434dc,_0x2bb6db)=>{var _0x1428c2=_0x6122a6;for(var _0x195f12=_0x2bb6db>0x1?void 0x0:_0x2bb6db?ai(_0x42275e,_0x8434dc):_0x42275e,_0x32d655=_0x3701b2[_0x1428c2(0x254)]-0x1,_0x565fde;_0x32d655>=0x0;_0x32d655--)(_0x565fde=_0x3701b2[_0x32d655])&&(_0x195f12=_0x565fde(_0x195f12)||_0x195f12);return _0x195f12;},Ue=(_0x2f67f9,_0x95f7f4)=>(_0x405511,_0x9c4169)=>_0x95f7f4(_0x405511,_0x9c4169,_0x2f67f9);function hi(_0x5bd301){var _0x141565=_0x6122a6;const {unitID:_0x3c4635,mutations:_0x404d4c}=_0x5bd301;return{'unitId':_0x3c4635,'subUnitId':_0x404d4c[0x0]['params'][_0x141565(0x2ad)]};}exports[_0x6122a6(0x276)]=class{constructor(_0x2f1420,_0x340ecd,_0x208b28){var _0x525d79=_0x6122a6;this[_0x525d79(0x282)]=_0x2f1420,this[_0x525d79(0x1e9)]=_0x340ecd,this['_instanceService']=_0x208b28;}[_0x6122a6(0x218)](_0x2a8473){var _0xc8953f=_0x6122a6,_0x1b9de2,_0x55b1dc,_0x57c84b,_0x399c50;const _0x2665c5=this['_injector']['get'](X[_0xc8953f(0x1d4)]),{unitId:_0xa01bc,subUnitId:_0x20e0d0}=hi(_0x2a8473),_0x553517=_0x2665c5==null?void 0x0:_0x2665c5['getWorkbookSelections'](_0xa01bc)[_0xc8953f(0x39f)](),_0x461365=(_0x55b1dc=(_0x1b9de2=this[_0xc8953f(0x337)]['getUnit'](_0xa01bc))==null?void 0x0:_0x1b9de2[_0xc8953f(0x46d)]())==null?void 0x0:_0x55b1dc['getSheetId']();if(_0x553517['length']===0x0||!_0xa01bc||!_0x20e0d0)return;const _0x1474ae=[{'id':X[_0xc8953f(0x27f)]['id'],'params':{'unitId':_0xa01bc,'subUnitId':_0x461365,'selections':a[_0xc8953f(0x3e0)]['deepClone'](_0x553517)}}],_0x476f98=this[_0xc8953f(0x1e9)]['transformMutationsWithChangeset'](_0x2a8473,_0x1474ae);if(!p[_0xc8953f(0x1ae)](_0x476f98))throw _0x476f98[_0xc8953f(0x2a4)];const _0x3ebb3c=(_0x399c50=(_0x57c84b=_0x476f98[_0xc8953f(0x259)][0x0])==null?void 0x0:_0x57c84b[_0xc8953f(0x2d4)])==null?void 0x0:_0x399c50[_0xc8953f(0x26f)];if(Array[_0xc8953f(0x3a8)](_0x3ebb3c)&&_0x3ebb3c['length']){if(_0x3ebb3c[_0xc8953f(0x254)]===_0x1474ae[0x0][_0xc8953f(0x2d4)][_0xc8953f(0x26f)][_0xc8953f(0x254)]&&_0x3ebb3c['every']((_0x51cfd3,_0x59dceb)=>a[_0xc8953f(0x293)]['equals'](_0x51cfd3[_0xc8953f(0x35b)],_0x1474ae[0x0][_0xc8953f(0x2d4)][_0xc8953f(0x26f)][_0x59dceb]['range'])))return;this['_injector']['get'](a[_0xc8953f(0x352)])['executeCommand'](X[_0xc8953f(0x27f)]['id'],{'unitId':_0xa01bc,'subUnitId':_0x461365,'selections':_0x3ebb3c});}}},exports['SheetTransformSelectionsService']=ci([Ue(0x0,a[_0x6122a6(0x43e)](a[_0x6122a6(0x2a0)])),Ue(0x1,p[_0x6122a6(0x201)]),Ue(0x2,a['IUniverInstanceService'])],exports[_0x6122a6(0x276)]);const de=a[_0x6122a6(0x1d7)](_0x6122a6(0x295));var je=(_0x24304e=>(_0x24304e[_0x24304e[_0x6122a6(0x486)]=0x0]=_0x6122a6(0x486),_0x24304e[_0x24304e['OTHER_CLIENTS_EDITING']=0x1]=_0x6122a6(0x4bb),_0x24304e))(je||{});const _i=new Set([X['InsertSheetMutation']['id']]);function Ge(_0x4b9935,_0x4f54a6,_0x45b746,_0x1ed682,_0x4c5a96){var _0x5d15dd=_0x6122a6,_0xace30b,_0x30dce8,_0x4747ce,_0xdb9b8a;const _0x4ec6cf=[];for(const _0x210765 of _0x4b9935)if(_i['has'](_0x210765['id'])){if(_0x4ec6cf[_0x5d15dd(0x254)]>0x0)break;_0x4ec6cf[_0x5d15dd(0x1ad)](_0x210765);break;}else _0x4ec6cf[_0x5d15dd(0x1ad)](_0x210765);const _0x127c77=(_0x30dce8=(_0xace30b=_0x4c5a96['getCurrentUser']())==null?void 0x0:_0xace30b['userID'])!=null?_0x30dce8:_0x5d15dd(0x2b7),_0x3213fb=(_0xdb9b8a=(_0x4747ce=_0x4c5a96['getCurrentUser']())==null?void 0x0:_0x4747ce['memberID'])!=null?_0xdb9b8a:'unknown';return{'changeset':{'unitID':_0x4f54a6,'type':p[_0x5d15dd(0x19a)](_0x45b746[_0x5d15dd(0x1e8)](_0x4f54a6)),'baseRev':_0x1ed682['getCurrentRevOfUnit'](_0x4f54a6),'revision':0x0,'userID':_0x127c77,'memberID':_0x3213fb,'mutations':_0x4ec6cf},'pendingMutations':_0x4b9935[_0x5d15dd(0x24d)](_0x4ec6cf['length'])};}function li(_0x4e2a65,_0x5ae966,_0x1520e4,_0x36429b,_0x2fb0fa){var _0x9005eb=_0x6122a6,_0x557b79,_0x5babb3,_0x29aa46,_0x1ee6c5;const _0xb506df=[_0x4e2a65['reduce']((_0x246bf4,_0x2ef2ed)=>{var _0x5a767d=_0x726b,_0x5e0fdc;const {id:_0x158cde}=_0x246bf4,{id:_0x4a4dea,type:_0x2c5d0d}=_0x2ef2ed,_0x5b7ccd=(_0x5e0fdc=_0x246bf4[_0x5a767d(0x2d4)])!=null?_0x5e0fdc:{'actions':null},_0x591c5e=_0x2ef2ed[_0x5a767d(0x2d4)];if(_0x158cde&&_0x158cde!==_0x4a4dea)throw new Error(_0x5a767d(0x350)+_0x158cde+'\x20-\x20'+_0x4a4dea+'.');return{..._0x246bf4,'id':_0x4a4dea,'type':_0x2c5d0d,'params':{'unitId':_0x591c5e[_0x5a767d(0x28d)],'textRanges':_0x591c5e['textRanges'],'actions':a[_0x5a767d(0x4de)][_0x5a767d(0x2e4)](_0x5b7ccd[_0x5a767d(0x2b0)],_0x591c5e['actions'])}};},{})],_0x37db72=(_0x5babb3=(_0x557b79=_0x2fb0fa[_0x9005eb(0x2f9)]())==null?void 0x0:_0x557b79[_0x9005eb(0x314)])!=null?_0x5babb3:'unknown',_0x56ace9=(_0x1ee6c5=(_0x29aa46=_0x2fb0fa[_0x9005eb(0x2f9)]())==null?void 0x0:_0x29aa46[_0x9005eb(0x2e1)])!=null?_0x1ee6c5:_0x9005eb(0x2b7);return{'changeset':{'unitID':_0x5ae966,'type':p[_0x9005eb(0x19a)](_0x1520e4[_0x9005eb(0x1e8)](_0x5ae966)),'baseRev':_0x36429b['getCurrentRevOfUnit'](_0x5ae966),'revision':0x0,'userID':_0x37db72,'memberID':_0x56ace9,'mutations':_0xb506df},'pendingMutations':[]};}function bt(_0x31d319,_0xae5d2a){var _0x5c4d16=_0x6122a6;const _0x153290=new $[(_0x5c4d16(0x4cf))](0x1);return setTimeout(()=>_0x153290[_0x5c4d16(0x1f4)](_0xae5d2a),_0x31d319),_0x153290['asObservable']()[_0x5c4d16(0x211)]($[_0x5c4d16(0x3e9)](0x1));}const ui={'id':X[_0x6122a6(0x17a)]['id'],'type':a['CommandType'][_0x6122a6(0x18f)],'params':{}};var di=Object['getOwnPropertyDescriptor'],ae=(_0x20ddb4,_0x587a2d,_0x560655,_0x4ca28e)=>{var _0x12d9a1=_0x6122a6;for(var _0x37f755=_0x4ca28e>0x1?void 0x0:_0x4ca28e?di(_0x587a2d,_0x560655):_0x587a2d,_0x1fe23e=_0x20ddb4[_0x12d9a1(0x254)]-0x1,_0x4897ea;_0x1fe23e>=0x0;_0x1fe23e--)(_0x4897ea=_0x20ddb4[_0x1fe23e])&&(_0x37f755=_0x4897ea(_0x37f755)||_0x37f755);return _0x37f755;},L=(_0x3bc1a5,_0xef05f1)=>(_0x49317e,_0x51bb96)=>_0xef05f1(_0x49317e,_0x51bb96,_0x3bc1a5),Be=(_0x1ececd=>(_0x1ececd[_0x6122a6(0x4c1)]=_0x6122a6(0x437),_0x1ececd[_0x6122a6(0x2cd)]=_0x6122a6(0x4b0),_0x1ececd['PENDING']=_0x6122a6(0x2e8),_0x1ececd[_0x6122a6(0x1df)]='awaiting',_0x1ececd[_0x6122a6(0x28a)]=_0x6122a6(0x2be),_0x1ececd[_0x6122a6(0x440)]='fetch_missing',_0x1ececd[_0x6122a6(0x171)]=_0x6122a6(0x1d3),_0x1ececd[_0x6122a6(0x20c)]=_0x6122a6(0x2ea),_0x1ececd))(Be||{});const Rt=0xea60;class ce{constructor(_0xa9083a,_0x24b34a,_0x31650d,_0xe10e70,_0xbb8c18,_0x1f5fe9,_0x19563b,_0x4849af,_0x331ff9){var _0x44fba0=_0x6122a6;A(this,_0x44fba0(0x274),null),A(this,'_pendingMutations',[]),(this['unitID']=_0xa9083a,this[_0x44fba0(0x258)]=_0x24b34a,this['_handler']=_0xbb8c18,this[_0x44fba0(0x475)]=_0x1f5fe9,this[_0x44fba0(0x191)]=_0x19563b,this[_0x44fba0(0x160)]=_0x4849af,this[_0x44fba0(0x427)]=_0x331ff9,this[_0x44fba0(0x274)]=_0x31650d,this[_0x44fba0(0x330)]=_0xe10e70);}['_checkMissing'](_0x49fba6){var _0x7104f5=_0x6122a6;const _0x69f05a=this[_0x7104f5(0x160)][_0x7104f5(0x305)](this[_0x7104f5(0x298)]);return _0x49fba6[_0x7104f5(0x28e)]>_0x69f05a+0x1?(this[_0x7104f5(0x33c)][_0x7104f5(0x2e2)]({'from':_0x69f05a,'to':_0x49fba6[_0x7104f5(0x28e)]-0x1}),!0x0):!0x1;}[_0x6122a6(0x311)](_0x18251f){var _0x1bc52e=_0x6122a6;this[_0x1bc52e(0x191)][_0x1bc52e(0x31d)](this[_0x1bc52e(0x298)],_0x18251f);}[_0x6122a6(0x315)](_0x448598){var _0x9e2075=_0x6122a6,_0x54b0db,_0x192c76;(_0x192c76=(_0x54b0db=this['_handler'])['onTransformSelections'])==null||_0x192c76[_0x9e2075(0x28c)](_0x54b0db,_0x448598);}[_0x6122a6(0x4a5)](_0xeb2729){var _0x356374=_0x6122a6,_0x39bf32,_0x347c50;return(_0x347c50=(_0x39bf32=this[_0x356374(0x33c)])[_0x356374(0x3e4)])==null?void 0x0:_0x347c50['call'](_0x39bf32,_0xeb2729);}['_transformStateCache'](_0x502e01){var _0x538129=_0x6122a6,_0x9e11cc,_0x1ebb21;return(_0x1ebb21=(_0x9e11cc=this[_0x538129(0x33c)])[_0x538129(0x3f3)])==null?void 0x0:_0x1ebb21[_0x538129(0x28c)](_0x9e11cc,_0x502e01);}['_transformRemoteChangesetByIMECache'](_0x3ccbdf){var _0x18b9b6=_0x6122a6,_0x2d20c2,_0x5e9ae4,_0x5b6b23;return(_0x5b6b23=(_0x5e9ae4=(_0x2d20c2=this[_0x18b9b6(0x33c)])[_0x18b9b6(0x4b5)])==null?void 0x0:_0x5e9ae4[_0x18b9b6(0x28c)](_0x2d20c2,_0x3ccbdf))!=null?_0x5b6b23:_0x3ccbdf;}[_0x6122a6(0x44e)](_0xbfc69d){var _0x3fa132=_0x6122a6,_0x34583f,_0x1f1ee8,_0x19d402;return(_0x19d402=(_0x1f1ee8=(_0x34583f=this['_handler'])[_0x3fa132(0x47c)])==null?void 0x0:_0x1f1ee8[_0x3fa132(0x28c)](_0x34583f,_0xbfc69d))!=null?_0x19d402:_0xbfc69d;}['_syncEditingCollabCursor'](_0x562839){var _0x5a3667=_0x6122a6,_0x2fc5e8,_0x3bd36b;if(this[_0x5a3667(0x258)]===J['UNIVER_DOC']){const {unitID:_0x6979d5,mutations:_0x2bc9d8,memberID:_0x2021f9}=_0x562839,_0x641155=_0x2bc9d8[0x0][_0x5a3667(0x2d4)][_0x5a3667(0x29f)];Array[_0x5a3667(0x3a8)](_0x641155)&&_0x641155[_0x5a3667(0x254)]>0x0&&((_0x3bd36b=(_0x2fc5e8=this[_0x5a3667(0x33c)])['onSyncEditingCollabCursor'])==null||_0x3bd36b['call'](_0x2fc5e8,{'unitID':_0x6979d5,'memberID':_0x2021f9,'textRanges':_0x641155}));}}['_updateLocalCache'](){var _0x587e59=_0x6122a6,_0x533452;(_0x533452=this[_0x587e59(0x427)])==null||_0x533452[_0x587e59(0x2f2)](this[_0x587e59(0x298)],this[_0x587e59(0x258)],this[_0x587e59(0x274)],this[_0x587e59(0x330)]);}['_getCurrentRevision'](){var _0x4a5eb0=_0x6122a6;return this['_revisionService'][_0x4a5eb0(0x305)](this[_0x4a5eb0(0x298)]);}[_0x6122a6(0x1a9)](){var _0x1b20e3=_0x6122a6;this[_0x1b20e3(0x160)][_0x1b20e3(0x1ac)](this[_0x1b20e3(0x298)]);}[_0x6122a6(0x3bd)](_0x11dea2){var _0x1fe777=_0x6122a6,_0x3cb5f9;let _0x518cec=this[_0x1fe777(0x394)](_0x11dea2);_0x518cec=this['_transformRemoteChangesetByStateCache'](_0x518cec);const _0x36ea51=a['sequenceExecute'](_0x518cec[_0x1fe777(0x27c)],this['_commandService'],{'fromCollab':!0x0});if(!_0x36ea51[_0x1fe777(0x1be)])throw _0x36ea51[_0x1fe777(0x2a4)]instanceof Error?_0x36ea51['error']:new Error((_0x3cb5f9=_0x36ea51['error'])!=null?_0x3cb5f9:_0x1fe777(0x2fa));this['_transformIMECache'](_0x518cec),this[_0x1fe777(0x260)](_0x518cec),this[_0x1fe777(0x311)](_0x11dea2),this[_0x1fe777(0x315)](_0x518cec),this[_0x1fe777(0x356)](_0x518cec),this[_0x1fe777(0x1a9)]();}}exports['SyncedState']=class extends ce{constructor(_0x33845b,_0x577f46,_0x23b7aa,_0xb97721,_0x4c41e3,_0x4d6a8f,_0x2ddc3f,_0x43f67c,_0xc4ae7f,_0x48baa5){var _0x47c003=_0x6122a6;super(_0x33845b,_0x577f46,null,[],_0x23b7aa,_0x2ddc3f,_0x4d6a8f,_0xb97721,_0x48baa5),A(this,_0x47c003(0x226),_0x47c003(0x4b0)),(this[_0x47c003(0x282)]=_0x4c41e3,this['_logService']=_0x43f67c,this[_0x47c003(0x1e9)]=_0xc4ae7f,this[_0x47c003(0x2a8)]=_0x48baa5);}[_0x6122a6(0x210)](_0x22763e){var _0x24eae7=_0x6122a6;const _0x3eeb49=this[_0x24eae7(0x282)][_0x24eae7(0x286)](exports[_0x24eae7(0x336)],this[_0x24eae7(0x298)],this['type'],[_0x22763e],this['_handler']);return _0x3eeb49[_0x24eae7(0x424)](),_0x3eeb49[_0x24eae7(0x374)](),_0x3eeb49;}[_0x6122a6(0x164)](_0x5e74ff){var _0x2093d0=_0x6122a6;if(this[_0x2093d0(0x1d1)](_0x5e74ff))return this[_0x2093d0(0x282)][_0x2093d0(0x286)](exports[_0x2093d0(0x4aa)],this['unitID'],this['type'],null,[],null,[_0x5e74ff],this[_0x2093d0(0x33c)]);try{const _0x222f63=this['_transformService'][_0x2093d0(0x421)](_0x5e74ff,[ui]);if(p[_0x2093d0(0x1ae)](_0x222f63)){const {c1Prime:_0x2714de}=_0x222f63;return this[_0x2093d0(0x3bd)](_0x2714de),this;}throw _0x222f63[_0x2093d0(0x2a4)];}catch(_0x3ab28c){return this[_0x2093d0(0x408)]['error'](_0x3ab28c),this[_0x2093d0(0x1c1)](!0x1);}}['_onConflict'](_0x43cba3){var _0xc4e56e=_0x6122a6;return this[_0xc4e56e(0x282)][_0xc4e56e(0x286)](exports[_0xc4e56e(0x464)],this[_0xc4e56e(0x298)],this[_0xc4e56e(0x258)],null,[],this['_handler'],_0x43cba3);}[_0x6122a6(0x2ac)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x6122a6(0x197)](){var _0x1e5a9c=_0x6122a6;throw new Error(_0x1e5a9c(0x44a));}[_0x6122a6(0x491)](){return this;}[_0x6122a6(0x497)](){var _0x110570=_0x6122a6;return this[_0x110570(0x282)]['createInstance'](exports[_0x110570(0x3ee)],this[_0x110570(0x298)],this[_0x110570(0x258)],null,[],this[_0x110570(0x33c)]);}[_0x6122a6(0x268)](){return this;}[_0x6122a6(0x174)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x6122a6(0x3b9)](){var _0x2cffba=_0x6122a6;const _0x4fc139=this[_0x2cffba(0x160)][_0x2cffba(0x305)](this[_0x2cffba(0x298)]);return this[_0x2cffba(0x33c)][_0x2cffba(0x2e2)]({'from':_0x4fc139,'to':0x0}),this[_0x2cffba(0x282)]['createInstance'](exports[_0x2cffba(0x4aa)],this[_0x2cffba(0x298)],this[_0x2cffba(0x258)],null,[],null,[],this['_handler']);}},exports[_0x6122a6(0x1a4)]=ae([L(0x3,a['Inject'](p['RevisionService'])),L(0x4,a['Inject'](a['Injector'])),L(0x5,a[_0x6122a6(0x4a6)]),L(0x6,a['ICommandService']),L(0x7,a[_0x6122a6(0x2a2)]),L(0x8,p['ITransformService']),L(0x9,a[_0x6122a6(0x240)](q))],exports[_0x6122a6(0x1a4)]),exports['PendingState']=class extends ce{constructor(_0x48e550,_0x4ed836,_0x4fe594,_0x3df4aa,_0x94484c,_0x50f983,_0x407029,_0xd1a265,_0x1de9e6,_0x3252f0,_0x549e5d,_0x489ac1,_0x2b7e40,_0x1dde55){var _0x2fce9a=_0x6122a6;super(_0x48e550,_0x4ed836,null,_0x4fe594,_0x3df4aa,_0x1de9e6,_0x2b7e40,_0x50f983,_0x1dde55),A(this,_0x2fce9a(0x226),'pending'),A(this,_0x2fce9a(0x241),null),A(this,_0x2fce9a(0x232),null),(this['_injector']=_0x94484c,this[_0x2fce9a(0x3bb)]=_0x407029,this[_0x2fce9a(0x408)]=_0xd1a265,this[_0x2fce9a(0x23c)]=_0x3252f0,this[_0x2fce9a(0x1e9)]=_0x549e5d,this['_univerInstanceService']=_0x489ac1);}['appendMutation'](_0x30daea){var _0x33fdeb=_0x6122a6;return this[_0x33fdeb(0x330)][_0x33fdeb(0x1ad)](_0x30daea),this[_0x33fdeb(0x374)](),this;}[_0x6122a6(0x164)](_0x5f1685){var _0x4f9d9c=_0x6122a6;if(this['_checkMissing'](_0x5f1685))return this[_0x4f9d9c(0x438)](),this['_injector'][_0x4f9d9c(0x286)](exports[_0x4f9d9c(0x4aa)],this['unitID'],this[_0x4f9d9c(0x258)],null,this['_pendingMutations'],null,[_0x5f1685],this[_0x4f9d9c(0x33c)]);try{const _0x5d3b46=this[_0x4f9d9c(0x1e9)][_0x4f9d9c(0x421)](_0x5f1685,this[_0x4f9d9c(0x330)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x5d3b46)){const {c1Prime:_0x5cf48f,m2Prime:_0x4686c2}=_0x5d3b46;this[_0x4f9d9c(0x3bd)](_0x5cf48f);const _0x4a268a=this[_0x4f9d9c(0x282)][_0x4f9d9c(0x286)](exports['PendingState'],this[_0x4f9d9c(0x298)],this[_0x4f9d9c(0x258)],_0x4686c2,this['_handler']);this[_0x4f9d9c(0x438)]();const _0x4c45aa=new Date()[_0x4f9d9c(0x225)](),_0x73ea16=this[_0x4f9d9c(0x241)]?Math[_0x4f9d9c(0x379)](this[_0x4f9d9c(0x241)]-_0x4c45aa,0x0):this[_0x4f9d9c(0x292)]();return _0x4a268a['_schedule'](_0x73ea16),_0x4a268a;}throw _0x5d3b46[_0x4f9d9c(0x2a4)];}catch(_0x462296){return this[_0x4f9d9c(0x408)][_0x4f9d9c(0x2a4)](_0x462296),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x574a=_0x6122a6;throw new Error(_0x574a(0x44d));}[_0x6122a6(0x197)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x6122a6(0x491)](){return this;}[_0x6122a6(0x497)](){var _0x4a9178=_0x6122a6;return this[_0x4a9178(0x438)](),this[_0x4a9178(0x282)][_0x4a9178(0x286)](exports[_0x4a9178(0x3ee)],this[_0x4a9178(0x298)],this[_0x4a9178(0x258)],null,this['_pendingMutations'],this[_0x4a9178(0x33c)]);}[_0x6122a6(0x268)](){return this;}[_0x6122a6(0x424)](_0x129d16){var _0x1f1c21=_0x6122a6;const _0x19891d=_0x129d16!=null?_0x129d16:this[_0x1f1c21(0x292)]();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x19891d,this[_0x1f1c21(0x232)]=setTimeout(()=>{var _0x2d3051=_0x1f1c21;this[_0x2d3051(0x438)]();let _0x93d02f=null;switch(this['type']){case J[_0x2d3051(0x2d0)]:{_0x93d02f=Ge(this[_0x2d3051(0x330)],this[_0x2d3051(0x298)],this[_0x2d3051(0x36f)],this['_revisionService'],this[_0x2d3051(0x3bb)]);break;}case J[_0x2d3051(0x216)]:{this[_0x2d3051(0x330)]['every'](_0x595d4e=>_0x595d4e['id']===ht[_0x2d3051(0x202)]['id'])?_0x93d02f=li(this[_0x2d3051(0x330)],this[_0x2d3051(0x298)],this[_0x2d3051(0x36f)],this[_0x2d3051(0x160)],this[_0x2d3051(0x3bb)]):_0x93d02f=Ge(this['_pendingMutations'],this[_0x2d3051(0x298)],this['_univerInstanceService'],this[_0x2d3051(0x160)],this[_0x2d3051(0x3bb)]);break;}default:throw new Error(_0x2d3051(0x4b8)+this[_0x2d3051(0x258)]+_0x2d3051(0x255));}const {changeset:_0x1c2e13,pendingMutations:_0x47345d}=_0x93d02f;this[_0x2d3051(0x33c)][_0x2d3051(0x3fb)](_0x1c2e13);const _0x5212d0=_0x47345d[_0x2d3051(0x254)]?this['_injector']['createInstance'](exports[_0x2d3051(0x19b)],this['unitID'],this['type'],_0x1c2e13,_0x47345d,this['_handler'],void 0x0):this[_0x2d3051(0x282)][_0x2d3051(0x286)](exports[_0x2d3051(0x184)],this['unitID'],this[_0x2d3051(0x258)],_0x1c2e13,this['_handler']);_0x5212d0[_0x2d3051(0x374)](),this[_0x2d3051(0x33c)][_0x2d3051(0x499)](this,_0x5212d0);},_0x19891d);}['_getSendChangesetTimeout'](){var _0x11bf41=_0x6122a6,_0xbad716;const _0x2bf72d=this['_configService']['getConfig'](G);return(_0xbad716=_0x2bf72d==null?void 0x0:_0x2bf72d[_0x11bf41(0x33e)])!=null?_0xbad716:xt;}[_0x6122a6(0x174)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x6122a6(0x438)](){var _0x8ad0ed=_0x6122a6;this[_0x8ad0ed(0x232)]!=null&&(clearTimeout(this[_0x8ad0ed(0x232)]),this['_sendingTimer']=null);}[_0x6122a6(0x1c1)](_0x284843){var _0x29c38e=_0x6122a6;return this['_clearScheduledTask'](),this[_0x29c38e(0x282)][_0x29c38e(0x286)](exports[_0x29c38e(0x464)],this['unitID'],this[_0x29c38e(0x258)],null,this['_pendingMutations'],this['_handler'],_0x284843);}},exports[_0x6122a6(0x336)]=ae([L(0x4,a['Inject'](a[_0x6122a6(0x2a0)])),L(0x5,a['Inject'](p[_0x6122a6(0x1e6)])),L(0x6,a[_0x6122a6(0x43e)](exports[_0x6122a6(0x37b)])),L(0x7,a['ILogService']),L(0x8,a['ICommandService']),L(0x9,a[_0x6122a6(0x2a5)]),L(0xa,p[_0x6122a6(0x201)]),L(0xb,a[_0x6122a6(0x43f)]),L(0xc,a[_0x6122a6(0x4a6)]),L(0xd,a[_0x6122a6(0x240)](q))],exports[_0x6122a6(0x336)]),exports[_0x6122a6(0x184)]=class extends ce{constructor(_0x3f5b1d,_0x5f1408,_0x97e5e,_0x2b0799,_0x5f44fa,_0x571007,_0x58311f,_0x451a69,_0x46aed3,_0x503103,_0x46a506){var _0x2426f6=_0x6122a6;super(_0x3f5b1d,_0x5f1408,_0x97e5e,[],_0x2b0799,_0x58311f,_0x503103,_0x571007,_0x46a506),A(this,_0x2426f6(0x226),'awaiting'),A(this,_0x2426f6(0x3f7),0x0),A(this,_0x2426f6(0x1bf)),A(this,'_sender'),(this[_0x2426f6(0x282)]=_0x5f44fa,this['_logService']=_0x451a69,this[_0x2426f6(0x1e9)]=_0x46aed3);}[_0x6122a6(0x210)](_0xf8d43e){var _0x36893d=_0x6122a6;this[_0x36893d(0x438)]();const _0x107ead=this[_0x36893d(0x282)][_0x36893d(0x286)](exports[_0x36893d(0x19b)],this[_0x36893d(0x298)],this[_0x36893d(0x258)],this[_0x36893d(0x274)],[_0xf8d43e],this[_0x36893d(0x33c)],this[_0x36893d(0x1bf)]);return _0x107ead[_0x36893d(0x374)](),_0x107ead;}[_0x6122a6(0x164)](_0x275f78){var _0x8c7601=_0x6122a6;if(this[_0x8c7601(0x1d1)](_0x275f78))return this['_clearScheduledTask'](),this['_injector']['createInstance'](exports[_0x8c7601(0x4aa)],this['unitID'],this['type'],this[_0x8c7601(0x274)],[],null,[_0x275f78],this[_0x8c7601(0x33c)]);try{const _0xd2d6ee=this[_0x8c7601(0x1e9)][_0x8c7601(0x402)]([_0x275f78],[this[_0x8c7601(0x274)]],!0x1);if(p[_0x8c7601(0x23e)](_0xd2d6ee)){const {c1Prime:_0x471d87,c2Prime:_0x4a8db1}=_0xd2d6ee;this[_0x8c7601(0x3bd)](_0x471d87[0x0]),_0x4a8db1[0x0][_0x8c7601(0x332)]=this[_0x8c7601(0x3b1)](),this[_0x8c7601(0x438)]();const _0x2914be=this['_injector'][_0x8c7601(0x286)](exports[_0x8c7601(0x184)],this[_0x8c7601(0x298)],this[_0x8c7601(0x258)],_0x4a8db1[0x0],this[_0x8c7601(0x33c)]);return _0x2914be[_0x8c7601(0x374)](),_0x2914be;}return this[_0x8c7601(0x1c1)](!0x1);}catch(_0x24af6c){return this[_0x8c7601(0x408)][_0x8c7601(0x2a4)](_0x24af6c),this[_0x8c7601(0x1c1)](!0x1);}}['onRemoteAck'](_0x50ca86){var _0xea229f=_0x6122a6;this[_0xea229f(0x438)]();const _0x46662f=this['_revisionService'][_0xea229f(0x305)](this['unitID']);if(_0x50ca86[_0xea229f(0x28e)]<_0x46662f-0x1)return this;if(this[_0xea229f(0x1d1)](_0x50ca86))return this[_0xea229f(0x282)][_0xea229f(0x286)](exports[_0xea229f(0x4aa)],this['unitID'],this[_0xea229f(0x258)],null,[],this[_0xea229f(0x274)],[],this[_0xea229f(0x33c)]);this[_0xea229f(0x1a9)]();const _0x1c5610=this[_0xea229f(0x282)]['createInstance'](exports[_0xea229f(0x1a4)],this[_0xea229f(0x298)],this[_0xea229f(0x258)],this['_handler']);return _0x1c5610[_0xea229f(0x374)](),_0x1c5610;}[_0x6122a6(0x197)](_0x327972){var _0x60915c=_0x6122a6;return this[_0x60915c(0x1c1)](!!(_0x327972!=null&&_0x327972[_0x60915c(0x3a7)]));}[_0x6122a6(0x491)](_0x103b6c){var _0x1d0318=_0x6122a6;return this[_0x1d0318(0x3f7)]>Rt?this[_0x1d0318(0x497)]():(this[_0x1d0318(0x1bf)]=bt(this[_0x1d0318(0x3f7)],{'timeout':this[_0x1d0318(0x3f7)],'reqId':_0x103b6c['reqId']}),this[_0x1d0318(0x389)]=this[_0x1d0318(0x1bf)][_0x1d0318(0x3d3)](({reqId:_0x1cde15,timeout:_0x21c043})=>{var _0x5878ce=_0x1d0318;this[_0x5878ce(0x463)](_0x1cde15,_0x21c043);}),this);}['toggleOffline'](){var _0x554757=_0x6122a6;return this[_0x554757(0x438)](),this[_0x554757(0x282)][_0x554757(0x286)](exports[_0x554757(0x3ee)],this['unitID'],this[_0x554757(0x258)],this[_0x554757(0x274)],[],this[_0x554757(0x33c)]);}[_0x6122a6(0x268)](){return this;}[_0x6122a6(0x174)](){var _0x276139=_0x6122a6;this[_0x276139(0x33c)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x6122a6(0x1c1)](_0x23a4bb){var _0x2f08c4=_0x6122a6;return this[_0x2f08c4(0x438)](),this[_0x2f08c4(0x282)][_0x2f08c4(0x286)](exports[_0x2f08c4(0x464)],this[_0x2f08c4(0x298)],this[_0x2f08c4(0x258)],this['_awaitingChangeset'],[],this['_handler'],_0x23a4bb);}[_0x6122a6(0x463)](_0x892a80,_0x12017d){var _0x5c58a0=_0x6122a6,_0x51cc44;_0x892a80===((_0x51cc44=this[_0x5c58a0(0x274)])==null?void 0x0:_0x51cc44[_0x5c58a0(0x468)])&&(this[_0x5c58a0(0x174)](),this[_0x5c58a0(0x3f7)]=_0x12017d===0x0?0x3e8:_0x12017d*0x2);}[_0x6122a6(0x438)](){var _0x16775e=_0x6122a6,_0x5f12c5;(_0x5f12c5=this[_0x16775e(0x389)])==null||_0x5f12c5['unsubscribe'](),this[_0x16775e(0x3f7)]=0x0;}},exports[_0x6122a6(0x184)]=ae([L(0x4,a[_0x6122a6(0x43e)](a[_0x6122a6(0x2a0)])),L(0x5,a[_0x6122a6(0x43e)](p[_0x6122a6(0x1e6)])),L(0x6,a[_0x6122a6(0x352)]),L(0x7,a['ILogService']),L(0x8,p[_0x6122a6(0x201)]),L(0x9,a[_0x6122a6(0x4a6)]),L(0xa,a[_0x6122a6(0x240)](q))],exports[_0x6122a6(0x184)]),exports['AwaitingWithPendingState']=class extends ce{constructor(_0xd8f419,_0x1b7d2d,_0x1f3a38,_0x1c316,_0x50598a,_0xf72643,_0x587b2a,_0x4d5f38,_0x3beb2b,_0x22ee97,_0x192eb0,_0x3cd545,_0x16a72a){var _0x17aa57=_0x6122a6;super(_0xd8f419,_0x1b7d2d,_0x1f3a38,_0x1c316,_0x50598a,_0x3beb2b,_0x3cd545,_0x4d5f38,_0x16a72a),A(this,_0x17aa57(0x226),'awaiting_with_pending'),A(this,_0x17aa57(0x3f7),0x0),A(this,_0x17aa57(0x1bf)),A(this,_0x17aa57(0x389)),(this['_injector']=_0x587b2a,this['_logService']=_0x22ee97,this['_transformService']=_0x192eb0,this['localCacheService']=_0x16a72a,_0xf72643&&(this[_0x17aa57(0x1bf)]=_0xf72643,this[_0x17aa57(0x389)]=this[_0x17aa57(0x1bf)][_0x17aa57(0x3d3)](({reqId:_0x262370,timeout:_0x4d692a})=>{this['_resendWithTimeout'](_0x262370,_0x4d692a);})));}[_0x6122a6(0x210)](_0x1dce4b){var _0x1f5db3=_0x6122a6;return this['_pendingMutations'][_0x1f5db3(0x1ad)](_0x1dce4b),this;}['onRemoteChangeset'](_0x4532c0){var _0xe19966=_0x6122a6;if(this[_0xe19966(0x1d1)](_0x4532c0))return this[_0xe19966(0x438)](),this[_0xe19966(0x282)][_0xe19966(0x286)](exports['FetchingMissState'],this[_0xe19966(0x298)],this[_0xe19966(0x258)],this[_0xe19966(0x274)],this[_0xe19966(0x330)],null,[_0x4532c0],this['_handler']);try{const _0x31e7f8=this[_0xe19966(0x1e9)]['transformChangesets']([_0x4532c0],[this[_0xe19966(0x274)]],!0x1);if(p[_0xe19966(0x23e)](_0x31e7f8)){const {c1Prime:_0x3b8ad1,c2Prime:_0x356924}=_0x31e7f8,_0xf1205d=this[_0xe19966(0x1e9)][_0xe19966(0x421)](_0x3b8ad1[0x0],this[_0xe19966(0x330)]);if(p[_0xe19966(0x1ae)](_0xf1205d)){const {c1Prime:_0x556540,m2Prime:_0x133c0a}=_0xf1205d;return this['_executeRemoteChangeset'](_0x556540),_0x356924[0x0][_0xe19966(0x332)]=this['_getCurrentRevision'](),this[_0xe19966(0x438)](),this[_0xe19966(0x282)][_0xe19966(0x286)](exports[_0xe19966(0x19b)],this[_0xe19966(0x298)],this['type'],_0x356924[0x0],_0x133c0a,this[_0xe19966(0x33c)],void 0x0);}throw _0xf1205d[_0xe19966(0x2a4)];}throw _0x31e7f8[_0xe19966(0x2a4)];}catch(_0x3c50bf){return this[_0xe19966(0x408)][_0xe19966(0x2a4)](_0x3c50bf),this[_0xe19966(0x1c1)](!0x1);}}[_0x6122a6(0x2ac)](_0x541e40){var _0x2066e4=_0x6122a6;if(this[_0x2066e4(0x438)](),this[_0x2066e4(0x1d1)](_0x541e40))return this[_0x2066e4(0x282)]['createInstance'](exports[_0x2066e4(0x4aa)],this[_0x2066e4(0x298)],this[_0x2066e4(0x258)],null,this['_pendingMutations'],this[_0x2066e4(0x274)],[],this['_handler']);this[_0x2066e4(0x1a9)]();const _0x5ed454=this['_injector']['createInstance'](exports[_0x2066e4(0x336)],this[_0x2066e4(0x298)],this[_0x2066e4(0x258)],this[_0x2066e4(0x330)],this[_0x2066e4(0x33c)]);return _0x5ed454['_schedule'](),_0x5ed454[_0x2066e4(0x374)](),_0x5ed454;}[_0x6122a6(0x197)](_0x277940){return this['_onConflict'](!!(_0x277940!=null&&_0x277940['isPermissionRej']));}['onRemoteRetry'](_0x1dc08a){var _0x4ba83a=_0x6122a6;return this['_resendTimeout']>Rt?this[_0x4ba83a(0x497)]():(this['_resendTimer']=bt(this[_0x4ba83a(0x3f7)],{'timeout':this[_0x4ba83a(0x3f7)],'reqId':_0x1dc08a[_0x4ba83a(0x468)]}),this[_0x4ba83a(0x389)]=this['_resendTimer'][_0x4ba83a(0x3d3)](({reqId:_0x3f0d47,timeout:_0xf6f501})=>{var _0x4cc608=_0x4ba83a;this[_0x4cc608(0x463)](_0x3f0d47,_0xf6f501);}),this);}[_0x6122a6(0x497)](){var _0x5a0a4d=_0x6122a6;return this[_0x5a0a4d(0x438)](),this['_injector'][_0x5a0a4d(0x286)](exports[_0x5a0a4d(0x3ee)],this[_0x5a0a4d(0x298)],this[_0x5a0a4d(0x258)],this[_0x5a0a4d(0x274)],this[_0x5a0a4d(0x330)],this[_0x5a0a4d(0x33c)]);}[_0x6122a6(0x268)](){return this;}[_0x6122a6(0x174)](){var _0x2eb3c3=_0x6122a6;this[_0x2eb3c3(0x33c)][_0x2eb3c3(0x3fb)](this[_0x2eb3c3(0x274)]);}[_0x6122a6(0x1c1)](_0x5279dd){var _0x1b15d5=_0x6122a6;return this[_0x1b15d5(0x438)](),this[_0x1b15d5(0x282)][_0x1b15d5(0x286)](exports[_0x1b15d5(0x464)],this[_0x1b15d5(0x298)],this[_0x1b15d5(0x258)],null,this[_0x1b15d5(0x330)],this['_handler'],_0x5279dd);}['_resendWithTimeout'](_0x51fd27,_0x48a8aa){var _0x279e6a=_0x6122a6,_0x1ab98f;_0x51fd27===((_0x1ab98f=this['_awaitingChangeset'])==null?void 0x0:_0x1ab98f[_0x279e6a(0x468)])&&(this[_0x279e6a(0x174)](),this[_0x279e6a(0x3f7)]=_0x48a8aa===0x0?0x3e8:_0x48a8aa*0x2);}[_0x6122a6(0x438)](){var _0x19f1f4=_0x6122a6,_0x3c5a2;(_0x3c5a2=this[_0x19f1f4(0x389)])==null||_0x3c5a2['unsubscribe'](),this[_0x19f1f4(0x3f7)]=0x0;}},exports[_0x6122a6(0x19b)]=ae([L(0x6,a[_0x6122a6(0x43e)](a[_0x6122a6(0x2a0)])),L(0x7,a[_0x6122a6(0x43e)](p[_0x6122a6(0x1e6)])),L(0x8,a[_0x6122a6(0x352)]),L(0x9,a['ILogService']),L(0xa,p['ITransformService']),L(0xb,a[_0x6122a6(0x4a6)]),L(0xc,a['Optional'](q))],exports[_0x6122a6(0x19b)]),exports[_0x6122a6(0x464)]=class extends ce{constructor(_0x16ba9d,_0x1ffe11,_0x2c7d92,_0x2975fa,_0x1da70e,_0x4fd547=!0x1,_0x3df6d0,_0x5720f3,_0x42e4c5,_0x1cd0a1,_0x4fb0ab,_0x5bd623,_0x5dc8b2){var _0x1d764e=_0x6122a6;super(_0x16ba9d,_0x1ffe11,_0x2c7d92,_0x2975fa,_0x1da70e,_0x5720f3,_0x42e4c5,_0x1cd0a1,_0x5dc8b2),A(this,_0x1d764e(0x226),'conflict'),(this[_0x1d764e(0x2dd)]=_0x4fd547,this[_0x1d764e(0x203)]=_0x3df6d0,this[_0x1d764e(0x467)]=_0x4fb0ab,this[_0x1d764e(0x36e)]=_0x5bd623,this[_0x1d764e(0x2a8)]=_0x5dc8b2,this[_0x1d764e(0x3ba)](),this[_0x1d764e(0x1a2)](),this[_0x1d764e(0x317)]());}[_0x6122a6(0x210)](){return this;}[_0x6122a6(0x164)](){return this;}[_0x6122a6(0x2ac)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x6122a6(0x497)](){return this;}['toggleOnline'](){return this;}[_0x6122a6(0x174)](){var _0x4e0402=_0x6122a6;throw new Error(_0x4e0402(0x4ab));}[_0x6122a6(0x1a2)](){var _0x2ecf42;(_0x2ecf42=this['_localCacheService'])==null||_0x2ecf42['updateOfflineData'](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){var _0x32176c=_0x6122a6;this[_0x32176c(0x2dd)]?this[_0x32176c(0x36e)][_0x32176c(0x3ad)]({'id':Z[_0x32176c(0x31f)]}):this[_0x32176c(0x36e)]['emitEvent']({'id':Z[_0x32176c(0x171)]});}['_disableEditing'](){var _0x54da92=_0x6122a6;this[_0x54da92(0x203)][_0x54da92(0x1ef)](new X[(_0x54da92(0x2db))](this[_0x54da92(0x298)])['id'],!0x1);}},exports[_0x6122a6(0x464)]=ae([L(0x6,a[_0x6122a6(0x43e)](a['IPermissionService'])),L(0x7,a[_0x6122a6(0x352)]),L(0x8,a[_0x6122a6(0x4a6)]),L(0x9,a['Inject'](p['RevisionService'])),L(0xa,a['Inject'](a[_0x6122a6(0x4cc)])),L(0xb,a['Inject'](ee)),L(0xc,a[_0x6122a6(0x240)](q))],exports['ConflictState']),exports['OfflineState']=class extends ce{constructor(_0x3cad89,_0x36fb79,_0x1ae0ed,_0x5d5b02,_0x51e031,_0x6b737a,_0x29f9d0,_0x2ede9a,_0x46543b,_0x194552){var _0x58298d=_0x6122a6;super(_0x3cad89,_0x36fb79,_0x1ae0ed,_0x5d5b02,_0x51e031,_0x2ede9a,_0x46543b,_0x29f9d0,_0x194552),A(this,_0x58298d(0x226),_0x58298d(0x2ea)),this[_0x58298d(0x282)]=_0x6b737a;}['appendMutation'](_0x570eb3){var _0x6f3cfe=_0x6122a6;return this[_0x6f3cfe(0x330)]['push'](_0x570eb3),this[_0x6f3cfe(0x374)](),this;}[_0x6122a6(0x164)](_0x2bee40){var _0x175686=_0x6122a6;throw new Error(_0x175686(0x22a));}[_0x6122a6(0x2ac)](){var _0x192d0b=_0x6122a6;throw new Error(_0x192d0b(0x178));}[_0x6122a6(0x197)](){var _0x5d4c12=_0x6122a6;throw new Error(_0x5d4c12(0x483));}[_0x6122a6(0x491)](){return this;}[_0x6122a6(0x497)](){return this;}[_0x6122a6(0x268)](){var _0x2ad658=_0x6122a6;const {_injector:_0x1e2aee,_pendingMutations:_0x43bd61,_awaitingChangeset:_0xb232c6,unitID:_0xc0daec,_handler:_0x420e51,type:_0x48f859}=this,_0xdd509a=Ot(_0x1e2aee,_0xc0daec,_0x48f859,_0xb232c6,_0x43bd61,_0x420e51);return _0xdd509a instanceof exports[_0x2ad658(0x336)]?_0xdd509a[_0x2ad658(0x424)]():(_0xdd509a instanceof exports['AwaitingWithPendingState']||_0xdd509a instanceof exports[_0x2ad658(0x184)])&&_0xdd509a[_0x2ad658(0x174)](),_0xdd509a;}[_0x6122a6(0x174)](){var _0x181eba=_0x6122a6;throw new Error(_0x181eba(0x175));}},exports[_0x6122a6(0x3ee)]=ae([L(0x5,a[_0x6122a6(0x43e)](a['Injector'])),L(0x6,a['Inject'](p['RevisionService'])),L(0x7,a['ICommandService']),L(0x8,a[_0x6122a6(0x4a6)]),L(0x9,a['Optional'](q))],exports[_0x6122a6(0x3ee)]),exports['FetchingMissState']=class extends ce{constructor(_0x360c01,_0x7eebba,_0x5affbe,_0x4bc48c,_0x207243,_0x283a59,_0x311334,_0x534086,_0x3fb2b5,_0x337a35,_0x21893b,_0x1ee112,_0x587450,_0x3b4972){var _0x2f8623=_0x6122a6;super(_0x360c01,_0x7eebba,_0x5affbe,_0x4bc48c,_0x311334,_0x21893b,_0x1ee112,_0x3fb2b5,_0x3b4972),A(this,_0x2f8623(0x226),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x207243,this['_queuedRemoteChangesets']=_0x283a59,this[_0x2f8623(0x282)]=_0x534086,this[_0x2f8623(0x408)]=_0x337a35,this[_0x2f8623(0x1e9)]=_0x587450,this[_0x2f8623(0x2a8)]=_0x3b4972);}[_0x6122a6(0x3f9)](_0xdb3328){var _0x328d3d=_0x6122a6;try{const _0x38ec06=[..._0xdb3328,...this[_0x328d3d(0x186)]],_0x45fdba=[this[_0x328d3d(0x274)]||this[_0x328d3d(0x3aa)]][_0x328d3d(0x21e)](_0x575697=>!!_0x575697);let _0x3eb538,_0x8490b6;if(_0x45fdba['length']){const _0x4836d6=this[_0x328d3d(0x1e9)][_0x328d3d(0x402)](_0x38ec06,_0x45fdba,!0x1);if(!p[_0x328d3d(0x23e)](_0x4836d6))throw _0x4836d6['error'];_0x3eb538=_0x4836d6['c1Prime'],_0x8490b6=_0x4836d6[_0x328d3d(0x2f6)];}else _0x3eb538=_0x38ec06,_0x8490b6=[];let _0x7f35fa=this[_0x328d3d(0x330)];_0x3eb538['forEach'](_0xbef330=>{var _0x9eacdc=_0x328d3d;let _0x275f4c;if(_0x7f35fa['length']){const _0x186537=this[_0x9eacdc(0x1e9)][_0x9eacdc(0x421)](_0xbef330,_0x7f35fa);if(!p[_0x9eacdc(0x1ae)](_0x186537))throw _0x186537[_0x9eacdc(0x2a4)];_0x275f4c=_0x186537[_0x9eacdc(0x3e1)],_0x7f35fa=_0x186537[_0x9eacdc(0x259)];}else _0x275f4c=_0xbef330;this[_0x9eacdc(0x3bd)](_0x275f4c);}),this[_0x328d3d(0x3aa)]&&this[_0x328d3d(0x1a9)](),this[_0x328d3d(0x274)]&&_0x8490b6[_0x328d3d(0x254)]&&(_0x8490b6[0x0][_0x328d3d(0x332)]=this[_0x328d3d(0x3b1)]());let _0xfa6d2;if(this['_awaitingChangeset']&&_0x7f35fa[_0x328d3d(0x254)]!==0x0)_0xfa6d2=this[_0x328d3d(0x282)]['createInstance'](exports[_0x328d3d(0x19b)],this['unitID'],this['type'],_0x8490b6[0x0],_0x7f35fa,this[_0x328d3d(0x33c)],void 0x0);else{if(this[_0x328d3d(0x274)]&&_0x7f35fa[_0x328d3d(0x254)]===0x0)_0x8490b6[0x0][_0x328d3d(0x332)]=this[_0x328d3d(0x3b1)](),_0xfa6d2=this[_0x328d3d(0x282)][_0x328d3d(0x286)](exports[_0x328d3d(0x184)],this[_0x328d3d(0x298)],this[_0x328d3d(0x258)],_0x8490b6[0x0],this['_handler']);else{if(_0x7f35fa[_0x328d3d(0x254)]!==0x0){const _0x4e1f36=this['_injector'][_0x328d3d(0x286)](exports[_0x328d3d(0x336)],this[_0x328d3d(0x298)],this[_0x328d3d(0x258)],_0x7f35fa,this[_0x328d3d(0x33c)]);_0x4e1f36['_schedule'](),_0xfa6d2=_0x4e1f36;}else _0xfa6d2=this['_injector'][_0x328d3d(0x286)](exports[_0x328d3d(0x1a4)],this[_0x328d3d(0x298)],this[_0x328d3d(0x258)],this['_handler']);}}return _0xfa6d2[_0x328d3d(0x374)](),_0xfa6d2;}catch(_0x68aa89){return this['_logService'][_0x328d3d(0x2a4)](_0x328d3d(0x2c0),_0x328d3d(0x3db),_0x68aa89),this[_0x328d3d(0x282)][_0x328d3d(0x286)](exports[_0x328d3d(0x464)],this['unitID'],this[_0x328d3d(0x258)],this[_0x328d3d(0x274)],this[_0x328d3d(0x330)],this['_handler'],!0x1);}}[_0x6122a6(0x174)](){var _0x5eba02=_0x6122a6;throw new Error(_0x5eba02(0x320));}[_0x6122a6(0x210)](_0x5e51fa){var _0x5b33e5=_0x6122a6;return this[_0x5b33e5(0x330)]['push'](_0x5e51fa),this;}['onRemoteChangeset'](_0x56bd13){return this['_queuedRemoteChangesets']['push'](_0x56bd13),this;}[_0x6122a6(0x2ac)](_0x7f7d8b){var _0x350825=_0x6122a6;if(this[_0x350825(0x274)])return this[_0x350825(0x3aa)]=this[_0x350825(0x274)],this['_awaitingChangeset']=null,this;throw new Error(_0x350825(0x1b2));}[_0x6122a6(0x197)](_0x2a5bca){var _0x57bb97=_0x6122a6;return this[_0x57bb97(0x1c1)](!!(_0x2a5bca!=null&&_0x2a5bca[_0x57bb97(0x3a7)]));}[_0x6122a6(0x491)](){return this;}[_0x6122a6(0x497)](){var _0x3402ec=_0x6122a6;return this[_0x3402ec(0x282)][_0x3402ec(0x286)](exports[_0x3402ec(0x3ee)],this[_0x3402ec(0x298)],this[_0x3402ec(0x258)],this[_0x3402ec(0x274)],this[_0x3402ec(0x330)],this[_0x3402ec(0x33c)]);}[_0x6122a6(0x268)](){return this;}[_0x6122a6(0x1c1)](_0x179084){var _0x2529c6=_0x6122a6;return this[_0x2529c6(0x282)][_0x2529c6(0x286)](exports['ConflictState'],this[_0x2529c6(0x298)],this['type'],this[_0x2529c6(0x274)],this[_0x2529c6(0x330)],this[_0x2529c6(0x33c)],_0x179084);}},exports[_0x6122a6(0x4aa)]=ae([L(0x7,a[_0x6122a6(0x43e)](a[_0x6122a6(0x2a0)])),L(0x8,a[_0x6122a6(0x43e)](p[_0x6122a6(0x1e6)])),L(0x9,a['ILogService']),L(0xa,a[_0x6122a6(0x352)]),L(0xb,a['IUndoRedoService']),L(0xc,p[_0x6122a6(0x201)]),L(0xd,a[_0x6122a6(0x240)](q))],exports[_0x6122a6(0x4aa)]);function Ot(_0x3b7b04,_0x29e89c,_0x18d1b4,_0x49e2a0,_0x440368,_0x85d68d){var _0x179086=_0x6122a6;return _0x49e2a0&&_0x440368[_0x179086(0x254)]?_0x3b7b04[_0x179086(0x286)](exports[_0x179086(0x19b)],_0x29e89c,_0x18d1b4,_0x49e2a0,_0x440368,_0x85d68d,void 0x0):_0x49e2a0?_0x3b7b04[_0x179086(0x286)](exports[_0x179086(0x184)],_0x29e89c,_0x18d1b4,_0x49e2a0,_0x85d68d):_0x440368[_0x179086(0x254)]?_0x3b7b04[_0x179086(0x286)](exports[_0x179086(0x336)],_0x29e89c,_0x18d1b4,_0x440368,_0x85d68d):_0x3b7b04[_0x179086(0x286)](exports['SyncedState'],_0x29e89c,_0x18d1b4,_0x85d68d);}var vi=Object[_0x6122a6(0x333)],Fe=(_0x49e762,_0x5f10f6,_0x3ec5a3,_0x35ff59)=>{var _0x52b796=_0x6122a6;for(var _0x52dce9=_0x35ff59>0x1?void 0x0:_0x35ff59?vi(_0x5f10f6,_0x3ec5a3):_0x5f10f6,_0x3caa47=_0x49e762[_0x52b796(0x254)]-0x1,_0x25058d;_0x3caa47>=0x0;_0x3caa47--)(_0x25058d=_0x49e762[_0x3caa47])&&(_0x52dce9=_0x25058d(_0x52dce9)||_0x52dce9);return _0x52dce9;},j=(_0x4a9db5,_0x40a180)=>(_0x53b1f2,_0x5cf78f)=>_0x40a180(_0x53b1f2,_0x5cf78f,_0x4a9db5);exports['CollaborationEntity']=class extends a[_0x6122a6(0x404)]{constructor(_0x477af1,_0x3d0aea,_0x219fb2,_0x53e0be,_0x139a2b,_0x3de9f0,_0x1ea841,_0x29da98,_0x205457,_0x40936d,_0xff21e5,_0x13ef81,_0xec6f40){var _0x5be6c2=_0x6122a6;super(),A(this,_0x5be6c2(0x165),new $[(_0x5be6c2(0x3b5))](null)),A(this,_0x5be6c2(0x264),this[_0x5be6c2(0x165)][_0x5be6c2(0x207)]()),A(this,_0x5be6c2(0x1ba)),A(this,_0x5be6c2(0x48f),!0x1),A(this,_0x5be6c2(0x257),''),A(this,_0x5be6c2(0x253),0x0),A(this,_0x5be6c2(0x2cb),this[_0x5be6c2(0x264)][_0x5be6c2(0x211)]($[_0x5be6c2(0x243)](_0xf5d4ec=>_0xf5d4ec?_0xf5d4ec[_0x5be6c2(0x226)]:Be['OFFLINE']),$[_0x5be6c2(0x182)](0x1))),A(this,'_transitionLocked',!0x1),A(this,_0x5be6c2(0x4b7),[]),(this[_0x5be6c2(0x298)]=_0x477af1,this[_0x5be6c2(0x414)]=_0x3d0aea,this[_0x5be6c2(0x42d)]=_0x219fb2,this[_0x5be6c2(0x282)]=_0x53e0be,this[_0x5be6c2(0x48b)]=_0x139a2b,this[_0x5be6c2(0x467)]=_0x3de9f0,this[_0x5be6c2(0x160)]=_0x1ea841,this[_0x5be6c2(0x172)]=_0x29da98,this[_0x5be6c2(0x408)]=_0x205457,this[_0x5be6c2(0x475)]=_0x40936d,this[_0x5be6c2(0x203)]=_0xff21e5,this[_0x5be6c2(0x161)]=_0x13ef81,this[_0x5be6c2(0x427)]=_0xec6f40);}get['state'](){var _0x369cbd=_0x6122a6;return this[_0x369cbd(0x1ba)];}async[_0x6122a6(0x1af)](){var _0x32062e=_0x6122a6;if(this[_0x32062e(0x469)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x6122a6(0x267)](){var _0x1f98d0=_0x6122a6;return this[_0x1f98d0(0x48f)]=!0x0,a[_0x1f98d0(0x3f0)](()=>{var _0xa17b75=_0x1f98d0;this['_collaborationPaused']=!0x1,this[_0xa17b75(0x299)]();});}[_0x6122a6(0x3f2)](_0x415cf8){var _0x37df42=_0x6122a6;this[_0x37df42(0x450)](_0x415cf8);}[_0x6122a6(0x2ec)](_0x57a56f){var _0xbf146b=_0x6122a6;this[_0xbf146b(0x1ba)]=_0x57a56f,this[_0xbf146b(0x165)][_0xbf146b(0x1f4)](_0x57a56f);}async[_0x6122a6(0x4bd)](){var _0x813b89=_0x6122a6,_0x506ad8;this[_0x813b89(0x2ec)](await this[_0x813b89(0x2a3)]()),this[_0x813b89(0x161)]&&((_0x506ad8=this[_0x813b89(0x161)])==null||_0x506ad8['editingUnit'](this[_0x813b89(0x298)]),this[_0x813b89(0x38c)](this[_0x813b89(0x161)][_0x813b89(0x3e8)](this[_0x813b89(0x298)])['subscribe'](_0x4e1aaf=>{var _0x406e71=_0x813b89;this[_0x406e71(0x408)][_0x406e71(0x249)](_0x406e71(0x246),_0x406e71(0x359),_0x4e1aaf),_0x4e1aaf===je[_0x406e71(0x4bb)]?(this['_eventService'][_0x406e71(0x3ad)]({'id':Z[_0x406e71(0x362)]}),this[_0x406e71(0x203)]['updatePermissionPoint'](new X[(_0x406e71(0x2db))](this[_0x406e71(0x298)])['id'],!0x1),this[_0x406e71(0x203)]['setShowComponents'](!0x1)):(this[_0x406e71(0x203)][_0x406e71(0x1ef)](new X[(_0x406e71(0x2db))](this[_0x406e71(0x298)])['id'],!0x0),this[_0x406e71(0x203)]['setShowComponents'](!0x0));})));let _0x10d2ea=!0x1;return this[_0x813b89(0x38c)](this[_0x813b89(0x414)][_0x813b89(0x296)][_0x813b89(0x3d3)](_0x3197c4=>{var _0x50d2b5=_0x813b89;_0x3197c4===re[_0x50d2b5(0x426)]?this[_0x50d2b5(0x1aa)](_0x10d2ea):_0x3197c4===re[_0x50d2b5(0x20c)]&&(_0x10d2ea=!0x0,this[_0x50d2b5(0x37a)]());})),this[_0x813b89(0x38c)](this[_0x813b89(0x414)][_0x813b89(0x22d)][_0x813b89(0x3d3)](_0x3dba29=>{var _0x4bf45f=_0x813b89;try{switch(_0x3dba29[_0x4bf45f(0x2fc)]){case p[_0x4bf45f(0x2b2)]['NEW_CHANGESETS']:{this[_0x4bf45f(0x353)](p[_0x4bf45f(0x1d9)](_0x3dba29[_0x4bf45f(0x398)]));break;}case p[_0x4bf45f(0x2b2)][_0x4bf45f(0x46c)]:{this[_0x4bf45f(0x1b8)](_0x3dba29['data']);break;}case p[_0x4bf45f(0x2b2)]['CHANGESET_REJ']:{this[_0x4bf45f(0x21f)]();break;}case p['CollaborationEvent'][_0x4bf45f(0x3b6)]:{this[_0x4bf45f(0x1e7)](_0x3dba29['data']);break;}case p[_0x4bf45f(0x2b2)][_0x4bf45f(0x1c2)]:{this[_0x4bf45f(0x4b1)](_0x3dba29[_0x4bf45f(0x398)]['changesets'][_0x4bf45f(0x243)](_0x3e1b64=>p[_0x4bf45f(0x1d9)](_0x3e1b64)));break;}case p[_0x4bf45f(0x2b2)][_0x4bf45f(0x281)]:{this[_0x4bf45f(0x21f)]({'isPermissionRej':!0x0});break;}case p['CollaborationEvent'][_0x4bf45f(0x47b)]:break;}}catch(_0x5c0e51){throw console[_0x4bf45f(0x2a4)](_0x4bf45f(0x3a9),_0x5c0e51),_0x5c0e51;}})),this[_0x813b89(0x1ba)];}[_0x6122a6(0x2b4)](){var _0x2c480a=_0x6122a6;this[_0x2c480a(0x230)]=!0x1;}[_0x6122a6(0x45c)](){var _0x5eedcd=_0x6122a6;if(this[_0x5eedcd(0x230)])throw new Error(_0x5eedcd(0x3b8));this[_0x5eedcd(0x230)]=!0x0;}[_0x6122a6(0x450)](_0x4423cc){var _0x2838ac=_0x6122a6;this[_0x2838ac(0x45c)](),this[_0x2838ac(0x2ec)](this[_0x2838ac(0x1ba)][_0x2838ac(0x210)](_0x4423cc)),this['_unlockTransition']();}[_0x6122a6(0x353)](_0x1d7a08){var _0x42e9a9=_0x6122a6;if(!(_0x1d7a08[_0x42e9a9(0x28e)]<=this[_0x42e9a9(0x160)][_0x42e9a9(0x305)](this[_0x42e9a9(0x298)]))){if(this[_0x42e9a9(0x48f)]){this[_0x42e9a9(0x4b7)][_0x42e9a9(0x1ad)](_0x1d7a08);return;}this[_0x42e9a9(0x25b)](_0x1d7a08);}}[_0x6122a6(0x299)](){var _0x41043e=_0x6122a6;this[_0x41043e(0x4b7)][_0x41043e(0x44b)](_0x47ce25=>this['_applyRemoteChangeset'](_0x47ce25)),this[_0x41043e(0x4b7)]=[];}[_0x6122a6(0x25b)](_0x1084ad){var _0x353c82=_0x6122a6;const _0x2c7755=this[_0x353c82(0x48b)][_0x353c82(0x34d)][_0x353c82(0x339)](this['_compressMutationService'][_0x353c82(0x34d)]['getInterceptPoints']()[_0x353c82(0x494)])(_0x1084ad[_0x353c82(0x27c)],null)||_0x1084ad[_0x353c82(0x27c)],_0x5703bb={..._0x1084ad,'mutations':_0x2c7755};this[_0x353c82(0x45c)](),this[_0x353c82(0x2ec)](this[_0x353c82(0x1ba)][_0x353c82(0x164)](_0x5703bb)),this[_0x353c82(0x2b4)]();}[_0x6122a6(0x1b8)](_0x401bec){var _0x32a019=_0x6122a6;this[_0x32a019(0x45c)](),this['_updateState'](this[_0x32a019(0x1ba)][_0x32a019(0x2ac)](_0x401bec)),this['_unlockTransition']();}[_0x6122a6(0x21f)](_0x48504c){var _0x4db89f=_0x6122a6;this[_0x4db89f(0x45c)](),this[_0x4db89f(0x2ec)](this[_0x4db89f(0x1ba)]['onRemoteRej'](_0x48504c)),this[_0x4db89f(0x2b4)]();}[_0x6122a6(0x1e7)](_0x344745){var _0x4c1127=_0x6122a6;this[_0x4c1127(0x45c)](),this[_0x4c1127(0x2ec)](this[_0x4c1127(0x1ba)][_0x4c1127(0x491)](_0x344745)),this[_0x4c1127(0x2b4)]();}[_0x6122a6(0x4b1)](_0x4c1207){var _0x57ec03=_0x6122a6;if(!(this['_state']instanceof exports[_0x57ec03(0x4aa)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x304d82=_0x4c1207[_0x57ec03(0x243)](_0x179960=>{var _0x2e0c5f=_0x57ec03;const _0x149bbc=this[_0x2e0c5f(0x48b)][_0x2e0c5f(0x34d)][_0x2e0c5f(0x339)](this['_compressMutationService']['interceptor'][_0x2e0c5f(0x496)]()[_0x2e0c5f(0x494)])(_0x179960[_0x2e0c5f(0x27c)],null)||_0x179960[_0x2e0c5f(0x27c)];return{..._0x179960,'mutations':_0x149bbc};});this['_lockTransition'](),this[_0x57ec03(0x2ec)](this[_0x57ec03(0x1ba)]['onMissedChangesetFetched'](_0x304d82)),this[_0x57ec03(0x2b4)]();}[_0x6122a6(0x37a)](){var _0x2de114=_0x6122a6;this['_lockTransition'](),this['_updateState'](this[_0x2de114(0x1ba)][_0x2de114(0x497)]()),this[_0x2de114(0x2b4)]();}[_0x6122a6(0x1aa)](_0x25d9fe=!0x1){var _0x246481=_0x6122a6;this[_0x246481(0x45c)](),this[_0x246481(0x2ec)](this[_0x246481(0x1ba)]['toggleOnline']()),this[_0x246481(0x2b4)]();const _0x1e4069=this[_0x246481(0x1ba)];_0x25d9fe&&_0x1e4069 instanceof exports[_0x246481(0x1a4)]&&(this['_lockTransition'](),this[_0x246481(0x2ec)](_0x1e4069[_0x246481(0x3b9)]()),this[_0x246481(0x2b4)]());}async['_createInitialState'](){return new Promise(_0x4a6076=>{var _0x597192=_0x726b;this[_0x597192(0x414)][_0x597192(0x296)][_0x597192(0x211)]($[_0x597192(0x3e9)](0x1))[_0x597192(0x3d3)](async _0x22acde=>{var _0x449b51=_0x597192;_0x4a6076(await this[_0x449b51(0x1fd)](_0x22acde===re[_0x449b51(0x426)]));});});}[_0x6122a6(0x301)](){const _0x57ed3=this['unitID'];return{'onStateChange':(_0x197a3c,_0x196b42)=>{var _0x238074=_0x726b;if(_0x197a3c!==this[_0x238074(0x1ba)])throw new Error(_0x238074(0x423)+_0x197a3c['status']+_0x238074(0x4bc)+_0x196b42[_0x238074(0x226)]+_0x238074(0x28f)+this[_0x238074(0x1ba)][_0x238074(0x226)]);this[_0x238074(0x2ec)](_0x196b42);},'onSendChangeset':_0x52371e=>{var _0x39a42d=_0x726b;_0x52371e['sid']||(_0x52371e[_0x39a42d(0x3f8)]=this[_0x39a42d(0x257)],_0x52371e[_0x39a42d(0x468)]=++this[_0x39a42d(0x253)]);const _0x32d329={'eventID':p[_0x39a42d(0x2b2)][_0x39a42d(0x3c3)],'data':{'unitID':_0x52371e['unitID'],'unitType':this[_0x39a42d(0x42d)],'changeset':_0x52371e,'memberID':this[_0x39a42d(0x414)]['getMemberID']()}};this[_0x39a42d(0x414)][_0x39a42d(0x2eb)](_0x32d329,this[_0x39a42d(0x298)]);},'onMissingChangesets':({from:_0x14cdff,to:_0x2931d1})=>{var _0x495bb9=_0x726b;this[_0x495bb9(0x408)][_0x495bb9(0x249)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x14cdff+_0x495bb9(0x2bb)+_0x2931d1);const _0x518bfa={'eventID':p[_0x495bb9(0x2b2)]['FETCH_MISSING'],'data':{'unitID':_0x57ed3,'unitType':this['_type'],'from':_0x14cdff,'to':_0x2931d1}};this[_0x495bb9(0x414)][_0x495bb9(0x2eb)](_0x518bfa,this[_0x495bb9(0x298)]);}};}async[_0x6122a6(0x1fd)](_0x243ec9){var _0x46678d=_0x6122a6,_0x3ba269,_0x5e977e,_0x515970;const _0x117df6=await((_0x3ba269=this[_0x46678d(0x427)])==null?void 0x0:_0x3ba269[_0x46678d(0x24e)](this[_0x46678d(0x298)])),_0x571e70=(_0x5e977e=_0x117df6==null?void 0x0:_0x117df6[_0x46678d(0x27c)])!=null?_0x5e977e:[],_0x278691=(_0x515970=_0x117df6==null?void 0x0:_0x117df6['awaitingChangeset'])!=null?_0x515970:null,_0x36e872=!!(_0x278691!=null&&_0x278691[_0x46678d(0x3f8)])&&!!(_0x278691!=null&&_0x278691[_0x46678d(0x468)]);this[_0x46678d(0x257)]=_0x36e872?_0x278691['sid']:p[_0x46678d(0x33f)](),this[_0x46678d(0x253)]=_0x36e872?_0x278691[_0x46678d(0x468)]:0x0;const _0x1e3944=this[_0x46678d(0x298)];try{this[_0x46678d(0x36a)](_0x278691,_0x571e70);}catch(_0x4e0315){this[_0x46678d(0x408)][_0x46678d(0x2a4)](_0x4e0315);}const _0x9dc470=this['_createHandler']();if(_0x243ec9){const _0x3a3628=Ot(this[_0x46678d(0x282)],_0x1e3944,this[_0x46678d(0x42d)],_0x278691,_0x571e70,_0x9dc470);return _0x3a3628 instanceof exports[_0x46678d(0x336)]?_0x3a3628[_0x46678d(0x424)]():(_0x3a3628 instanceof exports[_0x46678d(0x19b)]||_0x3a3628 instanceof exports[_0x46678d(0x184)])&&_0x3a3628[_0x46678d(0x174)](),_0x3a3628;}return this['_injector'][_0x46678d(0x286)](exports[_0x46678d(0x3ee)],_0x1e3944,this['_type'],_0x278691,_0x571e70,_0x9dc470);}[_0x6122a6(0x36a)](_0xa77816,_0x3a5925){var _0x56f309=_0x6122a6,_0x8a926a,_0xee3f8c;const _0x2fff6d=this[_0x56f309(0x48b)][_0x56f309(0x34d)]['fetchThroughInterceptors'](this[_0x56f309(0x48b)][_0x56f309(0x34d)][_0x56f309(0x496)]()['COMPRESS_MUTATION_APPLY']);(_0x8a926a=_0x2fff6d((_0xa77816==null?void 0x0:_0xa77816['mutations'])||[],null))==null||_0x8a926a[_0x56f309(0x44b)](_0x4c8eeb=>this[_0x56f309(0x475)]['executeCommand'](_0x4c8eeb['id'],_0x4c8eeb[_0x56f309(0x2d4)])),(_0xee3f8c=_0x2fff6d(_0x3a5925||[],null))==null||_0xee3f8c[_0x56f309(0x44b)](_0x33e006=>this[_0x56f309(0x475)]['executeCommand'](_0x33e006['id'],_0x33e006[_0x56f309(0x2d4)]));}},exports['CollaborationEntity']=Fe([j(0x3,a[_0x6122a6(0x43e)](a['Injector'])),j(0x4,a['Inject'](p[_0x6122a6(0x2c7)])),j(0x5,a[_0x6122a6(0x43e)](a[_0x6122a6(0x4cc)])),j(0x6,a[_0x6122a6(0x43e)](p[_0x6122a6(0x1e6)])),j(0x7,a['Inject'](ee)),j(0x8,a[_0x6122a6(0x2a2)]),j(0x9,a['ICommandService']),j(0xa,a[_0x6122a6(0x3f1)]),j(0xb,a[_0x6122a6(0x240)](de)),j(0xc,a['Optional'](q))],exports[_0x6122a6(0x3c1)]),exports['DocCollaborationEntity']=class extends exports[_0x6122a6(0x3c1)]{constructor(_0x1e318a,_0x14b854,_0x4013a2,_0x4871d7,_0x196b07,_0xb7eadf,_0x3403bc,_0x2ebe60,_0x3736ed,_0x14c12f,_0x3b9ccb,_0x6c55d9,_0x7a02b){var _0x91c18b=_0x6122a6;super(_0x1e318a,_0x4013a2,_0x14b854,_0x4871d7,_0x196b07,_0xb7eadf,_0x3403bc,_0x2ebe60,_0x3736ed,_0x14c12f,_0x3b9ccb,_0x6c55d9,_0x7a02b),A(this,'_handlerCallback',null),(this['unitID']=_0x1e318a,this[_0x91c18b(0x258)]=_0x14b854);}[_0x6122a6(0x31b)](_0x5bbea3){this['_handlerCallback']=_0x5bbea3;}['dispose'](){var _0x5c34eb=_0x6122a6;this['_handlerCallback']=null,super[_0x5c34eb(0x288)]();}['_createHandler'](){var _0x2ce2c0=_0x6122a6;const _0xbac21c=super[_0x2ce2c0(0x301)]();return _0xbac21c[_0x2ce2c0(0x3e4)]=_0x1845d7=>{var _0x2bb106=_0x2ce2c0,_0x1a61e0,_0x1acd7b;return(_0x1acd7b=(_0x1a61e0=this[_0x2bb106(0x1f6)])==null?void 0x0:_0x1a61e0[_0x2bb106(0x3e4)])==null?void 0x0:_0x1acd7b[_0x2bb106(0x28c)](_0x1a61e0,_0x1845d7);},_0xbac21c['onTransformState']=_0xd70450=>{var _0x5dde91=_0x2ce2c0,_0x41191c,_0x5d4bce;return(_0x5d4bce=(_0x41191c=this[_0x5dde91(0x1f6)])==null?void 0x0:_0x41191c['onTransformState'])==null?void 0x0:_0x5d4bce[_0x5dde91(0x28c)](_0x41191c,_0xd70450);},_0xbac21c['onTransformSelections']=_0x5032aa=>{var _0x8b1d8f=_0x2ce2c0,_0x534608,_0xbc7df3;return(_0xbc7df3=(_0x534608=this[_0x8b1d8f(0x1f6)])==null?void 0x0:_0x534608[_0x8b1d8f(0x40e)])==null?void 0x0:_0xbc7df3['call'](_0x534608,_0x5032aa);},_0xbac21c['onSyncEditingCollabCursor']=_0x41295e=>{var _0x5e7c10=_0x2ce2c0,_0x157c24,_0x5c068d;return(_0x5c068d=(_0x157c24=this['_handlerCallback'])==null?void 0x0:_0x157c24['onSyncEditingCollabCursor'])==null?void 0x0:_0x5c068d[_0x5e7c10(0x28c)](_0x157c24,_0x41295e);},_0xbac21c[_0x2ce2c0(0x4b5)]=_0x1a8eb9=>{var _0x50b845=_0x2ce2c0,_0x24a2f4,_0x310ed2,_0x40ab6b;if(!((_0x24a2f4=this[_0x50b845(0x1f6)])!=null&&_0x24a2f4[_0x50b845(0x4b5)]))throw new Error(_0x50b845(0x391));return(_0x40ab6b=(_0x310ed2=this['_handlerCallback'])==null?void 0x0:_0x310ed2[_0x50b845(0x4b5)])==null?void 0x0:_0x40ab6b[_0x50b845(0x28c)](_0x310ed2,_0x1a8eb9);},_0xbac21c['onTransformRemoteChangesetByStateCache']=_0x288054=>{var _0x172318=_0x2ce2c0,_0xee70a,_0x1fd382,_0xcdac20;if(!((_0xee70a=this[_0x172318(0x1f6)])!=null&&_0xee70a[_0x172318(0x47c)]))throw new Error(_0x172318(0x1f3));return(_0xcdac20=(_0x1fd382=this[_0x172318(0x1f6)])==null?void 0x0:_0x1fd382['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0xcdac20[_0x172318(0x28c)](_0x1fd382,_0x288054);},_0xbac21c;}async[_0x6122a6(0x4bd)](){var _0x30f87b=_0x6122a6;const _0x214aa9=await super[_0x30f87b(0x4bd)]();return this[_0x30f87b(0x38c)](this[_0x30f87b(0x475)][_0x30f87b(0x32b)]((_0x46347b,_0x1c5c04)=>{var _0x423b9f=_0x30f87b;if(_0x46347b[_0x423b9f(0x258)]!==a['CommandType'][_0x423b9f(0x18f)]||_0x1c5c04!=null&&_0x1c5c04[_0x423b9f(0x328)]||_0x1c5c04!=null&&_0x1c5c04[_0x423b9f(0x2fb)]||_0x46347b['id']===ht[_0x423b9f(0x202)]['id'])return;const _0x3f0539=_0x46347b[_0x423b9f(0x2d4)];if((_0x3f0539==null?void 0x0:_0x3f0539[_0x423b9f(0x28d)])!==this[_0x423b9f(0x298)])return;const _0x1daf0a=_0x46347b,_0x1f1f29=this[_0x423b9f(0x48b)]['interceptor']['fetchThroughInterceptors'](this[_0x423b9f(0x48b)][_0x423b9f(0x34d)]['getInterceptPoints']()[_0x423b9f(0x30b)])([_0x1daf0a],null)||[_0x1daf0a];this['_onLocalMutation'](_0x1f1f29[0x0]);})),_0x214aa9;}},exports[_0x6122a6(0x3e5)]=Fe([j(0x3,a[_0x6122a6(0x43e)](a[_0x6122a6(0x2a0)])),j(0x4,a[_0x6122a6(0x43e)](p[_0x6122a6(0x2c7)])),j(0x5,a['Inject'](a['LocaleService'])),j(0x6,a[_0x6122a6(0x43e)](p[_0x6122a6(0x1e6)])),j(0x7,a[_0x6122a6(0x43e)](ee)),j(0x8,a['ILogService']),j(0x9,a['ICommandService']),j(0xa,a[_0x6122a6(0x3f1)]),j(0xb,a[_0x6122a6(0x240)](de)),j(0xc,a[_0x6122a6(0x240)](q))],exports[_0x6122a6(0x3e5)]),exports[_0x6122a6(0x477)]=class extends exports[_0x6122a6(0x3c1)]{constructor(_0x230adb,_0xaee907,_0xa9495b,_0x3a7eca,_0x2b4494,_0x387bb6,_0x384bd8,_0x55d8d6,_0x45d0a1,_0x3afbe7,_0x2313f2,_0x426732,_0x4d33ee,_0x298774){var _0x425231=_0x6122a6;super(_0x230adb,_0xa9495b,_0xaee907,_0x3a7eca,_0x2b4494,_0x387bb6,_0x384bd8,_0x45d0a1,_0x3afbe7,_0x2313f2,_0x426732,_0x4d33ee,_0x298774),this['unitID']=_0x230adb,this['type']=_0xaee907,this[_0x425231(0x24f)]=_0x55d8d6;}[_0x6122a6(0x301)](){var _0x13c840=_0x6122a6;const _0x451b0e=super[_0x13c840(0x301)]();return _0x451b0e['onTransformSelections']=_0x281080=>this['_sheetTransformSelectionsService'][_0x13c840(0x218)](_0x281080),_0x451b0e;}async['_init'](){var _0x24b409=_0x6122a6;const _0x4703df=await super[_0x24b409(0x4bd)]();return this['disposeWithMe'](this[_0x24b409(0x475)][_0x24b409(0x32b)]((_0x3aada3,_0x3c6617)=>{var _0x2b48d5=_0x24b409;if(_0x3aada3[_0x2b48d5(0x258)]!==a[_0x2b48d5(0x392)][_0x2b48d5(0x18f)]||_0x3c6617!=null&&_0x3c6617['fromCollab']||_0x3c6617!=null&&_0x3c6617[_0x2b48d5(0x2fb)])return;const _0x308502=_0x3aada3[_0x2b48d5(0x2d4)];if((_0x308502==null?void 0x0:_0x308502[_0x2b48d5(0x28d)])!==this[_0x2b48d5(0x298)])return;const _0x59b1e3=_0x3aada3,_0x44c4f3=this[_0x2b48d5(0x48b)]['interceptor']['fetchThroughInterceptors'](this[_0x2b48d5(0x48b)][_0x2b48d5(0x34d)][_0x2b48d5(0x496)]()[_0x2b48d5(0x30b)])([_0x59b1e3],null)||[_0x59b1e3];this[_0x2b48d5(0x450)](_0x44c4f3[0x0]);})),_0x4703df;}},exports[_0x6122a6(0x477)]=Fe([j(0x3,a[_0x6122a6(0x43e)](a['Injector'])),j(0x4,a[_0x6122a6(0x43e)](p[_0x6122a6(0x2c7)])),j(0x5,a[_0x6122a6(0x43e)](a[_0x6122a6(0x4cc)])),j(0x6,a[_0x6122a6(0x43e)](p[_0x6122a6(0x1e6)])),j(0x7,a[_0x6122a6(0x43e)](exports[_0x6122a6(0x276)])),j(0x8,a[_0x6122a6(0x43e)](ee)),j(0x9,a['ILogService']),j(0xa,a['ICommandService']),j(0xb,a[_0x6122a6(0x3f1)]),j(0xc,a[_0x6122a6(0x240)](de)),j(0xd,a['Optional'](q))],exports[_0x6122a6(0x477)]);var Si=Object[_0x6122a6(0x333)],fi=(_0x4d98ba,_0x32e5f1,_0x4c5166,_0x5875ef)=>{for(var _0xc543b0=_0x5875ef>0x1?void 0x0:_0x5875ef?Si(_0x32e5f1,_0x4c5166):_0x32e5f1,_0x494713=_0x4d98ba['length']-0x1,_0x404661;_0x494713>=0x0;_0x494713--)(_0x404661=_0x4d98ba[_0x494713])&&(_0xc543b0=_0x404661(_0xc543b0)||_0xc543b0);return _0xc543b0;},Se=(_0x2c704f,_0x458818)=>(_0x3eed13,_0x471510)=>_0x458818(_0x3eed13,_0x471510,_0x2c704f);function _0xed10(){var _0x243766=['_stopTelemetryCollaborationNewChangeset','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','CommandType','AuthzIoHttpService','_transformRemoteChangesetByIMECache','LEAVE','_onRecvEvent','_doFinalize','data','collaboration_new_changeset','ITelemetryService','_entities','CollaborativeUndoRedoService','_startTelemetryCollaborationNewChangeset','createEncryptor','getCurrentSelections','refreshPermission','hasOwnProperty','DEFAULT_FILE_NAME','getTypeOfUnitAdded$','_tryReconnect','_key','getAllMembers','isPermissionRej','isArray','Error\x20on\x20receiving\x20event','_acknowledgedAwaitingChangeset','INTERNAL_ERROR','loadDoc','emitEvent','getConfig','_getUndoStack','collaboration-client.local-cache-service','_getCurrentRevision','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','COLLAB_SUBMIT_CHANGESET_URL','APPLY_PERMISSION_DENIED','BehaviorSubject','CHANGESET_SHOULD_RETRY','AUTHZ_URL_KEY','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','fetchMiss','_showConflictNotification','_memberService','_onCombEvent','_executeRemoteChangeset','/fetchmissing?from=','disableLocalCache','JOIN','CollaborationEntity','startTime','SUBMIT_CHANGESET','function','_onUserLeave','_userManagerService','responseType','telemetry\x20info\x20is\x20not\x20initialized','Disposable','close','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','saveSnapshot','/-/object/list','SUBMIT_CHANGESET_TIMEOUT','CONNECTOR_DATA_TOO_LARGE','CollaborationImageIoService','_substituteUndoStack','_doReset','subscribe','AES','COMMENT_UPDATE','BlockCipherMode','_imageSourceCache','/universer-api/user/session-ticket','_getLoginPath','toStringTag','failed\x20to\x20apply\x20missed\x20changesets!','url','subject','code','CollaborationSocketService','Tools','c1Prime','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_timeoutTimer','onTransformIME','DocCollaborationEntity','_socketService','uniscriptRunEvent','getUnitStatus$','take','collaborators','image/jpeg','APPLY_DUPLICATED','ISingleActiveUnitService','OfflineState','_sessionStatus$','toDisposable','IPermissionService','onLocalMutation','onTransformState','sessionStatus','FileId','kdf','_resendTimeout','sid','onMissedChangesetFetched','LocalUndoRedoService','onSendChangeset','7464YmbBZV','WECHAT_HAS_BEEN_BOUND','/role','IAuthzIoService','collabWebSocketUrl','getSheetBlock','transformChangesets','_telemetryInfo','RxDisposable','loadUnit','keySize','takeUntil','_logService','loadUnitOfRevision','post','SNAPSHOT_INVALID_SNAPSHOT','UPDATE_PERMISSION_OBJ','image/jpg','onTransformSelections','session.room-permission-denied','session.room-not-exists','transformStack\x20failed!','CollaborationController','INVITE_CODE_REQUIRED','session','roomInfos','UNIVER_PROJECT','ALREADY_EXISTS','_submitChangeset','key','toString','b64DecodeUnicode','313305gxaBnY','CollaborationStatus','HttpExport','EMAIL_VERIFY_CODE_MISMATCH','_clearRetryConnectingTimer','transformMutationsWithChangeset','_clearRedo','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_schedule','salt','ONLINE','_localCacheService','_iv','_redoStacks','parse','headers','SOCKET_FAILED','_type','JOINING','_sendHeartbeat','x-univer-host','registerDependencies','_updateStatus','_members','exports','collaboration-client.config','_members$','not_collab','_clearScheduledTask','_getUploadFileURL','_map','complete','append','_onOffline','Inject','IUniverInstanceService','FETCH_MISS','_initMergeInterceptor','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','csShouldRetryEvent','__creator','HEARTBEAT_TIMEOUT','readInt32LE','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','downloadEndpointUrl','cfg','[SyncedState]:\x20received\x20rejection.','forEach','_collaborationSessionService','[PendingState]:\x20received\x20acknowledgement.','_transformRemoteChangesetByStateCache','SOCKET_FAILED_RETRY','_onLocalMutation','_onConnectionOpen','[DataLoaderService]','unpad','CollaborationSessionService','file','serializeCombRequest','HmacMD5','resolve','encodeURIComponent','Quantity','method','_lockTransition','LIVESHARE_TERMINATE','getFocusedUnit','_unitInfo$','StreamCipher','CollaborationSession','_joinRoom','_resendWithTimeout','ConflictState','_socket','finalize','_localeService','reqId','state','SerializableCipher','IContextService','CHANGESET_ACK','getActiveSheet','_entityInit$','Pkcs7','/universer-api/snapshot','focused$','set','_cipher','getCollabEntity$','_commandService','ISocketService','SheetCollaborationEntity','LICENSE_IMPORT_SIZE_EXCEEDED','COLLAB_SUBMIT_CHANGESET_URL_KEY','EMAIL_HAS_BEEN_BOUND','UNISCRIPT_RUN','onTransformRemoteChangesetByStateCache','UnitEmbedded','isTransformMutationsWithChangesetFailure','pluginName','MentionIoHttpService','_collabSessionService','entityInit$','[OfflineState]:\x20received\x20rejection.','authzUrl','NoPadding','NO_OTHER_CLIENTS_EDITING','padding','MergeInterceptorFactory','updatePermissionObjEvent','IMentionIOService','_compressMutationService','/collaborator','removeMember','EvpKDF','_collaborationPaused','_append','onRemoteRetry','readAsDataURL','_ENC_XFORM_MODE','COMPRESS_MUTATION_APPLY','Subject','getInterceptPoints','toggleOffline','BASE64','onStateChange','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_clearTimeoutTimer','/object','Latin1','UNIVER_UNKNOWN','_onConnectionFailed','ERROR_IMAGE_TYPE','UserProfileImg','getValue','_retryConnectingTimer','_socket$','_transformIMECache','IUndoRedoService','algo','close$','INVITE_CODE_ALREADY_BOUND','FetchingMissState','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_collaborationTimeoutTimer','YUUMI_TABLE_NOT_FOUND_IN_UNIT','HmacSHA1','splice','synced','_onFetchMissResult','string','fetchMissingChangesets','_undoStacks','onTransformRemoteChangesetByIMECache','then','_remoteChangesetQueue','[PendingState]:\x20unhandled\x20univer\x20type:\x20','isInternalEditorID','collaMsg','OTHER_CLIENTS_EDITING','\x0aAfter:\x20','_init','sin','_transformStack','APPLY_NON_SEQUENTIAL_REVISION','NOT_COLLAB','LICENSE_MAX_UNITS_EXCEEDED','get','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','closeSession','originalMeta','firstValueFrom','createDecryptor','liveShareOperation','sigBytes','Utf8','LocaleService','YUUMI_SUBSCRIPTION_NOT_FOUND','ENSURE_SNAPSHOT_EXECUTION','ReplaySubject','format','onload','objects','Hex','JOIN_ROOM_FAILED','enc','COLLAB_WEB_SOCKET_URL','getGlobalObject','_nRounds','/resources','requestParams','changesets','GLOBAL_ROOMS_CNT_EXCEEDS','_replaceFileID','JSONX','deleteCollaborator','_revisionService','_singleActiveUnitService','textEncoder','CollaborationUIEventId','onRemoteChangeset','_state$','LIVESHARE_REQUEST_HOST','_prevBlock','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','YUUMI_NO_CUBOID_FOR_QUESTION','decrypt','getSnapshotAPIPath','online$','/-/object/-/batch_allowed','capture','_status$','/universer-api/comb','CONFLICT','_eventService','EXCHANGE_SIGN_URL_SERVER_URL_KEY','resend','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','ThresholdInterceptorFactory','concatMap','[OfflineState]:\x20received\x20acknowledgement.','4333626IsDgpN','EmptyMutation','_substituteRedoStack','RECV','_createHelper','OpenSSL','dispose$','localeService','UNIVER_COLLABORATION_CLIENT_PLUGIN','shareReplay','LICENSE_DISTRO_REJECTED','AwaitingState','action','_queuedRemoteChangesets','SnapshotServerOverHTTPService','RETRY_CONNECTING_MAX_COUNT_KEY','floor','_change$','INVALID_ARGUMENT','YUUMI_URL_COL_OUT_OF_RANGE','Undefined','default','MUTATION','JOIN_ROOM_NOT_EXISTS','_undoRedoService','[CollaborationSession]','merge','HEARTBEAT_INTERVAL','_process','HEARTBEAT_TIMEOUT_KEY','onRemoteRej','BlockCipher','Encryptor','mapDocumentTypeToUniverType','AwaitingWithPendingState','[CollaborationSessionService]:\x20socket\x20error','name','_mode','updateMember','extend','catch','_clearLocalCache','CHANGESET_REVISION_CONFILICT','SyncedState','_rescheduleHeartbeat','_doProcessBlock','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','reduce','_incrementRevisionNumber','_toggleOnline','socket\x20open.','incrementRevOfUnit','push','isTransformMutationsWithChangesetSuccess','init','join','_unitID','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','message$','decryptBlock','_getSignURL','UNIVER_SLIDE','LIVESHARE_OPERATION','_onRemoteACK','listCollaborators','_state','_roomMembers','delete','apply','result','_resendTimer','href','_onConflict','PSEUDO_FETCH_MISSING_RESULT','_parse','override','COMPLETION_FINISHED','IDLE','ivSize','Hasher','size','readyForCollab','UniverNetworkPlugin','registerHTTPInterceptor','ERROR_EXCEED_SIZE','ciphertext','charAt','HELLO','_checkMissing','collabSubmitChangesetUrl','conflict','SheetsSelectionsService','_onJoinRoomEvent','Malformed\x20UTF-8\x20data','createIdentifier','getImage','parseProtocolChangeset','symbol','SHOULD_CLOSE_CONN','msCrypto','unsubscribe','/block/','AWAITING','onCommentUpdate','resourceIDs','SNAPSHOT_HAS_BEEN_REMOVED','?size=','_getCtorByUniverType','allowed','RevisionService','_onRemoteRetry','getUnitType','_transformService','DataLoaderService','FETCH_MISSING','_hash','INGEST','APPLY_REJECT','updatePermissionPoint','USER_NOT_INVITED_CODE','_getRedoStack','891780zjeWie','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','next','shouldCloseConn','_handlerCallback','_config','_sessions','has','crypto','cmd','DisposableCollection','_createInitialStateImpl','FAIL','now','LIVESHARE_NEW_HOST','ITransformService','RichTextEditingMutation','_permissionService','hasher','replace','UNAUTHENTICATED','asObservable','412979pzJQtu','UniverInstanceType','_commentService','_roomCreated$','OFFLINE','APPLY_REVISION_CONFILICT','LOCAL_CACHE_INTERVAL_KEY','JOIN_ROOM_PERMISSION_DENIED','appendMutation','pipe','_waitCount','DEFAULT_WS_SESSION_TICKET_URL','find','UUID','UNIVER_DOC','YUUMI_UNABLE_LOAD_URL','transformSelections','createSocket','add','put','getMemberID','399270kpIqvs','filter','_onRemoteRejected','update','submit\x20changeset\x20error!','/object/','LOGIN_URL_KEY','HEARTBEAT_INTERVAL_KEY','getTime','status','UNKNOWN_CODE','charCodeAt','ImageSourceType','[OfflineState]:\x20received\x20changeset.','438CRxqkQ','list','event$','_clearCollaborationTimeoutTimer','ERROR_IMAGE','_transitionLocked','/universer-api/snapshot/','_sendingTimer','byteOffset','parseChangesetToProtocol','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','WordArray','/new_changes','stopTime','_DEC_XFORM_MODE','Plugin','/unit/','_configService','image/png','isTransformChangesetsSuccess','open$','Optional','_scheduleCompleteTimestamp','enableAuthServer','map','_initDependencies','_listenToNetworkCondition','[CollaborationEntity]','formatter','randomBytes','debug','clamp','_xformMode','_waitForHeartbeatResponse','slice','loadOfflineData','_sheetTransformSelectionsService','connection\x20error','members','ceil','_changesetReqId','length','\x20in\x20_schedule.','copyFileMeta','_changesetSessionId','type','m2Prime','_doCryptBlock','_applyRemoteChangeset','workbook','ISnapshotServerService','_getAPIPrefix','&assign=','_transformStateCache','duration','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_iKey','state$','putCollaborators','__esModule','pauseCollaboration','toggleOnline','LIVESHARE_FETCH_OPERATIONS','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','POST','mode','concat','liveShareNewHost','selections','compute','unit-cache-','_initRequestHeader','_shouldReportTelemetry','_awaitingChangeset','_oKey','SheetTransformSelectionsService','sheets','session.room-full','USERS_LEAVE','lib','16SkosWz','mutations','commentUpdateEvent','requireSession','SetSelectionsOperation','SHA1','PERMISSION_REJ','_injector','saveImage','_keyPriorReset','SNAPSHOT_SERVER_URL_KEY','createInstance','MentionType','dispose','execute','AWAITING_WITH_PENDING','uploadFileServerUrl','call','unitId','revision','\x0aCurrent:\x20','LOCAL_CACHE_INTERVAL','updateSnapshot','_getSendChangesetTimeout','Rectangle','includes','univer-pro.collaboration-client.single-active-unit-service','sessionStatus$','_fetchMissChangesets','unitID','_exhaustRemoteChangesetQueue','_createHmacHelper','words','COLLAB_WEB_SOCKET_URL_KEY','_clearUndo','_createSocket','textRanges','Injector','Base','ILogService','_createInitialState','error','IConfigService','HMAC','HTTPRequest','localCacheService','ILocalCacheService','LICENSE_EXPORT_SIZE_EXCEEDED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','onRemoteAck','subUnitId','_candidateSocket','objectID','actions','{fileID}','CollaborationEvent','TOO_MANY_REQUESTS','_unlockTransition','getCollabEntity','roles','unknown','JOIN_ROOM_FULL','clear','_networkConditionService','\x20to\x20','Base64','_decreaseWaiting','awaiting_with_pending','body','[FetchMissState]','encrypt','_data','_throwTelemetryCollaborationNewChangeset','ImageUploadStatusType','_invKeySchedule','blockSize','CompressMutationService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','UnitSnapshot','UNDEFINED','status$','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','SYNCED','encryptBlock','INVITE_CODE_HAS_BEEN_UES','UNIVER_SHEET','_telemetryService','Decryptor','listRoles','params','permissionRejEvent','patch','image/gif','_HTTPService','YUUMI_ALL_TABLES_IS_INVALID','collaboratorID','WorkbookEditablePermission','getRandomValues','_isPermissionRej','CHANGESET_REJ','byteLength','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','memberID','onMissingChangesets','routeKey','compose','delay','prototype','abs','pending','[CollaborationUndoRedoService]','offline','send','_updateState','defineProperty','NOT_FOUND','$super','create','infoRsp','updateOfflineData','MSG_FOR_ERROR','_startCollaboration','?url=','c2Prime','&source=','_removeRoom','getCurrentUser','[CollaborationState]:\x20apply\x20error!','onlyLocal','eventID','_event$','_tryEnsureSocket','Workbook','setConfig','_createHandler','_onUserJoin','initWorkbookPermissionChange','_hasher','getCurrentRevOfUnit','encode','reject','_initUnitPermissionChange','touchDependencies','_snapshotServerService','COMPRESS_MUTATION_SEND','getTypeOfUnitDisposed$','_registerDependencies','signUrlServerUrl','_emitMembers','SUCCUSS','_transformUndoredo','UniverCollaborationClientPlugin','newCsEvent','userID','_transformSelections','clone','_disableEditing','getUnitId','joinRsp','CLOSE_ROOM','addHandlerCallback','getLatestCsReqIdBySid','transformUndoRedo','_onMessage','PERMISSION_DENIED','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','startsWith','mixIn','_getAPIPrefixPath','CommentService','enableOfflineEditing','getMember','fromCollab','Univer','deserializeToCombResponse','onCommandExecuted','mergeOverrideWithDependencies','/allowed','YUUMI_ASYNCIO_CANCELLED','UNKNOWN_CMD','_pendingMutations','objectType','baseRev','getOwnPropertyDescriptor','socket\x20close','LOGIN_FAILED','PendingState','_instanceService','SEND_CHANGESET_TIMEOUT_KEY','fetchThroughInterceptors','ICollaborationSocketService','pad','_handler','saveChangeset','sendChangesetTimeout','uuidv4','target','HttpImport','UNRECOGNIZED','location','_socketMessageSubscription','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','SNAPSHOT_URL_KEY','PY_RUNTIME_SCRIPT_ERROR','UniverCollaborationPlugin','indexOf','_httpService','_clearHeartbeatTimer','enableCollaboration','interceptor','MOBILE_VERIFY_CODE_MISMATCH','USERS_ENTER','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','min','ICommandService','_onRemoteChangeset','UPDATE_CURSOR','stringify','_syncEditingCollabCursor','getRoom','IImageIoService','editing\x20status\x20changed\x20to','_scheduleCollaborationTimeoutTimer','range','_sendHeartbeatTimer','hostname','_commentUpdate$','_snapshotService','setCurrentUser','PERSON','OTHER_CLIENT_EDITING','_nDataBytes','YUUMI_RATE_OVER_LIMIT','_reverseMap','CollaborationUIEventService','CipherParams','addImageSourceCache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_replayCachedMutations','_retryCount','csAckEvent','/rev/','_collaborationUIEventService','_univerInstanceService','BufferedBlockAlgorithm','ws://127.0.0.1:8000/universer-api/comb/connect','fromCharCode','generateRandomId','_updateLocalCache','session.room-cnt-exceeds','&to=','YUUMI_AI_RUN_FAILED','reset','max','_toggleOffline','MemberService','error$','INVALID_INVITE_CODE','_getDownloadEndpointURL','random','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_socketReady','SessionStatus','/universer-api/authz','YUUMI_CONNECTOR_URL_NOT_FOUND','HTTPService','HEARTBEAT','_keySchedule','530414AIMSAd','_sender','UserManagerService','/universer-api/file/{fileID}/sign-url','disposeWithMe','loginUrlKey','updateCollaborator','socketService'];_0xed10=function(){return _0x243766;};return _0xed10();}exports['CollaborationController']=class extends a['RxDisposable']{constructor(_0x5e4e87,_0x32b482,_0x14d2bf,_0x4acf44){var _0x500394=_0x6122a6,_0x268b76;super(),A(this,_0x500394(0x39b),new Map()),A(this,_0x500394(0x46e),new $[(_0x500394(0x495))]()),A(this,_0x500394(0x482),this['_entityInit$'][_0x500394(0x207)]()),(this[_0x500394(0x282)]=_0x5e4e87,this[_0x500394(0x481)]=_0x32b482,this[_0x500394(0x23c)]=_0x14d2bf,this[_0x500394(0x36f)]=_0x4acf44,((_0x268b76=this[_0x500394(0x23c)][_0x500394(0x3ae)](G))==null?void 0x0:_0x268b76[_0x500394(0x34c)])!==!0x1&&this[_0x500394(0x4bd)]());}[_0x6122a6(0x288)](){var _0x4634ad=_0x6122a6;super[_0x4634ad(0x288)](),this['_entities'][_0x4634ad(0x44b)](_0x1f8d5a=>_0x1f8d5a['dispose']()),this[_0x4634ad(0x39b)][_0x4634ad(0x2b9)]();}[_0x6122a6(0x2b5)](_0x42d134){var _0x16033d=_0x6122a6,_0x428466;return(_0x428466=this[_0x16033d(0x39b)][_0x16033d(0x4c3)](_0x42d134))!=null?_0x428466:null;}[_0x6122a6(0x474)](_0x292717){var _0x1e0401=_0x6122a6;const _0x21dcef=this[_0x1e0401(0x2b5)](_0x292717);return _0x21dcef?$['of'](_0x21dcef):this['_entityInit$'][_0x1e0401(0x211)](V[_0x1e0401(0x21e)](_0x1d801b=>_0x1d801b['unitID']===_0x292717));}[_0x6122a6(0x1ca)](_0x488105){var _0x74de75=_0x6122a6;return $[_0x74de75(0x4c7)](this[_0x74de75(0x474)](_0x488105)[_0x74de75(0x211)](V[_0x74de75(0x243)](()=>{})));}[_0x6122a6(0x4bd)](){var _0x355473=_0x6122a6;this['_univerInstanceService'][_0x355473(0x3a3)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x355473(0x211)]($[_0x355473(0x407)](this[_0x355473(0x17f)]),V[_0x355473(0x2e5)](0x10))[_0x355473(0x3d3)](async _0x177597=>{var _0x54eb3f=_0x355473;const _0x419d5c=_0x177597[_0x54eb3f(0x318)](),_0x791e2b=await this[_0x54eb3f(0x2f4)](_0x419d5c,J[_0x54eb3f(0x2d0)]);this[_0x54eb3f(0x39b)][_0x54eb3f(0x472)](_0x419d5c,_0x791e2b);}),this['_univerInstanceService'][_0x355473(0x3a3)](a['UniverInstanceType'][_0x355473(0x216)])[_0x355473(0x211)]($['takeUntil'](this['dispose$']),V[_0x355473(0x2e5)](0x10))[_0x355473(0x211)](V[_0x355473(0x21e)](_0x584006=>!_0x584006[_0x355473(0x318)]()[_0x355473(0x322)]('__')))[_0x355473(0x3d3)](async _0x55d731=>{var _0x53e3f2=_0x355473;const _0x1903e6=_0x55d731[_0x53e3f2(0x318)](),_0x5c1e76=await this[_0x53e3f2(0x2f4)](_0x1903e6,J['UNIVER_DOC']);this[_0x53e3f2(0x39b)]['set'](_0x1903e6,_0x5c1e76);}),$['merge'](this['_univerInstanceService'][_0x355473(0x30c)](a[_0x355473(0x209)][_0x355473(0x2d0)]),this[_0x355473(0x36f)]['getTypeOfUnitDisposed$'](a[_0x355473(0x209)]['UNIVER_DOC']))[_0x355473(0x211)]($[_0x355473(0x407)](this[_0x355473(0x17f)]))[_0x355473(0x3d3)](_0x1f5b74=>{var _0x11e75c=_0x355473;const _0x317d0b=_0x1f5b74[_0x11e75c(0x318)](),_0x2654d6=this[_0x11e75c(0x39b)][_0x11e75c(0x4c3)](_0x317d0b);_0x2654d6&&(_0x2654d6[_0x11e75c(0x288)](),this[_0x11e75c(0x39b)][_0x11e75c(0x1bc)](_0x317d0b));});}async[_0x6122a6(0x2f4)](_0x4ea0a6,_0x35593e){var _0x38e479=_0x6122a6;const _0x4f1d71=await this[_0x38e479(0x481)][_0x38e479(0x27e)](_0x4ea0a6),_0x30a515=this[_0x38e479(0x282)][_0x38e479(0x286)](this[_0x38e479(0x1e4)](_0x35593e),_0x4ea0a6,_0x35593e,_0x4f1d71);return await _0x30a515['init'](),this['_entityInit$'][_0x38e479(0x1f4)](_0x30a515),_0x30a515;}['_getCtorByUniverType'](_0x2650e5){var _0x24c8eb=_0x6122a6;switch(_0x2650e5){case J[_0x24c8eb(0x216)]:return exports[_0x24c8eb(0x3e5)];case J['UNIVER_SHEET']:return exports[_0x24c8eb(0x477)];default:throw new Error(_0x24c8eb(0x26a)+_0x2650e5);}}},exports[_0x6122a6(0x412)]=fi([Se(0x0,a[_0x6122a6(0x43e)](a[_0x6122a6(0x2a0)])),Se(0x1,a[_0x6122a6(0x43e)](exports[_0x6122a6(0x454)])),Se(0x2,a[_0x6122a6(0x2a5)]),Se(0x3,a[_0x6122a6(0x43f)])],exports[_0x6122a6(0x412)]);var Ii=Object['getOwnPropertyDescriptor'],pi=(_0x154899,_0x54ad4f,_0x1a3bab,_0x459960)=>{for(var _0x74317d=_0x459960>0x1?void 0x0:_0x459960?Ii(_0x54ad4f,_0x1a3bab):_0x54ad4f,_0x524279=_0x154899['length']-0x1,_0x1e3b72;_0x524279>=0x0;_0x524279--)(_0x1e3b72=_0x154899[_0x524279])&&(_0x74317d=_0x1e3b72(_0x74317d)||_0x74317d);return _0x74317d;},Ke=(_0xabf248,_0x2623fd)=>(_0x32ebf8,_0x1f49e9)=>_0x2623fd(_0x32ebf8,_0x1f49e9,_0xabf248);const gi=_0x6122a6(0x3a2),Ei=_0x6122a6(0x329);let xe=class extends a[_0x6122a6(0x3c9)]{constructor(_0x229e79,_0x45fcdd){var _0x552b6d=_0x6122a6;super(),this[_0x552b6d(0x36f)]=_0x229e79,this['_configService']=_0x45fcdd,this['_init']();}[_0x6122a6(0x4bd)](){var _0x19c391=_0x6122a6;this[_0x19c391(0x38c)](this[_0x19c391(0x36f)][_0x19c391(0x471)][_0x19c391(0x3d3)](()=>{var _0x3e87c9=_0x19c391,_0x4303b6;const _0xa087f5=this[_0x3e87c9(0x36f)][_0x3e87c9(0x45e)]();let _0x3400e3=(_0x4303b6=this[_0x3e87c9(0x23c)][_0x3e87c9(0x3ae)](gi))!=null?_0x4303b6:Ei;_0xa087f5 instanceof a[_0x3e87c9(0x2ff)]&&(_0x3400e3=_0xa087f5['name']),document['title']=_0x3400e3;}));}};xe=pi([Ke(0x0,a[_0x6122a6(0x43f)]),Ke(0x1,a[_0x6122a6(0x2a5)])],xe);var mi=Object[_0x6122a6(0x333)],Ci=(_0x1a314c,_0x2d741a,_0x474fcd,_0x276230)=>{var _0x2fd140=_0x6122a6;for(var _0x165887=_0x276230>0x1?void 0x0:_0x276230?mi(_0x2d741a,_0x474fcd):_0x2d741a,_0x5b5fbd=_0x1a314c[_0x2fd140(0x254)]-0x1,_0x1996d4;_0x5b5fbd>=0x0;_0x5b5fbd--)(_0x1996d4=_0x1a314c[_0x5b5fbd])&&(_0x165887=_0x1996d4(_0x165887)||_0x165887);return _0x165887;},Ae=(_0x605b15,_0x38ea1a)=>(_0x515dcc,_0xa77067)=>_0x38ea1a(_0x515dcc,_0xa77067,_0x605b15);let ye=class{constructor(_0x10918d,_0x478680,_0x3ca9e6){var _0x2006c5=_0x6122a6;this['_configService']=_0x10918d,this[_0x2006c5(0x34a)]=_0x478680,this[_0x2006c5(0x180)]=_0x3ca9e6,this[_0x2006c5(0x1af)]();}[_0x6122a6(0x1af)](){var _0x5924fb=_0x6122a6;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x2a67c6,_0xe105d8)=>_0xe105d8(_0x2a67c6)[_0x5924fb(0x211)]($[_0x5924fb(0x177)](async _0x3b25a7=>{var _0x2c35c5=_0x5924fb;const _0x3afa1e=_0x3b25a7;if(_0x3afa1e['status']===0x191){if(typeof window>'u')throw new Error(_0x2c35c5(0x262));if(window['confirm'](this[_0x2c35c5(0x180)]['t']('auth.needGotoLoginAlert'))){const _0x147c3f=window[_0x2c35c5(0x459)](window[_0x2c35c5(0x343)][_0x2c35c5(0x1c0)]);window['location']['href']=this[_0x2c35c5(0x3d9)]()+_0x2c35c5(0x2f5)+_0x147c3f;}}return _0x3afa1e;}))});}[_0x6122a6(0x3d9)](){var _0x404ae5=_0x6122a6,_0x5217e0,_0x50ccdf;const _0x3563c7=this[_0x404ae5(0x23c)][_0x404ae5(0x3ae)](pt),_0x539cca=this[_0x404ae5(0x23c)][_0x404ae5(0x3ae)](G);return(_0x50ccdf=(_0x5217e0=_0x539cca==null?void 0x0:_0x539cca[_0x404ae5(0x38d)])!=null?_0x5217e0:_0x3563c7)!=null?_0x50ccdf:Wt;}};ye=Ci([Ae(0x0,a[_0x6122a6(0x2a5)]),Ae(0x1,a[_0x6122a6(0x43e)](K[_0x6122a6(0x385)])),Ae(0x2,a['Inject'](a[_0x6122a6(0x4cc)]))],ye);var Ti=Object[_0x6122a6(0x333)],bi=(_0x1dae86,_0x165e24,_0x20ab15,_0x412f12)=>{var _0x2c5b93=_0x6122a6;for(var _0x5f2584=_0x412f12>0x1?void 0x0:_0x412f12?Ti(_0x165e24,_0x20ab15):_0x165e24,_0x56ad5f=_0x1dae86[_0x2c5b93(0x254)]-0x1,_0x4995eb;_0x56ad5f>=0x0;_0x56ad5f--)(_0x4995eb=_0x1dae86[_0x56ad5f])&&(_0x5f2584=_0x4995eb(_0x5f2584)||_0x5f2584);return _0x5f2584;},qe=(_0x4d0cbb,_0x2b8478)=>(_0x3d1daf,_0x330fe4)=>_0x2b8478(_0x3d1daf,_0x330fe4,_0x4d0cbb);const Ve=_0x6122a6(0x3b7),Ri=_0x6122a6(0x383);exports[_0x6122a6(0x393)]=class extends a[_0x6122a6(0x3c9)]{constructor(_0x3943bc,_0x59df45){var _0x2a3581=_0x6122a6;super(),this[_0x2a3581(0x2d8)]=_0x3943bc,this[_0x2a3581(0x23c)]=_0x59df45,this[_0x2a3581(0x441)]();}[_0x6122a6(0x441)](){var _0x25e508=_0x6122a6;const _0x796d7=this;this[_0x25e508(0x38c)](this[_0x25e508(0x2d8)][_0x25e508(0x1cc)]({'priority':0x3e7,'interceptor':K[_0x25e508(0x488)]({'isMatch'(_0x35b2c){var _0x269cc2=_0x25e508,_0x1287a0;if(_0x35b2c[_0x269cc2(0x45b)]===_0x269cc2(0x26b)&&((_0x1287a0=_0x35b2c[_0x269cc2(0x4da)])!=null&&_0x1287a0[_0x269cc2(0x2bf)])){const {objectID:_0x432575,objectType:_0x34e42e}=_0x35b2c['requestParams'][_0x269cc2(0x2bf)]||{};if(!_0x432575||_0x34e42e===void 0x0)return!0x1;const _0x50b335=_0x796d7['_getAPIPrefixPath']()+'/'+_0x34e42e+_0x269cc2(0x222)+_0x432575+_0x269cc2(0x32d);if(_0x35b2c[_0x269cc2(0x3dc)]===_0x50b335)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x39083c){var _0x48b43f=_0x25e508,_0xc73f19;return(_0xc73f19=_0x39083c['requestParams'])==null?void 0x0:_0xc73f19[_0x48b43f(0x2bf)];},'mergeParamsToRequest'(_0x33dfd7,_0x2c0f23){var _0x5928a0=_0x25e508;const _0x37b2c2=_0x796d7[_0x5928a0(0x324)]()+_0x5928a0(0x16d),_0x30acf8=_0x33dfd7[_0x5928a0(0x1a8)]((_0x51dc46,_0x30854f)=>{const {unitID:_0x2784cc,objectID:_0x2af82d,objectType:_0xa97d2f,actions:_0xb0dc97}=_0x30854f;return _0x51dc46[_0x2784cc]||(_0x51dc46[_0x2784cc]={}),_0x51dc46[_0x2784cc][_0x2af82d]||(_0x51dc46[_0x2784cc][_0x2af82d]={'objectID':_0x2af82d,'objectType':_0xa97d2f,'actions':[]}),_0x51dc46[_0x2784cc][_0x2af82d]['actions']['push'](..._0xb0dc97),_0x51dc46;},{}),_0x3ca2b9=[];for(const _0x119c56 in _0x30acf8)for(const _0x19fe3c in _0x30acf8[_0x119c56]){const {actions:_0x30009e,objectType:_0x220e17}=_0x30acf8[_0x119c56][_0x19fe3c],_0x3ae12d=[...new Set(_0x30009e)];_0x3ca2b9['push']({'unitID':_0x119c56,'objectID':_0x19fe3c,'objectType':_0x220e17,'actions':_0x3ae12d});}return new K[(_0x5928a0(0x2a7))](_0x5928a0(0x26b),_0x37b2c2,{'headers':_0x2c0f23[_0x5928a0(0x42b)],'withCredentials':_0x2c0f23['withCredentials'],'responseType':_0x2c0f23[_0x5928a0(0x3c7)],'body':{'requests':_0x3ca2b9}});}},{'distributeResult'(_0x2ae37d,_0x32d0ce){var _0x24f17c=_0x25e508;const {objectActions:_0x11e0fa}=_0x2ae37d;return _0x32d0ce[_0x24f17c(0x243)](_0x21061f=>{var _0x41b7a0=_0x24f17c;const {unitID:_0x68c843,objectID:_0xc7f13c,actions:_0x3d58f}=_0x21061f,_0x32cb9b=_0x11e0fa[_0x41b7a0(0x214)](_0x416fd5=>_0x416fd5[_0x41b7a0(0x298)]===_0x68c843&&_0x416fd5[_0x41b7a0(0x2af)]===_0xc7f13c),_0x1bd210=_0x3d58f[_0x41b7a0(0x243)](_0x161219=>_0x32cb9b==null?void 0x0:_0x32cb9b[_0x41b7a0(0x2b0)][_0x41b7a0(0x214)](_0x330359=>_0x330359[_0x41b7a0(0x185)]===_0x161219))[_0x41b7a0(0x21e)](_0x35fcd4=>!!_0x35fcd4);return{'config':_0x21061f,'result':{'actions':_0x1bd210,'error':_0x2ae37d['error']}};});}})}));}[_0x6122a6(0x324)](){var _0x32bc05=_0x6122a6,_0x333da0,_0x521456;const _0x1627b8=this[_0x32bc05(0x23c)]['getConfig'](Ve),_0x3fdc76=this[_0x32bc05(0x23c)][_0x32bc05(0x3ae)](G);return(_0x521456=(_0x333da0=_0x3fdc76==null?void 0x0:_0x3fdc76[_0x32bc05(0x484)])!=null?_0x333da0:_0x1627b8)!=null?_0x521456:Ri;}async[_0x6122a6(0x2f0)](_0x980d2){var _0x32cd3b=_0x6122a6;const _0x2f99c6=this[_0x32cd3b(0x324)]()+'/'+_0x980d2[_0x32cd3b(0x331)]+_0x32cd3b(0x49c);return(await this[_0x32cd3b(0x2d8)][_0x32cd3b(0x40a)](_0x2f99c6,{'body':_0x980d2}))[_0x32cd3b(0x2bf)]['objectID']||'';}async[_0x6122a6(0x22c)](_0xadb9dc){var _0x501fed=_0x6122a6;const _0x579631=this[_0x501fed(0x324)]()+_0x501fed(0x3cd);return(await this[_0x501fed(0x2d8)][_0x501fed(0x40a)](_0x579631,{'body':_0xadb9dc}))[_0x501fed(0x2bf)][_0x501fed(0x4d2)];}async['update'](_0x2de616){var _0xb6913b=_0x6122a6,_0x18688f,_0x355282;const _0x15ef18=this['_getAPIPrefixPath']()+'/'+_0x2de616[_0xb6913b(0x331)]+_0xb6913b(0x222)+_0x2de616[_0xb6913b(0x2af)],_0x4a4373=await this['_HTTPService'][_0xb6913b(0x21b)](_0x15ef18,{'body':_0x2de616});if(((_0x355282=(_0x18688f=_0x4a4373==null?void 0x0:_0x4a4373[_0xb6913b(0x2bf)])==null?void 0x0:_0x18688f[_0xb6913b(0x2a4)])==null?void 0x0:_0x355282[_0xb6913b(0x3de)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x6122a6(0x1e5)](_0x369146){var _0x9f82cc=_0x6122a6;const _0x4dca5d=this['_getAPIPrefixPath']()+'/'+_0x369146[_0x9f82cc(0x331)]+'/object/'+_0x369146['objectID']+_0x9f82cc(0x32d);return(await this['_HTTPService']['post'](_0x4dca5d,{'body':_0x369146}))[_0x9f82cc(0x2bf)][_0x9f82cc(0x2b0)];}async['batchAllowed'](_0x452ccc){var _0x244038=_0x6122a6;const _0x2d4821=this[_0x244038(0x324)]()+_0x244038(0x16d);return(await this[_0x244038(0x2d8)][_0x244038(0x40a)](_0x2d4821,{'body':{'requests':_0x452ccc}}))[_0x244038(0x2bf)]['objectActions'];}async[_0x6122a6(0x2d3)](_0xebd09c){var _0x453b2b=_0x6122a6;const _0x2eb7e0=this[_0x453b2b(0x324)]()+'/'+_0xebd09c[_0x453b2b(0x331)]+_0x453b2b(0x3fe),_0x3c90e4=await this[_0x453b2b(0x2d8)][_0x453b2b(0x40a)](_0x2eb7e0,{'body':_0xebd09c});return{'roles':_0x3c90e4[_0x453b2b(0x2bf)][_0x453b2b(0x2b6)],'actions':_0x3c90e4[_0x453b2b(0x2bf)][_0x453b2b(0x2b0)]};}async[_0x6122a6(0x4df)](_0x5648a8){var _0x3b8db=_0x6122a6;const _0x5c5b82=this[_0x3b8db(0x324)]()+_0x3b8db(0x48c);await this['_HTTPService'][_0x3b8db(0x1bc)](_0x5c5b82,{'params':{'collaboratorID':_0x5648a8[_0x3b8db(0x2da)],'objectID':_0x5648a8[_0x3b8db(0x2af)],'unitID':_0x5648a8['unitID']}});}async[_0x6122a6(0x38e)](_0x2eaf6e){var _0x2d12a6=_0x6122a6;const _0x5a061e=this[_0x2d12a6(0x324)]()+_0x2d12a6(0x48c);await this[_0x2d12a6(0x2d8)][_0x2d12a6(0x2d6)](_0x5a061e,{'body':_0x2eaf6e});}async['createCollaborator'](_0x4bbaf9){var _0x3914d9=_0x6122a6;const _0xf84a7c=this[_0x3914d9(0x324)]()+'/collaborator';await this[_0x3914d9(0x2d8)]['post'](_0xf84a7c,{'body':_0x4bbaf9});}async[_0x6122a6(0x1b9)](_0x1ecfbe){var _0x502e58=_0x6122a6;const _0x4a737a=this[_0x502e58(0x324)]()+_0x502e58(0x48c);return(await this[_0x502e58(0x2d8)][_0x502e58(0x4c3)](_0x4a737a,{'params':{'objectID':_0x1ecfbe[_0x502e58(0x2af)],'unitID':_0x1ecfbe['unitID']}}))[_0x502e58(0x2bf)][_0x502e58(0x3ea)];}async[_0x6122a6(0x265)](_0x48b448){var _0x3f7e1c=_0x6122a6;const _0x394237=this[_0x3f7e1c(0x324)]()+_0x3f7e1c(0x48c);await this[_0x3f7e1c(0x2d8)]['put'](_0x394237,{'body':_0x48b448});}},exports[_0x6122a6(0x393)]=bi([qe(0x0,a['Inject'](K[_0x6122a6(0x385)])),qe(0x1,a[_0x6122a6(0x43e)](a['IConfigService']))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x8d8eca){var _0x6b49cd=_0x6122a6;return _0x8d8eca&&_0x8d8eca[_0x6b49cd(0x266)]&&Object[_0x6b49cd(0x2e6)][_0x6b49cd(0x3a1)][_0x6b49cd(0x28c)](_0x8d8eca,_0x6b49cd(0x18e))?_0x8d8eca['default']:_0x8d8eca;}var fe={'exports':{}};function Oi(_0x24d8be){var _0xde3fab=_0x6122a6;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x24d8be+_0xde3fab(0x345));}var Ie={'exports':{}},yi=Ie[_0x6122a6(0x434)],ze;function Q(){var _0x8f9dc7=_0x6122a6;return ze||(ze=0x1,function(_0x4d44c9,_0x64f979){(function(_0x1ca38a,_0x28fd4c){var _0xf07496=_0x726b;_0x4d44c9[_0xf07496(0x434)]=_0x28fd4c();}(yi,function(){var _0x56cb5d=_0x56cb5d||function(_0x555d61,_0x21185f){var _0x175755=_0x726b,_0x3fa808;if(typeof window<'u'&&window[_0x175755(0x1fa)]&&(_0x3fa808=window[_0x175755(0x1fa)]),typeof self<'u'&&self[_0x175755(0x1fa)]&&(_0x3fa808=self[_0x175755(0x1fa)]),typeof globalThis<'u'&&globalThis[_0x175755(0x1fa)]&&(_0x3fa808=globalThis[_0x175755(0x1fa)]),!_0x3fa808&&typeof window<'u'&&window[_0x175755(0x1dc)]&&(_0x3fa808=window[_0x175755(0x1dc)]),!_0x3fa808&&typeof Pe<'u'&&Pe[_0x175755(0x1fa)]&&(_0x3fa808=Pe[_0x175755(0x1fa)]),!_0x3fa808&&typeof Oi=='function')try{_0x3fa808=require('crypto');}catch{}var _0x15ab3f=function(){var _0x5b4117=_0x175755;if(_0x3fa808){if(typeof _0x3fa808[_0x5b4117(0x2dc)]=='function')try{return _0x3fa808[_0x5b4117(0x2dc)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3fa808['randomBytes']==_0x5b4117(0x3c4))try{return _0x3fa808[_0x5b4117(0x248)](0x4)[_0x5b4117(0x446)]();}catch{}}throw new Error(_0x5b4117(0x1a7));},_0x14df87=Object[_0x175755(0x2f0)]||(function(){function _0x202b91(){}return function(_0x2d89bc){var _0x634d14=_0x726b,_0x3c3c4f;return _0x202b91['prototype']=_0x2d89bc,_0x3c3c4f=new _0x202b91(),_0x202b91[_0x634d14(0x2e6)]=null,_0x3c3c4f;};}()),_0x323b9d={},_0x36591a=_0x323b9d['lib']={},_0x209e7f=_0x36591a[_0x175755(0x2a1)]=(function(){return{'extend':function(_0x5f3d43){var _0x586439=_0x726b,_0x33fd56=_0x14df87(this);return _0x5f3d43&&_0x33fd56[_0x586439(0x323)](_0x5f3d43),(!_0x33fd56[_0x586439(0x3a1)](_0x586439(0x1af))||this[_0x586439(0x1af)]===_0x33fd56[_0x586439(0x1af)])&&(_0x33fd56[_0x586439(0x1af)]=function(){var _0x56cda7=_0x586439;_0x33fd56[_0x56cda7(0x2ef)][_0x56cda7(0x1af)][_0x56cda7(0x1bd)](this,arguments);}),_0x33fd56['init'][_0x586439(0x2e6)]=_0x33fd56,_0x33fd56[_0x586439(0x2ef)]=this,_0x33fd56;},'create':function(){var _0x55a84a=_0x726b,_0x148a83=this[_0x55a84a(0x1a0)]();return _0x148a83[_0x55a84a(0x1af)][_0x55a84a(0x1bd)](_0x148a83,arguments),_0x148a83;},'init':function(){},'mixIn':function(_0x4d14a1){var _0x35f7c1=_0x726b;for(var _0x4aff04 in _0x4d14a1)_0x4d14a1[_0x35f7c1(0x3a1)](_0x4aff04)&&(this[_0x4aff04]=_0x4d14a1[_0x4aff04]);_0x4d14a1['hasOwnProperty'](_0x35f7c1(0x41a))&&(this[_0x35f7c1(0x41a)]=_0x4d14a1[_0x35f7c1(0x41a)]);},'clone':function(){var _0x452d53=_0x726b;return this[_0x452d53(0x1af)][_0x452d53(0x2e6)]['extend'](this);}};}()),_0x349148=_0x36591a[_0x175755(0x236)]=_0x209e7f[_0x175755(0x1a0)]({'init':function(_0xd1e244,_0x75118e){var _0x436d30=_0x175755;_0xd1e244=this['words']=_0xd1e244||[],_0x75118e!=_0x21185f?this[_0x436d30(0x4ca)]=_0x75118e:this[_0x436d30(0x4ca)]=_0xd1e244[_0x436d30(0x254)]*0x4;},'toString':function(_0x2bdfc9){return(_0x2bdfc9||_0x4ab7e4)['stringify'](this);},'concat':function(_0x2eae91){var _0x4e2d61=_0x175755,_0x5def94=this['words'],_0x5e225b=_0x2eae91[_0x4e2d61(0x29b)],_0x2c9b95=this[_0x4e2d61(0x4ca)],_0x56c755=_0x2eae91[_0x4e2d61(0x4ca)];if(this[_0x4e2d61(0x24a)](),_0x2c9b95%0x4)for(var _0x2ffc52=0x0;_0x2ffc52<_0x56c755;_0x2ffc52++){var _0x524be8=_0x5e225b[_0x2ffc52>>>0x2]>>>0x18-_0x2ffc52%0x4*0x8&0xff;_0x5def94[_0x2c9b95+_0x2ffc52>>>0x2]|=_0x524be8<<0x18-(_0x2c9b95+_0x2ffc52)%0x4*0x8;}else{for(var _0x59c00e=0x0;_0x59c00e<_0x56c755;_0x59c00e+=0x4)_0x5def94[_0x2c9b95+_0x59c00e>>>0x2]=_0x5e225b[_0x59c00e>>>0x2];}return this[_0x4e2d61(0x4ca)]+=_0x56c755,this;},'clamp':function(){var _0x2cc3cb=_0x175755,_0x563928=this[_0x2cc3cb(0x29b)],_0x4c052f=this[_0x2cc3cb(0x4ca)];_0x563928[_0x4c052f>>>0x2]&=0xffffffff<<0x20-_0x4c052f%0x4*0x8,_0x563928[_0x2cc3cb(0x254)]=_0x555d61[_0x2cc3cb(0x252)](_0x4c052f/0x4);},'clone':function(){var _0x1797f2=_0x175755,_0xde0d6c=_0x209e7f[_0x1797f2(0x316)][_0x1797f2(0x28c)](this);return _0xde0d6c[_0x1797f2(0x29b)]=this[_0x1797f2(0x29b)]['slice'](0x0),_0xde0d6c;},'random':function(_0x5d1879){var _0x46aa3f=_0x175755;for(var _0x2b50c6=[],_0x351d1d=0x0;_0x351d1d<_0x5d1879;_0x351d1d+=0x4)_0x2b50c6[_0x46aa3f(0x1ad)](_0x15ab3f());return new _0x349148[(_0x46aa3f(0x1af))](_0x2b50c6,_0x5d1879);}}),_0x24be8b=_0x323b9d[_0x175755(0x4d5)]={},_0x4ab7e4=_0x24be8b[_0x175755(0x4d3)]={'stringify':function(_0x3b3c08){var _0x5a6fe1=_0x175755;for(var _0x1ae2d7=_0x3b3c08[_0x5a6fe1(0x29b)],_0x22429f=_0x3b3c08[_0x5a6fe1(0x4ca)],_0x2f4a5b=[],_0x57138e=0x0;_0x57138e<_0x22429f;_0x57138e++){var _0x453ce4=_0x1ae2d7[_0x57138e>>>0x2]>>>0x18-_0x57138e%0x4*0x8&0xff;_0x2f4a5b[_0x5a6fe1(0x1ad)]((_0x453ce4>>>0x4)[_0x5a6fe1(0x41a)](0x10)),_0x2f4a5b[_0x5a6fe1(0x1ad)]((_0x453ce4&0xf)[_0x5a6fe1(0x41a)](0x10));}return _0x2f4a5b[_0x5a6fe1(0x1b0)]('');},'parse':function(_0x1c30d8){for(var _0x1597ca=_0x1c30d8['length'],_0xbba470=[],_0x5558eb=0x0;_0x5558eb<_0x1597ca;_0x5558eb+=0x2)_0xbba470[_0x5558eb>>>0x3]|=parseInt(_0x1c30d8['substr'](_0x5558eb,0x2),0x10)<<0x18-_0x5558eb%0x8*0x4;return new _0x349148['init'](_0xbba470,_0x1597ca/0x2);}},_0x74241a=_0x24be8b[_0x175755(0x49d)]={'stringify':function(_0x2a6c2e){var _0x5a5e3f=_0x175755;for(var _0x1ddd13=_0x2a6c2e[_0x5a5e3f(0x29b)],_0x364e02=_0x2a6c2e['sigBytes'],_0x4a1650=[],_0x266b44=0x0;_0x266b44<_0x364e02;_0x266b44++){var _0x3e035a=_0x1ddd13[_0x266b44>>>0x2]>>>0x18-_0x266b44%0x4*0x8&0xff;_0x4a1650[_0x5a5e3f(0x1ad)](String['fromCharCode'](_0x3e035a));}return _0x4a1650[_0x5a5e3f(0x1b0)]('');},'parse':function(_0x50d27c){for(var _0x2f3ce8=_0x50d27c['length'],_0x2842d1=[],_0x226a7e=0x0;_0x226a7e<_0x2f3ce8;_0x226a7e++)_0x2842d1[_0x226a7e>>>0x2]|=(_0x50d27c['charCodeAt'](_0x226a7e)&0xff)<<0x18-_0x226a7e%0x4*0x8;return new _0x349148['init'](_0x2842d1,_0x2f3ce8);}},_0x506000=_0x24be8b[_0x175755(0x4cb)]={'stringify':function(_0x4406a1){var _0x1fc492=_0x175755;try{return decodeURIComponent(escape(_0x74241a['stringify'](_0x4406a1)));}catch{throw new Error(_0x1fc492(0x1d6));}},'parse':function(_0x4b904c){return _0x74241a['parse'](unescape(encodeURIComponent(_0x4b904c)));}},_0x2db2d6=_0x36591a['BufferedBlockAlgorithm']=_0x209e7f[_0x175755(0x1a0)]({'reset':function(){var _0x2d194e=_0x175755;this[_0x2d194e(0x2c2)]=new _0x349148['init'](),this[_0x2d194e(0x363)]=0x0;},'_append':function(_0x43ee0e){var _0x55f5d5=_0x175755;typeof _0x43ee0e==_0x55f5d5(0x4b2)&&(_0x43ee0e=_0x506000[_0x55f5d5(0x42a)](_0x43ee0e)),this['_data'][_0x55f5d5(0x26d)](_0x43ee0e),this[_0x55f5d5(0x363)]+=_0x43ee0e[_0x55f5d5(0x4ca)];},'_process':function(_0x11cf96){var _0x585a29=_0x175755,_0x58cc15,_0x153f15=this[_0x585a29(0x2c2)],_0x30c914=_0x153f15['words'],_0x2d5f7c=_0x153f15[_0x585a29(0x4ca)],_0x5bcd17=this[_0x585a29(0x2c6)],_0x3ed8bc=_0x5bcd17*0x4,_0x54ed85=_0x2d5f7c/_0x3ed8bc;_0x11cf96?_0x54ed85=_0x555d61['ceil'](_0x54ed85):_0x54ed85=_0x555d61[_0x585a29(0x379)]((_0x54ed85|0x0)-this['_minBufferSize'],0x0);var _0x5ab9a1=_0x54ed85*_0x5bcd17,_0x98a279=_0x555d61[_0x585a29(0x351)](_0x5ab9a1*0x4,_0x2d5f7c);if(_0x5ab9a1){for(var _0x20c5a2=0x0;_0x20c5a2<_0x5ab9a1;_0x20c5a2+=_0x5bcd17)this[_0x585a29(0x1a6)](_0x30c914,_0x20c5a2);_0x58cc15=_0x30c914['splice'](0x0,_0x5ab9a1),_0x153f15[_0x585a29(0x4ca)]-=_0x98a279;}return new _0x349148[(_0x585a29(0x1af))](_0x58cc15,_0x98a279);},'clone':function(){var _0x25c312=_0x175755,_0x580b27=_0x209e7f[_0x25c312(0x316)][_0x25c312(0x28c)](this);return _0x580b27[_0x25c312(0x2c2)]=this['_data'][_0x25c312(0x316)](),_0x580b27;},'_minBufferSize':0x0});_0x36591a[_0x175755(0x1c8)]=_0x2db2d6[_0x175755(0x1a0)]({'cfg':_0x209e7f[_0x175755(0x1a0)](),'init':function(_0x3c97ef){var _0x228935=_0x175755;this[_0x228935(0x449)]=this['cfg'][_0x228935(0x1a0)](_0x3c97ef),this[_0x228935(0x378)]();},'reset':function(){var _0x507813=_0x175755;_0x2db2d6[_0x507813(0x378)][_0x507813(0x28c)](this),this[_0x507813(0x3d2)]();},'update':function(_0x601974){var _0x51d158=_0x175755;return this[_0x51d158(0x490)](_0x601974),this[_0x51d158(0x195)](),this;},'finalize':function(_0x33afda){var _0x459b50=_0x175755;_0x33afda&&this[_0x459b50(0x490)](_0x33afda);var _0x11bf94=this[_0x459b50(0x397)]();return _0x11bf94;},'blockSize':0x10,'_createHelper':function(_0x43f9df){return function(_0x5a880c,_0x170f2e){var _0x3469d3=_0x726b;return new _0x43f9df[(_0x3469d3(0x1af))](_0x170f2e)['finalize'](_0x5a880c);};},'_createHmacHelper':function(_0x46db2d){return function(_0x451ab7,_0x547ec0){var _0x4b88f2=_0x726b;return new _0x55287d[(_0x4b88f2(0x2a6))][(_0x4b88f2(0x1af))](_0x46db2d,_0x547ec0)[_0x4b88f2(0x466)](_0x451ab7);};}});var _0x55287d=_0x323b9d[_0x175755(0x4a7)]={};return _0x323b9d;}(Math);return _0x56cb5d;}));}(Ie)),Ie[_0x8f9dc7(0x434)];}var pe={'exports':{}},Ni=pe[_0x6122a6(0x434)],Je;function yt(){var _0x4300d6=_0x6122a6;return Je||(Je=0x1,function(_0x33abbe,_0x5398e7){(function(_0x508934,_0x3730f6){var _0x1fbbc8=_0x726b;_0x33abbe[_0x1fbbc8(0x434)]=_0x3730f6(Q());}(Ni,function(_0x40f833){var _0x3f2366=_0x726b;return(function(){var _0x5d6813=_0x726b,_0xc42f4c=_0x40f833,_0x9002c3=_0xc42f4c[_0x5d6813(0x27a)],_0x49f688=_0x9002c3['WordArray'],_0x1acb44=_0xc42f4c[_0x5d6813(0x4d5)];_0x1acb44['Base64']={'stringify':function(_0x130a00){var _0x478310=_0x5d6813,_0xd53302=_0x130a00[_0x478310(0x29b)],_0x4834de=_0x130a00[_0x478310(0x4ca)],_0x28d2fc=this['_map'];_0x130a00[_0x478310(0x24a)]();for(var _0x90f314=[],_0x50e807=0x0;_0x50e807<_0x4834de;_0x50e807+=0x3)for(var _0x5a84ce=_0xd53302[_0x50e807>>>0x2]>>>0x18-_0x50e807%0x4*0x8&0xff,_0x93522d=_0xd53302[_0x50e807+0x1>>>0x2]>>>0x18-(_0x50e807+0x1)%0x4*0x8&0xff,_0x80fbb4=_0xd53302[_0x50e807+0x2>>>0x2]>>>0x18-(_0x50e807+0x2)%0x4*0x8&0xff,_0x3d9d05=_0x5a84ce<<0x10|_0x93522d<<0x8|_0x80fbb4,_0xdbfcbf=0x0;_0xdbfcbf<0x4&&_0x50e807+_0xdbfcbf*0.75<_0x4834de;_0xdbfcbf++)_0x90f314[_0x478310(0x1ad)](_0x28d2fc[_0x478310(0x1cf)](_0x3d9d05>>>0x6*(0x3-_0xdbfcbf)&0x3f));var _0x350053=_0x28d2fc[_0x478310(0x1cf)](0x40);if(_0x350053){for(;_0x90f314['length']%0x4;)_0x90f314[_0x478310(0x1ad)](_0x350053);}return _0x90f314[_0x478310(0x1b0)]('');},'parse':function(_0x456c66){var _0x52f595=_0x5d6813,_0x3ba88a=_0x456c66[_0x52f595(0x254)],_0x194974=this[_0x52f595(0x43a)],_0x3f80e1=this[_0x52f595(0x365)];if(!_0x3f80e1){_0x3f80e1=this[_0x52f595(0x365)]=[];for(var _0xe578cf=0x0;_0xe578cf<_0x194974['length'];_0xe578cf++)_0x3f80e1[_0x194974[_0x52f595(0x228)](_0xe578cf)]=_0xe578cf;}var _0x400982=_0x194974[_0x52f595(0x1cf)](0x40);if(_0x400982){var _0xa0105b=_0x456c66[_0x52f595(0x349)](_0x400982);_0xa0105b!==-0x1&&(_0x3ba88a=_0xa0105b);}return _0x5d2d78(_0x456c66,_0x3ba88a,_0x3f80e1);},'_map':_0x5d6813(0x3cb)};function _0x5d2d78(_0x5a2185,_0x14dda2,_0x21d412){var _0x547121=_0x5d6813;for(var _0x2d3505=[],_0x27219f=0x0,_0x556ffe=0x0;_0x556ffe<_0x14dda2;_0x556ffe++)if(_0x556ffe%0x4){var _0x5957e8=_0x21d412[_0x5a2185[_0x547121(0x228)](_0x556ffe-0x1)]<<_0x556ffe%0x4*0x2,_0x82d9e4=_0x21d412[_0x5a2185[_0x547121(0x228)](_0x556ffe)]>>>0x6-_0x556ffe%0x4*0x2,_0x123fb7=_0x5957e8|_0x82d9e4;_0x2d3505[_0x27219f>>>0x2]|=_0x123fb7<<0x18-_0x27219f%0x4*0x8,_0x27219f++;}return _0x49f688[_0x547121(0x2f0)](_0x2d3505,_0x27219f);}}()),_0x40f833[_0x3f2366(0x4d5)][_0x3f2366(0x2bc)];}));}(pe)),pe[_0x4300d6(0x434)];}var ge={'exports':{}},Di=ge['exports'],Xe;function Ui(){var _0x5d0b1d=_0x6122a6;return Xe||(Xe=0x1,function(_0x5ef67c,_0x197bff){(function(_0xc2d1c6,_0x4f5887){_0x5ef67c['exports']=_0x4f5887(Q());}(Di,function(_0x36827b){return function(_0x28da7d){var _0x137001=_0x726b,_0x1a163c=_0x36827b,_0x360b4a=_0x1a163c[_0x137001(0x27a)],_0x1bb3d4=_0x360b4a[_0x137001(0x236)],_0x106327=_0x360b4a[_0x137001(0x1c8)],_0xea7416=_0x1a163c['algo'],_0x5e54af=[];(function(){var _0x15aace=_0x137001;for(var _0x42a74b=0x0;_0x42a74b<0x40;_0x42a74b++)_0x5e54af[_0x42a74b]=_0x28da7d[_0x15aace(0x2e7)](_0x28da7d[_0x15aace(0x4be)](_0x42a74b+0x1))*0x100000000|0x0;}());var _0x30f465=_0xea7416['MD5']=_0x106327['extend']({'_doReset':function(){var _0x257316=_0x137001;this[_0x257316(0x1ec)]=new _0x1bb3d4[(_0x257316(0x1af))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x52bf6d,_0x5846d5){var _0x56d6e5=_0x137001;for(var _0xe116cd=0x0;_0xe116cd<0x10;_0xe116cd++){var _0x56141d=_0x5846d5+_0xe116cd,_0x2360db=_0x52bf6d[_0x56141d];_0x52bf6d[_0x56141d]=(_0x2360db<<0x8|_0x2360db>>>0x18)&0xff00ff|(_0x2360db<<0x18|_0x2360db>>>0x8)&0xff00ff00;}var _0x4dd1b2=this[_0x56d6e5(0x1ec)][_0x56d6e5(0x29b)],_0x24b7de=_0x52bf6d[_0x5846d5+0x0],_0x58c3c1=_0x52bf6d[_0x5846d5+0x1],_0x5bd1f6=_0x52bf6d[_0x5846d5+0x2],_0x5ed083=_0x52bf6d[_0x5846d5+0x3],_0x5453bb=_0x52bf6d[_0x5846d5+0x4],_0x3999cd=_0x52bf6d[_0x5846d5+0x5],_0x58a2c0=_0x52bf6d[_0x5846d5+0x6],_0x1e62d2=_0x52bf6d[_0x5846d5+0x7],_0x1ecb05=_0x52bf6d[_0x5846d5+0x8],_0x321ea6=_0x52bf6d[_0x5846d5+0x9],_0x555f0b=_0x52bf6d[_0x5846d5+0xa],_0x593d6a=_0x52bf6d[_0x5846d5+0xb],_0x31432e=_0x52bf6d[_0x5846d5+0xc],_0x2e4f15=_0x52bf6d[_0x5846d5+0xd],_0x416e89=_0x52bf6d[_0x5846d5+0xe],_0x4a4392=_0x52bf6d[_0x5846d5+0xf],_0x3dfce0=_0x4dd1b2[0x0],_0x5d3c4a=_0x4dd1b2[0x1],_0x4ee4be=_0x4dd1b2[0x2],_0x7a184a=_0x4dd1b2[0x3];_0x3dfce0=_0x85e659(_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x24b7de,0x7,_0x5e54af[0x0]),_0x7a184a=_0x85e659(_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x58c3c1,0xc,_0x5e54af[0x1]),_0x4ee4be=_0x85e659(_0x4ee4be,_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x5bd1f6,0x11,_0x5e54af[0x2]),_0x5d3c4a=_0x85e659(_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x3dfce0,_0x5ed083,0x16,_0x5e54af[0x3]),_0x3dfce0=_0x85e659(_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x5453bb,0x7,_0x5e54af[0x4]),_0x7a184a=_0x85e659(_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x3999cd,0xc,_0x5e54af[0x5]),_0x4ee4be=_0x85e659(_0x4ee4be,_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x58a2c0,0x11,_0x5e54af[0x6]),_0x5d3c4a=_0x85e659(_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x3dfce0,_0x1e62d2,0x16,_0x5e54af[0x7]),_0x3dfce0=_0x85e659(_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x1ecb05,0x7,_0x5e54af[0x8]),_0x7a184a=_0x85e659(_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x321ea6,0xc,_0x5e54af[0x9]),_0x4ee4be=_0x85e659(_0x4ee4be,_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x555f0b,0x11,_0x5e54af[0xa]),_0x5d3c4a=_0x85e659(_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x3dfce0,_0x593d6a,0x16,_0x5e54af[0xb]),_0x3dfce0=_0x85e659(_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x31432e,0x7,_0x5e54af[0xc]),_0x7a184a=_0x85e659(_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x2e4f15,0xc,_0x5e54af[0xd]),_0x4ee4be=_0x85e659(_0x4ee4be,_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x416e89,0x11,_0x5e54af[0xe]),_0x5d3c4a=_0x85e659(_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x3dfce0,_0x4a4392,0x16,_0x5e54af[0xf]),_0x3dfce0=_0xf24120(_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x58c3c1,0x5,_0x5e54af[0x10]),_0x7a184a=_0xf24120(_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x58a2c0,0x9,_0x5e54af[0x11]),_0x4ee4be=_0xf24120(_0x4ee4be,_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x593d6a,0xe,_0x5e54af[0x12]),_0x5d3c4a=_0xf24120(_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x3dfce0,_0x24b7de,0x14,_0x5e54af[0x13]),_0x3dfce0=_0xf24120(_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x3999cd,0x5,_0x5e54af[0x14]),_0x7a184a=_0xf24120(_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x555f0b,0x9,_0x5e54af[0x15]),_0x4ee4be=_0xf24120(_0x4ee4be,_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x4a4392,0xe,_0x5e54af[0x16]),_0x5d3c4a=_0xf24120(_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x3dfce0,_0x5453bb,0x14,_0x5e54af[0x17]),_0x3dfce0=_0xf24120(_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x321ea6,0x5,_0x5e54af[0x18]),_0x7a184a=_0xf24120(_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x416e89,0x9,_0x5e54af[0x19]),_0x4ee4be=_0xf24120(_0x4ee4be,_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x5ed083,0xe,_0x5e54af[0x1a]),_0x5d3c4a=_0xf24120(_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x3dfce0,_0x1ecb05,0x14,_0x5e54af[0x1b]),_0x3dfce0=_0xf24120(_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x2e4f15,0x5,_0x5e54af[0x1c]),_0x7a184a=_0xf24120(_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x5bd1f6,0x9,_0x5e54af[0x1d]),_0x4ee4be=_0xf24120(_0x4ee4be,_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x1e62d2,0xe,_0x5e54af[0x1e]),_0x5d3c4a=_0xf24120(_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x3dfce0,_0x31432e,0x14,_0x5e54af[0x1f]),_0x3dfce0=_0x51aa06(_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x3999cd,0x4,_0x5e54af[0x20]),_0x7a184a=_0x51aa06(_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x1ecb05,0xb,_0x5e54af[0x21]),_0x4ee4be=_0x51aa06(_0x4ee4be,_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x593d6a,0x10,_0x5e54af[0x22]),_0x5d3c4a=_0x51aa06(_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x3dfce0,_0x416e89,0x17,_0x5e54af[0x23]),_0x3dfce0=_0x51aa06(_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x58c3c1,0x4,_0x5e54af[0x24]),_0x7a184a=_0x51aa06(_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x5453bb,0xb,_0x5e54af[0x25]),_0x4ee4be=_0x51aa06(_0x4ee4be,_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x1e62d2,0x10,_0x5e54af[0x26]),_0x5d3c4a=_0x51aa06(_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x3dfce0,_0x555f0b,0x17,_0x5e54af[0x27]),_0x3dfce0=_0x51aa06(_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x2e4f15,0x4,_0x5e54af[0x28]),_0x7a184a=_0x51aa06(_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x24b7de,0xb,_0x5e54af[0x29]),_0x4ee4be=_0x51aa06(_0x4ee4be,_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x5ed083,0x10,_0x5e54af[0x2a]),_0x5d3c4a=_0x51aa06(_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x3dfce0,_0x58a2c0,0x17,_0x5e54af[0x2b]),_0x3dfce0=_0x51aa06(_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x321ea6,0x4,_0x5e54af[0x2c]),_0x7a184a=_0x51aa06(_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x31432e,0xb,_0x5e54af[0x2d]),_0x4ee4be=_0x51aa06(_0x4ee4be,_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x4a4392,0x10,_0x5e54af[0x2e]),_0x5d3c4a=_0x51aa06(_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x3dfce0,_0x5bd1f6,0x17,_0x5e54af[0x2f]),_0x3dfce0=_0x480eb6(_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x24b7de,0x6,_0x5e54af[0x30]),_0x7a184a=_0x480eb6(_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x1e62d2,0xa,_0x5e54af[0x31]),_0x4ee4be=_0x480eb6(_0x4ee4be,_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x416e89,0xf,_0x5e54af[0x32]),_0x5d3c4a=_0x480eb6(_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x3dfce0,_0x3999cd,0x15,_0x5e54af[0x33]),_0x3dfce0=_0x480eb6(_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x31432e,0x6,_0x5e54af[0x34]),_0x7a184a=_0x480eb6(_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x5ed083,0xa,_0x5e54af[0x35]),_0x4ee4be=_0x480eb6(_0x4ee4be,_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x555f0b,0xf,_0x5e54af[0x36]),_0x5d3c4a=_0x480eb6(_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x3dfce0,_0x58c3c1,0x15,_0x5e54af[0x37]),_0x3dfce0=_0x480eb6(_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x1ecb05,0x6,_0x5e54af[0x38]),_0x7a184a=_0x480eb6(_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x4a4392,0xa,_0x5e54af[0x39]),_0x4ee4be=_0x480eb6(_0x4ee4be,_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x58a2c0,0xf,_0x5e54af[0x3a]),_0x5d3c4a=_0x480eb6(_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x3dfce0,_0x2e4f15,0x15,_0x5e54af[0x3b]),_0x3dfce0=_0x480eb6(_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x5453bb,0x6,_0x5e54af[0x3c]),_0x7a184a=_0x480eb6(_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x4ee4be,_0x593d6a,0xa,_0x5e54af[0x3d]),_0x4ee4be=_0x480eb6(_0x4ee4be,_0x7a184a,_0x3dfce0,_0x5d3c4a,_0x5bd1f6,0xf,_0x5e54af[0x3e]),_0x5d3c4a=_0x480eb6(_0x5d3c4a,_0x4ee4be,_0x7a184a,_0x3dfce0,_0x321ea6,0x15,_0x5e54af[0x3f]),_0x4dd1b2[0x0]=_0x4dd1b2[0x0]+_0x3dfce0|0x0,_0x4dd1b2[0x1]=_0x4dd1b2[0x1]+_0x5d3c4a|0x0,_0x4dd1b2[0x2]=_0x4dd1b2[0x2]+_0x4ee4be|0x0,_0x4dd1b2[0x3]=_0x4dd1b2[0x3]+_0x7a184a|0x0;},'_doFinalize':function(){var _0x3caa2d=_0x137001,_0x49813c=this['_data'],_0x144bf5=_0x49813c[_0x3caa2d(0x29b)],_0x3ed5bf=this[_0x3caa2d(0x363)]*0x8,_0x40db8a=_0x49813c['sigBytes']*0x8;_0x144bf5[_0x40db8a>>>0x5]|=0x80<<0x18-_0x40db8a%0x20;var _0x46efec=_0x28da7d[_0x3caa2d(0x189)](_0x3ed5bf/0x100000000),_0x5b9050=_0x3ed5bf;_0x144bf5[(_0x40db8a+0x40>>>0x9<<0x4)+0xf]=(_0x46efec<<0x8|_0x46efec>>>0x18)&0xff00ff|(_0x46efec<<0x18|_0x46efec>>>0x8)&0xff00ff00,_0x144bf5[(_0x40db8a+0x40>>>0x9<<0x4)+0xe]=(_0x5b9050<<0x8|_0x5b9050>>>0x18)&0xff00ff|(_0x5b9050<<0x18|_0x5b9050>>>0x8)&0xff00ff00,_0x49813c[_0x3caa2d(0x4ca)]=(_0x144bf5[_0x3caa2d(0x254)]+0x1)*0x4,this['_process']();for(var _0xd5dafa=this[_0x3caa2d(0x1ec)],_0x5e74de=_0xd5dafa[_0x3caa2d(0x29b)],_0x4f6f4e=0x0;_0x4f6f4e<0x4;_0x4f6f4e++){var _0x4c34ac=_0x5e74de[_0x4f6f4e];_0x5e74de[_0x4f6f4e]=(_0x4c34ac<<0x8|_0x4c34ac>>>0x18)&0xff00ff|(_0x4c34ac<<0x18|_0x4c34ac>>>0x8)&0xff00ff00;}return _0xd5dafa;},'clone':function(){var _0xf08af3=_0x137001,_0x35e4ca=_0x106327[_0xf08af3(0x316)][_0xf08af3(0x28c)](this);return _0x35e4ca[_0xf08af3(0x1ec)]=this[_0xf08af3(0x1ec)][_0xf08af3(0x316)](),_0x35e4ca;}});function _0x85e659(_0x2a248d,_0x4c6ded,_0x400b9f,_0x55c450,_0x260c4d,_0x33f6a0,_0x2bda21){var _0xc3c2c2=_0x2a248d+(_0x4c6ded&_0x400b9f|~_0x4c6ded&_0x55c450)+_0x260c4d+_0x2bda21;return(_0xc3c2c2<<_0x33f6a0|_0xc3c2c2>>>0x20-_0x33f6a0)+_0x4c6ded;}function _0xf24120(_0x1ddec9,_0x389d9d,_0x6010b3,_0x29bf3b,_0x290956,_0x312950,_0x2eb6b6){var _0x411b5b=_0x1ddec9+(_0x389d9d&_0x29bf3b|_0x6010b3&~_0x29bf3b)+_0x290956+_0x2eb6b6;return(_0x411b5b<<_0x312950|_0x411b5b>>>0x20-_0x312950)+_0x389d9d;}function _0x51aa06(_0x2cb684,_0x43a5f1,_0x585786,_0x100f6a,_0x5b3f41,_0x41c531,_0x58209a){var _0x6f7f69=_0x2cb684+(_0x43a5f1^_0x585786^_0x100f6a)+_0x5b3f41+_0x58209a;return(_0x6f7f69<<_0x41c531|_0x6f7f69>>>0x20-_0x41c531)+_0x43a5f1;}function _0x480eb6(_0x46e2e8,_0x310aae,_0x142a68,_0x4be10e,_0x3a6311,_0x338a34,_0x18ad6e){var _0x2d0dd2=_0x46e2e8+(_0x142a68^(_0x310aae|~_0x4be10e))+_0x3a6311+_0x18ad6e;return(_0x2d0dd2<<_0x338a34|_0x2d0dd2>>>0x20-_0x338a34)+_0x310aae;}_0x1a163c['MD5']=_0x106327[_0x137001(0x17d)](_0x30f465),_0x1a163c[_0x137001(0x457)]=_0x106327[_0x137001(0x29a)](_0x30f465);}(Math),_0x36827b['MD5'];}));}(ge)),ge[_0x5d0b1d(0x434)];}var Ee={'exports':{}},me={'exports':{}},Ai=me['exports'],Ze;function Pi(){var _0x3b350e=_0x6122a6;return Ze||(Ze=0x1,function(_0x3e87bc,_0x12e163){(function(_0x13593e,_0x18e695){_0x3e87bc['exports']=_0x18e695(Q());}(Ai,function(_0x4eca1a){var _0x5635dd=_0x726b;return(function(){var _0x440b71=_0x726b,_0x430151=_0x4eca1a,_0xbc37b3=_0x430151[_0x440b71(0x27a)],_0x3f3f0d=_0xbc37b3['WordArray'],_0x2dd1ba=_0xbc37b3[_0x440b71(0x1c8)],_0x42b364=_0x430151[_0x440b71(0x4a7)],_0x238c1f=[],_0x17283f=_0x42b364['SHA1']=_0x2dd1ba[_0x440b71(0x1a0)]({'_doReset':function(){var _0x5bc066=_0x440b71;this[_0x5bc066(0x1ec)]=new _0x3f3f0d['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x6386c8,_0x2bf885){var _0x19fc20=_0x440b71;for(var _0x3af916=this[_0x19fc20(0x1ec)]['words'],_0x237c48=_0x3af916[0x0],_0x52e66e=_0x3af916[0x1],_0x4d9c49=_0x3af916[0x2],_0x485448=_0x3af916[0x3],_0x2f7d90=_0x3af916[0x4],_0x1d866e=0x0;_0x1d866e<0x50;_0x1d866e++){if(_0x1d866e<0x10)_0x238c1f[_0x1d866e]=_0x6386c8[_0x2bf885+_0x1d866e]|0x0;else{var _0x22c6f1=_0x238c1f[_0x1d866e-0x3]^_0x238c1f[_0x1d866e-0x8]^_0x238c1f[_0x1d866e-0xe]^_0x238c1f[_0x1d866e-0x10];_0x238c1f[_0x1d866e]=_0x22c6f1<<0x1|_0x22c6f1>>>0x1f;}var _0x4425d4=(_0x237c48<<0x5|_0x237c48>>>0x1b)+_0x2f7d90+_0x238c1f[_0x1d866e];_0x1d866e<0x14?_0x4425d4+=(_0x52e66e&_0x4d9c49|~_0x52e66e&_0x485448)+0x5a827999:_0x1d866e<0x28?_0x4425d4+=(_0x52e66e^_0x4d9c49^_0x485448)+0x6ed9eba1:_0x1d866e<0x3c?_0x4425d4+=(_0x52e66e&_0x4d9c49|_0x52e66e&_0x485448|_0x4d9c49&_0x485448)-0x70e44324:_0x4425d4+=(_0x52e66e^_0x4d9c49^_0x485448)-0x359d3e2a,_0x2f7d90=_0x485448,_0x485448=_0x4d9c49,_0x4d9c49=_0x52e66e<<0x1e|_0x52e66e>>>0x2,_0x52e66e=_0x237c48,_0x237c48=_0x4425d4;}_0x3af916[0x0]=_0x3af916[0x0]+_0x237c48|0x0,_0x3af916[0x1]=_0x3af916[0x1]+_0x52e66e|0x0,_0x3af916[0x2]=_0x3af916[0x2]+_0x4d9c49|0x0,_0x3af916[0x3]=_0x3af916[0x3]+_0x485448|0x0,_0x3af916[0x4]=_0x3af916[0x4]+_0x2f7d90|0x0;},'_doFinalize':function(){var _0x2e9ea0=_0x440b71,_0x20437a=this[_0x2e9ea0(0x2c2)],_0x252c42=_0x20437a[_0x2e9ea0(0x29b)],_0x4467f5=this['_nDataBytes']*0x8,_0x4a972c=_0x20437a['sigBytes']*0x8;return _0x252c42[_0x4a972c>>>0x5]|=0x80<<0x18-_0x4a972c%0x20,_0x252c42[(_0x4a972c+0x40>>>0x9<<0x4)+0xe]=Math[_0x2e9ea0(0x189)](_0x4467f5/0x100000000),_0x252c42[(_0x4a972c+0x40>>>0x9<<0x4)+0xf]=_0x4467f5,_0x20437a[_0x2e9ea0(0x4ca)]=_0x252c42[_0x2e9ea0(0x254)]*0x4,this['_process'](),this[_0x2e9ea0(0x1ec)];},'clone':function(){var _0x4b1b19=_0x440b71,_0x4ec8df=_0x2dd1ba[_0x4b1b19(0x316)][_0x4b1b19(0x28c)](this);return _0x4ec8df[_0x4b1b19(0x1ec)]=this['_hash'][_0x4b1b19(0x316)](),_0x4ec8df;}});_0x430151['SHA1']=_0x2dd1ba['_createHelper'](_0x17283f),_0x430151[_0x440b71(0x4ae)]=_0x2dd1ba['_createHmacHelper'](_0x17283f);}()),_0x4eca1a[_0x5635dd(0x280)];}));}(me)),me[_0x3b350e(0x434)];}var Ce={'exports':{}},Li=Ce[_0x6122a6(0x434)],Qe;function wi(){var _0x563a22=_0x6122a6;return Qe||(Qe=0x1,function(_0x53b8a2,_0x556b40){(function(_0x4f5a51,_0x5a3739){var _0x7996f6=_0x726b;_0x53b8a2[_0x7996f6(0x434)]=_0x5a3739(Q());}(Li,function(_0x5eed26){(function(){var _0x2b6a5c=_0x726b,_0x34b1ff=_0x5eed26,_0xfc4b60=_0x34b1ff[_0x2b6a5c(0x27a)],_0xb95a96=_0xfc4b60['Base'],_0x15a1e7=_0x34b1ff['enc'],_0x3a5a2e=_0x15a1e7[_0x2b6a5c(0x4cb)],_0x40c37b=_0x34b1ff['algo'];_0x40c37b[_0x2b6a5c(0x2a6)]=_0xb95a96[_0x2b6a5c(0x1a0)]({'init':function(_0x2ff8c7,_0x3a839f){var _0x23f1b4=_0x2b6a5c;_0x2ff8c7=this[_0x23f1b4(0x304)]=new _0x2ff8c7[(_0x23f1b4(0x1af))](),typeof _0x3a839f==_0x23f1b4(0x4b2)&&(_0x3a839f=_0x3a5a2e[_0x23f1b4(0x42a)](_0x3a839f));var _0x1fb323=_0x2ff8c7[_0x23f1b4(0x2c6)],_0x37f131=_0x1fb323*0x4;_0x3a839f[_0x23f1b4(0x4ca)]>_0x37f131&&(_0x3a839f=_0x2ff8c7[_0x23f1b4(0x466)](_0x3a839f)),_0x3a839f[_0x23f1b4(0x24a)]();for(var _0x34594c=this[_0x23f1b4(0x275)]=_0x3a839f['clone'](),_0x1c8b84=this[_0x23f1b4(0x263)]=_0x3a839f[_0x23f1b4(0x316)](),_0x178ae7=_0x34594c[_0x23f1b4(0x29b)],_0x2a6fc0=_0x1c8b84['words'],_0x560e4c=0x0;_0x560e4c<_0x1fb323;_0x560e4c++)_0x178ae7[_0x560e4c]^=0x5c5c5c5c,_0x2a6fc0[_0x560e4c]^=0x36363636;_0x34594c[_0x23f1b4(0x4ca)]=_0x1c8b84['sigBytes']=_0x37f131,this[_0x23f1b4(0x378)]();},'reset':function(){var _0x29de08=_0x2b6a5c,_0x3b83c0=this[_0x29de08(0x304)];_0x3b83c0[_0x29de08(0x378)](),_0x3b83c0[_0x29de08(0x220)](this[_0x29de08(0x263)]);},'update':function(_0xe1e203){var _0x44f73c=_0x2b6a5c;return this[_0x44f73c(0x304)][_0x44f73c(0x220)](_0xe1e203),this;},'finalize':function(_0x258a4c){var _0x47498f=_0x2b6a5c,_0x560e0d=this['_hasher'],_0x1b820c=_0x560e0d[_0x47498f(0x466)](_0x258a4c);_0x560e0d[_0x47498f(0x378)]();var _0x1a4d7e=_0x560e0d['finalize'](this[_0x47498f(0x275)][_0x47498f(0x316)]()[_0x47498f(0x26d)](_0x1b820c));return _0x1a4d7e;}});}());}));}(Ce)),Ce[_0x563a22(0x434)];}var Mi=Ee[_0x6122a6(0x434)],et;function Nt(){return et||(et=0x1,function(_0x1ddbb4,_0x50832a){(function(_0x427445,_0x179097,_0x48e654){var _0x4a387e=_0x726b;_0x1ddbb4[_0x4a387e(0x434)]=_0x179097(Q(),Pi(),wi());}(Mi,function(_0xc8a744){var _0x50020f=_0x726b;return(function(){var _0x10c20f=_0x726b,_0x43d6a6=_0xc8a744,_0x13a5cd=_0x43d6a6['lib'],_0x3e762c=_0x13a5cd[_0x10c20f(0x2a1)],_0x2cb857=_0x13a5cd[_0x10c20f(0x236)],_0x576743=_0x43d6a6[_0x10c20f(0x4a7)],_0x3ab003=_0x576743['MD5'],_0x16ed73=_0x576743[_0x10c20f(0x48e)]=_0x3e762c[_0x10c20f(0x1a0)]({'cfg':_0x3e762c['extend']({'keySize':0x80/0x20,'hasher':_0x3ab003,'iterations':0x1}),'init':function(_0x59fd0a){var _0x29db48=_0x10c20f;this[_0x29db48(0x449)]=this['cfg'][_0x29db48(0x1a0)](_0x59fd0a);},'compute':function(_0x595241,_0x311dc6){var _0x2691b9=_0x10c20f;for(var _0x393146,_0x1a77b0=this[_0x2691b9(0x449)],_0x4b3e8c=_0x1a77b0['hasher'][_0x2691b9(0x2f0)](),_0x47f8fc=_0x2cb857['create'](),_0x1dd6e8=_0x47f8fc[_0x2691b9(0x29b)],_0x3f4bc9=_0x1a77b0[_0x2691b9(0x406)],_0x4ac300=_0x1a77b0['iterations'];_0x1dd6e8[_0x2691b9(0x254)]<_0x3f4bc9;){_0x393146&&_0x4b3e8c[_0x2691b9(0x220)](_0x393146),_0x393146=_0x4b3e8c[_0x2691b9(0x220)](_0x595241)[_0x2691b9(0x466)](_0x311dc6),_0x4b3e8c[_0x2691b9(0x378)]();for(var _0x5377a2=0x1;_0x5377a2<_0x4ac300;_0x5377a2++)_0x393146=_0x4b3e8c['finalize'](_0x393146),_0x4b3e8c['reset']();_0x47f8fc[_0x2691b9(0x26d)](_0x393146);}return _0x47f8fc[_0x2691b9(0x4ca)]=_0x3f4bc9*0x4,_0x47f8fc;}});_0x43d6a6[_0x10c20f(0x48e)]=function(_0x2c2065,_0x4d5a04,_0x2bde87){var _0x5a1a11=_0x10c20f;return _0x16ed73[_0x5a1a11(0x2f0)](_0x2bde87)[_0x5a1a11(0x270)](_0x2c2065,_0x4d5a04);};}()),_0xc8a744[_0x50020f(0x48e)];}));}(Ee)),Ee['exports'];}var Te={'exports':{}},xi=Te['exports'],tt;function Dt(){var _0xcde6f=_0x6122a6;return tt||(tt=0x1,function(_0x3d834c,_0x5dd59f){(function(_0x565b86,_0x3aa738,_0x3ea56a){var _0x4f46dc=_0x726b;_0x3d834c[_0x4f46dc(0x434)]=_0x3aa738(Q(),Nt());}(xi,function(_0x3a7be2){var _0x4b266c=_0x726b;_0x3a7be2[_0x4b266c(0x27a)]['Cipher']||function(_0x2ce59e){var _0xb50977=_0x4b266c,_0x133505=_0x3a7be2,_0x21e8b6=_0x133505[_0xb50977(0x27a)],_0x3d23f0=_0x21e8b6[_0xb50977(0x2a1)],_0x5ef540=_0x21e8b6[_0xb50977(0x236)],_0x28d231=_0x21e8b6[_0xb50977(0x370)],_0x408d48=_0x133505[_0xb50977(0x4d5)];_0x408d48['Utf8'];var _0x2ad5b2=_0x408d48[_0xb50977(0x2bc)],_0x289754=_0x133505[_0xb50977(0x4a7)],_0x9e29b2=_0x289754['EvpKDF'],_0x463f60=_0x21e8b6['Cipher']=_0x28d231['extend']({'cfg':_0x3d23f0[_0xb50977(0x1a0)](),'createEncryptor':function(_0x4168ea,_0xc337d2){var _0xc8c99a=_0xb50977;return this[_0xc8c99a(0x2f0)](this[_0xc8c99a(0x493)],_0x4168ea,_0xc337d2);},'createDecryptor':function(_0x5eab7d,_0x212a2c){var _0x205a6a=_0xb50977;return this[_0x205a6a(0x2f0)](this[_0x205a6a(0x239)],_0x5eab7d,_0x212a2c);},'init':function(_0x43ac8a,_0xc288fc,_0x599098){var _0x32be32=_0xb50977;this['cfg']=this[_0x32be32(0x449)]['extend'](_0x599098),this[_0x32be32(0x24b)]=_0x43ac8a,this[_0x32be32(0x3a5)]=_0xc288fc,this['reset']();},'reset':function(){var _0x325d65=_0xb50977;_0x28d231['reset'][_0x325d65(0x28c)](this),this['_doReset']();},'process':function(_0x1dfcc7){var _0x215b57=_0xb50977;return this[_0x215b57(0x490)](_0x1dfcc7),this['_process']();},'finalize':function(_0x1e83fb){var _0x3495d7=_0xb50977;_0x1e83fb&&this[_0x3495d7(0x490)](_0x1e83fb);var _0x4d183e=this[_0x3495d7(0x397)]();return _0x4d183e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x289132(_0x328668){var _0x40a86f=_0x726b;return typeof _0x328668==_0x40a86f(0x4b2)?_0x552469:_0x196b2a;}return function(_0x4eeb7d){return{'encrypt':function(_0x100b91,_0x3a14fa,_0x5b8e06){var _0x484ff1=_0x726b;return _0x289132(_0x3a14fa)[_0x484ff1(0x2c1)](_0x4eeb7d,_0x100b91,_0x3a14fa,_0x5b8e06);},'decrypt':function(_0x2387e2,_0xe6894d,_0x5f1156){var _0x4f7834=_0x726b;return _0x289132(_0xe6894d)[_0x4f7834(0x16a)](_0x4eeb7d,_0x2387e2,_0xe6894d,_0x5f1156);}};};}())});_0x21e8b6[_0xb50977(0x460)]=_0x463f60['extend']({'_doFinalize':function(){var _0x15a534=_0xb50977,_0x2cc82a=this[_0x15a534(0x195)](!0x0);return _0x2cc82a;},'blockSize':0x1});var _0x3b1c2d=_0x133505[_0xb50977(0x26c)]={},_0x2ce394=_0x21e8b6[_0xb50977(0x3d6)]=_0x3d23f0[_0xb50977(0x1a0)]({'createEncryptor':function(_0x29fc,_0x383613){var _0x1aca57=_0xb50977;return this[_0x1aca57(0x199)][_0x1aca57(0x2f0)](_0x29fc,_0x383613);},'createDecryptor':function(_0x409cfd,_0x40c055){var _0x1f6dc7=_0xb50977;return this[_0x1f6dc7(0x2d2)]['create'](_0x409cfd,_0x40c055);},'init':function(_0x3bf7e9,_0x46dd84){var _0x100c9a=_0xb50977;this[_0x100c9a(0x473)]=_0x3bf7e9,this[_0x100c9a(0x428)]=_0x46dd84;}}),_0xc9d035=_0x3b1c2d['CBC']=(function(){var _0x58457b=_0xb50977,_0x5edc0e=_0x2ce394[_0x58457b(0x1a0)]();_0x5edc0e[_0x58457b(0x199)]=_0x5edc0e[_0x58457b(0x1a0)]({'processBlock':function(_0x336133,_0xd0abf5){var _0x31ff00=_0x58457b,_0x17199e=this[_0x31ff00(0x473)],_0x35aeed=_0x17199e[_0x31ff00(0x2c6)];_0x10c87b[_0x31ff00(0x28c)](this,_0x336133,_0xd0abf5,_0x35aeed),_0x17199e[_0x31ff00(0x2ce)](_0x336133,_0xd0abf5),this['_prevBlock']=_0x336133['slice'](_0xd0abf5,_0xd0abf5+_0x35aeed);}}),_0x5edc0e['Decryptor']=_0x5edc0e[_0x58457b(0x1a0)]({'processBlock':function(_0x24fa6c,_0x55ba80){var _0x420f32=_0x58457b,_0x32fbeb=this['_cipher'],_0x53e010=_0x32fbeb[_0x420f32(0x2c6)],_0x84efbf=_0x24fa6c[_0x420f32(0x24d)](_0x55ba80,_0x55ba80+_0x53e010);_0x32fbeb[_0x420f32(0x1b4)](_0x24fa6c,_0x55ba80),_0x10c87b['call'](this,_0x24fa6c,_0x55ba80,_0x53e010),this[_0x420f32(0x167)]=_0x84efbf;}});function _0x10c87b(_0x125dee,_0x5a0113,_0x4128a4){var _0x145ea8=_0x58457b,_0x166879,_0x4e2d60=this['_iv'];_0x4e2d60?(_0x166879=_0x4e2d60,this[_0x145ea8(0x428)]=_0x2ce59e):_0x166879=this[_0x145ea8(0x167)];for(var _0x12ac30=0x0;_0x12ac30<_0x4128a4;_0x12ac30++)_0x125dee[_0x5a0113+_0x12ac30]^=_0x166879[_0x12ac30];}return _0x5edc0e;}()),_0x5bee56=_0x133505[_0xb50977(0x33b)]={},_0x1797a2=_0x5bee56[_0xb50977(0x46f)]={'pad':function(_0x546146,_0x4bd89b){var _0x3486f1=_0xb50977;for(var _0x1f143a=_0x4bd89b*0x4,_0x3de44d=_0x1f143a-_0x546146[_0x3486f1(0x4ca)]%_0x1f143a,_0x2f2039=_0x3de44d<<0x18|_0x3de44d<<0x10|_0x3de44d<<0x8|_0x3de44d,_0x3e64c2=[],_0x152564=0x0;_0x152564<_0x3de44d;_0x152564+=0x4)_0x3e64c2['push'](_0x2f2039);var _0x3ca221=_0x5ef540[_0x3486f1(0x2f0)](_0x3e64c2,_0x3de44d);_0x546146[_0x3486f1(0x26d)](_0x3ca221);},'unpad':function(_0x58d337){var _0x2f5c54=_0xb50977,_0x2d0606=_0x58d337[_0x2f5c54(0x29b)][_0x58d337[_0x2f5c54(0x4ca)]-0x1>>>0x2]&0xff;_0x58d337[_0x2f5c54(0x4ca)]-=_0x2d0606;}};_0x21e8b6[_0xb50977(0x198)]=_0x463f60[_0xb50977(0x1a0)]({'cfg':_0x463f60['cfg'][_0xb50977(0x1a0)]({'mode':_0xc9d035,'padding':_0x1797a2}),'reset':function(){var _0x460145=_0xb50977,_0x12a4a2;_0x463f60[_0x460145(0x378)][_0x460145(0x28c)](this);var _0x1be0d4=this[_0x460145(0x449)],_0x41d339=_0x1be0d4['iv'],_0x1f5e21=_0x1be0d4[_0x460145(0x26c)];this[_0x460145(0x24b)]==this[_0x460145(0x493)]?_0x12a4a2=_0x1f5e21['createEncryptor']:(_0x12a4a2=_0x1f5e21['createDecryptor'],this['_minBufferSize']=0x1),this[_0x460145(0x19e)]&&this[_0x460145(0x19e)][_0x460145(0x444)]==_0x12a4a2?this[_0x460145(0x19e)][_0x460145(0x1af)](this,_0x41d339&&_0x41d339['words']):(this['_mode']=_0x12a4a2[_0x460145(0x28c)](_0x1f5e21,this,_0x41d339&&_0x41d339['words']),this[_0x460145(0x19e)][_0x460145(0x444)]=_0x12a4a2);},'_doProcessBlock':function(_0x33e38f,_0x106866){var _0x8bcad=_0xb50977;this[_0x8bcad(0x19e)]['processBlock'](_0x33e38f,_0x106866);},'_doFinalize':function(){var _0x523652=_0xb50977,_0x5ac55e,_0x3df2f2=this[_0x523652(0x449)][_0x523652(0x487)];return this['_xformMode']==this[_0x523652(0x493)]?(_0x3df2f2['pad'](this[_0x523652(0x2c2)],this['blockSize']),_0x5ac55e=this[_0x523652(0x195)](!0x0)):(_0x5ac55e=this[_0x523652(0x195)](!0x0),_0x3df2f2[_0x523652(0x453)](_0x5ac55e)),_0x5ac55e;},'blockSize':0x80/0x20});var _0x419e01=_0x21e8b6[_0xb50977(0x367)]=_0x3d23f0[_0xb50977(0x1a0)]({'init':function(_0x577234){var _0x3300f4=_0xb50977;this[_0x3300f4(0x323)](_0x577234);},'toString':function(_0x423c5a){var _0x34d1fd=_0xb50977;return(_0x423c5a||this[_0x34d1fd(0x247)])[_0x34d1fd(0x355)](this);}}),_0x464e1f=_0x133505[_0xb50977(0x4d0)]={},_0x231a9e=_0x464e1f[_0xb50977(0x17e)]={'stringify':function(_0x1fdb7c){var _0x3c1f53=_0xb50977,_0x48545b,_0x5026a7=_0x1fdb7c[_0x3c1f53(0x1ce)],_0x2ec7b9=_0x1fdb7c[_0x3c1f53(0x425)];return _0x2ec7b9?_0x48545b=_0x5ef540[_0x3c1f53(0x2f0)]([0x53616c74,0x65645f5f])['concat'](_0x2ec7b9)['concat'](_0x5026a7):_0x48545b=_0x5026a7,_0x48545b[_0x3c1f53(0x41a)](_0x2ad5b2);},'parse':function(_0x47273d){var _0x174359=_0xb50977,_0x5cee74,_0x2d7090=_0x2ad5b2['parse'](_0x47273d),_0x5e91ae=_0x2d7090[_0x174359(0x29b)];return _0x5e91ae[0x0]==0x53616c74&&_0x5e91ae[0x1]==0x65645f5f&&(_0x5cee74=_0x5ef540[_0x174359(0x2f0)](_0x5e91ae[_0x174359(0x24d)](0x2,0x4)),_0x5e91ae[_0x174359(0x4af)](0x0,0x4),_0x2d7090[_0x174359(0x4ca)]-=0x10),_0x419e01[_0x174359(0x2f0)]({'ciphertext':_0x2d7090,'salt':_0x5cee74});}},_0x196b2a=_0x21e8b6[_0xb50977(0x46a)]=_0x3d23f0[_0xb50977(0x1a0)]({'cfg':_0x3d23f0[_0xb50977(0x1a0)]({'format':_0x231a9e}),'encrypt':function(_0xc9826f,_0x58411b,_0x5937d4,_0x503260){var _0xdac0ac=_0xb50977;_0x503260=this['cfg']['extend'](_0x503260);var _0x35406c=_0xc9826f[_0xdac0ac(0x39e)](_0x5937d4,_0x503260),_0x11f281=_0x35406c['finalize'](_0x58411b),_0x430669=_0x35406c[_0xdac0ac(0x449)];return _0x419e01['create']({'ciphertext':_0x11f281,'key':_0x5937d4,'iv':_0x430669['iv'],'algorithm':_0xc9826f,'mode':_0x430669['mode'],'padding':_0x430669[_0xdac0ac(0x487)],'blockSize':_0xc9826f[_0xdac0ac(0x2c6)],'formatter':_0x503260[_0xdac0ac(0x4d0)]});},'decrypt':function(_0x505cc8,_0x2190fb,_0x426758,_0x474b29){var _0x2c810e=_0xb50977;_0x474b29=this[_0x2c810e(0x449)][_0x2c810e(0x1a0)](_0x474b29),_0x2190fb=this[_0x2c810e(0x1c3)](_0x2190fb,_0x474b29[_0x2c810e(0x4d0)]);var _0x500d7d=_0x505cc8[_0x2c810e(0x4c8)](_0x426758,_0x474b29)[_0x2c810e(0x466)](_0x2190fb['ciphertext']);return _0x500d7d;},'_parse':function(_0x2c123d,_0x386543){var _0x3ed3ca=_0xb50977;return typeof _0x2c123d==_0x3ed3ca(0x4b2)?_0x386543['parse'](_0x2c123d,this):_0x2c123d;}}),_0x17e194=_0x133505[_0xb50977(0x3f6)]={},_0x170418=_0x17e194[_0xb50977(0x17e)]={'execute':function(_0x541579,_0xf82692,_0x43abc8,_0x278046,_0x226db6){var _0x304788=_0xb50977;if(_0x278046||(_0x278046=_0x5ef540[_0x304788(0x37f)](0x40/0x8)),_0x226db6)var _0x358e60=_0x9e29b2[_0x304788(0x2f0)]({'keySize':_0xf82692+_0x43abc8,'hasher':_0x226db6})['compute'](_0x541579,_0x278046);else var _0x358e60=_0x9e29b2[_0x304788(0x2f0)]({'keySize':_0xf82692+_0x43abc8})[_0x304788(0x270)](_0x541579,_0x278046);var _0x11e310=_0x5ef540[_0x304788(0x2f0)](_0x358e60['words'][_0x304788(0x24d)](_0xf82692),_0x43abc8*0x4);return _0x358e60[_0x304788(0x4ca)]=_0xf82692*0x4,_0x419e01['create']({'key':_0x358e60,'iv':_0x11e310,'salt':_0x278046});}},_0x552469=_0x21e8b6['PasswordBasedCipher']=_0x196b2a[_0xb50977(0x1a0)]({'cfg':_0x196b2a['cfg']['extend']({'kdf':_0x170418}),'encrypt':function(_0x5ec0a3,_0x43acc6,_0x1262af,_0x21c0ec){var _0x163aba=_0xb50977;_0x21c0ec=this['cfg'][_0x163aba(0x1a0)](_0x21c0ec);var _0x10edb9=_0x21c0ec['kdf'][_0x163aba(0x289)](_0x1262af,_0x5ec0a3[_0x163aba(0x406)],_0x5ec0a3[_0x163aba(0x1c7)],_0x21c0ec['salt'],_0x21c0ec['hasher']);_0x21c0ec['iv']=_0x10edb9['iv'];var _0x2a9072=_0x196b2a[_0x163aba(0x2c1)][_0x163aba(0x28c)](this,_0x5ec0a3,_0x43acc6,_0x10edb9[_0x163aba(0x419)],_0x21c0ec);return _0x2a9072[_0x163aba(0x323)](_0x10edb9),_0x2a9072;},'decrypt':function(_0xe66c08,_0x109409,_0x2c5ee2,_0x2f9702){var _0xcd7a74=_0xb50977;_0x2f9702=this['cfg'][_0xcd7a74(0x1a0)](_0x2f9702),_0x109409=this[_0xcd7a74(0x1c3)](_0x109409,_0x2f9702['format']);var _0x2390e7=_0x2f9702['kdf'][_0xcd7a74(0x289)](_0x2c5ee2,_0xe66c08['keySize'],_0xe66c08[_0xcd7a74(0x1c7)],_0x109409[_0xcd7a74(0x425)],_0x2f9702[_0xcd7a74(0x204)]);_0x2f9702['iv']=_0x2390e7['iv'];var _0x769bfd=_0x196b2a['decrypt'][_0xcd7a74(0x28c)](this,_0xe66c08,_0x109409,_0x2390e7[_0xcd7a74(0x419)],_0x2f9702);return _0x769bfd;}});}();}));}(Te)),Te[_0xcde6f(0x434)];}var ki=fe[_0x6122a6(0x434)],it;function Hi(){var _0x2ab488=_0x6122a6;return it||(it=0x1,function(_0x7497f1,_0x324fd3){(function(_0x4092b2,_0x56bc74,_0x459353){var _0x5f3752=_0x726b;_0x7497f1[_0x5f3752(0x434)]=_0x56bc74(Q(),yt(),Ui(),Nt(),Dt());}(ki,function(_0x805a14){var _0x491cc9=_0x726b;return(function(){var _0x406f25=_0x726b,_0x358376=_0x805a14,_0x3bc3cc=_0x358376[_0x406f25(0x27a)],_0x5f4ce0=_0x3bc3cc[_0x406f25(0x198)],_0x203797=_0x358376[_0x406f25(0x4a7)],_0x2d65a6=[],_0x292128=[],_0x39f5d1=[],_0x567e21=[],_0x5088d2=[],_0x5462fb=[],_0x1c9950=[],_0x500f54=[],_0x20fd7a=[],_0x41bd08=[];(function(){for(var _0x195273=[],_0x47a410=0x0;_0x47a410<0x100;_0x47a410++)_0x47a410<0x80?_0x195273[_0x47a410]=_0x47a410<<0x1:_0x195273[_0x47a410]=_0x47a410<<0x1^0x11b;for(var _0x4492cd=0x0,_0x553204=0x0,_0x47a410=0x0;_0x47a410<0x100;_0x47a410++){var _0x267873=_0x553204^_0x553204<<0x1^_0x553204<<0x2^_0x553204<<0x3^_0x553204<<0x4;_0x267873=_0x267873>>>0x8^_0x267873&0xff^0x63,_0x2d65a6[_0x4492cd]=_0x267873,_0x292128[_0x267873]=_0x4492cd;var _0x4f168f=_0x195273[_0x4492cd],_0x13073b=_0x195273[_0x4f168f],_0x5e7fea=_0x195273[_0x13073b],_0x5137b3=_0x195273[_0x267873]*0x101^_0x267873*0x1010100;_0x39f5d1[_0x4492cd]=_0x5137b3<<0x18|_0x5137b3>>>0x8,_0x567e21[_0x4492cd]=_0x5137b3<<0x10|_0x5137b3>>>0x10,_0x5088d2[_0x4492cd]=_0x5137b3<<0x8|_0x5137b3>>>0x18,_0x5462fb[_0x4492cd]=_0x5137b3;var _0x5137b3=_0x5e7fea*0x1010101^_0x13073b*0x10001^_0x4f168f*0x101^_0x4492cd*0x1010100;_0x1c9950[_0x267873]=_0x5137b3<<0x18|_0x5137b3>>>0x8,_0x500f54[_0x267873]=_0x5137b3<<0x10|_0x5137b3>>>0x10,_0x20fd7a[_0x267873]=_0x5137b3<<0x8|_0x5137b3>>>0x18,_0x41bd08[_0x267873]=_0x5137b3,_0x4492cd?(_0x4492cd=_0x4f168f^_0x195273[_0x195273[_0x195273[_0x5e7fea^_0x4f168f]]],_0x553204^=_0x195273[_0x195273[_0x553204]]):_0x4492cd=_0x553204=0x1;}}());var _0x495062=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5a91d9=_0x203797['AES']=_0x5f4ce0[_0x406f25(0x1a0)]({'_doReset':function(){var _0x37dfc3=_0x406f25,_0x20d681;if(!(this[_0x37dfc3(0x4d8)]&&this[_0x37dfc3(0x284)]===this[_0x37dfc3(0x3a5)])){for(var _0x47b4d1=this['_keyPriorReset']=this[_0x37dfc3(0x3a5)],_0x3df69c=_0x47b4d1[_0x37dfc3(0x29b)],_0x45787b=_0x47b4d1[_0x37dfc3(0x4ca)]/0x4,_0x2d46d5=this[_0x37dfc3(0x4d8)]=_0x45787b+0x6,_0xc525c7=(_0x2d46d5+0x1)*0x4,_0x4027b3=this[_0x37dfc3(0x387)]=[],_0x32aae9=0x0;_0x32aae9<_0xc525c7;_0x32aae9++)_0x32aae9<_0x45787b?_0x4027b3[_0x32aae9]=_0x3df69c[_0x32aae9]:(_0x20d681=_0x4027b3[_0x32aae9-0x1],_0x32aae9%_0x45787b?_0x45787b>0x6&&_0x32aae9%_0x45787b==0x4&&(_0x20d681=_0x2d65a6[_0x20d681>>>0x18]<<0x18|_0x2d65a6[_0x20d681>>>0x10&0xff]<<0x10|_0x2d65a6[_0x20d681>>>0x8&0xff]<<0x8|_0x2d65a6[_0x20d681&0xff]):(_0x20d681=_0x20d681<<0x8|_0x20d681>>>0x18,_0x20d681=_0x2d65a6[_0x20d681>>>0x18]<<0x18|_0x2d65a6[_0x20d681>>>0x10&0xff]<<0x10|_0x2d65a6[_0x20d681>>>0x8&0xff]<<0x8|_0x2d65a6[_0x20d681&0xff],_0x20d681^=_0x495062[_0x32aae9/_0x45787b|0x0]<<0x18),_0x4027b3[_0x32aae9]=_0x4027b3[_0x32aae9-_0x45787b]^_0x20d681);for(var _0x3bd452=this[_0x37dfc3(0x2c5)]=[],_0x3f6e33=0x0;_0x3f6e33<_0xc525c7;_0x3f6e33++){var _0x32aae9=_0xc525c7-_0x3f6e33;if(_0x3f6e33%0x4)var _0x20d681=_0x4027b3[_0x32aae9];else var _0x20d681=_0x4027b3[_0x32aae9-0x4];_0x3f6e33<0x4||_0x32aae9<=0x4?_0x3bd452[_0x3f6e33]=_0x20d681:_0x3bd452[_0x3f6e33]=_0x1c9950[_0x2d65a6[_0x20d681>>>0x18]]^_0x500f54[_0x2d65a6[_0x20d681>>>0x10&0xff]]^_0x20fd7a[_0x2d65a6[_0x20d681>>>0x8&0xff]]^_0x41bd08[_0x2d65a6[_0x20d681&0xff]];}}},'encryptBlock':function(_0x5467a6,_0x5ab25c){var _0x7b750a=_0x406f25;this[_0x7b750a(0x25a)](_0x5467a6,_0x5ab25c,this['_keySchedule'],_0x39f5d1,_0x567e21,_0x5088d2,_0x5462fb,_0x2d65a6);},'decryptBlock':function(_0x33ef87,_0x226746){var _0x3d6b64=_0x406f25,_0x3f3961=_0x33ef87[_0x226746+0x1];_0x33ef87[_0x226746+0x1]=_0x33ef87[_0x226746+0x3],_0x33ef87[_0x226746+0x3]=_0x3f3961,this['_doCryptBlock'](_0x33ef87,_0x226746,this[_0x3d6b64(0x2c5)],_0x1c9950,_0x500f54,_0x20fd7a,_0x41bd08,_0x292128);var _0x3f3961=_0x33ef87[_0x226746+0x1];_0x33ef87[_0x226746+0x1]=_0x33ef87[_0x226746+0x3],_0x33ef87[_0x226746+0x3]=_0x3f3961;},'_doCryptBlock':function(_0x34c6a9,_0x29a464,_0x5d6b75,_0x26d05f,_0x37161d,_0x422667,_0x268794,_0x851c57){var _0x2178b5=_0x406f25;for(var _0x406ace=this[_0x2178b5(0x4d8)],_0x299fd1=_0x34c6a9[_0x29a464]^_0x5d6b75[0x0],_0x176bfc=_0x34c6a9[_0x29a464+0x1]^_0x5d6b75[0x1],_0x4a8c43=_0x34c6a9[_0x29a464+0x2]^_0x5d6b75[0x2],_0x4ad07e=_0x34c6a9[_0x29a464+0x3]^_0x5d6b75[0x3],_0x42a195=0x4,_0x180c4a=0x1;_0x180c4a<_0x406ace;_0x180c4a++){var _0x3d9f61=_0x26d05f[_0x299fd1>>>0x18]^_0x37161d[_0x176bfc>>>0x10&0xff]^_0x422667[_0x4a8c43>>>0x8&0xff]^_0x268794[_0x4ad07e&0xff]^_0x5d6b75[_0x42a195++],_0x335f27=_0x26d05f[_0x176bfc>>>0x18]^_0x37161d[_0x4a8c43>>>0x10&0xff]^_0x422667[_0x4ad07e>>>0x8&0xff]^_0x268794[_0x299fd1&0xff]^_0x5d6b75[_0x42a195++],_0x1e957f=_0x26d05f[_0x4a8c43>>>0x18]^_0x37161d[_0x4ad07e>>>0x10&0xff]^_0x422667[_0x299fd1>>>0x8&0xff]^_0x268794[_0x176bfc&0xff]^_0x5d6b75[_0x42a195++],_0x24dcf6=_0x26d05f[_0x4ad07e>>>0x18]^_0x37161d[_0x299fd1>>>0x10&0xff]^_0x422667[_0x176bfc>>>0x8&0xff]^_0x268794[_0x4a8c43&0xff]^_0x5d6b75[_0x42a195++];_0x299fd1=_0x3d9f61,_0x176bfc=_0x335f27,_0x4a8c43=_0x1e957f,_0x4ad07e=_0x24dcf6;}var _0x3d9f61=(_0x851c57[_0x299fd1>>>0x18]<<0x18|_0x851c57[_0x176bfc>>>0x10&0xff]<<0x10|_0x851c57[_0x4a8c43>>>0x8&0xff]<<0x8|_0x851c57[_0x4ad07e&0xff])^_0x5d6b75[_0x42a195++],_0x335f27=(_0x851c57[_0x176bfc>>>0x18]<<0x18|_0x851c57[_0x4a8c43>>>0x10&0xff]<<0x10|_0x851c57[_0x4ad07e>>>0x8&0xff]<<0x8|_0x851c57[_0x299fd1&0xff])^_0x5d6b75[_0x42a195++],_0x1e957f=(_0x851c57[_0x4a8c43>>>0x18]<<0x18|_0x851c57[_0x4ad07e>>>0x10&0xff]<<0x10|_0x851c57[_0x299fd1>>>0x8&0xff]<<0x8|_0x851c57[_0x176bfc&0xff])^_0x5d6b75[_0x42a195++],_0x24dcf6=(_0x851c57[_0x4ad07e>>>0x18]<<0x18|_0x851c57[_0x299fd1>>>0x10&0xff]<<0x10|_0x851c57[_0x176bfc>>>0x8&0xff]<<0x8|_0x851c57[_0x4a8c43&0xff])^_0x5d6b75[_0x42a195++];_0x34c6a9[_0x29a464]=_0x3d9f61,_0x34c6a9[_0x29a464+0x1]=_0x335f27,_0x34c6a9[_0x29a464+0x2]=_0x1e957f,_0x34c6a9[_0x29a464+0x3]=_0x24dcf6;},'keySize':0x100/0x20});_0x358376[_0x406f25(0x3d4)]=_0x5f4ce0[_0x406f25(0x17d)](_0x5a91d9);}()),_0x805a14[_0x491cc9(0x3d4)];}));}(fe)),fe[_0x2ab488(0x434)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x6122a6(0x434)],rt;function Vi(){var _0x2ea755=_0x6122a6;return rt||(rt=0x1,function(_0x13b9bd,_0xd45e8e){(function(_0x476b2f,_0x2d0679){_0x13b9bd['exports']=_0x2d0679(Q());}(Fi,function(_0x55d8ac){var _0x12ad3e=_0x726b;return _0x55d8ac[_0x12ad3e(0x4d5)][_0x12ad3e(0x4cb)];}));}(be)),be[_0x2ea755(0x434)];}var Wi=Vi();const Yi=ve(Wi);var Re={'exports':{}},Gi=Re[_0x6122a6(0x434)],st;function Ki(){var _0x4f2b84=_0x6122a6;return st||(st=0x1,function(_0x75f745,_0x3a2603){(function(_0x11922c,_0x490908){var _0x2282f4=_0x726b;_0x75f745[_0x2282f4(0x434)]=_0x490908(Q());}(Gi,function(_0x1403ea){var _0x2063bc=_0x726b;return(function(){var _0x1bd540=_0x726b;if(typeof ArrayBuffer==_0x1bd540(0x3c4)){var _0x5688d2=_0x1403ea,_0x150df1=_0x5688d2[_0x1bd540(0x27a)],_0x7d1bff=_0x150df1[_0x1bd540(0x236)],_0x4c4655=_0x7d1bff[_0x1bd540(0x1af)],_0x449cb1=_0x7d1bff[_0x1bd540(0x1af)]=function(_0x470942){var _0x178669=_0x1bd540;if(_0x470942 instanceof ArrayBuffer&&(_0x470942=new Uint8Array(_0x470942)),(_0x470942 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x470942 instanceof Uint8ClampedArray||_0x470942 instanceof Int16Array||_0x470942 instanceof Uint16Array||_0x470942 instanceof Int32Array||_0x470942 instanceof Uint32Array||_0x470942 instanceof Float32Array||_0x470942 instanceof Float64Array)&&(_0x470942=new Uint8Array(_0x470942['buffer'],_0x470942[_0x178669(0x233)],_0x470942[_0x178669(0x2df)])),_0x470942 instanceof Uint8Array){for(var _0x177da3=_0x470942[_0x178669(0x2df)],_0x1af3f8=[],_0x5bc2c6=0x0;_0x5bc2c6<_0x177da3;_0x5bc2c6++)_0x1af3f8[_0x5bc2c6>>>0x2]|=_0x470942[_0x5bc2c6]<<0x18-_0x5bc2c6%0x4*0x8;_0x4c4655['call'](this,_0x1af3f8,_0x177da3);}else _0x4c4655[_0x178669(0x1bd)](this,arguments);};_0x449cb1[_0x1bd540(0x2e6)]=_0x7d1bff;}}()),_0x1403ea['lib'][_0x2063bc(0x236)];}));}(Re)),Re[_0x4f2b84(0x434)];}var qi=Ki();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x6122a6(0x434)],ot;function Xi(){return ot||(ot=0x1,function(_0x2ddf8d,_0x41d6d7){(function(_0x4a9b30,_0x27b206,_0x48334b){_0x2ddf8d['exports']=_0x27b206(Q(),Dt());}(Ji,function(_0x11bbe0){var _0x3f978c=_0x726b;return _0x11bbe0[_0x3f978c(0x33b)][_0x3f978c(0x485)]={'pad':function(){},'unpad':function(){}},_0x11bbe0[_0x3f978c(0x33b)][_0x3f978c(0x485)];}));}(Oe)),Oe['exports'];}var Zi=Xi();const Qi=ve(Zi);function en(_0x34b772,_0x37f985){var _0x50df19=_0x6122a6;const _0xe3d25b=_0x37f985-_0x34b772[_0x50df19(0x254)]%_0x37f985,_0x3206b8=String[_0x50df19(0x372)](_0xe3d25b)['repeat'](_0xe3d25b);return _0x34b772+_0x3206b8;}function tn(_0x2ce955,_0x1a78d0){var _0x286cc4=_0x6122a6;const _0x3894c6=zi[_0x286cc4(0x37f)](0x10),_0x1af902=en(_0x2ce955,0x10),_0x352ea9=ji[_0x286cc4(0x2c1)](Yi[_0x286cc4(0x42a)](_0x1af902),nt[_0x286cc4(0x42a)](_0x1a78d0),{'iv':_0x3894c6,'padding':Qi});return _0x3894c6[_0x286cc4(0x26d)](_0x352ea9[_0x286cc4(0x1ce)])['toString'](nt);}function nn(){var _0x2a0209=_0x6122a6;const _0x30cf76=Lt[_0x2a0209(0x4d7)]()['__Key__'];if(_0x30cf76){const _0x59bb23={'time':Math[_0x2a0209(0x189)](Date[_0x2a0209(0x1ff)]()/0x3e8),'domain':location[_0x2a0209(0x35d)]};return tn(JSON[_0x2a0209(0x355)](_0x59bb23),_0x30cf76);}}var rn=Object[_0x6122a6(0x333)],sn=(_0x1b7c18,_0x14be47,_0x2b6b48,_0x5e11e4)=>{var _0xa29b8f=_0x6122a6;for(var _0x162581=_0x5e11e4>0x1?void 0x0:_0x5e11e4?rn(_0x14be47,_0x2b6b48):_0x14be47,_0x3d6c18=_0x1b7c18[_0xa29b8f(0x254)]-0x1,_0xbeda12;_0x3d6c18>=0x0;_0x3d6c18--)(_0xbeda12=_0x1b7c18[_0x3d6c18])&&(_0x162581=_0xbeda12(_0x162581)||_0x162581);return _0x162581;},on=(_0x559e29,_0x1b16d5)=>(_0x107317,_0x2ce9fe)=>_0x1b16d5(_0x107317,_0x2ce9fe,_0x559e29);let Ne=class{constructor(_0x3cfdf3){var _0x1d68a9=_0x6122a6;this[_0x1d68a9(0x34a)]=_0x3cfdf3,this[_0x1d68a9(0x272)]();}[_0x6122a6(0x272)](){var _0x89c7e0=_0x6122a6;this[_0x89c7e0(0x34a)][_0x89c7e0(0x1cc)]({'interceptor':(_0x1eda5b,_0x2dc798)=>{var _0x10866a=_0x89c7e0;const _0x55bce8=_0x1eda5b[_0x10866a(0x42b)],_0xfc9c11=nn();return _0xfc9c11&&_0x55bce8[_0x10866a(0x472)](_0x10866a(0x430),_0xfc9c11),_0x2dc798(_0x1eda5b);}});}};function _0x726b(_0x27d687,_0x58a603){var _0xed106c=_0xed10();return _0x726b=function(_0x726bc6,_0x232438){_0x726bc6=_0x726bc6-0x160;var _0x2e261a=_0xed106c[_0x726bc6];return _0x2e261a;},_0x726b(_0x27d687,_0x58a603);}Ne=sn([on(0x0,a[_0x6122a6(0x43e)](K[_0x6122a6(0x385)]))],Ne);var an=Object[_0x6122a6(0x333)],cn=(_0x93f5d7,_0xa4ac83,_0x167ffa,_0x382bb1)=>{var _0x330dd4=_0x6122a6;for(var _0x3944aa=_0x382bb1>0x1?void 0x0:_0x382bb1?an(_0xa4ac83,_0x167ffa):_0xa4ac83,_0x4e7184=_0x93f5d7[_0x330dd4(0x254)]-0x1,_0x3f9eac;_0x4e7184>=0x0;_0x4e7184--)(_0x3f9eac=_0x93f5d7[_0x4e7184])&&(_0x3944aa=_0x3f9eac(_0x3944aa)||_0x3944aa);return _0x3944aa;},Le=(_0xd17b5c,_0x1b6bbf)=>(_0x45012b,_0x24e418)=>_0x1b6bbf(_0x45012b,_0x24e418,_0xd17b5c);exports[_0x6122a6(0x1ea)]=class extends a[_0x6122a6(0x404)]{constructor(_0x47f44e,_0xc00798,_0x10c318){var _0x505658=_0x6122a6;super(),A(this,_0x505658(0x45f),new $[(_0x505658(0x3b5))](null)),A(this,'unitInfo$',this[_0x505658(0x45f)][_0x505658(0x207)]()),(this[_0x505658(0x408)]=_0x47f44e,this[_0x505658(0x35f)]=_0xc00798,this['_localCacheService']=_0x10c318);}async[_0x6122a6(0x409)](_0x1848e3,_0x20e260,_0xed5678){var _0xf30a88=_0x6122a6;this[_0xf30a88(0x45f)][_0xf30a88(0x1f4)]({'unitId':_0x1848e3,'type':_0x20e260});let _0x4bc63d=null;switch(_0x20e260){case J['UNIVER_SHEET']:{_0x4bc63d=await this['_snapshotService']['loadSheet'](_0x1848e3,_0xed5678);break;}case J[_0xf30a88(0x216)]:{_0x4bc63d=await this['_snapshotService'][_0xf30a88(0x3ac)](_0x1848e3,_0xed5678);break;}default:{this[_0xf30a88(0x408)][_0xf30a88(0x2a4)]('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x4bc63d;}async[_0x6122a6(0x405)](_0x1869ca,_0x449b3a,_0x14c406){var _0x796e2b=_0x6122a6,_0x317c23;this[_0x796e2b(0x45f)][_0x796e2b(0x1f4)]({'unitId':_0x1869ca,'type':_0x449b3a,'subUnitId':_0x14c406});let _0x59d5a1=0x0;const _0x3245d1=await((_0x317c23=this[_0x796e2b(0x427)])==null?void 0x0:_0x317c23['loadOfflineData'](_0x1869ca));return _0x3245d1&&(_0x3245d1['awaitingChangeset']||_0x3245d1[_0x796e2b(0x27c)][_0x796e2b(0x254)]!==0x0)&&(_0x59d5a1=_0x3245d1['rev']),_0x59d5a1===0x0&&this[_0x796e2b(0x408)]['debug'](_0x796e2b(0x452),_0x796e2b(0x2c8)),this[_0x796e2b(0x409)](_0x1869ca,_0x449b3a,_0x59d5a1);}},exports[_0x6122a6(0x1ea)]=cn([Le(0x0,a[_0x6122a6(0x2a2)]),Le(0x1,a[_0x6122a6(0x43e)](p['SnapshotService'])),Le(0x2,a[_0x6122a6(0x240)](q))],exports[_0x6122a6(0x1ea)]);var hn=Object[_0x6122a6(0x333)],_n=(_0x122bec,_0x1d591e,_0x20d365,_0x18ef0c)=>{for(var _0x2696cc=_0x18ef0c>0x1?void 0x0:_0x18ef0c?hn(_0x1d591e,_0x20d365):_0x1d591e,_0xea4baa=_0x122bec['length']-0x1,_0x5ed313;_0xea4baa>=0x0;_0xea4baa--)(_0x5ed313=_0x122bec[_0xea4baa])&&(_0x2696cc=_0x5ed313(_0x2696cc)||_0x2696cc);return _0x2696cc;},we=(_0x57980f,_0x59534a)=>(_0xab9554,_0x302f77)=>_0x59534a(_0xab9554,_0x302f77,_0x57980f);const ln=[_0x6122a6(0x23d),_0x6122a6(0x3eb),_0x6122a6(0x40d),_0x6122a6(0x2d7),'image/bmp'],un=0x5*0x400*0x400,dn=_0x6122a6(0x321),vn='/universer-api/stream/file/upload',Sn=_0x6122a6(0x173),fn=_0x6122a6(0x38b);exports[_0x6122a6(0x3d0)]=class{constructor(_0x5df9d5,_0x13919e,_0x196ce0){var _0x1d340b=_0x6122a6;A(this,_0x1d340b(0x212),0x0),A(this,_0x1d340b(0x18a),new $[(_0x1d340b(0x495))]()),A(this,'change$',this[_0x1d340b(0x18a)]),A(this,_0x1d340b(0x3d7),new Map()),(this[_0x1d340b(0x34a)]=_0x5df9d5,this[_0x1d340b(0x23c)]=_0x13919e,this[_0x1d340b(0x36f)]=_0x196ce0);}['setWaitCount'](_0x1fc04b){var _0x5d8572=_0x6122a6;this['_waitCount']=_0x1fc04b,this[_0x5d8572(0x18a)][_0x5d8572(0x1f4)](_0x1fc04b);}['getImageSourceCache'](_0x24f66e,_0x368cdc){var _0x236171=_0x6122a6;if(_0x368cdc===z['ImageSourceType'][_0x236171(0x498)]){const _0x448602=new Image();return _0x448602['src']=_0x24f66e,_0x448602;}return this[_0x236171(0x3d7)]['get'](_0x24f66e);}[_0x6122a6(0x368)](_0x396b6c,_0x488ad9,_0x47120b){var _0x50098f=_0x6122a6;_0x488ad9===z[_0x50098f(0x229)]['BASE64']||_0x47120b==null||this[_0x50098f(0x3d7)]['set'](_0x396b6c,_0x47120b);}async[_0x6122a6(0x1d8)](_0x4324d8){var _0x21523a=_0x6122a6;try{const _0x690a45=this[_0x21523a(0x4dd)](this[_0x21523a(0x1b5)](),''+_0x4324d8),_0xd3a86c=(await this['_httpService'][_0x21523a(0x4c3)](_0x690a45))['body'];if(_0xd3a86c[_0x21523a(0x2a4)]&&_0xd3a86c[_0x21523a(0x2a4)]['code']===gt['OK']){const _0x4659ff=new URL(_0xd3a86c[_0x21523a(0x3dc)],this[_0x21523a(0x37e)]())[_0x21523a(0x41a)]();return Promise[_0x21523a(0x458)](_0x4659ff);}return Promise[_0x21523a(0x307)](_0xd3a86c[_0x21523a(0x2a4)]);}catch(_0x78d75a){return Promise['reject'](_0x78d75a);}}async[_0x6122a6(0x283)](_0x115f81){var _0x575f95=_0x6122a6;let _0x3c6f70='';if(!ln[_0x575f95(0x294)](_0x115f81[_0x575f95(0x258)]))return this[_0x575f95(0x2bd)](),Promise['reject'](new Error(z['ImageUploadStatusType'][_0x575f95(0x4a0)]));if(_0x115f81[_0x575f95(0x1c9)]>un)return this['_decreaseWaiting'](),Promise[_0x575f95(0x307)](new Error(z[_0x575f95(0x2c4)][_0x575f95(0x1cd)]));try{const _0x305309=new FormData();_0x305309[_0x575f95(0x43c)](_0x575f95(0x455),_0x115f81);const _0x28c755=this[_0x575f95(0x36f)]['getFocusedUnit'](),_0x31dc1b=_0x28c755==null?void 0x0:_0x28c755[_0x575f95(0x318)]();if(!_0x31dc1b)throw new Error('unitId\x20is\x20not\x20found');const _0x1fa753=this[_0x575f95(0x439)]()+_0x575f95(0x1e3)+_0x115f81[_0x575f95(0x1c9)]['toString']()+_0x575f95(0x2f7)+Et[_0x575f95(0x47d)]+_0x575f95(0x25f)+encodeURIComponent(_0x31dc1b),_0x26b3de={'body':_0x305309},_0x7feb03=(await this['_httpService'][_0x575f95(0x40a)](_0x1fa753,_0x26b3de))[_0x575f95(0x2bf)];if(typeof _0x7feb03[_0x575f95(0x3f5)]!=_0x575f95(0x4b2))return this['_decreaseWaiting'](),Promise[_0x575f95(0x307)](new Error(z[_0x575f95(0x2c4)][_0x575f95(0x22f)]));_0x3c6f70=_0x7feb03[_0x575f95(0x3f5)];}catch{return this[_0x575f95(0x2bd)](),Promise[_0x575f95(0x307)](new Error(z[_0x575f95(0x2c4)][_0x575f95(0x22f)]));}return new Promise((_0x3da6a0,_0x436a0d)=>{var _0x3214bb=_0x575f95;const _0x572d35=new FileReader();_0x572d35[_0x3214bb(0x492)](_0x115f81),_0x572d35[_0x3214bb(0x4d1)]=_0x5940b1=>{var _0x28019b=_0x3214bb,_0x2b7703;const _0x5dacd3=(_0x2b7703=_0x5940b1[_0x28019b(0x340)])==null?void 0x0:_0x2b7703['result'];if(_0x5dacd3==null){this[_0x28019b(0x2bd)](),_0x436a0d(new Error(z[_0x28019b(0x2c4)][_0x28019b(0x22f)]));return;}const _0x3f364d=a['Tools'][_0x28019b(0x373)](0x6);_0x3da6a0({'imageId':_0x3f364d,'imageSourceType':z[_0x28019b(0x229)][_0x28019b(0x215)],'source':_0x3c6f70,'base64Cache':_0x5dacd3,'status':z[_0x28019b(0x2c4)][_0x28019b(0x310)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x11d7a2=_0x6122a6,_0x1d5cc0,_0x2779e0;const _0x50fbac=this[_0x11d7a2(0x23c)][_0x11d7a2(0x3ae)](dn),_0x36ec79=this['_configService']['getConfig'](G);return(_0x2779e0=(_0x1d5cc0=_0x36ec79==null?void 0x0:_0x36ec79[_0x11d7a2(0x28b)])!=null?_0x1d5cc0:_0x50fbac)!=null?_0x2779e0:vn;}['_getSignURL'](){var _0x2872b1=_0x6122a6,_0x5b064a,_0x2df023;const _0x1e3c0d=this[_0x2872b1(0x23c)][_0x2872b1(0x3ae)](Sn),_0x2e508c=this[_0x2872b1(0x23c)]['getConfig'](G);return(_0x2df023=(_0x5b064a=_0x2e508c==null?void 0x0:_0x2e508c[_0x2872b1(0x30e)])!=null?_0x5b064a:_0x1e3c0d)!=null?_0x2df023:fn;}['_getDownloadEndpointURL'](){var _0x3d851c=_0x6122a6,_0x422dad;const _0x5c0b9a=this['_configService'][_0x3d851c(0x3ae)](G);return(_0x422dad=_0x5c0b9a==null?void 0x0:_0x5c0b9a[_0x3d851c(0x448)])!=null?_0x422dad:location['origin'];}[_0x6122a6(0x4dd)](_0x4e6307,_0x194377){var _0x10b372=_0x6122a6;return _0x4e6307[_0x10b372(0x205)](_0x10b372(0x2b1),_0x194377);}[_0x6122a6(0x2bd)](){var _0x2aa22e=_0x6122a6;this[_0x2aa22e(0x212)]-=0x1,this['_change$'][_0x2aa22e(0x1f4)](this[_0x2aa22e(0x212)]);}},exports[_0x6122a6(0x3d0)]=_n([we(0x0,a['Inject'](K[_0x6122a6(0x385)])),we(0x1,a[_0x6122a6(0x2a5)]),we(0x2,a[_0x6122a6(0x43e)](a['IUniverInstanceService']))],exports[_0x6122a6(0x3d0)]);var In=Object[_0x6122a6(0x333)],pn=(_0x19e365,_0x1216df,_0x59fb0,_0x34b309)=>{for(var _0x31a18c=_0x34b309>0x1?void 0x0:_0x34b309?In(_0x1216df,_0x59fb0):_0x1216df,_0x248fc6=_0x19e365['length']-0x1,_0x3d8d83;_0x248fc6>=0x0;_0x248fc6--)(_0x3d8d83=_0x19e365[_0x248fc6])&&(_0x31a18c=_0x3d8d83(_0x31a18c)||_0x31a18c);return _0x31a18c;},at=(_0x5b4133,_0x374329)=>(_0x2a2964,_0x2ab370)=>_0x374329(_0x2a2964,_0x2ab370,_0x5b4133);const gn=_0x6122a6(0x383);exports[_0x6122a6(0x480)]=class{constructor(_0x4ed588,_0x5595fb){var _0x1fb2f5=_0x6122a6;this[_0x1fb2f5(0x23c)]=_0x4ed588,this[_0x1fb2f5(0x2d8)]=_0x5595fb;}[_0x6122a6(0x324)](){var _0x50bee1=_0x6122a6,_0xe05d63,_0x44a67f;const _0x620e66=this[_0x50bee1(0x23c)][_0x50bee1(0x3ae)](Ve),_0x1a677f=this[_0x50bee1(0x23c)]['getConfig'](G);return(_0x44a67f=(_0xe05d63=_0x1a677f==null?void 0x0:_0x1a677f['authzUrl'])!=null?_0xe05d63:_0x620e66)!=null?_0x44a67f:gn;}async[_0x6122a6(0x22c)](_0x26feb7){var _0x2e57c5=_0x6122a6;const _0xb54d9=this[_0x2e57c5(0x324)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this[_0x2e57c5(0x2d8)][_0x2e57c5(0x4c3)](_0xb54d9,{'params':{'objectID':_0x26feb7['unitId'],'unitID':_0x26feb7['unitId']}}))[_0x2e57c5(0x2bf)][_0x2e57c5(0x3ea)][_0x2e57c5(0x243)](_0x41fa84=>({'objectId':_0x41fa84['id'],'name':_0x41fa84[_0x2e57c5(0x3dd)][_0x2e57c5(0x19d)],'metadata':{'icon':_0x41fa84[_0x2e57c5(0x3dd)]['avatar']},'label':_0x41fa84['subject'][_0x2e57c5(0x19d)],'objectType':a[_0x2e57c5(0x287)]['PERSON']})),'metadata':{},'type':a[_0x2e57c5(0x287)][_0x2e57c5(0x361)]}]};}},exports[_0x6122a6(0x480)]=pn([at(0x0,a[_0x6122a6(0x43e)](a['IConfigService'])),at(0x1,a[_0x6122a6(0x43e)](K[_0x6122a6(0x385)]))],exports[_0x6122a6(0x480)]);var En=Object['getOwnPropertyDescriptor'],mn=(_0x23fea0,_0x2ddc9d,_0x172f18,_0x1a905b)=>{var _0x57d23f=_0x6122a6;for(var _0xa8815e=_0x1a905b>0x1?void 0x0:_0x1a905b?En(_0x2ddc9d,_0x172f18):_0x2ddc9d,_0x4a5872=_0x23fea0[_0x57d23f(0x254)]-0x1,_0x5eed45;_0x4a5872>=0x0;_0x4a5872--)(_0x5eed45=_0x23fea0[_0x4a5872])&&(_0xa8815e=_0x5eed45(_0xa8815e)||_0xa8815e);return _0xa8815e;},le=(_0x541ff5,_0x40612d)=>(_0x583db6,_0x3533cf)=>_0x40612d(_0x583db6,_0x3533cf,_0x541ff5);let De=class extends a[_0x6122a6(0x404)]{constructor(_0x5100f4,_0x51be56,_0x295922,_0x2b1321,_0x40aeb9){var _0x41df11=_0x6122a6;super(),this['_injector']=_0x5100f4,this[_0x41df11(0x36f)]=_0x51be56,this['_permissionService']=_0x295922,this[_0x41df11(0x44c)]=_0x2b1321,this[_0x41df11(0x36e)]=_0x40aeb9,this['_initUnitPermissionChange'](),this['_initCloseConn']();}['_initCloseConn'](){var _0x2130f7=_0x6122a6;const _0x101e82=async _0x3df755=>{var _0x32225e=_0x726b;(await this['_collaborationSessionService']['requireSession'](_0x3df755))[_0x32225e(0x22d)][_0x32225e(0x211)](V[_0x32225e(0x21e)](_0x410d6f=>_0x410d6f['eventID']===p[_0x32225e(0x2b2)][_0x32225e(0x1db)]),V[_0x32225e(0x407)](this[_0x32225e(0x17f)]))[_0x32225e(0x3d3)](_0x339f65=>{var _0x3224f8=_0x32225e;const _0x39ba78=_0x339f65,{reason:_0x342601}=_0x39ba78[_0x3224f8(0x398)];this[_0x3224f8(0x36e)]['emitEvent']({'id':Z['CLOSE_ROOM'],'data':_0x342601}),this[_0x3224f8(0x203)][_0x3224f8(0x1ef)](new X['WorkbookEditablePermission'](_0x3df755)['id'],!0x1),this[_0x3224f8(0x44c)][_0x3224f8(0x4c5)](_0x3df755);});};$[_0x2130f7(0x193)](this[_0x2130f7(0x36f)][_0x2130f7(0x3a3)](a[_0x2130f7(0x209)]['UNIVER_SHEET']),this[_0x2130f7(0x36f)][_0x2130f7(0x3a3)](a[_0x2130f7(0x209)][_0x2130f7(0x216)]))[_0x2130f7(0x211)](V['map'](_0x461c13=>_0x461c13[_0x2130f7(0x318)]()),V[_0x2130f7(0x21e)](_0x8c687=>!a[_0x2130f7(0x4b9)](_0x8c687)),V['takeUntil'](this[_0x2130f7(0x17f)]))[_0x2130f7(0x3d3)](_0x59b3cf=>{_0x101e82(_0x59b3cf);});}[_0x6122a6(0x308)](){var _0x5e34e4=_0x6122a6;const _0x2d7807=async _0xfd98b7=>{var _0x262dc8=_0x726b;const _0x55c3c0=await this[_0x262dc8(0x44c)][_0x262dc8(0x27e)](_0xfd98b7),_0x203099=this['_injector']['get'](X['SheetPermissionInitController']);_0x55c3c0[_0x262dc8(0x22d)]['pipe'](V[_0x262dc8(0x21e)](_0x545e9e=>_0x545e9e[_0x262dc8(0x2fc)]===p['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),V[_0x262dc8(0x407)](this[_0x262dc8(0x17f)]))['subscribe'](_0x2aedf8=>{var _0x164fa3=_0x262dc8;const _0x2df97b=_0x2aedf8,{objectId:_0x6d2eff}=_0x2df97b[_0x164fa3(0x398)];_0x6d2eff===_0xfd98b7?_0x203099[_0x164fa3(0x303)](_0xfd98b7):_0x203099[_0x164fa3(0x3a0)](_0xfd98b7,_0x6d2eff);});};$[_0x5e34e4(0x193)](this[_0x5e34e4(0x36f)][_0x5e34e4(0x3a3)](a['UniverInstanceType'][_0x5e34e4(0x2d0)]))[_0x5e34e4(0x211)](V[_0x5e34e4(0x243)](_0x4a2fa1=>_0x4a2fa1[_0x5e34e4(0x318)]()),V[_0x5e34e4(0x21e)](_0x5cf14e=>!a['isInternalEditorID'](_0x5cf14e)),V[_0x5e34e4(0x407)](this[_0x5e34e4(0x17f)]))[_0x5e34e4(0x3d3)](_0x36ad3f=>{_0x2d7807(_0x36ad3f);});}};De=mn([le(0x0,a[_0x6122a6(0x43e)](a['Injector'])),le(0x1,a[_0x6122a6(0x43f)]),le(0x2,a[_0x6122a6(0x3f1)]),le(0x3,a['Inject'](exports[_0x6122a6(0x454)])),le(0x4,a[_0x6122a6(0x43e)](ee))],De);var Cn=Object['getOwnPropertyDescriptor'],Tn=(_0xc90f77,_0x1931f4,_0x4e323a,_0x4331c1)=>{var _0x3d2046=_0x6122a6;for(var _0x346c6b=_0x4331c1>0x1?void 0x0:_0x4331c1?Cn(_0x1931f4,_0x4e323a):_0x1931f4,_0x39464f=_0xc90f77[_0x3d2046(0x254)]-0x1,_0x254207;_0x39464f>=0x0;_0x39464f--)(_0x254207=_0xc90f77[_0x39464f])&&(_0x346c6b=_0x254207(_0x346c6b)||_0x346c6b);return _0x346c6b;},ct=(_0x18f209,_0x8e6460)=>(_0x196262,_0x5a9e4d)=>_0x8e6460(_0x196262,_0x5a9e4d,_0x18f209);exports['SnapshotServerOverHTTPService']=class{constructor(_0x4c4688,_0xab79d2){var _0x5244c3=_0x6122a6;this[_0x5244c3(0x23c)]=_0x4c4688,this[_0x5244c3(0x34a)]=_0xab79d2;}async['getUnitOnRev'](_0x3cb02b,_0x42a9d4){var _0x2e5a40=_0x6122a6,_0x1c38f1;const {unitID:_0x18b795,type:_0x39be1d,revision:_0x523fd=0x0}=_0x42a9d4,_0x363082=this[_0x2e5a40(0x16b)]()+'/'+_0x39be1d+_0x2e5a40(0x23b)+_0x18b795+_0x2e5a40(0x36d)+_0x523fd,_0x8626be=(await this[_0x2e5a40(0x34a)]['get'](_0x363082))[_0x2e5a40(0x2bf)],_0x4de584=(_0x1c38f1=_0x8626be['snapshot'])==null?void 0x0:_0x1c38f1[_0x2e5a40(0x25c)];if(_0x4de584){const _0x1970e8=_0x4de584==null?void 0x0:_0x4de584[_0x2e5a40(0x4c6)],_0x3dc0f6=p[_0x2e5a40(0x162)][_0x2e5a40(0x306)](p[_0x2e5a40(0x41b)](_0x1970e8));_0x4de584[_0x2e5a40(0x4c6)]=_0x3dc0f6,Object['entries'](_0x4de584[_0x2e5a40(0x277)])['forEach'](([,_0x4e2228])=>{var _0x375627=_0x2e5a40;const _0x389584=_0x4e2228[_0x375627(0x4c6)],_0x39adec=p['textEncoder'][_0x375627(0x306)](p[_0x375627(0x41b)](_0x389584));_0x4e2228[_0x375627(0x4c6)]=_0x39adec;});}return _0x8626be;}async[_0x6122a6(0x401)](_0x1ce998,_0x29066e){var _0x3aff0a=_0x6122a6;const {unitID:_0x3730cc,type:_0x5b56cf,blockID:_0x212e3c}=_0x29066e,_0x22b4c4=this[_0x3aff0a(0x25e)]()+'/'+_0x5b56cf+_0x3aff0a(0x23b)+_0x3730cc+_0x3aff0a(0x1de)+_0x212e3c;return(await this[_0x3aff0a(0x34a)][_0x3aff0a(0x4c3)](_0x22b4c4))['body'];}async['getDeserializedSheetBlock'](_0x4d95bc,_0x240536){var _0x26ed7c=_0x6122a6;const {unitID:_0x1593b3,type:_0x16d0a4,blockID:_0x3c15ee}=_0x240536,_0x77d280=this['_getAPIPrefix']()+_0x26ed7c(0x1de)+_0x16d0a4+_0x26ed7c(0x23b)+_0x1593b3+'/block/'+_0x3c15ee;return(await this[_0x26ed7c(0x34a)][_0x26ed7c(0x4c3)](_0x77d280))['body'];}async['fetchMissingChangesets'](_0x21db1e,_0x429240){var _0x50d6cf=_0x6122a6;const {unitID:_0x3828d9,type:_0x108cee,from:_0x38a1f9,to:_0xcf82f2}=_0x429240,_0x998848=this[_0x50d6cf(0x25e)]()+'/'+_0x108cee+'/unit/'+_0x3828d9+_0x50d6cf(0x3be)+_0x38a1f9+_0x50d6cf(0x376)+_0xcf82f2;return(await this[_0x50d6cf(0x34a)][_0x50d6cf(0x4c3)](_0x998848))[_0x50d6cf(0x2bf)];}[_0x6122a6(0x16b)](){var _0x31bc31=_0x6122a6,_0x24e5c8;return(_0x24e5c8=this[_0x31bc31(0x23c)]['getConfig'](lt))!=null?_0x24e5c8:this[_0x31bc31(0x25e)]();}[_0x6122a6(0x25e)](){var _0xdb5ecf=_0x6122a6,_0x57ac04,_0x4c37b8;const _0x1e73a0=this[_0xdb5ecf(0x23c)]['getConfig'](_t),_0x3afc36=this[_0xdb5ecf(0x23c)][_0xdb5ecf(0x3ae)](G);return(_0x4c37b8=(_0x57ac04=_0x3afc36==null?void 0x0:_0x3afc36['snapshotServerUrl'])!=null?_0x57ac04:_0x1e73a0)!=null?_0x4c37b8:wt;}async['getResourcesRequest'](_0x381c93,_0x1b453d){var _0x3b3dd3=_0x6122a6;const _0x29dda3=_0x3b3dd3(0x231)+_0x1b453d[_0x3b3dd3(0x258)]+_0x3b3dd3(0x23b)+_0x1b453d[_0x3b3dd3(0x298)]+_0x3b3dd3(0x4d9);return(await this[_0x3b3dd3(0x34a)][_0x3b3dd3(0x4c3)](_0x29dda3,{'params':{'resourceId':JSON[_0x3b3dd3(0x355)](_0x1b453d[_0x3b3dd3(0x1e1)])}}))[_0x3b3dd3(0x2bf)];}[_0x6122a6(0x3cc)](){var _0x2ddfe9=_0x6122a6;throw new Error(_0x2ddfe9(0x235));}[_0x6122a6(0x291)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x160c34=_0x6122a6;throw new Error(_0x160c34(0x235));}[_0x6122a6(0x33d)](){var _0x571137=_0x6122a6;throw new Error(_0x571137(0x235));}[_0x6122a6(0x256)](){var _0x4d77fb=_0x6122a6;throw new Error(_0x4d77fb(0x235));}[_0x6122a6(0x31c)](){var _0x5a36f5=_0x6122a6;throw new Error(_0x5a36f5(0x235));}},exports[_0x6122a6(0x187)]=Tn([ct(0x0,a[_0x6122a6(0x2a5)]),ct(0x1,a[_0x6122a6(0x43e)](K[_0x6122a6(0x385)]))],exports[_0x6122a6(0x187)]);var bn=Object[_0x6122a6(0x333)],Rn=(_0x3b443f,_0x4b9562,_0x4cd6f5,_0x91fe1c)=>{var _0x43bc3e=_0x6122a6;for(var _0x4ea999=_0x91fe1c>0x1?void 0x0:_0x91fe1c?bn(_0x4b9562,_0x4cd6f5):_0x4b9562,_0x5276ba=_0x3b443f[_0x43bc3e(0x254)]-0x1,_0x40ea7d;_0x5276ba>=0x0;_0x5276ba--)(_0x40ea7d=_0x3b443f[_0x5276ba])&&(_0x4ea999=_0x40ea7d(_0x4ea999)||_0x4ea999);return _0x4ea999;},ue=(_0x2f0ed2,_0x192f16)=>(_0x4e8c90,_0x5c7423)=>_0x192f16(_0x4e8c90,_0x5c7423,_0x2f0ed2);exports['CollaborativeUndoRedoService']=class extends a[_0x6122a6(0x3fa)]{constructor(_0x523c49,_0x7e5c03,_0x365226,_0x5ced0a,_0x52897f){var _0x4eb708=_0x6122a6;super(_0x523c49,_0x7e5c03,_0x365226),this[_0x4eb708(0x1e9)]=_0x5ced0a,this[_0x4eb708(0x408)]=_0x52897f;}[_0x6122a6(0x31d)](_0xc44101,_0x39ef5e){var _0x46b6c0=_0x6122a6;const _0x28e809=this['_getUndoStack'](_0xc44101);if(_0x28e809)try{const _0x3037d9=this[_0x46b6c0(0x4bf)](_0x28e809,_0x39ef5e);this[_0x46b6c0(0x3d1)](_0xc44101,_0x3037d9);}catch(_0x5341dd){this['_logService'][_0x46b6c0(0x2a4)](_0x46b6c0(0x2e9),_0x5341dd),this[_0x46b6c0(0x29d)](_0xc44101);}const _0x575673=this[_0x46b6c0(0x1f1)](_0xc44101);if(_0x575673)try{const _0x27aca6=this[_0x46b6c0(0x4bf)](_0x575673,_0x39ef5e);this[_0x46b6c0(0x17b)](_0xc44101,_0x27aca6);}catch(_0x3f718d){this[_0x46b6c0(0x408)][_0x46b6c0(0x2a4)](_0x3f718d),this['_clearRedo'](_0xc44101);}}[_0x6122a6(0x29d)](_0x2a9220){var _0x5b5298=_0x6122a6;const _0x2bf99d=this[_0x5b5298(0x3af)](_0x2a9220);_0x2bf99d&&(_0x2bf99d[_0x5b5298(0x254)]=0x0,this[_0x5b5298(0x432)]());}[_0x6122a6(0x422)](_0x2e7200){var _0x24d579=_0x6122a6;const _0x49fbcb=this['_getRedoStack'](_0x2e7200);_0x49fbcb&&(_0x49fbcb[_0x24d579(0x254)]=0x0,this[_0x24d579(0x432)]());}[_0x6122a6(0x3d1)](_0x4fdfd3,_0x1c84c7){var _0x286c4a=_0x6122a6;this[_0x286c4a(0x4b4)][_0x286c4a(0x472)](_0x4fdfd3,_0x1c84c7),this[_0x286c4a(0x432)]();}['_substituteRedoStack'](_0x22af3a,_0x19cc07){var _0x404db1=_0x6122a6;this[_0x404db1(0x429)][_0x404db1(0x472)](_0x22af3a,_0x19cc07),this['_updateStatus']();}[_0x6122a6(0x4bf)](_0x25c9c2,_0x3e834d){var _0x3820ce=_0x6122a6;const _0xeedaac=[];let _0x3c906b=_0x3e834d,_0x5c801a=_0x3e834d;for(let _0x35976f=_0x25c9c2['length']-0x1;_0x35976f>=0x0;_0x35976f--){const {unitID:_0x4a6b6b,undoMutations:_0x3388f2,redoMutations:_0x412a7b}=_0x25c9c2[_0x35976f],_0x358d9c=this[_0x3820ce(0x1e9)][_0x3820ce(0x421)](_0x3c906b,_0x3388f2),_0x3932e7=this[_0x3820ce(0x1e9)][_0x3820ce(0x421)](_0x5c801a,_0x412a7b);if(p[_0x3820ce(0x47e)](_0x358d9c)||p[_0x3820ce(0x47e)](_0x3932e7)){this[_0x3820ce(0x408)][_0x3820ce(0x2a4)](_0x3820ce(0x2e9),_0x3820ce(0x411),_0x358d9c,_0x3932e7);break;}_0x3c906b=_0x358d9c[_0x3820ce(0x3e1)],_0x5c801a=_0x3932e7[_0x3820ce(0x3e1)],_0xeedaac[_0x3820ce(0x1ad)]({'unitID':_0x4a6b6b,'undoMutations':_0x358d9c[_0x3820ce(0x259)],'redoMutations':_0x3932e7[_0x3820ce(0x259)]});}return _0xeedaac['reverse']();}},exports[_0x6122a6(0x39c)]=Rn([ue(0x0,a['IUniverInstanceService']),ue(0x1,a[_0x6122a6(0x352)]),ue(0x2,a[_0x6122a6(0x46b)]),ue(0x3,p[_0x6122a6(0x201)]),ue(0x4,a[_0x6122a6(0x2a2)])],exports['CollaborativeUndoRedoService']);var On=Object[_0x6122a6(0x2ed)],yn=Object['getOwnPropertyDescriptor'],Nn=(_0x29f251,_0x18893f,_0x4c770e)=>_0x18893f in _0x29f251?On(_0x29f251,_0x18893f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c770e}):_0x29f251[_0x18893f]=_0x4c770e,Dn=(_0x53bfd2,_0xd23488,_0xf517cc,_0x58b490)=>{var _0x42e6cf=_0x6122a6;for(var _0x301d1f=_0x58b490>0x1?void 0x0:_0x58b490?yn(_0xd23488,_0xf517cc):_0xd23488,_0x1e813b=_0x53bfd2[_0x42e6cf(0x254)]-0x1,_0x37c93c;_0x1e813b>=0x0;_0x1e813b--)(_0x37c93c=_0x53bfd2[_0x1e813b])&&(_0x301d1f=_0x37c93c(_0x301d1f)||_0x301d1f);return _0x301d1f;},Me=(_0x55f2e0,_0x47e27d)=>(_0x232712,_0x53e70a)=>_0x47e27d(_0x232712,_0x53e70a,_0x55f2e0),Un=(_0xb11739,_0x68d18d,_0xeddaa5)=>Nn(_0xb11739,_0x68d18d+'',_0xeddaa5);const An=_0x6122a6(0x181);exports[_0x6122a6(0x312)]=class extends a[_0x6122a6(0x23a)]{constructor(_0x3b2340,_0x3c0af6,_0x16673d,_0x5eb570){var _0x78cb44=_0x6122a6;super(),A(this,_0x78cb44(0x1f7)),(this[_0x78cb44(0x408)]=_0x3c0af6,this['_injector']=_0x16673d,this['_configService']=_0x5eb570);const {..._0x1a1553}=a[_0x78cb44(0x193)]({},Kt,_0x3b2340);if(!_0x1a1553[_0x78cb44(0x38f)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x78cb44(0x1f7)]=_0x1a1553,this[_0x78cb44(0x23c)][_0x78cb44(0x300)](G,_0x1a1553);}['onStarting'](){var _0x1f0c7b=_0x6122a6;this[_0x1f0c7b(0x30d)](),this[_0x1f0c7b(0x244)]();}['_registerDependencies'](){var _0x4ce1c6=_0x6122a6,_0x5ad8e2,_0x3bb8b4;this[_0x4ce1c6(0x282)]['has'](a[_0x4ce1c6(0x4a6)])&&this[_0x4ce1c6(0x408)]['error']('[UniverCollaborationClientPlugin]',_0x4ce1c6(0x3b2));const _0xe2a229=a[_0x4ce1c6(0x32c)]([[a[_0x4ce1c6(0x4a6)],{'useClass':exports[_0x4ce1c6(0x39c)]}],[exports[_0x4ce1c6(0x454)]],[exports[_0x4ce1c6(0x37b)]],[exports[_0x4ce1c6(0x276)]],[ye],[Ne],[$e],[De],[ee],[exports['DataLoaderService']],[He,{'useClass':this[_0x4ce1c6(0x1f7)][_0x4ce1c6(0x38f)]}],[p[_0x4ce1c6(0x25d)],{'useClass':exports[_0x4ce1c6(0x187)]}],[a[_0x4ce1c6(0x3ff)],{'useClass':exports[_0x4ce1c6(0x393)]}],[z[_0x4ce1c6(0x358)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x4ce1c6(0x48a)],{'useClass':exports[_0x4ce1c6(0x480)]}],[exports[_0x4ce1c6(0x412)]],[xe]],(_0x5ad8e2=this[_0x4ce1c6(0x1f7)])==null?void 0x0:_0x5ad8e2[_0x4ce1c6(0x1c4)]);if(!((_0x3bb8b4=this[_0x4ce1c6(0x1f7)])!=null&&_0x3bb8b4['enableSingleActiveInstanceLock'])){const _0x50d969=_0xe2a229['findIndex'](([_0x3ba104])=>_0x3ba104===de);_0x50d969!==-0x1&&_0xe2a229[_0x4ce1c6(0x4af)](_0x50d969,0x1);}a[_0x4ce1c6(0x431)](this[_0x4ce1c6(0x282)],_0xe2a229);}[_0x6122a6(0x244)](){var _0x5cf55e=_0x6122a6,_0x684b10,_0x60d318,_0x57306c;this[_0x5cf55e(0x282)][_0x5cf55e(0x4c3)](K[_0x5cf55e(0x385)])[_0x5cf55e(0x1cc)]({'priority':0x14,'interceptor':K[_0x5cf55e(0x176)]({'maxParallel':0x6})}),(_0x684b10=this[_0x5cf55e(0x1f7)])!=null&&_0x684b10[_0x5cf55e(0x326)]||(_0x60d318=this['_injector'][_0x5cf55e(0x4c3)](q,a[_0x5cf55e(0x45a)]['OPTIONAL']))==null||_0x60d318[_0x5cf55e(0x3bf)](),(_0x57306c=this[_0x5cf55e(0x1f7)])!=null&&_0x57306c[_0x5cf55e(0x242)]&&a[_0x5cf55e(0x309)](this[_0x5cf55e(0x282)],[[ye]]),a[_0x5cf55e(0x309)](this['_injector'],[[Ne],[exports[_0x5cf55e(0x412)]],[De]]);}},Un(exports[_0x6122a6(0x312)],_0x6122a6(0x47f),An),exports[_0x6122a6(0x312)]=Dn([a['DependentOn'](p[_0x6122a6(0x348)],K[_0x6122a6(0x1cb)]),Me(0x1,a[_0x6122a6(0x2a2)]),Me(0x2,a[_0x6122a6(0x43e)](a[_0x6122a6(0x2a0)])),Me(0x3,a[_0x6122a6(0x2a5)])],exports[_0x6122a6(0x312)]),exports[_0x6122a6(0x3b7)]=Ve,exports[_0x6122a6(0x442)]=G,exports[_0x6122a6(0x479)]=It,exports[_0x6122a6(0x29c)]=ut,exports[_0x6122a6(0x41d)]=Be,exports[_0x6122a6(0x163)]=Z,exports[_0x6122a6(0x366)]=ee,exports[_0x6122a6(0x325)]=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=dt,exports[_0x6122a6(0x168)]=Gt,exports[_0x6122a6(0x213)]=kt,exports[_0x6122a6(0x224)]=vt,exports[_0x6122a6(0x196)]=ke,exports[_0x6122a6(0x33a)]=He,exports[_0x6122a6(0x2a9)]=q,exports['INetworkConditionService']=mt,exports[_0x6122a6(0x3ed)]=de,exports[_0x6122a6(0x290)]=Ft,exports[_0x6122a6(0x20e)]=Bt,exports[_0x6122a6(0x223)]=pt,exports[_0x6122a6(0x49a)]=Yt,exports[_0x6122a6(0x188)]=ft,exports[_0x6122a6(0x338)]=Mt,exports[_0x6122a6(0x285)]=_t,exports[_0x6122a6(0x346)]=lt,exports[_0x6122a6(0x382)]=re,exports['UnitStatus']=je,exports[_0x6122a6(0x32a)]=Ct,exports['getLocalCacheKey']=oi,exports[_0x6122a6(0x456)]=Tt;
|