@univerjs-pro/collaboration-client 0.9.2 → 0.9.3-nightly.202507250750
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 +21 -12
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 _0x261c0a=_0x2cbf;(function(_0x4889e0,_0x220302){var _0x412237=_0x2cbf,_0x1177bf=_0x4889e0();while(!![]){try{var _0x32324f=parseInt(_0x412237(0x322))/0x1*(parseInt(_0x412237(0x4f7))/0x2)+-parseInt(_0x412237(0x309))/0x3+parseInt(_0x412237(0x4bf))/0x4*(-parseInt(_0x412237(0x475))/0x5)+-parseInt(_0x412237(0x1cd))/0x6*(parseInt(_0x412237(0x315))/0x7)+parseInt(_0x412237(0x348))/0x8+-parseInt(_0x412237(0x29f))/0x9*(-parseInt(_0x412237(0x483))/0xa)+parseInt(_0x412237(0x445))/0xb;if(_0x32324f===_0x220302)break;else _0x1177bf['push'](_0x1177bf['shift']());}catch(_0x2d77bf){_0x1177bf['push'](_0x1177bf['shift']());}}}(_0x7563,0x7f0bf));var bt=Object[_0x261c0a(0x282)],Ot=(_0x32da15,_0x4e8185,_0x3474ba)=>_0x4e8185 in _0x32da15?bt(_0x32da15,_0x4e8185,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3474ba}):_0x32da15[_0x4e8185]=_0x3474ba,A=(_0x6c933,_0x48edc6,_0x2d8538)=>Ot(_0x6c933,typeof _0x48edc6!=_0x261c0a(0x31d)?_0x48edc6+'':_0x48edc6,_0x2d8538);Object[_0x261c0a(0x282)](exports,Symbol['toStringTag'],{'value':_0x261c0a(0x4a1)});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=_0x261c0a(0x21a),Dt=_0x261c0a(0x33c),Ut=0x7d0,ht='ws://127.0.0.1:8000/universer-api/comb/connect',At=_0x261c0a(0x501),_t='HEARTBEAT_INTERVAL',Pt=0x7530,ke=_0x261c0a(0x356),lt=0x4e20,wt=0x4e20,ut=_0x261c0a(0x4c6),Mt=0x3,Lt=_0x261c0a(0x2d9),xt=0x3e8,kt='/universer-api/comb',$t='/universer-api/oidc/authpage',jt=_0x261c0a(0x4d7),Ht=_0x261c0a(0x402);var dt=(_0x2263dd=>(_0x2263dd[_0x2263dd[_0x261c0a(0x235)]=0x0]=_0x261c0a(0x235),_0x2263dd[_0x2263dd['OK']=0x1]='OK',_0x2263dd[_0x2263dd[_0x261c0a(0x2fe)]=0x2]=_0x261c0a(0x2fe),_0x2263dd[_0x2263dd[_0x261c0a(0x453)]=0x3]='PERMISSION_DENIED',_0x2263dd[_0x2263dd[_0x261c0a(0x439)]=0x4]=_0x261c0a(0x439),_0x2263dd[_0x2263dd[_0x261c0a(0x2fb)]=0x5]=_0x261c0a(0x2fb),_0x2263dd[_0x2263dd[_0x261c0a(0x373)]=0x6]=_0x261c0a(0x373),_0x2263dd[_0x2263dd[_0x261c0a(0x261)]=0x7]=_0x261c0a(0x261),_0x2263dd[_0x2263dd[_0x261c0a(0x36c)]=0x8]=_0x261c0a(0x36c),_0x2263dd[_0x2263dd[_0x261c0a(0x4a4)]=0x9]=_0x261c0a(0x4a4),_0x2263dd[_0x2263dd['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x2263dd[_0x2263dd[_0x261c0a(0x2d7)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x2263dd[_0x2263dd[_0x261c0a(0x23e)]=0xc]=_0x261c0a(0x23e),_0x2263dd[_0x2263dd[_0x261c0a(0x25d)]=0xd]=_0x261c0a(0x25d),_0x2263dd[_0x2263dd['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x2263dd[_0x2263dd['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2263dd[_0x2263dd[_0x261c0a(0x38a)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2263dd[_0x2263dd[_0x261c0a(0x3a3)]=0x1772]=_0x261c0a(0x3a3),_0x2263dd[_0x2263dd[_0x261c0a(0x368)]=0x1773]=_0x261c0a(0x368),_0x2263dd[_0x2263dd['APPLY_REJECT']=0x1b59]=_0x261c0a(0x29c),_0x2263dd[_0x2263dd[_0x261c0a(0x283)]=0x1b5a]=_0x261c0a(0x283),_0x2263dd[_0x2263dd['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x261c0a(0x4f3),_0x2263dd[_0x2263dd[_0x261c0a(0x1eb)]=0x1b5c]=_0x261c0a(0x1eb),_0x2263dd[_0x2263dd[_0x261c0a(0x343)]=0x1b5d]='APPLY_DUPLICATED',_0x2263dd[_0x2263dd[_0x261c0a(0x2bf)]=0x1f41]=_0x261c0a(0x2bf),_0x2263dd[_0x2263dd[_0x261c0a(0x265)]=0x2329]=_0x261c0a(0x265),_0x2263dd[_0x2263dd[_0x261c0a(0x26d)]=0x232a]=_0x261c0a(0x26d),_0x2263dd[_0x2263dd[_0x261c0a(0x274)]=0x232b]=_0x261c0a(0x274),_0x2263dd[_0x2263dd[_0x261c0a(0x3ed)]=0x232c]=_0x261c0a(0x3ed),_0x2263dd[_0x2263dd[_0x261c0a(0x39c)]=0x232d]=_0x261c0a(0x39c),_0x2263dd[_0x2263dd[_0x261c0a(0x1e1)]=0x2711]=_0x261c0a(0x1e1),_0x2263dd[_0x2263dd['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2263dd[_0x2263dd[_0x261c0a(0x3c9)]=0x2713]=_0x261c0a(0x3c9),_0x2263dd[_0x2263dd['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x261c0a(0x390),_0x2263dd[_0x2263dd[_0x261c0a(0x25c)]=0x271a]=_0x261c0a(0x25c),_0x2263dd[_0x2263dd[_0x261c0a(0x489)]=0x271b]=_0x261c0a(0x489),_0x2263dd[_0x2263dd[_0x261c0a(0x42b)]=0x271c]=_0x261c0a(0x42b),_0x2263dd[_0x2263dd[_0x261c0a(0x3cf)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x2263dd[_0x2263dd[_0x261c0a(0x430)]=0x271e]=_0x261c0a(0x430),_0x2263dd[_0x2263dd[_0x261c0a(0x1c2)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x2263dd[_0x2263dd[_0x261c0a(0x4dd)]=0x2720]=_0x261c0a(0x4dd),_0x2263dd[_0x2263dd['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x261c0a(0x359),_0x2263dd[_0x2263dd[_0x261c0a(0x420)]=0x2ee1]=_0x261c0a(0x420),_0x2263dd[_0x2263dd[_0x261c0a(0x49a)]=0x2ee2]=_0x261c0a(0x49a),_0x2263dd[_0x2263dd[_0x261c0a(0x1cb)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2263dd[_0x2263dd['USER_NOT_INVITED_CODE']=0x2ee4]=_0x261c0a(0x1e8),_0x2263dd[_0x2263dd['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x261c0a(0x4bb),_0x2263dd[_0x2263dd[_0x261c0a(0x1a8)]=0x32c9]=_0x261c0a(0x1a8),_0x2263dd[_0x2263dd[_0x261c0a(0x4f4)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2263dd[_0x2263dd[_0x261c0a(0x2ac)]=0x32cb]=_0x261c0a(0x2ac),_0x2263dd[_0x2263dd[_0x261c0a(0x4a7)]=-0x1]=_0x261c0a(0x4a7),_0x2263dd))(dt||{}),J=(_0x43c48e=>(_0x43c48e[_0x43c48e[_0x261c0a(0x3bd)]=0x0]='UNIVER_UNKNOWN',_0x43c48e[_0x43c48e['UNIVER_DOC']=0x1]=_0x261c0a(0x329),_0x43c48e[_0x43c48e[_0x261c0a(0x394)]=0x2]=_0x261c0a(0x394),_0x43c48e[_0x43c48e[_0x261c0a(0x381)]=0x3]=_0x261c0a(0x381),_0x43c48e[_0x43c48e['UNIVER_PROJECT']=0x4]=_0x261c0a(0x1b4),_0x43c48e[_0x43c48e[_0x261c0a(0x4a7)]=-0x1]='UNRECOGNIZED',_0x43c48e))(J||{}),W=(_0x312534=>(_0x312534[_0x312534['UNKNOWN_CMD']=0x0]=_0x261c0a(0x39f),_0x312534[_0x312534[_0x261c0a(0x307)]=0x1]=_0x261c0a(0x307),_0x312534[_0x312534[_0x261c0a(0x3da)]=0x2]=_0x261c0a(0x3da),_0x312534[_0x312534[_0x261c0a(0x263)]=0x3]='LEAVE',_0x312534[_0x312534[_0x261c0a(0x2d2)]=0x4]=_0x261c0a(0x2d2),_0x312534[_0x312534[_0x261c0a(0x23b)]=0x5]=_0x261c0a(0x23b),_0x312534[_0x312534[_0x261c0a(0x3d0)]=0x6]='RECV',_0x312534[_0x312534[_0x261c0a(0x4a7)]=-0x1]=_0x261c0a(0x4a7),_0x312534))(W||{}),oe=(_0x570ca8=>(_0x570ca8[_0x570ca8[_0x261c0a(0x3c1)]=0x0]=_0x261c0a(0x3c1),_0x570ca8[_0x570ca8['OK']=0x1]='OK',_0x570ca8[_0x570ca8[_0x261c0a(0x1be)]=0x2]='FAIL',_0x570ca8[_0x570ca8[_0x261c0a(0x30a)]=0x3e9]=_0x261c0a(0x30a),_0x570ca8[_0x570ca8['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x261c0a(0x3e8),_0x570ca8[_0x570ca8[_0x261c0a(0x400)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x570ca8[_0x570ca8[_0x261c0a(0x237)]=0x3ec]=_0x261c0a(0x237),_0x570ca8[_0x570ca8[_0x261c0a(0x4a7)]=-0x1]=_0x261c0a(0x4a7),_0x570ca8))(oe||{}),vt=(_0x198557=>(_0x198557[_0x198557['Undefined']=0x0]='Undefined',_0x198557[_0x198557['HttpImport']=0x1]=_0x261c0a(0x36d),_0x198557[_0x198557['HttpExport']=0x2]=_0x261c0a(0x48b),_0x198557[_0x198557[_0x261c0a(0x4ea)]=0x3]=_0x261c0a(0x4ea),_0x198557[_0x198557[_0x261c0a(0x2ce)]=0x4]=_0x261c0a(0x2ce),_0x198557[_0x198557[_0x261c0a(0x2b3)]=0x5]=_0x261c0a(0x2b3),_0x198557[_0x198557[_0x261c0a(0x4a7)]=-0x1]=_0x261c0a(0x4a7),_0x198557))(vt||{});const Y=_0x261c0a(0x477),Bt={};var Z=(_0x2f8854=>(_0x2f8854[_0x261c0a(0x4cb)]=_0x261c0a(0x4cb),_0x2f8854[_0x261c0a(0x453)]=_0x261c0a(0x453),_0x2f8854[_0x261c0a(0x328)]='CONFLICT',_0x2f8854[_0x261c0a(0x4d6)]=_0x261c0a(0x4d6),_0x2f8854[_0x261c0a(0x45b)]=_0x261c0a(0x45b),_0x2f8854['SOCKET_FAILED_RETRY']=_0x261c0a(0x244),_0x2f8854[_0x261c0a(0x486)]=_0x261c0a(0x486),_0x2f8854[_0x261c0a(0x2fd)]=_0x261c0a(0x2fd),_0x2f8854))(Z||{});class ee{constructor(){var _0x1bdcfa=_0x261c0a;A(this,_0x1bdcfa(0x3bc),new j[(_0x1bdcfa(0x20e))]()),A(this,_0x1bdcfa(0x3ad),this['_event$'][_0x1bdcfa(0x2a6)]());}['emitEvent'](_0x30360f){var _0x3dec73=_0x261c0a;this[_0x3dec73(0x3bc)][_0x3dec73(0x23a)](_0x30360f);}}const St=a[_0x261c0a(0x4c5)]('univer-pro.collaboration-client.network-condition.service');function ft(_0x37884e){var _0x415046=_0x261c0a,_0xb675a,_0x50ad94,_0x5ab086,_0x12c288,_0x171207;const _0x460ec0=_0x37884e[_0x415046(0x3ac)],_0x1077c1=JSON[_0x415046(0x208)](_0x460ec0);switch(_0x1077c1[_0x415046(0x4c8)]){case W[_0x415046(0x23b)]:case W['HELLO']:{const _0x43c92a=_0x1077c1[_0x415046(0x20f)];return{..._0x1077c1,'data':_0x43c92a,'cmd':_0x1077c1[_0x415046(0x4c8)]};}case W['JOIN']:{const _0x45cdf6=_0x1077c1[_0x415046(0x27d)];return{..._0x1077c1,'data':_0x45cdf6,'cmd':_0x1077c1[_0x415046(0x4c8)]};}case W['RECV']:{const _0x52dd5d=_0x1077c1['collaMsg'];switch(_0x52dd5d[_0x415046(0x396)]){case p[_0x415046(0x2a4)]['PERMISSION_REJ']:return{..._0x1077c1,'data':{..._0x52dd5d,'data':(_0xb675a=_0x52dd5d[_0x415046(0x45c)])==null?void 0x0:_0xb675a['cs']},'cmd':_0x1077c1[_0x415046(0x4c8)]};case p[_0x415046(0x2a4)][_0x415046(0x289)]:return{..._0x1077c1,'data':{..._0x52dd5d,'data':(_0x50ad94=_0x52dd5d['csAckEvent'])==null?void 0x0:_0x50ad94['cs']},'cmd':_0x1077c1[_0x415046(0x4c8)]};case p[_0x415046(0x2a4)][_0x415046(0x4cd)]:return{..._0x1077c1,'data':{..._0x52dd5d,'data':(_0x5ab086=_0x52dd5d[_0x415046(0x284)])==null?void 0x0:_0x5ab086['cs']},'cmd':_0x1077c1[_0x415046(0x4c8)]};case p[_0x415046(0x2a4)][_0x415046(0x20c)]:return{..._0x1077c1,'data':{..._0x52dd5d,'data':(_0x12c288=_0x52dd5d[_0x415046(0x1a3)])==null?void 0x0:_0x12c288['cs']},'cmd':_0x1077c1[_0x415046(0x4c8)]};case p['CollaborationEvent'][_0x415046(0x49d)]:return{..._0x1077c1,'data':{..._0x52dd5d,'data':(_0x171207=_0x52dd5d[_0x415046(0x2fc)])==null?void 0x0:_0x171207['cs']},'cmd':_0x1077c1[_0x415046(0x4c8)]};case p['CollaborationEvent'][_0x415046(0x1bc)]:return{..._0x1077c1,'data':{..._0x52dd5d,'data':_0x52dd5d[_0x415046(0x256)]},'cmd':_0x1077c1[_0x415046(0x4c8)]};case p[_0x415046(0x2a4)][_0x415046(0x41c)]:return{..._0x1077c1,'data':{..._0x52dd5d,'data':_0x52dd5d[_0x415046(0x20b)]},'cmd':_0x1077c1['cmd']};case p[_0x415046(0x2a4)][_0x415046(0x295)]:return{..._0x1077c1,'data':{..._0x52dd5d,'data':_0x52dd5d[_0x415046(0x44b)]},'cmd':_0x1077c1[_0x415046(0x4c8)]};case p[_0x415046(0x2a4)][_0x415046(0x2e6)]:return{..._0x1077c1,'data':{..._0x52dd5d,'data':_0x52dd5d['liveShareNewHost']},'cmd':_0x1077c1[_0x415046(0x4c8)]};case p[_0x415046(0x2a4)][_0x415046(0x35f)]:case p[_0x415046(0x2a4)]['LIVESHARE_OPERATION']:return{..._0x1077c1,'data':{..._0x52dd5d,'data':_0x52dd5d[_0x415046(0x44d)]},'cmd':_0x1077c1['cmd']};case p[_0x415046(0x2a4)]['LIVESHARE_TERMINATE']:return{..._0x1077c1,'data':{..._0x52dd5d,'data':_0x52dd5d[_0x415046(0x2b2)]},'cmd':_0x1077c1[_0x415046(0x4c8)]};case p['CollaborationEvent'][_0x415046(0x4b7)]:return{..._0x1077c1,'data':_0x52dd5d,'cmd':_0x1077c1['cmd']};case p[_0x415046(0x2a4)][_0x415046(0x239)]:return{..._0x1077c1,'data':{..._0x52dd5d,'data':_0x52dd5d['commentUpdateEvent']},'cmd':_0x1077c1[_0x415046(0x4c8)]};case p['CollaborationEvent'][_0x415046(0x2c0)]:return{..._0x1077c1,'data':{..._0x52dd5d,'data':_0x52dd5d[_0x415046(0x1b9)]},'cmd':_0x1077c1['cmd']};case p['CollaborationEvent'][_0x415046(0x500)]:return{..._0x1077c1,'data':{..._0x52dd5d,'data':_0x52dd5d[_0x415046(0x3a4)]},'cmd':_0x1077c1[_0x415046(0x4c8)]};case p['CollaborationEvent'][_0x415046(0x2a3)]:return{..._0x1077c1,'data':{..._0x52dd5d,'data':_0x52dd5d[_0x415046(0x2e5)]},'cmd':_0x1077c1['cmd']};default:return _0x1077c1;}}default:return _0x1077c1;}}function It(_0x4b3ed0){var _0x7210=_0x261c0a;switch(_0x4b3ed0['cmd']){case W[_0x7210(0x23b)]:case W[_0x7210(0x307)]:return JSON[_0x7210(0x344)]({'cmd':_0x4b3ed0['cmd'],'routeKey':_0x4b3ed0[_0x7210(0x1f3)]});case W['INGEST']:{let _0x15152f;switch(_0x4b3ed0['data']['eventID']){case p[_0x7210(0x2a4)]['UPDATE_CURSOR']:{_0x15152f={'eventID':p['CollaborationEvent'][_0x7210(0x1bc)],'updateCursorEvent':_0x4b3ed0[_0x7210(0x3ac)][_0x7210(0x3ac)]};break;}case p['CollaborationEvent'][_0x7210(0x295)]:{_0x15152f={'eventID':p[_0x7210(0x2a4)][_0x7210(0x295)],'leaveEvent':_0x4b3ed0['data'][_0x7210(0x3ac)]};break;}case p['CollaborationEvent'][_0x7210(0x41c)]:{_0x15152f={'eventID':p[_0x7210(0x2a4)]['USERS_ENTER'],'joinEvent':_0x4b3ed0[_0x7210(0x3ac)]['data']};break;}case p[_0x7210(0x2a4)][_0x7210(0x2e6)]:{_0x15152f={'eventID':p[_0x7210(0x2a4)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x4b3ed0[_0x7210(0x3ac)][_0x7210(0x3ac)]};break;}case p['CollaborationEvent'][_0x7210(0x3be)]:{_0x15152f={'eventID':p[_0x7210(0x2a4)][_0x7210(0x3be)],'liveShareOperation':_0x4b3ed0[_0x7210(0x3ac)]['data']};break;}case p[_0x7210(0x2a4)][_0x7210(0x4d0)]:{_0x15152f={'eventID':p['CollaborationEvent'][_0x7210(0x4d0)],'liveShareTerminate':_0x4b3ed0['data']['data']};break;}case p[_0x7210(0x2a4)]['LIVESHARE_REQUEST_HOST']:{_0x15152f={'eventID':p[_0x7210(0x2a4)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x4b3ed0[_0x7210(0x3ac)]['data']};break;}case p['CollaborationEvent'][_0x7210(0x35f)]:{_0x15152f={'eventID':p[_0x7210(0x2a4)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x15152f={'eventID':_0x4b3ed0[_0x7210(0x3ac)][_0x7210(0x396)]};}return JSON[_0x7210(0x344)]({'cmd':_0x4b3ed0[_0x7210(0x4c8)],'routeKey':_0x4b3ed0['routeKey'],'collaMsg':_0x15152f});}case W[_0x7210(0x3da)]:return JSON[_0x7210(0x344)]({'cmd':_0x4b3ed0[_0x7210(0x4c8)],'routeKey':_0x4b3ed0[_0x7210(0x1f3)],'joinReq':_0x4b3ed0[_0x7210(0x3ac)]});case W[_0x7210(0x263)]:return JSON[_0x7210(0x344)]({'cmd':_0x4b3ed0['cmd'],'routeKey':_0x4b3ed0[_0x7210(0x1f3)],'leaveReq':_0x4b3ed0[_0x7210(0x3ac)]});default:throw new Error(_0x7210(0x3aa));}}var Ft=Object[_0x261c0a(0x308)],Vt=(_0x2ddb11,_0x2ba985,_0x229394,_0x21da30)=>{var _0x557b79=_0x261c0a;for(var _0x5cbbed=_0x21da30>0x1?void 0x0:_0x21da30?Ft(_0x2ba985,_0x229394):_0x2ba985,_0x5062b9=_0x2ddb11[_0x557b79(0x249)]-0x1,_0x51c0d0;_0x5062b9>=0x0;_0x5062b9--)(_0x51c0d0=_0x2ddb11[_0x5062b9])&&(_0x5cbbed=_0x51c0d0(_0x5cbbed)||_0x5cbbed);return _0x5cbbed;},_e=(_0xddf655,_0x596bee)=>(_0x4a71e7,_0x41d732)=>_0x596bee(_0x4a71e7,_0x41d732,_0xddf655);const $e=a[_0x261c0a(0x4c5)]('univer-pro.collaboration-client-socket-service');function Wt(_0x2dbe73,_0x3a4702,_0x4db06a){var _0x3bac7f=_0x261c0a;return _0x2dbe73+'/'+_0x3a4702+'/unit/'+_0x4db06a+_0x3bac7f(0x336);}exports['CollaborationSocketService']=class extends a[_0x261c0a(0x4af)]{constructor(_0x12ac9e,_0x117558,_0x6dc352,_0xea14d,_0xc373d0){var _0x2d631b=_0x261c0a;super(),this[_0x2d631b(0x473)]=_0x12ac9e,this[_0x2d631b(0x4b3)]=_0x117558,this[_0x2d631b(0x496)]=_0x6dc352,this[_0x2d631b(0x28f)]=_0xea14d,this['_snapshotServerService']=_0xc373d0;}['_doCreateSocket'](_0x5ca34c){var _0x2a5fe8=_0x261c0a;const _0x16a409=this['_injector']['get'](q[_0x2a5fe8(0x423)]);if(!_0x16a409)throw new Error(_0x2a5fe8(0x4ab));const _0x21ca3d=_0x16a409[_0x2a5fe8(0x446)](_0x5ca34c);if(!_0x21ca3d)throw new Error(_0x2a5fe8(0x46a));const _0x3ff744=new a['DisposableCollection'](),_0x269312=new j[(_0x2a5fe8(0x20e))]();_0x3ff744[_0x2a5fe8(0x403)](_0x21ca3d[_0x2a5fe8(0x233)]['subscribe'](_0x96e573=>_0x269312[_0x2a5fe8(0x23a)](_0x96e573))),_0x3ff744['add'](a['toDisposable'](()=>_0x269312[_0x2a5fe8(0x306)]()));const _0x3e3372=new j[(_0x2a5fe8(0x20e))]();_0x3ff744[_0x2a5fe8(0x403)](_0x21ca3d[_0x2a5fe8(0x40f)][_0x2a5fe8(0x28d)](_0x346a9f=>_0x3e3372['next'](_0x346a9f))),_0x3ff744[_0x2a5fe8(0x403)](a[_0x2a5fe8(0x47a)](()=>_0x3e3372[_0x2a5fe8(0x306)]()));const _0x559c2f=new j[(_0x2a5fe8(0x20e))]();_0x3ff744['add'](_0x21ca3d[_0x2a5fe8(0x302)][_0x2a5fe8(0x28d)](_0x15bb05=>{var _0x2b7f91=_0x2a5fe8;const _0x2479e6=ft(_0x15bb05);_0x559c2f[_0x2b7f91(0x23a)](_0x2479e6);})),_0x3ff744[_0x2a5fe8(0x403)](a[_0x2a5fe8(0x47a)](()=>_0x559c2f['complete']()));let _0x1fc2fb;const _0x1b2221=()=>{var _0xb03056=_0x2a5fe8;_0x3e3372[_0xb03056(0x23a)](new Event('connection\x20error')),_0x269312[_0xb03056(0x23a)](new Event(_0xb03056(0x1c3))),_0x1fc2fb[_0xb03056(0x204)]();};return _0x1fc2fb={'memberID':'','close$':_0x269312[_0x2a5fe8(0x2a6)](),'error$':_0x3e3372[_0x2a5fe8(0x2a6)](),'open$':_0x21ca3d[_0x2a5fe8(0x360)],'message$':_0x559c2f['asObservable'](),'send':_0x50a68a=>{var _0x183dcc=_0x2a5fe8;if(_0x50a68a[_0x183dcc(0x4c8)]===W[_0x183dcc(0x2d2)]){if(_0x50a68a[_0x183dcc(0x3ac)][_0x183dcc(0x396)]===p['CollaborationEvent']['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x1fc2fb,_0x50a68a[_0x183dcc(0x3ac)])[_0x183dcc(0x401)](_0x21f9ef=>{var _0x3c1c22=_0x183dcc;this[_0x3c1c22(0x28f)][_0x3c1c22(0x1de)](_0x21f9ef),_0x1b2221();});return;}if(_0x50a68a['data']['eventID']===p[_0x183dcc(0x2a4)][_0x183dcc(0x4e3)]){const _0x1fce67=_0x50a68a[_0x183dcc(0x3ac)];this[_0x183dcc(0x4b8)](_0x1fce67)[_0x183dcc(0x346)](_0x172700=>{var _0xb41142=_0x183dcc;_0x559c2f['next']({'cmd':W['RECV'],'code':oe['OK'],'routeKey':_0x1fce67[_0xb41142(0x3ac)][_0xb41142(0x42f)],'routeType':'','data':{'eventID':p[_0xb41142(0x2a4)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x172700}}});})[_0x183dcc(0x401)](_0x83aa0e=>{var _0x441b26=_0x183dcc;this[_0x441b26(0x28f)][_0x441b26(0x1de)](_0x83aa0e),_0x1b2221();});return;}}_0x21ca3d[_0x183dcc(0x273)](It(_0x50a68a));},'close':()=>{var _0x4ad663=_0x2a5fe8;_0x21ca3d['close'](),_0x3ff744[_0x4ad663(0x3e9)]();}},_0x1fc2fb;}async['_submitChangeset'](_0x34a591,_0x4e3717){var _0x52982c=_0x261c0a,_0x1151c2;const {unitType:_0x33ae80,unitID:_0x2cb38a,changeset:_0x13a57a}=_0x4e3717[_0x52982c(0x3ac)],_0x2e792f={'unitID':_0x2cb38a,'memberID':_0x34a591[_0x52982c(0x3c6)],'type':_0x33ae80,'changeset':p[_0x52982c(0x350)](_0x13a57a)},_0xe0dd16=this[_0x52982c(0x496)][_0x52982c(0x4e2)](Y),_0x104603=Wt((_0x1151c2=_0xe0dd16==null?void 0x0:_0xe0dd16[_0x52982c(0x258)])!=null?_0x1151c2:kt,_0x33ae80,_0x2cb38a);try{await this[_0x52982c(0x4b3)][_0x52982c(0x395)](_0x104603,{'body':_0x2e792f});}catch(_0x401d36){throw this['_logService'][_0x52982c(0x1de)](_0x52982c(0x4b6),'submit\x20changeset\x20error!'),_0x401d36;}}async[_0x261c0a(0x4b8)](_0xede5d4){var _0x6eefff=_0x261c0a;const {unitID:_0x4236b2,from:_0xdaa6d0,to:_0x505049,unitType:_0x2dfe83}=_0xede5d4['data'];return(await this['_snapshotServerService'][_0x6eefff(0x3f0)]({'metadata':void 0x0},{'unitID':_0x4236b2,'type':_0x2dfe83,'from':_0xdaa6d0,'to':_0x505049}))[_0x6eefff(0x503)];}},exports[_0x261c0a(0x1fa)]=Vt([_e(0x0,a[_0x261c0a(0x1a7)](a[_0x261c0a(0x2b1)])),_e(0x1,a[_0x261c0a(0x1a7)](q[_0x261c0a(0x2e1)])),_e(0x2,a[_0x261c0a(0x203)]),_e(0x3,a[_0x261c0a(0x319)]),_e(0x4,p[_0x261c0a(0x33d)])],exports[_0x261c0a(0x1fa)]);const Gt=_0x261c0a(0x37a);function Yt(_0x40cc48){var _0x55beff=_0x261c0a;return JSON['stringify'](_0x40cc48)[_0x55beff(0x249)];}class je{constructor(){var _0x40bba5=_0x261c0a;A(this,'_commentUpdate$',new j[(_0x40bba5(0x20e))]()),A(this,_0x40bba5(0x3e7),this[_0x40bba5(0x1ad)][_0x40bba5(0x2a6)]());}[_0x261c0a(0x2ba)](_0xc2609c){var _0x2605df=_0x261c0a;this[_0x2605df(0x1ad)]['next'](_0xc2609c);}}var qt=Object['getOwnPropertyDescriptor'],Kt=(_0x58ba38,_0x5d7e37,_0x529c20,_0x4b5afa)=>{var _0x28ae0b=_0x261c0a;for(var _0x11e5c1=_0x4b5afa>0x1?void 0x0:_0x4b5afa?qt(_0x5d7e37,_0x529c20):_0x5d7e37,_0x18d1ce=_0x58ba38[_0x28ae0b(0x249)]-0x1,_0xafa015;_0x18d1ce>=0x0;_0x18d1ce--)(_0xafa015=_0x58ba38[_0x18d1ce])&&(_0x11e5c1=_0xafa015(_0x11e5c1)||_0x11e5c1);return _0x11e5c1;},Ve=(_0x3b9ee9,_0x599f2f)=>(_0x5f419b,_0x42098a)=>_0x599f2f(_0x5f419b,_0x42098a,_0x3b9ee9);exports[_0x261c0a(0x3e3)]=class extends a[_0x261c0a(0x4af)]{constructor(_0x57c19b,_0x52f26f){var _0x438e3f=_0x261c0a;super(),A(this,_0x438e3f(0x37b),new Map()),A(this,_0x438e3f(0x2fa),new j['Subject']()),(this['_univerInstanceService']=_0x57c19b,this[_0x438e3f(0x335)]=_0x52f26f,this[_0x438e3f(0x219)](j[_0x438e3f(0x1cc)](this[_0x438e3f(0x1c0)][_0x438e3f(0x298)](a['UniverInstanceType'][_0x438e3f(0x394)])[_0x438e3f(0x450)](V[_0x438e3f(0x25e)](_0x3f9be9=>_0x3f9be9[_0x438e3f(0x3c0)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x438e3f(0x4d2)][_0x438e3f(0x329)])[_0x438e3f(0x450)](V[_0x438e3f(0x25e)](_0x3293d6=>_0x3293d6['getUnitId']())),this[_0x438e3f(0x1c0)]['getTypeOfUnitDisposed$'](a[_0x438e3f(0x4d2)][_0x438e3f(0x381)])[_0x438e3f(0x450)](V[_0x438e3f(0x25e)](_0x532faa=>_0x532faa[_0x438e3f(0x3c0)]())))[_0x438e3f(0x28d)](_0xc1542f=>this[_0x438e3f(0x367)](_0xc1542f))));}[_0x261c0a(0x26c)](_0x3db515){var _0x175bd4=_0x261c0a;return this[_0x175bd4(0x37b)]['has'](_0x3db515)?j['of'](this['_roomMembers'][_0x175bd4(0x2f8)](_0x3db515)):this[_0x175bd4(0x2fa)][_0x175bd4(0x450)](V[_0x175bd4(0x25e)](_0xc3a587=>{var _0x42dd0d=_0x175bd4;if(_0xc3a587===_0x3db515)return this[_0x42dd0d(0x37b)]['get'](_0xc3a587);}));}[_0x261c0a(0x2a8)](_0x599e5a){var _0x171cc8=_0x261c0a;this['_userManagerService'][_0x171cc8(0x2a8)](_0x599e5a);}[_0x261c0a(0x2aa)](){var _0x3c20f5=_0x261c0a;return this['_userManagerService'][_0x3c20f5(0x2aa)]();}[_0x261c0a(0x38f)](_0x379705,_0x2427d5){var _0x774a58=_0x261c0a;let _0xbcbc66=this[_0x774a58(0x37b)][_0x774a58(0x2f8)](_0x379705);_0xbcbc66||(_0xbcbc66=new zt(),this[_0x774a58(0x37b)][_0x774a58(0x30f)](_0x379705,_0xbcbc66),this[_0x774a58(0x2fa)][_0x774a58(0x23a)](_0x379705)),_0xbcbc66[_0x774a58(0x38f)](_0x2427d5);}[_0x261c0a(0x1e5)](_0x44506b,_0x576ffb){var _0x91fc01=_0x261c0a;const _0x1ac8d0=this[_0x91fc01(0x37b)][_0x91fc01(0x2f8)](_0x44506b);_0x1ac8d0&&_0x1ac8d0[_0x91fc01(0x1e5)](_0x576ffb);}[_0x261c0a(0x1ab)](_0x1169bd){var _0x538120=_0x261c0a;return this[_0x538120(0x37b)][_0x538120(0x2f8)](_0x1169bd);}[_0x261c0a(0x1e7)](_0x388fad,_0x310466){var _0x1e49db=_0x261c0a;const _0x4ea0a8=this[_0x1e49db(0x37b)][_0x1e49db(0x2f8)](_0x388fad);if(_0x4ea0a8)return _0x4ea0a8['getMember'](_0x310466);}[_0x261c0a(0x367)](_0x4588c2){var _0x33fb1b=_0x261c0a;const _0x217132=this[_0x33fb1b(0x37b)][_0x33fb1b(0x2f8)](_0x4588c2);_0x217132&&(_0x217132[_0x33fb1b(0x3e9)](),this['_roomMembers'][_0x33fb1b(0x4ca)](_0x4588c2));}[_0x261c0a(0x3e9)](){var _0x21909a=_0x261c0a;this[_0x21909a(0x37b)][_0x21909a(0x4a5)](_0x561ab7=>_0x561ab7[_0x21909a(0x3e9)]()),this[_0x21909a(0x37b)][_0x21909a(0x3a2)](),this[_0x21909a(0x2fa)][_0x21909a(0x306)]();}},exports[_0x261c0a(0x3e3)]=Kt([Ve(0x0,a[_0x261c0a(0x25f)]),Ve(0x1,a[_0x261c0a(0x1a7)](a[_0x261c0a(0x3d3)]))],exports[_0x261c0a(0x3e3)]);class zt extends a[_0x261c0a(0x4af)]{constructor(){var _0x498d54=_0x261c0a;super(...arguments),A(this,_0x498d54(0x2bb),new Map()),A(this,_0x498d54(0x3f9),new j[(_0x498d54(0x397))](this[_0x498d54(0x2bb)])),A(this,'members$',this['_members$']['asObservable']());}[_0x261c0a(0x3e9)](){var _0x2c1d5b=_0x261c0a;this[_0x2c1d5b(0x2bb)][_0x2c1d5b(0x3a2)]();}[_0x261c0a(0x38f)](_0x596b03){var _0x5b89e2=_0x261c0a;this[_0x5b89e2(0x2bb)][_0x5b89e2(0x30f)](_0x596b03[_0x5b89e2(0x3c6)],_0x596b03),this[_0x5b89e2(0x426)]();}[_0x261c0a(0x1e5)](_0x43fb40){var _0x7a18a9=_0x261c0a;this[_0x7a18a9(0x2bb)][_0x7a18a9(0x4ca)](_0x43fb40);}[_0x261c0a(0x1e7)](_0x5d1e06){var _0x4bed8a=_0x261c0a;return this[_0x4bed8a(0x2bb)]['get'](_0x5d1e06);}[_0x261c0a(0x3ea)](){var _0x37b995=_0x261c0a;return Array['from'](this['_members'][_0x37b995(0x365)]());}[_0x261c0a(0x426)](){var _0x4d4bc9=_0x261c0a;this[_0x4d4bc9(0x3f9)][_0x4d4bc9(0x23a)](this['_members']);}}var Jt=Object[_0x261c0a(0x308)],Xt=(_0x20b177,_0x1b1819,_0x1c700b,_0x2bc41d)=>{var _0x18d6a2=_0x261c0a;for(var _0x5c13c8=_0x2bc41d>0x1?void 0x0:_0x2bc41d?Jt(_0x1b1819,_0x1c700b):_0x1b1819,_0x3d53c4=_0x20b177[_0x18d6a2(0x249)]-0x1,_0x17b621;_0x3d53c4>=0x0;_0x3d53c4--)(_0x17b621=_0x20b177[_0x3d53c4])&&(_0x5c13c8=_0x17b621(_0x5c13c8)||_0x5c13c8);return _0x5c13c8;},se=(_0xcca4bf,_0x3e1bc6)=>(_0x986fd3,_0x274243)=>_0x3e1bc6(_0x986fd3,_0x274243,_0xcca4bf),re=(_0x203394=>(_0x203394[_0x203394['IDLE']=0x0]='IDLE',_0x203394[_0x203394[_0x261c0a(0x3f7)]=0x1]=_0x261c0a(0x3f7),_0x203394[_0x203394[_0x261c0a(0x374)]=0x2]='OFFLINE',_0x203394[_0x203394[_0x261c0a(0x44c)]=0x3]=_0x261c0a(0x44c),_0x203394))(re||{});const We={[oe[_0x261c0a(0x1be)]]:_0x261c0a(0x4c0),[oe['JOIN_ROOM_FULL']]:_0x261c0a(0x245),[oe['JOIN_ROOM_NOT_EXISTS']]:_0x261c0a(0x39a),[oe[_0x261c0a(0x400)]]:_0x261c0a(0x330),[oe[_0x261c0a(0x237)]]:'session.room-cnt-exceeds'};exports['CollaborationSession']=class extends a[_0x261c0a(0x502)]{constructor(_0x46b1dc,_0x7d078b,_0x52d152,_0x80cefd,_0x2c8de6,_0x5be9e8,_0x3a2f8c,_0x58701f,_0xd31db5){var _0x47e0db=_0x261c0a;super(),A(this,'_sessionStatus$',new j[(_0x47e0db(0x397))](0x0)),A(this,_0x47e0db(0x2e8),this[_0x47e0db(0x313)]['asObservable']()),A(this,_0x47e0db(0x3bc),new j[(_0x47e0db(0x20e))]()),A(this,_0x47e0db(0x3ad),this['_event$'][_0x47e0db(0x2a6)]()),A(this,_0x47e0db(0x24b)),A(this,_0x47e0db(0x27e)),A(this,_0x47e0db(0x334)),A(this,_0x47e0db(0x1ef),!0x1),A(this,_0x47e0db(0x37f),null),(this[_0x47e0db(0x216)]=_0x46b1dc,this[_0x47e0db(0x28f)]=_0x52d152,this[_0x47e0db(0x496)]=_0x80cefd,this['_localeService']=_0x2c8de6,this[_0x47e0db(0x2b0)]=_0x5be9e8,this['_commentService']=_0x3a2f8c,this['_collaborationUIEventService']=_0x58701f,this[_0x47e0db(0x1ee)]=_0xd31db5,this[_0x47e0db(0x1ef)]=!!this[_0x47e0db(0x1ee)],_0x7d078b[_0x47e0db(0x450)](j[_0x47e0db(0x448)](this['dispose$']))[_0x47e0db(0x28d)](_0x381568=>{var _0x512a14=_0x47e0db,_0x33e788;typeof _0x381568>'u'||(this['_socket']=_0x381568,_0x381568?(this[_0x512a14(0x4c2)](_0x381568),this[_0x512a14(0x27e)]=_0x381568[_0x512a14(0x302)]['subscribe'](_0xa280d1=>{var _0x21b832=_0x512a14;_0xa280d1[_0x21b832(0x1f3)]===this[_0x21b832(0x216)]&&this[_0x21b832(0x38c)](_0xa280d1);})):(this[_0x512a14(0x3d4)](),this[_0x512a14(0x313)][_0x512a14(0x23a)](0x2),(_0x33e788=this[_0x512a14(0x27e)])==null||_0x33e788[_0x512a14(0x377)](),this[_0x512a14(0x27e)]=null));}));}get[_0x261c0a(0x2a9)](){var _0x19e73e=_0x261c0a;return this[_0x19e73e(0x313)]['getValue']();}[_0x261c0a(0x34c)](){var _0xebb5f1=_0x261c0a,_0x369e02,_0x212978;return(_0x212978=(_0x369e02=this['_socket'])==null?void 0x0:_0x369e02[_0xebb5f1(0x3c6)])!=null?_0x212978:null;}[_0x261c0a(0x3e9)](){var _0x36d69b=_0x261c0a;super[_0x36d69b(0x3e9)](),this[_0x36d69b(0x4eb)]['next'](),this[_0x36d69b(0x4eb)][_0x36d69b(0x306)]();}[_0x261c0a(0x204)](){var _0x3dd52b=_0x261c0a,_0x308ed7,_0x13ced4;this['_throwTelemetryCollaborationNewChangeset'](),(_0x308ed7=this[_0x3dd52b(0x24b)])==null||_0x308ed7[_0x3dd52b(0x273)]({'cmd':W[_0x3dd52b(0x263)],'data':{'roomID':this[_0x3dd52b(0x216)]}}),(_0x13ced4=this[_0x3dd52b(0x24b)])==null||_0x13ced4[_0x3dd52b(0x204)](),this[_0x3dd52b(0x3bc)][_0x3dd52b(0x306)](),this[_0x3dd52b(0x313)]['complete'](),this['dispose']();}[_0x261c0a(0x38c)](_0x53d4b0){var _0x3ce1c9=_0x261c0a;_0x53d4b0[_0x3ce1c9(0x4c8)]===W[_0x3ce1c9(0x3da)]?this[_0x3ce1c9(0x43e)](_0x53d4b0):_0x53d4b0[_0x3ce1c9(0x4c8)]===W['RECV']&&this[_0x3ce1c9(0x431)](_0x53d4b0);}[_0x261c0a(0x4c2)](_0x25891f){var _0x58bf12=_0x261c0a;this['_sessionStatus$'][_0x58bf12(0x23a)](0x1),_0x25891f['send']({'cmd':W[_0x58bf12(0x3da)],'routeKey':this[_0x58bf12(0x216)],'routeType':'','data':{'rooms':[{'roomID':this[_0x58bf12(0x216)]}]}});}['_onJoinRoomEvent'](_0x167e64){var _0x52a7cd=_0x261c0a,_0x51a758;if(_0x167e64[_0x52a7cd(0x50b)]in We){this[_0x52a7cd(0x30c)][_0x52a7cd(0x45f)]({'id':Z[_0x52a7cd(0x45b)],'data':We[_0x167e64[_0x52a7cd(0x50b)]]}),this[_0x52a7cd(0x313)][_0x52a7cd(0x23a)](0x2);return;}this[_0x52a7cd(0x313)]['next'](0x3);const _0x2d4ebe=(_0x51a758=_0x167e64[_0x52a7cd(0x3ac)][_0x52a7cd(0x2af)][this['_unitID']])==null?void 0x0:_0x51a758[_0x52a7cd(0x472)];_0x2d4ebe&&_0x2d4ebe[_0x52a7cd(0x4a5)](_0x179a48=>this['_memberService']['updateMember'](this[_0x52a7cd(0x216)],_0x179a48));}[_0x261c0a(0x431)](_0x1ce4ed){var _0xa58e81=_0x261c0a;try{const _0x2d94a8=_0x1ce4ed[_0xa58e81(0x3ac)];switch(_0x2d94a8[_0xa58e81(0x396)]){case p['CollaborationEvent'][_0xa58e81(0x41c)]:this[_0xa58e81(0x1f2)](_0x2d94a8),this[_0xa58e81(0x3bc)][_0xa58e81(0x23a)](_0x2d94a8);break;case p[_0xa58e81(0x2a4)][_0xa58e81(0x295)]:this[_0xa58e81(0x1b6)](_0x2d94a8),this[_0xa58e81(0x3bc)][_0xa58e81(0x23a)](_0x2d94a8);break;case p['CollaborationEvent'][_0xa58e81(0x289)]:case p[_0xa58e81(0x2a4)]['CHANGESET_SHOULD_RETRY']:this[_0xa58e81(0x325)](),this[_0xa58e81(0x1a0)](),this[_0xa58e81(0x3bc)][_0xa58e81(0x23a)](_0x2d94a8);break;case p[_0xa58e81(0x2a4)][_0xa58e81(0x4b7)]:this[_0xa58e81(0x28f)][_0xa58e81(0x1de)](_0xa58e81(0x277)+JSON['stringify'](_0x2d94a8)),this[_0xa58e81(0x3bc)][_0xa58e81(0x23a)](_0x2d94a8);break;case p[_0xa58e81(0x2a4)][_0xa58e81(0x239)]:this[_0xa58e81(0x4d3)][_0xa58e81(0x2ba)](_0x2d94a8['data']),this[_0xa58e81(0x3bc)][_0xa58e81(0x23a)](_0x2d94a8);break;default:this['_event$'][_0xa58e81(0x23a)](_0x2d94a8);}}catch(_0x1b0dda){this['_logService'][_0xa58e81(0x1de)](_0x1b0dda,_0x1ce4ed);}}[_0x261c0a(0x1f2)](_0x10452e){var _0x44939b=_0x261c0a;this[_0x44939b(0x2b0)][_0x44939b(0x38f)](this['_unitID'],_0x10452e[_0x44939b(0x3ac)]);}[_0x261c0a(0x1b6)](_0xcea67b){var _0x4f14ac=_0x261c0a;this[_0x4f14ac(0x2b0)]['removeMember'](this[_0x4f14ac(0x216)],_0xcea67b[_0x4f14ac(0x3ac)]['memberID']);}async[_0x261c0a(0x273)](_0x789d29,_0x2fcc64){var _0x157984=_0x261c0a;if(this[_0x157984(0x2a9)]!==0x3||!this[_0x157984(0x24b)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x789d29[_0x157984(0x396)]===p['CollaborationEvent'][_0x157984(0x43f)]&&(this[_0x157984(0x398)](),this['_startTelemetryCollaborationNewChangeset'](_0x789d29)),this['_socket'][_0x157984(0x273)]({'cmd':W[_0x157984(0x2d2)],'routeKey':_0x2fcc64,'routeType':'','data':_0x789d29});}catch(_0x283893){this[_0x157984(0x28f)][_0x157984(0x1de)](_0x283893);}}[_0x261c0a(0x398)](){var _0x5a4446=_0x261c0a,_0x1376df;this[_0x5a4446(0x334)]=setTimeout(()=>{var _0x4c0714=_0x5a4446;this[_0x4c0714(0x334)]=null,this[_0x4c0714(0x30c)]['emitEvent']({'id':Z[_0x4c0714(0x2fd)]});},(_0x1376df=this[_0x5a4446(0x496)][_0x5a4446(0x4e2)](ke))!=null?_0x1376df:lt);}[_0x261c0a(0x1a0)](){var _0x4b6621=_0x261c0a;this[_0x4b6621(0x334)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x4b6621(0x334)]=null);}[_0x261c0a(0x333)](_0x42d560){var _0x5b3b85=_0x261c0a;if(!this[_0x5b3b85(0x1ef)])return;const {data:_0x398797}=_0x42d560,{unitID:_0xd553fd,changeset:_0xcbc14d}=_0x398797,{mutations:_0x128306,type:_0x5560b6}=_0xcbc14d;this['_telemetryInfo']={'unitId':_0xd553fd,'type':_0x5560b6,'startTime':performance[_0x5b3b85(0x355)](),'stopTime':0x0,'duration':0x0,'size':Yt(_0x128306)};}[_0x261c0a(0x325)](){var _0xf0c908=_0x261c0a;if(this[_0xf0c908(0x1ef)]){if(!this[_0xf0c908(0x37f)]){this[_0xf0c908(0x28f)][_0xf0c908(0x1de)]('[CollaborationSession]',_0xf0c908(0x300));return;}this[_0xf0c908(0x37f)]['stopTime']=performance[_0xf0c908(0x355)](),this[_0xf0c908(0x37f)]['duration']=this['_telemetryInfo'][_0xf0c908(0x428)]-this['_telemetryInfo'][_0xf0c908(0x207)],this[_0xf0c908(0x1ee)][_0xf0c908(0x440)](Gt,this[_0xf0c908(0x37f)]),this['_telemetryInfo']=null;}}[_0x261c0a(0x3d4)](){var _0x580b9d=_0x261c0a;this[_0x580b9d(0x37f)]=null;}},exports[_0x261c0a(0x47f)]=Xt([se(0x2,a[_0x261c0a(0x319)]),se(0x3,a[_0x261c0a(0x203)]),se(0x4,a['Inject'](a[_0x261c0a(0x217)])),se(0x5,a[_0x261c0a(0x1a7)](exports[_0x261c0a(0x3e3)])),se(0x6,a[_0x261c0a(0x1a7)](je)),se(0x7,a['Inject'](ee)),se(0x8,a['Optional'](Rt[_0x261c0a(0x327)]))],exports['CollaborationSession']);var Zt=Object[_0x261c0a(0x308)],Qt=(_0x3155ed,_0x4de6e6,_0x33f5c3,_0x379d6b)=>{var _0xab032=_0x261c0a;for(var _0x8747b7=_0x379d6b>0x1?void 0x0:_0x379d6b?Zt(_0x4de6e6,_0x33f5c3):_0x4de6e6,_0x25a490=_0x3155ed[_0xab032(0x249)]-0x1,_0x55fa51;_0x25a490>=0x0;_0x25a490--)(_0x55fa51=_0x3155ed[_0x25a490])&&(_0x8747b7=_0x55fa51(_0x8747b7)||_0x8747b7);return _0x8747b7;},he=(_0x25a70b,_0xc4f67b)=>(_0x3d5dec,_0x112225)=>_0xc4f67b(_0x3d5dec,_0x112225,_0x25a70b);exports[_0x261c0a(0x484)]=class extends a[_0x261c0a(0x4af)]{constructor(_0x17cf31,_0x2442d1,_0x319abe,_0x109d2d,_0x4e6ce2,_0x56d60b){var _0xe9106e=_0x261c0a;super(),A(this,'_socket$',new j[(_0xe9106e(0x397))](void 0x0)),A(this,_0xe9106e(0x485),this[_0xe9106e(0x36f)]['asObservable']()),A(this,_0xe9106e(0x26e),null),A(this,'_sessions',new Map()),A(this,_0xe9106e(0x26a),new j[(_0xe9106e(0x397))](re[_0xe9106e(0x2f4)])),A(this,_0xe9106e(0x2d4),this[_0xe9106e(0x26a)][_0xe9106e(0x2a6)]()),A(this,_0xe9106e(0x35e),!0x1),A(this,_0xe9106e(0x31a)),A(this,'_retryCount',0x0),A(this,'_sendHeartbeatTimer'),A(this,_0xe9106e(0x43c)),(this[_0xe9106e(0x473)]=_0x17cf31,this[_0xe9106e(0x28f)]=_0x2442d1,this[_0xe9106e(0x496)]=_0x319abe,this[_0xe9106e(0x3b4)]=_0x109d2d,this[_0xe9106e(0x30c)]=_0x4e6ce2,this[_0xe9106e(0x21e)]=_0x56d60b,this[_0xe9106e(0x4b1)]());}get[_0x261c0a(0x24b)](){var _0x115588=_0x261c0a;return this[_0x115588(0x36f)][_0x115588(0x4fd)]();}[_0x261c0a(0x4b1)](){var _0x12dfff=_0x261c0a;this[_0x12dfff(0x21e)]&&this[_0x12dfff(0x219)](this[_0x12dfff(0x21e)]['online$']['subscribe'](_0x31e4ec=>{var _0x16fad3=_0x12dfff;_0x31e4ec&&!this['_socket']&&this[_0x16fad3(0x40c)](),_0x31e4ec||this[_0x16fad3(0x3a9)]();}));}[_0x261c0a(0x3e9)](){var _0x17a73c=_0x261c0a;super[_0x17a73c(0x3e9)](),this[_0x17a73c(0x3fc)](),this[_0x17a73c(0x2b9)](),this[_0x17a73c(0x351)](),this['_sessions'][_0x17a73c(0x4a5)](_0x452708=>_0x452708[_0x17a73c(0x3e9)]()),this[_0x17a73c(0x3ca)][_0x17a73c(0x3a2)](),this[_0x17a73c(0x26a)]['complete']();}async['requireSession'](_0x345885){var _0x2a59c7=_0x261c0a;if(this[_0x2a59c7(0x3ca)]['has'](_0x345885))return this['_sessions'][_0x2a59c7(0x2f8)](_0x345885);this[_0x2a59c7(0x4b9)]();const _0x1c9022=this[_0x2a59c7(0x473)][_0x2a59c7(0x2e9)](exports[_0x2a59c7(0x47f)],_0x345885,this['_socket$'][_0x2a59c7(0x2a6)]());return this[_0x2a59c7(0x3ca)][_0x2a59c7(0x30f)](_0x345885,_0x1c9022),_0x1c9022;}[_0x261c0a(0x34a)](_0x3a0e8c){var _0x425942=_0x261c0a,_0x36475d;const _0x1064aa=this[_0x425942(0x3ca)]['get'](_0x3a0e8c);_0x1064aa&&(this[_0x425942(0x3ca)][_0x425942(0x4ca)](_0x3a0e8c),_0x1064aa[_0x425942(0x204)]()),this[_0x425942(0x3ca)][_0x425942(0x285)]||(_0x36475d=this[_0x425942(0x24b)])==null||_0x36475d[_0x425942(0x204)]();}[_0x261c0a(0x40c)](){var _0x12a1a7=_0x261c0a;this[_0x12a1a7(0x392)]=0x0,this[_0x12a1a7(0x3fc)](),this[_0x12a1a7(0x3d6)]();}[_0x261c0a(0x3fc)](){var _0x24ac68=_0x261c0a;this[_0x24ac68(0x31a)]!=null&&(clearTimeout(this[_0x24ac68(0x31a)]),this['_retryConnectingTimer']=null);}async[_0x261c0a(0x4fa)](){var _0x121d01=_0x261c0a,_0x3be9d4;const _0x4bc001=this[_0x121d01(0x496)][_0x121d01(0x4e2)](Y),_0x2b382e=(_0x3be9d4=_0x4bc001==null?void 0x0:_0x4bc001[_0x121d01(0x38e)])!=null?_0x3be9d4:ht,_0x53f81a=await this[_0x121d01(0x3b4)][_0x121d01(0x446)](_0x2b382e);return this['_candidateSocket']=_0x53f81a,_0x53f81a;}async[_0x261c0a(0x4b9)](){var _0x57765b=_0x261c0a,_0x18ea54,_0x46f5d9;try{const _0x47be55=(_0x46f5d9=(_0x18ea54=this['_socket'])!=null?_0x18ea54:this['_candidateSocket'])!=null?_0x46f5d9:await this[_0x57765b(0x4fa)]();if(_0x47be55){const _0x4971c1=_0x47be55[_0x57765b(0x273)];_0x47be55[_0x57765b(0x273)]=_0x49fd8c=>(this[_0x57765b(0x2ec)](),_0x4971c1[_0x57765b(0x47e)](_0x47be55,[_0x49fd8c])),_0x47be55['message$'][_0x57765b(0x28d)](_0x5d7718=>this[_0x57765b(0x42e)](_0x47be55,_0x5d7718)),_0x47be55[_0x57765b(0x40f)][_0x57765b(0x450)](V['take'](0x1))[_0x57765b(0x28d)](_0x347d68=>this[_0x57765b(0x28f)][_0x57765b(0x1de)](_0x57765b(0x212),_0x347d68)),_0x47be55['open$'][_0x57765b(0x450)](V[_0x57765b(0x3b9)](0x1))[_0x57765b(0x28d)](()=>{var _0x2c0f05=_0x57765b;this[_0x2c0f05(0x354)](_0x47be55);}),_0x47be55[_0x57765b(0x233)][_0x57765b(0x450)](V[_0x57765b(0x3b9)](0x1))[_0x57765b(0x28d)](_0x9ce49e=>{var _0x44fcfa=_0x57765b;this[_0x44fcfa(0x28f)][_0x44fcfa(0x213)](_0x44fcfa(0x28b),_0x44fcfa(0x332),_0x9ce49e),this[_0x44fcfa(0x2d8)]();});}}catch(_0x9c9900){this[_0x57765b(0x28f)][_0x57765b(0x1de)](_0x9c9900),this[_0x57765b(0x2d8)]();}}[_0x261c0a(0x354)](_0x230f33){var _0x16cc95=_0x261c0a;this[_0x16cc95(0x28f)][_0x16cc95(0x213)](_0x16cc95(0x28b),_0x16cc95(0x337)),_0x230f33[_0x16cc95(0x273)]({'cmd':W['HELLO']}),this[_0x16cc95(0x2ec)]();}[_0x261c0a(0x3a9)](){var _0x159fee=_0x261c0a;this[_0x159fee(0x35e)]=!0x1,this[_0x159fee(0x26e)]=null,this[_0x159fee(0x26a)][_0x159fee(0x23a)](re['OFFLINE']),this[_0x159fee(0x36f)]['next'](null),this[_0x159fee(0x2b9)](),this['_clearHeartbeatTimer']();}[_0x261c0a(0x2d8)](){var _0x3f760e=_0x261c0a,_0x4a2d3d;this[_0x3f760e(0x3a9)](),this['_retryCount']<((_0x4a2d3d=this[_0x3f760e(0x496)][_0x3f760e(0x4e2)](ut))!=null?_0x4a2d3d:Mt)?(this[_0x3f760e(0x30c)][_0x3f760e(0x45f)]({'id':Z[_0x3f760e(0x244)]}),this['_tryReconnect']()):this['_collaborationUIEventService']['emitEvent']({'id':Z[_0x3f760e(0x486)]});}[_0x261c0a(0x3d6)](){var _0x1ca96b=_0x261c0a,_0x482221;const _0x2387c6=this[_0x1ca96b(0x392)],_0x4f94e1=this[_0x1ca96b(0x496)][_0x1ca96b(0x4e2)](Y),_0x5ddd59=_0x2387c6===0x0?0x0:((_0x482221=_0x4f94e1==null?void 0x0:_0x4f94e1[_0x1ca96b(0x1f8)])!=null?_0x482221:wt)*0x2**_0x2387c6;this[_0x1ca96b(0x31a)]=setTimeout(()=>{var _0xae098b=_0x1ca96b;clearTimeout(this[_0xae098b(0x31a)]),this[_0xae098b(0x31a)]=null,this['_tryEnsureSocket']();},_0x5ddd59),this[_0x1ca96b(0x392)]+=0x1;}[_0x261c0a(0x42e)](_0x2816ab,_0x2c0d23){var _0x4c14db=_0x261c0a;const {cmd:_0x3451fe}=_0x2c0d23;_0x3451fe===W[_0x4c14db(0x307)]&&!this['_socketReady']&&(_0x2816ab[_0x4c14db(0x3c6)]=_0x2c0d23[_0x4c14db(0x3ac)][_0x4c14db(0x3c6)],this[_0x4c14db(0x36f)][_0x4c14db(0x23a)](_0x2816ab),this['_status$'][_0x4c14db(0x23a)](re['ONLINE']),this[_0x4c14db(0x35e)]=!0x0,this[_0x4c14db(0x26e)]=null),_0x3451fe===W['HEARTBEAT']&&this[_0x4c14db(0x2b9)](),this[_0x4c14db(0x2ec)]();}[_0x261c0a(0x2ec)](){var _0x54fbbe=_0x261c0a,_0x4c8dbb;this[_0x54fbbe(0x351)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x4c8dbb=this[_0x54fbbe(0x496)][_0x54fbbe(0x4e2)](_t))!=null?_0x4c8dbb:Pt);}[_0x261c0a(0x44a)](){var _0x16e6f8=_0x261c0a;this['_socket'][_0x16e6f8(0x273)]({'cmd':W['HEARTBEAT']}),this[_0x16e6f8(0x46b)]();}[_0x261c0a(0x46b)](){var _0x2e5115=_0x261c0a,_0x1eac2a;this['_timeoutTimer']=setTimeout(()=>this[_0x2e5115(0x2d8)](),(_0x1eac2a=this['_configService'][_0x2e5115(0x4e2)](ke))!=null?_0x1eac2a:lt);}['_clearHeartbeatTimer'](){var _0x301794=_0x261c0a;this[_0x301794(0x3ba)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x301794(0x3ba)]=null);}[_0x261c0a(0x2b9)](){var _0x25b751=_0x261c0a;this[_0x25b751(0x43c)]!=null&&(clearTimeout(this[_0x25b751(0x43c)]),this[_0x25b751(0x43c)]=null);}},exports[_0x261c0a(0x484)]=Qt([he(0x0,a['Inject'](a[_0x261c0a(0x2b1)])),he(0x1,a[_0x261c0a(0x319)]),he(0x2,a[_0x261c0a(0x203)]),he(0x3,$e),he(0x4,a[_0x261c0a(0x1a7)](ee)),he(0x5,a[_0x261c0a(0x493)](St))],exports[_0x261c0a(0x484)]);const K=a[_0x261c0a(0x4c5)]('collaboration-client.local-cache-service');function ei(_0x10c407){var _0x5465e6=_0x261c0a;return _0x5465e6(0x3df)+_0x10c407;}var ti=Object[_0x261c0a(0x308)],ii=(_0x396659,_0x37f7e8,_0x49f3cd,_0x272f4d)=>{var _0x4be6a2=_0x261c0a;for(var _0x29ca59=_0x272f4d>0x1?void 0x0:_0x272f4d?ti(_0x37f7e8,_0x49f3cd):_0x37f7e8,_0x3161b3=_0x396659[_0x4be6a2(0x249)]-0x1,_0x583e65;_0x3161b3>=0x0;_0x3161b3--)(_0x583e65=_0x396659[_0x3161b3])&&(_0x29ca59=_0x583e65(_0x29ca59)||_0x29ca59);return _0x29ca59;},Ue=(_0x43bd02,_0x43e1d6)=>(_0x2babfd,_0x3f3b34)=>_0x43e1d6(_0x2babfd,_0x3f3b34,_0x43bd02);function ni(_0x117666){var _0x146e47=_0x261c0a;const {unitID:_0x37d50a,mutations:_0x1a775c}=_0x117666;return{'unitId':_0x37d50a,'subUnitId':_0x1a775c[0x0][_0x146e47(0x2de)]['subUnitId']};}exports[_0x261c0a(0x414)]=class{constructor(_0x1a2fda,_0x29b40c,_0x153e01){var _0x2c4b1b=_0x261c0a;this[_0x2c4b1b(0x473)]=_0x1a2fda,this['_transformService']=_0x29b40c,this[_0x2c4b1b(0x2f2)]=_0x153e01;}[_0x261c0a(0x27c)](_0x508cb3){var _0x5ccabe=_0x261c0a,_0x85aa43,_0x3e95e4,_0xeb1684,_0x4fe5a1;const _0xfa372d=this[_0x5ccabe(0x473)][_0x5ccabe(0x2f8)](X[_0x5ccabe(0x29e)]),{unitId:_0x1ec179,subUnitId:_0x25cab2}=ni(_0x508cb3),_0x3e9023=_0xfa372d==null?void 0x0:_0xfa372d[_0x5ccabe(0x2e0)](_0x1ec179)[_0x5ccabe(0x3ef)](),_0xc8b3c5=(_0x3e95e4=(_0x85aa43=this[_0x5ccabe(0x2f2)][_0x5ccabe(0x275)](_0x1ec179))==null?void 0x0:_0x85aa43['getActiveSheet']())==null?void 0x0:_0x3e95e4['getSheetId']();if(_0x3e9023[_0x5ccabe(0x249)]===0x0||!_0x1ec179||!_0x25cab2)return;const _0x421fed=[{'id':X[_0x5ccabe(0x352)]['id'],'params':{'unitId':_0x1ec179,'subUnitId':_0xc8b3c5,'selections':a['Tools'][_0x5ccabe(0x287)](_0x3e9023)}}],_0x15b772=this['_transformService'][_0x5ccabe(0x2f7)](_0x508cb3,_0x421fed);if(!p[_0x5ccabe(0x3e2)](_0x15b772))throw _0x15b772['error'];const _0x6a4fa3=(_0x4fe5a1=(_0xeb1684=_0x15b772[_0x5ccabe(0x3c7)][0x0])==null?void 0x0:_0xeb1684[_0x5ccabe(0x2de)])==null?void 0x0:_0x4fe5a1[_0x5ccabe(0x1a5)];if(Array[_0x5ccabe(0x229)](_0x6a4fa3)&&_0x6a4fa3['length']){if(_0x6a4fa3[_0x5ccabe(0x249)]===_0x421fed[0x0][_0x5ccabe(0x2de)]['selections'][_0x5ccabe(0x249)]&&_0x6a4fa3[_0x5ccabe(0x4e6)]((_0x3c7c84,_0x162607)=>a[_0x5ccabe(0x4f2)]['equals'](_0x3c7c84[_0x5ccabe(0x1a1)],_0x421fed[0x0][_0x5ccabe(0x2de)][_0x5ccabe(0x1a5)][_0x162607][_0x5ccabe(0x1a1)])))return;this[_0x5ccabe(0x473)][_0x5ccabe(0x2f8)](a[_0x5ccabe(0x2ff)])[_0x5ccabe(0x3ce)](X[_0x5ccabe(0x352)]['id'],{'unitId':_0x1ec179,'subUnitId':_0xc8b3c5,'selections':_0x6a4fa3});}}},exports['SheetTransformSelectionsService']=ii([Ue(0x0,a[_0x261c0a(0x1a7)](a['Injector'])),Ue(0x1,p[_0x261c0a(0x405)]),Ue(0x2,a[_0x261c0a(0x25f)])],exports[_0x261c0a(0x414)]);const de=a['createIdentifier'](_0x261c0a(0x3c4));var He=(_0x1283a8=>(_0x1283a8[_0x1283a8[_0x261c0a(0x2db)]=0x0]=_0x261c0a(0x2db),_0x1283a8[_0x1283a8[_0x261c0a(0x3d5)]=0x1]=_0x261c0a(0x3d5),_0x1283a8))(He||{});const ri=new Set([X[_0x261c0a(0x2b6)]['id']]);function Ge(_0x39a483,_0x4e3eea,_0x42611c,_0x37037c,_0x520d92){var _0x353880=_0x261c0a,_0x37dfa2,_0x1fad45,_0x3bc88c,_0x334940;const _0x9733c6=[];for(const _0x49fba0 of _0x39a483)if(ri['has'](_0x49fba0['id'])){if(_0x9733c6[_0x353880(0x249)]>0x0)break;_0x9733c6[_0x353880(0x3cb)](_0x49fba0);break;}else _0x9733c6[_0x353880(0x3cb)](_0x49fba0);const _0x55061c=(_0x1fad45=(_0x37dfa2=_0x520d92[_0x353880(0x2aa)]())==null?void 0x0:_0x37dfa2[_0x353880(0x1b2)])!=null?_0x1fad45:_0x353880(0x1d2),_0x3f1bed=(_0x334940=(_0x3bc88c=_0x520d92['getCurrentUser']())==null?void 0x0:_0x3bc88c[_0x353880(0x3c6)])!=null?_0x334940:_0x353880(0x1d2);return{'changeset':{'unitID':_0x4e3eea,'type':p[_0x353880(0x3af)](_0x42611c[_0x353880(0x1c8)](_0x4e3eea)),'baseRev':_0x37037c[_0x353880(0x47b)](_0x4e3eea),'revision':0x0,'userID':_0x55061c,'memberID':_0x3f1bed,'mutations':_0x9733c6},'pendingMutations':_0x39a483[_0x353880(0x4f5)](_0x9733c6['length'])};}function si(_0x273cb4,_0x2f3a4a,_0x33c20a,_0x52b102,_0x4c4d02){var _0x376f6b=_0x261c0a,_0x5c45b0,_0x3d70ab,_0xc7ea5,_0x139548;const _0x1c733e=[_0x273cb4[_0x376f6b(0x2f1)]((_0x178c56,_0x53ed14)=>{var _0x160866=_0x376f6b,_0x37b5b6;const {id:_0x3ef3bc}=_0x178c56,{id:_0xa12185,type:_0x27fdf3}=_0x53ed14,_0x2174c6=(_0x37b5b6=_0x178c56['params'])!=null?_0x37b5b6:{'actions':null},_0xcb9cd7=_0x53ed14[_0x160866(0x2de)];if(_0x3ef3bc&&_0x3ef3bc!==_0xa12185)throw new Error(_0x160866(0x380)+_0x3ef3bc+_0x160866(0x3e5)+_0xa12185+'.');return{..._0x178c56,'id':_0xa12185,'type':_0x27fdf3,'params':{'unitId':_0xcb9cd7[_0x160866(0x240)],'textRanges':_0xcb9cd7[_0x160866(0x37d)],'actions':a[_0x160866(0x35a)][_0x160866(0x387)](_0x2174c6[_0x160866(0x3fa)],_0xcb9cd7[_0x160866(0x3fa)])}};},{})],_0x533399=(_0x3d70ab=(_0x5c45b0=_0x4c4d02[_0x376f6b(0x2aa)]())==null?void 0x0:_0x5c45b0[_0x376f6b(0x1b2)])!=null?_0x3d70ab:_0x376f6b(0x1d2),_0x687dc6=(_0x139548=(_0xc7ea5=_0x4c4d02['getCurrentUser']())==null?void 0x0:_0xc7ea5[_0x376f6b(0x3c6)])!=null?_0x139548:_0x376f6b(0x1d2);return{'changeset':{'unitID':_0x2f3a4a,'type':p[_0x376f6b(0x3af)](_0x33c20a[_0x376f6b(0x1c8)](_0x2f3a4a)),'baseRev':_0x52b102['getCurrentRevOfUnit'](_0x2f3a4a),'revision':0x0,'userID':_0x533399,'memberID':_0x687dc6,'mutations':_0x1c733e},'pendingMutations':[]};}function pt(_0x570ecb,_0x5480be){var _0xf29a72=_0x261c0a;const _0x362db1=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x362db1[_0xf29a72(0x23a)](_0x5480be),_0x570ecb),_0x362db1[_0xf29a72(0x2a6)]()[_0xf29a72(0x450)](j[_0xf29a72(0x3b9)](0x1));}const oi={'id':X[_0x261c0a(0x2ab)]['id'],'type':a[_0x261c0a(0x4d1)][_0x261c0a(0x1c4)],'params':{}};var ai=Object['getOwnPropertyDescriptor'],ae=(_0x2d45c6,_0x520407,_0x508b63,_0xf63bb5)=>{var _0x43f64b=_0x261c0a;for(var _0x5df3f1=_0xf63bb5>0x1?void 0x0:_0xf63bb5?ai(_0x520407,_0x508b63):_0x520407,_0x218e62=_0x2d45c6[_0x43f64b(0x249)]-0x1,_0x17aa6a;_0x218e62>=0x0;_0x218e62--)(_0x17aa6a=_0x2d45c6[_0x218e62])&&(_0x5df3f1=_0x17aa6a(_0x5df3f1)||_0x5df3f1);return _0x5df3f1;},w=(_0x10883c,_0x1f9152)=>(_0x785edd,_0x4fd82f)=>_0x1f9152(_0x785edd,_0x4fd82f,_0x10883c),Be=(_0x5cc124=>(_0x5cc124[_0x261c0a(0x272)]='not_collab',_0x5cc124[_0x261c0a(0x3c3)]=_0x261c0a(0x2a1),_0x5cc124[_0x261c0a(0x31e)]=_0x261c0a(0x30e),_0x5cc124[_0x261c0a(0x443)]=_0x261c0a(0x1d0),_0x5cc124[_0x261c0a(0x2e7)]=_0x261c0a(0x407),_0x5cc124[_0x261c0a(0x41d)]=_0x261c0a(0x252),_0x5cc124[_0x261c0a(0x328)]='conflict',_0x5cc124[_0x261c0a(0x374)]=_0x261c0a(0x47d),_0x5cc124))(Be||{});const mt=0xea60;class ce{constructor(_0x368665,_0x53051e,_0xdd361a,_0x12ec6d,_0x559e8c,_0xfd1159,_0x986951,_0x7bef5a,_0x4e5c48){var _0x514b63=_0x261c0a;A(this,_0x514b63(0x2f5),null),A(this,_0x514b63(0x242),[]),(this[_0x514b63(0x42f)]=_0x368665,this['type']=_0x53051e,this[_0x514b63(0x1d3)]=_0x559e8c,this[_0x514b63(0x378)]=_0xfd1159,this[_0x514b63(0x509)]=_0x986951,this[_0x514b63(0x50a)]=_0x7bef5a,this['_localCacheService']=_0x4e5c48,this[_0x514b63(0x2f5)]=_0xdd361a,this[_0x514b63(0x242)]=_0x12ec6d);}['_checkMissing'](_0x4d686d){var _0x310385=_0x261c0a;const _0x2a2fbe=this[_0x310385(0x50a)]['getCurrentRevOfUnit'](this['unitID']);return _0x4d686d[_0x310385(0x253)]>_0x2a2fbe+0x1?(this['_handler'][_0x310385(0x2e2)]({'from':_0x2a2fbe,'to':_0x4d686d[_0x310385(0x253)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x39e5aa){var _0x2ada65=_0x261c0a;this['_undoRedoService'][_0x2ada65(0x3a5)](this['unitID'],_0x39e5aa);}[_0x261c0a(0x454)](_0xc2f34){var _0x150432=_0x261c0a,_0x384bc2,_0x32dd1b;(_0x32dd1b=(_0x384bc2=this[_0x150432(0x1d3)])[_0x150432(0x471)])==null||_0x32dd1b[_0x150432(0x2ea)](_0x384bc2,_0xc2f34);}[_0x261c0a(0x316)](_0xbdd02a){var _0x20e390=_0x261c0a,_0x24ea5d,_0x39c1a0;return(_0x39c1a0=(_0x24ea5d=this[_0x20e390(0x1d3)])[_0x20e390(0x1fe)])==null?void 0x0:_0x39c1a0[_0x20e390(0x2ea)](_0x24ea5d,_0xbdd02a);}[_0x261c0a(0x2c6)](_0x45a4fb){var _0x5f4a94=_0x261c0a,_0x42aec0,_0x68ccdd;return(_0x68ccdd=(_0x42aec0=this['_handler'])[_0x5f4a94(0x464)])==null?void 0x0:_0x68ccdd['call'](_0x42aec0,_0x45a4fb);}[_0x261c0a(0x417)](_0xd705ed){var _0x13af82=_0x261c0a,_0x1426dc,_0x26194e,_0x2c8925;return(_0x2c8925=(_0x26194e=(_0x1426dc=this[_0x13af82(0x1d3)])[_0x13af82(0x4b5)])==null?void 0x0:_0x26194e[_0x13af82(0x2ea)](_0x1426dc,_0xd705ed))!=null?_0x2c8925:_0xd705ed;}[_0x261c0a(0x200)](_0x42d0c3){var _0x1d158b=_0x261c0a,_0x75fbfe,_0x17b5f8,_0x55f114;return(_0x55f114=(_0x17b5f8=(_0x75fbfe=this[_0x1d158b(0x1d3)])[_0x1d158b(0x45d)])==null?void 0x0:_0x17b5f8['call'](_0x75fbfe,_0x42d0c3))!=null?_0x55f114:_0x42d0c3;}['_syncEditingCollabCursor'](_0x59bfd5){var _0x38c6ba=_0x261c0a,_0x127247,_0xaeee06;if(this[_0x38c6ba(0x361)]===J[_0x38c6ba(0x329)]){const {unitID:_0x3682b8,mutations:_0x5dd7b5,memberID:_0x239450}=_0x59bfd5,_0x10a6cd=_0x5dd7b5[0x0][_0x38c6ba(0x2de)][_0x38c6ba(0x37d)];Array[_0x38c6ba(0x229)](_0x10a6cd)&&_0x10a6cd[_0x38c6ba(0x249)]>0x0&&((_0xaeee06=(_0x127247=this['_handler'])[_0x38c6ba(0x266)])==null||_0xaeee06[_0x38c6ba(0x2ea)](_0x127247,{'unitID':_0x3682b8,'memberID':_0x239450,'textRanges':_0x10a6cd}));}}[_0x261c0a(0x347)](){var _0x5c7856=_0x261c0a,_0xaa2574;(_0xaa2574=this['_localCacheService'])==null||_0xaa2574[_0x5c7856(0x27b)](this[_0x5c7856(0x42f)],this[_0x5c7856(0x361)],this[_0x5c7856(0x2f5)],this[_0x5c7856(0x242)]);}[_0x261c0a(0x254)](){var _0x106c72=_0x261c0a;return this[_0x106c72(0x50a)][_0x106c72(0x47b)](this[_0x106c72(0x42f)]);}[_0x261c0a(0x433)](){var _0x5ee291=_0x261c0a;this[_0x5ee291(0x50a)]['incrementRevOfUnit'](this[_0x5ee291(0x42f)]);}[_0x261c0a(0x310)](_0x1385dd){var _0x41a3f2=_0x261c0a,_0x3662e1;let _0x5426c7=this[_0x41a3f2(0x417)](_0x1385dd);_0x5426c7=this['_transformRemoteChangesetByStateCache'](_0x5426c7);const _0xbd372a=a[_0x41a3f2(0x21c)](_0x5426c7[_0x41a3f2(0x4da)],this[_0x41a3f2(0x378)],{'fromCollab':!0x0});if(!_0xbd372a[_0x41a3f2(0x4d8)])throw _0xbd372a['error']instanceof Error?_0xbd372a[_0x41a3f2(0x1de)]:new Error((_0x3662e1=_0xbd372a[_0x41a3f2(0x1de)])!=null?_0x3662e1:_0x41a3f2(0x388));this[_0x41a3f2(0x316)](_0x5426c7),this['_transformStateCache'](_0x5426c7),this[_0x41a3f2(0x491)](_0x1385dd),this['_transformSelections'](_0x5426c7),this[_0x41a3f2(0x21f)](_0x5426c7),this[_0x41a3f2(0x433)]();}}exports[_0x261c0a(0x3ec)]=class extends ce{constructor(_0x3453fc,_0x113dd2,_0x3c4e73,_0x27e068,_0x1d7004,_0x445fd1,_0x388195,_0x4ecdb0,_0x109f55,_0x41b92f){var _0xed7109=_0x261c0a;super(_0x3453fc,_0x113dd2,null,[],_0x3c4e73,_0x388195,_0x445fd1,_0x27e068,_0x41b92f),A(this,'status',_0xed7109(0x2a1)),(this['_injector']=_0x1d7004,this[_0xed7109(0x28f)]=_0x4ecdb0,this[_0xed7109(0x3ae)]=_0x109f55,this[_0xed7109(0x33b)]=_0x41b92f);}['appendMutation'](_0x19eb77){var _0xa88ce=_0x261c0a;const _0x8209a2=this['_injector'][_0xa88ce(0x2e9)](exports[_0xa88ce(0x2dc)],this[_0xa88ce(0x42f)],this[_0xa88ce(0x361)],[_0x19eb77],this['_handler']);return _0x8209a2['_schedule'](),_0x8209a2[_0xa88ce(0x347)](),_0x8209a2;}[_0x261c0a(0x349)](_0x515bfe){var _0x4feb7f=_0x261c0a;if(this[_0x4feb7f(0x4a9)](_0x515bfe))return this[_0x4feb7f(0x473)][_0x4feb7f(0x2e9)](exports['FetchingMissState'],this['unitID'],this[_0x4feb7f(0x361)],null,[],null,[_0x515bfe],this[_0x4feb7f(0x1d3)]);try{const _0x5acc75=this[_0x4feb7f(0x3ae)][_0x4feb7f(0x2f7)](_0x515bfe,[oi]);if(p[_0x4feb7f(0x3e2)](_0x5acc75)){const {c1Prime:_0x42554d}=_0x5acc75;return this[_0x4feb7f(0x310)](_0x42554d),this;}throw _0x5acc75[_0x4feb7f(0x1de)];}catch(_0x54a471){return this[_0x4feb7f(0x28f)]['error'](_0x54a471),this[_0x4feb7f(0x476)](!0x1);}}[_0x261c0a(0x476)](_0x2e0062){var _0x2f92ba=_0x261c0a;return this['_injector'][_0x2f92ba(0x2e9)](exports[_0x2f92ba(0x45e)],this[_0x2f92ba(0x42f)],this[_0x2f92ba(0x361)],null,[],this['_handler'],_0x2e0062);}[_0x261c0a(0x506)](){var _0x32e08e=_0x261c0a;throw new Error(_0x32e08e(0x4e1));}[_0x261c0a(0x234)](){var _0x29be7b=_0x261c0a;throw new Error(_0x29be7b(0x1b8));}['onRemoteRetry'](){return this;}[_0x261c0a(0x4d4)](){var _0x3a2f5c=_0x261c0a;return this[_0x3a2f5c(0x473)][_0x3a2f5c(0x2e9)](exports[_0x3a2f5c(0x1ba)],this[_0x3a2f5c(0x42f)],this[_0x3a2f5c(0x361)],null,[],this[_0x3a2f5c(0x1d3)]);}['toggleOnline'](){return this;}[_0x261c0a(0x504)](){var _0x2f0591=_0x261c0a;throw new Error(_0x2f0591(0x215));}[_0x261c0a(0x41a)](){var _0x468d9a=_0x261c0a;const _0x2026f6=this[_0x468d9a(0x50a)][_0x468d9a(0x47b)](this[_0x468d9a(0x42f)]);return this[_0x468d9a(0x1d3)]['onMissingChangesets']({'from':_0x2026f6,'to':0x0}),this['_injector']['createInstance'](exports['FetchingMissState'],this[_0x468d9a(0x42f)],this[_0x468d9a(0x361)],null,[],null,[],this[_0x468d9a(0x1d3)]);}},exports['SyncedState']=ae([w(0x3,a[_0x261c0a(0x1a7)](p[_0x261c0a(0x48d)])),w(0x4,a[_0x261c0a(0x1a7)](a[_0x261c0a(0x2b1)])),w(0x5,a[_0x261c0a(0x4b2)]),w(0x6,a[_0x261c0a(0x2ff)]),w(0x7,a[_0x261c0a(0x319)]),w(0x8,p['ITransformService']),w(0x9,a[_0x261c0a(0x493)](K))],exports['SyncedState']),exports[_0x261c0a(0x2dc)]=class extends ce{constructor(_0x106ba2,_0x3df83c,_0x280c7f,_0x163ebd,_0x33e3cc,_0x1f7d9f,_0x1d8b65,_0x47c58e,_0x47a770,_0x4000de,_0xee60ec,_0x16237e,_0x48f000,_0x594ef8){var _0x2b814f=_0x261c0a;super(_0x106ba2,_0x3df83c,null,_0x280c7f,_0x163ebd,_0x47a770,_0x48f000,_0x1f7d9f,_0x594ef8),A(this,'status',_0x2b814f(0x30e)),A(this,'_scheduleCompleteTimestamp',null),A(this,_0x2b814f(0x4ef),null),(this[_0x2b814f(0x473)]=_0x33e3cc,this['_memberService']=_0x1d8b65,this[_0x2b814f(0x28f)]=_0x47c58e,this[_0x2b814f(0x496)]=_0x4000de,this[_0x2b814f(0x3ae)]=_0xee60ec,this[_0x2b814f(0x1c0)]=_0x16237e);}['appendMutation'](_0x35d024){var _0x4bcc61=_0x261c0a;return this[_0x4bcc61(0x242)][_0x4bcc61(0x3cb)](_0x35d024),this[_0x4bcc61(0x347)](),this;}[_0x261c0a(0x349)](_0x46537e){var _0x642a3d=_0x261c0a;if(this[_0x642a3d(0x4a9)](_0x46537e))return this[_0x642a3d(0x42c)](),this['_injector'][_0x642a3d(0x2e9)](exports[_0x642a3d(0x39e)],this[_0x642a3d(0x42f)],this[_0x642a3d(0x361)],null,this[_0x642a3d(0x242)],null,[_0x46537e],this[_0x642a3d(0x1d3)]);try{const _0x251e24=this[_0x642a3d(0x3ae)][_0x642a3d(0x2f7)](_0x46537e,this[_0x642a3d(0x242)]);if(p[_0x642a3d(0x3e2)](_0x251e24)){const {c1Prime:_0x30a988,m2Prime:_0x451dfb}=_0x251e24;this[_0x642a3d(0x310)](_0x30a988);const _0x3dd6a6=this[_0x642a3d(0x473)][_0x642a3d(0x2e9)](exports[_0x642a3d(0x2dc)],this[_0x642a3d(0x42f)],this[_0x642a3d(0x361)],_0x451dfb,this['_handler']);this[_0x642a3d(0x42c)]();const _0x17ef97=new Date()['getTime'](),_0x3aa641=this[_0x642a3d(0x1da)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x17ef97,0x0):this[_0x642a3d(0x1d7)]();return _0x3dd6a6['_schedule'](_0x3aa641),_0x3dd6a6;}throw _0x251e24[_0x642a3d(0x1de)];}catch(_0x404c48){return this[_0x642a3d(0x28f)][_0x642a3d(0x1de)](_0x404c48),this[_0x642a3d(0x476)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x261c0a(0x234)](){var _0x345383=_0x261c0a;throw new Error(_0x345383(0x49c));}['onRemoteRetry'](){return this;}[_0x261c0a(0x4d4)](){var _0x16d41c=_0x261c0a;return this['_clearScheduledTask'](),this[_0x16d41c(0x473)][_0x16d41c(0x2e9)](exports[_0x16d41c(0x1ba)],this[_0x16d41c(0x42f)],this[_0x16d41c(0x361)],null,this['_pendingMutations'],this[_0x16d41c(0x1d3)]);}[_0x261c0a(0x43b)](){return this;}[_0x261c0a(0x467)](_0x411f05){var _0x9020e0=_0x261c0a;const _0xb5d853=_0x411f05!=null?_0x411f05:this['_getSendChangesetTimeout']();this[_0x9020e0(0x1da)]=new Date()[_0x9020e0(0x2cc)]()+_0xb5d853,this[_0x9020e0(0x4ef)]=setTimeout(()=>{var _0x1b7b7b=_0x9020e0;this[_0x1b7b7b(0x42c)]();let _0x145fa1=null;switch(this[_0x1b7b7b(0x361)]){case J['UNIVER_SHEET']:{_0x145fa1=Ge(this[_0x1b7b7b(0x242)],this[_0x1b7b7b(0x42f)],this[_0x1b7b7b(0x1c0)],this[_0x1b7b7b(0x50a)],this['_memberService']);break;}case J[_0x1b7b7b(0x329)]:{this['_pendingMutations'][_0x1b7b7b(0x4e6)](_0x34dbb8=>_0x34dbb8['id']===ct['RichTextEditingMutation']['id'])?_0x145fa1=si(this['_pendingMutations'],this[_0x1b7b7b(0x42f)],this[_0x1b7b7b(0x1c0)],this[_0x1b7b7b(0x50a)],this[_0x1b7b7b(0x2b0)]):_0x145fa1=Ge(this[_0x1b7b7b(0x242)],this[_0x1b7b7b(0x42f)],this[_0x1b7b7b(0x1c0)],this['_revisionService'],this[_0x1b7b7b(0x2b0)]);break;}default:throw new Error(_0x1b7b7b(0x425)+this[_0x1b7b7b(0x361)]+_0x1b7b7b(0x406));}const {changeset:_0x247189,pendingMutations:_0x491044}=_0x145fa1;this[_0x1b7b7b(0x1d3)][_0x1b7b7b(0x202)](_0x247189);const _0x17daff=_0x491044['length']?this[_0x1b7b7b(0x473)][_0x1b7b7b(0x2e9)](exports['AwaitingWithPendingState'],this[_0x1b7b7b(0x42f)],this[_0x1b7b7b(0x361)],_0x247189,_0x491044,this['_handler'],void 0x0):this[_0x1b7b7b(0x473)][_0x1b7b7b(0x2e9)](exports['AwaitingState'],this[_0x1b7b7b(0x42f)],this['type'],_0x247189,this[_0x1b7b7b(0x1d3)]);_0x17daff['_updateLocalCache'](),this[_0x1b7b7b(0x1d3)][_0x1b7b7b(0x383)](this,_0x17daff);},_0xb5d853);}[_0x261c0a(0x1d7)](){var _0x1cdcc8=_0x261c0a,_0x356763;const _0x5e06af=this[_0x1cdcc8(0x496)][_0x1cdcc8(0x4e2)](Y);return(_0x356763=_0x5e06af==null?void 0x0:_0x5e06af['sendChangesetTimeout'])!=null?_0x356763:Ut;}['resend'](){var _0x57e915=_0x261c0a;throw new Error(_0x57e915(0x372));}['_clearScheduledTask'](){var _0x1b9a12=_0x261c0a;this[_0x1b9a12(0x4ef)]!=null&&(clearTimeout(this[_0x1b9a12(0x4ef)]),this[_0x1b9a12(0x4ef)]=null);}['_onConflict'](_0x130893){var _0x26c1ba=_0x261c0a;return this['_clearScheduledTask'](),this[_0x26c1ba(0x473)]['createInstance'](exports[_0x26c1ba(0x45e)],this[_0x26c1ba(0x42f)],this[_0x26c1ba(0x361)],null,this[_0x26c1ba(0x242)],this[_0x26c1ba(0x1d3)],_0x130893);}},exports[_0x261c0a(0x2dc)]=ae([w(0x4,a[_0x261c0a(0x1a7)](a[_0x261c0a(0x2b1)])),w(0x5,a[_0x261c0a(0x1a7)](p[_0x261c0a(0x48d)])),w(0x6,a[_0x261c0a(0x1a7)](exports[_0x261c0a(0x3e3)])),w(0x7,a[_0x261c0a(0x319)]),w(0x8,a[_0x261c0a(0x2ff)]),w(0x9,a[_0x261c0a(0x203)]),w(0xa,p['ITransformService']),w(0xb,a[_0x261c0a(0x25f)]),w(0xc,a[_0x261c0a(0x4b2)]),w(0xd,a[_0x261c0a(0x493)](K))],exports[_0x261c0a(0x2dc)]),exports[_0x261c0a(0x4f1)]=class extends ce{constructor(_0x1a01e9,_0x7f5faa,_0x37bb68,_0x1f2491,_0x24c04d,_0x595b70,_0x1cc5ec,_0x22ca43,_0x14dc70,_0x29ac16,_0x3a7886){var _0x420000=_0x261c0a;super(_0x1a01e9,_0x7f5faa,_0x37bb68,[],_0x1f2491,_0x1cc5ec,_0x29ac16,_0x595b70,_0x3a7886),A(this,_0x420000(0x4ff),_0x420000(0x1d0)),A(this,_0x420000(0x281),0x0),A(this,_0x420000(0x1b5)),A(this,_0x420000(0x46c)),(this[_0x420000(0x473)]=_0x24c04d,this[_0x420000(0x28f)]=_0x22ca43,this[_0x420000(0x3ae)]=_0x14dc70);}[_0x261c0a(0x457)](_0xb0ccc6){var _0x142ef3=_0x261c0a;this['_clearScheduledTask']();const _0x57d046=this[_0x142ef3(0x473)]['createInstance'](exports[_0x142ef3(0x36e)],this[_0x142ef3(0x42f)],this['type'],this[_0x142ef3(0x2f5)],[_0xb0ccc6],this[_0x142ef3(0x1d3)],this[_0x142ef3(0x1b5)]);return _0x57d046['_updateLocalCache'](),_0x57d046;}[_0x261c0a(0x349)](_0x31d3c9){var _0x336c48=_0x261c0a;if(this[_0x336c48(0x4a9)](_0x31d3c9))return this[_0x336c48(0x42c)](),this[_0x336c48(0x473)][_0x336c48(0x2e9)](exports[_0x336c48(0x39e)],this['unitID'],this[_0x336c48(0x361)],this[_0x336c48(0x2f5)],[],null,[_0x31d3c9],this['_handler']);try{const _0x2cc2c3=this[_0x336c48(0x3ae)][_0x336c48(0x222)]([_0x31d3c9],[this['_awaitingChangeset']],!0x1);if(p[_0x336c48(0x409)](_0x2cc2c3)){const {c1Prime:_0x9bdee7,c2Prime:_0x6b980e}=_0x2cc2c3;this[_0x336c48(0x310)](_0x9bdee7[0x0]),_0x6b980e[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x336c48(0x42c)]();const _0x28a993=this['_injector'][_0x336c48(0x2e9)](exports[_0x336c48(0x4f1)],this[_0x336c48(0x42f)],this[_0x336c48(0x361)],_0x6b980e[0x0],this[_0x336c48(0x1d3)]);return _0x28a993['_updateLocalCache'](),_0x28a993;}return this[_0x336c48(0x476)](!0x1);}catch(_0x4b03fa){return this[_0x336c48(0x28f)][_0x336c48(0x1de)](_0x4b03fa),this[_0x336c48(0x476)](!0x1);}}[_0x261c0a(0x506)](_0x2a846d){var _0x52abe9=_0x261c0a;this[_0x52abe9(0x42c)]();const _0x297ca3=this['_revisionService']['getCurrentRevOfUnit'](this[_0x52abe9(0x42f)]);if(_0x2a846d[_0x52abe9(0x253)]<_0x297ca3-0x1)return this;if(this[_0x52abe9(0x4a9)](_0x2a846d))return this['_injector'][_0x52abe9(0x2e9)](exports[_0x52abe9(0x39e)],this['unitID'],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x52abe9(0x1d3)]);this[_0x52abe9(0x433)]();const _0x1918a4=this[_0x52abe9(0x473)]['createInstance'](exports['SyncedState'],this['unitID'],this[_0x52abe9(0x361)],this[_0x52abe9(0x1d3)]);return _0x1918a4['_updateLocalCache'](),_0x1918a4;}['onRemoteRej'](_0x353cbe){var _0x4b18e4=_0x261c0a;return this[_0x4b18e4(0x476)](!!(_0x353cbe!=null&&_0x353cbe['isPermissionRej']));}[_0x261c0a(0x19f)](_0x38469c){var _0x21794a=_0x261c0a;return this['_resendTimeout']>mt?this[_0x21794a(0x4d4)]():(this[_0x21794a(0x1b5)]=pt(this[_0x21794a(0x281)],{'timeout':this[_0x21794a(0x281)],'reqId':_0x38469c[_0x21794a(0x2c4)]}),this[_0x21794a(0x46c)]=this[_0x21794a(0x1b5)]['subscribe'](({reqId:_0x303d2e,timeout:_0x22925e})=>{this['_resendWithTimeout'](_0x303d2e,_0x22925e);}),this);}[_0x261c0a(0x4d4)](){var _0x2b897e=_0x261c0a;return this[_0x2b897e(0x42c)](),this[_0x2b897e(0x473)][_0x2b897e(0x2e9)](exports['OfflineState'],this[_0x2b897e(0x42f)],this['type'],this[_0x2b897e(0x2f5)],[],this[_0x2b897e(0x1d3)]);}[_0x261c0a(0x43b)](){return this;}['resend'](){var _0x537551=_0x261c0a;this[_0x537551(0x1d3)][_0x537551(0x202)](this[_0x537551(0x2f5)]);}[_0x261c0a(0x476)](_0x3cf60a){var _0x1f23d5=_0x261c0a;return this[_0x1f23d5(0x42c)](),this[_0x1f23d5(0x473)][_0x1f23d5(0x2e9)](exports[_0x1f23d5(0x45e)],this[_0x1f23d5(0x42f)],this[_0x1f23d5(0x361)],this[_0x1f23d5(0x2f5)],[],this['_handler'],_0x3cf60a);}[_0x261c0a(0x19e)](_0x1aaa48,_0x56f23e){var _0x5f0216=_0x261c0a,_0x2d4ce0;_0x1aaa48===((_0x2d4ce0=this[_0x5f0216(0x2f5)])==null?void 0x0:_0x2d4ce0[_0x5f0216(0x2c4)])&&(this['resend'](),this['_resendTimeout']=_0x56f23e===0x0?0x3e8:_0x56f23e*0x2);}[_0x261c0a(0x42c)](){var _0x4e5cd4=_0x261c0a,_0x5e554b;(_0x5e554b=this[_0x4e5cd4(0x46c)])==null||_0x5e554b['unsubscribe'](),this[_0x4e5cd4(0x281)]=0x0;}},exports['AwaitingState']=ae([w(0x4,a['Inject'](a[_0x261c0a(0x2b1)])),w(0x5,a['Inject'](p[_0x261c0a(0x48d)])),w(0x6,a['ICommandService']),w(0x7,a['ILogService']),w(0x8,p[_0x261c0a(0x405)]),w(0x9,a[_0x261c0a(0x4b2)]),w(0xa,a[_0x261c0a(0x493)](K))],exports[_0x261c0a(0x4f1)]),exports[_0x261c0a(0x36e)]=class extends ce{constructor(_0xb100f6,_0x517db1,_0x281f9c,_0x62241,_0x3ca712,_0x467a68,_0x187505,_0x5946cd,_0x474559,_0x1a3ace,_0x2eb690,_0x2222d2,_0x3f25f2){var _0x5823a7=_0x261c0a;super(_0xb100f6,_0x517db1,_0x281f9c,_0x62241,_0x3ca712,_0x474559,_0x2222d2,_0x5946cd,_0x3f25f2),A(this,_0x5823a7(0x4ff),_0x5823a7(0x407)),A(this,_0x5823a7(0x281),0x0),A(this,'_resendTimer'),A(this,'_sender'),(this['_injector']=_0x187505,this[_0x5823a7(0x28f)]=_0x1a3ace,this[_0x5823a7(0x3ae)]=_0x2eb690,this[_0x5823a7(0x33b)]=_0x3f25f2,_0x467a68&&(this[_0x5823a7(0x1b5)]=_0x467a68,this[_0x5823a7(0x46c)]=this['_resendTimer'][_0x5823a7(0x28d)](({reqId:_0xabf820,timeout:_0x57bf44})=>{var _0x2db173=_0x5823a7;this[_0x2db173(0x19e)](_0xabf820,_0x57bf44);})));}[_0x261c0a(0x457)](_0x3e2681){var _0x1a6c97=_0x261c0a;return this['_pendingMutations'][_0x1a6c97(0x3cb)](_0x3e2681),this;}[_0x261c0a(0x349)](_0x47cd15){var _0xef32bc=_0x261c0a;if(this[_0xef32bc(0x4a9)](_0x47cd15))return this['_clearScheduledTask'](),this[_0xef32bc(0x473)]['createInstance'](exports[_0xef32bc(0x39e)],this[_0xef32bc(0x42f)],this[_0xef32bc(0x361)],this[_0xef32bc(0x2f5)],this['_pendingMutations'],null,[_0x47cd15],this['_handler']);try{const _0x1b0b43=this[_0xef32bc(0x3ae)][_0xef32bc(0x222)]([_0x47cd15],[this[_0xef32bc(0x2f5)]],!0x1);if(p[_0xef32bc(0x409)](_0x1b0b43)){const {c1Prime:_0x34b97e,c2Prime:_0x5bd268}=_0x1b0b43,_0x4329a7=this[_0xef32bc(0x3ae)][_0xef32bc(0x2f7)](_0x34b97e[0x0],this[_0xef32bc(0x242)]);if(p[_0xef32bc(0x3e2)](_0x4329a7)){const {c1Prime:_0x834bb7,m2Prime:_0x3eb690}=_0x4329a7;return this['_executeRemoteChangeset'](_0x834bb7),_0x5bd268[0x0][_0xef32bc(0x22b)]=this[_0xef32bc(0x254)](),this[_0xef32bc(0x42c)](),this[_0xef32bc(0x473)][_0xef32bc(0x2e9)](exports[_0xef32bc(0x36e)],this[_0xef32bc(0x42f)],this['type'],_0x5bd268[0x0],_0x3eb690,this[_0xef32bc(0x1d3)],void 0x0);}throw _0x4329a7[_0xef32bc(0x1de)];}throw _0x1b0b43[_0xef32bc(0x1de)];}catch(_0x29a523){return this[_0xef32bc(0x28f)][_0xef32bc(0x1de)](_0x29a523),this[_0xef32bc(0x476)](!0x1);}}[_0x261c0a(0x506)](_0x2e9243){var _0x42f9b7=_0x261c0a;if(this[_0x42f9b7(0x42c)](),this[_0x42f9b7(0x4a9)](_0x2e9243))return this[_0x42f9b7(0x473)][_0x42f9b7(0x2e9)](exports['FetchingMissState'],this[_0x42f9b7(0x42f)],this['type'],null,this['_pendingMutations'],this[_0x42f9b7(0x2f5)],[],this[_0x42f9b7(0x1d3)]);this[_0x42f9b7(0x433)]();const _0x476d5c=this[_0x42f9b7(0x473)]['createInstance'](exports[_0x42f9b7(0x2dc)],this[_0x42f9b7(0x42f)],this['type'],this[_0x42f9b7(0x242)],this[_0x42f9b7(0x1d3)]);return _0x476d5c['_schedule'](),_0x476d5c['_updateLocalCache'](),_0x476d5c;}[_0x261c0a(0x234)](_0x4c5dbc){var _0xc89a0=_0x261c0a;return this[_0xc89a0(0x476)](!!(_0x4c5dbc!=null&&_0x4c5dbc[_0xc89a0(0x225)]));}[_0x261c0a(0x19f)](_0x4eeb97){var _0x21ffdf=_0x261c0a;return this['_resendTimeout']>mt?this['toggleOffline']():(this['_resendTimer']=pt(this[_0x21ffdf(0x281)],{'timeout':this[_0x21ffdf(0x281)],'reqId':_0x4eeb97[_0x21ffdf(0x2c4)]}),this[_0x21ffdf(0x46c)]=this[_0x21ffdf(0x1b5)][_0x21ffdf(0x28d)](({reqId:_0x4edfda,timeout:_0x41ac9d})=>{var _0x26f5c7=_0x21ffdf;this[_0x26f5c7(0x19e)](_0x4edfda,_0x41ac9d);}),this);}['toggleOffline'](){var _0x15d367=_0x261c0a;return this['_clearScheduledTask'](),this['_injector'][_0x15d367(0x2e9)](exports[_0x15d367(0x1ba)],this[_0x15d367(0x42f)],this['type'],this[_0x15d367(0x2f5)],this[_0x15d367(0x242)],this[_0x15d367(0x1d3)]);}[_0x261c0a(0x43b)](){return this;}[_0x261c0a(0x504)](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x44057c){var _0x4b004a=_0x261c0a;return this[_0x4b004a(0x42c)](),this[_0x4b004a(0x473)][_0x4b004a(0x2e9)](exports[_0x4b004a(0x45e)],this[_0x4b004a(0x42f)],this[_0x4b004a(0x361)],null,this[_0x4b004a(0x242)],this[_0x4b004a(0x1d3)],_0x44057c);}[_0x261c0a(0x19e)](_0x21d7de,_0x37ebfc){var _0x3932e1=_0x261c0a,_0x427bea;_0x21d7de===((_0x427bea=this[_0x3932e1(0x2f5)])==null?void 0x0:_0x427bea[_0x3932e1(0x2c4)])&&(this[_0x3932e1(0x504)](),this[_0x3932e1(0x281)]=_0x37ebfc===0x0?0x3e8:_0x37ebfc*0x2);}[_0x261c0a(0x42c)](){var _0x4e57bc=_0x261c0a,_0x2f70d6;(_0x2f70d6=this['_sender'])==null||_0x2f70d6[_0x4e57bc(0x377)](),this[_0x4e57bc(0x281)]=0x0;}},exports[_0x261c0a(0x36e)]=ae([w(0x6,a['Inject'](a[_0x261c0a(0x2b1)])),w(0x7,a[_0x261c0a(0x1a7)](p[_0x261c0a(0x48d)])),w(0x8,a[_0x261c0a(0x2ff)]),w(0x9,a[_0x261c0a(0x319)]),w(0xa,p[_0x261c0a(0x405)]),w(0xb,a[_0x261c0a(0x4b2)]),w(0xc,a[_0x261c0a(0x493)](K))],exports['AwaitingWithPendingState']),exports[_0x261c0a(0x45e)]=class extends ce{constructor(_0x50a030,_0x4cd982,_0x2de3fc,_0x6a251c,_0x5e0ec6,_0x5e31ee=!0x1,_0x348df5,_0x146c37,_0x364fb4,_0xd3b871,_0x1ff606,_0x569007,_0x405109){var _0xebd849=_0x261c0a;super(_0x50a030,_0x4cd982,_0x2de3fc,_0x6a251c,_0x5e0ec6,_0x146c37,_0x364fb4,_0xd3b871,_0x405109),A(this,'status',_0xebd849(0x2d1)),(this[_0xebd849(0x331)]=_0x5e31ee,this[_0xebd849(0x49b)]=_0x348df5,this['_localeService']=_0x1ff606,this[_0xebd849(0x30c)]=_0x569007,this[_0xebd849(0x33b)]=_0x405109,this[_0xebd849(0x291)](),this[_0xebd849(0x24e)](),this[_0xebd849(0x1e3)]());}[_0x261c0a(0x457)](){return this;}['onRemoteChangeset'](){return this;}[_0x261c0a(0x506)](){return this;}[_0x261c0a(0x234)](){return this;}[_0x261c0a(0x19f)](){return this;}[_0x261c0a(0x4d4)](){return this;}['toggleOnline'](){return this;}[_0x261c0a(0x504)](){var _0x1accb7=_0x261c0a;throw new Error(_0x1accb7(0x28e));}[_0x261c0a(0x24e)](){var _0x4440ea=_0x261c0a,_0x3091ff;(_0x3091ff=this[_0x4440ea(0x2c7)])==null||_0x3091ff[_0x4440ea(0x27b)](this['unitID'],this[_0x4440ea(0x361)],null,[]);}['_showConflictNotification'](){var _0x1da5b5=_0x261c0a;this[_0x1da5b5(0x331)]?this['_collaborationUIEventService'][_0x1da5b5(0x45f)]({'id':Z['PERMISSION_DENIED']}):this[_0x1da5b5(0x30c)]['emitEvent']({'id':Z[_0x1da5b5(0x328)]});}['_disableEditing'](){var _0x2e3290=_0x261c0a;this[_0x2e3290(0x49b)][_0x2e3290(0x449)](new X['WorkbookEditablePermission'](this[_0x2e3290(0x42f)])['id'],!0x1);}},exports[_0x261c0a(0x45e)]=ae([w(0x6,a[_0x261c0a(0x1a7)](a['IPermissionService'])),w(0x7,a[_0x261c0a(0x2ff)]),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x261c0a(0x1a7)](p[_0x261c0a(0x48d)])),w(0xa,a[_0x261c0a(0x1a7)](a[_0x261c0a(0x217)])),w(0xb,a[_0x261c0a(0x1a7)](ee)),w(0xc,a[_0x261c0a(0x493)](K))],exports[_0x261c0a(0x45e)]),exports[_0x261c0a(0x1ba)]=class extends ce{constructor(_0x5738fe,_0x4da0fa,_0x5b83a8,_0x44726f,_0x42c0c8,_0x547b78,_0x1afb15,_0x45e376,_0x1494a2,_0x591dab){var _0x180a92=_0x261c0a;super(_0x5738fe,_0x4da0fa,_0x5b83a8,_0x44726f,_0x42c0c8,_0x45e376,_0x1494a2,_0x1afb15,_0x591dab),A(this,'status',_0x180a92(0x47d)),this['_injector']=_0x547b78;}[_0x261c0a(0x457)](_0x3536d0){var _0xfdde27=_0x261c0a;return this[_0xfdde27(0x242)]['push'](_0x3536d0),this[_0xfdde27(0x347)](),this;}[_0x261c0a(0x349)](_0x2ee6a9){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x35b941=_0x261c0a;throw new Error(_0x35b941(0x1ca));}[_0x261c0a(0x234)](){var _0x489a77=_0x261c0a;throw new Error(_0x489a77(0x2ee));}[_0x261c0a(0x19f)](){return this;}[_0x261c0a(0x4d4)](){return this;}[_0x261c0a(0x43b)](){var _0x55b1b1=_0x261c0a;const {_injector:_0x7ad253,_pendingMutations:_0x39c1bb,_awaitingChangeset:_0x50e8c4,unitID:_0xaccd1,_handler:_0x2959ed,type:_0x1e5560}=this,_0x504e12=gt(_0x7ad253,_0xaccd1,_0x1e5560,_0x50e8c4,_0x39c1bb,_0x2959ed);return _0x504e12 instanceof exports[_0x55b1b1(0x2dc)]?_0x504e12[_0x55b1b1(0x467)]():(_0x504e12 instanceof exports[_0x55b1b1(0x36e)]||_0x504e12 instanceof exports['AwaitingState'])&&_0x504e12[_0x55b1b1(0x504)](),_0x504e12;}['resend'](){var _0x41de03=_0x261c0a;throw new Error(_0x41de03(0x24c));}},exports[_0x261c0a(0x1ba)]=ae([w(0x5,a[_0x261c0a(0x1a7)](a[_0x261c0a(0x2b1)])),w(0x6,a[_0x261c0a(0x1a7)](p['RevisionService'])),w(0x7,a['ICommandService']),w(0x8,a[_0x261c0a(0x4b2)]),w(0x9,a['Optional'](K))],exports[_0x261c0a(0x1ba)]),exports[_0x261c0a(0x39e)]=class extends ce{constructor(_0x41d4b8,_0x4596f4,_0x47ef93,_0x1a74d5,_0x387f55,_0x366f89,_0x3c632b,_0x891d30,_0x6f09cb,_0x21a12e,_0x487973,_0x31eb1a,_0x11f67a,_0x50bdbf){var _0x4dfa63=_0x261c0a;super(_0x41d4b8,_0x4596f4,_0x47ef93,_0x1a74d5,_0x3c632b,_0x487973,_0x31eb1a,_0x6f09cb,_0x50bdbf),A(this,_0x4dfa63(0x4ff),_0x4dfa63(0x252)),(this[_0x4dfa63(0x2ae)]=_0x387f55,this[_0x4dfa63(0x1ec)]=_0x366f89,this[_0x4dfa63(0x473)]=_0x891d30,this[_0x4dfa63(0x28f)]=_0x21a12e,this[_0x4dfa63(0x3ae)]=_0x11f67a,this[_0x4dfa63(0x33b)]=_0x50bdbf);}[_0x261c0a(0x211)](_0x3cfc5b){var _0x1e145a=_0x261c0a;try{const _0x287270=[..._0x3cfc5b,...this['_queuedRemoteChangesets']],_0x4d1583=[this[_0x1e145a(0x2f5)]||this[_0x1e145a(0x2ae)]]['filter'](_0x34b5e1=>!!_0x34b5e1);let _0x18e2d4,_0x5a6f34;if(_0x4d1583[_0x1e145a(0x249)]){const _0x3673c0=this[_0x1e145a(0x3ae)][_0x1e145a(0x222)](_0x287270,_0x4d1583,!0x1);if(!p[_0x1e145a(0x409)](_0x3673c0))throw _0x3673c0[_0x1e145a(0x1de)];_0x18e2d4=_0x3673c0['c1Prime'],_0x5a6f34=_0x3673c0[_0x1e145a(0x432)];}else _0x18e2d4=_0x287270,_0x5a6f34=[];let _0x26d7af=this['_pendingMutations'];_0x18e2d4[_0x1e145a(0x4a5)](_0x3ea2f6=>{var _0x304840=_0x1e145a;let _0xe3ce2b;if(_0x26d7af[_0x304840(0x249)]){const _0x3298df=this['_transformService'][_0x304840(0x2f7)](_0x3ea2f6,_0x26d7af);if(!p[_0x304840(0x3e2)](_0x3298df))throw _0x3298df[_0x304840(0x1de)];_0xe3ce2b=_0x3298df[_0x304840(0x4bd)],_0x26d7af=_0x3298df[_0x304840(0x3c7)];}else _0xe3ce2b=_0x3ea2f6;this[_0x304840(0x310)](_0xe3ce2b);}),this[_0x1e145a(0x2ae)]&&this[_0x1e145a(0x433)](),this['_awaitingChangeset']&&_0x5a6f34['length']&&(_0x5a6f34[0x0]['baseRev']=this['_getCurrentRevision']());let _0x26e879;if(this['_awaitingChangeset']&&_0x26d7af[_0x1e145a(0x249)]!==0x0)_0x26e879=this[_0x1e145a(0x473)][_0x1e145a(0x2e9)](exports[_0x1e145a(0x36e)],this[_0x1e145a(0x42f)],this[_0x1e145a(0x361)],_0x5a6f34[0x0],_0x26d7af,this[_0x1e145a(0x1d3)],void 0x0);else{if(this[_0x1e145a(0x2f5)]&&_0x26d7af[_0x1e145a(0x249)]===0x0)_0x5a6f34[0x0]['baseRev']=this[_0x1e145a(0x254)](),_0x26e879=this['_injector'][_0x1e145a(0x2e9)](exports[_0x1e145a(0x4f1)],this[_0x1e145a(0x42f)],this[_0x1e145a(0x361)],_0x5a6f34[0x0],this[_0x1e145a(0x1d3)]);else{if(_0x26d7af[_0x1e145a(0x249)]!==0x0){const _0xc8a2d0=this['_injector'][_0x1e145a(0x2e9)](exports[_0x1e145a(0x2dc)],this[_0x1e145a(0x42f)],this['type'],_0x26d7af,this[_0x1e145a(0x1d3)]);_0xc8a2d0[_0x1e145a(0x467)](),_0x26e879=_0xc8a2d0;}else _0x26e879=this[_0x1e145a(0x473)][_0x1e145a(0x2e9)](exports[_0x1e145a(0x3ec)],this[_0x1e145a(0x42f)],this[_0x1e145a(0x361)],this[_0x1e145a(0x1d3)]);}}return _0x26e879[_0x1e145a(0x347)](),_0x26e879;}catch(_0x4d287e){return this[_0x1e145a(0x28f)][_0x1e145a(0x1de)](_0x1e145a(0x3e1),_0x1e145a(0x296),_0x4d287e),this['_injector'][_0x1e145a(0x2e9)](exports[_0x1e145a(0x45e)],this[_0x1e145a(0x42f)],this['type'],this[_0x1e145a(0x2f5)],this[_0x1e145a(0x242)],this[_0x1e145a(0x1d3)],!0x1);}}[_0x261c0a(0x504)](){var _0xb0e4ca=_0x261c0a;throw new Error(_0xb0e4ca(0x257));}[_0x261c0a(0x457)](_0x2039ed){var _0xbe957f=_0x261c0a;return this[_0xbe957f(0x242)][_0xbe957f(0x3cb)](_0x2039ed),this;}[_0x261c0a(0x349)](_0x1b7a57){var _0xe4a5f2=_0x261c0a;return this[_0xe4a5f2(0x1ec)][_0xe4a5f2(0x3cb)](_0x1b7a57),this;}['onRemoteAck'](_0x4c36fd){var _0x3d0cb6=_0x261c0a;if(this[_0x3d0cb6(0x2f5)])return this[_0x3d0cb6(0x2ae)]=this[_0x3d0cb6(0x2f5)],this[_0x3d0cb6(0x2f5)]=null,this;throw new Error(_0x3d0cb6(0x458));}[_0x261c0a(0x234)](_0x87cc72){var _0x36ef81=_0x261c0a;return this['_onConflict'](!!(_0x87cc72!=null&&_0x87cc72[_0x36ef81(0x225)]));}[_0x261c0a(0x19f)](){return this;}[_0x261c0a(0x4d4)](){var _0x25910d=_0x261c0a;return this[_0x25910d(0x473)][_0x25910d(0x2e9)](exports['OfflineState'],this[_0x25910d(0x42f)],this[_0x25910d(0x361)],this[_0x25910d(0x2f5)],this[_0x25910d(0x242)],this[_0x25910d(0x1d3)]);}[_0x261c0a(0x43b)](){return this;}['_onConflict'](_0x2284d9){var _0x2fd5fc=_0x261c0a;return this[_0x2fd5fc(0x473)][_0x2fd5fc(0x2e9)](exports[_0x2fd5fc(0x45e)],this[_0x2fd5fc(0x42f)],this[_0x2fd5fc(0x361)],this[_0x2fd5fc(0x2f5)],this[_0x2fd5fc(0x242)],this[_0x2fd5fc(0x1d3)],_0x2284d9);}},exports[_0x261c0a(0x39e)]=ae([w(0x7,a[_0x261c0a(0x1a7)](a[_0x261c0a(0x2b1)])),w(0x8,a[_0x261c0a(0x1a7)](p['RevisionService'])),w(0x9,a[_0x261c0a(0x319)]),w(0xa,a[_0x261c0a(0x2ff)]),w(0xb,a['IUndoRedoService']),w(0xc,p[_0x261c0a(0x405)]),w(0xd,a[_0x261c0a(0x493)](K))],exports[_0x261c0a(0x39e)]);function gt(_0xd4a798,_0x2ff407,_0x48dcff,_0x107513,_0x25c538,_0x4773e7){var _0x4817e0=_0x261c0a;return _0x107513&&_0x25c538['length']?_0xd4a798[_0x4817e0(0x2e9)](exports[_0x4817e0(0x36e)],_0x2ff407,_0x48dcff,_0x107513,_0x25c538,_0x4773e7,void 0x0):_0x107513?_0xd4a798[_0x4817e0(0x2e9)](exports[_0x4817e0(0x4f1)],_0x2ff407,_0x48dcff,_0x107513,_0x4773e7):_0x25c538[_0x4817e0(0x249)]?_0xd4a798[_0x4817e0(0x2e9)](exports[_0x4817e0(0x2dc)],_0x2ff407,_0x48dcff,_0x25c538,_0x4773e7):_0xd4a798[_0x4817e0(0x2e9)](exports[_0x4817e0(0x3ec)],_0x2ff407,_0x48dcff,_0x4773e7);}var ci=Object['getOwnPropertyDescriptor'],Fe=(_0x1d0440,_0x12de03,_0x1cbdc5,_0x532ba9)=>{var _0x2600a7=_0x261c0a;for(var _0x499ff2=_0x532ba9>0x1?void 0x0:_0x532ba9?ci(_0x12de03,_0x1cbdc5):_0x12de03,_0x5714cb=_0x1d0440[_0x2600a7(0x249)]-0x1,_0x41078a;_0x5714cb>=0x0;_0x5714cb--)(_0x41078a=_0x1d0440[_0x5714cb])&&(_0x499ff2=_0x41078a(_0x499ff2)||_0x499ff2);return _0x499ff2;},H=(_0x4f1807,_0x5d1a92)=>(_0x43ca85,_0x46f8f3)=>_0x5d1a92(_0x43ca85,_0x46f8f3,_0x4f1807);exports[_0x261c0a(0x4bc)]=class extends a[_0x261c0a(0x502)]{constructor(_0x39f52a,_0x363d6d,_0x46cd55,_0x52f82b,_0x390afc,_0x220626,_0x1b341e,_0x2a070c,_0x1ed2c1,_0x4cd1ef,_0x388bf8,_0x103597,_0x5abc53){var _0x1fc1e3=_0x261c0a;super(),A(this,_0x1fc1e3(0x38b),new j['BehaviorSubject'](null)),A(this,_0x1fc1e3(0x31c),this[_0x1fc1e3(0x38b)][_0x1fc1e3(0x2a6)]()),A(this,'_state'),A(this,_0x1fc1e3(0x490),!0x1),A(this,_0x1fc1e3(0x38d),''),A(this,_0x1fc1e3(0x429),0x0),A(this,'status$',this[_0x1fc1e3(0x31c)][_0x1fc1e3(0x450)](j['map'](_0x118809=>_0x118809?_0x118809[_0x1fc1e3(0x4ff)]:Be[_0x1fc1e3(0x374)]),j[_0x1fc1e3(0x2bd)](0x1))),A(this,_0x1fc1e3(0x3f5),!0x1),A(this,_0x1fc1e3(0x1f5),[]),(this[_0x1fc1e3(0x42f)]=_0x39f52a,this[_0x1fc1e3(0x438)]=_0x363d6d,this[_0x1fc1e3(0x40b)]=_0x46cd55,this[_0x1fc1e3(0x473)]=_0x52f82b,this[_0x1fc1e3(0x4ec)]=_0x390afc,this[_0x1fc1e3(0x40a)]=_0x220626,this[_0x1fc1e3(0x50a)]=_0x1b341e,this['_eventService']=_0x2a070c,this[_0x1fc1e3(0x28f)]=_0x1ed2c1,this[_0x1fc1e3(0x378)]=_0x4cd1ef,this['_permissionService']=_0x388bf8,this[_0x1fc1e3(0x4a2)]=_0x103597,this[_0x1fc1e3(0x2c7)]=_0x5abc53);}get[_0x261c0a(0x3a7)](){var _0x4fa0a3=_0x261c0a;return this[_0x4fa0a3(0x3b3)];}async[_0x261c0a(0x391)](){var _0x3c132d=_0x261c0a;if(this[_0x3c132d(0x3a7)])throw new Error(_0x3c132d(0x2dd));await this[_0x3c132d(0x366)]();}['pauseCollaboration'](){var _0x69a431=_0x261c0a;return this[_0x69a431(0x490)]=!0x0,a[_0x69a431(0x47a)](()=>{var _0x3ff8ba=_0x69a431;this[_0x3ff8ba(0x490)]=!0x1,this[_0x3ff8ba(0x205)]();});}[_0x261c0a(0x4f0)](_0x22f64c){var _0x14969b=_0x261c0a;this[_0x14969b(0x294)](_0x22f64c);}[_0x261c0a(0x314)](_0x2f461f){var _0x27354c=_0x261c0a;this[_0x27354c(0x3b3)]=_0x2f461f,this[_0x27354c(0x38b)]['next'](_0x2f461f);}async[_0x261c0a(0x366)](){var _0x5e38a2=_0x261c0a,_0x5332fd;this[_0x5e38a2(0x314)](await this[_0x5e38a2(0x24a)]()),this[_0x5e38a2(0x4a2)]&&((_0x5332fd=this[_0x5e38a2(0x4a2)])==null||_0x5332fd[_0x5e38a2(0x1a6)](this[_0x5e38a2(0x42f)]),this[_0x5e38a2(0x219)](this[_0x5e38a2(0x4a2)]['getUnitStatus$'](this[_0x5e38a2(0x42f)])[_0x5e38a2(0x28d)](_0x12323d=>{var _0x1999e2=_0x5e38a2;this[_0x1999e2(0x28f)][_0x1999e2(0x213)]('[CollaborationEntity]',_0x1999e2(0x2eb),_0x12323d),_0x12323d===He[_0x1999e2(0x3d5)]?(this['_eventService']['emitEvent']({'id':Z['OTHER_CLIENT_EDITING']}),this['_permissionService']['updatePermissionPoint'](new X[(_0x1999e2(0x23f))](this['unitID'])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x1999e2(0x49b)][_0x1999e2(0x449)](new X[(_0x1999e2(0x23f))](this[_0x1999e2(0x42f)])['id'],!0x0),this[_0x1999e2(0x49b)][_0x1999e2(0x2b7)](!0x0));})));let _0x36ab5b=!0x1;return this[_0x5e38a2(0x219)](this[_0x5e38a2(0x438)]['sessionStatus$']['subscribe'](_0x16a8ea=>{var _0xa4572d=_0x5e38a2;_0x16a8ea===re['ONLINE']?this['_toggleOnline'](_0x36ab5b):_0x16a8ea===re[_0xa4572d(0x374)]&&(_0x36ab5b=!0x0,this[_0xa4572d(0x278)]());})),this[_0x5e38a2(0x219)](this[_0x5e38a2(0x438)]['event$']['subscribe'](_0x20386f=>{var _0x560678=_0x5e38a2;try{switch(_0x20386f[_0x560678(0x396)]){case p[_0x560678(0x2a4)]['NEW_CHANGESETS']:{this[_0x560678(0x2a2)](p[_0x560678(0x312)](_0x20386f[_0x560678(0x3ac)]));break;}case p[_0x560678(0x2a4)]['CHANGESET_ACK']:{this[_0x560678(0x49f)](_0x20386f[_0x560678(0x3ac)]);break;}case p[_0x560678(0x2a4)][_0x560678(0x20c)]:{this[_0x560678(0x32d)]();break;}case p[_0x560678(0x2a4)][_0x560678(0x49d)]:{this[_0x560678(0x1a9)](_0x20386f[_0x560678(0x3ac)]);break;}case p[_0x560678(0x2a4)][_0x560678(0x389)]:{this[_0x560678(0x230)](_0x20386f[_0x560678(0x3ac)][_0x560678(0x503)]['map'](_0x16522b=>p[_0x560678(0x312)](_0x16522b)));break;}case p[_0x560678(0x2a4)]['PERMISSION_REJ']:{this[_0x560678(0x32d)]({'isPermissionRej':!0x0});break;}case p['CollaborationEvent']['UNISCRIPT_RUN']:break;}}catch(_0x9a8cb8){throw console[_0x560678(0x1de)](_0x560678(0x418),_0x9a8cb8),_0x9a8cb8;}})),this[_0x5e38a2(0x3b3)];}[_0x261c0a(0x2c5)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x543add=_0x261c0a;if(this[_0x543add(0x3f5)])throw new Error(_0x543add(0x20a));this[_0x543add(0x3f5)]=!0x0;}[_0x261c0a(0x294)](_0x3a9aea){var _0x55936b=_0x261c0a;this[_0x55936b(0x324)](),this['_updateState'](this[_0x55936b(0x3b3)]['appendMutation'](_0x3a9aea)),this[_0x55936b(0x2c5)]();}[_0x261c0a(0x2a2)](_0xc52d86){var _0x265665=_0x261c0a;if(!(_0xc52d86[_0x265665(0x253)]<=this['_revisionService'][_0x265665(0x47b)](this['unitID']))){if(this[_0x265665(0x490)]){this[_0x265665(0x1f5)][_0x265665(0x3cb)](_0xc52d86);return;}this[_0x265665(0x1bf)](_0xc52d86);}}[_0x261c0a(0x205)](){var _0x38e7cd=_0x261c0a;this[_0x38e7cd(0x1f5)]['forEach'](_0x5d779d=>this['_applyRemoteChangeset'](_0x5d779d)),this[_0x38e7cd(0x1f5)]=[];}[_0x261c0a(0x1bf)](_0x3f2f4c){var _0x3be93d=_0x261c0a;const _0x49d871=this[_0x3be93d(0x4ec)][_0x3be93d(0x427)][_0x3be93d(0x206)](this['_compressMutationService'][_0x3be93d(0x427)][_0x3be93d(0x465)]()['COMPRESS_MUTATION_APPLY'])(_0x3f2f4c[_0x3be93d(0x4da)],null)||_0x3f2f4c[_0x3be93d(0x4da)],_0x30a98d={..._0x3f2f4c,'mutations':_0x49d871};this[_0x3be93d(0x324)](),this[_0x3be93d(0x314)](this[_0x3be93d(0x3b3)]['onRemoteChangeset'](_0x30a98d)),this[_0x3be93d(0x2c5)]();}[_0x261c0a(0x49f)](_0x46686c){var _0x14e0a4=_0x261c0a;this[_0x14e0a4(0x324)](),this['_updateState'](this[_0x14e0a4(0x3b3)]['onRemoteAck'](_0x46686c)),this[_0x14e0a4(0x2c5)]();}['_onRemoteRejected'](_0x2a9bc8){var _0x57f114=_0x261c0a;this[_0x57f114(0x324)](),this[_0x57f114(0x314)](this['_state']['onRemoteRej'](_0x2a9bc8)),this[_0x57f114(0x2c5)]();}[_0x261c0a(0x1a9)](_0x4198c3){var _0x3ed85b=_0x261c0a;this[_0x3ed85b(0x324)](),this[_0x3ed85b(0x314)](this[_0x3ed85b(0x3b3)][_0x3ed85b(0x19f)](_0x4198c3)),this[_0x3ed85b(0x2c5)]();}[_0x261c0a(0x230)](_0x4e8ebb){var _0x77cf19=_0x261c0a;if(!(this[_0x77cf19(0x3b3)]instanceof exports['FetchingMissState']))throw new TypeError(_0x77cf19(0x1f9));const _0x924180=_0x4e8ebb[_0x77cf19(0x25e)](_0x4f96ad=>{var _0x5ac288=_0x77cf19;const _0x3441cf=this[_0x5ac288(0x4ec)][_0x5ac288(0x427)][_0x5ac288(0x206)](this[_0x5ac288(0x4ec)][_0x5ac288(0x427)][_0x5ac288(0x465)]()[_0x5ac288(0x35d)])(_0x4f96ad[_0x5ac288(0x4da)],null)||_0x4f96ad[_0x5ac288(0x4da)];return{..._0x4f96ad,'mutations':_0x3441cf};});this[_0x77cf19(0x324)](),this['_updateState'](this[_0x77cf19(0x3b3)]['onMissedChangesetFetched'](_0x924180)),this['_unlockTransition']();}[_0x261c0a(0x278)](){var _0x32b9fc=_0x261c0a;this[_0x32b9fc(0x324)](),this[_0x32b9fc(0x314)](this[_0x32b9fc(0x3b3)][_0x32b9fc(0x4d4)]()),this[_0x32b9fc(0x2c5)]();}['_toggleOnline'](_0x18e4bd=!0x1){var _0x2ca837=_0x261c0a;this[_0x2ca837(0x324)](),this[_0x2ca837(0x314)](this[_0x2ca837(0x3b3)][_0x2ca837(0x43b)]()),this[_0x2ca837(0x2c5)]();const _0x2d402e=this[_0x2ca837(0x3b3)];_0x18e4bd&&_0x2d402e instanceof exports[_0x2ca837(0x3ec)]&&(this[_0x2ca837(0x324)](),this['_updateState'](_0x2d402e[_0x2ca837(0x41a)]()),this[_0x2ca837(0x2c5)]());}async[_0x261c0a(0x24a)](){return new Promise(_0x292fda=>{var _0x55b5e8=_0x2cbf;this['session'][_0x55b5e8(0x2e8)]['pipe'](j[_0x55b5e8(0x3b9)](0x1))[_0x55b5e8(0x28d)](async _0x70caaa=>{var _0x30240c=_0x55b5e8;_0x292fda(await this['_createInitialStateImpl'](_0x70caaa===re[_0x30240c(0x44c)]));});});}['_createHandler'](){const _0x3ee9f6=this['unitID'];return{'onStateChange':(_0x2a7deb,_0x53d1ea)=>{var _0x6026f3=_0x2cbf;if(_0x2a7deb!==this['_state'])throw new Error(_0x6026f3(0x1e4)+_0x2a7deb[_0x6026f3(0x4ff)]+_0x6026f3(0x37c)+_0x53d1ea[_0x6026f3(0x4ff)]+'\x0aCurrent:\x20'+this[_0x6026f3(0x3b3)][_0x6026f3(0x4ff)]);this['_updateState'](_0x53d1ea);},'onSendChangeset':_0x5972f4=>{var _0x53093a=_0x2cbf;_0x5972f4['sid']||(_0x5972f4[_0x53093a(0x4aa)]=this[_0x53093a(0x38d)],_0x5972f4[_0x53093a(0x2c4)]=++this[_0x53093a(0x429)]);const _0x341370={'eventID':p[_0x53093a(0x2a4)][_0x53093a(0x43f)],'data':{'unitID':_0x5972f4[_0x53093a(0x42f)],'unitType':this['_type'],'changeset':_0x5972f4,'memberID':this[_0x53093a(0x438)][_0x53093a(0x34c)]()}};this[_0x53093a(0x438)][_0x53093a(0x273)](_0x341370,this[_0x53093a(0x42f)]);},'onMissingChangesets':({from:_0x4f0e18,to:_0x12c6a9})=>{var _0x121ae2=_0x2cbf;this[_0x121ae2(0x28f)]['debug'](_0x121ae2(0x4ed),_0x121ae2(0x22c)+_0x4f0e18+'\x20to\x20'+_0x12c6a9);const _0x22ac9d={'eventID':p[_0x121ae2(0x2a4)][_0x121ae2(0x4e3)],'data':{'unitID':_0x3ee9f6,'unitType':this[_0x121ae2(0x40b)],'from':_0x4f0e18,'to':_0x12c6a9}};this['session']['send'](_0x22ac9d,this[_0x121ae2(0x42f)]);}};}async[_0x261c0a(0x250)](_0x530c01){var _0x5c5807=_0x261c0a,_0x21ddd9,_0x35b592,_0x12688d;const _0x4835b7=await((_0x21ddd9=this['_localCacheService'])==null?void 0x0:_0x21ddd9[_0x5c5807(0x3b0)](this[_0x5c5807(0x42f)])),_0x3cfa61=(_0x35b592=_0x4835b7==null?void 0x0:_0x4835b7['mutations'])!=null?_0x35b592:[],_0x2a99f9=(_0x12688d=_0x4835b7==null?void 0x0:_0x4835b7[_0x5c5807(0x2bc)])!=null?_0x12688d:null,_0x546306=!!(_0x2a99f9!=null&&_0x2a99f9[_0x5c5807(0x4aa)])&&!!(_0x2a99f9!=null&&_0x2a99f9[_0x5c5807(0x2c4)]);this[_0x5c5807(0x38d)]=_0x546306?_0x2a99f9[_0x5c5807(0x4aa)]:p[_0x5c5807(0x3d1)](),this[_0x5c5807(0x429)]=_0x546306?_0x2a99f9[_0x5c5807(0x2c4)]:0x0;const _0x502fe6=this['unitID'];try{this[_0x5c5807(0x1ce)](_0x2a99f9,_0x3cfa61);}catch(_0x4637f6){this[_0x5c5807(0x28f)][_0x5c5807(0x1de)](_0x4637f6);}const _0x386320=this[_0x5c5807(0x326)]();if(_0x530c01){const _0x26be57=gt(this[_0x5c5807(0x473)],_0x502fe6,this['_type'],_0x2a99f9,_0x3cfa61,_0x386320);return _0x26be57 instanceof exports['PendingState']?_0x26be57['_schedule']():(_0x26be57 instanceof exports[_0x5c5807(0x36e)]||_0x26be57 instanceof exports[_0x5c5807(0x4f1)])&&_0x26be57[_0x5c5807(0x504)](),_0x26be57;}return this[_0x5c5807(0x473)]['createInstance'](exports[_0x5c5807(0x1ba)],_0x502fe6,this[_0x5c5807(0x40b)],_0x2a99f9,_0x3cfa61,_0x386320);}[_0x261c0a(0x1ce)](_0x55724e,_0x97cefa){var _0x2848ac=_0x261c0a,_0x357c56,_0x2886b4;const _0x449b01=this[_0x2848ac(0x4ec)]['interceptor'][_0x2848ac(0x206)](this[_0x2848ac(0x4ec)][_0x2848ac(0x427)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x357c56=_0x449b01((_0x55724e==null?void 0x0:_0x55724e[_0x2848ac(0x4da)])||[],null))==null||_0x357c56[_0x2848ac(0x4a5)](_0x3f9e56=>this[_0x2848ac(0x378)][_0x2848ac(0x3ce)](_0x3f9e56['id'],_0x3f9e56[_0x2848ac(0x2de)])),(_0x2886b4=_0x449b01(_0x97cefa||[],null))==null||_0x2886b4[_0x2848ac(0x4a5)](_0x61fe97=>this['_commandService'][_0x2848ac(0x3ce)](_0x61fe97['id'],_0x61fe97['params']));}},exports[_0x261c0a(0x4bc)]=Fe([H(0x3,a[_0x261c0a(0x1a7)](a[_0x261c0a(0x2b1)])),H(0x4,a[_0x261c0a(0x1a7)](p[_0x261c0a(0x1f7)])),H(0x5,a[_0x261c0a(0x1a7)](a['LocaleService'])),H(0x6,a[_0x261c0a(0x1a7)](p[_0x261c0a(0x48d)])),H(0x7,a['Inject'](ee)),H(0x8,a[_0x261c0a(0x319)]),H(0x9,a[_0x261c0a(0x2ff)]),H(0xa,a[_0x261c0a(0x358)]),H(0xb,a[_0x261c0a(0x493)](de)),H(0xc,a['Optional'](K))],exports[_0x261c0a(0x4bc)]),exports[_0x261c0a(0x301)]=class extends exports[_0x261c0a(0x4bc)]{constructor(_0x197b37,_0x13bb85,_0x3987e4,_0x3ff8eb,_0x416848,_0x7de80f,_0x434136,_0x4b703b,_0x55e236,_0x48f087,_0x50539b,_0x4cf35a,_0x4e388b){var _0x3a2a87=_0x261c0a;super(_0x197b37,_0x3987e4,_0x13bb85,_0x3ff8eb,_0x416848,_0x7de80f,_0x434136,_0x4b703b,_0x55e236,_0x48f087,_0x50539b,_0x4cf35a,_0x4e388b),A(this,_0x3a2a87(0x4c7),null),(this[_0x3a2a87(0x42f)]=_0x197b37,this[_0x3a2a87(0x361)]=_0x13bb85);}['addHandlerCallback'](_0x131b6d){var _0x236999=_0x261c0a;this[_0x236999(0x4c7)]=_0x131b6d;}[_0x261c0a(0x3e9)](){var _0x506e3c=_0x261c0a;this['_handlerCallback']=null,super[_0x506e3c(0x3e9)]();}[_0x261c0a(0x326)](){var _0x5ae72a=_0x261c0a;const _0x17ac9e=super['_createHandler']();return _0x17ac9e[_0x5ae72a(0x1fe)]=_0x3a83e1=>{var _0x4485ae=_0x5ae72a,_0x1f2c4d,_0x1e731a;return(_0x1e731a=(_0x1f2c4d=this[_0x4485ae(0x4c7)])==null?void 0x0:_0x1f2c4d[_0x4485ae(0x1fe)])==null?void 0x0:_0x1e731a[_0x4485ae(0x2ea)](_0x1f2c4d,_0x3a83e1);},_0x17ac9e['onTransformState']=_0x30dbea=>{var _0x410e8b=_0x5ae72a,_0x2ccace,_0x5d7178;return(_0x5d7178=(_0x2ccace=this[_0x410e8b(0x4c7)])==null?void 0x0:_0x2ccace['onTransformState'])==null?void 0x0:_0x5d7178['call'](_0x2ccace,_0x30dbea);},_0x17ac9e[_0x5ae72a(0x471)]=_0x5a4337=>{var _0x578d65=_0x5ae72a,_0x4e5332,_0xe556da;return(_0xe556da=(_0x4e5332=this[_0x578d65(0x4c7)])==null?void 0x0:_0x4e5332[_0x578d65(0x471)])==null?void 0x0:_0xe556da[_0x578d65(0x2ea)](_0x4e5332,_0x5a4337);},_0x17ac9e[_0x5ae72a(0x266)]=_0x23d06c=>{var _0x4046e1=_0x5ae72a,_0x374ba9,_0x12e46f;return(_0x12e46f=(_0x374ba9=this[_0x4046e1(0x4c7)])==null?void 0x0:_0x374ba9['onSyncEditingCollabCursor'])==null?void 0x0:_0x12e46f['call'](_0x374ba9,_0x23d06c);},_0x17ac9e['onTransformRemoteChangesetByIMECache']=_0x17448b=>{var _0x364f83=_0x5ae72a,_0x2f654a,_0x5221e5,_0x4c95a3;if(!((_0x2f654a=this[_0x364f83(0x4c7)])!=null&&_0x2f654a[_0x364f83(0x4b5)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x4c95a3=(_0x5221e5=this[_0x364f83(0x4c7)])==null?void 0x0:_0x5221e5[_0x364f83(0x4b5)])==null?void 0x0:_0x4c95a3['call'](_0x5221e5,_0x17448b);},_0x17ac9e[_0x5ae72a(0x45d)]=_0x5abe47=>{var _0x21be92=_0x5ae72a,_0x1521da,_0x24283a,_0x3c508e;if(!((_0x1521da=this['_handlerCallback'])!=null&&_0x1521da[_0x21be92(0x45d)]))throw new Error(_0x21be92(0x2cf));return(_0x3c508e=(_0x24283a=this[_0x21be92(0x4c7)])==null?void 0x0:_0x24283a['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x3c508e[_0x21be92(0x2ea)](_0x24283a,_0x5abe47);},_0x17ac9e;}async[_0x261c0a(0x366)](){var _0x10bfb4=_0x261c0a;const _0x28a398=await super[_0x10bfb4(0x366)]();return this[_0x10bfb4(0x219)](this[_0x10bfb4(0x378)]['onCommandExecuted']((_0x2a6ae3,_0x1ed028)=>{var _0x177dd4=_0x10bfb4;if(_0x2a6ae3[_0x177dd4(0x361)]!==a[_0x177dd4(0x4d1)][_0x177dd4(0x1c4)]||_0x1ed028!=null&&_0x1ed028['fromCollab']||_0x1ed028!=null&&_0x1ed028[_0x177dd4(0x442)]||_0x2a6ae3['id']===ct['RichTextEditingMutation']['id'])return;const _0x4bb31d=_0x2a6ae3[_0x177dd4(0x2de)];if((_0x4bb31d==null?void 0x0:_0x4bb31d[_0x177dd4(0x240)])!==this[_0x177dd4(0x42f)])return;const _0x565ec0=_0x2a6ae3,_0x10bf0f=this[_0x177dd4(0x4ec)]['interceptor'][_0x177dd4(0x206)](this[_0x177dd4(0x4ec)][_0x177dd4(0x427)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x565ec0],null)||[_0x565ec0];this['_onLocalMutation'](_0x10bf0f[0x0]);})),_0x28a398;}},exports['DocCollaborationEntity']=Fe([H(0x3,a[_0x261c0a(0x1a7)](a['Injector'])),H(0x4,a[_0x261c0a(0x1a7)](p[_0x261c0a(0x1f7)])),H(0x5,a['Inject'](a[_0x261c0a(0x217)])),H(0x6,a['Inject'](p['RevisionService'])),H(0x7,a[_0x261c0a(0x1a7)](ee)),H(0x8,a['ILogService']),H(0x9,a[_0x261c0a(0x2ff)]),H(0xa,a[_0x261c0a(0x358)]),H(0xb,a[_0x261c0a(0x493)](de)),H(0xc,a[_0x261c0a(0x493)](K))],exports[_0x261c0a(0x301)]),exports['SheetCollaborationEntity']=class extends exports[_0x261c0a(0x4bc)]{constructor(_0x3d56a7,_0x3fa6d3,_0x375fd9,_0x75fda0,_0x2b8a92,_0x5654c5,_0x2d43b3,_0x11ec0d,_0x45446c,_0x2830df,_0x2f61fe,_0xb6ce12,_0x486275,_0x51fe5c){var _0x11db8f=_0x261c0a;super(_0x3d56a7,_0x375fd9,_0x3fa6d3,_0x75fda0,_0x2b8a92,_0x5654c5,_0x2d43b3,_0x45446c,_0x2830df,_0x2f61fe,_0xb6ce12,_0x486275,_0x51fe5c),this[_0x11db8f(0x42f)]=_0x3d56a7,this[_0x11db8f(0x361)]=_0x3fa6d3,this[_0x11db8f(0x32a)]=_0x11ec0d;}[_0x261c0a(0x326)](){var _0x1e8243=_0x261c0a;const _0x350579=super[_0x1e8243(0x326)]();return _0x350579[_0x1e8243(0x471)]=_0x32e9ec=>this['_sheetTransformSelectionsService'][_0x1e8243(0x27c)](_0x32e9ec),_0x350579;}async['_init'](){var _0x4325b6=_0x261c0a;const _0x18dcc5=await super[_0x4325b6(0x366)]();return this[_0x4325b6(0x219)](this[_0x4325b6(0x378)]['onCommandExecuted']((_0x2191d2,_0x4caeed)=>{var _0x40fb2f=_0x4325b6;if(_0x2191d2[_0x40fb2f(0x361)]!==a[_0x40fb2f(0x4d1)][_0x40fb2f(0x1c4)]||_0x4caeed!=null&&_0x4caeed['fromCollab']||_0x4caeed!=null&&_0x4caeed[_0x40fb2f(0x442)])return;const _0x39329a=_0x2191d2[_0x40fb2f(0x2de)];if((_0x39329a==null?void 0x0:_0x39329a[_0x40fb2f(0x240)])!==this[_0x40fb2f(0x42f)])return;const _0x49f296=_0x2191d2,_0x3a9785=this[_0x40fb2f(0x4ec)][_0x40fb2f(0x427)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x40fb2f(0x427)][_0x40fb2f(0x465)]()[_0x40fb2f(0x1e6)])([_0x49f296],null)||[_0x49f296];this[_0x40fb2f(0x294)](_0x3a9785[0x0]);})),_0x18dcc5;}},exports[_0x261c0a(0x260)]=Fe([H(0x3,a[_0x261c0a(0x1a7)](a[_0x261c0a(0x2b1)])),H(0x4,a[_0x261c0a(0x1a7)](p[_0x261c0a(0x1f7)])),H(0x5,a[_0x261c0a(0x1a7)](a[_0x261c0a(0x217)])),H(0x6,a[_0x261c0a(0x1a7)](p[_0x261c0a(0x48d)])),H(0x7,a[_0x261c0a(0x1a7)](exports[_0x261c0a(0x414)])),H(0x8,a['Inject'](ee)),H(0x9,a['ILogService']),H(0xa,a[_0x261c0a(0x2ff)]),H(0xb,a[_0x261c0a(0x358)]),H(0xc,a[_0x261c0a(0x493)](de)),H(0xd,a[_0x261c0a(0x493)](K))],exports[_0x261c0a(0x260)]);var hi=Object['getOwnPropertyDescriptor'],_i=(_0x125cf0,_0x27ed45,_0x33b66d,_0x1489d7)=>{for(var _0x425213=_0x1489d7>0x1?void 0x0:_0x1489d7?hi(_0x27ed45,_0x33b66d):_0x27ed45,_0x2e531d=_0x125cf0['length']-0x1,_0x1f080b;_0x2e531d>=0x0;_0x2e531d--)(_0x1f080b=_0x125cf0[_0x2e531d])&&(_0x425213=_0x1f080b(_0x425213)||_0x425213);return _0x425213;},Se=(_0x41e37b,_0x55ca33)=>(_0x3444be,_0x524f76)=>_0x55ca33(_0x3444be,_0x524f76,_0x41e37b);exports[_0x261c0a(0x2c3)]=class extends a[_0x261c0a(0x502)]{constructor(_0x43b560,_0x109fd2,_0x196edc,_0x350c78){var _0x104afd=_0x261c0a,_0x2e4d89;super(),A(this,_0x104afd(0x2b4),new Map()),A(this,_0x104afd(0x317),new j[(_0x104afd(0x20e))]()),A(this,_0x104afd(0x4df),this[_0x104afd(0x317)]['asObservable']()),(this[_0x104afd(0x473)]=_0x43b560,this['_collabSessionService']=_0x109fd2,this[_0x104afd(0x496)]=_0x196edc,this[_0x104afd(0x1c0)]=_0x350c78,((_0x2e4d89=this[_0x104afd(0x496)][_0x104afd(0x4e2)](Y))==null?void 0x0:_0x2e4d89[_0x104afd(0x459)])!==!0x1&&this[_0x104afd(0x366)]());}[_0x261c0a(0x3e9)](){var _0x4c990f=_0x261c0a;super[_0x4c990f(0x3e9)](),this[_0x4c990f(0x2b4)]['forEach'](_0x2508b7=>_0x2508b7[_0x4c990f(0x3e9)]()),this['_entities'][_0x4c990f(0x3a2)]();}['getCollabEntity'](_0x527a28){var _0x5b4d60=_0x261c0a,_0x1b0caf;return(_0x1b0caf=this[_0x5b4d60(0x2b4)][_0x5b4d60(0x2f8)](_0x527a28))!=null?_0x1b0caf:null;}[_0x261c0a(0x40e)](_0x5d0ae8){var _0x31915e=_0x261c0a;const _0x32142d=this['getCollabEntity'](_0x5d0ae8);return _0x32142d?j['of'](_0x32142d):this[_0x31915e(0x317)]['pipe'](V[_0x31915e(0x3f1)](_0x56c714=>_0x56c714[_0x31915e(0x42f)]===_0x5d0ae8));}['readyForCollab'](_0x4f2590){var _0x369763=_0x261c0a;return j[_0x369763(0x382)](this['getCollabEntity$'](_0x4f2590)['pipe'](V[_0x369763(0x25e)](()=>{})));}[_0x261c0a(0x366)](){var _0x4b6bed=_0x261c0a;this[_0x4b6bed(0x1c0)][_0x4b6bed(0x341)](a[_0x4b6bed(0x4d2)][_0x4b6bed(0x394)])[_0x4b6bed(0x450)](j[_0x4b6bed(0x448)](this[_0x4b6bed(0x4eb)]),V[_0x4b6bed(0x393)](0x10))[_0x4b6bed(0x28d)](async _0x2c3ef8=>{var _0x3757d6=_0x4b6bed;const _0x177a5f=_0x2c3ef8[_0x3757d6(0x3c0)](),_0x3f4be5=await this[_0x3757d6(0x508)](_0x177a5f,J['UNIVER_SHEET']);this[_0x3757d6(0x2b4)][_0x3757d6(0x30f)](_0x177a5f,_0x3f4be5);}),this[_0x4b6bed(0x1c0)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x4b6bed(0x329)])[_0x4b6bed(0x450)](j[_0x4b6bed(0x448)](this['dispose$']),V[_0x4b6bed(0x393)](0x10))[_0x4b6bed(0x450)](V[_0x4b6bed(0x3f1)](_0x7d2fee=>!_0x7d2fee['getUnitId']()[_0x4b6bed(0x3dc)]('__')))['subscribe'](async _0x4e8328=>{var _0xc58d1=_0x4b6bed;const _0x469fa8=_0x4e8328[_0xc58d1(0x3c0)](),_0x1d424c=await this[_0xc58d1(0x508)](_0x469fa8,J[_0xc58d1(0x329)]);this['_entities'][_0xc58d1(0x30f)](_0x469fa8,_0x1d424c);}),j[_0x4b6bed(0x1cc)](this[_0x4b6bed(0x1c0)][_0x4b6bed(0x298)](a[_0x4b6bed(0x4d2)][_0x4b6bed(0x394)]),this['_univerInstanceService'][_0x4b6bed(0x298)](a['UniverInstanceType'][_0x4b6bed(0x329)]))[_0x4b6bed(0x450)](j[_0x4b6bed(0x448)](this['dispose$']))[_0x4b6bed(0x28d)](_0x3de88c=>{var _0x5e5ed3=_0x4b6bed;const _0x24e113=_0x3de88c[_0x5e5ed3(0x3c0)](),_0x5771f1=this[_0x5e5ed3(0x2b4)][_0x5e5ed3(0x2f8)](_0x24e113);_0x5771f1&&(_0x5771f1[_0x5e5ed3(0x3e9)](),this[_0x5e5ed3(0x2b4)]['delete'](_0x24e113));});}async['_startCollaboration'](_0x46147a,_0x1cefc9){var _0x4afc5b=_0x261c0a;const _0x5d14e8=await this[_0x4afc5b(0x421)][_0x4afc5b(0x255)](_0x46147a),_0x58bea7=this[_0x4afc5b(0x473)][_0x4afc5b(0x2e9)](this[_0x4afc5b(0x32f)](_0x1cefc9),_0x46147a,_0x1cefc9,_0x5d14e8);return await _0x58bea7[_0x4afc5b(0x391)](),this[_0x4afc5b(0x317)][_0x4afc5b(0x23a)](_0x58bea7),_0x58bea7;}[_0x261c0a(0x32f)](_0x45480f){var _0x14659c=_0x261c0a;switch(_0x45480f){case J[_0x14659c(0x329)]:return exports['DocCollaborationEntity'];case J['UNIVER_SHEET']:return exports[_0x14659c(0x260)];default:throw new Error(_0x14659c(0x224)+_0x45480f);}}},exports[_0x261c0a(0x2c3)]=_i([Se(0x0,a[_0x261c0a(0x1a7)](a[_0x261c0a(0x2b1)])),Se(0x1,a['Inject'](exports['CollaborationSessionService'])),Se(0x2,a[_0x261c0a(0x203)]),Se(0x3,a[_0x261c0a(0x25f)])],exports[_0x261c0a(0x2c3)]);var li=Object[_0x261c0a(0x308)],ui=(_0x24ad04,_0x45c1a6,_0x2e6bb4,_0x1e26ed)=>{var _0x350415=_0x261c0a;for(var _0x3319c6=_0x1e26ed>0x1?void 0x0:_0x1e26ed?li(_0x45c1a6,_0x2e6bb4):_0x45c1a6,_0x24971c=_0x24ad04[_0x350415(0x249)]-0x1,_0x455e2e;_0x24971c>=0x0;_0x24971c--)(_0x455e2e=_0x24ad04[_0x24971c])&&(_0x3319c6=_0x455e2e(_0x3319c6)||_0x3319c6);return _0x3319c6;},Ye=(_0x56d11d,_0x1391fc)=>(_0x2106a3,_0x2cf0d3)=>_0x1391fc(_0x2106a3,_0x2cf0d3,_0x56d11d);const di=_0x261c0a(0x46e),vi=_0x261c0a(0x2d3);let xe=class extends a[_0x261c0a(0x4af)]{constructor(_0x52001b,_0x3c3b3a){var _0x426444=_0x261c0a;super(),this[_0x426444(0x1c0)]=_0x52001b,this['_configService']=_0x3c3b3a,this[_0x426444(0x366)]();}[_0x261c0a(0x366)](){var _0x1b0ef0=_0x261c0a;this[_0x1b0ef0(0x219)](this[_0x1b0ef0(0x1c0)][_0x1b0ef0(0x339)]['subscribe'](()=>{var _0x1c9926=_0x1b0ef0,_0x525bf2;const _0x5a6963=this[_0x1c9926(0x1c0)][_0x1c9926(0x246)]();let _0x28820b=(_0x525bf2=this[_0x1c9926(0x496)]['getConfig'](di))!=null?_0x525bf2:vi;_0x5a6963 instanceof a[_0x1c9926(0x321)]&&(_0x28820b=_0x5a6963[_0x1c9926(0x4d9)]),document['title']=_0x28820b;}));}};xe=ui([Ye(0x0,a[_0x261c0a(0x25f)]),Ye(0x1,a[_0x261c0a(0x203)])],xe);var Si=Object[_0x261c0a(0x308)],fi=(_0xf16698,_0x290c16,_0x51df9f,_0x50ff54)=>{for(var _0x4fc6e7=_0x50ff54>0x1?void 0x0:_0x50ff54?Si(_0x290c16,_0x51df9f):_0x290c16,_0x4349b4=_0xf16698['length']-0x1,_0x7b39c6;_0x4349b4>=0x0;_0x4349b4--)(_0x7b39c6=_0xf16698[_0x4349b4])&&(_0x4fc6e7=_0x7b39c6(_0x4fc6e7)||_0x4fc6e7);return _0x4fc6e7;},Ae=(_0x1c5d15,_0x4dd46f)=>(_0x50f292,_0x25d424)=>_0x4dd46f(_0x50f292,_0x25d424,_0x1c5d15);let ye=class{constructor(_0x420f58,_0x539698,_0x3034a4){var _0x50eb73=_0x261c0a;this['_configService']=_0x420f58,this[_0x50eb73(0x4b3)]=_0x539698,this[_0x50eb73(0x4a0)]=_0x3034a4,this[_0x50eb73(0x391)]();}[_0x261c0a(0x391)](){var _0x13f8a1=_0x261c0a;this['_httpService'][_0x13f8a1(0x33e)]({'priority':0x1,'interceptor':(_0x4f4627,_0x5b96f5)=>_0x5b96f5(_0x4f4627)[_0x13f8a1(0x450)](j[_0x13f8a1(0x43a)](async _0x574414=>{var _0x1c8b7d=_0x13f8a1;const _0x33af52=_0x574414;if(_0x33af52[_0x1c8b7d(0x4ff)]===0x191){if(typeof window>'u')throw new Error(_0x1c8b7d(0x4a3));if(window[_0x1c8b7d(0x1ae)](this[_0x1c8b7d(0x4a0)]['t']('auth.needGotoLoginAlert'))){const _0x4e8441=window[_0x1c8b7d(0x435)](window['location'][_0x1c8b7d(0x466)]);window['location'][_0x1c8b7d(0x466)]=this[_0x1c8b7d(0x3a1)]()+_0x1c8b7d(0x35b)+_0x4e8441;}}return _0x33af52;}))});}[_0x261c0a(0x3a1)](){var _0xbd6253=_0x261c0a,_0x11d441;const _0x323096=this[_0xbd6253(0x496)][_0xbd6253(0x4e2)](Y);return(_0x11d441=_0x323096==null?void 0x0:_0x323096['loginUrlKey'])!=null?_0x11d441:$t;}};ye=fi([Ae(0x0,a[_0x261c0a(0x203)]),Ae(0x1,a[_0x261c0a(0x1a7)](q[_0x261c0a(0x2e1)])),Ae(0x2,a['Inject'](a[_0x261c0a(0x217)]))],ye);var Ii=Object['getOwnPropertyDescriptor'],pi=(_0x7596bc,_0x1d0283,_0x2f2aa4,_0x1fdfad)=>{for(var _0x22f8bf=_0x1fdfad>0x1?void 0x0:_0x1fdfad?Ii(_0x1d0283,_0x2f2aa4):_0x1d0283,_0x27ebe9=_0x7596bc['length']-0x1,_0x39b563;_0x27ebe9>=0x0;_0x27ebe9--)(_0x39b563=_0x7596bc[_0x27ebe9])&&(_0x22f8bf=_0x39b563(_0x22f8bf)||_0x22f8bf);return _0x22f8bf;},qe=(_0x46ba34,_0x14daeb)=>(_0x1aa45f,_0x49c032)=>_0x14daeb(_0x1aa45f,_0x49c032,_0x46ba34);function _0x2cbf(_0x5a3ef8,_0x390164){var _0x756383=_0x7563();return _0x2cbf=function(_0x2cbf3b,_0x320788){_0x2cbf3b=_0x2cbf3b-0x19e;var _0xae6936=_0x756383[_0x2cbf3b];return _0xae6936;},_0x2cbf(_0x5a3ef8,_0x390164);}const mi=_0x261c0a(0x3cc);exports[_0x261c0a(0x29b)]=class extends a[_0x261c0a(0x4af)]{constructor(_0x140a0e,_0xb5ae45){super(),this['_HTTPService']=_0x140a0e,this['_configService']=_0xb5ae45,this['_initMergeInterceptor']();}[_0x261c0a(0x276)](){var _0x1b6c04=_0x261c0a;const _0x9e39f1=this;this[_0x1b6c04(0x219)](this[_0x1b6c04(0x303)][_0x1b6c04(0x33e)]({'priority':0x3e7,'interceptor':q['MergeInterceptorFactory']({'isMatch'(_0x7362e9){var _0x373808=_0x1b6c04,_0x343ea3;if(_0x7362e9[_0x373808(0x4c4)]===_0x373808(0x1b0)&&((_0x343ea3=_0x7362e9['requestParams'])!=null&&_0x343ea3[_0x373808(0x26b)])){const {objectID:_0x43111b,objectType:_0x4c437f}=_0x7362e9['requestParams'][_0x373808(0x26b)]||{};if(!_0x43111b||_0x4c437f===void 0x0)return!0x1;const _0x4d3bf5=_0x9e39f1[_0x373808(0x481)]()+'/'+_0x4c437f+'/object/'+_0x43111b+_0x373808(0x3e0);if(_0x7362e9[_0x373808(0x27f)]===_0x4d3bf5)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x455fd9){var _0x1e051f=_0x1b6c04,_0x50205;return(_0x50205=_0x455fd9['requestParams'])==null?void 0x0:_0x50205[_0x1e051f(0x26b)];},'mergeParamsToRequest'(_0xd29bf3,_0x255b08){var _0x3d293e=_0x1b6c04;const _0x25fb1d=_0x9e39f1[_0x3d293e(0x481)]()+'/-/object/-/batch_allowed',_0x537c93=_0xd29bf3[_0x3d293e(0x2f1)]((_0x30a8ad,_0x168384)=>{var _0x5da12c=_0x3d293e;const {unitID:_0x478f70,objectID:_0x62151b,objectType:_0xb243c5,actions:_0x3f4e5a}=_0x168384;return _0x30a8ad[_0x478f70]||(_0x30a8ad[_0x478f70]={}),_0x30a8ad[_0x478f70][_0x62151b]||(_0x30a8ad[_0x478f70][_0x62151b]={'objectID':_0x62151b,'objectType':_0xb243c5,'actions':[]}),_0x30a8ad[_0x478f70][_0x62151b]['actions'][_0x5da12c(0x3cb)](..._0x3f4e5a),_0x30a8ad;},{}),_0x43ef0b=[];for(const _0x1d5ae2 in _0x537c93)for(const _0x2a4b97 in _0x537c93[_0x1d5ae2]){const {actions:_0x4bf889,objectType:_0x4c1e4e}=_0x537c93[_0x1d5ae2][_0x2a4b97],_0x4c25c4=[...new Set(_0x4bf889)];_0x43ef0b['push']({'unitID':_0x1d5ae2,'objectID':_0x2a4b97,'objectType':_0x4c1e4e,'actions':_0x4c25c4});}return new q[(_0x3d293e(0x3de))]('POST',_0x25fb1d,{'headers':_0x255b08['headers'],'withCredentials':_0x255b08[_0x3d293e(0x441)],'responseType':_0x255b08[_0x3d293e(0x268)],'body':{'requests':_0x43ef0b}});}},{'distributeResult'(_0x795bbc,_0x404c7d){const {objectActions:_0x4cd759}=_0x795bbc;return _0x404c7d['map'](_0x5d2c76=>{var _0x11e7d8=_0x2cbf;const {unitID:_0x54db1a,objectID:_0x43cd96,actions:_0x3739ad}=_0x5d2c76,_0x325e3e=_0x4cd759[_0x11e7d8(0x2f6)](_0x166860=>_0x166860[_0x11e7d8(0x42f)]===_0x54db1a&&_0x166860[_0x11e7d8(0x25a)]===_0x43cd96),_0x3dd4c2=_0x3739ad[_0x11e7d8(0x25e)](_0x214ac2=>_0x325e3e==null?void 0x0:_0x325e3e[_0x11e7d8(0x3fa)]['find'](_0x3592ed=>_0x3592ed[_0x11e7d8(0x2da)]===_0x214ac2))[_0x11e7d8(0x3f1)](_0x15d0e6=>!!_0x15d0e6);return{'config':_0x5d2c76,'result':{'actions':_0x3dd4c2,'error':_0x795bbc[_0x11e7d8(0x1de)]}};});}})}));}['_getAPIPrefixPath'](){var _0x2fc8ed=_0x261c0a,_0x4c5de7;const _0x78d644=this[_0x2fc8ed(0x496)][_0x2fc8ed(0x4e2)](Y);return(_0x4c5de7=_0x78d644==null?void 0x0:_0x78d644['authzUrl'])!=null?_0x4c5de7:mi;}async[_0x261c0a(0x505)](_0x472859){var _0x23f979=_0x261c0a;const _0x4251a6=this[_0x23f979(0x481)]()+'/'+_0x472859[_0x23f979(0x340)]+_0x23f979(0x1f1);return(await this['_HTTPService'][_0x23f979(0x395)](_0x4251a6,{'body':_0x472859}))[_0x23f979(0x26b)][_0x23f979(0x25a)]||'';}async['list'](_0x2bd920){var _0x357db8=_0x261c0a;const _0x7aa0c9=this['_getAPIPrefixPath']()+_0x357db8(0x1e2);return(await this[_0x357db8(0x303)][_0x357db8(0x395)](_0x7aa0c9,{'body':_0x2bd920}))[_0x357db8(0x26b)][_0x357db8(0x498)];}async[_0x261c0a(0x223)](_0x273106){var _0x593d48=_0x261c0a,_0x5b6556,_0x552da4;const _0x380736=this[_0x593d48(0x481)]()+'/'+_0x273106[_0x593d48(0x340)]+_0x593d48(0x3dd)+_0x273106[_0x593d48(0x25a)],_0x13f809=await this[_0x593d48(0x303)][_0x593d48(0x480)](_0x380736,{'body':_0x273106});if(((_0x552da4=(_0x5b6556=_0x13f809==null?void 0x0:_0x13f809['body'])==null?void 0x0:_0x5b6556[_0x593d48(0x1de)])==null?void 0x0:_0x552da4[_0x593d48(0x50b)])!==0x1)throw new Error(_0x593d48(0x4ac));}async[_0x261c0a(0x1b7)](_0x4ec135){var _0xbf71d4=_0x261c0a;const _0x194fae=this['_getAPIPrefixPath']()+'/'+_0x4ec135[_0xbf71d4(0x340)]+_0xbf71d4(0x3dd)+_0x4ec135['objectID']+_0xbf71d4(0x3e0);return(await this[_0xbf71d4(0x303)][_0xbf71d4(0x395)](_0x194fae,{'body':_0x4ec135}))[_0xbf71d4(0x26b)]['actions'];}async[_0x261c0a(0x304)](_0x495cd7){var _0x4b7ccb=_0x261c0a;const _0x2480f2=this[_0x4b7ccb(0x481)]()+_0x4b7ccb(0x3db);return(await this[_0x4b7ccb(0x303)][_0x4b7ccb(0x395)](_0x2480f2,{'body':{'requests':_0x495cd7}}))[_0x4b7ccb(0x26b)][_0x4b7ccb(0x386)];}async[_0x261c0a(0x3ab)](_0x422ff0){var _0x155f8a=_0x261c0a;const _0x103b24=this[_0x155f8a(0x481)]()+'/'+_0x422ff0[_0x155f8a(0x340)]+'/role',_0x389d5d=await this[_0x155f8a(0x303)]['post'](_0x103b24,{'body':_0x422ff0});return{'roles':_0x389d5d['body']['roles'],'actions':_0x389d5d[_0x155f8a(0x26b)][_0x155f8a(0x3fa)]};}async[_0x261c0a(0x385)](_0x48ac7c){var _0x23b092=_0x261c0a;const _0x3b93fd=this[_0x23b092(0x481)]()+_0x23b092(0x2ed);await this[_0x23b092(0x303)][_0x23b092(0x4ca)](_0x3b93fd,{'params':{'collaboratorID':_0x48ac7c['collaboratorID'],'objectID':_0x48ac7c['objectID'],'unitID':_0x48ac7c[_0x23b092(0x42f)]}});}async[_0x261c0a(0x31f)](_0xbddae6){var _0x131bda=_0x261c0a;const _0x83ce03=this[_0x131bda(0x481)]()+_0x131bda(0x2ed);await this[_0x131bda(0x303)][_0x131bda(0x280)](_0x83ce03,{'body':_0xbddae6});}async['createCollaborator'](_0x583fdf){var _0x1e3f04=_0x261c0a;const _0x1dc751=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x1e3f04(0x303)][_0x1e3f04(0x395)](_0x1dc751,{'body':_0x583fdf});}async[_0x261c0a(0x1bd)](_0x5f1ecf){var _0x8e1626=_0x261c0a;const _0x59ba68=this[_0x8e1626(0x481)]()+'/collaborator';return(await this[_0x8e1626(0x303)][_0x8e1626(0x2f8)](_0x59ba68,{'params':{'objectID':_0x5f1ecf['objectID'],'unitID':_0x5f1ecf[_0x8e1626(0x42f)]}}))[_0x8e1626(0x26b)][_0x8e1626(0x22d)];}async[_0x261c0a(0x478)](_0x2bb7a7){var _0x596bbd=_0x261c0a;const _0x5f18a1=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x596bbd(0x303)][_0x596bbd(0x480)](_0x5f18a1,{'body':_0x2bb7a7});}},exports[_0x261c0a(0x29b)]=pi([qe(0x0,a[_0x261c0a(0x1a7)](q['HTTPService'])),qe(0x1,a[_0x261c0a(0x1a7)](a[_0x261c0a(0x203)]))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x53e213){var _0x1c8e39=_0x261c0a;return _0x53e213&&_0x53e213[_0x1c8e39(0x32c)]&&Object[_0x1c8e39(0x40d)][_0x1c8e39(0x3c8)][_0x1c8e39(0x2ea)](_0x53e213,_0x1c8e39(0x3b1))?_0x53e213[_0x1c8e39(0x3b1)]:_0x53e213;}var fe={'exports':{}};function gi(_0x40cd19){var _0x58a791=_0x261c0a;throw new Error(_0x58a791(0x1dc)+_0x40cd19+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ie={'exports':{}},Ei=Ie[_0x261c0a(0x37e)],Ke;function Q(){var _0x1ed05a=_0x261c0a;return Ke||(Ke=0x1,function(_0x155388,_0x524e5c){(function(_0x57c38f,_0x38b8d5){_0x155388['exports']=_0x38b8d5();}(Ei,function(){var _0x53db1d=_0x53db1d||function(_0xfd71df,_0x42b1f9){var _0x148956=_0x2cbf,_0x3170f4;if(typeof window<'u'&&window[_0x148956(0x363)]&&(_0x3170f4=window[_0x148956(0x363)]),typeof self<'u'&&self[_0x148956(0x363)]&&(_0x3170f4=self[_0x148956(0x363)]),typeof globalThis<'u'&&globalThis[_0x148956(0x363)]&&(_0x3170f4=globalThis[_0x148956(0x363)]),!_0x3170f4&&typeof window<'u'&&window[_0x148956(0x24d)]&&(_0x3170f4=window['msCrypto']),!_0x3170f4&&typeof Pe<'u'&&Pe[_0x148956(0x363)]&&(_0x3170f4=Pe['crypto']),!_0x3170f4&&typeof gi=='function')try{_0x3170f4=require('crypto');}catch{}var _0x2ab2ca=function(){var _0x2c1321=_0x148956;if(_0x3170f4){if(typeof _0x3170f4[_0x2c1321(0x34b)]=='function')try{return _0x3170f4[_0x2c1321(0x34b)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3170f4[_0x2c1321(0x305)]=='function')try{return _0x3170f4['randomBytes'](0x4)[_0x2c1321(0x33f)]();}catch{}}throw new Error(_0x2c1321(0x495));},_0x52e0ad=Object['create']||(function(){function _0x2b01da(){}return function(_0x370a5a){var _0x572295=_0x2cbf,_0x5e78ed;return _0x2b01da[_0x572295(0x40d)]=_0x370a5a,_0x5e78ed=new _0x2b01da(),_0x2b01da[_0x572295(0x40d)]=null,_0x5e78ed;};}()),_0x57fd71={},_0x4ac12a=_0x57fd71[_0x148956(0x470)]={},_0x179f19=_0x4ac12a[_0x148956(0x27a)]=(function(){return{'extend':function(_0x5c8972){var _0x57e29f=_0x2cbf,_0x275e38=_0x52e0ad(this);return _0x5c8972&&_0x275e38['mixIn'](_0x5c8972),(!_0x275e38[_0x57e29f(0x3c8)](_0x57e29f(0x391))||this[_0x57e29f(0x391)]===_0x275e38[_0x57e29f(0x391)])&&(_0x275e38[_0x57e29f(0x391)]=function(){var _0x46ae94=_0x57e29f;_0x275e38[_0x46ae94(0x293)][_0x46ae94(0x391)][_0x46ae94(0x47e)](this,arguments);}),_0x275e38[_0x57e29f(0x391)]['prototype']=_0x275e38,_0x275e38[_0x57e29f(0x293)]=this,_0x275e38;},'create':function(){var _0x21ec6e=_0x2cbf,_0x1f28d2=this[_0x21ec6e(0x4a6)]();return _0x1f28d2[_0x21ec6e(0x391)][_0x21ec6e(0x47e)](_0x1f28d2,arguments),_0x1f28d2;},'init':function(){},'mixIn':function(_0x429e58){var _0x3cf9ab=_0x2cbf;for(var _0x1a8638 in _0x429e58)_0x429e58[_0x3cf9ab(0x3c8)](_0x1a8638)&&(this[_0x1a8638]=_0x429e58[_0x1a8638]);_0x429e58['hasOwnProperty'](_0x3cf9ab(0x259))&&(this['toString']=_0x429e58[_0x3cf9ab(0x259)]);},'clone':function(){var _0x35feee=_0x2cbf;return this['init'][_0x35feee(0x40d)]['extend'](this);}};}()),_0x2b87e8=_0x4ac12a[_0x148956(0x4ae)]=_0x179f19[_0x148956(0x4a6)]({'init':function(_0x421346,_0xc13f62){var _0x21062e=_0x148956;_0x421346=this['words']=_0x421346||[],_0xc13f62!=_0x42b1f9?this[_0x21062e(0x32e)]=_0xc13f62:this[_0x21062e(0x32e)]=_0x421346[_0x21062e(0x249)]*0x4;},'toString':function(_0x32284a){var _0x23fb0a=_0x148956;return(_0x32284a||_0x422983)[_0x23fb0a(0x344)](this);},'concat':function(_0x2bc172){var _0x263f8e=_0x148956,_0x35bb13=this['words'],_0x5c7bf1=_0x2bc172[_0x263f8e(0x411)],_0x4a4f9c=this[_0x263f8e(0x32e)],_0x7ac65d=_0x2bc172['sigBytes'];if(this[_0x263f8e(0x22e)](),_0x4a4f9c%0x4)for(var _0x390c45=0x0;_0x390c45<_0x7ac65d;_0x390c45++){var _0xe6801b=_0x5c7bf1[_0x390c45>>>0x2]>>>0x18-_0x390c45%0x4*0x8&0xff;_0x35bb13[_0x4a4f9c+_0x390c45>>>0x2]|=_0xe6801b<<0x18-(_0x4a4f9c+_0x390c45)%0x4*0x8;}else{for(var _0x2175e5=0x0;_0x2175e5<_0x7ac65d;_0x2175e5+=0x4)_0x35bb13[_0x4a4f9c+_0x2175e5>>>0x2]=_0x5c7bf1[_0x2175e5>>>0x2];}return this[_0x263f8e(0x32e)]+=_0x7ac65d,this;},'clamp':function(){var _0x4023f7=_0x148956,_0x43df32=this['words'],_0x5886d7=this[_0x4023f7(0x32e)];_0x43df32[_0x5886d7>>>0x2]&=0xffffffff<<0x20-_0x5886d7%0x4*0x8,_0x43df32[_0x4023f7(0x249)]=_0xfd71df['ceil'](_0x5886d7/0x4);},'clone':function(){var _0x8e4867=_0x148956,_0x13a151=_0x179f19[_0x8e4867(0x424)][_0x8e4867(0x2ea)](this);return _0x13a151[_0x8e4867(0x411)]=this['words'][_0x8e4867(0x4f5)](0x0),_0x13a151;},'random':function(_0x196112){var _0x5f4389=_0x148956;for(var _0x41328c=[],_0x2739c3=0x0;_0x2739c3<_0x196112;_0x2739c3+=0x4)_0x41328c[_0x5f4389(0x3cb)](_0x2ab2ca());return new _0x2b87e8[(_0x5f4389(0x391))](_0x41328c,_0x196112);}}),_0x23cba8=_0x57fd71[_0x148956(0x48f)]={},_0x422983=_0x23cba8['Hex']={'stringify':function(_0x136e2b){var _0x32c327=_0x148956;for(var _0x5087be=_0x136e2b[_0x32c327(0x411)],_0x13255d=_0x136e2b['sigBytes'],_0x3e92ec=[],_0x3cade2=0x0;_0x3cade2<_0x13255d;_0x3cade2++){var _0x544b3b=_0x5087be[_0x3cade2>>>0x2]>>>0x18-_0x3cade2%0x4*0x8&0xff;_0x3e92ec['push']((_0x544b3b>>>0x4)[_0x32c327(0x259)](0x10)),_0x3e92ec['push']((_0x544b3b&0xf)[_0x32c327(0x259)](0x10));}return _0x3e92ec[_0x32c327(0x269)]('');},'parse':function(_0x1c99a5){var _0x586036=_0x148956;for(var _0x28bb3a=_0x1c99a5['length'],_0x47b2bc=[],_0x3052e8=0x0;_0x3052e8<_0x28bb3a;_0x3052e8+=0x2)_0x47b2bc[_0x3052e8>>>0x3]|=parseInt(_0x1c99a5[_0x586036(0x292)](_0x3052e8,0x2),0x10)<<0x18-_0x3052e8%0x8*0x4;return new _0x2b87e8[(_0x586036(0x391))](_0x47b2bc,_0x28bb3a/0x2);}},_0x29e108=_0x23cba8[_0x148956(0x214)]={'stringify':function(_0x4129a5){var _0x2d6de6=_0x148956;for(var _0x435f33=_0x4129a5['words'],_0x184fe4=_0x4129a5[_0x2d6de6(0x32e)],_0x4cff3e=[],_0x1dd969=0x0;_0x1dd969<_0x184fe4;_0x1dd969++){var _0x42b7a0=_0x435f33[_0x1dd969>>>0x2]>>>0x18-_0x1dd969%0x4*0x8&0xff;_0x4cff3e[_0x2d6de6(0x3cb)](String['fromCharCode'](_0x42b7a0));}return _0x4cff3e['join']('');},'parse':function(_0x3809ba){var _0x4e06e2=_0x148956;for(var _0xcfb728=_0x3809ba[_0x4e06e2(0x249)],_0xbbf798=[],_0x469a85=0x0;_0x469a85<_0xcfb728;_0x469a85++)_0xbbf798[_0x469a85>>>0x2]|=(_0x3809ba['charCodeAt'](_0x469a85)&0xff)<<0x18-_0x469a85%0x4*0x8;return new _0x2b87e8[(_0x4e06e2(0x391))](_0xbbf798,_0xcfb728);}},_0x419771=_0x23cba8[_0x148956(0x43d)]={'stringify':function(_0xe8f9eb){var _0x270ae3=_0x148956;try{return decodeURIComponent(escape(_0x29e108['stringify'](_0xe8f9eb)));}catch{throw new Error(_0x270ae3(0x3b7));}},'parse':function(_0x4967e4){var _0x4abce6=_0x148956;return _0x29e108[_0x4abce6(0x208)](unescape(encodeURIComponent(_0x4967e4)));}},_0x253988=_0x4ac12a[_0x148956(0x209)]=_0x179f19[_0x148956(0x4a6)]({'reset':function(){var _0x4a7e16=_0x148956;this['_data']=new _0x2b87e8[(_0x4a7e16(0x391))](),this['_nDataBytes']=0x0;},'_append':function(_0x5f3fd9){var _0x52ef39=_0x148956;typeof _0x5f3fd9=='string'&&(_0x5f3fd9=_0x419771[_0x52ef39(0x208)](_0x5f3fd9)),this[_0x52ef39(0x231)][_0x52ef39(0x460)](_0x5f3fd9),this[_0x52ef39(0x1ea)]+=_0x5f3fd9['sigBytes'];},'_process':function(_0x82d8f8){var _0x1f9c73=_0x148956,_0x3edeb7,_0x5c3813=this[_0x1f9c73(0x231)],_0x24ea02=_0x5c3813[_0x1f9c73(0x411)],_0x4dbd7c=_0x5c3813[_0x1f9c73(0x32e)],_0xccff63=this[_0x1f9c73(0x24f)],_0x2ef27d=_0xccff63*0x4,_0x3cf31b=_0x4dbd7c/_0x2ef27d;_0x82d8f8?_0x3cf31b=_0xfd71df['ceil'](_0x3cf31b):_0x3cf31b=_0xfd71df[_0x1f9c73(0x264)]((_0x3cf31b|0x0)-this[_0x1f9c73(0x370)],0x0);var _0x444348=_0x3cf31b*_0xccff63,_0x29c266=_0xfd71df[_0x1f9c73(0x479)](_0x444348*0x4,_0x4dbd7c);if(_0x444348){for(var _0x386c7c=0x0;_0x386c7c<_0x444348;_0x386c7c+=_0xccff63)this['_doProcessBlock'](_0x24ea02,_0x386c7c);_0x3edeb7=_0x24ea02[_0x1f9c73(0x3f3)](0x0,_0x444348),_0x5c3813[_0x1f9c73(0x32e)]-=_0x29c266;}return new _0x2b87e8[(_0x1f9c73(0x391))](_0x3edeb7,_0x29c266);},'clone':function(){var _0x4f3bd7=_0x148956,_0x49a571=_0x179f19[_0x4f3bd7(0x424)][_0x4f3bd7(0x2ea)](this);return _0x49a571[_0x4f3bd7(0x231)]=this[_0x4f3bd7(0x231)][_0x4f3bd7(0x424)](),_0x49a571;},'_minBufferSize':0x0});_0x4ac12a[_0x148956(0x36b)]=_0x253988[_0x148956(0x4a6)]({'cfg':_0x179f19['extend'](),'init':function(_0x328543){var _0xe1a81b=_0x148956;this['cfg']=this[_0xe1a81b(0x299)]['extend'](_0x328543),this[_0xe1a81b(0x4f9)]();},'reset':function(){var _0x54951c=_0x148956;_0x253988[_0x54951c(0x4f9)][_0x54951c(0x2ea)](this),this[_0x54951c(0x4e4)]();},'update':function(_0x450b98){var _0xec3f1d=_0x148956;return this[_0xec3f1d(0x410)](_0x450b98),this['_process'](),this;},'finalize':function(_0x474648){var _0x490f01=_0x148956;_0x474648&&this[_0x490f01(0x410)](_0x474648);var _0x5b9584=this[_0x490f01(0x243)]();return _0x5b9584;},'blockSize':0x10,'_createHelper':function(_0x3cce2b){return function(_0x209e33,_0x29615e){var _0x103f09=_0x2cbf;return new _0x3cce2b[(_0x103f09(0x391))](_0x29615e)['finalize'](_0x209e33);};},'_createHmacHelper':function(_0x232fba){return function(_0x3a4e71,_0x36d16b){var _0x559eac=_0x2cbf;return new _0xe93485[(_0x559eac(0x4fb))]['init'](_0x232fba,_0x36d16b)['finalize'](_0x3a4e71);};}});var _0xe93485=_0x57fd71[_0x148956(0x462)]={};return _0x57fd71;}(Math);return _0x53db1d;}));}(Ie)),Ie[_0x1ed05a(0x37e)];}var pe={'exports':{}},Ci=pe['exports'],ze;function Et(){var _0x546209=_0x261c0a;return ze||(ze=0x1,function(_0x6f3857,_0x2ad615){(function(_0x4c8100,_0x2274fe){var _0x58bd05=_0x2cbf;_0x6f3857[_0x58bd05(0x37e)]=_0x2274fe(Q());}(Ci,function(_0x432ff5){var _0x1fc544=_0x2cbf;return(function(){var _0x4391c0=_0x2cbf,_0x20a52a=_0x432ff5,_0x34ed4c=_0x20a52a[_0x4391c0(0x470)],_0x297aa1=_0x34ed4c[_0x4391c0(0x4ae)],_0x1e533e=_0x20a52a[_0x4391c0(0x48f)];_0x1e533e[_0x4391c0(0x41f)]={'stringify':function(_0x215818){var _0x1c83f5=_0x4391c0,_0x2d3005=_0x215818[_0x1c83f5(0x411)],_0x2e60da=_0x215818['sigBytes'],_0x7c3b52=this[_0x1c83f5(0x413)];_0x215818[_0x1c83f5(0x22e)]();for(var _0x4baa21=[],_0x37eaf7=0x0;_0x37eaf7<_0x2e60da;_0x37eaf7+=0x3)for(var _0x23c348=_0x2d3005[_0x37eaf7>>>0x2]>>>0x18-_0x37eaf7%0x4*0x8&0xff,_0x428035=_0x2d3005[_0x37eaf7+0x1>>>0x2]>>>0x18-(_0x37eaf7+0x1)%0x4*0x8&0xff,_0x4e2d1c=_0x2d3005[_0x37eaf7+0x2>>>0x2]>>>0x18-(_0x37eaf7+0x2)%0x4*0x8&0xff,_0x2b8dc3=_0x23c348<<0x10|_0x428035<<0x8|_0x4e2d1c,_0x26ffbf=0x0;_0x26ffbf<0x4&&_0x37eaf7+_0x26ffbf*0.75<_0x2e60da;_0x26ffbf++)_0x4baa21[_0x1c83f5(0x3cb)](_0x7c3b52[_0x1c83f5(0x2c8)](_0x2b8dc3>>>0x6*(0x3-_0x26ffbf)&0x3f));var _0x2c7497=_0x7c3b52[_0x1c83f5(0x2c8)](0x40);if(_0x2c7497){for(;_0x4baa21[_0x1c83f5(0x249)]%0x4;)_0x4baa21[_0x1c83f5(0x3cb)](_0x2c7497);}return _0x4baa21[_0x1c83f5(0x269)]('');},'parse':function(_0x5c8420){var _0xfeec90=_0x4391c0,_0x3a2186=_0x5c8420[_0xfeec90(0x249)],_0x16466b=this[_0xfeec90(0x413)],_0x5ee6db=this[_0xfeec90(0x494)];if(!_0x5ee6db){_0x5ee6db=this[_0xfeec90(0x494)]=[];for(var _0x5adc79=0x0;_0x5adc79<_0x16466b[_0xfeec90(0x249)];_0x5adc79++)_0x5ee6db[_0x16466b[_0xfeec90(0x4c3)](_0x5adc79)]=_0x5adc79;}var _0x528d7a=_0x16466b['charAt'](0x40);if(_0x528d7a){var _0x20176e=_0x5c8420[_0xfeec90(0x2c9)](_0x528d7a);_0x20176e!==-0x1&&(_0x3a2186=_0x20176e);}return _0x5c8e85(_0x5c8420,_0x3a2186,_0x5ee6db);},'_map':_0x4391c0(0x46f)};function _0x5c8e85(_0x143cdf,_0x435afc,_0x57061d){var _0x455591=_0x4391c0;for(var _0x3a132a=[],_0x2636f6=0x0,_0x14c182=0x0;_0x14c182<_0x435afc;_0x14c182++)if(_0x14c182%0x4){var _0x6de051=_0x57061d[_0x143cdf['charCodeAt'](_0x14c182-0x1)]<<_0x14c182%0x4*0x2,_0x23bf31=_0x57061d[_0x143cdf[_0x455591(0x4c3)](_0x14c182)]>>>0x6-_0x14c182%0x4*0x2,_0x92ccbc=_0x6de051|_0x23bf31;_0x3a132a[_0x2636f6>>>0x2]|=_0x92ccbc<<0x18-_0x2636f6%0x4*0x8,_0x2636f6++;}return _0x297aa1[_0x455591(0x505)](_0x3a132a,_0x2636f6);}}()),_0x432ff5[_0x1fc544(0x48f)][_0x1fc544(0x41f)];}));}(pe)),pe[_0x546209(0x37e)];}var me={'exports':{}},Ti=me[_0x261c0a(0x37e)],Je;function bi(){return Je||(Je=0x1,function(_0x5de780,_0x1e842e){(function(_0x2b0a30,_0x488d9e){var _0x586c15=_0x2cbf;_0x5de780[_0x586c15(0x37e)]=_0x488d9e(Q());}(Ti,function(_0x5e6258){var _0x5233d4=_0x2cbf;return function(_0x140d60){var _0x17e946=_0x2cbf,_0x651299=_0x5e6258,_0x2c221d=_0x651299[_0x17e946(0x470)],_0x2c24bc=_0x2c221d[_0x17e946(0x4ae)],_0x81df70=_0x2c221d['Hasher'],_0x2aa354=_0x651299['algo'],_0xedf1e9=[];(function(){var _0x5b1364=_0x17e946;for(var _0x5b10de=0x0;_0x5b10de<0x40;_0x5b10de++)_0xedf1e9[_0x5b10de]=_0x140d60['abs'](_0x140d60[_0x5b1364(0x1df)](_0x5b10de+0x1))*0x100000000|0x0;}());var _0x730fbd=_0x2aa354[_0x17e946(0x247)]=_0x81df70['extend']({'_doReset':function(){var _0x1b9ced=_0x17e946;this[_0x1b9ced(0x44f)]=new _0x2c24bc[(_0x1b9ced(0x391))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4cf1ec,_0x51c407){for(var _0x4f1561=0x0;_0x4f1561<0x10;_0x4f1561++){var _0x4bf837=_0x51c407+_0x4f1561,_0x53856b=_0x4cf1ec[_0x4bf837];_0x4cf1ec[_0x4bf837]=(_0x53856b<<0x8|_0x53856b>>>0x18)&0xff00ff|(_0x53856b<<0x18|_0x53856b>>>0x8)&0xff00ff00;}var _0x4ec116=this['_hash']['words'],_0x2bab04=_0x4cf1ec[_0x51c407+0x0],_0x4874af=_0x4cf1ec[_0x51c407+0x1],_0x184f48=_0x4cf1ec[_0x51c407+0x2],_0x593e75=_0x4cf1ec[_0x51c407+0x3],_0x512898=_0x4cf1ec[_0x51c407+0x4],_0x1a0b89=_0x4cf1ec[_0x51c407+0x5],_0xfda5d8=_0x4cf1ec[_0x51c407+0x6],_0x1fe923=_0x4cf1ec[_0x51c407+0x7],_0xba8270=_0x4cf1ec[_0x51c407+0x8],_0x3c40f1=_0x4cf1ec[_0x51c407+0x9],_0xfac0d1=_0x4cf1ec[_0x51c407+0xa],_0x58dfd3=_0x4cf1ec[_0x51c407+0xb],_0x39d7b9=_0x4cf1ec[_0x51c407+0xc],_0x36e437=_0x4cf1ec[_0x51c407+0xd],_0x5b6fad=_0x4cf1ec[_0x51c407+0xe],_0x4d90e7=_0x4cf1ec[_0x51c407+0xf],_0x4d7316=_0x4ec116[0x0],_0x27cfd2=_0x4ec116[0x1],_0x5f1225=_0x4ec116[0x2],_0x4019b6=_0x4ec116[0x3];_0x4d7316=_0x3c4baa(_0x4d7316,_0x27cfd2,_0x5f1225,_0x4019b6,_0x2bab04,0x7,_0xedf1e9[0x0]),_0x4019b6=_0x3c4baa(_0x4019b6,_0x4d7316,_0x27cfd2,_0x5f1225,_0x4874af,0xc,_0xedf1e9[0x1]),_0x5f1225=_0x3c4baa(_0x5f1225,_0x4019b6,_0x4d7316,_0x27cfd2,_0x184f48,0x11,_0xedf1e9[0x2]),_0x27cfd2=_0x3c4baa(_0x27cfd2,_0x5f1225,_0x4019b6,_0x4d7316,_0x593e75,0x16,_0xedf1e9[0x3]),_0x4d7316=_0x3c4baa(_0x4d7316,_0x27cfd2,_0x5f1225,_0x4019b6,_0x512898,0x7,_0xedf1e9[0x4]),_0x4019b6=_0x3c4baa(_0x4019b6,_0x4d7316,_0x27cfd2,_0x5f1225,_0x1a0b89,0xc,_0xedf1e9[0x5]),_0x5f1225=_0x3c4baa(_0x5f1225,_0x4019b6,_0x4d7316,_0x27cfd2,_0xfda5d8,0x11,_0xedf1e9[0x6]),_0x27cfd2=_0x3c4baa(_0x27cfd2,_0x5f1225,_0x4019b6,_0x4d7316,_0x1fe923,0x16,_0xedf1e9[0x7]),_0x4d7316=_0x3c4baa(_0x4d7316,_0x27cfd2,_0x5f1225,_0x4019b6,_0xba8270,0x7,_0xedf1e9[0x8]),_0x4019b6=_0x3c4baa(_0x4019b6,_0x4d7316,_0x27cfd2,_0x5f1225,_0x3c40f1,0xc,_0xedf1e9[0x9]),_0x5f1225=_0x3c4baa(_0x5f1225,_0x4019b6,_0x4d7316,_0x27cfd2,_0xfac0d1,0x11,_0xedf1e9[0xa]),_0x27cfd2=_0x3c4baa(_0x27cfd2,_0x5f1225,_0x4019b6,_0x4d7316,_0x58dfd3,0x16,_0xedf1e9[0xb]),_0x4d7316=_0x3c4baa(_0x4d7316,_0x27cfd2,_0x5f1225,_0x4019b6,_0x39d7b9,0x7,_0xedf1e9[0xc]),_0x4019b6=_0x3c4baa(_0x4019b6,_0x4d7316,_0x27cfd2,_0x5f1225,_0x36e437,0xc,_0xedf1e9[0xd]),_0x5f1225=_0x3c4baa(_0x5f1225,_0x4019b6,_0x4d7316,_0x27cfd2,_0x5b6fad,0x11,_0xedf1e9[0xe]),_0x27cfd2=_0x3c4baa(_0x27cfd2,_0x5f1225,_0x4019b6,_0x4d7316,_0x4d90e7,0x16,_0xedf1e9[0xf]),_0x4d7316=_0x56d543(_0x4d7316,_0x27cfd2,_0x5f1225,_0x4019b6,_0x4874af,0x5,_0xedf1e9[0x10]),_0x4019b6=_0x56d543(_0x4019b6,_0x4d7316,_0x27cfd2,_0x5f1225,_0xfda5d8,0x9,_0xedf1e9[0x11]),_0x5f1225=_0x56d543(_0x5f1225,_0x4019b6,_0x4d7316,_0x27cfd2,_0x58dfd3,0xe,_0xedf1e9[0x12]),_0x27cfd2=_0x56d543(_0x27cfd2,_0x5f1225,_0x4019b6,_0x4d7316,_0x2bab04,0x14,_0xedf1e9[0x13]),_0x4d7316=_0x56d543(_0x4d7316,_0x27cfd2,_0x5f1225,_0x4019b6,_0x1a0b89,0x5,_0xedf1e9[0x14]),_0x4019b6=_0x56d543(_0x4019b6,_0x4d7316,_0x27cfd2,_0x5f1225,_0xfac0d1,0x9,_0xedf1e9[0x15]),_0x5f1225=_0x56d543(_0x5f1225,_0x4019b6,_0x4d7316,_0x27cfd2,_0x4d90e7,0xe,_0xedf1e9[0x16]),_0x27cfd2=_0x56d543(_0x27cfd2,_0x5f1225,_0x4019b6,_0x4d7316,_0x512898,0x14,_0xedf1e9[0x17]),_0x4d7316=_0x56d543(_0x4d7316,_0x27cfd2,_0x5f1225,_0x4019b6,_0x3c40f1,0x5,_0xedf1e9[0x18]),_0x4019b6=_0x56d543(_0x4019b6,_0x4d7316,_0x27cfd2,_0x5f1225,_0x5b6fad,0x9,_0xedf1e9[0x19]),_0x5f1225=_0x56d543(_0x5f1225,_0x4019b6,_0x4d7316,_0x27cfd2,_0x593e75,0xe,_0xedf1e9[0x1a]),_0x27cfd2=_0x56d543(_0x27cfd2,_0x5f1225,_0x4019b6,_0x4d7316,_0xba8270,0x14,_0xedf1e9[0x1b]),_0x4d7316=_0x56d543(_0x4d7316,_0x27cfd2,_0x5f1225,_0x4019b6,_0x36e437,0x5,_0xedf1e9[0x1c]),_0x4019b6=_0x56d543(_0x4019b6,_0x4d7316,_0x27cfd2,_0x5f1225,_0x184f48,0x9,_0xedf1e9[0x1d]),_0x5f1225=_0x56d543(_0x5f1225,_0x4019b6,_0x4d7316,_0x27cfd2,_0x1fe923,0xe,_0xedf1e9[0x1e]),_0x27cfd2=_0x56d543(_0x27cfd2,_0x5f1225,_0x4019b6,_0x4d7316,_0x39d7b9,0x14,_0xedf1e9[0x1f]),_0x4d7316=_0x5d2081(_0x4d7316,_0x27cfd2,_0x5f1225,_0x4019b6,_0x1a0b89,0x4,_0xedf1e9[0x20]),_0x4019b6=_0x5d2081(_0x4019b6,_0x4d7316,_0x27cfd2,_0x5f1225,_0xba8270,0xb,_0xedf1e9[0x21]),_0x5f1225=_0x5d2081(_0x5f1225,_0x4019b6,_0x4d7316,_0x27cfd2,_0x58dfd3,0x10,_0xedf1e9[0x22]),_0x27cfd2=_0x5d2081(_0x27cfd2,_0x5f1225,_0x4019b6,_0x4d7316,_0x5b6fad,0x17,_0xedf1e9[0x23]),_0x4d7316=_0x5d2081(_0x4d7316,_0x27cfd2,_0x5f1225,_0x4019b6,_0x4874af,0x4,_0xedf1e9[0x24]),_0x4019b6=_0x5d2081(_0x4019b6,_0x4d7316,_0x27cfd2,_0x5f1225,_0x512898,0xb,_0xedf1e9[0x25]),_0x5f1225=_0x5d2081(_0x5f1225,_0x4019b6,_0x4d7316,_0x27cfd2,_0x1fe923,0x10,_0xedf1e9[0x26]),_0x27cfd2=_0x5d2081(_0x27cfd2,_0x5f1225,_0x4019b6,_0x4d7316,_0xfac0d1,0x17,_0xedf1e9[0x27]),_0x4d7316=_0x5d2081(_0x4d7316,_0x27cfd2,_0x5f1225,_0x4019b6,_0x36e437,0x4,_0xedf1e9[0x28]),_0x4019b6=_0x5d2081(_0x4019b6,_0x4d7316,_0x27cfd2,_0x5f1225,_0x2bab04,0xb,_0xedf1e9[0x29]),_0x5f1225=_0x5d2081(_0x5f1225,_0x4019b6,_0x4d7316,_0x27cfd2,_0x593e75,0x10,_0xedf1e9[0x2a]),_0x27cfd2=_0x5d2081(_0x27cfd2,_0x5f1225,_0x4019b6,_0x4d7316,_0xfda5d8,0x17,_0xedf1e9[0x2b]),_0x4d7316=_0x5d2081(_0x4d7316,_0x27cfd2,_0x5f1225,_0x4019b6,_0x3c40f1,0x4,_0xedf1e9[0x2c]),_0x4019b6=_0x5d2081(_0x4019b6,_0x4d7316,_0x27cfd2,_0x5f1225,_0x39d7b9,0xb,_0xedf1e9[0x2d]),_0x5f1225=_0x5d2081(_0x5f1225,_0x4019b6,_0x4d7316,_0x27cfd2,_0x4d90e7,0x10,_0xedf1e9[0x2e]),_0x27cfd2=_0x5d2081(_0x27cfd2,_0x5f1225,_0x4019b6,_0x4d7316,_0x184f48,0x17,_0xedf1e9[0x2f]),_0x4d7316=_0x41fb55(_0x4d7316,_0x27cfd2,_0x5f1225,_0x4019b6,_0x2bab04,0x6,_0xedf1e9[0x30]),_0x4019b6=_0x41fb55(_0x4019b6,_0x4d7316,_0x27cfd2,_0x5f1225,_0x1fe923,0xa,_0xedf1e9[0x31]),_0x5f1225=_0x41fb55(_0x5f1225,_0x4019b6,_0x4d7316,_0x27cfd2,_0x5b6fad,0xf,_0xedf1e9[0x32]),_0x27cfd2=_0x41fb55(_0x27cfd2,_0x5f1225,_0x4019b6,_0x4d7316,_0x1a0b89,0x15,_0xedf1e9[0x33]),_0x4d7316=_0x41fb55(_0x4d7316,_0x27cfd2,_0x5f1225,_0x4019b6,_0x39d7b9,0x6,_0xedf1e9[0x34]),_0x4019b6=_0x41fb55(_0x4019b6,_0x4d7316,_0x27cfd2,_0x5f1225,_0x593e75,0xa,_0xedf1e9[0x35]),_0x5f1225=_0x41fb55(_0x5f1225,_0x4019b6,_0x4d7316,_0x27cfd2,_0xfac0d1,0xf,_0xedf1e9[0x36]),_0x27cfd2=_0x41fb55(_0x27cfd2,_0x5f1225,_0x4019b6,_0x4d7316,_0x4874af,0x15,_0xedf1e9[0x37]),_0x4d7316=_0x41fb55(_0x4d7316,_0x27cfd2,_0x5f1225,_0x4019b6,_0xba8270,0x6,_0xedf1e9[0x38]),_0x4019b6=_0x41fb55(_0x4019b6,_0x4d7316,_0x27cfd2,_0x5f1225,_0x4d90e7,0xa,_0xedf1e9[0x39]),_0x5f1225=_0x41fb55(_0x5f1225,_0x4019b6,_0x4d7316,_0x27cfd2,_0xfda5d8,0xf,_0xedf1e9[0x3a]),_0x27cfd2=_0x41fb55(_0x27cfd2,_0x5f1225,_0x4019b6,_0x4d7316,_0x36e437,0x15,_0xedf1e9[0x3b]),_0x4d7316=_0x41fb55(_0x4d7316,_0x27cfd2,_0x5f1225,_0x4019b6,_0x512898,0x6,_0xedf1e9[0x3c]),_0x4019b6=_0x41fb55(_0x4019b6,_0x4d7316,_0x27cfd2,_0x5f1225,_0x58dfd3,0xa,_0xedf1e9[0x3d]),_0x5f1225=_0x41fb55(_0x5f1225,_0x4019b6,_0x4d7316,_0x27cfd2,_0x184f48,0xf,_0xedf1e9[0x3e]),_0x27cfd2=_0x41fb55(_0x27cfd2,_0x5f1225,_0x4019b6,_0x4d7316,_0x3c40f1,0x15,_0xedf1e9[0x3f]),_0x4ec116[0x0]=_0x4ec116[0x0]+_0x4d7316|0x0,_0x4ec116[0x1]=_0x4ec116[0x1]+_0x27cfd2|0x0,_0x4ec116[0x2]=_0x4ec116[0x2]+_0x5f1225|0x0,_0x4ec116[0x3]=_0x4ec116[0x3]+_0x4019b6|0x0;},'_doFinalize':function(){var _0x248c06=_0x17e946,_0x4b9ae0=this[_0x248c06(0x231)],_0x1653ca=_0x4b9ae0[_0x248c06(0x411)],_0xa077bf=this[_0x248c06(0x1ea)]*0x8,_0xa9a7fc=_0x4b9ae0[_0x248c06(0x32e)]*0x8;_0x1653ca[_0xa9a7fc>>>0x5]|=0x80<<0x18-_0xa9a7fc%0x20;var _0x967b6c=_0x140d60[_0x248c06(0x22a)](_0xa077bf/0x100000000),_0x1ea1e7=_0xa077bf;_0x1653ca[(_0xa9a7fc+0x40>>>0x9<<0x4)+0xf]=(_0x967b6c<<0x8|_0x967b6c>>>0x18)&0xff00ff|(_0x967b6c<<0x18|_0x967b6c>>>0x8)&0xff00ff00,_0x1653ca[(_0xa9a7fc+0x40>>>0x9<<0x4)+0xe]=(_0x1ea1e7<<0x8|_0x1ea1e7>>>0x18)&0xff00ff|(_0x1ea1e7<<0x18|_0x1ea1e7>>>0x8)&0xff00ff00,_0x4b9ae0[_0x248c06(0x32e)]=(_0x1653ca[_0x248c06(0x249)]+0x1)*0x4,this[_0x248c06(0x271)]();for(var _0x1b8b8e=this[_0x248c06(0x44f)],_0x5c8ba3=_0x1b8b8e[_0x248c06(0x411)],_0x27b306=0x0;_0x27b306<0x4;_0x27b306++){var _0x48ba0d=_0x5c8ba3[_0x27b306];_0x5c8ba3[_0x27b306]=(_0x48ba0d<<0x8|_0x48ba0d>>>0x18)&0xff00ff|(_0x48ba0d<<0x18|_0x48ba0d>>>0x8)&0xff00ff00;}return _0x1b8b8e;},'clone':function(){var _0x56ab02=_0x17e946,_0x3c5153=_0x81df70['clone'][_0x56ab02(0x2ea)](this);return _0x3c5153['_hash']=this['_hash'][_0x56ab02(0x424)](),_0x3c5153;}});function _0x3c4baa(_0xc21d6c,_0x4c0932,_0x326dc5,_0xf9f76f,_0xd45550,_0x533170,_0x560d1e){var _0x494223=_0xc21d6c+(_0x4c0932&_0x326dc5|~_0x4c0932&_0xf9f76f)+_0xd45550+_0x560d1e;return(_0x494223<<_0x533170|_0x494223>>>0x20-_0x533170)+_0x4c0932;}function _0x56d543(_0x3770bd,_0x5a90ba,_0x54f4ed,_0x43b498,_0x49bac4,_0x193e92,_0x14b14a){var _0x4238c=_0x3770bd+(_0x5a90ba&_0x43b498|_0x54f4ed&~_0x43b498)+_0x49bac4+_0x14b14a;return(_0x4238c<<_0x193e92|_0x4238c>>>0x20-_0x193e92)+_0x5a90ba;}function _0x5d2081(_0x203005,_0x52571f,_0x4a40be,_0x30a70a,_0x577fcc,_0x233a98,_0x56f736){var _0x3b70ec=_0x203005+(_0x52571f^_0x4a40be^_0x30a70a)+_0x577fcc+_0x56f736;return(_0x3b70ec<<_0x233a98|_0x3b70ec>>>0x20-_0x233a98)+_0x52571f;}function _0x41fb55(_0x132536,_0x24df66,_0x14b31c,_0x44ac0f,_0x386386,_0x2b11ef,_0x767205){var _0x12c88d=_0x132536+(_0x14b31c^(_0x24df66|~_0x44ac0f))+_0x386386+_0x767205;return(_0x12c88d<<_0x2b11ef|_0x12c88d>>>0x20-_0x2b11ef)+_0x24df66;}_0x651299[_0x17e946(0x247)]=_0x81df70[_0x17e946(0x23d)](_0x730fbd),_0x651299[_0x17e946(0x2d0)]=_0x81df70[_0x17e946(0x47c)](_0x730fbd);}(Math),_0x5e6258[_0x5233d4(0x247)];}));}(me)),me['exports'];}var ge={'exports':{}},Ee={'exports':{}},Oi=Ee[_0x261c0a(0x37e)],Xe;function Ri(){var _0x112688=_0x261c0a;return Xe||(Xe=0x1,function(_0x4c186b,_0x4d92b7){(function(_0x26f7e0,_0x2bf2fc){var _0xfa762b=_0x2cbf;_0x4c186b[_0xfa762b(0x37e)]=_0x2bf2fc(Q());}(Oi,function(_0x5b30c5){var _0x412684=_0x2cbf;return(function(){var _0x30627c=_0x2cbf,_0x478a32=_0x5b30c5,_0x463698=_0x478a32[_0x30627c(0x470)],_0x4c46cd=_0x463698[_0x30627c(0x4ae)],_0x2e84f6=_0x463698[_0x30627c(0x36b)],_0x3f67ad=_0x478a32['algo'],_0x5717b0=[],_0x58bf4e=_0x3f67ad[_0x30627c(0x4de)]=_0x2e84f6[_0x30627c(0x4a6)]({'_doReset':function(){var _0x38e140=_0x30627c;this[_0x38e140(0x44f)]=new _0x4c46cd['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x447c23,_0x4bb3a3){var _0x25368a=_0x30627c;for(var _0xc5ddd1=this[_0x25368a(0x44f)]['words'],_0x29ead9=_0xc5ddd1[0x0],_0x171b45=_0xc5ddd1[0x1],_0x49ea28=_0xc5ddd1[0x2],_0x39e177=_0xc5ddd1[0x3],_0x304b0d=_0xc5ddd1[0x4],_0x5c7a35=0x0;_0x5c7a35<0x50;_0x5c7a35++){if(_0x5c7a35<0x10)_0x5717b0[_0x5c7a35]=_0x447c23[_0x4bb3a3+_0x5c7a35]|0x0;else{var _0x248e6c=_0x5717b0[_0x5c7a35-0x3]^_0x5717b0[_0x5c7a35-0x8]^_0x5717b0[_0x5c7a35-0xe]^_0x5717b0[_0x5c7a35-0x10];_0x5717b0[_0x5c7a35]=_0x248e6c<<0x1|_0x248e6c>>>0x1f;}var _0x2719f2=(_0x29ead9<<0x5|_0x29ead9>>>0x1b)+_0x304b0d+_0x5717b0[_0x5c7a35];_0x5c7a35<0x14?_0x2719f2+=(_0x171b45&_0x49ea28|~_0x171b45&_0x39e177)+0x5a827999:_0x5c7a35<0x28?_0x2719f2+=(_0x171b45^_0x49ea28^_0x39e177)+0x6ed9eba1:_0x5c7a35<0x3c?_0x2719f2+=(_0x171b45&_0x49ea28|_0x171b45&_0x39e177|_0x49ea28&_0x39e177)-0x70e44324:_0x2719f2+=(_0x171b45^_0x49ea28^_0x39e177)-0x359d3e2a,_0x304b0d=_0x39e177,_0x39e177=_0x49ea28,_0x49ea28=_0x171b45<<0x1e|_0x171b45>>>0x2,_0x171b45=_0x29ead9,_0x29ead9=_0x2719f2;}_0xc5ddd1[0x0]=_0xc5ddd1[0x0]+_0x29ead9|0x0,_0xc5ddd1[0x1]=_0xc5ddd1[0x1]+_0x171b45|0x0,_0xc5ddd1[0x2]=_0xc5ddd1[0x2]+_0x49ea28|0x0,_0xc5ddd1[0x3]=_0xc5ddd1[0x3]+_0x39e177|0x0,_0xc5ddd1[0x4]=_0xc5ddd1[0x4]+_0x304b0d|0x0;},'_doFinalize':function(){var _0x284384=_0x30627c,_0x385d6d=this[_0x284384(0x231)],_0x554c83=_0x385d6d['words'],_0x5942ea=this[_0x284384(0x1ea)]*0x8,_0x1649d5=_0x385d6d[_0x284384(0x32e)]*0x8;return _0x554c83[_0x1649d5>>>0x5]|=0x80<<0x18-_0x1649d5%0x20,_0x554c83[(_0x1649d5+0x40>>>0x9<<0x4)+0xe]=Math[_0x284384(0x22a)](_0x5942ea/0x100000000),_0x554c83[(_0x1649d5+0x40>>>0x9<<0x4)+0xf]=_0x5942ea,_0x385d6d[_0x284384(0x32e)]=_0x554c83[_0x284384(0x249)]*0x4,this[_0x284384(0x271)](),this[_0x284384(0x44f)];},'clone':function(){var _0x58ea7b=_0x30627c,_0x199e9a=_0x2e84f6['clone'][_0x58ea7b(0x2ea)](this);return _0x199e9a[_0x58ea7b(0x44f)]=this['_hash'][_0x58ea7b(0x424)](),_0x199e9a;}});_0x478a32[_0x30627c(0x4de)]=_0x2e84f6[_0x30627c(0x23d)](_0x58bf4e),_0x478a32[_0x30627c(0x488)]=_0x2e84f6['_createHmacHelper'](_0x58bf4e);}()),_0x5b30c5[_0x412684(0x4de)];}));}(Ee)),Ee[_0x112688(0x37e)];}var Ce={'exports':{}},yi=Ce[_0x261c0a(0x37e)],Ze;function Ni(){var _0x47aa25=_0x261c0a;return Ze||(Ze=0x1,function(_0xee1fc5,_0x3f0dad){(function(_0x2c1616,_0xf4164a){var _0xe31d7e=_0x2cbf;_0xee1fc5[_0xe31d7e(0x37e)]=_0xf4164a(Q());}(yi,function(_0x162710){(function(){var _0x368111=_0x2cbf,_0x59a0c4=_0x162710,_0x46ebeb=_0x59a0c4[_0x368111(0x470)],_0x17905a=_0x46ebeb[_0x368111(0x27a)],_0x56b525=_0x59a0c4[_0x368111(0x48f)],_0x49d4d2=_0x56b525[_0x368111(0x43d)],_0x2bcb7b=_0x59a0c4[_0x368111(0x462)];_0x2bcb7b[_0x368111(0x4fb)]=_0x17905a['extend']({'init':function(_0x251c5e,_0x48e74b){var _0x405b74=_0x368111;_0x251c5e=this[_0x405b74(0x399)]=new _0x251c5e[(_0x405b74(0x391))](),typeof _0x48e74b=='string'&&(_0x48e74b=_0x49d4d2[_0x405b74(0x208)](_0x48e74b));var _0x37b2e8=_0x251c5e[_0x405b74(0x24f)],_0x3c9438=_0x37b2e8*0x4;_0x48e74b[_0x405b74(0x32e)]>_0x3c9438&&(_0x48e74b=_0x251c5e['finalize'](_0x48e74b)),_0x48e74b[_0x405b74(0x22e)]();for(var _0x206271=this[_0x405b74(0x415)]=_0x48e74b[_0x405b74(0x424)](),_0x5ec9ce=this[_0x405b74(0x44e)]=_0x48e74b[_0x405b74(0x424)](),_0xa97243=_0x206271[_0x405b74(0x411)],_0x5804d6=_0x5ec9ce[_0x405b74(0x411)],_0x19df25=0x0;_0x19df25<_0x37b2e8;_0x19df25++)_0xa97243[_0x19df25]^=0x5c5c5c5c,_0x5804d6[_0x19df25]^=0x36363636;_0x206271['sigBytes']=_0x5ec9ce[_0x405b74(0x32e)]=_0x3c9438,this[_0x405b74(0x4f9)]();},'reset':function(){var _0xef528f=_0x368111,_0x29ac1c=this['_hasher'];_0x29ac1c[_0xef528f(0x4f9)](),_0x29ac1c[_0xef528f(0x223)](this[_0xef528f(0x44e)]);},'update':function(_0x325184){var _0x375cb2=_0x368111;return this['_hasher'][_0x375cb2(0x223)](_0x325184),this;},'finalize':function(_0x19aed9){var _0x47ecd5=_0x368111,_0x2bb7d9=this[_0x47ecd5(0x399)],_0x6db73f=_0x2bb7d9[_0x47ecd5(0x416)](_0x19aed9);_0x2bb7d9[_0x47ecd5(0x4f9)]();var _0x4fc6cd=_0x2bb7d9[_0x47ecd5(0x416)](this[_0x47ecd5(0x415)][_0x47ecd5(0x424)]()[_0x47ecd5(0x460)](_0x6db73f));return _0x4fc6cd;}});}());}));}(Ce)),Ce[_0x47aa25(0x37e)];}var Di=ge['exports'],Qe;function Ct(){var _0x190ded=_0x261c0a;return Qe||(Qe=0x1,function(_0x501384,_0x299dc2){(function(_0x58a624,_0x2e9e35,_0xa9b9a2){_0x501384['exports']=_0x2e9e35(Q(),Ri(),Ni());}(Di,function(_0x1da2e4){var _0x498c6e=_0x2cbf;return(function(){var _0x54de56=_0x2cbf,_0x1978f5=_0x1da2e4,_0x582963=_0x1978f5[_0x54de56(0x470)],_0x3e6cf5=_0x582963[_0x54de56(0x27a)],_0x545b13=_0x582963[_0x54de56(0x4ae)],_0x2caddb=_0x1978f5[_0x54de56(0x462)],_0x25de5a=_0x2caddb['MD5'],_0x4b4639=_0x2caddb[_0x54de56(0x353)]=_0x3e6cf5[_0x54de56(0x4a6)]({'cfg':_0x3e6cf5['extend']({'keySize':0x80/0x20,'hasher':_0x25de5a,'iterations':0x1}),'init':function(_0x159c61){var _0x548cc1=_0x54de56;this['cfg']=this['cfg'][_0x548cc1(0x4a6)](_0x159c61);},'compute':function(_0x7d5996,_0x5c1cec){var _0x2cfbaa=_0x54de56;for(var _0x32ea45,_0x51be49=this['cfg'],_0x1e7a58=_0x51be49[_0x2cfbaa(0x1e9)]['create'](),_0x8a5313=_0x545b13[_0x2cfbaa(0x505)](),_0x32bb91=_0x8a5313['words'],_0x1749a9=_0x51be49[_0x2cfbaa(0x369)],_0x186f14=_0x51be49[_0x2cfbaa(0x4fc)];_0x32bb91[_0x2cfbaa(0x249)]<_0x1749a9;){_0x32ea45&&_0x1e7a58[_0x2cfbaa(0x223)](_0x32ea45),_0x32ea45=_0x1e7a58['update'](_0x7d5996)[_0x2cfbaa(0x416)](_0x5c1cec),_0x1e7a58[_0x2cfbaa(0x4f9)]();for(var _0x291e45=0x1;_0x291e45<_0x186f14;_0x291e45++)_0x32ea45=_0x1e7a58[_0x2cfbaa(0x416)](_0x32ea45),_0x1e7a58[_0x2cfbaa(0x4f9)]();_0x8a5313['concat'](_0x32ea45);}return _0x8a5313[_0x2cfbaa(0x32e)]=_0x1749a9*0x4,_0x8a5313;}});_0x1978f5[_0x54de56(0x353)]=function(_0x42e754,_0x40d8d0,_0x419027){return _0x4b4639['create'](_0x419027)['compute'](_0x42e754,_0x40d8d0);};}()),_0x1da2e4[_0x498c6e(0x353)];}));}(ge)),ge[_0x190ded(0x37e)];}var Te={'exports':{}},Ui=Te[_0x261c0a(0x37e)],et;function Tt(){var _0x244a5a=_0x261c0a;return et||(et=0x1,function(_0x5f8bfb,_0x2786e3){(function(_0x563e26,_0x5cd4f8,_0x352ad8){var _0xff9b95=_0x2cbf;_0x5f8bfb[_0xff9b95(0x37e)]=_0x5cd4f8(Q(),Ct());}(Ui,function(_0x2b8d1c){var _0x5a7b50=_0x2cbf;_0x2b8d1c['lib'][_0x5a7b50(0x323)]||function(_0x702ae6){var _0x387d39=_0x5a7b50,_0x13828e=_0x2b8d1c,_0x1d1d12=_0x13828e[_0x387d39(0x470)],_0x512663=_0x1d1d12[_0x387d39(0x27a)],_0x32c20e=_0x1d1d12[_0x387d39(0x4ae)],_0x4a5944=_0x1d1d12[_0x387d39(0x209)],_0x26433e=_0x13828e['enc'];_0x26433e['Utf8'];var _0x4bd17b=_0x26433e[_0x387d39(0x41f)],_0x104f56=_0x13828e['algo'],_0x41430e=_0x104f56[_0x387d39(0x353)],_0x414b1c=_0x1d1d12[_0x387d39(0x323)]=_0x4a5944[_0x387d39(0x4a6)]({'cfg':_0x512663['extend'](),'createEncryptor':function(_0x1a488b,_0x438871){var _0x2ec55a=_0x387d39;return this[_0x2ec55a(0x505)](this[_0x2ec55a(0x41b)],_0x1a488b,_0x438871);},'createDecryptor':function(_0x3ed739,_0x1ce35e){var _0x199bbb=_0x387d39;return this[_0x199bbb(0x505)](this['_DEC_XFORM_MODE'],_0x3ed739,_0x1ce35e);},'init':function(_0x527f05,_0x3f03ff,_0x26ed5f){var _0x23fd63=_0x387d39;this[_0x23fd63(0x299)]=this[_0x23fd63(0x299)][_0x23fd63(0x4a6)](_0x26ed5f),this[_0x23fd63(0x482)]=_0x527f05,this[_0x23fd63(0x3bb)]=_0x3f03ff,this[_0x23fd63(0x4f9)]();},'reset':function(){var _0x25b2bc=_0x387d39;_0x4a5944[_0x25b2bc(0x4f9)][_0x25b2bc(0x2ea)](this),this[_0x25b2bc(0x4e4)]();},'process':function(_0x3ffbe9){var _0x7ab7bf=_0x387d39;return this[_0x7ab7bf(0x410)](_0x3ffbe9),this[_0x7ab7bf(0x271)]();},'finalize':function(_0x4dba7e){var _0x3c4d91=_0x387d39;_0x4dba7e&&this[_0x3c4d91(0x410)](_0x4dba7e);var _0x327ec4=this['_doFinalize']();return _0x327ec4;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x427c83(_0x3747b6){var _0xb709a5=_0x2cbf;return typeof _0x3747b6==_0xb709a5(0x4be)?_0x36a043:_0x2c453d;}return function(_0x1dd879){return{'encrypt':function(_0x28472d,_0x4c06f0,_0x4be4bc){var _0x5f2c8d=_0x2cbf;return _0x427c83(_0x4c06f0)[_0x5f2c8d(0x1e0)](_0x1dd879,_0x28472d,_0x4c06f0,_0x4be4bc);},'decrypt':function(_0x30096e,_0x432428,_0x7a200c){return _0x427c83(_0x432428)['decrypt'](_0x1dd879,_0x30096e,_0x432428,_0x7a200c);}};};}())});_0x1d1d12['StreamCipher']=_0x414b1c['extend']({'_doFinalize':function(){var _0x131b20=_0x387d39,_0x3cd7ae=this[_0x131b20(0x271)](!0x0);return _0x3cd7ae;},'blockSize':0x1});var _0x3cb47d=_0x13828e[_0x387d39(0x49e)]={},_0x447c00=_0x1d1d12['BlockCipherMode']=_0x512663['extend']({'createEncryptor':function(_0x8b5d49,_0x574d6b){var _0x27aa6e=_0x387d39;return this[_0x27aa6e(0x444)]['create'](_0x8b5d49,_0x574d6b);},'createDecryptor':function(_0x314169,_0x491d16){var _0xd864aa=_0x387d39;return this[_0xd864aa(0x1c6)][_0xd864aa(0x505)](_0x314169,_0x491d16);},'init':function(_0x78794d,_0x1cb3f8){var _0x6ab27a=_0x387d39;this['_cipher']=_0x78794d,this[_0x6ab27a(0x42d)]=_0x1cb3f8;}}),_0x972107=_0x3cb47d[_0x387d39(0x463)]=(function(){var _0x1f3d96=_0x387d39,_0x3c5053=_0x447c00[_0x1f3d96(0x4a6)]();_0x3c5053[_0x1f3d96(0x444)]=_0x3c5053[_0x1f3d96(0x4a6)]({'processBlock':function(_0xbccda7,_0x902a01){var _0x4334f5=_0x1f3d96,_0xf17fc7=this[_0x4334f5(0x2c1)],_0x2611e4=_0xf17fc7['blockSize'];_0x22bcb6[_0x4334f5(0x2ea)](this,_0xbccda7,_0x902a01,_0x2611e4),_0xf17fc7['encryptBlock'](_0xbccda7,_0x902a01),this['_prevBlock']=_0xbccda7[_0x4334f5(0x4f5)](_0x902a01,_0x902a01+_0x2611e4);}}),_0x3c5053[_0x1f3d96(0x1c6)]=_0x3c5053[_0x1f3d96(0x4a6)]({'processBlock':function(_0x741e1,_0x91613e){var _0x31116f=_0x1f3d96,_0x488f0=this[_0x31116f(0x2c1)],_0x24273c=_0x488f0[_0x31116f(0x24f)],_0x9647de=_0x741e1['slice'](_0x91613e,_0x91613e+_0x24273c);_0x488f0[_0x31116f(0x2f3)](_0x741e1,_0x91613e),_0x22bcb6['call'](this,_0x741e1,_0x91613e,_0x24273c),this[_0x31116f(0x345)]=_0x9647de;}});function _0x22bcb6(_0x3f8fe9,_0x54c9ec,_0x51ac69){var _0x27d8df=_0x1f3d96,_0x13a2ce,_0x1246bd=this[_0x27d8df(0x42d)];_0x1246bd?(_0x13a2ce=_0x1246bd,this['_iv']=_0x702ae6):_0x13a2ce=this[_0x27d8df(0x345)];for(var _0x229c02=0x0;_0x229c02<_0x51ac69;_0x229c02++)_0x3f8fe9[_0x54c9ec+_0x229c02]^=_0x13a2ce[_0x229c02];}return _0x3c5053;}()),_0x3fc7c1=_0x13828e['pad']={},_0x1cbe17=_0x3fc7c1['Pkcs7']={'pad':function(_0x50398a,_0x120da2){var _0x441a3b=_0x387d39;for(var _0x11b391=_0x120da2*0x4,_0x520b47=_0x11b391-_0x50398a[_0x441a3b(0x32e)]%_0x11b391,_0x87ed7=_0x520b47<<0x18|_0x520b47<<0x10|_0x520b47<<0x8|_0x520b47,_0x15040e=[],_0x26da94=0x0;_0x26da94<_0x520b47;_0x26da94+=0x4)_0x15040e['push'](_0x87ed7);var _0x307e43=_0x32c20e[_0x441a3b(0x505)](_0x15040e,_0x520b47);_0x50398a[_0x441a3b(0x460)](_0x307e43);},'unpad':function(_0x2681a2){var _0xfebd3c=_0x387d39,_0x4948a4=_0x2681a2['words'][_0x2681a2['sigBytes']-0x1>>>0x2]&0xff;_0x2681a2[_0xfebd3c(0x32e)]-=_0x4948a4;}};_0x1d1d12['BlockCipher']=_0x414b1c[_0x387d39(0x4a6)]({'cfg':_0x414b1c['cfg'][_0x387d39(0x4a6)]({'mode':_0x972107,'padding':_0x1cbe17}),'reset':function(){var _0x1d5321=_0x387d39,_0x284483;_0x414b1c[_0x1d5321(0x4f9)][_0x1d5321(0x2ea)](this);var _0x2c56bf=this[_0x1d5321(0x299)],_0x113481=_0x2c56bf['iv'],_0x42d622=_0x2c56bf[_0x1d5321(0x49e)];this['_xformMode']==this[_0x1d5321(0x41b)]?_0x284483=_0x42d622[_0x1d5321(0x279)]:(_0x284483=_0x42d622['createDecryptor'],this[_0x1d5321(0x370)]=0x1),this[_0x1d5321(0x30b)]&&this[_0x1d5321(0x30b)][_0x1d5321(0x412)]==_0x284483?this[_0x1d5321(0x30b)][_0x1d5321(0x391)](this,_0x113481&&_0x113481['words']):(this[_0x1d5321(0x30b)]=_0x284483[_0x1d5321(0x2ea)](_0x42d622,this,_0x113481&&_0x113481[_0x1d5321(0x411)]),this[_0x1d5321(0x30b)][_0x1d5321(0x412)]=_0x284483);},'_doProcessBlock':function(_0x25fd54,_0x4b5eeb){var _0x19f5d7=_0x387d39;this[_0x19f5d7(0x30b)]['processBlock'](_0x25fd54,_0x4b5eeb);},'_doFinalize':function(){var _0x35a1d7=_0x387d39,_0x7ef50b,_0x4aeb11=this[_0x35a1d7(0x299)]['padding'];return this[_0x35a1d7(0x482)]==this['_ENC_XFORM_MODE']?(_0x4aeb11[_0x35a1d7(0x228)](this['_data'],this['blockSize']),_0x7ef50b=this[_0x35a1d7(0x271)](!0x0)):(_0x7ef50b=this[_0x35a1d7(0x271)](!0x0),_0x4aeb11[_0x35a1d7(0x22f)](_0x7ef50b)),_0x7ef50b;},'blockSize':0x80/0x20});var _0x31e707=_0x1d1d12[_0x387d39(0x4ce)]=_0x512663['extend']({'init':function(_0x407189){var _0x31bf00=_0x387d39;this[_0x31bf00(0x30d)](_0x407189);},'toString':function(_0x40d7fe){var _0x1cb6b0=_0x387d39;return(_0x40d7fe||this[_0x1cb6b0(0x218)])[_0x1cb6b0(0x344)](this);}}),_0x576fb7=_0x13828e['format']={},_0x5a6085=_0x576fb7[_0x387d39(0x4fe)]={'stringify':function(_0x3e9e9a){var _0xcf9dc9=_0x387d39,_0xcf8a94,_0x5c3530=_0x3e9e9a[_0xcf9dc9(0x468)],_0x1249b0=_0x3e9e9a[_0xcf9dc9(0x288)];return _0x1249b0?_0xcf8a94=_0x32c20e[_0xcf9dc9(0x505)]([0x53616c74,0x65645f5f])[_0xcf9dc9(0x460)](_0x1249b0)[_0xcf9dc9(0x460)](_0x5c3530):_0xcf8a94=_0x5c3530,_0xcf8a94['toString'](_0x4bd17b);},'parse':function(_0x146b7c){var _0x3e7bd4=_0x387d39,_0x1cf866,_0x5eb86a=_0x4bd17b['parse'](_0x146b7c),_0x62acf4=_0x5eb86a['words'];return _0x62acf4[0x0]==0x53616c74&&_0x62acf4[0x1]==0x65645f5f&&(_0x1cf866=_0x32c20e[_0x3e7bd4(0x505)](_0x62acf4[_0x3e7bd4(0x4f5)](0x2,0x4)),_0x62acf4[_0x3e7bd4(0x3f3)](0x0,0x4),_0x5eb86a['sigBytes']-=0x10),_0x31e707[_0x3e7bd4(0x505)]({'ciphertext':_0x5eb86a,'salt':_0x1cf866});}},_0x2c453d=_0x1d1d12[_0x387d39(0x297)]=_0x512663[_0x387d39(0x4a6)]({'cfg':_0x512663[_0x387d39(0x4a6)]({'format':_0x5a6085}),'encrypt':function(_0x3766de,_0x64e734,_0x42e02b,_0x4de968){var _0x1c408e=_0x387d39;_0x4de968=this[_0x1c408e(0x299)][_0x1c408e(0x4a6)](_0x4de968);var _0x5623d2=_0x3766de[_0x1c408e(0x279)](_0x42e02b,_0x4de968),_0x5e9f04=_0x5623d2[_0x1c408e(0x416)](_0x64e734),_0x53e31a=_0x5623d2[_0x1c408e(0x299)];return _0x31e707[_0x1c408e(0x505)]({'ciphertext':_0x5e9f04,'key':_0x42e02b,'iv':_0x53e31a['iv'],'algorithm':_0x3766de,'mode':_0x53e31a[_0x1c408e(0x49e)],'padding':_0x53e31a[_0x1c408e(0x4e8)],'blockSize':_0x3766de['blockSize'],'formatter':_0x4de968[_0x1c408e(0x4cc)]});},'decrypt':function(_0x4e12be,_0x84dae,_0x572e26,_0x50aa6c){var _0x275b06=_0x387d39;_0x50aa6c=this[_0x275b06(0x299)][_0x275b06(0x4a6)](_0x50aa6c),_0x84dae=this[_0x275b06(0x2b8)](_0x84dae,_0x50aa6c[_0x275b06(0x4cc)]);var _0x1056c0=_0x4e12be[_0x275b06(0x2d6)](_0x572e26,_0x50aa6c)[_0x275b06(0x416)](_0x84dae[_0x275b06(0x468)]);return _0x1056c0;},'_parse':function(_0x5e1f90,_0x4f75e9){var _0x388e1f=_0x387d39;return typeof _0x5e1f90==_0x388e1f(0x4be)?_0x4f75e9[_0x388e1f(0x208)](_0x5e1f90,this):_0x5e1f90;}}),_0x300c1e=_0x13828e[_0x387d39(0x36a)]={},_0x341ced=_0x300c1e[_0x387d39(0x4fe)]={'execute':function(_0x102f02,_0x53d8ad,_0x91edbf,_0x373d5d,_0x1f6d58){var _0x7630f8=_0x387d39;if(_0x373d5d||(_0x373d5d=_0x32c20e['random'](0x40/0x8)),_0x1f6d58)var _0x57a080=_0x41430e[_0x7630f8(0x505)]({'keySize':_0x53d8ad+_0x91edbf,'hasher':_0x1f6d58})[_0x7630f8(0x41e)](_0x102f02,_0x373d5d);else var _0x57a080=_0x41430e[_0x7630f8(0x505)]({'keySize':_0x53d8ad+_0x91edbf})[_0x7630f8(0x41e)](_0x102f02,_0x373d5d);var _0xb3ccef=_0x32c20e[_0x7630f8(0x505)](_0x57a080[_0x7630f8(0x411)][_0x7630f8(0x4f5)](_0x53d8ad),_0x91edbf*0x4);return _0x57a080[_0x7630f8(0x32e)]=_0x53d8ad*0x4,_0x31e707[_0x7630f8(0x505)]({'key':_0x57a080,'iv':_0xb3ccef,'salt':_0x373d5d});}},_0x36a043=_0x1d1d12[_0x387d39(0x26f)]=_0x2c453d[_0x387d39(0x4a6)]({'cfg':_0x2c453d[_0x387d39(0x299)][_0x387d39(0x4a6)]({'kdf':_0x341ced}),'encrypt':function(_0x55a7a8,_0x2720b0,_0xb6eeee,_0x2e00e0){var _0xdaacb2=_0x387d39;_0x2e00e0=this[_0xdaacb2(0x299)]['extend'](_0x2e00e0);var _0xfc6568=_0x2e00e0['kdf'][_0xdaacb2(0x34f)](_0xb6eeee,_0x55a7a8[_0xdaacb2(0x369)],_0x55a7a8['ivSize'],_0x2e00e0['salt'],_0x2e00e0['hasher']);_0x2e00e0['iv']=_0xfc6568['iv'];var _0x3ea7bc=_0x2c453d[_0xdaacb2(0x1e0)]['call'](this,_0x55a7a8,_0x2720b0,_0xfc6568[_0xdaacb2(0x251)],_0x2e00e0);return _0x3ea7bc[_0xdaacb2(0x30d)](_0xfc6568),_0x3ea7bc;},'decrypt':function(_0x46efd7,_0x52c15e,_0x2617e6,_0x1ba9e7){var _0x2b7a7d=_0x387d39;_0x1ba9e7=this[_0x2b7a7d(0x299)][_0x2b7a7d(0x4a6)](_0x1ba9e7),_0x52c15e=this['_parse'](_0x52c15e,_0x1ba9e7['format']);var _0x2338e0=_0x1ba9e7[_0x2b7a7d(0x36a)][_0x2b7a7d(0x34f)](_0x2617e6,_0x46efd7[_0x2b7a7d(0x369)],_0x46efd7[_0x2b7a7d(0x1c9)],_0x52c15e[_0x2b7a7d(0x288)],_0x1ba9e7[_0x2b7a7d(0x1e9)]);_0x1ba9e7['iv']=_0x2338e0['iv'];var _0x35fd10=_0x2c453d[_0x2b7a7d(0x1a2)][_0x2b7a7d(0x2ea)](this,_0x46efd7,_0x52c15e,_0x2338e0['key'],_0x1ba9e7);return _0x35fd10;}});}();}));}(Te)),Te[_0x244a5a(0x37e)];}var Ai=fe['exports'],tt;function Pi(){var _0x1e7ae1=_0x261c0a;return tt||(tt=0x1,function(_0x1b6f84,_0x1fe26c){(function(_0x2cb845,_0x47322e,_0x3ce094){var _0x3e9bf2=_0x2cbf;_0x1b6f84[_0x3e9bf2(0x37e)]=_0x47322e(Q(),Et(),bi(),Ct(),Tt());}(Ai,function(_0x58b4c8){var _0x1b73a9=_0x2cbf;return(function(){var _0x257c3c=_0x2cbf,_0x3cfcb9=_0x58b4c8,_0x4e3e77=_0x3cfcb9[_0x257c3c(0x470)],_0x3f6de7=_0x4e3e77[_0x257c3c(0x1ff)],_0x42cc38=_0x3cfcb9['algo'],_0x481185=[],_0x3a8973=[],_0x76d2a7=[],_0x599ceb=[],_0x5bd0a9=[],_0x552d70=[],_0x14210a=[],_0x564d21=[],_0x1071a7=[],_0x47e3df=[];(function(){for(var _0x16a650=[],_0x145352=0x0;_0x145352<0x100;_0x145352++)_0x145352<0x80?_0x16a650[_0x145352]=_0x145352<<0x1:_0x16a650[_0x145352]=_0x145352<<0x1^0x11b;for(var _0x3b0af4=0x0,_0x2d41c0=0x0,_0x145352=0x0;_0x145352<0x100;_0x145352++){var _0x6b72f9=_0x2d41c0^_0x2d41c0<<0x1^_0x2d41c0<<0x2^_0x2d41c0<<0x3^_0x2d41c0<<0x4;_0x6b72f9=_0x6b72f9>>>0x8^_0x6b72f9&0xff^0x63,_0x481185[_0x3b0af4]=_0x6b72f9,_0x3a8973[_0x6b72f9]=_0x3b0af4;var _0x24f808=_0x16a650[_0x3b0af4],_0x4a02ce=_0x16a650[_0x24f808],_0x2e1dc6=_0x16a650[_0x4a02ce],_0x3a87cb=_0x16a650[_0x6b72f9]*0x101^_0x6b72f9*0x1010100;_0x76d2a7[_0x3b0af4]=_0x3a87cb<<0x18|_0x3a87cb>>>0x8,_0x599ceb[_0x3b0af4]=_0x3a87cb<<0x10|_0x3a87cb>>>0x10,_0x5bd0a9[_0x3b0af4]=_0x3a87cb<<0x8|_0x3a87cb>>>0x18,_0x552d70[_0x3b0af4]=_0x3a87cb;var _0x3a87cb=_0x2e1dc6*0x1010101^_0x4a02ce*0x10001^_0x24f808*0x101^_0x3b0af4*0x1010100;_0x14210a[_0x6b72f9]=_0x3a87cb<<0x18|_0x3a87cb>>>0x8,_0x564d21[_0x6b72f9]=_0x3a87cb<<0x10|_0x3a87cb>>>0x10,_0x1071a7[_0x6b72f9]=_0x3a87cb<<0x8|_0x3a87cb>>>0x18,_0x47e3df[_0x6b72f9]=_0x3a87cb,_0x3b0af4?(_0x3b0af4=_0x24f808^_0x16a650[_0x16a650[_0x16a650[_0x2e1dc6^_0x24f808]]],_0x2d41c0^=_0x16a650[_0x16a650[_0x2d41c0]]):_0x3b0af4=_0x2d41c0=0x1;}}());var _0x5ea702=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3e5107=_0x42cc38['AES']=_0x3f6de7['extend']({'_doReset':function(){var _0x370de0=_0x257c3c,_0xa3f10d;if(!(this['_nRounds']&&this['_keyPriorReset']===this['_key'])){for(var _0xc86adb=this['_keyPriorReset']=this['_key'],_0x315f78=_0xc86adb[_0x370de0(0x411)],_0x5bb428=_0xc86adb['sigBytes']/0x4,_0x423676=this[_0x370de0(0x20d)]=_0x5bb428+0x6,_0x414712=(_0x423676+0x1)*0x4,_0x5ec501=this[_0x370de0(0x4b0)]=[],_0x26f3da=0x0;_0x26f3da<_0x414712;_0x26f3da++)_0x26f3da<_0x5bb428?_0x5ec501[_0x26f3da]=_0x315f78[_0x26f3da]:(_0xa3f10d=_0x5ec501[_0x26f3da-0x1],_0x26f3da%_0x5bb428?_0x5bb428>0x6&&_0x26f3da%_0x5bb428==0x4&&(_0xa3f10d=_0x481185[_0xa3f10d>>>0x18]<<0x18|_0x481185[_0xa3f10d>>>0x10&0xff]<<0x10|_0x481185[_0xa3f10d>>>0x8&0xff]<<0x8|_0x481185[_0xa3f10d&0xff]):(_0xa3f10d=_0xa3f10d<<0x8|_0xa3f10d>>>0x18,_0xa3f10d=_0x481185[_0xa3f10d>>>0x18]<<0x18|_0x481185[_0xa3f10d>>>0x10&0xff]<<0x10|_0x481185[_0xa3f10d>>>0x8&0xff]<<0x8|_0x481185[_0xa3f10d&0xff],_0xa3f10d^=_0x5ea702[_0x26f3da/_0x5bb428|0x0]<<0x18),_0x5ec501[_0x26f3da]=_0x5ec501[_0x26f3da-_0x5bb428]^_0xa3f10d);for(var _0x18d6f5=this[_0x370de0(0x32b)]=[],_0x2b291d=0x0;_0x2b291d<_0x414712;_0x2b291d++){var _0x26f3da=_0x414712-_0x2b291d;if(_0x2b291d%0x4)var _0xa3f10d=_0x5ec501[_0x26f3da];else var _0xa3f10d=_0x5ec501[_0x26f3da-0x4];_0x2b291d<0x4||_0x26f3da<=0x4?_0x18d6f5[_0x2b291d]=_0xa3f10d:_0x18d6f5[_0x2b291d]=_0x14210a[_0x481185[_0xa3f10d>>>0x18]]^_0x564d21[_0x481185[_0xa3f10d>>>0x10&0xff]]^_0x1071a7[_0x481185[_0xa3f10d>>>0x8&0xff]]^_0x47e3df[_0x481185[_0xa3f10d&0xff]];}}},'encryptBlock':function(_0x26f6a6,_0x1166fe){var _0x290422=_0x257c3c;this[_0x290422(0x371)](_0x26f6a6,_0x1166fe,this['_keySchedule'],_0x76d2a7,_0x599ceb,_0x5bd0a9,_0x552d70,_0x481185);},'decryptBlock':function(_0x4de146,_0x5a6ca9){var _0x4ac01a=_0x257c3c,_0x5c363a=_0x4de146[_0x5a6ca9+0x1];_0x4de146[_0x5a6ca9+0x1]=_0x4de146[_0x5a6ca9+0x3],_0x4de146[_0x5a6ca9+0x3]=_0x5c363a,this[_0x4ac01a(0x371)](_0x4de146,_0x5a6ca9,this[_0x4ac01a(0x32b)],_0x14210a,_0x564d21,_0x1071a7,_0x47e3df,_0x3a8973);var _0x5c363a=_0x4de146[_0x5a6ca9+0x1];_0x4de146[_0x5a6ca9+0x1]=_0x4de146[_0x5a6ca9+0x3],_0x4de146[_0x5a6ca9+0x3]=_0x5c363a;},'_doCryptBlock':function(_0x5d8593,_0x47514b,_0x4a597e,_0x3e77c0,_0xb2f334,_0x2fcf5d,_0x6cf564,_0x347a95){var _0x499049=_0x257c3c;for(var _0x2aad8d=this[_0x499049(0x20d)],_0x227a47=_0x5d8593[_0x47514b]^_0x4a597e[0x0],_0x36719d=_0x5d8593[_0x47514b+0x1]^_0x4a597e[0x1],_0x3513c9=_0x5d8593[_0x47514b+0x2]^_0x4a597e[0x2],_0x23f5e3=_0x5d8593[_0x47514b+0x3]^_0x4a597e[0x3],_0x349913=0x4,_0x135824=0x1;_0x135824<_0x2aad8d;_0x135824++){var _0x4dc5f8=_0x3e77c0[_0x227a47>>>0x18]^_0xb2f334[_0x36719d>>>0x10&0xff]^_0x2fcf5d[_0x3513c9>>>0x8&0xff]^_0x6cf564[_0x23f5e3&0xff]^_0x4a597e[_0x349913++],_0x3c5f74=_0x3e77c0[_0x36719d>>>0x18]^_0xb2f334[_0x3513c9>>>0x10&0xff]^_0x2fcf5d[_0x23f5e3>>>0x8&0xff]^_0x6cf564[_0x227a47&0xff]^_0x4a597e[_0x349913++],_0x46fb75=_0x3e77c0[_0x3513c9>>>0x18]^_0xb2f334[_0x23f5e3>>>0x10&0xff]^_0x2fcf5d[_0x227a47>>>0x8&0xff]^_0x6cf564[_0x36719d&0xff]^_0x4a597e[_0x349913++],_0x3acfac=_0x3e77c0[_0x23f5e3>>>0x18]^_0xb2f334[_0x227a47>>>0x10&0xff]^_0x2fcf5d[_0x36719d>>>0x8&0xff]^_0x6cf564[_0x3513c9&0xff]^_0x4a597e[_0x349913++];_0x227a47=_0x4dc5f8,_0x36719d=_0x3c5f74,_0x3513c9=_0x46fb75,_0x23f5e3=_0x3acfac;}var _0x4dc5f8=(_0x347a95[_0x227a47>>>0x18]<<0x18|_0x347a95[_0x36719d>>>0x10&0xff]<<0x10|_0x347a95[_0x3513c9>>>0x8&0xff]<<0x8|_0x347a95[_0x23f5e3&0xff])^_0x4a597e[_0x349913++],_0x3c5f74=(_0x347a95[_0x36719d>>>0x18]<<0x18|_0x347a95[_0x3513c9>>>0x10&0xff]<<0x10|_0x347a95[_0x23f5e3>>>0x8&0xff]<<0x8|_0x347a95[_0x227a47&0xff])^_0x4a597e[_0x349913++],_0x46fb75=(_0x347a95[_0x3513c9>>>0x18]<<0x18|_0x347a95[_0x23f5e3>>>0x10&0xff]<<0x10|_0x347a95[_0x227a47>>>0x8&0xff]<<0x8|_0x347a95[_0x36719d&0xff])^_0x4a597e[_0x349913++],_0x3acfac=(_0x347a95[_0x23f5e3>>>0x18]<<0x18|_0x347a95[_0x227a47>>>0x10&0xff]<<0x10|_0x347a95[_0x36719d>>>0x8&0xff]<<0x8|_0x347a95[_0x3513c9&0xff])^_0x4a597e[_0x349913++];_0x5d8593[_0x47514b]=_0x4dc5f8,_0x5d8593[_0x47514b+0x1]=_0x3c5f74,_0x5d8593[_0x47514b+0x2]=_0x46fb75,_0x5d8593[_0x47514b+0x3]=_0x3acfac;},'keySize':0x100/0x20});_0x3cfcb9[_0x257c3c(0x1f6)]=_0x3f6de7['_createHelper'](_0x3e5107);}()),_0x58b4c8[_0x1b73a9(0x1f6)];}));}(fe)),fe[_0x1e7ae1(0x37e)];}var wi=Pi();const Mi=ve(wi);var Li=Et();const it=ve(Li);var be={'exports':{}},xi=be[_0x261c0a(0x37e)],nt;function ki(){var _0x2ced22=_0x261c0a;return nt||(nt=0x1,function(_0x3f6faf,_0x361f77){(function(_0x1e3081,_0x39fffe){var _0x17047e=_0x2cbf;_0x3f6faf[_0x17047e(0x37e)]=_0x39fffe(Q());}(xi,function(_0x50e5eb){var _0x7862b7=_0x2cbf;return _0x50e5eb[_0x7862b7(0x48f)]['Utf8'];}));}(be)),be[_0x2ced22(0x37e)];}var $i=ki();const ji=ve($i);var Oe={'exports':{}},Hi=Oe[_0x261c0a(0x37e)],rt;function Bi(){return rt||(rt=0x1,function(_0x2a706f,_0x13b142){(function(_0x58ed8c,_0x12003b){var _0xb68e89=_0x2cbf;_0x2a706f[_0xb68e89(0x37e)]=_0x12003b(Q());}(Hi,function(_0x37657c){var _0x2fb8e6=_0x2cbf;return(function(){var _0x2bcd5a=_0x2cbf;if(typeof ArrayBuffer==_0x2bcd5a(0x3f4)){var _0x36434e=_0x37657c,_0x365440=_0x36434e[_0x2bcd5a(0x470)],_0x33a0eb=_0x365440[_0x2bcd5a(0x4ae)],_0x3a4369=_0x33a0eb[_0x2bcd5a(0x391)],_0x453b5d=_0x33a0eb[_0x2bcd5a(0x391)]=function(_0x5a56b0){var _0x11d0e1=_0x2bcd5a;if(_0x5a56b0 instanceof ArrayBuffer&&(_0x5a56b0=new Uint8Array(_0x5a56b0)),(_0x5a56b0 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5a56b0 instanceof Uint8ClampedArray||_0x5a56b0 instanceof Int16Array||_0x5a56b0 instanceof Uint16Array||_0x5a56b0 instanceof Int32Array||_0x5a56b0 instanceof Uint32Array||_0x5a56b0 instanceof Float32Array||_0x5a56b0 instanceof Float64Array)&&(_0x5a56b0=new Uint8Array(_0x5a56b0[_0x11d0e1(0x238)],_0x5a56b0[_0x11d0e1(0x3b2)],_0x5a56b0['byteLength'])),_0x5a56b0 instanceof Uint8Array){for(var _0x2b2de0=_0x5a56b0[_0x11d0e1(0x28a)],_0xfd576e=[],_0x1b17d4=0x0;_0x1b17d4<_0x2b2de0;_0x1b17d4++)_0xfd576e[_0x1b17d4>>>0x2]|=_0x5a56b0[_0x1b17d4]<<0x18-_0x1b17d4%0x4*0x8;_0x3a4369[_0x11d0e1(0x2ea)](this,_0xfd576e,_0x2b2de0);}else _0x3a4369[_0x11d0e1(0x47e)](this,arguments);};_0x453b5d[_0x2bcd5a(0x40d)]=_0x33a0eb;}}()),_0x37657c[_0x2fb8e6(0x470)][_0x2fb8e6(0x4ae)];}));}(Oe)),Oe['exports'];}var Fi=Bi();const Vi=ve(Fi);var Re={'exports':{}},Wi=Re[_0x261c0a(0x37e)],st;function Gi(){var _0x5d6ade=_0x261c0a;return st||(st=0x1,function(_0x1509b5,_0x593988){(function(_0x340cd1,_0x5dd5e0,_0x2a9da6){var _0x2b3876=_0x2cbf;_0x1509b5[_0x2b3876(0x37e)]=_0x5dd5e0(Q(),Tt());}(Wi,function(_0x16ebe6){var _0x1d6929=_0x2cbf;return _0x16ebe6['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x16ebe6[_0x1d6929(0x228)][_0x1d6929(0x236)];}));}(Re)),Re[_0x5d6ade(0x37e)];}var Yi=Gi();const qi=ve(Yi);function Ki(_0xb685a2,_0x5a8700){var _0x2853d8=_0x261c0a;const _0x1d3873=_0x5a8700-_0xb685a2[_0x2853d8(0x249)]%_0x5a8700,_0x26709a=String[_0x2853d8(0x2f0)](_0x1d3873)[_0x2853d8(0x48a)](_0x1d3873);return _0xb685a2+_0x26709a;}function zi(_0x8ef107,_0x18a291){var _0x32ba0b=_0x261c0a;const _0x45e65b=Vi[_0x32ba0b(0x3fb)](0x10),_0x44ee17=Ki(_0x8ef107,0x10),_0x2a2aad=Mi[_0x32ba0b(0x1e0)](ji[_0x32ba0b(0x208)](_0x44ee17),it[_0x32ba0b(0x208)](_0x18a291),{'iv':_0x45e65b,'padding':qi});return _0x45e65b[_0x32ba0b(0x460)](_0x2a2aad[_0x32ba0b(0x468)])[_0x32ba0b(0x259)](it);}function Ji(){var _0x18eb44=_0x261c0a;const _0x24bec6=yt[_0x18eb44(0x3f6)]()[_0x18eb44(0x404)];if(_0x24bec6){const _0x20060a={'time':Math[_0x18eb44(0x22a)](Date[_0x18eb44(0x355)]()/0x3e8),'domain':location[_0x18eb44(0x2c2)]};return zi(JSON[_0x18eb44(0x344)](_0x20060a),_0x24bec6);}}var Xi=Object[_0x261c0a(0x308)],Zi=(_0x4c2ae5,_0xcc4594,_0x2ff9fa,_0x598979)=>{var _0x39c42a=_0x261c0a;for(var _0x563952=_0x598979>0x1?void 0x0:_0x598979?Xi(_0xcc4594,_0x2ff9fa):_0xcc4594,_0x5f11d4=_0x4c2ae5[_0x39c42a(0x249)]-0x1,_0x262801;_0x5f11d4>=0x0;_0x5f11d4--)(_0x262801=_0x4c2ae5[_0x5f11d4])&&(_0x563952=_0x262801(_0x563952)||_0x563952);return _0x563952;},Qi=(_0x834877,_0x2bdb16)=>(_0x530c13,_0xa68384)=>_0x2bdb16(_0x530c13,_0xa68384,_0x834877);let Ne=class{constructor(_0x513c3c){var _0x10962d=_0x261c0a;this[_0x10962d(0x4b3)]=_0x513c3c,this[_0x10962d(0x2be)]();}[_0x261c0a(0x2be)](){var _0x153def=_0x261c0a;this['_httpService'][_0x153def(0x33e)]({'interceptor':(_0x3d3f69,_0x188841)=>{var _0x17d74a=_0x153def;const _0x56e310=_0x3d3f69[_0x17d74a(0x487)],_0x1b3743=Ji();return _0x1b3743&&_0x56e310[_0x17d74a(0x30f)](_0x17d74a(0x2d5),_0x1b3743),_0x188841(_0x3d3f69);}});}};function _0x7563(){var _0x23204c=['memberID','m2Prime','hasOwnProperty','YUUMI_RATE_OVER_LIMIT','_sessions','push','/universer-api/authz','_decreaseWaiting','executeCommand','YUUMI_ALL_TABLES_IS_INVALID','RECV','uuidv4','DependentOn','UserManagerService','_throwTelemetryCollaborationNewChangeset','OTHER_CLIENTS_EDITING','_tryReconnect','saveImage','_clearUndo','/universer-api/file/{fileID}/sign-url','JOIN','/-/object/-/batch_allowed','startsWith','/object/','HTTPRequest','unit-cache-','/allowed','[FetchMissState]','isTransformMutationsWithChangesetSuccess','MemberService','_getAPIPrefix','\x20-\x20','getImageSourceCache','commentUpdate$','JOIN_ROOM_NOT_EXISTS','dispose','getAllMembers','/block/','SyncedState','LICENSE_EXPORT_SIZE_EXCEEDED','/universer-api/snapshot/','getCurrentSelections','fetchMissingChangesets','filter','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','splice','function','_transitionLocked','getGlobalObject','JOINING','updateSnapshot','_members$','actions','random','_clearRetryConnectingTimer','ERROR_EXCEED_SIZE','enableAuthServer','?size=','JOIN_ROOM_PERMISSION_DENIED','catch','/universer-api/uniscript','add','__Key__','ITransformService','\x20in\x20_schedule.','awaiting_with_pending','_initDependencies','isTransformChangesetsSuccess','_localeService','_type','reconnect','prototype','getCollabEntity$','error$','_append','words','__creator','_map','SheetTransformSelectionsService','_oKey','finalize','_transformRemoteChangesetByIMECache','Error\x20on\x20receiving\x20event','replace','fetchMiss','_ENC_XFORM_MODE','USERS_ENTER','FETCH_MISS','compute','Base64','INVITE_CODE_HAS_BEEN_UES','_collabSessionService','setConfig','ISocketService','clone','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_emitMembers','interceptor','stopTime','_changesetReqId','loadDoc','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_clearScheduledTask','_iv','_onMessage','unitID','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_onRecvEvent','c2Prime','_incrementRevisionNumber','IMentionIOService','encodeURIComponent','CollaborationImageIoService','ERROR_IMAGE_TYPE','session','NOT_FOUND','concatMap','toggleOnline','_timeoutTimer','Utf8','_onJoinRoomEvent','SUBMIT_CHANGESET','capture','withCredentials','onlyLocal','AWAITING','Encryptor','2521101hkDKeX','createSocket','_snapshotService','takeUntil','updatePermissionPoint','_sendHeartbeat','leaveEvent','ONLINE','liveShareOperation','_iKey','_hash','pipe','_getUndoStack','_config','PERMISSION_DENIED','_transformSelections','entries','INetworkConditionService','appendMutation','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','enableCollaboration','_getRedoStack','JOIN_ROOM_FAILED','permissionRejEvent','onTransformRemoteChangesetByStateCache','ConflictState','emitEvent','concat','getImage','algo','CBC','onTransformState','getInterceptPoints','href','_schedule','ciphertext','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_waitForHeartbeatResponse','_sender','serializeCombRequest','DEFAULT_FILE_NAME','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','lib','onTransformSelections','members','_injector','transformStack\x20failed!','1982465tnOqbo','_onConflict','collaboration-client.config','putCollaborators','min','toDisposable','getCurrentRevOfUnit','_createHmacHelper','offline','apply','CollaborationSession','put','_getAPIPrefixPath','_xformMode','351410uMyVMb','CollaborationSessionService','socket$','SOCKET_FAILED','headers','HmacSHA1','YUUMI_ASYNCIO_CANCELLED','repeat','HttpExport','&to=','RevisionService','image/jpg','enc','_collaborationPaused','_transformUndoredo','refreshPermission','Optional','_reverseMap','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_configService','resolve','objects','unitInfo$','INVALID_INVITE_CODE','_permissionService','[PendingState]:\x20received\x20rejection.','CHANGESET_SHOULD_RETRY','mode','_onRemoteACK','localeService','Module','_singleActiveUnitService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','COMPLETION_FINISHED','forEach','extend','UNRECOGNIZED','textEncoder','_checkMissing','sid','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','Failed\x20to\x20update\x20permission\x20point','[UniverCollaborationClientPlugin]','WordArray','Disposable','_keySchedule','_listenToNetworkCondition','IUndoRedoService','_httpService','IContextService','onTransformRemoteChangesetByIMECache','[CollaborationSession]','MSG_FOR_ERROR','_fetchMissChangesets','_tryEnsureSocket','ERROR_IMAGE','INVITE_CODE_ALREADY_BOUND','CollaborationEntity','c1Prime','string','4pzClUN','session.join-failed','IAuthzIoService','_joinRoom','charCodeAt','method','createIdentifier','RETRY_CONNECTING_MAX_COUNT','_handlerCallback','cmd','ICollaborationSocketService','delete','OTHER_CLIENT_EDITING','format','NEW_CHANGESETS','CipherParams','loadUnit','LIVESHARE_TERMINATE','CommandType','UniverInstanceType','_commentService','toggleOffline','People','CLOSE_ROOM','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','result','name','mutations','snapshotServerUrl','CollaborationUIEventService','YUUMI_CONNECTOR_URL_NOT_FOUND','SHA1','entityInit$','CommentService','[SyncedState]:\x20received\x20acknowledgement.','getConfig','FETCH_MISSING','_doReset','_waitCount','every','_substituteRedoStack','padding','MentionIoHttpService','UnitEmbedded','dispose$','_compressMutationService','[CollaborationEntity]','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_sendingTimer','onLocalMutation','AwaitingState','Rectangle','APPLY_REVISION_CONFILICT','MOBILE_HAS_BEEN_BOUND','slice','CollaborativeUndoRedoService','2hJxUUs','[CollaborationUndoRedoService]','reset','_createSocket','HMAC','iterations','getValue','OpenSSL','status','SHOULD_CLOSE_CONN','/universer-api/user/session-ticket','RxDisposable','changesets','resend','create','onRemoteAck','SheetPermissionInitController','_startCollaboration','_undoRedoService','_revisionService','code','_resendWithTimeout','onRemoteRetry','_clearCollaborationTimeoutTimer','range','decrypt','csRejEvent','BASE64','selections','editingUnit','Inject','WECHAT_HAS_BEEN_BOUND','_onRemoteRetry','socketService','getRoom','/universer-api/stream/file/upload','_commentUpdate$','confirm','append','POST','_redoStacks','userID','includes','UNIVER_PROJECT','_resendTimer','_onUserLeave','allowed','[SyncedState]:\x20received\x20rejection.','updatePermissionObjEvent','OfflineState','encode','UPDATE_CURSOR','listCollaborators','FAIL','_applyRemoteChangeset','_univerInstanceService','saveSheetBlock','YUUMI_AI_RUN_FAILED','connection\x20error','MUTATION','onload','Decryptor','origin','getUnitType','ivSize','[OfflineState]:\x20received\x20acknowledgement.','INVITE_CODE_REQUIRED','merge','4645782kNSodL','_replayCachedMutations','_initUnitPermissionChange','awaiting','getUnitOnRev','unknown','_handler','registerDependencies','_updateStatus','list','_getSendChangesetTimeout','FileId','/unit/','_scheduleCompleteTimestamp','change$','Could\x20not\x20dynamically\x20require\x20\x22','getSnapshotAPIPath','error','sin','encrypt','YUUMI_UNABLE_LOAD_URL','/-/object/list','_disableEditing','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','removeMember','COMPRESS_MUTATION_SEND','getMember','USER_NOT_INVITED_CODE','hasher','_nDataBytes','APPLY_PERMISSION_DENIED','_queuedRemoteChangesets','DataLoaderService','_telemetryService','_shouldReportTelemetry','signUrlServerUrl','/object','_onUserJoin','routeKey','initWorkbookPermissionChange','_remoteChangesetQueue','AES','CompressMutationService','retryConnectingInterval','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','CollaborationSocketService','getLocalCacheKey','subject','isTransformMutationsWithChangesetFailure','onTransformIME','BlockCipher','_transformRemoteChangesetByStateCache','_initCloseConn','onSendChangeset','IConfigService','close','_exhaustRemoteChangesetQueue','fetchThroughInterceptors','startTime','parse','BufferedBlockAlgorithm','[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.','joinEvent','CHANGESET_REJ','_nRounds','Subject','infoRsp','addImageSourceCache','onMissedChangesetFetched','[CollaborationSessionService]:\x20socket\x20error','debug','Latin1','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_unitID','LocaleService','formatter','disposeWithMe','/universer-api/snapshot','_replaceFileID','sequenceExecute','[DataLoaderService]','_networkConditionService','_syncEditingCollabCursor','_getUploadFileURL','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','transformChangesets','update','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','isPermissionRej','disableLocalCache','_substituteUndoStack','pad','isArray','floor','baseRev','fetching\x20missing\x20changesets\x20from\x20','collaborators','clamp','unpad','_onFetchMissResult','_data','image/png','close$','onRemoteRej','UNDEFINED','NoPadding','GLOBAL_ROOMS_CNT_EXCEEDS','buffer','COMMENT_UPDATE','next','HEARTBEAT','pluginName','_createHelper','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','WorkbookEditablePermission','unitId','SnapshotServerOverHTTPService','_pendingMutations','_doFinalize','SOCKET_FAILED_RETRY','session.room-full','getFocusedUnit','MD5','getDeserializedSheetBlock','length','_createInitialState','_socket','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','msCrypto','_clearLocalCache','blockSize','_createInitialStateImpl','key','fetch_missing','revision','_getCurrentRevision','requireSession','updateCursorEvent','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','collabSubmitChangesetUrl','toString','objectID','/resources','YUUMI_NO_CUBOID_FOR_QUESTION','EMAIL_VERIFY_CODE_MISMATCH','map','IUniverInstanceService','SheetCollaborationEntity','INVALID_ARGUMENT','_change$','LEAVE','max','LICENSE_MAX_UNITS_EXCEEDED','onSyncEditingCollabCursor','has','responseType','join','_status$','body','waitForRoom$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_candidateSocket','PasswordBasedCipher','HEARTBEAT_TIMEOUT_KEY','_process','NOT_COLLAB','send','LICENSE_IMPORT_SIZE_EXCEEDED','getUnit','_initMergeInterceptor','save\x20fail\x20reason\x20is\x20','_toggleOffline','createEncryptor','Base','updateOfflineData','transformSelections','joinRsp','_socketMessageSubscription','url','patch','_resendTimeout','defineProperty','APPLY_NON_SEQUENTIAL_REVISION','newCsEvent','size','UniverCollaborationClientPlugin','deepClone','salt','CHANGESET_ACK','byteLength','[CollaborationSessionService]','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','subscribe','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_logService','_unitInfo$','_showConflictNotification','substr','$super','_onLocalMutation','USERS_LEAVE','failed\x20to\x20apply\x20missed\x20changesets!','SerializableCipher','getTypeOfUnitDisposed$','cfg','snapshot','AuthzIoHttpService','APPLY_REJECT','readAsDataURL','SheetsSelectionsService','198uJqOAi','rev','synced','_onRemoteChangeset','UNISCRIPT_RUN','CollaborationEvent','setWaitCount','asObservable','file','setCurrentUser','sessionStatus','getCurrentUser','EmptyMutation','EMAIL_HAS_BEEN_BOUND','resourceIDs','_acknowledgedAwaitingChangeset','roomInfos','_memberService','Injector','liveShareNewHost','UserProfileImg','_entities','_getSignURL','InsertSheetMutation','setShowComponents','_parse','_clearTimeoutTimer','onCommentUpdate','_members','awaitingChangeset','shareReplay','_initRequestHeader','CONNECTOR_DATA_TOO_LARGE','UPDATE_PERMISSION_OBJ','_cipher','hostname','CollaborationController','reqId','_unlockTransition','_transformStateCache','_localCacheService','charAt','indexOf','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','avatar','getTime','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','UnitSnapshot','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','HmacMD5','conflict','INGEST','Univer','status$','x-univer-host','createDecryptor','MOBILE_VERIFY_CODE_MISMATCH','_onConnectionFailed','LOCAL_CACHE_INTERVAL','action','NO_OTHER_CLIENTS_EDITING','PendingState','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','params','sheets','getWorkbookSelections','HTTPService','onMissingChangesets','_imageSourceCache','originalMeta','uniscriptRunEvent','LIVESHARE_NEW_HOST','AWAITING_WITH_PENDING','sessionStatus$','createInstance','call','editing\x20status\x20changed\x20to','_rescheduleHeartbeat','/collaborator','[OfflineState]:\x20received\x20rejection.','reject','fromCharCode','reduce','_instanceService','decryptBlock','IDLE','_awaitingChangeset','find','transformMutationsWithChangeset','get','mergeOverrideWithDependencies','_roomCreated$','UNAUTHENTICATED','csShouldRetryEvent','SUBMIT_CHANGESET_TIMEOUT','INTERNAL_ERROR','ICommandService','telemetry\x20info\x20is\x20not\x20initialized','DocCollaborationEntity','message$','_HTTPService','batchAllowed','randomBytes','complete','HELLO','getOwnPropertyDescriptor','1775082MgyuyK','JOIN_ROOM_FULL','_mode','_collaborationUIEventService','mixIn','pending','set','_executeRemoteChangeset','{fileID}','parseProtocolChangeset','_sessionStatus$','_updateState','7KbTuRf','_transformIMECache','_entityInit$','&source=','ILogService','_retryConnectingTimer','isInternalEditorID','state$','symbol','PENDING','updateCollaborator','ImageUploadStatusType','Workbook','916729UsBJxQ','Cipher','_lockTransition','_stopTelemetryCollaborationNewChangeset','_createHandler','ITelemetryService','CONFLICT','UNIVER_DOC','_sheetTransformSelectionsService','_invKeySchedule','__esModule','_onRemoteRejected','sigBytes','_getCtorByUniverType','session.room-permission-denied','_isPermissionRej','socket\x20close','_startTelemetryCollaborationNewChangeset','_collaborationTimeoutTimer','_userManagerService','/new_changes','socket\x20open.','LOCAL_CACHE_INTERVAL_KEY','focused$','UniverCollaborationPlugin','localCacheService','SNAPSHOT_URL_KEY','ISnapshotServerService','registerHTTPInterceptor','readInt32LE','objectType','getTypeOfUnitAdded$','_registerDependencies','APPLY_DUPLICATED','stringify','_prevBlock','then','_updateLocalCache','2910760uumwgU','onRemoteChangeset','closeSession','getRandomValues','getMemberID','unitId\x20is\x20not\x20found','_collaborationSessionService','execute','parseChangesetToProtocol','_clearHeartbeatTimer','SetSelectionsOperation','EvpKDF','_onConnectionOpen','now','HEARTBEAT_TIMEOUT','CollaborationStatus','IPermissionService','PY_RUNTIME_SCRIPT_ERROR','JSONX','?url=','_clearRedo','COMPRESS_MUTATION_APPLY','_socketReady','LIVESHARE_FETCH_OPERATIONS','open$','type','DEFAULT_COLLAB_WEB_SOCKET_URL','crypto','UNIVER_COLLABORATION_CLIENT_PLUGIN','values','_init','_removeRoom','ENSURE_SNAPSHOT_EXECUTION','keySize','kdf','Hasher','TOO_MANY_REQUESTS','HttpImport','AwaitingWithPendingState','_socket$','_minBufferSize','_doCryptBlock','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','ALREADY_EXISTS','OFFLINE','ISingleActiveUnitService','copyFileMeta','unsubscribe','_commandService','target','collaboration_new_changeset','_roomMembers','\x0aAfter:\x20','textRanges','exports','_telemetryInfo','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','UNIVER_SLIDE','firstValueFrom','onStateChange','authzUrl','deleteCollaborator','objectActions','compose','[CollaborationState]:\x20apply\x20error!','PSEUDO_FETCH_MISSING_RESULT','SNAPSHOT_INVALID_SNAPSHOT','_state$','_onCombEvent','_changesetSessionId','collabWebSocketUrl','updateMember','YUUMI_SUBSCRIPTION_NOT_FOUND','init','_retryCount','delay','UNIVER_SHEET','post','eventID','BehaviorSubject','_scheduleCollaborationTimeoutTimer','_hasher','session.room-not-exists','enableSingleActiveInstanceLock','LICENSE_DISTRO_REJECTED','/fetchmissing?from=','FetchingMissState','UNKNOWN_CMD','UniverNetworkPlugin','_getLoginPath','clear','SNAPSHOT_HAS_BEEN_REMOVED','shouldCloseConn','transformUndoRedo','_transformStack','state','_getDownloadEndpointURL','_onOffline','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','listRoles','data','event$','_transformService','mapDocumentTypeToUniverType','loadOfflineData','default','byteOffset','_state','_socketService','&assign=','saveSnapshot','Malformed\x20UTF-8\x20data','downloadEndpointUrl','take','_sendHeartbeatTimer','_key','_event$','UNIVER_UNKNOWN','LIVESHARE_OPERATION','LocalUndoRedoService','getUnitId','UNKNOWN_CODE','_undoStacks','SYNCED','univer-pro.collaboration-client.single-active-unit-service','b64DecodeUnicode'];_0x7563=function(){return _0x23204c;};return _0x7563();}Ne=Zi([Qi(0x0,a[_0x261c0a(0x1a7)](q[_0x261c0a(0x2e1)]))],Ne);var en=Object[_0x261c0a(0x308)],tn=(_0x17cf86,_0x397878,_0x7ff9f6,_0x4634a0)=>{var _0x2fc267=_0x261c0a;for(var _0x433d7e=_0x4634a0>0x1?void 0x0:_0x4634a0?en(_0x397878,_0x7ff9f6):_0x397878,_0x387ce4=_0x17cf86[_0x2fc267(0x249)]-0x1,_0x18592a;_0x387ce4>=0x0;_0x387ce4--)(_0x18592a=_0x17cf86[_0x387ce4])&&(_0x433d7e=_0x18592a(_0x433d7e)||_0x433d7e);return _0x433d7e;},we=(_0x4e8432,_0x345a3b)=>(_0x288dc1,_0xa86e97)=>_0x345a3b(_0x288dc1,_0xa86e97,_0x4e8432);exports[_0x261c0a(0x1ed)]=class extends a[_0x261c0a(0x502)]{constructor(_0x361007,_0x417df2,_0x3d37d7){var _0x432acb=_0x261c0a;super(),A(this,_0x432acb(0x290),new j[(_0x432acb(0x397))](null)),A(this,_0x432acb(0x499),this[_0x432acb(0x290)][_0x432acb(0x2a6)]()),(this[_0x432acb(0x28f)]=_0x361007,this[_0x432acb(0x447)]=_0x417df2,this[_0x432acb(0x2c7)]=_0x3d37d7);}async['loadUnitOfRevision'](_0x4ef541,_0x194ac2,_0x218882){var _0x5b4873=_0x261c0a;this['_unitInfo$']['next']({'unitId':_0x4ef541,'type':_0x194ac2});let _0x4d8604=null;switch(_0x194ac2){case J[_0x5b4873(0x394)]:{_0x4d8604=await this['_snapshotService']['loadSheet'](_0x4ef541,_0x218882);break;}case J['UNIVER_DOC']:{_0x4d8604=await this[_0x5b4873(0x447)][_0x5b4873(0x42a)](_0x4ef541,_0x218882);break;}default:{this[_0x5b4873(0x28f)]['error'](_0x5b4873(0x21d),_0x5b4873(0x221));break;}}return _0x4d8604;}async[_0x261c0a(0x4cf)](_0x1a57e3,_0x3b50e3,_0x254203){var _0x4065a5=_0x261c0a,_0x3ccaab;this[_0x4065a5(0x290)][_0x4065a5(0x23a)]({'unitId':_0x1a57e3,'type':_0x3b50e3,'subUnitId':_0x254203});let _0x266dd7=0x0;const _0x188a6f=await((_0x3ccaab=this[_0x4065a5(0x2c7)])==null?void 0x0:_0x3ccaab[_0x4065a5(0x3b0)](_0x1a57e3));return _0x188a6f&&(_0x188a6f['awaitingChangeset']||_0x188a6f[_0x4065a5(0x4da)][_0x4065a5(0x249)]!==0x0)&&(_0x266dd7=_0x188a6f[_0x4065a5(0x2a0)]),_0x266dd7===0x0&&this[_0x4065a5(0x28f)]['debug'](_0x4065a5(0x21d),_0x4065a5(0x2cd)),this['loadUnitOfRevision'](_0x1a57e3,_0x3b50e3,_0x266dd7);}},exports[_0x261c0a(0x1ed)]=tn([we(0x0,a[_0x261c0a(0x319)]),we(0x1,a['Inject'](p['SnapshotService'])),we(0x2,a[_0x261c0a(0x493)](K))],exports[_0x261c0a(0x1ed)]);var nn=Object[_0x261c0a(0x308)],rn=(_0x2885c2,_0xb09f3b,_0x589e81,_0x5dc30a)=>{var _0x11d2b2=_0x261c0a;for(var _0x18dec7=_0x5dc30a>0x1?void 0x0:_0x5dc30a?nn(_0xb09f3b,_0x589e81):_0xb09f3b,_0x557444=_0x2885c2[_0x11d2b2(0x249)]-0x1,_0xd06561;_0x557444>=0x0;_0x557444--)(_0xd06561=_0x2885c2[_0x557444])&&(_0x18dec7=_0xd06561(_0x18dec7)||_0x18dec7);return _0x18dec7;},Me=(_0x3118c5,_0x290812)=>(_0x49951e,_0x4baa60)=>_0x290812(_0x49951e,_0x4baa60,_0x3118c5);const sn=[_0x261c0a(0x232),'image/jpeg',_0x261c0a(0x48e),'image/gif','image/bmp'],on=0x5*0x400*0x400,an=_0x261c0a(0x1ac),cn=_0x261c0a(0x3d9);exports[_0x261c0a(0x436)]=class{constructor(_0x39e7d3,_0x24965f,_0x570bef){var _0x196a6f=_0x261c0a;A(this,'_waitCount',0x0),A(this,_0x196a6f(0x262),new j['Subject']()),A(this,_0x196a6f(0x1db),this[_0x196a6f(0x262)]),A(this,'_imageSourceCache',new Map()),(this[_0x196a6f(0x4b3)]=_0x39e7d3,this[_0x196a6f(0x496)]=_0x24965f,this[_0x196a6f(0x1c0)]=_0x570bef);}[_0x261c0a(0x2a5)](_0x14b0a7){var _0x23d6bc=_0x261c0a;this[_0x23d6bc(0x4e5)]=_0x14b0a7,this[_0x23d6bc(0x262)][_0x23d6bc(0x23a)](_0x14b0a7);}[_0x261c0a(0x3e6)](_0x342ae3,_0x1c46f5){var _0x9fab68=_0x261c0a;if(_0x1c46f5===z['ImageSourceType'][_0x9fab68(0x1a4)]){const _0x2503d9=new Image();return _0x2503d9['src']=_0x342ae3,_0x2503d9;}return this[_0x9fab68(0x2e3)][_0x9fab68(0x2f8)](_0x342ae3);}[_0x261c0a(0x210)](_0x168c50,_0xa12456,_0x13f5cb){var _0x521d35=_0x261c0a;_0xa12456===z['ImageSourceType'][_0x521d35(0x1a4)]||_0x13f5cb==null||this[_0x521d35(0x2e3)][_0x521d35(0x30f)](_0x168c50,_0x13f5cb);}async[_0x261c0a(0x461)](_0x20d898){var _0x328d70=_0x261c0a;try{const _0x343237=this['_replaceFileID'](this[_0x328d70(0x2b5)](),''+_0x20d898),_0x157904=(await this[_0x328d70(0x4b3)][_0x328d70(0x2f8)](_0x343237))[_0x328d70(0x26b)];if(_0x157904[_0x328d70(0x1de)]&&_0x157904['error'][_0x328d70(0x50b)]===dt['OK']){const _0x97d30f=new URL(_0x157904[_0x328d70(0x27f)],this['_getDownloadEndpointURL']())[_0x328d70(0x259)]();return Promise[_0x328d70(0x497)](_0x97d30f);}return Promise[_0x328d70(0x2ef)](_0x157904[_0x328d70(0x1de)]);}catch(_0x474573){return Promise[_0x328d70(0x2ef)](_0x474573);}}async[_0x261c0a(0x3d7)](_0x200efe){var _0x2a1a6b=_0x261c0a;let _0x4b536d='';if(!sn[_0x2a1a6b(0x1b3)](_0x200efe[_0x2a1a6b(0x361)]))return this[_0x2a1a6b(0x3cd)](),Promise[_0x2a1a6b(0x2ef)](new Error(z[_0x2a1a6b(0x320)][_0x2a1a6b(0x437)]));if(_0x200efe['size']>on)return this['_decreaseWaiting'](),Promise[_0x2a1a6b(0x2ef)](new Error(z[_0x2a1a6b(0x320)][_0x2a1a6b(0x3fd)]));try{const _0x5a6441=new FormData();_0x5a6441[_0x2a1a6b(0x1af)](_0x2a1a6b(0x2a7),_0x200efe);const _0x2caaf4=this[_0x2a1a6b(0x1c0)][_0x2a1a6b(0x246)](),_0x137767=_0x2caaf4==null?void 0x0:_0x2caaf4[_0x2a1a6b(0x3c0)]();if(!_0x137767)throw new Error(_0x2a1a6b(0x34d));const _0x57a495=this[_0x2a1a6b(0x220)]()+_0x2a1a6b(0x3ff)+_0x200efe[_0x2a1a6b(0x285)][_0x2a1a6b(0x259)]()+_0x2a1a6b(0x318)+vt[_0x2a1a6b(0x4ea)]+_0x2a1a6b(0x3b5)+encodeURIComponent(_0x137767),_0x44f8de={'body':_0x5a6441},_0x1479e8=(await this[_0x2a1a6b(0x4b3)][_0x2a1a6b(0x395)](_0x57a495,_0x44f8de))[_0x2a1a6b(0x26b)];if(typeof _0x1479e8[_0x2a1a6b(0x1d8)]!=_0x2a1a6b(0x4be))return this[_0x2a1a6b(0x3cd)](),Promise[_0x2a1a6b(0x2ef)](new Error(z[_0x2a1a6b(0x320)]['ERROR_IMAGE']));_0x4b536d=_0x1479e8[_0x2a1a6b(0x1d8)];}catch{return this['_decreaseWaiting'](),Promise[_0x2a1a6b(0x2ef)](new Error(z[_0x2a1a6b(0x320)]['ERROR_IMAGE']));}return new Promise((_0x5581d2,_0x227209)=>{var _0x293a79=_0x2a1a6b;const _0x5799ea=new FileReader();_0x5799ea[_0x293a79(0x29d)](_0x200efe),_0x5799ea[_0x293a79(0x1c5)]=_0x5d98fe=>{var _0x16fae2=_0x293a79,_0x3f9dcc;const _0x428e69=(_0x3f9dcc=_0x5d98fe[_0x16fae2(0x379)])==null?void 0x0:_0x3f9dcc['result'];if(_0x428e69==null){this[_0x16fae2(0x3cd)](),_0x227209(new Error(z['ImageUploadStatusType'][_0x16fae2(0x4ba)]));return;}const _0x4b1a27=a['generateRandomId'](0x6);_0x5581d2({'imageId':_0x4b1a27,'imageSourceType':z['ImageSourceType']['UUID'],'source':_0x4b536d,'base64Cache':_0x428e69,'status':z[_0x16fae2(0x320)]['SUCCUSS']}),this[_0x16fae2(0x3cd)]();};});}[_0x261c0a(0x220)](){var _0x32f3c1=_0x261c0a,_0x4d375a;const _0x5c8a3e=this['_configService'][_0x32f3c1(0x4e2)](Y);return(_0x4d375a=_0x5c8a3e==null?void 0x0:_0x5c8a3e['uploadFileServerUrl'])!=null?_0x4d375a:an;}[_0x261c0a(0x2b5)](){var _0x5656ad=_0x261c0a,_0x2df3aa;const _0x325aaf=this[_0x5656ad(0x496)][_0x5656ad(0x4e2)](Y);return(_0x2df3aa=_0x325aaf==null?void 0x0:_0x325aaf[_0x5656ad(0x1f0)])!=null?_0x2df3aa:cn;}[_0x261c0a(0x3a8)](){var _0x206e38=_0x261c0a,_0xc099b9;const _0x5e2a24=this[_0x206e38(0x496)][_0x206e38(0x4e2)](Y);return(_0xc099b9=_0x5e2a24==null?void 0x0:_0x5e2a24[_0x206e38(0x3b8)])!=null?_0xc099b9:location[_0x206e38(0x1c7)];}[_0x261c0a(0x21b)](_0x485045,_0x3fd036){var _0x51601f=_0x261c0a;return _0x485045[_0x51601f(0x419)](_0x51601f(0x311),_0x3fd036);}[_0x261c0a(0x3cd)](){var _0x22f3ca=_0x261c0a;this[_0x22f3ca(0x4e5)]-=0x1,this['_change$'][_0x22f3ca(0x23a)](this[_0x22f3ca(0x4e5)]);}},exports['CollaborationImageIoService']=rn([Me(0x0,a[_0x261c0a(0x1a7)](q[_0x261c0a(0x2e1)])),Me(0x1,a[_0x261c0a(0x203)]),Me(0x2,a[_0x261c0a(0x1a7)](a[_0x261c0a(0x25f)]))],exports[_0x261c0a(0x436)]);var hn=Object[_0x261c0a(0x308)],_n=(_0x430e47,_0x4d0863,_0x7f6651,_0x2c78b2)=>{var _0x237f5e=_0x261c0a;for(var _0x58fcb1=_0x2c78b2>0x1?void 0x0:_0x2c78b2?hn(_0x4d0863,_0x7f6651):_0x4d0863,_0x2ec13c=_0x430e47[_0x237f5e(0x249)]-0x1,_0x11d1fb;_0x2ec13c>=0x0;_0x2ec13c--)(_0x11d1fb=_0x430e47[_0x2ec13c])&&(_0x58fcb1=_0x11d1fb(_0x58fcb1)||_0x58fcb1);return _0x58fcb1;},ot=(_0x536908,_0xfda5e6)=>(_0x2a11d0,_0x10d91a)=>_0xfda5e6(_0x2a11d0,_0x10d91a,_0x536908);const ln=_0x261c0a(0x3cc);exports[_0x261c0a(0x4e9)]=class{constructor(_0xfef515,_0x5a1506){var _0x4d6e6d=_0x261c0a;this[_0x4d6e6d(0x496)]=_0xfef515,this[_0x4d6e6d(0x303)]=_0x5a1506;}[_0x261c0a(0x481)](){var _0x550829=_0x261c0a,_0x159c32;const _0x280850=this[_0x550829(0x496)][_0x550829(0x4e2)](Y);return(_0x159c32=_0x280850==null?void 0x0:_0x280850[_0x550829(0x384)])!=null?_0x159c32:ln;}async[_0x261c0a(0x1d6)](_0xa7474a){var _0x45dfed=_0x261c0a;const _0x2a9ed0=this['_getAPIPrefixPath']()+_0x45dfed(0x2ed);return{'list':[{'title':_0x45dfed(0x4d5),'mentions':(await this[_0x45dfed(0x303)][_0x45dfed(0x2f8)](_0x2a9ed0,{'params':{'objectID':_0xa7474a['unitId'],'unitID':_0xa7474a[_0x45dfed(0x240)]}}))[_0x45dfed(0x26b)][_0x45dfed(0x22d)]['map'](_0x3fb028=>({'objectId':_0x3fb028['id'],'name':_0x3fb028[_0x45dfed(0x1fc)][_0x45dfed(0x4d9)],'metadata':{'icon':_0x3fb028['subject'][_0x45dfed(0x2cb)]},'label':_0x3fb028['subject'][_0x45dfed(0x4d9)],'objectType':a['MentionType']['PERSON']})),'metadata':{},'type':a['MentionType']['PERSON']}]};}},exports[_0x261c0a(0x4e9)]=_n([ot(0x0,a[_0x261c0a(0x1a7)](a[_0x261c0a(0x203)])),ot(0x1,a[_0x261c0a(0x1a7)](q[_0x261c0a(0x2e1)]))],exports['MentionIoHttpService']);var un=Object[_0x261c0a(0x308)],dn=(_0x3919c1,_0x4a4e4a,_0x2805e1,_0x494a82)=>{var _0x7d9941=_0x261c0a;for(var _0x1f3020=_0x494a82>0x1?void 0x0:_0x494a82?un(_0x4a4e4a,_0x2805e1):_0x4a4e4a,_0x1d0ec0=_0x3919c1[_0x7d9941(0x249)]-0x1,_0x3be59e;_0x1d0ec0>=0x0;_0x1d0ec0--)(_0x3be59e=_0x3919c1[_0x1d0ec0])&&(_0x1f3020=_0x3be59e(_0x1f3020)||_0x1f3020);return _0x1f3020;},le=(_0x254d60,_0x12a428)=>(_0x5c3312,_0x52114b)=>_0x12a428(_0x5c3312,_0x52114b,_0x254d60);let De=class extends a['RxDisposable']{constructor(_0x5b4d63,_0x1b9908,_0x3de7ea,_0x39f91b,_0x4edb71){var _0x565b3b=_0x261c0a;super(),this[_0x565b3b(0x473)]=_0x5b4d63,this[_0x565b3b(0x1c0)]=_0x1b9908,this['_permissionService']=_0x3de7ea,this['_collaborationSessionService']=_0x39f91b,this[_0x565b3b(0x30c)]=_0x4edb71,this[_0x565b3b(0x1cf)](),this[_0x565b3b(0x201)]();}['_initCloseConn'](){var _0x345396=_0x261c0a;const _0x292b04=async _0x57fe32=>{var _0x12df12=_0x2cbf;(await this[_0x12df12(0x34e)][_0x12df12(0x255)](_0x57fe32))[_0x12df12(0x3ad)]['pipe'](V[_0x12df12(0x3f1)](_0x1793c6=>_0x1793c6[_0x12df12(0x396)]===p[_0x12df12(0x2a4)][_0x12df12(0x500)]),V[_0x12df12(0x448)](this['dispose$']))[_0x12df12(0x28d)](_0x4f9e52=>{var _0x3300dd=_0x12df12;const _0x264c3c=_0x4f9e52,{reason:_0x4f9ee8}=_0x264c3c[_0x3300dd(0x3ac)];this[_0x3300dd(0x30c)][_0x3300dd(0x45f)]({'id':Z['CLOSE_ROOM'],'data':_0x4f9ee8}),this[_0x3300dd(0x49b)]['updatePermissionPoint'](new X[(_0x3300dd(0x23f))](_0x57fe32)['id'],!0x1),this[_0x3300dd(0x34e)]['closeSession'](_0x57fe32);});};j[_0x345396(0x1cc)](this[_0x345396(0x1c0)][_0x345396(0x341)](a[_0x345396(0x4d2)]['UNIVER_SHEET']),this[_0x345396(0x1c0)][_0x345396(0x341)](a[_0x345396(0x4d2)][_0x345396(0x329)]))[_0x345396(0x450)](V['map'](_0xbf51fd=>_0xbf51fd[_0x345396(0x3c0)]()),V[_0x345396(0x3f1)](_0x14fca7=>!a[_0x345396(0x31b)](_0x14fca7)),V[_0x345396(0x448)](this[_0x345396(0x4eb)]))[_0x345396(0x28d)](_0x5bc423=>{_0x292b04(_0x5bc423);});}[_0x261c0a(0x1cf)](){var _0x4851fb=_0x261c0a;const _0x5bb90a=async _0x3c160c=>{var _0x38e013=_0x2cbf;const _0x1f909c=await this['_collaborationSessionService'][_0x38e013(0x255)](_0x3c160c),_0x3e50ff=this['_injector'][_0x38e013(0x2f8)](X[_0x38e013(0x507)]);_0x1f909c[_0x38e013(0x3ad)][_0x38e013(0x450)](V[_0x38e013(0x3f1)](_0x1ecb0e=>_0x1ecb0e[_0x38e013(0x396)]===p[_0x38e013(0x2a4)][_0x38e013(0x2c0)]),V[_0x38e013(0x448)](this[_0x38e013(0x4eb)]))['subscribe'](_0x5297fd=>{var _0x39f74f=_0x38e013;const _0x483fe8=_0x5297fd,{objectId:_0x491926}=_0x483fe8[_0x39f74f(0x3ac)];_0x491926===_0x3c160c?_0x3e50ff[_0x39f74f(0x1f4)](_0x3c160c):_0x3e50ff[_0x39f74f(0x492)](_0x3c160c,_0x491926);});};j['merge'](this[_0x4851fb(0x1c0)][_0x4851fb(0x341)](a[_0x4851fb(0x4d2)][_0x4851fb(0x394)]))[_0x4851fb(0x450)](V[_0x4851fb(0x25e)](_0x411d4e=>_0x411d4e['getUnitId']()),V[_0x4851fb(0x3f1)](_0x3c26c9=>!a[_0x4851fb(0x31b)](_0x3c26c9)),V[_0x4851fb(0x448)](this['dispose$']))['subscribe'](_0x41609e=>{_0x5bb90a(_0x41609e);});}};De=dn([le(0x0,a[_0x261c0a(0x1a7)](a[_0x261c0a(0x2b1)])),le(0x1,a[_0x261c0a(0x25f)]),le(0x2,a['IPermissionService']),le(0x3,a[_0x261c0a(0x1a7)](exports[_0x261c0a(0x484)])),le(0x4,a[_0x261c0a(0x1a7)](ee))],De);var vn=Object[_0x261c0a(0x308)],Sn=(_0x25f381,_0xe06c66,_0x3b663a,_0x4666cd)=>{var _0x3bd9db=_0x261c0a;for(var _0x2250c5=_0x4666cd>0x1?void 0x0:_0x4666cd?vn(_0xe06c66,_0x3b663a):_0xe06c66,_0x39670e=_0x25f381[_0x3bd9db(0x249)]-0x1,_0x1f149c;_0x39670e>=0x0;_0x39670e--)(_0x1f149c=_0x25f381[_0x39670e])&&(_0x2250c5=_0x1f149c(_0x2250c5)||_0x2250c5);return _0x2250c5;},at=(_0x40547d,_0x411447)=>(_0x3275bf,_0xcd2c31)=>_0x411447(_0x3275bf,_0xcd2c31,_0x40547d);exports[_0x261c0a(0x241)]=class{constructor(_0x96c527,_0x269a16){var _0x1cb1d4=_0x261c0a;this[_0x1cb1d4(0x496)]=_0x96c527,this[_0x1cb1d4(0x4b3)]=_0x269a16;}async[_0x261c0a(0x1d1)](_0x4f8a8c,_0x28c5c8){var _0x561c4a=_0x261c0a,_0x358c07;const {unitID:_0x1689df,type:_0x411e4c,revision:_0x4161ea=0x0}=_0x28c5c8,_0x2927a0=this['getSnapshotAPIPath']()+'/'+_0x411e4c+'/unit/'+_0x1689df+'/rev/'+_0x4161ea,_0x298a6b=(await this[_0x561c4a(0x4b3)]['get'](_0x2927a0))[_0x561c4a(0x26b)],_0x58ab41=(_0x358c07=_0x298a6b[_0x561c4a(0x29a)])==null?void 0x0:_0x358c07['workbook'];if(_0x58ab41){const _0x5b913d=_0x58ab41==null?void 0x0:_0x58ab41[_0x561c4a(0x2e4)],_0x37210f=p[_0x561c4a(0x4a8)][_0x561c4a(0x1bb)](p[_0x561c4a(0x3c5)](_0x5b913d));_0x58ab41[_0x561c4a(0x2e4)]=_0x37210f,Object[_0x561c4a(0x455)](_0x58ab41[_0x561c4a(0x2df)])[_0x561c4a(0x4a5)](([,_0x525a2d])=>{var _0x2e82f2=_0x561c4a;const _0x267301=_0x525a2d[_0x2e82f2(0x2e4)],_0x534ec6=p[_0x2e82f2(0x4a8)][_0x2e82f2(0x1bb)](p['b64DecodeUnicode'](_0x267301));_0x525a2d['originalMeta']=_0x534ec6;});}return _0x298a6b;}async['getSheetBlock'](_0x1124e2,_0x5243f1){var _0xfda9e0=_0x261c0a;const {unitID:_0x5963e1,type:_0x32aeb6,blockID:_0x136627}=_0x5243f1,_0x5aef8e=this['_getAPIPrefix']()+'/'+_0x32aeb6+_0xfda9e0(0x1d9)+_0x5963e1+_0xfda9e0(0x3eb)+_0x136627;return(await this[_0xfda9e0(0x4b3)][_0xfda9e0(0x2f8)](_0x5aef8e))['body'];}async[_0x261c0a(0x248)](_0x5e6077,_0x103678){var _0xf09130=_0x261c0a;const {unitID:_0x2b885a,type:_0x423141,blockID:_0x10b45a}=_0x103678,_0x10a4c4=this[_0xf09130(0x3e4)]()+'/block/'+_0x423141+'/unit/'+_0x2b885a+'/block/'+_0x10b45a;return(await this[_0xf09130(0x4b3)][_0xf09130(0x2f8)](_0x10a4c4))[_0xf09130(0x26b)];}async[_0x261c0a(0x3f0)](_0x3b21e2,_0x11a632){var _0x1431f8=_0x261c0a;const {unitID:_0x93680d,type:_0x59e4f4,from:_0x391767,to:_0x25377c}=_0x11a632,_0x4c63f3=this['_getAPIPrefix']()+'/'+_0x59e4f4+_0x1431f8(0x1d9)+_0x93680d+_0x1431f8(0x39d)+_0x391767+_0x1431f8(0x48c)+_0x25377c;return(await this[_0x1431f8(0x4b3)][_0x1431f8(0x2f8)](_0x4c63f3))[_0x1431f8(0x26b)];}[_0x261c0a(0x1dd)](){var _0xe5ef2f=_0x261c0a,_0x36ca4b;return(_0x36ca4b=this[_0xe5ef2f(0x496)][_0xe5ef2f(0x4e2)](Dt))!=null?_0x36ca4b:this['_getAPIPrefix']();}['_getAPIPrefix'](){var _0x203bb5=_0x261c0a,_0x560536;const _0x2b63c5=this[_0x203bb5(0x496)][_0x203bb5(0x4e2)](Y);return(_0x560536=_0x2b63c5==null?void 0x0:_0x2b63c5[_0x203bb5(0x4db)])!=null?_0x560536:Nt;}async['getResourcesRequest'](_0x815492,_0x1e9648){var _0x29c583=_0x261c0a;const _0x1fe755=_0x29c583(0x3ee)+_0x1e9648[_0x29c583(0x361)]+_0x29c583(0x1d9)+_0x1e9648[_0x29c583(0x42f)]+_0x29c583(0x25b);return(await this[_0x29c583(0x4b3)][_0x29c583(0x2f8)](_0x1fe755,{'params':{'resourceId':JSON[_0x29c583(0x344)](_0x1e9648[_0x29c583(0x2ad)])}}))[_0x29c583(0x26b)];}[_0x261c0a(0x3b6)](){var _0x4e5fe3=_0x261c0a;throw new Error(_0x4e5fe3(0x28c));}[_0x261c0a(0x3f8)](){var _0x66b99f=_0x261c0a;throw new Error(_0x66b99f(0x28c));}[_0x261c0a(0x1c1)](){var _0x2334fd=_0x261c0a;throw new Error(_0x2334fd(0x28c));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x261c0a(0x376)](){var _0x2f551e=_0x261c0a;throw new Error(_0x2f551e(0x28c));}['getLatestCsReqIdBySid'](){var _0x48b684=_0x261c0a;throw new Error(_0x48b684(0x28c));}},exports[_0x261c0a(0x241)]=Sn([at(0x0,a[_0x261c0a(0x203)]),at(0x1,a['Inject'](q[_0x261c0a(0x2e1)]))],exports[_0x261c0a(0x241)]);var fn=Object['getOwnPropertyDescriptor'],In=(_0x3dfb0d,_0x2ed444,_0x4009a5,_0x2aca06)=>{var _0x25f8f8=_0x261c0a;for(var _0x2cca06=_0x2aca06>0x1?void 0x0:_0x2aca06?fn(_0x2ed444,_0x4009a5):_0x2ed444,_0xcf1b00=_0x3dfb0d[_0x25f8f8(0x249)]-0x1,_0x3dd358;_0xcf1b00>=0x0;_0xcf1b00--)(_0x3dd358=_0x3dfb0d[_0xcf1b00])&&(_0x2cca06=_0x3dd358(_0x2cca06)||_0x2cca06);return _0x2cca06;},ue=(_0x54db7b,_0x3f7057)=>(_0x8bdc33,_0x474132)=>_0x3f7057(_0x8bdc33,_0x474132,_0x54db7b);exports[_0x261c0a(0x4f6)]=class extends a[_0x261c0a(0x3bf)]{constructor(_0x5ed7b1,_0x54c942,_0x219dd2,_0x432dc2,_0x52f626){var _0x43db70=_0x261c0a;super(_0x5ed7b1,_0x54c942,_0x219dd2),this[_0x43db70(0x3ae)]=_0x432dc2,this[_0x43db70(0x28f)]=_0x52f626;}[_0x261c0a(0x3a5)](_0x23a499,_0xa3dcfb){var _0x54d896=_0x261c0a;const _0x14c52a=this[_0x54d896(0x451)](_0x23a499);if(_0x14c52a)try{const _0x34fba1=this[_0x54d896(0x3a6)](_0x14c52a,_0xa3dcfb);this[_0x54d896(0x227)](_0x23a499,_0x34fba1);}catch(_0x24cfee){this['_logService'][_0x54d896(0x1de)](_0x54d896(0x4f8),_0x24cfee),this[_0x54d896(0x3d8)](_0x23a499);}const _0x57ac29=this[_0x54d896(0x45a)](_0x23a499);if(_0x57ac29)try{const _0xa4dca9=this['_transformStack'](_0x57ac29,_0xa3dcfb);this[_0x54d896(0x4e7)](_0x23a499,_0xa4dca9);}catch(_0x25619e){this['_logService'][_0x54d896(0x1de)](_0x25619e),this[_0x54d896(0x35c)](_0x23a499);}}[_0x261c0a(0x3d8)](_0x566f9e){var _0x3c3a22=_0x261c0a;const _0x55c7dd=this['_getUndoStack'](_0x566f9e);_0x55c7dd&&(_0x55c7dd[_0x3c3a22(0x249)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x3a1185){var _0x3ff120=_0x261c0a;const _0x2dd6a=this[_0x3ff120(0x45a)](_0x3a1185);_0x2dd6a&&(_0x2dd6a[_0x3ff120(0x249)]=0x0,this[_0x3ff120(0x1d5)]());}['_substituteUndoStack'](_0x183972,_0xcb45ec){var _0x53870a=_0x261c0a;this[_0x53870a(0x3c2)][_0x53870a(0x30f)](_0x183972,_0xcb45ec),this[_0x53870a(0x1d5)]();}[_0x261c0a(0x4e7)](_0x559bde,_0x428a86){var _0x56d5bb=_0x261c0a;this[_0x56d5bb(0x1b1)][_0x56d5bb(0x30f)](_0x559bde,_0x428a86),this['_updateStatus']();}[_0x261c0a(0x3a6)](_0x422aff,_0x229613){var _0x1c90e6=_0x261c0a;const _0x3adb24=[];let _0x437adf=_0x229613,_0x443961=_0x229613;for(let _0x598d7c=_0x422aff[_0x1c90e6(0x249)]-0x1;_0x598d7c>=0x0;_0x598d7c--){const {unitID:_0x3b776d,undoMutations:_0x24131f,redoMutations:_0x2a1215}=_0x422aff[_0x598d7c],_0x4f47e2=this[_0x1c90e6(0x3ae)][_0x1c90e6(0x2f7)](_0x437adf,_0x24131f),_0x300b71=this[_0x1c90e6(0x3ae)][_0x1c90e6(0x2f7)](_0x443961,_0x2a1215);if(p[_0x1c90e6(0x1fd)](_0x4f47e2)||p['isTransformMutationsWithChangesetFailure'](_0x300b71)){this['_logService'][_0x1c90e6(0x1de)](_0x1c90e6(0x4f8),_0x1c90e6(0x474),_0x4f47e2,_0x300b71);break;}_0x437adf=_0x4f47e2[_0x1c90e6(0x4bd)],_0x443961=_0x300b71[_0x1c90e6(0x4bd)],_0x3adb24[_0x1c90e6(0x3cb)]({'unitID':_0x3b776d,'undoMutations':_0x4f47e2[_0x1c90e6(0x3c7)],'redoMutations':_0x300b71['m2Prime']});}return _0x3adb24['reverse']();}},exports[_0x261c0a(0x4f6)]=In([ue(0x0,a[_0x261c0a(0x25f)]),ue(0x1,a[_0x261c0a(0x2ff)]),ue(0x2,a[_0x261c0a(0x4b4)]),ue(0x3,p[_0x261c0a(0x405)]),ue(0x4,a['ILogService'])],exports['CollaborativeUndoRedoService']);var pn=Object[_0x261c0a(0x282)],mn=Object[_0x261c0a(0x308)],gn=(_0x27b444,_0x1edf54,_0x3564cf)=>_0x1edf54 in _0x27b444?pn(_0x27b444,_0x1edf54,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3564cf}):_0x27b444[_0x1edf54]=_0x3564cf,En=(_0x493efb,_0x270cc6,_0x2150d7,_0x3ac4c4)=>{var _0x12c871=_0x261c0a;for(var _0x264d48=_0x3ac4c4>0x1?void 0x0:_0x3ac4c4?mn(_0x270cc6,_0x2150d7):_0x270cc6,_0x1caf4e=_0x493efb[_0x12c871(0x249)]-0x1,_0x4dc517;_0x1caf4e>=0x0;_0x1caf4e--)(_0x4dc517=_0x493efb[_0x1caf4e])&&(_0x264d48=_0x4dc517(_0x264d48)||_0x264d48);return _0x264d48;},Le=(_0x378169,_0xa4594f)=>(_0x3654e3,_0x490d67)=>_0xa4594f(_0x3654e3,_0x490d67,_0x378169),Cn=(_0x187c2d,_0x51589e,_0x4a9243)=>gn(_0x187c2d,_0x51589e+'',_0x4a9243);const Tn=_0x261c0a(0x364);exports[_0x261c0a(0x286)]=class extends a['Plugin']{constructor(_0x5d8899,_0x2eecf8,_0x44c137,_0x60f12b){var _0xd17116=_0x261c0a;super(),A(this,_0xd17116(0x452)),(this['_logService']=_0x2eecf8,this[_0xd17116(0x473)]=_0x44c137,this['_configService']=_0x60f12b);const {..._0x327fc6}=a['merge']({},Bt,_0x5d8899);if(!_0x327fc6['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0xd17116(0x452)]=_0x327fc6,this['_configService'][_0xd17116(0x422)](Y,_0x327fc6);}['onStarting'](){var _0x2a26cd=_0x261c0a;this[_0x2a26cd(0x342)](),this[_0x2a26cd(0x408)]();}[_0x261c0a(0x342)](){var _0x20d8c8=_0x261c0a,_0x335c1c,_0xb8b07a;this[_0x20d8c8(0x473)][_0x20d8c8(0x267)](a[_0x20d8c8(0x4b2)])&&this['_logService'][_0x20d8c8(0x1de)](_0x20d8c8(0x4ad),_0x20d8c8(0x469));const _0x56d661=a[_0x20d8c8(0x2f9)]([[a[_0x20d8c8(0x4b2)],{'useClass':exports[_0x20d8c8(0x4f6)]}],[exports[_0x20d8c8(0x484)]],[exports[_0x20d8c8(0x3e3)]],[exports[_0x20d8c8(0x414)]],[ye],[Ne],[je],[De],[ee],[exports[_0x20d8c8(0x1ed)]],[$e,{'useClass':this[_0x20d8c8(0x452)][_0x20d8c8(0x1aa)]}],[p[_0x20d8c8(0x33d)],{'useClass':exports[_0x20d8c8(0x241)]}],[a[_0x20d8c8(0x4c1)],{'useClass':exports[_0x20d8c8(0x29b)]}],[z['IImageIoService'],{'useClass':exports['CollaborationImageIoService']}],[a[_0x20d8c8(0x434)],{'useClass':exports['MentionIoHttpService']}],[exports[_0x20d8c8(0x2c3)]],[xe]],(_0x335c1c=this[_0x20d8c8(0x452)])==null?void 0x0:_0x335c1c['override']);if(!((_0xb8b07a=this[_0x20d8c8(0x452)])!=null&&_0xb8b07a[_0x20d8c8(0x39b)])){const _0x3e047b=_0x56d661['findIndex'](([_0xac5734])=>_0xac5734===de);_0x3e047b!==-0x1&&_0x56d661[_0x20d8c8(0x3f3)](_0x3e047b,0x1);}a[_0x20d8c8(0x1d4)](this[_0x20d8c8(0x473)],_0x56d661);}['_initDependencies'](){var _0x54145f=_0x261c0a,_0x4d3c88,_0x5a1455,_0x41f23f;this[_0x54145f(0x473)]['get'](q[_0x54145f(0x2e1)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x4d3c88=this[_0x54145f(0x452)])!=null&&_0x4d3c88['enableOfflineEditing']||(_0x5a1455=this[_0x54145f(0x473)][_0x54145f(0x2f8)](K,a['Quantity']['OPTIONAL']))==null||_0x5a1455[_0x54145f(0x226)](),(_0x41f23f=this[_0x54145f(0x452)])!=null&&_0x41f23f[_0x54145f(0x3fe)]&&a['touchDependencies'](this[_0x54145f(0x473)],[[ye]]),a['touchDependencies'](this[_0x54145f(0x473)],[[Ne],[exports[_0x54145f(0x2c3)]],[De]]);}},Cn(exports[_0x261c0a(0x286)],_0x261c0a(0x23c),Tn),exports[_0x261c0a(0x286)]=En([a[_0x261c0a(0x3d2)](p[_0x261c0a(0x33a)],q[_0x261c0a(0x3a0)]),Le(0x1,a['ILogService']),Le(0x2,a[_0x261c0a(0x1a7)](a['Injector'])),Le(0x3,a[_0x261c0a(0x203)])],exports['UniverCollaborationClientPlugin']),exports[_0x261c0a(0x3f2)]=Y,exports[_0x261c0a(0x357)]=Be,exports['CollaborationUIEventId']=Z,exports[_0x261c0a(0x4dc)]=ee,exports[_0x261c0a(0x4e0)]=je,exports[_0x261c0a(0x362)]=ht,exports[_0x261c0a(0x4ee)]=Ht,exports['DEFAULT_WS_SESSION_TICKET_URL']=At,exports['HEARTBEAT_INTERVAL_KEY']=_t,exports[_0x261c0a(0x270)]=ke,exports[_0x261c0a(0x4c9)]=$e,exports['ILocalCacheService']=K,exports[_0x261c0a(0x456)]=St,exports[_0x261c0a(0x375)]=de,exports[_0x261c0a(0x2d9)]=xt,exports[_0x261c0a(0x338)]=Lt,exports[_0x261c0a(0x2ca)]=jt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ut,exports['SessionStatus']=re,exports['UnitStatus']=He,exports['deserializeToCombResponse']=ft,exports[_0x261c0a(0x1fb)]=ei,exports[_0x261c0a(0x46d)]=It;
|