@univerjs-pro/collaboration-client 0.9.2 → 0.9.3-nightly.202507250819
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -0
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -0
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -0
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -0
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -0
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -0
- 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/types/config/config.d.ts +0 -20
- package/lib/types/index.d.ts +1 -13
- package/lib/types/locale/ca-ES.d.ts +3 -0
- package/lib/types/locale/es-ES.d.ts +3 -0
- package/lib/types/services/auth-server/authz-io-http.service.d.ts +0 -6
- package/lib/types/services/image-remote/image-io.service.d.ts +0 -4
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -0
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -0
- 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 +11 -11
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
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;
|
1
|
+
'use strict';var _0x5231a7=_0x3770;(function(_0x4b2f58,_0x54d566){var _0x22cfa3=_0x3770,_0x4ca949=_0x4b2f58();while(!![]){try{var _0x311f40=parseInt(_0x22cfa3(0x29d))/0x1+parseInt(_0x22cfa3(0x1e3))/0x2+parseInt(_0x22cfa3(0x456))/0x3*(parseInt(_0x22cfa3(0x15e))/0x4)+-parseInt(_0x22cfa3(0x48d))/0x5*(-parseInt(_0x22cfa3(0x224))/0x6)+-parseInt(_0x22cfa3(0x2a0))/0x7*(parseInt(_0x22cfa3(0x331))/0x8)+-parseInt(_0x22cfa3(0x2f1))/0x9+-parseInt(_0x22cfa3(0x313))/0xa*(parseInt(_0x22cfa3(0x1e0))/0xb);if(_0x311f40===_0x54d566)break;else _0x4ca949['push'](_0x4ca949['shift']());}catch(_0x4abde5){_0x4ca949['push'](_0x4ca949['shift']());}}}(_0x2ea1,0x95d4f));var bt=Object['defineProperty'],Ot=(_0x4d6bf,_0x38fcbf,_0x13affd)=>_0x38fcbf in _0x4d6bf?bt(_0x4d6bf,_0x38fcbf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13affd}):_0x4d6bf[_0x38fcbf]=_0x13affd,A=(_0x7e2ae4,_0x32ef77,_0x571f20)=>Ot(_0x7e2ae4,typeof _0x32ef77!=_0x5231a7(0x245)?_0x32ef77+'':_0x32ef77,_0x571f20);Object[_0x5231a7(0x434)](exports,Symbol['toStringTag'],{'value':_0x5231a7(0x13e)});const a=require('@univerjs/core'),j=require('rxjs'),V=require('rxjs/operators'),p=require('@univerjs-pro/collaboration'),q=require('@univerjs/network'),Rt=require('@univerjs/telemetry'),ct=require('@univerjs/docs'),X=require('@univerjs/sheets'),z=require('@univerjs/drawing'),yt=require('@univerjs-pro/license'),Nt=_0x5231a7(0x17a),Dt=_0x5231a7(0x2a3),Ut=0x7d0,ht=_0x5231a7(0x46b),At=_0x5231a7(0x33f),_t=_0x5231a7(0x160),Pt=0x7530,ke='HEARTBEAT_TIMEOUT',lt=0x4e20,wt=0x4e20,ut=_0x5231a7(0x3a7),Mt=0x3,Lt=_0x5231a7(0x361),xt=0x3e8,kt=_0x5231a7(0x441),$t=_0x5231a7(0x21b),jt=_0x5231a7(0x4a1),Ht='/universer-api/uniscript';var dt=(_0x1a1322=>(_0x1a1322[_0x1a1322[_0x5231a7(0x36a)]=0x0]=_0x5231a7(0x36a),_0x1a1322[_0x1a1322['OK']=0x1]='OK',_0x1a1322[_0x1a1322['INTERNAL_ERROR']=0x2]=_0x5231a7(0x34a),_0x1a1322[_0x1a1322[_0x5231a7(0x1b3)]=0x3]='PERMISSION_DENIED',_0x1a1322[_0x1a1322['NOT_FOUND']=0x4]=_0x5231a7(0x17e),_0x1a1322[_0x1a1322['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x1a1322[_0x1a1322[_0x5231a7(0x1c8)]=0x6]=_0x5231a7(0x1c8),_0x1a1322[_0x1a1322[_0x5231a7(0x3ed)]=0x7]=_0x5231a7(0x3ed),_0x1a1322[_0x1a1322[_0x5231a7(0x416)]=0x8]=_0x5231a7(0x416),_0x1a1322[_0x1a1322['COMPLETION_FINISHED']=0x9]=_0x5231a7(0x30c),_0x1a1322[_0x1a1322[_0x5231a7(0x209)]=0xa]=_0x5231a7(0x209),_0x1a1322[_0x1a1322[_0x5231a7(0x3f3)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x1a1322[_0x1a1322[_0x5231a7(0x220)]=0xc]=_0x5231a7(0x220),_0x1a1322[_0x1a1322[_0x5231a7(0x480)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x1a1322[_0x1a1322[_0x5231a7(0x159)]=0xe]=_0x5231a7(0x159),_0x1a1322[_0x1a1322[_0x5231a7(0x41c)]=0x1389]=_0x5231a7(0x41c),_0x1a1322[_0x1a1322[_0x5231a7(0x146)]=0x1771]=_0x5231a7(0x146),_0x1a1322[_0x1a1322[_0x5231a7(0x40d)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1a1322[_0x1a1322[_0x5231a7(0x493)]=0x1773]=_0x5231a7(0x493),_0x1a1322[_0x1a1322[_0x5231a7(0x330)]=0x1b59]=_0x5231a7(0x330),_0x1a1322[_0x1a1322[_0x5231a7(0x473)]=0x1b5a]=_0x5231a7(0x473),_0x1a1322[_0x1a1322[_0x5231a7(0x2fc)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1a1322[_0x1a1322['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5231a7(0x338),_0x1a1322[_0x1a1322[_0x5231a7(0x432)]=0x1b5d]=_0x5231a7(0x432),_0x1a1322[_0x1a1322[_0x5231a7(0x380)]=0x1f41]=_0x5231a7(0x380),_0x1a1322[_0x1a1322[_0x5231a7(0x4a7)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1a1322[_0x1a1322[_0x5231a7(0x183)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1a1322[_0x1a1322[_0x5231a7(0x187)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1a1322[_0x1a1322['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5231a7(0x49f),_0x1a1322[_0x1a1322['LICENSE_DISTRO_REJECTED']=0x232d]=_0x5231a7(0x3e8),_0x1a1322[_0x1a1322['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x5231a7(0x404),_0x1a1322[_0x1a1322[_0x5231a7(0x17b)]=0x2712]=_0x5231a7(0x17b),_0x1a1322[_0x1a1322[_0x5231a7(0x32a)]=0x2713]=_0x5231a7(0x32a),_0x1a1322[_0x1a1322[_0x5231a7(0x2c1)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1a1322[_0x1a1322[_0x5231a7(0x2f9)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x1a1322[_0x1a1322['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x1a1322[_0x1a1322['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x5231a7(0x26b),_0x1a1322[_0x1a1322[_0x5231a7(0x2a5)]=0x271d]=_0x5231a7(0x2a5),_0x1a1322[_0x1a1322[_0x5231a7(0x3cc)]=0x271e]=_0x5231a7(0x3cc),_0x1a1322[_0x1a1322[_0x5231a7(0x3f4)]=0x271f]=_0x5231a7(0x3f4),_0x1a1322[_0x1a1322['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x1a1322[_0x1a1322[_0x5231a7(0x348)]=0x2af9]=_0x5231a7(0x348),_0x1a1322[_0x1a1322[_0x5231a7(0x29a)]=0x2ee1]=_0x5231a7(0x29a),_0x1a1322[_0x1a1322[_0x5231a7(0x25e)]=0x2ee2]=_0x5231a7(0x25e),_0x1a1322[_0x1a1322[_0x5231a7(0x461)]=0x2ee3]=_0x5231a7(0x461),_0x1a1322[_0x1a1322[_0x5231a7(0x429)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x1a1322[_0x1a1322[_0x5231a7(0x485)]=0x2ee5]=_0x5231a7(0x485),_0x1a1322[_0x1a1322['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5231a7(0x274),_0x1a1322[_0x1a1322['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x5231a7(0x35e),_0x1a1322[_0x1a1322['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x5231a7(0x433),_0x1a1322[_0x1a1322[_0x5231a7(0x30b)]=-0x1]='UNRECOGNIZED',_0x1a1322))(dt||{}),J=(_0x299964=>(_0x299964[_0x299964[_0x5231a7(0x33e)]=0x0]=_0x5231a7(0x33e),_0x299964[_0x299964['UNIVER_DOC']=0x1]=_0x5231a7(0x14b),_0x299964[_0x299964[_0x5231a7(0x353)]=0x2]=_0x5231a7(0x353),_0x299964[_0x299964[_0x5231a7(0x410)]=0x3]=_0x5231a7(0x410),_0x299964[_0x299964['UNIVER_PROJECT']=0x4]=_0x5231a7(0x24a),_0x299964[_0x299964['UNRECOGNIZED']=-0x1]=_0x5231a7(0x30b),_0x299964))(J||{}),W=(_0x50fb57=>(_0x50fb57[_0x50fb57[_0x5231a7(0x420)]=0x0]=_0x5231a7(0x420),_0x50fb57[_0x50fb57[_0x5231a7(0x45f)]=0x1]=_0x5231a7(0x45f),_0x50fb57[_0x50fb57[_0x5231a7(0x173)]=0x2]=_0x5231a7(0x173),_0x50fb57[_0x50fb57[_0x5231a7(0x222)]=0x3]=_0x5231a7(0x222),_0x50fb57[_0x50fb57[_0x5231a7(0x392)]=0x4]=_0x5231a7(0x392),_0x50fb57[_0x50fb57[_0x5231a7(0x452)]=0x5]='HEARTBEAT',_0x50fb57[_0x50fb57[_0x5231a7(0x1e6)]=0x6]=_0x5231a7(0x1e6),_0x50fb57[_0x50fb57[_0x5231a7(0x30b)]=-0x1]=_0x5231a7(0x30b),_0x50fb57))(W||{}),oe=(_0x425d95=>(_0x425d95[_0x425d95[_0x5231a7(0x254)]=0x0]=_0x5231a7(0x254),_0x425d95[_0x425d95['OK']=0x1]='OK',_0x425d95[_0x425d95['FAIL']=0x2]=_0x5231a7(0x385),_0x425d95[_0x425d95[_0x5231a7(0x278)]=0x3e9]=_0x5231a7(0x278),_0x425d95[_0x425d95[_0x5231a7(0x3ba)]=0x3ea]=_0x5231a7(0x3ba),_0x425d95[_0x425d95[_0x5231a7(0x421)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x425d95[_0x425d95[_0x5231a7(0x1c4)]=0x3ec]=_0x5231a7(0x1c4),_0x425d95[_0x425d95[_0x5231a7(0x30b)]=-0x1]=_0x5231a7(0x30b),_0x425d95))(oe||{}),vt=(_0x5fa284=>(_0x5fa284[_0x5fa284[_0x5231a7(0x459)]=0x0]=_0x5231a7(0x459),_0x5fa284[_0x5fa284[_0x5231a7(0x355)]=0x1]=_0x5231a7(0x355),_0x5fa284[_0x5fa284[_0x5231a7(0x45e)]=0x2]=_0x5231a7(0x45e),_0x5fa284[_0x5fa284[_0x5231a7(0x388)]=0x3]='UnitEmbedded',_0x5fa284[_0x5fa284[_0x5231a7(0x1d7)]=0x4]=_0x5231a7(0x1d7),_0x5fa284[_0x5fa284[_0x5231a7(0x152)]=0x5]='UserProfileImg',_0x5fa284[_0x5fa284[_0x5231a7(0x30b)]=-0x1]='UNRECOGNIZED',_0x5fa284))(vt||{});const Y='collaboration-client.config',Bt={};var Z=(_0x48b34d=>(_0x48b34d['OTHER_CLIENT_EDITING']=_0x5231a7(0x2fb),_0x48b34d[_0x5231a7(0x1b3)]=_0x5231a7(0x1b3),_0x48b34d[_0x5231a7(0x32b)]=_0x5231a7(0x32b),_0x48b34d['CLOSE_ROOM']=_0x5231a7(0x2f2),_0x48b34d[_0x5231a7(0x2ca)]='JOIN_ROOM_FAILED',_0x48b34d['SOCKET_FAILED_RETRY']=_0x5231a7(0x38f),_0x48b34d[_0x5231a7(0x378)]='SOCKET_FAILED',_0x48b34d[_0x5231a7(0x3d7)]=_0x5231a7(0x3d7),_0x48b34d))(Z||{});class ee{constructor(){var _0x2bfc4d=_0x5231a7;A(this,_0x2bfc4d(0x339),new j['Subject']()),A(this,'event$',this[_0x2bfc4d(0x339)][_0x2bfc4d(0x42b)]());}[_0x5231a7(0x296)](_0x4f9581){var _0x406fe4=_0x5231a7;this[_0x406fe4(0x339)][_0x406fe4(0x1cf)](_0x4f9581);}}const St=a['createIdentifier'](_0x5231a7(0x2be));function ft(_0x434aa2){var _0x1cc6bc=_0x5231a7,_0x116e62,_0x55a7f8,_0x10f2d1,_0x5265d7,_0x110010;const _0x54ce9c=_0x434aa2[_0x1cc6bc(0x233)],_0x1b45c0=JSON['parse'](_0x54ce9c);switch(_0x1b45c0['cmd']){case W[_0x1cc6bc(0x452)]:case W['HELLO']:{const _0x35aa62=_0x1b45c0[_0x1cc6bc(0x2d7)];return{..._0x1b45c0,'data':_0x35aa62,'cmd':_0x1b45c0[_0x1cc6bc(0x2e8)]};}case W[_0x1cc6bc(0x173)]:{const _0x163fb2=_0x1b45c0[_0x1cc6bc(0x43c)];return{..._0x1b45c0,'data':_0x163fb2,'cmd':_0x1b45c0[_0x1cc6bc(0x2e8)]};}case W[_0x1cc6bc(0x1e6)]:{const _0x2bd99b=_0x1b45c0[_0x1cc6bc(0x454)];switch(_0x2bd99b[_0x1cc6bc(0x376)]){case p[_0x1cc6bc(0x448)][_0x1cc6bc(0x3a8)]:return{..._0x1b45c0,'data':{..._0x2bd99b,'data':(_0x116e62=_0x2bd99b[_0x1cc6bc(0x1ec)])==null?void 0x0:_0x116e62['cs']},'cmd':_0x1b45c0[_0x1cc6bc(0x2e8)]};case p['CollaborationEvent']['CHANGESET_ACK']:return{..._0x1b45c0,'data':{..._0x2bd99b,'data':(_0x55a7f8=_0x2bd99b[_0x1cc6bc(0x1b4)])==null?void 0x0:_0x55a7f8['cs']},'cmd':_0x1b45c0[_0x1cc6bc(0x2e8)]};case p['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x1b45c0,'data':{..._0x2bd99b,'data':(_0x10f2d1=_0x2bd99b[_0x1cc6bc(0x2b1)])==null?void 0x0:_0x10f2d1['cs']},'cmd':_0x1b45c0[_0x1cc6bc(0x2e8)]};case p[_0x1cc6bc(0x448)][_0x1cc6bc(0x25d)]:return{..._0x1b45c0,'data':{..._0x2bd99b,'data':(_0x5265d7=_0x2bd99b['csRejEvent'])==null?void 0x0:_0x5265d7['cs']},'cmd':_0x1b45c0[_0x1cc6bc(0x2e8)]};case p[_0x1cc6bc(0x448)][_0x1cc6bc(0x3b7)]:return{..._0x1b45c0,'data':{..._0x2bd99b,'data':(_0x110010=_0x2bd99b['csShouldRetryEvent'])==null?void 0x0:_0x110010['cs']},'cmd':_0x1b45c0[_0x1cc6bc(0x2e8)]};case p['CollaborationEvent'][_0x1cc6bc(0x25c)]:return{..._0x1b45c0,'data':{..._0x2bd99b,'data':_0x2bd99b[_0x1cc6bc(0x3f5)]},'cmd':_0x1b45c0[_0x1cc6bc(0x2e8)]};case p[_0x1cc6bc(0x448)]['USERS_ENTER']:return{..._0x1b45c0,'data':{..._0x2bd99b,'data':_0x2bd99b[_0x1cc6bc(0x487)]},'cmd':_0x1b45c0[_0x1cc6bc(0x2e8)]};case p[_0x1cc6bc(0x448)][_0x1cc6bc(0x259)]:return{..._0x1b45c0,'data':{..._0x2bd99b,'data':_0x2bd99b[_0x1cc6bc(0x34f)]},'cmd':_0x1b45c0['cmd']};case p[_0x1cc6bc(0x448)][_0x1cc6bc(0x1d0)]:return{..._0x1b45c0,'data':{..._0x2bd99b,'data':_0x2bd99b[_0x1cc6bc(0x49d)]},'cmd':_0x1b45c0[_0x1cc6bc(0x2e8)]};case p['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:case p[_0x1cc6bc(0x448)][_0x1cc6bc(0x40c)]:return{..._0x1b45c0,'data':{..._0x2bd99b,'data':_0x2bd99b['liveShareOperation']},'cmd':_0x1b45c0[_0x1cc6bc(0x2e8)]};case p[_0x1cc6bc(0x448)][_0x1cc6bc(0x2f8)]:return{..._0x1b45c0,'data':{..._0x2bd99b,'data':_0x2bd99b[_0x1cc6bc(0x49d)]},'cmd':_0x1b45c0[_0x1cc6bc(0x2e8)]};case p[_0x1cc6bc(0x448)][_0x1cc6bc(0x197)]:return{..._0x1b45c0,'data':_0x2bd99b,'cmd':_0x1b45c0[_0x1cc6bc(0x2e8)]};case p[_0x1cc6bc(0x448)][_0x1cc6bc(0x407)]:return{..._0x1b45c0,'data':{..._0x2bd99b,'data':_0x2bd99b[_0x1cc6bc(0x2ce)]},'cmd':_0x1b45c0['cmd']};case p[_0x1cc6bc(0x448)]['UPDATE_PERMISSION_OBJ']:return{..._0x1b45c0,'data':{..._0x2bd99b,'data':_0x2bd99b[_0x1cc6bc(0x482)]},'cmd':_0x1b45c0[_0x1cc6bc(0x2e8)]};case p['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x1b45c0,'data':{..._0x2bd99b,'data':_0x2bd99b[_0x1cc6bc(0x3ec)]},'cmd':_0x1b45c0[_0x1cc6bc(0x2e8)]};case p[_0x1cc6bc(0x448)]['UNISCRIPT_RUN']:return{..._0x1b45c0,'data':{..._0x2bd99b,'data':_0x2bd99b['uniscriptRunEvent']},'cmd':_0x1b45c0[_0x1cc6bc(0x2e8)]};default:return _0x1b45c0;}}default:return _0x1b45c0;}}function It(_0x443c87){var _0x529e37=_0x5231a7;switch(_0x443c87[_0x529e37(0x2e8)]){case W['HEARTBEAT']:case W[_0x529e37(0x45f)]:return JSON[_0x529e37(0x1f6)]({'cmd':_0x443c87['cmd'],'routeKey':_0x443c87['routeKey']});case W['INGEST']:{let _0x4a05b9;switch(_0x443c87[_0x529e37(0x233)][_0x529e37(0x376)]){case p[_0x529e37(0x448)][_0x529e37(0x25c)]:{_0x4a05b9={'eventID':p['CollaborationEvent'][_0x529e37(0x25c)],'updateCursorEvent':_0x443c87[_0x529e37(0x233)][_0x529e37(0x233)]};break;}case p[_0x529e37(0x448)][_0x529e37(0x259)]:{_0x4a05b9={'eventID':p[_0x529e37(0x448)][_0x529e37(0x259)],'leaveEvent':_0x443c87[_0x529e37(0x233)]['data']};break;}case p[_0x529e37(0x448)][_0x529e37(0x305)]:{_0x4a05b9={'eventID':p[_0x529e37(0x448)]['USERS_ENTER'],'joinEvent':_0x443c87[_0x529e37(0x233)]['data']};break;}case p['CollaborationEvent'][_0x529e37(0x1d0)]:{_0x4a05b9={'eventID':p['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x443c87[_0x529e37(0x233)][_0x529e37(0x233)]};break;}case p['CollaborationEvent'][_0x529e37(0x40c)]:{_0x4a05b9={'eventID':p['CollaborationEvent'][_0x529e37(0x40c)],'liveShareOperation':_0x443c87['data'][_0x529e37(0x233)]};break;}case p['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x4a05b9={'eventID':p['CollaborationEvent'][_0x529e37(0x2f8)],'liveShareTerminate':_0x443c87[_0x529e37(0x233)][_0x529e37(0x233)]};break;}case p[_0x529e37(0x448)][_0x529e37(0x1c1)]:{_0x4a05b9={'eventID':p['CollaborationEvent'][_0x529e37(0x1c1)],'liveShareRequestHost':_0x443c87['data'][_0x529e37(0x233)]};break;}case p[_0x529e37(0x448)][_0x529e37(0x281)]:{_0x4a05b9={'eventID':p[_0x529e37(0x448)][_0x529e37(0x281)]};break;}default:_0x4a05b9={'eventID':_0x443c87[_0x529e37(0x233)][_0x529e37(0x376)]};}return JSON[_0x529e37(0x1f6)]({'cmd':_0x443c87['cmd'],'routeKey':_0x443c87['routeKey'],'collaMsg':_0x4a05b9});}case W[_0x529e37(0x173)]:return JSON['stringify']({'cmd':_0x443c87[_0x529e37(0x2e8)],'routeKey':_0x443c87['routeKey'],'joinReq':_0x443c87['data']});case W[_0x529e37(0x222)]:return JSON[_0x529e37(0x1f6)]({'cmd':_0x443c87[_0x529e37(0x2e8)],'routeKey':_0x443c87[_0x529e37(0x1a9)],'leaveReq':_0x443c87[_0x529e37(0x233)]});default:throw new Error(_0x529e37(0x354));}}var Ft=Object[_0x5231a7(0x199)],Vt=(_0x377185,_0x31c250,_0x1863dc,_0x542603)=>{var _0x40ef78=_0x5231a7;for(var _0x50f190=_0x542603>0x1?void 0x0:_0x542603?Ft(_0x31c250,_0x1863dc):_0x31c250,_0x10e716=_0x377185[_0x40ef78(0x395)]-0x1,_0xc9a233;_0x10e716>=0x0;_0x10e716--)(_0xc9a233=_0x377185[_0x10e716])&&(_0x50f190=_0xc9a233(_0x50f190)||_0x50f190);return _0x50f190;},_e=(_0x1f685d,_0x32a68)=>(_0x43e011,_0x1f695a)=>_0x32a68(_0x43e011,_0x1f695a,_0x1f685d);const $e=a['createIdentifier'](_0x5231a7(0x237));function Wt(_0x20b5cd,_0x30aa90,_0x4ed015){var _0x3d050e=_0x5231a7;return _0x20b5cd+'/'+_0x30aa90+_0x3d050e(0x4a5)+_0x4ed015+_0x3d050e(0x302);}exports[_0x5231a7(0x270)]=class extends a[_0x5231a7(0x285)]{constructor(_0x27ee3f,_0x53419b,_0x41900d,_0x2d7960,_0x3cf3ab){var _0x3cd389=_0x5231a7;super(),this[_0x3cd389(0x25a)]=_0x27ee3f,this[_0x3cd389(0x34d)]=_0x53419b,this['_configService']=_0x41900d,this[_0x3cd389(0x47b)]=_0x2d7960,this[_0x3cd389(0x258)]=_0x3cf3ab;}[_0x5231a7(0x39e)](_0x438521){var _0x5f64d5=_0x5231a7;const _0x3eae4c=this['_injector']['get'](q[_0x5f64d5(0x2df)]);if(!_0x3eae4c)throw new Error(_0x5f64d5(0x386));const _0x4ad208=_0x3eae4c[_0x5f64d5(0x2bb)](_0x438521);if(!_0x4ad208)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x4f0fc8=new a[(_0x5f64d5(0x29b))](),_0xc6d34b=new j[(_0x5f64d5(0x375))]();_0x4f0fc8[_0x5f64d5(0x414)](_0x4ad208[_0x5f64d5(0x1fe)][_0x5f64d5(0x3d2)](_0x28e352=>_0xc6d34b[_0x5f64d5(0x1cf)](_0x28e352))),_0x4f0fc8[_0x5f64d5(0x414)](a['toDisposable'](()=>_0xc6d34b['complete']()));const _0x27abb2=new j[(_0x5f64d5(0x375))]();_0x4f0fc8[_0x5f64d5(0x414)](_0x4ad208[_0x5f64d5(0x3d6)]['subscribe'](_0x2a62fe=>_0x27abb2[_0x5f64d5(0x1cf)](_0x2a62fe))),_0x4f0fc8[_0x5f64d5(0x414)](a[_0x5f64d5(0x275)](()=>_0x27abb2[_0x5f64d5(0x264)]()));const _0x46f99e=new j[(_0x5f64d5(0x375))]();_0x4f0fc8[_0x5f64d5(0x414)](_0x4ad208[_0x5f64d5(0x204)][_0x5f64d5(0x3d2)](_0x53bb65=>{var _0x102222=_0x5f64d5;const _0x822e71=ft(_0x53bb65);_0x46f99e[_0x102222(0x1cf)](_0x822e71);})),_0x4f0fc8[_0x5f64d5(0x414)](a['toDisposable'](()=>_0x46f99e[_0x5f64d5(0x264)]()));let _0x3247f1;const _0x1c1755=()=>{var _0x7efa0=_0x5f64d5;_0x27abb2[_0x7efa0(0x1cf)](new Event('connection\x20error')),_0xc6d34b[_0x7efa0(0x1cf)](new Event(_0x7efa0(0x3c7))),_0x3247f1['close']();};return _0x3247f1={'memberID':'','close$':_0xc6d34b['asObservable'](),'error$':_0x27abb2[_0x5f64d5(0x42b)](),'open$':_0x4ad208[_0x5f64d5(0x333)],'message$':_0x46f99e[_0x5f64d5(0x42b)](),'send':_0x1ae26d=>{var _0x3e1a27=_0x5f64d5;if(_0x1ae26d[_0x3e1a27(0x2e8)]===W[_0x3e1a27(0x392)]){if(_0x1ae26d[_0x3e1a27(0x233)]['eventID']===p[_0x3e1a27(0x448)][_0x3e1a27(0x1d5)]){this[_0x3e1a27(0x3d3)](_0x3247f1,_0x1ae26d[_0x3e1a27(0x233)])[_0x3e1a27(0x16c)](_0x576a0e=>{var _0x2680fe=_0x3e1a27;this[_0x2680fe(0x47b)][_0x2680fe(0x2d5)](_0x576a0e),_0x1c1755();});return;}if(_0x1ae26d[_0x3e1a27(0x233)]['eventID']===p[_0x3e1a27(0x448)]['FETCH_MISSING']){const _0x20efbe=_0x1ae26d[_0x3e1a27(0x233)];this[_0x3e1a27(0x3b6)](_0x20efbe)[_0x3e1a27(0x2f4)](_0x4d17a5=>{var _0x3989f3=_0x3e1a27;_0x46f99e[_0x3989f3(0x1cf)]({'cmd':W['RECV'],'code':oe['OK'],'routeKey':_0x20efbe[_0x3989f3(0x233)][_0x3989f3(0x19e)],'routeType':'','data':{'eventID':p[_0x3989f3(0x448)][_0x3989f3(0x399)],'data':{'changesets':_0x4d17a5}}});})['catch'](_0x4b238f=>{var _0x431d44=_0x3e1a27;this['_logService'][_0x431d44(0x2d5)](_0x4b238f),_0x1c1755();});return;}}_0x4ad208[_0x3e1a27(0x394)](It(_0x1ae26d));},'close':()=>{var _0x1eb864=_0x5f64d5;_0x4ad208[_0x1eb864(0x41f)](),_0x4f0fc8[_0x1eb864(0x26f)]();}},_0x3247f1;}async[_0x5231a7(0x3d3)](_0x164e63,_0x526870){var _0x2e8d3c=_0x5231a7,_0x59fae0;const {unitType:_0x198427,unitID:_0x4aeaa8,changeset:_0x40db80}=_0x526870[_0x2e8d3c(0x233)],_0x226e60={'unitID':_0x4aeaa8,'memberID':_0x164e63[_0x2e8d3c(0x3f7)],'type':_0x198427,'changeset':p[_0x2e8d3c(0x166)](_0x40db80)},_0xe420e7=this[_0x2e8d3c(0x17f)][_0x2e8d3c(0x430)](Y),_0x5a86af=Wt((_0x59fae0=_0xe420e7==null?void 0x0:_0xe420e7[_0x2e8d3c(0x48a)])!=null?_0x59fae0:kt,_0x198427,_0x4aeaa8);try{await this[_0x2e8d3c(0x34d)][_0x2e8d3c(0x41a)](_0x5a86af,{'body':_0x226e60});}catch(_0x130f73){throw this[_0x2e8d3c(0x47b)]['error'](_0x2e8d3c(0x369),_0x2e8d3c(0x465)),_0x130f73;}}async[_0x5231a7(0x3b6)](_0x2e8957){var _0x4f364d=_0x5231a7;const {unitID:_0x215072,from:_0x46fc36,to:_0x25847d,unitType:_0x187d4d}=_0x2e8957['data'];return(await this[_0x4f364d(0x258)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x215072,'type':_0x187d4d,'from':_0x46fc36,'to':_0x25847d}))[_0x4f364d(0x231)];}},exports[_0x5231a7(0x270)]=Vt([_e(0x0,a[_0x5231a7(0x4a4)](a[_0x5231a7(0x40a)])),_e(0x1,a[_0x5231a7(0x4a4)](q[_0x5231a7(0x1c5)])),_e(0x2,a[_0x5231a7(0x1da)]),_e(0x3,a['ILogService']),_e(0x4,p[_0x5231a7(0x403)])],exports[_0x5231a7(0x270)]);const Gt=_0x5231a7(0x2ad);function Yt(_0x4dc287){var _0x4cd4f9=_0x5231a7;return JSON[_0x4cd4f9(0x1f6)](_0x4dc287)[_0x4cd4f9(0x395)];}class je{constructor(){var _0x376141=_0x5231a7;A(this,_0x376141(0x1db),new j[(_0x376141(0x375))]()),A(this,'commentUpdate$',this[_0x376141(0x1db)]['asObservable']());}[_0x5231a7(0x2cd)](_0x271e41){var _0x286aee=_0x5231a7;this[_0x286aee(0x1db)]['next'](_0x271e41);}}var qt=Object['getOwnPropertyDescriptor'],Kt=(_0x491205,_0x378110,_0x225301,_0x162845)=>{for(var _0x2e6792=_0x162845>0x1?void 0x0:_0x162845?qt(_0x378110,_0x225301):_0x378110,_0x2c26ac=_0x491205['length']-0x1,_0xd06465;_0x2c26ac>=0x0;_0x2c26ac--)(_0xd06465=_0x491205[_0x2c26ac])&&(_0x2e6792=_0xd06465(_0x2e6792)||_0x2e6792);return _0x2e6792;},Ve=(_0x31046a,_0x41bd08)=>(_0x2e57fc,_0x34c7d1)=>_0x41bd08(_0x2e57fc,_0x34c7d1,_0x31046a);exports[_0x5231a7(0x439)]=class extends a[_0x5231a7(0x285)]{constructor(_0x4327c5,_0x16e244){var _0x3351c6=_0x5231a7;super(),A(this,_0x3351c6(0x1c6),new Map()),A(this,_0x3351c6(0x3ac),new j['Subject']()),(this[_0x3351c6(0x1e7)]=_0x4327c5,this[_0x3351c6(0x2c0)]=_0x16e244,this[_0x3351c6(0x3a3)](j[_0x3351c6(0x3a0)](this[_0x3351c6(0x1e7)][_0x3351c6(0x373)](a[_0x3351c6(0x1ae)][_0x3351c6(0x353)])[_0x3351c6(0x3e2)](V[_0x3351c6(0x19d)](_0x4d9639=>_0x4d9639['getUnitId']())),this[_0x3351c6(0x1e7)][_0x3351c6(0x373)](a[_0x3351c6(0x1ae)]['UNIVER_DOC'])['pipe'](V['map'](_0x1e250=>_0x1e250[_0x3351c6(0x1cc)]())),this['_univerInstanceService'][_0x3351c6(0x373)](a[_0x3351c6(0x1ae)]['UNIVER_SLIDE'])[_0x3351c6(0x3e2)](V[_0x3351c6(0x19d)](_0x5ae15a=>_0x5ae15a[_0x3351c6(0x1cc)]())))[_0x3351c6(0x3d2)](_0x1907c0=>this[_0x3351c6(0x293)](_0x1907c0))));}[_0x5231a7(0x29e)](_0x15788e){var _0x5c103e=_0x5231a7;return this[_0x5c103e(0x1c6)]['has'](_0x15788e)?j['of'](this['_roomMembers'][_0x5c103e(0x200)](_0x15788e)):this['_roomCreated$'][_0x5c103e(0x3e2)](V['map'](_0x3ae072=>{var _0x5ce19d=_0x5c103e;if(_0x3ae072===_0x15788e)return this[_0x5ce19d(0x1c6)][_0x5ce19d(0x200)](_0x3ae072);}));}['setCurrentUser'](_0x3a74d1){var _0x5a9c7d=_0x5231a7;this['_userManagerService'][_0x5a9c7d(0x363)](_0x3a74d1);}['getCurrentUser'](){var _0xdafcc6=_0x5231a7;return this[_0xdafcc6(0x2c0)][_0xdafcc6(0x400)]();}[_0x5231a7(0x1fb)](_0x3e8a59,_0x457330){var _0x143b02=_0x5231a7;let _0x336a66=this[_0x143b02(0x1c6)]['get'](_0x3e8a59);_0x336a66||(_0x336a66=new zt(),this[_0x143b02(0x1c6)][_0x143b02(0x3c3)](_0x3e8a59,_0x336a66),this[_0x143b02(0x3ac)]['next'](_0x3e8a59)),_0x336a66['updateMember'](_0x457330);}[_0x5231a7(0x3de)](_0x5bc094,_0x19bd8f){var _0x57aba6=_0x5231a7;const _0x3e6d5a=this[_0x57aba6(0x1c6)][_0x57aba6(0x200)](_0x5bc094);_0x3e6d5a&&_0x3e6d5a[_0x57aba6(0x3de)](_0x19bd8f);}[_0x5231a7(0x491)](_0x26d87f){var _0x52f7dd=_0x5231a7;return this[_0x52f7dd(0x1c6)][_0x52f7dd(0x200)](_0x26d87f);}['getMember'](_0xeae6d4,_0x533cea){var _0x4d00c1=_0x5231a7;const _0x2ad334=this['_roomMembers'][_0x4d00c1(0x200)](_0xeae6d4);if(_0x2ad334)return _0x2ad334[_0x4d00c1(0x2a2)](_0x533cea);}[_0x5231a7(0x293)](_0x4ac9ed){var _0x5354a5=_0x5231a7;const _0x20d205=this[_0x5354a5(0x1c6)][_0x5354a5(0x200)](_0x4ac9ed);_0x20d205&&(_0x20d205[_0x5354a5(0x26f)](),this['_roomMembers'][_0x5354a5(0x42e)](_0x4ac9ed));}[_0x5231a7(0x26f)](){var _0xa14995=_0x5231a7;this[_0xa14995(0x1c6)]['forEach'](_0x3af003=>_0x3af003[_0xa14995(0x26f)]()),this['_roomMembers'][_0xa14995(0x1b1)](),this[_0xa14995(0x3ac)][_0xa14995(0x264)]();}},exports[_0x5231a7(0x439)]=Kt([Ve(0x0,a['IUniverInstanceService']),Ve(0x1,a['Inject'](a['UserManagerService']))],exports[_0x5231a7(0x439)]);class zt extends a[_0x5231a7(0x285)]{constructor(){var _0x3c106f=_0x5231a7;super(...arguments),A(this,_0x3c106f(0x2fa),new Map()),A(this,_0x3c106f(0x16b),new j['BehaviorSubject'](this['_members'])),A(this,_0x3c106f(0x3a4),this['_members$']['asObservable']());}[_0x5231a7(0x26f)](){var _0x250d25=_0x5231a7;this[_0x250d25(0x2fa)][_0x250d25(0x1b1)]();}[_0x5231a7(0x1fb)](_0xe74f58){var _0x986e48=_0x5231a7;this[_0x986e48(0x2fa)][_0x986e48(0x3c3)](_0xe74f58[_0x986e48(0x3f7)],_0xe74f58),this['_emitMembers']();}[_0x5231a7(0x3de)](_0x58dd05){var _0x599b00=_0x5231a7;this['_members'][_0x599b00(0x42e)](_0x58dd05);}[_0x5231a7(0x2a2)](_0x1ca7e8){var _0xf0ea1b=_0x5231a7;return this[_0xf0ea1b(0x2fa)][_0xf0ea1b(0x200)](_0x1ca7e8);}[_0x5231a7(0x255)](){var _0x38c94a=_0x5231a7;return Array[_0x38c94a(0x43b)](this[_0x38c94a(0x2fa)][_0x38c94a(0x46e)]());}[_0x5231a7(0x18f)](){var _0x548074=_0x5231a7;this[_0x548074(0x16b)]['next'](this[_0x548074(0x2fa)]);}}var Jt=Object[_0x5231a7(0x199)],Xt=(_0xf8377e,_0x1ba7e1,_0x5f4b5e,_0x5a89c1)=>{for(var _0x41bc02=_0x5a89c1>0x1?void 0x0:_0x5a89c1?Jt(_0x1ba7e1,_0x5f4b5e):_0x1ba7e1,_0x1af50b=_0xf8377e['length']-0x1,_0x491649;_0x1af50b>=0x0;_0x1af50b--)(_0x491649=_0xf8377e[_0x1af50b])&&(_0x41bc02=_0x491649(_0x41bc02)||_0x41bc02);return _0x41bc02;},se=(_0x2cb086,_0x275545)=>(_0x2c0310,_0x1e4211)=>_0x275545(_0x2c0310,_0x1e4211,_0x2cb086),re=(_0x49aac8=>(_0x49aac8[_0x49aac8[_0x5231a7(0x1df)]=0x0]=_0x5231a7(0x1df),_0x49aac8[_0x49aac8[_0x5231a7(0x2f0)]=0x1]=_0x5231a7(0x2f0),_0x49aac8[_0x49aac8['OFFLINE']=0x2]=_0x5231a7(0x268),_0x49aac8[_0x49aac8['ONLINE']=0x3]=_0x5231a7(0x172),_0x49aac8))(re||{});const We={[oe['FAIL']]:_0x5231a7(0x3ce),[oe[_0x5231a7(0x278)]]:'session.room-full',[oe[_0x5231a7(0x3ba)]]:_0x5231a7(0x3f2),[oe[_0x5231a7(0x421)]]:_0x5231a7(0x1e8),[oe['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x5231a7(0x14d)};exports[_0x5231a7(0x3f0)]=class extends a[_0x5231a7(0x3c6)]{constructor(_0x22a9fa,_0x1d4f00,_0x125b3b,_0x3d7fcb,_0x110436,_0x122d2e,_0x187ff5,_0x5565f7,_0x533b38){var _0x47138e=_0x5231a7;super(),A(this,_0x47138e(0x219),new j[(_0x47138e(0x4b3))](0x0)),A(this,'sessionStatus$',this[_0x47138e(0x219)][_0x47138e(0x42b)]()),A(this,'_event$',new j[(_0x47138e(0x375))]()),A(this,_0x47138e(0x3b5),this[_0x47138e(0x339)]['asObservable']()),A(this,'_socket'),A(this,_0x47138e(0x27c)),A(this,'_collaborationTimeoutTimer'),A(this,_0x47138e(0x198),!0x1),A(this,_0x47138e(0x4b0),null),(this[_0x47138e(0x36f)]=_0x22a9fa,this['_logService']=_0x125b3b,this[_0x47138e(0x17f)]=_0x3d7fcb,this[_0x47138e(0x189)]=_0x110436,this[_0x47138e(0x162)]=_0x122d2e,this[_0x47138e(0x3e0)]=_0x187ff5,this['_collaborationUIEventService']=_0x5565f7,this['_telemetryService']=_0x533b38,this[_0x47138e(0x198)]=!!this[_0x47138e(0x3e5)],_0x1d4f00[_0x47138e(0x3e2)](j[_0x47138e(0x19f)](this[_0x47138e(0x43f)]))[_0x47138e(0x3d2)](_0x3dd629=>{var _0x13d7dd=_0x47138e,_0x298197;typeof _0x3dd629>'u'||(this[_0x13d7dd(0x316)]=_0x3dd629,_0x3dd629?(this[_0x13d7dd(0x27e)](_0x3dd629),this[_0x13d7dd(0x27c)]=_0x3dd629[_0x13d7dd(0x204)][_0x13d7dd(0x3d2)](_0x1b3a93=>{var _0x20049e=_0x13d7dd;_0x1b3a93[_0x20049e(0x1a9)]===this[_0x20049e(0x36f)]&&this[_0x20049e(0x336)](_0x1b3a93);})):(this[_0x13d7dd(0x374)](),this[_0x13d7dd(0x219)][_0x13d7dd(0x1cf)](0x2),(_0x298197=this[_0x13d7dd(0x27c)])==null||_0x298197[_0x13d7dd(0x1b0)](),this[_0x13d7dd(0x27c)]=null));}));}get['sessionStatus'](){var _0x23bce9=_0x5231a7;return this['_sessionStatus$'][_0x23bce9(0x28c)]();}['getMemberID'](){var _0xe6eb58=_0x5231a7,_0x24a728,_0x476acd;return(_0x476acd=(_0x24a728=this[_0xe6eb58(0x316)])==null?void 0x0:_0x24a728['memberID'])!=null?_0x476acd:null;}[_0x5231a7(0x26f)](){var _0x4b319e=_0x5231a7;super[_0x4b319e(0x26f)](),this[_0x4b319e(0x43f)][_0x4b319e(0x1cf)](),this['dispose$'][_0x4b319e(0x264)]();}['close'](){var _0x3e84f4=_0x5231a7,_0xbf3151,_0x469d47;this[_0x3e84f4(0x374)](),(_0xbf3151=this['_socket'])==null||_0xbf3151['send']({'cmd':W[_0x3e84f4(0x222)],'data':{'roomID':this[_0x3e84f4(0x36f)]}}),(_0x469d47=this[_0x3e84f4(0x316)])==null||_0x469d47[_0x3e84f4(0x41f)](),this['_event$']['complete'](),this['_sessionStatus$'][_0x3e84f4(0x264)](),this[_0x3e84f4(0x26f)]();}[_0x5231a7(0x336)](_0x3967dc){var _0x57c145=_0x5231a7;_0x3967dc[_0x57c145(0x2e8)]===W[_0x57c145(0x173)]?this[_0x57c145(0x218)](_0x3967dc):_0x3967dc[_0x57c145(0x2e8)]===W[_0x57c145(0x1e6)]&&this[_0x57c145(0x2bc)](_0x3967dc);}[_0x5231a7(0x27e)](_0x3f63f5){var _0x58edc0=_0x5231a7;this[_0x58edc0(0x219)][_0x58edc0(0x1cf)](0x1),_0x3f63f5[_0x58edc0(0x394)]({'cmd':W[_0x58edc0(0x173)],'routeKey':this[_0x58edc0(0x36f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x58edc0(0x36f)]}]}});}[_0x5231a7(0x218)](_0x1c100c){var _0x49f4dd=_0x5231a7,_0xfd3e5e;if(_0x1c100c[_0x49f4dd(0x48c)]in We){this['_collaborationUIEventService']['emitEvent']({'id':Z[_0x49f4dd(0x2ca)],'data':We[_0x1c100c[_0x49f4dd(0x48c)]]}),this[_0x49f4dd(0x219)][_0x49f4dd(0x1cf)](0x2);return;}this[_0x49f4dd(0x219)][_0x49f4dd(0x1cf)](0x3);const _0x479cb3=(_0xfd3e5e=_0x1c100c[_0x49f4dd(0x233)][_0x49f4dd(0x155)][this[_0x49f4dd(0x36f)]])==null?void 0x0:_0xfd3e5e[_0x49f4dd(0x2da)];_0x479cb3&&_0x479cb3[_0x49f4dd(0x171)](_0x4c83c4=>this[_0x49f4dd(0x162)][_0x49f4dd(0x1fb)](this[_0x49f4dd(0x36f)],_0x4c83c4));}[_0x5231a7(0x2bc)](_0x1fa4a1){var _0x33ee25=_0x5231a7;try{const _0x2bdc17=_0x1fa4a1['data'];switch(_0x2bdc17['eventID']){case p[_0x33ee25(0x448)][_0x33ee25(0x305)]:this[_0x33ee25(0x49c)](_0x2bdc17),this[_0x33ee25(0x339)][_0x33ee25(0x1cf)](_0x2bdc17);break;case p['CollaborationEvent'][_0x33ee25(0x259)]:this[_0x33ee25(0x2c9)](_0x2bdc17),this[_0x33ee25(0x339)][_0x33ee25(0x1cf)](_0x2bdc17);break;case p['CollaborationEvent'][_0x33ee25(0x4ad)]:case p[_0x33ee25(0x448)][_0x33ee25(0x3b7)]:this[_0x33ee25(0x193)](),this['_clearCollaborationTimeoutTimer'](),this[_0x33ee25(0x339)][_0x33ee25(0x1cf)](_0x2bdc17);break;case p[_0x33ee25(0x448)][_0x33ee25(0x197)]:this[_0x33ee25(0x47b)][_0x33ee25(0x2d5)](_0x33ee25(0x431)+JSON[_0x33ee25(0x1f6)](_0x2bdc17)),this[_0x33ee25(0x339)][_0x33ee25(0x1cf)](_0x2bdc17);break;case p[_0x33ee25(0x448)]['COMMENT_UPDATE']:this[_0x33ee25(0x3e0)][_0x33ee25(0x2cd)](_0x2bdc17['data']),this[_0x33ee25(0x339)][_0x33ee25(0x1cf)](_0x2bdc17);break;default:this[_0x33ee25(0x339)]['next'](_0x2bdc17);}}catch(_0x21d8b7){this[_0x33ee25(0x47b)][_0x33ee25(0x2d5)](_0x21d8b7,_0x1fa4a1);}}['_onUserJoin'](_0x288f93){var _0x471655=_0x5231a7;this[_0x471655(0x162)]['updateMember'](this[_0x471655(0x36f)],_0x288f93['data']);}[_0x5231a7(0x2c9)](_0x8b101b){var _0x4f405f=_0x5231a7;this[_0x4f405f(0x162)][_0x4f405f(0x3de)](this[_0x4f405f(0x36f)],_0x8b101b[_0x4f405f(0x233)]['memberID']);}async['send'](_0x564983,_0x10b42f){var _0x20cbf7=_0x5231a7;if(this[_0x20cbf7(0x27f)]!==0x3||!this[_0x20cbf7(0x316)])throw new Error(_0x20cbf7(0x1e1));try{_0x564983['eventID']===p[_0x20cbf7(0x448)][_0x20cbf7(0x1d5)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x20cbf7(0x3dc)](_0x564983)),this['_socket'][_0x20cbf7(0x394)]({'cmd':W[_0x20cbf7(0x392)],'routeKey':_0x10b42f,'routeType':'','data':_0x564983});}catch(_0x513b93){this[_0x20cbf7(0x47b)][_0x20cbf7(0x2d5)](_0x513b93);}}[_0x5231a7(0x1f4)](){var _0x55a44d=_0x5231a7,_0xb12755;this[_0x55a44d(0x13a)]=setTimeout(()=>{var _0x577080=_0x55a44d;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0x577080(0x296)]({'id':Z[_0x577080(0x3d7)]});},(_0xb12755=this[_0x55a44d(0x17f)]['getConfig'](ke))!=null?_0xb12755:lt);}['_clearCollaborationTimeoutTimer'](){var _0x181f86=_0x5231a7;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x181f86(0x13a)]),this['_collaborationTimeoutTimer']=null);}[_0x5231a7(0x3dc)](_0xec34a0){var _0x2b8e65=_0x5231a7;if(!this['_shouldReportTelemetry'])return;const {data:_0x568602}=_0xec34a0,{unitID:_0x33fe82,changeset:_0xc188c6}=_0x568602,{mutations:_0x59751e,type:_0x5afeee}=_0xc188c6;this[_0x2b8e65(0x4b0)]={'unitId':_0x33fe82,'type':_0x5afeee,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Yt(_0x59751e)};}[_0x5231a7(0x193)](){var _0x278300=_0x5231a7;if(this[_0x278300(0x198)]){if(!this[_0x278300(0x4b0)]){this[_0x278300(0x47b)][_0x278300(0x2d5)](_0x278300(0x369),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x278300(0x4b0)][_0x278300(0x279)]=performance[_0x278300(0x36d)](),this[_0x278300(0x4b0)][_0x278300(0x2b2)]=this[_0x278300(0x4b0)][_0x278300(0x279)]-this[_0x278300(0x4b0)][_0x278300(0x319)],this['_telemetryService'][_0x278300(0x180)](Gt,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x5231a7(0x374)](){var _0x22bd09=_0x5231a7;this[_0x22bd09(0x4b0)]=null;}},exports['CollaborationSession']=Xt([se(0x2,a[_0x5231a7(0x251)]),se(0x3,a[_0x5231a7(0x1da)]),se(0x4,a['Inject'](a[_0x5231a7(0x179)])),se(0x5,a[_0x5231a7(0x4a4)](exports[_0x5231a7(0x439)])),se(0x6,a['Inject'](je)),se(0x7,a[_0x5231a7(0x4a4)](ee)),se(0x8,a[_0x5231a7(0x30a)](Rt[_0x5231a7(0x1ed)]))],exports[_0x5231a7(0x3f0)]);var Zt=Object[_0x5231a7(0x199)],Qt=(_0x789be9,_0x5021f9,_0x49c94c,_0x93b1ae)=>{var _0x6a2d68=_0x5231a7;for(var _0x4035fe=_0x93b1ae>0x1?void 0x0:_0x93b1ae?Zt(_0x5021f9,_0x49c94c):_0x5021f9,_0x2c59f1=_0x789be9[_0x6a2d68(0x395)]-0x1,_0x170485;_0x2c59f1>=0x0;_0x2c59f1--)(_0x170485=_0x789be9[_0x2c59f1])&&(_0x4035fe=_0x170485(_0x4035fe)||_0x4035fe);return _0x4035fe;},he=(_0x3a50fe,_0x50ce40)=>(_0x47e9ea,_0x2bace6)=>_0x50ce40(_0x47e9ea,_0x2bace6,_0x3a50fe);exports['CollaborationSessionService']=class extends a[_0x5231a7(0x285)]{constructor(_0x32afbf,_0x3457ae,_0x53c42d,_0x209f1d,_0x243ed1,_0x1fc3bd){var _0x16c3b9=_0x5231a7;super(),A(this,'_socket$',new j[(_0x16c3b9(0x4b3))](void 0x0)),A(this,'socket$',this['_socket$'][_0x16c3b9(0x42b)]()),A(this,_0x16c3b9(0x257),null),A(this,'_sessions',new Map()),A(this,'_status$',new j[(_0x16c3b9(0x4b3))](re['IDLE'])),A(this,_0x16c3b9(0x141),this[_0x16c3b9(0x48e)]['asObservable']()),A(this,'_socketReady',!0x1),A(this,_0x16c3b9(0x3ab)),A(this,_0x16c3b9(0x38b),0x0),A(this,'_sendHeartbeatTimer'),A(this,_0x16c3b9(0x300)),(this['_injector']=_0x32afbf,this[_0x16c3b9(0x47b)]=_0x3457ae,this[_0x16c3b9(0x17f)]=_0x53c42d,this[_0x16c3b9(0x2f3)]=_0x209f1d,this['_collaborationUIEventService']=_0x243ed1,this[_0x16c3b9(0x21d)]=_0x1fc3bd,this[_0x16c3b9(0x455)]());}get[_0x5231a7(0x316)](){var _0xc33cad=_0x5231a7;return this[_0xc33cad(0x402)]['getValue']();}[_0x5231a7(0x455)](){var _0x5144eb=_0x5231a7;this[_0x5144eb(0x21d)]&&this['disposeWithMe'](this['_networkConditionService'][_0x5144eb(0x450)][_0x5144eb(0x3d2)](_0x1439ad=>{var _0x1698d9=_0x5144eb;_0x1439ad&&!this[_0x1698d9(0x316)]&&this[_0x1698d9(0x45b)](),_0x1439ad||this['_onOffline']();}));}[_0x5231a7(0x26f)](){var _0x628d42=_0x5231a7;super[_0x628d42(0x26f)](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this[_0x628d42(0x372)](),this[_0x628d42(0x325)][_0x628d42(0x171)](_0x9f32d4=>_0x9f32d4[_0x628d42(0x26f)]()),this[_0x628d42(0x325)]['clear'](),this[_0x628d42(0x48e)][_0x628d42(0x264)]();}async[_0x5231a7(0x28a)](_0x7fb041){var _0x30a259=_0x5231a7;if(this['_sessions'][_0x30a259(0x3be)](_0x7fb041))return this[_0x30a259(0x325)][_0x30a259(0x200)](_0x7fb041);this[_0x30a259(0x3fe)]();const _0x4c4939=this[_0x30a259(0x25a)][_0x30a259(0x464)](exports[_0x30a259(0x3f0)],_0x7fb041,this[_0x30a259(0x402)][_0x30a259(0x42b)]());return this[_0x30a259(0x325)][_0x30a259(0x3c3)](_0x7fb041,_0x4c4939),_0x4c4939;}[_0x5231a7(0x3cb)](_0x14b048){var _0x3c2d71=_0x5231a7,_0x5a1044;const _0x21e45e=this[_0x3c2d71(0x325)][_0x3c2d71(0x200)](_0x14b048);_0x21e45e&&(this['_sessions'][_0x3c2d71(0x42e)](_0x14b048),_0x21e45e['close']()),this[_0x3c2d71(0x325)][_0x3c2d71(0x178)]||(_0x5a1044=this[_0x3c2d71(0x316)])==null||_0x5a1044[_0x3c2d71(0x41f)]();}['reconnect'](){var _0x240b4b=_0x5231a7;this[_0x240b4b(0x38b)]=0x0,this[_0x240b4b(0x383)](),this['_tryReconnect']();}[_0x5231a7(0x383)](){var _0x62afc8=_0x5231a7;this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x62afc8(0x3ab)]=null);}async[_0x5231a7(0x362)](){var _0x53c97b=_0x5231a7,_0x160096;const _0x2d999f=this[_0x53c97b(0x17f)][_0x53c97b(0x430)](Y),_0x5e6db3=(_0x160096=_0x2d999f==null?void 0x0:_0x2d999f['collabWebSocketUrl'])!=null?_0x160096:ht,_0x2ac379=await this[_0x53c97b(0x2f3)][_0x53c97b(0x2bb)](_0x5e6db3);return this['_candidateSocket']=_0x2ac379,_0x2ac379;}async[_0x5231a7(0x3fe)](){var _0x1d0a13=_0x5231a7,_0xfeb990,_0x5f5d13;try{const _0x2f7a66=(_0x5f5d13=(_0xfeb990=this['_socket'])!=null?_0xfeb990:this[_0x1d0a13(0x257)])!=null?_0x5f5d13:await this[_0x1d0a13(0x362)]();if(_0x2f7a66){const _0x4b21f8=_0x2f7a66[_0x1d0a13(0x394)];_0x2f7a66[_0x1d0a13(0x394)]=_0x3fa898=>(this[_0x1d0a13(0x2aa)](),_0x4b21f8[_0x1d0a13(0x1ef)](_0x2f7a66,[_0x3fa898])),_0x2f7a66[_0x1d0a13(0x204)][_0x1d0a13(0x3d2)](_0x3593f4=>this[_0x1d0a13(0x20e)](_0x2f7a66,_0x3593f4)),_0x2f7a66['error$'][_0x1d0a13(0x3e2)](V['take'](0x1))[_0x1d0a13(0x3d2)](_0x4d85de=>this[_0x1d0a13(0x47b)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x4d85de)),_0x2f7a66[_0x1d0a13(0x333)][_0x1d0a13(0x3e2)](V[_0x1d0a13(0x342)](0x1))['subscribe'](()=>{var _0x28afaa=_0x1d0a13;this[_0x28afaa(0x1f3)](_0x2f7a66);}),_0x2f7a66[_0x1d0a13(0x1fe)]['pipe'](V[_0x1d0a13(0x342)](0x1))[_0x1d0a13(0x3d2)](_0x3122a4=>{var _0x45bc3b=_0x1d0a13;this['_logService'][_0x45bc3b(0x419)](_0x45bc3b(0x3da),_0x45bc3b(0x379),_0x3122a4),this[_0x45bc3b(0x2b3)]();});}}catch(_0xd71306){this['_logService']['error'](_0xd71306),this[_0x1d0a13(0x2b3)]();}}[_0x5231a7(0x1f3)](_0xdeff24){var _0x255cbf=_0x5231a7;this[_0x255cbf(0x47b)][_0x255cbf(0x419)]('[CollaborationSessionService]',_0x255cbf(0x24f)),_0xdeff24[_0x255cbf(0x394)]({'cmd':W['HELLO']}),this[_0x255cbf(0x2aa)]();}['_onOffline'](){var _0x2dc1dc=_0x5231a7;this['_socketReady']=!0x1,this[_0x2dc1dc(0x257)]=null,this[_0x2dc1dc(0x48e)][_0x2dc1dc(0x1cf)](re[_0x2dc1dc(0x268)]),this[_0x2dc1dc(0x402)]['next'](null),this[_0x2dc1dc(0x1a8)](),this['_clearHeartbeatTimer']();}[_0x5231a7(0x2b3)](){var _0x5a7a04=_0x5231a7,_0x44babe;this[_0x5a7a04(0x2d3)](),this[_0x5a7a04(0x38b)]<((_0x44babe=this[_0x5a7a04(0x17f)]['getConfig'](ut))!=null?_0x44babe:Mt)?(this[_0x5a7a04(0x143)][_0x5a7a04(0x296)]({'id':Z[_0x5a7a04(0x38f)]}),this[_0x5a7a04(0x309)]()):this[_0x5a7a04(0x143)][_0x5a7a04(0x296)]({'id':Z[_0x5a7a04(0x378)]});}['_tryReconnect'](){var _0x51db8c=_0x5231a7,_0x234d9c;const _0x2b4fde=this[_0x51db8c(0x38b)],_0x3a4753=this['_configService'][_0x51db8c(0x430)](Y),_0x4f13e7=_0x2b4fde===0x0?0x0:((_0x234d9c=_0x3a4753==null?void 0x0:_0x3a4753[_0x51db8c(0x42c)])!=null?_0x234d9c:wt)*0x2**_0x2b4fde;this['_retryConnectingTimer']=setTimeout(()=>{var _0x1d3dac=_0x51db8c;clearTimeout(this['_retryConnectingTimer']),this[_0x1d3dac(0x3ab)]=null,this[_0x1d3dac(0x3fe)]();},_0x4f13e7),this[_0x51db8c(0x38b)]+=0x1;}['_onMessage'](_0x269e26,_0x2eacfd){var _0x1563be=_0x5231a7;const {cmd:_0x4f6c8d}=_0x2eacfd;_0x4f6c8d===W['HELLO']&&!this[_0x1563be(0x2c4)]&&(_0x269e26['memberID']=_0x2eacfd[_0x1563be(0x233)]['memberID'],this['_socket$']['next'](_0x269e26),this[_0x1563be(0x48e)][_0x1563be(0x1cf)](re[_0x1563be(0x172)]),this[_0x1563be(0x2c4)]=!0x0,this[_0x1563be(0x257)]=null),_0x4f6c8d===W[_0x1563be(0x452)]&&this[_0x1563be(0x1a8)](),this[_0x1563be(0x2aa)]();}[_0x5231a7(0x2aa)](){var _0x2b2e7d=_0x5231a7,_0x4e7f86;this['_clearHeartbeatTimer'](),this[_0x2b2e7d(0x382)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x4e7f86=this[_0x2b2e7d(0x17f)]['getConfig'](_t))!=null?_0x4e7f86:Pt);}[_0x5231a7(0x396)](){var _0x40fbd4=_0x5231a7;this[_0x40fbd4(0x316)][_0x40fbd4(0x394)]({'cmd':W[_0x40fbd4(0x452)]}),this['_waitForHeartbeatResponse']();}[_0x5231a7(0x2a4)](){var _0x478f20=_0x5231a7,_0x5a4568;this[_0x478f20(0x300)]=setTimeout(()=>this[_0x478f20(0x2b3)](),(_0x5a4568=this['_configService'][_0x478f20(0x430)](ke))!=null?_0x5a4568:lt);}[_0x5231a7(0x372)](){var _0x592dc9=_0x5231a7;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x592dc9(0x382)]=null);}[_0x5231a7(0x1a8)](){var _0xbef24a=_0x5231a7;this['_timeoutTimer']!=null&&(clearTimeout(this[_0xbef24a(0x300)]),this[_0xbef24a(0x300)]=null);}},exports['CollaborationSessionService']=Qt([he(0x0,a[_0x5231a7(0x4a4)](a[_0x5231a7(0x40a)])),he(0x1,a['ILogService']),he(0x2,a[_0x5231a7(0x1da)]),he(0x3,$e),he(0x4,a[_0x5231a7(0x4a4)](ee)),he(0x5,a[_0x5231a7(0x30a)](St))],exports[_0x5231a7(0x327)]);const K=a[_0x5231a7(0x1bd)](_0x5231a7(0x2dd));function ei(_0x5d8fd5){return'unit-cache-'+_0x5d8fd5;}var ti=Object['getOwnPropertyDescriptor'],ii=(_0x1844c1,_0x19be60,_0xaca12e,_0x3724f1)=>{var _0x5e240b=_0x5231a7;for(var _0x3385b0=_0x3724f1>0x1?void 0x0:_0x3724f1?ti(_0x19be60,_0xaca12e):_0x19be60,_0x3b5a58=_0x1844c1[_0x5e240b(0x395)]-0x1,_0x221bd4;_0x3b5a58>=0x0;_0x3b5a58--)(_0x221bd4=_0x1844c1[_0x3b5a58])&&(_0x3385b0=_0x221bd4(_0x3385b0)||_0x3385b0);return _0x3385b0;},Ue=(_0x48c624,_0x557d65)=>(_0xfcfbf1,_0x5ebb9a)=>_0x557d65(_0xfcfbf1,_0x5ebb9a,_0x48c624);function ni(_0x3fc0c2){var _0xb9c9c4=_0x5231a7;const {unitID:_0x1ab2eb,mutations:_0x35d082}=_0x3fc0c2;return{'unitId':_0x1ab2eb,'subUnitId':_0x35d082[0x0][_0xb9c9c4(0x437)][_0xb9c9c4(0x1ba)]};}exports['SheetTransformSelectionsService']=class{constructor(_0x59bca3,_0x2d2775,_0x440a2c){var _0x390289=_0x5231a7;this['_injector']=_0x59bca3,this[_0x390289(0x39b)]=_0x2d2775,this[_0x390289(0x194)]=_0x440a2c;}[_0x5231a7(0x329)](_0x1ea116){var _0x3e3992=_0x5231a7,_0x56b502,_0x58d4e8,_0x53451d,_0x2dc285;const _0x12b47d=this[_0x3e3992(0x25a)][_0x3e3992(0x200)](X[_0x3e3992(0x2c3)]),{unitId:_0x47990c,subUnitId:_0x2d58ec}=ni(_0x1ea116),_0x2edba8=_0x12b47d==null?void 0x0:_0x12b47d[_0x3e3992(0x20c)](_0x47990c)['getCurrentSelections'](),_0x2bbc01=(_0x58d4e8=(_0x56b502=this[_0x3e3992(0x194)][_0x3e3992(0x2fe)](_0x47990c))==null?void 0x0:_0x56b502[_0x3e3992(0x46c)]())==null?void 0x0:_0x58d4e8[_0x3e3992(0x29f)]();if(_0x2edba8[_0x3e3992(0x395)]===0x0||!_0x47990c||!_0x2d58ec)return;const _0x2cbbdf=[{'id':X[_0x3e3992(0x479)]['id'],'params':{'unitId':_0x47990c,'subUnitId':_0x2bbc01,'selections':a[_0x3e3992(0x207)][_0x3e3992(0x177)](_0x2edba8)}}],_0x58c261=this[_0x3e3992(0x39b)][_0x3e3992(0x208)](_0x1ea116,_0x2cbbdf);if(!p[_0x3e3992(0x1be)](_0x58c261))throw _0x58c261['error'];const _0x3c10ae=(_0x2dc285=(_0x53451d=_0x58c261[_0x3e3992(0x3bb)][0x0])==null?void 0x0:_0x53451d[_0x3e3992(0x437)])==null?void 0x0:_0x2dc285['selections'];if(Array[_0x3e3992(0x217)](_0x3c10ae)&&_0x3c10ae[_0x3e3992(0x395)]){if(_0x3c10ae[_0x3e3992(0x395)]===_0x2cbbdf[0x0]['params']['selections']['length']&&_0x3c10ae[_0x3e3992(0x14f)]((_0x3479bc,_0x275bd8)=>a[_0x3e3992(0x238)]['equals'](_0x3479bc[_0x3e3992(0x1de)],_0x2cbbdf[0x0][_0x3e3992(0x437)][_0x3e3992(0x3e9)][_0x275bd8][_0x3e3992(0x1de)])))return;this[_0x3e3992(0x25a)][_0x3e3992(0x200)](a[_0x3e3992(0x3fc)])['executeCommand'](X[_0x3e3992(0x479)]['id'],{'unitId':_0x47990c,'subUnitId':_0x2bbc01,'selections':_0x3c10ae});}}},exports['SheetTransformSelectionsService']=ii([Ue(0x0,a[_0x5231a7(0x4a4)](a[_0x5231a7(0x40a)])),Ue(0x1,p[_0x5231a7(0x24c)]),Ue(0x2,a[_0x5231a7(0x32f)])],exports[_0x5231a7(0x35f)]);const de=a['createIdentifier'](_0x5231a7(0x3ae));var He=(_0x1c4cd1=>(_0x1c4cd1[_0x1c4cd1[_0x5231a7(0x205)]=0x0]=_0x5231a7(0x205),_0x1c4cd1[_0x1c4cd1['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x1c4cd1))(He||{});const ri=new Set([X[_0x5231a7(0x47f)]['id']]);function Ge(_0xbf5862,_0x1db810,_0x4e5d26,_0x4223ba,_0x23b5f4){var _0x1e4ce7=_0x5231a7,_0x2977e1,_0x182038,_0x339ce8,_0x50a6d6;const _0x8b3b9c=[];for(const _0x4bf546 of _0xbf5862)if(ri[_0x1e4ce7(0x3be)](_0x4bf546['id'])){if(_0x8b3b9c[_0x1e4ce7(0x395)]>0x0)break;_0x8b3b9c[_0x1e4ce7(0x445)](_0x4bf546);break;}else _0x8b3b9c[_0x1e4ce7(0x445)](_0x4bf546);const _0x25d31=(_0x182038=(_0x2977e1=_0x23b5f4[_0x1e4ce7(0x400)]())==null?void 0x0:_0x2977e1['userID'])!=null?_0x182038:'unknown',_0x1e05a7=(_0x50a6d6=(_0x339ce8=_0x23b5f4['getCurrentUser']())==null?void 0x0:_0x339ce8[_0x1e4ce7(0x3f7)])!=null?_0x50a6d6:_0x1e4ce7(0x23e);return{'changeset':{'unitID':_0x1db810,'type':p[_0x1e4ce7(0x370)](_0x4e5d26[_0x1e4ce7(0x2e9)](_0x1db810)),'baseRev':_0x4223ba[_0x1e4ce7(0x140)](_0x1db810),'revision':0x0,'userID':_0x25d31,'memberID':_0x1e05a7,'mutations':_0x8b3b9c},'pendingMutations':_0xbf5862[_0x1e4ce7(0x32c)](_0x8b3b9c[_0x1e4ce7(0x395)])};}function si(_0x5ba83c,_0x3a1eb4,_0x5ba32e,_0x4e9d7b,_0x60e103){var _0x20f23f=_0x5231a7,_0x4c8766,_0xf7638f,_0x1e3ba4,_0x4cc394;const _0x57621d=[_0x5ba83c[_0x20f23f(0x1af)]((_0x10acdc,_0x13c30c)=>{var _0xfaba32=_0x20f23f,_0x55cd72;const {id:_0x3c3aa6}=_0x10acdc,{id:_0xfb93e0,type:_0x48fad4}=_0x13c30c,_0x542ba5=(_0x55cd72=_0x10acdc[_0xfaba32(0x437)])!=null?_0x55cd72:{'actions':null},_0x5971f2=_0x13c30c['params'];if(_0x3c3aa6&&_0x3c3aa6!==_0xfb93e0)throw new Error(_0xfaba32(0x1c3)+_0x3c3aa6+'\x20-\x20'+_0xfb93e0+'.');return{..._0x10acdc,'id':_0xfb93e0,'type':_0x48fad4,'params':{'unitId':_0x5971f2['unitId'],'textRanges':_0x5971f2[_0xfaba32(0x411)],'actions':a['JSONX'][_0xfaba32(0x2ba)](_0x542ba5['actions'],_0x5971f2[_0xfaba32(0x18c)])}};},{})],_0x3e9258=(_0xf7638f=(_0x4c8766=_0x60e103[_0x20f23f(0x400)]())==null?void 0x0:_0x4c8766['userID'])!=null?_0xf7638f:_0x20f23f(0x23e),_0x4536dc=(_0x4cc394=(_0x1e3ba4=_0x60e103[_0x20f23f(0x400)]())==null?void 0x0:_0x1e3ba4[_0x20f23f(0x3f7)])!=null?_0x4cc394:_0x20f23f(0x23e);return{'changeset':{'unitID':_0x3a1eb4,'type':p['mapDocumentTypeToUniverType'](_0x5ba32e['getUnitType'](_0x3a1eb4)),'baseRev':_0x4e9d7b[_0x20f23f(0x140)](_0x3a1eb4),'revision':0x0,'userID':_0x3e9258,'memberID':_0x4536dc,'mutations':_0x57621d},'pendingMutations':[]};}function pt(_0x4f616c,_0x514919){var _0x57f7b1=_0x5231a7;const _0x467038=new j[(_0x57f7b1(0x3f9))](0x1);return setTimeout(()=>_0x467038[_0x57f7b1(0x1cf)](_0x514919),_0x4f616c),_0x467038[_0x57f7b1(0x42b)]()['pipe'](j[_0x57f7b1(0x342)](0x1));}const oi={'id':X[_0x5231a7(0x1e2)]['id'],'type':a['CommandType']['MUTATION'],'params':{}};var ai=Object['getOwnPropertyDescriptor'],ae=(_0xd46293,_0x23aa2a,_0x351d80,_0x4fbb95)=>{var _0x1f0a01=_0x5231a7;for(var _0x5369f2=_0x4fbb95>0x1?void 0x0:_0x4fbb95?ai(_0x23aa2a,_0x351d80):_0x23aa2a,_0x11ad6=_0xd46293[_0x1f0a01(0x395)]-0x1,_0x183736;_0x11ad6>=0x0;_0x11ad6--)(_0x183736=_0xd46293[_0x11ad6])&&(_0x5369f2=_0x183736(_0x5369f2)||_0x5369f2);return _0x5369f2;},w=(_0x39e92c,_0xaa5583)=>(_0x4a7a94,_0x5c1bf0)=>_0xaa5583(_0x4a7a94,_0x5c1bf0,_0x39e92c),Be=(_0x52aa8c=>(_0x52aa8c[_0x5231a7(0x21f)]=_0x5231a7(0x360),_0x52aa8c['SYNCED']='synced',_0x52aa8c[_0x5231a7(0x422)]='pending',_0x52aa8c[_0x5231a7(0x239)]=_0x5231a7(0x443),_0x52aa8c['AWAITING_WITH_PENDING']=_0x5231a7(0x1f1),_0x52aa8c[_0x5231a7(0x39d)]=_0x5231a7(0x20d),_0x52aa8c[_0x5231a7(0x32b)]=_0x5231a7(0x46d),_0x52aa8c[_0x5231a7(0x268)]=_0x5231a7(0x267),_0x52aa8c))(Be||{});const mt=0xea60;class ce{constructor(_0xd8b5ee,_0x1f9a1b,_0x5308e6,_0x2066c5,_0x1bb7b6,_0x217afa,_0x881b2f,_0x315805,_0x57821c){var _0x52c463=_0x5231a7;A(this,_0x52c463(0x3b2),null),A(this,_0x52c463(0x244),[]),(this[_0x52c463(0x19e)]=_0xd8b5ee,this[_0x52c463(0x2a7)]=_0x1f9a1b,this[_0x52c463(0x295)]=_0x1bb7b6,this[_0x52c463(0x390)]=_0x217afa,this[_0x52c463(0x16d)]=_0x881b2f,this['_revisionService']=_0x315805,this['_localCacheService']=_0x57821c,this[_0x52c463(0x3b2)]=_0x5308e6,this[_0x52c463(0x244)]=_0x2066c5);}[_0x5231a7(0x19a)](_0x213928){var _0x1c7875=_0x5231a7;const _0x156fba=this[_0x1c7875(0x20b)][_0x1c7875(0x140)](this['unitID']);return _0x213928['revision']>_0x156fba+0x1?(this[_0x1c7875(0x295)][_0x1c7875(0x2b6)]({'from':_0x156fba,'to':_0x213928['revision']-0x1}),!0x0):!0x1;}[_0x5231a7(0x282)](_0x18580c){var _0x579c36=_0x5231a7;this[_0x579c36(0x16d)]['transformUndoRedo'](this[_0x579c36(0x19e)],_0x18580c);}['_transformSelections'](_0x52822f){var _0x566509=_0x5231a7,_0x368b0e,_0xe346b3;(_0xe346b3=(_0x368b0e=this[_0x566509(0x295)])['onTransformSelections'])==null||_0xe346b3[_0x566509(0x1d4)](_0x368b0e,_0x52822f);}[_0x5231a7(0x1f7)](_0x4f31da){var _0x203b1e=_0x5231a7,_0x448c19,_0x5690e3;return(_0x5690e3=(_0x448c19=this[_0x203b1e(0x295)])['onTransformIME'])==null?void 0x0:_0x5690e3[_0x203b1e(0x1d4)](_0x448c19,_0x4f31da);}[_0x5231a7(0x3a5)](_0xaba8ba){var _0x392e41=_0x5231a7,_0x1277e6,_0x55895f;return(_0x55895f=(_0x1277e6=this[_0x392e41(0x295)])['onTransformState'])==null?void 0x0:_0x55895f[_0x392e41(0x1d4)](_0x1277e6,_0xaba8ba);}[_0x5231a7(0x2b7)](_0x36ed8d){var _0x380e46=_0x5231a7,_0x575d93,_0x2ecda1,_0x239dff;return(_0x239dff=(_0x2ecda1=(_0x575d93=this[_0x380e46(0x295)])[_0x380e46(0x247)])==null?void 0x0:_0x2ecda1[_0x380e46(0x1d4)](_0x575d93,_0x36ed8d))!=null?_0x239dff:_0x36ed8d;}[_0x5231a7(0x46f)](_0x29d609){var _0x33cabd=_0x5231a7,_0x499254,_0x176463,_0xff5c7f;return(_0xff5c7f=(_0x176463=(_0x499254=this[_0x33cabd(0x295)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x176463[_0x33cabd(0x1d4)](_0x499254,_0x29d609))!=null?_0xff5c7f:_0x29d609;}[_0x5231a7(0x371)](_0x56e26c){var _0x48ae1d=_0x5231a7,_0x52014c,_0x434c7b;if(this[_0x48ae1d(0x2a7)]===J[_0x48ae1d(0x14b)]){const {unitID:_0x2e2ce2,mutations:_0x50539c,memberID:_0x18ad63}=_0x56e26c,_0x51dada=_0x50539c[0x0][_0x48ae1d(0x437)][_0x48ae1d(0x411)];Array[_0x48ae1d(0x217)](_0x51dada)&&_0x51dada[_0x48ae1d(0x395)]>0x0&&((_0x434c7b=(_0x52014c=this['_handler'])[_0x48ae1d(0x33b)])==null||_0x434c7b[_0x48ae1d(0x1d4)](_0x52014c,{'unitID':_0x2e2ce2,'memberID':_0x18ad63,'textRanges':_0x51dada}));}}[_0x5231a7(0x3e6)](){var _0x12d2ea=_0x5231a7,_0x28632f;(_0x28632f=this['_localCacheService'])==null||_0x28632f['updateOfflineData'](this[_0x12d2ea(0x19e)],this[_0x12d2ea(0x2a7)],this['_awaitingChangeset'],this[_0x12d2ea(0x244)]);}[_0x5231a7(0x2d9)](){var _0x47dc93=_0x5231a7;return this['_revisionService'][_0x47dc93(0x140)](this['unitID']);}[_0x5231a7(0x3e1)](){var _0x7b9357=_0x5231a7;this[_0x7b9357(0x20b)]['incrementRevOfUnit'](this[_0x7b9357(0x19e)]);}[_0x5231a7(0x38d)](_0x5926ad){var _0x248ac2=_0x5231a7,_0x5e0b84;let _0x2042c9=this[_0x248ac2(0x2b7)](_0x5926ad);_0x2042c9=this[_0x248ac2(0x46f)](_0x2042c9);const _0x53ce6c=a[_0x248ac2(0x3ee)](_0x2042c9[_0x248ac2(0x15f)],this[_0x248ac2(0x390)],{'fromCollab':!0x0});if(!_0x53ce6c[_0x248ac2(0x33d)])throw _0x53ce6c[_0x248ac2(0x2d5)]instanceof Error?_0x53ce6c[_0x248ac2(0x2d5)]:new Error((_0x5e0b84=_0x53ce6c['error'])!=null?_0x5e0b84:_0x248ac2(0x266));this[_0x248ac2(0x1f7)](_0x2042c9),this[_0x248ac2(0x3a5)](_0x2042c9),this[_0x248ac2(0x282)](_0x5926ad),this['_transformSelections'](_0x2042c9),this[_0x248ac2(0x371)](_0x2042c9),this['_incrementRevisionNumber']();}}exports['SyncedState']=class extends ce{constructor(_0x3c4e19,_0x4cc584,_0x49a81f,_0x483eb7,_0x1cacd2,_0x5497ad,_0x17bc11,_0x2cccae,_0x25c84b,_0x731bf9){var _0x158000=_0x5231a7;super(_0x3c4e19,_0x4cc584,null,[],_0x49a81f,_0x17bc11,_0x5497ad,_0x483eb7,_0x731bf9),A(this,_0x158000(0x468),_0x158000(0x367)),(this['_injector']=_0x1cacd2,this[_0x158000(0x47b)]=_0x2cccae,this['_transformService']=_0x25c84b,this[_0x158000(0x2ef)]=_0x731bf9);}[_0x5231a7(0x43a)](_0xf32f8d){var _0x2d6356=_0x5231a7;const _0x192062=this[_0x2d6356(0x25a)][_0x2d6356(0x464)](exports[_0x2d6356(0x47c)],this[_0x2d6356(0x19e)],this[_0x2d6356(0x2a7)],[_0xf32f8d],this['_handler']);return _0x192062[_0x2d6356(0x341)](),_0x192062[_0x2d6356(0x3e6)](),_0x192062;}[_0x5231a7(0x1ff)](_0x587739){var _0x5a84d0=_0x5231a7;if(this[_0x5a84d0(0x19a)](_0x587739))return this[_0x5a84d0(0x25a)][_0x5a84d0(0x464)](exports[_0x5a84d0(0x344)],this[_0x5a84d0(0x19e)],this[_0x5a84d0(0x2a7)],null,[],null,[_0x587739],this[_0x5a84d0(0x295)]);try{const _0x1a898c=this['_transformService'][_0x5a84d0(0x208)](_0x587739,[oi]);if(p[_0x5a84d0(0x1be)](_0x1a898c)){const {c1Prime:_0x34c978}=_0x1a898c;return this[_0x5a84d0(0x38d)](_0x34c978),this;}throw _0x1a898c['error'];}catch(_0x57636f){return this['_logService'][_0x5a84d0(0x2d5)](_0x57636f),this[_0x5a84d0(0x406)](!0x1);}}[_0x5231a7(0x406)](_0x5d6cfb){var _0x3829e0=_0x5231a7;return this['_injector'][_0x3829e0(0x464)](exports[_0x3829e0(0x149)],this[_0x3829e0(0x19e)],this[_0x3829e0(0x2a7)],null,[],this[_0x3829e0(0x295)],_0x5d6cfb);}[_0x5231a7(0x213)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x5231a7(0x27d)](){return this;}[_0x5231a7(0x2e4)](){var _0x53286e=_0x5231a7;return this[_0x53286e(0x25a)][_0x53286e(0x464)](exports[_0x53286e(0x3fb)],this[_0x53286e(0x19e)],this[_0x53286e(0x2a7)],null,[],this[_0x53286e(0x295)]);}['toggleOnline'](){return this;}[_0x5231a7(0x2b0)](){var _0x2a750d=_0x5231a7;throw new Error(_0x2a750d(0x481));}[_0x5231a7(0x181)](){var _0x180dbc=_0x5231a7;const _0x3a991e=this[_0x180dbc(0x20b)]['getCurrentRevOfUnit'](this[_0x180dbc(0x19e)]);return this[_0x180dbc(0x295)][_0x180dbc(0x2b6)]({'from':_0x3a991e,'to':0x0}),this[_0x180dbc(0x25a)][_0x180dbc(0x464)](exports[_0x180dbc(0x344)],this['unitID'],this[_0x180dbc(0x2a7)],null,[],null,[],this['_handler']);}},exports[_0x5231a7(0x148)]=ae([w(0x3,a['Inject'](p['RevisionService'])),w(0x4,a[_0x5231a7(0x4a4)](a[_0x5231a7(0x40a)])),w(0x5,a[_0x5231a7(0x477)]),w(0x6,a['ICommandService']),w(0x7,a[_0x5231a7(0x251)]),w(0x8,p['ITransformService']),w(0x9,a['Optional'](K))],exports[_0x5231a7(0x148)]),exports['PendingState']=class extends ce{constructor(_0x443df4,_0xfd2d28,_0x341903,_0x5e8692,_0x2f9b06,_0x3f8898,_0x41d033,_0xf5e98c,_0x5375a5,_0x14cc93,_0x3edd0f,_0x5d2b18,_0x3e2c3f,_0x14716c){var _0x4dd50f=_0x5231a7;super(_0x443df4,_0xfd2d28,null,_0x341903,_0x5e8692,_0x5375a5,_0x3e2c3f,_0x3f8898,_0x14716c),A(this,'status',_0x4dd50f(0x49b)),A(this,_0x4dd50f(0x240),null),A(this,_0x4dd50f(0x2d1),null),(this[_0x4dd50f(0x25a)]=_0x2f9b06,this['_memberService']=_0x41d033,this[_0x4dd50f(0x47b)]=_0xf5e98c,this['_configService']=_0x14cc93,this[_0x4dd50f(0x39b)]=_0x3edd0f,this[_0x4dd50f(0x1e7)]=_0x5d2b18);}[_0x5231a7(0x43a)](_0x5919ea){var _0xfb979=_0x5231a7;return this[_0xfb979(0x244)][_0xfb979(0x445)](_0x5919ea),this[_0xfb979(0x3e6)](),this;}[_0x5231a7(0x1ff)](_0x15c372){var _0x33c8a2=_0x5231a7;if(this[_0x33c8a2(0x19a)](_0x15c372))return this[_0x33c8a2(0x391)](),this[_0x33c8a2(0x25a)]['createInstance'](exports[_0x33c8a2(0x344)],this[_0x33c8a2(0x19e)],this[_0x33c8a2(0x2a7)],null,this[_0x33c8a2(0x244)],null,[_0x15c372],this[_0x33c8a2(0x295)]);try{const _0x4b107d=this['_transformService']['transformMutationsWithChangeset'](_0x15c372,this[_0x33c8a2(0x244)]);if(p[_0x33c8a2(0x1be)](_0x4b107d)){const {c1Prime:_0x540966,m2Prime:_0x3e4429}=_0x4b107d;this[_0x33c8a2(0x38d)](_0x540966);const _0x1adfe5=this[_0x33c8a2(0x25a)][_0x33c8a2(0x464)](exports[_0x33c8a2(0x47c)],this[_0x33c8a2(0x19e)],this[_0x33c8a2(0x2a7)],_0x3e4429,this[_0x33c8a2(0x295)]);this['_clearScheduledTask']();const _0x51e23b=new Date()[_0x33c8a2(0x1a4)](),_0x578791=this[_0x33c8a2(0x240)]?Math[_0x33c8a2(0x38e)](this[_0x33c8a2(0x240)]-_0x51e23b,0x0):this['_getSendChangesetTimeout']();return _0x1adfe5['_schedule'](_0x578791),_0x1adfe5;}throw _0x4b107d['error'];}catch(_0x400553){return this['_logService'][_0x33c8a2(0x2d5)](_0x400553),this[_0x33c8a2(0x406)](!0x1);}}[_0x5231a7(0x213)](){var _0x4a60ca=_0x5231a7;throw new Error(_0x4a60ca(0x1bf));}[_0x5231a7(0x24e)](){var _0x3c5802=_0x5231a7;throw new Error(_0x3c5802(0x349));}['onRemoteRetry'](){return this;}[_0x5231a7(0x2e4)](){var _0x54a3c9=_0x5231a7;return this['_clearScheduledTask'](),this[_0x54a3c9(0x25a)][_0x54a3c9(0x464)](exports[_0x54a3c9(0x3fb)],this['unitID'],this[_0x54a3c9(0x2a7)],null,this['_pendingMutations'],this[_0x54a3c9(0x295)]);}['toggleOnline'](){return this;}[_0x5231a7(0x341)](_0x2eb156){var _0x5c181f=_0x5231a7;const _0x4f4cfa=_0x2eb156!=null?_0x2eb156:this[_0x5c181f(0x2b4)]();this[_0x5c181f(0x240)]=new Date()[_0x5c181f(0x1a4)]()+_0x4f4cfa,this[_0x5c181f(0x2d1)]=setTimeout(()=>{var _0x279b55=_0x5c181f;this['_clearScheduledTask']();let _0x150d8a=null;switch(this[_0x279b55(0x2a7)]){case J['UNIVER_SHEET']:{_0x150d8a=Ge(this[_0x279b55(0x244)],this['unitID'],this[_0x279b55(0x1e7)],this[_0x279b55(0x20b)],this[_0x279b55(0x162)]);break;}case J[_0x279b55(0x14b)]:{this[_0x279b55(0x244)][_0x279b55(0x14f)](_0x32afb4=>_0x32afb4['id']===ct[_0x279b55(0x42a)]['id'])?_0x150d8a=si(this['_pendingMutations'],this[_0x279b55(0x19e)],this['_univerInstanceService'],this[_0x279b55(0x20b)],this[_0x279b55(0x162)]):_0x150d8a=Ge(this[_0x279b55(0x244)],this[_0x279b55(0x19e)],this[_0x279b55(0x1e7)],this[_0x279b55(0x20b)],this[_0x279b55(0x162)]);break;}default:throw new Error(_0x279b55(0x2cc)+this[_0x279b55(0x2a7)]+'\x20in\x20_schedule.');}const {changeset:_0x21150c,pendingMutations:_0x57cff7}=_0x150d8a;this[_0x279b55(0x295)][_0x279b55(0x498)](_0x21150c);const _0x53913a=_0x57cff7['length']?this['_injector'][_0x279b55(0x464)](exports[_0x279b55(0x3e3)],this[_0x279b55(0x19e)],this[_0x279b55(0x2a7)],_0x21150c,_0x57cff7,this['_handler'],void 0x0):this[_0x279b55(0x25a)]['createInstance'](exports['AwaitingState'],this['unitID'],this[_0x279b55(0x2a7)],_0x21150c,this[_0x279b55(0x295)]);_0x53913a['_updateLocalCache'](),this['_handler'][_0x279b55(0x1ac)](this,_0x53913a);},_0x4f4cfa);}['_getSendChangesetTimeout'](){var _0x532a55=_0x5231a7,_0x1aaffd;const _0x3d4b9a=this['_configService']['getConfig'](Y);return(_0x1aaffd=_0x3d4b9a==null?void 0x0:_0x3d4b9a[_0x532a55(0x26a)])!=null?_0x1aaffd:Ut;}[_0x5231a7(0x2b0)](){var _0x38a66d=_0x5231a7;throw new Error(_0x38a66d(0x40e));}['_clearScheduledTask'](){var _0x5176fc=_0x5231a7;this[_0x5176fc(0x2d1)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x5176fc(0x2d1)]=null);}['_onConflict'](_0x444aec){var _0x18c9b1=_0x5231a7;return this['_clearScheduledTask'](),this[_0x18c9b1(0x25a)][_0x18c9b1(0x464)](exports[_0x18c9b1(0x149)],this[_0x18c9b1(0x19e)],this[_0x18c9b1(0x2a7)],null,this[_0x18c9b1(0x244)],this[_0x18c9b1(0x295)],_0x444aec);}},exports[_0x5231a7(0x47c)]=ae([w(0x4,a[_0x5231a7(0x4a4)](a['Injector'])),w(0x5,a[_0x5231a7(0x4a4)](p[_0x5231a7(0x190)])),w(0x6,a['Inject'](exports['MemberService'])),w(0x7,a['ILogService']),w(0x8,a[_0x5231a7(0x3fc)]),w(0x9,a[_0x5231a7(0x1da)]),w(0xa,p[_0x5231a7(0x24c)]),w(0xb,a['IUniverInstanceService']),w(0xc,a[_0x5231a7(0x477)]),w(0xd,a[_0x5231a7(0x30a)](K))],exports[_0x5231a7(0x47c)]),exports[_0x5231a7(0x467)]=class extends ce{constructor(_0x34c032,_0x43e5a7,_0x455a50,_0x136c89,_0x365491,_0x5e6337,_0x224b43,_0x191223,_0xdf075a,_0x45d605,_0x1649f7){var _0xa710f3=_0x5231a7;super(_0x34c032,_0x43e5a7,_0x455a50,[],_0x136c89,_0x224b43,_0x45d605,_0x5e6337,_0x1649f7),A(this,_0xa710f3(0x468),_0xa710f3(0x443)),A(this,_0xa710f3(0x1f2),0x0),A(this,'_resendTimer'),A(this,'_sender'),(this[_0xa710f3(0x25a)]=_0x365491,this[_0xa710f3(0x47b)]=_0x191223,this[_0xa710f3(0x39b)]=_0xdf075a);}['appendMutation'](_0x4dde95){var _0x48d2ad=_0x5231a7;this[_0x48d2ad(0x391)]();const _0x46477=this[_0x48d2ad(0x25a)][_0x48d2ad(0x464)](exports['AwaitingWithPendingState'],this[_0x48d2ad(0x19e)],this[_0x48d2ad(0x2a7)],this['_awaitingChangeset'],[_0x4dde95],this[_0x48d2ad(0x295)],this[_0x48d2ad(0x2a8)]);return _0x46477[_0x48d2ad(0x3e6)](),_0x46477;}[_0x5231a7(0x1ff)](_0x4f4e03){var _0x268297=_0x5231a7;if(this['_checkMissing'](_0x4f4e03))return this[_0x268297(0x391)](),this[_0x268297(0x25a)]['createInstance'](exports[_0x268297(0x344)],this[_0x268297(0x19e)],this[_0x268297(0x2a7)],this['_awaitingChangeset'],[],null,[_0x4f4e03],this[_0x268297(0x295)]);try{const _0x2a1ace=this[_0x268297(0x39b)][_0x268297(0x1d1)]([_0x4f4e03],[this[_0x268297(0x3b2)]],!0x1);if(p[_0x268297(0x1b7)](_0x2a1ace)){const {c1Prime:_0x22ad13,c2Prime:_0x3ac6cc}=_0x2a1ace;this['_executeRemoteChangeset'](_0x22ad13[0x0]),_0x3ac6cc[0x0][_0x268297(0x3cd)]=this[_0x268297(0x2d9)](),this['_clearScheduledTask']();const _0x4cccc7=this[_0x268297(0x25a)]['createInstance'](exports[_0x268297(0x467)],this['unitID'],this['type'],_0x3ac6cc[0x0],this[_0x268297(0x295)]);return _0x4cccc7[_0x268297(0x3e6)](),_0x4cccc7;}return this[_0x268297(0x406)](!0x1);}catch(_0x1f022a){return this[_0x268297(0x47b)][_0x268297(0x2d5)](_0x1f022a),this['_onConflict'](!0x1);}}[_0x5231a7(0x213)](_0x4fd85a){var _0x511c9e=_0x5231a7;this[_0x511c9e(0x391)]();const _0x508ce0=this['_revisionService'][_0x511c9e(0x140)](this[_0x511c9e(0x19e)]);if(_0x4fd85a[_0x511c9e(0x1a5)]<_0x508ce0-0x1)return this;if(this[_0x511c9e(0x19a)](_0x4fd85a))return this[_0x511c9e(0x25a)][_0x511c9e(0x464)](exports[_0x511c9e(0x344)],this[_0x511c9e(0x19e)],this[_0x511c9e(0x2a7)],null,[],this[_0x511c9e(0x3b2)],[],this[_0x511c9e(0x295)]);this[_0x511c9e(0x3e1)]();const _0x3e4ea4=this[_0x511c9e(0x25a)]['createInstance'](exports[_0x511c9e(0x148)],this['unitID'],this['type'],this[_0x511c9e(0x295)]);return _0x3e4ea4[_0x511c9e(0x3e6)](),_0x3e4ea4;}[_0x5231a7(0x24e)](_0x4f3893){var _0x20b7b5=_0x5231a7;return this['_onConflict'](!!(_0x4f3893!=null&&_0x4f3893[_0x20b7b5(0x365)]));}['onRemoteRetry'](_0x707e93){var _0x36b33a=_0x5231a7;return this[_0x36b33a(0x1f2)]>mt?this[_0x36b33a(0x2e4)]():(this[_0x36b33a(0x2a8)]=pt(this['_resendTimeout'],{'timeout':this[_0x36b33a(0x1f2)],'reqId':_0x707e93[_0x36b33a(0x226)]}),this[_0x36b33a(0x322)]=this[_0x36b33a(0x2a8)]['subscribe'](({reqId:_0x3593d8,timeout:_0xc17615})=>{var _0x38d096=_0x36b33a;this[_0x38d096(0x43d)](_0x3593d8,_0xc17615);}),this);}['toggleOffline'](){var _0x42c49d=_0x5231a7;return this['_clearScheduledTask'](),this['_injector']['createInstance'](exports[_0x42c49d(0x3fb)],this[_0x42c49d(0x19e)],this[_0x42c49d(0x2a7)],this[_0x42c49d(0x3b2)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x5231a7(0x2b0)](){var _0x505148=_0x5231a7;this[_0x505148(0x295)]['onSendChangeset'](this[_0x505148(0x3b2)]);}[_0x5231a7(0x406)](_0x13e900){var _0x1f1675=_0x5231a7;return this['_clearScheduledTask'](),this[_0x1f1675(0x25a)][_0x1f1675(0x464)](exports[_0x1f1675(0x149)],this['unitID'],this['type'],this[_0x1f1675(0x3b2)],[],this[_0x1f1675(0x295)],_0x13e900);}[_0x5231a7(0x43d)](_0x1c7dc4,_0x172afc){var _0x319211=_0x5231a7,_0x5a5587;_0x1c7dc4===((_0x5a5587=this['_awaitingChangeset'])==null?void 0x0:_0x5a5587[_0x319211(0x226)])&&(this[_0x319211(0x2b0)](),this[_0x319211(0x1f2)]=_0x172afc===0x0?0x3e8:_0x172afc*0x2);}['_clearScheduledTask'](){var _0x4b543f=_0x5231a7,_0x5dc9c2;(_0x5dc9c2=this[_0x4b543f(0x322)])==null||_0x5dc9c2[_0x4b543f(0x1b0)](),this[_0x4b543f(0x1f2)]=0x0;}},exports[_0x5231a7(0x467)]=ae([w(0x4,a['Inject'](a['Injector'])),w(0x5,a[_0x5231a7(0x4a4)](p['RevisionService'])),w(0x6,a['ICommandService']),w(0x7,a['ILogService']),w(0x8,p['ITransformService']),w(0x9,a[_0x5231a7(0x477)]),w(0xa,a['Optional'](K))],exports['AwaitingState']),exports[_0x5231a7(0x3e3)]=class extends ce{constructor(_0x476d91,_0x4737fd,_0x57512c,_0x409afc,_0x455be8,_0xe0342,_0x251c29,_0x1d270d,_0x7622a0,_0x489b9a,_0x361f15,_0xaeca06,_0x5e4d06){var _0x56f2ac=_0x5231a7;super(_0x476d91,_0x4737fd,_0x57512c,_0x409afc,_0x455be8,_0x7622a0,_0xaeca06,_0x1d270d,_0x5e4d06),A(this,_0x56f2ac(0x468),'awaiting_with_pending'),A(this,_0x56f2ac(0x1f2),0x0),A(this,'_resendTimer'),A(this,'_sender'),(this[_0x56f2ac(0x25a)]=_0x251c29,this[_0x56f2ac(0x47b)]=_0x489b9a,this[_0x56f2ac(0x39b)]=_0x361f15,this[_0x56f2ac(0x2ef)]=_0x5e4d06,_0xe0342&&(this['_resendTimer']=_0xe0342,this['_sender']=this[_0x56f2ac(0x2a8)][_0x56f2ac(0x3d2)](({reqId:_0x37358a,timeout:_0x29d11e})=>{var _0x1256b4=_0x56f2ac;this[_0x1256b4(0x43d)](_0x37358a,_0x29d11e);})));}[_0x5231a7(0x43a)](_0x4d6c2f){var _0x20171f=_0x5231a7;return this[_0x20171f(0x244)][_0x20171f(0x445)](_0x4d6c2f),this;}[_0x5231a7(0x1ff)](_0x4db36c){var _0x20d3f3=_0x5231a7;if(this[_0x20d3f3(0x19a)](_0x4db36c))return this[_0x20d3f3(0x391)](),this[_0x20d3f3(0x25a)][_0x20d3f3(0x464)](exports['FetchingMissState'],this[_0x20d3f3(0x19e)],this[_0x20d3f3(0x2a7)],this['_awaitingChangeset'],this[_0x20d3f3(0x244)],null,[_0x4db36c],this[_0x20d3f3(0x295)]);try{const _0x1605af=this[_0x20d3f3(0x39b)][_0x20d3f3(0x1d1)]([_0x4db36c],[this['_awaitingChangeset']],!0x1);if(p[_0x20d3f3(0x1b7)](_0x1605af)){const {c1Prime:_0x4fa3c4,c2Prime:_0x21ecd9}=_0x1605af,_0x35e0e8=this[_0x20d3f3(0x39b)][_0x20d3f3(0x208)](_0x4fa3c4[0x0],this[_0x20d3f3(0x244)]);if(p[_0x20d3f3(0x1be)](_0x35e0e8)){const {c1Prime:_0x10dcea,m2Prime:_0xa17362}=_0x35e0e8;return this['_executeRemoteChangeset'](_0x10dcea),_0x21ecd9[0x0][_0x20d3f3(0x3cd)]=this[_0x20d3f3(0x2d9)](),this[_0x20d3f3(0x391)](),this[_0x20d3f3(0x25a)]['createInstance'](exports[_0x20d3f3(0x3e3)],this['unitID'],this[_0x20d3f3(0x2a7)],_0x21ecd9[0x0],_0xa17362,this[_0x20d3f3(0x295)],void 0x0);}throw _0x35e0e8['error'];}throw _0x1605af[_0x20d3f3(0x2d5)];}catch(_0x5d2005){return this['_logService'][_0x20d3f3(0x2d5)](_0x5d2005),this['_onConflict'](!0x1);}}[_0x5231a7(0x213)](_0x453275){var _0x4916fe=_0x5231a7;if(this[_0x4916fe(0x391)](),this[_0x4916fe(0x19a)](_0x453275))return this[_0x4916fe(0x25a)]['createInstance'](exports['FetchingMissState'],this['unitID'],this['type'],null,this[_0x4916fe(0x244)],this[_0x4916fe(0x3b2)],[],this[_0x4916fe(0x295)]);this['_incrementRevisionNumber']();const _0x1f1468=this[_0x4916fe(0x25a)][_0x4916fe(0x464)](exports['PendingState'],this[_0x4916fe(0x19e)],this[_0x4916fe(0x2a7)],this[_0x4916fe(0x244)],this[_0x4916fe(0x295)]);return _0x1f1468[_0x4916fe(0x341)](),_0x1f1468[_0x4916fe(0x3e6)](),_0x1f1468;}[_0x5231a7(0x24e)](_0x4e4a30){var _0x4b1340=_0x5231a7;return this['_onConflict'](!!(_0x4e4a30!=null&&_0x4e4a30[_0x4b1340(0x365)]));}[_0x5231a7(0x27d)](_0x15dc7a){var _0xc3f1d6=_0x5231a7;return this[_0xc3f1d6(0x1f2)]>mt?this[_0xc3f1d6(0x2e4)]():(this[_0xc3f1d6(0x2a8)]=pt(this[_0xc3f1d6(0x1f2)],{'timeout':this['_resendTimeout'],'reqId':_0x15dc7a[_0xc3f1d6(0x226)]}),this[_0xc3f1d6(0x322)]=this[_0xc3f1d6(0x2a8)][_0xc3f1d6(0x3d2)](({reqId:_0x8abc56,timeout:_0x5c291c})=>{var _0x23157b=_0xc3f1d6;this[_0x23157b(0x43d)](_0x8abc56,_0x5c291c);}),this);}[_0x5231a7(0x2e4)](){var _0x522959=_0x5231a7;return this[_0x522959(0x391)](),this[_0x522959(0x25a)]['createInstance'](exports[_0x522959(0x3fb)],this['unitID'],this[_0x522959(0x2a7)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler']);}[_0x5231a7(0x1fc)](){return this;}[_0x5231a7(0x2b0)](){var _0x302601=_0x5231a7;this[_0x302601(0x295)][_0x302601(0x498)](this[_0x302601(0x3b2)]);}[_0x5231a7(0x406)](_0x6c5c00){var _0x57f17d=_0x5231a7;return this[_0x57f17d(0x391)](),this['_injector'][_0x57f17d(0x464)](exports['ConflictState'],this[_0x57f17d(0x19e)],this['type'],null,this[_0x57f17d(0x244)],this[_0x57f17d(0x295)],_0x6c5c00);}['_resendWithTimeout'](_0x59dcc5,_0x2454dc){var _0x519ab1=_0x5231a7,_0x195730;_0x59dcc5===((_0x195730=this[_0x519ab1(0x3b2)])==null?void 0x0:_0x195730[_0x519ab1(0x226)])&&(this['resend'](),this[_0x519ab1(0x1f2)]=_0x2454dc===0x0?0x3e8:_0x2454dc*0x2);}[_0x5231a7(0x391)](){var _0x6e4517=_0x5231a7,_0x54dd50;(_0x54dd50=this['_sender'])==null||_0x54dd50['unsubscribe'](),this[_0x6e4517(0x1f2)]=0x0;}},exports[_0x5231a7(0x3e3)]=ae([w(0x6,a[_0x5231a7(0x4a4)](a[_0x5231a7(0x40a)])),w(0x7,a['Inject'](p[_0x5231a7(0x190)])),w(0x8,a[_0x5231a7(0x3fc)]),w(0x9,a[_0x5231a7(0x251)]),w(0xa,p[_0x5231a7(0x24c)]),w(0xb,a[_0x5231a7(0x477)]),w(0xc,a[_0x5231a7(0x30a)](K))],exports[_0x5231a7(0x3e3)]),exports['ConflictState']=class extends ce{constructor(_0x366ec0,_0x1901e3,_0x475951,_0x50f0b2,_0x3a87c5,_0x48e8da=!0x1,_0x7c864f,_0x5e9727,_0x4934b2,_0x4f0dbd,_0x47e049,_0x3d1c22,_0x4e2b2e){var _0x2395ba=_0x5231a7;super(_0x366ec0,_0x1901e3,_0x475951,_0x50f0b2,_0x3a87c5,_0x5e9727,_0x4934b2,_0x4f0dbd,_0x4e2b2e),A(this,_0x2395ba(0x468),'conflict'),(this['_isPermissionRej']=_0x48e8da,this[_0x2395ba(0x415)]=_0x7c864f,this['_localeService']=_0x47e049,this[_0x2395ba(0x143)]=_0x3d1c22,this[_0x2395ba(0x2ef)]=_0x4e2b2e,this[_0x2395ba(0x428)](),this[_0x2395ba(0x45d)](),this[_0x2395ba(0x31e)]());}[_0x5231a7(0x43a)](){return this;}[_0x5231a7(0x1ff)](){return this;}[_0x5231a7(0x213)](){return this;}[_0x5231a7(0x24e)](){return this;}[_0x5231a7(0x27d)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x5231a7(0x2b0)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5231a7(0x45d)](){var _0x2952f2=_0x5231a7,_0x4c5c40;(_0x4c5c40=this[_0x2952f2(0x352)])==null||_0x4c5c40[_0x2952f2(0x33c)](this[_0x2952f2(0x19e)],this[_0x2952f2(0x2a7)],null,[]);}['_showConflictNotification'](){var _0x233c38=_0x5231a7;this[_0x233c38(0x3d4)]?this[_0x233c38(0x143)][_0x233c38(0x296)]({'id':Z[_0x233c38(0x1b3)]}):this[_0x233c38(0x143)][_0x233c38(0x296)]({'id':Z[_0x233c38(0x32b)]});}[_0x5231a7(0x31e)](){var _0x256084=_0x5231a7;this[_0x256084(0x415)][_0x256084(0x453)](new X[(_0x256084(0x446))](this[_0x256084(0x19e)])['id'],!0x1);}},exports[_0x5231a7(0x149)]=ae([w(0x6,a[_0x5231a7(0x4a4)](a[_0x5231a7(0x3f1)])),w(0x7,a[_0x5231a7(0x3fc)]),w(0x8,a[_0x5231a7(0x477)]),w(0x9,a[_0x5231a7(0x4a4)](p[_0x5231a7(0x190)])),w(0xa,a[_0x5231a7(0x4a4)](a[_0x5231a7(0x179)])),w(0xb,a[_0x5231a7(0x4a4)](ee)),w(0xc,a[_0x5231a7(0x30a)](K))],exports[_0x5231a7(0x149)]),exports[_0x5231a7(0x3fb)]=class extends ce{constructor(_0x1d599a,_0x35d6d1,_0x453cf4,_0x3c95c4,_0x1e93ff,_0x4a6ab2,_0xfd561c,_0x445565,_0x1db6e4,_0x27f02b){var _0x491758=_0x5231a7;super(_0x1d599a,_0x35d6d1,_0x453cf4,_0x3c95c4,_0x1e93ff,_0x445565,_0x1db6e4,_0xfd561c,_0x27f02b),A(this,_0x491758(0x468),_0x491758(0x267)),this['_injector']=_0x4a6ab2;}[_0x5231a7(0x43a)](_0x32fef3){var _0x193d1c=_0x5231a7;return this[_0x193d1c(0x244)]['push'](_0x32fef3),this[_0x193d1c(0x3e6)](),this;}[_0x5231a7(0x1ff)](_0x1ffebc){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x5231a7(0x213)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x201ec9=_0x5231a7;throw new Error(_0x201ec9(0x246));}[_0x5231a7(0x27d)](){return this;}['toggleOffline'](){return this;}[_0x5231a7(0x1fc)](){var _0x499d20=_0x5231a7;const {_injector:_0x27cbfd,_pendingMutations:_0x216b5e,_awaitingChangeset:_0x1247a7,unitID:_0x3bb2ec,_handler:_0x2929e5,type:_0x3e4950}=this,_0x485fcf=gt(_0x27cbfd,_0x3bb2ec,_0x3e4950,_0x1247a7,_0x216b5e,_0x2929e5);return _0x485fcf instanceof exports['PendingState']?_0x485fcf[_0x499d20(0x341)]():(_0x485fcf instanceof exports[_0x499d20(0x3e3)]||_0x485fcf instanceof exports[_0x499d20(0x467)])&&_0x485fcf[_0x499d20(0x2b0)](),_0x485fcf;}[_0x5231a7(0x2b0)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports['OfflineState']=ae([w(0x5,a[_0x5231a7(0x4a4)](a['Injector'])),w(0x6,a[_0x5231a7(0x4a4)](p[_0x5231a7(0x190)])),w(0x7,a[_0x5231a7(0x3fc)]),w(0x8,a['IUndoRedoService']),w(0x9,a['Optional'](K))],exports['OfflineState']),exports[_0x5231a7(0x344)]=class extends ce{constructor(_0x7fe9a3,_0x3f2b24,_0x5224a4,_0x23f456,_0x2eadaf,_0x266ac7,_0x253579,_0x52ff7f,_0x40d768,_0x50ab66,_0x1d0072,_0x18b2d8,_0x416aa8,_0x3eb06f){var _0x488cbe=_0x5231a7;super(_0x7fe9a3,_0x3f2b24,_0x5224a4,_0x23f456,_0x253579,_0x1d0072,_0x18b2d8,_0x40d768,_0x3eb06f),A(this,_0x488cbe(0x468),_0x488cbe(0x20d)),(this['_acknowledgedAwaitingChangeset']=_0x2eadaf,this['_queuedRemoteChangesets']=_0x266ac7,this[_0x488cbe(0x25a)]=_0x52ff7f,this['_logService']=_0x50ab66,this['_transformService']=_0x416aa8,this[_0x488cbe(0x2ef)]=_0x3eb06f);}[_0x5231a7(0x324)](_0x3ebe26){var _0x49f879=_0x5231a7;try{const _0x166377=[..._0x3ebe26,...this[_0x49f879(0x466)]],_0x135ed1=[this[_0x49f879(0x3b2)]||this[_0x49f879(0x2f7)]]['filter'](_0x5f85f4=>!!_0x5f85f4);let _0x5dbb5b,_0x212daf;if(_0x135ed1['length']){const _0x1e3505=this[_0x49f879(0x39b)][_0x49f879(0x1d1)](_0x166377,_0x135ed1,!0x1);if(!p['isTransformChangesetsSuccess'](_0x1e3505))throw _0x1e3505['error'];_0x5dbb5b=_0x1e3505[_0x49f879(0x4a8)],_0x212daf=_0x1e3505['c2Prime'];}else _0x5dbb5b=_0x166377,_0x212daf=[];let _0x1552e9=this[_0x49f879(0x244)];_0x5dbb5b[_0x49f879(0x171)](_0x5a9579=>{var _0x2e9480=_0x49f879;let _0x48090a;if(_0x1552e9[_0x2e9480(0x395)]){const _0x277eb4=this[_0x2e9480(0x39b)][_0x2e9480(0x208)](_0x5a9579,_0x1552e9);if(!p[_0x2e9480(0x1be)](_0x277eb4))throw _0x277eb4['error'];_0x48090a=_0x277eb4[_0x2e9480(0x4a8)],_0x1552e9=_0x277eb4[_0x2e9480(0x3bb)];}else _0x48090a=_0x5a9579;this[_0x2e9480(0x38d)](_0x48090a);}),this[_0x49f879(0x2f7)]&&this[_0x49f879(0x3e1)](),this[_0x49f879(0x3b2)]&&_0x212daf[_0x49f879(0x395)]&&(_0x212daf[0x0][_0x49f879(0x3cd)]=this[_0x49f879(0x2d9)]());let _0x328881;if(this[_0x49f879(0x3b2)]&&_0x1552e9[_0x49f879(0x395)]!==0x0)_0x328881=this[_0x49f879(0x25a)][_0x49f879(0x464)](exports['AwaitingWithPendingState'],this[_0x49f879(0x19e)],this['type'],_0x212daf[0x0],_0x1552e9,this[_0x49f879(0x295)],void 0x0);else{if(this[_0x49f879(0x3b2)]&&_0x1552e9['length']===0x0)_0x212daf[0x0][_0x49f879(0x3cd)]=this[_0x49f879(0x2d9)](),_0x328881=this[_0x49f879(0x25a)][_0x49f879(0x464)](exports[_0x49f879(0x467)],this['unitID'],this[_0x49f879(0x2a7)],_0x212daf[0x0],this[_0x49f879(0x295)]);else{if(_0x1552e9[_0x49f879(0x395)]!==0x0){const _0x3f0f12=this[_0x49f879(0x25a)][_0x49f879(0x464)](exports['PendingState'],this[_0x49f879(0x19e)],this[_0x49f879(0x2a7)],_0x1552e9,this['_handler']);_0x3f0f12[_0x49f879(0x341)](),_0x328881=_0x3f0f12;}else _0x328881=this[_0x49f879(0x25a)][_0x49f879(0x464)](exports[_0x49f879(0x148)],this[_0x49f879(0x19e)],this['type'],this['_handler']);}}return _0x328881['_updateLocalCache'](),_0x328881;}catch(_0x5f4cf7){return this[_0x49f879(0x47b)][_0x49f879(0x2d5)](_0x49f879(0x232),'failed\x20to\x20apply\x20missed\x20changesets!',_0x5f4cf7),this[_0x49f879(0x25a)]['createInstance'](exports[_0x49f879(0x149)],this[_0x49f879(0x19e)],this[_0x49f879(0x2a7)],this[_0x49f879(0x3b2)],this[_0x49f879(0x244)],this['_handler'],!0x1);}}[_0x5231a7(0x2b0)](){var _0x577fe7=_0x5231a7;throw new Error(_0x577fe7(0x188));}[_0x5231a7(0x43a)](_0x5e30bd){var _0x490d1e=_0x5231a7;return this['_pendingMutations'][_0x490d1e(0x445)](_0x5e30bd),this;}[_0x5231a7(0x1ff)](_0x4df9f8){var _0x485712=_0x5231a7;return this[_0x485712(0x466)][_0x485712(0x445)](_0x4df9f8),this;}[_0x5231a7(0x213)](_0xbc5b01){var _0x168551=_0x5231a7;if(this[_0x168551(0x3b2)])return this[_0x168551(0x2f7)]=this['_awaitingChangeset'],this[_0x168551(0x3b2)]=null,this;throw new Error(_0x168551(0x4ae));}[_0x5231a7(0x24e)](_0x2ec0ed){var _0x2350e8=_0x5231a7;return this['_onConflict'](!!(_0x2ec0ed!=null&&_0x2ec0ed[_0x2350e8(0x365)]));}[_0x5231a7(0x27d)](){return this;}[_0x5231a7(0x2e4)](){var _0x413ca4=_0x5231a7;return this[_0x413ca4(0x25a)]['createInstance'](exports['OfflineState'],this['unitID'],this[_0x413ca4(0x2a7)],this[_0x413ca4(0x3b2)],this['_pendingMutations'],this[_0x413ca4(0x295)]);}['toggleOnline'](){return this;}[_0x5231a7(0x406)](_0x15a10e){var _0x580a06=_0x5231a7;return this[_0x580a06(0x25a)]['createInstance'](exports[_0x580a06(0x149)],this['unitID'],this[_0x580a06(0x2a7)],this[_0x580a06(0x3b2)],this[_0x580a06(0x244)],this[_0x580a06(0x295)],_0x15a10e);}},exports['FetchingMissState']=ae([w(0x7,a[_0x5231a7(0x4a4)](a['Injector'])),w(0x8,a[_0x5231a7(0x4a4)](p['RevisionService'])),w(0x9,a['ILogService']),w(0xa,a[_0x5231a7(0x3fc)]),w(0xb,a[_0x5231a7(0x477)]),w(0xc,p[_0x5231a7(0x24c)]),w(0xd,a[_0x5231a7(0x30a)](K))],exports[_0x5231a7(0x344)]);function gt(_0x2a207a,_0x21c741,_0x50cf15,_0x323935,_0x412d94,_0x1ce336){var _0x2d9462=_0x5231a7;return _0x323935&&_0x412d94[_0x2d9462(0x395)]?_0x2a207a[_0x2d9462(0x464)](exports['AwaitingWithPendingState'],_0x21c741,_0x50cf15,_0x323935,_0x412d94,_0x1ce336,void 0x0):_0x323935?_0x2a207a[_0x2d9462(0x464)](exports['AwaitingState'],_0x21c741,_0x50cf15,_0x323935,_0x1ce336):_0x412d94['length']?_0x2a207a[_0x2d9462(0x464)](exports[_0x2d9462(0x47c)],_0x21c741,_0x50cf15,_0x412d94,_0x1ce336):_0x2a207a[_0x2d9462(0x464)](exports[_0x2d9462(0x148)],_0x21c741,_0x50cf15,_0x1ce336);}var ci=Object['getOwnPropertyDescriptor'],Fe=(_0x387295,_0x3ef79c,_0x9aad13,_0x5d9217)=>{var _0x245c91=_0x5231a7;for(var _0x284775=_0x5d9217>0x1?void 0x0:_0x5d9217?ci(_0x3ef79c,_0x9aad13):_0x3ef79c,_0x2c762c=_0x387295[_0x245c91(0x395)]-0x1,_0x16c96f;_0x2c762c>=0x0;_0x2c762c--)(_0x16c96f=_0x387295[_0x2c762c])&&(_0x284775=_0x16c96f(_0x284775)||_0x284775);return _0x284775;},H=(_0x4c0a0e,_0x52b80a)=>(_0x299981,_0x2ae448)=>_0x52b80a(_0x299981,_0x2ae448,_0x4c0a0e);exports[_0x5231a7(0x41b)]=class extends a['RxDisposable']{constructor(_0xd9a744,_0x42d9bb,_0x31e6af,_0xc5c445,_0x46ce73,_0x1fa9e9,_0xa898a,_0x30568f,_0x51b4dd,_0x54853f,_0x52d242,_0x46b6ce,_0xaa4c75){var _0x5cf474=_0x5231a7;super(),A(this,_0x5cf474(0x3fa),new j[(_0x5cf474(0x4b3))](null)),A(this,_0x5cf474(0x29c),this[_0x5cf474(0x3fa)][_0x5cf474(0x42b)]()),A(this,_0x5cf474(0x45a)),A(this,_0x5cf474(0x227),!0x1),A(this,_0x5cf474(0x368),''),A(this,_0x5cf474(0x241),0x0),A(this,_0x5cf474(0x141),this[_0x5cf474(0x29c)]['pipe'](j['map'](_0x1d271b=>_0x1d271b?_0x1d271b[_0x5cf474(0x468)]:Be[_0x5cf474(0x268)]),j[_0x5cf474(0x425)](0x1))),A(this,_0x5cf474(0x1a2),!0x1),A(this,_0x5cf474(0x211),[]),(this[_0x5cf474(0x19e)]=_0xd9a744,this[_0x5cf474(0x366)]=_0x42d9bb,this[_0x5cf474(0x435)]=_0x31e6af,this[_0x5cf474(0x25a)]=_0xc5c445,this[_0x5cf474(0x306)]=_0x46ce73,this[_0x5cf474(0x189)]=_0x1fa9e9,this[_0x5cf474(0x20b)]=_0xa898a,this[_0x5cf474(0x1d8)]=_0x30568f,this['_logService']=_0x51b4dd,this[_0x5cf474(0x390)]=_0x54853f,this['_permissionService']=_0x52d242,this[_0x5cf474(0x277)]=_0x46b6ce,this[_0x5cf474(0x352)]=_0xaa4c75);}get[_0x5231a7(0x31d)](){return this['_state'];}async[_0x5231a7(0x25b)](){var _0x54ee9c=_0x5231a7;if(this['state'])throw new Error(_0x54ee9c(0x347));await this[_0x54ee9c(0x326)]();}[_0x5231a7(0x216)](){var _0x4fb46a=_0x5231a7;return this[_0x4fb46a(0x227)]=!0x0,a['toDisposable'](()=>{var _0x3fed25=_0x4fb46a;this[_0x3fed25(0x227)]=!0x1,this[_0x3fed25(0x1e5)]();});}[_0x5231a7(0x210)](_0x495fb6){var _0x53f27e=_0x5231a7;this[_0x53f27e(0x3ff)](_0x495fb6);}[_0x5231a7(0x312)](_0x363740){var _0x152d42=_0x5231a7;this['_state']=_0x363740,this[_0x152d42(0x3fa)][_0x152d42(0x1cf)](_0x363740);}async[_0x5231a7(0x326)](){var _0x1129cc=_0x5231a7,_0x5687db;this['_updateState'](await this[_0x1129cc(0x1e9)]()),this[_0x1129cc(0x277)]&&((_0x5687db=this['_singleActiveUnitService'])==null||_0x5687db[_0x1129cc(0x486)](this[_0x1129cc(0x19e)]),this[_0x1129cc(0x3a3)](this[_0x1129cc(0x277)]['getUnitStatus$'](this[_0x1129cc(0x19e)])[_0x1129cc(0x3d2)](_0x43bc3f=>{var _0x453594=_0x1129cc;this['_logService'][_0x453594(0x419)]('[CollaborationEntity]',_0x453594(0x32d),_0x43bc3f),_0x43bc3f===He['OTHER_CLIENTS_EDITING']?(this[_0x453594(0x1d8)][_0x453594(0x296)]({'id':Z['OTHER_CLIENT_EDITING']}),this[_0x453594(0x415)]['updatePermissionPoint'](new X[(_0x453594(0x446))](this['unitID'])['id'],!0x1),this[_0x453594(0x415)][_0x453594(0x311)](!0x1)):(this['_permissionService'][_0x453594(0x453)](new X[(_0x453594(0x446))](this[_0x453594(0x19e)])['id'],!0x0),this['_permissionService'][_0x453594(0x311)](!0x0));})));let _0x20ec77=!0x1;return this[_0x1129cc(0x3a3)](this[_0x1129cc(0x366)]['sessionStatus$'][_0x1129cc(0x3d2)](_0x13e28b=>{var _0x497abf=_0x1129cc;_0x13e28b===re['ONLINE']?this[_0x497abf(0x2bf)](_0x20ec77):_0x13e28b===re[_0x497abf(0x268)]&&(_0x20ec77=!0x0,this[_0x497abf(0x17c)]());})),this[_0x1129cc(0x3a3)](this['session'][_0x1129cc(0x3b5)][_0x1129cc(0x3d2)](_0x58aff7=>{var _0x39d55c=_0x1129cc;try{switch(_0x58aff7[_0x39d55c(0x376)]){case p[_0x39d55c(0x448)]['NEW_CHANGESETS']:{this[_0x39d55c(0x284)](p['parseProtocolChangeset'](_0x58aff7[_0x39d55c(0x233)]));break;}case p['CollaborationEvent'][_0x39d55c(0x4ad)]:{this[_0x39d55c(0x2ee)](_0x58aff7[_0x39d55c(0x233)]);break;}case p[_0x39d55c(0x448)][_0x39d55c(0x25d)]:{this[_0x39d55c(0x3a9)]();break;}case p['CollaborationEvent'][_0x39d55c(0x3b7)]:{this['_onRemoteRetry'](_0x58aff7['data']);break;}case p[_0x39d55c(0x448)]['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x58aff7[_0x39d55c(0x233)][_0x39d55c(0x231)][_0x39d55c(0x19d)](_0x41a009=>p['parseProtocolChangeset'](_0x41a009)));break;}case p[_0x39d55c(0x448)][_0x39d55c(0x3a8)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case p['CollaborationEvent'][_0x39d55c(0x478)]:break;}}catch(_0x2c83ff){throw console['error'](_0x39d55c(0x253),_0x2c83ff),_0x2c83ff;}})),this['_state'];}['_unlockTransition'](){var _0x18cfc0=_0x5231a7;this[_0x18cfc0(0x1a2)]=!0x1;}[_0x5231a7(0x13f)](){var _0xbd0ced=_0x5231a7;if(this[_0xbd0ced(0x1a2)])throw new Error(_0xbd0ced(0x30d));this[_0xbd0ced(0x1a2)]=!0x0;}['_onLocalMutation'](_0x3b5db0){var _0x244994=_0x5231a7;this[_0x244994(0x13f)](),this[_0x244994(0x312)](this['_state']['appendMutation'](_0x3b5db0)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x41d0ab){var _0x2b6ef8=_0x5231a7;if(!(_0x41d0ab[_0x2b6ef8(0x1a5)]<=this['_revisionService'][_0x2b6ef8(0x140)](this[_0x2b6ef8(0x19e)]))){if(this['_collaborationPaused']){this[_0x2b6ef8(0x211)][_0x2b6ef8(0x445)](_0x41d0ab);return;}this['_applyRemoteChangeset'](_0x41d0ab);}}[_0x5231a7(0x1e5)](){var _0x312721=_0x5231a7;this['_remoteChangesetQueue'][_0x312721(0x171)](_0x296cb3=>this[_0x312721(0x40f)](_0x296cb3)),this['_remoteChangesetQueue']=[];}[_0x5231a7(0x40f)](_0x44418e){var _0x4b1b5f=_0x5231a7;const _0x47a2d9=this[_0x4b1b5f(0x306)][_0x4b1b5f(0x332)][_0x4b1b5f(0x3ad)](this['_compressMutationService'][_0x4b1b5f(0x332)][_0x4b1b5f(0x307)]()[_0x4b1b5f(0x3b8)])(_0x44418e['mutations'],null)||_0x44418e[_0x4b1b5f(0x15f)],_0x15fef6={..._0x44418e,'mutations':_0x47a2d9};this[_0x4b1b5f(0x13f)](),this[_0x4b1b5f(0x312)](this[_0x4b1b5f(0x45a)][_0x4b1b5f(0x1ff)](_0x15fef6)),this[_0x4b1b5f(0x261)]();}[_0x5231a7(0x2ee)](_0x1448fe){var _0x558144=_0x5231a7;this['_lockTransition'](),this[_0x558144(0x312)](this[_0x558144(0x45a)]['onRemoteAck'](_0x1448fe)),this[_0x558144(0x261)]();}[_0x5231a7(0x3a9)](_0x1ff007){var _0x33dd9e=_0x5231a7;this['_lockTransition'](),this[_0x33dd9e(0x312)](this['_state'][_0x33dd9e(0x24e)](_0x1ff007)),this[_0x33dd9e(0x261)]();}[_0x5231a7(0x176)](_0x560d2e){var _0x22a1bb=_0x5231a7;this['_lockTransition'](),this[_0x22a1bb(0x312)](this[_0x22a1bb(0x45a)]['onRemoteRetry'](_0x560d2e)),this[_0x22a1bb(0x261)]();}[_0x5231a7(0x413)](_0xe41ebf){var _0x54efc0=_0x5231a7;if(!(this[_0x54efc0(0x45a)]instanceof exports[_0x54efc0(0x344)]))throw new TypeError(_0x54efc0(0x2a6));const _0x3321ad=_0xe41ebf['map'](_0x2b5c2e=>{var _0x138e7c=_0x54efc0;const _0x1568d4=this['_compressMutationService'][_0x138e7c(0x332)][_0x138e7c(0x3ad)](this[_0x138e7c(0x306)][_0x138e7c(0x332)][_0x138e7c(0x307)]()['COMPRESS_MUTATION_APPLY'])(_0x2b5c2e[_0x138e7c(0x15f)],null)||_0x2b5c2e['mutations'];return{..._0x2b5c2e,'mutations':_0x1568d4};});this[_0x54efc0(0x13f)](),this[_0x54efc0(0x312)](this[_0x54efc0(0x45a)][_0x54efc0(0x324)](_0x3321ad)),this[_0x54efc0(0x261)]();}[_0x5231a7(0x17c)](){var _0x10de76=_0x5231a7;this[_0x10de76(0x13f)](),this[_0x10de76(0x312)](this[_0x10de76(0x45a)][_0x10de76(0x2e4)]()),this[_0x10de76(0x261)]();}['_toggleOnline'](_0x535fdf=!0x1){var _0x280fda=_0x5231a7;this[_0x280fda(0x13f)](),this[_0x280fda(0x312)](this[_0x280fda(0x45a)]['toggleOnline']()),this['_unlockTransition']();const _0x1cdbd0=this[_0x280fda(0x45a)];_0x535fdf&&_0x1cdbd0 instanceof exports[_0x280fda(0x148)]&&(this[_0x280fda(0x13f)](),this[_0x280fda(0x312)](_0x1cdbd0[_0x280fda(0x181)]()),this[_0x280fda(0x261)]());}async[_0x5231a7(0x1e9)](){return new Promise(_0x39e1da=>{var _0x2fcd3e=_0x3770;this[_0x2fcd3e(0x366)][_0x2fcd3e(0x299)][_0x2fcd3e(0x3e2)](j['take'](0x1))[_0x2fcd3e(0x3d2)](async _0x3c937c=>{var _0x492192=_0x2fcd3e;_0x39e1da(await this[_0x492192(0x1ad)](_0x3c937c===re[_0x492192(0x172)]));});});}[_0x5231a7(0x2c2)](){var _0x113d7f=_0x5231a7;const _0x2efa8a=this[_0x113d7f(0x19e)];return{'onStateChange':(_0x22f853,_0x18d61f)=>{var _0x16492e=_0x113d7f;if(_0x22f853!==this[_0x16492e(0x45a)])throw new Error(_0x16492e(0x35b)+_0x22f853[_0x16492e(0x468)]+_0x16492e(0x37c)+_0x18d61f[_0x16492e(0x468)]+'\x0aCurrent:\x20'+this[_0x16492e(0x45a)][_0x16492e(0x468)]);this[_0x16492e(0x312)](_0x18d61f);},'onSendChangeset':_0x4d19ad=>{var _0x48dfd9=_0x113d7f;_0x4d19ad[_0x48dfd9(0x1cb)]||(_0x4d19ad[_0x48dfd9(0x1cb)]=this[_0x48dfd9(0x368)],_0x4d19ad['reqId']=++this[_0x48dfd9(0x241)]);const _0x6a353={'eventID':p['CollaborationEvent'][_0x48dfd9(0x1d5)],'data':{'unitID':_0x4d19ad[_0x48dfd9(0x19e)],'unitType':this['_type'],'changeset':_0x4d19ad,'memberID':this[_0x48dfd9(0x366)]['getMemberID']()}};this[_0x48dfd9(0x366)][_0x48dfd9(0x394)](_0x6a353,this[_0x48dfd9(0x19e)]);},'onMissingChangesets':({from:_0xeb6cb8,to:_0x41acd4})=>{var _0x57d5eb=_0x113d7f;this[_0x57d5eb(0x47b)][_0x57d5eb(0x419)](_0x57d5eb(0x26d),'fetching\x20missing\x20changesets\x20from\x20'+_0xeb6cb8+_0x57d5eb(0x3d9)+_0x41acd4);const _0x93f7ca={'eventID':p['CollaborationEvent']['FETCH_MISSING'],'data':{'unitID':_0x2efa8a,'unitType':this[_0x57d5eb(0x435)],'from':_0xeb6cb8,'to':_0x41acd4}};this[_0x57d5eb(0x366)][_0x57d5eb(0x394)](_0x93f7ca,this[_0x57d5eb(0x19e)]);}};}async[_0x5231a7(0x1ad)](_0x1e8fb7){var _0x346312=_0x5231a7,_0x423a96,_0x55a03a,_0x33a2e9;const _0x49938a=await((_0x423a96=this[_0x346312(0x352)])==null?void 0x0:_0x423a96['loadOfflineData'](this[_0x346312(0x19e)])),_0xf23cf7=(_0x55a03a=_0x49938a==null?void 0x0:_0x49938a[_0x346312(0x15f)])!=null?_0x55a03a:[],_0x468e75=(_0x33a2e9=_0x49938a==null?void 0x0:_0x49938a['awaitingChangeset'])!=null?_0x33a2e9:null,_0xb63ab4=!!(_0x468e75!=null&&_0x468e75[_0x346312(0x1cb)])&&!!(_0x468e75!=null&&_0x468e75[_0x346312(0x226)]);this[_0x346312(0x368)]=_0xb63ab4?_0x468e75[_0x346312(0x1cb)]:p[_0x346312(0x2d6)](),this[_0x346312(0x241)]=_0xb63ab4?_0x468e75[_0x346312(0x226)]:0x0;const _0x22f3d9=this[_0x346312(0x19e)];try{this[_0x346312(0x21a)](_0x468e75,_0xf23cf7);}catch(_0xa906d7){this[_0x346312(0x47b)][_0x346312(0x2d5)](_0xa906d7);}const _0x8bcd59=this['_createHandler']();if(_0x1e8fb7){const _0x33fa21=gt(this[_0x346312(0x25a)],_0x22f3d9,this[_0x346312(0x435)],_0x468e75,_0xf23cf7,_0x8bcd59);return _0x33fa21 instanceof exports['PendingState']?_0x33fa21['_schedule']():(_0x33fa21 instanceof exports[_0x346312(0x3e3)]||_0x33fa21 instanceof exports[_0x346312(0x467)])&&_0x33fa21[_0x346312(0x2b0)](),_0x33fa21;}return this[_0x346312(0x25a)][_0x346312(0x464)](exports['OfflineState'],_0x22f3d9,this[_0x346312(0x435)],_0x468e75,_0xf23cf7,_0x8bcd59);}[_0x5231a7(0x21a)](_0x346677,_0x42a909){var _0x5371df=_0x5231a7,_0xe762dd,_0x31c22f;const _0x6f856d=this[_0x5371df(0x306)][_0x5371df(0x332)][_0x5371df(0x3ad)](this[_0x5371df(0x306)][_0x5371df(0x332)][_0x5371df(0x307)]()[_0x5371df(0x3b8)]);(_0xe762dd=_0x6f856d((_0x346677==null?void 0x0:_0x346677['mutations'])||[],null))==null||_0xe762dd[_0x5371df(0x171)](_0x18c245=>this[_0x5371df(0x390)][_0x5371df(0x22c)](_0x18c245['id'],_0x18c245[_0x5371df(0x437)])),(_0x31c22f=_0x6f856d(_0x42a909||[],null))==null||_0x31c22f[_0x5371df(0x171)](_0x141272=>this[_0x5371df(0x390)][_0x5371df(0x22c)](_0x141272['id'],_0x141272['params']));}},exports[_0x5231a7(0x41b)]=Fe([H(0x3,a[_0x5231a7(0x4a4)](a[_0x5231a7(0x40a)])),H(0x4,a['Inject'](p[_0x5231a7(0x335)])),H(0x5,a['Inject'](a[_0x5231a7(0x179)])),H(0x6,a[_0x5231a7(0x4a4)](p[_0x5231a7(0x190)])),H(0x7,a['Inject'](ee)),H(0x8,a[_0x5231a7(0x251)]),H(0x9,a[_0x5231a7(0x3fc)]),H(0xa,a[_0x5231a7(0x3f1)]),H(0xb,a['Optional'](de)),H(0xc,a[_0x5231a7(0x30a)](K))],exports['CollaborationEntity']),exports['DocCollaborationEntity']=class extends exports[_0x5231a7(0x41b)]{constructor(_0x171c57,_0x5158ab,_0x36b0a6,_0x4f37b7,_0x4a3d98,_0x2c288c,_0x4d5d9c,_0xe1e47f,_0x536cfc,_0x2ae2f0,_0x14df1a,_0x357955,_0x5a2e3d){super(_0x171c57,_0x36b0a6,_0x5158ab,_0x4f37b7,_0x4a3d98,_0x2c288c,_0x4d5d9c,_0xe1e47f,_0x536cfc,_0x2ae2f0,_0x14df1a,_0x357955,_0x5a2e3d),A(this,'_handlerCallback',null),(this['unitID']=_0x171c57,this['type']=_0x5158ab);}['addHandlerCallback'](_0x4be457){var _0xf018d3=_0x5231a7;this[_0xf018d3(0x145)]=_0x4be457;}[_0x5231a7(0x26f)](){var _0x1fbe76=_0x5231a7;this[_0x1fbe76(0x145)]=null,super[_0x1fbe76(0x26f)]();}[_0x5231a7(0x2c2)](){var _0x70d466=_0x5231a7;const _0x149820=super[_0x70d466(0x2c2)]();return _0x149820[_0x70d466(0x45c)]=_0x4530d8=>{var _0xbea167=_0x70d466,_0x19fc22,_0x52b6e3;return(_0x52b6e3=(_0x19fc22=this[_0xbea167(0x145)])==null?void 0x0:_0x19fc22[_0xbea167(0x45c)])==null?void 0x0:_0x52b6e3['call'](_0x19fc22,_0x4530d8);},_0x149820[_0x70d466(0x221)]=_0x395356=>{var _0x17d320=_0x70d466,_0x1e93d4,_0xfd730d;return(_0xfd730d=(_0x1e93d4=this['_handlerCallback'])==null?void 0x0:_0x1e93d4['onTransformState'])==null?void 0x0:_0xfd730d[_0x17d320(0x1d4)](_0x1e93d4,_0x395356);},_0x149820[_0x70d466(0x2ab)]=_0x1a0b24=>{var _0x34742c=_0x70d466,_0x5a6590,_0x4af538;return(_0x4af538=(_0x5a6590=this[_0x34742c(0x145)])==null?void 0x0:_0x5a6590['onTransformSelections'])==null?void 0x0:_0x4af538[_0x34742c(0x1d4)](_0x5a6590,_0x1a0b24);},_0x149820['onSyncEditingCollabCursor']=_0x23d6ce=>{var _0x3c9be3=_0x70d466,_0x34f432,_0x137c67;return(_0x137c67=(_0x34f432=this[_0x3c9be3(0x145)])==null?void 0x0:_0x34f432['onSyncEditingCollabCursor'])==null?void 0x0:_0x137c67[_0x3c9be3(0x1d4)](_0x34f432,_0x23d6ce);},_0x149820[_0x70d466(0x247)]=_0x419783=>{var _0x4cf687=_0x70d466,_0x1eee63,_0x2993a9,_0x3a4df9;if(!((_0x1eee63=this[_0x4cf687(0x145)])!=null&&_0x1eee63[_0x4cf687(0x247)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x3a4df9=(_0x2993a9=this[_0x4cf687(0x145)])==null?void 0x0:_0x2993a9['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3a4df9['call'](_0x2993a9,_0x419783);},_0x149820['onTransformRemoteChangesetByStateCache']=_0x5b3e33=>{var _0x3f294b=_0x70d466,_0x5cde71,_0x4fa7d7,_0x194e4c;if(!((_0x5cde71=this[_0x3f294b(0x145)])!=null&&_0x5cde71[_0x3f294b(0x317)]))throw new Error(_0x3f294b(0x4a6));return(_0x194e4c=(_0x4fa7d7=this[_0x3f294b(0x145)])==null?void 0x0:_0x4fa7d7[_0x3f294b(0x317)])==null?void 0x0:_0x194e4c['call'](_0x4fa7d7,_0x5b3e33);},_0x149820;}async[_0x5231a7(0x326)](){var _0x5089d0=_0x5231a7;const _0x14668a=await super[_0x5089d0(0x326)]();return this[_0x5089d0(0x3a3)](this[_0x5089d0(0x390)][_0x5089d0(0x1bc)]((_0x3b6e8c,_0x399ea3)=>{var _0x5c175e=_0x5089d0;if(_0x3b6e8c[_0x5c175e(0x2a7)]!==a['CommandType'][_0x5c175e(0x175)]||_0x399ea3!=null&&_0x399ea3[_0x5c175e(0x49e)]||_0x399ea3!=null&&_0x399ea3[_0x5c175e(0x2ed)]||_0x3b6e8c['id']===ct[_0x5c175e(0x42a)]['id'])return;const _0x419b92=_0x3b6e8c[_0x5c175e(0x437)];if((_0x419b92==null?void 0x0:_0x419b92[_0x5c175e(0x158)])!==this[_0x5c175e(0x19e)])return;const _0xb2beda=_0x3b6e8c,_0x1381a4=this[_0x5c175e(0x306)][_0x5c175e(0x332)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x5c175e(0x332)][_0x5c175e(0x307)]()['COMPRESS_MUTATION_SEND'])([_0xb2beda],null)||[_0xb2beda];this[_0x5c175e(0x3ff)](_0x1381a4[0x0]);})),_0x14668a;}},exports['DocCollaborationEntity']=Fe([H(0x3,a['Inject'](a[_0x5231a7(0x40a)])),H(0x4,a['Inject'](p['CompressMutationService'])),H(0x5,a['Inject'](a[_0x5231a7(0x179)])),H(0x6,a[_0x5231a7(0x4a4)](p[_0x5231a7(0x190)])),H(0x7,a['Inject'](ee)),H(0x8,a[_0x5231a7(0x251)]),H(0x9,a['ICommandService']),H(0xa,a['IPermissionService']),H(0xb,a[_0x5231a7(0x30a)](de)),H(0xc,a[_0x5231a7(0x30a)](K))],exports[_0x5231a7(0x1f9)]),exports['SheetCollaborationEntity']=class extends exports[_0x5231a7(0x41b)]{constructor(_0x38c274,_0x3fc527,_0x113eb5,_0x4e79c3,_0x304380,_0x196c4e,_0x2be891,_0x282c22,_0x1fa596,_0xc72f2e,_0x3cda82,_0x4f5dc7,_0x560c42,_0x37dc06){var _0x2ad9c2=_0x5231a7;super(_0x38c274,_0x113eb5,_0x3fc527,_0x4e79c3,_0x304380,_0x196c4e,_0x2be891,_0x1fa596,_0xc72f2e,_0x3cda82,_0x4f5dc7,_0x560c42,_0x37dc06),this[_0x2ad9c2(0x19e)]=_0x38c274,this[_0x2ad9c2(0x2a7)]=_0x3fc527,this[_0x2ad9c2(0x44d)]=_0x282c22;}['_createHandler'](){var _0x30b25e=_0x5231a7;const _0x4c5b14=super[_0x30b25e(0x2c2)]();return _0x4c5b14['onTransformSelections']=_0x2c8da0=>this[_0x30b25e(0x44d)][_0x30b25e(0x329)](_0x2c8da0),_0x4c5b14;}async[_0x5231a7(0x326)](){var _0x19509a=_0x5231a7;const _0x28f604=await super[_0x19509a(0x326)]();return this['disposeWithMe'](this[_0x19509a(0x390)]['onCommandExecuted']((_0x3adb82,_0x18590f)=>{var _0xe58f9=_0x19509a;if(_0x3adb82[_0xe58f9(0x2a7)]!==a[_0xe58f9(0x37b)][_0xe58f9(0x175)]||_0x18590f!=null&&_0x18590f['fromCollab']||_0x18590f!=null&&_0x18590f[_0xe58f9(0x2ed)])return;const _0x48d050=_0x3adb82[_0xe58f9(0x437)];if((_0x48d050==null?void 0x0:_0x48d050['unitId'])!==this[_0xe58f9(0x19e)])return;const _0x331fc6=_0x3adb82,_0x47afd2=this[_0xe58f9(0x306)][_0xe58f9(0x332)][_0xe58f9(0x3ad)](this[_0xe58f9(0x306)]['interceptor'][_0xe58f9(0x307)]()[_0xe58f9(0x3aa)])([_0x331fc6],null)||[_0x331fc6];this[_0xe58f9(0x3ff)](_0x47afd2[0x0]);})),_0x28f604;}},exports[_0x5231a7(0x154)]=Fe([H(0x3,a[_0x5231a7(0x4a4)](a[_0x5231a7(0x40a)])),H(0x4,a[_0x5231a7(0x4a4)](p[_0x5231a7(0x335)])),H(0x5,a['Inject'](a['LocaleService'])),H(0x6,a[_0x5231a7(0x4a4)](p[_0x5231a7(0x190)])),H(0x7,a[_0x5231a7(0x4a4)](exports['SheetTransformSelectionsService'])),H(0x8,a[_0x5231a7(0x4a4)](ee)),H(0x9,a['ILogService']),H(0xa,a[_0x5231a7(0x3fc)]),H(0xb,a['IPermissionService']),H(0xc,a[_0x5231a7(0x30a)](de)),H(0xd,a['Optional'](K))],exports[_0x5231a7(0x154)]);var hi=Object['getOwnPropertyDescriptor'],_i=(_0xda64e6,_0x30bbd5,_0x1b9044,_0x54f77d)=>{var _0x3c2657=_0x5231a7;for(var _0x37eb03=_0x54f77d>0x1?void 0x0:_0x54f77d?hi(_0x30bbd5,_0x1b9044):_0x30bbd5,_0x31dc06=_0xda64e6[_0x3c2657(0x395)]-0x1,_0x5983ea;_0x31dc06>=0x0;_0x31dc06--)(_0x5983ea=_0xda64e6[_0x31dc06])&&(_0x37eb03=_0x5983ea(_0x37eb03)||_0x37eb03);return _0x37eb03;},Se=(_0x1c3faa,_0x4fdbd8)=>(_0x69f62a,_0x5a85d1)=>_0x4fdbd8(_0x69f62a,_0x5a85d1,_0x1c3faa);exports[_0x5231a7(0x3c4)]=class extends a[_0x5231a7(0x3c6)]{constructor(_0x577e06,_0x1c4349,_0x48a72a,_0x4e3b63){var _0x2804f3=_0x5231a7,_0x413699;super(),A(this,'_entities',new Map()),A(this,_0x2804f3(0x1b2),new j[(_0x2804f3(0x375))]()),A(this,_0x2804f3(0x484),this[_0x2804f3(0x1b2)][_0x2804f3(0x42b)]()),(this['_injector']=_0x577e06,this[_0x2804f3(0x2e5)]=_0x1c4349,this[_0x2804f3(0x17f)]=_0x48a72a,this[_0x2804f3(0x1e7)]=_0x4e3b63,((_0x413699=this['_configService'][_0x2804f3(0x430)](Y))==null?void 0x0:_0x413699[_0x2804f3(0x4af)])!==!0x1&&this[_0x2804f3(0x326)]());}[_0x5231a7(0x26f)](){var _0x288bc0=_0x5231a7;super[_0x288bc0(0x26f)](),this[_0x288bc0(0x2c5)]['forEach'](_0x28f767=>_0x28f767[_0x288bc0(0x26f)]()),this[_0x288bc0(0x2c5)][_0x288bc0(0x1b1)]();}[_0x5231a7(0x358)](_0x18b533){var _0x17930a=_0x5231a7,_0x2c3cee;return(_0x2c3cee=this[_0x17930a(0x2c5)][_0x17930a(0x200)](_0x18b533))!=null?_0x2c3cee:null;}[_0x5231a7(0x35c)](_0x5283ea){var _0x2b8a75=_0x5231a7;const _0x3a5488=this[_0x2b8a75(0x358)](_0x5283ea);return _0x3a5488?j['of'](_0x3a5488):this[_0x2b8a75(0x1b2)][_0x2b8a75(0x3e2)](V[_0x2b8a75(0x243)](_0x3f8302=>_0x3f8302['unitID']===_0x5283ea));}[_0x5231a7(0x301)](_0x18ff99){var _0x2ff477=_0x5231a7;return j['firstValueFrom'](this[_0x2ff477(0x35c)](_0x18ff99)[_0x2ff477(0x3e2)](V[_0x2ff477(0x19d)](()=>{})));}['_init'](){var _0x1d1db8=_0x5231a7;this[_0x1d1db8(0x1e7)][_0x1d1db8(0x472)](a[_0x1d1db8(0x1ae)][_0x1d1db8(0x353)])['pipe'](j[_0x1d1db8(0x19f)](this[_0x1d1db8(0x43f)]),V[_0x1d1db8(0x3bf)](0x10))[_0x1d1db8(0x3d2)](async _0x15d29f=>{var _0x4fb22=_0x1d1db8;const _0x4b1289=_0x15d29f[_0x4fb22(0x1cc)](),_0x1ba8c2=await this[_0x4fb22(0x2c7)](_0x4b1289,J[_0x4fb22(0x353)]);this[_0x4fb22(0x2c5)][_0x4fb22(0x3c3)](_0x4b1289,_0x1ba8c2);}),this[_0x1d1db8(0x1e7)][_0x1d1db8(0x472)](a['UniverInstanceType'][_0x1d1db8(0x14b)])[_0x1d1db8(0x3e2)](j[_0x1d1db8(0x19f)](this[_0x1d1db8(0x43f)]),V[_0x1d1db8(0x3bf)](0x10))['pipe'](V['filter'](_0xcb5687=>!_0xcb5687['getUnitId']()[_0x1d1db8(0x44f)]('__')))['subscribe'](async _0x2fb727=>{var _0x404a8e=_0x1d1db8;const _0x3e7833=_0x2fb727[_0x404a8e(0x1cc)](),_0x55c9a9=await this[_0x404a8e(0x2c7)](_0x3e7833,J[_0x404a8e(0x14b)]);this[_0x404a8e(0x2c5)][_0x404a8e(0x3c3)](_0x3e7833,_0x55c9a9);}),j[_0x1d1db8(0x3a0)](this[_0x1d1db8(0x1e7)][_0x1d1db8(0x373)](a['UniverInstanceType'][_0x1d1db8(0x353)]),this[_0x1d1db8(0x1e7)][_0x1d1db8(0x373)](a[_0x1d1db8(0x1ae)][_0x1d1db8(0x14b)]))[_0x1d1db8(0x3e2)](j['takeUntil'](this['dispose$']))['subscribe'](_0x327ae8=>{var _0x58a9f7=_0x1d1db8;const _0xfdf8e=_0x327ae8['getUnitId'](),_0x2351eb=this[_0x58a9f7(0x2c5)][_0x58a9f7(0x200)](_0xfdf8e);_0x2351eb&&(_0x2351eb['dispose'](),this['_entities'][_0x58a9f7(0x42e)](_0xfdf8e));});}async[_0x5231a7(0x2c7)](_0x374aff,_0x4bf64c){var _0x4d630c=_0x5231a7;const _0x21e322=await this[_0x4d630c(0x2e5)][_0x4d630c(0x28a)](_0x374aff),_0x3c6df9=this[_0x4d630c(0x25a)][_0x4d630c(0x464)](this[_0x4d630c(0x2ea)](_0x4bf64c),_0x374aff,_0x4bf64c,_0x21e322);return await _0x3c6df9[_0x4d630c(0x25b)](),this[_0x4d630c(0x1b2)][_0x4d630c(0x1cf)](_0x3c6df9),_0x3c6df9;}[_0x5231a7(0x2ea)](_0x3b18ed){var _0x299dda=_0x5231a7;switch(_0x3b18ed){case J['UNIVER_DOC']:return exports['DocCollaborationEntity'];case J[_0x299dda(0x353)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x299dda(0x16e)+_0x3b18ed);}}},exports['CollaborationController']=_i([Se(0x0,a[_0x5231a7(0x4a4)](a[_0x5231a7(0x40a)])),Se(0x1,a[_0x5231a7(0x4a4)](exports[_0x5231a7(0x327)])),Se(0x2,a['IConfigService']),Se(0x3,a[_0x5231a7(0x32f)])],exports[_0x5231a7(0x3c4)]);var li=Object['getOwnPropertyDescriptor'],ui=(_0xd27da1,_0x383a72,_0x1648b5,_0x4821a7)=>{for(var _0xf51aec=_0x4821a7>0x1?void 0x0:_0x4821a7?li(_0x383a72,_0x1648b5):_0x383a72,_0x6d3bc0=_0xd27da1['length']-0x1,_0x4072a2;_0x6d3bc0>=0x0;_0x6d3bc0--)(_0x4072a2=_0xd27da1[_0x6d3bc0])&&(_0xf51aec=_0x4072a2(_0xf51aec)||_0xf51aec);return _0xf51aec;},Ye=(_0x54ea4d,_0x21c327)=>(_0x39a4af,_0xb26b68)=>_0x21c327(_0x39a4af,_0xb26b68,_0x54ea4d);const di='DEFAULT_FILE_NAME',vi=_0x5231a7(0x1d3);let xe=class extends a[_0x5231a7(0x285)]{constructor(_0x2f3404,_0x5336ea){var _0x333aaa=_0x5231a7;super(),this['_univerInstanceService']=_0x2f3404,this[_0x333aaa(0x17f)]=_0x5336ea,this[_0x333aaa(0x326)]();}[_0x5231a7(0x326)](){var _0x44e0c6=_0x5231a7;this['disposeWithMe'](this[_0x44e0c6(0x1e7)][_0x44e0c6(0x201)]['subscribe'](()=>{var _0x123a28=_0x44e0c6,_0x2869e9;const _0x2afdce=this[_0x123a28(0x1e7)][_0x123a28(0x37d)]();let _0x96a7a3=(_0x2869e9=this[_0x123a28(0x17f)]['getConfig'](di))!=null?_0x2869e9:vi;_0x2afdce instanceof a['Workbook']&&(_0x96a7a3=_0x2afdce['name']),document[_0x123a28(0x2f5)]=_0x96a7a3;}));}};xe=ui([Ye(0x0,a['IUniverInstanceService']),Ye(0x1,a[_0x5231a7(0x1da)])],xe);var Si=Object[_0x5231a7(0x199)],fi=(_0xdf6c75,_0x262446,_0x47c0c1,_0x427c7a)=>{for(var _0x44c4a9=_0x427c7a>0x1?void 0x0:_0x427c7a?Si(_0x262446,_0x47c0c1):_0x262446,_0x418e24=_0xdf6c75['length']-0x1,_0xe92dc;_0x418e24>=0x0;_0x418e24--)(_0xe92dc=_0xdf6c75[_0x418e24])&&(_0x44c4a9=_0xe92dc(_0x44c4a9)||_0x44c4a9);return _0x44c4a9;},Ae=(_0x4b2e93,_0x2e5c4d)=>(_0x1831f2,_0x6c9b5d)=>_0x2e5c4d(_0x1831f2,_0x6c9b5d,_0x4b2e93);let ye=class{constructor(_0x5810ec,_0x25f724,_0x340571){var _0x4131b0=_0x5231a7;this[_0x4131b0(0x17f)]=_0x5810ec,this[_0x4131b0(0x34d)]=_0x25f724,this[_0x4131b0(0x2ac)]=_0x340571,this['init']();}[_0x5231a7(0x25b)](){var _0x18af1d=_0x5231a7;this['_httpService'][_0x18af1d(0x169)]({'priority':0x1,'interceptor':(_0x2effcf,_0x35b41c)=>_0x35b41c(_0x2effcf)[_0x18af1d(0x3e2)](j[_0x18af1d(0x1d6)](async _0x33d7fc=>{var _0x24f45c=_0x18af1d;const _0x512e8a=_0x33d7fc;if(_0x512e8a[_0x24f45c(0x468)]===0x191){if(typeof window>'u')throw new Error(_0x24f45c(0x3bc));if(window[_0x24f45c(0x30f)](this[_0x24f45c(0x2ac)]['t'](_0x24f45c(0x18b)))){const _0x4def82=window[_0x24f45c(0x287)](window['location'][_0x24f45c(0x462)]);window[_0x24f45c(0x1b5)]['href']=this[_0x24f45c(0x214)]()+_0x24f45c(0x2de)+_0x4def82;}}return _0x512e8a;}))});}['_getLoginPath'](){var _0x193f57=_0x5231a7,_0x122bba;const _0x10b8fe=this[_0x193f57(0x17f)][_0x193f57(0x430)](Y);return(_0x122bba=_0x10b8fe==null?void 0x0:_0x10b8fe[_0x193f57(0x184)])!=null?_0x122bba:$t;}};ye=fi([Ae(0x0,a['IConfigService']),Ae(0x1,a['Inject'](q[_0x5231a7(0x1c5)])),Ae(0x2,a[_0x5231a7(0x4a4)](a[_0x5231a7(0x179)]))],ye);var Ii=Object['getOwnPropertyDescriptor'],pi=(_0xb5f07a,_0x392116,_0x33f1e0,_0xc5093d)=>{var _0x232d07=_0x5231a7;for(var _0x3b9960=_0xc5093d>0x1?void 0x0:_0xc5093d?Ii(_0x392116,_0x33f1e0):_0x392116,_0x4d6266=_0xb5f07a[_0x232d07(0x395)]-0x1,_0x72c7b6;_0x4d6266>=0x0;_0x4d6266--)(_0x72c7b6=_0xb5f07a[_0x4d6266])&&(_0x3b9960=_0x72c7b6(_0x3b9960)||_0x3b9960);return _0x3b9960;},qe=(_0x34c804,_0x2569e6)=>(_0x5bef06,_0x48b7c3)=>_0x2569e6(_0x5bef06,_0x48b7c3,_0x34c804);const mi='/universer-api/authz';exports['AuthzIoHttpService']=class extends a['Disposable']{constructor(_0x14a542,_0x55abdc){var _0x41c03c=_0x5231a7;super(),this[_0x41c03c(0x458)]=_0x14a542,this[_0x41c03c(0x17f)]=_0x55abdc,this[_0x41c03c(0x242)]();}[_0x5231a7(0x242)](){var _0x568419=_0x5231a7;const _0x5b935b=this;this[_0x568419(0x3a3)](this[_0x568419(0x458)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x568419(0x280)]({'isMatch'(_0x3f1511){var _0x20f1f3=_0x568419,_0x3aa8eb;if(_0x3f1511[_0x20f1f3(0x43e)]==='POST'&&((_0x3aa8eb=_0x3f1511['requestParams'])!=null&&_0x3aa8eb[_0x20f1f3(0x1e4)])){const {objectID:_0x43440f,objectType:_0x39da10}=_0x3f1511['requestParams'][_0x20f1f3(0x1e4)]||{};if(!_0x43440f||_0x39da10===void 0x0)return!0x1;const _0x854957=_0x5b935b[_0x20f1f3(0x356)]()+'/'+_0x39da10+_0x20f1f3(0x228)+_0x43440f+_0x20f1f3(0x49a);if(_0x3f1511[_0x20f1f3(0x359)]===_0x854957)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2a10b2){var _0x26cb4c=_0x568419,_0x13b93b;return(_0x13b93b=_0x2a10b2[_0x26cb4c(0x417)])==null?void 0x0:_0x13b93b[_0x26cb4c(0x1e4)];},'mergeParamsToRequest'(_0x50dad5,_0x219a12){var _0x560044=_0x568419;const _0x957f8a=_0x5b935b[_0x560044(0x356)]()+_0x560044(0x3ef),_0x498ce6=_0x50dad5[_0x560044(0x1af)]((_0x2e3d22,_0x4ec474)=>{var _0x4dee79=_0x560044;const {unitID:_0x388b77,objectID:_0x130a29,objectType:_0x4b0f30,actions:_0x521cc9}=_0x4ec474;return _0x2e3d22[_0x388b77]||(_0x2e3d22[_0x388b77]={}),_0x2e3d22[_0x388b77][_0x130a29]||(_0x2e3d22[_0x388b77][_0x130a29]={'objectID':_0x130a29,'objectType':_0x4b0f30,'actions':[]}),_0x2e3d22[_0x388b77][_0x130a29][_0x4dee79(0x18c)]['push'](..._0x521cc9),_0x2e3d22;},{}),_0x2eeaf5=[];for(const _0x42c757 in _0x498ce6)for(const _0x499b3e in _0x498ce6[_0x42c757]){const {actions:_0x11e8eb,objectType:_0x23c37c}=_0x498ce6[_0x42c757][_0x499b3e],_0x33108c=[...new Set(_0x11e8eb)];_0x2eeaf5[_0x560044(0x445)]({'unitID':_0x42c757,'objectID':_0x499b3e,'objectType':_0x23c37c,'actions':_0x33108c});}return new q['HTTPRequest'](_0x560044(0x3ca),_0x957f8a,{'headers':_0x219a12[_0x560044(0x269)],'withCredentials':_0x219a12[_0x560044(0x22f)],'responseType':_0x219a12[_0x560044(0x346)],'body':{'requests':_0x2eeaf5}});}},{'distributeResult'(_0x564da7,_0x32cc56){var _0x4bb6fb=_0x568419;const {objectActions:_0x24fad8}=_0x564da7;return _0x32cc56[_0x4bb6fb(0x19d)](_0x4d2969=>{var _0x22b260=_0x4bb6fb;const {unitID:_0x41f372,objectID:_0x9d341e,actions:_0x1a9172}=_0x4d2969,_0x3f41ea=_0x24fad8[_0x22b260(0x389)](_0x392ed1=>_0x392ed1[_0x22b260(0x19e)]===_0x41f372&&_0x392ed1[_0x22b260(0x163)]===_0x9d341e),_0x881c36=_0x1a9172[_0x22b260(0x19d)](_0xa9ea23=>_0x3f41ea==null?void 0x0:_0x3f41ea[_0x22b260(0x18c)][_0x22b260(0x389)](_0x540097=>_0x540097[_0x22b260(0x3bd)]===_0xa9ea23))['filter'](_0x6a297f=>!!_0x6a297f);return{'config':_0x4d2969,'result':{'actions':_0x881c36,'error':_0x564da7[_0x22b260(0x2d5)]}};});}})}));}[_0x5231a7(0x356)](){var _0x47ee94;const _0x3e1261=this['_configService']['getConfig'](Y);return(_0x47ee94=_0x3e1261==null?void 0x0:_0x3e1261['authzUrl'])!=null?_0x47ee94:mi;}async[_0x5231a7(0x236)](_0x2cd19f){var _0x495871=_0x5231a7;const _0xc9bbcf=this[_0x495871(0x356)]()+'/'+_0x2cd19f['objectType']+_0x495871(0x150);return(await this[_0x495871(0x458)][_0x495871(0x41a)](_0xc9bbcf,{'body':_0x2cd19f}))[_0x495871(0x1e4)][_0x495871(0x163)]||'';}async[_0x5231a7(0x3b3)](_0x1cf337){var _0x1c29b8=_0x5231a7;const _0x322a2a=this[_0x1c29b8(0x356)]()+_0x1c29b8(0x28d);return(await this[_0x1c29b8(0x458)][_0x1c29b8(0x41a)](_0x322a2a,{'body':_0x1cf337}))['body'][_0x1c29b8(0x1dc)];}async['update'](_0x1fa215){var _0x59d98c=_0x5231a7,_0x4cdba8,_0x4e93be;const _0x10752e=this[_0x59d98c(0x356)]()+'/'+_0x1fa215[_0x59d98c(0x44e)]+_0x59d98c(0x228)+_0x1fa215[_0x59d98c(0x163)],_0x8fcd34=await this[_0x59d98c(0x458)][_0x59d98c(0x427)](_0x10752e,{'body':_0x1fa215});if(((_0x4e93be=(_0x4cdba8=_0x8fcd34==null?void 0x0:_0x8fcd34['body'])==null?void 0x0:_0x4cdba8[_0x59d98c(0x2d5)])==null?void 0x0:_0x4e93be[_0x59d98c(0x48c)])!==0x1)throw new Error(_0x59d98c(0x3cf));}async[_0x5231a7(0x476)](_0x24e639){var _0x2f8c25=_0x5231a7;const _0x14e635=this[_0x2f8c25(0x356)]()+'/'+_0x24e639['objectType']+_0x2f8c25(0x228)+_0x24e639[_0x2f8c25(0x163)]+_0x2f8c25(0x49a);return(await this[_0x2f8c25(0x458)][_0x2f8c25(0x41a)](_0x14e635,{'body':_0x24e639}))[_0x2f8c25(0x1e4)][_0x2f8c25(0x18c)];}async[_0x5231a7(0x21c)](_0x1b6ec1){var _0x289146=_0x5231a7;const _0x24a726=this[_0x289146(0x356)]()+_0x289146(0x3ef);return(await this[_0x289146(0x458)][_0x289146(0x41a)](_0x24a726,{'body':{'requests':_0x1b6ec1}}))[_0x289146(0x1e4)]['objectActions'];}async[_0x5231a7(0x38c)](_0x215e2b){var _0x1bec7e=_0x5231a7;const _0x11f20f=this['_getAPIPrefixPath']()+'/'+_0x215e2b[_0x1bec7e(0x44e)]+_0x1bec7e(0x21e),_0x15b2dc=await this[_0x1bec7e(0x458)]['post'](_0x11f20f,{'body':_0x215e2b});return{'roles':_0x15b2dc[_0x1bec7e(0x1e4)][_0x1bec7e(0x34b)],'actions':_0x15b2dc[_0x1bec7e(0x1e4)][_0x1bec7e(0x18c)]};}async[_0x5231a7(0x170)](_0x1f3230){var _0x1162fc=_0x5231a7;const _0x2c3c6a=this[_0x1162fc(0x356)]()+_0x1162fc(0x2d8);await this[_0x1162fc(0x458)][_0x1162fc(0x42e)](_0x2c3c6a,{'params':{'collaboratorID':_0x1f3230['collaboratorID'],'objectID':_0x1f3230['objectID'],'unitID':_0x1f3230[_0x1162fc(0x19e)]}});}async[_0x5231a7(0x497)](_0x1cf78b){var _0x1051d1=_0x5231a7;const _0x263413=this[_0x1051d1(0x356)]()+'/collaborator';await this[_0x1051d1(0x458)][_0x1051d1(0x1a0)](_0x263413,{'body':_0x1cf78b});}async['createCollaborator'](_0x14e7e7){var _0x265203=_0x5231a7;const _0x3210bf=this[_0x265203(0x356)]()+'/collaborator';await this[_0x265203(0x458)][_0x265203(0x41a)](_0x3210bf,{'body':_0x14e7e7});}async[_0x5231a7(0x46a)](_0x1f0b90){var _0x2a3309=_0x5231a7;const _0x4970dc=this[_0x2a3309(0x356)]()+_0x2a3309(0x2d8);return(await this[_0x2a3309(0x458)]['get'](_0x4970dc,{'params':{'objectID':_0x1f0b90[_0x2a3309(0x163)],'unitID':_0x1f0b90[_0x2a3309(0x19e)]}}))[_0x2a3309(0x1e4)][_0x2a3309(0x165)];}async[_0x5231a7(0x2af)](_0x3d8eee){var _0x1cf06f=_0x5231a7;const _0x34e50f=this[_0x1cf06f(0x356)]()+_0x1cf06f(0x2d8);await this[_0x1cf06f(0x458)]['put'](_0x34e50f,{'body':_0x3d8eee});}},exports[_0x5231a7(0x2e0)]=pi([qe(0x0,a['Inject'](q[_0x5231a7(0x1c5)])),qe(0x1,a[_0x5231a7(0x4a4)](a[_0x5231a7(0x1da)]))],exports[_0x5231a7(0x2e0)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x10e925){var _0x495a72=_0x5231a7;return _0x10e925&&_0x10e925[_0x495a72(0x2e6)]&&Object[_0x495a72(0x283)][_0x495a72(0x357)][_0x495a72(0x1d4)](_0x10e925,_0x495a72(0x1f5))?_0x10e925[_0x495a72(0x1f5)]:_0x10e925;}var fe={'exports':{}};function gi(_0x1d4afb){var _0x3562da=_0x5231a7;throw new Error(_0x3562da(0x288)+_0x1d4afb+_0x3562da(0x260));}var Ie={'exports':{}},Ei=Ie[_0x5231a7(0x1b6)],Ke;function Q(){return Ke||(Ke=0x1,function(_0x53ce8d,_0x2ef888){(function(_0x59177a,_0x1ab473){var _0x3efc8c=_0x3770;_0x53ce8d[_0x3efc8c(0x1b6)]=_0x1ab473();}(Ei,function(){var _0x3c0b3c=_0x3c0b3c||function(_0x41218b,_0x4da482){var _0xf91144=_0x3770,_0x285bc6;if(typeof window<'u'&&window['crypto']&&(_0x285bc6=window[_0xf91144(0x212)]),typeof self<'u'&&self[_0xf91144(0x212)]&&(_0x285bc6=self[_0xf91144(0x212)]),typeof globalThis<'u'&&globalThis[_0xf91144(0x212)]&&(_0x285bc6=globalThis[_0xf91144(0x212)]),!_0x285bc6&&typeof window<'u'&&window[_0xf91144(0x34e)]&&(_0x285bc6=window['msCrypto']),!_0x285bc6&&typeof Pe<'u'&&Pe[_0xf91144(0x212)]&&(_0x285bc6=Pe['crypto']),!_0x285bc6&&typeof gi==_0xf91144(0x4a0))try{_0x285bc6=require('crypto');}catch{}var _0x5d2a8b=function(){var _0x3ac8c7=_0xf91144;if(_0x285bc6){if(typeof _0x285bc6[_0x3ac8c7(0x3b0)]==_0x3ac8c7(0x4a0))try{return _0x285bc6[_0x3ac8c7(0x3b0)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x285bc6['randomBytes']=='function')try{return _0x285bc6[_0x3ac8c7(0x294)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x491edd=Object['create']||(function(){function _0x4582c0(){}return function(_0x3a6052){var _0x1230db=_0x3770,_0x5484fe;return _0x4582c0[_0x1230db(0x283)]=_0x3a6052,_0x5484fe=new _0x4582c0(),_0x4582c0[_0x1230db(0x283)]=null,_0x5484fe;};}()),_0x1028a4={},_0x315790=_0x1028a4['lib']={},_0x3be075=_0x315790[_0xf91144(0x22b)]=(function(){return{'extend':function(_0x43efd7){var _0xf8decf=_0x3770,_0x11e4f7=_0x491edd(this);return _0x43efd7&&_0x11e4f7[_0xf8decf(0x24b)](_0x43efd7),(!_0x11e4f7[_0xf8decf(0x357)](_0xf8decf(0x25b))||this[_0xf8decf(0x25b)]===_0x11e4f7['init'])&&(_0x11e4f7[_0xf8decf(0x25b)]=function(){var _0x20125b=_0xf8decf;_0x11e4f7[_0x20125b(0x2b8)][_0x20125b(0x25b)][_0x20125b(0x1ef)](this,arguments);}),_0x11e4f7[_0xf8decf(0x25b)][_0xf8decf(0x283)]=_0x11e4f7,_0x11e4f7[_0xf8decf(0x2b8)]=this,_0x11e4f7;},'create':function(){var _0x368729=_0x3770,_0x3ce8bc=this[_0x368729(0x2fd)]();return _0x3ce8bc[_0x368729(0x25b)][_0x368729(0x1ef)](_0x3ce8bc,arguments),_0x3ce8bc;},'init':function(){},'mixIn':function(_0x5f02fc){var _0x138fb0=_0x3770;for(var _0x4568ce in _0x5f02fc)_0x5f02fc[_0x138fb0(0x357)](_0x4568ce)&&(this[_0x4568ce]=_0x5f02fc[_0x4568ce]);_0x5f02fc[_0x138fb0(0x357)]('toString')&&(this[_0x138fb0(0x449)]=_0x5f02fc[_0x138fb0(0x449)]);},'clone':function(){var _0x41a591=_0x3770;return this[_0x41a591(0x25b)]['prototype']['extend'](this);}};}()),_0x3770e5=_0x315790[_0xf91144(0x44b)]=_0x3be075['extend']({'init':function(_0x26dd3c,_0x3870f9){var _0x3bf029=_0xf91144;_0x26dd3c=this[_0x3bf029(0x393)]=_0x26dd3c||[],_0x3870f9!=_0x4da482?this[_0x3bf029(0x2bd)]=_0x3870f9:this[_0x3bf029(0x2bd)]=_0x26dd3c['length']*0x4;},'toString':function(_0x133f6b){var _0x517e02=_0xf91144;return(_0x133f6b||_0x21c60f)[_0x517e02(0x1f6)](this);},'concat':function(_0x4f8506){var _0x1631b8=_0xf91144,_0x53758c=this['words'],_0x16df8f=_0x4f8506[_0x1631b8(0x393)],_0x83a71=this['sigBytes'],_0x5a7707=_0x4f8506[_0x1631b8(0x2bd)];if(this[_0x1631b8(0x3c0)](),_0x83a71%0x4)for(var _0x271c60=0x0;_0x271c60<_0x5a7707;_0x271c60++){var _0x666092=_0x16df8f[_0x271c60>>>0x2]>>>0x18-_0x271c60%0x4*0x8&0xff;_0x53758c[_0x83a71+_0x271c60>>>0x2]|=_0x666092<<0x18-(_0x83a71+_0x271c60)%0x4*0x8;}else{for(var _0x200e36=0x0;_0x200e36<_0x5a7707;_0x200e36+=0x4)_0x53758c[_0x83a71+_0x200e36>>>0x2]=_0x16df8f[_0x200e36>>>0x2];}return this[_0x1631b8(0x2bd)]+=_0x5a7707,this;},'clamp':function(){var _0x52b93c=_0xf91144,_0x20c213=this[_0x52b93c(0x393)],_0x3246df=this[_0x52b93c(0x2bd)];_0x20c213[_0x3246df>>>0x2]&=0xffffffff<<0x20-_0x3246df%0x4*0x8,_0x20c213[_0x52b93c(0x395)]=_0x41218b[_0x52b93c(0x235)](_0x3246df/0x4);},'clone':function(){var _0x5c1824=_0xf91144,_0xecfa31=_0x3be075[_0x5c1824(0x44c)]['call'](this);return _0xecfa31[_0x5c1824(0x393)]=this[_0x5c1824(0x393)][_0x5c1824(0x32c)](0x0),_0xecfa31;},'random':function(_0xe72bbc){var _0x41a23b=_0xf91144;for(var _0x1e097b=[],_0x3a7072=0x0;_0x3a7072<_0xe72bbc;_0x3a7072+=0x4)_0x1e097b[_0x41a23b(0x445)](_0x5d2a8b());return new _0x3770e5['init'](_0x1e097b,_0xe72bbc);}}),_0x1957d8=_0x1028a4[_0xf91144(0x2a1)]={},_0x21c60f=_0x1957d8['Hex']={'stringify':function(_0xf12dca){var _0x40aaaf=_0xf91144;for(var _0x5d3f1d=_0xf12dca[_0x40aaaf(0x393)],_0xcfd319=_0xf12dca[_0x40aaaf(0x2bd)],_0x155e42=[],_0x486e29=0x0;_0x486e29<_0xcfd319;_0x486e29++){var _0x3a2647=_0x5d3f1d[_0x486e29>>>0x2]>>>0x18-_0x486e29%0x4*0x8&0xff;_0x155e42[_0x40aaaf(0x445)]((_0x3a2647>>>0x4)[_0x40aaaf(0x449)](0x10)),_0x155e42[_0x40aaaf(0x445)]((_0x3a2647&0xf)[_0x40aaaf(0x449)](0x10));}return _0x155e42[_0x40aaaf(0x265)]('');},'parse':function(_0x1cd1c2){var _0x49bdc8=_0xf91144;for(var _0x49aea1=_0x1cd1c2[_0x49bdc8(0x395)],_0x4aea24=[],_0xb6ac91=0x0;_0xb6ac91<_0x49aea1;_0xb6ac91+=0x2)_0x4aea24[_0xb6ac91>>>0x3]|=parseInt(_0x1cd1c2[_0x49bdc8(0x323)](_0xb6ac91,0x2),0x10)<<0x18-_0xb6ac91%0x8*0x4;return new _0x3770e5[(_0x49bdc8(0x25b))](_0x4aea24,_0x49aea1/0x2);}},_0x291be9=_0x1957d8[_0xf91144(0x225)]={'stringify':function(_0x41d8e5){var _0x9d1f72=_0xf91144;for(var _0x15f07f=_0x41d8e5[_0x9d1f72(0x393)],_0x273682=_0x41d8e5[_0x9d1f72(0x2bd)],_0x1c33a4=[],_0x215ef6=0x0;_0x215ef6<_0x273682;_0x215ef6++){var _0x4cfe78=_0x15f07f[_0x215ef6>>>0x2]>>>0x18-_0x215ef6%0x4*0x8&0xff;_0x1c33a4[_0x9d1f72(0x445)](String[_0x9d1f72(0x248)](_0x4cfe78));}return _0x1c33a4[_0x9d1f72(0x265)]('');},'parse':function(_0x2eec41){var _0x29f320=_0xf91144;for(var _0x51be7c=_0x2eec41[_0x29f320(0x395)],_0x175fae=[],_0x2bd897=0x0;_0x2bd897<_0x51be7c;_0x2bd897++)_0x175fae[_0x2bd897>>>0x2]|=(_0x2eec41[_0x29f320(0x3e7)](_0x2bd897)&0xff)<<0x18-_0x2bd897%0x4*0x8;return new _0x3770e5[(_0x29f320(0x25b))](_0x175fae,_0x51be7c);}},_0x4b4dd2=_0x1957d8[_0xf91144(0x436)]={'stringify':function(_0x57cdc6){var _0x3556be=_0xf91144;try{return decodeURIComponent(escape(_0x291be9[_0x3556be(0x1f6)](_0x57cdc6)));}catch{throw new Error(_0x3556be(0x3fd));}},'parse':function(_0x5ba9ba){var _0xbe524e=_0xf91144;return _0x291be9[_0xbe524e(0x156)](unescape(encodeURIComponent(_0x5ba9ba)));}},_0x508b0a=_0x315790['BufferedBlockAlgorithm']=_0x3be075['extend']({'reset':function(){var _0x14857a=_0xf91144;this[_0x14857a(0x3c2)]=new _0x3770e5[(_0x14857a(0x25b))](),this[_0x14857a(0x44a)]=0x0;},'_append':function(_0x12702e){var _0x2b0386=_0xf91144;typeof _0x12702e==_0x2b0386(0x2e2)&&(_0x12702e=_0x4b4dd2[_0x2b0386(0x156)](_0x12702e)),this[_0x2b0386(0x3c2)][_0x2b0386(0x27b)](_0x12702e),this[_0x2b0386(0x44a)]+=_0x12702e['sigBytes'];},'_process':function(_0x23c49d){var _0x432560=_0xf91144,_0x53ca01,_0x41d73a=this[_0x432560(0x3c2)],_0x257e2b=_0x41d73a[_0x432560(0x393)],_0x1e7d53=_0x41d73a['sigBytes'],_0x4e052c=this[_0x432560(0x2cf)],_0x4ba0f8=_0x4e052c*0x4,_0x21c5f6=_0x1e7d53/_0x4ba0f8;_0x23c49d?_0x21c5f6=_0x41218b[_0x432560(0x235)](_0x21c5f6):_0x21c5f6=_0x41218b[_0x432560(0x38e)]((_0x21c5f6|0x0)-this['_minBufferSize'],0x0);var _0x5671b3=_0x21c5f6*_0x4e052c,_0x2ae053=_0x41218b[_0x432560(0x17d)](_0x5671b3*0x4,_0x1e7d53);if(_0x5671b3){for(var _0x47a1fb=0x0;_0x47a1fb<_0x5671b3;_0x47a1fb+=_0x4e052c)this['_doProcessBlock'](_0x257e2b,_0x47a1fb);_0x53ca01=_0x257e2b[_0x432560(0x286)](0x0,_0x5671b3),_0x41d73a[_0x432560(0x2bd)]-=_0x2ae053;}return new _0x3770e5[(_0x432560(0x25b))](_0x53ca01,_0x2ae053);},'clone':function(){var _0x52e23a=_0xf91144,_0x191003=_0x3be075[_0x52e23a(0x44c)][_0x52e23a(0x1d4)](this);return _0x191003[_0x52e23a(0x3c2)]=this['_data'][_0x52e23a(0x44c)](),_0x191003;},'_minBufferSize':0x0});_0x315790['Hasher']=_0x508b0a[_0xf91144(0x2fd)]({'cfg':_0x3be075['extend'](),'init':function(_0x305fca){var _0x202c14=_0xf91144;this[_0x202c14(0x4ac)]=this['cfg'][_0x202c14(0x2fd)](_0x305fca),this['reset']();},'reset':function(){var _0x5c7b53=_0xf91144;_0x508b0a[_0x5c7b53(0x1aa)]['call'](this),this['_doReset']();},'update':function(_0x5a80e3){var _0x1dacc8=_0xf91144;return this[_0x1dacc8(0x23c)](_0x5a80e3),this['_process'](),this;},'finalize':function(_0x422b31){var _0x5c036a=_0xf91144;_0x422b31&&this[_0x5c036a(0x23c)](_0x422b31);var _0x15d82f=this[_0x5c036a(0x203)]();return _0x15d82f;},'blockSize':0x10,'_createHelper':function(_0x3f398e){return function(_0x1ab316,_0x2c0efc){var _0x454b4b=_0x3770;return new _0x3f398e[(_0x454b4b(0x25b))](_0x2c0efc)[_0x454b4b(0x28b)](_0x1ab316);};},'_createHmacHelper':function(_0x54e2c3){return function(_0x37e21f,_0x5e8e52){var _0x31f170=_0x3770;return new _0x48f515[(_0x31f170(0x351))][(_0x31f170(0x25b))](_0x54e2c3,_0x5e8e52)[_0x31f170(0x28b)](_0x37e21f);};}});var _0x48f515=_0x1028a4[_0xf91144(0x202)]={};return _0x1028a4;}(Math);return _0x3c0b3c;}));}(Ie)),Ie['exports'];}var pe={'exports':{}},Ci=pe[_0x5231a7(0x1b6)],ze;function Et(){var _0x12126a=_0x5231a7;return ze||(ze=0x1,function(_0x5aefa2,_0x3884c2){(function(_0x595f4e,_0xb115dd){var _0x22fb65=_0x3770;_0x5aefa2[_0x22fb65(0x1b6)]=_0xb115dd(Q());}(Ci,function(_0x32e33e){var _0x55dae2=_0x3770;return(function(){var _0x4993fc=_0x3770,_0x4624a9=_0x32e33e,_0x3fc39f=_0x4624a9[_0x4993fc(0x447)],_0xff75ca=_0x3fc39f[_0x4993fc(0x44b)],_0x53559=_0x4624a9[_0x4993fc(0x2a1)];_0x53559[_0x4993fc(0x438)]={'stringify':function(_0x21b4ad){var _0x253442=_0x4993fc,_0x27ac11=_0x21b4ad[_0x253442(0x393)],_0x24653c=_0x21b4ad[_0x253442(0x2bd)],_0x152923=this['_map'];_0x21b4ad[_0x253442(0x3c0)]();for(var _0x2972e7=[],_0x6b7f9b=0x0;_0x6b7f9b<_0x24653c;_0x6b7f9b+=0x3)for(var _0x4fba71=_0x27ac11[_0x6b7f9b>>>0x2]>>>0x18-_0x6b7f9b%0x4*0x8&0xff,_0x2e67bd=_0x27ac11[_0x6b7f9b+0x1>>>0x2]>>>0x18-(_0x6b7f9b+0x1)%0x4*0x8&0xff,_0x3b10e0=_0x27ac11[_0x6b7f9b+0x2>>>0x2]>>>0x18-(_0x6b7f9b+0x2)%0x4*0x8&0xff,_0x32b5a9=_0x4fba71<<0x10|_0x2e67bd<<0x8|_0x3b10e0,_0x2e940f=0x0;_0x2e940f<0x4&&_0x6b7f9b+_0x2e940f*0.75<_0x24653c;_0x2e940f++)_0x2972e7['push'](_0x152923[_0x253442(0x401)](_0x32b5a9>>>0x6*(0x3-_0x2e940f)&0x3f));var _0x26aef2=_0x152923['charAt'](0x40);if(_0x26aef2){for(;_0x2972e7[_0x253442(0x395)]%0x4;)_0x2972e7[_0x253442(0x445)](_0x26aef2);}return _0x2972e7['join']('');},'parse':function(_0x3f4f93){var _0x5bb6da=_0x4993fc,_0x5c68a7=_0x3f4f93[_0x5bb6da(0x395)],_0x465a4a=this[_0x5bb6da(0x440)],_0x558f38=this[_0x5bb6da(0x1c7)];if(!_0x558f38){_0x558f38=this['_reverseMap']=[];for(var _0xc3aa61=0x0;_0xc3aa61<_0x465a4a[_0x5bb6da(0x395)];_0xc3aa61++)_0x558f38[_0x465a4a[_0x5bb6da(0x3e7)](_0xc3aa61)]=_0xc3aa61;}var _0x7489f9=_0x465a4a[_0x5bb6da(0x401)](0x40);if(_0x7489f9){var _0x4dd976=_0x3f4f93[_0x5bb6da(0x490)](_0x7489f9);_0x4dd976!==-0x1&&(_0x5c68a7=_0x4dd976);}return _0x5eb1dd(_0x3f4f93,_0x5c68a7,_0x558f38);},'_map':_0x4993fc(0x151)};function _0x5eb1dd(_0x511352,_0x2863e2,_0x31d4cc){var _0x211af2=_0x4993fc;for(var _0x112428=[],_0x2014bb=0x0,_0x3a4eed=0x0;_0x3a4eed<_0x2863e2;_0x3a4eed++)if(_0x3a4eed%0x4){var _0x4c3859=_0x31d4cc[_0x511352[_0x211af2(0x3e7)](_0x3a4eed-0x1)]<<_0x3a4eed%0x4*0x2,_0x3a8878=_0x31d4cc[_0x511352[_0x211af2(0x3e7)](_0x3a4eed)]>>>0x6-_0x3a4eed%0x4*0x2,_0x4ce819=_0x4c3859|_0x3a8878;_0x112428[_0x2014bb>>>0x2]|=_0x4ce819<<0x18-_0x2014bb%0x4*0x8,_0x2014bb++;}return _0xff75ca[_0x211af2(0x236)](_0x112428,_0x2014bb);}}()),_0x32e33e['enc'][_0x55dae2(0x438)];}));}(pe)),pe[_0x12126a(0x1b6)];}var me={'exports':{}},Ti=me[_0x5231a7(0x1b6)],Je;function bi(){var _0x2e0a50=_0x5231a7;return Je||(Je=0x1,function(_0x22667d,_0x2b829b){(function(_0x53051f,_0xf2c21c){_0x22667d['exports']=_0xf2c21c(Q());}(Ti,function(_0x17d1d6){var _0x58ceb4=_0x3770;return function(_0x396cb1){var _0x5df262=_0x3770,_0x41a51a=_0x17d1d6,_0x3bdf72=_0x41a51a[_0x5df262(0x447)],_0x2ba0d4=_0x3bdf72['WordArray'],_0x59657a=_0x3bdf72['Hasher'],_0x5177e0=_0x41a51a['algo'],_0x2ccce3=[];(function(){var _0xad0091=_0x5df262;for(var _0x456313=0x0;_0x456313<0x40;_0x456313++)_0x2ccce3[_0x456313]=_0x396cb1[_0xad0091(0x23b)](_0x396cb1[_0xad0091(0x343)](_0x456313+0x1))*0x100000000|0x0;}());var _0x4a2205=_0x5177e0[_0x5df262(0x1f8)]=_0x59657a['extend']({'_doReset':function(){this['_hash']=new _0x2ba0d4['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x24e3c2,_0x2faa79){var _0x16b8a2=_0x5df262;for(var _0x43acb4=0x0;_0x43acb4<0x10;_0x43acb4++){var _0xf9c48d=_0x2faa79+_0x43acb4,_0x57037f=_0x24e3c2[_0xf9c48d];_0x24e3c2[_0xf9c48d]=(_0x57037f<<0x8|_0x57037f>>>0x18)&0xff00ff|(_0x57037f<<0x18|_0x57037f>>>0x8)&0xff00ff00;}var _0x46b88f=this[_0x16b8a2(0x25f)][_0x16b8a2(0x393)],_0x197dad=_0x24e3c2[_0x2faa79+0x0],_0xd3a247=_0x24e3c2[_0x2faa79+0x1],_0x33ee51=_0x24e3c2[_0x2faa79+0x2],_0x1ab9ad=_0x24e3c2[_0x2faa79+0x3],_0x2574a9=_0x24e3c2[_0x2faa79+0x4],_0x1504e=_0x24e3c2[_0x2faa79+0x5],_0x31db19=_0x24e3c2[_0x2faa79+0x6],_0x44e5d6=_0x24e3c2[_0x2faa79+0x7],_0xb97843=_0x24e3c2[_0x2faa79+0x8],_0x40c1f1=_0x24e3c2[_0x2faa79+0x9],_0x10040f=_0x24e3c2[_0x2faa79+0xa],_0x210a5f=_0x24e3c2[_0x2faa79+0xb],_0x2b0367=_0x24e3c2[_0x2faa79+0xc],_0x127e10=_0x24e3c2[_0x2faa79+0xd],_0x5572e9=_0x24e3c2[_0x2faa79+0xe],_0x4e5e00=_0x24e3c2[_0x2faa79+0xf],_0x5cef21=_0x46b88f[0x0],_0x1d0965=_0x46b88f[0x1],_0x334627=_0x46b88f[0x2],_0x2e63f7=_0x46b88f[0x3];_0x5cef21=_0x1581fe(_0x5cef21,_0x1d0965,_0x334627,_0x2e63f7,_0x197dad,0x7,_0x2ccce3[0x0]),_0x2e63f7=_0x1581fe(_0x2e63f7,_0x5cef21,_0x1d0965,_0x334627,_0xd3a247,0xc,_0x2ccce3[0x1]),_0x334627=_0x1581fe(_0x334627,_0x2e63f7,_0x5cef21,_0x1d0965,_0x33ee51,0x11,_0x2ccce3[0x2]),_0x1d0965=_0x1581fe(_0x1d0965,_0x334627,_0x2e63f7,_0x5cef21,_0x1ab9ad,0x16,_0x2ccce3[0x3]),_0x5cef21=_0x1581fe(_0x5cef21,_0x1d0965,_0x334627,_0x2e63f7,_0x2574a9,0x7,_0x2ccce3[0x4]),_0x2e63f7=_0x1581fe(_0x2e63f7,_0x5cef21,_0x1d0965,_0x334627,_0x1504e,0xc,_0x2ccce3[0x5]),_0x334627=_0x1581fe(_0x334627,_0x2e63f7,_0x5cef21,_0x1d0965,_0x31db19,0x11,_0x2ccce3[0x6]),_0x1d0965=_0x1581fe(_0x1d0965,_0x334627,_0x2e63f7,_0x5cef21,_0x44e5d6,0x16,_0x2ccce3[0x7]),_0x5cef21=_0x1581fe(_0x5cef21,_0x1d0965,_0x334627,_0x2e63f7,_0xb97843,0x7,_0x2ccce3[0x8]),_0x2e63f7=_0x1581fe(_0x2e63f7,_0x5cef21,_0x1d0965,_0x334627,_0x40c1f1,0xc,_0x2ccce3[0x9]),_0x334627=_0x1581fe(_0x334627,_0x2e63f7,_0x5cef21,_0x1d0965,_0x10040f,0x11,_0x2ccce3[0xa]),_0x1d0965=_0x1581fe(_0x1d0965,_0x334627,_0x2e63f7,_0x5cef21,_0x210a5f,0x16,_0x2ccce3[0xb]),_0x5cef21=_0x1581fe(_0x5cef21,_0x1d0965,_0x334627,_0x2e63f7,_0x2b0367,0x7,_0x2ccce3[0xc]),_0x2e63f7=_0x1581fe(_0x2e63f7,_0x5cef21,_0x1d0965,_0x334627,_0x127e10,0xc,_0x2ccce3[0xd]),_0x334627=_0x1581fe(_0x334627,_0x2e63f7,_0x5cef21,_0x1d0965,_0x5572e9,0x11,_0x2ccce3[0xe]),_0x1d0965=_0x1581fe(_0x1d0965,_0x334627,_0x2e63f7,_0x5cef21,_0x4e5e00,0x16,_0x2ccce3[0xf]),_0x5cef21=_0x44f8f6(_0x5cef21,_0x1d0965,_0x334627,_0x2e63f7,_0xd3a247,0x5,_0x2ccce3[0x10]),_0x2e63f7=_0x44f8f6(_0x2e63f7,_0x5cef21,_0x1d0965,_0x334627,_0x31db19,0x9,_0x2ccce3[0x11]),_0x334627=_0x44f8f6(_0x334627,_0x2e63f7,_0x5cef21,_0x1d0965,_0x210a5f,0xe,_0x2ccce3[0x12]),_0x1d0965=_0x44f8f6(_0x1d0965,_0x334627,_0x2e63f7,_0x5cef21,_0x197dad,0x14,_0x2ccce3[0x13]),_0x5cef21=_0x44f8f6(_0x5cef21,_0x1d0965,_0x334627,_0x2e63f7,_0x1504e,0x5,_0x2ccce3[0x14]),_0x2e63f7=_0x44f8f6(_0x2e63f7,_0x5cef21,_0x1d0965,_0x334627,_0x10040f,0x9,_0x2ccce3[0x15]),_0x334627=_0x44f8f6(_0x334627,_0x2e63f7,_0x5cef21,_0x1d0965,_0x4e5e00,0xe,_0x2ccce3[0x16]),_0x1d0965=_0x44f8f6(_0x1d0965,_0x334627,_0x2e63f7,_0x5cef21,_0x2574a9,0x14,_0x2ccce3[0x17]),_0x5cef21=_0x44f8f6(_0x5cef21,_0x1d0965,_0x334627,_0x2e63f7,_0x40c1f1,0x5,_0x2ccce3[0x18]),_0x2e63f7=_0x44f8f6(_0x2e63f7,_0x5cef21,_0x1d0965,_0x334627,_0x5572e9,0x9,_0x2ccce3[0x19]),_0x334627=_0x44f8f6(_0x334627,_0x2e63f7,_0x5cef21,_0x1d0965,_0x1ab9ad,0xe,_0x2ccce3[0x1a]),_0x1d0965=_0x44f8f6(_0x1d0965,_0x334627,_0x2e63f7,_0x5cef21,_0xb97843,0x14,_0x2ccce3[0x1b]),_0x5cef21=_0x44f8f6(_0x5cef21,_0x1d0965,_0x334627,_0x2e63f7,_0x127e10,0x5,_0x2ccce3[0x1c]),_0x2e63f7=_0x44f8f6(_0x2e63f7,_0x5cef21,_0x1d0965,_0x334627,_0x33ee51,0x9,_0x2ccce3[0x1d]),_0x334627=_0x44f8f6(_0x334627,_0x2e63f7,_0x5cef21,_0x1d0965,_0x44e5d6,0xe,_0x2ccce3[0x1e]),_0x1d0965=_0x44f8f6(_0x1d0965,_0x334627,_0x2e63f7,_0x5cef21,_0x2b0367,0x14,_0x2ccce3[0x1f]),_0x5cef21=_0x1fd542(_0x5cef21,_0x1d0965,_0x334627,_0x2e63f7,_0x1504e,0x4,_0x2ccce3[0x20]),_0x2e63f7=_0x1fd542(_0x2e63f7,_0x5cef21,_0x1d0965,_0x334627,_0xb97843,0xb,_0x2ccce3[0x21]),_0x334627=_0x1fd542(_0x334627,_0x2e63f7,_0x5cef21,_0x1d0965,_0x210a5f,0x10,_0x2ccce3[0x22]),_0x1d0965=_0x1fd542(_0x1d0965,_0x334627,_0x2e63f7,_0x5cef21,_0x5572e9,0x17,_0x2ccce3[0x23]),_0x5cef21=_0x1fd542(_0x5cef21,_0x1d0965,_0x334627,_0x2e63f7,_0xd3a247,0x4,_0x2ccce3[0x24]),_0x2e63f7=_0x1fd542(_0x2e63f7,_0x5cef21,_0x1d0965,_0x334627,_0x2574a9,0xb,_0x2ccce3[0x25]),_0x334627=_0x1fd542(_0x334627,_0x2e63f7,_0x5cef21,_0x1d0965,_0x44e5d6,0x10,_0x2ccce3[0x26]),_0x1d0965=_0x1fd542(_0x1d0965,_0x334627,_0x2e63f7,_0x5cef21,_0x10040f,0x17,_0x2ccce3[0x27]),_0x5cef21=_0x1fd542(_0x5cef21,_0x1d0965,_0x334627,_0x2e63f7,_0x127e10,0x4,_0x2ccce3[0x28]),_0x2e63f7=_0x1fd542(_0x2e63f7,_0x5cef21,_0x1d0965,_0x334627,_0x197dad,0xb,_0x2ccce3[0x29]),_0x334627=_0x1fd542(_0x334627,_0x2e63f7,_0x5cef21,_0x1d0965,_0x1ab9ad,0x10,_0x2ccce3[0x2a]),_0x1d0965=_0x1fd542(_0x1d0965,_0x334627,_0x2e63f7,_0x5cef21,_0x31db19,0x17,_0x2ccce3[0x2b]),_0x5cef21=_0x1fd542(_0x5cef21,_0x1d0965,_0x334627,_0x2e63f7,_0x40c1f1,0x4,_0x2ccce3[0x2c]),_0x2e63f7=_0x1fd542(_0x2e63f7,_0x5cef21,_0x1d0965,_0x334627,_0x2b0367,0xb,_0x2ccce3[0x2d]),_0x334627=_0x1fd542(_0x334627,_0x2e63f7,_0x5cef21,_0x1d0965,_0x4e5e00,0x10,_0x2ccce3[0x2e]),_0x1d0965=_0x1fd542(_0x1d0965,_0x334627,_0x2e63f7,_0x5cef21,_0x33ee51,0x17,_0x2ccce3[0x2f]),_0x5cef21=_0x2810e2(_0x5cef21,_0x1d0965,_0x334627,_0x2e63f7,_0x197dad,0x6,_0x2ccce3[0x30]),_0x2e63f7=_0x2810e2(_0x2e63f7,_0x5cef21,_0x1d0965,_0x334627,_0x44e5d6,0xa,_0x2ccce3[0x31]),_0x334627=_0x2810e2(_0x334627,_0x2e63f7,_0x5cef21,_0x1d0965,_0x5572e9,0xf,_0x2ccce3[0x32]),_0x1d0965=_0x2810e2(_0x1d0965,_0x334627,_0x2e63f7,_0x5cef21,_0x1504e,0x15,_0x2ccce3[0x33]),_0x5cef21=_0x2810e2(_0x5cef21,_0x1d0965,_0x334627,_0x2e63f7,_0x2b0367,0x6,_0x2ccce3[0x34]),_0x2e63f7=_0x2810e2(_0x2e63f7,_0x5cef21,_0x1d0965,_0x334627,_0x1ab9ad,0xa,_0x2ccce3[0x35]),_0x334627=_0x2810e2(_0x334627,_0x2e63f7,_0x5cef21,_0x1d0965,_0x10040f,0xf,_0x2ccce3[0x36]),_0x1d0965=_0x2810e2(_0x1d0965,_0x334627,_0x2e63f7,_0x5cef21,_0xd3a247,0x15,_0x2ccce3[0x37]),_0x5cef21=_0x2810e2(_0x5cef21,_0x1d0965,_0x334627,_0x2e63f7,_0xb97843,0x6,_0x2ccce3[0x38]),_0x2e63f7=_0x2810e2(_0x2e63f7,_0x5cef21,_0x1d0965,_0x334627,_0x4e5e00,0xa,_0x2ccce3[0x39]),_0x334627=_0x2810e2(_0x334627,_0x2e63f7,_0x5cef21,_0x1d0965,_0x31db19,0xf,_0x2ccce3[0x3a]),_0x1d0965=_0x2810e2(_0x1d0965,_0x334627,_0x2e63f7,_0x5cef21,_0x127e10,0x15,_0x2ccce3[0x3b]),_0x5cef21=_0x2810e2(_0x5cef21,_0x1d0965,_0x334627,_0x2e63f7,_0x2574a9,0x6,_0x2ccce3[0x3c]),_0x2e63f7=_0x2810e2(_0x2e63f7,_0x5cef21,_0x1d0965,_0x334627,_0x210a5f,0xa,_0x2ccce3[0x3d]),_0x334627=_0x2810e2(_0x334627,_0x2e63f7,_0x5cef21,_0x1d0965,_0x33ee51,0xf,_0x2ccce3[0x3e]),_0x1d0965=_0x2810e2(_0x1d0965,_0x334627,_0x2e63f7,_0x5cef21,_0x40c1f1,0x15,_0x2ccce3[0x3f]),_0x46b88f[0x0]=_0x46b88f[0x0]+_0x5cef21|0x0,_0x46b88f[0x1]=_0x46b88f[0x1]+_0x1d0965|0x0,_0x46b88f[0x2]=_0x46b88f[0x2]+_0x334627|0x0,_0x46b88f[0x3]=_0x46b88f[0x3]+_0x2e63f7|0x0;},'_doFinalize':function(){var _0xa70a7=_0x5df262,_0xd6e853=this[_0xa70a7(0x3c2)],_0x4786a4=_0xd6e853[_0xa70a7(0x393)],_0x2b1e3a=this['_nDataBytes']*0x8,_0x1ddd60=_0xd6e853[_0xa70a7(0x2bd)]*0x8;_0x4786a4[_0x1ddd60>>>0x5]|=0x80<<0x18-_0x1ddd60%0x20;var _0x2258c1=_0x396cb1[_0xa70a7(0x1fd)](_0x2b1e3a/0x100000000),_0x1a03d1=_0x2b1e3a;_0x4786a4[(_0x1ddd60+0x40>>>0x9<<0x4)+0xf]=(_0x2258c1<<0x8|_0x2258c1>>>0x18)&0xff00ff|(_0x2258c1<<0x18|_0x2258c1>>>0x8)&0xff00ff00,_0x4786a4[(_0x1ddd60+0x40>>>0x9<<0x4)+0xe]=(_0x1a03d1<<0x8|_0x1a03d1>>>0x18)&0xff00ff|(_0x1a03d1<<0x18|_0x1a03d1>>>0x8)&0xff00ff00,_0xd6e853[_0xa70a7(0x2bd)]=(_0x4786a4[_0xa70a7(0x395)]+0x1)*0x4,this[_0xa70a7(0x4a3)]();for(var _0x6b2119=this[_0xa70a7(0x25f)],_0x5269d5=_0x6b2119[_0xa70a7(0x393)],_0x24ab01=0x0;_0x24ab01<0x4;_0x24ab01++){var _0x2fb7bc=_0x5269d5[_0x24ab01];_0x5269d5[_0x24ab01]=(_0x2fb7bc<<0x8|_0x2fb7bc>>>0x18)&0xff00ff|(_0x2fb7bc<<0x18|_0x2fb7bc>>>0x8)&0xff00ff00;}return _0x6b2119;},'clone':function(){var _0x2af5c9=_0x5df262,_0x15078b=_0x59657a[_0x2af5c9(0x44c)][_0x2af5c9(0x1d4)](this);return _0x15078b['_hash']=this[_0x2af5c9(0x25f)][_0x2af5c9(0x44c)](),_0x15078b;}});function _0x1581fe(_0xdc0a23,_0x5b7619,_0x5c1ce8,_0x5051a5,_0x4878aa,_0xc67b04,_0x518ccb){var _0x9d775=_0xdc0a23+(_0x5b7619&_0x5c1ce8|~_0x5b7619&_0x5051a5)+_0x4878aa+_0x518ccb;return(_0x9d775<<_0xc67b04|_0x9d775>>>0x20-_0xc67b04)+_0x5b7619;}function _0x44f8f6(_0x25bc7f,_0x138ac0,_0x45cec3,_0x5f29c3,_0x5e348d,_0x58954a,_0x2b746a){var _0x304089=_0x25bc7f+(_0x138ac0&_0x5f29c3|_0x45cec3&~_0x5f29c3)+_0x5e348d+_0x2b746a;return(_0x304089<<_0x58954a|_0x304089>>>0x20-_0x58954a)+_0x138ac0;}function _0x1fd542(_0x5a32e0,_0x566893,_0x45f01a,_0x25971e,_0x4abb5f,_0x3a1bf7,_0x42b5c1){var _0x535b15=_0x5a32e0+(_0x566893^_0x45f01a^_0x25971e)+_0x4abb5f+_0x42b5c1;return(_0x535b15<<_0x3a1bf7|_0x535b15>>>0x20-_0x3a1bf7)+_0x566893;}function _0x2810e2(_0x4b8b4a,_0x2159d7,_0x4d7b86,_0x3138de,_0x194eeb,_0x4313fc,_0xbe3594){var _0x88b787=_0x4b8b4a+(_0x4d7b86^(_0x2159d7|~_0x3138de))+_0x194eeb+_0xbe3594;return(_0x88b787<<_0x4313fc|_0x88b787>>>0x20-_0x4313fc)+_0x2159d7;}_0x41a51a['MD5']=_0x59657a[_0x5df262(0x3df)](_0x4a2205),_0x41a51a[_0x5df262(0x153)]=_0x59657a[_0x5df262(0x3a6)](_0x4a2205);}(Math),_0x17d1d6[_0x58ceb4(0x1f8)];}));}(me)),me[_0x2e0a50(0x1b6)];}var ge={'exports':{}},Ee={'exports':{}},Oi=Ee[_0x5231a7(0x1b6)],Xe;function Ri(){var _0x5ca3be=_0x5231a7;return Xe||(Xe=0x1,function(_0x482e9b,_0x2e7270){(function(_0x5e0c33,_0x27973e){_0x482e9b['exports']=_0x27973e(Q());}(Oi,function(_0x43e706){var _0x494d06=_0x3770;return(function(){var _0x39a4d5=_0x3770,_0xab1eb8=_0x43e706,_0x1b5c96=_0xab1eb8[_0x39a4d5(0x447)],_0x2bc146=_0x1b5c96['WordArray'],_0xaff45=_0x1b5c96[_0x39a4d5(0x318)],_0x189545=_0xab1eb8[_0x39a4d5(0x202)],_0x54950a=[],_0x494cf9=_0x189545['SHA1']=_0xaff45[_0x39a4d5(0x2fd)]({'_doReset':function(){var _0x2e5b99=_0x39a4d5;this['_hash']=new _0x2bc146[(_0x2e5b99(0x25b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3a2ebc,_0x32f943){var _0x38d4f3=_0x39a4d5;for(var _0x21d09b=this[_0x38d4f3(0x25f)][_0x38d4f3(0x393)],_0x405f35=_0x21d09b[0x0],_0x2b8ea8=_0x21d09b[0x1],_0x3a6ea9=_0x21d09b[0x2],_0x38dd76=_0x21d09b[0x3],_0x322bec=_0x21d09b[0x4],_0x3a1df1=0x0;_0x3a1df1<0x50;_0x3a1df1++){if(_0x3a1df1<0x10)_0x54950a[_0x3a1df1]=_0x3a2ebc[_0x32f943+_0x3a1df1]|0x0;else{var _0x4a9ca0=_0x54950a[_0x3a1df1-0x3]^_0x54950a[_0x3a1df1-0x8]^_0x54950a[_0x3a1df1-0xe]^_0x54950a[_0x3a1df1-0x10];_0x54950a[_0x3a1df1]=_0x4a9ca0<<0x1|_0x4a9ca0>>>0x1f;}var _0xc7d2fc=(_0x405f35<<0x5|_0x405f35>>>0x1b)+_0x322bec+_0x54950a[_0x3a1df1];_0x3a1df1<0x14?_0xc7d2fc+=(_0x2b8ea8&_0x3a6ea9|~_0x2b8ea8&_0x38dd76)+0x5a827999:_0x3a1df1<0x28?_0xc7d2fc+=(_0x2b8ea8^_0x3a6ea9^_0x38dd76)+0x6ed9eba1:_0x3a1df1<0x3c?_0xc7d2fc+=(_0x2b8ea8&_0x3a6ea9|_0x2b8ea8&_0x38dd76|_0x3a6ea9&_0x38dd76)-0x70e44324:_0xc7d2fc+=(_0x2b8ea8^_0x3a6ea9^_0x38dd76)-0x359d3e2a,_0x322bec=_0x38dd76,_0x38dd76=_0x3a6ea9,_0x3a6ea9=_0x2b8ea8<<0x1e|_0x2b8ea8>>>0x2,_0x2b8ea8=_0x405f35,_0x405f35=_0xc7d2fc;}_0x21d09b[0x0]=_0x21d09b[0x0]+_0x405f35|0x0,_0x21d09b[0x1]=_0x21d09b[0x1]+_0x2b8ea8|0x0,_0x21d09b[0x2]=_0x21d09b[0x2]+_0x3a6ea9|0x0,_0x21d09b[0x3]=_0x21d09b[0x3]+_0x38dd76|0x0,_0x21d09b[0x4]=_0x21d09b[0x4]+_0x322bec|0x0;},'_doFinalize':function(){var _0x497f8c=_0x39a4d5,_0x1da4ec=this[_0x497f8c(0x3c2)],_0x338f11=_0x1da4ec['words'],_0x3c6d8a=this[_0x497f8c(0x44a)]*0x8,_0x4a9bc7=_0x1da4ec['sigBytes']*0x8;return _0x338f11[_0x4a9bc7>>>0x5]|=0x80<<0x18-_0x4a9bc7%0x20,_0x338f11[(_0x4a9bc7+0x40>>>0x9<<0x4)+0xe]=Math[_0x497f8c(0x1fd)](_0x3c6d8a/0x100000000),_0x338f11[(_0x4a9bc7+0x40>>>0x9<<0x4)+0xf]=_0x3c6d8a,_0x1da4ec['sigBytes']=_0x338f11[_0x497f8c(0x395)]*0x4,this[_0x497f8c(0x4a3)](),this['_hash'];},'clone':function(){var _0x1bc22b=_0x39a4d5,_0x4bd820=_0xaff45['clone'][_0x1bc22b(0x1d4)](this);return _0x4bd820[_0x1bc22b(0x25f)]=this[_0x1bc22b(0x25f)][_0x1bc22b(0x44c)](),_0x4bd820;}});_0xab1eb8[_0x39a4d5(0x41e)]=_0xaff45[_0x39a4d5(0x3df)](_0x494cf9),_0xab1eb8['HmacSHA1']=_0xaff45[_0x39a4d5(0x3a6)](_0x494cf9);}()),_0x43e706[_0x494d06(0x41e)];}));}(Ee)),Ee[_0x5ca3be(0x1b6)];}var Ce={'exports':{}},yi=Ce['exports'],Ze;function Ni(){var _0x8efb1e=_0x5231a7;return Ze||(Ze=0x1,function(_0x2ab567,_0x3bf45a){(function(_0x283573,_0x169393){var _0x3f3758=_0x3770;_0x2ab567[_0x3f3758(0x1b6)]=_0x169393(Q());}(yi,function(_0x2506ff){(function(){var _0x365be6=_0x3770,_0x5e39fa=_0x2506ff,_0x219884=_0x5e39fa['lib'],_0xf03d75=_0x219884['Base'],_0x3b2027=_0x5e39fa['enc'],_0x1a71cc=_0x3b2027[_0x365be6(0x436)],_0x1c1dd8=_0x5e39fa[_0x365be6(0x202)];_0x1c1dd8[_0x365be6(0x351)]=_0xf03d75[_0x365be6(0x2fd)]({'init':function(_0x54a88f,_0x38820b){var _0x4971fe=_0x365be6;_0x54a88f=this['_hasher']=new _0x54a88f[(_0x4971fe(0x25b))](),typeof _0x38820b==_0x4971fe(0x2e2)&&(_0x38820b=_0x1a71cc[_0x4971fe(0x156)](_0x38820b));var _0x548dfe=_0x54a88f[_0x4971fe(0x2cf)],_0x274fed=_0x548dfe*0x4;_0x38820b[_0x4971fe(0x2bd)]>_0x274fed&&(_0x38820b=_0x54a88f[_0x4971fe(0x28b)](_0x38820b)),_0x38820b[_0x4971fe(0x3c0)]();for(var _0x8a4ba9=this[_0x4971fe(0x384)]=_0x38820b[_0x4971fe(0x44c)](),_0x10c3fd=this['_iKey']=_0x38820b[_0x4971fe(0x44c)](),_0x4069a2=_0x8a4ba9['words'],_0x56ca70=_0x10c3fd[_0x4971fe(0x393)],_0x343a11=0x0;_0x343a11<_0x548dfe;_0x343a11++)_0x4069a2[_0x343a11]^=0x5c5c5c5c,_0x56ca70[_0x343a11]^=0x36363636;_0x8a4ba9[_0x4971fe(0x2bd)]=_0x10c3fd[_0x4971fe(0x2bd)]=_0x274fed,this[_0x4971fe(0x1aa)]();},'reset':function(){var _0x41d53f=_0x365be6,_0x334da6=this[_0x41d53f(0x475)];_0x334da6['reset'](),_0x334da6[_0x41d53f(0x23a)](this[_0x41d53f(0x186)]);},'update':function(_0xa59ae){var _0x3681d8=_0x365be6;return this[_0x3681d8(0x475)][_0x3681d8(0x23a)](_0xa59ae),this;},'finalize':function(_0x10b4fb){var _0x563bf1=_0x365be6,_0x374a50=this[_0x563bf1(0x475)],_0x687c1c=_0x374a50[_0x563bf1(0x28b)](_0x10b4fb);_0x374a50[_0x563bf1(0x1aa)]();var _0x5c9dcb=_0x374a50[_0x563bf1(0x28b)](this[_0x563bf1(0x384)][_0x563bf1(0x44c)]()[_0x563bf1(0x27b)](_0x687c1c));return _0x5c9dcb;}});}());}));}(Ce)),Ce[_0x8efb1e(0x1b6)];}var Di=ge[_0x5231a7(0x1b6)],Qe;function Ct(){var _0x160334=_0x5231a7;return Qe||(Qe=0x1,function(_0x4adbf3,_0x143ce2){(function(_0x4a3a04,_0x3e3363,_0x450a9b){_0x4adbf3['exports']=_0x3e3363(Q(),Ri(),Ni());}(Di,function(_0x5f858d){var _0x2ca012=_0x3770;return(function(){var _0x301861=_0x3770,_0x6b3e58=_0x5f858d,_0x3d1151=_0x6b3e58[_0x301861(0x447)],_0x507c19=_0x3d1151[_0x301861(0x22b)],_0x12413c=_0x3d1151[_0x301861(0x44b)],_0x3038ba=_0x6b3e58[_0x301861(0x202)],_0x21a308=_0x3038ba[_0x301861(0x1f8)],_0x1e93b7=_0x3038ba[_0x301861(0x381)]=_0x507c19['extend']({'cfg':_0x507c19[_0x301861(0x2fd)]({'keySize':0x80/0x20,'hasher':_0x21a308,'iterations':0x1}),'init':function(_0x2c1a15){var _0x269482=_0x301861;this[_0x269482(0x4ac)]=this[_0x269482(0x4ac)]['extend'](_0x2c1a15);},'compute':function(_0x2d5c01,_0x39857e){var _0x313a02=_0x301861;for(var _0x5d9a80,_0x440d1f=this['cfg'],_0x2cb351=_0x440d1f[_0x313a02(0x297)]['create'](),_0x349f5d=_0x12413c[_0x313a02(0x236)](),_0x17d6f8=_0x349f5d[_0x313a02(0x393)],_0x3201f2=_0x440d1f[_0x313a02(0x423)],_0x4570e4=_0x440d1f[_0x313a02(0x272)];_0x17d6f8[_0x313a02(0x395)]<_0x3201f2;){_0x5d9a80&&_0x2cb351['update'](_0x5d9a80),_0x5d9a80=_0x2cb351[_0x313a02(0x23a)](_0x2d5c01)[_0x313a02(0x28b)](_0x39857e),_0x2cb351[_0x313a02(0x1aa)]();for(var _0x576b72=0x1;_0x576b72<_0x4570e4;_0x576b72++)_0x5d9a80=_0x2cb351[_0x313a02(0x28b)](_0x5d9a80),_0x2cb351[_0x313a02(0x1aa)]();_0x349f5d[_0x313a02(0x27b)](_0x5d9a80);}return _0x349f5d[_0x313a02(0x2bd)]=_0x3201f2*0x4,_0x349f5d;}});_0x6b3e58[_0x301861(0x381)]=function(_0x3e23f2,_0x302d1e,_0x2776ad){var _0x29eaf6=_0x301861;return _0x1e93b7['create'](_0x2776ad)[_0x29eaf6(0x492)](_0x3e23f2,_0x302d1e);};}()),_0x5f858d[_0x2ca012(0x381)];}));}(ge)),ge[_0x160334(0x1b6)];}var Te={'exports':{}},Ui=Te[_0x5231a7(0x1b6)],et;function Tt(){var _0x2bdd04=_0x5231a7;return et||(et=0x1,function(_0x489f4e,_0x3cca4a){(function(_0x13eea4,_0x4c5275,_0x5ad59b){_0x489f4e['exports']=_0x4c5275(Q(),Ct());}(Ui,function(_0xe319f5){var _0x5d71c0=_0x3770;_0xe319f5['lib'][_0x5d71c0(0x2c6)]||function(_0x275c9e){var _0x30056c=_0x5d71c0,_0x30c305=_0xe319f5,_0x26d9ff=_0x30c305[_0x30056c(0x447)],_0x5dea4a=_0x26d9ff['Base'],_0x4b3a08=_0x26d9ff[_0x30056c(0x44b)],_0x3cb4e3=_0x26d9ff[_0x30056c(0x2b9)],_0x43c3c7=_0x30c305[_0x30056c(0x2a1)];_0x43c3c7['Utf8'];var _0x55f3bf=_0x43c3c7[_0x30056c(0x438)],_0x21a056=_0x30c305[_0x30056c(0x202)],_0x4b15fc=_0x21a056[_0x30056c(0x381)],_0x386968=_0x26d9ff[_0x30056c(0x2c6)]=_0x3cb4e3[_0x30056c(0x2fd)]({'cfg':_0x5dea4a['extend'](),'createEncryptor':function(_0x325819,_0x5c3eb4){var _0x267e08=_0x30056c;return this[_0x267e08(0x236)](this[_0x267e08(0x1ee)],_0x325819,_0x5c3eb4);},'createDecryptor':function(_0x2bea62,_0x138553){var _0x5da6da=_0x30056c;return this['create'](this[_0x5da6da(0x1eb)],_0x2bea62,_0x138553);},'init':function(_0x26bc23,_0x2de46e,_0x525ef4){var _0x26f54a=_0x30056c;this[_0x26f54a(0x4ac)]=this[_0x26f54a(0x4ac)][_0x26f54a(0x2fd)](_0x525ef4),this[_0x26f54a(0x298)]=_0x26bc23,this['_key']=_0x2de46e,this[_0x26f54a(0x1aa)]();},'reset':function(){var _0x9bc4a8=_0x30056c;_0x3cb4e3[_0x9bc4a8(0x1aa)][_0x9bc4a8(0x1d4)](this),this['_doReset']();},'process':function(_0x70f927){var _0x5c3e3a=_0x30056c;return this[_0x5c3e3a(0x23c)](_0x70f927),this[_0x5c3e3a(0x4a3)]();},'finalize':function(_0xcc6e17){var _0x3ef597=_0x30056c;_0xcc6e17&&this['_append'](_0xcc6e17);var _0x26a3ec=this[_0x3ef597(0x203)]();return _0x26a3ec;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xbe4fb0(_0x4176bc){return typeof _0x4176bc=='string'?_0x3c136a:_0x197384;}return function(_0x4c9663){return{'encrypt':function(_0x12544a,_0x9c9b7e,_0x376834){var _0x426090=_0x3770;return _0xbe4fb0(_0x9c9b7e)[_0x426090(0x196)](_0x4c9663,_0x12544a,_0x9c9b7e,_0x376834);},'decrypt':function(_0x38a73a,_0x4cd164,_0x5dac2d){var _0x48970c=_0x3770;return _0xbe4fb0(_0x4cd164)[_0x48970c(0x42f)](_0x4c9663,_0x38a73a,_0x4cd164,_0x5dac2d);}};};}())});_0x26d9ff[_0x30056c(0x460)]=_0x386968[_0x30056c(0x2fd)]({'_doFinalize':function(){var _0x3c34e9=_0x30056c,_0xc560d9=this[_0x3c34e9(0x4a3)](!0x0);return _0xc560d9;},'blockSize':0x1});var _0xf4a727=_0x30c305['mode']={},_0x2d925a=_0x26d9ff[_0x30056c(0x234)]=_0x5dea4a[_0x30056c(0x2fd)]({'createEncryptor':function(_0x4a616f,_0x5d5624){var _0x8ae3b6=_0x30056c;return this[_0x8ae3b6(0x185)][_0x8ae3b6(0x236)](_0x4a616f,_0x5d5624);},'createDecryptor':function(_0x18d354,_0x5ecc08){var _0x4f368e=_0x30056c;return this[_0x4f368e(0x19c)][_0x4f368e(0x236)](_0x18d354,_0x5ecc08);},'init':function(_0x1afcc3,_0x3067f2){var _0x3b2c0f=_0x30056c;this[_0x3b2c0f(0x142)]=_0x1afcc3,this[_0x3b2c0f(0x2db)]=_0x3067f2;}}),_0x7e260c=_0xf4a727['CBC']=(function(){var _0x19811c=_0x30056c,_0x4287aa=_0x2d925a['extend']();_0x4287aa[_0x19811c(0x185)]=_0x4287aa['extend']({'processBlock':function(_0x141a80,_0xf28c5){var _0x18c975=_0x19811c,_0x1644ed=this[_0x18c975(0x142)],_0x2cf238=_0x1644ed[_0x18c975(0x2cf)];_0x1790d3[_0x18c975(0x1d4)](this,_0x141a80,_0xf28c5,_0x2cf238),_0x1644ed['encryptBlock'](_0x141a80,_0xf28c5),this['_prevBlock']=_0x141a80[_0x18c975(0x32c)](_0xf28c5,_0xf28c5+_0x2cf238);}}),_0x4287aa[_0x19811c(0x19c)]=_0x4287aa['extend']({'processBlock':function(_0x6ee583,_0x34779b){var _0x4986b9=_0x19811c,_0x3e4401=this[_0x4986b9(0x142)],_0x4774ab=_0x3e4401[_0x4986b9(0x2cf)],_0x161105=_0x6ee583[_0x4986b9(0x32c)](_0x34779b,_0x34779b+_0x4774ab);_0x3e4401[_0x4986b9(0x2d2)](_0x6ee583,_0x34779b),_0x1790d3[_0x4986b9(0x1d4)](this,_0x6ee583,_0x34779b,_0x4774ab),this[_0x4986b9(0x273)]=_0x161105;}});function _0x1790d3(_0x489022,_0xa1681c,_0x58042d){var _0x2e7484=_0x19811c,_0x40629a,_0x4da963=this['_iv'];_0x4da963?(_0x40629a=_0x4da963,this[_0x2e7484(0x2db)]=_0x275c9e):_0x40629a=this[_0x2e7484(0x273)];for(var _0x2f0f71=0x0;_0x2f0f71<_0x58042d;_0x2f0f71++)_0x489022[_0xa1681c+_0x2f0f71]^=_0x40629a[_0x2f0f71];}return _0x4287aa;}()),_0x409278=_0x30c305[_0x30056c(0x26c)]={},_0x386168=_0x409278[_0x30056c(0x418)]={'pad':function(_0x547bd8,_0x54cc2b){var _0xae781a=_0x30056c;for(var _0x3e4cfa=_0x54cc2b*0x4,_0x5101c8=_0x3e4cfa-_0x547bd8[_0xae781a(0x2bd)]%_0x3e4cfa,_0x74a4ba=_0x5101c8<<0x18|_0x5101c8<<0x10|_0x5101c8<<0x8|_0x5101c8,_0x36f1b3=[],_0x48cbdb=0x0;_0x48cbdb<_0x5101c8;_0x48cbdb+=0x4)_0x36f1b3[_0xae781a(0x445)](_0x74a4ba);var _0x542545=_0x4b3a08['create'](_0x36f1b3,_0x5101c8);_0x547bd8['concat'](_0x542545);},'unpad':function(_0x58d4e6){var _0x3c1a3d=_0x30056c,_0xd02018=_0x58d4e6[_0x3c1a3d(0x393)][_0x58d4e6[_0x3c1a3d(0x2bd)]-0x1>>>0x2]&0xff;_0x58d4e6['sigBytes']-=_0xd02018;}};_0x26d9ff['BlockCipher']=_0x386968[_0x30056c(0x2fd)]({'cfg':_0x386968[_0x30056c(0x4ac)][_0x30056c(0x2fd)]({'mode':_0x7e260c,'padding':_0x386168}),'reset':function(){var _0x13cef0=_0x30056c,_0x5a6d18;_0x386968[_0x13cef0(0x1aa)]['call'](this);var _0x378d72=this['cfg'],_0xd9a0e7=_0x378d72['iv'],_0x490053=_0x378d72['mode'];this[_0x13cef0(0x298)]==this[_0x13cef0(0x1ee)]?_0x5a6d18=_0x490053['createEncryptor']:(_0x5a6d18=_0x490053[_0x13cef0(0x397)],this[_0x13cef0(0x28e)]=0x1),this[_0x13cef0(0x15d)]&&this[_0x13cef0(0x15d)][_0x13cef0(0x3c8)]==_0x5a6d18?this[_0x13cef0(0x15d)][_0x13cef0(0x25b)](this,_0xd9a0e7&&_0xd9a0e7[_0x13cef0(0x393)]):(this[_0x13cef0(0x15d)]=_0x5a6d18[_0x13cef0(0x1d4)](_0x490053,this,_0xd9a0e7&&_0xd9a0e7['words']),this[_0x13cef0(0x15d)][_0x13cef0(0x3c8)]=_0x5a6d18);},'_doProcessBlock':function(_0x1f2fa4,_0x85517d){var _0x554d55=_0x30056c;this[_0x554d55(0x15d)][_0x554d55(0x3b1)](_0x1f2fa4,_0x85517d);},'_doFinalize':function(){var _0x141e6a=_0x30056c,_0x1b09ab,_0x46fef0=this[_0x141e6a(0x4ac)][_0x141e6a(0x13c)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x46fef0[_0x141e6a(0x26c)](this[_0x141e6a(0x3c2)],this[_0x141e6a(0x2cf)]),_0x1b09ab=this['_process'](!0x0)):(_0x1b09ab=this[_0x141e6a(0x4a3)](!0x0),_0x46fef0['unpad'](_0x1b09ab)),_0x1b09ab;},'blockSize':0x80/0x20});var _0x3a2dcd=_0x26d9ff[_0x30056c(0x496)]=_0x5dea4a[_0x30056c(0x2fd)]({'init':function(_0x52b824){this['mixIn'](_0x52b824);},'toString':function(_0x207fd5){var _0xa6236e=_0x30056c;return(_0x207fd5||this[_0xa6236e(0x276)])['stringify'](this);}}),_0x288e3f=_0x30c305['format']={},_0x1089c7=_0x288e3f[_0x30056c(0x308)]={'stringify':function(_0x4b1f00){var _0x3e1a59=_0x30056c,_0x5e8d23,_0x3fc61b=_0x4b1f00[_0x3e1a59(0x3dd)],_0x16dccd=_0x4b1f00['salt'];return _0x16dccd?_0x5e8d23=_0x4b3a08[_0x3e1a59(0x236)]([0x53616c74,0x65645f5f])[_0x3e1a59(0x27b)](_0x16dccd)[_0x3e1a59(0x27b)](_0x3fc61b):_0x5e8d23=_0x3fc61b,_0x5e8d23[_0x3e1a59(0x449)](_0x55f3bf);},'parse':function(_0x4bdab8){var _0x380190=_0x30056c,_0x233f02,_0x2b3337=_0x55f3bf['parse'](_0x4bdab8),_0x5ca908=_0x2b3337['words'];return _0x5ca908[0x0]==0x53616c74&&_0x5ca908[0x1]==0x65645f5f&&(_0x233f02=_0x4b3a08[_0x380190(0x236)](_0x5ca908['slice'](0x2,0x4)),_0x5ca908['splice'](0x0,0x4),_0x2b3337['sigBytes']-=0x10),_0x3a2dcd[_0x380190(0x236)]({'ciphertext':_0x2b3337,'salt':_0x233f02});}},_0x197384=_0x26d9ff[_0x30056c(0x2ec)]=_0x5dea4a[_0x30056c(0x2fd)]({'cfg':_0x5dea4a[_0x30056c(0x2fd)]({'format':_0x1089c7}),'encrypt':function(_0x1efaa2,_0x3ec5af,_0x204a3d,_0xff83fa){var _0x3de0fc=_0x30056c;_0xff83fa=this[_0x3de0fc(0x4ac)][_0x3de0fc(0x2fd)](_0xff83fa);var _0x3044d5=_0x1efaa2[_0x3de0fc(0x195)](_0x204a3d,_0xff83fa),_0x591476=_0x3044d5[_0x3de0fc(0x28b)](_0x3ec5af),_0x287e34=_0x3044d5[_0x3de0fc(0x4ac)];return _0x3a2dcd['create']({'ciphertext':_0x591476,'key':_0x204a3d,'iv':_0x287e34['iv'],'algorithm':_0x1efaa2,'mode':_0x287e34[_0x3de0fc(0x147)],'padding':_0x287e34[_0x3de0fc(0x13c)],'blockSize':_0x1efaa2['blockSize'],'formatter':_0xff83fa[_0x3de0fc(0x3a2)]});},'decrypt':function(_0x4f6200,_0x4cee48,_0x530c92,_0x30a959){var _0x540e60=_0x30056c;_0x30a959=this['cfg']['extend'](_0x30a959),_0x4cee48=this[_0x540e60(0x34c)](_0x4cee48,_0x30a959[_0x540e60(0x3a2)]);var _0x4c7dc7=_0x4f6200[_0x540e60(0x397)](_0x530c92,_0x30a959)['finalize'](_0x4cee48[_0x540e60(0x3dd)]);return _0x4c7dc7;},'_parse':function(_0x452610,_0x5c3b86){var _0x1d2fcd=_0x30056c;return typeof _0x452610==_0x1d2fcd(0x2e2)?_0x5c3b86[_0x1d2fcd(0x156)](_0x452610,this):_0x452610;}}),_0x9f7b18=_0x30c305[_0x30056c(0x1ce)]={},_0x193fc0=_0x9f7b18[_0x30056c(0x308)]={'execute':function(_0x471dfc,_0x212d8b,_0x2be78b,_0x5c02de,_0x242787){var _0x149614=_0x30056c;if(_0x5c02de||(_0x5c02de=_0x4b3a08[_0x149614(0x1fa)](0x40/0x8)),_0x242787)var _0x2c9e25=_0x4b15fc[_0x149614(0x236)]({'keySize':_0x212d8b+_0x2be78b,'hasher':_0x242787})[_0x149614(0x492)](_0x471dfc,_0x5c02de);else var _0x2c9e25=_0x4b15fc[_0x149614(0x236)]({'keySize':_0x212d8b+_0x2be78b})[_0x149614(0x492)](_0x471dfc,_0x5c02de);var _0x111d7f=_0x4b3a08[_0x149614(0x236)](_0x2c9e25['words']['slice'](_0x212d8b),_0x2be78b*0x4);return _0x2c9e25['sigBytes']=_0x212d8b*0x4,_0x3a2dcd[_0x149614(0x236)]({'key':_0x2c9e25,'iv':_0x111d7f,'salt':_0x5c02de});}},_0x3c136a=_0x26d9ff[_0x30056c(0x1d2)]=_0x197384['extend']({'cfg':_0x197384[_0x30056c(0x4ac)]['extend']({'kdf':_0x193fc0}),'encrypt':function(_0x3e642f,_0x33836c,_0x3299cc,_0x2ff71d){var _0x4b9dc5=_0x30056c;_0x2ff71d=this[_0x4b9dc5(0x4ac)]['extend'](_0x2ff71d);var _0x3ddcbb=_0x2ff71d[_0x4b9dc5(0x1ce)]['execute'](_0x3299cc,_0x3e642f['keySize'],_0x3e642f[_0x4b9dc5(0x26e)],_0x2ff71d['salt'],_0x2ff71d['hasher']);_0x2ff71d['iv']=_0x3ddcbb['iv'];var _0x4c745c=_0x197384[_0x4b9dc5(0x196)][_0x4b9dc5(0x1d4)](this,_0x3e642f,_0x33836c,_0x3ddcbb[_0x4b9dc5(0x167)],_0x2ff71d);return _0x4c745c[_0x4b9dc5(0x24b)](_0x3ddcbb),_0x4c745c;},'decrypt':function(_0x21e7e6,_0x267867,_0xfbfe2b,_0x300cd5){var _0x593716=_0x30056c;_0x300cd5=this[_0x593716(0x4ac)][_0x593716(0x2fd)](_0x300cd5),_0x267867=this[_0x593716(0x34c)](_0x267867,_0x300cd5[_0x593716(0x3a2)]);var _0x53b304=_0x300cd5['kdf'][_0x593716(0x409)](_0xfbfe2b,_0x21e7e6[_0x593716(0x423)],_0x21e7e6[_0x593716(0x26e)],_0x267867[_0x593716(0x15b)],_0x300cd5[_0x593716(0x297)]);_0x300cd5['iv']=_0x53b304['iv'];var _0x1d2751=_0x197384[_0x593716(0x42f)]['call'](this,_0x21e7e6,_0x267867,_0x53b304[_0x593716(0x167)],_0x300cd5);return _0x1d2751;}});}();}));}(Te)),Te[_0x2bdd04(0x1b6)];}var Ai=fe[_0x5231a7(0x1b6)],tt;function Pi(){var _0x5ebd58=_0x5231a7;return tt||(tt=0x1,function(_0x3eb165,_0x310409){(function(_0x3166c9,_0x2abf5d,_0x1f4990){var _0x143471=_0x3770;_0x3eb165[_0x143471(0x1b6)]=_0x2abf5d(Q(),Et(),bi(),Ct(),Tt());}(Ai,function(_0x17143d){return(function(){var _0x49ba96=_0x3770,_0x1c935c=_0x17143d,_0x36132d=_0x1c935c[_0x49ba96(0x447)],_0x3c7f5c=_0x36132d[_0x49ba96(0x230)],_0x5755f5=_0x1c935c['algo'],_0x29ebc9=[],_0x52354a=[],_0x382986=[],_0x4322f1=[],_0x48d51c=[],_0x294880=[],_0x18a7f1=[],_0x5b7724=[],_0x85707=[],_0x4af919=[];(function(){for(var _0x370f60=[],_0x3e5fcb=0x0;_0x3e5fcb<0x100;_0x3e5fcb++)_0x3e5fcb<0x80?_0x370f60[_0x3e5fcb]=_0x3e5fcb<<0x1:_0x370f60[_0x3e5fcb]=_0x3e5fcb<<0x1^0x11b;for(var _0x4d8080=0x0,_0x2d1de4=0x0,_0x3e5fcb=0x0;_0x3e5fcb<0x100;_0x3e5fcb++){var _0x305b97=_0x2d1de4^_0x2d1de4<<0x1^_0x2d1de4<<0x2^_0x2d1de4<<0x3^_0x2d1de4<<0x4;_0x305b97=_0x305b97>>>0x8^_0x305b97&0xff^0x63,_0x29ebc9[_0x4d8080]=_0x305b97,_0x52354a[_0x305b97]=_0x4d8080;var _0x90fef5=_0x370f60[_0x4d8080],_0x2203e7=_0x370f60[_0x90fef5],_0x5d688c=_0x370f60[_0x2203e7],_0x319b19=_0x370f60[_0x305b97]*0x101^_0x305b97*0x1010100;_0x382986[_0x4d8080]=_0x319b19<<0x18|_0x319b19>>>0x8,_0x4322f1[_0x4d8080]=_0x319b19<<0x10|_0x319b19>>>0x10,_0x48d51c[_0x4d8080]=_0x319b19<<0x8|_0x319b19>>>0x18,_0x294880[_0x4d8080]=_0x319b19;var _0x319b19=_0x5d688c*0x1010101^_0x2203e7*0x10001^_0x90fef5*0x101^_0x4d8080*0x1010100;_0x18a7f1[_0x305b97]=_0x319b19<<0x18|_0x319b19>>>0x8,_0x5b7724[_0x305b97]=_0x319b19<<0x10|_0x319b19>>>0x10,_0x85707[_0x305b97]=_0x319b19<<0x8|_0x319b19>>>0x18,_0x4af919[_0x305b97]=_0x319b19,_0x4d8080?(_0x4d8080=_0x90fef5^_0x370f60[_0x370f60[_0x370f60[_0x5d688c^_0x90fef5]]],_0x2d1de4^=_0x370f60[_0x370f60[_0x2d1de4]]):_0x4d8080=_0x2d1de4=0x1;}}());var _0x23d8a2=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x27978d=_0x5755f5[_0x49ba96(0x23f)]=_0x3c7f5c[_0x49ba96(0x2fd)]({'_doReset':function(){var _0x2fe783=_0x49ba96,_0x109b9f;if(!(this[_0x2fe783(0x451)]&&this['_keyPriorReset']===this[_0x2fe783(0x164)])){for(var _0x2d2b01=this['_keyPriorReset']=this[_0x2fe783(0x164)],_0x45837a=_0x2d2b01[_0x2fe783(0x393)],_0x3680fb=_0x2d2b01[_0x2fe783(0x2bd)]/0x4,_0x349c28=this[_0x2fe783(0x451)]=_0x3680fb+0x6,_0x38f2f3=(_0x349c28+0x1)*0x4,_0x5c1949=this[_0x2fe783(0x36e)]=[],_0x31545d=0x0;_0x31545d<_0x38f2f3;_0x31545d++)_0x31545d<_0x3680fb?_0x5c1949[_0x31545d]=_0x45837a[_0x31545d]:(_0x109b9f=_0x5c1949[_0x31545d-0x1],_0x31545d%_0x3680fb?_0x3680fb>0x6&&_0x31545d%_0x3680fb==0x4&&(_0x109b9f=_0x29ebc9[_0x109b9f>>>0x18]<<0x18|_0x29ebc9[_0x109b9f>>>0x10&0xff]<<0x10|_0x29ebc9[_0x109b9f>>>0x8&0xff]<<0x8|_0x29ebc9[_0x109b9f&0xff]):(_0x109b9f=_0x109b9f<<0x8|_0x109b9f>>>0x18,_0x109b9f=_0x29ebc9[_0x109b9f>>>0x18]<<0x18|_0x29ebc9[_0x109b9f>>>0x10&0xff]<<0x10|_0x29ebc9[_0x109b9f>>>0x8&0xff]<<0x8|_0x29ebc9[_0x109b9f&0xff],_0x109b9f^=_0x23d8a2[_0x31545d/_0x3680fb|0x0]<<0x18),_0x5c1949[_0x31545d]=_0x5c1949[_0x31545d-_0x3680fb]^_0x109b9f);for(var _0x358e38=this[_0x2fe783(0x31c)]=[],_0x436763=0x0;_0x436763<_0x38f2f3;_0x436763++){var _0x31545d=_0x38f2f3-_0x436763;if(_0x436763%0x4)var _0x109b9f=_0x5c1949[_0x31545d];else var _0x109b9f=_0x5c1949[_0x31545d-0x4];_0x436763<0x4||_0x31545d<=0x4?_0x358e38[_0x436763]=_0x109b9f:_0x358e38[_0x436763]=_0x18a7f1[_0x29ebc9[_0x109b9f>>>0x18]]^_0x5b7724[_0x29ebc9[_0x109b9f>>>0x10&0xff]]^_0x85707[_0x29ebc9[_0x109b9f>>>0x8&0xff]]^_0x4af919[_0x29ebc9[_0x109b9f&0xff]];}}},'encryptBlock':function(_0x44bc68,_0xf07153){var _0x341115=_0x49ba96;this[_0x341115(0x182)](_0x44bc68,_0xf07153,this[_0x341115(0x36e)],_0x382986,_0x4322f1,_0x48d51c,_0x294880,_0x29ebc9);},'decryptBlock':function(_0x751f1f,_0x481d21){var _0x1b7937=_0x49ba96,_0xd81603=_0x751f1f[_0x481d21+0x1];_0x751f1f[_0x481d21+0x1]=_0x751f1f[_0x481d21+0x3],_0x751f1f[_0x481d21+0x3]=_0xd81603,this[_0x1b7937(0x182)](_0x751f1f,_0x481d21,this['_invKeySchedule'],_0x18a7f1,_0x5b7724,_0x85707,_0x4af919,_0x52354a);var _0xd81603=_0x751f1f[_0x481d21+0x1];_0x751f1f[_0x481d21+0x1]=_0x751f1f[_0x481d21+0x3],_0x751f1f[_0x481d21+0x3]=_0xd81603;},'_doCryptBlock':function(_0x5c8c2b,_0x19cbec,_0x441040,_0x258004,_0x4786f9,_0x3a9fc5,_0x5257f4,_0x441f0f){var _0xf4b6f9=_0x49ba96;for(var _0x20d674=this[_0xf4b6f9(0x451)],_0x1191bf=_0x5c8c2b[_0x19cbec]^_0x441040[0x0],_0x415714=_0x5c8c2b[_0x19cbec+0x1]^_0x441040[0x1],_0x4a1bd2=_0x5c8c2b[_0x19cbec+0x2]^_0x441040[0x2],_0x3546f9=_0x5c8c2b[_0x19cbec+0x3]^_0x441040[0x3],_0x247163=0x4,_0x3f2a1f=0x1;_0x3f2a1f<_0x20d674;_0x3f2a1f++){var _0x339c9b=_0x258004[_0x1191bf>>>0x18]^_0x4786f9[_0x415714>>>0x10&0xff]^_0x3a9fc5[_0x4a1bd2>>>0x8&0xff]^_0x5257f4[_0x3546f9&0xff]^_0x441040[_0x247163++],_0x48f0e8=_0x258004[_0x415714>>>0x18]^_0x4786f9[_0x4a1bd2>>>0x10&0xff]^_0x3a9fc5[_0x3546f9>>>0x8&0xff]^_0x5257f4[_0x1191bf&0xff]^_0x441040[_0x247163++],_0x286834=_0x258004[_0x4a1bd2>>>0x18]^_0x4786f9[_0x3546f9>>>0x10&0xff]^_0x3a9fc5[_0x1191bf>>>0x8&0xff]^_0x5257f4[_0x415714&0xff]^_0x441040[_0x247163++],_0xf55106=_0x258004[_0x3546f9>>>0x18]^_0x4786f9[_0x1191bf>>>0x10&0xff]^_0x3a9fc5[_0x415714>>>0x8&0xff]^_0x5257f4[_0x4a1bd2&0xff]^_0x441040[_0x247163++];_0x1191bf=_0x339c9b,_0x415714=_0x48f0e8,_0x4a1bd2=_0x286834,_0x3546f9=_0xf55106;}var _0x339c9b=(_0x441f0f[_0x1191bf>>>0x18]<<0x18|_0x441f0f[_0x415714>>>0x10&0xff]<<0x10|_0x441f0f[_0x4a1bd2>>>0x8&0xff]<<0x8|_0x441f0f[_0x3546f9&0xff])^_0x441040[_0x247163++],_0x48f0e8=(_0x441f0f[_0x415714>>>0x18]<<0x18|_0x441f0f[_0x4a1bd2>>>0x10&0xff]<<0x10|_0x441f0f[_0x3546f9>>>0x8&0xff]<<0x8|_0x441f0f[_0x1191bf&0xff])^_0x441040[_0x247163++],_0x286834=(_0x441f0f[_0x4a1bd2>>>0x18]<<0x18|_0x441f0f[_0x3546f9>>>0x10&0xff]<<0x10|_0x441f0f[_0x1191bf>>>0x8&0xff]<<0x8|_0x441f0f[_0x415714&0xff])^_0x441040[_0x247163++],_0xf55106=(_0x441f0f[_0x3546f9>>>0x18]<<0x18|_0x441f0f[_0x1191bf>>>0x10&0xff]<<0x10|_0x441f0f[_0x415714>>>0x8&0xff]<<0x8|_0x441f0f[_0x4a1bd2&0xff])^_0x441040[_0x247163++];_0x5c8c2b[_0x19cbec]=_0x339c9b,_0x5c8c2b[_0x19cbec+0x1]=_0x48f0e8,_0x5c8c2b[_0x19cbec+0x2]=_0x286834,_0x5c8c2b[_0x19cbec+0x3]=_0xf55106;},'keySize':0x100/0x20});_0x1c935c[_0x49ba96(0x23f)]=_0x3c7f5c['_createHelper'](_0x27978d);}()),_0x17143d['AES'];}));}(fe)),fe[_0x5ebd58(0x1b6)];}var wi=Pi();const Mi=ve(wi);var Li=Et();const it=ve(Li);function _0x3770(_0x38d347,_0x2ee94f){var _0x2ea123=_0x2ea1();return _0x3770=function(_0x377055,_0x25cf96){_0x377055=_0x377055-0x13a;var _0xfc2188=_0x2ea123[_0x377055];return _0xfc2188;},_0x3770(_0x38d347,_0x2ee94f);}var be={'exports':{}},xi=be['exports'],nt;function ki(){var _0x3879f5=_0x5231a7;return nt||(nt=0x1,function(_0x5e1c65,_0x2aa0c5){(function(_0xbf7688,_0x33ae96){var _0x119b26=_0x3770;_0x5e1c65[_0x119b26(0x1b6)]=_0x33ae96(Q());}(xi,function(_0x31356b){var _0x57f5a9=_0x3770;return _0x31356b['enc'][_0x57f5a9(0x436)];}));}(be)),be[_0x3879f5(0x1b6)];}var $i=ki();const ji=ve($i);var Oe={'exports':{}},Hi=Oe[_0x5231a7(0x1b6)],rt;function Bi(){var _0x304f52=_0x5231a7;return rt||(rt=0x1,function(_0x3a56dc,_0x24c8e9){(function(_0x458e77,_0x516d32){var _0xb2c627=_0x3770;_0x3a56dc[_0xb2c627(0x1b6)]=_0x516d32(Q());}(Hi,function(_0x264c6e){var _0x3f245e=_0x3770;return(function(){var _0x498632=_0x3770;if(typeof ArrayBuffer==_0x498632(0x4a0)){var _0x5cde09=_0x264c6e,_0x425294=_0x5cde09[_0x498632(0x447)],_0x1252ba=_0x425294[_0x498632(0x44b)],_0x4d6b49=_0x1252ba[_0x498632(0x25b)],_0x394ecb=_0x1252ba[_0x498632(0x25b)]=function(_0x25eb91){var _0xb7784d=_0x498632;if(_0x25eb91 instanceof ArrayBuffer&&(_0x25eb91=new Uint8Array(_0x25eb91)),(_0x25eb91 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x25eb91 instanceof Uint8ClampedArray||_0x25eb91 instanceof Int16Array||_0x25eb91 instanceof Uint16Array||_0x25eb91 instanceof Int32Array||_0x25eb91 instanceof Uint32Array||_0x25eb91 instanceof Float32Array||_0x25eb91 instanceof Float64Array)&&(_0x25eb91=new Uint8Array(_0x25eb91[_0xb7784d(0x1f0)],_0x25eb91['byteOffset'],_0x25eb91[_0xb7784d(0x471)])),_0x25eb91 instanceof Uint8Array){for(var _0x2fbaa5=_0x25eb91['byteLength'],_0x1b58a0=[],_0x44cb13=0x0;_0x44cb13<_0x2fbaa5;_0x44cb13++)_0x1b58a0[_0x44cb13>>>0x2]|=_0x25eb91[_0x44cb13]<<0x18-_0x44cb13%0x4*0x8;_0x4d6b49[_0xb7784d(0x1d4)](this,_0x1b58a0,_0x2fbaa5);}else _0x4d6b49['apply'](this,arguments);};_0x394ecb[_0x498632(0x283)]=_0x1252ba;}}()),_0x264c6e['lib'][_0x3f245e(0x44b)];}));}(Oe)),Oe[_0x304f52(0x1b6)];}var Fi=Bi();const Vi=ve(Fi);var Re={'exports':{}},Wi=Re[_0x5231a7(0x1b6)],st;function Gi(){var _0x103020=_0x5231a7;return st||(st=0x1,function(_0xae13e5,_0x24f3b2){(function(_0x54708e,_0x563ebb,_0x266ba5){var _0x56e50a=_0x3770;_0xae13e5[_0x56e50a(0x1b6)]=_0x563ebb(Q(),Tt());}(Wi,function(_0x7564e1){var _0x12883d=_0x3770;return _0x7564e1[_0x12883d(0x26c)][_0x12883d(0x15a)]={'pad':function(){},'unpad':function(){}},_0x7564e1[_0x12883d(0x26c)]['NoPadding'];}));}(Re)),Re[_0x103020(0x1b6)];}function _0x2ea1(){var _0x9973a9=['socket\x20close','IContextService','CommandType','\x0aAfter:\x20','getFocusedUnit','IAuthzIoService','_getUndoStack','CONNECTOR_DATA_TOO_LARGE','EvpKDF','_sendHeartbeatTimer','_clearRetryConnectingTimer','_oKey','FAIL','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','UUID','UnitEmbedded','find','snapshot','_retryCount','listRoles','_executeRemoteChangeset','max','SOCKET_FAILED_RETRY','_commandService','_clearScheduledTask','INGEST','words','send','length','_sendHeartbeat','createDecryptor','UNIVER_COLLABORATION_CLIENT_PLUGIN','PSEUDO_FETCH_MISSING_RESULT','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_transformService','SHOULD_CLOSE_CONN','FETCH_MISS','_doCreateSocket','encode','merge','enableAuthServer','format','disposeWithMe','members$','_transformStateCache','_createHmacHelper','RETRY_CONNECTING_MAX_COUNT','PERMISSION_REJ','_onRemoteRejected','COMPRESS_MUTATION_SEND','_retryConnectingTimer','_roomCreated$','fetchThroughInterceptors','univer-pro.collaboration-client.single-active-unit-service','_snapshotService','getRandomValues','processBlock','_awaitingChangeset','list','_clearRedo','event$','_fetchMissChangesets','CHANGESET_SHOULD_RETRY','COMPRESS_MUTATION_APPLY','LOCAL_CACHE_INTERVAL_KEY','JOIN_ROOM_NOT_EXISTS','m2Prime','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','action','has','delay','clamp','CollaborationImageIoService','_data','set','CollaborationController','mergeOverrideWithDependencies','RxDisposable','connection\x20error','__creator','registerDependencies','POST','closeSession','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','baseRev','session.join-failed','Failed\x20to\x20update\x20permission\x20point','disableLocalCache','{fileID}','subscribe','_submitChangeset','_isPermissionRej','ISingleActiveUnitService','error$','SUBMIT_CHANGESET_TIMEOUT','image/jpg','\x20to\x20','[CollaborationSessionService]','OPTIONAL','_startTelemetryCollaborationNewChangeset','ciphertext','removeMember','_createHelper','_commentService','_incrementRevisionNumber','pipe','AwaitingWithPendingState','resourceIDs','_telemetryService','_updateLocalCache','charCodeAt','LICENSE_DISTRO_REJECTED','selections','Quantity','serializeCombRequest','shouldCloseConn','INVALID_ARGUMENT','sequenceExecute','/-/object/-/batch_allowed','CollaborationSession','IPermissionService','session.room-not-exists','MOBILE_VERIFY_CODE_MISMATCH','YUUMI_AI_RUN_FAILED','updateCursorEvent','CollaborationUIEventService','memberID','CommentService','ReplaySubject','_state$','OfflineState','ICommandService','Malformed\x20UTF-8\x20data','_tryEnsureSocket','_onLocalMutation','getCurrentUser','charAt','_socket$','ISnapshotServerService','YUUMI_UNABLE_LOAD_URL','MentionIoHttpService','_onConflict','COMMENT_UPDATE','getGlobalObject','execute','Injector','loadDoc','LIVESHARE_OPERATION','SNAPSHOT_HAS_BEEN_REMOVED','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_applyRemoteChangeset','UNIVER_SLIDE','textRanges','pluginName','_onFetchMissResult','add','_permissionService','TOO_MANY_REQUESTS','requestParams','Pkcs7','debug','post','CollaborationEntity','CHANGESET_REVISION_CONFILICT','&to=','SHA1','close','UNKNOWN_CMD','JOIN_ROOM_PERMISSION_DENIED','PENDING','keySize','_getRedoStack','shareReplay','file','put','_showConflictNotification','USER_NOT_INVITED_CODE','RichTextEditingMutation','asObservable','retryConnectingInterval','unitId\x20is\x20not\x20found','delete','decrypt','getConfig','save\x20fail\x20reason\x20is\x20','APPLY_DUPLICATED','EMAIL_HAS_BEEN_BOUND','defineProperty','_type','Utf8','params','Base64','MemberService','appendMutation','from','joinRsp','_resendWithTimeout','method','dispose$','_map','/universer-api/comb','transformStack\x20failed!','awaiting','reject','push','WorkbookEditablePermission','lib','CollaborationEvent','toString','_nDataBytes','WordArray','clone','_sheetTransformSelectionsService','objectType','startsWith','online$','_nRounds','HEARTBEAT','updatePermissionPoint','collaMsg','_listenToNetworkCondition','1426227whkgaj','_decreaseWaiting','_HTTPService','Undefined','_state','reconnect','onTransformIME','_clearLocalCache','HttpExport','HELLO','StreamCipher','INVITE_CODE_REQUIRED','href','ERROR_IMAGE','createInstance','submit\x20changeset\x20error!','_queuedRemoteChangesets','AwaitingState','status','avatar','listCollaborators','ws://127.0.0.1:8000/universer-api/comb/connect','getActiveSheet','conflict','values','_transformRemoteChangesetByStateCache','_initUnitPermissionChange','byteLength','getTypeOfUnitAdded$','APPLY_NON_SEQUENTIAL_REVISION','/rev/','_hasher','allowed','IUndoRedoService','UNISCRIPT_RUN','SetSelectionsOperation','MentionType','_logService','PendingState','/universer-api/authz','SheetPermissionInitController','InsertSheetMutation','EMAIL_VERIFY_CODE_MISMATCH','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','updatePermissionObjEvent','setWaitCount','entityInit$','INVITE_CODE_ALREADY_BOUND','editingUnit','joinEvent','SUCCUSS','append','collabSubmitChangesetUrl','/block/','code','10BeIxRW','_status$','?size=','indexOf','getRoom','compute','ENSURE_SNAPSHOT_EXECUTION','DataLoaderService','image/jpeg','CipherParams','updateCollaborator','onSendChangeset','saveSheetBlock','/allowed','pending','_onUserJoin','liveShareNewHost','fromCollab','LICENSE_EXPORT_SIZE_EXCEEDED','function','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','ImageUploadStatusType','_process','Inject','/unit/','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','LICENSE_MAX_UNITS_EXCEEDED','c1Prime','BASE64','getDeserializedSheetBlock','CollaborationStatus','cfg','CHANGESET_ACK','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','enableCollaboration','_telemetryInfo','UPDATE_PERMISSION_OBJ','getSheetBlock','BehaviorSubject','_collaborationTimeoutTimer','loadSheet','padding','enableSingleActiveInstanceLock','Module','_lockTransition','getCurrentRevOfUnit','status$','_cipher','_collaborationUIEventService','People','_handlerCallback','SNAPSHOT_INVALID_SNAPSHOT','mode','SyncedState','ConflictState','saveImage','UNIVER_DOC','textEncoder','session.room-cnt-exceeds','onload','every','/object','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','UserProfileImg','HmacMD5','SheetCollaborationEntity','roomInfos','parse','_getAPIPrefix','unitId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','NoPadding','salt','getImageSourceCache','_mode','8xkMIgx','mutations','HEARTBEAT_INTERVAL','IMentionIOService','_memberService','objectID','_key','collaborators','parseChangesetToProtocol','key','SnapshotServerOverHTTPService','registerHTTPInterceptor','_getDownloadEndpointURL','_members$','catch','_undoRedoService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','deserializeToCombResponse','deleteCollaborator','forEach','ONLINE','JOIN','resolve','MUTATION','_onRemoteRetry','deepClone','size','LocaleService','/universer-api/snapshot','YUUMI_URL_COL_OUT_OF_RANGE','_toggleOffline','min','NOT_FOUND','_configService','capture','fetchMiss','_doCryptBlock','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','loginUrlKey','Encryptor','_iKey','LICENSE_IMPORT_SIZE_EXCEEDED','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_localeService','_undoStacks','auth.needGotoLoginAlert','actions','DEFAULT_WS_SESSION_TICKET_URL','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_emitMembers','RevisionService','repeat','isTransformMutationsWithChangesetFailure','_stopTelemetryCollaborationNewChangeset','_instanceService','createEncryptor','encrypt','MSG_FOR_ERROR','_shouldReportTelemetry','getOwnPropertyDescriptor','_checkMissing','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','Decryptor','map','unitID','takeUntil','patch','ERROR_EXCEED_SIZE','_transitionLocked','b64DecodeUnicode','getTime','revision','fetchMissingChangesets','change$','_clearTimeoutTimer','routeKey','reset','loadUnit','onStateChange','_createInitialStateImpl','UniverInstanceType','reduce','unsubscribe','clear','_entityInit$','PERMISSION_DENIED','csAckEvent','location','exports','isTransformChangesetsSuccess','getLocalCacheKey','_change$','subUnitId','UniverCollaborationClientPlugin','onCommandExecuted','createIdentifier','isTransformMutationsWithChangesetSuccess','[PendingState]:\x20received\x20acknowledgement.','_unitInfo$','LIVESHARE_REQUEST_HOST','CollaborationUIEventId','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','GLOBAL_ROOMS_CNT_EXCEEDS','HTTPService','_roomMembers','_reverseMap','ALREADY_EXISTS','/fetchmissing?from=','ILocalCacheService','sid','getUnitId','_registerDependencies','kdf','next','LIVESHARE_NEW_HOST','transformChangesets','PasswordBasedCipher','Univer','call','SUBMIT_CHANGESET','concatMap','UnitSnapshot','_eventService','unitInfo$','IConfigService','_commentUpdate$','objects','INetworkConditionService','range','IDLE','858dVtMTk','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','EmptyMutation','1317316xVeXiT','body','_exhaustRemoteChangesetQueue','RECV','_univerInstanceService','session.room-permission-denied','_createInitialState','downloadEndpointUrl','_DEC_XFORM_MODE','permissionRejEvent','ITelemetryService','_ENC_XFORM_MODE','apply','buffer','awaiting_with_pending','_resendTimeout','_onConnectionOpen','_scheduleCollaborationTimeoutTimer','default','stringify','_transformIMECache','MD5','DocCollaborationEntity','random','updateMember','toggleOnline','floor','close$','onRemoteChangeset','get','focused$','algo','_doFinalize','message$','NO_OTHER_CLIENTS_EDITING','_clearUndo','Tools','transformMutationsWithChangeset','LOGIN_FAILED','ERROR_IMAGE_TYPE','_revisionService','getWorkbookSelections','fetch_missing','_onMessage','isInternalEditorID','onLocalMutation','_remoteChangesetQueue','crypto','onRemoteAck','_getLoginPath','setConfig','pauseCollaboration','isArray','_onJoinRoomEvent','_sessionStatus$','_replayCachedMutations','/universer-api/oidc/authpage','batchAllowed','_networkConditionService','/role','NOT_COLLAB','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','onTransformState','LEAVE','includes','1806Pdgpit','Latin1','reqId','_collaborationPaused','/object/','subject','_initDependencies','Base','executeCommand','[DataLoaderService]','/universer-api/stream/file/upload','withCredentials','BlockCipher','changesets','[FetchMissState]','data','BlockCipherMode','ceil','create','univer-pro.collaboration-client-socket-service','Rectangle','AWAITING','update','abs','_append','getSnapshotAPIPath','unknown','AES','_scheduleCompleteTimestamp','_changesetReqId','_initMergeInterceptor','filter','_pendingMutations','symbol','[OfflineState]:\x20received\x20rejection.','onTransformRemoteChangesetByIMECache','fromCharCode','target','UNIVER_PROJECT','mixIn','ITransformService','readAsDataURL','onRemoteRej','socket\x20open.','image/bmp','ILogService','[CollaborationUndoRedoService]','Error\x20on\x20receiving\x20event','UNKNOWN_CODE','getAllMembers','_imageSourceCache','_candidateSocket','_snapshotServerService','USERS_LEAVE','_injector','init','UPDATE_CURSOR','CHANGESET_REJ','INVALID_INVITE_CODE','_hash','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_unlockTransition','addImageSourceCache','_replaceFileID','complete','join','[CollaborationState]:\x20apply\x20error!','offline','OFFLINE','headers','sendChangesetTimeout','YUUMI_TABLE_NOT_FOUND_IN_UNIT','pad','[CollaborationEntity]','ivSize','dispose','CollaborationSocketService','HEARTBEAT_INTERVAL_KEY','iterations','_prevBlock','WECHAT_HAS_BEEN_BOUND','toDisposable','formatter','_singleActiveUnitService','JOIN_ROOM_FULL','stopTime','IImageIoService','concat','_socketMessageSubscription','onRemoteRetry','_joinRoom','sessionStatus','MergeInterceptorFactory','LIVESHARE_FETCH_OPERATIONS','_transformUndoredo','prototype','_onRemoteChangeset','Disposable','splice','encodeURIComponent','Could\x20not\x20dynamically\x20require\x20\x22','initWorkbookPermissionChange','requireSession','finalize','getValue','/-/object/list','_minBufferSize','loadUnitOfRevision','_initCloseConn','LocalUndoRedoService','ImageSourceType','_removeRoom','randomBytes','_handler','emitEvent','hasher','_xformMode','sessionStatus$','INVITE_CODE_HAS_BEEN_UES','DisposableCollection','state$','66239KtKAyC','waitForRoom$','getSheetId','2639JMHRni','enc','getMember','SNAPSHOT_URL_KEY','_waitForHeartbeatResponse','YUUMI_ALL_TABLES_IS_INVALID','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','type','_resendTimer','getImage','_rescheduleHeartbeat','onTransformSelections','localeService','collaboration_new_changeset','_substituteRedoStack','putCollaborators','resend','newCsEvent','duration','_onConnectionFailed','_getSendChangesetTimeout','SessionStatus','onMissingChangesets','_transformRemoteChangesetByIMECache','$super','BufferedBlockAlgorithm','compose','createSocket','_onRecvEvent','sigBytes','univer-pro.collaboration-client.network-condition.service','_toggleOnline','_userManagerService','YUUMI_SUBSCRIPTION_NOT_FOUND','_createHandler','SheetsSelectionsService','_socketReady','_entities','Cipher','_startCollaboration','_getUploadFileURL','_onUserLeave','JOIN_ROOM_FAILED','RETRY_CONNECTING_MAX_COUNT_KEY','[PendingState]:\x20unhandled\x20univer\x20type:\x20','onCommentUpdate','commentUpdateEvent','blockSize','_getSignURL','_sendingTimer','decryptBlock','_onOffline','touchDependencies','error','uuidv4','infoRsp','/collaborator','_getCurrentRevision','members','_iv','image/png','collaboration-client.local-cache-service','?url=','ISocketService','AuthzIoHttpService','_updateStatus','string','_transformStack','toggleOffline','_collabSessionService','__esModule','getResourcesRequest','cmd','getUnitType','_getCtorByUniverType','_substituteUndoStack','SerializableCipher','onlyLocal','_onRemoteACK','localCacheService','JOINING','6599844yTeieK','CLOSE_ROOM','_socketService','then','title','PERSON','_acknowledgedAwaitingChangeset','LIVESHARE_TERMINATE','YUUMI_NO_CUBOID_FOR_QUESTION','_members','OTHER_CLIENT_EDITING','APPLY_REVISION_CONFILICT','extend','getUnit','SnapshotService','_timeoutTimer','readyForCollab','/new_changes','entries','_initRequestHeader','USERS_ENTER','_compressMutationService','getInterceptPoints','OpenSSL','_tryReconnect','Optional','UNRECOGNIZED','COMPLETION_FINISHED','[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.','hostname','confirm','loadOfflineData','setShowComponents','_updateState','21820dsrkFo','CollaborativeUndoRedoService','_waitCount','_socket','onTransformRemoteChangesetByStateCache','Hasher','startTime','getLatestCsReqIdBySid','refreshPermission','_invKeySchedule','state','_disableEditing','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_config','HEARTBEAT_TIMEOUT_KEY','_sender','substr','onMissedChangesetFetched','_sessions','_init','CollaborationSessionService','image/gif','transformSelections','YUUMI_RATE_OVER_LIMIT','CONFLICT','slice','editing\x20status\x20changed\x20to','DEFAULT_COLLAB_WEB_SOCKET_URL','IUniverInstanceService','APPLY_REJECT','3376KaXIAh','interceptor','open$','signUrlServerUrl','CompressMutationService','_onCombEvent','saveSnapshot','APPLY_PERMISSION_DENIED','_event$','&source=','onSyncEditingCollabCursor','updateOfflineData','result','UNIVER_UNKNOWN','/universer-api/user/session-ticket','originalMeta','_schedule','take','sin','FetchingMissState','name','responseType','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','PY_RUNTIME_SCRIPT_ERROR','[PendingState]:\x20received\x20rejection.','INTERNAL_ERROR','roles','_parse','_httpService','msCrypto','leaveEvent','UniverCollaborationPlugin','HMAC','_localCacheService','UNIVER_SHEET','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','HttpImport','_getAPIPrefixPath','hasOwnProperty','getCollabEntity','url','_collaborationSessionService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','getCollabEntity$','sheets','MOBILE_HAS_BEEN_BOUND','SheetTransformSelectionsService','not_collab','LOCAL_CACHE_INTERVAL','_createSocket','setCurrentUser','transformUndoRedo','isPermissionRej','session','synced','_changesetSessionId','[CollaborationSession]','UNDEFINED','DependentOn','reverse','now','_keySchedule','_unitID','mapDocumentTypeToUniverType','_syncEditingCollabCursor','_clearHeartbeatTimer','getTypeOfUnitDisposed$','_throwTelemetryCollaborationNewChangeset','Subject','eventID','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SOCKET_FAILED'];_0x2ea1=function(){return _0x9973a9;};return _0x2ea1();}var Yi=Gi();const qi=ve(Yi);function Ki(_0x368a71,_0x42045f){var _0x2da379=_0x5231a7;const _0x4f7e36=_0x42045f-_0x368a71[_0x2da379(0x395)]%_0x42045f,_0x2ec4a3=String[_0x2da379(0x248)](_0x4f7e36)[_0x2da379(0x191)](_0x4f7e36);return _0x368a71+_0x2ec4a3;}function zi(_0x3aacf8,_0x38a64a){var _0x4df949=_0x5231a7;const _0x32c3d5=Vi[_0x4df949(0x1fa)](0x10),_0x1af4c3=Ki(_0x3aacf8,0x10),_0x453d53=Mi[_0x4df949(0x196)](ji['parse'](_0x1af4c3),it[_0x4df949(0x156)](_0x38a64a),{'iv':_0x32c3d5,'padding':qi});return _0x32c3d5[_0x4df949(0x27b)](_0x453d53['ciphertext'])[_0x4df949(0x449)](it);}function Ji(){var _0x5e7fcf=_0x5231a7;const _0x209dd1=yt[_0x5e7fcf(0x408)]()['__Key__'];if(_0x209dd1){const _0x1ad81c={'time':Math['floor'](Date[_0x5e7fcf(0x36d)]()/0x3e8),'domain':location[_0x5e7fcf(0x30e)]};return zi(JSON[_0x5e7fcf(0x1f6)](_0x1ad81c),_0x209dd1);}}var Xi=Object['getOwnPropertyDescriptor'],Zi=(_0x4bd7e7,_0x23e061,_0x483861,_0x9dcc39)=>{for(var _0xeff33f=_0x9dcc39>0x1?void 0x0:_0x9dcc39?Xi(_0x23e061,_0x483861):_0x23e061,_0x52ff6a=_0x4bd7e7['length']-0x1,_0x41a8dc;_0x52ff6a>=0x0;_0x52ff6a--)(_0x41a8dc=_0x4bd7e7[_0x52ff6a])&&(_0xeff33f=_0x41a8dc(_0xeff33f)||_0xeff33f);return _0xeff33f;},Qi=(_0x189dd6,_0x9fb756)=>(_0x30a593,_0x1e2f12)=>_0x9fb756(_0x30a593,_0x1e2f12,_0x189dd6);let Ne=class{constructor(_0x25110c){var _0x914590=_0x5231a7;this[_0x914590(0x34d)]=_0x25110c,this['_initRequestHeader']();}[_0x5231a7(0x304)](){var _0x5a1102=_0x5231a7;this[_0x5a1102(0x34d)][_0x5a1102(0x169)]({'interceptor':(_0x417d7b,_0x3af76b)=>{var _0x212c41=_0x5a1102;const _0x5b23ea=_0x417d7b[_0x212c41(0x269)],_0x1d9c46=Ji();return _0x1d9c46&&_0x5b23ea[_0x212c41(0x3c3)]('x-univer-host',_0x1d9c46),_0x3af76b(_0x417d7b);}});}};Ne=Zi([Qi(0x0,a['Inject'](q[_0x5231a7(0x1c5)]))],Ne);var en=Object[_0x5231a7(0x199)],tn=(_0x22a715,_0x2d5dd9,_0x5e37ec,_0x24d7d5)=>{var _0x2a1023=_0x5231a7;for(var _0x59d556=_0x24d7d5>0x1?void 0x0:_0x24d7d5?en(_0x2d5dd9,_0x5e37ec):_0x2d5dd9,_0x3344c2=_0x22a715[_0x2a1023(0x395)]-0x1,_0x433a1a;_0x3344c2>=0x0;_0x3344c2--)(_0x433a1a=_0x22a715[_0x3344c2])&&(_0x59d556=_0x433a1a(_0x59d556)||_0x59d556);return _0x59d556;},we=(_0x40aade,_0x222365)=>(_0x3fb71b,_0x103473)=>_0x222365(_0x3fb71b,_0x103473,_0x40aade);exports[_0x5231a7(0x494)]=class extends a[_0x5231a7(0x3c6)]{constructor(_0x21feca,_0x37730d,_0x1d62db){var _0x33cab2=_0x5231a7;super(),A(this,_0x33cab2(0x1c0),new j[(_0x33cab2(0x4b3))](null)),A(this,_0x33cab2(0x1d9),this[_0x33cab2(0x1c0)][_0x33cab2(0x42b)]()),(this[_0x33cab2(0x47b)]=_0x21feca,this[_0x33cab2(0x3af)]=_0x37730d,this[_0x33cab2(0x352)]=_0x1d62db);}async[_0x5231a7(0x28f)](_0x276a93,_0x2425a3,_0x4ebf5f){var _0x507979=_0x5231a7;this[_0x507979(0x1c0)][_0x507979(0x1cf)]({'unitId':_0x276a93,'type':_0x2425a3});let _0x12b508=null;switch(_0x2425a3){case J[_0x507979(0x353)]:{_0x12b508=await this[_0x507979(0x3af)][_0x507979(0x13b)](_0x276a93,_0x4ebf5f);break;}case J[_0x507979(0x14b)]:{_0x12b508=await this[_0x507979(0x3af)][_0x507979(0x40b)](_0x276a93,_0x4ebf5f);break;}default:{this[_0x507979(0x47b)][_0x507979(0x2d5)](_0x507979(0x22d),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x12b508;}async[_0x5231a7(0x1ab)](_0x77e7fd,_0x1e22ec,_0x29a549){var _0x47ab24=_0x5231a7,_0x489c85;this[_0x47ab24(0x1c0)]['next']({'unitId':_0x77e7fd,'type':_0x1e22ec,'subUnitId':_0x29a549});let _0x16f780=0x0;const _0x283c7e=await((_0x489c85=this['_localCacheService'])==null?void 0x0:_0x489c85[_0x47ab24(0x310)](_0x77e7fd));return _0x283c7e&&(_0x283c7e['awaitingChangeset']||_0x283c7e['mutations']['length']!==0x0)&&(_0x16f780=_0x283c7e['rev']),_0x16f780===0x0&&this[_0x47ab24(0x47b)][_0x47ab24(0x419)](_0x47ab24(0x22d),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['loadUnitOfRevision'](_0x77e7fd,_0x1e22ec,_0x16f780);}},exports[_0x5231a7(0x494)]=tn([we(0x0,a[_0x5231a7(0x251)]),we(0x1,a[_0x5231a7(0x4a4)](p[_0x5231a7(0x2ff)])),we(0x2,a[_0x5231a7(0x30a)](K))],exports[_0x5231a7(0x494)]);var nn=Object[_0x5231a7(0x199)],rn=(_0x4142d4,_0x5d42a1,_0x24199e,_0x353ee5)=>{var _0x120e46=_0x5231a7;for(var _0x11cde5=_0x353ee5>0x1?void 0x0:_0x353ee5?nn(_0x5d42a1,_0x24199e):_0x5d42a1,_0x3393ab=_0x4142d4[_0x120e46(0x395)]-0x1,_0x59704f;_0x3393ab>=0x0;_0x3393ab--)(_0x59704f=_0x4142d4[_0x3393ab])&&(_0x11cde5=_0x59704f(_0x11cde5)||_0x11cde5);return _0x11cde5;},Me=(_0x3f912e,_0x412f00)=>(_0x5acf87,_0x317c81)=>_0x412f00(_0x5acf87,_0x317c81,_0x3f912e);const sn=[_0x5231a7(0x2dc),_0x5231a7(0x495),_0x5231a7(0x3d8),_0x5231a7(0x328),_0x5231a7(0x250)],on=0x5*0x400*0x400,an=_0x5231a7(0x22e),cn='/universer-api/file/{fileID}/sign-url';exports[_0x5231a7(0x3c1)]=class{constructor(_0x224802,_0x1ee36f,_0xcdecfb){var _0x423943=_0x5231a7;A(this,'_waitCount',0x0),A(this,'_change$',new j['Subject']()),A(this,_0x423943(0x1a7),this[_0x423943(0x1b9)]),A(this,_0x423943(0x256),new Map()),(this[_0x423943(0x34d)]=_0x224802,this[_0x423943(0x17f)]=_0x1ee36f,this['_univerInstanceService']=_0xcdecfb);}[_0x5231a7(0x483)](_0x5196e2){var _0x4b0680=_0x5231a7;this[_0x4b0680(0x315)]=_0x5196e2,this[_0x4b0680(0x1b9)][_0x4b0680(0x1cf)](_0x5196e2);}[_0x5231a7(0x15c)](_0x597114,_0x33871f){var _0x4f6918=_0x5231a7;if(_0x33871f===z['ImageSourceType'][_0x4f6918(0x4a9)]){const _0x188fb6=new Image();return _0x188fb6['src']=_0x597114,_0x188fb6;}return this[_0x4f6918(0x256)]['get'](_0x597114);}[_0x5231a7(0x262)](_0x95befd,_0x2f2910,_0x5f2a1b){var _0x1ccfdf=_0x5231a7;_0x2f2910===z[_0x1ccfdf(0x292)][_0x1ccfdf(0x4a9)]||_0x5f2a1b==null||this[_0x1ccfdf(0x256)][_0x1ccfdf(0x3c3)](_0x95befd,_0x5f2a1b);}async[_0x5231a7(0x2a9)](_0x804c18){var _0x613f07=_0x5231a7;try{const _0x2766af=this[_0x613f07(0x263)](this[_0x613f07(0x2d0)](),''+_0x804c18),_0x2355b4=(await this[_0x613f07(0x34d)][_0x613f07(0x200)](_0x2766af))['body'];if(_0x2355b4['error']&&_0x2355b4[_0x613f07(0x2d5)]['code']===dt['OK']){const _0x307227=new URL(_0x2355b4[_0x613f07(0x359)],this[_0x613f07(0x16a)]())['toString']();return Promise[_0x613f07(0x174)](_0x307227);}return Promise['reject'](_0x2355b4['error']);}catch(_0x5d762a){return Promise[_0x613f07(0x444)](_0x5d762a);}}async[_0x5231a7(0x14a)](_0x1c0554){var _0x237d0c=_0x5231a7;let _0x594d74='';if(!sn[_0x237d0c(0x223)](_0x1c0554[_0x237d0c(0x2a7)]))return this[_0x237d0c(0x457)](),Promise[_0x237d0c(0x444)](new Error(z[_0x237d0c(0x4a2)][_0x237d0c(0x20a)]));if(_0x1c0554[_0x237d0c(0x178)]>on)return this[_0x237d0c(0x457)](),Promise['reject'](new Error(z[_0x237d0c(0x4a2)][_0x237d0c(0x1a1)]));try{const _0x44c097=new FormData();_0x44c097[_0x237d0c(0x489)](_0x237d0c(0x426),_0x1c0554);const _0x1f90bf=this[_0x237d0c(0x1e7)][_0x237d0c(0x37d)](),_0x321b4f=_0x1f90bf==null?void 0x0:_0x1f90bf[_0x237d0c(0x1cc)]();if(!_0x321b4f)throw new Error(_0x237d0c(0x42d));const _0x4d8c5a=this['_getUploadFileURL']()+_0x237d0c(0x48f)+_0x1c0554[_0x237d0c(0x178)][_0x237d0c(0x449)]()+_0x237d0c(0x33a)+vt[_0x237d0c(0x388)]+'&assign='+encodeURIComponent(_0x321b4f),_0x2c59d1={'body':_0x44c097},_0x3b822b=(await this[_0x237d0c(0x34d)]['post'](_0x4d8c5a,_0x2c59d1))[_0x237d0c(0x1e4)];if(typeof _0x3b822b['FileId']!=_0x237d0c(0x2e2))return this['_decreaseWaiting'](),Promise[_0x237d0c(0x444)](new Error(z[_0x237d0c(0x4a2)][_0x237d0c(0x463)]));_0x594d74=_0x3b822b['FileId'];}catch{return this['_decreaseWaiting'](),Promise[_0x237d0c(0x444)](new Error(z['ImageUploadStatusType'][_0x237d0c(0x463)]));}return new Promise((_0x50ebfb,_0x5a2edd)=>{var _0x43472c=_0x237d0c;const _0x41ada8=new FileReader();_0x41ada8[_0x43472c(0x24d)](_0x1c0554),_0x41ada8[_0x43472c(0x14e)]=_0x5b17ef=>{var _0x416e5a=_0x43472c,_0x2e8695;const _0x15bad6=(_0x2e8695=_0x5b17ef[_0x416e5a(0x249)])==null?void 0x0:_0x2e8695[_0x416e5a(0x33d)];if(_0x15bad6==null){this['_decreaseWaiting'](),_0x5a2edd(new Error(z[_0x416e5a(0x4a2)][_0x416e5a(0x463)]));return;}const _0x2eb0c5=a['generateRandomId'](0x6);_0x50ebfb({'imageId':_0x2eb0c5,'imageSourceType':z['ImageSourceType'][_0x416e5a(0x387)],'source':_0x594d74,'base64Cache':_0x15bad6,'status':z[_0x416e5a(0x4a2)][_0x416e5a(0x488)]}),this[_0x416e5a(0x457)]();};});}[_0x5231a7(0x2c8)](){var _0x551e52=_0x5231a7,_0x617f2d;const _0x3e17fb=this[_0x551e52(0x17f)]['getConfig'](Y);return(_0x617f2d=_0x3e17fb==null?void 0x0:_0x3e17fb['uploadFileServerUrl'])!=null?_0x617f2d:an;}[_0x5231a7(0x2d0)](){var _0x36fa2a=_0x5231a7,_0x3bc359;const _0x387c18=this[_0x36fa2a(0x17f)][_0x36fa2a(0x430)](Y);return(_0x3bc359=_0x387c18==null?void 0x0:_0x387c18[_0x36fa2a(0x334)])!=null?_0x3bc359:cn;}['_getDownloadEndpointURL'](){var _0x1d335e=_0x5231a7,_0x1d7fce;const _0x166088=this[_0x1d335e(0x17f)][_0x1d335e(0x430)](Y);return(_0x1d7fce=_0x166088==null?void 0x0:_0x166088[_0x1d335e(0x1ea)])!=null?_0x1d7fce:location['origin'];}[_0x5231a7(0x263)](_0x11e691,_0x1001cf){var _0x26becb=_0x5231a7;return _0x11e691['replace'](_0x26becb(0x3d1),_0x1001cf);}[_0x5231a7(0x457)](){var _0x4e2348=_0x5231a7;this['_waitCount']-=0x1,this[_0x4e2348(0x1b9)][_0x4e2348(0x1cf)](this[_0x4e2348(0x315)]);}},exports[_0x5231a7(0x3c1)]=rn([Me(0x0,a[_0x5231a7(0x4a4)](q[_0x5231a7(0x1c5)])),Me(0x1,a['IConfigService']),Me(0x2,a[_0x5231a7(0x4a4)](a[_0x5231a7(0x32f)]))],exports['CollaborationImageIoService']);var hn=Object[_0x5231a7(0x199)],_n=(_0x268539,_0x5e1979,_0x4de251,_0x58e571)=>{var _0x5b06a6=_0x5231a7;for(var _0x43911a=_0x58e571>0x1?void 0x0:_0x58e571?hn(_0x5e1979,_0x4de251):_0x5e1979,_0x40f9c8=_0x268539[_0x5b06a6(0x395)]-0x1,_0x402c1f;_0x40f9c8>=0x0;_0x40f9c8--)(_0x402c1f=_0x268539[_0x40f9c8])&&(_0x43911a=_0x402c1f(_0x43911a)||_0x43911a);return _0x43911a;},ot=(_0x2bcf8a,_0xa68cfa)=>(_0x3859c4,_0x44a3a2)=>_0xa68cfa(_0x3859c4,_0x44a3a2,_0x2bcf8a);const ln=_0x5231a7(0x47d);exports[_0x5231a7(0x405)]=class{constructor(_0x112455,_0x22ac43){var _0x14d33c=_0x5231a7;this[_0x14d33c(0x17f)]=_0x112455,this['_HTTPService']=_0x22ac43;}[_0x5231a7(0x356)](){var _0x1b0f16=_0x5231a7,_0xae8d71;const _0x40d73c=this[_0x1b0f16(0x17f)][_0x1b0f16(0x430)](Y);return(_0xae8d71=_0x40d73c==null?void 0x0:_0x40d73c['authzUrl'])!=null?_0xae8d71:ln;}async[_0x5231a7(0x3b3)](_0x33bb4b){var _0x216c7e=_0x5231a7;const _0x5e7df7=this['_getAPIPrefixPath']()+_0x216c7e(0x2d8);return{'list':[{'title':_0x216c7e(0x144),'mentions':(await this[_0x216c7e(0x458)]['get'](_0x5e7df7,{'params':{'objectID':_0x33bb4b[_0x216c7e(0x158)],'unitID':_0x33bb4b[_0x216c7e(0x158)]}}))[_0x216c7e(0x1e4)]['collaborators'][_0x216c7e(0x19d)](_0x1d6859=>({'objectId':_0x1d6859['id'],'name':_0x1d6859[_0x216c7e(0x229)][_0x216c7e(0x345)],'metadata':{'icon':_0x1d6859['subject'][_0x216c7e(0x469)]},'label':_0x1d6859[_0x216c7e(0x229)][_0x216c7e(0x345)],'objectType':a[_0x216c7e(0x47a)]['PERSON']})),'metadata':{},'type':a[_0x216c7e(0x47a)][_0x216c7e(0x2f6)]}]};}},exports['MentionIoHttpService']=_n([ot(0x0,a[_0x5231a7(0x4a4)](a[_0x5231a7(0x1da)])),ot(0x1,a[_0x5231a7(0x4a4)](q['HTTPService']))],exports[_0x5231a7(0x405)]);var un=Object['getOwnPropertyDescriptor'],dn=(_0x27e092,_0x559d1d,_0xc2f5a8,_0x5145b7)=>{for(var _0x28d780=_0x5145b7>0x1?void 0x0:_0x5145b7?un(_0x559d1d,_0xc2f5a8):_0x559d1d,_0xbd0bb6=_0x27e092['length']-0x1,_0x479261;_0xbd0bb6>=0x0;_0xbd0bb6--)(_0x479261=_0x27e092[_0xbd0bb6])&&(_0x28d780=_0x479261(_0x28d780)||_0x28d780);return _0x28d780;},le=(_0x15f01f,_0x3cd662)=>(_0x2e9d0e,_0x1cc447)=>_0x3cd662(_0x2e9d0e,_0x1cc447,_0x15f01f);let De=class extends a['RxDisposable']{constructor(_0x2a21c3,_0x136482,_0x4d70e7,_0x57f3c2,_0x3bc450){var _0x5a7da4=_0x5231a7;super(),this[_0x5a7da4(0x25a)]=_0x2a21c3,this[_0x5a7da4(0x1e7)]=_0x136482,this['_permissionService']=_0x4d70e7,this[_0x5a7da4(0x35a)]=_0x57f3c2,this[_0x5a7da4(0x143)]=_0x3bc450,this[_0x5a7da4(0x470)](),this['_initCloseConn']();}[_0x5231a7(0x290)](){var _0x197fa0=_0x5231a7;const _0x3e5d67=async _0x2838af=>{var _0x36b6f6=_0x3770;(await this[_0x36b6f6(0x35a)][_0x36b6f6(0x28a)](_0x2838af))[_0x36b6f6(0x3b5)][_0x36b6f6(0x3e2)](V[_0x36b6f6(0x243)](_0x2abf73=>_0x2abf73['eventID']===p[_0x36b6f6(0x448)][_0x36b6f6(0x39c)]),V[_0x36b6f6(0x19f)](this[_0x36b6f6(0x43f)]))[_0x36b6f6(0x3d2)](_0x290fef=>{var _0x51709e=_0x36b6f6;const _0x198ce6=_0x290fef,{reason:_0x24e944}=_0x198ce6['data'];this[_0x51709e(0x143)]['emitEvent']({'id':Z[_0x51709e(0x2f2)],'data':_0x24e944}),this['_permissionService']['updatePermissionPoint'](new X['WorkbookEditablePermission'](_0x2838af)['id'],!0x1),this[_0x51709e(0x35a)][_0x51709e(0x3cb)](_0x2838af);});};j[_0x197fa0(0x3a0)](this[_0x197fa0(0x1e7)][_0x197fa0(0x472)](a[_0x197fa0(0x1ae)][_0x197fa0(0x353)]),this[_0x197fa0(0x1e7)][_0x197fa0(0x472)](a[_0x197fa0(0x1ae)][_0x197fa0(0x14b)]))['pipe'](V[_0x197fa0(0x19d)](_0x413f15=>_0x413f15['getUnitId']()),V['filter'](_0x5de73b=>!a[_0x197fa0(0x20f)](_0x5de73b)),V[_0x197fa0(0x19f)](this[_0x197fa0(0x43f)]))['subscribe'](_0x5e869e=>{_0x3e5d67(_0x5e869e);});}[_0x5231a7(0x470)](){var _0x329612=_0x5231a7;const _0x10bb8c=async _0x49f28f=>{var _0x11bef5=_0x3770;const _0x1cd2c2=await this[_0x11bef5(0x35a)][_0x11bef5(0x28a)](_0x49f28f),_0x5d295f=this[_0x11bef5(0x25a)][_0x11bef5(0x200)](X[_0x11bef5(0x47e)]);_0x1cd2c2[_0x11bef5(0x3b5)][_0x11bef5(0x3e2)](V[_0x11bef5(0x243)](_0x353cab=>_0x353cab[_0x11bef5(0x376)]===p[_0x11bef5(0x448)][_0x11bef5(0x4b1)]),V[_0x11bef5(0x19f)](this[_0x11bef5(0x43f)]))[_0x11bef5(0x3d2)](_0x24d884=>{var _0x27a959=_0x11bef5;const _0x436089=_0x24d884,{objectId:_0x196803}=_0x436089[_0x27a959(0x233)];_0x196803===_0x49f28f?_0x5d295f[_0x27a959(0x289)](_0x49f28f):_0x5d295f[_0x27a959(0x31b)](_0x49f28f,_0x196803);});};j['merge'](this[_0x329612(0x1e7)]['getTypeOfUnitAdded$'](a[_0x329612(0x1ae)][_0x329612(0x353)]))[_0x329612(0x3e2)](V['map'](_0x3463a7=>_0x3463a7[_0x329612(0x1cc)]()),V['filter'](_0xda534=>!a[_0x329612(0x20f)](_0xda534)),V[_0x329612(0x19f)](this[_0x329612(0x43f)]))[_0x329612(0x3d2)](_0x50bdf0=>{_0x10bb8c(_0x50bdf0);});}};De=dn([le(0x0,a[_0x5231a7(0x4a4)](a['Injector'])),le(0x1,a['IUniverInstanceService']),le(0x2,a[_0x5231a7(0x3f1)]),le(0x3,a[_0x5231a7(0x4a4)](exports['CollaborationSessionService'])),le(0x4,a['Inject'](ee))],De);var vn=Object[_0x5231a7(0x199)],Sn=(_0x240dc9,_0x2c84c2,_0x327067,_0x5ab179)=>{var _0x2a2f8f=_0x5231a7;for(var _0x409289=_0x5ab179>0x1?void 0x0:_0x5ab179?vn(_0x2c84c2,_0x327067):_0x2c84c2,_0x5d0fbb=_0x240dc9[_0x2a2f8f(0x395)]-0x1,_0x6a282f;_0x5d0fbb>=0x0;_0x5d0fbb--)(_0x6a282f=_0x240dc9[_0x5d0fbb])&&(_0x409289=_0x6a282f(_0x409289)||_0x409289);return _0x409289;},at=(_0x32eff7,_0x24c85e)=>(_0x4f0bb7,_0x34a719)=>_0x24c85e(_0x4f0bb7,_0x34a719,_0x32eff7);exports[_0x5231a7(0x168)]=class{constructor(_0x29453b,_0x335eeb){var _0x4969e3=_0x5231a7;this[_0x4969e3(0x17f)]=_0x29453b,this[_0x4969e3(0x34d)]=_0x335eeb;}async['getUnitOnRev'](_0x1f6649,_0x459d26){var _0x5269ca=_0x5231a7,_0x176c02;const {unitID:_0x386b19,type:_0x14380f,revision:_0x37f8d8=0x0}=_0x459d26,_0x43b427=this[_0x5269ca(0x23d)]()+'/'+_0x14380f+_0x5269ca(0x4a5)+_0x386b19+_0x5269ca(0x474)+_0x37f8d8,_0x3b35be=(await this[_0x5269ca(0x34d)][_0x5269ca(0x200)](_0x43b427))[_0x5269ca(0x1e4)],_0x5628cb=(_0x176c02=_0x3b35be[_0x5269ca(0x38a)])==null?void 0x0:_0x176c02['workbook'];if(_0x5628cb){const _0x4d0c9e=_0x5628cb==null?void 0x0:_0x5628cb[_0x5269ca(0x340)],_0x467ebc=p[_0x5269ca(0x14c)][_0x5269ca(0x39f)](p['b64DecodeUnicode'](_0x4d0c9e));_0x5628cb[_0x5269ca(0x340)]=_0x467ebc,Object[_0x5269ca(0x303)](_0x5628cb[_0x5269ca(0x35d)])[_0x5269ca(0x171)](([,_0x12e4e9])=>{var _0x1f6944=_0x5269ca;const _0x551e65=_0x12e4e9['originalMeta'],_0x2211fb=p['textEncoder'][_0x1f6944(0x39f)](p[_0x1f6944(0x1a3)](_0x551e65));_0x12e4e9[_0x1f6944(0x340)]=_0x2211fb;});}return _0x3b35be;}async[_0x5231a7(0x4b2)](_0x3e55b5,_0x4ce31f){var _0x574215=_0x5231a7;const {unitID:_0x2be885,type:_0x5e0c6b,blockID:_0x16d1d8}=_0x4ce31f,_0x3acb42=this[_0x574215(0x157)]()+'/'+_0x5e0c6b+_0x574215(0x4a5)+_0x2be885+_0x574215(0x48b)+_0x16d1d8;return(await this[_0x574215(0x34d)][_0x574215(0x200)](_0x3acb42))[_0x574215(0x1e4)];}async[_0x5231a7(0x4aa)](_0x40739f,_0x49a9b3){var _0x22bfdc=_0x5231a7;const {unitID:_0x4f3dde,type:_0x23dd9e,blockID:_0x14ba05}=_0x49a9b3,_0x1d5a30=this['_getAPIPrefix']()+_0x22bfdc(0x48b)+_0x23dd9e+_0x22bfdc(0x4a5)+_0x4f3dde+_0x22bfdc(0x48b)+_0x14ba05;return(await this['_httpService'][_0x22bfdc(0x200)](_0x1d5a30))[_0x22bfdc(0x1e4)];}async[_0x5231a7(0x1a6)](_0x206369,_0x327630){var _0x4c09f2=_0x5231a7;const {unitID:_0x510700,type:_0x19f43a,from:_0x526c70,to:_0x1a8378}=_0x327630,_0x3febe5=this[_0x4c09f2(0x157)]()+'/'+_0x19f43a+'/unit/'+_0x510700+_0x4c09f2(0x1c9)+_0x526c70+_0x4c09f2(0x41d)+_0x1a8378;return(await this[_0x4c09f2(0x34d)][_0x4c09f2(0x200)](_0x3febe5))[_0x4c09f2(0x1e4)];}['getSnapshotAPIPath'](){var _0x2b238f=_0x5231a7,_0x57b906;return(_0x57b906=this['_configService'][_0x2b238f(0x430)](Dt))!=null?_0x57b906:this[_0x2b238f(0x157)]();}['_getAPIPrefix'](){var _0x2ccb49=_0x5231a7,_0x162e61;const _0x48b423=this[_0x2ccb49(0x17f)]['getConfig'](Y);return(_0x162e61=_0x48b423==null?void 0x0:_0x48b423['snapshotServerUrl'])!=null?_0x162e61:Nt;}async[_0x5231a7(0x2e7)](_0x4ec379,_0x1a9de0){var _0x5e61b0=_0x5231a7;const _0x4101a2='/universer-api/snapshot/'+_0x1a9de0[_0x5e61b0(0x2a7)]+_0x5e61b0(0x4a5)+_0x1a9de0[_0x5e61b0(0x19e)]+'/resources';return(await this[_0x5e61b0(0x34d)][_0x5e61b0(0x200)](_0x4101a2,{'params':{'resourceId':JSON[_0x5e61b0(0x1f6)](_0x1a9de0[_0x5e61b0(0x3e4)])}}))[_0x5e61b0(0x1e4)];}[_0x5231a7(0x337)](){var _0x5cc3b7=_0x5231a7;throw new Error(_0x5cc3b7(0x39a));}['updateSnapshot'](){var _0x1abd36=_0x5231a7;throw new Error(_0x1abd36(0x39a));}[_0x5231a7(0x499)](){var _0x35fc8e=_0x5231a7;throw new Error(_0x35fc8e(0x39a));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){var _0x3b06be=_0x5231a7;throw new Error(_0x3b06be(0x39a));}[_0x5231a7(0x31a)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports['SnapshotServerOverHTTPService']=Sn([at(0x0,a[_0x5231a7(0x1da)]),at(0x1,a[_0x5231a7(0x4a4)](q[_0x5231a7(0x1c5)]))],exports[_0x5231a7(0x168)]);var fn=Object['getOwnPropertyDescriptor'],In=(_0x43f965,_0xcc1a2,_0x5956e7,_0x62e647)=>{var _0x166eb8=_0x5231a7;for(var _0x426f7f=_0x62e647>0x1?void 0x0:_0x62e647?fn(_0xcc1a2,_0x5956e7):_0xcc1a2,_0x5e4d32=_0x43f965[_0x166eb8(0x395)]-0x1,_0x46696d;_0x5e4d32>=0x0;_0x5e4d32--)(_0x46696d=_0x43f965[_0x5e4d32])&&(_0x426f7f=_0x46696d(_0x426f7f)||_0x426f7f);return _0x426f7f;},ue=(_0x4228ab,_0x4fc929)=>(_0x223946,_0x343d40)=>_0x4fc929(_0x223946,_0x343d40,_0x4228ab);exports[_0x5231a7(0x314)]=class extends a[_0x5231a7(0x291)]{constructor(_0x2702bf,_0x599488,_0x5c00a6,_0x58be60,_0x370a0a){var _0xe672c4=_0x5231a7;super(_0x2702bf,_0x599488,_0x5c00a6),this[_0xe672c4(0x39b)]=_0x58be60,this[_0xe672c4(0x47b)]=_0x370a0a;}[_0x5231a7(0x364)](_0x25c1b2,_0x3ff506){var _0x586015=_0x5231a7;const _0xe276bf=this[_0x586015(0x37f)](_0x25c1b2);if(_0xe276bf)try{const _0x50f6cc=this[_0x586015(0x2e3)](_0xe276bf,_0x3ff506);this[_0x586015(0x2eb)](_0x25c1b2,_0x50f6cc);}catch(_0x3202b8){this[_0x586015(0x47b)]['error']('[CollaborationUndoRedoService]',_0x3202b8),this[_0x586015(0x206)](_0x25c1b2);}const _0x336054=this[_0x586015(0x424)](_0x25c1b2);if(_0x336054)try{const _0x3194c6=this[_0x586015(0x2e3)](_0x336054,_0x3ff506);this[_0x586015(0x2ae)](_0x25c1b2,_0x3194c6);}catch(_0x250fcb){this[_0x586015(0x47b)][_0x586015(0x2d5)](_0x250fcb),this[_0x586015(0x3b4)](_0x25c1b2);}}[_0x5231a7(0x206)](_0x4d0c06){var _0x31faa0=_0x5231a7;const _0x3d43c2=this[_0x31faa0(0x37f)](_0x4d0c06);_0x3d43c2&&(_0x3d43c2[_0x31faa0(0x395)]=0x0,this[_0x31faa0(0x2e1)]());}['_clearRedo'](_0x292284){var _0x19e892=_0x5231a7;const _0x5d5048=this[_0x19e892(0x424)](_0x292284);_0x5d5048&&(_0x5d5048[_0x19e892(0x395)]=0x0,this[_0x19e892(0x2e1)]());}['_substituteUndoStack'](_0x135ada,_0x147880){var _0x145edb=_0x5231a7;this[_0x145edb(0x18a)]['set'](_0x135ada,_0x147880),this['_updateStatus']();}[_0x5231a7(0x2ae)](_0x3e8934,_0x37b85c){var _0x4d974b=_0x5231a7;this['_redoStacks'][_0x4d974b(0x3c3)](_0x3e8934,_0x37b85c),this[_0x4d974b(0x2e1)]();}['_transformStack'](_0x117a92,_0x25c90c){var _0x262a90=_0x5231a7;const _0x46930a=[];let _0x404047=_0x25c90c,_0x591d3f=_0x25c90c;for(let _0x48bdf2=_0x117a92[_0x262a90(0x395)]-0x1;_0x48bdf2>=0x0;_0x48bdf2--){const {unitID:_0x390ffb,undoMutations:_0x589abc,redoMutations:_0x52110c}=_0x117a92[_0x48bdf2],_0x432df8=this[_0x262a90(0x39b)][_0x262a90(0x208)](_0x404047,_0x589abc),_0x6dc6ab=this[_0x262a90(0x39b)]['transformMutationsWithChangeset'](_0x591d3f,_0x52110c);if(p[_0x262a90(0x192)](_0x432df8)||p['isTransformMutationsWithChangesetFailure'](_0x6dc6ab)){this[_0x262a90(0x47b)][_0x262a90(0x2d5)](_0x262a90(0x252),_0x262a90(0x442),_0x432df8,_0x6dc6ab);break;}_0x404047=_0x432df8[_0x262a90(0x4a8)],_0x591d3f=_0x6dc6ab[_0x262a90(0x4a8)],_0x46930a[_0x262a90(0x445)]({'unitID':_0x390ffb,'undoMutations':_0x432df8[_0x262a90(0x3bb)],'redoMutations':_0x6dc6ab[_0x262a90(0x3bb)]});}return _0x46930a[_0x262a90(0x36c)]();}},exports[_0x5231a7(0x314)]=In([ue(0x0,a[_0x5231a7(0x32f)]),ue(0x1,a['ICommandService']),ue(0x2,a[_0x5231a7(0x37a)]),ue(0x3,p[_0x5231a7(0x24c)]),ue(0x4,a['ILogService'])],exports[_0x5231a7(0x314)]);var pn=Object['defineProperty'],mn=Object[_0x5231a7(0x199)],gn=(_0x414254,_0x593286,_0x228271)=>_0x593286 in _0x414254?pn(_0x414254,_0x593286,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x228271}):_0x414254[_0x593286]=_0x228271,En=(_0x4b5831,_0x1203e3,_0x2e4020,_0x4dba58)=>{var _0x22866d=_0x5231a7;for(var _0x41b684=_0x4dba58>0x1?void 0x0:_0x4dba58?mn(_0x1203e3,_0x2e4020):_0x1203e3,_0x206cf3=_0x4b5831[_0x22866d(0x395)]-0x1,_0x3ccf8e;_0x206cf3>=0x0;_0x206cf3--)(_0x3ccf8e=_0x4b5831[_0x206cf3])&&(_0x41b684=_0x3ccf8e(_0x41b684)||_0x41b684);return _0x41b684;},Le=(_0x4d2690,_0x546c18)=>(_0x186e35,_0x2c47ff)=>_0x546c18(_0x186e35,_0x2c47ff,_0x4d2690),Cn=(_0x5e1176,_0x54706b,_0x26eb4e)=>gn(_0x5e1176,_0x54706b+'',_0x26eb4e);const Tn=_0x5231a7(0x398);exports['UniverCollaborationClientPlugin']=class extends a['Plugin']{constructor(_0x1a7e9e,_0x32bb21,_0x1351b2,_0x562626){var _0x2ec63e=_0x5231a7;super(),A(this,_0x2ec63e(0x320)),(this[_0x2ec63e(0x47b)]=_0x32bb21,this[_0x2ec63e(0x25a)]=_0x1351b2,this[_0x2ec63e(0x17f)]=_0x562626);const {..._0x5d4ec8}=a[_0x2ec63e(0x3a0)]({},Bt,_0x1a7e9e);if(!_0x5d4ec8['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x5d4ec8,this[_0x2ec63e(0x17f)][_0x2ec63e(0x215)](Y,_0x5d4ec8);}['onStarting'](){var _0x3dd2db=_0x5231a7;this[_0x3dd2db(0x1cd)](),this[_0x3dd2db(0x22a)]();}[_0x5231a7(0x1cd)](){var _0x3d9e4d=_0x5231a7,_0x32b929,_0x49b450;this[_0x3d9e4d(0x25a)][_0x3d9e4d(0x3be)](a[_0x3d9e4d(0x477)])&&this[_0x3d9e4d(0x47b)][_0x3d9e4d(0x2d5)]('[UniverCollaborationClientPlugin]',_0x3d9e4d(0x19b));const _0x2a7538=a[_0x3d9e4d(0x3c5)]([[a[_0x3d9e4d(0x477)],{'useClass':exports[_0x3d9e4d(0x314)]}],[exports['CollaborationSessionService']],[exports[_0x3d9e4d(0x439)]],[exports[_0x3d9e4d(0x35f)]],[ye],[Ne],[je],[De],[ee],[exports[_0x3d9e4d(0x494)]],[$e,{'useClass':this[_0x3d9e4d(0x320)]['socketService']}],[p[_0x3d9e4d(0x403)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x3d9e4d(0x37e)],{'useClass':exports[_0x3d9e4d(0x2e0)]}],[z[_0x3d9e4d(0x27a)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x3d9e4d(0x161)],{'useClass':exports[_0x3d9e4d(0x405)]}],[exports['CollaborationController']],[xe]],(_0x32b929=this[_0x3d9e4d(0x320)])==null?void 0x0:_0x32b929['override']);if(!((_0x49b450=this['_config'])!=null&&_0x49b450[_0x3d9e4d(0x13d)])){const _0x1a7807=_0x2a7538['findIndex'](([_0x47e920])=>_0x47e920===de);_0x1a7807!==-0x1&&_0x2a7538[_0x3d9e4d(0x286)](_0x1a7807,0x1);}a[_0x3d9e4d(0x3c9)](this['_injector'],_0x2a7538);}[_0x5231a7(0x22a)](){var _0x130f21=_0x5231a7,_0x5efccc,_0x49a89f,_0x414d8d;this[_0x130f21(0x25a)][_0x130f21(0x200)](q['HTTPService'])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x5efccc=this['_config'])!=null&&_0x5efccc['enableOfflineEditing']||(_0x49a89f=this[_0x130f21(0x25a)][_0x130f21(0x200)](K,a[_0x130f21(0x3ea)][_0x130f21(0x3db)]))==null||_0x49a89f[_0x130f21(0x3d0)](),(_0x414d8d=this[_0x130f21(0x320)])!=null&&_0x414d8d[_0x130f21(0x3a1)]&&a[_0x130f21(0x2d4)](this[_0x130f21(0x25a)],[[ye]]),a[_0x130f21(0x2d4)](this[_0x130f21(0x25a)],[[Ne],[exports[_0x130f21(0x3c4)]],[De]]);}},Cn(exports[_0x5231a7(0x1bb)],_0x5231a7(0x412),Tn),exports[_0x5231a7(0x1bb)]=En([a[_0x5231a7(0x36b)](p[_0x5231a7(0x350)],q['UniverNetworkPlugin']),Le(0x1,a[_0x5231a7(0x251)]),Le(0x2,a[_0x5231a7(0x4a4)](a['Injector'])),Le(0x3,a[_0x5231a7(0x1da)])],exports[_0x5231a7(0x1bb)]),exports[_0x5231a7(0x18e)]=Y,exports[_0x5231a7(0x4ab)]=Be,exports[_0x5231a7(0x1c2)]=Z,exports[_0x5231a7(0x3f6)]=ee,exports[_0x5231a7(0x3f8)]=je,exports[_0x5231a7(0x32e)]=ht,exports[_0x5231a7(0x31f)]=Ht,exports[_0x5231a7(0x18d)]=At,exports[_0x5231a7(0x271)]=_t,exports[_0x5231a7(0x321)]=ke,exports['ICollaborationSocketService']=$e,exports[_0x5231a7(0x1ca)]=K,exports[_0x5231a7(0x1dd)]=St,exports[_0x5231a7(0x3d5)]=de,exports['LOCAL_CACHE_INTERVAL']=xt,exports[_0x5231a7(0x3b9)]=Lt,exports[_0x5231a7(0x377)]=jt,exports[_0x5231a7(0x2cb)]=ut,exports[_0x5231a7(0x2b5)]=re,exports['UnitStatus']=He,exports[_0x5231a7(0x16f)]=ft,exports[_0x5231a7(0x1b8)]=ei,exports[_0x5231a7(0x3eb)]=It;
|