@univerjs-pro/collaboration-client 0.5.5-nightly.202501201606 → 0.5.5-nightly.202501210337
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/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 +9 -9
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x5bfca8=_0xe7de;(function(_0x199ba8,_0x2dfad9){var _0x2fb1d8=_0xe7de,_0x6ba702=_0x199ba8();while(!![]){try{var _0x39a2c3=parseInt(_0x2fb1d8(0x39d))/0x1+parseInt(_0x2fb1d8(0x10c))/0x2*(-parseInt(_0x2fb1d8(0x37a))/0x3)+-parseInt(_0x2fb1d8(0x19c))/0x4*(parseInt(_0x2fb1d8(0x2ed))/0x5)+-parseInt(_0x2fb1d8(0x1a7))/0x6*(-parseInt(_0x2fb1d8(0x2e7))/0x7)+parseInt(_0x2fb1d8(0x241))/0x8*(parseInt(_0x2fb1d8(0x260))/0x9)+-parseInt(_0x2fb1d8(0x168))/0xa*(parseInt(_0x2fb1d8(0x32e))/0xb)+parseInt(_0x2fb1d8(0x256))/0xc;if(_0x39a2c3===_0x2dfad9)break;else _0x6ba702['push'](_0x6ba702['shift']());}catch(_0x19566c){_0x6ba702['push'](_0x6ba702['shift']());}}}(_0x5106,0x8b50a));var Li=Object['defineProperty'],Mi=(_0x49b7bf,_0x6a8a38,_0x3f17bc)=>_0x6a8a38 in _0x49b7bf?Li(_0x49b7bf,_0x6a8a38,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f17bc}):_0x49b7bf[_0x6a8a38]=_0x3f17bc,N=(_0x23c77c,_0x4ab271,_0x4ac4d5)=>Mi(_0x23c77c,typeof _0x4ab271!='symbol'?_0x4ab271+'':_0x4ab271,_0x4ac4d5);import{createIdentifier as _0x29e1a9,Inject as _0x285a0e,Injector as _0x22efd7,Disposable as _0x4971ea,DisposableCollection as _0x1c6031,toDisposable as _0x162b76,IConfigService as _0x44e247,ILogService as _0x43c1be,UserManagerService as _0x18f24f,UniverInstanceType as _0x1f23c0,IUniverInstanceService as _0x34354e,LocaleService as _0xc8816f,Optional as _0x22b405,RxDisposable as _0x13f3a3,Tools as _0xd0a3e0,Rectangle as _0x22779f,ICommandService as _0x36fb84,JSONX as _0x57e42f,CommandType as _0x43ebc5,IPermissionService as _0x537f08,IUndoRedoService as _0x46a1d6,sequenceExecute as _0x51db05,Workbook as _0x494125,MentionType as _0x306ad6,IAuthzIoService as _0x35b29b,isInternalEditorID as _0x56fe53,LocalUndoRedoService as _0x1d83d4,IContextService as _0x70d195,DependentOn as _0xd14b3,Plugin as _0x2071a8,merge as _0x2b9995,mergeOverrideWithDependencies as _0x575c49,IMentionIOService as _0x250626,registerDependencies as _0x4f4782,Quantity as _0x256a8e,touchDependencies as _0x401588}from'@univerjs/core';import{Subject as _0x4268af,merge as _0x230e2e,of as _0x278228,BehaviorSubject as _0x3de5fe,takeUntil as _0x22b2ec,ReplaySubject as _0x5aa0d0,take as _0x5b513c,map as _0x548032,shareReplay as _0x4c5ea5,firstValueFrom as _0x29bacb,concatMap as _0x427af4}from'rxjs';import{map as _0x15918f,take as _0x28869a,filter as _0x533c34,delay as _0x43fab7,takeUntil as _0x247a10}from'rxjs/operators';import{HTTPService as _0x48889b,ISocketService as _0x4bdb07,MergeInterceptorFactory as _0x1718c7,HTTPRequest as _0x3d38c3,UniverNetworkPlugin as _0x43f7df,ThresholdInterceptorFactory as _0x4ded48}from'@univerjs/network';import{CollaborationEvent as _0x3167f1,parseChangesetToProtocol as _0x5e9c6b,ISnapshotServerService as _0x410261,isTransformMutationsWithChangesetSuccess as _0x3c5083,ITransformService as _0x45197c,mapDocumentTypeToUniverType as _0x5cb3c7,RevisionService as _0x45e6f8,isTransformChangesetsSuccess as _0x504f72,CompressMutationService as _0x358415,parseProtocolChangeset as _0x4b9402,SnapshotService as _0x33b424,textEncoder as _0x166c48,b64DecodeUnicode as _0x196ae5,isTransformMutationsWithChangesetFailure as _0x123514,UniverCollaborationPlugin as _0x2ab92a}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x27c86e}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x23b199}from'@univerjs/docs';import{SheetsSelectionsService as _0x3fe6f4,SetSelectionsOperation as _0x38551e,InsertSheetMutation as _0x436b24,EmptyMutation as _0x528277,WorkbookEditablePermission as _0x36b9b5,SheetPermissionInitController as _0x251b0e,UniverSheetsPlugin as _0x6cc86}from'@univerjs/sheets';import{ImageSourceType as _0x45d4d9,ImageUploadStatusType as _0x35f44c,IImageIoService as _0x5b1197}from'@univerjs/drawing';import{getGlobalObject as _0x2efffb}from'@univerjs-pro/license';const En=_0x5bfca8(0x165),In=_0x5bfca8(0x17a),Tn=_0x5bfca8(0x221),eo='SEND_CHANGESET_TIMEOUT',Cn=0x7d0,Rn=_0x5bfca8(0x232),bn=_0x5bfca8(0x366),On='/universer-api/user/session-ticket',yn='HEARTBEAT_INTERVAL',Nn=0x7530,Si='HEARTBEAT_TIMEOUT',Ei=0x4e20,Dn=0x4e20,Pn='RETRY_CONNECTING_MAX_COUNT',wn=0x3,to='LOCAL_CACHE_INTERVAL',io=0x3e8,Un=_0x5bfca8(0x3aa),An=_0x5bfca8(0x11f),xn=_0x5bfca8(0x180),Ln=_0x5bfca8(0x1c8),no=_0x5bfca8(0x2d5),ro='/universer-api/uniscript';var Ii=(_0x374553=>(_0x374553[_0x374553[_0x5bfca8(0x10b)]=0x0]=_0x5bfca8(0x10b),_0x374553[_0x374553['OK']=0x1]='OK',_0x374553[_0x374553[_0x5bfca8(0x32f)]=0x2]='INTERNAL_ERROR',_0x374553[_0x374553[_0x5bfca8(0x239)]=0x3]=_0x5bfca8(0x239),_0x374553[_0x374553['NOT_FOUND']=0x4]='NOT_FOUND',_0x374553[_0x374553['UNAUTHENTICATED']=0x5]=_0x5bfca8(0x214),_0x374553[_0x374553[_0x5bfca8(0x179)]=0x6]=_0x5bfca8(0x179),_0x374553[_0x374553['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x374553[_0x374553[_0x5bfca8(0xc9)]=0x8]='TOO_MANY_REQUESTS',_0x374553[_0x374553[_0x5bfca8(0x251)]=0x9]=_0x5bfca8(0x251),_0x374553[_0x374553[_0x5bfca8(0x318)]=0x1389]=_0x5bfca8(0x318),_0x374553[_0x374553[_0x5bfca8(0x2d0)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x374553[_0x374553[_0x5bfca8(0x1b6)]=0x1772]=_0x5bfca8(0x1b6),_0x374553[_0x374553[_0x5bfca8(0x262)]=0x1773]=_0x5bfca8(0x262),_0x374553[_0x374553[_0x5bfca8(0x2cc)]=0x1b59]=_0x5bfca8(0x2cc),_0x374553[_0x374553[_0x5bfca8(0x247)]=0x1b5a]=_0x5bfca8(0x247),_0x374553[_0x374553[_0x5bfca8(0x2d7)]=0x1b5b]=_0x5bfca8(0x2d7),_0x374553[_0x374553[_0x5bfca8(0x13e)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x374553[_0x374553['APPLY_DUPLICATED']=0x1b5d]=_0x5bfca8(0x1c9),_0x374553[_0x374553[_0x5bfca8(0x29a)]=0x1f41]=_0x5bfca8(0x29a),_0x374553[_0x374553['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5bfca8(0x115),_0x374553[_0x374553['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x5bfca8(0x12d),_0x374553[_0x374553['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x5bfca8(0x16e),_0x374553[_0x374553[_0x5bfca8(0x13c)]=0x232c]=_0x5bfca8(0x13c),_0x374553[_0x374553[_0x5bfca8(0x14e)]=0x232d]=_0x5bfca8(0x14e),_0x374553[_0x374553[_0x5bfca8(0x321)]=0x2711]=_0x5bfca8(0x321),_0x374553[_0x374553[_0x5bfca8(0x312)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x374553[_0x374553[_0x5bfca8(0x192)]=0x2713]=_0x5bfca8(0x192),_0x374553[_0x374553[_0x5bfca8(0x21c)]=0x2714]=_0x5bfca8(0x21c),_0x374553[_0x374553[_0x5bfca8(0x309)]=0x2af9]=_0x5bfca8(0x309),_0x374553[_0x374553[_0x5bfca8(0x352)]=-0x1]=_0x5bfca8(0x352),_0x374553))(Ii||{}),Q=(_0xe8dcf7=>(_0xe8dcf7[_0xe8dcf7[_0x5bfca8(0xb7)]=0x0]=_0x5bfca8(0xb7),_0xe8dcf7[_0xe8dcf7['UNIVER_DOC']=0x1]=_0x5bfca8(0x1aa),_0xe8dcf7[_0xe8dcf7[_0x5bfca8(0x200)]=0x2]=_0x5bfca8(0x200),_0xe8dcf7[_0xe8dcf7['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0xe8dcf7[_0xe8dcf7['UNIVER_PROJECT']=0x4]=_0x5bfca8(0xf6),_0xe8dcf7[_0xe8dcf7[_0x5bfca8(0x352)]=-0x1]=_0x5bfca8(0x352),_0xe8dcf7))(Q||{}),F=(_0x5ea7a9=>(_0x5ea7a9[_0x5ea7a9['UNKNOWN_CMD']=0x0]=_0x5bfca8(0x397),_0x5ea7a9[_0x5ea7a9[_0x5bfca8(0x2dd)]=0x1]=_0x5bfca8(0x2dd),_0x5ea7a9[_0x5ea7a9['JOIN']=0x2]=_0x5bfca8(0x266),_0x5ea7a9[_0x5ea7a9[_0x5bfca8(0x286)]=0x3]='LEAVE',_0x5ea7a9[_0x5ea7a9[_0x5bfca8(0xe3)]=0x4]=_0x5bfca8(0xe3),_0x5ea7a9[_0x5ea7a9[_0x5bfca8(0x314)]=0x5]=_0x5bfca8(0x314),_0x5ea7a9[_0x5ea7a9['RECV']=0x6]='RECV',_0x5ea7a9[_0x5ea7a9['UNRECOGNIZED']=-0x1]=_0x5bfca8(0x352),_0x5ea7a9))(F||{}),Ee=(_0x31418c=>(_0x31418c[_0x31418c[_0x5bfca8(0x1cd)]=0x0]='UNKNOWN_CODE',_0x31418c[_0x31418c['OK']=0x1]='OK',_0x31418c[_0x31418c[_0x5bfca8(0x26e)]=0x2]='FAIL',_0x31418c[_0x31418c['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x31418c[_0x31418c['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x5bfca8(0x33f),_0x31418c[_0x31418c[_0x5bfca8(0x2f7)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x31418c[_0x31418c[_0x5bfca8(0x31a)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x31418c[_0x31418c[_0x5bfca8(0x352)]=-0x1]=_0x5bfca8(0x352),_0x31418c))(Ee||{}),Ti=(_0x3d5151=>(_0x3d5151[_0x3d5151[_0x5bfca8(0x1c7)]=0x0]=_0x5bfca8(0x1c7),_0x3d5151[_0x3d5151['HttpImport']=0x1]=_0x5bfca8(0x11e),_0x3d5151[_0x3d5151['HttpExport']=0x2]=_0x5bfca8(0x2fb),_0x3d5151[_0x3d5151[_0x5bfca8(0x282)]=0x3]=_0x5bfca8(0x282),_0x3d5151[_0x3d5151['UnitSnapshot']=0x4]=_0x5bfca8(0xf1),_0x3d5151[_0x3d5151['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3d5151))(Ti||{});const q=_0x5bfca8(0x210),Wt={};var se=(_0x149e4d=>(_0x149e4d[_0x5bfca8(0x2e1)]=_0x5bfca8(0x2e1),_0x149e4d[_0x5bfca8(0x239)]=_0x5bfca8(0x239),_0x149e4d['CONFLICT']=_0x5bfca8(0x311),_0x149e4d[_0x5bfca8(0x22f)]=_0x5bfca8(0x22f),_0x149e4d[_0x5bfca8(0x23b)]=_0x5bfca8(0x23b),_0x149e4d[_0x5bfca8(0x2c9)]=_0x5bfca8(0x2c9),_0x149e4d[_0x5bfca8(0x2e0)]=_0x5bfca8(0x2e0),_0x149e4d['SUBMIT_CHANGESET_TIMEOUT']=_0x5bfca8(0x108),_0x149e4d))(se||{});class pe{constructor(){var _0x11192f=_0x5bfca8;N(this,_0x11192f(0x1ad),new _0x4268af()),N(this,_0x11192f(0x147),this[_0x11192f(0x1ad)][_0x11192f(0x176)]());}[_0x5bfca8(0x275)](_0x179731){var _0x254dad=_0x5bfca8;this[_0x254dad(0x1ad)]['next'](_0x179731);}}const Mn=_0x29e1a9(_0x5bfca8(0x24c));function $n(_0x1167b2){var _0x521f4c=_0x5bfca8,_0x170daf,_0x38fe1e,_0x34c71e,_0x1c5d08,_0xf5dd0f;const _0x1305a1=_0x1167b2[_0x521f4c(0x18e)],_0x31a2cc=JSON[_0x521f4c(0x395)](_0x1305a1);switch(_0x31a2cc['cmd']){case F[_0x521f4c(0x314)]:case F[_0x521f4c(0x2dd)]:{const _0x5ce096=_0x31a2cc[_0x521f4c(0x34a)];return{..._0x31a2cc,'data':_0x5ce096,'cmd':_0x31a2cc[_0x521f4c(0x27b)]};}case F['JOIN']:{const _0xa867a9=_0x31a2cc['joinRsp'];return{..._0x31a2cc,'data':_0xa867a9,'cmd':_0x31a2cc['cmd']};}case F[_0x521f4c(0x217)]:{const _0x3115d3=_0x31a2cc['collaMsg'];switch(_0x3115d3[_0x521f4c(0x131)]){case _0x3167f1[_0x521f4c(0xf7)]:return{..._0x31a2cc,'data':{..._0x3115d3,'data':(_0x170daf=_0x3115d3[_0x521f4c(0xfe)])==null?void 0x0:_0x170daf['cs']},'cmd':_0x31a2cc['cmd']};case _0x3167f1['CHANGESET_ACK']:return{..._0x31a2cc,'data':{..._0x3115d3,'data':(_0x38fe1e=_0x3115d3['csAckEvent'])==null?void 0x0:_0x38fe1e['cs']},'cmd':_0x31a2cc[_0x521f4c(0x27b)]};case _0x3167f1[_0x521f4c(0x119)]:return{..._0x31a2cc,'data':{..._0x3115d3,'data':(_0x34c71e=_0x3115d3[_0x521f4c(0x2e4)])==null?void 0x0:_0x34c71e['cs']},'cmd':_0x31a2cc[_0x521f4c(0x27b)]};case _0x3167f1[_0x521f4c(0x356)]:return{..._0x31a2cc,'data':{..._0x3115d3,'data':(_0x1c5d08=_0x3115d3[_0x521f4c(0x323)])==null?void 0x0:_0x1c5d08['cs']},'cmd':_0x31a2cc[_0x521f4c(0x27b)]};case _0x3167f1[_0x521f4c(0x134)]:return{..._0x31a2cc,'data':{..._0x3115d3,'data':(_0xf5dd0f=_0x3115d3[_0x521f4c(0x201)])==null?void 0x0:_0xf5dd0f['cs']},'cmd':_0x31a2cc[_0x521f4c(0x27b)]};case _0x3167f1[_0x521f4c(0x28c)]:return{..._0x31a2cc,'data':{..._0x3115d3,'data':_0x3115d3[_0x521f4c(0x254)]},'cmd':_0x31a2cc[_0x521f4c(0x27b)]};case _0x3167f1[_0x521f4c(0x136)]:return{..._0x31a2cc,'data':{..._0x3115d3,'data':_0x3115d3[_0x521f4c(0x29f)]},'cmd':_0x31a2cc[_0x521f4c(0x27b)]};case _0x3167f1['USERS_LEAVE']:return{..._0x31a2cc,'data':{..._0x3115d3,'data':_0x3115d3['leaveEvent']},'cmd':_0x31a2cc[_0x521f4c(0x27b)]};case _0x3167f1['LIVESHARE_NEW_HOST']:return{..._0x31a2cc,'data':{..._0x3115d3,'data':_0x3115d3[_0x521f4c(0x389)]},'cmd':_0x31a2cc['cmd']};case _0x3167f1[_0x521f4c(0x2ba)]:case _0x3167f1[_0x521f4c(0x3a5)]:return{..._0x31a2cc,'data':{..._0x3115d3,'data':_0x3115d3[_0x521f4c(0x21a)]},'cmd':_0x31a2cc['cmd']};case _0x3167f1[_0x521f4c(0x12f)]:return{..._0x31a2cc,'data':{..._0x3115d3,'data':_0x3115d3[_0x521f4c(0x389)]},'cmd':_0x31a2cc[_0x521f4c(0x27b)]};case _0x3167f1[_0x521f4c(0xde)]:return{..._0x31a2cc,'data':_0x3115d3,'cmd':_0x31a2cc[_0x521f4c(0x27b)]};case _0x3167f1['COMMENT_UPDATE']:return{..._0x31a2cc,'data':{..._0x3115d3,'data':_0x3115d3[_0x521f4c(0x305)]},'cmd':_0x31a2cc[_0x521f4c(0x27b)]};case _0x3167f1[_0x521f4c(0x36c)]:return{..._0x31a2cc,'data':{..._0x3115d3,'data':_0x3115d3[_0x521f4c(0x28a)]},'cmd':_0x31a2cc[_0x521f4c(0x27b)]};case _0x3167f1[_0x521f4c(0x1f7)]:return{..._0x31a2cc,'data':{..._0x3115d3,'data':_0x3115d3[_0x521f4c(0x342)]},'cmd':_0x31a2cc['cmd']};case _0x3167f1[_0x521f4c(0xff)]:return{..._0x31a2cc,'data':{..._0x3115d3,'data':_0x3115d3[_0x521f4c(0x2da)]},'cmd':_0x31a2cc[_0x521f4c(0x27b)]};default:return _0x31a2cc;}}default:return _0x31a2cc;}}function Hn(_0x5f3d36){var _0x59d426=_0x5bfca8;switch(_0x5f3d36[_0x59d426(0x27b)]){case F[_0x59d426(0x314)]:case F[_0x59d426(0x2dd)]:return JSON[_0x59d426(0x264)]({'cmd':_0x5f3d36[_0x59d426(0x27b)],'routeKey':_0x5f3d36[_0x59d426(0x36f)]});case F[_0x59d426(0xe3)]:{let _0xdab3c8;switch(_0x5f3d36[_0x59d426(0x18e)][_0x59d426(0x131)]){case _0x3167f1[_0x59d426(0x28c)]:{_0xdab3c8={'eventID':_0x3167f1[_0x59d426(0x28c)],'updateCursorEvent':_0x5f3d36[_0x59d426(0x18e)][_0x59d426(0x18e)]};break;}case _0x3167f1[_0x59d426(0x346)]:{_0xdab3c8={'eventID':_0x3167f1[_0x59d426(0x346)],'leaveEvent':_0x5f3d36[_0x59d426(0x18e)][_0x59d426(0x18e)]};break;}case _0x3167f1[_0x59d426(0x136)]:{_0xdab3c8={'eventID':_0x3167f1['USERS_ENTER'],'joinEvent':_0x5f3d36['data']['data']};break;}case _0x3167f1[_0x59d426(0x38e)]:{_0xdab3c8={'eventID':_0x3167f1[_0x59d426(0x38e)],'liveShareNewHost':_0x5f3d36[_0x59d426(0x18e)][_0x59d426(0x18e)]};break;}case _0x3167f1[_0x59d426(0x3a5)]:{_0xdab3c8={'eventID':_0x3167f1[_0x59d426(0x3a5)],'liveShareOperation':_0x5f3d36['data'][_0x59d426(0x18e)]};break;}case _0x3167f1[_0x59d426(0x12f)]:{_0xdab3c8={'eventID':_0x3167f1['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x5f3d36[_0x59d426(0x18e)][_0x59d426(0x18e)]};break;}case _0x3167f1[_0x59d426(0x27c)]:{_0xdab3c8={'eventID':_0x3167f1[_0x59d426(0x27c)],'liveShareRequestHost':_0x5f3d36['data']['data']};break;}case _0x3167f1[_0x59d426(0x2ba)]:{_0xdab3c8={'eventID':_0x3167f1[_0x59d426(0x2ba)]};break;}default:_0xdab3c8={'eventID':_0x5f3d36[_0x59d426(0x18e)]['eventID']};}return JSON[_0x59d426(0x264)]({'cmd':_0x5f3d36['cmd'],'routeKey':_0x5f3d36[_0x59d426(0x36f)],'collaMsg':_0xdab3c8});}case F[_0x59d426(0x266)]:return JSON[_0x59d426(0x264)]({'cmd':_0x5f3d36[_0x59d426(0x27b)],'routeKey':_0x5f3d36[_0x59d426(0x36f)],'joinReq':_0x5f3d36[_0x59d426(0x18e)]});case F['LEAVE']:return JSON[_0x59d426(0x264)]({'cmd':_0x5f3d36[_0x59d426(0x27b)],'routeKey':_0x5f3d36[_0x59d426(0x36f)],'leaveReq':_0x5f3d36['data']});default:throw new Error(_0x59d426(0x13f));}}var kn=Object['defineProperty'],jn=Object[_0x5bfca8(0x2cb)],Bn=(_0x48de75,_0x2c6598,_0x274d50,_0x50a76e)=>{for(var _0x5c5575=_0x50a76e>0x1?void 0x0:_0x50a76e?jn(_0x2c6598,_0x274d50):_0x2c6598,_0x40407f=_0x48de75['length']-0x1,_0x39d4e9;_0x40407f>=0x0;_0x40407f--)(_0x39d4e9=_0x48de75[_0x40407f])&&(_0x5c5575=(_0x50a76e?_0x39d4e9(_0x2c6598,_0x274d50,_0x5c5575):_0x39d4e9(_0x5c5575))||_0x5c5575);return _0x50a76e&&_0x5c5575&&kn(_0x2c6598,_0x274d50,_0x5c5575),_0x5c5575;},Ue=(_0x5694e0,_0x326880)=>(_0x58092d,_0x1b6c22)=>_0x326880(_0x58092d,_0x1b6c22,_0x5694e0);const Ci=_0x29e1a9(_0x5bfca8(0x2f1));function Fn(_0x34aaa4,_0x202833,_0x4b8241){var _0x5a6d49=_0x5bfca8;return _0x34aaa4+'/'+_0x202833+_0x5a6d49(0x287)+_0x4b8241+_0x5a6d49(0x3b5);}let Et=class extends _0x4971ea{constructor(_0x250492,_0xd18d3,_0x3842aa,_0xa200f6,_0x37f586){var _0x28d7e3=_0x5bfca8;super(),this['_injector']=_0x250492,this['_http']=_0xd18d3,this[_0x28d7e3(0x313)]=_0x3842aa,this['_logService']=_0xa200f6,this[_0x28d7e3(0x1c1)]=_0x37f586;}[_0x5bfca8(0x34e)](_0x592666){var _0x6df6b3=_0x5bfca8;const _0x128843=this[_0x6df6b3(0x2ad)][_0x6df6b3(0x3a3)](_0x4bdb07);if(!_0x128843)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x24ca0f=_0x128843[_0x6df6b3(0x34e)](_0x592666);if(!_0x24ca0f)throw new Error(_0x6df6b3(0x2d3));const _0x2007df=new _0x1c6031(),_0x49e0eb=new _0x4268af();_0x2007df['add'](_0x24ca0f[_0x6df6b3(0x2b4)][_0x6df6b3(0xbd)](_0x2bf105=>_0x49e0eb[_0x6df6b3(0x26d)](_0x2bf105))),_0x2007df[_0x6df6b3(0x2ce)](_0x162b76(()=>_0x49e0eb['complete']()));const _0x1f343d=new _0x4268af();_0x2007df[_0x6df6b3(0x2ce)](_0x24ca0f[_0x6df6b3(0x36e)][_0x6df6b3(0xbd)](_0x285a3d=>_0x1f343d['next'](_0x285a3d))),_0x2007df[_0x6df6b3(0x2ce)](_0x162b76(()=>_0x1f343d[_0x6df6b3(0x38d)]()));const _0x54d78f=new _0x4268af();_0x2007df[_0x6df6b3(0x2ce)](_0x24ca0f[_0x6df6b3(0x2ab)][_0x6df6b3(0xbd)](_0x154c96=>{var _0x45cb7d=_0x6df6b3;const _0x1c8a7c=$n(_0x154c96);_0x54d78f[_0x45cb7d(0x26d)](_0x1c8a7c);})),_0x2007df['add'](_0x162b76(()=>_0x54d78f[_0x6df6b3(0x38d)]()));let _0xf3da03;const _0x77b82a=()=>{var _0x23e615=_0x6df6b3;_0x1f343d[_0x23e615(0x26d)](new Event(_0x23e615(0xbb))),_0x49e0eb['next'](new CloseEvent(_0x23e615(0xbb))),_0xf3da03[_0x23e615(0x2b8)]();};return _0xf3da03={'memberID':'','close$':_0x49e0eb[_0x6df6b3(0x176)](),'error$':_0x1f343d[_0x6df6b3(0x176)](),'open$':_0x24ca0f[_0x6df6b3(0x25c)],'message$':_0x54d78f['asObservable'](),'send':_0x1a25fc=>{var _0x268bc5=_0x6df6b3;if(_0x1a25fc['cmd']===F[_0x268bc5(0xe3)]){if(_0x1a25fc[_0x268bc5(0x18e)]['eventID']===_0x3167f1[_0x268bc5(0x1db)]){this[_0x268bc5(0x20f)](_0xf3da03,_0x1a25fc[_0x268bc5(0x18e)])[_0x268bc5(0x1c5)](_0x46f894=>{var _0x39f7a8=_0x268bc5;this['_logService'][_0x39f7a8(0x348)](_0x46f894),_0x77b82a();});return;}if(_0x1a25fc[_0x268bc5(0x18e)][_0x268bc5(0x131)]===_0x3167f1[_0x268bc5(0xb8)]){const _0x441102=_0x1a25fc[_0x268bc5(0x18e)];this[_0x268bc5(0x1d6)](_0x441102)[_0x268bc5(0x37c)](_0xd7b51e=>{var _0xba27f7=_0x268bc5;_0x54d78f[_0xba27f7(0x26d)]({'cmd':F[_0xba27f7(0x217)],'code':Ee['OK'],'routeKey':_0x441102[_0xba27f7(0x18e)][_0xba27f7(0x372)],'routeType':'','data':{'eventID':_0x3167f1[_0xba27f7(0x36b)],'data':{'changesets':_0xd7b51e}}});})[_0x268bc5(0x1c5)](_0x2ac10e=>{var _0x5375=_0x268bc5;this[_0x5375(0x2bf)][_0x5375(0x348)](_0x2ac10e),_0x77b82a();});return;}}_0x24ca0f[_0x268bc5(0x187)](Hn(_0x1a25fc));},'close':()=>{var _0x27f38b=_0x6df6b3;_0x24ca0f[_0x27f38b(0x2b8)](),_0x2007df[_0x27f38b(0x2f0)]();}},_0xf3da03;}async[_0x5bfca8(0x20f)](_0x347338,_0x5e5a34){var _0x4b45d8=_0x5bfca8,_0x5478fe,_0x56e8eb;const {unitType:_0x52826c,unitID:_0x285354,changeset:_0x1bbb55}=_0x5e5a34[_0x4b45d8(0x18e)],_0x2cd5b8={'unitID':_0x285354,'memberID':_0x347338['memberID'],'type':_0x52826c,'changeset':_0x5e9c6b(_0x1bbb55)},_0x2c1ed3=this['_configService']['getConfig'](Un),_0x23c2b0=this[_0x4b45d8(0x313)][_0x4b45d8(0x242)](q),_0x49c283=Fn((_0x56e8eb=(_0x5478fe=_0x23c2b0==null?void 0x0:_0x23c2b0['collabSubmitChangesetUrl'])!=null?_0x5478fe:_0x2c1ed3)!=null?_0x56e8eb:An,_0x52826c,_0x285354);try{await this[_0x4b45d8(0x21b)][_0x4b45d8(0x295)](_0x49c283,{'body':_0x2cd5b8});}catch(_0x1ec594){throw this['_logService']['error'](_0x4b45d8(0x391),_0x4b45d8(0x1b1)),_0x1ec594;}}async['_fetchMissChangesets'](_0x53801c){var _0x1fc6b3=_0x5bfca8;const {unitID:_0x232990,from:_0x5830f5,to:_0x25f69c,unitType:_0x3632e2}=_0x53801c[_0x1fc6b3(0x18e)];return(await this['_snapshotServerService'][_0x1fc6b3(0x25d)]({'metadata':void 0x0},{'unitID':_0x232990,'type':_0x3632e2,'from':_0x5830f5,'to':_0x25f69c}))[_0x1fc6b3(0x25f)];}};Et=Bn([Ue(0x0,_0x285a0e(_0x22efd7)),Ue(0x1,_0x285a0e(_0x48889b)),Ue(0x2,_0x44e247),Ue(0x3,_0x43c1be),Ue(0x4,_0x410261)],Et);const Vn=_0x5bfca8(0x2ae);function Gn(_0xc5fc6f){var _0x371b22=_0x5bfca8;return JSON['stringify'](_0xc5fc6f)[_0x371b22(0xc8)];}class Ri{constructor(){var _0x17c2e2=_0x5bfca8;N(this,_0x17c2e2(0x35b),new _0x4268af()),N(this,_0x17c2e2(0xcc),this[_0x17c2e2(0x35b)][_0x17c2e2(0x176)]());}['onCommentUpdate'](_0x579812){var _0x35cd40=_0x5bfca8;this[_0x35cd40(0x35b)]['next'](_0x579812);}}var Wn=Object[_0x5bfca8(0x37e)],Kn=Object['getOwnPropertyDescriptor'],Yn=(_0x517908,_0x46d96f,_0x54e698,_0x210443)=>{var _0x173de9=_0x5bfca8;for(var _0x40612f=_0x210443>0x1?void 0x0:_0x210443?Kn(_0x46d96f,_0x54e698):_0x46d96f,_0x2e620d=_0x517908[_0x173de9(0xc8)]-0x1,_0x2c878a;_0x2e620d>=0x0;_0x2e620d--)(_0x2c878a=_0x517908[_0x2e620d])&&(_0x40612f=(_0x210443?_0x2c878a(_0x46d96f,_0x54e698,_0x40612f):_0x2c878a(_0x40612f))||_0x40612f);return _0x210443&&_0x40612f&&Wn(_0x46d96f,_0x54e698,_0x40612f),_0x40612f;},Kt=(_0x74bdd3,_0x436314)=>(_0x2ab3a8,_0x53b9ce)=>_0x436314(_0x2ab3a8,_0x53b9ce,_0x74bdd3);let xe=class extends _0x4971ea{constructor(_0x2809b8,_0x1c20d9){var _0xdc7588=_0x5bfca8;super(),N(this,_0xdc7588(0x1cb),new Map()),N(this,_0xdc7588(0x139),new _0x4268af()),(this['_univerInstanceService']=_0x2809b8,this[_0xdc7588(0x148)]=_0x1c20d9,this[_0xdc7588(0x2e9)](_0x230e2e(this[_0xdc7588(0xc3)][_0xdc7588(0x2f4)](_0x1f23c0[_0xdc7588(0x200)])[_0xdc7588(0x3b9)](_0x15918f(_0x399fc3=>_0x399fc3[_0xdc7588(0x2d9)]())),this[_0xdc7588(0xc3)][_0xdc7588(0x2f4)](_0x1f23c0[_0xdc7588(0x1aa)])[_0xdc7588(0x3b9)](_0x15918f(_0x412b47=>_0x412b47[_0xdc7588(0x2d9)]())),this[_0xdc7588(0xc3)]['getTypeOfUnitDisposed$'](_0x1f23c0[_0xdc7588(0x37f)])[_0xdc7588(0x3b9)](_0x15918f(_0x104abd=>_0x104abd[_0xdc7588(0x2d9)]())))[_0xdc7588(0xbd)](_0x4965f7=>this[_0xdc7588(0xe0)](_0x4965f7))));}[_0x5bfca8(0x25e)](_0x4a5ed1){var _0x190768=_0x5bfca8;return this[_0x190768(0x1cb)][_0x190768(0x2bc)](_0x4a5ed1)?_0x278228(this[_0x190768(0x1cb)][_0x190768(0x3a3)](_0x4a5ed1)):this[_0x190768(0x139)][_0x190768(0x3b9)](_0x15918f(_0xf49e4c=>{var _0x5bf717=_0x190768;if(_0xf49e4c===_0x4a5ed1)return this[_0x5bf717(0x1cb)]['get'](_0xf49e4c);}));}[_0x5bfca8(0x223)](_0x417da2){var _0x353df8=_0x5bfca8;this[_0x353df8(0x148)][_0x353df8(0x223)](_0x417da2);}['getCurrentUser'](){var _0x1fe9d8=_0x5bfca8;return this['_userManagerService'][_0x1fe9d8(0x182)]();}[_0x5bfca8(0xc4)](_0x1cc9fe,_0x1941d9){var _0x35cf07=_0x5bfca8;let _0x4411e3=this['_roomMembers']['get'](_0x1cc9fe);_0x4411e3||(_0x4411e3=new qn(),this[_0x35cf07(0x1cb)][_0x35cf07(0x122)](_0x1cc9fe,_0x4411e3),this['_roomCreated$'][_0x35cf07(0x26d)](_0x1cc9fe)),_0x4411e3[_0x35cf07(0xc4)](_0x1941d9);}[_0x5bfca8(0x27d)](_0x83e07e,_0x282420){var _0x441567=_0x5bfca8;const _0x416925=this['_roomMembers'][_0x441567(0x3a3)](_0x83e07e);_0x416925&&_0x416925[_0x441567(0x27d)](_0x282420);}[_0x5bfca8(0x1b3)](_0xd3d4d0){var _0x5af4f1=_0x5bfca8;return this[_0x5af4f1(0x1cb)][_0x5af4f1(0x3a3)](_0xd3d4d0);}[_0x5bfca8(0x120)](_0x514da3,_0x4a5f70){var _0x47cdac=_0x5bfca8;const _0x2f8acb=this[_0x47cdac(0x1cb)]['get'](_0x514da3);if(_0x2f8acb)return _0x2f8acb['getMember'](_0x4a5f70);}[_0x5bfca8(0xe0)](_0x590237){var _0x541070=_0x5bfca8;const _0x20b0ed=this[_0x541070(0x1cb)][_0x541070(0x3a3)](_0x590237);_0x20b0ed&&(_0x20b0ed[_0x541070(0x2f0)](),this[_0x541070(0x1cb)][_0x541070(0xe1)](_0x590237));}[_0x5bfca8(0x2f0)](){var _0x331b04=_0x5bfca8;this[_0x331b04(0x1cb)][_0x331b04(0x33e)](_0x5aec37=>_0x5aec37['dispose']()),this[_0x331b04(0x1cb)][_0x331b04(0x30c)](),this[_0x331b04(0x139)][_0x331b04(0x38d)]();}};xe=Yn([Kt(0x0,_0x34354e),Kt(0x1,_0x285a0e(_0x18f24f))],xe);class qn extends _0x4971ea{constructor(){var _0x1fc288=_0x5bfca8;super(...arguments),N(this,_0x1fc288(0x3b3),new Map()),N(this,_0x1fc288(0x230),new _0x3de5fe(this[_0x1fc288(0x3b3)])),N(this,_0x1fc288(0x355),this[_0x1fc288(0x230)][_0x1fc288(0x176)]());}[_0x5bfca8(0x2f0)](){var _0x1bd9e7=_0x5bfca8;this[_0x1bd9e7(0x3b3)][_0x1bd9e7(0x30c)]();}['updateMember'](_0x4aaef8){var _0x47c92e=_0x5bfca8;this[_0x47c92e(0x3b3)]['set'](_0x4aaef8[_0x47c92e(0x347)],_0x4aaef8),this[_0x47c92e(0x2c5)]();}[_0x5bfca8(0x27d)](_0x46cf40){var _0x469bb7=_0x5bfca8;this[_0x469bb7(0x3b3)][_0x469bb7(0xe1)](_0x46cf40);}['getMember'](_0x286dec){var _0x922d61=_0x5bfca8;return this[_0x922d61(0x3b3)]['get'](_0x286dec);}[_0x5bfca8(0x15b)](){var _0x3bb4cf=_0x5bfca8;return Array[_0x3bb4cf(0x15a)](this['_members']['values']());}[_0x5bfca8(0x2c5)](){var _0x5b1fd3=_0x5bfca8;this['_members$'][_0x5b1fd3(0x26d)](this[_0x5b1fd3(0x3b3)]);}}var zn=Object['defineProperty'],Jn=Object[_0x5bfca8(0x2cb)],Xn=(_0x55074d,_0x310ffd,_0xb91542,_0xe67ce0)=>{var _0x574abb=_0x5bfca8;for(var _0x43a86c=_0xe67ce0>0x1?void 0x0:_0xe67ce0?Jn(_0x310ffd,_0xb91542):_0x310ffd,_0x2e3333=_0x55074d[_0x574abb(0xc8)]-0x1,_0x4e0c82;_0x2e3333>=0x0;_0x2e3333--)(_0x4e0c82=_0x55074d[_0x2e3333])&&(_0x43a86c=(_0xe67ce0?_0x4e0c82(_0x310ffd,_0xb91542,_0x43a86c):_0x4e0c82(_0x43a86c))||_0x43a86c);return _0xe67ce0&&_0x43a86c&&zn(_0x310ffd,_0xb91542,_0x43a86c),_0x43a86c;},me=(_0x14b00b,_0x459b82)=>(_0xe05e68,_0x5e9f06)=>_0x459b82(_0xe05e68,_0x5e9f06,_0x14b00b),Te=(_0x3e2dcb=>(_0x3e2dcb[_0x3e2dcb[_0x5bfca8(0xd3)]=0x0]=_0x5bfca8(0xd3),_0x3e2dcb[_0x3e2dcb[_0x5bfca8(0xc1)]=0x1]=_0x5bfca8(0xc1),_0x3e2dcb[_0x3e2dcb[_0x5bfca8(0x1b2)]=0x2]=_0x5bfca8(0x1b2),_0x3e2dcb[_0x3e2dcb[_0x5bfca8(0x259)]=0x3]=_0x5bfca8(0x259),_0x3e2dcb))(Te||{});const Yt={[Ee[_0x5bfca8(0x26e)]]:_0x5bfca8(0x1e3),[Ee[_0x5bfca8(0x2f8)]]:_0x5bfca8(0x2ee),[Ee[_0x5bfca8(0x33f)]]:'session.room-not-exists',[Ee[_0x5bfca8(0x2f7)]]:_0x5bfca8(0x1a2),[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x5bfca8(0x109)};let It=class extends _0x13f3a3{constructor(_0x5967a6,_0xf17160,_0x3145a5,_0x1c1068,_0x178b9a,_0x4908d3,_0x169d65,_0x5c020b,_0x22a865){var _0x530a7d=_0x5bfca8;super(),N(this,_0x530a7d(0xc5),new _0x3de5fe(0x0)),N(this,_0x530a7d(0x1d0),this[_0x530a7d(0xc5)][_0x530a7d(0x176)]()),N(this,'_event$',new _0x4268af()),N(this,_0x530a7d(0x147),this[_0x530a7d(0x1ad)]['asObservable']()),N(this,_0x530a7d(0x231)),N(this,'_socketMessageSubscription'),N(this,_0x530a7d(0xaf)),N(this,_0x530a7d(0x396),!0x1),N(this,'_telemetryInfo',null),(this[_0x530a7d(0x302)]=_0x5967a6,this['_logService']=_0x3145a5,this[_0x530a7d(0x313)]=_0x1c1068,this['_localeService']=_0x178b9a,this[_0x530a7d(0x2db)]=_0x4908d3,this[_0x530a7d(0x35a)]=_0x169d65,this[_0x530a7d(0xe4)]=_0x5c020b,this['_telemetryService']=_0x22a865,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0xf17160[_0x530a7d(0x3b9)](_0x22b2ec(this['dispose$']))[_0x530a7d(0xbd)](_0x4108f0=>{var _0xafde08=_0x530a7d,_0x3f56ac;typeof _0x4108f0>'u'||(this[_0xafde08(0x231)]=_0x4108f0,_0x4108f0?(this[_0xafde08(0x357)](_0x4108f0),this['_socketMessageSubscription']=_0x4108f0[_0xafde08(0x2ab)][_0xafde08(0xbd)](_0x11bc94=>{var _0x17cb48=_0xafde08;_0x11bc94[_0x17cb48(0x36f)]===this['_unitID']&&this[_0x17cb48(0x15f)](_0x11bc94);})):(this[_0xafde08(0x173)](),this[_0xafde08(0xc5)][_0xafde08(0x26d)](0x2),(_0x3f56ac=this[_0xafde08(0x35f)])==null||_0x3f56ac[_0xafde08(0x14f)](),this[_0xafde08(0x35f)]=null));}));}get[_0x5bfca8(0x211)](){var _0x5388db=_0x5bfca8;return this[_0x5388db(0xc5)][_0x5388db(0x340)]();}[_0x5bfca8(0x265)](){var _0x79caf6=_0x5bfca8,_0x2be4d2,_0x473c48;return(_0x473c48=(_0x2be4d2=this[_0x79caf6(0x231)])==null?void 0x0:_0x2be4d2[_0x79caf6(0x347)])!=null?_0x473c48:null;}[_0x5bfca8(0x2f0)](){var _0xdb710b=_0x5bfca8;super[_0xdb710b(0x2f0)](),this[_0xdb710b(0x1e1)][_0xdb710b(0x26d)](),this[_0xdb710b(0x1e1)][_0xdb710b(0x38d)]();}['close'](){var _0x577034=_0x5bfca8,_0xc05795,_0x1ed2da;this[_0x577034(0x173)](),(_0xc05795=this[_0x577034(0x231)])==null||_0xc05795[_0x577034(0x187)]({'cmd':F[_0x577034(0x286)],'data':{'roomID':this[_0x577034(0x302)]}}),(_0x1ed2da=this[_0x577034(0x231)])==null||_0x1ed2da['close'](),this[_0x577034(0x1ad)][_0x577034(0x38d)](),this[_0x577034(0xc5)][_0x577034(0x38d)](),this[_0x577034(0x2f0)]();}[_0x5bfca8(0x15f)](_0x16f387){var _0x360204=_0x5bfca8;_0x16f387[_0x360204(0x27b)]===F[_0x360204(0x266)]?this['_onJoinRoomEvent'](_0x16f387):_0x16f387[_0x360204(0x27b)]===F[_0x360204(0x217)]&&this[_0x360204(0x175)](_0x16f387);}[_0x5bfca8(0x357)](_0x240d1a){var _0x5ae036=_0x5bfca8;this['_sessionStatus$'][_0x5ae036(0x26d)](0x1),_0x240d1a['send']({'cmd':F[_0x5ae036(0x266)],'routeKey':this[_0x5ae036(0x302)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x5bfca8(0x385)](_0xbc4059){var _0x35481e=_0x5bfca8,_0x1af842;if(_0xbc4059['code']in Yt){this[_0x35481e(0xe4)][_0x35481e(0x275)]({'id':se[_0x35481e(0x23b)],'data':Yt[_0xbc4059['code']]}),this[_0x35481e(0xc5)][_0x35481e(0x26d)](0x2);return;}this[_0x35481e(0xc5)]['next'](0x3);const _0x4984f0=(_0x1af842=_0xbc4059['data'][_0x35481e(0x319)][this['_unitID']])==null?void 0x0:_0x1af842[_0x35481e(0x1f5)];_0x4984f0&&_0x4984f0[_0x35481e(0x33e)](_0x201afe=>this[_0x35481e(0x2db)][_0x35481e(0xc4)](this[_0x35481e(0x302)],_0x201afe));}[_0x5bfca8(0x175)](_0x343e86){var _0x1cea27=_0x5bfca8;try{const _0x450315=_0x343e86[_0x1cea27(0x18e)];switch(_0x450315[_0x1cea27(0x131)]){case _0x3167f1['USERS_ENTER']:this[_0x1cea27(0x2c8)](_0x450315),this[_0x1cea27(0x1ad)][_0x1cea27(0x26d)](_0x450315);break;case _0x3167f1['USERS_LEAVE']:this[_0x1cea27(0x2dc)](_0x450315),this[_0x1cea27(0x1ad)]['next'](_0x450315);break;case _0x3167f1[_0x1cea27(0x2b5)]:case _0x3167f1[_0x1cea27(0x134)]:this[_0x1cea27(0xf5)](),this[_0x1cea27(0x219)](),this['_event$'][_0x1cea27(0x26d)](_0x450315);break;case _0x3167f1[_0x1cea27(0xde)]:this[_0x1cea27(0x2bf)][_0x1cea27(0x348)](_0x1cea27(0x1f0)+JSON['stringify'](_0x450315)),this[_0x1cea27(0x1ad)]['next'](_0x450315);break;case _0x3167f1['COMMENT_UPDATE']:this[_0x1cea27(0x35a)]['onCommentUpdate'](_0x450315[_0x1cea27(0x18e)]),this[_0x1cea27(0x1ad)][_0x1cea27(0x26d)](_0x450315);break;default:this['_event$']['next'](_0x450315);}}catch(_0x327abe){this[_0x1cea27(0x2bf)]['error'](_0x327abe,_0x343e86);}}[_0x5bfca8(0x2c8)](_0x1f7552){var _0x3690ac=_0x5bfca8;this['_memberService'][_0x3690ac(0xc4)](this[_0x3690ac(0x302)],_0x1f7552['data']);}[_0x5bfca8(0x2dc)](_0xa54fff){var _0x40a6c5=_0x5bfca8;this['_memberService'][_0x40a6c5(0x27d)](this[_0x40a6c5(0x302)],_0xa54fff['data'][_0x40a6c5(0x347)]);}async[_0x5bfca8(0x187)](_0x1fc747,_0x234e07){var _0x64a965=_0x5bfca8;if(this[_0x64a965(0x211)]!==0x3||!this['_socket'])throw new Error(_0x64a965(0x1af));try{_0x1fc747[_0x64a965(0x131)]===_0x3167f1[_0x64a965(0x1db)]&&(this[_0x64a965(0x290)](),this[_0x64a965(0x2b3)](_0x1fc747)),this['_socket'][_0x64a965(0x187)]({'cmd':F['INGEST'],'routeKey':_0x234e07,'routeType':'','data':_0x1fc747});}catch(_0x572516){this[_0x64a965(0x2bf)][_0x64a965(0x348)](_0x572516);}}[_0x5bfca8(0x290)](){var _0x157e20=_0x5bfca8,_0x1788ea;this[_0x157e20(0xaf)]=setTimeout(()=>{var _0x4f003d=_0x157e20;this[_0x4f003d(0xaf)]=null,this[_0x4f003d(0xe4)][_0x4f003d(0x275)]({'id':se[_0x4f003d(0x108)]});},(_0x1788ea=this['_configService'][_0x157e20(0x242)](Si))!=null?_0x1788ea:Ei);}[_0x5bfca8(0x219)](){var _0x4d6eb2=_0x5bfca8;this[_0x4d6eb2(0xaf)]&&(clearTimeout(this[_0x4d6eb2(0xaf)]),this['_collaborationTimeoutTimer']=null);}[_0x5bfca8(0x2b3)](_0x232674){var _0x58068d=_0x5bfca8;if(!this['_shouldReportTelemetry'])return;const {data:_0x551b7a}=_0x232674,{unitID:_0x6c4791,changeset:_0x55162b}=_0x551b7a,{mutations:_0x4178e4,type:_0x20822d}=_0x55162b;this[_0x58068d(0x2ca)]={'unitId':_0x6c4791,'type':_0x20822d,'startTime':performance[_0x58068d(0x329)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x4178e4)};}[_0x5bfca8(0xf5)](){var _0x2bfbf0=_0x5bfca8;if(this[_0x2bfbf0(0x396)]){if(!this[_0x2bfbf0(0x2ca)]){this['_logService'][_0x2bfbf0(0x348)](_0x2bfbf0(0x391),_0x2bfbf0(0x191));return;}this[_0x2bfbf0(0x2ca)][_0x2bfbf0(0x26f)]=performance['now'](),this['_telemetryInfo']['duration']=this[_0x2bfbf0(0x2ca)][_0x2bfbf0(0x26f)]-this[_0x2bfbf0(0x2ca)][_0x2bfbf0(0xf4)],this[_0x2bfbf0(0x1ac)][_0x2bfbf0(0x33a)](Vn,this['_telemetryInfo']),this[_0x2bfbf0(0x2ca)]=null;}}[_0x5bfca8(0x173)](){var _0xa7b2b1=_0x5bfca8;this[_0xa7b2b1(0x2ca)]=null;}};It=Xn([me(0x2,_0x43c1be),me(0x3,_0x44e247),me(0x4,_0x285a0e(_0xc8816f)),me(0x5,_0x285a0e(xe)),me(0x6,_0x285a0e(Ri)),me(0x7,_0x285a0e(pe)),me(0x8,_0x22b405(_0x27c86e))],It);var Zn=Object[_0x5bfca8(0x37e)],Qn=Object[_0x5bfca8(0x2cb)],er=(_0x3673e1,_0x2ab52d,_0x4d980e,_0xf10ebc)=>{for(var _0xc93059=_0xf10ebc>0x1?void 0x0:_0xf10ebc?Qn(_0x2ab52d,_0x4d980e):_0x2ab52d,_0x32f1ee=_0x3673e1['length']-0x1,_0x3892cf;_0x32f1ee>=0x0;_0x32f1ee--)(_0x3892cf=_0x3673e1[_0x32f1ee])&&(_0xc93059=(_0xf10ebc?_0x3892cf(_0x2ab52d,_0x4d980e,_0xc93059):_0x3892cf(_0xc93059))||_0xc93059);return _0xf10ebc&&_0xc93059&&Zn(_0x2ab52d,_0x4d980e,_0xc93059),_0xc93059;},ge=(_0x5d60c1,_0x26ae5f)=>(_0x24079d,_0x18036b)=>_0x26ae5f(_0x24079d,_0x18036b,_0x5d60c1);let Le=class extends _0x4971ea{constructor(_0x15dd34,_0x37afbf,_0x167d4f,_0x3fdf9e,_0x37ad1c,_0x37cd45,_0xb0ac61){var _0x231e42=_0x5bfca8;super(),N(this,'_socket$',new _0x3de5fe(void 0x0)),N(this,_0x231e42(0x1a5),this[_0x231e42(0x1a0)][_0x231e42(0x176)]()),N(this,_0x231e42(0x228),null),N(this,_0x231e42(0x296),new Map()),N(this,'_status$',new _0x3de5fe(Te['IDLE'])),N(this,_0x231e42(0x2c6),this[_0x231e42(0x29e)]['asObservable']()),N(this,_0x231e42(0x29d),!0x1),N(this,_0x231e42(0x1a1)),N(this,_0x231e42(0xcb),0x0),N(this,_0x231e42(0x2e3)),N(this,_0x231e42(0x2b7)),(this[_0x231e42(0x2ad)]=_0x15dd34,this['_logService']=_0x37afbf,this[_0x231e42(0x313)]=_0x167d4f,this[_0x231e42(0x1e5)]=_0x3fdf9e,this[_0x231e42(0x11c)]=_0x37ad1c,this[_0x231e42(0xe4)]=_0x37cd45,this[_0x231e42(0x384)]=_0xb0ac61,this['_listenToNetworkCondition']());}get[_0x5bfca8(0x231)](){var _0x46a039=_0x5bfca8;return this[_0x46a039(0x1a0)][_0x46a039(0x340)]();}['_listenToNetworkCondition'](){var _0x17bfe4=_0x5bfca8;this['_networkConditionService']&&this['disposeWithMe'](this['_networkConditionService'][_0x17bfe4(0x27f)][_0x17bfe4(0xbd)](_0x4457c0=>{var _0x265b29=_0x17bfe4;_0x4457c0&&!this[_0x265b29(0x231)]&&this['reconnect'](),_0x4457c0||this[_0x265b29(0x16f)]();}));}[_0x5bfca8(0x2f0)](){var _0x1c939b=_0x5bfca8;super['dispose'](),this['_sessions'][_0x1c939b(0x33e)](_0x50c2af=>_0x50c2af['dispose']()),this[_0x1c939b(0x296)][_0x1c939b(0x30c)](),this[_0x1c939b(0x29e)][_0x1c939b(0x38d)]();}async['requireSession'](_0x15a051){var _0x552167=_0x5bfca8;if(this['_sessions']['has'](_0x15a051))return this['_sessions'][_0x552167(0x3a3)](_0x15a051);this[_0x552167(0x398)]();const _0x66e433=this[_0x552167(0x2ad)]['createInstance'](It,_0x15a051,this['_socket$']['asObservable']());return this[_0x552167(0x296)][_0x552167(0x122)](_0x15a051,_0x66e433),_0x66e433;}['closeSession'](_0x1dce53){var _0x28f03e=_0x5bfca8,_0x407a20;const _0x4cfe6e=this[_0x28f03e(0x296)]['get'](_0x1dce53);_0x4cfe6e&&(this['_sessions'][_0x28f03e(0xe1)](_0x1dce53),_0x4cfe6e[_0x28f03e(0x2b8)]()),this['_sessions'][_0x28f03e(0x28f)]||(_0x407a20=this[_0x28f03e(0x231)])==null||_0x407a20[_0x28f03e(0x2b8)]();}[_0x5bfca8(0x2b2)](){var _0x5a0899=_0x5bfca8;this[_0x5a0899(0xcb)]=0x0,this[_0x5a0899(0x1a1)]!=null&&(clearTimeout(this[_0x5a0899(0x1a1)]),this[_0x5a0899(0x1a1)]=null),this['_tryReconnect']();}async['_getSessionTicket'](){var _0x36be61=_0x5bfca8,_0x2fa97e,_0x55fe4b,_0x2ecb8d;const _0x2d354b=this[_0x36be61(0x313)][_0x36be61(0x242)](q),_0x56035a=(_0x2fa97e=_0x2d354b==null?void 0x0:_0x2d354b['wsSessionTicketUrl'])!=null?_0x2fa97e:On;return(_0x2ecb8d=(_0x55fe4b=(await this['_httpService']['get'](_0x56035a,{'headers':{'Content-Type':_0x36be61(0x380)}}))[_0x36be61(0x15d)])==null?void 0x0:_0x55fe4b[_0x36be61(0x38c)])!=null?_0x2ecb8d:'';}[_0x5bfca8(0x349)](_0x162b37){var _0x99c5c5=_0x5bfca8,_0xfcbe35,_0x85a92b;const _0x5b0083=this[_0x99c5c5(0x313)][_0x99c5c5(0x242)](Rn),_0x3829d9=this['_configService'][_0x99c5c5(0x242)](q),_0x56db77=(_0x85a92b=(_0xfcbe35=_0x3829d9==null?void 0x0:_0x3829d9['collabWebSocketUrl'])!=null?_0xfcbe35:_0x5b0083)!=null?_0x85a92b:bn,_0xbdc864=typeof window>'u'?new URL(_0x56db77):new URL(_0x56db77,window[_0x99c5c5(0x22a)][_0x99c5c5(0x105)]);_0xbdc864[_0x99c5c5(0x252)][_0x99c5c5(0x122)](_0x99c5c5(0x277),_0x162b37);const _0xacaf75=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x99c5c5(0x22a)]['search']);return _0xacaf75[_0x99c5c5(0x3a3)](_0x99c5c5(0x188))&&_0xbdc864[_0x99c5c5(0x252)][_0x99c5c5(0x122)](_0x99c5c5(0x188),_0xacaf75['get']('runId')),_0xbdc864[_0x99c5c5(0x203)]();}async[_0x5bfca8(0x278)](){var _0x245074=_0x5bfca8;const _0xc96acf=await this[_0x245074(0x235)](),_0x100ae3=this['_createSocketURL'](_0xc96acf),_0xce380e=this[_0x245074(0x1e5)][_0x245074(0x34e)](_0x100ae3);return this['_candidateSocket']=_0xce380e,_0xce380e;}async[_0x5bfca8(0x398)](){var _0x411ada=_0x5bfca8,_0x5449a9,_0x34756f;try{const _0xae2dbb=(_0x34756f=(_0x5449a9=this[_0x411ada(0x231)])!=null?_0x5449a9:this[_0x411ada(0x228)])!=null?_0x34756f:await this[_0x411ada(0x278)]();if(_0xae2dbb){const _0x26cb1d=_0xae2dbb[_0x411ada(0x187)];_0xae2dbb['send']=_0x5218c8=>(this[_0x411ada(0x1b0)](),_0x26cb1d['apply'](_0xae2dbb,[_0x5218c8])),_0xae2dbb[_0x411ada(0x2ab)][_0x411ada(0xbd)](_0xaf5a89=>this[_0x411ada(0x20d)](_0xae2dbb,_0xaf5a89)),_0xae2dbb[_0x411ada(0x36e)][_0x411ada(0x3b9)](_0x28869a(0x1))[_0x411ada(0xbd)](_0xd1064=>this[_0x411ada(0x2bf)][_0x411ada(0x348)](_0x411ada(0xb5),_0xd1064)),_0xae2dbb[_0x411ada(0x25c)]['pipe'](_0x28869a(0x1))[_0x411ada(0xbd)](()=>{var _0x58ddab=_0x411ada;this[_0x58ddab(0x37b)](_0xae2dbb);}),_0xae2dbb[_0x411ada(0x2b4)][_0x411ada(0x3b9)](_0x28869a(0x1))[_0x411ada(0xbd)](_0x565c62=>{var _0x442b7b=_0x411ada;this[_0x442b7b(0x2bf)][_0x442b7b(0x2fd)](_0x442b7b(0x2ff),_0x442b7b(0x2e5),_0x565c62),this[_0x442b7b(0x23a)]();});}}catch(_0x4513f2){this[_0x411ada(0x2bf)]['error'](_0x4513f2),this[_0x411ada(0x23a)]();}}['_onConnectionOpen'](_0x32a8e6){var _0x2e5ddb=_0x5bfca8;this[_0x2e5ddb(0x2bf)][_0x2e5ddb(0x2fd)]('[CollaborationSessionService]',_0x2e5ddb(0x24d)),_0x32a8e6[_0x2e5ddb(0x187)]({'cmd':F[_0x2e5ddb(0x2dd)]}),this[_0x2e5ddb(0x1b0)]();}['_onOffline'](){var _0x1357c1=_0x5bfca8;this[_0x1357c1(0x29d)]=!0x1,this[_0x1357c1(0x228)]=null,this[_0x1357c1(0x29e)][_0x1357c1(0x26d)](Te[_0x1357c1(0x1b2)]),this[_0x1357c1(0x1a0)]['next'](null),this[_0x1357c1(0x24a)](),this[_0x1357c1(0x330)]();}[_0x5bfca8(0x23a)](){var _0x4c9219=_0x5bfca8,_0x331179;this[_0x4c9219(0x16f)](),this['_retryCount']<((_0x331179=this[_0x4c9219(0x313)][_0x4c9219(0x242)](Pn))!=null?_0x331179:wn)?(this[_0x4c9219(0xe4)][_0x4c9219(0x275)]({'id':se[_0x4c9219(0x2c9)]}),this[_0x4c9219(0xe5)]()):this[_0x4c9219(0xe4)]['emitEvent']({'id':se['SOCKET_FAILED']});}['_tryReconnect'](){var _0x38fc20=_0x5bfca8,_0x3e204d;const _0x318183=this[_0x38fc20(0xcb)],_0x29693c=this[_0x38fc20(0x313)][_0x38fc20(0x242)](q),_0x539094=_0x318183===0x0?0x0:((_0x3e204d=_0x29693c==null?void 0x0:_0x29693c[_0x38fc20(0x238)])!=null?_0x3e204d:Dn)*0x2**_0x318183;this[_0x38fc20(0x1a1)]=setTimeout(()=>{var _0x2bb1b6=_0x38fc20;clearTimeout(this['_retryConnectingTimer']),this[_0x2bb1b6(0x1a1)]=null,this[_0x2bb1b6(0x398)]();},_0x539094),this[_0x38fc20(0xcb)]+=0x1;}['_onMessage'](_0x39abb4,_0x57f6f0){var _0x501718=_0x5bfca8;const {cmd:_0x19d0f7}=_0x57f6f0;_0x19d0f7===F[_0x501718(0x2dd)]&&!this['_socketReady']&&(_0x39abb4[_0x501718(0x347)]=_0x57f6f0[_0x501718(0x18e)][_0x501718(0x347)],this[_0x501718(0x1a0)][_0x501718(0x26d)](_0x39abb4),this['_status$']['next'](Te['ONLINE']),this[_0x501718(0x29d)]=!0x0,this['_candidateSocket']=null),_0x19d0f7===F[_0x501718(0x314)]&&this[_0x501718(0x24a)](),this['_rescheduleHeartbeat']();}[_0x5bfca8(0x1b0)](){var _0x575ea7=_0x5bfca8,_0x13ae65;this[_0x575ea7(0x330)](),this[_0x575ea7(0x2e3)]=setTimeout(()=>this[_0x575ea7(0x1ce)](),(_0x13ae65=this[_0x575ea7(0x313)][_0x575ea7(0x242)](yn))!=null?_0x13ae65:Nn);}[_0x5bfca8(0x1ce)](){var _0x2785b9=_0x5bfca8;this['_socket'][_0x2785b9(0x187)]({'cmd':F['HEARTBEAT']}),this[_0x2785b9(0x233)]();}[_0x5bfca8(0x233)](){var _0x30bc9c=_0x5bfca8,_0x11cff0;this[_0x30bc9c(0x2b7)]=setTimeout(()=>this[_0x30bc9c(0x23a)](),(_0x11cff0=this[_0x30bc9c(0x313)][_0x30bc9c(0x242)](Si))!=null?_0x11cff0:Ei);}['_clearHeartbeatTimer'](){this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x5bfca8(0x24a)](){var _0x4d15b6=_0x5bfca8;this[_0x4d15b6(0x2b7)]!=null&&(clearTimeout(this[_0x4d15b6(0x2b7)]),this[_0x4d15b6(0x2b7)]=null);}};Le=er([ge(0x0,_0x285a0e(_0x22efd7)),ge(0x1,_0x43c1be),ge(0x2,_0x44e247),ge(0x3,Ci),ge(0x4,_0x285a0e(_0x48889b)),ge(0x5,_0x285a0e(pe)),ge(0x6,_0x22b405(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x5bfca8(0x306)]((n+0x100)['toString'](0x10)['slice'](0x1));function tr(_0x16f63b,_0x5f10a5=0x0){var _0x33d5d0=_0x5bfca8;return(V[_0x16f63b[_0x5f10a5+0x0]]+V[_0x16f63b[_0x5f10a5+0x1]]+V[_0x16f63b[_0x5f10a5+0x2]]+V[_0x16f63b[_0x5f10a5+0x3]]+'-'+V[_0x16f63b[_0x5f10a5+0x4]]+V[_0x16f63b[_0x5f10a5+0x5]]+'-'+V[_0x16f63b[_0x5f10a5+0x6]]+V[_0x16f63b[_0x5f10a5+0x7]]+'-'+V[_0x16f63b[_0x5f10a5+0x8]]+V[_0x16f63b[_0x5f10a5+0x9]]+'-'+V[_0x16f63b[_0x5f10a5+0xa]]+V[_0x16f63b[_0x5f10a5+0xb]]+V[_0x16f63b[_0x5f10a5+0xc]]+V[_0x16f63b[_0x5f10a5+0xd]]+V[_0x16f63b[_0x5f10a5+0xe]]+V[_0x16f63b[_0x5f10a5+0xf]])[_0x33d5d0(0x2eb)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x3ff72a=_0x5bfca8;if(!ut){if(typeof crypto>'u'||!crypto[_0x3ff72a(0x22c)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x3ff72a(0x22c)][_0x3ff72a(0x281)](crypto);}return ut(ir);}function _0x5106(){var _0x5993b9=['PY_RUNTIME_SCRIPT_ERROR','floor','_type','clear','objects','onTransformRemoteChangesetByStateCache','__esModule','_permissionService','CONFLICT','YUUMI_URL_COL_OUT_OF_RANGE','_configService','HEARTBEAT','update','createInstance','loadSheet','CHANGESET_REVISION_CONFILICT','roomInfos','GLOBAL_ROOMS_CNT_EXCEEDS','substr','clamp','NO_OTHER_CLIENTS_EDITING','hasOwnProperty','not_collab','_sheetTransformSelectionsService','YUUMI_UNABLE_LOAD_URL','_clearScheduledTask','csRejEvent','title','_isPermissionRej','fetchThroughInterceptors','toggleOffline','_collaborationPaused','now','offline','blockSize','createCollaborator','getCollabEntity$','11DnkzEi','INTERNAL_ERROR','_clearHeartbeatTimer','change$','_eventService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_awaitingChangeset','workbook','resourceIDs','PENDING','requestParams','finalize','capture','HmacSHA1','/block/','StreamCipher','forEach','JOIN_ROOM_NOT_EXISTS','getValue','_handler','shouldCloseConn','_getAPIPrefixPath','_parse','call','USERS_LEAVE','memberID','error','_createSocketURL','infoRsp','getSnapshotAPIPath','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','Utf8','createSocket','onload','HmacMD5','saveChangeset','UNRECOGNIZED','_doFinalize','MUTATION','members$','CHANGESET_REJ','_joinRoom','appendMutation','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_commentService','_commentUpdate$','image/bmp','onRemoteAck','authzUrl','_socketMessageSubscription','readInt32LE','type','subject','roles','map','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','ws://127.0.0.1:8000/universer-api/comb/connect','registerHTTPInterceptor','_prevBlock','_transformRemoteChangesetByIMECache','replace','PSEUDO_FETCH_MISSING_RESULT','UPDATE_PERMISSION_OBJ','userID','error$','routeKey','OPTIONAL','_config','unitID','_clearUndo','univer-pro.collaboration-client.single-active-unit-service','_state','sendChangesetTimeout','/fetchmissing?from=','_transformRemoteChangesetByStateCache','Pkcs7','430239OtwNhM','_onConnectionOpen','then','isArray','defineProperty','UNIVER_SLIDE','application/json','isPermissionRej','awaiting','_onRemoteRejected','_networkConditionService','_onJoinRoomEvent','/rev/','key','/object','liveShareNewHost','\x20to\x20','_onRemoteRetry','ticket','complete','LIVESHARE_NEW_HOST','_loadDoc','_queuedRemoteChangesets','[CollaborationSession]','words','_lockTransition','POST','parse','_shouldReportTelemetry','UNKNOWN_CMD','_tryEnsureSocket','\x20-\x20','/allowed','_getDownloadEndpointURL','_createHmacHelper','686234hzUkHq','_getCurrentRevision','_hash','_loadSheet','byteOffset','getImage','get','_init','LIVESHARE_OPERATION','_onLocalMutation','editing\x20status\x20changed\x20to','closeSession','listCollaborators','COLLAB_SUBMIT_CHANGESET_URL','[UniverCollaborationClientPlugin]','href','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','AWAITING_WITH_PENDING','_resendTimer','ciphertext','sigBytes','target','_members','kdf','/new_changes','_toggleOffline','_snapshotService','abs','pipe','equals','_nDataBytes','processBlock','_collaborationTimeoutTimer','\x0aCurrent:\x20','url','Decryptor','getDeserializedSheetBlock','put','[CollaborationSessionService]:\x20socket\x20error','enableAuthServer','UNIVER_UNKNOWN','FETCH_MISSING','charCodeAt','_unlockTransition','connection\x20error','exports','subscribe','?url=','c1Prime','getUnit','JOINING','getCollabEntity','_univerInstanceService','updateMember','_sessionStatus$','create','[FetchMissState]','length','TOO_MANY_REQUESTS','localCacheService','_retryCount','commentUpdate$','onSyncEditingCollabCursor','string','reset','getFocusedUnit','pluginName','enc','IDLE','onMissingChangesets','iterations','getWorkbookSelections','objectActions','BlockCipher','_transformStack','result','_oKey','reverse','awaitingChangeset','MSG_FOR_ERROR','Base','_removeRoom','delete','list','INGEST','_collaborationUIEventService','_tryReconnect','[PendingState]:\x20unhandled\x20univer\x20type:\x20','unit-cache-','transformUndoRedo','getCurrentRevOfUnit','pad','Hex','pauseCollaboration','getInterceptPoints','createEncryptor','_clearLocalCache','synced','UnitSnapshot','?size=','interceptor','startTime','_stopTelemetryCollaborationNewChangeset','UNIVER_PROJECT','PERMISSION_REJ','[OfflineState]:\x20received\x20changeset.','initWorkbookPermissionChange','_keyPriorReset','saveSnapshot','getActiveSheet','[PendingState]:\x20received\x20acknowledgement.','permissionRejEvent','UNISCRIPT_RUN','_doCryptBlock','Malformed\x20UTF-8\x20data','state$','editingUnit','deleteCollaborator','origin','_undoStacks','x-univer-host','SUBMIT_CHANGESET_TIMEOUT','session.room-cnt-exceeds','_waitCount','UNDEFINED','14JILkQd','m2Prime','onRemoteChangeset','{fileID}','onCommandExecuted','hostname','_getCtorByUniverType','textRanges','CipherParams','LICENSE_MAX_UNITS_EXCEEDED','_changesetSessionId','_initDependencies','json','NEW_CHANGESETS','_executeRemoteChangeset','padding','_httpService','PERSON','HttpImport','/universer-api/comb','getMember','_scheduleCompleteTimestamp','set','COMPRESS_MUTATION_SEND','_acknowledgedAwaitingChangeset','_incrementRevisionNumber','resolve','_iv','unitId\x20is\x20not\x20found','_remoteChangesetQueue','ERROR_EXCEED_SIZE','_getAPIPrefix','AWAITING','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','LIVESHARE_TERMINATE','extend','eventID','getLatestCsReqIdBySid','loadUnit','CHANGESET_SHOULD_RETRY','getResourcesRequest','USERS_ENTER','_unitInfo$','mode','_roomCreated$','encryptBlock','_keySchedule','LICENSE_EXPORT_SIZE_EXCEEDED','_transformSelections','APPLY_PERMISSION_DENIED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','prototype','_getRedoStack','getCurrentSelections','crypto','Could\x20not\x20dynamically\x20require\x20\x22','/universer-api/file/{fileID}/sign-url','\x0aAfter:\x20','event$','_userManagerService','[DataLoaderService]','DEFAULT_FILE_NAME','_resendWithTimeout','BufferedBlockAlgorithm','splice','LICENSE_DISTRO_REJECTED','unsubscribe','fetch_missing','join','SHA1','CBC','/role','_instanceService','toggleOnline','_getSendChangesetTimeout','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','clone','from','getAllMembers','reject','body','_onConflict','_onCombEvent','_transformIMECache','_syncEditingCollabCursor','auth.needGotoLoginAlert','_createHandler','_ENC_XFORM_MODE','SNAPSHOT_SERVER_URL_KEY','[OfflineState]:\x20received\x20rejection.','fromCharCode','1591360JnNNhD','init','_state$','_handlerCallback','/universer-api/stream/file/upload','\x20in\x20_schedule.','LICENSE_IMPORT_SIZE_EXCEEDED','_onOffline','addImageSourceCache','responseType','Cipher','_throwTelemetryCollaborationNewChangeset','downloadEndpointUrl','_onRecvEvent','asObservable','originalMeta','execute','ALREADY_EXISTS','/universer-api/snapshot','transformSelections','_xformMode','subUnitId','objectType','cfg','LOGIN_URL_KEY','baseRev','getCurrentUser','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','transformMutationsWithChangeset','max','awaiting_with_pending','send','runId','rng','_transformService','randomUUID','_nRounds','compose','data','encrypt','slice','telemetry\x20info\x20is\x20not\x20initialized','YUUMI_RATE_OVER_LIMIT','/object/','setConfig','getUnitType','findIndex','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','onlyLocal','BASE64','_hasher','updatePermissionPoint','136RJbuoj','apply','collaboration-client.local-cache-service','_schedule','_socket$','_retryConnectingTimer','session.room-permission-denied','focused$','ceil','socket$','executeCommand','20238MflGqk','onRemoteRetry','onTransformState','UNIVER_DOC','_change$','_telemetryService','_event$','Encryptor','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_rescheduleHeartbeat','submit\x20changeset\x20error!','OFFLINE','getRoom','_doReset','image/jpeg','SNAPSHOT_HAS_BEEN_REMOVED','listRoles','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_minBufferSize','random','uploadFileServerUrl','hasher','loadDoc','deepClone','_imageSourceCache','refreshPermission','_snapshotServerService','OTHER_CLIENTS_EDITING','getUnitOnRev','_initCloseConn','catch','[SyncedState]:\x20received\x20acknowledgement.','Undefined','/universer-api/oidc/authpage','APPLY_DUPLICATED','mixIn','_roomMembers','_key','UNKNOWN_CODE','_sendHeartbeat','fetching\x20missing\x20changesets\x20from\x20','sessionStatus$','_data','range','[CollaborationUndoRedoService]','HMAC','sheets','_fetchMissChangesets','_getSignURL','_mode','patch','session','SUBMIT_CHANGESET','objectID','_changesetReqId','onTransformSelections','&source=','msCrypto','dispose$','actions','session.join-failed','createDecryptor','_socketService','_onRemoteChangeset','_createInitialStateImpl','getTypeOfUnitAdded$','_createHelper','mutations','default','resend','charAt','format','/collaborator','save\x20fail\x20reason\x20is\x20','_disableEditing','_sendingTimer','NoPadding','encodeURIComponent','members','_sender','SHOULD_CLOSE_CONN','requireSession','compute','readyForCollab','saveImage','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_localCacheService','copyFileMeta','[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.','UNIVER_SHEET','csShouldRetryEvent','updateOfflineData','toString','_authzIoService','selections','image/gif','getSheetId','onStateChange','batchAllowed','_transformUndoredo','_localeService','byteLength','_onMessage','_updateLocalCache','_submitChangeset','collaboration-client.config','sessionStatus','_onFetchMissResult','SYNCED','UNAUTHENTICATED','ERROR_IMAGE','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','RECV','_compressMutationService','_clearCollaborationTimeoutTimer','liveShareOperation','_http','YUUMI_SUBSCRIPTION_NOT_FOUND','_startCollaboration','_showConflictNotification','confirm','sid','SNAPSHOT_URL_KEY','$super','setCurrentUser','unknown','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_transitionLocked','pending','_candidateSocket','Base64','location','_singleActiveUnitService','getRandomValues','override','reduce','CLOSE_ROOM','_members$','_socket','COLLAB_WEB_SOCKET_URL','_waitForHeartbeatResponse','entries','_getSessionTicket','getSheetBlock','file','retryConnectingInterval','PERMISSION_DENIED','_onConnectionFailed','JOIN_ROOM_FAILED','/-/object/-/batch_allowed','loadOfflineData','onSendChangeset','__creator','enableSingleActiveInstanceLock','4240EUXyLe','getConfig','getUnitStatus$','_updateState','onLocalMutation','_pendingMutations','APPLY_NON_SEQUENTIAL_REVISION','FileId','headers','_clearTimeoutTimer','_replayCachedMutations','univer-pro.collaboration-client.network-condition.service','socket\x20open.','_toggleOnline','_applyRemoteChangeset','_createInitialState','COMPLETION_FINISHED','searchParams','code','updateCursorEvent','image/jpg','10599492VCIvUO','[CollaborationState]:\x20apply\x20error!','_redoStacks','ONLINE','lib','algo','open$','fetchMissingChangesets','waitForRoom$','changesets','441aCmSSd','function','ENSURE_SNAPSHOT_EXECUTION','_undoRedoService','stringify','getMemberID','JOIN','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_process','&to=','buffer','withCredentials','revision','next','FAIL','stopTime','_getUploadFileURL','concat','_replaceFileID','_resendTimeout','_exhaustRemoteChangesetQueue','emitEvent','[CollaborationEntity]','sessionTicket','_createSocket','_transformStateCache','_entityInit$','cmd','LIVESHARE_REQUEST_HOST','removeMember','setShowComponents','online$','_collaborationSessionService','bind','UnitEmbedded','_decreaseWaiting','/universer-api/authz','COMPRESS_MUTATION_APPLY','LEAVE','/unit/','indexOf','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','updatePermissionObjEvent','unitId','UPDATE_CURSOR','_registerDependencies','MD5','size','_scheduleCollaborationTimeoutTimer','formatter','name','decrypt','onRemoteRej','post','_sessions','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','/resources','BlockCipherMode','CONNECTOR_DATA_TOO_LARGE','onTransformRemoteChangesetByIMECache','fromCollab','_socketReady','_status$','joinEvent','PasswordBasedCipher','_doProcessBlock','onTransformIME','UNIVER_COLLABORATION_CLIENT_PLUGIN','params','method','_cipher','Hasher','AES','salt','collaboratorID','message$','keySize','_injector','collaboration_new_changeset','putCollaborators','status','rev','reconnect','_startTelemetryCollaborationNewChangeset','close$','CHANGESET_ACK','/universer-api/snapshot/','_timeoutTimer','close','[OfflineState]:\x20received\x20acknowledgement.','LIVESHARE_FETCH_OPERATIONS','reqId','has','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_getLoginPath','_logService','fetchMiss','_updateStatus','_initMergeInterceptor','randomBytes','signUrlServerUrl','_emitMembers','status$','_iKey','_onUserJoin','SOCKET_FAILED_RETRY','_telemetryInfo','getOwnPropertyDescriptor','APPLY_REJECT','_reverseMap','add','_entities','SNAPSHOT_INVALID_SNAPSHOT','_revisionService','_onRemoteACK','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','allowed','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getTime','APPLY_REVISION_CONFILICT','conflict','getUnitId','uniscriptRunEvent','_memberService','_onUserLeave','HELLO','onMissedChangesetFetched','_initRequestHeader','SOCKET_FAILED','OTHER_CLIENT_EDITING','_commandService','_sendHeartbeatTimer','newCsEvent','socket\x20close','onStarting','364DLUSDG','_checkMissing','disposeWithMe','_clearRedo','toLowerCase','transformChangesets','5475ykASPI','session.room-full','People','dispose','univer-pro.collaboration-client-socket-service','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','localeService','getTypeOfUnitDisposed$','readAsDataURL','WordArray','JOIN_ROOM_PERMISSION_DENIED','JOIN_ROOM_FULL','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_HTTPService','HttpExport','filter','debug','_invKeySchedule','[CollaborationSessionService]','EvpKDF','&assign=','_unitID','loginUrlKey','ivSize','commentUpdateEvent','push','_append','OpenSSL'];_0x5106=function(){return _0x5993b9;};return _0x5106();}const rr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x5bfca8(0x18b)][_0x5bfca8(0x281)](crypto),qt={'randomUUID':rr};function sr(_0x1cee3d,_0x559d34,_0x35eb8d){var _0xbc1634=_0x5bfca8,_0x5afd64,_0x2551f7,_0x3b897d;if(qt[_0xbc1634(0x18b)]&&!_0x1cee3d)return qt['randomUUID']();_0x1cee3d=_0x1cee3d||{};const _0x2033fb=(_0x3b897d=(_0x2551f7=_0x1cee3d[_0xbc1634(0x1ba)])!=null?_0x2551f7:(_0x5afd64=_0x1cee3d[_0xbc1634(0x189)])==null?void 0x0:_0x5afd64[_0xbc1634(0x345)](_0x1cee3d))!=null?_0x3b897d:nr();if(_0x2033fb[_0xbc1634(0xc8)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x2033fb[0x6]=_0x2033fb[0x6]&0xf|0x40,_0x2033fb[0x8]=_0x2033fb[0x8]&0x3f|0x80,tr(_0x2033fb);}const J=_0x29e1a9(_0x5bfca8(0x19e));function so(_0x117a2){var _0x5d748a=_0x5bfca8;return _0x5d748a(0xe7)+_0x117a2;}var or=Object[_0x5bfca8(0x37e)],ar=Object[_0x5bfca8(0x2cb)],cr=(_0x157868,_0x264e44,_0x204d10,_0x2934a0)=>{var _0x469c66=_0x5bfca8;for(var _0x2b5f36=_0x2934a0>0x1?void 0x0:_0x2934a0?ar(_0x264e44,_0x204d10):_0x264e44,_0xa2cb02=_0x157868[_0x469c66(0xc8)]-0x1,_0x8a5045;_0xa2cb02>=0x0;_0xa2cb02--)(_0x8a5045=_0x157868[_0xa2cb02])&&(_0x2b5f36=(_0x2934a0?_0x8a5045(_0x264e44,_0x204d10,_0x2b5f36):_0x8a5045(_0x2b5f36))||_0x2b5f36);return _0x2934a0&&_0x2b5f36&&or(_0x264e44,_0x204d10,_0x2b5f36),_0x2b5f36;},dt=(_0x2d00f8,_0x559197)=>(_0x22398c,_0x244c3a)=>_0x559197(_0x22398c,_0x244c3a,_0x2d00f8);function hr(_0x2e3c63){var _0x1914b3=_0x5bfca8;const {unitID:_0xdd46e7,mutations:_0x18b6f8}=_0x2e3c63;return{'unitId':_0xdd46e7,'subUnitId':_0x18b6f8[0x0]['params'][_0x1914b3(0x17d)]};}let it=class{constructor(_0x20608d,_0x434cd7,_0x429bd5){var _0x4254ec=_0x5bfca8;this[_0x4254ec(0x2ad)]=_0x20608d,this[_0x4254ec(0x18a)]=_0x434cd7,this[_0x4254ec(0x155)]=_0x429bd5;}[_0x5bfca8(0x17b)](_0x335529){var _0x340441=_0x5bfca8,_0x4530bf,_0x3141bc,_0x4f9a1f,_0x5ee900;const _0x45d0c1=this['_injector'][_0x340441(0x3a3)](_0x3fe6f4),{unitId:_0x2eb835,subUnitId:_0x2cd3af}=hr(_0x335529),_0x2e2dad=_0x45d0c1==null?void 0x0:_0x45d0c1[_0x340441(0xd6)](_0x2eb835)[_0x340441(0x142)](),_0x3ef1fa=(_0x3141bc=(_0x4530bf=this[_0x340441(0x155)][_0x340441(0xc0)](_0x2eb835))==null?void 0x0:_0x4530bf[_0x340441(0xfc)]())==null?void 0x0:_0x3141bc[_0x340441(0x207)]();if(_0x2e2dad['length']===0x0||!_0x2eb835||!_0x2cd3af)return;const _0x33810f=[{'id':_0x38551e['id'],'params':{'unitId':_0x2eb835,'subUnitId':_0x3ef1fa,'selections':_0xd0a3e0[_0x340441(0x1be)](_0x2e2dad)}}],_0x1cccc7=this['_transformService'][_0x340441(0x184)](_0x335529,_0x33810f);if(!_0x3c5083(_0x1cccc7))throw _0x1cccc7['error'];const _0x2d59e2=(_0x5ee900=(_0x4f9a1f=_0x1cccc7[_0x340441(0x10d)][0x0])==null?void 0x0:_0x4f9a1f[_0x340441(0x2a4)])==null?void 0x0:_0x5ee900[_0x340441(0x205)];if(Array[_0x340441(0x37d)](_0x2d59e2)&&_0x2d59e2[_0x340441(0xc8)]){if(_0x2d59e2[_0x340441(0xc8)]===_0x33810f[0x0]['params'][_0x340441(0x205)]['length']&&_0x2d59e2['every']((_0x4fca2b,_0x3882d4)=>_0x22779f[_0x340441(0x3ba)](_0x4fca2b[_0x340441(0x1d2)],_0x33810f[0x0][_0x340441(0x2a4)][_0x340441(0x205)][_0x3882d4][_0x340441(0x1d2)])))return;this[_0x340441(0x2ad)]['get'](_0x36fb84)['executeCommand'](_0x38551e['id'],{'unitId':_0x2eb835,'subUnitId':_0x3ef1fa,'selections':_0x2d59e2});}}};it=cr([dt(0x0,_0x285a0e(_0x22efd7)),dt(0x1,_0x45197c),dt(0x2,_0x34354e)],it);const ht=_0x29e1a9(_0x5bfca8(0x374));var bi=(_0x400b41=>(_0x400b41[_0x400b41[_0x5bfca8(0x31d)]=0x0]=_0x5bfca8(0x31d),_0x400b41[_0x400b41[_0x5bfca8(0x1c2)]=0x1]=_0x5bfca8(0x1c2),_0x400b41))(bi||{});const _r=new Set([_0x436b24['id']]);function zt(_0x4a0fac,_0x3dd83a,_0x1dd4e0,_0x558846,_0x4f52b8){var _0x1c80f8=_0x5bfca8,_0x5c15e9,_0x3f7217,_0x2f1664,_0x46bcee;const _0x215f68=[];for(const _0x2ba6a2 of _0x4a0fac)if(_r[_0x1c80f8(0x2bc)](_0x2ba6a2['id'])){if(_0x215f68[_0x1c80f8(0xc8)]>0x0)break;_0x215f68[_0x1c80f8(0x306)](_0x2ba6a2);break;}else _0x215f68[_0x1c80f8(0x306)](_0x2ba6a2);const _0x30370c=(_0x3f7217=(_0x5c15e9=_0x4f52b8[_0x1c80f8(0x182)]())==null?void 0x0:_0x5c15e9['userID'])!=null?_0x3f7217:'unknown',_0x20bf35=(_0x46bcee=(_0x2f1664=_0x4f52b8['getCurrentUser']())==null?void 0x0:_0x2f1664[_0x1c80f8(0x347)])!=null?_0x46bcee:_0x1c80f8(0x224);return{'changeset':{'unitID':_0x3dd83a,'type':_0x5cb3c7(_0x1dd4e0[_0x1c80f8(0x195)](_0x3dd83a)),'baseRev':_0x558846['getCurrentRevOfUnit'](_0x3dd83a),'revision':0x0,'userID':_0x30370c,'memberID':_0x20bf35,'mutations':_0x215f68},'pendingMutations':_0x4a0fac[_0x1c80f8(0x190)](_0x215f68[_0x1c80f8(0xc8)])};}function lr(_0x13d4c9,_0x59ffe5,_0x5a2d71,_0x45df60,_0x50d659){var _0x5c9c93=_0x5bfca8,_0xb44f0f,_0x35c1a5,_0x5865eb,_0x5ef88e;const _0x1a2f3a=[_0x13d4c9[_0x5c9c93(0x22e)]((_0x13b6d0,_0xc2934)=>{var _0x2d5e15=_0x5c9c93,_0x4a7d64;const {id:_0x3fb60e}=_0x13b6d0,{id:_0x2de30b,type:_0x3f9ac6}=_0xc2934,_0x36adc3=(_0x4a7d64=_0x13b6d0[_0x2d5e15(0x2a4)])!=null?_0x4a7d64:{'actions':null},_0xc99144=_0xc2934[_0x2d5e15(0x2a4)];if(_0x3fb60e&&_0x3fb60e!==_0x2de30b)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x3fb60e+_0x2d5e15(0x399)+_0x2de30b+'.');return{..._0x13b6d0,'id':_0x2de30b,'type':_0x3f9ac6,'params':{'unitId':_0xc99144[_0x2d5e15(0x28b)],'textRanges':_0xc99144[_0x2d5e15(0x113)],'actions':_0x57e42f[_0x2d5e15(0x18d)](_0x36adc3[_0x2d5e15(0x1e2)],_0xc99144[_0x2d5e15(0x1e2)])}};},{})],_0x11184a=(_0x35c1a5=(_0xb44f0f=_0x50d659[_0x5c9c93(0x182)]())==null?void 0x0:_0xb44f0f[_0x5c9c93(0x36d)])!=null?_0x35c1a5:_0x5c9c93(0x224),_0x3d8f3b=(_0x5ef88e=(_0x5865eb=_0x50d659[_0x5c9c93(0x182)]())==null?void 0x0:_0x5865eb[_0x5c9c93(0x347)])!=null?_0x5ef88e:'unknown';return{'changeset':{'unitID':_0x59ffe5,'type':_0x5cb3c7(_0x5a2d71['getUnitType'](_0x59ffe5)),'baseRev':_0x45df60[_0x5c9c93(0xe9)](_0x59ffe5),'revision':0x0,'userID':_0x11184a,'memberID':_0x3d8f3b,'mutations':_0x1a2f3a},'pendingMutations':[]};}function Oi(_0x4a4a15,_0x51ca09){var _0x37ccf6=_0x5bfca8;const _0xe7addf=new _0x5aa0d0(0x1);return setTimeout(()=>_0xe7addf[_0x37ccf6(0x26d)](_0x51ca09),_0x4a4a15),_0xe7addf[_0x37ccf6(0x176)]()[_0x37ccf6(0x3b9)](_0x5b513c(0x1));}const ur={'id':_0x528277['id'],'type':_0x43ebc5['MUTATION'],'params':{}};var dr=Object[_0x5bfca8(0x37e)],fr=Object['getOwnPropertyDescriptor'],Re=(_0xb4c290,_0x54bd23,_0x19fb95,_0x5828e6)=>{var _0x2ce843=_0x5bfca8;for(var _0x435164=_0x5828e6>0x1?void 0x0:_0x5828e6?fr(_0x54bd23,_0x19fb95):_0x54bd23,_0x5830c9=_0xb4c290[_0x2ce843(0xc8)]-0x1,_0x57cc0b;_0x5830c9>=0x0;_0x5830c9--)(_0x57cc0b=_0xb4c290[_0x5830c9])&&(_0x435164=(_0x5828e6?_0x57cc0b(_0x54bd23,_0x19fb95,_0x435164):_0x57cc0b(_0x435164))||_0x435164);return _0x5828e6&&_0x435164&&dr(_0x54bd23,_0x19fb95,_0x435164),_0x435164;},A=(_0x160ac0,_0x242de7)=>(_0x2e5a1d,_0x5ee3c6)=>_0x242de7(_0x2e5a1d,_0x5ee3c6,_0x160ac0),yi=(_0x316827=>(_0x316827['NOT_COLLAB']=_0x5bfca8(0x31f),_0x316827[_0x5bfca8(0x213)]=_0x5bfca8(0xf0),_0x316827[_0x5bfca8(0x337)]='pending',_0x316827[_0x5bfca8(0x12c)]=_0x5bfca8(0x382),_0x316827[_0x5bfca8(0x3ae)]=_0x5bfca8(0x186),_0x316827['FETCH_MISS']=_0x5bfca8(0x150),_0x316827['CONFLICT']=_0x5bfca8(0x2d8),_0x316827[_0x5bfca8(0x1b2)]=_0x5bfca8(0x32a),_0x316827))(yi||{});function _0xe7de(_0x4361d7,_0x4b2a3e){var _0x510615=_0x5106();return _0xe7de=function(_0xe7de46,_0x52f360){_0xe7de46=_0xe7de46-0xae;var _0x3e6cf4=_0x510615[_0xe7de46];return _0x3e6cf4;},_0xe7de(_0x4361d7,_0x4b2a3e);}const Ni=0xea60;class be{constructor(_0x22269c,_0x3b3921,_0x23fdd6,_0xc90fd0,_0x96ca3d,_0x538152,_0x561106,_0x8f4f45,_0x4dbf4b){var _0x34f687=_0x5bfca8;N(this,'_awaitingChangeset',null),N(this,_0x34f687(0x246),[]),(this[_0x34f687(0x372)]=_0x22269c,this[_0x34f687(0x361)]=_0x3b3921,this[_0x34f687(0x341)]=_0x96ca3d,this[_0x34f687(0x2e2)]=_0x538152,this[_0x34f687(0x263)]=_0x561106,this[_0x34f687(0x2d1)]=_0x8f4f45,this[_0x34f687(0x1fd)]=_0x4dbf4b,this['_awaitingChangeset']=_0x23fdd6,this[_0x34f687(0x246)]=_0xc90fd0);}[_0x5bfca8(0x2e8)](_0x298bc8){var _0xd32bd5=_0x5bfca8;const _0x53f0a9=this[_0xd32bd5(0x2d1)][_0xd32bd5(0xe9)](this[_0xd32bd5(0x372)]);return _0x298bc8['revision']>_0x53f0a9+0x1?(this[_0xd32bd5(0x341)][_0xd32bd5(0xd4)]({'from':_0x53f0a9,'to':_0x298bc8[_0xd32bd5(0x26c)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x2b7e3e){var _0x2a77d5=_0x5bfca8;this[_0x2a77d5(0x263)][_0x2a77d5(0xe8)](this[_0x2a77d5(0x372)],_0x2b7e3e);}[_0x5bfca8(0x13d)](_0x1b67a4){var _0x3048e4=_0x5bfca8,_0x5caf42,_0x1c5bf0;(_0x1c5bf0=(_0x5caf42=this['_handler'])[_0x3048e4(0x1de)])==null||_0x1c5bf0[_0x3048e4(0x345)](_0x5caf42,_0x1b67a4);}[_0x5bfca8(0x160)](_0x40c412){var _0x5e7012=_0x5bfca8,_0x25b72a,_0x45bda6;return(_0x45bda6=(_0x25b72a=this[_0x5e7012(0x341)])['onTransformIME'])==null?void 0x0:_0x45bda6['call'](_0x25b72a,_0x40c412);}[_0x5bfca8(0x279)](_0x42052f){var _0x2203ed=_0x5bfca8,_0x163fd4,_0x42e9b5;return(_0x42e9b5=(_0x163fd4=this[_0x2203ed(0x341)])[_0x2203ed(0x1a9)])==null?void 0x0:_0x42e9b5[_0x2203ed(0x345)](_0x163fd4,_0x42052f);}[_0x5bfca8(0x369)](_0x3e39b5){var _0x3fd870=_0x5bfca8,_0x52c86a,_0x528963,_0x4753bf;return(_0x4753bf=(_0x528963=(_0x52c86a=this[_0x3fd870(0x341)])[_0x3fd870(0x29b)])==null?void 0x0:_0x528963[_0x3fd870(0x345)](_0x52c86a,_0x3e39b5))!=null?_0x4753bf:_0x3e39b5;}[_0x5bfca8(0x378)](_0x429531){var _0x2e67c3=_0x5bfca8,_0x4b50e3,_0x1e010d,_0x255c85;return(_0x255c85=(_0x1e010d=(_0x4b50e3=this['_handler'])[_0x2e67c3(0x30e)])==null?void 0x0:_0x1e010d[_0x2e67c3(0x345)](_0x4b50e3,_0x429531))!=null?_0x255c85:_0x429531;}['_syncEditingCollabCursor'](_0x68a4de){var _0x5f2231=_0x5bfca8,_0x13eae2,_0x4d705b;if(this[_0x5f2231(0x361)]===Q['UNIVER_DOC']){const {unitID:_0xb905a4,mutations:_0x42b49a,memberID:_0x7d2479}=_0x68a4de,_0x47130b=_0x42b49a[0x0][_0x5f2231(0x2a4)][_0x5f2231(0x113)];Array[_0x5f2231(0x37d)](_0x47130b)&&_0x47130b[_0x5f2231(0xc8)]>0x0&&((_0x4d705b=(_0x13eae2=this['_handler'])[_0x5f2231(0xcd)])==null||_0x4d705b[_0x5f2231(0x345)](_0x13eae2,{'unitID':_0xb905a4,'memberID':_0x7d2479,'textRanges':_0x47130b}));}}[_0x5bfca8(0x20e)](){var _0x2da3c2=_0x5bfca8,_0x265a26;(_0x265a26=this[_0x2da3c2(0x1fd)])==null||_0x265a26[_0x2da3c2(0x202)](this['unitID'],this[_0x2da3c2(0x361)],this[_0x2da3c2(0x334)],this[_0x2da3c2(0x246)]);}[_0x5bfca8(0x39e)](){var _0xe2a844=_0x5bfca8;return this[_0xe2a844(0x2d1)][_0xe2a844(0xe9)](this['unitID']);}[_0x5bfca8(0x125)](){var _0x39f3f8=_0x5bfca8;this[_0x39f3f8(0x2d1)]['incrementRevOfUnit'](this['unitID']);}[_0x5bfca8(0x11a)](_0x46ead4){var _0x5cbf98=_0x5bfca8,_0x335723;let _0x16da6b=this[_0x5cbf98(0x369)](_0x46ead4);_0x16da6b=this['_transformRemoteChangesetByStateCache'](_0x16da6b);const _0x3d1253=_0x51db05(_0x16da6b[_0x5cbf98(0x1ea)],this[_0x5cbf98(0x2e2)],{'fromCollab':!0x0});if(!_0x3d1253[_0x5cbf98(0xda)])throw _0x3d1253['error']instanceof Error?_0x3d1253[_0x5cbf98(0x348)]:new Error((_0x335723=_0x3d1253[_0x5cbf98(0x348)])!=null?_0x335723:_0x5cbf98(0x257));this[_0x5cbf98(0x160)](_0x16da6b),this[_0x5cbf98(0x279)](_0x16da6b),this[_0x5cbf98(0x20a)](_0x46ead4),this[_0x5cbf98(0x13d)](_0x16da6b),this[_0x5cbf98(0x161)](_0x16da6b),this['_incrementRevisionNumber']();}}let De=class extends be{constructor(_0x1d3bf1,_0x3e085c,_0x37337e,_0x4306e8,_0x4035dd,_0x28b481,_0x5c9320,_0x5c38d7,_0x507216,_0x2ef0ce){var _0x9c8fca=_0x5bfca8;super(_0x1d3bf1,_0x3e085c,null,[],_0x37337e,_0x5c9320,_0x28b481,_0x4306e8,_0x2ef0ce),N(this,_0x9c8fca(0x2b0),_0x9c8fca(0xf0)),(this['_injector']=_0x4035dd,this['_logService']=_0x5c38d7,this['_transformService']=_0x507216,this[_0x9c8fca(0xca)]=_0x2ef0ce);}['appendMutation'](_0x5bd3d8){var _0x383915=_0x5bfca8;const _0x2c5826=this[_0x383915(0x2ad)][_0x383915(0x316)](oe,this[_0x383915(0x372)],this[_0x383915(0x361)],[_0x5bd3d8],this[_0x383915(0x341)]);return _0x2c5826[_0x383915(0x19f)](),_0x2c5826[_0x383915(0x20e)](),_0x2c5826;}[_0x5bfca8(0x10e)](_0x275c01){var _0xc706ca=_0x5bfca8;if(this[_0xc706ca(0x2e8)](_0x275c01))return this['_injector'][_0xc706ca(0x316)](te,this[_0xc706ca(0x372)],this[_0xc706ca(0x361)],null,[],null,[_0x275c01],this[_0xc706ca(0x341)]);try{const _0xfcaf09=this[_0xc706ca(0x18a)]['transformMutationsWithChangeset'](_0x275c01,[ur]);if(_0x3c5083(_0xfcaf09)){const {c1Prime:_0x3d31f6}=_0xfcaf09;return this[_0xc706ca(0x11a)](_0x3d31f6),this;}throw _0xfcaf09['error'];}catch(_0x3ffdd1){return this[_0xc706ca(0x2bf)][_0xc706ca(0x348)](_0x3ffdd1),this[_0xc706ca(0x15e)](!0x1);}}['_onConflict'](_0x16ff61){var _0x26c961=_0x5bfca8;return this[_0x26c961(0x2ad)][_0x26c961(0x316)](de,this[_0x26c961(0x372)],this[_0x26c961(0x361)],null,[],this[_0x26c961(0x341)],_0x16ff61);}[_0x5bfca8(0x35d)](){var _0x11ea6b=_0x5bfca8;throw new Error(_0x11ea6b(0x1c6));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x5bfca8(0x1a8)](){return this;}['toggleOffline'](){var _0x5554e3=_0x5bfca8;return this[_0x5554e3(0x2ad)]['createInstance'](fe,this['unitID'],this[_0x5554e3(0x361)],null,[],this['_handler']);}[_0x5bfca8(0x156)](){return this;}[_0x5bfca8(0x1ec)](){var _0x2cf75b=_0x5bfca8;throw new Error(_0x2cf75b(0x225));}[_0x5bfca8(0x2c0)](){var _0x206bec=_0x5bfca8;const _0x213eb7=this[_0x206bec(0x2d1)][_0x206bec(0xe9)](this[_0x206bec(0x372)]);return this['_handler'][_0x206bec(0xd4)]({'from':_0x213eb7,'to':0x0}),this[_0x206bec(0x2ad)][_0x206bec(0x316)](te,this[_0x206bec(0x372)],this['type'],null,[],null,[],this[_0x206bec(0x341)]);}};De=Re([A(0x3,_0x285a0e(_0x45e6f8)),A(0x4,_0x285a0e(_0x22efd7)),A(0x5,_0x46a1d6),A(0x6,_0x36fb84),A(0x7,_0x43c1be),A(0x8,_0x45197c),A(0x9,_0x22b405(J))],De);let oe=class extends be{constructor(_0x4f151e,_0x139bfb,_0xda477f,_0xa9fd68,_0x325b33,_0x5b4cb0,_0x1b6322,_0x2a5e6b,_0x622c54,_0x5083e1,_0x556f04,_0x37cfbe,_0x5516a9,_0x588e86){var _0x9248cd=_0x5bfca8;super(_0x4f151e,_0x139bfb,null,_0xda477f,_0xa9fd68,_0x622c54,_0x5516a9,_0x5b4cb0,_0x588e86),N(this,_0x9248cd(0x2b0),_0x9248cd(0x227)),N(this,_0x9248cd(0x121),null),N(this,_0x9248cd(0x1f2),null),(this[_0x9248cd(0x2ad)]=_0x325b33,this[_0x9248cd(0x2db)]=_0x1b6322,this['_logService']=_0x2a5e6b,this['_configService']=_0x5083e1,this[_0x9248cd(0x18a)]=_0x556f04,this[_0x9248cd(0xc3)]=_0x37cfbe);}['appendMutation'](_0x3ba769){var _0x2c9c61=_0x5bfca8;return this['_pendingMutations']['push'](_0x3ba769),this[_0x2c9c61(0x20e)](),this;}[_0x5bfca8(0x10e)](_0x544203){var _0x139cec=_0x5bfca8;if(this[_0x139cec(0x2e8)](_0x544203))return this[_0x139cec(0x322)](),this[_0x139cec(0x2ad)]['createInstance'](te,this[_0x139cec(0x372)],this[_0x139cec(0x361)],null,this[_0x139cec(0x246)],null,[_0x544203],this[_0x139cec(0x341)]);try{const _0x1f7a24=this[_0x139cec(0x18a)][_0x139cec(0x184)](_0x544203,this[_0x139cec(0x246)]);if(_0x3c5083(_0x1f7a24)){const {c1Prime:_0x197d8b,m2Prime:_0x165484}=_0x1f7a24;this[_0x139cec(0x11a)](_0x197d8b);const _0x3fe033=this[_0x139cec(0x2ad)][_0x139cec(0x316)](oe,this[_0x139cec(0x372)],this['type'],_0x165484,this['_handler']);this[_0x139cec(0x322)]();const _0x5c4a70=new Date()['getTime'](),_0x4dd809=this[_0x139cec(0x121)]?Math[_0x139cec(0x185)](this[_0x139cec(0x121)]-_0x5c4a70,0x0):this['_getSendChangesetTimeout']();return _0x3fe033[_0x139cec(0x19f)](_0x4dd809),_0x3fe033;}throw _0x1f7a24[_0x139cec(0x348)];}catch(_0x3e06a0){return this[_0x139cec(0x2bf)][_0x139cec(0x348)](_0x3e06a0),this[_0x139cec(0x15e)](!0x1);}}[_0x5bfca8(0x35d)](){var _0x2b6fa9=_0x5bfca8;throw new Error(_0x2b6fa9(0xfd));}[_0x5bfca8(0x294)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x5bfca8(0x1a8)](){return this;}[_0x5bfca8(0x327)](){var _0xa1caa=_0x5bfca8;return this[_0xa1caa(0x322)](),this['_injector'][_0xa1caa(0x316)](fe,this[_0xa1caa(0x372)],this[_0xa1caa(0x361)],null,this[_0xa1caa(0x246)],this[_0xa1caa(0x341)]);}['toggleOnline'](){return this;}['_schedule'](_0x2690e6){var _0x48f5b9=_0x5bfca8;const _0x4c7061=_0x2690e6!=null?_0x2690e6:this['_getSendChangesetTimeout']();this[_0x48f5b9(0x121)]=new Date()[_0x48f5b9(0x2d6)]()+_0x4c7061,this[_0x48f5b9(0x1f2)]=setTimeout(()=>{var _0x33baee=_0x48f5b9;this['_clearScheduledTask']();let _0x5efb91=null;switch(this['type']){case Q['UNIVER_SHEET']:{_0x5efb91=zt(this[_0x33baee(0x246)],this[_0x33baee(0x372)],this['_univerInstanceService'],this[_0x33baee(0x2d1)],this[_0x33baee(0x2db)]);break;}case Q[_0x33baee(0x1aa)]:{this['_pendingMutations']['every'](_0x5328a8=>_0x5328a8['id']===_0x23b199['id'])?_0x5efb91=lr(this[_0x33baee(0x246)],this[_0x33baee(0x372)],this[_0x33baee(0xc3)],this['_revisionService'],this['_memberService']):_0x5efb91=zt(this[_0x33baee(0x246)],this[_0x33baee(0x372)],this[_0x33baee(0xc3)],this[_0x33baee(0x2d1)],this[_0x33baee(0x2db)]);break;}default:throw new Error(_0x33baee(0xe6)+this[_0x33baee(0x361)]+_0x33baee(0x16d));}const {changeset:_0x3a0d3c,pendingMutations:_0x27a671}=_0x5efb91;this[_0x33baee(0x341)]['onSendChangeset'](_0x3a0d3c);const _0x809c2d=_0x27a671['length']?this['_injector'][_0x33baee(0x316)](ae,this[_0x33baee(0x372)],this[_0x33baee(0x361)],_0x3a0d3c,_0x27a671,this[_0x33baee(0x341)],void 0x0):this[_0x33baee(0x2ad)][_0x33baee(0x316)](ue,this[_0x33baee(0x372)],this[_0x33baee(0x361)],_0x3a0d3c,this['_handler']);_0x809c2d['_updateLocalCache'](),this['_handler'][_0x33baee(0x208)](this,_0x809c2d);},_0x4c7061);}[_0x5bfca8(0x157)](){var _0x358942=_0x5bfca8,_0x30f656;const _0x436383=this['_configService'][_0x358942(0x242)](q);return(_0x30f656=_0x436383==null?void 0x0:_0x436383[_0x358942(0x376)])!=null?_0x30f656:Cn;}[_0x5bfca8(0x1ec)](){var _0x1002d8=_0x5bfca8;throw new Error(_0x1002d8(0x12e));}[_0x5bfca8(0x322)](){var _0x3828ae=_0x5bfca8;this[_0x3828ae(0x1f2)]!=null&&(clearTimeout(this[_0x3828ae(0x1f2)]),this[_0x3828ae(0x1f2)]=null);}[_0x5bfca8(0x15e)](_0x42a9be){var _0x3ac73a=_0x5bfca8;return this[_0x3ac73a(0x322)](),this[_0x3ac73a(0x2ad)][_0x3ac73a(0x316)](de,this[_0x3ac73a(0x372)],this[_0x3ac73a(0x361)],null,this[_0x3ac73a(0x246)],this['_handler'],_0x42a9be);}};oe=Re([A(0x4,_0x285a0e(_0x22efd7)),A(0x5,_0x285a0e(_0x45e6f8)),A(0x6,_0x285a0e(xe)),A(0x7,_0x43c1be),A(0x8,_0x36fb84),A(0x9,_0x44e247),A(0xa,_0x45197c),A(0xb,_0x34354e),A(0xc,_0x46a1d6),A(0xd,_0x22b405(J))],oe);let ue=class extends be{constructor(_0x1ebc07,_0x51188b,_0x4f3c5b,_0x52649e,_0x24c7b8,_0x4b19ac,_0x1cf6a1,_0x20f621,_0x3a699b,_0x338d99,_0x3ebe07){var _0x5d985e=_0x5bfca8;super(_0x1ebc07,_0x51188b,_0x4f3c5b,[],_0x52649e,_0x1cf6a1,_0x338d99,_0x4b19ac,_0x3ebe07),N(this,_0x5d985e(0x2b0),_0x5d985e(0x382)),N(this,'_resendTimeout',0x0),N(this,_0x5d985e(0x3af)),N(this,'_sender'),(this[_0x5d985e(0x2ad)]=_0x24c7b8,this[_0x5d985e(0x2bf)]=_0x20f621,this[_0x5d985e(0x18a)]=_0x3a699b);}[_0x5bfca8(0x358)](_0x1448ef){var _0x58e470=_0x5bfca8;this['_clearScheduledTask']();const _0x31a47f=this[_0x58e470(0x2ad)][_0x58e470(0x316)](ae,this['unitID'],this[_0x58e470(0x361)],this[_0x58e470(0x334)],[_0x1448ef],this[_0x58e470(0x341)],this[_0x58e470(0x3af)]);return _0x31a47f[_0x58e470(0x20e)](),_0x31a47f;}[_0x5bfca8(0x10e)](_0x39e411){var _0xc36921=_0x5bfca8;if(this[_0xc36921(0x2e8)](_0x39e411))return this[_0xc36921(0x322)](),this[_0xc36921(0x2ad)][_0xc36921(0x316)](te,this[_0xc36921(0x372)],this[_0xc36921(0x361)],this[_0xc36921(0x334)],[],null,[_0x39e411],this[_0xc36921(0x341)]);try{const _0x32ff46=this[_0xc36921(0x18a)][_0xc36921(0x2ec)]([_0x39e411],[this['_awaitingChangeset']],!0x1);if(_0x504f72(_0x32ff46)){const {c1Prime:_0x369801,c2Prime:_0x5c359f}=_0x32ff46;this[_0xc36921(0x11a)](_0x369801[0x0]),_0x5c359f[0x0][_0xc36921(0x181)]=this['_getCurrentRevision'](),this[_0xc36921(0x322)]();const _0x3fe1a3=this[_0xc36921(0x2ad)]['createInstance'](ue,this[_0xc36921(0x372)],this[_0xc36921(0x361)],_0x5c359f[0x0],this[_0xc36921(0x341)]);return _0x3fe1a3[_0xc36921(0x20e)](),_0x3fe1a3;}return this[_0xc36921(0x15e)](!0x1);}catch(_0xafd2ae){return this[_0xc36921(0x2bf)][_0xc36921(0x348)](_0xafd2ae),this[_0xc36921(0x15e)](!0x1);}}['onRemoteAck'](_0xa3e036){var _0x1a37ea=_0x5bfca8;this[_0x1a37ea(0x322)]();const _0x309955=this[_0x1a37ea(0x2d1)][_0x1a37ea(0xe9)](this[_0x1a37ea(0x372)]);if(_0xa3e036[_0x1a37ea(0x26c)]<_0x309955-0x1)return this;if(this['_checkMissing'](_0xa3e036))return this['_injector'][_0x1a37ea(0x316)](te,this['unitID'],this[_0x1a37ea(0x361)],null,[],this['_awaitingChangeset'],[],this[_0x1a37ea(0x341)]);this[_0x1a37ea(0x125)]();const _0x5eb604=this[_0x1a37ea(0x2ad)][_0x1a37ea(0x316)](De,this[_0x1a37ea(0x372)],this[_0x1a37ea(0x361)],this['_handler']);return _0x5eb604['_updateLocalCache'](),_0x5eb604;}[_0x5bfca8(0x294)](_0x409254){var _0x56b0ee=_0x5bfca8;return this[_0x56b0ee(0x15e)](!!(_0x409254!=null&&_0x409254[_0x56b0ee(0x381)]));}['onRemoteRetry'](_0x56f444){var _0x407667=_0x5bfca8;return this[_0x407667(0x273)]>Ni?this[_0x407667(0x327)]():(this[_0x407667(0x3af)]=Oi(this[_0x407667(0x273)],{'timeout':this[_0x407667(0x273)],'reqId':_0x56f444[_0x407667(0x2bb)]}),this[_0x407667(0x1f6)]=this[_0x407667(0x3af)][_0x407667(0xbd)](({reqId:_0x3fe599,timeout:_0x4de907})=>{var _0x4e100f=_0x407667;this[_0x4e100f(0x14b)](_0x3fe599,_0x4de907);}),this);}['toggleOffline'](){var _0x11ab74=_0x5bfca8;return this[_0x11ab74(0x322)](),this[_0x11ab74(0x2ad)][_0x11ab74(0x316)](fe,this[_0x11ab74(0x372)],this[_0x11ab74(0x361)],this['_awaitingChangeset'],[],this[_0x11ab74(0x341)]);}['toggleOnline'](){return this;}[_0x5bfca8(0x1ec)](){var _0x3865b1=_0x5bfca8;this[_0x3865b1(0x341)][_0x3865b1(0x23e)](this[_0x3865b1(0x334)]);}[_0x5bfca8(0x15e)](_0x3d2452){var _0x4ee9db=_0x5bfca8;return this[_0x4ee9db(0x322)](),this[_0x4ee9db(0x2ad)][_0x4ee9db(0x316)](de,this['unitID'],this[_0x4ee9db(0x361)],this['_awaitingChangeset'],[],this[_0x4ee9db(0x341)],_0x3d2452);}[_0x5bfca8(0x14b)](_0x153814,_0x3fb7ab){var _0x433b10=_0x5bfca8,_0x59af9e;_0x153814===((_0x59af9e=this['_awaitingChangeset'])==null?void 0x0:_0x59af9e[_0x433b10(0x2bb)])&&(this[_0x433b10(0x1ec)](),this[_0x433b10(0x273)]=_0x3fb7ab===0x0?0x3e8:_0x3fb7ab*0x2);}[_0x5bfca8(0x322)](){var _0x192265=_0x5bfca8,_0x302bd7;(_0x302bd7=this[_0x192265(0x1f6)])==null||_0x302bd7[_0x192265(0x14f)](),this['_resendTimeout']=0x0;}};ue=Re([A(0x4,_0x285a0e(_0x22efd7)),A(0x5,_0x285a0e(_0x45e6f8)),A(0x6,_0x36fb84),A(0x7,_0x43c1be),A(0x8,_0x45197c),A(0x9,_0x46a1d6),A(0xa,_0x22b405(J))],ue);let ae=class extends be{constructor(_0x5d0e2a,_0x4adbd8,_0x323a11,_0x1be82b,_0x34e863,_0x727bd4,_0xf6a38c,_0x13d318,_0x507026,_0xc3945c,_0x202c40,_0x1612a3,_0x4af899){var _0x40a01a=_0x5bfca8;super(_0x5d0e2a,_0x4adbd8,_0x323a11,_0x1be82b,_0x34e863,_0x507026,_0x1612a3,_0x13d318,_0x4af899),N(this,_0x40a01a(0x2b0),_0x40a01a(0x186)),N(this,_0x40a01a(0x273),0x0),N(this,_0x40a01a(0x3af)),N(this,_0x40a01a(0x1f6)),(this[_0x40a01a(0x2ad)]=_0xf6a38c,this['_logService']=_0xc3945c,this[_0x40a01a(0x18a)]=_0x202c40,this['localCacheService']=_0x4af899,_0x727bd4&&(this['_resendTimer']=_0x727bd4,this['_sender']=this[_0x40a01a(0x3af)]['subscribe'](({reqId:_0x3efaed,timeout:_0x941120})=>{var _0x5a7ccd=_0x40a01a;this[_0x5a7ccd(0x14b)](_0x3efaed,_0x941120);})));}[_0x5bfca8(0x358)](_0x499bde){var _0x19feed=_0x5bfca8;return this[_0x19feed(0x246)][_0x19feed(0x306)](_0x499bde),this;}['onRemoteChangeset'](_0x277479){var _0x12d388=_0x5bfca8;if(this[_0x12d388(0x2e8)](_0x277479))return this[_0x12d388(0x322)](),this[_0x12d388(0x2ad)][_0x12d388(0x316)](te,this['unitID'],this[_0x12d388(0x361)],this[_0x12d388(0x334)],this['_pendingMutations'],null,[_0x277479],this['_handler']);try{const _0x174f0e=this[_0x12d388(0x18a)][_0x12d388(0x2ec)]([_0x277479],[this[_0x12d388(0x334)]],!0x1);if(_0x504f72(_0x174f0e)){const {c1Prime:_0x380255,c2Prime:_0x16895f}=_0x174f0e,_0x57c791=this['_transformService'][_0x12d388(0x184)](_0x380255[0x0],this[_0x12d388(0x246)]);if(_0x3c5083(_0x57c791)){const {c1Prime:_0x3ab39d,m2Prime:_0x18d708}=_0x57c791;return this[_0x12d388(0x11a)](_0x3ab39d),_0x16895f[0x0][_0x12d388(0x181)]=this[_0x12d388(0x39e)](),this[_0x12d388(0x322)](),this[_0x12d388(0x2ad)][_0x12d388(0x316)](ae,this[_0x12d388(0x372)],this[_0x12d388(0x361)],_0x16895f[0x0],_0x18d708,this[_0x12d388(0x341)],void 0x0);}throw _0x57c791[_0x12d388(0x348)];}throw _0x174f0e[_0x12d388(0x348)];}catch(_0x1c5f1c){return this[_0x12d388(0x2bf)][_0x12d388(0x348)](_0x1c5f1c),this[_0x12d388(0x15e)](!0x1);}}['onRemoteAck'](_0x371d33){var _0x109ca6=_0x5bfca8;if(this[_0x109ca6(0x322)](),this[_0x109ca6(0x2e8)](_0x371d33))return this[_0x109ca6(0x2ad)][_0x109ca6(0x316)](te,this['unitID'],this['type'],null,this[_0x109ca6(0x246)],this[_0x109ca6(0x334)],[],this[_0x109ca6(0x341)]);this[_0x109ca6(0x125)]();const _0x367517=this[_0x109ca6(0x2ad)][_0x109ca6(0x316)](oe,this[_0x109ca6(0x372)],this[_0x109ca6(0x361)],this['_pendingMutations'],this['_handler']);return _0x367517[_0x109ca6(0x19f)](),_0x367517['_updateLocalCache'](),_0x367517;}[_0x5bfca8(0x294)](_0x11dda7){var _0x564f1e=_0x5bfca8;return this[_0x564f1e(0x15e)](!!(_0x11dda7!=null&&_0x11dda7[_0x564f1e(0x381)]));}[_0x5bfca8(0x1a8)](_0x12b1b7){var _0x771dfa=_0x5bfca8;return this[_0x771dfa(0x273)]>Ni?this['toggleOffline']():(this[_0x771dfa(0x3af)]=Oi(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x12b1b7[_0x771dfa(0x2bb)]}),this['_sender']=this[_0x771dfa(0x3af)][_0x771dfa(0xbd)](({reqId:_0xc460a9,timeout:_0x416e86})=>{var _0x519c5b=_0x771dfa;this[_0x519c5b(0x14b)](_0xc460a9,_0x416e86);}),this);}[_0x5bfca8(0x327)](){var _0x585210=_0x5bfca8;return this[_0x585210(0x322)](),this[_0x585210(0x2ad)][_0x585210(0x316)](fe,this[_0x585210(0x372)],this['type'],this[_0x585210(0x334)],this[_0x585210(0x246)],this['_handler']);}['toggleOnline'](){return this;}[_0x5bfca8(0x1ec)](){var _0x1b7835=_0x5bfca8;this['_handler'][_0x1b7835(0x23e)](this[_0x1b7835(0x334)]);}[_0x5bfca8(0x15e)](_0x14948a){var _0x245e1d=_0x5bfca8;return this[_0x245e1d(0x322)](),this[_0x245e1d(0x2ad)][_0x245e1d(0x316)](de,this[_0x245e1d(0x372)],this[_0x245e1d(0x361)],null,this[_0x245e1d(0x246)],this['_handler'],_0x14948a);}[_0x5bfca8(0x14b)](_0x1e809b,_0x5f5d38){var _0x396c28=_0x5bfca8,_0xd5fa3f;_0x1e809b===((_0xd5fa3f=this[_0x396c28(0x334)])==null?void 0x0:_0xd5fa3f[_0x396c28(0x2bb)])&&(this[_0x396c28(0x1ec)](),this[_0x396c28(0x273)]=_0x5f5d38===0x0?0x3e8:_0x5f5d38*0x2);}[_0x5bfca8(0x322)](){var _0x11431d=_0x5bfca8,_0x2d8e90;(_0x2d8e90=this[_0x11431d(0x1f6)])==null||_0x2d8e90[_0x11431d(0x14f)](),this[_0x11431d(0x273)]=0x0;}};ae=Re([A(0x6,_0x285a0e(_0x22efd7)),A(0x7,_0x285a0e(_0x45e6f8)),A(0x8,_0x36fb84),A(0x9,_0x43c1be),A(0xa,_0x45197c),A(0xb,_0x46a1d6),A(0xc,_0x22b405(J))],ae);let de=class extends be{constructor(_0x463836,_0x36d52c,_0x3e11fe,_0x7516ed,_0x397fa5,_0x3ed80c=!0x1,_0x1b8ec3,_0x2b02e3,_0x1a5fbc,_0x1bb830,_0x30abb8,_0x98165e,_0x3ea12c){var _0xa486bc=_0x5bfca8;super(_0x463836,_0x36d52c,_0x3e11fe,_0x7516ed,_0x397fa5,_0x2b02e3,_0x1a5fbc,_0x1bb830,_0x3ea12c),N(this,_0xa486bc(0x2b0),_0xa486bc(0x2d8)),(this['_isPermissionRej']=_0x3ed80c,this['_permissionService']=_0x1b8ec3,this[_0xa486bc(0x20b)]=_0x30abb8,this['_collaborationUIEventService']=_0x98165e,this['localCacheService']=_0x3ea12c,this[_0xa486bc(0x21e)](),this['_clearLocalCache'](),this[_0xa486bc(0x1f1)]());}['appendMutation'](){return this;}[_0x5bfca8(0x10e)](){return this;}[_0x5bfca8(0x35d)](){return this;}['onRemoteRej'](){return this;}[_0x5bfca8(0x1a8)](){return this;}[_0x5bfca8(0x327)](){return this;}['toggleOnline'](){return this;}[_0x5bfca8(0x1ec)](){var _0x2dba01=_0x5bfca8;throw new Error(_0x2dba01(0x183));}[_0x5bfca8(0xef)](){var _0x3685b0=_0x5bfca8,_0x33f738;(_0x33f738=this[_0x3685b0(0x1fd)])==null||_0x33f738[_0x3685b0(0x202)](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){var _0x38250c=_0x5bfca8;this[_0x38250c(0x325)]?this['_collaborationUIEventService'][_0x38250c(0x275)]({'id':se[_0x38250c(0x239)]}):this['_collaborationUIEventService'][_0x38250c(0x275)]({'id':se[_0x38250c(0x311)]});}['_disableEditing'](){var _0x8b4e7d=_0x5bfca8;this[_0x8b4e7d(0x310)]['updatePermissionPoint'](new _0x36b9b5(this[_0x8b4e7d(0x372)])['id'],!0x1);}};de=Re([A(0x6,_0x285a0e(_0x537f08)),A(0x7,_0x36fb84),A(0x8,_0x46a1d6),A(0x9,_0x285a0e(_0x45e6f8)),A(0xa,_0x285a0e(_0xc8816f)),A(0xb,_0x285a0e(pe)),A(0xc,_0x22b405(J))],de);let fe=class extends be{constructor(_0x452c41,_0x2165c5,_0x187f73,_0xe29623,_0x5062ee,_0x26f912,_0x2ef2e0,_0xeebb75,_0x435b74,_0x447c48){var _0x39b938=_0x5bfca8;super(_0x452c41,_0x2165c5,_0x187f73,_0xe29623,_0x5062ee,_0xeebb75,_0x435b74,_0x2ef2e0,_0x447c48),N(this,'status','offline'),this[_0x39b938(0x2ad)]=_0x26f912;}[_0x5bfca8(0x358)](_0x5b392f){var _0x4bbd9c=_0x5bfca8;return this[_0x4bbd9c(0x246)]['push'](_0x5b392f),this[_0x4bbd9c(0x20e)](),this;}['onRemoteChangeset'](_0x1a70c3){var _0x4db357=_0x5bfca8;throw new Error(_0x4db357(0xf8));}[_0x5bfca8(0x35d)](){var _0x20335f=_0x5bfca8;throw new Error(_0x20335f(0x2b9));}[_0x5bfca8(0x294)](){var _0x2e94cd=_0x5bfca8;throw new Error(_0x2e94cd(0x166));}[_0x5bfca8(0x1a8)](){return this;}[_0x5bfca8(0x327)](){return this;}[_0x5bfca8(0x156)](){var _0x525d6e=_0x5bfca8;const {_injector:_0x2e84be,_pendingMutations:_0x499351,_awaitingChangeset:_0x5ac304,unitID:_0x40cfe0,_handler:_0x29579d,type:_0x325045}=this,_0x1d822f=Di(_0x2e84be,_0x40cfe0,_0x325045,_0x5ac304,_0x499351,_0x29579d);return _0x1d822f instanceof oe?_0x1d822f[_0x525d6e(0x19f)]():(_0x1d822f instanceof ae||_0x1d822f instanceof ue)&&_0x1d822f[_0x525d6e(0x1ec)](),_0x1d822f;}[_0x5bfca8(0x1ec)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=Re([A(0x5,_0x285a0e(_0x22efd7)),A(0x6,_0x285a0e(_0x45e6f8)),A(0x7,_0x36fb84),A(0x8,_0x46a1d6),A(0x9,_0x22b405(J))],fe);let te=class extends be{constructor(_0x24858e,_0x383d39,_0x5e32f6,_0x45ee19,_0x2f96ec,_0x11e360,_0x41512f,_0x5459ee,_0x270b2b,_0xec21bb,_0x2bbf4b,_0x31f251,_0x37aedf,_0x536dd6){var _0x13bb96=_0x5bfca8;super(_0x24858e,_0x383d39,_0x5e32f6,_0x45ee19,_0x41512f,_0x2bbf4b,_0x31f251,_0x270b2b,_0x536dd6),N(this,'status',_0x13bb96(0x150)),(this[_0x13bb96(0x124)]=_0x2f96ec,this[_0x13bb96(0x390)]=_0x11e360,this[_0x13bb96(0x2ad)]=_0x5459ee,this[_0x13bb96(0x2bf)]=_0xec21bb,this[_0x13bb96(0x18a)]=_0x37aedf,this['localCacheService']=_0x536dd6);}[_0x5bfca8(0x2de)](_0x51a205){var _0x430c0a=_0x5bfca8;try{const _0x39c92b=[..._0x51a205,...this[_0x430c0a(0x390)]],_0x35677c=[this[_0x430c0a(0x334)]||this[_0x430c0a(0x124)]][_0x430c0a(0x2fc)](_0x259426=>!!_0x259426);let _0x4dabfc,_0x2a3b9a;if(_0x35677c[_0x430c0a(0xc8)]){const _0x5d29da=this[_0x430c0a(0x18a)][_0x430c0a(0x2ec)](_0x39c92b,_0x35677c,!0x1);if(!_0x504f72(_0x5d29da))throw _0x5d29da[_0x430c0a(0x348)];_0x4dabfc=_0x5d29da[_0x430c0a(0xbf)],_0x2a3b9a=_0x5d29da['c2Prime'];}else _0x4dabfc=_0x39c92b,_0x2a3b9a=[];let _0x592c35=this[_0x430c0a(0x246)];_0x4dabfc[_0x430c0a(0x33e)](_0xd1f582=>{var _0x4e0fc7=_0x430c0a;let _0x9a7deb;if(_0x592c35[_0x4e0fc7(0xc8)]){const _0x3e9c5f=this[_0x4e0fc7(0x18a)]['transformMutationsWithChangeset'](_0xd1f582,_0x592c35);if(!_0x3c5083(_0x3e9c5f))throw _0x3e9c5f[_0x4e0fc7(0x348)];_0x9a7deb=_0x3e9c5f[_0x4e0fc7(0xbf)],_0x592c35=_0x3e9c5f[_0x4e0fc7(0x10d)];}else _0x9a7deb=_0xd1f582;this['_executeRemoteChangeset'](_0x9a7deb);}),this[_0x430c0a(0x124)]&&this[_0x430c0a(0x125)](),this['_awaitingChangeset']&&_0x2a3b9a['length']&&(_0x2a3b9a[0x0][_0x430c0a(0x181)]=this[_0x430c0a(0x39e)]());let _0x3e161a;if(this[_0x430c0a(0x334)]&&_0x592c35['length']!==0x0)_0x3e161a=this[_0x430c0a(0x2ad)][_0x430c0a(0x316)](ae,this[_0x430c0a(0x372)],this[_0x430c0a(0x361)],_0x2a3b9a[0x0],_0x592c35,this[_0x430c0a(0x341)],void 0x0);else{if(this[_0x430c0a(0x334)]&&_0x592c35[_0x430c0a(0xc8)]===0x0)_0x2a3b9a[0x0][_0x430c0a(0x181)]=this[_0x430c0a(0x39e)](),_0x3e161a=this[_0x430c0a(0x2ad)]['createInstance'](ue,this[_0x430c0a(0x372)],this[_0x430c0a(0x361)],_0x2a3b9a[0x0],this[_0x430c0a(0x341)]);else{if(_0x592c35[_0x430c0a(0xc8)]!==0x0){const _0xa7352d=this[_0x430c0a(0x2ad)][_0x430c0a(0x316)](oe,this['unitID'],this[_0x430c0a(0x361)],_0x592c35,this[_0x430c0a(0x341)]);_0xa7352d[_0x430c0a(0x19f)](),_0x3e161a=_0xa7352d;}else _0x3e161a=this['_injector'][_0x430c0a(0x316)](De,this[_0x430c0a(0x372)],this[_0x430c0a(0x361)],this[_0x430c0a(0x341)]);}}return _0x3e161a[_0x430c0a(0x20e)](),_0x3e161a;}catch(_0x1b7505){return this[_0x430c0a(0x2bf)][_0x430c0a(0x348)](_0x430c0a(0xc7),'failed\x20to\x20apply\x20missed\x20changesets!',_0x1b7505),this[_0x430c0a(0x2ad)]['createInstance'](de,this['unitID'],this['type'],this[_0x430c0a(0x334)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x5bfca8(0x1ec)](){var _0x65c666=_0x5bfca8;throw new Error(_0x65c666(0x2f2));}[_0x5bfca8(0x358)](_0x3bfe40){var _0x2a8d15=_0x5bfca8;return this[_0x2a8d15(0x246)][_0x2a8d15(0x306)](_0x3bfe40),this;}[_0x5bfca8(0x10e)](_0x225b3b){var _0x8cb1ab=_0x5bfca8;return this['_queuedRemoteChangesets'][_0x8cb1ab(0x306)](_0x225b3b),this;}[_0x5bfca8(0x35d)](_0x3544e5){var _0x282586=_0x5bfca8;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x282586(0x334)],this[_0x282586(0x334)]=null,this;throw new Error(_0x282586(0x197));}[_0x5bfca8(0x294)](_0x3099ce){var _0x14d976=_0x5bfca8;return this[_0x14d976(0x15e)](!!(_0x3099ce!=null&&_0x3099ce['isPermissionRej']));}[_0x5bfca8(0x1a8)](){return this;}[_0x5bfca8(0x327)](){var _0x311d4f=_0x5bfca8;return this[_0x311d4f(0x2ad)][_0x311d4f(0x316)](fe,this[_0x311d4f(0x372)],this[_0x311d4f(0x361)],this['_awaitingChangeset'],this[_0x311d4f(0x246)],this[_0x311d4f(0x341)]);}[_0x5bfca8(0x156)](){return this;}[_0x5bfca8(0x15e)](_0x5b0eea){var _0x5a644e=_0x5bfca8;return this[_0x5a644e(0x2ad)][_0x5a644e(0x316)](de,this['unitID'],this[_0x5a644e(0x361)],this[_0x5a644e(0x334)],this[_0x5a644e(0x246)],this[_0x5a644e(0x341)],_0x5b0eea);}};te=Re([A(0x7,_0x285a0e(_0x22efd7)),A(0x8,_0x285a0e(_0x45e6f8)),A(0x9,_0x43c1be),A(0xa,_0x36fb84),A(0xb,_0x46a1d6),A(0xc,_0x45197c),A(0xd,_0x22b405(J))],te);function Di(_0x1e6195,_0x2d72ff,_0x747bb4,_0x30e0f4,_0x17d527,_0x2c5a7){var _0x2ae5ad=_0x5bfca8;return _0x30e0f4&&_0x17d527[_0x2ae5ad(0xc8)]?_0x1e6195[_0x2ae5ad(0x316)](ae,_0x2d72ff,_0x747bb4,_0x30e0f4,_0x17d527,_0x2c5a7,void 0x0):_0x30e0f4?_0x1e6195[_0x2ae5ad(0x316)](ue,_0x2d72ff,_0x747bb4,_0x30e0f4,_0x2c5a7):_0x17d527[_0x2ae5ad(0xc8)]?_0x1e6195[_0x2ae5ad(0x316)](oe,_0x2d72ff,_0x747bb4,_0x17d527,_0x2c5a7):_0x1e6195[_0x2ae5ad(0x316)](De,_0x2d72ff,_0x747bb4,_0x2c5a7);}var vr=Object[_0x5bfca8(0x37e)],pr=Object['getOwnPropertyDescriptor'],Lt=(_0x59ca9d,_0x3e4166,_0x24ca97,_0x5d7974)=>{var _0x22754f=_0x5bfca8;for(var _0x3193a8=_0x5d7974>0x1?void 0x0:_0x5d7974?pr(_0x3e4166,_0x24ca97):_0x3e4166,_0xd27c52=_0x59ca9d[_0x22754f(0xc8)]-0x1,_0x276347;_0xd27c52>=0x0;_0xd27c52--)(_0x276347=_0x59ca9d[_0xd27c52])&&(_0x3193a8=(_0x5d7974?_0x276347(_0x3e4166,_0x24ca97,_0x3193a8):_0x276347(_0x3193a8))||_0x3193a8);return _0x5d7974&&_0x3193a8&&vr(_0x3e4166,_0x24ca97,_0x3193a8),_0x3193a8;},k=(_0x2c24ba,_0x3dd880)=>(_0x281b0a,_0x741f47)=>_0x3dd880(_0x281b0a,_0x741f47,_0x2c24ba);let nt=class extends _0x13f3a3{constructor(_0x58161e,_0x23878a,_0x38fa6f,_0x1d6507,_0x4d9ac4,_0x45e439,_0x4e09d4,_0x43d490,_0x5702ee,_0x4e6393,_0x5d4110,_0x2c8c76,_0x984f70){var _0x4a7498=_0x5bfca8;super(),N(this,_0x4a7498(0x16a),new _0x3de5fe(null)),N(this,_0x4a7498(0x102),this[_0x4a7498(0x16a)]['asObservable']()),N(this,'_state'),N(this,_0x4a7498(0x328),!0x1),N(this,'_changesetSessionId',''),N(this,_0x4a7498(0x1dd),0x0),N(this,'status$',this[_0x4a7498(0x102)][_0x4a7498(0x3b9)](_0x548032(_0x1cfbff=>_0x1cfbff?_0x1cfbff['status']:yi[_0x4a7498(0x1b2)]),_0x4c5ea5(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x4a7498(0x129),[]),(this[_0x4a7498(0x372)]=_0x58161e,this['session']=_0x23878a,this['_type']=_0x38fa6f,this[_0x4a7498(0x2ad)]=_0x1d6507,this[_0x4a7498(0x218)]=_0x4d9ac4,this[_0x4a7498(0x20b)]=_0x45e439,this[_0x4a7498(0x2d1)]=_0x4e09d4,this['_eventService']=_0x43d490,this[_0x4a7498(0x2bf)]=_0x5702ee,this[_0x4a7498(0x2e2)]=_0x4e6393,this['_permissionService']=_0x5d4110,this['_singleActiveUnitService']=_0x2c8c76,this[_0x4a7498(0x1fd)]=_0x984f70);}get['state'](){return this['_state'];}async[_0x5bfca8(0x169)](){var _0x5d52bf=_0x5bfca8;if(this['state'])throw new Error(_0x5d52bf(0x158));await this[_0x5d52bf(0x3a4)]();}[_0x5bfca8(0xec)](){return this['_collaborationPaused']=!0x0,_0x162b76(()=>{var _0x29da31=_0xe7de;this[_0x29da31(0x328)]=!0x1,this[_0x29da31(0x274)]();});}[_0x5bfca8(0x245)](_0x1d82e2){var _0x4ea809=_0x5bfca8;this[_0x4ea809(0x3a6)](_0x1d82e2);}[_0x5bfca8(0x244)](_0x29e524){var _0x111292=_0x5bfca8;this[_0x111292(0x375)]=_0x29e524,this[_0x111292(0x16a)][_0x111292(0x26d)](_0x29e524);}async[_0x5bfca8(0x3a4)](){var _0x19097d=_0x5bfca8,_0x27c906;this['_updateState'](await this[_0x19097d(0x250)]()),this['_singleActiveUnitService']&&((_0x27c906=this[_0x19097d(0x22b)])==null||_0x27c906[_0x19097d(0x103)](this[_0x19097d(0x372)]),this[_0x19097d(0x2e9)](this[_0x19097d(0x22b)][_0x19097d(0x243)](this[_0x19097d(0x372)])['subscribe'](_0x2a51d5=>{var _0x21f371=_0x19097d;this[_0x21f371(0x2bf)][_0x21f371(0x2fd)](_0x21f371(0x276),_0x21f371(0x3a7),_0x2a51d5),_0x2a51d5===bi[_0x21f371(0x1c2)]?(this[_0x21f371(0x332)][_0x21f371(0x275)]({'id':se[_0x21f371(0x2e1)]}),this[_0x21f371(0x310)][_0x21f371(0x19b)](new _0x36b9b5(this[_0x21f371(0x372)])['id'],!0x1),this[_0x21f371(0x310)][_0x21f371(0x27e)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x36b9b5(this[_0x21f371(0x372)])['id'],!0x0),this[_0x21f371(0x310)][_0x21f371(0x27e)](!0x0));})));let _0x3d16b8=!0x1;return this[_0x19097d(0x2e9)](this[_0x19097d(0x1da)][_0x19097d(0x1d0)]['subscribe'](_0x53d2d2=>{var _0x54af75=_0x19097d;_0x53d2d2===Te[_0x54af75(0x259)]?this['_toggleOnline'](_0x3d16b8):_0x53d2d2===Te[_0x54af75(0x1b2)]&&(_0x3d16b8=!0x0,this[_0x54af75(0x3b6)]());})),this[_0x19097d(0x2e9)](this['session'][_0x19097d(0x147)]['subscribe'](_0xf89291=>{var _0x3e398d=_0x19097d;try{switch(_0xf89291[_0x3e398d(0x131)]){case _0x3167f1[_0x3e398d(0x119)]:{this[_0x3e398d(0x1e6)](_0x4b9402(_0xf89291[_0x3e398d(0x18e)]));break;}case _0x3167f1['CHANGESET_ACK']:{this[_0x3e398d(0x2d2)](_0xf89291[_0x3e398d(0x18e)]);break;}case _0x3167f1['CHANGESET_REJ']:{this[_0x3e398d(0x383)]();break;}case _0x3167f1[_0x3e398d(0x134)]:{this[_0x3e398d(0x38b)](_0xf89291[_0x3e398d(0x18e)]);break;}case _0x3167f1['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0xf89291[_0x3e398d(0x18e)]['changesets'][_0x3e398d(0x364)](_0x232e0f=>_0x4b9402(_0x232e0f)));break;}case _0x3167f1[_0x3e398d(0xf7)]:{this[_0x3e398d(0x383)]({'isPermissionRej':!0x0});break;}case _0x3167f1[_0x3e398d(0xff)]:break;}}catch(_0x405b7){throw console[_0x3e398d(0x348)]('Error\x20on\x20receiving\x20event',_0x405b7),_0x405b7;}})),this[_0x19097d(0x375)];}[_0x5bfca8(0xba)](){this['_transitionLocked']=!0x1;}[_0x5bfca8(0x393)](){var _0x2455e7=_0x5bfca8;if(this[_0x2455e7(0x226)])throw new Error(_0x2455e7(0x1ff));this['_transitionLocked']=!0x0;}[_0x5bfca8(0x3a6)](_0x4aa72f){var _0x1a7986=_0x5bfca8;this[_0x1a7986(0x393)](),this['_updateState'](this[_0x1a7986(0x375)][_0x1a7986(0x358)](_0x4aa72f)),this['_unlockTransition']();}[_0x5bfca8(0x1e6)](_0x46a647){var _0x3c9962=_0x5bfca8;if(!(_0x46a647['revision']<=this[_0x3c9962(0x2d1)][_0x3c9962(0xe9)](this[_0x3c9962(0x372)]))){if(this[_0x3c9962(0x328)]){this[_0x3c9962(0x129)][_0x3c9962(0x306)](_0x46a647);return;}this[_0x3c9962(0x24f)](_0x46a647);}}[_0x5bfca8(0x274)](){var _0x416649=_0x5bfca8;this[_0x416649(0x129)][_0x416649(0x33e)](_0x15a7c5=>this['_applyRemoteChangeset'](_0x15a7c5)),this[_0x416649(0x129)]=[];}['_applyRemoteChangeset'](_0x58e44d){var _0x5c19a6=_0x5bfca8;const _0x3ffa73=this[_0x5c19a6(0x218)]['interceptor']['fetchThroughInterceptors'](this[_0x5c19a6(0x218)][_0x5c19a6(0xf3)][_0x5c19a6(0xed)]()['COMPRESS_MUTATION_APPLY'])(_0x58e44d[_0x5c19a6(0x1ea)],null)||_0x58e44d[_0x5c19a6(0x1ea)],_0x53ad86={..._0x58e44d,'mutations':_0x3ffa73};this[_0x5c19a6(0x393)](),this['_updateState'](this['_state']['onRemoteChangeset'](_0x53ad86)),this['_unlockTransition']();}[_0x5bfca8(0x2d2)](_0xcdfe53){var _0x3b6016=_0x5bfca8;this[_0x3b6016(0x393)](),this[_0x3b6016(0x244)](this[_0x3b6016(0x375)][_0x3b6016(0x35d)](_0xcdfe53)),this[_0x3b6016(0xba)]();}[_0x5bfca8(0x383)](_0x359571){var _0xe1e6f9=_0x5bfca8;this[_0xe1e6f9(0x393)](),this[_0xe1e6f9(0x244)](this[_0xe1e6f9(0x375)]['onRemoteRej'](_0x359571)),this['_unlockTransition']();}[_0x5bfca8(0x38b)](_0x1cc825){var _0x25ab88=_0x5bfca8;this[_0x25ab88(0x393)](),this[_0x25ab88(0x244)](this[_0x25ab88(0x375)][_0x25ab88(0x1a8)](_0x1cc825)),this[_0x25ab88(0xba)]();}[_0x5bfca8(0x212)](_0x53bf12){var _0xfb504e=_0x5bfca8;if(!(this[_0xfb504e(0x375)]instanceof te))throw new TypeError(_0xfb504e(0x1fc));const _0x408f41=_0x53bf12['map'](_0x957164=>{var _0x67854a=_0xfb504e;const _0x539686=this[_0x67854a(0x218)][_0x67854a(0xf3)][_0x67854a(0x326)](this[_0x67854a(0x218)]['interceptor'][_0x67854a(0xed)]()['COMPRESS_MUTATION_APPLY'])(_0x957164[_0x67854a(0x1ea)],null)||_0x957164[_0x67854a(0x1ea)];return{..._0x957164,'mutations':_0x539686};});this['_lockTransition'](),this[_0xfb504e(0x244)](this[_0xfb504e(0x375)][_0xfb504e(0x2de)](_0x408f41)),this[_0xfb504e(0xba)]();}[_0x5bfca8(0x3b6)](){var _0x53fef1=_0x5bfca8;this[_0x53fef1(0x393)](),this[_0x53fef1(0x244)](this[_0x53fef1(0x375)][_0x53fef1(0x327)]()),this[_0x53fef1(0xba)]();}[_0x5bfca8(0x24e)](_0x109870=!0x1){var _0x19c687=_0x5bfca8;this[_0x19c687(0x393)](),this['_updateState'](this[_0x19c687(0x375)]['toggleOnline']()),this[_0x19c687(0xba)]();const _0x363548=this[_0x19c687(0x375)];_0x109870&&_0x363548 instanceof De&&(this[_0x19c687(0x393)](),this[_0x19c687(0x244)](_0x363548[_0x19c687(0x2c0)]()),this[_0x19c687(0xba)]());}async[_0x5bfca8(0x250)](){return new Promise(_0xb8550=>{var _0x17f839=_0xe7de;this['session'][_0x17f839(0x1d0)][_0x17f839(0x3b9)](_0x5b513c(0x1))['subscribe'](async _0x39c236=>{var _0xfad35=_0x17f839;_0xb8550(await this[_0xfad35(0x1e7)](_0x39c236===Te[_0xfad35(0x259)]));});});}[_0x5bfca8(0x163)](){const _0x5c9748=this['unitID'];return{'onStateChange':(_0x125a2a,_0x471d52)=>{var _0x22b367=_0xe7de;if(_0x125a2a!==this[_0x22b367(0x375)])throw new Error(_0x22b367(0x365)+_0x125a2a[_0x22b367(0x2b0)]+_0x22b367(0x146)+_0x471d52[_0x22b367(0x2b0)]+_0x22b367(0xb0)+this[_0x22b367(0x375)][_0x22b367(0x2b0)]);this[_0x22b367(0x244)](_0x471d52);},'onSendChangeset':_0x4c9e57=>{var _0x5d65a8=_0xe7de;_0x4c9e57[_0x5d65a8(0x220)]||(_0x4c9e57[_0x5d65a8(0x220)]=this['_changesetSessionId'],_0x4c9e57[_0x5d65a8(0x2bb)]=++this['_changesetReqId']);const _0x3737b9={'eventID':_0x3167f1['SUBMIT_CHANGESET'],'data':{'unitID':_0x4c9e57[_0x5d65a8(0x372)],'unitType':this[_0x5d65a8(0x30b)],'changeset':_0x4c9e57,'memberID':this['session']['getMemberID']()}};this[_0x5d65a8(0x1da)][_0x5d65a8(0x187)](_0x3737b9,this[_0x5d65a8(0x372)]);},'onMissingChangesets':({from:_0x2a9745,to:_0x42fae7})=>{var _0x5235f5=_0xe7de;this[_0x5235f5(0x2bf)][_0x5235f5(0x2fd)]('[CollaborationEntity]',_0x5235f5(0x1cf)+_0x2a9745+_0x5235f5(0x38a)+_0x42fae7);const _0x3ed6ea={'eventID':_0x3167f1['FETCH_MISSING'],'data':{'unitID':_0x5c9748,'unitType':this[_0x5235f5(0x30b)],'from':_0x2a9745,'to':_0x42fae7}};this['session'][_0x5235f5(0x187)](_0x3ed6ea,this[_0x5235f5(0x372)]);}};}async[_0x5bfca8(0x1e7)](_0x31c622){var _0x528631=_0x5bfca8,_0x37aed1,_0x2d970e,_0x2b66b5;const _0x300955=await((_0x37aed1=this[_0x528631(0x1fd)])==null?void 0x0:_0x37aed1[_0x528631(0x23d)](this[_0x528631(0x372)])),_0x4b1bcb=(_0x2d970e=_0x300955==null?void 0x0:_0x300955['mutations'])!=null?_0x2d970e:[],_0x99ecf5=(_0x2b66b5=_0x300955==null?void 0x0:_0x300955[_0x528631(0xdd)])!=null?_0x2b66b5:null,_0x46c43f=!!(_0x99ecf5!=null&&_0x99ecf5['sid'])&&!!(_0x99ecf5!=null&&_0x99ecf5[_0x528631(0x2bb)]);this[_0x528631(0x116)]=_0x46c43f?_0x99ecf5[_0x528631(0x220)]:sr(),this[_0x528631(0x1dd)]=_0x46c43f?_0x99ecf5['reqId']:0x0;const _0x28fa40=this[_0x528631(0x372)];try{this[_0x528631(0x24b)](_0x99ecf5,_0x4b1bcb);}catch(_0x1ffcb8){this['_logService'][_0x528631(0x348)](_0x1ffcb8);}const _0xc08311=this[_0x528631(0x163)]();if(_0x31c622){const _0x27f55f=Di(this[_0x528631(0x2ad)],_0x28fa40,this[_0x528631(0x30b)],_0x99ecf5,_0x4b1bcb,_0xc08311);return _0x27f55f instanceof oe?_0x27f55f[_0x528631(0x19f)]():(_0x27f55f instanceof ae||_0x27f55f instanceof ue)&&_0x27f55f['resend'](),_0x27f55f;}return this['_injector'][_0x528631(0x316)](fe,_0x28fa40,this[_0x528631(0x30b)],_0x99ecf5,_0x4b1bcb,_0xc08311);}['_replayCachedMutations'](_0x1861b8,_0xb9f17){var _0x5f347b=_0x5bfca8,_0x1a6d78,_0x3a2cf4;const _0x4e69b4=this[_0x5f347b(0x218)]['interceptor'][_0x5f347b(0x326)](this[_0x5f347b(0x218)][_0x5f347b(0xf3)][_0x5f347b(0xed)]()[_0x5f347b(0x285)]);(_0x1a6d78=_0x4e69b4((_0x1861b8==null?void 0x0:_0x1861b8[_0x5f347b(0x1ea)])||[],null))==null||_0x1a6d78[_0x5f347b(0x33e)](_0xb1d1f7=>this[_0x5f347b(0x2e2)][_0x5f347b(0x1a6)](_0xb1d1f7['id'],_0xb1d1f7[_0x5f347b(0x2a4)])),(_0x3a2cf4=_0x4e69b4(_0xb9f17||[],null))==null||_0x3a2cf4[_0x5f347b(0x33e)](_0x4d953b=>this['_commandService'][_0x5f347b(0x1a6)](_0x4d953b['id'],_0x4d953b['params']));}};nt=Lt([k(0x3,_0x285a0e(_0x22efd7)),k(0x4,_0x285a0e(_0x358415)),k(0x5,_0x285a0e(_0xc8816f)),k(0x6,_0x285a0e(_0x45e6f8)),k(0x7,_0x285a0e(pe)),k(0x8,_0x43c1be),k(0x9,_0x36fb84),k(0xa,_0x537f08),k(0xb,_0x22b405(ht)),k(0xc,_0x22b405(J))],nt);let Tt=class extends nt{constructor(_0xbe740,_0x1e4e75,_0x265924,_0x344aad,_0xc02880,_0x529b97,_0x384f23,_0x387783,_0x228b19,_0x28b850,_0x1a8cce,_0x4d2827,_0xfd6cf4){var _0x119d80=_0x5bfca8;super(_0xbe740,_0x265924,_0x1e4e75,_0x344aad,_0xc02880,_0x529b97,_0x384f23,_0x387783,_0x228b19,_0x28b850,_0x1a8cce,_0x4d2827,_0xfd6cf4),N(this,_0x119d80(0x16b),null),(this[_0x119d80(0x372)]=_0xbe740,this[_0x119d80(0x361)]=_0x1e4e75);}['addHandlerCallback'](_0x18682b){var _0x3582a6=_0x5bfca8;this[_0x3582a6(0x16b)]=_0x18682b;}['dispose'](){var _0x1ab090=_0x5bfca8;this[_0x1ab090(0x16b)]=null,super['dispose']();}[_0x5bfca8(0x163)](){var _0x5b7dd6=_0x5bfca8;const _0x232fcf=super[_0x5b7dd6(0x163)]();return _0x232fcf['onTransformIME']=_0x2db3e7=>{var _0x1313e0=_0x5b7dd6,_0x2f75b9,_0x50db89;return(_0x50db89=(_0x2f75b9=this[_0x1313e0(0x16b)])==null?void 0x0:_0x2f75b9[_0x1313e0(0x2a2)])==null?void 0x0:_0x50db89[_0x1313e0(0x345)](_0x2f75b9,_0x2db3e7);},_0x232fcf[_0x5b7dd6(0x1a9)]=_0x57a176=>{var _0x335b9c=_0x5b7dd6,_0x14a69f,_0x5cafa9;return(_0x5cafa9=(_0x14a69f=this['_handlerCallback'])==null?void 0x0:_0x14a69f[_0x335b9c(0x1a9)])==null?void 0x0:_0x5cafa9[_0x335b9c(0x345)](_0x14a69f,_0x57a176);},_0x232fcf[_0x5b7dd6(0x1de)]=_0x1ddb48=>{var _0x277e66=_0x5b7dd6,_0x58438f,_0x14a1f5;return(_0x14a1f5=(_0x58438f=this[_0x277e66(0x16b)])==null?void 0x0:_0x58438f[_0x277e66(0x1de)])==null?void 0x0:_0x14a1f5[_0x277e66(0x345)](_0x58438f,_0x1ddb48);},_0x232fcf[_0x5b7dd6(0xcd)]=_0x34028c=>{var _0x21753f=_0x5b7dd6,_0x463e93,_0x39c74d;return(_0x39c74d=(_0x463e93=this[_0x21753f(0x16b)])==null?void 0x0:_0x463e93[_0x21753f(0xcd)])==null?void 0x0:_0x39c74d[_0x21753f(0x345)](_0x463e93,_0x34028c);},_0x232fcf[_0x5b7dd6(0x29b)]=_0x3221a7=>{var _0x258a72=_0x5b7dd6,_0xfd212f,_0x50dfb8,_0x25ef93;if(!((_0xfd212f=this[_0x258a72(0x16b)])!=null&&_0xfd212f['onTransformRemoteChangesetByIMECache']))throw new Error(_0x258a72(0x1b8));return(_0x25ef93=(_0x50dfb8=this[_0x258a72(0x16b)])==null?void 0x0:_0x50dfb8[_0x258a72(0x29b)])==null?void 0x0:_0x25ef93[_0x258a72(0x345)](_0x50dfb8,_0x3221a7);},_0x232fcf[_0x5b7dd6(0x30e)]=_0x4f959e=>{var _0x3eb77b=_0x5b7dd6,_0x3d305b,_0x20a1fd,_0x1e75d7;if(!((_0x3d305b=this[_0x3eb77b(0x16b)])!=null&&_0x3d305b[_0x3eb77b(0x30e)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x1e75d7=(_0x20a1fd=this[_0x3eb77b(0x16b)])==null?void 0x0:_0x20a1fd[_0x3eb77b(0x30e)])==null?void 0x0:_0x1e75d7[_0x3eb77b(0x345)](_0x20a1fd,_0x4f959e);},_0x232fcf;}async[_0x5bfca8(0x3a4)](){var _0x4a83f5=_0x5bfca8;const _0x32ffbb=await super[_0x4a83f5(0x3a4)]();return this['disposeWithMe'](this['_commandService'][_0x4a83f5(0x110)]((_0x3874c2,_0x3c5457)=>{var _0x47f820=_0x4a83f5;if(_0x3874c2[_0x47f820(0x361)]!==_0x43ebc5[_0x47f820(0x354)]||_0x3c5457!=null&&_0x3c5457['fromCollab']||_0x3c5457!=null&&_0x3c5457['onlyLocal']||_0x3874c2['id']===_0x23b199['id'])return;const _0x4ccf42=_0x3874c2['params'];if((_0x4ccf42==null?void 0x0:_0x4ccf42['unitId'])!==this[_0x47f820(0x372)])return;const _0x47fccd=_0x3874c2,_0x13b7a5=this[_0x47f820(0x218)][_0x47f820(0xf3)][_0x47f820(0x326)](this[_0x47f820(0x218)][_0x47f820(0xf3)][_0x47f820(0xed)]()['COMPRESS_MUTATION_SEND'])([_0x47fccd],null)||[_0x47fccd];this[_0x47f820(0x3a6)](_0x13b7a5[0x0]);})),_0x32ffbb;}};Tt=Lt([k(0x3,_0x285a0e(_0x22efd7)),k(0x4,_0x285a0e(_0x358415)),k(0x5,_0x285a0e(_0xc8816f)),k(0x6,_0x285a0e(_0x45e6f8)),k(0x7,_0x285a0e(pe)),k(0x8,_0x43c1be),k(0x9,_0x36fb84),k(0xa,_0x537f08),k(0xb,_0x22b405(ht)),k(0xc,_0x22b405(J))],Tt);let Ct=class extends nt{constructor(_0x10ce37,_0x40a6b6,_0x550a24,_0x5a861a,_0x283ab2,_0x3c65b0,_0x37b741,_0xb1d629,_0x3c0d7c,_0x5a8b35,_0x2c14ea,_0x353aa2,_0xf19d63,_0xe48575){var _0x4bcc38=_0x5bfca8;super(_0x10ce37,_0x550a24,_0x40a6b6,_0x5a861a,_0x283ab2,_0x3c65b0,_0x37b741,_0x3c0d7c,_0x5a8b35,_0x2c14ea,_0x353aa2,_0xf19d63,_0xe48575),this[_0x4bcc38(0x372)]=_0x10ce37,this[_0x4bcc38(0x361)]=_0x40a6b6,this[_0x4bcc38(0x320)]=_0xb1d629;}[_0x5bfca8(0x163)](){var _0x547fef=_0x5bfca8;const _0x19af7e=super[_0x547fef(0x163)]();return _0x19af7e[_0x547fef(0x1de)]=_0x5eded3=>this[_0x547fef(0x320)][_0x547fef(0x17b)](_0x5eded3),_0x19af7e;}async[_0x5bfca8(0x3a4)](){var _0x377d1c=_0x5bfca8;const _0x3cc5c6=await super[_0x377d1c(0x3a4)]();return this[_0x377d1c(0x2e9)](this[_0x377d1c(0x2e2)]['onCommandExecuted']((_0x321425,_0x4f41d1)=>{var _0x363c59=_0x377d1c;if(_0x321425[_0x363c59(0x361)]!==_0x43ebc5[_0x363c59(0x354)]||_0x4f41d1!=null&&_0x4f41d1[_0x363c59(0x29c)]||_0x4f41d1!=null&&_0x4f41d1[_0x363c59(0x198)])return;const _0x47ac11=_0x321425[_0x363c59(0x2a4)];if((_0x47ac11==null?void 0x0:_0x47ac11['unitId'])!==this['unitID'])return;const _0x12782c=_0x321425,_0x265630=this['_compressMutationService']['interceptor'][_0x363c59(0x326)](this[_0x363c59(0x218)][_0x363c59(0xf3)][_0x363c59(0xed)]()[_0x363c59(0x123)])([_0x12782c],null)||[_0x12782c];this[_0x363c59(0x3a6)](_0x265630[0x0]);})),_0x3cc5c6;}};Ct=Lt([k(0x3,_0x285a0e(_0x22efd7)),k(0x4,_0x285a0e(_0x358415)),k(0x5,_0x285a0e(_0xc8816f)),k(0x6,_0x285a0e(_0x45e6f8)),k(0x7,_0x285a0e(it)),k(0x8,_0x285a0e(pe)),k(0x9,_0x43c1be),k(0xa,_0x36fb84),k(0xb,_0x537f08),k(0xc,_0x22b405(ht)),k(0xd,_0x22b405(J))],Ct);var mr=Object['defineProperty'],gr=Object['getOwnPropertyDescriptor'],Sr=(_0x4e08d7,_0x40dfae,_0x33e2ae,_0x2fa83f)=>{for(var _0x18b81e=_0x2fa83f>0x1?void 0x0:_0x2fa83f?gr(_0x40dfae,_0x33e2ae):_0x40dfae,_0xe05d04=_0x4e08d7['length']-0x1,_0x29206a;_0xe05d04>=0x0;_0xe05d04--)(_0x29206a=_0x4e08d7[_0xe05d04])&&(_0x18b81e=(_0x2fa83f?_0x29206a(_0x40dfae,_0x33e2ae,_0x18b81e):_0x29206a(_0x18b81e))||_0x18b81e);return _0x2fa83f&&_0x18b81e&&mr(_0x40dfae,_0x33e2ae,_0x18b81e),_0x18b81e;},ft=(_0x3d3b9f,_0x10d85b)=>(_0x4da164,_0x380429)=>_0x10d85b(_0x4da164,_0x380429,_0x3d3b9f);let rt=class extends _0x13f3a3{constructor(_0x2446c5,_0xce21bd,_0x40d8cb){var _0x320afa=_0x5bfca8;super(),N(this,'_entities',new Map()),N(this,_0x320afa(0x27a),new _0x4268af()),N(this,'entityInit$',this[_0x320afa(0x27a)][_0x320afa(0x176)]()),(this[_0x320afa(0x2ad)]=_0x2446c5,this['_collabSessionService']=_0xce21bd,this['_univerInstanceService']=_0x40d8cb,this[_0x320afa(0x3a4)]());}[_0x5bfca8(0x2f0)](){var _0x55e630=_0x5bfca8;super[_0x55e630(0x2f0)](),this[_0x55e630(0x2cf)][_0x55e630(0x33e)](_0x49d4af=>_0x49d4af['dispose']()),this['_entities']['clear']();}['getCollabEntity'](_0x1d87aa){var _0x10d497=_0x5bfca8,_0x3c66dc;return(_0x3c66dc=this[_0x10d497(0x2cf)]['get'](_0x1d87aa))!=null?_0x3c66dc:null;}[_0x5bfca8(0x32d)](_0x5435dd){var _0x2f4e6b=_0x5bfca8;const _0x338932=this[_0x2f4e6b(0xc2)](_0x5435dd);return _0x338932?_0x278228(_0x338932):this[_0x2f4e6b(0x27a)]['pipe'](_0x533c34(_0x53ae8d=>_0x53ae8d[_0x2f4e6b(0x372)]===_0x5435dd));}[_0x5bfca8(0x1fa)](_0x28b59b){var _0x151dea=_0x5bfca8;return _0x29bacb(this[_0x151dea(0x32d)](_0x28b59b)[_0x151dea(0x3b9)](_0x15918f(()=>{})));}[_0x5bfca8(0x3a4)](){var _0x494f2f=_0x5bfca8;this[_0x494f2f(0xc3)]['getTypeOfUnitAdded$'](_0x1f23c0[_0x494f2f(0x200)])[_0x494f2f(0x3b9)](_0x22b2ec(this[_0x494f2f(0x1e1)]),_0x43fab7(0x10))[_0x494f2f(0xbd)](async _0x3db801=>{var _0x3d6977=_0x494f2f;const _0x3f0d8b=_0x3db801[_0x3d6977(0x2d9)](),_0x1d816f=await this[_0x3d6977(0x21d)](_0x3f0d8b,Q[_0x3d6977(0x200)]);this[_0x3d6977(0x2cf)][_0x3d6977(0x122)](_0x3f0d8b,_0x1d816f);}),this[_0x494f2f(0xc3)][_0x494f2f(0x1e8)](_0x1f23c0[_0x494f2f(0x1aa)])[_0x494f2f(0x3b9)](_0x22b2ec(this['dispose$']),_0x43fab7(0x10))['pipe'](_0x533c34(_0x344c91=>!_0x344c91['getUnitId']()['startsWith']('__')))[_0x494f2f(0xbd)](async _0x5d723c=>{var _0x960c95=_0x494f2f;const _0x402180=_0x5d723c[_0x960c95(0x2d9)](),_0x2b0ea8=await this[_0x960c95(0x21d)](_0x402180,Q['UNIVER_DOC']);this[_0x960c95(0x2cf)][_0x960c95(0x122)](_0x402180,_0x2b0ea8);}),_0x230e2e(this[_0x494f2f(0xc3)][_0x494f2f(0x2f4)](_0x1f23c0[_0x494f2f(0x200)]),this[_0x494f2f(0xc3)]['getTypeOfUnitDisposed$'](_0x1f23c0['UNIVER_DOC']))[_0x494f2f(0x3b9)](_0x22b2ec(this[_0x494f2f(0x1e1)]))[_0x494f2f(0xbd)](_0xc04fff=>{var _0x24b160=_0x494f2f;const _0x6dc886=_0xc04fff['getUnitId'](),_0x45ba6f=this['_entities']['get'](_0x6dc886);_0x45ba6f&&(_0x45ba6f['dispose'](),this[_0x24b160(0x2cf)]['delete'](_0x6dc886));});}async[_0x5bfca8(0x21d)](_0x4e29c5,_0x18f66e){var _0x59f17d=_0x5bfca8;const _0x6539f4=await this['_collabSessionService'][_0x59f17d(0x1f8)](_0x4e29c5),_0x4fec15=this[_0x59f17d(0x2ad)][_0x59f17d(0x316)](this[_0x59f17d(0x112)](_0x18f66e),_0x4e29c5,_0x18f66e,_0x6539f4);return await _0x4fec15[_0x59f17d(0x169)](),this[_0x59f17d(0x27a)]['next'](_0x4fec15),_0x4fec15;}[_0x5bfca8(0x112)](_0x413517){var _0x3f8b83=_0x5bfca8;switch(_0x413517){case Q[_0x3f8b83(0x1aa)]:return Tt;case Q['UNIVER_SHEET']:return Ct;default:throw new Error(_0x3f8b83(0x2f9)+_0x413517);}}};rt=Sr([ft(0x0,_0x285a0e(_0x22efd7)),ft(0x1,_0x285a0e(Le)),ft(0x2,_0x34354e)],rt);var Er=Object[_0x5bfca8(0x37e)],Ir=Object[_0x5bfca8(0x2cb)],Tr=(_0x38cef5,_0xb2599e,_0x517505,_0x46aa73)=>{var _0x33a86a=_0x5bfca8;for(var _0x3c2ee3=_0x46aa73>0x1?void 0x0:_0x46aa73?Ir(_0xb2599e,_0x517505):_0xb2599e,_0x421f49=_0x38cef5[_0x33a86a(0xc8)]-0x1,_0x3e112f;_0x421f49>=0x0;_0x421f49--)(_0x3e112f=_0x38cef5[_0x421f49])&&(_0x3c2ee3=(_0x46aa73?_0x3e112f(_0xb2599e,_0x517505,_0x3c2ee3):_0x3e112f(_0x3c2ee3))||_0x3c2ee3);return _0x46aa73&&_0x3c2ee3&&Er(_0xb2599e,_0x517505,_0x3c2ee3),_0x3c2ee3;},Jt=(_0x590459,_0x4332a3)=>(_0x5ac9fe,_0x1c56eb)=>_0x4332a3(_0x5ac9fe,_0x1c56eb,_0x590459);const Cr=_0x5bfca8(0x14a),Rr='Univer';let Rt=class extends _0x4971ea{constructor(_0x445d13,_0x302967){var _0xf38163=_0x5bfca8;super(),this['_univerInstanceService']=_0x445d13,this[_0xf38163(0x313)]=_0x302967,this[_0xf38163(0x3a4)]();}['_init'](){var _0x3f3678=_0x5bfca8;this['disposeWithMe'](this[_0x3f3678(0xc3)][_0x3f3678(0x1a3)][_0x3f3678(0xbd)](()=>{var _0x51ba1e=_0x3f3678,_0xe5f322;const _0xaaccab=this[_0x51ba1e(0xc3)]['getFocusedUnit']();let _0x111e8e=(_0xe5f322=this[_0x51ba1e(0x313)][_0x51ba1e(0x242)](Cr))!=null?_0xe5f322:Rr;_0xaaccab instanceof _0x494125&&(_0x111e8e=_0xaaccab[_0x51ba1e(0x292)]),document[_0x51ba1e(0x324)]=_0x111e8e;}));}};Rt=Tr([Jt(0x0,_0x34354e),Jt(0x1,_0x44e247)],Rt);var br=Object[_0x5bfca8(0x37e)],Or=Object[_0x5bfca8(0x2cb)],yr=(_0x2aa01c,_0x3e06cb,_0x81c8bd,_0x5cd172)=>{var _0x2e876f=_0x5bfca8;for(var _0x10c5b9=_0x5cd172>0x1?void 0x0:_0x5cd172?Or(_0x3e06cb,_0x81c8bd):_0x3e06cb,_0x4c9fe3=_0x2aa01c[_0x2e876f(0xc8)]-0x1,_0x87ecf5;_0x4c9fe3>=0x0;_0x4c9fe3--)(_0x87ecf5=_0x2aa01c[_0x4c9fe3])&&(_0x10c5b9=(_0x5cd172?_0x87ecf5(_0x3e06cb,_0x81c8bd,_0x10c5b9):_0x87ecf5(_0x10c5b9))||_0x10c5b9);return _0x5cd172&&_0x10c5b9&&br(_0x3e06cb,_0x81c8bd,_0x10c5b9),_0x10c5b9;},vt=(_0x130d54,_0x14a6cf)=>(_0x49d70c,_0x4ec9fc)=>_0x14a6cf(_0x49d70c,_0x4ec9fc,_0x130d54);let st=class{constructor(_0x4bc536,_0x13513a,_0x21019d){var _0x25ece0=_0x5bfca8;this[_0x25ece0(0x313)]=_0x4bc536,this[_0x25ece0(0x11c)]=_0x13513a,this[_0x25ece0(0x2f3)]=_0x21019d,this['init']();}[_0x5bfca8(0x169)](){var _0x4da02e=_0x5bfca8;this['_httpService'][_0x4da02e(0x367)]({'priority':0x1,'interceptor':(_0x2f125b,_0x25bd3b)=>_0x25bd3b(_0x2f125b)[_0x4da02e(0x3b9)](_0x427af4(async _0x245db7=>{var _0x1bc8d0=_0x4da02e;const _0x3e0318=_0x245db7;if(_0x3e0318['status']===0x191){if(typeof window>'u')throw new Error(_0x1bc8d0(0x333));if(window[_0x1bc8d0(0x21f)](this[_0x1bc8d0(0x2f3)]['t'](_0x1bc8d0(0x162)))){const _0x460889=window[_0x1bc8d0(0x1f4)](window[_0x1bc8d0(0x22a)]['href']);window[_0x1bc8d0(0x22a)][_0x1bc8d0(0x3ac)]=this[_0x1bc8d0(0x2be)]()+_0x1bc8d0(0xbe)+_0x460889;}}return _0x3e0318;}))});}[_0x5bfca8(0x2be)](){var _0x134988=_0x5bfca8,_0x157dd3,_0x5011f1;const _0x3ff458=this[_0x134988(0x313)][_0x134988(0x242)](xn),_0x1c4646=this[_0x134988(0x313)][_0x134988(0x242)](q);return(_0x5011f1=(_0x157dd3=_0x1c4646==null?void 0x0:_0x1c4646[_0x134988(0x303)])!=null?_0x157dd3:_0x3ff458)!=null?_0x5011f1:Ln;}};st=yr([vt(0x0,_0x44e247),vt(0x1,_0x285a0e(_0x48889b)),vt(0x2,_0x285a0e(_0xc8816f))],st);var Nr=Object['defineProperty'],Dr=Object[_0x5bfca8(0x2cb)],Pr=(_0x542db2,_0x4ea38e,_0x49b24a,_0x36e9fe)=>{var _0x3b3061=_0x5bfca8;for(var _0x34d571=_0x36e9fe>0x1?void 0x0:_0x36e9fe?Dr(_0x4ea38e,_0x49b24a):_0x4ea38e,_0x3debbe=_0x542db2[_0x3b3061(0xc8)]-0x1,_0x510f9c;_0x3debbe>=0x0;_0x3debbe--)(_0x510f9c=_0x542db2[_0x3debbe])&&(_0x34d571=(_0x36e9fe?_0x510f9c(_0x4ea38e,_0x49b24a,_0x34d571):_0x510f9c(_0x34d571))||_0x34d571);return _0x36e9fe&&_0x34d571&&Nr(_0x4ea38e,_0x49b24a,_0x34d571),_0x34d571;},Xt=(_0x28443f,_0x417efb)=>(_0x2bb335,_0x271332)=>_0x417efb(_0x2bb335,_0x271332,_0x28443f);const Pi='AUTHZ_URL_KEY',wr=_0x5bfca8(0x284);let bt=class extends _0x4971ea{constructor(_0x284413,_0x39979f){var _0x49a4eb=_0x5bfca8;super(),this[_0x49a4eb(0x2fa)]=_0x284413,this[_0x49a4eb(0x313)]=_0x39979f,this['_initMergeInterceptor']();}[_0x5bfca8(0x2c2)](){var _0x107ed8=_0x5bfca8;const _0x4ffafa=this;this[_0x107ed8(0x2e9)](this[_0x107ed8(0x2fa)][_0x107ed8(0x367)]({'priority':0x3e7,'interceptor':_0x1718c7({'isMatch'(_0x2e65e4){var _0x363df5=_0x107ed8,_0x3f548f;if(_0x2e65e4[_0x363df5(0x2a5)]===_0x363df5(0x394)&&((_0x3f548f=_0x2e65e4[_0x363df5(0x338)])!=null&&_0x3f548f['body'])){const {objectID:_0x5e55c3,objectType:_0xc074f1}=_0x2e65e4[_0x363df5(0x338)]['body']||{};if(!_0x5e55c3||_0xc074f1===void 0x0)return!0x1;const _0x4d3f25=_0x4ffafa['_getAPIPrefixPath']()+'/'+_0xc074f1+_0x363df5(0x193)+_0x5e55c3+_0x363df5(0x39a);if(_0x2e65e4[_0x363df5(0xb1)]===_0x4d3f25)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x48d605){var _0x49e2b6=_0x107ed8,_0x496711;return(_0x496711=_0x48d605[_0x49e2b6(0x338)])==null?void 0x0:_0x496711[_0x49e2b6(0x15d)];},'mergeParamsToRequest'(_0x22a0ba,_0xd10b91){var _0x1a8f97=_0x107ed8;const _0x283226=_0x4ffafa[_0x1a8f97(0x343)]()+'/-/object/-/batch_allowed',_0x399257=_0x22a0ba['reduce']((_0x1a02c9,_0xc3536c)=>{var _0x54f197=_0x1a8f97;const {unitID:_0xc92863,objectID:_0x573d38,objectType:_0x5973f8,actions:_0x3c689d}=_0xc3536c;return _0x1a02c9[_0xc92863]||(_0x1a02c9[_0xc92863]={}),_0x1a02c9[_0xc92863][_0x573d38]||(_0x1a02c9[_0xc92863][_0x573d38]={'objectID':_0x573d38,'objectType':_0x5973f8,'actions':[]}),_0x1a02c9[_0xc92863][_0x573d38]['actions'][_0x54f197(0x306)](..._0x3c689d),_0x1a02c9;},{}),_0x2d9b22=[];for(const _0x46e408 in _0x399257)for(const _0x1777c5 in _0x399257[_0x46e408]){const {actions:_0x9b995a,objectType:_0xc9f3a4}=_0x399257[_0x46e408][_0x1777c5],_0x5877a4=[...new Set(_0x9b995a)];_0x2d9b22[_0x1a8f97(0x306)]({'unitID':_0x46e408,'objectID':_0x1777c5,'objectType':_0xc9f3a4,'actions':_0x5877a4});}return new _0x3d38c3(_0x1a8f97(0x394),_0x283226,{'headers':_0xd10b91[_0x1a8f97(0x249)],'withCredentials':_0xd10b91[_0x1a8f97(0x26b)],'responseType':_0xd10b91[_0x1a8f97(0x171)],'body':{'requests':_0x2d9b22}});}},{'distributeResult'(_0x21dd5a,_0x3646d5){var _0x570dbd=_0x107ed8;const {objectActions:_0xfb28b8}=_0x21dd5a;return _0x3646d5[_0x570dbd(0x364)](_0x2d2401=>{var _0x45c54f=_0x570dbd;const {unitID:_0x47b475,objectID:_0x1d612f,actions:_0x1c001e}=_0x2d2401,_0x263e4e=_0xfb28b8['find'](_0x4b806f=>_0x4b806f[_0x45c54f(0x372)]===_0x47b475&&_0x4b806f['objectID']===_0x1d612f),_0x1650be=_0x1c001e[_0x45c54f(0x364)](_0x3e9d72=>_0x263e4e==null?void 0x0:_0x263e4e['actions']['find'](_0x58a43a=>_0x58a43a['action']===_0x3e9d72))['filter'](_0x53f89d=>!!_0x53f89d);return{'config':_0x2d2401,'result':{'actions':_0x1650be,'error':_0x21dd5a[_0x45c54f(0x348)]}};});}})}));}[_0x5bfca8(0x343)](){var _0x292abc=_0x5bfca8,_0x1c9ee8,_0x65be90;const _0x158a08=this['_configService'][_0x292abc(0x242)](Pi),_0x4e343f=this[_0x292abc(0x313)][_0x292abc(0x242)](q);return(_0x65be90=(_0x1c9ee8=_0x4e343f==null?void 0x0:_0x4e343f[_0x292abc(0x35e)])!=null?_0x1c9ee8:_0x158a08)!=null?_0x65be90:wr;}async[_0x5bfca8(0xc6)](_0x2e6f9e){var _0xfa4402=_0x5bfca8;const _0xb491c7=this[_0xfa4402(0x343)]()+'/'+_0x2e6f9e[_0xfa4402(0x17e)]+_0xfa4402(0x388);return(await this['_HTTPService'][_0xfa4402(0x295)](_0xb491c7,{'body':_0x2e6f9e}))[_0xfa4402(0x15d)][_0xfa4402(0x1dc)]||'';}async[_0x5bfca8(0xe2)](_0x4846bf){var _0x45ae61=_0x5bfca8;const _0x3fa26b=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x45ae61(0x2fa)][_0x45ae61(0x295)](_0x3fa26b,{'body':_0x4846bf}))[_0x45ae61(0x15d)][_0x45ae61(0x30d)];}async[_0x5bfca8(0x315)](_0x5bf967){var _0x2a68cb=_0x5bfca8;const _0x51ae20=this['_getAPIPrefixPath']()+'/'+_0x5bf967[_0x2a68cb(0x17e)]+_0x2a68cb(0x193)+_0x5bf967[_0x2a68cb(0x1dc)];await this[_0x2a68cb(0x2fa)][_0x2a68cb(0xb4)](_0x51ae20,{'body':_0x5bf967});}async[_0x5bfca8(0x2d4)](_0x117974){var _0xc4b89b=_0x5bfca8;const _0x170090=this['_getAPIPrefixPath']()+'/'+_0x117974['objectType']+_0xc4b89b(0x193)+_0x117974[_0xc4b89b(0x1dc)]+_0xc4b89b(0x39a);return(await this[_0xc4b89b(0x2fa)]['post'](_0x170090,{'body':_0x117974}))['body']['actions'];}async[_0x5bfca8(0x209)](_0x24afbf){var _0x11824d=_0x5bfca8;const _0x520c1d=this['_getAPIPrefixPath']()+_0x11824d(0x23c);return(await this['_HTTPService'][_0x11824d(0x295)](_0x520c1d,{'body':{'requests':_0x24afbf}}))[_0x11824d(0x15d)][_0x11824d(0xd7)];}async[_0x5bfca8(0x1b7)](_0x154c0d){var _0x1de185=_0x5bfca8;const _0x61b904=this[_0x1de185(0x343)]()+'/'+_0x154c0d[_0x1de185(0x17e)]+_0x1de185(0x154),_0x221c1f=await this['_HTTPService'][_0x1de185(0x295)](_0x61b904,{'body':_0x154c0d});return{'roles':_0x221c1f[_0x1de185(0x15d)][_0x1de185(0x363)],'actions':_0x221c1f[_0x1de185(0x15d)]['actions']};}async[_0x5bfca8(0x104)](_0x492b22){var _0x3570f4=_0x5bfca8;const _0x3754cd=this[_0x3570f4(0x343)]()+_0x3570f4(0x1ef);await this[_0x3570f4(0x2fa)]['delete'](_0x3754cd,{'params':{'collaboratorID':_0x492b22[_0x3570f4(0x2aa)],'objectID':_0x492b22[_0x3570f4(0x1dc)],'unitID':_0x492b22[_0x3570f4(0x372)]}});}async['updateCollaborator'](_0x592f94){var _0x587ac1=_0x5bfca8;const _0x4a3484=this[_0x587ac1(0x343)]()+_0x587ac1(0x1ef);await this['_HTTPService'][_0x587ac1(0x1d9)](_0x4a3484,{'body':_0x592f94});}async[_0x5bfca8(0x32c)](_0x31f323){var _0x491eea=_0x5bfca8;const _0x1d5ef0=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x491eea(0x2fa)]['post'](_0x1d5ef0,{'body':_0x31f323});}async[_0x5bfca8(0x3a9)](_0xad36d8){var _0x135cbf=_0x5bfca8;const _0x7c1111=this['_getAPIPrefixPath']()+'/collaborator';return(await this['_HTTPService'][_0x135cbf(0x3a3)](_0x7c1111,{'params':{'objectID':_0xad36d8[_0x135cbf(0x1dc)],'unitID':_0xad36d8[_0x135cbf(0x372)]}}))[_0x135cbf(0x15d)]['collaborators'];}async[_0x5bfca8(0x2af)](_0x1e3363){var _0x2f50b0=_0x5bfca8;const _0x4a1af3=this[_0x2f50b0(0x343)]()+_0x2f50b0(0x1ef);await this[_0x2f50b0(0x2fa)][_0x2f50b0(0xb4)](_0x4a1af3,{'body':_0x1e3363});}};bt=Pr([Xt(0x0,_0x285a0e(_0x48889b)),Xt(0x1,_0x285a0e(_0x44e247))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x371262){var _0x7cff60=_0x5bfca8;return _0x371262&&_0x371262[_0x7cff60(0x30f)]&&Object[_0x7cff60(0x140)][_0x7cff60(0x31e)][_0x7cff60(0x345)](_0x371262,'default')?_0x371262[_0x7cff60(0x1eb)]:_0x371262;}var Ve={'exports':{}};function Ur(_0x1a68f4){var _0x4228d1=_0x5bfca8;throw new Error(_0x4228d1(0x144)+_0x1a68f4+_0x4228d1(0x297));}var Ge={'exports':{}},Ar=Ge[_0x5bfca8(0xbc)],Zt;function ne(){var _0x31584a=_0x5bfca8;return Zt||(Zt=0x1,function(_0x544b3c,_0x402df7){(function(_0x27f7e9,_0x431dc4){var _0x47ef96=_0xe7de;_0x544b3c[_0x47ef96(0xbc)]=_0x431dc4();}(Ar,function(){var _0x2fd9e5=_0x2fd9e5||function(_0x4f2baa,_0x3b8288){var _0x37259a=_0xe7de,_0x4b4c92;if(typeof window<'u'&&window[_0x37259a(0x143)]&&(_0x4b4c92=window[_0x37259a(0x143)]),typeof self<'u'&&self[_0x37259a(0x143)]&&(_0x4b4c92=self[_0x37259a(0x143)]),typeof globalThis<'u'&&globalThis[_0x37259a(0x143)]&&(_0x4b4c92=globalThis['crypto']),!_0x4b4c92&&typeof window<'u'&&window['msCrypto']&&(_0x4b4c92=window[_0x37259a(0x1e0)]),!_0x4b4c92&&typeof pt<'u'&&pt[_0x37259a(0x143)]&&(_0x4b4c92=pt[_0x37259a(0x143)]),!_0x4b4c92&&typeof Ur==_0x37259a(0x261))try{_0x4b4c92=require(_0x37259a(0x143));}catch{}var _0x1cbcd6=function(){var _0x22befb=_0x37259a;if(_0x4b4c92){if(typeof _0x4b4c92[_0x22befb(0x22c)]==_0x22befb(0x261))try{return _0x4b4c92['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4b4c92['randomBytes']=='function')try{return _0x4b4c92[_0x22befb(0x2c3)](0x4)[_0x22befb(0x360)]();}catch{}}throw new Error(_0x22befb(0x289));},_0x1ce830=Object[_0x37259a(0xc6)]||(function(){function _0x3054e3(){}return function(_0x1d6e97){var _0x2c031a=_0xe7de,_0x1463d2;return _0x3054e3['prototype']=_0x1d6e97,_0x1463d2=new _0x3054e3(),_0x3054e3[_0x2c031a(0x140)]=null,_0x1463d2;};}()),_0x50a15d={},_0xe324f=_0x50a15d[_0x37259a(0x25a)]={},_0x4fd33a=_0xe324f['Base']=(function(){return{'extend':function(_0x1d3069){var _0x2bbaeb=_0xe7de,_0x39f917=_0x1ce830(this);return _0x1d3069&&_0x39f917['mixIn'](_0x1d3069),(!_0x39f917['hasOwnProperty'](_0x2bbaeb(0x169))||this[_0x2bbaeb(0x169)]===_0x39f917[_0x2bbaeb(0x169)])&&(_0x39f917[_0x2bbaeb(0x169)]=function(){var _0x311b6b=_0x2bbaeb;_0x39f917[_0x311b6b(0x222)][_0x311b6b(0x169)][_0x311b6b(0x19d)](this,arguments);}),_0x39f917[_0x2bbaeb(0x169)]['prototype']=_0x39f917,_0x39f917[_0x2bbaeb(0x222)]=this,_0x39f917;},'create':function(){var _0x1d209a=_0xe7de,_0x924f95=this[_0x1d209a(0x130)]();return _0x924f95[_0x1d209a(0x169)][_0x1d209a(0x19d)](_0x924f95,arguments),_0x924f95;},'init':function(){},'mixIn':function(_0x43da8e){var _0x1fc426=_0xe7de;for(var _0x2e9828 in _0x43da8e)_0x43da8e[_0x1fc426(0x31e)](_0x2e9828)&&(this[_0x2e9828]=_0x43da8e[_0x2e9828]);_0x43da8e['hasOwnProperty'](_0x1fc426(0x203))&&(this[_0x1fc426(0x203)]=_0x43da8e[_0x1fc426(0x203)]);},'clone':function(){var _0x52d4ba=_0xe7de;return this[_0x52d4ba(0x169)]['prototype'][_0x52d4ba(0x130)](this);}};}()),_0x5cf33d=_0xe324f['WordArray']=_0x4fd33a[_0x37259a(0x130)]({'init':function(_0x4fb653,_0x1cf8d8){var _0x680b5c=_0x37259a;_0x4fb653=this['words']=_0x4fb653||[],_0x1cf8d8!=_0x3b8288?this['sigBytes']=_0x1cf8d8:this[_0x680b5c(0x3b1)]=_0x4fb653['length']*0x4;},'toString':function(_0x462b6f){var _0x4a96e0=_0x37259a;return(_0x462b6f||_0x110af0)[_0x4a96e0(0x264)](this);},'concat':function(_0x2f1989){var _0xf63ba4=_0x37259a,_0x551c62=this['words'],_0x2eb398=_0x2f1989[_0xf63ba4(0x392)],_0x52b8ec=this[_0xf63ba4(0x3b1)],_0x4507bb=_0x2f1989[_0xf63ba4(0x3b1)];if(this[_0xf63ba4(0x31c)](),_0x52b8ec%0x4)for(var _0x1f438c=0x0;_0x1f438c<_0x4507bb;_0x1f438c++){var _0x4762f6=_0x2eb398[_0x1f438c>>>0x2]>>>0x18-_0x1f438c%0x4*0x8&0xff;_0x551c62[_0x52b8ec+_0x1f438c>>>0x2]|=_0x4762f6<<0x18-(_0x52b8ec+_0x1f438c)%0x4*0x8;}else{for(var _0x5d03ea=0x0;_0x5d03ea<_0x4507bb;_0x5d03ea+=0x4)_0x551c62[_0x52b8ec+_0x5d03ea>>>0x2]=_0x2eb398[_0x5d03ea>>>0x2];}return this[_0xf63ba4(0x3b1)]+=_0x4507bb,this;},'clamp':function(){var _0x5ad572=_0x37259a,_0x23a0b4=this[_0x5ad572(0x392)],_0xc536e0=this[_0x5ad572(0x3b1)];_0x23a0b4[_0xc536e0>>>0x2]&=0xffffffff<<0x20-_0xc536e0%0x4*0x8,_0x23a0b4['length']=_0x4f2baa[_0x5ad572(0x1a4)](_0xc536e0/0x4);},'clone':function(){var _0x19a4c8=_0x37259a,_0x515644=_0x4fd33a[_0x19a4c8(0x159)][_0x19a4c8(0x345)](this);return _0x515644['words']=this[_0x19a4c8(0x392)]['slice'](0x0),_0x515644;},'random':function(_0x5dc9c6){var _0x2bc564=_0x37259a;for(var _0x4ed0b4=[],_0x485440=0x0;_0x485440<_0x5dc9c6;_0x485440+=0x4)_0x4ed0b4[_0x2bc564(0x306)](_0x1cbcd6());return new _0x5cf33d[(_0x2bc564(0x169))](_0x4ed0b4,_0x5dc9c6);}}),_0x3a9c62=_0x50a15d[_0x37259a(0xd2)]={},_0x110af0=_0x3a9c62[_0x37259a(0xeb)]={'stringify':function(_0x275a0a){var _0x438a4d=_0x37259a;for(var _0x452ea0=_0x275a0a['words'],_0x1e116d=_0x275a0a['sigBytes'],_0x199b46=[],_0x4536d7=0x0;_0x4536d7<_0x1e116d;_0x4536d7++){var _0x2c3c2a=_0x452ea0[_0x4536d7>>>0x2]>>>0x18-_0x4536d7%0x4*0x8&0xff;_0x199b46[_0x438a4d(0x306)]((_0x2c3c2a>>>0x4)[_0x438a4d(0x203)](0x10)),_0x199b46['push']((_0x2c3c2a&0xf)['toString'](0x10));}return _0x199b46['join']('');},'parse':function(_0x25accf){var _0x719832=_0x37259a;for(var _0x153533=_0x25accf[_0x719832(0xc8)],_0x5dddb6=[],_0x5f104e=0x0;_0x5f104e<_0x153533;_0x5f104e+=0x2)_0x5dddb6[_0x5f104e>>>0x3]|=parseInt(_0x25accf[_0x719832(0x31b)](_0x5f104e,0x2),0x10)<<0x18-_0x5f104e%0x8*0x4;return new _0x5cf33d[(_0x719832(0x169))](_0x5dddb6,_0x153533/0x2);}},_0x82e677=_0x3a9c62['Latin1']={'stringify':function(_0x52b28d){var _0x3c8535=_0x37259a;for(var _0x55a770=_0x52b28d[_0x3c8535(0x392)],_0x4f0ed8=_0x52b28d[_0x3c8535(0x3b1)],_0x22382c=[],_0x4b2c8d=0x0;_0x4b2c8d<_0x4f0ed8;_0x4b2c8d++){var _0x340a7c=_0x55a770[_0x4b2c8d>>>0x2]>>>0x18-_0x4b2c8d%0x4*0x8&0xff;_0x22382c['push'](String[_0x3c8535(0x167)](_0x340a7c));}return _0x22382c[_0x3c8535(0x151)]('');},'parse':function(_0x376a92){var _0x4ae838=_0x37259a;for(var _0x130c9f=_0x376a92[_0x4ae838(0xc8)],_0x15dcc7=[],_0x5157ae=0x0;_0x5157ae<_0x130c9f;_0x5157ae++)_0x15dcc7[_0x5157ae>>>0x2]|=(_0x376a92[_0x4ae838(0xb9)](_0x5157ae)&0xff)<<0x18-_0x5157ae%0x4*0x8;return new _0x5cf33d[(_0x4ae838(0x169))](_0x15dcc7,_0x130c9f);}},_0x4696d4=_0x3a9c62['Utf8']={'stringify':function(_0x16648f){var _0x23e753=_0x37259a;try{return decodeURIComponent(escape(_0x82e677[_0x23e753(0x264)](_0x16648f)));}catch{throw new Error(_0x23e753(0x101));}},'parse':function(_0x1fb43e){var _0x138175=_0x37259a;return _0x82e677[_0x138175(0x395)](unescape(encodeURIComponent(_0x1fb43e)));}},_0x2177de=_0xe324f['BufferedBlockAlgorithm']=_0x4fd33a[_0x37259a(0x130)]({'reset':function(){var _0x3bf3fa=_0x37259a;this[_0x3bf3fa(0x1d1)]=new _0x5cf33d[(_0x3bf3fa(0x169))](),this[_0x3bf3fa(0x3bb)]=0x0;},'_append':function(_0x585f4b){var _0x4e3141=_0x37259a;typeof _0x585f4b==_0x4e3141(0xce)&&(_0x585f4b=_0x4696d4[_0x4e3141(0x395)](_0x585f4b)),this['_data'][_0x4e3141(0x271)](_0x585f4b),this[_0x4e3141(0x3bb)]+=_0x585f4b[_0x4e3141(0x3b1)];},'_process':function(_0x303eed){var _0x49d987=_0x37259a,_0x2eeb3f,_0x1807a7=this[_0x49d987(0x1d1)],_0x2ae073=_0x1807a7[_0x49d987(0x392)],_0x554c15=_0x1807a7[_0x49d987(0x3b1)],_0x409e8d=this['blockSize'],_0x291399=_0x409e8d*0x4,_0x51a399=_0x554c15/_0x291399;_0x303eed?_0x51a399=_0x4f2baa[_0x49d987(0x1a4)](_0x51a399):_0x51a399=_0x4f2baa['max']((_0x51a399|0x0)-this[_0x49d987(0x1b9)],0x0);var _0x36972c=_0x51a399*_0x409e8d,_0x7f83da=_0x4f2baa['min'](_0x36972c*0x4,_0x554c15);if(_0x36972c){for(var _0x2a9f30=0x0;_0x2a9f30<_0x36972c;_0x2a9f30+=_0x409e8d)this[_0x49d987(0x2a1)](_0x2ae073,_0x2a9f30);_0x2eeb3f=_0x2ae073['splice'](0x0,_0x36972c),_0x1807a7[_0x49d987(0x3b1)]-=_0x7f83da;}return new _0x5cf33d[(_0x49d987(0x169))](_0x2eeb3f,_0x7f83da);},'clone':function(){var _0x440945=_0x37259a,_0x257cfe=_0x4fd33a[_0x440945(0x159)]['call'](this);return _0x257cfe[_0x440945(0x1d1)]=this['_data'][_0x440945(0x159)](),_0x257cfe;},'_minBufferSize':0x0});_0xe324f[_0x37259a(0x2a7)]=_0x2177de[_0x37259a(0x130)]({'cfg':_0x4fd33a[_0x37259a(0x130)](),'init':function(_0xed61fe){var _0x3a0d2c=_0x37259a;this['cfg']=this[_0x3a0d2c(0x17f)]['extend'](_0xed61fe),this[_0x3a0d2c(0xcf)]();},'reset':function(){var _0x42f353=_0x37259a;_0x2177de[_0x42f353(0xcf)][_0x42f353(0x345)](this),this[_0x42f353(0x1b4)]();},'update':function(_0x132070){var _0x578b36=_0x37259a;return this[_0x578b36(0x307)](_0x132070),this['_process'](),this;},'finalize':function(_0x7e8244){var _0x4a1ae4=_0x37259a;_0x7e8244&&this[_0x4a1ae4(0x307)](_0x7e8244);var _0x310b62=this[_0x4a1ae4(0x353)]();return _0x310b62;},'blockSize':0x10,'_createHelper':function(_0x55be71){return function(_0x45cfb8,_0xdbf959){var _0x588ddb=_0xe7de;return new _0x55be71['init'](_0xdbf959)[_0x588ddb(0x339)](_0x45cfb8);};},'_createHmacHelper':function(_0xe3bf6e){return function(_0x565b92,_0x35ee58){var _0x2a2a88=_0xe7de;return new _0x4d8b9a['HMAC']['init'](_0xe3bf6e,_0x35ee58)[_0x2a2a88(0x339)](_0x565b92);};}});var _0x4d8b9a=_0x50a15d[_0x37259a(0x25b)]={};return _0x50a15d;}(Math);return _0x2fd9e5;}));}(Ge)),Ge[_0x31584a(0xbc)];}var We={'exports':{}},xr=We[_0x5bfca8(0xbc)],Qt;function wi(){var _0x1fec59=_0x5bfca8;return Qt||(Qt=0x1,function(_0x22a5a7,_0x23f9a3){(function(_0x5b0b06,_0x44f4d9){var _0x2cdb40=_0xe7de;_0x22a5a7[_0x2cdb40(0xbc)]=_0x44f4d9(ne());}(xr,function(_0x23ed87){return(function(){var _0x56679f=_0xe7de,_0x41d1e3=_0x23ed87,_0x1c4b01=_0x41d1e3['lib'],_0x15b72d=_0x1c4b01[_0x56679f(0x2f6)],_0x4ab9f9=_0x41d1e3[_0x56679f(0xd2)];_0x4ab9f9['Base64']={'stringify':function(_0x27596c){var _0x5de6d9=_0x56679f,_0x435291=_0x27596c[_0x5de6d9(0x392)],_0x818f50=_0x27596c['sigBytes'],_0x8504a8=this['_map'];_0x27596c[_0x5de6d9(0x31c)]();for(var _0x46a8d1=[],_0x2dbbe6=0x0;_0x2dbbe6<_0x818f50;_0x2dbbe6+=0x3)for(var _0x1f1730=_0x435291[_0x2dbbe6>>>0x2]>>>0x18-_0x2dbbe6%0x4*0x8&0xff,_0x5476c5=_0x435291[_0x2dbbe6+0x1>>>0x2]>>>0x18-(_0x2dbbe6+0x1)%0x4*0x8&0xff,_0x374730=_0x435291[_0x2dbbe6+0x2>>>0x2]>>>0x18-(_0x2dbbe6+0x2)%0x4*0x8&0xff,_0x4b9eb4=_0x1f1730<<0x10|_0x5476c5<<0x8|_0x374730,_0x3cde4e=0x0;_0x3cde4e<0x4&&_0x2dbbe6+_0x3cde4e*0.75<_0x818f50;_0x3cde4e++)_0x46a8d1[_0x5de6d9(0x306)](_0x8504a8['charAt'](_0x4b9eb4>>>0x6*(0x3-_0x3cde4e)&0x3f));var _0x168335=_0x8504a8['charAt'](0x40);if(_0x168335){for(;_0x46a8d1['length']%0x4;)_0x46a8d1[_0x5de6d9(0x306)](_0x168335);}return _0x46a8d1[_0x5de6d9(0x151)]('');},'parse':function(_0x1bc781){var _0x3324a0=_0x56679f,_0x3fe2e4=_0x1bc781[_0x3324a0(0xc8)],_0x3c41a6=this['_map'],_0x4ba067=this['_reverseMap'];if(!_0x4ba067){_0x4ba067=this[_0x3324a0(0x2cd)]=[];for(var _0x3265a1=0x0;_0x3265a1<_0x3c41a6[_0x3324a0(0xc8)];_0x3265a1++)_0x4ba067[_0x3c41a6[_0x3324a0(0xb9)](_0x3265a1)]=_0x3265a1;}var _0x3574f9=_0x3c41a6[_0x3324a0(0x1ed)](0x40);if(_0x3574f9){var _0x1bd57b=_0x1bc781[_0x3324a0(0x288)](_0x3574f9);_0x1bd57b!==-0x1&&(_0x3fe2e4=_0x1bd57b);}return _0x2a7b7f(_0x1bc781,_0x3fe2e4,_0x4ba067);},'_map':_0x56679f(0x34c)};function _0x2a7b7f(_0x1cacdd,_0x172e3d,_0x3ab297){var _0x514e46=_0x56679f;for(var _0x49b2cd=[],_0x212036=0x0,_0x573286=0x0;_0x573286<_0x172e3d;_0x573286++)if(_0x573286%0x4){var _0x264e7c=_0x3ab297[_0x1cacdd['charCodeAt'](_0x573286-0x1)]<<_0x573286%0x4*0x2,_0x3cb4f1=_0x3ab297[_0x1cacdd[_0x514e46(0xb9)](_0x573286)]>>>0x6-_0x573286%0x4*0x2,_0x4aebdf=_0x264e7c|_0x3cb4f1;_0x49b2cd[_0x212036>>>0x2]|=_0x4aebdf<<0x18-_0x212036%0x4*0x8,_0x212036++;}return _0x15b72d['create'](_0x49b2cd,_0x212036);}}()),_0x23ed87['enc']['Base64'];}));}(We)),We[_0x1fec59(0xbc)];}var Ke={'exports':{}},Lr=Ke[_0x5bfca8(0xbc)],ei;function Mr(){var _0x3a5fb8=_0x5bfca8;return ei||(ei=0x1,function(_0x21a6a7,_0x8ee270){(function(_0x3f2454,_0x2feb53){var _0x1a3504=_0xe7de;_0x21a6a7[_0x1a3504(0xbc)]=_0x2feb53(ne());}(Lr,function(_0x292e36){var _0x3366cb=_0xe7de;return function(_0x1d6dfd){var _0x3e60cd=_0xe7de,_0x51cb08=_0x292e36,_0x4f1444=_0x51cb08['lib'],_0x1e3e71=_0x4f1444['WordArray'],_0x1990b5=_0x4f1444[_0x3e60cd(0x2a7)],_0x202823=_0x51cb08[_0x3e60cd(0x25b)],_0x25dab0=[];(function(){var _0x179412=_0x3e60cd;for(var _0x5e5cca=0x0;_0x5e5cca<0x40;_0x5e5cca++)_0x25dab0[_0x5e5cca]=_0x1d6dfd[_0x179412(0x3b8)](_0x1d6dfd['sin'](_0x5e5cca+0x1))*0x100000000|0x0;}());var _0x5730e7=_0x202823['MD5']=_0x1990b5[_0x3e60cd(0x130)]({'_doReset':function(){this['_hash']=new _0x1e3e71['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xcce799,_0x244a31){var _0x75cae1=_0x3e60cd;for(var _0x14e9ed=0x0;_0x14e9ed<0x10;_0x14e9ed++){var _0x4d7d0a=_0x244a31+_0x14e9ed,_0x2b49ab=_0xcce799[_0x4d7d0a];_0xcce799[_0x4d7d0a]=(_0x2b49ab<<0x8|_0x2b49ab>>>0x18)&0xff00ff|(_0x2b49ab<<0x18|_0x2b49ab>>>0x8)&0xff00ff00;}var _0x49becd=this['_hash'][_0x75cae1(0x392)],_0x4bb6b9=_0xcce799[_0x244a31+0x0],_0x3f09f1=_0xcce799[_0x244a31+0x1],_0x3c4320=_0xcce799[_0x244a31+0x2],_0x5dfdc7=_0xcce799[_0x244a31+0x3],_0x16419d=_0xcce799[_0x244a31+0x4],_0x570a62=_0xcce799[_0x244a31+0x5],_0xd0b8b4=_0xcce799[_0x244a31+0x6],_0x45353b=_0xcce799[_0x244a31+0x7],_0x252b16=_0xcce799[_0x244a31+0x8],_0xe1914d=_0xcce799[_0x244a31+0x9],_0x5645e4=_0xcce799[_0x244a31+0xa],_0x404056=_0xcce799[_0x244a31+0xb],_0x1143e7=_0xcce799[_0x244a31+0xc],_0x457259=_0xcce799[_0x244a31+0xd],_0x4448ea=_0xcce799[_0x244a31+0xe],_0x4354f3=_0xcce799[_0x244a31+0xf],_0x32e57b=_0x49becd[0x0],_0x2a10ad=_0x49becd[0x1],_0x121bbb=_0x49becd[0x2],_0x21dc78=_0x49becd[0x3];_0x32e57b=_0x1e44f6(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x4bb6b9,0x7,_0x25dab0[0x0]),_0x21dc78=_0x1e44f6(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x3f09f1,0xc,_0x25dab0[0x1]),_0x121bbb=_0x1e44f6(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x3c4320,0x11,_0x25dab0[0x2]),_0x2a10ad=_0x1e44f6(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x5dfdc7,0x16,_0x25dab0[0x3]),_0x32e57b=_0x1e44f6(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x16419d,0x7,_0x25dab0[0x4]),_0x21dc78=_0x1e44f6(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x570a62,0xc,_0x25dab0[0x5]),_0x121bbb=_0x1e44f6(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0xd0b8b4,0x11,_0x25dab0[0x6]),_0x2a10ad=_0x1e44f6(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x45353b,0x16,_0x25dab0[0x7]),_0x32e57b=_0x1e44f6(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x252b16,0x7,_0x25dab0[0x8]),_0x21dc78=_0x1e44f6(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0xe1914d,0xc,_0x25dab0[0x9]),_0x121bbb=_0x1e44f6(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x5645e4,0x11,_0x25dab0[0xa]),_0x2a10ad=_0x1e44f6(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x404056,0x16,_0x25dab0[0xb]),_0x32e57b=_0x1e44f6(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x1143e7,0x7,_0x25dab0[0xc]),_0x21dc78=_0x1e44f6(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x457259,0xc,_0x25dab0[0xd]),_0x121bbb=_0x1e44f6(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x4448ea,0x11,_0x25dab0[0xe]),_0x2a10ad=_0x1e44f6(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x4354f3,0x16,_0x25dab0[0xf]),_0x32e57b=_0x1afc20(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x3f09f1,0x5,_0x25dab0[0x10]),_0x21dc78=_0x1afc20(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0xd0b8b4,0x9,_0x25dab0[0x11]),_0x121bbb=_0x1afc20(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x404056,0xe,_0x25dab0[0x12]),_0x2a10ad=_0x1afc20(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x4bb6b9,0x14,_0x25dab0[0x13]),_0x32e57b=_0x1afc20(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x570a62,0x5,_0x25dab0[0x14]),_0x21dc78=_0x1afc20(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x5645e4,0x9,_0x25dab0[0x15]),_0x121bbb=_0x1afc20(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x4354f3,0xe,_0x25dab0[0x16]),_0x2a10ad=_0x1afc20(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x16419d,0x14,_0x25dab0[0x17]),_0x32e57b=_0x1afc20(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0xe1914d,0x5,_0x25dab0[0x18]),_0x21dc78=_0x1afc20(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x4448ea,0x9,_0x25dab0[0x19]),_0x121bbb=_0x1afc20(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x5dfdc7,0xe,_0x25dab0[0x1a]),_0x2a10ad=_0x1afc20(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x252b16,0x14,_0x25dab0[0x1b]),_0x32e57b=_0x1afc20(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x457259,0x5,_0x25dab0[0x1c]),_0x21dc78=_0x1afc20(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x3c4320,0x9,_0x25dab0[0x1d]),_0x121bbb=_0x1afc20(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x45353b,0xe,_0x25dab0[0x1e]),_0x2a10ad=_0x1afc20(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x1143e7,0x14,_0x25dab0[0x1f]),_0x32e57b=_0x15a6c4(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x570a62,0x4,_0x25dab0[0x20]),_0x21dc78=_0x15a6c4(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x252b16,0xb,_0x25dab0[0x21]),_0x121bbb=_0x15a6c4(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x404056,0x10,_0x25dab0[0x22]),_0x2a10ad=_0x15a6c4(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x4448ea,0x17,_0x25dab0[0x23]),_0x32e57b=_0x15a6c4(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x3f09f1,0x4,_0x25dab0[0x24]),_0x21dc78=_0x15a6c4(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x16419d,0xb,_0x25dab0[0x25]),_0x121bbb=_0x15a6c4(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x45353b,0x10,_0x25dab0[0x26]),_0x2a10ad=_0x15a6c4(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x5645e4,0x17,_0x25dab0[0x27]),_0x32e57b=_0x15a6c4(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x457259,0x4,_0x25dab0[0x28]),_0x21dc78=_0x15a6c4(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x4bb6b9,0xb,_0x25dab0[0x29]),_0x121bbb=_0x15a6c4(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x5dfdc7,0x10,_0x25dab0[0x2a]),_0x2a10ad=_0x15a6c4(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0xd0b8b4,0x17,_0x25dab0[0x2b]),_0x32e57b=_0x15a6c4(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0xe1914d,0x4,_0x25dab0[0x2c]),_0x21dc78=_0x15a6c4(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x1143e7,0xb,_0x25dab0[0x2d]),_0x121bbb=_0x15a6c4(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x4354f3,0x10,_0x25dab0[0x2e]),_0x2a10ad=_0x15a6c4(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x3c4320,0x17,_0x25dab0[0x2f]),_0x32e57b=_0x312588(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x4bb6b9,0x6,_0x25dab0[0x30]),_0x21dc78=_0x312588(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x45353b,0xa,_0x25dab0[0x31]),_0x121bbb=_0x312588(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x4448ea,0xf,_0x25dab0[0x32]),_0x2a10ad=_0x312588(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x570a62,0x15,_0x25dab0[0x33]),_0x32e57b=_0x312588(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x1143e7,0x6,_0x25dab0[0x34]),_0x21dc78=_0x312588(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x5dfdc7,0xa,_0x25dab0[0x35]),_0x121bbb=_0x312588(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x5645e4,0xf,_0x25dab0[0x36]),_0x2a10ad=_0x312588(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x3f09f1,0x15,_0x25dab0[0x37]),_0x32e57b=_0x312588(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x252b16,0x6,_0x25dab0[0x38]),_0x21dc78=_0x312588(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x4354f3,0xa,_0x25dab0[0x39]),_0x121bbb=_0x312588(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0xd0b8b4,0xf,_0x25dab0[0x3a]),_0x2a10ad=_0x312588(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0x457259,0x15,_0x25dab0[0x3b]),_0x32e57b=_0x312588(_0x32e57b,_0x2a10ad,_0x121bbb,_0x21dc78,_0x16419d,0x6,_0x25dab0[0x3c]),_0x21dc78=_0x312588(_0x21dc78,_0x32e57b,_0x2a10ad,_0x121bbb,_0x404056,0xa,_0x25dab0[0x3d]),_0x121bbb=_0x312588(_0x121bbb,_0x21dc78,_0x32e57b,_0x2a10ad,_0x3c4320,0xf,_0x25dab0[0x3e]),_0x2a10ad=_0x312588(_0x2a10ad,_0x121bbb,_0x21dc78,_0x32e57b,_0xe1914d,0x15,_0x25dab0[0x3f]),_0x49becd[0x0]=_0x49becd[0x0]+_0x32e57b|0x0,_0x49becd[0x1]=_0x49becd[0x1]+_0x2a10ad|0x0,_0x49becd[0x2]=_0x49becd[0x2]+_0x121bbb|0x0,_0x49becd[0x3]=_0x49becd[0x3]+_0x21dc78|0x0;},'_doFinalize':function(){var _0x35ec26=_0x3e60cd,_0x37e3ea=this[_0x35ec26(0x1d1)],_0x4e4a2d=_0x37e3ea['words'],_0x36ba38=this['_nDataBytes']*0x8,_0x547222=_0x37e3ea[_0x35ec26(0x3b1)]*0x8;_0x4e4a2d[_0x547222>>>0x5]|=0x80<<0x18-_0x547222%0x20;var _0x395066=_0x1d6dfd[_0x35ec26(0x30a)](_0x36ba38/0x100000000),_0x42c309=_0x36ba38;_0x4e4a2d[(_0x547222+0x40>>>0x9<<0x4)+0xf]=(_0x395066<<0x8|_0x395066>>>0x18)&0xff00ff|(_0x395066<<0x18|_0x395066>>>0x8)&0xff00ff00,_0x4e4a2d[(_0x547222+0x40>>>0x9<<0x4)+0xe]=(_0x42c309<<0x8|_0x42c309>>>0x18)&0xff00ff|(_0x42c309<<0x18|_0x42c309>>>0x8)&0xff00ff00,_0x37e3ea[_0x35ec26(0x3b1)]=(_0x4e4a2d[_0x35ec26(0xc8)]+0x1)*0x4,this[_0x35ec26(0x268)]();for(var _0x25d0eb=this[_0x35ec26(0x39f)],_0xc1d320=_0x25d0eb['words'],_0x165a9c=0x0;_0x165a9c<0x4;_0x165a9c++){var _0x49f010=_0xc1d320[_0x165a9c];_0xc1d320[_0x165a9c]=(_0x49f010<<0x8|_0x49f010>>>0x18)&0xff00ff|(_0x49f010<<0x18|_0x49f010>>>0x8)&0xff00ff00;}return _0x25d0eb;},'clone':function(){var _0x4de712=_0x3e60cd,_0x2137e3=_0x1990b5['clone'][_0x4de712(0x345)](this);return _0x2137e3[_0x4de712(0x39f)]=this[_0x4de712(0x39f)]['clone'](),_0x2137e3;}});function _0x1e44f6(_0x1087fd,_0x5a7809,_0x36b7ca,_0x5e0f8f,_0x5bae3d,_0x4797c5,_0x310f41){var _0x3d2b7f=_0x1087fd+(_0x5a7809&_0x36b7ca|~_0x5a7809&_0x5e0f8f)+_0x5bae3d+_0x310f41;return(_0x3d2b7f<<_0x4797c5|_0x3d2b7f>>>0x20-_0x4797c5)+_0x5a7809;}function _0x1afc20(_0xf289b5,_0x2d648e,_0x552362,_0x5c2f44,_0x199b21,_0x320fe3,_0x29089e){var _0x3f0dc5=_0xf289b5+(_0x2d648e&_0x5c2f44|_0x552362&~_0x5c2f44)+_0x199b21+_0x29089e;return(_0x3f0dc5<<_0x320fe3|_0x3f0dc5>>>0x20-_0x320fe3)+_0x2d648e;}function _0x15a6c4(_0x30f31f,_0x22a12e,_0x5727af,_0x1722bf,_0x3c0531,_0x2045ba,_0x4b2ccb){var _0x580c91=_0x30f31f+(_0x22a12e^_0x5727af^_0x1722bf)+_0x3c0531+_0x4b2ccb;return(_0x580c91<<_0x2045ba|_0x580c91>>>0x20-_0x2045ba)+_0x22a12e;}function _0x312588(_0x22a3d0,_0x45d8f2,_0x1662c9,_0x90382c,_0x20f990,_0x1096fc,_0x17bb1b){var _0x5220b0=_0x22a3d0+(_0x1662c9^(_0x45d8f2|~_0x90382c))+_0x20f990+_0x17bb1b;return(_0x5220b0<<_0x1096fc|_0x5220b0>>>0x20-_0x1096fc)+_0x45d8f2;}_0x51cb08[_0x3e60cd(0x28e)]=_0x1990b5[_0x3e60cd(0x1e9)](_0x5730e7),_0x51cb08[_0x3e60cd(0x350)]=_0x1990b5[_0x3e60cd(0x39c)](_0x5730e7);}(Math),_0x292e36[_0x3366cb(0x28e)];}));}(Ke)),Ke[_0x3a5fb8(0xbc)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe['exports'],ti;function Hr(){return ti||(ti=0x1,function(_0x6dfee0,_0x53d47f){(function(_0x8fc2d3,_0x41d4b4){var _0x2492c1=_0xe7de;_0x6dfee0[_0x2492c1(0xbc)]=_0x41d4b4(ne());}($r,function(_0x26372c){return(function(){var _0x48d4c3=_0xe7de,_0x76e31b=_0x26372c,_0x4c3db4=_0x76e31b['lib'],_0x4fc547=_0x4c3db4['WordArray'],_0x1bef28=_0x4c3db4[_0x48d4c3(0x2a7)],_0x106b46=_0x76e31b[_0x48d4c3(0x25b)],_0x5c6e93=[],_0x5c5640=_0x106b46[_0x48d4c3(0x152)]=_0x1bef28[_0x48d4c3(0x130)]({'_doReset':function(){var _0x19d504=_0x48d4c3;this[_0x19d504(0x39f)]=new _0x4fc547[(_0x19d504(0x169))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3c15a2,_0x30bed0){var _0xaeb359=_0x48d4c3;for(var _0x592012=this[_0xaeb359(0x39f)][_0xaeb359(0x392)],_0x160fd4=_0x592012[0x0],_0x1623ea=_0x592012[0x1],_0x383115=_0x592012[0x2],_0x2f416a=_0x592012[0x3],_0x28fa4a=_0x592012[0x4],_0x28a94d=0x0;_0x28a94d<0x50;_0x28a94d++){if(_0x28a94d<0x10)_0x5c6e93[_0x28a94d]=_0x3c15a2[_0x30bed0+_0x28a94d]|0x0;else{var _0x2ef7b2=_0x5c6e93[_0x28a94d-0x3]^_0x5c6e93[_0x28a94d-0x8]^_0x5c6e93[_0x28a94d-0xe]^_0x5c6e93[_0x28a94d-0x10];_0x5c6e93[_0x28a94d]=_0x2ef7b2<<0x1|_0x2ef7b2>>>0x1f;}var _0x56e00d=(_0x160fd4<<0x5|_0x160fd4>>>0x1b)+_0x28fa4a+_0x5c6e93[_0x28a94d];_0x28a94d<0x14?_0x56e00d+=(_0x1623ea&_0x383115|~_0x1623ea&_0x2f416a)+0x5a827999:_0x28a94d<0x28?_0x56e00d+=(_0x1623ea^_0x383115^_0x2f416a)+0x6ed9eba1:_0x28a94d<0x3c?_0x56e00d+=(_0x1623ea&_0x383115|_0x1623ea&_0x2f416a|_0x383115&_0x2f416a)-0x70e44324:_0x56e00d+=(_0x1623ea^_0x383115^_0x2f416a)-0x359d3e2a,_0x28fa4a=_0x2f416a,_0x2f416a=_0x383115,_0x383115=_0x1623ea<<0x1e|_0x1623ea>>>0x2,_0x1623ea=_0x160fd4,_0x160fd4=_0x56e00d;}_0x592012[0x0]=_0x592012[0x0]+_0x160fd4|0x0,_0x592012[0x1]=_0x592012[0x1]+_0x1623ea|0x0,_0x592012[0x2]=_0x592012[0x2]+_0x383115|0x0,_0x592012[0x3]=_0x592012[0x3]+_0x2f416a|0x0,_0x592012[0x4]=_0x592012[0x4]+_0x28fa4a|0x0;},'_doFinalize':function(){var _0x2526d2=_0x48d4c3,_0x3c7a17=this[_0x2526d2(0x1d1)],_0x2593cf=_0x3c7a17['words'],_0x13ab92=this[_0x2526d2(0x3bb)]*0x8,_0x2bdd5c=_0x3c7a17[_0x2526d2(0x3b1)]*0x8;return _0x2593cf[_0x2bdd5c>>>0x5]|=0x80<<0x18-_0x2bdd5c%0x20,_0x2593cf[(_0x2bdd5c+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x13ab92/0x100000000),_0x2593cf[(_0x2bdd5c+0x40>>>0x9<<0x4)+0xf]=_0x13ab92,_0x3c7a17['sigBytes']=_0x2593cf[_0x2526d2(0xc8)]*0x4,this[_0x2526d2(0x268)](),this[_0x2526d2(0x39f)];},'clone':function(){var _0x2c22fb=_0x48d4c3,_0x1c1c1a=_0x1bef28[_0x2c22fb(0x159)][_0x2c22fb(0x345)](this);return _0x1c1c1a[_0x2c22fb(0x39f)]=this[_0x2c22fb(0x39f)][_0x2c22fb(0x159)](),_0x1c1c1a;}});_0x76e31b[_0x48d4c3(0x152)]=_0x1bef28[_0x48d4c3(0x1e9)](_0x5c5640),_0x76e31b[_0x48d4c3(0x33b)]=_0x1bef28[_0x48d4c3(0x39c)](_0x5c5640);}()),_0x26372c['SHA1'];}));}(qe)),qe['exports'];}var ze={'exports':{}},kr=ze[_0x5bfca8(0xbc)],ii;function jr(){var _0x4547b4=_0x5bfca8;return ii||(ii=0x1,function(_0x44d3b4,_0x2b7281){(function(_0x5d02a1,_0x3372fb){_0x44d3b4['exports']=_0x3372fb(ne());}(kr,function(_0x434b63){(function(){var _0x2c2b87=_0xe7de,_0x6c9d62=_0x434b63,_0x1b5ab7=_0x6c9d62[_0x2c2b87(0x25a)],_0x16f60f=_0x1b5ab7[_0x2c2b87(0xdf)],_0x45eeb6=_0x6c9d62[_0x2c2b87(0xd2)],_0x4afa6c=_0x45eeb6[_0x2c2b87(0x34d)],_0x20575f=_0x6c9d62[_0x2c2b87(0x25b)];_0x20575f[_0x2c2b87(0x1d4)]=_0x16f60f[_0x2c2b87(0x130)]({'init':function(_0x471732,_0x3d40a5){var _0x5d588b=_0x2c2b87;_0x471732=this[_0x5d588b(0x19a)]=new _0x471732[(_0x5d588b(0x169))](),typeof _0x3d40a5==_0x5d588b(0xce)&&(_0x3d40a5=_0x4afa6c[_0x5d588b(0x395)](_0x3d40a5));var _0x24bc1=_0x471732[_0x5d588b(0x32b)],_0x34ce9a=_0x24bc1*0x4;_0x3d40a5[_0x5d588b(0x3b1)]>_0x34ce9a&&(_0x3d40a5=_0x471732[_0x5d588b(0x339)](_0x3d40a5)),_0x3d40a5['clamp']();for(var _0x35c791=this[_0x5d588b(0xdb)]=_0x3d40a5['clone'](),_0xfd5182=this[_0x5d588b(0x2c7)]=_0x3d40a5[_0x5d588b(0x159)](),_0x29b404=_0x35c791[_0x5d588b(0x392)],_0xb3105f=_0xfd5182[_0x5d588b(0x392)],_0x477683=0x0;_0x477683<_0x24bc1;_0x477683++)_0x29b404[_0x477683]^=0x5c5c5c5c,_0xb3105f[_0x477683]^=0x36363636;_0x35c791[_0x5d588b(0x3b1)]=_0xfd5182[_0x5d588b(0x3b1)]=_0x34ce9a,this[_0x5d588b(0xcf)]();},'reset':function(){var _0x3e6904=_0x2c2b87,_0x586695=this[_0x3e6904(0x19a)];_0x586695[_0x3e6904(0xcf)](),_0x586695[_0x3e6904(0x315)](this[_0x3e6904(0x2c7)]);},'update':function(_0x195ce9){return this['_hasher']['update'](_0x195ce9),this;},'finalize':function(_0x2df1e5){var _0x5955b8=_0x2c2b87,_0x1d601b=this['_hasher'],_0x5db6fa=_0x1d601b['finalize'](_0x2df1e5);_0x1d601b[_0x5955b8(0xcf)]();var _0x56346c=_0x1d601b[_0x5955b8(0x339)](this[_0x5955b8(0xdb)][_0x5955b8(0x159)]()[_0x5955b8(0x271)](_0x5db6fa));return _0x56346c;}});}());}));}(ze)),ze[_0x4547b4(0xbc)];}var Br=Ye[_0x5bfca8(0xbc)],ni;function Ui(){var _0x547abd=_0x5bfca8;return ni||(ni=0x1,function(_0x393e12,_0x425531){(function(_0x18ddd0,_0x52fb7f,_0xdee3fc){_0x393e12['exports']=_0x52fb7f(ne(),Hr(),jr());}(Br,function(_0x4c7e31){return(function(){var _0x34d49e=_0xe7de,_0x3ddcac=_0x4c7e31,_0x260e7f=_0x3ddcac['lib'],_0x436d6d=_0x260e7f[_0x34d49e(0xdf)],_0x3d1b4e=_0x260e7f[_0x34d49e(0x2f6)],_0x11cebd=_0x3ddcac[_0x34d49e(0x25b)],_0x16d6f9=_0x11cebd[_0x34d49e(0x28e)],_0x36b35b=_0x11cebd[_0x34d49e(0x300)]=_0x436d6d[_0x34d49e(0x130)]({'cfg':_0x436d6d[_0x34d49e(0x130)]({'keySize':0x80/0x20,'hasher':_0x16d6f9,'iterations':0x1}),'init':function(_0x4de702){var _0x4e8bdc=_0x34d49e;this[_0x4e8bdc(0x17f)]=this['cfg'][_0x4e8bdc(0x130)](_0x4de702);},'compute':function(_0x5c5664,_0x225b25){var _0x14f681=_0x34d49e;for(var _0x1f52da,_0x4a000f=this['cfg'],_0x4ef506=_0x4a000f[_0x14f681(0x1bc)][_0x14f681(0xc6)](),_0x3f40f7=_0x3d1b4e[_0x14f681(0xc6)](),_0x30216c=_0x3f40f7[_0x14f681(0x392)],_0x99a1c2=_0x4a000f['keySize'],_0x4420ab=_0x4a000f[_0x14f681(0xd5)];_0x30216c[_0x14f681(0xc8)]<_0x99a1c2;){_0x1f52da&&_0x4ef506[_0x14f681(0x315)](_0x1f52da),_0x1f52da=_0x4ef506[_0x14f681(0x315)](_0x5c5664)[_0x14f681(0x339)](_0x225b25),_0x4ef506[_0x14f681(0xcf)]();for(var _0x1cc16e=0x1;_0x1cc16e<_0x4420ab;_0x1cc16e++)_0x1f52da=_0x4ef506[_0x14f681(0x339)](_0x1f52da),_0x4ef506[_0x14f681(0xcf)]();_0x3f40f7[_0x14f681(0x271)](_0x1f52da);}return _0x3f40f7[_0x14f681(0x3b1)]=_0x99a1c2*0x4,_0x3f40f7;}});_0x3ddcac['EvpKDF']=function(_0x44f50d,_0x1d48a1,_0x5082d4){var _0x10712f=_0x34d49e;return _0x36b35b['create'](_0x5082d4)[_0x10712f(0x1f9)](_0x44f50d,_0x1d48a1);};}()),_0x4c7e31['EvpKDF'];}));}(Ye)),Ye[_0x547abd(0xbc)];}var Je={'exports':{}},Fr=Je[_0x5bfca8(0xbc)],ri;function Ai(){var _0x24a72c=_0x5bfca8;return ri||(ri=0x1,function(_0x47ecde,_0x3b67e1){(function(_0x77d034,_0x1a1c44,_0x1a55bc){var _0x525273=_0xe7de;_0x47ecde[_0x525273(0xbc)]=_0x1a1c44(ne(),Ui());}(Fr,function(_0x4e28ba){var _0x76ba59=_0xe7de;_0x4e28ba[_0x76ba59(0x25a)][_0x76ba59(0x172)]||function(_0x250484){var _0x47ec18=_0x76ba59,_0x364156=_0x4e28ba,_0x5342d9=_0x364156[_0x47ec18(0x25a)],_0x566214=_0x5342d9[_0x47ec18(0xdf)],_0x4ed710=_0x5342d9[_0x47ec18(0x2f6)],_0x30b1fa=_0x5342d9[_0x47ec18(0x14c)],_0x26ebcd=_0x364156[_0x47ec18(0xd2)];_0x26ebcd[_0x47ec18(0x34d)];var _0x2cdd92=_0x26ebcd[_0x47ec18(0x229)],_0x91985d=_0x364156[_0x47ec18(0x25b)],_0x58c363=_0x91985d[_0x47ec18(0x300)],_0x72686a=_0x5342d9[_0x47ec18(0x172)]=_0x30b1fa[_0x47ec18(0x130)]({'cfg':_0x566214[_0x47ec18(0x130)](),'createEncryptor':function(_0x388141,_0x355f78){var _0x5b8a4d=_0x47ec18;return this[_0x5b8a4d(0xc6)](this[_0x5b8a4d(0x164)],_0x388141,_0x355f78);},'createDecryptor':function(_0x2704cf,_0x312823){var _0x55a3bc=_0x47ec18;return this[_0x55a3bc(0xc6)](this['_DEC_XFORM_MODE'],_0x2704cf,_0x312823);},'init':function(_0x28e836,_0x5d7f92,_0x44ceb4){var _0x1106ee=_0x47ec18;this[_0x1106ee(0x17f)]=this[_0x1106ee(0x17f)]['extend'](_0x44ceb4),this[_0x1106ee(0x17c)]=_0x28e836,this[_0x1106ee(0x1cc)]=_0x5d7f92,this[_0x1106ee(0xcf)]();},'reset':function(){var _0x389b55=_0x47ec18;_0x30b1fa['reset']['call'](this),this[_0x389b55(0x1b4)]();},'process':function(_0x3109c5){var _0x1d0e62=_0x47ec18;return this[_0x1d0e62(0x307)](_0x3109c5),this[_0x1d0e62(0x268)]();},'finalize':function(_0x32ee34){var _0x4d8278=_0x47ec18;_0x32ee34&&this[_0x4d8278(0x307)](_0x32ee34);var _0x350c3e=this[_0x4d8278(0x353)]();return _0x350c3e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4beee9(_0x389222){return typeof _0x389222=='string'?_0xa1f43c:_0x1b514f;}return function(_0x5e686f){return{'encrypt':function(_0x4bb8b9,_0x2ff24c,_0x3922aa){var _0x11ff09=_0xe7de;return _0x4beee9(_0x2ff24c)[_0x11ff09(0x18f)](_0x5e686f,_0x4bb8b9,_0x2ff24c,_0x3922aa);},'decrypt':function(_0x2d337b,_0x2bcb89,_0x2ab55f){var _0x92a4e3=_0xe7de;return _0x4beee9(_0x2bcb89)[_0x92a4e3(0x293)](_0x5e686f,_0x2d337b,_0x2bcb89,_0x2ab55f);}};};}())});_0x5342d9[_0x47ec18(0x33d)]=_0x72686a[_0x47ec18(0x130)]({'_doFinalize':function(){var _0x905e47=_0x47ec18,_0x46679a=this[_0x905e47(0x268)](!0x0);return _0x46679a;},'blockSize':0x1});var _0x1f7c5c=_0x364156[_0x47ec18(0x138)]={},_0x44bf78=_0x5342d9[_0x47ec18(0x299)]=_0x566214['extend']({'createEncryptor':function(_0x391d09,_0x2d9eec){var _0x56325d=_0x47ec18;return this[_0x56325d(0x1ae)][_0x56325d(0xc6)](_0x391d09,_0x2d9eec);},'createDecryptor':function(_0xc244b4,_0x1c039a){var _0x322e5d=_0x47ec18;return this[_0x322e5d(0xb2)][_0x322e5d(0xc6)](_0xc244b4,_0x1c039a);},'init':function(_0x664a22,_0x20977f){var _0x20c5e8=_0x47ec18;this[_0x20c5e8(0x2a6)]=_0x664a22,this[_0x20c5e8(0x127)]=_0x20977f;}}),_0x2b1d55=_0x1f7c5c[_0x47ec18(0x153)]=(function(){var _0x14b2e9=_0x47ec18,_0x55a7c7=_0x44bf78[_0x14b2e9(0x130)]();_0x55a7c7[_0x14b2e9(0x1ae)]=_0x55a7c7['extend']({'processBlock':function(_0xce34b6,_0x520ff1){var _0x50dcce=_0x14b2e9,_0x29c001=this[_0x50dcce(0x2a6)],_0xbc10bc=_0x29c001[_0x50dcce(0x32b)];_0x2d9422['call'](this,_0xce34b6,_0x520ff1,_0xbc10bc),_0x29c001[_0x50dcce(0x13a)](_0xce34b6,_0x520ff1),this[_0x50dcce(0x368)]=_0xce34b6[_0x50dcce(0x190)](_0x520ff1,_0x520ff1+_0xbc10bc);}}),_0x55a7c7[_0x14b2e9(0xb2)]=_0x55a7c7[_0x14b2e9(0x130)]({'processBlock':function(_0x194c0b,_0x4bd260){var _0x4738b5=_0x14b2e9,_0x255698=this[_0x4738b5(0x2a6)],_0x12732d=_0x255698[_0x4738b5(0x32b)],_0x18c1b3=_0x194c0b['slice'](_0x4bd260,_0x4bd260+_0x12732d);_0x255698['decryptBlock'](_0x194c0b,_0x4bd260),_0x2d9422[_0x4738b5(0x345)](this,_0x194c0b,_0x4bd260,_0x12732d),this['_prevBlock']=_0x18c1b3;}});function _0x2d9422(_0x4c58ed,_0x31b627,_0x426daa){var _0x4afa85=_0x14b2e9,_0x5539c3,_0x37a63f=this['_iv'];_0x37a63f?(_0x5539c3=_0x37a63f,this[_0x4afa85(0x127)]=_0x250484):_0x5539c3=this[_0x4afa85(0x368)];for(var _0x21be1b=0x0;_0x21be1b<_0x426daa;_0x21be1b++)_0x4c58ed[_0x31b627+_0x21be1b]^=_0x5539c3[_0x21be1b];}return _0x55a7c7;}()),_0x5abc96=_0x364156[_0x47ec18(0xea)]={},_0x4a85df=_0x5abc96[_0x47ec18(0x379)]={'pad':function(_0x13f860,_0x1d8845){var _0x565e94=_0x47ec18;for(var _0xb32078=_0x1d8845*0x4,_0x51c482=_0xb32078-_0x13f860[_0x565e94(0x3b1)]%_0xb32078,_0x6aa338=_0x51c482<<0x18|_0x51c482<<0x10|_0x51c482<<0x8|_0x51c482,_0x152b6a=[],_0x19e21f=0x0;_0x19e21f<_0x51c482;_0x19e21f+=0x4)_0x152b6a['push'](_0x6aa338);var _0xa58836=_0x4ed710[_0x565e94(0xc6)](_0x152b6a,_0x51c482);_0x13f860[_0x565e94(0x271)](_0xa58836);},'unpad':function(_0x3be4de){var _0x55985b=_0x47ec18,_0xdc3818=_0x3be4de[_0x55985b(0x392)][_0x3be4de['sigBytes']-0x1>>>0x2]&0xff;_0x3be4de[_0x55985b(0x3b1)]-=_0xdc3818;}};_0x5342d9[_0x47ec18(0xd8)]=_0x72686a[_0x47ec18(0x130)]({'cfg':_0x72686a[_0x47ec18(0x17f)][_0x47ec18(0x130)]({'mode':_0x2b1d55,'padding':_0x4a85df}),'reset':function(){var _0x4d64f0=_0x47ec18,_0x1eec7c;_0x72686a['reset'][_0x4d64f0(0x345)](this);var _0x2475d9=this['cfg'],_0x391de2=_0x2475d9['iv'],_0x19c4a8=_0x2475d9[_0x4d64f0(0x138)];this[_0x4d64f0(0x17c)]==this[_0x4d64f0(0x164)]?_0x1eec7c=_0x19c4a8[_0x4d64f0(0xee)]:(_0x1eec7c=_0x19c4a8[_0x4d64f0(0x1e4)],this['_minBufferSize']=0x1),this[_0x4d64f0(0x1d8)]&&this[_0x4d64f0(0x1d8)][_0x4d64f0(0x23f)]==_0x1eec7c?this[_0x4d64f0(0x1d8)]['init'](this,_0x391de2&&_0x391de2[_0x4d64f0(0x392)]):(this['_mode']=_0x1eec7c['call'](_0x19c4a8,this,_0x391de2&&_0x391de2[_0x4d64f0(0x392)]),this[_0x4d64f0(0x1d8)]['__creator']=_0x1eec7c);},'_doProcessBlock':function(_0x1d7488,_0x388470){var _0x1d1e97=_0x47ec18;this[_0x1d1e97(0x1d8)][_0x1d1e97(0xae)](_0x1d7488,_0x388470);},'_doFinalize':function(){var _0x591b72=_0x47ec18,_0xa83b1c,_0x11a23b=this[_0x591b72(0x17f)]['padding'];return this[_0x591b72(0x17c)]==this[_0x591b72(0x164)]?(_0x11a23b[_0x591b72(0xea)](this[_0x591b72(0x1d1)],this[_0x591b72(0x32b)]),_0xa83b1c=this[_0x591b72(0x268)](!0x0)):(_0xa83b1c=this[_0x591b72(0x268)](!0x0),_0x11a23b['unpad'](_0xa83b1c)),_0xa83b1c;},'blockSize':0x80/0x20});var _0x3c5daa=_0x5342d9[_0x47ec18(0x114)]=_0x566214[_0x47ec18(0x130)]({'init':function(_0x3482e5){var _0x1e1e0d=_0x47ec18;this[_0x1e1e0d(0x1ca)](_0x3482e5);},'toString':function(_0x5b2d43){var _0x166eb0=_0x47ec18;return(_0x5b2d43||this[_0x166eb0(0x291)])['stringify'](this);}}),_0x74bd44=_0x364156[_0x47ec18(0x1ee)]={},_0x2a312a=_0x74bd44[_0x47ec18(0x308)]={'stringify':function(_0xdec55){var _0x51259a=_0x47ec18,_0x376b56,_0x2ab837=_0xdec55['ciphertext'],_0x1f3e60=_0xdec55[_0x51259a(0x2a9)];return _0x1f3e60?_0x376b56=_0x4ed710['create']([0x53616c74,0x65645f5f])[_0x51259a(0x271)](_0x1f3e60)['concat'](_0x2ab837):_0x376b56=_0x2ab837,_0x376b56[_0x51259a(0x203)](_0x2cdd92);},'parse':function(_0x34fe1c){var _0x4bede2=_0x47ec18,_0x31e5fb,_0x2e249b=_0x2cdd92['parse'](_0x34fe1c),_0x285e8c=_0x2e249b['words'];return _0x285e8c[0x0]==0x53616c74&&_0x285e8c[0x1]==0x65645f5f&&(_0x31e5fb=_0x4ed710['create'](_0x285e8c[_0x4bede2(0x190)](0x2,0x4)),_0x285e8c[_0x4bede2(0x14d)](0x0,0x4),_0x2e249b[_0x4bede2(0x3b1)]-=0x10),_0x3c5daa[_0x4bede2(0xc6)]({'ciphertext':_0x2e249b,'salt':_0x31e5fb});}},_0x1b514f=_0x5342d9['SerializableCipher']=_0x566214[_0x47ec18(0x130)]({'cfg':_0x566214[_0x47ec18(0x130)]({'format':_0x2a312a}),'encrypt':function(_0x4aaf54,_0x4eb812,_0xacd89c,_0x5bae1d){var _0x351f0f=_0x47ec18;_0x5bae1d=this['cfg'][_0x351f0f(0x130)](_0x5bae1d);var _0x4a1a35=_0x4aaf54[_0x351f0f(0xee)](_0xacd89c,_0x5bae1d),_0xe894d5=_0x4a1a35[_0x351f0f(0x339)](_0x4eb812),_0x24edc4=_0x4a1a35['cfg'];return _0x3c5daa['create']({'ciphertext':_0xe894d5,'key':_0xacd89c,'iv':_0x24edc4['iv'],'algorithm':_0x4aaf54,'mode':_0x24edc4[_0x351f0f(0x138)],'padding':_0x24edc4[_0x351f0f(0x11b)],'blockSize':_0x4aaf54[_0x351f0f(0x32b)],'formatter':_0x5bae1d[_0x351f0f(0x1ee)]});},'decrypt':function(_0x1da2db,_0x9a7d3d,_0x1c3380,_0x19fe5e){var _0x15f682=_0x47ec18;_0x19fe5e=this['cfg'][_0x15f682(0x130)](_0x19fe5e),_0x9a7d3d=this['_parse'](_0x9a7d3d,_0x19fe5e[_0x15f682(0x1ee)]);var _0x12149a=_0x1da2db[_0x15f682(0x1e4)](_0x1c3380,_0x19fe5e)['finalize'](_0x9a7d3d[_0x15f682(0x3b0)]);return _0x12149a;},'_parse':function(_0x28830e,_0xd2a33f){var _0x27be64=_0x47ec18;return typeof _0x28830e==_0x27be64(0xce)?_0xd2a33f[_0x27be64(0x395)](_0x28830e,this):_0x28830e;}}),_0x505dae=_0x364156['kdf']={},_0xabe0e3=_0x505dae[_0x47ec18(0x308)]={'execute':function(_0x436e79,_0xf8c748,_0x2a4dde,_0x4927a7,_0x5b649e){var _0x2fa12d=_0x47ec18;if(_0x4927a7||(_0x4927a7=_0x4ed710[_0x2fa12d(0x1ba)](0x40/0x8)),_0x5b649e)var _0x427907=_0x58c363[_0x2fa12d(0xc6)]({'keySize':_0xf8c748+_0x2a4dde,'hasher':_0x5b649e})[_0x2fa12d(0x1f9)](_0x436e79,_0x4927a7);else var _0x427907=_0x58c363['create']({'keySize':_0xf8c748+_0x2a4dde})['compute'](_0x436e79,_0x4927a7);var _0x198bec=_0x4ed710[_0x2fa12d(0xc6)](_0x427907['words'][_0x2fa12d(0x190)](_0xf8c748),_0x2a4dde*0x4);return _0x427907[_0x2fa12d(0x3b1)]=_0xf8c748*0x4,_0x3c5daa['create']({'key':_0x427907,'iv':_0x198bec,'salt':_0x4927a7});}},_0xa1f43c=_0x5342d9[_0x47ec18(0x2a0)]=_0x1b514f[_0x47ec18(0x130)]({'cfg':_0x1b514f[_0x47ec18(0x17f)]['extend']({'kdf':_0xabe0e3}),'encrypt':function(_0x3ad9ab,_0x37d052,_0x534a5d,_0x2ad038){var _0x578d56=_0x47ec18;_0x2ad038=this['cfg'][_0x578d56(0x130)](_0x2ad038);var _0x344e68=_0x2ad038['kdf']['execute'](_0x534a5d,_0x3ad9ab[_0x578d56(0x2ac)],_0x3ad9ab[_0x578d56(0x304)],_0x2ad038[_0x578d56(0x2a9)],_0x2ad038[_0x578d56(0x1bc)]);_0x2ad038['iv']=_0x344e68['iv'];var _0x3ac253=_0x1b514f['encrypt'][_0x578d56(0x345)](this,_0x3ad9ab,_0x37d052,_0x344e68['key'],_0x2ad038);return _0x3ac253[_0x578d56(0x1ca)](_0x344e68),_0x3ac253;},'decrypt':function(_0x5b6259,_0x15cb92,_0x33d9bd,_0x481f52){var _0x47b867=_0x47ec18;_0x481f52=this[_0x47b867(0x17f)][_0x47b867(0x130)](_0x481f52),_0x15cb92=this[_0x47b867(0x344)](_0x15cb92,_0x481f52[_0x47b867(0x1ee)]);var _0x190814=_0x481f52[_0x47b867(0x3b4)][_0x47b867(0x178)](_0x33d9bd,_0x5b6259[_0x47b867(0x2ac)],_0x5b6259['ivSize'],_0x15cb92[_0x47b867(0x2a9)],_0x481f52[_0x47b867(0x1bc)]);_0x481f52['iv']=_0x190814['iv'];var _0x122e2d=_0x1b514f[_0x47b867(0x293)][_0x47b867(0x345)](this,_0x5b6259,_0x15cb92,_0x190814[_0x47b867(0x387)],_0x481f52);return _0x122e2d;}});}();}));}(Je)),Je[_0x24a72c(0xbc)];}var Vr=Ve[_0x5bfca8(0xbc)],si;function Gr(){return si||(si=0x1,function(_0x5ed807,_0x5dc50b){(function(_0x273339,_0x3b6bc9,_0x2e10f2){var _0x285c32=_0xe7de;_0x5ed807[_0x285c32(0xbc)]=_0x3b6bc9(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x3aeace){var _0x5a3cbf=_0xe7de;return(function(){var _0x468312=_0xe7de,_0x2958a9=_0x3aeace,_0x45bf4c=_0x2958a9[_0x468312(0x25a)],_0xbd0e54=_0x45bf4c[_0x468312(0xd8)],_0x1f0522=_0x2958a9[_0x468312(0x25b)],_0x6cac3f=[],_0x2b07dd=[],_0x3a219c=[],_0x5c566c=[],_0x2c9e8b=[],_0x3661f9=[],_0x4abb32=[],_0x231ed6=[],_0x6f9f91=[],_0x508f23=[];(function(){for(var _0xa1a582=[],_0x2c8145=0x0;_0x2c8145<0x100;_0x2c8145++)_0x2c8145<0x80?_0xa1a582[_0x2c8145]=_0x2c8145<<0x1:_0xa1a582[_0x2c8145]=_0x2c8145<<0x1^0x11b;for(var _0x4dc29d=0x0,_0x4cce0e=0x0,_0x2c8145=0x0;_0x2c8145<0x100;_0x2c8145++){var _0x46d4ee=_0x4cce0e^_0x4cce0e<<0x1^_0x4cce0e<<0x2^_0x4cce0e<<0x3^_0x4cce0e<<0x4;_0x46d4ee=_0x46d4ee>>>0x8^_0x46d4ee&0xff^0x63,_0x6cac3f[_0x4dc29d]=_0x46d4ee,_0x2b07dd[_0x46d4ee]=_0x4dc29d;var _0x35717e=_0xa1a582[_0x4dc29d],_0x39dc63=_0xa1a582[_0x35717e],_0x450435=_0xa1a582[_0x39dc63],_0x5edae4=_0xa1a582[_0x46d4ee]*0x101^_0x46d4ee*0x1010100;_0x3a219c[_0x4dc29d]=_0x5edae4<<0x18|_0x5edae4>>>0x8,_0x5c566c[_0x4dc29d]=_0x5edae4<<0x10|_0x5edae4>>>0x10,_0x2c9e8b[_0x4dc29d]=_0x5edae4<<0x8|_0x5edae4>>>0x18,_0x3661f9[_0x4dc29d]=_0x5edae4;var _0x5edae4=_0x450435*0x1010101^_0x39dc63*0x10001^_0x35717e*0x101^_0x4dc29d*0x1010100;_0x4abb32[_0x46d4ee]=_0x5edae4<<0x18|_0x5edae4>>>0x8,_0x231ed6[_0x46d4ee]=_0x5edae4<<0x10|_0x5edae4>>>0x10,_0x6f9f91[_0x46d4ee]=_0x5edae4<<0x8|_0x5edae4>>>0x18,_0x508f23[_0x46d4ee]=_0x5edae4,_0x4dc29d?(_0x4dc29d=_0x35717e^_0xa1a582[_0xa1a582[_0xa1a582[_0x450435^_0x35717e]]],_0x4cce0e^=_0xa1a582[_0xa1a582[_0x4cce0e]]):_0x4dc29d=_0x4cce0e=0x1;}}());var _0x168dbd=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x51d163=_0x1f0522['AES']=_0xbd0e54[_0x468312(0x130)]({'_doReset':function(){var _0x5ac4a2=_0x468312,_0xd03571;if(!(this[_0x5ac4a2(0x18c)]&&this[_0x5ac4a2(0xfa)]===this[_0x5ac4a2(0x1cc)])){for(var _0x2e3849=this[_0x5ac4a2(0xfa)]=this['_key'],_0x58dc09=_0x2e3849[_0x5ac4a2(0x392)],_0x17efd2=_0x2e3849[_0x5ac4a2(0x3b1)]/0x4,_0x16c5dc=this[_0x5ac4a2(0x18c)]=_0x17efd2+0x6,_0x1e93e7=(_0x16c5dc+0x1)*0x4,_0x120fef=this[_0x5ac4a2(0x13b)]=[],_0x3e0933=0x0;_0x3e0933<_0x1e93e7;_0x3e0933++)_0x3e0933<_0x17efd2?_0x120fef[_0x3e0933]=_0x58dc09[_0x3e0933]:(_0xd03571=_0x120fef[_0x3e0933-0x1],_0x3e0933%_0x17efd2?_0x17efd2>0x6&&_0x3e0933%_0x17efd2==0x4&&(_0xd03571=_0x6cac3f[_0xd03571>>>0x18]<<0x18|_0x6cac3f[_0xd03571>>>0x10&0xff]<<0x10|_0x6cac3f[_0xd03571>>>0x8&0xff]<<0x8|_0x6cac3f[_0xd03571&0xff]):(_0xd03571=_0xd03571<<0x8|_0xd03571>>>0x18,_0xd03571=_0x6cac3f[_0xd03571>>>0x18]<<0x18|_0x6cac3f[_0xd03571>>>0x10&0xff]<<0x10|_0x6cac3f[_0xd03571>>>0x8&0xff]<<0x8|_0x6cac3f[_0xd03571&0xff],_0xd03571^=_0x168dbd[_0x3e0933/_0x17efd2|0x0]<<0x18),_0x120fef[_0x3e0933]=_0x120fef[_0x3e0933-_0x17efd2]^_0xd03571);for(var _0x4c7b6f=this[_0x5ac4a2(0x2fe)]=[],_0x5974de=0x0;_0x5974de<_0x1e93e7;_0x5974de++){var _0x3e0933=_0x1e93e7-_0x5974de;if(_0x5974de%0x4)var _0xd03571=_0x120fef[_0x3e0933];else var _0xd03571=_0x120fef[_0x3e0933-0x4];_0x5974de<0x4||_0x3e0933<=0x4?_0x4c7b6f[_0x5974de]=_0xd03571:_0x4c7b6f[_0x5974de]=_0x4abb32[_0x6cac3f[_0xd03571>>>0x18]]^_0x231ed6[_0x6cac3f[_0xd03571>>>0x10&0xff]]^_0x6f9f91[_0x6cac3f[_0xd03571>>>0x8&0xff]]^_0x508f23[_0x6cac3f[_0xd03571&0xff]];}}},'encryptBlock':function(_0x57c331,_0x5809da){var _0xac8eb4=_0x468312;this[_0xac8eb4(0x100)](_0x57c331,_0x5809da,this['_keySchedule'],_0x3a219c,_0x5c566c,_0x2c9e8b,_0x3661f9,_0x6cac3f);},'decryptBlock':function(_0x5a2ebc,_0x55c2f2){var _0x168fc7=_0x468312,_0x157c6c=_0x5a2ebc[_0x55c2f2+0x1];_0x5a2ebc[_0x55c2f2+0x1]=_0x5a2ebc[_0x55c2f2+0x3],_0x5a2ebc[_0x55c2f2+0x3]=_0x157c6c,this[_0x168fc7(0x100)](_0x5a2ebc,_0x55c2f2,this['_invKeySchedule'],_0x4abb32,_0x231ed6,_0x6f9f91,_0x508f23,_0x2b07dd);var _0x157c6c=_0x5a2ebc[_0x55c2f2+0x1];_0x5a2ebc[_0x55c2f2+0x1]=_0x5a2ebc[_0x55c2f2+0x3],_0x5a2ebc[_0x55c2f2+0x3]=_0x157c6c;},'_doCryptBlock':function(_0x1d5e08,_0x454fe9,_0x12cc70,_0x1bd617,_0x2be2e0,_0x2ece7c,_0x1482ab,_0x426863){var _0x2f01ba=_0x468312;for(var _0x473c42=this[_0x2f01ba(0x18c)],_0x1f21b9=_0x1d5e08[_0x454fe9]^_0x12cc70[0x0],_0x1e3203=_0x1d5e08[_0x454fe9+0x1]^_0x12cc70[0x1],_0x2fb127=_0x1d5e08[_0x454fe9+0x2]^_0x12cc70[0x2],_0x279e6b=_0x1d5e08[_0x454fe9+0x3]^_0x12cc70[0x3],_0x43baf5=0x4,_0xdc08b=0x1;_0xdc08b<_0x473c42;_0xdc08b++){var _0x25818d=_0x1bd617[_0x1f21b9>>>0x18]^_0x2be2e0[_0x1e3203>>>0x10&0xff]^_0x2ece7c[_0x2fb127>>>0x8&0xff]^_0x1482ab[_0x279e6b&0xff]^_0x12cc70[_0x43baf5++],_0x47dffc=_0x1bd617[_0x1e3203>>>0x18]^_0x2be2e0[_0x2fb127>>>0x10&0xff]^_0x2ece7c[_0x279e6b>>>0x8&0xff]^_0x1482ab[_0x1f21b9&0xff]^_0x12cc70[_0x43baf5++],_0x5b30df=_0x1bd617[_0x2fb127>>>0x18]^_0x2be2e0[_0x279e6b>>>0x10&0xff]^_0x2ece7c[_0x1f21b9>>>0x8&0xff]^_0x1482ab[_0x1e3203&0xff]^_0x12cc70[_0x43baf5++],_0x706c4b=_0x1bd617[_0x279e6b>>>0x18]^_0x2be2e0[_0x1f21b9>>>0x10&0xff]^_0x2ece7c[_0x1e3203>>>0x8&0xff]^_0x1482ab[_0x2fb127&0xff]^_0x12cc70[_0x43baf5++];_0x1f21b9=_0x25818d,_0x1e3203=_0x47dffc,_0x2fb127=_0x5b30df,_0x279e6b=_0x706c4b;}var _0x25818d=(_0x426863[_0x1f21b9>>>0x18]<<0x18|_0x426863[_0x1e3203>>>0x10&0xff]<<0x10|_0x426863[_0x2fb127>>>0x8&0xff]<<0x8|_0x426863[_0x279e6b&0xff])^_0x12cc70[_0x43baf5++],_0x47dffc=(_0x426863[_0x1e3203>>>0x18]<<0x18|_0x426863[_0x2fb127>>>0x10&0xff]<<0x10|_0x426863[_0x279e6b>>>0x8&0xff]<<0x8|_0x426863[_0x1f21b9&0xff])^_0x12cc70[_0x43baf5++],_0x5b30df=(_0x426863[_0x2fb127>>>0x18]<<0x18|_0x426863[_0x279e6b>>>0x10&0xff]<<0x10|_0x426863[_0x1f21b9>>>0x8&0xff]<<0x8|_0x426863[_0x1e3203&0xff])^_0x12cc70[_0x43baf5++],_0x706c4b=(_0x426863[_0x279e6b>>>0x18]<<0x18|_0x426863[_0x1f21b9>>>0x10&0xff]<<0x10|_0x426863[_0x1e3203>>>0x8&0xff]<<0x8|_0x426863[_0x2fb127&0xff])^_0x12cc70[_0x43baf5++];_0x1d5e08[_0x454fe9]=_0x25818d,_0x1d5e08[_0x454fe9+0x1]=_0x47dffc,_0x1d5e08[_0x454fe9+0x2]=_0x5b30df,_0x1d5e08[_0x454fe9+0x3]=_0x706c4b;},'keySize':0x100/0x20});_0x2958a9[_0x468312(0x2a8)]=_0xbd0e54[_0x468312(0x1e9)](_0x51d163);}()),_0x3aeace[_0x5a3cbf(0x2a8)];}));}(Ve)),Ve['exports'];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x5bfca8(0xbc)],ai;function zr(){var _0x27369b=_0x5bfca8;return ai||(ai=0x1,function(_0x5095e9,_0x5ab24e){(function(_0x169bfc,_0xb0f137){var _0x9a9491=_0xe7de;_0x5095e9[_0x9a9491(0xbc)]=_0xb0f137(ne());}(qr,function(_0x802e26){var _0x2117f1=_0xe7de;return _0x802e26[_0x2117f1(0xd2)]['Utf8'];}));}(Xe)),Xe[_0x27369b(0xbc)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x5bfca8(0xbc)],ci;function Qr(){var _0x30404e=_0x5bfca8;return ci||(ci=0x1,function(_0x27cbd2,_0x1fc70b){(function(_0xce4a10,_0xdfde98){var _0x2ce9fb=_0xe7de;_0x27cbd2[_0x2ce9fb(0xbc)]=_0xdfde98(ne());}(Zr,function(_0x21f0dd){var _0x98d6d1=_0xe7de;return(function(){var _0xbc5612=_0xe7de;if(typeof ArrayBuffer==_0xbc5612(0x261)){var _0x1e11c2=_0x21f0dd,_0x397b10=_0x1e11c2[_0xbc5612(0x25a)],_0x5b7ab8=_0x397b10[_0xbc5612(0x2f6)],_0x12679e=_0x5b7ab8[_0xbc5612(0x169)],_0x4bbf16=_0x5b7ab8[_0xbc5612(0x169)]=function(_0x5c745c){var _0x2bf152=_0xbc5612;if(_0x5c745c instanceof ArrayBuffer&&(_0x5c745c=new Uint8Array(_0x5c745c)),(_0x5c745c instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5c745c instanceof Uint8ClampedArray||_0x5c745c instanceof Int16Array||_0x5c745c instanceof Uint16Array||_0x5c745c instanceof Int32Array||_0x5c745c instanceof Uint32Array||_0x5c745c instanceof Float32Array||_0x5c745c instanceof Float64Array)&&(_0x5c745c=new Uint8Array(_0x5c745c[_0x2bf152(0x26a)],_0x5c745c[_0x2bf152(0x3a1)],_0x5c745c['byteLength'])),_0x5c745c instanceof Uint8Array){for(var _0x4a81a6=_0x5c745c[_0x2bf152(0x20c)],_0x15de05=[],_0x41b553=0x0;_0x41b553<_0x4a81a6;_0x41b553++)_0x15de05[_0x41b553>>>0x2]|=_0x5c745c[_0x41b553]<<0x18-_0x41b553%0x4*0x8;_0x12679e[_0x2bf152(0x345)](this,_0x15de05,_0x4a81a6);}else _0x12679e[_0x2bf152(0x19d)](this,arguments);};_0x4bbf16[_0xbc5612(0x140)]=_0x5b7ab8;}}()),_0x21f0dd[_0x98d6d1(0x25a)][_0x98d6d1(0x2f6)];}));}(Ze)),Ze[_0x30404e(0xbc)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x5bfca8(0xbc)],hi;function ns(){return hi||(hi=0x1,function(_0x17e8dd,_0x5340c3){(function(_0xed060a,_0x42afbd,_0x4742c7){_0x17e8dd['exports']=_0x42afbd(ne(),Ai());}(is,function(_0x44ee08){var _0x450171=_0xe7de;return _0x44ee08['pad'][_0x450171(0x1f3)]={'pad':function(){},'unpad':function(){}},_0x44ee08[_0x450171(0xea)][_0x450171(0x1f3)];}));}(Qe)),Qe['exports'];}var rs=ns();const ss=ke(rs);function os(_0x1660a8,_0x104b4f){var _0xdb4e03=_0x5bfca8;const _0x36509=_0x104b4f-_0x1660a8[_0xdb4e03(0xc8)]%_0x104b4f,_0x4becbe=String[_0xdb4e03(0x167)](_0x36509)['repeat'](_0x36509);return _0x1660a8+_0x4becbe;}function as(_0x378535,_0x49b219){var _0x38c989=_0x5bfca8;const _0x2c2aae=ts[_0x38c989(0x1ba)](0x10),_0x21810f=os(_0x378535,0x10),_0x1665e=Kr['encrypt'](Xr[_0x38c989(0x395)](_0x21810f),oi[_0x38c989(0x395)](_0x49b219),{'iv':_0x2c2aae,'padding':ss});return _0x2c2aae[_0x38c989(0x271)](_0x1665e[_0x38c989(0x3b0)])['toString'](oi);}function cs(){var _0x227587=_0x5bfca8;const _0x3e7728=_0x2efffb()['__Key__'];if(_0x3e7728){const _0x467c16={'time':Math[_0x227587(0x30a)](Date['now']()/0x3e8),'domain':location[_0x227587(0x111)]};return as(JSON['stringify'](_0x467c16),_0x3e7728);}}var hs=Object[_0x5bfca8(0x37e)],_s=Object[_0x5bfca8(0x2cb)],ls=(_0x2bdbba,_0x134038,_0xbca606,_0x49bd08)=>{var _0x1d70df=_0x5bfca8;for(var _0x328a16=_0x49bd08>0x1?void 0x0:_0x49bd08?_s(_0x134038,_0xbca606):_0x134038,_0x2198ee=_0x2bdbba[_0x1d70df(0xc8)]-0x1,_0xe5a78d;_0x2198ee>=0x0;_0x2198ee--)(_0xe5a78d=_0x2bdbba[_0x2198ee])&&(_0x328a16=(_0x49bd08?_0xe5a78d(_0x134038,_0xbca606,_0x328a16):_0xe5a78d(_0x328a16))||_0x328a16);return _0x49bd08&&_0x328a16&&hs(_0x134038,_0xbca606,_0x328a16),_0x328a16;},us=(_0x1d0e6b,_0x521e0f)=>(_0xbdddfb,_0x2cf80b)=>_0x521e0f(_0xbdddfb,_0x2cf80b,_0x1d0e6b);let ot=class{constructor(_0x201c6e){var _0x65d789=_0x5bfca8;this[_0x65d789(0x11c)]=_0x201c6e,this[_0x65d789(0x2df)]();}['_initRequestHeader'](){var _0x58e304=_0x5bfca8;this[_0x58e304(0x11c)][_0x58e304(0x367)]({'interceptor':(_0x2c44f4,_0x1975ac)=>{var _0x2b112c=_0x58e304;const _0x3bda99=_0x2c44f4['headers'],_0x4536d6=cs();return _0x4536d6&&_0x3bda99[_0x2b112c(0x122)](_0x2b112c(0x107),_0x4536d6),_0x1975ac(_0x2c44f4);}});}};ot=ls([us(0x0,_0x285a0e(_0x48889b))],ot);var ds=Object[_0x5bfca8(0x37e)],fs=Object[_0x5bfca8(0x2cb)],vs=(_0x2d1847,_0x29704f,_0x339e53,_0x1cbf39)=>{var _0x187b6e=_0x5bfca8;for(var _0x310986=_0x1cbf39>0x1?void 0x0:_0x1cbf39?fs(_0x29704f,_0x339e53):_0x29704f,_0x242e39=_0x2d1847[_0x187b6e(0xc8)]-0x1,_0x1fc98a;_0x242e39>=0x0;_0x242e39--)(_0x1fc98a=_0x2d1847[_0x242e39])&&(_0x310986=(_0x1cbf39?_0x1fc98a(_0x29704f,_0x339e53,_0x310986):_0x1fc98a(_0x310986))||_0x310986);return _0x1cbf39&&_0x310986&&ds(_0x29704f,_0x339e53,_0x310986),_0x310986;},mt=(_0x5f4608,_0x5e76b4)=>(_0xb76887,_0x3327cc)=>_0x5e76b4(_0xb76887,_0x3327cc,_0x5f4608);let Ot=class extends _0x13f3a3{constructor(_0x17c0a5,_0x148f73,_0x1892ab){var _0x490333=_0x5bfca8;super(),N(this,_0x490333(0x137),new _0x3de5fe(null)),N(this,'unitInfo$',this[_0x490333(0x137)]['asObservable']()),(this[_0x490333(0x2bf)]=_0x17c0a5,this[_0x490333(0x3b7)]=_0x148f73,this[_0x490333(0x1fd)]=_0x1892ab);}async[_0x5bfca8(0x133)](_0x26d997,_0x3f3a4b,_0x2acb11){var _0x146783=_0x5bfca8;this['_unitInfo$'][_0x146783(0x26d)]({'unitId':_0x26d997,'type':_0x3f3a4b,'subUnitId':_0x2acb11});let _0x964ada=null;switch(_0x3f3a4b){case Q[_0x146783(0x200)]:{_0x964ada=await this[_0x146783(0x3a0)](_0x26d997);break;}case Q['UNIVER_DOC']:{_0x964ada=await this[_0x146783(0x38f)](_0x26d997);break;}default:{this[_0x146783(0x2bf)]['error'](_0x146783(0x149),_0x146783(0x267));break;}}return _0x964ada;}async[_0x5bfca8(0x3a0)](_0x49035a){var _0x3a4973=_0x5bfca8,_0x8914de;let _0x39d42c=0x0;const _0x35193a=await((_0x8914de=this[_0x3a4973(0x1fd)])==null?void 0x0:_0x8914de['loadOfflineData'](_0x49035a));return _0x35193a&&(_0x35193a['awaitingChangeset']||_0x35193a[_0x3a4973(0x1ea)][_0x3a4973(0xc8)]!==0x0)&&(_0x39d42c=_0x35193a[_0x3a4973(0x2b1)]),_0x39d42c===0x0&&this['_logService'][_0x3a4973(0x2fd)](_0x3a4973(0x149),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x3a4973(0x3b7)][_0x3a4973(0x317)](_0x49035a,_0x39d42c);}async[_0x5bfca8(0x38f)](_0x57e20d){var _0xed6351=_0x5bfca8,_0x4c278b;let _0x4f9190=0x0;const _0x19d14a=await((_0x4c278b=this[_0xed6351(0x1fd)])==null?void 0x0:_0x4c278b[_0xed6351(0x23d)](_0x57e20d));return _0x19d14a&&(_0x19d14a[_0xed6351(0xdd)]||_0x19d14a['mutations'][_0xed6351(0xc8)]!==0x0)&&(_0x4f9190=_0x19d14a['rev']),_0x4f9190===0x0&&this[_0xed6351(0x2bf)][_0xed6351(0x2fd)](_0xed6351(0x149),_0xed6351(0x216)),this['_snapshotService'][_0xed6351(0x1bd)](_0x57e20d,_0x4f9190);}};Ot=vs([mt(0x0,_0x43c1be),mt(0x1,_0x285a0e(_0x33b424)),mt(0x2,_0x22b405(J))],Ot);var ps=Object['defineProperty'],ms=Object[_0x5bfca8(0x2cb)],gs=(_0xf712fb,_0x4fc420,_0x1a2621,_0x353830)=>{var _0x11c32e=_0x5bfca8;for(var _0x2ed8ef=_0x353830>0x1?void 0x0:_0x353830?ms(_0x4fc420,_0x1a2621):_0x4fc420,_0x3188cc=_0xf712fb[_0x11c32e(0xc8)]-0x1,_0x60ad7b;_0x3188cc>=0x0;_0x3188cc--)(_0x60ad7b=_0xf712fb[_0x3188cc])&&(_0x2ed8ef=(_0x353830?_0x60ad7b(_0x4fc420,_0x1a2621,_0x2ed8ef):_0x60ad7b(_0x2ed8ef))||_0x2ed8ef);return _0x353830&&_0x2ed8ef&&ps(_0x4fc420,_0x1a2621,_0x2ed8ef),_0x2ed8ef;},gt=(_0x2074a6,_0x1f9200)=>(_0x1583ae,_0x28cd3c)=>_0x1f9200(_0x1583ae,_0x28cd3c,_0x2074a6);const Ss=['image/png',_0x5bfca8(0x1b5),_0x5bfca8(0x255),_0x5bfca8(0x206),_0x5bfca8(0x35c)],Es=0x5*0x400*0x400,Is=_0x5bfca8(0x2bd),Ts=_0x5bfca8(0x16c),Cs='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Rs=_0x5bfca8(0x145);let yt=class{constructor(_0x31f247,_0x5dbaf6,_0x3de221){var _0x429741=_0x5bfca8;N(this,'_waitCount',0x0),N(this,_0x429741(0x1ab),new _0x4268af()),N(this,_0x429741(0x331),this[_0x429741(0x1ab)]),N(this,_0x429741(0x1bf),new Map()),(this[_0x429741(0x11c)]=_0x31f247,this[_0x429741(0x313)]=_0x5dbaf6,this[_0x429741(0xc3)]=_0x3de221);}['setWaitCount'](_0x5cdf7e){var _0x5eb08e=_0x5bfca8;this[_0x5eb08e(0x10a)]=_0x5cdf7e,this[_0x5eb08e(0x1ab)][_0x5eb08e(0x26d)](_0x5cdf7e);}['getImageSourceCache'](_0x3200d0,_0x30a8d7){var _0xdeed85=_0x5bfca8;if(_0x30a8d7===_0x45d4d9[_0xdeed85(0x199)]){const _0x476450=new Image();return _0x476450['src']=_0x3200d0,_0x476450;}return this[_0xdeed85(0x1bf)][_0xdeed85(0x3a3)](_0x3200d0);}[_0x5bfca8(0x170)](_0x34cdc0,_0x3a6e78,_0x5bdee2){var _0x46e2d4=_0x5bfca8;_0x3a6e78===_0x45d4d9['BASE64']||_0x5bdee2==null||this['_imageSourceCache'][_0x46e2d4(0x122)](_0x34cdc0,_0x5bdee2);}async[_0x5bfca8(0x3a2)](_0xd72652){var _0x28bc6d=_0x5bfca8;try{const _0x1ade0d=this[_0x28bc6d(0x272)](this[_0x28bc6d(0x1d7)](),''+_0xd72652),_0x425c82=(await this['_httpService']['get'](_0x1ade0d))[_0x28bc6d(0x15d)];if(_0x425c82[_0x28bc6d(0x348)]&&_0x425c82[_0x28bc6d(0x348)][_0x28bc6d(0x253)]===Ii['OK']){const _0x4745b3=new URL(_0x425c82[_0x28bc6d(0xb1)],this[_0x28bc6d(0x39b)]())[_0x28bc6d(0x203)]();return Promise[_0x28bc6d(0x126)](_0x4745b3);}return Promise[_0x28bc6d(0x15c)](_0x425c82[_0x28bc6d(0x348)]);}catch(_0xcfecff){return Promise[_0x28bc6d(0x15c)](_0xcfecff);}}async[_0x5bfca8(0x1fb)](_0x1919c7){var _0x1c6af2=_0x5bfca8;let _0x400717='';if(!Ss['includes'](_0x1919c7[_0x1c6af2(0x361)]))return this[_0x1c6af2(0x283)](),Promise[_0x1c6af2(0x15c)](new Error(_0x35f44c['ERROR_IMAGE_TYPE']));if(_0x1919c7['size']>Es)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x35f44c[_0x1c6af2(0x12a)]));try{const _0x4f8225=new FormData();_0x4f8225['append'](_0x1c6af2(0x237),_0x1919c7);const _0x2971aa=this[_0x1c6af2(0xc3)][_0x1c6af2(0xd0)](),_0x116fb3=_0x2971aa==null?void 0x0:_0x2971aa[_0x1c6af2(0x2d9)]();if(!_0x116fb3)throw new Error(_0x1c6af2(0x128));const _0x135acb=this[_0x1c6af2(0x270)]()+_0x1c6af2(0xf2)+_0x1919c7[_0x1c6af2(0x28f)][_0x1c6af2(0x203)]()+_0x1c6af2(0x1df)+Ti[_0x1c6af2(0x282)]+_0x1c6af2(0x301)+encodeURIComponent(_0x116fb3),_0x59bb8c=await(await fetch(_0x135acb,{'method':_0x1c6af2(0x394),'body':_0x4f8225}))[_0x1c6af2(0x118)]();if(typeof _0x59bb8c[_0x1c6af2(0x248)]!=_0x1c6af2(0xce))return this[_0x1c6af2(0x283)](),Promise['reject'](new Error(_0x35f44c[_0x1c6af2(0x215)]));_0x400717=_0x59bb8c[_0x1c6af2(0x248)];}catch{return this['_decreaseWaiting'](),Promise[_0x1c6af2(0x15c)](new Error(_0x35f44c['ERROR_IMAGE']));}return new Promise((_0x4403c2,_0x33e703)=>{var _0x575dd3=_0x1c6af2;const _0x5c2db3=new FileReader();_0x5c2db3[_0x575dd3(0x2f5)](_0x1919c7),_0x5c2db3[_0x575dd3(0x34f)]=_0x5e8c61=>{var _0x5439b3=_0x575dd3,_0x2815f6;const _0x41ee35=(_0x2815f6=_0x5e8c61[_0x5439b3(0x3b2)])==null?void 0x0:_0x2815f6[_0x5439b3(0xda)];if(_0x41ee35==null){this['_decreaseWaiting'](),_0x33e703(new Error(_0x35f44c[_0x5439b3(0x215)]));return;}const _0x2c23a0=_0xd0a3e0['generateRandomId'](0x6);_0x4403c2({'imageId':_0x2c23a0,'imageSourceType':_0x45d4d9['UUID'],'source':_0x400717,'base64Cache':_0x41ee35,'status':_0x35f44c['SUCCUSS']}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x4e3dd2=_0x5bfca8,_0x343915,_0x367143;const _0x5a410f=this[_0x4e3dd2(0x313)][_0x4e3dd2(0x242)](Is),_0x1361ec=this['_configService']['getConfig'](q);return(_0x367143=(_0x343915=_0x1361ec==null?void 0x0:_0x1361ec[_0x4e3dd2(0x1bb)])!=null?_0x343915:_0x5a410f)!=null?_0x367143:Ts;}[_0x5bfca8(0x1d7)](){var _0x4768d8=_0x5bfca8,_0xf3492,_0x5aecc0;const _0xfc725c=this[_0x4768d8(0x313)][_0x4768d8(0x242)](Cs),_0x2651c0=this[_0x4768d8(0x313)][_0x4768d8(0x242)](q);return(_0x5aecc0=(_0xf3492=_0x2651c0==null?void 0x0:_0x2651c0[_0x4768d8(0x2c4)])!=null?_0xf3492:_0xfc725c)!=null?_0x5aecc0:Rs;}[_0x5bfca8(0x39b)](){var _0x2a4c85=_0x5bfca8,_0x49c363;const _0x3d29ab=this[_0x2a4c85(0x313)][_0x2a4c85(0x242)](q);return(_0x49c363=_0x3d29ab==null?void 0x0:_0x3d29ab[_0x2a4c85(0x174)])!=null?_0x49c363:location[_0x2a4c85(0x105)];}[_0x5bfca8(0x272)](_0x5041ba,_0x5adc14){var _0xdfd0a5=_0x5bfca8;return _0x5041ba[_0xdfd0a5(0x36a)](_0xdfd0a5(0x10f),_0x5adc14);}['_decreaseWaiting'](){var _0x3a8b5d=_0x5bfca8;this['_waitCount']-=0x1,this[_0x3a8b5d(0x1ab)][_0x3a8b5d(0x26d)](this[_0x3a8b5d(0x10a)]);}};yt=gs([gt(0x0,_0x285a0e(_0x48889b)),gt(0x1,_0x44e247),gt(0x2,_0x285a0e(_0x34354e))],yt);var bs=Object[_0x5bfca8(0x37e)],Os=Object['getOwnPropertyDescriptor'],ys=(_0x557f78,_0x177e37,_0x39407c,_0x12a426)=>{var _0x21bf1b=_0x5bfca8;for(var _0x498f39=_0x12a426>0x1?void 0x0:_0x12a426?Os(_0x177e37,_0x39407c):_0x177e37,_0x10a4e7=_0x557f78[_0x21bf1b(0xc8)]-0x1,_0x37f806;_0x10a4e7>=0x0;_0x10a4e7--)(_0x37f806=_0x557f78[_0x10a4e7])&&(_0x498f39=(_0x12a426?_0x37f806(_0x177e37,_0x39407c,_0x498f39):_0x37f806(_0x498f39))||_0x498f39);return _0x12a426&&_0x498f39&&bs(_0x177e37,_0x39407c,_0x498f39),_0x498f39;},_i=(_0x53bd5f,_0x43092c)=>(_0x16bac0,_0x3057f1)=>_0x43092c(_0x16bac0,_0x3057f1,_0x53bd5f);const Ns=_0x5bfca8(0x284);let Nt=class{constructor(_0x574d93,_0xe22dc5){var _0x2f72d2=_0x5bfca8;this[_0x2f72d2(0x313)]=_0x574d93,this[_0x2f72d2(0x2fa)]=_0xe22dc5;}['_getAPIPrefixPath'](){var _0x38635f=_0x5bfca8,_0x56661f,_0x4900f2;const _0x5dfb4b=this['_configService'][_0x38635f(0x242)](Pi),_0x5b3c6a=this['_configService']['getConfig'](q);return(_0x4900f2=(_0x56661f=_0x5b3c6a==null?void 0x0:_0x5b3c6a[_0x38635f(0x35e)])!=null?_0x56661f:_0x5dfb4b)!=null?_0x4900f2:Ns;}async['list'](_0x357400){var _0x2b485a=_0x5bfca8;const _0x40357b=this['_getAPIPrefixPath']()+_0x2b485a(0x1ef);return{'list':[{'title':_0x2b485a(0x2ef),'mentions':(await this['_HTTPService']['get'](_0x40357b,{'params':{'objectID':_0x357400[_0x2b485a(0x28b)],'unitID':_0x357400[_0x2b485a(0x28b)]}}))[_0x2b485a(0x15d)]['collaborators'][_0x2b485a(0x364)](_0x4da833=>({'objectId':_0x4da833['id'],'name':_0x4da833[_0x2b485a(0x362)][_0x2b485a(0x292)],'metadata':{'icon':_0x4da833['subject']['avatar']},'label':_0x4da833[_0x2b485a(0x362)][_0x2b485a(0x292)],'objectType':_0x306ad6[_0x2b485a(0x11d)]})),'metadata':{},'type':_0x306ad6['PERSON']}]};}};Nt=ys([_i(0x0,_0x285a0e(_0x44e247)),_i(0x1,_0x285a0e(_0x48889b))],Nt);var Ds=Object[_0x5bfca8(0x37e)],Ps=Object[_0x5bfca8(0x2cb)],ws=(_0x1138a2,_0x556150,_0x44345e,_0x41cb3a)=>{var _0x25ace4=_0x5bfca8;for(var _0x194ecc=_0x41cb3a>0x1?void 0x0:_0x41cb3a?Ps(_0x556150,_0x44345e):_0x556150,_0x333267=_0x1138a2[_0x25ace4(0xc8)]-0x1,_0x566309;_0x333267>=0x0;_0x333267--)(_0x566309=_0x1138a2[_0x333267])&&(_0x194ecc=(_0x41cb3a?_0x566309(_0x556150,_0x44345e,_0x194ecc):_0x566309(_0x194ecc))||_0x194ecc);return _0x41cb3a&&_0x194ecc&&Ds(_0x556150,_0x44345e,_0x194ecc),_0x194ecc;},Se=(_0x2ab3,_0x437e0e)=>(_0x1519d8,_0x4a6284)=>_0x437e0e(_0x1519d8,_0x4a6284,_0x2ab3);let at=class extends _0x13f3a3{constructor(_0x5731c0,_0x12a9a1,_0x43989a,_0x104b48,_0x3bd92b,_0x3c5d54,_0x121b88){var _0x385637=_0x5bfca8;super(),this[_0x385637(0x2ad)]=_0x5731c0,this['_univerInstanceService']=_0x12a9a1,this[_0x385637(0x310)]=_0x43989a,this['_collaborationSessionService']=_0x104b48,this[_0x385637(0xe4)]=_0x3bd92b,this[_0x385637(0x204)]=_0x3c5d54,this[_0x385637(0x263)]=_0x121b88,this['_initUnitPermissionChange'](),this[_0x385637(0x1c4)]();}[_0x5bfca8(0x1c4)](){var _0x3f42d5=_0x5bfca8;const _0x45dd39=async _0x2165b2=>{var _0x16adee=_0xe7de;(await this[_0x16adee(0x280)]['requireSession'](_0x2165b2))[_0x16adee(0x147)][_0x16adee(0x3b9)](_0x533c34(_0x9ad881=>_0x9ad881[_0x16adee(0x131)]===_0x3167f1['SHOULD_CLOSE_CONN']),_0x247a10(this[_0x16adee(0x1e1)]))[_0x16adee(0xbd)](_0x2d5089=>{var _0x21d425=_0x16adee;const _0x354cd5=_0x2d5089,{reason:_0xdc7a6d}=_0x354cd5[_0x21d425(0x18e)];this[_0x21d425(0xe4)]['emitEvent']({'id':se[_0x21d425(0x22f)],'data':_0xdc7a6d}),this[_0x21d425(0x310)]['updatePermissionPoint'](new _0x36b9b5(_0x2165b2)['id'],!0x1),this[_0x21d425(0x280)][_0x21d425(0x3a8)](_0x2165b2);});};_0x230e2e(this[_0x3f42d5(0xc3)][_0x3f42d5(0x1e8)](_0x1f23c0[_0x3f42d5(0x200)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1f23c0[_0x3f42d5(0x1aa)]))[_0x3f42d5(0x3b9)](_0x15918f(_0x480c09=>_0x480c09[_0x3f42d5(0x2d9)]()),_0x533c34(_0x184b87=>!_0x56fe53(_0x184b87)),_0x247a10(this[_0x3f42d5(0x1e1)]))['subscribe'](_0x397e51=>{_0x45dd39(_0x397e51);});}['_initUnitPermissionChange'](){var _0x42c6e5=_0x5bfca8;const _0x50c9f5=async _0x1c1e12=>{var _0x2116f6=_0xe7de;const _0x5a3ab3=await this['_collaborationSessionService'][_0x2116f6(0x1f8)](_0x1c1e12),_0x3c41ea=this[_0x2116f6(0x2ad)][_0x2116f6(0x3a3)](_0x251b0e);_0x5a3ab3[_0x2116f6(0x147)][_0x2116f6(0x3b9)](_0x533c34(_0x28c626=>_0x28c626[_0x2116f6(0x131)]===_0x3167f1[_0x2116f6(0x36c)]),_0x247a10(this[_0x2116f6(0x1e1)]))[_0x2116f6(0xbd)](_0x979da0=>{var _0x52fab5=_0x2116f6;const _0x13ade7=_0x979da0,{objectId:_0x198a69}=_0x13ade7[_0x52fab5(0x18e)];_0x198a69===_0x1c1e12?_0x3c41ea[_0x52fab5(0xf9)](_0x1c1e12):_0x3c41ea[_0x52fab5(0x1c0)](_0x1c1e12,_0x198a69);});};_0x230e2e(this[_0x42c6e5(0xc3)][_0x42c6e5(0x1e8)](_0x1f23c0[_0x42c6e5(0x200)]),this['_univerInstanceService'][_0x42c6e5(0x1e8)](_0x1f23c0[_0x42c6e5(0x1aa)]))[_0x42c6e5(0x3b9)](_0x15918f(_0x3fc2bf=>_0x3fc2bf['getUnitId']()),_0x533c34(_0x2d2c1e=>!_0x56fe53(_0x2d2c1e)),_0x247a10(this[_0x42c6e5(0x1e1)]))[_0x42c6e5(0xbd)](_0x59e5de=>{_0x50c9f5(_0x59e5de);});}};at=ws([Se(0x0,_0x285a0e(_0x22efd7)),Se(0x1,_0x34354e),Se(0x2,_0x537f08),Se(0x3,_0x285a0e(Le)),Se(0x4,_0x285a0e(pe)),Se(0x5,_0x35b29b),Se(0x6,_0x46a1d6)],at);var Us=Object[_0x5bfca8(0x37e)],As=Object[_0x5bfca8(0x2cb)],xs=(_0x77f45c,_0x2b4676,_0xd63d75,_0x561225)=>{var _0x373187=_0x5bfca8;for(var _0x589bd9=_0x561225>0x1?void 0x0:_0x561225?As(_0x2b4676,_0xd63d75):_0x2b4676,_0x4ac001=_0x77f45c[_0x373187(0xc8)]-0x1,_0x2ba1fa;_0x4ac001>=0x0;_0x4ac001--)(_0x2ba1fa=_0x77f45c[_0x4ac001])&&(_0x589bd9=(_0x561225?_0x2ba1fa(_0x2b4676,_0xd63d75,_0x589bd9):_0x2ba1fa(_0x589bd9))||_0x589bd9);return _0x561225&&_0x589bd9&&Us(_0x2b4676,_0xd63d75,_0x589bd9),_0x589bd9;},li=(_0x557715,_0x19b4ce)=>(_0x3c7ee0,_0x4a80f2)=>_0x19b4ce(_0x3c7ee0,_0x4a80f2,_0x557715);let Dt=class{constructor(_0x1298b1,_0x13a35e){var _0x9c4e3c=_0x5bfca8;this[_0x9c4e3c(0x313)]=_0x1298b1,this['_httpService']=_0x13a35e;}async[_0x5bfca8(0x1c3)](_0x4b97fa,_0x151c3b){var _0x324c5c=_0x5bfca8,_0x1aaa87;const {unitID:_0x42319d,type:_0x36bee3,revision:_0x4755c2=0x0}=_0x151c3b,_0x5166cd=this[_0x324c5c(0x34b)]()+'/'+_0x36bee3+_0x324c5c(0x287)+_0x42319d+_0x324c5c(0x386)+_0x4755c2,_0x32ee9d=(await this[_0x324c5c(0x11c)][_0x324c5c(0x3a3)](_0x5166cd))['body'],_0x5a2729=(_0x1aaa87=_0x32ee9d['snapshot'])==null?void 0x0:_0x1aaa87[_0x324c5c(0x335)];if(_0x5a2729){const _0x304f35=_0x5a2729==null?void 0x0:_0x5a2729[_0x324c5c(0x177)],_0x44050d=_0x166c48['encode'](_0x196ae5(_0x304f35));_0x5a2729[_0x324c5c(0x177)]=_0x44050d,Object[_0x324c5c(0x234)](_0x5a2729[_0x324c5c(0x1d5)])[_0x324c5c(0x33e)](([,_0x561688])=>{const _0x33dbc4=_0x561688['originalMeta'],_0x1275e7=_0x166c48['encode'](_0x196ae5(_0x33dbc4));_0x561688['originalMeta']=_0x1275e7;});}return _0x32ee9d;}async[_0x5bfca8(0x236)](_0x38c0d4,_0x3d887f){var _0x4c60ba=_0x5bfca8;const {unitID:_0x2d7afb,type:_0x56e23b,blockID:_0x59dc23}=_0x3d887f,_0x555d67=this[_0x4c60ba(0x12b)]()+'/'+_0x56e23b+'/unit/'+_0x2d7afb+_0x4c60ba(0x33c)+_0x59dc23;return(await this['_httpService'][_0x4c60ba(0x3a3)](_0x555d67))['body'];}async[_0x5bfca8(0xb3)](_0x5d7f2c,_0x417e71){var _0x543cee=_0x5bfca8;const {unitID:_0x1d0ea2,type:_0x455338,blockID:_0x3d5b6c}=_0x417e71,_0x560efb=this[_0x543cee(0x12b)]()+'/block/'+_0x455338+_0x543cee(0x287)+_0x1d0ea2+_0x543cee(0x33c)+_0x3d5b6c;return(await this[_0x543cee(0x11c)]['get'](_0x560efb))[_0x543cee(0x15d)];}async[_0x5bfca8(0x25d)](_0x1b16bd,_0x3faf9e){var _0x1a6f46=_0x5bfca8;const {unitID:_0x5ce5f9,type:_0x4db46f,from:_0x1228d8,to:_0x259891}=_0x3faf9e,_0x2b9830=this[_0x1a6f46(0x12b)]()+'/'+_0x4db46f+_0x1a6f46(0x287)+_0x5ce5f9+_0x1a6f46(0x377)+_0x1228d8+_0x1a6f46(0x269)+_0x259891;return(await this[_0x1a6f46(0x11c)][_0x1a6f46(0x3a3)](_0x2b9830))[_0x1a6f46(0x15d)];}[_0x5bfca8(0x34b)](){var _0x9f2647=_0x5bfca8,_0x37e3d9;return(_0x37e3d9=this[_0x9f2647(0x313)][_0x9f2647(0x242)](Tn))!=null?_0x37e3d9:this[_0x9f2647(0x12b)]();}['_getAPIPrefix'](){var _0x1fbefa=_0x5bfca8,_0x242aaf,_0x48ab45;const _0x31fc3d=this['_configService'][_0x1fbefa(0x242)](En),_0x2ca69c=this[_0x1fbefa(0x313)][_0x1fbefa(0x242)](q);return(_0x48ab45=(_0x242aaf=_0x2ca69c==null?void 0x0:_0x2ca69c['snapshotServerUrl'])!=null?_0x242aaf:_0x31fc3d)!=null?_0x48ab45:In;}async[_0x5bfca8(0x135)](_0x540aee,_0x97d13a){var _0x562d2b=_0x5bfca8;const _0x549051=_0x562d2b(0x2b6)+_0x97d13a[_0x562d2b(0x361)]+_0x562d2b(0x287)+_0x97d13a['unitID']+_0x562d2b(0x298);return(await this[_0x562d2b(0x11c)]['get'](_0x549051,{'params':{'resourceId':JSON[_0x562d2b(0x264)](_0x97d13a[_0x562d2b(0x336)])}}))[_0x562d2b(0x15d)];}[_0x5bfca8(0xfb)](){var _0x625355=_0x5bfca8;throw new Error(_0x625355(0x3ad));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5bfca8(0x351)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5bfca8(0x1fe)](){var _0x2739a8=_0x5bfca8;throw new Error(_0x2739a8(0x3ad));}[_0x5bfca8(0x132)](){var _0x5a305b=_0x5bfca8;throw new Error(_0x5a305b(0x3ad));}};Dt=xs([li(0x0,_0x44e247),li(0x1,_0x285a0e(_0x48889b))],Dt);var Ls=Object[_0x5bfca8(0x37e)],Ms=Object[_0x5bfca8(0x2cb)],$s=(_0x252d27,_0x45cb7a,_0x5a3e87,_0xfc4418)=>{var _0x145c7e=_0x5bfca8;for(var _0x4183f0=_0xfc4418>0x1?void 0x0:_0xfc4418?Ms(_0x45cb7a,_0x5a3e87):_0x45cb7a,_0x4cbcb0=_0x252d27[_0x145c7e(0xc8)]-0x1,_0x2544ee;_0x4cbcb0>=0x0;_0x4cbcb0--)(_0x2544ee=_0x252d27[_0x4cbcb0])&&(_0x4183f0=(_0xfc4418?_0x2544ee(_0x45cb7a,_0x5a3e87,_0x4183f0):_0x2544ee(_0x4183f0))||_0x4183f0);return _0xfc4418&&_0x4183f0&&Ls(_0x45cb7a,_0x5a3e87,_0x4183f0),_0x4183f0;},Ae=(_0x39f9e3,_0x5841ea)=>(_0x3a6da9,_0x5194aa)=>_0x5841ea(_0x3a6da9,_0x5194aa,_0x39f9e3);let Pt=class extends _0x1d83d4{constructor(_0x5c1e8d,_0x3037cd,_0x2c54c5,_0x4f8564,_0x8e6b43){var _0x52c325=_0x5bfca8;super(_0x5c1e8d,_0x3037cd,_0x2c54c5),this[_0x52c325(0x18a)]=_0x4f8564,this[_0x52c325(0x2bf)]=_0x8e6b43;}[_0x5bfca8(0xe8)](_0x20367a,_0x2c83ae){var _0x540a12=_0x5bfca8;const _0x394339=this['_getUndoStack'](_0x20367a);if(_0x394339)try{const _0x5e77d8=this[_0x540a12(0xd9)](_0x394339,_0x2c83ae);this['_substituteUndoStack'](_0x20367a,_0x5e77d8);}catch(_0xc9c15f){this[_0x540a12(0x2bf)]['error'](_0x540a12(0x1d3),_0xc9c15f),this['_clearUndo'](_0x20367a);}const _0x2b3da9=this['_getRedoStack'](_0x20367a);if(_0x2b3da9)try{const _0x380795=this[_0x540a12(0xd9)](_0x2b3da9,_0x2c83ae);this['_substituteRedoStack'](_0x20367a,_0x380795);}catch(_0x153a7a){this[_0x540a12(0x2bf)][_0x540a12(0x348)](_0x153a7a),this[_0x540a12(0x2ea)](_0x20367a);}}[_0x5bfca8(0x373)](_0x3d169e){var _0x272dbb=_0x5bfca8;const _0x28c6f8=this['_getUndoStack'](_0x3d169e);_0x28c6f8&&(_0x28c6f8[_0x272dbb(0xc8)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x99823b){var _0x122c52=_0x5bfca8;const _0x4327a7=this[_0x122c52(0x141)](_0x99823b);_0x4327a7&&(_0x4327a7[_0x122c52(0xc8)]=0x0,this[_0x122c52(0x2c1)]());}['_substituteUndoStack'](_0x179ec9,_0xdbb109){var _0x4acc6a=_0x5bfca8;this[_0x4acc6a(0x106)]['set'](_0x179ec9,_0xdbb109),this['_updateStatus']();}['_substituteRedoStack'](_0x7a51e7,_0x212b90){var _0x5af5fe=_0x5bfca8;this[_0x5af5fe(0x258)][_0x5af5fe(0x122)](_0x7a51e7,_0x212b90),this[_0x5af5fe(0x2c1)]();}[_0x5bfca8(0xd9)](_0x581626,_0x334dc4){var _0x3c6f36=_0x5bfca8;const _0x75a759=[];let _0x42694b=_0x334dc4,_0x96daf4=_0x334dc4;for(let _0x482a86=_0x581626[_0x3c6f36(0xc8)]-0x1;_0x482a86>=0x0;_0x482a86--){const {unitID:_0x14fd32,undoMutations:_0x2caa9b,redoMutations:_0x58b4de}=_0x581626[_0x482a86],_0x469ea0=this[_0x3c6f36(0x18a)][_0x3c6f36(0x184)](_0x42694b,_0x2caa9b),_0x558054=this[_0x3c6f36(0x18a)][_0x3c6f36(0x184)](_0x96daf4,_0x58b4de);if(_0x123514(_0x469ea0)||_0x123514(_0x558054)){this[_0x3c6f36(0x2bf)][_0x3c6f36(0x348)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x469ea0,_0x558054);break;}_0x42694b=_0x469ea0[_0x3c6f36(0xbf)],_0x96daf4=_0x558054[_0x3c6f36(0xbf)],_0x75a759[_0x3c6f36(0x306)]({'unitID':_0x14fd32,'undoMutations':_0x469ea0[_0x3c6f36(0x10d)],'redoMutations':_0x558054[_0x3c6f36(0x10d)]});}return _0x75a759[_0x3c6f36(0xdc)]();}};Pt=$s([Ae(0x0,_0x34354e),Ae(0x1,_0x36fb84),Ae(0x2,_0x70d195),Ae(0x3,_0x45197c),Ae(0x4,_0x43c1be)],Pt);var xi=Object[_0x5bfca8(0x37e)],Hs=Object['getOwnPropertyDescriptor'],ks=(_0x40b6e6,_0x17ae32,_0xb03c68)=>_0x17ae32 in _0x40b6e6?xi(_0x40b6e6,_0x17ae32,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb03c68}):_0x40b6e6[_0x17ae32]=_0xb03c68,js=(_0x2c0724,_0x4ab55d,_0x2c4f8d,_0x10cd9d)=>{var _0x11f96b=_0x5bfca8;for(var _0x35dd5f=_0x10cd9d>0x1?void 0x0:_0x10cd9d?Hs(_0x4ab55d,_0x2c4f8d):_0x4ab55d,_0x2d50c0=_0x2c0724[_0x11f96b(0xc8)]-0x1,_0x438062;_0x2d50c0>=0x0;_0x2d50c0--)(_0x438062=_0x2c0724[_0x2d50c0])&&(_0x35dd5f=(_0x10cd9d?_0x438062(_0x4ab55d,_0x2c4f8d,_0x35dd5f):_0x438062(_0x35dd5f))||_0x35dd5f);return _0x10cd9d&&_0x35dd5f&&xi(_0x4ab55d,_0x2c4f8d,_0x35dd5f),_0x35dd5f;},St=(_0x4994e9,_0x5a8aa7)=>(_0x3165e8,_0x3f2d39)=>_0x5a8aa7(_0x3165e8,_0x3f2d39,_0x4994e9),Bs=(_0x2af5e3,_0x2cf374,_0x978a6f)=>ks(_0x2af5e3,_0x2cf374+'',_0x978a6f);const Fs=_0x5bfca8(0x2a3);let wt=class extends _0x2071a8{constructor(_0x18a097=Wt,_0x23f5df,_0x4b133d,_0x15b4a8){var _0x101b8e=_0x5bfca8;super(),this['_config']=_0x18a097,this[_0x101b8e(0x2bf)]=_0x23f5df,this['_injector']=_0x4b133d,this[_0x101b8e(0x313)]=_0x15b4a8;const {..._0x5d2f03}=_0x2b9995({},Wt,this[_0x101b8e(0x371)]);this[_0x101b8e(0x313)][_0x101b8e(0x194)](q,_0x5d2f03);}[_0x5bfca8(0x2e6)](){var _0xece4f6=_0x5bfca8;this[_0xece4f6(0x28d)](),this[_0xece4f6(0x117)]();}[_0x5bfca8(0x28d)](){var _0x4a87cf=_0x5bfca8,_0x11933c,_0x56411e,_0x4b59e4,_0x41cf93;this[_0x4a87cf(0x2ad)][_0x4a87cf(0x2bc)](_0x46a1d6)&&this['_logService'][_0x4a87cf(0x348)](_0x4a87cf(0x3ab),_0x4a87cf(0x359));const _0x49e58a=_0x575c49([[_0x46a1d6,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x56411e=(_0x11933c=this[_0x4a87cf(0x371)])==null?void 0x0:_0x11933c['socketService'])!=null?_0x56411e:Et}],[_0x410261,{'useClass':Dt}],[_0x35b29b,{'useClass':bt}],[_0x5b1197,{'useClass':yt}],[_0x250626,{'useClass':Nt}],[rt],[Rt]],(_0x4b59e4=this[_0x4a87cf(0x371)])==null?void 0x0:_0x4b59e4[_0x4a87cf(0x22d)]);if(!((_0x41cf93=this[_0x4a87cf(0x371)])!=null&&_0x41cf93[_0x4a87cf(0x240)])){const _0x54132c=_0x49e58a[_0x4a87cf(0x196)](([_0x22ad0b])=>_0x22ad0b===ht);_0x54132c!==-0x1&&_0x49e58a[_0x4a87cf(0x14d)](_0x54132c,0x1);}_0x4f4782(this['_injector'],_0x49e58a);}['_initDependencies'](){var _0x2973c6=_0x5bfca8,_0x1b33c9,_0x2085e9,_0x49a79d;this['_injector']['get'](_0x48889b)[_0x2973c6(0x367)]({'priority':0x14,'interceptor':_0x4ded48({'maxParallel':0x6})}),(_0x1b33c9=this[_0x2973c6(0x371)])!=null&&_0x1b33c9['enableOfflineEditing']||(_0x2085e9=this[_0x2973c6(0x2ad)]['get'](J,_0x256a8e[_0x2973c6(0x370)]))==null||_0x2085e9['disableLocalCache'](),(_0x49a79d=this['_config'])!=null&&_0x49a79d[_0x2973c6(0xb6)]&&_0x401588(this[_0x2973c6(0x2ad)],[[st]]),_0x401588(this[_0x2973c6(0x2ad)],[[ot],[rt],[at]]);}};Bs(wt,_0x5bfca8(0xd1),Fs),wt=js([_0xd14b3(_0x2ab92a,_0x6cc86,_0x43f7df),St(0x1,_0x43c1be),St(0x2,_0x285a0e(_0x22efd7)),St(0x3,_0x44e247)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
|
1
|
+
var _0x5152c2=_0x4cbe;(function(_0x40c5f6,_0x4eaaad){var _0x23de16=_0x4cbe,_0x29ba48=_0x40c5f6();while(!![]){try{var _0x2a6c17=parseInt(_0x23de16(0x2a3))/0x1+-parseInt(_0x23de16(0x37c))/0x2+-parseInt(_0x23de16(0x21b))/0x3+-parseInt(_0x23de16(0x1df))/0x4*(-parseInt(_0x23de16(0x3c8))/0x5)+parseInt(_0x23de16(0x43f))/0x6*(-parseInt(_0x23de16(0x1cc))/0x7)+parseInt(_0x23de16(0x1c4))/0x8+-parseInt(_0x23de16(0x348))/0x9*(-parseInt(_0x23de16(0x407))/0xa);if(_0x2a6c17===_0x4eaaad)break;else _0x29ba48['push'](_0x29ba48['shift']());}catch(_0x525501){_0x29ba48['push'](_0x29ba48['shift']());}}}(_0xf80a,0x699ce));var Li=Object['defineProperty'],Mi=(_0x584b72,_0x57009a,_0x19593a)=>_0x57009a in _0x584b72?Li(_0x584b72,_0x57009a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19593a}):_0x584b72[_0x57009a]=_0x19593a,N=(_0x1a1aec,_0x2c0bcb,_0x4749a9)=>Mi(_0x1a1aec,typeof _0x2c0bcb!=_0x5152c2(0x464)?_0x2c0bcb+'':_0x2c0bcb,_0x4749a9);import{createIdentifier as _0x2cae79,Inject as _0x49608f,Injector as _0x231a09,Disposable as _0x319548,DisposableCollection as _0x1528d6,toDisposable as _0x38be0e,IConfigService as _0x398800,ILogService as _0xff0f44,UserManagerService as _0xb6353,UniverInstanceType as _0x3502ae,IUniverInstanceService as _0x1eeb0a,LocaleService as _0x1523a1,Optional as _0x45d56d,RxDisposable as _0x6a3296,Tools as _0x2846ef,Rectangle as _0x3ee4a4,ICommandService as _0x2e8c89,JSONX as _0x26a11b,CommandType as _0x495d29,IPermissionService as _0x1f08c8,IUndoRedoService as _0xfeb578,sequenceExecute as _0x356909,Workbook as _0x3ae0c5,MentionType as _0x1e36a5,IAuthzIoService as _0x112d7e,isInternalEditorID as _0x3d4998,LocalUndoRedoService as _0x3d3d3f,IContextService as _0x14b66c,DependentOn as _0x1f376d,Plugin as _0x4a8746,merge as _0x30dea7,mergeOverrideWithDependencies as _0x5cc703,IMentionIOService as _0x558bc0,registerDependencies as _0x1e2b75,Quantity as _0x464962,touchDependencies as _0x35e037}from'@univerjs/core';import{Subject as _0x177b7c,merge as _0x3c049a,of as _0x437847,BehaviorSubject as _0x549626,takeUntil as _0x11cdca,ReplaySubject as _0x2518fb,take as _0x363074,map as _0x11e3a6,shareReplay as _0x4322be,firstValueFrom as _0xe4ea83,concatMap as _0x419e8d}from'rxjs';import{map as _0x56d39f,take as _0x1ea56c,filter as _0x21f3f7,delay as _0x5d8334,takeUntil as _0x3b0755}from'rxjs/operators';import{HTTPService as _0xb59977,ISocketService as _0x5bf372,MergeInterceptorFactory as _0x3f482b,HTTPRequest as _0x2c6783,UniverNetworkPlugin as _0x1991ae,ThresholdInterceptorFactory as _0x3fd5fa}from'@univerjs/network';import{CollaborationEvent as _0x193471,parseChangesetToProtocol as _0x3d9e14,ISnapshotServerService as _0x1f97a7,isTransformMutationsWithChangesetSuccess as _0xc28b50,ITransformService as _0x3b94b2,mapDocumentTypeToUniverType as _0x210266,RevisionService as _0x2cf9a7,isTransformChangesetsSuccess as _0x5acf48,CompressMutationService as _0x1acbd5,parseProtocolChangeset as _0x5ad85b,SnapshotService as _0x244a9c,textEncoder as _0x139e4c,b64DecodeUnicode as _0x1c4b10,isTransformMutationsWithChangesetFailure as _0x6d2b0b,UniverCollaborationPlugin as _0x25cd67}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x3b54c3}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x1c2dc8}from'@univerjs/docs';import{SheetsSelectionsService as _0x25e57f,SetSelectionsOperation as _0x347785,InsertSheetMutation as _0x52e6dc,EmptyMutation as _0x2de45e,WorkbookEditablePermission as _0x24cf62,SheetPermissionInitController as _0x3288c5,UniverSheetsPlugin as _0x2b601d}from'@univerjs/sheets';import{ImageSourceType as _0x46ff9b,ImageUploadStatusType as _0x520d0c,IImageIoService as _0x181382}from'@univerjs/drawing';import{getGlobalObject as _0x2b87b1}from'@univerjs-pro/license';const En=_0x5152c2(0x3b3),In='/universer-api/snapshot',Tn=_0x5152c2(0x300),eo=_0x5152c2(0x3db),Cn=0x7d0,Rn=_0x5152c2(0x486),bn=_0x5152c2(0x450),On='/universer-api/user/session-ticket',yn=_0x5152c2(0x296),Nn=0x7530,Si=_0x5152c2(0x2fa),Ei=0x4e20,Dn=0x4e20,Pn=_0x5152c2(0x43a),wn=0x3,to=_0x5152c2(0x20a),io=0x3e8,Un=_0x5152c2(0x4b2),An='/universer-api/comb',xn=_0x5152c2(0x41c),Ln=_0x5152c2(0x320),no=_0x5152c2(0x45b),ro=_0x5152c2(0x238);var Ii=(_0x322ca2=>(_0x322ca2[_0x322ca2[_0x5152c2(0x1c9)]=0x0]='UNDEFINED',_0x322ca2[_0x322ca2['OK']=0x1]='OK',_0x322ca2[_0x322ca2[_0x5152c2(0x281)]=0x2]=_0x5152c2(0x281),_0x322ca2[_0x322ca2[_0x5152c2(0x398)]=0x3]=_0x5152c2(0x398),_0x322ca2[_0x322ca2[_0x5152c2(0x2a4)]=0x4]=_0x5152c2(0x2a4),_0x322ca2[_0x322ca2[_0x5152c2(0x3f0)]=0x5]=_0x5152c2(0x3f0),_0x322ca2[_0x322ca2[_0x5152c2(0x22e)]=0x6]='ALREADY_EXISTS',_0x322ca2[_0x322ca2['INVALID_ARGUMENT']=0x7]=_0x5152c2(0x36d),_0x322ca2[_0x322ca2[_0x5152c2(0x3c9)]=0x8]=_0x5152c2(0x3c9),_0x322ca2[_0x322ca2['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x322ca2[_0x322ca2['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x5152c2(0x316),_0x322ca2[_0x322ca2[_0x5152c2(0x3e2)]=0x1771]=_0x5152c2(0x3e2),_0x322ca2[_0x322ca2[_0x5152c2(0x1bc)]=0x1772]=_0x5152c2(0x1bc),_0x322ca2[_0x322ca2[_0x5152c2(0x466)]=0x1773]=_0x5152c2(0x466),_0x322ca2[_0x322ca2['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x322ca2[_0x322ca2[_0x5152c2(0x244)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x322ca2[_0x322ca2[_0x5152c2(0x1e9)]=0x1b5b]=_0x5152c2(0x1e9),_0x322ca2[_0x322ca2[_0x5152c2(0x3fe)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x322ca2[_0x322ca2['APPLY_DUPLICATED']=0x1b5d]=_0x5152c2(0x211),_0x322ca2[_0x322ca2[_0x5152c2(0x309)]=0x1f41]=_0x5152c2(0x309),_0x322ca2[_0x322ca2[_0x5152c2(0x203)]=0x2329]=_0x5152c2(0x203),_0x322ca2[_0x322ca2[_0x5152c2(0x239)]=0x232a]=_0x5152c2(0x239),_0x322ca2[_0x322ca2[_0x5152c2(0x467)]=0x232b]=_0x5152c2(0x467),_0x322ca2[_0x322ca2[_0x5152c2(0x20e)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x322ca2[_0x322ca2['LICENSE_DISTRO_REJECTED']=0x232d]=_0x5152c2(0x329),_0x322ca2[_0x322ca2[_0x5152c2(0x361)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x322ca2[_0x322ca2[_0x5152c2(0x295)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x322ca2[_0x322ca2['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5152c2(0x30a),_0x322ca2[_0x322ca2[_0x5152c2(0x43e)]=0x2714]=_0x5152c2(0x43e),_0x322ca2[_0x322ca2[_0x5152c2(0x494)]=0x2af9]=_0x5152c2(0x494),_0x322ca2[_0x322ca2[_0x5152c2(0x483)]=-0x1]='UNRECOGNIZED',_0x322ca2))(Ii||{}),Q=(_0x179071=>(_0x179071[_0x179071[_0x5152c2(0x4b4)]=0x0]=_0x5152c2(0x4b4),_0x179071[_0x179071[_0x5152c2(0x465)]=0x1]=_0x5152c2(0x465),_0x179071[_0x179071[_0x5152c2(0x332)]=0x2]=_0x5152c2(0x332),_0x179071[_0x179071[_0x5152c2(0x324)]=0x3]=_0x5152c2(0x324),_0x179071[_0x179071[_0x5152c2(0x344)]=0x4]='UNIVER_PROJECT',_0x179071[_0x179071[_0x5152c2(0x483)]=-0x1]=_0x5152c2(0x483),_0x179071))(Q||{}),F=(_0x1419d9=>(_0x1419d9[_0x1419d9['UNKNOWN_CMD']=0x0]=_0x5152c2(0x3d0),_0x1419d9[_0x1419d9[_0x5152c2(0x42f)]=0x1]=_0x5152c2(0x42f),_0x1419d9[_0x1419d9[_0x5152c2(0x277)]=0x2]='JOIN',_0x1419d9[_0x1419d9[_0x5152c2(0x27e)]=0x3]=_0x5152c2(0x27e),_0x1419d9[_0x1419d9[_0x5152c2(0x432)]=0x4]='INGEST',_0x1419d9[_0x1419d9['HEARTBEAT']=0x5]=_0x5152c2(0x2f4),_0x1419d9[_0x1419d9[_0x5152c2(0x395)]=0x6]='RECV',_0x1419d9[_0x1419d9[_0x5152c2(0x483)]=-0x1]=_0x5152c2(0x483),_0x1419d9))(F||{}),Ee=(_0x38940d=>(_0x38940d[_0x38940d['UNKNOWN_CODE']=0x0]=_0x5152c2(0x491),_0x38940d[_0x38940d['OK']=0x1]='OK',_0x38940d[_0x38940d['FAIL']=0x2]=_0x5152c2(0x3f6),_0x38940d[_0x38940d[_0x5152c2(0x478)]=0x3e9]=_0x5152c2(0x478),_0x38940d[_0x38940d['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x38940d[_0x38940d[_0x5152c2(0x3e0)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x38940d[_0x38940d['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x38940d[_0x38940d[_0x5152c2(0x483)]=-0x1]=_0x5152c2(0x483),_0x38940d))(Ee||{}),Ti=(_0x1510cb=>(_0x1510cb[_0x1510cb[_0x5152c2(0x267)]=0x0]=_0x5152c2(0x267),_0x1510cb[_0x1510cb[_0x5152c2(0x358)]=0x1]=_0x5152c2(0x358),_0x1510cb[_0x1510cb[_0x5152c2(0x396)]=0x2]='HttpExport',_0x1510cb[_0x1510cb['UnitEmbedded']=0x3]=_0x5152c2(0x4ac),_0x1510cb[_0x1510cb[_0x5152c2(0x205)]=0x4]=_0x5152c2(0x205),_0x1510cb[_0x1510cb[_0x5152c2(0x483)]=-0x1]=_0x5152c2(0x483),_0x1510cb))(Ti||{});const q=_0x5152c2(0x49e),Wt={};var se=(_0x3e6273=>(_0x3e6273[_0x5152c2(0x1b7)]='OTHER_CLIENT_EDITING',_0x3e6273[_0x5152c2(0x398)]=_0x5152c2(0x398),_0x3e6273[_0x5152c2(0x311)]=_0x5152c2(0x311),_0x3e6273[_0x5152c2(0x216)]=_0x5152c2(0x216),_0x3e6273['JOIN_ROOM_FAILED']=_0x5152c2(0x354),_0x3e6273[_0x5152c2(0x2c8)]=_0x5152c2(0x2c8),_0x3e6273[_0x5152c2(0x280)]=_0x5152c2(0x280),_0x3e6273[_0x5152c2(0x459)]=_0x5152c2(0x459),_0x3e6273))(se||{});class pe{constructor(){var _0x527288=_0x5152c2;N(this,_0x527288(0x35d),new _0x177b7c()),N(this,_0x527288(0x42a),this['_event$'][_0x527288(0x377)]());}['emitEvent'](_0x4a2dcc){var _0x3ebc95=_0x5152c2;this[_0x3ebc95(0x35d)][_0x3ebc95(0x2d8)](_0x4a2dcc);}}const Mn=_0x2cae79(_0x5152c2(0x3c0));function $n(_0x1cf921){var _0x4d31d2=_0x5152c2,_0x1df8d7,_0x5031e5,_0x5e7997,_0x4e14c2,_0x5f284e;const _0x4fa361=_0x1cf921[_0x4d31d2(0x446)],_0x14ef5c=JSON[_0x4d31d2(0x41e)](_0x4fa361);switch(_0x14ef5c[_0x4d31d2(0x25f)]){case F[_0x4d31d2(0x2f4)]:case F[_0x4d31d2(0x42f)]:{const _0x2a77e0=_0x14ef5c[_0x4d31d2(0x2b4)];return{..._0x14ef5c,'data':_0x2a77e0,'cmd':_0x14ef5c[_0x4d31d2(0x25f)]};}case F[_0x4d31d2(0x277)]:{const _0xf389a8=_0x14ef5c[_0x4d31d2(0x349)];return{..._0x14ef5c,'data':_0xf389a8,'cmd':_0x14ef5c[_0x4d31d2(0x25f)]};}case F[_0x4d31d2(0x395)]:{const _0x507eeb=_0x14ef5c[_0x4d31d2(0x1db)];switch(_0x507eeb[_0x4d31d2(0x434)]){case _0x193471['PERMISSION_REJ']:return{..._0x14ef5c,'data':{..._0x507eeb,'data':(_0x1df8d7=_0x507eeb[_0x4d31d2(0x404)])==null?void 0x0:_0x1df8d7['cs']},'cmd':_0x14ef5c[_0x4d31d2(0x25f)]};case _0x193471[_0x4d31d2(0x495)]:return{..._0x14ef5c,'data':{..._0x507eeb,'data':(_0x5031e5=_0x507eeb[_0x4d31d2(0x1c3)])==null?void 0x0:_0x5031e5['cs']},'cmd':_0x14ef5c[_0x4d31d2(0x25f)]};case _0x193471[_0x4d31d2(0x2a1)]:return{..._0x14ef5c,'data':{..._0x507eeb,'data':(_0x5e7997=_0x507eeb[_0x4d31d2(0x240)])==null?void 0x0:_0x5e7997['cs']},'cmd':_0x14ef5c['cmd']};case _0x193471[_0x4d31d2(0x201)]:return{..._0x14ef5c,'data':{..._0x507eeb,'data':(_0x4e14c2=_0x507eeb[_0x4d31d2(0x2e9)])==null?void 0x0:_0x4e14c2['cs']},'cmd':_0x14ef5c['cmd']};case _0x193471[_0x4d31d2(0x242)]:return{..._0x14ef5c,'data':{..._0x507eeb,'data':(_0x5f284e=_0x507eeb[_0x4d31d2(0x452)])==null?void 0x0:_0x5f284e['cs']},'cmd':_0x14ef5c[_0x4d31d2(0x25f)]};case _0x193471['UPDATE_CURSOR']:return{..._0x14ef5c,'data':{..._0x507eeb,'data':_0x507eeb[_0x4d31d2(0x47f)]},'cmd':_0x14ef5c[_0x4d31d2(0x25f)]};case _0x193471['USERS_ENTER']:return{..._0x14ef5c,'data':{..._0x507eeb,'data':_0x507eeb[_0x4d31d2(0x1ff)]},'cmd':_0x14ef5c['cmd']};case _0x193471[_0x4d31d2(0x234)]:return{..._0x14ef5c,'data':{..._0x507eeb,'data':_0x507eeb[_0x4d31d2(0x30f)]},'cmd':_0x14ef5c[_0x4d31d2(0x25f)]};case _0x193471['LIVESHARE_NEW_HOST']:return{..._0x14ef5c,'data':{..._0x507eeb,'data':_0x507eeb[_0x4d31d2(0x3e3)]},'cmd':_0x14ef5c[_0x4d31d2(0x25f)]};case _0x193471[_0x4d31d2(0x1c6)]:case _0x193471[_0x4d31d2(0x213)]:return{..._0x14ef5c,'data':{..._0x507eeb,'data':_0x507eeb['liveShareOperation']},'cmd':_0x14ef5c[_0x4d31d2(0x25f)]};case _0x193471['LIVESHARE_TERMINATE']:return{..._0x14ef5c,'data':{..._0x507eeb,'data':_0x507eeb[_0x4d31d2(0x3e3)]},'cmd':_0x14ef5c[_0x4d31d2(0x25f)]};case _0x193471[_0x4d31d2(0x373)]:return{..._0x14ef5c,'data':_0x507eeb,'cmd':_0x14ef5c[_0x4d31d2(0x25f)]};case _0x193471[_0x4d31d2(0x1f0)]:return{..._0x14ef5c,'data':{..._0x507eeb,'data':_0x507eeb['commentUpdateEvent']},'cmd':_0x14ef5c['cmd']};case _0x193471[_0x4d31d2(0x303)]:return{..._0x14ef5c,'data':{..._0x507eeb,'data':_0x507eeb['updatePermissionObjEvent']},'cmd':_0x14ef5c[_0x4d31d2(0x25f)]};case _0x193471['SHOULD_CLOSE_CONN']:return{..._0x14ef5c,'data':{..._0x507eeb,'data':_0x507eeb[_0x4d31d2(0x487)]},'cmd':_0x14ef5c[_0x4d31d2(0x25f)]};case _0x193471[_0x4d31d2(0x35e)]:return{..._0x14ef5c,'data':{..._0x507eeb,'data':_0x507eeb[_0x4d31d2(0x1e7)]},'cmd':_0x14ef5c['cmd']};default:return _0x14ef5c;}}default:return _0x14ef5c;}}function Hn(_0xe85179){var _0xf02512=_0x5152c2;switch(_0xe85179[_0xf02512(0x25f)]){case F[_0xf02512(0x2f4)]:case F[_0xf02512(0x42f)]:return JSON[_0xf02512(0x45a)]({'cmd':_0xe85179[_0xf02512(0x25f)],'routeKey':_0xe85179['routeKey']});case F['INGEST']:{let _0x4d4e3f;switch(_0xe85179['data']['eventID']){case _0x193471[_0xf02512(0x262)]:{_0x4d4e3f={'eventID':_0x193471[_0xf02512(0x262)],'updateCursorEvent':_0xe85179['data'][_0xf02512(0x446)]};break;}case _0x193471[_0xf02512(0x234)]:{_0x4d4e3f={'eventID':_0x193471[_0xf02512(0x234)],'leaveEvent':_0xe85179['data'][_0xf02512(0x446)]};break;}case _0x193471[_0xf02512(0x2c1)]:{_0x4d4e3f={'eventID':_0x193471[_0xf02512(0x2c1)],'joinEvent':_0xe85179[_0xf02512(0x446)][_0xf02512(0x446)]};break;}case _0x193471[_0xf02512(0x34d)]:{_0x4d4e3f={'eventID':_0x193471[_0xf02512(0x34d)],'liveShareNewHost':_0xe85179['data'][_0xf02512(0x446)]};break;}case _0x193471['LIVESHARE_OPERATION']:{_0x4d4e3f={'eventID':_0x193471[_0xf02512(0x213)],'liveShareOperation':_0xe85179['data']['data']};break;}case _0x193471[_0xf02512(0x3b9)]:{_0x4d4e3f={'eventID':_0x193471[_0xf02512(0x3b9)],'liveShareTerminate':_0xe85179[_0xf02512(0x446)][_0xf02512(0x446)]};break;}case _0x193471[_0xf02512(0x2c0)]:{_0x4d4e3f={'eventID':_0x193471[_0xf02512(0x2c0)],'liveShareRequestHost':_0xe85179[_0xf02512(0x446)]['data']};break;}case _0x193471[_0xf02512(0x1c6)]:{_0x4d4e3f={'eventID':_0x193471[_0xf02512(0x1c6)]};break;}default:_0x4d4e3f={'eventID':_0xe85179[_0xf02512(0x446)][_0xf02512(0x434)]};}return JSON[_0xf02512(0x45a)]({'cmd':_0xe85179[_0xf02512(0x25f)],'routeKey':_0xe85179[_0xf02512(0x2dd)],'collaMsg':_0x4d4e3f});}case F[_0xf02512(0x277)]:return JSON[_0xf02512(0x45a)]({'cmd':_0xe85179['cmd'],'routeKey':_0xe85179[_0xf02512(0x2dd)],'joinReq':_0xe85179[_0xf02512(0x446)]});case F[_0xf02512(0x27e)]:return JSON[_0xf02512(0x45a)]({'cmd':_0xe85179[_0xf02512(0x25f)],'routeKey':_0xe85179[_0xf02512(0x2dd)],'leaveReq':_0xe85179[_0xf02512(0x446)]});default:throw new Error(_0xf02512(0x330));}}var kn=Object['defineProperty'],jn=Object[_0x5152c2(0x37e)],Bn=(_0x569a56,_0x4378ab,_0x4a6606,_0x35c1a0)=>{var _0x99ef1c=_0x5152c2;for(var _0x5e568c=_0x35c1a0>0x1?void 0x0:_0x35c1a0?jn(_0x4378ab,_0x4a6606):_0x4378ab,_0x4dba64=_0x569a56[_0x99ef1c(0x445)]-0x1,_0xdd2c75;_0x4dba64>=0x0;_0x4dba64--)(_0xdd2c75=_0x569a56[_0x4dba64])&&(_0x5e568c=(_0x35c1a0?_0xdd2c75(_0x4378ab,_0x4a6606,_0x5e568c):_0xdd2c75(_0x5e568c))||_0x5e568c);return _0x35c1a0&&_0x5e568c&&kn(_0x4378ab,_0x4a6606,_0x5e568c),_0x5e568c;},Ue=(_0x4a6fc1,_0xc9b768)=>(_0x348491,_0x139554)=>_0xc9b768(_0x348491,_0x139554,_0x4a6fc1);const Ci=_0x2cae79(_0x5152c2(0x29e));function Fn(_0xa1c2b1,_0x1a00ad,_0x42ff7e){var _0x467985=_0x5152c2;return _0xa1c2b1+'/'+_0x1a00ad+'/unit/'+_0x42ff7e+_0x467985(0x3ce);}let Et=class extends _0x319548{constructor(_0x496970,_0x45a547,_0x3da88e,_0x1d294c,_0x3d385f){var _0x3d0aae=_0x5152c2;super(),this[_0x3d0aae(0x3b2)]=_0x496970,this['_http']=_0x45a547,this[_0x3d0aae(0x3f9)]=_0x3da88e,this[_0x3d0aae(0x412)]=_0x1d294c,this[_0x3d0aae(0x400)]=_0x3d385f;}[_0x5152c2(0x40a)](_0x4280a6){var _0x3097e7=_0x5152c2;const _0x40bd75=this[_0x3097e7(0x3b2)][_0x3097e7(0x3fb)](_0x5bf372);if(!_0x40bd75)throw new Error(_0x3097e7(0x31a));const _0xc512ab=_0x40bd75[_0x3097e7(0x40a)](_0x4280a6);if(!_0xc512ab)throw new Error(_0x3097e7(0x3de));const _0x30c243=new _0x1528d6(),_0x447af5=new _0x177b7c();_0x30c243['add'](_0xc512ab[_0x3097e7(0x4a0)][_0x3097e7(0x3e9)](_0x93128f=>_0x447af5[_0x3097e7(0x2d8)](_0x93128f))),_0x30c243[_0x3097e7(0x433)](_0x38be0e(()=>_0x447af5[_0x3097e7(0x365)]()));const _0xfcc0e7=new _0x177b7c();_0x30c243['add'](_0xc512ab[_0x3097e7(0x22c)][_0x3097e7(0x3e9)](_0x6768ca=>_0xfcc0e7['next'](_0x6768ca))),_0x30c243[_0x3097e7(0x433)](_0x38be0e(()=>_0xfcc0e7[_0x3097e7(0x365)]()));const _0x11b32a=new _0x177b7c();_0x30c243[_0x3097e7(0x433)](_0xc512ab[_0x3097e7(0x305)]['subscribe'](_0x501c02=>{var _0x186dc7=_0x3097e7;const _0x50d4cd=$n(_0x501c02);_0x11b32a[_0x186dc7(0x2d8)](_0x50d4cd);})),_0x30c243[_0x3097e7(0x433)](_0x38be0e(()=>_0x11b32a[_0x3097e7(0x365)]()));let _0x505e82;const _0x5adcdc=()=>{var _0x33314d=_0x3097e7;_0xfcc0e7['next'](new Event(_0x33314d(0x21e))),_0x447af5[_0x33314d(0x2d8)](new CloseEvent(_0x33314d(0x21e))),_0x505e82[_0x33314d(0x1cf)]();};return _0x505e82={'memberID':'','close$':_0x447af5[_0x3097e7(0x377)](),'error$':_0xfcc0e7[_0x3097e7(0x377)](),'open$':_0xc512ab[_0x3097e7(0x34e)],'message$':_0x11b32a['asObservable'](),'send':_0x2a04ed=>{var _0x21eecc=_0x3097e7;if(_0x2a04ed['cmd']===F['INGEST']){if(_0x2a04ed[_0x21eecc(0x446)][_0x21eecc(0x434)]===_0x193471[_0x21eecc(0x1bf)]){this[_0x21eecc(0x4b3)](_0x505e82,_0x2a04ed[_0x21eecc(0x446)])['catch'](_0x2f52d4=>{var _0xf8f4ec=_0x21eecc;this[_0xf8f4ec(0x412)]['error'](_0x2f52d4),_0x5adcdc();});return;}if(_0x2a04ed[_0x21eecc(0x446)][_0x21eecc(0x434)]===_0x193471[_0x21eecc(0x1e2)]){const _0x39f705=_0x2a04ed[_0x21eecc(0x446)];this['_fetchMissChangesets'](_0x39f705)[_0x21eecc(0x325)](_0x13fca3=>{var _0xb6ebc6=_0x21eecc;_0x11b32a[_0xb6ebc6(0x2d8)]({'cmd':F[_0xb6ebc6(0x395)],'code':Ee['OK'],'routeKey':_0x39f705[_0xb6ebc6(0x446)][_0xb6ebc6(0x2f5)],'routeType':'','data':{'eventID':_0x193471[_0xb6ebc6(0x2d9)],'data':{'changesets':_0x13fca3}}});})[_0x21eecc(0x27c)](_0x4fa3d0=>{var _0x309e31=_0x21eecc;this[_0x309e31(0x412)][_0x309e31(0x3f5)](_0x4fa3d0),_0x5adcdc();});return;}}_0xc512ab['send'](Hn(_0x2a04ed));},'close':()=>{var _0x500ab8=_0x3097e7;_0xc512ab[_0x500ab8(0x1cf)](),_0x30c243[_0x500ab8(0x457)]();}},_0x505e82;}async['_submitChangeset'](_0x33fc7d,_0x254f96){var _0x2a48e0=_0x5152c2,_0x35607c,_0x535244;const {unitType:_0x2efb35,unitID:_0x23b632,changeset:_0x2b7604}=_0x254f96[_0x2a48e0(0x446)],_0x158e73={'unitID':_0x23b632,'memberID':_0x33fc7d[_0x2a48e0(0x31f)],'type':_0x2efb35,'changeset':_0x3d9e14(_0x2b7604)},_0x28c79b=this[_0x2a48e0(0x3f9)][_0x2a48e0(0x4a9)](Un),_0x32f060=this['_configService'][_0x2a48e0(0x4a9)](q),_0x465623=Fn((_0x535244=(_0x35607c=_0x32f060==null?void 0x0:_0x32f060[_0x2a48e0(0x3aa)])!=null?_0x35607c:_0x28c79b)!=null?_0x535244:An,_0x2efb35,_0x23b632);try{await this[_0x2a48e0(0x23a)]['post'](_0x465623,{'body':_0x158e73});}catch(_0x366a91){throw this[_0x2a48e0(0x412)]['error'](_0x2a48e0(0x436),_0x2a48e0(0x2e1)),_0x366a91;}}async[_0x5152c2(0x1b9)](_0x4d2ec4){var _0x5364f7=_0x5152c2;const {unitID:_0x371683,from:_0x469def,to:_0xdbc9f4,unitType:_0xb0acf4}=_0x4d2ec4[_0x5364f7(0x446)];return(await this[_0x5364f7(0x400)][_0x5364f7(0x257)]({'metadata':void 0x0},{'unitID':_0x371683,'type':_0xb0acf4,'from':_0x469def,'to':_0xdbc9f4}))[_0x5364f7(0x29a)];}};Et=Bn([Ue(0x0,_0x49608f(_0x231a09)),Ue(0x1,_0x49608f(_0xb59977)),Ue(0x2,_0x398800),Ue(0x3,_0xff0f44),Ue(0x4,_0x1f97a7)],Et);const Vn=_0x5152c2(0x2ab);function Gn(_0x3cb503){var _0xd5e393=_0x5152c2;return JSON[_0xd5e393(0x45a)](_0x3cb503)[_0xd5e393(0x445)];}class Ri{constructor(){var _0x46fb9f=_0x5152c2;N(this,_0x46fb9f(0x35f),new _0x177b7c()),N(this,_0x46fb9f(0x394),this[_0x46fb9f(0x35f)][_0x46fb9f(0x377)]());}[_0x5152c2(0x1b8)](_0x41a7ee){var _0x375c8a=_0x5152c2;this[_0x375c8a(0x35f)]['next'](_0x41a7ee);}}var Wn=Object[_0x5152c2(0x490)],Kn=Object[_0x5152c2(0x37e)],Yn=(_0x54c651,_0x289260,_0x56cdf4,_0x4ec5d5)=>{var _0x3b468f=_0x5152c2;for(var _0x553a01=_0x4ec5d5>0x1?void 0x0:_0x4ec5d5?Kn(_0x289260,_0x56cdf4):_0x289260,_0x3daa36=_0x54c651[_0x3b468f(0x445)]-0x1,_0x8cfdff;_0x3daa36>=0x0;_0x3daa36--)(_0x8cfdff=_0x54c651[_0x3daa36])&&(_0x553a01=(_0x4ec5d5?_0x8cfdff(_0x289260,_0x56cdf4,_0x553a01):_0x8cfdff(_0x553a01))||_0x553a01);return _0x4ec5d5&&_0x553a01&&Wn(_0x289260,_0x56cdf4,_0x553a01),_0x553a01;},Kt=(_0x496495,_0x456f6f)=>(_0x4dd564,_0x2f0759)=>_0x456f6f(_0x4dd564,_0x2f0759,_0x496495);let xe=class extends _0x319548{constructor(_0x1567a2,_0x15806e){var _0x5e2be7=_0x5152c2;super(),N(this,_0x5e2be7(0x1ee),new Map()),N(this,_0x5e2be7(0x453),new _0x177b7c()),(this[_0x5e2be7(0x30c)]=_0x1567a2,this['_userManagerService']=_0x15806e,this[_0x5e2be7(0x315)](_0x3c049a(this[_0x5e2be7(0x30c)][_0x5e2be7(0x49c)](_0x3502ae[_0x5e2be7(0x332)])['pipe'](_0x56d39f(_0x572ca6=>_0x572ca6[_0x5e2be7(0x288)]())),this['_univerInstanceService'][_0x5e2be7(0x49c)](_0x3502ae[_0x5e2be7(0x465)])[_0x5e2be7(0x1ec)](_0x56d39f(_0x2df343=>_0x2df343[_0x5e2be7(0x288)]())),this['_univerInstanceService'][_0x5e2be7(0x49c)](_0x3502ae[_0x5e2be7(0x324)])[_0x5e2be7(0x1ec)](_0x56d39f(_0x10858e=>_0x10858e[_0x5e2be7(0x288)]())))['subscribe'](_0x5d3c1c=>this[_0x5e2be7(0x209)](_0x5d3c1c))));}[_0x5152c2(0x2e5)](_0x2ddf8b){var _0x111e0b=_0x5152c2;return this[_0x111e0b(0x1ee)]['has'](_0x2ddf8b)?_0x437847(this[_0x111e0b(0x1ee)]['get'](_0x2ddf8b)):this[_0x111e0b(0x453)][_0x111e0b(0x1ec)](_0x56d39f(_0x37b7b2=>{var _0x1864ab=_0x111e0b;if(_0x37b7b2===_0x2ddf8b)return this[_0x1864ab(0x1ee)][_0x1864ab(0x3fb)](_0x37b7b2);}));}['setCurrentUser'](_0xcb8327){var _0x27d134=_0x5152c2;this[_0x27d134(0x4a5)][_0x27d134(0x40b)](_0xcb8327);}['getCurrentUser'](){var _0x4acc40=_0x5152c2;return this[_0x4acc40(0x4a5)][_0x4acc40(0x3e7)]();}['updateMember'](_0x367a36,_0x2eadc7){var _0xc86508=_0x5152c2;let _0xb57e0a=this['_roomMembers'][_0xc86508(0x3fb)](_0x367a36);_0xb57e0a||(_0xb57e0a=new qn(),this[_0xc86508(0x1ee)][_0xc86508(0x498)](_0x367a36,_0xb57e0a),this[_0xc86508(0x453)][_0xc86508(0x2d8)](_0x367a36)),_0xb57e0a[_0xc86508(0x28c)](_0x2eadc7);}[_0x5152c2(0x30d)](_0x108d3d,_0x4f04e4){var _0x866176=_0x5152c2;const _0x5f5a89=this[_0x866176(0x1ee)][_0x866176(0x3fb)](_0x108d3d);_0x5f5a89&&_0x5f5a89[_0x866176(0x30d)](_0x4f04e4);}['getRoom'](_0x27ef8d){var _0x3455ea=_0x5152c2;return this[_0x3455ea(0x1ee)]['get'](_0x27ef8d);}['getMember'](_0x455e41,_0x42853f){var _0x76aa4a=_0x5152c2;const _0x58b8d7=this[_0x76aa4a(0x1ee)][_0x76aa4a(0x3fb)](_0x455e41);if(_0x58b8d7)return _0x58b8d7['getMember'](_0x42853f);}[_0x5152c2(0x209)](_0x188c48){var _0x4fb995=_0x5152c2;const _0x5c348b=this[_0x4fb995(0x1ee)][_0x4fb995(0x3fb)](_0x188c48);_0x5c348b&&(_0x5c348b['dispose'](),this['_roomMembers'][_0x4fb995(0x2fc)](_0x188c48));}[_0x5152c2(0x457)](){var _0x470996=_0x5152c2;this[_0x470996(0x1ee)]['forEach'](_0x2698a0=>_0x2698a0[_0x470996(0x457)]()),this[_0x470996(0x1ee)][_0x470996(0x217)](),this[_0x470996(0x453)][_0x470996(0x365)]();}};xe=Yn([Kt(0x0,_0x1eeb0a),Kt(0x1,_0x49608f(_0xb6353))],xe);class qn extends _0x319548{constructor(){var _0x11d327=_0x5152c2;super(...arguments),N(this,_0x11d327(0x36e),new Map()),N(this,_0x11d327(0x33a),new _0x549626(this[_0x11d327(0x36e)])),N(this,_0x11d327(0x1f6),this[_0x11d327(0x33a)]['asObservable']());}['dispose'](){var _0x5a6268=_0x5152c2;this[_0x5a6268(0x36e)][_0x5a6268(0x217)]();}[_0x5152c2(0x28c)](_0x3001fe){var _0x414ec9=_0x5152c2;this[_0x414ec9(0x36e)][_0x414ec9(0x498)](_0x3001fe[_0x414ec9(0x31f)],_0x3001fe),this['_emitMembers']();}[_0x5152c2(0x30d)](_0x199d0a){var _0x45006f=_0x5152c2;this['_members'][_0x45006f(0x2fc)](_0x199d0a);}[_0x5152c2(0x47d)](_0x36a387){var _0x4c8f73=_0x5152c2;return this['_members'][_0x4c8f73(0x3fb)](_0x36a387);}[_0x5152c2(0x359)](){var _0x44c660=_0x5152c2;return Array['from'](this[_0x44c660(0x36e)][_0x44c660(0x3bf)]());}['_emitMembers'](){var _0x29ca4d=_0x5152c2;this[_0x29ca4d(0x33a)][_0x29ca4d(0x2d8)](this['_members']);}}var zn=Object[_0x5152c2(0x490)],Jn=Object['getOwnPropertyDescriptor'],Xn=(_0x449683,_0x31d165,_0xad9a11,_0x39b975)=>{var _0x2df860=_0x5152c2;for(var _0x1e1692=_0x39b975>0x1?void 0x0:_0x39b975?Jn(_0x31d165,_0xad9a11):_0x31d165,_0x53c482=_0x449683[_0x2df860(0x445)]-0x1,_0x54424a;_0x53c482>=0x0;_0x53c482--)(_0x54424a=_0x449683[_0x53c482])&&(_0x1e1692=(_0x39b975?_0x54424a(_0x31d165,_0xad9a11,_0x1e1692):_0x54424a(_0x1e1692))||_0x1e1692);return _0x39b975&&_0x1e1692&&zn(_0x31d165,_0xad9a11,_0x1e1692),_0x1e1692;},me=(_0x5aa487,_0x46c9c0)=>(_0x5a62b7,_0x5de604)=>_0x46c9c0(_0x5a62b7,_0x5de604,_0x5aa487),Te=(_0x20cd97=>(_0x20cd97[_0x20cd97[_0x5152c2(0x224)]=0x0]='IDLE',_0x20cd97[_0x20cd97['JOINING']=0x1]=_0x5152c2(0x21f),_0x20cd97[_0x20cd97[_0x5152c2(0x49a)]=0x2]='OFFLINE',_0x20cd97[_0x20cd97[_0x5152c2(0x302)]=0x3]=_0x5152c2(0x302),_0x20cd97))(Te||{});const Yt={[Ee[_0x5152c2(0x3f6)]]:_0x5152c2(0x499),[Ee[_0x5152c2(0x478)]]:_0x5152c2(0x3dd),[Ee[_0x5152c2(0x3cf)]]:_0x5152c2(0x1eb),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x5152c2(0x1b4),[Ee[_0x5152c2(0x256)]]:'session.room-cnt-exceeds'};let It=class extends _0x6a3296{constructor(_0xb2232a,_0x1e00d7,_0x593b5e,_0x339243,_0x265533,_0x113a6f,_0x24e83f,_0x1054dd,_0x24ca54){var _0x11d71a=_0x5152c2;super(),N(this,_0x11d71a(0x24f),new _0x549626(0x0)),N(this,_0x11d71a(0x29d),this[_0x11d71a(0x24f)][_0x11d71a(0x377)]()),N(this,_0x11d71a(0x35d),new _0x177b7c()),N(this,_0x11d71a(0x42a),this[_0x11d71a(0x35d)][_0x11d71a(0x377)]()),N(this,'_socket'),N(this,_0x11d71a(0x369)),N(this,_0x11d71a(0x3d6)),N(this,_0x11d71a(0x221),!0x1),N(this,'_telemetryInfo',null),(this[_0x11d71a(0x27a)]=_0xb2232a,this[_0x11d71a(0x412)]=_0x593b5e,this[_0x11d71a(0x3f9)]=_0x339243,this[_0x11d71a(0x25e)]=_0x265533,this[_0x11d71a(0x291)]=_0x113a6f,this[_0x11d71a(0x301)]=_0x24e83f,this['_collaborationUIEventService']=_0x1054dd,this[_0x11d71a(0x26d)]=_0x24ca54,this[_0x11d71a(0x221)]=!!this[_0x11d71a(0x26d)],_0x1e00d7[_0x11d71a(0x1ec)](_0x11cdca(this[_0x11d71a(0x3c6)]))[_0x11d71a(0x3e9)](_0x5bcaf0=>{var _0x40f18a=_0x11d71a,_0x43c557;typeof _0x5bcaf0>'u'||(this[_0x40f18a(0x1ed)]=_0x5bcaf0,_0x5bcaf0?(this[_0x40f18a(0x2aa)](_0x5bcaf0),this['_socketMessageSubscription']=_0x5bcaf0[_0x40f18a(0x305)][_0x40f18a(0x3e9)](_0x1f4cf1=>{var _0x47cf32=_0x40f18a;_0x1f4cf1[_0x47cf32(0x2dd)]===this[_0x47cf32(0x27a)]&&this[_0x47cf32(0x4bc)](_0x1f4cf1);})):(this[_0x40f18a(0x440)](),this[_0x40f18a(0x24f)][_0x40f18a(0x2d8)](0x2),(_0x43c557=this[_0x40f18a(0x369)])==null||_0x43c557[_0x40f18a(0x1e1)](),this[_0x40f18a(0x369)]=null));}));}get[_0x5152c2(0x274)](){var _0x2dc6ee=_0x5152c2;return this[_0x2dc6ee(0x24f)][_0x2dc6ee(0x481)]();}[_0x5152c2(0x333)](){var _0x27dd0b=_0x5152c2,_0x5a995c,_0x4f93ee;return(_0x4f93ee=(_0x5a995c=this[_0x27dd0b(0x1ed)])==null?void 0x0:_0x5a995c['memberID'])!=null?_0x4f93ee:null;}['dispose'](){var _0x3ab7d4=_0x5152c2;super[_0x3ab7d4(0x457)](),this[_0x3ab7d4(0x3c6)][_0x3ab7d4(0x2d8)](),this[_0x3ab7d4(0x3c6)][_0x3ab7d4(0x365)]();}[_0x5152c2(0x1cf)](){var _0x471e9a=_0x5152c2,_0x39ba35,_0x15ff17;this['_throwTelemetryCollaborationNewChangeset'](),(_0x39ba35=this[_0x471e9a(0x1ed)])==null||_0x39ba35[_0x471e9a(0x415)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x471e9a(0x27a)]}}),(_0x15ff17=this[_0x471e9a(0x1ed)])==null||_0x15ff17[_0x471e9a(0x1cf)](),this[_0x471e9a(0x35d)]['complete'](),this['_sessionStatus$'][_0x471e9a(0x365)](),this['dispose']();}[_0x5152c2(0x4bc)](_0x71dcb3){var _0x4c1d24=_0x5152c2;_0x71dcb3[_0x4c1d24(0x25f)]===F[_0x4c1d24(0x277)]?this[_0x4c1d24(0x1f4)](_0x71dcb3):_0x71dcb3[_0x4c1d24(0x25f)]===F[_0x4c1d24(0x395)]&&this['_onRecvEvent'](_0x71dcb3);}['_joinRoom'](_0x31b8d8){var _0x3795b=_0x5152c2;this[_0x3795b(0x24f)][_0x3795b(0x2d8)](0x1),_0x31b8d8['send']({'cmd':F[_0x3795b(0x277)],'routeKey':this[_0x3795b(0x27a)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3795b(0x27a)]}]}});}[_0x5152c2(0x1f4)](_0xad22ef){var _0x1d2ba3=_0x5152c2,_0x271df2;if(_0xad22ef['code']in Yt){this[_0x1d2ba3(0x496)][_0x1d2ba3(0x475)]({'id':se[_0x1d2ba3(0x354)],'data':Yt[_0xad22ef[_0x1d2ba3(0x3a3)]]}),this[_0x1d2ba3(0x24f)][_0x1d2ba3(0x2d8)](0x2);return;}this[_0x1d2ba3(0x24f)][_0x1d2ba3(0x2d8)](0x3);const _0x507d24=(_0x271df2=_0xad22ef['data'][_0x1d2ba3(0x314)][this[_0x1d2ba3(0x27a)]])==null?void 0x0:_0x271df2[_0x1d2ba3(0x422)];_0x507d24&&_0x507d24[_0x1d2ba3(0x20d)](_0x570692=>this[_0x1d2ba3(0x291)][_0x1d2ba3(0x28c)](this[_0x1d2ba3(0x27a)],_0x570692));}[_0x5152c2(0x34b)](_0x14146b){var _0x5ee3f4=_0x5152c2;try{const _0x4807a9=_0x14146b['data'];switch(_0x4807a9[_0x5ee3f4(0x434)]){case _0x193471[_0x5ee3f4(0x2c1)]:this[_0x5ee3f4(0x3d1)](_0x4807a9),this['_event$'][_0x5ee3f4(0x2d8)](_0x4807a9);break;case _0x193471[_0x5ee3f4(0x234)]:this[_0x5ee3f4(0x32a)](_0x4807a9),this[_0x5ee3f4(0x35d)][_0x5ee3f4(0x2d8)](_0x4807a9);break;case _0x193471[_0x5ee3f4(0x495)]:case _0x193471[_0x5ee3f4(0x242)]:this[_0x5ee3f4(0x247)](),this[_0x5ee3f4(0x44c)](),this[_0x5ee3f4(0x35d)][_0x5ee3f4(0x2d8)](_0x4807a9);break;case _0x193471[_0x5ee3f4(0x373)]:this['_logService'][_0x5ee3f4(0x3f5)](_0x5ee3f4(0x447)+JSON[_0x5ee3f4(0x45a)](_0x4807a9)),this['_event$']['next'](_0x4807a9);break;case _0x193471[_0x5ee3f4(0x1f0)]:this[_0x5ee3f4(0x301)][_0x5ee3f4(0x1b8)](_0x4807a9[_0x5ee3f4(0x446)]),this[_0x5ee3f4(0x35d)]['next'](_0x4807a9);break;default:this[_0x5ee3f4(0x35d)][_0x5ee3f4(0x2d8)](_0x4807a9);}}catch(_0xa391a4){this['_logService']['error'](_0xa391a4,_0x14146b);}}[_0x5152c2(0x3d1)](_0x233e40){var _0x4f3583=_0x5152c2;this[_0x4f3583(0x291)][_0x4f3583(0x28c)](this[_0x4f3583(0x27a)],_0x233e40[_0x4f3583(0x446)]);}[_0x5152c2(0x32a)](_0x525179){var _0x323fdf=_0x5152c2;this[_0x323fdf(0x291)][_0x323fdf(0x30d)](this[_0x323fdf(0x27a)],_0x525179[_0x323fdf(0x446)]['memberID']);}async[_0x5152c2(0x415)](_0x458c27,_0xa0f2ce){var _0x3d5eef=_0x5152c2;if(this[_0x3d5eef(0x274)]!==0x3||!this[_0x3d5eef(0x1ed)])throw new Error(_0x3d5eef(0x3eb));try{_0x458c27['eventID']===_0x193471['SUBMIT_CHANGESET']&&(this[_0x3d5eef(0x1e6)](),this[_0x3d5eef(0x287)](_0x458c27)),this[_0x3d5eef(0x1ed)][_0x3d5eef(0x415)]({'cmd':F[_0x3d5eef(0x432)],'routeKey':_0xa0f2ce,'routeType':'','data':_0x458c27});}catch(_0x8f39d3){this[_0x3d5eef(0x412)][_0x3d5eef(0x3f5)](_0x8f39d3);}}['_scheduleCollaborationTimeoutTimer'](){var _0x3db64e=_0x5152c2,_0x4d84cc;this[_0x3db64e(0x3d6)]=setTimeout(()=>{var _0x55845d=_0x3db64e;this[_0x55845d(0x3d6)]=null,this[_0x55845d(0x496)][_0x55845d(0x475)]({'id':se[_0x55845d(0x459)]});},(_0x4d84cc=this[_0x3db64e(0x3f9)][_0x3db64e(0x4a9)](Si))!=null?_0x4d84cc:Ei);}[_0x5152c2(0x44c)](){var _0x56a8c1=_0x5152c2;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x56a8c1(0x3d6)]),this[_0x56a8c1(0x3d6)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x347369){var _0x1388b6=_0x5152c2;if(!this[_0x1388b6(0x221)])return;const {data:_0x22dd92}=_0x347369,{unitID:_0x4ec11e,changeset:_0x5cfe5d}=_0x22dd92,{mutations:_0x22ef07,type:_0x16536a}=_0x5cfe5d;this[_0x1388b6(0x2b5)]={'unitId':_0x4ec11e,'type':_0x16536a,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x22ef07)};}[_0x5152c2(0x247)](){var _0x2d2755=_0x5152c2;if(this[_0x2d2755(0x221)]){if(!this['_telemetryInfo']){this['_logService'][_0x2d2755(0x3f5)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2d2755(0x2b5)][_0x2d2755(0x2ac)]=performance[_0x2d2755(0x2c9)](),this['_telemetryInfo']['duration']=this[_0x2d2755(0x2b5)]['stopTime']-this[_0x2d2755(0x2b5)][_0x2d2755(0x2a2)],this[_0x2d2755(0x26d)][_0x2d2755(0x2cb)](Vn,this[_0x2d2755(0x2b5)]),this[_0x2d2755(0x2b5)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};It=Xn([me(0x2,_0xff0f44),me(0x3,_0x398800),me(0x4,_0x49608f(_0x1523a1)),me(0x5,_0x49608f(xe)),me(0x6,_0x49608f(Ri)),me(0x7,_0x49608f(pe)),me(0x8,_0x45d56d(_0x3b54c3))],It);var Zn=Object[_0x5152c2(0x490)],Qn=Object[_0x5152c2(0x37e)],er=(_0x1ee42d,_0x5ed97f,_0x151012,_0x2f70b)=>{var _0x59c5ad=_0x5152c2;for(var _0x50b4c8=_0x2f70b>0x1?void 0x0:_0x2f70b?Qn(_0x5ed97f,_0x151012):_0x5ed97f,_0x48e2f2=_0x1ee42d[_0x59c5ad(0x445)]-0x1,_0x330362;_0x48e2f2>=0x0;_0x48e2f2--)(_0x330362=_0x1ee42d[_0x48e2f2])&&(_0x50b4c8=(_0x2f70b?_0x330362(_0x5ed97f,_0x151012,_0x50b4c8):_0x330362(_0x50b4c8))||_0x50b4c8);return _0x2f70b&&_0x50b4c8&&Zn(_0x5ed97f,_0x151012,_0x50b4c8),_0x50b4c8;},ge=(_0x147ccf,_0x374263)=>(_0x53497f,_0x21b34e)=>_0x374263(_0x53497f,_0x21b34e,_0x147ccf);let Le=class extends _0x319548{constructor(_0x5604da,_0xbfde91,_0x4f5ee7,_0x4a6a3f,_0x542415,_0x2a76ee,_0x30e967){var _0x1d1d9a=_0x5152c2;super(),N(this,_0x1d1d9a(0x2e4),new _0x549626(void 0x0)),N(this,_0x1d1d9a(0x437),this[_0x1d1d9a(0x2e4)][_0x1d1d9a(0x377)]()),N(this,_0x1d1d9a(0x2bc),null),N(this,_0x1d1d9a(0x40f),new Map()),N(this,_0x1d1d9a(0x249),new _0x549626(Te[_0x1d1d9a(0x224)])),N(this,_0x1d1d9a(0x3a7),this[_0x1d1d9a(0x249)]['asObservable']()),N(this,_0x1d1d9a(0x1bd),!0x1),N(this,_0x1d1d9a(0x31c)),N(this,_0x1d1d9a(0x3b5),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x1d1d9a(0x45e)),(this[_0x1d1d9a(0x3b2)]=_0x5604da,this[_0x1d1d9a(0x412)]=_0xbfde91,this[_0x1d1d9a(0x3f9)]=_0x4f5ee7,this[_0x1d1d9a(0x35c)]=_0x4a6a3f,this[_0x1d1d9a(0x418)]=_0x542415,this[_0x1d1d9a(0x496)]=_0x2a76ee,this['_networkConditionService']=_0x30e967,this['_listenToNetworkCondition']());}get[_0x5152c2(0x1ed)](){var _0x2bc52d=_0x5152c2;return this['_socket$'][_0x2bc52d(0x481)]();}[_0x5152c2(0x468)](){var _0x161b6c=_0x5152c2;this[_0x161b6c(0x48b)]&&this[_0x161b6c(0x315)](this[_0x161b6c(0x48b)][_0x161b6c(0x1f3)][_0x161b6c(0x3e9)](_0x8ccd32=>{var _0x2db176=_0x161b6c;_0x8ccd32&&!this[_0x2db176(0x1ed)]&&this['reconnect'](),_0x8ccd32||this[_0x2db176(0x298)]();}));}[_0x5152c2(0x457)](){var _0x217fab=_0x5152c2;super[_0x217fab(0x457)](),this[_0x217fab(0x40f)][_0x217fab(0x20d)](_0x60903a=>_0x60903a[_0x217fab(0x457)]()),this[_0x217fab(0x40f)]['clear'](),this[_0x217fab(0x249)][_0x217fab(0x365)]();}async[_0x5152c2(0x3a0)](_0x4b309c){var _0x40126c=_0x5152c2;if(this['_sessions'][_0x40126c(0x268)](_0x4b309c))return this[_0x40126c(0x40f)][_0x40126c(0x3fb)](_0x4b309c);this[_0x40126c(0x42e)]();const _0x2225ff=this['_injector'][_0x40126c(0x2d6)](It,_0x4b309c,this[_0x40126c(0x2e4)][_0x40126c(0x377)]());return this['_sessions'][_0x40126c(0x498)](_0x4b309c,_0x2225ff),_0x2225ff;}['closeSession'](_0x5a96fb){var _0x24bd1b=_0x5152c2,_0x28d1e1;const _0x6dd7d1=this[_0x24bd1b(0x40f)][_0x24bd1b(0x3fb)](_0x5a96fb);_0x6dd7d1&&(this[_0x24bd1b(0x40f)]['delete'](_0x5a96fb),_0x6dd7d1[_0x24bd1b(0x1cf)]()),this[_0x24bd1b(0x40f)][_0x24bd1b(0x32c)]||(_0x28d1e1=this[_0x24bd1b(0x1ed)])==null||_0x28d1e1[_0x24bd1b(0x1cf)]();}[_0x5152c2(0x1d7)](){var _0xd8e1d7=_0x5152c2;this[_0xd8e1d7(0x3b5)]=0x0,this[_0xd8e1d7(0x31c)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this['_tryReconnect']();}async[_0x5152c2(0x46a)](){var _0x5d140f=_0x5152c2,_0x42f07f,_0x48b2a9,_0xb097b2;const _0x23ab0e=this['_configService']['getConfig'](q),_0x1474b5=(_0x42f07f=_0x23ab0e==null?void 0x0:_0x23ab0e['wsSessionTicketUrl'])!=null?_0x42f07f:On;return(_0xb097b2=(_0x48b2a9=(await this['_httpService'][_0x5d140f(0x3fb)](_0x1474b5,{'headers':{'Content-Type':'application/json'}}))[_0x5d140f(0x284)])==null?void 0x0:_0x48b2a9[_0x5d140f(0x384)])!=null?_0xb097b2:'';}[_0x5152c2(0x402)](_0x521151){var _0x1867c5=_0x5152c2,_0x14b16d,_0xb86182;const _0xb5af63=this[_0x1867c5(0x3f9)][_0x1867c5(0x4a9)](Rn),_0x1b4ca4=this[_0x1867c5(0x3f9)]['getConfig'](q),_0x1bd26d=(_0xb86182=(_0x14b16d=_0x1b4ca4==null?void 0x0:_0x1b4ca4[_0x1867c5(0x1fa)])!=null?_0x14b16d:_0xb5af63)!=null?_0xb86182:bn,_0x4cd31e=typeof window>'u'?new URL(_0x1bd26d):new URL(_0x1bd26d,window['location'][_0x1867c5(0x24d)]);_0x4cd31e['searchParams'][_0x1867c5(0x498)](_0x1867c5(0x230),_0x521151);const _0x80e174=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1867c5(0x492)][_0x1867c5(0x223)]);return _0x80e174[_0x1867c5(0x3fb)](_0x1867c5(0x1fe))&&_0x4cd31e['searchParams']['set'](_0x1867c5(0x1fe),_0x80e174[_0x1867c5(0x3fb)](_0x1867c5(0x1fe))),_0x4cd31e[_0x1867c5(0x28b)]();}async[_0x5152c2(0x266)](){var _0x2314dd=_0x5152c2;const _0x497938=await this[_0x2314dd(0x46a)](),_0x29d2f1=this[_0x2314dd(0x402)](_0x497938),_0x22955b=this[_0x2314dd(0x35c)][_0x2314dd(0x40a)](_0x29d2f1);return this['_candidateSocket']=_0x22955b,_0x22955b;}async[_0x5152c2(0x42e)](){var _0x246069=_0x5152c2,_0x34d08e,_0x3c7fce;try{const _0x237e64=(_0x3c7fce=(_0x34d08e=this[_0x246069(0x1ed)])!=null?_0x34d08e:this[_0x246069(0x2bc)])!=null?_0x3c7fce:await this['_createSocket']();if(_0x237e64){const _0x8d23ee=_0x237e64[_0x246069(0x415)];_0x237e64[_0x246069(0x415)]=_0x263543=>(this[_0x246069(0x3ba)](),_0x8d23ee[_0x246069(0x45c)](_0x237e64,[_0x263543])),_0x237e64[_0x246069(0x305)][_0x246069(0x3e9)](_0x12bad6=>this[_0x246069(0x427)](_0x237e64,_0x12bad6)),_0x237e64['error$']['pipe'](_0x1ea56c(0x1))[_0x246069(0x3e9)](_0x28c67e=>this[_0x246069(0x412)][_0x246069(0x3f5)](_0x246069(0x372),_0x28c67e)),_0x237e64[_0x246069(0x34e)][_0x246069(0x1ec)](_0x1ea56c(0x1))['subscribe'](()=>{var _0x46e472=_0x246069;this[_0x46e472(0x393)](_0x237e64);}),_0x237e64[_0x246069(0x4a0)][_0x246069(0x1ec)](_0x1ea56c(0x1))[_0x246069(0x3e9)](_0xf29f78=>{var _0x240527=_0x246069;this['_logService'][_0x240527(0x3ec)](_0x240527(0x22d),_0x240527(0x1f8),_0xf29f78),this[_0x240527(0x222)]();});}}catch(_0x161824){this[_0x246069(0x412)][_0x246069(0x3f5)](_0x161824),this[_0x246069(0x222)]();}}[_0x5152c2(0x393)](_0x3c28db){var _0x13765e=_0x5152c2;this[_0x13765e(0x412)][_0x13765e(0x3ec)](_0x13765e(0x22d),'socket\x20open.'),_0x3c28db[_0x13765e(0x415)]({'cmd':F[_0x13765e(0x42f)]}),this[_0x13765e(0x3ba)]();}[_0x5152c2(0x298)](){var _0x4cb26f=_0x5152c2;this[_0x4cb26f(0x1bd)]=!0x1,this[_0x4cb26f(0x2bc)]=null,this[_0x4cb26f(0x249)][_0x4cb26f(0x2d8)](Te[_0x4cb26f(0x49a)]),this[_0x4cb26f(0x2e4)][_0x4cb26f(0x2d8)](null),this[_0x4cb26f(0x46f)](),this[_0x4cb26f(0x3a5)]();}[_0x5152c2(0x222)](){var _0x21a343=_0x5152c2,_0x312d1e;this[_0x21a343(0x298)](),this[_0x21a343(0x3b5)]<((_0x312d1e=this[_0x21a343(0x3f9)][_0x21a343(0x4a9)](Pn))!=null?_0x312d1e:wn)?(this[_0x21a343(0x496)][_0x21a343(0x475)]({'id':se[_0x21a343(0x2c8)]}),this[_0x21a343(0x27d)]()):this['_collaborationUIEventService'][_0x21a343(0x475)]({'id':se[_0x21a343(0x280)]});}['_tryReconnect'](){var _0x126b30=_0x5152c2,_0x5f1990;const _0x5f1afa=this[_0x126b30(0x3b5)],_0x7688ae=this[_0x126b30(0x3f9)][_0x126b30(0x4a9)](q),_0x3c903c=_0x5f1afa===0x0?0x0:((_0x5f1990=_0x7688ae==null?void 0x0:_0x7688ae[_0x126b30(0x455)])!=null?_0x5f1990:Dn)*0x2**_0x5f1afa;this[_0x126b30(0x31c)]=setTimeout(()=>{var _0x5d3763=_0x126b30;clearTimeout(this['_retryConnectingTimer']),this[_0x5d3763(0x31c)]=null,this['_tryEnsureSocket']();},_0x3c903c),this[_0x126b30(0x3b5)]+=0x1;}[_0x5152c2(0x427)](_0x1bb9ff,_0x1c88cf){var _0x56632a=_0x5152c2;const {cmd:_0x2ccf2b}=_0x1c88cf;_0x2ccf2b===F[_0x56632a(0x42f)]&&!this['_socketReady']&&(_0x1bb9ff[_0x56632a(0x31f)]=_0x1c88cf[_0x56632a(0x446)][_0x56632a(0x31f)],this[_0x56632a(0x2e4)][_0x56632a(0x2d8)](_0x1bb9ff),this[_0x56632a(0x249)][_0x56632a(0x2d8)](Te['ONLINE']),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x2ccf2b===F[_0x56632a(0x2f4)]&&this[_0x56632a(0x46f)](),this[_0x56632a(0x3ba)]();}[_0x5152c2(0x3ba)](){var _0x185177=_0x5152c2,_0x5baf46;this[_0x185177(0x3a5)](),this[_0x185177(0x3ed)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x5baf46=this[_0x185177(0x3f9)][_0x185177(0x4a9)](yn))!=null?_0x5baf46:Nn);}['_sendHeartbeat'](){var _0x75421=_0x5152c2;this[_0x75421(0x1ed)][_0x75421(0x415)]({'cmd':F[_0x75421(0x2f4)]}),this[_0x75421(0x253)]();}[_0x5152c2(0x253)](){var _0x41c0c8=_0x5152c2,_0x498c16;this[_0x41c0c8(0x45e)]=setTimeout(()=>this[_0x41c0c8(0x222)](),(_0x498c16=this[_0x41c0c8(0x3f9)][_0x41c0c8(0x4a9)](Si))!=null?_0x498c16:Ei);}[_0x5152c2(0x3a5)](){var _0x4da9d8=_0x5152c2;this[_0x4da9d8(0x3ed)]!=null&&(clearTimeout(this[_0x4da9d8(0x3ed)]),this[_0x4da9d8(0x3ed)]=null);}['_clearTimeoutTimer'](){var _0x3729c5=_0x5152c2;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x3729c5(0x45e)]),this['_timeoutTimer']=null);}};Le=er([ge(0x0,_0x49608f(_0x231a09)),ge(0x1,_0xff0f44),ge(0x2,_0x398800),ge(0x3,Ci),ge(0x4,_0x49608f(_0xb59977)),ge(0x5,_0x49608f(pe)),ge(0x6,_0x45d56d(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0x5152c2(0x28b)](0x10)[_0x5152c2(0x2bb)](0x1));function tr(_0x27d35e,_0x2912d2=0x0){var _0xdb699a=_0x5152c2;return(V[_0x27d35e[_0x2912d2+0x0]]+V[_0x27d35e[_0x2912d2+0x1]]+V[_0x27d35e[_0x2912d2+0x2]]+V[_0x27d35e[_0x2912d2+0x3]]+'-'+V[_0x27d35e[_0x2912d2+0x4]]+V[_0x27d35e[_0x2912d2+0x5]]+'-'+V[_0x27d35e[_0x2912d2+0x6]]+V[_0x27d35e[_0x2912d2+0x7]]+'-'+V[_0x27d35e[_0x2912d2+0x8]]+V[_0x27d35e[_0x2912d2+0x9]]+'-'+V[_0x27d35e[_0x2912d2+0xa]]+V[_0x27d35e[_0x2912d2+0xb]]+V[_0x27d35e[_0x2912d2+0xc]]+V[_0x27d35e[_0x2912d2+0xd]]+V[_0x27d35e[_0x2912d2+0xe]]+V[_0x27d35e[_0x2912d2+0xf]])[_0xdb699a(0x37f)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x4a050b=_0x5152c2;if(!ut){if(typeof crypto>'u'||!crypto[_0x4a050b(0x49b)])throw new Error(_0x4a050b(0x341));ut=crypto[_0x4a050b(0x49b)][_0x4a050b(0x351)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x5152c2(0x307)]&&crypto[_0x5152c2(0x307)]['bind'](crypto),qt={'randomUUID':rr};function sr(_0x537f5d,_0x278ef2,_0x6d5e0){var _0x3f249e=_0x5152c2,_0x47bfab,_0x373445,_0x16c701;if(qt[_0x3f249e(0x307)]&&!_0x537f5d)return qt[_0x3f249e(0x307)]();_0x537f5d=_0x537f5d||{};const _0x2ca2da=(_0x16c701=(_0x373445=_0x537f5d['random'])!=null?_0x373445:(_0x47bfab=_0x537f5d[_0x3f249e(0x2f6)])==null?void 0x0:_0x47bfab['call'](_0x537f5d))!=null?_0x16c701:nr();if(_0x2ca2da[_0x3f249e(0x445)]<0x10)throw new Error(_0x3f249e(0x335));return _0x2ca2da[0x6]=_0x2ca2da[0x6]&0xf|0x40,_0x2ca2da[0x8]=_0x2ca2da[0x8]&0x3f|0x80,tr(_0x2ca2da);}const J=_0x2cae79(_0x5152c2(0x2c4));function so(_0x170a45){var _0x544f56=_0x5152c2;return _0x544f56(0x469)+_0x170a45;}var or=Object[_0x5152c2(0x490)],ar=Object['getOwnPropertyDescriptor'],cr=(_0x1bf8bc,_0x22e605,_0x503fb8,_0x200392)=>{var _0x4fc490=_0x5152c2;for(var _0x556314=_0x200392>0x1?void 0x0:_0x200392?ar(_0x22e605,_0x503fb8):_0x22e605,_0x5bab5e=_0x1bf8bc[_0x4fc490(0x445)]-0x1,_0x551001;_0x5bab5e>=0x0;_0x5bab5e--)(_0x551001=_0x1bf8bc[_0x5bab5e])&&(_0x556314=(_0x200392?_0x551001(_0x22e605,_0x503fb8,_0x556314):_0x551001(_0x556314))||_0x556314);return _0x200392&&_0x556314&&or(_0x22e605,_0x503fb8,_0x556314),_0x556314;},dt=(_0x306e67,_0x1985b2)=>(_0x49f818,_0x1c1d50)=>_0x1985b2(_0x49f818,_0x1c1d50,_0x306e67);function hr(_0x5e7c42){const {unitID:_0x3f82b4,mutations:_0x9ac7b1}=_0x5e7c42;return{'unitId':_0x3f82b4,'subUnitId':_0x9ac7b1[0x0]['params']['subUnitId']};}let it=class{constructor(_0x2c69b9,_0x59cedd,_0x4e725f){var _0x2890a2=_0x5152c2;this[_0x2890a2(0x3b2)]=_0x2c69b9,this[_0x2890a2(0x35a)]=_0x59cedd,this['_instanceService']=_0x4e725f;}[_0x5152c2(0x4be)](_0x535e71){var _0x2209b1=_0x5152c2,_0x5c500b,_0x53076e,_0x493125,_0x417590;const _0x4f775c=this[_0x2209b1(0x3b2)]['get'](_0x25e57f),{unitId:_0x2e430f,subUnitId:_0x49f2e0}=hr(_0x535e71),_0xc963f4=_0x4f775c==null?void 0x0:_0x4f775c[_0x2209b1(0x2ee)](_0x2e430f)[_0x2209b1(0x1b5)](),_0x2bd454=(_0x53076e=(_0x5c500b=this[_0x2209b1(0x3b0)][_0x2209b1(0x2fe)](_0x2e430f))==null?void 0x0:_0x5c500b['getActiveSheet']())==null?void 0x0:_0x53076e['getSheetId']();if(_0xc963f4[_0x2209b1(0x445)]===0x0||!_0x2e430f||!_0x49f2e0)return;const _0xe0321c=[{'id':_0x347785['id'],'params':{'unitId':_0x2e430f,'subUnitId':_0x2bd454,'selections':_0x2846ef[_0x2209b1(0x235)](_0xc963f4)}}],_0x58d26b=this[_0x2209b1(0x35a)]['transformMutationsWithChangeset'](_0x535e71,_0xe0321c);if(!_0xc28b50(_0x58d26b))throw _0x58d26b[_0x2209b1(0x3f5)];const _0x400a04=(_0x417590=(_0x493125=_0x58d26b[_0x2209b1(0x319)][0x0])==null?void 0x0:_0x493125[_0x2209b1(0x2b0)])==null?void 0x0:_0x417590[_0x2209b1(0x265)];if(Array[_0x2209b1(0x229)](_0x400a04)&&_0x400a04[_0x2209b1(0x445)]){if(_0x400a04[_0x2209b1(0x445)]===_0xe0321c[0x0][_0x2209b1(0x2b0)][_0x2209b1(0x265)][_0x2209b1(0x445)]&&_0x400a04[_0x2209b1(0x1f7)]((_0x127a6e,_0x5bb26d)=>_0x3ee4a4[_0x2209b1(0x202)](_0x127a6e[_0x2209b1(0x363)],_0xe0321c[0x0][_0x2209b1(0x2b0)]['selections'][_0x5bb26d][_0x2209b1(0x363)])))return;this['_injector'][_0x2209b1(0x3fb)](_0x2e8c89)[_0x2209b1(0x479)](_0x347785['id'],{'unitId':_0x2e430f,'subUnitId':_0x2bd454,'selections':_0x400a04});}}};it=cr([dt(0x0,_0x49608f(_0x231a09)),dt(0x1,_0x3b94b2),dt(0x2,_0x1eeb0a)],it);const ht=_0x2cae79(_0x5152c2(0x41b));var bi=(_0x1663bf=>(_0x1663bf[_0x1663bf[_0x5152c2(0x4b1)]=0x0]=_0x5152c2(0x4b1),_0x1663bf[_0x1663bf[_0x5152c2(0x37b)]=0x1]=_0x5152c2(0x37b),_0x1663bf))(bi||{});const _r=new Set([_0x52e6dc['id']]);function zt(_0x4cf70c,_0x20708f,_0x2e03eb,_0x1c8840,_0x3545c7){var _0x5ab3ff=_0x5152c2,_0x37f6eb,_0x3b0d6b,_0xb1fd3d,_0x3b820e;const _0x227a18=[];for(const _0x2160fa of _0x4cf70c)if(_r[_0x5ab3ff(0x268)](_0x2160fa['id'])){if(_0x227a18['length']>0x0)break;_0x227a18[_0x5ab3ff(0x3a9)](_0x2160fa);break;}else _0x227a18['push'](_0x2160fa);const _0x149918=(_0x3b0d6b=(_0x37f6eb=_0x3545c7['getCurrentUser']())==null?void 0x0:_0x37f6eb[_0x5ab3ff(0x25d)])!=null?_0x3b0d6b:_0x5ab3ff(0x441),_0x59e130=(_0x3b820e=(_0xb1fd3d=_0x3545c7[_0x5ab3ff(0x3e7)]())==null?void 0x0:_0xb1fd3d[_0x5ab3ff(0x31f)])!=null?_0x3b820e:'unknown';return{'changeset':{'unitID':_0x20708f,'type':_0x210266(_0x2e03eb['getUnitType'](_0x20708f)),'baseRev':_0x1c8840[_0x5ab3ff(0x334)](_0x20708f),'revision':0x0,'userID':_0x149918,'memberID':_0x59e130,'mutations':_0x227a18},'pendingMutations':_0x4cf70c[_0x5ab3ff(0x2bb)](_0x227a18[_0x5ab3ff(0x445)])};}function lr(_0x40bb72,_0x3f93f1,_0x1833de,_0x5704e4,_0x5bfcfe){var _0x4690e9=_0x5152c2,_0x56eb98,_0x41492d,_0x82da5,_0x2e8737;const _0x418bb6=[_0x40bb72[_0x4690e9(0x36b)]((_0x500bff,_0x572316)=>{var _0x87f515=_0x4690e9,_0xe3e5dc;const {id:_0x4cccbd}=_0x500bff,{id:_0x341965,type:_0x5e4772}=_0x572316,_0xf28124=(_0xe3e5dc=_0x500bff[_0x87f515(0x2b0)])!=null?_0xe3e5dc:{'actions':null},_0x181f07=_0x572316[_0x87f515(0x2b0)];if(_0x4cccbd&&_0x4cccbd!==_0x341965)throw new Error(_0x87f515(0x36c)+_0x4cccbd+_0x87f515(0x24e)+_0x341965+'.');return{..._0x500bff,'id':_0x341965,'type':_0x5e4772,'params':{'unitId':_0x181f07['unitId'],'textRanges':_0x181f07['textRanges'],'actions':_0x26a11b[_0x87f515(0x3be)](_0xf28124[_0x87f515(0x43b)],_0x181f07[_0x87f515(0x43b)])}};},{})],_0x596944=(_0x41492d=(_0x56eb98=_0x5bfcfe[_0x4690e9(0x3e7)]())==null?void 0x0:_0x56eb98[_0x4690e9(0x25d)])!=null?_0x41492d:_0x4690e9(0x441),_0x44878e=(_0x2e8737=(_0x82da5=_0x5bfcfe[_0x4690e9(0x3e7)]())==null?void 0x0:_0x82da5[_0x4690e9(0x31f)])!=null?_0x2e8737:_0x4690e9(0x441);return{'changeset':{'unitID':_0x3f93f1,'type':_0x210266(_0x1833de[_0x4690e9(0x1fc)](_0x3f93f1)),'baseRev':_0x5704e4[_0x4690e9(0x334)](_0x3f93f1),'revision':0x0,'userID':_0x596944,'memberID':_0x44878e,'mutations':_0x418bb6},'pendingMutations':[]};}function Oi(_0x2d83f1,_0x1b44aa){var _0xcb893e=_0x5152c2;const _0x29fceb=new _0x2518fb(0x1);return setTimeout(()=>_0x29fceb[_0xcb893e(0x2d8)](_0x1b44aa),_0x2d83f1),_0x29fceb[_0xcb893e(0x377)]()['pipe'](_0x363074(0x1));}const ur={'id':_0x2de45e['id'],'type':_0x495d29[_0x5152c2(0x2ea)],'params':{}};var dr=Object[_0x5152c2(0x490)],fr=Object[_0x5152c2(0x37e)],Re=(_0x89ecfe,_0x24cd13,_0x586dc1,_0xc4c1c5)=>{var _0x7d31ce=_0x5152c2;for(var _0x545aa6=_0xc4c1c5>0x1?void 0x0:_0xc4c1c5?fr(_0x24cd13,_0x586dc1):_0x24cd13,_0x345af0=_0x89ecfe[_0x7d31ce(0x445)]-0x1,_0x54167e;_0x345af0>=0x0;_0x345af0--)(_0x54167e=_0x89ecfe[_0x345af0])&&(_0x545aa6=(_0xc4c1c5?_0x54167e(_0x24cd13,_0x586dc1,_0x545aa6):_0x54167e(_0x545aa6))||_0x545aa6);return _0xc4c1c5&&_0x545aa6&&dr(_0x24cd13,_0x586dc1,_0x545aa6),_0x545aa6;},A=(_0x162316,_0x2726a1)=>(_0xad8cff,_0x4aa41a)=>_0x2726a1(_0xad8cff,_0x4aa41a,_0x162316),yi=(_0x5bb359=>(_0x5bb359[_0x5152c2(0x215)]=_0x5152c2(0x36a),_0x5bb359[_0x5152c2(0x39f)]=_0x5152c2(0x2fb),_0x5bb359[_0x5152c2(0x449)]=_0x5152c2(0x3e6),_0x5bb359['AWAITING']=_0x5152c2(0x444),_0x5bb359[_0x5152c2(0x411)]='awaiting_with_pending',_0x5bb359[_0x5152c2(0x48e)]=_0x5152c2(0x47e),_0x5bb359['CONFLICT']=_0x5152c2(0x47c),_0x5bb359[_0x5152c2(0x49a)]=_0x5152c2(0x32e),_0x5bb359))(yi||{});const Ni=0xea60;class be{constructor(_0xbb6dc6,_0xfbdff4,_0x11f1ce,_0x372e76,_0x6483da,_0x121185,_0x369c06,_0x4d7b44,_0x2e5d94){var _0x539af0=_0x5152c2;N(this,'_awaitingChangeset',null),N(this,'_pendingMutations',[]),(this[_0x539af0(0x2f5)]=_0xbb6dc6,this[_0x539af0(0x3fc)]=_0xfbdff4,this[_0x539af0(0x2e2)]=_0x6483da,this[_0x539af0(0x3c5)]=_0x121185,this['_undoRedoService']=_0x369c06,this[_0x539af0(0x3fa)]=_0x4d7b44,this[_0x539af0(0x48a)]=_0x2e5d94,this[_0x539af0(0x292)]=_0x11f1ce,this[_0x539af0(0x474)]=_0x372e76);}[_0x5152c2(0x275)](_0xb585b7){var _0x13ea4c=_0x5152c2;const _0x1750b1=this[_0x13ea4c(0x3fa)][_0x13ea4c(0x334)](this[_0x13ea4c(0x2f5)]);return _0xb585b7[_0x13ea4c(0x1e5)]>_0x1750b1+0x1?(this[_0x13ea4c(0x2e2)][_0x13ea4c(0x44e)]({'from':_0x1750b1,'to':_0xb585b7['revision']-0x1}),!0x0):!0x1;}[_0x5152c2(0x2a9)](_0x5a6bc8){var _0x2da305=_0x5152c2;this[_0x2da305(0x3f1)][_0x2da305(0x2d1)](this[_0x2da305(0x2f5)],_0x5a6bc8);}[_0x5152c2(0x24c)](_0x49aead){var _0x38b352=_0x5152c2,_0x4cc01d,_0x239832;(_0x239832=(_0x4cc01d=this[_0x38b352(0x2e2)])[_0x38b352(0x346)])==null||_0x239832[_0x38b352(0x33e)](_0x4cc01d,_0x49aead);}['_transformIMECache'](_0x197673){var _0x2fef4f=_0x5152c2,_0x12d5b7,_0x542019;return(_0x542019=(_0x12d5b7=this[_0x2fef4f(0x2e2)])[_0x2fef4f(0x2cf)])==null?void 0x0:_0x542019[_0x2fef4f(0x33e)](_0x12d5b7,_0x197673);}[_0x5152c2(0x2a7)](_0x569993){var _0x813d38=_0x5152c2,_0x44d64c,_0x4a2922;return(_0x4a2922=(_0x44d64c=this[_0x813d38(0x2e2)])['onTransformState'])==null?void 0x0:_0x4a2922[_0x813d38(0x33e)](_0x44d64c,_0x569993);}[_0x5152c2(0x1f1)](_0x27ade1){var _0xbcf1db=_0x5152c2,_0x1d5472,_0x4a9c50,_0x53bfbc;return(_0x53bfbc=(_0x4a9c50=(_0x1d5472=this[_0xbcf1db(0x2e2)])[_0xbcf1db(0x2a5)])==null?void 0x0:_0x4a9c50[_0xbcf1db(0x33e)](_0x1d5472,_0x27ade1))!=null?_0x53bfbc:_0x27ade1;}[_0x5152c2(0x403)](_0x27fa64){var _0x1fa59b=_0x5152c2,_0x5c5650,_0x386744,_0x4a355b;return(_0x4a355b=(_0x386744=(_0x5c5650=this['_handler'])[_0x1fa59b(0x2e7)])==null?void 0x0:_0x386744[_0x1fa59b(0x33e)](_0x5c5650,_0x27fa64))!=null?_0x4a355b:_0x27fa64;}[_0x5152c2(0x2ff)](_0x5ec4fb){var _0x32fa0c=_0x5152c2,_0x16e1a4,_0x438580;if(this[_0x32fa0c(0x3fc)]===Q[_0x32fa0c(0x465)]){const {unitID:_0x3b666f,mutations:_0x46b5ea,memberID:_0x14cf65}=_0x5ec4fb,_0x19fa1e=_0x46b5ea[0x0]['params'][_0x32fa0c(0x27f)];Array[_0x32fa0c(0x229)](_0x19fa1e)&&_0x19fa1e[_0x32fa0c(0x445)]>0x0&&((_0x438580=(_0x16e1a4=this[_0x32fa0c(0x2e2)])[_0x32fa0c(0x3f3)])==null||_0x438580[_0x32fa0c(0x33e)](_0x16e1a4,{'unitID':_0x3b666f,'memberID':_0x14cf65,'textRanges':_0x19fa1e}));}}[_0x5152c2(0x1d8)](){var _0x3ede3c=_0x5152c2,_0x4f87fb;(_0x4f87fb=this[_0x3ede3c(0x48a)])==null||_0x4f87fb[_0x3ede3c(0x1d1)](this[_0x3ede3c(0x2f5)],this[_0x3ede3c(0x3fc)],this[_0x3ede3c(0x292)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x55a00f=_0x5152c2;return this[_0x55a00f(0x3fa)]['getCurrentRevOfUnit'](this[_0x55a00f(0x2f5)]);}[_0x5152c2(0x340)](){var _0x1296a7=_0x5152c2;this[_0x1296a7(0x3fa)][_0x1296a7(0x1b3)](this[_0x1296a7(0x2f5)]);}[_0x5152c2(0x3e8)](_0x2d05ee){var _0x283c9f=_0x5152c2,_0x2c82ca;let _0x18f7bb=this[_0x283c9f(0x1f1)](_0x2d05ee);_0x18f7bb=this[_0x283c9f(0x403)](_0x18f7bb);const _0x9cedbc=_0x356909(_0x18f7bb[_0x283c9f(0x41d)],this['_commandService'],{'fromCollab':!0x0});if(!_0x9cedbc[_0x283c9f(0x3f4)])throw _0x9cedbc['error']instanceof Error?_0x9cedbc[_0x283c9f(0x3f5)]:new Error((_0x2c82ca=_0x9cedbc[_0x283c9f(0x3f5)])!=null?_0x2c82ca:'[CollaborationState]:\x20apply\x20error!');this[_0x283c9f(0x2da)](_0x18f7bb),this[_0x283c9f(0x2a7)](_0x18f7bb),this[_0x283c9f(0x2a9)](_0x2d05ee),this['_transformSelections'](_0x18f7bb),this[_0x283c9f(0x2ff)](_0x18f7bb),this[_0x283c9f(0x340)]();}}let De=class extends be{constructor(_0x59c507,_0x3c3269,_0x199aec,_0x80ccc5,_0x525399,_0x13272f,_0x27dde7,_0x383478,_0x35e421,_0xc8afb2){var _0x306b57=_0x5152c2;super(_0x59c507,_0x3c3269,null,[],_0x199aec,_0x27dde7,_0x13272f,_0x80ccc5,_0xc8afb2),N(this,'status',_0x306b57(0x2fb)),(this['_injector']=_0x525399,this[_0x306b57(0x412)]=_0x383478,this[_0x306b57(0x35a)]=_0x35e421,this[_0x306b57(0x306)]=_0xc8afb2);}['appendMutation'](_0x2ea4e5){var _0x57a882=_0x5152c2;const _0x338dc3=this[_0x57a882(0x3b2)][_0x57a882(0x2d6)](oe,this[_0x57a882(0x2f5)],this[_0x57a882(0x3fc)],[_0x2ea4e5],this[_0x57a882(0x2e2)]);return _0x338dc3[_0x57a882(0x2b8)](),_0x338dc3[_0x57a882(0x1d8)](),_0x338dc3;}[_0x5152c2(0x254)](_0x1e5a44){var _0x42fb10=_0x5152c2;if(this['_checkMissing'](_0x1e5a44))return this[_0x42fb10(0x3b2)]['createInstance'](te,this[_0x42fb10(0x2f5)],this[_0x42fb10(0x3fc)],null,[],null,[_0x1e5a44],this[_0x42fb10(0x2e2)]);try{const _0x81c500=this[_0x42fb10(0x35a)]['transformMutationsWithChangeset'](_0x1e5a44,[ur]);if(_0xc28b50(_0x81c500)){const {c1Prime:_0x2c13a1}=_0x81c500;return this['_executeRemoteChangeset'](_0x2c13a1),this;}throw _0x81c500[_0x42fb10(0x3f5)];}catch(_0x165054){return this[_0x42fb10(0x412)][_0x42fb10(0x3f5)](_0x165054),this['_onConflict'](!0x1);}}[_0x5152c2(0x237)](_0x408774){var _0x266f88=_0x5152c2;return this[_0x266f88(0x3b2)][_0x266f88(0x2d6)](de,this[_0x266f88(0x2f5)],this['type'],null,[],this[_0x266f88(0x2e2)],_0x408774);}[_0x5152c2(0x2de)](){var _0x4648de=_0x5152c2;throw new Error(_0x4648de(0x1c7));}['onRemoteRej'](){var _0x30897a=_0x5152c2;throw new Error(_0x30897a(0x312));}[_0x5152c2(0x378)](){return this;}[_0x5152c2(0x21d)](){var _0x1e826d=_0x5152c2;return this[_0x1e826d(0x3b2)]['createInstance'](fe,this[_0x1e826d(0x2f5)],this['type'],null,[],this[_0x1e826d(0x2e2)]);}[_0x5152c2(0x480)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5152c2(0x32f)](){var _0x615863=_0x5152c2;const _0x1667aa=this[_0x615863(0x3fa)]['getCurrentRevOfUnit'](this['unitID']);return this['_handler']['onMissingChangesets']({'from':_0x1667aa,'to':0x0}),this[_0x615863(0x3b2)][_0x615863(0x2d6)](te,this[_0x615863(0x2f5)],this[_0x615863(0x3fc)],null,[],null,[],this[_0x615863(0x2e2)]);}};De=Re([A(0x3,_0x49608f(_0x2cf9a7)),A(0x4,_0x49608f(_0x231a09)),A(0x5,_0xfeb578),A(0x6,_0x2e8c89),A(0x7,_0xff0f44),A(0x8,_0x3b94b2),A(0x9,_0x45d56d(J))],De);let oe=class extends be{constructor(_0x2a85cc,_0x541dac,_0xb32ee8,_0x3d3ba1,_0x4bc9b2,_0x21bdb2,_0x3a1d8b,_0x5a9877,_0x1ff920,_0x26e856,_0x15115d,_0x5d68ee,_0x1fd4f5,_0x448402){var _0x11e5c2=_0x5152c2;super(_0x2a85cc,_0x541dac,null,_0xb32ee8,_0x3d3ba1,_0x1ff920,_0x1fd4f5,_0x21bdb2,_0x448402),N(this,_0x11e5c2(0x387),_0x11e5c2(0x3e6)),N(this,_0x11e5c2(0x442),null),N(this,_0x11e5c2(0x4a7),null),(this[_0x11e5c2(0x3b2)]=_0x4bc9b2,this['_memberService']=_0x3a1d8b,this['_logService']=_0x5a9877,this[_0x11e5c2(0x3f9)]=_0x26e856,this['_transformService']=_0x15115d,this['_univerInstanceService']=_0x5d68ee);}['appendMutation'](_0x476081){var _0x43d9a7=_0x5152c2;return this[_0x43d9a7(0x474)][_0x43d9a7(0x3a9)](_0x476081),this[_0x43d9a7(0x1d8)](),this;}['onRemoteChangeset'](_0x42947){var _0x18e346=_0x5152c2;if(this['_checkMissing'](_0x42947))return this[_0x18e346(0x1dc)](),this['_injector'][_0x18e346(0x2d6)](te,this[_0x18e346(0x2f5)],this[_0x18e346(0x3fc)],null,this[_0x18e346(0x474)],null,[_0x42947],this[_0x18e346(0x2e2)]);try{const _0x516eca=this[_0x18e346(0x35a)][_0x18e346(0x20b)](_0x42947,this[_0x18e346(0x474)]);if(_0xc28b50(_0x516eca)){const {c1Prime:_0x57a66e,m2Prime:_0x4bccf2}=_0x516eca;this[_0x18e346(0x3e8)](_0x57a66e);const _0x5dee33=this[_0x18e346(0x3b2)][_0x18e346(0x2d6)](oe,this[_0x18e346(0x2f5)],this[_0x18e346(0x3fc)],_0x4bccf2,this[_0x18e346(0x2e2)]);this[_0x18e346(0x1dc)]();const _0x43d347=new Date()[_0x18e346(0x426)](),_0x495430=this[_0x18e346(0x442)]?Math[_0x18e346(0x451)](this[_0x18e346(0x442)]-_0x43d347,0x0):this[_0x18e346(0x392)]();return _0x5dee33[_0x18e346(0x2b8)](_0x495430),_0x5dee33;}throw _0x516eca['error'];}catch(_0x1088bf){return this[_0x18e346(0x412)][_0x18e346(0x3f5)](_0x1088bf),this[_0x18e346(0x237)](!0x1);}}[_0x5152c2(0x2de)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x5152c2(0x32d)](){var _0x30f361=_0x5152c2;throw new Error(_0x30f361(0x456));}[_0x5152c2(0x378)](){return this;}['toggleOffline'](){var _0x36b757=_0x5152c2;return this[_0x36b757(0x1dc)](),this[_0x36b757(0x3b2)][_0x36b757(0x2d6)](fe,this['unitID'],this[_0x36b757(0x3fc)],null,this[_0x36b757(0x474)],this[_0x36b757(0x2e2)]);}[_0x5152c2(0x480)](){return this;}[_0x5152c2(0x2b8)](_0x3983c9){var _0x48e301=_0x5152c2;const _0xee92e1=_0x3983c9!=null?_0x3983c9:this[_0x48e301(0x392)]();this[_0x48e301(0x442)]=new Date()['getTime']()+_0xee92e1,this[_0x48e301(0x4a7)]=setTimeout(()=>{var _0x4b0737=_0x48e301;this[_0x4b0737(0x1dc)]();let _0x1a9967=null;switch(this['type']){case Q[_0x4b0737(0x332)]:{_0x1a9967=zt(this['_pendingMutations'],this[_0x4b0737(0x2f5)],this['_univerInstanceService'],this['_revisionService'],this[_0x4b0737(0x291)]);break;}case Q[_0x4b0737(0x465)]:{this[_0x4b0737(0x474)]['every'](_0x42b07d=>_0x42b07d['id']===_0x1c2dc8['id'])?_0x1a9967=lr(this[_0x4b0737(0x474)],this[_0x4b0737(0x2f5)],this[_0x4b0737(0x30c)],this[_0x4b0737(0x3fa)],this[_0x4b0737(0x291)]):_0x1a9967=zt(this[_0x4b0737(0x474)],this[_0x4b0737(0x2f5)],this[_0x4b0737(0x30c)],this['_revisionService'],this[_0x4b0737(0x291)]);break;}default:throw new Error(_0x4b0737(0x278)+this[_0x4b0737(0x3fc)]+_0x4b0737(0x44d));}const {changeset:_0x1ed266,pendingMutations:_0x26d9f8}=_0x1a9967;this[_0x4b0737(0x2e2)]['onSendChangeset'](_0x1ed266);const _0x3ab573=_0x26d9f8['length']?this[_0x4b0737(0x3b2)][_0x4b0737(0x2d6)](ae,this[_0x4b0737(0x2f5)],this['type'],_0x1ed266,_0x26d9f8,this['_handler'],void 0x0):this[_0x4b0737(0x3b2)][_0x4b0737(0x2d6)](ue,this[_0x4b0737(0x2f5)],this[_0x4b0737(0x3fc)],_0x1ed266,this[_0x4b0737(0x2e2)]);_0x3ab573[_0x4b0737(0x1d8)](),this[_0x4b0737(0x2e2)][_0x4b0737(0x276)](this,_0x3ab573);},_0xee92e1);}['_getSendChangesetTimeout'](){var _0xba99ef=_0x5152c2,_0x362206;const _0x5c3c7f=this[_0xba99ef(0x3f9)]['getConfig'](q);return(_0x362206=_0x5c3c7f==null?void 0x0:_0x5c3c7f[_0xba99ef(0x252)])!=null?_0x362206:Cn;}['resend'](){var _0xcd53e=_0x5152c2;throw new Error(_0xcd53e(0x38d));}[_0x5152c2(0x1dc)](){var _0x1d7dcb=_0x5152c2;this[_0x1d7dcb(0x4a7)]!=null&&(clearTimeout(this[_0x1d7dcb(0x4a7)]),this[_0x1d7dcb(0x4a7)]=null);}[_0x5152c2(0x237)](_0x28400e){var _0x162cbb=_0x5152c2;return this[_0x162cbb(0x1dc)](),this[_0x162cbb(0x3b2)][_0x162cbb(0x2d6)](de,this[_0x162cbb(0x2f5)],this[_0x162cbb(0x3fc)],null,this['_pendingMutations'],this[_0x162cbb(0x2e2)],_0x28400e);}};oe=Re([A(0x4,_0x49608f(_0x231a09)),A(0x5,_0x49608f(_0x2cf9a7)),A(0x6,_0x49608f(xe)),A(0x7,_0xff0f44),A(0x8,_0x2e8c89),A(0x9,_0x398800),A(0xa,_0x3b94b2),A(0xb,_0x1eeb0a),A(0xc,_0xfeb578),A(0xd,_0x45d56d(J))],oe);let ue=class extends be{constructor(_0x4e4c6d,_0x401f70,_0x242309,_0x5bd44f,_0x20ac62,_0x1040be,_0x55b68d,_0x2d2c75,_0x23cec0,_0x4b7051,_0x20bf6f){var _0x2a2b6e=_0x5152c2;super(_0x4e4c6d,_0x401f70,_0x242309,[],_0x5bd44f,_0x55b68d,_0x4b7051,_0x1040be,_0x20bf6f),N(this,'status','awaiting'),N(this,'_resendTimeout',0x0),N(this,_0x2a2b6e(0x3b4)),N(this,_0x2a2b6e(0x231)),(this[_0x2a2b6e(0x3b2)]=_0x20ac62,this['_logService']=_0x2d2c75,this[_0x2a2b6e(0x35a)]=_0x23cec0);}[_0x5152c2(0x24b)](_0x44af63){var _0x380ca8=_0x5152c2;this[_0x380ca8(0x1dc)]();const _0x5dd593=this[_0x380ca8(0x3b2)]['createInstance'](ae,this[_0x380ca8(0x2f5)],this['type'],this['_awaitingChangeset'],[_0x44af63],this['_handler'],this[_0x380ca8(0x3b4)]);return _0x5dd593[_0x380ca8(0x1d8)](),_0x5dd593;}[_0x5152c2(0x254)](_0x375821){var _0x1db77c=_0x5152c2;if(this[_0x1db77c(0x275)](_0x375821))return this[_0x1db77c(0x1dc)](),this[_0x1db77c(0x3b2)]['createInstance'](te,this['unitID'],this['type'],this[_0x1db77c(0x292)],[],null,[_0x375821],this[_0x1db77c(0x2e2)]);try{const _0x226bb8=this['_transformService'][_0x1db77c(0x48c)]([_0x375821],[this[_0x1db77c(0x292)]],!0x1);if(_0x5acf48(_0x226bb8)){const {c1Prime:_0x386dd4,c2Prime:_0x440cc0}=_0x226bb8;this[_0x1db77c(0x3e8)](_0x386dd4[0x0]),_0x440cc0[0x0][_0x1db77c(0x1e0)]=this[_0x1db77c(0x44b)](),this['_clearScheduledTask']();const _0x2d7b5b=this[_0x1db77c(0x3b2)][_0x1db77c(0x2d6)](ue,this[_0x1db77c(0x2f5)],this[_0x1db77c(0x3fc)],_0x440cc0[0x0],this[_0x1db77c(0x2e2)]);return _0x2d7b5b[_0x1db77c(0x1d8)](),_0x2d7b5b;}return this[_0x1db77c(0x237)](!0x1);}catch(_0x3ba927){return this[_0x1db77c(0x412)]['error'](_0x3ba927),this[_0x1db77c(0x237)](!0x1);}}[_0x5152c2(0x2de)](_0x2d05d2){var _0xa7c977=_0x5152c2;this[_0xa7c977(0x1dc)]();const _0x5418a2=this['_revisionService']['getCurrentRevOfUnit'](this[_0xa7c977(0x2f5)]);if(_0x2d05d2[_0xa7c977(0x1e5)]<_0x5418a2-0x1)return this;if(this['_checkMissing'](_0x2d05d2))return this['_injector'][_0xa7c977(0x2d6)](te,this[_0xa7c977(0x2f5)],this[_0xa7c977(0x3fc)],null,[],this[_0xa7c977(0x292)],[],this[_0xa7c977(0x2e2)]);this[_0xa7c977(0x340)]();const _0xc786a6=this[_0xa7c977(0x3b2)][_0xa7c977(0x2d6)](De,this[_0xa7c977(0x2f5)],this[_0xa7c977(0x3fc)],this['_handler']);return _0xc786a6['_updateLocalCache'](),_0xc786a6;}[_0x5152c2(0x32d)](_0x35ef9a){var _0x5232af=_0x5152c2;return this[_0x5232af(0x237)](!!(_0x35ef9a!=null&&_0x35ef9a['isPermissionRej']));}['onRemoteRetry'](_0x34daf5){var _0x3e7340=_0x5152c2;return this[_0x3e7340(0x47b)]>Ni?this[_0x3e7340(0x21d)]():(this[_0x3e7340(0x3b4)]=Oi(this[_0x3e7340(0x47b)],{'timeout':this['_resendTimeout'],'reqId':_0x34daf5[_0x3e7340(0x2dc)]}),this[_0x3e7340(0x231)]=this['_resendTimer'][_0x3e7340(0x3e9)](({reqId:_0x510f18,timeout:_0x182409})=>{var _0x560186=_0x3e7340;this[_0x560186(0x44f)](_0x510f18,_0x182409);}),this);}[_0x5152c2(0x21d)](){var _0xa24874=_0x5152c2;return this[_0xa24874(0x1dc)](),this['_injector'][_0xa24874(0x2d6)](fe,this['unitID'],this[_0xa24874(0x3fc)],this[_0xa24874(0x292)],[],this[_0xa24874(0x2e2)]);}[_0x5152c2(0x480)](){return this;}[_0x5152c2(0x2d2)](){var _0x31ef15=_0x5152c2;this[_0x31ef15(0x2e2)]['onSendChangeset'](this[_0x31ef15(0x292)]);}['_onConflict'](_0x1bbab3){var _0x484e1c=_0x5152c2;return this['_clearScheduledTask'](),this[_0x484e1c(0x3b2)][_0x484e1c(0x2d6)](de,this[_0x484e1c(0x2f5)],this['type'],this[_0x484e1c(0x292)],[],this[_0x484e1c(0x2e2)],_0x1bbab3);}[_0x5152c2(0x44f)](_0x424a2c,_0x3ef1ec){var _0x3a9eee=_0x5152c2,_0x399aad;_0x424a2c===((_0x399aad=this[_0x3a9eee(0x292)])==null?void 0x0:_0x399aad['reqId'])&&(this[_0x3a9eee(0x2d2)](),this[_0x3a9eee(0x47b)]=_0x3ef1ec===0x0?0x3e8:_0x3ef1ec*0x2);}['_clearScheduledTask'](){var _0x5e3d8f=_0x5152c2,_0x506311;(_0x506311=this['_sender'])==null||_0x506311['unsubscribe'](),this[_0x5e3d8f(0x47b)]=0x0;}};ue=Re([A(0x4,_0x49608f(_0x231a09)),A(0x5,_0x49608f(_0x2cf9a7)),A(0x6,_0x2e8c89),A(0x7,_0xff0f44),A(0x8,_0x3b94b2),A(0x9,_0xfeb578),A(0xa,_0x45d56d(J))],ue);let ae=class extends be{constructor(_0x1f5e93,_0x30f118,_0x53a417,_0x45cf68,_0x35eaff,_0x130421,_0x4aa5f9,_0x3d99d7,_0x182f26,_0x15a549,_0x8f8c35,_0x329964,_0x18576b){var _0x175d26=_0x5152c2;super(_0x1f5e93,_0x30f118,_0x53a417,_0x45cf68,_0x35eaff,_0x182f26,_0x329964,_0x3d99d7,_0x18576b),N(this,'status',_0x175d26(0x313)),N(this,'_resendTimeout',0x0),N(this,_0x175d26(0x3b4)),N(this,_0x175d26(0x231)),(this['_injector']=_0x4aa5f9,this[_0x175d26(0x412)]=_0x15a549,this['_transformService']=_0x8f8c35,this['localCacheService']=_0x18576b,_0x130421&&(this[_0x175d26(0x3b4)]=_0x130421,this[_0x175d26(0x231)]=this[_0x175d26(0x3b4)][_0x175d26(0x3e9)](({reqId:_0x383c14,timeout:_0x5a9b93})=>{this['_resendWithTimeout'](_0x383c14,_0x5a9b93);})));}[_0x5152c2(0x24b)](_0x4dddc9){var _0x5a9d1c=_0x5152c2;return this[_0x5a9d1c(0x474)]['push'](_0x4dddc9),this;}[_0x5152c2(0x254)](_0x2b4b88){var _0x525bf3=_0x5152c2;if(this['_checkMissing'](_0x2b4b88))return this['_clearScheduledTask'](),this['_injector'][_0x525bf3(0x2d6)](te,this[_0x525bf3(0x2f5)],this[_0x525bf3(0x3fc)],this[_0x525bf3(0x292)],this[_0x525bf3(0x474)],null,[_0x2b4b88],this[_0x525bf3(0x2e2)]);try{const _0x245f09=this[_0x525bf3(0x35a)]['transformChangesets']([_0x2b4b88],[this[_0x525bf3(0x292)]],!0x1);if(_0x5acf48(_0x245f09)){const {c1Prime:_0x32b707,c2Prime:_0x592cde}=_0x245f09,_0x3c3394=this[_0x525bf3(0x35a)][_0x525bf3(0x20b)](_0x32b707[0x0],this[_0x525bf3(0x474)]);if(_0xc28b50(_0x3c3394)){const {c1Prime:_0x52e2fd,m2Prime:_0x450092}=_0x3c3394;return this['_executeRemoteChangeset'](_0x52e2fd),_0x592cde[0x0][_0x525bf3(0x1e0)]=this[_0x525bf3(0x44b)](),this[_0x525bf3(0x1dc)](),this[_0x525bf3(0x3b2)][_0x525bf3(0x2d6)](ae,this[_0x525bf3(0x2f5)],this[_0x525bf3(0x3fc)],_0x592cde[0x0],_0x450092,this['_handler'],void 0x0);}throw _0x3c3394[_0x525bf3(0x3f5)];}throw _0x245f09[_0x525bf3(0x3f5)];}catch(_0x3d22e7){return this[_0x525bf3(0x412)][_0x525bf3(0x3f5)](_0x3d22e7),this[_0x525bf3(0x237)](!0x1);}}['onRemoteAck'](_0x269ef4){var _0x3a164f=_0x5152c2;if(this[_0x3a164f(0x1dc)](),this[_0x3a164f(0x275)](_0x269ef4))return this[_0x3a164f(0x3b2)][_0x3a164f(0x2d6)](te,this[_0x3a164f(0x2f5)],this[_0x3a164f(0x3fc)],null,this['_pendingMutations'],this[_0x3a164f(0x292)],[],this[_0x3a164f(0x2e2)]);this[_0x3a164f(0x340)]();const _0x4f305a=this[_0x3a164f(0x3b2)][_0x3a164f(0x2d6)](oe,this[_0x3a164f(0x2f5)],this[_0x3a164f(0x3fc)],this['_pendingMutations'],this['_handler']);return _0x4f305a[_0x3a164f(0x2b8)](),_0x4f305a[_0x3a164f(0x1d8)](),_0x4f305a;}['onRemoteRej'](_0x36dc2d){var _0x413b5b=_0x5152c2;return this[_0x413b5b(0x237)](!!(_0x36dc2d!=null&&_0x36dc2d[_0x413b5b(0x33f)]));}[_0x5152c2(0x378)](_0x5daa27){var _0x359bba=_0x5152c2;return this[_0x359bba(0x47b)]>Ni?this['toggleOffline']():(this['_resendTimer']=Oi(this[_0x359bba(0x47b)],{'timeout':this[_0x359bba(0x47b)],'reqId':_0x5daa27[_0x359bba(0x2dc)]}),this['_sender']=this[_0x359bba(0x3b4)]['subscribe'](({reqId:_0x7e1f2e,timeout:_0xafe956})=>{var _0x5e1210=_0x359bba;this[_0x5e1210(0x44f)](_0x7e1f2e,_0xafe956);}),this);}[_0x5152c2(0x21d)](){var _0x5db288=_0x5152c2;return this[_0x5db288(0x1dc)](),this[_0x5db288(0x3b2)][_0x5db288(0x2d6)](fe,this[_0x5db288(0x2f5)],this['type'],this[_0x5db288(0x292)],this[_0x5db288(0x474)],this[_0x5db288(0x2e2)]);}['toggleOnline'](){return this;}[_0x5152c2(0x2d2)](){var _0x347e9e=_0x5152c2;this[_0x347e9e(0x2e2)][_0x347e9e(0x386)](this[_0x347e9e(0x292)]);}['_onConflict'](_0x30ce52){var _0x30a8c8=_0x5152c2;return this['_clearScheduledTask'](),this['_injector'][_0x30a8c8(0x2d6)](de,this[_0x30a8c8(0x2f5)],this[_0x30a8c8(0x3fc)],null,this['_pendingMutations'],this['_handler'],_0x30ce52);}['_resendWithTimeout'](_0x180c42,_0xf1a0b){var _0x243aca=_0x5152c2,_0x2408fe;_0x180c42===((_0x2408fe=this['_awaitingChangeset'])==null?void 0x0:_0x2408fe[_0x243aca(0x2dc)])&&(this['resend'](),this[_0x243aca(0x47b)]=_0xf1a0b===0x0?0x3e8:_0xf1a0b*0x2);}[_0x5152c2(0x1dc)](){var _0x1b7b5f=_0x5152c2,_0x1b8adf;(_0x1b8adf=this['_sender'])==null||_0x1b8adf[_0x1b7b5f(0x1e1)](),this[_0x1b7b5f(0x47b)]=0x0;}};ae=Re([A(0x6,_0x49608f(_0x231a09)),A(0x7,_0x49608f(_0x2cf9a7)),A(0x8,_0x2e8c89),A(0x9,_0xff0f44),A(0xa,_0x3b94b2),A(0xb,_0xfeb578),A(0xc,_0x45d56d(J))],ae);let de=class extends be{constructor(_0x4d12b7,_0x551aad,_0x463005,_0x5f43ba,_0x1c6c0d,_0x46ad19=!0x1,_0x122052,_0x78484d,_0x4100e8,_0x501c4c,_0x474be2,_0x560ee6,_0x5b517b){var _0x4bcb78=_0x5152c2;super(_0x4d12b7,_0x551aad,_0x463005,_0x5f43ba,_0x1c6c0d,_0x78484d,_0x4100e8,_0x501c4c,_0x5b517b),N(this,_0x4bcb78(0x387),_0x4bcb78(0x47c)),(this[_0x4bcb78(0x2d4)]=_0x46ad19,this[_0x4bcb78(0x2eb)]=_0x122052,this[_0x4bcb78(0x25e)]=_0x474be2,this['_collaborationUIEventService']=_0x560ee6,this[_0x4bcb78(0x306)]=_0x5b517b,this[_0x4bcb78(0x2f3)](),this[_0x4bcb78(0x3a8)](),this[_0x4bcb78(0x220)]());}[_0x5152c2(0x24b)](){return this;}[_0x5152c2(0x254)](){return this;}[_0x5152c2(0x2de)](){return this;}['onRemoteRej'](){return this;}[_0x5152c2(0x378)](){return this;}[_0x5152c2(0x21d)](){return this;}['toggleOnline'](){return this;}[_0x5152c2(0x2d2)](){var _0x703017=_0x5152c2;throw new Error(_0x703017(0x321));}[_0x5152c2(0x3a8)](){var _0x735374=_0x5152c2,_0x162c49;(_0x162c49=this[_0x735374(0x48a)])==null||_0x162c49['updateOfflineData'](this[_0x735374(0x2f5)],this[_0x735374(0x3fc)],null,[]);}[_0x5152c2(0x2f3)](){var _0xccdd1c=_0x5152c2;this['_isPermissionRej']?this[_0xccdd1c(0x496)][_0xccdd1c(0x475)]({'id':se['PERMISSION_DENIED']}):this[_0xccdd1c(0x496)][_0xccdd1c(0x475)]({'id':se['CONFLICT']});}[_0x5152c2(0x220)](){var _0x33483e=_0x5152c2;this[_0x33483e(0x2eb)]['updatePermissionPoint'](new _0x24cf62(this['unitID'])['id'],!0x1);}};de=Re([A(0x6,_0x49608f(_0x1f08c8)),A(0x7,_0x2e8c89),A(0x8,_0xfeb578),A(0x9,_0x49608f(_0x2cf9a7)),A(0xa,_0x49608f(_0x1523a1)),A(0xb,_0x49608f(pe)),A(0xc,_0x45d56d(J))],de);let fe=class extends be{constructor(_0x82fbc9,_0x4327c7,_0x101888,_0x5c12c9,_0x6c10ca,_0x1acd82,_0x547cca,_0x498886,_0x472f45,_0x16af54){var _0x5acf16=_0x5152c2;super(_0x82fbc9,_0x4327c7,_0x101888,_0x5c12c9,_0x6c10ca,_0x498886,_0x472f45,_0x547cca,_0x16af54),N(this,'status',_0x5acf16(0x32e)),this[_0x5acf16(0x3b2)]=_0x1acd82;}[_0x5152c2(0x24b)](_0x2795b8){var _0x300773=_0x5152c2;return this[_0x300773(0x474)][_0x300773(0x3a9)](_0x2795b8),this[_0x300773(0x1d8)](),this;}['onRemoteChangeset'](_0x150b49){var _0x11d583=_0x5152c2;throw new Error(_0x11d583(0x2bf));}['onRemoteAck'](){var _0x2240ee=_0x5152c2;throw new Error(_0x2240ee(0x1b1));}[_0x5152c2(0x32d)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x5152c2(0x378)](){return this;}[_0x5152c2(0x21d)](){return this;}[_0x5152c2(0x480)](){var _0xfa4572=_0x5152c2;const {_injector:_0x51894c,_pendingMutations:_0xbf0de4,_awaitingChangeset:_0x5ebee1,unitID:_0x5d9e50,_handler:_0x231438,type:_0x294b26}=this,_0x21120c=Di(_0x51894c,_0x5d9e50,_0x294b26,_0x5ebee1,_0xbf0de4,_0x231438);return _0x21120c instanceof oe?_0x21120c[_0xfa4572(0x2b8)]():(_0x21120c instanceof ae||_0x21120c instanceof ue)&&_0x21120c[_0xfa4572(0x2d2)](),_0x21120c;}[_0x5152c2(0x2d2)](){var _0x1a82c6=_0x5152c2;throw new Error(_0x1a82c6(0x345));}};fe=Re([A(0x5,_0x49608f(_0x231a09)),A(0x6,_0x49608f(_0x2cf9a7)),A(0x7,_0x2e8c89),A(0x8,_0xfeb578),A(0x9,_0x45d56d(J))],fe);let te=class extends be{constructor(_0x1886df,_0x394799,_0x4c3270,_0x55604e,_0x5a493b,_0x8d3b6,_0x25850b,_0x36d292,_0x4b1cd8,_0x4a4188,_0x46ff7c,_0x1ad11c,_0x29c515,_0x42fb4c){var _0x38cb1f=_0x5152c2;super(_0x1886df,_0x394799,_0x4c3270,_0x55604e,_0x25850b,_0x46ff7c,_0x1ad11c,_0x4b1cd8,_0x42fb4c),N(this,'status',_0x38cb1f(0x47e)),(this[_0x38cb1f(0x383)]=_0x5a493b,this[_0x38cb1f(0x28d)]=_0x8d3b6,this['_injector']=_0x36d292,this[_0x38cb1f(0x412)]=_0x4a4188,this[_0x38cb1f(0x35a)]=_0x29c515,this[_0x38cb1f(0x306)]=_0x42fb4c);}[_0x5152c2(0x49f)](_0x10e4e9){var _0x421a8c=_0x5152c2;try{const _0x55acf4=[..._0x10e4e9,...this[_0x421a8c(0x28d)]],_0x23f140=[this[_0x421a8c(0x292)]||this[_0x421a8c(0x383)]][_0x421a8c(0x410)](_0x1864c8=>!!_0x1864c8);let _0x57c8f0,_0x2efe2b;if(_0x23f140[_0x421a8c(0x445)]){const _0x4520b8=this['_transformService'][_0x421a8c(0x48c)](_0x55acf4,_0x23f140,!0x1);if(!_0x5acf48(_0x4520b8))throw _0x4520b8[_0x421a8c(0x3f5)];_0x57c8f0=_0x4520b8[_0x421a8c(0x39a)],_0x2efe2b=_0x4520b8[_0x421a8c(0x290)];}else _0x57c8f0=_0x55acf4,_0x2efe2b=[];let _0x44ac2b=this['_pendingMutations'];_0x57c8f0[_0x421a8c(0x20d)](_0x3c242c=>{var _0x267226=_0x421a8c;let _0x19428d;if(_0x44ac2b['length']){const _0x5249cb=this[_0x267226(0x35a)]['transformMutationsWithChangeset'](_0x3c242c,_0x44ac2b);if(!_0xc28b50(_0x5249cb))throw _0x5249cb[_0x267226(0x3f5)];_0x19428d=_0x5249cb[_0x267226(0x39a)],_0x44ac2b=_0x5249cb[_0x267226(0x319)];}else _0x19428d=_0x3c242c;this[_0x267226(0x3e8)](_0x19428d);}),this[_0x421a8c(0x383)]&&this[_0x421a8c(0x340)](),this['_awaitingChangeset']&&_0x2efe2b[_0x421a8c(0x445)]&&(_0x2efe2b[0x0][_0x421a8c(0x1e0)]=this[_0x421a8c(0x44b)]());let _0x5ea67e;if(this[_0x421a8c(0x292)]&&_0x44ac2b[_0x421a8c(0x445)]!==0x0)_0x5ea67e=this['_injector'][_0x421a8c(0x2d6)](ae,this[_0x421a8c(0x2f5)],this[_0x421a8c(0x3fc)],_0x2efe2b[0x0],_0x44ac2b,this[_0x421a8c(0x2e2)],void 0x0);else{if(this[_0x421a8c(0x292)]&&_0x44ac2b[_0x421a8c(0x445)]===0x0)_0x2efe2b[0x0][_0x421a8c(0x1e0)]=this[_0x421a8c(0x44b)](),_0x5ea67e=this[_0x421a8c(0x3b2)][_0x421a8c(0x2d6)](ue,this['unitID'],this[_0x421a8c(0x3fc)],_0x2efe2b[0x0],this[_0x421a8c(0x2e2)]);else{if(_0x44ac2b['length']!==0x0){const _0x54b8db=this[_0x421a8c(0x3b2)][_0x421a8c(0x2d6)](oe,this[_0x421a8c(0x2f5)],this[_0x421a8c(0x3fc)],_0x44ac2b,this['_handler']);_0x54b8db['_schedule'](),_0x5ea67e=_0x54b8db;}else _0x5ea67e=this[_0x421a8c(0x3b2)][_0x421a8c(0x2d6)](De,this[_0x421a8c(0x2f5)],this['type'],this[_0x421a8c(0x2e2)]);}}return _0x5ea67e['_updateLocalCache'](),_0x5ea67e;}catch(_0x252c74){return this[_0x421a8c(0x412)]['error'](_0x421a8c(0x1c8),_0x421a8c(0x293),_0x252c74),this[_0x421a8c(0x3b2)][_0x421a8c(0x2d6)](de,this[_0x421a8c(0x2f5)],this[_0x421a8c(0x3fc)],this[_0x421a8c(0x292)],this[_0x421a8c(0x474)],this['_handler'],!0x1);}}[_0x5152c2(0x2d2)](){var _0x46a348=_0x5152c2;throw new Error(_0x46a348(0x2e3));}['appendMutation'](_0x23733a){var _0xda5b11=_0x5152c2;return this[_0xda5b11(0x474)][_0xda5b11(0x3a9)](_0x23733a),this;}['onRemoteChangeset'](_0xe28cbd){var _0x5f19c9=_0x5152c2;return this[_0x5f19c9(0x28d)]['push'](_0xe28cbd),this;}[_0x5152c2(0x2de)](_0x58b544){var _0x5405cd=_0x5152c2;if(this['_awaitingChangeset'])return this[_0x5405cd(0x383)]=this[_0x5405cd(0x292)],this[_0x5405cd(0x292)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x5152c2(0x32d)](_0x3bc25e){return this['_onConflict'](!!(_0x3bc25e!=null&&_0x3bc25e['isPermissionRej']));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x165ee2=_0x5152c2;return this[_0x165ee2(0x3b2)][_0x165ee2(0x2d6)](fe,this[_0x165ee2(0x2f5)],this[_0x165ee2(0x3fc)],this['_awaitingChangeset'],this[_0x165ee2(0x474)],this['_handler']);}[_0x5152c2(0x480)](){return this;}['_onConflict'](_0x3a09d7){var _0x477caa=_0x5152c2;return this['_injector'][_0x477caa(0x2d6)](de,this['unitID'],this['type'],this[_0x477caa(0x292)],this[_0x477caa(0x474)],this[_0x477caa(0x2e2)],_0x3a09d7);}};te=Re([A(0x7,_0x49608f(_0x231a09)),A(0x8,_0x49608f(_0x2cf9a7)),A(0x9,_0xff0f44),A(0xa,_0x2e8c89),A(0xb,_0xfeb578),A(0xc,_0x3b94b2),A(0xd,_0x45d56d(J))],te);function Di(_0x137826,_0x3eed67,_0x1425f0,_0x245755,_0x3d63ac,_0x57f38b){var _0x4cd2eb=_0x5152c2;return _0x245755&&_0x3d63ac['length']?_0x137826['createInstance'](ae,_0x3eed67,_0x1425f0,_0x245755,_0x3d63ac,_0x57f38b,void 0x0):_0x245755?_0x137826[_0x4cd2eb(0x2d6)](ue,_0x3eed67,_0x1425f0,_0x245755,_0x57f38b):_0x3d63ac[_0x4cd2eb(0x445)]?_0x137826[_0x4cd2eb(0x2d6)](oe,_0x3eed67,_0x1425f0,_0x3d63ac,_0x57f38b):_0x137826[_0x4cd2eb(0x2d6)](De,_0x3eed67,_0x1425f0,_0x57f38b);}var vr=Object[_0x5152c2(0x490)],pr=Object[_0x5152c2(0x37e)],Lt=(_0x47fa5e,_0x170d4f,_0x399dd3,_0x146041)=>{var _0x1267a1=_0x5152c2;for(var _0x492cd4=_0x146041>0x1?void 0x0:_0x146041?pr(_0x170d4f,_0x399dd3):_0x170d4f,_0x5dc50a=_0x47fa5e[_0x1267a1(0x445)]-0x1,_0x1ede1b;_0x5dc50a>=0x0;_0x5dc50a--)(_0x1ede1b=_0x47fa5e[_0x5dc50a])&&(_0x492cd4=(_0x146041?_0x1ede1b(_0x170d4f,_0x399dd3,_0x492cd4):_0x1ede1b(_0x492cd4))||_0x492cd4);return _0x146041&&_0x492cd4&&vr(_0x170d4f,_0x399dd3,_0x492cd4),_0x492cd4;},k=(_0x29edb2,_0x8bd32)=>(_0x573dac,_0x2e4f1a)=>_0x8bd32(_0x573dac,_0x2e4f1a,_0x29edb2);let nt=class extends _0x6a3296{constructor(_0x25fb20,_0x33b0d8,_0x3aa927,_0x54d694,_0x2c848d,_0x5704cf,_0x38f920,_0x17bc3b,_0x4ef65f,_0x41ae60,_0x1a775c,_0x5a0023,_0x1406e8){var _0x51b5af=_0x5152c2;super(),N(this,_0x51b5af(0x388),new _0x549626(null)),N(this,_0x51b5af(0x1fd),this[_0x51b5af(0x388)][_0x51b5af(0x377)]()),N(this,_0x51b5af(0x4a3)),N(this,'_collaborationPaused',!0x1),N(this,_0x51b5af(0x3f2),''),N(this,'_changesetReqId',0x0),N(this,_0x51b5af(0x3a7),this[_0x51b5af(0x1fd)][_0x51b5af(0x1ec)](_0x11e3a6(_0x44a39f=>_0x44a39f?_0x44a39f[_0x51b5af(0x387)]:yi[_0x51b5af(0x49a)]),_0x4322be(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x51b5af(0x3ea),[]),(this['unitID']=_0x25fb20,this[_0x51b5af(0x289)]=_0x33b0d8,this[_0x51b5af(0x4b8)]=_0x3aa927,this[_0x51b5af(0x3b2)]=_0x54d694,this['_compressMutationService']=_0x2c848d,this[_0x51b5af(0x25e)]=_0x5704cf,this[_0x51b5af(0x3fa)]=_0x38f920,this[_0x51b5af(0x241)]=_0x17bc3b,this[_0x51b5af(0x412)]=_0x4ef65f,this[_0x51b5af(0x3c5)]=_0x41ae60,this[_0x51b5af(0x2eb)]=_0x1a775c,this[_0x51b5af(0x1da)]=_0x5a0023,this[_0x51b5af(0x48a)]=_0x1406e8);}get['state'](){var _0x3bab60=_0x5152c2;return this[_0x3bab60(0x4a3)];}async['init'](){var _0x2dff65=_0x5152c2;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x2dff65(0x3d4)]();}[_0x5152c2(0x214)](){var _0xe33d32=_0x5152c2;return this[_0xe33d32(0x389)]=!0x0,_0x38be0e(()=>{var _0x5602e3=_0xe33d32;this['_collaborationPaused']=!0x1,this[_0x5602e3(0x3ee)]();});}[_0x5152c2(0x347)](_0x30b678){var _0x3e52ff=_0x5152c2;this[_0x3e52ff(0x419)](_0x30b678);}[_0x5152c2(0x1c2)](_0x487299){var _0x31df62=_0x5152c2;this[_0x31df62(0x4a3)]=_0x487299,this['_state$'][_0x31df62(0x2d8)](_0x487299);}async['_init'](){var _0x306648=_0x5152c2,_0x25868a;this[_0x306648(0x1c2)](await this['_createInitialState']()),this[_0x306648(0x1da)]&&((_0x25868a=this[_0x306648(0x1da)])==null||_0x25868a[_0x306648(0x3b8)](this[_0x306648(0x2f5)]),this[_0x306648(0x315)](this[_0x306648(0x1da)][_0x306648(0x25b)](this[_0x306648(0x2f5)])[_0x306648(0x3e9)](_0x2cd502=>{var _0x29d407=_0x306648;this[_0x29d407(0x412)][_0x29d407(0x3ec)](_0x29d407(0x484),_0x29d407(0x3c7),_0x2cd502),_0x2cd502===bi[_0x29d407(0x37b)]?(this[_0x29d407(0x241)][_0x29d407(0x475)]({'id':se[_0x29d407(0x1b7)]}),this['_permissionService'][_0x29d407(0x1b0)](new _0x24cf62(this[_0x29d407(0x2f5)])['id'],!0x1),this[_0x29d407(0x2eb)][_0x29d407(0x48d)](!0x1)):(this[_0x29d407(0x2eb)]['updatePermissionPoint'](new _0x24cf62(this['unitID'])['id'],!0x0),this['_permissionService'][_0x29d407(0x48d)](!0x0));})));let _0x517604=!0x1;return this[_0x306648(0x315)](this[_0x306648(0x289)][_0x306648(0x29d)]['subscribe'](_0x118ebb=>{var _0x5dddf4=_0x306648;_0x118ebb===Te['ONLINE']?this[_0x5dddf4(0x3ff)](_0x517604):_0x118ebb===Te[_0x5dddf4(0x49a)]&&(_0x517604=!0x0,this[_0x5dddf4(0x397)]());})),this[_0x306648(0x315)](this[_0x306648(0x289)][_0x306648(0x42a)]['subscribe'](_0x28070e=>{var _0x2634b2=_0x306648;try{switch(_0x28070e['eventID']){case _0x193471[_0x2634b2(0x2a1)]:{this[_0x2634b2(0x23c)](_0x5ad85b(_0x28070e['data']));break;}case _0x193471[_0x2634b2(0x495)]:{this['_onRemoteACK'](_0x28070e[_0x2634b2(0x446)]);break;}case _0x193471[_0x2634b2(0x201)]:{this[_0x2634b2(0x1af)]();break;}case _0x193471[_0x2634b2(0x242)]:{this['_onRemoteRetry'](_0x28070e['data']);break;}case _0x193471['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x2634b2(0x420)](_0x28070e['data'][_0x2634b2(0x29a)][_0x2634b2(0x3d9)](_0x3b4b7a=>_0x5ad85b(_0x3b4b7a)));break;}case _0x193471[_0x2634b2(0x414)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x193471[_0x2634b2(0x35e)]:break;}}catch(_0xcf787e){throw console[_0x2634b2(0x3f5)](_0x2634b2(0x22f),_0xcf787e),_0xcf787e;}})),this[_0x306648(0x4a3)];}[_0x5152c2(0x443)](){var _0xc3cd20=_0x5152c2;this[_0xc3cd20(0x472)]=!0x1;}[_0x5152c2(0x39b)](){var _0x2676e6=_0x5152c2;if(this[_0x2676e6(0x472)])throw new Error(_0x2676e6(0x29b));this[_0x2676e6(0x472)]=!0x0;}['_onLocalMutation'](_0x209389){var _0x400c60=_0x5152c2;this[_0x400c60(0x39b)](),this[_0x400c60(0x1c2)](this[_0x400c60(0x4a3)][_0x400c60(0x24b)](_0x209389)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x414589){var _0x3df342=_0x5152c2;if(!(_0x414589[_0x3df342(0x1e5)]<=this[_0x3df342(0x3fa)][_0x3df342(0x334)](this[_0x3df342(0x2f5)]))){if(this['_collaborationPaused']){this[_0x3df342(0x3ea)][_0x3df342(0x3a9)](_0x414589);return;}this[_0x3df342(0x26c)](_0x414589);}}[_0x5152c2(0x3ee)](){var _0x3dfb80=_0x5152c2;this[_0x3dfb80(0x3ea)][_0x3dfb80(0x20d)](_0x558c36=>this[_0x3dfb80(0x26c)](_0x558c36)),this[_0x3dfb80(0x3ea)]=[];}[_0x5152c2(0x26c)](_0x919636){var _0x2520a0=_0x5152c2;const _0x288a76=this[_0x2520a0(0x246)][_0x2520a0(0x3ca)][_0x2520a0(0x460)](this[_0x2520a0(0x246)][_0x2520a0(0x3ca)][_0x2520a0(0x4b0)]()['COMPRESS_MUTATION_APPLY'])(_0x919636[_0x2520a0(0x41d)],null)||_0x919636[_0x2520a0(0x41d)],_0x3a42ac={..._0x919636,'mutations':_0x288a76};this[_0x2520a0(0x39b)](),this[_0x2520a0(0x1c2)](this[_0x2520a0(0x4a3)]['onRemoteChangeset'](_0x3a42ac)),this[_0x2520a0(0x443)]();}['_onRemoteACK'](_0x234096){var _0xb8fe5f=_0x5152c2;this['_lockTransition'](),this[_0xb8fe5f(0x1c2)](this['_state'][_0xb8fe5f(0x2de)](_0x234096)),this[_0xb8fe5f(0x443)]();}[_0x5152c2(0x1af)](_0x173108){var _0x3ff887=_0x5152c2;this['_lockTransition'](),this[_0x3ff887(0x1c2)](this[_0x3ff887(0x4a3)][_0x3ff887(0x32d)](_0x173108)),this[_0x3ff887(0x443)]();}[_0x5152c2(0x2b6)](_0x23a8c1){var _0x108e4c=_0x5152c2;this[_0x108e4c(0x39b)](),this[_0x108e4c(0x1c2)](this[_0x108e4c(0x4a3)][_0x108e4c(0x378)](_0x23a8c1)),this[_0x108e4c(0x443)]();}[_0x5152c2(0x420)](_0x53ba25){var _0x59cdf3=_0x5152c2;if(!(this[_0x59cdf3(0x4a3)]instanceof te))throw new TypeError(_0x59cdf3(0x463));const _0x35e44e=_0x53ba25[_0x59cdf3(0x3d9)](_0x6c1942=>{var _0x4b6f5f=_0x59cdf3;const _0x48f27c=this['_compressMutationService'][_0x4b6f5f(0x3ca)][_0x4b6f5f(0x460)](this[_0x4b6f5f(0x246)][_0x4b6f5f(0x3ca)][_0x4b6f5f(0x4b0)]()[_0x4b6f5f(0x3f7)])(_0x6c1942['mutations'],null)||_0x6c1942['mutations'];return{..._0x6c1942,'mutations':_0x48f27c};});this[_0x59cdf3(0x39b)](),this['_updateState'](this[_0x59cdf3(0x4a3)][_0x59cdf3(0x49f)](_0x35e44e)),this[_0x59cdf3(0x443)]();}[_0x5152c2(0x397)](){var _0x40d619=_0x5152c2;this['_lockTransition'](),this[_0x40d619(0x1c2)](this[_0x40d619(0x4a3)][_0x40d619(0x21d)]()),this[_0x40d619(0x443)]();}[_0x5152c2(0x3ff)](_0x451f8a=!0x1){var _0x32ac69=_0x5152c2;this[_0x32ac69(0x39b)](),this[_0x32ac69(0x1c2)](this[_0x32ac69(0x4a3)][_0x32ac69(0x480)]()),this[_0x32ac69(0x443)]();const _0x456272=this[_0x32ac69(0x4a3)];_0x451f8a&&_0x456272 instanceof De&&(this[_0x32ac69(0x39b)](),this[_0x32ac69(0x1c2)](_0x456272[_0x32ac69(0x32f)]()),this[_0x32ac69(0x443)]());}async[_0x5152c2(0x3bc)](){return new Promise(_0x2dbf7f=>{var _0x3e4ae2=_0x4cbe;this[_0x3e4ae2(0x289)][_0x3e4ae2(0x29d)][_0x3e4ae2(0x1ec)](_0x363074(0x1))[_0x3e4ae2(0x3e9)](async _0x751e3d=>{var _0xea496e=_0x3e4ae2;_0x2dbf7f(await this[_0xea496e(0x3b1)](_0x751e3d===Te['ONLINE']));});});}[_0x5152c2(0x261)](){var _0x39a59=_0x5152c2;const _0xedcd4d=this[_0x39a59(0x2f5)];return{'onStateChange':(_0x5c3b73,_0x5bc006)=>{var _0xf63896=_0x39a59;if(_0x5c3b73!==this[_0xf63896(0x4a3)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x5c3b73[_0xf63896(0x387)]+'\x0aAfter:\x20'+_0x5bc006['status']+_0xf63896(0x251)+this[_0xf63896(0x4a3)][_0xf63896(0x387)]);this[_0xf63896(0x1c2)](_0x5bc006);},'onSendChangeset':_0xa4f02f=>{var _0x33ecf0=_0x39a59;_0xa4f02f[_0x33ecf0(0x339)]||(_0xa4f02f[_0x33ecf0(0x339)]=this[_0x33ecf0(0x3f2)],_0xa4f02f[_0x33ecf0(0x2dc)]=++this[_0x33ecf0(0x21a)]);const _0x1a723a={'eventID':_0x193471['SUBMIT_CHANGESET'],'data':{'unitID':_0xa4f02f[_0x33ecf0(0x2f5)],'unitType':this[_0x33ecf0(0x4b8)],'changeset':_0xa4f02f,'memberID':this[_0x33ecf0(0x289)]['getMemberID']()}};this[_0x33ecf0(0x289)][_0x33ecf0(0x415)](_0x1a723a,this[_0x33ecf0(0x2f5)]);},'onMissingChangesets':({from:_0x441c6b,to:_0x5df9db})=>{var _0xf4b8e0=_0x39a59;this[_0xf4b8e0(0x412)][_0xf4b8e0(0x3ec)](_0xf4b8e0(0x484),_0xf4b8e0(0x3ab)+_0x441c6b+_0xf4b8e0(0x4b9)+_0x5df9db);const _0x133855={'eventID':_0x193471['FETCH_MISSING'],'data':{'unitID':_0xedcd4d,'unitType':this[_0xf4b8e0(0x4b8)],'from':_0x441c6b,'to':_0x5df9db}};this[_0xf4b8e0(0x289)][_0xf4b8e0(0x415)](_0x133855,this[_0xf4b8e0(0x2f5)]);}};}async[_0x5152c2(0x3b1)](_0x1c6a4a){var _0x3db460=_0x5152c2,_0xa5a08,_0xc458c7,_0x379330;const _0x1fc1a2=await((_0xa5a08=this[_0x3db460(0x48a)])==null?void 0x0:_0xa5a08['loadOfflineData'](this['unitID'])),_0xe4d51f=(_0xc458c7=_0x1fc1a2==null?void 0x0:_0x1fc1a2[_0x3db460(0x41d)])!=null?_0xc458c7:[],_0x5d2851=(_0x379330=_0x1fc1a2==null?void 0x0:_0x1fc1a2[_0x3db460(0x218)])!=null?_0x379330:null,_0x1d99d9=!!(_0x5d2851!=null&&_0x5d2851[_0x3db460(0x339)])&&!!(_0x5d2851!=null&&_0x5d2851['reqId']);this[_0x3db460(0x3f2)]=_0x1d99d9?_0x5d2851[_0x3db460(0x339)]:sr(),this[_0x3db460(0x21a)]=_0x1d99d9?_0x5d2851[_0x3db460(0x2dc)]:0x0;const _0x221b54=this[_0x3db460(0x2f5)];try{this['_replayCachedMutations'](_0x5d2851,_0xe4d51f);}catch(_0x2f4c00){this[_0x3db460(0x412)][_0x3db460(0x3f5)](_0x2f4c00);}const _0x1e9fe6=this['_createHandler']();if(_0x1c6a4a){const _0x54a73d=Di(this[_0x3db460(0x3b2)],_0x221b54,this['_type'],_0x5d2851,_0xe4d51f,_0x1e9fe6);return _0x54a73d instanceof oe?_0x54a73d[_0x3db460(0x2b8)]():(_0x54a73d instanceof ae||_0x54a73d instanceof ue)&&_0x54a73d[_0x3db460(0x2d2)](),_0x54a73d;}return this[_0x3db460(0x3b2)][_0x3db460(0x2d6)](fe,_0x221b54,this[_0x3db460(0x4b8)],_0x5d2851,_0xe4d51f,_0x1e9fe6);}[_0x5152c2(0x40d)](_0x5b06bf,_0x4c1fcb){var _0x360790=_0x5152c2,_0x54f951,_0x14ac1f;const _0x772129=this[_0x360790(0x246)][_0x360790(0x3ca)][_0x360790(0x460)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x360790(0x3f7)]);(_0x54f951=_0x772129((_0x5b06bf==null?void 0x0:_0x5b06bf[_0x360790(0x41d)])||[],null))==null||_0x54f951[_0x360790(0x20d)](_0x23d1c6=>this[_0x360790(0x3c5)]['executeCommand'](_0x23d1c6['id'],_0x23d1c6[_0x360790(0x2b0)])),(_0x14ac1f=_0x772129(_0x4c1fcb||[],null))==null||_0x14ac1f['forEach'](_0x3514fa=>this['_commandService'][_0x360790(0x479)](_0x3514fa['id'],_0x3514fa[_0x360790(0x2b0)]));}};nt=Lt([k(0x3,_0x49608f(_0x231a09)),k(0x4,_0x49608f(_0x1acbd5)),k(0x5,_0x49608f(_0x1523a1)),k(0x6,_0x49608f(_0x2cf9a7)),k(0x7,_0x49608f(pe)),k(0x8,_0xff0f44),k(0x9,_0x2e8c89),k(0xa,_0x1f08c8),k(0xb,_0x45d56d(ht)),k(0xc,_0x45d56d(J))],nt);let Tt=class extends nt{constructor(_0x49a596,_0x428d32,_0x4819d5,_0x17ab4d,_0x4607c6,_0x4d74c0,_0x45bd5f,_0x97533a,_0x3f00d9,_0x4da459,_0x1c0b29,_0x3a361a,_0x4c9cd0){var _0x8d04a5=_0x5152c2;super(_0x49a596,_0x4819d5,_0x428d32,_0x17ab4d,_0x4607c6,_0x4d74c0,_0x45bd5f,_0x97533a,_0x3f00d9,_0x4da459,_0x1c0b29,_0x3a361a,_0x4c9cd0),N(this,_0x8d04a5(0x32b),null),(this['unitID']=_0x49a596,this[_0x8d04a5(0x3fc)]=_0x428d32);}[_0x5152c2(0x1be)](_0x1ea87d){this['_handlerCallback']=_0x1ea87d;}['dispose'](){var _0x22a041=_0x5152c2;this['_handlerCallback']=null,super[_0x22a041(0x457)]();}[_0x5152c2(0x261)](){var _0x431a8c=_0x5152c2;const _0x5bb56a=super[_0x431a8c(0x261)]();return _0x5bb56a[_0x431a8c(0x2cf)]=_0x5a3b4a=>{var _0x525aca=_0x431a8c,_0x47b618,_0x1cdbee;return(_0x1cdbee=(_0x47b618=this[_0x525aca(0x32b)])==null?void 0x0:_0x47b618[_0x525aca(0x2cf)])==null?void 0x0:_0x1cdbee[_0x525aca(0x33e)](_0x47b618,_0x5a3b4a);},_0x5bb56a[_0x431a8c(0x4ba)]=_0x166600=>{var _0x2ffdab=_0x431a8c,_0x5c35e9,_0x50ef95;return(_0x50ef95=(_0x5c35e9=this[_0x2ffdab(0x32b)])==null?void 0x0:_0x5c35e9['onTransformState'])==null?void 0x0:_0x50ef95[_0x2ffdab(0x33e)](_0x5c35e9,_0x166600);},_0x5bb56a['onTransformSelections']=_0x59497a=>{var _0xebb8f5=_0x431a8c,_0x10fc9f,_0x59bfdb;return(_0x59bfdb=(_0x10fc9f=this[_0xebb8f5(0x32b)])==null?void 0x0:_0x10fc9f[_0xebb8f5(0x346)])==null?void 0x0:_0x59bfdb[_0xebb8f5(0x33e)](_0x10fc9f,_0x59497a);},_0x5bb56a[_0x431a8c(0x3f3)]=_0x5ac6f7=>{var _0x58cee0=_0x431a8c,_0x42b474,_0x415c13;return(_0x415c13=(_0x42b474=this[_0x58cee0(0x32b)])==null?void 0x0:_0x42b474[_0x58cee0(0x3f3)])==null?void 0x0:_0x415c13[_0x58cee0(0x33e)](_0x42b474,_0x5ac6f7);},_0x5bb56a[_0x431a8c(0x2a5)]=_0x3bee81=>{var _0x5ab9f2=_0x431a8c,_0x26bbd0,_0x112656,_0xb530f4;if(!((_0x26bbd0=this['_handlerCallback'])!=null&&_0x26bbd0[_0x5ab9f2(0x2a5)]))throw new Error(_0x5ab9f2(0x327));return(_0xb530f4=(_0x112656=this[_0x5ab9f2(0x32b)])==null?void 0x0:_0x112656[_0x5ab9f2(0x2a5)])==null?void 0x0:_0xb530f4['call'](_0x112656,_0x3bee81);},_0x5bb56a[_0x431a8c(0x2e7)]=_0x125ad2=>{var _0x5689e3=_0x431a8c,_0x3ceab3,_0x16093e,_0x2da119;if(!((_0x3ceab3=this[_0x5689e3(0x32b)])!=null&&_0x3ceab3[_0x5689e3(0x2e7)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2da119=(_0x16093e=this[_0x5689e3(0x32b)])==null?void 0x0:_0x16093e[_0x5689e3(0x2e7)])==null?void 0x0:_0x2da119[_0x5689e3(0x33e)](_0x16093e,_0x125ad2);},_0x5bb56a;}async[_0x5152c2(0x3d4)](){var _0x3fb42a=_0x5152c2;const _0x44ecf5=await super['_init']();return this[_0x3fb42a(0x315)](this[_0x3fb42a(0x3c5)][_0x3fb42a(0x236)]((_0x683e01,_0x12303e)=>{var _0x4adeb7=_0x3fb42a;if(_0x683e01[_0x4adeb7(0x3fc)]!==_0x495d29[_0x4adeb7(0x2ea)]||_0x12303e!=null&&_0x12303e[_0x4adeb7(0x3ad)]||_0x12303e!=null&&_0x12303e[_0x4adeb7(0x34c)]||_0x683e01['id']===_0x1c2dc8['id'])return;const _0x385a82=_0x683e01[_0x4adeb7(0x2b0)];if((_0x385a82==null?void 0x0:_0x385a82[_0x4adeb7(0x1f9)])!==this[_0x4adeb7(0x2f5)])return;const _0x525de2=_0x683e01,_0x19ee6b=this[_0x4adeb7(0x246)][_0x4adeb7(0x3ca)]['fetchThroughInterceptors'](this[_0x4adeb7(0x246)][_0x4adeb7(0x3ca)][_0x4adeb7(0x4b0)]()[_0x4adeb7(0x43d)])([_0x525de2],null)||[_0x525de2];this['_onLocalMutation'](_0x19ee6b[0x0]);})),_0x44ecf5;}};Tt=Lt([k(0x3,_0x49608f(_0x231a09)),k(0x4,_0x49608f(_0x1acbd5)),k(0x5,_0x49608f(_0x1523a1)),k(0x6,_0x49608f(_0x2cf9a7)),k(0x7,_0x49608f(pe)),k(0x8,_0xff0f44),k(0x9,_0x2e8c89),k(0xa,_0x1f08c8),k(0xb,_0x45d56d(ht)),k(0xc,_0x45d56d(J))],Tt);let Ct=class extends nt{constructor(_0x13aec3,_0x54c7d2,_0x1bb004,_0x2af3de,_0x5e9b2a,_0x470629,_0x2be7c2,_0x244b51,_0x12771b,_0x155cde,_0x4388b8,_0x1c17a1,_0x2706db,_0x567a8e){var _0x3cfef9=_0x5152c2;super(_0x13aec3,_0x1bb004,_0x54c7d2,_0x2af3de,_0x5e9b2a,_0x470629,_0x2be7c2,_0x12771b,_0x155cde,_0x4388b8,_0x1c17a1,_0x2706db,_0x567a8e),this['unitID']=_0x13aec3,this[_0x3cfef9(0x3fc)]=_0x54c7d2,this[_0x3cfef9(0x273)]=_0x244b51;}[_0x5152c2(0x261)](){var _0x484072=_0x5152c2;const _0x264958=super[_0x484072(0x261)]();return _0x264958[_0x484072(0x346)]=_0x4d6f4f=>this[_0x484072(0x273)]['transformSelections'](_0x4d6f4f),_0x264958;}async[_0x5152c2(0x3d4)](){var _0x462adb=_0x5152c2;const _0x138948=await super[_0x462adb(0x3d4)]();return this[_0x462adb(0x315)](this[_0x462adb(0x3c5)]['onCommandExecuted']((_0x59f311,_0x1da200)=>{var _0x49518d=_0x462adb;if(_0x59f311['type']!==_0x495d29[_0x49518d(0x2ea)]||_0x1da200!=null&&_0x1da200[_0x49518d(0x3ad)]||_0x1da200!=null&&_0x1da200[_0x49518d(0x34c)])return;const _0xf2e7d2=_0x59f311['params'];if((_0xf2e7d2==null?void 0x0:_0xf2e7d2[_0x49518d(0x1f9)])!==this[_0x49518d(0x2f5)])return;const _0xfb4fec=_0x59f311,_0x2d0564=this['_compressMutationService'][_0x49518d(0x3ca)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x49518d(0x3ca)][_0x49518d(0x4b0)]()['COMPRESS_MUTATION_SEND'])([_0xfb4fec],null)||[_0xfb4fec];this[_0x49518d(0x419)](_0x2d0564[0x0]);})),_0x138948;}};Ct=Lt([k(0x3,_0x49608f(_0x231a09)),k(0x4,_0x49608f(_0x1acbd5)),k(0x5,_0x49608f(_0x1523a1)),k(0x6,_0x49608f(_0x2cf9a7)),k(0x7,_0x49608f(it)),k(0x8,_0x49608f(pe)),k(0x9,_0xff0f44),k(0xa,_0x2e8c89),k(0xb,_0x1f08c8),k(0xc,_0x45d56d(ht)),k(0xd,_0x45d56d(J))],Ct);var mr=Object['defineProperty'],gr=Object['getOwnPropertyDescriptor'],Sr=(_0x5331ca,_0x20ceb1,_0x5edc7c,_0x464bdd)=>{var _0x4be826=_0x5152c2;for(var _0x3975fe=_0x464bdd>0x1?void 0x0:_0x464bdd?gr(_0x20ceb1,_0x5edc7c):_0x20ceb1,_0x5892d0=_0x5331ca[_0x4be826(0x445)]-0x1,_0x2631a5;_0x5892d0>=0x0;_0x5892d0--)(_0x2631a5=_0x5331ca[_0x5892d0])&&(_0x3975fe=(_0x464bdd?_0x2631a5(_0x20ceb1,_0x5edc7c,_0x3975fe):_0x2631a5(_0x3975fe))||_0x3975fe);return _0x464bdd&&_0x3975fe&&mr(_0x20ceb1,_0x5edc7c,_0x3975fe),_0x3975fe;},ft=(_0x280d69,_0x4c23f2)=>(_0x249010,_0x4c0ff2)=>_0x4c23f2(_0x249010,_0x4c0ff2,_0x280d69);let rt=class extends _0x6a3296{constructor(_0x478c63,_0x169e99,_0x4a7d5c){var _0x24da86=_0x5152c2;super(),N(this,_0x24da86(0x286),new Map()),N(this,_0x24da86(0x2af),new _0x177b7c()),N(this,_0x24da86(0x3bd),this[_0x24da86(0x2af)][_0x24da86(0x377)]()),(this[_0x24da86(0x3b2)]=_0x478c63,this[_0x24da86(0x260)]=_0x169e99,this[_0x24da86(0x30c)]=_0x4a7d5c,this[_0x24da86(0x3d4)]());}[_0x5152c2(0x457)](){var _0x2a5024=_0x5152c2;super[_0x2a5024(0x457)](),this['_entities'][_0x2a5024(0x20d)](_0x3bb4ba=>_0x3bb4ba[_0x2a5024(0x457)]()),this[_0x2a5024(0x286)][_0x2a5024(0x217)]();}[_0x5152c2(0x461)](_0x53746c){var _0x4ea9d9=_0x5152c2,_0x549e0d;return(_0x549e0d=this[_0x4ea9d9(0x286)]['get'](_0x53746c))!=null?_0x549e0d:null;}[_0x5152c2(0x477)](_0x5862ff){var _0x3a3977=_0x5152c2;const _0x492441=this['getCollabEntity'](_0x5862ff);return _0x492441?_0x437847(_0x492441):this[_0x3a3977(0x2af)][_0x3a3977(0x1ec)](_0x21f3f7(_0x39955f=>_0x39955f['unitID']===_0x5862ff));}[_0x5152c2(0x1ba)](_0x191836){var _0x12629a=_0x5152c2;return _0xe4ea83(this[_0x12629a(0x477)](_0x191836)['pipe'](_0x56d39f(()=>{})));}[_0x5152c2(0x3d4)](){var _0x396839=_0x5152c2;this['_univerInstanceService'][_0x396839(0x350)](_0x3502ae['UNIVER_SHEET'])[_0x396839(0x1ec)](_0x11cdca(this[_0x396839(0x3c6)]),_0x5d8334(0x10))[_0x396839(0x3e9)](async _0x4ba047=>{var _0x5b5e20=_0x396839;const _0x1ee787=_0x4ba047[_0x5b5e20(0x288)](),_0x5a995e=await this[_0x5b5e20(0x1b2)](_0x1ee787,Q[_0x5b5e20(0x332)]);this[_0x5b5e20(0x286)][_0x5b5e20(0x498)](_0x1ee787,_0x5a995e);}),this[_0x396839(0x30c)]['getTypeOfUnitAdded$'](_0x3502ae[_0x396839(0x465)])[_0x396839(0x1ec)](_0x11cdca(this[_0x396839(0x3c6)]),_0x5d8334(0x10))[_0x396839(0x1ec)](_0x21f3f7(_0x2b34e2=>!_0x2b34e2[_0x396839(0x288)]()[_0x396839(0x3e4)]('__')))[_0x396839(0x3e9)](async _0x1290c0=>{var _0x4fd9be=_0x396839;const _0x158df4=_0x1290c0[_0x4fd9be(0x288)](),_0x456b09=await this[_0x4fd9be(0x1b2)](_0x158df4,Q[_0x4fd9be(0x465)]);this[_0x4fd9be(0x286)][_0x4fd9be(0x498)](_0x158df4,_0x456b09);}),_0x3c049a(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x3502ae[_0x396839(0x332)]),this[_0x396839(0x30c)][_0x396839(0x49c)](_0x3502ae[_0x396839(0x465)]))[_0x396839(0x1ec)](_0x11cdca(this[_0x396839(0x3c6)]))[_0x396839(0x3e9)](_0x289aab=>{var _0x3a0b0f=_0x396839;const _0x5ce7a7=_0x289aab['getUnitId'](),_0x313223=this[_0x3a0b0f(0x286)][_0x3a0b0f(0x3fb)](_0x5ce7a7);_0x313223&&(_0x313223[_0x3a0b0f(0x457)](),this[_0x3a0b0f(0x286)][_0x3a0b0f(0x2fc)](_0x5ce7a7));});}async['_startCollaboration'](_0x5ca7e7,_0x1c491d){var _0x3f8cd8=_0x5152c2;const _0x47dc87=await this[_0x3f8cd8(0x260)][_0x3f8cd8(0x3a0)](_0x5ca7e7),_0x27b37a=this['_injector']['createInstance'](this[_0x3f8cd8(0x294)](_0x1c491d),_0x5ca7e7,_0x1c491d,_0x47dc87);return await _0x27b37a[_0x3f8cd8(0x2c2)](),this[_0x3f8cd8(0x2af)][_0x3f8cd8(0x2d8)](_0x27b37a),_0x27b37a;}[_0x5152c2(0x294)](_0x4bb1e7){var _0xf04e5=_0x5152c2;switch(_0x4bb1e7){case Q[_0xf04e5(0x465)]:return Tt;case Q[_0xf04e5(0x332)]:return Ct;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x4bb1e7);}}};rt=Sr([ft(0x0,_0x49608f(_0x231a09)),ft(0x1,_0x49608f(Le)),ft(0x2,_0x1eeb0a)],rt);var Er=Object['defineProperty'],Ir=Object[_0x5152c2(0x37e)],Tr=(_0xa384f8,_0x3af5d9,_0x2a6a27,_0x9cd7d8)=>{for(var _0x26230b=_0x9cd7d8>0x1?void 0x0:_0x9cd7d8?Ir(_0x3af5d9,_0x2a6a27):_0x3af5d9,_0x23630d=_0xa384f8['length']-0x1,_0x451e73;_0x23630d>=0x0;_0x23630d--)(_0x451e73=_0xa384f8[_0x23630d])&&(_0x26230b=(_0x9cd7d8?_0x451e73(_0x3af5d9,_0x2a6a27,_0x26230b):_0x451e73(_0x26230b))||_0x26230b);return _0x9cd7d8&&_0x26230b&&Er(_0x3af5d9,_0x2a6a27,_0x26230b),_0x26230b;},Jt=(_0x401883,_0x5cb8e9)=>(_0x430577,_0x4abc32)=>_0x5cb8e9(_0x430577,_0x4abc32,_0x401883);const Cr='DEFAULT_FILE_NAME',Rr=_0x5152c2(0x228);let Rt=class extends _0x319548{constructor(_0x4e623b,_0x316759){var _0x2d3569=_0x5152c2;super(),this[_0x2d3569(0x30c)]=_0x4e623b,this[_0x2d3569(0x3f9)]=_0x316759,this['_init']();}[_0x5152c2(0x3d4)](){var _0x157f91=_0x5152c2;this[_0x157f91(0x315)](this[_0x157f91(0x30c)]['focused$'][_0x157f91(0x3e9)](()=>{var _0x2b51cb=_0x157f91,_0x5f2ef6;const _0x1eba9f=this[_0x2b51cb(0x30c)][_0x2b51cb(0x364)]();let _0x447c04=(_0x5f2ef6=this[_0x2b51cb(0x3f9)][_0x2b51cb(0x4a9)](Cr))!=null?_0x5f2ef6:Rr;_0x1eba9f instanceof _0x3ae0c5&&(_0x447c04=_0x1eba9f['name']),document[_0x2b51cb(0x3cb)]=_0x447c04;}));}};Rt=Tr([Jt(0x0,_0x1eeb0a),Jt(0x1,_0x398800)],Rt);var br=Object['defineProperty'],Or=Object[_0x5152c2(0x37e)],yr=(_0x58eb90,_0x5adab5,_0x505696,_0xdb2c95)=>{var _0x3b8a63=_0x5152c2;for(var _0x246678=_0xdb2c95>0x1?void 0x0:_0xdb2c95?Or(_0x5adab5,_0x505696):_0x5adab5,_0x104914=_0x58eb90[_0x3b8a63(0x445)]-0x1,_0x140fda;_0x104914>=0x0;_0x104914--)(_0x140fda=_0x58eb90[_0x104914])&&(_0x246678=(_0xdb2c95?_0x140fda(_0x5adab5,_0x505696,_0x246678):_0x140fda(_0x246678))||_0x246678);return _0xdb2c95&&_0x246678&&br(_0x5adab5,_0x505696,_0x246678),_0x246678;},vt=(_0x285854,_0x269a14)=>(_0x2e16af,_0x57892d)=>_0x269a14(_0x2e16af,_0x57892d,_0x285854);let st=class{constructor(_0x2f3cc5,_0x15e05e,_0x4a60da){var _0x206b3b=_0x5152c2;this[_0x206b3b(0x3f9)]=_0x2f3cc5,this['_httpService']=_0x15e05e,this[_0x206b3b(0x362)]=_0x4a60da,this[_0x206b3b(0x2c2)]();}[_0x5152c2(0x2c2)](){var _0x5d9fa5=_0x5152c2;this[_0x5d9fa5(0x418)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x14c7dc,_0x3f0d00)=>_0x3f0d00(_0x14c7dc)[_0x5d9fa5(0x1ec)](_0x419e8d(async _0x548fbe=>{var _0x406800=_0x5d9fa5;const _0x22179d=_0x548fbe;if(_0x22179d[_0x406800(0x387)]===0x191){if(typeof window>'u')throw new Error(_0x406800(0x353));if(window[_0x406800(0x29f)](this[_0x406800(0x362)]['t'](_0x406800(0x424)))){const _0x24279a=window['encodeURIComponent'](window['location'][_0x406800(0x46d)]);window['location'][_0x406800(0x46d)]=this['_getLoginPath']()+_0x406800(0x1cd)+_0x24279a;}}return _0x22179d;}))});}[_0x5152c2(0x2a0)](){var _0x45ca6c=_0x5152c2,_0x26c5be,_0x333a52;const _0x5bfaf5=this[_0x45ca6c(0x3f9)][_0x45ca6c(0x4a9)](xn),_0x536ee6=this['_configService'][_0x45ca6c(0x4a9)](q);return(_0x333a52=(_0x26c5be=_0x536ee6==null?void 0x0:_0x536ee6[_0x45ca6c(0x208)])!=null?_0x26c5be:_0x5bfaf5)!=null?_0x333a52:Ln;}};st=yr([vt(0x0,_0x398800),vt(0x1,_0x49608f(_0xb59977)),vt(0x2,_0x49608f(_0x1523a1))],st);var Nr=Object[_0x5152c2(0x490)],Dr=Object['getOwnPropertyDescriptor'],Pr=(_0x545bf0,_0x5d91a6,_0xcf1d81,_0xf6af74)=>{for(var _0x43004f=_0xf6af74>0x1?void 0x0:_0xf6af74?Dr(_0x5d91a6,_0xcf1d81):_0x5d91a6,_0x247a26=_0x545bf0['length']-0x1,_0x3d9d34;_0x247a26>=0x0;_0x247a26--)(_0x3d9d34=_0x545bf0[_0x247a26])&&(_0x43004f=(_0xf6af74?_0x3d9d34(_0x5d91a6,_0xcf1d81,_0x43004f):_0x3d9d34(_0x43004f))||_0x43004f);return _0xf6af74&&_0x43004f&&Nr(_0x5d91a6,_0xcf1d81,_0x43004f),_0x43004f;},Xt=(_0x7abd46,_0x51eab5)=>(_0x1c5000,_0x480b6e)=>_0x51eab5(_0x1c5000,_0x480b6e,_0x7abd46);const Pi=_0x5152c2(0x2f7),wr=_0x5152c2(0x318);let bt=class extends _0x319548{constructor(_0xeeadc7,_0x38e2a9){var _0x5ecaaa=_0x5152c2;super(),this[_0x5ecaaa(0x2b1)]=_0xeeadc7,this[_0x5ecaaa(0x3f9)]=_0x38e2a9,this[_0x5ecaaa(0x1d9)]();}[_0x5152c2(0x1d9)](){var _0x5bd164=_0x5152c2;const _0x359da3=this;this[_0x5bd164(0x315)](this['_HTTPService'][_0x5bd164(0x38c)]({'priority':0x3e7,'interceptor':_0x3f482b({'isMatch'(_0x22dfd8){var _0x271beb=_0x5bd164,_0x56f41a;if(_0x22dfd8[_0x271beb(0x308)]===_0x271beb(0x34f)&&((_0x56f41a=_0x22dfd8[_0x271beb(0x258)])!=null&&_0x56f41a['body'])){const {objectID:_0x587f6f,objectType:_0x5debaa}=_0x22dfd8[_0x271beb(0x258)][_0x271beb(0x284)]||{};if(!_0x587f6f||_0x5debaa===void 0x0)return!0x1;const _0x1b8db1=_0x359da3['_getAPIPrefixPath']()+'/'+_0x5debaa+_0x271beb(0x3da)+_0x587f6f+_0x271beb(0x482);if(_0x22dfd8[_0x271beb(0x304)]===_0x1b8db1)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x103998){var _0x57926c=_0x5bd164,_0x1dc311;return(_0x1dc311=_0x103998[_0x57926c(0x258)])==null?void 0x0:_0x1dc311[_0x57926c(0x284)];},'mergeParamsToRequest'(_0x104dff,_0x46aaa2){var _0x549af9=_0x5bd164;const _0x5bb785=_0x359da3[_0x549af9(0x26f)]()+_0x549af9(0x471),_0x2f79b6=_0x104dff[_0x549af9(0x36b)]((_0x4308f4,_0x4b8283)=>{var _0x15fa9a=_0x549af9;const {unitID:_0xd1b836,objectID:_0x416f73,objectType:_0x5801da,actions:_0x3b003c}=_0x4b8283;return _0x4308f4[_0xd1b836]||(_0x4308f4[_0xd1b836]={}),_0x4308f4[_0xd1b836][_0x416f73]||(_0x4308f4[_0xd1b836][_0x416f73]={'objectID':_0x416f73,'objectType':_0x5801da,'actions':[]}),_0x4308f4[_0xd1b836][_0x416f73][_0x15fa9a(0x43b)][_0x15fa9a(0x3a9)](..._0x3b003c),_0x4308f4;},{}),_0x5eaae8=[];for(const _0x386383 in _0x2f79b6)for(const _0x443468 in _0x2f79b6[_0x386383]){const {actions:_0x4272c4,objectType:_0x3128c3}=_0x2f79b6[_0x386383][_0x443468],_0x27f1e1=[...new Set(_0x4272c4)];_0x5eaae8['push']({'unitID':_0x386383,'objectID':_0x443468,'objectType':_0x3128c3,'actions':_0x27f1e1});}return new _0x2c6783('POST',_0x5bb785,{'headers':_0x46aaa2[_0x549af9(0x2c3)],'withCredentials':_0x46aaa2[_0x549af9(0x355)],'responseType':_0x46aaa2[_0x549af9(0x3a4)],'body':{'requests':_0x5eaae8}});}},{'distributeResult'(_0x470eec,_0xcb5b66){const {objectActions:_0x2b4777}=_0x470eec;return _0xcb5b66['map'](_0xbf20eb=>{var _0x2fc348=_0x4cbe;const {unitID:_0x3cbaed,objectID:_0x57644f,actions:_0x18b016}=_0xbf20eb,_0x53a2e8=_0x2b4777['find'](_0x50e1c2=>_0x50e1c2['unitID']===_0x3cbaed&&_0x50e1c2[_0x2fc348(0x39d)]===_0x57644f),_0x432121=_0x18b016['map'](_0x352fd5=>_0x53a2e8==null?void 0x0:_0x53a2e8['actions']['find'](_0x1adc09=>_0x1adc09[_0x2fc348(0x3af)]===_0x352fd5))[_0x2fc348(0x410)](_0x110e8b=>!!_0x110e8b);return{'config':_0xbf20eb,'result':{'actions':_0x432121,'error':_0x470eec['error']}};});}})}));}[_0x5152c2(0x26f)](){var _0x48339a=_0x5152c2,_0x488e73,_0x1aa38e;const _0x4d3df0=this[_0x48339a(0x3f9)][_0x48339a(0x4a9)](Pi),_0x88e477=this[_0x48339a(0x3f9)]['getConfig'](q);return(_0x1aa38e=(_0x488e73=_0x88e477==null?void 0x0:_0x88e477['authzUrl'])!=null?_0x488e73:_0x4d3df0)!=null?_0x1aa38e:wr;}async['create'](_0x20342f){var _0x626f0b=_0x5152c2;const _0x54fc2f=this[_0x626f0b(0x26f)]()+'/'+_0x20342f['objectType']+_0x626f0b(0x33c);return(await this[_0x626f0b(0x2b1)][_0x626f0b(0x2bd)](_0x54fc2f,{'body':_0x20342f}))['body'][_0x626f0b(0x39d)]||'';}async[_0x5152c2(0x269)](_0x51e865){var _0x17422f=_0x5152c2;const _0x349273=this[_0x17422f(0x26f)]()+_0x17422f(0x2d7);return(await this['_HTTPService']['post'](_0x349273,{'body':_0x51e865}))[_0x17422f(0x284)][_0x17422f(0x31e)];}async[_0x5152c2(0x438)](_0x3478f0){var _0x4c9067=_0x5152c2;const _0xcc123a=this['_getAPIPrefixPath']()+'/'+_0x3478f0[_0x4c9067(0x429)]+_0x4c9067(0x3da)+_0x3478f0[_0x4c9067(0x39d)];await this[_0x4c9067(0x2b1)][_0x4c9067(0x3d5)](_0xcc123a,{'body':_0x3478f0});}async[_0x5152c2(0x264)](_0x8cc334){var _0x2f556d=_0x5152c2;const _0x1a9a73=this[_0x2f556d(0x26f)]()+'/'+_0x8cc334[_0x2f556d(0x429)]+'/object/'+_0x8cc334['objectID']+_0x2f556d(0x482);return(await this[_0x2f556d(0x2b1)][_0x2f556d(0x2bd)](_0x1a9a73,{'body':_0x8cc334}))[_0x2f556d(0x284)][_0x2f556d(0x43b)];}async[_0x5152c2(0x4a2)](_0x26aca6){var _0x39288f=_0x5152c2;const _0x14dbf6=this[_0x39288f(0x26f)]()+_0x39288f(0x471);return(await this[_0x39288f(0x2b1)]['post'](_0x14dbf6,{'body':{'requests':_0x26aca6}}))[_0x39288f(0x284)]['objectActions'];}async[_0x5152c2(0x1ce)](_0x366e0b){var _0x3b08bc=_0x5152c2;const _0x19b079=this['_getAPIPrefixPath']()+'/'+_0x366e0b[_0x3b08bc(0x429)]+_0x3b08bc(0x2ad),_0x53b9c9=await this[_0x3b08bc(0x2b1)][_0x3b08bc(0x2bd)](_0x19b079,{'body':_0x366e0b});return{'roles':_0x53b9c9[_0x3b08bc(0x284)][_0x3b08bc(0x23b)],'actions':_0x53b9c9[_0x3b08bc(0x284)]['actions']};}async[_0x5152c2(0x310)](_0xa30cb9){var _0x4d8490=_0x5152c2;const _0x57cce1=this[_0x4d8490(0x26f)]()+_0x4d8490(0x31b);await this[_0x4d8490(0x2b1)][_0x4d8490(0x2fc)](_0x57cce1,{'params':{'collaboratorID':_0xa30cb9[_0x4d8490(0x47a)],'objectID':_0xa30cb9[_0x4d8490(0x39d)],'unitID':_0xa30cb9[_0x4d8490(0x2f5)]}});}async[_0x5152c2(0x20f)](_0x20d793){var _0x2ad7d4=_0x5152c2;const _0x8c405f=this[_0x2ad7d4(0x26f)]()+_0x2ad7d4(0x31b);await this[_0x2ad7d4(0x2b1)][_0x2ad7d4(0x210)](_0x8c405f,{'body':_0x20d793});}async['createCollaborator'](_0x1f6892){var _0x304249=_0x5152c2;const _0x559617=this[_0x304249(0x26f)]()+_0x304249(0x31b);await this[_0x304249(0x2b1)]['post'](_0x559617,{'body':_0x1f6892});}async[_0x5152c2(0x391)](_0x5efcba){var _0x30815e=_0x5152c2;const _0x507094=this[_0x30815e(0x26f)]()+_0x30815e(0x31b);return(await this[_0x30815e(0x2b1)][_0x30815e(0x3fb)](_0x507094,{'params':{'objectID':_0x5efcba[_0x30815e(0x39d)],'unitID':_0x5efcba[_0x30815e(0x2f5)]}}))[_0x30815e(0x284)]['collaborators'];}async[_0x5152c2(0x4ab)](_0x29c53f){var _0x1df8d1=_0x5152c2;const _0x213d2e=this[_0x1df8d1(0x26f)]()+_0x1df8d1(0x31b);await this['_HTTPService'][_0x1df8d1(0x3d5)](_0x213d2e,{'body':_0x29c53f});}};bt=Pr([Xt(0x0,_0x49608f(_0xb59977)),Xt(0x1,_0x49608f(_0x398800))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x2adcec){var _0x144fa3=_0x5152c2;return _0x2adcec&&_0x2adcec[_0x144fa3(0x37a)]&&Object[_0x144fa3(0x226)][_0x144fa3(0x37d)][_0x144fa3(0x33e)](_0x2adcec,_0x144fa3(0x283))?_0x2adcec[_0x144fa3(0x283)]:_0x2adcec;}var Ve={'exports':{}};function Ur(_0x3ec0e7){var _0x533993=_0x5152c2;throw new Error(_0x533993(0x271)+_0x3ec0e7+_0x533993(0x200));}var Ge={'exports':{}},Ar=Ge[_0x5152c2(0x370)],Zt;function ne(){var _0xb2d7da=_0x5152c2;return Zt||(Zt=0x1,function(_0xcc30a8,_0x2d1839){(function(_0x3dfc33,_0xcda97){var _0x2fe29e=_0x4cbe;_0xcc30a8[_0x2fe29e(0x370)]=_0xcda97();}(Ar,function(){var _0x515683=_0x515683||function(_0x5845ac,_0x5a139f){var _0x3e6b35=_0x4cbe,_0x285d86;if(typeof window<'u'&&window[_0x3e6b35(0x2c7)]&&(_0x285d86=window['crypto']),typeof self<'u'&&self[_0x3e6b35(0x2c7)]&&(_0x285d86=self[_0x3e6b35(0x2c7)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x285d86=globalThis[_0x3e6b35(0x2c7)]),!_0x285d86&&typeof window<'u'&&window['msCrypto']&&(_0x285d86=window[_0x3e6b35(0x43c)]),!_0x285d86&&typeof pt<'u'&&pt[_0x3e6b35(0x2c7)]&&(_0x285d86=pt[_0x3e6b35(0x2c7)]),!_0x285d86&&typeof Ur==_0x3e6b35(0x2d3))try{_0x285d86=require(_0x3e6b35(0x2c7));}catch{}var _0x1d1b89=function(){var _0x1cd6a3=_0x3e6b35;if(_0x285d86){if(typeof _0x285d86[_0x1cd6a3(0x49b)]=='function')try{return _0x285d86[_0x1cd6a3(0x49b)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x285d86['randomBytes']==_0x1cd6a3(0x2d3))try{return _0x285d86[_0x1cd6a3(0x3bb)](0x4)[_0x1cd6a3(0x3a1)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3cb18e=Object['create']||(function(){function _0x44967e(){}return function(_0x515ece){var _0x5748eb=_0x4cbe,_0x2a9973;return _0x44967e[_0x5748eb(0x226)]=_0x515ece,_0x2a9973=new _0x44967e(),_0x44967e[_0x5748eb(0x226)]=null,_0x2a9973;};}()),_0x1bfbe2={},_0x44cebc=_0x1bfbe2[_0x3e6b35(0x476)]={},_0x11e949=_0x44cebc[_0x3e6b35(0x24a)]=(function(){return{'extend':function(_0xecbaee){var _0x44b885=_0x4cbe,_0x18848c=_0x3cb18e(this);return _0xecbaee&&_0x18848c[_0x44b885(0x38b)](_0xecbaee),(!_0x18848c[_0x44b885(0x37d)](_0x44b885(0x2c2))||this['init']===_0x18848c[_0x44b885(0x2c2)])&&(_0x18848c[_0x44b885(0x2c2)]=function(){var _0x20e2c7=_0x44b885;_0x18848c[_0x20e2c7(0x2f9)][_0x20e2c7(0x2c2)]['apply'](this,arguments);}),_0x18848c['init'][_0x44b885(0x226)]=_0x18848c,_0x18848c['$super']=this,_0x18848c;},'create':function(){var _0x574422=_0x4cbe,_0x3b9f5a=this[_0x574422(0x22b)]();return _0x3b9f5a[_0x574422(0x2c2)][_0x574422(0x45c)](_0x3b9f5a,arguments),_0x3b9f5a;},'init':function(){},'mixIn':function(_0x5a9842){var _0x3b165e=_0x4cbe;for(var _0x9ec586 in _0x5a9842)_0x5a9842[_0x3b165e(0x37d)](_0x9ec586)&&(this[_0x9ec586]=_0x5a9842[_0x9ec586]);_0x5a9842[_0x3b165e(0x37d)]('toString')&&(this[_0x3b165e(0x28b)]=_0x5a9842['toString']);},'clone':function(){var _0x53319a=_0x4cbe;return this[_0x53319a(0x2c2)][_0x53319a(0x226)]['extend'](this);}};}()),_0xf928bd=_0x44cebc['WordArray']=_0x11e949[_0x3e6b35(0x22b)]({'init':function(_0x196d9d,_0x476870){var _0x5f4aab=_0x3e6b35;_0x196d9d=this[_0x5f4aab(0x26e)]=_0x196d9d||[],_0x476870!=_0x5a139f?this['sigBytes']=_0x476870:this[_0x5f4aab(0x206)]=_0x196d9d[_0x5f4aab(0x445)]*0x4;},'toString':function(_0x5c7434){var _0x3e6414=_0x3e6b35;return(_0x5c7434||_0xfbbc6e)[_0x3e6414(0x45a)](this);},'concat':function(_0x3308e7){var _0x5423c4=_0x3e6b35,_0x378a27=this[_0x5423c4(0x26e)],_0xa267a2=_0x3308e7[_0x5423c4(0x26e)],_0x2fd3ea=this[_0x5423c4(0x206)],_0x13cee1=_0x3308e7[_0x5423c4(0x206)];if(this[_0x5423c4(0x401)](),_0x2fd3ea%0x4)for(var _0x40506c=0x0;_0x40506c<_0x13cee1;_0x40506c++){var _0x16b0f6=_0xa267a2[_0x40506c>>>0x2]>>>0x18-_0x40506c%0x4*0x8&0xff;_0x378a27[_0x2fd3ea+_0x40506c>>>0x2]|=_0x16b0f6<<0x18-(_0x2fd3ea+_0x40506c)%0x4*0x8;}else{for(var _0x311449=0x0;_0x311449<_0x13cee1;_0x311449+=0x4)_0x378a27[_0x2fd3ea+_0x311449>>>0x2]=_0xa267a2[_0x311449>>>0x2];}return this['sigBytes']+=_0x13cee1,this;},'clamp':function(){var _0x2df29d=_0x3e6b35,_0x167a3d=this[_0x2df29d(0x26e)],_0x238784=this[_0x2df29d(0x206)];_0x167a3d[_0x238784>>>0x2]&=0xffffffff<<0x20-_0x238784%0x4*0x8,_0x167a3d['length']=_0x5845ac[_0x2df29d(0x27b)](_0x238784/0x4);},'clone':function(){var _0x5b4ca8=_0x3e6b35,_0x1e82f8=_0x11e949['clone'][_0x5b4ca8(0x33e)](this);return _0x1e82f8[_0x5b4ca8(0x26e)]=this['words']['slice'](0x0),_0x1e82f8;},'random':function(_0x5735e6){var _0x11f08b=_0x3e6b35;for(var _0x51ecc5=[],_0x258410=0x0;_0x258410<_0x5735e6;_0x258410+=0x4)_0x51ecc5[_0x11f08b(0x3a9)](_0x1d1b89());return new _0xf928bd['init'](_0x51ecc5,_0x5735e6);}}),_0x30f142=_0x1bfbe2['enc']={},_0xfbbc6e=_0x30f142[_0x3e6b35(0x493)]={'stringify':function(_0x46c319){var _0x594b9c=_0x3e6b35;for(var _0x703d88=_0x46c319[_0x594b9c(0x26e)],_0x4ac1c4=_0x46c319[_0x594b9c(0x206)],_0x4c12c6=[],_0x47af26=0x0;_0x47af26<_0x4ac1c4;_0x47af26++){var _0x35acd5=_0x703d88[_0x47af26>>>0x2]>>>0x18-_0x47af26%0x4*0x8&0xff;_0x4c12c6[_0x594b9c(0x3a9)]((_0x35acd5>>>0x4)[_0x594b9c(0x28b)](0x10)),_0x4c12c6['push']((_0x35acd5&0xf)['toString'](0x10));}return _0x4c12c6['join']('');},'parse':function(_0x35e49e){var _0x48ca4c=_0x3e6b35;for(var _0x39f445=_0x35e49e[_0x48ca4c(0x445)],_0x22de4f=[],_0x3eb4ab=0x0;_0x3eb4ab<_0x39f445;_0x3eb4ab+=0x2)_0x22de4f[_0x3eb4ab>>>0x3]|=parseInt(_0x35e49e[_0x48ca4c(0x1e3)](_0x3eb4ab,0x2),0x10)<<0x18-_0x3eb4ab%0x8*0x4;return new _0xf928bd['init'](_0x22de4f,_0x39f445/0x2);}},_0xa47a74=_0x30f142['Latin1']={'stringify':function(_0x4b9a71){var _0x44d059=_0x3e6b35;for(var _0x2edae7=_0x4b9a71['words'],_0x381642=_0x4b9a71[_0x44d059(0x206)],_0x44d089=[],_0x3de30a=0x0;_0x3de30a<_0x381642;_0x3de30a++){var _0x1e2b48=_0x2edae7[_0x3de30a>>>0x2]>>>0x18-_0x3de30a%0x4*0x8&0xff;_0x44d089[_0x44d059(0x3a9)](String['fromCharCode'](_0x1e2b48));}return _0x44d089[_0x44d059(0x2e6)]('');},'parse':function(_0x3e65b9){var _0x1554f2=_0x3e6b35;for(var _0x10747e=_0x3e65b9['length'],_0x2ab4c8=[],_0x35ca46=0x0;_0x35ca46<_0x10747e;_0x35ca46++)_0x2ab4c8[_0x35ca46>>>0x2]|=(_0x3e65b9['charCodeAt'](_0x35ca46)&0xff)<<0x18-_0x35ca46%0x4*0x8;return new _0xf928bd[(_0x1554f2(0x2c2))](_0x2ab4c8,_0x10747e);}},_0x48ca24=_0x30f142[_0x3e6b35(0x233)]={'stringify':function(_0x5d911e){var _0x3afc1a=_0x3e6b35;try{return decodeURIComponent(escape(_0xa47a74['stringify'](_0x5d911e)));}catch{throw new Error(_0x3afc1a(0x35b));}},'parse':function(_0x11ce57){var _0x322432=_0x3e6b35;return _0xa47a74[_0x322432(0x41e)](unescape(encodeURIComponent(_0x11ce57)));}},_0xf4d24=_0x44cebc[_0x3e6b35(0x28f)]=_0x11e949['extend']({'reset':function(){var _0x9f34a=_0x3e6b35;this['_data']=new _0xf928bd[(_0x9f34a(0x2c2))](),this['_nDataBytes']=0x0;},'_append':function(_0x152add){var _0x32d971=_0x3e6b35;typeof _0x152add==_0x32d971(0x1d6)&&(_0x152add=_0x48ca24[_0x32d971(0x41e)](_0x152add)),this[_0x32d971(0x297)][_0x32d971(0x374)](_0x152add),this['_nDataBytes']+=_0x152add[_0x32d971(0x206)];},'_process':function(_0x39741f){var _0x782853=_0x3e6b35,_0x406def,_0x5bbb54=this[_0x782853(0x297)],_0x20467d=_0x5bbb54['words'],_0x569653=_0x5bbb54[_0x782853(0x206)],_0x2aabcc=this[_0x782853(0x36f)],_0x17cdfe=_0x2aabcc*0x4,_0x39b5e2=_0x569653/_0x17cdfe;_0x39741f?_0x39b5e2=_0x5845ac[_0x782853(0x27b)](_0x39b5e2):_0x39b5e2=_0x5845ac[_0x782853(0x451)]((_0x39b5e2|0x0)-this[_0x782853(0x4bd)],0x0);var _0x1af907=_0x39b5e2*_0x2aabcc,_0x41846e=_0x5845ac[_0x782853(0x326)](_0x1af907*0x4,_0x569653);if(_0x1af907){for(var _0x5a4d21=0x0;_0x5a4d21<_0x1af907;_0x5a4d21+=_0x2aabcc)this[_0x782853(0x421)](_0x20467d,_0x5a4d21);_0x406def=_0x20467d[_0x782853(0x2ba)](0x0,_0x1af907),_0x5bbb54[_0x782853(0x206)]-=_0x41846e;}return new _0xf928bd[(_0x782853(0x2c2))](_0x406def,_0x41846e);},'clone':function(){var _0x41cc6f=_0x3e6b35,_0x41722b=_0x11e949[_0x41cc6f(0x428)][_0x41cc6f(0x33e)](this);return _0x41722b[_0x41cc6f(0x297)]=this[_0x41cc6f(0x297)][_0x41cc6f(0x428)](),_0x41722b;},'_minBufferSize':0x0});_0x44cebc['Hasher']=_0xf4d24[_0x3e6b35(0x22b)]({'cfg':_0x11e949[_0x3e6b35(0x22b)](),'init':function(_0x526088){var _0x21c7b2=_0x3e6b35;this[_0x21c7b2(0x497)]=this['cfg'][_0x21c7b2(0x22b)](_0x526088),this['reset']();},'reset':function(){var _0x392f94=_0x3e6b35;_0xf4d24[_0x392f94(0x3c3)][_0x392f94(0x33e)](this),this[_0x392f94(0x2ca)]();},'update':function(_0x27e0e6){var _0x2f6ee7=_0x3e6b35;return this[_0x2f6ee7(0x2f8)](_0x27e0e6),this['_process'](),this;},'finalize':function(_0x907b45){var _0x391f7d=_0x3e6b35;_0x907b45&&this[_0x391f7d(0x2f8)](_0x907b45);var _0x4fecf6=this[_0x391f7d(0x34a)]();return _0x4fecf6;},'blockSize':0x10,'_createHelper':function(_0x55da25){return function(_0x4a0b08,_0x251542){return new _0x55da25['init'](_0x251542)['finalize'](_0x4a0b08);};},'_createHmacHelper':function(_0x508568){return function(_0x2f1676,_0x5b357c){var _0x459488=_0x4cbe;return new _0x53459e[(_0x459488(0x2b3))]['init'](_0x508568,_0x5b357c)[_0x459488(0x342)](_0x2f1676);};}});var _0x53459e=_0x1bfbe2[_0x3e6b35(0x29c)]={};return _0x1bfbe2;}(Math);return _0x515683;}));}(Ge)),Ge[_0xb2d7da(0x370)];}var We={'exports':{}},xr=We['exports'],Qt;function wi(){var _0x50df60=_0x5152c2;return Qt||(Qt=0x1,function(_0x2977c6,_0x4e697c){(function(_0x57d52e,_0x1cd020){var _0x58103f=_0x4cbe;_0x2977c6[_0x58103f(0x370)]=_0x1cd020(ne());}(xr,function(_0x334437){return(function(){var _0x1e1758=_0x4cbe,_0x19bcd4=_0x334437,_0x1046f7=_0x19bcd4[_0x1e1758(0x476)],_0x1b25f9=_0x1046f7[_0x1e1758(0x382)],_0x32a295=_0x19bcd4[_0x1e1758(0x44a)];_0x32a295[_0x1e1758(0x323)]={'stringify':function(_0x1093bf){var _0x5c8998=_0x1e1758,_0x3e6ccf=_0x1093bf['words'],_0x375f96=_0x1093bf[_0x5c8998(0x206)],_0x13328b=this[_0x5c8998(0x423)];_0x1093bf[_0x5c8998(0x401)]();for(var _0x59eb84=[],_0x5f06a5=0x0;_0x5f06a5<_0x375f96;_0x5f06a5+=0x3)for(var _0x20f6a9=_0x3e6ccf[_0x5f06a5>>>0x2]>>>0x18-_0x5f06a5%0x4*0x8&0xff,_0xe603b6=_0x3e6ccf[_0x5f06a5+0x1>>>0x2]>>>0x18-(_0x5f06a5+0x1)%0x4*0x8&0xff,_0x48b036=_0x3e6ccf[_0x5f06a5+0x2>>>0x2]>>>0x18-(_0x5f06a5+0x2)%0x4*0x8&0xff,_0x13ac1c=_0x20f6a9<<0x10|_0xe603b6<<0x8|_0x48b036,_0x43d52d=0x0;_0x43d52d<0x4&&_0x5f06a5+_0x43d52d*0.75<_0x375f96;_0x43d52d++)_0x59eb84[_0x5c8998(0x3a9)](_0x13328b[_0x5c8998(0x207)](_0x13ac1c>>>0x6*(0x3-_0x43d52d)&0x3f));var _0x13287d=_0x13328b[_0x5c8998(0x207)](0x40);if(_0x13287d){for(;_0x59eb84[_0x5c8998(0x445)]%0x4;)_0x59eb84[_0x5c8998(0x3a9)](_0x13287d);}return _0x59eb84['join']('');},'parse':function(_0x389f0f){var _0x2e7f14=_0x1e1758,_0x47dc44=_0x389f0f['length'],_0x318e81=this[_0x2e7f14(0x423)],_0x3858cd=this[_0x2e7f14(0x2d5)];if(!_0x3858cd){_0x3858cd=this[_0x2e7f14(0x2d5)]=[];for(var _0x57bebc=0x0;_0x57bebc<_0x318e81[_0x2e7f14(0x445)];_0x57bebc++)_0x3858cd[_0x318e81[_0x2e7f14(0x3e5)](_0x57bebc)]=_0x57bebc;}var _0x49e18c=_0x318e81[_0x2e7f14(0x207)](0x40);if(_0x49e18c){var _0x3222b5=_0x389f0f[_0x2e7f14(0x49d)](_0x49e18c);_0x3222b5!==-0x1&&(_0x47dc44=_0x3222b5);}return _0x225d41(_0x389f0f,_0x47dc44,_0x3858cd);},'_map':_0x1e1758(0x4aa)};function _0x225d41(_0x36d83b,_0x3ded30,_0x488739){var _0x20e7cc=_0x1e1758;for(var _0x2491a8=[],_0x5050ce=0x0,_0x410b65=0x0;_0x410b65<_0x3ded30;_0x410b65++)if(_0x410b65%0x4){var _0x4597f8=_0x488739[_0x36d83b[_0x20e7cc(0x3e5)](_0x410b65-0x1)]<<_0x410b65%0x4*0x2,_0x5699e7=_0x488739[_0x36d83b[_0x20e7cc(0x3e5)](_0x410b65)]>>>0x6-_0x410b65%0x4*0x2,_0x1a1bc7=_0x4597f8|_0x5699e7;_0x2491a8[_0x5050ce>>>0x2]|=_0x1a1bc7<<0x18-_0x5050ce%0x4*0x8,_0x5050ce++;}return _0x1b25f9['create'](_0x2491a8,_0x5050ce);}}()),_0x334437['enc']['Base64'];}));}(We)),We[_0x50df60(0x370)];}var Ke={'exports':{}},Lr=Ke[_0x5152c2(0x370)],ei;function Mr(){var _0x56af7c=_0x5152c2;return ei||(ei=0x1,function(_0x53970f,_0x3565e6){(function(_0x152485,_0x5cf437){var _0x28fea3=_0x4cbe;_0x53970f[_0x28fea3(0x370)]=_0x5cf437(ne());}(Lr,function(_0x1875f5){return function(_0x410e64){var _0x40336b=_0x4cbe,_0x1ec69a=_0x1875f5,_0x567ec5=_0x1ec69a[_0x40336b(0x476)],_0x5f4b74=_0x567ec5[_0x40336b(0x382)],_0x2618f7=_0x567ec5[_0x40336b(0x338)],_0xfb997a=_0x1ec69a[_0x40336b(0x29c)],_0x4786f1=[];(function(){var _0x43f898=_0x40336b;for(var _0x27e1ee=0x0;_0x27e1ee<0x40;_0x27e1ee++)_0x4786f1[_0x27e1ee]=_0x410e64[_0x43f898(0x379)](_0x410e64['sin'](_0x27e1ee+0x1))*0x100000000|0x0;}());var _0x19f52d=_0xfb997a[_0x40336b(0x250)]=_0x2618f7[_0x40336b(0x22b)]({'_doReset':function(){var _0x236f3e=_0x40336b;this['_hash']=new _0x5f4b74[(_0x236f3e(0x2c2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xdf6477,_0x412b3b){var _0x3cac2d=_0x40336b;for(var _0x46fb55=0x0;_0x46fb55<0x10;_0x46fb55++){var _0x40b5b1=_0x412b3b+_0x46fb55,_0x487004=_0xdf6477[_0x40b5b1];_0xdf6477[_0x40b5b1]=(_0x487004<<0x8|_0x487004>>>0x18)&0xff00ff|(_0x487004<<0x18|_0x487004>>>0x8)&0xff00ff00;}var _0x3fa8d0=this[_0x3cac2d(0x1dd)][_0x3cac2d(0x26e)],_0x37a1ab=_0xdf6477[_0x412b3b+0x0],_0x37b870=_0xdf6477[_0x412b3b+0x1],_0x4022a0=_0xdf6477[_0x412b3b+0x2],_0x10e46e=_0xdf6477[_0x412b3b+0x3],_0x4e60e7=_0xdf6477[_0x412b3b+0x4],_0x2c099a=_0xdf6477[_0x412b3b+0x5],_0x27b4c5=_0xdf6477[_0x412b3b+0x6],_0xa2a2e8=_0xdf6477[_0x412b3b+0x7],_0x204f35=_0xdf6477[_0x412b3b+0x8],_0x509146=_0xdf6477[_0x412b3b+0x9],_0x497cee=_0xdf6477[_0x412b3b+0xa],_0x270506=_0xdf6477[_0x412b3b+0xb],_0x2cc73c=_0xdf6477[_0x412b3b+0xc],_0x1c5395=_0xdf6477[_0x412b3b+0xd],_0x65a5cf=_0xdf6477[_0x412b3b+0xe],_0x4d2d75=_0xdf6477[_0x412b3b+0xf],_0x3d1521=_0x3fa8d0[0x0],_0x2dd961=_0x3fa8d0[0x1],_0x4910fa=_0x3fa8d0[0x2],_0x1ede04=_0x3fa8d0[0x3];_0x3d1521=_0x346348(_0x3d1521,_0x2dd961,_0x4910fa,_0x1ede04,_0x37a1ab,0x7,_0x4786f1[0x0]),_0x1ede04=_0x346348(_0x1ede04,_0x3d1521,_0x2dd961,_0x4910fa,_0x37b870,0xc,_0x4786f1[0x1]),_0x4910fa=_0x346348(_0x4910fa,_0x1ede04,_0x3d1521,_0x2dd961,_0x4022a0,0x11,_0x4786f1[0x2]),_0x2dd961=_0x346348(_0x2dd961,_0x4910fa,_0x1ede04,_0x3d1521,_0x10e46e,0x16,_0x4786f1[0x3]),_0x3d1521=_0x346348(_0x3d1521,_0x2dd961,_0x4910fa,_0x1ede04,_0x4e60e7,0x7,_0x4786f1[0x4]),_0x1ede04=_0x346348(_0x1ede04,_0x3d1521,_0x2dd961,_0x4910fa,_0x2c099a,0xc,_0x4786f1[0x5]),_0x4910fa=_0x346348(_0x4910fa,_0x1ede04,_0x3d1521,_0x2dd961,_0x27b4c5,0x11,_0x4786f1[0x6]),_0x2dd961=_0x346348(_0x2dd961,_0x4910fa,_0x1ede04,_0x3d1521,_0xa2a2e8,0x16,_0x4786f1[0x7]),_0x3d1521=_0x346348(_0x3d1521,_0x2dd961,_0x4910fa,_0x1ede04,_0x204f35,0x7,_0x4786f1[0x8]),_0x1ede04=_0x346348(_0x1ede04,_0x3d1521,_0x2dd961,_0x4910fa,_0x509146,0xc,_0x4786f1[0x9]),_0x4910fa=_0x346348(_0x4910fa,_0x1ede04,_0x3d1521,_0x2dd961,_0x497cee,0x11,_0x4786f1[0xa]),_0x2dd961=_0x346348(_0x2dd961,_0x4910fa,_0x1ede04,_0x3d1521,_0x270506,0x16,_0x4786f1[0xb]),_0x3d1521=_0x346348(_0x3d1521,_0x2dd961,_0x4910fa,_0x1ede04,_0x2cc73c,0x7,_0x4786f1[0xc]),_0x1ede04=_0x346348(_0x1ede04,_0x3d1521,_0x2dd961,_0x4910fa,_0x1c5395,0xc,_0x4786f1[0xd]),_0x4910fa=_0x346348(_0x4910fa,_0x1ede04,_0x3d1521,_0x2dd961,_0x65a5cf,0x11,_0x4786f1[0xe]),_0x2dd961=_0x346348(_0x2dd961,_0x4910fa,_0x1ede04,_0x3d1521,_0x4d2d75,0x16,_0x4786f1[0xf]),_0x3d1521=_0x274c15(_0x3d1521,_0x2dd961,_0x4910fa,_0x1ede04,_0x37b870,0x5,_0x4786f1[0x10]),_0x1ede04=_0x274c15(_0x1ede04,_0x3d1521,_0x2dd961,_0x4910fa,_0x27b4c5,0x9,_0x4786f1[0x11]),_0x4910fa=_0x274c15(_0x4910fa,_0x1ede04,_0x3d1521,_0x2dd961,_0x270506,0xe,_0x4786f1[0x12]),_0x2dd961=_0x274c15(_0x2dd961,_0x4910fa,_0x1ede04,_0x3d1521,_0x37a1ab,0x14,_0x4786f1[0x13]),_0x3d1521=_0x274c15(_0x3d1521,_0x2dd961,_0x4910fa,_0x1ede04,_0x2c099a,0x5,_0x4786f1[0x14]),_0x1ede04=_0x274c15(_0x1ede04,_0x3d1521,_0x2dd961,_0x4910fa,_0x497cee,0x9,_0x4786f1[0x15]),_0x4910fa=_0x274c15(_0x4910fa,_0x1ede04,_0x3d1521,_0x2dd961,_0x4d2d75,0xe,_0x4786f1[0x16]),_0x2dd961=_0x274c15(_0x2dd961,_0x4910fa,_0x1ede04,_0x3d1521,_0x4e60e7,0x14,_0x4786f1[0x17]),_0x3d1521=_0x274c15(_0x3d1521,_0x2dd961,_0x4910fa,_0x1ede04,_0x509146,0x5,_0x4786f1[0x18]),_0x1ede04=_0x274c15(_0x1ede04,_0x3d1521,_0x2dd961,_0x4910fa,_0x65a5cf,0x9,_0x4786f1[0x19]),_0x4910fa=_0x274c15(_0x4910fa,_0x1ede04,_0x3d1521,_0x2dd961,_0x10e46e,0xe,_0x4786f1[0x1a]),_0x2dd961=_0x274c15(_0x2dd961,_0x4910fa,_0x1ede04,_0x3d1521,_0x204f35,0x14,_0x4786f1[0x1b]),_0x3d1521=_0x274c15(_0x3d1521,_0x2dd961,_0x4910fa,_0x1ede04,_0x1c5395,0x5,_0x4786f1[0x1c]),_0x1ede04=_0x274c15(_0x1ede04,_0x3d1521,_0x2dd961,_0x4910fa,_0x4022a0,0x9,_0x4786f1[0x1d]),_0x4910fa=_0x274c15(_0x4910fa,_0x1ede04,_0x3d1521,_0x2dd961,_0xa2a2e8,0xe,_0x4786f1[0x1e]),_0x2dd961=_0x274c15(_0x2dd961,_0x4910fa,_0x1ede04,_0x3d1521,_0x2cc73c,0x14,_0x4786f1[0x1f]),_0x3d1521=_0x583810(_0x3d1521,_0x2dd961,_0x4910fa,_0x1ede04,_0x2c099a,0x4,_0x4786f1[0x20]),_0x1ede04=_0x583810(_0x1ede04,_0x3d1521,_0x2dd961,_0x4910fa,_0x204f35,0xb,_0x4786f1[0x21]),_0x4910fa=_0x583810(_0x4910fa,_0x1ede04,_0x3d1521,_0x2dd961,_0x270506,0x10,_0x4786f1[0x22]),_0x2dd961=_0x583810(_0x2dd961,_0x4910fa,_0x1ede04,_0x3d1521,_0x65a5cf,0x17,_0x4786f1[0x23]),_0x3d1521=_0x583810(_0x3d1521,_0x2dd961,_0x4910fa,_0x1ede04,_0x37b870,0x4,_0x4786f1[0x24]),_0x1ede04=_0x583810(_0x1ede04,_0x3d1521,_0x2dd961,_0x4910fa,_0x4e60e7,0xb,_0x4786f1[0x25]),_0x4910fa=_0x583810(_0x4910fa,_0x1ede04,_0x3d1521,_0x2dd961,_0xa2a2e8,0x10,_0x4786f1[0x26]),_0x2dd961=_0x583810(_0x2dd961,_0x4910fa,_0x1ede04,_0x3d1521,_0x497cee,0x17,_0x4786f1[0x27]),_0x3d1521=_0x583810(_0x3d1521,_0x2dd961,_0x4910fa,_0x1ede04,_0x1c5395,0x4,_0x4786f1[0x28]),_0x1ede04=_0x583810(_0x1ede04,_0x3d1521,_0x2dd961,_0x4910fa,_0x37a1ab,0xb,_0x4786f1[0x29]),_0x4910fa=_0x583810(_0x4910fa,_0x1ede04,_0x3d1521,_0x2dd961,_0x10e46e,0x10,_0x4786f1[0x2a]),_0x2dd961=_0x583810(_0x2dd961,_0x4910fa,_0x1ede04,_0x3d1521,_0x27b4c5,0x17,_0x4786f1[0x2b]),_0x3d1521=_0x583810(_0x3d1521,_0x2dd961,_0x4910fa,_0x1ede04,_0x509146,0x4,_0x4786f1[0x2c]),_0x1ede04=_0x583810(_0x1ede04,_0x3d1521,_0x2dd961,_0x4910fa,_0x2cc73c,0xb,_0x4786f1[0x2d]),_0x4910fa=_0x583810(_0x4910fa,_0x1ede04,_0x3d1521,_0x2dd961,_0x4d2d75,0x10,_0x4786f1[0x2e]),_0x2dd961=_0x583810(_0x2dd961,_0x4910fa,_0x1ede04,_0x3d1521,_0x4022a0,0x17,_0x4786f1[0x2f]),_0x3d1521=_0x2e061b(_0x3d1521,_0x2dd961,_0x4910fa,_0x1ede04,_0x37a1ab,0x6,_0x4786f1[0x30]),_0x1ede04=_0x2e061b(_0x1ede04,_0x3d1521,_0x2dd961,_0x4910fa,_0xa2a2e8,0xa,_0x4786f1[0x31]),_0x4910fa=_0x2e061b(_0x4910fa,_0x1ede04,_0x3d1521,_0x2dd961,_0x65a5cf,0xf,_0x4786f1[0x32]),_0x2dd961=_0x2e061b(_0x2dd961,_0x4910fa,_0x1ede04,_0x3d1521,_0x2c099a,0x15,_0x4786f1[0x33]),_0x3d1521=_0x2e061b(_0x3d1521,_0x2dd961,_0x4910fa,_0x1ede04,_0x2cc73c,0x6,_0x4786f1[0x34]),_0x1ede04=_0x2e061b(_0x1ede04,_0x3d1521,_0x2dd961,_0x4910fa,_0x10e46e,0xa,_0x4786f1[0x35]),_0x4910fa=_0x2e061b(_0x4910fa,_0x1ede04,_0x3d1521,_0x2dd961,_0x497cee,0xf,_0x4786f1[0x36]),_0x2dd961=_0x2e061b(_0x2dd961,_0x4910fa,_0x1ede04,_0x3d1521,_0x37b870,0x15,_0x4786f1[0x37]),_0x3d1521=_0x2e061b(_0x3d1521,_0x2dd961,_0x4910fa,_0x1ede04,_0x204f35,0x6,_0x4786f1[0x38]),_0x1ede04=_0x2e061b(_0x1ede04,_0x3d1521,_0x2dd961,_0x4910fa,_0x4d2d75,0xa,_0x4786f1[0x39]),_0x4910fa=_0x2e061b(_0x4910fa,_0x1ede04,_0x3d1521,_0x2dd961,_0x27b4c5,0xf,_0x4786f1[0x3a]),_0x2dd961=_0x2e061b(_0x2dd961,_0x4910fa,_0x1ede04,_0x3d1521,_0x1c5395,0x15,_0x4786f1[0x3b]),_0x3d1521=_0x2e061b(_0x3d1521,_0x2dd961,_0x4910fa,_0x1ede04,_0x4e60e7,0x6,_0x4786f1[0x3c]),_0x1ede04=_0x2e061b(_0x1ede04,_0x3d1521,_0x2dd961,_0x4910fa,_0x270506,0xa,_0x4786f1[0x3d]),_0x4910fa=_0x2e061b(_0x4910fa,_0x1ede04,_0x3d1521,_0x2dd961,_0x4022a0,0xf,_0x4786f1[0x3e]),_0x2dd961=_0x2e061b(_0x2dd961,_0x4910fa,_0x1ede04,_0x3d1521,_0x509146,0x15,_0x4786f1[0x3f]),_0x3fa8d0[0x0]=_0x3fa8d0[0x0]+_0x3d1521|0x0,_0x3fa8d0[0x1]=_0x3fa8d0[0x1]+_0x2dd961|0x0,_0x3fa8d0[0x2]=_0x3fa8d0[0x2]+_0x4910fa|0x0,_0x3fa8d0[0x3]=_0x3fa8d0[0x3]+_0x1ede04|0x0;},'_doFinalize':function(){var _0x552f90=_0x40336b,_0x1496ce=this[_0x552f90(0x297)],_0x30c6c7=_0x1496ce[_0x552f90(0x26e)],_0x34d3c9=this[_0x552f90(0x272)]*0x8,_0x1d175f=_0x1496ce[_0x552f90(0x206)]*0x8;_0x30c6c7[_0x1d175f>>>0x5]|=0x80<<0x18-_0x1d175f%0x20;var _0x1c76b4=_0x410e64['floor'](_0x34d3c9/0x100000000),_0x1e36ab=_0x34d3c9;_0x30c6c7[(_0x1d175f+0x40>>>0x9<<0x4)+0xf]=(_0x1c76b4<<0x8|_0x1c76b4>>>0x18)&0xff00ff|(_0x1c76b4<<0x18|_0x1c76b4>>>0x8)&0xff00ff00,_0x30c6c7[(_0x1d175f+0x40>>>0x9<<0x4)+0xe]=(_0x1e36ab<<0x8|_0x1e36ab>>>0x18)&0xff00ff|(_0x1e36ab<<0x18|_0x1e36ab>>>0x8)&0xff00ff00,_0x1496ce[_0x552f90(0x206)]=(_0x30c6c7[_0x552f90(0x445)]+0x1)*0x4,this[_0x552f90(0x20c)]();for(var _0x3faac9=this[_0x552f90(0x1dd)],_0x54f158=_0x3faac9[_0x552f90(0x26e)],_0x7f9ca1=0x0;_0x7f9ca1<0x4;_0x7f9ca1++){var _0x48fa48=_0x54f158[_0x7f9ca1];_0x54f158[_0x7f9ca1]=(_0x48fa48<<0x8|_0x48fa48>>>0x18)&0xff00ff|(_0x48fa48<<0x18|_0x48fa48>>>0x8)&0xff00ff00;}return _0x3faac9;},'clone':function(){var _0x5bbe0e=_0x40336b,_0x2d53c7=_0x2618f7[_0x5bbe0e(0x428)][_0x5bbe0e(0x33e)](this);return _0x2d53c7['_hash']=this[_0x5bbe0e(0x1dd)][_0x5bbe0e(0x428)](),_0x2d53c7;}});function _0x346348(_0xfe485e,_0x39e6bc,_0x1ad3e4,_0x5b0bd3,_0x569bdd,_0x1dac80,_0x2894e3){var _0x256f3a=_0xfe485e+(_0x39e6bc&_0x1ad3e4|~_0x39e6bc&_0x5b0bd3)+_0x569bdd+_0x2894e3;return(_0x256f3a<<_0x1dac80|_0x256f3a>>>0x20-_0x1dac80)+_0x39e6bc;}function _0x274c15(_0x43551a,_0x5cef4a,_0x51cd37,_0x50bec1,_0x148852,_0x2cf323,_0x173df1){var _0x18eefd=_0x43551a+(_0x5cef4a&_0x50bec1|_0x51cd37&~_0x50bec1)+_0x148852+_0x173df1;return(_0x18eefd<<_0x2cf323|_0x18eefd>>>0x20-_0x2cf323)+_0x5cef4a;}function _0x583810(_0x290a5f,_0x35cb15,_0x22eaf7,_0x1c2e55,_0x4420f3,_0x5d0799,_0x1acaa1){var _0x12bd77=_0x290a5f+(_0x35cb15^_0x22eaf7^_0x1c2e55)+_0x4420f3+_0x1acaa1;return(_0x12bd77<<_0x5d0799|_0x12bd77>>>0x20-_0x5d0799)+_0x35cb15;}function _0x2e061b(_0x22d7c3,_0x54038a,_0x487b3b,_0x3d1947,_0x1e7200,_0x3d7cd7,_0x122e7a){var _0x2dbc31=_0x22d7c3+(_0x487b3b^(_0x54038a|~_0x3d1947))+_0x1e7200+_0x122e7a;return(_0x2dbc31<<_0x3d7cd7|_0x2dbc31>>>0x20-_0x3d7cd7)+_0x54038a;}_0x1ec69a[_0x40336b(0x250)]=_0x2618f7[_0x40336b(0x3d3)](_0x19f52d),_0x1ec69a[_0x40336b(0x4a6)]=_0x2618f7[_0x40336b(0x1cb)](_0x19f52d);}(Math),_0x1875f5['MD5'];}));}(Ke)),Ke[_0x56af7c(0x370)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe['exports'],ti;function Hr(){var _0x5592f0=_0x5152c2;return ti||(ti=0x1,function(_0x3c0efa,_0x4e3526){(function(_0x33fa5b,_0x1d84ea){_0x3c0efa['exports']=_0x1d84ea(ne());}($r,function(_0x11ad91){var _0x12d53c=_0x4cbe;return(function(){var _0xf110fa=_0x4cbe,_0x54e488=_0x11ad91,_0xe1a4df=_0x54e488[_0xf110fa(0x476)],_0x205252=_0xe1a4df[_0xf110fa(0x382)],_0x484c13=_0xe1a4df['Hasher'],_0xf00d5b=_0x54e488[_0xf110fa(0x29c)],_0x2541ba=[],_0x4553f0=_0xf00d5b[_0xf110fa(0x322)]=_0x484c13[_0xf110fa(0x22b)]({'_doReset':function(){this['_hash']=new _0x205252['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x398c68,_0x3614bb){for(var _0x40e15b=this['_hash']['words'],_0x51366c=_0x40e15b[0x0],_0x18c119=_0x40e15b[0x1],_0x44a37a=_0x40e15b[0x2],_0x21087c=_0x40e15b[0x3],_0x56f8a0=_0x40e15b[0x4],_0x54706c=0x0;_0x54706c<0x50;_0x54706c++){if(_0x54706c<0x10)_0x2541ba[_0x54706c]=_0x398c68[_0x3614bb+_0x54706c]|0x0;else{var _0xffbcbd=_0x2541ba[_0x54706c-0x3]^_0x2541ba[_0x54706c-0x8]^_0x2541ba[_0x54706c-0xe]^_0x2541ba[_0x54706c-0x10];_0x2541ba[_0x54706c]=_0xffbcbd<<0x1|_0xffbcbd>>>0x1f;}var _0x42bc6d=(_0x51366c<<0x5|_0x51366c>>>0x1b)+_0x56f8a0+_0x2541ba[_0x54706c];_0x54706c<0x14?_0x42bc6d+=(_0x18c119&_0x44a37a|~_0x18c119&_0x21087c)+0x5a827999:_0x54706c<0x28?_0x42bc6d+=(_0x18c119^_0x44a37a^_0x21087c)+0x6ed9eba1:_0x54706c<0x3c?_0x42bc6d+=(_0x18c119&_0x44a37a|_0x18c119&_0x21087c|_0x44a37a&_0x21087c)-0x70e44324:_0x42bc6d+=(_0x18c119^_0x44a37a^_0x21087c)-0x359d3e2a,_0x56f8a0=_0x21087c,_0x21087c=_0x44a37a,_0x44a37a=_0x18c119<<0x1e|_0x18c119>>>0x2,_0x18c119=_0x51366c,_0x51366c=_0x42bc6d;}_0x40e15b[0x0]=_0x40e15b[0x0]+_0x51366c|0x0,_0x40e15b[0x1]=_0x40e15b[0x1]+_0x18c119|0x0,_0x40e15b[0x2]=_0x40e15b[0x2]+_0x44a37a|0x0,_0x40e15b[0x3]=_0x40e15b[0x3]+_0x21087c|0x0,_0x40e15b[0x4]=_0x40e15b[0x4]+_0x56f8a0|0x0;},'_doFinalize':function(){var _0x3c0772=_0xf110fa,_0x181928=this[_0x3c0772(0x297)],_0x5ceaf5=_0x181928[_0x3c0772(0x26e)],_0x320ba7=this[_0x3c0772(0x272)]*0x8,_0x8b081b=_0x181928[_0x3c0772(0x206)]*0x8;return _0x5ceaf5[_0x8b081b>>>0x5]|=0x80<<0x18-_0x8b081b%0x20,_0x5ceaf5[(_0x8b081b+0x40>>>0x9<<0x4)+0xe]=Math[_0x3c0772(0x2ef)](_0x320ba7/0x100000000),_0x5ceaf5[(_0x8b081b+0x40>>>0x9<<0x4)+0xf]=_0x320ba7,_0x181928['sigBytes']=_0x5ceaf5[_0x3c0772(0x445)]*0x4,this['_process'](),this[_0x3c0772(0x1dd)];},'clone':function(){var _0x1a47b4=_0xf110fa,_0x452e46=_0x484c13[_0x1a47b4(0x428)][_0x1a47b4(0x33e)](this);return _0x452e46['_hash']=this[_0x1a47b4(0x1dd)][_0x1a47b4(0x428)](),_0x452e46;}});_0x54e488[_0xf110fa(0x322)]=_0x484c13[_0xf110fa(0x3d3)](_0x4553f0),_0x54e488[_0xf110fa(0x33d)]=_0x484c13['_createHmacHelper'](_0x4553f0);}()),_0x11ad91[_0x12d53c(0x322)];}));}(qe)),qe[_0x5592f0(0x370)];}var ze={'exports':{}},kr=ze['exports'],ii;function jr(){return ii||(ii=0x1,function(_0x880fd8,_0x18004c){(function(_0x525663,_0xd506dc){_0x880fd8['exports']=_0xd506dc(ne());}(kr,function(_0x4b84af){(function(){var _0xd15422=_0x4cbe,_0x460e95=_0x4b84af,_0x55e614=_0x460e95[_0xd15422(0x476)],_0x4770b6=_0x55e614[_0xd15422(0x24a)],_0x1ceb93=_0x460e95[_0xd15422(0x44a)],_0x5a2e1c=_0x1ceb93['Utf8'],_0x4fbc06=_0x460e95['algo'];_0x4fbc06[_0xd15422(0x2b3)]=_0x4770b6[_0xd15422(0x22b)]({'init':function(_0x1cb8b2,_0x490624){var _0x3aa0cb=_0xd15422;_0x1cb8b2=this[_0x3aa0cb(0x1f5)]=new _0x1cb8b2[(_0x3aa0cb(0x2c2))](),typeof _0x490624==_0x3aa0cb(0x1d6)&&(_0x490624=_0x5a2e1c['parse'](_0x490624));var _0x51203c=_0x1cb8b2[_0x3aa0cb(0x36f)],_0x2af0f3=_0x51203c*0x4;_0x490624[_0x3aa0cb(0x206)]>_0x2af0f3&&(_0x490624=_0x1cb8b2[_0x3aa0cb(0x342)](_0x490624)),_0x490624[_0x3aa0cb(0x401)]();for(var _0x2b5f10=this['_oKey']=_0x490624[_0x3aa0cb(0x428)](),_0x3cd7e0=this[_0x3aa0cb(0x331)]=_0x490624[_0x3aa0cb(0x428)](),_0x43530e=_0x2b5f10[_0x3aa0cb(0x26e)],_0x12c6ac=_0x3cd7e0[_0x3aa0cb(0x26e)],_0x3255ea=0x0;_0x3255ea<_0x51203c;_0x3255ea++)_0x43530e[_0x3255ea]^=0x5c5c5c5c,_0x12c6ac[_0x3255ea]^=0x36363636;_0x2b5f10[_0x3aa0cb(0x206)]=_0x3cd7e0[_0x3aa0cb(0x206)]=_0x2af0f3,this[_0x3aa0cb(0x3c3)]();},'reset':function(){var _0x525371=_0xd15422,_0x3087eb=this['_hasher'];_0x3087eb[_0x525371(0x3c3)](),_0x3087eb[_0x525371(0x438)](this[_0x525371(0x331)]);},'update':function(_0x3d3c73){var _0x23f15e=_0xd15422;return this[_0x23f15e(0x1f5)]['update'](_0x3d3c73),this;},'finalize':function(_0x43b488){var _0x450368=_0xd15422,_0x13b48a=this['_hasher'],_0x308d8b=_0x13b48a[_0x450368(0x342)](_0x43b488);_0x13b48a[_0x450368(0x3c3)]();var _0x3595d7=_0x13b48a['finalize'](this[_0x450368(0x38e)]['clone']()[_0x450368(0x374)](_0x308d8b));return _0x3595d7;}});}());}));}(ze)),ze['exports'];}function _0xf80a(){var _0x33c4dd=['TOO_MANY_REQUESTS','interceptor','title','_collaborationSessionService','image/jpg','/new_changes','JOIN_ROOM_NOT_EXISTS','UNKNOWN_CMD','_onUserJoin','_initRequestHeader','_createHelper','_init','put','_collaborationTimeoutTimer','target','buffer','map','/object/','SEND_CHANGESET_TIMEOUT','resolve','session.room-full','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','compute','JOIN_ROOM_PERMISSION_DENIED','__Key__','SNAPSHOT_INVALID_SNAPSHOT','liveShareNewHost','startsWith','charCodeAt','pending','getCurrentUser','_executeRemoteChangeset','subscribe','_remoteChangesetQueue','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','debug','_sendHeartbeatTimer','_exhaustRemoteChangesetQueue','encryptBlock','UNAUTHENTICATED','_undoRedoService','_changesetSessionId','onSyncEditingCollabCursor','result','error','FAIL','COMPRESS_MUTATION_APPLY','ciphertext','_configService','_revisionService','get','type','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','APPLY_PERMISSION_DENIED','_toggleOnline','_snapshotServerService','clamp','_createSocketURL','_transformRemoteChangesetByStateCache','permissionRejEvent','file','kdf','2330XmMhQf','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','copyFileMeta','createSocket','setCurrentUser','[UniverCollaborationClientPlugin]','_replayCachedMutations','Decryptor','_sessions','filter','AWAITING_WITH_PENDING','_logService','override','PERMISSION_REJ','send','_unitInfo$','loadSheet','_httpService','_onLocalMutation','pad','univer-pro.collaboration-client.single-active-unit-service','LOGIN_URL_KEY','mutations','parse','format','_onFetchMissResult','_doProcessBlock','members','_map','auth.needGotoLoginAlert','_xformMode','getTime','_onMessage','clone','objectType','event$','[CollaborationUndoRedoService]','_updateStatus','encrypt','_tryEnsureSocket','HELLO','ERROR_IMAGE_TYPE','OpenSSL','INGEST','add','eventID','_loadDoc','[CollaborationSession]','socket$','update','/fetchmissing?from=','RETRY_CONNECTING_MAX_COUNT','actions','msCrypto','COMPRESS_MUTATION_SEND','YUUMI_SUBSCRIPTION_NOT_FOUND','413394GkVXzV','_throwTelemetryCollaborationNewChangeset','unknown','_scheduleCompleteTimestamp','_unlockTransition','awaiting','length','data','save\x20fail\x20reason\x20is\x20','generateRandomId','PENDING','enc','_getCurrentRevision','_clearCollaborationTimeoutTimer','\x20in\x20_schedule.','onMissingChangesets','_resendWithTimeout','ws://127.0.0.1:8000/universer-api/comb/connect','max','csShouldRetryEvent','_roomCreated$','_getRedoStack','retryConnectingInterval','[PendingState]:\x20received\x20rejection.','dispose','setWaitCount','SUBMIT_CHANGESET_TIMEOUT','stringify','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','apply','decryptBlock','_timeoutTimer','StreamCipher','fetchThroughInterceptors','getCollabEntity','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','symbol','UNIVER_DOC','ENSURE_SNAPSHOT_EXECUTION','LICENSE_IMPORT_SIZE_EXCEEDED','_listenToNetworkCondition','unit-cache-','_getSessionTicket','/universer-api/file/{fileID}/sign-url','/universer-api/stream/file/upload','href','SerializableCipher','_clearTimeoutTimer','_config','/-/object/-/batch_allowed','_transitionLocked','decrypt','_pendingMutations','emitEvent','lib','getCollabEntity$','JOIN_ROOM_FULL','executeCommand','collaboratorID','_resendTimeout','conflict','getMember','fetch_missing','updateCursorEvent','toggleOnline','getValue','/allowed','UNRECOGNIZED','[CollaborationEntity]','avatar','COLLAB_WEB_SOCKET_URL','shouldCloseConn','Encryptor','getImage','_localCacheService','_networkConditionService','transformChangesets','setShowComponents','FETCH_MISS','_getAPIPrefix','defineProperty','UNKNOWN_CODE','location','Hex','PY_RUNTIME_SCRIPT_ERROR','CHANGESET_ACK','_collaborationUIEventService','cfg','set','session.join-failed','OFFLINE','getRandomValues','getTypeOfUnitDisposed$','indexOf','collaboration-client.config','onMissedChangesetFetched','close$','_doCryptBlock','batchAllowed','_state','/unit/','_userManagerService','HmacMD5','_sendingTimer','resourceIDs','getConfig','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','putCollaborators','UnitEmbedded','_nRounds','_clearUndo','getUnitOnRev','getInterceptPoints','NO_OTHER_CLIENTS_EDITING','COLLAB_SUBMIT_CHANGESET_URL','_submitChangeset','UNIVER_UNKNOWN','UUID','image/png','setConfig','_type','\x20to\x20','onTransformState','_change$','_onCombEvent','_minBufferSize','transformSelections','_onRemoteRejected','updatePermissionPoint','[OfflineState]:\x20received\x20acknowledgement.','_startCollaboration','incrementRevOfUnit','session.room-permission-denied','getCurrentSelections','BlockCipher','OTHER_CLIENT_EDITING','onCommentUpdate','_fetchMissChangesets','readyForCollab','EvpKDF','SNAPSHOT_HAS_BEEN_REMOVED','_socketReady','addHandlerCallback','SUBMIT_CHANGESET','FileId','createDecryptor','_updateState','csAckEvent','4244040KtlzGp','enableAuthServer','LIVESHARE_FETCH_OPERATIONS','[SyncedState]:\x20received\x20acknowledgement.','[FetchMissState]','UNDEFINED','image/jpeg','_createHmacHelper','77vfmjXJ','?url=','listRoles','close','_initDependencies','updateOfflineData','_undoStacks','downloadEndpointUrl','CBC','uploadFileServerUrl','string','reconnect','_updateLocalCache','_initMergeInterceptor','_singleActiveUnitService','collaMsg','_clearScheduledTask','_hash','hasher','388bSKspV','baseRev','unsubscribe','FETCH_MISSING','substr','keySize','revision','_scheduleCollaborationTimeoutTimer','uniscriptRunEvent','NoPadding','APPLY_REVISION_CONFILICT','random','session.room-not-exists','pipe','_socket','_roomMembers','loadOfflineData','COMMENT_UPDATE','_transformRemoteChangesetByIMECache','unpad','online$','_onJoinRoomEvent','_hasher','members$','every','socket\x20close','unitId','collabWebSocketUrl','_getDownloadEndpointURL','getUnitType','state$','runId','joinEvent','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','CHANGESET_REJ','equals','LICENSE_MAX_UNITS_EXCEEDED','_substituteUndoStack','UnitSnapshot','sigBytes','charAt','loginUrlKey','_removeRoom','LOCAL_CACHE_INTERVAL','transformMutationsWithChangeset','_process','forEach','LICENSE_EXPORT_SIZE_EXCEEDED','updateCollaborator','patch','APPLY_DUPLICATED','_waitCount','LIVESHARE_OPERATION','pauseCollaboration','NOT_COLLAB','CLOSE_ROOM','clear','awaitingChangeset','loadUnit','_changesetReqId','971547vSbQEp','_getSignURL','toggleOffline','connection\x20error','JOINING','_disableEditing','_shouldReportTelemetry','_onConnectionFailed','search','IDLE','/resources','prototype','getSnapshotAPIPath','Univer','isArray','UNIVER_COLLABORATION_CLIENT_PLUGIN','extend','error$','[CollaborationSessionService]','ALREADY_EXISTS','Error\x20on\x20receiving\x20event','sessionTicket','_sender','_clearRedo','Utf8','USERS_LEAVE','deepClone','onCommandExecuted','_onConflict','/universer-api/uniscript','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_http','roles','_onRemoteChangeset','snapshot','append','_prevBlock','newCsEvent','_eventService','CHANGESET_SHOULD_RETRY','_transformStack','APPLY_NON_SEQUENTIAL_REVISION','create','_compressMutationService','_stopTelemetryCollaborationNewChangeset','originalMeta','_status$','Base','appendMutation','_transformSelections','origin','\x20-\x20','_sessionStatus$','MD5','\x0aCurrent:\x20','sendChangesetTimeout','_waitForHeartbeatResponse','onRemoteChangeset','reverse','GLOBAL_ROOMS_CNT_EXCEEDS','fetchMissingChangesets','requestParams','_registerDependencies','enableSingleActiveInstanceLock','getUnitStatus$','_replaceFileID','userID','_localeService','cmd','_collabSessionService','_createHandler','UPDATE_CURSOR','_mode','allowed','selections','_createSocket','Undefined','has','list','transformStack\x20failed!','disableLocalCache','_applyRemoteChangeset','_telemetryService','words','_getAPIPrefixPath','?size=','Could\x20not\x20dynamically\x20require\x20\x22','_nDataBytes','_sheetTransformSelectionsService','sessionStatus','_checkMissing','onStateChange','JOIN','[PendingState]:\x20unhandled\x20univer\x20type:\x20','OPTIONAL','_unitID','ceil','catch','_tryReconnect','LEAVE','textRanges','SOCKET_FAILED','INTERNAL_ERROR','byteLength','default','body','&to=','_entities','_startTelemetryCollaborationNewChangeset','getUnitId','session','iterations','toString','updateMember','_queuedRemoteChangesets','unitId\x20is\x20not\x20found','BufferedBlockAlgorithm','c2Prime','_memberService','_awaitingChangeset','failed\x20to\x20apply\x20missed\x20changesets!','_getCtorByUniverType','YUUMI_URL_COL_OUT_OF_RANGE','HEARTBEAT_INTERVAL','_data','_onOffline','__creator','changesets','[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.','algo','sessionStatus$','univer-pro.collaboration-client-socket-service','confirm','_getLoginPath','NEW_CHANGESETS','startTime','680342hWUtlk','NOT_FOUND','onTransformRemoteChangesetByIMECache','Cipher','_transformStateCache','loadDoc','_transformUndoredo','_joinRoom','collaboration_new_changeset','stopTime','/role','/block/','_entityInit$','params','_HTTPService','saveImage','HMAC','infoRsp','_telemetryInfo','_onRemoteRetry','_DEC_XFORM_MODE','_schedule','_decreaseWaiting','splice','slice','_candidateSocket','post','reject','[OfflineState]:\x20received\x20changeset.','LIVESHARE_REQUEST_HOST','USERS_ENTER','init','headers','collaboration-client.local-cache-service','_getUploadFileURL','mode','crypto','SOCKET_FAILED_RETRY','now','_doReset','capture','fromCharCode','_redoStacks','ERROR_IMAGE','onTransformIME','execute','transformUndoRedo','resend','function','_isPermissionRej','_reverseMap','createInstance','/-/object/list','next','PSEUDO_FETCH_MISSING_RESULT','_transformIMECache','getResourcesRequest','reqId','routeKey','onRemoteAck','{fileID}','_key','submit\x20changeset\x20error!','_handler','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_socket$','waitForRoom$','join','onTransformRemoteChangesetByStateCache','getImageSourceCache','csRejEvent','MUTATION','_permissionService','name','onStarting','getWorkbookSelections','floor','&assign=','People','formatter','_showConflictNotification','HEARTBEAT','unitID','rng','AUTHZ_URL_KEY','_append','$super','HEARTBEAT_TIMEOUT','synced','delete','CipherParams','getUnit','_syncEditingCollabCursor','SNAPSHOT_URL_KEY','_commentService','ONLINE','UPDATE_PERMISSION_OBJ','url','message$','localCacheService','randomUUID','method','CONNECTOR_DATA_TOO_LARGE','YUUMI_RATE_OVER_LIMIT','subject','_univerInstanceService','removeMember','_keyPriorReset','leaveEvent','deleteCollaborator','CONFLICT','[SyncedState]:\x20received\x20rejection.','awaiting_with_pending','roomInfos','disposeWithMe','CHANGESET_REVISION_CONFILICT','rev','/universer-api/authz','m2Prime','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','/collaborator','_retryConnectingTimer','_loadSheet','objects','memberID','/universer-api/oidc/authpage','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','SHA1','Base64','UNIVER_SLIDE','then','min','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','LICENSE_DISTRO_REJECTED','_onUserLeave','_handlerCallback','size','onRemoteRej','offline','fetchMiss','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_iKey','UNIVER_SHEET','getMemberID','getCurrentRevOfUnit','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','entries','BASE64','Hasher','sid','_members$','enableOfflineEditing','/object','HmacSHA1','call','isPermissionRej','_incrementRevisionNumber','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','finalize','BlockCipherMode','UNIVER_PROJECT','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformSelections','onLocalMutation','15615eflnIR','joinRsp','_doFinalize','_onRecvEvent','onlyLocal','LIVESHARE_NEW_HOST','open$','POST','getTypeOfUnitAdded$','bind','pluginName','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','JOIN_ROOM_FAILED','withCredentials','AES','salt','HttpImport','getAllMembers','_transformService','Malformed\x20UTF-8\x20data','_socketService','_event$','UNISCRIPT_RUN','_commentUpdate$','_getUndoStack','YUUMI_UNABLE_LOAD_URL','localeService','range','getFocusedUnit','complete','Pkcs7','processBlock','ivSize','_socketMessageSubscription','not_collab','reduce','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','INVALID_ARGUMENT','_members','blockSize','exports','sheets','[CollaborationSessionService]:\x20socket\x20error','MSG_FOR_ERROR','concat','unitInfo$','_imageSourceCache','asObservable','onRemoteRetry','abs','__esModule','OTHER_CLIENTS_EDITING','857850hzPdfO','hasOwnProperty','getOwnPropertyDescriptor','toLowerCase','createEncryptor','_parse','WordArray','_acknowledgedAwaitingChangeset','ticket','_initUnitPermissionChange','onSendChangeset','status','_state$','_collaborationPaused','PERSON','mixIn','registerHTTPInterceptor','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_oKey','_iv','encode','listCollaborators','_getSendChangesetTimeout','_onConnectionOpen','commentUpdate$','RECV','HttpExport','_toggleOffline','PERMISSION_DENIED','socketService','c1Prime','_lockTransition','key','objectID','_ENC_XFORM_MODE','SYNCED','requireSession','readInt32LE','initWorkbookPermissionChange','code','responseType','_clearHeartbeatTimer','_cipher','status$','_clearLocalCache','push','collabSubmitChangesetUrl','fetching\x20missing\x20changesets\x20from\x20','x-univer-host','fromCollab','change$','action','_instanceService','_createInitialStateImpl','_injector','SNAPSHOT_SERVER_URL_KEY','_resendTimer','_retryCount','collaborators','SHOULD_CLOSE_CONN','editingUnit','LIVESHARE_TERMINATE','_rescheduleHeartbeat','randomBytes','_createInitialState','entityInit$','compose','values','univer-pro.collaboration-client.network-condition.service','_snapshotService','[DataLoaderService]','reset','_initCloseConn','_commandService','dispose$','editing\x20status\x20changed\x20to','16915bkLsxt'];_0xf80a=function(){return _0x33c4dd;};return _0xf80a();}var Br=Ye[_0x5152c2(0x370)],ni;function Ui(){var _0x3769ac=_0x5152c2;return ni||(ni=0x1,function(_0x3b0cd7,_0x1c311f){(function(_0xdb757,_0x569a27,_0x4aa266){var _0x564f9c=_0x4cbe;_0x3b0cd7[_0x564f9c(0x370)]=_0x569a27(ne(),Hr(),jr());}(Br,function(_0x4e62f6){var _0x2270c9=_0x4cbe;return(function(){var _0x1ff44a=_0x4cbe,_0x18aa34=_0x4e62f6,_0x327ccc=_0x18aa34['lib'],_0x544415=_0x327ccc[_0x1ff44a(0x24a)],_0x1dd154=_0x327ccc['WordArray'],_0x3fa009=_0x18aa34[_0x1ff44a(0x29c)],_0xbfabe5=_0x3fa009[_0x1ff44a(0x250)],_0x45e492=_0x3fa009[_0x1ff44a(0x1bb)]=_0x544415[_0x1ff44a(0x22b)]({'cfg':_0x544415[_0x1ff44a(0x22b)]({'keySize':0x80/0x20,'hasher':_0xbfabe5,'iterations':0x1}),'init':function(_0x118bb4){var _0x317768=_0x1ff44a;this['cfg']=this[_0x317768(0x497)][_0x317768(0x22b)](_0x118bb4);},'compute':function(_0x4204e1,_0x59488b){var _0x3b6d63=_0x1ff44a;for(var _0x3f407d,_0x18dc03=this[_0x3b6d63(0x497)],_0x3d8204=_0x18dc03[_0x3b6d63(0x1de)][_0x3b6d63(0x245)](),_0x1996ae=_0x1dd154[_0x3b6d63(0x245)](),_0x884ff1=_0x1996ae[_0x3b6d63(0x26e)],_0x1f0826=_0x18dc03[_0x3b6d63(0x1e4)],_0x59683a=_0x18dc03[_0x3b6d63(0x28a)];_0x884ff1[_0x3b6d63(0x445)]<_0x1f0826;){_0x3f407d&&_0x3d8204[_0x3b6d63(0x438)](_0x3f407d),_0x3f407d=_0x3d8204['update'](_0x4204e1)[_0x3b6d63(0x342)](_0x59488b),_0x3d8204[_0x3b6d63(0x3c3)]();for(var _0x58e01b=0x1;_0x58e01b<_0x59683a;_0x58e01b++)_0x3f407d=_0x3d8204['finalize'](_0x3f407d),_0x3d8204[_0x3b6d63(0x3c3)]();_0x1996ae['concat'](_0x3f407d);}return _0x1996ae[_0x3b6d63(0x206)]=_0x1f0826*0x4,_0x1996ae;}});_0x18aa34[_0x1ff44a(0x1bb)]=function(_0x2a2475,_0x4df2a3,_0x5acae9){var _0x127768=_0x1ff44a;return _0x45e492[_0x127768(0x245)](_0x5acae9)[_0x127768(0x3df)](_0x2a2475,_0x4df2a3);};}()),_0x4e62f6[_0x2270c9(0x1bb)];}));}(Ye)),Ye[_0x3769ac(0x370)];}var Je={'exports':{}},Fr=Je[_0x5152c2(0x370)],ri;function Ai(){var _0x330dc7=_0x5152c2;return ri||(ri=0x1,function(_0x313334,_0x468c69){(function(_0x98a4ea,_0x12f6b9,_0x2554b2){var _0x31b53a=_0x4cbe;_0x313334[_0x31b53a(0x370)]=_0x12f6b9(ne(),Ui());}(Fr,function(_0x19e2dd){var _0x46be7a=_0x4cbe;_0x19e2dd[_0x46be7a(0x476)][_0x46be7a(0x2a6)]||function(_0x26f19f){var _0x3f2db3=_0x46be7a,_0x449126=_0x19e2dd,_0xc4a8da=_0x449126[_0x3f2db3(0x476)],_0x327e3b=_0xc4a8da['Base'],_0x23e2ab=_0xc4a8da['WordArray'],_0xb0243a=_0xc4a8da[_0x3f2db3(0x28f)],_0x4f6763=_0x449126[_0x3f2db3(0x44a)];_0x4f6763['Utf8'];var _0xae5097=_0x4f6763[_0x3f2db3(0x323)],_0x1e2d55=_0x449126['algo'],_0x512b2e=_0x1e2d55[_0x3f2db3(0x1bb)],_0x3e6e44=_0xc4a8da[_0x3f2db3(0x2a6)]=_0xb0243a['extend']({'cfg':_0x327e3b[_0x3f2db3(0x22b)](),'createEncryptor':function(_0x38a3bc,_0x252be9){var _0x2b91ff=_0x3f2db3;return this[_0x2b91ff(0x245)](this[_0x2b91ff(0x39e)],_0x38a3bc,_0x252be9);},'createDecryptor':function(_0x5bbcc2,_0x11edae){var _0x200fef=_0x3f2db3;return this[_0x200fef(0x245)](this[_0x200fef(0x2b7)],_0x5bbcc2,_0x11edae);},'init':function(_0x3c908e,_0x958462,_0x23ee33){var _0x251610=_0x3f2db3;this[_0x251610(0x497)]=this[_0x251610(0x497)]['extend'](_0x23ee33),this['_xformMode']=_0x3c908e,this['_key']=_0x958462,this[_0x251610(0x3c3)]();},'reset':function(){var _0x25ee08=_0x3f2db3;_0xb0243a[_0x25ee08(0x3c3)][_0x25ee08(0x33e)](this),this[_0x25ee08(0x2ca)]();},'process':function(_0x2e1a23){var _0x16ebe8=_0x3f2db3;return this[_0x16ebe8(0x2f8)](_0x2e1a23),this['_process']();},'finalize':function(_0x1e8874){var _0x1ccba1=_0x3f2db3;_0x1e8874&&this[_0x1ccba1(0x2f8)](_0x1e8874);var _0xb8311a=this[_0x1ccba1(0x34a)]();return _0xb8311a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x55307d(_0x56f6e2){return typeof _0x56f6e2=='string'?_0x32f2ef:_0x468f6d;}return function(_0x511322){return{'encrypt':function(_0xf3c6fb,_0x17e0f3,_0x5cd80f){var _0x58c9a5=_0x4cbe;return _0x55307d(_0x17e0f3)[_0x58c9a5(0x42d)](_0x511322,_0xf3c6fb,_0x17e0f3,_0x5cd80f);},'decrypt':function(_0x37251d,_0x9ed390,_0xeb22e3){var _0x17cd11=_0x4cbe;return _0x55307d(_0x9ed390)[_0x17cd11(0x473)](_0x511322,_0x37251d,_0x9ed390,_0xeb22e3);}};};}())});_0xc4a8da[_0x3f2db3(0x45f)]=_0x3e6e44[_0x3f2db3(0x22b)]({'_doFinalize':function(){var _0x75b048=_0x3f2db3,_0x47ea35=this[_0x75b048(0x20c)](!0x0);return _0x47ea35;},'blockSize':0x1});var _0x509a38=_0x449126[_0x3f2db3(0x2c6)]={},_0x4ef441=_0xc4a8da[_0x3f2db3(0x343)]=_0x327e3b[_0x3f2db3(0x22b)]({'createEncryptor':function(_0x16d9b2,_0x3bfa88){var _0x50ba91=_0x3f2db3;return this[_0x50ba91(0x488)]['create'](_0x16d9b2,_0x3bfa88);},'createDecryptor':function(_0x245327,_0x387e69){var _0x42febc=_0x3f2db3;return this['Decryptor'][_0x42febc(0x245)](_0x245327,_0x387e69);},'init':function(_0x1459aa,_0x1b9a2f){var _0xa0fb7f=_0x3f2db3;this[_0xa0fb7f(0x3a6)]=_0x1459aa,this[_0xa0fb7f(0x38f)]=_0x1b9a2f;}}),_0x55dcc8=_0x509a38[_0x3f2db3(0x1d4)]=(function(){var _0x42b044=_0x3f2db3,_0x4d097c=_0x4ef441[_0x42b044(0x22b)]();_0x4d097c[_0x42b044(0x488)]=_0x4d097c['extend']({'processBlock':function(_0x477272,_0x135064){var _0x23972d=_0x42b044,_0x44518e=this[_0x23972d(0x3a6)],_0x592919=_0x44518e[_0x23972d(0x36f)];_0x482e68[_0x23972d(0x33e)](this,_0x477272,_0x135064,_0x592919),_0x44518e[_0x23972d(0x3ef)](_0x477272,_0x135064),this['_prevBlock']=_0x477272[_0x23972d(0x2bb)](_0x135064,_0x135064+_0x592919);}}),_0x4d097c[_0x42b044(0x40e)]=_0x4d097c[_0x42b044(0x22b)]({'processBlock':function(_0x1504af,_0x21f4bf){var _0x5b0eeb=_0x42b044,_0x224da0=this[_0x5b0eeb(0x3a6)],_0x54d174=_0x224da0[_0x5b0eeb(0x36f)],_0x1d87e5=_0x1504af['slice'](_0x21f4bf,_0x21f4bf+_0x54d174);_0x224da0[_0x5b0eeb(0x45d)](_0x1504af,_0x21f4bf),_0x482e68[_0x5b0eeb(0x33e)](this,_0x1504af,_0x21f4bf,_0x54d174),this[_0x5b0eeb(0x23f)]=_0x1d87e5;}});function _0x482e68(_0x4828b7,_0xf5f4b4,_0x17cbfa){var _0x5ef4ed=_0x42b044,_0x51294c,_0xd8f06e=this['_iv'];_0xd8f06e?(_0x51294c=_0xd8f06e,this[_0x5ef4ed(0x38f)]=_0x26f19f):_0x51294c=this['_prevBlock'];for(var _0x159c9b=0x0;_0x159c9b<_0x17cbfa;_0x159c9b++)_0x4828b7[_0xf5f4b4+_0x159c9b]^=_0x51294c[_0x159c9b];}return _0x4d097c;}()),_0x5e4518=_0x449126[_0x3f2db3(0x41a)]={},_0x24971f=_0x5e4518[_0x3f2db3(0x366)]={'pad':function(_0x2ae346,_0x31735a){var _0x3d584d=_0x3f2db3;for(var _0x7bba03=_0x31735a*0x4,_0x2817b3=_0x7bba03-_0x2ae346[_0x3d584d(0x206)]%_0x7bba03,_0x227060=_0x2817b3<<0x18|_0x2817b3<<0x10|_0x2817b3<<0x8|_0x2817b3,_0x2445c6=[],_0x483231=0x0;_0x483231<_0x2817b3;_0x483231+=0x4)_0x2445c6['push'](_0x227060);var _0x1bd979=_0x23e2ab[_0x3d584d(0x245)](_0x2445c6,_0x2817b3);_0x2ae346[_0x3d584d(0x374)](_0x1bd979);},'unpad':function(_0x369cca){var _0x336bba=_0x3f2db3,_0x2b0c77=_0x369cca[_0x336bba(0x26e)][_0x369cca[_0x336bba(0x206)]-0x1>>>0x2]&0xff;_0x369cca[_0x336bba(0x206)]-=_0x2b0c77;}};_0xc4a8da[_0x3f2db3(0x1b6)]=_0x3e6e44['extend']({'cfg':_0x3e6e44[_0x3f2db3(0x497)][_0x3f2db3(0x22b)]({'mode':_0x55dcc8,'padding':_0x24971f}),'reset':function(){var _0x423dca=_0x3f2db3,_0x456bd9;_0x3e6e44[_0x423dca(0x3c3)][_0x423dca(0x33e)](this);var _0x448050=this[_0x423dca(0x497)],_0x96d248=_0x448050['iv'],_0x2bd71d=_0x448050[_0x423dca(0x2c6)];this[_0x423dca(0x425)]==this[_0x423dca(0x39e)]?_0x456bd9=_0x2bd71d[_0x423dca(0x380)]:(_0x456bd9=_0x2bd71d[_0x423dca(0x1c1)],this['_minBufferSize']=0x1),this[_0x423dca(0x263)]&&this[_0x423dca(0x263)][_0x423dca(0x299)]==_0x456bd9?this[_0x423dca(0x263)]['init'](this,_0x96d248&&_0x96d248[_0x423dca(0x26e)]):(this[_0x423dca(0x263)]=_0x456bd9[_0x423dca(0x33e)](_0x2bd71d,this,_0x96d248&&_0x96d248[_0x423dca(0x26e)]),this[_0x423dca(0x263)][_0x423dca(0x299)]=_0x456bd9);},'_doProcessBlock':function(_0x5eabed,_0x4190f9){var _0x1f57a0=_0x3f2db3;this['_mode'][_0x1f57a0(0x367)](_0x5eabed,_0x4190f9);},'_doFinalize':function(){var _0x4cf0ea=_0x3f2db3,_0x12dd7c,_0x1737f1=this[_0x4cf0ea(0x497)]['padding'];return this[_0x4cf0ea(0x425)]==this[_0x4cf0ea(0x39e)]?(_0x1737f1[_0x4cf0ea(0x41a)](this[_0x4cf0ea(0x297)],this[_0x4cf0ea(0x36f)]),_0x12dd7c=this[_0x4cf0ea(0x20c)](!0x0)):(_0x12dd7c=this[_0x4cf0ea(0x20c)](!0x0),_0x1737f1[_0x4cf0ea(0x1f2)](_0x12dd7c)),_0x12dd7c;},'blockSize':0x80/0x20});var _0x4978c3=_0xc4a8da[_0x3f2db3(0x2fd)]=_0x327e3b[_0x3f2db3(0x22b)]({'init':function(_0x23b923){var _0x32542e=_0x3f2db3;this[_0x32542e(0x38b)](_0x23b923);},'toString':function(_0x2baddc){var _0x4bd53b=_0x3f2db3;return(_0x2baddc||this[_0x4bd53b(0x2f2)])[_0x4bd53b(0x45a)](this);}}),_0xc66b23=_0x449126['format']={},_0x59770c=_0xc66b23[_0x3f2db3(0x431)]={'stringify':function(_0x3a7b1a){var _0x555b22=_0x3f2db3,_0x1e323a,_0xfa5181=_0x3a7b1a['ciphertext'],_0xcd5ce6=_0x3a7b1a[_0x555b22(0x357)];return _0xcd5ce6?_0x1e323a=_0x23e2ab[_0x555b22(0x245)]([0x53616c74,0x65645f5f])[_0x555b22(0x374)](_0xcd5ce6)[_0x555b22(0x374)](_0xfa5181):_0x1e323a=_0xfa5181,_0x1e323a['toString'](_0xae5097);},'parse':function(_0x5c1fa6){var _0x48b760=_0x3f2db3,_0x4da669,_0x508c1b=_0xae5097[_0x48b760(0x41e)](_0x5c1fa6),_0x2e95c6=_0x508c1b[_0x48b760(0x26e)];return _0x2e95c6[0x0]==0x53616c74&&_0x2e95c6[0x1]==0x65645f5f&&(_0x4da669=_0x23e2ab[_0x48b760(0x245)](_0x2e95c6[_0x48b760(0x2bb)](0x2,0x4)),_0x2e95c6[_0x48b760(0x2ba)](0x0,0x4),_0x508c1b[_0x48b760(0x206)]-=0x10),_0x4978c3[_0x48b760(0x245)]({'ciphertext':_0x508c1b,'salt':_0x4da669});}},_0x468f6d=_0xc4a8da[_0x3f2db3(0x46e)]=_0x327e3b[_0x3f2db3(0x22b)]({'cfg':_0x327e3b[_0x3f2db3(0x22b)]({'format':_0x59770c}),'encrypt':function(_0x48fe47,_0x2d6e92,_0x6bbe59,_0x3f5999){var _0x3540c=_0x3f2db3;_0x3f5999=this[_0x3540c(0x497)]['extend'](_0x3f5999);var _0x4a6e49=_0x48fe47['createEncryptor'](_0x6bbe59,_0x3f5999),_0x2ce3af=_0x4a6e49[_0x3540c(0x342)](_0x2d6e92),_0x1c0f05=_0x4a6e49[_0x3540c(0x497)];return _0x4978c3[_0x3540c(0x245)]({'ciphertext':_0x2ce3af,'key':_0x6bbe59,'iv':_0x1c0f05['iv'],'algorithm':_0x48fe47,'mode':_0x1c0f05[_0x3540c(0x2c6)],'padding':_0x1c0f05['padding'],'blockSize':_0x48fe47[_0x3540c(0x36f)],'formatter':_0x3f5999[_0x3540c(0x41f)]});},'decrypt':function(_0x2624e,_0x105354,_0x5d11b5,_0x220229){var _0x204512=_0x3f2db3;_0x220229=this['cfg']['extend'](_0x220229),_0x105354=this['_parse'](_0x105354,_0x220229[_0x204512(0x41f)]);var _0x44fe9f=_0x2624e[_0x204512(0x1c1)](_0x5d11b5,_0x220229)[_0x204512(0x342)](_0x105354[_0x204512(0x3f8)]);return _0x44fe9f;},'_parse':function(_0x54c778,_0x252446){var _0x15ac33=_0x3f2db3;return typeof _0x54c778==_0x15ac33(0x1d6)?_0x252446['parse'](_0x54c778,this):_0x54c778;}}),_0x1e1fd2=_0x449126[_0x3f2db3(0x406)]={},_0x3b444f=_0x1e1fd2[_0x3f2db3(0x431)]={'execute':function(_0x24951a,_0x153151,_0x26993c,_0x12af6f,_0x338919){var _0x3c888a=_0x3f2db3;if(_0x12af6f||(_0x12af6f=_0x23e2ab[_0x3c888a(0x1ea)](0x40/0x8)),_0x338919)var _0x4c6536=_0x512b2e['create']({'keySize':_0x153151+_0x26993c,'hasher':_0x338919})[_0x3c888a(0x3df)](_0x24951a,_0x12af6f);else var _0x4c6536=_0x512b2e['create']({'keySize':_0x153151+_0x26993c})['compute'](_0x24951a,_0x12af6f);var _0x350942=_0x23e2ab[_0x3c888a(0x245)](_0x4c6536['words'][_0x3c888a(0x2bb)](_0x153151),_0x26993c*0x4);return _0x4c6536['sigBytes']=_0x153151*0x4,_0x4978c3['create']({'key':_0x4c6536,'iv':_0x350942,'salt':_0x12af6f});}},_0x32f2ef=_0xc4a8da['PasswordBasedCipher']=_0x468f6d[_0x3f2db3(0x22b)]({'cfg':_0x468f6d['cfg'][_0x3f2db3(0x22b)]({'kdf':_0x3b444f}),'encrypt':function(_0xb5b95,_0x4f0f90,_0x46446a,_0x1875ee){var _0x5da25a=_0x3f2db3;_0x1875ee=this[_0x5da25a(0x497)][_0x5da25a(0x22b)](_0x1875ee);var _0x3028ef=_0x1875ee[_0x5da25a(0x406)][_0x5da25a(0x2d0)](_0x46446a,_0xb5b95[_0x5da25a(0x1e4)],_0xb5b95[_0x5da25a(0x368)],_0x1875ee[_0x5da25a(0x357)],_0x1875ee['hasher']);_0x1875ee['iv']=_0x3028ef['iv'];var _0x1add37=_0x468f6d[_0x5da25a(0x42d)][_0x5da25a(0x33e)](this,_0xb5b95,_0x4f0f90,_0x3028ef[_0x5da25a(0x39c)],_0x1875ee);return _0x1add37[_0x5da25a(0x38b)](_0x3028ef),_0x1add37;},'decrypt':function(_0x3d5ac0,_0x88c4aa,_0x5129d3,_0x359529){var _0xeee818=_0x3f2db3;_0x359529=this[_0xeee818(0x497)][_0xeee818(0x22b)](_0x359529),_0x88c4aa=this[_0xeee818(0x381)](_0x88c4aa,_0x359529['format']);var _0x5f4f30=_0x359529[_0xeee818(0x406)][_0xeee818(0x2d0)](_0x5129d3,_0x3d5ac0[_0xeee818(0x1e4)],_0x3d5ac0[_0xeee818(0x368)],_0x88c4aa[_0xeee818(0x357)],_0x359529['hasher']);_0x359529['iv']=_0x5f4f30['iv'];var _0x1f7eb6=_0x468f6d[_0xeee818(0x473)][_0xeee818(0x33e)](this,_0x3d5ac0,_0x88c4aa,_0x5f4f30[_0xeee818(0x39c)],_0x359529);return _0x1f7eb6;}});}();}));}(Je)),Je[_0x330dc7(0x370)];}var Vr=Ve[_0x5152c2(0x370)],si;function Gr(){var _0x59cee1=_0x5152c2;return si||(si=0x1,function(_0xf25156,_0x3e7f58){(function(_0x42d636,_0x38d659,_0x437aa4){var _0x20c590=_0x4cbe;_0xf25156[_0x20c590(0x370)]=_0x38d659(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x547bc3){return(function(){var _0xf76da9=_0x4cbe,_0x4ffcdd=_0x547bc3,_0xe4172=_0x4ffcdd[_0xf76da9(0x476)],_0x55518d=_0xe4172[_0xf76da9(0x1b6)],_0x1cd32a=_0x4ffcdd['algo'],_0x142890=[],_0x71cf7a=[],_0x921690=[],_0x241cd9=[],_0x6514fe=[],_0x2266f7=[],_0x1da56e=[],_0xcc470c=[],_0x213f2a=[],_0x243234=[];(function(){for(var _0x50e43d=[],_0xcf0824=0x0;_0xcf0824<0x100;_0xcf0824++)_0xcf0824<0x80?_0x50e43d[_0xcf0824]=_0xcf0824<<0x1:_0x50e43d[_0xcf0824]=_0xcf0824<<0x1^0x11b;for(var _0x425d4f=0x0,_0x5730ca=0x0,_0xcf0824=0x0;_0xcf0824<0x100;_0xcf0824++){var _0x31783b=_0x5730ca^_0x5730ca<<0x1^_0x5730ca<<0x2^_0x5730ca<<0x3^_0x5730ca<<0x4;_0x31783b=_0x31783b>>>0x8^_0x31783b&0xff^0x63,_0x142890[_0x425d4f]=_0x31783b,_0x71cf7a[_0x31783b]=_0x425d4f;var _0x1e6e89=_0x50e43d[_0x425d4f],_0x1f5a09=_0x50e43d[_0x1e6e89],_0x1739bf=_0x50e43d[_0x1f5a09],_0x19fb1e=_0x50e43d[_0x31783b]*0x101^_0x31783b*0x1010100;_0x921690[_0x425d4f]=_0x19fb1e<<0x18|_0x19fb1e>>>0x8,_0x241cd9[_0x425d4f]=_0x19fb1e<<0x10|_0x19fb1e>>>0x10,_0x6514fe[_0x425d4f]=_0x19fb1e<<0x8|_0x19fb1e>>>0x18,_0x2266f7[_0x425d4f]=_0x19fb1e;var _0x19fb1e=_0x1739bf*0x1010101^_0x1f5a09*0x10001^_0x1e6e89*0x101^_0x425d4f*0x1010100;_0x1da56e[_0x31783b]=_0x19fb1e<<0x18|_0x19fb1e>>>0x8,_0xcc470c[_0x31783b]=_0x19fb1e<<0x10|_0x19fb1e>>>0x10,_0x213f2a[_0x31783b]=_0x19fb1e<<0x8|_0x19fb1e>>>0x18,_0x243234[_0x31783b]=_0x19fb1e,_0x425d4f?(_0x425d4f=_0x1e6e89^_0x50e43d[_0x50e43d[_0x50e43d[_0x1739bf^_0x1e6e89]]],_0x5730ca^=_0x50e43d[_0x50e43d[_0x5730ca]]):_0x425d4f=_0x5730ca=0x1;}}());var _0x18f355=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5393fb=_0x1cd32a[_0xf76da9(0x356)]=_0x55518d['extend']({'_doReset':function(){var _0x58ce1d=_0xf76da9,_0x157d4f;if(!(this[_0x58ce1d(0x4ad)]&&this[_0x58ce1d(0x30e)]===this[_0x58ce1d(0x2e0)])){for(var _0x803ec8=this[_0x58ce1d(0x30e)]=this[_0x58ce1d(0x2e0)],_0x5a6892=_0x803ec8[_0x58ce1d(0x26e)],_0x973c5d=_0x803ec8['sigBytes']/0x4,_0x539866=this['_nRounds']=_0x973c5d+0x6,_0x1f1e8a=(_0x539866+0x1)*0x4,_0x520608=this['_keySchedule']=[],_0x49a846=0x0;_0x49a846<_0x1f1e8a;_0x49a846++)_0x49a846<_0x973c5d?_0x520608[_0x49a846]=_0x5a6892[_0x49a846]:(_0x157d4f=_0x520608[_0x49a846-0x1],_0x49a846%_0x973c5d?_0x973c5d>0x6&&_0x49a846%_0x973c5d==0x4&&(_0x157d4f=_0x142890[_0x157d4f>>>0x18]<<0x18|_0x142890[_0x157d4f>>>0x10&0xff]<<0x10|_0x142890[_0x157d4f>>>0x8&0xff]<<0x8|_0x142890[_0x157d4f&0xff]):(_0x157d4f=_0x157d4f<<0x8|_0x157d4f>>>0x18,_0x157d4f=_0x142890[_0x157d4f>>>0x18]<<0x18|_0x142890[_0x157d4f>>>0x10&0xff]<<0x10|_0x142890[_0x157d4f>>>0x8&0xff]<<0x8|_0x142890[_0x157d4f&0xff],_0x157d4f^=_0x18f355[_0x49a846/_0x973c5d|0x0]<<0x18),_0x520608[_0x49a846]=_0x520608[_0x49a846-_0x973c5d]^_0x157d4f);for(var _0x2b423f=this['_invKeySchedule']=[],_0x277869=0x0;_0x277869<_0x1f1e8a;_0x277869++){var _0x49a846=_0x1f1e8a-_0x277869;if(_0x277869%0x4)var _0x157d4f=_0x520608[_0x49a846];else var _0x157d4f=_0x520608[_0x49a846-0x4];_0x277869<0x4||_0x49a846<=0x4?_0x2b423f[_0x277869]=_0x157d4f:_0x2b423f[_0x277869]=_0x1da56e[_0x142890[_0x157d4f>>>0x18]]^_0xcc470c[_0x142890[_0x157d4f>>>0x10&0xff]]^_0x213f2a[_0x142890[_0x157d4f>>>0x8&0xff]]^_0x243234[_0x142890[_0x157d4f&0xff]];}}},'encryptBlock':function(_0xb5ae5e,_0x341de4){var _0x490e6c=_0xf76da9;this[_0x490e6c(0x4a1)](_0xb5ae5e,_0x341de4,this['_keySchedule'],_0x921690,_0x241cd9,_0x6514fe,_0x2266f7,_0x142890);},'decryptBlock':function(_0x1407e5,_0x2ea78b){var _0x1a2d91=_0xf76da9,_0x2bd5fc=_0x1407e5[_0x2ea78b+0x1];_0x1407e5[_0x2ea78b+0x1]=_0x1407e5[_0x2ea78b+0x3],_0x1407e5[_0x2ea78b+0x3]=_0x2bd5fc,this[_0x1a2d91(0x4a1)](_0x1407e5,_0x2ea78b,this['_invKeySchedule'],_0x1da56e,_0xcc470c,_0x213f2a,_0x243234,_0x71cf7a);var _0x2bd5fc=_0x1407e5[_0x2ea78b+0x1];_0x1407e5[_0x2ea78b+0x1]=_0x1407e5[_0x2ea78b+0x3],_0x1407e5[_0x2ea78b+0x3]=_0x2bd5fc;},'_doCryptBlock':function(_0x3e74b7,_0x58ace0,_0x15e64c,_0x204a7a,_0x27f6e5,_0x4e1711,_0x57e63d,_0x59bd53){var _0x55e08a=_0xf76da9;for(var _0x16ad2b=this[_0x55e08a(0x4ad)],_0x574cb3=_0x3e74b7[_0x58ace0]^_0x15e64c[0x0],_0x63a496=_0x3e74b7[_0x58ace0+0x1]^_0x15e64c[0x1],_0x126d50=_0x3e74b7[_0x58ace0+0x2]^_0x15e64c[0x2],_0x325a52=_0x3e74b7[_0x58ace0+0x3]^_0x15e64c[0x3],_0x4e939e=0x4,_0x1df2ad=0x1;_0x1df2ad<_0x16ad2b;_0x1df2ad++){var _0x1565db=_0x204a7a[_0x574cb3>>>0x18]^_0x27f6e5[_0x63a496>>>0x10&0xff]^_0x4e1711[_0x126d50>>>0x8&0xff]^_0x57e63d[_0x325a52&0xff]^_0x15e64c[_0x4e939e++],_0x4db643=_0x204a7a[_0x63a496>>>0x18]^_0x27f6e5[_0x126d50>>>0x10&0xff]^_0x4e1711[_0x325a52>>>0x8&0xff]^_0x57e63d[_0x574cb3&0xff]^_0x15e64c[_0x4e939e++],_0x5024be=_0x204a7a[_0x126d50>>>0x18]^_0x27f6e5[_0x325a52>>>0x10&0xff]^_0x4e1711[_0x574cb3>>>0x8&0xff]^_0x57e63d[_0x63a496&0xff]^_0x15e64c[_0x4e939e++],_0x258281=_0x204a7a[_0x325a52>>>0x18]^_0x27f6e5[_0x574cb3>>>0x10&0xff]^_0x4e1711[_0x63a496>>>0x8&0xff]^_0x57e63d[_0x126d50&0xff]^_0x15e64c[_0x4e939e++];_0x574cb3=_0x1565db,_0x63a496=_0x4db643,_0x126d50=_0x5024be,_0x325a52=_0x258281;}var _0x1565db=(_0x59bd53[_0x574cb3>>>0x18]<<0x18|_0x59bd53[_0x63a496>>>0x10&0xff]<<0x10|_0x59bd53[_0x126d50>>>0x8&0xff]<<0x8|_0x59bd53[_0x325a52&0xff])^_0x15e64c[_0x4e939e++],_0x4db643=(_0x59bd53[_0x63a496>>>0x18]<<0x18|_0x59bd53[_0x126d50>>>0x10&0xff]<<0x10|_0x59bd53[_0x325a52>>>0x8&0xff]<<0x8|_0x59bd53[_0x574cb3&0xff])^_0x15e64c[_0x4e939e++],_0x5024be=(_0x59bd53[_0x126d50>>>0x18]<<0x18|_0x59bd53[_0x325a52>>>0x10&0xff]<<0x10|_0x59bd53[_0x574cb3>>>0x8&0xff]<<0x8|_0x59bd53[_0x63a496&0xff])^_0x15e64c[_0x4e939e++],_0x258281=(_0x59bd53[_0x325a52>>>0x18]<<0x18|_0x59bd53[_0x574cb3>>>0x10&0xff]<<0x10|_0x59bd53[_0x63a496>>>0x8&0xff]<<0x8|_0x59bd53[_0x126d50&0xff])^_0x15e64c[_0x4e939e++];_0x3e74b7[_0x58ace0]=_0x1565db,_0x3e74b7[_0x58ace0+0x1]=_0x4db643,_0x3e74b7[_0x58ace0+0x2]=_0x5024be,_0x3e74b7[_0x58ace0+0x3]=_0x258281;},'keySize':0x100/0x20});_0x4ffcdd[_0xf76da9(0x356)]=_0x55518d[_0xf76da9(0x3d3)](_0x5393fb);}()),_0x547bc3['AES'];}));}(Ve)),Ve[_0x59cee1(0x370)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x5152c2(0x370)],ai;function zr(){var _0x459089=_0x5152c2;return ai||(ai=0x1,function(_0x29632d,_0x29d07b){(function(_0x3b7a6c,_0x31a6eb){_0x29632d['exports']=_0x31a6eb(ne());}(qr,function(_0x1d5466){var _0x3ace24=_0x4cbe;return _0x1d5466[_0x3ace24(0x44a)][_0x3ace24(0x233)];}));}(Xe)),Xe[_0x459089(0x370)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x5152c2(0x370)],ci;function Qr(){var _0x52580f=_0x5152c2;return ci||(ci=0x1,function(_0x586557,_0x150585){(function(_0x1be1a6,_0x1662a5){var _0xfd677b=_0x4cbe;_0x586557[_0xfd677b(0x370)]=_0x1662a5(ne());}(Zr,function(_0x8406fa){var _0x3873c1=_0x4cbe;return(function(){var _0x1a93e8=_0x4cbe;if(typeof ArrayBuffer==_0x1a93e8(0x2d3)){var _0x2a14d6=_0x8406fa,_0x529a6f=_0x2a14d6[_0x1a93e8(0x476)],_0x2e7d3e=_0x529a6f['WordArray'],_0x5227b1=_0x2e7d3e['init'],_0x5a7358=_0x2e7d3e['init']=function(_0xff4567){var _0x2b2227=_0x1a93e8;if(_0xff4567 instanceof ArrayBuffer&&(_0xff4567=new Uint8Array(_0xff4567)),(_0xff4567 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xff4567 instanceof Uint8ClampedArray||_0xff4567 instanceof Int16Array||_0xff4567 instanceof Uint16Array||_0xff4567 instanceof Int32Array||_0xff4567 instanceof Uint32Array||_0xff4567 instanceof Float32Array||_0xff4567 instanceof Float64Array)&&(_0xff4567=new Uint8Array(_0xff4567[_0x2b2227(0x3d8)],_0xff4567['byteOffset'],_0xff4567[_0x2b2227(0x282)])),_0xff4567 instanceof Uint8Array){for(var _0x5e829f=_0xff4567[_0x2b2227(0x282)],_0x157d39=[],_0x1b4bc5=0x0;_0x1b4bc5<_0x5e829f;_0x1b4bc5++)_0x157d39[_0x1b4bc5>>>0x2]|=_0xff4567[_0x1b4bc5]<<0x18-_0x1b4bc5%0x4*0x8;_0x5227b1[_0x2b2227(0x33e)](this,_0x157d39,_0x5e829f);}else _0x5227b1[_0x2b2227(0x45c)](this,arguments);};_0x5a7358['prototype']=_0x2e7d3e;}}()),_0x8406fa[_0x3873c1(0x476)]['WordArray'];}));}(Ze)),Ze[_0x52580f(0x370)];}var es=Qr();function _0x4cbe(_0x5e376d,_0x2937d9){var _0xf80aee=_0xf80a();return _0x4cbe=function(_0x4cbef6,_0x1d7785){_0x4cbef6=_0x4cbef6-0x1af;var _0x105560=_0xf80aee[_0x4cbef6];return _0x105560;},_0x4cbe(_0x5e376d,_0x2937d9);}const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x5152c2(0x370)],hi;function ns(){var _0x3a0983=_0x5152c2;return hi||(hi=0x1,function(_0x1bb416,_0x3e0363){(function(_0xa827cd,_0xfc6902,_0x338370){_0x1bb416['exports']=_0xfc6902(ne(),Ai());}(is,function(_0x351eb3){var _0x54b0ca=_0x4cbe;return _0x351eb3[_0x54b0ca(0x41a)][_0x54b0ca(0x1e8)]={'pad':function(){},'unpad':function(){}},_0x351eb3[_0x54b0ca(0x41a)][_0x54b0ca(0x1e8)];}));}(Qe)),Qe[_0x3a0983(0x370)];}var rs=ns();const ss=ke(rs);function os(_0x2f8f3d,_0x3a9142){var _0x5c0eb2=_0x5152c2;const _0x3253b2=_0x3a9142-_0x2f8f3d[_0x5c0eb2(0x445)]%_0x3a9142,_0x491567=String[_0x5c0eb2(0x2cc)](_0x3253b2)['repeat'](_0x3253b2);return _0x2f8f3d+_0x491567;}function as(_0x4d91d6,_0x69e0ac){var _0x421299=_0x5152c2;const _0x51044e=ts['random'](0x10),_0x730bf9=os(_0x4d91d6,0x10),_0x88427b=Kr[_0x421299(0x42d)](Xr['parse'](_0x730bf9),oi[_0x421299(0x41e)](_0x69e0ac),{'iv':_0x51044e,'padding':ss});return _0x51044e[_0x421299(0x374)](_0x88427b[_0x421299(0x3f8)])['toString'](oi);}function cs(){var _0x415d0c=_0x5152c2;const _0x5612ce=_0x2b87b1()[_0x415d0c(0x3e1)];if(_0x5612ce){const _0x24d80f={'time':Math[_0x415d0c(0x2ef)](Date[_0x415d0c(0x2c9)]()/0x3e8),'domain':location['hostname']};return as(JSON[_0x415d0c(0x45a)](_0x24d80f),_0x5612ce);}}var hs=Object['defineProperty'],_s=Object['getOwnPropertyDescriptor'],ls=(_0x4cdcf4,_0x41de51,_0x378f56,_0x22da71)=>{for(var _0x4ee71a=_0x22da71>0x1?void 0x0:_0x22da71?_s(_0x41de51,_0x378f56):_0x41de51,_0x3c0536=_0x4cdcf4['length']-0x1,_0x5c7036;_0x3c0536>=0x0;_0x3c0536--)(_0x5c7036=_0x4cdcf4[_0x3c0536])&&(_0x4ee71a=(_0x22da71?_0x5c7036(_0x41de51,_0x378f56,_0x4ee71a):_0x5c7036(_0x4ee71a))||_0x4ee71a);return _0x22da71&&_0x4ee71a&&hs(_0x41de51,_0x378f56,_0x4ee71a),_0x4ee71a;},us=(_0x4624f0,_0x4a4be6)=>(_0x26812c,_0x3d3f7f)=>_0x4a4be6(_0x26812c,_0x3d3f7f,_0x4624f0);let ot=class{constructor(_0xa560aa){var _0x33fae8=_0x5152c2;this[_0x33fae8(0x418)]=_0xa560aa,this[_0x33fae8(0x3d2)]();}[_0x5152c2(0x3d2)](){var _0x2f2f5d=_0x5152c2;this[_0x2f2f5d(0x418)][_0x2f2f5d(0x38c)]({'interceptor':(_0x57083,_0x5ac939)=>{var _0x5d3485=_0x2f2f5d;const _0xf0832b=_0x57083[_0x5d3485(0x2c3)],_0x51be35=cs();return _0x51be35&&_0xf0832b[_0x5d3485(0x498)](_0x5d3485(0x3ac),_0x51be35),_0x5ac939(_0x57083);}});}};ot=ls([us(0x0,_0x49608f(_0xb59977))],ot);var ds=Object[_0x5152c2(0x490)],fs=Object[_0x5152c2(0x37e)],vs=(_0x347458,_0x2ae183,_0x125372,_0x177080)=>{var _0x537f93=_0x5152c2;for(var _0xcc380d=_0x177080>0x1?void 0x0:_0x177080?fs(_0x2ae183,_0x125372):_0x2ae183,_0x41fb54=_0x347458[_0x537f93(0x445)]-0x1,_0x581560;_0x41fb54>=0x0;_0x41fb54--)(_0x581560=_0x347458[_0x41fb54])&&(_0xcc380d=(_0x177080?_0x581560(_0x2ae183,_0x125372,_0xcc380d):_0x581560(_0xcc380d))||_0xcc380d);return _0x177080&&_0xcc380d&&ds(_0x2ae183,_0x125372,_0xcc380d),_0xcc380d;},mt=(_0x311276,_0x382b0)=>(_0x4d978a,_0x48fa71)=>_0x382b0(_0x4d978a,_0x48fa71,_0x311276);let Ot=class extends _0x6a3296{constructor(_0x357c51,_0x437741,_0x57c943){var _0x31ad97=_0x5152c2;super(),N(this,_0x31ad97(0x416),new _0x549626(null)),N(this,_0x31ad97(0x375),this[_0x31ad97(0x416)][_0x31ad97(0x377)]()),(this[_0x31ad97(0x412)]=_0x357c51,this[_0x31ad97(0x3c1)]=_0x437741,this[_0x31ad97(0x48a)]=_0x57c943);}async[_0x5152c2(0x219)](_0x16ff66,_0x3c93c3,_0x1a898a){var _0x2b7499=_0x5152c2;this[_0x2b7499(0x416)][_0x2b7499(0x2d8)]({'unitId':_0x16ff66,'type':_0x3c93c3,'subUnitId':_0x1a898a});let _0x146a9c=null;switch(_0x3c93c3){case Q[_0x2b7499(0x332)]:{_0x146a9c=await this[_0x2b7499(0x31d)](_0x16ff66);break;}case Q[_0x2b7499(0x465)]:{_0x146a9c=await this[_0x2b7499(0x435)](_0x16ff66);break;}default:{this[_0x2b7499(0x412)][_0x2b7499(0x3f5)](_0x2b7499(0x3c2),_0x2b7499(0x408));break;}}return _0x146a9c;}async[_0x5152c2(0x31d)](_0x103a8a){var _0x4a2e48=_0x5152c2,_0x4b7a97;let _0x2f4e72=0x0;const _0x46d747=await((_0x4b7a97=this[_0x4a2e48(0x48a)])==null?void 0x0:_0x4b7a97[_0x4a2e48(0x1ef)](_0x103a8a));return _0x46d747&&(_0x46d747[_0x4a2e48(0x218)]||_0x46d747['mutations'][_0x4a2e48(0x445)]!==0x0)&&(_0x2f4e72=_0x46d747['rev']),_0x2f4e72===0x0&&this[_0x4a2e48(0x412)][_0x4a2e48(0x3ec)](_0x4a2e48(0x3c2),_0x4a2e48(0x462)),this['_snapshotService'][_0x4a2e48(0x417)](_0x103a8a,_0x2f4e72);}async[_0x5152c2(0x435)](_0x15ab1a){var _0x147468=_0x5152c2,_0x4e76cf;let _0xa799e5=0x0;const _0x5dde47=await((_0x4e76cf=this[_0x147468(0x48a)])==null?void 0x0:_0x4e76cf['loadOfflineData'](_0x15ab1a));return _0x5dde47&&(_0x5dde47[_0x147468(0x218)]||_0x5dde47['mutations'][_0x147468(0x445)]!==0x0)&&(_0xa799e5=_0x5dde47[_0x147468(0x317)]),_0xa799e5===0x0&&this['_logService'][_0x147468(0x3ec)](_0x147468(0x3c2),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x147468(0x3c1)][_0x147468(0x2a8)](_0x15ab1a,_0xa799e5);}};Ot=vs([mt(0x0,_0xff0f44),mt(0x1,_0x49608f(_0x244a9c)),mt(0x2,_0x45d56d(J))],Ot);var ps=Object[_0x5152c2(0x490)],ms=Object[_0x5152c2(0x37e)],gs=(_0x461a16,_0x107f79,_0x518fa7,_0x2cb4ba)=>{var _0x247ba9=_0x5152c2;for(var _0x224081=_0x2cb4ba>0x1?void 0x0:_0x2cb4ba?ms(_0x107f79,_0x518fa7):_0x107f79,_0x41be02=_0x461a16[_0x247ba9(0x445)]-0x1,_0x1c08e5;_0x41be02>=0x0;_0x41be02--)(_0x1c08e5=_0x461a16[_0x41be02])&&(_0x224081=(_0x2cb4ba?_0x1c08e5(_0x107f79,_0x518fa7,_0x224081):_0x1c08e5(_0x224081))||_0x224081);return _0x2cb4ba&&_0x224081&&ps(_0x107f79,_0x518fa7,_0x224081),_0x224081;},gt=(_0x2767b3,_0x5812aa)=>(_0x44e897,_0x596426)=>_0x5812aa(_0x44e897,_0x596426,_0x2767b3);const Ss=[_0x5152c2(0x4b6),_0x5152c2(0x1ca),_0x5152c2(0x3cd),'image/gif','image/bmp'],Es=0x5*0x400*0x400,Is='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Ts=_0x5152c2(0x46c),Cs='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Rs=_0x5152c2(0x46b);let yt=class{constructor(_0x1d6c1a,_0x34680a,_0x1c045f){var _0xf0284=_0x5152c2;N(this,'_waitCount',0x0),N(this,_0xf0284(0x4bb),new _0x177b7c()),N(this,_0xf0284(0x3ae),this['_change$']),N(this,_0xf0284(0x376),new Map()),(this[_0xf0284(0x418)]=_0x1d6c1a,this[_0xf0284(0x3f9)]=_0x34680a,this['_univerInstanceService']=_0x1c045f);}[_0x5152c2(0x458)](_0x1bf0b3){var _0x6ada40=_0x5152c2;this['_waitCount']=_0x1bf0b3,this[_0x6ada40(0x4bb)]['next'](_0x1bf0b3);}[_0x5152c2(0x2e8)](_0xd96492,_0x478928){var _0x4e5f5a=_0x5152c2;if(_0x478928===_0x46ff9b[_0x4e5f5a(0x337)]){const _0xbac32f=new Image();return _0xbac32f['src']=_0xd96492,_0xbac32f;}return this[_0x4e5f5a(0x376)][_0x4e5f5a(0x3fb)](_0xd96492);}['addImageSourceCache'](_0x2ef645,_0x565e80,_0x260c06){var _0x57623f=_0x5152c2;_0x565e80===_0x46ff9b[_0x57623f(0x337)]||_0x260c06==null||this['_imageSourceCache'][_0x57623f(0x498)](_0x2ef645,_0x260c06);}async[_0x5152c2(0x489)](_0x270dca){var _0x5939d7=_0x5152c2;try{const _0x58c31d=this[_0x5939d7(0x25c)](this[_0x5939d7(0x21c)](),''+_0x270dca),_0xc1255b=(await this[_0x5939d7(0x418)][_0x5939d7(0x3fb)](_0x58c31d))[_0x5939d7(0x284)];if(_0xc1255b[_0x5939d7(0x3f5)]&&_0xc1255b[_0x5939d7(0x3f5)][_0x5939d7(0x3a3)]===Ii['OK']){const _0x194fa4=new URL(_0xc1255b['url'],this[_0x5939d7(0x1fb)]())['toString']();return Promise[_0x5939d7(0x3dc)](_0x194fa4);}return Promise[_0x5939d7(0x2be)](_0xc1255b[_0x5939d7(0x3f5)]);}catch(_0x3d96f5){return Promise[_0x5939d7(0x2be)](_0x3d96f5);}}async[_0x5152c2(0x2b2)](_0x5ec0a6){var _0x200f68=_0x5152c2;let _0x49600b='';if(!Ss['includes'](_0x5ec0a6[_0x200f68(0x3fc)]))return this[_0x200f68(0x2b9)](),Promise[_0x200f68(0x2be)](new Error(_0x520d0c[_0x200f68(0x430)]));if(_0x5ec0a6['size']>Es)return this[_0x200f68(0x2b9)](),Promise['reject'](new Error(_0x520d0c['ERROR_EXCEED_SIZE']));try{const _0x56c7f2=new FormData();_0x56c7f2[_0x200f68(0x23e)](_0x200f68(0x405),_0x5ec0a6);const _0x1ed4c2=this[_0x200f68(0x30c)][_0x200f68(0x364)](),_0x5baff7=_0x1ed4c2==null?void 0x0:_0x1ed4c2[_0x200f68(0x288)]();if(!_0x5baff7)throw new Error(_0x200f68(0x28e));const _0x124f71=this[_0x200f68(0x2c5)]()+_0x200f68(0x270)+_0x5ec0a6['size'][_0x200f68(0x28b)]()+'&source='+Ti[_0x200f68(0x4ac)]+_0x200f68(0x2f0)+encodeURIComponent(_0x5baff7),_0x4347d9=await(await fetch(_0x124f71,{'method':'POST','body':_0x56c7f2}))['json']();if(typeof _0x4347d9[_0x200f68(0x1c0)]!=_0x200f68(0x1d6))return this[_0x200f68(0x2b9)](),Promise[_0x200f68(0x2be)](new Error(_0x520d0c['ERROR_IMAGE']));_0x49600b=_0x4347d9[_0x200f68(0x1c0)];}catch{return this['_decreaseWaiting'](),Promise[_0x200f68(0x2be)](new Error(_0x520d0c[_0x200f68(0x2ce)]));}return new Promise((_0x2f992f,_0x1cccc7)=>{const _0x58f3c9=new FileReader();_0x58f3c9['readAsDataURL'](_0x5ec0a6),_0x58f3c9['onload']=_0x6eb410=>{var _0x4beb78=_0x4cbe,_0x5661b0;const _0x574cab=(_0x5661b0=_0x6eb410[_0x4beb78(0x3d7)])==null?void 0x0:_0x5661b0['result'];if(_0x574cab==null){this[_0x4beb78(0x2b9)](),_0x1cccc7(new Error(_0x520d0c['ERROR_IMAGE']));return;}const _0x5a6896=_0x2846ef[_0x4beb78(0x448)](0x6);_0x2f992f({'imageId':_0x5a6896,'imageSourceType':_0x46ff9b[_0x4beb78(0x4b5)],'source':_0x49600b,'base64Cache':_0x574cab,'status':_0x520d0c['SUCCUSS']}),this[_0x4beb78(0x2b9)]();};});}[_0x5152c2(0x2c5)](){var _0x3d42e2=_0x5152c2,_0xfe1e54,_0x160c63;const _0x2f50a3=this['_configService'][_0x3d42e2(0x4a9)](Is),_0x2a5a56=this[_0x3d42e2(0x3f9)][_0x3d42e2(0x4a9)](q);return(_0x160c63=(_0xfe1e54=_0x2a5a56==null?void 0x0:_0x2a5a56[_0x3d42e2(0x1d5)])!=null?_0xfe1e54:_0x2f50a3)!=null?_0x160c63:Ts;}[_0x5152c2(0x21c)](){var _0x12082b=_0x5152c2,_0x7412c,_0x49e2a3;const _0x920a82=this[_0x12082b(0x3f9)][_0x12082b(0x4a9)](Cs),_0x3a0f2c=this['_configService']['getConfig'](q);return(_0x49e2a3=(_0x7412c=_0x3a0f2c==null?void 0x0:_0x3a0f2c['signUrlServerUrl'])!=null?_0x7412c:_0x920a82)!=null?_0x49e2a3:Rs;}[_0x5152c2(0x1fb)](){var _0x276f7d=_0x5152c2,_0x556c98;const _0x1d0da3=this[_0x276f7d(0x3f9)][_0x276f7d(0x4a9)](q);return(_0x556c98=_0x1d0da3==null?void 0x0:_0x1d0da3[_0x276f7d(0x1d3)])!=null?_0x556c98:location['origin'];}[_0x5152c2(0x25c)](_0x2d1fa4,_0x13dfa2){var _0x2e84e5=_0x5152c2;return _0x2d1fa4['replace'](_0x2e84e5(0x2df),_0x13dfa2);}[_0x5152c2(0x2b9)](){var _0x5bb185=_0x5152c2;this[_0x5bb185(0x212)]-=0x1,this[_0x5bb185(0x4bb)]['next'](this[_0x5bb185(0x212)]);}};yt=gs([gt(0x0,_0x49608f(_0xb59977)),gt(0x1,_0x398800),gt(0x2,_0x49608f(_0x1eeb0a))],yt);var bs=Object['defineProperty'],Os=Object['getOwnPropertyDescriptor'],ys=(_0x5454a1,_0x4410cb,_0x300271,_0x3eef1f)=>{var _0x1fd01c=_0x5152c2;for(var _0xdcf7b7=_0x3eef1f>0x1?void 0x0:_0x3eef1f?Os(_0x4410cb,_0x300271):_0x4410cb,_0x11e3fb=_0x5454a1[_0x1fd01c(0x445)]-0x1,_0x2fb31e;_0x11e3fb>=0x0;_0x11e3fb--)(_0x2fb31e=_0x5454a1[_0x11e3fb])&&(_0xdcf7b7=(_0x3eef1f?_0x2fb31e(_0x4410cb,_0x300271,_0xdcf7b7):_0x2fb31e(_0xdcf7b7))||_0xdcf7b7);return _0x3eef1f&&_0xdcf7b7&&bs(_0x4410cb,_0x300271,_0xdcf7b7),_0xdcf7b7;},_i=(_0x24c0dc,_0x12bf00)=>(_0x5c2e09,_0x1ca374)=>_0x12bf00(_0x5c2e09,_0x1ca374,_0x24c0dc);const Ns=_0x5152c2(0x318);let Nt=class{constructor(_0x264e32,_0x4a7269){var _0x5227ca=_0x5152c2;this[_0x5227ca(0x3f9)]=_0x264e32,this[_0x5227ca(0x2b1)]=_0x4a7269;}[_0x5152c2(0x26f)](){var _0x4ea5ff=_0x5152c2,_0xb1323a,_0x44930f;const _0x4a18ca=this[_0x4ea5ff(0x3f9)][_0x4ea5ff(0x4a9)](Pi),_0x131081=this['_configService'][_0x4ea5ff(0x4a9)](q);return(_0x44930f=(_0xb1323a=_0x131081==null?void 0x0:_0x131081['authzUrl'])!=null?_0xb1323a:_0x4a18ca)!=null?_0x44930f:Ns;}async[_0x5152c2(0x269)](_0x3367df){var _0x16a594=_0x5152c2;const _0x8d8ca9=this[_0x16a594(0x26f)]()+_0x16a594(0x31b);return{'list':[{'title':_0x16a594(0x2f1),'mentions':(await this['_HTTPService'][_0x16a594(0x3fb)](_0x8d8ca9,{'params':{'objectID':_0x3367df[_0x16a594(0x1f9)],'unitID':_0x3367df['unitId']}}))[_0x16a594(0x284)][_0x16a594(0x3b6)][_0x16a594(0x3d9)](_0x1ee7e9=>({'objectId':_0x1ee7e9['id'],'name':_0x1ee7e9[_0x16a594(0x30b)][_0x16a594(0x2ec)],'metadata':{'icon':_0x1ee7e9[_0x16a594(0x30b)][_0x16a594(0x485)]},'label':_0x1ee7e9[_0x16a594(0x30b)][_0x16a594(0x2ec)],'objectType':_0x1e36a5['PERSON']})),'metadata':{},'type':_0x1e36a5[_0x16a594(0x38a)]}]};}};Nt=ys([_i(0x0,_0x49608f(_0x398800)),_i(0x1,_0x49608f(_0xb59977))],Nt);var Ds=Object['defineProperty'],Ps=Object[_0x5152c2(0x37e)],ws=(_0x3d01ce,_0x452e5b,_0x158a85,_0x31d5a1)=>{var _0x9a3832=_0x5152c2;for(var _0x280cd7=_0x31d5a1>0x1?void 0x0:_0x31d5a1?Ps(_0x452e5b,_0x158a85):_0x452e5b,_0x1266af=_0x3d01ce[_0x9a3832(0x445)]-0x1,_0x5d1b6f;_0x1266af>=0x0;_0x1266af--)(_0x5d1b6f=_0x3d01ce[_0x1266af])&&(_0x280cd7=(_0x31d5a1?_0x5d1b6f(_0x452e5b,_0x158a85,_0x280cd7):_0x5d1b6f(_0x280cd7))||_0x280cd7);return _0x31d5a1&&_0x280cd7&&Ds(_0x452e5b,_0x158a85,_0x280cd7),_0x280cd7;},Se=(_0x1e086a,_0x5f01e1)=>(_0x4390b5,_0x55c1b7)=>_0x5f01e1(_0x4390b5,_0x55c1b7,_0x1e086a);let at=class extends _0x6a3296{constructor(_0x13530e,_0x1d08ce,_0x5d250e,_0x5352bf,_0x57067,_0x1e7a52,_0x86474){var _0xa377fd=_0x5152c2;super(),this[_0xa377fd(0x3b2)]=_0x13530e,this[_0xa377fd(0x30c)]=_0x1d08ce,this[_0xa377fd(0x2eb)]=_0x5d250e,this['_collaborationSessionService']=_0x5352bf,this[_0xa377fd(0x496)]=_0x57067,this['_authzIoService']=_0x1e7a52,this[_0xa377fd(0x3f1)]=_0x86474,this[_0xa377fd(0x385)](),this['_initCloseConn']();}[_0x5152c2(0x3c4)](){var _0x282148=_0x5152c2;const _0x3922e7=async _0x4c450e=>{var _0x2037d6=_0x4cbe;(await this[_0x2037d6(0x3cc)]['requireSession'](_0x4c450e))[_0x2037d6(0x42a)][_0x2037d6(0x1ec)](_0x21f3f7(_0x166e25=>_0x166e25[_0x2037d6(0x434)]===_0x193471[_0x2037d6(0x3b7)]),_0x3b0755(this['dispose$']))[_0x2037d6(0x3e9)](_0x4e0e1d=>{var _0x5e6cc4=_0x2037d6;const _0x1ba0ad=_0x4e0e1d,{reason:_0x390108}=_0x1ba0ad['data'];this['_collaborationUIEventService']['emitEvent']({'id':se[_0x5e6cc4(0x216)],'data':_0x390108}),this[_0x5e6cc4(0x2eb)]['updatePermissionPoint'](new _0x24cf62(_0x4c450e)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x4c450e);});};_0x3c049a(this[_0x282148(0x30c)][_0x282148(0x350)](_0x3502ae[_0x282148(0x332)]),this['_univerInstanceService'][_0x282148(0x350)](_0x3502ae['UNIVER_DOC']))[_0x282148(0x1ec)](_0x56d39f(_0x4d0d3c=>_0x4d0d3c[_0x282148(0x288)]()),_0x21f3f7(_0x484a76=>!_0x3d4998(_0x484a76)),_0x3b0755(this['dispose$']))[_0x282148(0x3e9)](_0x3173bc=>{_0x3922e7(_0x3173bc);});}['_initUnitPermissionChange'](){var _0x2a6a00=_0x5152c2;const _0x573387=async _0x4465f4=>{var _0x3f8320=_0x4cbe;const _0x39414a=await this[_0x3f8320(0x3cc)][_0x3f8320(0x3a0)](_0x4465f4),_0x1c95df=this['_injector']['get'](_0x3288c5);_0x39414a[_0x3f8320(0x42a)][_0x3f8320(0x1ec)](_0x21f3f7(_0x5c59d1=>_0x5c59d1[_0x3f8320(0x434)]===_0x193471[_0x3f8320(0x303)]),_0x3b0755(this['dispose$']))[_0x3f8320(0x3e9)](_0x477f6b=>{var _0x514ed9=_0x3f8320;const _0xff225c=_0x477f6b,{objectId:_0x42a137}=_0xff225c[_0x514ed9(0x446)];_0x42a137===_0x4465f4?_0x1c95df[_0x514ed9(0x3a2)](_0x4465f4):_0x1c95df['refreshPermission'](_0x4465f4,_0x42a137);});};_0x3c049a(this[_0x2a6a00(0x30c)][_0x2a6a00(0x350)](_0x3502ae['UNIVER_SHEET']),this[_0x2a6a00(0x30c)][_0x2a6a00(0x350)](_0x3502ae['UNIVER_DOC']))[_0x2a6a00(0x1ec)](_0x56d39f(_0x34d0d7=>_0x34d0d7[_0x2a6a00(0x288)]()),_0x21f3f7(_0xa91c96=>!_0x3d4998(_0xa91c96)),_0x3b0755(this[_0x2a6a00(0x3c6)]))['subscribe'](_0x48225f=>{_0x573387(_0x48225f);});}};at=ws([Se(0x0,_0x49608f(_0x231a09)),Se(0x1,_0x1eeb0a),Se(0x2,_0x1f08c8),Se(0x3,_0x49608f(Le)),Se(0x4,_0x49608f(pe)),Se(0x5,_0x112d7e),Se(0x6,_0xfeb578)],at);var Us=Object['defineProperty'],As=Object[_0x5152c2(0x37e)],xs=(_0x4421af,_0x1a6541,_0x390ea1,_0x142bc3)=>{var _0x1cf69d=_0x5152c2;for(var _0x2e1d06=_0x142bc3>0x1?void 0x0:_0x142bc3?As(_0x1a6541,_0x390ea1):_0x1a6541,_0x4439e8=_0x4421af[_0x1cf69d(0x445)]-0x1,_0x1f3967;_0x4439e8>=0x0;_0x4439e8--)(_0x1f3967=_0x4421af[_0x4439e8])&&(_0x2e1d06=(_0x142bc3?_0x1f3967(_0x1a6541,_0x390ea1,_0x2e1d06):_0x1f3967(_0x2e1d06))||_0x2e1d06);return _0x142bc3&&_0x2e1d06&&Us(_0x1a6541,_0x390ea1,_0x2e1d06),_0x2e1d06;},li=(_0x1b3776,_0x5a5b88)=>(_0x72d093,_0x433729)=>_0x5a5b88(_0x72d093,_0x433729,_0x1b3776);let Dt=class{constructor(_0x4a6811,_0x3e48a8){var _0x35c4d1=_0x5152c2;this[_0x35c4d1(0x3f9)]=_0x4a6811,this['_httpService']=_0x3e48a8;}async[_0x5152c2(0x4af)](_0x3bc5de,_0x92ffa1){var _0x2f045e=_0x5152c2,_0x459fe6;const {unitID:_0x27b664,type:_0xc4e530,revision:_0x1ed64b=0x0}=_0x92ffa1,_0x2551fb=this[_0x2f045e(0x227)]()+'/'+_0xc4e530+_0x2f045e(0x4a4)+_0x27b664+'/rev/'+_0x1ed64b,_0x53604d=(await this[_0x2f045e(0x418)][_0x2f045e(0x3fb)](_0x2551fb))[_0x2f045e(0x284)],_0x32ca09=(_0x459fe6=_0x53604d[_0x2f045e(0x23d)])==null?void 0x0:_0x459fe6['workbook'];if(_0x32ca09){const _0x3b22df=_0x32ca09==null?void 0x0:_0x32ca09['originalMeta'],_0x236dae=_0x139e4c[_0x2f045e(0x390)](_0x1c4b10(_0x3b22df));_0x32ca09[_0x2f045e(0x248)]=_0x236dae,Object[_0x2f045e(0x336)](_0x32ca09[_0x2f045e(0x371)])[_0x2f045e(0x20d)](([,_0x43f264])=>{var _0x38da78=_0x2f045e;const _0x3240d8=_0x43f264[_0x38da78(0x248)],_0x17d1ac=_0x139e4c['encode'](_0x1c4b10(_0x3240d8));_0x43f264[_0x38da78(0x248)]=_0x17d1ac;});}return _0x53604d;}async['getSheetBlock'](_0x42ccaf,_0x5c6cb5){var _0x24caba=_0x5152c2;const {unitID:_0x26d9c3,type:_0x1f549b,blockID:_0x1567f7}=_0x5c6cb5,_0x47b23=this[_0x24caba(0x48f)]()+'/'+_0x1f549b+_0x24caba(0x4a4)+_0x26d9c3+_0x24caba(0x2ae)+_0x1567f7;return(await this[_0x24caba(0x418)]['get'](_0x47b23))[_0x24caba(0x284)];}async['getDeserializedSheetBlock'](_0x3dd36b,_0x39cb9e){var _0x142b1b=_0x5152c2;const {unitID:_0x413ef0,type:_0x42713d,blockID:_0x13d71b}=_0x39cb9e,_0x2c4812=this[_0x142b1b(0x48f)]()+_0x142b1b(0x2ae)+_0x42713d+_0x142b1b(0x4a4)+_0x413ef0+_0x142b1b(0x2ae)+_0x13d71b;return(await this[_0x142b1b(0x418)]['get'](_0x2c4812))[_0x142b1b(0x284)];}async[_0x5152c2(0x257)](_0x2c5085,_0x4e2048){var _0x4cb4c7=_0x5152c2;const {unitID:_0x3565c5,type:_0x38a2f1,from:_0x44ab6a,to:_0x2b3533}=_0x4e2048,_0x1fdca1=this[_0x4cb4c7(0x48f)]()+'/'+_0x38a2f1+_0x4cb4c7(0x4a4)+_0x3565c5+_0x4cb4c7(0x439)+_0x44ab6a+_0x4cb4c7(0x285)+_0x2b3533;return(await this[_0x4cb4c7(0x418)][_0x4cb4c7(0x3fb)](_0x1fdca1))['body'];}[_0x5152c2(0x227)](){var _0x532e51=_0x5152c2,_0x4b2769;return(_0x4b2769=this[_0x532e51(0x3f9)][_0x532e51(0x4a9)](Tn))!=null?_0x4b2769:this[_0x532e51(0x48f)]();}[_0x5152c2(0x48f)](){var _0x214232=_0x5152c2,_0x4ca454,_0x1af6e6;const _0x1b4985=this[_0x214232(0x3f9)]['getConfig'](En),_0x31a2f6=this[_0x214232(0x3f9)][_0x214232(0x4a9)](q);return(_0x1af6e6=(_0x4ca454=_0x31a2f6==null?void 0x0:_0x31a2f6['snapshotServerUrl'])!=null?_0x4ca454:_0x1b4985)!=null?_0x1af6e6:In;}async[_0x5152c2(0x2db)](_0x158ada,_0x4725c0){var _0x55cf9f=_0x5152c2;const _0x644d7='/universer-api/snapshot/'+_0x4725c0['type']+_0x55cf9f(0x4a4)+_0x4725c0['unitID']+_0x55cf9f(0x225);return(await this['_httpService'][_0x55cf9f(0x3fb)](_0x644d7,{'params':{'resourceId':JSON[_0x55cf9f(0x45a)](_0x4725c0[_0x55cf9f(0x4a8)])}}))[_0x55cf9f(0x284)];}['saveSnapshot'](){var _0x414141=_0x5152c2;throw new Error(_0x414141(0x328));}['saveSheetBlock'](){var _0x17d53b=_0x5152c2;throw new Error(_0x17d53b(0x328));}['saveChangeset'](){var _0x4ca272=_0x5152c2;throw new Error(_0x4ca272(0x328));}[_0x5152c2(0x409)](){var _0x1a5a2b=_0x5152c2;throw new Error(_0x1a5a2b(0x328));}['getLatestCsReqIdBySid'](){var _0x15c6d1=_0x5152c2;throw new Error(_0x15c6d1(0x328));}};Dt=xs([li(0x0,_0x398800),li(0x1,_0x49608f(_0xb59977))],Dt);var Ls=Object[_0x5152c2(0x490)],Ms=Object[_0x5152c2(0x37e)],$s=(_0xcd0b53,_0xefd22f,_0x1386a5,_0x175c4b)=>{var _0x4455a9=_0x5152c2;for(var _0x54e550=_0x175c4b>0x1?void 0x0:_0x175c4b?Ms(_0xefd22f,_0x1386a5):_0xefd22f,_0x128824=_0xcd0b53[_0x4455a9(0x445)]-0x1,_0x3e352b;_0x128824>=0x0;_0x128824--)(_0x3e352b=_0xcd0b53[_0x128824])&&(_0x54e550=(_0x175c4b?_0x3e352b(_0xefd22f,_0x1386a5,_0x54e550):_0x3e352b(_0x54e550))||_0x54e550);return _0x175c4b&&_0x54e550&&Ls(_0xefd22f,_0x1386a5,_0x54e550),_0x54e550;},Ae=(_0x47e272,_0x3003d4)=>(_0x528363,_0x290837)=>_0x3003d4(_0x528363,_0x290837,_0x47e272);let Pt=class extends _0x3d3d3f{constructor(_0x5efe72,_0x153740,_0x35b4c5,_0x398b16,_0x5e4e26){var _0x5e1d35=_0x5152c2;super(_0x5efe72,_0x153740,_0x35b4c5),this[_0x5e1d35(0x35a)]=_0x398b16,this['_logService']=_0x5e4e26;}['transformUndoRedo'](_0x39fbe3,_0x495839){var _0x2a8ebc=_0x5152c2;const _0x15c0e7=this[_0x2a8ebc(0x360)](_0x39fbe3);if(_0x15c0e7)try{const _0x59395c=this['_transformStack'](_0x15c0e7,_0x495839);this[_0x2a8ebc(0x204)](_0x39fbe3,_0x59395c);}catch(_0x378afa){this[_0x2a8ebc(0x412)][_0x2a8ebc(0x3f5)](_0x2a8ebc(0x42b),_0x378afa),this[_0x2a8ebc(0x4ae)](_0x39fbe3);}const _0x14cb0a=this[_0x2a8ebc(0x454)](_0x39fbe3);if(_0x14cb0a)try{const _0x26d5a4=this['_transformStack'](_0x14cb0a,_0x495839);this['_substituteRedoStack'](_0x39fbe3,_0x26d5a4);}catch(_0x49d818){this['_logService'][_0x2a8ebc(0x3f5)](_0x49d818),this[_0x2a8ebc(0x232)](_0x39fbe3);}}[_0x5152c2(0x4ae)](_0x57cb3a){var _0x305b72=_0x5152c2;const _0x5d5933=this[_0x305b72(0x360)](_0x57cb3a);_0x5d5933&&(_0x5d5933[_0x305b72(0x445)]=0x0,this['_updateStatus']());}[_0x5152c2(0x232)](_0x5323fb){var _0x262323=_0x5152c2;const _0x2b1d44=this[_0x262323(0x454)](_0x5323fb);_0x2b1d44&&(_0x2b1d44[_0x262323(0x445)]=0x0,this[_0x262323(0x42c)]());}['_substituteUndoStack'](_0x4c7afa,_0x5c263e){var _0x59a812=_0x5152c2;this[_0x59a812(0x1d2)][_0x59a812(0x498)](_0x4c7afa,_0x5c263e),this[_0x59a812(0x42c)]();}['_substituteRedoStack'](_0x26433c,_0x52cf0e){var _0x3d35ac=_0x5152c2;this[_0x3d35ac(0x2cd)][_0x3d35ac(0x498)](_0x26433c,_0x52cf0e),this[_0x3d35ac(0x42c)]();}[_0x5152c2(0x243)](_0x4ef8ce,_0x21f78e){var _0x189ac3=_0x5152c2;const _0x35922d=[];let _0x5b0aba=_0x21f78e,_0x55e20c=_0x21f78e;for(let _0x563387=_0x4ef8ce[_0x189ac3(0x445)]-0x1;_0x563387>=0x0;_0x563387--){const {unitID:_0x965937,undoMutations:_0x1cb584,redoMutations:_0x194c88}=_0x4ef8ce[_0x563387],_0x1c907b=this[_0x189ac3(0x35a)][_0x189ac3(0x20b)](_0x5b0aba,_0x1cb584),_0x163d14=this[_0x189ac3(0x35a)][_0x189ac3(0x20b)](_0x55e20c,_0x194c88);if(_0x6d2b0b(_0x1c907b)||_0x6d2b0b(_0x163d14)){this[_0x189ac3(0x412)]['error'](_0x189ac3(0x42b),_0x189ac3(0x26a),_0x1c907b,_0x163d14);break;}_0x5b0aba=_0x1c907b[_0x189ac3(0x39a)],_0x55e20c=_0x163d14[_0x189ac3(0x39a)],_0x35922d['push']({'unitID':_0x965937,'undoMutations':_0x1c907b['m2Prime'],'redoMutations':_0x163d14[_0x189ac3(0x319)]});}return _0x35922d[_0x189ac3(0x255)]();}};Pt=$s([Ae(0x0,_0x1eeb0a),Ae(0x1,_0x2e8c89),Ae(0x2,_0x14b66c),Ae(0x3,_0x3b94b2),Ae(0x4,_0xff0f44)],Pt);var xi=Object[_0x5152c2(0x490)],Hs=Object[_0x5152c2(0x37e)],ks=(_0x38ada3,_0x4c9fc0,_0x5ac591)=>_0x4c9fc0 in _0x38ada3?xi(_0x38ada3,_0x4c9fc0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ac591}):_0x38ada3[_0x4c9fc0]=_0x5ac591,js=(_0x570da3,_0x210425,_0x3d815d,_0x8e97f1)=>{var _0x52527f=_0x5152c2;for(var _0x5b47eb=_0x8e97f1>0x1?void 0x0:_0x8e97f1?Hs(_0x210425,_0x3d815d):_0x210425,_0x4b3447=_0x570da3[_0x52527f(0x445)]-0x1,_0x5384ad;_0x4b3447>=0x0;_0x4b3447--)(_0x5384ad=_0x570da3[_0x4b3447])&&(_0x5b47eb=(_0x8e97f1?_0x5384ad(_0x210425,_0x3d815d,_0x5b47eb):_0x5384ad(_0x5b47eb))||_0x5b47eb);return _0x8e97f1&&_0x5b47eb&&xi(_0x210425,_0x3d815d,_0x5b47eb),_0x5b47eb;},St=(_0x49e07f,_0x226ee6)=>(_0x35a65c,_0x29f30a)=>_0x226ee6(_0x35a65c,_0x29f30a,_0x49e07f),Bs=(_0x283934,_0x2270a7,_0x1898c7)=>ks(_0x283934,_0x2270a7+'',_0x1898c7);const Fs=_0x5152c2(0x22a);let wt=class extends _0x4a8746{constructor(_0x44609e=Wt,_0x457345,_0xbb5a4b,_0x524251){var _0x323a4a=_0x5152c2;super(),this[_0x323a4a(0x470)]=_0x44609e,this[_0x323a4a(0x412)]=_0x457345,this[_0x323a4a(0x3b2)]=_0xbb5a4b,this[_0x323a4a(0x3f9)]=_0x524251;const {..._0x590605}=_0x30dea7({},Wt,this[_0x323a4a(0x470)]);this[_0x323a4a(0x3f9)][_0x323a4a(0x4b7)](q,_0x590605);}[_0x5152c2(0x2ed)](){var _0x4a1755=_0x5152c2;this[_0x4a1755(0x259)](),this[_0x4a1755(0x1d0)]();}[_0x5152c2(0x259)](){var _0x2a8fd4=_0x5152c2,_0x21a4a1,_0x28599a,_0x3c86c1,_0x283dfc;this['_injector'][_0x2a8fd4(0x268)](_0xfeb578)&&this[_0x2a8fd4(0x412)][_0x2a8fd4(0x3f5)](_0x2a8fd4(0x40c),_0x2a8fd4(0x3fd));const _0x58f2a5=_0x5cc703([[_0xfeb578,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x28599a=(_0x21a4a1=this[_0x2a8fd4(0x470)])==null?void 0x0:_0x21a4a1[_0x2a8fd4(0x399)])!=null?_0x28599a:Et}],[_0x1f97a7,{'useClass':Dt}],[_0x112d7e,{'useClass':bt}],[_0x181382,{'useClass':yt}],[_0x558bc0,{'useClass':Nt}],[rt],[Rt]],(_0x3c86c1=this[_0x2a8fd4(0x470)])==null?void 0x0:_0x3c86c1[_0x2a8fd4(0x413)]);if(!((_0x283dfc=this['_config'])!=null&&_0x283dfc[_0x2a8fd4(0x25a)])){const _0x44d02f=_0x58f2a5['findIndex'](([_0x4064f6])=>_0x4064f6===ht);_0x44d02f!==-0x1&&_0x58f2a5[_0x2a8fd4(0x2ba)](_0x44d02f,0x1);}_0x1e2b75(this[_0x2a8fd4(0x3b2)],_0x58f2a5);}['_initDependencies'](){var _0x37ecbc=_0x5152c2,_0x19e63,_0x60e147,_0xbb9ad1;this[_0x37ecbc(0x3b2)][_0x37ecbc(0x3fb)](_0xb59977)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x3fd5fa({'maxParallel':0x6})}),(_0x19e63=this['_config'])!=null&&_0x19e63[_0x37ecbc(0x33b)]||(_0x60e147=this['_injector']['get'](J,_0x464962[_0x37ecbc(0x279)]))==null||_0x60e147[_0x37ecbc(0x26b)](),(_0xbb9ad1=this[_0x37ecbc(0x470)])!=null&&_0xbb9ad1[_0x37ecbc(0x1c5)]&&_0x35e037(this[_0x37ecbc(0x3b2)],[[st]]),_0x35e037(this['_injector'],[[ot],[rt],[at]]);}};Bs(wt,_0x5152c2(0x352),Fs),wt=js([_0x1f376d(_0x25cd67,_0x2b601d,_0x1991ae),St(0x1,_0xff0f44),St(0x2,_0x49608f(_0x231a09)),St(0x3,_0x398800)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
|