@univerjs-pro/collaboration-client 0.6.10-experimental.20250419-1304630 → 0.6.10-experimental.20250421-e4eb9bc
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/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/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/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/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0x5549f4=_0x2ddb;(function(_0x3b5382,_0x29bbb3){var _0x577050=_0x2ddb,_0x173adb=_0x3b5382();while(!![]){try{var _0x46e5e9=-parseInt(_0x577050(0x128))/0x1*(parseInt(_0x577050(0x1ce))/0x2)+-parseInt(_0x577050(0x304))/0x3*(-parseInt(_0x577050(0x3c5))/0x4)+parseInt(_0x577050(0x3ca))/0x5+-parseInt(_0x577050(0x127))/0x6*(parseInt(_0x577050(0x228))/0x7)+parseInt(_0x577050(0x1e2))/0x8+-parseInt(_0x577050(0x2d8))/0x9*(parseInt(_0x577050(0x126))/0xa)+-parseInt(_0x577050(0x193))/0xb;if(_0x46e5e9===_0x29bbb3)break;else _0x173adb['push'](_0x173adb['shift']());}catch(_0x203ff9){_0x173adb['push'](_0x173adb['shift']());}}}(_0x22de,0x721e9));var wt=Object[_0x5549f4(0x45c)],Lt=(_0x2c2b63,_0x18f1f7,_0x10bcb3)=>_0x18f1f7 in _0x2c2b63?wt(_0x2c2b63,_0x18f1f7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x10bcb3}):_0x2c2b63[_0x18f1f7]=_0x10bcb3,A=(_0x51f164,_0x1eef4a,_0x53746c)=>Lt(_0x51f164,typeof _0x1eef4a!=_0x5549f4(0x388)?_0x1eef4a+'':_0x1eef4a,_0x53746c);Object[_0x5549f4(0x45c)](exports,Symbol[_0x5549f4(0xec)],{'value':'Module'});const a=require(_0x5549f4(0x43e)),j=require(_0x5549f4(0x1ad)),V=require(_0x5549f4(0x326)),g=require(_0x5549f4(0x13b)),q=require(_0x5549f4(0x284)),Mt=require('@univerjs/telemetry'),ut=require(_0x5549f4(0x237)),Z=require(_0x5549f4(0x334)),J=require('@univerjs/drawing'),xt=require(_0x5549f4(0x39c)),dt='SNAPSHOT_SERVER_URL_KEY',kt='/universer-api/snapshot',vt=_0x5549f4(0x459),Ht=_0x5549f4(0x1d3),jt=0x7d0,St=_0x5549f4(0x1f1),ft='ws://127.0.0.1:8000/universer-api/comb/connect',$t=_0x5549f4(0x123),pt=_0x5549f4(0x204),Bt=0x7530,je='HEARTBEAT_TIMEOUT',gt=0x4e20,Ft=0x4e20,It=_0x5549f4(0x29b),Vt=0x3,Wt='LOCAL_CACHE_INTERVAL',Gt=0x3e8,mt=_0x5549f4(0x174),Kt=_0x5549f4(0x2f0),Et=_0x5549f4(0x253),Yt=_0x5549f4(0x26b),qt=_0x5549f4(0x16d),zt=_0x5549f4(0x264);var Ct=(_0x1bde1c=>(_0x1bde1c[_0x1bde1c[_0x5549f4(0x249)]=0x0]=_0x5549f4(0x249),_0x1bde1c[_0x1bde1c['OK']=0x1]='OK',_0x1bde1c[_0x1bde1c['INTERNAL_ERROR']=0x2]=_0x5549f4(0x26f),_0x1bde1c[_0x1bde1c['PERMISSION_DENIED']=0x3]=_0x5549f4(0x2a1),_0x1bde1c[_0x1bde1c[_0x5549f4(0x468)]=0x4]=_0x5549f4(0x468),_0x1bde1c[_0x1bde1c[_0x5549f4(0x3b7)]=0x5]='UNAUTHENTICATED',_0x1bde1c[_0x1bde1c['ALREADY_EXISTS']=0x6]=_0x5549f4(0x161),_0x1bde1c[_0x1bde1c[_0x5549f4(0x1a3)]=0x7]=_0x5549f4(0x1a3),_0x1bde1c[_0x1bde1c[_0x5549f4(0x269)]=0x8]=_0x5549f4(0x269),_0x1bde1c[_0x1bde1c[_0x5549f4(0x16e)]=0x9]=_0x5549f4(0x16e),_0x1bde1c[_0x1bde1c[_0x5549f4(0x271)]=0xa]=_0x5549f4(0x271),_0x1bde1c[_0x1bde1c[_0x5549f4(0x379)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1bde1c[_0x1bde1c[_0x5549f4(0x26e)]=0x1771]=_0x5549f4(0x26e),_0x1bde1c[_0x1bde1c[_0x5549f4(0x42b)]=0x1772]=_0x5549f4(0x42b),_0x1bde1c[_0x1bde1c[_0x5549f4(0x1fc)]=0x1773]=_0x5549f4(0x1fc),_0x1bde1c[_0x1bde1c[_0x5549f4(0x12e)]=0x1b59]=_0x5549f4(0x12e),_0x1bde1c[_0x1bde1c[_0x5549f4(0x467)]=0x1b5a]=_0x5549f4(0x467),_0x1bde1c[_0x1bde1c['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1bde1c[_0x1bde1c[_0x5549f4(0x341)]=0x1b5c]=_0x5549f4(0x341),_0x1bde1c[_0x1bde1c[_0x5549f4(0x427)]=0x1b5d]=_0x5549f4(0x427),_0x1bde1c[_0x1bde1c[_0x5549f4(0x3fa)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1bde1c[_0x1bde1c[_0x5549f4(0x1f2)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1bde1c[_0x1bde1c[_0x5549f4(0x2a4)]=0x232a]=_0x5549f4(0x2a4),_0x1bde1c[_0x1bde1c[_0x5549f4(0x3c0)]=0x232b]=_0x5549f4(0x3c0),_0x1bde1c[_0x1bde1c['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1bde1c[_0x1bde1c[_0x5549f4(0x276)]=0x232d]=_0x5549f4(0x276),_0x1bde1c[_0x1bde1c[_0x5549f4(0x2eb)]=0x2711]=_0x5549f4(0x2eb),_0x1bde1c[_0x1bde1c[_0x5549f4(0xe8)]=0x2712]=_0x5549f4(0xe8),_0x1bde1c[_0x1bde1c[_0x5549f4(0x352)]=0x2713]=_0x5549f4(0x352),_0x1bde1c[_0x1bde1c[_0x5549f4(0x29f)]=0x2714]=_0x5549f4(0x29f),_0x1bde1c[_0x1bde1c[_0x5549f4(0x2d6)]=0x271a]=_0x5549f4(0x2d6),_0x1bde1c[_0x1bde1c[_0x5549f4(0x246)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x1bde1c[_0x1bde1c[_0x5549f4(0x31e)]=0x2af9]=_0x5549f4(0x31e),_0x1bde1c[_0x1bde1c[_0x5549f4(0x10b)]=0x2ee1]=_0x5549f4(0x10b),_0x1bde1c[_0x1bde1c[_0x5549f4(0x3b8)]=0x2ee2]=_0x5549f4(0x3b8),_0x1bde1c[_0x1bde1c[_0x5549f4(0x40b)]=0x2ee3]=_0x5549f4(0x40b),_0x1bde1c[_0x1bde1c['USER_NOT_INVITED_CODE']=0x2ee4]=_0x5549f4(0x111),_0x1bde1c[_0x1bde1c['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1bde1c[_0x1bde1c['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x1bde1c[_0x1bde1c[_0x5549f4(0x270)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1bde1c[_0x1bde1c[_0x5549f4(0x3c3)]=0x32cb]=_0x5549f4(0x3c3),_0x1bde1c[_0x1bde1c[_0x5549f4(0x38d)]=-0x1]=_0x5549f4(0x38d),_0x1bde1c))(Ct||{}),X=(_0x558d86=>(_0x558d86[_0x558d86[_0x5549f4(0x292)]=0x0]='UNIVER_UNKNOWN',_0x558d86[_0x558d86['UNIVER_DOC']=0x1]=_0x5549f4(0x451),_0x558d86[_0x558d86['UNIVER_SHEET']=0x2]=_0x5549f4(0x1f3),_0x558d86[_0x558d86[_0x5549f4(0x307)]=0x3]=_0x5549f4(0x307),_0x558d86[_0x558d86[_0x5549f4(0x254)]=0x4]=_0x5549f4(0x254),_0x558d86[_0x558d86['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x558d86))(X||{}),W=(_0x39ee29=>(_0x39ee29[_0x39ee29['UNKNOWN_CMD']=0x0]=_0x5549f4(0xf0),_0x39ee29[_0x39ee29['HELLO']=0x1]=_0x5549f4(0x257),_0x39ee29[_0x39ee29[_0x5549f4(0x283)]=0x2]=_0x5549f4(0x283),_0x39ee29[_0x39ee29[_0x5549f4(0x268)]=0x3]=_0x5549f4(0x268),_0x39ee29[_0x39ee29['INGEST']=0x4]=_0x5549f4(0x3c9),_0x39ee29[_0x39ee29['HEARTBEAT']=0x5]=_0x5549f4(0x3ee),_0x39ee29[_0x39ee29['RECV']=0x6]=_0x5549f4(0x1a4),_0x39ee29[_0x39ee29[_0x5549f4(0x38d)]=-0x1]=_0x5549f4(0x38d),_0x39ee29))(W||{}),ae=(_0x3b6474=>(_0x3b6474[_0x3b6474[_0x5549f4(0x252)]=0x0]='UNKNOWN_CODE',_0x3b6474[_0x3b6474['OK']=0x1]='OK',_0x3b6474[_0x3b6474[_0x5549f4(0x328)]=0x2]=_0x5549f4(0x328),_0x3b6474[_0x3b6474[_0x5549f4(0x3c6)]=0x3e9]=_0x5549f4(0x3c6),_0x3b6474[_0x3b6474['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x3b6474[_0x3b6474[_0x5549f4(0x305)]=0x3eb]=_0x5549f4(0x305),_0x3b6474[_0x3b6474[_0x5549f4(0x155)]=0x3ec]=_0x5549f4(0x155),_0x3b6474[_0x3b6474[_0x5549f4(0x38d)]=-0x1]=_0x5549f4(0x38d),_0x3b6474))(ae||{}),Tt=(_0x216294=>(_0x216294[_0x216294['Undefined']=0x0]=_0x5549f4(0x2be),_0x216294[_0x216294[_0x5549f4(0x1c6)]=0x1]='HttpImport',_0x216294[_0x216294[_0x5549f4(0x317)]=0x2]='HttpExport',_0x216294[_0x216294[_0x5549f4(0x190)]=0x3]=_0x5549f4(0x190),_0x216294[_0x216294[_0x5549f4(0x2d4)]=0x4]=_0x5549f4(0x2d4),_0x216294[_0x216294['UserProfileImg']=0x5]=_0x5549f4(0x21b),_0x216294[_0x216294[_0x5549f4(0x38d)]=-0x1]=_0x5549f4(0x38d),_0x216294))(Tt||{});const Y=_0x5549f4(0x303),Jt={};var Q=(_0x144fc7=>(_0x144fc7[_0x5549f4(0x11e)]=_0x5549f4(0x11e),_0x144fc7['PERMISSION_DENIED']=_0x5549f4(0x2a1),_0x144fc7[_0x5549f4(0xf3)]=_0x5549f4(0xf3),_0x144fc7[_0x5549f4(0xea)]=_0x5549f4(0xea),_0x144fc7['JOIN_ROOM_FAILED']=_0x5549f4(0x445),_0x144fc7['SOCKET_FAILED_RETRY']=_0x5549f4(0x28d),_0x144fc7['SOCKET_FAILED']=_0x5549f4(0x2ab),_0x144fc7[_0x5549f4(0x201)]=_0x5549f4(0x201),_0x144fc7))(Q||{});class te{constructor(){var _0x35e202=_0x5549f4;A(this,_0x35e202(0x3ec),new j[(_0x35e202(0x295))]()),A(this,'event$',this[_0x35e202(0x3ec)][_0x35e202(0x1c1)]());}[_0x5549f4(0x3ab)](_0x18a402){var _0x4e7d4c=_0x5549f4;this[_0x4e7d4c(0x3ec)][_0x4e7d4c(0x2cb)](_0x18a402);}}const bt=a['createIdentifier'](_0x5549f4(0x2d0));function Rt(_0x5109cf){var _0x33c63b=_0x5549f4,_0x13737b,_0x35f347,_0x41f62b,_0x3d3796,_0x5574ab;const _0x1e033d=_0x5109cf[_0x33c63b(0x210)],_0x59d045=JSON[_0x33c63b(0x39a)](_0x1e033d);switch(_0x59d045[_0x33c63b(0x17d)]){case W['HEARTBEAT']:case W[_0x33c63b(0x257)]:{const _0x128d64=_0x59d045[_0x33c63b(0x42a)];return{..._0x59d045,'data':_0x128d64,'cmd':_0x59d045[_0x33c63b(0x17d)]};}case W[_0x33c63b(0x283)]:{const _0x30f756=_0x59d045[_0x33c63b(0x422)];return{..._0x59d045,'data':_0x30f756,'cmd':_0x59d045[_0x33c63b(0x17d)]};}case W['RECV']:{const _0x2aae9b=_0x59d045[_0x33c63b(0x404)];switch(_0x2aae9b[_0x33c63b(0x21f)]){case g['CollaborationEvent'][_0x33c63b(0x350)]:return{..._0x59d045,'data':{..._0x2aae9b,'data':(_0x13737b=_0x2aae9b[_0x33c63b(0x1d1)])==null?void 0x0:_0x13737b['cs']},'cmd':_0x59d045[_0x33c63b(0x17d)]};case g[_0x33c63b(0x181)]['CHANGESET_ACK']:return{..._0x59d045,'data':{..._0x2aae9b,'data':(_0x35f347=_0x2aae9b[_0x33c63b(0x44d)])==null?void 0x0:_0x35f347['cs']},'cmd':_0x59d045[_0x33c63b(0x17d)]};case g[_0x33c63b(0x181)][_0x33c63b(0x1e4)]:return{..._0x59d045,'data':{..._0x2aae9b,'data':(_0x41f62b=_0x2aae9b[_0x33c63b(0x31c)])==null?void 0x0:_0x41f62b['cs']},'cmd':_0x59d045[_0x33c63b(0x17d)]};case g['CollaborationEvent'][_0x33c63b(0x3c4)]:return{..._0x59d045,'data':{..._0x2aae9b,'data':(_0x3d3796=_0x2aae9b['csRejEvent'])==null?void 0x0:_0x3d3796['cs']},'cmd':_0x59d045[_0x33c63b(0x17d)]};case g['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x59d045,'data':{..._0x2aae9b,'data':(_0x5574ab=_0x2aae9b[_0x33c63b(0x3a4)])==null?void 0x0:_0x5574ab['cs']},'cmd':_0x59d045[_0x33c63b(0x17d)]};case g['CollaborationEvent']['UPDATE_CURSOR']:return{..._0x59d045,'data':{..._0x2aae9b,'data':_0x2aae9b[_0x33c63b(0x345)]},'cmd':_0x59d045[_0x33c63b(0x17d)]};case g['CollaborationEvent'][_0x33c63b(0x3cd)]:return{..._0x59d045,'data':{..._0x2aae9b,'data':_0x2aae9b[_0x33c63b(0x2b7)]},'cmd':_0x59d045[_0x33c63b(0x17d)]};case g[_0x33c63b(0x181)]['USERS_LEAVE']:return{..._0x59d045,'data':{..._0x2aae9b,'data':_0x2aae9b[_0x33c63b(0x23d)]},'cmd':_0x59d045[_0x33c63b(0x17d)]};case g['CollaborationEvent'][_0x33c63b(0x3aa)]:return{..._0x59d045,'data':{..._0x2aae9b,'data':_0x2aae9b[_0x33c63b(0x233)]},'cmd':_0x59d045[_0x33c63b(0x17d)]};case g[_0x33c63b(0x181)][_0x33c63b(0x173)]:case g[_0x33c63b(0x181)][_0x33c63b(0x391)]:return{..._0x59d045,'data':{..._0x2aae9b,'data':_0x2aae9b['liveShareOperation']},'cmd':_0x59d045[_0x33c63b(0x17d)]};case g[_0x33c63b(0x181)]['LIVESHARE_TERMINATE']:return{..._0x59d045,'data':{..._0x2aae9b,'data':_0x2aae9b['liveShareNewHost']},'cmd':_0x59d045[_0x33c63b(0x17d)]};case g[_0x33c63b(0x181)]['MSG_FOR_ERROR']:return{..._0x59d045,'data':_0x2aae9b,'cmd':_0x59d045['cmd']};case g[_0x33c63b(0x181)]['COMMENT_UPDATE']:return{..._0x59d045,'data':{..._0x2aae9b,'data':_0x2aae9b[_0x33c63b(0x28c)]},'cmd':_0x59d045['cmd']};case g[_0x33c63b(0x181)][_0x33c63b(0x238)]:return{..._0x59d045,'data':{..._0x2aae9b,'data':_0x2aae9b[_0x33c63b(0x38e)]},'cmd':_0x59d045[_0x33c63b(0x17d)]};case g[_0x33c63b(0x181)][_0x33c63b(0x1fb)]:return{..._0x59d045,'data':{..._0x2aae9b,'data':_0x2aae9b[_0x33c63b(0x421)]},'cmd':_0x59d045[_0x33c63b(0x17d)]};case g[_0x33c63b(0x181)][_0x33c63b(0x261)]:return{..._0x59d045,'data':{..._0x2aae9b,'data':_0x2aae9b['uniscriptRunEvent']},'cmd':_0x59d045[_0x33c63b(0x17d)]};default:return _0x59d045;}}default:return _0x59d045;}}function Ot(_0x370458){var _0x95c5db=_0x5549f4;switch(_0x370458[_0x95c5db(0x17d)]){case W[_0x95c5db(0x3ee)]:case W[_0x95c5db(0x257)]:return JSON['stringify']({'cmd':_0x370458['cmd'],'routeKey':_0x370458[_0x95c5db(0x448)]});case W[_0x95c5db(0x3c9)]:{let _0x2b9888;switch(_0x370458[_0x95c5db(0x210)][_0x95c5db(0x21f)]){case g[_0x95c5db(0x181)][_0x95c5db(0x241)]:{_0x2b9888={'eventID':g[_0x95c5db(0x181)][_0x95c5db(0x241)],'updateCursorEvent':_0x370458['data'][_0x95c5db(0x210)]};break;}case g[_0x95c5db(0x181)]['USERS_LEAVE']:{_0x2b9888={'eventID':g[_0x95c5db(0x181)][_0x95c5db(0x3da)],'leaveEvent':_0x370458[_0x95c5db(0x210)][_0x95c5db(0x210)]};break;}case g[_0x95c5db(0x181)][_0x95c5db(0x3cd)]:{_0x2b9888={'eventID':g[_0x95c5db(0x181)][_0x95c5db(0x3cd)],'joinEvent':_0x370458[_0x95c5db(0x210)][_0x95c5db(0x210)]};break;}case g[_0x95c5db(0x181)][_0x95c5db(0x3aa)]:{_0x2b9888={'eventID':g['CollaborationEvent'][_0x95c5db(0x3aa)],'liveShareNewHost':_0x370458[_0x95c5db(0x210)][_0x95c5db(0x210)]};break;}case g[_0x95c5db(0x181)]['LIVESHARE_OPERATION']:{_0x2b9888={'eventID':g[_0x95c5db(0x181)][_0x95c5db(0x391)],'liveShareOperation':_0x370458[_0x95c5db(0x210)][_0x95c5db(0x210)]};break;}case g[_0x95c5db(0x181)][_0x95c5db(0x148)]:{_0x2b9888={'eventID':g[_0x95c5db(0x181)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x370458[_0x95c5db(0x210)][_0x95c5db(0x210)]};break;}case g['CollaborationEvent'][_0x95c5db(0x40d)]:{_0x2b9888={'eventID':g['CollaborationEvent'][_0x95c5db(0x40d)],'liveShareRequestHost':_0x370458[_0x95c5db(0x210)]['data']};break;}case g[_0x95c5db(0x181)]['LIVESHARE_FETCH_OPERATIONS']:{_0x2b9888={'eventID':g[_0x95c5db(0x181)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x2b9888={'eventID':_0x370458[_0x95c5db(0x210)][_0x95c5db(0x21f)]};}return JSON[_0x95c5db(0x281)]({'cmd':_0x370458['cmd'],'routeKey':_0x370458[_0x95c5db(0x448)],'collaMsg':_0x2b9888});}case W[_0x95c5db(0x283)]:return JSON['stringify']({'cmd':_0x370458['cmd'],'routeKey':_0x370458[_0x95c5db(0x448)],'joinReq':_0x370458[_0x95c5db(0x210)]});case W['LEAVE']:return JSON['stringify']({'cmd':_0x370458[_0x95c5db(0x17d)],'routeKey':_0x370458[_0x95c5db(0x448)],'leaveReq':_0x370458['data']});default:throw new Error(_0x95c5db(0x358));}}var Xt=Object['getOwnPropertyDescriptor'],Zt=(_0xba5e17,_0xcae3f7,_0x1c6a85,_0x1d8a25)=>{var _0x402573=_0x5549f4;for(var _0x1dd402=_0x1d8a25>0x1?void 0x0:_0x1d8a25?Xt(_0xcae3f7,_0x1c6a85):_0xcae3f7,_0x5c8e93=_0xba5e17[_0x402573(0x3d5)]-0x1,_0x4d7d35;_0x5c8e93>=0x0;_0x5c8e93--)(_0x4d7d35=_0xba5e17[_0x5c8e93])&&(_0x1dd402=_0x4d7d35(_0x1dd402)||_0x1dd402);return _0x1dd402;},le=(_0x2ef279,_0x282179)=>(_0x5e45b1,_0x2cf200)=>_0x282179(_0x5e45b1,_0x2cf200,_0x2ef279);const $e=a[_0x5549f4(0x381)](_0x5549f4(0x452));function Qt(_0x3b2acc,_0xf13975,_0x32edab){var _0x4bdac1=_0x5549f4;return _0x3b2acc+'/'+_0xf13975+_0x4bdac1(0x140)+_0x32edab+_0x4bdac1(0x327);}exports[_0x5549f4(0x2da)]=class extends a['Disposable']{constructor(_0x4e4072,_0x57e438,_0x16cf41,_0x3380f9,_0x327b93){var _0x50152e=_0x5549f4;super(),this[_0x50152e(0x1f6)]=_0x4e4072,this[_0x50152e(0x13d)]=_0x57e438,this['_configService']=_0x16cf41,this['_logService']=_0x3380f9,this[_0x50152e(0x149)]=_0x327b93;}[_0x5549f4(0x272)](_0x2d0798){var _0x58094e=_0x5549f4;const _0x3b2991=this['_injector'][_0x58094e(0x297)](q['ISocketService']);if(!_0x3b2991)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x2ddd2c=_0x3b2991['createSocket'](_0x2d0798);if(!_0x2ddd2c)throw new Error(_0x58094e(0x33e));const _0x35ec8b=new a[(_0x58094e(0x3df))](),_0x168603=new j[(_0x58094e(0x295))]();_0x35ec8b[_0x58094e(0x296)](_0x2ddd2c[_0x58094e(0x14a)][_0x58094e(0x1a5)](_0x33d5e9=>_0x168603[_0x58094e(0x2cb)](_0x33d5e9))),_0x35ec8b[_0x58094e(0x296)](a['toDisposable'](()=>_0x168603['complete']()));const _0x551062=new j['Subject']();_0x35ec8b[_0x58094e(0x296)](_0x2ddd2c[_0x58094e(0x18b)][_0x58094e(0x1a5)](_0x548a9b=>_0x551062[_0x58094e(0x2cb)](_0x548a9b))),_0x35ec8b[_0x58094e(0x296)](a[_0x58094e(0x43d)](()=>_0x551062[_0x58094e(0x198)]()));const _0x456c5a=new j[(_0x58094e(0x295))]();_0x35ec8b[_0x58094e(0x296)](_0x2ddd2c[_0x58094e(0x322)][_0x58094e(0x1a5)](_0x3413de=>{const _0x5234d0=Rt(_0x3413de);_0x456c5a['next'](_0x5234d0);})),_0x35ec8b['add'](a[_0x58094e(0x43d)](()=>_0x456c5a[_0x58094e(0x198)]()));let _0x5023e6;const _0x295262=()=>{var _0x3dc1f8=_0x58094e;_0x551062[_0x3dc1f8(0x2cb)](new Event(_0x3dc1f8(0x34c))),_0x168603[_0x3dc1f8(0x2cb)](new Event(_0x3dc1f8(0x34c))),_0x5023e6[_0x3dc1f8(0x2ed)]();};return _0x5023e6={'memberID':'','close$':_0x168603[_0x58094e(0x1c1)](),'error$':_0x551062[_0x58094e(0x1c1)](),'open$':_0x2ddd2c['open$'],'message$':_0x456c5a[_0x58094e(0x1c1)](),'send':_0x487f1f=>{var _0x1845e3=_0x58094e;if(_0x487f1f[_0x1845e3(0x17d)]===W[_0x1845e3(0x3c9)]){if(_0x487f1f['data'][_0x1845e3(0x21f)]===g['CollaborationEvent'][_0x1845e3(0x30e)]){this[_0x1845e3(0x265)](_0x5023e6,_0x487f1f['data'])[_0x1845e3(0x2dc)](_0x494f69=>{var _0x5d0df3=_0x1845e3;this['_logService'][_0x5d0df3(0x348)](_0x494f69),_0x295262();});return;}if(_0x487f1f[_0x1845e3(0x210)]['eventID']===g[_0x1845e3(0x181)][_0x1845e3(0x1b2)]){const _0x17b4fc=_0x487f1f[_0x1845e3(0x210)];this['_fetchMissChangesets'](_0x17b4fc)[_0x1845e3(0x217)](_0x4f7aea=>{var _0x443ffc=_0x1845e3;_0x456c5a[_0x443ffc(0x2cb)]({'cmd':W[_0x443ffc(0x1a4)],'code':ae['OK'],'routeKey':_0x17b4fc[_0x443ffc(0x210)][_0x443ffc(0x22e)],'routeType':'','data':{'eventID':g[_0x443ffc(0x181)][_0x443ffc(0x2bb)],'data':{'changesets':_0x4f7aea}}});})[_0x1845e3(0x2dc)](_0x582edc=>{var _0x311104=_0x1845e3;this[_0x311104(0x39f)][_0x311104(0x348)](_0x582edc),_0x295262();});return;}}_0x2ddd2c['send'](Ot(_0x487f1f));},'close':()=>{var _0x2c12a5=_0x58094e;_0x2ddd2c[_0x2c12a5(0x2ed)](),_0x35ec8b[_0x2c12a5(0x33b)]();}},_0x5023e6;}async[_0x5549f4(0x265)](_0x439c44,_0xb86d0d){var _0x54df8e=_0x5549f4,_0x9cee8e,_0x25bafd;const {unitType:_0x496949,unitID:_0x4c2318,changeset:_0x34e04c}=_0xb86d0d[_0x54df8e(0x210)],_0x29456e={'unitID':_0x4c2318,'memberID':_0x439c44[_0x54df8e(0x375)],'type':_0x496949,'changeset':g['parseChangesetToProtocol'](_0x34e04c)},_0x62242d=this[_0x54df8e(0x1d9)][_0x54df8e(0x2d2)](mt),_0x1ce4cf=this['_configService']['getConfig'](Y),_0x2d51e8=Qt((_0x25bafd=(_0x9cee8e=_0x1ce4cf==null?void 0x0:_0x1ce4cf[_0x54df8e(0x124)])!=null?_0x9cee8e:_0x62242d)!=null?_0x25bafd:Kt,_0x496949,_0x4c2318);try{await this['_httpService'][_0x54df8e(0x38a)](_0x2d51e8,{'body':_0x29456e});}catch(_0x2296cd){throw this['_logService']['error'](_0x54df8e(0x209),'submit\x20changeset\x20error!'),_0x2296cd;}}async[_0x5549f4(0x259)](_0x1fd878){var _0x332fc2=_0x5549f4;const {unitID:_0x3dc3c6,from:_0x3cd914,to:_0xaa8f8,unitType:_0x1115b2}=_0x1fd878['data'];return(await this[_0x332fc2(0x149)][_0x332fc2(0x1bd)]({'metadata':void 0x0},{'unitID':_0x3dc3c6,'type':_0x1115b2,'from':_0x3cd914,'to':_0xaa8f8}))[_0x332fc2(0x2d3)];}},exports[_0x5549f4(0x2da)]=Zt([le(0x0,a['Inject'](a[_0x5549f4(0x165)])),le(0x1,a[_0x5549f4(0x3ef)](q[_0x5549f4(0x2aa)])),le(0x2,a[_0x5549f4(0x1c4)]),le(0x3,a[_0x5549f4(0x316)]),le(0x4,g['ISnapshotServerService'])],exports['CollaborationSocketService']);const ei=_0x5549f4(0xf7);function ti(_0x3c6cb9){var _0x699f67=_0x5549f4;return JSON[_0x699f67(0x281)](_0x3c6cb9)[_0x699f67(0x3d5)];}class Be{constructor(){var _0x1a0cf0=_0x5549f4;A(this,_0x1a0cf0(0x3ae),new j[(_0x1a0cf0(0x295))]()),A(this,'commentUpdate$',this[_0x1a0cf0(0x3ae)][_0x1a0cf0(0x1c1)]());}[_0x5549f4(0x3b9)](_0x2b6c80){var _0x1c4562=_0x5549f4;this['_commentUpdate$'][_0x1c4562(0x2cb)](_0x2b6c80);}}var ii=Object['getOwnPropertyDescriptor'],ni=(_0x4c3a2e,_0x2b5674,_0x3b88bd,_0x2a5193)=>{var _0x567be4=_0x5549f4;for(var _0x37681a=_0x2a5193>0x1?void 0x0:_0x2a5193?ii(_0x2b5674,_0x3b88bd):_0x2b5674,_0x1216d9=_0x4c3a2e[_0x567be4(0x3d5)]-0x1,_0x5345ac;_0x1216d9>=0x0;_0x1216d9--)(_0x5345ac=_0x4c3a2e[_0x1216d9])&&(_0x37681a=_0x5345ac(_0x37681a)||_0x37681a);return _0x37681a;},Ke=(_0x55d123,_0x4aaeed)=>(_0x41547b,_0x5ea681)=>_0x4aaeed(_0x41547b,_0x5ea681,_0x55d123);exports[_0x5549f4(0x258)]=class extends a[_0x5549f4(0x376)]{constructor(_0x5e5281,_0x3f202f){var _0x17e381=_0x5549f4;super(),A(this,_0x17e381(0x397),new Map()),A(this,_0x17e381(0x3b3),new j[(_0x17e381(0x295))]()),(this[_0x17e381(0x24d)]=_0x5e5281,this[_0x17e381(0x150)]=_0x3f202f,this['disposeWithMe'](j[_0x17e381(0x399)](this[_0x17e381(0x24d)]['getTypeOfUnitDisposed$'](a[_0x17e381(0x3b1)][_0x17e381(0x1f3)])['pipe'](V[_0x17e381(0x1df)](_0x11e160=>_0x11e160[_0x17e381(0x279)]())),this[_0x17e381(0x24d)][_0x17e381(0x35c)](a['UniverInstanceType'][_0x17e381(0x451)])[_0x17e381(0x143)](V[_0x17e381(0x1df)](_0x149573=>_0x149573['getUnitId']())),this[_0x17e381(0x24d)][_0x17e381(0x35c)](a[_0x17e381(0x3b1)][_0x17e381(0x307)])[_0x17e381(0x143)](V[_0x17e381(0x1df)](_0x174790=>_0x174790['getUnitId']())))[_0x17e381(0x1a5)](_0x4d6241=>this[_0x17e381(0x464)](_0x4d6241))));}[_0x5549f4(0x365)](_0x3b2a33){var _0xb0c51=_0x5549f4;return this[_0xb0c51(0x397)][_0xb0c51(0x109)](_0x3b2a33)?j['of'](this[_0xb0c51(0x397)][_0xb0c51(0x297)](_0x3b2a33)):this[_0xb0c51(0x3b3)]['pipe'](V[_0xb0c51(0x1df)](_0x132383=>{var _0x55542f=_0xb0c51;if(_0x132383===_0x3b2a33)return this['_roomMembers'][_0x55542f(0x297)](_0x132383);}));}[_0x5549f4(0x1d7)](_0x5d531d){var _0x4cc007=_0x5549f4;this[_0x4cc007(0x150)][_0x4cc007(0x1d7)](_0x5d531d);}['getCurrentUser'](){var _0x25e182=_0x5549f4;return this['_userManagerService'][_0x25e182(0x19d)]();}[_0x5549f4(0x3f9)](_0x309deb,_0x5d725a){var _0x406bc1=_0x5549f4;let _0x1a478f=this['_roomMembers'][_0x406bc1(0x297)](_0x309deb);_0x1a478f||(_0x1a478f=new ri(),this[_0x406bc1(0x397)]['set'](_0x309deb,_0x1a478f),this[_0x406bc1(0x3b3)][_0x406bc1(0x2cb)](_0x309deb)),_0x1a478f['updateMember'](_0x5d725a);}['removeMember'](_0x46ae57,_0x3d3fd9){var _0x3baac4=_0x5549f4;const _0x20433e=this[_0x3baac4(0x397)][_0x3baac4(0x297)](_0x46ae57);_0x20433e&&_0x20433e['removeMember'](_0x3d3fd9);}[_0x5549f4(0x1e1)](_0x5548e9){var _0x2720bb=_0x5549f4;return this[_0x2720bb(0x397)][_0x2720bb(0x297)](_0x5548e9);}[_0x5549f4(0x344)](_0x3b4ef3,_0x2e6eed){var _0x4b3219=_0x5549f4;const _0x5b8558=this[_0x4b3219(0x397)]['get'](_0x3b4ef3);if(_0x5b8558)return _0x5b8558[_0x4b3219(0x344)](_0x2e6eed);}[_0x5549f4(0x464)](_0x3fc4fd){var _0x318019=_0x5549f4;const _0x48a559=this[_0x318019(0x397)][_0x318019(0x297)](_0x3fc4fd);_0x48a559&&(_0x48a559[_0x318019(0x33b)](),this['_roomMembers'][_0x318019(0x39e)](_0x3fc4fd));}[_0x5549f4(0x33b)](){var _0x5b7a4d=_0x5549f4;this['_roomMembers']['forEach'](_0x44d58b=>_0x44d58b['dispose']()),this[_0x5b7a4d(0x397)][_0x5b7a4d(0x2e0)](),this['_roomCreated$'][_0x5b7a4d(0x198)]();}},exports[_0x5549f4(0x258)]=ni([Ke(0x0,a[_0x5549f4(0x38f)]),Ke(0x1,a['Inject'](a['UserManagerService']))],exports[_0x5549f4(0x258)]);class ri extends a[_0x5549f4(0x376)]{constructor(){var _0x5d5a3f=_0x5549f4;super(...arguments),A(this,'_members',new Map()),A(this,'_members$',new j[(_0x5d5a3f(0x2f2))](this[_0x5d5a3f(0x251)])),A(this,_0x5d5a3f(0x11c),this[_0x5d5a3f(0x1c9)][_0x5d5a3f(0x1c1)]());}[_0x5549f4(0x33b)](){var _0x78c022=_0x5549f4;this[_0x78c022(0x251)][_0x78c022(0x2e0)]();}[_0x5549f4(0x3f9)](_0xfa4712){var _0x1aa29d=_0x5549f4;this[_0x1aa29d(0x251)][_0x1aa29d(0x45d)](_0xfa4712[_0x1aa29d(0x375)],_0xfa4712),this[_0x1aa29d(0x36a)]();}[_0x5549f4(0x160)](_0x13b2c4){var _0x1a0514=_0x5549f4;this['_members'][_0x1a0514(0x39e)](_0x13b2c4);}[_0x5549f4(0x344)](_0x8bbadd){var _0x2250ea=_0x5549f4;return this[_0x2250ea(0x251)][_0x2250ea(0x297)](_0x8bbadd);}[_0x5549f4(0x211)](){var _0x126fae=_0x5549f4;return Array[_0x126fae(0x24e)](this[_0x126fae(0x251)][_0x126fae(0x1a6)]());}[_0x5549f4(0x36a)](){var _0x1ca51c=_0x5549f4;this[_0x1ca51c(0x1c9)][_0x1ca51c(0x2cb)](this[_0x1ca51c(0x251)]);}}var si=Object['getOwnPropertyDescriptor'],oi=(_0xffd9c4,_0x12b3ec,_0x3eb269,_0xa26bac)=>{var _0x80128f=_0x5549f4;for(var _0xa85471=_0xa26bac>0x1?void 0x0:_0xa26bac?si(_0x12b3ec,_0x3eb269):_0x12b3ec,_0x2a0c6a=_0xffd9c4[_0x80128f(0x3d5)]-0x1,_0x364713;_0x2a0c6a>=0x0;_0x2a0c6a--)(_0x364713=_0xffd9c4[_0x2a0c6a])&&(_0xa85471=_0x364713(_0xa85471)||_0xa85471);return _0xa85471;},oe=(_0x26492a,_0x49338d)=>(_0x144bb3,_0x42cca0)=>_0x49338d(_0x144bb3,_0x42cca0,_0x26492a),se=(_0x52b39f=>(_0x52b39f[_0x52b39f[_0x5549f4(0x1b6)]=0x0]=_0x5549f4(0x1b6),_0x52b39f[_0x52b39f[_0x5549f4(0x2a0)]=0x1]='JOINING',_0x52b39f[_0x52b39f[_0x5549f4(0x37a)]=0x2]='OFFLINE',_0x52b39f[_0x52b39f[_0x5549f4(0xe7)]=0x3]=_0x5549f4(0xe7),_0x52b39f))(se||{});const Ye={[ae[_0x5549f4(0x328)]]:_0x5549f4(0x36b),[ae['JOIN_ROOM_FULL']]:_0x5549f4(0x101),[ae[_0x5549f4(0x380)]]:_0x5549f4(0x2b8),[ae[_0x5549f4(0x305)]]:'session.room-permission-denied',[ae['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x5549f4(0x401)};exports[_0x5549f4(0x230)]=class extends a['RxDisposable']{constructor(_0xadf03f,_0x37fc97,_0x151c02,_0x15f739,_0x50782a,_0x54ffbf,_0x38871f,_0x4a5c6c,_0x181b96){var _0x44a3be=_0x5549f4;super(),A(this,_0x44a3be(0x3cf),new j[(_0x44a3be(0x2f2))](0x0)),A(this,_0x44a3be(0x3d7),this[_0x44a3be(0x3cf)][_0x44a3be(0x1c1)]()),A(this,_0x44a3be(0x3ec),new j[(_0x44a3be(0x295))]()),A(this,'event$',this[_0x44a3be(0x3ec)][_0x44a3be(0x1c1)]()),A(this,_0x44a3be(0x35d)),A(this,_0x44a3be(0x2bf)),A(this,_0x44a3be(0x180)),A(this,_0x44a3be(0x185),!0x1),A(this,'_telemetryInfo',null),(this[_0x44a3be(0x3b6)]=_0xadf03f,this[_0x44a3be(0x39f)]=_0x151c02,this[_0x44a3be(0x1d9)]=_0x15f739,this[_0x44a3be(0x42c)]=_0x50782a,this[_0x44a3be(0x2cc)]=_0x54ffbf,this['_commentService']=_0x38871f,this['_collaborationUIEventService']=_0x4a5c6c,this[_0x44a3be(0x413)]=_0x181b96,this[_0x44a3be(0x185)]=!!this[_0x44a3be(0x413)],_0x37fc97['pipe'](j[_0x44a3be(0x29a)](this[_0x44a3be(0x1ec)]))[_0x44a3be(0x1a5)](_0x3b0f0a=>{var _0x3efc0d=_0x44a3be,_0x426e18;typeof _0x3b0f0a>'u'||(this[_0x3efc0d(0x35d)]=_0x3b0f0a,_0x3b0f0a?(this[_0x3efc0d(0x1dc)](_0x3b0f0a),this[_0x3efc0d(0x2bf)]=_0x3b0f0a[_0x3efc0d(0x322)][_0x3efc0d(0x1a5)](_0x36ab8d=>{_0x36ab8d['routeKey']===this['_unitID']&&this['_onCombEvent'](_0x36ab8d);})):(this[_0x3efc0d(0x18e)](),this[_0x3efc0d(0x3cf)][_0x3efc0d(0x2cb)](0x2),(_0x426e18=this['_socketMessageSubscription'])==null||_0x426e18[_0x3efc0d(0x152)](),this[_0x3efc0d(0x2bf)]=null));}));}get[_0x5549f4(0x335)](){var _0x1fd2ec=_0x5549f4;return this['_sessionStatus$'][_0x1fd2ec(0x400)]();}[_0x5549f4(0xe6)](){var _0x18d12c=_0x5549f4,_0x52a37c,_0x4edabe;return(_0x4edabe=(_0x52a37c=this['_socket'])==null?void 0x0:_0x52a37c[_0x18d12c(0x375)])!=null?_0x4edabe:null;}[_0x5549f4(0x33b)](){var _0x247354=_0x5549f4;super[_0x247354(0x33b)](),this[_0x247354(0x1ec)][_0x247354(0x2cb)](),this[_0x247354(0x1ec)][_0x247354(0x198)]();}['close'](){var _0x5eb9d5=_0x5549f4,_0x1c8ac2,_0xf314b9;this[_0x5eb9d5(0x18e)](),(_0x1c8ac2=this[_0x5eb9d5(0x35d)])==null||_0x1c8ac2['send']({'cmd':W[_0x5eb9d5(0x268)],'data':{'roomID':this[_0x5eb9d5(0x3b6)]}}),(_0xf314b9=this[_0x5eb9d5(0x35d)])==null||_0xf314b9[_0x5eb9d5(0x2ed)](),this[_0x5eb9d5(0x3ec)][_0x5eb9d5(0x198)](),this[_0x5eb9d5(0x3cf)][_0x5eb9d5(0x198)](),this[_0x5eb9d5(0x33b)]();}[_0x5549f4(0x113)](_0x462f95){var _0x2ea121=_0x5549f4;_0x462f95[_0x2ea121(0x17d)]===W[_0x2ea121(0x283)]?this[_0x2ea121(0x18a)](_0x462f95):_0x462f95[_0x2ea121(0x17d)]===W[_0x2ea121(0x1a4)]&&this[_0x2ea121(0x1bc)](_0x462f95);}['_joinRoom'](_0x3afa2a){var _0x115f34=_0x5549f4;this['_sessionStatus$'][_0x115f34(0x2cb)](0x1),_0x3afa2a[_0x115f34(0x122)]({'cmd':W[_0x115f34(0x283)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x115f34(0x3b6)]}]}});}[_0x5549f4(0x18a)](_0x306b05){var _0x27fc9c=_0x5549f4,_0x394d17;if(_0x306b05['code']in Ye){this[_0x27fc9c(0x360)][_0x27fc9c(0x3ab)]({'id':Q[_0x27fc9c(0x445)],'data':Ye[_0x306b05[_0x27fc9c(0x202)]]}),this[_0x27fc9c(0x3cf)]['next'](0x2);return;}this[_0x27fc9c(0x3cf)][_0x27fc9c(0x2cb)](0x3);const _0x2dc2e8=(_0x394d17=_0x306b05[_0x27fc9c(0x210)][_0x27fc9c(0x2e1)][this['_unitID']])==null?void 0x0:_0x394d17[_0x27fc9c(0x1af)];_0x2dc2e8&&_0x2dc2e8[_0x27fc9c(0x11a)](_0x5a0bb4=>this[_0x27fc9c(0x2cc)]['updateMember'](this[_0x27fc9c(0x3b6)],_0x5a0bb4));}[_0x5549f4(0x1bc)](_0x1bcd29){var _0x272749=_0x5549f4;try{const _0x3c6bcf=_0x1bcd29[_0x272749(0x210)];switch(_0x3c6bcf[_0x272749(0x21f)]){case g['CollaborationEvent'][_0x272749(0x3cd)]:this['_onUserJoin'](_0x3c6bcf),this[_0x272749(0x3ec)]['next'](_0x3c6bcf);break;case g[_0x272749(0x181)][_0x272749(0x3da)]:this[_0x272749(0x159)](_0x3c6bcf),this[_0x272749(0x3ec)][_0x272749(0x2cb)](_0x3c6bcf);break;case g['CollaborationEvent'][_0x272749(0x37c)]:case g[_0x272749(0x181)][_0x272749(0x324)]:this[_0x272749(0x454)](),this[_0x272749(0x3fe)](),this[_0x272749(0x3ec)][_0x272749(0x2cb)](_0x3c6bcf);break;case g[_0x272749(0x181)][_0x272749(0x398)]:this[_0x272749(0x39f)][_0x272749(0x348)](_0x272749(0x20b)+JSON['stringify'](_0x3c6bcf)),this[_0x272749(0x3ec)][_0x272749(0x2cb)](_0x3c6bcf);break;case g[_0x272749(0x181)][_0x272749(0x450)]:this[_0x272749(0xfa)][_0x272749(0x3b9)](_0x3c6bcf[_0x272749(0x210)]),this[_0x272749(0x3ec)][_0x272749(0x2cb)](_0x3c6bcf);break;default:this['_event$'][_0x272749(0x2cb)](_0x3c6bcf);}}catch(_0x494bfb){this[_0x272749(0x39f)][_0x272749(0x348)](_0x494bfb,_0x1bcd29);}}[_0x5549f4(0x2e9)](_0x132ffc){var _0x2309c9=_0x5549f4;this[_0x2309c9(0x2cc)][_0x2309c9(0x3f9)](this[_0x2309c9(0x3b6)],_0x132ffc[_0x2309c9(0x210)]);}[_0x5549f4(0x159)](_0x30a822){var _0x1f1128=_0x5549f4;this[_0x1f1128(0x2cc)][_0x1f1128(0x160)](this[_0x1f1128(0x3b6)],_0x30a822[_0x1f1128(0x210)][_0x1f1128(0x375)]);}async['send'](_0x3281e6,_0x2550d0){var _0x38a0ae=_0x5549f4;if(this['sessionStatus']!==0x3||!this[_0x38a0ae(0x35d)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x3281e6[_0x38a0ae(0x21f)]===g[_0x38a0ae(0x181)][_0x38a0ae(0x30e)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x38a0ae(0x1fe)](_0x3281e6)),this['_socket']['send']({'cmd':W[_0x38a0ae(0x3c9)],'routeKey':_0x2550d0,'routeType':'','data':_0x3281e6});}catch(_0x2ad2d2){this[_0x38a0ae(0x39f)][_0x38a0ae(0x348)](_0x2ad2d2);}}[_0x5549f4(0x462)](){var _0x4bf590=_0x5549f4,_0x487c26;this[_0x4bf590(0x180)]=setTimeout(()=>{var _0x5283e2=_0x4bf590;this['_collaborationTimeoutTimer']=null,this[_0x5283e2(0x360)][_0x5283e2(0x3ab)]({'id':Q['SUBMIT_CHANGESET_TIMEOUT']});},(_0x487c26=this[_0x4bf590(0x1d9)]['getConfig'](je))!=null?_0x487c26:gt);}[_0x5549f4(0x3fe)](){var _0x33a9c6=_0x5549f4;this[_0x33a9c6(0x180)]&&(clearTimeout(this[_0x33a9c6(0x180)]),this[_0x33a9c6(0x180)]=null);}[_0x5549f4(0x1fe)](_0xa69337){var _0x3f93d7=_0x5549f4;if(!this[_0x3f93d7(0x185)])return;const {data:_0x5de270}=_0xa69337,{unitID:_0x1cd707,changeset:_0x2aa05e}=_0x5de270,{mutations:_0x341242,type:_0x7f805f}=_0x2aa05e;this[_0x3f93d7(0x3dc)]={'unitId':_0x1cd707,'type':_0x7f805f,'startTime':performance[_0x3f93d7(0x383)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x341242)};}[_0x5549f4(0x454)](){var _0x4667ff=_0x5549f4;if(this[_0x4667ff(0x185)]){if(!this[_0x4667ff(0x3dc)]){this['_logService']['error']('[CollaborationSession]',_0x4667ff(0x288));return;}this[_0x4667ff(0x3dc)]['stopTime']=performance[_0x4667ff(0x383)](),this[_0x4667ff(0x3dc)][_0x4667ff(0x262)]=this[_0x4667ff(0x3dc)][_0x4667ff(0x332)]-this[_0x4667ff(0x3dc)]['startTime'],this[_0x4667ff(0x413)][_0x4667ff(0x3e9)](ei,this[_0x4667ff(0x3dc)]),this[_0x4667ff(0x3dc)]=null;}}[_0x5549f4(0x18e)](){var _0x58ab6a=_0x5549f4;this[_0x58ab6a(0x3dc)]=null;}},exports['CollaborationSession']=oi([oe(0x2,a[_0x5549f4(0x316)]),oe(0x3,a[_0x5549f4(0x1c4)]),oe(0x4,a[_0x5549f4(0x3ef)](a[_0x5549f4(0x2c3)])),oe(0x5,a[_0x5549f4(0x3ef)](exports['MemberService'])),oe(0x6,a[_0x5549f4(0x3ef)](Be)),oe(0x7,a[_0x5549f4(0x3ef)](te)),oe(0x8,a['Optional'](Mt['ITelemetryService']))],exports[_0x5549f4(0x230)]);var ai=Object[_0x5549f4(0x3db)],ci=(_0x53b322,_0xe2aa78,_0x26e0f0,_0xcc16c1)=>{for(var _0x14ea10=_0xcc16c1>0x1?void 0x0:_0xcc16c1?ai(_0xe2aa78,_0x26e0f0):_0xe2aa78,_0x287f12=_0x53b322['length']-0x1,_0x4fe603;_0x287f12>=0x0;_0x287f12--)(_0x4fe603=_0x53b322[_0x287f12])&&(_0x14ea10=_0x4fe603(_0x14ea10)||_0x14ea10);return _0x14ea10;},_e=(_0x23aadd,_0x5f0fcf)=>(_0xd3e6a1,_0x5ed914)=>_0x5f0fcf(_0xd3e6a1,_0x5ed914,_0x23aadd);exports[_0x5549f4(0x374)]=class extends a[_0x5549f4(0x376)]{constructor(_0x3b94ee,_0x570f05,_0x35fe56,_0xc10fe1,_0x864c57,_0x1281c5){var _0x1d05b2=_0x5549f4;super(),A(this,_0x1d05b2(0x434),new j[(_0x1d05b2(0x2f2))](void 0x0)),A(this,_0x1d05b2(0x418),this[_0x1d05b2(0x434)]['asObservable']()),A(this,'_candidateSocket',null),A(this,_0x1d05b2(0x2a8),new Map()),A(this,_0x1d05b2(0x16b),new j[(_0x1d05b2(0x2f2))](se[_0x1d05b2(0x1b6)])),A(this,_0x1d05b2(0x2c5),this[_0x1d05b2(0x16b)][_0x1d05b2(0x1c1)]()),A(this,_0x1d05b2(0x182),!0x1),A(this,_0x1d05b2(0x2c9)),A(this,_0x1d05b2(0x205),0x0),A(this,_0x1d05b2(0x15c)),A(this,'_timeoutTimer'),(this['_injector']=_0x3b94ee,this['_logService']=_0x570f05,this['_configService']=_0x35fe56,this['_socketService']=_0xc10fe1,this[_0x1d05b2(0x360)]=_0x864c57,this['_networkConditionService']=_0x1281c5,this[_0x1d05b2(0x27d)]());}get[_0x5549f4(0x35d)](){var _0x12840b=_0x5549f4;return this['_socket$'][_0x12840b(0x400)]();}[_0x5549f4(0x27d)](){var _0x50a9b6=_0x5549f4;this[_0x50a9b6(0x466)]&&this[_0x50a9b6(0x406)](this[_0x50a9b6(0x466)]['online$']['subscribe'](_0x3717d3=>{var _0x2d1e60=_0x50a9b6;_0x3717d3&&!this[_0x2d1e60(0x35d)]&&this['reconnect'](),_0x3717d3||this[_0x2d1e60(0x177)]();}));}[_0x5549f4(0x33b)](){var _0x55085a=_0x5549f4;super[_0x55085a(0x33b)](),this[_0x55085a(0x433)](),this['_clearTimeoutTimer'](),this[_0x55085a(0x30c)](),this[_0x55085a(0x2a8)][_0x55085a(0x11a)](_0x2e8dd3=>_0x2e8dd3[_0x55085a(0x33b)]()),this[_0x55085a(0x2a8)][_0x55085a(0x2e0)](),this[_0x55085a(0x16b)][_0x55085a(0x198)]();}async['requireSession'](_0x3777ed){var _0x4d9448=_0x5549f4;if(this[_0x4d9448(0x2a8)][_0x4d9448(0x109)](_0x3777ed))return this[_0x4d9448(0x2a8)][_0x4d9448(0x297)](_0x3777ed);this[_0x4d9448(0x43f)]();const _0x54acfb=this[_0x4d9448(0x1f6)][_0x4d9448(0xff)](exports[_0x4d9448(0x230)],_0x3777ed,this[_0x4d9448(0x434)][_0x4d9448(0x1c1)]());return this[_0x4d9448(0x2a8)][_0x4d9448(0x45d)](_0x3777ed,_0x54acfb),_0x54acfb;}[_0x5549f4(0x2e4)](_0x366885){var _0x295152=_0x5549f4,_0x2fad2a;const _0x491bb7=this['_sessions']['get'](_0x366885);_0x491bb7&&(this[_0x295152(0x2a8)][_0x295152(0x39e)](_0x366885),_0x491bb7[_0x295152(0x2ed)]()),this[_0x295152(0x2a8)][_0x295152(0x38b)]||(_0x2fad2a=this[_0x295152(0x35d)])==null||_0x2fad2a[_0x295152(0x2ed)]();}['reconnect'](){var _0x161df9=_0x5549f4;this['_retryCount']=0x0,this['_clearRetryConnectingTimer'](),this[_0x161df9(0x28b)]();}['_clearRetryConnectingTimer'](){var _0x47eaad=_0x5549f4;this[_0x47eaad(0x2c9)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x47eaad(0x2c9)]=null);}async[_0x5549f4(0x432)](){var _0x28102d=_0x5549f4,_0x14ca85,_0x2b65ce;const _0x3db24f=this['_configService'][_0x28102d(0x2d2)](St),_0x27cc1e=this[_0x28102d(0x1d9)][_0x28102d(0x2d2)](Y),_0x44b310=(_0x2b65ce=(_0x14ca85=_0x27cc1e==null?void 0x0:_0x27cc1e['collabWebSocketUrl'])!=null?_0x14ca85:_0x3db24f)!=null?_0x2b65ce:ft,_0x30c69b=await this[_0x28102d(0x107)]['createSocket'](_0x44b310);return this[_0x28102d(0x32e)]=_0x30c69b,_0x30c69b;}async[_0x5549f4(0x43f)](){var _0x55fae5=_0x5549f4,_0x5ee33d,_0x21e6ef;try{const _0x554025=(_0x21e6ef=(_0x5ee33d=this[_0x55fae5(0x35d)])!=null?_0x5ee33d:this[_0x55fae5(0x32e)])!=null?_0x21e6ef:await this[_0x55fae5(0x432)]();if(_0x554025){const _0x192762=_0x554025[_0x55fae5(0x122)];_0x554025[_0x55fae5(0x122)]=_0x432019=>(this[_0x55fae5(0x402)](),_0x192762[_0x55fae5(0x10f)](_0x554025,[_0x432019])),_0x554025[_0x55fae5(0x322)]['subscribe'](_0xbc63=>this[_0x55fae5(0x2f8)](_0x554025,_0xbc63)),_0x554025[_0x55fae5(0x18b)][_0x55fae5(0x143)](V[_0x55fae5(0x1c3)](0x1))[_0x55fae5(0x1a5)](_0x479f3c=>this[_0x55fae5(0x39f)][_0x55fae5(0x348)]('[CollaborationSessionService]:\x20socket\x20error',_0x479f3c)),_0x554025[_0x55fae5(0x11b)][_0x55fae5(0x143)](V[_0x55fae5(0x1c3)](0x1))[_0x55fae5(0x1a5)](()=>{this['_onConnectionOpen'](_0x554025);}),_0x554025[_0x55fae5(0x14a)][_0x55fae5(0x143)](V[_0x55fae5(0x1c3)](0x1))['subscribe'](_0x5a173d=>{var _0x9d4545=_0x55fae5;this['_logService']['debug']('[CollaborationSessionService]',_0x9d4545(0x435),_0x5a173d),this[_0x9d4545(0x169)]();});}}catch(_0x45de67){this['_logService']['error'](_0x45de67),this[_0x55fae5(0x169)]();}}[_0x5549f4(0x1d0)](_0x7e092c){var _0x48b96d=_0x5549f4;this[_0x48b96d(0x39f)][_0x48b96d(0x1f0)](_0x48b96d(0x21d),'socket\x20open.'),_0x7e092c['send']({'cmd':W[_0x48b96d(0x257)]}),this[_0x48b96d(0x402)]();}[_0x5549f4(0x177)](){var _0x4abc71=_0x5549f4;this[_0x4abc71(0x182)]=!0x1,this[_0x4abc71(0x32e)]=null,this[_0x4abc71(0x16b)][_0x4abc71(0x2cb)](se[_0x4abc71(0x37a)]),this[_0x4abc71(0x434)][_0x4abc71(0x2cb)](null),this['_clearTimeoutTimer'](),this[_0x4abc71(0x30c)]();}[_0x5549f4(0x169)](){var _0x203c61=_0x5549f4,_0x415968;this['_onOffline'](),this['_retryCount']<((_0x415968=this[_0x203c61(0x1d9)][_0x203c61(0x2d2)](It))!=null?_0x415968:Vt)?(this[_0x203c61(0x360)]['emitEvent']({'id':Q[_0x203c61(0x28d)]}),this['_tryReconnect']()):this[_0x203c61(0x360)]['emitEvent']({'id':Q[_0x203c61(0x2ab)]});}[_0x5549f4(0x28b)](){var _0x5c257a=_0x5549f4,_0x5a0a06;const _0x29dc2b=this[_0x5c257a(0x205)],_0x1fe56b=this['_configService'][_0x5c257a(0x2d2)](Y),_0x386435=_0x29dc2b===0x0?0x0:((_0x5a0a06=_0x1fe56b==null?void 0x0:_0x1fe56b[_0x5c257a(0x1cb)])!=null?_0x5a0a06:Ft)*0x2**_0x29dc2b;this[_0x5c257a(0x2c9)]=setTimeout(()=>{var _0x129f98=_0x5c257a;clearTimeout(this[_0x129f98(0x2c9)]),this[_0x129f98(0x2c9)]=null,this[_0x129f98(0x43f)]();},_0x386435),this[_0x5c257a(0x205)]+=0x1;}[_0x5549f4(0x2f8)](_0x5e9e53,_0x24da76){var _0x49be4a=_0x5549f4;const {cmd:_0x11e1b7}=_0x24da76;_0x11e1b7===W[_0x49be4a(0x257)]&&!this['_socketReady']&&(_0x5e9e53['memberID']=_0x24da76['data'][_0x49be4a(0x375)],this[_0x49be4a(0x434)][_0x49be4a(0x2cb)](_0x5e9e53),this[_0x49be4a(0x16b)]['next'](se[_0x49be4a(0xe7)]),this[_0x49be4a(0x182)]=!0x0,this[_0x49be4a(0x32e)]=null),_0x11e1b7===W[_0x49be4a(0x3ee)]&&this[_0x49be4a(0x2cf)](),this[_0x49be4a(0x402)]();}['_rescheduleHeartbeat'](){var _0x20ac59=_0x5549f4,_0x4595ff;this[_0x20ac59(0x30c)](),this[_0x20ac59(0x15c)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x4595ff=this[_0x20ac59(0x1d9)]['getConfig'](pt))!=null?_0x4595ff:Bt);}[_0x5549f4(0x2af)](){var _0x542388=_0x5549f4;this[_0x542388(0x35d)]['send']({'cmd':W[_0x542388(0x3ee)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0x23db46=_0x5549f4,_0x3a6696;this[_0x23db46(0x3b0)]=setTimeout(()=>this[_0x23db46(0x169)](),(_0x3a6696=this[_0x23db46(0x1d9)][_0x23db46(0x2d2)](je))!=null?_0x3a6696:gt);}[_0x5549f4(0x30c)](){var _0xf4f141=_0x5549f4;this[_0xf4f141(0x15c)]!=null&&(clearTimeout(this[_0xf4f141(0x15c)]),this[_0xf4f141(0x15c)]=null);}[_0x5549f4(0x2cf)](){var _0x3639d1=_0x5549f4;this[_0x3639d1(0x3b0)]!=null&&(clearTimeout(this[_0x3639d1(0x3b0)]),this[_0x3639d1(0x3b0)]=null);}},exports['CollaborationSessionService']=ci([_e(0x0,a[_0x5549f4(0x3ef)](a['Injector'])),_e(0x1,a[_0x5549f4(0x316)]),_e(0x2,a[_0x5549f4(0x1c4)]),_e(0x3,$e),_e(0x4,a[_0x5549f4(0x3ef)](te)),_e(0x5,a[_0x5549f4(0x32f)](bt))],exports[_0x5549f4(0x374)]);const G=[];for(let n=0x0;n<0x100;++n)G[_0x5549f4(0x40f)]((n+0x100)[_0x5549f4(0x2b9)](0x10)[_0x5549f4(0x3a6)](0x1));function hi(_0x55ebec,_0x568a2a=0x0){return(G[_0x55ebec[_0x568a2a+0x0]]+G[_0x55ebec[_0x568a2a+0x1]]+G[_0x55ebec[_0x568a2a+0x2]]+G[_0x55ebec[_0x568a2a+0x3]]+'-'+G[_0x55ebec[_0x568a2a+0x4]]+G[_0x55ebec[_0x568a2a+0x5]]+'-'+G[_0x55ebec[_0x568a2a+0x6]]+G[_0x55ebec[_0x568a2a+0x7]]+'-'+G[_0x55ebec[_0x568a2a+0x8]]+G[_0x55ebec[_0x568a2a+0x9]]+'-'+G[_0x55ebec[_0x568a2a+0xa]]+G[_0x55ebec[_0x568a2a+0xb]]+G[_0x55ebec[_0x568a2a+0xc]]+G[_0x55ebec[_0x568a2a+0xd]]+G[_0x55ebec[_0x568a2a+0xe]]+G[_0x55ebec[_0x568a2a+0xf]])['toLowerCase']();}let Ue;const _i=new Uint8Array(0x10);function li(){var _0x481365=_0x5549f4;if(!Ue){if(typeof crypto>'u'||!crypto[_0x481365(0x3ac)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Ue=crypto[_0x481365(0x3ac)]['bind'](crypto);}return Ue(_i);}const ui=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x5549f4(0x458)][_0x5549f4(0x3e5)](crypto),qe={'randomUUID':ui};function di(_0x46785b,_0x4dbf18,_0x1a186c){var _0x52a56e=_0x5549f4,_0x9fd465,_0x5abe92,_0x75dd85;if(qe[_0x52a56e(0x458)]&&!_0x46785b)return qe[_0x52a56e(0x458)]();_0x46785b=_0x46785b||{};const _0x1daa21=(_0x75dd85=(_0x5abe92=_0x46785b[_0x52a56e(0x43b)])!=null?_0x5abe92:(_0x9fd465=_0x46785b[_0x52a56e(0x457)])==null?void 0x0:_0x9fd465[_0x52a56e(0x282)](_0x46785b))!=null?_0x75dd85:li();if(_0x1daa21['length']<0x10)throw new Error(_0x52a56e(0x2fc));return _0x1daa21[0x6]=_0x1daa21[0x6]&0xf|0x40,_0x1daa21[0x8]=_0x1daa21[0x8]&0x3f|0x80,hi(_0x1daa21);}const z=a[_0x5549f4(0x381)](_0x5549f4(0x3d4));function vi(_0x9c115e){var _0x153a3a=_0x5549f4;return _0x153a3a(0x147)+_0x9c115e;}var Si=Object[_0x5549f4(0x3db)],fi=(_0x133635,_0x531c1b,_0x25cae4,_0x299022)=>{for(var _0x12a9fc=_0x299022>0x1?void 0x0:_0x299022?Si(_0x531c1b,_0x25cae4):_0x531c1b,_0x2ab369=_0x133635['length']-0x1,_0x55d9ba;_0x2ab369>=0x0;_0x2ab369--)(_0x55d9ba=_0x133635[_0x2ab369])&&(_0x12a9fc=_0x55d9ba(_0x12a9fc)||_0x12a9fc);return _0x12a9fc;},Ae=(_0x472d75,_0x26b11c)=>(_0x5b4bb9,_0x278fcf)=>_0x26b11c(_0x5b4bb9,_0x278fcf,_0x472d75);function pi(_0x5dff03){var _0x3d8388=_0x5549f4;const {unitID:_0x3d4fd6,mutations:_0x383bac}=_0x5dff03;return{'unitId':_0x3d4fd6,'subUnitId':_0x383bac[0x0][_0x3d8388(0x442)][_0x3d8388(0x19e)]};}exports[_0x5549f4(0x3e6)]=class{constructor(_0x50c56e,_0x556b18,_0xd0810b){var _0x281dd4=_0x5549f4;this[_0x281dd4(0x1f6)]=_0x50c56e,this[_0x281dd4(0x27e)]=_0x556b18,this[_0x281dd4(0x349)]=_0xd0810b;}[_0x5549f4(0x15e)](_0x2cb782){var _0x2d986d=_0x5549f4,_0x40ca36,_0x19af7a,_0x430602,_0x153e74;const _0x265095=this['_injector'][_0x2d986d(0x297)](Z[_0x2d986d(0x41b)]),{unitId:_0x123d79,subUnitId:_0x49a995}=pi(_0x2cb782),_0x540aee=_0x265095==null?void 0x0:_0x265095[_0x2d986d(0xfe)](_0x123d79)['getCurrentSelections'](),_0x290f44=(_0x19af7a=(_0x40ca36=this['_instanceService'][_0x2d986d(0x310)](_0x123d79))==null?void 0x0:_0x40ca36[_0x2d986d(0x115)]())==null?void 0x0:_0x19af7a['getSheetId']();if(_0x540aee[_0x2d986d(0x3d5)]===0x0||!_0x123d79||!_0x49a995)return;const _0x511021=[{'id':Z[_0x2d986d(0x447)]['id'],'params':{'unitId':_0x123d79,'subUnitId':_0x290f44,'selections':a[_0x2d986d(0x1e6)][_0x2d986d(0x285)](_0x540aee)}}],_0x3ff452=this[_0x2d986d(0x27e)][_0x2d986d(0x129)](_0x2cb782,_0x511021);if(!g[_0x2d986d(0x3d6)](_0x3ff452))throw _0x3ff452[_0x2d986d(0x348)];const _0x595f60=(_0x153e74=(_0x430602=_0x3ff452[_0x2d986d(0x24b)][0x0])==null?void 0x0:_0x430602['params'])==null?void 0x0:_0x153e74[_0x2d986d(0x423)];if(Array[_0x2d986d(0x417)](_0x595f60)&&_0x595f60[_0x2d986d(0x3d5)]){if(_0x595f60[_0x2d986d(0x3d5)]===_0x511021[0x0][_0x2d986d(0x442)][_0x2d986d(0x423)][_0x2d986d(0x3d5)]&&_0x595f60[_0x2d986d(0x24a)]((_0x4238dd,_0x3c8d52)=>a[_0x2d986d(0x2ff)][_0x2d986d(0x387)](_0x4238dd[_0x2d986d(0x45a)],_0x511021[0x0][_0x2d986d(0x442)][_0x2d986d(0x423)][_0x3c8d52][_0x2d986d(0x45a)])))return;this['_injector'][_0x2d986d(0x297)](a[_0x2d986d(0x2e6)])[_0x2d986d(0x131)](Z['SetSelectionsOperation']['id'],{'unitId':_0x123d79,'subUnitId':_0x290f44,'selections':_0x595f60});}}},exports[_0x5549f4(0x3e6)]=fi([Ae(0x0,a['Inject'](a[_0x5549f4(0x165)])),Ae(0x1,g[_0x5549f4(0x2c6)]),Ae(0x2,a[_0x5549f4(0x38f)])],exports[_0x5549f4(0x3e6)]);const ve=a[_0x5549f4(0x381)]('univer-pro.collaboration-client.single-active-unit-service');var Fe=(_0xeee284=>(_0xeee284[_0xeee284[_0x5549f4(0x3f6)]=0x0]=_0x5549f4(0x3f6),_0xeee284[_0xeee284[_0x5549f4(0x34a)]=0x1]=_0x5549f4(0x34a),_0xeee284))(Fe||{});const gi=new Set([Z[_0x5549f4(0x104)]['id']]);function ze(_0x4826a3,_0x782500,_0x515fcc,_0x193a89,_0x316410){var _0x31cee3=_0x5549f4,_0x8bdc9d,_0x2c8a1e,_0x5095de,_0x4601cc;const _0xa54762=[];for(const _0x136a60 of _0x4826a3)if(gi[_0x31cee3(0x109)](_0x136a60['id'])){if(_0xa54762[_0x31cee3(0x3d5)]>0x0)break;_0xa54762['push'](_0x136a60);break;}else _0xa54762[_0x31cee3(0x40f)](_0x136a60);const _0x15e46a=(_0x2c8a1e=(_0x8bdc9d=_0x316410[_0x31cee3(0x19d)]())==null?void 0x0:_0x8bdc9d['userID'])!=null?_0x2c8a1e:_0x31cee3(0x234),_0x344db8=(_0x4601cc=(_0x5095de=_0x316410[_0x31cee3(0x19d)]())==null?void 0x0:_0x5095de['memberID'])!=null?_0x4601cc:_0x31cee3(0x234);return{'changeset':{'unitID':_0x782500,'type':g[_0x31cee3(0x20c)](_0x515fcc[_0x31cee3(0x108)](_0x782500)),'baseRev':_0x193a89[_0x31cee3(0x2ac)](_0x782500),'revision':0x0,'userID':_0x15e46a,'memberID':_0x344db8,'mutations':_0xa54762},'pendingMutations':_0x4826a3[_0x31cee3(0x3a6)](_0xa54762[_0x31cee3(0x3d5)])};}function Ii(_0x41d136,_0x11cebb,_0xa9df9,_0x155ab3,_0x3caf31){var _0xa5920d=_0x5549f4,_0x4d2591,_0x413f61,_0x1aca06,_0x2141ae;const _0x273360=[_0x41d136[_0xa5920d(0x3f8)]((_0x1098b1,_0x2435d5)=>{var _0x539983=_0xa5920d,_0xe72f89;const {id:_0x4dbd4d}=_0x1098b1,{id:_0x4dea90,type:_0x3b872f}=_0x2435d5,_0x2e69cd=(_0xe72f89=_0x1098b1['params'])!=null?_0xe72f89:{'actions':null},_0x1858df=_0x2435d5['params'];if(_0x4dbd4d&&_0x4dbd4d!==_0x4dea90)throw new Error(_0x539983(0x266)+_0x4dbd4d+_0x539983(0x194)+_0x4dea90+'.');return{..._0x1098b1,'id':_0x4dea90,'type':_0x3b872f,'params':{'unitId':_0x1858df[_0x539983(0x2b3)],'textRanges':_0x1858df[_0x539983(0x2ce)],'actions':a[_0x539983(0x132)][_0x539983(0x22f)](_0x2e69cd[_0x539983(0x2b0)],_0x1858df[_0x539983(0x2b0)])}};},{})],_0x5f2986=(_0x413f61=(_0x4d2591=_0x3caf31[_0xa5920d(0x19d)]())==null?void 0x0:_0x4d2591[_0xa5920d(0x443)])!=null?_0x413f61:'unknown',_0x1b651a=(_0x2141ae=(_0x1aca06=_0x3caf31[_0xa5920d(0x19d)]())==null?void 0x0:_0x1aca06[_0xa5920d(0x375)])!=null?_0x2141ae:'unknown';return{'changeset':{'unitID':_0x11cebb,'type':g[_0xa5920d(0x20c)](_0xa9df9[_0xa5920d(0x108)](_0x11cebb)),'baseRev':_0x155ab3[_0xa5920d(0x2ac)](_0x11cebb),'revision':0x0,'userID':_0x5f2986,'memberID':_0x1b651a,'mutations':_0x273360},'pendingMutations':[]};}function yt(_0x1ef77c,_0x325551){var _0x38eefb=_0x5549f4;const _0x8e5642=new j[(_0x38eefb(0x41a))](0x1);return setTimeout(()=>_0x8e5642[_0x38eefb(0x2cb)](_0x325551),_0x1ef77c),_0x8e5642['asObservable']()[_0x38eefb(0x143)](j['take'](0x1));}const mi={'id':Z[_0x5549f4(0x377)]['id'],'type':a[_0x5549f4(0x384)][_0x5549f4(0x3e3)],'params':{}};var Ei=Object['getOwnPropertyDescriptor'],ce=(_0x1713b9,_0x45eece,_0x2e9b96,_0x3916dc)=>{var _0x5e2c51=_0x5549f4;for(var _0x5c887b=_0x3916dc>0x1?void 0x0:_0x3916dc?Ei(_0x45eece,_0x2e9b96):_0x45eece,_0x526763=_0x1713b9[_0x5e2c51(0x3d5)]-0x1,_0x5992bc;_0x526763>=0x0;_0x526763--)(_0x5992bc=_0x1713b9[_0x526763])&&(_0x5c887b=_0x5992bc(_0x5c887b)||_0x5c887b);return _0x5c887b;},w=(_0x241806,_0x3ac092)=>(_0xb145d9,_0x47ad20)=>_0x3ac092(_0xb145d9,_0x47ad20,_0x241806),Ve=(_0x35f2e9=>(_0x35f2e9[_0x5549f4(0x2d5)]=_0x5549f4(0x3bc),_0x35f2e9[_0x5549f4(0x32a)]=_0x5549f4(0x1ed),_0x35f2e9[_0x5549f4(0x273)]=_0x5549f4(0x2fd),_0x35f2e9[_0x5549f4(0x396)]=_0x5549f4(0x330),_0x35f2e9[_0x5549f4(0x227)]=_0x5549f4(0x19f),_0x35f2e9['FETCH_MISS']='fetch_missing',_0x35f2e9[_0x5549f4(0xf3)]=_0x5549f4(0x293),_0x35f2e9[_0x5549f4(0x37a)]=_0x5549f4(0x32b),_0x35f2e9))(Ve||{});const Nt=0xea60;class he{constructor(_0x26a7cb,_0x3d876b,_0xce3e8f,_0x14c8c6,_0x2d07d9,_0x384247,_0x239d76,_0x413ed1,_0xd8d6d5){var _0x1d4c74=_0x5549f4;A(this,_0x1d4c74(0x20d),null),A(this,'_pendingMutations',[]),(this[_0x1d4c74(0x22e)]=_0x26a7cb,this[_0x1d4c74(0x2e3)]=_0x3d876b,this[_0x1d4c74(0x221)]=_0x2d07d9,this[_0x1d4c74(0x1e5)]=_0x384247,this[_0x1d4c74(0x46a)]=_0x239d76,this['_revisionService']=_0x413ed1,this[_0x1d4c74(0x130)]=_0xd8d6d5,this[_0x1d4c74(0x20d)]=_0xce3e8f,this['_pendingMutations']=_0x14c8c6);}[_0x5549f4(0x158)](_0x538060){var _0x260197=_0x5549f4;const _0x5cb9ea=this[_0x260197(0xee)][_0x260197(0x2ac)](this[_0x260197(0x22e)]);return _0x538060[_0x260197(0x17b)]>_0x5cb9ea+0x1?(this[_0x260197(0x221)][_0x260197(0x3a9)]({'from':_0x5cb9ea,'to':_0x538060['revision']-0x1}),!0x0):!0x1;}[_0x5549f4(0x2f5)](_0x1bf3b1){var _0x3d9e58=_0x5549f4;this[_0x3d9e58(0x46a)]['transformUndoRedo'](this[_0x3d9e58(0x22e)],_0x1bf3b1);}[_0x5549f4(0x15a)](_0x45dd35){var _0x55b01f=_0x5549f4,_0x362f31,_0x449866;(_0x449866=(_0x362f31=this['_handler'])[_0x55b01f(0x187)])==null||_0x449866[_0x55b01f(0x282)](_0x362f31,_0x45dd35);}['_transformIMECache'](_0x3b7db3){var _0x23b3f8=_0x5549f4,_0x5bfcc6,_0x1abdd4;return(_0x1abdd4=(_0x5bfcc6=this[_0x23b3f8(0x221)])[_0x23b3f8(0x247)])==null?void 0x0:_0x1abdd4[_0x23b3f8(0x282)](_0x5bfcc6,_0x3b7db3);}[_0x5549f4(0x17a)](_0x276bf5){var _0x226d5a=_0x5549f4,_0x3f6b70,_0x291cf9;return(_0x291cf9=(_0x3f6b70=this[_0x226d5a(0x221)])['onTransformState'])==null?void 0x0:_0x291cf9[_0x226d5a(0x282)](_0x3f6b70,_0x276bf5);}['_transformRemoteChangesetByIMECache'](_0x2d982b){var _0x10a827=_0x5549f4,_0x4f03a3,_0x295c81,_0xd06a25;return(_0xd06a25=(_0x295c81=(_0x4f03a3=this['_handler'])[_0x10a827(0x3f3)])==null?void 0x0:_0x295c81[_0x10a827(0x282)](_0x4f03a3,_0x2d982b))!=null?_0xd06a25:_0x2d982b;}[_0x5549f4(0x11d)](_0x3147bc){var _0x4e01fd=_0x5549f4,_0x52e55d,_0x3c66b8,_0x140f86;return(_0x140f86=(_0x3c66b8=(_0x52e55d=this[_0x4e01fd(0x221)])[_0x4e01fd(0x3bb)])==null?void 0x0:_0x3c66b8[_0x4e01fd(0x282)](_0x52e55d,_0x3147bc))!=null?_0x140f86:_0x3147bc;}[_0x5549f4(0x36d)](_0x31628b){var _0x4e253c=_0x5549f4,_0x28b5a1,_0x7068c9;if(this[_0x4e253c(0x2e3)]===X[_0x4e253c(0x451)]){const {unitID:_0x4d44d9,mutations:_0x56c06c,memberID:_0x167960}=_0x31628b,_0x585c8b=_0x56c06c[0x0][_0x4e253c(0x442)][_0x4e253c(0x2ce)];Array[_0x4e253c(0x417)](_0x585c8b)&&_0x585c8b['length']>0x0&&((_0x7068c9=(_0x28b5a1=this[_0x4e253c(0x221)])[_0x4e253c(0x351)])==null||_0x7068c9[_0x4e253c(0x282)](_0x28b5a1,{'unitID':_0x4d44d9,'memberID':_0x167960,'textRanges':_0x585c8b}));}}[_0x5549f4(0x208)](){var _0x48105b=_0x5549f4,_0x51a9a4;(_0x51a9a4=this[_0x48105b(0x130)])==null||_0x51a9a4[_0x48105b(0x363)](this[_0x48105b(0x22e)],this['type'],this[_0x48105b(0x20d)],this['_pendingMutations']);}[_0x5549f4(0x166)](){var _0x1ebe84=_0x5549f4;return this['_revisionService'][_0x1ebe84(0x2ac)](this[_0x1ebe84(0x22e)]);}[_0x5549f4(0x300)](){var _0x2fa387=_0x5549f4;this[_0x2fa387(0xee)][_0x2fa387(0x2b4)](this['unitID']);}[_0x5549f4(0x25a)](_0x3bd844){var _0xf2f8ae=_0x5549f4,_0x4fdd2d;let _0x2d99a9=this[_0xf2f8ae(0x188)](_0x3bd844);_0x2d99a9=this[_0xf2f8ae(0x11d)](_0x2d99a9);const _0x32aa21=a['sequenceExecute'](_0x2d99a9[_0xf2f8ae(0x408)],this[_0xf2f8ae(0x1e5)],{'fromCollab':!0x0});if(!_0x32aa21[_0xf2f8ae(0x207)])throw _0x32aa21['error']instanceof Error?_0x32aa21['error']:new Error((_0x4fdd2d=_0x32aa21[_0xf2f8ae(0x348)])!=null?_0x4fdd2d:_0xf2f8ae(0x1cd));this[_0xf2f8ae(0x167)](_0x2d99a9),this[_0xf2f8ae(0x17a)](_0x2d99a9),this[_0xf2f8ae(0x2f5)](_0x3bd844),this[_0xf2f8ae(0x15a)](_0x2d99a9),this[_0xf2f8ae(0x36d)](_0x2d99a9),this[_0xf2f8ae(0x300)]();}}exports['SyncedState']=class extends he{constructor(_0x62f45,_0xae8c9b,_0x2afbbd,_0x4c776d,_0x3a8546,_0x5545ef,_0x2b84be,_0x362b1a,_0x4da675,_0xe364dc){var _0x5c9b2c=_0x5549f4;super(_0x62f45,_0xae8c9b,null,[],_0x2afbbd,_0x2b84be,_0x5545ef,_0x4c776d,_0xe364dc),A(this,'status',_0x5c9b2c(0x1ed)),(this['_injector']=_0x3a8546,this[_0x5c9b2c(0x39f)]=_0x362b1a,this[_0x5c9b2c(0x27e)]=_0x4da675,this[_0x5c9b2c(0x260)]=_0xe364dc);}[_0x5549f4(0x1b8)](_0x239026){var _0x2ed930=_0x5549f4;const _0x28ed74=this[_0x2ed930(0x1f6)][_0x2ed930(0xff)](exports[_0x2ed930(0x22b)],this[_0x2ed930(0x22e)],this[_0x2ed930(0x2e3)],[_0x239026],this[_0x2ed930(0x221)]);return _0x28ed74[_0x2ed930(0x225)](),_0x28ed74['_updateLocalCache'](),_0x28ed74;}[_0x5549f4(0x16f)](_0x6fe27d){var _0x556cba=_0x5549f4;if(this['_checkMissing'](_0x6fe27d))return this[_0x556cba(0x1f6)][_0x556cba(0xff)](exports[_0x556cba(0x16a)],this[_0x556cba(0x22e)],this[_0x556cba(0x2e3)],null,[],null,[_0x6fe27d],this['_handler']);try{const _0x3425a0=this[_0x556cba(0x27e)]['transformMutationsWithChangeset'](_0x6fe27d,[mi]);if(g[_0x556cba(0x3d6)](_0x3425a0)){const {c1Prime:_0x453c61}=_0x3425a0;return this['_executeRemoteChangeset'](_0x453c61),this;}throw _0x3425a0[_0x556cba(0x348)];}catch(_0x2d1d04){return this[_0x556cba(0x39f)][_0x556cba(0x348)](_0x2d1d04),this[_0x556cba(0x2ad)](!0x1);}}[_0x5549f4(0x2ad)](_0xb84ce){var _0x38f75f=_0x5549f4;return this['_injector'][_0x38f75f(0xff)](exports[_0x38f75f(0x22d)],this[_0x38f75f(0x22e)],this[_0x38f75f(0x2e3)],null,[],this[_0x38f75f(0x221)],_0xb84ce);}[_0x5549f4(0x2a2)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x5549f4(0x342)](){var _0x55f44f=_0x5549f4;throw new Error(_0x55f44f(0x44c));}['onRemoteRetry'](){return this;}[_0x5549f4(0x367)](){var _0x2a39f0=_0x5549f4;return this[_0x2a39f0(0x1f6)][_0x2a39f0(0xff)](exports['OfflineState'],this['unitID'],this['type'],null,[],this[_0x2a39f0(0x221)]);}[_0x5549f4(0x3a0)](){return this;}[_0x5549f4(0x40a)](){var _0xf5bfea=_0x5549f4;throw new Error(_0xf5bfea(0x24f));}[_0x5549f4(0x37b)](){var _0x2ea64c=_0x5549f4;const _0x4978fb=this[_0x2ea64c(0xee)][_0x2ea64c(0x2ac)](this[_0x2ea64c(0x22e)]);return this[_0x2ea64c(0x221)][_0x2ea64c(0x3a9)]({'from':_0x4978fb,'to':0x0}),this[_0x2ea64c(0x1f6)][_0x2ea64c(0xff)](exports[_0x2ea64c(0x16a)],this[_0x2ea64c(0x22e)],this[_0x2ea64c(0x2e3)],null,[],null,[],this[_0x2ea64c(0x221)]);}},exports[_0x5549f4(0x2b6)]=ce([w(0x3,a[_0x5549f4(0x3ef)](g['RevisionService'])),w(0x4,a[_0x5549f4(0x3ef)](a[_0x5549f4(0x165)])),w(0x5,a[_0x5549f4(0x3ed)]),w(0x6,a['ICommandService']),w(0x7,a[_0x5549f4(0x316)]),w(0x8,g[_0x5549f4(0x2c6)]),w(0x9,a[_0x5549f4(0x32f)](z))],exports[_0x5549f4(0x2b6)]),exports[_0x5549f4(0x22b)]=class extends he{constructor(_0x13979b,_0x49362f,_0x48a372,_0x24da8e,_0x2dc79f,_0x1744f8,_0x3b879c,_0x1c4423,_0x25bdc4,_0x5797c3,_0x1ea90b,_0x3041b2,_0x268a5a,_0x2be2be){var _0x130196=_0x5549f4;super(_0x13979b,_0x49362f,null,_0x48a372,_0x24da8e,_0x25bdc4,_0x268a5a,_0x1744f8,_0x2be2be),A(this,'status',_0x130196(0x2fd)),A(this,_0x130196(0x2a5),null),A(this,'_sendingTimer',null),(this[_0x130196(0x1f6)]=_0x2dc79f,this[_0x130196(0x2cc)]=_0x3b879c,this[_0x130196(0x39f)]=_0x1c4423,this[_0x130196(0x1d9)]=_0x5797c3,this[_0x130196(0x27e)]=_0x1ea90b,this[_0x130196(0x24d)]=_0x3041b2);}[_0x5549f4(0x1b8)](_0x26c6b7){var _0x8d2441=_0x5549f4;return this[_0x8d2441(0x28f)][_0x8d2441(0x40f)](_0x26c6b7),this[_0x8d2441(0x208)](),this;}[_0x5549f4(0x16f)](_0x23cd69){var _0x1c584=_0x5549f4;if(this[_0x1c584(0x158)](_0x23cd69))return this['_clearScheduledTask'](),this[_0x1c584(0x1f6)][_0x1c584(0xff)](exports[_0x1c584(0x16a)],this[_0x1c584(0x22e)],this[_0x1c584(0x2e3)],null,this[_0x1c584(0x28f)],null,[_0x23cd69],this[_0x1c584(0x221)]);try{const _0x5d40d8=this['_transformService'][_0x1c584(0x129)](_0x23cd69,this['_pendingMutations']);if(g[_0x1c584(0x3d6)](_0x5d40d8)){const {c1Prime:_0x4e2908,m2Prime:_0x2c2337}=_0x5d40d8;this[_0x1c584(0x25a)](_0x4e2908);const _0x510232=this[_0x1c584(0x1f6)][_0x1c584(0xff)](exports[_0x1c584(0x22b)],this[_0x1c584(0x22e)],this[_0x1c584(0x2e3)],_0x2c2337,this[_0x1c584(0x221)]);this['_clearScheduledTask']();const _0x4e07e8=new Date()[_0x1c584(0x28a)](),_0x41c515=this[_0x1c584(0x2a5)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x4e07e8,0x0):this['_getSendChangesetTimeout']();return _0x510232[_0x1c584(0x225)](_0x41c515),_0x510232;}throw _0x5d40d8[_0x1c584(0x348)];}catch(_0x85449d){return this[_0x1c584(0x39f)][_0x1c584(0x348)](_0x85449d),this['_onConflict'](!0x1);}}[_0x5549f4(0x2a2)](){var _0x93acf9=_0x5549f4;throw new Error(_0x93acf9(0x280));}[_0x5549f4(0x342)](){var _0x43b96a=_0x5549f4;throw new Error(_0x43b96a(0x110));}['onRemoteRetry'](){return this;}[_0x5549f4(0x367)](){var _0x415b0c=_0x5549f4;return this[_0x415b0c(0x312)](),this[_0x415b0c(0x1f6)]['createInstance'](exports[_0x415b0c(0x424)],this[_0x415b0c(0x22e)],this[_0x415b0c(0x2e3)],null,this[_0x415b0c(0x28f)],this[_0x415b0c(0x221)]);}[_0x5549f4(0x3a0)](){return this;}[_0x5549f4(0x225)](_0x41ad76){var _0x55ad82=_0x5549f4;const _0x5f5d92=_0x41ad76!=null?_0x41ad76:this[_0x55ad82(0x2d7)]();this[_0x55ad82(0x2a5)]=new Date()[_0x55ad82(0x28a)]()+_0x5f5d92,this[_0x55ad82(0x31d)]=setTimeout(()=>{var _0x11aa04=_0x55ad82;this[_0x11aa04(0x312)]();let _0x50a03e=null;switch(this[_0x11aa04(0x2e3)]){case X['UNIVER_SHEET']:{_0x50a03e=ze(this[_0x11aa04(0x28f)],this['unitID'],this['_univerInstanceService'],this[_0x11aa04(0xee)],this[_0x11aa04(0x2cc)]);break;}case X['UNIVER_DOC']:{this[_0x11aa04(0x28f)][_0x11aa04(0x24a)](_0x44093d=>_0x44093d['id']===ut[_0x11aa04(0x2c4)]['id'])?_0x50a03e=Ii(this['_pendingMutations'],this[_0x11aa04(0x22e)],this['_univerInstanceService'],this['_revisionService'],this[_0x11aa04(0x2cc)]):_0x50a03e=ze(this[_0x11aa04(0x28f)],this[_0x11aa04(0x22e)],this['_univerInstanceService'],this[_0x11aa04(0xee)],this[_0x11aa04(0x2cc)]);break;}default:throw new Error(_0x11aa04(0x34f)+this[_0x11aa04(0x2e3)]+_0x11aa04(0x1e8));}const {changeset:_0x13b0fa,pendingMutations:_0x4f8154}=_0x50a03e;this[_0x11aa04(0x221)]['onSendChangeset'](_0x13b0fa);const _0x4acf91=_0x4f8154[_0x11aa04(0x3d5)]?this['_injector'][_0x11aa04(0xff)](exports[_0x11aa04(0x141)],this[_0x11aa04(0x22e)],this[_0x11aa04(0x2e3)],_0x13b0fa,_0x4f8154,this['_handler'],void 0x0):this[_0x11aa04(0x1f6)][_0x11aa04(0xff)](exports[_0x11aa04(0x2f4)],this[_0x11aa04(0x22e)],this[_0x11aa04(0x2e3)],_0x13b0fa,this['_handler']);_0x4acf91['_updateLocalCache'](),this[_0x11aa04(0x221)]['onStateChange'](this,_0x4acf91);},_0x5f5d92);}[_0x5549f4(0x2d7)](){var _0x3acbbc=_0x5549f4,_0x13c412;const _0x440fd9=this[_0x3acbbc(0x1d9)][_0x3acbbc(0x2d2)](Y);return(_0x13c412=_0x440fd9==null?void 0x0:_0x440fd9[_0x3acbbc(0x2b5)])!=null?_0x13c412:jt;}[_0x5549f4(0x40a)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x13f943=_0x5549f4;this['_sendingTimer']!=null&&(clearTimeout(this[_0x13f943(0x31d)]),this[_0x13f943(0x31d)]=null);}['_onConflict'](_0x3a90f4){var _0x1a3b1e=_0x5549f4;return this['_clearScheduledTask'](),this[_0x1a3b1e(0x1f6)][_0x1a3b1e(0xff)](exports[_0x1a3b1e(0x22d)],this[_0x1a3b1e(0x22e)],this[_0x1a3b1e(0x2e3)],null,this[_0x1a3b1e(0x28f)],this['_handler'],_0x3a90f4);}},exports[_0x5549f4(0x22b)]=ce([w(0x4,a[_0x5549f4(0x3ef)](a[_0x5549f4(0x165)])),w(0x5,a[_0x5549f4(0x3ef)](g[_0x5549f4(0x45b)])),w(0x6,a['Inject'](exports[_0x5549f4(0x258)])),w(0x7,a[_0x5549f4(0x316)]),w(0x8,a['ICommandService']),w(0x9,a[_0x5549f4(0x1c4)]),w(0xa,g[_0x5549f4(0x2c6)]),w(0xb,a[_0x5549f4(0x38f)]),w(0xc,a['IUndoRedoService']),w(0xd,a['Optional'](z))],exports[_0x5549f4(0x22b)]),exports[_0x5549f4(0x2f4)]=class extends he{constructor(_0x5c27f9,_0x937465,_0x123659,_0x392635,_0x5181eb,_0x2470a2,_0x492bb7,_0x531e1f,_0x1bc425,_0x1585ec,_0x1da42b){var _0x518dc3=_0x5549f4;super(_0x5c27f9,_0x937465,_0x123659,[],_0x392635,_0x492bb7,_0x1585ec,_0x2470a2,_0x1da42b),A(this,_0x518dc3(0x172),_0x518dc3(0x330)),A(this,_0x518dc3(0x1d5),0x0),A(this,'_resendTimer'),A(this,'_sender'),(this[_0x518dc3(0x1f6)]=_0x5181eb,this['_logService']=_0x531e1f,this[_0x518dc3(0x27e)]=_0x1bc425);}['appendMutation'](_0x4d4ece){var _0x3700bb=_0x5549f4;this['_clearScheduledTask']();const _0x435c38=this[_0x3700bb(0x1f6)]['createInstance'](exports[_0x3700bb(0x141)],this[_0x3700bb(0x22e)],this[_0x3700bb(0x2e3)],this[_0x3700bb(0x20d)],[_0x4d4ece],this['_handler'],this[_0x3700bb(0x1c0)]);return _0x435c38[_0x3700bb(0x208)](),_0x435c38;}[_0x5549f4(0x16f)](_0x466589){var _0x30c774=_0x5549f4;if(this[_0x30c774(0x158)](_0x466589))return this['_clearScheduledTask'](),this[_0x30c774(0x1f6)][_0x30c774(0xff)](exports['FetchingMissState'],this['unitID'],this[_0x30c774(0x2e3)],this[_0x30c774(0x20d)],[],null,[_0x466589],this[_0x30c774(0x221)]);try{const _0x402c41=this[_0x30c774(0x27e)][_0x30c774(0xef)]([_0x466589],[this[_0x30c774(0x20d)]],!0x1);if(g[_0x30c774(0x18c)](_0x402c41)){const {c1Prime:_0x46ba5f,c2Prime:_0x622c8c}=_0x402c41;this[_0x30c774(0x25a)](_0x46ba5f[0x0]),_0x622c8c[0x0][_0x30c774(0x171)]=this[_0x30c774(0x166)](),this[_0x30c774(0x312)]();const _0x3bd328=this[_0x30c774(0x1f6)][_0x30c774(0xff)](exports[_0x30c774(0x2f4)],this[_0x30c774(0x22e)],this[_0x30c774(0x2e3)],_0x622c8c[0x0],this[_0x30c774(0x221)]);return _0x3bd328[_0x30c774(0x208)](),_0x3bd328;}return this['_onConflict'](!0x1);}catch(_0x279b1c){return this[_0x30c774(0x39f)]['error'](_0x279b1c),this[_0x30c774(0x2ad)](!0x1);}}[_0x5549f4(0x2a2)](_0xc76f03){var _0x598f19=_0x5549f4;this[_0x598f19(0x312)]();const _0x306f9a=this['_revisionService'][_0x598f19(0x2ac)](this['unitID']);if(_0xc76f03[_0x598f19(0x17b)]<_0x306f9a-0x1)return this;if(this[_0x598f19(0x158)](_0xc76f03))return this[_0x598f19(0x1f6)][_0x598f19(0xff)](exports[_0x598f19(0x16a)],this['unitID'],this['type'],null,[],this[_0x598f19(0x20d)],[],this[_0x598f19(0x221)]);this[_0x598f19(0x300)]();const _0x3f8337=this[_0x598f19(0x1f6)][_0x598f19(0xff)](exports['SyncedState'],this[_0x598f19(0x22e)],this['type'],this[_0x598f19(0x221)]);return _0x3f8337['_updateLocalCache'](),_0x3f8337;}[_0x5549f4(0x342)](_0x357880){var _0x1c10e9=_0x5549f4;return this[_0x1c10e9(0x2ad)](!!(_0x357880!=null&&_0x357880[_0x1c10e9(0x13a)]));}[_0x5549f4(0x12d)](_0x50a54e){var _0x4d6224=_0x5549f4;return this[_0x4d6224(0x1d5)]>Nt?this[_0x4d6224(0x367)]():(this[_0x4d6224(0x1c0)]=yt(this['_resendTimeout'],{'timeout':this[_0x4d6224(0x1d5)],'reqId':_0x50a54e[_0x4d6224(0x3b5)]}),this[_0x4d6224(0x33f)]=this[_0x4d6224(0x1c0)][_0x4d6224(0x1a5)](({reqId:_0x4e8594,timeout:_0x335ca0})=>{this['_resendWithTimeout'](_0x4e8594,_0x335ca0);}),this);}[_0x5549f4(0x367)](){var _0x4d1036=_0x5549f4;return this[_0x4d1036(0x312)](),this['_injector'][_0x4d1036(0xff)](exports['OfflineState'],this['unitID'],this[_0x4d1036(0x2e3)],this[_0x4d1036(0x20d)],[],this[_0x4d1036(0x221)]);}[_0x5549f4(0x3a0)](){return this;}[_0x5549f4(0x40a)](){var _0x5b21d5=_0x5549f4;this[_0x5b21d5(0x221)][_0x5b21d5(0x355)](this[_0x5b21d5(0x20d)]);}[_0x5549f4(0x2ad)](_0x5e6c91){var _0x4f1cd9=_0x5549f4;return this['_clearScheduledTask'](),this['_injector'][_0x4f1cd9(0xff)](exports['ConflictState'],this[_0x4f1cd9(0x22e)],this[_0x4f1cd9(0x2e3)],this[_0x4f1cd9(0x20d)],[],this['_handler'],_0x5e6c91);}[_0x5549f4(0x43c)](_0x5e27ab,_0x340607){var _0x5ade98=_0x5549f4,_0x24de88;_0x5e27ab===((_0x24de88=this[_0x5ade98(0x20d)])==null?void 0x0:_0x24de88[_0x5ade98(0x3b5)])&&(this['resend'](),this['_resendTimeout']=_0x340607===0x0?0x3e8:_0x340607*0x2);}[_0x5549f4(0x312)](){var _0x13f314=_0x5549f4,_0x5de886;(_0x5de886=this[_0x13f314(0x33f)])==null||_0x5de886[_0x13f314(0x152)](),this[_0x13f314(0x1d5)]=0x0;}},exports[_0x5549f4(0x2f4)]=ce([w(0x4,a['Inject'](a[_0x5549f4(0x165)])),w(0x5,a[_0x5549f4(0x3ef)](g[_0x5549f4(0x45b)])),w(0x6,a[_0x5549f4(0x2e6)]),w(0x7,a[_0x5549f4(0x316)]),w(0x8,g['ITransformService']),w(0x9,a[_0x5549f4(0x3ed)]),w(0xa,a[_0x5549f4(0x32f)](z))],exports[_0x5549f4(0x2f4)]),exports[_0x5549f4(0x141)]=class extends he{constructor(_0x595932,_0x5a58da,_0x4c9fb5,_0x4ead1a,_0x2ac2e6,_0x25fe1a,_0x4648b8,_0x1dd3f3,_0x275ee5,_0x10a830,_0x2181f2,_0x20bfc6,_0x273cf6){var _0x42eaa9=_0x5549f4;super(_0x595932,_0x5a58da,_0x4c9fb5,_0x4ead1a,_0x2ac2e6,_0x275ee5,_0x20bfc6,_0x1dd3f3,_0x273cf6),A(this,_0x42eaa9(0x172),_0x42eaa9(0x19f)),A(this,_0x42eaa9(0x1d5),0x0),A(this,_0x42eaa9(0x1c0)),A(this,_0x42eaa9(0x33f)),(this['_injector']=_0x4648b8,this[_0x42eaa9(0x39f)]=_0x10a830,this[_0x42eaa9(0x27e)]=_0x2181f2,this[_0x42eaa9(0x260)]=_0x273cf6,_0x25fe1a&&(this[_0x42eaa9(0x1c0)]=_0x25fe1a,this[_0x42eaa9(0x33f)]=this[_0x42eaa9(0x1c0)][_0x42eaa9(0x1a5)](({reqId:_0x331464,timeout:_0x5410aa})=>{var _0x96c91c=_0x42eaa9;this[_0x96c91c(0x43c)](_0x331464,_0x5410aa);})));}[_0x5549f4(0x1b8)](_0x4cca5f){var _0x56397b=_0x5549f4;return this[_0x56397b(0x28f)][_0x56397b(0x40f)](_0x4cca5f),this;}[_0x5549f4(0x16f)](_0x2e0dd9){var _0x59f635=_0x5549f4;if(this['_checkMissing'](_0x2e0dd9))return this['_clearScheduledTask'](),this[_0x59f635(0x1f6)][_0x59f635(0xff)](exports[_0x59f635(0x16a)],this[_0x59f635(0x22e)],this[_0x59f635(0x2e3)],this[_0x59f635(0x20d)],this[_0x59f635(0x28f)],null,[_0x2e0dd9],this[_0x59f635(0x221)]);try{const _0x420bfe=this['_transformService'][_0x59f635(0xef)]([_0x2e0dd9],[this[_0x59f635(0x20d)]],!0x1);if(g[_0x59f635(0x18c)](_0x420bfe)){const {c1Prime:_0x196785,c2Prime:_0x3c20a6}=_0x420bfe,_0x348a4f=this[_0x59f635(0x27e)][_0x59f635(0x129)](_0x196785[0x0],this[_0x59f635(0x28f)]);if(g[_0x59f635(0x3d6)](_0x348a4f)){const {c1Prime:_0x404576,m2Prime:_0xb14ff5}=_0x348a4f;return this[_0x59f635(0x25a)](_0x404576),_0x3c20a6[0x0][_0x59f635(0x171)]=this[_0x59f635(0x166)](),this[_0x59f635(0x312)](),this[_0x59f635(0x1f6)][_0x59f635(0xff)](exports[_0x59f635(0x141)],this[_0x59f635(0x22e)],this[_0x59f635(0x2e3)],_0x3c20a6[0x0],_0xb14ff5,this['_handler'],void 0x0);}throw _0x348a4f[_0x59f635(0x348)];}throw _0x420bfe[_0x59f635(0x348)];}catch(_0x216b9b){return this['_logService'][_0x59f635(0x348)](_0x216b9b),this[_0x59f635(0x2ad)](!0x1);}}[_0x5549f4(0x2a2)](_0x5386eb){var _0x24c7a7=_0x5549f4;if(this[_0x24c7a7(0x312)](),this[_0x24c7a7(0x158)](_0x5386eb))return this[_0x24c7a7(0x1f6)]['createInstance'](exports['FetchingMissState'],this[_0x24c7a7(0x22e)],this['type'],null,this['_pendingMutations'],this[_0x24c7a7(0x20d)],[],this['_handler']);this[_0x24c7a7(0x300)]();const _0x46d1a6=this['_injector'][_0x24c7a7(0xff)](exports[_0x24c7a7(0x22b)],this[_0x24c7a7(0x22e)],this['type'],this[_0x24c7a7(0x28f)],this[_0x24c7a7(0x221)]);return _0x46d1a6[_0x24c7a7(0x225)](),_0x46d1a6['_updateLocalCache'](),_0x46d1a6;}[_0x5549f4(0x342)](_0x65f56a){var _0x55e3cd=_0x5549f4;return this[_0x55e3cd(0x2ad)](!!(_0x65f56a!=null&&_0x65f56a[_0x55e3cd(0x13a)]));}['onRemoteRetry'](_0x352777){var _0xfffb4a=_0x5549f4;return this[_0xfffb4a(0x1d5)]>Nt?this[_0xfffb4a(0x367)]():(this[_0xfffb4a(0x1c0)]=yt(this[_0xfffb4a(0x1d5)],{'timeout':this[_0xfffb4a(0x1d5)],'reqId':_0x352777[_0xfffb4a(0x3b5)]}),this[_0xfffb4a(0x33f)]=this[_0xfffb4a(0x1c0)]['subscribe'](({reqId:_0x34b2e1,timeout:_0x54971a})=>{this['_resendWithTimeout'](_0x34b2e1,_0x54971a);}),this);}[_0x5549f4(0x367)](){var _0x473d80=_0x5549f4;return this['_clearScheduledTask'](),this[_0x473d80(0x1f6)]['createInstance'](exports[_0x473d80(0x424)],this[_0x473d80(0x22e)],this['type'],this['_awaitingChangeset'],this[_0x473d80(0x28f)],this[_0x473d80(0x221)]);}[_0x5549f4(0x3a0)](){return this;}[_0x5549f4(0x40a)](){var _0x27ed22=_0x5549f4;this[_0x27ed22(0x221)][_0x27ed22(0x355)](this[_0x27ed22(0x20d)]);}[_0x5549f4(0x2ad)](_0x5d6437){var _0x23ab47=_0x5549f4;return this[_0x23ab47(0x312)](),this[_0x23ab47(0x1f6)][_0x23ab47(0xff)](exports[_0x23ab47(0x22d)],this[_0x23ab47(0x22e)],this[_0x23ab47(0x2e3)],null,this['_pendingMutations'],this[_0x23ab47(0x221)],_0x5d6437);}[_0x5549f4(0x43c)](_0x1d1d9f,_0x24d0e4){var _0x22895a=_0x5549f4,_0x7c6aad;_0x1d1d9f===((_0x7c6aad=this[_0x22895a(0x20d)])==null?void 0x0:_0x7c6aad[_0x22895a(0x3b5)])&&(this[_0x22895a(0x40a)](),this[_0x22895a(0x1d5)]=_0x24d0e4===0x0?0x3e8:_0x24d0e4*0x2);}[_0x5549f4(0x312)](){var _0x18e247=_0x5549f4,_0x2fb271;(_0x2fb271=this['_sender'])==null||_0x2fb271[_0x18e247(0x152)](),this['_resendTimeout']=0x0;}},exports[_0x5549f4(0x141)]=ce([w(0x6,a[_0x5549f4(0x3ef)](a[_0x5549f4(0x165)])),w(0x7,a[_0x5549f4(0x3ef)](g[_0x5549f4(0x45b)])),w(0x8,a['ICommandService']),w(0x9,a[_0x5549f4(0x316)]),w(0xa,g['ITransformService']),w(0xb,a[_0x5549f4(0x3ed)]),w(0xc,a[_0x5549f4(0x32f)](z))],exports[_0x5549f4(0x141)]),exports[_0x5549f4(0x22d)]=class extends he{constructor(_0x4291d8,_0x2900df,_0x3bc1ad,_0x35853b,_0x1c9ce8,_0x559029=!0x1,_0x14d74e,_0x48ce58,_0x1403cc,_0x2d6b3f,_0xcf7beb,_0x127183,_0x23ef4d){var _0x3421d6=_0x5549f4;super(_0x4291d8,_0x2900df,_0x3bc1ad,_0x35853b,_0x1c9ce8,_0x48ce58,_0x1403cc,_0x2d6b3f,_0x23ef4d),A(this,_0x3421d6(0x172),_0x3421d6(0x293)),(this[_0x3421d6(0x2c7)]=_0x559029,this['_permissionService']=_0x14d74e,this[_0x3421d6(0x42c)]=_0xcf7beb,this[_0x3421d6(0x360)]=_0x127183,this['localCacheService']=_0x23ef4d,this['_showConflictNotification'](),this[_0x3421d6(0x240)](),this[_0x3421d6(0x407)]());}[_0x5549f4(0x1b8)](){return this;}[_0x5549f4(0x16f)](){return this;}[_0x5549f4(0x2a2)](){return this;}['onRemoteRej'](){return this;}[_0x5549f4(0x12d)](){return this;}[_0x5549f4(0x367)](){return this;}[_0x5549f4(0x3a0)](){return this;}['resend'](){var _0x1cff45=_0x5549f4;throw new Error(_0x1cff45(0x308));}[_0x5549f4(0x240)](){var _0x10241b=_0x5549f4,_0x4ce954;(_0x4ce954=this[_0x10241b(0x130)])==null||_0x4ce954[_0x10241b(0x363)](this['unitID'],this[_0x10241b(0x2e3)],null,[]);}['_showConflictNotification'](){var _0x23d978=_0x5549f4;this['_isPermissionRej']?this[_0x23d978(0x360)][_0x23d978(0x3ab)]({'id':Q['PERMISSION_DENIED']}):this[_0x23d978(0x360)][_0x23d978(0x3ab)]({'id':Q[_0x23d978(0xf3)]});}['_disableEditing'](){var _0x5b3542=_0x5549f4;this['_permissionService']['updatePermissionPoint'](new Z['WorkbookEditablePermission'](this[_0x5b3542(0x22e)])['id'],!0x1);}},exports['ConflictState']=ce([w(0x6,a[_0x5549f4(0x3ef)](a[_0x5549f4(0x392)])),w(0x7,a['ICommandService']),w(0x8,a[_0x5549f4(0x3ed)]),w(0x9,a['Inject'](g[_0x5549f4(0x45b)])),w(0xa,a[_0x5549f4(0x3ef)](a['LocaleService'])),w(0xb,a[_0x5549f4(0x3ef)](te)),w(0xc,a[_0x5549f4(0x32f)](z))],exports[_0x5549f4(0x22d)]),exports['OfflineState']=class extends he{constructor(_0x393259,_0x2cd23f,_0x3504b9,_0x4404f3,_0x5aa4e3,_0x4e44aa,_0x4a1e3d,_0x24ef5c,_0x4276ea,_0x3b0674){var _0x41135d=_0x5549f4;super(_0x393259,_0x2cd23f,_0x3504b9,_0x4404f3,_0x5aa4e3,_0x24ef5c,_0x4276ea,_0x4a1e3d,_0x3b0674),A(this,_0x41135d(0x172),_0x41135d(0x32b)),this[_0x41135d(0x1f6)]=_0x4e44aa;}[_0x5549f4(0x1b8)](_0x287c7c){var _0x5db20f=_0x5549f4;return this[_0x5db20f(0x28f)][_0x5db20f(0x40f)](_0x287c7c),this[_0x5db20f(0x208)](),this;}['onRemoteChangeset'](_0x523ada){var _0x4a7b17=_0x5549f4;throw new Error(_0x4a7b17(0x19a));}[_0x5549f4(0x2a2)](){var _0x1f4d61=_0x5549f4;throw new Error(_0x1f4d61(0x337));}[_0x5549f4(0x342)](){var _0x453c45=_0x5549f4;throw new Error(_0x453c45(0x299));}[_0x5549f4(0x12d)](){return this;}[_0x5549f4(0x367)](){return this;}[_0x5549f4(0x3a0)](){var _0x130834=_0x5549f4;const {_injector:_0x624138,_pendingMutations:_0x1189fe,_awaitingChangeset:_0x386652,unitID:_0x896e62,_handler:_0x37a825,type:_0x2a9032}=this,_0x438261=Dt(_0x624138,_0x896e62,_0x2a9032,_0x386652,_0x1189fe,_0x37a825);return _0x438261 instanceof exports['PendingState']?_0x438261[_0x130834(0x225)]():(_0x438261 instanceof exports[_0x130834(0x141)]||_0x438261 instanceof exports[_0x130834(0x2f4)])&&_0x438261[_0x130834(0x40a)](),_0x438261;}[_0x5549f4(0x40a)](){var _0x1f29e7=_0x5549f4;throw new Error(_0x1f29e7(0x118));}},exports['OfflineState']=ce([w(0x5,a[_0x5549f4(0x3ef)](a[_0x5549f4(0x165)])),w(0x6,a[_0x5549f4(0x3ef)](g[_0x5549f4(0x45b)])),w(0x7,a[_0x5549f4(0x2e6)]),w(0x8,a[_0x5549f4(0x3ed)]),w(0x9,a[_0x5549f4(0x32f)](z))],exports[_0x5549f4(0x424)]),exports[_0x5549f4(0x16a)]=class extends he{constructor(_0x1df3cf,_0x243421,_0x129b9b,_0x2e3d6b,_0x59b8cf,_0x38c296,_0x411098,_0x3ae5be,_0x394b46,_0x2ecd49,_0x41888d,_0x2c48d9,_0x5f178d,_0x54673e){var _0x59deb7=_0x5549f4;super(_0x1df3cf,_0x243421,_0x129b9b,_0x2e3d6b,_0x411098,_0x41888d,_0x2c48d9,_0x394b46,_0x54673e),A(this,_0x59deb7(0x172),_0x59deb7(0x14d)),(this[_0x59deb7(0x10d)]=_0x59b8cf,this[_0x59deb7(0x3eb)]=_0x38c296,this[_0x59deb7(0x1f6)]=_0x3ae5be,this['_logService']=_0x2ecd49,this[_0x59deb7(0x27e)]=_0x5f178d,this[_0x59deb7(0x260)]=_0x54673e);}[_0x5549f4(0x3a3)](_0x3b3dd8){var _0x15305f=_0x5549f4;try{const _0x35d34f=[..._0x3b3dd8,...this[_0x15305f(0x3eb)]],_0x3aab86=[this[_0x15305f(0x20d)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x588ea0=>!!_0x588ea0);let _0x5a7375,_0x38f3b8;if(_0x3aab86['length']){const _0x42aa77=this['_transformService'][_0x15305f(0xef)](_0x35d34f,_0x3aab86,!0x1);if(!g[_0x15305f(0x18c)](_0x42aa77))throw _0x42aa77[_0x15305f(0x348)];_0x5a7375=_0x42aa77[_0x15305f(0x43a)],_0x38f3b8=_0x42aa77[_0x15305f(0x27c)];}else _0x5a7375=_0x35d34f,_0x38f3b8=[];let _0x279334=this[_0x15305f(0x28f)];_0x5a7375[_0x15305f(0x11a)](_0xc563b=>{var _0x4d0ebf=_0x15305f;let _0xc76df5;if(_0x279334[_0x4d0ebf(0x3d5)]){const _0x44034b=this['_transformService'][_0x4d0ebf(0x129)](_0xc563b,_0x279334);if(!g['isTransformMutationsWithChangesetSuccess'](_0x44034b))throw _0x44034b[_0x4d0ebf(0x348)];_0xc76df5=_0x44034b['c1Prime'],_0x279334=_0x44034b[_0x4d0ebf(0x24b)];}else _0xc76df5=_0xc563b;this['_executeRemoteChangeset'](_0xc76df5);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x15305f(0x20d)]&&_0x38f3b8['length']&&(_0x38f3b8[0x0]['baseRev']=this[_0x15305f(0x166)]());let _0x167889;if(this['_awaitingChangeset']&&_0x279334['length']!==0x0)_0x167889=this[_0x15305f(0x1f6)]['createInstance'](exports[_0x15305f(0x141)],this[_0x15305f(0x22e)],this[_0x15305f(0x2e3)],_0x38f3b8[0x0],_0x279334,this[_0x15305f(0x221)],void 0x0);else{if(this['_awaitingChangeset']&&_0x279334['length']===0x0)_0x38f3b8[0x0][_0x15305f(0x171)]=this[_0x15305f(0x166)](),_0x167889=this[_0x15305f(0x1f6)][_0x15305f(0xff)](exports[_0x15305f(0x2f4)],this['unitID'],this[_0x15305f(0x2e3)],_0x38f3b8[0x0],this[_0x15305f(0x221)]);else{if(_0x279334['length']!==0x0){const _0x1c3b72=this[_0x15305f(0x1f6)][_0x15305f(0xff)](exports[_0x15305f(0x22b)],this[_0x15305f(0x22e)],this[_0x15305f(0x2e3)],_0x279334,this[_0x15305f(0x221)]);_0x1c3b72['_schedule'](),_0x167889=_0x1c3b72;}else _0x167889=this[_0x15305f(0x1f6)]['createInstance'](exports[_0x15305f(0x2b6)],this[_0x15305f(0x22e)],this[_0x15305f(0x2e3)],this['_handler']);}}return _0x167889['_updateLocalCache'](),_0x167889;}catch(_0x5a2b13){return this[_0x15305f(0x39f)][_0x15305f(0x348)]('[FetchMissState]',_0x15305f(0x35a),_0x5a2b13),this['_injector'][_0x15305f(0xff)](exports['ConflictState'],this['unitID'],this[_0x15305f(0x2e3)],this[_0x15305f(0x20d)],this[_0x15305f(0x28f)],this['_handler'],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x19402b){var _0x2c8911=_0x5549f4;return this[_0x2c8911(0x28f)][_0x2c8911(0x40f)](_0x19402b),this;}['onRemoteChangeset'](_0x119662){var _0x173a75=_0x5549f4;return this['_queuedRemoteChangesets'][_0x173a75(0x40f)](_0x119662),this;}[_0x5549f4(0x2a2)](_0x2efa4f){var _0x1227dd=_0x5549f4;if(this[_0x1227dd(0x20d)])return this[_0x1227dd(0x10d)]=this[_0x1227dd(0x20d)],this[_0x1227dd(0x20d)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x5549f4(0x342)](_0x1d716d){var _0x47189e=_0x5549f4;return this[_0x47189e(0x2ad)](!!(_0x1d716d!=null&&_0x1d716d['isPermissionRej']));}[_0x5549f4(0x12d)](){return this;}['toggleOffline'](){var _0x11b280=_0x5549f4;return this['_injector'][_0x11b280(0xff)](exports['OfflineState'],this[_0x11b280(0x22e)],this['type'],this[_0x11b280(0x20d)],this[_0x11b280(0x28f)],this[_0x11b280(0x221)]);}['toggleOnline'](){return this;}[_0x5549f4(0x2ad)](_0x4c063b){var _0x4cbe0d=_0x5549f4;return this[_0x4cbe0d(0x1f6)][_0x4cbe0d(0xff)](exports['ConflictState'],this[_0x4cbe0d(0x22e)],this[_0x4cbe0d(0x2e3)],this['_awaitingChangeset'],this[_0x4cbe0d(0x28f)],this[_0x4cbe0d(0x221)],_0x4c063b);}},exports[_0x5549f4(0x16a)]=ce([w(0x7,a[_0x5549f4(0x3ef)](a[_0x5549f4(0x165)])),w(0x8,a['Inject'](g[_0x5549f4(0x45b)])),w(0x9,a['ILogService']),w(0xa,a[_0x5549f4(0x2e6)]),w(0xb,a[_0x5549f4(0x3ed)]),w(0xc,g[_0x5549f4(0x2c6)]),w(0xd,a[_0x5549f4(0x32f)](z))],exports[_0x5549f4(0x16a)]);function Dt(_0x138df9,_0x1c60fd,_0x256eef,_0x298f19,_0x47b620,_0x13fdde){var _0x38f8a9=_0x5549f4;return _0x298f19&&_0x47b620['length']?_0x138df9['createInstance'](exports[_0x38f8a9(0x141)],_0x1c60fd,_0x256eef,_0x298f19,_0x47b620,_0x13fdde,void 0x0):_0x298f19?_0x138df9[_0x38f8a9(0xff)](exports[_0x38f8a9(0x2f4)],_0x1c60fd,_0x256eef,_0x298f19,_0x13fdde):_0x47b620[_0x38f8a9(0x3d5)]?_0x138df9[_0x38f8a9(0xff)](exports[_0x38f8a9(0x22b)],_0x1c60fd,_0x256eef,_0x47b620,_0x13fdde):_0x138df9[_0x38f8a9(0xff)](exports[_0x38f8a9(0x2b6)],_0x1c60fd,_0x256eef,_0x13fdde);}var Ci=Object[_0x5549f4(0x3db)],We=(_0x2da9d8,_0x3b8faa,_0x2682fe,_0x4fa3ed)=>{for(var _0x385500=_0x4fa3ed>0x1?void 0x0:_0x4fa3ed?Ci(_0x3b8faa,_0x2682fe):_0x3b8faa,_0x18db76=_0x2da9d8['length']-0x1,_0x319057;_0x18db76>=0x0;_0x18db76--)(_0x319057=_0x2da9d8[_0x18db76])&&(_0x385500=_0x319057(_0x385500)||_0x385500);return _0x385500;},$=(_0x320351,_0x28727b)=>(_0x5be4c7,_0x232f2a)=>_0x28727b(_0x5be4c7,_0x232f2a,_0x320351);exports[_0x5549f4(0x31f)]=class extends a[_0x5549f4(0x250)]{constructor(_0x246cde,_0x412f5b,_0x2708e7,_0x2de969,_0x3a777c,_0x333d48,_0x4e588f,_0x584227,_0x404adf,_0x25b9f6,_0x3c6e0c,_0x2130ab,_0x7593a0){var _0x571fd4=_0x5549f4;super(),A(this,'_state$',new j[(_0x571fd4(0x2f2))](null)),A(this,'state$',this[_0x571fd4(0x3ad)]['asObservable']()),A(this,_0x571fd4(0x212)),A(this,_0x571fd4(0x235),!0x1),A(this,'_changesetSessionId',''),A(this,_0x571fd4(0x106),0x0),A(this,'status$',this[_0x571fd4(0x3a1)]['pipe'](j[_0x571fd4(0x1df)](_0x57686a=>_0x57686a?_0x57686a[_0x571fd4(0x172)]:Ve['OFFLINE']),j[_0x571fd4(0x226)](0x1))),A(this,_0x571fd4(0x18d),!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x571fd4(0x22e)]=_0x246cde,this[_0x571fd4(0x1f4)]=_0x412f5b,this[_0x571fd4(0x361)]=_0x2708e7,this[_0x571fd4(0x1f6)]=_0x2de969,this[_0x571fd4(0x10a)]=_0x3a777c,this[_0x571fd4(0x42c)]=_0x333d48,this[_0x571fd4(0xee)]=_0x4e588f,this[_0x571fd4(0x444)]=_0x584227,this['_logService']=_0x404adf,this[_0x571fd4(0x1e5)]=_0x25b9f6,this[_0x571fd4(0x1fd)]=_0x3c6e0c,this[_0x571fd4(0x36c)]=_0x2130ab,this[_0x571fd4(0x130)]=_0x7593a0);}get[_0x5549f4(0x25c)](){var _0x2051f2=_0x5549f4;return this[_0x2051f2(0x212)];}async['init'](){var _0x66d1f2=_0x5549f4;if(this[_0x66d1f2(0x25c)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x66d1f2(0x453)]();}['pauseCollaboration'](){var _0x29a723=_0x5549f4;return this[_0x29a723(0x235)]=!0x0,a[_0x29a723(0x43d)](()=>{var _0x26c211=_0x29a723;this[_0x26c211(0x235)]=!0x1,this[_0x26c211(0x1d2)]();});}['onLocalMutation'](_0x20dc25){var _0x264d2d=_0x5549f4;this[_0x264d2d(0x1f8)](_0x20dc25);}[_0x5549f4(0x13e)](_0x49748c){var _0x448d58=_0x5549f4;this[_0x448d58(0x212)]=_0x49748c,this[_0x448d58(0x3ad)][_0x448d58(0x2cb)](_0x49748c);}async['_init'](){var _0xf111a7=_0x5549f4,_0x1240e8;this[_0xf111a7(0x13e)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x1240e8=this[_0xf111a7(0x36c)])==null||_0x1240e8[_0xf111a7(0x183)](this[_0xf111a7(0x22e)]),this[_0xf111a7(0x406)](this[_0xf111a7(0x36c)][_0xf111a7(0x3dd)](this[_0xf111a7(0x22e)])[_0xf111a7(0x1a5)](_0x9210d8=>{var _0x3bde52=_0xf111a7;this[_0x3bde52(0x39f)]['debug'](_0x3bde52(0x441),_0x3bde52(0x153),_0x9210d8),_0x9210d8===Fe['OTHER_CLIENTS_EDITING']?(this['_eventService'][_0x3bde52(0x3ab)]({'id':Q['OTHER_CLIENT_EDITING']}),this[_0x3bde52(0x1fd)][_0x3bde52(0x372)](new Z[(_0x3bde52(0x366))](this[_0x3bde52(0x22e)])['id'],!0x1),this[_0x3bde52(0x1fd)][_0x3bde52(0x426)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new Z[(_0x3bde52(0x366))](this['unitID'])['id'],!0x0),this['_permissionService'][_0x3bde52(0x426)](!0x0));})));let _0x568f2a=!0x1;return this[_0xf111a7(0x406)](this[_0xf111a7(0x1f4)]['sessionStatus$'][_0xf111a7(0x1a5)](_0x545a99=>{var _0x582480=_0xf111a7;_0x545a99===se[_0x582480(0xe7)]?this[_0x582480(0x278)](_0x568f2a):_0x545a99===se[_0x582480(0x37a)]&&(_0x568f2a=!0x0,this[_0x582480(0x220)]());})),this[_0xf111a7(0x406)](this[_0xf111a7(0x1f4)]['event$'][_0xf111a7(0x1a5)](_0x378efb=>{var _0x34159d=_0xf111a7;try{switch(_0x378efb[_0x34159d(0x21f)]){case g[_0x34159d(0x181)][_0x34159d(0x1e4)]:{this[_0x34159d(0x176)](g[_0x34159d(0x31b)](_0x378efb[_0x34159d(0x210)]));break;}case g['CollaborationEvent'][_0x34159d(0x37c)]:{this[_0x34159d(0x244)](_0x378efb['data']);break;}case g['CollaborationEvent']['CHANGESET_REJ']:{this[_0x34159d(0x243)]();break;}case g['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x378efb[_0x34159d(0x210)]);break;}case g[_0x34159d(0x181)][_0x34159d(0x2bb)]:{this['_onFetchMissResult'](_0x378efb[_0x34159d(0x210)][_0x34159d(0x2d3)][_0x34159d(0x1df)](_0x257081=>g[_0x34159d(0x31b)](_0x257081)));break;}case g[_0x34159d(0x181)][_0x34159d(0x350)]:{this[_0x34159d(0x243)]({'isPermissionRej':!0x0});break;}case g[_0x34159d(0x181)][_0x34159d(0x261)]:break;}}catch(_0x50de4d){throw console['error'](_0x34159d(0x415),_0x50de4d),_0x50de4d;}})),this[_0xf111a7(0x212)];}[_0x5549f4(0x248)](){this['_transitionLocked']=!0x1;}[_0x5549f4(0x2e5)](){var _0x2792cd=_0x5549f4;if(this['_transitionLocked'])throw new Error(_0x2792cd(0x203));this[_0x2792cd(0x18d)]=!0x0;}[_0x5549f4(0x1f8)](_0x9b54af){var _0x349963=_0x5549f4;this[_0x349963(0x2e5)](),this[_0x349963(0x13e)](this[_0x349963(0x212)][_0x349963(0x1b8)](_0x9b54af)),this[_0x349963(0x248)]();}[_0x5549f4(0x176)](_0x2a96f5){var _0x5eabbf=_0x5549f4;if(!(_0x2a96f5[_0x5eabbf(0x17b)]<=this[_0x5eabbf(0xee)][_0x5eabbf(0x2ac)](this[_0x5eabbf(0x22e)]))){if(this['_collaborationPaused']){this[_0x5eabbf(0x1b5)][_0x5eabbf(0x40f)](_0x2a96f5);return;}this[_0x5eabbf(0x382)](_0x2a96f5);}}[_0x5549f4(0x1d2)](){var _0x3f167a=_0x5549f4;this[_0x3f167a(0x1b5)][_0x3f167a(0x11a)](_0x261fc8=>this['_applyRemoteChangeset'](_0x261fc8)),this[_0x3f167a(0x1b5)]=[];}[_0x5549f4(0x382)](_0x185f83){var _0x25c7ee=_0x5549f4;const _0x358244=this[_0x25c7ee(0x10a)][_0x25c7ee(0x29c)][_0x25c7ee(0x30a)](this[_0x25c7ee(0x10a)]['interceptor']['getInterceptPoints']()[_0x25c7ee(0x416)])(_0x185f83[_0x25c7ee(0x408)],null)||_0x185f83['mutations'],_0x108a91={..._0x185f83,'mutations':_0x358244};this[_0x25c7ee(0x2e5)](),this['_updateState'](this[_0x25c7ee(0x212)][_0x25c7ee(0x16f)](_0x108a91)),this[_0x25c7ee(0x248)]();}[_0x5549f4(0x244)](_0xb7c280){var _0x5abada=_0x5549f4;this[_0x5abada(0x2e5)](),this[_0x5abada(0x13e)](this['_state']['onRemoteAck'](_0xb7c280)),this[_0x5abada(0x248)]();}[_0x5549f4(0x243)](_0x212aa2){var _0x155f8d=_0x5549f4;this[_0x155f8d(0x2e5)](),this[_0x155f8d(0x13e)](this[_0x155f8d(0x212)][_0x155f8d(0x342)](_0x212aa2)),this[_0x155f8d(0x248)]();}[_0x5549f4(0x393)](_0x1aad1){var _0x2e7698=_0x5549f4;this[_0x2e7698(0x2e5)](),this[_0x2e7698(0x13e)](this[_0x2e7698(0x212)][_0x2e7698(0x12d)](_0x1aad1)),this[_0x2e7698(0x248)]();}[_0x5549f4(0x371)](_0x28a328){var _0x2c1baf=_0x5549f4;if(!(this['_state']instanceof exports['FetchingMissState']))throw new TypeError(_0x2c1baf(0x41f));const _0x4c6911=_0x28a328[_0x2c1baf(0x1df)](_0x3acc9a=>{var _0x48e142=_0x2c1baf;const _0x2766e0=this[_0x48e142(0x10a)][_0x48e142(0x29c)][_0x48e142(0x30a)](this[_0x48e142(0x10a)]['interceptor']['getInterceptPoints']()[_0x48e142(0x416)])(_0x3acc9a[_0x48e142(0x408)],null)||_0x3acc9a[_0x48e142(0x408)];return{..._0x3acc9a,'mutations':_0x2766e0};});this[_0x2c1baf(0x2e5)](),this[_0x2c1baf(0x13e)](this[_0x2c1baf(0x212)]['onMissedChangesetFetched'](_0x4c6911)),this[_0x2c1baf(0x248)]();}[_0x5549f4(0x220)](){var _0x5d2831=_0x5549f4;this['_lockTransition'](),this[_0x5d2831(0x13e)](this[_0x5d2831(0x212)][_0x5d2831(0x367)]()),this[_0x5d2831(0x248)]();}['_toggleOnline'](_0x1179dd=!0x1){var _0x14d43a=_0x5549f4;this[_0x14d43a(0x2e5)](),this['_updateState'](this['_state']['toggleOnline']()),this['_unlockTransition']();const _0x1a5852=this[_0x14d43a(0x212)];_0x1179dd&&_0x1a5852 instanceof exports[_0x14d43a(0x2b6)]&&(this['_lockTransition'](),this[_0x14d43a(0x13e)](_0x1a5852[_0x14d43a(0x37b)]()),this[_0x14d43a(0x248)]());}async[_0x5549f4(0x2bd)](){return new Promise(_0x2722bb=>{var _0x418eed=_0x2ddb;this[_0x418eed(0x1f4)][_0x418eed(0x3d7)]['pipe'](j['take'](0x1))[_0x418eed(0x1a5)](async _0x12b356=>{var _0xd209f3=_0x418eed;_0x2722bb(await this[_0xd209f3(0x21e)](_0x12b356===se[_0xd209f3(0xe7)]));});});}[_0x5549f4(0x236)](){var _0x1b8d09=_0x5549f4;const _0xb1aa7f=this[_0x1b8d09(0x22e)];return{'onStateChange':(_0x5b3f0a,_0xf1883)=>{var _0x3cce98=_0x1b8d09;if(_0x5b3f0a!==this[_0x3cce98(0x212)])throw new Error(_0x3cce98(0x1a7)+_0x5b3f0a['status']+_0x3cce98(0x23a)+_0xf1883[_0x3cce98(0x172)]+_0x3cce98(0x290)+this[_0x3cce98(0x212)][_0x3cce98(0x172)]);this[_0x3cce98(0x13e)](_0xf1883);},'onSendChangeset':_0x26bca6=>{var _0x54bbbb=_0x1b8d09;_0x26bca6[_0x54bbbb(0x385)]||(_0x26bca6[_0x54bbbb(0x385)]=this['_changesetSessionId'],_0x26bca6[_0x54bbbb(0x3b5)]=++this[_0x54bbbb(0x106)]);const _0x3483d7={'eventID':g[_0x54bbbb(0x181)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x26bca6[_0x54bbbb(0x22e)],'unitType':this['_type'],'changeset':_0x26bca6,'memberID':this[_0x54bbbb(0x1f4)][_0x54bbbb(0xe6)]()}};this[_0x54bbbb(0x1f4)][_0x54bbbb(0x122)](_0x3483d7,this[_0x54bbbb(0x22e)]);},'onMissingChangesets':({from:_0x295d3b,to:_0x44cbf7})=>{var _0x239aec=_0x1b8d09;this[_0x239aec(0x39f)][_0x239aec(0x1f0)](_0x239aec(0x441),_0x239aec(0x302)+_0x295d3b+_0x239aec(0x21c)+_0x44cbf7);const _0x4cdf09={'eventID':g[_0x239aec(0x181)][_0x239aec(0x1b2)],'data':{'unitID':_0xb1aa7f,'unitType':this[_0x239aec(0x361)],'from':_0x295d3b,'to':_0x44cbf7}};this[_0x239aec(0x1f4)][_0x239aec(0x122)](_0x4cdf09,this[_0x239aec(0x22e)]);}};}async[_0x5549f4(0x21e)](_0x26b945){var _0x1e59ac=_0x5549f4,_0x4eb81d,_0x1b0e60,_0x347d4f;const _0x5beadd=await((_0x4eb81d=this[_0x1e59ac(0x130)])==null?void 0x0:_0x4eb81d[_0x1e59ac(0x440)](this[_0x1e59ac(0x22e)])),_0x28110e=(_0x1b0e60=_0x5beadd==null?void 0x0:_0x5beadd[_0x1e59ac(0x408)])!=null?_0x1b0e60:[],_0xc1c22=(_0x347d4f=_0x5beadd==null?void 0x0:_0x5beadd[_0x1e59ac(0x2ec)])!=null?_0x347d4f:null,_0x529176=!!(_0xc1c22!=null&&_0xc1c22[_0x1e59ac(0x385)])&&!!(_0xc1c22!=null&&_0xc1c22[_0x1e59ac(0x3b5)]);this[_0x1e59ac(0x137)]=_0x529176?_0xc1c22[_0x1e59ac(0x385)]:di(),this[_0x1e59ac(0x106)]=_0x529176?_0xc1c22[_0x1e59ac(0x3b5)]:0x0;const _0x564a11=this[_0x1e59ac(0x22e)];try{this[_0x1e59ac(0x263)](_0xc1c22,_0x28110e);}catch(_0x17e3be){this[_0x1e59ac(0x39f)][_0x1e59ac(0x348)](_0x17e3be);}const _0x599347=this[_0x1e59ac(0x236)]();if(_0x26b945){const _0x432d97=Dt(this[_0x1e59ac(0x1f6)],_0x564a11,this['_type'],_0xc1c22,_0x28110e,_0x599347);return _0x432d97 instanceof exports[_0x1e59ac(0x22b)]?_0x432d97['_schedule']():(_0x432d97 instanceof exports['AwaitingWithPendingState']||_0x432d97 instanceof exports[_0x1e59ac(0x2f4)])&&_0x432d97[_0x1e59ac(0x40a)](),_0x432d97;}return this[_0x1e59ac(0x1f6)]['createInstance'](exports['OfflineState'],_0x564a11,this[_0x1e59ac(0x361)],_0xc1c22,_0x28110e,_0x599347);}[_0x5549f4(0x263)](_0x2ee495,_0x947513){var _0x9ed032=_0x5549f4,_0x235a39,_0x42f8ac;const _0x25db93=this[_0x9ed032(0x10a)][_0x9ed032(0x29c)]['fetchThroughInterceptors'](this[_0x9ed032(0x10a)][_0x9ed032(0x29c)]['getInterceptPoints']()[_0x9ed032(0x416)]);(_0x235a39=_0x25db93((_0x2ee495==null?void 0x0:_0x2ee495[_0x9ed032(0x408)])||[],null))==null||_0x235a39[_0x9ed032(0x11a)](_0xdcf23e=>this['_commandService'][_0x9ed032(0x131)](_0xdcf23e['id'],_0xdcf23e[_0x9ed032(0x442)])),(_0x42f8ac=_0x25db93(_0x947513||[],null))==null||_0x42f8ac[_0x9ed032(0x11a)](_0x514ebf=>this[_0x9ed032(0x1e5)][_0x9ed032(0x131)](_0x514ebf['id'],_0x514ebf[_0x9ed032(0x442)]));}},exports[_0x5549f4(0x31f)]=We([$(0x3,a[_0x5549f4(0x3ef)](a['Injector'])),$(0x4,a['Inject'](g['CompressMutationService'])),$(0x5,a[_0x5549f4(0x3ef)](a['LocaleService'])),$(0x6,a[_0x5549f4(0x3ef)](g['RevisionService'])),$(0x7,a[_0x5549f4(0x3ef)](te)),$(0x8,a[_0x5549f4(0x316)]),$(0x9,a['ICommandService']),$(0xa,a[_0x5549f4(0x392)]),$(0xb,a[_0x5549f4(0x32f)](ve)),$(0xc,a['Optional'](z))],exports[_0x5549f4(0x31f)]),exports[_0x5549f4(0x3bd)]=class extends exports[_0x5549f4(0x31f)]{constructor(_0x25ae92,_0xe87e2b,_0x37c8b7,_0x4e1126,_0x3edd93,_0x298d52,_0x138162,_0x11b03c,_0x232e1d,_0x27c225,_0x556cc5,_0x525df1,_0x3d7e5f){var _0xbc148=_0x5549f4;super(_0x25ae92,_0x37c8b7,_0xe87e2b,_0x4e1126,_0x3edd93,_0x298d52,_0x138162,_0x11b03c,_0x232e1d,_0x27c225,_0x556cc5,_0x525df1,_0x3d7e5f),A(this,_0xbc148(0xf5),null),(this[_0xbc148(0x22e)]=_0x25ae92,this[_0xbc148(0x2e3)]=_0xe87e2b);}['addHandlerCallback'](_0x51bd7a){var _0x77ee40=_0x5549f4;this[_0x77ee40(0xf5)]=_0x51bd7a;}[_0x5549f4(0x33b)](){var _0x58cdfd=_0x5549f4;this[_0x58cdfd(0xf5)]=null,super[_0x58cdfd(0x33b)]();}[_0x5549f4(0x236)](){var _0x49b98e=_0x5549f4;const _0xdebcd5=super[_0x49b98e(0x236)]();return _0xdebcd5[_0x49b98e(0x247)]=_0x7c4e52=>{var _0x2d079f=_0x49b98e,_0x34270b,_0x2545b3;return(_0x2545b3=(_0x34270b=this[_0x2d079f(0xf5)])==null?void 0x0:_0x34270b[_0x2d079f(0x247)])==null?void 0x0:_0x2545b3[_0x2d079f(0x282)](_0x34270b,_0x7c4e52);},_0xdebcd5[_0x49b98e(0x3f5)]=_0x31ad42=>{var _0x3e3c46=_0x49b98e,_0x2d1f01,_0x373edb;return(_0x373edb=(_0x2d1f01=this[_0x3e3c46(0xf5)])==null?void 0x0:_0x2d1f01[_0x3e3c46(0x3f5)])==null?void 0x0:_0x373edb[_0x3e3c46(0x282)](_0x2d1f01,_0x31ad42);},_0xdebcd5['onTransformSelections']=_0x5487e3=>{var _0x913439=_0x49b98e,_0x11390a,_0x2ff4ff;return(_0x2ff4ff=(_0x11390a=this['_handlerCallback'])==null?void 0x0:_0x11390a[_0x913439(0x187)])==null?void 0x0:_0x2ff4ff[_0x913439(0x282)](_0x11390a,_0x5487e3);},_0xdebcd5[_0x49b98e(0x351)]=_0x1eda81=>{var _0x3a6346=_0x49b98e,_0x1563d4,_0x5a4ca5;return(_0x5a4ca5=(_0x1563d4=this['_handlerCallback'])==null?void 0x0:_0x1563d4[_0x3a6346(0x351)])==null?void 0x0:_0x5a4ca5[_0x3a6346(0x282)](_0x1563d4,_0x1eda81);},_0xdebcd5[_0x49b98e(0x3f3)]=_0x3fd9dc=>{var _0x480889=_0x49b98e,_0x2b00ba,_0x3bfaef,_0x69ec82;if(!((_0x2b00ba=this[_0x480889(0xf5)])!=null&&_0x2b00ba[_0x480889(0x3f3)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x69ec82=(_0x3bfaef=this['_handlerCallback'])==null?void 0x0:_0x3bfaef['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x69ec82[_0x480889(0x282)](_0x3bfaef,_0x3fd9dc);},_0xdebcd5[_0x49b98e(0x3bb)]=_0x39cd9f=>{var _0x659236=_0x49b98e,_0xdcace,_0x1b2ade,_0x29e9ec;if(!((_0xdcace=this['_handlerCallback'])!=null&&_0xdcace['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x29e9ec=(_0x1b2ade=this[_0x659236(0xf5)])==null?void 0x0:_0x1b2ade[_0x659236(0x3bb)])==null?void 0x0:_0x29e9ec[_0x659236(0x282)](_0x1b2ade,_0x39cd9f);},_0xdebcd5;}async['_init'](){var _0x5b8528=_0x5549f4;const _0xdf5134=await super[_0x5b8528(0x453)]();return this['disposeWithMe'](this['_commandService'][_0x5b8528(0x19c)]((_0x1265bf,_0x45aa7b)=>{var _0xf387fe=_0x5b8528;if(_0x1265bf['type']!==a['CommandType'][_0xf387fe(0x3e3)]||_0x45aa7b!=null&&_0x45aa7b[_0xf387fe(0x3b2)]||_0x45aa7b!=null&&_0x45aa7b[_0xf387fe(0x1ef)]||_0x1265bf['id']===ut['RichTextEditingMutation']['id'])return;const _0x2b3a51=_0x1265bf[_0xf387fe(0x442)];if((_0x2b3a51==null?void 0x0:_0x2b3a51[_0xf387fe(0x2b3)])!==this['unitID'])return;const _0xc08336=_0x1265bf,_0x1fc4e2=this['_compressMutationService'][_0xf387fe(0x29c)][_0xf387fe(0x30a)](this[_0xf387fe(0x10a)][_0xf387fe(0x29c)][_0xf387fe(0x24c)]()['COMPRESS_MUTATION_SEND'])([_0xc08336],null)||[_0xc08336];this[_0xf387fe(0x1f8)](_0x1fc4e2[0x0]);})),_0xdf5134;}},exports[_0x5549f4(0x3bd)]=We([$(0x3,a[_0x5549f4(0x3ef)](a[_0x5549f4(0x165)])),$(0x4,a[_0x5549f4(0x3ef)](g[_0x5549f4(0x1a2)])),$(0x5,a[_0x5549f4(0x3ef)](a[_0x5549f4(0x2c3)])),$(0x6,a[_0x5549f4(0x3ef)](g[_0x5549f4(0x45b)])),$(0x7,a[_0x5549f4(0x3ef)](te)),$(0x8,a[_0x5549f4(0x316)]),$(0x9,a[_0x5549f4(0x2e6)]),$(0xa,a['IPermissionService']),$(0xb,a[_0x5549f4(0x32f)](ve)),$(0xc,a[_0x5549f4(0x32f)](z))],exports[_0x5549f4(0x3bd)]),exports[_0x5549f4(0x145)]=class extends exports[_0x5549f4(0x31f)]{constructor(_0x1040ce,_0x292060,_0x5b3feb,_0x489d35,_0x5785a0,_0x4e63bc,_0x54539e,_0x5cad79,_0x1ed8fc,_0x517c63,_0x15b1c6,_0x17714e,_0xd158b7,_0x7d8d18){var _0x1c2ae8=_0x5549f4;super(_0x1040ce,_0x5b3feb,_0x292060,_0x489d35,_0x5785a0,_0x4e63bc,_0x54539e,_0x1ed8fc,_0x517c63,_0x15b1c6,_0x17714e,_0xd158b7,_0x7d8d18),this[_0x1c2ae8(0x22e)]=_0x1040ce,this[_0x1c2ae8(0x2e3)]=_0x292060,this[_0x1c2ae8(0x411)]=_0x5cad79;}['_createHandler'](){var _0x3bd6ee=_0x5549f4;const _0x51f390=super['_createHandler']();return _0x51f390[_0x3bd6ee(0x187)]=_0x569a5a=>this[_0x3bd6ee(0x411)][_0x3bd6ee(0x15e)](_0x569a5a),_0x51f390;}async[_0x5549f4(0x453)](){var _0x3898b1=_0x5549f4;const _0x237123=await super[_0x3898b1(0x453)]();return this[_0x3898b1(0x406)](this[_0x3898b1(0x1e5)][_0x3898b1(0x19c)]((_0x5f2c1a,_0x15613e)=>{var _0x30eedb=_0x3898b1;if(_0x5f2c1a[_0x30eedb(0x2e3)]!==a[_0x30eedb(0x384)][_0x30eedb(0x3e3)]||_0x15613e!=null&&_0x15613e['fromCollab']||_0x15613e!=null&&_0x15613e[_0x30eedb(0x1ef)])return;const _0x5b8d38=_0x5f2c1a['params'];if((_0x5b8d38==null?void 0x0:_0x5b8d38[_0x30eedb(0x2b3)])!==this[_0x30eedb(0x22e)])return;const _0x23ef35=_0x5f2c1a,_0x4f053c=this[_0x30eedb(0x10a)][_0x30eedb(0x29c)][_0x30eedb(0x30a)](this[_0x30eedb(0x10a)][_0x30eedb(0x29c)][_0x30eedb(0x24c)]()[_0x30eedb(0x30d)])([_0x23ef35],null)||[_0x23ef35];this[_0x30eedb(0x1f8)](_0x4f053c[0x0]);})),_0x237123;}},exports[_0x5549f4(0x145)]=We([$(0x3,a[_0x5549f4(0x3ef)](a[_0x5549f4(0x165)])),$(0x4,a[_0x5549f4(0x3ef)](g[_0x5549f4(0x1a2)])),$(0x5,a[_0x5549f4(0x3ef)](a['LocaleService'])),$(0x6,a[_0x5549f4(0x3ef)](g[_0x5549f4(0x45b)])),$(0x7,a['Inject'](exports[_0x5549f4(0x3e6)])),$(0x8,a[_0x5549f4(0x3ef)](te)),$(0x9,a['ILogService']),$(0xa,a[_0x5549f4(0x2e6)]),$(0xb,a[_0x5549f4(0x392)]),$(0xc,a[_0x5549f4(0x32f)](ve)),$(0xd,a[_0x5549f4(0x32f)](z))],exports['SheetCollaborationEntity']);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0xa31b78,_0x3fbaf3,_0x47a4fc,_0x3eaae2)=>{var _0x37fb6d=_0x5549f4;for(var _0x8329e3=_0x3eaae2>0x1?void 0x0:_0x3eaae2?Ti(_0x3fbaf3,_0x47a4fc):_0x3fbaf3,_0x543981=_0xa31b78[_0x37fb6d(0x3d5)]-0x1,_0x3571db;_0x543981>=0x0;_0x543981--)(_0x3571db=_0xa31b78[_0x543981])&&(_0x8329e3=_0x3571db(_0x8329e3)||_0x8329e3);return _0x8329e3;},Pe=(_0x28cbb2,_0x52a0e4)=>(_0x32f6d0,_0x5d3e3f)=>_0x52a0e4(_0x32f6d0,_0x5d3e3f,_0x28cbb2);exports[_0x5549f4(0x26a)]=class extends a['RxDisposable']{constructor(_0x47004b,_0x1dcd09,_0x19d978){var _0x327737=_0x5549f4;super(),A(this,_0x327737(0x200),new Map()),A(this,_0x327737(0x2ca),new j[(_0x327737(0x295))]()),A(this,_0x327737(0x389),this[_0x327737(0x2ca)]['asObservable']()),(this['_injector']=_0x47004b,this[_0x327737(0x3c8)]=_0x1dcd09,this[_0x327737(0x24d)]=_0x19d978,this['_init']());}[_0x5549f4(0x33b)](){var _0x1c8074=_0x5549f4;super[_0x1c8074(0x33b)](),this[_0x1c8074(0x200)][_0x1c8074(0x11a)](_0x467168=>_0x467168[_0x1c8074(0x33b)]()),this[_0x1c8074(0x200)][_0x1c8074(0x2e0)]();}[_0x5549f4(0x114)](_0x521968){var _0x12c9ed=_0x5549f4,_0x7133c;return(_0x7133c=this['_entities'][_0x12c9ed(0x297)](_0x521968))!=null?_0x7133c:null;}['getCollabEntity$'](_0x50066e){var _0x20c8b5=_0x5549f4;const _0x5546b6=this[_0x20c8b5(0x114)](_0x50066e);return _0x5546b6?j['of'](_0x5546b6):this[_0x20c8b5(0x2ca)][_0x20c8b5(0x143)](V[_0x20c8b5(0x2f7)](_0x10aa81=>_0x10aa81[_0x20c8b5(0x22e)]===_0x50066e));}[_0x5549f4(0x1fa)](_0x23d680){var _0x23a8a8=_0x5549f4;return j[_0x23a8a8(0x3fb)](this['getCollabEntity$'](_0x23d680)['pipe'](V[_0x23a8a8(0x1df)](()=>{})));}[_0x5549f4(0x453)](){var _0x281695=_0x5549f4;this[_0x281695(0x24d)][_0x281695(0x338)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x281695(0x143)](j['takeUntil'](this[_0x281695(0x1ec)]),V[_0x281695(0x2ae)](0x10))['subscribe'](async _0x17d00c=>{var _0x2769df=_0x281695;const _0x35656c=_0x17d00c[_0x2769df(0x279)](),_0x59de0f=await this['_startCollaboration'](_0x35656c,X['UNIVER_SHEET']);this[_0x2769df(0x200)][_0x2769df(0x45d)](_0x35656c,_0x59de0f);}),this[_0x281695(0x24d)][_0x281695(0x338)](a[_0x281695(0x3b1)][_0x281695(0x451)])['pipe'](j[_0x281695(0x29a)](this[_0x281695(0x1ec)]),V[_0x281695(0x2ae)](0x10))[_0x281695(0x143)](V[_0x281695(0x2f7)](_0x4ad9b9=>!_0x4ad9b9['getUnitId']()[_0x281695(0x362)]('__')))[_0x281695(0x1a5)](async _0x1e6ff6=>{var _0x3a43ba=_0x281695;const _0xe68a1d=_0x1e6ff6[_0x3a43ba(0x279)](),_0x220bb4=await this['_startCollaboration'](_0xe68a1d,X[_0x3a43ba(0x451)]);this[_0x3a43ba(0x200)][_0x3a43ba(0x45d)](_0xe68a1d,_0x220bb4);}),j['merge'](this[_0x281695(0x24d)][_0x281695(0x35c)](a['UniverInstanceType'][_0x281695(0x1f3)]),this['_univerInstanceService'][_0x281695(0x35c)](a[_0x281695(0x3b1)][_0x281695(0x451)]))['pipe'](j[_0x281695(0x29a)](this[_0x281695(0x1ec)]))['subscribe'](_0xa6e745=>{var _0x273faa=_0x281695;const _0x306e16=_0xa6e745[_0x273faa(0x279)](),_0x1d22b3=this[_0x273faa(0x200)]['get'](_0x306e16);_0x1d22b3&&(_0x1d22b3[_0x273faa(0x33b)](),this[_0x273faa(0x200)]['delete'](_0x306e16));});}async['_startCollaboration'](_0x3290c2,_0x13ec13){var _0x19456e=_0x5549f4;const _0x4d54e4=await this['_collabSessionService'][_0x19456e(0x343)](_0x3290c2),_0x2d8d31=this[_0x19456e(0x1f6)][_0x19456e(0xff)](this[_0x19456e(0x298)](_0x13ec13),_0x3290c2,_0x13ec13,_0x4d54e4);return await _0x2d8d31[_0x19456e(0x2c1)](),this[_0x19456e(0x2ca)]['next'](_0x2d8d31),_0x2d8d31;}[_0x5549f4(0x298)](_0x562e92){var _0xf51f28=_0x5549f4;switch(_0x562e92){case X[_0xf51f28(0x451)]:return exports['DocCollaborationEntity'];case X[_0xf51f28(0x1f3)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0xf51f28(0x1ff)+_0x562e92);}}},exports[_0x5549f4(0x26a)]=bi([Pe(0x0,a[_0x5549f4(0x3ef)](a['Injector'])),Pe(0x1,a[_0x5549f4(0x3ef)](exports[_0x5549f4(0x374)])),Pe(0x2,a[_0x5549f4(0x38f)])],exports['CollaborationController']);var Ri=Object[_0x5549f4(0x3db)],Oi=(_0x28d8c2,_0x5403c1,_0x19e89b,_0x53e5c6)=>{var _0x56df22=_0x5549f4;for(var _0x42f27b=_0x53e5c6>0x1?void 0x0:_0x53e5c6?Ri(_0x5403c1,_0x19e89b):_0x5403c1,_0x528b3f=_0x28d8c2[_0x56df22(0x3d5)]-0x1,_0x5532fe;_0x528b3f>=0x0;_0x528b3f--)(_0x5532fe=_0x28d8c2[_0x528b3f])&&(_0x42f27b=_0x5532fe(_0x42f27b)||_0x42f27b);return _0x42f27b;},Je=(_0x27f52e,_0x3e44ba)=>(_0x4db9a3,_0x25ed41)=>_0x3e44ba(_0x4db9a3,_0x25ed41,_0x27f52e);const yi=_0x5549f4(0x170),Ni='Univer';let He=class extends a['Disposable']{constructor(_0x285b3b,_0x4eb2f3){var _0x5962f2=_0x5549f4;super(),this[_0x5962f2(0x24d)]=_0x285b3b,this[_0x5962f2(0x1d9)]=_0x4eb2f3,this[_0x5962f2(0x453)]();}[_0x5549f4(0x453)](){var _0x174bf2=_0x5549f4;this['disposeWithMe'](this[_0x174bf2(0x24d)][_0x174bf2(0x3ea)][_0x174bf2(0x1a5)](()=>{var _0x113924=_0x174bf2,_0x48d776;const _0x842def=this['_univerInstanceService'][_0x113924(0x242)]();let _0x340d42=(_0x48d776=this[_0x113924(0x1d9)][_0x113924(0x2d2)](yi))!=null?_0x48d776:Ni;_0x842def instanceof a['Workbook']&&(_0x340d42=_0x842def[_0x113924(0x356)]),document[_0x113924(0x215)]=_0x340d42;}));}};He=Oi([Je(0x0,a[_0x5549f4(0x38f)]),Je(0x1,a[_0x5549f4(0x1c4)])],He);var Di=Object[_0x5549f4(0x3db)],Ui=(_0x2e1c0e,_0x1868d1,_0x395ebe,_0x3282ab)=>{var _0x3fc090=_0x5549f4;for(var _0x1d7e11=_0x3282ab>0x1?void 0x0:_0x3282ab?Di(_0x1868d1,_0x395ebe):_0x1868d1,_0x2a3063=_0x2e1c0e[_0x3fc090(0x3d5)]-0x1,_0x13eea5;_0x2a3063>=0x0;_0x2a3063--)(_0x13eea5=_0x2e1c0e[_0x2a3063])&&(_0x1d7e11=_0x13eea5(_0x1d7e11)||_0x1d7e11);return _0x1d7e11;},we=(_0x2d29be,_0x1d6922)=>(_0x2bc164,_0x1004be)=>_0x1d6922(_0x2bc164,_0x1004be,_0x2d29be);let ye=class{constructor(_0xacf358,_0x320e5d,_0x536b1a){var _0x31bb09=_0x5549f4;this[_0x31bb09(0x1d9)]=_0xacf358,this[_0x31bb09(0x13d)]=_0x320e5d,this[_0x31bb09(0x2f9)]=_0x536b1a,this[_0x31bb09(0x2c1)]();}[_0x5549f4(0x2c1)](){var _0x5f173e=_0x5549f4;this[_0x5f173e(0x13d)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x368fd5,_0x32f2af)=>_0x32f2af(_0x368fd5)['pipe'](j[_0x5f173e(0x25d)](async _0x57854c=>{var _0x270f64=_0x5f173e;const _0x1fd05f=_0x57854c;if(_0x1fd05f[_0x270f64(0x172)]===0x191){if(typeof window>'u')throw new Error(_0x270f64(0x1de));if(window[_0x270f64(0x1a0)](this[_0x270f64(0x2f9)]['t']('auth.needGotoLoginAlert'))){const _0x2c0f8f=window[_0x270f64(0x431)](window[_0x270f64(0x3bf)]['href']);window[_0x270f64(0x3bf)][_0x270f64(0xed)]=this[_0x270f64(0x1f5)]()+_0x270f64(0x31a)+_0x2c0f8f;}}return _0x1fd05f;}))});}[_0x5549f4(0x1f5)](){var _0x18f9b5=_0x5549f4,_0x7fb586,_0x290ae7;const _0x4d028d=this[_0x18f9b5(0x1d9)]['getConfig'](Et),_0x52ca07=this[_0x18f9b5(0x1d9)][_0x18f9b5(0x2d2)](Y);return(_0x290ae7=(_0x7fb586=_0x52ca07==null?void 0x0:_0x52ca07[_0x18f9b5(0x410)])!=null?_0x7fb586:_0x4d028d)!=null?_0x290ae7:Yt;}};ye=Ui([we(0x0,a[_0x5549f4(0x1c4)]),we(0x1,a[_0x5549f4(0x3ef)](q[_0x5549f4(0x2aa)])),we(0x2,a[_0x5549f4(0x3ef)](a[_0x5549f4(0x2c3)]))],ye);var Ai=Object[_0x5549f4(0x3db)],Pi=(_0x4a8ccf,_0x41a2f4,_0x5ebe61,_0x5c31ae)=>{var _0x376830=_0x5549f4;for(var _0x328b3f=_0x5c31ae>0x1?void 0x0:_0x5c31ae?Ai(_0x41a2f4,_0x5ebe61):_0x41a2f4,_0x2bf55e=_0x4a8ccf[_0x376830(0x3d5)]-0x1,_0x442239;_0x2bf55e>=0x0;_0x2bf55e--)(_0x442239=_0x4a8ccf[_0x2bf55e])&&(_0x328b3f=_0x442239(_0x328b3f)||_0x328b3f);return _0x328b3f;},Xe=(_0x5660dc,_0x12a7bb)=>(_0xd9f16d,_0x6ebd7f)=>_0x12a7bb(_0xd9f16d,_0x6ebd7f,_0x5660dc);const Ge=_0x5549f4(0x219),wi=_0x5549f4(0x1ee);exports[_0x5549f4(0x3a8)]=class extends a[_0x5549f4(0x376)]{constructor(_0x461e58,_0x227f03){var _0x79564=_0x5549f4;super(),this[_0x79564(0x13f)]=_0x461e58,this[_0x79564(0x1d9)]=_0x227f03,this[_0x79564(0x2de)]();}[_0x5549f4(0x2de)](){var _0x39c975=_0x5549f4;const _0x57509f=this;this[_0x39c975(0x406)](this[_0x39c975(0x13f)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x39c975(0x1ba)]({'isMatch'(_0x20e8ef){var _0x4c1ced=_0x39c975,_0xb9da17;if(_0x20e8ef[_0x4c1ced(0x10e)]===_0x4c1ced(0x45f)&&((_0xb9da17=_0x20e8ef[_0x4c1ced(0x2a9)])!=null&&_0xb9da17['body'])){const {objectID:_0x427edc,objectType:_0x24ddb7}=_0x20e8ef[_0x4c1ced(0x2a9)][_0x4c1ced(0x420)]||{};if(!_0x427edc||_0x24ddb7===void 0x0)return!0x1;const _0x5ee81d=_0x57509f[_0x4c1ced(0x112)]()+'/'+_0x24ddb7+_0x4c1ced(0x3af)+_0x427edc+_0x4c1ced(0x309);if(_0x20e8ef[_0x4c1ced(0x32d)]===_0x5ee81d)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x42ea25){var _0x371e70=_0x39c975,_0x27c7fd;return(_0x27c7fd=_0x42ea25[_0x371e70(0x2a9)])==null?void 0x0:_0x27c7fd[_0x371e70(0x420)];},'mergeParamsToRequest'(_0x2825e6,_0x110d02){var _0x14d07d=_0x39c975;const _0x4cbdbf=_0x57509f['_getAPIPrefixPath']()+_0x14d07d(0x164),_0x122f52=_0x2825e6['reduce']((_0x10f81d,_0x5edf35)=>{var _0x4b13df=_0x14d07d;const {unitID:_0x5f1e49,objectID:_0xfb5519,objectType:_0x153bd8,actions:_0x1f5639}=_0x5edf35;return _0x10f81d[_0x5f1e49]||(_0x10f81d[_0x5f1e49]={}),_0x10f81d[_0x5f1e49][_0xfb5519]||(_0x10f81d[_0x5f1e49][_0xfb5519]={'objectID':_0xfb5519,'objectType':_0x153bd8,'actions':[]}),_0x10f81d[_0x5f1e49][_0xfb5519][_0x4b13df(0x2b0)][_0x4b13df(0x40f)](..._0x1f5639),_0x10f81d;},{}),_0x3e7117=[];for(const _0x67ad0b in _0x122f52)for(const _0x54f6d7 in _0x122f52[_0x67ad0b]){const {actions:_0x33abdd,objectType:_0xe894df}=_0x122f52[_0x67ad0b][_0x54f6d7],_0x1c6ec3=[...new Set(_0x33abdd)];_0x3e7117['push']({'unitID':_0x67ad0b,'objectID':_0x54f6d7,'objectType':_0xe894df,'actions':_0x1c6ec3});}return new q[(_0x14d07d(0x13c))](_0x14d07d(0x45f),_0x4cbdbf,{'headers':_0x110d02[_0x14d07d(0x2f6)],'withCredentials':_0x110d02[_0x14d07d(0x1b0)],'responseType':_0x110d02[_0x14d07d(0x154)],'body':{'requests':_0x3e7117}});}},{'distributeResult'(_0x2ca600,_0x3bace0){var _0x2d1bca=_0x39c975;const {objectActions:_0x1317b5}=_0x2ca600;return _0x3bace0[_0x2d1bca(0x1df)](_0x2aad33=>{var _0x581204=_0x2d1bca;const {unitID:_0xe915a4,objectID:_0x112e74,actions:_0x223af5}=_0x2aad33,_0x2b36ae=_0x1317b5[_0x581204(0x1da)](_0x3386eb=>_0x3386eb['unitID']===_0xe915a4&&_0x3386eb['objectID']===_0x112e74),_0x41efa9=_0x223af5[_0x581204(0x1df)](_0x18a519=>_0x2b36ae==null?void 0x0:_0x2b36ae['actions'][_0x581204(0x1da)](_0x57febd=>_0x57febd[_0x581204(0x1e0)]===_0x18a519))[_0x581204(0x2f7)](_0xe46d20=>!!_0xe46d20);return{'config':_0x2aad33,'result':{'actions':_0x41efa9,'error':_0x2ca600[_0x581204(0x348)]}};});}})}));}['_getAPIPrefixPath'](){var _0x3df3e9=_0x5549f4,_0x3bc872,_0x1f4100;const _0x32ea03=this[_0x3df3e9(0x1d9)]['getConfig'](Ge),_0x23101e=this[_0x3df3e9(0x1d9)][_0x3df3e9(0x2d2)](Y);return(_0x1f4100=(_0x3bc872=_0x23101e==null?void 0x0:_0x23101e[_0x3df3e9(0x339)])!=null?_0x3bc872:_0x32ea03)!=null?_0x1f4100:wi;}async[_0x5549f4(0x1ae)](_0x2e0e44){var _0x5e4dac=_0x5549f4;const _0x88a571=this['_getAPIPrefixPath']()+'/'+_0x2e0e44[_0x5e4dac(0x223)]+_0x5e4dac(0x412);return(await this[_0x5e4dac(0x13f)][_0x5e4dac(0x38a)](_0x88a571,{'body':_0x2e0e44}))[_0x5e4dac(0x420)][_0x5e4dac(0x1d4)]||'';}async[_0x5549f4(0x168)](_0x13205e){var _0x92ebbc=_0x5549f4;const _0x3e983b=this[_0x92ebbc(0x112)]()+'/-/object/list';return(await this[_0x92ebbc(0x13f)][_0x92ebbc(0x38a)](_0x3e983b,{'body':_0x13205e}))['body'][_0x92ebbc(0x157)];}async[_0x5549f4(0x23b)](_0x2a534e){var _0x11b7f6=_0x5549f4,_0xac653f,_0x44d930;const _0x51c2ca=this['_getAPIPrefixPath']()+'/'+_0x2a534e[_0x11b7f6(0x223)]+_0x11b7f6(0x3af)+_0x2a534e[_0x11b7f6(0x1d4)],_0x21e7c4=await this['_HTTPService'][_0x11b7f6(0x22c)](_0x51c2ca,{'body':_0x2a534e});if(((_0x44d930=(_0xac653f=_0x21e7c4==null?void 0x0:_0x21e7c4['body'])==null?void 0x0:_0xac653f['error'])==null?void 0x0:_0x44d930['code'])!==0x1)throw new Error(_0x11b7f6(0x1cc));}async[_0x5549f4(0x175)](_0xff0ac4){var _0x2e74fa=_0x5549f4;const _0x56766e=this[_0x2e74fa(0x112)]()+'/'+_0xff0ac4[_0x2e74fa(0x223)]+'/object/'+_0xff0ac4['objectID']+_0x2e74fa(0x309);return(await this[_0x2e74fa(0x13f)][_0x2e74fa(0x38a)](_0x56766e,{'body':_0xff0ac4}))[_0x2e74fa(0x420)]['actions'];}async[_0x5549f4(0x1a1)](_0x2a650e){var _0x2b6b6b=_0x5549f4;const _0x14770b=this[_0x2b6b6b(0x112)]()+'/-/object/-/batch_allowed';return(await this[_0x2b6b6b(0x13f)]['post'](_0x14770b,{'body':{'requests':_0x2a650e}}))[_0x2b6b6b(0x420)]['objectActions'];}async['listRoles'](_0x285833){var _0x425c48=_0x5549f4;const _0x347829=this['_getAPIPrefixPath']()+'/'+_0x285833[_0x425c48(0x223)]+_0x425c48(0x14c),_0x153213=await this[_0x425c48(0x13f)][_0x425c48(0x38a)](_0x347829,{'body':_0x285833});return{'roles':_0x153213[_0x425c48(0x420)][_0x425c48(0x216)],'actions':_0x153213['body'][_0x425c48(0x2b0)]};}async[_0x5549f4(0x3f0)](_0x3b991d){var _0x4ccff4=_0x5549f4;const _0x1ef660=this[_0x4ccff4(0x112)]()+_0x4ccff4(0x3e0);await this['_HTTPService'][_0x4ccff4(0x39e)](_0x1ef660,{'params':{'collaboratorID':_0x3b991d[_0x4ccff4(0x314)],'objectID':_0x3b991d[_0x4ccff4(0x1d4)],'unitID':_0x3b991d[_0x4ccff4(0x22e)]}});}async[_0x5549f4(0x277)](_0x46f084){var _0x2690ba=_0x5549f4;const _0x1b4577=this[_0x2690ba(0x112)]()+_0x2690ba(0x3e0);await this[_0x2690ba(0x13f)][_0x2690ba(0x133)](_0x1b4577,{'body':_0x46f084});}async[_0x5549f4(0xf2)](_0x4bc910){var _0x546bc6=_0x5549f4;const _0x1ef764=this['_getAPIPrefixPath']()+_0x546bc6(0x3e0);await this[_0x546bc6(0x13f)][_0x546bc6(0x38a)](_0x1ef764,{'body':_0x4bc910});}async['listCollaborators'](_0x28e40b){var _0x4ca981=_0x5549f4;const _0x4cfbd0=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x4ca981(0x13f)][_0x4ca981(0x297)](_0x4cfbd0,{'params':{'objectID':_0x28e40b[_0x4ca981(0x1d4)],'unitID':_0x28e40b[_0x4ca981(0x22e)]}}))[_0x4ca981(0x420)][_0x4ca981(0x39b)];}async['putCollaborators'](_0x24124c){var _0x11d139=_0x5549f4;const _0x39285f=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x11d139(0x13f)][_0x11d139(0x22c)](_0x39285f,{'body':_0x24124c});}},exports[_0x5549f4(0x3a8)]=Pi([Xe(0x0,a[_0x5549f4(0x3ef)](q[_0x5549f4(0x2aa)])),Xe(0x1,a[_0x5549f4(0x3ef)](a[_0x5549f4(0x1c4)]))],exports['AuthzIoHttpService']);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x54693e){var _0x4427f6=_0x5549f4;return _0x54693e&&_0x54693e[_0x4427f6(0x461)]&&Object[_0x4427f6(0x3e2)][_0x4427f6(0x437)][_0x4427f6(0x282)](_0x54693e,'default')?_0x54693e['default']:_0x54693e;}var fe={'exports':{}};function Li(_0x357f92){var _0x1f38c4=_0x5549f4;throw new Error(_0x1f38c4(0x357)+_0x357f92+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},Mi=pe[_0x5549f4(0x294)],Ze;function ee(){var _0x550893=_0x5549f4;return Ze||(Ze=0x1,function(_0x13e863,_0xd61116){(function(_0x11b400,_0x36caae){var _0x359927=_0x2ddb;_0x13e863[_0x359927(0x294)]=_0x36caae();}(Mi,function(){var _0x11fa85=_0x11fa85||function(_0xd3d594,_0x18cae5){var _0x570edc=_0x2ddb,_0x10dbc1;if(typeof window<'u'&&window[_0x570edc(0x378)]&&(_0x10dbc1=window[_0x570edc(0x378)]),typeof self<'u'&&self[_0x570edc(0x378)]&&(_0x10dbc1=self[_0x570edc(0x378)]),typeof globalThis<'u'&&globalThis[_0x570edc(0x378)]&&(_0x10dbc1=globalThis[_0x570edc(0x378)]),!_0x10dbc1&&typeof window<'u'&&window[_0x570edc(0x41e)]&&(_0x10dbc1=window[_0x570edc(0x41e)]),!_0x10dbc1&&typeof Le<'u'&&Le[_0x570edc(0x378)]&&(_0x10dbc1=Le[_0x570edc(0x378)]),!_0x10dbc1&&typeof Li==_0x570edc(0x1ab))try{_0x10dbc1=require('crypto');}catch{}var _0x16ba76=function(){var _0x2ca528=_0x570edc;if(_0x10dbc1){if(typeof _0x10dbc1[_0x2ca528(0x3ac)]==_0x2ca528(0x1ab))try{return _0x10dbc1['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x10dbc1[_0x2ca528(0x3e8)]==_0x2ca528(0x1ab))try{return _0x10dbc1[_0x2ca528(0x3e8)](0x4)[_0x2ca528(0x33d)]();}catch{}}throw new Error(_0x2ca528(0x2ef));},_0x44a28f=Object[_0x570edc(0x1ae)]||(function(){function _0x5155c7(){}return function(_0x5d79c5){var _0x229174=_0x2ddb,_0x57ab68;return _0x5155c7[_0x229174(0x3e2)]=_0x5d79c5,_0x57ab68=new _0x5155c7(),_0x5155c7[_0x229174(0x3e2)]=null,_0x57ab68;};}()),_0x1a6cec={},_0x41f701=_0x1a6cec[_0x570edc(0x33a)]={},_0x4072a3=_0x41f701[_0x570edc(0x184)]=(function(){return{'extend':function(_0x4dbb6c){var _0x27aa53=_0x2ddb,_0xa44f38=_0x44a28f(this);return _0x4dbb6c&&_0xa44f38[_0x27aa53(0x321)](_0x4dbb6c),(!_0xa44f38['hasOwnProperty'](_0x27aa53(0x2c1))||this[_0x27aa53(0x2c1)]===_0xa44f38[_0x27aa53(0x2c1)])&&(_0xa44f38['init']=function(){var _0x48ccbf=_0x27aa53;_0xa44f38['$super']['init'][_0x48ccbf(0x10f)](this,arguments);}),_0xa44f38[_0x27aa53(0x2c1)][_0x27aa53(0x3e2)]=_0xa44f38,_0xa44f38[_0x27aa53(0x19b)]=this,_0xa44f38;},'create':function(){var _0x241e1f=_0x2ddb,_0xdd255a=this['extend']();return _0xdd255a[_0x241e1f(0x2c1)][_0x241e1f(0x10f)](_0xdd255a,arguments),_0xdd255a;},'init':function(){},'mixIn':function(_0xe76008){var _0xdbb87a=_0x2ddb;for(var _0x4f25c6 in _0xe76008)_0xe76008[_0xdbb87a(0x437)](_0x4f25c6)&&(this[_0x4f25c6]=_0xe76008[_0x4f25c6]);_0xe76008[_0xdbb87a(0x437)]('toString')&&(this[_0xdbb87a(0x2b9)]=_0xe76008['toString']);},'clone':function(){var _0x1907f3=_0x2ddb;return this[_0x1907f3(0x2c1)][_0x1907f3(0x3e2)][_0x1907f3(0x17c)](this);}};}()),_0x3cf087=_0x41f701['WordArray']=_0x4072a3['extend']({'init':function(_0x41e5c4,_0x1a28c9){var _0x6c4689=_0x570edc;_0x41e5c4=this[_0x6c4689(0x1be)]=_0x41e5c4||[],_0x1a28c9!=_0x18cae5?this[_0x6c4689(0x156)]=_0x1a28c9:this[_0x6c4689(0x156)]=_0x41e5c4[_0x6c4689(0x3d5)]*0x4;},'toString':function(_0x2666fa){var _0x5d3110=_0x570edc;return(_0x2666fa||_0x1a7b20)[_0x5d3110(0x281)](this);},'concat':function(_0x2ab35d){var _0x2f7628=_0x570edc,_0x396807=this[_0x2f7628(0x1be)],_0x48db94=_0x2ab35d[_0x2f7628(0x1be)],_0xe72a6f=this[_0x2f7628(0x156)],_0x2f59d0=_0x2ab35d['sigBytes'];if(this[_0x2f7628(0x20a)](),_0xe72a6f%0x4)for(var _0x321789=0x0;_0x321789<_0x2f59d0;_0x321789++){var _0x149109=_0x48db94[_0x321789>>>0x2]>>>0x18-_0x321789%0x4*0x8&0xff;_0x396807[_0xe72a6f+_0x321789>>>0x2]|=_0x149109<<0x18-(_0xe72a6f+_0x321789)%0x4*0x8;}else{for(var _0x283f62=0x0;_0x283f62<_0x2f59d0;_0x283f62+=0x4)_0x396807[_0xe72a6f+_0x283f62>>>0x2]=_0x48db94[_0x283f62>>>0x2];}return this[_0x2f7628(0x156)]+=_0x2f59d0,this;},'clamp':function(){var _0x419ed9=_0x570edc,_0xa61de1=this[_0x419ed9(0x1be)],_0x34a597=this[_0x419ed9(0x156)];_0xa61de1[_0x34a597>>>0x2]&=0xffffffff<<0x20-_0x34a597%0x4*0x8,_0xa61de1[_0x419ed9(0x3d5)]=_0xd3d594['ceil'](_0x34a597/0x4);},'clone':function(){var _0x161602=_0x570edc,_0x36448e=_0x4072a3['clone']['call'](this);return _0x36448e[_0x161602(0x1be)]=this[_0x161602(0x1be)][_0x161602(0x3a6)](0x0),_0x36448e;},'random':function(_0x24780e){var _0x256155=_0x570edc;for(var _0x57f308=[],_0x37b5a2=0x0;_0x37b5a2<_0x24780e;_0x37b5a2+=0x4)_0x57f308[_0x256155(0x40f)](_0x16ba76());return new _0x3cf087[(_0x256155(0x2c1))](_0x57f308,_0x24780e);}}),_0x5be32e=_0x1a6cec[_0x570edc(0x3f2)]={},_0x1a7b20=_0x5be32e[_0x570edc(0x419)]={'stringify':function(_0x4af9fd){var _0x9c9304=_0x570edc;for(var _0x19ef78=_0x4af9fd[_0x9c9304(0x1be)],_0x442f5=_0x4af9fd[_0x9c9304(0x156)],_0x544d7c=[],_0x51676d=0x0;_0x51676d<_0x442f5;_0x51676d++){var _0x4a3c63=_0x19ef78[_0x51676d>>>0x2]>>>0x18-_0x51676d%0x4*0x8&0xff;_0x544d7c[_0x9c9304(0x40f)]((_0x4a3c63>>>0x4)['toString'](0x10)),_0x544d7c[_0x9c9304(0x40f)]((_0x4a3c63&0xf)['toString'](0x10));}return _0x544d7c['join']('');},'parse':function(_0x15d1aa){var _0x2e55c8=_0x570edc;for(var _0xeb1b2f=_0x15d1aa['length'],_0x1c9c08=[],_0x50c10d=0x0;_0x50c10d<_0xeb1b2f;_0x50c10d+=0x2)_0x1c9c08[_0x50c10d>>>0x3]|=parseInt(_0x15d1aa['substr'](_0x50c10d,0x2),0x10)<<0x18-_0x50c10d%0x8*0x4;return new _0x3cf087[(_0x2e55c8(0x2c1))](_0x1c9c08,_0xeb1b2f/0x2);}},_0x143ed7=_0x5be32e[_0x570edc(0x325)]={'stringify':function(_0x211969){var _0xeb4d3e=_0x570edc;for(var _0x110ebc=_0x211969['words'],_0x257ca5=_0x211969[_0xeb4d3e(0x156)],_0x234ad0=[],_0x553020=0x0;_0x553020<_0x257ca5;_0x553020++){var _0x1cb501=_0x110ebc[_0x553020>>>0x2]>>>0x18-_0x553020%0x4*0x8&0xff;_0x234ad0[_0xeb4d3e(0x40f)](String[_0xeb4d3e(0x329)](_0x1cb501));}return _0x234ad0[_0xeb4d3e(0x359)]('');},'parse':function(_0xd6ba54){var _0x44573e=_0x570edc;for(var _0x54b612=_0xd6ba54[_0x44573e(0x3d5)],_0x5b1e5d=[],_0x61e8d3=0x0;_0x61e8d3<_0x54b612;_0x61e8d3++)_0x5b1e5d[_0x61e8d3>>>0x2]|=(_0xd6ba54[_0x44573e(0x2fb)](_0x61e8d3)&0xff)<<0x18-_0x61e8d3%0x4*0x8;return new _0x3cf087[(_0x44573e(0x2c1))](_0x5b1e5d,_0x54b612);}},_0x5ac85e=_0x5be32e[_0x570edc(0x44b)]={'stringify':function(_0x17a889){var _0xbbe213=_0x570edc;try{return decodeURIComponent(escape(_0x143ed7[_0xbbe213(0x281)](_0x17a889)));}catch{throw new Error(_0xbbe213(0x465));}},'parse':function(_0x119430){return _0x143ed7['parse'](unescape(encodeURIComponent(_0x119430)));}},_0x1078f9=_0x41f701[_0x570edc(0x224)]=_0x4072a3[_0x570edc(0x17c)]({'reset':function(){var _0xd2f7fb=_0x570edc;this[_0xd2f7fb(0x2ea)]=new _0x3cf087[(_0xd2f7fb(0x2c1))](),this[_0xd2f7fb(0x186)]=0x0;},'_append':function(_0x354e33){var _0x3cdb6b=_0x570edc;typeof _0x354e33=='string'&&(_0x354e33=_0x5ac85e[_0x3cdb6b(0x39a)](_0x354e33)),this[_0x3cdb6b(0x2ea)]['concat'](_0x354e33),this['_nDataBytes']+=_0x354e33[_0x3cdb6b(0x156)];},'_process':function(_0x115dbc){var _0x50d4b9=_0x570edc,_0x2f93d1,_0x2a722c=this[_0x50d4b9(0x2ea)],_0x48d30d=_0x2a722c['words'],_0x3880c5=_0x2a722c[_0x50d4b9(0x156)],_0x443247=this[_0x50d4b9(0x3fc)],_0x5c5dc3=_0x443247*0x4,_0x2378b2=_0x3880c5/_0x5c5dc3;_0x115dbc?_0x2378b2=_0xd3d594[_0x50d4b9(0x229)](_0x2378b2):_0x2378b2=_0xd3d594[_0x50d4b9(0x3fd)]((_0x2378b2|0x0)-this[_0x50d4b9(0x3c2)],0x0);var _0x54188e=_0x2378b2*_0x443247,_0x46f2af=_0xd3d594[_0x50d4b9(0x1ac)](_0x54188e*0x4,_0x3880c5);if(_0x54188e){for(var _0xa8b6a4=0x0;_0xa8b6a4<_0x54188e;_0xa8b6a4+=_0x443247)this[_0x50d4b9(0xf8)](_0x48d30d,_0xa8b6a4);_0x2f93d1=_0x48d30d[_0x50d4b9(0x469)](0x0,_0x54188e),_0x2a722c['sigBytes']-=_0x46f2af;}return new _0x3cf087[(_0x50d4b9(0x2c1))](_0x2f93d1,_0x46f2af);},'clone':function(){var _0x64599d=_0x570edc,_0x1dca01=_0x4072a3['clone'][_0x64599d(0x282)](this);return _0x1dca01[_0x64599d(0x2ea)]=this[_0x64599d(0x2ea)][_0x64599d(0x364)](),_0x1dca01;},'_minBufferSize':0x0});_0x41f701[_0x570edc(0x37e)]=_0x1078f9[_0x570edc(0x17c)]({'cfg':_0x4072a3[_0x570edc(0x17c)](),'init':function(_0x2b3e80){var _0x5c72a2=_0x570edc;this[_0x5c72a2(0x35b)]=this[_0x5c72a2(0x35b)][_0x5c72a2(0x17c)](_0x2b3e80),this[_0x5c72a2(0x311)]();},'reset':function(){var _0x5d35d=_0x570edc;_0x1078f9[_0x5d35d(0x311)][_0x5d35d(0x282)](this),this['_doReset']();},'update':function(_0x4dacec){var _0x21706e=_0x570edc;return this[_0x21706e(0x1a9)](_0x4dacec),this[_0x21706e(0x306)](),this;},'finalize':function(_0x59e925){var _0x35acd6=_0x570edc;_0x59e925&&this[_0x35acd6(0x1a9)](_0x59e925);var _0x57bc04=this[_0x35acd6(0x12f)]();return _0x57bc04;},'blockSize':0x10,'_createHelper':function(_0x33fd1b){return function(_0x315e56,_0x2a4c5a){var _0x47c83a=_0x2ddb;return new _0x33fd1b['init'](_0x2a4c5a)[_0x47c83a(0x3ff)](_0x315e56);};},'_createHmacHelper':function(_0x5dc032){return function(_0x59c945,_0x32603f){var _0x204021=_0x2ddb;return new _0x18a5d1['HMAC'][(_0x204021(0x2c1))](_0x5dc032,_0x32603f)[_0x204021(0x3ff)](_0x59c945);};}});var _0x18a5d1=_0x1a6cec[_0x570edc(0x287)]={};return _0x1a6cec;}(Math);return _0x11fa85;}));}(pe)),pe[_0x550893(0x294)];}function _0x2ddb(_0x2c3c17,_0xba20b6){var _0x22de4d=_0x22de();return _0x2ddb=function(_0x2ddb5c,_0x333914){_0x2ddb5c=_0x2ddb5c-0xe6;var _0x2adf44=_0x22de4d[_0x2ddb5c];return _0x2adf44;},_0x2ddb(_0x2c3c17,_0xba20b6);}var ge={'exports':{}},xi=ge[_0x5549f4(0x294)],Qe;function Ut(){return Qe||(Qe=0x1,function(_0x110060,_0x1ab93f){(function(_0xcf02d,_0x2e6762){var _0x1fab77=_0x2ddb;_0x110060[_0x1fab77(0x294)]=_0x2e6762(ee());}(xi,function(_0x2fef05){var _0x366cb2=_0x2ddb;return(function(){var _0x3100bc=_0x2ddb,_0x4d1641=_0x2fef05,_0x19ba06=_0x4d1641[_0x3100bc(0x33a)],_0x207881=_0x19ba06[_0x3100bc(0x218)],_0x1442e5=_0x4d1641[_0x3100bc(0x3f2)];_0x1442e5['Base64']={'stringify':function(_0x5b2b67){var _0x29dce8=_0x3100bc,_0x345a93=_0x5b2b67['words'],_0x3e253c=_0x5b2b67[_0x29dce8(0x156)],_0x44b36f=this['_map'];_0x5b2b67[_0x29dce8(0x20a)]();for(var _0x490bba=[],_0xdb313f=0x0;_0xdb313f<_0x3e253c;_0xdb313f+=0x3)for(var _0x12b007=_0x345a93[_0xdb313f>>>0x2]>>>0x18-_0xdb313f%0x4*0x8&0xff,_0x29a252=_0x345a93[_0xdb313f+0x1>>>0x2]>>>0x18-(_0xdb313f+0x1)%0x4*0x8&0xff,_0x2d78fc=_0x345a93[_0xdb313f+0x2>>>0x2]>>>0x18-(_0xdb313f+0x2)%0x4*0x8&0xff,_0x2eee03=_0x12b007<<0x10|_0x29a252<<0x8|_0x2d78fc,_0x25617f=0x0;_0x25617f<0x4&&_0xdb313f+_0x25617f*0.75<_0x3e253c;_0x25617f++)_0x490bba[_0x29dce8(0x40f)](_0x44b36f['charAt'](_0x2eee03>>>0x6*(0x3-_0x25617f)&0x3f));var _0x2aba0e=_0x44b36f['charAt'](0x40);if(_0x2aba0e){for(;_0x490bba[_0x29dce8(0x3d5)]%0x4;)_0x490bba[_0x29dce8(0x40f)](_0x2aba0e);}return _0x490bba[_0x29dce8(0x359)]('');},'parse':function(_0x1bb0a6){var _0x17d165=_0x3100bc,_0x3412f6=_0x1bb0a6[_0x17d165(0x3d5)],_0x503ec8=this[_0x17d165(0x409)],_0x41dfe8=this[_0x17d165(0x23c)];if(!_0x41dfe8){_0x41dfe8=this['_reverseMap']=[];for(var _0x3d6ca0=0x0;_0x3d6ca0<_0x503ec8['length'];_0x3d6ca0++)_0x41dfe8[_0x503ec8['charCodeAt'](_0x3d6ca0)]=_0x3d6ca0;}var _0x41b781=_0x503ec8[_0x17d165(0x35f)](0x40);if(_0x41b781){var _0x2e70be=_0x1bb0a6['indexOf'](_0x41b781);_0x2e70be!==-0x1&&(_0x3412f6=_0x2e70be);}return _0x2f78f9(_0x1bb0a6,_0x3412f6,_0x41dfe8);},'_map':_0x3100bc(0x331)};function _0x2f78f9(_0x56f3db,_0x18ee44,_0x1ec75a){var _0x2cc3db=_0x3100bc;for(var _0x2a299=[],_0x9c408a=0x0,_0x406671=0x0;_0x406671<_0x18ee44;_0x406671++)if(_0x406671%0x4){var _0x4eff53=_0x1ec75a[_0x56f3db['charCodeAt'](_0x406671-0x1)]<<_0x406671%0x4*0x2,_0x439146=_0x1ec75a[_0x56f3db[_0x2cc3db(0x2fb)](_0x406671)]>>>0x6-_0x406671%0x4*0x2,_0x342689=_0x4eff53|_0x439146;_0x2a299[_0x9c408a>>>0x2]|=_0x342689<<0x18-_0x9c408a%0x4*0x8,_0x9c408a++;}return _0x207881[_0x2cc3db(0x1ae)](_0x2a299,_0x9c408a);}}()),_0x2fef05[_0x366cb2(0x3f2)][_0x366cb2(0x428)];}));}(ge)),ge['exports'];}var Ie={'exports':{}},ki=Ie[_0x5549f4(0x294)],et;function Hi(){var _0x399cfd=_0x5549f4;return et||(et=0x1,function(_0x7368e5,_0x34937c){(function(_0x1e3f6f,_0x32cf36){var _0x53e9f5=_0x2ddb;_0x7368e5[_0x53e9f5(0x294)]=_0x32cf36(ee());}(ki,function(_0x1d1bbe){var _0x60b0e8=_0x2ddb;return function(_0x73362e){var _0x1c3bc4=_0x2ddb,_0x32254a=_0x1d1bbe,_0x4c46da=_0x32254a[_0x1c3bc4(0x33a)],_0x227c9d=_0x4c46da[_0x1c3bc4(0x218)],_0x109125=_0x4c46da[_0x1c3bc4(0x37e)],_0x421c54=_0x32254a[_0x1c3bc4(0x287)],_0x1a1cb6=[];(function(){var _0x3eca9e=_0x1c3bc4;for(var _0x5e3b4f=0x0;_0x5e3b4f<0x40;_0x5e3b4f++)_0x1a1cb6[_0x5e3b4f]=_0x73362e[_0x3eca9e(0x353)](_0x73362e['sin'](_0x5e3b4f+0x1))*0x100000000|0x0;}());var _0x58739d=_0x421c54[_0x1c3bc4(0xf4)]=_0x109125[_0x1c3bc4(0x17c)]({'_doReset':function(){var _0x926af2=_0x1c3bc4;this['_hash']=new _0x227c9d[(_0x926af2(0x2c1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x876ef6,_0x3aac3a){var _0x2b20b2=_0x1c3bc4;for(var _0x11dfba=0x0;_0x11dfba<0x10;_0x11dfba++){var _0x3278ff=_0x3aac3a+_0x11dfba,_0xdd76c9=_0x876ef6[_0x3278ff];_0x876ef6[_0x3278ff]=(_0xdd76c9<<0x8|_0xdd76c9>>>0x18)&0xff00ff|(_0xdd76c9<<0x18|_0xdd76c9>>>0x8)&0xff00ff00;}var _0x44575e=this[_0x2b20b2(0x2ba)][_0x2b20b2(0x1be)],_0x293a48=_0x876ef6[_0x3aac3a+0x0],_0x3f0685=_0x876ef6[_0x3aac3a+0x1],_0x61c2b6=_0x876ef6[_0x3aac3a+0x2],_0x5166bc=_0x876ef6[_0x3aac3a+0x3],_0x4eddfd=_0x876ef6[_0x3aac3a+0x4],_0x375270=_0x876ef6[_0x3aac3a+0x5],_0x336f03=_0x876ef6[_0x3aac3a+0x6],_0x5e23c3=_0x876ef6[_0x3aac3a+0x7],_0x900492=_0x876ef6[_0x3aac3a+0x8],_0x1afedc=_0x876ef6[_0x3aac3a+0x9],_0x2719b3=_0x876ef6[_0x3aac3a+0xa],_0x5da5f4=_0x876ef6[_0x3aac3a+0xb],_0x490c25=_0x876ef6[_0x3aac3a+0xc],_0x9eceda=_0x876ef6[_0x3aac3a+0xd],_0xaadb43=_0x876ef6[_0x3aac3a+0xe],_0x163382=_0x876ef6[_0x3aac3a+0xf],_0x2c6cf7=_0x44575e[0x0],_0x4a3b14=_0x44575e[0x1],_0x19dc38=_0x44575e[0x2],_0x15a040=_0x44575e[0x3];_0x2c6cf7=_0x4354aa(_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x15a040,_0x293a48,0x7,_0x1a1cb6[0x0]),_0x15a040=_0x4354aa(_0x15a040,_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x3f0685,0xc,_0x1a1cb6[0x1]),_0x19dc38=_0x4354aa(_0x19dc38,_0x15a040,_0x2c6cf7,_0x4a3b14,_0x61c2b6,0x11,_0x1a1cb6[0x2]),_0x4a3b14=_0x4354aa(_0x4a3b14,_0x19dc38,_0x15a040,_0x2c6cf7,_0x5166bc,0x16,_0x1a1cb6[0x3]),_0x2c6cf7=_0x4354aa(_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x15a040,_0x4eddfd,0x7,_0x1a1cb6[0x4]),_0x15a040=_0x4354aa(_0x15a040,_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x375270,0xc,_0x1a1cb6[0x5]),_0x19dc38=_0x4354aa(_0x19dc38,_0x15a040,_0x2c6cf7,_0x4a3b14,_0x336f03,0x11,_0x1a1cb6[0x6]),_0x4a3b14=_0x4354aa(_0x4a3b14,_0x19dc38,_0x15a040,_0x2c6cf7,_0x5e23c3,0x16,_0x1a1cb6[0x7]),_0x2c6cf7=_0x4354aa(_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x15a040,_0x900492,0x7,_0x1a1cb6[0x8]),_0x15a040=_0x4354aa(_0x15a040,_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x1afedc,0xc,_0x1a1cb6[0x9]),_0x19dc38=_0x4354aa(_0x19dc38,_0x15a040,_0x2c6cf7,_0x4a3b14,_0x2719b3,0x11,_0x1a1cb6[0xa]),_0x4a3b14=_0x4354aa(_0x4a3b14,_0x19dc38,_0x15a040,_0x2c6cf7,_0x5da5f4,0x16,_0x1a1cb6[0xb]),_0x2c6cf7=_0x4354aa(_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x15a040,_0x490c25,0x7,_0x1a1cb6[0xc]),_0x15a040=_0x4354aa(_0x15a040,_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x9eceda,0xc,_0x1a1cb6[0xd]),_0x19dc38=_0x4354aa(_0x19dc38,_0x15a040,_0x2c6cf7,_0x4a3b14,_0xaadb43,0x11,_0x1a1cb6[0xe]),_0x4a3b14=_0x4354aa(_0x4a3b14,_0x19dc38,_0x15a040,_0x2c6cf7,_0x163382,0x16,_0x1a1cb6[0xf]),_0x2c6cf7=_0x385bfa(_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x15a040,_0x3f0685,0x5,_0x1a1cb6[0x10]),_0x15a040=_0x385bfa(_0x15a040,_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x336f03,0x9,_0x1a1cb6[0x11]),_0x19dc38=_0x385bfa(_0x19dc38,_0x15a040,_0x2c6cf7,_0x4a3b14,_0x5da5f4,0xe,_0x1a1cb6[0x12]),_0x4a3b14=_0x385bfa(_0x4a3b14,_0x19dc38,_0x15a040,_0x2c6cf7,_0x293a48,0x14,_0x1a1cb6[0x13]),_0x2c6cf7=_0x385bfa(_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x15a040,_0x375270,0x5,_0x1a1cb6[0x14]),_0x15a040=_0x385bfa(_0x15a040,_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x2719b3,0x9,_0x1a1cb6[0x15]),_0x19dc38=_0x385bfa(_0x19dc38,_0x15a040,_0x2c6cf7,_0x4a3b14,_0x163382,0xe,_0x1a1cb6[0x16]),_0x4a3b14=_0x385bfa(_0x4a3b14,_0x19dc38,_0x15a040,_0x2c6cf7,_0x4eddfd,0x14,_0x1a1cb6[0x17]),_0x2c6cf7=_0x385bfa(_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x15a040,_0x1afedc,0x5,_0x1a1cb6[0x18]),_0x15a040=_0x385bfa(_0x15a040,_0x2c6cf7,_0x4a3b14,_0x19dc38,_0xaadb43,0x9,_0x1a1cb6[0x19]),_0x19dc38=_0x385bfa(_0x19dc38,_0x15a040,_0x2c6cf7,_0x4a3b14,_0x5166bc,0xe,_0x1a1cb6[0x1a]),_0x4a3b14=_0x385bfa(_0x4a3b14,_0x19dc38,_0x15a040,_0x2c6cf7,_0x900492,0x14,_0x1a1cb6[0x1b]),_0x2c6cf7=_0x385bfa(_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x15a040,_0x9eceda,0x5,_0x1a1cb6[0x1c]),_0x15a040=_0x385bfa(_0x15a040,_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x61c2b6,0x9,_0x1a1cb6[0x1d]),_0x19dc38=_0x385bfa(_0x19dc38,_0x15a040,_0x2c6cf7,_0x4a3b14,_0x5e23c3,0xe,_0x1a1cb6[0x1e]),_0x4a3b14=_0x385bfa(_0x4a3b14,_0x19dc38,_0x15a040,_0x2c6cf7,_0x490c25,0x14,_0x1a1cb6[0x1f]),_0x2c6cf7=_0x264214(_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x15a040,_0x375270,0x4,_0x1a1cb6[0x20]),_0x15a040=_0x264214(_0x15a040,_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x900492,0xb,_0x1a1cb6[0x21]),_0x19dc38=_0x264214(_0x19dc38,_0x15a040,_0x2c6cf7,_0x4a3b14,_0x5da5f4,0x10,_0x1a1cb6[0x22]),_0x4a3b14=_0x264214(_0x4a3b14,_0x19dc38,_0x15a040,_0x2c6cf7,_0xaadb43,0x17,_0x1a1cb6[0x23]),_0x2c6cf7=_0x264214(_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x15a040,_0x3f0685,0x4,_0x1a1cb6[0x24]),_0x15a040=_0x264214(_0x15a040,_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x4eddfd,0xb,_0x1a1cb6[0x25]),_0x19dc38=_0x264214(_0x19dc38,_0x15a040,_0x2c6cf7,_0x4a3b14,_0x5e23c3,0x10,_0x1a1cb6[0x26]),_0x4a3b14=_0x264214(_0x4a3b14,_0x19dc38,_0x15a040,_0x2c6cf7,_0x2719b3,0x17,_0x1a1cb6[0x27]),_0x2c6cf7=_0x264214(_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x15a040,_0x9eceda,0x4,_0x1a1cb6[0x28]),_0x15a040=_0x264214(_0x15a040,_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x293a48,0xb,_0x1a1cb6[0x29]),_0x19dc38=_0x264214(_0x19dc38,_0x15a040,_0x2c6cf7,_0x4a3b14,_0x5166bc,0x10,_0x1a1cb6[0x2a]),_0x4a3b14=_0x264214(_0x4a3b14,_0x19dc38,_0x15a040,_0x2c6cf7,_0x336f03,0x17,_0x1a1cb6[0x2b]),_0x2c6cf7=_0x264214(_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x15a040,_0x1afedc,0x4,_0x1a1cb6[0x2c]),_0x15a040=_0x264214(_0x15a040,_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x490c25,0xb,_0x1a1cb6[0x2d]),_0x19dc38=_0x264214(_0x19dc38,_0x15a040,_0x2c6cf7,_0x4a3b14,_0x163382,0x10,_0x1a1cb6[0x2e]),_0x4a3b14=_0x264214(_0x4a3b14,_0x19dc38,_0x15a040,_0x2c6cf7,_0x61c2b6,0x17,_0x1a1cb6[0x2f]),_0x2c6cf7=_0x1a69f8(_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x15a040,_0x293a48,0x6,_0x1a1cb6[0x30]),_0x15a040=_0x1a69f8(_0x15a040,_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x5e23c3,0xa,_0x1a1cb6[0x31]),_0x19dc38=_0x1a69f8(_0x19dc38,_0x15a040,_0x2c6cf7,_0x4a3b14,_0xaadb43,0xf,_0x1a1cb6[0x32]),_0x4a3b14=_0x1a69f8(_0x4a3b14,_0x19dc38,_0x15a040,_0x2c6cf7,_0x375270,0x15,_0x1a1cb6[0x33]),_0x2c6cf7=_0x1a69f8(_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x15a040,_0x490c25,0x6,_0x1a1cb6[0x34]),_0x15a040=_0x1a69f8(_0x15a040,_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x5166bc,0xa,_0x1a1cb6[0x35]),_0x19dc38=_0x1a69f8(_0x19dc38,_0x15a040,_0x2c6cf7,_0x4a3b14,_0x2719b3,0xf,_0x1a1cb6[0x36]),_0x4a3b14=_0x1a69f8(_0x4a3b14,_0x19dc38,_0x15a040,_0x2c6cf7,_0x3f0685,0x15,_0x1a1cb6[0x37]),_0x2c6cf7=_0x1a69f8(_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x15a040,_0x900492,0x6,_0x1a1cb6[0x38]),_0x15a040=_0x1a69f8(_0x15a040,_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x163382,0xa,_0x1a1cb6[0x39]),_0x19dc38=_0x1a69f8(_0x19dc38,_0x15a040,_0x2c6cf7,_0x4a3b14,_0x336f03,0xf,_0x1a1cb6[0x3a]),_0x4a3b14=_0x1a69f8(_0x4a3b14,_0x19dc38,_0x15a040,_0x2c6cf7,_0x9eceda,0x15,_0x1a1cb6[0x3b]),_0x2c6cf7=_0x1a69f8(_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x15a040,_0x4eddfd,0x6,_0x1a1cb6[0x3c]),_0x15a040=_0x1a69f8(_0x15a040,_0x2c6cf7,_0x4a3b14,_0x19dc38,_0x5da5f4,0xa,_0x1a1cb6[0x3d]),_0x19dc38=_0x1a69f8(_0x19dc38,_0x15a040,_0x2c6cf7,_0x4a3b14,_0x61c2b6,0xf,_0x1a1cb6[0x3e]),_0x4a3b14=_0x1a69f8(_0x4a3b14,_0x19dc38,_0x15a040,_0x2c6cf7,_0x1afedc,0x15,_0x1a1cb6[0x3f]),_0x44575e[0x0]=_0x44575e[0x0]+_0x2c6cf7|0x0,_0x44575e[0x1]=_0x44575e[0x1]+_0x4a3b14|0x0,_0x44575e[0x2]=_0x44575e[0x2]+_0x19dc38|0x0,_0x44575e[0x3]=_0x44575e[0x3]+_0x15a040|0x0;},'_doFinalize':function(){var _0x12d6ac=_0x1c3bc4,_0x9c9707=this[_0x12d6ac(0x2ea)],_0x21f69e=_0x9c9707[_0x12d6ac(0x1be)],_0x48437a=this[_0x12d6ac(0x186)]*0x8,_0x8272a=_0x9c9707[_0x12d6ac(0x156)]*0x8;_0x21f69e[_0x8272a>>>0x5]|=0x80<<0x18-_0x8272a%0x20;var _0x28c6c6=_0x73362e[_0x12d6ac(0x3cc)](_0x48437a/0x100000000),_0x5d8fb9=_0x48437a;_0x21f69e[(_0x8272a+0x40>>>0x9<<0x4)+0xf]=(_0x28c6c6<<0x8|_0x28c6c6>>>0x18)&0xff00ff|(_0x28c6c6<<0x18|_0x28c6c6>>>0x8)&0xff00ff00,_0x21f69e[(_0x8272a+0x40>>>0x9<<0x4)+0xe]=(_0x5d8fb9<<0x8|_0x5d8fb9>>>0x18)&0xff00ff|(_0x5d8fb9<<0x18|_0x5d8fb9>>>0x8)&0xff00ff00,_0x9c9707['sigBytes']=(_0x21f69e['length']+0x1)*0x4,this[_0x12d6ac(0x306)]();for(var _0x45d1fa=this['_hash'],_0x493d01=_0x45d1fa[_0x12d6ac(0x1be)],_0x1a2b5c=0x0;_0x1a2b5c<0x4;_0x1a2b5c++){var _0x320dd4=_0x493d01[_0x1a2b5c];_0x493d01[_0x1a2b5c]=(_0x320dd4<<0x8|_0x320dd4>>>0x18)&0xff00ff|(_0x320dd4<<0x18|_0x320dd4>>>0x8)&0xff00ff00;}return _0x45d1fa;},'clone':function(){var _0x5f4b9c=_0x1c3bc4,_0xa681fa=_0x109125[_0x5f4b9c(0x364)][_0x5f4b9c(0x282)](this);return _0xa681fa['_hash']=this[_0x5f4b9c(0x2ba)]['clone'](),_0xa681fa;}});function _0x4354aa(_0x3d16c4,_0x3dd597,_0x1e6b6f,_0xbe9fda,_0x923e8b,_0x292137,_0x405e8d){var _0x1851e9=_0x3d16c4+(_0x3dd597&_0x1e6b6f|~_0x3dd597&_0xbe9fda)+_0x923e8b+_0x405e8d;return(_0x1851e9<<_0x292137|_0x1851e9>>>0x20-_0x292137)+_0x3dd597;}function _0x385bfa(_0x57c033,_0x239a03,_0x53a73b,_0x5e3d9a,_0x33a48c,_0x3c5d4c,_0x3dec98){var _0x1227c3=_0x57c033+(_0x239a03&_0x5e3d9a|_0x53a73b&~_0x5e3d9a)+_0x33a48c+_0x3dec98;return(_0x1227c3<<_0x3c5d4c|_0x1227c3>>>0x20-_0x3c5d4c)+_0x239a03;}function _0x264214(_0xf325ef,_0x2839bf,_0x4cfe4e,_0x7d2f2e,_0x233bd5,_0x5416b3,_0x409a81){var _0x262754=_0xf325ef+(_0x2839bf^_0x4cfe4e^_0x7d2f2e)+_0x233bd5+_0x409a81;return(_0x262754<<_0x5416b3|_0x262754>>>0x20-_0x5416b3)+_0x2839bf;}function _0x1a69f8(_0x4ca45d,_0x30c809,_0x251073,_0x5daa72,_0x5290ba,_0x13877b,_0x4fd8f0){var _0x13ad14=_0x4ca45d+(_0x251073^(_0x30c809|~_0x5daa72))+_0x5290ba+_0x4fd8f0;return(_0x13ad14<<_0x13877b|_0x13ad14>>>0x20-_0x13877b)+_0x30c809;}_0x32254a[_0x1c3bc4(0xf4)]=_0x109125[_0x1c3bc4(0x2a7)](_0x58739d),_0x32254a[_0x1c3bc4(0x134)]=_0x109125[_0x1c3bc4(0x138)](_0x58739d);}(Math),_0x1d1bbe[_0x60b0e8(0xf4)];}));}(Ie)),Ie[_0x399cfd(0x294)];}var me={'exports':{}},Ee={'exports':{}},ji=Ee[_0x5549f4(0x294)],tt;function $i(){var _0x43685c=_0x5549f4;return tt||(tt=0x1,function(_0x478fbe,_0x96d05f){(function(_0x23619a,_0xaca66a){var _0x6be8a8=_0x2ddb;_0x478fbe[_0x6be8a8(0x294)]=_0xaca66a(ee());}(ji,function(_0x1345ae){return(function(){var _0x441702=_0x2ddb,_0x2b4242=_0x1345ae,_0x4aa70e=_0x2b4242['lib'],_0x467f84=_0x4aa70e['WordArray'],_0xeedb73=_0x4aa70e[_0x441702(0x37e)],_0x51a78b=_0x2b4242[_0x441702(0x287)],_0x1efb5c=[],_0x19f0ac=_0x51a78b['SHA1']=_0xeedb73[_0x441702(0x17c)]({'_doReset':function(){var _0x17c32b=_0x441702;this[_0x17c32b(0x2ba)]=new _0x467f84[(_0x17c32b(0x2c1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4fe75b,_0x4d955f){var _0x1fa0ef=_0x441702;for(var _0x33bd3e=this[_0x1fa0ef(0x2ba)][_0x1fa0ef(0x1be)],_0x19f2b2=_0x33bd3e[0x0],_0x3b38f7=_0x33bd3e[0x1],_0x3dbd87=_0x33bd3e[0x2],_0x2981c7=_0x33bd3e[0x3],_0x5da975=_0x33bd3e[0x4],_0x1b0658=0x0;_0x1b0658<0x50;_0x1b0658++){if(_0x1b0658<0x10)_0x1efb5c[_0x1b0658]=_0x4fe75b[_0x4d955f+_0x1b0658]|0x0;else{var _0x24a673=_0x1efb5c[_0x1b0658-0x3]^_0x1efb5c[_0x1b0658-0x8]^_0x1efb5c[_0x1b0658-0xe]^_0x1efb5c[_0x1b0658-0x10];_0x1efb5c[_0x1b0658]=_0x24a673<<0x1|_0x24a673>>>0x1f;}var _0xc3a7ec=(_0x19f2b2<<0x5|_0x19f2b2>>>0x1b)+_0x5da975+_0x1efb5c[_0x1b0658];_0x1b0658<0x14?_0xc3a7ec+=(_0x3b38f7&_0x3dbd87|~_0x3b38f7&_0x2981c7)+0x5a827999:_0x1b0658<0x28?_0xc3a7ec+=(_0x3b38f7^_0x3dbd87^_0x2981c7)+0x6ed9eba1:_0x1b0658<0x3c?_0xc3a7ec+=(_0x3b38f7&_0x3dbd87|_0x3b38f7&_0x2981c7|_0x3dbd87&_0x2981c7)-0x70e44324:_0xc3a7ec+=(_0x3b38f7^_0x3dbd87^_0x2981c7)-0x359d3e2a,_0x5da975=_0x2981c7,_0x2981c7=_0x3dbd87,_0x3dbd87=_0x3b38f7<<0x1e|_0x3b38f7>>>0x2,_0x3b38f7=_0x19f2b2,_0x19f2b2=_0xc3a7ec;}_0x33bd3e[0x0]=_0x33bd3e[0x0]+_0x19f2b2|0x0,_0x33bd3e[0x1]=_0x33bd3e[0x1]+_0x3b38f7|0x0,_0x33bd3e[0x2]=_0x33bd3e[0x2]+_0x3dbd87|0x0,_0x33bd3e[0x3]=_0x33bd3e[0x3]+_0x2981c7|0x0,_0x33bd3e[0x4]=_0x33bd3e[0x4]+_0x5da975|0x0;},'_doFinalize':function(){var _0x554cb=_0x441702,_0x960e59=this[_0x554cb(0x2ea)],_0x5ea1de=_0x960e59[_0x554cb(0x1be)],_0x40485e=this['_nDataBytes']*0x8,_0x10fe9a=_0x960e59[_0x554cb(0x156)]*0x8;return _0x5ea1de[_0x10fe9a>>>0x5]|=0x80<<0x18-_0x10fe9a%0x20,_0x5ea1de[(_0x10fe9a+0x40>>>0x9<<0x4)+0xe]=Math[_0x554cb(0x3cc)](_0x40485e/0x100000000),_0x5ea1de[(_0x10fe9a+0x40>>>0x9<<0x4)+0xf]=_0x40485e,_0x960e59[_0x554cb(0x156)]=_0x5ea1de[_0x554cb(0x3d5)]*0x4,this[_0x554cb(0x306)](),this[_0x554cb(0x2ba)];},'clone':function(){var _0x4bc402=_0x441702,_0x1d6188=_0xeedb73[_0x4bc402(0x364)][_0x4bc402(0x282)](this);return _0x1d6188[_0x4bc402(0x2ba)]=this[_0x4bc402(0x2ba)][_0x4bc402(0x364)](),_0x1d6188;}});_0x2b4242['SHA1']=_0xeedb73[_0x441702(0x2a7)](_0x19f0ac),_0x2b4242['HmacSHA1']=_0xeedb73[_0x441702(0x138)](_0x19f0ac);}()),_0x1345ae['SHA1'];}));}(Ee)),Ee[_0x43685c(0x294)];}var Ce={'exports':{}},Bi=Ce[_0x5549f4(0x294)],it;function Fi(){var _0x4089f1=_0x5549f4;return it||(it=0x1,function(_0x5ccdc3,_0x97c899){(function(_0x176270,_0xb55a62){var _0x4e9d83=_0x2ddb;_0x5ccdc3[_0x4e9d83(0x294)]=_0xb55a62(ee());}(Bi,function(_0x5ce604){(function(){var _0x32f546=_0x2ddb,_0x584a8b=_0x5ce604,_0x19bc75=_0x584a8b[_0x32f546(0x33a)],_0x590584=_0x19bc75[_0x32f546(0x184)],_0x52d16d=_0x584a8b['enc'],_0x27beba=_0x52d16d[_0x32f546(0x44b)],_0x5a325e=_0x584a8b[_0x32f546(0x287)];_0x5a325e[_0x32f546(0x429)]=_0x590584[_0x32f546(0x17c)]({'init':function(_0x599350,_0x4cda9f){var _0x332602=_0x32f546;_0x599350=this[_0x332602(0x42e)]=new _0x599350[(_0x332602(0x2c1))](),typeof _0x4cda9f==_0x332602(0x1e3)&&(_0x4cda9f=_0x27beba[_0x332602(0x39a)](_0x4cda9f));var _0x57c9a3=_0x599350[_0x332602(0x3fc)],_0x37e211=_0x57c9a3*0x4;_0x4cda9f['sigBytes']>_0x37e211&&(_0x4cda9f=_0x599350[_0x332602(0x3ff)](_0x4cda9f)),_0x4cda9f[_0x332602(0x20a)]();for(var _0x4c5c03=this['_oKey']=_0x4cda9f[_0x332602(0x364)](),_0x1ee070=this[_0x332602(0x286)]=_0x4cda9f['clone'](),_0x35d6ae=_0x4c5c03['words'],_0x498c83=_0x1ee070['words'],_0x18cec1=0x0;_0x18cec1<_0x57c9a3;_0x18cec1++)_0x35d6ae[_0x18cec1]^=0x5c5c5c5c,_0x498c83[_0x18cec1]^=0x36363636;_0x4c5c03[_0x332602(0x156)]=_0x1ee070[_0x332602(0x156)]=_0x37e211,this[_0x332602(0x311)]();},'reset':function(){var _0x562ec5=_0x32f546,_0x1eec9e=this['_hasher'];_0x1eec9e[_0x562ec5(0x311)](),_0x1eec9e[_0x562ec5(0x23b)](this['_iKey']);},'update':function(_0x270092){return this['_hasher']['update'](_0x270092),this;},'finalize':function(_0x1a84b){var _0x2d79c3=_0x32f546,_0x31b271=this['_hasher'],_0x2d762e=_0x31b271[_0x2d79c3(0x3ff)](_0x1a84b);_0x31b271[_0x2d79c3(0x311)]();var _0xb2fe7f=_0x31b271['finalize'](this[_0x2d79c3(0x105)]['clone']()['concat'](_0x2d762e));return _0xb2fe7f;}});}());}));}(Ce)),Ce[_0x4089f1(0x294)];}var Vi=me[_0x5549f4(0x294)],nt;function At(){var _0x426720=_0x5549f4;return nt||(nt=0x1,function(_0x56a14e,_0x490d76){(function(_0x35d086,_0x3b2e10,_0x48207e){var _0x293e1f=_0x2ddb;_0x56a14e[_0x293e1f(0x294)]=_0x3b2e10(ee(),$i(),Fi());}(Vi,function(_0x54c9af){var _0x25a1df=_0x2ddb;return(function(){var _0x15d90c=_0x2ddb,_0x1c66dd=_0x54c9af,_0x11cee5=_0x1c66dd['lib'],_0x3c645e=_0x11cee5['Base'],_0x5e642c=_0x11cee5[_0x15d90c(0x218)],_0x473348=_0x1c66dd[_0x15d90c(0x287)],_0x57bc76=_0x473348['MD5'],_0x541a8c=_0x473348[_0x15d90c(0x1aa)]=_0x3c645e['extend']({'cfg':_0x3c645e[_0x15d90c(0x17c)]({'keySize':0x80/0x20,'hasher':_0x57bc76,'iterations':0x1}),'init':function(_0x48c253){var _0x54c661=_0x15d90c;this[_0x54c661(0x35b)]=this['cfg'][_0x54c661(0x17c)](_0x48c253);},'compute':function(_0x34985c,_0x5da508){var _0x5007bb=_0x15d90c;for(var _0x2b0950,_0x182de5=this['cfg'],_0x349c03=_0x182de5[_0x5007bb(0x1b3)][_0x5007bb(0x1ae)](),_0x4239cc=_0x5e642c[_0x5007bb(0x1ae)](),_0x200bbe=_0x4239cc[_0x5007bb(0x1be)],_0x73190f=_0x182de5[_0x5007bb(0x34b)],_0x3a44ef=_0x182de5[_0x5007bb(0x3ba)];_0x200bbe[_0x5007bb(0x3d5)]<_0x73190f;){_0x2b0950&&_0x349c03['update'](_0x2b0950),_0x2b0950=_0x349c03[_0x5007bb(0x23b)](_0x34985c)['finalize'](_0x5da508),_0x349c03[_0x5007bb(0x311)]();for(var _0x979274=0x1;_0x979274<_0x3a44ef;_0x979274++)_0x2b0950=_0x349c03['finalize'](_0x2b0950),_0x349c03[_0x5007bb(0x311)]();_0x4239cc[_0x5007bb(0x103)](_0x2b0950);}return _0x4239cc[_0x5007bb(0x156)]=_0x73190f*0x4,_0x4239cc;}});_0x1c66dd['EvpKDF']=function(_0x52951e,_0x18dafa,_0x45b746){var _0x15df7b=_0x15d90c;return _0x541a8c[_0x15df7b(0x1ae)](_0x45b746)['compute'](_0x52951e,_0x18dafa);};}()),_0x54c9af[_0x25a1df(0x1aa)];}));}(me)),me[_0x426720(0x294)];}var Te={'exports':{}},Wi=Te[_0x5549f4(0x294)],rt;function Pt(){var _0x3b2796=_0x5549f4;return rt||(rt=0x1,function(_0xd3999e,_0x3df2a6){(function(_0x3b8067,_0x30eabe,_0x5489bd){var _0x1a1dc8=_0x2ddb;_0xd3999e[_0x1a1dc8(0x294)]=_0x30eabe(ee(),At());}(Wi,function(_0x381c87){var _0x136b7a=_0x2ddb;_0x381c87[_0x136b7a(0x33a)][_0x136b7a(0x44e)]||function(_0x35d07f){var _0x7433ed=_0x136b7a,_0x4387d5=_0x381c87,_0x1cb9c7=_0x4387d5[_0x7433ed(0x33a)],_0x26e54c=_0x1cb9c7[_0x7433ed(0x184)],_0x4a0d7b=_0x1cb9c7[_0x7433ed(0x218)],_0x263a86=_0x1cb9c7[_0x7433ed(0x224)],_0x43f01d=_0x4387d5[_0x7433ed(0x3f2)];_0x43f01d[_0x7433ed(0x44b)];var _0x36caa9=_0x43f01d[_0x7433ed(0x428)],_0xc20dbe=_0x4387d5[_0x7433ed(0x287)],_0x43a856=_0xc20dbe[_0x7433ed(0x1aa)],_0x4471e4=_0x1cb9c7[_0x7433ed(0x44e)]=_0x263a86[_0x7433ed(0x17c)]({'cfg':_0x26e54c[_0x7433ed(0x17c)](),'createEncryptor':function(_0x4ab8b5,_0x1f885c){var _0x5978d5=_0x7433ed;return this[_0x5978d5(0x1ae)](this['_ENC_XFORM_MODE'],_0x4ab8b5,_0x1f885c);},'createDecryptor':function(_0x7779d0,_0x1cad81){var _0x45386e=_0x7433ed;return this['create'](this[_0x45386e(0x2c8)],_0x7779d0,_0x1cad81);},'init':function(_0x2f0e74,_0x4c3e52,_0x4749e4){var _0x3df707=_0x7433ed;this['cfg']=this['cfg'][_0x3df707(0x17c)](_0x4749e4),this[_0x3df707(0x1d8)]=_0x2f0e74,this[_0x3df707(0x255)]=_0x4c3e52,this['reset']();},'reset':function(){var _0x17f6aa=_0x7433ed;_0x263a86[_0x17f6aa(0x311)]['call'](this),this[_0x17f6aa(0x256)]();},'process':function(_0x4d7106){var _0x432de6=_0x7433ed;return this[_0x432de6(0x1a9)](_0x4d7106),this[_0x432de6(0x306)]();},'finalize':function(_0x19420c){var _0xa2a3d4=_0x7433ed;_0x19420c&&this[_0xa2a3d4(0x1a9)](_0x19420c);var _0x4b96b2=this[_0xa2a3d4(0x12f)]();return _0x4b96b2;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2c96e6(_0x4f8637){var _0x281733=_0x2ddb;return typeof _0x4f8637==_0x281733(0x1e3)?_0x2b83b3:_0xd956c0;}return function(_0x26b95f){return{'encrypt':function(_0x555d7b,_0x21d21d,_0x420abc){return _0x2c96e6(_0x21d21d)['encrypt'](_0x26b95f,_0x555d7b,_0x21d21d,_0x420abc);},'decrypt':function(_0x35cc98,_0x4f926e,_0xc66b93){var _0x3e64f4=_0x2ddb;return _0x2c96e6(_0x4f926e)[_0x3e64f4(0x430)](_0x26b95f,_0x35cc98,_0x4f926e,_0xc66b93);}};};}())});_0x1cb9c7[_0x7433ed(0x22a)]=_0x4471e4[_0x7433ed(0x17c)]({'_doFinalize':function(){var _0x41dc90=_0x7433ed,_0x13075e=this[_0x41dc90(0x306)](!0x0);return _0x13075e;},'blockSize':0x1});var _0x3b6a38=_0x4387d5[_0x7433ed(0x37d)]={},_0x118f46=_0x1cb9c7[_0x7433ed(0x27b)]=_0x26e54c[_0x7433ed(0x17c)]({'createEncryptor':function(_0x312353,_0x3ad3cb){var _0x4b67c1=_0x7433ed;return this[_0x4b67c1(0x196)][_0x4b67c1(0x1ae)](_0x312353,_0x3ad3cb);},'createDecryptor':function(_0x2c07d6,_0x5eb471){var _0x35d3a6=_0x7433ed;return this[_0x35d3a6(0x2d1)][_0x35d3a6(0x1ae)](_0x2c07d6,_0x5eb471);},'init':function(_0x3261bf,_0x3c2744){var _0x4b7e9f=_0x7433ed;this[_0x4b7e9f(0xf9)]=_0x3261bf,this['_iv']=_0x3c2744;}}),_0x377150=_0x3b6a38['CBC']=(function(){var _0x42ca92=_0x7433ed,_0x477bf8=_0x118f46['extend']();_0x477bf8[_0x42ca92(0x196)]=_0x477bf8[_0x42ca92(0x17c)]({'processBlock':function(_0x265778,_0x4132d7){var _0x36d610=_0x42ca92,_0x4b6d44=this[_0x36d610(0xf9)],_0xf59cf6=_0x4b6d44[_0x36d610(0x3fc)];_0x5e0922['call'](this,_0x265778,_0x4132d7,_0xf59cf6),_0x4b6d44['encryptBlock'](_0x265778,_0x4132d7),this[_0x36d610(0xfb)]=_0x265778['slice'](_0x4132d7,_0x4132d7+_0xf59cf6);}}),_0x477bf8['Decryptor']=_0x477bf8['extend']({'processBlock':function(_0xb2545f,_0x265fde){var _0x2c6c6b=_0x42ca92,_0x4b174c=this[_0x2c6c6b(0xf9)],_0x3d6931=_0x4b174c[_0x2c6c6b(0x3fc)],_0x571d0d=_0xb2545f['slice'](_0x265fde,_0x265fde+_0x3d6931);_0x4b174c['decryptBlock'](_0xb2545f,_0x265fde),_0x5e0922[_0x2c6c6b(0x282)](this,_0xb2545f,_0x265fde,_0x3d6931),this[_0x2c6c6b(0xfb)]=_0x571d0d;}});function _0x5e0922(_0x160846,_0x467473,_0x41613c){var _0x4edfce=_0x42ca92,_0x512968,_0x4a30ce=this[_0x4edfce(0x1b4)];_0x4a30ce?(_0x512968=_0x4a30ce,this['_iv']=_0x35d07f):_0x512968=this[_0x4edfce(0xfb)];for(var _0x42ed67=0x0;_0x42ed67<_0x41613c;_0x42ed67++)_0x160846[_0x467473+_0x42ed67]^=_0x512968[_0x42ed67];}return _0x477bf8;}()),_0x231d97=_0x4387d5[_0x7433ed(0x34d)]={},_0x12fdba=_0x231d97[_0x7433ed(0x1c5)]={'pad':function(_0x1c52ad,_0x10800e){var _0x73a934=_0x7433ed;for(var _0x40e4e3=_0x10800e*0x4,_0x98236a=_0x40e4e3-_0x1c52ad[_0x73a934(0x156)]%_0x40e4e3,_0x52c1e4=_0x98236a<<0x18|_0x98236a<<0x10|_0x98236a<<0x8|_0x98236a,_0x19ff04=[],_0x420fd2=0x0;_0x420fd2<_0x98236a;_0x420fd2+=0x4)_0x19ff04['push'](_0x52c1e4);var _0x2e2411=_0x4a0d7b[_0x73a934(0x1ae)](_0x19ff04,_0x98236a);_0x1c52ad[_0x73a934(0x103)](_0x2e2411);},'unpad':function(_0x37744a){var _0x8468ab=_0x7433ed,_0x1fba91=_0x37744a[_0x8468ab(0x1be)][_0x37744a['sigBytes']-0x1>>>0x2]&0xff;_0x37744a[_0x8468ab(0x156)]-=_0x1fba91;}};_0x1cb9c7[_0x7433ed(0x25f)]=_0x4471e4[_0x7433ed(0x17c)]({'cfg':_0x4471e4['cfg']['extend']({'mode':_0x377150,'padding':_0x12fdba}),'reset':function(){var _0x2d6415=_0x7433ed,_0x183791;_0x4471e4[_0x2d6415(0x311)]['call'](this);var _0x49f2f1=this[_0x2d6415(0x35b)],_0x3456d7=_0x49f2f1['iv'],_0x1ef0b8=_0x49f2f1['mode'];this[_0x2d6415(0x1d8)]==this[_0x2d6415(0x2dd)]?_0x183791=_0x1ef0b8[_0x2d6415(0x2c0)]:(_0x183791=_0x1ef0b8[_0x2d6415(0x162)],this[_0x2d6415(0x3c2)]=0x1),this[_0x2d6415(0x1bb)]&&this[_0x2d6415(0x1bb)][_0x2d6415(0x3f1)]==_0x183791?this['_mode'][_0x2d6415(0x2c1)](this,_0x3456d7&&_0x3456d7[_0x2d6415(0x1be)]):(this[_0x2d6415(0x1bb)]=_0x183791['call'](_0x1ef0b8,this,_0x3456d7&&_0x3456d7[_0x2d6415(0x1be)]),this[_0x2d6415(0x1bb)]['__creator']=_0x183791);},'_doProcessBlock':function(_0x295555,_0x72177a){var _0x2248a5=_0x7433ed;this[_0x2248a5(0x1bb)][_0x2248a5(0x274)](_0x295555,_0x72177a);},'_doFinalize':function(){var _0x37c849=_0x7433ed,_0x3e4e5f,_0x19ee08=this['cfg']['padding'];return this[_0x37c849(0x1d8)]==this[_0x37c849(0x2dd)]?(_0x19ee08[_0x37c849(0x34d)](this[_0x37c849(0x2ea)],this[_0x37c849(0x3fc)]),_0x3e4e5f=this[_0x37c849(0x306)](!0x0)):(_0x3e4e5f=this[_0x37c849(0x306)](!0x0),_0x19ee08[_0x37c849(0x15d)](_0x3e4e5f)),_0x3e4e5f;},'blockSize':0x80/0x20});var _0x50e2fe=_0x1cb9c7[_0x7433ed(0x125)]=_0x26e54c['extend']({'init':function(_0x31b75d){var _0x1d1d13=_0x7433ed;this[_0x1d1d13(0x321)](_0x31b75d);},'toString':function(_0xa866e8){var _0x1bcd4f=_0x7433ed;return(_0xa866e8||this[_0x1bcd4f(0x32c)])[_0x1bcd4f(0x281)](this);}}),_0x413fee=_0x4387d5[_0x7433ed(0x36e)]={},_0x32cb8a=_0x413fee['OpenSSL']={'stringify':function(_0x23ca50){var _0x49ad1f=_0x7433ed,_0x4ed0f1,_0x5f4291=_0x23ca50[_0x49ad1f(0x36f)],_0x19414e=_0x23ca50['salt'];return _0x19414e?_0x4ed0f1=_0x4a0d7b['create']([0x53616c74,0x65645f5f])[_0x49ad1f(0x103)](_0x19414e)[_0x49ad1f(0x103)](_0x5f4291):_0x4ed0f1=_0x5f4291,_0x4ed0f1[_0x49ad1f(0x2b9)](_0x36caa9);},'parse':function(_0x17ad68){var _0x3e5670=_0x7433ed,_0xdd5d14,_0x40c63e=_0x36caa9[_0x3e5670(0x39a)](_0x17ad68),_0x59d94b=_0x40c63e[_0x3e5670(0x1be)];return _0x59d94b[0x0]==0x53616c74&&_0x59d94b[0x1]==0x65645f5f&&(_0xdd5d14=_0x4a0d7b[_0x3e5670(0x1ae)](_0x59d94b[_0x3e5670(0x3a6)](0x2,0x4)),_0x59d94b[_0x3e5670(0x469)](0x0,0x4),_0x40c63e[_0x3e5670(0x156)]-=0x10),_0x50e2fe[_0x3e5670(0x1ae)]({'ciphertext':_0x40c63e,'salt':_0xdd5d14});}},_0xd956c0=_0x1cb9c7['SerializableCipher']=_0x26e54c[_0x7433ed(0x17c)]({'cfg':_0x26e54c['extend']({'format':_0x32cb8a}),'encrypt':function(_0xd089ff,_0x1f2f84,_0x49edaf,_0x410a8d){var _0x450ac5=_0x7433ed;_0x410a8d=this[_0x450ac5(0x35b)]['extend'](_0x410a8d);var _0x5100a9=_0xd089ff[_0x450ac5(0x2c0)](_0x49edaf,_0x410a8d),_0x291d05=_0x5100a9[_0x450ac5(0x3ff)](_0x1f2f84),_0x194b8e=_0x5100a9['cfg'];return _0x50e2fe[_0x450ac5(0x1ae)]({'ciphertext':_0x291d05,'key':_0x49edaf,'iv':_0x194b8e['iv'],'algorithm':_0xd089ff,'mode':_0x194b8e[_0x450ac5(0x37d)],'padding':_0x194b8e[_0x450ac5(0x206)],'blockSize':_0xd089ff['blockSize'],'formatter':_0x410a8d[_0x450ac5(0x36e)]});},'decrypt':function(_0x4be70c,_0xe6fc1c,_0x570f94,_0x50d06c){var _0x18f653=_0x7433ed;_0x50d06c=this['cfg'][_0x18f653(0x17c)](_0x50d06c),_0xe6fc1c=this['_parse'](_0xe6fc1c,_0x50d06c['format']);var _0x45781e=_0x4be70c[_0x18f653(0x162)](_0x570f94,_0x50d06c)[_0x18f653(0x3ff)](_0xe6fc1c[_0x18f653(0x36f)]);return _0x45781e;},'_parse':function(_0x702485,_0x14211d){var _0x2a8c3c=_0x7433ed;return typeof _0x702485==_0x2a8c3c(0x1e3)?_0x14211d[_0x2a8c3c(0x39a)](_0x702485,this):_0x702485;}}),_0x5bdac7=_0x4387d5[_0x7433ed(0x37f)]={},_0x321c25=_0x5bdac7['OpenSSL']={'execute':function(_0x59ce19,_0x22b79b,_0x1ceea4,_0x193ec6,_0x457a90){var _0x38819e=_0x7433ed;if(_0x193ec6||(_0x193ec6=_0x4a0d7b['random'](0x40/0x8)),_0x457a90)var _0xd2ab86=_0x43a856['create']({'keySize':_0x22b79b+_0x1ceea4,'hasher':_0x457a90})['compute'](_0x59ce19,_0x193ec6);else var _0xd2ab86=_0x43a856[_0x38819e(0x1ae)]({'keySize':_0x22b79b+_0x1ceea4})['compute'](_0x59ce19,_0x193ec6);var _0x439ad6=_0x4a0d7b[_0x38819e(0x1ae)](_0xd2ab86[_0x38819e(0x1be)][_0x38819e(0x3a6)](_0x22b79b),_0x1ceea4*0x4);return _0xd2ab86[_0x38819e(0x156)]=_0x22b79b*0x4,_0x50e2fe[_0x38819e(0x1ae)]({'key':_0xd2ab86,'iv':_0x439ad6,'salt':_0x193ec6});}},_0x2b83b3=_0x1cb9c7[_0x7433ed(0xe9)]=_0xd956c0[_0x7433ed(0x17c)]({'cfg':_0xd956c0[_0x7433ed(0x35b)][_0x7433ed(0x17c)]({'kdf':_0x321c25}),'encrypt':function(_0x1e628a,_0x1f697f,_0x55a8b0,_0x3897d8){var _0x2cacfd=_0x7433ed;_0x3897d8=this[_0x2cacfd(0x35b)][_0x2cacfd(0x17c)](_0x3897d8);var _0x22b56b=_0x3897d8['kdf'][_0x2cacfd(0x1eb)](_0x55a8b0,_0x1e628a[_0x2cacfd(0x34b)],_0x1e628a[_0x2cacfd(0x3de)],_0x3897d8[_0x2cacfd(0x39d)],_0x3897d8[_0x2cacfd(0x1b3)]);_0x3897d8['iv']=_0x22b56b['iv'];var _0x184d77=_0xd956c0[_0x2cacfd(0x14e)][_0x2cacfd(0x282)](this,_0x1e628a,_0x1f697f,_0x22b56b[_0x2cacfd(0x146)],_0x3897d8);return _0x184d77[_0x2cacfd(0x321)](_0x22b56b),_0x184d77;},'decrypt':function(_0x11e6b1,_0x47d6f6,_0x16d9bf,_0x427b97){var _0x471d5c=_0x7433ed;_0x427b97=this[_0x471d5c(0x35b)]['extend'](_0x427b97),_0x47d6f6=this['_parse'](_0x47d6f6,_0x427b97['format']);var _0x54d752=_0x427b97[_0x471d5c(0x37f)][_0x471d5c(0x1eb)](_0x16d9bf,_0x11e6b1['keySize'],_0x11e6b1[_0x471d5c(0x3de)],_0x47d6f6[_0x471d5c(0x39d)],_0x427b97['hasher']);_0x427b97['iv']=_0x54d752['iv'];var _0x2d2aec=_0xd956c0[_0x471d5c(0x430)][_0x471d5c(0x282)](this,_0x11e6b1,_0x47d6f6,_0x54d752[_0x471d5c(0x146)],_0x427b97);return _0x2d2aec;}});}();}));}(Te)),Te[_0x3b2796(0x294)];}var Gi=fe[_0x5549f4(0x294)],st;function Ki(){return st||(st=0x1,function(_0x174dfa,_0x1a8670){(function(_0xbbb394,_0x3b7064,_0x5c9c35){var _0x20fa59=_0x2ddb;_0x174dfa[_0x20fa59(0x294)]=_0x3b7064(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x4d8075){var _0x25b278=_0x2ddb;return(function(){var _0x428020=_0x2ddb,_0x3d7d0c=_0x4d8075,_0x528d67=_0x3d7d0c[_0x428020(0x33a)],_0x3468ac=_0x528d67[_0x428020(0x25f)],_0x3f6ba6=_0x3d7d0c['algo'],_0x589558=[],_0x183fca=[],_0x2b791e=[],_0x5b22e7=[],_0x2e866e=[],_0x245498=[],_0x550276=[],_0x1f8d60=[],_0xa4f8b5=[],_0x5ce3dd=[];(function(){for(var _0x22d8d3=[],_0x1ee4fd=0x0;_0x1ee4fd<0x100;_0x1ee4fd++)_0x1ee4fd<0x80?_0x22d8d3[_0x1ee4fd]=_0x1ee4fd<<0x1:_0x22d8d3[_0x1ee4fd]=_0x1ee4fd<<0x1^0x11b;for(var _0x1139b4=0x0,_0x45b28d=0x0,_0x1ee4fd=0x0;_0x1ee4fd<0x100;_0x1ee4fd++){var _0x5a8f38=_0x45b28d^_0x45b28d<<0x1^_0x45b28d<<0x2^_0x45b28d<<0x3^_0x45b28d<<0x4;_0x5a8f38=_0x5a8f38>>>0x8^_0x5a8f38&0xff^0x63,_0x589558[_0x1139b4]=_0x5a8f38,_0x183fca[_0x5a8f38]=_0x1139b4;var _0x1ca605=_0x22d8d3[_0x1139b4],_0x432aea=_0x22d8d3[_0x1ca605],_0x5f24e4=_0x22d8d3[_0x432aea],_0x51437c=_0x22d8d3[_0x5a8f38]*0x101^_0x5a8f38*0x1010100;_0x2b791e[_0x1139b4]=_0x51437c<<0x18|_0x51437c>>>0x8,_0x5b22e7[_0x1139b4]=_0x51437c<<0x10|_0x51437c>>>0x10,_0x2e866e[_0x1139b4]=_0x51437c<<0x8|_0x51437c>>>0x18,_0x245498[_0x1139b4]=_0x51437c;var _0x51437c=_0x5f24e4*0x1010101^_0x432aea*0x10001^_0x1ca605*0x101^_0x1139b4*0x1010100;_0x550276[_0x5a8f38]=_0x51437c<<0x18|_0x51437c>>>0x8,_0x1f8d60[_0x5a8f38]=_0x51437c<<0x10|_0x51437c>>>0x10,_0xa4f8b5[_0x5a8f38]=_0x51437c<<0x8|_0x51437c>>>0x18,_0x5ce3dd[_0x5a8f38]=_0x51437c,_0x1139b4?(_0x1139b4=_0x1ca605^_0x22d8d3[_0x22d8d3[_0x22d8d3[_0x5f24e4^_0x1ca605]]],_0x45b28d^=_0x22d8d3[_0x22d8d3[_0x45b28d]]):_0x1139b4=_0x45b28d=0x1;}}());var _0x532425=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x323a3c=_0x3f6ba6[_0x428020(0x3f7)]=_0x3468ac[_0x428020(0x17c)]({'_doReset':function(){var _0x349cfb=_0x428020,_0x380c4c;if(!(this[_0x349cfb(0x368)]&&this[_0x349cfb(0x121)]===this[_0x349cfb(0x255)])){for(var _0x410ecc=this['_keyPriorReset']=this[_0x349cfb(0x255)],_0x989f9b=_0x410ecc['words'],_0x9cfdfc=_0x410ecc['sigBytes']/0x4,_0x97d89f=this[_0x349cfb(0x368)]=_0x9cfdfc+0x6,_0x4725d8=(_0x97d89f+0x1)*0x4,_0x4f7ea9=this[_0x349cfb(0x2b1)]=[],_0x5a266d=0x0;_0x5a266d<_0x4725d8;_0x5a266d++)_0x5a266d<_0x9cfdfc?_0x4f7ea9[_0x5a266d]=_0x989f9b[_0x5a266d]:(_0x380c4c=_0x4f7ea9[_0x5a266d-0x1],_0x5a266d%_0x9cfdfc?_0x9cfdfc>0x6&&_0x5a266d%_0x9cfdfc==0x4&&(_0x380c4c=_0x589558[_0x380c4c>>>0x18]<<0x18|_0x589558[_0x380c4c>>>0x10&0xff]<<0x10|_0x589558[_0x380c4c>>>0x8&0xff]<<0x8|_0x589558[_0x380c4c&0xff]):(_0x380c4c=_0x380c4c<<0x8|_0x380c4c>>>0x18,_0x380c4c=_0x589558[_0x380c4c>>>0x18]<<0x18|_0x589558[_0x380c4c>>>0x10&0xff]<<0x10|_0x589558[_0x380c4c>>>0x8&0xff]<<0x8|_0x589558[_0x380c4c&0xff],_0x380c4c^=_0x532425[_0x5a266d/_0x9cfdfc|0x0]<<0x18),_0x4f7ea9[_0x5a266d]=_0x4f7ea9[_0x5a266d-_0x9cfdfc]^_0x380c4c);for(var _0x558297=this[_0x349cfb(0x40e)]=[],_0x3fb8ac=0x0;_0x3fb8ac<_0x4725d8;_0x3fb8ac++){var _0x5a266d=_0x4725d8-_0x3fb8ac;if(_0x3fb8ac%0x4)var _0x380c4c=_0x4f7ea9[_0x5a266d];else var _0x380c4c=_0x4f7ea9[_0x5a266d-0x4];_0x3fb8ac<0x4||_0x5a266d<=0x4?_0x558297[_0x3fb8ac]=_0x380c4c:_0x558297[_0x3fb8ac]=_0x550276[_0x589558[_0x380c4c>>>0x18]]^_0x1f8d60[_0x589558[_0x380c4c>>>0x10&0xff]]^_0xa4f8b5[_0x589558[_0x380c4c>>>0x8&0xff]]^_0x5ce3dd[_0x589558[_0x380c4c&0xff]];}}},'encryptBlock':function(_0x2619cd,_0x1e37fb){var _0x4eaf2d=_0x428020;this[_0x4eaf2d(0x30b)](_0x2619cd,_0x1e37fb,this['_keySchedule'],_0x2b791e,_0x5b22e7,_0x2e866e,_0x245498,_0x589558);},'decryptBlock':function(_0x3554f6,_0x5f3dec){var _0x3e9799=_0x428020,_0x252248=_0x3554f6[_0x5f3dec+0x1];_0x3554f6[_0x5f3dec+0x1]=_0x3554f6[_0x5f3dec+0x3],_0x3554f6[_0x5f3dec+0x3]=_0x252248,this[_0x3e9799(0x30b)](_0x3554f6,_0x5f3dec,this[_0x3e9799(0x40e)],_0x550276,_0x1f8d60,_0xa4f8b5,_0x5ce3dd,_0x183fca);var _0x252248=_0x3554f6[_0x5f3dec+0x1];_0x3554f6[_0x5f3dec+0x1]=_0x3554f6[_0x5f3dec+0x3],_0x3554f6[_0x5f3dec+0x3]=_0x252248;},'_doCryptBlock':function(_0x3415f7,_0x43912e,_0x4d0f70,_0x20025c,_0x565e79,_0x229bbf,_0x356b7e,_0x588ccf){for(var _0x5dc60b=this['_nRounds'],_0x5972c9=_0x3415f7[_0x43912e]^_0x4d0f70[0x0],_0x5892ef=_0x3415f7[_0x43912e+0x1]^_0x4d0f70[0x1],_0x27092b=_0x3415f7[_0x43912e+0x2]^_0x4d0f70[0x2],_0x1904ae=_0x3415f7[_0x43912e+0x3]^_0x4d0f70[0x3],_0x473bd5=0x4,_0x4b2d08=0x1;_0x4b2d08<_0x5dc60b;_0x4b2d08++){var _0x1e245d=_0x20025c[_0x5972c9>>>0x18]^_0x565e79[_0x5892ef>>>0x10&0xff]^_0x229bbf[_0x27092b>>>0x8&0xff]^_0x356b7e[_0x1904ae&0xff]^_0x4d0f70[_0x473bd5++],_0x57e7eb=_0x20025c[_0x5892ef>>>0x18]^_0x565e79[_0x27092b>>>0x10&0xff]^_0x229bbf[_0x1904ae>>>0x8&0xff]^_0x356b7e[_0x5972c9&0xff]^_0x4d0f70[_0x473bd5++],_0x63f52c=_0x20025c[_0x27092b>>>0x18]^_0x565e79[_0x1904ae>>>0x10&0xff]^_0x229bbf[_0x5972c9>>>0x8&0xff]^_0x356b7e[_0x5892ef&0xff]^_0x4d0f70[_0x473bd5++],_0x16f2b3=_0x20025c[_0x1904ae>>>0x18]^_0x565e79[_0x5972c9>>>0x10&0xff]^_0x229bbf[_0x5892ef>>>0x8&0xff]^_0x356b7e[_0x27092b&0xff]^_0x4d0f70[_0x473bd5++];_0x5972c9=_0x1e245d,_0x5892ef=_0x57e7eb,_0x27092b=_0x63f52c,_0x1904ae=_0x16f2b3;}var _0x1e245d=(_0x588ccf[_0x5972c9>>>0x18]<<0x18|_0x588ccf[_0x5892ef>>>0x10&0xff]<<0x10|_0x588ccf[_0x27092b>>>0x8&0xff]<<0x8|_0x588ccf[_0x1904ae&0xff])^_0x4d0f70[_0x473bd5++],_0x57e7eb=(_0x588ccf[_0x5892ef>>>0x18]<<0x18|_0x588ccf[_0x27092b>>>0x10&0xff]<<0x10|_0x588ccf[_0x1904ae>>>0x8&0xff]<<0x8|_0x588ccf[_0x5972c9&0xff])^_0x4d0f70[_0x473bd5++],_0x63f52c=(_0x588ccf[_0x27092b>>>0x18]<<0x18|_0x588ccf[_0x1904ae>>>0x10&0xff]<<0x10|_0x588ccf[_0x5972c9>>>0x8&0xff]<<0x8|_0x588ccf[_0x5892ef&0xff])^_0x4d0f70[_0x473bd5++],_0x16f2b3=(_0x588ccf[_0x1904ae>>>0x18]<<0x18|_0x588ccf[_0x5972c9>>>0x10&0xff]<<0x10|_0x588ccf[_0x5892ef>>>0x8&0xff]<<0x8|_0x588ccf[_0x27092b&0xff])^_0x4d0f70[_0x473bd5++];_0x3415f7[_0x43912e]=_0x1e245d,_0x3415f7[_0x43912e+0x1]=_0x57e7eb,_0x3415f7[_0x43912e+0x2]=_0x63f52c,_0x3415f7[_0x43912e+0x3]=_0x16f2b3;},'keySize':0x100/0x20});_0x3d7d0c[_0x428020(0x3f7)]=_0x3468ac[_0x428020(0x2a7)](_0x323a3c);}()),_0x4d8075[_0x25b278(0x3f7)];}));}(fe)),fe['exports'];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x5549f4(0x294)],at;function Xi(){var _0x283ec1=_0x5549f4;return at||(at=0x1,function(_0x189f5b,_0x4bc58b){(function(_0xc38bba,_0x6532b4){var _0x1e6f20=_0x2ddb;_0x189f5b[_0x1e6f20(0x294)]=_0x6532b4(ee());}(Ji,function(_0x35a512){return _0x35a512['enc']['Utf8'];}));}(be)),be[_0x283ec1(0x294)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x5549f4(0x294)],ct;function tn(){var _0x171263=_0x5549f4;return ct||(ct=0x1,function(_0x28e188,_0x306b2a){(function(_0x479db4,_0x28101b){var _0x5e4e4b=_0x2ddb;_0x28e188[_0x5e4e4b(0x294)]=_0x28101b(ee());}(en,function(_0x3f233a){var _0xae4ccf=_0x2ddb;return(function(){var _0x2bf310=_0x2ddb;if(typeof ArrayBuffer==_0x2bf310(0x1ab)){var _0x323d71=_0x3f233a,_0x46368a=_0x323d71[_0x2bf310(0x33a)],_0x4b7ef0=_0x46368a[_0x2bf310(0x218)],_0x2d5905=_0x4b7ef0['init'],_0x1770fa=_0x4b7ef0[_0x2bf310(0x2c1)]=function(_0xb2970b){var _0x3feedb=_0x2bf310;if(_0xb2970b instanceof ArrayBuffer&&(_0xb2970b=new Uint8Array(_0xb2970b)),(_0xb2970b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xb2970b instanceof Uint8ClampedArray||_0xb2970b instanceof Int16Array||_0xb2970b instanceof Uint16Array||_0xb2970b instanceof Int32Array||_0xb2970b instanceof Uint32Array||_0xb2970b instanceof Float32Array||_0xb2970b instanceof Float64Array)&&(_0xb2970b=new Uint8Array(_0xb2970b['buffer'],_0xb2970b[_0x3feedb(0x232)],_0xb2970b[_0x3feedb(0x2b2)])),_0xb2970b instanceof Uint8Array){for(var _0x11f454=_0xb2970b[_0x3feedb(0x2b2)],_0x532933=[],_0x2b8ec1=0x0;_0x2b8ec1<_0x11f454;_0x2b8ec1++)_0x532933[_0x2b8ec1>>>0x2]|=_0xb2970b[_0x2b8ec1]<<0x18-_0x2b8ec1%0x4*0x8;_0x2d5905['call'](this,_0x532933,_0x11f454);}else _0x2d5905[_0x3feedb(0x10f)](this,arguments);};_0x1770fa[_0x2bf310(0x3e2)]=_0x4b7ef0;}}()),_0x3f233a[_0xae4ccf(0x33a)][_0xae4ccf(0x218)];}));}(Re)),Re[_0x171263(0x294)];}var nn=tn();const rn=Se(nn);var Oe={'exports':{}},sn=Oe[_0x5549f4(0x294)],ht;function on(){return ht||(ht=0x1,function(_0x1ae4b6,_0x4b4e97){(function(_0x40517d,_0x22e0cc,_0x58e651){var _0x3092d6=_0x2ddb;_0x1ae4b6[_0x3092d6(0x294)]=_0x22e0cc(ee(),Pt());}(sn,function(_0x1827be){var _0x2cdfca=_0x2ddb;return _0x1827be[_0x2cdfca(0x34d)][_0x2cdfca(0x163)]={'pad':function(){},'unpad':function(){}},_0x1827be[_0x2cdfca(0x34d)]['NoPadding'];}));}(Oe)),Oe['exports'];}var an=on();const cn=Se(an);function hn(_0x4bcbd2,_0x4c0ae3){var _0x430f30=_0x5549f4;const _0x565d92=_0x4c0ae3-_0x4bcbd2[_0x430f30(0x3d5)]%_0x4c0ae3,_0x5290af=String[_0x430f30(0x329)](_0x565d92)[_0x430f30(0x319)](_0x565d92);return _0x4bcbd2+_0x5290af;}function _n(_0x3b2da6,_0x504520){var _0xb9769c=_0x5549f4;const _0x5df4f8=rn[_0xb9769c(0x43b)](0x10),_0x1b31c1=hn(_0x3b2da6,0x10),_0x2a03e0=qi[_0xb9769c(0x14e)](Qi[_0xb9769c(0x39a)](_0x1b31c1),ot[_0xb9769c(0x39a)](_0x504520),{'iv':_0x5df4f8,'padding':cn});return _0x5df4f8[_0xb9769c(0x103)](_0x2a03e0['ciphertext'])[_0xb9769c(0x2b9)](ot);}function ln(){var _0x2cd3f9=_0x5549f4;const _0x44f59a=xt['getGlobalObject']()[_0x2cd3f9(0x192)];if(_0x44f59a){const _0x2de5aa={'time':Math[_0x2cd3f9(0x3cc)](Date[_0x2cd3f9(0x383)]()/0x3e8),'domain':location[_0x2cd3f9(0x1f7)]};return _n(JSON[_0x2cd3f9(0x281)](_0x2de5aa),_0x44f59a);}}var un=Object['getOwnPropertyDescriptor'],dn=(_0x1a786a,_0x21397a,_0xd8a6ab,_0x48d407)=>{var _0x1b4626=_0x5549f4;for(var _0x2ad88c=_0x48d407>0x1?void 0x0:_0x48d407?un(_0x21397a,_0xd8a6ab):_0x21397a,_0x124e1e=_0x1a786a[_0x1b4626(0x3d5)]-0x1,_0x4ea4ac;_0x124e1e>=0x0;_0x124e1e--)(_0x4ea4ac=_0x1a786a[_0x124e1e])&&(_0x2ad88c=_0x4ea4ac(_0x2ad88c)||_0x2ad88c);return _0x2ad88c;},vn=(_0x346021,_0xb82617)=>(_0x1a23fb,_0x328aac)=>_0xb82617(_0x1a23fb,_0x328aac,_0x346021);let Ne=class{constructor(_0x66a125){var _0x292363=_0x5549f4;this[_0x292363(0x13d)]=_0x66a125,this[_0x292363(0x136)]();}[_0x5549f4(0x136)](){var _0x52938d=_0x5549f4;this[_0x52938d(0x13d)]['registerHTTPInterceptor']({'interceptor':(_0x291514,_0x31fc32)=>{var _0x67138d=_0x52938d;const _0x2033ff=_0x291514[_0x67138d(0x2f6)],_0x98b82f=ln();return _0x98b82f&&_0x2033ff[_0x67138d(0x45d)](_0x67138d(0x449),_0x98b82f),_0x31fc32(_0x291514);}});}};Ne=dn([vn(0x0,a['Inject'](q[_0x5549f4(0x2aa)]))],Ne);var Sn=Object['getOwnPropertyDescriptor'],fn=(_0x3f6c8d,_0x377656,_0x367829,_0x5c644a)=>{var _0x3f7dcb=_0x5549f4;for(var _0x4648e4=_0x5c644a>0x1?void 0x0:_0x5c644a?Sn(_0x377656,_0x367829):_0x377656,_0x48d6bc=_0x3f6c8d[_0x3f7dcb(0x3d5)]-0x1,_0x550dea;_0x48d6bc>=0x0;_0x48d6bc--)(_0x550dea=_0x3f6c8d[_0x48d6bc])&&(_0x4648e4=_0x550dea(_0x4648e4)||_0x4648e4);return _0x4648e4;},Me=(_0x1e0a06,_0x36fd93)=>(_0x3c986d,_0x41eb85)=>_0x36fd93(_0x3c986d,_0x41eb85,_0x1e0a06);exports['DataLoaderService']=class extends a[_0x5549f4(0x250)]{constructor(_0x59f622,_0x2b943e,_0x49369b){var _0x2d1aab=_0x5549f4;super(),A(this,_0x2d1aab(0x1b1),new j[(_0x2d1aab(0x2f2))](null)),A(this,_0x2d1aab(0x199),this['_unitInfo$'][_0x2d1aab(0x1c1)]()),(this[_0x2d1aab(0x39f)]=_0x59f622,this[_0x2d1aab(0x12a)]=_0x2b943e,this[_0x2d1aab(0x130)]=_0x49369b);}async['loadUnit'](_0x248f4f,_0x5417d5,_0x58a2b9){var _0x1febe0=_0x5549f4;this[_0x1febe0(0x1b1)][_0x1febe0(0x2cb)]({'unitId':_0x248f4f,'type':_0x5417d5,'subUnitId':_0x58a2b9});let _0x200ad6=null;switch(_0x5417d5){case X[_0x1febe0(0x1f3)]:{_0x200ad6=await this[_0x1febe0(0x1e7)](_0x248f4f);break;}case X['UNIVER_DOC']:{_0x200ad6=await this[_0x1febe0(0x178)](_0x248f4f);break;}default:{this[_0x1febe0(0x39f)][_0x1febe0(0x348)]('[DataLoaderService]',_0x1febe0(0x2ee));break;}}return _0x200ad6;}async[_0x5549f4(0x1e7)](_0x5b942f){var _0x5527a4=_0x5549f4,_0x190aae;let _0x402cda=0x0;const _0x57a8a6=await((_0x190aae=this[_0x5527a4(0x130)])==null?void 0x0:_0x190aae['loadOfflineData'](_0x5b942f));return _0x57a8a6&&(_0x57a8a6[_0x5527a4(0x2ec)]||_0x57a8a6['mutations']['length']!==0x0)&&(_0x402cda=_0x57a8a6[_0x5527a4(0x2d9)]),_0x402cda===0x0&&this[_0x5527a4(0x39f)]['debug']('[DataLoaderService]',_0x5527a4(0x446)),this[_0x5527a4(0x12a)]['loadSheet'](_0x5b942f,_0x402cda);}async['_loadDoc'](_0x4fc065){var _0x2976d4=_0x5549f4,_0x3af148;let _0x531ba4=0x0;const _0x52a3e5=await((_0x3af148=this[_0x2976d4(0x130)])==null?void 0x0:_0x3af148[_0x2976d4(0x440)](_0x4fc065));return _0x52a3e5&&(_0x52a3e5[_0x2976d4(0x2ec)]||_0x52a3e5[_0x2976d4(0x408)][_0x2976d4(0x3d5)]!==0x0)&&(_0x531ba4=_0x52a3e5[_0x2976d4(0x2d9)]),_0x531ba4===0x0&&this['_logService'][_0x2976d4(0x1f0)](_0x2976d4(0x2e7),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2976d4(0x12a)]['loadDoc'](_0x4fc065,_0x531ba4);}},exports[_0x5549f4(0x1c2)]=fn([Me(0x0,a[_0x5549f4(0x316)]),Me(0x1,a['Inject'](g[_0x5549f4(0x318)])),Me(0x2,a[_0x5549f4(0x32f)](z))],exports['DataLoaderService']);var pn=Object[_0x5549f4(0x3db)],gn=(_0x51f468,_0x10a2ac,_0x3b40ac,_0x1e2ce0)=>{for(var _0x391353=_0x1e2ce0>0x1?void 0x0:_0x1e2ce0?pn(_0x10a2ac,_0x3b40ac):_0x10a2ac,_0x4f952c=_0x51f468['length']-0x1,_0x3292f3;_0x4f952c>=0x0;_0x4f952c--)(_0x3292f3=_0x51f468[_0x4f952c])&&(_0x391353=_0x3292f3(_0x391353)||_0x391353);return _0x391353;},xe=(_0x6f26e2,_0x45f11f)=>(_0xe9ce7f,_0x2b0d40)=>_0x45f11f(_0xe9ce7f,_0x2b0d40,_0x6f26e2);const In=[_0x5549f4(0x33c),_0x5549f4(0x1ea),_0x5549f4(0x291),_0x5549f4(0x369),_0x5549f4(0x34e)],mn=0x5*0x400*0x400,En='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Cn=_0x5549f4(0x1dd),Tn=_0x5549f4(0x3cb),bn=_0x5549f4(0x17f);exports[_0x5549f4(0x12c)]=class{constructor(_0x4d6de1,_0x4aff77,_0x3d0349){var _0x31af32=_0x5549f4;A(this,_0x31af32(0xfd),0x0),A(this,_0x31af32(0x3a5),new j[(_0x31af32(0x295))]()),A(this,_0x31af32(0x25e),this[_0x31af32(0x3a5)]),A(this,_0x31af32(0x2fa),new Map()),(this['_httpService']=_0x4d6de1,this[_0x31af32(0x1d9)]=_0x4aff77,this[_0x31af32(0x24d)]=_0x3d0349);}[_0x5549f4(0x3e1)](_0x160d10){var _0x1256bf=_0x5549f4;this[_0x1256bf(0xfd)]=_0x160d10,this['_change$'][_0x1256bf(0x2cb)](_0x160d10);}['getImageSourceCache'](_0x22e26f,_0x515c21){var _0x5abf17=_0x5549f4;if(_0x515c21===J['ImageSourceType'][_0x5abf17(0x16c)]){const _0x3b4d6c=new Image();return _0x3b4d6c[_0x5abf17(0x20e)]=_0x22e26f,_0x3b4d6c;}return this[_0x5abf17(0x2fa)][_0x5abf17(0x297)](_0x22e26f);}[_0x5549f4(0x45e)](_0x45a37a,_0x1494eb,_0x44f16a){var _0x5528d1=_0x5549f4;_0x1494eb===J[_0x5528d1(0x40c)][_0x5528d1(0x16c)]||_0x44f16a==null||this[_0x5528d1(0x2fa)][_0x5528d1(0x45d)](_0x45a37a,_0x44f16a);}async[_0x5549f4(0x289)](_0x4d3063){var _0xdecd10=_0x5549f4;try{const _0x6a72c4=this['_replaceFileID'](this['_getSignURL'](),''+_0x4d3063),_0x46376c=(await this[_0xdecd10(0x13d)][_0xdecd10(0x297)](_0x6a72c4))[_0xdecd10(0x420)];if(_0x46376c[_0xdecd10(0x348)]&&_0x46376c[_0xdecd10(0x348)][_0xdecd10(0x202)]===Ct['OK']){const _0x14bd26=new URL(_0x46376c[_0xdecd10(0x32d)],this['_getDownloadEndpointURL']())[_0xdecd10(0x2b9)]();return Promise[_0xdecd10(0x425)](_0x14bd26);}return Promise[_0xdecd10(0x197)](_0x46376c[_0xdecd10(0x348)]);}catch(_0x4fdb86){return Promise[_0xdecd10(0x197)](_0x4fdb86);}}async[_0x5549f4(0x436)](_0x37f221){var _0x22aff2=_0x5549f4;let _0x350da4='';if(!In['includes'](_0x37f221['type']))return this[_0x22aff2(0x315)](),Promise[_0x22aff2(0x197)](new Error(J[_0x22aff2(0x3a7)][_0x22aff2(0x26d)]));if(_0x37f221[_0x22aff2(0x38b)]>mn)return this['_decreaseWaiting'](),Promise['reject'](new Error(J['ImageUploadStatusType'][_0x22aff2(0x12b)]));try{const _0x5d995b=new FormData();_0x5d995b[_0x22aff2(0x1f9)]('file',_0x37f221);const _0x21b181=this[_0x22aff2(0x24d)][_0x22aff2(0x242)](),_0x21b88f=_0x21b181==null?void 0x0:_0x21b181[_0x22aff2(0x279)]();if(!_0x21b88f)throw new Error('unitId\x20is\x20not\x20found');const _0x5905b6=this[_0x22aff2(0x460)]()+'?size='+_0x37f221[_0x22aff2(0x38b)][_0x22aff2(0x2b9)]()+'&source='+Tt[_0x22aff2(0x190)]+_0x22aff2(0x2f3)+encodeURIComponent(_0x21b88f),_0x4b356d=await(await fetch(_0x5905b6,{'method':'POST','body':_0x5d995b}))[_0x22aff2(0x267)]();if(typeof _0x4b356d[_0x22aff2(0x3d3)]!=_0x22aff2(0x1e3))return this[_0x22aff2(0x315)](),Promise['reject'](new Error(J[_0x22aff2(0x3a7)][_0x22aff2(0x44a)]));_0x350da4=_0x4b356d[_0x22aff2(0x3d3)];}catch{return this['_decreaseWaiting'](),Promise[_0x22aff2(0x197)](new Error(J['ImageUploadStatusType'][_0x22aff2(0x44a)]));}return new Promise((_0x520068,_0x3dea4b)=>{var _0xe8748d=_0x22aff2;const _0xa43ef2=new FileReader();_0xa43ef2['readAsDataURL'](_0x37f221),_0xa43ef2[_0xe8748d(0x3d9)]=_0xfa1a56=>{var _0x407515=_0xe8748d,_0x150019;const _0x2d30de=(_0x150019=_0xfa1a56['target'])==null?void 0x0:_0x150019[_0x407515(0x207)];if(_0x2d30de==null){this[_0x407515(0x315)](),_0x3dea4b(new Error(J[_0x407515(0x3a7)][_0x407515(0x44a)]));return;}const _0x1216da=a[_0x407515(0x1e6)][_0x407515(0x2db)](0x6);_0x520068({'imageId':_0x1216da,'imageSourceType':J[_0x407515(0x40c)][_0x407515(0x10c)],'source':_0x350da4,'base64Cache':_0x2d30de,'status':J[_0x407515(0x3a7)][_0x407515(0x3a2)]}),this['_decreaseWaiting']();};});}[_0x5549f4(0x460)](){var _0x8b8521=_0x5549f4,_0x28795f,_0x32b6fc;const _0x513eab=this[_0x8b8521(0x1d9)][_0x8b8521(0x2d2)](En),_0x417c4c=this['_configService']['getConfig'](Y);return(_0x32b6fc=(_0x28795f=_0x417c4c==null?void 0x0:_0x417c4c[_0x8b8521(0x2fe)])!=null?_0x28795f:_0x513eab)!=null?_0x32b6fc:Cn;}[_0x5549f4(0x41c)](){var _0x1ec1a2=_0x5549f4,_0x40ea08,_0x5132f7;const _0x882be6=this[_0x1ec1a2(0x1d9)][_0x1ec1a2(0x2d2)](Tn),_0x14c376=this[_0x1ec1a2(0x1d9)][_0x1ec1a2(0x2d2)](Y);return(_0x5132f7=(_0x40ea08=_0x14c376==null?void 0x0:_0x14c376[_0x1ec1a2(0x2c2)])!=null?_0x40ea08:_0x882be6)!=null?_0x5132f7:bn;}[_0x5549f4(0x29d)](){var _0x4f7a12=_0x5549f4,_0x46fd9c;const _0x3ed191=this[_0x4f7a12(0x1d9)][_0x4f7a12(0x2d2)](Y);return(_0x46fd9c=_0x3ed191==null?void 0x0:_0x3ed191[_0x4f7a12(0x3be)])!=null?_0x46fd9c:location['origin'];}[_0x5549f4(0x18f)](_0x6fdb4c,_0x54ed9f){return _0x6fdb4c['replace']('{fileID}',_0x54ed9f);}[_0x5549f4(0x315)](){var _0x46c905=_0x5549f4;this[_0x46c905(0xfd)]-=0x1,this[_0x46c905(0x3a5)][_0x46c905(0x2cb)](this[_0x46c905(0xfd)]);}},exports[_0x5549f4(0x12c)]=gn([xe(0x0,a[_0x5549f4(0x3ef)](q['HTTPService'])),xe(0x1,a[_0x5549f4(0x1c4)]),xe(0x2,a[_0x5549f4(0x3ef)](a[_0x5549f4(0x38f)]))],exports[_0x5549f4(0x12c)]);var Rn=Object[_0x5549f4(0x3db)],On=(_0x7883f9,_0x5d1f28,_0x45e336,_0x21f2da)=>{for(var _0x31cab0=_0x21f2da>0x1?void 0x0:_0x21f2da?Rn(_0x5d1f28,_0x45e336):_0x5d1f28,_0x42c7e5=_0x7883f9['length']-0x1,_0x4dbd24;_0x42c7e5>=0x0;_0x42c7e5--)(_0x4dbd24=_0x7883f9[_0x42c7e5])&&(_0x31cab0=_0x4dbd24(_0x31cab0)||_0x31cab0);return _0x31cab0;},_t=(_0x8d9304,_0x46ee69)=>(_0x302822,_0x49b1d0)=>_0x46ee69(_0x302822,_0x49b1d0,_0x8d9304);const yn='/universer-api/authz';function _0x22de(){var _0x5048eb=['add','get','_getCtorByUniverType','[OfflineState]:\x20received\x20rejection.','takeUntil','RETRY_CONNECTING_MAX_COUNT','interceptor','_getDownloadEndpointURL','getSnapshotAPIPath','YUUMI_SUBSCRIPTION_NOT_FOUND','JOINING','PERMISSION_DENIED','onRemoteAck','copyFileMeta','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_scheduleCompleteTimestamp','_redoStacks','_createHelper','_sessions','requestParams','HTTPService','SOCKET_FAILED','getCurrentRevOfUnit','_onConflict','delay','_sendHeartbeat','actions','_keySchedule','byteLength','unitId','incrementRevOfUnit','sendChangesetTimeout','SyncedState','joinEvent','session.room-not-exists','toString','_hash','PSEUDO_FETCH_MISSING_RESULT','Quantity','_createInitialState','Undefined','_socketMessageSubscription','createEncryptor','init','signUrlServerUrl','LocaleService','RichTextEditingMutation','status$','ITransformService','_isPermissionRej','_DEC_XFORM_MODE','_retryConnectingTimer','_entityInit$','next','_memberService','RETRY_CONNECTING_MAX_COUNT_KEY','textRanges','_clearTimeoutTimer','univer-pro.collaboration-client.network-condition.service','Decryptor','getConfig','changesets','UnitSnapshot','NOT_COLLAB','YUUMI_NO_CUBOID_FOR_QUESTION','_getSendChangesetTimeout','834129UfhpLi','rev','CollaborationSocketService','generateRandomId','catch','_ENC_XFORM_MODE','_initMergeInterceptor','HEARTBEAT_INTERVAL_KEY','clear','roomInfos','/block/','type','closeSession','_lockTransition','ICommandService','[DataLoaderService]','getDeserializedSheetBlock','_onUserJoin','_data','YUUMI_UNABLE_LOAD_URL','awaitingChangeset','close','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','/universer-api/comb','LOCAL_CACHE_INTERVAL_KEY','BehaviorSubject','&assign=','AwaitingState','_transformUndoredo','headers','filter','_onMessage','localeService','_imageSourceCache','charCodeAt','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','pending','uploadFileServerUrl','Rectangle','_incrementRevisionNumber','HEARTBEAT_TIMEOUT_KEY','fetching\x20missing\x20changesets\x20from\x20','collaboration-client.config','462OKSipg','JOIN_ROOM_PERMISSION_DENIED','_process','UNIVER_SLIDE','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','/allowed','fetchThroughInterceptors','_doCryptBlock','_clearHeartbeatTimer','COMPRESS_MUTATION_SEND','SUBMIT_CHANGESET','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getUnit','reset','_clearScheduledTask','_clearUndo','collaboratorID','_decreaseWaiting','ILogService','HttpExport','SnapshotService','repeat','?url=','parseProtocolChangeset','newCsEvent','_sendingTimer','PY_RUNTIME_SCRIPT_ERROR','CollaborationEntity','IMentionIOService','mixIn','message$','setConfig','CHANGESET_SHOULD_RETRY','Latin1','rxjs/operators','/new_changes','FAIL','fromCharCode','SYNCED','offline','formatter','url','_candidateSocket','Optional','awaiting','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','stopTime','reverse','@univerjs/sheets','sessionStatus','/resources','[OfflineState]:\x20received\x20acknowledgement.','getTypeOfUnitAdded$','authzUrl','lib','dispose','image/png','readInt32LE','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_sender','COLLAB_SUBMIT_CHANGESET_URL_KEY','APPLY_PERMISSION_DENIED','onRemoteRej','requireSession','getMember','updateCursorEvent','override','/fetchmissing?from=','error','_instanceService','OTHER_CLIENTS_EDITING','keySize','connection\x20error','pad','image/bmp','[PendingState]:\x20unhandled\x20univer\x20type:\x20','PERMISSION_REJ','onSyncEditingCollabCursor','YUUMI_RATE_OVER_LIMIT','abs','getLatestCsReqIdBySid','onSendChangeset','name','Could\x20not\x20dynamically\x20require\x20\x22','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','join','failed\x20to\x20apply\x20missed\x20changesets!','cfg','getTypeOfUnitDisposed$','_socket','CollaborativeUndoRedoService','charAt','_collaborationUIEventService','_type','startsWith','updateOfflineData','clone','waitForRoom$','WorkbookEditablePermission','toggleOffline','_nRounds','image/gif','_emitMembers','session.join-failed','_singleActiveUnitService','_syncEditingCollabCursor','format','ciphertext','ThresholdInterceptorFactory','_onFetchMissResult','updatePermissionPoint','workbook','CollaborationSessionService','memberID','Disposable','EmptyMutation','crypto','CHANGESET_REVISION_CONFILICT','OFFLINE','fetchMiss','CHANGESET_ACK','mode','Hasher','kdf','JOIN_ROOM_NOT_EXISTS','createIdentifier','_applyRemoteChangeset','now','CommandType','sid','avatar','equals','symbol','entityInit$','post','size','LOCAL_CACHE_INTERVAL','UNRECOGNIZED','updatePermissionObjEvent','IUniverInstanceService','CollaborationStatus','LIVESHARE_OPERATION','IPermissionService','_onRemoteRetry','_updateStatus','_registerDependencies','AWAITING','_roomMembers','MSG_FOR_ERROR','merge','parse','collaborators','@univerjs-pro/license','salt','delete','_logService','toggleOnline','state$','SUCCUSS','onMissedChangesetFetched','csShouldRetryEvent','_change$','slice','ImageUploadStatusType','AuthzIoHttpService','onMissingChangesets','LIVESHARE_NEW_HOST','emitEvent','getRandomValues','_state$','_commentUpdate$','/object/','_timeoutTimer','UniverInstanceType','fromCollab','_roomCreated$','UniverCollaborationPlugin','reqId','_unitID','UNAUTHENTICATED','INVALID_INVITE_CODE','onCommentUpdate','iterations','onTransformRemoteChangesetByStateCache','not_collab','DocCollaborationEntity','downloadEndpointUrl','location','LICENSE_IMPORT_SIZE_EXCEEDED','COLLAB_WEB_SOCKET_URL_KEY','_minBufferSize','EMAIL_HAS_BEEN_BOUND','CHANGESET_REJ','18404KfZaLL','JOIN_ROOM_FULL','ISnapshotServerService','_collabSessionService','INGEST','1781250KDAQCT','EXCHANGE_SIGN_URL_SERVER_URL_KEY','floor','USERS_ENTER','onStarting','_sessionStatus$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','MentionType','disableLocalCache','FileId','collaboration-client.local-cache-service','length','isTransformMutationsWithChangesetSuccess','sessionStatus$','OPTIONAL','onload','USERS_LEAVE','getOwnPropertyDescriptor','_telemetryInfo','getUnitStatus$','ivSize','DisposableCollection','/collaborator','setWaitCount','prototype','MUTATION','_getUndoStack','bind','SheetTransformSelectionsService','UniverNetworkPlugin','randomBytes','capture','focused$','_queuedRemoteChangesets','_event$','IUndoRedoService','HEARTBEAT','Inject','deleteCollaborator','__creator','enc','onTransformRemoteChangesetByIMECache','ISingleActiveUnitService','onTransformState','NO_OTHER_CLIENTS_EDITING','AES','reduce','updateMember','CONNECTOR_DATA_TOO_LARGE','firstValueFrom','blockSize','max','_clearCollaborationTimeoutTimer','finalize','getValue','session.room-cnt-exceeds','_rescheduleHeartbeat','snapshotServerUrl','collaMsg','UniverCollaborationClientPlugin','disposeWithMe','_disableEditing','mutations','_map','resend','INVITE_CODE_REQUIRED','ImageSourceType','LIVESHARE_REQUEST_HOST','_invKeySchedule','push','loginUrlKey','_sheetTransformSelectionsService','/object','_telemetryService','refreshPermission','Error\x20on\x20receiving\x20event','COMPRESS_MUTATION_APPLY','isArray','socket$','Hex','ReplaySubject','SheetsSelectionsService','_getSignURL','sheets','msCrypto','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','body','shouldCloseConn','joinRsp','selections','OfflineState','resolve','setShowComponents','APPLY_DUPLICATED','Base64','HMAC','infoRsp','SNAPSHOT_HAS_BEEN_REMOVED','_localeService','saveChangeset','_hasher','_initUnitPermissionChange','decrypt','encodeURIComponent','_createSocket','_clearRetryConnectingTimer','_socket$','socket\x20close','saveImage','hasOwnProperty','CommentService','textEncoder','c1Prime','random','_resendWithTimeout','toDisposable','@univerjs/core','_tryEnsureSocket','loadOfflineData','[CollaborationEntity]','params','userID','_eventService','JOIN_ROOM_FAILED','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','SetSelectionsOperation','routeKey','x-univer-host','ERROR_IMAGE','Utf8','[SyncedState]:\x20received\x20rejection.','csAckEvent','Cipher','LocalUndoRedoService','COMMENT_UPDATE','UNIVER_DOC','univer-pro.collaboration-client-socket-service','_init','_stopTelemetryCollaborationNewChangeset','_collaborationSessionService','b64DecodeUnicode','rng','randomUUID','SNAPSHOT_URL_KEY','range','RevisionService','defineProperty','set','addImageSourceCache','POST','_getUploadFileURL','__esModule','_scheduleCollaborationTimeoutTimer','_getAPIPrefix','_removeRoom','Malformed\x20UTF-8\x20data','_networkConditionService','APPLY_NON_SEQUENTIAL_REVISION','NOT_FOUND','splice','_undoRedoService','getMemberID','ONLINE','YUUMI_URL_COL_OUT_OF_RANGE','PasswordBasedCipher','CLOSE_ROOM','registerDependencies','toStringTag','href','_revisionService','transformChangesets','UNKNOWN_CMD','_transformStack','createCollaborator','CONFLICT','MD5','_handlerCallback','enableOfflineEditing','collaboration_new_changeset','_doProcessBlock','_cipher','_commentService','_prevBlock','socketService','_waitCount','getWorkbookSelections','createInstance','snapshot','session.room-full','initWorkbookPermissionChange','concat','InsertSheetMutation','_oKey','_changesetReqId','_socketService','getUnitType','has','_compressMutationService','INVITE_CODE_HAS_BEEN_UES','UUID','_acknowledgedAwaitingChangeset','method','apply','[PendingState]:\x20received\x20rejection.','USER_NOT_INVITED_CODE','_getAPIPrefixPath','_onCombEvent','getCollabEntity','getActiveSheet','transformUndoRedo','SnapshotServerOverHTTPService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','SessionStatus','forEach','open$','members$','_transformRemoteChangesetByStateCache','OTHER_CLIENT_EDITING','mergeOverrideWithDependencies','registerHTTPInterceptor','_keyPriorReset','send','/universer-api/user/session-ticket','collabSubmitChangesetUrl','CipherParams','50TLQttS','12yDouUD','1VYIOZe','transformMutationsWithChangeset','_snapshotService','ERROR_EXCEED_SIZE','CollaborationImageIoService','onRemoteRetry','APPLY_REJECT','_doFinalize','_localCacheService','executeCommand','JSONX','patch','HmacMD5','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_initRequestHeader','_changesetSessionId','_createHmacHelper','originalMeta','isPermissionRej','@univerjs-pro/collaboration','HTTPRequest','_httpService','_updateState','_HTTPService','/unit/','AwaitingWithPendingState','ILocalCacheService','pipe','enableSingleActiveInstanceLock','SheetCollaborationEntity','key','unit-cache-','LIVESHARE_TERMINATE','_snapshotServerService','close$','_initCloseConn','/role','fetch_missing','encrypt','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_userManagerService','transformStack\x20failed!','unsubscribe','editing\x20status\x20changed\x20to','responseType','GLOBAL_ROOMS_CNT_EXCEEDS','sigBytes','objects','_checkMissing','_onUserLeave','_transformSelections','SheetPermissionInitController','_sendHeartbeatTimer','unpad','transformSelections','findIndex','removeMember','ALREADY_EXISTS','createDecryptor','NoPadding','/-/object/-/batch_allowed','Injector','_getCurrentRevision','_transformIMECache','list','_onConnectionFailed','FetchingMissState','_status$','BASE64','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','COMPLETION_FINISHED','onRemoteChangeset','DEFAULT_FILE_NAME','baseRev','status','LIVESHARE_FETCH_OPERATIONS','COLLAB_SUBMIT_CHANGESET_URL','allowed','_onRemoteChangeset','_onOffline','_loadDoc','_config','_transformStateCache','revision','extend','cmd','/universer-api/snapshot/','/universer-api/file/{fileID}/sign-url','_collaborationTimeoutTimer','CollaborationEvent','_socketReady','editingUnit','Base','_shouldReportTelemetry','_nDataBytes','onTransformSelections','_transformRemoteChangesetByIMECache','CollaborationUIEventService','_onJoinRoomEvent','error$','isTransformChangesetsSuccess','_transitionLocked','_throwTelemetryCollaborationNewChangeset','_replaceFileID','UnitEmbedded','_substituteRedoStack','__Key__','3353735iKJSwm','\x20-\x20','saveSheetBlock','Encryptor','reject','complete','unitInfo$','[OfflineState]:\x20received\x20changeset.','$super','onCommandExecuted','getCurrentUser','subUnitId','awaiting_with_pending','confirm','batchAllowed','CompressMutationService','INVALID_ARGUMENT','RECV','subscribe','values','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','touchDependencies','_append','EvpKDF','function','min','rxjs','create','members','withCredentials','_unitInfo$','FETCH_MISSING','hasher','_iv','_remoteChangesetQueue','IDLE','getResourcesRequest','appendMutation','pluginName','MergeInterceptorFactory','_mode','_onRecvEvent','fetchMissingChangesets','words','MentionIoHttpService','_resendTimer','asObservable','DataLoaderService','take','IConfigService','Pkcs7','HttpImport','subject','_undoStacks','_members$','DependentOn','retryConnectingInterval','Failed\x20to\x20update\x20permission\x20point','[CollaborationState]:\x20apply\x20error!','762202SjknFQ','[UniverCollaborationClientPlugin]','_onConnectionOpen','permissionRejEvent','_exhaustRemoteChangesetQueue','SEND_CHANGESET_TIMEOUT','objectID','_resendTimeout','getSheetBlock','setCurrentUser','_xformMode','_configService','find','IAuthzIoService','_joinRoom','/universer-api/stream/file/upload','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','map','action','getRoom','5625840EPAaEV','string','NEW_CHANGESETS','_commandService','Tools','_loadSheet','\x20in\x20_schedule.','saveSnapshot','image/jpeg','execute','dispose$','synced','/universer-api/authz','onlyLocal','debug','COLLAB_WEB_SOCKET_URL','LICENSE_MAX_UNITS_EXCEEDED','UNIVER_SHEET','session','_getLoginPath','_injector','hostname','_onLocalMutation','append','readyForCollab','SHOULD_CLOSE_CONN','ENSURE_SNAPSHOT_EXECUTION','_permissionService','_startTelemetryCollaborationNewChangeset','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_entities','SUBMIT_CHANGESET_TIMEOUT','code','[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.','HEARTBEAT_INTERVAL','_retryCount','padding','result','_updateLocalCache','[CollaborationSession]','clamp','save\x20fail\x20reason\x20is\x20','mapDocumentTypeToUniverType','_awaitingChangeset','src','entries','data','getAllMembers','_state','_clearRedo','isTransformMutationsWithChangesetFailure','title','roles','then','WordArray','AUTHZ_URL_KEY','/rev/','UserProfileImg','\x20to\x20','[CollaborationSessionService]','_createInitialStateImpl','eventID','_toggleOffline','_handler','UNIVER_COLLABORATION_CLIENT_PLUGIN','objectType','BufferedBlockAlgorithm','_schedule','shareReplay','AWAITING_WITH_PENDING','529235ZQeOiL','ceil','StreamCipher','PendingState','put','ConflictState','unitID','compose','CollaborationSession','_substituteUndoStack','byteOffset','liveShareNewHost','unknown','_collaborationPaused','_createHandler','@univerjs/docs','UPDATE_PERMISSION_OBJ','_getRedoStack','\x0aAfter:\x20','update','_reverseMap','leaveEvent','enableAuthServer','SEND_CHANGESET_TIMEOUT_KEY','_clearLocalCache','UPDATE_CURSOR','getFocusedUnit','_onRemoteRejected','_onRemoteACK','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','YUUMI_ASYNCIO_CANCELLED','onTransformIME','_unlockTransition','UNDEFINED','every','m2Prime','getInterceptPoints','_univerInstanceService','from','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','RxDisposable','_members','UNKNOWN_CODE','LOGIN_URL_KEY','UNIVER_PROJECT','_key','_doReset','HELLO','MemberService','_fetchMissChangesets','_executeRemoteChangeset','encode','state','concatMap','change$','BlockCipher','localCacheService','UNISCRIPT_RUN','duration','_replayCachedMutations','/universer-api/uniscript','_submitChangeset','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','json','LEAVE','TOO_MANY_REQUESTS','CollaborationController','/universer-api/oidc/authpage','isInternalEditorID','ERROR_IMAGE_TYPE','SNAPSHOT_INVALID_SNAPSHOT','INTERNAL_ERROR','MOBILE_HAS_BEEN_BOUND','LOGIN_FAILED','_doCreateSocket','PENDING','processBlock','[CollaborationUndoRedoService]','LICENSE_DISTRO_REJECTED','updateCollaborator','_toggleOnline','getUnitId','INetworkConditionService','BlockCipherMode','c2Prime','_listenToNetworkCondition','_transformService','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','[PendingState]:\x20received\x20acknowledgement.','stringify','call','JOIN','@univerjs/network','deepClone','_iKey','algo','telemetry\x20info\x20is\x20not\x20initialized','getImage','getTime','_tryReconnect','commentUpdateEvent','SOCKET_FAILED_RETRY','event$','_pendingMutations','\x0aCurrent:\x20','image/jpg','UNIVER_UNKNOWN','conflict','exports','Subject'];_0x22de=function(){return _0x5048eb;};return _0x22de();}exports[_0x5549f4(0x1bf)]=class{constructor(_0x145a13,_0x768990){var _0x5db5e5=_0x5549f4;this[_0x5db5e5(0x1d9)]=_0x145a13,this[_0x5db5e5(0x13f)]=_0x768990;}[_0x5549f4(0x112)](){var _0x38e4ae=_0x5549f4,_0x4a5464,_0x3e31ae;const _0x2e4f5f=this[_0x38e4ae(0x1d9)]['getConfig'](Ge),_0x548eb9=this[_0x38e4ae(0x1d9)][_0x38e4ae(0x2d2)](Y);return(_0x3e31ae=(_0x4a5464=_0x548eb9==null?void 0x0:_0x548eb9[_0x38e4ae(0x339)])!=null?_0x4a5464:_0x2e4f5f)!=null?_0x3e31ae:yn;}async[_0x5549f4(0x168)](_0x5817ac){var _0x3266db=_0x5549f4;const _0x5ab7fa=this[_0x3266db(0x112)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x3266db(0x297)](_0x5ab7fa,{'params':{'objectID':_0x5817ac[_0x3266db(0x2b3)],'unitID':_0x5817ac[_0x3266db(0x2b3)]}}))[_0x3266db(0x420)][_0x3266db(0x39b)]['map'](_0x255a42=>({'objectId':_0x255a42['id'],'name':_0x255a42[_0x3266db(0x1c7)]['name'],'metadata':{'icon':_0x255a42['subject'][_0x3266db(0x386)]},'label':_0x255a42[_0x3266db(0x1c7)][_0x3266db(0x356)],'objectType':a[_0x3266db(0x3d1)]['PERSON']})),'metadata':{},'type':a[_0x3266db(0x3d1)]['PERSON']}]};}},exports['MentionIoHttpService']=On([_t(0x0,a[_0x5549f4(0x3ef)](a['IConfigService'])),_t(0x1,a['Inject'](q[_0x5549f4(0x2aa)]))],exports[_0x5549f4(0x1bf)]);var Nn=Object[_0x5549f4(0x3db)],Dn=(_0x2b079f,_0x50e9b2,_0xed4da7,_0x2d17e9)=>{for(var _0x22c460=_0x2d17e9>0x1?void 0x0:_0x2d17e9?Nn(_0x50e9b2,_0xed4da7):_0x50e9b2,_0x2b1fd3=_0x2b079f['length']-0x1,_0x5221f4;_0x2b1fd3>=0x0;_0x2b1fd3--)(_0x5221f4=_0x2b079f[_0x2b1fd3])&&(_0x22c460=_0x5221f4(_0x22c460)||_0x22c460);return _0x22c460;},ue=(_0x410ef8,_0x31a57b)=>(_0xca0c02,_0x2c5c2c)=>_0x31a57b(_0xca0c02,_0x2c5c2c,_0x410ef8);let De=class extends a[_0x5549f4(0x250)]{constructor(_0x5e68c1,_0x310672,_0x33d9f3,_0x1be414,_0x829704){var _0x35a42d=_0x5549f4;super(),this[_0x35a42d(0x1f6)]=_0x5e68c1,this[_0x35a42d(0x24d)]=_0x310672,this['_permissionService']=_0x33d9f3,this['_collaborationSessionService']=_0x1be414,this['_collaborationUIEventService']=_0x829704,this[_0x35a42d(0x42f)](),this['_initCloseConn']();}[_0x5549f4(0x14b)](){var _0xf75a69=_0x5549f4;const _0xe90857=async _0x21f239=>{var _0x1f481f=_0x2ddb;(await this[_0x1f481f(0x455)][_0x1f481f(0x343)](_0x21f239))[_0x1f481f(0x28e)][_0x1f481f(0x143)](V[_0x1f481f(0x2f7)](_0xbe6daf=>_0xbe6daf[_0x1f481f(0x21f)]===g[_0x1f481f(0x181)][_0x1f481f(0x1fb)]),V[_0x1f481f(0x29a)](this[_0x1f481f(0x1ec)]))[_0x1f481f(0x1a5)](_0x30e643=>{var _0xaf6c37=_0x1f481f;const _0x47350d=_0x30e643,{reason:_0x58fc4d}=_0x47350d['data'];this[_0xaf6c37(0x360)]['emitEvent']({'id':Q[_0xaf6c37(0xea)],'data':_0x58fc4d}),this[_0xaf6c37(0x1fd)][_0xaf6c37(0x372)](new Z[(_0xaf6c37(0x366))](_0x21f239)['id'],!0x1),this[_0xaf6c37(0x455)][_0xaf6c37(0x2e4)](_0x21f239);});};j[_0xf75a69(0x399)](this['_univerInstanceService'][_0xf75a69(0x338)](a[_0xf75a69(0x3b1)]['UNIVER_SHEET']),this[_0xf75a69(0x24d)][_0xf75a69(0x338)](a[_0xf75a69(0x3b1)][_0xf75a69(0x451)]))[_0xf75a69(0x143)](V[_0xf75a69(0x1df)](_0x4db207=>_0x4db207[_0xf75a69(0x279)]()),V[_0xf75a69(0x2f7)](_0x2d8751=>!a[_0xf75a69(0x26c)](_0x2d8751)),V['takeUntil'](this[_0xf75a69(0x1ec)]))[_0xf75a69(0x1a5)](_0x450d3e=>{_0xe90857(_0x450d3e);});}[_0x5549f4(0x42f)](){var _0x345c12=_0x5549f4;const _0x318616=async _0x17fafd=>{var _0x37b54a=_0x2ddb;const _0x534103=await this[_0x37b54a(0x455)][_0x37b54a(0x343)](_0x17fafd),_0xddc39f=this[_0x37b54a(0x1f6)]['get'](Z[_0x37b54a(0x15b)]);_0x534103['event$'][_0x37b54a(0x143)](V[_0x37b54a(0x2f7)](_0x227ba3=>_0x227ba3[_0x37b54a(0x21f)]===g['CollaborationEvent'][_0x37b54a(0x238)]),V[_0x37b54a(0x29a)](this['dispose$']))[_0x37b54a(0x1a5)](_0x264792=>{var _0x364f86=_0x37b54a;const _0x23468b=_0x264792,{objectId:_0x2fd2a8}=_0x23468b[_0x364f86(0x210)];_0x2fd2a8===_0x17fafd?_0xddc39f[_0x364f86(0x102)](_0x17fafd):_0xddc39f[_0x364f86(0x414)](_0x17fafd,_0x2fd2a8);});};j[_0x345c12(0x399)](this[_0x345c12(0x24d)][_0x345c12(0x338)](a[_0x345c12(0x3b1)][_0x345c12(0x1f3)]))[_0x345c12(0x143)](V[_0x345c12(0x1df)](_0x3ec6c7=>_0x3ec6c7[_0x345c12(0x279)]()),V['filter'](_0x4fe1b0=>!a['isInternalEditorID'](_0x4fe1b0)),V['takeUntil'](this[_0x345c12(0x1ec)]))['subscribe'](_0x8403d5=>{_0x318616(_0x8403d5);});}};De=Dn([ue(0x0,a['Inject'](a[_0x5549f4(0x165)])),ue(0x1,a[_0x5549f4(0x38f)]),ue(0x2,a['IPermissionService']),ue(0x3,a['Inject'](exports[_0x5549f4(0x374)])),ue(0x4,a[_0x5549f4(0x3ef)](te))],De);var Un=Object[_0x5549f4(0x3db)],An=(_0x35a485,_0x5cced3,_0x2f76d3,_0x207dfb)=>{var _0x573a3a=_0x5549f4;for(var _0x885225=_0x207dfb>0x1?void 0x0:_0x207dfb?Un(_0x5cced3,_0x2f76d3):_0x5cced3,_0x5d9ff8=_0x35a485[_0x573a3a(0x3d5)]-0x1,_0x4a27ce;_0x5d9ff8>=0x0;_0x5d9ff8--)(_0x4a27ce=_0x35a485[_0x5d9ff8])&&(_0x885225=_0x4a27ce(_0x885225)||_0x885225);return _0x885225;},lt=(_0x5add2f,_0x34dde4)=>(_0x5be2b6,_0x483446)=>_0x34dde4(_0x5be2b6,_0x483446,_0x5add2f);exports['SnapshotServerOverHTTPService']=class{constructor(_0x322a61,_0x3d41b4){var _0x27cbed=_0x5549f4;this[_0x27cbed(0x1d9)]=_0x322a61,this[_0x27cbed(0x13d)]=_0x3d41b4;}async['getUnitOnRev'](_0x1d5253,_0x13a805){var _0x453d52=_0x5549f4,_0x229196;const {unitID:_0x1bf34a,type:_0x320363,revision:_0x8dc7ed=0x0}=_0x13a805,_0x2dbfd6=this[_0x453d52(0x29e)]()+'/'+_0x320363+'/unit/'+_0x1bf34a+_0x453d52(0x21a)+_0x8dc7ed,_0x559647=(await this[_0x453d52(0x13d)][_0x453d52(0x297)](_0x2dbfd6))[_0x453d52(0x420)],_0x14eb15=(_0x229196=_0x559647[_0x453d52(0x100)])==null?void 0x0:_0x229196[_0x453d52(0x373)];if(_0x14eb15){const _0xecc1fd=_0x14eb15==null?void 0x0:_0x14eb15['originalMeta'],_0xa1242f=g[_0x453d52(0x439)][_0x453d52(0x25b)](g[_0x453d52(0x456)](_0xecc1fd));_0x14eb15[_0x453d52(0x139)]=_0xa1242f,Object[_0x453d52(0x20f)](_0x14eb15[_0x453d52(0x41d)])[_0x453d52(0x11a)](([,_0x37d6fa])=>{var _0x2da8a9=_0x453d52;const _0x58a444=_0x37d6fa[_0x2da8a9(0x139)],_0x1637bc=g[_0x2da8a9(0x439)][_0x2da8a9(0x25b)](g[_0x2da8a9(0x456)](_0x58a444));_0x37d6fa[_0x2da8a9(0x139)]=_0x1637bc;});}return _0x559647;}async[_0x5549f4(0x1d6)](_0x2761db,_0x5686d4){var _0x7b5a5d=_0x5549f4;const {unitID:_0x58e556,type:_0x44e9da,blockID:_0x378958}=_0x5686d4,_0x19a7f3=this[_0x7b5a5d(0x463)]()+'/'+_0x44e9da+_0x7b5a5d(0x140)+_0x58e556+'/block/'+_0x378958;return(await this[_0x7b5a5d(0x13d)]['get'](_0x19a7f3))['body'];}async[_0x5549f4(0x2e8)](_0x3b4532,_0x14a5a4){var _0x4707b5=_0x5549f4;const {unitID:_0x2c3edb,type:_0x38ea8c,blockID:_0x68d65e}=_0x14a5a4,_0x27b804=this[_0x4707b5(0x463)]()+_0x4707b5(0x2e2)+_0x38ea8c+_0x4707b5(0x140)+_0x2c3edb+_0x4707b5(0x2e2)+_0x68d65e;return(await this[_0x4707b5(0x13d)][_0x4707b5(0x297)](_0x27b804))[_0x4707b5(0x420)];}async[_0x5549f4(0x1bd)](_0x4b802a,_0x1fcbd2){var _0x412d88=_0x5549f4;const {unitID:_0x129e2b,type:_0x487af5,from:_0x38831e,to:_0x5c674c}=_0x1fcbd2,_0x30de7c=this['_getAPIPrefix']()+'/'+_0x487af5+_0x412d88(0x140)+_0x129e2b+_0x412d88(0x347)+_0x38831e+'&to='+_0x5c674c;return(await this[_0x412d88(0x13d)][_0x412d88(0x297)](_0x30de7c))[_0x412d88(0x420)];}[_0x5549f4(0x29e)](){var _0x39ac76=_0x5549f4,_0x1da23f;return(_0x1da23f=this['_configService'][_0x39ac76(0x2d2)](vt))!=null?_0x1da23f:this['_getAPIPrefix']();}['_getAPIPrefix'](){var _0x36977b=_0x5549f4,_0x5403d5,_0x4d3b7e;const _0x467b55=this[_0x36977b(0x1d9)][_0x36977b(0x2d2)](dt),_0x3b77cd=this[_0x36977b(0x1d9)][_0x36977b(0x2d2)](Y);return(_0x4d3b7e=(_0x5403d5=_0x3b77cd==null?void 0x0:_0x3b77cd[_0x36977b(0x403)])!=null?_0x5403d5:_0x467b55)!=null?_0x4d3b7e:kt;}async[_0x5549f4(0x1b7)](_0x1f7b61,_0x5e5624){var _0x2a1d1a=_0x5549f4;const _0x3fd6ed=_0x2a1d1a(0x17e)+_0x5e5624[_0x2a1d1a(0x2e3)]+'/unit/'+_0x5e5624[_0x2a1d1a(0x22e)]+_0x2a1d1a(0x336);return(await this[_0x2a1d1a(0x13d)][_0x2a1d1a(0x297)](_0x3fd6ed,{'params':{'resourceId':JSON[_0x2a1d1a(0x281)](_0x5e5624['resourceIDs'])}}))['body'];}[_0x5549f4(0x1e9)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5549f4(0x195)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5549f4(0x42d)](){var _0xf6c14f=_0x5549f4;throw new Error(_0xf6c14f(0x3d0));}[_0x5549f4(0x2a3)](){var _0x185354=_0x5549f4;throw new Error(_0x185354(0x3d0));}[_0x5549f4(0x354)](){var _0x5d3bc3=_0x5549f4;throw new Error(_0x5d3bc3(0x3d0));}},exports['SnapshotServerOverHTTPService']=An([lt(0x0,a['IConfigService']),lt(0x1,a[_0x5549f4(0x3ef)](q[_0x5549f4(0x2aa)]))],exports[_0x5549f4(0x117)]);var Pn=Object['getOwnPropertyDescriptor'],wn=(_0x40e5bf,_0x4cdfbb,_0x1ecf90,_0xc44830)=>{for(var _0x4d2b03=_0xc44830>0x1?void 0x0:_0xc44830?Pn(_0x4cdfbb,_0x1ecf90):_0x4cdfbb,_0x2b05e7=_0x40e5bf['length']-0x1,_0x829aec;_0x2b05e7>=0x0;_0x2b05e7--)(_0x829aec=_0x40e5bf[_0x2b05e7])&&(_0x4d2b03=_0x829aec(_0x4d2b03)||_0x4d2b03);return _0x4d2b03;},de=(_0x8b1cc9,_0x515b1e)=>(_0x45c023,_0x33e8b1)=>_0x515b1e(_0x45c023,_0x33e8b1,_0x8b1cc9);exports[_0x5549f4(0x35e)]=class extends a[_0x5549f4(0x44f)]{constructor(_0x153cb3,_0x58dfb6,_0x28a05b,_0x241992,_0x387af6){var _0x261f82=_0x5549f4;super(_0x153cb3,_0x58dfb6,_0x28a05b),this[_0x261f82(0x27e)]=_0x241992,this[_0x261f82(0x39f)]=_0x387af6;}[_0x5549f4(0x116)](_0x1c9953,_0x1e5968){var _0x1df510=_0x5549f4;const _0x18f6f7=this[_0x1df510(0x3e4)](_0x1c9953);if(_0x18f6f7)try{const _0x1a1723=this[_0x1df510(0xf1)](_0x18f6f7,_0x1e5968);this[_0x1df510(0x231)](_0x1c9953,_0x1a1723);}catch(_0x3e4bb5){this[_0x1df510(0x39f)]['error'](_0x1df510(0x275),_0x3e4bb5),this[_0x1df510(0x313)](_0x1c9953);}const _0x3d8f07=this[_0x1df510(0x239)](_0x1c9953);if(_0x3d8f07)try{const _0x42d991=this[_0x1df510(0xf1)](_0x3d8f07,_0x1e5968);this[_0x1df510(0x191)](_0x1c9953,_0x42d991);}catch(_0x14c22f){this[_0x1df510(0x39f)]['error'](_0x14c22f),this[_0x1df510(0x213)](_0x1c9953);}}['_clearUndo'](_0x41c3fe){var _0x195950=_0x5549f4;const _0x3fffae=this[_0x195950(0x3e4)](_0x41c3fe);_0x3fffae&&(_0x3fffae[_0x195950(0x3d5)]=0x0,this['_updateStatus']());}[_0x5549f4(0x213)](_0x1cd200){var _0xfc5d52=_0x5549f4;const _0x2ed426=this[_0xfc5d52(0x239)](_0x1cd200);_0x2ed426&&(_0x2ed426[_0xfc5d52(0x3d5)]=0x0,this[_0xfc5d52(0x394)]());}[_0x5549f4(0x231)](_0x46be75,_0x4dcb2a){var _0x31a7e8=_0x5549f4;this[_0x31a7e8(0x1c8)]['set'](_0x46be75,_0x4dcb2a),this['_updateStatus']();}[_0x5549f4(0x191)](_0x578154,_0x457817){var _0x382d90=_0x5549f4;this[_0x382d90(0x2a6)]['set'](_0x578154,_0x457817),this[_0x382d90(0x394)]();}[_0x5549f4(0xf1)](_0x56dce0,_0x3080c4){var _0xda4fc3=_0x5549f4;const _0x5ae106=[];let _0x4fd7b3=_0x3080c4,_0x1928cd=_0x3080c4;for(let _0x2dcd6b=_0x56dce0['length']-0x1;_0x2dcd6b>=0x0;_0x2dcd6b--){const {unitID:_0x4fc5b0,undoMutations:_0x3a320a,redoMutations:_0x3f940d}=_0x56dce0[_0x2dcd6b],_0x5aa69e=this[_0xda4fc3(0x27e)][_0xda4fc3(0x129)](_0x4fd7b3,_0x3a320a),_0x2c22b7=this[_0xda4fc3(0x27e)]['transformMutationsWithChangeset'](_0x1928cd,_0x3f940d);if(g[_0xda4fc3(0x214)](_0x5aa69e)||g['isTransformMutationsWithChangesetFailure'](_0x2c22b7)){this[_0xda4fc3(0x39f)][_0xda4fc3(0x348)](_0xda4fc3(0x275),_0xda4fc3(0x151),_0x5aa69e,_0x2c22b7);break;}_0x4fd7b3=_0x5aa69e[_0xda4fc3(0x43a)],_0x1928cd=_0x2c22b7[_0xda4fc3(0x43a)],_0x5ae106['push']({'unitID':_0x4fc5b0,'undoMutations':_0x5aa69e[_0xda4fc3(0x24b)],'redoMutations':_0x2c22b7['m2Prime']});}return _0x5ae106[_0xda4fc3(0x333)]();}},exports['CollaborativeUndoRedoService']=wn([de(0x0,a[_0x5549f4(0x38f)]),de(0x1,a['ICommandService']),de(0x2,a['IContextService']),de(0x3,g[_0x5549f4(0x2c6)]),de(0x4,a[_0x5549f4(0x316)])],exports[_0x5549f4(0x35e)]);var Ln=Object['defineProperty'],Mn=Object[_0x5549f4(0x3db)],xn=(_0x475b2c,_0x405b03,_0x278796)=>_0x405b03 in _0x475b2c?Ln(_0x475b2c,_0x405b03,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x278796}):_0x475b2c[_0x405b03]=_0x278796,kn=(_0x332575,_0x1f0097,_0x190d63,_0x4aa640)=>{var _0x1a0ad4=_0x5549f4;for(var _0x11fb21=_0x4aa640>0x1?void 0x0:_0x4aa640?Mn(_0x1f0097,_0x190d63):_0x1f0097,_0x438f5e=_0x332575[_0x1a0ad4(0x3d5)]-0x1,_0x1dc157;_0x438f5e>=0x0;_0x438f5e--)(_0x1dc157=_0x332575[_0x438f5e])&&(_0x11fb21=_0x1dc157(_0x11fb21)||_0x11fb21);return _0x11fb21;},ke=(_0x5e2557,_0x309700)=>(_0x2d7317,_0x14378)=>_0x309700(_0x2d7317,_0x14378,_0x5e2557),Hn=(_0x1361d5,_0xc836b3,_0x33ad4a)=>xn(_0x1361d5,_0xc836b3+'',_0x33ad4a);const jn=_0x5549f4(0x222);exports[_0x5549f4(0x405)]=class extends a['Plugin']{constructor(_0x4690bf,_0x1ead59,_0x5945d4,_0x4a9893){var _0x27b685=_0x5549f4;super(),A(this,'_config'),(this[_0x27b685(0x39f)]=_0x1ead59,this[_0x27b685(0x1f6)]=_0x5945d4,this[_0x27b685(0x1d9)]=_0x4a9893);const {..._0x4d6a96}=a[_0x27b685(0x399)]({},Jt,_0x4690bf);if(!_0x4d6a96[_0x27b685(0xfc)])throw new Error(_0x27b685(0x27f));this[_0x27b685(0x179)]=_0x4d6a96,this[_0x27b685(0x1d9)][_0x27b685(0x323)](Y,_0x4d6a96);}[_0x5549f4(0x3ce)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x5549f4(0x395)](){var _0x5e63e7=_0x5549f4,_0x15b108,_0x24a8c1;this['_injector'][_0x5e63e7(0x109)](a[_0x5e63e7(0x3ed)])&&this[_0x5e63e7(0x39f)][_0x5e63e7(0x348)](_0x5e63e7(0x1cf),_0x5e63e7(0x14f));const _0x3b342c=a[_0x5e63e7(0x11f)]([[a[_0x5e63e7(0x3ed)],{'useClass':exports[_0x5e63e7(0x35e)]}],[exports[_0x5e63e7(0x374)]],[exports[_0x5e63e7(0x258)]],[exports['SheetTransformSelectionsService']],[ye],[Ne],[Be],[De],[te],[exports[_0x5e63e7(0x1c2)]],[$e,{'useClass':this[_0x5e63e7(0x179)][_0x5e63e7(0xfc)]}],[g[_0x5e63e7(0x3c7)],{'useClass':exports[_0x5e63e7(0x117)]}],[a[_0x5e63e7(0x1db)],{'useClass':exports['AuthzIoHttpService']}],[J['IImageIoService'],{'useClass':exports[_0x5e63e7(0x12c)]}],[a[_0x5e63e7(0x320)],{'useClass':exports[_0x5e63e7(0x1bf)]}],[exports[_0x5e63e7(0x26a)]],[He]],(_0x15b108=this[_0x5e63e7(0x179)])==null?void 0x0:_0x15b108[_0x5e63e7(0x346)]);if(!((_0x24a8c1=this[_0x5e63e7(0x179)])!=null&&_0x24a8c1[_0x5e63e7(0x144)])){const _0x43cf8a=_0x3b342c[_0x5e63e7(0x15f)](([_0x4e0534])=>_0x4e0534===ve);_0x43cf8a!==-0x1&&_0x3b342c['splice'](_0x43cf8a,0x1);}a[_0x5e63e7(0xeb)](this['_injector'],_0x3b342c);}['_initDependencies'](){var _0xd08841=_0x5549f4,_0x386cfc,_0x515d91,_0x1f4fdf;this[_0xd08841(0x1f6)]['get'](q[_0xd08841(0x2aa)])[_0xd08841(0x120)]({'priority':0x14,'interceptor':q[_0xd08841(0x370)]({'maxParallel':0x6})}),(_0x386cfc=this['_config'])!=null&&_0x386cfc[_0xd08841(0xf6)]||(_0x515d91=this['_injector'][_0xd08841(0x297)](z,a[_0xd08841(0x2bc)][_0xd08841(0x3d8)]))==null||_0x515d91[_0xd08841(0x3d2)](),(_0x1f4fdf=this[_0xd08841(0x179)])!=null&&_0x1f4fdf[_0xd08841(0x23e)]&&a[_0xd08841(0x1a8)](this[_0xd08841(0x1f6)],[[ye]]),a[_0xd08841(0x1a8)](this[_0xd08841(0x1f6)],[[Ne],[exports[_0xd08841(0x26a)]],[De]]);}},Hn(exports[_0x5549f4(0x405)],_0x5549f4(0x1b9),jn),exports[_0x5549f4(0x405)]=kn([a[_0x5549f4(0x1ca)](g[_0x5549f4(0x3b4)],q[_0x5549f4(0x3e7)]),ke(0x1,a['ILogService']),ke(0x2,a[_0x5549f4(0x3ef)](a[_0x5549f4(0x165)])),ke(0x3,a[_0x5549f4(0x1c4)])],exports['UniverCollaborationClientPlugin']),exports[_0x5549f4(0x219)]=Ge,exports[_0x5549f4(0x135)]=Y,exports[_0x5549f4(0x340)]=mt,exports[_0x5549f4(0x3c1)]=St,exports[_0x5549f4(0x390)]=Ve,exports['CollaborationUIEventId']=Q,exports[_0x5549f4(0x189)]=te,exports[_0x5549f4(0x438)]=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=ft,exports[_0x5549f4(0x245)]=zt,exports['DEFAULT_WS_SESSION_TICKET_URL']=$t,exports[_0x5549f4(0x2df)]=pt,exports[_0x5549f4(0x301)]=je,exports['ICollaborationSocketService']=$e,exports[_0x5549f4(0x142)]=z,exports[_0x5549f4(0x27a)]=bt,exports[_0x5549f4(0x3f4)]=ve,exports[_0x5549f4(0x38c)]=Gt,exports[_0x5549f4(0x2f1)]=Wt,exports['LOGIN_URL_KEY']=Et,exports[_0x5549f4(0x30f)]=qt,exports[_0x5549f4(0x2cd)]=It,exports[_0x5549f4(0x23f)]=Ht,exports['SNAPSHOT_SERVER_URL_KEY']=dt,exports['SNAPSHOT_URL_KEY']=vt,exports[_0x5549f4(0x119)]=se,exports['UnitStatus']=Fe,exports['deserializeToCombResponse']=Rt,exports['getLocalCacheKey']=vi,exports['serializeCombRequest']=Ot;
|
1
|
+
'use strict';var _0x37c1b9=_0x206a;(function(_0x4eb88f,_0xa975f0){var _0x269ffc=_0x206a,_0x32bdb2=_0x4eb88f();while(!![]){try{var _0x515934=-parseInt(_0x269ffc(0x2e8))/0x1+-parseInt(_0x269ffc(0x1c5))/0x2+-parseInt(_0x269ffc(0x4c5))/0x3+parseInt(_0x269ffc(0x452))/0x4+-parseInt(_0x269ffc(0x4c7))/0x5*(-parseInt(_0x269ffc(0x18d))/0x6)+parseInt(_0x269ffc(0x40d))/0x7*(-parseInt(_0x269ffc(0x3c0))/0x8)+parseInt(_0x269ffc(0x4eb))/0x9*(parseInt(_0x269ffc(0x2bc))/0xa);if(_0x515934===_0xa975f0)break;else _0x32bdb2['push'](_0x32bdb2['shift']());}catch(_0x4c6219){_0x32bdb2['push'](_0x32bdb2['shift']());}}}(_0xa0c8,0x94324));var wt=Object['defineProperty'],Lt=(_0x4acd4e,_0x141cd7,_0x1d8ecb)=>_0x141cd7 in _0x4acd4e?wt(_0x4acd4e,_0x141cd7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d8ecb}):_0x4acd4e[_0x141cd7]=_0x1d8ecb,A=(_0x43cb43,_0x1139dc,_0x37e944)=>Lt(_0x43cb43,typeof _0x1139dc!='symbol'?_0x1139dc+'':_0x1139dc,_0x37e944);Object['defineProperty'](exports,Symbol[_0x37c1b9(0x412)],{'value':'Module'});const a=require(_0x37c1b9(0x3a4)),j=require(_0x37c1b9(0x1b2)),V=require(_0x37c1b9(0x386)),g=require(_0x37c1b9(0x1bb)),q=require(_0x37c1b9(0x4d0)),Mt=require(_0x37c1b9(0x464)),ut=require(_0x37c1b9(0x42f)),Z=require('@univerjs/sheets'),J=require(_0x37c1b9(0x264)),xt=require('@univerjs-pro/license'),dt=_0x37c1b9(0x1d8),kt='/universer-api/snapshot',vt=_0x37c1b9(0x4fd),Ht=_0x37c1b9(0x3f8),jt=0x7d0,St=_0x37c1b9(0x487),ft=_0x37c1b9(0x352),$t='/universer-api/user/session-ticket',pt=_0x37c1b9(0x27b),Bt=0x7530,je=_0x37c1b9(0x3c3),gt=0x4e20,Ft=0x4e20,It='RETRY_CONNECTING_MAX_COUNT',Vt=0x3,Wt='LOCAL_CACHE_INTERVAL',Gt=0x3e8,mt=_0x37c1b9(0x2bf),Kt=_0x37c1b9(0x2f2),Et='LOGIN_URL_KEY',Yt=_0x37c1b9(0x3aa),qt=_0x37c1b9(0x3c1),zt=_0x37c1b9(0x219);var Ct=(_0xa2424d=>(_0xa2424d[_0xa2424d[_0x37c1b9(0x2d8)]=0x0]=_0x37c1b9(0x2d8),_0xa2424d[_0xa2424d['OK']=0x1]='OK',_0xa2424d[_0xa2424d[_0x37c1b9(0x4e8)]=0x2]='INTERNAL_ERROR',_0xa2424d[_0xa2424d[_0x37c1b9(0x3b8)]=0x3]='PERMISSION_DENIED',_0xa2424d[_0xa2424d[_0x37c1b9(0x2cb)]=0x4]='NOT_FOUND',_0xa2424d[_0xa2424d['UNAUTHENTICATED']=0x5]=_0x37c1b9(0x395),_0xa2424d[_0xa2424d[_0x37c1b9(0x381)]=0x6]=_0x37c1b9(0x381),_0xa2424d[_0xa2424d[_0x37c1b9(0x483)]=0x7]=_0x37c1b9(0x483),_0xa2424d[_0xa2424d[_0x37c1b9(0x402)]=0x8]='TOO_MANY_REQUESTS',_0xa2424d[_0xa2424d[_0x37c1b9(0x2c1)]=0x9]=_0x37c1b9(0x2c1),_0xa2424d[_0xa2424d[_0x37c1b9(0x4bd)]=0xa]='LOGIN_FAILED',_0xa2424d[_0xa2424d[_0x37c1b9(0x42c)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0xa2424d[_0xa2424d['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x37c1b9(0x1d0),_0xa2424d[_0xa2424d[_0x37c1b9(0x46d)]=0x1772]=_0x37c1b9(0x46d),_0xa2424d[_0xa2424d[_0x37c1b9(0x4cd)]=0x1773]=_0x37c1b9(0x4cd),_0xa2424d[_0xa2424d[_0x37c1b9(0x4f0)]=0x1b59]=_0x37c1b9(0x4f0),_0xa2424d[_0xa2424d[_0x37c1b9(0x292)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xa2424d[_0xa2424d['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x37c1b9(0x413),_0xa2424d[_0xa2424d[_0x37c1b9(0x407)]=0x1b5c]=_0x37c1b9(0x407),_0xa2424d[_0xa2424d[_0x37c1b9(0x329)]=0x1b5d]=_0x37c1b9(0x329),_0xa2424d[_0xa2424d['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x37c1b9(0x1e9),_0xa2424d[_0xa2424d[_0x37c1b9(0x47f)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0xa2424d[_0xa2424d[_0x37c1b9(0x4dd)]=0x232a]=_0x37c1b9(0x4dd),_0xa2424d[_0xa2424d[_0x37c1b9(0x3b9)]=0x232b]=_0x37c1b9(0x3b9),_0xa2424d[_0xa2424d['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x37c1b9(0x247),_0xa2424d[_0xa2424d[_0x37c1b9(0x22a)]=0x232d]='LICENSE_DISTRO_REJECTED',_0xa2424d[_0xa2424d[_0x37c1b9(0x408)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xa2424d[_0xa2424d[_0x37c1b9(0x4ea)]=0x2712]=_0x37c1b9(0x4ea),_0xa2424d[_0xa2424d[_0x37c1b9(0x48d)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xa2424d[_0xa2424d[_0x37c1b9(0x388)]=0x2714]=_0x37c1b9(0x388),_0xa2424d[_0xa2424d[_0x37c1b9(0x2d7)]=0x271a]=_0x37c1b9(0x2d7),_0xa2424d[_0xa2424d[_0x37c1b9(0x368)]=0x271b]=_0x37c1b9(0x368),_0xa2424d[_0xa2424d['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x37c1b9(0x250),_0xa2424d[_0xa2424d[_0x37c1b9(0x23c)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0xa2424d[_0xa2424d[_0x37c1b9(0x44f)]=0x2ee2]=_0x37c1b9(0x44f),_0xa2424d[_0xa2424d[_0x37c1b9(0x251)]=0x2ee3]=_0x37c1b9(0x251),_0xa2424d[_0xa2424d['USER_NOT_INVITED_CODE']=0x2ee4]=_0x37c1b9(0x4ca),_0xa2424d[_0xa2424d[_0x37c1b9(0x3ad)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0xa2424d[_0xa2424d[_0x37c1b9(0x372)]=0x32c9]=_0x37c1b9(0x372),_0xa2424d[_0xa2424d[_0x37c1b9(0x249)]=0x32ca]=_0x37c1b9(0x249),_0xa2424d[_0xa2424d[_0x37c1b9(0x21a)]=0x32cb]=_0x37c1b9(0x21a),_0xa2424d[_0xa2424d[_0x37c1b9(0x1fd)]=-0x1]=_0x37c1b9(0x1fd),_0xa2424d))(Ct||{}),X=(_0x46a07d=>(_0x46a07d[_0x46a07d[_0x37c1b9(0x2f4)]=0x0]=_0x37c1b9(0x2f4),_0x46a07d[_0x46a07d[_0x37c1b9(0x3fe)]=0x1]='UNIVER_DOC',_0x46a07d[_0x46a07d['UNIVER_SHEET']=0x2]=_0x37c1b9(0x3a5),_0x46a07d[_0x46a07d['UNIVER_SLIDE']=0x3]=_0x37c1b9(0x3c6),_0x46a07d[_0x46a07d[_0x37c1b9(0x235)]=0x4]=_0x37c1b9(0x235),_0x46a07d[_0x46a07d[_0x37c1b9(0x1fd)]=-0x1]=_0x37c1b9(0x1fd),_0x46a07d))(X||{}),W=(_0x51a57a=>(_0x51a57a[_0x51a57a[_0x37c1b9(0x2b4)]=0x0]='UNKNOWN_CMD',_0x51a57a[_0x51a57a[_0x37c1b9(0x444)]=0x1]='HELLO',_0x51a57a[_0x51a57a[_0x37c1b9(0x3e5)]=0x2]=_0x37c1b9(0x3e5),_0x51a57a[_0x51a57a[_0x37c1b9(0x477)]=0x3]=_0x37c1b9(0x477),_0x51a57a[_0x51a57a[_0x37c1b9(0x3fb)]=0x4]=_0x37c1b9(0x3fb),_0x51a57a[_0x51a57a[_0x37c1b9(0x31b)]=0x5]=_0x37c1b9(0x31b),_0x51a57a[_0x51a57a[_0x37c1b9(0x4fe)]=0x6]=_0x37c1b9(0x4fe),_0x51a57a[_0x51a57a[_0x37c1b9(0x1fd)]=-0x1]=_0x37c1b9(0x1fd),_0x51a57a))(W||{}),ae=(_0x5f0591=>(_0x5f0591[_0x5f0591[_0x37c1b9(0x1ff)]=0x0]=_0x37c1b9(0x1ff),_0x5f0591[_0x5f0591['OK']=0x1]='OK',_0x5f0591[_0x5f0591[_0x37c1b9(0x4e6)]=0x2]=_0x37c1b9(0x4e6),_0x5f0591[_0x5f0591[_0x37c1b9(0x3fd)]=0x3e9]=_0x37c1b9(0x3fd),_0x5f0591[_0x5f0591[_0x37c1b9(0x3f9)]=0x3ea]=_0x37c1b9(0x3f9),_0x5f0591[_0x5f0591['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x37c1b9(0x1ac),_0x5f0591[_0x5f0591[_0x37c1b9(0x3a7)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x5f0591[_0x5f0591[_0x37c1b9(0x1fd)]=-0x1]=_0x37c1b9(0x1fd),_0x5f0591))(ae||{}),Tt=(_0x4cc7b3=>(_0x4cc7b3[_0x4cc7b3['Undefined']=0x0]=_0x37c1b9(0x3f3),_0x4cc7b3[_0x4cc7b3[_0x37c1b9(0x422)]=0x1]=_0x37c1b9(0x422),_0x4cc7b3[_0x4cc7b3[_0x37c1b9(0x497)]=0x2]='HttpExport',_0x4cc7b3[_0x4cc7b3[_0x37c1b9(0x257)]=0x3]=_0x37c1b9(0x257),_0x4cc7b3[_0x4cc7b3[_0x37c1b9(0x1aa)]=0x4]=_0x37c1b9(0x1aa),_0x4cc7b3[_0x4cc7b3['UserProfileImg']=0x5]=_0x37c1b9(0x3bf),_0x4cc7b3[_0x4cc7b3[_0x37c1b9(0x1fd)]=-0x1]=_0x37c1b9(0x1fd),_0x4cc7b3))(Tt||{});const Y=_0x37c1b9(0x303),Jt={};var Q=(_0x466757=>(_0x466757[_0x37c1b9(0x4f9)]=_0x37c1b9(0x4f9),_0x466757[_0x37c1b9(0x3b8)]=_0x37c1b9(0x3b8),_0x466757[_0x37c1b9(0x498)]=_0x37c1b9(0x498),_0x466757['CLOSE_ROOM']='CLOSE_ROOM',_0x466757[_0x37c1b9(0x410)]=_0x37c1b9(0x410),_0x466757[_0x37c1b9(0x496)]=_0x37c1b9(0x496),_0x466757[_0x37c1b9(0x440)]='SOCKET_FAILED',_0x466757[_0x37c1b9(0x385)]=_0x37c1b9(0x385),_0x466757))(Q||{});class te{constructor(){var _0xade1ac=_0x37c1b9;A(this,_0xade1ac(0x30e),new j[(_0xade1ac(0x3b0))]()),A(this,_0xade1ac(0x4b8),this[_0xade1ac(0x30e)][_0xade1ac(0x427)]());}['emitEvent'](_0x34d72b){var _0x18bac9=_0x37c1b9;this[_0x18bac9(0x30e)][_0x18bac9(0x326)](_0x34d72b);}}const bt=a[_0x37c1b9(0x343)](_0x37c1b9(0x2a6));function Rt(_0x9a7747){var _0xf65510=_0x37c1b9,_0x4d3094,_0x1de60b,_0x5c1c01,_0x2e7d9e,_0x21efaf;const _0x4b76ea=_0x9a7747[_0xf65510(0x3d0)],_0x143a5c=JSON[_0xf65510(0x1c9)](_0x4b76ea);switch(_0x143a5c['cmd']){case W[_0xf65510(0x31b)]:case W[_0xf65510(0x444)]:{const _0x5c0c99=_0x143a5c[_0xf65510(0x1ca)];return{..._0x143a5c,'data':_0x5c0c99,'cmd':_0x143a5c[_0xf65510(0x1a5)]};}case W[_0xf65510(0x3e5)]:{const _0x35fcfc=_0x143a5c['joinRsp'];return{..._0x143a5c,'data':_0x35fcfc,'cmd':_0x143a5c['cmd']};}case W[_0xf65510(0x4fe)]:{const _0x394289=_0x143a5c['collaMsg'];switch(_0x394289[_0xf65510(0x34e)]){case g['CollaborationEvent']['PERMISSION_REJ']:return{..._0x143a5c,'data':{..._0x394289,'data':(_0x4d3094=_0x394289[_0xf65510(0x44a)])==null?void 0x0:_0x4d3094['cs']},'cmd':_0x143a5c['cmd']};case g[_0xf65510(0x284)][_0xf65510(0x3b5)]:return{..._0x143a5c,'data':{..._0x394289,'data':(_0x1de60b=_0x394289[_0xf65510(0x333)])==null?void 0x0:_0x1de60b['cs']},'cmd':_0x143a5c[_0xf65510(0x1a5)]};case g['CollaborationEvent'][_0xf65510(0x2f8)]:return{..._0x143a5c,'data':{..._0x394289,'data':(_0x5c1c01=_0x394289[_0xf65510(0x2cc)])==null?void 0x0:_0x5c1c01['cs']},'cmd':_0x143a5c[_0xf65510(0x1a5)]};case g[_0xf65510(0x284)][_0xf65510(0x43e)]:return{..._0x143a5c,'data':{..._0x394289,'data':(_0x2e7d9e=_0x394289[_0xf65510(0x2e3)])==null?void 0x0:_0x2e7d9e['cs']},'cmd':_0x143a5c['cmd']};case g[_0xf65510(0x284)][_0xf65510(0x3da)]:return{..._0x143a5c,'data':{..._0x394289,'data':(_0x21efaf=_0x394289[_0xf65510(0x23e)])==null?void 0x0:_0x21efaf['cs']},'cmd':_0x143a5c['cmd']};case g[_0xf65510(0x284)][_0xf65510(0x2eb)]:return{..._0x143a5c,'data':{..._0x394289,'data':_0x394289[_0xf65510(0x474)]},'cmd':_0x143a5c[_0xf65510(0x1a5)]};case g[_0xf65510(0x284)]['USERS_ENTER']:return{..._0x143a5c,'data':{..._0x394289,'data':_0x394289['joinEvent']},'cmd':_0x143a5c[_0xf65510(0x1a5)]};case g[_0xf65510(0x284)][_0xf65510(0x1f3)]:return{..._0x143a5c,'data':{..._0x394289,'data':_0x394289[_0xf65510(0x2b9)]},'cmd':_0x143a5c[_0xf65510(0x1a5)]};case g['CollaborationEvent'][_0xf65510(0x1ed)]:return{..._0x143a5c,'data':{..._0x394289,'data':_0x394289['liveShareNewHost']},'cmd':_0x143a5c[_0xf65510(0x1a5)]};case g['CollaborationEvent'][_0xf65510(0x1fb)]:case g[_0xf65510(0x284)]['LIVESHARE_OPERATION']:return{..._0x143a5c,'data':{..._0x394289,'data':_0x394289[_0xf65510(0x280)]},'cmd':_0x143a5c[_0xf65510(0x1a5)]};case g[_0xf65510(0x284)][_0xf65510(0x267)]:return{..._0x143a5c,'data':{..._0x394289,'data':_0x394289['liveShareNewHost']},'cmd':_0x143a5c[_0xf65510(0x1a5)]};case g[_0xf65510(0x284)]['MSG_FOR_ERROR']:return{..._0x143a5c,'data':_0x394289,'cmd':_0x143a5c[_0xf65510(0x1a5)]};case g[_0xf65510(0x284)][_0xf65510(0x282)]:return{..._0x143a5c,'data':{..._0x394289,'data':_0x394289['commentUpdateEvent']},'cmd':_0x143a5c[_0xf65510(0x1a5)]};case g['CollaborationEvent']['UPDATE_PERMISSION_OBJ']:return{..._0x143a5c,'data':{..._0x394289,'data':_0x394289[_0xf65510(0x397)]},'cmd':_0x143a5c[_0xf65510(0x1a5)]};case g['CollaborationEvent'][_0xf65510(0x1e2)]:return{..._0x143a5c,'data':{..._0x394289,'data':_0x394289[_0xf65510(0x3df)]},'cmd':_0x143a5c[_0xf65510(0x1a5)]};case g[_0xf65510(0x284)]['UNISCRIPT_RUN']:return{..._0x143a5c,'data':{..._0x394289,'data':_0x394289['uniscriptRunEvent']},'cmd':_0x143a5c[_0xf65510(0x1a5)]};default:return _0x143a5c;}}default:return _0x143a5c;}}function Ot(_0x135c41){var _0x2afee6=_0x37c1b9;switch(_0x135c41[_0x2afee6(0x1a5)]){case W[_0x2afee6(0x31b)]:case W[_0x2afee6(0x444)]:return JSON[_0x2afee6(0x1c0)]({'cmd':_0x135c41[_0x2afee6(0x1a5)],'routeKey':_0x135c41['routeKey']});case W[_0x2afee6(0x3fb)]:{let _0x2b6824;switch(_0x135c41['data']['eventID']){case g[_0x2afee6(0x284)][_0x2afee6(0x2eb)]:{_0x2b6824={'eventID':g[_0x2afee6(0x284)][_0x2afee6(0x2eb)],'updateCursorEvent':_0x135c41[_0x2afee6(0x3d0)][_0x2afee6(0x3d0)]};break;}case g[_0x2afee6(0x284)][_0x2afee6(0x1f3)]:{_0x2b6824={'eventID':g[_0x2afee6(0x284)][_0x2afee6(0x1f3)],'leaveEvent':_0x135c41[_0x2afee6(0x3d0)][_0x2afee6(0x3d0)]};break;}case g[_0x2afee6(0x284)][_0x2afee6(0x22b)]:{_0x2b6824={'eventID':g[_0x2afee6(0x284)][_0x2afee6(0x22b)],'joinEvent':_0x135c41['data'][_0x2afee6(0x3d0)]};break;}case g[_0x2afee6(0x284)][_0x2afee6(0x1ed)]:{_0x2b6824={'eventID':g[_0x2afee6(0x284)][_0x2afee6(0x1ed)],'liveShareNewHost':_0x135c41[_0x2afee6(0x3d0)]['data']};break;}case g[_0x2afee6(0x284)][_0x2afee6(0x335)]:{_0x2b6824={'eventID':g[_0x2afee6(0x284)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x135c41[_0x2afee6(0x3d0)][_0x2afee6(0x3d0)]};break;}case g[_0x2afee6(0x284)]['LIVESHARE_TERMINATE']:{_0x2b6824={'eventID':g[_0x2afee6(0x284)][_0x2afee6(0x267)],'liveShareTerminate':_0x135c41['data'][_0x2afee6(0x3d0)]};break;}case g[_0x2afee6(0x284)][_0x2afee6(0x1b0)]:{_0x2b6824={'eventID':g[_0x2afee6(0x284)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x135c41[_0x2afee6(0x3d0)][_0x2afee6(0x3d0)]};break;}case g['CollaborationEvent'][_0x2afee6(0x1fb)]:{_0x2b6824={'eventID':g[_0x2afee6(0x284)][_0x2afee6(0x1fb)]};break;}default:_0x2b6824={'eventID':_0x135c41[_0x2afee6(0x3d0)][_0x2afee6(0x34e)]};}return JSON[_0x2afee6(0x1c0)]({'cmd':_0x135c41[_0x2afee6(0x1a5)],'routeKey':_0x135c41[_0x2afee6(0x462)],'collaMsg':_0x2b6824});}case W[_0x2afee6(0x3e5)]:return JSON[_0x2afee6(0x1c0)]({'cmd':_0x135c41[_0x2afee6(0x1a5)],'routeKey':_0x135c41['routeKey'],'joinReq':_0x135c41[_0x2afee6(0x3d0)]});case W[_0x2afee6(0x477)]:return JSON[_0x2afee6(0x1c0)]({'cmd':_0x135c41['cmd'],'routeKey':_0x135c41[_0x2afee6(0x462)],'leaveReq':_0x135c41[_0x2afee6(0x3d0)]});default:throw new Error(_0x2afee6(0x467));}}var Xt=Object[_0x37c1b9(0x4c6)],Zt=(_0x5a63cb,_0x2fca29,_0x2fdc52,_0x17b84a)=>{for(var _0x1c8b51=_0x17b84a>0x1?void 0x0:_0x17b84a?Xt(_0x2fca29,_0x2fdc52):_0x2fca29,_0x4927b9=_0x5a63cb['length']-0x1,_0x679c77;_0x4927b9>=0x0;_0x4927b9--)(_0x679c77=_0x5a63cb[_0x4927b9])&&(_0x1c8b51=_0x679c77(_0x1c8b51)||_0x1c8b51);return _0x1c8b51;},le=(_0x211364,_0x4b90f3)=>(_0x5b9ec5,_0x14b728)=>_0x4b90f3(_0x5b9ec5,_0x14b728,_0x211364);const $e=a['createIdentifier'](_0x37c1b9(0x3fc));function Qt(_0xb6b3e,_0x2be892,_0x68f003){var _0x55ad1c=_0x37c1b9;return _0xb6b3e+'/'+_0x2be892+_0x55ad1c(0x39f)+_0x68f003+'/new_changes';}exports[_0x37c1b9(0x4ab)]=class extends a[_0x37c1b9(0x45c)]{constructor(_0x1c4554,_0x3e259f,_0x92abe6,_0x28a453,_0x3d3ac4){var _0x3de17e=_0x37c1b9;super(),this[_0x3de17e(0x4a0)]=_0x1c4554,this['_httpService']=_0x3e259f,this[_0x3de17e(0x273)]=_0x92abe6,this[_0x3de17e(0x48c)]=_0x28a453,this[_0x3de17e(0x493)]=_0x3d3ac4;}[_0x37c1b9(0x3e0)](_0xe7ebb3){var _0x46fd40=_0x37c1b9;const _0x2771ca=this[_0x46fd40(0x4a0)][_0x46fd40(0x1ad)](q[_0x46fd40(0x3f7)]);if(!_0x2771ca)throw new Error(_0x46fd40(0x233));const _0x493c5e=_0x2771ca[_0x46fd40(0x30c)](_0xe7ebb3);if(!_0x493c5e)throw new Error(_0x46fd40(0x4aa));const _0x1ee618=new a[(_0x46fd40(0x429))](),_0x3acf4c=new j[(_0x46fd40(0x3b0))]();_0x1ee618[_0x46fd40(0x476)](_0x493c5e[_0x46fd40(0x383)][_0x46fd40(0x426)](_0x5589e9=>_0x3acf4c[_0x46fd40(0x326)](_0x5589e9))),_0x1ee618[_0x46fd40(0x476)](a[_0x46fd40(0x2e7)](()=>_0x3acf4c[_0x46fd40(0x22f)]()));const _0x197dd5=new j['Subject']();_0x1ee618[_0x46fd40(0x476)](_0x493c5e[_0x46fd40(0x2a4)][_0x46fd40(0x426)](_0x23a8bb=>_0x197dd5[_0x46fd40(0x326)](_0x23a8bb))),_0x1ee618['add'](a[_0x46fd40(0x2e7)](()=>_0x197dd5[_0x46fd40(0x22f)]()));const _0x4ea6b8=new j[(_0x46fd40(0x3b0))]();_0x1ee618[_0x46fd40(0x476)](_0x493c5e[_0x46fd40(0x3e3)][_0x46fd40(0x426)](_0x4fdcab=>{var _0x5b55f4=_0x46fd40;const _0x5e3c29=Rt(_0x4fdcab);_0x4ea6b8[_0x5b55f4(0x326)](_0x5e3c29);})),_0x1ee618[_0x46fd40(0x476)](a[_0x46fd40(0x2e7)](()=>_0x4ea6b8[_0x46fd40(0x22f)]()));let _0x2edf69;const _0x4dddd3=()=>{var _0x4c3ad1=_0x46fd40;_0x197dd5['next'](new Event('connection\x20error')),_0x3acf4c['next'](new Event(_0x4c3ad1(0x290))),_0x2edf69['close']();};return _0x2edf69={'memberID':'','close$':_0x3acf4c['asObservable'](),'error$':_0x197dd5[_0x46fd40(0x427)](),'open$':_0x493c5e['open$'],'message$':_0x4ea6b8[_0x46fd40(0x427)](),'send':_0x2361da=>{var _0x326b49=_0x46fd40;if(_0x2361da['cmd']===W[_0x326b49(0x3fb)]){if(_0x2361da[_0x326b49(0x3d0)][_0x326b49(0x34e)]===g[_0x326b49(0x284)][_0x326b49(0x26a)]){this[_0x326b49(0x2ec)](_0x2edf69,_0x2361da[_0x326b49(0x3d0)])[_0x326b49(0x4dc)](_0x4c9cbf=>{var _0x5639d3=_0x326b49;this[_0x5639d3(0x48c)][_0x5639d3(0x2a7)](_0x4c9cbf),_0x4dddd3();});return;}if(_0x2361da[_0x326b49(0x3d0)][_0x326b49(0x34e)]===g[_0x326b49(0x284)][_0x326b49(0x435)]){const _0x265812=_0x2361da['data'];this[_0x326b49(0x351)](_0x265812)['then'](_0x21681e=>{var _0x4b30c7=_0x326b49;_0x4ea6b8[_0x4b30c7(0x326)]({'cmd':W[_0x4b30c7(0x4fe)],'code':ae['OK'],'routeKey':_0x265812[_0x4b30c7(0x3d0)][_0x4b30c7(0x4f8)],'routeType':'','data':{'eventID':g[_0x4b30c7(0x284)][_0x4b30c7(0x3cf)],'data':{'changesets':_0x21681e}}});})[_0x326b49(0x4dc)](_0x4ede99=>{var _0x35622e=_0x326b49;this[_0x35622e(0x48c)][_0x35622e(0x2a7)](_0x4ede99),_0x4dddd3();});return;}}_0x493c5e[_0x326b49(0x332)](Ot(_0x2361da));},'close':()=>{var _0x9ec288=_0x46fd40;_0x493c5e[_0x9ec288(0x488)](),_0x1ee618[_0x9ec288(0x2ed)]();}},_0x2edf69;}async[_0x37c1b9(0x2ec)](_0x13fefc,_0x1a4717){var _0x4b83eb=_0x37c1b9,_0x34733a,_0x45632f;const {unitType:_0x3d9c86,unitID:_0x11863f,changeset:_0x2b31a0}=_0x1a4717[_0x4b83eb(0x3d0)],_0x3b247b={'unitID':_0x11863f,'memberID':_0x13fefc[_0x4b83eb(0x40e)],'type':_0x3d9c86,'changeset':g[_0x4b83eb(0x1ce)](_0x2b31a0)},_0x5e5910=this[_0x4b83eb(0x273)]['getConfig'](mt),_0x1e18a4=this[_0x4b83eb(0x273)][_0x4b83eb(0x3a3)](Y),_0x5c7c44=Qt((_0x45632f=(_0x34733a=_0x1e18a4==null?void 0x0:_0x1e18a4[_0x4b83eb(0x1c8)])!=null?_0x34733a:_0x5e5910)!=null?_0x45632f:Kt,_0x3d9c86,_0x11863f);try{await this[_0x4b83eb(0x3f6)][_0x4b83eb(0x4be)](_0x5c7c44,{'body':_0x3b247b});}catch(_0x34f24c){throw this[_0x4b83eb(0x48c)][_0x4b83eb(0x2a7)](_0x4b83eb(0x3c2),_0x4b83eb(0x347)),_0x34f24c;}}async[_0x37c1b9(0x351)](_0x4c5ee3){var _0x878a1c=_0x37c1b9;const {unitID:_0x36f1fa,from:_0x3cbb5d,to:_0x3b6551,unitType:_0x4c8485}=_0x4c5ee3['data'];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x36f1fa,'type':_0x4c8485,'from':_0x3cbb5d,'to':_0x3b6551}))[_0x878a1c(0x2ce)];}},exports[_0x37c1b9(0x4ab)]=Zt([le(0x0,a[_0x37c1b9(0x2c9)](a[_0x37c1b9(0x4bb)])),le(0x1,a[_0x37c1b9(0x2c9)](q[_0x37c1b9(0x4d9)])),le(0x2,a['IConfigService']),le(0x3,a['ILogService']),le(0x4,g[_0x37c1b9(0x289)])],exports[_0x37c1b9(0x4ab)]);const ei='collaboration_new_changeset';function ti(_0x55cbd8){var _0x5ab3a5=_0x37c1b9;return JSON[_0x5ab3a5(0x1c0)](_0x55cbd8)['length'];}class Be{constructor(){var _0x4a1f4d=_0x37c1b9;A(this,_0x4a1f4d(0x4fc),new j[(_0x4a1f4d(0x3b0))]()),A(this,_0x4a1f4d(0x3e2),this[_0x4a1f4d(0x4fc)]['asObservable']());}[_0x37c1b9(0x490)](_0x39dd20){var _0xd83668=_0x37c1b9;this[_0xd83668(0x4fc)][_0xd83668(0x326)](_0x39dd20);}}var ii=Object[_0x37c1b9(0x4c6)],ni=(_0x48865f,_0x5021ef,_0x63d0fb,_0xf5e1ef)=>{var _0x533bb4=_0x37c1b9;for(var _0x214244=_0xf5e1ef>0x1?void 0x0:_0xf5e1ef?ii(_0x5021ef,_0x63d0fb):_0x5021ef,_0x1d2bce=_0x48865f[_0x533bb4(0x3a1)]-0x1,_0xa38a2;_0x1d2bce>=0x0;_0x1d2bce--)(_0xa38a2=_0x48865f[_0x1d2bce])&&(_0x214244=_0xa38a2(_0x214244)||_0x214244);return _0x214244;},Ke=(_0x523b7b,_0x22bcd1)=>(_0x31724a,_0x12638a)=>_0x22bcd1(_0x31724a,_0x12638a,_0x523b7b);exports[_0x37c1b9(0x2e6)]=class extends a[_0x37c1b9(0x45c)]{constructor(_0x461910,_0x4fa055){var _0x176060=_0x37c1b9;super(),A(this,_0x176060(0x252),new Map()),A(this,_0x176060(0x39a),new j['Subject']()),(this['_univerInstanceService']=_0x461910,this['_userManagerService']=_0x4fa055,this[_0x176060(0x4c8)](j['merge'](this[_0x176060(0x23b)][_0x176060(0x3a6)](a[_0x176060(0x224)][_0x176060(0x3a5)])[_0x176060(0x2cf)](V[_0x176060(0x34a)](_0x3fe9b7=>_0x3fe9b7['getUnitId']())),this['_univerInstanceService'][_0x176060(0x3a6)](a[_0x176060(0x224)][_0x176060(0x3fe)])[_0x176060(0x2cf)](V['map'](_0x2a7b36=>_0x2a7b36[_0x176060(0x1d3)]())),this[_0x176060(0x23b)][_0x176060(0x3a6)](a[_0x176060(0x224)]['UNIVER_SLIDE'])[_0x176060(0x2cf)](V[_0x176060(0x34a)](_0x168bea=>_0x168bea[_0x176060(0x1d3)]())))[_0x176060(0x426)](_0x211a4e=>this[_0x176060(0x3ee)](_0x211a4e))));}[_0x37c1b9(0x345)](_0x2f3898){var _0x4ae313=_0x37c1b9;return this[_0x4ae313(0x252)][_0x4ae313(0x2dd)](_0x2f3898)?j['of'](this[_0x4ae313(0x252)][_0x4ae313(0x1ad)](_0x2f3898)):this[_0x4ae313(0x39a)][_0x4ae313(0x2cf)](V[_0x4ae313(0x34a)](_0x15a358=>{var _0x1b9063=_0x4ae313;if(_0x15a358===_0x2f3898)return this[_0x1b9063(0x252)][_0x1b9063(0x1ad)](_0x15a358);}));}[_0x37c1b9(0x270)](_0x3a156c){var _0xae6204=_0x37c1b9;this['_userManagerService'][_0xae6204(0x270)](_0x3a156c);}['getCurrentUser'](){var _0x483382=_0x37c1b9;return this[_0x483382(0x443)][_0x483382(0x340)]();}[_0x37c1b9(0x4ec)](_0x595801,_0x2dc796){var _0x330f3f=_0x37c1b9;let _0x3768f8=this[_0x330f3f(0x252)][_0x330f3f(0x1ad)](_0x595801);_0x3768f8||(_0x3768f8=new ri(),this[_0x330f3f(0x252)]['set'](_0x595801,_0x3768f8),this[_0x330f3f(0x39a)][_0x330f3f(0x326)](_0x595801)),_0x3768f8[_0x330f3f(0x4ec)](_0x2dc796);}[_0x37c1b9(0x4e2)](_0x57d058,_0x139e22){var _0x45a6df=_0x37c1b9;const _0x43ada0=this[_0x45a6df(0x252)][_0x45a6df(0x1ad)](_0x57d058);_0x43ada0&&_0x43ada0[_0x45a6df(0x4e2)](_0x139e22);}[_0x37c1b9(0x328)](_0x4504d7){var _0x2b40d9=_0x37c1b9;return this[_0x2b40d9(0x252)]['get'](_0x4504d7);}['getMember'](_0x299724,_0xe594b0){var _0xb973fb=_0x37c1b9;const _0x8b93d2=this[_0xb973fb(0x252)][_0xb973fb(0x1ad)](_0x299724);if(_0x8b93d2)return _0x8b93d2[_0xb973fb(0x373)](_0xe594b0);}['_removeRoom'](_0x2f0584){var _0x52be69=_0x37c1b9;const _0x24ee83=this[_0x52be69(0x252)][_0x52be69(0x1ad)](_0x2f0584);_0x24ee83&&(_0x24ee83['dispose'](),this[_0x52be69(0x252)][_0x52be69(0x447)](_0x2f0584));}['dispose'](){var _0x26c08a=_0x37c1b9;this[_0x26c08a(0x252)][_0x26c08a(0x4e5)](_0x46c9c8=>_0x46c9c8[_0x26c08a(0x2ed)]()),this[_0x26c08a(0x252)][_0x26c08a(0x2b6)](),this['_roomCreated$'][_0x26c08a(0x22f)]();}},exports['MemberService']=ni([Ke(0x0,a['IUniverInstanceService']),Ke(0x1,a[_0x37c1b9(0x2c9)](a[_0x37c1b9(0x466)]))],exports['MemberService']);class ri extends a[_0x37c1b9(0x45c)]{constructor(){var _0x1df88b=_0x37c1b9;super(...arguments),A(this,_0x1df88b(0x2f6),new Map()),A(this,_0x1df88b(0x37d),new j[(_0x1df88b(0x4d4))](this[_0x1df88b(0x2f6)])),A(this,'members$',this[_0x1df88b(0x37d)][_0x1df88b(0x427)]());}['dispose'](){var _0x13ebfa=_0x37c1b9;this[_0x13ebfa(0x2f6)][_0x13ebfa(0x2b6)]();}[_0x37c1b9(0x4ec)](_0x552716){var _0xadf6e9=_0x37c1b9;this[_0xadf6e9(0x2f6)][_0xadf6e9(0x3c7)](_0x552716[_0xadf6e9(0x40e)],_0x552716),this['_emitMembers']();}[_0x37c1b9(0x4e2)](_0x51d4ea){var _0x279c48=_0x37c1b9;this['_members'][_0x279c48(0x447)](_0x51d4ea);}[_0x37c1b9(0x373)](_0x578661){var _0x445882=_0x37c1b9;return this['_members'][_0x445882(0x1ad)](_0x578661);}[_0x37c1b9(0x473)](){var _0xcdff22=_0x37c1b9;return Array[_0xcdff22(0x47d)](this[_0xcdff22(0x2f6)]['values']());}[_0x37c1b9(0x285)](){var _0x12deb7=_0x37c1b9;this['_members$'][_0x12deb7(0x326)](this[_0x12deb7(0x2f6)]);}}var si=Object[_0x37c1b9(0x4c6)],oi=(_0x4b61a2,_0x230bf1,_0x557b2f,_0x11cebf)=>{var _0x231b0d=_0x37c1b9;for(var _0x41ced9=_0x11cebf>0x1?void 0x0:_0x11cebf?si(_0x230bf1,_0x557b2f):_0x230bf1,_0x11fd91=_0x4b61a2[_0x231b0d(0x3a1)]-0x1,_0x26b8d6;_0x11fd91>=0x0;_0x11fd91--)(_0x26b8d6=_0x4b61a2[_0x11fd91])&&(_0x41ced9=_0x26b8d6(_0x41ced9)||_0x41ced9);return _0x41ced9;},oe=(_0x460827,_0x2ff5a9)=>(_0x1a1ea5,_0x26b533)=>_0x2ff5a9(_0x1a1ea5,_0x26b533,_0x460827),se=(_0x2a0dbd=>(_0x2a0dbd[_0x2a0dbd[_0x37c1b9(0x1e0)]=0x0]=_0x37c1b9(0x1e0),_0x2a0dbd[_0x2a0dbd['JOINING']=0x1]=_0x37c1b9(0x327),_0x2a0dbd[_0x2a0dbd['OFFLINE']=0x2]='OFFLINE',_0x2a0dbd[_0x2a0dbd['ONLINE']=0x3]='ONLINE',_0x2a0dbd))(se||{});const Ye={[ae[_0x37c1b9(0x4e6)]]:'session.join-failed',[ae[_0x37c1b9(0x3fd)]]:_0x37c1b9(0x38e),[ae[_0x37c1b9(0x3f9)]]:'session.room-not-exists',[ae[_0x37c1b9(0x1ac)]]:_0x37c1b9(0x39e),[ae[_0x37c1b9(0x3a7)]]:_0x37c1b9(0x4d5)};exports[_0x37c1b9(0x405)]=class extends a[_0x37c1b9(0x414)]{constructor(_0x17df9c,_0x1c29c4,_0x4f4955,_0x242694,_0x41d937,_0x217928,_0x37050c,_0x1351c1,_0x43570b){var _0x47befe=_0x37c1b9;super(),A(this,_0x47befe(0x33e),new j[(_0x47befe(0x4d4))](0x0)),A(this,_0x47befe(0x24f),this[_0x47befe(0x33e)][_0x47befe(0x427)]()),A(this,_0x47befe(0x30e),new j['Subject']()),A(this,_0x47befe(0x4b8),this[_0x47befe(0x30e)][_0x47befe(0x427)]()),A(this,'_socket'),A(this,_0x47befe(0x3de)),A(this,'_collaborationTimeoutTimer'),A(this,_0x47befe(0x34b),!0x1),A(this,'_telemetryInfo',null),(this[_0x47befe(0x2bd)]=_0x17df9c,this[_0x47befe(0x48c)]=_0x4f4955,this[_0x47befe(0x273)]=_0x242694,this['_localeService']=_0x41d937,this['_memberService']=_0x217928,this[_0x47befe(0x344)]=_0x37050c,this[_0x47befe(0x1f8)]=_0x1351c1,this[_0x47befe(0x378)]=_0x43570b,this[_0x47befe(0x34b)]=!!this[_0x47befe(0x378)],_0x1c29c4[_0x47befe(0x2cf)](j['takeUntil'](this[_0x47befe(0x377)]))[_0x47befe(0x426)](_0x81eae=>{var _0x2da161=_0x47befe,_0x2a07d6;typeof _0x81eae>'u'||(this[_0x2da161(0x2e2)]=_0x81eae,_0x81eae?(this[_0x2da161(0x197)](_0x81eae),this[_0x2da161(0x3de)]=_0x81eae[_0x2da161(0x3e3)][_0x2da161(0x426)](_0x2bf6bb=>{var _0x3b1a9b=_0x2da161;_0x2bf6bb[_0x3b1a9b(0x462)]===this[_0x3b1a9b(0x2bd)]&&this[_0x3b1a9b(0x321)](_0x2bf6bb);})):(this[_0x2da161(0x346)](),this[_0x2da161(0x33e)]['next'](0x2),(_0x2a07d6=this[_0x2da161(0x3de)])==null||_0x2a07d6[_0x2da161(0x39c)](),this['_socketMessageSubscription']=null));}));}get[_0x37c1b9(0x308)](){var _0x2f9389=_0x37c1b9;return this[_0x2f9389(0x33e)][_0x2f9389(0x29a)]();}[_0x37c1b9(0x36b)](){var _0x5e5b9d=_0x37c1b9,_0x36c5d8,_0x4805d9;return(_0x4805d9=(_0x36c5d8=this[_0x5e5b9d(0x2e2)])==null?void 0x0:_0x36c5d8[_0x5e5b9d(0x40e)])!=null?_0x4805d9:null;}[_0x37c1b9(0x2ed)](){var _0x3e384e=_0x37c1b9;super[_0x3e384e(0x2ed)](),this[_0x3e384e(0x377)]['next'](),this['dispose$'][_0x3e384e(0x22f)]();}[_0x37c1b9(0x488)](){var _0x195743=_0x37c1b9,_0x1485da,_0xbcde7e;this[_0x195743(0x346)](),(_0x1485da=this[_0x195743(0x2e2)])==null||_0x1485da[_0x195743(0x332)]({'cmd':W[_0x195743(0x477)],'data':{'roomID':this[_0x195743(0x2bd)]}}),(_0xbcde7e=this['_socket'])==null||_0xbcde7e[_0x195743(0x488)](),this[_0x195743(0x30e)][_0x195743(0x22f)](),this[_0x195743(0x33e)][_0x195743(0x22f)](),this[_0x195743(0x2ed)]();}['_onCombEvent'](_0x4219aa){var _0x53b9f8=_0x37c1b9;_0x4219aa[_0x53b9f8(0x1a5)]===W[_0x53b9f8(0x3e5)]?this['_onJoinRoomEvent'](_0x4219aa):_0x4219aa[_0x53b9f8(0x1a5)]===W[_0x53b9f8(0x4fe)]&&this[_0x53b9f8(0x428)](_0x4219aa);}['_joinRoom'](_0x5c9211){var _0x517788=_0x37c1b9;this['_sessionStatus$'][_0x517788(0x326)](0x1),_0x5c9211[_0x517788(0x332)]({'cmd':W[_0x517788(0x3e5)],'routeKey':this[_0x517788(0x2bd)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x37c1b9(0x30a)](_0xbeb1e0){var _0x50cca0=_0x37c1b9,_0x3e1590;if(_0xbeb1e0[_0x50cca0(0x4c3)]in Ye){this['_collaborationUIEventService']['emitEvent']({'id':Q[_0x50cca0(0x410)],'data':Ye[_0xbeb1e0[_0x50cca0(0x4c3)]]}),this[_0x50cca0(0x33e)][_0x50cca0(0x326)](0x2);return;}this[_0x50cca0(0x33e)][_0x50cca0(0x326)](0x3);const _0x1bec66=(_0x3e1590=_0xbeb1e0['data'][_0x50cca0(0x234)][this[_0x50cca0(0x2bd)]])==null?void 0x0:_0x3e1590[_0x50cca0(0x500)];_0x1bec66&&_0x1bec66[_0x50cca0(0x4e5)](_0x39fec5=>this[_0x50cca0(0x481)][_0x50cca0(0x4ec)](this[_0x50cca0(0x2bd)],_0x39fec5));}[_0x37c1b9(0x428)](_0x5c6141){var _0x5ee7d2=_0x37c1b9;try{const _0xcdc2a5=_0x5c6141[_0x5ee7d2(0x3d0)];switch(_0xcdc2a5[_0x5ee7d2(0x34e)]){case g[_0x5ee7d2(0x284)]['USERS_ENTER']:this[_0x5ee7d2(0x3eb)](_0xcdc2a5),this[_0x5ee7d2(0x30e)]['next'](_0xcdc2a5);break;case g[_0x5ee7d2(0x284)][_0x5ee7d2(0x1f3)]:this['_onUserLeave'](_0xcdc2a5),this[_0x5ee7d2(0x30e)]['next'](_0xcdc2a5);break;case g['CollaborationEvent'][_0x5ee7d2(0x3b5)]:case g[_0x5ee7d2(0x284)][_0x5ee7d2(0x3da)]:this[_0x5ee7d2(0x4b5)](),this[_0x5ee7d2(0x41f)](),this[_0x5ee7d2(0x30e)][_0x5ee7d2(0x326)](_0xcdc2a5);break;case g[_0x5ee7d2(0x284)]['MSG_FOR_ERROR']:this[_0x5ee7d2(0x48c)][_0x5ee7d2(0x2a7)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0xcdc2a5)),this[_0x5ee7d2(0x30e)]['next'](_0xcdc2a5);break;case g[_0x5ee7d2(0x284)]['COMMENT_UPDATE']:this['_commentService']['onCommentUpdate'](_0xcdc2a5[_0x5ee7d2(0x3d0)]),this['_event$'][_0x5ee7d2(0x326)](_0xcdc2a5);break;default:this[_0x5ee7d2(0x30e)][_0x5ee7d2(0x326)](_0xcdc2a5);}}catch(_0x494517){this[_0x5ee7d2(0x48c)][_0x5ee7d2(0x2a7)](_0x494517,_0x5c6141);}}[_0x37c1b9(0x3eb)](_0x1a083c){var _0x296cbe=_0x37c1b9;this[_0x296cbe(0x481)][_0x296cbe(0x4ec)](this[_0x296cbe(0x2bd)],_0x1a083c['data']);}[_0x37c1b9(0x24e)](_0x564309){var _0x1d8566=_0x37c1b9;this[_0x1d8566(0x481)][_0x1d8566(0x4e2)](this[_0x1d8566(0x2bd)],_0x564309[_0x1d8566(0x3d0)]['memberID']);}async[_0x37c1b9(0x332)](_0x34f269,_0x210174){var _0x1cefd1=_0x37c1b9;if(this['sessionStatus']!==0x3||!this[_0x1cefd1(0x2e2)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x34f269[_0x1cefd1(0x34e)]===g[_0x1cefd1(0x284)][_0x1cefd1(0x26a)]&&(this[_0x1cefd1(0x1bc)](),this[_0x1cefd1(0x259)](_0x34f269)),this[_0x1cefd1(0x2e2)][_0x1cefd1(0x332)]({'cmd':W[_0x1cefd1(0x3fb)],'routeKey':_0x210174,'routeType':'','data':_0x34f269});}catch(_0x2fea00){this['_logService']['error'](_0x2fea00);}}[_0x37c1b9(0x1bc)](){var _0x2a5262=_0x37c1b9,_0x36420b;this[_0x2a5262(0x2a2)]=setTimeout(()=>{var _0x37f550=_0x2a5262;this[_0x37f550(0x2a2)]=null,this[_0x37f550(0x1f8)][_0x37f550(0x2cd)]({'id':Q[_0x37f550(0x385)]});},(_0x36420b=this[_0x2a5262(0x273)][_0x2a5262(0x3a3)](je))!=null?_0x36420b:gt);}[_0x37c1b9(0x41f)](){var _0x4e3700=_0x37c1b9;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x4e3700(0x2a2)]=null);}['_startTelemetryCollaborationNewChangeset'](_0xd42c8a){var _0x106d5a=_0x37c1b9;if(!this['_shouldReportTelemetry'])return;const {data:_0x5e51b0}=_0xd42c8a,{unitID:_0x570118,changeset:_0x3422af}=_0x5e51b0,{mutations:_0x14ad56,type:_0x3e4676}=_0x3422af;this['_telemetryInfo']={'unitId':_0x570118,'type':_0x3e4676,'startTime':performance[_0x106d5a(0x231)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x14ad56)};}[_0x37c1b9(0x4b5)](){var _0x5c22df=_0x37c1b9;if(this[_0x5c22df(0x34b)]){if(!this['_telemetryInfo']){this[_0x5c22df(0x48c)]['error'](_0x5c22df(0x3c2),_0x5c22df(0x1a7));return;}this['_telemetryInfo'][_0x5c22df(0x232)]=performance[_0x5c22df(0x231)](),this[_0x5c22df(0x2f3)][_0x5c22df(0x34d)]=this[_0x5c22df(0x2f3)][_0x5c22df(0x232)]-this[_0x5c22df(0x2f3)][_0x5c22df(0x279)],this[_0x5c22df(0x378)][_0x5c22df(0x434)](ei,this[_0x5c22df(0x2f3)]),this['_telemetryInfo']=null;}}[_0x37c1b9(0x346)](){var _0x5759a1=_0x37c1b9;this[_0x5759a1(0x2f3)]=null;}},exports['CollaborationSession']=oi([oe(0x2,a[_0x37c1b9(0x1fa)]),oe(0x3,a[_0x37c1b9(0x196)]),oe(0x4,a[_0x37c1b9(0x2c9)](a['LocaleService'])),oe(0x5,a['Inject'](exports[_0x37c1b9(0x2e6)])),oe(0x6,a[_0x37c1b9(0x2c9)](Be)),oe(0x7,a[_0x37c1b9(0x2c9)](te)),oe(0x8,a[_0x37c1b9(0x4e3)](Mt[_0x37c1b9(0x27e)]))],exports[_0x37c1b9(0x405)]);var ai=Object[_0x37c1b9(0x4c6)],ci=(_0x312f63,_0x1d1bc8,_0x1f4309,_0x4af378)=>{var _0x3a7013=_0x37c1b9;for(var _0x45fd89=_0x4af378>0x1?void 0x0:_0x4af378?ai(_0x1d1bc8,_0x1f4309):_0x1d1bc8,_0x56c2f4=_0x312f63[_0x3a7013(0x3a1)]-0x1,_0x3255e3;_0x56c2f4>=0x0;_0x56c2f4--)(_0x3255e3=_0x312f63[_0x56c2f4])&&(_0x45fd89=_0x3255e3(_0x45fd89)||_0x45fd89);return _0x45fd89;},_e=(_0x5c6c63,_0x500397)=>(_0xb87d6d,_0x456f6d)=>_0x500397(_0xb87d6d,_0x456f6d,_0x5c6c63);exports['CollaborationSessionService']=class extends a[_0x37c1b9(0x45c)]{constructor(_0x4dcb7a,_0x33af41,_0xbe6f8c,_0x327122,_0x2875ab,_0x3f10f7){var _0xaf7aeb=_0x37c1b9;super(),A(this,'_socket$',new j[(_0xaf7aeb(0x4d4))](void 0x0)),A(this,_0xaf7aeb(0x4df),this['_socket$'][_0xaf7aeb(0x427)]()),A(this,_0xaf7aeb(0x31c),null),A(this,_0xaf7aeb(0x423),new Map()),A(this,_0xaf7aeb(0x2f7),new j[(_0xaf7aeb(0x4d4))](se[_0xaf7aeb(0x1e0)])),A(this,_0xaf7aeb(0x38d),this[_0xaf7aeb(0x2f7)][_0xaf7aeb(0x427)]()),A(this,_0xaf7aeb(0x4cc),!0x1),A(this,_0xaf7aeb(0x369)),A(this,_0xaf7aeb(0x3cb),0x0),A(this,'_sendHeartbeatTimer'),A(this,_0xaf7aeb(0x309)),(this['_injector']=_0x4dcb7a,this[_0xaf7aeb(0x48c)]=_0x33af41,this[_0xaf7aeb(0x273)]=_0xbe6f8c,this[_0xaf7aeb(0x2e0)]=_0x327122,this[_0xaf7aeb(0x1f8)]=_0x2875ab,this[_0xaf7aeb(0x288)]=_0x3f10f7,this['_listenToNetworkCondition']());}get['_socket'](){var _0x46d517=_0x37c1b9;return this['_socket$'][_0x46d517(0x29a)]();}[_0x37c1b9(0x4b7)](){var _0x58ced1=_0x37c1b9;this[_0x58ced1(0x288)]&&this[_0x58ced1(0x4c8)](this[_0x58ced1(0x288)][_0x58ced1(0x4c1)][_0x58ced1(0x426)](_0x2e272d=>{var _0x54645f=_0x58ced1;_0x2e272d&&!this[_0x54645f(0x2e2)]&&this[_0x54645f(0x46a)](),_0x2e272d||this[_0x54645f(0x424)]();}));}[_0x37c1b9(0x2ed)](){var _0x1e274c=_0x37c1b9;super[_0x1e274c(0x2ed)](),this[_0x1e274c(0x31f)](),this[_0x1e274c(0x242)](),this['_clearHeartbeatTimer'](),this[_0x1e274c(0x423)][_0x1e274c(0x4e5)](_0x591e77=>_0x591e77[_0x1e274c(0x2ed)]()),this[_0x1e274c(0x423)]['clear'](),this['_status$'][_0x1e274c(0x22f)]();}async[_0x37c1b9(0x2f0)](_0x2e6e6e){var _0x23d9e2=_0x37c1b9;if(this[_0x23d9e2(0x423)]['has'](_0x2e6e6e))return this[_0x23d9e2(0x423)]['get'](_0x2e6e6e);this['_tryEnsureSocket']();const _0x14bf2b=this[_0x23d9e2(0x4a0)][_0x23d9e2(0x371)](exports[_0x23d9e2(0x405)],_0x2e6e6e,this[_0x23d9e2(0x32c)][_0x23d9e2(0x427)]());return this[_0x23d9e2(0x423)][_0x23d9e2(0x3c7)](_0x2e6e6e,_0x14bf2b),_0x14bf2b;}[_0x37c1b9(0x28d)](_0x452d6b){var _0x3ce658=_0x37c1b9,_0xec5b12;const _0x99a4b1=this['_sessions'][_0x3ce658(0x1ad)](_0x452d6b);_0x99a4b1&&(this['_sessions'][_0x3ce658(0x447)](_0x452d6b),_0x99a4b1[_0x3ce658(0x488)]()),this['_sessions'][_0x3ce658(0x325)]||(_0xec5b12=this[_0x3ce658(0x2e2)])==null||_0xec5b12[_0x3ce658(0x488)]();}[_0x37c1b9(0x46a)](){var _0x57d508=_0x37c1b9;this[_0x57d508(0x3cb)]=0x0,this[_0x57d508(0x31f)](),this['_tryReconnect']();}[_0x37c1b9(0x31f)](){var _0xd1ea2d=_0x37c1b9;this[_0xd1ea2d(0x369)]!=null&&(clearTimeout(this[_0xd1ea2d(0x369)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x8f45db=_0x37c1b9,_0x3d9fdd,_0xfc6734;const _0x736cfd=this[_0x8f45db(0x273)][_0x8f45db(0x3a3)](St),_0x5db9b7=this[_0x8f45db(0x273)][_0x8f45db(0x3a3)](Y),_0x10346c=(_0xfc6734=(_0x3d9fdd=_0x5db9b7==null?void 0x0:_0x5db9b7[_0x8f45db(0x1dd)])!=null?_0x3d9fdd:_0x736cfd)!=null?_0xfc6734:ft,_0x116640=await this[_0x8f45db(0x2e0)][_0x8f45db(0x30c)](_0x10346c);return this['_candidateSocket']=_0x116640,_0x116640;}async['_tryEnsureSocket'](){var _0x5a4e80=_0x37c1b9,_0x178bb9,_0xc47f2f;try{const _0x3eb0d6=(_0xc47f2f=(_0x178bb9=this[_0x5a4e80(0x2e2)])!=null?_0x178bb9:this[_0x5a4e80(0x31c)])!=null?_0xc47f2f:await this[_0x5a4e80(0x320)]();if(_0x3eb0d6){const _0x74c9f2=_0x3eb0d6[_0x5a4e80(0x332)];_0x3eb0d6[_0x5a4e80(0x332)]=_0x390218=>(this[_0x5a4e80(0x35b)](),_0x74c9f2[_0x5a4e80(0x4a5)](_0x3eb0d6,[_0x390218])),_0x3eb0d6[_0x5a4e80(0x3e3)][_0x5a4e80(0x426)](_0x21265c=>this[_0x5a4e80(0x3bc)](_0x3eb0d6,_0x21265c)),_0x3eb0d6[_0x5a4e80(0x2a4)][_0x5a4e80(0x2cf)](V['take'](0x1))[_0x5a4e80(0x426)](_0xfa9703=>this['_logService'][_0x5a4e80(0x2a7)](_0x5a4e80(0x49d),_0xfa9703)),_0x3eb0d6[_0x5a4e80(0x4db)][_0x5a4e80(0x2cf)](V['take'](0x1))[_0x5a4e80(0x426)](()=>{var _0x239c79=_0x5a4e80;this[_0x239c79(0x409)](_0x3eb0d6);}),_0x3eb0d6[_0x5a4e80(0x383)][_0x5a4e80(0x2cf)](V['take'](0x1))[_0x5a4e80(0x426)](_0x3db7da=>{var _0x4668c5=_0x5a4e80;this[_0x4668c5(0x48c)]['debug'](_0x4668c5(0x1a8),_0x4668c5(0x2d1),_0x3db7da),this[_0x4668c5(0x2b1)]();});}}catch(_0x4db037){this[_0x5a4e80(0x48c)][_0x5a4e80(0x2a7)](_0x4db037),this[_0x5a4e80(0x2b1)]();}}['_onConnectionOpen'](_0x306e7c){var _0x58763d=_0x37c1b9;this[_0x58763d(0x48c)][_0x58763d(0x44b)]('[CollaborationSessionService]',_0x58763d(0x359)),_0x306e7c[_0x58763d(0x332)]({'cmd':W[_0x58763d(0x444)]}),this[_0x58763d(0x35b)]();}[_0x37c1b9(0x424)](){var _0x3da7b8=_0x37c1b9;this['_socketReady']=!0x1,this[_0x3da7b8(0x31c)]=null,this[_0x3da7b8(0x2f7)][_0x3da7b8(0x326)](se[_0x3da7b8(0x199)]),this[_0x3da7b8(0x32c)][_0x3da7b8(0x326)](null),this[_0x3da7b8(0x242)](),this[_0x3da7b8(0x3af)]();}[_0x37c1b9(0x2b1)](){var _0x49421a=_0x37c1b9,_0x2ec1da;this[_0x49421a(0x424)](),this[_0x49421a(0x3cb)]<((_0x2ec1da=this['_configService'][_0x49421a(0x3a3)](It))!=null?_0x2ec1da:Vt)?(this[_0x49421a(0x1f8)][_0x49421a(0x2cd)]({'id':Q[_0x49421a(0x496)]}),this[_0x49421a(0x1cd)]()):this['_collaborationUIEventService'][_0x49421a(0x2cd)]({'id':Q[_0x49421a(0x440)]});}['_tryReconnect'](){var _0x3dc2fa=_0x37c1b9,_0x3fa1ca;const _0x1e9705=this['_retryCount'],_0x4215a7=this[_0x3dc2fa(0x273)][_0x3dc2fa(0x3a3)](Y),_0x37c92d=_0x1e9705===0x0?0x0:((_0x3fa1ca=_0x4215a7==null?void 0x0:_0x4215a7['retryConnectingInterval'])!=null?_0x3fa1ca:Ft)*0x2**_0x1e9705;this[_0x3dc2fa(0x369)]=setTimeout(()=>{var _0x51f4c6=_0x3dc2fa;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x51f4c6(0x21d)]();},_0x37c92d),this[_0x3dc2fa(0x3cb)]+=0x1;}[_0x37c1b9(0x3bc)](_0x17c70e,_0x49211b){var _0x3bf4e0=_0x37c1b9;const {cmd:_0x14e18a}=_0x49211b;_0x14e18a===W[_0x3bf4e0(0x444)]&&!this[_0x3bf4e0(0x4cc)]&&(_0x17c70e[_0x3bf4e0(0x40e)]=_0x49211b[_0x3bf4e0(0x3d0)][_0x3bf4e0(0x40e)],this[_0x3bf4e0(0x32c)]['next'](_0x17c70e),this[_0x3bf4e0(0x2f7)][_0x3bf4e0(0x326)](se['ONLINE']),this[_0x3bf4e0(0x4cc)]=!0x0,this['_candidateSocket']=null),_0x14e18a===W['HEARTBEAT']&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x37c1b9(0x35b)](){var _0x37e641=_0x37c1b9,_0x145211;this['_clearHeartbeatTimer'](),this[_0x37e641(0x392)]=setTimeout(()=>this[_0x37e641(0x3ce)](),(_0x145211=this[_0x37e641(0x273)][_0x37e641(0x3a3)](pt))!=null?_0x145211:Bt);}['_sendHeartbeat'](){var _0x4ee0c0=_0x37c1b9;this[_0x4ee0c0(0x2e2)]['send']({'cmd':W[_0x4ee0c0(0x31b)]}),this[_0x4ee0c0(0x1fc)]();}[_0x37c1b9(0x1fc)](){var _0x1f3977=_0x37c1b9,_0x56a297;this[_0x1f3977(0x309)]=setTimeout(()=>this[_0x1f3977(0x2b1)](),(_0x56a297=this[_0x1f3977(0x273)][_0x1f3977(0x3a3)](je))!=null?_0x56a297:gt);}[_0x37c1b9(0x3af)](){var _0x26148d=_0x37c1b9;this[_0x26148d(0x392)]!=null&&(clearTimeout(this[_0x26148d(0x392)]),this[_0x26148d(0x392)]=null);}['_clearTimeoutTimer'](){var _0x1a81eb=_0x37c1b9;this[_0x1a81eb(0x309)]!=null&&(clearTimeout(this[_0x1a81eb(0x309)]),this[_0x1a81eb(0x309)]=null);}},exports[_0x37c1b9(0x1f2)]=ci([_e(0x0,a[_0x37c1b9(0x2c9)](a[_0x37c1b9(0x4bb)])),_e(0x1,a[_0x37c1b9(0x1fa)]),_e(0x2,a[_0x37c1b9(0x196)]),_e(0x3,$e),_e(0x4,a[_0x37c1b9(0x2c9)](te)),_e(0x5,a[_0x37c1b9(0x4e3)](bt))],exports[_0x37c1b9(0x1f2)]);const G=[];for(let n=0x0;n<0x100;++n)G[_0x37c1b9(0x374)]((n+0x100)[_0x37c1b9(0x2b3)](0x10)['slice'](0x1));function hi(_0x25180c,_0x3f1d26=0x0){return(G[_0x25180c[_0x3f1d26+0x0]]+G[_0x25180c[_0x3f1d26+0x1]]+G[_0x25180c[_0x3f1d26+0x2]]+G[_0x25180c[_0x3f1d26+0x3]]+'-'+G[_0x25180c[_0x3f1d26+0x4]]+G[_0x25180c[_0x3f1d26+0x5]]+'-'+G[_0x25180c[_0x3f1d26+0x6]]+G[_0x25180c[_0x3f1d26+0x7]]+'-'+G[_0x25180c[_0x3f1d26+0x8]]+G[_0x25180c[_0x3f1d26+0x9]]+'-'+G[_0x25180c[_0x3f1d26+0xa]]+G[_0x25180c[_0x3f1d26+0xb]]+G[_0x25180c[_0x3f1d26+0xc]]+G[_0x25180c[_0x3f1d26+0xd]]+G[_0x25180c[_0x3f1d26+0xe]]+G[_0x25180c[_0x3f1d26+0xf]])['toLowerCase']();}let Ue;const _i=new Uint8Array(0x10);function li(){var _0xa6aa1b=_0x37c1b9;if(!Ue){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0xa6aa1b(0x4f3));Ue=crypto[_0xa6aa1b(0x2d3)]['bind'](crypto);}return Ue(_i);}const ui=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x37c1b9(0x472)][_0x37c1b9(0x30b)](crypto),qe={'randomUUID':ui};function di(_0x32f25d,_0x244cfc,_0x567283){var _0x5f1056=_0x37c1b9,_0x2ef1a1,_0x4b3e22,_0x38b9c2;if(qe['randomUUID']&&!_0x32f25d)return qe[_0x5f1056(0x472)]();_0x32f25d=_0x32f25d||{};const _0x3fc896=(_0x38b9c2=(_0x4b3e22=_0x32f25d[_0x5f1056(0x396)])!=null?_0x4b3e22:(_0x2ef1a1=_0x32f25d['rng'])==null?void 0x0:_0x2ef1a1['call'](_0x32f25d))!=null?_0x38b9c2:li();if(_0x3fc896[_0x5f1056(0x3a1)]<0x10)throw new Error(_0x5f1056(0x4f1));return _0x3fc896[0x6]=_0x3fc896[0x6]&0xf|0x40,_0x3fc896[0x8]=_0x3fc896[0x8]&0x3f|0x80,hi(_0x3fc896);}const z=a['createIdentifier'](_0x37c1b9(0x4a7));function vi(_0x22959d){var _0x2453da=_0x37c1b9;return _0x2453da(0x2c3)+_0x22959d;}var Si=Object[_0x37c1b9(0x4c6)],fi=(_0x3d4206,_0x4261f5,_0x516627,_0x384e85)=>{for(var _0x48fd13=_0x384e85>0x1?void 0x0:_0x384e85?Si(_0x4261f5,_0x516627):_0x4261f5,_0x3dde24=_0x3d4206['length']-0x1,_0x3d3e31;_0x3dde24>=0x0;_0x3dde24--)(_0x3d3e31=_0x3d4206[_0x3dde24])&&(_0x48fd13=_0x3d3e31(_0x48fd13)||_0x48fd13);return _0x48fd13;},Ae=(_0x4c7e6f,_0x9375f2)=>(_0x1aff46,_0x3bf9a6)=>_0x9375f2(_0x1aff46,_0x3bf9a6,_0x4c7e6f);function pi(_0x10a5b4){var _0x38b018=_0x37c1b9;const {unitID:_0x2422bd,mutations:_0x4459f2}=_0x10a5b4;return{'unitId':_0x2422bd,'subUnitId':_0x4459f2[0x0]['params'][_0x38b018(0x206)]};}exports[_0x37c1b9(0x19d)]=class{constructor(_0x534b1a,_0xa1340f,_0x2f8b28){var _0x50047c=_0x37c1b9;this[_0x50047c(0x4a0)]=_0x534b1a,this['_transformService']=_0xa1340f,this[_0x50047c(0x4ac)]=_0x2f8b28;}[_0x37c1b9(0x1f9)](_0x538e63){var _0x4454bc=_0x37c1b9,_0x3517c3,_0x1dde67,_0xda978e,_0x57c4df;const _0x5a33dc=this['_injector'][_0x4454bc(0x1ad)](Z['SheetsSelectionsService']),{unitId:_0x41e649,subUnitId:_0x461a6a}=pi(_0x538e63),_0x2c296c=_0x5a33dc==null?void 0x0:_0x5a33dc['getWorkbookSelections'](_0x41e649)[_0x4454bc(0x34f)](),_0x5b2e09=(_0x1dde67=(_0x3517c3=this[_0x4454bc(0x4ac)]['getUnit'](_0x41e649))==null?void 0x0:_0x3517c3[_0x4454bc(0x253)]())==null?void 0x0:_0x1dde67['getSheetId']();if(_0x2c296c[_0x4454bc(0x3a1)]===0x0||!_0x41e649||!_0x461a6a)return;const _0x21a32f=[{'id':Z['SetSelectionsOperation']['id'],'params':{'unitId':_0x41e649,'subUnitId':_0x5b2e09,'selections':a['Tools']['deepClone'](_0x2c296c)}}],_0x21b8cb=this[_0x4454bc(0x341)]['transformMutationsWithChangeset'](_0x538e63,_0x21a32f);if(!g[_0x4454bc(0x48f)](_0x21b8cb))throw _0x21b8cb[_0x4454bc(0x2a7)];const _0x1c372f=(_0x57c4df=(_0xda978e=_0x21b8cb[_0x4454bc(0x37f)][0x0])==null?void 0x0:_0xda978e[_0x4454bc(0x3b7)])==null?void 0x0:_0x57c4df[_0x4454bc(0x229)];if(Array['isArray'](_0x1c372f)&&_0x1c372f[_0x4454bc(0x3a1)]){if(_0x1c372f[_0x4454bc(0x3a1)]===_0x21a32f[0x0][_0x4454bc(0x3b7)][_0x4454bc(0x229)]['length']&&_0x1c372f[_0x4454bc(0x312)]((_0x3a0d33,_0x59b20c)=>a[_0x4454bc(0x45f)][_0x4454bc(0x25d)](_0x3a0d33[_0x4454bc(0x3f2)],_0x21a32f[0x0][_0x4454bc(0x3b7)][_0x4454bc(0x229)][_0x59b20c][_0x4454bc(0x3f2)])))return;this[_0x4454bc(0x4a0)]['get'](a[_0x4454bc(0x417)])['executeCommand'](Z[_0x4454bc(0x1a4)]['id'],{'unitId':_0x41e649,'subUnitId':_0x5b2e09,'selections':_0x1c372f});}}},exports[_0x37c1b9(0x19d)]=fi([Ae(0x0,a[_0x37c1b9(0x2c9)](a['Injector'])),Ae(0x1,g['ITransformService']),Ae(0x2,a['IUniverInstanceService'])],exports[_0x37c1b9(0x19d)]);const ve=a[_0x37c1b9(0x343)](_0x37c1b9(0x40c));var Fe=(_0x2af996=>(_0x2af996[_0x2af996[_0x37c1b9(0x4bc)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x2af996[_0x2af996['OTHER_CLIENTS_EDITING']=0x1]=_0x37c1b9(0x28a),_0x2af996))(Fe||{});const gi=new Set([Z['InsertSheetMutation']['id']]);function ze(_0x2ebf5d,_0x211ada,_0x3b8a77,_0x358c34,_0x39a1ba){var _0xd6119f=_0x37c1b9,_0x5560da,_0x537f4d,_0x4ffe17,_0x1e2132;const _0x66278f=[];for(const _0x497224 of _0x2ebf5d)if(gi[_0xd6119f(0x2dd)](_0x497224['id'])){if(_0x66278f[_0xd6119f(0x3a1)]>0x0)break;_0x66278f['push'](_0x497224);break;}else _0x66278f[_0xd6119f(0x374)](_0x497224);const _0x5c8e13=(_0x537f4d=(_0x5560da=_0x39a1ba[_0xd6119f(0x340)]())==null?void 0x0:_0x5560da['userID'])!=null?_0x537f4d:'unknown',_0xade20a=(_0x1e2132=(_0x4ffe17=_0x39a1ba[_0xd6119f(0x340)]())==null?void 0x0:_0x4ffe17[_0xd6119f(0x40e)])!=null?_0x1e2132:_0xd6119f(0x2ba);return{'changeset':{'unitID':_0x211ada,'type':g[_0xd6119f(0x2a0)](_0x3b8a77[_0xd6119f(0x3ab)](_0x211ada)),'baseRev':_0x358c34[_0xd6119f(0x465)](_0x211ada),'revision':0x0,'userID':_0x5c8e13,'memberID':_0xade20a,'mutations':_0x66278f},'pendingMutations':_0x2ebf5d[_0xd6119f(0x32a)](_0x66278f[_0xd6119f(0x3a1)])};}function Ii(_0x4c8901,_0x2b6d80,_0x3cb5f3,_0x23ed02,_0x3346bf){var _0x43e17b=_0x37c1b9,_0x2d9991,_0x4948b8,_0x187d4e,_0x436b04;const _0x481ec5=[_0x4c8901['reduce']((_0xd61fb3,_0x3a5181)=>{var _0x2afbd=_0x206a,_0x23330e;const {id:_0x5871ce}=_0xd61fb3,{id:_0x5263af,type:_0x18ba31}=_0x3a5181,_0x16d2f3=(_0x23330e=_0xd61fb3[_0x2afbd(0x3b7)])!=null?_0x23330e:{'actions':null},_0x41f7c1=_0x3a5181['params'];if(_0x5871ce&&_0x5871ce!==_0x5263af)throw new Error(_0x2afbd(0x294)+_0x5871ce+_0x2afbd(0x22e)+_0x5263af+'.');return{..._0xd61fb3,'id':_0x5263af,'type':_0x18ba31,'params':{'unitId':_0x41f7c1[_0x2afbd(0x44d)],'textRanges':_0x41f7c1[_0x2afbd(0x31a)],'actions':a['JSONX'][_0x2afbd(0x354)](_0x16d2f3[_0x2afbd(0x222)],_0x41f7c1[_0x2afbd(0x222)])}};},{})],_0x5d059b=(_0x4948b8=(_0x2d9991=_0x3346bf[_0x43e17b(0x340)]())==null?void 0x0:_0x2d9991[_0x43e17b(0x204)])!=null?_0x4948b8:_0x43e17b(0x2ba),_0xbc1983=(_0x436b04=(_0x187d4e=_0x3346bf[_0x43e17b(0x340)]())==null?void 0x0:_0x187d4e['memberID'])!=null?_0x436b04:_0x43e17b(0x2ba);return{'changeset':{'unitID':_0x2b6d80,'type':g['mapDocumentTypeToUniverType'](_0x3cb5f3[_0x43e17b(0x3ab)](_0x2b6d80)),'baseRev':_0x23ed02[_0x43e17b(0x465)](_0x2b6d80),'revision':0x0,'userID':_0x5d059b,'memberID':_0xbc1983,'mutations':_0x481ec5},'pendingMutations':[]};}function yt(_0x3b65fa,_0x180d23){var _0xaa7962=_0x37c1b9;const _0x17f969=new j[(_0xaa7962(0x49a))](0x1);return setTimeout(()=>_0x17f969['next'](_0x180d23),_0x3b65fa),_0x17f969['asObservable']()[_0xaa7962(0x2cf)](j[_0xaa7962(0x439)](0x1));}const mi={'id':Z[_0x37c1b9(0x283)]['id'],'type':a[_0x37c1b9(0x256)][_0x37c1b9(0x1a2)],'params':{}};var Ei=Object[_0x37c1b9(0x4c6)],ce=(_0x3ee4a1,_0x1dd0d8,_0x5f3dcf,_0x40b45d)=>{var _0x2c9c8a=_0x37c1b9;for(var _0x2174e5=_0x40b45d>0x1?void 0x0:_0x40b45d?Ei(_0x1dd0d8,_0x5f3dcf):_0x1dd0d8,_0x5e344a=_0x3ee4a1[_0x2c9c8a(0x3a1)]-0x1,_0x54d7b1;_0x5e344a>=0x0;_0x5e344a--)(_0x54d7b1=_0x3ee4a1[_0x5e344a])&&(_0x2174e5=_0x54d7b1(_0x2174e5)||_0x2174e5);return _0x2174e5;},w=(_0x379dd8,_0x4ab06c)=>(_0x2393c7,_0x3f3988)=>_0x4ab06c(_0x2393c7,_0x3f3988,_0x379dd8),Ve=(_0x59405e=>(_0x59405e[_0x37c1b9(0x1c1)]=_0x37c1b9(0x225),_0x59405e['SYNCED']=_0x37c1b9(0x208),_0x59405e[_0x37c1b9(0x2a3)]=_0x37c1b9(0x2ca),_0x59405e['AWAITING']='awaiting',_0x59405e[_0x37c1b9(0x3d8)]=_0x37c1b9(0x27d),_0x59405e['FETCH_MISS']=_0x37c1b9(0x37a),_0x59405e['CONFLICT']=_0x37c1b9(0x2c6),_0x59405e[_0x37c1b9(0x199)]=_0x37c1b9(0x200),_0x59405e))(Ve||{});const Nt=0xea60;function _0x206a(_0xc39e82,_0x38c101){var _0xa0c8bb=_0xa0c8();return _0x206a=function(_0x206aed,_0x108db5){_0x206aed=_0x206aed-0x18d;var _0x16e9a5=_0xa0c8bb[_0x206aed];return _0x16e9a5;},_0x206a(_0xc39e82,_0x38c101);}function _0xa0c8(){var _0xa4cd88=['_decreaseWaiting','_iKey','@univerjs/docs','SEND_CHANGESET_TIMEOUT_KEY','UniverCollaborationPlugin','includes','abs','capture','FETCH_MISSING','image/bmp','_onRemoteRetry','&source=','take','incrementRevOfUnit','fetchMiss','_syncEditingCollabCursor','getFocusedUnit','CHANGESET_REJ','requestParams','SOCKET_FAILED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','MD5','_userManagerService','HELLO','processBlock','_imageSourceCache','delete','_onRemoteChangeset','crypto','permissionRejEvent','debug','Hasher','unitId','_initDependencies','INVALID_INVITE_CODE','_reverseMap','revision','2982252JUCVdg','_onRemoteRejected','serializeCombRequest','x-univer-host','_sender','/object/','EvpKDF','_lockTransition','People','isTransformChangesetsSuccess','Disposable','_singleActiveUnitService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Rectangle','max','Pkcs7','routeKey','_transformStack','@univerjs/telemetry','getCurrentRevOfUnit','UserManagerService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','updatePermissionPoint','CollaborationUIEventId','reconnect','ceil','_revisionService','SNAPSHOT_HAS_BEEN_REMOVED','_clearScheduledTask','executeCommand','DEFAULT_FILE_NAME','_DEC_XFORM_MODE','randomUUID','getAllMembers','updateCursorEvent','_undoRedoService','add','LEAVE','b64DecodeUnicode','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_unitInfo$','[OfflineState]:\x20received\x20rejection.','indexOf','from','CollaborationController','LICENSE_MAX_UNITS_EXCEEDED','format','_memberService','setConfig','INVALID_ARGUMENT','Could\x20not\x20dynamically\x20require\x20\x22','generateRandomId','init','COLLAB_WEB_SOCKET_URL','close','target','isPermissionRej','_createHandler','_logService','YUUMI_RATE_OVER_LIMIT','_transformIMECache','isTransformMutationsWithChangesetSuccess','onCommentUpdate','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_clearRedo','_snapshotServerService','focused$','execute','SOCKET_FAILED_RETRY','HttpExport','CONFLICT','find','ReplaySubject','_process','_getCtorByUniverType','[CollaborationSessionService]:\x20socket\x20error','transformUndoRedo','onTransformRemoteChangesetByIMECache','_injector','readyForCollab','unitInfo$','editing\x20status\x20changed\x20to','_hasher','apply','[OfflineState]:\x20received\x20changeset.','collaboration-client.local-cache-service','_minBufferSize','HmacMD5','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','CollaborationSocketService','_instanceService','_handlerCallback','_entities','_getUploadFileURL','auth.needGotoLoginAlert','_substituteRedoStack','onTransformState','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_oKey','_stopTelemetryCollaborationNewChangeset','_snapshotService','_listenToNetworkCondition','event$','_change$','isArray','Injector','NO_OTHER_CLIENTS_EDITING','LOGIN_FAILED','post','CompressMutationService','getCollabEntity','online$','SnapshotServerOverHTTPService','code','min','2815596YqrhMC','getOwnPropertyDescriptor','1696105YrOoyx','disposeWithMe','createEncryptor','USER_NOT_INVITED_CODE','ciphertext','_socketReady','ENSURE_SNAPSHOT_EXECUTION','name','_localCacheService','@univerjs/network','ConflictState','readInt32LE','awaitingChangeset','BehaviorSubject','session.room-cnt-exceeds','mutations','loginUrlKey','_parse','HTTPService','_waitCount','open$','catch','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','unitId\x20is\x20not\x20found','socket$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Plugin','removeMember','Optional','BlockCipher','forEach','FAIL','&to=','INTERNAL_ERROR','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','YUUMI_URL_COL_OUT_OF_RANGE','42912TOpTGv','updateMember','ICollaborationSocketService','repeat','patch','APPLY_REJECT','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_mode','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_updateState','_loadDoc','baseRev','IAuthzIoService','unitID','OTHER_CLIENT_EDITING','_state','algo','_commentUpdate$','SNAPSHOT_URL_KEY','RECV','_schedule','members','12XjVJQp','override','enableAuthServer','href','sigBytes','extend','localeService','COMPRESS_MUTATION_SEND','_transitionLocked','IConfigService','_joinRoom','appendMutation','OFFLINE','_replayCachedMutations','_doCryptBlock','COMPRESS_MUTATION_APPLY','SheetTransformSelectionsService','HEARTBEAT_TIMEOUT_KEY','_type','_compressMutationService','_changesetSessionId','MUTATION','action','SetSelectionsOperation','cmd','[CollaborationUndoRedoService]','telemetry\x20info\x20is\x20not\x20initialized','[CollaborationSessionService]','_updateLocalCache','UnitSnapshot','defineProperty','JOIN_ROOM_PERMISSION_DENIED','get','_acknowledgedAwaitingChangeset','_checkMissing','LIVESHARE_REQUEST_HOST','parseProtocolChangeset','rxjs','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_append','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','DependentOn','fromCollab','startsWith','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','OpenSSL','@univerjs-pro/collaboration','_scheduleCollaborationTimeoutTimer','clone','toggleOffline','call','stringify','NOT_COLLAB','iterations','_cipher','onLocalMutation','1258582nxHvDQ','IUniverInstanceService','Quantity','collabSubmitChangesetUrl','parse','infoRsp','/rev/','[CollaborationState]:\x20apply\x20error!','_tryReconnect','parseChangesetToProtocol','MentionIoHttpService','SNAPSHOT_INVALID_SNAPSHOT','file','blockSize','getUnitId','getTime','saveChangeset','/-/object/list','_resendTimer','SNAPSHOT_SERVER_URL_KEY','IImageIoService','IContextService','resolve','_initCloseConn','collabWebSocketUrl','onSendChangeset','hasher','IDLE','POST','SHOULD_CLOSE_CONN','filter','_iv','reset','_transformSelections','_createInitialState','_prevBlock','CONNECTOR_DATA_TOO_LARGE','onCommandExecuted','kdf','replace','LIVESHARE_NEW_HOST','_hash','editingUnit','ERROR_IMAGE_TYPE','_config','CollaborationSessionService','USERS_LEAVE','_unlockTransition','_loadSheet','_getSignURL','Decryptor','_collaborationUIEventService','transformSelections','ILogService','LIVESHARE_FETCH_OPERATIONS','_waitForHeartbeatResponse','UNRECOGNIZED','Latin1','UNKNOWN_CODE','offline','INetworkConditionService','Encryptor','interceptor','userID','onRemoteRej','subUnitId','_resendTimeout','synced','[SyncedState]:\x20received\x20acknowledgement.','_commandService','loadDoc','SnapshotService','LOGIN_URL_KEY','[OfflineState]:\x20received\x20acknowledgement.','_key','buffer','byteLength','DocCollaborationEntity','hasOwnProperty','entries','__Key__','c1Prime','_registerDependencies','sid','/universer-api/uniscript','EMAIL_HAS_BEEN_BOUND','allowed','msCrypto','_tryEnsureSocket','_toggleOffline','_invKeySchedule','getTypeOfUnitAdded$','merge','actions','_awaitingChangeset','UniverInstanceType','not_collab','ISingleActiveUnitService','_getRedoStack','_onLocalMutation','selections','LICENSE_DISTRO_REJECTED','USERS_ENTER','keySize','[DataLoaderService]','\x20-\x20','complete','_incrementRevisionNumber','now','stopTime','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','roomInfos','UNIVER_PROJECT','AuthzIoHttpService','getSnapshotAPIPath','list','_getAPIPrefixPath','padding','_univerInstanceService','INVITE_CODE_HAS_BEEN_UES','_changesetReqId','csShouldRetryEvent','_nRounds','_exhaustRemoteChangesetQueue','registerHTTPInterceptor','_clearTimeoutTimer','toggleOnline','Error\x20on\x20receiving\x20event','charAt','update','LICENSE_EXPORT_SIZE_EXCEEDED','type','MOBILE_HAS_BEEN_BOUND','_map','PERSON','_transformUndoredo','_getSendChangesetTimeout','_onUserLeave','sessionStatus$','PY_RUNTIME_SCRIPT_ERROR','INVITE_CODE_REQUIRED','_roomMembers','getActiveSheet','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','takeUntil','CommandType','UnitEmbedded','_localeService','_startTelemetryCollaborationNewChangeset','_showConflictNotification','_HTTPService','withCredentials','equals','_data','SheetCollaborationEntity','WordArray','sendChangesetTimeout','CollaborativeUndoRedoService','_pendingMutations','@univerjs/drawing','_disableEditing','FetchingMissState','LIVESHARE_TERMINATE','confirm','_onFetchMissResult','SUBMIT_CHANGESET','transformMutationsWithChangeset','_initMergeInterceptor','_keySchedule','deserializeToCombResponse','deleteCollaborator','setCurrentUser','rev','getUnitStatus$','_configService','ERROR_IMAGE','__creator','onStarting','SHA1','words','startTime','ImageSourceType','HEARTBEAT_INTERVAL','transformChangesets','awaiting_with_pending','ITelemetryService','fetchThroughInterceptors','liveShareOperation','StreamCipher','COMMENT_UPDATE','EmptyMutation','CollaborationEvent','_emitMembers','onRemoteRetry','join','_networkConditionService','ISnapshotServerService','OTHER_CLIENTS_EDITING','updateOfflineData','c2Prime','closeSession','_updateStatus','responseType','connection\x20error','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','APPLY_NON_SEQUENTIAL_REVISION','[SyncedState]:\x20received\x20rejection.','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','exports','enc','_getLoginPath','OfflineState','_init','getValue','reqId','ITransformService','avatar','findIndex','UniverCollaborationClientPlugin','mapDocumentTypeToUniverType','url','_collaborationTimeoutTimer','PENDING','error$','delay','univer-pro.collaboration-client.network-condition.service','error','floor','splice','session','Utf8','location','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','\x0aCurrent:\x20','_ENC_XFORM_MODE','decrypt','_onConnectionFailed','SyncedState','toString','UNKNOWN_CMD','sin','clear','unpad','Workbook','leaveEvent','unknown','onMissingChangesets','4350hCNaBm','_unitID','[PendingState]:\x20unhandled\x20univer\x20type:\x20','COLLAB_SUBMIT_CHANGESET_URL','authzUrl','COMPLETION_FINISHED','string','unit-cache-','UNIVER_COLLABORATION_CLIENT_PLUGIN','createCollaborator','conflict','resend','_getCurrentRevision','Inject','pending','NOT_FOUND','newCsEvent','emitEvent','changesets','pipe','compute','socket\x20close','setShowComponents','getRandomValues','mode','_applyRemoteChangeset','origin','YUUMI_NO_CUBOID_FOR_QUESTION','UNDEFINED','AUTHZ_URL_KEY','decryptBlock','getGlobalObject','key','has','create','workbook','_socketService','_keyPriorReset','_socket','csRejEvent','state$','reject','MemberService','toDisposable','509910YlaVDP','\x20in\x20_schedule.','collaborators','UPDATE_CURSOR','_submitChangeset','dispose','_getUndoStack','cfg','requireSession','PendingState','/universer-api/comb','_telemetryInfo','UNIVER_UNKNOWN','_doProcessBlock','_members','_status$','NEW_CHANGESETS','listRoles','_sheetTransformSelectionsService','image/png','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','signUrlServerUrl','_permissionService','mixIn','fetching\x20missing\x20changesets\x20from\x20','IMentionIOService','_queuedRemoteChangesets','collaboration-client.config','_nDataBytes','AwaitingState','isInternalEditorID','/block/','sessionStatus','_timeoutTimer','_onJoinRoomEvent','bind','createSocket','onRemoteAck','_event$','salt','_getAPIPrefix','IPermissionService','every','HmacSHA1','registerDependencies','_startCollaboration','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_clearLocalCache','put','formatter','textRanges','HEARTBEAT','_candidateSocket','_replaceFileID','_onRemoteACK','_clearRetryConnectingTimer','_createSocket','_onCombEvent','_toggleOnline','lib','prototype','size','next','JOINING','getRoom','APPLY_DUPLICATED','slice','UPDATE_PERMISSION_OBJ','_socket$','ImageUploadStatusType','_transformStateCache','_entityInit$','onTransformIME','/collaborator','send','csAckEvent','RichTextEditingMutation','LIVESHARE_OPERATION','byteOffset','/-/object/-/batch_allowed','_collabSessionService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','loadOfflineData','getImageSourceCache','SUCCUSS','putCollaborators','_sessionStatus$','_collaborationPaused','getCurrentUser','_transformService','onSyncEditingCollabCursor','createIdentifier','_commentService','waitForRoom$','_throwTelemetryCollaborationNewChangeset','submit\x20changeset\x20error!','onRemoteChangeset','sheets','map','_shouldReportTelemetry','_xformMode','duration','eventID','getCurrentSelections','Hex','_fetchMissChangesets','ws://127.0.0.1:8000/universer-api/comb/connect','default','compose','COLLAB_SUBMIT_CHANGESET_URL_KEY','finalize','[FetchMissState]','getLatestCsReqIdBySid','socket\x20open.','result','_rescheduleHeartbeat','status','body','CollaborationStatus','reverse','COLLAB_WEB_SOCKET_URL_KEY','_doFinalize','SerializableCipher','_getDownloadEndpointURL','encode','UniverNetworkPlugin','/allowed','state','YUUMI_ASYNCIO_CANCELLED','_retryConnectingTimer','roles','getMemberID','batchAllowed','OPTIONAL','MentionType','_remoteChangesetQueue','LOCAL_CACHE_INTERVAL','createInstance','WECHAT_HAS_BEEN_BOUND','getMember','push','onMissedChangesetFetched','_collaborationSessionService','dispose$','_telemetryService','/fetchmissing?from=','fetch_missing','_scheduleCompleteTimestamp','IUndoRedoService','_members$','substr','m2Prime','/object','ALREADY_EXISTS','_transformRemoteChangesetByStateCache','close$','NoPadding','SUBMIT_CHANGESET_TIMEOUT','rxjs/operators','concatMap','YUUMI_SUBSCRIPTION_NOT_FOUND','pad','function','_executeRemoteChangeset','$super','status$','session.room-full','LocaleService','onTransformRemoteChangesetByStateCache','loadUnit','_sendHeartbeatTimer','isTransformMutationsWithChangesetFailure','UnitStatus','UNAUTHENTICATED','random','updatePermissionObjEvent','_redoStacks','CollaborationEntity','_roomCreated$','originalMeta','unsubscribe','[UniverCollaborationClientPlugin]','session.room-permission-denied','/unit/','DataLoaderService','length','failed\x20to\x20apply\x20missed\x20changesets!','getConfig','@univerjs/core','UNIVER_SHEET','getTypeOfUnitDisposed$','GLOBAL_ROOMS_CNT_EXCEEDS','pauseCollaboration','WorkbookEditablePermission','/universer-api/oidc/authpage','getUnitType','getImage','INVITE_CODE_ALREADY_BOUND','src','_clearHeartbeatTimer','Subject','ThresholdInterceptorFactory','localCacheService','fromCharCode','snapshotServerUrl','CHANGESET_ACK','disableLocalCache','params','PERMISSION_DENIED','LICENSE_IMPORT_SIZE_EXCEEDED','addImageSourceCache','objectType','_onMessage','_onConflict','BufferedBlockAlgorithm','UserProfileImg','40WdDYjC','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','[CollaborationSession]','HEARTBEAT_TIMEOUT','image/jpeg','socketService','UNIVER_SLIDE','set','?size=','objectID','setWaitCount','_retryCount','PasswordBasedCipher','touchDependencies','_sendHeartbeat','PSEUDO_FETCH_MISSING_RESULT','data','Cipher','_isPermissionRej','_state$','_doReset','_handler','encryptBlock','textEncoder','AWAITING_WITH_PENDING','Base','CHANGESET_SHOULD_RETRY','AES','reduce','RevisionService','_socketMessageSubscription','shouldCloseConn','_doCreateSocket','clamp','commentUpdate$','message$','_resendWithTimeout','JOIN','concat','subject','FileId','append','\x20to\x20','_onUserJoin','DEFAULT_COLLAB_WEB_SOCKET_URL','_undoStacks','_removeRoom','BASE64','loadSheet','/role','range','Undefined','UNISCRIPT_RUN','HMAC','_httpService','ISocketService','SEND_CHANGESET_TIMEOUT','JOIN_ROOM_NOT_EXISTS','CollaborationImageIoService','INGEST','univer-pro.collaboration-client-socket-service','JOIN_ROOM_FULL','UNIVER_DOC','headers','_sendingTimer','getCollabEntity$','TOO_MANY_REQUESTS','shareReplay','/universer-api/stream/file/upload','CollaborationSession','encrypt','APPLY_PERMISSION_DENIED','YUUMI_UNABLE_LOAD_URL','_onConnectionOpen','Malformed\x20UTF-8\x20data','getInterceptPoints','univer-pro.collaboration-client.single-active-unit-service','1138676eQibue','memberID','_substituteUndoStack','JOIN_ROOM_FAILED','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','toStringTag','APPLY_REVISION_CONFILICT','RxDisposable','CipherParams','listCollaborators','ICommandService','ivSize','AwaitingWithPendingState','[CollaborationEntity]','_transformRemoteChangesetByIMECache','_initRequestHeader','SessionStatus','onTransformSelections','_clearCollaborationTimeoutTimer','charCodeAt','downloadEndpointUrl','HttpImport','_sessions','_onOffline','Base64','subscribe','asObservable','_onRecvEvent','DisposableCollection','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','/universer-api/authz','CHANGESET_REVISION_CONFILICT'];_0xa0c8=function(){return _0xa4cd88;};return _0xa0c8();}class he{constructor(_0x3a8268,_0x465581,_0x777b71,_0x418a90,_0x53d3bb,_0x297df2,_0x4ab1ab,_0x2cb5b5,_0x50b115){var _0x45319d=_0x37c1b9;A(this,_0x45319d(0x223),null),A(this,_0x45319d(0x263),[]),(this[_0x45319d(0x4f8)]=_0x3a8268,this['type']=_0x465581,this[_0x45319d(0x3d5)]=_0x53d3bb,this[_0x45319d(0x20a)]=_0x297df2,this[_0x45319d(0x475)]=_0x4ab1ab,this[_0x45319d(0x46c)]=_0x2cb5b5,this[_0x45319d(0x4cf)]=_0x50b115,this[_0x45319d(0x223)]=_0x777b71,this[_0x45319d(0x263)]=_0x418a90);}[_0x37c1b9(0x1af)](_0x8d878e){var _0x53b7f8=_0x37c1b9;const _0x5c7b43=this[_0x53b7f8(0x46c)]['getCurrentRevOfUnit'](this['unitID']);return _0x8d878e[_0x53b7f8(0x451)]>_0x5c7b43+0x1?(this[_0x53b7f8(0x3d5)][_0x53b7f8(0x2bb)]({'from':_0x5c7b43,'to':_0x8d878e['revision']-0x1}),!0x0):!0x1;}[_0x37c1b9(0x24c)](_0x234765){var _0x119aa7=_0x37c1b9;this['_undoRedoService'][_0x119aa7(0x49e)](this[_0x119aa7(0x4f8)],_0x234765);}['_transformSelections'](_0x4002d1){var _0x14952c=_0x37c1b9,_0x62f075,_0x55c689;(_0x55c689=(_0x62f075=this['_handler'])[_0x14952c(0x41e)])==null||_0x55c689[_0x14952c(0x1bf)](_0x62f075,_0x4002d1);}[_0x37c1b9(0x48e)](_0x45f65b){var _0x550d18=_0x37c1b9,_0x116de7,_0x12a4a8;return(_0x12a4a8=(_0x116de7=this[_0x550d18(0x3d5)])[_0x550d18(0x330)])==null?void 0x0:_0x12a4a8['call'](_0x116de7,_0x45f65b);}[_0x37c1b9(0x32e)](_0x43f33e){var _0xba26d4=_0x37c1b9,_0x4e4834,_0x2e58e4;return(_0x2e58e4=(_0x4e4834=this[_0xba26d4(0x3d5)])[_0xba26d4(0x4b2)])==null?void 0x0:_0x2e58e4[_0xba26d4(0x1bf)](_0x4e4834,_0x43f33e);}[_0x37c1b9(0x41b)](_0xaf03a9){var _0x1c6518=_0x37c1b9,_0x2e3c06,_0x419df7,_0x2e78e9;return(_0x2e78e9=(_0x419df7=(_0x2e3c06=this[_0x1c6518(0x3d5)])[_0x1c6518(0x49f)])==null?void 0x0:_0x419df7[_0x1c6518(0x1bf)](_0x2e3c06,_0xaf03a9))!=null?_0x2e78e9:_0xaf03a9;}[_0x37c1b9(0x382)](_0x2419e1){var _0x1a54d2=_0x37c1b9,_0x4839af,_0x46ed33,_0x88f239;return(_0x88f239=(_0x46ed33=(_0x4839af=this['_handler'])[_0x1a54d2(0x390)])==null?void 0x0:_0x46ed33[_0x1a54d2(0x1bf)](_0x4839af,_0x2419e1))!=null?_0x88f239:_0x2419e1;}['_syncEditingCollabCursor'](_0x17ba03){var _0x384373=_0x37c1b9,_0x463698,_0x49f811;if(this[_0x384373(0x248)]===X[_0x384373(0x3fe)]){const {unitID:_0x5e1f55,mutations:_0x2c2123,memberID:_0x38b6bf}=_0x17ba03,_0x3f4365=_0x2c2123[0x0][_0x384373(0x3b7)][_0x384373(0x31a)];Array[_0x384373(0x4ba)](_0x3f4365)&&_0x3f4365[_0x384373(0x3a1)]>0x0&&((_0x49f811=(_0x463698=this[_0x384373(0x3d5)])[_0x384373(0x342)])==null||_0x49f811[_0x384373(0x1bf)](_0x463698,{'unitID':_0x5e1f55,'memberID':_0x38b6bf,'textRanges':_0x3f4365}));}}[_0x37c1b9(0x1a9)](){var _0x3ad329=_0x37c1b9,_0x3284e8;(_0x3284e8=this['_localCacheService'])==null||_0x3284e8[_0x3ad329(0x28b)](this[_0x3ad329(0x4f8)],this['type'],this[_0x3ad329(0x223)],this[_0x3ad329(0x263)]);}[_0x37c1b9(0x2c8)](){var _0x57481f=_0x37c1b9;return this[_0x57481f(0x46c)][_0x57481f(0x465)](this[_0x57481f(0x4f8)]);}[_0x37c1b9(0x230)](){var _0x15ca72=_0x37c1b9;this[_0x15ca72(0x46c)][_0x15ca72(0x43a)](this[_0x15ca72(0x4f8)]);}['_executeRemoteChangeset'](_0x579f5c){var _0x42b525=_0x37c1b9,_0x1aec7e;let _0x1cb506=this[_0x42b525(0x41b)](_0x579f5c);_0x1cb506=this[_0x42b525(0x382)](_0x1cb506);const _0x21c753=a['sequenceExecute'](_0x1cb506[_0x42b525(0x4d6)],this[_0x42b525(0x20a)],{'fromCollab':!0x0});if(!_0x21c753[_0x42b525(0x35a)])throw _0x21c753[_0x42b525(0x2a7)]instanceof Error?_0x21c753[_0x42b525(0x2a7)]:new Error((_0x1aec7e=_0x21c753['error'])!=null?_0x1aec7e:_0x42b525(0x1cc));this['_transformIMECache'](_0x1cb506),this['_transformStateCache'](_0x1cb506),this[_0x42b525(0x24c)](_0x579f5c),this[_0x42b525(0x1e6)](_0x1cb506),this[_0x42b525(0x43c)](_0x1cb506),this[_0x42b525(0x230)]();}}exports['SyncedState']=class extends he{constructor(_0x171e1c,_0x17be9a,_0x58a20c,_0x5c9e62,_0x5302cb,_0x555c6,_0x911b2f,_0x184fb4,_0x5f09ce,_0x382ab2){var _0x3b8204=_0x37c1b9;super(_0x171e1c,_0x17be9a,null,[],_0x58a20c,_0x911b2f,_0x555c6,_0x5c9e62,_0x382ab2),A(this,_0x3b8204(0x35c),_0x3b8204(0x208)),(this['_injector']=_0x5302cb,this[_0x3b8204(0x48c)]=_0x184fb4,this['_transformService']=_0x5f09ce,this[_0x3b8204(0x3b2)]=_0x382ab2);}[_0x37c1b9(0x198)](_0x25de41){var _0x3f0c8b=_0x37c1b9;const _0x1ebf4b=this[_0x3f0c8b(0x4a0)][_0x3f0c8b(0x371)](exports[_0x3f0c8b(0x2f1)],this[_0x3f0c8b(0x4f8)],this['type'],[_0x25de41],this['_handler']);return _0x1ebf4b[_0x3f0c8b(0x4ff)](),_0x1ebf4b[_0x3f0c8b(0x1a9)](),_0x1ebf4b;}[_0x37c1b9(0x348)](_0xe198c9){var _0x18b7b8=_0x37c1b9;if(this[_0x18b7b8(0x1af)](_0xe198c9))return this[_0x18b7b8(0x4a0)][_0x18b7b8(0x371)](exports['FetchingMissState'],this['unitID'],this['type'],null,[],null,[_0xe198c9],this[_0x18b7b8(0x3d5)]);try{const _0x267f59=this[_0x18b7b8(0x341)][_0x18b7b8(0x26b)](_0xe198c9,[mi]);if(g['isTransformMutationsWithChangesetSuccess'](_0x267f59)){const {c1Prime:_0x24f241}=_0x267f59;return this[_0x18b7b8(0x38b)](_0x24f241),this;}throw _0x267f59['error'];}catch(_0x473c91){return this['_logService'][_0x18b7b8(0x2a7)](_0x473c91),this[_0x18b7b8(0x3bd)](!0x1);}}['_onConflict'](_0x174648){var _0x290fa7=_0x37c1b9;return this[_0x290fa7(0x4a0)][_0x290fa7(0x371)](exports[_0x290fa7(0x4d1)],this['unitID'],this[_0x290fa7(0x248)],null,[],this[_0x290fa7(0x3d5)],_0x174648);}[_0x37c1b9(0x30d)](){var _0xcb7c2d=_0x37c1b9;throw new Error(_0xcb7c2d(0x209));}[_0x37c1b9(0x205)](){var _0x472da0=_0x37c1b9;throw new Error(_0x472da0(0x293));}[_0x37c1b9(0x286)](){return this;}[_0x37c1b9(0x1be)](){var _0x1f4def=_0x37c1b9;return this['_injector'][_0x1f4def(0x371)](exports[_0x1f4def(0x298)],this['unitID'],this[_0x1f4def(0x248)],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0x37c1b9(0x2c7)](){var _0x4af949=_0x37c1b9;throw new Error(_0x4af949(0x1b5));}[_0x37c1b9(0x43b)](){var _0x1c0b98=_0x37c1b9;const _0xc55369=this[_0x1c0b98(0x46c)]['getCurrentRevOfUnit'](this[_0x1c0b98(0x4f8)]);return this['_handler'][_0x1c0b98(0x2bb)]({'from':_0xc55369,'to':0x0}),this[_0x1c0b98(0x4a0)][_0x1c0b98(0x371)](exports[_0x1c0b98(0x266)],this[_0x1c0b98(0x4f8)],this[_0x1c0b98(0x248)],null,[],null,[],this[_0x1c0b98(0x3d5)]);}},exports['SyncedState']=ce([w(0x3,a['Inject'](g['RevisionService'])),w(0x4,a[_0x37c1b9(0x2c9)](a['Injector'])),w(0x5,a[_0x37c1b9(0x37c)]),w(0x6,a[_0x37c1b9(0x417)]),w(0x7,a[_0x37c1b9(0x1fa)]),w(0x8,g['ITransformService']),w(0x9,a['Optional'](z))],exports[_0x37c1b9(0x2b2)]),exports[_0x37c1b9(0x2f1)]=class extends he{constructor(_0x1f05fb,_0xa20ee4,_0x33fb33,_0xe1252a,_0x14508a,_0x19a58a,_0x32326c,_0x436649,_0x4684e4,_0x1dd3b4,_0x30961f,_0x340518,_0x3d9adc,_0x236d83){var _0x562459=_0x37c1b9;super(_0x1f05fb,_0xa20ee4,null,_0x33fb33,_0xe1252a,_0x4684e4,_0x3d9adc,_0x19a58a,_0x236d83),A(this,_0x562459(0x35c),_0x562459(0x2ca)),A(this,_0x562459(0x37b),null),A(this,_0x562459(0x400),null),(this[_0x562459(0x4a0)]=_0x14508a,this[_0x562459(0x481)]=_0x32326c,this[_0x562459(0x48c)]=_0x436649,this[_0x562459(0x273)]=_0x1dd3b4,this[_0x562459(0x341)]=_0x30961f,this[_0x562459(0x23b)]=_0x340518);}['appendMutation'](_0x14163c){var _0x267927=_0x37c1b9;return this['_pendingMutations'][_0x267927(0x374)](_0x14163c),this[_0x267927(0x1a9)](),this;}[_0x37c1b9(0x348)](_0x4e1701){var _0x3322fe=_0x37c1b9;if(this[_0x3322fe(0x1af)](_0x4e1701))return this[_0x3322fe(0x46e)](),this[_0x3322fe(0x4a0)]['createInstance'](exports['FetchingMissState'],this['unitID'],this[_0x3322fe(0x248)],null,this['_pendingMutations'],null,[_0x4e1701],this['_handler']);try{const _0xae35c4=this[_0x3322fe(0x341)][_0x3322fe(0x26b)](_0x4e1701,this['_pendingMutations']);if(g[_0x3322fe(0x48f)](_0xae35c4)){const {c1Prime:_0x5486a2,m2Prime:_0x370973}=_0xae35c4;this['_executeRemoteChangeset'](_0x5486a2);const _0x2d9532=this[_0x3322fe(0x4a0)]['createInstance'](exports[_0x3322fe(0x2f1)],this[_0x3322fe(0x4f8)],this[_0x3322fe(0x248)],_0x370973,this['_handler']);this[_0x3322fe(0x46e)]();const _0x89bacd=new Date()[_0x3322fe(0x1d4)](),_0x161eac=this['_scheduleCompleteTimestamp']?Math[_0x3322fe(0x460)](this['_scheduleCompleteTimestamp']-_0x89bacd,0x0):this[_0x3322fe(0x24d)]();return _0x2d9532['_schedule'](_0x161eac),_0x2d9532;}throw _0xae35c4[_0x3322fe(0x2a7)];}catch(_0x18de09){return this[_0x3322fe(0x48c)][_0x3322fe(0x2a7)](_0x18de09),this['_onConflict'](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x37c1b9(0x205)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x37c1b9(0x286)](){return this;}[_0x37c1b9(0x1be)](){var _0x3a4e9a=_0x37c1b9;return this[_0x3a4e9a(0x46e)](),this['_injector'][_0x3a4e9a(0x371)](exports[_0x3a4e9a(0x298)],this[_0x3a4e9a(0x4f8)],this[_0x3a4e9a(0x248)],null,this[_0x3a4e9a(0x263)],this[_0x3a4e9a(0x3d5)]);}[_0x37c1b9(0x243)](){return this;}['_schedule'](_0x315fff){var _0x3a428c=_0x37c1b9;const _0x4fbcf1=_0x315fff!=null?_0x315fff:this[_0x3a428c(0x24d)]();this[_0x3a428c(0x37b)]=new Date()['getTime']()+_0x4fbcf1,this[_0x3a428c(0x400)]=setTimeout(()=>{var _0xace7bb=_0x3a428c;this[_0xace7bb(0x46e)]();let _0x4f1676=null;switch(this[_0xace7bb(0x248)]){case X[_0xace7bb(0x3a5)]:{_0x4f1676=ze(this[_0xace7bb(0x263)],this[_0xace7bb(0x4f8)],this[_0xace7bb(0x23b)],this['_revisionService'],this[_0xace7bb(0x481)]);break;}case X[_0xace7bb(0x3fe)]:{this[_0xace7bb(0x263)][_0xace7bb(0x312)](_0x4de527=>_0x4de527['id']===ut[_0xace7bb(0x334)]['id'])?_0x4f1676=Ii(this[_0xace7bb(0x263)],this[_0xace7bb(0x4f8)],this['_univerInstanceService'],this[_0xace7bb(0x46c)],this[_0xace7bb(0x481)]):_0x4f1676=ze(this['_pendingMutations'],this[_0xace7bb(0x4f8)],this[_0xace7bb(0x23b)],this['_revisionService'],this[_0xace7bb(0x481)]);break;}default:throw new Error(_0xace7bb(0x2be)+this[_0xace7bb(0x248)]+_0xace7bb(0x2e9));}const {changeset:_0x4a6c8d,pendingMutations:_0x1f09f1}=_0x4f1676;this['_handler']['onSendChangeset'](_0x4a6c8d);const _0x29c787=_0x1f09f1['length']?this[_0xace7bb(0x4a0)][_0xace7bb(0x371)](exports[_0xace7bb(0x419)],this[_0xace7bb(0x4f8)],this['type'],_0x4a6c8d,_0x1f09f1,this[_0xace7bb(0x3d5)],void 0x0):this['_injector'][_0xace7bb(0x371)](exports[_0xace7bb(0x305)],this[_0xace7bb(0x4f8)],this[_0xace7bb(0x248)],_0x4a6c8d,this[_0xace7bb(0x3d5)]);_0x29c787[_0xace7bb(0x1a9)](),this['_handler']['onStateChange'](this,_0x29c787);},_0x4fbcf1);}[_0x37c1b9(0x24d)](){var _0x4325ad=_0x37c1b9,_0x1d19e3;const _0x4cd91a=this['_configService']['getConfig'](Y);return(_0x1d19e3=_0x4cd91a==null?void 0x0:_0x4cd91a[_0x4325ad(0x261)])!=null?_0x1d19e3:jt;}[_0x37c1b9(0x2c7)](){var _0x41dcd5=_0x37c1b9;throw new Error(_0x41dcd5(0x479));}['_clearScheduledTask'](){var _0x4661f2=_0x37c1b9;this[_0x4661f2(0x400)]!=null&&(clearTimeout(this[_0x4661f2(0x400)]),this[_0x4661f2(0x400)]=null);}[_0x37c1b9(0x3bd)](_0xb8871c){var _0x1cd706=_0x37c1b9;return this[_0x1cd706(0x46e)](),this['_injector'][_0x1cd706(0x371)](exports['ConflictState'],this[_0x1cd706(0x4f8)],this['type'],null,this[_0x1cd706(0x263)],this[_0x1cd706(0x3d5)],_0xb8871c);}},exports[_0x37c1b9(0x2f1)]=ce([w(0x4,a[_0x37c1b9(0x2c9)](a[_0x37c1b9(0x4bb)])),w(0x5,a[_0x37c1b9(0x2c9)](g[_0x37c1b9(0x3dd)])),w(0x6,a[_0x37c1b9(0x2c9)](exports['MemberService'])),w(0x7,a[_0x37c1b9(0x1fa)]),w(0x8,a[_0x37c1b9(0x417)]),w(0x9,a[_0x37c1b9(0x196)]),w(0xa,g[_0x37c1b9(0x29c)]),w(0xb,a[_0x37c1b9(0x1c6)]),w(0xc,a[_0x37c1b9(0x37c)]),w(0xd,a[_0x37c1b9(0x4e3)](z))],exports[_0x37c1b9(0x2f1)]),exports[_0x37c1b9(0x305)]=class extends he{constructor(_0x3773dd,_0x32e808,_0x1f9153,_0x9bbd28,_0x3f2ff7,_0x2bfe2e,_0x1b67f0,_0x2d4a2d,_0x4228b6,_0x448e9e,_0x4ecf47){var _0x46d7c5=_0x37c1b9;super(_0x3773dd,_0x32e808,_0x1f9153,[],_0x9bbd28,_0x1b67f0,_0x448e9e,_0x2bfe2e,_0x4ecf47),A(this,'status','awaiting'),A(this,_0x46d7c5(0x207),0x0),A(this,_0x46d7c5(0x1d7)),A(this,_0x46d7c5(0x456)),(this[_0x46d7c5(0x4a0)]=_0x3f2ff7,this['_logService']=_0x2d4a2d,this[_0x46d7c5(0x341)]=_0x4228b6);}[_0x37c1b9(0x198)](_0x5722c9){var _0x499951=_0x37c1b9;this[_0x499951(0x46e)]();const _0x3b3859=this[_0x499951(0x4a0)][_0x499951(0x371)](exports['AwaitingWithPendingState'],this[_0x499951(0x4f8)],this[_0x499951(0x248)],this[_0x499951(0x223)],[_0x5722c9],this[_0x499951(0x3d5)],this[_0x499951(0x1d7)]);return _0x3b3859[_0x499951(0x1a9)](),_0x3b3859;}[_0x37c1b9(0x348)](_0x363a5a){var _0x14a9a5=_0x37c1b9;if(this[_0x14a9a5(0x1af)](_0x363a5a))return this[_0x14a9a5(0x46e)](),this[_0x14a9a5(0x4a0)][_0x14a9a5(0x371)](exports[_0x14a9a5(0x266)],this['unitID'],this[_0x14a9a5(0x248)],this[_0x14a9a5(0x223)],[],null,[_0x363a5a],this['_handler']);try{const _0x506480=this[_0x14a9a5(0x341)][_0x14a9a5(0x27c)]([_0x363a5a],[this[_0x14a9a5(0x223)]],!0x1);if(g[_0x14a9a5(0x45b)](_0x506480)){const {c1Prime:_0x391893,c2Prime:_0x2243a4}=_0x506480;this['_executeRemoteChangeset'](_0x391893[0x0]),_0x2243a4[0x0][_0x14a9a5(0x4f6)]=this['_getCurrentRevision'](),this[_0x14a9a5(0x46e)]();const _0x458326=this[_0x14a9a5(0x4a0)]['createInstance'](exports[_0x14a9a5(0x305)],this[_0x14a9a5(0x4f8)],this['type'],_0x2243a4[0x0],this[_0x14a9a5(0x3d5)]);return _0x458326[_0x14a9a5(0x1a9)](),_0x458326;}return this[_0x14a9a5(0x3bd)](!0x1);}catch(_0x4f61c8){return this[_0x14a9a5(0x48c)][_0x14a9a5(0x2a7)](_0x4f61c8),this[_0x14a9a5(0x3bd)](!0x1);}}[_0x37c1b9(0x30d)](_0x2bd4ec){var _0x165cd3=_0x37c1b9;this['_clearScheduledTask']();const _0x14daad=this[_0x165cd3(0x46c)]['getCurrentRevOfUnit'](this[_0x165cd3(0x4f8)]);if(_0x2bd4ec[_0x165cd3(0x451)]<_0x14daad-0x1)return this;if(this[_0x165cd3(0x1af)](_0x2bd4ec))return this[_0x165cd3(0x4a0)][_0x165cd3(0x371)](exports[_0x165cd3(0x266)],this[_0x165cd3(0x4f8)],this[_0x165cd3(0x248)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x165cd3(0x230)]();const _0x3eff2c=this[_0x165cd3(0x4a0)]['createInstance'](exports[_0x165cd3(0x2b2)],this[_0x165cd3(0x4f8)],this['type'],this[_0x165cd3(0x3d5)]);return _0x3eff2c[_0x165cd3(0x1a9)](),_0x3eff2c;}['onRemoteRej'](_0x54bc77){var _0x2f7501=_0x37c1b9;return this['_onConflict'](!!(_0x54bc77!=null&&_0x54bc77[_0x2f7501(0x48a)]));}[_0x37c1b9(0x286)](_0x486955){var _0x23afde=_0x37c1b9;return this[_0x23afde(0x207)]>Nt?this[_0x23afde(0x1be)]():(this[_0x23afde(0x1d7)]=yt(this[_0x23afde(0x207)],{'timeout':this[_0x23afde(0x207)],'reqId':_0x486955[_0x23afde(0x29b)]}),this['_sender']=this[_0x23afde(0x1d7)]['subscribe'](({reqId:_0x308077,timeout:_0x50c778})=>{this['_resendWithTimeout'](_0x308077,_0x50c778);}),this);}[_0x37c1b9(0x1be)](){var _0x106a09=_0x37c1b9;return this[_0x106a09(0x46e)](),this['_injector'][_0x106a09(0x371)](exports[_0x106a09(0x298)],this[_0x106a09(0x4f8)],this[_0x106a09(0x248)],this['_awaitingChangeset'],[],this['_handler']);}[_0x37c1b9(0x243)](){return this;}[_0x37c1b9(0x2c7)](){var _0x519dce=_0x37c1b9;this['_handler']['onSendChangeset'](this[_0x519dce(0x223)]);}[_0x37c1b9(0x3bd)](_0x14aef0){var _0x1e4172=_0x37c1b9;return this[_0x1e4172(0x46e)](),this['_injector'][_0x1e4172(0x371)](exports[_0x1e4172(0x4d1)],this[_0x1e4172(0x4f8)],this[_0x1e4172(0x248)],this[_0x1e4172(0x223)],[],this[_0x1e4172(0x3d5)],_0x14aef0);}['_resendWithTimeout'](_0x27aa3a,_0x47aba2){var _0x40b947=_0x37c1b9,_0x40c6b5;_0x27aa3a===((_0x40c6b5=this[_0x40b947(0x223)])==null?void 0x0:_0x40c6b5['reqId'])&&(this[_0x40b947(0x2c7)](),this[_0x40b947(0x207)]=_0x47aba2===0x0?0x3e8:_0x47aba2*0x2);}[_0x37c1b9(0x46e)](){var _0x8dfed4=_0x37c1b9,_0x59a617;(_0x59a617=this[_0x8dfed4(0x456)])==null||_0x59a617['unsubscribe'](),this[_0x8dfed4(0x207)]=0x0;}},exports[_0x37c1b9(0x305)]=ce([w(0x4,a[_0x37c1b9(0x2c9)](a[_0x37c1b9(0x4bb)])),w(0x5,a['Inject'](g[_0x37c1b9(0x3dd)])),w(0x6,a[_0x37c1b9(0x417)]),w(0x7,a['ILogService']),w(0x8,g[_0x37c1b9(0x29c)]),w(0x9,a[_0x37c1b9(0x37c)]),w(0xa,a[_0x37c1b9(0x4e3)](z))],exports[_0x37c1b9(0x305)]),exports[_0x37c1b9(0x419)]=class extends he{constructor(_0xd07be0,_0xff469b,_0x5bd619,_0xf1faa8,_0x5ad582,_0x11aac7,_0x3bf020,_0x198a12,_0x18bdfa,_0x1bf126,_0x443151,_0x459285,_0x1737c0){var _0x4ee310=_0x37c1b9;super(_0xd07be0,_0xff469b,_0x5bd619,_0xf1faa8,_0x5ad582,_0x18bdfa,_0x459285,_0x198a12,_0x1737c0),A(this,_0x4ee310(0x35c),_0x4ee310(0x27d)),A(this,_0x4ee310(0x207),0x0),A(this,_0x4ee310(0x1d7)),A(this,_0x4ee310(0x456)),(this[_0x4ee310(0x4a0)]=_0x3bf020,this[_0x4ee310(0x48c)]=_0x1bf126,this[_0x4ee310(0x341)]=_0x443151,this[_0x4ee310(0x3b2)]=_0x1737c0,_0x11aac7&&(this[_0x4ee310(0x1d7)]=_0x11aac7,this[_0x4ee310(0x456)]=this[_0x4ee310(0x1d7)][_0x4ee310(0x426)](({reqId:_0x743555,timeout:_0x545cf2})=>{var _0x4bd680=_0x4ee310;this[_0x4bd680(0x3e4)](_0x743555,_0x545cf2);})));}[_0x37c1b9(0x198)](_0xd9fb90){var _0x39b918=_0x37c1b9;return this[_0x39b918(0x263)]['push'](_0xd9fb90),this;}[_0x37c1b9(0x348)](_0x150934){var _0x2b57ab=_0x37c1b9;if(this[_0x2b57ab(0x1af)](_0x150934))return this['_clearScheduledTask'](),this[_0x2b57ab(0x4a0)][_0x2b57ab(0x371)](exports[_0x2b57ab(0x266)],this[_0x2b57ab(0x4f8)],this[_0x2b57ab(0x248)],this[_0x2b57ab(0x223)],this['_pendingMutations'],null,[_0x150934],this[_0x2b57ab(0x3d5)]);try{const _0x24ff89=this[_0x2b57ab(0x341)][_0x2b57ab(0x27c)]([_0x150934],[this['_awaitingChangeset']],!0x1);if(g[_0x2b57ab(0x45b)](_0x24ff89)){const {c1Prime:_0x17ee1e,c2Prime:_0x37301c}=_0x24ff89,_0x1886dc=this[_0x2b57ab(0x341)][_0x2b57ab(0x26b)](_0x17ee1e[0x0],this[_0x2b57ab(0x263)]);if(g['isTransformMutationsWithChangesetSuccess'](_0x1886dc)){const {c1Prime:_0x4970af,m2Prime:_0x14524e}=_0x1886dc;return this[_0x2b57ab(0x38b)](_0x4970af),_0x37301c[0x0][_0x2b57ab(0x4f6)]=this[_0x2b57ab(0x2c8)](),this[_0x2b57ab(0x46e)](),this[_0x2b57ab(0x4a0)]['createInstance'](exports[_0x2b57ab(0x419)],this[_0x2b57ab(0x4f8)],this[_0x2b57ab(0x248)],_0x37301c[0x0],_0x14524e,this[_0x2b57ab(0x3d5)],void 0x0);}throw _0x1886dc[_0x2b57ab(0x2a7)];}throw _0x24ff89[_0x2b57ab(0x2a7)];}catch(_0x1924e2){return this[_0x2b57ab(0x48c)]['error'](_0x1924e2),this[_0x2b57ab(0x3bd)](!0x1);}}[_0x37c1b9(0x30d)](_0x5ab29f){var _0x258ecf=_0x37c1b9;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x5ab29f))return this[_0x258ecf(0x4a0)][_0x258ecf(0x371)](exports[_0x258ecf(0x266)],this[_0x258ecf(0x4f8)],this[_0x258ecf(0x248)],null,this[_0x258ecf(0x263)],this['_awaitingChangeset'],[],this[_0x258ecf(0x3d5)]);this[_0x258ecf(0x230)]();const _0x29ca89=this[_0x258ecf(0x4a0)][_0x258ecf(0x371)](exports[_0x258ecf(0x2f1)],this[_0x258ecf(0x4f8)],this[_0x258ecf(0x248)],this['_pendingMutations'],this['_handler']);return _0x29ca89[_0x258ecf(0x4ff)](),_0x29ca89['_updateLocalCache'](),_0x29ca89;}['onRemoteRej'](_0x59ef82){var _0x4e58af=_0x37c1b9;return this[_0x4e58af(0x3bd)](!!(_0x59ef82!=null&&_0x59ef82[_0x4e58af(0x48a)]));}[_0x37c1b9(0x286)](_0x5140b5){var _0x24826a=_0x37c1b9;return this[_0x24826a(0x207)]>Nt?this[_0x24826a(0x1be)]():(this[_0x24826a(0x1d7)]=yt(this[_0x24826a(0x207)],{'timeout':this['_resendTimeout'],'reqId':_0x5140b5[_0x24826a(0x29b)]}),this['_sender']=this[_0x24826a(0x1d7)][_0x24826a(0x426)](({reqId:_0x18eb05,timeout:_0x4c2ce0})=>{var _0x225838=_0x24826a;this[_0x225838(0x3e4)](_0x18eb05,_0x4c2ce0);}),this);}[_0x37c1b9(0x1be)](){var _0x2a8d17=_0x37c1b9;return this[_0x2a8d17(0x46e)](),this['_injector'][_0x2a8d17(0x371)](exports[_0x2a8d17(0x298)],this[_0x2a8d17(0x4f8)],this['type'],this[_0x2a8d17(0x223)],this[_0x2a8d17(0x263)],this[_0x2a8d17(0x3d5)]);}['toggleOnline'](){return this;}[_0x37c1b9(0x2c7)](){var _0x5baf6=_0x37c1b9;this[_0x5baf6(0x3d5)][_0x5baf6(0x1de)](this['_awaitingChangeset']);}['_onConflict'](_0x30c18c){var _0x453d2b=_0x37c1b9;return this[_0x453d2b(0x46e)](),this[_0x453d2b(0x4a0)][_0x453d2b(0x371)](exports['ConflictState'],this['unitID'],this[_0x453d2b(0x248)],null,this[_0x453d2b(0x263)],this[_0x453d2b(0x3d5)],_0x30c18c);}['_resendWithTimeout'](_0x103797,_0x110f61){var _0x444943=_0x37c1b9,_0x3c39de;_0x103797===((_0x3c39de=this['_awaitingChangeset'])==null?void 0x0:_0x3c39de[_0x444943(0x29b)])&&(this['resend'](),this[_0x444943(0x207)]=_0x110f61===0x0?0x3e8:_0x110f61*0x2);}[_0x37c1b9(0x46e)](){var _0x1ded9c=_0x37c1b9,_0x56a9f1;(_0x56a9f1=this[_0x1ded9c(0x456)])==null||_0x56a9f1[_0x1ded9c(0x39c)](),this[_0x1ded9c(0x207)]=0x0;}},exports[_0x37c1b9(0x419)]=ce([w(0x6,a[_0x37c1b9(0x2c9)](a[_0x37c1b9(0x4bb)])),w(0x7,a[_0x37c1b9(0x2c9)](g[_0x37c1b9(0x3dd)])),w(0x8,a[_0x37c1b9(0x417)]),w(0x9,a[_0x37c1b9(0x1fa)]),w(0xa,g['ITransformService']),w(0xb,a[_0x37c1b9(0x37c)]),w(0xc,a[_0x37c1b9(0x4e3)](z))],exports['AwaitingWithPendingState']),exports[_0x37c1b9(0x4d1)]=class extends he{constructor(_0x14b3f4,_0x416445,_0x1064a8,_0x5ab4d0,_0x429065,_0x38c447=!0x1,_0x318e0f,_0x461c19,_0x273e5e,_0x123788,_0x1b3603,_0x2d7f91,_0x14e8dc){var _0x4207ec=_0x37c1b9;super(_0x14b3f4,_0x416445,_0x1064a8,_0x5ab4d0,_0x429065,_0x461c19,_0x273e5e,_0x123788,_0x14e8dc),A(this,_0x4207ec(0x35c),_0x4207ec(0x2c6)),(this[_0x4207ec(0x3d2)]=_0x38c447,this['_permissionService']=_0x318e0f,this[_0x4207ec(0x258)]=_0x1b3603,this['_collaborationUIEventService']=_0x2d7f91,this[_0x4207ec(0x3b2)]=_0x14e8dc,this[_0x4207ec(0x25a)](),this['_clearLocalCache'](),this[_0x4207ec(0x265)]());}[_0x37c1b9(0x198)](){return this;}[_0x37c1b9(0x348)](){return this;}[_0x37c1b9(0x30d)](){return this;}['onRemoteRej'](){return this;}[_0x37c1b9(0x286)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}['resend'](){var _0x4ec3b8=_0x37c1b9;throw new Error(_0x4ec3b8(0x411));}[_0x37c1b9(0x317)](){var _0xce3c55=_0x37c1b9,_0x1457b7;(_0x1457b7=this[_0xce3c55(0x4cf)])==null||_0x1457b7[_0xce3c55(0x28b)](this[_0xce3c55(0x4f8)],this['type'],null,[]);}[_0x37c1b9(0x25a)](){var _0x1b3b57=_0x37c1b9;this[_0x1b3b57(0x3d2)]?this[_0x1b3b57(0x1f8)][_0x1b3b57(0x2cd)]({'id':Q[_0x1b3b57(0x3b8)]}):this[_0x1b3b57(0x1f8)]['emitEvent']({'id':Q[_0x1b3b57(0x498)]});}[_0x37c1b9(0x265)](){var _0x3ffe5b=_0x37c1b9;this[_0x3ffe5b(0x2fe)][_0x3ffe5b(0x468)](new Z[(_0x3ffe5b(0x3a9))](this['unitID'])['id'],!0x1);}},exports[_0x37c1b9(0x4d1)]=ce([w(0x6,a[_0x37c1b9(0x2c9)](a[_0x37c1b9(0x311)])),w(0x7,a['ICommandService']),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x37c1b9(0x2c9)](g[_0x37c1b9(0x3dd)])),w(0xa,a[_0x37c1b9(0x2c9)](a[_0x37c1b9(0x38f)])),w(0xb,a[_0x37c1b9(0x2c9)](te)),w(0xc,a[_0x37c1b9(0x4e3)](z))],exports[_0x37c1b9(0x4d1)]),exports['OfflineState']=class extends he{constructor(_0x2b11e5,_0x20ccd8,_0xd801c9,_0x5d6565,_0x525908,_0x2ba018,_0x598b7c,_0x311637,_0x26c079,_0x296861){var _0x3fa37d=_0x37c1b9;super(_0x2b11e5,_0x20ccd8,_0xd801c9,_0x5d6565,_0x525908,_0x311637,_0x26c079,_0x598b7c,_0x296861),A(this,_0x3fa37d(0x35c),_0x3fa37d(0x200)),this[_0x3fa37d(0x4a0)]=_0x2ba018;}[_0x37c1b9(0x198)](_0x23ffdb){var _0x1d9899=_0x37c1b9;return this[_0x1d9899(0x263)]['push'](_0x23ffdb),this[_0x1d9899(0x1a9)](),this;}[_0x37c1b9(0x348)](_0x43cf95){var _0x5973dd=_0x37c1b9;throw new Error(_0x5973dd(0x4a6));}['onRemoteAck'](){var _0x577147=_0x37c1b9;throw new Error(_0x577147(0x20e));}['onRemoteRej'](){var _0xda5af1=_0x37c1b9;throw new Error(_0xda5af1(0x47b));}[_0x37c1b9(0x286)](){return this;}[_0x37c1b9(0x1be)](){return this;}[_0x37c1b9(0x243)](){var _0x24714a=_0x37c1b9;const {_injector:_0x35fc34,_pendingMutations:_0x2d7297,_awaitingChangeset:_0x5416da,unitID:_0x509f34,_handler:_0x5c6fde,type:_0x1b687f}=this,_0x59a832=Dt(_0x35fc34,_0x509f34,_0x1b687f,_0x5416da,_0x2d7297,_0x5c6fde);return _0x59a832 instanceof exports[_0x24714a(0x2f1)]?_0x59a832['_schedule']():(_0x59a832 instanceof exports[_0x24714a(0x419)]||_0x59a832 instanceof exports[_0x24714a(0x305)])&&_0x59a832[_0x24714a(0x2c7)](),_0x59a832;}['resend'](){var _0x92f5bc=_0x37c1b9;throw new Error(_0x92f5bc(0x254));}},exports[_0x37c1b9(0x298)]=ce([w(0x5,a[_0x37c1b9(0x2c9)](a[_0x37c1b9(0x4bb)])),w(0x6,a[_0x37c1b9(0x2c9)](g[_0x37c1b9(0x3dd)])),w(0x7,a[_0x37c1b9(0x417)]),w(0x8,a['IUndoRedoService']),w(0x9,a['Optional'](z))],exports[_0x37c1b9(0x298)]),exports[_0x37c1b9(0x266)]=class extends he{constructor(_0x2085e0,_0x27028e,_0x3d6f60,_0x36d2c7,_0x131b9f,_0x230ddc,_0x287359,_0x1c5979,_0x5d2a64,_0x4766dd,_0x1aa7d9,_0x1b6daa,_0x1c555e,_0x5f3821){var _0x22a39d=_0x37c1b9;super(_0x2085e0,_0x27028e,_0x3d6f60,_0x36d2c7,_0x287359,_0x1aa7d9,_0x1b6daa,_0x5d2a64,_0x5f3821),A(this,_0x22a39d(0x35c),_0x22a39d(0x37a)),(this[_0x22a39d(0x1ae)]=_0x131b9f,this[_0x22a39d(0x302)]=_0x230ddc,this[_0x22a39d(0x4a0)]=_0x1c5979,this[_0x22a39d(0x48c)]=_0x4766dd,this['_transformService']=_0x1c555e,this[_0x22a39d(0x3b2)]=_0x5f3821);}[_0x37c1b9(0x375)](_0x1668ff){var _0x19a39e=_0x37c1b9;try{const _0x1c269b=[..._0x1668ff,...this[_0x19a39e(0x302)]],_0x2e17f1=[this[_0x19a39e(0x223)]||this[_0x19a39e(0x1ae)]]['filter'](_0x162915=>!!_0x162915);let _0x4c25d4,_0x17f2b0;if(_0x2e17f1[_0x19a39e(0x3a1)]){const _0x31150b=this[_0x19a39e(0x341)][_0x19a39e(0x27c)](_0x1c269b,_0x2e17f1,!0x1);if(!g[_0x19a39e(0x45b)](_0x31150b))throw _0x31150b[_0x19a39e(0x2a7)];_0x4c25d4=_0x31150b['c1Prime'],_0x17f2b0=_0x31150b[_0x19a39e(0x28c)];}else _0x4c25d4=_0x1c269b,_0x17f2b0=[];let _0x4cb838=this['_pendingMutations'];_0x4c25d4[_0x19a39e(0x4e5)](_0x1e717b=>{var _0x383c34=_0x19a39e;let _0xd59462;if(_0x4cb838['length']){const _0x16fa6f=this[_0x383c34(0x341)][_0x383c34(0x26b)](_0x1e717b,_0x4cb838);if(!g[_0x383c34(0x48f)](_0x16fa6f))throw _0x16fa6f[_0x383c34(0x2a7)];_0xd59462=_0x16fa6f[_0x383c34(0x216)],_0x4cb838=_0x16fa6f['m2Prime'];}else _0xd59462=_0x1e717b;this['_executeRemoteChangeset'](_0xd59462);}),this[_0x19a39e(0x1ae)]&&this[_0x19a39e(0x230)](),this[_0x19a39e(0x223)]&&_0x17f2b0[_0x19a39e(0x3a1)]&&(_0x17f2b0[0x0]['baseRev']=this['_getCurrentRevision']());let _0x3f3cbd;if(this['_awaitingChangeset']&&_0x4cb838[_0x19a39e(0x3a1)]!==0x0)_0x3f3cbd=this['_injector'][_0x19a39e(0x371)](exports[_0x19a39e(0x419)],this[_0x19a39e(0x4f8)],this['type'],_0x17f2b0[0x0],_0x4cb838,this['_handler'],void 0x0);else{if(this[_0x19a39e(0x223)]&&_0x4cb838['length']===0x0)_0x17f2b0[0x0][_0x19a39e(0x4f6)]=this[_0x19a39e(0x2c8)](),_0x3f3cbd=this[_0x19a39e(0x4a0)]['createInstance'](exports[_0x19a39e(0x305)],this[_0x19a39e(0x4f8)],this[_0x19a39e(0x248)],_0x17f2b0[0x0],this[_0x19a39e(0x3d5)]);else{if(_0x4cb838[_0x19a39e(0x3a1)]!==0x0){const _0x3b391c=this[_0x19a39e(0x4a0)][_0x19a39e(0x371)](exports[_0x19a39e(0x2f1)],this['unitID'],this[_0x19a39e(0x248)],_0x4cb838,this[_0x19a39e(0x3d5)]);_0x3b391c[_0x19a39e(0x4ff)](),_0x3f3cbd=_0x3b391c;}else _0x3f3cbd=this[_0x19a39e(0x4a0)][_0x19a39e(0x371)](exports[_0x19a39e(0x2b2)],this['unitID'],this[_0x19a39e(0x248)],this['_handler']);}}return _0x3f3cbd[_0x19a39e(0x1a9)](),_0x3f3cbd;}catch(_0x51e100){return this[_0x19a39e(0x48c)]['error'](_0x19a39e(0x357),_0x19a39e(0x3a2),_0x51e100),this[_0x19a39e(0x4a0)]['createInstance'](exports[_0x19a39e(0x4d1)],this[_0x19a39e(0x4f8)],this[_0x19a39e(0x248)],this[_0x19a39e(0x223)],this['_pendingMutations'],this[_0x19a39e(0x3d5)],!0x1);}}[_0x37c1b9(0x2c7)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x37c1b9(0x198)](_0x1b65f4){return this['_pendingMutations']['push'](_0x1b65f4),this;}[_0x37c1b9(0x348)](_0xea690f){var _0xa7d932=_0x37c1b9;return this['_queuedRemoteChangesets'][_0xa7d932(0x374)](_0xea690f),this;}[_0x37c1b9(0x30d)](_0x55dfb2){var _0x2b304a=_0x37c1b9;if(this[_0x2b304a(0x223)])return this['_acknowledgedAwaitingChangeset']=this[_0x2b304a(0x223)],this['_awaitingChangeset']=null,this;throw new Error(_0x2b304a(0x316));}[_0x37c1b9(0x205)](_0x52d28a){return this['_onConflict'](!!(_0x52d28a!=null&&_0x52d28a['isPermissionRej']));}[_0x37c1b9(0x286)](){return this;}[_0x37c1b9(0x1be)](){var _0x319c00=_0x37c1b9;return this[_0x319c00(0x4a0)]['createInstance'](exports[_0x319c00(0x298)],this[_0x319c00(0x4f8)],this[_0x319c00(0x248)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x319c00(0x3d5)]);}[_0x37c1b9(0x243)](){return this;}[_0x37c1b9(0x3bd)](_0x22af7){var _0x5c4b3c=_0x37c1b9;return this[_0x5c4b3c(0x4a0)][_0x5c4b3c(0x371)](exports['ConflictState'],this[_0x5c4b3c(0x4f8)],this[_0x5c4b3c(0x248)],this[_0x5c4b3c(0x223)],this[_0x5c4b3c(0x263)],this[_0x5c4b3c(0x3d5)],_0x22af7);}},exports['FetchingMissState']=ce([w(0x7,a[_0x37c1b9(0x2c9)](a[_0x37c1b9(0x4bb)])),w(0x8,a[_0x37c1b9(0x2c9)](g[_0x37c1b9(0x3dd)])),w(0x9,a[_0x37c1b9(0x1fa)]),w(0xa,a[_0x37c1b9(0x417)]),w(0xb,a['IUndoRedoService']),w(0xc,g[_0x37c1b9(0x29c)]),w(0xd,a[_0x37c1b9(0x4e3)](z))],exports[_0x37c1b9(0x266)]);function Dt(_0x56b895,_0x504b0c,_0x325ce3,_0x141207,_0x51d804,_0x51cdcf){var _0x51d7e6=_0x37c1b9;return _0x141207&&_0x51d804[_0x51d7e6(0x3a1)]?_0x56b895[_0x51d7e6(0x371)](exports[_0x51d7e6(0x419)],_0x504b0c,_0x325ce3,_0x141207,_0x51d804,_0x51cdcf,void 0x0):_0x141207?_0x56b895[_0x51d7e6(0x371)](exports[_0x51d7e6(0x305)],_0x504b0c,_0x325ce3,_0x141207,_0x51cdcf):_0x51d804[_0x51d7e6(0x3a1)]?_0x56b895[_0x51d7e6(0x371)](exports['PendingState'],_0x504b0c,_0x325ce3,_0x51d804,_0x51cdcf):_0x56b895[_0x51d7e6(0x371)](exports[_0x51d7e6(0x2b2)],_0x504b0c,_0x325ce3,_0x51cdcf);}var Ci=Object[_0x37c1b9(0x4c6)],We=(_0x24f0e6,_0x513885,_0x21ccdd,_0x3c804b)=>{var _0xa2e374=_0x37c1b9;for(var _0x8872fc=_0x3c804b>0x1?void 0x0:_0x3c804b?Ci(_0x513885,_0x21ccdd):_0x513885,_0x43627c=_0x24f0e6[_0xa2e374(0x3a1)]-0x1,_0x2c00dd;_0x43627c>=0x0;_0x43627c--)(_0x2c00dd=_0x24f0e6[_0x43627c])&&(_0x8872fc=_0x2c00dd(_0x8872fc)||_0x8872fc);return _0x8872fc;},$=(_0x44c4ba,_0x17af30)=>(_0x1702bd,_0x587783)=>_0x17af30(_0x1702bd,_0x587783,_0x44c4ba);exports[_0x37c1b9(0x399)]=class extends a[_0x37c1b9(0x414)]{constructor(_0x262812,_0x39ee99,_0x26022d,_0x5679b3,_0x42421d,_0x2a6d60,_0x1a4cd1,_0x2dfc0a,_0x40c763,_0x483f06,_0x241740,_0x2b9300,_0x555f85){var _0x2a7d75=_0x37c1b9;super(),A(this,_0x2a7d75(0x3d3),new j[(_0x2a7d75(0x4d4))](null)),A(this,_0x2a7d75(0x2e4),this[_0x2a7d75(0x3d3)]['asObservable']()),A(this,_0x2a7d75(0x4fa)),A(this,'_collaborationPaused',!0x1),A(this,_0x2a7d75(0x1a1),''),A(this,_0x2a7d75(0x23d),0x0),A(this,'status$',this[_0x2a7d75(0x2e4)][_0x2a7d75(0x2cf)](j[_0x2a7d75(0x34a)](_0x53d382=>_0x53d382?_0x53d382[_0x2a7d75(0x35c)]:Ve['OFFLINE']),j[_0x2a7d75(0x403)](0x1))),A(this,_0x2a7d75(0x195),!0x1),A(this,_0x2a7d75(0x36f),[]),(this[_0x2a7d75(0x4f8)]=_0x262812,this[_0x2a7d75(0x2aa)]=_0x39ee99,this[_0x2a7d75(0x19f)]=_0x26022d,this[_0x2a7d75(0x4a0)]=_0x5679b3,this[_0x2a7d75(0x1a0)]=_0x42421d,this['_localeService']=_0x2a6d60,this[_0x2a7d75(0x46c)]=_0x1a4cd1,this['_eventService']=_0x2dfc0a,this[_0x2a7d75(0x48c)]=_0x40c763,this[_0x2a7d75(0x20a)]=_0x483f06,this[_0x2a7d75(0x2fe)]=_0x241740,this[_0x2a7d75(0x45d)]=_0x2b9300,this['_localCacheService']=_0x555f85);}get[_0x37c1b9(0x367)](){var _0x396789=_0x37c1b9;return this[_0x396789(0x4fa)];}async[_0x37c1b9(0x486)](){var _0x36be06=_0x37c1b9;if(this[_0x36be06(0x367)])throw new Error(_0x36be06(0x2ad));await this[_0x36be06(0x299)]();}[_0x37c1b9(0x3a8)](){var _0x5d138a=_0x37c1b9;return this['_collaborationPaused']=!0x0,a[_0x5d138a(0x2e7)](()=>{var _0x460f18=_0x5d138a;this['_collaborationPaused']=!0x1,this[_0x460f18(0x240)]();});}[_0x37c1b9(0x1c4)](_0x90355){var _0x1322ea=_0x37c1b9;this[_0x1322ea(0x228)](_0x90355);}['_updateState'](_0x293648){var _0x5cf62d=_0x37c1b9;this[_0x5cf62d(0x4fa)]=_0x293648,this[_0x5cf62d(0x3d3)]['next'](_0x293648);}async[_0x37c1b9(0x299)](){var _0x319c43=_0x37c1b9,_0x2019d6;this[_0x319c43(0x4f4)](await this[_0x319c43(0x1e7)]()),this[_0x319c43(0x45d)]&&((_0x2019d6=this['_singleActiveUnitService'])==null||_0x2019d6[_0x319c43(0x1ef)](this[_0x319c43(0x4f8)]),this[_0x319c43(0x4c8)](this[_0x319c43(0x45d)][_0x319c43(0x272)](this[_0x319c43(0x4f8)])[_0x319c43(0x426)](_0x2b7c13=>{var _0x38729e=_0x319c43;this['_logService']['debug'](_0x38729e(0x41a),_0x38729e(0x4a3),_0x2b7c13),_0x2b7c13===Fe[_0x38729e(0x28a)]?(this['_eventService']['emitEvent']({'id':Q['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x38729e(0x468)](new Z[(_0x38729e(0x3a9))](this[_0x38729e(0x4f8)])['id'],!0x1),this[_0x38729e(0x2fe)][_0x38729e(0x2d2)](!0x1)):(this[_0x38729e(0x2fe)][_0x38729e(0x468)](new Z['WorkbookEditablePermission'](this['unitID'])['id'],!0x0),this[_0x38729e(0x2fe)][_0x38729e(0x2d2)](!0x0));})));let _0x429c3f=!0x1;return this[_0x319c43(0x4c8)](this[_0x319c43(0x2aa)][_0x319c43(0x24f)][_0x319c43(0x426)](_0x18c6a5=>{var _0x3c96d4=_0x319c43;_0x18c6a5===se['ONLINE']?this['_toggleOnline'](_0x429c3f):_0x18c6a5===se[_0x3c96d4(0x199)]&&(_0x429c3f=!0x0,this[_0x3c96d4(0x21e)]());})),this['disposeWithMe'](this[_0x319c43(0x2aa)][_0x319c43(0x4b8)][_0x319c43(0x426)](_0x59eb28=>{var _0x5969dd=_0x319c43;try{switch(_0x59eb28[_0x5969dd(0x34e)]){case g['CollaborationEvent'][_0x5969dd(0x2f8)]:{this[_0x5969dd(0x448)](g[_0x5969dd(0x1b1)](_0x59eb28[_0x5969dd(0x3d0)]));break;}case g['CollaborationEvent'][_0x5969dd(0x3b5)]:{this[_0x5969dd(0x31e)](_0x59eb28[_0x5969dd(0x3d0)]);break;}case g[_0x5969dd(0x284)]['CHANGESET_REJ']:{this[_0x5969dd(0x453)]();break;}case g[_0x5969dd(0x284)]['CHANGESET_SHOULD_RETRY']:{this[_0x5969dd(0x437)](_0x59eb28[_0x5969dd(0x3d0)]);break;}case g['CollaborationEvent'][_0x5969dd(0x3cf)]:{this[_0x5969dd(0x269)](_0x59eb28[_0x5969dd(0x3d0)][_0x5969dd(0x2ce)]['map'](_0x4e8b8f=>g['parseProtocolChangeset'](_0x4e8b8f)));break;}case g[_0x5969dd(0x284)]['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case g['CollaborationEvent'][_0x5969dd(0x3f4)]:break;}}catch(_0x778a2e){throw console['error'](_0x5969dd(0x244),_0x778a2e),_0x778a2e;}})),this[_0x319c43(0x4fa)];}[_0x37c1b9(0x1f4)](){var _0x376cc4=_0x37c1b9;this[_0x376cc4(0x195)]=!0x1;}['_lockTransition'](){var _0x56085a=_0x37c1b9;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x56085a(0x195)]=!0x0;}['_onLocalMutation'](_0x2e7099){var _0x493e92=_0x37c1b9;this[_0x493e92(0x459)](),this['_updateState'](this[_0x493e92(0x4fa)][_0x493e92(0x198)](_0x2e7099)),this['_unlockTransition']();}[_0x37c1b9(0x448)](_0x5ba99c){var _0x34773e=_0x37c1b9;if(!(_0x5ba99c[_0x34773e(0x451)]<=this[_0x34773e(0x46c)]['getCurrentRevOfUnit'](this[_0x34773e(0x4f8)]))){if(this[_0x34773e(0x33f)]){this[_0x34773e(0x36f)]['push'](_0x5ba99c);return;}this[_0x34773e(0x2d5)](_0x5ba99c);}}['_exhaustRemoteChangesetQueue'](){var _0x5226c1=_0x37c1b9;this[_0x5226c1(0x36f)][_0x5226c1(0x4e5)](_0xb9a7a=>this[_0x5226c1(0x2d5)](_0xb9a7a)),this[_0x5226c1(0x36f)]=[];}[_0x37c1b9(0x2d5)](_0x49c0c2){var _0x16edf6=_0x37c1b9;const _0x2809a8=this[_0x16edf6(0x1a0)][_0x16edf6(0x203)][_0x16edf6(0x27f)](this[_0x16edf6(0x1a0)][_0x16edf6(0x203)]['getInterceptPoints']()[_0x16edf6(0x19c)])(_0x49c0c2[_0x16edf6(0x4d6)],null)||_0x49c0c2['mutations'],_0x101a43={..._0x49c0c2,'mutations':_0x2809a8};this[_0x16edf6(0x459)](),this[_0x16edf6(0x4f4)](this[_0x16edf6(0x4fa)][_0x16edf6(0x348)](_0x101a43)),this['_unlockTransition']();}[_0x37c1b9(0x31e)](_0x517a7b){var _0x13d0b6=_0x37c1b9;this[_0x13d0b6(0x459)](),this[_0x13d0b6(0x4f4)](this[_0x13d0b6(0x4fa)]['onRemoteAck'](_0x517a7b)),this[_0x13d0b6(0x1f4)]();}[_0x37c1b9(0x453)](_0x1eb920){var _0x34f79a=_0x37c1b9;this[_0x34f79a(0x459)](),this['_updateState'](this[_0x34f79a(0x4fa)][_0x34f79a(0x205)](_0x1eb920)),this[_0x34f79a(0x1f4)]();}[_0x37c1b9(0x437)](_0x5abe01){var _0x547cc9=_0x37c1b9;this[_0x547cc9(0x459)](),this['_updateState'](this[_0x547cc9(0x4fa)][_0x547cc9(0x286)](_0x5abe01)),this['_unlockTransition']();}[_0x37c1b9(0x269)](_0x1fc1d7){var _0x3cc31c=_0x37c1b9;if(!(this['_state']instanceof exports[_0x3cc31c(0x266)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x5214c9=_0x1fc1d7[_0x3cc31c(0x34a)](_0x21546a=>{var _0x4a6524=_0x3cc31c;const _0xe89a6c=this[_0x4a6524(0x1a0)][_0x4a6524(0x203)][_0x4a6524(0x27f)](this[_0x4a6524(0x1a0)][_0x4a6524(0x203)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x21546a[_0x4a6524(0x4d6)],null)||_0x21546a[_0x4a6524(0x4d6)];return{..._0x21546a,'mutations':_0xe89a6c};});this[_0x3cc31c(0x459)](),this[_0x3cc31c(0x4f4)](this[_0x3cc31c(0x4fa)][_0x3cc31c(0x375)](_0x5214c9)),this['_unlockTransition']();}[_0x37c1b9(0x21e)](){var _0xb5ff3a=_0x37c1b9;this[_0xb5ff3a(0x459)](),this[_0xb5ff3a(0x4f4)](this[_0xb5ff3a(0x4fa)][_0xb5ff3a(0x1be)]()),this[_0xb5ff3a(0x1f4)]();}[_0x37c1b9(0x322)](_0x157c15=!0x1){var _0xa91b6e=_0x37c1b9;this[_0xa91b6e(0x459)](),this[_0xa91b6e(0x4f4)](this[_0xa91b6e(0x4fa)]['toggleOnline']()),this[_0xa91b6e(0x1f4)]();const _0x370d0b=this['_state'];_0x157c15&&_0x370d0b instanceof exports[_0xa91b6e(0x2b2)]&&(this[_0xa91b6e(0x459)](),this[_0xa91b6e(0x4f4)](_0x370d0b[_0xa91b6e(0x43b)]()),this[_0xa91b6e(0x1f4)]());}async[_0x37c1b9(0x1e7)](){return new Promise(_0xbc09e1=>{var _0x483021=_0x206a;this[_0x483021(0x2aa)][_0x483021(0x24f)][_0x483021(0x2cf)](j[_0x483021(0x439)](0x1))[_0x483021(0x426)](async _0x25116f=>{_0xbc09e1(await this['_createInitialStateImpl'](_0x25116f===se['ONLINE']));});});}[_0x37c1b9(0x48b)](){var _0x2695d7=_0x37c1b9;const _0x1182e6=this[_0x2695d7(0x4f8)];return{'onStateChange':(_0xcf2f0f,_0x8ae9c0)=>{var _0x4c2192=_0x2695d7;if(_0xcf2f0f!==this[_0x4c2192(0x4fa)])throw new Error(_0x4c2192(0x1b3)+_0xcf2f0f[_0x4c2192(0x35c)]+'\x0aAfter:\x20'+_0x8ae9c0[_0x4c2192(0x35c)]+_0x4c2192(0x2ae)+this[_0x4c2192(0x4fa)][_0x4c2192(0x35c)]);this[_0x4c2192(0x4f4)](_0x8ae9c0);},'onSendChangeset':_0x54fbe0=>{var _0x5b0a93=_0x2695d7;_0x54fbe0[_0x5b0a93(0x218)]||(_0x54fbe0[_0x5b0a93(0x218)]=this[_0x5b0a93(0x1a1)],_0x54fbe0[_0x5b0a93(0x29b)]=++this[_0x5b0a93(0x23d)]);const _0x28fdde={'eventID':g[_0x5b0a93(0x284)][_0x5b0a93(0x26a)],'data':{'unitID':_0x54fbe0['unitID'],'unitType':this[_0x5b0a93(0x19f)],'changeset':_0x54fbe0,'memberID':this['session']['getMemberID']()}};this['session'][_0x5b0a93(0x332)](_0x28fdde,this[_0x5b0a93(0x4f8)]);},'onMissingChangesets':({from:_0x62772e,to:_0x9aa6bb})=>{var _0xb19d9b=_0x2695d7;this['_logService'][_0xb19d9b(0x44b)]('[CollaborationEntity]',_0xb19d9b(0x300)+_0x62772e+_0xb19d9b(0x3ea)+_0x9aa6bb);const _0x14a87d={'eventID':g[_0xb19d9b(0x284)]['FETCH_MISSING'],'data':{'unitID':_0x1182e6,'unitType':this['_type'],'from':_0x62772e,'to':_0x9aa6bb}};this[_0xb19d9b(0x2aa)]['send'](_0x14a87d,this[_0xb19d9b(0x4f8)]);}};}async['_createInitialStateImpl'](_0x5e2f07){var _0x43602c=_0x37c1b9,_0x2900c3,_0xaac5dc,_0xc6e7e6;const _0xd8703c=await((_0x2900c3=this[_0x43602c(0x4cf)])==null?void 0x0:_0x2900c3[_0x43602c(0x33a)](this[_0x43602c(0x4f8)])),_0x530450=(_0xaac5dc=_0xd8703c==null?void 0x0:_0xd8703c[_0x43602c(0x4d6)])!=null?_0xaac5dc:[],_0x1d93bd=(_0xc6e7e6=_0xd8703c==null?void 0x0:_0xd8703c[_0x43602c(0x4d3)])!=null?_0xc6e7e6:null,_0x3da343=!!(_0x1d93bd!=null&&_0x1d93bd[_0x43602c(0x218)])&&!!(_0x1d93bd!=null&&_0x1d93bd[_0x43602c(0x29b)]);this[_0x43602c(0x1a1)]=_0x3da343?_0x1d93bd['sid']:di(),this[_0x43602c(0x23d)]=_0x3da343?_0x1d93bd[_0x43602c(0x29b)]:0x0;const _0x4dd65f=this[_0x43602c(0x4f8)];try{this[_0x43602c(0x19a)](_0x1d93bd,_0x530450);}catch(_0x4d872d){this[_0x43602c(0x48c)][_0x43602c(0x2a7)](_0x4d872d);}const _0x5dd086=this['_createHandler']();if(_0x5e2f07){const _0x212065=Dt(this[_0x43602c(0x4a0)],_0x4dd65f,this[_0x43602c(0x19f)],_0x1d93bd,_0x530450,_0x5dd086);return _0x212065 instanceof exports[_0x43602c(0x2f1)]?_0x212065['_schedule']():(_0x212065 instanceof exports[_0x43602c(0x419)]||_0x212065 instanceof exports['AwaitingState'])&&_0x212065[_0x43602c(0x2c7)](),_0x212065;}return this[_0x43602c(0x4a0)]['createInstance'](exports[_0x43602c(0x298)],_0x4dd65f,this[_0x43602c(0x19f)],_0x1d93bd,_0x530450,_0x5dd086);}[_0x37c1b9(0x19a)](_0x39b174,_0x165e5d){var _0xdeaa19=_0x37c1b9,_0x9cb84c,_0x7a0819;const _0xbf5a70=this[_0xdeaa19(0x1a0)][_0xdeaa19(0x203)][_0xdeaa19(0x27f)](this['_compressMutationService'][_0xdeaa19(0x203)][_0xdeaa19(0x40b)]()['COMPRESS_MUTATION_APPLY']);(_0x9cb84c=_0xbf5a70((_0x39b174==null?void 0x0:_0x39b174[_0xdeaa19(0x4d6)])||[],null))==null||_0x9cb84c[_0xdeaa19(0x4e5)](_0x261257=>this[_0xdeaa19(0x20a)][_0xdeaa19(0x46f)](_0x261257['id'],_0x261257[_0xdeaa19(0x3b7)])),(_0x7a0819=_0xbf5a70(_0x165e5d||[],null))==null||_0x7a0819[_0xdeaa19(0x4e5)](_0x49dcd4=>this[_0xdeaa19(0x20a)][_0xdeaa19(0x46f)](_0x49dcd4['id'],_0x49dcd4[_0xdeaa19(0x3b7)]));}},exports[_0x37c1b9(0x399)]=We([$(0x3,a[_0x37c1b9(0x2c9)](a['Injector'])),$(0x4,a[_0x37c1b9(0x2c9)](g[_0x37c1b9(0x4bf)])),$(0x5,a[_0x37c1b9(0x2c9)](a['LocaleService'])),$(0x6,a[_0x37c1b9(0x2c9)](g[_0x37c1b9(0x3dd)])),$(0x7,a[_0x37c1b9(0x2c9)](te)),$(0x8,a['ILogService']),$(0x9,a[_0x37c1b9(0x417)]),$(0xa,a['IPermissionService']),$(0xb,a[_0x37c1b9(0x4e3)](ve)),$(0xc,a[_0x37c1b9(0x4e3)](z))],exports[_0x37c1b9(0x399)]),exports[_0x37c1b9(0x212)]=class extends exports[_0x37c1b9(0x399)]{constructor(_0x575bf4,_0x551989,_0x47e0c3,_0x18be19,_0x161fdb,_0x3cd016,_0x38a4b2,_0x441e63,_0x4a9cd9,_0x411ffd,_0x482fc6,_0x49e077,_0x7d059b){var _0x7f59e8=_0x37c1b9;super(_0x575bf4,_0x47e0c3,_0x551989,_0x18be19,_0x161fdb,_0x3cd016,_0x38a4b2,_0x441e63,_0x4a9cd9,_0x411ffd,_0x482fc6,_0x49e077,_0x7d059b),A(this,_0x7f59e8(0x4ad),null),(this['unitID']=_0x575bf4,this[_0x7f59e8(0x248)]=_0x551989);}['addHandlerCallback'](_0x21cff0){var _0x461b42=_0x37c1b9;this[_0x461b42(0x4ad)]=_0x21cff0;}[_0x37c1b9(0x2ed)](){var _0x56940d=_0x37c1b9;this[_0x56940d(0x4ad)]=null,super[_0x56940d(0x2ed)]();}['_createHandler'](){var _0x1a1b44=_0x37c1b9;const _0x3b1745=super[_0x1a1b44(0x48b)]();return _0x3b1745[_0x1a1b44(0x330)]=_0x86fefd=>{var _0x22b158=_0x1a1b44,_0x1557ab,_0x53f314;return(_0x53f314=(_0x1557ab=this[_0x22b158(0x4ad)])==null?void 0x0:_0x1557ab['onTransformIME'])==null?void 0x0:_0x53f314[_0x22b158(0x1bf)](_0x1557ab,_0x86fefd);},_0x3b1745[_0x1a1b44(0x4b2)]=_0x7ed00d=>{var _0x1f85da=_0x1a1b44,_0x169acc,_0xdfb8de;return(_0xdfb8de=(_0x169acc=this['_handlerCallback'])==null?void 0x0:_0x169acc[_0x1f85da(0x4b2)])==null?void 0x0:_0xdfb8de[_0x1f85da(0x1bf)](_0x169acc,_0x7ed00d);},_0x3b1745[_0x1a1b44(0x41e)]=_0x48ad76=>{var _0x3926b8=_0x1a1b44,_0x1e4762,_0x248a95;return(_0x248a95=(_0x1e4762=this[_0x3926b8(0x4ad)])==null?void 0x0:_0x1e4762[_0x3926b8(0x41e)])==null?void 0x0:_0x248a95[_0x3926b8(0x1bf)](_0x1e4762,_0x48ad76);},_0x3b1745[_0x1a1b44(0x342)]=_0x2ead93=>{var _0x2e031f=_0x1a1b44,_0x470084,_0x11085b;return(_0x11085b=(_0x470084=this[_0x2e031f(0x4ad)])==null?void 0x0:_0x470084[_0x2e031f(0x342)])==null?void 0x0:_0x11085b[_0x2e031f(0x1bf)](_0x470084,_0x2ead93);},_0x3b1745[_0x1a1b44(0x49f)]=_0x2c040d=>{var _0x45e2ca=_0x1a1b44,_0x31f01d,_0x170e53,_0x29c99a;if(!((_0x31f01d=this[_0x45e2ca(0x4ad)])!=null&&_0x31f01d[_0x45e2ca(0x49f)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x29c99a=(_0x170e53=this[_0x45e2ca(0x4ad)])==null?void 0x0:_0x170e53[_0x45e2ca(0x49f)])==null?void 0x0:_0x29c99a[_0x45e2ca(0x1bf)](_0x170e53,_0x2c040d);},_0x3b1745['onTransformRemoteChangesetByStateCache']=_0x5bcf13=>{var _0x2bc506=_0x1a1b44,_0x2fb547,_0x5a0c06,_0x2530cb;if(!((_0x2fb547=this['_handlerCallback'])!=null&&_0x2fb547[_0x2bc506(0x390)]))throw new Error(_0x2bc506(0x4e9));return(_0x2530cb=(_0x5a0c06=this[_0x2bc506(0x4ad)])==null?void 0x0:_0x5a0c06[_0x2bc506(0x390)])==null?void 0x0:_0x2530cb[_0x2bc506(0x1bf)](_0x5a0c06,_0x5bcf13);},_0x3b1745;}async[_0x37c1b9(0x299)](){var _0x22fd78=_0x37c1b9;const _0x2a9838=await super[_0x22fd78(0x299)]();return this[_0x22fd78(0x4c8)](this[_0x22fd78(0x20a)][_0x22fd78(0x1ea)]((_0x2e1c74,_0x466730)=>{var _0x224464=_0x22fd78;if(_0x2e1c74[_0x224464(0x248)]!==a['CommandType'][_0x224464(0x1a2)]||_0x466730!=null&&_0x466730[_0x224464(0x1b7)]||_0x466730!=null&&_0x466730['onlyLocal']||_0x2e1c74['id']===ut['RichTextEditingMutation']['id'])return;const _0x2868cf=_0x2e1c74['params'];if((_0x2868cf==null?void 0x0:_0x2868cf['unitId'])!==this[_0x224464(0x4f8)])return;const _0x7b52c8=_0x2e1c74,_0x1edbc1=this[_0x224464(0x1a0)][_0x224464(0x203)][_0x224464(0x27f)](this[_0x224464(0x1a0)][_0x224464(0x203)][_0x224464(0x40b)]()[_0x224464(0x194)])([_0x7b52c8],null)||[_0x7b52c8];this[_0x224464(0x228)](_0x1edbc1[0x0]);})),_0x2a9838;}},exports[_0x37c1b9(0x212)]=We([$(0x3,a[_0x37c1b9(0x2c9)](a[_0x37c1b9(0x4bb)])),$(0x4,a[_0x37c1b9(0x2c9)](g['CompressMutationService'])),$(0x5,a['Inject'](a[_0x37c1b9(0x38f)])),$(0x6,a[_0x37c1b9(0x2c9)](g[_0x37c1b9(0x3dd)])),$(0x7,a[_0x37c1b9(0x2c9)](te)),$(0x8,a[_0x37c1b9(0x1fa)]),$(0x9,a[_0x37c1b9(0x417)]),$(0xa,a[_0x37c1b9(0x311)]),$(0xb,a[_0x37c1b9(0x4e3)](ve)),$(0xc,a['Optional'](z))],exports[_0x37c1b9(0x212)]),exports[_0x37c1b9(0x25f)]=class extends exports['CollaborationEntity']{constructor(_0x2531b9,_0x1e11e5,_0x3bc7b9,_0x4f65ac,_0x2dc37e,_0x4f3cf2,_0x177097,_0x15fe38,_0x91b8f4,_0x1c2052,_0x45b262,_0x5771fe,_0x37d2d2,_0xe108e9){var _0x33333a=_0x37c1b9;super(_0x2531b9,_0x3bc7b9,_0x1e11e5,_0x4f65ac,_0x2dc37e,_0x4f3cf2,_0x177097,_0x91b8f4,_0x1c2052,_0x45b262,_0x5771fe,_0x37d2d2,_0xe108e9),this['unitID']=_0x2531b9,this['type']=_0x1e11e5,this[_0x33333a(0x2fa)]=_0x15fe38;}[_0x37c1b9(0x48b)](){var _0x3f5dbe=_0x37c1b9;const _0x4dac1d=super[_0x3f5dbe(0x48b)]();return _0x4dac1d['onTransformSelections']=_0x3aaaa1=>this['_sheetTransformSelectionsService'][_0x3f5dbe(0x1f9)](_0x3aaaa1),_0x4dac1d;}async[_0x37c1b9(0x299)](){var _0x3e00d4=_0x37c1b9;const _0x2a72c1=await super[_0x3e00d4(0x299)]();return this['disposeWithMe'](this[_0x3e00d4(0x20a)][_0x3e00d4(0x1ea)]((_0x4a5cb9,_0x431b91)=>{var _0x190386=_0x3e00d4;if(_0x4a5cb9[_0x190386(0x248)]!==a[_0x190386(0x256)][_0x190386(0x1a2)]||_0x431b91!=null&&_0x431b91['fromCollab']||_0x431b91!=null&&_0x431b91['onlyLocal'])return;const _0x133da3=_0x4a5cb9[_0x190386(0x3b7)];if((_0x133da3==null?void 0x0:_0x133da3[_0x190386(0x44d)])!==this[_0x190386(0x4f8)])return;const _0x343374=_0x4a5cb9,_0x51d369=this[_0x190386(0x1a0)][_0x190386(0x203)][_0x190386(0x27f)](this['_compressMutationService'][_0x190386(0x203)]['getInterceptPoints']()[_0x190386(0x194)])([_0x343374],null)||[_0x343374];this[_0x190386(0x228)](_0x51d369[0x0]);})),_0x2a72c1;}},exports['SheetCollaborationEntity']=We([$(0x3,a[_0x37c1b9(0x2c9)](a[_0x37c1b9(0x4bb)])),$(0x4,a['Inject'](g['CompressMutationService'])),$(0x5,a['Inject'](a['LocaleService'])),$(0x6,a[_0x37c1b9(0x2c9)](g[_0x37c1b9(0x3dd)])),$(0x7,a['Inject'](exports['SheetTransformSelectionsService'])),$(0x8,a[_0x37c1b9(0x2c9)](te)),$(0x9,a[_0x37c1b9(0x1fa)]),$(0xa,a['ICommandService']),$(0xb,a['IPermissionService']),$(0xc,a[_0x37c1b9(0x4e3)](ve)),$(0xd,a[_0x37c1b9(0x4e3)](z))],exports[_0x37c1b9(0x25f)]);var Ti=Object[_0x37c1b9(0x4c6)],bi=(_0xc43a37,_0x2019b9,_0x48e039,_0x3a3fa5)=>{var _0x7cfa72=_0x37c1b9;for(var _0x3839d9=_0x3a3fa5>0x1?void 0x0:_0x3a3fa5?Ti(_0x2019b9,_0x48e039):_0x2019b9,_0x5d0f35=_0xc43a37[_0x7cfa72(0x3a1)]-0x1,_0x5e85d1;_0x5d0f35>=0x0;_0x5d0f35--)(_0x5e85d1=_0xc43a37[_0x5d0f35])&&(_0x3839d9=_0x5e85d1(_0x3839d9)||_0x3839d9);return _0x3839d9;},Pe=(_0x15c7ea,_0x4293e0)=>(_0x48674c,_0x3b1773)=>_0x4293e0(_0x48674c,_0x3b1773,_0x15c7ea);exports[_0x37c1b9(0x47e)]=class extends a[_0x37c1b9(0x414)]{constructor(_0x3ac5bb,_0x18dd43,_0x404a9b){var _0x6b7a17=_0x37c1b9;super(),A(this,'_entities',new Map()),A(this,_0x6b7a17(0x32f),new j[(_0x6b7a17(0x3b0))]()),A(this,'entityInit$',this['_entityInit$'][_0x6b7a17(0x427)]()),(this[_0x6b7a17(0x4a0)]=_0x3ac5bb,this[_0x6b7a17(0x338)]=_0x18dd43,this[_0x6b7a17(0x23b)]=_0x404a9b,this['_init']());}[_0x37c1b9(0x2ed)](){var _0x5ac633=_0x37c1b9;super[_0x5ac633(0x2ed)](),this[_0x5ac633(0x4ae)]['forEach'](_0x34d9c8=>_0x34d9c8['dispose']()),this[_0x5ac633(0x4ae)][_0x5ac633(0x2b6)]();}[_0x37c1b9(0x4c0)](_0x274560){var _0x37b19e=_0x37c1b9,_0x3495f6;return(_0x3495f6=this['_entities'][_0x37b19e(0x1ad)](_0x274560))!=null?_0x3495f6:null;}[_0x37c1b9(0x401)](_0x427383){var _0x263362=_0x37c1b9;const _0x1acdcd=this[_0x263362(0x4c0)](_0x427383);return _0x1acdcd?j['of'](_0x1acdcd):this[_0x263362(0x32f)][_0x263362(0x2cf)](V[_0x263362(0x1e3)](_0x577011=>_0x577011['unitID']===_0x427383));}[_0x37c1b9(0x4a1)](_0x296a98){var _0x325cca=_0x37c1b9;return j['firstValueFrom'](this['getCollabEntity$'](_0x296a98)[_0x325cca(0x2cf)](V[_0x325cca(0x34a)](()=>{})));}[_0x37c1b9(0x299)](){var _0x630c6=_0x37c1b9;this[_0x630c6(0x23b)][_0x630c6(0x220)](a[_0x630c6(0x224)][_0x630c6(0x3a5)])['pipe'](j[_0x630c6(0x255)](this[_0x630c6(0x377)]),V[_0x630c6(0x2a5)](0x10))[_0x630c6(0x426)](async _0x5d650f=>{var _0x34295f=_0x630c6;const _0x598878=_0x5d650f[_0x34295f(0x1d3)](),_0x2d26d4=await this[_0x34295f(0x315)](_0x598878,X[_0x34295f(0x3a5)]);this[_0x34295f(0x4ae)][_0x34295f(0x3c7)](_0x598878,_0x2d26d4);}),this[_0x630c6(0x23b)][_0x630c6(0x220)](a[_0x630c6(0x224)][_0x630c6(0x3fe)])[_0x630c6(0x2cf)](j['takeUntil'](this[_0x630c6(0x377)]),V['delay'](0x10))[_0x630c6(0x2cf)](V[_0x630c6(0x1e3)](_0x2523e2=>!_0x2523e2['getUnitId']()[_0x630c6(0x1b8)]('__')))[_0x630c6(0x426)](async _0x2d2c33=>{var _0x4ca203=_0x630c6;const _0x20d0c9=_0x2d2c33[_0x4ca203(0x1d3)](),_0x5a619e=await this[_0x4ca203(0x315)](_0x20d0c9,X[_0x4ca203(0x3fe)]);this[_0x4ca203(0x4ae)][_0x4ca203(0x3c7)](_0x20d0c9,_0x5a619e);}),j['merge'](this[_0x630c6(0x23b)][_0x630c6(0x3a6)](a[_0x630c6(0x224)][_0x630c6(0x3a5)]),this[_0x630c6(0x23b)][_0x630c6(0x3a6)](a[_0x630c6(0x224)][_0x630c6(0x3fe)]))[_0x630c6(0x2cf)](j[_0x630c6(0x255)](this['dispose$']))[_0x630c6(0x426)](_0x4064c8=>{var _0x102b10=_0x630c6;const _0x495d9a=_0x4064c8[_0x102b10(0x1d3)](),_0x14c32f=this[_0x102b10(0x4ae)][_0x102b10(0x1ad)](_0x495d9a);_0x14c32f&&(_0x14c32f['dispose'](),this['_entities'][_0x102b10(0x447)](_0x495d9a));});}async[_0x37c1b9(0x315)](_0x1f5b27,_0x57ba75){var _0x165fe1=_0x37c1b9;const _0x2a6c38=await this[_0x165fe1(0x338)]['requireSession'](_0x1f5b27),_0x2196ca=this['_injector'][_0x165fe1(0x371)](this[_0x165fe1(0x49c)](_0x57ba75),_0x1f5b27,_0x57ba75,_0x2a6c38);return await _0x2196ca['init'](),this[_0x165fe1(0x32f)][_0x165fe1(0x326)](_0x2196ca),_0x2196ca;}[_0x37c1b9(0x49c)](_0x326fb7){var _0x5d910f=_0x37c1b9;switch(_0x326fb7){case X[_0x5d910f(0x3fe)]:return exports[_0x5d910f(0x212)];case X[_0x5d910f(0x3a5)]:return exports['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x326fb7);}}},exports['CollaborationController']=bi([Pe(0x0,a[_0x37c1b9(0x2c9)](a[_0x37c1b9(0x4bb)])),Pe(0x1,a[_0x37c1b9(0x2c9)](exports[_0x37c1b9(0x1f2)])),Pe(0x2,a['IUniverInstanceService'])],exports[_0x37c1b9(0x47e)]);var Ri=Object[_0x37c1b9(0x4c6)],Oi=(_0x348b2b,_0x597b45,_0x41cf75,_0x24b29d)=>{var _0x23cc8b=_0x37c1b9;for(var _0x378e01=_0x24b29d>0x1?void 0x0:_0x24b29d?Ri(_0x597b45,_0x41cf75):_0x597b45,_0x388e8d=_0x348b2b[_0x23cc8b(0x3a1)]-0x1,_0x111837;_0x388e8d>=0x0;_0x388e8d--)(_0x111837=_0x348b2b[_0x388e8d])&&(_0x378e01=_0x111837(_0x378e01)||_0x378e01);return _0x378e01;},Je=(_0x42dcfa,_0x1fe753)=>(_0x3a31ba,_0xeb950c)=>_0x1fe753(_0x3a31ba,_0xeb950c,_0x42dcfa);const yi=_0x37c1b9(0x470),Ni='Univer';let He=class extends a['Disposable']{constructor(_0x25c39e,_0x53ccef){var _0x1a82cf=_0x37c1b9;super(),this[_0x1a82cf(0x23b)]=_0x25c39e,this['_configService']=_0x53ccef,this['_init']();}['_init'](){var _0x5c8172=_0x37c1b9;this[_0x5c8172(0x4c8)](this[_0x5c8172(0x23b)][_0x5c8172(0x494)][_0x5c8172(0x426)](()=>{var _0x38a8dd=_0x5c8172,_0x426b35;const _0x1b1406=this[_0x38a8dd(0x23b)][_0x38a8dd(0x43d)]();let _0x143184=(_0x426b35=this[_0x38a8dd(0x273)]['getConfig'](yi))!=null?_0x426b35:Ni;_0x1b1406 instanceof a[_0x38a8dd(0x2b8)]&&(_0x143184=_0x1b1406['name']),document['title']=_0x143184;}));}};He=Oi([Je(0x0,a['IUniverInstanceService']),Je(0x1,a[_0x37c1b9(0x196)])],He);var Di=Object[_0x37c1b9(0x4c6)],Ui=(_0x527615,_0x2e8c8b,_0x54cd79,_0x15eef6)=>{for(var _0x3d2a5d=_0x15eef6>0x1?void 0x0:_0x15eef6?Di(_0x2e8c8b,_0x54cd79):_0x2e8c8b,_0x3bccff=_0x527615['length']-0x1,_0x574ac8;_0x3bccff>=0x0;_0x3bccff--)(_0x574ac8=_0x527615[_0x3bccff])&&(_0x3d2a5d=_0x574ac8(_0x3d2a5d)||_0x3d2a5d);return _0x3d2a5d;},we=(_0x488bbd,_0xee7646)=>(_0x13787a,_0x296f5e)=>_0xee7646(_0x13787a,_0x296f5e,_0x488bbd);let ye=class{constructor(_0x347351,_0x7dcd5,_0x4a75e4){var _0x4474bb=_0x37c1b9;this[_0x4474bb(0x273)]=_0x347351,this[_0x4474bb(0x3f6)]=_0x7dcd5,this[_0x4474bb(0x193)]=_0x4a75e4,this[_0x4474bb(0x486)]();}[_0x37c1b9(0x486)](){var _0x2ecadb=_0x37c1b9;this[_0x2ecadb(0x3f6)][_0x2ecadb(0x241)]({'priority':0x1,'interceptor':(_0x161851,_0x12d255)=>_0x12d255(_0x161851)[_0x2ecadb(0x2cf)](j[_0x2ecadb(0x387)](async _0x7cf8ba=>{var _0x5c9655=_0x2ecadb;const _0x113a81=_0x7cf8ba;if(_0x113a81['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x5c9655(0x268)](this['localeService']['t'](_0x5c9655(0x4b0)))){const _0x46c1a7=window['encodeURIComponent'](window['location'][_0x5c9655(0x190)]);window[_0x5c9655(0x2ac)][_0x5c9655(0x190)]=this['_getLoginPath']()+'?url='+_0x46c1a7;}}return _0x113a81;}))});}[_0x37c1b9(0x297)](){var _0x486f34=_0x37c1b9,_0x3aa4e1,_0xfb16b7;const _0x307356=this[_0x486f34(0x273)][_0x486f34(0x3a3)](Et),_0x30abd8=this['_configService'][_0x486f34(0x3a3)](Y);return(_0xfb16b7=(_0x3aa4e1=_0x30abd8==null?void 0x0:_0x30abd8[_0x486f34(0x4d7)])!=null?_0x3aa4e1:_0x307356)!=null?_0xfb16b7:Yt;}};ye=Ui([we(0x0,a[_0x37c1b9(0x196)]),we(0x1,a[_0x37c1b9(0x2c9)](q[_0x37c1b9(0x4d9)])),we(0x2,a['Inject'](a[_0x37c1b9(0x38f)]))],ye);var Ai=Object['getOwnPropertyDescriptor'],Pi=(_0x2043c8,_0x215509,_0x410b11,_0x9549fb)=>{var _0x4ea091=_0x37c1b9;for(var _0x1289d1=_0x9549fb>0x1?void 0x0:_0x9549fb?Ai(_0x215509,_0x410b11):_0x215509,_0x37b45d=_0x2043c8[_0x4ea091(0x3a1)]-0x1,_0x1484e2;_0x37b45d>=0x0;_0x37b45d--)(_0x1484e2=_0x2043c8[_0x37b45d])&&(_0x1289d1=_0x1484e2(_0x1289d1)||_0x1289d1);return _0x1289d1;},Xe=(_0x53b23f,_0x250444)=>(_0x3d930c,_0x23f61a)=>_0x250444(_0x3d930c,_0x23f61a,_0x53b23f);const Ge=_0x37c1b9(0x2d9),wi='/universer-api/authz';exports[_0x37c1b9(0x236)]=class extends a[_0x37c1b9(0x45c)]{constructor(_0x3a1063,_0x3c9ed4){var _0x202c90=_0x37c1b9;super(),this[_0x202c90(0x25b)]=_0x3a1063,this[_0x202c90(0x273)]=_0x3c9ed4,this[_0x202c90(0x26c)]();}[_0x37c1b9(0x26c)](){var _0x595d35=_0x37c1b9;const _0xc0efac=this;this[_0x595d35(0x4c8)](this[_0x595d35(0x25b)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q['MergeInterceptorFactory']({'isMatch'(_0x530bfb){var _0x2603d0=_0x595d35,_0x449ca7;if(_0x530bfb['method']===_0x2603d0(0x1e1)&&((_0x449ca7=_0x530bfb[_0x2603d0(0x43f)])!=null&&_0x449ca7['body'])){const {objectID:_0x5e6990,objectType:_0x390436}=_0x530bfb[_0x2603d0(0x43f)][_0x2603d0(0x35d)]||{};if(!_0x5e6990||_0x390436===void 0x0)return!0x1;const _0x285a78=_0xc0efac[_0x2603d0(0x239)]()+'/'+_0x390436+_0x2603d0(0x457)+_0x5e6990+_0x2603d0(0x366);if(_0x530bfb[_0x2603d0(0x2a1)]===_0x285a78)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x128cfa){var _0x26fd90=_0x595d35,_0x701691;return(_0x701691=_0x128cfa[_0x26fd90(0x43f)])==null?void 0x0:_0x701691[_0x26fd90(0x35d)];},'mergeParamsToRequest'(_0x43da06,_0xb6158f){var _0x1d0a00=_0x595d35;const _0x3fa8f7=_0xc0efac[_0x1d0a00(0x239)]()+_0x1d0a00(0x337),_0x57f124=_0x43da06[_0x1d0a00(0x3dc)]((_0x3bde3b,_0x23c088)=>{var _0x3e5e1b=_0x1d0a00;const {unitID:_0x8a1e69,objectID:_0x59da87,objectType:_0x5847ff,actions:_0x3f4982}=_0x23c088;return _0x3bde3b[_0x8a1e69]||(_0x3bde3b[_0x8a1e69]={}),_0x3bde3b[_0x8a1e69][_0x59da87]||(_0x3bde3b[_0x8a1e69][_0x59da87]={'objectID':_0x59da87,'objectType':_0x5847ff,'actions':[]}),_0x3bde3b[_0x8a1e69][_0x59da87][_0x3e5e1b(0x222)][_0x3e5e1b(0x374)](..._0x3f4982),_0x3bde3b;},{}),_0x626ae6=[];for(const _0xf8c8d7 in _0x57f124)for(const _0x20cd60 in _0x57f124[_0xf8c8d7]){const {actions:_0x22a1f0,objectType:_0x398b57}=_0x57f124[_0xf8c8d7][_0x20cd60],_0x1b32a2=[...new Set(_0x22a1f0)];_0x626ae6[_0x1d0a00(0x374)]({'unitID':_0xf8c8d7,'objectID':_0x20cd60,'objectType':_0x398b57,'actions':_0x1b32a2});}return new q['HTTPRequest']('POST',_0x3fa8f7,{'headers':_0xb6158f[_0x1d0a00(0x3ff)],'withCredentials':_0xb6158f[_0x1d0a00(0x25c)],'responseType':_0xb6158f[_0x1d0a00(0x28f)],'body':{'requests':_0x626ae6}});}},{'distributeResult'(_0x580e44,_0xc8282c){var _0x1c5e32=_0x595d35;const {objectActions:_0x170a2f}=_0x580e44;return _0xc8282c[_0x1c5e32(0x34a)](_0x2de719=>{var _0x387e94=_0x1c5e32;const {unitID:_0x379d8f,objectID:_0x5c6d20,actions:_0x3c7a2d}=_0x2de719,_0x63711b=_0x170a2f['find'](_0xa39141=>_0xa39141['unitID']===_0x379d8f&&_0xa39141[_0x387e94(0x3c9)]===_0x5c6d20),_0xc6aa20=_0x3c7a2d[_0x387e94(0x34a)](_0x4591dc=>_0x63711b==null?void 0x0:_0x63711b[_0x387e94(0x222)][_0x387e94(0x499)](_0x4c7e21=>_0x4c7e21[_0x387e94(0x1a3)]===_0x4591dc))[_0x387e94(0x1e3)](_0x5dea9f=>!!_0x5dea9f);return{'config':_0x2de719,'result':{'actions':_0xc6aa20,'error':_0x580e44[_0x387e94(0x2a7)]}};});}})}));}[_0x37c1b9(0x239)](){var _0xb1c0ca=_0x37c1b9,_0x5b4d85,_0x5ea926;const _0x2bd314=this[_0xb1c0ca(0x273)][_0xb1c0ca(0x3a3)](Ge),_0x27579d=this[_0xb1c0ca(0x273)][_0xb1c0ca(0x3a3)](Y);return(_0x5ea926=(_0x5b4d85=_0x27579d==null?void 0x0:_0x27579d[_0xb1c0ca(0x2c0)])!=null?_0x5b4d85:_0x2bd314)!=null?_0x5ea926:wi;}async[_0x37c1b9(0x2de)](_0x21e875){var _0x5a565d=_0x37c1b9;const _0x572cda=this['_getAPIPrefixPath']()+'/'+_0x21e875[_0x5a565d(0x3bb)]+_0x5a565d(0x380);return(await this['_HTTPService'][_0x5a565d(0x4be)](_0x572cda,{'body':_0x21e875}))[_0x5a565d(0x35d)][_0x5a565d(0x3c9)]||'';}async[_0x37c1b9(0x238)](_0x4e1d3d){var _0x562279=_0x37c1b9;const _0xb0e370=this[_0x562279(0x239)]()+_0x562279(0x1d6);return(await this['_HTTPService'][_0x562279(0x4be)](_0xb0e370,{'body':_0x4e1d3d}))['body']['objects'];}async[_0x37c1b9(0x246)](_0x3dc1a5){var _0x375d7d=_0x37c1b9,_0x2b283c,_0x38fb72;const _0x56b700=this['_getAPIPrefixPath']()+'/'+_0x3dc1a5[_0x375d7d(0x3bb)]+_0x375d7d(0x457)+_0x3dc1a5[_0x375d7d(0x3c9)],_0x5e8307=await this[_0x375d7d(0x25b)][_0x375d7d(0x318)](_0x56b700,{'body':_0x3dc1a5});if(((_0x38fb72=(_0x2b283c=_0x5e8307==null?void 0x0:_0x5e8307[_0x375d7d(0x35d)])==null?void 0x0:_0x2b283c[_0x375d7d(0x2a7)])==null?void 0x0:_0x38fb72[_0x375d7d(0x4c3)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x37c1b9(0x21b)](_0xdbf470){var _0x37b021=_0x37c1b9;const _0x155679=this[_0x37b021(0x239)]()+'/'+_0xdbf470[_0x37b021(0x3bb)]+_0x37b021(0x457)+_0xdbf470['objectID']+_0x37b021(0x366);return(await this['_HTTPService'][_0x37b021(0x4be)](_0x155679,{'body':_0xdbf470}))[_0x37b021(0x35d)][_0x37b021(0x222)];}async[_0x37c1b9(0x36c)](_0x25f226){var _0x3713b2=_0x37c1b9;const _0x2b7266=this[_0x3713b2(0x239)]()+_0x3713b2(0x337);return(await this[_0x3713b2(0x25b)][_0x3713b2(0x4be)](_0x2b7266,{'body':{'requests':_0x25f226}}))[_0x3713b2(0x35d)]['objectActions'];}async[_0x37c1b9(0x2f9)](_0x1b8206){var _0x3b6f4d=_0x37c1b9;const _0x2f5d4d=this[_0x3b6f4d(0x239)]()+'/'+_0x1b8206[_0x3b6f4d(0x3bb)]+_0x3b6f4d(0x3f1),_0x4678e0=await this[_0x3b6f4d(0x25b)][_0x3b6f4d(0x4be)](_0x2f5d4d,{'body':_0x1b8206});return{'roles':_0x4678e0[_0x3b6f4d(0x35d)][_0x3b6f4d(0x36a)],'actions':_0x4678e0[_0x3b6f4d(0x35d)]['actions']};}async[_0x37c1b9(0x26f)](_0x8ab011){var _0x57ff49=_0x37c1b9;const _0x38b62a=this[_0x57ff49(0x239)]()+_0x57ff49(0x331);await this[_0x57ff49(0x25b)][_0x57ff49(0x447)](_0x38b62a,{'params':{'collaboratorID':_0x8ab011['collaboratorID'],'objectID':_0x8ab011[_0x57ff49(0x3c9)],'unitID':_0x8ab011['unitID']}});}async['updateCollaborator'](_0x25b2fc){var _0x2e6daf=_0x37c1b9;const _0x4311df=this['_getAPIPrefixPath']()+_0x2e6daf(0x331);await this[_0x2e6daf(0x25b)][_0x2e6daf(0x4ef)](_0x4311df,{'body':_0x25b2fc});}async[_0x37c1b9(0x2c5)](_0x24768d){var _0x544764=_0x37c1b9;const _0x25b7b2=this[_0x544764(0x239)]()+_0x544764(0x331);await this[_0x544764(0x25b)][_0x544764(0x4be)](_0x25b7b2,{'body':_0x24768d});}async[_0x37c1b9(0x416)](_0x1a7ba3){var _0x4e6d52=_0x37c1b9;const _0x1195df=this['_getAPIPrefixPath']()+_0x4e6d52(0x331);return(await this[_0x4e6d52(0x25b)][_0x4e6d52(0x1ad)](_0x1195df,{'params':{'objectID':_0x1a7ba3['objectID'],'unitID':_0x1a7ba3[_0x4e6d52(0x4f8)]}}))[_0x4e6d52(0x35d)][_0x4e6d52(0x2ea)];}async[_0x37c1b9(0x33d)](_0x39e719){var _0x166e07=_0x37c1b9;const _0x244e4d=this[_0x166e07(0x239)]()+_0x166e07(0x331);await this[_0x166e07(0x25b)][_0x166e07(0x318)](_0x244e4d,{'body':_0x39e719});}},exports['AuthzIoHttpService']=Pi([Xe(0x0,a[_0x37c1b9(0x2c9)](q['HTTPService'])),Xe(0x1,a[_0x37c1b9(0x2c9)](a[_0x37c1b9(0x196)]))],exports[_0x37c1b9(0x236)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0xf04ac0){var _0x12107e=_0x37c1b9;return _0xf04ac0&&_0xf04ac0['__esModule']&&Object[_0x12107e(0x324)][_0x12107e(0x213)][_0x12107e(0x1bf)](_0xf04ac0,'default')?_0xf04ac0[_0x12107e(0x353)]:_0xf04ac0;}var fe={'exports':{}};function Li(_0x1de3e1){var _0x1e6338=_0x37c1b9;throw new Error(_0x1e6338(0x484)+_0x1de3e1+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},Mi=pe['exports'],Ze;function ee(){var _0x5095cd=_0x37c1b9;return Ze||(Ze=0x1,function(_0x1345e8,_0x5434e4){(function(_0x329736,_0x1569ba){var _0x1289e9=_0x206a;_0x1345e8[_0x1289e9(0x295)]=_0x1569ba();}(Mi,function(){var _0x491835=_0x491835||function(_0x29ba34,_0x3c3c69){var _0x53c499=_0x206a,_0x33a88f;if(typeof window<'u'&&window['crypto']&&(_0x33a88f=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x33a88f=self[_0x53c499(0x449)]),typeof globalThis<'u'&&globalThis[_0x53c499(0x449)]&&(_0x33a88f=globalThis[_0x53c499(0x449)]),!_0x33a88f&&typeof window<'u'&&window[_0x53c499(0x21c)]&&(_0x33a88f=window['msCrypto']),!_0x33a88f&&typeof Le<'u'&&Le[_0x53c499(0x449)]&&(_0x33a88f=Le[_0x53c499(0x449)]),!_0x33a88f&&typeof Li==_0x53c499(0x38a))try{_0x33a88f=require(_0x53c499(0x449));}catch{}var _0x1c869e=function(){var _0x1564ae=_0x53c499;if(_0x33a88f){if(typeof _0x33a88f['getRandomValues']==_0x1564ae(0x38a))try{return _0x33a88f[_0x1564ae(0x2d3)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x33a88f['randomBytes']==_0x1564ae(0x38a))try{return _0x33a88f['randomBytes'](0x4)[_0x1564ae(0x4d2)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x23cb24=Object['create']||(function(){function _0x29bacd(){}return function(_0x107a56){var _0x5a45c9=_0x206a,_0x175ef5;return _0x29bacd[_0x5a45c9(0x324)]=_0x107a56,_0x175ef5=new _0x29bacd(),_0x29bacd[_0x5a45c9(0x324)]=null,_0x175ef5;};}()),_0x13894c={},_0x46b971=_0x13894c['lib']={},_0x762b37=_0x46b971[_0x53c499(0x3d9)]=(function(){return{'extend':function(_0xf5ea30){var _0x39e18c=_0x206a,_0x70ca50=_0x23cb24(this);return _0xf5ea30&&_0x70ca50[_0x39e18c(0x2ff)](_0xf5ea30),(!_0x70ca50[_0x39e18c(0x213)](_0x39e18c(0x486))||this[_0x39e18c(0x486)]===_0x70ca50[_0x39e18c(0x486)])&&(_0x70ca50[_0x39e18c(0x486)]=function(){var _0x3b7fac=_0x39e18c;_0x70ca50[_0x3b7fac(0x38c)][_0x3b7fac(0x486)]['apply'](this,arguments);}),_0x70ca50[_0x39e18c(0x486)][_0x39e18c(0x324)]=_0x70ca50,_0x70ca50[_0x39e18c(0x38c)]=this,_0x70ca50;},'create':function(){var _0x51e4fc=_0x206a,_0x23e123=this['extend']();return _0x23e123['init'][_0x51e4fc(0x4a5)](_0x23e123,arguments),_0x23e123;},'init':function(){},'mixIn':function(_0x46986e){var _0x57d800=_0x206a;for(var _0x4426e6 in _0x46986e)_0x46986e[_0x57d800(0x213)](_0x4426e6)&&(this[_0x4426e6]=_0x46986e[_0x4426e6]);_0x46986e['hasOwnProperty'](_0x57d800(0x2b3))&&(this[_0x57d800(0x2b3)]=_0x46986e[_0x57d800(0x2b3)]);},'clone':function(){var _0x422c8d=_0x206a;return this[_0x422c8d(0x486)][_0x422c8d(0x324)][_0x422c8d(0x192)](this);}};}()),_0x2b1096=_0x46b971[_0x53c499(0x260)]=_0x762b37[_0x53c499(0x192)]({'init':function(_0x4b3a19,_0x2c8f23){var _0x269213=_0x53c499;_0x4b3a19=this[_0x269213(0x278)]=_0x4b3a19||[],_0x2c8f23!=_0x3c3c69?this['sigBytes']=_0x2c8f23:this[_0x269213(0x191)]=_0x4b3a19['length']*0x4;},'toString':function(_0x4795a3){var _0x507e9f=_0x53c499;return(_0x4795a3||_0x21db53)[_0x507e9f(0x1c0)](this);},'concat':function(_0x6ec0fc){var _0x34ea31=_0x53c499,_0xb9a6c3=this[_0x34ea31(0x278)],_0x2e604d=_0x6ec0fc[_0x34ea31(0x278)],_0x42889d=this['sigBytes'],_0x28b48f=_0x6ec0fc[_0x34ea31(0x191)];if(this[_0x34ea31(0x3e1)](),_0x42889d%0x4)for(var _0x3be5e9=0x0;_0x3be5e9<_0x28b48f;_0x3be5e9++){var _0x3b2b22=_0x2e604d[_0x3be5e9>>>0x2]>>>0x18-_0x3be5e9%0x4*0x8&0xff;_0xb9a6c3[_0x42889d+_0x3be5e9>>>0x2]|=_0x3b2b22<<0x18-(_0x42889d+_0x3be5e9)%0x4*0x8;}else{for(var _0x141cac=0x0;_0x141cac<_0x28b48f;_0x141cac+=0x4)_0xb9a6c3[_0x42889d+_0x141cac>>>0x2]=_0x2e604d[_0x141cac>>>0x2];}return this[_0x34ea31(0x191)]+=_0x28b48f,this;},'clamp':function(){var _0x3b20b1=_0x53c499,_0xb8468b=this[_0x3b20b1(0x278)],_0x4183db=this[_0x3b20b1(0x191)];_0xb8468b[_0x4183db>>>0x2]&=0xffffffff<<0x20-_0x4183db%0x4*0x8,_0xb8468b[_0x3b20b1(0x3a1)]=_0x29ba34[_0x3b20b1(0x46b)](_0x4183db/0x4);},'clone':function(){var _0x13a27d=_0x53c499,_0xef0e80=_0x762b37[_0x13a27d(0x1bd)][_0x13a27d(0x1bf)](this);return _0xef0e80['words']=this[_0x13a27d(0x278)]['slice'](0x0),_0xef0e80;},'random':function(_0x39fd28){var _0x3ec422=_0x53c499;for(var _0x4c2b43=[],_0x58794c=0x0;_0x58794c<_0x39fd28;_0x58794c+=0x4)_0x4c2b43['push'](_0x1c869e());return new _0x2b1096[(_0x3ec422(0x486))](_0x4c2b43,_0x39fd28);}}),_0x236c73=_0x13894c[_0x53c499(0x296)]={},_0x21db53=_0x236c73[_0x53c499(0x350)]={'stringify':function(_0x49642d){var _0x1d6898=_0x53c499;for(var _0x2c0469=_0x49642d['words'],_0x2b59bd=_0x49642d[_0x1d6898(0x191)],_0x27f57b=[],_0x46a017=0x0;_0x46a017<_0x2b59bd;_0x46a017++){var _0x1bdd4a=_0x2c0469[_0x46a017>>>0x2]>>>0x18-_0x46a017%0x4*0x8&0xff;_0x27f57b[_0x1d6898(0x374)]((_0x1bdd4a>>>0x4)['toString'](0x10)),_0x27f57b[_0x1d6898(0x374)]((_0x1bdd4a&0xf)[_0x1d6898(0x2b3)](0x10));}return _0x27f57b[_0x1d6898(0x287)]('');},'parse':function(_0x10d79f){var _0x241416=_0x53c499;for(var _0x3883f1=_0x10d79f[_0x241416(0x3a1)],_0x57a114=[],_0x3aa63a=0x0;_0x3aa63a<_0x3883f1;_0x3aa63a+=0x2)_0x57a114[_0x3aa63a>>>0x3]|=parseInt(_0x10d79f[_0x241416(0x37e)](_0x3aa63a,0x2),0x10)<<0x18-_0x3aa63a%0x8*0x4;return new _0x2b1096[(_0x241416(0x486))](_0x57a114,_0x3883f1/0x2);}},_0x1040fe=_0x236c73[_0x53c499(0x1fe)]={'stringify':function(_0x41c309){var _0x478b6e=_0x53c499;for(var _0x4f83bf=_0x41c309[_0x478b6e(0x278)],_0x579f8b=_0x41c309['sigBytes'],_0x1fd059=[],_0x1ec5d7=0x0;_0x1ec5d7<_0x579f8b;_0x1ec5d7++){var _0x417932=_0x4f83bf[_0x1ec5d7>>>0x2]>>>0x18-_0x1ec5d7%0x4*0x8&0xff;_0x1fd059['push'](String[_0x478b6e(0x3b3)](_0x417932));}return _0x1fd059[_0x478b6e(0x287)]('');},'parse':function(_0x206793){var _0x45c92c=_0x53c499;for(var _0x1de571=_0x206793['length'],_0x398cea=[],_0x1d7381=0x0;_0x1d7381<_0x1de571;_0x1d7381++)_0x398cea[_0x1d7381>>>0x2]|=(_0x206793['charCodeAt'](_0x1d7381)&0xff)<<0x18-_0x1d7381%0x4*0x8;return new _0x2b1096[(_0x45c92c(0x486))](_0x398cea,_0x1de571);}},_0x2b40f7=_0x236c73[_0x53c499(0x2ab)]={'stringify':function(_0x53bf9c){var _0x3e625f=_0x53c499;try{return decodeURIComponent(escape(_0x1040fe[_0x3e625f(0x1c0)](_0x53bf9c)));}catch{throw new Error(_0x3e625f(0x40a));}},'parse':function(_0x54ba39){var _0x33dad6=_0x53c499;return _0x1040fe[_0x33dad6(0x1c9)](unescape(encodeURIComponent(_0x54ba39)));}},_0x1b1646=_0x46b971[_0x53c499(0x3be)]=_0x762b37[_0x53c499(0x192)]({'reset':function(){var _0x4a2426=_0x53c499;this['_data']=new _0x2b1096[(_0x4a2426(0x486))](),this['_nDataBytes']=0x0;},'_append':function(_0x2c29cb){var _0x3f1976=_0x53c499;typeof _0x2c29cb==_0x3f1976(0x2c2)&&(_0x2c29cb=_0x2b40f7[_0x3f1976(0x1c9)](_0x2c29cb)),this[_0x3f1976(0x25e)]['concat'](_0x2c29cb),this[_0x3f1976(0x304)]+=_0x2c29cb[_0x3f1976(0x191)];},'_process':function(_0x2a9959){var _0x597d20=_0x53c499,_0x49ac68,_0x5d2eb9=this[_0x597d20(0x25e)],_0x2b8f35=_0x5d2eb9[_0x597d20(0x278)],_0x198a91=_0x5d2eb9[_0x597d20(0x191)],_0x243ea0=this[_0x597d20(0x1d2)],_0x2ff501=_0x243ea0*0x4,_0x3da05f=_0x198a91/_0x2ff501;_0x2a9959?_0x3da05f=_0x29ba34[_0x597d20(0x46b)](_0x3da05f):_0x3da05f=_0x29ba34[_0x597d20(0x460)]((_0x3da05f|0x0)-this[_0x597d20(0x4a8)],0x0);var _0x512915=_0x3da05f*_0x243ea0,_0x5cd1ab=_0x29ba34[_0x597d20(0x4c4)](_0x512915*0x4,_0x198a91);if(_0x512915){for(var _0xc041e2=0x0;_0xc041e2<_0x512915;_0xc041e2+=_0x243ea0)this[_0x597d20(0x2f5)](_0x2b8f35,_0xc041e2);_0x49ac68=_0x2b8f35[_0x597d20(0x2a9)](0x0,_0x512915),_0x5d2eb9[_0x597d20(0x191)]-=_0x5cd1ab;}return new _0x2b1096[(_0x597d20(0x486))](_0x49ac68,_0x5cd1ab);},'clone':function(){var _0x37fca5=_0x53c499,_0x3cb2c9=_0x762b37[_0x37fca5(0x1bd)][_0x37fca5(0x1bf)](this);return _0x3cb2c9[_0x37fca5(0x25e)]=this['_data'][_0x37fca5(0x1bd)](),_0x3cb2c9;},'_minBufferSize':0x0});_0x46b971[_0x53c499(0x44c)]=_0x1b1646[_0x53c499(0x192)]({'cfg':_0x762b37[_0x53c499(0x192)](),'init':function(_0x76364c){var _0x2b32b8=_0x53c499;this[_0x2b32b8(0x2ef)]=this[_0x2b32b8(0x2ef)][_0x2b32b8(0x192)](_0x76364c),this[_0x2b32b8(0x1e5)]();},'reset':function(){var _0xafbcc7=_0x53c499;_0x1b1646[_0xafbcc7(0x1e5)][_0xafbcc7(0x1bf)](this),this['_doReset']();},'update':function(_0x19ca61){var _0x282e81=_0x53c499;return this[_0x282e81(0x1b4)](_0x19ca61),this[_0x282e81(0x49b)](),this;},'finalize':function(_0x209903){var _0x2e8783=_0x53c499;_0x209903&&this[_0x2e8783(0x1b4)](_0x209903);var _0x4ad27d=this[_0x2e8783(0x361)]();return _0x4ad27d;},'blockSize':0x10,'_createHelper':function(_0x3fdaa8){return function(_0x3818f3,_0x5b830a){var _0x45c69d=_0x206a;return new _0x3fdaa8['init'](_0x5b830a)[_0x45c69d(0x356)](_0x3818f3);};},'_createHmacHelper':function(_0x464e62){return function(_0xba156d,_0x337080){var _0x529f7f=_0x206a;return new _0x486676[(_0x529f7f(0x3f5))]['init'](_0x464e62,_0x337080)['finalize'](_0xba156d);};}});var _0x486676=_0x13894c['algo']={};return _0x13894c;}(Math);return _0x491835;}));}(pe)),pe[_0x5095cd(0x295)];}var ge={'exports':{}},xi=ge[_0x37c1b9(0x295)],Qe;function Ut(){var _0x375f12=_0x37c1b9;return Qe||(Qe=0x1,function(_0x3f6e5f,_0x1a33ed){(function(_0x250799,_0x419d4e){var _0x49f7d3=_0x206a;_0x3f6e5f[_0x49f7d3(0x295)]=_0x419d4e(ee());}(xi,function(_0x406604){var _0x49ea01=_0x206a;return(function(){var _0x168f69=_0x206a,_0x4796ec=_0x406604,_0x5a9490=_0x4796ec[_0x168f69(0x323)],_0x64edbe=_0x5a9490['WordArray'],_0x14480c=_0x4796ec['enc'];_0x14480c[_0x168f69(0x425)]={'stringify':function(_0x456058){var _0x4b1266=_0x168f69,_0x549f8c=_0x456058['words'],_0x16e143=_0x456058[_0x4b1266(0x191)],_0xb67bd6=this[_0x4b1266(0x24a)];_0x456058[_0x4b1266(0x3e1)]();for(var _0x150c6d=[],_0x52151c=0x0;_0x52151c<_0x16e143;_0x52151c+=0x3)for(var _0x902344=_0x549f8c[_0x52151c>>>0x2]>>>0x18-_0x52151c%0x4*0x8&0xff,_0x6ef48f=_0x549f8c[_0x52151c+0x1>>>0x2]>>>0x18-(_0x52151c+0x1)%0x4*0x8&0xff,_0x3fea79=_0x549f8c[_0x52151c+0x2>>>0x2]>>>0x18-(_0x52151c+0x2)%0x4*0x8&0xff,_0x4c49c7=_0x902344<<0x10|_0x6ef48f<<0x8|_0x3fea79,_0x363b77=0x0;_0x363b77<0x4&&_0x52151c+_0x363b77*0.75<_0x16e143;_0x363b77++)_0x150c6d['push'](_0xb67bd6[_0x4b1266(0x245)](_0x4c49c7>>>0x6*(0x3-_0x363b77)&0x3f));var _0x56acb5=_0xb67bd6[_0x4b1266(0x245)](0x40);if(_0x56acb5){for(;_0x150c6d[_0x4b1266(0x3a1)]%0x4;)_0x150c6d[_0x4b1266(0x374)](_0x56acb5);}return _0x150c6d[_0x4b1266(0x287)]('');},'parse':function(_0x1e3061){var _0x323bcc=_0x168f69,_0x12acf4=_0x1e3061['length'],_0x429ac0=this[_0x323bcc(0x24a)],_0x3e9bfc=this['_reverseMap'];if(!_0x3e9bfc){_0x3e9bfc=this[_0x323bcc(0x450)]=[];for(var _0x47b12a=0x0;_0x47b12a<_0x429ac0[_0x323bcc(0x3a1)];_0x47b12a++)_0x3e9bfc[_0x429ac0['charCodeAt'](_0x47b12a)]=_0x47b12a;}var _0xdc0304=_0x429ac0[_0x323bcc(0x245)](0x40);if(_0xdc0304){var _0x27db63=_0x1e3061[_0x323bcc(0x47c)](_0xdc0304);_0x27db63!==-0x1&&(_0x12acf4=_0x27db63);}return _0x127f62(_0x1e3061,_0x12acf4,_0x3e9bfc);},'_map':_0x168f69(0x339)};function _0x127f62(_0x522dd5,_0x5c9a7e,_0x52b33b){var _0x327401=_0x168f69;for(var _0x433924=[],_0x2d3897=0x0,_0x446f3b=0x0;_0x446f3b<_0x5c9a7e;_0x446f3b++)if(_0x446f3b%0x4){var _0x3db0fe=_0x52b33b[_0x522dd5[_0x327401(0x420)](_0x446f3b-0x1)]<<_0x446f3b%0x4*0x2,_0x576a2b=_0x52b33b[_0x522dd5['charCodeAt'](_0x446f3b)]>>>0x6-_0x446f3b%0x4*0x2,_0x1806bb=_0x3db0fe|_0x576a2b;_0x433924[_0x2d3897>>>0x2]|=_0x1806bb<<0x18-_0x2d3897%0x4*0x8,_0x2d3897++;}return _0x64edbe[_0x327401(0x2de)](_0x433924,_0x2d3897);}}()),_0x406604[_0x49ea01(0x296)][_0x49ea01(0x425)];}));}(ge)),ge[_0x375f12(0x295)];}var Ie={'exports':{}},ki=Ie[_0x37c1b9(0x295)],et;function Hi(){return et||(et=0x1,function(_0x299745,_0x4b1259){(function(_0x160294,_0x51c265){var _0x51ab7c=_0x206a;_0x299745[_0x51ab7c(0x295)]=_0x51c265(ee());}(ki,function(_0x56abb6){var _0x2dc867=_0x206a;return function(_0x1df14a){var _0x4d59d7=_0x206a,_0x2ca01b=_0x56abb6,_0x57aa11=_0x2ca01b[_0x4d59d7(0x323)],_0x2252b2=_0x57aa11[_0x4d59d7(0x260)],_0x5db594=_0x57aa11[_0x4d59d7(0x44c)],_0x1bc207=_0x2ca01b[_0x4d59d7(0x4fb)],_0x360410=[];(function(){var _0x20b5f9=_0x4d59d7;for(var _0x2a176f=0x0;_0x2a176f<0x40;_0x2a176f++)_0x360410[_0x2a176f]=_0x1df14a[_0x20b5f9(0x433)](_0x1df14a[_0x20b5f9(0x2b5)](_0x2a176f+0x1))*0x100000000|0x0;}());var _0x5f1f7a=_0x1bc207[_0x4d59d7(0x442)]=_0x5db594[_0x4d59d7(0x192)]({'_doReset':function(){var _0x1e0a0d=_0x4d59d7;this[_0x1e0a0d(0x1ee)]=new _0x2252b2[(_0x1e0a0d(0x486))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x577aff,_0x5e9394){var _0x179540=_0x4d59d7;for(var _0x42f302=0x0;_0x42f302<0x10;_0x42f302++){var _0x677352=_0x5e9394+_0x42f302,_0x1bbb80=_0x577aff[_0x677352];_0x577aff[_0x677352]=(_0x1bbb80<<0x8|_0x1bbb80>>>0x18)&0xff00ff|(_0x1bbb80<<0x18|_0x1bbb80>>>0x8)&0xff00ff00;}var _0x2fcf13=this[_0x179540(0x1ee)][_0x179540(0x278)],_0x3bc9fd=_0x577aff[_0x5e9394+0x0],_0x472b57=_0x577aff[_0x5e9394+0x1],_0x445841=_0x577aff[_0x5e9394+0x2],_0x2b28c9=_0x577aff[_0x5e9394+0x3],_0x5e3637=_0x577aff[_0x5e9394+0x4],_0x30b7be=_0x577aff[_0x5e9394+0x5],_0x1eb2da=_0x577aff[_0x5e9394+0x6],_0xcbdb14=_0x577aff[_0x5e9394+0x7],_0x9da55a=_0x577aff[_0x5e9394+0x8],_0xda1aea=_0x577aff[_0x5e9394+0x9],_0x443755=_0x577aff[_0x5e9394+0xa],_0x147345=_0x577aff[_0x5e9394+0xb],_0xb4696e=_0x577aff[_0x5e9394+0xc],_0x55836a=_0x577aff[_0x5e9394+0xd],_0x1e2b86=_0x577aff[_0x5e9394+0xe],_0xe2941d=_0x577aff[_0x5e9394+0xf],_0x1fe290=_0x2fcf13[0x0],_0x440ec7=_0x2fcf13[0x1],_0x4adfd0=_0x2fcf13[0x2],_0x4a31d0=_0x2fcf13[0x3];_0x1fe290=_0x19bb91(_0x1fe290,_0x440ec7,_0x4adfd0,_0x4a31d0,_0x3bc9fd,0x7,_0x360410[0x0]),_0x4a31d0=_0x19bb91(_0x4a31d0,_0x1fe290,_0x440ec7,_0x4adfd0,_0x472b57,0xc,_0x360410[0x1]),_0x4adfd0=_0x19bb91(_0x4adfd0,_0x4a31d0,_0x1fe290,_0x440ec7,_0x445841,0x11,_0x360410[0x2]),_0x440ec7=_0x19bb91(_0x440ec7,_0x4adfd0,_0x4a31d0,_0x1fe290,_0x2b28c9,0x16,_0x360410[0x3]),_0x1fe290=_0x19bb91(_0x1fe290,_0x440ec7,_0x4adfd0,_0x4a31d0,_0x5e3637,0x7,_0x360410[0x4]),_0x4a31d0=_0x19bb91(_0x4a31d0,_0x1fe290,_0x440ec7,_0x4adfd0,_0x30b7be,0xc,_0x360410[0x5]),_0x4adfd0=_0x19bb91(_0x4adfd0,_0x4a31d0,_0x1fe290,_0x440ec7,_0x1eb2da,0x11,_0x360410[0x6]),_0x440ec7=_0x19bb91(_0x440ec7,_0x4adfd0,_0x4a31d0,_0x1fe290,_0xcbdb14,0x16,_0x360410[0x7]),_0x1fe290=_0x19bb91(_0x1fe290,_0x440ec7,_0x4adfd0,_0x4a31d0,_0x9da55a,0x7,_0x360410[0x8]),_0x4a31d0=_0x19bb91(_0x4a31d0,_0x1fe290,_0x440ec7,_0x4adfd0,_0xda1aea,0xc,_0x360410[0x9]),_0x4adfd0=_0x19bb91(_0x4adfd0,_0x4a31d0,_0x1fe290,_0x440ec7,_0x443755,0x11,_0x360410[0xa]),_0x440ec7=_0x19bb91(_0x440ec7,_0x4adfd0,_0x4a31d0,_0x1fe290,_0x147345,0x16,_0x360410[0xb]),_0x1fe290=_0x19bb91(_0x1fe290,_0x440ec7,_0x4adfd0,_0x4a31d0,_0xb4696e,0x7,_0x360410[0xc]),_0x4a31d0=_0x19bb91(_0x4a31d0,_0x1fe290,_0x440ec7,_0x4adfd0,_0x55836a,0xc,_0x360410[0xd]),_0x4adfd0=_0x19bb91(_0x4adfd0,_0x4a31d0,_0x1fe290,_0x440ec7,_0x1e2b86,0x11,_0x360410[0xe]),_0x440ec7=_0x19bb91(_0x440ec7,_0x4adfd0,_0x4a31d0,_0x1fe290,_0xe2941d,0x16,_0x360410[0xf]),_0x1fe290=_0x162941(_0x1fe290,_0x440ec7,_0x4adfd0,_0x4a31d0,_0x472b57,0x5,_0x360410[0x10]),_0x4a31d0=_0x162941(_0x4a31d0,_0x1fe290,_0x440ec7,_0x4adfd0,_0x1eb2da,0x9,_0x360410[0x11]),_0x4adfd0=_0x162941(_0x4adfd0,_0x4a31d0,_0x1fe290,_0x440ec7,_0x147345,0xe,_0x360410[0x12]),_0x440ec7=_0x162941(_0x440ec7,_0x4adfd0,_0x4a31d0,_0x1fe290,_0x3bc9fd,0x14,_0x360410[0x13]),_0x1fe290=_0x162941(_0x1fe290,_0x440ec7,_0x4adfd0,_0x4a31d0,_0x30b7be,0x5,_0x360410[0x14]),_0x4a31d0=_0x162941(_0x4a31d0,_0x1fe290,_0x440ec7,_0x4adfd0,_0x443755,0x9,_0x360410[0x15]),_0x4adfd0=_0x162941(_0x4adfd0,_0x4a31d0,_0x1fe290,_0x440ec7,_0xe2941d,0xe,_0x360410[0x16]),_0x440ec7=_0x162941(_0x440ec7,_0x4adfd0,_0x4a31d0,_0x1fe290,_0x5e3637,0x14,_0x360410[0x17]),_0x1fe290=_0x162941(_0x1fe290,_0x440ec7,_0x4adfd0,_0x4a31d0,_0xda1aea,0x5,_0x360410[0x18]),_0x4a31d0=_0x162941(_0x4a31d0,_0x1fe290,_0x440ec7,_0x4adfd0,_0x1e2b86,0x9,_0x360410[0x19]),_0x4adfd0=_0x162941(_0x4adfd0,_0x4a31d0,_0x1fe290,_0x440ec7,_0x2b28c9,0xe,_0x360410[0x1a]),_0x440ec7=_0x162941(_0x440ec7,_0x4adfd0,_0x4a31d0,_0x1fe290,_0x9da55a,0x14,_0x360410[0x1b]),_0x1fe290=_0x162941(_0x1fe290,_0x440ec7,_0x4adfd0,_0x4a31d0,_0x55836a,0x5,_0x360410[0x1c]),_0x4a31d0=_0x162941(_0x4a31d0,_0x1fe290,_0x440ec7,_0x4adfd0,_0x445841,0x9,_0x360410[0x1d]),_0x4adfd0=_0x162941(_0x4adfd0,_0x4a31d0,_0x1fe290,_0x440ec7,_0xcbdb14,0xe,_0x360410[0x1e]),_0x440ec7=_0x162941(_0x440ec7,_0x4adfd0,_0x4a31d0,_0x1fe290,_0xb4696e,0x14,_0x360410[0x1f]),_0x1fe290=_0x356eba(_0x1fe290,_0x440ec7,_0x4adfd0,_0x4a31d0,_0x30b7be,0x4,_0x360410[0x20]),_0x4a31d0=_0x356eba(_0x4a31d0,_0x1fe290,_0x440ec7,_0x4adfd0,_0x9da55a,0xb,_0x360410[0x21]),_0x4adfd0=_0x356eba(_0x4adfd0,_0x4a31d0,_0x1fe290,_0x440ec7,_0x147345,0x10,_0x360410[0x22]),_0x440ec7=_0x356eba(_0x440ec7,_0x4adfd0,_0x4a31d0,_0x1fe290,_0x1e2b86,0x17,_0x360410[0x23]),_0x1fe290=_0x356eba(_0x1fe290,_0x440ec7,_0x4adfd0,_0x4a31d0,_0x472b57,0x4,_0x360410[0x24]),_0x4a31d0=_0x356eba(_0x4a31d0,_0x1fe290,_0x440ec7,_0x4adfd0,_0x5e3637,0xb,_0x360410[0x25]),_0x4adfd0=_0x356eba(_0x4adfd0,_0x4a31d0,_0x1fe290,_0x440ec7,_0xcbdb14,0x10,_0x360410[0x26]),_0x440ec7=_0x356eba(_0x440ec7,_0x4adfd0,_0x4a31d0,_0x1fe290,_0x443755,0x17,_0x360410[0x27]),_0x1fe290=_0x356eba(_0x1fe290,_0x440ec7,_0x4adfd0,_0x4a31d0,_0x55836a,0x4,_0x360410[0x28]),_0x4a31d0=_0x356eba(_0x4a31d0,_0x1fe290,_0x440ec7,_0x4adfd0,_0x3bc9fd,0xb,_0x360410[0x29]),_0x4adfd0=_0x356eba(_0x4adfd0,_0x4a31d0,_0x1fe290,_0x440ec7,_0x2b28c9,0x10,_0x360410[0x2a]),_0x440ec7=_0x356eba(_0x440ec7,_0x4adfd0,_0x4a31d0,_0x1fe290,_0x1eb2da,0x17,_0x360410[0x2b]),_0x1fe290=_0x356eba(_0x1fe290,_0x440ec7,_0x4adfd0,_0x4a31d0,_0xda1aea,0x4,_0x360410[0x2c]),_0x4a31d0=_0x356eba(_0x4a31d0,_0x1fe290,_0x440ec7,_0x4adfd0,_0xb4696e,0xb,_0x360410[0x2d]),_0x4adfd0=_0x356eba(_0x4adfd0,_0x4a31d0,_0x1fe290,_0x440ec7,_0xe2941d,0x10,_0x360410[0x2e]),_0x440ec7=_0x356eba(_0x440ec7,_0x4adfd0,_0x4a31d0,_0x1fe290,_0x445841,0x17,_0x360410[0x2f]),_0x1fe290=_0x1edc7d(_0x1fe290,_0x440ec7,_0x4adfd0,_0x4a31d0,_0x3bc9fd,0x6,_0x360410[0x30]),_0x4a31d0=_0x1edc7d(_0x4a31d0,_0x1fe290,_0x440ec7,_0x4adfd0,_0xcbdb14,0xa,_0x360410[0x31]),_0x4adfd0=_0x1edc7d(_0x4adfd0,_0x4a31d0,_0x1fe290,_0x440ec7,_0x1e2b86,0xf,_0x360410[0x32]),_0x440ec7=_0x1edc7d(_0x440ec7,_0x4adfd0,_0x4a31d0,_0x1fe290,_0x30b7be,0x15,_0x360410[0x33]),_0x1fe290=_0x1edc7d(_0x1fe290,_0x440ec7,_0x4adfd0,_0x4a31d0,_0xb4696e,0x6,_0x360410[0x34]),_0x4a31d0=_0x1edc7d(_0x4a31d0,_0x1fe290,_0x440ec7,_0x4adfd0,_0x2b28c9,0xa,_0x360410[0x35]),_0x4adfd0=_0x1edc7d(_0x4adfd0,_0x4a31d0,_0x1fe290,_0x440ec7,_0x443755,0xf,_0x360410[0x36]),_0x440ec7=_0x1edc7d(_0x440ec7,_0x4adfd0,_0x4a31d0,_0x1fe290,_0x472b57,0x15,_0x360410[0x37]),_0x1fe290=_0x1edc7d(_0x1fe290,_0x440ec7,_0x4adfd0,_0x4a31d0,_0x9da55a,0x6,_0x360410[0x38]),_0x4a31d0=_0x1edc7d(_0x4a31d0,_0x1fe290,_0x440ec7,_0x4adfd0,_0xe2941d,0xa,_0x360410[0x39]),_0x4adfd0=_0x1edc7d(_0x4adfd0,_0x4a31d0,_0x1fe290,_0x440ec7,_0x1eb2da,0xf,_0x360410[0x3a]),_0x440ec7=_0x1edc7d(_0x440ec7,_0x4adfd0,_0x4a31d0,_0x1fe290,_0x55836a,0x15,_0x360410[0x3b]),_0x1fe290=_0x1edc7d(_0x1fe290,_0x440ec7,_0x4adfd0,_0x4a31d0,_0x5e3637,0x6,_0x360410[0x3c]),_0x4a31d0=_0x1edc7d(_0x4a31d0,_0x1fe290,_0x440ec7,_0x4adfd0,_0x147345,0xa,_0x360410[0x3d]),_0x4adfd0=_0x1edc7d(_0x4adfd0,_0x4a31d0,_0x1fe290,_0x440ec7,_0x445841,0xf,_0x360410[0x3e]),_0x440ec7=_0x1edc7d(_0x440ec7,_0x4adfd0,_0x4a31d0,_0x1fe290,_0xda1aea,0x15,_0x360410[0x3f]),_0x2fcf13[0x0]=_0x2fcf13[0x0]+_0x1fe290|0x0,_0x2fcf13[0x1]=_0x2fcf13[0x1]+_0x440ec7|0x0,_0x2fcf13[0x2]=_0x2fcf13[0x2]+_0x4adfd0|0x0,_0x2fcf13[0x3]=_0x2fcf13[0x3]+_0x4a31d0|0x0;},'_doFinalize':function(){var _0x56cbbb=_0x4d59d7,_0x3a0769=this[_0x56cbbb(0x25e)],_0x69a71a=_0x3a0769[_0x56cbbb(0x278)],_0x40d07e=this[_0x56cbbb(0x304)]*0x8,_0x1ef19e=_0x3a0769[_0x56cbbb(0x191)]*0x8;_0x69a71a[_0x1ef19e>>>0x5]|=0x80<<0x18-_0x1ef19e%0x20;var _0x24fa41=_0x1df14a[_0x56cbbb(0x2a8)](_0x40d07e/0x100000000),_0x2a3823=_0x40d07e;_0x69a71a[(_0x1ef19e+0x40>>>0x9<<0x4)+0xf]=(_0x24fa41<<0x8|_0x24fa41>>>0x18)&0xff00ff|(_0x24fa41<<0x18|_0x24fa41>>>0x8)&0xff00ff00,_0x69a71a[(_0x1ef19e+0x40>>>0x9<<0x4)+0xe]=(_0x2a3823<<0x8|_0x2a3823>>>0x18)&0xff00ff|(_0x2a3823<<0x18|_0x2a3823>>>0x8)&0xff00ff00,_0x3a0769[_0x56cbbb(0x191)]=(_0x69a71a['length']+0x1)*0x4,this[_0x56cbbb(0x49b)]();for(var _0x232239=this['_hash'],_0x2a24a4=_0x232239['words'],_0x3a5b15=0x0;_0x3a5b15<0x4;_0x3a5b15++){var _0xc5d1c=_0x2a24a4[_0x3a5b15];_0x2a24a4[_0x3a5b15]=(_0xc5d1c<<0x8|_0xc5d1c>>>0x18)&0xff00ff|(_0xc5d1c<<0x18|_0xc5d1c>>>0x8)&0xff00ff00;}return _0x232239;},'clone':function(){var _0x21b7d4=_0x4d59d7,_0x14a8fb=_0x5db594[_0x21b7d4(0x1bd)][_0x21b7d4(0x1bf)](this);return _0x14a8fb['_hash']=this[_0x21b7d4(0x1ee)][_0x21b7d4(0x1bd)](),_0x14a8fb;}});function _0x19bb91(_0x1614b8,_0xe57736,_0x5e4472,_0x52a804,_0x51df9b,_0x562f4e,_0x5655da){var _0x41842d=_0x1614b8+(_0xe57736&_0x5e4472|~_0xe57736&_0x52a804)+_0x51df9b+_0x5655da;return(_0x41842d<<_0x562f4e|_0x41842d>>>0x20-_0x562f4e)+_0xe57736;}function _0x162941(_0x3a5f1d,_0x249e9e,_0x148c87,_0x2697a5,_0x53221f,_0xa10113,_0x3bc938){var _0x16cdb1=_0x3a5f1d+(_0x249e9e&_0x2697a5|_0x148c87&~_0x2697a5)+_0x53221f+_0x3bc938;return(_0x16cdb1<<_0xa10113|_0x16cdb1>>>0x20-_0xa10113)+_0x249e9e;}function _0x356eba(_0x55aa32,_0x37de0f,_0x325ccd,_0x44cb8f,_0x9b3e37,_0x2a1d22,_0x3cb3a1){var _0x4e1228=_0x55aa32+(_0x37de0f^_0x325ccd^_0x44cb8f)+_0x9b3e37+_0x3cb3a1;return(_0x4e1228<<_0x2a1d22|_0x4e1228>>>0x20-_0x2a1d22)+_0x37de0f;}function _0x1edc7d(_0x3a1ba7,_0x3f4e1c,_0xe8a9c1,_0x5d5327,_0x109b74,_0x1a1a41,_0x31653a){var _0xce08f7=_0x3a1ba7+(_0xe8a9c1^(_0x3f4e1c|~_0x5d5327))+_0x109b74+_0x31653a;return(_0xce08f7<<_0x1a1a41|_0xce08f7>>>0x20-_0x1a1a41)+_0x3f4e1c;}_0x2ca01b[_0x4d59d7(0x442)]=_0x5db594['_createHelper'](_0x5f1f7a),_0x2ca01b[_0x4d59d7(0x4a9)]=_0x5db594['_createHmacHelper'](_0x5f1f7a);}(Math),_0x56abb6[_0x2dc867(0x442)];}));}(Ie)),Ie['exports'];}var me={'exports':{}},Ee={'exports':{}},ji=Ee[_0x37c1b9(0x295)],tt;function $i(){return tt||(tt=0x1,function(_0x5a788f,_0x55492e){(function(_0x9e45c0,_0x4f0345){var _0x27ceb0=_0x206a;_0x5a788f[_0x27ceb0(0x295)]=_0x4f0345(ee());}(ji,function(_0x40fa3e){var _0x32a206=_0x206a;return(function(){var _0xfa7ff0=_0x206a,_0x2d01ca=_0x40fa3e,_0x274766=_0x2d01ca[_0xfa7ff0(0x323)],_0x6c8bba=_0x274766[_0xfa7ff0(0x260)],_0xf02e33=_0x274766['Hasher'],_0x5aaef7=_0x2d01ca[_0xfa7ff0(0x4fb)],_0x272db1=[],_0x3df6c7=_0x5aaef7[_0xfa7ff0(0x277)]=_0xf02e33['extend']({'_doReset':function(){var _0x245272=_0xfa7ff0;this[_0x245272(0x1ee)]=new _0x6c8bba[(_0x245272(0x486))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x25eb3e,_0x1965e4){var _0x4897d4=_0xfa7ff0;for(var _0x52b408=this['_hash'][_0x4897d4(0x278)],_0x547dfd=_0x52b408[0x0],_0x31ce4a=_0x52b408[0x1],_0x5baeae=_0x52b408[0x2],_0x29e240=_0x52b408[0x3],_0x3343af=_0x52b408[0x4],_0x35c915=0x0;_0x35c915<0x50;_0x35c915++){if(_0x35c915<0x10)_0x272db1[_0x35c915]=_0x25eb3e[_0x1965e4+_0x35c915]|0x0;else{var _0x112b74=_0x272db1[_0x35c915-0x3]^_0x272db1[_0x35c915-0x8]^_0x272db1[_0x35c915-0xe]^_0x272db1[_0x35c915-0x10];_0x272db1[_0x35c915]=_0x112b74<<0x1|_0x112b74>>>0x1f;}var _0xb26051=(_0x547dfd<<0x5|_0x547dfd>>>0x1b)+_0x3343af+_0x272db1[_0x35c915];_0x35c915<0x14?_0xb26051+=(_0x31ce4a&_0x5baeae|~_0x31ce4a&_0x29e240)+0x5a827999:_0x35c915<0x28?_0xb26051+=(_0x31ce4a^_0x5baeae^_0x29e240)+0x6ed9eba1:_0x35c915<0x3c?_0xb26051+=(_0x31ce4a&_0x5baeae|_0x31ce4a&_0x29e240|_0x5baeae&_0x29e240)-0x70e44324:_0xb26051+=(_0x31ce4a^_0x5baeae^_0x29e240)-0x359d3e2a,_0x3343af=_0x29e240,_0x29e240=_0x5baeae,_0x5baeae=_0x31ce4a<<0x1e|_0x31ce4a>>>0x2,_0x31ce4a=_0x547dfd,_0x547dfd=_0xb26051;}_0x52b408[0x0]=_0x52b408[0x0]+_0x547dfd|0x0,_0x52b408[0x1]=_0x52b408[0x1]+_0x31ce4a|0x0,_0x52b408[0x2]=_0x52b408[0x2]+_0x5baeae|0x0,_0x52b408[0x3]=_0x52b408[0x3]+_0x29e240|0x0,_0x52b408[0x4]=_0x52b408[0x4]+_0x3343af|0x0;},'_doFinalize':function(){var _0x3f8d6f=_0xfa7ff0,_0x454a1e=this[_0x3f8d6f(0x25e)],_0x2d8130=_0x454a1e['words'],_0x938dcb=this[_0x3f8d6f(0x304)]*0x8,_0x288a00=_0x454a1e[_0x3f8d6f(0x191)]*0x8;return _0x2d8130[_0x288a00>>>0x5]|=0x80<<0x18-_0x288a00%0x20,_0x2d8130[(_0x288a00+0x40>>>0x9<<0x4)+0xe]=Math[_0x3f8d6f(0x2a8)](_0x938dcb/0x100000000),_0x2d8130[(_0x288a00+0x40>>>0x9<<0x4)+0xf]=_0x938dcb,_0x454a1e['sigBytes']=_0x2d8130['length']*0x4,this[_0x3f8d6f(0x49b)](),this['_hash'];},'clone':function(){var _0x2f9a99=_0xfa7ff0,_0x1c0fcf=_0xf02e33[_0x2f9a99(0x1bd)]['call'](this);return _0x1c0fcf[_0x2f9a99(0x1ee)]=this['_hash']['clone'](),_0x1c0fcf;}});_0x2d01ca[_0xfa7ff0(0x277)]=_0xf02e33['_createHelper'](_0x3df6c7),_0x2d01ca[_0xfa7ff0(0x313)]=_0xf02e33['_createHmacHelper'](_0x3df6c7);}()),_0x40fa3e[_0x32a206(0x277)];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},Bi=Ce['exports'],it;function Fi(){var _0x4c9cbe=_0x37c1b9;return it||(it=0x1,function(_0x193302,_0x2d4f22){(function(_0x43bc72,_0x7bec1b){var _0x5205d4=_0x206a;_0x193302[_0x5205d4(0x295)]=_0x7bec1b(ee());}(Bi,function(_0x1d9b13){(function(){var _0x5964bc=_0x206a,_0x38a617=_0x1d9b13,_0x53f0c2=_0x38a617[_0x5964bc(0x323)],_0x4e4a35=_0x53f0c2[_0x5964bc(0x3d9)],_0x21fe28=_0x38a617['enc'],_0x3117b6=_0x21fe28[_0x5964bc(0x2ab)],_0x56d359=_0x38a617[_0x5964bc(0x4fb)];_0x56d359['HMAC']=_0x4e4a35[_0x5964bc(0x192)]({'init':function(_0x24fe1c,_0x31b210){var _0x4e0569=_0x5964bc;_0x24fe1c=this['_hasher']=new _0x24fe1c[(_0x4e0569(0x486))](),typeof _0x31b210==_0x4e0569(0x2c2)&&(_0x31b210=_0x3117b6[_0x4e0569(0x1c9)](_0x31b210));var _0xdf3655=_0x24fe1c[_0x4e0569(0x1d2)],_0x1a574d=_0xdf3655*0x4;_0x31b210[_0x4e0569(0x191)]>_0x1a574d&&(_0x31b210=_0x24fe1c[_0x4e0569(0x356)](_0x31b210)),_0x31b210[_0x4e0569(0x3e1)]();for(var _0x343f01=this[_0x4e0569(0x4b4)]=_0x31b210[_0x4e0569(0x1bd)](),_0x67b7ea=this[_0x4e0569(0x42e)]=_0x31b210[_0x4e0569(0x1bd)](),_0x56e669=_0x343f01[_0x4e0569(0x278)],_0x35b702=_0x67b7ea['words'],_0x279b72=0x0;_0x279b72<_0xdf3655;_0x279b72++)_0x56e669[_0x279b72]^=0x5c5c5c5c,_0x35b702[_0x279b72]^=0x36363636;_0x343f01[_0x4e0569(0x191)]=_0x67b7ea[_0x4e0569(0x191)]=_0x1a574d,this[_0x4e0569(0x1e5)]();},'reset':function(){var _0x390e50=_0x5964bc,_0x2e9f1a=this[_0x390e50(0x4a4)];_0x2e9f1a['reset'](),_0x2e9f1a[_0x390e50(0x246)](this[_0x390e50(0x42e)]);},'update':function(_0x3cbfee){var _0x3ba810=_0x5964bc;return this[_0x3ba810(0x4a4)][_0x3ba810(0x246)](_0x3cbfee),this;},'finalize':function(_0xae8ce2){var _0xd69563=_0x5964bc,_0xaf2d41=this[_0xd69563(0x4a4)],_0x334926=_0xaf2d41[_0xd69563(0x356)](_0xae8ce2);_0xaf2d41[_0xd69563(0x1e5)]();var _0x50f5e3=_0xaf2d41[_0xd69563(0x356)](this[_0xd69563(0x4b4)][_0xd69563(0x1bd)]()[_0xd69563(0x3e6)](_0x334926));return _0x50f5e3;}});}());}));}(Ce)),Ce[_0x4c9cbe(0x295)];}var Vi=me[_0x37c1b9(0x295)],nt;function At(){var _0x536fd2=_0x37c1b9;return nt||(nt=0x1,function(_0x5be3d6,_0x8644ad){(function(_0x1f83c8,_0x13ea43,_0x557697){var _0x4b5720=_0x206a;_0x5be3d6[_0x4b5720(0x295)]=_0x13ea43(ee(),$i(),Fi());}(Vi,function(_0x491e38){var _0x572ee4=_0x206a;return(function(){var _0x488333=_0x206a,_0x5d1d4f=_0x491e38,_0x587bac=_0x5d1d4f['lib'],_0x3a4420=_0x587bac[_0x488333(0x3d9)],_0x38fd29=_0x587bac['WordArray'],_0x27f51b=_0x5d1d4f['algo'],_0x1a96c9=_0x27f51b[_0x488333(0x442)],_0x3d7b27=_0x27f51b[_0x488333(0x458)]=_0x3a4420[_0x488333(0x192)]({'cfg':_0x3a4420[_0x488333(0x192)]({'keySize':0x80/0x20,'hasher':_0x1a96c9,'iterations':0x1}),'init':function(_0x2aff5b){this['cfg']=this['cfg']['extend'](_0x2aff5b);},'compute':function(_0x2ee23f,_0x49ae28){var _0x19539a=_0x488333;for(var _0xf173be,_0x30d1f2=this['cfg'],_0x2c38a=_0x30d1f2[_0x19539a(0x1df)][_0x19539a(0x2de)](),_0x393084=_0x38fd29[_0x19539a(0x2de)](),_0x487fca=_0x393084[_0x19539a(0x278)],_0x70b735=_0x30d1f2['keySize'],_0x127b38=_0x30d1f2[_0x19539a(0x1c2)];_0x487fca[_0x19539a(0x3a1)]<_0x70b735;){_0xf173be&&_0x2c38a['update'](_0xf173be),_0xf173be=_0x2c38a[_0x19539a(0x246)](_0x2ee23f)['finalize'](_0x49ae28),_0x2c38a[_0x19539a(0x1e5)]();for(var _0x2457f9=0x1;_0x2457f9<_0x127b38;_0x2457f9++)_0xf173be=_0x2c38a[_0x19539a(0x356)](_0xf173be),_0x2c38a['reset']();_0x393084[_0x19539a(0x3e6)](_0xf173be);}return _0x393084[_0x19539a(0x191)]=_0x70b735*0x4,_0x393084;}});_0x5d1d4f[_0x488333(0x458)]=function(_0x206c7d,_0x50061c,_0x108768){var _0x5e263c=_0x488333;return _0x3d7b27[_0x5e263c(0x2de)](_0x108768)['compute'](_0x206c7d,_0x50061c);};}()),_0x491e38[_0x572ee4(0x458)];}));}(me)),me[_0x536fd2(0x295)];}var Te={'exports':{}},Wi=Te[_0x37c1b9(0x295)],rt;function Pt(){var _0x930abc=_0x37c1b9;return rt||(rt=0x1,function(_0x354731,_0x2aa895){(function(_0x128f44,_0x25eaa5,_0x534e6e){_0x354731['exports']=_0x25eaa5(ee(),At());}(Wi,function(_0x36db15){var _0x42fa21=_0x206a;_0x36db15['lib'][_0x42fa21(0x3d1)]||function(_0x246209){var _0x5b08e0=_0x42fa21,_0x58a25e=_0x36db15,_0x3bf9c0=_0x58a25e[_0x5b08e0(0x323)],_0x319496=_0x3bf9c0[_0x5b08e0(0x3d9)],_0x43d89a=_0x3bf9c0[_0x5b08e0(0x260)],_0x47132a=_0x3bf9c0[_0x5b08e0(0x3be)],_0x3e8d39=_0x58a25e['enc'];_0x3e8d39[_0x5b08e0(0x2ab)];var _0x11a9ea=_0x3e8d39[_0x5b08e0(0x425)],_0x1f6602=_0x58a25e[_0x5b08e0(0x4fb)],_0x2665b1=_0x1f6602[_0x5b08e0(0x458)],_0xbc381d=_0x3bf9c0[_0x5b08e0(0x3d1)]=_0x47132a[_0x5b08e0(0x192)]({'cfg':_0x319496['extend'](),'createEncryptor':function(_0x55615b,_0x7aa7e2){var _0x5382c4=_0x5b08e0;return this[_0x5382c4(0x2de)](this['_ENC_XFORM_MODE'],_0x55615b,_0x7aa7e2);},'createDecryptor':function(_0x4a49f3,_0x1a61a4){var _0x486298=_0x5b08e0;return this['create'](this[_0x486298(0x471)],_0x4a49f3,_0x1a61a4);},'init':function(_0xaa9a41,_0x2a632d,_0xef926f){var _0x537330=_0x5b08e0;this['cfg']=this[_0x537330(0x2ef)][_0x537330(0x192)](_0xef926f),this['_xformMode']=_0xaa9a41,this['_key']=_0x2a632d,this['reset']();},'reset':function(){var _0x4a9060=_0x5b08e0;_0x47132a[_0x4a9060(0x1e5)]['call'](this),this[_0x4a9060(0x3d4)]();},'process':function(_0xfabc9d){var _0x3bc85e=_0x5b08e0;return this[_0x3bc85e(0x1b4)](_0xfabc9d),this[_0x3bc85e(0x49b)]();},'finalize':function(_0x258a82){var _0x422fa1=_0x5b08e0;_0x258a82&&this['_append'](_0x258a82);var _0x322250=this[_0x422fa1(0x361)]();return _0x322250;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xffc528(_0x49a372){var _0x2a3b1b=_0x206a;return typeof _0x49a372==_0x2a3b1b(0x2c2)?_0x32cc67:_0x3d8e4f;}return function(_0x3922fa){return{'encrypt':function(_0x20c515,_0x3631ad,_0x24cb0b){var _0x5b76e0=_0x206a;return _0xffc528(_0x3631ad)[_0x5b76e0(0x406)](_0x3922fa,_0x20c515,_0x3631ad,_0x24cb0b);},'decrypt':function(_0x3ef1b5,_0x4b64d0,_0x460583){return _0xffc528(_0x4b64d0)['decrypt'](_0x3922fa,_0x3ef1b5,_0x4b64d0,_0x460583);}};};}())});_0x3bf9c0[_0x5b08e0(0x281)]=_0xbc381d[_0x5b08e0(0x192)]({'_doFinalize':function(){var _0x4c1832=_0x5b08e0,_0x4aa826=this[_0x4c1832(0x49b)](!0x0);return _0x4aa826;},'blockSize':0x1});var _0x5dd18c=_0x58a25e[_0x5b08e0(0x2d4)]={},_0x3ed38d=_0x3bf9c0['BlockCipherMode']=_0x319496[_0x5b08e0(0x192)]({'createEncryptor':function(_0xa2f03,_0x3a5968){var _0x281a9e=_0x5b08e0;return this[_0x281a9e(0x202)][_0x281a9e(0x2de)](_0xa2f03,_0x3a5968);},'createDecryptor':function(_0x233853,_0x357f6a){var _0x4eafed=_0x5b08e0;return this[_0x4eafed(0x1f7)][_0x4eafed(0x2de)](_0x233853,_0x357f6a);},'init':function(_0x37cd84,_0x472ed0){var _0x138008=_0x5b08e0;this[_0x138008(0x1c3)]=_0x37cd84,this[_0x138008(0x1e4)]=_0x472ed0;}}),_0x9c8459=_0x5dd18c['CBC']=(function(){var _0x3bac46=_0x5b08e0,_0x2bd7fe=_0x3ed38d[_0x3bac46(0x192)]();_0x2bd7fe['Encryptor']=_0x2bd7fe[_0x3bac46(0x192)]({'processBlock':function(_0x3f95dd,_0x5419e6){var _0x106011=_0x3bac46,_0x5ec804=this['_cipher'],_0x5e4f5c=_0x5ec804['blockSize'];_0x12411c[_0x106011(0x1bf)](this,_0x3f95dd,_0x5419e6,_0x5e4f5c),_0x5ec804[_0x106011(0x3d6)](_0x3f95dd,_0x5419e6),this['_prevBlock']=_0x3f95dd[_0x106011(0x32a)](_0x5419e6,_0x5419e6+_0x5e4f5c);}}),_0x2bd7fe['Decryptor']=_0x2bd7fe[_0x3bac46(0x192)]({'processBlock':function(_0x11bb77,_0x57cd98){var _0x2cb2d8=_0x3bac46,_0x4de197=this['_cipher'],_0x3c562b=_0x4de197[_0x2cb2d8(0x1d2)],_0x1a5146=_0x11bb77[_0x2cb2d8(0x32a)](_0x57cd98,_0x57cd98+_0x3c562b);_0x4de197[_0x2cb2d8(0x2da)](_0x11bb77,_0x57cd98),_0x12411c['call'](this,_0x11bb77,_0x57cd98,_0x3c562b),this[_0x2cb2d8(0x1e8)]=_0x1a5146;}});function _0x12411c(_0x32349d,_0x567ea9,_0x3819d2){var _0x14ec96=_0x3bac46,_0xd5d2db,_0x264495=this['_iv'];_0x264495?(_0xd5d2db=_0x264495,this[_0x14ec96(0x1e4)]=_0x246209):_0xd5d2db=this['_prevBlock'];for(var _0x2aca79=0x0;_0x2aca79<_0x3819d2;_0x2aca79++)_0x32349d[_0x567ea9+_0x2aca79]^=_0xd5d2db[_0x2aca79];}return _0x2bd7fe;}()),_0x38fe05=_0x58a25e[_0x5b08e0(0x389)]={},_0x59d6d8=_0x38fe05[_0x5b08e0(0x461)]={'pad':function(_0x41a423,_0x1b7210){var _0x35eccf=_0x5b08e0;for(var _0x41f805=_0x1b7210*0x4,_0x3ae53c=_0x41f805-_0x41a423[_0x35eccf(0x191)]%_0x41f805,_0x122f35=_0x3ae53c<<0x18|_0x3ae53c<<0x10|_0x3ae53c<<0x8|_0x3ae53c,_0x77bb97=[],_0x4bbfa8=0x0;_0x4bbfa8<_0x3ae53c;_0x4bbfa8+=0x4)_0x77bb97[_0x35eccf(0x374)](_0x122f35);var _0x5849d5=_0x43d89a['create'](_0x77bb97,_0x3ae53c);_0x41a423[_0x35eccf(0x3e6)](_0x5849d5);},'unpad':function(_0x24904f){var _0x22afdc=_0x5b08e0,_0x104b1f=_0x24904f[_0x22afdc(0x278)][_0x24904f['sigBytes']-0x1>>>0x2]&0xff;_0x24904f[_0x22afdc(0x191)]-=_0x104b1f;}};_0x3bf9c0[_0x5b08e0(0x4e4)]=_0xbc381d[_0x5b08e0(0x192)]({'cfg':_0xbc381d['cfg'][_0x5b08e0(0x192)]({'mode':_0x9c8459,'padding':_0x59d6d8}),'reset':function(){var _0x401c54=_0x5b08e0,_0x52df49;_0xbc381d[_0x401c54(0x1e5)][_0x401c54(0x1bf)](this);var _0x12631f=this[_0x401c54(0x2ef)],_0x3082e4=_0x12631f['iv'],_0xdb936e=_0x12631f[_0x401c54(0x2d4)];this[_0x401c54(0x34c)]==this[_0x401c54(0x2af)]?_0x52df49=_0xdb936e[_0x401c54(0x4c9)]:(_0x52df49=_0xdb936e['createDecryptor'],this[_0x401c54(0x4a8)]=0x1),this[_0x401c54(0x4f2)]&&this[_0x401c54(0x4f2)][_0x401c54(0x275)]==_0x52df49?this[_0x401c54(0x4f2)][_0x401c54(0x486)](this,_0x3082e4&&_0x3082e4[_0x401c54(0x278)]):(this[_0x401c54(0x4f2)]=_0x52df49[_0x401c54(0x1bf)](_0xdb936e,this,_0x3082e4&&_0x3082e4[_0x401c54(0x278)]),this[_0x401c54(0x4f2)][_0x401c54(0x275)]=_0x52df49);},'_doProcessBlock':function(_0x4e626b,_0x386a4e){var _0x1ffc8d=_0x5b08e0;this[_0x1ffc8d(0x4f2)][_0x1ffc8d(0x445)](_0x4e626b,_0x386a4e);},'_doFinalize':function(){var _0x3ff2e0=_0x5b08e0,_0x257883,_0x18d74f=this['cfg'][_0x3ff2e0(0x23a)];return this[_0x3ff2e0(0x34c)]==this['_ENC_XFORM_MODE']?(_0x18d74f[_0x3ff2e0(0x389)](this[_0x3ff2e0(0x25e)],this[_0x3ff2e0(0x1d2)]),_0x257883=this[_0x3ff2e0(0x49b)](!0x0)):(_0x257883=this[_0x3ff2e0(0x49b)](!0x0),_0x18d74f[_0x3ff2e0(0x2b7)](_0x257883)),_0x257883;},'blockSize':0x80/0x20});var _0x590a78=_0x3bf9c0[_0x5b08e0(0x415)]=_0x319496['extend']({'init':function(_0x58718f){this['mixIn'](_0x58718f);},'toString':function(_0xecfd24){var _0x58254b=_0x5b08e0;return(_0xecfd24||this[_0x58254b(0x319)])[_0x58254b(0x1c0)](this);}}),_0x2ab937=_0x58a25e[_0x5b08e0(0x480)]={},_0x2a0145=_0x2ab937[_0x5b08e0(0x1ba)]={'stringify':function(_0x927418){var _0x4c4da0=_0x5b08e0,_0x1e8116,_0x22e661=_0x927418[_0x4c4da0(0x4cb)],_0x149d41=_0x927418[_0x4c4da0(0x30f)];return _0x149d41?_0x1e8116=_0x43d89a['create']([0x53616c74,0x65645f5f])['concat'](_0x149d41)[_0x4c4da0(0x3e6)](_0x22e661):_0x1e8116=_0x22e661,_0x1e8116['toString'](_0x11a9ea);},'parse':function(_0x30e671){var _0x468b20=_0x5b08e0,_0x1f0975,_0x2c220a=_0x11a9ea[_0x468b20(0x1c9)](_0x30e671),_0x3e9ac4=_0x2c220a[_0x468b20(0x278)];return _0x3e9ac4[0x0]==0x53616c74&&_0x3e9ac4[0x1]==0x65645f5f&&(_0x1f0975=_0x43d89a[_0x468b20(0x2de)](_0x3e9ac4[_0x468b20(0x32a)](0x2,0x4)),_0x3e9ac4[_0x468b20(0x2a9)](0x0,0x4),_0x2c220a[_0x468b20(0x191)]-=0x10),_0x590a78[_0x468b20(0x2de)]({'ciphertext':_0x2c220a,'salt':_0x1f0975});}},_0x3d8e4f=_0x3bf9c0[_0x5b08e0(0x362)]=_0x319496['extend']({'cfg':_0x319496[_0x5b08e0(0x192)]({'format':_0x2a0145}),'encrypt':function(_0x47cc71,_0x4d4f18,_0x7953d,_0x534f78){var _0xed2586=_0x5b08e0;_0x534f78=this['cfg']['extend'](_0x534f78);var _0x4e134d=_0x47cc71[_0xed2586(0x4c9)](_0x7953d,_0x534f78),_0x565da6=_0x4e134d[_0xed2586(0x356)](_0x4d4f18),_0xece409=_0x4e134d['cfg'];return _0x590a78[_0xed2586(0x2de)]({'ciphertext':_0x565da6,'key':_0x7953d,'iv':_0xece409['iv'],'algorithm':_0x47cc71,'mode':_0xece409['mode'],'padding':_0xece409[_0xed2586(0x23a)],'blockSize':_0x47cc71['blockSize'],'formatter':_0x534f78[_0xed2586(0x480)]});},'decrypt':function(_0x24e1ce,_0x6a0bc,_0x3df237,_0x18d6fc){var _0x2883e9=_0x5b08e0;_0x18d6fc=this[_0x2883e9(0x2ef)]['extend'](_0x18d6fc),_0x6a0bc=this['_parse'](_0x6a0bc,_0x18d6fc[_0x2883e9(0x480)]);var _0x3a54ba=_0x24e1ce['createDecryptor'](_0x3df237,_0x18d6fc)[_0x2883e9(0x356)](_0x6a0bc['ciphertext']);return _0x3a54ba;},'_parse':function(_0x3c7012,_0x3dbaf0){var _0x33aa2d=_0x5b08e0;return typeof _0x3c7012==_0x33aa2d(0x2c2)?_0x3dbaf0[_0x33aa2d(0x1c9)](_0x3c7012,this):_0x3c7012;}}),_0x4d4a9d=_0x58a25e[_0x5b08e0(0x1eb)]={},_0x3f7801=_0x4d4a9d[_0x5b08e0(0x1ba)]={'execute':function(_0x22d30b,_0x3f1ecb,_0x5dbc3f,_0x5a8069,_0x256541){var _0x5be9d8=_0x5b08e0;if(_0x5a8069||(_0x5a8069=_0x43d89a[_0x5be9d8(0x396)](0x40/0x8)),_0x256541)var _0x1e5c4c=_0x2665b1[_0x5be9d8(0x2de)]({'keySize':_0x3f1ecb+_0x5dbc3f,'hasher':_0x256541})[_0x5be9d8(0x2d0)](_0x22d30b,_0x5a8069);else var _0x1e5c4c=_0x2665b1[_0x5be9d8(0x2de)]({'keySize':_0x3f1ecb+_0x5dbc3f})['compute'](_0x22d30b,_0x5a8069);var _0x1248af=_0x43d89a[_0x5be9d8(0x2de)](_0x1e5c4c[_0x5be9d8(0x278)][_0x5be9d8(0x32a)](_0x3f1ecb),_0x5dbc3f*0x4);return _0x1e5c4c['sigBytes']=_0x3f1ecb*0x4,_0x590a78['create']({'key':_0x1e5c4c,'iv':_0x1248af,'salt':_0x5a8069});}},_0x32cc67=_0x3bf9c0[_0x5b08e0(0x3cc)]=_0x3d8e4f[_0x5b08e0(0x192)]({'cfg':_0x3d8e4f[_0x5b08e0(0x2ef)][_0x5b08e0(0x192)]({'kdf':_0x3f7801}),'encrypt':function(_0x49c06a,_0xa66085,_0x1308ae,_0x354144){var _0x19c5d8=_0x5b08e0;_0x354144=this[_0x19c5d8(0x2ef)][_0x19c5d8(0x192)](_0x354144);var _0x1e8add=_0x354144[_0x19c5d8(0x1eb)][_0x19c5d8(0x495)](_0x1308ae,_0x49c06a[_0x19c5d8(0x22c)],_0x49c06a[_0x19c5d8(0x418)],_0x354144[_0x19c5d8(0x30f)],_0x354144[_0x19c5d8(0x1df)]);_0x354144['iv']=_0x1e8add['iv'];var _0x481079=_0x3d8e4f[_0x19c5d8(0x406)]['call'](this,_0x49c06a,_0xa66085,_0x1e8add[_0x19c5d8(0x2dc)],_0x354144);return _0x481079[_0x19c5d8(0x2ff)](_0x1e8add),_0x481079;},'decrypt':function(_0x42bffc,_0x197fcc,_0x1f5b08,_0xe9c9c){var _0x3b895b=_0x5b08e0;_0xe9c9c=this['cfg'][_0x3b895b(0x192)](_0xe9c9c),_0x197fcc=this[_0x3b895b(0x4d8)](_0x197fcc,_0xe9c9c['format']);var _0x4ebf5d=_0xe9c9c['kdf']['execute'](_0x1f5b08,_0x42bffc[_0x3b895b(0x22c)],_0x42bffc[_0x3b895b(0x418)],_0x197fcc['salt'],_0xe9c9c[_0x3b895b(0x1df)]);_0xe9c9c['iv']=_0x4ebf5d['iv'];var _0x208fd9=_0x3d8e4f[_0x3b895b(0x2b0)][_0x3b895b(0x1bf)](this,_0x42bffc,_0x197fcc,_0x4ebf5d[_0x3b895b(0x2dc)],_0xe9c9c);return _0x208fd9;}});}();}));}(Te)),Te[_0x930abc(0x295)];}var Gi=fe['exports'],st;function Ki(){var _0x3f336b=_0x37c1b9;return st||(st=0x1,function(_0x47668c,_0x44f123){(function(_0xc73c66,_0x436f28,_0xdd2ea1){_0x47668c['exports']=_0x436f28(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x47e9bb){return(function(){var _0x1dbbe4=_0x206a,_0x26cc8f=_0x47e9bb,_0x2f7eaf=_0x26cc8f[_0x1dbbe4(0x323)],_0x211484=_0x2f7eaf['BlockCipher'],_0x3c2a47=_0x26cc8f[_0x1dbbe4(0x4fb)],_0x48d14d=[],_0x1d7da6=[],_0xeb3e78=[],_0x49c999=[],_0x276342=[],_0x106e41=[],_0x879828=[],_0x53fa0b=[],_0x15a297=[],_0x55cba4=[];(function(){for(var _0x39e144=[],_0x9539a6=0x0;_0x9539a6<0x100;_0x9539a6++)_0x9539a6<0x80?_0x39e144[_0x9539a6]=_0x9539a6<<0x1:_0x39e144[_0x9539a6]=_0x9539a6<<0x1^0x11b;for(var _0x5bfbb8=0x0,_0x4d3ebf=0x0,_0x9539a6=0x0;_0x9539a6<0x100;_0x9539a6++){var _0x2bc2c8=_0x4d3ebf^_0x4d3ebf<<0x1^_0x4d3ebf<<0x2^_0x4d3ebf<<0x3^_0x4d3ebf<<0x4;_0x2bc2c8=_0x2bc2c8>>>0x8^_0x2bc2c8&0xff^0x63,_0x48d14d[_0x5bfbb8]=_0x2bc2c8,_0x1d7da6[_0x2bc2c8]=_0x5bfbb8;var _0x545e7d=_0x39e144[_0x5bfbb8],_0x4c82db=_0x39e144[_0x545e7d],_0x58f4d8=_0x39e144[_0x4c82db],_0x11482b=_0x39e144[_0x2bc2c8]*0x101^_0x2bc2c8*0x1010100;_0xeb3e78[_0x5bfbb8]=_0x11482b<<0x18|_0x11482b>>>0x8,_0x49c999[_0x5bfbb8]=_0x11482b<<0x10|_0x11482b>>>0x10,_0x276342[_0x5bfbb8]=_0x11482b<<0x8|_0x11482b>>>0x18,_0x106e41[_0x5bfbb8]=_0x11482b;var _0x11482b=_0x58f4d8*0x1010101^_0x4c82db*0x10001^_0x545e7d*0x101^_0x5bfbb8*0x1010100;_0x879828[_0x2bc2c8]=_0x11482b<<0x18|_0x11482b>>>0x8,_0x53fa0b[_0x2bc2c8]=_0x11482b<<0x10|_0x11482b>>>0x10,_0x15a297[_0x2bc2c8]=_0x11482b<<0x8|_0x11482b>>>0x18,_0x55cba4[_0x2bc2c8]=_0x11482b,_0x5bfbb8?(_0x5bfbb8=_0x545e7d^_0x39e144[_0x39e144[_0x39e144[_0x58f4d8^_0x545e7d]]],_0x4d3ebf^=_0x39e144[_0x39e144[_0x4d3ebf]]):_0x5bfbb8=_0x4d3ebf=0x1;}}());var _0x345143=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2e58ca=_0x3c2a47[_0x1dbbe4(0x3db)]=_0x211484[_0x1dbbe4(0x192)]({'_doReset':function(){var _0x5a8896=_0x1dbbe4,_0x4d2665;if(!(this[_0x5a8896(0x23f)]&&this[_0x5a8896(0x2e1)]===this[_0x5a8896(0x20f)])){for(var _0x212da0=this[_0x5a8896(0x2e1)]=this[_0x5a8896(0x20f)],_0x480a81=_0x212da0[_0x5a8896(0x278)],_0x360dc5=_0x212da0[_0x5a8896(0x191)]/0x4,_0x408fbb=this[_0x5a8896(0x23f)]=_0x360dc5+0x6,_0x147f4e=(_0x408fbb+0x1)*0x4,_0x6363d8=this['_keySchedule']=[],_0x17f690=0x0;_0x17f690<_0x147f4e;_0x17f690++)_0x17f690<_0x360dc5?_0x6363d8[_0x17f690]=_0x480a81[_0x17f690]:(_0x4d2665=_0x6363d8[_0x17f690-0x1],_0x17f690%_0x360dc5?_0x360dc5>0x6&&_0x17f690%_0x360dc5==0x4&&(_0x4d2665=_0x48d14d[_0x4d2665>>>0x18]<<0x18|_0x48d14d[_0x4d2665>>>0x10&0xff]<<0x10|_0x48d14d[_0x4d2665>>>0x8&0xff]<<0x8|_0x48d14d[_0x4d2665&0xff]):(_0x4d2665=_0x4d2665<<0x8|_0x4d2665>>>0x18,_0x4d2665=_0x48d14d[_0x4d2665>>>0x18]<<0x18|_0x48d14d[_0x4d2665>>>0x10&0xff]<<0x10|_0x48d14d[_0x4d2665>>>0x8&0xff]<<0x8|_0x48d14d[_0x4d2665&0xff],_0x4d2665^=_0x345143[_0x17f690/_0x360dc5|0x0]<<0x18),_0x6363d8[_0x17f690]=_0x6363d8[_0x17f690-_0x360dc5]^_0x4d2665);for(var _0x324c7c=this[_0x5a8896(0x21f)]=[],_0x1bbf85=0x0;_0x1bbf85<_0x147f4e;_0x1bbf85++){var _0x17f690=_0x147f4e-_0x1bbf85;if(_0x1bbf85%0x4)var _0x4d2665=_0x6363d8[_0x17f690];else var _0x4d2665=_0x6363d8[_0x17f690-0x4];_0x1bbf85<0x4||_0x17f690<=0x4?_0x324c7c[_0x1bbf85]=_0x4d2665:_0x324c7c[_0x1bbf85]=_0x879828[_0x48d14d[_0x4d2665>>>0x18]]^_0x53fa0b[_0x48d14d[_0x4d2665>>>0x10&0xff]]^_0x15a297[_0x48d14d[_0x4d2665>>>0x8&0xff]]^_0x55cba4[_0x48d14d[_0x4d2665&0xff]];}}},'encryptBlock':function(_0x126381,_0x5a5ff3){var _0x38d32f=_0x1dbbe4;this[_0x38d32f(0x19b)](_0x126381,_0x5a5ff3,this[_0x38d32f(0x26d)],_0xeb3e78,_0x49c999,_0x276342,_0x106e41,_0x48d14d);},'decryptBlock':function(_0x3d6fe0,_0x13a119){var _0x49f698=_0x1dbbe4,_0xbf2bb9=_0x3d6fe0[_0x13a119+0x1];_0x3d6fe0[_0x13a119+0x1]=_0x3d6fe0[_0x13a119+0x3],_0x3d6fe0[_0x13a119+0x3]=_0xbf2bb9,this[_0x49f698(0x19b)](_0x3d6fe0,_0x13a119,this[_0x49f698(0x21f)],_0x879828,_0x53fa0b,_0x15a297,_0x55cba4,_0x1d7da6);var _0xbf2bb9=_0x3d6fe0[_0x13a119+0x1];_0x3d6fe0[_0x13a119+0x1]=_0x3d6fe0[_0x13a119+0x3],_0x3d6fe0[_0x13a119+0x3]=_0xbf2bb9;},'_doCryptBlock':function(_0x2b0c21,_0x157044,_0x325361,_0x5a848d,_0x459893,_0x291b51,_0x26f112,_0x407e72){var _0x1845e1=_0x1dbbe4;for(var _0x5f05af=this[_0x1845e1(0x23f)],_0x5a6846=_0x2b0c21[_0x157044]^_0x325361[0x0],_0x898bc1=_0x2b0c21[_0x157044+0x1]^_0x325361[0x1],_0x198818=_0x2b0c21[_0x157044+0x2]^_0x325361[0x2],_0x684d19=_0x2b0c21[_0x157044+0x3]^_0x325361[0x3],_0x4873de=0x4,_0x374183=0x1;_0x374183<_0x5f05af;_0x374183++){var _0x435d29=_0x5a848d[_0x5a6846>>>0x18]^_0x459893[_0x898bc1>>>0x10&0xff]^_0x291b51[_0x198818>>>0x8&0xff]^_0x26f112[_0x684d19&0xff]^_0x325361[_0x4873de++],_0x5ca6a5=_0x5a848d[_0x898bc1>>>0x18]^_0x459893[_0x198818>>>0x10&0xff]^_0x291b51[_0x684d19>>>0x8&0xff]^_0x26f112[_0x5a6846&0xff]^_0x325361[_0x4873de++],_0x41d541=_0x5a848d[_0x198818>>>0x18]^_0x459893[_0x684d19>>>0x10&0xff]^_0x291b51[_0x5a6846>>>0x8&0xff]^_0x26f112[_0x898bc1&0xff]^_0x325361[_0x4873de++],_0x4da759=_0x5a848d[_0x684d19>>>0x18]^_0x459893[_0x5a6846>>>0x10&0xff]^_0x291b51[_0x898bc1>>>0x8&0xff]^_0x26f112[_0x198818&0xff]^_0x325361[_0x4873de++];_0x5a6846=_0x435d29,_0x898bc1=_0x5ca6a5,_0x198818=_0x41d541,_0x684d19=_0x4da759;}var _0x435d29=(_0x407e72[_0x5a6846>>>0x18]<<0x18|_0x407e72[_0x898bc1>>>0x10&0xff]<<0x10|_0x407e72[_0x198818>>>0x8&0xff]<<0x8|_0x407e72[_0x684d19&0xff])^_0x325361[_0x4873de++],_0x5ca6a5=(_0x407e72[_0x898bc1>>>0x18]<<0x18|_0x407e72[_0x198818>>>0x10&0xff]<<0x10|_0x407e72[_0x684d19>>>0x8&0xff]<<0x8|_0x407e72[_0x5a6846&0xff])^_0x325361[_0x4873de++],_0x41d541=(_0x407e72[_0x198818>>>0x18]<<0x18|_0x407e72[_0x684d19>>>0x10&0xff]<<0x10|_0x407e72[_0x5a6846>>>0x8&0xff]<<0x8|_0x407e72[_0x898bc1&0xff])^_0x325361[_0x4873de++],_0x4da759=(_0x407e72[_0x684d19>>>0x18]<<0x18|_0x407e72[_0x5a6846>>>0x10&0xff]<<0x10|_0x407e72[_0x898bc1>>>0x8&0xff]<<0x8|_0x407e72[_0x198818&0xff])^_0x325361[_0x4873de++];_0x2b0c21[_0x157044]=_0x435d29,_0x2b0c21[_0x157044+0x1]=_0x5ca6a5,_0x2b0c21[_0x157044+0x2]=_0x41d541,_0x2b0c21[_0x157044+0x3]=_0x4da759;},'keySize':0x100/0x20});_0x26cc8f[_0x1dbbe4(0x3db)]=_0x211484['_createHelper'](_0x2e58ca);}()),_0x47e9bb['AES'];}));}(fe)),fe[_0x3f336b(0x295)];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x37c1b9(0x295)],at;function Xi(){return at||(at=0x1,function(_0x2bfab1,_0x193a5b){(function(_0x331b6c,_0x441a4a){var _0x3c8468=_0x206a;_0x2bfab1[_0x3c8468(0x295)]=_0x441a4a(ee());}(Ji,function(_0x3f530e){var _0x23aab2=_0x206a;return _0x3f530e['enc'][_0x23aab2(0x2ab)];}));}(be)),be['exports'];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x37c1b9(0x295)],ct;function tn(){var _0x358758=_0x37c1b9;return ct||(ct=0x1,function(_0x48a6e3,_0x5f9a6d){(function(_0x181be8,_0x283325){var _0x12b3d6=_0x206a;_0x48a6e3[_0x12b3d6(0x295)]=_0x283325(ee());}(en,function(_0x556541){var _0x4923aa=_0x206a;return(function(){var _0x51222e=_0x206a;if(typeof ArrayBuffer==_0x51222e(0x38a)){var _0x2287c0=_0x556541,_0x49100a=_0x2287c0[_0x51222e(0x323)],_0x2507f9=_0x49100a[_0x51222e(0x260)],_0x59f1d5=_0x2507f9[_0x51222e(0x486)],_0x145979=_0x2507f9[_0x51222e(0x486)]=function(_0x41eb06){var _0x529710=_0x51222e;if(_0x41eb06 instanceof ArrayBuffer&&(_0x41eb06=new Uint8Array(_0x41eb06)),(_0x41eb06 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x41eb06 instanceof Uint8ClampedArray||_0x41eb06 instanceof Int16Array||_0x41eb06 instanceof Uint16Array||_0x41eb06 instanceof Int32Array||_0x41eb06 instanceof Uint32Array||_0x41eb06 instanceof Float32Array||_0x41eb06 instanceof Float64Array)&&(_0x41eb06=new Uint8Array(_0x41eb06[_0x529710(0x210)],_0x41eb06[_0x529710(0x336)],_0x41eb06[_0x529710(0x211)])),_0x41eb06 instanceof Uint8Array){for(var _0x1c8ab2=_0x41eb06[_0x529710(0x211)],_0x35bff1=[],_0x27d4ae=0x0;_0x27d4ae<_0x1c8ab2;_0x27d4ae++)_0x35bff1[_0x27d4ae>>>0x2]|=_0x41eb06[_0x27d4ae]<<0x18-_0x27d4ae%0x4*0x8;_0x59f1d5['call'](this,_0x35bff1,_0x1c8ab2);}else _0x59f1d5[_0x529710(0x4a5)](this,arguments);};_0x145979[_0x51222e(0x324)]=_0x2507f9;}}()),_0x556541[_0x4923aa(0x323)]['WordArray'];}));}(Re)),Re[_0x358758(0x295)];}var nn=tn();const rn=Se(nn);var Oe={'exports':{}},sn=Oe['exports'],ht;function on(){var _0xb9106=_0x37c1b9;return ht||(ht=0x1,function(_0x18d4bd,_0x1e77fa){(function(_0xdc1987,_0x54dd33,_0x53c04d){var _0x10dc29=_0x206a;_0x18d4bd[_0x10dc29(0x295)]=_0x54dd33(ee(),Pt());}(sn,function(_0x3e2f40){var _0x31af59=_0x206a;return _0x3e2f40[_0x31af59(0x389)][_0x31af59(0x384)]={'pad':function(){},'unpad':function(){}},_0x3e2f40[_0x31af59(0x389)][_0x31af59(0x384)];}));}(Oe)),Oe[_0xb9106(0x295)];}var an=on();const cn=Se(an);function hn(_0x5e6520,_0x1083cd){var _0x42ac98=_0x37c1b9;const _0x1f4e65=_0x1083cd-_0x5e6520['length']%_0x1083cd,_0x12a824=String[_0x42ac98(0x3b3)](_0x1f4e65)[_0x42ac98(0x4ee)](_0x1f4e65);return _0x5e6520+_0x12a824;}function _n(_0x39ce03,_0x392cbc){var _0x3eb0b7=_0x37c1b9;const _0x19bf7c=rn['random'](0x10),_0x5af699=hn(_0x39ce03,0x10),_0x283e84=qi[_0x3eb0b7(0x406)](Qi[_0x3eb0b7(0x1c9)](_0x5af699),ot[_0x3eb0b7(0x1c9)](_0x392cbc),{'iv':_0x19bf7c,'padding':cn});return _0x19bf7c[_0x3eb0b7(0x3e6)](_0x283e84[_0x3eb0b7(0x4cb)])['toString'](ot);}function ln(){var _0x4deb5f=_0x37c1b9;const _0xf60026=xt[_0x4deb5f(0x2db)]()[_0x4deb5f(0x215)];if(_0xf60026){const _0x200f21={'time':Math['floor'](Date[_0x4deb5f(0x231)]()/0x3e8),'domain':location['hostname']};return _n(JSON[_0x4deb5f(0x1c0)](_0x200f21),_0xf60026);}}var un=Object[_0x37c1b9(0x4c6)],dn=(_0x99ad51,_0x2790a7,_0x56b244,_0x2f994e)=>{var _0x2408c1=_0x37c1b9;for(var _0x2cb5a9=_0x2f994e>0x1?void 0x0:_0x2f994e?un(_0x2790a7,_0x56b244):_0x2790a7,_0x25ed46=_0x99ad51[_0x2408c1(0x3a1)]-0x1,_0x5506db;_0x25ed46>=0x0;_0x25ed46--)(_0x5506db=_0x99ad51[_0x25ed46])&&(_0x2cb5a9=_0x5506db(_0x2cb5a9)||_0x2cb5a9);return _0x2cb5a9;},vn=(_0x482f7d,_0x288c15)=>(_0x46dd8f,_0x59b0a5)=>_0x288c15(_0x46dd8f,_0x59b0a5,_0x482f7d);let Ne=class{constructor(_0x2fd9c8){var _0x2d3685=_0x37c1b9;this[_0x2d3685(0x3f6)]=_0x2fd9c8,this[_0x2d3685(0x41c)]();}[_0x37c1b9(0x41c)](){var _0x5003db=_0x37c1b9;this[_0x5003db(0x3f6)]['registerHTTPInterceptor']({'interceptor':(_0x435a6a,_0x39e33f)=>{var _0x29a42b=_0x5003db;const _0x59ecd9=_0x435a6a['headers'],_0x2fc47d=ln();return _0x2fc47d&&_0x59ecd9['set'](_0x29a42b(0x455),_0x2fc47d),_0x39e33f(_0x435a6a);}});}};Ne=dn([vn(0x0,a[_0x37c1b9(0x2c9)](q[_0x37c1b9(0x4d9)]))],Ne);var Sn=Object[_0x37c1b9(0x4c6)],fn=(_0x23c6b7,_0xf37e46,_0x3ed276,_0x581716)=>{var _0x29db79=_0x37c1b9;for(var _0x5b5cd9=_0x581716>0x1?void 0x0:_0x581716?Sn(_0xf37e46,_0x3ed276):_0xf37e46,_0xfa0632=_0x23c6b7[_0x29db79(0x3a1)]-0x1,_0x332d89;_0xfa0632>=0x0;_0xfa0632--)(_0x332d89=_0x23c6b7[_0xfa0632])&&(_0x5b5cd9=_0x332d89(_0x5b5cd9)||_0x5b5cd9);return _0x5b5cd9;},Me=(_0x447610,_0xcc63d)=>(_0x166bc2,_0x254270)=>_0xcc63d(_0x166bc2,_0x254270,_0x447610);exports[_0x37c1b9(0x3a0)]=class extends a[_0x37c1b9(0x414)]{constructor(_0x530103,_0x4cecbd,_0x4ae416){var _0x586843=_0x37c1b9;super(),A(this,'_unitInfo$',new j['BehaviorSubject'](null)),A(this,_0x586843(0x4a2),this[_0x586843(0x47a)][_0x586843(0x427)]()),(this[_0x586843(0x48c)]=_0x530103,this['_snapshotService']=_0x4cecbd,this[_0x586843(0x4cf)]=_0x4ae416);}async[_0x37c1b9(0x391)](_0x382828,_0x2e7397,_0x3f111c){var _0x400c36=_0x37c1b9;this['_unitInfo$'][_0x400c36(0x326)]({'unitId':_0x382828,'type':_0x2e7397,'subUnitId':_0x3f111c});let _0x5e19fc=null;switch(_0x2e7397){case X['UNIVER_SHEET']:{_0x5e19fc=await this[_0x400c36(0x1f5)](_0x382828);break;}case X[_0x400c36(0x3fe)]:{_0x5e19fc=await this[_0x400c36(0x4f5)](_0x382828);break;}default:{this[_0x400c36(0x48c)]['error']('[DataLoaderService]',_0x400c36(0x42a));break;}}return _0x5e19fc;}async[_0x37c1b9(0x1f5)](_0x1541bf){var _0x291ae6=_0x37c1b9,_0x2a0071;let _0x4a21d5=0x0;const _0x108344=await((_0x2a0071=this['_localCacheService'])==null?void 0x0:_0x2a0071['loadOfflineData'](_0x1541bf));return _0x108344&&(_0x108344[_0x291ae6(0x4d3)]||_0x108344[_0x291ae6(0x4d6)][_0x291ae6(0x3a1)]!==0x0)&&(_0x4a21d5=_0x108344[_0x291ae6(0x271)]),_0x4a21d5===0x0&&this[_0x291ae6(0x48c)][_0x291ae6(0x44b)]('[DataLoaderService]',_0x291ae6(0x1b9)),this[_0x291ae6(0x4b6)][_0x291ae6(0x3f0)](_0x1541bf,_0x4a21d5);}async[_0x37c1b9(0x4f5)](_0x8e08d5){var _0x274058=_0x37c1b9,_0x148ae9;let _0x42ba62=0x0;const _0x3075a7=await((_0x148ae9=this[_0x274058(0x4cf)])==null?void 0x0:_0x148ae9[_0x274058(0x33a)](_0x8e08d5));return _0x3075a7&&(_0x3075a7[_0x274058(0x4d3)]||_0x3075a7['mutations'][_0x274058(0x3a1)]!==0x0)&&(_0x42ba62=_0x3075a7[_0x274058(0x271)]),_0x42ba62===0x0&&this['_logService']['debug'](_0x274058(0x22d),_0x274058(0x1b9)),this['_snapshotService'][_0x274058(0x20b)](_0x8e08d5,_0x42ba62);}},exports[_0x37c1b9(0x3a0)]=fn([Me(0x0,a[_0x37c1b9(0x1fa)]),Me(0x1,a[_0x37c1b9(0x2c9)](g[_0x37c1b9(0x20c)])),Me(0x2,a[_0x37c1b9(0x4e3)](z))],exports[_0x37c1b9(0x3a0)]);var pn=Object['getOwnPropertyDescriptor'],gn=(_0x335341,_0x51e1d8,_0x118b13,_0x55915b)=>{for(var _0x583cef=_0x55915b>0x1?void 0x0:_0x55915b?pn(_0x51e1d8,_0x118b13):_0x51e1d8,_0x34f82c=_0x335341['length']-0x1,_0x4aaa33;_0x34f82c>=0x0;_0x34f82c--)(_0x4aaa33=_0x335341[_0x34f82c])&&(_0x583cef=_0x4aaa33(_0x583cef)||_0x583cef);return _0x583cef;},xe=(_0x35cf76,_0x16bdf5)=>(_0x55674c,_0x2ecba6)=>_0x16bdf5(_0x55674c,_0x2ecba6,_0x35cf76);const In=[_0x37c1b9(0x2fb),_0x37c1b9(0x3c4),'image/jpg','image/gif',_0x37c1b9(0x436)],mn=0x5*0x400*0x400,En=_0x37c1b9(0x291),Cn=_0x37c1b9(0x404),Tn=_0x37c1b9(0x491),bn='/universer-api/file/{fileID}/sign-url';exports['CollaborationImageIoService']=class{constructor(_0x2b7a5d,_0x294560,_0x42d85b){var _0x108342=_0x37c1b9;A(this,_0x108342(0x4da),0x0),A(this,_0x108342(0x4b9),new j[(_0x108342(0x3b0))]()),A(this,'change$',this[_0x108342(0x4b9)]),A(this,_0x108342(0x446),new Map()),(this[_0x108342(0x3f6)]=_0x2b7a5d,this[_0x108342(0x273)]=_0x294560,this['_univerInstanceService']=_0x42d85b);}[_0x37c1b9(0x3ca)](_0x2ac8f3){var _0x480bbd=_0x37c1b9;this['_waitCount']=_0x2ac8f3,this[_0x480bbd(0x4b9)][_0x480bbd(0x326)](_0x2ac8f3);}[_0x37c1b9(0x33b)](_0x3dc008,_0x263de8){var _0x1293fd=_0x37c1b9;if(_0x263de8===J[_0x1293fd(0x27a)][_0x1293fd(0x3ef)]){const _0x334ee6=new Image();return _0x334ee6[_0x1293fd(0x3ae)]=_0x3dc008,_0x334ee6;}return this[_0x1293fd(0x446)][_0x1293fd(0x1ad)](_0x3dc008);}[_0x37c1b9(0x3ba)](_0x442fc2,_0x308fd3,_0x6e222e){var _0x13c0f4=_0x37c1b9;_0x308fd3===J[_0x13c0f4(0x27a)][_0x13c0f4(0x3ef)]||_0x6e222e==null||this[_0x13c0f4(0x446)][_0x13c0f4(0x3c7)](_0x442fc2,_0x6e222e);}async[_0x37c1b9(0x3ac)](_0x43d207){var _0x2be7a5=_0x37c1b9;try{const _0x28cfba=this['_replaceFileID'](this[_0x2be7a5(0x1f6)](),''+_0x43d207),_0x5c251d=(await this[_0x2be7a5(0x3f6)][_0x2be7a5(0x1ad)](_0x28cfba))[_0x2be7a5(0x35d)];if(_0x5c251d[_0x2be7a5(0x2a7)]&&_0x5c251d[_0x2be7a5(0x2a7)]['code']===Ct['OK']){const _0x124c1c=new URL(_0x5c251d[_0x2be7a5(0x2a1)],this[_0x2be7a5(0x363)]())[_0x2be7a5(0x2b3)]();return Promise[_0x2be7a5(0x1db)](_0x124c1c);}return Promise[_0x2be7a5(0x2e5)](_0x5c251d[_0x2be7a5(0x2a7)]);}catch(_0x3bf1b0){return Promise['reject'](_0x3bf1b0);}}async['saveImage'](_0x128b4c){var _0x46cffd=_0x37c1b9;let _0x387b9e='';if(!In[_0x46cffd(0x432)](_0x128b4c[_0x46cffd(0x248)]))return this['_decreaseWaiting'](),Promise[_0x46cffd(0x2e5)](new Error(J[_0x46cffd(0x32d)][_0x46cffd(0x1f0)]));if(_0x128b4c[_0x46cffd(0x325)]>mn)return this['_decreaseWaiting'](),Promise[_0x46cffd(0x2e5)](new Error(J[_0x46cffd(0x32d)]['ERROR_EXCEED_SIZE']));try{const _0x177802=new FormData();_0x177802[_0x46cffd(0x3e9)](_0x46cffd(0x1d1),_0x128b4c);const _0x4329f8=this['_univerInstanceService'][_0x46cffd(0x43d)](),_0x18d8fd=_0x4329f8==null?void 0x0:_0x4329f8['getUnitId']();if(!_0x18d8fd)throw new Error(_0x46cffd(0x4de));const _0x347c08=this['_getUploadFileURL']()+_0x46cffd(0x3c8)+_0x128b4c[_0x46cffd(0x325)][_0x46cffd(0x2b3)]()+_0x46cffd(0x438)+Tt['UnitEmbedded']+'&assign='+encodeURIComponent(_0x18d8fd),_0x43ecab=await(await fetch(_0x347c08,{'method':_0x46cffd(0x1e1),'body':_0x177802}))['json']();if(typeof _0x43ecab['FileId']!=_0x46cffd(0x2c2))return this['_decreaseWaiting'](),Promise['reject'](new Error(J[_0x46cffd(0x32d)]['ERROR_IMAGE']));_0x387b9e=_0x43ecab[_0x46cffd(0x3e8)];}catch{return this[_0x46cffd(0x42d)](),Promise[_0x46cffd(0x2e5)](new Error(J['ImageUploadStatusType'][_0x46cffd(0x274)]));}return new Promise((_0x46ae36,_0x9deb5)=>{const _0x50e980=new FileReader();_0x50e980['readAsDataURL'](_0x128b4c),_0x50e980['onload']=_0x859841=>{var _0x21690b=_0x206a,_0x59a77f;const _0x2a0ad0=(_0x59a77f=_0x859841[_0x21690b(0x489)])==null?void 0x0:_0x59a77f[_0x21690b(0x35a)];if(_0x2a0ad0==null){this['_decreaseWaiting'](),_0x9deb5(new Error(J[_0x21690b(0x32d)]['ERROR_IMAGE']));return;}const _0x43f2ff=a['Tools'][_0x21690b(0x485)](0x6);_0x46ae36({'imageId':_0x43f2ff,'imageSourceType':J[_0x21690b(0x27a)]['UUID'],'source':_0x387b9e,'base64Cache':_0x2a0ad0,'status':J[_0x21690b(0x32d)][_0x21690b(0x33c)]}),this['_decreaseWaiting']();};});}[_0x37c1b9(0x4af)](){var _0x3ce882=_0x37c1b9,_0x2581c2,_0x4c6c91;const _0x10e72e=this[_0x3ce882(0x273)][_0x3ce882(0x3a3)](En),_0xcca98a=this[_0x3ce882(0x273)][_0x3ce882(0x3a3)](Y);return(_0x4c6c91=(_0x2581c2=_0xcca98a==null?void 0x0:_0xcca98a['uploadFileServerUrl'])!=null?_0x2581c2:_0x10e72e)!=null?_0x4c6c91:Cn;}['_getSignURL'](){var _0x588b12=_0x37c1b9,_0x8232d0,_0x7b7bbd;const _0x15f62a=this[_0x588b12(0x273)]['getConfig'](Tn),_0x289c52=this[_0x588b12(0x273)][_0x588b12(0x3a3)](Y);return(_0x7b7bbd=(_0x8232d0=_0x289c52==null?void 0x0:_0x289c52[_0x588b12(0x2fd)])!=null?_0x8232d0:_0x15f62a)!=null?_0x7b7bbd:bn;}[_0x37c1b9(0x363)](){var _0x2f9287=_0x37c1b9,_0x171779;const _0x4c7bce=this[_0x2f9287(0x273)][_0x2f9287(0x3a3)](Y);return(_0x171779=_0x4c7bce==null?void 0x0:_0x4c7bce[_0x2f9287(0x421)])!=null?_0x171779:location[_0x2f9287(0x2d6)];}[_0x37c1b9(0x31d)](_0x16a1ed,_0x209c20){var _0x20c5a4=_0x37c1b9;return _0x16a1ed[_0x20c5a4(0x1ec)]('{fileID}',_0x209c20);}[_0x37c1b9(0x42d)](){var _0x4a9721=_0x37c1b9;this['_waitCount']-=0x1,this[_0x4a9721(0x4b9)][_0x4a9721(0x326)](this['_waitCount']);}},exports['CollaborationImageIoService']=gn([xe(0x0,a[_0x37c1b9(0x2c9)](q[_0x37c1b9(0x4d9)])),xe(0x1,a['IConfigService']),xe(0x2,a['Inject'](a[_0x37c1b9(0x1c6)]))],exports[_0x37c1b9(0x3fa)]);var Rn=Object[_0x37c1b9(0x4c6)],On=(_0x1d3d24,_0xa3a353,_0x4b5f4b,_0x32fb2f)=>{var _0x15a3d8=_0x37c1b9;for(var _0x16a511=_0x32fb2f>0x1?void 0x0:_0x32fb2f?Rn(_0xa3a353,_0x4b5f4b):_0xa3a353,_0x182ccb=_0x1d3d24[_0x15a3d8(0x3a1)]-0x1,_0x2d934a;_0x182ccb>=0x0;_0x182ccb--)(_0x2d934a=_0x1d3d24[_0x182ccb])&&(_0x16a511=_0x2d934a(_0x16a511)||_0x16a511);return _0x16a511;},_t=(_0x376340,_0x525b03)=>(_0x2f0de5,_0x50a0e3)=>_0x525b03(_0x2f0de5,_0x50a0e3,_0x376340);const yn=_0x37c1b9(0x42b);exports['MentionIoHttpService']=class{constructor(_0x59e7bd,_0x28b6c1){var _0x48517c=_0x37c1b9;this['_configService']=_0x59e7bd,this[_0x48517c(0x25b)]=_0x28b6c1;}[_0x37c1b9(0x239)](){var _0x51c5cc=_0x37c1b9,_0x5a1417,_0x366a16;const _0x11a1c9=this['_configService'][_0x51c5cc(0x3a3)](Ge),_0x1842e3=this['_configService'][_0x51c5cc(0x3a3)](Y);return(_0x366a16=(_0x5a1417=_0x1842e3==null?void 0x0:_0x1842e3['authzUrl'])!=null?_0x5a1417:_0x11a1c9)!=null?_0x366a16:yn;}async[_0x37c1b9(0x238)](_0x2801d0){var _0x1251db=_0x37c1b9;const _0x5060fe=this[_0x1251db(0x239)]()+_0x1251db(0x331);return{'list':[{'title':_0x1251db(0x45a),'mentions':(await this[_0x1251db(0x25b)][_0x1251db(0x1ad)](_0x5060fe,{'params':{'objectID':_0x2801d0[_0x1251db(0x44d)],'unitID':_0x2801d0[_0x1251db(0x44d)]}}))['body'][_0x1251db(0x2ea)][_0x1251db(0x34a)](_0x14608c=>({'objectId':_0x14608c['id'],'name':_0x14608c[_0x1251db(0x3e7)][_0x1251db(0x4ce)],'metadata':{'icon':_0x14608c[_0x1251db(0x3e7)][_0x1251db(0x29d)]},'label':_0x14608c[_0x1251db(0x3e7)]['name'],'objectType':a[_0x1251db(0x36e)][_0x1251db(0x24b)]})),'metadata':{},'type':a[_0x1251db(0x36e)][_0x1251db(0x24b)]}]};}},exports[_0x37c1b9(0x1cf)]=On([_t(0x0,a[_0x37c1b9(0x2c9)](a['IConfigService'])),_t(0x1,a[_0x37c1b9(0x2c9)](q[_0x37c1b9(0x4d9)]))],exports['MentionIoHttpService']);var Nn=Object[_0x37c1b9(0x4c6)],Dn=(_0x2785fd,_0x28b73e,_0x1a1a68,_0x4765c1)=>{for(var _0x233dc0=_0x4765c1>0x1?void 0x0:_0x4765c1?Nn(_0x28b73e,_0x1a1a68):_0x28b73e,_0x400fe3=_0x2785fd['length']-0x1,_0x5b5a0c;_0x400fe3>=0x0;_0x400fe3--)(_0x5b5a0c=_0x2785fd[_0x400fe3])&&(_0x233dc0=_0x5b5a0c(_0x233dc0)||_0x233dc0);return _0x233dc0;},ue=(_0x44733a,_0x4af841)=>(_0xdc18a7,_0x4bb582)=>_0x4af841(_0xdc18a7,_0x4bb582,_0x44733a);let De=class extends a[_0x37c1b9(0x414)]{constructor(_0x55479e,_0x56f0fe,_0x2c040e,_0x121ef2,_0x257b41){var _0x3c15be=_0x37c1b9;super(),this[_0x3c15be(0x4a0)]=_0x55479e,this['_univerInstanceService']=_0x56f0fe,this[_0x3c15be(0x2fe)]=_0x2c040e,this[_0x3c15be(0x376)]=_0x121ef2,this['_collaborationUIEventService']=_0x257b41,this['_initUnitPermissionChange'](),this[_0x3c15be(0x1dc)]();}[_0x37c1b9(0x1dc)](){var _0x297c20=_0x37c1b9;const _0x42d56b=async _0x3e1abb=>{var _0x512a03=_0x206a;(await this[_0x512a03(0x376)][_0x512a03(0x2f0)](_0x3e1abb))[_0x512a03(0x4b8)][_0x512a03(0x2cf)](V[_0x512a03(0x1e3)](_0x27a68b=>_0x27a68b[_0x512a03(0x34e)]===g[_0x512a03(0x284)][_0x512a03(0x1e2)]),V[_0x512a03(0x255)](this[_0x512a03(0x377)]))[_0x512a03(0x426)](_0x3ab0f7=>{var _0x478ead=_0x512a03;const _0x16c080=_0x3ab0f7,{reason:_0x384b42}=_0x16c080[_0x478ead(0x3d0)];this[_0x478ead(0x1f8)][_0x478ead(0x2cd)]({'id':Q['CLOSE_ROOM'],'data':_0x384b42}),this['_permissionService'][_0x478ead(0x468)](new Z[(_0x478ead(0x3a9))](_0x3e1abb)['id'],!0x1),this[_0x478ead(0x376)][_0x478ead(0x28d)](_0x3e1abb);});};j[_0x297c20(0x221)](this[_0x297c20(0x23b)][_0x297c20(0x220)](a[_0x297c20(0x224)]['UNIVER_SHEET']),this[_0x297c20(0x23b)][_0x297c20(0x220)](a[_0x297c20(0x224)][_0x297c20(0x3fe)]))[_0x297c20(0x2cf)](V[_0x297c20(0x34a)](_0x1448f9=>_0x1448f9[_0x297c20(0x1d3)]()),V[_0x297c20(0x1e3)](_0x5f550c=>!a[_0x297c20(0x306)](_0x5f550c)),V[_0x297c20(0x255)](this[_0x297c20(0x377)]))[_0x297c20(0x426)](_0x39d7d8=>{_0x42d56b(_0x39d7d8);});}['_initUnitPermissionChange'](){var _0x20905b=_0x37c1b9;const _0x1f51aa=async _0x2d7d1a=>{var _0x5e602c=_0x206a;const _0x32ba7c=await this['_collaborationSessionService'][_0x5e602c(0x2f0)](_0x2d7d1a),_0x51aebc=this[_0x5e602c(0x4a0)][_0x5e602c(0x1ad)](Z['SheetPermissionInitController']);_0x32ba7c[_0x5e602c(0x4b8)]['pipe'](V['filter'](_0x59c6aa=>_0x59c6aa[_0x5e602c(0x34e)]===g[_0x5e602c(0x284)][_0x5e602c(0x32b)]),V['takeUntil'](this[_0x5e602c(0x377)]))['subscribe'](_0x232e44=>{var _0x3824ff=_0x5e602c;const _0x21e227=_0x232e44,{objectId:_0x123e69}=_0x21e227[_0x3824ff(0x3d0)];_0x123e69===_0x2d7d1a?_0x51aebc['initWorkbookPermissionChange'](_0x2d7d1a):_0x51aebc['refreshPermission'](_0x2d7d1a,_0x123e69);});};j[_0x20905b(0x221)](this[_0x20905b(0x23b)][_0x20905b(0x220)](a[_0x20905b(0x224)][_0x20905b(0x3a5)]))[_0x20905b(0x2cf)](V['map'](_0x3afa84=>_0x3afa84[_0x20905b(0x1d3)]()),V[_0x20905b(0x1e3)](_0x21d7b4=>!a[_0x20905b(0x306)](_0x21d7b4)),V['takeUntil'](this[_0x20905b(0x377)]))[_0x20905b(0x426)](_0x48079d=>{_0x1f51aa(_0x48079d);});}};De=Dn([ue(0x0,a['Inject'](a[_0x37c1b9(0x4bb)])),ue(0x1,a[_0x37c1b9(0x1c6)]),ue(0x2,a[_0x37c1b9(0x311)]),ue(0x3,a['Inject'](exports['CollaborationSessionService'])),ue(0x4,a[_0x37c1b9(0x2c9)](te))],De);var Un=Object[_0x37c1b9(0x4c6)],An=(_0x4bfa5a,_0x25afea,_0x14f2b2,_0x34e0e4)=>{var _0x17d206=_0x37c1b9;for(var _0x2bdece=_0x34e0e4>0x1?void 0x0:_0x34e0e4?Un(_0x25afea,_0x14f2b2):_0x25afea,_0x46a9bd=_0x4bfa5a[_0x17d206(0x3a1)]-0x1,_0x134b60;_0x46a9bd>=0x0;_0x46a9bd--)(_0x134b60=_0x4bfa5a[_0x46a9bd])&&(_0x2bdece=_0x134b60(_0x2bdece)||_0x2bdece);return _0x2bdece;},lt=(_0x1252ea,_0x41e0bb)=>(_0x136908,_0x5c565c)=>_0x41e0bb(_0x136908,_0x5c565c,_0x1252ea);exports[_0x37c1b9(0x4c2)]=class{constructor(_0x31ed56,_0x3087f7){var _0x3a1f57=_0x37c1b9;this[_0x3a1f57(0x273)]=_0x31ed56,this[_0x3a1f57(0x3f6)]=_0x3087f7;}async['getUnitOnRev'](_0x3b2b5c,_0x53ed78){var _0x25623f=_0x37c1b9,_0x2dbff0;const {unitID:_0x4b9718,type:_0xa37340,revision:_0x13bbfe=0x0}=_0x53ed78,_0x49f975=this['getSnapshotAPIPath']()+'/'+_0xa37340+'/unit/'+_0x4b9718+_0x25623f(0x1cb)+_0x13bbfe,_0xc69da7=(await this[_0x25623f(0x3f6)][_0x25623f(0x1ad)](_0x49f975))[_0x25623f(0x35d)],_0x29c2ec=(_0x2dbff0=_0xc69da7['snapshot'])==null?void 0x0:_0x2dbff0[_0x25623f(0x2df)];if(_0x29c2ec){const _0x191dd0=_0x29c2ec==null?void 0x0:_0x29c2ec[_0x25623f(0x39b)],_0x2f7650=g[_0x25623f(0x3d7)][_0x25623f(0x364)](g[_0x25623f(0x478)](_0x191dd0));_0x29c2ec[_0x25623f(0x39b)]=_0x2f7650,Object[_0x25623f(0x214)](_0x29c2ec[_0x25623f(0x349)])[_0x25623f(0x4e5)](([,_0x4f1237])=>{var _0x16ff94=_0x25623f;const _0x2087cf=_0x4f1237[_0x16ff94(0x39b)],_0x1f1bc1=g['textEncoder'][_0x16ff94(0x364)](g[_0x16ff94(0x478)](_0x2087cf));_0x4f1237['originalMeta']=_0x1f1bc1;});}return _0xc69da7;}async['getSheetBlock'](_0xa8f59f,_0x5724a0){var _0x53b642=_0x37c1b9;const {unitID:_0x2f92fd,type:_0x1f2b25,blockID:_0x5a5222}=_0x5724a0,_0x5de4d1=this[_0x53b642(0x310)]()+'/'+_0x1f2b25+_0x53b642(0x39f)+_0x2f92fd+'/block/'+_0x5a5222;return(await this[_0x53b642(0x3f6)][_0x53b642(0x1ad)](_0x5de4d1))['body'];}async['getDeserializedSheetBlock'](_0x3d5888,_0xad338b){var _0x3d47d6=_0x37c1b9;const {unitID:_0x589c72,type:_0x40c452,blockID:_0x2fd878}=_0xad338b,_0xcd9cdf=this['_getAPIPrefix']()+_0x3d47d6(0x307)+_0x40c452+_0x3d47d6(0x39f)+_0x589c72+'/block/'+_0x2fd878;return(await this[_0x3d47d6(0x3f6)][_0x3d47d6(0x1ad)](_0xcd9cdf))['body'];}async['fetchMissingChangesets'](_0x1d6ddd,_0x1aa711){var _0x5264be=_0x37c1b9;const {unitID:_0x50a3f3,type:_0x26f070,from:_0xdddd42,to:_0x2388e7}=_0x1aa711,_0x3e18d2=this[_0x5264be(0x310)]()+'/'+_0x26f070+_0x5264be(0x39f)+_0x50a3f3+_0x5264be(0x379)+_0xdddd42+_0x5264be(0x4e7)+_0x2388e7;return(await this[_0x5264be(0x3f6)][_0x5264be(0x1ad)](_0x3e18d2))['body'];}[_0x37c1b9(0x237)](){var _0x203e88=_0x37c1b9,_0x323ba9;return(_0x323ba9=this[_0x203e88(0x273)][_0x203e88(0x3a3)](vt))!=null?_0x323ba9:this[_0x203e88(0x310)]();}[_0x37c1b9(0x310)](){var _0x22c6fb=_0x37c1b9,_0x35b2f0,_0x3d8db6;const _0x503507=this[_0x22c6fb(0x273)]['getConfig'](dt),_0x33807d=this[_0x22c6fb(0x273)][_0x22c6fb(0x3a3)](Y);return(_0x3d8db6=(_0x35b2f0=_0x33807d==null?void 0x0:_0x33807d[_0x22c6fb(0x3b4)])!=null?_0x35b2f0:_0x503507)!=null?_0x3d8db6:kt;}async['getResourcesRequest'](_0x36f099,_0x4286af){var _0x36638b=_0x37c1b9;const _0x48bc4c='/universer-api/snapshot/'+_0x4286af['type']+_0x36638b(0x39f)+_0x4286af[_0x36638b(0x4f8)]+'/resources';return(await this[_0x36638b(0x3f6)][_0x36638b(0x1ad)](_0x48bc4c,{'params':{'resourceId':JSON[_0x36638b(0x1c0)](_0x4286af['resourceIDs'])}}))[_0x36638b(0x35d)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x37c1b9(0x1d5)](){var _0x3b8d94=_0x37c1b9;throw new Error(_0x3b8d94(0x45e));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x37c1b9(0x358)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x37c1b9(0x4c2)]=An([lt(0x0,a[_0x37c1b9(0x196)]),lt(0x1,a[_0x37c1b9(0x2c9)](q[_0x37c1b9(0x4d9)]))],exports['SnapshotServerOverHTTPService']);var Pn=Object[_0x37c1b9(0x4c6)],wn=(_0x133f3c,_0x49eccf,_0x1b7ea9,_0x1ba91e)=>{for(var _0x93ef1b=_0x1ba91e>0x1?void 0x0:_0x1ba91e?Pn(_0x49eccf,_0x1b7ea9):_0x49eccf,_0x4823f0=_0x133f3c['length']-0x1,_0x594600;_0x4823f0>=0x0;_0x4823f0--)(_0x594600=_0x133f3c[_0x4823f0])&&(_0x93ef1b=_0x594600(_0x93ef1b)||_0x93ef1b);return _0x93ef1b;},de=(_0x58b17e,_0x5f14d3)=>(_0x46c587,_0x4e4881)=>_0x5f14d3(_0x46c587,_0x4e4881,_0x58b17e);exports[_0x37c1b9(0x262)]=class extends a['LocalUndoRedoService']{constructor(_0x33c527,_0x4f2f6b,_0x43848e,_0x2dc835,_0x354326){var _0x24a62d=_0x37c1b9;super(_0x33c527,_0x4f2f6b,_0x43848e),this[_0x24a62d(0x341)]=_0x2dc835,this[_0x24a62d(0x48c)]=_0x354326;}[_0x37c1b9(0x49e)](_0x1a698e,_0x5d24e9){var _0x30a88e=_0x37c1b9;const _0x2949ba=this[_0x30a88e(0x2ee)](_0x1a698e);if(_0x2949ba)try{const _0x4af470=this['_transformStack'](_0x2949ba,_0x5d24e9);this[_0x30a88e(0x40f)](_0x1a698e,_0x4af470);}catch(_0x53668c){this[_0x30a88e(0x48c)][_0x30a88e(0x2a7)](_0x30a88e(0x1a6),_0x53668c),this['_clearUndo'](_0x1a698e);}const _0x45dd7b=this[_0x30a88e(0x227)](_0x1a698e);if(_0x45dd7b)try{const _0x112219=this[_0x30a88e(0x463)](_0x45dd7b,_0x5d24e9);this[_0x30a88e(0x4b1)](_0x1a698e,_0x112219);}catch(_0x403a3a){this[_0x30a88e(0x48c)][_0x30a88e(0x2a7)](_0x403a3a),this[_0x30a88e(0x492)](_0x1a698e);}}['_clearUndo'](_0x320222){var _0x3441eb=_0x37c1b9;const _0x10e526=this[_0x3441eb(0x2ee)](_0x320222);_0x10e526&&(_0x10e526[_0x3441eb(0x3a1)]=0x0,this[_0x3441eb(0x28e)]());}[_0x37c1b9(0x492)](_0x4783a3){var _0x284ca6=_0x37c1b9;const _0x3f24a1=this['_getRedoStack'](_0x4783a3);_0x3f24a1&&(_0x3f24a1[_0x284ca6(0x3a1)]=0x0,this[_0x284ca6(0x28e)]());}[_0x37c1b9(0x40f)](_0x2724f9,_0x3173c2){var _0x531127=_0x37c1b9;this[_0x531127(0x3ed)]['set'](_0x2724f9,_0x3173c2),this['_updateStatus']();}['_substituteRedoStack'](_0x18d8c9,_0x481858){var _0x16527d=_0x37c1b9;this[_0x16527d(0x398)]['set'](_0x18d8c9,_0x481858),this[_0x16527d(0x28e)]();}[_0x37c1b9(0x463)](_0x50935f,_0x16e319){var _0xb857cf=_0x37c1b9;const _0x6fb7bc=[];let _0x3ee404=_0x16e319,_0x46ac5c=_0x16e319;for(let _0x17e35c=_0x50935f[_0xb857cf(0x3a1)]-0x1;_0x17e35c>=0x0;_0x17e35c--){const {unitID:_0x56b472,undoMutations:_0x334a14,redoMutations:_0x1d52f6}=_0x50935f[_0x17e35c],_0x3b6c45=this['_transformService'][_0xb857cf(0x26b)](_0x3ee404,_0x334a14),_0x26c11f=this[_0xb857cf(0x341)]['transformMutationsWithChangeset'](_0x46ac5c,_0x1d52f6);if(g[_0xb857cf(0x393)](_0x3b6c45)||g['isTransformMutationsWithChangesetFailure'](_0x26c11f)){this['_logService'][_0xb857cf(0x2a7)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x3b6c45,_0x26c11f);break;}_0x3ee404=_0x3b6c45[_0xb857cf(0x216)],_0x46ac5c=_0x26c11f[_0xb857cf(0x216)],_0x6fb7bc['push']({'unitID':_0x56b472,'undoMutations':_0x3b6c45[_0xb857cf(0x37f)],'redoMutations':_0x26c11f['m2Prime']});}return _0x6fb7bc[_0xb857cf(0x35f)]();}},exports[_0x37c1b9(0x262)]=wn([de(0x0,a[_0x37c1b9(0x1c6)]),de(0x1,a['ICommandService']),de(0x2,a[_0x37c1b9(0x1da)]),de(0x3,g[_0x37c1b9(0x29c)]),de(0x4,a[_0x37c1b9(0x1fa)])],exports[_0x37c1b9(0x262)]);var Ln=Object[_0x37c1b9(0x1ab)],Mn=Object['getOwnPropertyDescriptor'],xn=(_0x3e247a,_0x27fcec,_0x2b7a06)=>_0x27fcec in _0x3e247a?Ln(_0x3e247a,_0x27fcec,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b7a06}):_0x3e247a[_0x27fcec]=_0x2b7a06,kn=(_0x3d6aa9,_0x2e24fa,_0x24eeee,_0x21017e)=>{var _0x181200=_0x37c1b9;for(var _0x55d881=_0x21017e>0x1?void 0x0:_0x21017e?Mn(_0x2e24fa,_0x24eeee):_0x2e24fa,_0x41c53c=_0x3d6aa9[_0x181200(0x3a1)]-0x1,_0x1c6349;_0x41c53c>=0x0;_0x41c53c--)(_0x1c6349=_0x3d6aa9[_0x41c53c])&&(_0x55d881=_0x1c6349(_0x55d881)||_0x55d881);return _0x55d881;},ke=(_0x5aceed,_0x1e9582)=>(_0x35f345,_0x5736a4)=>_0x1e9582(_0x35f345,_0x5736a4,_0x5aceed),Hn=(_0x5de53d,_0x1c3cb9,_0x2a76e2)=>xn(_0x5de53d,_0x1c3cb9+'',_0x2a76e2);const jn=_0x37c1b9(0x2c4);exports[_0x37c1b9(0x29f)]=class extends a[_0x37c1b9(0x4e1)]{constructor(_0xc0efdb,_0xf20b9d,_0x1e00cd,_0x5e1aa5){var _0x3edd1d=_0x37c1b9;super(),A(this,_0x3edd1d(0x1f1)),(this[_0x3edd1d(0x48c)]=_0xf20b9d,this[_0x3edd1d(0x4a0)]=_0x1e00cd,this[_0x3edd1d(0x273)]=_0x5e1aa5);const {..._0x406473}=a['merge']({},Jt,_0xc0efdb);if(!_0x406473[_0x3edd1d(0x3c5)])throw new Error(_0x3edd1d(0x4b3));this['_config']=_0x406473,this[_0x3edd1d(0x273)][_0x3edd1d(0x482)](Y,_0x406473);}[_0x37c1b9(0x276)](){var _0x4751b5=_0x37c1b9;this[_0x4751b5(0x217)](),this[_0x4751b5(0x44e)]();}[_0x37c1b9(0x217)](){var _0x456d20=_0x37c1b9,_0x591282,_0x52ef3a;this[_0x456d20(0x4a0)][_0x456d20(0x2dd)](a[_0x456d20(0x37c)])&&this[_0x456d20(0x48c)][_0x456d20(0x2a7)](_0x456d20(0x39d),_0x456d20(0x2fc));const _0x10e5c0=a['mergeOverrideWithDependencies']([[a[_0x456d20(0x37c)],{'useClass':exports[_0x456d20(0x262)]}],[exports['CollaborationSessionService']],[exports[_0x456d20(0x2e6)]],[exports[_0x456d20(0x19d)]],[ye],[Ne],[Be],[De],[te],[exports['DataLoaderService']],[$e,{'useClass':this[_0x456d20(0x1f1)][_0x456d20(0x3c5)]}],[g[_0x456d20(0x289)],{'useClass':exports[_0x456d20(0x4c2)]}],[a[_0x456d20(0x4f7)],{'useClass':exports[_0x456d20(0x236)]}],[J[_0x456d20(0x1d9)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x456d20(0x301)],{'useClass':exports[_0x456d20(0x1cf)]}],[exports[_0x456d20(0x47e)]],[He]],(_0x591282=this[_0x456d20(0x1f1)])==null?void 0x0:_0x591282[_0x456d20(0x18e)]);if(!((_0x52ef3a=this[_0x456d20(0x1f1)])!=null&&_0x52ef3a['enableSingleActiveInstanceLock'])){const _0x22731d=_0x10e5c0[_0x456d20(0x29e)](([_0x5942c5])=>_0x5942c5===ve);_0x22731d!==-0x1&&_0x10e5c0['splice'](_0x22731d,0x1);}a[_0x456d20(0x314)](this[_0x456d20(0x4a0)],_0x10e5c0);}['_initDependencies'](){var _0x31a712=_0x37c1b9,_0x521ba2,_0x3c606f,_0x21f480;this['_injector'][_0x31a712(0x1ad)](q[_0x31a712(0x4d9)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q[_0x31a712(0x3b1)]({'maxParallel':0x6})}),(_0x521ba2=this[_0x31a712(0x1f1)])!=null&&_0x521ba2['enableOfflineEditing']||(_0x3c606f=this['_injector'][_0x31a712(0x1ad)](z,a[_0x31a712(0x1c7)][_0x31a712(0x36d)]))==null||_0x3c606f[_0x31a712(0x3b6)](),(_0x21f480=this[_0x31a712(0x1f1)])!=null&&_0x21f480[_0x31a712(0x18f)]&&a[_0x31a712(0x3cd)](this[_0x31a712(0x4a0)],[[ye]]),a[_0x31a712(0x3cd)](this['_injector'],[[Ne],[exports[_0x31a712(0x47e)]],[De]]);}},Hn(exports['UniverCollaborationClientPlugin'],'pluginName',jn),exports[_0x37c1b9(0x29f)]=kn([a[_0x37c1b9(0x1b6)](g[_0x37c1b9(0x431)],q[_0x37c1b9(0x365)]),ke(0x1,a['ILogService']),ke(0x2,a[_0x37c1b9(0x2c9)](a[_0x37c1b9(0x4bb)])),ke(0x3,a[_0x37c1b9(0x196)])],exports[_0x37c1b9(0x29f)]),exports['AUTHZ_URL_KEY']=Ge,exports[_0x37c1b9(0x441)]=Y,exports[_0x37c1b9(0x355)]=mt,exports[_0x37c1b9(0x360)]=St,exports[_0x37c1b9(0x35e)]=Ve,exports[_0x37c1b9(0x469)]=Q,exports['CollaborationUIEventService']=te,exports['CommentService']=Be,exports[_0x37c1b9(0x3ec)]=ft,exports[_0x37c1b9(0x4e0)]=zt,exports['DEFAULT_WS_SESSION_TICKET_URL']=$t,exports['HEARTBEAT_INTERVAL_KEY']=pt,exports[_0x37c1b9(0x19e)]=je,exports[_0x37c1b9(0x4ed)]=$e,exports['ILocalCacheService']=z,exports[_0x37c1b9(0x201)]=bt,exports[_0x37c1b9(0x226)]=ve,exports[_0x37c1b9(0x370)]=Gt,exports['LOCAL_CACHE_INTERVAL_KEY']=Wt,exports[_0x37c1b9(0x20d)]=Et,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=qt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=It,exports[_0x37c1b9(0x430)]=Ht,exports['SNAPSHOT_SERVER_URL_KEY']=dt,exports[_0x37c1b9(0x4fd)]=vt,exports[_0x37c1b9(0x41d)]=se,exports[_0x37c1b9(0x394)]=Fe,exports[_0x37c1b9(0x26e)]=Rt,exports['getLocalCacheKey']=vi,exports[_0x37c1b9(0x454)]=Ot;
|