@univerjs-pro/collaboration-client 0.8.2-nightly.202506241607 → 0.8.2-nightly.202506261607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0x31391e=_0x1769;(function(_0x55abe8,_0x205d76){var _0x2bb66b=_0x1769,_0x3a6cc4=_0x55abe8();while(!![]){try{var _0x3d7dfe=parseInt(_0x2bb66b(0x226))/0x1*(parseInt(_0x2bb66b(0x2b2))/0x2)+-parseInt(_0x2bb66b(0x457))/0x3*(-parseInt(_0x2bb66b(0x237))/0x4)+parseInt(_0x2bb66b(0x2ab))/0x5+parseInt(_0x2bb66b(0x1a7))/0x6*(parseInt(_0x2bb66b(0x334))/0x7)+-parseInt(_0x2bb66b(0x377))/0x8*(parseInt(_0x2bb66b(0x21f))/0x9)+-parseInt(_0x2bb66b(0x383))/0xa*(-parseInt(_0x2bb66b(0x2c1))/0xb)+-parseInt(_0x2bb66b(0x151))/0xc;if(_0x3d7dfe===_0x205d76)break;else _0x3a6cc4['push'](_0x3a6cc4['shift']());}catch(_0x29bac3){_0x3a6cc4['push'](_0x3a6cc4['shift']());}}}(_0x1af3,0x5523d));var Ut=Object[_0x31391e(0x453)],At=(_0x4edad4,_0x3bccbd,_0x456294)=>_0x3bccbd in _0x4edad4?Ut(_0x4edad4,_0x3bccbd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x456294}):_0x4edad4[_0x3bccbd]=_0x456294,A=(_0x51d491,_0x2d4bc2,_0x57c085)=>At(_0x51d491,typeof _0x2d4bc2!=_0x31391e(0x42e)?_0x2d4bc2+'':_0x2d4bc2,_0x57c085);Object[_0x31391e(0x453)](exports,Symbol[_0x31391e(0x29a)],{'value':_0x31391e(0x3fb)});const a=require(_0x31391e(0x435)),$=require(_0x31391e(0x1d9)),V=require(_0x31391e(0x44b)),p=require(_0x31391e(0x2f5)),K=require('@univerjs/network'),Pt=require(_0x31391e(0x1dd)),ht=require('@univerjs/docs'),X=require('@univerjs/sheets'),z=require('@univerjs/drawing'),Lt=require('@univerjs-pro/license'),_t=_0x31391e(0x355),wt='/universer-api/snapshot',lt=_0x31391e(0x33a),Mt=_0x31391e(0x1fc),xt=0x7d0,ut='COLLAB_WEB_SOCKET_URL',dt='ws://127.0.0.1:8000/universer-api/comb/connect',kt=_0x31391e(0x356),vt=_0x31391e(0x34e),Ht=0x7530,ke=_0x31391e(0x296),St=0x4e20,$t=0x4e20,ft=_0x31391e(0x3a6),jt=0x3,Bt='LOCAL_CACHE_INTERVAL',Ft=0x3e8,It=_0x31391e(0x319),Vt=_0x31391e(0x214),pt=_0x31391e(0x341),Wt=_0x31391e(0x13e),Yt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Gt=_0x31391e(0x3d6);var gt=(_0x330767=>(_0x330767[_0x330767[_0x31391e(0x11f)]=0x0]=_0x31391e(0x11f),_0x330767[_0x330767['OK']=0x1]='OK',_0x330767[_0x330767['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x330767[_0x330767[_0x31391e(0x23a)]=0x3]='PERMISSION_DENIED',_0x330767[_0x330767['NOT_FOUND']=0x4]=_0x31391e(0x3bc),_0x330767[_0x330767[_0x31391e(0x257)]=0x5]=_0x31391e(0x257),_0x330767[_0x330767[_0x31391e(0x18e)]=0x6]=_0x31391e(0x18e),_0x330767[_0x330767['INVALID_ARGUMENT']=0x7]=_0x31391e(0x3f8),_0x330767[_0x330767[_0x31391e(0x180)]=0x8]=_0x31391e(0x180),_0x330767[_0x330767['COMPLETION_FINISHED']=0x9]=_0x31391e(0x115),_0x330767[_0x330767[_0x31391e(0x1df)]=0xa]='LOGIN_FAILED',_0x330767[_0x330767[_0x31391e(0x375)]=0xb]=_0x31391e(0x375),_0x330767[_0x330767[_0x31391e(0x31a)]=0xc]=_0x31391e(0x31a),_0x330767[_0x330767[_0x31391e(0x342)]=0xd]=_0x31391e(0x342),_0x330767[_0x330767[_0x31391e(0x2dc)]=0xe]=_0x31391e(0x2dc),_0x330767[_0x330767['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x31391e(0x15d),_0x330767[_0x330767[_0x31391e(0x430)]=0x1771]=_0x31391e(0x430),_0x330767[_0x330767['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x31391e(0x105),_0x330767[_0x330767[_0x31391e(0x3df)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x330767[_0x330767[_0x31391e(0x150)]=0x1b59]=_0x31391e(0x150),_0x330767[_0x330767['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x31391e(0x21a),_0x330767[_0x330767['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x31391e(0x1bc),_0x330767[_0x330767[_0x31391e(0x134)]=0x1b5c]=_0x31391e(0x134),_0x330767[_0x330767[_0x31391e(0x3b5)]=0x1b5d]=_0x31391e(0x3b5),_0x330767[_0x330767[_0x31391e(0x413)]=0x1f41]=_0x31391e(0x413),_0x330767[_0x330767['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x330767[_0x330767[_0x31391e(0x17c)]=0x232a]=_0x31391e(0x17c),_0x330767[_0x330767[_0x31391e(0x2e2)]=0x232b]=_0x31391e(0x2e2),_0x330767[_0x330767[_0x31391e(0x3dc)]=0x232c]=_0x31391e(0x3dc),_0x330767[_0x330767['LICENSE_DISTRO_REJECTED']=0x232d]=_0x31391e(0x46f),_0x330767[_0x330767[_0x31391e(0x326)]=0x2711]=_0x31391e(0x326),_0x330767[_0x330767[_0x31391e(0x3d3)]=0x2712]=_0x31391e(0x3d3),_0x330767[_0x330767[_0x31391e(0x136)]=0x2713]=_0x31391e(0x136),_0x330767[_0x330767[_0x31391e(0x175)]=0x2714]=_0x31391e(0x175),_0x330767[_0x330767[_0x31391e(0xf9)]=0x271a]=_0x31391e(0xf9),_0x330767[_0x330767[_0x31391e(0x368)]=0x271b]=_0x31391e(0x368),_0x330767[_0x330767[_0x31391e(0x3e4)]=0x271c]=_0x31391e(0x3e4),_0x330767[_0x330767['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x330767[_0x330767[_0x31391e(0x1e2)]=0x271e]=_0x31391e(0x1e2),_0x330767[_0x330767[_0x31391e(0x2e7)]=0x271f]=_0x31391e(0x2e7),_0x330767[_0x330767['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x31391e(0x2c9),_0x330767[_0x330767['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x31391e(0x3ea),_0x330767[_0x330767[_0x31391e(0x318)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x330767[_0x330767[_0x31391e(0x24b)]=0x2ee2]=_0x31391e(0x24b),_0x330767[_0x330767[_0x31391e(0x260)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x330767[_0x330767[_0x31391e(0x408)]=0x2ee4]=_0x31391e(0x408),_0x330767[_0x330767['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x330767[_0x330767['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x31391e(0x24f),_0x330767[_0x330767[_0x31391e(0x26d)]=0x32ca]=_0x31391e(0x26d),_0x330767[_0x330767[_0x31391e(0x42b)]=0x32cb]=_0x31391e(0x42b),_0x330767[_0x330767[_0x31391e(0x2db)]=-0x1]=_0x31391e(0x2db),_0x330767))(gt||{}),J=(_0x4389c1=>(_0x4389c1[_0x4389c1['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x4389c1[_0x4389c1[_0x31391e(0x302)]=0x1]=_0x31391e(0x302),_0x4389c1[_0x4389c1['UNIVER_SHEET']=0x2]=_0x31391e(0x1a5),_0x4389c1[_0x4389c1['UNIVER_SLIDE']=0x3]=_0x31391e(0x3cd),_0x4389c1[_0x4389c1[_0x31391e(0x137)]=0x4]=_0x31391e(0x137),_0x4389c1[_0x4389c1['UNRECOGNIZED']=-0x1]=_0x31391e(0x2db),_0x4389c1))(J||{}),W=(_0x944801=>(_0x944801[_0x944801[_0x31391e(0x1c6)]=0x0]='UNKNOWN_CMD',_0x944801[_0x944801[_0x31391e(0x213)]=0x1]=_0x31391e(0x213),_0x944801[_0x944801[_0x31391e(0x179)]=0x2]='JOIN',_0x944801[_0x944801[_0x31391e(0x120)]=0x3]='LEAVE',_0x944801[_0x944801[_0x31391e(0x43f)]=0x4]='INGEST',_0x944801[_0x944801[_0x31391e(0x1be)]=0x5]=_0x31391e(0x1be),_0x944801[_0x944801[_0x31391e(0x1b9)]=0x6]=_0x31391e(0x1b9),_0x944801[_0x944801[_0x31391e(0x2db)]=-0x1]=_0x31391e(0x2db),_0x944801))(W||{}),oe=(_0x47cff9=>(_0x47cff9[_0x47cff9['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x47cff9[_0x47cff9['OK']=0x1]='OK',_0x47cff9[_0x47cff9[_0x31391e(0x3c9)]=0x2]=_0x31391e(0x3c9),_0x47cff9[_0x47cff9[_0x31391e(0x3f2)]=0x3e9]=_0x31391e(0x3f2),_0x47cff9[_0x47cff9[_0x31391e(0x1c0)]=0x3ea]=_0x31391e(0x1c0),_0x47cff9[_0x47cff9[_0x31391e(0x46a)]=0x3eb]=_0x31391e(0x46a),_0x47cff9[_0x47cff9[_0x31391e(0x272)]=0x3ec]=_0x31391e(0x272),_0x47cff9[_0x47cff9[_0x31391e(0x2db)]=-0x1]=_0x31391e(0x2db),_0x47cff9))(oe||{}),Et=(_0x416023=>(_0x416023[_0x416023[_0x31391e(0x27c)]=0x0]=_0x31391e(0x27c),_0x416023[_0x416023[_0x31391e(0x3ba)]=0x1]=_0x31391e(0x3ba),_0x416023[_0x416023['HttpExport']=0x2]='HttpExport',_0x416023[_0x416023[_0x31391e(0x202)]=0x3]=_0x31391e(0x202),_0x416023[_0x416023[_0x31391e(0x159)]=0x4]='UnitSnapshot',_0x416023[_0x416023[_0x31391e(0x44a)]=0x5]=_0x31391e(0x44a),_0x416023[_0x416023[_0x31391e(0x2db)]=-0x1]=_0x31391e(0x2db),_0x416023))(Et||{});const G=_0x31391e(0x2f7),Kt={};var Z=(_0x451bcd=>(_0x451bcd[_0x31391e(0x221)]=_0x31391e(0x221),_0x451bcd['PERMISSION_DENIED']=_0x31391e(0x23a),_0x451bcd[_0x31391e(0x149)]=_0x31391e(0x149),_0x451bcd['CLOSE_ROOM']=_0x31391e(0x15c),_0x451bcd[_0x31391e(0x20a)]=_0x31391e(0x20a),_0x451bcd[_0x31391e(0x40a)]=_0x31391e(0x40a),_0x451bcd[_0x31391e(0x3d5)]=_0x31391e(0x3d5),_0x451bcd['SUBMIT_CHANGESET_TIMEOUT']=_0x31391e(0x161),_0x451bcd))(Z||{});class ee{constructor(){var _0x55c263=_0x31391e;A(this,_0x55c263(0x101),new $['Subject']()),A(this,_0x55c263(0x1ec),this[_0x55c263(0x101)]['asObservable']());}[_0x31391e(0x352)](_0x2ef948){var _0x456cd8=_0x31391e;this[_0x456cd8(0x101)][_0x456cd8(0x16e)](_0x2ef948);}}const mt=a[_0x31391e(0x2fb)](_0x31391e(0x167));function Ct(_0x4c1df0){var _0xb9a8f8=_0x31391e,_0x212b2c,_0x3e5c66,_0x25d7b0,_0x891aa8,_0x388a13;const _0x5e3957=_0x4c1df0['data'],_0x28b213=JSON[_0xb9a8f8(0x3a7)](_0x5e3957);switch(_0x28b213[_0xb9a8f8(0x2eb)]){case W['HEARTBEAT']:case W[_0xb9a8f8(0x213)]:{const _0x4d03d9=_0x28b213[_0xb9a8f8(0x30e)];return{..._0x28b213,'data':_0x4d03d9,'cmd':_0x28b213[_0xb9a8f8(0x2eb)]};}case W[_0xb9a8f8(0x179)]:{const _0x204372=_0x28b213[_0xb9a8f8(0x1fd)];return{..._0x28b213,'data':_0x204372,'cmd':_0x28b213[_0xb9a8f8(0x2eb)]};}case W['RECV']:{const _0x155700=_0x28b213[_0xb9a8f8(0x3d9)];switch(_0x155700['eventID']){case p[_0xb9a8f8(0x3a2)][_0xb9a8f8(0x194)]:return{..._0x28b213,'data':{..._0x155700,'data':(_0x212b2c=_0x155700[_0xb9a8f8(0x3dd)])==null?void 0x0:_0x212b2c['cs']},'cmd':_0x28b213[_0xb9a8f8(0x2eb)]};case p['CollaborationEvent'][_0xb9a8f8(0x41d)]:return{..._0x28b213,'data':{..._0x155700,'data':(_0x3e5c66=_0x155700[_0xb9a8f8(0x171)])==null?void 0x0:_0x3e5c66['cs']},'cmd':_0x28b213[_0xb9a8f8(0x2eb)]};case p[_0xb9a8f8(0x3a2)][_0xb9a8f8(0x438)]:return{..._0x28b213,'data':{..._0x155700,'data':(_0x25d7b0=_0x155700[_0xb9a8f8(0x16b)])==null?void 0x0:_0x25d7b0['cs']},'cmd':_0x28b213['cmd']};case p[_0xb9a8f8(0x3a2)]['CHANGESET_REJ']:return{..._0x28b213,'data':{..._0x155700,'data':(_0x891aa8=_0x155700[_0xb9a8f8(0x1c2)])==null?void 0x0:_0x891aa8['cs']},'cmd':_0x28b213[_0xb9a8f8(0x2eb)]};case p['CollaborationEvent'][_0xb9a8f8(0x1de)]:return{..._0x28b213,'data':{..._0x155700,'data':(_0x388a13=_0x155700[_0xb9a8f8(0x2cd)])==null?void 0x0:_0x388a13['cs']},'cmd':_0x28b213[_0xb9a8f8(0x2eb)]};case p[_0xb9a8f8(0x3a2)][_0xb9a8f8(0x3bd)]:return{..._0x28b213,'data':{..._0x155700,'data':_0x155700[_0xb9a8f8(0x245)]},'cmd':_0x28b213[_0xb9a8f8(0x2eb)]};case p[_0xb9a8f8(0x3a2)]['USERS_ENTER']:return{..._0x28b213,'data':{..._0x155700,'data':_0x155700['joinEvent']},'cmd':_0x28b213['cmd']};case p[_0xb9a8f8(0x3a2)][_0xb9a8f8(0x227)]:return{..._0x28b213,'data':{..._0x155700,'data':_0x155700['leaveEvent']},'cmd':_0x28b213[_0xb9a8f8(0x2eb)]};case p[_0xb9a8f8(0x3a2)][_0xb9a8f8(0x34b)]:return{..._0x28b213,'data':{..._0x155700,'data':_0x155700[_0xb9a8f8(0x3c5)]},'cmd':_0x28b213[_0xb9a8f8(0x2eb)]};case p['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:case p[_0xb9a8f8(0x3a2)][_0xb9a8f8(0x2bf)]:return{..._0x28b213,'data':{..._0x155700,'data':_0x155700[_0xb9a8f8(0x203)]},'cmd':_0x28b213['cmd']};case p['CollaborationEvent'][_0xb9a8f8(0x460)]:return{..._0x28b213,'data':{..._0x155700,'data':_0x155700['liveShareNewHost']},'cmd':_0x28b213[_0xb9a8f8(0x2eb)]};case p[_0xb9a8f8(0x3a2)]['MSG_FOR_ERROR']:return{..._0x28b213,'data':_0x155700,'cmd':_0x28b213[_0xb9a8f8(0x2eb)]};case p['CollaborationEvent'][_0xb9a8f8(0x100)]:return{..._0x28b213,'data':{..._0x155700,'data':_0x155700[_0xb9a8f8(0x201)]},'cmd':_0x28b213['cmd']};case p[_0xb9a8f8(0x3a2)][_0xb9a8f8(0x24e)]:return{..._0x28b213,'data':{..._0x155700,'data':_0x155700[_0xb9a8f8(0x16c)]},'cmd':_0x28b213[_0xb9a8f8(0x2eb)]};case p[_0xb9a8f8(0x3a2)][_0xb9a8f8(0x37d)]:return{..._0x28b213,'data':{..._0x155700,'data':_0x155700[_0xb9a8f8(0x1e7)]},'cmd':_0x28b213[_0xb9a8f8(0x2eb)]};case p[_0xb9a8f8(0x3a2)][_0xb9a8f8(0x45f)]:return{..._0x28b213,'data':{..._0x155700,'data':_0x155700['uniscriptRunEvent']},'cmd':_0x28b213['cmd']};default:return _0x28b213;}}default:return _0x28b213;}}function Tt(_0x324031){var _0xe5fc63=_0x31391e;switch(_0x324031[_0xe5fc63(0x2eb)]){case W['HEARTBEAT']:case W[_0xe5fc63(0x213)]:return JSON[_0xe5fc63(0x2ea)]({'cmd':_0x324031[_0xe5fc63(0x2eb)],'routeKey':_0x324031[_0xe5fc63(0x36b)]});case W[_0xe5fc63(0x43f)]:{let _0x245241;switch(_0x324031[_0xe5fc63(0x2e4)][_0xe5fc63(0x1c3)]){case p[_0xe5fc63(0x3a2)][_0xe5fc63(0x3bd)]:{_0x245241={'eventID':p[_0xe5fc63(0x3a2)]['UPDATE_CURSOR'],'updateCursorEvent':_0x324031[_0xe5fc63(0x2e4)][_0xe5fc63(0x2e4)]};break;}case p[_0xe5fc63(0x3a2)][_0xe5fc63(0x227)]:{_0x245241={'eventID':p['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x324031[_0xe5fc63(0x2e4)]['data']};break;}case p[_0xe5fc63(0x3a2)][_0xe5fc63(0x37c)]:{_0x245241={'eventID':p[_0xe5fc63(0x3a2)][_0xe5fc63(0x37c)],'joinEvent':_0x324031[_0xe5fc63(0x2e4)][_0xe5fc63(0x2e4)]};break;}case p[_0xe5fc63(0x3a2)][_0xe5fc63(0x34b)]:{_0x245241={'eventID':p[_0xe5fc63(0x3a2)][_0xe5fc63(0x34b)],'liveShareNewHost':_0x324031[_0xe5fc63(0x2e4)]['data']};break;}case p[_0xe5fc63(0x3a2)]['LIVESHARE_OPERATION']:{_0x245241={'eventID':p[_0xe5fc63(0x3a2)][_0xe5fc63(0x2bf)],'liveShareOperation':_0x324031[_0xe5fc63(0x2e4)][_0xe5fc63(0x2e4)]};break;}case p[_0xe5fc63(0x3a2)]['LIVESHARE_TERMINATE']:{_0x245241={'eventID':p[_0xe5fc63(0x3a2)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x324031['data'][_0xe5fc63(0x2e4)]};break;}case p['CollaborationEvent'][_0xe5fc63(0xf2)]:{_0x245241={'eventID':p[_0xe5fc63(0x3a2)][_0xe5fc63(0xf2)],'liveShareRequestHost':_0x324031[_0xe5fc63(0x2e4)]['data']};break;}case p['CollaborationEvent'][_0xe5fc63(0xf8)]:{_0x245241={'eventID':p[_0xe5fc63(0x3a2)][_0xe5fc63(0xf8)]};break;}default:_0x245241={'eventID':_0x324031[_0xe5fc63(0x2e4)][_0xe5fc63(0x1c3)]};}return JSON[_0xe5fc63(0x2ea)]({'cmd':_0x324031[_0xe5fc63(0x2eb)],'routeKey':_0x324031['routeKey'],'collaMsg':_0x245241});}case W[_0xe5fc63(0x179)]:return JSON['stringify']({'cmd':_0x324031[_0xe5fc63(0x2eb)],'routeKey':_0x324031[_0xe5fc63(0x36b)],'joinReq':_0x324031[_0xe5fc63(0x2e4)]});case W[_0xe5fc63(0x120)]:return JSON[_0xe5fc63(0x2ea)]({'cmd':_0x324031[_0xe5fc63(0x2eb)],'routeKey':_0x324031['routeKey'],'leaveReq':_0x324031[_0xe5fc63(0x2e4)]});default:throw new Error(_0xe5fc63(0x232));}}var qt=Object['getOwnPropertyDescriptor'],zt=(_0xcdfcc7,_0x2e0ccb,_0x29b03a,_0x477989)=>{var _0x31f214=_0x31391e;for(var _0x2a2f19=_0x477989>0x1?void 0x0:_0x477989?qt(_0x2e0ccb,_0x29b03a):_0x2e0ccb,_0x5026f4=_0xcdfcc7[_0x31f214(0x2cc)]-0x1,_0x2877a2;_0x5026f4>=0x0;_0x5026f4--)(_0x2877a2=_0xcdfcc7[_0x5026f4])&&(_0x2a2f19=_0x2877a2(_0x2a2f19)||_0x2a2f19);return _0x2a2f19;},_e=(_0x434758,_0x5c6153)=>(_0x2688b5,_0x46e874)=>_0x5c6153(_0x2688b5,_0x46e874,_0x434758);const He=a['createIdentifier'](_0x31391e(0x26a));function Jt(_0x5378f2,_0x2f5472,_0x65e2fa){return _0x5378f2+'/'+_0x2f5472+'/unit/'+_0x65e2fa+'/new_changes';}exports['CollaborationSocketService']=class extends a[_0x31391e(0x2c0)]{constructor(_0x3c5815,_0x8adcd7,_0x278885,_0x3fb50b,_0x12e1ca){var _0x3eeece=_0x31391e;super(),this[_0x3eeece(0x1a4)]=_0x3c5815,this[_0x3eeece(0x1e9)]=_0x8adcd7,this[_0x3eeece(0x2a8)]=_0x278885,this[_0x3eeece(0x10e)]=_0x3fb50b,this[_0x3eeece(0x427)]=_0x12e1ca;}[_0x31391e(0x2ec)](_0x2092f5){var _0x782682=_0x31391e;const _0x35b6be=this['_injector'][_0x782682(0x244)](K['ISocketService']);if(!_0x35b6be)throw new Error(_0x782682(0x154));const _0x56a580=_0x35b6be['createSocket'](_0x2092f5);if(!_0x56a580)throw new Error(_0x782682(0x1c4));const _0x9c9185=new a[(_0x782682(0xf3))](),_0x1d359d=new $[(_0x782682(0x361))]();_0x9c9185[_0x782682(0x3a0)](_0x56a580['close$'][_0x782682(0x369)](_0x40de37=>_0x1d359d['next'](_0x40de37))),_0x9c9185[_0x782682(0x3a0)](a[_0x782682(0x32c)](()=>_0x1d359d['complete']()));const _0x33b721=new $[(_0x782682(0x361))]();_0x9c9185[_0x782682(0x3a0)](_0x56a580[_0x782682(0x423)]['subscribe'](_0x59b728=>_0x33b721['next'](_0x59b728))),_0x9c9185[_0x782682(0x3a0)](a[_0x782682(0x32c)](()=>_0x33b721[_0x782682(0x220)]()));const _0x5ef8a6=new $['Subject']();_0x9c9185[_0x782682(0x3a0)](_0x56a580[_0x782682(0x1ef)][_0x782682(0x369)](_0x512eea=>{const _0xa95615=Ct(_0x512eea);_0x5ef8a6['next'](_0xa95615);})),_0x9c9185[_0x782682(0x3a0)](a['toDisposable'](()=>_0x5ef8a6[_0x782682(0x220)]()));let _0x3aab08;const _0x58f720=()=>{var _0x194c33=_0x782682;_0x33b721['next'](new Event(_0x194c33(0x3f6))),_0x1d359d[_0x194c33(0x16e)](new Event(_0x194c33(0x3f6))),_0x3aab08['close']();};return _0x3aab08={'memberID':'','close$':_0x1d359d[_0x782682(0x252)](),'error$':_0x33b721[_0x782682(0x252)](),'open$':_0x56a580[_0x782682(0x2e0)],'message$':_0x5ef8a6[_0x782682(0x252)](),'send':_0xfecc5e=>{var _0x4e4255=_0x782682;if(_0xfecc5e[_0x4e4255(0x2eb)]===W[_0x4e4255(0x43f)]){if(_0xfecc5e[_0x4e4255(0x2e4)][_0x4e4255(0x1c3)]===p['CollaborationEvent'][_0x4e4255(0x40d)]){this[_0x4e4255(0x32b)](_0x3aab08,_0xfecc5e['data'])[_0x4e4255(0x403)](_0x274e7=>{var _0x531df9=_0x4e4255;this[_0x531df9(0x10e)][_0x531df9(0x219)](_0x274e7),_0x58f720();});return;}if(_0xfecc5e[_0x4e4255(0x2e4)]['eventID']===p[_0x4e4255(0x3a2)]['FETCH_MISSING']){const _0x59e934=_0xfecc5e[_0x4e4255(0x2e4)];this['_fetchMissChangesets'](_0x59e934)[_0x4e4255(0x117)](_0x3e2214=>{var _0x1d4064=_0x4e4255;_0x5ef8a6[_0x1d4064(0x16e)]({'cmd':W[_0x1d4064(0x1b9)],'code':oe['OK'],'routeKey':_0x59e934[_0x1d4064(0x2e4)][_0x1d4064(0x185)],'routeType':'','data':{'eventID':p[_0x1d4064(0x3a2)][_0x1d4064(0x328)],'data':{'changesets':_0x3e2214}}});})[_0x4e4255(0x403)](_0x555cf9=>{var _0x53d681=_0x4e4255;this[_0x53d681(0x10e)][_0x53d681(0x219)](_0x555cf9),_0x58f720();});return;}}_0x56a580[_0x4e4255(0x1f9)](Tt(_0xfecc5e));},'close':()=>{var _0x5c79e8=_0x782682;_0x56a580[_0x5c79e8(0x35f)](),_0x9c9185['dispose']();}},_0x3aab08;}async['_submitChangeset'](_0x1b2cf8,_0x471f19){var _0x411c9b=_0x31391e,_0xc115af,_0x1a21db;const {unitType:_0x34830e,unitID:_0x4cad6e,changeset:_0x2b3d4a}=_0x471f19['data'],_0x53c641={'unitID':_0x4cad6e,'memberID':_0x1b2cf8[_0x411c9b(0x446)],'type':_0x34830e,'changeset':p[_0x411c9b(0x261)](_0x2b3d4a)},_0x56461f=this['_configService'][_0x411c9b(0x411)](It),_0x3cb9d5=this['_configService'][_0x411c9b(0x411)](G),_0x370ef6=Jt((_0x1a21db=(_0xc115af=_0x3cb9d5==null?void 0x0:_0x3cb9d5[_0x411c9b(0x479)])!=null?_0xc115af:_0x56461f)!=null?_0x1a21db:Vt,_0x34830e,_0x4cad6e);try{await this[_0x411c9b(0x1e9)][_0x411c9b(0x2f4)](_0x370ef6,{'body':_0x53c641});}catch(_0x25349e){throw this[_0x411c9b(0x10e)][_0x411c9b(0x219)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x25349e;}}async[_0x31391e(0x1e1)](_0x244dba){var _0x556452=_0x31391e;const {unitID:_0x40715b,from:_0x11e2ee,to:_0x551a06,unitType:_0x14d500}=_0x244dba['data'];return(await this[_0x556452(0x427)][_0x556452(0x469)]({'metadata':void 0x0},{'unitID':_0x40715b,'type':_0x14d500,'from':_0x11e2ee,'to':_0x551a06}))[_0x556452(0x40e)];}},exports[_0x31391e(0x273)]=zt([_e(0x0,a[_0x31391e(0x3f0)](a[_0x31391e(0x281)])),_e(0x1,a['Inject'](K[_0x31391e(0x28b)])),_e(0x2,a[_0x31391e(0x474)]),_e(0x3,a[_0x31391e(0x2d4)]),_e(0x4,p[_0x31391e(0x2bc)])],exports[_0x31391e(0x273)]);const Xt=_0x31391e(0x3b1);function Zt(_0x49083d){var _0x2a8ec5=_0x31391e;return JSON[_0x2a8ec5(0x2ea)](_0x49083d)[_0x2a8ec5(0x2cc)];}class $e{constructor(){var _0x1bf0b7=_0x31391e;A(this,_0x1bf0b7(0x421),new $['Subject']()),A(this,'commentUpdate$',this['_commentUpdate$']['asObservable']());}[_0x31391e(0x234)](_0x3bad62){var _0x33aa8f=_0x31391e;this[_0x33aa8f(0x421)][_0x33aa8f(0x16e)](_0x3bad62);}}var Qt=Object[_0x31391e(0x1d1)],ei=(_0x4f34a0,_0x32622a,_0x311e93,_0xbff42b)=>{var _0x3fd45e=_0x31391e;for(var _0x1f6eac=_0xbff42b>0x1?void 0x0:_0xbff42b?Qt(_0x32622a,_0x311e93):_0x32622a,_0x562ba9=_0x4f34a0[_0x3fd45e(0x2cc)]-0x1,_0x10e79f;_0x562ba9>=0x0;_0x562ba9--)(_0x10e79f=_0x4f34a0[_0x562ba9])&&(_0x1f6eac=_0x10e79f(_0x1f6eac)||_0x1f6eac);return _0x1f6eac;},We=(_0xb2a549,_0x1317a9)=>(_0x451845,_0xb19730)=>_0x1317a9(_0x451845,_0xb19730,_0xb2a549);function _0x1769(_0x52e37c,_0x3cb36e){var _0x1af304=_0x1af3();return _0x1769=function(_0x17694e,_0x486e9c){_0x17694e=_0x17694e-0xf2;var _0x540750=_0x1af304[_0x17694e];return _0x540750;},_0x1769(_0x52e37c,_0x3cb36e);}exports[_0x31391e(0x25a)]=class extends a[_0x31391e(0x2c0)]{constructor(_0x26c215,_0x5dec50){var _0xaa87a9=_0x31391e;super(),A(this,_0xaa87a9(0x3e7),new Map()),A(this,'_roomCreated$',new $[(_0xaa87a9(0x361))]()),(this[_0xaa87a9(0x29b)]=_0x26c215,this[_0xaa87a9(0x348)]=_0x5dec50,this[_0xaa87a9(0x3ed)]($['merge'](this[_0xaa87a9(0x29b)]['getTypeOfUnitDisposed$'](a[_0xaa87a9(0x21c)]['UNIVER_SHEET'])[_0xaa87a9(0x23b)](V[_0xaa87a9(0x12b)](_0x34a439=>_0x34a439[_0xaa87a9(0x1ea)]())),this[_0xaa87a9(0x29b)]['getTypeOfUnitDisposed$'](a[_0xaa87a9(0x21c)][_0xaa87a9(0x302)])['pipe'](V[_0xaa87a9(0x12b)](_0x77225d=>_0x77225d[_0xaa87a9(0x1ea)]())),this['_univerInstanceService'][_0xaa87a9(0x3a3)](a['UniverInstanceType'][_0xaa87a9(0x3cd)])['pipe'](V[_0xaa87a9(0x12b)](_0x5c46cb=>_0x5c46cb[_0xaa87a9(0x1ea)]())))['subscribe'](_0x5cdf7f=>this[_0xaa87a9(0x174)](_0x5cdf7f))));}[_0x31391e(0x466)](_0x46cc99){var _0x36b70c=_0x31391e;return this[_0x36b70c(0x3e7)][_0x36b70c(0x26f)](_0x46cc99)?$['of'](this['_roomMembers'][_0x36b70c(0x244)](_0x46cc99)):this[_0x36b70c(0x32a)][_0x36b70c(0x23b)](V[_0x36b70c(0x12b)](_0x234909=>{var _0xefed64=_0x36b70c;if(_0x234909===_0x46cc99)return this[_0xefed64(0x3e7)][_0xefed64(0x244)](_0x234909);}));}[_0x31391e(0x38f)](_0x38aaed){var _0x5736c7=_0x31391e;this[_0x5736c7(0x348)][_0x5736c7(0x38f)](_0x38aaed);}[_0x31391e(0x16f)](){var _0x45a67c=_0x31391e;return this[_0x45a67c(0x348)][_0x45a67c(0x16f)]();}[_0x31391e(0x2bb)](_0x4526fa,_0x3916d0){var _0x3f2e17=_0x31391e;let _0x4783e5=this[_0x3f2e17(0x3e7)][_0x3f2e17(0x244)](_0x4526fa);_0x4783e5||(_0x4783e5=new ti(),this[_0x3f2e17(0x3e7)][_0x3f2e17(0x3a8)](_0x4526fa,_0x4783e5),this[_0x3f2e17(0x32a)]['next'](_0x4526fa)),_0x4783e5[_0x3f2e17(0x2bb)](_0x3916d0);}[_0x31391e(0x387)](_0x477c6d,_0x52a208){var _0x5f135b=_0x31391e;const _0x3b0875=this[_0x5f135b(0x3e7)][_0x5f135b(0x244)](_0x477c6d);_0x3b0875&&_0x3b0875['removeMember'](_0x52a208);}[_0x31391e(0x1ed)](_0xf032b4){var _0x172d58=_0x31391e;return this[_0x172d58(0x3e7)]['get'](_0xf032b4);}[_0x31391e(0x313)](_0xa8b564,_0x5bc3eb){var _0x4362b4=_0x31391e;const _0x3b9af1=this[_0x4362b4(0x3e7)][_0x4362b4(0x244)](_0xa8b564);if(_0x3b9af1)return _0x3b9af1['getMember'](_0x5bc3eb);}['_removeRoom'](_0x30cc46){var _0x304004=_0x31391e;const _0x1ef4dc=this[_0x304004(0x3e7)][_0x304004(0x244)](_0x30cc46);_0x1ef4dc&&(_0x1ef4dc[_0x304004(0x258)](),this[_0x304004(0x3e7)]['delete'](_0x30cc46));}['dispose'](){var _0x4f2af7=_0x31391e;this[_0x4f2af7(0x3e7)][_0x4f2af7(0x381)](_0x16382c=>_0x16382c[_0x4f2af7(0x258)]()),this[_0x4f2af7(0x3e7)]['clear'](),this[_0x4f2af7(0x32a)][_0x4f2af7(0x220)]();}},exports[_0x31391e(0x25a)]=ei([We(0x0,a[_0x31391e(0x2ad)]),We(0x1,a[_0x31391e(0x3f0)](a['UserManagerService']))],exports[_0x31391e(0x25a)]);class ti extends a[_0x31391e(0x2c0)]{constructor(){var _0x4cf5ed=_0x31391e;super(...arguments),A(this,_0x4cf5ed(0x164),new Map()),A(this,_0x4cf5ed(0x231),new $[(_0x4cf5ed(0x41c))](this[_0x4cf5ed(0x164)])),A(this,_0x4cf5ed(0x1fb),this[_0x4cf5ed(0x231)][_0x4cf5ed(0x252)]());}['dispose'](){var _0x5b2829=_0x31391e;this[_0x5b2829(0x164)][_0x5b2829(0x2ee)]();}[_0x31391e(0x2bb)](_0x497d26){var _0x154416=_0x31391e;this[_0x154416(0x164)]['set'](_0x497d26[_0x154416(0x446)],_0x497d26),this[_0x154416(0x242)]();}[_0x31391e(0x387)](_0x4bb613){var _0x2d31b7=_0x31391e;this[_0x2d31b7(0x164)]['delete'](_0x4bb613);}['getMember'](_0x27be82){var _0x2c2e71=_0x31391e;return this[_0x2c2e71(0x164)][_0x2c2e71(0x244)](_0x27be82);}[_0x31391e(0x22a)](){var _0x4fe51a=_0x31391e;return Array[_0x4fe51a(0x38e)](this[_0x4fe51a(0x164)][_0x4fe51a(0x197)]());}[_0x31391e(0x242)](){var _0x49b645=_0x31391e;this[_0x49b645(0x231)][_0x49b645(0x16e)](this[_0x49b645(0x164)]);}}var ii=Object['getOwnPropertyDescriptor'],ni=(_0xadf39e,_0x605b69,_0x497e56,_0x1ee186)=>{var _0x157354=_0x31391e;for(var _0x317526=_0x1ee186>0x1?void 0x0:_0x1ee186?ii(_0x605b69,_0x497e56):_0x605b69,_0x167c9f=_0xadf39e[_0x157354(0x2cc)]-0x1,_0x167976;_0x167c9f>=0x0;_0x167c9f--)(_0x167976=_0xadf39e[_0x167c9f])&&(_0x317526=_0x167976(_0x317526)||_0x317526);return _0x317526;},se=(_0x4b27d8,_0x64a37d)=>(_0x2bd872,_0x505d3a)=>_0x64a37d(_0x2bd872,_0x505d3a,_0x4b27d8),re=(_0x40d96a=>(_0x40d96a[_0x40d96a[_0x31391e(0x1a6)]=0x0]=_0x31391e(0x1a6),_0x40d96a[_0x40d96a[_0x31391e(0x36c)]=0x1]='JOINING',_0x40d96a[_0x40d96a['OFFLINE']=0x2]=_0x31391e(0x307),_0x40d96a[_0x40d96a['ONLINE']=0x3]=_0x31391e(0x3b2),_0x40d96a))(re||{});const Ye={[oe['FAIL']]:'session.join-failed',[oe[_0x31391e(0x3f2)]]:'session.room-full',[oe[_0x31391e(0x1c0)]]:_0x31391e(0x24c),[oe[_0x31391e(0x46a)]]:'session.room-permission-denied',[oe[_0x31391e(0x272)]]:'session.room-cnt-exceeds'};exports[_0x31391e(0x1da)]=class extends a['RxDisposable']{constructor(_0x41743c,_0x3d5394,_0x4af5df,_0x3e4436,_0x566032,_0x60ad78,_0x51a23d,_0x46faa6,_0x14c1a9){var _0x25d053=_0x31391e;super(),A(this,'_sessionStatus$',new $['BehaviorSubject'](0x0)),A(this,_0x25d053(0x363),this['_sessionStatus$'][_0x25d053(0x252)]()),A(this,_0x25d053(0x101),new $[(_0x25d053(0x361))]()),A(this,'event$',this['_event$'][_0x25d053(0x252)]()),A(this,'_socket'),A(this,_0x25d053(0x45e)),A(this,_0x25d053(0x2f6)),A(this,_0x25d053(0x1a8),!0x1),A(this,_0x25d053(0x3cc),null),(this[_0x25d053(0x360)]=_0x41743c,this[_0x25d053(0x10e)]=_0x4af5df,this[_0x25d053(0x2a8)]=_0x3e4436,this[_0x25d053(0x3bb)]=_0x566032,this[_0x25d053(0x34d)]=_0x60ad78,this[_0x25d053(0x407)]=_0x51a23d,this[_0x25d053(0x2be)]=_0x46faa6,this[_0x25d053(0x132)]=_0x14c1a9,this[_0x25d053(0x1a8)]=!!this['_telemetryService'],_0x3d5394[_0x25d053(0x23b)]($[_0x25d053(0x193)](this[_0x25d053(0x119)]))[_0x25d053(0x369)](_0x34b2d9=>{var _0x1ac74f=_0x25d053,_0xf5d6a7;typeof _0x34b2d9>'u'||(this[_0x1ac74f(0x3ca)]=_0x34b2d9,_0x34b2d9?(this[_0x1ac74f(0x321)](_0x34b2d9),this[_0x1ac74f(0x45e)]=_0x34b2d9['message$']['subscribe'](_0x1e5cf9=>{var _0x5dfab2=_0x1ac74f;_0x1e5cf9[_0x5dfab2(0x36b)]===this[_0x5dfab2(0x360)]&&this[_0x5dfab2(0x37b)](_0x1e5cf9);})):(this[_0x1ac74f(0x247)](),this[_0x1ac74f(0x3a4)]['next'](0x2),(_0xf5d6a7=this['_socketMessageSubscription'])==null||_0xf5d6a7[_0x1ac74f(0x3b7)](),this[_0x1ac74f(0x45e)]=null));}));}get[_0x31391e(0x17e)](){var _0x2264f2=_0x31391e;return this['_sessionStatus$'][_0x2264f2(0xf6)]();}[_0x31391e(0x416)](){var _0x39cf60=_0x31391e,_0x355082,_0x8b9e90;return(_0x8b9e90=(_0x355082=this[_0x39cf60(0x3ca)])==null?void 0x0:_0x355082[_0x39cf60(0x446)])!=null?_0x8b9e90:null;}['dispose'](){var _0x6c6709=_0x31391e;super[_0x6c6709(0x258)](),this[_0x6c6709(0x119)]['next'](),this[_0x6c6709(0x119)][_0x6c6709(0x220)]();}[_0x31391e(0x35f)](){var _0x5a7ca1=_0x31391e,_0x3172c6,_0x4f4851;this[_0x5a7ca1(0x247)](),(_0x3172c6=this[_0x5a7ca1(0x3ca)])==null||_0x3172c6[_0x5a7ca1(0x1f9)]({'cmd':W[_0x5a7ca1(0x120)],'data':{'roomID':this[_0x5a7ca1(0x360)]}}),(_0x4f4851=this['_socket'])==null||_0x4f4851[_0x5a7ca1(0x35f)](),this['_event$']['complete'](),this['_sessionStatus$'][_0x5a7ca1(0x220)](),this[_0x5a7ca1(0x258)]();}[_0x31391e(0x37b)](_0x3cab79){var _0x5125cf=_0x31391e;_0x3cab79[_0x5125cf(0x2eb)]===W['JOIN']?this['_onJoinRoomEvent'](_0x3cab79):_0x3cab79['cmd']===W[_0x5125cf(0x1b9)]&&this['_onRecvEvent'](_0x3cab79);}['_joinRoom'](_0x3f9094){var _0x18496e=_0x31391e;this[_0x18496e(0x3a4)][_0x18496e(0x16e)](0x1),_0x3f9094['send']({'cmd':W[_0x18496e(0x179)],'routeKey':this[_0x18496e(0x360)],'routeType':'','data':{'rooms':[{'roomID':this[_0x18496e(0x360)]}]}});}[_0x31391e(0x2de)](_0x4da0fa){var _0x1e5cf1=_0x31391e,_0x3be637;if(_0x4da0fa[_0x1e5cf1(0x1cd)]in Ye){this[_0x1e5cf1(0x2be)][_0x1e5cf1(0x352)]({'id':Z[_0x1e5cf1(0x20a)],'data':Ye[_0x4da0fa['code']]}),this[_0x1e5cf1(0x3a4)]['next'](0x2);return;}this[_0x1e5cf1(0x3a4)][_0x1e5cf1(0x16e)](0x3);const _0xf1f13e=(_0x3be637=_0x4da0fa['data'][_0x1e5cf1(0x397)][this[_0x1e5cf1(0x360)]])==null?void 0x0:_0x3be637[_0x1e5cf1(0x25d)];_0xf1f13e&&_0xf1f13e[_0x1e5cf1(0x381)](_0x201853=>this['_memberService'][_0x1e5cf1(0x2bb)](this[_0x1e5cf1(0x360)],_0x201853));}['_onRecvEvent'](_0x4a38a5){var _0x564fd1=_0x31391e;try{const _0x565cec=_0x4a38a5[_0x564fd1(0x2e4)];switch(_0x565cec[_0x564fd1(0x1c3)]){case p[_0x564fd1(0x3a2)][_0x564fd1(0x37c)]:this[_0x564fd1(0x282)](_0x565cec),this[_0x564fd1(0x101)][_0x564fd1(0x16e)](_0x565cec);break;case p[_0x564fd1(0x3a2)][_0x564fd1(0x227)]:this[_0x564fd1(0x3ef)](_0x565cec),this[_0x564fd1(0x101)][_0x564fd1(0x16e)](_0x565cec);break;case p[_0x564fd1(0x3a2)][_0x564fd1(0x41d)]:case p[_0x564fd1(0x3a2)][_0x564fd1(0x1de)]:this[_0x564fd1(0x1b5)](),this[_0x564fd1(0x158)](),this['_event$'][_0x564fd1(0x16e)](_0x565cec);break;case p[_0x564fd1(0x3a2)]['MSG_FOR_ERROR']:this['_logService'][_0x564fd1(0x219)](_0x564fd1(0x371)+JSON[_0x564fd1(0x2ea)](_0x565cec)),this[_0x564fd1(0x101)][_0x564fd1(0x16e)](_0x565cec);break;case p[_0x564fd1(0x3a2)][_0x564fd1(0x100)]:this['_commentService'][_0x564fd1(0x234)](_0x565cec['data']),this[_0x564fd1(0x101)][_0x564fd1(0x16e)](_0x565cec);break;default:this[_0x564fd1(0x101)]['next'](_0x565cec);}}catch(_0x5364da){this['_logService'][_0x564fd1(0x219)](_0x5364da,_0x4a38a5);}}['_onUserJoin'](_0x5a7259){var _0x258f66=_0x31391e;this[_0x258f66(0x34d)][_0x258f66(0x2bb)](this[_0x258f66(0x360)],_0x5a7259['data']);}['_onUserLeave'](_0x2e1e38){var _0xdab16d=_0x31391e;this[_0xdab16d(0x34d)][_0xdab16d(0x387)](this[_0xdab16d(0x360)],_0x2e1e38[_0xdab16d(0x2e4)][_0xdab16d(0x446)]);}async[_0x31391e(0x1f9)](_0x428114,_0x42be29){var _0x44021f=_0x31391e;if(this[_0x44021f(0x17e)]!==0x3||!this[_0x44021f(0x3ca)])throw new Error(_0x44021f(0x1e5));try{_0x428114[_0x44021f(0x1c3)]===p[_0x44021f(0x3a2)]['SUBMIT_CHANGESET']&&(this[_0x44021f(0x2d9)](),this[_0x44021f(0x169)](_0x428114)),this[_0x44021f(0x3ca)][_0x44021f(0x1f9)]({'cmd':W[_0x44021f(0x43f)],'routeKey':_0x42be29,'routeType':'','data':_0x428114});}catch(_0x8f7518){this['_logService'][_0x44021f(0x219)](_0x8f7518);}}[_0x31391e(0x2d9)](){var _0x31ec31=_0x31391e,_0x57e2b1;this[_0x31ec31(0x2f6)]=setTimeout(()=>{var _0x1b3f13=_0x31ec31;this[_0x1b3f13(0x2f6)]=null,this['_collaborationUIEventService'][_0x1b3f13(0x352)]({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x57e2b1=this[_0x31ec31(0x2a8)][_0x31ec31(0x411)](ke))!=null?_0x57e2b1:St);}[_0x31391e(0x158)](){var _0x48a080=_0x31391e;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x48a080(0x2f6)]=null);}[_0x31391e(0x169)](_0x2d6bcc){var _0x32d46f=_0x31391e;if(!this[_0x32d46f(0x1a8)])return;const {data:_0x4babce}=_0x2d6bcc,{unitID:_0x4b06ab,changeset:_0x3fafec}=_0x4babce,{mutations:_0x36ed62,type:_0x3423b3}=_0x3fafec;this[_0x32d46f(0x3cc)]={'unitId':_0x4b06ab,'type':_0x3423b3,'startTime':performance[_0x32d46f(0x1cc)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x36ed62)};}['_stopTelemetryCollaborationNewChangeset'](){var _0xe0e54a=_0x31391e;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0xe0e54a(0x10e)]['error'](_0xe0e54a(0x196),_0xe0e54a(0x2c2));return;}this[_0xe0e54a(0x3cc)][_0xe0e54a(0x269)]=performance[_0xe0e54a(0x1cc)](),this[_0xe0e54a(0x3cc)][_0xe0e54a(0x367)]=this['_telemetryInfo']['stopTime']-this[_0xe0e54a(0x3cc)][_0xe0e54a(0x2da)],this['_telemetryService'][_0xe0e54a(0x400)](Xt,this['_telemetryInfo']),this[_0xe0e54a(0x3cc)]=null;}}[_0x31391e(0x247)](){this['_telemetryInfo']=null;}},exports[_0x31391e(0x1da)]=ni([se(0x2,a[_0x31391e(0x2d4)]),se(0x3,a[_0x31391e(0x474)]),se(0x4,a[_0x31391e(0x3f0)](a['LocaleService'])),se(0x5,a['Inject'](exports[_0x31391e(0x25a)])),se(0x6,a[_0x31391e(0x3f0)]($e)),se(0x7,a['Inject'](ee)),se(0x8,a['Optional'](Pt['ITelemetryService']))],exports[_0x31391e(0x1da)]);var ri=Object[_0x31391e(0x1d1)],si=(_0x24ebf2,_0x1463fd,_0x18648d,_0x3ba45e)=>{for(var _0x4bfe59=_0x3ba45e>0x1?void 0x0:_0x3ba45e?ri(_0x1463fd,_0x18648d):_0x1463fd,_0x1bd89b=_0x24ebf2['length']-0x1,_0x54d5af;_0x1bd89b>=0x0;_0x1bd89b--)(_0x54d5af=_0x24ebf2[_0x1bd89b])&&(_0x4bfe59=_0x54d5af(_0x4bfe59)||_0x4bfe59);return _0x4bfe59;},he=(_0x3a2686,_0x5431c8)=>(_0x239f7c,_0x14fa69)=>_0x5431c8(_0x239f7c,_0x14fa69,_0x3a2686);exports[_0x31391e(0x3c0)]=class extends a['Disposable']{constructor(_0x54956f,_0x2d02bc,_0x30b700,_0x4ff71e,_0x27b8f3,_0x428cb6){var _0x3c62af=_0x31391e;super(),A(this,'_socket$',new $[(_0x3c62af(0x41c))](void 0x0)),A(this,_0x3c62af(0x404),this[_0x3c62af(0x279)]['asObservable']()),A(this,_0x3c62af(0x176),null),A(this,_0x3c62af(0x106),new Map()),A(this,_0x3c62af(0x3e2),new $[(_0x3c62af(0x41c))](re[_0x3c62af(0x1a6)])),A(this,_0x3c62af(0x1a2),this[_0x3c62af(0x3e2)]['asObservable']()),A(this,_0x3c62af(0x1bf),!0x1),A(this,_0x3c62af(0x17a)),A(this,_0x3c62af(0x406),0x0),A(this,'_sendHeartbeatTimer'),A(this,_0x3c62af(0x222)),(this['_injector']=_0x54956f,this[_0x3c62af(0x10e)]=_0x2d02bc,this['_configService']=_0x30b700,this[_0x3c62af(0x162)]=_0x4ff71e,this['_collaborationUIEventService']=_0x27b8f3,this[_0x3c62af(0x12c)]=_0x428cb6,this[_0x3c62af(0x265)]());}get[_0x31391e(0x3ca)](){return this['_socket$']['getValue']();}[_0x31391e(0x265)](){var _0x177ac5=_0x31391e;this[_0x177ac5(0x12c)]&&this[_0x177ac5(0x3ed)](this[_0x177ac5(0x12c)][_0x177ac5(0x156)][_0x177ac5(0x369)](_0x3c9d34=>{var _0x530305=_0x177ac5;_0x3c9d34&&!this[_0x530305(0x3ca)]&&this[_0x530305(0x2d5)](),_0x3c9d34||this[_0x530305(0x359)]();}));}['dispose'](){var _0x2a9f11=_0x31391e;super['dispose'](),this[_0x2a9f11(0x418)](),this[_0x2a9f11(0x27a)](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x2a9f11(0x381)](_0x9cf209=>_0x9cf209[_0x2a9f11(0x258)]()),this[_0x2a9f11(0x106)][_0x2a9f11(0x2ee)](),this[_0x2a9f11(0x3e2)][_0x2a9f11(0x220)]();}async['requireSession'](_0x175c42){var _0x403edc=_0x31391e;if(this['_sessions'][_0x403edc(0x26f)](_0x175c42))return this[_0x403edc(0x106)][_0x403edc(0x244)](_0x175c42);this['_tryEnsureSocket']();const _0x26299e=this['_injector'][_0x403edc(0x153)](exports[_0x403edc(0x1da)],_0x175c42,this[_0x403edc(0x279)][_0x403edc(0x252)]());return this[_0x403edc(0x106)]['set'](_0x175c42,_0x26299e),_0x26299e;}[_0x31391e(0x135)](_0x5cead6){var _0x477530=_0x31391e,_0x4c926c;const _0x4559aa=this[_0x477530(0x106)][_0x477530(0x244)](_0x5cead6);_0x4559aa&&(this['_sessions']['delete'](_0x5cead6),_0x4559aa[_0x477530(0x35f)]()),this[_0x477530(0x106)][_0x477530(0x28c)]||(_0x4c926c=this['_socket'])==null||_0x4c926c[_0x477530(0x35f)]();}['reconnect'](){var _0x5431b7=_0x31391e;this[_0x5431b7(0x406)]=0x0,this[_0x5431b7(0x418)](),this[_0x5431b7(0x3a1)]();}[_0x31391e(0x418)](){var _0x2f8c8b=_0x31391e;this[_0x2f8c8b(0x17a)]!=null&&(clearTimeout(this[_0x2f8c8b(0x17a)]),this[_0x2f8c8b(0x17a)]=null);}async[_0x31391e(0x35a)](){var _0x4940b0=_0x31391e,_0x48e929,_0x160593;const _0x366a13=this[_0x4940b0(0x2a8)]['getConfig'](ut),_0x29473d=this[_0x4940b0(0x2a8)][_0x4940b0(0x411)](G),_0x57b5ff=(_0x160593=(_0x48e929=_0x29473d==null?void 0x0:_0x29473d[_0x4940b0(0x240)])!=null?_0x48e929:_0x366a13)!=null?_0x160593:dt,_0x2139cf=await this[_0x4940b0(0x162)]['createSocket'](_0x57b5ff);return this[_0x4940b0(0x176)]=_0x2139cf,_0x2139cf;}async[_0x31391e(0x19e)](){var _0x3983cc=_0x31391e,_0xc16de6,_0x5b7a9b;try{const _0x1ef40c=(_0x5b7a9b=(_0xc16de6=this[_0x3983cc(0x3ca)])!=null?_0xc16de6:this[_0x3983cc(0x176)])!=null?_0x5b7a9b:await this[_0x3983cc(0x35a)]();if(_0x1ef40c){const _0x33f0ae=_0x1ef40c[_0x3983cc(0x1f9)];_0x1ef40c['send']=_0x2015f8=>(this[_0x3983cc(0x327)](),_0x33f0ae['apply'](_0x1ef40c,[_0x2015f8])),_0x1ef40c[_0x3983cc(0x1ef)][_0x3983cc(0x369)](_0x299086=>this[_0x3983cc(0x428)](_0x1ef40c,_0x299086)),_0x1ef40c[_0x3983cc(0x423)]['pipe'](V[_0x3983cc(0x293)](0x1))[_0x3983cc(0x369)](_0x3a801b=>this[_0x3983cc(0x10e)][_0x3983cc(0x219)]('[CollaborationSessionService]:\x20socket\x20error',_0x3a801b)),_0x1ef40c[_0x3983cc(0x2e0)]['pipe'](V['take'](0x1))[_0x3983cc(0x369)](()=>{var _0x7275d9=_0x3983cc;this[_0x7275d9(0x2c4)](_0x1ef40c);}),_0x1ef40c['close$']['pipe'](V[_0x3983cc(0x293)](0x1))[_0x3983cc(0x369)](_0x555d86=>{var _0x39daf4=_0x3983cc;this['_logService'][_0x39daf4(0x38d)](_0x39daf4(0x205),_0x39daf4(0x456),_0x555d86),this[_0x39daf4(0x28f)]();});}}catch(_0x4b7426){this[_0x3983cc(0x10e)][_0x3983cc(0x219)](_0x4b7426),this[_0x3983cc(0x28f)]();}}[_0x31391e(0x2c4)](_0xf29e68){var _0x1ccd8c=_0x31391e;this[_0x1ccd8c(0x10e)][_0x1ccd8c(0x38d)](_0x1ccd8c(0x205),_0x1ccd8c(0x177)),_0xf29e68[_0x1ccd8c(0x1f9)]({'cmd':W[_0x1ccd8c(0x213)]}),this['_rescheduleHeartbeat']();}[_0x31391e(0x359)](){var _0x2501e5=_0x31391e;this[_0x2501e5(0x1bf)]=!0x1,this[_0x2501e5(0x176)]=null,this[_0x2501e5(0x3e2)][_0x2501e5(0x16e)](re[_0x2501e5(0x307)]),this[_0x2501e5(0x279)]['next'](null),this[_0x2501e5(0x27a)](),this[_0x2501e5(0x31f)]();}[_0x31391e(0x28f)](){var _0x549676=_0x31391e,_0x5302ad;this[_0x549676(0x359)](),this[_0x549676(0x406)]<((_0x5302ad=this['_configService'][_0x549676(0x411)](ft))!=null?_0x5302ad:jt)?(this[_0x549676(0x2be)][_0x549676(0x352)]({'id':Z[_0x549676(0x40a)]}),this[_0x549676(0x3a1)]()):this['_collaborationUIEventService']['emitEvent']({'id':Z['SOCKET_FAILED']});}[_0x31391e(0x3a1)](){var _0x1f5ea9=_0x31391e,_0x4534b8;const _0x51743b=this[_0x1f5ea9(0x406)],_0x4a82ee=this[_0x1f5ea9(0x2a8)]['getConfig'](G),_0x37705a=_0x51743b===0x0?0x0:((_0x4534b8=_0x4a82ee==null?void 0x0:_0x4a82ee[_0x1f5ea9(0x22d)])!=null?_0x4534b8:$t)*0x2**_0x51743b;this['_retryConnectingTimer']=setTimeout(()=>{var _0x385d75=_0x1f5ea9;clearTimeout(this['_retryConnectingTimer']),this[_0x385d75(0x17a)]=null,this['_tryEnsureSocket']();},_0x37705a),this[_0x1f5ea9(0x406)]+=0x1;}[_0x31391e(0x428)](_0x6988b6,_0x30df59){var _0x5d3149=_0x31391e;const {cmd:_0x326bae}=_0x30df59;_0x326bae===W[_0x5d3149(0x213)]&&!this[_0x5d3149(0x1bf)]&&(_0x6988b6[_0x5d3149(0x446)]=_0x30df59[_0x5d3149(0x2e4)][_0x5d3149(0x446)],this['_socket$'][_0x5d3149(0x16e)](_0x6988b6),this[_0x5d3149(0x3e2)][_0x5d3149(0x16e)](re[_0x5d3149(0x3b2)]),this[_0x5d3149(0x1bf)]=!0x0,this[_0x5d3149(0x176)]=null),_0x326bae===W[_0x5d3149(0x1be)]&&this[_0x5d3149(0x27a)](),this['_rescheduleHeartbeat']();}[_0x31391e(0x327)](){var _0x4ead66=_0x31391e,_0x2600da;this[_0x4ead66(0x31f)](),this[_0x4ead66(0x39b)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x2600da=this[_0x4ead66(0x2a8)][_0x4ead66(0x411)](vt))!=null?_0x2600da:Ht);}[_0x31391e(0x2fa)](){var _0x4be441=_0x31391e;this[_0x4be441(0x3ca)]['send']({'cmd':W[_0x4be441(0x1be)]}),this[_0x4be441(0x376)]();}[_0x31391e(0x376)](){var _0x5d6900=_0x31391e,_0xe37114;this[_0x5d6900(0x222)]=setTimeout(()=>this[_0x5d6900(0x28f)](),(_0xe37114=this['_configService'][_0x5d6900(0x411)](ke))!=null?_0xe37114:St);}['_clearHeartbeatTimer'](){var _0x1ab23d=_0x31391e;this[_0x1ab23d(0x39b)]!=null&&(clearTimeout(this[_0x1ab23d(0x39b)]),this[_0x1ab23d(0x39b)]=null);}[_0x31391e(0x27a)](){var _0x32383d=_0x31391e;this[_0x32383d(0x222)]!=null&&(clearTimeout(this[_0x32383d(0x222)]),this[_0x32383d(0x222)]=null);}},exports['CollaborationSessionService']=si([he(0x0,a[_0x31391e(0x3f0)](a[_0x31391e(0x281)])),he(0x1,a[_0x31391e(0x2d4)]),he(0x2,a[_0x31391e(0x474)]),he(0x3,He),he(0x4,a[_0x31391e(0x3f0)](ee)),he(0x5,a['Optional'](mt))],exports[_0x31391e(0x3c0)]);const q=a[_0x31391e(0x2fb)](_0x31391e(0x32f));function oi(_0x5b77b8){var _0x1965c0=_0x31391e;return _0x1965c0(0x225)+_0x5b77b8;}var ai=Object[_0x31391e(0x1d1)],ci=(_0x30a518,_0x4750d8,_0x375c03,_0x5ec7a9)=>{for(var _0x3999c3=_0x5ec7a9>0x1?void 0x0:_0x5ec7a9?ai(_0x4750d8,_0x375c03):_0x4750d8,_0x10abd1=_0x30a518['length']-0x1,_0x357ffa;_0x10abd1>=0x0;_0x10abd1--)(_0x357ffa=_0x30a518[_0x10abd1])&&(_0x3999c3=_0x357ffa(_0x3999c3)||_0x3999c3);return _0x3999c3;},Ue=(_0x43970e,_0x2af389)=>(_0x5eebff,_0x40aa93)=>_0x2af389(_0x5eebff,_0x40aa93,_0x43970e);function hi(_0x19bd10){var _0x3e5a8c=_0x31391e;const {unitID:_0x1ac71b,mutations:_0x3b6b42}=_0x19bd10;return{'unitId':_0x1ac71b,'subUnitId':_0x3b6b42[0x0][_0x3e5a8c(0x1c5)][_0x3e5a8c(0x34c)]};}exports[_0x31391e(0x3db)]=class{constructor(_0x41144a,_0x5e6bd8,_0x2fe6ff){var _0x4c57c2=_0x31391e;this[_0x4c57c2(0x1a4)]=_0x41144a,this[_0x4c57c2(0x396)]=_0x5e6bd8,this[_0x4c57c2(0x344)]=_0x2fe6ff;}[_0x31391e(0x11a)](_0x3e10b9){var _0x313515=_0x31391e,_0x383431,_0x5cd5ce,_0x4ce00e,_0x2336fc;const _0x39d804=this['_injector'][_0x313515(0x244)](X[_0x313515(0x139)]),{unitId:_0x30e5cd,subUnitId:_0x2b3074}=hi(_0x3e10b9),_0x5a59c6=_0x39d804==null?void 0x0:_0x39d804[_0x313515(0x3d1)](_0x30e5cd)['getCurrentSelections'](),_0x40d15e=(_0x5cd5ce=(_0x383431=this[_0x313515(0x344)]['getUnit'](_0x30e5cd))==null?void 0x0:_0x383431[_0x313515(0x140)]())==null?void 0x0:_0x5cd5ce['getSheetId']();if(_0x5a59c6['length']===0x0||!_0x30e5cd||!_0x2b3074)return;const _0x473233=[{'id':X[_0x313515(0x25f)]['id'],'params':{'unitId':_0x30e5cd,'subUnitId':_0x40d15e,'selections':a[_0x313515(0x290)]['deepClone'](_0x5a59c6)}}],_0x272555=this[_0x313515(0x396)][_0x313515(0x184)](_0x3e10b9,_0x473233);if(!p[_0x313515(0x295)](_0x272555))throw _0x272555[_0x313515(0x219)];const _0x218b2e=(_0x2336fc=(_0x4ce00e=_0x272555[_0x313515(0x15f)][0x0])==null?void 0x0:_0x4ce00e['params'])==null?void 0x0:_0x2336fc[_0x313515(0x2bd)];if(Array[_0x313515(0x36a)](_0x218b2e)&&_0x218b2e[_0x313515(0x2cc)]){if(_0x218b2e[_0x313515(0x2cc)]===_0x473233[0x0][_0x313515(0x1c5)][_0x313515(0x2bd)][_0x313515(0x2cc)]&&_0x218b2e[_0x313515(0x235)]((_0x131677,_0x12abe3)=>a[_0x313515(0x30f)][_0x313515(0x2c7)](_0x131677[_0x313515(0x27b)],_0x473233[0x0][_0x313515(0x1c5)][_0x313515(0x2bd)][_0x12abe3][_0x313515(0x27b)])))return;this[_0x313515(0x1a4)][_0x313515(0x244)](a[_0x313515(0x425)])[_0x313515(0x14a)](X[_0x313515(0x25f)]['id'],{'unitId':_0x30e5cd,'subUnitId':_0x40d15e,'selections':_0x218b2e});}}},exports[_0x31391e(0x3db)]=ci([Ue(0x0,a[_0x31391e(0x3f0)](a[_0x31391e(0x281)])),Ue(0x1,p['ITransformService']),Ue(0x2,a[_0x31391e(0x2ad)])],exports[_0x31391e(0x3db)]);const de=a[_0x31391e(0x2fb)](_0x31391e(0x31d));var je=(_0x492a09=>(_0x492a09[_0x492a09[_0x31391e(0x437)]=0x0]=_0x31391e(0x437),_0x492a09[_0x492a09[_0x31391e(0x1a3)]=0x1]='OTHER_CLIENTS_EDITING',_0x492a09))(je||{});const _i=new Set([X['InsertSheetMutation']['id']]);function Ge(_0x2935fa,_0x2cbd3b,_0x9e9d79,_0x53e8b3,_0x2ff14c){var _0x594fd7=_0x31391e,_0x5a5449,_0x378eaa,_0x1bd813,_0x332366;const _0xf8213a=[];for(const _0x2852d0 of _0x2935fa)if(_i[_0x594fd7(0x26f)](_0x2852d0['id'])){if(_0xf8213a[_0x594fd7(0x2cc)]>0x0)break;_0xf8213a[_0x594fd7(0x399)](_0x2852d0);break;}else _0xf8213a[_0x594fd7(0x399)](_0x2852d0);const _0x130847=(_0x378eaa=(_0x5a5449=_0x2ff14c[_0x594fd7(0x16f)]())==null?void 0x0:_0x5a5449[_0x594fd7(0x2d2)])!=null?_0x378eaa:_0x594fd7(0x14f),_0x5ae2f7=(_0x332366=(_0x1bd813=_0x2ff14c['getCurrentUser']())==null?void 0x0:_0x1bd813[_0x594fd7(0x446)])!=null?_0x332366:_0x594fd7(0x14f);return{'changeset':{'unitID':_0x2cbd3b,'type':p[_0x594fd7(0x23f)](_0x9e9d79[_0x594fd7(0x1ca)](_0x2cbd3b)),'baseRev':_0x53e8b3[_0x594fd7(0x3ee)](_0x2cbd3b),'revision':0x0,'userID':_0x130847,'memberID':_0x5ae2f7,'mutations':_0xf8213a},'pendingMutations':_0x2935fa[_0x594fd7(0x11d)](_0xf8213a[_0x594fd7(0x2cc)])};}function li(_0x2619fd,_0x1fce7c,_0x27498a,_0x37ade3,_0x1ecee9){var _0x1a3e61=_0x31391e,_0x3c6731,_0x350152,_0x2261ba,_0x4010f0;const _0x138cda=[_0x2619fd['reduce']((_0x154e68,_0x4210d5)=>{var _0x18a7d4=_0x1769,_0x5653ab;const {id:_0x527f36}=_0x154e68,{id:_0x3c8fdd,type:_0xe88b02}=_0x4210d5,_0x41ba42=(_0x5653ab=_0x154e68['params'])!=null?_0x5653ab:{'actions':null},_0xb32afb=_0x4210d5[_0x18a7d4(0x1c5)];if(_0x527f36&&_0x527f36!==_0x3c8fdd)throw new Error(_0x18a7d4(0x1c7)+_0x527f36+_0x18a7d4(0x116)+_0x3c8fdd+'.');return{..._0x154e68,'id':_0x3c8fdd,'type':_0xe88b02,'params':{'unitId':_0xb32afb['unitId'],'textRanges':_0xb32afb[_0x18a7d4(0x410)],'actions':a[_0x18a7d4(0x339)][_0x18a7d4(0x320)](_0x41ba42[_0x18a7d4(0x40f)],_0xb32afb[_0x18a7d4(0x40f)])}};},{})],_0x5c9d89=(_0x350152=(_0x3c6731=_0x1ecee9['getCurrentUser']())==null?void 0x0:_0x3c6731[_0x1a3e61(0x2d2)])!=null?_0x350152:_0x1a3e61(0x14f),_0x3cd128=(_0x4010f0=(_0x2261ba=_0x1ecee9[_0x1a3e61(0x16f)]())==null?void 0x0:_0x2261ba[_0x1a3e61(0x446)])!=null?_0x4010f0:'unknown';return{'changeset':{'unitID':_0x1fce7c,'type':p[_0x1a3e61(0x23f)](_0x27498a['getUnitType'](_0x1fce7c)),'baseRev':_0x37ade3[_0x1a3e61(0x3ee)](_0x1fce7c),'revision':0x0,'userID':_0x5c9d89,'memberID':_0x3cd128,'mutations':_0x138cda},'pendingMutations':[]};}function bt(_0x1744b9,_0x312d48){var _0x51c2ce=_0x31391e;const _0x531e6e=new $[(_0x51c2ce(0x1fa))](0x1);return setTimeout(()=>_0x531e6e[_0x51c2ce(0x16e)](_0x312d48),_0x1744b9),_0x531e6e[_0x51c2ce(0x252)]()['pipe']($['take'](0x1));}const ui={'id':X[_0x31391e(0x3d2)]['id'],'type':a['CommandType']['MUTATION'],'params':{}};var di=Object[_0x31391e(0x1d1)],ae=(_0x4e229,_0x79220d,_0x179365,_0x1b8713)=>{var _0x1f322c=_0x31391e;for(var _0x39fafa=_0x1b8713>0x1?void 0x0:_0x1b8713?di(_0x79220d,_0x179365):_0x79220d,_0x3c8feb=_0x4e229[_0x1f322c(0x2cc)]-0x1,_0x5f289;_0x3c8feb>=0x0;_0x3c8feb--)(_0x5f289=_0x4e229[_0x3c8feb])&&(_0x39fafa=_0x5f289(_0x39fafa)||_0x39fafa);return _0x39fafa;},L=(_0x38b789,_0x14fb16)=>(_0x8febe7,_0x1c7afd)=>_0x14fb16(_0x8febe7,_0x1c7afd,_0x38b789),Be=(_0x13312c=>(_0x13312c[_0x31391e(0x1f4)]=_0x31391e(0x21e),_0x13312c[_0x31391e(0x2ce)]=_0x31391e(0x114),_0x13312c[_0x31391e(0x254)]=_0x31391e(0x1e6),_0x13312c[_0x31391e(0x34a)]=_0x31391e(0x478),_0x13312c['AWAITING_WITH_PENDING']=_0x31391e(0x1ad),_0x13312c['FETCH_MISS']=_0x31391e(0x13f),_0x13312c['CONFLICT']=_0x31391e(0x10f),_0x13312c[_0x31391e(0x307)]=_0x31391e(0x3e3),_0x13312c))(Be||{});const Rt=0xea60;class ce{constructor(_0x143b9e,_0x813047,_0x51948d,_0x3ef070,_0x5c7aee,_0x429e24,_0x892c34,_0x4f4308,_0x2f3265){var _0x40cc4c=_0x31391e;A(this,'_awaitingChangeset',null),A(this,_0x40cc4c(0x229),[]),(this[_0x40cc4c(0x185)]=_0x143b9e,this[_0x40cc4c(0x2b9)]=_0x813047,this['_handler']=_0x5c7aee,this[_0x40cc4c(0x2fd)]=_0x429e24,this['_undoRedoService']=_0x892c34,this['_revisionService']=_0x4f4308,this['_localCacheService']=_0x2f3265,this[_0x40cc4c(0x246)]=_0x51948d,this['_pendingMutations']=_0x3ef070);}[_0x31391e(0x33f)](_0x573e93){var _0x29a614=_0x31391e;const _0x4ab273=this['_revisionService'][_0x29a614(0x3ee)](this[_0x29a614(0x185)]);return _0x573e93['revision']>_0x4ab273+0x1?(this[_0x29a614(0x405)]['onMissingChangesets']({'from':_0x4ab273,'to':_0x573e93[_0x29a614(0x19b)]-0x1}),!0x0):!0x1;}[_0x31391e(0x14b)](_0x58ead4){var _0x26c856=_0x31391e;this[_0x26c856(0x382)][_0x26c856(0x102)](this['unitID'],_0x58ead4);}['_transformSelections'](_0x1f8058){var _0x1f5170=_0x31391e,_0x5b7db9,_0x115af2;(_0x115af2=(_0x5b7db9=this['_handler'])[_0x1f5170(0x2b7)])==null||_0x115af2[_0x1f5170(0x142)](_0x5b7db9,_0x1f8058);}['_transformIMECache'](_0x225e00){var _0x40eb04=_0x31391e,_0x459b07,_0x45af84;return(_0x45af84=(_0x459b07=this['_handler'])[_0x40eb04(0x1d6)])==null?void 0x0:_0x45af84['call'](_0x459b07,_0x225e00);}[_0x31391e(0x133)](_0x45be2c){var _0x5afb36=_0x31391e,_0x4338d5,_0x5054b6;return(_0x5054b6=(_0x4338d5=this[_0x5afb36(0x405)])['onTransformState'])==null?void 0x0:_0x5054b6['call'](_0x4338d5,_0x45be2c);}['_transformRemoteChangesetByIMECache'](_0x7c43e4){var _0x5015af=_0x31391e,_0x43466e,_0x23db9e,_0x517310;return(_0x517310=(_0x23db9e=(_0x43466e=this[_0x5015af(0x405)])[_0x5015af(0x412)])==null?void 0x0:_0x23db9e[_0x5015af(0x142)](_0x43466e,_0x7c43e4))!=null?_0x517310:_0x7c43e4;}['_transformRemoteChangesetByStateCache'](_0x24857e){var _0x4901ab=_0x31391e,_0x2e1122,_0x501a15,_0xb9cedb;return(_0xb9cedb=(_0x501a15=(_0x2e1122=this[_0x4901ab(0x405)])[_0x4901ab(0x280)])==null?void 0x0:_0x501a15[_0x4901ab(0x142)](_0x2e1122,_0x24857e))!=null?_0xb9cedb:_0x24857e;}['_syncEditingCollabCursor'](_0x295f35){var _0x2d8cc1=_0x31391e,_0x11ae1a,_0x4a962d;if(this['type']===J[_0x2d8cc1(0x302)]){const {unitID:_0x592e95,mutations:_0xe68fd1,memberID:_0x3b04ce}=_0x295f35,_0x5b44b6=_0xe68fd1[0x0][_0x2d8cc1(0x1c5)][_0x2d8cc1(0x410)];Array[_0x2d8cc1(0x36a)](_0x5b44b6)&&_0x5b44b6[_0x2d8cc1(0x2cc)]>0x0&&((_0x4a962d=(_0x11ae1a=this[_0x2d8cc1(0x405)])[_0x2d8cc1(0x2fe)])==null||_0x4a962d[_0x2d8cc1(0x142)](_0x11ae1a,{'unitID':_0x592e95,'memberID':_0x3b04ce,'textRanges':_0x5b44b6}));}}[_0x31391e(0x33d)](){var _0x1e1b9a=_0x31391e,_0x2a1b56;(_0x2a1b56=this[_0x1e1b9a(0x309)])==null||_0x2a1b56['updateOfflineData'](this['unitID'],this[_0x1e1b9a(0x2b9)],this[_0x1e1b9a(0x246)],this[_0x1e1b9a(0x229)]);}[_0x31391e(0x45a)](){var _0x46eda2=_0x31391e;return this[_0x46eda2(0x143)][_0x46eda2(0x3ee)](this[_0x46eda2(0x185)]);}[_0x31391e(0x463)](){var _0x372c40=_0x31391e;this['_revisionService'][_0x372c40(0x2f9)](this[_0x372c40(0x185)]);}[_0x31391e(0x278)](_0x3538bb){var _0x3426dc=_0x31391e,_0x21c68c;let _0x28778b=this['_transformRemoteChangesetByIMECache'](_0x3538bb);_0x28778b=this[_0x3426dc(0x2b0)](_0x28778b);const _0x16131a=a[_0x3426dc(0x25c)](_0x28778b[_0x3426dc(0x449)],this[_0x3426dc(0x2fd)],{'fromCollab':!0x0});if(!_0x16131a[_0x3426dc(0x18b)])throw _0x16131a[_0x3426dc(0x219)]instanceof Error?_0x16131a['error']:new Error((_0x21c68c=_0x16131a['error'])!=null?_0x21c68c:_0x3426dc(0x378));this[_0x3426dc(0x35b)](_0x28778b),this[_0x3426dc(0x133)](_0x28778b),this[_0x3426dc(0x14b)](_0x3538bb),this[_0x3426dc(0xfd)](_0x28778b),this[_0x3426dc(0x391)](_0x28778b),this['_incrementRevisionNumber']();}}exports['SyncedState']=class extends ce{constructor(_0x49a8c0,_0x2d21be,_0x16c8d7,_0x2796de,_0x4b1e50,_0x5dc8d9,_0x3f25c8,_0x3634b5,_0x443973,_0x560fc1){var _0x2bcb8b=_0x31391e;super(_0x49a8c0,_0x2d21be,null,[],_0x16c8d7,_0x3f25c8,_0x5dc8d9,_0x2796de,_0x560fc1),A(this,'status',_0x2bcb8b(0x114)),(this[_0x2bcb8b(0x1a4)]=_0x4b1e50,this[_0x2bcb8b(0x10e)]=_0x3634b5,this[_0x2bcb8b(0x396)]=_0x443973,this[_0x2bcb8b(0x10d)]=_0x560fc1);}['appendMutation'](_0x5a06ca){var _0x237f9d=_0x31391e;const _0x39c215=this[_0x237f9d(0x1a4)][_0x237f9d(0x153)](exports[_0x237f9d(0x455)],this[_0x237f9d(0x185)],this[_0x237f9d(0x2b9)],[_0x5a06ca],this[_0x237f9d(0x405)]);return _0x39c215[_0x237f9d(0x1f0)](),_0x39c215[_0x237f9d(0x33d)](),_0x39c215;}['onRemoteChangeset'](_0x2dbd21){var _0x53ade7=_0x31391e;if(this['_checkMissing'](_0x2dbd21))return this[_0x53ade7(0x1a4)][_0x53ade7(0x153)](exports[_0x53ade7(0x3a9)],this['unitID'],this[_0x53ade7(0x2b9)],null,[],null,[_0x2dbd21],this[_0x53ade7(0x405)]);try{const _0x58f93c=this[_0x53ade7(0x396)]['transformMutationsWithChangeset'](_0x2dbd21,[ui]);if(p['isTransformMutationsWithChangesetSuccess'](_0x58f93c)){const {c1Prime:_0x933a30}=_0x58f93c;return this[_0x53ade7(0x278)](_0x933a30),this;}throw _0x58f93c['error'];}catch(_0x55de85){return this[_0x53ade7(0x10e)]['error'](_0x55de85),this[_0x53ade7(0x31c)](!0x1);}}[_0x31391e(0x31c)](_0x26f2b0){var _0x381a1f=_0x31391e;return this['_injector'][_0x381a1f(0x153)](exports[_0x381a1f(0x212)],this[_0x381a1f(0x185)],this[_0x381a1f(0x2b9)],null,[],this[_0x381a1f(0x405)],_0x26f2b0);}[_0x31391e(0x310)](){var _0x1fd1e4=_0x31391e;throw new Error(_0x1fd1e4(0x37e));}[_0x31391e(0x124)](){var _0x45cb6f=_0x31391e;throw new Error(_0x45cb6f(0x12f));}[_0x31391e(0x2c6)](){return this;}[_0x31391e(0x17b)](){var _0x477dc3=_0x31391e;return this[_0x477dc3(0x1a4)]['createInstance'](exports[_0x477dc3(0x362)],this[_0x477dc3(0x185)],this[_0x477dc3(0x2b9)],null,[],this['_handler']);}[_0x31391e(0x157)](){return this;}[_0x31391e(0x365)](){var _0xd3cfb8=_0x31391e;throw new Error(_0xd3cfb8(0x1ba));}[_0x31391e(0x138)](){var _0x5b8f8b=_0x31391e;const _0x260b5d=this['_revisionService']['getCurrentRevOfUnit'](this[_0x5b8f8b(0x185)]);return this[_0x5b8f8b(0x405)]['onMissingChangesets']({'from':_0x260b5d,'to':0x0}),this[_0x5b8f8b(0x1a4)][_0x5b8f8b(0x153)](exports[_0x5b8f8b(0x3a9)],this[_0x5b8f8b(0x185)],this[_0x5b8f8b(0x2b9)],null,[],null,[],this[_0x5b8f8b(0x405)]);}},exports[_0x31391e(0x386)]=ae([L(0x3,a[_0x31391e(0x3f0)](p[_0x31391e(0x24d)])),L(0x4,a[_0x31391e(0x3f0)](a[_0x31391e(0x281)])),L(0x5,a[_0x31391e(0x210)]),L(0x6,a[_0x31391e(0x425)]),L(0x7,a[_0x31391e(0x2d4)]),L(0x8,p[_0x31391e(0x2b3)]),L(0x9,a['Optional'](q))],exports[_0x31391e(0x386)]),exports[_0x31391e(0x455)]=class extends ce{constructor(_0x2422f8,_0x131565,_0x40534c,_0x5dbda7,_0x2ef947,_0x4ae8ac,_0x61ebf9,_0x387c5a,_0x4f0eb3,_0x1764c6,_0x1dad4e,_0x1c67db,_0x1d93d3,_0x14b5a3){var _0x54092c=_0x31391e;super(_0x2422f8,_0x131565,null,_0x40534c,_0x5dbda7,_0x4f0eb3,_0x1d93d3,_0x4ae8ac,_0x14b5a3),A(this,'status',_0x54092c(0x1e6)),A(this,_0x54092c(0x45d),null),A(this,_0x54092c(0x264),null),(this[_0x54092c(0x1a4)]=_0x2ef947,this[_0x54092c(0x34d)]=_0x61ebf9,this[_0x54092c(0x10e)]=_0x387c5a,this['_configService']=_0x1764c6,this[_0x54092c(0x396)]=_0x1dad4e,this[_0x54092c(0x29b)]=_0x1c67db);}[_0x31391e(0x45c)](_0x4436cb){var _0x52542b=_0x31391e;return this[_0x52542b(0x229)][_0x52542b(0x399)](_0x4436cb),this[_0x52542b(0x33d)](),this;}[_0x31391e(0x1cb)](_0x4f2c77){var _0x3c392a=_0x31391e;if(this[_0x3c392a(0x33f)](_0x4f2c77))return this['_clearScheduledTask'](),this[_0x3c392a(0x1a4)][_0x3c392a(0x153)](exports['FetchingMissState'],this[_0x3c392a(0x185)],this[_0x3c392a(0x2b9)],null,this['_pendingMutations'],null,[_0x4f2c77],this[_0x3c392a(0x405)]);try{const _0x362c28=this['_transformService']['transformMutationsWithChangeset'](_0x4f2c77,this[_0x3c392a(0x229)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x362c28)){const {c1Prime:_0x5ea56b,m2Prime:_0x2d2574}=_0x362c28;this[_0x3c392a(0x278)](_0x5ea56b);const _0x12ac78=this['_injector'][_0x3c392a(0x153)](exports['PendingState'],this['unitID'],this['type'],_0x2d2574,this[_0x3c392a(0x405)]);this[_0x3c392a(0x40c)]();const _0x5d3937=new Date()[_0x3c392a(0x373)](),_0x29cc4f=this[_0x3c392a(0x45d)]?Math['max'](this[_0x3c392a(0x45d)]-_0x5d3937,0x0):this['_getSendChangesetTimeout']();return _0x12ac78[_0x3c392a(0x1f0)](_0x29cc4f),_0x12ac78;}throw _0x362c28['error'];}catch(_0x11af18){return this[_0x3c392a(0x10e)][_0x3c392a(0x219)](_0x11af18),this[_0x3c392a(0x31c)](!0x1);}}[_0x31391e(0x310)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x3e6427=_0x31391e;throw new Error(_0x3e6427(0x178));}[_0x31391e(0x2c6)](){return this;}['toggleOffline'](){var _0x1ecafe=_0x31391e;return this[_0x1ecafe(0x40c)](),this[_0x1ecafe(0x1a4)][_0x1ecafe(0x153)](exports[_0x1ecafe(0x362)],this['unitID'],this[_0x1ecafe(0x2b9)],null,this[_0x1ecafe(0x229)],this[_0x1ecafe(0x405)]);}['toggleOnline'](){return this;}[_0x31391e(0x1f0)](_0x4014c7){var _0x5badb0=_0x31391e;const _0x54af92=_0x4014c7!=null?_0x4014c7:this[_0x5badb0(0x146)]();this['_scheduleCompleteTimestamp']=new Date()[_0x5badb0(0x373)]()+_0x54af92,this[_0x5badb0(0x264)]=setTimeout(()=>{var _0x113c5e=_0x5badb0;this['_clearScheduledTask']();let _0x2d96be=null;switch(this[_0x113c5e(0x2b9)]){case J[_0x113c5e(0x1a5)]:{_0x2d96be=Ge(this[_0x113c5e(0x229)],this[_0x113c5e(0x185)],this[_0x113c5e(0x29b)],this['_revisionService'],this[_0x113c5e(0x34d)]);break;}case J[_0x113c5e(0x302)]:{this[_0x113c5e(0x229)][_0x113c5e(0x235)](_0x510525=>_0x510525['id']===ht[_0x113c5e(0x111)]['id'])?_0x2d96be=li(this[_0x113c5e(0x229)],this[_0x113c5e(0x185)],this[_0x113c5e(0x29b)],this[_0x113c5e(0x143)],this[_0x113c5e(0x34d)]):_0x2d96be=Ge(this[_0x113c5e(0x229)],this['unitID'],this['_univerInstanceService'],this[_0x113c5e(0x143)],this[_0x113c5e(0x34d)]);break;}default:throw new Error(_0x113c5e(0x13d)+this[_0x113c5e(0x2b9)]+_0x113c5e(0x127));}const {changeset:_0x285522,pendingMutations:_0x4512bb}=_0x2d96be;this['_handler'][_0x113c5e(0x329)](_0x285522);const _0x58fd63=_0x4512bb[_0x113c5e(0x2cc)]?this[_0x113c5e(0x1a4)][_0x113c5e(0x153)](exports[_0x113c5e(0x3c4)],this[_0x113c5e(0x185)],this[_0x113c5e(0x2b9)],_0x285522,_0x4512bb,this[_0x113c5e(0x405)],void 0x0):this[_0x113c5e(0x1a4)][_0x113c5e(0x153)](exports[_0x113c5e(0x32d)],this[_0x113c5e(0x185)],this[_0x113c5e(0x2b9)],_0x285522,this[_0x113c5e(0x405)]);_0x58fd63[_0x113c5e(0x33d)](),this[_0x113c5e(0x405)]['onStateChange'](this,_0x58fd63);},_0x54af92);}[_0x31391e(0x146)](){var _0x2c658d=_0x31391e,_0x3bb45f;const _0x1e4f83=this['_configService'][_0x2c658d(0x411)](G);return(_0x3bb45f=_0x1e4f83==null?void 0x0:_0x1e4f83[_0x2c658d(0x3de)])!=null?_0x3bb45f:xt;}['resend'](){var _0x4964dd=_0x31391e;throw new Error(_0x4964dd(0x166));}[_0x31391e(0x40c)](){var _0xe7456b=_0x31391e;this[_0xe7456b(0x264)]!=null&&(clearTimeout(this[_0xe7456b(0x264)]),this[_0xe7456b(0x264)]=null);}['_onConflict'](_0x52d8e0){var _0x46097e=_0x31391e;return this[_0x46097e(0x40c)](),this['_injector'][_0x46097e(0x153)](exports[_0x46097e(0x212)],this['unitID'],this[_0x46097e(0x2b9)],null,this[_0x46097e(0x229)],this['_handler'],_0x52d8e0);}},exports[_0x31391e(0x455)]=ae([L(0x4,a[_0x31391e(0x3f0)](a['Injector'])),L(0x5,a[_0x31391e(0x3f0)](p[_0x31391e(0x24d)])),L(0x6,a[_0x31391e(0x3f0)](exports['MemberService'])),L(0x7,a[_0x31391e(0x2d4)]),L(0x8,a[_0x31391e(0x425)]),L(0x9,a[_0x31391e(0x474)]),L(0xa,p[_0x31391e(0x2b3)]),L(0xb,a[_0x31391e(0x2ad)]),L(0xc,a['IUndoRedoService']),L(0xd,a['Optional'](q))],exports[_0x31391e(0x455)]),exports['AwaitingState']=class extends ce{constructor(_0x2b0dff,_0x324324,_0x552468,_0x42de7a,_0xd1b47a,_0x432c43,_0x223719,_0x4b54a6,_0x2efaba,_0x41fbfd,_0x171d3b){var _0x2c2056=_0x31391e;super(_0x2b0dff,_0x324324,_0x552468,[],_0x42de7a,_0x223719,_0x41fbfd,_0x432c43,_0x171d3b),A(this,'status',_0x2c2056(0x478)),A(this,'_resendTimeout',0x0),A(this,_0x2c2056(0x2cf)),A(this,'_sender'),(this[_0x2c2056(0x1a4)]=_0xd1b47a,this[_0x2c2056(0x10e)]=_0x4b54a6,this[_0x2c2056(0x396)]=_0x2efaba);}[_0x31391e(0x45c)](_0x38da80){var _0x646f6f=_0x31391e;this[_0x646f6f(0x40c)]();const _0x2d0137=this['_injector'][_0x646f6f(0x153)](exports[_0x646f6f(0x3c4)],this['unitID'],this[_0x646f6f(0x2b9)],this[_0x646f6f(0x246)],[_0x38da80],this['_handler'],this[_0x646f6f(0x2cf)]);return _0x2d0137['_updateLocalCache'](),_0x2d0137;}[_0x31391e(0x1cb)](_0x2db7ce){var _0x27784a=_0x31391e;if(this[_0x27784a(0x33f)](_0x2db7ce))return this['_clearScheduledTask'](),this[_0x27784a(0x1a4)][_0x27784a(0x153)](exports[_0x27784a(0x3a9)],this[_0x27784a(0x185)],this[_0x27784a(0x2b9)],this['_awaitingChangeset'],[],null,[_0x2db7ce],this[_0x27784a(0x405)]);try{const _0x57a46a=this[_0x27784a(0x396)][_0x27784a(0x15e)]([_0x2db7ce],[this[_0x27784a(0x246)]],!0x1);if(p[_0x27784a(0x1e3)](_0x57a46a)){const {c1Prime:_0x32c0c1,c2Prime:_0x773873}=_0x57a46a;this[_0x27784a(0x278)](_0x32c0c1[0x0]),_0x773873[0x0][_0x27784a(0x3da)]=this[_0x27784a(0x45a)](),this[_0x27784a(0x40c)]();const _0x4ba8ff=this[_0x27784a(0x1a4)][_0x27784a(0x153)](exports[_0x27784a(0x32d)],this[_0x27784a(0x185)],this['type'],_0x773873[0x0],this['_handler']);return _0x4ba8ff[_0x27784a(0x33d)](),_0x4ba8ff;}return this[_0x27784a(0x31c)](!0x1);}catch(_0x346edb){return this[_0x27784a(0x10e)][_0x27784a(0x219)](_0x346edb),this[_0x27784a(0x31c)](!0x1);}}['onRemoteAck'](_0x35cbe3){var _0x50854d=_0x31391e;this[_0x50854d(0x40c)]();const _0x25ee3f=this[_0x50854d(0x143)][_0x50854d(0x3ee)](this['unitID']);if(_0x35cbe3['revision']<_0x25ee3f-0x1)return this;if(this[_0x50854d(0x33f)](_0x35cbe3))return this['_injector'][_0x50854d(0x153)](exports[_0x50854d(0x3a9)],this['unitID'],this[_0x50854d(0x2b9)],null,[],this['_awaitingChangeset'],[],this[_0x50854d(0x405)]);this[_0x50854d(0x463)]();const _0x34369b=this[_0x50854d(0x1a4)][_0x50854d(0x153)](exports[_0x50854d(0x386)],this[_0x50854d(0x185)],this[_0x50854d(0x2b9)],this[_0x50854d(0x405)]);return _0x34369b[_0x50854d(0x33d)](),_0x34369b;}[_0x31391e(0x124)](_0x3737f){var _0x764ead=_0x31391e;return this['_onConflict'](!!(_0x3737f!=null&&_0x3737f[_0x764ead(0x3fc)]));}[_0x31391e(0x2c6)](_0x40586c){var _0x11081d=_0x31391e;return this['_resendTimeout']>Rt?this[_0x11081d(0x17b)]():(this[_0x11081d(0x2cf)]=bt(this[_0x11081d(0x108)],{'timeout':this['_resendTimeout'],'reqId':_0x40586c[_0x11081d(0x148)]}),this[_0x11081d(0x286)]=this[_0x11081d(0x2cf)][_0x11081d(0x369)](({reqId:_0x1b0fb9,timeout:_0x17d131})=>{var _0x4cfd0c=_0x11081d;this[_0x4cfd0c(0x218)](_0x1b0fb9,_0x17d131);}),this);}['toggleOffline'](){var _0x60eb37=_0x31391e;return this['_clearScheduledTask'](),this[_0x60eb37(0x1a4)][_0x60eb37(0x153)](exports[_0x60eb37(0x362)],this[_0x60eb37(0x185)],this['type'],this[_0x60eb37(0x246)],[],this[_0x60eb37(0x405)]);}[_0x31391e(0x157)](){return this;}[_0x31391e(0x365)](){var _0x1099b3=_0x31391e;this[_0x1099b3(0x405)][_0x1099b3(0x329)](this[_0x1099b3(0x246)]);}[_0x31391e(0x31c)](_0x4ed29f){var _0x56eda3=_0x31391e;return this['_clearScheduledTask'](),this[_0x56eda3(0x1a4)][_0x56eda3(0x153)](exports[_0x56eda3(0x212)],this['unitID'],this[_0x56eda3(0x2b9)],this[_0x56eda3(0x246)],[],this[_0x56eda3(0x405)],_0x4ed29f);}[_0x31391e(0x218)](_0x2c0128,_0x475f3a){var _0x58f47e=_0x31391e,_0x574568;_0x2c0128===((_0x574568=this['_awaitingChangeset'])==null?void 0x0:_0x574568[_0x58f47e(0x148)])&&(this[_0x58f47e(0x365)](),this[_0x58f47e(0x108)]=_0x475f3a===0x0?0x3e8:_0x475f3a*0x2);}[_0x31391e(0x40c)](){var _0x31e321=_0x31391e,_0x30ec5b;(_0x30ec5b=this[_0x31e321(0x286)])==null||_0x30ec5b['unsubscribe'](),this[_0x31e321(0x108)]=0x0;}},exports[_0x31391e(0x32d)]=ae([L(0x4,a[_0x31391e(0x3f0)](a[_0x31391e(0x281)])),L(0x5,a['Inject'](p['RevisionService'])),L(0x6,a[_0x31391e(0x425)]),L(0x7,a[_0x31391e(0x2d4)]),L(0x8,p[_0x31391e(0x2b3)]),L(0x9,a[_0x31391e(0x210)]),L(0xa,a[_0x31391e(0x2c5)](q))],exports[_0x31391e(0x32d)]),exports[_0x31391e(0x3c4)]=class extends ce{constructor(_0x108556,_0x476a16,_0xf2691d,_0x5a0b73,_0x4ab257,_0x531356,_0xc0bf57,_0x143e94,_0x432f6f,_0x50e03a,_0x43584b,_0xac5218,_0x3afb5b){var _0x3c53b6=_0x31391e;super(_0x108556,_0x476a16,_0xf2691d,_0x5a0b73,_0x4ab257,_0x432f6f,_0xac5218,_0x143e94,_0x3afb5b),A(this,_0x3c53b6(0x3ff),'awaiting_with_pending'),A(this,'_resendTimeout',0x0),A(this,_0x3c53b6(0x2cf)),A(this,'_sender'),(this[_0x3c53b6(0x1a4)]=_0xc0bf57,this[_0x3c53b6(0x10e)]=_0x50e03a,this['_transformService']=_0x43584b,this['localCacheService']=_0x3afb5b,_0x531356&&(this[_0x3c53b6(0x2cf)]=_0x531356,this[_0x3c53b6(0x286)]=this[_0x3c53b6(0x2cf)]['subscribe'](({reqId:_0x30e7e0,timeout:_0x5bdbe2})=>{var _0x5cd926=_0x3c53b6;this[_0x5cd926(0x218)](_0x30e7e0,_0x5bdbe2);})));}['appendMutation'](_0x2c1ff9){return this['_pendingMutations']['push'](_0x2c1ff9),this;}[_0x31391e(0x1cb)](_0x152e7f){var _0x31d33e=_0x31391e;if(this[_0x31d33e(0x33f)](_0x152e7f))return this['_clearScheduledTask'](),this[_0x31d33e(0x1a4)][_0x31d33e(0x153)](exports[_0x31d33e(0x3a9)],this['unitID'],this[_0x31d33e(0x2b9)],this[_0x31d33e(0x246)],this['_pendingMutations'],null,[_0x152e7f],this[_0x31d33e(0x405)]);try{const _0x293c68=this[_0x31d33e(0x396)][_0x31d33e(0x15e)]([_0x152e7f],[this[_0x31d33e(0x246)]],!0x1);if(p[_0x31d33e(0x1e3)](_0x293c68)){const {c1Prime:_0x5f464b,c2Prime:_0x26bfba}=_0x293c68,_0x11bcb6=this['_transformService']['transformMutationsWithChangeset'](_0x5f464b[0x0],this[_0x31d33e(0x229)]);if(p[_0x31d33e(0x295)](_0x11bcb6)){const {c1Prime:_0x294ed5,m2Prime:_0x2f785d}=_0x11bcb6;return this['_executeRemoteChangeset'](_0x294ed5),_0x26bfba[0x0]['baseRev']=this[_0x31d33e(0x45a)](),this[_0x31d33e(0x40c)](),this['_injector'][_0x31d33e(0x153)](exports[_0x31d33e(0x3c4)],this[_0x31d33e(0x185)],this['type'],_0x26bfba[0x0],_0x2f785d,this[_0x31d33e(0x405)],void 0x0);}throw _0x11bcb6[_0x31d33e(0x219)];}throw _0x293c68[_0x31d33e(0x219)];}catch(_0x49e480){return this[_0x31d33e(0x10e)][_0x31d33e(0x219)](_0x49e480),this[_0x31d33e(0x31c)](!0x1);}}['onRemoteAck'](_0x19e73a){var _0x2cf360=_0x31391e;if(this['_clearScheduledTask'](),this[_0x2cf360(0x33f)](_0x19e73a))return this['_injector'][_0x2cf360(0x153)](exports[_0x2cf360(0x3a9)],this[_0x2cf360(0x185)],this[_0x2cf360(0x2b9)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this['_handler']);this[_0x2cf360(0x463)]();const _0x5b2c38=this['_injector'][_0x2cf360(0x153)](exports[_0x2cf360(0x455)],this[_0x2cf360(0x185)],this[_0x2cf360(0x2b9)],this[_0x2cf360(0x229)],this[_0x2cf360(0x405)]);return _0x5b2c38[_0x2cf360(0x1f0)](),_0x5b2c38[_0x2cf360(0x33d)](),_0x5b2c38;}[_0x31391e(0x124)](_0x140cb7){var _0x5a96d5=_0x31391e;return this[_0x5a96d5(0x31c)](!!(_0x140cb7!=null&&_0x140cb7['isPermissionRej']));}[_0x31391e(0x2c6)](_0x521b76){var _0x1b6b33=_0x31391e;return this[_0x1b6b33(0x108)]>Rt?this['toggleOffline']():(this['_resendTimer']=bt(this[_0x1b6b33(0x108)],{'timeout':this[_0x1b6b33(0x108)],'reqId':_0x521b76[_0x1b6b33(0x148)]}),this['_sender']=this[_0x1b6b33(0x2cf)][_0x1b6b33(0x369)](({reqId:_0x15f8d5,timeout:_0x485cd7})=>{var _0x32582c=_0x1b6b33;this[_0x32582c(0x218)](_0x15f8d5,_0x485cd7);}),this);}[_0x31391e(0x17b)](){var _0x468cdf=_0x31391e;return this[_0x468cdf(0x40c)](),this[_0x468cdf(0x1a4)][_0x468cdf(0x153)](exports[_0x468cdf(0x362)],this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x468cdf(0x229)],this[_0x468cdf(0x405)]);}[_0x31391e(0x157)](){return this;}[_0x31391e(0x365)](){var _0x21cbd4=_0x31391e;this['_handler'][_0x21cbd4(0x329)](this[_0x21cbd4(0x246)]);}[_0x31391e(0x31c)](_0x4c8d70){var _0x307b74=_0x31391e;return this[_0x307b74(0x40c)](),this[_0x307b74(0x1a4)]['createInstance'](exports['ConflictState'],this[_0x307b74(0x185)],this[_0x307b74(0x2b9)],null,this[_0x307b74(0x229)],this[_0x307b74(0x405)],_0x4c8d70);}[_0x31391e(0x218)](_0x2376bc,_0x3e2b8e){var _0x5c500e=_0x31391e,_0x45fcfd;_0x2376bc===((_0x45fcfd=this[_0x5c500e(0x246)])==null?void 0x0:_0x45fcfd[_0x5c500e(0x148)])&&(this['resend'](),this[_0x5c500e(0x108)]=_0x3e2b8e===0x0?0x3e8:_0x3e2b8e*0x2);}[_0x31391e(0x40c)](){var _0x286a0a=_0x31391e,_0xab8371;(_0xab8371=this['_sender'])==null||_0xab8371[_0x286a0a(0x3b7)](),this['_resendTimeout']=0x0;}},exports[_0x31391e(0x3c4)]=ae([L(0x6,a[_0x31391e(0x3f0)](a[_0x31391e(0x281)])),L(0x7,a['Inject'](p[_0x31391e(0x24d)])),L(0x8,a['ICommandService']),L(0x9,a[_0x31391e(0x2d4)]),L(0xa,p[_0x31391e(0x2b3)]),L(0xb,a[_0x31391e(0x210)]),L(0xc,a[_0x31391e(0x2c5)](q))],exports[_0x31391e(0x3c4)]),exports['ConflictState']=class extends ce{constructor(_0x17d93c,_0x2aefaa,_0x1c452b,_0x4bf16c,_0x535fde,_0x41e771=!0x1,_0xa76131,_0x54c34f,_0x1031ff,_0x3b5b77,_0x394248,_0x2b738b,_0x51e104){var _0x408c50=_0x31391e;super(_0x17d93c,_0x2aefaa,_0x1c452b,_0x4bf16c,_0x535fde,_0x54c34f,_0x1031ff,_0x3b5b77,_0x51e104),A(this,_0x408c50(0x3ff),_0x408c50(0x10f)),(this[_0x408c50(0x131)]=_0x41e771,this[_0x408c50(0x473)]=_0xa76131,this['_localeService']=_0x394248,this[_0x408c50(0x2be)]=_0x2b738b,this[_0x408c50(0x10d)]=_0x51e104,this[_0x408c50(0x23d)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x31391e(0x45c)](){return this;}[_0x31391e(0x1cb)](){return this;}[_0x31391e(0x310)](){return this;}[_0x31391e(0x124)](){return this;}['onRemoteRetry'](){return this;}[_0x31391e(0x17b)](){return this;}[_0x31391e(0x157)](){return this;}[_0x31391e(0x365)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x31391e(0x230)](){var _0x29d5eb=_0x31391e,_0x3d5b5e;(_0x3d5b5e=this[_0x29d5eb(0x309)])==null||_0x3d5b5e['updateOfflineData'](this[_0x29d5eb(0x185)],this[_0x29d5eb(0x2b9)],null,[]);}[_0x31391e(0x23d)](){var _0x25747d=_0x31391e;this[_0x25747d(0x131)]?this[_0x25747d(0x2be)]['emitEvent']({'id':Z[_0x25747d(0x23a)]}):this[_0x25747d(0x2be)][_0x25747d(0x352)]({'id':Z[_0x25747d(0x149)]});}[_0x31391e(0x451)](){var _0x5e4e6a=_0x31391e;this[_0x5e4e6a(0x473)][_0x5e4e6a(0x103)](new X[(_0x5e4e6a(0x337))](this[_0x5e4e6a(0x185)])['id'],!0x1);}},exports[_0x31391e(0x212)]=ae([L(0x6,a[_0x31391e(0x3f0)](a['IPermissionService'])),L(0x7,a[_0x31391e(0x425)]),L(0x8,a[_0x31391e(0x210)]),L(0x9,a[_0x31391e(0x3f0)](p['RevisionService'])),L(0xa,a[_0x31391e(0x3f0)](a[_0x31391e(0x1fe)])),L(0xb,a[_0x31391e(0x3f0)](ee)),L(0xc,a['Optional'](q))],exports[_0x31391e(0x212)]),exports['OfflineState']=class extends ce{constructor(_0x2a964c,_0x2048eb,_0x53b4a2,_0xcaca3b,_0x1c6b93,_0x596f7b,_0x12cbe0,_0x5e661c,_0x1f67a9,_0x1fb5d2){var _0x448937=_0x31391e;super(_0x2a964c,_0x2048eb,_0x53b4a2,_0xcaca3b,_0x1c6b93,_0x5e661c,_0x1f67a9,_0x12cbe0,_0x1fb5d2),A(this,_0x448937(0x3ff),_0x448937(0x3e3)),this[_0x448937(0x1a4)]=_0x596f7b;}['appendMutation'](_0x3ee4d0){var _0x4a8ee3=_0x31391e;return this['_pendingMutations'][_0x4a8ee3(0x399)](_0x3ee4d0),this['_updateLocalCache'](),this;}[_0x31391e(0x1cb)](_0x382661){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x3148f4=_0x31391e;throw new Error(_0x3148f4(0x3e6));}['onRemoteRej'](){var _0x243048=_0x31391e;throw new Error(_0x243048(0x43a));}[_0x31391e(0x2c6)](){return this;}[_0x31391e(0x17b)](){return this;}[_0x31391e(0x157)](){var _0x4f980a=_0x31391e;const {_injector:_0x3a8f88,_pendingMutations:_0x5a51ac,_awaitingChangeset:_0x252ca5,unitID:_0x1f0e87,_handler:_0xcf4ad6,type:_0x5f2311}=this,_0x3f143a=Ot(_0x3a8f88,_0x1f0e87,_0x5f2311,_0x252ca5,_0x5a51ac,_0xcf4ad6);return _0x3f143a instanceof exports['PendingState']?_0x3f143a['_schedule']():(_0x3f143a instanceof exports['AwaitingWithPendingState']||_0x3f143a instanceof exports[_0x4f980a(0x32d)])&&_0x3f143a[_0x4f980a(0x365)](),_0x3f143a;}[_0x31391e(0x365)](){var _0x4293b6=_0x31391e;throw new Error(_0x4293b6(0x36e));}},exports[_0x31391e(0x362)]=ae([L(0x5,a[_0x31391e(0x3f0)](a[_0x31391e(0x281)])),L(0x6,a[_0x31391e(0x3f0)](p['RevisionService'])),L(0x7,a[_0x31391e(0x425)]),L(0x8,a[_0x31391e(0x210)]),L(0x9,a[_0x31391e(0x2c5)](q))],exports['OfflineState']),exports[_0x31391e(0x3a9)]=class extends ce{constructor(_0x3767cc,_0x5da63c,_0x3f30ee,_0x4c6796,_0x5a0092,_0x94acf7,_0x1e4713,_0x568ad8,_0x537c81,_0x512636,_0xb3c3df,_0x6dabb1,_0x92fc57,_0x2ebc24){var _0x459535=_0x31391e;super(_0x3767cc,_0x5da63c,_0x3f30ee,_0x4c6796,_0x1e4713,_0xb3c3df,_0x6dabb1,_0x537c81,_0x2ebc24),A(this,_0x459535(0x3ff),_0x459535(0x13f)),(this[_0x459535(0x18d)]=_0x5a0092,this[_0x459535(0x3c6)]=_0x94acf7,this[_0x459535(0x1a4)]=_0x568ad8,this['_logService']=_0x512636,this[_0x459535(0x396)]=_0x92fc57,this[_0x459535(0x10d)]=_0x2ebc24);}[_0x31391e(0x2ca)](_0x5c3624){var _0x2cc5fd=_0x31391e;try{const _0x4d3a0a=[..._0x5c3624,...this[_0x2cc5fd(0x3c6)]],_0x3b2404=[this[_0x2cc5fd(0x246)]||this[_0x2cc5fd(0x18d)]]['filter'](_0x5ebfc0=>!!_0x5ebfc0);let _0x356b9b,_0xb76a9a;if(_0x3b2404[_0x2cc5fd(0x2cc)]){const _0xa729ee=this[_0x2cc5fd(0x396)][_0x2cc5fd(0x15e)](_0x4d3a0a,_0x3b2404,!0x1);if(!p['isTransformChangesetsSuccess'](_0xa729ee))throw _0xa729ee['error'];_0x356b9b=_0xa729ee[_0x2cc5fd(0x38a)],_0xb76a9a=_0xa729ee[_0x2cc5fd(0x15b)];}else _0x356b9b=_0x4d3a0a,_0xb76a9a=[];let _0x235ba7=this['_pendingMutations'];_0x356b9b['forEach'](_0x104864=>{var _0x3cd43b=_0x2cc5fd;let _0x43e24;if(_0x235ba7['length']){const _0x454566=this[_0x3cd43b(0x396)][_0x3cd43b(0x184)](_0x104864,_0x235ba7);if(!p['isTransformMutationsWithChangesetSuccess'](_0x454566))throw _0x454566['error'];_0x43e24=_0x454566[_0x3cd43b(0x38a)],_0x235ba7=_0x454566[_0x3cd43b(0x15f)];}else _0x43e24=_0x104864;this[_0x3cd43b(0x278)](_0x43e24);}),this[_0x2cc5fd(0x18d)]&&this['_incrementRevisionNumber'](),this[_0x2cc5fd(0x246)]&&_0xb76a9a[_0x2cc5fd(0x2cc)]&&(_0xb76a9a[0x0][_0x2cc5fd(0x3da)]=this[_0x2cc5fd(0x45a)]());let _0xea9b4f;if(this['_awaitingChangeset']&&_0x235ba7[_0x2cc5fd(0x2cc)]!==0x0)_0xea9b4f=this[_0x2cc5fd(0x1a4)][_0x2cc5fd(0x153)](exports['AwaitingWithPendingState'],this[_0x2cc5fd(0x185)],this[_0x2cc5fd(0x2b9)],_0xb76a9a[0x0],_0x235ba7,this[_0x2cc5fd(0x405)],void 0x0);else{if(this['_awaitingChangeset']&&_0x235ba7[_0x2cc5fd(0x2cc)]===0x0)_0xb76a9a[0x0][_0x2cc5fd(0x3da)]=this[_0x2cc5fd(0x45a)](),_0xea9b4f=this[_0x2cc5fd(0x1a4)]['createInstance'](exports[_0x2cc5fd(0x32d)],this[_0x2cc5fd(0x185)],this[_0x2cc5fd(0x2b9)],_0xb76a9a[0x0],this['_handler']);else{if(_0x235ba7[_0x2cc5fd(0x2cc)]!==0x0){const _0x1a7286=this[_0x2cc5fd(0x1a4)][_0x2cc5fd(0x153)](exports['PendingState'],this['unitID'],this['type'],_0x235ba7,this[_0x2cc5fd(0x405)]);_0x1a7286['_schedule'](),_0xea9b4f=_0x1a7286;}else _0xea9b4f=this['_injector'][_0x2cc5fd(0x153)](exports[_0x2cc5fd(0x386)],this[_0x2cc5fd(0x185)],this[_0x2cc5fd(0x2b9)],this[_0x2cc5fd(0x405)]);}}return _0xea9b4f[_0x2cc5fd(0x33d)](),_0xea9b4f;}catch(_0x171e16){return this[_0x2cc5fd(0x10e)]['error'](_0x2cc5fd(0x338),_0x2cc5fd(0x29e),_0x171e16),this['_injector']['createInstance'](exports[_0x2cc5fd(0x212)],this['unitID'],this[_0x2cc5fd(0x2b9)],this[_0x2cc5fd(0x246)],this['_pendingMutations'],this[_0x2cc5fd(0x405)],!0x1);}}[_0x31391e(0x365)](){var _0x27e0d8=_0x31391e;throw new Error(_0x27e0d8(0x12a));}[_0x31391e(0x45c)](_0x363cc4){return this['_pendingMutations']['push'](_0x363cc4),this;}[_0x31391e(0x1cb)](_0x565f71){return this['_queuedRemoteChangesets']['push'](_0x565f71),this;}[_0x31391e(0x310)](_0x5d933e){var _0x44fe2e=_0x31391e;if(this[_0x44fe2e(0x246)])return this[_0x44fe2e(0x18d)]=this[_0x44fe2e(0x246)],this[_0x44fe2e(0x246)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x34c8d4){var _0x326ab9=_0x31391e;return this[_0x326ab9(0x31c)](!!(_0x34c8d4!=null&&_0x34c8d4[_0x326ab9(0x3fc)]));}[_0x31391e(0x2c6)](){return this;}[_0x31391e(0x17b)](){var _0x20eb43=_0x31391e;return this['_injector']['createInstance'](exports[_0x20eb43(0x362)],this['unitID'],this[_0x20eb43(0x2b9)],this[_0x20eb43(0x246)],this[_0x20eb43(0x229)],this[_0x20eb43(0x405)]);}['toggleOnline'](){return this;}[_0x31391e(0x31c)](_0x466248){var _0x44a5f4=_0x31391e;return this[_0x44a5f4(0x1a4)][_0x44a5f4(0x153)](exports[_0x44a5f4(0x212)],this[_0x44a5f4(0x185)],this[_0x44a5f4(0x2b9)],this['_awaitingChangeset'],this[_0x44a5f4(0x229)],this['_handler'],_0x466248);}},exports[_0x31391e(0x3a9)]=ae([L(0x7,a['Inject'](a[_0x31391e(0x281)])),L(0x8,a[_0x31391e(0x3f0)](p['RevisionService'])),L(0x9,a[_0x31391e(0x2d4)]),L(0xa,a[_0x31391e(0x425)]),L(0xb,a[_0x31391e(0x210)]),L(0xc,p[_0x31391e(0x2b3)]),L(0xd,a[_0x31391e(0x2c5)](q))],exports[_0x31391e(0x3a9)]);function Ot(_0x178d30,_0x3b0014,_0x36485b,_0x1660aa,_0x369b8a,_0x1fe28e){var _0x250720=_0x31391e;return _0x1660aa&&_0x369b8a['length']?_0x178d30[_0x250720(0x153)](exports['AwaitingWithPendingState'],_0x3b0014,_0x36485b,_0x1660aa,_0x369b8a,_0x1fe28e,void 0x0):_0x1660aa?_0x178d30[_0x250720(0x153)](exports['AwaitingState'],_0x3b0014,_0x36485b,_0x1660aa,_0x1fe28e):_0x369b8a[_0x250720(0x2cc)]?_0x178d30[_0x250720(0x153)](exports[_0x250720(0x455)],_0x3b0014,_0x36485b,_0x369b8a,_0x1fe28e):_0x178d30[_0x250720(0x153)](exports[_0x250720(0x386)],_0x3b0014,_0x36485b,_0x1fe28e);}var vi=Object[_0x31391e(0x1d1)],Fe=(_0x1a4bb1,_0x509e27,_0x2a41b1,_0x4ffe2e)=>{for(var _0x2275a4=_0x4ffe2e>0x1?void 0x0:_0x4ffe2e?vi(_0x509e27,_0x2a41b1):_0x509e27,_0x1b8971=_0x1a4bb1['length']-0x1,_0x1f034a;_0x1b8971>=0x0;_0x1b8971--)(_0x1f034a=_0x1a4bb1[_0x1b8971])&&(_0x2275a4=_0x1f034a(_0x2275a4)||_0x2275a4);return _0x2275a4;},j=(_0x274ddd,_0x1f6db6)=>(_0x15af9f,_0x47511c)=>_0x1f6db6(_0x15af9f,_0x47511c,_0x274ddd);exports[_0x31391e(0x322)]=class extends a[_0x31391e(0x2a7)]{constructor(_0x4b4e35,_0x288552,_0x4dd1d9,_0x130abd,_0x395a62,_0xb6211e,_0x65d1fe,_0x42b1e3,_0x4cea8a,_0x505fc5,_0x44b650,_0x16c772,_0x1f65f1){var _0x1bef6d=_0x31391e;super(),A(this,_0x1bef6d(0x22e),new $[(_0x1bef6d(0x41c))](null)),A(this,_0x1bef6d(0x1a1),this[_0x1bef6d(0x22e)]['asObservable']()),A(this,'_state'),A(this,_0x1bef6d(0x3b4),!0x1),A(this,_0x1bef6d(0x1d7),''),A(this,_0x1bef6d(0x19a),0x0),A(this,_0x1bef6d(0x1a2),this[_0x1bef6d(0x1a1)][_0x1bef6d(0x23b)]($[_0x1bef6d(0x12b)](_0x2ac96d=>_0x2ac96d?_0x2ac96d[_0x1bef6d(0x3ff)]:Be[_0x1bef6d(0x307)]),$['shareReplay'](0x1))),A(this,_0x1bef6d(0x3ce),!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x1bef6d(0x185)]=_0x4b4e35,this[_0x1bef6d(0xf4)]=_0x288552,this[_0x1bef6d(0x454)]=_0x4dd1d9,this[_0x1bef6d(0x1a4)]=_0x130abd,this[_0x1bef6d(0x20b)]=_0x395a62,this[_0x1bef6d(0x3bb)]=_0xb6211e,this[_0x1bef6d(0x143)]=_0x65d1fe,this[_0x1bef6d(0x2f8)]=_0x42b1e3,this['_logService']=_0x4cea8a,this[_0x1bef6d(0x2fd)]=_0x505fc5,this[_0x1bef6d(0x473)]=_0x44b650,this['_singleActiveUnitService']=_0x16c772,this[_0x1bef6d(0x309)]=_0x1f65f1);}get[_0x31391e(0x23c)](){var _0x20105e=_0x31391e;return this[_0x20105e(0x3c1)];}async[_0x31391e(0x443)](){var _0x5ec6c7=_0x31391e;if(this[_0x5ec6c7(0x23c)])throw new Error(_0x5ec6c7(0x349));await this[_0x5ec6c7(0x122)]();}[_0x31391e(0x3f7)](){var _0x5709d0=_0x31391e;return this[_0x5709d0(0x3b4)]=!0x0,a[_0x5709d0(0x32c)](()=>{var _0x733848=_0x5709d0;this['_collaborationPaused']=!0x1,this[_0x733848(0x323)]();});}[_0x31391e(0x16a)](_0x4aeffe){var _0x14516a=_0x31391e;this[_0x14516a(0x2b6)](_0x4aeffe);}[_0x31391e(0x187)](_0xfde914){var _0x4e0604=_0x31391e;this[_0x4e0604(0x3c1)]=_0xfde914,this[_0x4e0604(0x22e)][_0x4e0604(0x16e)](_0xfde914);}async[_0x31391e(0x122)](){var _0x1d4a23=_0x31391e,_0x2052cf;this['_updateState'](await this[_0x1d4a23(0x2e6)]()),this['_singleActiveUnitService']&&((_0x2052cf=this[_0x1d4a23(0x233)])==null||_0x2052cf[_0x1d4a23(0x2e5)](this[_0x1d4a23(0x185)]),this[_0x1d4a23(0x3ed)](this[_0x1d4a23(0x233)]['getUnitStatus$'](this[_0x1d4a23(0x185)])[_0x1d4a23(0x369)](_0x5d5b64=>{var _0x4d250e=_0x1d4a23;this[_0x4d250e(0x10e)][_0x4d250e(0x38d)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x5d5b64),_0x5d5b64===je[_0x4d250e(0x1a3)]?(this[_0x4d250e(0x2f8)][_0x4d250e(0x352)]({'id':Z[_0x4d250e(0x221)]}),this[_0x4d250e(0x473)][_0x4d250e(0x103)](new X[(_0x4d250e(0x337))](this['unitID'])['id'],!0x1),this[_0x4d250e(0x473)][_0x4d250e(0x298)](!0x1)):(this[_0x4d250e(0x473)][_0x4d250e(0x103)](new X[(_0x4d250e(0x337))](this[_0x4d250e(0x185)])['id'],!0x0),this[_0x4d250e(0x473)][_0x4d250e(0x298)](!0x0));})));let _0x3df7af=!0x1;return this[_0x1d4a23(0x3ed)](this['session'][_0x1d4a23(0x363)][_0x1d4a23(0x369)](_0xdc1c28=>{var _0xa84ce4=_0x1d4a23;_0xdc1c28===re['ONLINE']?this[_0xa84ce4(0x1d3)](_0x3df7af):_0xdc1c28===re[_0xa84ce4(0x307)]&&(_0x3df7af=!0x0,this[_0xa84ce4(0x44e)]());})),this[_0x1d4a23(0x3ed)](this[_0x1d4a23(0xf4)][_0x1d4a23(0x1ec)][_0x1d4a23(0x369)](_0x37d690=>{var _0x464655=_0x1d4a23;try{switch(_0x37d690[_0x464655(0x1c3)]){case p[_0x464655(0x3a2)][_0x464655(0x438)]:{this['_onRemoteChangeset'](p[_0x464655(0x24a)](_0x37d690[_0x464655(0x2e4)]));break;}case p[_0x464655(0x3a2)][_0x464655(0x41d)]:{this['_onRemoteACK'](_0x37d690[_0x464655(0x2e4)]);break;}case p['CollaborationEvent'][_0x464655(0x2ba)]:{this[_0x464655(0x3f3)]();break;}case p[_0x464655(0x3a2)][_0x464655(0x1de)]:{this[_0x464655(0x419)](_0x37d690[_0x464655(0x2e4)]);break;}case p[_0x464655(0x3a2)][_0x464655(0x328)]:{this[_0x464655(0x23e)](_0x37d690[_0x464655(0x2e4)]['changesets'][_0x464655(0x12b)](_0x427796=>p['parseProtocolChangeset'](_0x427796)));break;}case p[_0x464655(0x3a2)][_0x464655(0x194)]:{this[_0x464655(0x3f3)]({'isPermissionRej':!0x0});break;}case p['CollaborationEvent'][_0x464655(0x45f)]:break;}}catch(_0x57d40f){throw console['error'](_0x464655(0xf7),_0x57d40f),_0x57d40f;}})),this[_0x1d4a23(0x3c1)];}[_0x31391e(0x2b4)](){this['_transitionLocked']=!0x1;}[_0x31391e(0x113)](){var _0x262e0c=_0x31391e;if(this[_0x262e0c(0x3ce)])throw new Error(_0x262e0c(0x289));this[_0x262e0c(0x3ce)]=!0x0;}[_0x31391e(0x2b6)](_0x107919){var _0xe7c73e=_0x31391e;this[_0xe7c73e(0x113)](),this[_0xe7c73e(0x187)](this[_0xe7c73e(0x3c1)]['appendMutation'](_0x107919)),this[_0xe7c73e(0x2b4)]();}[_0x31391e(0x300)](_0x35c0db){var _0x3bd8c5=_0x31391e;if(!(_0x35c0db['revision']<=this[_0x3bd8c5(0x143)][_0x3bd8c5(0x3ee)](this[_0x3bd8c5(0x185)]))){if(this[_0x3bd8c5(0x3b4)]){this[_0x3bd8c5(0x2a9)][_0x3bd8c5(0x399)](_0x35c0db);return;}this[_0x3bd8c5(0x3fa)](_0x35c0db);}}[_0x31391e(0x323)](){var _0x1f0384=_0x31391e;this[_0x1f0384(0x2a9)][_0x1f0384(0x381)](_0x5b5ed0=>this[_0x1f0384(0x3fa)](_0x5b5ed0)),this[_0x1f0384(0x2a9)]=[];}[_0x31391e(0x3fa)](_0x4a237){var _0xcc5ff9=_0x31391e;const _0x9268a2=this[_0xcc5ff9(0x20b)][_0xcc5ff9(0x304)][_0xcc5ff9(0x450)](this[_0xcc5ff9(0x20b)]['interceptor']['getInterceptPoints']()[_0xcc5ff9(0x462)])(_0x4a237['mutations'],null)||_0x4a237[_0xcc5ff9(0x449)],_0x42eeb1={..._0x4a237,'mutations':_0x9268a2};this[_0xcc5ff9(0x113)](),this[_0xcc5ff9(0x187)](this[_0xcc5ff9(0x3c1)][_0xcc5ff9(0x1cb)](_0x42eeb1)),this[_0xcc5ff9(0x2b4)]();}[_0x31391e(0x215)](_0x210cb7){var _0x1d21aa=_0x31391e;this[_0x1d21aa(0x113)](),this[_0x1d21aa(0x187)](this[_0x1d21aa(0x3c1)][_0x1d21aa(0x310)](_0x210cb7)),this[_0x1d21aa(0x2b4)]();}[_0x31391e(0x3f3)](_0x28c432){var _0x485df9=_0x31391e;this['_lockTransition'](),this[_0x485df9(0x187)](this['_state'][_0x485df9(0x124)](_0x28c432)),this[_0x485df9(0x2b4)]();}['_onRemoteRetry'](_0x1fc3cb){var _0x5b6070=_0x31391e;this['_lockTransition'](),this['_updateState'](this[_0x5b6070(0x3c1)][_0x5b6070(0x2c6)](_0x1fc3cb)),this['_unlockTransition']();}['_onFetchMissResult'](_0x2fcd16){var _0x56e436=_0x31391e;if(!(this['_state']instanceof exports[_0x56e436(0x3a9)]))throw new TypeError(_0x56e436(0x2d1));const _0x271065=_0x2fcd16['map'](_0x13d76b=>{var _0x1b6a4c=_0x56e436;const _0x5a7054=this[_0x1b6a4c(0x20b)]['interceptor'][_0x1b6a4c(0x450)](this['_compressMutationService']['interceptor'][_0x1b6a4c(0x385)]()['COMPRESS_MUTATION_APPLY'])(_0x13d76b[_0x1b6a4c(0x449)],null)||_0x13d76b[_0x1b6a4c(0x449)];return{..._0x13d76b,'mutations':_0x5a7054};});this['_lockTransition'](),this[_0x56e436(0x187)](this[_0x56e436(0x3c1)]['onMissedChangesetFetched'](_0x271065)),this[_0x56e436(0x2b4)]();}[_0x31391e(0x44e)](){var _0x8cd323=_0x31391e;this[_0x8cd323(0x113)](),this[_0x8cd323(0x187)](this[_0x8cd323(0x3c1)][_0x8cd323(0x17b)]()),this['_unlockTransition']();}[_0x31391e(0x1d3)](_0x708b4b=!0x1){var _0x34be11=_0x31391e;this[_0x34be11(0x113)](),this[_0x34be11(0x187)](this['_state']['toggleOnline']()),this[_0x34be11(0x2b4)]();const _0x39e208=this[_0x34be11(0x3c1)];_0x708b4b&&_0x39e208 instanceof exports[_0x34be11(0x386)]&&(this['_lockTransition'](),this['_updateState'](_0x39e208[_0x34be11(0x138)]()),this[_0x34be11(0x2b4)]());}async[_0x31391e(0x2e6)](){return new Promise(_0x1bddd1=>{var _0x2a09ac=_0x1769;this[_0x2a09ac(0xf4)][_0x2a09ac(0x363)][_0x2a09ac(0x23b)]($[_0x2a09ac(0x293)](0x1))[_0x2a09ac(0x369)](async _0x622549=>{var _0x6e0e91=_0x2a09ac;_0x1bddd1(await this[_0x6e0e91(0x33b)](_0x622549===re[_0x6e0e91(0x3b2)]));});});}[_0x31391e(0x259)](){const _0x246226=this['unitID'];return{'onStateChange':(_0x379f0e,_0x55d4d3)=>{var _0x226f99=_0x1769;if(_0x379f0e!==this[_0x226f99(0x3c1)])throw new Error(_0x226f99(0x366)+_0x379f0e[_0x226f99(0x3ff)]+'\x0aAfter:\x20'+_0x55d4d3[_0x226f99(0x3ff)]+_0x226f99(0x3b0)+this[_0x226f99(0x3c1)][_0x226f99(0x3ff)]);this[_0x226f99(0x187)](_0x55d4d3);},'onSendChangeset':_0x53391d=>{var _0x260662=_0x1769;_0x53391d[_0x260662(0x104)]||(_0x53391d[_0x260662(0x104)]=this[_0x260662(0x1d7)],_0x53391d[_0x260662(0x148)]=++this[_0x260662(0x19a)]);const _0x26b2bc={'eventID':p[_0x260662(0x3a2)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x53391d[_0x260662(0x185)],'unitType':this[_0x260662(0x454)],'changeset':_0x53391d,'memberID':this[_0x260662(0xf4)]['getMemberID']()}};this[_0x260662(0xf4)]['send'](_0x26b2bc,this[_0x260662(0x185)]);},'onMissingChangesets':({from:_0x567ab2,to:_0x1ed2f7})=>{var _0x4cab93=_0x1769;this['_logService']['debug'](_0x4cab93(0x20c),_0x4cab93(0x333)+_0x567ab2+_0x4cab93(0x22b)+_0x1ed2f7);const _0x1a5ff0={'eventID':p[_0x4cab93(0x3a2)][_0x4cab93(0x3fe)],'data':{'unitID':_0x246226,'unitType':this[_0x4cab93(0x454)],'from':_0x567ab2,'to':_0x1ed2f7}};this['session'][_0x4cab93(0x1f9)](_0x1a5ff0,this[_0x4cab93(0x185)]);}};}async[_0x31391e(0x33b)](_0x401571){var _0x33f8d7=_0x31391e,_0x5b3903,_0x17b722,_0x578c28;const _0x1a033a=await((_0x5b3903=this[_0x33f8d7(0x309)])==null?void 0x0:_0x5b3903['loadOfflineData'](this[_0x33f8d7(0x185)])),_0x5d659f=(_0x17b722=_0x1a033a==null?void 0x0:_0x1a033a[_0x33f8d7(0x449)])!=null?_0x17b722:[],_0x4de6d1=(_0x578c28=_0x1a033a==null?void 0x0:_0x1a033a[_0x33f8d7(0x1e8)])!=null?_0x578c28:null,_0x5dc51c=!!(_0x4de6d1!=null&&_0x4de6d1[_0x33f8d7(0x104)])&&!!(_0x4de6d1!=null&&_0x4de6d1[_0x33f8d7(0x148)]);this[_0x33f8d7(0x1d7)]=_0x5dc51c?_0x4de6d1[_0x33f8d7(0x104)]:p[_0x33f8d7(0x379)](),this[_0x33f8d7(0x19a)]=_0x5dc51c?_0x4de6d1[_0x33f8d7(0x148)]:0x0;const _0x1ea202=this[_0x33f8d7(0x185)];try{this[_0x33f8d7(0x207)](_0x4de6d1,_0x5d659f);}catch(_0x2d86f2){this['_logService'][_0x33f8d7(0x219)](_0x2d86f2);}const _0x34d32b=this[_0x33f8d7(0x259)]();if(_0x401571){const _0x5b4cd0=Ot(this[_0x33f8d7(0x1a4)],_0x1ea202,this[_0x33f8d7(0x454)],_0x4de6d1,_0x5d659f,_0x34d32b);return _0x5b4cd0 instanceof exports['PendingState']?_0x5b4cd0['_schedule']():(_0x5b4cd0 instanceof exports[_0x33f8d7(0x3c4)]||_0x5b4cd0 instanceof exports[_0x33f8d7(0x32d)])&&_0x5b4cd0[_0x33f8d7(0x365)](),_0x5b4cd0;}return this[_0x33f8d7(0x1a4)][_0x33f8d7(0x153)](exports['OfflineState'],_0x1ea202,this[_0x33f8d7(0x454)],_0x4de6d1,_0x5d659f,_0x34d32b);}[_0x31391e(0x207)](_0x4759bb,_0x452e3d){var _0x41f73a=_0x31391e,_0x385c3c,_0xb64968;const _0x57d3de=this[_0x41f73a(0x20b)][_0x41f73a(0x304)][_0x41f73a(0x450)](this[_0x41f73a(0x20b)][_0x41f73a(0x304)][_0x41f73a(0x385)]()[_0x41f73a(0x462)]);(_0x385c3c=_0x57d3de((_0x4759bb==null?void 0x0:_0x4759bb[_0x41f73a(0x449)])||[],null))==null||_0x385c3c['forEach'](_0x281dd3=>this['_commandService'][_0x41f73a(0x14a)](_0x281dd3['id'],_0x281dd3[_0x41f73a(0x1c5)])),(_0xb64968=_0x57d3de(_0x452e3d||[],null))==null||_0xb64968[_0x41f73a(0x381)](_0x1a5e2e=>this[_0x41f73a(0x2fd)]['executeCommand'](_0x1a5e2e['id'],_0x1a5e2e[_0x41f73a(0x1c5)]));}},exports[_0x31391e(0x322)]=Fe([j(0x3,a['Inject'](a['Injector'])),j(0x4,a[_0x31391e(0x3f0)](p[_0x31391e(0x336)])),j(0x5,a[_0x31391e(0x3f0)](a[_0x31391e(0x1fe)])),j(0x6,a['Inject'](p[_0x31391e(0x24d)])),j(0x7,a[_0x31391e(0x3f0)](ee)),j(0x8,a[_0x31391e(0x2d4)]),j(0x9,a[_0x31391e(0x425)]),j(0xa,a['IPermissionService']),j(0xb,a['Optional'](de)),j(0xc,a[_0x31391e(0x2c5)](q))],exports[_0x31391e(0x322)]),exports[_0x31391e(0x2cb)]=class extends exports[_0x31391e(0x322)]{constructor(_0x3e1e40,_0x5b217b,_0x3f7746,_0x579b43,_0x3cc1bf,_0x329648,_0x4e3715,_0x4de873,_0x399eca,_0x4047ff,_0x15da79,_0x38fea6,_0x23657a){var _0x46feff=_0x31391e;super(_0x3e1e40,_0x3f7746,_0x5b217b,_0x579b43,_0x3cc1bf,_0x329648,_0x4e3715,_0x4de873,_0x399eca,_0x4047ff,_0x15da79,_0x38fea6,_0x23657a),A(this,_0x46feff(0x30b),null),(this['unitID']=_0x3e1e40,this[_0x46feff(0x2b9)]=_0x5b217b);}[_0x31391e(0x39e)](_0x21d90b){var _0x3d543a=_0x31391e;this[_0x3d543a(0x30b)]=_0x21d90b;}[_0x31391e(0x258)](){var _0x5ab199=_0x31391e;this[_0x5ab199(0x30b)]=null,super['dispose']();}[_0x31391e(0x259)](){var _0x35039c=_0x31391e;const _0x416cdb=super[_0x35039c(0x259)]();return _0x416cdb[_0x35039c(0x1d6)]=_0x1a9ef6=>{var _0x2bc1cb=_0x35039c,_0x326b38,_0x49b000;return(_0x49b000=(_0x326b38=this[_0x2bc1cb(0x30b)])==null?void 0x0:_0x326b38['onTransformIME'])==null?void 0x0:_0x49b000[_0x2bc1cb(0x142)](_0x326b38,_0x1a9ef6);},_0x416cdb[_0x35039c(0x1b7)]=_0x6c9989=>{var _0x26d35e=_0x35039c,_0x3c71a1,_0x5c6e90;return(_0x5c6e90=(_0x3c71a1=this[_0x26d35e(0x30b)])==null?void 0x0:_0x3c71a1[_0x26d35e(0x1b7)])==null?void 0x0:_0x5c6e90[_0x26d35e(0x142)](_0x3c71a1,_0x6c9989);},_0x416cdb[_0x35039c(0x2b7)]=_0x281ef0=>{var _0x5a993d=_0x35039c,_0x3841e2,_0xde4dbe;return(_0xde4dbe=(_0x3841e2=this[_0x5a993d(0x30b)])==null?void 0x0:_0x3841e2['onTransformSelections'])==null?void 0x0:_0xde4dbe[_0x5a993d(0x142)](_0x3841e2,_0x281ef0);},_0x416cdb['onSyncEditingCollabCursor']=_0x12a5f5=>{var _0x5f4cb3=_0x35039c,_0x568c97,_0x21aa77;return(_0x21aa77=(_0x568c97=this[_0x5f4cb3(0x30b)])==null?void 0x0:_0x568c97[_0x5f4cb3(0x2fe)])==null?void 0x0:_0x21aa77['call'](_0x568c97,_0x12a5f5);},_0x416cdb[_0x35039c(0x412)]=_0x426413=>{var _0x2cd345=_0x35039c,_0x19fe82,_0x3384f1,_0x26382d;if(!((_0x19fe82=this[_0x2cd345(0x30b)])!=null&&_0x19fe82[_0x2cd345(0x412)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x26382d=(_0x3384f1=this[_0x2cd345(0x30b)])==null?void 0x0:_0x3384f1[_0x2cd345(0x412)])==null?void 0x0:_0x26382d['call'](_0x3384f1,_0x426413);},_0x416cdb[_0x35039c(0x280)]=_0x288d20=>{var _0x9f8b0e=_0x35039c,_0x57784e,_0x2c764d,_0x5f374f;if(!((_0x57784e=this[_0x9f8b0e(0x30b)])!=null&&_0x57784e[_0x9f8b0e(0x280)]))throw new Error(_0x9f8b0e(0x27f));return(_0x5f374f=(_0x2c764d=this['_handlerCallback'])==null?void 0x0:_0x2c764d[_0x9f8b0e(0x280)])==null?void 0x0:_0x5f374f['call'](_0x2c764d,_0x288d20);},_0x416cdb;}async['_init'](){var _0x191e02=_0x31391e;const _0x231e2a=await super[_0x191e02(0x122)]();return this[_0x191e02(0x3ed)](this[_0x191e02(0x2fd)]['onCommandExecuted']((_0x673b1b,_0x119554)=>{var _0x11a3ea=_0x191e02;if(_0x673b1b['type']!==a[_0x11a3ea(0x3f5)][_0x11a3ea(0x37f)]||_0x119554!=null&&_0x119554[_0x11a3ea(0x3aa)]||_0x119554!=null&&_0x119554['onlyLocal']||_0x673b1b['id']===ht[_0x11a3ea(0x111)]['id'])return;const _0x3b2749=_0x673b1b[_0x11a3ea(0x1c5)];if((_0x3b2749==null?void 0x0:_0x3b2749[_0x11a3ea(0x422)])!==this[_0x11a3ea(0x185)])return;const _0x3f6e75=_0x673b1b,_0x39ae8b=this['_compressMutationService'][_0x11a3ea(0x304)][_0x11a3ea(0x450)](this['_compressMutationService'][_0x11a3ea(0x304)][_0x11a3ea(0x385)]()[_0x11a3ea(0x471)])([_0x3f6e75],null)||[_0x3f6e75];this['_onLocalMutation'](_0x39ae8b[0x0]);})),_0x231e2a;}},exports[_0x31391e(0x2cb)]=Fe([j(0x3,a[_0x31391e(0x3f0)](a[_0x31391e(0x281)])),j(0x4,a[_0x31391e(0x3f0)](p[_0x31391e(0x336)])),j(0x5,a[_0x31391e(0x3f0)](a[_0x31391e(0x1fe)])),j(0x6,a['Inject'](p[_0x31391e(0x24d)])),j(0x7,a[_0x31391e(0x3f0)](ee)),j(0x8,a[_0x31391e(0x2d4)]),j(0x9,a['ICommandService']),j(0xa,a['IPermissionService']),j(0xb,a[_0x31391e(0x2c5)](de)),j(0xc,a[_0x31391e(0x2c5)](q))],exports[_0x31391e(0x2cb)]),exports[_0x31391e(0x38b)]=class extends exports[_0x31391e(0x322)]{constructor(_0x18c2eb,_0x427628,_0x280329,_0x3f846e,_0xd90ddb,_0x20e90f,_0x96e273,_0x4e3aba,_0x1c31fd,_0x37f3b2,_0x31aed2,_0x1366ad,_0x593765,_0x2cccc4){var _0x4bbe28=_0x31391e;super(_0x18c2eb,_0x280329,_0x427628,_0x3f846e,_0xd90ddb,_0x20e90f,_0x96e273,_0x1c31fd,_0x37f3b2,_0x31aed2,_0x1366ad,_0x593765,_0x2cccc4),this[_0x4bbe28(0x185)]=_0x18c2eb,this[_0x4bbe28(0x2b9)]=_0x427628,this[_0x4bbe28(0x303)]=_0x4e3aba;}[_0x31391e(0x259)](){var _0x280ecd=_0x31391e;const _0xe3f57=super[_0x280ecd(0x259)]();return _0xe3f57['onTransformSelections']=_0x5b2b6a=>this['_sheetTransformSelectionsService'][_0x280ecd(0x11a)](_0x5b2b6a),_0xe3f57;}async[_0x31391e(0x122)](){var _0x3c8ef0=_0x31391e;const _0x248ba8=await super[_0x3c8ef0(0x122)]();return this[_0x3c8ef0(0x3ed)](this['_commandService']['onCommandExecuted']((_0x1123ac,_0x350ab4)=>{var _0xf700ff=_0x3c8ef0;if(_0x1123ac['type']!==a['CommandType']['MUTATION']||_0x350ab4!=null&&_0x350ab4[_0xf700ff(0x3aa)]||_0x350ab4!=null&&_0x350ab4[_0xf700ff(0x3fd)])return;const _0x2e135b=_0x1123ac[_0xf700ff(0x1c5)];if((_0x2e135b==null?void 0x0:_0x2e135b['unitId'])!==this[_0xf700ff(0x185)])return;const _0x25be98=_0x1123ac,_0x15582e=this['_compressMutationService'][_0xf700ff(0x304)][_0xf700ff(0x450)](this[_0xf700ff(0x20b)][_0xf700ff(0x304)][_0xf700ff(0x385)]()['COMPRESS_MUTATION_SEND'])([_0x25be98],null)||[_0x25be98];this[_0xf700ff(0x2b6)](_0x15582e[0x0]);})),_0x248ba8;}},exports[_0x31391e(0x38b)]=Fe([j(0x3,a[_0x31391e(0x3f0)](a[_0x31391e(0x281)])),j(0x4,a[_0x31391e(0x3f0)](p[_0x31391e(0x336)])),j(0x5,a[_0x31391e(0x3f0)](a[_0x31391e(0x1fe)])),j(0x6,a[_0x31391e(0x3f0)](p[_0x31391e(0x24d)])),j(0x7,a['Inject'](exports[_0x31391e(0x3db)])),j(0x8,a[_0x31391e(0x3f0)](ee)),j(0x9,a[_0x31391e(0x2d4)]),j(0xa,a[_0x31391e(0x425)]),j(0xb,a['IPermissionService']),j(0xc,a[_0x31391e(0x2c5)](de)),j(0xd,a[_0x31391e(0x2c5)](q))],exports[_0x31391e(0x38b)]);var Si=Object[_0x31391e(0x1d1)],fi=(_0x4a5f80,_0x469ae2,_0x21f92d,_0x5caa57)=>{var _0x3dc2e5=_0x31391e;for(var _0x248f95=_0x5caa57>0x1?void 0x0:_0x5caa57?Si(_0x469ae2,_0x21f92d):_0x469ae2,_0xc86de8=_0x4a5f80[_0x3dc2e5(0x2cc)]-0x1,_0xae96c2;_0xc86de8>=0x0;_0xc86de8--)(_0xae96c2=_0x4a5f80[_0xc86de8])&&(_0x248f95=_0xae96c2(_0x248f95)||_0x248f95);return _0x248f95;},Se=(_0x1aa2ae,_0x3ddd65)=>(_0x45f6d6,_0x558a13)=>_0x3ddd65(_0x45f6d6,_0x558a13,_0x1aa2ae);exports['CollaborationController']=class extends a[_0x31391e(0x2a7)]{constructor(_0x1d75fd,_0x356c31,_0x4e51a9,_0x1c0e54){var _0x212d7f=_0x31391e,_0x17ffd0;super(),A(this,'_entities',new Map()),A(this,_0x212d7f(0x1d2),new $[(_0x212d7f(0x361))]()),A(this,_0x212d7f(0x30c),this[_0x212d7f(0x1d2)]['asObservable']()),(this['_injector']=_0x1d75fd,this[_0x212d7f(0x2a3)]=_0x356c31,this['_configService']=_0x4e51a9,this['_univerInstanceService']=_0x1c0e54,((_0x17ffd0=this[_0x212d7f(0x2a8)][_0x212d7f(0x411)](G))==null?void 0x0:_0x17ffd0[_0x212d7f(0x18f)])!==!0x1&&this['_init']());}[_0x31391e(0x258)](){var _0x54a954=_0x31391e;super[_0x54a954(0x258)](),this['_entities']['forEach'](_0x5bc51d=>_0x5bc51d['dispose']()),this['_entities'][_0x54a954(0x2ee)]();}['getCollabEntity'](_0xac57ba){var _0x7e11e0=_0x31391e,_0x474f0e;return(_0x474f0e=this[_0x7e11e0(0x3ae)][_0x7e11e0(0x244)](_0xac57ba))!=null?_0x474f0e:null;}[_0x31391e(0x2e3)](_0x915a96){var _0x18128b=_0x31391e;const _0x38ea5c=this[_0x18128b(0x10a)](_0x915a96);return _0x38ea5c?$['of'](_0x38ea5c):this['_entityInit$'][_0x18128b(0x23b)](V[_0x18128b(0x17f)](_0x380834=>_0x380834[_0x18128b(0x185)]===_0x915a96));}[_0x31391e(0x2d0)](_0x2a5088){var _0x4303ea=_0x31391e;return $['firstValueFrom'](this[_0x4303ea(0x2e3)](_0x2a5088)['pipe'](V[_0x4303ea(0x12b)](()=>{})));}[_0x31391e(0x122)](){var _0x30ca80=_0x31391e;this['_univerInstanceService'][_0x30ca80(0x241)](a['UniverInstanceType'][_0x30ca80(0x1a5)])[_0x30ca80(0x23b)]($[_0x30ca80(0x193)](this['dispose$']),V[_0x30ca80(0x353)](0x10))['subscribe'](async _0x38e3e8=>{var _0x571bfc=_0x30ca80;const _0x135ae7=_0x38e3e8[_0x571bfc(0x1ea)](),_0x90286b=await this[_0x571bfc(0x25e)](_0x135ae7,J['UNIVER_SHEET']);this[_0x571bfc(0x3ae)][_0x571bfc(0x3a8)](_0x135ae7,_0x90286b);}),this[_0x30ca80(0x29b)][_0x30ca80(0x241)](a[_0x30ca80(0x21c)][_0x30ca80(0x302)])['pipe']($[_0x30ca80(0x193)](this[_0x30ca80(0x119)]),V[_0x30ca80(0x353)](0x10))[_0x30ca80(0x23b)](V[_0x30ca80(0x17f)](_0x16b408=>!_0x16b408['getUnitId']()['startsWith']('__')))['subscribe'](async _0x4c5428=>{var _0x2e0b0e=_0x30ca80;const _0x35c17d=_0x4c5428['getUnitId'](),_0x2d2802=await this[_0x2e0b0e(0x25e)](_0x35c17d,J['UNIVER_DOC']);this[_0x2e0b0e(0x3ae)]['set'](_0x35c17d,_0x2d2802);}),$[_0x30ca80(0x1f6)](this[_0x30ca80(0x29b)][_0x30ca80(0x3a3)](a[_0x30ca80(0x21c)][_0x30ca80(0x1a5)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x30ca80(0x21c)][_0x30ca80(0x302)]))[_0x30ca80(0x23b)]($[_0x30ca80(0x193)](this[_0x30ca80(0x119)]))[_0x30ca80(0x369)](_0x23eb15=>{var _0x5b2cb0=_0x30ca80;const _0x480831=_0x23eb15[_0x5b2cb0(0x1ea)](),_0xc4a9a0=this[_0x5b2cb0(0x3ae)]['get'](_0x480831);_0xc4a9a0&&(_0xc4a9a0['dispose'](),this[_0x5b2cb0(0x3ae)][_0x5b2cb0(0x393)](_0x480831));});}async[_0x31391e(0x25e)](_0x4f7c44,_0x44257d){var _0x622b9d=_0x31391e;const _0x3c86e3=await this[_0x622b9d(0x2a3)][_0x622b9d(0x3f9)](_0x4f7c44),_0x4846ba=this[_0x622b9d(0x1a4)][_0x622b9d(0x153)](this[_0x622b9d(0x34f)](_0x44257d),_0x4f7c44,_0x44257d,_0x3c86e3);return await _0x4846ba[_0x622b9d(0x443)](),this['_entityInit$'][_0x622b9d(0x16e)](_0x4846ba),_0x4846ba;}[_0x31391e(0x34f)](_0x5100d8){var _0x8926e3=_0x31391e;switch(_0x5100d8){case J[_0x8926e3(0x302)]:return exports[_0x8926e3(0x2cb)];case J[_0x8926e3(0x1a5)]:return exports['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x5100d8);}}},exports[_0x31391e(0x431)]=fi([Se(0x0,a[_0x31391e(0x3f0)](a[_0x31391e(0x281)])),Se(0x1,a[_0x31391e(0x3f0)](exports['CollaborationSessionService'])),Se(0x2,a[_0x31391e(0x474)]),Se(0x3,a['IUniverInstanceService'])],exports['CollaborationController']);var Ii=Object[_0x31391e(0x1d1)],pi=(_0x208fea,_0x12068c,_0x156e55,_0x11c952)=>{var _0x97028e=_0x31391e;for(var _0x466c0f=_0x11c952>0x1?void 0x0:_0x11c952?Ii(_0x12068c,_0x156e55):_0x12068c,_0x5b1427=_0x208fea[_0x97028e(0x2cc)]-0x1,_0x4c5bbe;_0x5b1427>=0x0;_0x5b1427--)(_0x4c5bbe=_0x208fea[_0x5b1427])&&(_0x466c0f=_0x4c5bbe(_0x466c0f)||_0x466c0f);return _0x466c0f;},Ke=(_0x86768d,_0x163c49)=>(_0x48c098,_0x27f434)=>_0x163c49(_0x48c098,_0x27f434,_0x86768d);const gi=_0x31391e(0x118),Ei='Univer';let xe=class extends a[_0x31391e(0x2c0)]{constructor(_0xbee808,_0x904a09){var _0x270ea9=_0x31391e;super(),this[_0x270ea9(0x29b)]=_0xbee808,this['_configService']=_0x904a09,this[_0x270ea9(0x122)]();}[_0x31391e(0x122)](){var _0x866405=_0x31391e;this[_0x866405(0x3ed)](this[_0x866405(0x29b)][_0x866405(0x277)][_0x866405(0x369)](()=>{var _0x4b31eb=_0x866405,_0x5a863b;const _0x1283b8=this[_0x4b31eb(0x29b)][_0x4b31eb(0x3ab)]();let _0x4a857=(_0x5a863b=this[_0x4b31eb(0x2a8)][_0x4b31eb(0x411)](gi))!=null?_0x5a863b:Ei;_0x1283b8 instanceof a[_0x4b31eb(0x390)]&&(_0x4a857=_0x1283b8['name']),document[_0x4b31eb(0x129)]=_0x4a857;}));}};xe=pi([Ke(0x0,a[_0x31391e(0x2ad)]),Ke(0x1,a[_0x31391e(0x474)])],xe);var mi=Object['getOwnPropertyDescriptor'],Ci=(_0x262682,_0x2ff527,_0xf2ef6d,_0x373ed0)=>{var _0x252bf7=_0x31391e;for(var _0x3571ac=_0x373ed0>0x1?void 0x0:_0x373ed0?mi(_0x2ff527,_0xf2ef6d):_0x2ff527,_0x139518=_0x262682[_0x252bf7(0x2cc)]-0x1,_0x19c952;_0x139518>=0x0;_0x139518--)(_0x19c952=_0x262682[_0x139518])&&(_0x3571ac=_0x19c952(_0x3571ac)||_0x3571ac);return _0x3571ac;},Ae=(_0x6c9ebc,_0x1915cc)=>(_0xf7c22a,_0x17c07b)=>_0x1915cc(_0xf7c22a,_0x17c07b,_0x6c9ebc);let ye=class{constructor(_0x1c4588,_0x309408,_0x5488b5){var _0x6310a6=_0x31391e;this['_configService']=_0x1c4588,this['_httpService']=_0x309408,this[_0x6310a6(0x3e8)]=_0x5488b5,this[_0x6310a6(0x443)]();}[_0x31391e(0x443)](){var _0x56dad6=_0x31391e;this['_httpService'][_0x56dad6(0x170)]({'priority':0x1,'interceptor':(_0x1a13e0,_0x3ce589)=>_0x3ce589(_0x1a13e0)['pipe']($[_0x56dad6(0x3ad)](async _0x41951a=>{var _0x42b8aa=_0x56dad6;const _0x342ee8=_0x41951a;if(_0x342ee8['status']===0x191){if(typeof window>'u')throw new Error(_0x42b8aa(0x389));if(window[_0x42b8aa(0x294)](this[_0x42b8aa(0x3e8)]['t'](_0x42b8aa(0x347)))){const _0x3544bc=window[_0x42b8aa(0x15a)](window[_0x42b8aa(0x112)]['href']);window[_0x42b8aa(0x112)][_0x42b8aa(0x1e0)]=this[_0x42b8aa(0x426)]()+_0x42b8aa(0x41a)+_0x3544bc;}}return _0x342ee8;}))});}[_0x31391e(0x426)](){var _0x2f67ee=_0x31391e,_0x93cc2a,_0x5cdb3e;const _0x332679=this[_0x2f67ee(0x2a8)][_0x2f67ee(0x411)](pt),_0x2bb67e=this[_0x2f67ee(0x2a8)][_0x2f67ee(0x411)](G);return(_0x5cdb3e=(_0x93cc2a=_0x2bb67e==null?void 0x0:_0x2bb67e[_0x2f67ee(0x2a2)])!=null?_0x93cc2a:_0x332679)!=null?_0x5cdb3e:Wt;}};ye=Ci([Ae(0x0,a[_0x31391e(0x474)]),Ae(0x1,a[_0x31391e(0x3f0)](K[_0x31391e(0x28b)])),Ae(0x2,a[_0x31391e(0x3f0)](a['LocaleService']))],ye);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0x278b0b,_0x333c09,_0x429c09,_0x4b6b1e)=>{for(var _0x23c520=_0x4b6b1e>0x1?void 0x0:_0x4b6b1e?Ti(_0x333c09,_0x429c09):_0x333c09,_0x535be8=_0x278b0b['length']-0x1,_0x3a2cb2;_0x535be8>=0x0;_0x535be8--)(_0x3a2cb2=_0x278b0b[_0x535be8])&&(_0x23c520=_0x3a2cb2(_0x23c520)||_0x23c520);return _0x23c520;},qe=(_0x481e89,_0x3ac53a)=>(_0x222278,_0x16b146)=>_0x3ac53a(_0x222278,_0x16b146,_0x481e89);const Ve=_0x31391e(0x28a),Ri=_0x31391e(0x250);exports[_0x31391e(0x46e)]=class extends a[_0x31391e(0x2c0)]{constructor(_0x45682b,_0x42f5f2){var _0x4d23d3=_0x31391e;super(),this[_0x4d23d3(0x249)]=_0x45682b,this[_0x4d23d3(0x2a8)]=_0x42f5f2,this[_0x4d23d3(0x1d5)]();}[_0x31391e(0x1d5)](){var _0x2d41c8=_0x31391e;const _0x568760=this;this['disposeWithMe'](this['_HTTPService'][_0x2d41c8(0x170)]({'priority':0x3e7,'interceptor':K[_0x2d41c8(0x2ff)]({'isMatch'(_0x3d584d){var _0x1973f7=_0x2d41c8,_0x78d1d;if(_0x3d584d[_0x1973f7(0x224)]===_0x1973f7(0x37a)&&((_0x78d1d=_0x3d584d[_0x1973f7(0x11b)])!=null&&_0x78d1d['body'])){const {objectID:_0xbcba73,objectType:_0x412706}=_0x3d584d['requestParams'][_0x1973f7(0xf5)]||{};if(!_0xbcba73||_0x412706===void 0x0)return!0x1;const _0xc1561f=_0x568760[_0x1973f7(0xfe)]()+'/'+_0x412706+_0x1973f7(0x18a)+_0xbcba73+_0x1973f7(0x168);if(_0x3d584d[_0x1973f7(0x1ff)]===_0xc1561f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x38eb37){var _0x168172=_0x2d41c8,_0xd09231;return(_0xd09231=_0x38eb37['requestParams'])==null?void 0x0:_0xd09231[_0x168172(0xf5)];},'mergeParamsToRequest'(_0x5db999,_0x33b985){var _0x1f5fa7=_0x2d41c8;const _0x4b1cd8=_0x568760[_0x1f5fa7(0xfe)]()+_0x1f5fa7(0x1bb),_0x4cf198=_0x5db999[_0x1f5fa7(0x3bf)]((_0x44d970,_0x2840da)=>{var _0x3568e9=_0x1f5fa7;const {unitID:_0x567c36,objectID:_0x1f1c02,objectType:_0x552c9a,actions:_0x2e0792}=_0x2840da;return _0x44d970[_0x567c36]||(_0x44d970[_0x567c36]={}),_0x44d970[_0x567c36][_0x1f1c02]||(_0x44d970[_0x567c36][_0x1f1c02]={'objectID':_0x1f1c02,'objectType':_0x552c9a,'actions':[]}),_0x44d970[_0x567c36][_0x1f1c02][_0x3568e9(0x40f)][_0x3568e9(0x399)](..._0x2e0792),_0x44d970;},{}),_0x458ec1=[];for(const _0x193561 in _0x4cf198)for(const _0x5dfb5f in _0x4cf198[_0x193561]){const {actions:_0x55f790,objectType:_0x13ca24}=_0x4cf198[_0x193561][_0x5dfb5f],_0x2cea12=[...new Set(_0x55f790)];_0x458ec1[_0x1f5fa7(0x399)]({'unitID':_0x193561,'objectID':_0x5dfb5f,'objectType':_0x13ca24,'actions':_0x2cea12});}return new K[(_0x1f5fa7(0x29f))](_0x1f5fa7(0x37a),_0x4b1cd8,{'headers':_0x33b985[_0x1f5fa7(0x297)],'withCredentials':_0x33b985[_0x1f5fa7(0x3d0)],'responseType':_0x33b985[_0x1f5fa7(0x3b6)],'body':{'requests':_0x458ec1}});}},{'distributeResult'(_0x4fd146,_0x2e9775){var _0x522859=_0x2d41c8;const {objectActions:_0x536192}=_0x4fd146;return _0x2e9775[_0x522859(0x12b)](_0x2834be=>{var _0x1b241f=_0x522859;const {unitID:_0x319896,objectID:_0xa719fd,actions:_0x376161}=_0x2834be,_0x1ee475=_0x536192[_0x1b241f(0x3f1)](_0x48f9f0=>_0x48f9f0[_0x1b241f(0x185)]===_0x319896&&_0x48f9f0[_0x1b241f(0x43d)]===_0xa719fd),_0x230100=_0x376161[_0x1b241f(0x12b)](_0x2a0116=>_0x1ee475==null?void 0x0:_0x1ee475[_0x1b241f(0x40f)][_0x1b241f(0x3f1)](_0x41500b=>_0x41500b[_0x1b241f(0x3e9)]===_0x2a0116))[_0x1b241f(0x17f)](_0x3260f6=>!!_0x3260f6);return{'config':_0x2834be,'result':{'actions':_0x230100,'error':_0x4fd146[_0x1b241f(0x219)]}};});}})}));}[_0x31391e(0xfe)](){var _0x2136ea=_0x31391e,_0x2b001c,_0x125102;const _0x550e67=this[_0x2136ea(0x2a8)]['getConfig'](Ve),_0x41229d=this[_0x2136ea(0x2a8)][_0x2136ea(0x411)](G);return(_0x125102=(_0x2b001c=_0x41229d==null?void 0x0:_0x41229d[_0x2136ea(0x448)])!=null?_0x2b001c:_0x550e67)!=null?_0x125102:Ri;}async[_0x31391e(0x21d)](_0x57ac10){var _0x529648=_0x31391e;const _0x2b1889=this[_0x529648(0xfe)]()+'/'+_0x57ac10[_0x529648(0x20e)]+_0x529648(0x3b8);return(await this[_0x529648(0x249)][_0x529648(0x2f4)](_0x2b1889,{'body':_0x57ac10}))[_0x529648(0xf5)][_0x529648(0x43d)]||'';}async['list'](_0x131fc6){var _0x3dd9fe=_0x31391e;const _0x5e8732=this[_0x3dd9fe(0xfe)]()+_0x3dd9fe(0x388);return(await this[_0x3dd9fe(0x249)][_0x3dd9fe(0x2f4)](_0x5e8732,{'body':_0x131fc6}))['body']['objects'];}async[_0x31391e(0x13c)](_0x5e114e){var _0x2855ec=_0x31391e,_0x243468,_0x2f5e79;const _0xaaf542=this['_getAPIPrefixPath']()+'/'+_0x5e114e['objectType']+_0x2855ec(0x18a)+_0x5e114e[_0x2855ec(0x43d)],_0x91bc9f=await this[_0x2855ec(0x249)][_0x2855ec(0x42d)](_0xaaf542,{'body':_0x5e114e});if(((_0x2f5e79=(_0x243468=_0x91bc9f==null?void 0x0:_0x91bc9f['body'])==null?void 0x0:_0x243468[_0x2855ec(0x219)])==null?void 0x0:_0x2f5e79[_0x2855ec(0x1cd)])!==0x1)throw new Error(_0x2855ec(0x315));}async[_0x31391e(0x107)](_0x245fa7){var _0x20a74e=_0x31391e;const _0x4bc75c=this[_0x20a74e(0xfe)]()+'/'+_0x245fa7[_0x20a74e(0x20e)]+_0x20a74e(0x18a)+_0x245fa7[_0x20a74e(0x43d)]+_0x20a74e(0x168);return(await this[_0x20a74e(0x249)]['post'](_0x4bc75c,{'body':_0x245fa7}))[_0x20a74e(0xf5)][_0x20a74e(0x40f)];}async[_0x31391e(0x243)](_0x5e4d32){var _0x2d71b7=_0x31391e;const _0x2a2774=this[_0x2d71b7(0xfe)]()+_0x2d71b7(0x1bb);return(await this[_0x2d71b7(0x249)]['post'](_0x2a2774,{'body':{'requests':_0x5e4d32}}))['body'][_0x2d71b7(0x44f)];}async[_0x31391e(0x401)](_0x441f20){var _0x14a2cd=_0x31391e;const _0x56fb7c=this[_0x14a2cd(0xfe)]()+'/'+_0x441f20['objectType']+_0x14a2cd(0x1d4),_0x3d9253=await this['_HTTPService'][_0x14a2cd(0x2f4)](_0x56fb7c,{'body':_0x441f20});return{'roles':_0x3d9253[_0x14a2cd(0xf5)]['roles'],'actions':_0x3d9253[_0x14a2cd(0xf5)]['actions']};}async[_0x31391e(0x29d)](_0x2f24cc){var _0x2573a1=_0x31391e;const _0x43d7c5=this[_0x2573a1(0xfe)]()+_0x2573a1(0x239);await this[_0x2573a1(0x249)][_0x2573a1(0x393)](_0x43d7c5,{'params':{'collaboratorID':_0x2f24cc[_0x2573a1(0x2a6)],'objectID':_0x2f24cc[_0x2573a1(0x43d)],'unitID':_0x2f24cc[_0x2573a1(0x185)]}});}async[_0x31391e(0x172)](_0x16fc3f){var _0x16911f=_0x31391e;const _0x3475b8=this[_0x16911f(0xfe)]()+'/collaborator';await this[_0x16911f(0x249)][_0x16911f(0x2c3)](_0x3475b8,{'body':_0x16fc3f});}async[_0x31391e(0x121)](_0x1c19bc){var _0x56496e=_0x31391e;const _0x1acd42=this[_0x56496e(0xfe)]()+_0x56496e(0x239);await this['_HTTPService'][_0x56496e(0x2f4)](_0x1acd42,{'body':_0x1c19bc});}async[_0x31391e(0x1eb)](_0x1cbadd){var _0x4b87fe=_0x31391e;const _0x38d2ad=this[_0x4b87fe(0xfe)]()+'/collaborator';return(await this[_0x4b87fe(0x249)][_0x4b87fe(0x244)](_0x38d2ad,{'params':{'objectID':_0x1cbadd[_0x4b87fe(0x43d)],'unitID':_0x1cbadd[_0x4b87fe(0x185)]}}))[_0x4b87fe(0xf5)][_0x4b87fe(0x2ae)];}async[_0x31391e(0x39c)](_0x5e2819){var _0x44bc15=_0x31391e;const _0x3acb26=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x44bc15(0x249)][_0x44bc15(0x42d)](_0x3acb26,{'body':_0x5e2819});}},exports['AuthzIoHttpService']=bi([qe(0x0,a['Inject'](K['HTTPService'])),qe(0x1,a[_0x31391e(0x3f0)](a[_0x31391e(0x474)]))],exports[_0x31391e(0x46e)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x52c1ab){var _0x27578c=_0x31391e;return _0x52c1ab&&_0x52c1ab['__esModule']&&Object[_0x27578c(0x3d4)]['hasOwnProperty']['call'](_0x52c1ab,_0x27578c(0x3a5))?_0x52c1ab['default']:_0x52c1ab;}var fe={'exports':{}};function Oi(_0x2b9131){var _0x4e8833=_0x31391e;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x2b9131+_0x4e8833(0x432));}var Ie={'exports':{}},yi=Ie[_0x31391e(0x285)],ze;function Q(){var _0x5c6a87=_0x31391e;return ze||(ze=0x1,function(_0x4c9329,_0x4517df){(function(_0x5b4cf5,_0x5d8ec5){var _0xbf4428=_0x1769;_0x4c9329[_0xbf4428(0x285)]=_0x5d8ec5();}(yi,function(){var _0x5ccad5=_0x5ccad5||function(_0x3eb13d,_0x1ed5c6){var _0x163c58=_0x1769,_0x31a926;if(typeof window<'u'&&window[_0x163c58(0x1d0)]&&(_0x31a926=window[_0x163c58(0x1d0)]),typeof self<'u'&&self[_0x163c58(0x1d0)]&&(_0x31a926=self[_0x163c58(0x1d0)]),typeof globalThis<'u'&&globalThis[_0x163c58(0x1d0)]&&(_0x31a926=globalThis[_0x163c58(0x1d0)]),!_0x31a926&&typeof window<'u'&&window['msCrypto']&&(_0x31a926=window[_0x163c58(0x28e)]),!_0x31a926&&typeof Pe<'u'&&Pe[_0x163c58(0x1d0)]&&(_0x31a926=Pe['crypto']),!_0x31a926&&typeof Oi==_0x163c58(0x477))try{_0x31a926=require('crypto');}catch{}var _0x11bbb9=function(){var _0x116a88=_0x163c58;if(_0x31a926){if(typeof _0x31a926[_0x116a88(0x3e1)]==_0x116a88(0x477))try{return _0x31a926['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x31a926[_0x116a88(0x447)]==_0x116a88(0x477))try{return _0x31a926[_0x116a88(0x447)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x116a88(0x1aa));},_0x1c7545=Object[_0x163c58(0x21d)]||(function(){function _0x9e433b(){}return function(_0x1c25cd){var _0x47b5dc=_0x1769,_0x223eb0;return _0x9e433b['prototype']=_0x1c25cd,_0x223eb0=new _0x9e433b(),_0x9e433b[_0x47b5dc(0x3d4)]=null,_0x223eb0;};}()),_0x2a7c3b={},_0x318972=_0x2a7c3b[_0x163c58(0x465)]={},_0x3e72a5=_0x318972['Base']=(function(){return{'extend':function(_0x29a3cd){var _0x15b87f=_0x1769,_0x1a0228=_0x1c7545(this);return _0x29a3cd&&_0x1a0228[_0x15b87f(0x29c)](_0x29a3cd),(!_0x1a0228[_0x15b87f(0x1f8)](_0x15b87f(0x443))||this[_0x15b87f(0x443)]===_0x1a0228[_0x15b87f(0x443)])&&(_0x1a0228['init']=function(){var _0x271286=_0x15b87f;_0x1a0228[_0x271286(0x452)][_0x271286(0x443)][_0x271286(0x1cf)](this,arguments);}),_0x1a0228['init'][_0x15b87f(0x3d4)]=_0x1a0228,_0x1a0228[_0x15b87f(0x452)]=this,_0x1a0228;},'create':function(){var _0x529ab5=_0x1769,_0x3728e0=this[_0x529ab5(0x22c)]();return _0x3728e0[_0x529ab5(0x443)][_0x529ab5(0x1cf)](_0x3728e0,arguments),_0x3728e0;},'init':function(){},'mixIn':function(_0x551bd8){var _0x22bbfd=_0x1769;for(var _0x1dadbf in _0x551bd8)_0x551bd8[_0x22bbfd(0x1f8)](_0x1dadbf)&&(this[_0x1dadbf]=_0x551bd8[_0x1dadbf]);_0x551bd8['hasOwnProperty'](_0x22bbfd(0x274))&&(this[_0x22bbfd(0x274)]=_0x551bd8[_0x22bbfd(0x274)]);},'clone':function(){var _0x35f04d=_0x1769;return this[_0x35f04d(0x443)][_0x35f04d(0x3d4)][_0x35f04d(0x22c)](this);}};}()),_0x1bfc14=_0x318972['WordArray']=_0x3e72a5['extend']({'init':function(_0x36c9ec,_0x2733bb){var _0x32873a=_0x163c58;_0x36c9ec=this[_0x32873a(0x36f)]=_0x36c9ec||[],_0x2733bb!=_0x1ed5c6?this[_0x32873a(0x301)]=_0x2733bb:this[_0x32873a(0x301)]=_0x36c9ec['length']*0x4;},'toString':function(_0x487cc7){var _0x260326=_0x163c58;return(_0x487cc7||_0x226bde)[_0x260326(0x2ea)](this);},'concat':function(_0x18604b){var _0x557c90=_0x163c58,_0x4db46c=this[_0x557c90(0x36f)],_0x292455=_0x18604b[_0x557c90(0x36f)],_0x4601cb=this['sigBytes'],_0x3531a3=_0x18604b[_0x557c90(0x301)];if(this[_0x557c90(0x402)](),_0x4601cb%0x4)for(var _0x21ef07=0x0;_0x21ef07<_0x3531a3;_0x21ef07++){var _0x470ffd=_0x292455[_0x21ef07>>>0x2]>>>0x18-_0x21ef07%0x4*0x8&0xff;_0x4db46c[_0x4601cb+_0x21ef07>>>0x2]|=_0x470ffd<<0x18-(_0x4601cb+_0x21ef07)%0x4*0x8;}else{for(var _0x162654=0x0;_0x162654<_0x3531a3;_0x162654+=0x4)_0x4db46c[_0x4601cb+_0x162654>>>0x2]=_0x292455[_0x162654>>>0x2];}return this['sigBytes']+=_0x3531a3,this;},'clamp':function(){var _0x7f8635=_0x163c58,_0x535429=this[_0x7f8635(0x36f)],_0x434278=this['sigBytes'];_0x535429[_0x434278>>>0x2]&=0xffffffff<<0x20-_0x434278%0x4*0x8,_0x535429[_0x7f8635(0x2cc)]=_0x3eb13d[_0x7f8635(0x12e)](_0x434278/0x4);},'clone':function(){var _0x4abcab=_0x163c58,_0x2dbd09=_0x3e72a5[_0x4abcab(0x39a)]['call'](this);return _0x2dbd09[_0x4abcab(0x36f)]=this[_0x4abcab(0x36f)][_0x4abcab(0x11d)](0x0),_0x2dbd09;},'random':function(_0x4ba697){var _0x3326d2=_0x163c58;for(var _0x1ec882=[],_0x428c80=0x0;_0x428c80<_0x4ba697;_0x428c80+=0x4)_0x1ec882['push'](_0x11bbb9());return new _0x1bfc14[(_0x3326d2(0x443))](_0x1ec882,_0x4ba697);}}),_0xa4600=_0x2a7c3b[_0x163c58(0x442)]={},_0x226bde=_0xa4600[_0x163c58(0x44d)]={'stringify':function(_0xfc2f7){var _0x1cde0f=_0x163c58;for(var _0x48c661=_0xfc2f7[_0x1cde0f(0x36f)],_0xb4624a=_0xfc2f7[_0x1cde0f(0x301)],_0x148998=[],_0x28e80e=0x0;_0x28e80e<_0xb4624a;_0x28e80e++){var _0x2efc5d=_0x48c661[_0x28e80e>>>0x2]>>>0x18-_0x28e80e%0x4*0x8&0xff;_0x148998[_0x1cde0f(0x399)]((_0x2efc5d>>>0x4)[_0x1cde0f(0x274)](0x10)),_0x148998[_0x1cde0f(0x399)]((_0x2efc5d&0xf)[_0x1cde0f(0x274)](0x10));}return _0x148998[_0x1cde0f(0x181)]('');},'parse':function(_0x52f56f){var _0x29c5d2=_0x163c58;for(var _0x5207e4=_0x52f56f[_0x29c5d2(0x2cc)],_0x5bc0db=[],_0x1b8b64=0x0;_0x1b8b64<_0x5207e4;_0x1b8b64+=0x2)_0x5bc0db[_0x1b8b64>>>0x3]|=parseInt(_0x52f56f['substr'](_0x1b8b64,0x2),0x10)<<0x18-_0x1b8b64%0x8*0x4;return new _0x1bfc14[(_0x29c5d2(0x443))](_0x5bc0db,_0x5207e4/0x2);}},_0x27f6c6=_0xa4600['Latin1']={'stringify':function(_0x1a62e4){var _0x4dcbff=_0x163c58;for(var _0x238245=_0x1a62e4['words'],_0x20b3d0=_0x1a62e4[_0x4dcbff(0x301)],_0x29ecae=[],_0x44f275=0x0;_0x44f275<_0x20b3d0;_0x44f275++){var _0x2a1c4d=_0x238245[_0x44f275>>>0x2]>>>0x18-_0x44f275%0x4*0x8&0xff;_0x29ecae[_0x4dcbff(0x399)](String[_0x4dcbff(0x2d6)](_0x2a1c4d));}return _0x29ecae[_0x4dcbff(0x181)]('');},'parse':function(_0x17b954){var _0x5b860d=_0x163c58;for(var _0x21882f=_0x17b954['length'],_0x2e9a32=[],_0x3c04a1=0x0;_0x3c04a1<_0x21882f;_0x3c04a1++)_0x2e9a32[_0x3c04a1>>>0x2]|=(_0x17b954[_0x5b860d(0x283)](_0x3c04a1)&0xff)<<0x18-_0x3c04a1%0x4*0x8;return new _0x1bfc14['init'](_0x2e9a32,_0x21882f);}},_0x49296e=_0xa4600[_0x163c58(0x267)]={'stringify':function(_0x2edc03){var _0x167cf6=_0x163c58;try{return decodeURIComponent(escape(_0x27f6c6[_0x167cf6(0x2ea)](_0x2edc03)));}catch{throw new Error(_0x167cf6(0x248));}},'parse':function(_0x5e4a76){var _0x5e4009=_0x163c58;return _0x27f6c6[_0x5e4009(0x3a7)](unescape(encodeURIComponent(_0x5e4a76)));}},_0x49f1ee=_0x318972['BufferedBlockAlgorithm']=_0x3e72a5[_0x163c58(0x22c)]({'reset':function(){var _0x4a7353=_0x163c58;this[_0x4a7353(0x472)]=new _0x1bfc14[(_0x4a7353(0x443))](),this[_0x4a7353(0x445)]=0x0;},'_append':function(_0x36c333){var _0x4221fc=_0x163c58;typeof _0x36c333==_0x4221fc(0x128)&&(_0x36c333=_0x49296e[_0x4221fc(0x3a7)](_0x36c333)),this[_0x4221fc(0x472)][_0x4221fc(0x38c)](_0x36c333),this[_0x4221fc(0x445)]+=_0x36c333[_0x4221fc(0x301)];},'_process':function(_0x32ac93){var _0x3311ea=_0x163c58,_0x291075,_0x2f3221=this['_data'],_0x20f16f=_0x2f3221[_0x3311ea(0x36f)],_0x156d8f=_0x2f3221[_0x3311ea(0x301)],_0x43df7e=this['blockSize'],_0x3dde19=_0x43df7e*0x4,_0x1ee555=_0x156d8f/_0x3dde19;_0x32ac93?_0x1ee555=_0x3eb13d[_0x3311ea(0x12e)](_0x1ee555):_0x1ee555=_0x3eb13d[_0x3311ea(0x35d)]((_0x1ee555|0x0)-this['_minBufferSize'],0x0);var _0x173ed3=_0x1ee555*_0x43df7e,_0x4764d6=_0x3eb13d[_0x3311ea(0x476)](_0x173ed3*0x4,_0x156d8f);if(_0x173ed3){for(var _0x28f22f=0x0;_0x28f22f<_0x173ed3;_0x28f22f+=_0x43df7e)this[_0x3311ea(0x32e)](_0x20f16f,_0x28f22f);_0x291075=_0x20f16f[_0x3311ea(0x1b6)](0x0,_0x173ed3),_0x2f3221[_0x3311ea(0x301)]-=_0x4764d6;}return new _0x1bfc14[(_0x3311ea(0x443))](_0x291075,_0x4764d6);},'clone':function(){var _0x252704=_0x163c58,_0x2a54d5=_0x3e72a5[_0x252704(0x39a)][_0x252704(0x142)](this);return _0x2a54d5['_data']=this[_0x252704(0x472)][_0x252704(0x39a)](),_0x2a54d5;},'_minBufferSize':0x0});_0x318972['Hasher']=_0x49f1ee[_0x163c58(0x22c)]({'cfg':_0x3e72a5['extend'](),'init':function(_0x4f1612){var _0x4108ef=_0x163c58;this[_0x4108ef(0x2af)]=this[_0x4108ef(0x2af)][_0x4108ef(0x22c)](_0x4f1612),this[_0x4108ef(0x429)]();},'reset':function(){var _0x1feeba=_0x163c58;_0x49f1ee[_0x1feeba(0x429)][_0x1feeba(0x142)](this),this[_0x1feeba(0x30a)]();},'update':function(_0x50f1fa){var _0x16fba6=_0x163c58;return this[_0x16fba6(0x415)](_0x50f1fa),this[_0x16fba6(0x316)](),this;},'finalize':function(_0x109369){_0x109369&&this['_append'](_0x109369);var _0x20236b=this['_doFinalize']();return _0x20236b;},'blockSize':0x10,'_createHelper':function(_0x2bc936){return function(_0x3a4484,_0x21f233){var _0x22ee1d=_0x1769;return new _0x2bc936[(_0x22ee1d(0x443))](_0x21f233)[_0x22ee1d(0x1ae)](_0x3a4484);};},'_createHmacHelper':function(_0x40e0b6){return function(_0x15b316,_0x21eb16){var _0x2125be=_0x1769;return new _0x65528[(_0x2125be(0x13a))][(_0x2125be(0x443))](_0x40e0b6,_0x21eb16)[_0x2125be(0x1ae)](_0x15b316);};}});var _0x65528=_0x2a7c3b[_0x163c58(0x2b5)]={};return _0x2a7c3b;}(Math);return _0x5ccad5;}));}(Ie)),Ie[_0x5c6a87(0x285)];}var pe={'exports':{}},Ni=pe[_0x31391e(0x285)],Je;function yt(){var _0x3a986d=_0x31391e;return Je||(Je=0x1,function(_0x54e986,_0x534a82){(function(_0x123819,_0x4b638b){var _0x5799ed=_0x1769;_0x54e986[_0x5799ed(0x285)]=_0x4b638b(Q());}(Ni,function(_0x50847f){var _0x37ce21=_0x1769;return(function(){var _0x39512a=_0x1769,_0xc24526=_0x50847f,_0x5c083b=_0xc24526[_0x39512a(0x465)],_0x49eed6=_0x5c083b[_0x39512a(0x1c1)],_0x16ef16=_0xc24526[_0x39512a(0x442)];_0x16ef16[_0x39512a(0xfb)]={'stringify':function(_0xbb212f){var _0x4639df=_0x39512a,_0x14c45f=_0xbb212f[_0x4639df(0x36f)],_0x11e4e2=_0xbb212f[_0x4639df(0x301)],_0x18987c=this[_0x4639df(0x2a4)];_0xbb212f[_0x4639df(0x402)]();for(var _0x174007=[],_0x442385=0x0;_0x442385<_0x11e4e2;_0x442385+=0x3)for(var _0x53e129=_0x14c45f[_0x442385>>>0x2]>>>0x18-_0x442385%0x4*0x8&0xff,_0x3df08b=_0x14c45f[_0x442385+0x1>>>0x2]>>>0x18-(_0x442385+0x1)%0x4*0x8&0xff,_0xa95551=_0x14c45f[_0x442385+0x2>>>0x2]>>>0x18-(_0x442385+0x2)%0x4*0x8&0xff,_0x1c91a9=_0x53e129<<0x10|_0x3df08b<<0x8|_0xa95551,_0x593af7=0x0;_0x593af7<0x4&&_0x442385+_0x593af7*0.75<_0x11e4e2;_0x593af7++)_0x174007[_0x4639df(0x399)](_0x18987c[_0x4639df(0x1f1)](_0x1c91a9>>>0x6*(0x3-_0x593af7)&0x3f));var _0x21750d=_0x18987c['charAt'](0x40);if(_0x21750d){for(;_0x174007[_0x4639df(0x2cc)]%0x4;)_0x174007['push'](_0x21750d);}return _0x174007['join']('');},'parse':function(_0x2a0d80){var _0x286103=_0x39512a,_0x4aed93=_0x2a0d80[_0x286103(0x2cc)],_0x1fe498=this['_map'],_0x14d59d=this[_0x286103(0x160)];if(!_0x14d59d){_0x14d59d=this[_0x286103(0x160)]=[];for(var _0x56b624=0x0;_0x56b624<_0x1fe498[_0x286103(0x2cc)];_0x56b624++)_0x14d59d[_0x1fe498[_0x286103(0x283)](_0x56b624)]=_0x56b624;}var _0x1cbb2f=_0x1fe498[_0x286103(0x1f1)](0x40);if(_0x1cbb2f){var _0x504a18=_0x2a0d80[_0x286103(0x126)](_0x1cbb2f);_0x504a18!==-0x1&&(_0x4aed93=_0x504a18);}return _0x223e7e(_0x2a0d80,_0x4aed93,_0x14d59d);},'_map':_0x39512a(0x324)};function _0x223e7e(_0x39d393,_0x12a1b6,_0x80c09c){var _0x1d5c62=_0x39512a;for(var _0x5c523b=[],_0x1805a3=0x0,_0x1d2436=0x0;_0x1d2436<_0x12a1b6;_0x1d2436++)if(_0x1d2436%0x4){var _0x5f02ef=_0x80c09c[_0x39d393[_0x1d5c62(0x283)](_0x1d2436-0x1)]<<_0x1d2436%0x4*0x2,_0x3a9576=_0x80c09c[_0x39d393['charCodeAt'](_0x1d2436)]>>>0x6-_0x1d2436%0x4*0x2,_0x1d60d5=_0x5f02ef|_0x3a9576;_0x5c523b[_0x1805a3>>>0x2]|=_0x1d60d5<<0x18-_0x1805a3%0x4*0x8,_0x1805a3++;}return _0x49eed6[_0x1d5c62(0x21d)](_0x5c523b,_0x1805a3);}}()),_0x50847f[_0x37ce21(0x442)]['Base64'];}));}(pe)),pe[_0x3a986d(0x285)];}var ge={'exports':{}},Di=ge[_0x31391e(0x285)],Xe;function Ui(){var _0x21f9a3=_0x31391e;return Xe||(Xe=0x1,function(_0x3fde89,_0x37e9d0){(function(_0x2ac162,_0x38eb61){var _0x117729=_0x1769;_0x3fde89[_0x117729(0x285)]=_0x38eb61(Q());}(Di,function(_0x551568){var _0x1b5fe4=_0x1769;return function(_0x23cd21){var _0x470d45=_0x1769,_0x49ed1d=_0x551568,_0x32fbdb=_0x49ed1d['lib'],_0x15fadd=_0x32fbdb[_0x470d45(0x1c1)],_0x198bb0=_0x32fbdb[_0x470d45(0x10c)],_0x15af98=_0x49ed1d[_0x470d45(0x2b5)],_0x32f64e=[];(function(){var _0x4b0617=_0x470d45;for(var _0x5859dc=0x0;_0x5859dc<0x40;_0x5859dc++)_0x32f64e[_0x5859dc]=_0x23cd21[_0x4b0617(0x440)](_0x23cd21[_0x4b0617(0x284)](_0x5859dc+0x1))*0x100000000|0x0;}());var _0x33889d=_0x15af98[_0x470d45(0x1a9)]=_0x198bb0[_0x470d45(0x22c)]({'_doReset':function(){var _0x4d57ff=_0x470d45;this[_0x4d57ff(0x14c)]=new _0x15fadd[(_0x4d57ff(0x443))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x72bd18,_0x2b0e4b){var _0x5bef1c=_0x470d45;for(var _0x1ab899=0x0;_0x1ab899<0x10;_0x1ab899++){var _0x4e7993=_0x2b0e4b+_0x1ab899,_0x16b98a=_0x72bd18[_0x4e7993];_0x72bd18[_0x4e7993]=(_0x16b98a<<0x8|_0x16b98a>>>0x18)&0xff00ff|(_0x16b98a<<0x18|_0x16b98a>>>0x8)&0xff00ff00;}var _0x32078a=this[_0x5bef1c(0x14c)][_0x5bef1c(0x36f)],_0x2ba9c2=_0x72bd18[_0x2b0e4b+0x0],_0x1d6ade=_0x72bd18[_0x2b0e4b+0x1],_0x30c100=_0x72bd18[_0x2b0e4b+0x2],_0x1f1cad=_0x72bd18[_0x2b0e4b+0x3],_0x7b79ca=_0x72bd18[_0x2b0e4b+0x4],_0x28a392=_0x72bd18[_0x2b0e4b+0x5],_0x6a0340=_0x72bd18[_0x2b0e4b+0x6],_0x209539=_0x72bd18[_0x2b0e4b+0x7],_0x1fef3f=_0x72bd18[_0x2b0e4b+0x8],_0x5480d0=_0x72bd18[_0x2b0e4b+0x9],_0x4ee8fa=_0x72bd18[_0x2b0e4b+0xa],_0x2c160e=_0x72bd18[_0x2b0e4b+0xb],_0x36181c=_0x72bd18[_0x2b0e4b+0xc],_0x181670=_0x72bd18[_0x2b0e4b+0xd],_0x3b6ec0=_0x72bd18[_0x2b0e4b+0xe],_0x617662=_0x72bd18[_0x2b0e4b+0xf],_0x1df663=_0x32078a[0x0],_0x161f18=_0x32078a[0x1],_0x536cb3=_0x32078a[0x2],_0x447b33=_0x32078a[0x3];_0x1df663=_0x43a55b(_0x1df663,_0x161f18,_0x536cb3,_0x447b33,_0x2ba9c2,0x7,_0x32f64e[0x0]),_0x447b33=_0x43a55b(_0x447b33,_0x1df663,_0x161f18,_0x536cb3,_0x1d6ade,0xc,_0x32f64e[0x1]),_0x536cb3=_0x43a55b(_0x536cb3,_0x447b33,_0x1df663,_0x161f18,_0x30c100,0x11,_0x32f64e[0x2]),_0x161f18=_0x43a55b(_0x161f18,_0x536cb3,_0x447b33,_0x1df663,_0x1f1cad,0x16,_0x32f64e[0x3]),_0x1df663=_0x43a55b(_0x1df663,_0x161f18,_0x536cb3,_0x447b33,_0x7b79ca,0x7,_0x32f64e[0x4]),_0x447b33=_0x43a55b(_0x447b33,_0x1df663,_0x161f18,_0x536cb3,_0x28a392,0xc,_0x32f64e[0x5]),_0x536cb3=_0x43a55b(_0x536cb3,_0x447b33,_0x1df663,_0x161f18,_0x6a0340,0x11,_0x32f64e[0x6]),_0x161f18=_0x43a55b(_0x161f18,_0x536cb3,_0x447b33,_0x1df663,_0x209539,0x16,_0x32f64e[0x7]),_0x1df663=_0x43a55b(_0x1df663,_0x161f18,_0x536cb3,_0x447b33,_0x1fef3f,0x7,_0x32f64e[0x8]),_0x447b33=_0x43a55b(_0x447b33,_0x1df663,_0x161f18,_0x536cb3,_0x5480d0,0xc,_0x32f64e[0x9]),_0x536cb3=_0x43a55b(_0x536cb3,_0x447b33,_0x1df663,_0x161f18,_0x4ee8fa,0x11,_0x32f64e[0xa]),_0x161f18=_0x43a55b(_0x161f18,_0x536cb3,_0x447b33,_0x1df663,_0x2c160e,0x16,_0x32f64e[0xb]),_0x1df663=_0x43a55b(_0x1df663,_0x161f18,_0x536cb3,_0x447b33,_0x36181c,0x7,_0x32f64e[0xc]),_0x447b33=_0x43a55b(_0x447b33,_0x1df663,_0x161f18,_0x536cb3,_0x181670,0xc,_0x32f64e[0xd]),_0x536cb3=_0x43a55b(_0x536cb3,_0x447b33,_0x1df663,_0x161f18,_0x3b6ec0,0x11,_0x32f64e[0xe]),_0x161f18=_0x43a55b(_0x161f18,_0x536cb3,_0x447b33,_0x1df663,_0x617662,0x16,_0x32f64e[0xf]),_0x1df663=_0x29cccc(_0x1df663,_0x161f18,_0x536cb3,_0x447b33,_0x1d6ade,0x5,_0x32f64e[0x10]),_0x447b33=_0x29cccc(_0x447b33,_0x1df663,_0x161f18,_0x536cb3,_0x6a0340,0x9,_0x32f64e[0x11]),_0x536cb3=_0x29cccc(_0x536cb3,_0x447b33,_0x1df663,_0x161f18,_0x2c160e,0xe,_0x32f64e[0x12]),_0x161f18=_0x29cccc(_0x161f18,_0x536cb3,_0x447b33,_0x1df663,_0x2ba9c2,0x14,_0x32f64e[0x13]),_0x1df663=_0x29cccc(_0x1df663,_0x161f18,_0x536cb3,_0x447b33,_0x28a392,0x5,_0x32f64e[0x14]),_0x447b33=_0x29cccc(_0x447b33,_0x1df663,_0x161f18,_0x536cb3,_0x4ee8fa,0x9,_0x32f64e[0x15]),_0x536cb3=_0x29cccc(_0x536cb3,_0x447b33,_0x1df663,_0x161f18,_0x617662,0xe,_0x32f64e[0x16]),_0x161f18=_0x29cccc(_0x161f18,_0x536cb3,_0x447b33,_0x1df663,_0x7b79ca,0x14,_0x32f64e[0x17]),_0x1df663=_0x29cccc(_0x1df663,_0x161f18,_0x536cb3,_0x447b33,_0x5480d0,0x5,_0x32f64e[0x18]),_0x447b33=_0x29cccc(_0x447b33,_0x1df663,_0x161f18,_0x536cb3,_0x3b6ec0,0x9,_0x32f64e[0x19]),_0x536cb3=_0x29cccc(_0x536cb3,_0x447b33,_0x1df663,_0x161f18,_0x1f1cad,0xe,_0x32f64e[0x1a]),_0x161f18=_0x29cccc(_0x161f18,_0x536cb3,_0x447b33,_0x1df663,_0x1fef3f,0x14,_0x32f64e[0x1b]),_0x1df663=_0x29cccc(_0x1df663,_0x161f18,_0x536cb3,_0x447b33,_0x181670,0x5,_0x32f64e[0x1c]),_0x447b33=_0x29cccc(_0x447b33,_0x1df663,_0x161f18,_0x536cb3,_0x30c100,0x9,_0x32f64e[0x1d]),_0x536cb3=_0x29cccc(_0x536cb3,_0x447b33,_0x1df663,_0x161f18,_0x209539,0xe,_0x32f64e[0x1e]),_0x161f18=_0x29cccc(_0x161f18,_0x536cb3,_0x447b33,_0x1df663,_0x36181c,0x14,_0x32f64e[0x1f]),_0x1df663=_0x15ebd0(_0x1df663,_0x161f18,_0x536cb3,_0x447b33,_0x28a392,0x4,_0x32f64e[0x20]),_0x447b33=_0x15ebd0(_0x447b33,_0x1df663,_0x161f18,_0x536cb3,_0x1fef3f,0xb,_0x32f64e[0x21]),_0x536cb3=_0x15ebd0(_0x536cb3,_0x447b33,_0x1df663,_0x161f18,_0x2c160e,0x10,_0x32f64e[0x22]),_0x161f18=_0x15ebd0(_0x161f18,_0x536cb3,_0x447b33,_0x1df663,_0x3b6ec0,0x17,_0x32f64e[0x23]),_0x1df663=_0x15ebd0(_0x1df663,_0x161f18,_0x536cb3,_0x447b33,_0x1d6ade,0x4,_0x32f64e[0x24]),_0x447b33=_0x15ebd0(_0x447b33,_0x1df663,_0x161f18,_0x536cb3,_0x7b79ca,0xb,_0x32f64e[0x25]),_0x536cb3=_0x15ebd0(_0x536cb3,_0x447b33,_0x1df663,_0x161f18,_0x209539,0x10,_0x32f64e[0x26]),_0x161f18=_0x15ebd0(_0x161f18,_0x536cb3,_0x447b33,_0x1df663,_0x4ee8fa,0x17,_0x32f64e[0x27]),_0x1df663=_0x15ebd0(_0x1df663,_0x161f18,_0x536cb3,_0x447b33,_0x181670,0x4,_0x32f64e[0x28]),_0x447b33=_0x15ebd0(_0x447b33,_0x1df663,_0x161f18,_0x536cb3,_0x2ba9c2,0xb,_0x32f64e[0x29]),_0x536cb3=_0x15ebd0(_0x536cb3,_0x447b33,_0x1df663,_0x161f18,_0x1f1cad,0x10,_0x32f64e[0x2a]),_0x161f18=_0x15ebd0(_0x161f18,_0x536cb3,_0x447b33,_0x1df663,_0x6a0340,0x17,_0x32f64e[0x2b]),_0x1df663=_0x15ebd0(_0x1df663,_0x161f18,_0x536cb3,_0x447b33,_0x5480d0,0x4,_0x32f64e[0x2c]),_0x447b33=_0x15ebd0(_0x447b33,_0x1df663,_0x161f18,_0x536cb3,_0x36181c,0xb,_0x32f64e[0x2d]),_0x536cb3=_0x15ebd0(_0x536cb3,_0x447b33,_0x1df663,_0x161f18,_0x617662,0x10,_0x32f64e[0x2e]),_0x161f18=_0x15ebd0(_0x161f18,_0x536cb3,_0x447b33,_0x1df663,_0x30c100,0x17,_0x32f64e[0x2f]),_0x1df663=_0x16a68f(_0x1df663,_0x161f18,_0x536cb3,_0x447b33,_0x2ba9c2,0x6,_0x32f64e[0x30]),_0x447b33=_0x16a68f(_0x447b33,_0x1df663,_0x161f18,_0x536cb3,_0x209539,0xa,_0x32f64e[0x31]),_0x536cb3=_0x16a68f(_0x536cb3,_0x447b33,_0x1df663,_0x161f18,_0x3b6ec0,0xf,_0x32f64e[0x32]),_0x161f18=_0x16a68f(_0x161f18,_0x536cb3,_0x447b33,_0x1df663,_0x28a392,0x15,_0x32f64e[0x33]),_0x1df663=_0x16a68f(_0x1df663,_0x161f18,_0x536cb3,_0x447b33,_0x36181c,0x6,_0x32f64e[0x34]),_0x447b33=_0x16a68f(_0x447b33,_0x1df663,_0x161f18,_0x536cb3,_0x1f1cad,0xa,_0x32f64e[0x35]),_0x536cb3=_0x16a68f(_0x536cb3,_0x447b33,_0x1df663,_0x161f18,_0x4ee8fa,0xf,_0x32f64e[0x36]),_0x161f18=_0x16a68f(_0x161f18,_0x536cb3,_0x447b33,_0x1df663,_0x1d6ade,0x15,_0x32f64e[0x37]),_0x1df663=_0x16a68f(_0x1df663,_0x161f18,_0x536cb3,_0x447b33,_0x1fef3f,0x6,_0x32f64e[0x38]),_0x447b33=_0x16a68f(_0x447b33,_0x1df663,_0x161f18,_0x536cb3,_0x617662,0xa,_0x32f64e[0x39]),_0x536cb3=_0x16a68f(_0x536cb3,_0x447b33,_0x1df663,_0x161f18,_0x6a0340,0xf,_0x32f64e[0x3a]),_0x161f18=_0x16a68f(_0x161f18,_0x536cb3,_0x447b33,_0x1df663,_0x181670,0x15,_0x32f64e[0x3b]),_0x1df663=_0x16a68f(_0x1df663,_0x161f18,_0x536cb3,_0x447b33,_0x7b79ca,0x6,_0x32f64e[0x3c]),_0x447b33=_0x16a68f(_0x447b33,_0x1df663,_0x161f18,_0x536cb3,_0x2c160e,0xa,_0x32f64e[0x3d]),_0x536cb3=_0x16a68f(_0x536cb3,_0x447b33,_0x1df663,_0x161f18,_0x30c100,0xf,_0x32f64e[0x3e]),_0x161f18=_0x16a68f(_0x161f18,_0x536cb3,_0x447b33,_0x1df663,_0x5480d0,0x15,_0x32f64e[0x3f]),_0x32078a[0x0]=_0x32078a[0x0]+_0x1df663|0x0,_0x32078a[0x1]=_0x32078a[0x1]+_0x161f18|0x0,_0x32078a[0x2]=_0x32078a[0x2]+_0x536cb3|0x0,_0x32078a[0x3]=_0x32078a[0x3]+_0x447b33|0x0;},'_doFinalize':function(){var _0xa97821=_0x470d45,_0x17ee32=this['_data'],_0x21b36a=_0x17ee32[_0xa97821(0x36f)],_0x4d0969=this[_0xa97821(0x445)]*0x8,_0x5e8a8b=_0x17ee32[_0xa97821(0x301)]*0x8;_0x21b36a[_0x5e8a8b>>>0x5]|=0x80<<0x18-_0x5e8a8b%0x20;var _0x9f1b89=_0x23cd21['floor'](_0x4d0969/0x100000000),_0x2048c7=_0x4d0969;_0x21b36a[(_0x5e8a8b+0x40>>>0x9<<0x4)+0xf]=(_0x9f1b89<<0x8|_0x9f1b89>>>0x18)&0xff00ff|(_0x9f1b89<<0x18|_0x9f1b89>>>0x8)&0xff00ff00,_0x21b36a[(_0x5e8a8b+0x40>>>0x9<<0x4)+0xe]=(_0x2048c7<<0x8|_0x2048c7>>>0x18)&0xff00ff|(_0x2048c7<<0x18|_0x2048c7>>>0x8)&0xff00ff00,_0x17ee32[_0xa97821(0x301)]=(_0x21b36a[_0xa97821(0x2cc)]+0x1)*0x4,this[_0xa97821(0x316)]();for(var _0xce5610=this[_0xa97821(0x14c)],_0x856589=_0xce5610[_0xa97821(0x36f)],_0x5ad7d4=0x0;_0x5ad7d4<0x4;_0x5ad7d4++){var _0x49da17=_0x856589[_0x5ad7d4];_0x856589[_0x5ad7d4]=(_0x49da17<<0x8|_0x49da17>>>0x18)&0xff00ff|(_0x49da17<<0x18|_0x49da17>>>0x8)&0xff00ff00;}return _0xce5610;},'clone':function(){var _0x517ead=_0x470d45,_0x34b5f1=_0x198bb0[_0x517ead(0x39a)][_0x517ead(0x142)](this);return _0x34b5f1[_0x517ead(0x14c)]=this[_0x517ead(0x14c)][_0x517ead(0x39a)](),_0x34b5f1;}});function _0x43a55b(_0x3567ad,_0x49aabd,_0x38dbbb,_0x2897bb,_0x26f597,_0x3f275e,_0x5742ab){var _0x112587=_0x3567ad+(_0x49aabd&_0x38dbbb|~_0x49aabd&_0x2897bb)+_0x26f597+_0x5742ab;return(_0x112587<<_0x3f275e|_0x112587>>>0x20-_0x3f275e)+_0x49aabd;}function _0x29cccc(_0x46917e,_0x5b1f5d,_0x48413a,_0x256ccb,_0x464157,_0x1826b2,_0x2511a6){var _0x4ba496=_0x46917e+(_0x5b1f5d&_0x256ccb|_0x48413a&~_0x256ccb)+_0x464157+_0x2511a6;return(_0x4ba496<<_0x1826b2|_0x4ba496>>>0x20-_0x1826b2)+_0x5b1f5d;}function _0x15ebd0(_0x5b3c1e,_0x134f33,_0x5e6777,_0x5c0685,_0x5b8cf3,_0x1ed0b6,_0x4699ce){var _0x356f79=_0x5b3c1e+(_0x134f33^_0x5e6777^_0x5c0685)+_0x5b8cf3+_0x4699ce;return(_0x356f79<<_0x1ed0b6|_0x356f79>>>0x20-_0x1ed0b6)+_0x134f33;}function _0x16a68f(_0x1e15e8,_0x22dcfa,_0x387751,_0x1d2aa9,_0x386ea6,_0x2ed340,_0x4e3be2){var _0x48dab4=_0x1e15e8+(_0x387751^(_0x22dcfa|~_0x1d2aa9))+_0x386ea6+_0x4e3be2;return(_0x48dab4<<_0x2ed340|_0x48dab4>>>0x20-_0x2ed340)+_0x22dcfa;}_0x49ed1d[_0x470d45(0x1a9)]=_0x198bb0[_0x470d45(0x2e9)](_0x33889d),_0x49ed1d['HmacMD5']=_0x198bb0[_0x470d45(0x434)](_0x33889d);}(Math),_0x551568[_0x1b5fe4(0x1a9)];}));}(ge)),ge[_0x21f9a3(0x285)];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x31391e(0x285)],Ze;function Pi(){return Ze||(Ze=0x1,function(_0x524133,_0x3100b6){(function(_0x3ae4be,_0x1d90a2){var _0x205877=_0x1769;_0x524133[_0x205877(0x285)]=_0x1d90a2(Q());}(Ai,function(_0x1c8143){var _0x29e3de=_0x1769;return(function(){var _0x744e87=_0x1769,_0x5cbf06=_0x1c8143,_0x24ce21=_0x5cbf06[_0x744e87(0x465)],_0x5a298e=_0x24ce21[_0x744e87(0x1c1)],_0xfa0188=_0x24ce21['Hasher'],_0x1ea74e=_0x5cbf06[_0x744e87(0x2b5)],_0x2900cb=[],_0x3ab183=_0x1ea74e['SHA1']=_0xfa0188[_0x744e87(0x22c)]({'_doReset':function(){var _0x20286d=_0x744e87;this[_0x20286d(0x14c)]=new _0x5a298e['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3ee57a,_0x477bf1){var _0x2c465e=_0x744e87;for(var _0x5bf13b=this[_0x2c465e(0x14c)][_0x2c465e(0x36f)],_0x13f52e=_0x5bf13b[0x0],_0x50d678=_0x5bf13b[0x1],_0x1c1503=_0x5bf13b[0x2],_0x460a70=_0x5bf13b[0x3],_0x14a6f5=_0x5bf13b[0x4],_0x2477b=0x0;_0x2477b<0x50;_0x2477b++){if(_0x2477b<0x10)_0x2900cb[_0x2477b]=_0x3ee57a[_0x477bf1+_0x2477b]|0x0;else{var _0x4581aa=_0x2900cb[_0x2477b-0x3]^_0x2900cb[_0x2477b-0x8]^_0x2900cb[_0x2477b-0xe]^_0x2900cb[_0x2477b-0x10];_0x2900cb[_0x2477b]=_0x4581aa<<0x1|_0x4581aa>>>0x1f;}var _0x3cef74=(_0x13f52e<<0x5|_0x13f52e>>>0x1b)+_0x14a6f5+_0x2900cb[_0x2477b];_0x2477b<0x14?_0x3cef74+=(_0x50d678&_0x1c1503|~_0x50d678&_0x460a70)+0x5a827999:_0x2477b<0x28?_0x3cef74+=(_0x50d678^_0x1c1503^_0x460a70)+0x6ed9eba1:_0x2477b<0x3c?_0x3cef74+=(_0x50d678&_0x1c1503|_0x50d678&_0x460a70|_0x1c1503&_0x460a70)-0x70e44324:_0x3cef74+=(_0x50d678^_0x1c1503^_0x460a70)-0x359d3e2a,_0x14a6f5=_0x460a70,_0x460a70=_0x1c1503,_0x1c1503=_0x50d678<<0x1e|_0x50d678>>>0x2,_0x50d678=_0x13f52e,_0x13f52e=_0x3cef74;}_0x5bf13b[0x0]=_0x5bf13b[0x0]+_0x13f52e|0x0,_0x5bf13b[0x1]=_0x5bf13b[0x1]+_0x50d678|0x0,_0x5bf13b[0x2]=_0x5bf13b[0x2]+_0x1c1503|0x0,_0x5bf13b[0x3]=_0x5bf13b[0x3]+_0x460a70|0x0,_0x5bf13b[0x4]=_0x5bf13b[0x4]+_0x14a6f5|0x0;},'_doFinalize':function(){var _0x3e6e64=_0x744e87,_0x1231e4=this[_0x3e6e64(0x472)],_0x2141c5=_0x1231e4[_0x3e6e64(0x36f)],_0x2446a8=this[_0x3e6e64(0x445)]*0x8,_0x562095=_0x1231e4['sigBytes']*0x8;return _0x2141c5[_0x562095>>>0x5]|=0x80<<0x18-_0x562095%0x20,_0x2141c5[(_0x562095+0x40>>>0x9<<0x4)+0xe]=Math[_0x3e6e64(0x1f7)](_0x2446a8/0x100000000),_0x2141c5[(_0x562095+0x40>>>0x9<<0x4)+0xf]=_0x2446a8,_0x1231e4[_0x3e6e64(0x301)]=_0x2141c5['length']*0x4,this[_0x3e6e64(0x316)](),this[_0x3e6e64(0x14c)];},'clone':function(){var _0x534fc7=_0x744e87,_0x85816f=_0xfa0188[_0x534fc7(0x39a)][_0x534fc7(0x142)](this);return _0x85816f[_0x534fc7(0x14c)]=this[_0x534fc7(0x14c)][_0x534fc7(0x39a)](),_0x85816f;}});_0x5cbf06['SHA1']=_0xfa0188['_createHelper'](_0x3ab183),_0x5cbf06['HmacSHA1']=_0xfa0188[_0x744e87(0x434)](_0x3ab183);}()),_0x1c8143[_0x29e3de(0x19c)];}));}(me)),me['exports'];}var Ce={'exports':{}},Li=Ce[_0x31391e(0x285)],Qe;function wi(){return Qe||(Qe=0x1,function(_0x438e81,_0xa110db){(function(_0x3dd74a,_0x4cb157){var _0x31f473=_0x1769;_0x438e81[_0x31f473(0x285)]=_0x4cb157(Q());}(Li,function(_0x271288){(function(){var _0x3d8e88=_0x1769,_0x10fccf=_0x271288,_0x39dec1=_0x10fccf['lib'],_0x23a097=_0x39dec1['Base'],_0x304b80=_0x10fccf['enc'],_0x2d6cd2=_0x304b80['Utf8'],_0x54ae60=_0x10fccf[_0x3d8e88(0x2b5)];_0x54ae60[_0x3d8e88(0x13a)]=_0x23a097[_0x3d8e88(0x22c)]({'init':function(_0x513079,_0x4ccc8f){var _0x450ebb=_0x3d8e88;_0x513079=this['_hasher']=new _0x513079[(_0x450ebb(0x443))](),typeof _0x4ccc8f==_0x450ebb(0x128)&&(_0x4ccc8f=_0x2d6cd2[_0x450ebb(0x3a7)](_0x4ccc8f));var _0x145d25=_0x513079[_0x450ebb(0x190)],_0x33c891=_0x145d25*0x4;_0x4ccc8f[_0x450ebb(0x301)]>_0x33c891&&(_0x4ccc8f=_0x513079[_0x450ebb(0x1ae)](_0x4ccc8f)),_0x4ccc8f[_0x450ebb(0x402)]();for(var _0x344820=this[_0x450ebb(0x18c)]=_0x4ccc8f[_0x450ebb(0x39a)](),_0x3745ca=this[_0x450ebb(0x3eb)]=_0x4ccc8f[_0x450ebb(0x39a)](),_0x3fb8cc=_0x344820[_0x450ebb(0x36f)],_0x5c6e13=_0x3745ca['words'],_0x15445b=0x0;_0x15445b<_0x145d25;_0x15445b++)_0x3fb8cc[_0x15445b]^=0x5c5c5c5c,_0x5c6e13[_0x15445b]^=0x36363636;_0x344820[_0x450ebb(0x301)]=_0x3745ca[_0x450ebb(0x301)]=_0x33c891,this[_0x450ebb(0x429)]();},'reset':function(){var _0x471dfc=_0x3d8e88,_0x5cc0de=this[_0x471dfc(0x41b)];_0x5cc0de['reset'](),_0x5cc0de[_0x471dfc(0x13c)](this[_0x471dfc(0x3eb)]);},'update':function(_0xd1a44d){var _0x1ae1d1=_0x3d8e88;return this[_0x1ae1d1(0x41b)]['update'](_0xd1a44d),this;},'finalize':function(_0x2c0b1a){var _0x492f99=_0x3d8e88,_0x50477a=this[_0x492f99(0x41b)],_0x1c5a69=_0x50477a[_0x492f99(0x1ae)](_0x2c0b1a);_0x50477a[_0x492f99(0x429)]();var _0x5674b4=_0x50477a[_0x492f99(0x1ae)](this[_0x492f99(0x18c)][_0x492f99(0x39a)]()[_0x492f99(0x38c)](_0x1c5a69));return _0x5674b4;}});}());}));}(Ce)),Ce['exports'];}var Mi=Ee[_0x31391e(0x285)],et;function Nt(){var _0x104a4f=_0x31391e;return et||(et=0x1,function(_0x5c7ddc,_0x51cf86){(function(_0x3cd904,_0x28edc1,_0x5867ea){var _0x227b45=_0x1769;_0x5c7ddc[_0x227b45(0x285)]=_0x28edc1(Q(),Pi(),wi());}(Mi,function(_0x1c7b2d){var _0x1283cf=_0x1769;return(function(){var _0x215b87=_0x1769,_0x337c61=_0x1c7b2d,_0x3486aa=_0x337c61[_0x215b87(0x465)],_0x193d42=_0x3486aa[_0x215b87(0x392)],_0x2a31aa=_0x3486aa[_0x215b87(0x1c1)],_0x30945a=_0x337c61[_0x215b87(0x2b5)],_0xb2f5b6=_0x30945a['MD5'],_0x37aa29=_0x30945a[_0x215b87(0x36d)]=_0x193d42[_0x215b87(0x22c)]({'cfg':_0x193d42['extend']({'keySize':0x80/0x20,'hasher':_0xb2f5b6,'iterations':0x1}),'init':function(_0x3e9ab6){var _0x174ae9=_0x215b87;this[_0x174ae9(0x2af)]=this[_0x174ae9(0x2af)][_0x174ae9(0x22c)](_0x3e9ab6);},'compute':function(_0x5caf61,_0x5e08e2){var _0x2d6c24=_0x215b87;for(var _0x21e9d1,_0xbce784=this[_0x2d6c24(0x2af)],_0x598e45=_0xbce784['hasher'][_0x2d6c24(0x21d)](),_0x57f25d=_0x2a31aa['create'](),_0x2d1b79=_0x57f25d[_0x2d6c24(0x36f)],_0x161ce2=_0xbce784[_0x2d6c24(0x1b1)],_0x2b055b=_0xbce784[_0x2d6c24(0x2df)];_0x2d1b79[_0x2d6c24(0x2cc)]<_0x161ce2;){_0x21e9d1&&_0x598e45[_0x2d6c24(0x13c)](_0x21e9d1),_0x21e9d1=_0x598e45['update'](_0x5caf61)['finalize'](_0x5e08e2),_0x598e45['reset']();for(var _0x4dc155=0x1;_0x4dc155<_0x2b055b;_0x4dc155++)_0x21e9d1=_0x598e45['finalize'](_0x21e9d1),_0x598e45[_0x2d6c24(0x429)]();_0x57f25d['concat'](_0x21e9d1);}return _0x57f25d[_0x2d6c24(0x301)]=_0x161ce2*0x4,_0x57f25d;}});_0x337c61[_0x215b87(0x36d)]=function(_0x329ed6,_0x53ea5b,_0x238fd0){var _0x21d13c=_0x215b87;return _0x37aa29[_0x21d13c(0x21d)](_0x238fd0)[_0x21d13c(0x2f1)](_0x329ed6,_0x53ea5b);};}()),_0x1c7b2d[_0x1283cf(0x36d)];}));}(Ee)),Ee[_0x104a4f(0x285)];}var Te={'exports':{}},xi=Te['exports'],tt;function Dt(){var _0x94728d=_0x31391e;return tt||(tt=0x1,function(_0x428141,_0x12959f){(function(_0x437058,_0x5827d0,_0x494277){var _0x31163a=_0x1769;_0x428141[_0x31163a(0x285)]=_0x5827d0(Q(),Nt());}(xi,function(_0x109f87){var _0x490ecc=_0x1769;_0x109f87['lib'][_0x490ecc(0x3d8)]||function(_0x5127aa){var _0x34f3b=_0x490ecc,_0x250d3a=_0x109f87,_0x5c45aa=_0x250d3a[_0x34f3b(0x465)],_0x1325e5=_0x5c45aa[_0x34f3b(0x392)],_0x514cec=_0x5c45aa['WordArray'],_0x1d44b9=_0x5c45aa[_0x34f3b(0x14d)],_0x10f134=_0x250d3a[_0x34f3b(0x442)];_0x10f134['Utf8'];var _0x349d73=_0x10f134[_0x34f3b(0xfb)],_0x37297b=_0x250d3a[_0x34f3b(0x2b5)],_0x1d56cd=_0x37297b[_0x34f3b(0x36d)],_0x76ffcb=_0x5c45aa[_0x34f3b(0x3d8)]=_0x1d44b9[_0x34f3b(0x22c)]({'cfg':_0x1325e5['extend'](),'createEncryptor':function(_0x3d0395,_0x5c9250){var _0x2e7a8e=_0x34f3b;return this['create'](this[_0x2e7a8e(0x3ec)],_0x3d0395,_0x5c9250);},'createDecryptor':function(_0x2f0ebc,_0x3d1d05){var _0x3ebccd=_0x34f3b;return this['create'](this[_0x3ebccd(0x216)],_0x2f0ebc,_0x3d1d05);},'init':function(_0x4fa5c3,_0x155119,_0x40b90d){var _0x22f9cb=_0x34f3b;this[_0x22f9cb(0x2af)]=this[_0x22f9cb(0x2af)]['extend'](_0x40b90d),this['_xformMode']=_0x4fa5c3,this[_0x22f9cb(0x14e)]=_0x155119,this[_0x22f9cb(0x429)]();},'reset':function(){var _0x324e3c=_0x34f3b;_0x1d44b9[_0x324e3c(0x429)][_0x324e3c(0x142)](this),this['_doReset']();},'process':function(_0x5a4929){var _0x461c87=_0x34f3b;return this[_0x461c87(0x415)](_0x5a4929),this[_0x461c87(0x316)]();},'finalize':function(_0x1fdb86){var _0x133fa9=_0x34f3b;_0x1fdb86&&this['_append'](_0x1fdb86);var _0x355fbf=this[_0x133fa9(0x44c)]();return _0x355fbf;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x42a72b(_0x398cb0){var _0x3ddfc2=_0x1769;return typeof _0x398cb0==_0x3ddfc2(0x128)?_0x1fba95:_0x1c68be;}return function(_0x58a3e5){return{'encrypt':function(_0x1130a9,_0x1797df,_0x1438d5){var _0x4b0222=_0x1769;return _0x42a72b(_0x1797df)[_0x4b0222(0x2ed)](_0x58a3e5,_0x1130a9,_0x1797df,_0x1438d5);},'decrypt':function(_0x32ccf5,_0x158c2a,_0x23e7c5){var _0x23428e=_0x1769;return _0x42a72b(_0x158c2a)[_0x23428e(0x10b)](_0x58a3e5,_0x32ccf5,_0x158c2a,_0x23e7c5);}};};}())});_0x5c45aa[_0x34f3b(0x3af)]=_0x76ffcb[_0x34f3b(0x22c)]({'_doFinalize':function(){var _0x58485d=_0x34f3b,_0x49aeac=this[_0x58485d(0x316)](!0x0);return _0x49aeac;},'blockSize':0x1});var _0x135fea=_0x250d3a[_0x34f3b(0x458)]={},_0x11d192=_0x5c45aa[_0x34f3b(0x26b)]=_0x1325e5['extend']({'createEncryptor':function(_0x594308,_0x165523){var _0x9e6dbd=_0x34f3b;return this[_0x9e6dbd(0x228)][_0x9e6dbd(0x21d)](_0x594308,_0x165523);},'createDecryptor':function(_0x5084b1,_0x4a7cd1){return this['Decryptor']['create'](_0x5084b1,_0x4a7cd1);},'init':function(_0x21bb6a,_0x136214){var _0x54d690=_0x34f3b;this['_cipher']=_0x21bb6a,this[_0x54d690(0x441)]=_0x136214;}}),_0x1aa96f=_0x135fea['CBC']=(function(){var _0x37e92f=_0x34f3b,_0x48edac=_0x11d192['extend']();_0x48edac['Encryptor']=_0x48edac[_0x37e92f(0x22c)]({'processBlock':function(_0x3c4a76,_0x3e14cc){var _0x1dd85b=_0x37e92f,_0x5d1496=this[_0x1dd85b(0x35e)],_0x51eb8b=_0x5d1496[_0x1dd85b(0x190)];_0x45fd23[_0x1dd85b(0x142)](this,_0x3c4a76,_0x3e14cc,_0x51eb8b),_0x5d1496[_0x1dd85b(0x209)](_0x3c4a76,_0x3e14cc),this[_0x1dd85b(0x1af)]=_0x3c4a76[_0x1dd85b(0x11d)](_0x3e14cc,_0x3e14cc+_0x51eb8b);}}),_0x48edac[_0x37e92f(0x343)]=_0x48edac[_0x37e92f(0x22c)]({'processBlock':function(_0x3a5872,_0x336206){var _0x1ab128=_0x37e92f,_0x43900e=this['_cipher'],_0x1c2466=_0x43900e['blockSize'],_0x524fc4=_0x3a5872[_0x1ab128(0x11d)](_0x336206,_0x336206+_0x1c2466);_0x43900e[_0x1ab128(0x17d)](_0x3a5872,_0x336206),_0x45fd23[_0x1ab128(0x142)](this,_0x3a5872,_0x336206,_0x1c2466),this[_0x1ab128(0x1af)]=_0x524fc4;}});function _0x45fd23(_0x18b6a5,_0x16c83e,_0x47d4b3){var _0x1c355=_0x37e92f,_0x9b0115,_0x113058=this[_0x1c355(0x441)];_0x113058?(_0x9b0115=_0x113058,this['_iv']=_0x5127aa):_0x9b0115=this[_0x1c355(0x1af)];for(var _0x471e97=0x0;_0x471e97<_0x47d4b3;_0x471e97++)_0x18b6a5[_0x16c83e+_0x471e97]^=_0x9b0115[_0x471e97];}return _0x48edac;}()),_0x185ef2=_0x250d3a[_0x34f3b(0x211)]={},_0x2271a5=_0x185ef2[_0x34f3b(0x2d3)]={'pad':function(_0x16cae0,_0x5ed0c3){var _0x5f1d9e=_0x34f3b;for(var _0x4814af=_0x5ed0c3*0x4,_0x11fc1e=_0x4814af-_0x16cae0[_0x5f1d9e(0x301)]%_0x4814af,_0x12a622=_0x11fc1e<<0x18|_0x11fc1e<<0x10|_0x11fc1e<<0x8|_0x11fc1e,_0x22d50b=[],_0x5abcf0=0x0;_0x5abcf0<_0x11fc1e;_0x5abcf0+=0x4)_0x22d50b[_0x5f1d9e(0x399)](_0x12a622);var _0x3a7c59=_0x514cec['create'](_0x22d50b,_0x11fc1e);_0x16cae0[_0x5f1d9e(0x38c)](_0x3a7c59);},'unpad':function(_0x4fdafa){var _0x41760a=_0x34f3b,_0x4a5979=_0x4fdafa[_0x41760a(0x36f)][_0x4fdafa['sigBytes']-0x1>>>0x2]&0xff;_0x4fdafa[_0x41760a(0x301)]-=_0x4a5979;}};_0x5c45aa[_0x34f3b(0x3b3)]=_0x76ffcb[_0x34f3b(0x22c)]({'cfg':_0x76ffcb[_0x34f3b(0x2af)]['extend']({'mode':_0x1aa96f,'padding':_0x2271a5}),'reset':function(){var _0x3310b4=_0x34f3b,_0x4e3072;_0x76ffcb[_0x3310b4(0x429)][_0x3310b4(0x142)](this);var _0x52782e=this['cfg'],_0x20481d=_0x52782e['iv'],_0x3d9401=_0x52782e[_0x3310b4(0x458)];this[_0x3310b4(0x311)]==this[_0x3310b4(0x3ec)]?_0x4e3072=_0x3d9401['createEncryptor']:(_0x4e3072=_0x3d9401[_0x3310b4(0x340)],this['_minBufferSize']=0x1),this[_0x3310b4(0x43e)]&&this[_0x3310b4(0x43e)]['__creator']==_0x4e3072?this['_mode']['init'](this,_0x20481d&&_0x20481d['words']):(this[_0x3310b4(0x43e)]=_0x4e3072['call'](_0x3d9401,this,_0x20481d&&_0x20481d[_0x3310b4(0x36f)]),this[_0x3310b4(0x43e)][_0x3310b4(0x420)]=_0x4e3072);},'_doProcessBlock':function(_0x203d4c,_0x1a5ba6){this['_mode']['processBlock'](_0x203d4c,_0x1a5ba6);},'_doFinalize':function(){var _0x3485dc=_0x34f3b,_0x3396a3,_0x2ef8e0=this[_0x3485dc(0x2af)][_0x3485dc(0x439)];return this[_0x3485dc(0x311)]==this[_0x3485dc(0x3ec)]?(_0x2ef8e0['pad'](this[_0x3485dc(0x472)],this[_0x3485dc(0x190)]),_0x3396a3=this[_0x3485dc(0x316)](!0x0)):(_0x3396a3=this['_process'](!0x0),_0x2ef8e0['unpad'](_0x3396a3)),_0x3396a3;},'blockSize':0x80/0x20});var _0x5c8249=_0x5c45aa[_0x34f3b(0x12d)]=_0x1325e5[_0x34f3b(0x22c)]({'init':function(_0x1e07a1){var _0x4c8a8d=_0x34f3b;this[_0x4c8a8d(0x29c)](_0x1e07a1);},'toString':function(_0x21b24a){var _0x5ca4af=_0x34f3b;return(_0x21b24a||this[_0x5ca4af(0x31e)])[_0x5ca4af(0x2ea)](this);}}),_0x366f13=_0x250d3a[_0x34f3b(0x13b)]={},_0xcfe87a=_0x366f13[_0x34f3b(0x26e)]={'stringify':function(_0x402231){var _0x23aecf=_0x34f3b,_0x53bf80,_0x2af473=_0x402231['ciphertext'],_0x2ebbe8=_0x402231[_0x23aecf(0x110)];return _0x2ebbe8?_0x53bf80=_0x514cec[_0x23aecf(0x21d)]([0x53616c74,0x65645f5f])[_0x23aecf(0x38c)](_0x2ebbe8)[_0x23aecf(0x38c)](_0x2af473):_0x53bf80=_0x2af473,_0x53bf80[_0x23aecf(0x274)](_0x349d73);},'parse':function(_0x50327f){var _0x3675d5=_0x34f3b,_0x57b7f1,_0x36ee7b=_0x349d73['parse'](_0x50327f),_0x3ae40c=_0x36ee7b[_0x3675d5(0x36f)];return _0x3ae40c[0x0]==0x53616c74&&_0x3ae40c[0x1]==0x65645f5f&&(_0x57b7f1=_0x514cec[_0x3675d5(0x21d)](_0x3ae40c[_0x3675d5(0x11d)](0x2,0x4)),_0x3ae40c[_0x3675d5(0x1b6)](0x0,0x4),_0x36ee7b[_0x3675d5(0x301)]-=0x10),_0x5c8249['create']({'ciphertext':_0x36ee7b,'salt':_0x57b7f1});}},_0x1c68be=_0x5c45aa[_0x34f3b(0x152)]=_0x1325e5['extend']({'cfg':_0x1325e5['extend']({'format':_0xcfe87a}),'encrypt':function(_0x5a478d,_0x3ebcd9,_0x6da803,_0x24b867){var _0x54a951=_0x34f3b;_0x24b867=this[_0x54a951(0x2af)][_0x54a951(0x22c)](_0x24b867);var _0xe57aa=_0x5a478d[_0x54a951(0x3d7)](_0x6da803,_0x24b867),_0x17a0a2=_0xe57aa[_0x54a951(0x1ae)](_0x3ebcd9),_0xc75ff=_0xe57aa[_0x54a951(0x2af)];return _0x5c8249['create']({'ciphertext':_0x17a0a2,'key':_0x6da803,'iv':_0xc75ff['iv'],'algorithm':_0x5a478d,'mode':_0xc75ff['mode'],'padding':_0xc75ff[_0x54a951(0x439)],'blockSize':_0x5a478d[_0x54a951(0x190)],'formatter':_0x24b867[_0x54a951(0x13b)]});},'decrypt':function(_0x4f0ca4,_0x35eea3,_0x305084,_0x1dc88c){var _0xcba13e=_0x34f3b;_0x1dc88c=this[_0xcba13e(0x2af)]['extend'](_0x1dc88c),_0x35eea3=this[_0xcba13e(0x19f)](_0x35eea3,_0x1dc88c[_0xcba13e(0x13b)]);var _0xc2fde1=_0x4f0ca4['createDecryptor'](_0x305084,_0x1dc88c)[_0xcba13e(0x1ae)](_0x35eea3[_0xcba13e(0x30d)]);return _0xc2fde1;},'_parse':function(_0x158b14,_0x404eaf){return typeof _0x158b14=='string'?_0x404eaf['parse'](_0x158b14,this):_0x158b14;}}),_0x225f80=_0x250d3a['kdf']={},_0xe0b6da=_0x225f80[_0x34f3b(0x26e)]={'execute':function(_0x10d467,_0x2379c9,_0x2a575b,_0x35fa7d,_0xd144c5){var _0x51ba8a=_0x34f3b;if(_0x35fa7d||(_0x35fa7d=_0x514cec[_0x51ba8a(0x31b)](0x40/0x8)),_0xd144c5)var _0x582074=_0x1d56cd['create']({'keySize':_0x2379c9+_0x2a575b,'hasher':_0xd144c5})[_0x51ba8a(0x2f1)](_0x10d467,_0x35fa7d);else var _0x582074=_0x1d56cd['create']({'keySize':_0x2379c9+_0x2a575b})['compute'](_0x10d467,_0x35fa7d);var _0x34c606=_0x514cec[_0x51ba8a(0x21d)](_0x582074['words'][_0x51ba8a(0x11d)](_0x2379c9),_0x2a575b*0x4);return _0x582074[_0x51ba8a(0x301)]=_0x2379c9*0x4,_0x5c8249[_0x51ba8a(0x21d)]({'key':_0x582074,'iv':_0x34c606,'salt':_0x35fa7d});}},_0x1fba95=_0x5c45aa[_0x34f3b(0x444)]=_0x1c68be[_0x34f3b(0x22c)]({'cfg':_0x1c68be[_0x34f3b(0x2af)]['extend']({'kdf':_0xe0b6da}),'encrypt':function(_0x15a1df,_0x34ae97,_0x6fac84,_0x5580ba){var _0xe9c37=_0x34f3b;_0x5580ba=this[_0xe9c37(0x2af)][_0xe9c37(0x22c)](_0x5580ba);var _0x4687aa=_0x5580ba['kdf'][_0xe9c37(0x195)](_0x6fac84,_0x15a1df[_0xe9c37(0x1b1)],_0x15a1df[_0xe9c37(0x467)],_0x5580ba['salt'],_0x5580ba[_0xe9c37(0x198)]);_0x5580ba['iv']=_0x4687aa['iv'];var _0x4ce513=_0x1c68be['encrypt']['call'](this,_0x15a1df,_0x34ae97,_0x4687aa[_0xe9c37(0xfa)],_0x5580ba);return _0x4ce513[_0xe9c37(0x29c)](_0x4687aa),_0x4ce513;},'decrypt':function(_0x566247,_0x6ad508,_0x1df50e,_0x3ff6e0){var _0xfe7e23=_0x34f3b;_0x3ff6e0=this[_0xfe7e23(0x2af)][_0xfe7e23(0x22c)](_0x3ff6e0),_0x6ad508=this['_parse'](_0x6ad508,_0x3ff6e0['format']);var _0x1e5134=_0x3ff6e0['kdf']['execute'](_0x1df50e,_0x566247[_0xfe7e23(0x1b1)],_0x566247['ivSize'],_0x6ad508[_0xfe7e23(0x110)],_0x3ff6e0[_0xfe7e23(0x198)]);_0x3ff6e0['iv']=_0x1e5134['iv'];var _0x2948b3=_0x1c68be[_0xfe7e23(0x10b)]['call'](this,_0x566247,_0x6ad508,_0x1e5134[_0xfe7e23(0xfa)],_0x3ff6e0);return _0x2948b3;}});}();}));}(Te)),Te[_0x94728d(0x285)];}var ki=fe['exports'],it;function Hi(){return it||(it=0x1,function(_0x268142,_0x248c8b){(function(_0x21ee78,_0x475050,_0xddaebd){var _0x45e5c5=_0x1769;_0x268142[_0x45e5c5(0x285)]=_0x475050(Q(),yt(),Ui(),Nt(),Dt());}(ki,function(_0x55c2d9){var _0x4b8d0c=_0x1769;return(function(){var _0x452ea0=_0x1769,_0x493421=_0x55c2d9,_0x37c07f=_0x493421[_0x452ea0(0x465)],_0x5a89da=_0x37c07f[_0x452ea0(0x3b3)],_0x564a05=_0x493421[_0x452ea0(0x2b5)],_0x28abc6=[],_0x114064=[],_0x5c0581=[],_0x17844c=[],_0x2f53e7=[],_0xd0f0bd=[],_0x50313d=[],_0x32a2f4=[],_0x11ee7e=[],_0x3c1320=[];(function(){for(var _0x52646e=[],_0x167e95=0x0;_0x167e95<0x100;_0x167e95++)_0x167e95<0x80?_0x52646e[_0x167e95]=_0x167e95<<0x1:_0x52646e[_0x167e95]=_0x167e95<<0x1^0x11b;for(var _0xbcc32=0x0,_0xccaa74=0x0,_0x167e95=0x0;_0x167e95<0x100;_0x167e95++){var _0x264f56=_0xccaa74^_0xccaa74<<0x1^_0xccaa74<<0x2^_0xccaa74<<0x3^_0xccaa74<<0x4;_0x264f56=_0x264f56>>>0x8^_0x264f56&0xff^0x63,_0x28abc6[_0xbcc32]=_0x264f56,_0x114064[_0x264f56]=_0xbcc32;var _0x4ee096=_0x52646e[_0xbcc32],_0x3dce90=_0x52646e[_0x4ee096],_0x2b6cb1=_0x52646e[_0x3dce90],_0x1940f3=_0x52646e[_0x264f56]*0x101^_0x264f56*0x1010100;_0x5c0581[_0xbcc32]=_0x1940f3<<0x18|_0x1940f3>>>0x8,_0x17844c[_0xbcc32]=_0x1940f3<<0x10|_0x1940f3>>>0x10,_0x2f53e7[_0xbcc32]=_0x1940f3<<0x8|_0x1940f3>>>0x18,_0xd0f0bd[_0xbcc32]=_0x1940f3;var _0x1940f3=_0x2b6cb1*0x1010101^_0x3dce90*0x10001^_0x4ee096*0x101^_0xbcc32*0x1010100;_0x50313d[_0x264f56]=_0x1940f3<<0x18|_0x1940f3>>>0x8,_0x32a2f4[_0x264f56]=_0x1940f3<<0x10|_0x1940f3>>>0x10,_0x11ee7e[_0x264f56]=_0x1940f3<<0x8|_0x1940f3>>>0x18,_0x3c1320[_0x264f56]=_0x1940f3,_0xbcc32?(_0xbcc32=_0x4ee096^_0x52646e[_0x52646e[_0x52646e[_0x2b6cb1^_0x4ee096]]],_0xccaa74^=_0x52646e[_0x52646e[_0xccaa74]]):_0xbcc32=_0xccaa74=0x1;}}());var _0x14ff84=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x99b3c0=_0x564a05[_0x452ea0(0x3c3)]=_0x5a89da[_0x452ea0(0x22c)]({'_doReset':function(){var _0x294c81=_0x452ea0,_0x1dfbfa;if(!(this[_0x294c81(0xfc)]&&this[_0x294c81(0x3e5)]===this[_0x294c81(0x14e)])){for(var _0x46d5fe=this[_0x294c81(0x3e5)]=this[_0x294c81(0x14e)],_0x1bb0ff=_0x46d5fe[_0x294c81(0x36f)],_0x50ec02=_0x46d5fe['sigBytes']/0x4,_0x566958=this[_0x294c81(0xfc)]=_0x50ec02+0x6,_0x40f90d=(_0x566958+0x1)*0x4,_0x303c3a=this[_0x294c81(0x1b3)]=[],_0x34e5b2=0x0;_0x34e5b2<_0x40f90d;_0x34e5b2++)_0x34e5b2<_0x50ec02?_0x303c3a[_0x34e5b2]=_0x1bb0ff[_0x34e5b2]:(_0x1dfbfa=_0x303c3a[_0x34e5b2-0x1],_0x34e5b2%_0x50ec02?_0x50ec02>0x6&&_0x34e5b2%_0x50ec02==0x4&&(_0x1dfbfa=_0x28abc6[_0x1dfbfa>>>0x18]<<0x18|_0x28abc6[_0x1dfbfa>>>0x10&0xff]<<0x10|_0x28abc6[_0x1dfbfa>>>0x8&0xff]<<0x8|_0x28abc6[_0x1dfbfa&0xff]):(_0x1dfbfa=_0x1dfbfa<<0x8|_0x1dfbfa>>>0x18,_0x1dfbfa=_0x28abc6[_0x1dfbfa>>>0x18]<<0x18|_0x28abc6[_0x1dfbfa>>>0x10&0xff]<<0x10|_0x28abc6[_0x1dfbfa>>>0x8&0xff]<<0x8|_0x28abc6[_0x1dfbfa&0xff],_0x1dfbfa^=_0x14ff84[_0x34e5b2/_0x50ec02|0x0]<<0x18),_0x303c3a[_0x34e5b2]=_0x303c3a[_0x34e5b2-_0x50ec02]^_0x1dfbfa);for(var _0x3d54e2=this[_0x294c81(0xff)]=[],_0x59dc7b=0x0;_0x59dc7b<_0x40f90d;_0x59dc7b++){var _0x34e5b2=_0x40f90d-_0x59dc7b;if(_0x59dc7b%0x4)var _0x1dfbfa=_0x303c3a[_0x34e5b2];else var _0x1dfbfa=_0x303c3a[_0x34e5b2-0x4];_0x59dc7b<0x4||_0x34e5b2<=0x4?_0x3d54e2[_0x59dc7b]=_0x1dfbfa:_0x3d54e2[_0x59dc7b]=_0x50313d[_0x28abc6[_0x1dfbfa>>>0x18]]^_0x32a2f4[_0x28abc6[_0x1dfbfa>>>0x10&0xff]]^_0x11ee7e[_0x28abc6[_0x1dfbfa>>>0x8&0xff]]^_0x3c1320[_0x28abc6[_0x1dfbfa&0xff]];}}},'encryptBlock':function(_0x398233,_0x5d82ac){var _0x2d5464=_0x452ea0;this[_0x2d5464(0x144)](_0x398233,_0x5d82ac,this[_0x2d5464(0x1b3)],_0x5c0581,_0x17844c,_0x2f53e7,_0xd0f0bd,_0x28abc6);},'decryptBlock':function(_0x4c11d1,_0x3a6f61){var _0x535c4b=_0x4c11d1[_0x3a6f61+0x1];_0x4c11d1[_0x3a6f61+0x1]=_0x4c11d1[_0x3a6f61+0x3],_0x4c11d1[_0x3a6f61+0x3]=_0x535c4b,this['_doCryptBlock'](_0x4c11d1,_0x3a6f61,this['_invKeySchedule'],_0x50313d,_0x32a2f4,_0x11ee7e,_0x3c1320,_0x114064);var _0x535c4b=_0x4c11d1[_0x3a6f61+0x1];_0x4c11d1[_0x3a6f61+0x1]=_0x4c11d1[_0x3a6f61+0x3],_0x4c11d1[_0x3a6f61+0x3]=_0x535c4b;},'_doCryptBlock':function(_0x4b4781,_0x47ef5a,_0x1d60a8,_0x23603c,_0x1946dc,_0x251a11,_0x46d1c5,_0xdd6795){var _0x35ce2b=_0x452ea0;for(var _0x396962=this[_0x35ce2b(0xfc)],_0x5a6bc3=_0x4b4781[_0x47ef5a]^_0x1d60a8[0x0],_0x5ba848=_0x4b4781[_0x47ef5a+0x1]^_0x1d60a8[0x1],_0x13b69c=_0x4b4781[_0x47ef5a+0x2]^_0x1d60a8[0x2],_0x130e6c=_0x4b4781[_0x47ef5a+0x3]^_0x1d60a8[0x3],_0x2a1b3b=0x4,_0xba1762=0x1;_0xba1762<_0x396962;_0xba1762++){var _0x154663=_0x23603c[_0x5a6bc3>>>0x18]^_0x1946dc[_0x5ba848>>>0x10&0xff]^_0x251a11[_0x13b69c>>>0x8&0xff]^_0x46d1c5[_0x130e6c&0xff]^_0x1d60a8[_0x2a1b3b++],_0x34045a=_0x23603c[_0x5ba848>>>0x18]^_0x1946dc[_0x13b69c>>>0x10&0xff]^_0x251a11[_0x130e6c>>>0x8&0xff]^_0x46d1c5[_0x5a6bc3&0xff]^_0x1d60a8[_0x2a1b3b++],_0x5dccc7=_0x23603c[_0x13b69c>>>0x18]^_0x1946dc[_0x130e6c>>>0x10&0xff]^_0x251a11[_0x5a6bc3>>>0x8&0xff]^_0x46d1c5[_0x5ba848&0xff]^_0x1d60a8[_0x2a1b3b++],_0x293e80=_0x23603c[_0x130e6c>>>0x18]^_0x1946dc[_0x5a6bc3>>>0x10&0xff]^_0x251a11[_0x5ba848>>>0x8&0xff]^_0x46d1c5[_0x13b69c&0xff]^_0x1d60a8[_0x2a1b3b++];_0x5a6bc3=_0x154663,_0x5ba848=_0x34045a,_0x13b69c=_0x5dccc7,_0x130e6c=_0x293e80;}var _0x154663=(_0xdd6795[_0x5a6bc3>>>0x18]<<0x18|_0xdd6795[_0x5ba848>>>0x10&0xff]<<0x10|_0xdd6795[_0x13b69c>>>0x8&0xff]<<0x8|_0xdd6795[_0x130e6c&0xff])^_0x1d60a8[_0x2a1b3b++],_0x34045a=(_0xdd6795[_0x5ba848>>>0x18]<<0x18|_0xdd6795[_0x13b69c>>>0x10&0xff]<<0x10|_0xdd6795[_0x130e6c>>>0x8&0xff]<<0x8|_0xdd6795[_0x5a6bc3&0xff])^_0x1d60a8[_0x2a1b3b++],_0x5dccc7=(_0xdd6795[_0x13b69c>>>0x18]<<0x18|_0xdd6795[_0x130e6c>>>0x10&0xff]<<0x10|_0xdd6795[_0x5a6bc3>>>0x8&0xff]<<0x8|_0xdd6795[_0x5ba848&0xff])^_0x1d60a8[_0x2a1b3b++],_0x293e80=(_0xdd6795[_0x130e6c>>>0x18]<<0x18|_0xdd6795[_0x5a6bc3>>>0x10&0xff]<<0x10|_0xdd6795[_0x5ba848>>>0x8&0xff]<<0x8|_0xdd6795[_0x13b69c&0xff])^_0x1d60a8[_0x2a1b3b++];_0x4b4781[_0x47ef5a]=_0x154663,_0x4b4781[_0x47ef5a+0x1]=_0x34045a,_0x4b4781[_0x47ef5a+0x2]=_0x5dccc7,_0x4b4781[_0x47ef5a+0x3]=_0x293e80;},'keySize':0x100/0x20});_0x493421[_0x452ea0(0x3c3)]=_0x5a89da[_0x452ea0(0x2e9)](_0x99b3c0);}()),_0x55c2d9[_0x4b8d0c(0x3c3)];}));}(fe)),fe['exports'];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x31391e(0x285)],rt;function Vi(){var _0x2b442f=_0x31391e;return rt||(rt=0x1,function(_0x32901e,_0x24fb2b){(function(_0x125233,_0x4813ed){var _0x5f11e7=_0x1769;_0x32901e[_0x5f11e7(0x285)]=_0x4813ed(Q());}(Fi,function(_0x2df0dc){var _0x869036=_0x1769;return _0x2df0dc[_0x869036(0x442)][_0x869036(0x267)];}));}(be)),be[_0x2b442f(0x285)];}var Wi=Vi();const Yi=ve(Wi);var Re={'exports':{}},Gi=Re[_0x31391e(0x285)],st;function Ki(){var _0x37fbbd=_0x31391e;return st||(st=0x1,function(_0x383423,_0x413357){(function(_0xb5a29f,_0x540f61){var _0xd1eeda=_0x1769;_0x383423[_0xd1eeda(0x285)]=_0x540f61(Q());}(Gi,function(_0x2dc976){var _0x408151=_0x1769;return(function(){var _0x12650b=_0x1769;if(typeof ArrayBuffer==_0x12650b(0x477)){var _0x315c3b=_0x2dc976,_0x263122=_0x315c3b[_0x12650b(0x465)],_0x475d90=_0x263122[_0x12650b(0x1c1)],_0x321b17=_0x475d90[_0x12650b(0x443)],_0x3b20eb=_0x475d90[_0x12650b(0x443)]=function(_0x340ef1){var _0x177466=_0x12650b;if(_0x340ef1 instanceof ArrayBuffer&&(_0x340ef1=new Uint8Array(_0x340ef1)),(_0x340ef1 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x340ef1 instanceof Uint8ClampedArray||_0x340ef1 instanceof Int16Array||_0x340ef1 instanceof Uint16Array||_0x340ef1 instanceof Int32Array||_0x340ef1 instanceof Uint32Array||_0x340ef1 instanceof Float32Array||_0x340ef1 instanceof Float64Array)&&(_0x340ef1=new Uint8Array(_0x340ef1[_0x177466(0x173)],_0x340ef1['byteOffset'],_0x340ef1[_0x177466(0x189)])),_0x340ef1 instanceof Uint8Array){for(var _0x2c50e3=_0x340ef1[_0x177466(0x189)],_0x32c3c1=[],_0x97ec47=0x0;_0x97ec47<_0x2c50e3;_0x97ec47++)_0x32c3c1[_0x97ec47>>>0x2]|=_0x340ef1[_0x97ec47]<<0x18-_0x97ec47%0x4*0x8;_0x321b17[_0x177466(0x142)](this,_0x32c3c1,_0x2c50e3);}else _0x321b17[_0x177466(0x1cf)](this,arguments);};_0x3b20eb['prototype']=_0x475d90;}}()),_0x2dc976[_0x408151(0x465)][_0x408151(0x1c1)];}));}(Re)),Re[_0x37fbbd(0x285)];}var qi=Ki();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x31391e(0x285)],ot;function Xi(){var _0x3e5bc4=_0x31391e;return ot||(ot=0x1,function(_0x464e51,_0xa06aed){(function(_0x2a58b2,_0x36c02c,_0x4da1dc){var _0xb8bfc9=_0x1769;_0x464e51[_0xb8bfc9(0x285)]=_0x36c02c(Q(),Dt());}(Ji,function(_0x55c409){var _0x3ae6a1=_0x1769;return _0x55c409[_0x3ae6a1(0x211)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x55c409['pad'][_0x3ae6a1(0x312)];}));}(Oe)),Oe[_0x3e5bc4(0x285)];}var Zi=Xi();function _0x1af3(){var _0x192afb=['_syncEditingCollabCursor','Base','delete','_initUnitPermissionChange','unitId\x20is\x20not\x20found','_transformService','roomInfos','[DataLoaderService]','push','clone','_sendHeartbeatTimer','putCollaborators','image/jpeg','addHandlerCallback','BASE64','add','_tryReconnect','CollaborationEvent','getTypeOfUnitDisposed$','_sessionStatus$','default','RETRY_CONNECTING_MAX_COUNT','parse','set','FetchingMissState','fromCollab','getFocusedUnit','SUCCUSS','concatMap','_entities','StreamCipher','\x0aCurrent:\x20','collaboration_new_changeset','ONLINE','BlockCipher','_collaborationPaused','APPLY_DUPLICATED','responseType','unsubscribe','/object','_collaborationSessionService','HttpImport','_localeService','NOT_FOUND','UPDATE_CURSOR','_getSignURL','reduce','CollaborationSessionService','_state','MentionType','AES','AwaitingWithPendingState','liveShareNewHost','_queuedRemoteChangesets','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','&to=','FAIL','_socket','readAsDataURL','_telemetryInfo','UNIVER_SLIDE','_transitionLocked','name','withCredentials','getWorkbookSelections','EmptyMutation','YUUMI_URL_COL_OUT_OF_RANGE','prototype','SOCKET_FAILED','/universer-api/uniscript','createEncryptor','Cipher','collaMsg','baseRev','SheetTransformSelectionsService','LICENSE_EXPORT_SIZE_EXCEEDED','permissionRejEvent','sendChangesetTimeout','ENSURE_SNAPSHOT_EXECUTION','updateSnapshot','getRandomValues','_status$','offline','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_keyPriorReset','[OfflineState]:\x20received\x20acknowledgement.','_roomMembers','localeService','action','PY_RUNTIME_SCRIPT_ERROR','_iKey','_ENC_XFORM_MODE','disposeWithMe','getCurrentRevOfUnit','_onUserLeave','Inject','find','JOIN_ROOM_FULL','_onRemoteRejected','list','CommandType','connection\x20error','pauseCollaboration','INVALID_ARGUMENT','requireSession','_applyRemoteChangeset','Module','isPermissionRej','onlyLocal','FETCH_MISSING','status','capture','listRoles','clamp','catch','socket$','_handler','_retryCount','_commentService','USER_NOT_INVITED_CODE','IPermissionService','SOCKET_FAILED_RETRY','CollaborationUIEventService','_clearScheduledTask','SUBMIT_CHANGESET','changesets','actions','textRanges','getConfig','onTransformRemoteChangesetByIMECache','CONNECTOR_DATA_TOO_LARGE','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_append','getMemberID','image/bmp','_clearRetryConnectingTimer','_onRemoteRetry','?url=','_hasher','BehaviorSubject','CHANGESET_ACK','Plugin','getSheetBlock','__creator','_commentUpdate$','unitId','error$','transformStack\x20failed!','ICommandService','_getLoginPath','_snapshotServerService','_onMessage','reset','b64DecodeUnicode','EMAIL_HAS_BEEN_BOUND','uploadFileServerUrl','put','symbol','_initDependencies','SNAPSHOT_INVALID_SNAPSHOT','CollaborationController','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','DEFAULT_WS_SESSION_TICKET_URL','_createHmacHelper','@univerjs/core','repeat','NO_OTHER_CLIENTS_EDITING','NEW_CHANGESETS','padding','[OfflineState]:\x20received\x20rejection.','LOCAL_CACHE_INTERVAL_KEY','PERSON','objectID','_mode','INGEST','abs','_iv','enc','init','PasswordBasedCipher','_nDataBytes','memberID','randomBytes','authzUrl','mutations','UserProfileImg','rxjs/operators','_doFinalize','Hex','_toggleOffline','objectActions','fetchThroughInterceptors','_disableEditing','$super','defineProperty','_type','PendingState','socket\x20close','360378GRcKJG','mode','registerDependencies','_getCurrentRevision','unitInfo$','appendMutation','_scheduleCompleteTimestamp','_socketMessageSubscription','UNISCRIPT_RUN','LIVESHARE_TERMINATE','UUID','COMPRESS_MUTATION_APPLY','_incrementRevisionNumber','&source=','lib','waitForRoom$','ivSize','_transformStack','fetchMissingChangesets','JOIN_ROOM_PERMISSION_DENIED','_clearRedo','enableOfflineEditing','generateRandomId','AuthzIoHttpService','LICENSE_DISTRO_REJECTED','reject','COMPRESS_MUTATION_SEND','_data','_permissionService','IConfigService','UnitStatus','min','function','awaiting','collabSubmitChangesetUrl','LIVESHARE_REQUEST_HOST','DisposableCollection','session','body','getValue','Error\x20on\x20receiving\x20event','LIVESHARE_FETCH_OPERATIONS','YUUMI_NO_CUBOID_FOR_QUESTION','key','Base64','_nRounds','_transformSelections','_getAPIPrefixPath','_invKeySchedule','COMMENT_UPDATE','_event$','transformUndoRedo','updatePermissionPoint','sid','SNAPSHOT_HAS_BEEN_REMOVED','_sessions','allowed','_resendTimeout','_initCloseConn','getCollabEntity','decrypt','Hasher','localCacheService','_logService','conflict','salt','RichTextEditingMutation','location','_lockTransition','synced','COMPLETION_FINISHED','\x20-\x20','then','DEFAULT_FILE_NAME','dispose$','transformSelections','requestParams','saveChangeset','slice','People','UNDEFINED','LEAVE','createCollaborator','_init','&assign=','onRemoteRej','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','indexOf','\x20in\x20_schedule.','string','title','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','map','_networkConditionService','CipherParams','ceil','[SyncedState]:\x20received\x20rejection.','ImageSourceType','_isPermissionRej','_telemetryService','_transformStateCache','APPLY_PERMISSION_DENIED','closeSession','YUUMI_RATE_OVER_LIMIT','UNIVER_PROJECT','fetchMiss','SheetsSelectionsService','HMAC','format','update','[PendingState]:\x20unhandled\x20univer\x20type:\x20','/universer-api/oidc/authpage','fetch_missing','getActiveSheet','_config','call','_revisionService','_doCryptBlock','ISingleActiveUnitService','_getSendChangesetTimeout','DataLoaderService','reqId','CONFLICT','executeCommand','_transformUndoredo','_hash','BufferedBlockAlgorithm','_key','unknown','APPLY_REJECT','10358220VcDVWI','SerializableCipher','createInstance','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_replaceFileID','online$','toggleOnline','_clearCollaborationTimeoutTimer','UnitSnapshot','encodeURIComponent','c2Prime','CLOSE_ROOM','CHANGESET_REVISION_CONFILICT','transformChangesets','m2Prime','_reverseMap','SUBMIT_CHANGESET_TIMEOUT','_socketService','ImageUploadStatusType','_members','/fetchmissing?from=','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','univer-pro.collaboration-client.network-condition.service','/allowed','_startTelemetryCollaborationNewChangeset','onLocalMutation','newCsEvent','updatePermissionObjEvent','COLLAB_WEB_SOCKET_URL_KEY','next','getCurrentUser','registerHTTPInterceptor','csAckEvent','updateCollaborator','buffer','_removeRoom','YUUMI_SUBSCRIPTION_NOT_FOUND','_candidateSocket','socket\x20open.','[PendingState]:\x20received\x20rejection.','JOIN','_retryConnectingTimer','toggleOffline','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','decryptBlock','sessionStatus','filter','TOO_MANY_REQUESTS','join','replace','copyFileMeta','transformMutationsWithChangeset','unitID','loadUnit','_updateState','_getAPIPrefix','byteLength','/object/','result','_oKey','_acknowledgedAwaitingChangeset','ALREADY_EXISTS','enableCollaboration','blockSize','UNIVER_COLLABORATION_CLIENT_PLUGIN','UniverNetworkPlugin','takeUntil','PERMISSION_REJ','execute','[CollaborationSession]','values','hasher','CollaborationImageIoService','_changesetReqId','revision','SHA1','getGlobalObject','_tryEnsureSocket','_parse','__Key__','state$','status$','OTHER_CLIENTS_EDITING','_injector','UNIVER_SHEET','IDLE','6fVOuXd','_shouldReportTelemetry','MD5','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','getResourcesRequest','[UniverCollaborationClientPlugin]','awaiting_with_pending','finalize','_prevBlock','isInternalEditorID','keySize','HEARTBEAT_TIMEOUT_KEY','_keySchedule','override','_stopTelemetryCollaborationNewChangeset','splice','onTransformState','origin','RECV','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','/-/object/-/batch_allowed','APPLY_REVISION_CONFILICT','getImageSourceCache','HEARTBEAT','_socketReady','JOIN_ROOM_NOT_EXISTS','WordArray','csRejEvent','eventID','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','params','UNKNOWN_CMD','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','LocalUndoRedoService','Quantity','getUnitType','onRemoteChangeset','now','code','saveSnapshot','apply','crypto','getOwnPropertyDescriptor','_entityInit$','_toggleOnline','/role','_initMergeInterceptor','onTransformIME','_changesetSessionId','ERROR_IMAGE_TYPE','rxjs','CollaborationSession','mergeOverrideWithDependencies','/block/','@univerjs/telemetry','CHANGESET_SHOULD_RETRY','LOGIN_FAILED','href','_fetchMissChangesets','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','isTransformChangesetsSuccess','getSnapshotAPIPath','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','pending','shouldCloseConn','awaitingChangeset','_httpService','getUnitId','listCollaborators','event$','getRoom','enableSingleActiveInstanceLock','message$','_schedule','charAt','ERROR_IMAGE','COLLAB_SUBMIT_CHANGESET_URL_KEY','NOT_COLLAB','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','merge','floor','hasOwnProperty','send','ReplaySubject','members$','SEND_CHANGESET_TIMEOUT','joinRsp','LocaleService','url','SheetPermissionInitController','commentUpdateEvent','UnitEmbedded','liveShareOperation','MentionIoHttpService','[CollaborationSessionService]','x-univer-host','_replayCachedMutations','_snapshotService','encryptBlock','JOIN_ROOM_FAILED','_compressMutationService','[CollaborationEntity]','/universer-api/file/{fileID}/sign-url','objectType','_clearUndo','IUndoRedoService','pad','ConflictState','HELLO','/universer-api/comb','_onRemoteACK','_DEC_XFORM_MODE','signUrlServerUrl','_resendWithTimeout','error','APPLY_NON_SEQUENTIAL_REVISION','snapshot','UniverInstanceType','create','not_collab','9gaJQPt','complete','OTHER_CLIENT_EDITING','_timeoutTimer','deserializeToCombResponse','method','unit-cache-','377998DsUgQD','USERS_LEAVE','Encryptor','_pendingMutations','getAllMembers','\x20to\x20','extend','retryConnectingInterval','_state$','HEARTBEAT_INTERVAL_KEY','_clearLocalCache','_members$','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_singleActiveUnitService','onCommentUpdate','every','getUnitOnRev','16AFewzt','initWorkbookPermissionChange','/collaborator','PERMISSION_DENIED','pipe','state','_showConflictNotification','_onFetchMissResult','mapDocumentTypeToUniverType','collabWebSocketUrl','getTypeOfUnitAdded$','_emitMembers','batchAllowed','get','updateCursorEvent','_awaitingChangeset','_throwTelemetryCollaborationNewChangeset','Malformed\x20UTF-8\x20data','_HTTPService','parseProtocolChangeset','INVALID_INVITE_CODE','session.room-not-exists','RevisionService','UPDATE_PERMISSION_OBJ','WECHAT_HAS_BEEN_BOUND','/universer-api/authz','/universer-api/snapshot/','asObservable','touchDependencies','PENDING','?size=','_updateStatus','UNAUTHENTICATED','dispose','_createHandler','MemberService','originalMeta','sequenceExecute','members','_startCollaboration','SetSelectionsOperation','INVITE_CODE_REQUIRED','parseChangesetToProtocol','_getRedoStack','loadSheet','_sendingTimer','_listenToNetworkCondition','SnapshotServerOverHTTPService','Utf8','append','stopTime','univer-pro.collaboration-client-socket-service','BlockCipherMode','socketService','MOBILE_HAS_BEEN_BOUND','OpenSSL','has','_undoStacks','subject','GLOBAL_ROOMS_CNT_EXCEEDS','CollaborationSocketService','toString','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','IMentionIOService','focused$','_executeRemoteChangeset','_socket$','_clearTimeoutTimer','range','Undefined','IAuthzIoService','loadDoc','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','onTransformRemoteChangesetByStateCache','Injector','_onUserJoin','charCodeAt','sin','exports','_sender','CollaborativeUndoRedoService','loadUnitOfRevision','[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.','AUTHZ_URL_KEY','HTTPService','size','RETRY_CONNECTING_MAX_COUNT_KEY','msCrypto','_onConnectionFailed','Tools','hostname','_waitCount','take','confirm','isTransformMutationsWithChangesetSuccess','HEARTBEAT_TIMEOUT','headers','setShowComponents','saveSheetBlock','toStringTag','_univerInstanceService','mixIn','deleteCollaborator','failed\x20to\x20apply\x20missed\x20changesets!','HTTPRequest','INetworkConditionService','_change$','loginUrlKey','_collabSessionService','_map','[CollaborationUndoRedoService]','collaboratorID','RxDisposable','_configService','_remoteChangesetQueue','file','765385JNyJuw','resolve','IUniverInstanceService','collaborators','cfg','_transformRemoteChangesetByStateCache','ICollaborationSocketService','2ZRhMfn','ITransformService','_unlockTransition','algo','_onLocalMutation','onTransformSelections','getLatestCsReqIdBySid','type','CHANGESET_REJ','updateMember','ISnapshotServerService','selections','_collaborationUIEventService','LIVESHARE_OPERATION','Disposable','55vVgtoW','telemetry\x20info\x20is\x20not\x20initialized','patch','_onConnectionOpen','Optional','onRemoteRetry','equals','src','YUUMI_CONNECTOR_URL_NOT_FOUND','onMissedChangesetFetched','DocCollaborationEntity','length','csShouldRetryEvent','SYNCED','_resendTimer','readyForCollab','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','userID','Pkcs7','ILogService','reconnect','fromCharCode','textEncoder','workbook','_scheduleCollaborationTimeoutTimer','startTime','UNRECOGNIZED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SEND_CHANGESET_TIMEOUT_KEY','_onJoinRoomEvent','iterations','open$','image/gif','LICENSE_IMPORT_SIZE_EXCEEDED','getCollabEntity$','data','editingUnit','_createInitialState','YUUMI_AI_RUN_FAILED','loadOfflineData','_createHelper','stringify','cmd','_doCreateSocket','encrypt','clear','LOCAL_CACHE_INTERVAL','FileId','compute','_getUndoStack','addImageSourceCache','post','@univerjs-pro/collaboration','_collaborationTimeoutTimer','collaboration-client.config','_eventService','incrementRevOfUnit','_sendHeartbeat','createIdentifier','_initRequestHeader','_commandService','onSyncEditingCollabCursor','MergeInterceptorFactory','_onRemoteChangeset','sigBytes','UNIVER_DOC','_sheetTransformSelectionsService','interceptor','/unit/','_getDownloadEndpointURL','OFFLINE','encode','_localCacheService','_doReset','_handlerCallback','entityInit$','ciphertext','infoRsp','Rectangle','onRemoteAck','_xformMode','NoPadding','getMember','_unitInfo$','Failed\x20to\x20update\x20permission\x20point','_process','/universer-api/stream/file/upload','INVITE_CODE_HAS_BEEN_UES','COLLAB_SUBMIT_CHANGESET_URL','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','random','_onConflict','univer-pro.collaboration-client.single-active-unit-service','formatter','_clearHeartbeatTimer','compose','_joinRoom','CollaborationEntity','_exhaustRemoteChangesetQueue','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_substituteUndoStack','YUUMI_UNABLE_LOAD_URL','_rescheduleHeartbeat','PSEUDO_FETCH_MISSING_RESULT','onSendChangeset','_roomCreated$','_submitChangeset','toDisposable','AwaitingState','_doProcessBlock','collaboration-client.local-cache-service','SessionStatus','SnapshotService','saveImage','fetching\x20missing\x20changesets\x20from\x20','1432487MTwxWT','CollaborationUIEventId','CompressMutationService','WorkbookEditablePermission','[FetchMissState]','JSONX','SNAPSHOT_URL_KEY','_createInitialStateImpl','getImage','_updateLocalCache','_imageSourceCache','_checkMissing','createDecryptor','LOGIN_URL_KEY','EMAIL_VERIFY_CODE_MISMATCH','Decryptor','_instanceService','/rev/','ILocalCacheService','auth.needGotoLoginAlert','_userManagerService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','AWAITING','LIVESHARE_NEW_HOST','subUnitId','_memberService','HEARTBEAT_INTERVAL','_getCtorByUniverType','image/jpg','UniverCollaborationClientPlugin','emitEvent','delay','_getUploadFileURL','SNAPSHOT_SERVER_URL_KEY','/universer-api/user/session-ticket','disableLocalCache','getDeserializedSheetBlock','_onOffline','_createSocket','_transformIMECache','serializeCombRequest','max','_cipher','close','_unitID','Subject','OfflineState','sessionStatus$','_substituteRedoStack','resend','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','duration','YUUMI_ASYNCIO_CANCELLED','subscribe','isArray','routeKey','JOINING','EvpKDF','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','words','snapshotServerUrl','save\x20fail\x20reason\x20is\x20','CommentService','getTime','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','MOBILE_VERIFY_CODE_MISMATCH','_waitForHeartbeatResponse','524456IBbgif','[CollaborationState]:\x20apply\x20error!','uuidv4','POST','_onCombEvent','USERS_ENTER','SHOULD_CLOSE_CONN','[SyncedState]:\x20received\x20acknowledgement.','MUTATION','sheets','forEach','_undoRedoService','122510VCFfJT','_decreaseWaiting','getInterceptPoints','SyncedState','removeMember','/-/object/list','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','c1Prime','SheetCollaborationEntity','concat','debug','from','setCurrentUser','Workbook'];_0x1af3=function(){return _0x192afb;};return _0x1af3();}const Qi=ve(Zi);function en(_0x2c3599,_0xb889ba){var _0x122eb6=_0x31391e;const _0xb1595d=_0xb889ba-_0x2c3599[_0x122eb6(0x2cc)]%_0xb889ba,_0x334598=String['fromCharCode'](_0xb1595d)[_0x122eb6(0x436)](_0xb1595d);return _0x2c3599+_0x334598;}function tn(_0x3f463d,_0x3a78a5){var _0x2e060c=_0x31391e;const _0x50659d=zi[_0x2e060c(0x31b)](0x10),_0x2dbe0c=en(_0x3f463d,0x10),_0x3b096f=ji['encrypt'](Yi[_0x2e060c(0x3a7)](_0x2dbe0c),nt['parse'](_0x3a78a5),{'iv':_0x50659d,'padding':Qi});return _0x50659d[_0x2e060c(0x38c)](_0x3b096f[_0x2e060c(0x30d)])['toString'](nt);}function nn(){var _0x1ccaf1=_0x31391e;const _0x468cd4=Lt[_0x1ccaf1(0x19d)]()[_0x1ccaf1(0x1a0)];if(_0x468cd4){const _0x2e60a5={'time':Math[_0x1ccaf1(0x1f7)](Date[_0x1ccaf1(0x1cc)]()/0x3e8),'domain':location[_0x1ccaf1(0x291)]};return tn(JSON[_0x1ccaf1(0x2ea)](_0x2e60a5),_0x468cd4);}}var rn=Object[_0x31391e(0x1d1)],sn=(_0x1872d9,_0x500523,_0x1946dd,_0x325a6d)=>{var _0x54680d=_0x31391e;for(var _0x74de38=_0x325a6d>0x1?void 0x0:_0x325a6d?rn(_0x500523,_0x1946dd):_0x500523,_0x6fc439=_0x1872d9[_0x54680d(0x2cc)]-0x1,_0x3dda90;_0x6fc439>=0x0;_0x6fc439--)(_0x3dda90=_0x1872d9[_0x6fc439])&&(_0x74de38=_0x3dda90(_0x74de38)||_0x74de38);return _0x74de38;},on=(_0x543d97,_0x562aaf)=>(_0x22a074,_0x158cf1)=>_0x562aaf(_0x22a074,_0x158cf1,_0x543d97);let Ne=class{constructor(_0x350b99){var _0x4db614=_0x31391e;this[_0x4db614(0x1e9)]=_0x350b99,this[_0x4db614(0x2fc)]();}[_0x31391e(0x2fc)](){var _0x5c7ef0=_0x31391e;this[_0x5c7ef0(0x1e9)][_0x5c7ef0(0x170)]({'interceptor':(_0x1b3e37,_0x3c3d6e)=>{var _0x5d8fac=_0x5c7ef0;const _0x5c3a36=_0x1b3e37[_0x5d8fac(0x297)],_0x514bc4=nn();return _0x514bc4&&_0x5c3a36['set'](_0x5d8fac(0x206),_0x514bc4),_0x3c3d6e(_0x1b3e37);}});}};Ne=sn([on(0x0,a[_0x31391e(0x3f0)](K[_0x31391e(0x28b)]))],Ne);var an=Object[_0x31391e(0x1d1)],cn=(_0x503637,_0x505c98,_0x556744,_0x1a3054)=>{var _0x44968d=_0x31391e;for(var _0xec103d=_0x1a3054>0x1?void 0x0:_0x1a3054?an(_0x505c98,_0x556744):_0x505c98,_0x14216a=_0x503637[_0x44968d(0x2cc)]-0x1,_0x2f1a2b;_0x14216a>=0x0;_0x14216a--)(_0x2f1a2b=_0x503637[_0x14216a])&&(_0xec103d=_0x2f1a2b(_0xec103d)||_0xec103d);return _0xec103d;},Le=(_0x2338ef,_0x1f5786)=>(_0xa3152,_0x27ab72)=>_0x1f5786(_0xa3152,_0x27ab72,_0x2338ef);exports[_0x31391e(0x147)]=class extends a[_0x31391e(0x2a7)]{constructor(_0x3e689b,_0x30fb8b,_0x7cadf6){var _0x3eb51b=_0x31391e;super(),A(this,_0x3eb51b(0x314),new $[(_0x3eb51b(0x41c))](null)),A(this,_0x3eb51b(0x45b),this[_0x3eb51b(0x314)]['asObservable']()),(this['_logService']=_0x3e689b,this[_0x3eb51b(0x208)]=_0x30fb8b,this[_0x3eb51b(0x309)]=_0x7cadf6);}async[_0x31391e(0x288)](_0x29d416,_0x4e0080,_0x41e37f){var _0x4a72d8=_0x31391e;this[_0x4a72d8(0x314)]['next']({'unitId':_0x29d416,'type':_0x4e0080});let _0x22d65b=null;switch(_0x4e0080){case J['UNIVER_SHEET']:{_0x22d65b=await this['_snapshotService'][_0x4a72d8(0x263)](_0x29d416,_0x41e37f);break;}case J[_0x4a72d8(0x302)]:{_0x22d65b=await this[_0x4a72d8(0x208)][_0x4a72d8(0x27e)](_0x29d416,_0x41e37f);break;}default:{this['_logService']['error'](_0x4a72d8(0x398),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x22d65b;}async[_0x31391e(0x186)](_0x2d6ee4,_0x430a61,_0x7aa858){var _0x2906bc=_0x31391e,_0x275683;this[_0x2906bc(0x314)]['next']({'unitId':_0x2d6ee4,'type':_0x430a61,'subUnitId':_0x7aa858});let _0xc58285=0x0;const _0x160694=await((_0x275683=this[_0x2906bc(0x309)])==null?void 0x0:_0x275683[_0x2906bc(0x2e8)](_0x2d6ee4));return _0x160694&&(_0x160694['awaitingChangeset']||_0x160694[_0x2906bc(0x449)][_0x2906bc(0x2cc)]!==0x0)&&(_0xc58285=_0x160694['rev']),_0xc58285===0x0&&this[_0x2906bc(0x10e)]['debug']('[DataLoaderService]',_0x2906bc(0x1f5)),this[_0x2906bc(0x288)](_0x2d6ee4,_0x430a61,_0xc58285);}},exports[_0x31391e(0x147)]=cn([Le(0x0,a['ILogService']),Le(0x1,a[_0x31391e(0x3f0)](p[_0x31391e(0x331)])),Le(0x2,a[_0x31391e(0x2c5)](q))],exports[_0x31391e(0x147)]);var hn=Object[_0x31391e(0x1d1)],_n=(_0x2180e3,_0x208f4e,_0x55d0a5,_0x58ff83)=>{var _0x21aaad=_0x31391e;for(var _0x5c2b93=_0x58ff83>0x1?void 0x0:_0x58ff83?hn(_0x208f4e,_0x55d0a5):_0x208f4e,_0x374014=_0x2180e3[_0x21aaad(0x2cc)]-0x1,_0x36ab9a;_0x374014>=0x0;_0x374014--)(_0x36ab9a=_0x2180e3[_0x374014])&&(_0x5c2b93=_0x36ab9a(_0x5c2b93)||_0x5c2b93);return _0x5c2b93;},we=(_0x525483,_0x5c00c6)=>(_0x1fcc84,_0x4114ca)=>_0x5c00c6(_0x1fcc84,_0x4114ca,_0x525483);const ln=['image/png',_0x31391e(0x39d),_0x31391e(0x350),_0x31391e(0x2e1),_0x31391e(0x417)],un=0x5*0x400*0x400,dn='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',vn=_0x31391e(0x317),Sn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',fn=_0x31391e(0x20d);exports[_0x31391e(0x199)]=class{constructor(_0x12e658,_0x43ba7f,_0x3ba4f4){var _0x39a37d=_0x31391e;A(this,'_waitCount',0x0),A(this,_0x39a37d(0x2a1),new $[(_0x39a37d(0x361))]()),A(this,'change$',this[_0x39a37d(0x2a1)]),A(this,'_imageSourceCache',new Map()),(this[_0x39a37d(0x1e9)]=_0x12e658,this['_configService']=_0x43ba7f,this[_0x39a37d(0x29b)]=_0x3ba4f4);}['setWaitCount'](_0x434948){var _0x14b2ce=_0x31391e;this['_waitCount']=_0x434948,this[_0x14b2ce(0x2a1)]['next'](_0x434948);}[_0x31391e(0x1bd)](_0x29ac27,_0x1ff77b){var _0x41be19=_0x31391e;if(_0x1ff77b===z[_0x41be19(0x130)][_0x41be19(0x39f)]){const _0x4ade2a=new Image();return _0x4ade2a[_0x41be19(0x2c8)]=_0x29ac27,_0x4ade2a;}return this[_0x41be19(0x33e)][_0x41be19(0x244)](_0x29ac27);}[_0x31391e(0x2f3)](_0x3bc815,_0x43aec6,_0x380125){var _0x53cbd6=_0x31391e;_0x43aec6===z[_0x53cbd6(0x130)]['BASE64']||_0x380125==null||this['_imageSourceCache'][_0x53cbd6(0x3a8)](_0x3bc815,_0x380125);}async[_0x31391e(0x33c)](_0x2a4f32){var _0x26857a=_0x31391e;try{const _0x5b55f3=this[_0x26857a(0x155)](this[_0x26857a(0x3be)](),''+_0x2a4f32),_0x8101bc=(await this[_0x26857a(0x1e9)][_0x26857a(0x244)](_0x5b55f3))[_0x26857a(0xf5)];if(_0x8101bc[_0x26857a(0x219)]&&_0x8101bc[_0x26857a(0x219)][_0x26857a(0x1cd)]===gt['OK']){const _0xfac186=new URL(_0x8101bc['url'],this[_0x26857a(0x306)]())[_0x26857a(0x274)]();return Promise[_0x26857a(0x2ac)](_0xfac186);}return Promise[_0x26857a(0x470)](_0x8101bc[_0x26857a(0x219)]);}catch(_0x30c79c){return Promise[_0x26857a(0x470)](_0x30c79c);}}async[_0x31391e(0x332)](_0x122ef3){var _0x5aeb6a=_0x31391e;let _0x1dde74='';if(!ln['includes'](_0x122ef3[_0x5aeb6a(0x2b9)]))return this[_0x5aeb6a(0x384)](),Promise[_0x5aeb6a(0x470)](new Error(z['ImageUploadStatusType'][_0x5aeb6a(0x1d8)]));if(_0x122ef3[_0x5aeb6a(0x28c)]>un)return this[_0x5aeb6a(0x384)](),Promise[_0x5aeb6a(0x470)](new Error(z['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x1f02dc=new FormData();_0x1f02dc[_0x5aeb6a(0x268)](_0x5aeb6a(0x2aa),_0x122ef3);const _0x59c41=this[_0x5aeb6a(0x29b)][_0x5aeb6a(0x3ab)](),_0x36d055=_0x59c41==null?void 0x0:_0x59c41['getUnitId']();if(!_0x36d055)throw new Error(_0x5aeb6a(0x395));const _0x51d213=this[_0x5aeb6a(0x354)]()+_0x5aeb6a(0x255)+_0x122ef3[_0x5aeb6a(0x28c)][_0x5aeb6a(0x274)]()+_0x5aeb6a(0x464)+Et[_0x5aeb6a(0x202)]+_0x5aeb6a(0x123)+encodeURIComponent(_0x36d055),_0x69cbbf={'body':_0x1f02dc},_0x49c06a=(await this['_httpService']['post'](_0x51d213,_0x69cbbf))['body'];if(typeof _0x49c06a[_0x5aeb6a(0x2f0)]!=_0x5aeb6a(0x128))return this[_0x5aeb6a(0x384)](),Promise['reject'](new Error(z[_0x5aeb6a(0x163)][_0x5aeb6a(0x1f2)]));_0x1dde74=_0x49c06a['FileId'];}catch{return this[_0x5aeb6a(0x384)](),Promise[_0x5aeb6a(0x470)](new Error(z[_0x5aeb6a(0x163)][_0x5aeb6a(0x1f2)]));}return new Promise((_0x1a6329,_0x3f8a8e)=>{var _0x2d6ea7=_0x5aeb6a;const _0x2e2963=new FileReader();_0x2e2963[_0x2d6ea7(0x3cb)](_0x122ef3),_0x2e2963['onload']=_0x281f4b=>{var _0x29c103=_0x2d6ea7,_0x45cef4;const _0x5798e9=(_0x45cef4=_0x281f4b['target'])==null?void 0x0:_0x45cef4[_0x29c103(0x18b)];if(_0x5798e9==null){this['_decreaseWaiting'](),_0x3f8a8e(new Error(z[_0x29c103(0x163)][_0x29c103(0x1f2)]));return;}const _0x4232bb=a[_0x29c103(0x290)][_0x29c103(0x46d)](0x6);_0x1a6329({'imageId':_0x4232bb,'imageSourceType':z['ImageSourceType'][_0x29c103(0x461)],'source':_0x1dde74,'base64Cache':_0x5798e9,'status':z[_0x29c103(0x163)][_0x29c103(0x3ac)]}),this[_0x29c103(0x384)]();};});}[_0x31391e(0x354)](){var _0x4f6e4d=_0x31391e,_0x4a9c9a,_0x382b12;const _0x3232bd=this[_0x4f6e4d(0x2a8)][_0x4f6e4d(0x411)](dn),_0x58df44=this[_0x4f6e4d(0x2a8)]['getConfig'](G);return(_0x382b12=(_0x4a9c9a=_0x58df44==null?void 0x0:_0x58df44[_0x4f6e4d(0x42c)])!=null?_0x4a9c9a:_0x3232bd)!=null?_0x382b12:vn;}[_0x31391e(0x3be)](){var _0x5e3ffa=_0x31391e,_0x680a5b,_0x253305;const _0x50ab49=this[_0x5e3ffa(0x2a8)][_0x5e3ffa(0x411)](Sn),_0x59ffcb=this[_0x5e3ffa(0x2a8)][_0x5e3ffa(0x411)](G);return(_0x253305=(_0x680a5b=_0x59ffcb==null?void 0x0:_0x59ffcb[_0x5e3ffa(0x217)])!=null?_0x680a5b:_0x50ab49)!=null?_0x253305:fn;}[_0x31391e(0x306)](){var _0x2c2e8f=_0x31391e,_0x357807;const _0x55ad57=this[_0x2c2e8f(0x2a8)][_0x2c2e8f(0x411)](G);return(_0x357807=_0x55ad57==null?void 0x0:_0x55ad57['downloadEndpointUrl'])!=null?_0x357807:location[_0x2c2e8f(0x1b8)];}['_replaceFileID'](_0xd4a404,_0x23b853){var _0x29cfa3=_0x31391e;return _0xd4a404[_0x29cfa3(0x182)]('{fileID}',_0x23b853);}[_0x31391e(0x384)](){var _0x1ab3e2=_0x31391e;this[_0x1ab3e2(0x292)]-=0x1,this[_0x1ab3e2(0x2a1)]['next'](this['_waitCount']);}},exports['CollaborationImageIoService']=_n([we(0x0,a['Inject'](K[_0x31391e(0x28b)])),we(0x1,a[_0x31391e(0x474)]),we(0x2,a[_0x31391e(0x3f0)](a[_0x31391e(0x2ad)]))],exports[_0x31391e(0x199)]);var In=Object[_0x31391e(0x1d1)],pn=(_0x5e7e45,_0x4dbb37,_0x88a80f,_0x3167f9)=>{var _0xee6d58=_0x31391e;for(var _0x13130a=_0x3167f9>0x1?void 0x0:_0x3167f9?In(_0x4dbb37,_0x88a80f):_0x4dbb37,_0x2a010c=_0x5e7e45[_0xee6d58(0x2cc)]-0x1,_0x4fd754;_0x2a010c>=0x0;_0x2a010c--)(_0x4fd754=_0x5e7e45[_0x2a010c])&&(_0x13130a=_0x4fd754(_0x13130a)||_0x13130a);return _0x13130a;},at=(_0x30f849,_0x1fab6)=>(_0x279d37,_0x587683)=>_0x1fab6(_0x279d37,_0x587683,_0x30f849);const gn=_0x31391e(0x250);exports[_0x31391e(0x204)]=class{constructor(_0x4cbdc7,_0x26811b){var _0x157000=_0x31391e;this[_0x157000(0x2a8)]=_0x4cbdc7,this[_0x157000(0x249)]=_0x26811b;}[_0x31391e(0xfe)](){var _0x2ba056=_0x31391e,_0x4845b0,_0x41c0bb;const _0x29594c=this[_0x2ba056(0x2a8)][_0x2ba056(0x411)](Ve),_0x19b810=this['_configService'][_0x2ba056(0x411)](G);return(_0x41c0bb=(_0x4845b0=_0x19b810==null?void 0x0:_0x19b810['authzUrl'])!=null?_0x4845b0:_0x29594c)!=null?_0x41c0bb:gn;}async[_0x31391e(0x3f4)](_0x5745b6){var _0x73be7e=_0x31391e;const _0x1ed86f=this[_0x73be7e(0xfe)]()+_0x73be7e(0x239);return{'list':[{'title':_0x73be7e(0x11e),'mentions':(await this[_0x73be7e(0x249)]['get'](_0x1ed86f,{'params':{'objectID':_0x5745b6[_0x73be7e(0x422)],'unitID':_0x5745b6[_0x73be7e(0x422)]}}))[_0x73be7e(0xf5)][_0x73be7e(0x2ae)][_0x73be7e(0x12b)](_0x4064c8=>({'objectId':_0x4064c8['id'],'name':_0x4064c8[_0x73be7e(0x271)][_0x73be7e(0x3cf)],'metadata':{'icon':_0x4064c8['subject']['avatar']},'label':_0x4064c8[_0x73be7e(0x271)][_0x73be7e(0x3cf)],'objectType':a[_0x73be7e(0x3c2)][_0x73be7e(0x43c)]})),'metadata':{},'type':a[_0x73be7e(0x3c2)]['PERSON']}]};}},exports['MentionIoHttpService']=pn([at(0x0,a[_0x31391e(0x3f0)](a[_0x31391e(0x474)])),at(0x1,a[_0x31391e(0x3f0)](K[_0x31391e(0x28b)]))],exports[_0x31391e(0x204)]);var En=Object['getOwnPropertyDescriptor'],mn=(_0x41e4b2,_0x421904,_0x3e67e4,_0x140242)=>{var _0x2d694b=_0x31391e;for(var _0x212c64=_0x140242>0x1?void 0x0:_0x140242?En(_0x421904,_0x3e67e4):_0x421904,_0x35e267=_0x41e4b2[_0x2d694b(0x2cc)]-0x1,_0x42a3df;_0x35e267>=0x0;_0x35e267--)(_0x42a3df=_0x41e4b2[_0x35e267])&&(_0x212c64=_0x42a3df(_0x212c64)||_0x212c64);return _0x212c64;},le=(_0x28ffb1,_0x20b137)=>(_0x11f9a9,_0x30c6cb)=>_0x20b137(_0x11f9a9,_0x30c6cb,_0x28ffb1);let De=class extends a[_0x31391e(0x2a7)]{constructor(_0x27e4f4,_0x3716c5,_0x327d2e,_0x3d7adc,_0x2436f1){var _0x5c7e04=_0x31391e;super(),this[_0x5c7e04(0x1a4)]=_0x27e4f4,this[_0x5c7e04(0x29b)]=_0x3716c5,this[_0x5c7e04(0x473)]=_0x327d2e,this['_collaborationSessionService']=_0x3d7adc,this['_collaborationUIEventService']=_0x2436f1,this[_0x5c7e04(0x394)](),this[_0x5c7e04(0x109)]();}[_0x31391e(0x109)](){var _0x2c0df3=_0x31391e;const _0x47ea49=async _0x73d47f=>{var _0x421833=_0x1769;(await this[_0x421833(0x3b9)][_0x421833(0x3f9)](_0x73d47f))[_0x421833(0x1ec)]['pipe'](V[_0x421833(0x17f)](_0x2a33bd=>_0x2a33bd['eventID']===p[_0x421833(0x3a2)][_0x421833(0x37d)]),V[_0x421833(0x193)](this[_0x421833(0x119)]))[_0x421833(0x369)](_0x2bd0b9=>{var _0x70a7eb=_0x421833;const _0x3fb6c3=_0x2bd0b9,{reason:_0x46e2e4}=_0x3fb6c3['data'];this[_0x70a7eb(0x2be)][_0x70a7eb(0x352)]({'id':Z[_0x70a7eb(0x15c)],'data':_0x46e2e4}),this[_0x70a7eb(0x473)][_0x70a7eb(0x103)](new X['WorkbookEditablePermission'](_0x73d47f)['id'],!0x1),this[_0x70a7eb(0x3b9)][_0x70a7eb(0x135)](_0x73d47f);});};$['merge'](this[_0x2c0df3(0x29b)]['getTypeOfUnitAdded$'](a[_0x2c0df3(0x21c)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x2c0df3(0x241)](a['UniverInstanceType'][_0x2c0df3(0x302)]))[_0x2c0df3(0x23b)](V[_0x2c0df3(0x12b)](_0x905085=>_0x905085[_0x2c0df3(0x1ea)]()),V[_0x2c0df3(0x17f)](_0x1217d0=>!a[_0x2c0df3(0x1b0)](_0x1217d0)),V['takeUntil'](this[_0x2c0df3(0x119)]))[_0x2c0df3(0x369)](_0x572b0a=>{_0x47ea49(_0x572b0a);});}[_0x31391e(0x394)](){var _0x284d46=_0x31391e;const _0x19ee75=async _0x55b27e=>{var _0x57cae2=_0x1769;const _0x297bda=await this['_collaborationSessionService']['requireSession'](_0x55b27e),_0x586448=this['_injector'][_0x57cae2(0x244)](X[_0x57cae2(0x200)]);_0x297bda[_0x57cae2(0x1ec)][_0x57cae2(0x23b)](V[_0x57cae2(0x17f)](_0x53bffa=>_0x53bffa['eventID']===p[_0x57cae2(0x3a2)][_0x57cae2(0x24e)]),V[_0x57cae2(0x193)](this[_0x57cae2(0x119)]))[_0x57cae2(0x369)](_0x1ff059=>{var _0x3b72f6=_0x57cae2;const _0x534a56=_0x1ff059,{objectId:_0x30f513}=_0x534a56[_0x3b72f6(0x2e4)];_0x30f513===_0x55b27e?_0x586448[_0x3b72f6(0x238)](_0x55b27e):_0x586448['refreshPermission'](_0x55b27e,_0x30f513);});};$[_0x284d46(0x1f6)](this[_0x284d46(0x29b)][_0x284d46(0x241)](a[_0x284d46(0x21c)][_0x284d46(0x1a5)]))[_0x284d46(0x23b)](V['map'](_0x2febde=>_0x2febde[_0x284d46(0x1ea)]()),V[_0x284d46(0x17f)](_0x1c9574=>!a['isInternalEditorID'](_0x1c9574)),V['takeUntil'](this[_0x284d46(0x119)]))[_0x284d46(0x369)](_0x876afe=>{_0x19ee75(_0x876afe);});}};De=mn([le(0x0,a[_0x31391e(0x3f0)](a['Injector'])),le(0x1,a['IUniverInstanceService']),le(0x2,a[_0x31391e(0x409)]),le(0x3,a['Inject'](exports[_0x31391e(0x3c0)])),le(0x4,a[_0x31391e(0x3f0)](ee))],De);var Cn=Object[_0x31391e(0x1d1)],Tn=(_0x2ef7ac,_0x2ccc40,_0x57f976,_0x2774c4)=>{for(var _0x1d5b79=_0x2774c4>0x1?void 0x0:_0x2774c4?Cn(_0x2ccc40,_0x57f976):_0x2ccc40,_0x564fb6=_0x2ef7ac['length']-0x1,_0x34bf61;_0x564fb6>=0x0;_0x564fb6--)(_0x34bf61=_0x2ef7ac[_0x564fb6])&&(_0x1d5b79=_0x34bf61(_0x1d5b79)||_0x1d5b79);return _0x1d5b79;},ct=(_0x2a5238,_0x26f1a9)=>(_0x5d1bf4,_0x57f189)=>_0x26f1a9(_0x5d1bf4,_0x57f189,_0x2a5238);exports[_0x31391e(0x266)]=class{constructor(_0xa2e260,_0x52bf3e){var _0xf1aaa1=_0x31391e;this['_configService']=_0xa2e260,this[_0xf1aaa1(0x1e9)]=_0x52bf3e;}async[_0x31391e(0x236)](_0x3d797e,_0x44e718){var _0x4fdc54=_0x31391e,_0x434fd5;const {unitID:_0x183a31,type:_0x10fc89,revision:_0x5729d8=0x0}=_0x44e718,_0x45964e=this['getSnapshotAPIPath']()+'/'+_0x10fc89+_0x4fdc54(0x305)+_0x183a31+_0x4fdc54(0x345)+_0x5729d8,_0x525b8a=(await this[_0x4fdc54(0x1e9)][_0x4fdc54(0x244)](_0x45964e))['body'],_0x153cc6=(_0x434fd5=_0x525b8a[_0x4fdc54(0x21b)])==null?void 0x0:_0x434fd5[_0x4fdc54(0x2d8)];if(_0x153cc6){const _0x10d394=_0x153cc6==null?void 0x0:_0x153cc6[_0x4fdc54(0x25b)],_0x5d1519=p[_0x4fdc54(0x2d7)][_0x4fdc54(0x308)](p[_0x4fdc54(0x42a)](_0x10d394));_0x153cc6[_0x4fdc54(0x25b)]=_0x5d1519,Object['entries'](_0x153cc6[_0x4fdc54(0x380)])[_0x4fdc54(0x381)](([,_0x201a80])=>{var _0x5db471=_0x4fdc54;const _0x1b1047=_0x201a80['originalMeta'],_0x4731a7=p['textEncoder']['encode'](p[_0x5db471(0x42a)](_0x1b1047));_0x201a80[_0x5db471(0x25b)]=_0x4731a7;});}return _0x525b8a;}async[_0x31391e(0x41f)](_0x200393,_0x4d5769){var _0x7a5c4c=_0x31391e;const {unitID:_0x4d2a71,type:_0x20d82e,blockID:_0x36c5ac}=_0x4d5769,_0x15a6d0=this[_0x7a5c4c(0x188)]()+'/'+_0x20d82e+'/unit/'+_0x4d2a71+'/block/'+_0x36c5ac;return(await this['_httpService']['get'](_0x15a6d0))[_0x7a5c4c(0xf5)];}async[_0x31391e(0x358)](_0x2c199b,_0x2ad5db){var _0x573997=_0x31391e;const {unitID:_0x100a17,type:_0x500069,blockID:_0x77d768}=_0x2ad5db,_0x607232=this[_0x573997(0x188)]()+'/block/'+_0x500069+'/unit/'+_0x100a17+_0x573997(0x1dc)+_0x77d768;return(await this[_0x573997(0x1e9)]['get'](_0x607232))[_0x573997(0xf5)];}async[_0x31391e(0x469)](_0x270d28,_0x14c358){var _0x2c4ae3=_0x31391e;const {unitID:_0x22dda2,type:_0x53e808,from:_0x5e3e3f,to:_0x56e3e9}=_0x14c358,_0x9479e3=this[_0x2c4ae3(0x188)]()+'/'+_0x53e808+_0x2c4ae3(0x305)+_0x22dda2+_0x2c4ae3(0x165)+_0x5e3e3f+_0x2c4ae3(0x3c8)+_0x56e3e9;return(await this[_0x2c4ae3(0x1e9)]['get'](_0x9479e3))[_0x2c4ae3(0xf5)];}[_0x31391e(0x1e4)](){var _0x236c54=_0x31391e,_0x5bd91d;return(_0x5bd91d=this[_0x236c54(0x2a8)][_0x236c54(0x411)](lt))!=null?_0x5bd91d:this['_getAPIPrefix']();}['_getAPIPrefix'](){var _0x2ea194=_0x31391e,_0x1b3024,_0x538e50;const _0x2cafed=this['_configService'][_0x2ea194(0x411)](_t),_0x168059=this['_configService'][_0x2ea194(0x411)](G);return(_0x538e50=(_0x1b3024=_0x168059==null?void 0x0:_0x168059[_0x2ea194(0x370)])!=null?_0x1b3024:_0x2cafed)!=null?_0x538e50:wt;}async[_0x31391e(0x1ab)](_0xfe880d,_0x5c1646){var _0x239e4c=_0x31391e;const _0x437be9=_0x239e4c(0x251)+_0x5c1646[_0x239e4c(0x2b9)]+_0x239e4c(0x305)+_0x5c1646[_0x239e4c(0x185)]+'/resources';return(await this['_httpService']['get'](_0x437be9,{'params':{'resourceId':JSON['stringify'](_0x5c1646['resourceIDs'])}}))['body'];}[_0x31391e(0x1ce)](){var _0x5f0f52=_0x31391e;throw new Error(_0x5f0f52(0x3c7));}[_0x31391e(0x3e0)](){var _0x574677=_0x31391e;throw new Error(_0x574677(0x3c7));}[_0x31391e(0x299)](){var _0x5ea7be=_0x31391e;throw new Error(_0x5ea7be(0x3c7));}[_0x31391e(0x11c)](){var _0x33ac48=_0x31391e;throw new Error(_0x33ac48(0x3c7));}[_0x31391e(0x183)](){var _0x722730=_0x31391e;throw new Error(_0x722730(0x3c7));}[_0x31391e(0x2b8)](){var _0x2b1197=_0x31391e;throw new Error(_0x2b1197(0x3c7));}},exports['SnapshotServerOverHTTPService']=Tn([ct(0x0,a[_0x31391e(0x474)]),ct(0x1,a[_0x31391e(0x3f0)](K['HTTPService']))],exports[_0x31391e(0x266)]);var bn=Object['getOwnPropertyDescriptor'],Rn=(_0x1c3ce2,_0x579643,_0x5d231d,_0x42c179)=>{var _0x2455e6=_0x31391e;for(var _0x2ed1d4=_0x42c179>0x1?void 0x0:_0x42c179?bn(_0x579643,_0x5d231d):_0x579643,_0x296297=_0x1c3ce2[_0x2455e6(0x2cc)]-0x1,_0x1cd126;_0x296297>=0x0;_0x296297--)(_0x1cd126=_0x1c3ce2[_0x296297])&&(_0x2ed1d4=_0x1cd126(_0x2ed1d4)||_0x2ed1d4);return _0x2ed1d4;},ue=(_0x5b804e,_0x1af226)=>(_0x47a7eb,_0x291073)=>_0x1af226(_0x47a7eb,_0x291073,_0x5b804e);exports[_0x31391e(0x287)]=class extends a[_0x31391e(0x1c8)]{constructor(_0x19570e,_0x272efe,_0x489a70,_0x4db030,_0x345e0b){var _0x190b06=_0x31391e;super(_0x19570e,_0x272efe,_0x489a70),this[_0x190b06(0x396)]=_0x4db030,this[_0x190b06(0x10e)]=_0x345e0b;}[_0x31391e(0x102)](_0xb48dab,_0x5818e0){var _0x560c7b=_0x31391e;const _0x5891b6=this[_0x560c7b(0x2f2)](_0xb48dab);if(_0x5891b6)try{const _0x1f5f0e=this[_0x560c7b(0x468)](_0x5891b6,_0x5818e0);this[_0x560c7b(0x325)](_0xb48dab,_0x1f5f0e);}catch(_0x26e202){this[_0x560c7b(0x10e)]['error'](_0x560c7b(0x2a5),_0x26e202),this[_0x560c7b(0x20f)](_0xb48dab);}const _0x32dfa5=this[_0x560c7b(0x262)](_0xb48dab);if(_0x32dfa5)try{const _0x108bef=this[_0x560c7b(0x468)](_0x32dfa5,_0x5818e0);this[_0x560c7b(0x364)](_0xb48dab,_0x108bef);}catch(_0x324ac9){this[_0x560c7b(0x10e)][_0x560c7b(0x219)](_0x324ac9),this['_clearRedo'](_0xb48dab);}}[_0x31391e(0x20f)](_0x9ab289){var _0x1e96d1=_0x31391e;const _0x26b5c8=this[_0x1e96d1(0x2f2)](_0x9ab289);_0x26b5c8&&(_0x26b5c8[_0x1e96d1(0x2cc)]=0x0,this['_updateStatus']());}[_0x31391e(0x46b)](_0x1a2108){var _0x1aac47=_0x31391e;const _0x47a7d6=this[_0x1aac47(0x262)](_0x1a2108);_0x47a7d6&&(_0x47a7d6[_0x1aac47(0x2cc)]=0x0,this['_updateStatus']());}[_0x31391e(0x325)](_0x406cd8,_0x18f8a2){var _0x4d694e=_0x31391e;this[_0x4d694e(0x270)]['set'](_0x406cd8,_0x18f8a2),this[_0x4d694e(0x256)]();}[_0x31391e(0x364)](_0x3531fa,_0x2d4347){var _0x27149f=_0x31391e;this['_redoStacks'][_0x27149f(0x3a8)](_0x3531fa,_0x2d4347),this[_0x27149f(0x256)]();}[_0x31391e(0x468)](_0x3e6f63,_0x17d803){var _0x3489fa=_0x31391e;const _0x2b53d9=[];let _0x9cded7=_0x17d803,_0x5136c0=_0x17d803;for(let _0x399396=_0x3e6f63[_0x3489fa(0x2cc)]-0x1;_0x399396>=0x0;_0x399396--){const {unitID:_0x2f4e96,undoMutations:_0x2aa62a,redoMutations:_0x443ba3}=_0x3e6f63[_0x399396],_0x252d65=this['_transformService'][_0x3489fa(0x184)](_0x9cded7,_0x2aa62a),_0x509135=this[_0x3489fa(0x396)]['transformMutationsWithChangeset'](_0x5136c0,_0x443ba3);if(p['isTransformMutationsWithChangesetFailure'](_0x252d65)||p['isTransformMutationsWithChangesetFailure'](_0x509135)){this[_0x3489fa(0x10e)]['error'](_0x3489fa(0x2a5),_0x3489fa(0x424),_0x252d65,_0x509135);break;}_0x9cded7=_0x252d65[_0x3489fa(0x38a)],_0x5136c0=_0x509135[_0x3489fa(0x38a)],_0x2b53d9['push']({'unitID':_0x2f4e96,'undoMutations':_0x252d65[_0x3489fa(0x15f)],'redoMutations':_0x509135[_0x3489fa(0x15f)]});}return _0x2b53d9['reverse']();}},exports[_0x31391e(0x287)]=Rn([ue(0x0,a['IUniverInstanceService']),ue(0x1,a[_0x31391e(0x425)]),ue(0x2,a['IContextService']),ue(0x3,p['ITransformService']),ue(0x4,a[_0x31391e(0x2d4)])],exports[_0x31391e(0x287)]);var On=Object[_0x31391e(0x453)],yn=Object[_0x31391e(0x1d1)],Nn=(_0x1c8775,_0x190d4c,_0x3656fc)=>_0x190d4c in _0x1c8775?On(_0x1c8775,_0x190d4c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3656fc}):_0x1c8775[_0x190d4c]=_0x3656fc,Dn=(_0x56059e,_0x4a3120,_0x8b7189,_0x5baa69)=>{var _0x122e51=_0x31391e;for(var _0x1d5751=_0x5baa69>0x1?void 0x0:_0x5baa69?yn(_0x4a3120,_0x8b7189):_0x4a3120,_0x1202e7=_0x56059e[_0x122e51(0x2cc)]-0x1,_0x28533d;_0x1202e7>=0x0;_0x1202e7--)(_0x28533d=_0x56059e[_0x1202e7])&&(_0x1d5751=_0x28533d(_0x1d5751)||_0x1d5751);return _0x1d5751;},Me=(_0x43028e,_0x5cf667)=>(_0x5f350e,_0x4047c1)=>_0x5cf667(_0x5f350e,_0x4047c1,_0x43028e),Un=(_0x3838f0,_0x541128,_0x5c9886)=>Nn(_0x3838f0,_0x541128+'',_0x5c9886);const An=_0x31391e(0x191);exports[_0x31391e(0x351)]=class extends a[_0x31391e(0x41e)]{constructor(_0x5236d8,_0x3ed583,_0x1bc629,_0x4eaf1c){var _0x2e46ff=_0x31391e;super(),A(this,_0x2e46ff(0x141)),(this[_0x2e46ff(0x10e)]=_0x3ed583,this[_0x2e46ff(0x1a4)]=_0x1bc629,this[_0x2e46ff(0x2a8)]=_0x4eaf1c);const {..._0x26e132}=a['merge']({},Kt,_0x5236d8);if(!_0x26e132['socketService'])throw new Error(_0x2e46ff(0x125));this['_config']=_0x26e132,this[_0x2e46ff(0x2a8)]['setConfig'](G,_0x26e132);}['onStarting'](){var _0x4fe744=_0x31391e;this['_registerDependencies'](),this[_0x4fe744(0x42f)]();}['_registerDependencies'](){var _0x16fd61=_0x31391e,_0x383228,_0x3c1bbf;this[_0x16fd61(0x1a4)][_0x16fd61(0x26f)](a[_0x16fd61(0x210)])&&this['_logService'][_0x16fd61(0x219)](_0x16fd61(0x1ac),_0x16fd61(0x374));const _0x779926=a[_0x16fd61(0x1db)]([[a[_0x16fd61(0x210)],{'useClass':exports[_0x16fd61(0x287)]}],[exports['CollaborationSessionService']],[exports[_0x16fd61(0x25a)]],[exports[_0x16fd61(0x3db)]],[ye],[Ne],[$e],[De],[ee],[exports[_0x16fd61(0x147)]],[He,{'useClass':this['_config'][_0x16fd61(0x26c)]}],[p[_0x16fd61(0x2bc)],{'useClass':exports[_0x16fd61(0x266)]}],[a[_0x16fd61(0x27d)],{'useClass':exports['AuthzIoHttpService']}],[z['IImageIoService'],{'useClass':exports[_0x16fd61(0x199)]}],[a[_0x16fd61(0x276)],{'useClass':exports['MentionIoHttpService']}],[exports[_0x16fd61(0x431)]],[xe]],(_0x383228=this[_0x16fd61(0x141)])==null?void 0x0:_0x383228[_0x16fd61(0x1b4)]);if(!((_0x3c1bbf=this[_0x16fd61(0x141)])!=null&&_0x3c1bbf[_0x16fd61(0x1ee)])){const _0x491cc5=_0x779926['findIndex'](([_0x513d21])=>_0x513d21===de);_0x491cc5!==-0x1&&_0x779926[_0x16fd61(0x1b6)](_0x491cc5,0x1);}a[_0x16fd61(0x459)](this[_0x16fd61(0x1a4)],_0x779926);}[_0x31391e(0x42f)](){var _0xa802c0=_0x31391e,_0x275636,_0x47820b,_0x4afdac;this[_0xa802c0(0x1a4)]['get'](K['HTTPService'])[_0xa802c0(0x170)]({'priority':0x14,'interceptor':K['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x275636=this[_0xa802c0(0x141)])!=null&&_0x275636[_0xa802c0(0x46c)]||(_0x47820b=this[_0xa802c0(0x1a4)][_0xa802c0(0x244)](q,a[_0xa802c0(0x1c9)]['OPTIONAL']))==null||_0x47820b[_0xa802c0(0x357)](),(_0x4afdac=this['_config'])!=null&&_0x4afdac['enableAuthServer']&&a[_0xa802c0(0x253)](this['_injector'],[[ye]]),a[_0xa802c0(0x253)](this['_injector'],[[Ne],[exports[_0xa802c0(0x431)]],[De]]);}},Un(exports[_0x31391e(0x351)],'pluginName',An),exports[_0x31391e(0x351)]=Dn([a['DependentOn'](p['UniverCollaborationPlugin'],K[_0x31391e(0x192)]),Me(0x1,a[_0x31391e(0x2d4)]),Me(0x2,a[_0x31391e(0x3f0)](a['Injector'])),Me(0x3,a[_0x31391e(0x474)])],exports[_0x31391e(0x351)]),exports['AUTHZ_URL_KEY']=Ve,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=G,exports[_0x31391e(0x1f3)]=It,exports[_0x31391e(0x16d)]=ut,exports['CollaborationStatus']=Be,exports[_0x31391e(0x335)]=Z,exports[_0x31391e(0x40b)]=ee,exports[_0x31391e(0x372)]=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=dt,exports[_0x31391e(0x414)]=Gt,exports[_0x31391e(0x433)]=kt,exports[_0x31391e(0x22f)]=vt,exports[_0x31391e(0x1b2)]=ke,exports[_0x31391e(0x2b1)]=He,exports[_0x31391e(0x346)]=q,exports[_0x31391e(0x2a0)]=mt,exports[_0x31391e(0x145)]=de,exports[_0x31391e(0x2ef)]=Ft,exports[_0x31391e(0x43b)]=Bt,exports['LOGIN_URL_KEY']=pt,exports[_0x31391e(0x275)]=Yt,exports[_0x31391e(0x28d)]=ft,exports[_0x31391e(0x2dd)]=Mt,exports[_0x31391e(0x355)]=_t,exports['SNAPSHOT_URL_KEY']=lt,exports[_0x31391e(0x330)]=re,exports[_0x31391e(0x475)]=je,exports[_0x31391e(0x223)]=Ct,exports['getLocalCacheKey']=oi,exports[_0x31391e(0x35c)]=Tt;
|
1
|
+
'use strict';var _0x4c5ff4=_0x1dd8;(function(_0x111a7f,_0x581c32){var _0x324ccd=_0x1dd8,_0x2a6ec4=_0x111a7f();while(!![]){try{var _0x473907=-parseInt(_0x324ccd(0x25e))/0x1+-parseInt(_0x324ccd(0x475))/0x2+-parseInt(_0x324ccd(0x29d))/0x3*(-parseInt(_0x324ccd(0x463))/0x4)+-parseInt(_0x324ccd(0x382))/0x5*(parseInt(_0x324ccd(0x4b9))/0x6)+parseInt(_0x324ccd(0x341))/0x7+parseInt(_0x324ccd(0x477))/0x8*(-parseInt(_0x324ccd(0x520))/0x9)+parseInt(_0x324ccd(0x54a))/0xa*(parseInt(_0x324ccd(0x242))/0xb);if(_0x473907===_0x581c32)break;else _0x2a6ec4['push'](_0x2a6ec4['shift']());}catch(_0xbdf34f){_0x2a6ec4['push'](_0x2a6ec4['shift']());}}}(_0x3985,0x42ed1));var Ut=Object['defineProperty'],At=(_0x3009b3,_0x299318,_0x5715e7)=>_0x299318 in _0x3009b3?Ut(_0x3009b3,_0x299318,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5715e7}):_0x3009b3[_0x299318]=_0x5715e7,A=(_0x4dea3a,_0x46a3d9,_0x184ea4)=>At(_0x4dea3a,typeof _0x46a3d9!=_0x4c5ff4(0x353)?_0x46a3d9+'':_0x46a3d9,_0x184ea4);Object[_0x4c5ff4(0x292)](exports,Symbol[_0x4c5ff4(0x455)],{'value':_0x4c5ff4(0x23a)});const a=require(_0x4c5ff4(0x48d)),$=require(_0x4c5ff4(0x49e)),V=require('rxjs/operators'),p=require(_0x4c5ff4(0x565)),K=require('@univerjs/network'),Pt=require(_0x4c5ff4(0x280)),ht=require('@univerjs/docs'),X=require(_0x4c5ff4(0x439)),z=require('@univerjs/drawing'),Lt=require(_0x4c5ff4(0x263)),_t=_0x4c5ff4(0x324),wt=_0x4c5ff4(0x36b),lt='SNAPSHOT_URL_KEY',Mt=_0x4c5ff4(0x32a),xt=0x7d0,ut=_0x4c5ff4(0x569),dt=_0x4c5ff4(0x48e),kt=_0x4c5ff4(0x3d5),vt=_0x4c5ff4(0x4c0),Ht=0x7530,ke='HEARTBEAT_TIMEOUT',St=0x4e20,$t=0x4e20,ft=_0x4c5ff4(0x321),jt=0x3,Bt=_0x4c5ff4(0x27b),Ft=0x3e8,It=_0x4c5ff4(0x509),Vt=_0x4c5ff4(0x365),pt='LOGIN_URL_KEY',Wt='/universer-api/oidc/authpage',Yt=_0x4c5ff4(0x523),Gt=_0x4c5ff4(0x53c);var gt=(_0x433784=>(_0x433784[_0x433784[_0x4c5ff4(0x22e)]=0x0]=_0x4c5ff4(0x22e),_0x433784[_0x433784['OK']=0x1]='OK',_0x433784[_0x433784[_0x4c5ff4(0x2c7)]=0x2]='INTERNAL_ERROR',_0x433784[_0x433784['PERMISSION_DENIED']=0x3]=_0x4c5ff4(0x49b),_0x433784[_0x433784['NOT_FOUND']=0x4]='NOT_FOUND',_0x433784[_0x433784[_0x4c5ff4(0x4ef)]=0x5]=_0x4c5ff4(0x4ef),_0x433784[_0x433784[_0x4c5ff4(0x297)]=0x6]=_0x4c5ff4(0x297),_0x433784[_0x433784[_0x4c5ff4(0x4cc)]=0x7]='INVALID_ARGUMENT',_0x433784[_0x433784[_0x4c5ff4(0x3ce)]=0x8]='TOO_MANY_REQUESTS',_0x433784[_0x433784[_0x4c5ff4(0x24d)]=0x9]=_0x4c5ff4(0x24d),_0x433784[_0x433784[_0x4c5ff4(0x502)]=0xa]=_0x4c5ff4(0x502),_0x433784[_0x433784[_0x4c5ff4(0x432)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x433784[_0x433784[_0x4c5ff4(0x3b2)]=0xc]=_0x4c5ff4(0x3b2),_0x433784[_0x433784[_0x4c5ff4(0x3b3)]=0xd]=_0x4c5ff4(0x3b3),_0x433784[_0x433784['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x433784[_0x433784['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4c5ff4(0x442),_0x433784[_0x433784[_0x4c5ff4(0x2d1)]=0x1771]=_0x4c5ff4(0x2d1),_0x433784[_0x433784[_0x4c5ff4(0x425)]=0x1772]=_0x4c5ff4(0x425),_0x433784[_0x433784[_0x4c5ff4(0x30f)]=0x1773]=_0x4c5ff4(0x30f),_0x433784[_0x433784[_0x4c5ff4(0x472)]=0x1b59]=_0x4c5ff4(0x472),_0x433784[_0x433784[_0x4c5ff4(0x4f0)]=0x1b5a]=_0x4c5ff4(0x4f0),_0x433784[_0x433784['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4c5ff4(0x28c),_0x433784[_0x433784[_0x4c5ff4(0x4bf)]=0x1b5c]=_0x4c5ff4(0x4bf),_0x433784[_0x433784[_0x4c5ff4(0x4d8)]=0x1b5d]='APPLY_DUPLICATED',_0x433784[_0x433784[_0x4c5ff4(0x3fa)]=0x1f41]=_0x4c5ff4(0x3fa),_0x433784[_0x433784[_0x4c5ff4(0x4e0)]=0x2329]=_0x4c5ff4(0x4e0),_0x433784[_0x433784[_0x4c5ff4(0x568)]=0x232a]=_0x4c5ff4(0x568),_0x433784[_0x433784[_0x4c5ff4(0x375)]=0x232b]=_0x4c5ff4(0x375),_0x433784[_0x433784['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4c5ff4(0x1e9),_0x433784[_0x433784[_0x4c5ff4(0x20c)]=0x232d]=_0x4c5ff4(0x20c),_0x433784[_0x433784['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4c5ff4(0x1f7),_0x433784[_0x433784[_0x4c5ff4(0x493)]=0x2712]=_0x4c5ff4(0x493),_0x433784[_0x433784[_0x4c5ff4(0x295)]=0x2713]=_0x4c5ff4(0x295),_0x433784[_0x433784['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4c5ff4(0x4d0),_0x433784[_0x433784[_0x4c5ff4(0x250)]=0x271a]=_0x4c5ff4(0x250),_0x433784[_0x433784[_0x4c5ff4(0x279)]=0x271b]=_0x4c5ff4(0x279),_0x433784[_0x433784[_0x4c5ff4(0x422)]=0x271c]=_0x4c5ff4(0x422),_0x433784[_0x433784[_0x4c5ff4(0x37a)]=0x271d]=_0x4c5ff4(0x37a),_0x433784[_0x433784[_0x4c5ff4(0x241)]=0x271e]=_0x4c5ff4(0x241),_0x433784[_0x433784[_0x4c5ff4(0x3c9)]=0x271f]=_0x4c5ff4(0x3c9),_0x433784[_0x433784['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x4c5ff4(0x350),_0x433784[_0x433784[_0x4c5ff4(0x3eb)]=0x2af9]=_0x4c5ff4(0x3eb),_0x433784[_0x433784['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4c5ff4(0x3ad),_0x433784[_0x433784[_0x4c5ff4(0x247)]=0x2ee2]=_0x4c5ff4(0x247),_0x433784[_0x433784[_0x4c5ff4(0x2ed)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x433784[_0x433784['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x433784[_0x433784[_0x4c5ff4(0x379)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x433784[_0x433784[_0x4c5ff4(0x363)]=0x32c9]=_0x4c5ff4(0x363),_0x433784[_0x433784[_0x4c5ff4(0x441)]=0x32ca]=_0x4c5ff4(0x441),_0x433784[_0x433784[_0x4c5ff4(0x500)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x433784[_0x433784[_0x4c5ff4(0x39b)]=-0x1]='UNRECOGNIZED',_0x433784))(gt||{}),J=(_0x54e730=>(_0x54e730[_0x54e730[_0x4c5ff4(0x41d)]=0x0]=_0x4c5ff4(0x41d),_0x54e730[_0x54e730['UNIVER_DOC']=0x1]=_0x4c5ff4(0x3db),_0x54e730[_0x54e730[_0x4c5ff4(0x218)]=0x2]='UNIVER_SHEET',_0x54e730[_0x54e730[_0x4c5ff4(0x254)]=0x3]='UNIVER_SLIDE',_0x54e730[_0x54e730[_0x4c5ff4(0x370)]=0x4]=_0x4c5ff4(0x370),_0x54e730[_0x54e730['UNRECOGNIZED']=-0x1]=_0x4c5ff4(0x39b),_0x54e730))(J||{}),W=(_0x12a0e1=>(_0x12a0e1[_0x12a0e1['UNKNOWN_CMD']=0x0]=_0x4c5ff4(0x46b),_0x12a0e1[_0x12a0e1['HELLO']=0x1]=_0x4c5ff4(0x326),_0x12a0e1[_0x12a0e1[_0x4c5ff4(0x33b)]=0x2]=_0x4c5ff4(0x33b),_0x12a0e1[_0x12a0e1[_0x4c5ff4(0x2d4)]=0x3]=_0x4c5ff4(0x2d4),_0x12a0e1[_0x12a0e1[_0x4c5ff4(0x47a)]=0x4]=_0x4c5ff4(0x47a),_0x12a0e1[_0x12a0e1[_0x4c5ff4(0x29b)]=0x5]=_0x4c5ff4(0x29b),_0x12a0e1[_0x12a0e1[_0x4c5ff4(0x20d)]=0x6]=_0x4c5ff4(0x20d),_0x12a0e1[_0x12a0e1[_0x4c5ff4(0x39b)]=-0x1]=_0x4c5ff4(0x39b),_0x12a0e1))(W||{}),oe=(_0xf9e2ea=>(_0xf9e2ea[_0xf9e2ea[_0x4c5ff4(0x2ea)]=0x0]=_0x4c5ff4(0x2ea),_0xf9e2ea[_0xf9e2ea['OK']=0x1]='OK',_0xf9e2ea[_0xf9e2ea['FAIL']=0x2]=_0x4c5ff4(0x4bc),_0xf9e2ea[_0xf9e2ea['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0xf9e2ea[_0xf9e2ea[_0x4c5ff4(0x272)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0xf9e2ea[_0xf9e2ea['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x4c5ff4(0x268),_0xf9e2ea[_0xf9e2ea[_0x4c5ff4(0x567)]=0x3ec]=_0x4c5ff4(0x567),_0xf9e2ea[_0xf9e2ea[_0x4c5ff4(0x39b)]=-0x1]='UNRECOGNIZED',_0xf9e2ea))(oe||{}),Et=(_0x547aa2=>(_0x547aa2[_0x547aa2['Undefined']=0x0]=_0x4c5ff4(0x310),_0x547aa2[_0x547aa2[_0x4c5ff4(0x317)]=0x1]=_0x4c5ff4(0x317),_0x547aa2[_0x547aa2[_0x4c5ff4(0x2cf)]=0x2]='HttpExport',_0x547aa2[_0x547aa2[_0x4c5ff4(0x248)]=0x3]=_0x4c5ff4(0x248),_0x547aa2[_0x547aa2[_0x4c5ff4(0x492)]=0x4]=_0x4c5ff4(0x492),_0x547aa2[_0x547aa2[_0x4c5ff4(0x330)]=0x5]=_0x4c5ff4(0x330),_0x547aa2[_0x547aa2[_0x4c5ff4(0x39b)]=-0x1]='UNRECOGNIZED',_0x547aa2))(Et||{});const G='collaboration-client.config',Kt={};var Z=(_0x387f07=>(_0x387f07[_0x4c5ff4(0x4a1)]=_0x4c5ff4(0x4a1),_0x387f07['PERMISSION_DENIED']='PERMISSION_DENIED',_0x387f07[_0x4c5ff4(0x26b)]=_0x4c5ff4(0x26b),_0x387f07['CLOSE_ROOM']=_0x4c5ff4(0x35b),_0x387f07[_0x4c5ff4(0x44c)]=_0x4c5ff4(0x44c),_0x387f07['SOCKET_FAILED_RETRY']=_0x4c5ff4(0x2ff),_0x387f07['SOCKET_FAILED']=_0x4c5ff4(0x39e),_0x387f07[_0x4c5ff4(0x343)]=_0x4c5ff4(0x343),_0x387f07))(Z||{});class ee{constructor(){var _0x1b6e7b=_0x4c5ff4;A(this,_0x1b6e7b(0x2bf),new $[(_0x1b6e7b(0x256))]()),A(this,_0x1b6e7b(0x1e6),this[_0x1b6e7b(0x2bf)]['asObservable']());}[_0x4c5ff4(0x2ab)](_0x5aa702){var _0x3d10ba=_0x4c5ff4;this['_event$'][_0x3d10ba(0x473)](_0x5aa702);}}const mt=a[_0x4c5ff4(0x1f0)](_0x4c5ff4(0x408));function Ct(_0x4d0ecb){var _0x284737=_0x4c5ff4,_0x29c3ab,_0x4238a4,_0x5a92d1,_0x5747ec,_0x45ee58;const _0x193bb7=_0x4d0ecb[_0x284737(0x1e8)],_0x16731f=JSON[_0x284737(0x257)](_0x193bb7);switch(_0x16731f['cmd']){case W[_0x284737(0x29b)]:case W[_0x284737(0x326)]:{const _0x16adb4=_0x16731f[_0x284737(0x249)];return{..._0x16731f,'data':_0x16adb4,'cmd':_0x16731f[_0x284737(0x535)]};}case W[_0x284737(0x33b)]:{const _0x503b18=_0x16731f[_0x284737(0x4c1)];return{..._0x16731f,'data':_0x503b18,'cmd':_0x16731f[_0x284737(0x535)]};}case W[_0x284737(0x20d)]:{const _0x48b2b1=_0x16731f[_0x284737(0x307)];switch(_0x48b2b1[_0x284737(0x299)]){case p[_0x284737(0x3f0)][_0x284737(0x33a)]:return{..._0x16731f,'data':{..._0x48b2b1,'data':(_0x29c3ab=_0x48b2b1[_0x284737(0x30c)])==null?void 0x0:_0x29c3ab['cs']},'cmd':_0x16731f[_0x284737(0x535)]};case p[_0x284737(0x3f0)][_0x284737(0x33f)]:return{..._0x16731f,'data':{..._0x48b2b1,'data':(_0x4238a4=_0x48b2b1[_0x284737(0x558)])==null?void 0x0:_0x4238a4['cs']},'cmd':_0x16731f[_0x284737(0x535)]};case p[_0x284737(0x3f0)][_0x284737(0x2df)]:return{..._0x16731f,'data':{..._0x48b2b1,'data':(_0x5a92d1=_0x48b2b1[_0x284737(0x530)])==null?void 0x0:_0x5a92d1['cs']},'cmd':_0x16731f['cmd']};case p[_0x284737(0x3f0)][_0x284737(0x22d)]:return{..._0x16731f,'data':{..._0x48b2b1,'data':(_0x5747ec=_0x48b2b1[_0x284737(0x38c)])==null?void 0x0:_0x5747ec['cs']},'cmd':_0x16731f[_0x284737(0x535)]};case p[_0x284737(0x3f0)][_0x284737(0x4d3)]:return{..._0x16731f,'data':{..._0x48b2b1,'data':(_0x45ee58=_0x48b2b1['csShouldRetryEvent'])==null?void 0x0:_0x45ee58['cs']},'cmd':_0x16731f[_0x284737(0x535)]};case p[_0x284737(0x3f0)]['UPDATE_CURSOR']:return{..._0x16731f,'data':{..._0x48b2b1,'data':_0x48b2b1[_0x284737(0x3d0)]},'cmd':_0x16731f[_0x284737(0x535)]};case p['CollaborationEvent'][_0x284737(0x21a)]:return{..._0x16731f,'data':{..._0x48b2b1,'data':_0x48b2b1['joinEvent']},'cmd':_0x16731f[_0x284737(0x535)]};case p[_0x284737(0x3f0)]['USERS_LEAVE']:return{..._0x16731f,'data':{..._0x48b2b1,'data':_0x48b2b1['leaveEvent']},'cmd':_0x16731f['cmd']};case p['CollaborationEvent'][_0x284737(0x41b)]:return{..._0x16731f,'data':{..._0x48b2b1,'data':_0x48b2b1[_0x284737(0x2da)]},'cmd':_0x16731f[_0x284737(0x535)]};case p[_0x284737(0x3f0)][_0x284737(0x339)]:case p['CollaborationEvent'][_0x284737(0x329)]:return{..._0x16731f,'data':{..._0x48b2b1,'data':_0x48b2b1['liveShareOperation']},'cmd':_0x16731f['cmd']};case p[_0x284737(0x3f0)][_0x284737(0x367)]:return{..._0x16731f,'data':{..._0x48b2b1,'data':_0x48b2b1[_0x284737(0x2da)]},'cmd':_0x16731f['cmd']};case p[_0x284737(0x3f0)]['MSG_FOR_ERROR']:return{..._0x16731f,'data':_0x48b2b1,'cmd':_0x16731f[_0x284737(0x535)]};case p['CollaborationEvent'][_0x284737(0x354)]:return{..._0x16731f,'data':{..._0x48b2b1,'data':_0x48b2b1[_0x284737(0x334)]},'cmd':_0x16731f[_0x284737(0x535)]};case p[_0x284737(0x3f0)][_0x284737(0x3d4)]:return{..._0x16731f,'data':{..._0x48b2b1,'data':_0x48b2b1[_0x284737(0x559)]},'cmd':_0x16731f[_0x284737(0x535)]};case p[_0x284737(0x3f0)]['SHOULD_CLOSE_CONN']:return{..._0x16731f,'data':{..._0x48b2b1,'data':_0x48b2b1[_0x284737(0x53a)]},'cmd':_0x16731f[_0x284737(0x535)]};case p['CollaborationEvent'][_0x284737(0x2f3)]:return{..._0x16731f,'data':{..._0x48b2b1,'data':_0x48b2b1[_0x284737(0x3bc)]},'cmd':_0x16731f[_0x284737(0x535)]};default:return _0x16731f;}}default:return _0x16731f;}}function Tt(_0x4c5da9){var _0x3a4b19=_0x4c5ff4;switch(_0x4c5da9[_0x3a4b19(0x535)]){case W[_0x3a4b19(0x29b)]:case W[_0x3a4b19(0x326)]:return JSON['stringify']({'cmd':_0x4c5da9[_0x3a4b19(0x535)],'routeKey':_0x4c5da9[_0x3a4b19(0x270)]});case W[_0x3a4b19(0x47a)]:{let _0x3536a6;switch(_0x4c5da9[_0x3a4b19(0x1e8)][_0x3a4b19(0x299)]){case p[_0x3a4b19(0x3f0)]['UPDATE_CURSOR']:{_0x3536a6={'eventID':p[_0x3a4b19(0x3f0)]['UPDATE_CURSOR'],'updateCursorEvent':_0x4c5da9[_0x3a4b19(0x1e8)][_0x3a4b19(0x1e8)]};break;}case p[_0x3a4b19(0x3f0)][_0x3a4b19(0x4f7)]:{_0x3536a6={'eventID':p['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x4c5da9[_0x3a4b19(0x1e8)]['data']};break;}case p[_0x3a4b19(0x3f0)][_0x3a4b19(0x21a)]:{_0x3536a6={'eventID':p[_0x3a4b19(0x3f0)]['USERS_ENTER'],'joinEvent':_0x4c5da9['data'][_0x3a4b19(0x1e8)]};break;}case p['CollaborationEvent'][_0x3a4b19(0x41b)]:{_0x3536a6={'eventID':p[_0x3a4b19(0x3f0)][_0x3a4b19(0x41b)],'liveShareNewHost':_0x4c5da9[_0x3a4b19(0x1e8)][_0x3a4b19(0x1e8)]};break;}case p[_0x3a4b19(0x3f0)]['LIVESHARE_OPERATION']:{_0x3536a6={'eventID':p[_0x3a4b19(0x3f0)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x4c5da9[_0x3a4b19(0x1e8)][_0x3a4b19(0x1e8)]};break;}case p['CollaborationEvent'][_0x3a4b19(0x367)]:{_0x3536a6={'eventID':p[_0x3a4b19(0x3f0)][_0x3a4b19(0x367)],'liveShareTerminate':_0x4c5da9['data']['data']};break;}case p[_0x3a4b19(0x3f0)][_0x3a4b19(0x519)]:{_0x3536a6={'eventID':p[_0x3a4b19(0x3f0)][_0x3a4b19(0x519)],'liveShareRequestHost':_0x4c5da9[_0x3a4b19(0x1e8)][_0x3a4b19(0x1e8)]};break;}case p['CollaborationEvent'][_0x3a4b19(0x339)]:{_0x3536a6={'eventID':p[_0x3a4b19(0x3f0)][_0x3a4b19(0x339)]};break;}default:_0x3536a6={'eventID':_0x4c5da9[_0x3a4b19(0x1e8)]['eventID']};}return JSON['stringify']({'cmd':_0x4c5da9[_0x3a4b19(0x535)],'routeKey':_0x4c5da9[_0x3a4b19(0x270)],'collaMsg':_0x3536a6});}case W[_0x3a4b19(0x33b)]:return JSON[_0x3a4b19(0x40a)]({'cmd':_0x4c5da9[_0x3a4b19(0x535)],'routeKey':_0x4c5da9[_0x3a4b19(0x270)],'joinReq':_0x4c5da9['data']});case W['LEAVE']:return JSON[_0x3a4b19(0x40a)]({'cmd':_0x4c5da9['cmd'],'routeKey':_0x4c5da9[_0x3a4b19(0x270)],'leaveReq':_0x4c5da9[_0x3a4b19(0x1e8)]});default:throw new Error(_0x3a4b19(0x50a));}}var qt=Object[_0x4c5ff4(0x405)],zt=(_0x32ce7c,_0x58d13d,_0x21e432,_0x20d629)=>{var _0x1e44e7=_0x4c5ff4;for(var _0x168a45=_0x20d629>0x1?void 0x0:_0x20d629?qt(_0x58d13d,_0x21e432):_0x58d13d,_0xb3c8e8=_0x32ce7c[_0x1e44e7(0x54c)]-0x1,_0x15806a;_0xb3c8e8>=0x0;_0xb3c8e8--)(_0x15806a=_0x32ce7c[_0xb3c8e8])&&(_0x168a45=_0x15806a(_0x168a45)||_0x168a45);return _0x168a45;},_e=(_0xfceef7,_0x575bea)=>(_0x5284d7,_0x202224)=>_0x575bea(_0x5284d7,_0x202224,_0xfceef7);const He=a['createIdentifier'](_0x4c5ff4(0x4fa));function Jt(_0x4343b7,_0x2154a1,_0x4b07f9){var _0x4d48d=_0x4c5ff4;return _0x4343b7+'/'+_0x2154a1+_0x4d48d(0x4e9)+_0x4b07f9+_0x4d48d(0x445);}exports[_0x4c5ff4(0x3a3)]=class extends a[_0x4c5ff4(0x1f2)]{constructor(_0x59dd00,_0x401af5,_0x32d0e9,_0xf6cbe,_0x56c661){var _0x48fbdd=_0x4c5ff4;super(),this['_injector']=_0x59dd00,this[_0x48fbdd(0x4ed)]=_0x401af5,this[_0x48fbdd(0x2bb)]=_0x32d0e9,this[_0x48fbdd(0x2d2)]=_0xf6cbe,this[_0x48fbdd(0x323)]=_0x56c661;}[_0x4c5ff4(0x36d)](_0x984dba){var _0x313d0f=_0x4c5ff4;const _0x4c7259=this['_injector']['get'](K[_0x313d0f(0x4ec)]);if(!_0x4c7259)throw new Error(_0x313d0f(0x50c));const _0x2eb528=_0x4c7259[_0x313d0f(0x34b)](_0x984dba);if(!_0x2eb528)throw new Error(_0x313d0f(0x255));const _0x6c1c15=new a[(_0x313d0f(0x3e2))](),_0x2efc0=new $[(_0x313d0f(0x256))]();_0x6c1c15[_0x313d0f(0x1eb)](_0x2eb528['close$'][_0x313d0f(0x240)](_0x358387=>_0x2efc0[_0x313d0f(0x473)](_0x358387))),_0x6c1c15[_0x313d0f(0x1eb)](a[_0x313d0f(0x426)](()=>_0x2efc0[_0x313d0f(0x211)]()));const _0x356624=new $['Subject']();_0x6c1c15[_0x313d0f(0x1eb)](_0x2eb528[_0x313d0f(0x380)][_0x313d0f(0x240)](_0x4f9e70=>_0x356624[_0x313d0f(0x473)](_0x4f9e70))),_0x6c1c15['add'](a[_0x313d0f(0x426)](()=>_0x356624[_0x313d0f(0x211)]()));const _0x58ac7e=new $[(_0x313d0f(0x256))]();_0x6c1c15[_0x313d0f(0x1eb)](_0x2eb528[_0x313d0f(0x3b9)][_0x313d0f(0x240)](_0x5bc76c=>{var _0x5177d9=_0x313d0f;const _0x251c9b=Ct(_0x5bc76c);_0x58ac7e[_0x5177d9(0x473)](_0x251c9b);})),_0x6c1c15[_0x313d0f(0x1eb)](a[_0x313d0f(0x426)](()=>_0x58ac7e[_0x313d0f(0x211)]()));let _0x313c0c;const _0x3a0774=()=>{var _0x23a506=_0x313d0f;_0x356624['next'](new Event(_0x23a506(0x410))),_0x2efc0['next'](new Event('connection\x20error')),_0x313c0c[_0x23a506(0x25c)]();};return _0x313c0c={'memberID':'','close$':_0x2efc0[_0x313d0f(0x2c1)](),'error$':_0x356624[_0x313d0f(0x2c1)](),'open$':_0x2eb528['open$'],'message$':_0x58ac7e['asObservable'](),'send':_0x5b41c9=>{var _0xc2ce2b=_0x313d0f;if(_0x5b41c9[_0xc2ce2b(0x535)]===W[_0xc2ce2b(0x47a)]){if(_0x5b41c9[_0xc2ce2b(0x1e8)]['eventID']===p['CollaborationEvent']['SUBMIT_CHANGESET']){this[_0xc2ce2b(0x4fc)](_0x313c0c,_0x5b41c9[_0xc2ce2b(0x1e8)])[_0xc2ce2b(0x1f8)](_0x4a6353=>{this['_logService']['error'](_0x4a6353),_0x3a0774();});return;}if(_0x5b41c9[_0xc2ce2b(0x1e8)][_0xc2ce2b(0x299)]===p[_0xc2ce2b(0x3f0)][_0xc2ce2b(0x2e7)]){const _0x2955c3=_0x5b41c9[_0xc2ce2b(0x1e8)];this[_0xc2ce2b(0x2b9)](_0x2955c3)['then'](_0xda39a0=>{var _0x46f3ba=_0xc2ce2b;_0x58ac7e[_0x46f3ba(0x473)]({'cmd':W['RECV'],'code':oe['OK'],'routeKey':_0x2955c3['data']['unitID'],'routeType':'','data':{'eventID':p[_0x46f3ba(0x3f0)][_0x46f3ba(0x29f)],'data':{'changesets':_0xda39a0}}});})[_0xc2ce2b(0x1f8)](_0x5340f0=>{var _0x57be85=_0xc2ce2b;this[_0x57be85(0x2d2)][_0x57be85(0x2c9)](_0x5340f0),_0x3a0774();});return;}}_0x2eb528['send'](Tt(_0x5b41c9));},'close':()=>{var _0x3874bf=_0x313d0f;_0x2eb528['close'](),_0x6c1c15[_0x3874bf(0x51c)]();}},_0x313c0c;}async[_0x4c5ff4(0x4fc)](_0x102e37,_0x5a1a7c){var _0x255015=_0x4c5ff4,_0x44dc6e,_0x5de15e;const {unitType:_0x4b1a47,unitID:_0x3718f6,changeset:_0x14f512}=_0x5a1a7c[_0x255015(0x1e8)],_0x4ef927={'unitID':_0x3718f6,'memberID':_0x102e37[_0x255015(0x21c)],'type':_0x4b1a47,'changeset':p[_0x255015(0x548)](_0x14f512)},_0x1d85c4=this[_0x255015(0x2bb)][_0x255015(0x296)](It),_0x2fe4d3=this[_0x255015(0x2bb)][_0x255015(0x296)](G),_0x6a16b9=Jt((_0x5de15e=(_0x44dc6e=_0x2fe4d3==null?void 0x0:_0x2fe4d3['collabSubmitChangesetUrl'])!=null?_0x44dc6e:_0x1d85c4)!=null?_0x5de15e:Vt,_0x4b1a47,_0x3718f6);try{await this[_0x255015(0x4ed)]['post'](_0x6a16b9,{'body':_0x4ef927});}catch(_0x3f0759){throw this['_logService']['error'](_0x255015(0x46e),_0x255015(0x25d)),_0x3f0759;}}async['_fetchMissChangesets'](_0xb9016d){var _0x10beea=_0x4c5ff4;const {unitID:_0x42bbf7,from:_0x17c3d2,to:_0x5ca6fb,unitType:_0x9ece57}=_0xb9016d[_0x10beea(0x1e8)];return(await this[_0x10beea(0x323)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x42bbf7,'type':_0x9ece57,'from':_0x17c3d2,'to':_0x5ca6fb}))[_0x10beea(0x3ff)];}},exports[_0x4c5ff4(0x3a3)]=zt([_e(0x0,a[_0x4c5ff4(0x2d6)](a['Injector'])),_e(0x1,a[_0x4c5ff4(0x2d6)](K[_0x4c5ff4(0x2ad)])),_e(0x2,a[_0x4c5ff4(0x344)]),_e(0x3,a[_0x4c5ff4(0x4d5)]),_e(0x4,p['ISnapshotServerService'])],exports[_0x4c5ff4(0x3a3)]);const Xt=_0x4c5ff4(0x52b);function Zt(_0xd93f3d){var _0x517e9b=_0x4c5ff4;return JSON[_0x517e9b(0x40a)](_0xd93f3d)[_0x517e9b(0x54c)];}class $e{constructor(){var _0x1db9dc=_0x4c5ff4;A(this,_0x1db9dc(0x54e),new $['Subject']()),A(this,_0x1db9dc(0x22b),this[_0x1db9dc(0x54e)][_0x1db9dc(0x2c1)]());}[_0x4c5ff4(0x20e)](_0x7bd991){var _0xab46f6=_0x4c5ff4;this[_0xab46f6(0x54e)][_0xab46f6(0x473)](_0x7bd991);}}var Qt=Object['getOwnPropertyDescriptor'],ei=(_0x2db488,_0x1a3dbc,_0x5c0b8f,_0x209e30)=>{var _0x4d7344=_0x4c5ff4;for(var _0xbbc785=_0x209e30>0x1?void 0x0:_0x209e30?Qt(_0x1a3dbc,_0x5c0b8f):_0x1a3dbc,_0x448e17=_0x2db488[_0x4d7344(0x54c)]-0x1,_0x1fc2bf;_0x448e17>=0x0;_0x448e17--)(_0x1fc2bf=_0x2db488[_0x448e17])&&(_0xbbc785=_0x1fc2bf(_0xbbc785)||_0xbbc785);return _0xbbc785;},We=(_0x1fef93,_0x18984c)=>(_0x3e2a4c,_0x266439)=>_0x18984c(_0x3e2a4c,_0x266439,_0x1fef93);exports[_0x4c5ff4(0x306)]=class extends a['Disposable']{constructor(_0x42e316,_0xd2bd46){var _0x3a5d38=_0x4c5ff4;super(),A(this,_0x3a5d38(0x3f4),new Map()),A(this,'_roomCreated$',new $[(_0x3a5d38(0x256))]()),(this[_0x3a5d38(0x2c3)]=_0x42e316,this['_userManagerService']=_0xd2bd46,this[_0x3a5d38(0x294)]($[_0x3a5d38(0x287)](this[_0x3a5d38(0x2c3)][_0x3a5d38(0x244)](a[_0x3a5d38(0x4b8)]['UNIVER_SHEET'])[_0x3a5d38(0x51e)](V['map'](_0x5ee41=>_0x5ee41['getUnitId']())),this[_0x3a5d38(0x2c3)][_0x3a5d38(0x244)](a[_0x3a5d38(0x4b8)][_0x3a5d38(0x3db)])[_0x3a5d38(0x51e)](V['map'](_0x456b2a=>_0x456b2a['getUnitId']())),this[_0x3a5d38(0x2c3)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x3a5d38(0x254)])[_0x3a5d38(0x51e)](V[_0x3a5d38(0x474)](_0x400e30=>_0x400e30['getUnitId']())))[_0x3a5d38(0x240)](_0x1a1bbf=>this['_removeRoom'](_0x1a1bbf))));}[_0x4c5ff4(0x434)](_0x38b110){var _0x2fa683=_0x4c5ff4;return this[_0x2fa683(0x3f4)][_0x2fa683(0x232)](_0x38b110)?$['of'](this[_0x2fa683(0x3f4)][_0x2fa683(0x38f)](_0x38b110)):this[_0x2fa683(0x2e4)]['pipe'](V['map'](_0x3104d9=>{var _0x537ca2=_0x2fa683;if(_0x3104d9===_0x38b110)return this[_0x537ca2(0x3f4)]['get'](_0x3104d9);}));}[_0x4c5ff4(0x4ae)](_0x4f1a0d){var _0x44dacd=_0x4c5ff4;this[_0x44dacd(0x273)]['setCurrentUser'](_0x4f1a0d);}['getCurrentUser'](){var _0x1ec3a4=_0x4c5ff4;return this[_0x1ec3a4(0x273)][_0x1ec3a4(0x3e5)]();}[_0x4c5ff4(0x3ba)](_0x2418b6,_0x3e2ea5){var _0x10eecd=_0x4c5ff4;let _0x19156e=this['_roomMembers'][_0x10eecd(0x38f)](_0x2418b6);_0x19156e||(_0x19156e=new ti(),this['_roomMembers']['set'](_0x2418b6,_0x19156e),this[_0x10eecd(0x2e4)][_0x10eecd(0x473)](_0x2418b6)),_0x19156e[_0x10eecd(0x3ba)](_0x3e2ea5);}[_0x4c5ff4(0x364)](_0x400c26,_0x4b1a4d){var _0x2c9dd7=_0x4c5ff4;const _0xfb3eb3=this['_roomMembers'][_0x2c9dd7(0x38f)](_0x400c26);_0xfb3eb3&&_0xfb3eb3['removeMember'](_0x4b1a4d);}['getRoom'](_0x36a659){var _0x2b0675=_0x4c5ff4;return this[_0x2b0675(0x3f4)]['get'](_0x36a659);}[_0x4c5ff4(0x464)](_0x54d483,_0x5ef6d9){var _0x9505e6=_0x4c5ff4;const _0x3598b1=this[_0x9505e6(0x3f4)]['get'](_0x54d483);if(_0x3598b1)return _0x3598b1[_0x9505e6(0x464)](_0x5ef6d9);}[_0x4c5ff4(0x206)](_0x5da265){var _0x1cf916=_0x4c5ff4;const _0x28ca08=this[_0x1cf916(0x3f4)][_0x1cf916(0x38f)](_0x5da265);_0x28ca08&&(_0x28ca08[_0x1cf916(0x51c)](),this['_roomMembers'][_0x1cf916(0x368)](_0x5da265));}[_0x4c5ff4(0x51c)](){var _0x4ebbe1=_0x4c5ff4;this[_0x4ebbe1(0x3f4)][_0x4ebbe1(0x56d)](_0x4b11a1=>_0x4b11a1[_0x4ebbe1(0x51c)]()),this[_0x4ebbe1(0x3f4)][_0x4ebbe1(0x372)](),this[_0x4ebbe1(0x2e4)]['complete']();}},exports[_0x4c5ff4(0x306)]=ei([We(0x0,a[_0x4c5ff4(0x2fb)]),We(0x1,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x2af)]))],exports[_0x4c5ff4(0x306)]);class ti extends a[_0x4c5ff4(0x1f2)]{constructor(){var _0x4fd172=_0x4c5ff4;super(...arguments),A(this,'_members',new Map()),A(this,_0x4fd172(0x44e),new $[(_0x4fd172(0x40e))](this[_0x4fd172(0x49d)])),A(this,'members$',this['_members$'][_0x4fd172(0x2c1)]());}[_0x4c5ff4(0x51c)](){var _0x30d2ef=_0x4c5ff4;this[_0x30d2ef(0x49d)][_0x30d2ef(0x372)]();}[_0x4c5ff4(0x3ba)](_0xc2707d){var _0x764d40=_0x4c5ff4;this[_0x764d40(0x49d)]['set'](_0xc2707d[_0x764d40(0x21c)],_0xc2707d),this[_0x764d40(0x34f)]();}[_0x4c5ff4(0x364)](_0x373814){var _0x65ea92=_0x4c5ff4;this[_0x65ea92(0x49d)]['delete'](_0x373814);}['getMember'](_0x29c310){var _0x3e7e53=_0x4c5ff4;return this[_0x3e7e53(0x49d)][_0x3e7e53(0x38f)](_0x29c310);}[_0x4c5ff4(0x2e8)](){var _0x89d246=_0x4c5ff4;return Array[_0x89d246(0x34e)](this[_0x89d246(0x49d)]['values']());}[_0x4c5ff4(0x34f)](){var _0x57187e=_0x4c5ff4;this[_0x57187e(0x44e)][_0x57187e(0x473)](this[_0x57187e(0x49d)]);}}var ii=Object[_0x4c5ff4(0x405)],ni=(_0x1223ac,_0x199bb4,_0x53d993,_0x50a65e)=>{var _0x1e42ca=_0x4c5ff4;for(var _0x20217a=_0x50a65e>0x1?void 0x0:_0x50a65e?ii(_0x199bb4,_0x53d993):_0x199bb4,_0x34919e=_0x1223ac[_0x1e42ca(0x54c)]-0x1,_0x1f0d6a;_0x34919e>=0x0;_0x34919e--)(_0x1f0d6a=_0x1223ac[_0x34919e])&&(_0x20217a=_0x1f0d6a(_0x20217a)||_0x20217a);return _0x20217a;},se=(_0x31a936,_0x37e904)=>(_0x586f0b,_0x579df6)=>_0x37e904(_0x586f0b,_0x579df6,_0x31a936),re=(_0xb5ad37=>(_0xb5ad37[_0xb5ad37[_0x4c5ff4(0x23c)]=0x0]=_0x4c5ff4(0x23c),_0xb5ad37[_0xb5ad37[_0x4c5ff4(0x1f1)]=0x1]='JOINING',_0xb5ad37[_0xb5ad37[_0x4c5ff4(0x44d)]=0x2]=_0x4c5ff4(0x44d),_0xb5ad37[_0xb5ad37[_0x4c5ff4(0x4a2)]=0x3]='ONLINE',_0xb5ad37))(re||{});const Ye={[oe[_0x4c5ff4(0x4bc)]]:'session.join-failed',[oe[_0x4c5ff4(0x4b2)]]:_0x4c5ff4(0x391),[oe[_0x4c5ff4(0x272)]]:_0x4c5ff4(0x53e),[oe['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[oe[_0x4c5ff4(0x567)]]:_0x4c5ff4(0x517)};exports[_0x4c5ff4(0x515)]=class extends a[_0x4c5ff4(0x2fc)]{constructor(_0xb83ca8,_0x52ef6b,_0x386167,_0x3d3436,_0x120073,_0x16cdaa,_0x4d948e,_0xfb0899,_0x2d077a){var _0x249ac7=_0x4c5ff4;super(),A(this,_0x249ac7(0x346),new $[(_0x249ac7(0x40e))](0x0)),A(this,'sessionStatus$',this[_0x249ac7(0x346)][_0x249ac7(0x2c1)]()),A(this,_0x249ac7(0x2bf),new $['Subject']()),A(this,'event$',this[_0x249ac7(0x2bf)][_0x249ac7(0x2c1)]()),A(this,_0x249ac7(0x47c)),A(this,_0x249ac7(0x487)),A(this,'_collaborationTimeoutTimer'),A(this,_0x249ac7(0x3a8),!0x1),A(this,_0x249ac7(0x233),null),(this[_0x249ac7(0x560)]=_0xb83ca8,this[_0x249ac7(0x2d2)]=_0x386167,this['_configService']=_0x3d3436,this[_0x249ac7(0x563)]=_0x120073,this[_0x249ac7(0x32b)]=_0x16cdaa,this[_0x249ac7(0x3c8)]=_0x4d948e,this['_collaborationUIEventService']=_0xfb0899,this[_0x249ac7(0x2fa)]=_0x2d077a,this[_0x249ac7(0x3a8)]=!!this[_0x249ac7(0x2fa)],_0x52ef6b[_0x249ac7(0x51e)]($[_0x249ac7(0x4ee)](this['dispose$']))[_0x249ac7(0x240)](_0x3d39d5=>{var _0x3e9dff=_0x249ac7,_0x1e38a5;typeof _0x3d39d5>'u'||(this[_0x3e9dff(0x47c)]=_0x3d39d5,_0x3d39d5?(this[_0x3e9dff(0x245)](_0x3d39d5),this[_0x3e9dff(0x487)]=_0x3d39d5[_0x3e9dff(0x3b9)][_0x3e9dff(0x240)](_0x2a6161=>{var _0x5279ee=_0x3e9dff;_0x2a6161['routeKey']===this[_0x5279ee(0x560)]&&this[_0x5279ee(0x314)](_0x2a6161);})):(this[_0x3e9dff(0x28e)](),this[_0x3e9dff(0x346)][_0x3e9dff(0x473)](0x2),(_0x1e38a5=this['_socketMessageSubscription'])==null||_0x1e38a5[_0x3e9dff(0x49f)](),this[_0x3e9dff(0x487)]=null));}));}get[_0x4c5ff4(0x2a1)](){var _0x30485f=_0x4c5ff4;return this[_0x30485f(0x346)][_0x30485f(0x384)]();}[_0x4c5ff4(0x550)](){var _0x438c58=_0x4c5ff4,_0x1e090e,_0x22dcc7;return(_0x22dcc7=(_0x1e090e=this[_0x438c58(0x47c)])==null?void 0x0:_0x1e090e[_0x438c58(0x21c)])!=null?_0x22dcc7:null;}[_0x4c5ff4(0x51c)](){var _0x3d8a6c=_0x4c5ff4;super[_0x3d8a6c(0x51c)](),this[_0x3d8a6c(0x505)][_0x3d8a6c(0x473)](),this[_0x3d8a6c(0x505)][_0x3d8a6c(0x211)]();}[_0x4c5ff4(0x25c)](){var _0x5ad41c=_0x4c5ff4,_0x5a8127,_0x488b5a;this[_0x5ad41c(0x28e)](),(_0x5a8127=this[_0x5ad41c(0x47c)])==null||_0x5a8127[_0x5ad41c(0x467)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x5ad41c(0x560)]}}),(_0x488b5a=this[_0x5ad41c(0x47c)])==null||_0x488b5a[_0x5ad41c(0x25c)](),this[_0x5ad41c(0x2bf)][_0x5ad41c(0x211)](),this[_0x5ad41c(0x346)][_0x5ad41c(0x211)](),this[_0x5ad41c(0x51c)]();}['_onCombEvent'](_0x862332){var _0x43a210=_0x4c5ff4;_0x862332['cmd']===W['JOIN']?this[_0x43a210(0x3cd)](_0x862332):_0x862332[_0x43a210(0x535)]===W[_0x43a210(0x20d)]&&this[_0x43a210(0x537)](_0x862332);}[_0x4c5ff4(0x245)](_0x5e3fd0){var _0x3382d9=_0x4c5ff4;this['_sessionStatus$'][_0x3382d9(0x473)](0x1),_0x5e3fd0['send']({'cmd':W[_0x3382d9(0x33b)],'routeKey':this[_0x3382d9(0x560)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x44618c){var _0x53ee75=_0x4c5ff4,_0x1b1897;if(_0x44618c[_0x53ee75(0x3aa)]in Ye){this[_0x53ee75(0x4ba)][_0x53ee75(0x2ab)]({'id':Z[_0x53ee75(0x44c)],'data':Ye[_0x44618c[_0x53ee75(0x3aa)]]}),this[_0x53ee75(0x346)][_0x53ee75(0x473)](0x2);return;}this[_0x53ee75(0x346)][_0x53ee75(0x473)](0x3);const _0x364e20=(_0x1b1897=_0x44618c['data'][_0x53ee75(0x490)][this[_0x53ee75(0x560)]])==null?void 0x0:_0x1b1897[_0x53ee75(0x4dc)];_0x364e20&&_0x364e20['forEach'](_0x5db430=>this[_0x53ee75(0x32b)]['updateMember'](this['_unitID'],_0x5db430));}[_0x4c5ff4(0x537)](_0x210d52){var _0x4efca7=_0x4c5ff4;try{const _0x42e7ea=_0x210d52['data'];switch(_0x42e7ea[_0x4efca7(0x299)]){case p[_0x4efca7(0x3f0)][_0x4efca7(0x21a)]:this[_0x4efca7(0x50e)](_0x42e7ea),this[_0x4efca7(0x2bf)][_0x4efca7(0x473)](_0x42e7ea);break;case p[_0x4efca7(0x3f0)]['USERS_LEAVE']:this[_0x4efca7(0x204)](_0x42e7ea),this[_0x4efca7(0x2bf)][_0x4efca7(0x473)](_0x42e7ea);break;case p['CollaborationEvent'][_0x4efca7(0x33f)]:case p[_0x4efca7(0x3f0)][_0x4efca7(0x4d3)]:this[_0x4efca7(0x3e6)](),this[_0x4efca7(0x2b8)](),this[_0x4efca7(0x2bf)][_0x4efca7(0x473)](_0x42e7ea);break;case p[_0x4efca7(0x3f0)]['MSG_FOR_ERROR']:this[_0x4efca7(0x2d2)][_0x4efca7(0x2c9)](_0x4efca7(0x2ee)+JSON[_0x4efca7(0x40a)](_0x42e7ea)),this[_0x4efca7(0x2bf)]['next'](_0x42e7ea);break;case p[_0x4efca7(0x3f0)]['COMMENT_UPDATE']:this['_commentService'][_0x4efca7(0x20e)](_0x42e7ea[_0x4efca7(0x1e8)]),this[_0x4efca7(0x2bf)][_0x4efca7(0x473)](_0x42e7ea);break;default:this[_0x4efca7(0x2bf)][_0x4efca7(0x473)](_0x42e7ea);}}catch(_0x2dd20e){this[_0x4efca7(0x2d2)][_0x4efca7(0x2c9)](_0x2dd20e,_0x210d52);}}[_0x4c5ff4(0x50e)](_0x3795e4){var _0xb98843=_0x4c5ff4;this[_0xb98843(0x32b)][_0xb98843(0x3ba)](this[_0xb98843(0x560)],_0x3795e4[_0xb98843(0x1e8)]);}[_0x4c5ff4(0x204)](_0x15fbe9){var _0x3c267f=_0x4c5ff4;this[_0x3c267f(0x32b)]['removeMember'](this[_0x3c267f(0x560)],_0x15fbe9[_0x3c267f(0x1e8)][_0x3c267f(0x21c)]);}async['send'](_0x4e451b,_0x51f383){var _0x366014=_0x4c5ff4;if(this[_0x366014(0x2a1)]!==0x3||!this[_0x366014(0x47c)])throw new Error(_0x366014(0x47b));try{_0x4e451b['eventID']===p[_0x366014(0x3f0)]['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x366014(0x22a)](_0x4e451b)),this[_0x366014(0x47c)][_0x366014(0x467)]({'cmd':W[_0x366014(0x47a)],'routeKey':_0x51f383,'routeType':'','data':_0x4e451b});}catch(_0x383523){this[_0x366014(0x2d2)]['error'](_0x383523);}}[_0x4c5ff4(0x2e2)](){var _0x1aae4f=_0x4c5ff4,_0x41b6ce;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x64766d=_0x1dd8;this[_0x64766d(0x210)]=null,this['_collaborationUIEventService']['emitEvent']({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x41b6ce=this['_configService'][_0x1aae4f(0x296)](ke))!=null?_0x41b6ce:St);}[_0x4c5ff4(0x2b8)](){var _0x154e52=_0x4c5ff4;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x154e52(0x210)]),this['_collaborationTimeoutTimer']=null);}[_0x4c5ff4(0x22a)](_0x5ecb7f){var _0x430b1c=_0x4c5ff4;if(!this[_0x430b1c(0x3a8)])return;const {data:_0x2271ac}=_0x5ecb7f,{unitID:_0x1fdc9b,changeset:_0xb7c174}=_0x2271ac,{mutations:_0x1148df,type:_0x51e597}=_0xb7c174;this[_0x430b1c(0x233)]={'unitId':_0x1fdc9b,'type':_0x51e597,'startTime':performance[_0x430b1c(0x24b)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x1148df)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x5d8dd0=_0x4c5ff4;if(this[_0x5d8dd0(0x3a8)]){if(!this[_0x5d8dd0(0x233)]){this[_0x5d8dd0(0x2d2)][_0x5d8dd0(0x2c9)](_0x5d8dd0(0x46e),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x5d8dd0(0x200)]=performance[_0x5d8dd0(0x24b)](),this[_0x5d8dd0(0x233)][_0x5d8dd0(0x3c3)]=this['_telemetryInfo']['stopTime']-this[_0x5d8dd0(0x233)][_0x5d8dd0(0x4cf)],this[_0x5d8dd0(0x2fa)][_0x5d8dd0(0x3d7)](Xt,this[_0x5d8dd0(0x233)]),this[_0x5d8dd0(0x233)]=null;}}[_0x4c5ff4(0x28e)](){var _0x17df9b=_0x4c5ff4;this[_0x17df9b(0x233)]=null;}},exports[_0x4c5ff4(0x515)]=ni([se(0x2,a[_0x4c5ff4(0x4d5)]),se(0x3,a[_0x4c5ff4(0x344)]),se(0x4,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x4c4)])),se(0x5,a['Inject'](exports[_0x4c5ff4(0x306)])),se(0x6,a[_0x4c5ff4(0x2d6)]($e)),se(0x7,a[_0x4c5ff4(0x2d6)](ee)),se(0x8,a[_0x4c5ff4(0x28a)](Pt[_0x4c5ff4(0x2fd)]))],exports[_0x4c5ff4(0x515)]);var ri=Object['getOwnPropertyDescriptor'],si=(_0x3ea2ba,_0x1b9802,_0x25da35,_0x58b799)=>{var _0x5c8ba7=_0x4c5ff4;for(var _0xf5181f=_0x58b799>0x1?void 0x0:_0x58b799?ri(_0x1b9802,_0x25da35):_0x1b9802,_0x30d247=_0x3ea2ba[_0x5c8ba7(0x54c)]-0x1,_0x53cf48;_0x30d247>=0x0;_0x30d247--)(_0x53cf48=_0x3ea2ba[_0x30d247])&&(_0xf5181f=_0x53cf48(_0xf5181f)||_0xf5181f);return _0xf5181f;},he=(_0x31801b,_0x1145b5)=>(_0x2aa7eb,_0x280af2)=>_0x1145b5(_0x2aa7eb,_0x280af2,_0x31801b);exports['CollaborationSessionService']=class extends a[_0x4c5ff4(0x1f2)]{constructor(_0x28bfb1,_0x284be5,_0x47a10f,_0xd56121,_0x65628c,_0x5d2457){var _0x326a0d=_0x4c5ff4;super(),A(this,_0x326a0d(0x457),new $[(_0x326a0d(0x40e))](void 0x0)),A(this,_0x326a0d(0x49c),this['_socket$'][_0x326a0d(0x2c1)]()),A(this,_0x326a0d(0x48c),null),A(this,_0x326a0d(0x2e1),new Map()),A(this,'_status$',new $[(_0x326a0d(0x40e))](re[_0x326a0d(0x23c)])),A(this,'status$',this[_0x326a0d(0x4a6)][_0x326a0d(0x2c1)]()),A(this,_0x326a0d(0x393),!0x1),A(this,'_retryConnectingTimer'),A(this,_0x326a0d(0x4c6),0x0),A(this,_0x326a0d(0x3de)),A(this,_0x326a0d(0x29e)),(this[_0x326a0d(0x2f8)]=_0x28bfb1,this[_0x326a0d(0x2d2)]=_0x284be5,this[_0x326a0d(0x2bb)]=_0x47a10f,this['_socketService']=_0xd56121,this['_collaborationUIEventService']=_0x65628c,this[_0x326a0d(0x1fa)]=_0x5d2457,this['_listenToNetworkCondition']());}get[_0x4c5ff4(0x47c)](){var _0x541c18=_0x4c5ff4;return this[_0x541c18(0x457)][_0x541c18(0x384)]();}[_0x4c5ff4(0x202)](){var _0x1729f0=_0x4c5ff4;this[_0x1729f0(0x1fa)]&&this[_0x1729f0(0x294)](this[_0x1729f0(0x1fa)]['online$'][_0x1729f0(0x240)](_0x316316=>{var _0xda15f3=_0x1729f0;_0x316316&&!this[_0xda15f3(0x47c)]&&this[_0xda15f3(0x3cf)](),_0x316316||this[_0xda15f3(0x43d)]();}));}[_0x4c5ff4(0x51c)](){var _0x39112f=_0x4c5ff4;super['dispose'](),this['_clearRetryConnectingTimer'](),this[_0x39112f(0x22f)](),this['_clearHeartbeatTimer'](),this[_0x39112f(0x2e1)]['forEach'](_0x33de4d=>_0x33de4d[_0x39112f(0x51c)]()),this[_0x39112f(0x2e1)]['clear'](),this[_0x39112f(0x4a6)][_0x39112f(0x211)]();}async[_0x4c5ff4(0x37b)](_0x200464){var _0x3ea2b4=_0x4c5ff4;if(this['_sessions'][_0x3ea2b4(0x232)](_0x200464))return this['_sessions'][_0x3ea2b4(0x38f)](_0x200464);this['_tryEnsureSocket']();const _0x3fc93d=this[_0x3ea2b4(0x2f8)][_0x3ea2b4(0x3e3)](exports[_0x3ea2b4(0x515)],_0x200464,this[_0x3ea2b4(0x457)][_0x3ea2b4(0x2c1)]());return this[_0x3ea2b4(0x2e1)][_0x3ea2b4(0x2e6)](_0x200464,_0x3fc93d),_0x3fc93d;}[_0x4c5ff4(0x4af)](_0x4f995b){var _0x414d7d=_0x4c5ff4,_0x5eb63d;const _0x2c09ef=this[_0x414d7d(0x2e1)][_0x414d7d(0x38f)](_0x4f995b);_0x2c09ef&&(this[_0x414d7d(0x2e1)][_0x414d7d(0x368)](_0x4f995b),_0x2c09ef[_0x414d7d(0x25c)]()),this[_0x414d7d(0x2e1)]['size']||(_0x5eb63d=this[_0x414d7d(0x47c)])==null||_0x5eb63d[_0x414d7d(0x25c)]();}[_0x4c5ff4(0x3cf)](){var _0x3e534b=_0x4c5ff4;this[_0x3e534b(0x4c6)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x3e534b(0x508)]();}[_0x4c5ff4(0x4df)](){var _0x3be380=_0x4c5ff4;this[_0x3be380(0x50d)]!=null&&(clearTimeout(this[_0x3be380(0x50d)]),this['_retryConnectingTimer']=null);}async[_0x4c5ff4(0x3d2)](){var _0x32bb95=_0x4c5ff4,_0x38f39d,_0x415533;const _0x504f8e=this[_0x32bb95(0x2bb)][_0x32bb95(0x296)](ut),_0x271e0c=this['_configService'][_0x32bb95(0x296)](G),_0x28c8fa=(_0x415533=(_0x38f39d=_0x271e0c==null?void 0x0:_0x271e0c[_0x32bb95(0x212)])!=null?_0x38f39d:_0x504f8e)!=null?_0x415533:dt,_0x47a43a=await this[_0x32bb95(0x4a5)][_0x32bb95(0x34b)](_0x28c8fa);return this['_candidateSocket']=_0x47a43a,_0x47a43a;}async[_0x4c5ff4(0x47e)](){var _0x21797f=_0x4c5ff4,_0x5abe2a,_0x53c388;try{const _0x58fe17=(_0x53c388=(_0x5abe2a=this[_0x21797f(0x47c)])!=null?_0x5abe2a:this[_0x21797f(0x48c)])!=null?_0x53c388:await this[_0x21797f(0x3d2)]();if(_0x58fe17){const _0x24ee8d=_0x58fe17[_0x21797f(0x467)];_0x58fe17[_0x21797f(0x467)]=_0x5962d9=>(this[_0x21797f(0x28b)](),_0x24ee8d[_0x21797f(0x1ff)](_0x58fe17,[_0x5962d9])),_0x58fe17[_0x21797f(0x3b9)]['subscribe'](_0x2e78d0=>this[_0x21797f(0x333)](_0x58fe17,_0x2e78d0)),_0x58fe17['error$'][_0x21797f(0x51e)](V[_0x21797f(0x262)](0x1))[_0x21797f(0x240)](_0x3ee896=>this[_0x21797f(0x2d2)]['error'](_0x21797f(0x55d),_0x3ee896)),_0x58fe17[_0x21797f(0x4e1)][_0x21797f(0x51e)](V[_0x21797f(0x262)](0x1))[_0x21797f(0x240)](()=>{this['_onConnectionOpen'](_0x58fe17);}),_0x58fe17[_0x21797f(0x4c3)][_0x21797f(0x51e)](V[_0x21797f(0x262)](0x1))[_0x21797f(0x240)](_0x3929fd=>{var _0x4a0ed4=_0x21797f;this[_0x4a0ed4(0x2d2)][_0x4a0ed4(0x205)]('[CollaborationSessionService]',_0x4a0ed4(0x4a0),_0x3929fd),this[_0x4a0ed4(0x35d)]();});}}catch(_0x1afc1f){this[_0x21797f(0x2d2)]['error'](_0x1afc1f),this[_0x21797f(0x35d)]();}}[_0x4c5ff4(0x41f)](_0x3ebd06){var _0x58caf1=_0x4c5ff4;this[_0x58caf1(0x2d2)][_0x58caf1(0x205)]('[CollaborationSessionService]',_0x58caf1(0x3c2)),_0x3ebd06[_0x58caf1(0x467)]({'cmd':W[_0x58caf1(0x326)]}),this[_0x58caf1(0x28b)]();}[_0x4c5ff4(0x43d)](){var _0x29143d=_0x4c5ff4;this[_0x29143d(0x393)]=!0x1,this[_0x29143d(0x48c)]=null,this[_0x29143d(0x4a6)]['next'](re[_0x29143d(0x44d)]),this[_0x29143d(0x457)][_0x29143d(0x473)](null),this[_0x29143d(0x22f)](),this['_clearHeartbeatTimer']();}[_0x4c5ff4(0x35d)](){var _0x9b5868=_0x4c5ff4,_0x2362b5;this[_0x9b5868(0x43d)](),this[_0x9b5868(0x4c6)]<((_0x2362b5=this['_configService'][_0x9b5868(0x296)](ft))!=null?_0x2362b5:jt)?(this[_0x9b5868(0x4ba)][_0x9b5868(0x2ab)]({'id':Z[_0x9b5868(0x2ff)]}),this[_0x9b5868(0x508)]()):this[_0x9b5868(0x4ba)][_0x9b5868(0x2ab)]({'id':Z[_0x9b5868(0x39e)]});}[_0x4c5ff4(0x508)](){var _0x3aba12=_0x4c5ff4,_0x3d398c;const _0x455afd=this[_0x3aba12(0x4c6)],_0x397e42=this[_0x3aba12(0x2bb)][_0x3aba12(0x296)](G),_0x5df6b1=_0x455afd===0x0?0x0:((_0x3d398c=_0x397e42==null?void 0x0:_0x397e42[_0x3aba12(0x488)])!=null?_0x3d398c:$t)*0x2**_0x455afd;this[_0x3aba12(0x50d)]=setTimeout(()=>{var _0x207e0d=_0x3aba12;clearTimeout(this[_0x207e0d(0x50d)]),this[_0x207e0d(0x50d)]=null,this[_0x207e0d(0x47e)]();},_0x5df6b1),this[_0x3aba12(0x4c6)]+=0x1;}['_onMessage'](_0x3437cd,_0x462422){var _0x3b0cda=_0x4c5ff4;const {cmd:_0x107260}=_0x462422;_0x107260===W['HELLO']&&!this[_0x3b0cda(0x393)]&&(_0x3437cd[_0x3b0cda(0x21c)]=_0x462422[_0x3b0cda(0x1e8)][_0x3b0cda(0x21c)],this[_0x3b0cda(0x457)]['next'](_0x3437cd),this[_0x3b0cda(0x4a6)][_0x3b0cda(0x473)](re[_0x3b0cda(0x4a2)]),this[_0x3b0cda(0x393)]=!0x0,this['_candidateSocket']=null),_0x107260===W[_0x3b0cda(0x29b)]&&this[_0x3b0cda(0x22f)](),this[_0x3b0cda(0x28b)]();}[_0x4c5ff4(0x28b)](){var _0x2246cb=_0x4c5ff4,_0x4eed92;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x4eed92=this[_0x2246cb(0x2bb)][_0x2246cb(0x296)](vt))!=null?_0x4eed92:Ht);}[_0x4c5ff4(0x433)](){var _0x272298=_0x4c5ff4;this[_0x272298(0x47c)][_0x272298(0x467)]({'cmd':W['HEARTBEAT']}),this[_0x272298(0x381)]();}[_0x4c5ff4(0x381)](){var _0x19a28a=_0x4c5ff4,_0x419659;this[_0x19a28a(0x29e)]=setTimeout(()=>this[_0x19a28a(0x35d)](),(_0x419659=this[_0x19a28a(0x2bb)][_0x19a28a(0x296)](ke))!=null?_0x419659:St);}[_0x4c5ff4(0x285)](){var _0x3592fa=_0x4c5ff4;this[_0x3592fa(0x3de)]!=null&&(clearTimeout(this[_0x3592fa(0x3de)]),this[_0x3592fa(0x3de)]=null);}[_0x4c5ff4(0x22f)](){var _0x38a431=_0x4c5ff4;this[_0x38a431(0x29e)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}},exports['CollaborationSessionService']=si([he(0x0,a[_0x4c5ff4(0x2d6)](a['Injector'])),he(0x1,a[_0x4c5ff4(0x4d5)]),he(0x2,a[_0x4c5ff4(0x344)]),he(0x3,He),he(0x4,a[_0x4c5ff4(0x2d6)](ee)),he(0x5,a[_0x4c5ff4(0x28a)](mt))],exports[_0x4c5ff4(0x2e3)]);const q=a['createIdentifier']('collaboration-client.local-cache-service');function oi(_0x57d0b3){var _0x12b7ab=_0x4c5ff4;return _0x12b7ab(0x338)+_0x57d0b3;}var ai=Object[_0x4c5ff4(0x405)],ci=(_0x5932d9,_0x30f167,_0xacebaf,_0x58890c)=>{for(var _0x357d8f=_0x58890c>0x1?void 0x0:_0x58890c?ai(_0x30f167,_0xacebaf):_0x30f167,_0x5f1a8b=_0x5932d9['length']-0x1,_0x5afe21;_0x5f1a8b>=0x0;_0x5f1a8b--)(_0x5afe21=_0x5932d9[_0x5f1a8b])&&(_0x357d8f=_0x5afe21(_0x357d8f)||_0x357d8f);return _0x357d8f;},Ue=(_0x5c6029,_0x242635)=>(_0x497fe1,_0x1069a6)=>_0x242635(_0x497fe1,_0x1069a6,_0x5c6029);function hi(_0x3577b0){var _0x3dbf04=_0x4c5ff4;const {unitID:_0x3a69a7,mutations:_0x3507c0}=_0x3577b0;return{'unitId':_0x3a69a7,'subUnitId':_0x3507c0[0x0]['params'][_0x3dbf04(0x437)]};}exports['SheetTransformSelectionsService']=class{constructor(_0x19ba03,_0x2a253e,_0x521bc9){var _0x3312ef=_0x4c5ff4;this[_0x3312ef(0x2f8)]=_0x19ba03,this[_0x3312ef(0x456)]=_0x2a253e,this[_0x3312ef(0x224)]=_0x521bc9;}[_0x4c5ff4(0x531)](_0x1e39a6){var _0x3ff114=_0x4c5ff4,_0x45ea34,_0x56dffa,_0x376347,_0x6edb5a;const _0x310515=this[_0x3ff114(0x2f8)][_0x3ff114(0x38f)](X[_0x3ff114(0x291)]),{unitId:_0x4bc249,subUnitId:_0x5c8a8d}=hi(_0x1e39a6),_0x4fa9b9=_0x310515==null?void 0x0:_0x310515[_0x3ff114(0x30b)](_0x4bc249)[_0x3ff114(0x481)](),_0x2827bf=(_0x56dffa=(_0x45ea34=this['_instanceService'][_0x3ff114(0x4c8)](_0x4bc249))==null?void 0x0:_0x45ea34[_0x3ff114(0x31c)]())==null?void 0x0:_0x56dffa['getSheetId']();if(_0x4fa9b9['length']===0x0||!_0x4bc249||!_0x5c8a8d)return;const _0x422f39=[{'id':X['SetSelectionsOperation']['id'],'params':{'unitId':_0x4bc249,'subUnitId':_0x2827bf,'selections':a[_0x3ff114(0x532)][_0x3ff114(0x31b)](_0x4fa9b9)}}],_0x3ad393=this[_0x3ff114(0x456)][_0x3ff114(0x411)](_0x1e39a6,_0x422f39);if(!p[_0x3ff114(0x3ae)](_0x3ad393))throw _0x3ad393[_0x3ff114(0x2c9)];const _0x416092=(_0x6edb5a=(_0x376347=_0x3ad393['m2Prime'][0x0])==null?void 0x0:_0x376347[_0x3ff114(0x48f)])==null?void 0x0:_0x6edb5a['selections'];if(Array['isArray'](_0x416092)&&_0x416092[_0x3ff114(0x54c)]){if(_0x416092[_0x3ff114(0x54c)]===_0x422f39[0x0][_0x3ff114(0x48f)][_0x3ff114(0x420)][_0x3ff114(0x54c)]&&_0x416092[_0x3ff114(0x27f)]((_0x5f58a5,_0x25dbf5)=>a[_0x3ff114(0x264)][_0x3ff114(0x361)](_0x5f58a5['range'],_0x422f39[0x0][_0x3ff114(0x48f)]['selections'][_0x25dbf5][_0x3ff114(0x482)])))return;this[_0x3ff114(0x2f8)][_0x3ff114(0x38f)](a['ICommandService'])[_0x3ff114(0x2e0)](X['SetSelectionsOperation']['id'],{'unitId':_0x4bc249,'subUnitId':_0x2827bf,'selections':_0x416092});}}},exports[_0x4c5ff4(0x349)]=ci([Ue(0x0,a[_0x4c5ff4(0x2d6)](a['Injector'])),Ue(0x1,p[_0x4c5ff4(0x2c8)]),Ue(0x2,a[_0x4c5ff4(0x2fb)])],exports[_0x4c5ff4(0x349)]);const de=a[_0x4c5ff4(0x1f0)](_0x4c5ff4(0x469));function _0x3985(){var _0x2f5b97=['[PendingState]:\x20unhandled\x20univer\x20type:\x20','signUrlServerUrl','method','DisposableCollection','createInstance','name','getCurrentUser','_stopTelemetryCollaborationNewChangeset','unknown','&assign=','filter','_handlerCallback','PY_RUNTIME_SCRIPT_ERROR','WordArray','status$','Could\x20not\x20dynamically\x20require\x20\x22','_minBufferSize','CollaborationEvent','ciphertext','UUID','CommandType','_roomMembers','image/gif','mapDocumentTypeToUniverType','StreamCipher','/rev/','resourceIDs','CONNECTOR_DATA_TOO_LARGE','_onConflict','CollaborationStatus','[UniverCollaborationClientPlugin]','getFocusedUnit','changesets','_type','splice','_entityInit$','HMAC','buffer','getOwnPropertyDescriptor','registerHTTPInterceptor','enableAuthServer','univer-pro.collaboration-client.network-condition.service','m2Prime','stringify','slice','_transformStateCache','EmptyMutation','BehaviorSubject','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','connection\x20error','transformMutationsWithChangeset','_parse','_snapshotService','getInterceptPoints','AwaitingWithPendingState','revision','call','floor','DEFAULT_FILE_NAME','_handler','LIVESHARE_NEW_HOST','Hex','UNIVER_UNKNOWN','withCredentials','_onConnectionOpen','selections','mixIn','YUUMI_TABLE_NOT_FOUND_IN_UNIT','[OfflineState]:\x20received\x20changeset.','_getUndoStack','SNAPSHOT_HAS_BEEN_REMOVED','toDisposable','keySize','_getDownloadEndpointURL','fetchThroughInterceptors','createDecryptor','objectActions','_entities','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','toString','_data','_getCurrentRevision','enableCollaboration','MOBILE_VERIFY_CODE_MISMATCH','_sendHeartbeat','waitForRoom$','_applyRemoteChangeset','_queuedRemoteChangesets','subUnitId','/collaborator','@univerjs/sheets','getSheetBlock','ImageSourceType','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_onOffline','mode','SnapshotService','_redoStacks','MOBILE_HAS_BEEN_BOUND','CHANGESET_REVISION_CONFILICT','localCacheService','_imageSourceCache','/new_changes','_replaceFileID','result','_eventService','enableOfflineEditing','AwaitingState','addImageSourceCache','JOIN_ROOM_FAILED','OFFLINE','_members$','/universer-api/snapshot/','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','findIndex','_unlockTransition','\x20-\x20','_incrementRevisionNumber','toStringTag','_transformService','_socket$','SUBMIT_CHANGESET','_transitionLocked','abs','_change$','_revisionService','_clearLocalCache','_getCtorByUniverType','_collaborationPaused','compute','authzUrl','_sender','1732EFAgPl','getMember','PENDING','Latin1','send','[DataLoaderService]','univer-pro.collaboration-client.single-active-unit-service','_ENC_XFORM_MODE','UNKNOWN_CMD','shareReplay','_hasher','[CollaborationSession]','actions','ivSize','encryptBlock','APPLY_REJECT','next','map','601136VZMTXR','_initRequestHeader','146416ltRYgW','__creator','pluginName','INGEST','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_socket','_schedule','_tryEnsureSocket','_changesetReqId','fetch_missing','getCurrentSelections','range','socketService','/fetchmissing?from=','_pendingMutations','workbook','_socketMessageSubscription','retryConnectingInterval','DataLoaderService','_keySchedule','_lockTransition','_candidateSocket','@univerjs/core','ws://127.0.0.1:8000/universer-api/comb/connect','params','roomInfos','c2Prime','UnitSnapshot','YUUMI_URL_COL_OUT_OF_RANGE','$super','textEncoder','_initUnitPermissionChange','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','BlockCipher','url','_DEC_XFORM_MODE','PERMISSION_DENIED','socket$','_members','rxjs','unsubscribe','socket\x20close','OTHER_CLIENT_EDITING','ONLINE','PasswordBasedCipher','indexOf','_socketService','_status$','byteLength','/universer-api/stream/file/upload','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','/block/','CipherParams','_initMergeInterceptor','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','setCurrentUser','closeSession','enableSingleActiveInstanceLock','_append','JOIN_ROOM_FULL','getCurrentRevOfUnit','CollaborationImageIoService','_onLocalMutation','[FetchMissState]','UNIVER_COLLABORATION_CLIENT_PLUGIN','UniverInstanceType','13458BcGUZI','_collaborationUIEventService','CollaborativeUndoRedoService','FAIL','NO_OTHER_CLIENTS_EDITING','appendMutation','APPLY_PERMISSION_DENIED','HEARTBEAT_INTERVAL','joinRsp','format','close$','LocaleService','_getUploadFileURL','_retryCount','_undoRedoService','getUnit','_HTTPService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_cipher','INVALID_ARGUMENT','incrementRevOfUnit','_createHmacHelper','startTime','YUUMI_SUBSCRIPTION_NOT_FOUND','SUCCUSS','collaboratorID','CHANGESET_SHOULD_RETRY','INetworkConditionService','ILogService','IImageIoService','copyFileMeta','APPLY_DUPLICATED','SnapshotServerOverHTTPService','_state','_createInitialStateImpl','members','_onFetchMissResult','string','_clearRetryConnectingTimer','LICENSE_MAX_UNITS_EXCEEDED','open$','_updateLocalCache','OpenSSL','fromCharCode','PendingState','onSyncEditingCollabCursor','_invKeySchedule','IUndoRedoService','/unit/','onTransformRemoteChangesetByIMECache','offline','ISocketService','_httpService','takeUntil','UNAUTHENTICATED','APPLY_NON_SEQUENTIAL_REVISION','/object','_getAPIPrefixPath','encode','EvpKDF','initWorkbookPermissionChange','COMPRESS_MUTATION_APPLY','USERS_LEAVE','update','_initDependencies','univer-pro.collaboration-client-socket-service','synced','_submitChangeset','avatar','createCollaborator','isInternalEditorID','EMAIL_HAS_BEEN_BOUND','AWAITING','LOGIN_FAILED','_checkMissing','unitId\x20is\x20not\x20found','dispose$','Injector','onTransformIME','_tryReconnect','COLLAB_SUBMIT_CHANGESET_URL','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','snapshotServerUrl','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_retryConnectingTimer','_onUserJoin','\x20to\x20','state$','exports','repeat','hasOwnProperty','setWaitCount','CollaborationSession','localeService','session.room-cnt-exceeds','OTHER_CLIENTS_EDITING','LIVESHARE_REQUEST_HOST','/universer-api/authz','_resendTimeout','dispose','awaiting','pipe','_sendingTimer','261FYABjd','updateSnapshot','file','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','randomBytes','create','IAuthzIoService','loadUnitOfRevision','Hasher','_undoStacks','join','collaboration_new_changeset','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Base','onStateChange','listRoles','newCsEvent','transformSelections','Tools','saveChangeset','size','cmd','collaborators','_onRecvEvent','src','getImageSourceCache','shouldCloseConn','WorkbookEditablePermission','/universer-api/uniscript','_clearScheduledTask','session.room-not-exists','encodeURIComponent','_createInitialState','SHA1','_doCryptBlock','_toggleOffline','title','HmacSHA1','parseProtocolChangeset','_resendWithTimeout','parseChangesetToProtocol','padding','17557710sFxbjM','_substituteRedoStack','length','target','_commentUpdate$','SNAPSHOT_URL_KEY','getMemberID','reset','userID','/object/','[PendingState]:\x20received\x20acknowledgement.','OfflineState','isTransformChangesetsSuccess','post','csAckEvent','updatePermissionObjEvent','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','Malformed\x20UTF-8\x20data','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','[CollaborationSessionService]:\x20socket\x20error','RETRY_CONNECTING_MAX_COUNT_KEY','[CollaborationUndoRedoService]','_unitID','reject','getUnitId','_localeService','generateRandomId','@univerjs-pro/collaboration','resend','GLOBAL_ROOMS_CNT_EXCEEDS','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','COLLAB_WEB_SOCKET_URL','firstValueFrom','execute','_resendTimer','forEach','includes','event$','CommentService','data','LICENSE_EXPORT_SIZE_EXCEEDED','UniverCollaborationClientPlugin','add','Cipher','ICollaborationSocketService','words','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','createIdentifier','JOINING','Disposable','init','onRemoteAck','_state$','_singleActiveUnitService','YUUMI_UNABLE_LOAD_URL','catch','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_networkConditionService','_transformUndoredo','_acknowledgedAwaitingChangeset','fromCollab','compose','apply','stopTime','awaiting_with_pending','_listenToNetworkCondition','concat','_onUserLeave','debug','_removeRoom','default','_decreaseWaiting','push','getSnapshotAPIPath','&to=','LICENSE_DISTRO_REJECTED','RECV','onCommentUpdate','UnitStatus','_collaborationTimeoutTimer','complete','collabWebSocketUrl','FetchingMissState','setShowComponents','finalize','FileId','HTTPRequest','UNIVER_SHEET','image/bmp','USERS_ENTER','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','memberID','COLLAB_SUBMIT_CHANGESET_URL_KEY','[OfflineState]:\x20received\x20rejection.','SEND_CHANGESET_TIMEOUT_KEY','_keyPriorReset','unitId','listCollaborators','_onRemoteRetry','_instanceService','_getRedoStack','transformUndoRedo','getCollabEntity','_compressMutationService','getUnitType','_startTelemetryCollaborationNewChangeset','commentUpdate$','pad','CHANGESET_REJ','UNDEFINED','_clearTimeoutTimer','HmacMD5','b64DecodeUnicode','has','_telemetryInfo','startsWith','updateCollaborator','_substituteUndoStack','getRandomValues','__esModule','sequenceExecute','Module','allowed','IDLE','state','setConfig','decrypt','subscribe','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','11yOAFpD','MD5','getTypeOfUnitDisposed$','_joinRoom','OPTIONAL','INVALID_INVITE_CODE','UnitEmbedded','infoRsp','sigBytes','now','_isPermissionRej','COMPLETION_FINISHED','transformChangesets','ERROR_IMAGE_TYPE','YUUMI_NO_CUBOID_FOR_QUESTION','_transformRemoteChangesetByIMECache','CompressMutationService','readAsDataURL','UNIVER_SLIDE','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','Subject','parse','SyncedState','__Key__','delay','_updateState','close','submit\x20changeset\x20error!','375409MNGFlc','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','SYNCED','pending','take','@univerjs-pro/license','Rectangle','body','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','ICommandService','JOIN_ROOM_PERMISSION_DENIED','confirm','\x0aCurrent:\x20','CONFLICT','FETCH_MISS','POST','onload','unpad','routeKey','_updateStatus','JOIN_ROOM_NOT_EXISTS','_userManagerService','getGlobalObject','originalMeta','toggleOnline','AES','textRanges','YUUMI_ASYNCIO_CANCELLED','unitID','LOCAL_CACHE_INTERVAL','Plugin','list','_map','every','@univerjs/telemetry','enc','objects','hasher','CollaborationController','_clearHeartbeatTimer','Quantity','merge','put','reduce','Optional','_rescheduleHeartbeat','APPLY_REVISION_CONFILICT','BlockCipherMode','_throwTelemetryCollaborationNewChangeset','_remoteChangesetQueue','append','SheetsSelectionsService','defineProperty','_exhaustRemoteChangesetQueue','disposeWithMe','YUUMI_RATE_OVER_LIMIT','getConfig','ALREADY_EXISTS','deleteCollaborator','eventID','onRemoteRetry','HEARTBEAT','_getSendChangesetTimeout','1011HNuXgc','_timeoutTimer','PSEUDO_FETCH_MISSING_RESULT','getCollabEntity$','sessionStatus','onSendChangeset','HEARTBEAT_INTERVAL_KEY','hostname','decryptBlock','Decryptor','responseType','_sheetTransformSelectionsService','saveImage','/role','emitEvent','IContextService','HTTPService','_reverseMap','UserManagerService','key','CollaborationEntity','NoPadding','href','location','DocCollaborationEntity','sendChangesetTimeout','[CollaborationState]:\x20apply\x20error!','_clearCollaborationTimeoutTimer','_fetchMissChangesets','COLLAB_WEB_SOCKET_URL_KEY','_configService','_replayCachedMutations','charCodeAt','onMissedChangesetFetched','_event$','getImage','asObservable','_toggleOnline','_univerInstanceService','Utf8','mutations','updatePermissionPoint','INTERNAL_ERROR','ITransformService','error','snapshot','JSONX','_nDataBytes','updateOfflineData','sessionStatus$','HttpExport','onTransformState','SNAPSHOT_INVALID_SNAPSHOT','_logService','onCommandExecuted','LEAVE','kdf','Inject','SheetPermissionInitController','RevisionService','loadUnit','liveShareNewHost','InsertSheetMutation','rev','SerializableCipher','ISingleActiveUnitService','NEW_CHANGESETS','executeCommand','_sessions','_scheduleCollaborationTimeoutTimer','CollaborationSessionService','_roomCreated$','_showConflictNotification','set','FETCH_MISSING','getAllMembers','_transformIMECache','UNKNOWN_CODE','type','_mode','INVITE_CODE_REQUIRED','save\x20fail\x20reason\x20is\x20','[PendingState]:\x20received\x20rejection.','isPermissionRej','algo','onTransformRemoteChangesetByStateCache','UNISCRIPT_RUN','_awaitingChangeset','CollaborationUIEventService','loginUrlKey','MergeInterceptorFactory','_injector','prototype','_telemetryService','IUniverInstanceService','RxDisposable','ITelemetryService','_createHelper','SOCKET_FAILED_RETRY','People','_getAPIPrefix','reqId','cfg','_changesetSessionId','NOT_COLLAB','MemberService','collaMsg','[CollaborationEntity]','encrypt','subject','getWorkbookSelections','permissionRejEvent','extend','HEARTBEAT_TIMEOUT_KEY','ENSURE_SNAPSHOT_EXECUTION','Undefined','_iKey','_createHandler','conflict','_onCombEvent','transformStack\x20failed!','uploadFileServerUrl','HttpImport','getTypeOfUnitAdded$','onRemoteRej','replace','deepClone','getActiveSheet','_startCollaboration','_unitInfo$','_waitCount','sin','RETRY_CONNECTING_MAX_COUNT','Base64','_snapshotServerService','SNAPSHOT_SERVER_URL_KEY','fetchMiss','HELLO','ConflictState','ceil','LIVESHARE_OPERATION','SEND_CHANGESET_TIMEOUT','_memberService','sid','MentionIoHttpService','Error\x20on\x20receiving\x20event','baseRev','UserProfileImg','MentionType','session','_onMessage','commentUpdateEvent','_iv','/-/object/-/batch_allowed','_disableEditing','unit-cache-','LIVESHARE_FETCH_OPERATIONS','PERMISSION_REJ','JOIN','uuidv4','iterations','find','CHANGESET_ACK','formatter','696836BWmbJE','ReplaySubject','SUBMIT_CHANGESET_TIMEOUT','IConfigService','function','_sessionStatus$','_transformStack','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','SheetTransformSelectionsService','LocalUndoRedoService','createSocket','msCrypto','Encryptor','from','_emitMembers','YUUMI_CONNECTOR_URL_NOT_FOUND','auth.needGotoLoginAlert','_init','symbol','COMMENT_UPDATE','editing\x20status\x20changed\x20to','_clearUndo','_config','[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.','_oKey','_xformMode','CLOSE_ROOM','_executeRemoteChangeset','_onConnectionFailed','toggleOffline','_permissionService','_doProcessBlock','equals','c1Prime','WECHAT_HAS_BEEN_BOUND','removeMember','/universer-api/comb','_prevBlock','LIVESHARE_TERMINATE','delete','crypto','getTime','/universer-api/snapshot','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_doCreateSocket','readyForCollab','_transformRemoteChangesetByStateCache','UNIVER_PROJECT','_initCloseConn','clear','_getSignURL','clamp','LICENSE_IMPORT_SIZE_EXCEEDED','_collabSessionService','UniverCollaborationPlugin','_transformSelections','INVITE_CODE_ALREADY_BOUND','YUUMI_ALL_TABLES_IS_INVALID','requireSession','requestParams','AuthzIoHttpService','_scheduleCompleteTimestamp','_getLoginPath','error$','_waitForHeartbeatResponse','1160oRPiNL','_onRemoteChangeset','getValue','_nRounds','_onRemoteRejected','MUTATION','readInt32LE','_onRemoteACK','pauseCollaboration','image/png','csRejEvent','IPermissionService','_process','get','_key','session.room-full','objectID','_socketReady','status','charAt','_registerDependencies','onLocalMutation','SheetCollaborationEntity','override','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','UNRECOGNIZED','onTransformSelections','loadOfflineData','SOCKET_FAILED','ThresholdInterceptorFactory','refreshPermission','not_collab','max','CollaborationSocketService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','awaitingChangeset','processBlock','loadSheet','_shouldReportTelemetry','objectType','code','AUTHZ_URL_KEY','ERROR_IMAGE','INVITE_CODE_HAS_BEEN_UES','isTransformMutationsWithChangesetSuccess','interceptor','action','getUnitOnRev','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','EMAIL_VERIFY_CODE_MISMATCH','touchDependencies','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','createEncryptor','Failed\x20to\x20update\x20permission\x20point','ImageUploadStatusType','message$','updateMember','blockSize','uniscriptRunEvent','isTransformMutationsWithChangesetFailure','_clearRedo','SessionStatus','batchAllowed','_collaborationSessionService','socket\x20open.','duration','_localCacheService','resolve','_commandService','_syncEditingCollabCursor','_commentService','YUUMI_AI_RUN_FAILED','clone','lib','_hash','_onJoinRoomEvent','TOO_MANY_REQUESTS','reconnect','updateCursorEvent','/universer-api/file/{fileID}/sign-url','_createSocket','BufferedBlockAlgorithm','UPDATE_PERMISSION_OBJ','/universer-api/user/session-ticket','DEFAULT_WS_SESSION_TICKET_URL','capture','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','salt','/resources','UNIVER_DOC','onRemoteChangeset','BASE64','_sendHeartbeatTimer'];_0x3985=function(){return _0x2f5b97;};return _0x3985();}var je=(_0x35ab88=>(_0x35ab88[_0x35ab88[_0x4c5ff4(0x4bd)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x35ab88[_0x35ab88[_0x4c5ff4(0x518)]=0x1]=_0x4c5ff4(0x518),_0x35ab88))(je||{});const _i=new Set([X[_0x4c5ff4(0x2db)]['id']]);function Ge(_0x2752fe,_0x26928b,_0x1e0931,_0x5695e4,_0x245dbd){var _0x1784e4=_0x4c5ff4,_0x2b5d61,_0x1e4c31,_0x4dd615,_0x2fbe47;const _0x4208b4=[];for(const _0x4e285f of _0x2752fe)if(_i[_0x1784e4(0x232)](_0x4e285f['id'])){if(_0x4208b4[_0x1784e4(0x54c)]>0x0)break;_0x4208b4['push'](_0x4e285f);break;}else _0x4208b4[_0x1784e4(0x209)](_0x4e285f);const _0x2b73b5=(_0x1e4c31=(_0x2b5d61=_0x245dbd[_0x1784e4(0x3e5)]())==null?void 0x0:_0x2b5d61[_0x1784e4(0x552)])!=null?_0x1e4c31:_0x1784e4(0x3e7),_0x4533fe=(_0x2fbe47=(_0x4dd615=_0x245dbd[_0x1784e4(0x3e5)]())==null?void 0x0:_0x4dd615[_0x1784e4(0x21c)])!=null?_0x2fbe47:'unknown';return{'changeset':{'unitID':_0x26928b,'type':p[_0x1784e4(0x3f6)](_0x1e0931[_0x1784e4(0x229)](_0x26928b)),'baseRev':_0x5695e4[_0x1784e4(0x4b3)](_0x26928b),'revision':0x0,'userID':_0x2b73b5,'memberID':_0x4533fe,'mutations':_0x4208b4},'pendingMutations':_0x2752fe[_0x1784e4(0x40b)](_0x4208b4[_0x1784e4(0x54c)])};}function li(_0x3fea9e,_0x26f832,_0x1d722d,_0x59bb2f,_0x5844c2){var _0x12f071=_0x4c5ff4,_0x3f6dfe,_0x273cf0,_0x3a423a,_0x1637ab;const _0x4537cb=[_0x3fea9e[_0x12f071(0x289)]((_0x875ff8,_0x3de648)=>{var _0x279b2c=_0x12f071,_0xe545e;const {id:_0x59ee97}=_0x875ff8,{id:_0x51fcc3,type:_0xa091}=_0x3de648,_0x46db5a=(_0xe545e=_0x875ff8[_0x279b2c(0x48f)])!=null?_0xe545e:{'actions':null},_0x6f2427=_0x3de648['params'];if(_0x59ee97&&_0x59ee97!==_0x51fcc3)throw new Error(_0x279b2c(0x1f9)+_0x59ee97+_0x279b2c(0x453)+_0x51fcc3+'.');return{..._0x875ff8,'id':_0x51fcc3,'type':_0xa091,'params':{'unitId':_0x6f2427['unitId'],'textRanges':_0x6f2427['textRanges'],'actions':a[_0x279b2c(0x2cb)][_0x279b2c(0x1fe)](_0x46db5a[_0x279b2c(0x46f)],_0x6f2427[_0x279b2c(0x46f)])}};},{})],_0x513209=(_0x273cf0=(_0x3f6dfe=_0x5844c2['getCurrentUser']())==null?void 0x0:_0x3f6dfe[_0x12f071(0x552)])!=null?_0x273cf0:_0x12f071(0x3e7),_0x2a9da8=(_0x1637ab=(_0x3a423a=_0x5844c2[_0x12f071(0x3e5)]())==null?void 0x0:_0x3a423a['memberID'])!=null?_0x1637ab:_0x12f071(0x3e7);return{'changeset':{'unitID':_0x26f832,'type':p[_0x12f071(0x3f6)](_0x1d722d[_0x12f071(0x229)](_0x26f832)),'baseRev':_0x59bb2f[_0x12f071(0x4b3)](_0x26f832),'revision':0x0,'userID':_0x513209,'memberID':_0x2a9da8,'mutations':_0x4537cb},'pendingMutations':[]};}function bt(_0x3ae356,_0x33c370){var _0x4189cb=_0x4c5ff4;const _0x38b7f0=new $[(_0x4189cb(0x342))](0x1);return setTimeout(()=>_0x38b7f0['next'](_0x33c370),_0x3ae356),_0x38b7f0['asObservable']()[_0x4189cb(0x51e)]($['take'](0x1));}const ui={'id':X[_0x4c5ff4(0x40d)]['id'],'type':a[_0x4c5ff4(0x3f3)][_0x4c5ff4(0x387)],'params':{}};var di=Object[_0x4c5ff4(0x405)],ae=(_0x273ec5,_0x52ff96,_0x3a818e,_0x3074d2)=>{var _0xa0beca=_0x4c5ff4;for(var _0x1e1ad0=_0x3074d2>0x1?void 0x0:_0x3074d2?di(_0x52ff96,_0x3a818e):_0x52ff96,_0x106b7a=_0x273ec5[_0xa0beca(0x54c)]-0x1,_0x22aa21;_0x106b7a>=0x0;_0x106b7a--)(_0x22aa21=_0x273ec5[_0x106b7a])&&(_0x1e1ad0=_0x22aa21(_0x1e1ad0)||_0x1e1ad0);return _0x1e1ad0;},L=(_0xccab2c,_0x140c34)=>(_0x469aee,_0x5e08f6)=>_0x140c34(_0x469aee,_0x5e08f6,_0xccab2c),Be=(_0x186984=>(_0x186984[_0x4c5ff4(0x305)]=_0x4c5ff4(0x3a1),_0x186984[_0x4c5ff4(0x260)]=_0x4c5ff4(0x4fb),_0x186984[_0x4c5ff4(0x465)]=_0x4c5ff4(0x261),_0x186984[_0x4c5ff4(0x501)]=_0x4c5ff4(0x51d),_0x186984['AWAITING_WITH_PENDING']=_0x4c5ff4(0x201),_0x186984[_0x4c5ff4(0x26c)]=_0x4c5ff4(0x480),_0x186984['CONFLICT']=_0x4c5ff4(0x313),_0x186984[_0x4c5ff4(0x44d)]=_0x4c5ff4(0x4eb),_0x186984))(Be||{});const Rt=0xea60;class ce{constructor(_0x2b68da,_0x830956,_0x4986b2,_0x5dfcf5,_0x28a1f7,_0x353b13,_0x1fafc1,_0x5f37b6,_0x4f37c5){var _0x458969=_0x4c5ff4;A(this,_0x458969(0x2f4),null),A(this,_0x458969(0x485),[]),(this[_0x458969(0x27a)]=_0x2b68da,this[_0x458969(0x2eb)]=_0x830956,this[_0x458969(0x41a)]=_0x28a1f7,this[_0x458969(0x3c6)]=_0x353b13,this[_0x458969(0x4c7)]=_0x1fafc1,this[_0x458969(0x45c)]=_0x5f37b6,this['_localCacheService']=_0x4f37c5,this[_0x458969(0x2f4)]=_0x4986b2,this['_pendingMutations']=_0x5dfcf5);}[_0x4c5ff4(0x503)](_0x2ba58c){var _0x5b0a9b=_0x4c5ff4;const _0x34a593=this[_0x5b0a9b(0x45c)][_0x5b0a9b(0x4b3)](this[_0x5b0a9b(0x27a)]);return _0x2ba58c[_0x5b0a9b(0x416)]>_0x34a593+0x1?(this['_handler']['onMissingChangesets']({'from':_0x34a593,'to':_0x2ba58c[_0x5b0a9b(0x416)]-0x1}),!0x0):!0x1;}[_0x4c5ff4(0x1fb)](_0x556643){var _0x4635cb=_0x4c5ff4;this[_0x4635cb(0x4c7)][_0x4635cb(0x226)](this[_0x4635cb(0x27a)],_0x556643);}[_0x4c5ff4(0x378)](_0x1f2937){var _0x359e90=_0x4c5ff4,_0x53655f,_0x272da7;(_0x272da7=(_0x53655f=this['_handler'])[_0x359e90(0x39c)])==null||_0x272da7[_0x359e90(0x417)](_0x53655f,_0x1f2937);}['_transformIMECache'](_0x45368e){var _0x4fe87e=_0x4c5ff4,_0x2826ef,_0x345fd3;return(_0x345fd3=(_0x2826ef=this[_0x4fe87e(0x41a)])[_0x4fe87e(0x507)])==null?void 0x0:_0x345fd3[_0x4fe87e(0x417)](_0x2826ef,_0x45368e);}[_0x4c5ff4(0x40c)](_0x4dd0a2){var _0x15fcd5=_0x4c5ff4,_0xe3a6df,_0x159ece;return(_0x159ece=(_0xe3a6df=this['_handler'])[_0x15fcd5(0x2d0)])==null?void 0x0:_0x159ece[_0x15fcd5(0x417)](_0xe3a6df,_0x4dd0a2);}[_0x4c5ff4(0x251)](_0x5f3b73){var _0x7ac16f=_0x4c5ff4,_0x116dec,_0x475a8f,_0x377144;return(_0x377144=(_0x475a8f=(_0x116dec=this[_0x7ac16f(0x41a)])[_0x7ac16f(0x4ea)])==null?void 0x0:_0x475a8f[_0x7ac16f(0x417)](_0x116dec,_0x5f3b73))!=null?_0x377144:_0x5f3b73;}['_transformRemoteChangesetByStateCache'](_0xaf922a){var _0xba18df=_0x4c5ff4,_0x3e2b3e,_0x2db494,_0x3b691a;return(_0x3b691a=(_0x2db494=(_0x3e2b3e=this[_0xba18df(0x41a)])[_0xba18df(0x2f2)])==null?void 0x0:_0x2db494[_0xba18df(0x417)](_0x3e2b3e,_0xaf922a))!=null?_0x3b691a:_0xaf922a;}['_syncEditingCollabCursor'](_0x53a756){var _0x3463ae=_0x4c5ff4,_0x3e4ceb,_0x1a5e80;if(this[_0x3463ae(0x2eb)]===J['UNIVER_DOC']){const {unitID:_0x437d10,mutations:_0x40a395,memberID:_0x91ad31}=_0x53a756,_0x4d60c2=_0x40a395[0x0][_0x3463ae(0x48f)][_0x3463ae(0x278)];Array['isArray'](_0x4d60c2)&&_0x4d60c2['length']>0x0&&((_0x1a5e80=(_0x3e4ceb=this[_0x3463ae(0x41a)])[_0x3463ae(0x4e6)])==null||_0x1a5e80[_0x3463ae(0x417)](_0x3e4ceb,{'unitID':_0x437d10,'memberID':_0x91ad31,'textRanges':_0x4d60c2}));}}[_0x4c5ff4(0x4e2)](){var _0xf79560=_0x4c5ff4,_0x255df4;(_0x255df4=this[_0xf79560(0x3c4)])==null||_0x255df4[_0xf79560(0x2cd)](this[_0xf79560(0x27a)],this[_0xf79560(0x2eb)],this['_awaitingChangeset'],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x724969=_0x4c5ff4;return this[_0x724969(0x45c)]['getCurrentRevOfUnit'](this[_0x724969(0x27a)]);}[_0x4c5ff4(0x454)](){var _0x1404ec=_0x4c5ff4;this[_0x1404ec(0x45c)][_0x1404ec(0x4cd)](this[_0x1404ec(0x27a)]);}[_0x4c5ff4(0x35c)](_0x30f070){var _0x266da1=_0x4c5ff4,_0x150c58;let _0x182dae=this['_transformRemoteChangesetByIMECache'](_0x30f070);_0x182dae=this[_0x266da1(0x36f)](_0x182dae);const _0x300ff9=a[_0x266da1(0x239)](_0x182dae[_0x266da1(0x2c5)],this[_0x266da1(0x3c6)],{'fromCollab':!0x0});if(!_0x300ff9[_0x266da1(0x447)])throw _0x300ff9[_0x266da1(0x2c9)]instanceof Error?_0x300ff9['error']:new Error((_0x150c58=_0x300ff9['error'])!=null?_0x150c58:_0x266da1(0x2b7));this[_0x266da1(0x2e9)](_0x182dae),this[_0x266da1(0x40c)](_0x182dae),this[_0x266da1(0x1fb)](_0x30f070),this[_0x266da1(0x378)](_0x182dae),this[_0x266da1(0x3c7)](_0x182dae),this[_0x266da1(0x454)]();}}exports[_0x4c5ff4(0x258)]=class extends ce{constructor(_0x29d306,_0x5db6b,_0x242f21,_0x21fdc3,_0x575504,_0x206735,_0x359502,_0xba37d3,_0x193bc2,_0x23cda4){var _0x59f21f=_0x4c5ff4;super(_0x29d306,_0x5db6b,null,[],_0x242f21,_0x359502,_0x206735,_0x21fdc3,_0x23cda4),A(this,_0x59f21f(0x394),'synced'),(this[_0x59f21f(0x2f8)]=_0x575504,this[_0x59f21f(0x2d2)]=_0xba37d3,this['_transformService']=_0x193bc2,this[_0x59f21f(0x443)]=_0x23cda4);}['appendMutation'](_0x108d4c){var _0x589ee4=_0x4c5ff4;const _0x58246d=this[_0x589ee4(0x2f8)][_0x589ee4(0x3e3)](exports['PendingState'],this[_0x589ee4(0x27a)],this[_0x589ee4(0x2eb)],[_0x108d4c],this['_handler']);return _0x58246d['_schedule'](),_0x58246d[_0x589ee4(0x4e2)](),_0x58246d;}['onRemoteChangeset'](_0x50931d){var _0x13c850=_0x4c5ff4;if(this[_0x13c850(0x503)](_0x50931d))return this['_injector']['createInstance'](exports[_0x13c850(0x213)],this[_0x13c850(0x27a)],this[_0x13c850(0x2eb)],null,[],null,[_0x50931d],this[_0x13c850(0x41a)]);try{const _0x2df73c=this[_0x13c850(0x456)][_0x13c850(0x411)](_0x50931d,[ui]);if(p[_0x13c850(0x3ae)](_0x2df73c)){const {c1Prime:_0x4e3f6c}=_0x2df73c;return this[_0x13c850(0x35c)](_0x4e3f6c),this;}throw _0x2df73c['error'];}catch(_0x431e7b){return this[_0x13c850(0x2d2)][_0x13c850(0x2c9)](_0x431e7b),this[_0x13c850(0x3fb)](!0x1);}}[_0x4c5ff4(0x3fb)](_0xd51b42){var _0x54486a=_0x4c5ff4;return this[_0x54486a(0x2f8)][_0x54486a(0x3e3)](exports[_0x54486a(0x327)],this[_0x54486a(0x27a)],this[_0x54486a(0x2eb)],null,[],this[_0x54486a(0x41a)],_0xd51b42);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x4c5ff4(0x29a)](){return this;}[_0x4c5ff4(0x35e)](){var _0x38bc43=_0x4c5ff4;return this[_0x38bc43(0x2f8)][_0x38bc43(0x3e3)](exports[_0x38bc43(0x555)],this['unitID'],this[_0x38bc43(0x2eb)],null,[],this[_0x38bc43(0x41a)]);}[_0x4c5ff4(0x276)](){return this;}['resend'](){var _0x20cdc9=_0x4c5ff4;throw new Error(_0x20cdc9(0x36c));}['fetchMiss'](){var _0x1d04b0=_0x4c5ff4;const _0x2a0cce=this[_0x1d04b0(0x45c)][_0x1d04b0(0x4b3)](this['unitID']);return this[_0x1d04b0(0x41a)]['onMissingChangesets']({'from':_0x2a0cce,'to':0x0}),this[_0x1d04b0(0x2f8)][_0x1d04b0(0x3e3)](exports[_0x1d04b0(0x213)],this[_0x1d04b0(0x27a)],this['type'],null,[],null,[],this[_0x1d04b0(0x41a)]);}},exports['SyncedState']=ae([L(0x3,a[_0x4c5ff4(0x2d6)](p[_0x4c5ff4(0x2d8)])),L(0x4,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x506)])),L(0x5,a[_0x4c5ff4(0x4e8)]),L(0x6,a['ICommandService']),L(0x7,a[_0x4c5ff4(0x4d5)]),L(0x8,p['ITransformService']),L(0x9,a[_0x4c5ff4(0x28a)](q))],exports[_0x4c5ff4(0x258)]),exports['PendingState']=class extends ce{constructor(_0x248649,_0x165c6b,_0xbba7c8,_0x4e0fdf,_0x375407,_0x5ac803,_0x18f577,_0x3db703,_0x2511ee,_0x31bf4c,_0x1e2fe0,_0x40a2b0,_0x1f2920,_0x23fc4e){var _0x51d59c=_0x4c5ff4;super(_0x248649,_0x165c6b,null,_0xbba7c8,_0x4e0fdf,_0x2511ee,_0x1f2920,_0x5ac803,_0x23fc4e),A(this,_0x51d59c(0x394),_0x51d59c(0x261)),A(this,_0x51d59c(0x37e),null),A(this,_0x51d59c(0x51f),null),(this[_0x51d59c(0x2f8)]=_0x375407,this[_0x51d59c(0x32b)]=_0x18f577,this['_logService']=_0x3db703,this[_0x51d59c(0x2bb)]=_0x31bf4c,this['_transformService']=_0x1e2fe0,this[_0x51d59c(0x2c3)]=_0x40a2b0);}[_0x4c5ff4(0x4be)](_0x58130c){var _0x2d7189=_0x4c5ff4;return this[_0x2d7189(0x485)][_0x2d7189(0x209)](_0x58130c),this['_updateLocalCache'](),this;}[_0x4c5ff4(0x3dc)](_0x19c222){var _0x5dc0e4=_0x4c5ff4;if(this['_checkMissing'](_0x19c222))return this['_clearScheduledTask'](),this[_0x5dc0e4(0x2f8)][_0x5dc0e4(0x3e3)](exports['FetchingMissState'],this['unitID'],this[_0x5dc0e4(0x2eb)],null,this[_0x5dc0e4(0x485)],null,[_0x19c222],this['_handler']);try{const _0x26180e=this[_0x5dc0e4(0x456)]['transformMutationsWithChangeset'](_0x19c222,this['_pendingMutations']);if(p['isTransformMutationsWithChangesetSuccess'](_0x26180e)){const {c1Prime:_0x43f129,m2Prime:_0x23827d}=_0x26180e;this[_0x5dc0e4(0x35c)](_0x43f129);const _0x575de6=this[_0x5dc0e4(0x2f8)][_0x5dc0e4(0x3e3)](exports[_0x5dc0e4(0x4e5)],this['unitID'],this[_0x5dc0e4(0x2eb)],_0x23827d,this[_0x5dc0e4(0x41a)]);this[_0x5dc0e4(0x53d)]();const _0x455ab2=new Date()['getTime'](),_0x3e9d8c=this[_0x5dc0e4(0x37e)]?Math[_0x5dc0e4(0x3a2)](this[_0x5dc0e4(0x37e)]-_0x455ab2,0x0):this[_0x5dc0e4(0x29c)]();return _0x575de6['_schedule'](_0x3e9d8c),_0x575de6;}throw _0x26180e[_0x5dc0e4(0x2c9)];}catch(_0x104576){return this[_0x5dc0e4(0x2d2)]['error'](_0x104576),this[_0x5dc0e4(0x3fb)](!0x1);}}[_0x4c5ff4(0x1f4)](){var _0x2dc4bb=_0x4c5ff4;throw new Error(_0x2dc4bb(0x554));}[_0x4c5ff4(0x319)](){var _0x2053ff=_0x4c5ff4;throw new Error(_0x2053ff(0x2ef));}[_0x4c5ff4(0x29a)](){return this;}['toggleOffline'](){var _0x5f30e8=_0x4c5ff4;return this['_clearScheduledTask'](),this[_0x5f30e8(0x2f8)][_0x5f30e8(0x3e3)](exports[_0x5f30e8(0x555)],this[_0x5f30e8(0x27a)],this['type'],null,this[_0x5f30e8(0x485)],this[_0x5f30e8(0x41a)]);}[_0x4c5ff4(0x276)](){return this;}[_0x4c5ff4(0x47d)](_0x3dc0b4){var _0x2c888c=_0x4c5ff4;const _0xe2c981=_0x3dc0b4!=null?_0x3dc0b4:this['_getSendChangesetTimeout']();this[_0x2c888c(0x37e)]=new Date()[_0x2c888c(0x36a)]()+_0xe2c981,this['_sendingTimer']=setTimeout(()=>{var _0x56c28e=_0x2c888c;this[_0x56c28e(0x53d)]();let _0x1a0eeb=null;switch(this[_0x56c28e(0x2eb)]){case J[_0x56c28e(0x218)]:{_0x1a0eeb=Ge(this['_pendingMutations'],this[_0x56c28e(0x27a)],this['_univerInstanceService'],this[_0x56c28e(0x45c)],this[_0x56c28e(0x32b)]);break;}case J[_0x56c28e(0x3db)]:{this[_0x56c28e(0x485)][_0x56c28e(0x27f)](_0x2f49ce=>_0x2f49ce['id']===ht['RichTextEditingMutation']['id'])?_0x1a0eeb=li(this[_0x56c28e(0x485)],this[_0x56c28e(0x27a)],this[_0x56c28e(0x2c3)],this[_0x56c28e(0x45c)],this[_0x56c28e(0x32b)]):_0x1a0eeb=Ge(this[_0x56c28e(0x485)],this[_0x56c28e(0x27a)],this[_0x56c28e(0x2c3)],this['_revisionService'],this[_0x56c28e(0x32b)]);break;}default:throw new Error(_0x56c28e(0x3df)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x576b77,pendingMutations:_0x32eded}=_0x1a0eeb;this[_0x56c28e(0x41a)][_0x56c28e(0x2a2)](_0x576b77);const _0x3d9cbc=_0x32eded[_0x56c28e(0x54c)]?this[_0x56c28e(0x2f8)][_0x56c28e(0x3e3)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x56c28e(0x2eb)],_0x576b77,_0x32eded,this[_0x56c28e(0x41a)],void 0x0):this['_injector'][_0x56c28e(0x3e3)](exports[_0x56c28e(0x44a)],this[_0x56c28e(0x27a)],this['type'],_0x576b77,this[_0x56c28e(0x41a)]);_0x3d9cbc['_updateLocalCache'](),this[_0x56c28e(0x41a)][_0x56c28e(0x52e)](this,_0x3d9cbc);},_0xe2c981);}[_0x4c5ff4(0x29c)](){var _0x3dfa2d=_0x4c5ff4,_0x26fd8c;const _0x28a4bd=this['_configService'][_0x3dfa2d(0x296)](G);return(_0x26fd8c=_0x28a4bd==null?void 0x0:_0x28a4bd[_0x3dfa2d(0x2b6)])!=null?_0x26fd8c:xt;}[_0x4c5ff4(0x566)](){var _0xfa44b9=_0x4c5ff4;throw new Error(_0xfa44b9(0x52c));}[_0x4c5ff4(0x53d)](){var _0x35353d=_0x4c5ff4;this[_0x35353d(0x51f)]!=null&&(clearTimeout(this[_0x35353d(0x51f)]),this['_sendingTimer']=null);}[_0x4c5ff4(0x3fb)](_0x58e03b){var _0x5a2893=_0x4c5ff4;return this[_0x5a2893(0x53d)](),this[_0x5a2893(0x2f8)][_0x5a2893(0x3e3)](exports[_0x5a2893(0x327)],this[_0x5a2893(0x27a)],this['type'],null,this['_pendingMutations'],this[_0x5a2893(0x41a)],_0x58e03b);}},exports['PendingState']=ae([L(0x4,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x506)])),L(0x5,a[_0x4c5ff4(0x2d6)](p[_0x4c5ff4(0x2d8)])),L(0x6,a['Inject'](exports['MemberService'])),L(0x7,a[_0x4c5ff4(0x4d5)]),L(0x8,a[_0x4c5ff4(0x267)]),L(0x9,a[_0x4c5ff4(0x344)]),L(0xa,p[_0x4c5ff4(0x2c8)]),L(0xb,a[_0x4c5ff4(0x2fb)]),L(0xc,a['IUndoRedoService']),L(0xd,a[_0x4c5ff4(0x28a)](q))],exports[_0x4c5ff4(0x4e5)]),exports['AwaitingState']=class extends ce{constructor(_0x5ecbe7,_0x965284,_0x37621a,_0x33659d,_0x322f44,_0x21d51a,_0x1861a,_0x4f5f12,_0x5f32e3,_0x5a1c83,_0x16f98b){var _0x1d2f64=_0x4c5ff4;super(_0x5ecbe7,_0x965284,_0x37621a,[],_0x33659d,_0x1861a,_0x5a1c83,_0x21d51a,_0x16f98b),A(this,_0x1d2f64(0x394),'awaiting'),A(this,_0x1d2f64(0x51b),0x0),A(this,_0x1d2f64(0x56c)),A(this,_0x1d2f64(0x462)),(this[_0x1d2f64(0x2f8)]=_0x322f44,this[_0x1d2f64(0x2d2)]=_0x4f5f12,this[_0x1d2f64(0x456)]=_0x5f32e3);}[_0x4c5ff4(0x4be)](_0x4d4196){var _0x370927=_0x4c5ff4;this[_0x370927(0x53d)]();const _0x181923=this[_0x370927(0x2f8)][_0x370927(0x3e3)](exports[_0x370927(0x415)],this[_0x370927(0x27a)],this[_0x370927(0x2eb)],this[_0x370927(0x2f4)],[_0x4d4196],this[_0x370927(0x41a)],this[_0x370927(0x56c)]);return _0x181923[_0x370927(0x4e2)](),_0x181923;}['onRemoteChangeset'](_0x403b26){var _0x3572d5=_0x4c5ff4;if(this[_0x3572d5(0x503)](_0x403b26))return this[_0x3572d5(0x53d)](),this[_0x3572d5(0x2f8)]['createInstance'](exports[_0x3572d5(0x213)],this[_0x3572d5(0x27a)],this[_0x3572d5(0x2eb)],this[_0x3572d5(0x2f4)],[],null,[_0x403b26],this[_0x3572d5(0x41a)]);try{const _0x34ad23=this['_transformService'][_0x3572d5(0x24e)]([_0x403b26],[this[_0x3572d5(0x2f4)]],!0x1);if(p['isTransformChangesetsSuccess'](_0x34ad23)){const {c1Prime:_0x2c10d3,c2Prime:_0x3ca3a7}=_0x34ad23;this[_0x3572d5(0x35c)](_0x2c10d3[0x0]),_0x3ca3a7[0x0][_0x3572d5(0x32f)]=this[_0x3572d5(0x430)](),this[_0x3572d5(0x53d)]();const _0xc2bf1f=this[_0x3572d5(0x2f8)][_0x3572d5(0x3e3)](exports[_0x3572d5(0x44a)],this[_0x3572d5(0x27a)],this['type'],_0x3ca3a7[0x0],this[_0x3572d5(0x41a)]);return _0xc2bf1f[_0x3572d5(0x4e2)](),_0xc2bf1f;}return this['_onConflict'](!0x1);}catch(_0x14e105){return this['_logService'][_0x3572d5(0x2c9)](_0x14e105),this[_0x3572d5(0x3fb)](!0x1);}}[_0x4c5ff4(0x1f4)](_0x85e219){var _0x1984bb=_0x4c5ff4;this['_clearScheduledTask']();const _0x58a521=this[_0x1984bb(0x45c)][_0x1984bb(0x4b3)](this['unitID']);if(_0x85e219[_0x1984bb(0x416)]<_0x58a521-0x1)return this;if(this[_0x1984bb(0x503)](_0x85e219))return this[_0x1984bb(0x2f8)]['createInstance'](exports[_0x1984bb(0x213)],this[_0x1984bb(0x27a)],this[_0x1984bb(0x2eb)],null,[],this[_0x1984bb(0x2f4)],[],this[_0x1984bb(0x41a)]);this[_0x1984bb(0x454)]();const _0x4bf406=this[_0x1984bb(0x2f8)][_0x1984bb(0x3e3)](exports[_0x1984bb(0x258)],this[_0x1984bb(0x27a)],this[_0x1984bb(0x2eb)],this['_handler']);return _0x4bf406[_0x1984bb(0x4e2)](),_0x4bf406;}[_0x4c5ff4(0x319)](_0x154a13){var _0x2052ee=_0x4c5ff4;return this['_onConflict'](!!(_0x154a13!=null&&_0x154a13[_0x2052ee(0x2f0)]));}[_0x4c5ff4(0x29a)](_0x383170){var _0x3bd393=_0x4c5ff4;return this[_0x3bd393(0x51b)]>Rt?this[_0x3bd393(0x35e)]():(this['_resendTimer']=bt(this[_0x3bd393(0x51b)],{'timeout':this[_0x3bd393(0x51b)],'reqId':_0x383170[_0x3bd393(0x302)]}),this[_0x3bd393(0x462)]=this[_0x3bd393(0x56c)]['subscribe'](({reqId:_0x2c59b9,timeout:_0x43364f})=>{var _0xecbecb=_0x3bd393;this[_0xecbecb(0x547)](_0x2c59b9,_0x43364f);}),this);}[_0x4c5ff4(0x35e)](){var _0x10096a=_0x4c5ff4;return this['_clearScheduledTask'](),this[_0x10096a(0x2f8)][_0x10096a(0x3e3)](exports[_0x10096a(0x555)],this['unitID'],this[_0x10096a(0x2eb)],this[_0x10096a(0x2f4)],[],this[_0x10096a(0x41a)]);}[_0x4c5ff4(0x276)](){return this;}[_0x4c5ff4(0x566)](){var _0x18de5f=_0x4c5ff4;this[_0x18de5f(0x41a)][_0x18de5f(0x2a2)](this[_0x18de5f(0x2f4)]);}[_0x4c5ff4(0x3fb)](_0x222a43){var _0x303aa8=_0x4c5ff4;return this[_0x303aa8(0x53d)](),this[_0x303aa8(0x2f8)][_0x303aa8(0x3e3)](exports[_0x303aa8(0x327)],this[_0x303aa8(0x27a)],this[_0x303aa8(0x2eb)],this['_awaitingChangeset'],[],this[_0x303aa8(0x41a)],_0x222a43);}[_0x4c5ff4(0x547)](_0x9cbc59,_0x375453){var _0x1cf4f2=_0x4c5ff4,_0x2978f3;_0x9cbc59===((_0x2978f3=this['_awaitingChangeset'])==null?void 0x0:_0x2978f3[_0x1cf4f2(0x302)])&&(this['resend'](),this[_0x1cf4f2(0x51b)]=_0x375453===0x0?0x3e8:_0x375453*0x2);}[_0x4c5ff4(0x53d)](){var _0x1ede95=_0x4c5ff4,_0x432094;(_0x432094=this[_0x1ede95(0x462)])==null||_0x432094[_0x1ede95(0x49f)](),this[_0x1ede95(0x51b)]=0x0;}},exports['AwaitingState']=ae([L(0x4,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x506)])),L(0x5,a[_0x4c5ff4(0x2d6)](p[_0x4c5ff4(0x2d8)])),L(0x6,a[_0x4c5ff4(0x267)]),L(0x7,a[_0x4c5ff4(0x4d5)]),L(0x8,p[_0x4c5ff4(0x2c8)]),L(0x9,a[_0x4c5ff4(0x4e8)]),L(0xa,a[_0x4c5ff4(0x28a)](q))],exports[_0x4c5ff4(0x44a)]),exports['AwaitingWithPendingState']=class extends ce{constructor(_0x332232,_0x41f025,_0x57b4a6,_0x4a0bfd,_0x29819b,_0x45e33e,_0x218689,_0x94bbd,_0x5bdced,_0x54a7f8,_0x34cba8,_0x578327,_0x3624a5){var _0x57740c=_0x4c5ff4;super(_0x332232,_0x41f025,_0x57b4a6,_0x4a0bfd,_0x29819b,_0x5bdced,_0x578327,_0x94bbd,_0x3624a5),A(this,_0x57740c(0x394),_0x57740c(0x201)),A(this,_0x57740c(0x51b),0x0),A(this,_0x57740c(0x56c)),A(this,_0x57740c(0x462)),(this[_0x57740c(0x2f8)]=_0x218689,this[_0x57740c(0x2d2)]=_0x54a7f8,this[_0x57740c(0x456)]=_0x34cba8,this[_0x57740c(0x443)]=_0x3624a5,_0x45e33e&&(this[_0x57740c(0x56c)]=_0x45e33e,this[_0x57740c(0x462)]=this[_0x57740c(0x56c)]['subscribe'](({reqId:_0x13543a,timeout:_0x1c4811})=>{var _0x5d0d48=_0x57740c;this[_0x5d0d48(0x547)](_0x13543a,_0x1c4811);})));}[_0x4c5ff4(0x4be)](_0x2ff688){var _0x192c76=_0x4c5ff4;return this[_0x192c76(0x485)][_0x192c76(0x209)](_0x2ff688),this;}[_0x4c5ff4(0x3dc)](_0x21f30d){var _0x30603c=_0x4c5ff4;if(this['_checkMissing'](_0x21f30d))return this[_0x30603c(0x53d)](),this[_0x30603c(0x2f8)][_0x30603c(0x3e3)](exports[_0x30603c(0x213)],this[_0x30603c(0x27a)],this['type'],this[_0x30603c(0x2f4)],this[_0x30603c(0x485)],null,[_0x21f30d],this[_0x30603c(0x41a)]);try{const _0x354a5b=this[_0x30603c(0x456)]['transformChangesets']([_0x21f30d],[this[_0x30603c(0x2f4)]],!0x1);if(p['isTransformChangesetsSuccess'](_0x354a5b)){const {c1Prime:_0x490e61,c2Prime:_0x3871f3}=_0x354a5b,_0x1b0c1e=this[_0x30603c(0x456)][_0x30603c(0x411)](_0x490e61[0x0],this[_0x30603c(0x485)]);if(p[_0x30603c(0x3ae)](_0x1b0c1e)){const {c1Prime:_0xba63ed,m2Prime:_0x249998}=_0x1b0c1e;return this[_0x30603c(0x35c)](_0xba63ed),_0x3871f3[0x0]['baseRev']=this[_0x30603c(0x430)](),this[_0x30603c(0x53d)](),this[_0x30603c(0x2f8)][_0x30603c(0x3e3)](exports[_0x30603c(0x415)],this[_0x30603c(0x27a)],this[_0x30603c(0x2eb)],_0x3871f3[0x0],_0x249998,this[_0x30603c(0x41a)],void 0x0);}throw _0x1b0c1e[_0x30603c(0x2c9)];}throw _0x354a5b[_0x30603c(0x2c9)];}catch(_0x32faaa){return this[_0x30603c(0x2d2)]['error'](_0x32faaa),this[_0x30603c(0x3fb)](!0x1);}}['onRemoteAck'](_0x17ce5d){var _0x44964f=_0x4c5ff4;if(this[_0x44964f(0x53d)](),this['_checkMissing'](_0x17ce5d))return this[_0x44964f(0x2f8)][_0x44964f(0x3e3)](exports['FetchingMissState'],this[_0x44964f(0x27a)],this['type'],null,this[_0x44964f(0x485)],this[_0x44964f(0x2f4)],[],this[_0x44964f(0x41a)]);this[_0x44964f(0x454)]();const _0x1cc738=this[_0x44964f(0x2f8)][_0x44964f(0x3e3)](exports[_0x44964f(0x4e5)],this[_0x44964f(0x27a)],this['type'],this[_0x44964f(0x485)],this[_0x44964f(0x41a)]);return _0x1cc738[_0x44964f(0x47d)](),_0x1cc738[_0x44964f(0x4e2)](),_0x1cc738;}[_0x4c5ff4(0x319)](_0x259fb1){var _0xfc254d=_0x4c5ff4;return this[_0xfc254d(0x3fb)](!!(_0x259fb1!=null&&_0x259fb1[_0xfc254d(0x2f0)]));}[_0x4c5ff4(0x29a)](_0x5a54a0){var _0x5315b6=_0x4c5ff4;return this[_0x5315b6(0x51b)]>Rt?this[_0x5315b6(0x35e)]():(this['_resendTimer']=bt(this['_resendTimeout'],{'timeout':this[_0x5315b6(0x51b)],'reqId':_0x5a54a0[_0x5315b6(0x302)]}),this[_0x5315b6(0x462)]=this[_0x5315b6(0x56c)][_0x5315b6(0x240)](({reqId:_0x53681d,timeout:_0x1798c6})=>{var _0x2f91bb=_0x5315b6;this[_0x2f91bb(0x547)](_0x53681d,_0x1798c6);}),this);}[_0x4c5ff4(0x35e)](){var _0x50ee2f=_0x4c5ff4;return this[_0x50ee2f(0x53d)](),this[_0x50ee2f(0x2f8)][_0x50ee2f(0x3e3)](exports[_0x50ee2f(0x555)],this[_0x50ee2f(0x27a)],this['type'],this[_0x50ee2f(0x2f4)],this[_0x50ee2f(0x485)],this[_0x50ee2f(0x41a)]);}['toggleOnline'](){return this;}[_0x4c5ff4(0x566)](){var _0xe9e19f=_0x4c5ff4;this['_handler'][_0xe9e19f(0x2a2)](this[_0xe9e19f(0x2f4)]);}[_0x4c5ff4(0x3fb)](_0x1b30bd){var _0xfa7529=_0x4c5ff4;return this[_0xfa7529(0x53d)](),this['_injector']['createInstance'](exports[_0xfa7529(0x327)],this[_0xfa7529(0x27a)],this[_0xfa7529(0x2eb)],null,this['_pendingMutations'],this[_0xfa7529(0x41a)],_0x1b30bd);}[_0x4c5ff4(0x547)](_0x2597c8,_0x4aea1d){var _0x40502c=_0x4c5ff4,_0x1ba2df;_0x2597c8===((_0x1ba2df=this[_0x40502c(0x2f4)])==null?void 0x0:_0x1ba2df[_0x40502c(0x302)])&&(this[_0x40502c(0x566)](),this['_resendTimeout']=_0x4aea1d===0x0?0x3e8:_0x4aea1d*0x2);}['_clearScheduledTask'](){var _0x52d364=_0x4c5ff4,_0x1485d6;(_0x1485d6=this['_sender'])==null||_0x1485d6[_0x52d364(0x49f)](),this[_0x52d364(0x51b)]=0x0;}},exports[_0x4c5ff4(0x415)]=ae([L(0x6,a['Inject'](a[_0x4c5ff4(0x506)])),L(0x7,a[_0x4c5ff4(0x2d6)](p[_0x4c5ff4(0x2d8)])),L(0x8,a['ICommandService']),L(0x9,a[_0x4c5ff4(0x4d5)]),L(0xa,p[_0x4c5ff4(0x2c8)]),L(0xb,a[_0x4c5ff4(0x4e8)]),L(0xc,a[_0x4c5ff4(0x28a)](q))],exports[_0x4c5ff4(0x415)]),exports['ConflictState']=class extends ce{constructor(_0x3534b5,_0x386c95,_0x11d92f,_0x4b644e,_0x25228f,_0x26a215=!0x1,_0x2b0b87,_0x59e940,_0x40ed12,_0x236dd8,_0x38dd15,_0x2675e9,_0x2c30b2){var _0x18017a=_0x4c5ff4;super(_0x3534b5,_0x386c95,_0x11d92f,_0x4b644e,_0x25228f,_0x59e940,_0x40ed12,_0x236dd8,_0x2c30b2),A(this,_0x18017a(0x394),_0x18017a(0x313)),(this[_0x18017a(0x24c)]=_0x26a215,this[_0x18017a(0x35f)]=_0x2b0b87,this[_0x18017a(0x563)]=_0x38dd15,this['_collaborationUIEventService']=_0x2675e9,this[_0x18017a(0x443)]=_0x2c30b2,this[_0x18017a(0x2e5)](),this[_0x18017a(0x45d)](),this[_0x18017a(0x337)]());}['appendMutation'](){return this;}[_0x4c5ff4(0x3dc)](){return this;}['onRemoteAck'](){return this;}[_0x4c5ff4(0x319)](){return this;}[_0x4c5ff4(0x29a)](){return this;}[_0x4c5ff4(0x35e)](){return this;}[_0x4c5ff4(0x276)](){return this;}[_0x4c5ff4(0x566)](){var _0x3b7c26=_0x4c5ff4;throw new Error(_0x3b7c26(0x39a));}[_0x4c5ff4(0x45d)](){var _0x48bf4a=_0x4c5ff4,_0xc336a4;(_0xc336a4=this[_0x48bf4a(0x3c4)])==null||_0xc336a4['updateOfflineData'](this[_0x48bf4a(0x27a)],this[_0x48bf4a(0x2eb)],null,[]);}[_0x4c5ff4(0x2e5)](){var _0x28431f=_0x4c5ff4;this['_isPermissionRej']?this[_0x28431f(0x4ba)][_0x28431f(0x2ab)]({'id':Z['PERMISSION_DENIED']}):this[_0x28431f(0x4ba)][_0x28431f(0x2ab)]({'id':Z[_0x28431f(0x26b)]});}[_0x4c5ff4(0x337)](){var _0xb8367e=_0x4c5ff4;this[_0xb8367e(0x35f)][_0xb8367e(0x2c6)](new X[(_0xb8367e(0x53b))](this[_0xb8367e(0x27a)])['id'],!0x1);}},exports[_0x4c5ff4(0x327)]=ae([L(0x6,a[_0x4c5ff4(0x2d6)](a['IPermissionService'])),L(0x7,a['ICommandService']),L(0x8,a[_0x4c5ff4(0x4e8)]),L(0x9,a[_0x4c5ff4(0x2d6)](p[_0x4c5ff4(0x2d8)])),L(0xa,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x4c4)])),L(0xb,a[_0x4c5ff4(0x2d6)](ee)),L(0xc,a[_0x4c5ff4(0x28a)](q))],exports[_0x4c5ff4(0x327)]),exports[_0x4c5ff4(0x555)]=class extends ce{constructor(_0x14e316,_0x4433fb,_0x1426c4,_0x52f399,_0x510a95,_0x19b9c8,_0x4b469a,_0x38255b,_0xe2bebb,_0x5a862c){var _0x85fdec=_0x4c5ff4;super(_0x14e316,_0x4433fb,_0x1426c4,_0x52f399,_0x510a95,_0x38255b,_0xe2bebb,_0x4b469a,_0x5a862c),A(this,_0x85fdec(0x394),_0x85fdec(0x4eb)),this[_0x85fdec(0x2f8)]=_0x19b9c8;}[_0x4c5ff4(0x4be)](_0x19299a){var _0x272423=_0x4c5ff4;return this[_0x272423(0x485)]['push'](_0x19299a),this[_0x272423(0x4e2)](),this;}[_0x4c5ff4(0x3dc)](_0x24aeb7){var _0x5ce839=_0x4c5ff4;throw new Error(_0x5ce839(0x423));}[_0x4c5ff4(0x1f4)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x4c5ff4(0x319)](){var _0x3d2c4c=_0x4c5ff4;throw new Error(_0x3d2c4c(0x21e));}[_0x4c5ff4(0x29a)](){return this;}['toggleOffline'](){return this;}[_0x4c5ff4(0x276)](){var _0x37cde6=_0x4c5ff4;const {_injector:_0x2e039e,_pendingMutations:_0x7e7f6e,_awaitingChangeset:_0xbf4153,unitID:_0x478327,_handler:_0x5a4bf8,type:_0x544af1}=this,_0x563bf9=Ot(_0x2e039e,_0x478327,_0x544af1,_0xbf4153,_0x7e7f6e,_0x5a4bf8);return _0x563bf9 instanceof exports[_0x37cde6(0x4e5)]?_0x563bf9[_0x37cde6(0x47d)]():(_0x563bf9 instanceof exports[_0x37cde6(0x415)]||_0x563bf9 instanceof exports['AwaitingState'])&&_0x563bf9[_0x37cde6(0x566)](),_0x563bf9;}[_0x4c5ff4(0x566)](){var _0xf22a7e=_0x4c5ff4;throw new Error(_0xf22a7e(0x43c));}},exports[_0x4c5ff4(0x555)]=ae([L(0x5,a['Inject'](a[_0x4c5ff4(0x506)])),L(0x6,a[_0x4c5ff4(0x2d6)](p['RevisionService'])),L(0x7,a[_0x4c5ff4(0x267)]),L(0x8,a[_0x4c5ff4(0x4e8)]),L(0x9,a['Optional'](q))],exports[_0x4c5ff4(0x555)]),exports[_0x4c5ff4(0x213)]=class extends ce{constructor(_0x308c9f,_0x156d9a,_0x46e5cf,_0x2eeb38,_0x5d9adf,_0x2eb056,_0x5341d0,_0x414f9c,_0x555653,_0x17306d,_0x2a0142,_0xaf2f61,_0x4dfefa,_0x76851f){var _0x5577a6=_0x4c5ff4;super(_0x308c9f,_0x156d9a,_0x46e5cf,_0x2eeb38,_0x5341d0,_0x2a0142,_0xaf2f61,_0x555653,_0x76851f),A(this,_0x5577a6(0x394),_0x5577a6(0x480)),(this[_0x5577a6(0x1fc)]=_0x5d9adf,this['_queuedRemoteChangesets']=_0x2eb056,this[_0x5577a6(0x2f8)]=_0x414f9c,this[_0x5577a6(0x2d2)]=_0x17306d,this[_0x5577a6(0x456)]=_0x4dfefa,this[_0x5577a6(0x443)]=_0x76851f);}[_0x4c5ff4(0x2be)](_0x41dc80){var _0x3612e9=_0x4c5ff4;try{const _0x3a02a0=[..._0x41dc80,...this[_0x3612e9(0x436)]],_0x237dd1=[this[_0x3612e9(0x2f4)]||this['_acknowledgedAwaitingChangeset']][_0x3612e9(0x3e9)](_0x21401c=>!!_0x21401c);let _0x9ccfbe,_0x1090ff;if(_0x237dd1[_0x3612e9(0x54c)]){const _0x5c570a=this[_0x3612e9(0x456)][_0x3612e9(0x24e)](_0x3a02a0,_0x237dd1,!0x1);if(!p[_0x3612e9(0x556)](_0x5c570a))throw _0x5c570a[_0x3612e9(0x2c9)];_0x9ccfbe=_0x5c570a[_0x3612e9(0x362)],_0x1090ff=_0x5c570a[_0x3612e9(0x491)];}else _0x9ccfbe=_0x3a02a0,_0x1090ff=[];let _0x5e1938=this[_0x3612e9(0x485)];_0x9ccfbe[_0x3612e9(0x56d)](_0x3b4a0b=>{var _0x36ffe5=_0x3612e9;let _0x30bf2b;if(_0x5e1938[_0x36ffe5(0x54c)]){const _0x312191=this['_transformService'][_0x36ffe5(0x411)](_0x3b4a0b,_0x5e1938);if(!p['isTransformMutationsWithChangesetSuccess'](_0x312191))throw _0x312191[_0x36ffe5(0x2c9)];_0x30bf2b=_0x312191['c1Prime'],_0x5e1938=_0x312191[_0x36ffe5(0x409)];}else _0x30bf2b=_0x3b4a0b;this[_0x36ffe5(0x35c)](_0x30bf2b);}),this[_0x3612e9(0x1fc)]&&this[_0x3612e9(0x454)](),this[_0x3612e9(0x2f4)]&&_0x1090ff[_0x3612e9(0x54c)]&&(_0x1090ff[0x0][_0x3612e9(0x32f)]=this[_0x3612e9(0x430)]());let _0x45472d;if(this[_0x3612e9(0x2f4)]&&_0x5e1938[_0x3612e9(0x54c)]!==0x0)_0x45472d=this[_0x3612e9(0x2f8)][_0x3612e9(0x3e3)](exports[_0x3612e9(0x415)],this[_0x3612e9(0x27a)],this['type'],_0x1090ff[0x0],_0x5e1938,this[_0x3612e9(0x41a)],void 0x0);else{if(this[_0x3612e9(0x2f4)]&&_0x5e1938[_0x3612e9(0x54c)]===0x0)_0x1090ff[0x0]['baseRev']=this[_0x3612e9(0x430)](),_0x45472d=this[_0x3612e9(0x2f8)]['createInstance'](exports[_0x3612e9(0x44a)],this[_0x3612e9(0x27a)],this[_0x3612e9(0x2eb)],_0x1090ff[0x0],this['_handler']);else{if(_0x5e1938[_0x3612e9(0x54c)]!==0x0){const _0x10e41b=this[_0x3612e9(0x2f8)][_0x3612e9(0x3e3)](exports[_0x3612e9(0x4e5)],this[_0x3612e9(0x27a)],this['type'],_0x5e1938,this[_0x3612e9(0x41a)]);_0x10e41b[_0x3612e9(0x47d)](),_0x45472d=_0x10e41b;}else _0x45472d=this['_injector'][_0x3612e9(0x3e3)](exports[_0x3612e9(0x258)],this[_0x3612e9(0x27a)],this[_0x3612e9(0x2eb)],this[_0x3612e9(0x41a)]);}}return _0x45472d[_0x3612e9(0x4e2)](),_0x45472d;}catch(_0xe7cc5){return this[_0x3612e9(0x2d2)]['error'](_0x3612e9(0x4b6),'failed\x20to\x20apply\x20missed\x20changesets!',_0xe7cc5),this[_0x3612e9(0x2f8)][_0x3612e9(0x3e3)](exports[_0x3612e9(0x327)],this['unitID'],this[_0x3612e9(0x2eb)],this[_0x3612e9(0x2f4)],this[_0x3612e9(0x485)],this['_handler'],!0x1);}}[_0x4c5ff4(0x566)](){var _0xc2002b=_0x4c5ff4;throw new Error(_0xc2002b(0x1ef));}[_0x4c5ff4(0x4be)](_0x388efe){var _0x128bcf=_0x4c5ff4;return this[_0x128bcf(0x485)]['push'](_0x388efe),this;}[_0x4c5ff4(0x3dc)](_0xe34170){var _0x250477=_0x4c5ff4;return this['_queuedRemoteChangesets'][_0x250477(0x209)](_0xe34170),this;}[_0x4c5ff4(0x1f4)](_0x1271bf){var _0x157aec=_0x4c5ff4;if(this[_0x157aec(0x2f4)])return this[_0x157aec(0x1fc)]=this[_0x157aec(0x2f4)],this[_0x157aec(0x2f4)]=null,this;throw new Error(_0x157aec(0x55a));}[_0x4c5ff4(0x319)](_0x392613){var _0x27617c=_0x4c5ff4;return this[_0x27617c(0x3fb)](!!(_0x392613!=null&&_0x392613[_0x27617c(0x2f0)]));}[_0x4c5ff4(0x29a)](){return this;}[_0x4c5ff4(0x35e)](){var _0x2fec0a=_0x4c5ff4;return this[_0x2fec0a(0x2f8)]['createInstance'](exports['OfflineState'],this[_0x2fec0a(0x27a)],this[_0x2fec0a(0x2eb)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler']);}[_0x4c5ff4(0x276)](){return this;}['_onConflict'](_0x548a10){var _0xb5f30c=_0x4c5ff4;return this[_0xb5f30c(0x2f8)][_0xb5f30c(0x3e3)](exports[_0xb5f30c(0x327)],this[_0xb5f30c(0x27a)],this[_0xb5f30c(0x2eb)],this[_0xb5f30c(0x2f4)],this[_0xb5f30c(0x485)],this[_0xb5f30c(0x41a)],_0x548a10);}},exports[_0x4c5ff4(0x213)]=ae([L(0x7,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x506)])),L(0x8,a['Inject'](p[_0x4c5ff4(0x2d8)])),L(0x9,a[_0x4c5ff4(0x4d5)]),L(0xa,a[_0x4c5ff4(0x267)]),L(0xb,a[_0x4c5ff4(0x4e8)]),L(0xc,p[_0x4c5ff4(0x2c8)]),L(0xd,a[_0x4c5ff4(0x28a)](q))],exports['FetchingMissState']);function Ot(_0x31f311,_0x2981c6,_0x594b86,_0x1306fb,_0x341174,_0x1718ba){var _0x56edcb=_0x4c5ff4;return _0x1306fb&&_0x341174[_0x56edcb(0x54c)]?_0x31f311['createInstance'](exports[_0x56edcb(0x415)],_0x2981c6,_0x594b86,_0x1306fb,_0x341174,_0x1718ba,void 0x0):_0x1306fb?_0x31f311[_0x56edcb(0x3e3)](exports['AwaitingState'],_0x2981c6,_0x594b86,_0x1306fb,_0x1718ba):_0x341174[_0x56edcb(0x54c)]?_0x31f311['createInstance'](exports['PendingState'],_0x2981c6,_0x594b86,_0x341174,_0x1718ba):_0x31f311[_0x56edcb(0x3e3)](exports[_0x56edcb(0x258)],_0x2981c6,_0x594b86,_0x1718ba);}var vi=Object[_0x4c5ff4(0x405)],Fe=(_0x1066d2,_0xc4c526,_0x12852b,_0x3f3d56)=>{for(var _0x184077=_0x3f3d56>0x1?void 0x0:_0x3f3d56?vi(_0xc4c526,_0x12852b):_0xc4c526,_0x192af6=_0x1066d2['length']-0x1,_0xb37b67;_0x192af6>=0x0;_0x192af6--)(_0xb37b67=_0x1066d2[_0x192af6])&&(_0x184077=_0xb37b67(_0x184077)||_0x184077);return _0x184077;},j=(_0x3ae9fb,_0x459bec)=>(_0x9f1ad4,_0xb2085)=>_0x459bec(_0x9f1ad4,_0xb2085,_0x3ae9fb);exports['CollaborationEntity']=class extends a[_0x4c5ff4(0x2fc)]{constructor(_0x5d43ed,_0x23be68,_0x4f620f,_0x43aaed,_0x182b77,_0x10cad7,_0x73a9b7,_0x39d853,_0x5f4bde,_0x13fa9e,_0xe75e65,_0xbf9e69,_0x2632dd){var _0x4cbf85=_0x4c5ff4;super(),A(this,_0x4cbf85(0x1f5),new $[(_0x4cbf85(0x40e))](null)),A(this,_0x4cbf85(0x510),this[_0x4cbf85(0x1f5)][_0x4cbf85(0x2c1)]()),A(this,_0x4cbf85(0x4da)),A(this,'_collaborationPaused',!0x1),A(this,_0x4cbf85(0x304),''),A(this,_0x4cbf85(0x47f),0x0),A(this,_0x4cbf85(0x3ed),this[_0x4cbf85(0x510)][_0x4cbf85(0x51e)]($[_0x4cbf85(0x474)](_0x241e37=>_0x241e37?_0x241e37[_0x4cbf85(0x394)]:Be['OFFLINE']),$[_0x4cbf85(0x46c)](0x1))),A(this,_0x4cbf85(0x459),!0x1),A(this,_0x4cbf85(0x28f),[]),(this['unitID']=_0x5d43ed,this[_0x4cbf85(0x332)]=_0x23be68,this[_0x4cbf85(0x400)]=_0x4f620f,this[_0x4cbf85(0x2f8)]=_0x43aaed,this['_compressMutationService']=_0x182b77,this[_0x4cbf85(0x563)]=_0x10cad7,this['_revisionService']=_0x73a9b7,this[_0x4cbf85(0x448)]=_0x39d853,this[_0x4cbf85(0x2d2)]=_0x5f4bde,this['_commandService']=_0x13fa9e,this[_0x4cbf85(0x35f)]=_0xe75e65,this[_0x4cbf85(0x1f6)]=_0xbf9e69,this[_0x4cbf85(0x3c4)]=_0x2632dd);}get[_0x4c5ff4(0x23d)](){var _0x1bb977=_0x4c5ff4;return this[_0x1bb977(0x4da)];}async[_0x4c5ff4(0x1f3)](){var _0x3ad1eb=_0x4c5ff4;if(this[_0x3ad1eb(0x23d)])throw new Error(_0x3ad1eb(0x497));await this['_init']();}[_0x4c5ff4(0x38a)](){var _0x1da84c=_0x4c5ff4;return this[_0x1da84c(0x45f)]=!0x0,a[_0x1da84c(0x426)](()=>{var _0x32f7cd=_0x1da84c;this[_0x32f7cd(0x45f)]=!0x1,this[_0x32f7cd(0x293)]();});}[_0x4c5ff4(0x397)](_0x1357b9){var _0xee5bf4=_0x4c5ff4;this[_0xee5bf4(0x4b5)](_0x1357b9);}[_0x4c5ff4(0x25b)](_0x3a3238){var _0x4076d2=_0x4c5ff4;this[_0x4076d2(0x4da)]=_0x3a3238,this[_0x4076d2(0x1f5)]['next'](_0x3a3238);}async[_0x4c5ff4(0x352)](){var _0x4dc1e0=_0x4c5ff4,_0xc72163;this[_0x4dc1e0(0x25b)](await this[_0x4dc1e0(0x540)]()),this[_0x4dc1e0(0x1f6)]&&((_0xc72163=this[_0x4dc1e0(0x1f6)])==null||_0xc72163['editingUnit'](this[_0x4dc1e0(0x27a)]),this[_0x4dc1e0(0x294)](this[_0x4dc1e0(0x1f6)]['getUnitStatus$'](this['unitID'])['subscribe'](_0x201a72=>{var _0x2cf2d0=_0x4dc1e0;this[_0x2cf2d0(0x2d2)][_0x2cf2d0(0x205)](_0x2cf2d0(0x308),_0x2cf2d0(0x355),_0x201a72),_0x201a72===je[_0x2cf2d0(0x518)]?(this[_0x2cf2d0(0x448)][_0x2cf2d0(0x2ab)]({'id':Z[_0x2cf2d0(0x4a1)]}),this['_permissionService'][_0x2cf2d0(0x2c6)](new X[(_0x2cf2d0(0x53b))](this[_0x2cf2d0(0x27a)])['id'],!0x1),this[_0x2cf2d0(0x35f)][_0x2cf2d0(0x214)](!0x1)):(this[_0x2cf2d0(0x35f)]['updatePermissionPoint'](new X['WorkbookEditablePermission'](this[_0x2cf2d0(0x27a)])['id'],!0x0),this[_0x2cf2d0(0x35f)][_0x2cf2d0(0x214)](!0x0));})));let _0x1fc351=!0x1;return this[_0x4dc1e0(0x294)](this[_0x4dc1e0(0x332)]['sessionStatus$'][_0x4dc1e0(0x240)](_0x3db13d=>{var _0x4aca36=_0x4dc1e0;_0x3db13d===re[_0x4aca36(0x4a2)]?this[_0x4aca36(0x2c2)](_0x1fc351):_0x3db13d===re[_0x4aca36(0x44d)]&&(_0x1fc351=!0x0,this[_0x4aca36(0x543)]());})),this['disposeWithMe'](this[_0x4dc1e0(0x332)]['event$']['subscribe'](_0x111b40=>{var _0x1c5530=_0x4dc1e0;try{switch(_0x111b40[_0x1c5530(0x299)]){case p[_0x1c5530(0x3f0)]['NEW_CHANGESETS']:{this[_0x1c5530(0x383)](p[_0x1c5530(0x546)](_0x111b40['data']));break;}case p['CollaborationEvent'][_0x1c5530(0x33f)]:{this[_0x1c5530(0x389)](_0x111b40['data']);break;}case p[_0x1c5530(0x3f0)][_0x1c5530(0x22d)]:{this[_0x1c5530(0x386)]();break;}case p[_0x1c5530(0x3f0)][_0x1c5530(0x4d3)]:{this[_0x1c5530(0x223)](_0x111b40['data']);break;}case p[_0x1c5530(0x3f0)][_0x1c5530(0x29f)]:{this[_0x1c5530(0x4dd)](_0x111b40[_0x1c5530(0x1e8)][_0x1c5530(0x3ff)]['map'](_0x205016=>p[_0x1c5530(0x546)](_0x205016)));break;}case p[_0x1c5530(0x3f0)][_0x1c5530(0x33a)]:{this[_0x1c5530(0x386)]({'isPermissionRej':!0x0});break;}case p['CollaborationEvent'][_0x1c5530(0x2f3)]:break;}}catch(_0x2d765d){throw console[_0x1c5530(0x2c9)](_0x1c5530(0x32e),_0x2d765d),_0x2d765d;}})),this[_0x4dc1e0(0x4da)];}[_0x4c5ff4(0x452)](){var _0x46dc52=_0x4c5ff4;this[_0x46dc52(0x459)]=!0x1;}['_lockTransition'](){var _0x50f7cb=_0x4c5ff4;if(this['_transitionLocked'])throw new Error(_0x50f7cb(0x358));this[_0x50f7cb(0x459)]=!0x0;}['_onLocalMutation'](_0x4cb49c){var _0xda3ae1=_0x4c5ff4;this['_lockTransition'](),this[_0xda3ae1(0x25b)](this[_0xda3ae1(0x4da)][_0xda3ae1(0x4be)](_0x4cb49c)),this[_0xda3ae1(0x452)]();}[_0x4c5ff4(0x383)](_0x150b3c){var _0x1a0ef8=_0x4c5ff4;if(!(_0x150b3c['revision']<=this[_0x1a0ef8(0x45c)]['getCurrentRevOfUnit'](this[_0x1a0ef8(0x27a)]))){if(this['_collaborationPaused']){this[_0x1a0ef8(0x28f)][_0x1a0ef8(0x209)](_0x150b3c);return;}this[_0x1a0ef8(0x435)](_0x150b3c);}}[_0x4c5ff4(0x293)](){var _0x38da31=_0x4c5ff4;this['_remoteChangesetQueue'][_0x38da31(0x56d)](_0x4e103a=>this[_0x38da31(0x435)](_0x4e103a)),this[_0x38da31(0x28f)]=[];}[_0x4c5ff4(0x435)](_0x3e4eec){var _0x50901f=_0x4c5ff4;const _0x540e7f=this['_compressMutationService']['interceptor'][_0x50901f(0x429)](this[_0x50901f(0x228)]['interceptor'][_0x50901f(0x414)]()[_0x50901f(0x4f6)])(_0x3e4eec['mutations'],null)||_0x3e4eec[_0x50901f(0x2c5)],_0x3c6d6a={..._0x3e4eec,'mutations':_0x540e7f};this[_0x50901f(0x48b)](),this[_0x50901f(0x25b)](this[_0x50901f(0x4da)][_0x50901f(0x3dc)](_0x3c6d6a)),this['_unlockTransition']();}[_0x4c5ff4(0x389)](_0x3952e5){var _0x439fff=_0x4c5ff4;this[_0x439fff(0x48b)](),this[_0x439fff(0x25b)](this[_0x439fff(0x4da)][_0x439fff(0x1f4)](_0x3952e5)),this[_0x439fff(0x452)]();}[_0x4c5ff4(0x386)](_0x66023f){var _0x24310f=_0x4c5ff4;this[_0x24310f(0x48b)](),this[_0x24310f(0x25b)](this[_0x24310f(0x4da)][_0x24310f(0x319)](_0x66023f)),this[_0x24310f(0x452)]();}[_0x4c5ff4(0x223)](_0x34dd26){var _0x2e54f3=_0x4c5ff4;this[_0x2e54f3(0x48b)](),this[_0x2e54f3(0x25b)](this[_0x2e54f3(0x4da)][_0x2e54f3(0x29a)](_0x34dd26)),this[_0x2e54f3(0x452)]();}[_0x4c5ff4(0x4dd)](_0x369f1f){var _0x15f471=_0x4c5ff4;if(!(this['_state']instanceof exports[_0x15f471(0x213)]))throw new TypeError(_0x15f471(0x55c));const _0xb6907d=_0x369f1f[_0x15f471(0x474)](_0x4caa0b=>{var _0x35437e=_0x15f471;const _0x41ea30=this['_compressMutationService'][_0x35437e(0x3af)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x35437e(0x3af)][_0x35437e(0x414)]()['COMPRESS_MUTATION_APPLY'])(_0x4caa0b[_0x35437e(0x2c5)],null)||_0x4caa0b['mutations'];return{..._0x4caa0b,'mutations':_0x41ea30};});this['_lockTransition'](),this[_0x15f471(0x25b)](this[_0x15f471(0x4da)]['onMissedChangesetFetched'](_0xb6907d)),this[_0x15f471(0x452)]();}['_toggleOffline'](){var _0x225753=_0x4c5ff4;this[_0x225753(0x48b)](),this[_0x225753(0x25b)](this['_state'][_0x225753(0x35e)]()),this[_0x225753(0x452)]();}['_toggleOnline'](_0xbe9daa=!0x1){var _0x317d5b=_0x4c5ff4;this[_0x317d5b(0x48b)](),this['_updateState'](this[_0x317d5b(0x4da)]['toggleOnline']()),this[_0x317d5b(0x452)]();const _0x42eaf3=this['_state'];_0xbe9daa&&_0x42eaf3 instanceof exports[_0x317d5b(0x258)]&&(this['_lockTransition'](),this[_0x317d5b(0x25b)](_0x42eaf3[_0x317d5b(0x325)]()),this[_0x317d5b(0x452)]());}async[_0x4c5ff4(0x540)](){return new Promise(_0x12d0a7=>{var _0x4de88f=_0x1dd8;this[_0x4de88f(0x332)][_0x4de88f(0x2ce)][_0x4de88f(0x51e)]($[_0x4de88f(0x262)](0x1))[_0x4de88f(0x240)](async _0x4c706b=>{var _0x569339=_0x4de88f;_0x12d0a7(await this[_0x569339(0x4db)](_0x4c706b===re[_0x569339(0x4a2)]));});});}['_createHandler'](){var _0x45c785=_0x4c5ff4;const _0x252361=this[_0x45c785(0x27a)];return{'onStateChange':(_0x296f01,_0x5086d4)=>{var _0xaec00e=_0x45c785;if(_0x296f01!==this[_0xaec00e(0x4da)])throw new Error(_0xaec00e(0x42d)+_0x296f01[_0xaec00e(0x394)]+'\x0aAfter:\x20'+_0x5086d4['status']+_0xaec00e(0x26a)+this[_0xaec00e(0x4da)][_0xaec00e(0x394)]);this[_0xaec00e(0x25b)](_0x5086d4);},'onSendChangeset':_0x19c2cb=>{var _0x39bb83=_0x45c785;_0x19c2cb[_0x39bb83(0x32c)]||(_0x19c2cb[_0x39bb83(0x32c)]=this[_0x39bb83(0x304)],_0x19c2cb['reqId']=++this[_0x39bb83(0x47f)]);const _0x5a153f={'eventID':p[_0x39bb83(0x3f0)][_0x39bb83(0x458)],'data':{'unitID':_0x19c2cb['unitID'],'unitType':this[_0x39bb83(0x400)],'changeset':_0x19c2cb,'memberID':this[_0x39bb83(0x332)][_0x39bb83(0x550)]()}};this[_0x39bb83(0x332)][_0x39bb83(0x467)](_0x5a153f,this[_0x39bb83(0x27a)]);},'onMissingChangesets':({from:_0xc1c3bc,to:_0x38bc99})=>{var _0x311675=_0x45c785;this[_0x311675(0x2d2)]['debug'](_0x311675(0x308),'fetching\x20missing\x20changesets\x20from\x20'+_0xc1c3bc+_0x311675(0x50f)+_0x38bc99);const _0x21545b={'eventID':p[_0x311675(0x3f0)]['FETCH_MISSING'],'data':{'unitID':_0x252361,'unitType':this[_0x311675(0x400)],'from':_0xc1c3bc,'to':_0x38bc99}};this[_0x311675(0x332)][_0x311675(0x467)](_0x21545b,this['unitID']);}};}async[_0x4c5ff4(0x4db)](_0x403a1c){var _0x179d0f=_0x4c5ff4,_0x3f4286,_0x5614b3,_0x925a37;const _0x24bf06=await((_0x3f4286=this['_localCacheService'])==null?void 0x0:_0x3f4286[_0x179d0f(0x39d)](this[_0x179d0f(0x27a)])),_0x395cf4=(_0x5614b3=_0x24bf06==null?void 0x0:_0x24bf06[_0x179d0f(0x2c5)])!=null?_0x5614b3:[],_0x408733=(_0x925a37=_0x24bf06==null?void 0x0:_0x24bf06[_0x179d0f(0x3a5)])!=null?_0x925a37:null,_0x830f60=!!(_0x408733!=null&&_0x408733[_0x179d0f(0x32c)])&&!!(_0x408733!=null&&_0x408733[_0x179d0f(0x302)]);this[_0x179d0f(0x304)]=_0x830f60?_0x408733[_0x179d0f(0x32c)]:p[_0x179d0f(0x33c)](),this[_0x179d0f(0x47f)]=_0x830f60?_0x408733[_0x179d0f(0x302)]:0x0;const _0x9b46e9=this[_0x179d0f(0x27a)];try{this[_0x179d0f(0x2bc)](_0x408733,_0x395cf4);}catch(_0x5f4022){this[_0x179d0f(0x2d2)][_0x179d0f(0x2c9)](_0x5f4022);}const _0x562c2f=this['_createHandler']();if(_0x403a1c){const _0xd71442=Ot(this[_0x179d0f(0x2f8)],_0x9b46e9,this['_type'],_0x408733,_0x395cf4,_0x562c2f);return _0xd71442 instanceof exports[_0x179d0f(0x4e5)]?_0xd71442[_0x179d0f(0x47d)]():(_0xd71442 instanceof exports[_0x179d0f(0x415)]||_0xd71442 instanceof exports[_0x179d0f(0x44a)])&&_0xd71442['resend'](),_0xd71442;}return this['_injector'][_0x179d0f(0x3e3)](exports['OfflineState'],_0x9b46e9,this[_0x179d0f(0x400)],_0x408733,_0x395cf4,_0x562c2f);}[_0x4c5ff4(0x2bc)](_0x3e8003,_0x258793){var _0x1e8df5=_0x4c5ff4,_0x2e7726,_0x380000;const _0x5077e6=this[_0x1e8df5(0x228)][_0x1e8df5(0x3af)][_0x1e8df5(0x429)](this[_0x1e8df5(0x228)][_0x1e8df5(0x3af)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x2e7726=_0x5077e6((_0x3e8003==null?void 0x0:_0x3e8003[_0x1e8df5(0x2c5)])||[],null))==null||_0x2e7726['forEach'](_0x3c1fe8=>this[_0x1e8df5(0x3c6)][_0x1e8df5(0x2e0)](_0x3c1fe8['id'],_0x3c1fe8[_0x1e8df5(0x48f)])),(_0x380000=_0x5077e6(_0x258793||[],null))==null||_0x380000[_0x1e8df5(0x56d)](_0x9d0bab=>this[_0x1e8df5(0x3c6)][_0x1e8df5(0x2e0)](_0x9d0bab['id'],_0x9d0bab[_0x1e8df5(0x48f)]));}},exports[_0x4c5ff4(0x2b1)]=Fe([j(0x3,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x506)])),j(0x4,a[_0x4c5ff4(0x2d6)](p[_0x4c5ff4(0x252)])),j(0x5,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x4c4)])),j(0x6,a[_0x4c5ff4(0x2d6)](p[_0x4c5ff4(0x2d8)])),j(0x7,a[_0x4c5ff4(0x2d6)](ee)),j(0x8,a['ILogService']),j(0x9,a[_0x4c5ff4(0x267)]),j(0xa,a[_0x4c5ff4(0x38d)]),j(0xb,a[_0x4c5ff4(0x28a)](de)),j(0xc,a[_0x4c5ff4(0x28a)](q))],exports[_0x4c5ff4(0x2b1)]),exports[_0x4c5ff4(0x2b5)]=class extends exports[_0x4c5ff4(0x2b1)]{constructor(_0xfa5ce7,_0x4bdf49,_0x1f8f95,_0x456b71,_0x27dbd4,_0x5f4e05,_0x2e7649,_0x34de99,_0x16ba29,_0x4b26a4,_0x155c09,_0x320bc0,_0x1dd1d9){var _0x534e10=_0x4c5ff4;super(_0xfa5ce7,_0x1f8f95,_0x4bdf49,_0x456b71,_0x27dbd4,_0x5f4e05,_0x2e7649,_0x34de99,_0x16ba29,_0x4b26a4,_0x155c09,_0x320bc0,_0x1dd1d9),A(this,'_handlerCallback',null),(this[_0x534e10(0x27a)]=_0xfa5ce7,this['type']=_0x4bdf49);}['addHandlerCallback'](_0x297325){var _0x55256e=_0x4c5ff4;this[_0x55256e(0x3ea)]=_0x297325;}[_0x4c5ff4(0x51c)](){this['_handlerCallback']=null,super['dispose']();}[_0x4c5ff4(0x312)](){var _0x5145cf=_0x4c5ff4;const _0x5bb06a=super['_createHandler']();return _0x5bb06a[_0x5145cf(0x507)]=_0x3a17e8=>{var _0x52e50f=_0x5145cf,_0x49c739,_0x4a61a3;return(_0x4a61a3=(_0x49c739=this[_0x52e50f(0x3ea)])==null?void 0x0:_0x49c739['onTransformIME'])==null?void 0x0:_0x4a61a3[_0x52e50f(0x417)](_0x49c739,_0x3a17e8);},_0x5bb06a['onTransformState']=_0x16664a=>{var _0x35f931=_0x5145cf,_0x283258,_0x379d4c;return(_0x379d4c=(_0x283258=this['_handlerCallback'])==null?void 0x0:_0x283258[_0x35f931(0x2d0)])==null?void 0x0:_0x379d4c[_0x35f931(0x417)](_0x283258,_0x16664a);},_0x5bb06a[_0x5145cf(0x39c)]=_0x317af6=>{var _0x4009e0=_0x5145cf,_0x3b8ae6,_0x246481;return(_0x246481=(_0x3b8ae6=this[_0x4009e0(0x3ea)])==null?void 0x0:_0x3b8ae6['onTransformSelections'])==null?void 0x0:_0x246481[_0x4009e0(0x417)](_0x3b8ae6,_0x317af6);},_0x5bb06a[_0x5145cf(0x4e6)]=_0x131ea7=>{var _0x1cb03b=_0x5145cf,_0x4f212c,_0xdcabd7;return(_0xdcabd7=(_0x4f212c=this[_0x1cb03b(0x3ea)])==null?void 0x0:_0x4f212c['onSyncEditingCollabCursor'])==null?void 0x0:_0xdcabd7['call'](_0x4f212c,_0x131ea7);},_0x5bb06a['onTransformRemoteChangesetByIMECache']=_0x439ed6=>{var _0x512a5e=_0x5145cf,_0x30e676,_0x14efd9,_0x511129;if(!((_0x30e676=this['_handlerCallback'])!=null&&_0x30e676[_0x512a5e(0x4ea)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x511129=(_0x14efd9=this[_0x512a5e(0x3ea)])==null?void 0x0:_0x14efd9[_0x512a5e(0x4ea)])==null?void 0x0:_0x511129['call'](_0x14efd9,_0x439ed6);},_0x5bb06a[_0x5145cf(0x2f2)]=_0x4758ae=>{var _0x5270f0=_0x5145cf,_0x409fff,_0x294d41,_0x34257d;if(!((_0x409fff=this[_0x5270f0(0x3ea)])!=null&&_0x409fff[_0x5270f0(0x2f2)]))throw new Error(_0x5270f0(0x4a9));return(_0x34257d=(_0x294d41=this[_0x5270f0(0x3ea)])==null?void 0x0:_0x294d41[_0x5270f0(0x2f2)])==null?void 0x0:_0x34257d['call'](_0x294d41,_0x4758ae);},_0x5bb06a;}async[_0x4c5ff4(0x352)](){var _0x4f88c4=_0x4c5ff4;const _0x4056e9=await super[_0x4f88c4(0x352)]();return this[_0x4f88c4(0x294)](this[_0x4f88c4(0x3c6)]['onCommandExecuted']((_0x5dbe50,_0x58b3d5)=>{var _0x3bba4b=_0x4f88c4;if(_0x5dbe50[_0x3bba4b(0x2eb)]!==a[_0x3bba4b(0x3f3)][_0x3bba4b(0x387)]||_0x58b3d5!=null&&_0x58b3d5[_0x3bba4b(0x1fd)]||_0x58b3d5!=null&&_0x58b3d5['onlyLocal']||_0x5dbe50['id']===ht['RichTextEditingMutation']['id'])return;const _0x20942a=_0x5dbe50[_0x3bba4b(0x48f)];if((_0x20942a==null?void 0x0:_0x20942a[_0x3bba4b(0x221)])!==this['unitID'])return;const _0x19826c=_0x5dbe50,_0x3d356f=this[_0x3bba4b(0x228)]['interceptor'][_0x3bba4b(0x429)](this[_0x3bba4b(0x228)][_0x3bba4b(0x3af)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x19826c],null)||[_0x19826c];this[_0x3bba4b(0x4b5)](_0x3d356f[0x0]);})),_0x4056e9;}},exports[_0x4c5ff4(0x2b5)]=Fe([j(0x3,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x506)])),j(0x4,a[_0x4c5ff4(0x2d6)](p[_0x4c5ff4(0x252)])),j(0x5,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x4c4)])),j(0x6,a['Inject'](p[_0x4c5ff4(0x2d8)])),j(0x7,a[_0x4c5ff4(0x2d6)](ee)),j(0x8,a[_0x4c5ff4(0x4d5)]),j(0x9,a[_0x4c5ff4(0x267)]),j(0xa,a[_0x4c5ff4(0x38d)]),j(0xb,a[_0x4c5ff4(0x28a)](de)),j(0xc,a['Optional'](q))],exports[_0x4c5ff4(0x2b5)]),exports[_0x4c5ff4(0x398)]=class extends exports['CollaborationEntity']{constructor(_0x39a7c6,_0x1d6d63,_0x4b7fa5,_0x1cde50,_0x52a8bd,_0x1fc9b8,_0x2a5630,_0x36823e,_0x1fbcf5,_0x47ba0e,_0x3c8397,_0x43cc78,_0x345026,_0x26af4b){var _0x241318=_0x4c5ff4;super(_0x39a7c6,_0x4b7fa5,_0x1d6d63,_0x1cde50,_0x52a8bd,_0x1fc9b8,_0x2a5630,_0x1fbcf5,_0x47ba0e,_0x3c8397,_0x43cc78,_0x345026,_0x26af4b),this[_0x241318(0x27a)]=_0x39a7c6,this[_0x241318(0x2eb)]=_0x1d6d63,this[_0x241318(0x2a8)]=_0x36823e;}[_0x4c5ff4(0x312)](){var _0x1c976c=_0x4c5ff4;const _0x250a5b=super[_0x1c976c(0x312)]();return _0x250a5b[_0x1c976c(0x39c)]=_0x3b8982=>this[_0x1c976c(0x2a8)]['transformSelections'](_0x3b8982),_0x250a5b;}async[_0x4c5ff4(0x352)](){var _0x298868=_0x4c5ff4;const _0x51b8cd=await super['_init']();return this[_0x298868(0x294)](this['_commandService'][_0x298868(0x2d3)]((_0xbba253,_0x116247)=>{var _0x1cf747=_0x298868;if(_0xbba253['type']!==a[_0x1cf747(0x3f3)][_0x1cf747(0x387)]||_0x116247!=null&&_0x116247[_0x1cf747(0x1fd)]||_0x116247!=null&&_0x116247['onlyLocal'])return;const _0x3d50b8=_0xbba253[_0x1cf747(0x48f)];if((_0x3d50b8==null?void 0x0:_0x3d50b8[_0x1cf747(0x221)])!==this[_0x1cf747(0x27a)])return;const _0x2d0d43=_0xbba253,_0x7d00fe=this['_compressMutationService'][_0x1cf747(0x3af)][_0x1cf747(0x429)](this[_0x1cf747(0x228)][_0x1cf747(0x3af)][_0x1cf747(0x414)]()['COMPRESS_MUTATION_SEND'])([_0x2d0d43],null)||[_0x2d0d43];this[_0x1cf747(0x4b5)](_0x7d00fe[0x0]);})),_0x51b8cd;}},exports[_0x4c5ff4(0x398)]=Fe([j(0x3,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x506)])),j(0x4,a[_0x4c5ff4(0x2d6)](p[_0x4c5ff4(0x252)])),j(0x5,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x4c4)])),j(0x6,a[_0x4c5ff4(0x2d6)](p['RevisionService'])),j(0x7,a[_0x4c5ff4(0x2d6)](exports['SheetTransformSelectionsService'])),j(0x8,a[_0x4c5ff4(0x2d6)](ee)),j(0x9,a[_0x4c5ff4(0x4d5)]),j(0xa,a[_0x4c5ff4(0x267)]),j(0xb,a['IPermissionService']),j(0xc,a['Optional'](de)),j(0xd,a[_0x4c5ff4(0x28a)](q))],exports[_0x4c5ff4(0x398)]);var Si=Object['getOwnPropertyDescriptor'],fi=(_0xf9e4b4,_0x5925c8,_0x4664d8,_0x19681c)=>{var _0x214ea3=_0x4c5ff4;for(var _0x12ec8e=_0x19681c>0x1?void 0x0:_0x19681c?Si(_0x5925c8,_0x4664d8):_0x5925c8,_0x147e54=_0xf9e4b4[_0x214ea3(0x54c)]-0x1,_0x1240f6;_0x147e54>=0x0;_0x147e54--)(_0x1240f6=_0xf9e4b4[_0x147e54])&&(_0x12ec8e=_0x1240f6(_0x12ec8e)||_0x12ec8e);return _0x12ec8e;},Se=(_0x7c4441,_0x187203)=>(_0x2b5920,_0x2b6c70)=>_0x187203(_0x2b5920,_0x2b6c70,_0x7c4441);exports['CollaborationController']=class extends a['RxDisposable']{constructor(_0x5d362f,_0x470944,_0x29a452,_0xf5ca8b){var _0x3abbac=_0x4c5ff4,_0x4c8c72;super(),A(this,'_entities',new Map()),A(this,_0x3abbac(0x402),new $[(_0x3abbac(0x256))]()),A(this,'entityInit$',this['_entityInit$'][_0x3abbac(0x2c1)]()),(this[_0x3abbac(0x2f8)]=_0x5d362f,this[_0x3abbac(0x376)]=_0x470944,this[_0x3abbac(0x2bb)]=_0x29a452,this[_0x3abbac(0x2c3)]=_0xf5ca8b,((_0x4c8c72=this['_configService'][_0x3abbac(0x296)](G))==null?void 0x0:_0x4c8c72[_0x3abbac(0x431)])!==!0x1&&this[_0x3abbac(0x352)]());}[_0x4c5ff4(0x51c)](){var _0x209b02=_0x4c5ff4;super[_0x209b02(0x51c)](),this[_0x209b02(0x42c)]['forEach'](_0x3e581a=>_0x3e581a[_0x209b02(0x51c)]()),this[_0x209b02(0x42c)]['clear']();}[_0x4c5ff4(0x227)](_0x275c68){var _0x42568c=_0x4c5ff4,_0x1aca5a;return(_0x1aca5a=this[_0x42568c(0x42c)][_0x42568c(0x38f)](_0x275c68))!=null?_0x1aca5a:null;}[_0x4c5ff4(0x2a0)](_0x11d0b0){var _0x588011=_0x4c5ff4;const _0x11965d=this[_0x588011(0x227)](_0x11d0b0);return _0x11965d?$['of'](_0x11965d):this[_0x588011(0x402)][_0x588011(0x51e)](V['filter'](_0x1dfcc5=>_0x1dfcc5['unitID']===_0x11d0b0));}[_0x4c5ff4(0x36e)](_0x2582c0){var _0x2c0eec=_0x4c5ff4;return $[_0x2c0eec(0x56a)](this[_0x2c0eec(0x2a0)](_0x2582c0)[_0x2c0eec(0x51e)](V[_0x2c0eec(0x474)](()=>{})));}['_init'](){var _0x51bc90=_0x4c5ff4;this['_univerInstanceService'][_0x51bc90(0x318)](a[_0x51bc90(0x4b8)][_0x51bc90(0x218)])[_0x51bc90(0x51e)]($[_0x51bc90(0x4ee)](this['dispose$']),V['delay'](0x10))[_0x51bc90(0x240)](async _0x47f889=>{var _0x41f6a3=_0x51bc90;const _0x1d8489=_0x47f889['getUnitId'](),_0x219363=await this['_startCollaboration'](_0x1d8489,J[_0x41f6a3(0x218)]);this[_0x41f6a3(0x42c)][_0x41f6a3(0x2e6)](_0x1d8489,_0x219363);}),this[_0x51bc90(0x2c3)]['getTypeOfUnitAdded$'](a[_0x51bc90(0x4b8)]['UNIVER_DOC'])[_0x51bc90(0x51e)]($[_0x51bc90(0x4ee)](this[_0x51bc90(0x505)]),V[_0x51bc90(0x25a)](0x10))[_0x51bc90(0x51e)](V[_0x51bc90(0x3e9)](_0x24ae25=>!_0x24ae25[_0x51bc90(0x562)]()[_0x51bc90(0x234)]('__')))[_0x51bc90(0x240)](async _0x790cf3=>{var _0x12d1ab=_0x51bc90;const _0x4e0bcd=_0x790cf3[_0x12d1ab(0x562)](),_0x1c6d79=await this['_startCollaboration'](_0x4e0bcd,J['UNIVER_DOC']);this['_entities'][_0x12d1ab(0x2e6)](_0x4e0bcd,_0x1c6d79);}),$[_0x51bc90(0x287)](this[_0x51bc90(0x2c3)][_0x51bc90(0x244)](a[_0x51bc90(0x4b8)][_0x51bc90(0x218)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType']['UNIVER_DOC']))['pipe']($[_0x51bc90(0x4ee)](this[_0x51bc90(0x505)]))[_0x51bc90(0x240)](_0x3cc257=>{var _0xf561ca=_0x51bc90;const _0x16e812=_0x3cc257['getUnitId'](),_0x2f6cd4=this[_0xf561ca(0x42c)][_0xf561ca(0x38f)](_0x16e812);_0x2f6cd4&&(_0x2f6cd4['dispose'](),this[_0xf561ca(0x42c)]['delete'](_0x16e812));});}async[_0x4c5ff4(0x31d)](_0x2b1a2c,_0x523c33){var _0x49c6d9=_0x4c5ff4;const _0x45b93b=await this[_0x49c6d9(0x376)]['requireSession'](_0x2b1a2c),_0x23b3e6=this['_injector'][_0x49c6d9(0x3e3)](this[_0x49c6d9(0x45e)](_0x523c33),_0x2b1a2c,_0x523c33,_0x45b93b);return await _0x23b3e6[_0x49c6d9(0x1f3)](),this['_entityInit$'][_0x49c6d9(0x473)](_0x23b3e6),_0x23b3e6;}[_0x4c5ff4(0x45e)](_0x471bd6){var _0x176c1e=_0x4c5ff4;switch(_0x471bd6){case J['UNIVER_DOC']:return exports[_0x176c1e(0x2b5)];case J['UNIVER_SHEET']:return exports['SheetCollaborationEntity'];default:throw new Error(_0x176c1e(0x3d8)+_0x471bd6);}}},exports[_0x4c5ff4(0x284)]=fi([Se(0x0,a['Inject'](a[_0x4c5ff4(0x506)])),Se(0x1,a[_0x4c5ff4(0x2d6)](exports['CollaborationSessionService'])),Se(0x2,a[_0x4c5ff4(0x344)]),Se(0x3,a[_0x4c5ff4(0x2fb)])],exports[_0x4c5ff4(0x284)]);var Ii=Object['getOwnPropertyDescriptor'],pi=(_0x30c67d,_0x5db2cd,_0x3f2a23,_0x5147c1)=>{for(var _0x184a92=_0x5147c1>0x1?void 0x0:_0x5147c1?Ii(_0x5db2cd,_0x3f2a23):_0x5db2cd,_0x32c9f9=_0x30c67d['length']-0x1,_0xd17577;_0x32c9f9>=0x0;_0x32c9f9--)(_0xd17577=_0x30c67d[_0x32c9f9])&&(_0x184a92=_0xd17577(_0x184a92)||_0x184a92);return _0x184a92;},Ke=(_0x60fdc8,_0x27020c)=>(_0x4f1d9e,_0x3fa4c)=>_0x27020c(_0x4f1d9e,_0x3fa4c,_0x60fdc8);const gi=_0x4c5ff4(0x419),Ei='Univer';let xe=class extends a['Disposable']{constructor(_0x340d38,_0xfc43c2){var _0x3b8e9c=_0x4c5ff4;super(),this[_0x3b8e9c(0x2c3)]=_0x340d38,this[_0x3b8e9c(0x2bb)]=_0xfc43c2,this[_0x3b8e9c(0x352)]();}[_0x4c5ff4(0x352)](){this['disposeWithMe'](this['_univerInstanceService']['focused$']['subscribe'](()=>{var _0x1930b6=_0x1dd8,_0x813b73;const _0x49edb8=this[_0x1930b6(0x2c3)][_0x1930b6(0x3fe)]();let _0x36bf55=(_0x813b73=this[_0x1930b6(0x2bb)]['getConfig'](gi))!=null?_0x813b73:Ei;_0x49edb8 instanceof a['Workbook']&&(_0x36bf55=_0x49edb8[_0x1930b6(0x3e4)]),document[_0x1930b6(0x544)]=_0x36bf55;}));}};xe=pi([Ke(0x0,a[_0x4c5ff4(0x2fb)]),Ke(0x1,a[_0x4c5ff4(0x344)])],xe);var mi=Object[_0x4c5ff4(0x405)],Ci=(_0x2a9b07,_0x2901de,_0x5d317a,_0x94bc05)=>{var _0x36bb3d=_0x4c5ff4;for(var _0x59758c=_0x94bc05>0x1?void 0x0:_0x94bc05?mi(_0x2901de,_0x5d317a):_0x2901de,_0x1e4f4e=_0x2a9b07[_0x36bb3d(0x54c)]-0x1,_0xe1b31;_0x1e4f4e>=0x0;_0x1e4f4e--)(_0xe1b31=_0x2a9b07[_0x1e4f4e])&&(_0x59758c=_0xe1b31(_0x59758c)||_0x59758c);return _0x59758c;},Ae=(_0x5c4651,_0x4a057c)=>(_0x1adf5b,_0x3e47e1)=>_0x4a057c(_0x1adf5b,_0x3e47e1,_0x5c4651);let ye=class{constructor(_0x1bd397,_0x363798,_0x30bba9){var _0x29d578=_0x4c5ff4;this[_0x29d578(0x2bb)]=_0x1bd397,this[_0x29d578(0x4ed)]=_0x363798,this[_0x29d578(0x516)]=_0x30bba9,this[_0x29d578(0x1f3)]();}[_0x4c5ff4(0x1f3)](){var _0x65d73b=_0x4c5ff4;this[_0x65d73b(0x4ed)][_0x65d73b(0x406)]({'priority':0x1,'interceptor':(_0x4e2cd5,_0x1f1e56)=>_0x1f1e56(_0x4e2cd5)[_0x65d73b(0x51e)]($['concatMap'](async _0x3bbf75=>{var _0x4045f5=_0x65d73b;const _0x2b3159=_0x3bbf75;if(_0x2b3159[_0x4045f5(0x394)]===0x191){if(typeof window>'u')throw new Error(_0x4045f5(0x3b5));if(window[_0x4045f5(0x269)](this[_0x4045f5(0x516)]['t'](_0x4045f5(0x351)))){const _0x39f476=window[_0x4045f5(0x53f)](window[_0x4045f5(0x2b4)][_0x4045f5(0x2b3)]);window[_0x4045f5(0x2b4)][_0x4045f5(0x2b3)]=this[_0x4045f5(0x37f)]()+'?url='+_0x39f476;}}return _0x2b3159;}))});}[_0x4c5ff4(0x37f)](){var _0x1abfc4=_0x4c5ff4,_0x2d9059,_0x1d261a;const _0xa5558e=this[_0x1abfc4(0x2bb)][_0x1abfc4(0x296)](pt),_0x4fe829=this['_configService'][_0x1abfc4(0x296)](G);return(_0x1d261a=(_0x2d9059=_0x4fe829==null?void 0x0:_0x4fe829[_0x1abfc4(0x2f6)])!=null?_0x2d9059:_0xa5558e)!=null?_0x1d261a:Wt;}};ye=Ci([Ae(0x0,a[_0x4c5ff4(0x344)]),Ae(0x1,a[_0x4c5ff4(0x2d6)](K[_0x4c5ff4(0x2ad)])),Ae(0x2,a['Inject'](a['LocaleService']))],ye);var Ti=Object[_0x4c5ff4(0x405)],bi=(_0x200710,_0x57b8a8,_0x15ac1e,_0x5eef20)=>{var _0xe084df=_0x4c5ff4;for(var _0xe7eb44=_0x5eef20>0x1?void 0x0:_0x5eef20?Ti(_0x57b8a8,_0x15ac1e):_0x57b8a8,_0x3a2f55=_0x200710[_0xe084df(0x54c)]-0x1,_0x5dccc1;_0x3a2f55>=0x0;_0x3a2f55--)(_0x5dccc1=_0x200710[_0x3a2f55])&&(_0xe7eb44=_0x5dccc1(_0xe7eb44)||_0xe7eb44);return _0xe7eb44;},qe=(_0x293903,_0x1c2607)=>(_0x52e817,_0x353dcb)=>_0x1c2607(_0x52e817,_0x353dcb,_0x293903);const Ve=_0x4c5ff4(0x3ab),Ri=_0x4c5ff4(0x51a);exports[_0x4c5ff4(0x37d)]=class extends a[_0x4c5ff4(0x1f2)]{constructor(_0x14f5ea,_0x17f989){var _0x5af71a=_0x4c5ff4;super(),this[_0x5af71a(0x4c9)]=_0x14f5ea,this[_0x5af71a(0x2bb)]=_0x17f989,this[_0x5af71a(0x4ac)]();}[_0x4c5ff4(0x4ac)](){var _0x1b5d68=_0x4c5ff4;const _0xe4d3fd=this;this[_0x1b5d68(0x294)](this[_0x1b5d68(0x4c9)][_0x1b5d68(0x406)]({'priority':0x3e7,'interceptor':K[_0x1b5d68(0x2f7)]({'isMatch'(_0x1aa09f){var _0x2000fc=_0x1b5d68,_0x5cc18e;if(_0x1aa09f[_0x2000fc(0x3e1)]===_0x2000fc(0x26d)&&((_0x5cc18e=_0x1aa09f[_0x2000fc(0x37c)])!=null&&_0x5cc18e['body'])){const {objectID:_0x362096,objectType:_0xf6e8ba}=_0x1aa09f[_0x2000fc(0x37c)][_0x2000fc(0x265)]||{};if(!_0x362096||_0xf6e8ba===void 0x0)return!0x1;const _0x5efa27=_0xe4d3fd[_0x2000fc(0x4f2)]()+'/'+_0xf6e8ba+_0x2000fc(0x553)+_0x362096+'/allowed';if(_0x1aa09f[_0x2000fc(0x499)]===_0x5efa27)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x580618){var _0x2249da=_0x1b5d68,_0xf66332;return(_0xf66332=_0x580618[_0x2249da(0x37c)])==null?void 0x0:_0xf66332[_0x2249da(0x265)];},'mergeParamsToRequest'(_0x4e5add,_0x368cce){var _0x5c431b=_0x1b5d68;const _0x15d0be=_0xe4d3fd[_0x5c431b(0x4f2)]()+_0x5c431b(0x336),_0x34b5a2=_0x4e5add[_0x5c431b(0x289)]((_0xf068c7,_0x42fdd8)=>{const {unitID:_0x5ad14a,objectID:_0x2ab3a4,objectType:_0x528776,actions:_0x59fb80}=_0x42fdd8;return _0xf068c7[_0x5ad14a]||(_0xf068c7[_0x5ad14a]={}),_0xf068c7[_0x5ad14a][_0x2ab3a4]||(_0xf068c7[_0x5ad14a][_0x2ab3a4]={'objectID':_0x2ab3a4,'objectType':_0x528776,'actions':[]}),_0xf068c7[_0x5ad14a][_0x2ab3a4]['actions']['push'](..._0x59fb80),_0xf068c7;},{}),_0xc54560=[];for(const _0x48a61a in _0x34b5a2)for(const _0x18d2da in _0x34b5a2[_0x48a61a]){const {actions:_0x2dc338,objectType:_0x82baaa}=_0x34b5a2[_0x48a61a][_0x18d2da],_0x17e637=[...new Set(_0x2dc338)];_0xc54560[_0x5c431b(0x209)]({'unitID':_0x48a61a,'objectID':_0x18d2da,'objectType':_0x82baaa,'actions':_0x17e637});}return new K[(_0x5c431b(0x217))](_0x5c431b(0x26d),_0x15d0be,{'headers':_0x368cce['headers'],'withCredentials':_0x368cce[_0x5c431b(0x41e)],'responseType':_0x368cce[_0x5c431b(0x2a7)],'body':{'requests':_0xc54560}});}},{'distributeResult'(_0x22a40d,_0x313d1a){var _0x23da68=_0x1b5d68;const {objectActions:_0x468919}=_0x22a40d;return _0x313d1a[_0x23da68(0x474)](_0x1436ef=>{var _0x241464=_0x23da68;const {unitID:_0x3d02fe,objectID:_0xe52233,actions:_0x4a7982}=_0x1436ef,_0x5ac866=_0x468919['find'](_0x37e155=>_0x37e155['unitID']===_0x3d02fe&&_0x37e155['objectID']===_0xe52233),_0x12b764=_0x4a7982[_0x241464(0x474)](_0x1fc0fa=>_0x5ac866==null?void 0x0:_0x5ac866[_0x241464(0x46f)][_0x241464(0x33e)](_0x19037a=>_0x19037a[_0x241464(0x3b0)]===_0x1fc0fa))[_0x241464(0x3e9)](_0x54b7c4=>!!_0x54b7c4);return{'config':_0x1436ef,'result':{'actions':_0x12b764,'error':_0x22a40d['error']}};});}})}));}[_0x4c5ff4(0x4f2)](){var _0x220cd0=_0x4c5ff4,_0x3e1c2c,_0x582120;const _0x27e527=this[_0x220cd0(0x2bb)]['getConfig'](Ve),_0xa16e26=this['_configService'][_0x220cd0(0x296)](G);return(_0x582120=(_0x3e1c2c=_0xa16e26==null?void 0x0:_0xa16e26[_0x220cd0(0x461)])!=null?_0x3e1c2c:_0x27e527)!=null?_0x582120:Ri;}async[_0x4c5ff4(0x525)](_0x372b69){var _0x3d9132=_0x4c5ff4;const _0x405855=this[_0x3d9132(0x4f2)]()+'/'+_0x372b69[_0x3d9132(0x3a9)]+_0x3d9132(0x4f1);return(await this['_HTTPService']['post'](_0x405855,{'body':_0x372b69}))[_0x3d9132(0x265)][_0x3d9132(0x392)]||'';}async[_0x4c5ff4(0x27d)](_0xf6b9b2){var _0x39cee4=_0x4c5ff4;const _0x422efc=this[_0x39cee4(0x4f2)]()+'/-/object/list';return(await this['_HTTPService']['post'](_0x422efc,{'body':_0xf6b9b2}))[_0x39cee4(0x265)][_0x39cee4(0x282)];}async[_0x4c5ff4(0x4f8)](_0xc7357a){var _0x4222fa=_0x4c5ff4,_0x28e0a7,_0x5a11e0;const _0x308429=this[_0x4222fa(0x4f2)]()+'/'+_0xc7357a[_0x4222fa(0x3a9)]+_0x4222fa(0x553)+_0xc7357a['objectID'],_0x586d48=await this[_0x4222fa(0x4c9)][_0x4222fa(0x288)](_0x308429,{'body':_0xc7357a});if(((_0x5a11e0=(_0x28e0a7=_0x586d48==null?void 0x0:_0x586d48[_0x4222fa(0x265)])==null?void 0x0:_0x28e0a7[_0x4222fa(0x2c9)])==null?void 0x0:_0x5a11e0[_0x4222fa(0x3aa)])!==0x1)throw new Error(_0x4222fa(0x3b7));}async[_0x4c5ff4(0x23b)](_0x2e9646){var _0x665348=_0x4c5ff4;const _0x30d07f=this[_0x665348(0x4f2)]()+'/'+_0x2e9646[_0x665348(0x3a9)]+_0x665348(0x553)+_0x2e9646['objectID']+'/allowed';return(await this['_HTTPService'][_0x665348(0x557)](_0x30d07f,{'body':_0x2e9646}))[_0x665348(0x265)][_0x665348(0x46f)];}async[_0x4c5ff4(0x3c0)](_0x1424aa){var _0x5b5a0d=_0x4c5ff4;const _0x2f3d9f=this[_0x5b5a0d(0x4f2)]()+'/-/object/-/batch_allowed';return(await this[_0x5b5a0d(0x4c9)]['post'](_0x2f3d9f,{'body':{'requests':_0x1424aa}}))[_0x5b5a0d(0x265)][_0x5b5a0d(0x42b)];}async[_0x4c5ff4(0x52f)](_0x5d7a1c){var _0x37457e=_0x4c5ff4;const _0x3c46c6=this['_getAPIPrefixPath']()+'/'+_0x5d7a1c[_0x37457e(0x3a9)]+_0x37457e(0x2aa),_0x52c952=await this[_0x37457e(0x4c9)][_0x37457e(0x557)](_0x3c46c6,{'body':_0x5d7a1c});return{'roles':_0x52c952[_0x37457e(0x265)]['roles'],'actions':_0x52c952['body'][_0x37457e(0x46f)]};}async[_0x4c5ff4(0x298)](_0x2aedfc){var _0x4f5373=_0x4c5ff4;const _0x12ca64=this[_0x4f5373(0x4f2)]()+_0x4f5373(0x438);await this[_0x4f5373(0x4c9)][_0x4f5373(0x368)](_0x12ca64,{'params':{'collaboratorID':_0x2aedfc[_0x4f5373(0x4d2)],'objectID':_0x2aedfc[_0x4f5373(0x392)],'unitID':_0x2aedfc[_0x4f5373(0x27a)]}});}async[_0x4c5ff4(0x235)](_0x207f5b){var _0x3befcf=_0x4c5ff4;const _0x475d9b=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x3befcf(0x4c9)]['patch'](_0x475d9b,{'body':_0x207f5b});}async[_0x4c5ff4(0x4fe)](_0x45dc4d){var _0x114a97=_0x4c5ff4;const _0x2e9b56=this[_0x114a97(0x4f2)]()+_0x114a97(0x438);await this[_0x114a97(0x4c9)]['post'](_0x2e9b56,{'body':_0x45dc4d});}async[_0x4c5ff4(0x222)](_0x4d0cde){var _0x57c142=_0x4c5ff4;const _0x32e306=this[_0x57c142(0x4f2)]()+_0x57c142(0x438);return(await this[_0x57c142(0x4c9)][_0x57c142(0x38f)](_0x32e306,{'params':{'objectID':_0x4d0cde[_0x57c142(0x392)],'unitID':_0x4d0cde[_0x57c142(0x27a)]}}))[_0x57c142(0x265)][_0x57c142(0x536)];}async['putCollaborators'](_0x5c6304){var _0x1716e4=_0x4c5ff4;const _0x2d0c4e=this['_getAPIPrefixPath']()+_0x1716e4(0x438);await this[_0x1716e4(0x4c9)][_0x1716e4(0x288)](_0x2d0c4e,{'body':_0x5c6304});}},exports['AuthzIoHttpService']=bi([qe(0x0,a[_0x4c5ff4(0x2d6)](K[_0x4c5ff4(0x2ad)])),qe(0x1,a['Inject'](a[_0x4c5ff4(0x344)]))],exports[_0x4c5ff4(0x37d)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x4c180a){var _0x53102f=_0x4c5ff4;return _0x4c180a&&_0x4c180a[_0x53102f(0x238)]&&Object[_0x53102f(0x2f9)]['hasOwnProperty'][_0x53102f(0x417)](_0x4c180a,_0x53102f(0x207))?_0x4c180a[_0x53102f(0x207)]:_0x4c180a;}var fe={'exports':{}};function Oi(_0x235ff0){var _0x22c2b1=_0x4c5ff4;throw new Error(_0x22c2b1(0x3ee)+_0x235ff0+_0x22c2b1(0x4ad));}var Ie={'exports':{}},yi=Ie[_0x4c5ff4(0x511)],ze;function Q(){return ze||(ze=0x1,function(_0x3d450f,_0x2a6225){(function(_0x5a2472,_0x316888){var _0x39a722=_0x1dd8;_0x3d450f[_0x39a722(0x511)]=_0x316888();}(yi,function(){var _0x2c35bd=_0x2c35bd||function(_0x2e0379,_0x46f2ec){var _0x561e7f=_0x1dd8,_0x430452;if(typeof window<'u'&&window[_0x561e7f(0x369)]&&(_0x430452=window[_0x561e7f(0x369)]),typeof self<'u'&&self['crypto']&&(_0x430452=self[_0x561e7f(0x369)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x430452=globalThis[_0x561e7f(0x369)]),!_0x430452&&typeof window<'u'&&window[_0x561e7f(0x34c)]&&(_0x430452=window[_0x561e7f(0x34c)]),!_0x430452&&typeof Pe<'u'&&Pe[_0x561e7f(0x369)]&&(_0x430452=Pe[_0x561e7f(0x369)]),!_0x430452&&typeof Oi==_0x561e7f(0x345))try{_0x430452=require(_0x561e7f(0x369));}catch{}var _0x30347c=function(){var _0x579ff6=_0x561e7f;if(_0x430452){if(typeof _0x430452[_0x579ff6(0x237)]=='function')try{return _0x430452[_0x579ff6(0x237)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x430452[_0x579ff6(0x524)]==_0x579ff6(0x345))try{return _0x430452['randomBytes'](0x4)[_0x579ff6(0x388)]();}catch{}}throw new Error(_0x579ff6(0x348));},_0x6bec7b=Object[_0x561e7f(0x525)]||(function(){function _0x5f15d4(){}return function(_0x58cc9f){var _0x348a9d=_0x1dd8,_0x17e91c;return _0x5f15d4[_0x348a9d(0x2f9)]=_0x58cc9f,_0x17e91c=new _0x5f15d4(),_0x5f15d4['prototype']=null,_0x17e91c;};}()),_0x2e33e1={},_0x42dea8=_0x2e33e1['lib']={},_0x173d20=_0x42dea8['Base']=(function(){return{'extend':function(_0x4da2a0){var _0x1c54f0=_0x1dd8,_0x5f39c6=_0x6bec7b(this);return _0x4da2a0&&_0x5f39c6[_0x1c54f0(0x421)](_0x4da2a0),(!_0x5f39c6[_0x1c54f0(0x513)](_0x1c54f0(0x1f3))||this[_0x1c54f0(0x1f3)]===_0x5f39c6[_0x1c54f0(0x1f3)])&&(_0x5f39c6[_0x1c54f0(0x1f3)]=function(){var _0x55ce18=_0x1c54f0;_0x5f39c6[_0x55ce18(0x494)][_0x55ce18(0x1f3)]['apply'](this,arguments);}),_0x5f39c6[_0x1c54f0(0x1f3)][_0x1c54f0(0x2f9)]=_0x5f39c6,_0x5f39c6[_0x1c54f0(0x494)]=this,_0x5f39c6;},'create':function(){var _0x18f809=_0x1dd8,_0x32e7b6=this['extend']();return _0x32e7b6[_0x18f809(0x1f3)][_0x18f809(0x1ff)](_0x32e7b6,arguments),_0x32e7b6;},'init':function(){},'mixIn':function(_0x370d81){var _0x545596=_0x1dd8;for(var _0x267adf in _0x370d81)_0x370d81[_0x545596(0x513)](_0x267adf)&&(this[_0x267adf]=_0x370d81[_0x267adf]);_0x370d81[_0x545596(0x513)](_0x545596(0x42e))&&(this[_0x545596(0x42e)]=_0x370d81['toString']);},'clone':function(){var _0x2c673c=_0x1dd8;return this['init']['prototype'][_0x2c673c(0x30d)](this);}};}()),_0x1d4a95=_0x42dea8[_0x561e7f(0x3ec)]=_0x173d20[_0x561e7f(0x30d)]({'init':function(_0x504d2f,_0x23c180){var _0x352cfd=_0x561e7f;_0x504d2f=this['words']=_0x504d2f||[],_0x23c180!=_0x46f2ec?this['sigBytes']=_0x23c180:this[_0x352cfd(0x24a)]=_0x504d2f[_0x352cfd(0x54c)]*0x4;},'toString':function(_0x2ee18c){var _0x481332=_0x561e7f;return(_0x2ee18c||_0xc88e1f)[_0x481332(0x40a)](this);},'concat':function(_0x38b1dd){var _0x12dc3f=_0x561e7f,_0x154ddf=this[_0x12dc3f(0x1ee)],_0x10d73d=_0x38b1dd[_0x12dc3f(0x1ee)],_0x2e7f6f=this[_0x12dc3f(0x24a)],_0x5cac4a=_0x38b1dd[_0x12dc3f(0x24a)];if(this['clamp'](),_0x2e7f6f%0x4)for(var _0x43e8c3=0x0;_0x43e8c3<_0x5cac4a;_0x43e8c3++){var _0x47f665=_0x10d73d[_0x43e8c3>>>0x2]>>>0x18-_0x43e8c3%0x4*0x8&0xff;_0x154ddf[_0x2e7f6f+_0x43e8c3>>>0x2]|=_0x47f665<<0x18-(_0x2e7f6f+_0x43e8c3)%0x4*0x8;}else{for(var _0x3f475a=0x0;_0x3f475a<_0x5cac4a;_0x3f475a+=0x4)_0x154ddf[_0x2e7f6f+_0x3f475a>>>0x2]=_0x10d73d[_0x3f475a>>>0x2];}return this[_0x12dc3f(0x24a)]+=_0x5cac4a,this;},'clamp':function(){var _0x25d09b=_0x561e7f,_0x3267ef=this[_0x25d09b(0x1ee)],_0x538083=this[_0x25d09b(0x24a)];_0x3267ef[_0x538083>>>0x2]&=0xffffffff<<0x20-_0x538083%0x4*0x8,_0x3267ef[_0x25d09b(0x54c)]=_0x2e0379[_0x25d09b(0x328)](_0x538083/0x4);},'clone':function(){var _0x541595=_0x561e7f,_0x5bc228=_0x173d20[_0x541595(0x3ca)][_0x541595(0x417)](this);return _0x5bc228[_0x541595(0x1ee)]=this[_0x541595(0x1ee)]['slice'](0x0),_0x5bc228;},'random':function(_0xb39587){var _0x344d7c=_0x561e7f;for(var _0x3cfd23=[],_0x3e90fc=0x0;_0x3e90fc<_0xb39587;_0x3e90fc+=0x4)_0x3cfd23[_0x344d7c(0x209)](_0x30347c());return new _0x1d4a95[(_0x344d7c(0x1f3))](_0x3cfd23,_0xb39587);}}),_0x1e4100=_0x2e33e1[_0x561e7f(0x281)]={},_0xc88e1f=_0x1e4100[_0x561e7f(0x41c)]={'stringify':function(_0x1a1554){var _0x4fee49=_0x561e7f;for(var _0x24b6bc=_0x1a1554[_0x4fee49(0x1ee)],_0x3126d6=_0x1a1554['sigBytes'],_0x20bbb8=[],_0x612732=0x0;_0x612732<_0x3126d6;_0x612732++){var _0x5e60a7=_0x24b6bc[_0x612732>>>0x2]>>>0x18-_0x612732%0x4*0x8&0xff;_0x20bbb8['push']((_0x5e60a7>>>0x4)[_0x4fee49(0x42e)](0x10)),_0x20bbb8[_0x4fee49(0x209)]((_0x5e60a7&0xf)[_0x4fee49(0x42e)](0x10));}return _0x20bbb8['join']('');},'parse':function(_0x230320){var _0x1181e6=_0x561e7f;for(var _0x432eeb=_0x230320[_0x1181e6(0x54c)],_0x5c9039=[],_0xa945b3=0x0;_0xa945b3<_0x432eeb;_0xa945b3+=0x2)_0x5c9039[_0xa945b3>>>0x3]|=parseInt(_0x230320['substr'](_0xa945b3,0x2),0x10)<<0x18-_0xa945b3%0x8*0x4;return new _0x1d4a95[(_0x1181e6(0x1f3))](_0x5c9039,_0x432eeb/0x2);}},_0x505c39=_0x1e4100[_0x561e7f(0x466)]={'stringify':function(_0x387dbd){var _0x4b032b=_0x561e7f;for(var _0x27fe5c=_0x387dbd['words'],_0x4e43cb=_0x387dbd[_0x4b032b(0x24a)],_0x1b3ef2=[],_0x51dcb8=0x0;_0x51dcb8<_0x4e43cb;_0x51dcb8++){var _0x5557fb=_0x27fe5c[_0x51dcb8>>>0x2]>>>0x18-_0x51dcb8%0x4*0x8&0xff;_0x1b3ef2[_0x4b032b(0x209)](String[_0x4b032b(0x4e4)](_0x5557fb));}return _0x1b3ef2[_0x4b032b(0x52a)]('');},'parse':function(_0x3e234d){var _0x360aaa=_0x561e7f;for(var _0xa3de44=_0x3e234d[_0x360aaa(0x54c)],_0x3901f6=[],_0x3086c1=0x0;_0x3086c1<_0xa3de44;_0x3086c1++)_0x3901f6[_0x3086c1>>>0x2]|=(_0x3e234d['charCodeAt'](_0x3086c1)&0xff)<<0x18-_0x3086c1%0x4*0x8;return new _0x1d4a95[(_0x360aaa(0x1f3))](_0x3901f6,_0xa3de44);}},_0xaf2f14=_0x1e4100[_0x561e7f(0x2c4)]={'stringify':function(_0x363cdc){var _0xed1a90=_0x561e7f;try{return decodeURIComponent(escape(_0x505c39[_0xed1a90(0x40a)](_0x363cdc)));}catch{throw new Error(_0xed1a90(0x55b));}},'parse':function(_0x34f4fa){var _0x66a2e5=_0x561e7f;return _0x505c39[_0x66a2e5(0x257)](unescape(encodeURIComponent(_0x34f4fa)));}},_0x7eae1b=_0x42dea8[_0x561e7f(0x3d3)]=_0x173d20[_0x561e7f(0x30d)]({'reset':function(){var _0x4625c1=_0x561e7f;this[_0x4625c1(0x42f)]=new _0x1d4a95[(_0x4625c1(0x1f3))](),this['_nDataBytes']=0x0;},'_append':function(_0x260bf7){var _0x37f185=_0x561e7f;typeof _0x260bf7==_0x37f185(0x4de)&&(_0x260bf7=_0xaf2f14[_0x37f185(0x257)](_0x260bf7)),this[_0x37f185(0x42f)][_0x37f185(0x203)](_0x260bf7),this[_0x37f185(0x2cc)]+=_0x260bf7[_0x37f185(0x24a)];},'_process':function(_0x1f4bb9){var _0x2b8c10=_0x561e7f,_0x395823,_0xae591f=this[_0x2b8c10(0x42f)],_0x3a17c1=_0xae591f['words'],_0x1bef0b=_0xae591f[_0x2b8c10(0x24a)],_0x223247=this[_0x2b8c10(0x3bb)],_0x271d15=_0x223247*0x4,_0x280de9=_0x1bef0b/_0x271d15;_0x1f4bb9?_0x280de9=_0x2e0379[_0x2b8c10(0x328)](_0x280de9):_0x280de9=_0x2e0379[_0x2b8c10(0x3a2)]((_0x280de9|0x0)-this[_0x2b8c10(0x3ef)],0x0);var _0x1ee2c6=_0x280de9*_0x223247,_0x35ff4c=_0x2e0379['min'](_0x1ee2c6*0x4,_0x1bef0b);if(_0x1ee2c6){for(var _0x14d071=0x0;_0x14d071<_0x1ee2c6;_0x14d071+=_0x223247)this[_0x2b8c10(0x360)](_0x3a17c1,_0x14d071);_0x395823=_0x3a17c1['splice'](0x0,_0x1ee2c6),_0xae591f[_0x2b8c10(0x24a)]-=_0x35ff4c;}return new _0x1d4a95[(_0x2b8c10(0x1f3))](_0x395823,_0x35ff4c);},'clone':function(){var _0x1bda1f=_0x561e7f,_0x36a6f8=_0x173d20[_0x1bda1f(0x3ca)]['call'](this);return _0x36a6f8['_data']=this[_0x1bda1f(0x42f)]['clone'](),_0x36a6f8;},'_minBufferSize':0x0});_0x42dea8['Hasher']=_0x7eae1b[_0x561e7f(0x30d)]({'cfg':_0x173d20[_0x561e7f(0x30d)](),'init':function(_0xfc559e){var _0x336262=_0x561e7f;this[_0x336262(0x303)]=this[_0x336262(0x303)][_0x336262(0x30d)](_0xfc559e),this['reset']();},'reset':function(){var _0x3ff811=_0x561e7f;_0x7eae1b[_0x3ff811(0x551)][_0x3ff811(0x417)](this),this['_doReset']();},'update':function(_0xb1491){var _0x1b9ac0=_0x561e7f;return this['_append'](_0xb1491),this[_0x1b9ac0(0x38e)](),this;},'finalize':function(_0x45db87){_0x45db87&&this['_append'](_0x45db87);var _0x47e047=this['_doFinalize']();return _0x47e047;},'blockSize':0x10,'_createHelper':function(_0x2d50ff){return function(_0x27208c,_0x42de63){var _0x4e63ae=_0x1dd8;return new _0x2d50ff['init'](_0x42de63)[_0x4e63ae(0x215)](_0x27208c);};},'_createHmacHelper':function(_0x275e72){return function(_0x1acccc,_0x229985){var _0x5e0528=_0x1dd8;return new _0x35ec2a[(_0x5e0528(0x403))][(_0x5e0528(0x1f3))](_0x275e72,_0x229985)[_0x5e0528(0x215)](_0x1acccc);};}});var _0x35ec2a=_0x2e33e1[_0x561e7f(0x2f1)]={};return _0x2e33e1;}(Math);return _0x2c35bd;}));}(Ie)),Ie['exports'];}var pe={'exports':{}},Ni=pe[_0x4c5ff4(0x511)],Je;function yt(){var _0x4d851f=_0x4c5ff4;return Je||(Je=0x1,function(_0x1a18b9,_0x28b05a){(function(_0x3c8b21,_0x3dfac8){var _0x31318c=_0x1dd8;_0x1a18b9[_0x31318c(0x511)]=_0x3dfac8(Q());}(Ni,function(_0x2d6689){var _0x1eaddb=_0x1dd8;return(function(){var _0x4faea9=_0x1dd8,_0x173b13=_0x2d6689,_0x1e0ee7=_0x173b13[_0x4faea9(0x3cb)],_0x5aa906=_0x1e0ee7[_0x4faea9(0x3ec)],_0x19c15d=_0x173b13[_0x4faea9(0x281)];_0x19c15d['Base64']={'stringify':function(_0x4a8fd4){var _0x2c5f26=_0x4faea9,_0x36a36e=_0x4a8fd4[_0x2c5f26(0x1ee)],_0x5a0140=_0x4a8fd4['sigBytes'],_0x1cc0b2=this['_map'];_0x4a8fd4[_0x2c5f26(0x374)]();for(var _0x422d02=[],_0x4982ff=0x0;_0x4982ff<_0x5a0140;_0x4982ff+=0x3)for(var _0x4da2c7=_0x36a36e[_0x4982ff>>>0x2]>>>0x18-_0x4982ff%0x4*0x8&0xff,_0x6c37ff=_0x36a36e[_0x4982ff+0x1>>>0x2]>>>0x18-(_0x4982ff+0x1)%0x4*0x8&0xff,_0x1e0b3a=_0x36a36e[_0x4982ff+0x2>>>0x2]>>>0x18-(_0x4982ff+0x2)%0x4*0x8&0xff,_0x3ec892=_0x4da2c7<<0x10|_0x6c37ff<<0x8|_0x1e0b3a,_0x1b5328=0x0;_0x1b5328<0x4&&_0x4982ff+_0x1b5328*0.75<_0x5a0140;_0x1b5328++)_0x422d02['push'](_0x1cc0b2[_0x2c5f26(0x395)](_0x3ec892>>>0x6*(0x3-_0x1b5328)&0x3f));var _0x529dba=_0x1cc0b2[_0x2c5f26(0x395)](0x40);if(_0x529dba){for(;_0x422d02['length']%0x4;)_0x422d02[_0x2c5f26(0x209)](_0x529dba);}return _0x422d02[_0x2c5f26(0x52a)]('');},'parse':function(_0x49455){var _0x34c10e=_0x4faea9,_0xf07ff7=_0x49455[_0x34c10e(0x54c)],_0x37b4bf=this[_0x34c10e(0x27e)],_0xd50e76=this[_0x34c10e(0x2ae)];if(!_0xd50e76){_0xd50e76=this['_reverseMap']=[];for(var _0x171bc4=0x0;_0x171bc4<_0x37b4bf[_0x34c10e(0x54c)];_0x171bc4++)_0xd50e76[_0x37b4bf['charCodeAt'](_0x171bc4)]=_0x171bc4;}var _0x4054f2=_0x37b4bf[_0x34c10e(0x395)](0x40);if(_0x4054f2){var _0x5b8e10=_0x49455[_0x34c10e(0x4a4)](_0x4054f2);_0x5b8e10!==-0x1&&(_0xf07ff7=_0x5b8e10);}return _0x436fb7(_0x49455,_0xf07ff7,_0xd50e76);},'_map':_0x4faea9(0x25f)};function _0x436fb7(_0x3d0c9a,_0x4c21cd,_0x35d611){var _0x4b92db=_0x4faea9;for(var _0xc92e18=[],_0xebfe28=0x0,_0x47fbf5=0x0;_0x47fbf5<_0x4c21cd;_0x47fbf5++)if(_0x47fbf5%0x4){var _0x42fbbc=_0x35d611[_0x3d0c9a['charCodeAt'](_0x47fbf5-0x1)]<<_0x47fbf5%0x4*0x2,_0x40aa6d=_0x35d611[_0x3d0c9a[_0x4b92db(0x2bd)](_0x47fbf5)]>>>0x6-_0x47fbf5%0x4*0x2,_0x13e83d=_0x42fbbc|_0x40aa6d;_0xc92e18[_0xebfe28>>>0x2]|=_0x13e83d<<0x18-_0xebfe28%0x4*0x8,_0xebfe28++;}return _0x5aa906[_0x4b92db(0x525)](_0xc92e18,_0xebfe28);}}()),_0x2d6689[_0x1eaddb(0x281)]['Base64'];}));}(pe)),pe[_0x4d851f(0x511)];}var ge={'exports':{}},Di=ge[_0x4c5ff4(0x511)],Xe;function Ui(){var _0x557f0d=_0x4c5ff4;return Xe||(Xe=0x1,function(_0x4008f8,_0x2dc4cf){(function(_0x27412,_0x2ac381){var _0x288fb6=_0x1dd8;_0x4008f8[_0x288fb6(0x511)]=_0x2ac381(Q());}(Di,function(_0x4b585b){var _0x394f58=_0x1dd8;return function(_0x46e5ba){var _0x5befb3=_0x1dd8,_0x1981e5=_0x4b585b,_0x292803=_0x1981e5[_0x5befb3(0x3cb)],_0x3bd29b=_0x292803['WordArray'],_0x1f42a0=_0x292803[_0x5befb3(0x528)],_0x53cc0c=_0x1981e5[_0x5befb3(0x2f1)],_0x28a45f=[];(function(){var _0x1fd48b=_0x5befb3;for(var _0x21b972=0x0;_0x21b972<0x40;_0x21b972++)_0x28a45f[_0x21b972]=_0x46e5ba[_0x1fd48b(0x45a)](_0x46e5ba[_0x1fd48b(0x320)](_0x21b972+0x1))*0x100000000|0x0;}());var _0x30202b=_0x53cc0c[_0x5befb3(0x243)]=_0x1f42a0[_0x5befb3(0x30d)]({'_doReset':function(){var _0x12b66a=_0x5befb3;this[_0x12b66a(0x3cc)]=new _0x3bd29b[(_0x12b66a(0x1f3))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2bc909,_0x1d507e){var _0x2ee79a=_0x5befb3;for(var _0x22f054=0x0;_0x22f054<0x10;_0x22f054++){var _0x1d4ac6=_0x1d507e+_0x22f054,_0x45c65b=_0x2bc909[_0x1d4ac6];_0x2bc909[_0x1d4ac6]=(_0x45c65b<<0x8|_0x45c65b>>>0x18)&0xff00ff|(_0x45c65b<<0x18|_0x45c65b>>>0x8)&0xff00ff00;}var _0x4b0fbf=this[_0x2ee79a(0x3cc)][_0x2ee79a(0x1ee)],_0x3b7a4e=_0x2bc909[_0x1d507e+0x0],_0x4bb542=_0x2bc909[_0x1d507e+0x1],_0x35562e=_0x2bc909[_0x1d507e+0x2],_0x17c12e=_0x2bc909[_0x1d507e+0x3],_0x4c6032=_0x2bc909[_0x1d507e+0x4],_0x2aba34=_0x2bc909[_0x1d507e+0x5],_0x477c40=_0x2bc909[_0x1d507e+0x6],_0x24dc69=_0x2bc909[_0x1d507e+0x7],_0x4f3c64=_0x2bc909[_0x1d507e+0x8],_0x3ea292=_0x2bc909[_0x1d507e+0x9],_0x27cee6=_0x2bc909[_0x1d507e+0xa],_0x4617dd=_0x2bc909[_0x1d507e+0xb],_0x8b704e=_0x2bc909[_0x1d507e+0xc],_0x456638=_0x2bc909[_0x1d507e+0xd],_0x276fed=_0x2bc909[_0x1d507e+0xe],_0x39c97a=_0x2bc909[_0x1d507e+0xf],_0x1bda37=_0x4b0fbf[0x0],_0xeabf36=_0x4b0fbf[0x1],_0xa72116=_0x4b0fbf[0x2],_0x361396=_0x4b0fbf[0x3];_0x1bda37=_0x3ea2a9(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x3b7a4e,0x7,_0x28a45f[0x0]),_0x361396=_0x3ea2a9(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x4bb542,0xc,_0x28a45f[0x1]),_0xa72116=_0x3ea2a9(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x35562e,0x11,_0x28a45f[0x2]),_0xeabf36=_0x3ea2a9(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x17c12e,0x16,_0x28a45f[0x3]),_0x1bda37=_0x3ea2a9(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x4c6032,0x7,_0x28a45f[0x4]),_0x361396=_0x3ea2a9(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x2aba34,0xc,_0x28a45f[0x5]),_0xa72116=_0x3ea2a9(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x477c40,0x11,_0x28a45f[0x6]),_0xeabf36=_0x3ea2a9(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x24dc69,0x16,_0x28a45f[0x7]),_0x1bda37=_0x3ea2a9(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x4f3c64,0x7,_0x28a45f[0x8]),_0x361396=_0x3ea2a9(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x3ea292,0xc,_0x28a45f[0x9]),_0xa72116=_0x3ea2a9(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x27cee6,0x11,_0x28a45f[0xa]),_0xeabf36=_0x3ea2a9(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x4617dd,0x16,_0x28a45f[0xb]),_0x1bda37=_0x3ea2a9(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x8b704e,0x7,_0x28a45f[0xc]),_0x361396=_0x3ea2a9(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x456638,0xc,_0x28a45f[0xd]),_0xa72116=_0x3ea2a9(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x276fed,0x11,_0x28a45f[0xe]),_0xeabf36=_0x3ea2a9(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x39c97a,0x16,_0x28a45f[0xf]),_0x1bda37=_0x289a5c(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x4bb542,0x5,_0x28a45f[0x10]),_0x361396=_0x289a5c(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x477c40,0x9,_0x28a45f[0x11]),_0xa72116=_0x289a5c(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x4617dd,0xe,_0x28a45f[0x12]),_0xeabf36=_0x289a5c(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x3b7a4e,0x14,_0x28a45f[0x13]),_0x1bda37=_0x289a5c(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x2aba34,0x5,_0x28a45f[0x14]),_0x361396=_0x289a5c(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x27cee6,0x9,_0x28a45f[0x15]),_0xa72116=_0x289a5c(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x39c97a,0xe,_0x28a45f[0x16]),_0xeabf36=_0x289a5c(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x4c6032,0x14,_0x28a45f[0x17]),_0x1bda37=_0x289a5c(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x3ea292,0x5,_0x28a45f[0x18]),_0x361396=_0x289a5c(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x276fed,0x9,_0x28a45f[0x19]),_0xa72116=_0x289a5c(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x17c12e,0xe,_0x28a45f[0x1a]),_0xeabf36=_0x289a5c(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x4f3c64,0x14,_0x28a45f[0x1b]),_0x1bda37=_0x289a5c(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x456638,0x5,_0x28a45f[0x1c]),_0x361396=_0x289a5c(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x35562e,0x9,_0x28a45f[0x1d]),_0xa72116=_0x289a5c(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x24dc69,0xe,_0x28a45f[0x1e]),_0xeabf36=_0x289a5c(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x8b704e,0x14,_0x28a45f[0x1f]),_0x1bda37=_0x1cb8b2(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x2aba34,0x4,_0x28a45f[0x20]),_0x361396=_0x1cb8b2(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x4f3c64,0xb,_0x28a45f[0x21]),_0xa72116=_0x1cb8b2(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x4617dd,0x10,_0x28a45f[0x22]),_0xeabf36=_0x1cb8b2(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x276fed,0x17,_0x28a45f[0x23]),_0x1bda37=_0x1cb8b2(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x4bb542,0x4,_0x28a45f[0x24]),_0x361396=_0x1cb8b2(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x4c6032,0xb,_0x28a45f[0x25]),_0xa72116=_0x1cb8b2(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x24dc69,0x10,_0x28a45f[0x26]),_0xeabf36=_0x1cb8b2(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x27cee6,0x17,_0x28a45f[0x27]),_0x1bda37=_0x1cb8b2(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x456638,0x4,_0x28a45f[0x28]),_0x361396=_0x1cb8b2(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x3b7a4e,0xb,_0x28a45f[0x29]),_0xa72116=_0x1cb8b2(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x17c12e,0x10,_0x28a45f[0x2a]),_0xeabf36=_0x1cb8b2(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x477c40,0x17,_0x28a45f[0x2b]),_0x1bda37=_0x1cb8b2(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x3ea292,0x4,_0x28a45f[0x2c]),_0x361396=_0x1cb8b2(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x8b704e,0xb,_0x28a45f[0x2d]),_0xa72116=_0x1cb8b2(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x39c97a,0x10,_0x28a45f[0x2e]),_0xeabf36=_0x1cb8b2(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x35562e,0x17,_0x28a45f[0x2f]),_0x1bda37=_0x213810(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x3b7a4e,0x6,_0x28a45f[0x30]),_0x361396=_0x213810(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x24dc69,0xa,_0x28a45f[0x31]),_0xa72116=_0x213810(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x276fed,0xf,_0x28a45f[0x32]),_0xeabf36=_0x213810(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x2aba34,0x15,_0x28a45f[0x33]),_0x1bda37=_0x213810(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x8b704e,0x6,_0x28a45f[0x34]),_0x361396=_0x213810(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x17c12e,0xa,_0x28a45f[0x35]),_0xa72116=_0x213810(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x27cee6,0xf,_0x28a45f[0x36]),_0xeabf36=_0x213810(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x4bb542,0x15,_0x28a45f[0x37]),_0x1bda37=_0x213810(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x4f3c64,0x6,_0x28a45f[0x38]),_0x361396=_0x213810(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x39c97a,0xa,_0x28a45f[0x39]),_0xa72116=_0x213810(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x477c40,0xf,_0x28a45f[0x3a]),_0xeabf36=_0x213810(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x456638,0x15,_0x28a45f[0x3b]),_0x1bda37=_0x213810(_0x1bda37,_0xeabf36,_0xa72116,_0x361396,_0x4c6032,0x6,_0x28a45f[0x3c]),_0x361396=_0x213810(_0x361396,_0x1bda37,_0xeabf36,_0xa72116,_0x4617dd,0xa,_0x28a45f[0x3d]),_0xa72116=_0x213810(_0xa72116,_0x361396,_0x1bda37,_0xeabf36,_0x35562e,0xf,_0x28a45f[0x3e]),_0xeabf36=_0x213810(_0xeabf36,_0xa72116,_0x361396,_0x1bda37,_0x3ea292,0x15,_0x28a45f[0x3f]),_0x4b0fbf[0x0]=_0x4b0fbf[0x0]+_0x1bda37|0x0,_0x4b0fbf[0x1]=_0x4b0fbf[0x1]+_0xeabf36|0x0,_0x4b0fbf[0x2]=_0x4b0fbf[0x2]+_0xa72116|0x0,_0x4b0fbf[0x3]=_0x4b0fbf[0x3]+_0x361396|0x0;},'_doFinalize':function(){var _0xdd7e0=_0x5befb3,_0x379cdf=this[_0xdd7e0(0x42f)],_0x5eba4b=_0x379cdf['words'],_0x2e6a10=this[_0xdd7e0(0x2cc)]*0x8,_0x5d3261=_0x379cdf[_0xdd7e0(0x24a)]*0x8;_0x5eba4b[_0x5d3261>>>0x5]|=0x80<<0x18-_0x5d3261%0x20;var _0x422779=_0x46e5ba[_0xdd7e0(0x418)](_0x2e6a10/0x100000000),_0x429ee3=_0x2e6a10;_0x5eba4b[(_0x5d3261+0x40>>>0x9<<0x4)+0xf]=(_0x422779<<0x8|_0x422779>>>0x18)&0xff00ff|(_0x422779<<0x18|_0x422779>>>0x8)&0xff00ff00,_0x5eba4b[(_0x5d3261+0x40>>>0x9<<0x4)+0xe]=(_0x429ee3<<0x8|_0x429ee3>>>0x18)&0xff00ff|(_0x429ee3<<0x18|_0x429ee3>>>0x8)&0xff00ff00,_0x379cdf[_0xdd7e0(0x24a)]=(_0x5eba4b[_0xdd7e0(0x54c)]+0x1)*0x4,this[_0xdd7e0(0x38e)]();for(var _0x183644=this[_0xdd7e0(0x3cc)],_0x13e71e=_0x183644[_0xdd7e0(0x1ee)],_0x197632=0x0;_0x197632<0x4;_0x197632++){var _0x49480=_0x13e71e[_0x197632];_0x13e71e[_0x197632]=(_0x49480<<0x8|_0x49480>>>0x18)&0xff00ff|(_0x49480<<0x18|_0x49480>>>0x8)&0xff00ff00;}return _0x183644;},'clone':function(){var _0x215737=_0x5befb3,_0x35e85c=_0x1f42a0[_0x215737(0x3ca)][_0x215737(0x417)](this);return _0x35e85c['_hash']=this[_0x215737(0x3cc)][_0x215737(0x3ca)](),_0x35e85c;}});function _0x3ea2a9(_0x350466,_0x1a7d23,_0x20b148,_0x5b1d35,_0x12b4db,_0x100537,_0x4d819a){var _0xf2ebfd=_0x350466+(_0x1a7d23&_0x20b148|~_0x1a7d23&_0x5b1d35)+_0x12b4db+_0x4d819a;return(_0xf2ebfd<<_0x100537|_0xf2ebfd>>>0x20-_0x100537)+_0x1a7d23;}function _0x289a5c(_0xe84aba,_0x1fca00,_0x321d37,_0x531077,_0xd1d455,_0x3fb6c8,_0x57d0e5){var _0x4a2663=_0xe84aba+(_0x1fca00&_0x531077|_0x321d37&~_0x531077)+_0xd1d455+_0x57d0e5;return(_0x4a2663<<_0x3fb6c8|_0x4a2663>>>0x20-_0x3fb6c8)+_0x1fca00;}function _0x1cb8b2(_0x136637,_0x6d779,_0x5d5773,_0x4bbadb,_0x466c45,_0x18e24f,_0x30d0d6){var _0xaad95a=_0x136637+(_0x6d779^_0x5d5773^_0x4bbadb)+_0x466c45+_0x30d0d6;return(_0xaad95a<<_0x18e24f|_0xaad95a>>>0x20-_0x18e24f)+_0x6d779;}function _0x213810(_0x1c1355,_0x32c4d9,_0x48e755,_0x265b2e,_0x216e4b,_0xb36370,_0x44123d){var _0x38e0c1=_0x1c1355+(_0x48e755^(_0x32c4d9|~_0x265b2e))+_0x216e4b+_0x44123d;return(_0x38e0c1<<_0xb36370|_0x38e0c1>>>0x20-_0xb36370)+_0x32c4d9;}_0x1981e5['MD5']=_0x1f42a0[_0x5befb3(0x2fe)](_0x30202b),_0x1981e5[_0x5befb3(0x230)]=_0x1f42a0[_0x5befb3(0x4ce)](_0x30202b);}(Math),_0x4b585b[_0x394f58(0x243)];}));}(ge)),ge[_0x557f0d(0x511)];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x4c5ff4(0x511)],Ze;function Pi(){var _0x5a0200=_0x4c5ff4;return Ze||(Ze=0x1,function(_0x26ea32,_0x10ffa2){(function(_0x173ecb,_0xb613b){var _0xcba71c=_0x1dd8;_0x26ea32[_0xcba71c(0x511)]=_0xb613b(Q());}(Ai,function(_0x29aa4d){var _0x44b1f0=_0x1dd8;return(function(){var _0x12cfee=_0x1dd8,_0x346694=_0x29aa4d,_0x2bc98e=_0x346694[_0x12cfee(0x3cb)],_0x25ccaf=_0x2bc98e[_0x12cfee(0x3ec)],_0x5597c1=_0x2bc98e[_0x12cfee(0x528)],_0x2d9947=_0x346694['algo'],_0x19d219=[],_0x3c58f7=_0x2d9947[_0x12cfee(0x541)]=_0x5597c1[_0x12cfee(0x30d)]({'_doReset':function(){var _0x5e893c=_0x12cfee;this[_0x5e893c(0x3cc)]=new _0x25ccaf[(_0x5e893c(0x1f3))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x40e1b2,_0x51f85e){var _0x192fb5=_0x12cfee;for(var _0x2ce26a=this['_hash'][_0x192fb5(0x1ee)],_0x158d25=_0x2ce26a[0x0],_0x21df57=_0x2ce26a[0x1],_0x2b81a1=_0x2ce26a[0x2],_0x590d23=_0x2ce26a[0x3],_0x15fcdb=_0x2ce26a[0x4],_0x13deb3=0x0;_0x13deb3<0x50;_0x13deb3++){if(_0x13deb3<0x10)_0x19d219[_0x13deb3]=_0x40e1b2[_0x51f85e+_0x13deb3]|0x0;else{var _0x122012=_0x19d219[_0x13deb3-0x3]^_0x19d219[_0x13deb3-0x8]^_0x19d219[_0x13deb3-0xe]^_0x19d219[_0x13deb3-0x10];_0x19d219[_0x13deb3]=_0x122012<<0x1|_0x122012>>>0x1f;}var _0x7a4424=(_0x158d25<<0x5|_0x158d25>>>0x1b)+_0x15fcdb+_0x19d219[_0x13deb3];_0x13deb3<0x14?_0x7a4424+=(_0x21df57&_0x2b81a1|~_0x21df57&_0x590d23)+0x5a827999:_0x13deb3<0x28?_0x7a4424+=(_0x21df57^_0x2b81a1^_0x590d23)+0x6ed9eba1:_0x13deb3<0x3c?_0x7a4424+=(_0x21df57&_0x2b81a1|_0x21df57&_0x590d23|_0x2b81a1&_0x590d23)-0x70e44324:_0x7a4424+=(_0x21df57^_0x2b81a1^_0x590d23)-0x359d3e2a,_0x15fcdb=_0x590d23,_0x590d23=_0x2b81a1,_0x2b81a1=_0x21df57<<0x1e|_0x21df57>>>0x2,_0x21df57=_0x158d25,_0x158d25=_0x7a4424;}_0x2ce26a[0x0]=_0x2ce26a[0x0]+_0x158d25|0x0,_0x2ce26a[0x1]=_0x2ce26a[0x1]+_0x21df57|0x0,_0x2ce26a[0x2]=_0x2ce26a[0x2]+_0x2b81a1|0x0,_0x2ce26a[0x3]=_0x2ce26a[0x3]+_0x590d23|0x0,_0x2ce26a[0x4]=_0x2ce26a[0x4]+_0x15fcdb|0x0;},'_doFinalize':function(){var _0x3b1472=_0x12cfee,_0x204be6=this[_0x3b1472(0x42f)],_0x5eb0f7=_0x204be6[_0x3b1472(0x1ee)],_0x148273=this['_nDataBytes']*0x8,_0x137d5c=_0x204be6[_0x3b1472(0x24a)]*0x8;return _0x5eb0f7[_0x137d5c>>>0x5]|=0x80<<0x18-_0x137d5c%0x20,_0x5eb0f7[(_0x137d5c+0x40>>>0x9<<0x4)+0xe]=Math[_0x3b1472(0x418)](_0x148273/0x100000000),_0x5eb0f7[(_0x137d5c+0x40>>>0x9<<0x4)+0xf]=_0x148273,_0x204be6[_0x3b1472(0x24a)]=_0x5eb0f7[_0x3b1472(0x54c)]*0x4,this[_0x3b1472(0x38e)](),this['_hash'];},'clone':function(){var _0x175813=_0x12cfee,_0x2aa477=_0x5597c1['clone'][_0x175813(0x417)](this);return _0x2aa477[_0x175813(0x3cc)]=this[_0x175813(0x3cc)]['clone'](),_0x2aa477;}});_0x346694[_0x12cfee(0x541)]=_0x5597c1[_0x12cfee(0x2fe)](_0x3c58f7),_0x346694[_0x12cfee(0x545)]=_0x5597c1['_createHmacHelper'](_0x3c58f7);}()),_0x29aa4d[_0x44b1f0(0x541)];}));}(me)),me[_0x5a0200(0x511)];}var Ce={'exports':{}},Li=Ce[_0x4c5ff4(0x511)],Qe;function wi(){var _0x2d3d8c=_0x4c5ff4;return Qe||(Qe=0x1,function(_0x46eff1,_0x34d463){(function(_0x29c259,_0x1a5843){_0x46eff1['exports']=_0x1a5843(Q());}(Li,function(_0xa871d1){(function(){var _0x425d39=_0x1dd8,_0x5980ee=_0xa871d1,_0x17028a=_0x5980ee['lib'],_0x4199b4=_0x17028a[_0x425d39(0x52d)],_0x40e460=_0x5980ee['enc'],_0x55803c=_0x40e460[_0x425d39(0x2c4)],_0x2511dc=_0x5980ee[_0x425d39(0x2f1)];_0x2511dc[_0x425d39(0x403)]=_0x4199b4['extend']({'init':function(_0x3f74a6,_0x25d1fd){var _0x37becd=_0x425d39;_0x3f74a6=this[_0x37becd(0x46d)]=new _0x3f74a6[(_0x37becd(0x1f3))](),typeof _0x25d1fd==_0x37becd(0x4de)&&(_0x25d1fd=_0x55803c[_0x37becd(0x257)](_0x25d1fd));var _0xc8923c=_0x3f74a6[_0x37becd(0x3bb)],_0x42b9fe=_0xc8923c*0x4;_0x25d1fd[_0x37becd(0x24a)]>_0x42b9fe&&(_0x25d1fd=_0x3f74a6['finalize'](_0x25d1fd)),_0x25d1fd[_0x37becd(0x374)]();for(var _0x1bc39a=this[_0x37becd(0x359)]=_0x25d1fd[_0x37becd(0x3ca)](),_0x43fb04=this[_0x37becd(0x311)]=_0x25d1fd[_0x37becd(0x3ca)](),_0x176b58=_0x1bc39a[_0x37becd(0x1ee)],_0x1dd3c8=_0x43fb04[_0x37becd(0x1ee)],_0x1447f9=0x0;_0x1447f9<_0xc8923c;_0x1447f9++)_0x176b58[_0x1447f9]^=0x5c5c5c5c,_0x1dd3c8[_0x1447f9]^=0x36363636;_0x1bc39a[_0x37becd(0x24a)]=_0x43fb04['sigBytes']=_0x42b9fe,this[_0x37becd(0x551)]();},'reset':function(){var _0x93df56=_0x425d39,_0x49e502=this[_0x93df56(0x46d)];_0x49e502[_0x93df56(0x551)](),_0x49e502[_0x93df56(0x4f8)](this[_0x93df56(0x311)]);},'update':function(_0x375b75){var _0x254a34=_0x425d39;return this[_0x254a34(0x46d)][_0x254a34(0x4f8)](_0x375b75),this;},'finalize':function(_0x1ce0fd){var _0x5cb3b2=_0x425d39,_0x1c42e0=this['_hasher'],_0x3f8b5d=_0x1c42e0[_0x5cb3b2(0x215)](_0x1ce0fd);_0x1c42e0['reset']();var _0x1c5cad=_0x1c42e0[_0x5cb3b2(0x215)](this[_0x5cb3b2(0x359)]['clone']()[_0x5cb3b2(0x203)](_0x3f8b5d));return _0x1c5cad;}});}());}));}(Ce)),Ce[_0x2d3d8c(0x511)];}var Mi=Ee[_0x4c5ff4(0x511)],et;function Nt(){var _0x2103b0=_0x4c5ff4;return et||(et=0x1,function(_0x21aa31,_0x5015cd){(function(_0x1ff745,_0x26ad58,_0x3157b6){var _0x4ac1d9=_0x1dd8;_0x21aa31[_0x4ac1d9(0x511)]=_0x26ad58(Q(),Pi(),wi());}(Mi,function(_0x17ef81){var _0x4fa22d=_0x1dd8;return(function(){var _0x4040da=_0x1dd8,_0x7678f5=_0x17ef81,_0x454953=_0x7678f5[_0x4040da(0x3cb)],_0x2e5b54=_0x454953['Base'],_0x8f6d04=_0x454953[_0x4040da(0x3ec)],_0x5c60f4=_0x7678f5['algo'],_0x1517f9=_0x5c60f4[_0x4040da(0x243)],_0x3b0d3c=_0x5c60f4['EvpKDF']=_0x2e5b54['extend']({'cfg':_0x2e5b54[_0x4040da(0x30d)]({'keySize':0x80/0x20,'hasher':_0x1517f9,'iterations':0x1}),'init':function(_0x2c6a37){var _0x2c0d6d=_0x4040da;this[_0x2c0d6d(0x303)]=this['cfg'][_0x2c0d6d(0x30d)](_0x2c6a37);},'compute':function(_0x5034c4,_0x38aa4d){var _0x1ba713=_0x4040da;for(var _0x2787dc,_0xa0df98=this[_0x1ba713(0x303)],_0xefc6f7=_0xa0df98[_0x1ba713(0x283)][_0x1ba713(0x525)](),_0x17318b=_0x8f6d04['create'](),_0x29d0c9=_0x17318b['words'],_0x43dcc0=_0xa0df98[_0x1ba713(0x427)],_0x2587cb=_0xa0df98[_0x1ba713(0x33d)];_0x29d0c9[_0x1ba713(0x54c)]<_0x43dcc0;){_0x2787dc&&_0xefc6f7[_0x1ba713(0x4f8)](_0x2787dc),_0x2787dc=_0xefc6f7['update'](_0x5034c4)[_0x1ba713(0x215)](_0x38aa4d),_0xefc6f7[_0x1ba713(0x551)]();for(var _0x2ceb2b=0x1;_0x2ceb2b<_0x2587cb;_0x2ceb2b++)_0x2787dc=_0xefc6f7[_0x1ba713(0x215)](_0x2787dc),_0xefc6f7[_0x1ba713(0x551)]();_0x17318b['concat'](_0x2787dc);}return _0x17318b[_0x1ba713(0x24a)]=_0x43dcc0*0x4,_0x17318b;}});_0x7678f5[_0x4040da(0x4f4)]=function(_0x1e9405,_0x3d88f8,_0x11431c){var _0x5ab484=_0x4040da;return _0x3b0d3c[_0x5ab484(0x525)](_0x11431c)[_0x5ab484(0x460)](_0x1e9405,_0x3d88f8);};}()),_0x17ef81[_0x4fa22d(0x4f4)];}));}(Ee)),Ee[_0x2103b0(0x511)];}var Te={'exports':{}},xi=Te[_0x4c5ff4(0x511)],tt;function Dt(){var _0x247761=_0x4c5ff4;return tt||(tt=0x1,function(_0x5d829e,_0x29eafd){(function(_0xf84446,_0x4fc10d,_0x2177a9){_0x5d829e['exports']=_0x4fc10d(Q(),Nt());}(xi,function(_0x5e55e8){var _0x157f3c=_0x1dd8;_0x5e55e8[_0x157f3c(0x3cb)]['Cipher']||function(_0x39a405){var _0x359673=_0x157f3c,_0x489361=_0x5e55e8,_0x3c7976=_0x489361[_0x359673(0x3cb)],_0x687fa=_0x3c7976[_0x359673(0x52d)],_0x3ee9c9=_0x3c7976[_0x359673(0x3ec)],_0x109e8b=_0x3c7976[_0x359673(0x3d3)],_0xf561e9=_0x489361[_0x359673(0x281)];_0xf561e9[_0x359673(0x2c4)];var _0x274966=_0xf561e9[_0x359673(0x322)],_0x2fc2d0=_0x489361['algo'],_0x4a1356=_0x2fc2d0[_0x359673(0x4f4)],_0x3cf3e6=_0x3c7976[_0x359673(0x1ec)]=_0x109e8b['extend']({'cfg':_0x687fa[_0x359673(0x30d)](),'createEncryptor':function(_0x42936f,_0x40387f){var _0x461bc6=_0x359673;return this[_0x461bc6(0x525)](this[_0x461bc6(0x46a)],_0x42936f,_0x40387f);},'createDecryptor':function(_0x44a171,_0x6a02ba){var _0x388475=_0x359673;return this[_0x388475(0x525)](this[_0x388475(0x49a)],_0x44a171,_0x6a02ba);},'init':function(_0x1a67d6,_0x24ff6a,_0x41e24d){var _0x43f6de=_0x359673;this[_0x43f6de(0x303)]=this[_0x43f6de(0x303)][_0x43f6de(0x30d)](_0x41e24d),this[_0x43f6de(0x35a)]=_0x1a67d6,this[_0x43f6de(0x390)]=_0x24ff6a,this[_0x43f6de(0x551)]();},'reset':function(){var _0x216615=_0x359673;_0x109e8b[_0x216615(0x551)][_0x216615(0x417)](this),this['_doReset']();},'process':function(_0x124f06){var _0x2a747d=_0x359673;return this[_0x2a747d(0x4b1)](_0x124f06),this[_0x2a747d(0x38e)]();},'finalize':function(_0x4626f2){var _0x35e049=_0x359673;_0x4626f2&&this[_0x35e049(0x4b1)](_0x4626f2);var _0x3fe957=this['_doFinalize']();return _0x3fe957;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2696be(_0x2bbd8b){var _0x5c5f5c=_0x1dd8;return typeof _0x2bbd8b==_0x5c5f5c(0x4de)?_0x4eef6e:_0x9bf453;}return function(_0x35060b){return{'encrypt':function(_0x16b1ae,_0x5a6a9c,_0x49c99c){var _0xce3c1=_0x1dd8;return _0x2696be(_0x5a6a9c)[_0xce3c1(0x309)](_0x35060b,_0x16b1ae,_0x5a6a9c,_0x49c99c);},'decrypt':function(_0x3cf705,_0x275321,_0x6eac63){var _0x419a67=_0x1dd8;return _0x2696be(_0x275321)[_0x419a67(0x23f)](_0x35060b,_0x3cf705,_0x275321,_0x6eac63);}};};}())});_0x3c7976[_0x359673(0x3f7)]=_0x3cf3e6['extend']({'_doFinalize':function(){var _0x18602d=this['_process'](!0x0);return _0x18602d;},'blockSize':0x1});var _0x42f74d=_0x489361[_0x359673(0x43e)]={},_0x50f417=_0x3c7976[_0x359673(0x28d)]=_0x687fa['extend']({'createEncryptor':function(_0x63c3b6,_0x301fce){var _0x38e669=_0x359673;return this[_0x38e669(0x34d)][_0x38e669(0x525)](_0x63c3b6,_0x301fce);},'createDecryptor':function(_0x57b5ab,_0x327b94){var _0x11c5d1=_0x359673;return this[_0x11c5d1(0x2a6)]['create'](_0x57b5ab,_0x327b94);},'init':function(_0xe63710,_0x21786a){var _0x69052a=_0x359673;this[_0x69052a(0x4cb)]=_0xe63710,this['_iv']=_0x21786a;}}),_0x2465c5=_0x42f74d['CBC']=(function(){var _0xfafcdf=_0x359673,_0x3b3845=_0x50f417['extend']();_0x3b3845['Encryptor']=_0x3b3845[_0xfafcdf(0x30d)]({'processBlock':function(_0x72d35d,_0x4858b6){var _0x2d9c08=_0xfafcdf,_0x3fae10=this[_0x2d9c08(0x4cb)],_0x2a853c=_0x3fae10[_0x2d9c08(0x3bb)];_0x4d5de8[_0x2d9c08(0x417)](this,_0x72d35d,_0x4858b6,_0x2a853c),_0x3fae10[_0x2d9c08(0x471)](_0x72d35d,_0x4858b6),this['_prevBlock']=_0x72d35d[_0x2d9c08(0x40b)](_0x4858b6,_0x4858b6+_0x2a853c);}}),_0x3b3845['Decryptor']=_0x3b3845[_0xfafcdf(0x30d)]({'processBlock':function(_0x4840ae,_0x147b2a){var _0x2af77b=_0xfafcdf,_0x47aa81=this['_cipher'],_0xfe2aa1=_0x47aa81[_0x2af77b(0x3bb)],_0x1b8112=_0x4840ae[_0x2af77b(0x40b)](_0x147b2a,_0x147b2a+_0xfe2aa1);_0x47aa81[_0x2af77b(0x2a5)](_0x4840ae,_0x147b2a),_0x4d5de8[_0x2af77b(0x417)](this,_0x4840ae,_0x147b2a,_0xfe2aa1),this[_0x2af77b(0x366)]=_0x1b8112;}});function _0x4d5de8(_0x43cd8a,_0x205cf4,_0x41f2bc){var _0x2dcf5c=_0xfafcdf,_0x44aebe,_0x3676c1=this['_iv'];_0x3676c1?(_0x44aebe=_0x3676c1,this[_0x2dcf5c(0x335)]=_0x39a405):_0x44aebe=this[_0x2dcf5c(0x366)];for(var _0x365d34=0x0;_0x365d34<_0x41f2bc;_0x365d34++)_0x43cd8a[_0x205cf4+_0x365d34]^=_0x44aebe[_0x365d34];}return _0x3b3845;}()),_0xbbcb82=_0x489361[_0x359673(0x22c)]={},_0x2667c2=_0xbbcb82['Pkcs7']={'pad':function(_0x494a16,_0x44ed41){var _0x5e9df7=_0x359673;for(var _0x3f216e=_0x44ed41*0x4,_0x5500b=_0x3f216e-_0x494a16[_0x5e9df7(0x24a)]%_0x3f216e,_0x6490a7=_0x5500b<<0x18|_0x5500b<<0x10|_0x5500b<<0x8|_0x5500b,_0x24cd7d=[],_0x3c0256=0x0;_0x3c0256<_0x5500b;_0x3c0256+=0x4)_0x24cd7d[_0x5e9df7(0x209)](_0x6490a7);var _0xc7b7aa=_0x3ee9c9[_0x5e9df7(0x525)](_0x24cd7d,_0x5500b);_0x494a16[_0x5e9df7(0x203)](_0xc7b7aa);},'unpad':function(_0x3d93cb){var _0x4865eb=_0x359673,_0x582fb3=_0x3d93cb['words'][_0x3d93cb[_0x4865eb(0x24a)]-0x1>>>0x2]&0xff;_0x3d93cb['sigBytes']-=_0x582fb3;}};_0x3c7976[_0x359673(0x498)]=_0x3cf3e6[_0x359673(0x30d)]({'cfg':_0x3cf3e6[_0x359673(0x303)][_0x359673(0x30d)]({'mode':_0x2465c5,'padding':_0x2667c2}),'reset':function(){var _0x249b57=_0x359673,_0x50dd40;_0x3cf3e6[_0x249b57(0x551)][_0x249b57(0x417)](this);var _0x58976a=this[_0x249b57(0x303)],_0x44054e=_0x58976a['iv'],_0x215564=_0x58976a[_0x249b57(0x43e)];this[_0x249b57(0x35a)]==this['_ENC_XFORM_MODE']?_0x50dd40=_0x215564[_0x249b57(0x3b6)]:(_0x50dd40=_0x215564[_0x249b57(0x42a)],this['_minBufferSize']=0x1),this[_0x249b57(0x2ec)]&&this[_0x249b57(0x2ec)][_0x249b57(0x478)]==_0x50dd40?this[_0x249b57(0x2ec)][_0x249b57(0x1f3)](this,_0x44054e&&_0x44054e[_0x249b57(0x1ee)]):(this[_0x249b57(0x2ec)]=_0x50dd40['call'](_0x215564,this,_0x44054e&&_0x44054e[_0x249b57(0x1ee)]),this['_mode'][_0x249b57(0x478)]=_0x50dd40);},'_doProcessBlock':function(_0x5bc33f,_0x53156e){var _0x434fc2=_0x359673;this[_0x434fc2(0x2ec)][_0x434fc2(0x3a6)](_0x5bc33f,_0x53156e);},'_doFinalize':function(){var _0x47d69d=_0x359673,_0xb408e0,_0x43dee0=this[_0x47d69d(0x303)][_0x47d69d(0x549)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x43dee0[_0x47d69d(0x22c)](this[_0x47d69d(0x42f)],this[_0x47d69d(0x3bb)]),_0xb408e0=this[_0x47d69d(0x38e)](!0x0)):(_0xb408e0=this[_0x47d69d(0x38e)](!0x0),_0x43dee0[_0x47d69d(0x26f)](_0xb408e0)),_0xb408e0;},'blockSize':0x80/0x20});var _0x3fa232=_0x3c7976[_0x359673(0x4ab)]=_0x687fa[_0x359673(0x30d)]({'init':function(_0x37486b){var _0x2e74a0=_0x359673;this[_0x2e74a0(0x421)](_0x37486b);},'toString':function(_0x39d298){var _0x4f0735=_0x359673;return(_0x39d298||this[_0x4f0735(0x340)])[_0x4f0735(0x40a)](this);}}),_0x31a256=_0x489361['format']={},_0x5458c6=_0x31a256['OpenSSL']={'stringify':function(_0x2820f9){var _0xe9fa45=_0x359673,_0x216f5b,_0xcbac16=_0x2820f9[_0xe9fa45(0x3f1)],_0x32acb9=_0x2820f9[_0xe9fa45(0x3d9)];return _0x32acb9?_0x216f5b=_0x3ee9c9[_0xe9fa45(0x525)]([0x53616c74,0x65645f5f])[_0xe9fa45(0x203)](_0x32acb9)[_0xe9fa45(0x203)](_0xcbac16):_0x216f5b=_0xcbac16,_0x216f5b[_0xe9fa45(0x42e)](_0x274966);},'parse':function(_0x155fa3){var _0x1ffb40=_0x359673,_0x3cf4d0,_0x592f98=_0x274966[_0x1ffb40(0x257)](_0x155fa3),_0x3b6261=_0x592f98[_0x1ffb40(0x1ee)];return _0x3b6261[0x0]==0x53616c74&&_0x3b6261[0x1]==0x65645f5f&&(_0x3cf4d0=_0x3ee9c9[_0x1ffb40(0x525)](_0x3b6261[_0x1ffb40(0x40b)](0x2,0x4)),_0x3b6261[_0x1ffb40(0x401)](0x0,0x4),_0x592f98[_0x1ffb40(0x24a)]-=0x10),_0x3fa232['create']({'ciphertext':_0x592f98,'salt':_0x3cf4d0});}},_0x9bf453=_0x3c7976[_0x359673(0x2dd)]=_0x687fa['extend']({'cfg':_0x687fa[_0x359673(0x30d)]({'format':_0x5458c6}),'encrypt':function(_0x4e82d9,_0x21841a,_0x31db75,_0x3d53dc){var _0x41ebf1=_0x359673;_0x3d53dc=this['cfg'][_0x41ebf1(0x30d)](_0x3d53dc);var _0x528880=_0x4e82d9['createEncryptor'](_0x31db75,_0x3d53dc),_0x253a98=_0x528880[_0x41ebf1(0x215)](_0x21841a),_0x4b8720=_0x528880['cfg'];return _0x3fa232[_0x41ebf1(0x525)]({'ciphertext':_0x253a98,'key':_0x31db75,'iv':_0x4b8720['iv'],'algorithm':_0x4e82d9,'mode':_0x4b8720[_0x41ebf1(0x43e)],'padding':_0x4b8720[_0x41ebf1(0x549)],'blockSize':_0x4e82d9[_0x41ebf1(0x3bb)],'formatter':_0x3d53dc[_0x41ebf1(0x4c2)]});},'decrypt':function(_0x73b3e7,_0x5b3d46,_0x3fdede,_0x1102f8){var _0x17b02c=_0x359673;_0x1102f8=this[_0x17b02c(0x303)]['extend'](_0x1102f8),_0x5b3d46=this[_0x17b02c(0x412)](_0x5b3d46,_0x1102f8[_0x17b02c(0x4c2)]);var _0x573999=_0x73b3e7['createDecryptor'](_0x3fdede,_0x1102f8)[_0x17b02c(0x215)](_0x5b3d46[_0x17b02c(0x3f1)]);return _0x573999;},'_parse':function(_0x5470eb,_0x29ed21){var _0x258a4b=_0x359673;return typeof _0x5470eb==_0x258a4b(0x4de)?_0x29ed21[_0x258a4b(0x257)](_0x5470eb,this):_0x5470eb;}}),_0x2c9189=_0x489361[_0x359673(0x2d5)]={},_0xe419d8=_0x2c9189[_0x359673(0x4e3)]={'execute':function(_0x59e2af,_0x1c6b0b,_0x17dfa8,_0x242d36,_0x4106d2){var _0x275535=_0x359673;if(_0x242d36||(_0x242d36=_0x3ee9c9['random'](0x40/0x8)),_0x4106d2)var _0x14d6ff=_0x4a1356[_0x275535(0x525)]({'keySize':_0x1c6b0b+_0x17dfa8,'hasher':_0x4106d2})[_0x275535(0x460)](_0x59e2af,_0x242d36);else var _0x14d6ff=_0x4a1356['create']({'keySize':_0x1c6b0b+_0x17dfa8})[_0x275535(0x460)](_0x59e2af,_0x242d36);var _0x7d5a8c=_0x3ee9c9['create'](_0x14d6ff[_0x275535(0x1ee)]['slice'](_0x1c6b0b),_0x17dfa8*0x4);return _0x14d6ff[_0x275535(0x24a)]=_0x1c6b0b*0x4,_0x3fa232[_0x275535(0x525)]({'key':_0x14d6ff,'iv':_0x7d5a8c,'salt':_0x242d36});}},_0x4eef6e=_0x3c7976[_0x359673(0x4a3)]=_0x9bf453[_0x359673(0x30d)]({'cfg':_0x9bf453[_0x359673(0x303)][_0x359673(0x30d)]({'kdf':_0xe419d8}),'encrypt':function(_0x2a6952,_0x5457f8,_0x1363fd,_0x14f127){var _0x2cfd59=_0x359673;_0x14f127=this[_0x2cfd59(0x303)][_0x2cfd59(0x30d)](_0x14f127);var _0x47beac=_0x14f127[_0x2cfd59(0x2d5)][_0x2cfd59(0x56b)](_0x1363fd,_0x2a6952[_0x2cfd59(0x427)],_0x2a6952['ivSize'],_0x14f127[_0x2cfd59(0x3d9)],_0x14f127[_0x2cfd59(0x283)]);_0x14f127['iv']=_0x47beac['iv'];var _0x2fa80b=_0x9bf453[_0x2cfd59(0x309)][_0x2cfd59(0x417)](this,_0x2a6952,_0x5457f8,_0x47beac[_0x2cfd59(0x2b0)],_0x14f127);return _0x2fa80b[_0x2cfd59(0x421)](_0x47beac),_0x2fa80b;},'decrypt':function(_0x19ae01,_0x399017,_0x513431,_0xfada53){var _0x12290b=_0x359673;_0xfada53=this[_0x12290b(0x303)][_0x12290b(0x30d)](_0xfada53),_0x399017=this['_parse'](_0x399017,_0xfada53[_0x12290b(0x4c2)]);var _0x3f31e9=_0xfada53[_0x12290b(0x2d5)]['execute'](_0x513431,_0x19ae01[_0x12290b(0x427)],_0x19ae01[_0x12290b(0x470)],_0x399017['salt'],_0xfada53['hasher']);_0xfada53['iv']=_0x3f31e9['iv'];var _0x10cddf=_0x9bf453['decrypt']['call'](this,_0x19ae01,_0x399017,_0x3f31e9[_0x12290b(0x2b0)],_0xfada53);return _0x10cddf;}});}();}));}(Te)),Te[_0x247761(0x511)];}var ki=fe[_0x4c5ff4(0x511)],it;function Hi(){var _0x1a3f2a=_0x4c5ff4;return it||(it=0x1,function(_0x1206d0,_0x22d54f){(function(_0x520f63,_0xf86c55,_0x5f5084){var _0x473ba8=_0x1dd8;_0x1206d0[_0x473ba8(0x511)]=_0xf86c55(Q(),yt(),Ui(),Nt(),Dt());}(ki,function(_0x41ef3c){var _0xe8b96e=_0x1dd8;return(function(){var _0x266ce1=_0x1dd8,_0xf5cca0=_0x41ef3c,_0x38bdf9=_0xf5cca0[_0x266ce1(0x3cb)],_0xc29742=_0x38bdf9['BlockCipher'],_0x489d86=_0xf5cca0[_0x266ce1(0x2f1)],_0x25882a=[],_0x6f7b13=[],_0x20a67b=[],_0x661783=[],_0x41e618=[],_0x5ca917=[],_0x25960a=[],_0x58719f=[],_0x49d464=[],_0x571153=[];(function(){for(var _0x2c5719=[],_0x408224=0x0;_0x408224<0x100;_0x408224++)_0x408224<0x80?_0x2c5719[_0x408224]=_0x408224<<0x1:_0x2c5719[_0x408224]=_0x408224<<0x1^0x11b;for(var _0x376d52=0x0,_0x1721f7=0x0,_0x408224=0x0;_0x408224<0x100;_0x408224++){var _0x531955=_0x1721f7^_0x1721f7<<0x1^_0x1721f7<<0x2^_0x1721f7<<0x3^_0x1721f7<<0x4;_0x531955=_0x531955>>>0x8^_0x531955&0xff^0x63,_0x25882a[_0x376d52]=_0x531955,_0x6f7b13[_0x531955]=_0x376d52;var _0x3905b9=_0x2c5719[_0x376d52],_0x56d8b7=_0x2c5719[_0x3905b9],_0x43ca41=_0x2c5719[_0x56d8b7],_0x5aa673=_0x2c5719[_0x531955]*0x101^_0x531955*0x1010100;_0x20a67b[_0x376d52]=_0x5aa673<<0x18|_0x5aa673>>>0x8,_0x661783[_0x376d52]=_0x5aa673<<0x10|_0x5aa673>>>0x10,_0x41e618[_0x376d52]=_0x5aa673<<0x8|_0x5aa673>>>0x18,_0x5ca917[_0x376d52]=_0x5aa673;var _0x5aa673=_0x43ca41*0x1010101^_0x56d8b7*0x10001^_0x3905b9*0x101^_0x376d52*0x1010100;_0x25960a[_0x531955]=_0x5aa673<<0x18|_0x5aa673>>>0x8,_0x58719f[_0x531955]=_0x5aa673<<0x10|_0x5aa673>>>0x10,_0x49d464[_0x531955]=_0x5aa673<<0x8|_0x5aa673>>>0x18,_0x571153[_0x531955]=_0x5aa673,_0x376d52?(_0x376d52=_0x3905b9^_0x2c5719[_0x2c5719[_0x2c5719[_0x43ca41^_0x3905b9]]],_0x1721f7^=_0x2c5719[_0x2c5719[_0x1721f7]]):_0x376d52=_0x1721f7=0x1;}}());var _0xd38812=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3cbd17=_0x489d86[_0x266ce1(0x277)]=_0xc29742[_0x266ce1(0x30d)]({'_doReset':function(){var _0x1d6a87=_0x266ce1,_0x6522eb;if(!(this[_0x1d6a87(0x385)]&&this[_0x1d6a87(0x220)]===this[_0x1d6a87(0x390)])){for(var _0x2e0380=this[_0x1d6a87(0x220)]=this['_key'],_0x438748=_0x2e0380[_0x1d6a87(0x1ee)],_0xfd09eb=_0x2e0380[_0x1d6a87(0x24a)]/0x4,_0x1a6df5=this['_nRounds']=_0xfd09eb+0x6,_0x3bfa8b=(_0x1a6df5+0x1)*0x4,_0x6e92ac=this[_0x1d6a87(0x48a)]=[],_0x212631=0x0;_0x212631<_0x3bfa8b;_0x212631++)_0x212631<_0xfd09eb?_0x6e92ac[_0x212631]=_0x438748[_0x212631]:(_0x6522eb=_0x6e92ac[_0x212631-0x1],_0x212631%_0xfd09eb?_0xfd09eb>0x6&&_0x212631%_0xfd09eb==0x4&&(_0x6522eb=_0x25882a[_0x6522eb>>>0x18]<<0x18|_0x25882a[_0x6522eb>>>0x10&0xff]<<0x10|_0x25882a[_0x6522eb>>>0x8&0xff]<<0x8|_0x25882a[_0x6522eb&0xff]):(_0x6522eb=_0x6522eb<<0x8|_0x6522eb>>>0x18,_0x6522eb=_0x25882a[_0x6522eb>>>0x18]<<0x18|_0x25882a[_0x6522eb>>>0x10&0xff]<<0x10|_0x25882a[_0x6522eb>>>0x8&0xff]<<0x8|_0x25882a[_0x6522eb&0xff],_0x6522eb^=_0xd38812[_0x212631/_0xfd09eb|0x0]<<0x18),_0x6e92ac[_0x212631]=_0x6e92ac[_0x212631-_0xfd09eb]^_0x6522eb);for(var _0x5db77e=this[_0x1d6a87(0x4e7)]=[],_0x480e46=0x0;_0x480e46<_0x3bfa8b;_0x480e46++){var _0x212631=_0x3bfa8b-_0x480e46;if(_0x480e46%0x4)var _0x6522eb=_0x6e92ac[_0x212631];else var _0x6522eb=_0x6e92ac[_0x212631-0x4];_0x480e46<0x4||_0x212631<=0x4?_0x5db77e[_0x480e46]=_0x6522eb:_0x5db77e[_0x480e46]=_0x25960a[_0x25882a[_0x6522eb>>>0x18]]^_0x58719f[_0x25882a[_0x6522eb>>>0x10&0xff]]^_0x49d464[_0x25882a[_0x6522eb>>>0x8&0xff]]^_0x571153[_0x25882a[_0x6522eb&0xff]];}}},'encryptBlock':function(_0x8b2c98,_0x52eede){var _0x33490b=_0x266ce1;this[_0x33490b(0x542)](_0x8b2c98,_0x52eede,this[_0x33490b(0x48a)],_0x20a67b,_0x661783,_0x41e618,_0x5ca917,_0x25882a);},'decryptBlock':function(_0x65e19e,_0x373ebc){var _0x55a031=_0x266ce1,_0x20ec7e=_0x65e19e[_0x373ebc+0x1];_0x65e19e[_0x373ebc+0x1]=_0x65e19e[_0x373ebc+0x3],_0x65e19e[_0x373ebc+0x3]=_0x20ec7e,this['_doCryptBlock'](_0x65e19e,_0x373ebc,this[_0x55a031(0x4e7)],_0x25960a,_0x58719f,_0x49d464,_0x571153,_0x6f7b13);var _0x20ec7e=_0x65e19e[_0x373ebc+0x1];_0x65e19e[_0x373ebc+0x1]=_0x65e19e[_0x373ebc+0x3],_0x65e19e[_0x373ebc+0x3]=_0x20ec7e;},'_doCryptBlock':function(_0x2d47e2,_0x2db5a5,_0x22948b,_0x901ceb,_0x336e9f,_0x437790,_0x433932,_0x41ec49){var _0x34bacc=_0x266ce1;for(var _0x49a91d=this[_0x34bacc(0x385)],_0xe2b205=_0x2d47e2[_0x2db5a5]^_0x22948b[0x0],_0x134247=_0x2d47e2[_0x2db5a5+0x1]^_0x22948b[0x1],_0x1e22d6=_0x2d47e2[_0x2db5a5+0x2]^_0x22948b[0x2],_0xe70fc1=_0x2d47e2[_0x2db5a5+0x3]^_0x22948b[0x3],_0x274f10=0x4,_0x7d25af=0x1;_0x7d25af<_0x49a91d;_0x7d25af++){var _0x17194e=_0x901ceb[_0xe2b205>>>0x18]^_0x336e9f[_0x134247>>>0x10&0xff]^_0x437790[_0x1e22d6>>>0x8&0xff]^_0x433932[_0xe70fc1&0xff]^_0x22948b[_0x274f10++],_0x21bc93=_0x901ceb[_0x134247>>>0x18]^_0x336e9f[_0x1e22d6>>>0x10&0xff]^_0x437790[_0xe70fc1>>>0x8&0xff]^_0x433932[_0xe2b205&0xff]^_0x22948b[_0x274f10++],_0x20f4b9=_0x901ceb[_0x1e22d6>>>0x18]^_0x336e9f[_0xe70fc1>>>0x10&0xff]^_0x437790[_0xe2b205>>>0x8&0xff]^_0x433932[_0x134247&0xff]^_0x22948b[_0x274f10++],_0x360f92=_0x901ceb[_0xe70fc1>>>0x18]^_0x336e9f[_0xe2b205>>>0x10&0xff]^_0x437790[_0x134247>>>0x8&0xff]^_0x433932[_0x1e22d6&0xff]^_0x22948b[_0x274f10++];_0xe2b205=_0x17194e,_0x134247=_0x21bc93,_0x1e22d6=_0x20f4b9,_0xe70fc1=_0x360f92;}var _0x17194e=(_0x41ec49[_0xe2b205>>>0x18]<<0x18|_0x41ec49[_0x134247>>>0x10&0xff]<<0x10|_0x41ec49[_0x1e22d6>>>0x8&0xff]<<0x8|_0x41ec49[_0xe70fc1&0xff])^_0x22948b[_0x274f10++],_0x21bc93=(_0x41ec49[_0x134247>>>0x18]<<0x18|_0x41ec49[_0x1e22d6>>>0x10&0xff]<<0x10|_0x41ec49[_0xe70fc1>>>0x8&0xff]<<0x8|_0x41ec49[_0xe2b205&0xff])^_0x22948b[_0x274f10++],_0x20f4b9=(_0x41ec49[_0x1e22d6>>>0x18]<<0x18|_0x41ec49[_0xe70fc1>>>0x10&0xff]<<0x10|_0x41ec49[_0xe2b205>>>0x8&0xff]<<0x8|_0x41ec49[_0x134247&0xff])^_0x22948b[_0x274f10++],_0x360f92=(_0x41ec49[_0xe70fc1>>>0x18]<<0x18|_0x41ec49[_0xe2b205>>>0x10&0xff]<<0x10|_0x41ec49[_0x134247>>>0x8&0xff]<<0x8|_0x41ec49[_0x1e22d6&0xff])^_0x22948b[_0x274f10++];_0x2d47e2[_0x2db5a5]=_0x17194e,_0x2d47e2[_0x2db5a5+0x1]=_0x21bc93,_0x2d47e2[_0x2db5a5+0x2]=_0x20f4b9,_0x2d47e2[_0x2db5a5+0x3]=_0x360f92;},'keySize':0x100/0x20});_0xf5cca0[_0x266ce1(0x277)]=_0xc29742['_createHelper'](_0x3cbd17);}()),_0x41ef3c[_0xe8b96e(0x277)];}));}(fe)),fe[_0x1a3f2a(0x511)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be['exports'],rt;function Vi(){var _0x4faea3=_0x4c5ff4;return rt||(rt=0x1,function(_0x3b289b,_0x425699){(function(_0x5d112f,_0x3f6616){var _0x1d8c16=_0x1dd8;_0x3b289b[_0x1d8c16(0x511)]=_0x3f6616(Q());}(Fi,function(_0x1163bc){var _0x2714ec=_0x1dd8;return _0x1163bc[_0x2714ec(0x281)][_0x2714ec(0x2c4)];}));}(be)),be[_0x4faea3(0x511)];}var Wi=Vi();const Yi=ve(Wi);var Re={'exports':{}},Gi=Re[_0x4c5ff4(0x511)],st;function Ki(){return st||(st=0x1,function(_0x5e3e9c,_0x52730b){(function(_0x569ea3,_0x416270){var _0xc12b78=_0x1dd8;_0x5e3e9c[_0xc12b78(0x511)]=_0x416270(Q());}(Gi,function(_0x20c072){var _0x219ce8=_0x1dd8;return(function(){var _0x1550b7=_0x1dd8;if(typeof ArrayBuffer==_0x1550b7(0x345)){var _0x1b97d1=_0x20c072,_0x1d6216=_0x1b97d1[_0x1550b7(0x3cb)],_0x3801a9=_0x1d6216[_0x1550b7(0x3ec)],_0x1b4827=_0x3801a9['init'],_0x2a2aaa=_0x3801a9[_0x1550b7(0x1f3)]=function(_0xa62f2){var _0x260d83=_0x1550b7;if(_0xa62f2 instanceof ArrayBuffer&&(_0xa62f2=new Uint8Array(_0xa62f2)),(_0xa62f2 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xa62f2 instanceof Uint8ClampedArray||_0xa62f2 instanceof Int16Array||_0xa62f2 instanceof Uint16Array||_0xa62f2 instanceof Int32Array||_0xa62f2 instanceof Uint32Array||_0xa62f2 instanceof Float32Array||_0xa62f2 instanceof Float64Array)&&(_0xa62f2=new Uint8Array(_0xa62f2[_0x260d83(0x404)],_0xa62f2['byteOffset'],_0xa62f2['byteLength'])),_0xa62f2 instanceof Uint8Array){for(var _0x1076f6=_0xa62f2[_0x260d83(0x4a7)],_0x3f9c81=[],_0x3103da=0x0;_0x3103da<_0x1076f6;_0x3103da++)_0x3f9c81[_0x3103da>>>0x2]|=_0xa62f2[_0x3103da]<<0x18-_0x3103da%0x4*0x8;_0x1b4827[_0x260d83(0x417)](this,_0x3f9c81,_0x1076f6);}else _0x1b4827[_0x260d83(0x1ff)](this,arguments);};_0x2a2aaa[_0x1550b7(0x2f9)]=_0x3801a9;}}()),_0x20c072[_0x219ce8(0x3cb)][_0x219ce8(0x3ec)];}));}(Re)),Re['exports'];}var qi=Ki();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe['exports'],ot;function Xi(){var _0x346aad=_0x4c5ff4;return ot||(ot=0x1,function(_0x27e301,_0x1065d0){(function(_0x13adfa,_0x405b19,_0x41ede1){var _0x5423af=_0x1dd8;_0x27e301[_0x5423af(0x511)]=_0x405b19(Q(),Dt());}(Ji,function(_0xd3b2c1){var _0x3433bc=_0x1dd8;return _0xd3b2c1[_0x3433bc(0x22c)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0xd3b2c1['pad'][_0x3433bc(0x2b2)];}));}(Oe)),Oe[_0x346aad(0x511)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x1cf4f4,_0x39fa55){var _0x4bbb63=_0x4c5ff4;const _0x31f362=_0x39fa55-_0x1cf4f4[_0x4bbb63(0x54c)]%_0x39fa55,_0x430706=String[_0x4bbb63(0x4e4)](_0x31f362)[_0x4bbb63(0x512)](_0x31f362);return _0x1cf4f4+_0x430706;}function tn(_0x2ed3b5,_0x326f6e){var _0x4dbb3b=_0x4c5ff4;const _0x5dfbd9=zi['random'](0x10),_0x12561b=en(_0x2ed3b5,0x10),_0x10585b=ji['encrypt'](Yi[_0x4dbb3b(0x257)](_0x12561b),nt[_0x4dbb3b(0x257)](_0x326f6e),{'iv':_0x5dfbd9,'padding':Qi});return _0x5dfbd9[_0x4dbb3b(0x203)](_0x10585b[_0x4dbb3b(0x3f1)])[_0x4dbb3b(0x42e)](nt);}function nn(){var _0x109c7f=_0x4c5ff4;const _0x4396e9=Lt[_0x109c7f(0x274)]()[_0x109c7f(0x259)];if(_0x4396e9){const _0x32305f={'time':Math[_0x109c7f(0x418)](Date[_0x109c7f(0x24b)]()/0x3e8),'domain':location[_0x109c7f(0x2a4)]};return tn(JSON[_0x109c7f(0x40a)](_0x32305f),_0x4396e9);}}var rn=Object['getOwnPropertyDescriptor'],sn=(_0x3600fb,_0x270678,_0x13f2fe,_0x29af2d)=>{var _0x1a45fe=_0x4c5ff4;for(var _0x18ad64=_0x29af2d>0x1?void 0x0:_0x29af2d?rn(_0x270678,_0x13f2fe):_0x270678,_0x382185=_0x3600fb[_0x1a45fe(0x54c)]-0x1,_0x21c968;_0x382185>=0x0;_0x382185--)(_0x21c968=_0x3600fb[_0x382185])&&(_0x18ad64=_0x21c968(_0x18ad64)||_0x18ad64);return _0x18ad64;},on=(_0x9cd4db,_0xeb4261)=>(_0x117063,_0x4b4227)=>_0xeb4261(_0x117063,_0x4b4227,_0x9cd4db);let Ne=class{constructor(_0x398f1d){var _0x110872=_0x4c5ff4;this[_0x110872(0x4ed)]=_0x398f1d,this[_0x110872(0x476)]();}['_initRequestHeader'](){var _0x1ec6ae=_0x4c5ff4;this['_httpService'][_0x1ec6ae(0x406)]({'interceptor':(_0x33ace5,_0x1cbfe1)=>{const _0x4b4277=_0x33ace5['headers'],_0x300b83=nn();return _0x300b83&&_0x4b4277['set']('x-univer-host',_0x300b83),_0x1cbfe1(_0x33ace5);}});}};Ne=sn([on(0x0,a[_0x4c5ff4(0x2d6)](K[_0x4c5ff4(0x2ad)]))],Ne);var an=Object[_0x4c5ff4(0x405)],cn=(_0x489199,_0x58465d,_0x320861,_0x4c68e7)=>{var _0x1fa070=_0x4c5ff4;for(var _0x49b3f3=_0x4c68e7>0x1?void 0x0:_0x4c68e7?an(_0x58465d,_0x320861):_0x58465d,_0x12733e=_0x489199[_0x1fa070(0x54c)]-0x1,_0x505ed9;_0x12733e>=0x0;_0x12733e--)(_0x505ed9=_0x489199[_0x12733e])&&(_0x49b3f3=_0x505ed9(_0x49b3f3)||_0x49b3f3);return _0x49b3f3;},Le=(_0x3ec419,_0x416967)=>(_0x4d1ef4,_0x21a8cf)=>_0x416967(_0x4d1ef4,_0x21a8cf,_0x3ec419);exports[_0x4c5ff4(0x489)]=class extends a[_0x4c5ff4(0x2fc)]{constructor(_0x50b72d,_0x2bb829,_0x5b3870){var _0x4b24a1=_0x4c5ff4;super(),A(this,_0x4b24a1(0x31e),new $[(_0x4b24a1(0x40e))](null)),A(this,'unitInfo$',this['_unitInfo$'][_0x4b24a1(0x2c1)]()),(this[_0x4b24a1(0x2d2)]=_0x50b72d,this['_snapshotService']=_0x2bb829,this[_0x4b24a1(0x3c4)]=_0x5b3870);}async[_0x4c5ff4(0x527)](_0x29e221,_0x2b5b6a,_0x144892){var _0x12ee4e=_0x4c5ff4;this[_0x12ee4e(0x31e)]['next']({'unitId':_0x29e221,'type':_0x2b5b6a});let _0x2b0839=null;switch(_0x2b5b6a){case J[_0x12ee4e(0x218)]:{_0x2b0839=await this[_0x12ee4e(0x413)][_0x12ee4e(0x3a7)](_0x29e221,_0x144892);break;}case J[_0x12ee4e(0x3db)]:{_0x2b0839=await this[_0x12ee4e(0x413)]['loadDoc'](_0x29e221,_0x144892);break;}default:{this['_logService'][_0x12ee4e(0x2c9)](_0x12ee4e(0x468),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x2b0839;}async[_0x4c5ff4(0x2d9)](_0x34a068,_0x346212,_0x2d5f27){var _0x5c6672=_0x4c5ff4,_0x462886;this[_0x5c6672(0x31e)]['next']({'unitId':_0x34a068,'type':_0x346212,'subUnitId':_0x2d5f27});let _0x2ee76f=0x0;const _0x3f6198=await((_0x462886=this[_0x5c6672(0x3c4)])==null?void 0x0:_0x462886['loadOfflineData'](_0x34a068));return _0x3f6198&&(_0x3f6198[_0x5c6672(0x3a5)]||_0x3f6198['mutations']['length']!==0x0)&&(_0x2ee76f=_0x3f6198[_0x5c6672(0x2dc)]),_0x2ee76f===0x0&&this['_logService'][_0x5c6672(0x205)](_0x5c6672(0x468),_0x5c6672(0x3a4)),this[_0x5c6672(0x527)](_0x34a068,_0x346212,_0x2ee76f);}},exports[_0x4c5ff4(0x489)]=cn([Le(0x0,a[_0x4c5ff4(0x4d5)]),Le(0x1,a[_0x4c5ff4(0x2d6)](p[_0x4c5ff4(0x43f)])),Le(0x2,a[_0x4c5ff4(0x28a)](q))],exports[_0x4c5ff4(0x489)]);var hn=Object[_0x4c5ff4(0x405)],_n=(_0x52d449,_0x55971b,_0x1df6ea,_0x27ff70)=>{var _0x2c9828=_0x4c5ff4;for(var _0x29f92c=_0x27ff70>0x1?void 0x0:_0x27ff70?hn(_0x55971b,_0x1df6ea):_0x55971b,_0x1d9d5f=_0x52d449[_0x2c9828(0x54c)]-0x1,_0x13b466;_0x1d9d5f>=0x0;_0x1d9d5f--)(_0x13b466=_0x52d449[_0x1d9d5f])&&(_0x29f92c=_0x13b466(_0x29f92c)||_0x29f92c);return _0x29f92c;},we=(_0x17917f,_0x1e3143)=>(_0x4192c3,_0x1e5fb6)=>_0x1e3143(_0x4192c3,_0x1e5fb6,_0x17917f);const ln=[_0x4c5ff4(0x38b),'image/jpeg','image/jpg',_0x4c5ff4(0x3f5),_0x4c5ff4(0x219)],un=0x5*0x400*0x400,dn='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',vn=_0x4c5ff4(0x4a8),Sn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',fn=_0x4c5ff4(0x3d1);exports['CollaborationImageIoService']=class{constructor(_0x16db14,_0x38aee5,_0xacae06){var _0x19949b=_0x4c5ff4;A(this,'_waitCount',0x0),A(this,_0x19949b(0x45b),new $[(_0x19949b(0x256))]()),A(this,'change$',this[_0x19949b(0x45b)]),A(this,'_imageSourceCache',new Map()),(this[_0x19949b(0x4ed)]=_0x16db14,this[_0x19949b(0x2bb)]=_0x38aee5,this['_univerInstanceService']=_0xacae06);}[_0x4c5ff4(0x514)](_0x3884a6){var _0x360dc7=_0x4c5ff4;this['_waitCount']=_0x3884a6,this[_0x360dc7(0x45b)]['next'](_0x3884a6);}[_0x4c5ff4(0x539)](_0x1929df,_0x4c0073){var _0x152812=_0x4c5ff4;if(_0x4c0073===z['ImageSourceType'][_0x152812(0x3dd)]){const _0x209060=new Image();return _0x209060[_0x152812(0x538)]=_0x1929df,_0x209060;}return this[_0x152812(0x444)][_0x152812(0x38f)](_0x1929df);}[_0x4c5ff4(0x44b)](_0x54a13d,_0x1057b1,_0x4b5426){var _0x309b93=_0x4c5ff4;_0x1057b1===z[_0x309b93(0x43b)]['BASE64']||_0x4b5426==null||this[_0x309b93(0x444)]['set'](_0x54a13d,_0x4b5426);}async[_0x4c5ff4(0x2c0)](_0x5063ee){var _0x186f06=_0x4c5ff4;try{const _0x2e0306=this[_0x186f06(0x446)](this[_0x186f06(0x373)](),''+_0x5063ee),_0x52ac3e=(await this[_0x186f06(0x4ed)][_0x186f06(0x38f)](_0x2e0306))['body'];if(_0x52ac3e[_0x186f06(0x2c9)]&&_0x52ac3e['error'][_0x186f06(0x3aa)]===gt['OK']){const _0x4cb54e=new URL(_0x52ac3e['url'],this[_0x186f06(0x428)]())[_0x186f06(0x42e)]();return Promise[_0x186f06(0x3c5)](_0x4cb54e);}return Promise[_0x186f06(0x561)](_0x52ac3e[_0x186f06(0x2c9)]);}catch(_0x3f45c0){return Promise[_0x186f06(0x561)](_0x3f45c0);}}async[_0x4c5ff4(0x2a9)](_0x125a30){var _0x216442=_0x4c5ff4;let _0x1907d3='';if(!ln[_0x216442(0x56e)](_0x125a30[_0x216442(0x2eb)]))return this[_0x216442(0x208)](),Promise[_0x216442(0x561)](new Error(z[_0x216442(0x3b8)][_0x216442(0x24f)]));if(_0x125a30[_0x216442(0x534)]>un)return this['_decreaseWaiting'](),Promise['reject'](new Error(z[_0x216442(0x3b8)]['ERROR_EXCEED_SIZE']));try{const _0x2aec04=new FormData();_0x2aec04[_0x216442(0x290)](_0x216442(0x522),_0x125a30);const _0x1317fc=this[_0x216442(0x2c3)][_0x216442(0x3fe)](),_0x2c8d48=_0x1317fc==null?void 0x0:_0x1317fc[_0x216442(0x562)]();if(!_0x2c8d48)throw new Error(_0x216442(0x504));const _0x464955=this[_0x216442(0x4c5)]()+'?size='+_0x125a30[_0x216442(0x534)][_0x216442(0x42e)]()+'&source='+Et[_0x216442(0x248)]+_0x216442(0x3e8)+encodeURIComponent(_0x2c8d48),_0x1863f7={'body':_0x2aec04},_0x2bb414=(await this['_httpService'][_0x216442(0x557)](_0x464955,_0x1863f7))[_0x216442(0x265)];if(typeof _0x2bb414['FileId']!=_0x216442(0x4de))return this[_0x216442(0x208)](),Promise[_0x216442(0x561)](new Error(z['ImageUploadStatusType']['ERROR_IMAGE']));_0x1907d3=_0x2bb414[_0x216442(0x216)];}catch{return this[_0x216442(0x208)](),Promise['reject'](new Error(z[_0x216442(0x3b8)][_0x216442(0x3ac)]));}return new Promise((_0x37865c,_0xd83c9d)=>{var _0x2266d1=_0x216442;const _0x1e4541=new FileReader();_0x1e4541[_0x2266d1(0x253)](_0x125a30),_0x1e4541[_0x2266d1(0x26e)]=_0x1ef6f0=>{var _0x24b8d8=_0x2266d1,_0x141eeb;const _0x3a8247=(_0x141eeb=_0x1ef6f0[_0x24b8d8(0x54d)])==null?void 0x0:_0x141eeb[_0x24b8d8(0x447)];if(_0x3a8247==null){this[_0x24b8d8(0x208)](),_0xd83c9d(new Error(z[_0x24b8d8(0x3b8)]['ERROR_IMAGE']));return;}const _0x1ad129=a[_0x24b8d8(0x532)][_0x24b8d8(0x564)](0x6);_0x37865c({'imageId':_0x1ad129,'imageSourceType':z[_0x24b8d8(0x43b)][_0x24b8d8(0x3f2)],'source':_0x1907d3,'base64Cache':_0x3a8247,'status':z[_0x24b8d8(0x3b8)][_0x24b8d8(0x4d1)]}),this[_0x24b8d8(0x208)]();};});}[_0x4c5ff4(0x4c5)](){var _0x5efbad=_0x4c5ff4,_0x44ec40,_0xebee71;const _0x45d6eb=this[_0x5efbad(0x2bb)]['getConfig'](dn),_0x9f6410=this[_0x5efbad(0x2bb)][_0x5efbad(0x296)](G);return(_0xebee71=(_0x44ec40=_0x9f6410==null?void 0x0:_0x9f6410[_0x5efbad(0x316)])!=null?_0x44ec40:_0x45d6eb)!=null?_0xebee71:vn;}[_0x4c5ff4(0x373)](){var _0x46b5fc=_0x4c5ff4,_0x11d784,_0x1d6878;const _0x2d110f=this[_0x46b5fc(0x2bb)][_0x46b5fc(0x296)](Sn),_0x531eb8=this['_configService'][_0x46b5fc(0x296)](G);return(_0x1d6878=(_0x11d784=_0x531eb8==null?void 0x0:_0x531eb8[_0x46b5fc(0x3e0)])!=null?_0x11d784:_0x2d110f)!=null?_0x1d6878:fn;}['_getDownloadEndpointURL'](){var _0x3b6118=_0x4c5ff4,_0x5b3b52;const _0x10e964=this[_0x3b6118(0x2bb)][_0x3b6118(0x296)](G);return(_0x5b3b52=_0x10e964==null?void 0x0:_0x10e964['downloadEndpointUrl'])!=null?_0x5b3b52:location['origin'];}[_0x4c5ff4(0x446)](_0x3ffc18,_0x40915c){var _0x3e69ac=_0x4c5ff4;return _0x3ffc18[_0x3e69ac(0x31a)]('{fileID}',_0x40915c);}['_decreaseWaiting'](){var _0x4973bb=_0x4c5ff4;this[_0x4973bb(0x31f)]-=0x1,this[_0x4973bb(0x45b)][_0x4973bb(0x473)](this['_waitCount']);}},exports[_0x4c5ff4(0x4b4)]=_n([we(0x0,a[_0x4c5ff4(0x2d6)](K[_0x4c5ff4(0x2ad)])),we(0x1,a[_0x4c5ff4(0x344)]),we(0x2,a['Inject'](a[_0x4c5ff4(0x2fb)]))],exports['CollaborationImageIoService']);var In=Object[_0x4c5ff4(0x405)],pn=(_0x386aec,_0x1fa998,_0x1ba202,_0x9945d4)=>{var _0x2ea49a=_0x4c5ff4;for(var _0x548f92=_0x9945d4>0x1?void 0x0:_0x9945d4?In(_0x1fa998,_0x1ba202):_0x1fa998,_0x3eb209=_0x386aec[_0x2ea49a(0x54c)]-0x1,_0x257000;_0x3eb209>=0x0;_0x3eb209--)(_0x257000=_0x386aec[_0x3eb209])&&(_0x548f92=_0x257000(_0x548f92)||_0x548f92);return _0x548f92;},at=(_0x392a8f,_0x5403fb)=>(_0x24bdb8,_0x5c53ac)=>_0x5403fb(_0x24bdb8,_0x5c53ac,_0x392a8f);const gn=_0x4c5ff4(0x51a);exports[_0x4c5ff4(0x32d)]=class{constructor(_0x17d554,_0x4d182a){var _0x95e36f=_0x4c5ff4;this[_0x95e36f(0x2bb)]=_0x17d554,this[_0x95e36f(0x4c9)]=_0x4d182a;}[_0x4c5ff4(0x4f2)](){var _0x55733a=_0x4c5ff4,_0x13c721,_0x2b87f7;const _0x747104=this[_0x55733a(0x2bb)]['getConfig'](Ve),_0x181f35=this['_configService'][_0x55733a(0x296)](G);return(_0x2b87f7=(_0x13c721=_0x181f35==null?void 0x0:_0x181f35[_0x55733a(0x461)])!=null?_0x13c721:_0x747104)!=null?_0x2b87f7:gn;}async[_0x4c5ff4(0x27d)](_0x38e61e){var _0x5dc87d=_0x4c5ff4;const _0x50df64=this[_0x5dc87d(0x4f2)]()+_0x5dc87d(0x438);return{'list':[{'title':_0x5dc87d(0x300),'mentions':(await this[_0x5dc87d(0x4c9)][_0x5dc87d(0x38f)](_0x50df64,{'params':{'objectID':_0x38e61e[_0x5dc87d(0x221)],'unitID':_0x38e61e[_0x5dc87d(0x221)]}}))[_0x5dc87d(0x265)][_0x5dc87d(0x536)][_0x5dc87d(0x474)](_0x4fcc73=>({'objectId':_0x4fcc73['id'],'name':_0x4fcc73[_0x5dc87d(0x30a)][_0x5dc87d(0x3e4)],'metadata':{'icon':_0x4fcc73[_0x5dc87d(0x30a)][_0x5dc87d(0x4fd)]},'label':_0x4fcc73[_0x5dc87d(0x30a)][_0x5dc87d(0x3e4)],'objectType':a['MentionType']['PERSON']})),'metadata':{},'type':a[_0x5dc87d(0x331)]['PERSON']}]};}},exports['MentionIoHttpService']=pn([at(0x0,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x344)])),at(0x1,a[_0x4c5ff4(0x2d6)](K[_0x4c5ff4(0x2ad)]))],exports['MentionIoHttpService']);var En=Object[_0x4c5ff4(0x405)],mn=(_0x4b96d1,_0x17c10c,_0x36c657,_0x4a65ad)=>{var _0xf8d224=_0x4c5ff4;for(var _0x132821=_0x4a65ad>0x1?void 0x0:_0x4a65ad?En(_0x17c10c,_0x36c657):_0x17c10c,_0x4b1143=_0x4b96d1[_0xf8d224(0x54c)]-0x1,_0x5127c1;_0x4b1143>=0x0;_0x4b1143--)(_0x5127c1=_0x4b96d1[_0x4b1143])&&(_0x132821=_0x5127c1(_0x132821)||_0x132821);return _0x132821;},le=(_0x3b74ee,_0x5cb67c)=>(_0x4cae16,_0xe702fb)=>_0x5cb67c(_0x4cae16,_0xe702fb,_0x3b74ee);let De=class extends a[_0x4c5ff4(0x2fc)]{constructor(_0x4b5782,_0x5c7da3,_0x35e987,_0x2721ff,_0x4b9e70){var _0x4c5810=_0x4c5ff4;super(),this[_0x4c5810(0x2f8)]=_0x4b5782,this[_0x4c5810(0x2c3)]=_0x5c7da3,this[_0x4c5810(0x35f)]=_0x35e987,this[_0x4c5810(0x3c1)]=_0x2721ff,this['_collaborationUIEventService']=_0x4b9e70,this[_0x4c5810(0x496)](),this[_0x4c5810(0x371)]();}[_0x4c5ff4(0x371)](){var _0x1cd6bc=_0x4c5ff4;const _0x2326d5=async _0x507b34=>{var _0x416d1d=_0x1dd8;(await this[_0x416d1d(0x3c1)][_0x416d1d(0x37b)](_0x507b34))['event$'][_0x416d1d(0x51e)](V[_0x416d1d(0x3e9)](_0x28d191=>_0x28d191[_0x416d1d(0x299)]===p['CollaborationEvent']['SHOULD_CLOSE_CONN']),V['takeUntil'](this[_0x416d1d(0x505)]))['subscribe'](_0x4d5ae4=>{var _0x570c1a=_0x416d1d;const _0x1557fe=_0x4d5ae4,{reason:_0x2462b4}=_0x1557fe[_0x570c1a(0x1e8)];this[_0x570c1a(0x4ba)][_0x570c1a(0x2ab)]({'id':Z[_0x570c1a(0x35b)],'data':_0x2462b4}),this['_permissionService'][_0x570c1a(0x2c6)](new X[(_0x570c1a(0x53b))](_0x507b34)['id'],!0x1),this[_0x570c1a(0x3c1)][_0x570c1a(0x4af)](_0x507b34);});};$[_0x1cd6bc(0x287)](this[_0x1cd6bc(0x2c3)][_0x1cd6bc(0x318)](a[_0x1cd6bc(0x4b8)][_0x1cd6bc(0x218)]),this[_0x1cd6bc(0x2c3)][_0x1cd6bc(0x318)](a[_0x1cd6bc(0x4b8)][_0x1cd6bc(0x3db)]))['pipe'](V[_0x1cd6bc(0x474)](_0x9d5dbd=>_0x9d5dbd['getUnitId']()),V['filter'](_0x42a346=>!a['isInternalEditorID'](_0x42a346)),V['takeUntil'](this[_0x1cd6bc(0x505)]))[_0x1cd6bc(0x240)](_0x2fe7c0=>{_0x2326d5(_0x2fe7c0);});}[_0x4c5ff4(0x496)](){var _0x4ca9a8=_0x4c5ff4;const _0x5848d2=async _0x1542c8=>{var _0x142a2a=_0x1dd8;const _0xa1b276=await this['_collaborationSessionService'][_0x142a2a(0x37b)](_0x1542c8),_0x5207f9=this[_0x142a2a(0x2f8)][_0x142a2a(0x38f)](X[_0x142a2a(0x2d7)]);_0xa1b276[_0x142a2a(0x1e6)][_0x142a2a(0x51e)](V[_0x142a2a(0x3e9)](_0x1c4718=>_0x1c4718[_0x142a2a(0x299)]===p['CollaborationEvent'][_0x142a2a(0x3d4)]),V[_0x142a2a(0x4ee)](this[_0x142a2a(0x505)]))[_0x142a2a(0x240)](_0x5ce6a2=>{var _0x2e44f6=_0x142a2a;const _0x14abf3=_0x5ce6a2,{objectId:_0x73bc44}=_0x14abf3[_0x2e44f6(0x1e8)];_0x73bc44===_0x1542c8?_0x5207f9[_0x2e44f6(0x4f5)](_0x1542c8):_0x5207f9[_0x2e44f6(0x3a0)](_0x1542c8,_0x73bc44);});};$[_0x4ca9a8(0x287)](this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x4ca9a8(0x4b8)]['UNIVER_SHEET']))[_0x4ca9a8(0x51e)](V[_0x4ca9a8(0x474)](_0x5d3349=>_0x5d3349[_0x4ca9a8(0x562)]()),V[_0x4ca9a8(0x3e9)](_0x38bb1b=>!a[_0x4ca9a8(0x4ff)](_0x38bb1b)),V[_0x4ca9a8(0x4ee)](this[_0x4ca9a8(0x505)]))[_0x4ca9a8(0x240)](_0x36137a=>{_0x5848d2(_0x36137a);});}};De=mn([le(0x0,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x506)])),le(0x1,a[_0x4c5ff4(0x2fb)]),le(0x2,a['IPermissionService']),le(0x3,a[_0x4c5ff4(0x2d6)](exports[_0x4c5ff4(0x2e3)])),le(0x4,a[_0x4c5ff4(0x2d6)](ee))],De);var Cn=Object['getOwnPropertyDescriptor'],Tn=(_0x1619d3,_0x3462de,_0xa42d0b,_0x1d1892)=>{var _0x515a8b=_0x4c5ff4;for(var _0x41db84=_0x1d1892>0x1?void 0x0:_0x1d1892?Cn(_0x3462de,_0xa42d0b):_0x3462de,_0x452899=_0x1619d3[_0x515a8b(0x54c)]-0x1,_0x2977e9;_0x452899>=0x0;_0x452899--)(_0x2977e9=_0x1619d3[_0x452899])&&(_0x41db84=_0x2977e9(_0x41db84)||_0x41db84);return _0x41db84;},ct=(_0xf98a1,_0x1f1fbc)=>(_0x41d8dd,_0x2f4acf)=>_0x1f1fbc(_0x41d8dd,_0x2f4acf,_0xf98a1);exports[_0x4c5ff4(0x4d9)]=class{constructor(_0x3c35a5,_0x218956){var _0x744f9=_0x4c5ff4;this[_0x744f9(0x2bb)]=_0x3c35a5,this[_0x744f9(0x4ed)]=_0x218956;}async[_0x4c5ff4(0x3b1)](_0x41b273,_0x40246c){var _0x2d6cbb=_0x4c5ff4,_0x549c22;const {unitID:_0x2957d0,type:_0x5028ef,revision:_0x220168=0x0}=_0x40246c,_0x25d07b=this[_0x2d6cbb(0x20a)]()+'/'+_0x5028ef+_0x2d6cbb(0x4e9)+_0x2957d0+_0x2d6cbb(0x3f8)+_0x220168,_0x290ea4=(await this[_0x2d6cbb(0x4ed)]['get'](_0x25d07b))['body'],_0x3e9bea=(_0x549c22=_0x290ea4[_0x2d6cbb(0x2ca)])==null?void 0x0:_0x549c22[_0x2d6cbb(0x486)];if(_0x3e9bea){const _0x4612eb=_0x3e9bea==null?void 0x0:_0x3e9bea[_0x2d6cbb(0x275)],_0xb09784=p[_0x2d6cbb(0x495)]['encode'](p[_0x2d6cbb(0x231)](_0x4612eb));_0x3e9bea['originalMeta']=_0xb09784,Object['entries'](_0x3e9bea['sheets'])[_0x2d6cbb(0x56d)](([,_0x1e3ff0])=>{var _0x464f7e=_0x2d6cbb;const _0xcea91e=_0x1e3ff0['originalMeta'],_0x5b4beb=p[_0x464f7e(0x495)][_0x464f7e(0x4f3)](p[_0x464f7e(0x231)](_0xcea91e));_0x1e3ff0[_0x464f7e(0x275)]=_0x5b4beb;});}return _0x290ea4;}async[_0x4c5ff4(0x43a)](_0x112b8e,_0x356c0c){var _0x4d3a23=_0x4c5ff4;const {unitID:_0x5727ac,type:_0x222691,blockID:_0x316bdd}=_0x356c0c,_0x9f4cb3=this[_0x4d3a23(0x301)]()+'/'+_0x222691+'/unit/'+_0x5727ac+_0x4d3a23(0x4aa)+_0x316bdd;return(await this[_0x4d3a23(0x4ed)]['get'](_0x9f4cb3))[_0x4d3a23(0x265)];}async['getDeserializedSheetBlock'](_0x415505,_0x31ba2f){var _0x36174b=_0x4c5ff4;const {unitID:_0x558748,type:_0x5c0821,blockID:_0x15ad41}=_0x31ba2f,_0x188a84=this[_0x36174b(0x301)]()+_0x36174b(0x4aa)+_0x5c0821+'/unit/'+_0x558748+_0x36174b(0x4aa)+_0x15ad41;return(await this[_0x36174b(0x4ed)]['get'](_0x188a84))[_0x36174b(0x265)];}async['fetchMissingChangesets'](_0x1de19d,_0x6c83d2){var _0x5f3e6a=_0x4c5ff4;const {unitID:_0x5a2f76,type:_0x2ae8cf,from:_0x19de44,to:_0x27e372}=_0x6c83d2,_0x2a6c65=this['_getAPIPrefix']()+'/'+_0x2ae8cf+_0x5f3e6a(0x4e9)+_0x5a2f76+_0x5f3e6a(0x484)+_0x19de44+_0x5f3e6a(0x20b)+_0x27e372;return(await this[_0x5f3e6a(0x4ed)][_0x5f3e6a(0x38f)](_0x2a6c65))['body'];}['getSnapshotAPIPath'](){var _0x4796f1=_0x4c5ff4,_0x5555c4;return(_0x5555c4=this['_configService']['getConfig'](lt))!=null?_0x5555c4:this[_0x4796f1(0x301)]();}[_0x4c5ff4(0x301)](){var _0x121aa0=_0x4c5ff4,_0x12e277,_0x4da195;const _0xbeba0=this['_configService'][_0x121aa0(0x296)](_t),_0x1a3797=this['_configService']['getConfig'](G);return(_0x4da195=(_0x12e277=_0x1a3797==null?void 0x0:_0x1a3797[_0x121aa0(0x50b)])!=null?_0x12e277:_0xbeba0)!=null?_0x4da195:wt;}async['getResourcesRequest'](_0x317cd0,_0x5779bd){var _0x4fc528=_0x4c5ff4;const _0x1538da=_0x4fc528(0x44f)+_0x5779bd['type']+'/unit/'+_0x5779bd[_0x4fc528(0x27a)]+_0x4fc528(0x3da);return(await this['_httpService'][_0x4fc528(0x38f)](_0x1538da,{'params':{'resourceId':JSON[_0x4fc528(0x40a)](_0x5779bd[_0x4fc528(0x3f9)])}}))['body'];}['saveSnapshot'](){var _0x5e88b0=_0x4c5ff4;throw new Error(_0x5e88b0(0x4ca));}[_0x4c5ff4(0x521)](){var _0x1ae58d=_0x4c5ff4;throw new Error(_0x1ae58d(0x4ca));}['saveSheetBlock'](){var _0x1c4d4c=_0x4c5ff4;throw new Error(_0x1c4d4c(0x4ca));}[_0x4c5ff4(0x533)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4c5ff4(0x4d7)](){var _0x3c5e3b=_0x4c5ff4;throw new Error(_0x3c5e3b(0x4ca));}['getLatestCsReqIdBySid'](){var _0x3c4a6a=_0x4c5ff4;throw new Error(_0x3c4a6a(0x4ca));}},exports[_0x4c5ff4(0x4d9)]=Tn([ct(0x0,a['IConfigService']),ct(0x1,a[_0x4c5ff4(0x2d6)](K[_0x4c5ff4(0x2ad)]))],exports[_0x4c5ff4(0x4d9)]);function _0x1dd8(_0x2be7db,_0x383d25){var _0x3985f7=_0x3985();return _0x1dd8=function(_0x1dd853,_0x565821){_0x1dd853=_0x1dd853-0x1e6;var _0x51ed6f=_0x3985f7[_0x1dd853];return _0x51ed6f;},_0x1dd8(_0x2be7db,_0x383d25);}var bn=Object[_0x4c5ff4(0x405)],Rn=(_0x34eb70,_0x3c2d18,_0xf1f244,_0x1751ff)=>{var _0x34ca5c=_0x4c5ff4;for(var _0x12e536=_0x1751ff>0x1?void 0x0:_0x1751ff?bn(_0x3c2d18,_0xf1f244):_0x3c2d18,_0x13b2a0=_0x34eb70[_0x34ca5c(0x54c)]-0x1,_0x4c902c;_0x13b2a0>=0x0;_0x13b2a0--)(_0x4c902c=_0x34eb70[_0x13b2a0])&&(_0x12e536=_0x4c902c(_0x12e536)||_0x12e536);return _0x12e536;},ue=(_0x565795,_0x52b213)=>(_0x41345a,_0x16adad)=>_0x52b213(_0x41345a,_0x16adad,_0x565795);exports[_0x4c5ff4(0x4bb)]=class extends a[_0x4c5ff4(0x34a)]{constructor(_0x492a62,_0xf47250,_0x340cbd,_0x39f232,_0x893324){var _0x5316b0=_0x4c5ff4;super(_0x492a62,_0xf47250,_0x340cbd),this[_0x5316b0(0x456)]=_0x39f232,this[_0x5316b0(0x2d2)]=_0x893324;}[_0x4c5ff4(0x226)](_0x18ff8a,_0x12b79a){var _0x301bf8=_0x4c5ff4;const _0x225987=this[_0x301bf8(0x424)](_0x18ff8a);if(_0x225987)try{const _0x5e8140=this['_transformStack'](_0x225987,_0x12b79a);this[_0x301bf8(0x236)](_0x18ff8a,_0x5e8140);}catch(_0xee72c6){this['_logService'][_0x301bf8(0x2c9)]('[CollaborationUndoRedoService]',_0xee72c6),this[_0x301bf8(0x356)](_0x18ff8a);}const _0x24e325=this[_0x301bf8(0x225)](_0x18ff8a);if(_0x24e325)try{const _0x3f1610=this['_transformStack'](_0x24e325,_0x12b79a);this['_substituteRedoStack'](_0x18ff8a,_0x3f1610);}catch(_0xb39461){this[_0x301bf8(0x2d2)]['error'](_0xb39461),this[_0x301bf8(0x3be)](_0x18ff8a);}}[_0x4c5ff4(0x356)](_0x2a4c2b){var _0x3abb47=_0x4c5ff4;const _0x18aa74=this[_0x3abb47(0x424)](_0x2a4c2b);_0x18aa74&&(_0x18aa74[_0x3abb47(0x54c)]=0x0,this[_0x3abb47(0x271)]());}[_0x4c5ff4(0x3be)](_0x5b2566){var _0xd54cba=_0x4c5ff4;const _0x3dd003=this['_getRedoStack'](_0x5b2566);_0x3dd003&&(_0x3dd003[_0xd54cba(0x54c)]=0x0,this[_0xd54cba(0x271)]());}[_0x4c5ff4(0x236)](_0x433bae,_0x27d4dd){var _0x259efd=_0x4c5ff4;this[_0x259efd(0x529)][_0x259efd(0x2e6)](_0x433bae,_0x27d4dd),this[_0x259efd(0x271)]();}[_0x4c5ff4(0x54b)](_0x3be52b,_0x1a287b){var _0x3a4831=_0x4c5ff4;this[_0x3a4831(0x440)]['set'](_0x3be52b,_0x1a287b),this[_0x3a4831(0x271)]();}[_0x4c5ff4(0x347)](_0x7ab941,_0x9713c4){var _0xca501e=_0x4c5ff4;const _0x2504da=[];let _0x309f9e=_0x9713c4,_0x51f99a=_0x9713c4;for(let _0x39a004=_0x7ab941[_0xca501e(0x54c)]-0x1;_0x39a004>=0x0;_0x39a004--){const {unitID:_0x2cfd06,undoMutations:_0xd10c94,redoMutations:_0x30e8ea}=_0x7ab941[_0x39a004],_0x270ca5=this[_0xca501e(0x456)][_0xca501e(0x411)](_0x309f9e,_0xd10c94),_0x1e92ad=this[_0xca501e(0x456)]['transformMutationsWithChangeset'](_0x51f99a,_0x30e8ea);if(p[_0xca501e(0x3bd)](_0x270ca5)||p[_0xca501e(0x3bd)](_0x1e92ad)){this[_0xca501e(0x2d2)][_0xca501e(0x2c9)](_0xca501e(0x55f),_0xca501e(0x315),_0x270ca5,_0x1e92ad);break;}_0x309f9e=_0x270ca5[_0xca501e(0x362)],_0x51f99a=_0x1e92ad[_0xca501e(0x362)],_0x2504da[_0xca501e(0x209)]({'unitID':_0x2cfd06,'undoMutations':_0x270ca5['m2Prime'],'redoMutations':_0x1e92ad[_0xca501e(0x409)]});}return _0x2504da['reverse']();}},exports[_0x4c5ff4(0x4bb)]=Rn([ue(0x0,a[_0x4c5ff4(0x2fb)]),ue(0x1,a[_0x4c5ff4(0x267)]),ue(0x2,a[_0x4c5ff4(0x2ac)]),ue(0x3,p['ITransformService']),ue(0x4,a['ILogService'])],exports['CollaborativeUndoRedoService']);var On=Object[_0x4c5ff4(0x292)],yn=Object[_0x4c5ff4(0x405)],Nn=(_0x21cb5a,_0x6f0249,_0x341971)=>_0x6f0249 in _0x21cb5a?On(_0x21cb5a,_0x6f0249,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x341971}):_0x21cb5a[_0x6f0249]=_0x341971,Dn=(_0x4ae353,_0x4dd506,_0x39a2e0,_0x5b4453)=>{var _0x54ba4a=_0x4c5ff4;for(var _0x92d2ba=_0x5b4453>0x1?void 0x0:_0x5b4453?yn(_0x4dd506,_0x39a2e0):_0x4dd506,_0x4c2093=_0x4ae353[_0x54ba4a(0x54c)]-0x1,_0x5b51ed;_0x4c2093>=0x0;_0x4c2093--)(_0x5b51ed=_0x4ae353[_0x4c2093])&&(_0x92d2ba=_0x5b51ed(_0x92d2ba)||_0x92d2ba);return _0x92d2ba;},Me=(_0x4aca18,_0x1cb478)=>(_0x13e523,_0x2463fc)=>_0x1cb478(_0x13e523,_0x2463fc,_0x4aca18),Un=(_0x3f184c,_0x1b734e,_0x250a80)=>Nn(_0x3f184c,_0x1b734e+'',_0x250a80);const An=_0x4c5ff4(0x4b7);exports[_0x4c5ff4(0x1ea)]=class extends a[_0x4c5ff4(0x27c)]{constructor(_0x587f85,_0x46eab2,_0x58dc8f,_0x39234d){var _0x117912=_0x4c5ff4;super(),A(this,_0x117912(0x357)),(this[_0x117912(0x2d2)]=_0x46eab2,this['_injector']=_0x58dc8f,this[_0x117912(0x2bb)]=_0x39234d);const {..._0x19239a}=a[_0x117912(0x287)]({},Kt,_0x587f85);if(!_0x19239a[_0x117912(0x483)])throw new Error(_0x117912(0x266));this[_0x117912(0x357)]=_0x19239a,this[_0x117912(0x2bb)][_0x117912(0x23e)](G,_0x19239a);}['onStarting'](){var _0x1cac6a=_0x4c5ff4;this[_0x1cac6a(0x396)](),this[_0x1cac6a(0x4f9)]();}['_registerDependencies'](){var _0x359f81=_0x4c5ff4,_0x451bb0,_0x415ebe;this[_0x359f81(0x2f8)][_0x359f81(0x232)](a['IUndoRedoService'])&&this[_0x359f81(0x2d2)]['error'](_0x359f81(0x3fd),_0x359f81(0x40f));const _0x547249=a['mergeOverrideWithDependencies']([[a[_0x359f81(0x4e8)],{'useClass':exports[_0x359f81(0x4bb)]}],[exports[_0x359f81(0x2e3)]],[exports[_0x359f81(0x306)]],[exports[_0x359f81(0x349)]],[ye],[Ne],[$e],[De],[ee],[exports['DataLoaderService']],[He,{'useClass':this[_0x359f81(0x357)]['socketService']}],[p['ISnapshotServerService'],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x359f81(0x526)],{'useClass':exports[_0x359f81(0x37d)]}],[z[_0x359f81(0x4d6)],{'useClass':exports[_0x359f81(0x4b4)]}],[a['IMentionIOService'],{'useClass':exports[_0x359f81(0x32d)]}],[exports[_0x359f81(0x284)]],[xe]],(_0x451bb0=this['_config'])==null?void 0x0:_0x451bb0[_0x359f81(0x399)]);if(!((_0x415ebe=this[_0x359f81(0x357)])!=null&&_0x415ebe[_0x359f81(0x4b0)])){const _0x557114=_0x547249[_0x359f81(0x451)](([_0x3d94d9])=>_0x3d94d9===de);_0x557114!==-0x1&&_0x547249[_0x359f81(0x401)](_0x557114,0x1);}a['registerDependencies'](this[_0x359f81(0x2f8)],_0x547249);}[_0x4c5ff4(0x4f9)](){var _0x357c35=_0x4c5ff4,_0xcd23c9,_0x4331be,_0x5b1112;this[_0x357c35(0x2f8)][_0x357c35(0x38f)](K[_0x357c35(0x2ad)])[_0x357c35(0x406)]({'priority':0x14,'interceptor':K[_0x357c35(0x39f)]({'maxParallel':0x6})}),(_0xcd23c9=this[_0x357c35(0x357)])!=null&&_0xcd23c9[_0x357c35(0x449)]||(_0x4331be=this[_0x357c35(0x2f8)]['get'](q,a[_0x357c35(0x286)][_0x357c35(0x246)]))==null||_0x4331be['disableLocalCache'](),(_0x5b1112=this[_0x357c35(0x357)])!=null&&_0x5b1112[_0x357c35(0x407)]&&a[_0x357c35(0x3b4)](this['_injector'],[[ye]]),a[_0x357c35(0x3b4)](this[_0x357c35(0x2f8)],[[Ne],[exports[_0x357c35(0x284)]],[De]]);}},Un(exports[_0x4c5ff4(0x1ea)],_0x4c5ff4(0x479),An),exports[_0x4c5ff4(0x1ea)]=Dn([a['DependentOn'](p[_0x4c5ff4(0x377)],K['UniverNetworkPlugin']),Me(0x1,a['ILogService']),Me(0x2,a[_0x4c5ff4(0x2d6)](a[_0x4c5ff4(0x506)])),Me(0x3,a['IConfigService'])],exports['UniverCollaborationClientPlugin']),exports[_0x4c5ff4(0x3ab)]=Ve,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=G,exports[_0x4c5ff4(0x21d)]=It,exports[_0x4c5ff4(0x2ba)]=ut,exports[_0x4c5ff4(0x3fc)]=Be,exports['CollaborationUIEventId']=Z,exports[_0x4c5ff4(0x2f5)]=ee,exports[_0x4c5ff4(0x1e7)]=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=dt,exports[_0x4c5ff4(0x21b)]=Gt,exports[_0x4c5ff4(0x3d6)]=kt,exports[_0x4c5ff4(0x2a3)]=vt,exports[_0x4c5ff4(0x30e)]=ke,exports[_0x4c5ff4(0x1ed)]=He,exports['ILocalCacheService']=q,exports[_0x4c5ff4(0x4d4)]=mt,exports[_0x4c5ff4(0x2de)]=de,exports['LOCAL_CACHE_INTERVAL']=Ft,exports['LOCAL_CACHE_INTERVAL_KEY']=Bt,exports['LOGIN_URL_KEY']=pt,exports[_0x4c5ff4(0x450)]=Yt,exports[_0x4c5ff4(0x55e)]=ft,exports[_0x4c5ff4(0x21f)]=Mt,exports[_0x4c5ff4(0x324)]=_t,exports[_0x4c5ff4(0x54f)]=lt,exports[_0x4c5ff4(0x3bf)]=re,exports[_0x4c5ff4(0x20f)]=je,exports['deserializeToCombResponse']=Ct,exports['getLocalCacheKey']=oi,exports['serializeCombRequest']=Tt;
|