@univerjs-pro/collaboration-client 0.5.5 → 0.6.0-alpha.0

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/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x40530a=_0x192f;(function(_0x37a304,_0x2ba64e){var _0x498483=_0x192f,_0x283fd3=_0x37a304();while(!![]){try{var _0xb86dc=-parseInt(_0x498483(0x126))/0x1*(-parseInt(_0x498483(0x197))/0x2)+-parseInt(_0x498483(0x3a8))/0x3*(parseInt(_0x498483(0x25c))/0x4)+parseInt(_0x498483(0x2aa))/0x5+parseInt(_0x498483(0x1e3))/0x6*(parseInt(_0x498483(0x2a5))/0x7)+parseInt(_0x498483(0x105))/0x8*(parseInt(_0x498483(0x3bc))/0x9)+parseInt(_0x498483(0x39d))/0xa*(-parseInt(_0x498483(0x226))/0xb)+-parseInt(_0x498483(0x149))/0xc*(parseInt(_0x498483(0x259))/0xd);if(_0xb86dc===_0x2ba64e)break;else _0x283fd3['push'](_0x283fd3['shift']());}catch(_0x48b973){_0x283fd3['push'](_0x283fd3['shift']());}}}(_0x5db0,0x3bdee));var Li=Object['defineProperty'],Mi=(_0x547cf6,_0x466e41,_0x113812)=>_0x466e41 in _0x547cf6?Li(_0x547cf6,_0x466e41,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x113812}):_0x547cf6[_0x466e41]=_0x113812,N=(_0x34a496,_0x2805ac,_0x514c03)=>Mi(_0x34a496,typeof _0x2805ac!=_0x40530a(0x332)?_0x2805ac+'':_0x2805ac,_0x514c03);import{createIdentifier as _0x10b14f,Inject as _0x48db98,Injector as _0x19dc6b,Disposable as _0x551e1f,DisposableCollection as _0x4f67d6,toDisposable as _0x205e55,IConfigService as _0x5b62c8,ILogService as _0x6e98f,UserManagerService as _0x252bbe,UniverInstanceType as _0x4d2a26,IUniverInstanceService as _0x5609db,LocaleService as _0x5529ab,Optional as _0x5b33db,RxDisposable as _0x18f063,Tools as _0x544210,Rectangle as _0x48bee0,ICommandService as _0xc6fb7a,JSONX as _0x14fa94,CommandType as _0x29caaf,IPermissionService as _0x2912cc,IUndoRedoService as _0x84d590,sequenceExecute as _0x7fdad7,Workbook as _0xcd7ee5,MentionType as _0x791ab,IAuthzIoService as _0x544837,isInternalEditorID as _0x3b8065,LocalUndoRedoService as _0x543e42,IContextService as _0x353605,DependentOn as _0x3e377d,Plugin as _0x3596ec,merge as _0x4e300f,mergeOverrideWithDependencies as _0x520889,IMentionIOService as _0x13150e,registerDependencies as _0xd035a1,Quantity as _0x44fa0b,touchDependencies as _0x12b182}from'@univerjs/core';import{Subject as _0x3da80f,merge as _0x583ffc,of as _0xdc5b87,BehaviorSubject as _0x1379a3,takeUntil as _0xb4b3a,ReplaySubject as _0x400709,take as _0x4da358,map as _0x4d0067,shareReplay as _0x2de545,firstValueFrom as _0x48c009,concatMap as _0x61214b}from'rxjs';import{map as _0x130e36,take as _0x434d28,filter as _0x55f065,delay as _0x284d72,takeUntil as _0x14b72c}from'rxjs/operators';import{HTTPService as _0x3ce2dc,ISocketService as _0x2f4cab,MergeInterceptorFactory as _0x14191a,HTTPRequest as _0x47a0f4,UniverNetworkPlugin as _0x13bd6f,ThresholdInterceptorFactory as _0x2399ec}from'@univerjs/network';import{CollaborationEvent as _0x4b8a98,parseChangesetToProtocol as _0x55193b,ISnapshotServerService as _0x513fd2,isTransformMutationsWithChangesetSuccess as _0x5bbbc8,ITransformService as _0x3b018c,mapDocumentTypeToUniverType as _0x4c663c,RevisionService as _0x25256b,isTransformChangesetsSuccess as _0x1a324a,CompressMutationService as _0x422efc,parseProtocolChangeset as _0x286ee3,SnapshotService as _0x4e4c12,textEncoder as _0x35e2bc,b64DecodeUnicode as _0xcf2ac2,isTransformMutationsWithChangesetFailure as _0x578157,UniverCollaborationPlugin as _0x505413}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x247e62}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3905df}from'@univerjs/docs';import{SheetsSelectionsService as _0xeb53fc,SetSelectionsOperation as _0x5e8588,InsertSheetMutation as _0x15d99d,EmptyMutation as _0x1137be,WorkbookEditablePermission as _0x57f5ad,SheetPermissionInitController as _0x146966,UniverSheetsPlugin as _0x2ed35b}from'@univerjs/sheets';import{ImageSourceType as _0x595b24,ImageUploadStatusType as _0x3fbe7b,IImageIoService as _0x27a32c}from'@univerjs/drawing';import{getGlobalObject as _0x25f0f0}from'@univerjs-pro/license';const En=_0x40530a(0x23f),In=_0x40530a(0x224),Tn=_0x40530a(0x11b),eo=_0x40530a(0x18a),Cn=0x7d0,Rn='COLLAB_WEB_SOCKET_URL',bn=_0x40530a(0x1ef),On=_0x40530a(0x37e),yn=_0x40530a(0xef),Nn=0x7530,Si='HEARTBEAT_TIMEOUT',Ei=0x4e20,Dn=0x4e20,Pn='RETRY_CONNECTING_MAX_COUNT',wn=0x3,to=_0x40530a(0xfc),io=0x3e8,Un='COLLAB_SUBMIT_CHANGESET_URL',An=_0x40530a(0x179),xn='LOGIN_URL_KEY',Ln=_0x40530a(0x326),no=_0x40530a(0x2b7),ro='/universer-api/uniscript';var Ii=(_0xc34e4a=>(_0xc34e4a[_0xc34e4a[_0x40530a(0x3c7)]=0x0]='UNDEFINED',_0xc34e4a[_0xc34e4a['OK']=0x1]='OK',_0xc34e4a[_0xc34e4a[_0x40530a(0x195)]=0x2]=_0x40530a(0x195),_0xc34e4a[_0xc34e4a[_0x40530a(0x356)]=0x3]=_0x40530a(0x356),_0xc34e4a[_0xc34e4a[_0x40530a(0x1d0)]=0x4]=_0x40530a(0x1d0),_0xc34e4a[_0xc34e4a[_0x40530a(0x121)]=0x5]=_0x40530a(0x121),_0xc34e4a[_0xc34e4a['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0xc34e4a[_0xc34e4a[_0x40530a(0x253)]=0x7]=_0x40530a(0x253),_0xc34e4a[_0xc34e4a['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0xc34e4a[_0xc34e4a[_0x40530a(0x351)]=0x9]=_0x40530a(0x351),_0xc34e4a[_0xc34e4a[_0x40530a(0x3d7)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0xc34e4a[_0xc34e4a[_0x40530a(0x2ff)]=0x1771]=_0x40530a(0x2ff),_0xc34e4a[_0xc34e4a[_0x40530a(0x100)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0xc34e4a[_0xc34e4a['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x40530a(0x2f6),_0xc34e4a[_0xc34e4a['APPLY_REJECT']=0x1b59]=_0x40530a(0x280),_0xc34e4a[_0xc34e4a[_0x40530a(0x29e)]=0x1b5a]=_0x40530a(0x29e),_0xc34e4a[_0xc34e4a[_0x40530a(0x210)]=0x1b5b]=_0x40530a(0x210),_0xc34e4a[_0xc34e4a['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x40530a(0x3e3),_0xc34e4a[_0xc34e4a[_0x40530a(0x3e1)]=0x1b5d]='APPLY_DUPLICATED',_0xc34e4a[_0xc34e4a[_0x40530a(0x292)]=0x1f41]=_0x40530a(0x292),_0xc34e4a[_0xc34e4a['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x40530a(0xf1),_0xc34e4a[_0xc34e4a['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xc34e4a[_0xc34e4a[_0x40530a(0x17c)]=0x232b]=_0x40530a(0x17c),_0xc34e4a[_0xc34e4a[_0x40530a(0x399)]=0x232c]=_0x40530a(0x399),_0xc34e4a[_0xc34e4a['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0xc34e4a[_0xc34e4a[_0x40530a(0x16f)]=0x2711]=_0x40530a(0x16f),_0xc34e4a[_0xc34e4a[_0x40530a(0x2d0)]=0x2712]=_0x40530a(0x2d0),_0xc34e4a[_0xc34e4a['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x40530a(0x190),_0xc34e4a[_0xc34e4a[_0x40530a(0x3be)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xc34e4a[_0xc34e4a[_0x40530a(0x3d1)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0xc34e4a[_0xc34e4a['UNRECOGNIZED']=-0x1]=_0x40530a(0x3d8),_0xc34e4a))(Ii||{}),Q=(_0x31fed3=>(_0x31fed3[_0x31fed3[_0x40530a(0x3ab)]=0x0]=_0x40530a(0x3ab),_0x31fed3[_0x31fed3[_0x40530a(0x284)]=0x1]=_0x40530a(0x284),_0x31fed3[_0x31fed3[_0x40530a(0x39e)]=0x2]=_0x40530a(0x39e),_0x31fed3[_0x31fed3['UNIVER_SLIDE']=0x3]=_0x40530a(0x239),_0x31fed3[_0x31fed3[_0x40530a(0x10a)]=0x4]=_0x40530a(0x10a),_0x31fed3[_0x31fed3['UNRECOGNIZED']=-0x1]=_0x40530a(0x3d8),_0x31fed3))(Q||{}),F=(_0x14413c=>(_0x14413c[_0x14413c['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x14413c[_0x14413c[_0x40530a(0x2fe)]=0x1]='HELLO',_0x14413c[_0x14413c[_0x40530a(0x17b)]=0x2]=_0x40530a(0x17b),_0x14413c[_0x14413c[_0x40530a(0x28a)]=0x3]=_0x40530a(0x28a),_0x14413c[_0x14413c['INGEST']=0x4]=_0x40530a(0x248),_0x14413c[_0x14413c[_0x40530a(0x1f0)]=0x5]=_0x40530a(0x1f0),_0x14413c[_0x14413c['RECV']=0x6]='RECV',_0x14413c[_0x14413c[_0x40530a(0x3d8)]=-0x1]=_0x40530a(0x3d8),_0x14413c))(F||{}),Ee=(_0x4cc4b1=>(_0x4cc4b1[_0x4cc4b1[_0x40530a(0x2b1)]=0x0]=_0x40530a(0x2b1),_0x4cc4b1[_0x4cc4b1['OK']=0x1]='OK',_0x4cc4b1[_0x4cc4b1['FAIL']=0x2]=_0x40530a(0x3cb),_0x4cc4b1[_0x4cc4b1['JOIN_ROOM_FULL']=0x3e9]=_0x40530a(0x30e),_0x4cc4b1[_0x4cc4b1[_0x40530a(0x1b9)]=0x3ea]=_0x40530a(0x1b9),_0x4cc4b1[_0x4cc4b1[_0x40530a(0x30b)]=0x3eb]=_0x40530a(0x30b),_0x4cc4b1[_0x4cc4b1[_0x40530a(0x113)]=0x3ec]=_0x40530a(0x113),_0x4cc4b1[_0x4cc4b1[_0x40530a(0x3d8)]=-0x1]='UNRECOGNIZED',_0x4cc4b1))(Ee||{}),Ti=(_0x172f9b=>(_0x172f9b[_0x172f9b[_0x40530a(0x16d)]=0x0]=_0x40530a(0x16d),_0x172f9b[_0x172f9b[_0x40530a(0x118)]=0x1]=_0x40530a(0x118),_0x172f9b[_0x172f9b['HttpExport']=0x2]=_0x40530a(0x36f),_0x172f9b[_0x172f9b[_0x40530a(0x2b0)]=0x3]=_0x40530a(0x2b0),_0x172f9b[_0x172f9b[_0x40530a(0x1ee)]=0x4]='UnitSnapshot',_0x172f9b[_0x172f9b[_0x40530a(0x3d8)]=-0x1]=_0x40530a(0x3d8),_0x172f9b))(Ti||{});const q=_0x40530a(0x1a7),Wt={};var se=(_0x4b9c62=>(_0x4b9c62[_0x40530a(0x288)]='OTHER_CLIENT_EDITING',_0x4b9c62[_0x40530a(0x356)]=_0x40530a(0x356),_0x4b9c62[_0x40530a(0xf9)]=_0x40530a(0xf9),_0x4b9c62['CLOSE_ROOM']=_0x40530a(0x2db),_0x4b9c62[_0x40530a(0x206)]=_0x40530a(0x206),_0x4b9c62[_0x40530a(0x327)]=_0x40530a(0x327),_0x4b9c62[_0x40530a(0x323)]=_0x40530a(0x323),_0x4b9c62[_0x40530a(0x161)]='SUBMIT_CHANGESET_TIMEOUT',_0x4b9c62))(se||{});class pe{constructor(){var _0x1dfeb5=_0x40530a;N(this,_0x1dfeb5(0x194),new _0x3da80f()),N(this,_0x1dfeb5(0x3e5),this[_0x1dfeb5(0x194)]['asObservable']());}[_0x40530a(0x2f2)](_0x161931){var _0x1baeb1=_0x40530a;this[_0x1baeb1(0x194)][_0x1baeb1(0x362)](_0x161931);}}const Mn=_0x10b14f('univer-pro.collaboration-client.network-condition.service');function $n(_0x54aa4e){var _0x4f11e7=_0x40530a,_0x42683c,_0x36149a,_0x38f950,_0x90628f,_0x585aff;const _0x265851=_0x54aa4e[_0x4f11e7(0x311)],_0x41f176=JSON[_0x4f11e7(0x274)](_0x265851);switch(_0x41f176['cmd']){case F[_0x4f11e7(0x1f0)]:case F['HELLO']:{const _0x2a5e16=_0x41f176[_0x4f11e7(0x380)];return{..._0x41f176,'data':_0x2a5e16,'cmd':_0x41f176['cmd']};}case F[_0x4f11e7(0x17b)]:{const _0x18971f=_0x41f176[_0x4f11e7(0x3a5)];return{..._0x41f176,'data':_0x18971f,'cmd':_0x41f176[_0x4f11e7(0x15f)]};}case F['RECV']:{const _0x3eedeb=_0x41f176[_0x4f11e7(0x37a)];switch(_0x3eedeb[_0x4f11e7(0x285)]){case _0x4b8a98[_0x4f11e7(0x173)]:return{..._0x41f176,'data':{..._0x3eedeb,'data':(_0x42683c=_0x3eedeb[_0x4f11e7(0x1e1)])==null?void 0x0:_0x42683c['cs']},'cmd':_0x41f176[_0x4f11e7(0x15f)]};case _0x4b8a98[_0x4f11e7(0x38f)]:return{..._0x41f176,'data':{..._0x3eedeb,'data':(_0x36149a=_0x3eedeb[_0x4f11e7(0x1ed)])==null?void 0x0:_0x36149a['cs']},'cmd':_0x41f176[_0x4f11e7(0x15f)]};case _0x4b8a98['NEW_CHANGESETS']:return{..._0x41f176,'data':{..._0x3eedeb,'data':(_0x38f950=_0x3eedeb[_0x4f11e7(0x25b)])==null?void 0x0:_0x38f950['cs']},'cmd':_0x41f176['cmd']};case _0x4b8a98[_0x4f11e7(0x1c7)]:return{..._0x41f176,'data':{..._0x3eedeb,'data':(_0x90628f=_0x3eedeb[_0x4f11e7(0x35f)])==null?void 0x0:_0x90628f['cs']},'cmd':_0x41f176['cmd']};case _0x4b8a98[_0x4f11e7(0x2fb)]:return{..._0x41f176,'data':{..._0x3eedeb,'data':(_0x585aff=_0x3eedeb['csShouldRetryEvent'])==null?void 0x0:_0x585aff['cs']},'cmd':_0x41f176['cmd']};case _0x4b8a98[_0x4f11e7(0xe1)]:return{..._0x41f176,'data':{..._0x3eedeb,'data':_0x3eedeb[_0x4f11e7(0x342)]},'cmd':_0x41f176[_0x4f11e7(0x15f)]};case _0x4b8a98[_0x4f11e7(0x193)]:return{..._0x41f176,'data':{..._0x3eedeb,'data':_0x3eedeb[_0x4f11e7(0x28e)]},'cmd':_0x41f176[_0x4f11e7(0x15f)]};case _0x4b8a98['USERS_LEAVE']:return{..._0x41f176,'data':{..._0x3eedeb,'data':_0x3eedeb[_0x4f11e7(0x19a)]},'cmd':_0x41f176[_0x4f11e7(0x15f)]};case _0x4b8a98[_0x4f11e7(0x200)]:return{..._0x41f176,'data':{..._0x3eedeb,'data':_0x3eedeb[_0x4f11e7(0x203)]},'cmd':_0x41f176['cmd']};case _0x4b8a98[_0x4f11e7(0x387)]:case _0x4b8a98[_0x4f11e7(0x2f5)]:return{..._0x41f176,'data':{..._0x3eedeb,'data':_0x3eedeb[_0x4f11e7(0x2d9)]},'cmd':_0x41f176[_0x4f11e7(0x15f)]};case _0x4b8a98[_0x4f11e7(0x12f)]:return{..._0x41f176,'data':{..._0x3eedeb,'data':_0x3eedeb['liveShareNewHost']},'cmd':_0x41f176[_0x4f11e7(0x15f)]};case _0x4b8a98[_0x4f11e7(0x1c0)]:return{..._0x41f176,'data':_0x3eedeb,'cmd':_0x41f176[_0x4f11e7(0x15f)]};case _0x4b8a98['COMMENT_UPDATE']:return{..._0x41f176,'data':{..._0x3eedeb,'data':_0x3eedeb['commentUpdateEvent']},'cmd':_0x41f176[_0x4f11e7(0x15f)]};case _0x4b8a98[_0x4f11e7(0x1ae)]:return{..._0x41f176,'data':{..._0x3eedeb,'data':_0x3eedeb['updatePermissionObjEvent']},'cmd':_0x41f176[_0x4f11e7(0x15f)]};case _0x4b8a98[_0x4f11e7(0x2e0)]:return{..._0x41f176,'data':{..._0x3eedeb,'data':_0x3eedeb['shouldCloseConn']},'cmd':_0x41f176['cmd']};case _0x4b8a98[_0x4f11e7(0x211)]:return{..._0x41f176,'data':{..._0x3eedeb,'data':_0x3eedeb[_0x4f11e7(0x333)]},'cmd':_0x41f176[_0x4f11e7(0x15f)]};default:return _0x41f176;}}default:return _0x41f176;}}function Hn(_0xf43d6){var _0x375202=_0x40530a;switch(_0xf43d6['cmd']){case F['HEARTBEAT']:case F[_0x375202(0x2fe)]:return JSON['stringify']({'cmd':_0xf43d6[_0x375202(0x15f)],'routeKey':_0xf43d6[_0x375202(0x205)]});case F[_0x375202(0x248)]:{let _0x14b9c6;switch(_0xf43d6['data'][_0x375202(0x285)]){case _0x4b8a98[_0x375202(0xe1)]:{_0x14b9c6={'eventID':_0x4b8a98[_0x375202(0xe1)],'updateCursorEvent':_0xf43d6[_0x375202(0x311)]['data']};break;}case _0x4b8a98[_0x375202(0x15e)]:{_0x14b9c6={'eventID':_0x4b8a98[_0x375202(0x15e)],'leaveEvent':_0xf43d6[_0x375202(0x311)][_0x375202(0x311)]};break;}case _0x4b8a98[_0x375202(0x193)]:{_0x14b9c6={'eventID':_0x4b8a98[_0x375202(0x193)],'joinEvent':_0xf43d6[_0x375202(0x311)][_0x375202(0x311)]};break;}case _0x4b8a98['LIVESHARE_NEW_HOST']:{_0x14b9c6={'eventID':_0x4b8a98['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0xf43d6[_0x375202(0x311)][_0x375202(0x311)]};break;}case _0x4b8a98[_0x375202(0x2f5)]:{_0x14b9c6={'eventID':_0x4b8a98[_0x375202(0x2f5)],'liveShareOperation':_0xf43d6['data'][_0x375202(0x311)]};break;}case _0x4b8a98['LIVESHARE_TERMINATE']:{_0x14b9c6={'eventID':_0x4b8a98[_0x375202(0x12f)],'liveShareTerminate':_0xf43d6[_0x375202(0x311)]['data']};break;}case _0x4b8a98['LIVESHARE_REQUEST_HOST']:{_0x14b9c6={'eventID':_0x4b8a98[_0x375202(0x157)],'liveShareRequestHost':_0xf43d6[_0x375202(0x311)]['data']};break;}case _0x4b8a98[_0x375202(0x387)]:{_0x14b9c6={'eventID':_0x4b8a98[_0x375202(0x387)]};break;}default:_0x14b9c6={'eventID':_0xf43d6[_0x375202(0x311)][_0x375202(0x285)]};}return JSON[_0x375202(0x372)]({'cmd':_0xf43d6[_0x375202(0x15f)],'routeKey':_0xf43d6['routeKey'],'collaMsg':_0x14b9c6});}case F[_0x375202(0x17b)]:return JSON['stringify']({'cmd':_0xf43d6[_0x375202(0x15f)],'routeKey':_0xf43d6[_0x375202(0x205)],'joinReq':_0xf43d6[_0x375202(0x311)]});case F[_0x375202(0x28a)]:return JSON[_0x375202(0x372)]({'cmd':_0xf43d6['cmd'],'routeKey':_0xf43d6[_0x375202(0x205)],'leaveReq':_0xf43d6[_0x375202(0x311)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var kn=Object[_0x40530a(0x27d)],jn=Object[_0x40530a(0x338)],Bn=(_0x315e00,_0x39996e,_0x4159cf,_0xe6da36)=>{var _0x152051=_0x40530a;for(var _0x351b6d=_0xe6da36>0x1?void 0x0:_0xe6da36?jn(_0x39996e,_0x4159cf):_0x39996e,_0x3fddf5=_0x315e00[_0x152051(0x37d)]-0x1,_0x42d706;_0x3fddf5>=0x0;_0x3fddf5--)(_0x42d706=_0x315e00[_0x3fddf5])&&(_0x351b6d=(_0xe6da36?_0x42d706(_0x39996e,_0x4159cf,_0x351b6d):_0x42d706(_0x351b6d))||_0x351b6d);return _0xe6da36&&_0x351b6d&&kn(_0x39996e,_0x4159cf,_0x351b6d),_0x351b6d;},Ue=(_0x278408,_0x5525f2)=>(_0xc1561b,_0x1c1542)=>_0x5525f2(_0xc1561b,_0x1c1542,_0x278408);const Ci=_0x10b14f(_0x40530a(0x345));function Fn(_0x3b3009,_0x13e7ef,_0x45adca){var _0x34a826=_0x40530a;return _0x3b3009+'/'+_0x13e7ef+_0x34a826(0x329)+_0x45adca+_0x34a826(0x318);}let Et=class extends _0x551e1f{constructor(_0x30eb60,_0x19c3e8,_0x2fe039,_0x4b47c8,_0xaf8f74){var _0x2f999f=_0x40530a;super(),this[_0x2f999f(0x3e0)]=_0x30eb60,this[_0x2f999f(0x28b)]=_0x19c3e8,this['_configService']=_0x2fe039,this[_0x2f999f(0x278)]=_0x4b47c8,this[_0x2f999f(0x255)]=_0xaf8f74;}[_0x40530a(0x2c9)](_0x13b423){var _0x2fb096=_0x40530a;const _0x3c3b62=this[_0x2fb096(0x3e0)][_0x2fb096(0x27f)](_0x2f4cab);if(!_0x3c3b62)throw new Error(_0x2fb096(0x27e));const _0x5c62b8=_0x3c3b62['createSocket'](_0x13b423);if(!_0x5c62b8)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x40b688=new _0x4f67d6(),_0x263d81=new _0x3da80f();_0x40b688[_0x2fb096(0x2a0)](_0x5c62b8[_0x2fb096(0x376)]['subscribe'](_0x5c1e89=>_0x263d81[_0x2fb096(0x362)](_0x5c1e89))),_0x40b688[_0x2fb096(0x2a0)](_0x205e55(()=>_0x263d81[_0x2fb096(0x2cf)]()));const _0x9f0599=new _0x3da80f();_0x40b688[_0x2fb096(0x2a0)](_0x5c62b8['error$'][_0x2fb096(0x1af)](_0x968687=>_0x9f0599[_0x2fb096(0x362)](_0x968687))),_0x40b688[_0x2fb096(0x2a0)](_0x205e55(()=>_0x9f0599[_0x2fb096(0x2cf)]()));const _0x57c37e=new _0x3da80f();_0x40b688[_0x2fb096(0x2a0)](_0x5c62b8[_0x2fb096(0x1d7)][_0x2fb096(0x1af)](_0x165ef3=>{const _0x3848e8=$n(_0x165ef3);_0x57c37e['next'](_0x3848e8);})),_0x40b688[_0x2fb096(0x2a0)](_0x205e55(()=>_0x57c37e['complete']()));let _0x5a5d43;const _0xd9f6a1=()=>{var _0x502dd0=_0x2fb096;_0x9f0599[_0x502dd0(0x362)](new Event(_0x502dd0(0x36e))),_0x263d81[_0x502dd0(0x362)](new CloseEvent(_0x502dd0(0x36e))),_0x5a5d43['close']();};return _0x5a5d43={'memberID':'','close$':_0x263d81['asObservable'](),'error$':_0x9f0599[_0x2fb096(0x303)](),'open$':_0x5c62b8[_0x2fb096(0x394)],'message$':_0x57c37e[_0x2fb096(0x303)](),'send':_0x16d4df=>{var _0x95755d=_0x2fb096;if(_0x16d4df['cmd']===F[_0x95755d(0x248)]){if(_0x16d4df['data']['eventID']===_0x4b8a98[_0x95755d(0x3a2)]){this[_0x95755d(0x354)](_0x5a5d43,_0x16d4df[_0x95755d(0x311)])[_0x95755d(0x377)](_0x336290=>{var _0x2d69bd=_0x95755d;this[_0x2d69bd(0x278)][_0x2d69bd(0xf4)](_0x336290),_0xd9f6a1();});return;}if(_0x16d4df[_0x95755d(0x311)]['eventID']===_0x4b8a98[_0x95755d(0x14c)]){const _0x1362dc=_0x16d4df[_0x95755d(0x311)];this['_fetchMissChangesets'](_0x1362dc)[_0x95755d(0x201)](_0x19176c=>{var _0x2a39a5=_0x95755d;_0x57c37e['next']({'cmd':F[_0x2a39a5(0x398)],'code':Ee['OK'],'routeKey':_0x1362dc['data'][_0x2a39a5(0x2f7)],'routeType':'','data':{'eventID':_0x4b8a98['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x19176c}}});})['catch'](_0x48cdb4=>{var _0x193bfc=_0x95755d;this[_0x193bfc(0x278)][_0x193bfc(0xf4)](_0x48cdb4),_0xd9f6a1();});return;}}_0x5c62b8['send'](Hn(_0x16d4df));},'close':()=>{var _0x442c22=_0x2fb096;_0x5c62b8['close'](),_0x40b688[_0x442c22(0x19c)]();}},_0x5a5d43;}async[_0x40530a(0x354)](_0xf88cc0,_0x188e0d){var _0x22448a=_0x40530a,_0x21d0fa,_0x2ee536;const {unitType:_0x2ba0ae,unitID:_0x2ca23f,changeset:_0x5ca4ed}=_0x188e0d[_0x22448a(0x311)],_0x5c45a0={'unitID':_0x2ca23f,'memberID':_0xf88cc0['memberID'],'type':_0x2ba0ae,'changeset':_0x55193b(_0x5ca4ed)},_0x52a84c=this['_configService']['getConfig'](Un),_0x4dc873=this[_0x22448a(0xf8)]['getConfig'](q),_0x3df987=Fn((_0x2ee536=(_0x21d0fa=_0x4dc873==null?void 0x0:_0x4dc873['collabSubmitChangesetUrl'])!=null?_0x21d0fa:_0x52a84c)!=null?_0x2ee536:An,_0x2ba0ae,_0x2ca23f);try{await this[_0x22448a(0x28b)]['post'](_0x3df987,{'body':_0x5c45a0});}catch(_0x4c349b){throw this[_0x22448a(0x278)][_0x22448a(0xf4)](_0x22448a(0x22f),_0x22448a(0x2bf)),_0x4c349b;}}async[_0x40530a(0x3d3)](_0x487fef){var _0x4605db=_0x40530a;const {unitID:_0x574ca4,from:_0x5a748b,to:_0x437443,unitType:_0x2ecb81}=_0x487fef['data'];return(await this[_0x4605db(0x255)][_0x4605db(0x233)]({'metadata':void 0x0},{'unitID':_0x574ca4,'type':_0x2ecb81,'from':_0x5a748b,'to':_0x437443}))[_0x4605db(0x18f)];}};Et=Bn([Ue(0x0,_0x48db98(_0x19dc6b)),Ue(0x1,_0x48db98(_0x3ce2dc)),Ue(0x2,_0x5b62c8),Ue(0x3,_0x6e98f),Ue(0x4,_0x513fd2)],Et);const Vn=_0x40530a(0x1cf);function Gn(_0x9726c7){var _0x478081=_0x40530a;return JSON['stringify'](_0x9726c7)[_0x478081(0x37d)];}class Ri{constructor(){var _0x2485a2=_0x40530a;N(this,_0x2485a2(0x128),new _0x3da80f()),N(this,_0x2485a2(0xe6),this[_0x2485a2(0x128)][_0x2485a2(0x303)]());}[_0x40530a(0x24b)](_0x4f8392){var _0x19d2b3=_0x40530a;this[_0x19d2b3(0x128)][_0x19d2b3(0x362)](_0x4f8392);}}var Wn=Object[_0x40530a(0x27d)],Kn=Object[_0x40530a(0x338)],Yn=(_0x42865d,_0x51f152,_0x27ba36,_0x827711)=>{var _0x147138=_0x40530a;for(var _0x3b6bf1=_0x827711>0x1?void 0x0:_0x827711?Kn(_0x51f152,_0x27ba36):_0x51f152,_0x296ed0=_0x42865d[_0x147138(0x37d)]-0x1,_0x149e0d;_0x296ed0>=0x0;_0x296ed0--)(_0x149e0d=_0x42865d[_0x296ed0])&&(_0x3b6bf1=(_0x827711?_0x149e0d(_0x51f152,_0x27ba36,_0x3b6bf1):_0x149e0d(_0x3b6bf1))||_0x3b6bf1);return _0x827711&&_0x3b6bf1&&Wn(_0x51f152,_0x27ba36,_0x3b6bf1),_0x3b6bf1;},Kt=(_0x4b2a5c,_0x573b28)=>(_0x3ea5d0,_0x553b20)=>_0x573b28(_0x3ea5d0,_0x553b20,_0x4b2a5c);let xe=class extends _0x551e1f{constructor(_0x25a58d,_0x811aa6){var _0x433bf4=_0x40530a;super(),N(this,_0x433bf4(0x2a7),new Map()),N(this,_0x433bf4(0x2e8),new _0x3da80f()),(this['_univerInstanceService']=_0x25a58d,this['_userManagerService']=_0x811aa6,this[_0x433bf4(0x3ae)](_0x583ffc(this[_0x433bf4(0x305)][_0x433bf4(0x10b)](_0x4d2a26[_0x433bf4(0x39e)])[_0x433bf4(0x330)](_0x130e36(_0x3b8c74=>_0x3b8c74['getUnitId']())),this[_0x433bf4(0x305)][_0x433bf4(0x10b)](_0x4d2a26[_0x433bf4(0x284)])[_0x433bf4(0x330)](_0x130e36(_0x2a7390=>_0x2a7390[_0x433bf4(0x13f)]())),this[_0x433bf4(0x305)][_0x433bf4(0x10b)](_0x4d2a26[_0x433bf4(0x239)])[_0x433bf4(0x330)](_0x130e36(_0x1ada82=>_0x1ada82[_0x433bf4(0x13f)]())))[_0x433bf4(0x1af)](_0x260a07=>this[_0x433bf4(0x1ba)](_0x260a07))));}[_0x40530a(0x297)](_0x1ffa38){var _0x5988cf=_0x40530a;return this[_0x5988cf(0x2a7)]['has'](_0x1ffa38)?_0xdc5b87(this['_roomMembers'][_0x5988cf(0x27f)](_0x1ffa38)):this[_0x5988cf(0x2e8)][_0x5988cf(0x330)](_0x130e36(_0xbc751d=>{var _0x406563=_0x5988cf;if(_0xbc751d===_0x1ffa38)return this[_0x406563(0x2a7)]['get'](_0xbc751d);}));}['setCurrentUser'](_0x336f93){var _0x1f9285=_0x40530a;this['_userManagerService'][_0x1f9285(0x33f)](_0x336f93);}[_0x40530a(0x286)](){var _0x1f006f=_0x40530a;return this[_0x1f006f(0x199)][_0x1f006f(0x286)]();}['updateMember'](_0x125555,_0x31ae60){var _0xb7ab9e=_0x40530a;let _0x19bd5f=this[_0xb7ab9e(0x2a7)][_0xb7ab9e(0x27f)](_0x125555);_0x19bd5f||(_0x19bd5f=new qn(),this[_0xb7ab9e(0x2a7)][_0xb7ab9e(0x2da)](_0x125555,_0x19bd5f),this[_0xb7ab9e(0x2e8)]['next'](_0x125555)),_0x19bd5f[_0xb7ab9e(0x214)](_0x31ae60);}[_0x40530a(0x35c)](_0xb10caf,_0x8c8193){var _0x288df7=_0x40530a;const _0x35ec9b=this[_0x288df7(0x2a7)][_0x288df7(0x27f)](_0xb10caf);_0x35ec9b&&_0x35ec9b[_0x288df7(0x35c)](_0x8c8193);}[_0x40530a(0x208)](_0x373393){var _0x55a042=_0x40530a;return this['_roomMembers'][_0x55a042(0x27f)](_0x373393);}[_0x40530a(0x1d5)](_0xba2953,_0x2e555d){var _0x49d330=_0x40530a;const _0x5aa554=this[_0x49d330(0x2a7)][_0x49d330(0x27f)](_0xba2953);if(_0x5aa554)return _0x5aa554[_0x49d330(0x1d5)](_0x2e555d);}['_removeRoom'](_0x43f4bc){var _0x53230a=_0x40530a;const _0x26261a=this[_0x53230a(0x2a7)]['get'](_0x43f4bc);_0x26261a&&(_0x26261a[_0x53230a(0x19c)](),this[_0x53230a(0x2a7)][_0x53230a(0x234)](_0x43f4bc));}['dispose'](){var _0x53fdc5=_0x40530a;this[_0x53fdc5(0x2a7)][_0x53fdc5(0xe9)](_0x1d5edd=>_0x1d5edd['dispose']()),this[_0x53fdc5(0x2a7)]['clear'](),this[_0x53fdc5(0x2e8)]['complete']();}};xe=Yn([Kt(0x0,_0x5609db),Kt(0x1,_0x48db98(_0x252bbe))],xe);class qn extends _0x551e1f{constructor(){var _0x224bce=_0x40530a;super(...arguments),N(this,_0x224bce(0x287),new Map()),N(this,'_members$',new _0x1379a3(this[_0x224bce(0x287)])),N(this,_0x224bce(0x33d),this[_0x224bce(0x335)]['asObservable']());}[_0x40530a(0x19c)](){var _0x243f75=_0x40530a;this[_0x243f75(0x287)][_0x243f75(0x386)]();}[_0x40530a(0x214)](_0x4d9687){var _0xde911=_0x40530a;this[_0xde911(0x287)][_0xde911(0x2da)](_0x4d9687[_0xde911(0x3a0)],_0x4d9687),this[_0xde911(0x36d)]();}[_0x40530a(0x35c)](_0x334469){var _0x3d9333=_0x40530a;this[_0x3d9333(0x287)][_0x3d9333(0x234)](_0x334469);}[_0x40530a(0x1d5)](_0x47ad39){var _0x1181e0=_0x40530a;return this[_0x1181e0(0x287)][_0x1181e0(0x27f)](_0x47ad39);}['getAllMembers'](){var _0x43f707=_0x40530a;return Array[_0x43f707(0x30d)](this[_0x43f707(0x287)][_0x43f707(0x124)]());}[_0x40530a(0x36d)](){var _0x52d753=_0x40530a;this[_0x52d753(0x335)][_0x52d753(0x362)](this['_members']);}}var zn=Object[_0x40530a(0x27d)],Jn=Object['getOwnPropertyDescriptor'],Xn=(_0x5a2ffc,_0x18f328,_0x2da44b,_0x5818c5)=>{var _0x2cd6f1=_0x40530a;for(var _0x389df7=_0x5818c5>0x1?void 0x0:_0x5818c5?Jn(_0x18f328,_0x2da44b):_0x18f328,_0x5b52ea=_0x5a2ffc[_0x2cd6f1(0x37d)]-0x1,_0x3c9fec;_0x5b52ea>=0x0;_0x5b52ea--)(_0x3c9fec=_0x5a2ffc[_0x5b52ea])&&(_0x389df7=(_0x5818c5?_0x3c9fec(_0x18f328,_0x2da44b,_0x389df7):_0x3c9fec(_0x389df7))||_0x389df7);return _0x5818c5&&_0x389df7&&zn(_0x18f328,_0x2da44b,_0x389df7),_0x389df7;},me=(_0x27f46e,_0x3c1364)=>(_0x428f84,_0x68e769)=>_0x3c1364(_0x428f84,_0x68e769,_0x27f46e),Te=(_0x4c1654=>(_0x4c1654[_0x4c1654[_0x40530a(0x146)]=0x0]=_0x40530a(0x146),_0x4c1654[_0x4c1654[_0x40530a(0x35e)]=0x1]=_0x40530a(0x35e),_0x4c1654[_0x4c1654[_0x40530a(0x3df)]=0x2]=_0x40530a(0x3df),_0x4c1654[_0x4c1654['ONLINE']=0x3]='ONLINE',_0x4c1654))(Te||{});const Yt={[Ee[_0x40530a(0x3cb)]]:_0x40530a(0x30f),[Ee[_0x40530a(0x30e)]]:_0x40530a(0x21e),[Ee[_0x40530a(0x1b9)]]:_0x40530a(0x1e9),[Ee[_0x40530a(0x30b)]]:_0x40530a(0x262),[Ee[_0x40530a(0x113)]]:_0x40530a(0x189)};let It=class extends _0x18f063{constructor(_0x4e190e,_0x11da46,_0x2e7671,_0x2a5770,_0x4a1e43,_0x18b72b,_0x22ae8d,_0x1b25e8,_0x10c42a){var _0x33ff7b=_0x40530a;super(),N(this,'_sessionStatus$',new _0x1379a3(0x0)),N(this,_0x33ff7b(0x143),this[_0x33ff7b(0x152)][_0x33ff7b(0x303)]()),N(this,_0x33ff7b(0x194),new _0x3da80f()),N(this,_0x33ff7b(0x3e5),this[_0x33ff7b(0x194)]['asObservable']()),N(this,_0x33ff7b(0x2c1)),N(this,_0x33ff7b(0x316)),N(this,_0x33ff7b(0x170)),N(this,_0x33ff7b(0x1c4),!0x1),N(this,'_telemetryInfo',null),(this['_unitID']=_0x4e190e,this[_0x33ff7b(0x278)]=_0x2e7671,this[_0x33ff7b(0xf8)]=_0x2a5770,this['_localeService']=_0x4a1e43,this['_memberService']=_0x18b72b,this[_0x33ff7b(0x245)]=_0x22ae8d,this['_collaborationUIEventService']=_0x1b25e8,this['_telemetryService']=_0x10c42a,this[_0x33ff7b(0x1c4)]=!!this[_0x33ff7b(0x20e)],_0x11da46[_0x33ff7b(0x330)](_0xb4b3a(this['dispose$']))['subscribe'](_0x480f7f=>{var _0x32db18=_0x33ff7b,_0x2a9680;typeof _0x480f7f>'u'||(this[_0x32db18(0x2c1)]=_0x480f7f,_0x480f7f?(this['_joinRoom'](_0x480f7f),this[_0x32db18(0x316)]=_0x480f7f[_0x32db18(0x1d7)][_0x32db18(0x1af)](_0x23e860=>{var _0x4c704c=_0x32db18;_0x23e860[_0x4c704c(0x205)]===this[_0x4c704c(0x21d)]&&this[_0x4c704c(0x1b1)](_0x23e860);})):(this[_0x32db18(0x358)](),this[_0x32db18(0x152)][_0x32db18(0x362)](0x2),(_0x2a9680=this[_0x32db18(0x316)])==null||_0x2a9680['unsubscribe'](),this[_0x32db18(0x316)]=null));}));}get[_0x40530a(0x232)](){var _0x236773=_0x40530a;return this[_0x236773(0x152)][_0x236773(0x3af)]();}['getMemberID'](){var _0x5b3a09=_0x40530a,_0xf49126,_0x3b1896;return(_0x3b1896=(_0xf49126=this[_0x5b3a09(0x2c1)])==null?void 0x0:_0xf49126[_0x5b3a09(0x3a0)])!=null?_0x3b1896:null;}['dispose'](){var _0x4056a8=_0x40530a;super[_0x4056a8(0x19c)](),this['dispose$']['next'](),this[_0x4056a8(0x1ce)][_0x4056a8(0x2cf)]();}[_0x40530a(0x1ff)](){var _0x2ba93b=_0x40530a,_0x3c4954,_0x59ed45;this[_0x2ba93b(0x358)](),(_0x3c4954=this[_0x2ba93b(0x2c1)])==null||_0x3c4954[_0x2ba93b(0x378)]({'cmd':F[_0x2ba93b(0x28a)],'data':{'roomID':this[_0x2ba93b(0x21d)]}}),(_0x59ed45=this[_0x2ba93b(0x2c1)])==null||_0x59ed45[_0x2ba93b(0x1ff)](),this[_0x2ba93b(0x194)][_0x2ba93b(0x2cf)](),this[_0x2ba93b(0x152)][_0x2ba93b(0x2cf)](),this['dispose']();}[_0x40530a(0x1b1)](_0x3b0cac){var _0xfa00b5=_0x40530a;_0x3b0cac[_0xfa00b5(0x15f)]===F[_0xfa00b5(0x17b)]?this[_0xfa00b5(0x119)](_0x3b0cac):_0x3b0cac[_0xfa00b5(0x15f)]===F[_0xfa00b5(0x398)]&&this['_onRecvEvent'](_0x3b0cac);}['_joinRoom'](_0x185891){var _0xada7b4=_0x40530a;this['_sessionStatus$'][_0xada7b4(0x362)](0x1),_0x185891[_0xada7b4(0x378)]({'cmd':F[_0xada7b4(0x17b)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0xada7b4(0x21d)]}]}});}[_0x40530a(0x119)](_0x525bdf){var _0x5df0fa=_0x40530a,_0x5b5d4d;if(_0x525bdf[_0x5df0fa(0x1fb)]in Yt){this['_collaborationUIEventService']['emitEvent']({'id':se[_0x5df0fa(0x206)],'data':Yt[_0x525bdf['code']]}),this['_sessionStatus$'][_0x5df0fa(0x362)](0x2);return;}this[_0x5df0fa(0x152)][_0x5df0fa(0x362)](0x3);const _0x397484=(_0x5b5d4d=_0x525bdf[_0x5df0fa(0x311)]['roomInfos'][this[_0x5df0fa(0x21d)]])==null?void 0x0:_0x5b5d4d[_0x5df0fa(0x269)];_0x397484&&_0x397484[_0x5df0fa(0xe9)](_0x54a892=>this[_0x5df0fa(0x1a2)][_0x5df0fa(0x214)](this['_unitID'],_0x54a892));}['_onRecvEvent'](_0x831c99){var _0xcf12bc=_0x40530a;try{const _0x270e82=_0x831c99[_0xcf12bc(0x311)];switch(_0x270e82['eventID']){case _0x4b8a98[_0xcf12bc(0x193)]:this['_onUserJoin'](_0x270e82),this[_0xcf12bc(0x194)][_0xcf12bc(0x362)](_0x270e82);break;case _0x4b8a98[_0xcf12bc(0x15e)]:this[_0xcf12bc(0x163)](_0x270e82),this['_event$'][_0xcf12bc(0x362)](_0x270e82);break;case _0x4b8a98[_0xcf12bc(0x38f)]:case _0x4b8a98['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0xcf12bc(0x194)]['next'](_0x270e82);break;case _0x4b8a98[_0xcf12bc(0x1c0)]:this['_logService'][_0xcf12bc(0xf4)](_0xcf12bc(0x29c)+JSON[_0xcf12bc(0x372)](_0x270e82)),this[_0xcf12bc(0x194)][_0xcf12bc(0x362)](_0x270e82);break;case _0x4b8a98[_0xcf12bc(0x24a)]:this[_0xcf12bc(0x245)][_0xcf12bc(0x24b)](_0x270e82[_0xcf12bc(0x311)]),this[_0xcf12bc(0x194)][_0xcf12bc(0x362)](_0x270e82);break;default:this[_0xcf12bc(0x194)][_0xcf12bc(0x362)](_0x270e82);}}catch(_0x3b4f26){this['_logService']['error'](_0x3b4f26,_0x831c99);}}[_0x40530a(0x132)](_0x2390bd){var _0x2a6439=_0x40530a;this[_0x2a6439(0x1a2)][_0x2a6439(0x214)](this[_0x2a6439(0x21d)],_0x2390bd[_0x2a6439(0x311)]);}[_0x40530a(0x163)](_0x284a2f){var _0x1b8b3a=_0x40530a;this[_0x1b8b3a(0x1a2)][_0x1b8b3a(0x35c)](this[_0x1b8b3a(0x21d)],_0x284a2f[_0x1b8b3a(0x311)][_0x1b8b3a(0x3a0)]);}async[_0x40530a(0x378)](_0x14762f,_0x518f35){var _0x2b6ab7=_0x40530a;if(this[_0x2b6ab7(0x232)]!==0x3||!this['_socket'])throw new Error(_0x2b6ab7(0x381));try{_0x14762f[_0x2b6ab7(0x285)]===_0x4b8a98['SUBMIT_CHANGESET']&&(this[_0x2b6ab7(0xed)](),this[_0x2b6ab7(0xe5)](_0x14762f)),this[_0x2b6ab7(0x2c1)][_0x2b6ab7(0x378)]({'cmd':F[_0x2b6ab7(0x248)],'routeKey':_0x518f35,'routeType':'','data':_0x14762f});}catch(_0x42aeb7){this['_logService'][_0x2b6ab7(0xf4)](_0x42aeb7);}}[_0x40530a(0xed)](){var _0x20fcd3=_0x40530a,_0x4ca55f;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x5f4a8f=_0x192f;this[_0x5f4a8f(0x170)]=null,this[_0x5f4a8f(0x26c)][_0x5f4a8f(0x2f2)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x4ca55f=this[_0x20fcd3(0xf8)][_0x20fcd3(0x21f)](Si))!=null?_0x4ca55f:Ei);}[_0x40530a(0xe7)](){var _0x723a6f=_0x40530a;this[_0x723a6f(0x170)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x723a6f(0x170)]=null);}[_0x40530a(0xe5)](_0x5c2e84){var _0x39439a=_0x40530a;if(!this[_0x39439a(0x1c4)])return;const {data:_0x476321}=_0x5c2e84,{unitID:_0x39001d,changeset:_0x1c30b5}=_0x476321,{mutations:_0x43f396,type:_0x3f7caa}=_0x1c30b5;this[_0x39439a(0x1ac)]={'unitId':_0x39001d,'type':_0x3f7caa,'startTime':performance[_0x39439a(0x385)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x43f396)};}[_0x40530a(0x32c)](){var _0x245f8a=_0x40530a;if(this[_0x245f8a(0x1c4)]){if(!this[_0x245f8a(0x1ac)]){this['_logService']['error']('[CollaborationSession]',_0x245f8a(0x2a6));return;}this['_telemetryInfo'][_0x245f8a(0x185)]=performance[_0x245f8a(0x385)](),this[_0x245f8a(0x1ac)][_0x245f8a(0x3c0)]=this[_0x245f8a(0x1ac)]['stopTime']-this[_0x245f8a(0x1ac)][_0x245f8a(0x324)],this[_0x245f8a(0x20e)]['capture'](Vn,this['_telemetryInfo']),this[_0x245f8a(0x1ac)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x3fe292=_0x40530a;this[_0x3fe292(0x1ac)]=null;}};It=Xn([me(0x2,_0x6e98f),me(0x3,_0x5b62c8),me(0x4,_0x48db98(_0x5529ab)),me(0x5,_0x48db98(xe)),me(0x6,_0x48db98(Ri)),me(0x7,_0x48db98(pe)),me(0x8,_0x5b33db(_0x247e62))],It);var Zn=Object[_0x40530a(0x27d)],Qn=Object[_0x40530a(0x338)],er=(_0x10e20c,_0x138417,_0x5a21eb,_0x108486)=>{var _0x37293f=_0x40530a;for(var _0x1c7f68=_0x108486>0x1?void 0x0:_0x108486?Qn(_0x138417,_0x5a21eb):_0x138417,_0x561072=_0x10e20c[_0x37293f(0x37d)]-0x1,_0x26af1f;_0x561072>=0x0;_0x561072--)(_0x26af1f=_0x10e20c[_0x561072])&&(_0x1c7f68=(_0x108486?_0x26af1f(_0x138417,_0x5a21eb,_0x1c7f68):_0x26af1f(_0x1c7f68))||_0x1c7f68);return _0x108486&&_0x1c7f68&&Zn(_0x138417,_0x5a21eb,_0x1c7f68),_0x1c7f68;},ge=(_0x1e8e50,_0x6ad42)=>(_0x409268,_0x223ff3)=>_0x6ad42(_0x409268,_0x223ff3,_0x1e8e50);let Le=class extends _0x551e1f{constructor(_0x51aa2a,_0x348fd0,_0x2d40f4,_0x561820,_0x22777a,_0x488b4f,_0x544b4d){var _0x13e29e=_0x40530a;super(),N(this,_0x13e29e(0x110),new _0x1379a3(void 0x0)),N(this,_0x13e29e(0x230),this[_0x13e29e(0x110)][_0x13e29e(0x303)]()),N(this,_0x13e29e(0x331),null),N(this,_0x13e29e(0x3de),new Map()),N(this,_0x13e29e(0x33b),new _0x1379a3(Te[_0x13e29e(0x146)])),N(this,_0x13e29e(0x396),this[_0x13e29e(0x33b)][_0x13e29e(0x303)]()),N(this,'_socketReady',!0x1),N(this,_0x13e29e(0x117)),N(this,_0x13e29e(0x2d6),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x13e29e(0x32a)),(this[_0x13e29e(0x3e0)]=_0x51aa2a,this[_0x13e29e(0x278)]=_0x348fd0,this[_0x13e29e(0xf8)]=_0x2d40f4,this['_socketService']=_0x561820,this['_httpService']=_0x22777a,this[_0x13e29e(0x26c)]=_0x488b4f,this[_0x13e29e(0x1cb)]=_0x544b4d,this[_0x13e29e(0x177)]());}get[_0x40530a(0x2c1)](){var _0x29cb15=_0x40530a;return this[_0x29cb15(0x110)][_0x29cb15(0x3af)]();}[_0x40530a(0x177)](){var _0x124bd4=_0x40530a;this[_0x124bd4(0x1cb)]&&this[_0x124bd4(0x3ae)](this['_networkConditionService'][_0x124bd4(0x348)]['subscribe'](_0x387a1c=>{var _0x2e7d2c=_0x124bd4;_0x387a1c&&!this['_socket']&&this[_0x2e7d2c(0x115)](),_0x387a1c||this[_0x2e7d2c(0x2bd)]();}));}[_0x40530a(0x19c)](){var _0x1b39a2=_0x40530a;super[_0x1b39a2(0x19c)](),this['_sessions'][_0x1b39a2(0xe9)](_0x456d66=>_0x456d66[_0x1b39a2(0x19c)]()),this[_0x1b39a2(0x3de)]['clear'](),this[_0x1b39a2(0x33b)]['complete']();}async[_0x40530a(0x3e8)](_0x13ceda){var _0x403e46=_0x40530a;if(this[_0x403e46(0x3de)][_0x403e46(0x2e9)](_0x13ceda))return this[_0x403e46(0x3de)][_0x403e46(0x27f)](_0x13ceda);this[_0x403e46(0x1e0)]();const _0x7e392f=this[_0x403e46(0x3e0)]['createInstance'](It,_0x13ceda,this[_0x403e46(0x110)][_0x403e46(0x303)]());return this[_0x403e46(0x3de)][_0x403e46(0x2da)](_0x13ceda,_0x7e392f),_0x7e392f;}[_0x40530a(0x17d)](_0x4b653c){var _0x2ca839=_0x40530a,_0x1a4d3c;const _0x4f01b1=this['_sessions'][_0x2ca839(0x27f)](_0x4b653c);_0x4f01b1&&(this[_0x2ca839(0x3de)][_0x2ca839(0x234)](_0x4b653c),_0x4f01b1[_0x2ca839(0x1ff)]()),this[_0x2ca839(0x3de)]['size']||(_0x1a4d3c=this[_0x2ca839(0x2c1)])==null||_0x1a4d3c[_0x2ca839(0x1ff)]();}[_0x40530a(0x115)](){var _0x274a70=_0x40530a;this['_retryCount']=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x274a70(0x117)]),this[_0x274a70(0x117)]=null),this[_0x274a70(0x2fa)]();}async[_0x40530a(0x1ca)](){var _0x4011e5=_0x40530a,_0x599ad0,_0x53ca88,_0x4bad1c;const _0x24a1b6=this['_configService'][_0x4011e5(0x21f)](q),_0x4852d1=(_0x599ad0=_0x24a1b6==null?void 0x0:_0x24a1b6[_0x4011e5(0x306)])!=null?_0x599ad0:On;return(_0x4bad1c=(_0x53ca88=(await this[_0x4011e5(0x24d)]['get'](_0x4852d1,{'headers':{'Content-Type':_0x4011e5(0x229)}}))[_0x4011e5(0x37f)])==null?void 0x0:_0x53ca88[_0x4011e5(0x109)])!=null?_0x4bad1c:'';}[_0x40530a(0x334)](_0x555aa4){var _0x3aacff=_0x40530a,_0x388868,_0x57dd6c;const _0x2dc07a=this[_0x3aacff(0xf8)][_0x3aacff(0x21f)](Rn),_0x2a6b1d=this['_configService']['getConfig'](q),_0x226dab=(_0x57dd6c=(_0x388868=_0x2a6b1d==null?void 0x0:_0x2a6b1d[_0x3aacff(0x3bd)])!=null?_0x388868:_0x2dc07a)!=null?_0x57dd6c:bn,_0x5b0f9f=typeof window>'u'?new URL(_0x226dab):new URL(_0x226dab,window[_0x3aacff(0x1c9)][_0x3aacff(0x2ea)]);_0x5b0f9f[_0x3aacff(0x1f2)][_0x3aacff(0x2da)](_0x3aacff(0x164),_0x555aa4);const _0x29cc50=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3aacff(0x1c9)][_0x3aacff(0x3a1)]);return _0x29cc50[_0x3aacff(0x27f)](_0x3aacff(0x393))&&_0x5b0f9f[_0x3aacff(0x1f2)][_0x3aacff(0x2da)](_0x3aacff(0x393),_0x29cc50[_0x3aacff(0x27f)](_0x3aacff(0x393))),_0x5b0f9f['toString']();}async[_0x40530a(0x147)](){var _0x5e41bd=_0x40530a;const _0x4e3b70=await this[_0x5e41bd(0x1ca)](),_0x53a9eb=this[_0x5e41bd(0x334)](_0x4e3b70),_0x222412=this[_0x5e41bd(0x29a)][_0x5e41bd(0x2c9)](_0x53a9eb);return this['_candidateSocket']=_0x222412,_0x222412;}async[_0x40530a(0x1e0)](){var _0x558e76=_0x40530a,_0x207c0f,_0x456020;try{const _0x3045c5=(_0x456020=(_0x207c0f=this[_0x558e76(0x2c1)])!=null?_0x207c0f:this['_candidateSocket'])!=null?_0x456020:await this[_0x558e76(0x147)]();if(_0x3045c5){const _0x17abd3=_0x3045c5[_0x558e76(0x378)];_0x3045c5[_0x558e76(0x378)]=_0x546bfc=>(this[_0x558e76(0x116)](),_0x17abd3['apply'](_0x3045c5,[_0x546bfc])),_0x3045c5[_0x558e76(0x1d7)][_0x558e76(0x1af)](_0x3cecfb=>this[_0x558e76(0x1f7)](_0x3045c5,_0x3cecfb)),_0x3045c5[_0x558e76(0x3bb)][_0x558e76(0x330)](_0x434d28(0x1))[_0x558e76(0x1af)](_0x2ccd7d=>this[_0x558e76(0x278)][_0x558e76(0xf4)](_0x558e76(0x32e),_0x2ccd7d)),_0x3045c5[_0x558e76(0x394)][_0x558e76(0x330)](_0x434d28(0x1))[_0x558e76(0x1af)](()=>{var _0x229387=_0x558e76;this[_0x229387(0x17f)](_0x3045c5);}),_0x3045c5[_0x558e76(0x376)][_0x558e76(0x330)](_0x434d28(0x1))[_0x558e76(0x1af)](_0x5d556a=>{var _0xb5133f=_0x558e76;this[_0xb5133f(0x278)][_0xb5133f(0x2d8)]('[CollaborationSessionService]',_0xb5133f(0x112),_0x5d556a),this[_0xb5133f(0x1c6)]();});}}catch(_0x5924b3){this['_logService'][_0x558e76(0xf4)](_0x5924b3),this[_0x558e76(0x1c6)]();}}[_0x40530a(0x17f)](_0x14c9ef){var _0x42b45d=_0x40530a;this['_logService'][_0x42b45d(0x2d8)](_0x42b45d(0x366),_0x42b45d(0x341)),_0x14c9ef[_0x42b45d(0x378)]({'cmd':F[_0x42b45d(0x2fe)]}),this[_0x42b45d(0x116)]();}['_onOffline'](){var _0x1774b7=_0x40530a;this['_socketReady']=!0x1,this[_0x1774b7(0x331)]=null,this[_0x1774b7(0x33b)][_0x1774b7(0x362)](Te[_0x1774b7(0x3df)]),this[_0x1774b7(0x110)][_0x1774b7(0x362)](null),this[_0x1774b7(0x181)](),this['_clearHeartbeatTimer']();}[_0x40530a(0x1c6)](){var _0x1421ff=_0x40530a,_0x702f5b;this[_0x1421ff(0x2bd)](),this[_0x1421ff(0x2d6)]<((_0x702f5b=this[_0x1421ff(0xf8)][_0x1421ff(0x21f)](Pn))!=null?_0x702f5b:wn)?(this[_0x1421ff(0x26c)][_0x1421ff(0x2f2)]({'id':se[_0x1421ff(0x327)]}),this['_tryReconnect']()):this[_0x1421ff(0x26c)]['emitEvent']({'id':se[_0x1421ff(0x323)]});}[_0x40530a(0x2fa)](){var _0x4880ea=_0x40530a,_0x983895;const _0x1f34c3=this[_0x4880ea(0x2d6)],_0x1471fe=this[_0x4880ea(0xf8)]['getConfig'](q),_0x293cfd=_0x1f34c3===0x0?0x0:((_0x983895=_0x1471fe==null?void 0x0:_0x1471fe[_0x4880ea(0x11c)])!=null?_0x983895:Dn)*0x2**_0x1f34c3;this[_0x4880ea(0x117)]=setTimeout(()=>{var _0x20000e=_0x4880ea;clearTimeout(this[_0x20000e(0x117)]),this[_0x20000e(0x117)]=null,this['_tryEnsureSocket']();},_0x293cfd),this['_retryCount']+=0x1;}[_0x40530a(0x1f7)](_0x1fcaa4,_0x4fb170){var _0x4921da=_0x40530a;const {cmd:_0x27570a}=_0x4fb170;_0x27570a===F[_0x4921da(0x2fe)]&&!this['_socketReady']&&(_0x1fcaa4[_0x4921da(0x3a0)]=_0x4fb170[_0x4921da(0x311)][_0x4921da(0x3a0)],this[_0x4921da(0x110)][_0x4921da(0x362)](_0x1fcaa4),this[_0x4921da(0x33b)][_0x4921da(0x362)](Te[_0x4921da(0x340)]),this[_0x4921da(0x261)]=!0x0,this['_candidateSocket']=null),_0x27570a===F[_0x4921da(0x1f0)]&&this[_0x4921da(0x181)](),this['_rescheduleHeartbeat']();}[_0x40530a(0x116)](){var _0x451e43=_0x40530a,_0x4eb3d4;this['_clearHeartbeatTimer'](),this[_0x451e43(0x1fc)]=setTimeout(()=>this[_0x451e43(0x2fd)](),(_0x4eb3d4=this[_0x451e43(0xf8)][_0x451e43(0x21f)](yn))!=null?_0x4eb3d4:Nn);}['_sendHeartbeat'](){var _0x79bcce=_0x40530a;this[_0x79bcce(0x2c1)][_0x79bcce(0x378)]({'cmd':F['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x40530a(0x148)](){var _0x276666=_0x40530a,_0x1abdad;this['_timeoutTimer']=setTimeout(()=>this[_0x276666(0x1c6)](),(_0x1abdad=this[_0x276666(0xf8)][_0x276666(0x21f)](Si))!=null?_0x1abdad:Ei);}['_clearHeartbeatTimer'](){var _0x1cc560=_0x40530a;this[_0x1cc560(0x1fc)]!=null&&(clearTimeout(this[_0x1cc560(0x1fc)]),this[_0x1cc560(0x1fc)]=null);}[_0x40530a(0x181)](){var _0x73d437=_0x40530a;this[_0x73d437(0x32a)]!=null&&(clearTimeout(this[_0x73d437(0x32a)]),this['_timeoutTimer']=null);}};Le=er([ge(0x0,_0x48db98(_0x19dc6b)),ge(0x1,_0x6e98f),ge(0x2,_0x5b62c8),ge(0x3,Ci),ge(0x4,_0x48db98(_0x3ce2dc)),ge(0x5,_0x48db98(pe)),ge(0x6,_0x5b33db(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x40530a(0x20a)]((n+0x100)['toString'](0x10)['slice'](0x1));function tr(_0x1e4b10,_0x25064f=0x0){var _0x2c2895=_0x40530a;return(V[_0x1e4b10[_0x25064f+0x0]]+V[_0x1e4b10[_0x25064f+0x1]]+V[_0x1e4b10[_0x25064f+0x2]]+V[_0x1e4b10[_0x25064f+0x3]]+'-'+V[_0x1e4b10[_0x25064f+0x4]]+V[_0x1e4b10[_0x25064f+0x5]]+'-'+V[_0x1e4b10[_0x25064f+0x6]]+V[_0x1e4b10[_0x25064f+0x7]]+'-'+V[_0x1e4b10[_0x25064f+0x8]]+V[_0x1e4b10[_0x25064f+0x9]]+'-'+V[_0x1e4b10[_0x25064f+0xa]]+V[_0x1e4b10[_0x25064f+0xb]]+V[_0x1e4b10[_0x25064f+0xc]]+V[_0x1e4b10[_0x25064f+0xd]]+V[_0x1e4b10[_0x25064f+0xe]]+V[_0x1e4b10[_0x25064f+0xf]])[_0x2c2895(0x36c)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x14ce9e=_0x40530a;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x14ce9e(0x276));ut=crypto[_0x14ce9e(0x2b6)][_0x14ce9e(0x30c)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x40530a(0x30a)]&&crypto[_0x40530a(0x30a)][_0x40530a(0x30c)](crypto),qt={'randomUUID':rr};function sr(_0x352cb2,_0x5dce98,_0x182939){var _0x15a8ba=_0x40530a,_0x1ba47e,_0x40e450,_0x267e9b;if(qt[_0x15a8ba(0x30a)]&&!_0x352cb2)return qt[_0x15a8ba(0x30a)]();_0x352cb2=_0x352cb2||{};const _0x557448=(_0x267e9b=(_0x40e450=_0x352cb2[_0x15a8ba(0x2c6)])!=null?_0x40e450:(_0x1ba47e=_0x352cb2['rng'])==null?void 0x0:_0x1ba47e['call'](_0x352cb2))!=null?_0x267e9b:nr();if(_0x557448[_0x15a8ba(0x37d)]<0x10)throw new Error(_0x15a8ba(0x12b));return _0x557448[0x6]=_0x557448[0x6]&0xf|0x40,_0x557448[0x8]=_0x557448[0x8]&0x3f|0x80,tr(_0x557448);}const J=_0x10b14f(_0x40530a(0x150));function so(_0x5d78eb){return'unit-cache-'+_0x5d78eb;}var or=Object[_0x40530a(0x27d)],ar=Object[_0x40530a(0x338)],cr=(_0x2ba01e,_0x31a9f4,_0xcb4814,_0x17c2be)=>{var _0x2864b3=_0x40530a;for(var _0xf80124=_0x17c2be>0x1?void 0x0:_0x17c2be?ar(_0x31a9f4,_0xcb4814):_0x31a9f4,_0x136406=_0x2ba01e[_0x2864b3(0x37d)]-0x1,_0x39c913;_0x136406>=0x0;_0x136406--)(_0x39c913=_0x2ba01e[_0x136406])&&(_0xf80124=(_0x17c2be?_0x39c913(_0x31a9f4,_0xcb4814,_0xf80124):_0x39c913(_0xf80124))||_0xf80124);return _0x17c2be&&_0xf80124&&or(_0x31a9f4,_0xcb4814,_0xf80124),_0xf80124;},dt=(_0x3d694a,_0x5d7f8d)=>(_0x2fdc48,_0x38256b)=>_0x5d7f8d(_0x2fdc48,_0x38256b,_0x3d694a);function hr(_0x416565){const {unitID:_0x111185,mutations:_0x2c1b33}=_0x416565;return{'unitId':_0x111185,'subUnitId':_0x2c1b33[0x0]['params']['subUnitId']};}let it=class{constructor(_0x150f42,_0x414bf6,_0x48e976){var _0x39eb6a=_0x40530a;this['_injector']=_0x150f42,this[_0x39eb6a(0x2cd)]=_0x414bf6,this[_0x39eb6a(0x298)]=_0x48e976;}[_0x40530a(0x370)](_0x18e4cf){var _0x280581=_0x40530a,_0x1f55dc,_0x1b197d,_0x287843,_0x213e3c;const _0x41c9b2=this[_0x280581(0x3e0)][_0x280581(0x27f)](_0xeb53fc),{unitId:_0x3d399f,subUnitId:_0x543518}=hr(_0x18e4cf),_0x6da143=_0x41c9b2==null?void 0x0:_0x41c9b2[_0x280581(0x3e6)](_0x3d399f)[_0x280581(0x1a0)](),_0x18c43a=(_0x1b197d=(_0x1f55dc=this[_0x280581(0x298)]['getUnit'](_0x3d399f))==null?void 0x0:_0x1f55dc[_0x280581(0x310)]())==null?void 0x0:_0x1b197d[_0x280581(0x31f)]();if(_0x6da143['length']===0x0||!_0x3d399f||!_0x543518)return;const _0x931f8=[{'id':_0x5e8588['id'],'params':{'unitId':_0x3d399f,'subUnitId':_0x18c43a,'selections':_0x544210[_0x280581(0x137)](_0x6da143)}}],_0x239825=this[_0x280581(0x2cd)][_0x280581(0x225)](_0x18e4cf,_0x931f8);if(!_0x5bbbc8(_0x239825))throw _0x239825[_0x280581(0xf4)];const _0xcc8a64=(_0x213e3c=(_0x287843=_0x239825['m2Prime'][0x0])==null?void 0x0:_0x287843[_0x280581(0x131)])==null?void 0x0:_0x213e3c[_0x280581(0x14d)];if(Array['isArray'](_0xcc8a64)&&_0xcc8a64[_0x280581(0x37d)]){if(_0xcc8a64[_0x280581(0x37d)]===_0x931f8[0x0][_0x280581(0x131)][_0x280581(0x14d)][_0x280581(0x37d)]&&_0xcc8a64[_0x280581(0x169)]((_0x3144dd,_0x244610)=>_0x48bee0[_0x280581(0x18e)](_0x3144dd[_0x280581(0x14e)],_0x931f8[0x0][_0x280581(0x131)][_0x280581(0x14d)][_0x244610][_0x280581(0x14e)])))return;this[_0x280581(0x3e0)][_0x280581(0x27f)](_0xc6fb7a)[_0x280581(0x2d5)](_0x5e8588['id'],{'unitId':_0x3d399f,'subUnitId':_0x18c43a,'selections':_0xcc8a64});}}};it=cr([dt(0x0,_0x48db98(_0x19dc6b)),dt(0x1,_0x3b018c),dt(0x2,_0x5609db)],it);const ht=_0x10b14f('univer-pro.collaboration-client.single-active-unit-service');var bi=(_0x47f393=>(_0x47f393[_0x47f393['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x47f393[_0x47f393[_0x40530a(0x15d)]=0x1]=_0x40530a(0x15d),_0x47f393))(bi||{});const _r=new Set([_0x15d99d['id']]);function zt(_0x1c489e,_0x32b554,_0x515ed3,_0x2dd185,_0x29f36c){var _0x8bde0b=_0x40530a,_0x34db00,_0x3a2a45,_0x113298,_0x58ebe5;const _0x5edea9=[];for(const _0x2fb4f1 of _0x1c489e)if(_r['has'](_0x2fb4f1['id'])){if(_0x5edea9[_0x8bde0b(0x37d)]>0x0)break;_0x5edea9['push'](_0x2fb4f1);break;}else _0x5edea9['push'](_0x2fb4f1);const _0x29d3ba=(_0x3a2a45=(_0x34db00=_0x29f36c[_0x8bde0b(0x286)]())==null?void 0x0:_0x34db00['userID'])!=null?_0x3a2a45:'unknown',_0xff2465=(_0x58ebe5=(_0x113298=_0x29f36c[_0x8bde0b(0x286)]())==null?void 0x0:_0x113298['memberID'])!=null?_0x58ebe5:_0x8bde0b(0x175);return{'changeset':{'unitID':_0x32b554,'type':_0x4c663c(_0x515ed3[_0x8bde0b(0x31e)](_0x32b554)),'baseRev':_0x2dd185[_0x8bde0b(0x1e7)](_0x32b554),'revision':0x0,'userID':_0x29d3ba,'memberID':_0xff2465,'mutations':_0x5edea9},'pendingMutations':_0x1c489e['slice'](_0x5edea9[_0x8bde0b(0x37d)])};}function lr(_0x17c60b,_0x2e322e,_0x124932,_0x3cbf5c,_0x3e794d){var _0x52f1d4=_0x40530a,_0x54d135,_0x23f2bc,_0xf21e9e,_0x45362e;const _0x1ba610=[_0x17c60b['reduce']((_0x3145ad,_0x5b79e2)=>{var _0x281fa0=_0x192f,_0x3123ad;const {id:_0x55dd00}=_0x3145ad,{id:_0x28ad1d,type:_0x349572}=_0x5b79e2,_0x385ec6=(_0x3123ad=_0x3145ad[_0x281fa0(0x131)])!=null?_0x3123ad:{'actions':null},_0x2f0adc=_0x5b79e2['params'];if(_0x55dd00&&_0x55dd00!==_0x28ad1d)throw new Error(_0x281fa0(0x238)+_0x55dd00+_0x281fa0(0x3e2)+_0x28ad1d+'.');return{..._0x3145ad,'id':_0x28ad1d,'type':_0x349572,'params':{'unitId':_0x2f0adc['unitId'],'textRanges':_0x2f0adc[_0x281fa0(0x3cc)],'actions':_0x14fa94[_0x281fa0(0x107)](_0x385ec6[_0x281fa0(0x3a4)],_0x2f0adc['actions'])}};},{})],_0xa11b14=(_0x23f2bc=(_0x54d135=_0x3e794d[_0x52f1d4(0x286)]())==null?void 0x0:_0x54d135['userID'])!=null?_0x23f2bc:_0x52f1d4(0x175),_0x396d53=(_0x45362e=(_0xf21e9e=_0x3e794d[_0x52f1d4(0x286)]())==null?void 0x0:_0xf21e9e[_0x52f1d4(0x3a0)])!=null?_0x45362e:_0x52f1d4(0x175);return{'changeset':{'unitID':_0x2e322e,'type':_0x4c663c(_0x124932['getUnitType'](_0x2e322e)),'baseRev':_0x3cbf5c['getCurrentRevOfUnit'](_0x2e322e),'revision':0x0,'userID':_0xa11b14,'memberID':_0x396d53,'mutations':_0x1ba610},'pendingMutations':[]};}function Oi(_0x497017,_0x29c580){var _0x30fa1c=_0x40530a;const _0x38ec27=new _0x400709(0x1);return setTimeout(()=>_0x38ec27[_0x30fa1c(0x362)](_0x29c580),_0x497017),_0x38ec27[_0x30fa1c(0x303)]()[_0x30fa1c(0x330)](_0x4da358(0x1));}const ur={'id':_0x1137be['id'],'type':_0x29caaf['MUTATION'],'params':{}};var dr=Object[_0x40530a(0x27d)],fr=Object['getOwnPropertyDescriptor'],Re=(_0x16a566,_0x27acf7,_0xb3e275,_0x185c2d)=>{var _0x4e4091=_0x40530a;for(var _0x68d9e=_0x185c2d>0x1?void 0x0:_0x185c2d?fr(_0x27acf7,_0xb3e275):_0x27acf7,_0x50da30=_0x16a566[_0x4e4091(0x37d)]-0x1,_0x43ae67;_0x50da30>=0x0;_0x50da30--)(_0x43ae67=_0x16a566[_0x50da30])&&(_0x68d9e=(_0x185c2d?_0x43ae67(_0x27acf7,_0xb3e275,_0x68d9e):_0x43ae67(_0x68d9e))||_0x68d9e);return _0x185c2d&&_0x68d9e&&dr(_0x27acf7,_0xb3e275,_0x68d9e),_0x68d9e;},A=(_0x1102f1,_0x2887da)=>(_0x7e1d0f,_0x57b2a7)=>_0x2887da(_0x7e1d0f,_0x57b2a7,_0x1102f1),yi=(_0x5c5cfa=>(_0x5c5cfa['NOT_COLLAB']=_0x40530a(0x2c0),_0x5c5cfa[_0x40530a(0x2d7)]=_0x40530a(0x106),_0x5c5cfa[_0x40530a(0x23b)]=_0x40530a(0x35a),_0x5c5cfa[_0x40530a(0x31a)]=_0x40530a(0x223),_0x5c5cfa['AWAITING_WITH_PENDING']=_0x40530a(0xf2),_0x5c5cfa[_0x40530a(0x375)]=_0x40530a(0x1df),_0x5c5cfa[_0x40530a(0xf9)]=_0x40530a(0x237),_0x5c5cfa[_0x40530a(0x3df)]='offline',_0x5c5cfa))(yi||{});const Ni=0xea60;class be{constructor(_0x205516,_0x3783bd,_0x1afa91,_0x9478b6,_0x3d1eef,_0x398ce5,_0x7de297,_0x3532c4,_0x15bfa5){var _0x562f84=_0x40530a;N(this,_0x562f84(0x2f3),null),N(this,_0x562f84(0x1f8),[]),(this[_0x562f84(0x2f7)]=_0x205516,this[_0x562f84(0x247)]=_0x3783bd,this[_0x562f84(0xff)]=_0x3d1eef,this['_commandService']=_0x398ce5,this[_0x562f84(0x293)]=_0x7de297,this[_0x562f84(0x31b)]=_0x3532c4,this[_0x562f84(0x2ca)]=_0x15bfa5,this['_awaitingChangeset']=_0x1afa91,this[_0x562f84(0x1f8)]=_0x9478b6);}[_0x40530a(0x23d)](_0x1bab72){var _0x3238bf=_0x40530a;const _0x433656=this[_0x3238bf(0x31b)][_0x3238bf(0x1e7)](this[_0x3238bf(0x2f7)]);return _0x1bab72[_0x3238bf(0x2d1)]>_0x433656+0x1?(this[_0x3238bf(0xff)][_0x3238bf(0x2f0)]({'from':_0x433656,'to':_0x1bab72[_0x3238bf(0x2d1)]-0x1}),!0x0):!0x1;}[_0x40530a(0x2b9)](_0x45eebd){var _0x190f80=_0x40530a;this[_0x190f80(0x293)][_0x190f80(0x168)](this[_0x190f80(0x2f7)],_0x45eebd);}[_0x40530a(0x308)](_0x4ee261){var _0x3ee985=_0x40530a,_0x3eae60,_0x426e23;(_0x426e23=(_0x3eae60=this['_handler'])[_0x3ee985(0x120)])==null||_0x426e23[_0x3ee985(0x2b8)](_0x3eae60,_0x4ee261);}['_transformIMECache'](_0x491393){var _0x2a4593=_0x40530a,_0x2198b8,_0x2e897a;return(_0x2e897a=(_0x2198b8=this[_0x2a4593(0xff)])[_0x2a4593(0x3d5)])==null?void 0x0:_0x2e897a[_0x2a4593(0x2b8)](_0x2198b8,_0x491393);}['_transformStateCache'](_0x185a03){var _0x4fe2b1=_0x40530a,_0xae57df,_0x237226;return(_0x237226=(_0xae57df=this[_0x4fe2b1(0xff)])[_0x4fe2b1(0x2de)])==null?void 0x0:_0x237226['call'](_0xae57df,_0x185a03);}[_0x40530a(0x1cc)](_0x196c38){var _0x4bb3b2=_0x40530a,_0x3caf00,_0x5b1d6a,_0x21136d;return(_0x21136d=(_0x5b1d6a=(_0x3caf00=this[_0x4bb3b2(0xff)])[_0x4bb3b2(0x3da)])==null?void 0x0:_0x5b1d6a[_0x4bb3b2(0x2b8)](_0x3caf00,_0x196c38))!=null?_0x21136d:_0x196c38;}['_transformRemoteChangesetByStateCache'](_0x345d41){var _0x63fa32=_0x40530a,_0x300cf0,_0x1ed69e,_0x126ec7;return(_0x126ec7=(_0x1ed69e=(_0x300cf0=this[_0x63fa32(0xff)])[_0x63fa32(0x315)])==null?void 0x0:_0x1ed69e[_0x63fa32(0x2b8)](_0x300cf0,_0x345d41))!=null?_0x126ec7:_0x345d41;}[_0x40530a(0x144)](_0x3ac051){var _0x58509c=_0x40530a,_0x551fe7,_0x5c4250;if(this[_0x58509c(0x247)]===Q[_0x58509c(0x284)]){const {unitID:_0x4ecc79,mutations:_0x53da8f,memberID:_0x319ffa}=_0x3ac051,_0x21d1df=_0x53da8f[0x0]['params'][_0x58509c(0x3cc)];Array[_0x58509c(0x38a)](_0x21d1df)&&_0x21d1df['length']>0x0&&((_0x5c4250=(_0x551fe7=this[_0x58509c(0xff)])['onSyncEditingCollabCursor'])==null||_0x5c4250[_0x58509c(0x2b8)](_0x551fe7,{'unitID':_0x4ecc79,'memberID':_0x319ffa,'textRanges':_0x21d1df}));}}[_0x40530a(0x352)](){var _0x21fc5e=_0x40530a,_0x593694;(_0x593694=this[_0x21fc5e(0x2ca)])==null||_0x593694[_0x21fc5e(0x34f)](this['unitID'],this[_0x21fc5e(0x247)],this['_awaitingChangeset'],this[_0x21fc5e(0x1f8)]);}[_0x40530a(0x1a8)](){var _0x1c0403=_0x40530a;return this[_0x1c0403(0x31b)][_0x1c0403(0x1e7)](this[_0x1c0403(0x2f7)]);}[_0x40530a(0x2a9)](){var _0x5ad99b=_0x40530a;this[_0x5ad99b(0x31b)][_0x5ad99b(0x1e4)](this[_0x5ad99b(0x2f7)]);}[_0x40530a(0x3d0)](_0x457898){var _0x2ba672=_0x40530a,_0x119a90;let _0x200b17=this[_0x2ba672(0x1cc)](_0x457898);_0x200b17=this['_transformRemoteChangesetByStateCache'](_0x200b17);const _0x4a958a=_0x7fdad7(_0x200b17['mutations'],this[_0x2ba672(0x3ad)],{'fromCollab':!0x0});if(!_0x4a958a[_0x2ba672(0x227)])throw _0x4a958a[_0x2ba672(0xf4)]instanceof Error?_0x4a958a['error']:new Error((_0x119a90=_0x4a958a[_0x2ba672(0xf4)])!=null?_0x119a90:_0x2ba672(0x1e8));this[_0x2ba672(0x1c3)](_0x200b17),this[_0x2ba672(0x389)](_0x200b17),this[_0x2ba672(0x2b9)](_0x457898),this[_0x2ba672(0x308)](_0x200b17),this['_syncEditingCollabCursor'](_0x200b17),this[_0x2ba672(0x2a9)]();}}let De=class extends be{constructor(_0x2095a5,_0x47b873,_0x27344a,_0x3d716d,_0x1ac20a,_0x18cc4c,_0x141767,_0x572d19,_0xbe2f8d,_0x445860){var _0x3a79e3=_0x40530a;super(_0x2095a5,_0x47b873,null,[],_0x27344a,_0x141767,_0x18cc4c,_0x3d716d,_0x445860),N(this,_0x3a79e3(0x1d4),_0x3a79e3(0x106)),(this[_0x3a79e3(0x3e0)]=_0x1ac20a,this['_logService']=_0x572d19,this[_0x3a79e3(0x2cd)]=_0xbe2f8d,this[_0x3a79e3(0x364)]=_0x445860);}[_0x40530a(0x159)](_0x108aeb){var _0x5a6c2e=_0x40530a;const _0x4a86c7=this['_injector'][_0x5a6c2e(0xe8)](oe,this[_0x5a6c2e(0x2f7)],this['type'],[_0x108aeb],this[_0x5a6c2e(0xff)]);return _0x4a86c7[_0x5a6c2e(0x3ba)](),_0x4a86c7[_0x5a6c2e(0x352)](),_0x4a86c7;}[_0x40530a(0x21c)](_0x53bfb4){var _0x5b0b9d=_0x40530a;if(this[_0x5b0b9d(0x23d)](_0x53bfb4))return this['_injector'][_0x5b0b9d(0xe8)](te,this['unitID'],this[_0x5b0b9d(0x247)],null,[],null,[_0x53bfb4],this[_0x5b0b9d(0xff)]);try{const _0x4d6c61=this[_0x5b0b9d(0x2cd)][_0x5b0b9d(0x225)](_0x53bfb4,[ur]);if(_0x5bbbc8(_0x4d6c61)){const {c1Prime:_0x29981f}=_0x4d6c61;return this[_0x5b0b9d(0x3d0)](_0x29981f),this;}throw _0x4d6c61[_0x5b0b9d(0xf4)];}catch(_0x46ced0){return this[_0x5b0b9d(0x278)][_0x5b0b9d(0xf4)](_0x46ced0),this[_0x5b0b9d(0x37b)](!0x1);}}[_0x40530a(0x37b)](_0x4663d1){var _0x3a4ca2=_0x40530a;return this[_0x3a4ca2(0x3e0)][_0x3a4ca2(0xe8)](de,this[_0x3a4ca2(0x2f7)],this['type'],null,[],this[_0x3a4ca2(0xff)],_0x4663d1);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x40530a(0x379)](){var _0x486824=_0x40530a;throw new Error(_0x486824(0x295));}[_0x40530a(0x122)](){return this;}[_0x40530a(0x254)](){var _0x369d9b=_0x40530a;return this['_injector']['createInstance'](fe,this[_0x369d9b(0x2f7)],this['type'],null,[],this[_0x369d9b(0xff)]);}[_0x40530a(0x313)](){return this;}[_0x40530a(0x2e3)](){var _0x518d1a=_0x40530a;throw new Error(_0x518d1a(0x202));}[_0x40530a(0x222)](){var _0xd52dab=_0x40530a;const _0x2d1a0b=this['_revisionService']['getCurrentRevOfUnit'](this[_0xd52dab(0x2f7)]);return this[_0xd52dab(0xff)][_0xd52dab(0x2f0)]({'from':_0x2d1a0b,'to':0x0}),this[_0xd52dab(0x3e0)]['createInstance'](te,this[_0xd52dab(0x2f7)],this[_0xd52dab(0x247)],null,[],null,[],this['_handler']);}};De=Re([A(0x3,_0x48db98(_0x25256b)),A(0x4,_0x48db98(_0x19dc6b)),A(0x5,_0x84d590),A(0x6,_0xc6fb7a),A(0x7,_0x6e98f),A(0x8,_0x3b018c),A(0x9,_0x5b33db(J))],De);let oe=class extends be{constructor(_0xc40571,_0xa2e8f4,_0x1b3558,_0x32e37c,_0x997da7,_0x23942b,_0x3e80e5,_0x3462db,_0x27db3c,_0x1267f1,_0x3f886b,_0x5cc3f5,_0x482e63,_0x5404fa){var _0x4e48bd=_0x40530a;super(_0xc40571,_0xa2e8f4,null,_0x1b3558,_0x32e37c,_0x27db3c,_0x482e63,_0x23942b,_0x5404fa),N(this,'status',_0x4e48bd(0x35a)),N(this,_0x4e48bd(0x33a),null),N(this,'_sendingTimer',null),(this[_0x4e48bd(0x3e0)]=_0x997da7,this[_0x4e48bd(0x1a2)]=_0x3e80e5,this['_logService']=_0x3462db,this[_0x4e48bd(0xf8)]=_0x1267f1,this[_0x4e48bd(0x2cd)]=_0x3f886b,this[_0x4e48bd(0x305)]=_0x5cc3f5);}[_0x40530a(0x159)](_0x47f3c0){var _0x12bbbb=_0x40530a;return this[_0x12bbbb(0x1f8)][_0x12bbbb(0x20a)](_0x47f3c0),this[_0x12bbbb(0x352)](),this;}[_0x40530a(0x21c)](_0xba3838){var _0x1b0f15=_0x40530a;if(this[_0x1b0f15(0x23d)](_0xba3838))return this[_0x1b0f15(0x3d2)](),this[_0x1b0f15(0x3e0)][_0x1b0f15(0xe8)](te,this[_0x1b0f15(0x2f7)],this['type'],null,this[_0x1b0f15(0x1f8)],null,[_0xba3838],this[_0x1b0f15(0xff)]);try{const _0x282295=this['_transformService'][_0x1b0f15(0x225)](_0xba3838,this[_0x1b0f15(0x1f8)]);if(_0x5bbbc8(_0x282295)){const {c1Prime:_0xa53037,m2Prime:_0x25b259}=_0x282295;this[_0x1b0f15(0x3d0)](_0xa53037);const _0x228d67=this[_0x1b0f15(0x3e0)]['createInstance'](oe,this[_0x1b0f15(0x2f7)],this[_0x1b0f15(0x247)],_0x25b259,this[_0x1b0f15(0xff)]);this[_0x1b0f15(0x3d2)]();const _0x35367d=new Date()[_0x1b0f15(0x114)](),_0x24a8d7=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x1b0f15(0x33a)]-_0x35367d,0x0):this[_0x1b0f15(0x18d)]();return _0x228d67[_0x1b0f15(0x3ba)](_0x24a8d7),_0x228d67;}throw _0x282295[_0x1b0f15(0xf4)];}catch(_0x323f55){return this[_0x1b0f15(0x278)]['error'](_0x323f55),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x59880b=_0x40530a;throw new Error(_0x59880b(0x1bb));}[_0x40530a(0x379)](){var _0x3b25cc=_0x40530a;throw new Error(_0x3b25cc(0xf5));}[_0x40530a(0x122)](){return this;}[_0x40530a(0x254)](){var _0x44299b=_0x40530a;return this[_0x44299b(0x3d2)](),this['_injector'][_0x44299b(0xe8)](fe,this[_0x44299b(0x2f7)],this[_0x44299b(0x247)],null,this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x40530a(0x3ba)](_0x32f45d){var _0x127614=_0x40530a;const _0x1515fe=_0x32f45d!=null?_0x32f45d:this[_0x127614(0x18d)]();this['_scheduleCompleteTimestamp']=new Date()[_0x127614(0x114)]()+_0x1515fe,this[_0x127614(0x2ba)]=setTimeout(()=>{var _0x51b887=_0x127614;this['_clearScheduledTask']();let _0x10c888=null;switch(this['type']){case Q[_0x51b887(0x39e)]:{_0x10c888=zt(this[_0x51b887(0x1f8)],this['unitID'],this[_0x51b887(0x305)],this['_revisionService'],this[_0x51b887(0x1a2)]);break;}case Q[_0x51b887(0x284)]:{this[_0x51b887(0x1f8)][_0x51b887(0x169)](_0x381ca1=>_0x381ca1['id']===_0x3905df['id'])?_0x10c888=lr(this[_0x51b887(0x1f8)],this[_0x51b887(0x2f7)],this[_0x51b887(0x305)],this[_0x51b887(0x31b)],this[_0x51b887(0x1a2)]):_0x10c888=zt(this[_0x51b887(0x1f8)],this['unitID'],this[_0x51b887(0x305)],this[_0x51b887(0x31b)],this[_0x51b887(0x1a2)]);break;}default:throw new Error(_0x51b887(0x228)+this['type']+_0x51b887(0x21b));}const {changeset:_0x54d76e,pendingMutations:_0x5cb68e}=_0x10c888;this[_0x51b887(0xff)][_0x51b887(0xe4)](_0x54d76e);const _0xa76243=_0x5cb68e[_0x51b887(0x37d)]?this['_injector']['createInstance'](ae,this['unitID'],this['type'],_0x54d76e,_0x5cb68e,this[_0x51b887(0xff)],void 0x0):this[_0x51b887(0x3e0)][_0x51b887(0xe8)](ue,this[_0x51b887(0x2f7)],this[_0x51b887(0x247)],_0x54d76e,this[_0x51b887(0xff)]);_0xa76243[_0x51b887(0x352)](),this[_0x51b887(0xff)]['onStateChange'](this,_0xa76243);},_0x1515fe);}['_getSendChangesetTimeout'](){var _0x3c3b1b;const _0x532c89=this['_configService']['getConfig'](q);return(_0x3c3b1b=_0x532c89==null?void 0x0:_0x532c89['sendChangesetTimeout'])!=null?_0x3c3b1b:Cn;}[_0x40530a(0x2e3)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x40530a(0x3d2)](){var _0x1ddd0b=_0x40530a;this[_0x1ddd0b(0x2ba)]!=null&&(clearTimeout(this[_0x1ddd0b(0x2ba)]),this[_0x1ddd0b(0x2ba)]=null);}[_0x40530a(0x37b)](_0xaabc1f){var _0xfe74cf=_0x40530a;return this['_clearScheduledTask'](),this['_injector']['createInstance'](de,this['unitID'],this['type'],null,this[_0xfe74cf(0x1f8)],this[_0xfe74cf(0xff)],_0xaabc1f);}};oe=Re([A(0x4,_0x48db98(_0x19dc6b)),A(0x5,_0x48db98(_0x25256b)),A(0x6,_0x48db98(xe)),A(0x7,_0x6e98f),A(0x8,_0xc6fb7a),A(0x9,_0x5b62c8),A(0xa,_0x3b018c),A(0xb,_0x5609db),A(0xc,_0x84d590),A(0xd,_0x5b33db(J))],oe);let ue=class extends be{constructor(_0x4a20e3,_0x355752,_0x944a10,_0x11a69b,_0x505530,_0x192928,_0x32583d,_0x34b515,_0x25ae80,_0x80ab73,_0x4bf876){var _0x24e4e3=_0x40530a;super(_0x4a20e3,_0x355752,_0x944a10,[],_0x11a69b,_0x32583d,_0x80ab73,_0x192928,_0x4bf876),N(this,_0x24e4e3(0x1d4),_0x24e4e3(0x223)),N(this,_0x24e4e3(0x1f9),0x0),N(this,'_resendTimer'),N(this,_0x24e4e3(0x3d6)),(this[_0x24e4e3(0x3e0)]=_0x505530,this[_0x24e4e3(0x278)]=_0x34b515,this['_transformService']=_0x25ae80);}['appendMutation'](_0x23aa19){var _0x14eb89=_0x40530a;this[_0x14eb89(0x3d2)]();const _0x3c0e73=this[_0x14eb89(0x3e0)]['createInstance'](ae,this[_0x14eb89(0x2f7)],this['type'],this[_0x14eb89(0x2f3)],[_0x23aa19],this[_0x14eb89(0xff)],this[_0x14eb89(0x25e)]);return _0x3c0e73[_0x14eb89(0x352)](),_0x3c0e73;}['onRemoteChangeset'](_0x5bebb6){var _0x581c1e=_0x40530a;if(this[_0x581c1e(0x23d)](_0x5bebb6))return this[_0x581c1e(0x3d2)](),this['_injector'][_0x581c1e(0xe8)](te,this['unitID'],this[_0x581c1e(0x247)],this[_0x581c1e(0x2f3)],[],null,[_0x5bebb6],this[_0x581c1e(0xff)]);try{const _0x18c579=this[_0x581c1e(0x2cd)][_0x581c1e(0x134)]([_0x5bebb6],[this[_0x581c1e(0x2f3)]],!0x1);if(_0x1a324a(_0x18c579)){const {c1Prime:_0x29ae34,c2Prime:_0x405e7d}=_0x18c579;this[_0x581c1e(0x3d0)](_0x29ae34[0x0]),_0x405e7d[0x0]['baseRev']=this[_0x581c1e(0x1a8)](),this[_0x581c1e(0x3d2)]();const _0x786457=this['_injector'][_0x581c1e(0xe8)](ue,this['unitID'],this[_0x581c1e(0x247)],_0x405e7d[0x0],this[_0x581c1e(0xff)]);return _0x786457[_0x581c1e(0x352)](),_0x786457;}return this[_0x581c1e(0x37b)](!0x1);}catch(_0x12c6da){return this[_0x581c1e(0x278)][_0x581c1e(0xf4)](_0x12c6da),this[_0x581c1e(0x37b)](!0x1);}}[_0x40530a(0x343)](_0x362b7e){var _0x346e33=_0x40530a;this[_0x346e33(0x3d2)]();const _0x23f798=this[_0x346e33(0x31b)][_0x346e33(0x1e7)](this[_0x346e33(0x2f7)]);if(_0x362b7e[_0x346e33(0x2d1)]<_0x23f798-0x1)return this;if(this[_0x346e33(0x23d)](_0x362b7e))return this[_0x346e33(0x3e0)]['createInstance'](te,this[_0x346e33(0x2f7)],this[_0x346e33(0x247)],null,[],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0xcd8de7=this[_0x346e33(0x3e0)]['createInstance'](De,this[_0x346e33(0x2f7)],this[_0x346e33(0x247)],this['_handler']);return _0xcd8de7[_0x346e33(0x352)](),_0xcd8de7;}['onRemoteRej'](_0x771117){var _0x174cfd=_0x40530a;return this[_0x174cfd(0x37b)](!!(_0x771117!=null&&_0x771117[_0x174cfd(0x38b)]));}[_0x40530a(0x122)](_0x3aadfc){var _0xab3808=_0x40530a;return this['_resendTimeout']>Ni?this[_0xab3808(0x254)]():(this[_0xab3808(0x25e)]=Oi(this[_0xab3808(0x1f9)],{'timeout':this[_0xab3808(0x1f9)],'reqId':_0x3aadfc[_0xab3808(0x2ec)]}),this[_0xab3808(0x3d6)]=this['_resendTimer'][_0xab3808(0x1af)](({reqId:_0x2a5a1d,timeout:_0x43138b})=>{var _0x42eaf7=_0xab3808;this[_0x42eaf7(0x1d2)](_0x2a5a1d,_0x43138b);}),this);}['toggleOffline'](){var _0xff9223=_0x40530a;return this[_0xff9223(0x3d2)](),this['_injector'][_0xff9223(0xe8)](fe,this[_0xff9223(0x2f7)],this[_0xff9223(0x247)],this[_0xff9223(0x2f3)],[],this[_0xff9223(0xff)]);}['toggleOnline'](){return this;}[_0x40530a(0x2e3)](){var _0x5c1682=_0x40530a;this[_0x5c1682(0xff)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x40530a(0x37b)](_0x554dc2){var _0x13bdaa=_0x40530a;return this[_0x13bdaa(0x3d2)](),this['_injector'][_0x13bdaa(0xe8)](de,this['unitID'],this['type'],this['_awaitingChangeset'],[],this[_0x13bdaa(0xff)],_0x554dc2);}[_0x40530a(0x1d2)](_0x158d2a,_0x29d2ce){var _0x4933bb=_0x40530a,_0x21ba5c;_0x158d2a===((_0x21ba5c=this[_0x4933bb(0x2f3)])==null?void 0x0:_0x21ba5c[_0x4933bb(0x2ec)])&&(this[_0x4933bb(0x2e3)](),this[_0x4933bb(0x1f9)]=_0x29d2ce===0x0?0x3e8:_0x29d2ce*0x2);}[_0x40530a(0x3d2)](){var _0x3d2983=_0x40530a,_0x5b98a1;(_0x5b98a1=this['_sender'])==null||_0x5b98a1['unsubscribe'](),this[_0x3d2983(0x1f9)]=0x0;}};ue=Re([A(0x4,_0x48db98(_0x19dc6b)),A(0x5,_0x48db98(_0x25256b)),A(0x6,_0xc6fb7a),A(0x7,_0x6e98f),A(0x8,_0x3b018c),A(0x9,_0x84d590),A(0xa,_0x5b33db(J))],ue);let ae=class extends be{constructor(_0x1a0698,_0x3ad2c5,_0x4ad459,_0x4520b3,_0x1978ae,_0x252e4c,_0x28f17c,_0x54d6c9,_0x3ad9aa,_0x28f26c,_0x38e4ef,_0xdf8692,_0x53cafc){var _0x331b76=_0x40530a;super(_0x1a0698,_0x3ad2c5,_0x4ad459,_0x4520b3,_0x1978ae,_0x3ad9aa,_0xdf8692,_0x54d6c9,_0x53cafc),N(this,_0x331b76(0x1d4),_0x331b76(0xf2)),N(this,'_resendTimeout',0x0),N(this,_0x331b76(0x25e)),N(this,'_sender'),(this[_0x331b76(0x3e0)]=_0x28f17c,this[_0x331b76(0x278)]=_0x28f26c,this[_0x331b76(0x2cd)]=_0x38e4ef,this['localCacheService']=_0x53cafc,_0x252e4c&&(this[_0x331b76(0x25e)]=_0x252e4c,this['_sender']=this['_resendTimer'][_0x331b76(0x1af)](({reqId:_0x2f62a4,timeout:_0x559b47})=>{var _0x1de8c9=_0x331b76;this[_0x1de8c9(0x1d2)](_0x2f62a4,_0x559b47);})));}['appendMutation'](_0x1efade){var _0x2711aa=_0x40530a;return this['_pendingMutations'][_0x2711aa(0x20a)](_0x1efade),this;}[_0x40530a(0x21c)](_0x3904ba){var _0x251be3=_0x40530a;if(this['_checkMissing'](_0x3904ba))return this['_clearScheduledTask'](),this[_0x251be3(0x3e0)][_0x251be3(0xe8)](te,this[_0x251be3(0x2f7)],this['type'],this[_0x251be3(0x2f3)],this['_pendingMutations'],null,[_0x3904ba],this[_0x251be3(0xff)]);try{const _0x29f750=this[_0x251be3(0x2cd)][_0x251be3(0x134)]([_0x3904ba],[this[_0x251be3(0x2f3)]],!0x1);if(_0x1a324a(_0x29f750)){const {c1Prime:_0x10c376,c2Prime:_0x2bafec}=_0x29f750,_0x2e5a30=this[_0x251be3(0x2cd)][_0x251be3(0x225)](_0x10c376[0x0],this[_0x251be3(0x1f8)]);if(_0x5bbbc8(_0x2e5a30)){const {c1Prime:_0xdf81c2,m2Prime:_0x2aac36}=_0x2e5a30;return this[_0x251be3(0x3d0)](_0xdf81c2),_0x2bafec[0x0][_0x251be3(0x27a)]=this[_0x251be3(0x1a8)](),this[_0x251be3(0x3d2)](),this[_0x251be3(0x3e0)][_0x251be3(0xe8)](ae,this[_0x251be3(0x2f7)],this[_0x251be3(0x247)],_0x2bafec[0x0],_0x2aac36,this['_handler'],void 0x0);}throw _0x2e5a30[_0x251be3(0xf4)];}throw _0x29f750[_0x251be3(0xf4)];}catch(_0x4a65fd){return this[_0x251be3(0x278)]['error'](_0x4a65fd),this[_0x251be3(0x37b)](!0x1);}}[_0x40530a(0x343)](_0x5336e1){var _0x1b80b5=_0x40530a;if(this[_0x1b80b5(0x3d2)](),this[_0x1b80b5(0x23d)](_0x5336e1))return this[_0x1b80b5(0x3e0)][_0x1b80b5(0xe8)](te,this['unitID'],this['type'],null,this[_0x1b80b5(0x1f8)],this['_awaitingChangeset'],[],this[_0x1b80b5(0xff)]);this[_0x1b80b5(0x2a9)]();const _0x585d4b=this[_0x1b80b5(0x3e0)][_0x1b80b5(0xe8)](oe,this['unitID'],this[_0x1b80b5(0x247)],this[_0x1b80b5(0x1f8)],this[_0x1b80b5(0xff)]);return _0x585d4b[_0x1b80b5(0x3ba)](),_0x585d4b[_0x1b80b5(0x352)](),_0x585d4b;}[_0x40530a(0x379)](_0x4746e0){var _0x31f42e=_0x40530a;return this['_onConflict'](!!(_0x4746e0!=null&&_0x4746e0[_0x31f42e(0x38b)]));}['onRemoteRetry'](_0x4e3943){var _0x54fe7d=_0x40530a;return this[_0x54fe7d(0x1f9)]>Ni?this[_0x54fe7d(0x254)]():(this[_0x54fe7d(0x25e)]=Oi(this['_resendTimeout'],{'timeout':this[_0x54fe7d(0x1f9)],'reqId':_0x4e3943[_0x54fe7d(0x2ec)]}),this[_0x54fe7d(0x3d6)]=this[_0x54fe7d(0x25e)][_0x54fe7d(0x1af)](({reqId:_0x55d5e8,timeout:_0x1cf2e2})=>{var _0x145767=_0x54fe7d;this[_0x145767(0x1d2)](_0x55d5e8,_0x1cf2e2);}),this);}[_0x40530a(0x254)](){var _0x29a321=_0x40530a;return this[_0x29a321(0x3d2)](),this[_0x29a321(0x3e0)][_0x29a321(0xe8)](fe,this[_0x29a321(0x2f7)],this[_0x29a321(0x247)],this[_0x29a321(0x2f3)],this[_0x29a321(0x1f8)],this[_0x29a321(0xff)]);}[_0x40530a(0x313)](){return this;}[_0x40530a(0x2e3)](){var _0x2a173f=_0x40530a;this['_handler'][_0x2a173f(0xe4)](this['_awaitingChangeset']);}[_0x40530a(0x37b)](_0xfe6b8d){var _0x40d928=_0x40530a;return this[_0x40d928(0x3d2)](),this['_injector'][_0x40d928(0xe8)](de,this[_0x40d928(0x2f7)],this[_0x40d928(0x247)],null,this[_0x40d928(0x1f8)],this[_0x40d928(0xff)],_0xfe6b8d);}[_0x40530a(0x1d2)](_0x450196,_0x13420f){var _0x2da852=_0x40530a,_0x55e2e0;_0x450196===((_0x55e2e0=this[_0x2da852(0x2f3)])==null?void 0x0:_0x55e2e0[_0x2da852(0x2ec)])&&(this['resend'](),this['_resendTimeout']=_0x13420f===0x0?0x3e8:_0x13420f*0x2);}['_clearScheduledTask'](){var _0x13ee0f=_0x40530a,_0x3c6752;(_0x3c6752=this['_sender'])==null||_0x3c6752[_0x13ee0f(0x1de)](),this[_0x13ee0f(0x1f9)]=0x0;}};ae=Re([A(0x6,_0x48db98(_0x19dc6b)),A(0x7,_0x48db98(_0x25256b)),A(0x8,_0xc6fb7a),A(0x9,_0x6e98f),A(0xa,_0x3b018c),A(0xb,_0x84d590),A(0xc,_0x5b33db(J))],ae);let de=class extends be{constructor(_0x55f16f,_0x25e2bc,_0x15d4bf,_0x12eac9,_0x8b1234,_0x8e9b11=!0x1,_0x4b6ed3,_0x1250d1,_0x5ebca6,_0x24bbc1,_0x1fc525,_0x5c3bf,_0x174b7f){var _0x1c21f4=_0x40530a;super(_0x55f16f,_0x25e2bc,_0x15d4bf,_0x12eac9,_0x8b1234,_0x1250d1,_0x5ebca6,_0x24bbc1,_0x174b7f),N(this,_0x1c21f4(0x1d4),'conflict'),(this[_0x1c21f4(0x349)]=_0x8e9b11,this[_0x1c21f4(0x111)]=_0x4b6ed3,this[_0x1c21f4(0x153)]=_0x1fc525,this[_0x1c21f4(0x26c)]=_0x5c3bf,this[_0x1c21f4(0x364)]=_0x174b7f,this['_showConflictNotification'](),this[_0x1c21f4(0x13d)](),this[_0x1c21f4(0x183)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0x40530a(0x379)](){return this;}[_0x40530a(0x122)](){return this;}[_0x40530a(0x254)](){return this;}['toggleOnline'](){return this;}[_0x40530a(0x2e3)](){var _0x1de261=_0x40530a;throw new Error(_0x1de261(0x11d));}[_0x40530a(0x13d)](){var _0x4d686d=_0x40530a,_0x5427d2;(_0x5427d2=this[_0x4d686d(0x2ca)])==null||_0x5427d2[_0x4d686d(0x34f)](this[_0x4d686d(0x2f7)],this[_0x4d686d(0x247)],null,[]);}[_0x40530a(0x322)](){var _0x30c5f4=_0x40530a;this[_0x30c5f4(0x349)]?this[_0x30c5f4(0x26c)][_0x30c5f4(0x2f2)]({'id':se[_0x30c5f4(0x356)]}):this[_0x30c5f4(0x26c)][_0x30c5f4(0x2f2)]({'id':se[_0x30c5f4(0xf9)]});}[_0x40530a(0x183)](){var _0x366c52=_0x40530a;this[_0x366c52(0x111)][_0x366c52(0x2f9)](new _0x57f5ad(this[_0x366c52(0x2f7)])['id'],!0x1);}};de=Re([A(0x6,_0x48db98(_0x2912cc)),A(0x7,_0xc6fb7a),A(0x8,_0x84d590),A(0x9,_0x48db98(_0x25256b)),A(0xa,_0x48db98(_0x5529ab)),A(0xb,_0x48db98(pe)),A(0xc,_0x5b33db(J))],de);let fe=class extends be{constructor(_0x475d63,_0x1716c3,_0xf24e55,_0x133c76,_0x22fadf,_0x7d6a0a,_0x418801,_0x4c8cda,_0x295344,_0x269472){var _0x3a7ea9=_0x40530a;super(_0x475d63,_0x1716c3,_0xf24e55,_0x133c76,_0x22fadf,_0x4c8cda,_0x295344,_0x418801,_0x269472),N(this,_0x3a7ea9(0x1d4),'offline'),this[_0x3a7ea9(0x3e0)]=_0x7d6a0a;}[_0x40530a(0x159)](_0x14a239){var _0x52de60=_0x40530a;return this[_0x52de60(0x1f8)][_0x52de60(0x20a)](_0x14a239),this[_0x52de60(0x352)](),this;}[_0x40530a(0x21c)](_0xf1be02){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x40530a(0x343)](){var _0x569d79=_0x40530a;throw new Error(_0x569d79(0x12c));}['onRemoteRej'](){var _0x142214=_0x40530a;throw new Error(_0x142214(0x2be));}[_0x40530a(0x122)](){return this;}[_0x40530a(0x254)](){return this;}[_0x40530a(0x313)](){var _0x4b2b50=_0x40530a;const {_injector:_0x36d397,_pendingMutations:_0x568106,_awaitingChangeset:_0x4f166a,unitID:_0x32b392,_handler:_0x17bcaa,type:_0x542120}=this,_0x2dec91=Di(_0x36d397,_0x32b392,_0x542120,_0x4f166a,_0x568106,_0x17bcaa);return _0x2dec91 instanceof oe?_0x2dec91[_0x4b2b50(0x3ba)]():(_0x2dec91 instanceof ae||_0x2dec91 instanceof ue)&&_0x2dec91[_0x4b2b50(0x2e3)](),_0x2dec91;}[_0x40530a(0x2e3)](){var _0x66f9cb=_0x40530a;throw new Error(_0x66f9cb(0xfd));}};fe=Re([A(0x5,_0x48db98(_0x19dc6b)),A(0x6,_0x48db98(_0x25256b)),A(0x7,_0xc6fb7a),A(0x8,_0x84d590),A(0x9,_0x5b33db(J))],fe);let te=class extends be{constructor(_0x4c33a9,_0xd4473a,_0x387bef,_0x4d0f52,_0x4dd089,_0x2c1f5,_0x29e41d,_0xab7ff6,_0x225726,_0x5c92b9,_0x2694cc,_0x4cc81e,_0x2b0f5e,_0x583ba0){var _0x2f5391=_0x40530a;super(_0x4c33a9,_0xd4473a,_0x387bef,_0x4d0f52,_0x29e41d,_0x2694cc,_0x4cc81e,_0x225726,_0x583ba0),N(this,_0x2f5391(0x1d4),_0x2f5391(0x1df)),(this[_0x2f5391(0x355)]=_0x4dd089,this[_0x2f5391(0x2c7)]=_0x2c1f5,this[_0x2f5391(0x3e0)]=_0xab7ff6,this[_0x2f5391(0x278)]=_0x5c92b9,this[_0x2f5391(0x2cd)]=_0x2b0f5e,this[_0x2f5391(0x364)]=_0x583ba0);}[_0x40530a(0x20c)](_0x3ce416){var _0x62341d=_0x40530a;try{const _0x13fd9e=[..._0x3ce416,...this[_0x62341d(0x2c7)]],_0x23f826=[this[_0x62341d(0x2f3)]||this[_0x62341d(0x355)]][_0x62341d(0x361)](_0x4d7be3=>!!_0x4d7be3);let _0x4033d5,_0x3d08aa;if(_0x23f826[_0x62341d(0x37d)]){const _0x48069b=this['_transformService'][_0x62341d(0x134)](_0x13fd9e,_0x23f826,!0x1);if(!_0x1a324a(_0x48069b))throw _0x48069b[_0x62341d(0xf4)];_0x4033d5=_0x48069b['c1Prime'],_0x3d08aa=_0x48069b[_0x62341d(0x314)];}else _0x4033d5=_0x13fd9e,_0x3d08aa=[];let _0xeea709=this[_0x62341d(0x1f8)];_0x4033d5[_0x62341d(0xe9)](_0x3cb284=>{var _0x46958a=_0x62341d;let _0x273243;if(_0xeea709[_0x46958a(0x37d)]){const _0x134970=this['_transformService']['transformMutationsWithChangeset'](_0x3cb284,_0xeea709);if(!_0x5bbbc8(_0x134970))throw _0x134970['error'];_0x273243=_0x134970[_0x46958a(0x180)],_0xeea709=_0x134970[_0x46958a(0xf0)];}else _0x273243=_0x3cb284;this[_0x46958a(0x3d0)](_0x273243);}),this[_0x62341d(0x355)]&&this['_incrementRevisionNumber'](),this[_0x62341d(0x2f3)]&&_0x3d08aa[_0x62341d(0x37d)]&&(_0x3d08aa[0x0][_0x62341d(0x27a)]=this[_0x62341d(0x1a8)]());let _0x1d0e36;if(this['_awaitingChangeset']&&_0xeea709['length']!==0x0)_0x1d0e36=this[_0x62341d(0x3e0)][_0x62341d(0xe8)](ae,this[_0x62341d(0x2f7)],this[_0x62341d(0x247)],_0x3d08aa[0x0],_0xeea709,this['_handler'],void 0x0);else{if(this[_0x62341d(0x2f3)]&&_0xeea709[_0x62341d(0x37d)]===0x0)_0x3d08aa[0x0][_0x62341d(0x27a)]=this['_getCurrentRevision'](),_0x1d0e36=this['_injector']['createInstance'](ue,this['unitID'],this[_0x62341d(0x247)],_0x3d08aa[0x0],this['_handler']);else{if(_0xeea709[_0x62341d(0x37d)]!==0x0){const _0x34894c=this[_0x62341d(0x3e0)][_0x62341d(0xe8)](oe,this[_0x62341d(0x2f7)],this[_0x62341d(0x247)],_0xeea709,this[_0x62341d(0xff)]);_0x34894c[_0x62341d(0x3ba)](),_0x1d0e36=_0x34894c;}else _0x1d0e36=this[_0x62341d(0x3e0)]['createInstance'](De,this['unitID'],this[_0x62341d(0x247)],this['_handler']);}}return _0x1d0e36['_updateLocalCache'](),_0x1d0e36;}catch(_0x30e79c){return this[_0x62341d(0x278)][_0x62341d(0xf4)](_0x62341d(0xf6),_0x62341d(0x302),_0x30e79c),this[_0x62341d(0x3e0)][_0x62341d(0xe8)](de,this[_0x62341d(0x2f7)],this[_0x62341d(0x247)],this[_0x62341d(0x2f3)],this[_0x62341d(0x1f8)],this[_0x62341d(0xff)],!0x1);}}[_0x40530a(0x2e3)](){var _0x4c1f95=_0x40530a;throw new Error(_0x4c1f95(0x3d4));}['appendMutation'](_0x26929e){return this['_pendingMutations']['push'](_0x26929e),this;}[_0x40530a(0x21c)](_0x5ef95e){return this['_queuedRemoteChangesets']['push'](_0x5ef95e),this;}[_0x40530a(0x343)](_0x25063f){var _0x1f0487=_0x40530a;if(this[_0x1f0487(0x2f3)])return this['_acknowledgedAwaitingChangeset']=this[_0x1f0487(0x2f3)],this['_awaitingChangeset']=null,this;throw new Error(_0x1f0487(0x363));}[_0x40530a(0x379)](_0x2d662a){var _0x1b1117=_0x40530a;return this['_onConflict'](!!(_0x2d662a!=null&&_0x2d662a[_0x1b1117(0x38b)]));}[_0x40530a(0x122)](){return this;}[_0x40530a(0x254)](){var _0xe2eba6=_0x40530a;return this['_injector'][_0xe2eba6(0xe8)](fe,this[_0xe2eba6(0x2f7)],this[_0xe2eba6(0x247)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0xe2eba6(0xff)]);}[_0x40530a(0x313)](){return this;}['_onConflict'](_0x43021e){var _0x822eb2=_0x40530a;return this['_injector'][_0x822eb2(0xe8)](de,this[_0x822eb2(0x2f7)],this[_0x822eb2(0x247)],this[_0x822eb2(0x2f3)],this['_pendingMutations'],this[_0x822eb2(0xff)],_0x43021e);}};te=Re([A(0x7,_0x48db98(_0x19dc6b)),A(0x8,_0x48db98(_0x25256b)),A(0x9,_0x6e98f),A(0xa,_0xc6fb7a),A(0xb,_0x84d590),A(0xc,_0x3b018c),A(0xd,_0x5b33db(J))],te);function Di(_0x49c1b1,_0x5b7dd9,_0x288855,_0x298bb7,_0x4530b7,_0x5082c3){var _0x45ed2d=_0x40530a;return _0x298bb7&&_0x4530b7[_0x45ed2d(0x37d)]?_0x49c1b1[_0x45ed2d(0xe8)](ae,_0x5b7dd9,_0x288855,_0x298bb7,_0x4530b7,_0x5082c3,void 0x0):_0x298bb7?_0x49c1b1[_0x45ed2d(0xe8)](ue,_0x5b7dd9,_0x288855,_0x298bb7,_0x5082c3):_0x4530b7[_0x45ed2d(0x37d)]?_0x49c1b1[_0x45ed2d(0xe8)](oe,_0x5b7dd9,_0x288855,_0x4530b7,_0x5082c3):_0x49c1b1[_0x45ed2d(0xe8)](De,_0x5b7dd9,_0x288855,_0x5082c3);}var vr=Object['defineProperty'],pr=Object['getOwnPropertyDescriptor'],Lt=(_0x1d98fd,_0xeffa96,_0x5f40c9,_0x15ad5b)=>{for(var _0x55ec40=_0x15ad5b>0x1?void 0x0:_0x15ad5b?pr(_0xeffa96,_0x5f40c9):_0xeffa96,_0x3508f8=_0x1d98fd['length']-0x1,_0x1784c6;_0x3508f8>=0x0;_0x3508f8--)(_0x1784c6=_0x1d98fd[_0x3508f8])&&(_0x55ec40=(_0x15ad5b?_0x1784c6(_0xeffa96,_0x5f40c9,_0x55ec40):_0x1784c6(_0x55ec40))||_0x55ec40);return _0x15ad5b&&_0x55ec40&&vr(_0xeffa96,_0x5f40c9,_0x55ec40),_0x55ec40;},k=(_0x36d359,_0x239572)=>(_0x3da14e,_0x428e78)=>_0x239572(_0x3da14e,_0x428e78,_0x36d359);let nt=class extends _0x18f063{constructor(_0x62cb51,_0x4120fb,_0x350f46,_0x9a297a,_0x2468f2,_0x47a903,_0x40c4fb,_0x4b47c6,_0x116f7c,_0x103cbb,_0x4acf8c,_0x4a4aa3,_0x4e49d4){var _0xd220f2=_0x40530a;super(),N(this,_0xd220f2(0x1d6),new _0x1379a3(null)),N(this,_0xd220f2(0x1c1),this[_0xd220f2(0x1d6)][_0xd220f2(0x303)]()),N(this,_0xd220f2(0x1eb)),N(this,_0xd220f2(0x22e),!0x1),N(this,_0xd220f2(0x279),''),N(this,_0xd220f2(0x353),0x0),N(this,_0xd220f2(0x396),this[_0xd220f2(0x1c1)][_0xd220f2(0x330)](_0x4d0067(_0x1dd7c5=>_0x1dd7c5?_0x1dd7c5[_0xd220f2(0x1d4)]:yi['OFFLINE']),_0x2de545(0x1))),N(this,_0xd220f2(0x3a3),!0x1),N(this,_0xd220f2(0xdf),[]),(this[_0xd220f2(0x2f7)]=_0x62cb51,this[_0xd220f2(0x1d1)]=_0x4120fb,this[_0xd220f2(0x215)]=_0x350f46,this['_injector']=_0x9a297a,this[_0xd220f2(0x357)]=_0x2468f2,this[_0xd220f2(0x153)]=_0x47a903,this['_revisionService']=_0x40c4fb,this[_0xd220f2(0x256)]=_0x4b47c6,this[_0xd220f2(0x278)]=_0x116f7c,this[_0xd220f2(0x3ad)]=_0x103cbb,this[_0xd220f2(0x111)]=_0x4acf8c,this[_0xd220f2(0x191)]=_0x4a4aa3,this[_0xd220f2(0x2ca)]=_0x4e49d4);}get[_0x40530a(0x3db)](){return this['_state'];}async[_0x40530a(0x3a9)](){var _0x8e9384=_0x40530a;if(this[_0x8e9384(0x3db)])throw new Error(_0x8e9384(0x22a));await this[_0x8e9384(0x221)]();}[_0x40530a(0x171)](){var _0x206a5d=_0x40530a;return this[_0x206a5d(0x22e)]=!0x0,_0x205e55(()=>{var _0x4ee645=_0x206a5d;this['_collaborationPaused']=!0x1,this[_0x4ee645(0x1b2)]();});}[_0x40530a(0x258)](_0x1f7d0a){var _0x1b2f30=_0x40530a;this[_0x1b2f30(0x1da)](_0x1f7d0a);}['_updateState'](_0x1856aa){var _0x54244e=_0x40530a;this['_state']=_0x1856aa,this[_0x54244e(0x1d6)][_0x54244e(0x362)](_0x1856aa);}async[_0x40530a(0x221)](){var _0xbba7e0=_0x40530a,_0x2691ce;this['_updateState'](await this[_0xbba7e0(0x19e)]()),this[_0xbba7e0(0x191)]&&((_0x2691ce=this[_0xbba7e0(0x191)])==null||_0x2691ce['editingUnit'](this[_0xbba7e0(0x2f7)]),this[_0xbba7e0(0x3ae)](this['_singleActiveUnitService'][_0xbba7e0(0x3c2)](this[_0xbba7e0(0x2f7)])[_0xbba7e0(0x1af)](_0x47e803=>{var _0x18d17d=_0xbba7e0;this[_0x18d17d(0x278)]['debug'](_0x18d17d(0x1aa),'editing\x20status\x20changed\x20to',_0x47e803),_0x47e803===bi[_0x18d17d(0x15d)]?(this['_eventService']['emitEvent']({'id':se[_0x18d17d(0x288)]}),this[_0x18d17d(0x111)][_0x18d17d(0x2f9)](new _0x57f5ad(this[_0x18d17d(0x2f7)])['id'],!0x1),this[_0x18d17d(0x111)][_0x18d17d(0x1b4)](!0x1)):(this[_0x18d17d(0x111)][_0x18d17d(0x2f9)](new _0x57f5ad(this['unitID'])['id'],!0x0),this[_0x18d17d(0x111)][_0x18d17d(0x1b4)](!0x0));})));let _0x28b947=!0x1;return this[_0xbba7e0(0x3ae)](this['session'][_0xbba7e0(0x143)][_0xbba7e0(0x1af)](_0x3ae9b7=>{var _0x196bda=_0xbba7e0;_0x3ae9b7===Te[_0x196bda(0x340)]?this[_0x196bda(0x1e2)](_0x28b947):_0x3ae9b7===Te['OFFLINE']&&(_0x28b947=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0xbba7e0(0x1d1)][_0xbba7e0(0x3e5)]['subscribe'](_0x3fec54=>{var _0x1e68cf=_0xbba7e0;try{switch(_0x3fec54[_0x1e68cf(0x285)]){case _0x4b8a98['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x286ee3(_0x3fec54[_0x1e68cf(0x311)]));break;}case _0x4b8a98[_0x1e68cf(0x38f)]:{this['_onRemoteACK'](_0x3fec54['data']);break;}case _0x4b8a98[_0x1e68cf(0x1c7)]:{this[_0x1e68cf(0x282)]();break;}case _0x4b8a98[_0x1e68cf(0x2fb)]:{this[_0x1e68cf(0x359)](_0x3fec54[_0x1e68cf(0x311)]);break;}case _0x4b8a98[_0x1e68cf(0x2c2)]:{this[_0x1e68cf(0x32b)](_0x3fec54[_0x1e68cf(0x311)]['changesets']['map'](_0x5aea98=>_0x286ee3(_0x5aea98)));break;}case _0x4b8a98['PERMISSION_REJ']:{this[_0x1e68cf(0x282)]({'isPermissionRej':!0x0});break;}case _0x4b8a98[_0x1e68cf(0x211)]:break;}}catch(_0x335d32){throw console['error']('Error\x20on\x20receiving\x20event',_0x335d32),_0x335d32;}})),this[_0xbba7e0(0x1eb)];}[_0x40530a(0x270)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x2080fe=_0x40530a;if(this['_transitionLocked'])throw new Error(_0x2080fe(0x328));this[_0x2080fe(0x3a3)]=!0x0;}[_0x40530a(0x1da)](_0x479cc0){var _0xb9d96=_0x40530a;this[_0xb9d96(0x2d3)](),this[_0xb9d96(0x10e)](this['_state'][_0xb9d96(0x159)](_0x479cc0)),this[_0xb9d96(0x270)]();}[_0x40530a(0x32f)](_0x1684c4){var _0x28b90b=_0x40530a;if(!(_0x1684c4['revision']<=this[_0x28b90b(0x31b)]['getCurrentRevOfUnit'](this[_0x28b90b(0x2f7)]))){if(this['_collaborationPaused']){this[_0x28b90b(0xdf)][_0x28b90b(0x20a)](_0x1684c4);return;}this[_0x28b90b(0x244)](_0x1684c4);}}[_0x40530a(0x1b2)](){var _0x5c890c=_0x40530a;this['_remoteChangesetQueue'][_0x5c890c(0xe9)](_0x3034dd=>this[_0x5c890c(0x244)](_0x3034dd)),this[_0x5c890c(0xdf)]=[];}[_0x40530a(0x244)](_0x5b31b4){var _0x3c31bf=_0x40530a;const _0x21d8cd=this[_0x3c31bf(0x357)]['interceptor']['fetchThroughInterceptors'](this[_0x3c31bf(0x357)][_0x3c31bf(0xeb)][_0x3c31bf(0x17a)]()[_0x3c31bf(0x382)])(_0x5b31b4['mutations'],null)||_0x5b31b4[_0x3c31bf(0x1b5)],_0x5542c9={..._0x5b31b4,'mutations':_0x21d8cd};this[_0x3c31bf(0x2d3)](),this[_0x3c31bf(0x10e)](this[_0x3c31bf(0x1eb)][_0x3c31bf(0x21c)](_0x5542c9)),this[_0x3c31bf(0x270)]();}[_0x40530a(0x2a8)](_0x5ca25f){var _0x11f744=_0x40530a;this[_0x11f744(0x2d3)](),this[_0x11f744(0x10e)](this[_0x11f744(0x1eb)]['onRemoteAck'](_0x5ca25f)),this['_unlockTransition']();}['_onRemoteRejected'](_0x1f7f41){var _0x6cce58=_0x40530a;this[_0x6cce58(0x2d3)](),this[_0x6cce58(0x10e)](this[_0x6cce58(0x1eb)]['onRemoteRej'](_0x1f7f41)),this[_0x6cce58(0x270)]();}[_0x40530a(0x359)](_0x5e8aab){var _0x102fb3=_0x40530a;this[_0x102fb3(0x2d3)](),this['_updateState'](this[_0x102fb3(0x1eb)][_0x102fb3(0x122)](_0x5e8aab)),this[_0x102fb3(0x270)]();}[_0x40530a(0x32b)](_0x5745f0){var _0x621ce5=_0x40530a;if(!(this[_0x621ce5(0x1eb)]instanceof te))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x556d33=_0x5745f0[_0x621ce5(0x20f)](_0x2b0b35=>{var _0x54c859=_0x621ce5;const _0x5f4049=this['_compressMutationService'][_0x54c859(0xeb)]['fetchThroughInterceptors'](this[_0x54c859(0x357)][_0x54c859(0xeb)][_0x54c859(0x17a)]()['COMPRESS_MUTATION_APPLY'])(_0x2b0b35['mutations'],null)||_0x2b0b35[_0x54c859(0x1b5)];return{..._0x2b0b35,'mutations':_0x5f4049};});this['_lockTransition'](),this[_0x621ce5(0x10e)](this[_0x621ce5(0x1eb)][_0x621ce5(0x20c)](_0x556d33)),this[_0x621ce5(0x270)]();}[_0x40530a(0x2dd)](){var _0x3e308b=_0x40530a;this[_0x3e308b(0x2d3)](),this[_0x3e308b(0x10e)](this[_0x3e308b(0x1eb)][_0x3e308b(0x254)]()),this[_0x3e308b(0x270)]();}['_toggleOnline'](_0x442f70=!0x1){var _0x19c45b=_0x40530a;this[_0x19c45b(0x2d3)](),this[_0x19c45b(0x10e)](this['_state'][_0x19c45b(0x313)]()),this['_unlockTransition']();const _0x3f63f9=this[_0x19c45b(0x1eb)];_0x442f70&&_0x3f63f9 instanceof De&&(this[_0x19c45b(0x2d3)](),this[_0x19c45b(0x10e)](_0x3f63f9[_0x19c45b(0x222)]()),this[_0x19c45b(0x270)]());}async[_0x40530a(0x19e)](){return new Promise(_0x4ad0ed=>{var _0xc7386a=_0x192f;this[_0xc7386a(0x1d1)][_0xc7386a(0x143)]['pipe'](_0x4da358(0x1))[_0xc7386a(0x1af)](async _0x28f002=>{var _0x1c85b5=_0xc7386a;_0x4ad0ed(await this['_createInitialStateImpl'](_0x28f002===Te[_0x1c85b5(0x340)]));});});}[_0x40530a(0x291)](){const _0x479b79=this['unitID'];return{'onStateChange':(_0x5d4f08,_0x1a7989)=>{var _0x4897bc=_0x192f;if(_0x5d4f08!==this[_0x4897bc(0x1eb)])throw new Error(_0x4897bc(0x294)+_0x5d4f08['status']+_0x4897bc(0x252)+_0x1a7989[_0x4897bc(0x1d4)]+'\x0aCurrent:\x20'+this[_0x4897bc(0x1eb)][_0x4897bc(0x1d4)]);this['_updateState'](_0x1a7989);},'onSendChangeset':_0x259e6e=>{var _0x1ad0d6=_0x192f;_0x259e6e[_0x1ad0d6(0x29b)]||(_0x259e6e['sid']=this[_0x1ad0d6(0x279)],_0x259e6e[_0x1ad0d6(0x2ec)]=++this[_0x1ad0d6(0x353)]);const _0x51b0f1={'eventID':_0x4b8a98[_0x1ad0d6(0x3a2)],'data':{'unitID':_0x259e6e[_0x1ad0d6(0x2f7)],'unitType':this[_0x1ad0d6(0x215)],'changeset':_0x259e6e,'memberID':this[_0x1ad0d6(0x1d1)]['getMemberID']()}};this['session'][_0x1ad0d6(0x378)](_0x51b0f1,this[_0x1ad0d6(0x2f7)]);},'onMissingChangesets':({from:_0x5ccafd,to:_0x50a12e})=>{var _0x591d48=_0x192f;this[_0x591d48(0x278)][_0x591d48(0x2d8)](_0x591d48(0x1aa),_0x591d48(0x29f)+_0x5ccafd+_0x591d48(0x2f1)+_0x50a12e);const _0x2685d1={'eventID':_0x4b8a98['FETCH_MISSING'],'data':{'unitID':_0x479b79,'unitType':this['_type'],'from':_0x5ccafd,'to':_0x50a12e}};this[_0x591d48(0x1d1)][_0x591d48(0x378)](_0x2685d1,this[_0x591d48(0x2f7)]);}};}async[_0x40530a(0x304)](_0x2241e2){var _0x21b4a8=_0x40530a,_0x42652c,_0x175fbc,_0x12e460;const _0x42c70b=await((_0x42652c=this['_localCacheService'])==null?void 0x0:_0x42652c[_0x21b4a8(0x2bb)](this[_0x21b4a8(0x2f7)])),_0x3e7cfb=(_0x175fbc=_0x42c70b==null?void 0x0:_0x42c70b[_0x21b4a8(0x1b5)])!=null?_0x175fbc:[],_0x158740=(_0x12e460=_0x42c70b==null?void 0x0:_0x42c70b[_0x21b4a8(0x1d8)])!=null?_0x12e460:null,_0x50fbca=!!(_0x158740!=null&&_0x158740[_0x21b4a8(0x29b)])&&!!(_0x158740!=null&&_0x158740[_0x21b4a8(0x2ec)]);this[_0x21b4a8(0x279)]=_0x50fbca?_0x158740[_0x21b4a8(0x29b)]:sr(),this[_0x21b4a8(0x353)]=_0x50fbca?_0x158740[_0x21b4a8(0x2ec)]:0x0;const _0x594d42=this[_0x21b4a8(0x2f7)];try{this[_0x21b4a8(0x1f6)](_0x158740,_0x3e7cfb);}catch(_0x50fcd1){this[_0x21b4a8(0x278)][_0x21b4a8(0xf4)](_0x50fcd1);}const _0x5475c3=this[_0x21b4a8(0x291)]();if(_0x2241e2){const _0x556c3b=Di(this[_0x21b4a8(0x3e0)],_0x594d42,this[_0x21b4a8(0x215)],_0x158740,_0x3e7cfb,_0x5475c3);return _0x556c3b instanceof oe?_0x556c3b[_0x21b4a8(0x3ba)]():(_0x556c3b instanceof ae||_0x556c3b instanceof ue)&&_0x556c3b[_0x21b4a8(0x2e3)](),_0x556c3b;}return this['_injector'][_0x21b4a8(0xe8)](fe,_0x594d42,this[_0x21b4a8(0x215)],_0x158740,_0x3e7cfb,_0x5475c3);}[_0x40530a(0x1f6)](_0x48fcbf,_0x289648){var _0x44c125=_0x40530a,_0x6701d2,_0x714dce;const _0x4d9dfd=this[_0x44c125(0x357)]['interceptor'][_0x44c125(0x38c)](this[_0x44c125(0x357)][_0x44c125(0xeb)][_0x44c125(0x17a)]()[_0x44c125(0x382)]);(_0x6701d2=_0x4d9dfd((_0x48fcbf==null?void 0x0:_0x48fcbf[_0x44c125(0x1b5)])||[],null))==null||_0x6701d2[_0x44c125(0xe9)](_0x203e83=>this[_0x44c125(0x3ad)][_0x44c125(0x2d5)](_0x203e83['id'],_0x203e83[_0x44c125(0x131)])),(_0x714dce=_0x4d9dfd(_0x289648||[],null))==null||_0x714dce[_0x44c125(0xe9)](_0x1b90f5=>this[_0x44c125(0x3ad)][_0x44c125(0x2d5)](_0x1b90f5['id'],_0x1b90f5['params']));}};nt=Lt([k(0x3,_0x48db98(_0x19dc6b)),k(0x4,_0x48db98(_0x422efc)),k(0x5,_0x48db98(_0x5529ab)),k(0x6,_0x48db98(_0x25256b)),k(0x7,_0x48db98(pe)),k(0x8,_0x6e98f),k(0x9,_0xc6fb7a),k(0xa,_0x2912cc),k(0xb,_0x5b33db(ht)),k(0xc,_0x5b33db(J))],nt);let Tt=class extends nt{constructor(_0x1b741f,_0x2970bc,_0x32bacf,_0x46ada3,_0x34b784,_0x1c1db1,_0x49f003,_0x89438c,_0x26213f,_0x50936b,_0x5b91f0,_0xf58816,_0x9048e5){var _0x28a15a=_0x40530a;super(_0x1b741f,_0x32bacf,_0x2970bc,_0x46ada3,_0x34b784,_0x1c1db1,_0x49f003,_0x89438c,_0x26213f,_0x50936b,_0x5b91f0,_0xf58816,_0x9048e5),N(this,_0x28a15a(0x3b9),null),(this['unitID']=_0x1b741f,this[_0x28a15a(0x247)]=_0x2970bc);}[_0x40530a(0x265)](_0xe0ba70){var _0x399fda=_0x40530a;this[_0x399fda(0x3b9)]=_0xe0ba70;}[_0x40530a(0x19c)](){var _0x28a823=_0x40530a;this[_0x28a823(0x3b9)]=null,super[_0x28a823(0x19c)]();}[_0x40530a(0x291)](){var _0xedba33=_0x40530a;const _0x367d48=super[_0xedba33(0x291)]();return _0x367d48[_0xedba33(0x3d5)]=_0x2ec225=>{var _0x4d6136=_0xedba33,_0x213144,_0x2aeba9;return(_0x2aeba9=(_0x213144=this[_0x4d6136(0x3b9)])==null?void 0x0:_0x213144[_0x4d6136(0x3d5)])==null?void 0x0:_0x2aeba9[_0x4d6136(0x2b8)](_0x213144,_0x2ec225);},_0x367d48[_0xedba33(0x2de)]=_0x3ac2cc=>{var _0xa3852c=_0xedba33,_0x340fc9,_0x4ec9fc;return(_0x4ec9fc=(_0x340fc9=this[_0xa3852c(0x3b9)])==null?void 0x0:_0x340fc9[_0xa3852c(0x2de)])==null?void 0x0:_0x4ec9fc['call'](_0x340fc9,_0x3ac2cc);},_0x367d48[_0xedba33(0x120)]=_0x38f50e=>{var _0x19f027=_0xedba33,_0x34e18b,_0x49f206;return(_0x49f206=(_0x34e18b=this[_0x19f027(0x3b9)])==null?void 0x0:_0x34e18b[_0x19f027(0x120)])==null?void 0x0:_0x49f206[_0x19f027(0x2b8)](_0x34e18b,_0x38f50e);},_0x367d48[_0xedba33(0x1f4)]=_0x48399c=>{var _0x37313d=_0xedba33,_0x22e8a8,_0x4de0bd;return(_0x4de0bd=(_0x22e8a8=this[_0x37313d(0x3b9)])==null?void 0x0:_0x22e8a8[_0x37313d(0x1f4)])==null?void 0x0:_0x4de0bd[_0x37313d(0x2b8)](_0x22e8a8,_0x48399c);},_0x367d48[_0xedba33(0x3da)]=_0x29d1b5=>{var _0x271629=_0xedba33,_0xb2598d,_0x2c7c30,_0x253eb5;if(!((_0xb2598d=this[_0x271629(0x3b9)])!=null&&_0xb2598d['onTransformRemoteChangesetByIMECache']))throw new Error(_0x271629(0x2af));return(_0x253eb5=(_0x2c7c30=this['_handlerCallback'])==null?void 0x0:_0x2c7c30[_0x271629(0x3da)])==null?void 0x0:_0x253eb5['call'](_0x2c7c30,_0x29d1b5);},_0x367d48[_0xedba33(0x315)]=_0x3f8049=>{var _0x376c76=_0xedba33,_0x554b76,_0x2be8b1,_0x543fdc;if(!((_0x554b76=this[_0x376c76(0x3b9)])!=null&&_0x554b76['onTransformRemoteChangesetByStateCache']))throw new Error(_0x376c76(0x1ea));return(_0x543fdc=(_0x2be8b1=this[_0x376c76(0x3b9)])==null?void 0x0:_0x2be8b1[_0x376c76(0x315)])==null?void 0x0:_0x543fdc[_0x376c76(0x2b8)](_0x2be8b1,_0x3f8049);},_0x367d48;}async[_0x40530a(0x221)](){var _0x58a28c=_0x40530a;const _0x3a3ef2=await super['_init']();return this[_0x58a28c(0x3ae)](this[_0x58a28c(0x3ad)][_0x58a28c(0x28d)]((_0x5b5c80,_0xad3e6a)=>{var _0x9ac629=_0x58a28c;if(_0x5b5c80['type']!==_0x29caaf[_0x9ac629(0x388)]||_0xad3e6a!=null&&_0xad3e6a['fromCollab']||_0xad3e6a!=null&&_0xad3e6a['onlyLocal']||_0x5b5c80['id']===_0x3905df['id'])return;const _0x4d26fd=_0x5b5c80[_0x9ac629(0x131)];if((_0x4d26fd==null?void 0x0:_0x4d26fd['unitId'])!==this[_0x9ac629(0x2f7)])return;const _0x3072a6=_0x5b5c80,_0x425ad0=this[_0x9ac629(0x357)][_0x9ac629(0xeb)]['fetchThroughInterceptors'](this[_0x9ac629(0x357)]['interceptor'][_0x9ac629(0x17a)]()[_0x9ac629(0x1b3)])([_0x3072a6],null)||[_0x3072a6];this[_0x9ac629(0x1da)](_0x425ad0[0x0]);})),_0x3a3ef2;}};Tt=Lt([k(0x3,_0x48db98(_0x19dc6b)),k(0x4,_0x48db98(_0x422efc)),k(0x5,_0x48db98(_0x5529ab)),k(0x6,_0x48db98(_0x25256b)),k(0x7,_0x48db98(pe)),k(0x8,_0x6e98f),k(0x9,_0xc6fb7a),k(0xa,_0x2912cc),k(0xb,_0x5b33db(ht)),k(0xc,_0x5b33db(J))],Tt);let Ct=class extends nt{constructor(_0x167b17,_0x3b56fc,_0x1c2b2c,_0x2d8719,_0x208575,_0x5e746a,_0x4c2202,_0x5e712a,_0x3dd3db,_0x283f9b,_0x1baeb3,_0x9e515b,_0x1c07a6,_0x2289a4){var _0x9de94=_0x40530a;super(_0x167b17,_0x1c2b2c,_0x3b56fc,_0x2d8719,_0x208575,_0x5e746a,_0x4c2202,_0x3dd3db,_0x283f9b,_0x1baeb3,_0x9e515b,_0x1c07a6,_0x2289a4),this[_0x9de94(0x2f7)]=_0x167b17,this[_0x9de94(0x247)]=_0x3b56fc,this['_sheetTransformSelectionsService']=_0x5e712a;}['_createHandler'](){var _0x50ba8d=_0x40530a;const _0x53ed31=super[_0x50ba8d(0x291)]();return _0x53ed31['onTransformSelections']=_0x2ce1d6=>this[_0x50ba8d(0x11e)][_0x50ba8d(0x370)](_0x2ce1d6),_0x53ed31;}async[_0x40530a(0x221)](){var _0x38f438=_0x40530a;const _0x16e64b=await super[_0x38f438(0x221)]();return this['disposeWithMe'](this[_0x38f438(0x3ad)][_0x38f438(0x28d)]((_0x4bd504,_0x1b3485)=>{var _0x141ee7=_0x38f438;if(_0x4bd504[_0x141ee7(0x247)]!==_0x29caaf['MUTATION']||_0x1b3485!=null&&_0x1b3485[_0x141ee7(0x241)]||_0x1b3485!=null&&_0x1b3485[_0x141ee7(0x35d)])return;const _0x2d77b0=_0x4bd504['params'];if((_0x2d77b0==null?void 0x0:_0x2d77b0[_0x141ee7(0x307)])!==this[_0x141ee7(0x2f7)])return;const _0x3b88c4=_0x4bd504,_0x897c02=this[_0x141ee7(0x357)]['interceptor'][_0x141ee7(0x38c)](this[_0x141ee7(0x357)][_0x141ee7(0xeb)]['getInterceptPoints']()[_0x141ee7(0x1b3)])([_0x3b88c4],null)||[_0x3b88c4];this[_0x141ee7(0x1da)](_0x897c02[0x0]);})),_0x16e64b;}};Ct=Lt([k(0x3,_0x48db98(_0x19dc6b)),k(0x4,_0x48db98(_0x422efc)),k(0x5,_0x48db98(_0x5529ab)),k(0x6,_0x48db98(_0x25256b)),k(0x7,_0x48db98(it)),k(0x8,_0x48db98(pe)),k(0x9,_0x6e98f),k(0xa,_0xc6fb7a),k(0xb,_0x2912cc),k(0xc,_0x5b33db(ht)),k(0xd,_0x5b33db(J))],Ct);var mr=Object[_0x40530a(0x27d)],gr=Object[_0x40530a(0x338)],Sr=(_0x2f6c53,_0x1a4ffd,_0x2e40b1,_0x14a36e)=>{for(var _0x1dfb63=_0x14a36e>0x1?void 0x0:_0x14a36e?gr(_0x1a4ffd,_0x2e40b1):_0x1a4ffd,_0x284119=_0x2f6c53['length']-0x1,_0x5a559a;_0x284119>=0x0;_0x284119--)(_0x5a559a=_0x2f6c53[_0x284119])&&(_0x1dfb63=(_0x14a36e?_0x5a559a(_0x1a4ffd,_0x2e40b1,_0x1dfb63):_0x5a559a(_0x1dfb63))||_0x1dfb63);return _0x14a36e&&_0x1dfb63&&mr(_0x1a4ffd,_0x2e40b1,_0x1dfb63),_0x1dfb63;},ft=(_0x4e5548,_0x5b2af4)=>(_0x4ed26e,_0x51d18f)=>_0x5b2af4(_0x4ed26e,_0x51d18f,_0x4e5548);let rt=class extends _0x18f063{constructor(_0x88beda,_0x4f4f17,_0x5c6cbc){var _0x53e811=_0x40530a;super(),N(this,_0x53e811(0x207),new Map()),N(this,_0x53e811(0x28f),new _0x3da80f()),N(this,'entityInit$',this[_0x53e811(0x28f)][_0x53e811(0x303)]()),(this[_0x53e811(0x3e0)]=_0x88beda,this[_0x53e811(0x2b5)]=_0x4f4f17,this[_0x53e811(0x305)]=_0x5c6cbc,this[_0x53e811(0x221)]());}[_0x40530a(0x19c)](){var _0x4e57e2=_0x40530a;super[_0x4e57e2(0x19c)](),this[_0x4e57e2(0x207)][_0x4e57e2(0xe9)](_0x2ec942=>_0x2ec942[_0x4e57e2(0x19c)]()),this[_0x4e57e2(0x207)][_0x4e57e2(0x386)]();}[_0x40530a(0x101)](_0x1ddbac){var _0x2c9a0=_0x40530a,_0x41ab59;return(_0x41ab59=this['_entities'][_0x2c9a0(0x27f)](_0x1ddbac))!=null?_0x41ab59:null;}[_0x40530a(0x243)](_0x2d44ea){var _0x225dad=_0x40530a;const _0x7f2141=this[_0x225dad(0x101)](_0x2d44ea);return _0x7f2141?_0xdc5b87(_0x7f2141):this[_0x225dad(0x28f)]['pipe'](_0x55f065(_0x187045=>_0x187045[_0x225dad(0x2f7)]===_0x2d44ea));}[_0x40530a(0x309)](_0x28db58){var _0x36d799=_0x40530a;return _0x48c009(this[_0x36d799(0x243)](_0x28db58)[_0x36d799(0x330)](_0x130e36(()=>{})));}[_0x40530a(0x221)](){var _0x267b64=_0x40530a;this[_0x267b64(0x305)][_0x267b64(0x250)](_0x4d2a26[_0x267b64(0x39e)])[_0x267b64(0x330)](_0xb4b3a(this[_0x267b64(0x1ce)]),_0x284d72(0x10))[_0x267b64(0x1af)](async _0x127e9c=>{var _0x2b92fe=_0x267b64;const _0x3be7b8=_0x127e9c[_0x2b92fe(0x13f)](),_0x54f844=await this['_startCollaboration'](_0x3be7b8,Q[_0x2b92fe(0x39e)]);this['_entities'][_0x2b92fe(0x2da)](_0x3be7b8,_0x54f844);}),this[_0x267b64(0x305)][_0x267b64(0x250)](_0x4d2a26['UNIVER_DOC'])['pipe'](_0xb4b3a(this[_0x267b64(0x1ce)]),_0x284d72(0x10))[_0x267b64(0x330)](_0x55f065(_0x5723c0=>!_0x5723c0[_0x267b64(0x13f)]()[_0x267b64(0x2c8)]('__')))[_0x267b64(0x1af)](async _0x3660cf=>{var _0x30dca5=_0x267b64;const _0x3a0cee=_0x3660cf[_0x30dca5(0x13f)](),_0x335107=await this[_0x30dca5(0x10d)](_0x3a0cee,Q['UNIVER_DOC']);this['_entities'][_0x30dca5(0x2da)](_0x3a0cee,_0x335107);}),_0x583ffc(this[_0x267b64(0x305)][_0x267b64(0x10b)](_0x4d2a26[_0x267b64(0x39e)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4d2a26['UNIVER_DOC']))[_0x267b64(0x330)](_0xb4b3a(this[_0x267b64(0x1ce)]))[_0x267b64(0x1af)](_0x53964a=>{var _0x49a4b2=_0x267b64;const _0x1401ff=_0x53964a['getUnitId'](),_0x8dc5b1=this['_entities'][_0x49a4b2(0x27f)](_0x1401ff);_0x8dc5b1&&(_0x8dc5b1['dispose'](),this['_entities']['delete'](_0x1401ff));});}async['_startCollaboration'](_0xdca216,_0x4739c9){var _0x2f97e2=_0x40530a;const _0x1eebc9=await this['_collabSessionService']['requireSession'](_0xdca216),_0x289f12=this[_0x2f97e2(0x3e0)][_0x2f97e2(0xe8)](this['_getCtorByUniverType'](_0x4739c9),_0xdca216,_0x4739c9,_0x1eebc9);return await _0x289f12['init'](),this[_0x2f97e2(0x28f)][_0x2f97e2(0x362)](_0x289f12),_0x289f12;}[_0x40530a(0x275)](_0x25bd75){var _0x56ba83=_0x40530a;switch(_0x25bd75){case Q['UNIVER_DOC']:return Tt;case Q[_0x56ba83(0x39e)]:return Ct;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x25bd75);}}};function _0x5db0(){var _0x32caa0=['_collaborationUIEventService','target','BufferedBlockAlgorithm','objectType','_unlockTransition','initWorkbookPermissionChange','_createHmacHelper','listRoles','parse','_getCtorByUniverType','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_logService','_changesetSessionId','baseRev','loadDoc','randomBytes','defineProperty','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','get','APPLY_REJECT','&assign=','_onRemoteRejected','indexOf','UNIVER_DOC','eventID','getCurrentUser','_members','OTHER_CLIENT_EDITING','_getUploadFileURL','LEAVE','_http','unitId\x20is\x20not\x20found','onCommandExecuted','joinEvent','_entityInit$','patch','_createHandler','CONNECTOR_DATA_TOO_LARGE','_undoRedoService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','[SyncedState]:\x20received\x20rejection.','override','waitForRoom$','_instanceService','json','_socketService','sid','save\x20fail\x20reason\x20is\x20','_initDependencies','APPLY_NON_SEQUENTIAL_REVISION','fetching\x20missing\x20changesets\x20from\x20','add','resourceIDs','_append','_transformStack','image/jpg','34629aleSyz','telemetry\x20info\x20is\x20not\x20initialized','_roomMembers','_onRemoteACK','_incrementRevisionNumber','929160sZkbmI','hostname','/universer-api/authz','copyFileMeta','_reverseMap','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','UnitEmbedded','UNKNOWN_CODE','_xformMode','_clearUndo','reset','_collabSessionService','getRandomValues','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','call','_transformUndoredo','_sendingTimer','loadOfflineData','saveChangeset','_onOffline','[OfflineState]:\x20received\x20rejection.','submit\x20changeset\x20error!','not_collab','_socket','PSEUDO_FETCH_MISSING_RESULT','blockSize','_collaborationSessionService','extend','random','_queuedRemoteChangesets','startsWith','createSocket','_localCacheService','setWaitCount','url','_transformService','MD5','complete','YUUMI_URL_COL_OUT_OF_RANGE','revision','_iv','_lockTransition','confirm','executeCommand','_retryCount','SYNCED','debug','liveShareOperation','set','CLOSE_ROOM','_registerDependencies','_toggleOffline','onTransformState','putCollaborators','SHOULD_CLOSE_CONN','/universer-api/file/{fileID}/sign-url','saveSnapshot','resend','roles','algo','_substituteUndoStack','loadSheet','_roomCreated$','has','origin','Hasher','reqId','_initMergeInterceptor','_iKey','apply','onMissingChangesets','\x20to\x20','emitEvent','_awaitingChangeset','format','LIVESHARE_OPERATION','ENSURE_SNAPSHOT_EXECUTION','unitID','sigBytes','updatePermissionPoint','_tryReconnect','CHANGESET_SHOULD_RETRY','_clearRedo','_sendHeartbeat','HELLO','SNAPSHOT_INVALID_SNAPSHOT','name','src','failed\x20to\x20apply\x20missed\x20changesets!','asObservable','_createInitialStateImpl','_univerInstanceService','wsSessionTicketUrl','unitId','_transformSelections','readyForCollab','randomUUID','JOIN_ROOM_PERMISSION_DENIED','bind','from','JOIN_ROOM_FULL','session.join-failed','getActiveSheet','data','_hasher','toggleOnline','c2Prime','onTransformRemoteChangesetByStateCache','_socketMessageSubscription','_keySchedule','/new_changes','Univer','AWAITING','_revisionService','_change$','sin','getUnitType','getSheetId','_mode','headers','_showConflictNotification','SOCKET_FAILED','startTime','AUTHZ_URL_KEY','/universer-api/oidc/authpage','SOCKET_FAILED_RETRY','[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.','/unit/','_timeoutTimer','_onFetchMissResult','_stopTelemetryCollaborationNewChangeset','unitInfo$','[CollaborationSessionService]:\x20socket\x20error','_onRemoteChangeset','pipe','_candidateSocket','symbol','uniscriptRunEvent','_createSocketURL','_members$','finalize','buffer','getOwnPropertyDescriptor','action','_scheduleCompleteTimestamp','_status$','AES','members$','readInt32LE','setCurrentUser','ONLINE','socket\x20open.','updateCursorEvent','onRemoteAck','SerializableCipher','univer-pro.collaboration-client-socket-service','cfg','generateRandomId','online$','_isPermissionRej','getImage','join','Utf8','unpad','findIndex','updateOfflineData','createDecryptor','COMPLETION_FINISHED','_updateLocalCache','_changesetReqId','_submitChangeset','_acknowledgedAwaitingChangeset','PERMISSION_DENIED','_compressMutationService','_throwTelemetryCollaborationNewChangeset','_onRemoteRetry','pending','getResourcesRequest','removeMember','onlyLocal','JOINING','csRejEvent','_invKeySchedule','filter','next','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','localCacheService','socketService','[CollaborationSessionService]','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','decrypt','ERROR_IMAGE','href','put','toLowerCase','_emitMembers','connection\x20error','HttpExport','transformSelections','_waitCount','stringify','Decryptor','EvpKDF','FETCH_MISS','close$','catch','send','onRemoteRej','collaMsg','_onConflict','_authzIoService','length','/universer-api/user/session-ticket','body','infoRsp','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','COMPRESS_MUTATION_APPLY','getDeserializedSheetBlock','prototype','now','clear','LIVESHARE_FETCH_OPERATIONS','MUTATION','_transformStateCache','isArray','isPermissionRej','fetchThroughInterceptors','SUCCUSS','_parse','CHANGESET_ACK','charCodeAt','PERSON','_decreaseWaiting','runId','open$','list','status$','PasswordBasedCipher','RECV','LICENSE_EXPORT_SIZE_EXCEEDED','signUrlServerUrl','compute','enableSingleActiveInstanceLock','6590RwtoGi','UNIVER_SHEET','rev','memberID','search','SUBMIT_CHANGESET','_transitionLocked','actions','joinRsp','processBlock','size','3JsmPqF','init','People','UNIVER_UNKNOWN','execute','_commandService','disposeWithMe','getValue','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','salt','mixIn','BlockCipherMode','clamp','_unitInfo$','BASE64','objects','hasher','_handlerCallback','_schedule','error$','2799PPmfOC','collabWebSocketUrl','YUUMI_SUBSCRIPTION_NOT_FOUND','post','duration','byteOffset','getUnitStatus$','byteLength','encodeURIComponent','encryptBlock','saveImage','UNDEFINED','_hash','words','disableLocalCache','FAIL','textRanges','collaboratorID','downloadEndpointUrl','UUID','_executeRemoteChangeset','PY_RUNTIME_SCRIPT_ERROR','_clearScheduledTask','_fetchMissChangesets','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformIME','_sender','CHANGESET_REVISION_CONFILICT','UNRECOGNIZED','OPTIONAL','onTransformRemoteChangesetByIMECache','state','__creator','encode','_sessions','OFFLINE','_injector','APPLY_DUPLICATED','\x20-\x20','APPLY_PERMISSION_DENIED','auth.needGotoLoginAlert','event$','getWorkbookSelections','_data','requireSession','_remoteChangesetQueue','_initUnitPermissionChange','UPDATE_CURSOR','kdf','_doFinalize','onSendChangeset','_startTelemetryCollaborationNewChangeset','commentUpdate$','_clearCollaborationTimeoutTimer','createInstance','forEach','/-/object/-/batch_allowed','interceptor','/block/','_scheduleCollaborationTimeoutTimer','_replaceFileID','HEARTBEAT_INTERVAL','m2Prime','LICENSE_MAX_UNITS_EXCEEDED','awaiting_with_pending','ceil','error','[PendingState]:\x20received\x20rejection.','[FetchMissState]','_getRedoStack','_configService','CONFLICT','authzUrl','find','LOCAL_CACHE_INTERVAL','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','exports','_handler','SNAPSHOT_HAS_BEEN_REMOVED','getCollabEntity','entries','SHA1','_config','5464SFsexD','synced','compose','__Key__','ticket','UNIVER_PROJECT','getTypeOfUnitDisposed$','charAt','_startCollaboration','_updateState','keySize','_socket$','_permissionService','socket\x20close','GLOBAL_ROOMS_CNT_EXCEEDS','getTime','reconnect','_rescheduleHeartbeat','_retryConnectingTimer','HttpImport','_onJoinRoomEvent','allowed','SNAPSHOT_URL_KEY','retryConnectingInterval','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_sheetTransformSelectionsService','transformStack\x20failed!','onTransformSelections','UNAUTHENTICATED','onRemoteRetry','Pkcs7','values','UNIVER_COLLABORATION_CLIENT_PLUGIN','117673tdQUfo','refreshPermission','_commentUpdate$','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','reject','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','[OfflineState]:\x20received\x20acknowledgement.','Encryptor','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','LIVESHARE_TERMINATE','ciphertext','params','_onUserJoin','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','transformChangesets','_getAPIPrefix','_initCloseConn','deepClone','NoPadding','focused$','OpenSSL','getFocusedUnit','getSheetBlock','_clearLocalCache','objectID','getUnitId','reverse','registerHTTPInterceptor','_redoStacks','sessionStatus$','_syncEditingCollabCursor','getLatestCsReqIdBySid','IDLE','_createSocket','_waitForHeartbeatResponse','12MfpPVQ','/-/object/list','requestParams','FETCH_MISSING','selections','range','_initRequestHeader','collaboration-client.local-cache-service','loadUnit','_sessionStatus$','_localeService','_minBufferSize','_process','?size=','LIVESHARE_REQUEST_HOST','/universer-api/snapshot/','appendMutation','key','Base64','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','OTHER_CLIENTS_EDITING','USERS_LEAVE','cmd','_getLoginPath','SUBMIT_CHANGESET_TIMEOUT','listCollaborators','_onUserLeave','sessionTicket','HMAC','crypto','_createHelper','transformUndoRedo','every','string','batchAllowed','clone','Undefined','splice','YUUMI_UNABLE_LOAD_URL','_collaborationTimeoutTimer','pauseCollaboration','/allowed','PERMISSION_REJ','_HTTPService','unknown','/role','_listenToNetworkCondition','_keyPriorReset','/universer-api/comb','getInterceptPoints','JOIN','LICENSE_IMPORT_SIZE_EXCEEDED','closeSession','__esModule','_onConnectionOpen','c1Prime','_clearTimeoutTimer','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_disableEditing','collaborators','stopTime','slice','concat','_doReset','session.room-cnt-exceeds','SEND_CHANGESET_TIMEOUT','lib','hasOwnProperty','_getSendChangesetTimeout','equals','changesets','YUUMI_RATE_OVER_LIMIT','_singleActiveUnitService','msCrypto','USERS_ENTER','_event$','INTERNAL_ERROR','_doCryptBlock','6xwGMox','resolve','_userManagerService','leaveEvent','_oKey','dispose','_getAPIPrefixPath','_createInitialState','_getUndoStack','getCurrentSelections','sheets','_memberService','_getDownloadEndpointURL','$super','uploadFileServerUrl','loginUrlKey','collaboration-client.config','_getCurrentRevision','createEncryptor','[CollaborationEntity]','StreamCipher','_telemetryInfo','WordArray','UPDATE_PERMISSION_OBJ','subscribe','enc','_onCombEvent','_exhaustRemoteChangesetQueue','COMPRESS_MUTATION_SEND','setShowComponents','mutations','POST','abs','/object/','JOIN_ROOM_NOT_EXISTS','_removeRoom','[PendingState]:\x20received\x20acknowledgement.','encrypt','_key','workbook','_nDataBytes','MSG_FOR_ERROR','state$','&source=','_transformIMECache','_shouldReportTelemetry','formatter','_onConnectionFailed','CHANGESET_REJ','image/gif','location','_getSessionTicket','_networkConditionService','_transformRemoteChangesetByIMECache','floor','dispose$','collaboration_new_changeset','NOT_FOUND','session','_resendWithTimeout','Could\x20not\x20dynamically\x20require\x20\x22','status','getMember','_state$','message$','awaitingChangeset','onload','_onLocalMutation','_snapshotService','file','HmacSHA1','unsubscribe','fetch_missing','_tryEnsureSocket','permissionRejEvent','_toggleOnline','366aNeQEg','incrementRevOfUnit','Cipher','/collaborator','getCurrentRevOfUnit','[CollaborationState]:\x20apply\x20error!','session.room-not-exists','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_state','function','csAckEvent','UnitSnapshot','ws://127.0.0.1:8000/universer-api/comb/connect','HEARTBEAT','title','searchParams','toString','onSyncEditingCollabCursor','_cipher','_replayCachedMutations','_onMessage','_pendingMutations','_resendTimeout','decryptBlock','code','_sendHeartbeatTimer','_nRounds','repeat','close','LIVESHARE_NEW_HOST','then','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','liveShareNewHost','mode','routeKey','JOIN_ROOM_FAILED','_entities','getRoom','_ENC_XFORM_MODE','push','_map','onMissedChangesetFetched','originalMeta','_telemetryService','map','APPLY_REVISION_CONFILICT','UNISCRIPT_RUN','withCredentials','BlockCipher','updateMember','_type','&to=','getSnapshotAPIPath','Base','image/png','Latin1','\x20in\x20_schedule.','onRemoteChangeset','_unitID','session.room-full','getConfig','updateCollaborator','_init','fetchMiss','awaiting','/universer-api/snapshot','transformMutationsWithChangeset','1683ePHscl','result','[PendingState]:\x20unhandled\x20univer\x20type:\x20','application/json','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','CipherParams','{fileID}','_updateStatus','_collaborationPaused','[CollaborationSession]','socket$','ERROR_EXCEED_SIZE','sessionStatus','fetchMissingChangesets','delete','iterations','avatar','conflict','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','UNIVER_SLIDE','default','PENDING','_prevBlock','_checkMissing','update','SNAPSHOT_SERVER_URL_KEY','pad','fromCollab','padding','getCollabEntity$','_applyRemoteChangeset','_commentService','fromCharCode','type','INGEST','onStarting','COMMENT_UPDATE','onCommentUpdate','[CollaborationUndoRedoService]','_httpService','DEFAULT_FILE_NAME','CBC','getTypeOfUnitAdded$','/universer-api/stream/file/upload','\x0aAfter:\x20','INVALID_ARGUMENT','toggleOffline','_snapshotServerService','_eventService','_loadSheet','onLocalMutation','5802199qSXUDC','subject','newCsEvent','1042604QelvqM','/fetchmissing?from=','_resendTimer','reduce','readAsDataURL','_socketReady','session.room-permission-denied','?url=','create','addHandlerCallback','ivSize','FileId','[DataLoaderService]','members','_imageSourceCache','localeService'];_0x5db0=function(){return _0x32caa0;};return _0x5db0();}rt=Sr([ft(0x0,_0x48db98(_0x19dc6b)),ft(0x1,_0x48db98(Le)),ft(0x2,_0x5609db)],rt);var Er=Object[_0x40530a(0x27d)],Ir=Object['getOwnPropertyDescriptor'],Tr=(_0x2666ce,_0x269ef6,_0x864485,_0x4f03b1)=>{var _0x230e30=_0x40530a;for(var _0x37d8c4=_0x4f03b1>0x1?void 0x0:_0x4f03b1?Ir(_0x269ef6,_0x864485):_0x269ef6,_0x4923d0=_0x2666ce[_0x230e30(0x37d)]-0x1,_0xa5a5d3;_0x4923d0>=0x0;_0x4923d0--)(_0xa5a5d3=_0x2666ce[_0x4923d0])&&(_0x37d8c4=(_0x4f03b1?_0xa5a5d3(_0x269ef6,_0x864485,_0x37d8c4):_0xa5a5d3(_0x37d8c4))||_0x37d8c4);return _0x4f03b1&&_0x37d8c4&&Er(_0x269ef6,_0x864485,_0x37d8c4),_0x37d8c4;},Jt=(_0x403096,_0x1b5289)=>(_0x43e3c1,_0x35c369)=>_0x1b5289(_0x43e3c1,_0x35c369,_0x403096);const Cr=_0x40530a(0x24e),Rr=_0x40530a(0x319);let Rt=class extends _0x551e1f{constructor(_0x304c88,_0x2e4db7){var _0x1bad33=_0x40530a;super(),this[_0x1bad33(0x305)]=_0x304c88,this[_0x1bad33(0xf8)]=_0x2e4db7,this[_0x1bad33(0x221)]();}['_init'](){var _0x4fd427=_0x40530a;this['disposeWithMe'](this[_0x4fd427(0x305)][_0x4fd427(0x139)][_0x4fd427(0x1af)](()=>{var _0xc8b390=_0x4fd427,_0x14df2a;const _0x78cec4=this[_0xc8b390(0x305)][_0xc8b390(0x13b)]();let _0x424a82=(_0x14df2a=this['_configService'][_0xc8b390(0x21f)](Cr))!=null?_0x14df2a:Rr;_0x78cec4 instanceof _0xcd7ee5&&(_0x424a82=_0x78cec4[_0xc8b390(0x300)]),document[_0xc8b390(0x1f1)]=_0x424a82;}));}};Rt=Tr([Jt(0x0,_0x5609db),Jt(0x1,_0x5b62c8)],Rt);var br=Object[_0x40530a(0x27d)],Or=Object['getOwnPropertyDescriptor'],yr=(_0x10b8b9,_0x825aa7,_0x5c993f,_0x4ee948)=>{var _0x20e09d=_0x40530a;for(var _0x9217a6=_0x4ee948>0x1?void 0x0:_0x4ee948?Or(_0x825aa7,_0x5c993f):_0x825aa7,_0x5d2f37=_0x10b8b9[_0x20e09d(0x37d)]-0x1,_0x4f27d3;_0x5d2f37>=0x0;_0x5d2f37--)(_0x4f27d3=_0x10b8b9[_0x5d2f37])&&(_0x9217a6=(_0x4ee948?_0x4f27d3(_0x825aa7,_0x5c993f,_0x9217a6):_0x4f27d3(_0x9217a6))||_0x9217a6);return _0x4ee948&&_0x9217a6&&br(_0x825aa7,_0x5c993f,_0x9217a6),_0x9217a6;},vt=(_0x58d095,_0x4271df)=>(_0x506815,_0xf8a3c7)=>_0x4271df(_0x506815,_0xf8a3c7,_0x58d095);let st=class{constructor(_0x590651,_0x51b307,_0x5e5bec){var _0x4bd619=_0x40530a;this['_configService']=_0x590651,this[_0x4bd619(0x24d)]=_0x51b307,this[_0x4bd619(0x26b)]=_0x5e5bec,this[_0x4bd619(0x3a9)]();}[_0x40530a(0x3a9)](){var _0x257271=_0x40530a;this[_0x257271(0x24d)][_0x257271(0x141)]({'priority':0x1,'interceptor':(_0x1716a8,_0x4d6c35)=>_0x4d6c35(_0x1716a8)[_0x257271(0x330)](_0x61214b(async _0x4f098d=>{var _0x4769c3=_0x257271;const _0x715087=_0x4f098d;if(_0x715087[_0x4769c3(0x1d4)]===0x191){if(typeof window>'u')throw new Error(_0x4769c3(0x367));if(window[_0x4769c3(0x2d4)](this['localeService']['t'](_0x4769c3(0x3e4)))){const _0x3ed3a2=window[_0x4769c3(0x3c4)](window[_0x4769c3(0x1c9)][_0x4769c3(0x36a)]);window[_0x4769c3(0x1c9)]['href']=this[_0x4769c3(0x160)]()+_0x4769c3(0x263)+_0x3ed3a2;}}return _0x715087;}))});}[_0x40530a(0x160)](){var _0x1263ce=_0x40530a,_0x260efc,_0x55ee62;const _0x2591ea=this[_0x1263ce(0xf8)]['getConfig'](xn),_0x3d6173=this[_0x1263ce(0xf8)][_0x1263ce(0x21f)](q);return(_0x55ee62=(_0x260efc=_0x3d6173==null?void 0x0:_0x3d6173[_0x1263ce(0x1a6)])!=null?_0x260efc:_0x2591ea)!=null?_0x55ee62:Ln;}};st=yr([vt(0x0,_0x5b62c8),vt(0x1,_0x48db98(_0x3ce2dc)),vt(0x2,_0x48db98(_0x5529ab))],st);var Nr=Object['defineProperty'],Dr=Object['getOwnPropertyDescriptor'],Pr=(_0x1d47ec,_0x235b51,_0x3436f8,_0x412f2d)=>{var _0x1a93a6=_0x40530a;for(var _0x1fdacd=_0x412f2d>0x1?void 0x0:_0x412f2d?Dr(_0x235b51,_0x3436f8):_0x235b51,_0x21a67f=_0x1d47ec[_0x1a93a6(0x37d)]-0x1,_0x4c4d7e;_0x21a67f>=0x0;_0x21a67f--)(_0x4c4d7e=_0x1d47ec[_0x21a67f])&&(_0x1fdacd=(_0x412f2d?_0x4c4d7e(_0x235b51,_0x3436f8,_0x1fdacd):_0x4c4d7e(_0x1fdacd))||_0x1fdacd);return _0x412f2d&&_0x1fdacd&&Nr(_0x235b51,_0x3436f8,_0x1fdacd),_0x1fdacd;},Xt=(_0x14e352,_0x38d446)=>(_0xe54e76,_0x5cb5a9)=>_0x38d446(_0xe54e76,_0x5cb5a9,_0x14e352);const Pi=_0x40530a(0x325),wr=_0x40530a(0x2ac);let bt=class extends _0x551e1f{constructor(_0x234118,_0xbd81d2){var _0x4dfefd=_0x40530a;super(),this['_HTTPService']=_0x234118,this[_0x4dfefd(0xf8)]=_0xbd81d2,this[_0x4dfefd(0x2ed)]();}['_initMergeInterceptor'](){var _0x11fb39=_0x40530a;const _0x4e0e71=this;this[_0x11fb39(0x3ae)](this[_0x11fb39(0x174)][_0x11fb39(0x141)]({'priority':0x3e7,'interceptor':_0x14191a({'isMatch'(_0x133313){var _0x59f095=_0x11fb39,_0x591cff;if(_0x133313['method']==='POST'&&((_0x591cff=_0x133313[_0x59f095(0x14b)])!=null&&_0x591cff[_0x59f095(0x37f)])){const {objectID:_0x2f21b5,objectType:_0x2cf084}=_0x133313['requestParams'][_0x59f095(0x37f)]||{};if(!_0x2f21b5||_0x2cf084===void 0x0)return!0x1;const _0x20fda6=_0x4e0e71[_0x59f095(0x19d)]()+'/'+_0x2cf084+'/object/'+_0x2f21b5+_0x59f095(0x172);if(_0x133313[_0x59f095(0x2cc)]===_0x20fda6)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3ee499){var _0x3782c7=_0x11fb39,_0x4c1711;return(_0x4c1711=_0x3ee499[_0x3782c7(0x14b)])==null?void 0x0:_0x4c1711[_0x3782c7(0x37f)];},'mergeParamsToRequest'(_0x387cde,_0x470e13){var _0x20a3d0=_0x11fb39;const _0x3001c3=_0x4e0e71[_0x20a3d0(0x19d)]()+_0x20a3d0(0xea),_0x2284df=_0x387cde[_0x20a3d0(0x25f)]((_0x2fa100,_0x5e4a56)=>{var _0x1e7eb2=_0x20a3d0;const {unitID:_0x3c2cd1,objectID:_0x4dc39b,objectType:_0xc6d56f,actions:_0x313c1f}=_0x5e4a56;return _0x2fa100[_0x3c2cd1]||(_0x2fa100[_0x3c2cd1]={}),_0x2fa100[_0x3c2cd1][_0x4dc39b]||(_0x2fa100[_0x3c2cd1][_0x4dc39b]={'objectID':_0x4dc39b,'objectType':_0xc6d56f,'actions':[]}),_0x2fa100[_0x3c2cd1][_0x4dc39b][_0x1e7eb2(0x3a4)][_0x1e7eb2(0x20a)](..._0x313c1f),_0x2fa100;},{}),_0x1c29a7=[];for(const _0x803b3f in _0x2284df)for(const _0x1d311c in _0x2284df[_0x803b3f]){const {actions:_0x7fa0a7,objectType:_0x42cdc5}=_0x2284df[_0x803b3f][_0x1d311c],_0x2f6c49=[...new Set(_0x7fa0a7)];_0x1c29a7[_0x20a3d0(0x20a)]({'unitID':_0x803b3f,'objectID':_0x1d311c,'objectType':_0x42cdc5,'actions':_0x2f6c49});}return new _0x47a0f4(_0x20a3d0(0x1b6),_0x3001c3,{'headers':_0x470e13[_0x20a3d0(0x321)],'withCredentials':_0x470e13[_0x20a3d0(0x212)],'responseType':_0x470e13['responseType'],'body':{'requests':_0x1c29a7}});}},{'distributeResult'(_0x58cdbf,_0x4f374e){var _0x5459fb=_0x11fb39;const {objectActions:_0xd3bf14}=_0x58cdbf;return _0x4f374e[_0x5459fb(0x20f)](_0x43922f=>{var _0x2c469c=_0x5459fb;const {unitID:_0x29f02d,objectID:_0x1da4be,actions:_0x46f8d7}=_0x43922f,_0x352f93=_0xd3bf14[_0x2c469c(0xfb)](_0xe2ee83=>_0xe2ee83[_0x2c469c(0x2f7)]===_0x29f02d&&_0xe2ee83[_0x2c469c(0x13e)]===_0x1da4be),_0x13b8fc=_0x46f8d7['map'](_0x1d7cf1=>_0x352f93==null?void 0x0:_0x352f93[_0x2c469c(0x3a4)][_0x2c469c(0xfb)](_0x477bbe=>_0x477bbe[_0x2c469c(0x339)]===_0x1d7cf1))[_0x2c469c(0x361)](_0x377da1=>!!_0x377da1);return{'config':_0x43922f,'result':{'actions':_0x13b8fc,'error':_0x58cdbf[_0x2c469c(0xf4)]}};});}})}));}[_0x40530a(0x19d)](){var _0x5c2f80=_0x40530a,_0x5f26bf,_0xe2a34d;const _0x20fcfc=this['_configService'][_0x5c2f80(0x21f)](Pi),_0x57995e=this[_0x5c2f80(0xf8)][_0x5c2f80(0x21f)](q);return(_0xe2a34d=(_0x5f26bf=_0x57995e==null?void 0x0:_0x57995e[_0x5c2f80(0xfa)])!=null?_0x5f26bf:_0x20fcfc)!=null?_0xe2a34d:wr;}async[_0x40530a(0x264)](_0x3a2f63){var _0x10a6c9=_0x40530a;const _0x1810ad=this[_0x10a6c9(0x19d)]()+'/'+_0x3a2f63['objectType']+'/object';return(await this['_HTTPService'][_0x10a6c9(0x3bf)](_0x1810ad,{'body':_0x3a2f63}))[_0x10a6c9(0x37f)][_0x10a6c9(0x13e)]||'';}async[_0x40530a(0x395)](_0x4fb58c){var _0x4d3928=_0x40530a;const _0x25fe95=this[_0x4d3928(0x19d)]()+_0x4d3928(0x14a);return(await this[_0x4d3928(0x174)]['post'](_0x25fe95,{'body':_0x4fb58c}))[_0x4d3928(0x37f)][_0x4d3928(0x3b7)];}async[_0x40530a(0x23e)](_0x28bd8e){var _0x1d1012=_0x40530a;const _0x18ee77=this[_0x1d1012(0x19d)]()+'/'+_0x28bd8e[_0x1d1012(0x26f)]+_0x1d1012(0x1b8)+_0x28bd8e[_0x1d1012(0x13e)];await this[_0x1d1012(0x174)]['put'](_0x18ee77,{'body':_0x28bd8e});}async[_0x40530a(0x11a)](_0x504bf5){var _0xadf507=_0x40530a;const _0x56cbc4=this[_0xadf507(0x19d)]()+'/'+_0x504bf5[_0xadf507(0x26f)]+'/object/'+_0x504bf5[_0xadf507(0x13e)]+_0xadf507(0x172);return(await this[_0xadf507(0x174)][_0xadf507(0x3bf)](_0x56cbc4,{'body':_0x504bf5}))['body'][_0xadf507(0x3a4)];}async[_0x40530a(0x16b)](_0x41ab77){var _0x245584=_0x40530a;const _0x29138d=this[_0x245584(0x19d)]()+_0x245584(0xea);return(await this[_0x245584(0x174)][_0x245584(0x3bf)](_0x29138d,{'body':{'requests':_0x41ab77}}))[_0x245584(0x37f)]['objectActions'];}async[_0x40530a(0x273)](_0x571349){var _0x559fde=_0x40530a;const _0x50bc2a=this['_getAPIPrefixPath']()+'/'+_0x571349[_0x559fde(0x26f)]+_0x559fde(0x176),_0x2f9332=await this[_0x559fde(0x174)][_0x559fde(0x3bf)](_0x50bc2a,{'body':_0x571349});return{'roles':_0x2f9332[_0x559fde(0x37f)][_0x559fde(0x2e4)],'actions':_0x2f9332['body'][_0x559fde(0x3a4)]};}async['deleteCollaborator'](_0x4027a8){var _0x1775f5=_0x40530a;const _0x43a961=this['_getAPIPrefixPath']()+_0x1775f5(0x1e6);await this[_0x1775f5(0x174)]['delete'](_0x43a961,{'params':{'collaboratorID':_0x4027a8[_0x1775f5(0x3cd)],'objectID':_0x4027a8[_0x1775f5(0x13e)],'unitID':_0x4027a8['unitID']}});}async[_0x40530a(0x220)](_0x55864f){var _0x34b091=_0x40530a;const _0x338e0a=this[_0x34b091(0x19d)]()+_0x34b091(0x1e6);await this[_0x34b091(0x174)][_0x34b091(0x290)](_0x338e0a,{'body':_0x55864f});}async['createCollaborator'](_0x3b4252){var _0x2d0c93=_0x40530a;const _0x218599=this['_getAPIPrefixPath']()+_0x2d0c93(0x1e6);await this['_HTTPService'][_0x2d0c93(0x3bf)](_0x218599,{'body':_0x3b4252});}async[_0x40530a(0x162)](_0x1f7a6d){var _0x2904c9=_0x40530a;const _0x195f5c=this[_0x2904c9(0x19d)]()+_0x2904c9(0x1e6);return(await this[_0x2904c9(0x174)][_0x2904c9(0x27f)](_0x195f5c,{'params':{'objectID':_0x1f7a6d[_0x2904c9(0x13e)],'unitID':_0x1f7a6d['unitID']}}))[_0x2904c9(0x37f)][_0x2904c9(0x184)];}async[_0x40530a(0x2df)](_0x377fca){var _0x1377de=_0x40530a;const _0x503d8f=this[_0x1377de(0x19d)]()+_0x1377de(0x1e6);await this[_0x1377de(0x174)][_0x1377de(0x36b)](_0x503d8f,{'body':_0x377fca});}};bt=Pr([Xt(0x0,_0x48db98(_0x3ce2dc)),Xt(0x1,_0x48db98(_0x5b62c8))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x8c9528){var _0x11de97=_0x40530a;return _0x8c9528&&_0x8c9528[_0x11de97(0x17e)]&&Object[_0x11de97(0x384)][_0x11de97(0x18c)][_0x11de97(0x2b8)](_0x8c9528,'default')?_0x8c9528[_0x11de97(0x23a)]:_0x8c9528;}var Ve={'exports':{}};function Ur(_0x522143){var _0x7c2254=_0x40530a;throw new Error(_0x7c2254(0x1d3)+_0x522143+_0x7c2254(0x12e));}var Ge={'exports':{}},Ar=Ge[_0x40530a(0xfe)],Zt;function ne(){var _0x699664=_0x40530a;return Zt||(Zt=0x1,function(_0x14b0ea,_0x33bcca){(function(_0xf3c25c,_0x55d275){var _0x4e982d=_0x192f;_0x14b0ea[_0x4e982d(0xfe)]=_0x55d275();}(Ar,function(){var _0x49c81c=_0x49c81c||function(_0x5cc7f1,_0x403e2){var _0x2c0094=_0x192f,_0x35d67c;if(typeof window<'u'&&window[_0x2c0094(0x166)]&&(_0x35d67c=window[_0x2c0094(0x166)]),typeof self<'u'&&self[_0x2c0094(0x166)]&&(_0x35d67c=self['crypto']),typeof globalThis<'u'&&globalThis[_0x2c0094(0x166)]&&(_0x35d67c=globalThis['crypto']),!_0x35d67c&&typeof window<'u'&&window[_0x2c0094(0x192)]&&(_0x35d67c=window[_0x2c0094(0x192)]),!_0x35d67c&&typeof pt<'u'&&pt[_0x2c0094(0x166)]&&(_0x35d67c=pt[_0x2c0094(0x166)]),!_0x35d67c&&typeof Ur=='function')try{_0x35d67c=require(_0x2c0094(0x166));}catch{}var _0x1f060a=function(){var _0x554c02=_0x2c0094;if(_0x35d67c){if(typeof _0x35d67c[_0x554c02(0x2b6)]==_0x554c02(0x1ec))try{return _0x35d67c[_0x554c02(0x2b6)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x35d67c[_0x554c02(0x27c)]=='function')try{return _0x35d67c[_0x554c02(0x27c)](0x4)[_0x554c02(0x33e)]();}catch{}}throw new Error(_0x554c02(0x277));},_0x2fde95=Object[_0x2c0094(0x264)]||(function(){function _0x44c220(){}return function(_0x59267c){var _0x29f34c=_0x192f,_0x279fec;return _0x44c220[_0x29f34c(0x384)]=_0x59267c,_0x279fec=new _0x44c220(),_0x44c220[_0x29f34c(0x384)]=null,_0x279fec;};}()),_0x3f4a39={},_0x46c022=_0x3f4a39[_0x2c0094(0x18b)]={},_0x57a3d5=_0x46c022[_0x2c0094(0x218)]=(function(){return{'extend':function(_0x2cfcd9){var _0x423d31=_0x192f,_0x1994bb=_0x2fde95(this);return _0x2cfcd9&&_0x1994bb[_0x423d31(0x3b2)](_0x2cfcd9),(!_0x1994bb[_0x423d31(0x18c)]('init')||this['init']===_0x1994bb[_0x423d31(0x3a9)])&&(_0x1994bb[_0x423d31(0x3a9)]=function(){var _0x224aae=_0x423d31;_0x1994bb[_0x224aae(0x1a4)][_0x224aae(0x3a9)]['apply'](this,arguments);}),_0x1994bb[_0x423d31(0x3a9)][_0x423d31(0x384)]=_0x1994bb,_0x1994bb[_0x423d31(0x1a4)]=this,_0x1994bb;},'create':function(){var _0x5c5e8a=_0x192f,_0x22e719=this['extend']();return _0x22e719[_0x5c5e8a(0x3a9)][_0x5c5e8a(0x2ef)](_0x22e719,arguments),_0x22e719;},'init':function(){},'mixIn':function(_0x421f8e){var _0x46d128=_0x192f;for(var _0x14ddb7 in _0x421f8e)_0x421f8e[_0x46d128(0x18c)](_0x14ddb7)&&(this[_0x14ddb7]=_0x421f8e[_0x14ddb7]);_0x421f8e['hasOwnProperty'](_0x46d128(0x1f3))&&(this[_0x46d128(0x1f3)]=_0x421f8e[_0x46d128(0x1f3)]);},'clone':function(){var _0x38fbc3=_0x192f;return this['init'][_0x38fbc3(0x384)][_0x38fbc3(0x2c5)](this);}};}()),_0x444739=_0x46c022[_0x2c0094(0x1ad)]=_0x57a3d5[_0x2c0094(0x2c5)]({'init':function(_0x4a31ac,_0x23662b){var _0x480e75=_0x2c0094;_0x4a31ac=this[_0x480e75(0x3c9)]=_0x4a31ac||[],_0x23662b!=_0x403e2?this[_0x480e75(0x2f8)]=_0x23662b:this[_0x480e75(0x2f8)]=_0x4a31ac[_0x480e75(0x37d)]*0x4;},'toString':function(_0x26da67){return(_0x26da67||_0x100728)['stringify'](this);},'concat':function(_0x1bc525){var _0x5f2d2c=_0x2c0094,_0x30f4a8=this[_0x5f2d2c(0x3c9)],_0x30846b=_0x1bc525['words'],_0x5b1d2c=this[_0x5f2d2c(0x2f8)],_0x27eb7e=_0x1bc525['sigBytes'];if(this['clamp'](),_0x5b1d2c%0x4)for(var _0x7b8a65=0x0;_0x7b8a65<_0x27eb7e;_0x7b8a65++){var _0x3c18ae=_0x30846b[_0x7b8a65>>>0x2]>>>0x18-_0x7b8a65%0x4*0x8&0xff;_0x30f4a8[_0x5b1d2c+_0x7b8a65>>>0x2]|=_0x3c18ae<<0x18-(_0x5b1d2c+_0x7b8a65)%0x4*0x8;}else{for(var _0x58e394=0x0;_0x58e394<_0x27eb7e;_0x58e394+=0x4)_0x30f4a8[_0x5b1d2c+_0x58e394>>>0x2]=_0x30846b[_0x58e394>>>0x2];}return this[_0x5f2d2c(0x2f8)]+=_0x27eb7e,this;},'clamp':function(){var _0x3ea39e=_0x2c0094,_0x57e422=this['words'],_0x34473f=this[_0x3ea39e(0x2f8)];_0x57e422[_0x34473f>>>0x2]&=0xffffffff<<0x20-_0x34473f%0x4*0x8,_0x57e422[_0x3ea39e(0x37d)]=_0x5cc7f1[_0x3ea39e(0xf3)](_0x34473f/0x4);},'clone':function(){var _0x4015b7=_0x2c0094,_0x36e6f9=_0x57a3d5['clone'][_0x4015b7(0x2b8)](this);return _0x36e6f9['words']=this[_0x4015b7(0x3c9)][_0x4015b7(0x186)](0x0),_0x36e6f9;},'random':function(_0x3df148){for(var _0x4c44ee=[],_0x240e9d=0x0;_0x240e9d<_0x3df148;_0x240e9d+=0x4)_0x4c44ee['push'](_0x1f060a());return new _0x444739['init'](_0x4c44ee,_0x3df148);}}),_0x5a3d38=_0x3f4a39[_0x2c0094(0x1b0)]={},_0x100728=_0x5a3d38['Hex']={'stringify':function(_0x1b7aa9){var _0xd30ec1=_0x2c0094;for(var _0x559711=_0x1b7aa9[_0xd30ec1(0x3c9)],_0x42e4a1=_0x1b7aa9[_0xd30ec1(0x2f8)],_0x4933cc=[],_0x5d9823=0x0;_0x5d9823<_0x42e4a1;_0x5d9823++){var _0x309929=_0x559711[_0x5d9823>>>0x2]>>>0x18-_0x5d9823%0x4*0x8&0xff;_0x4933cc[_0xd30ec1(0x20a)]((_0x309929>>>0x4)['toString'](0x10)),_0x4933cc[_0xd30ec1(0x20a)]((_0x309929&0xf)[_0xd30ec1(0x1f3)](0x10));}return _0x4933cc['join']('');},'parse':function(_0x3def8d){var _0x499674=_0x2c0094;for(var _0x13e9f1=_0x3def8d['length'],_0x452d01=[],_0x1ede45=0x0;_0x1ede45<_0x13e9f1;_0x1ede45+=0x2)_0x452d01[_0x1ede45>>>0x3]|=parseInt(_0x3def8d['substr'](_0x1ede45,0x2),0x10)<<0x18-_0x1ede45%0x8*0x4;return new _0x444739[(_0x499674(0x3a9))](_0x452d01,_0x13e9f1/0x2);}},_0x3640fe=_0x5a3d38[_0x2c0094(0x21a)]={'stringify':function(_0x256488){var _0x10d3bc=_0x2c0094;for(var _0x2f3fc1=_0x256488[_0x10d3bc(0x3c9)],_0x1b20f5=_0x256488[_0x10d3bc(0x2f8)],_0x101809=[],_0x5b50c9=0x0;_0x5b50c9<_0x1b20f5;_0x5b50c9++){var _0x2a8457=_0x2f3fc1[_0x5b50c9>>>0x2]>>>0x18-_0x5b50c9%0x4*0x8&0xff;_0x101809[_0x10d3bc(0x20a)](String[_0x10d3bc(0x246)](_0x2a8457));}return _0x101809['join']('');},'parse':function(_0xc858b6){for(var _0x280fef=_0xc858b6['length'],_0xf636c=[],_0x39dd8a=0x0;_0x39dd8a<_0x280fef;_0x39dd8a++)_0xf636c[_0x39dd8a>>>0x2]|=(_0xc858b6['charCodeAt'](_0x39dd8a)&0xff)<<0x18-_0x39dd8a%0x4*0x8;return new _0x444739['init'](_0xf636c,_0x280fef);}},_0x44af34=_0x5a3d38[_0x2c0094(0x34c)]={'stringify':function(_0x3bc73c){var _0x202418=_0x2c0094;try{return decodeURIComponent(escape(_0x3640fe[_0x202418(0x372)](_0x3bc73c)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x4155d6){var _0x2bfe1d=_0x2c0094;return _0x3640fe[_0x2bfe1d(0x274)](unescape(encodeURIComponent(_0x4155d6)));}},_0xe0efec=_0x46c022[_0x2c0094(0x26e)]=_0x57a3d5[_0x2c0094(0x2c5)]({'reset':function(){var _0x27457a=_0x2c0094;this[_0x27457a(0x3e7)]=new _0x444739['init'](),this[_0x27457a(0x1bf)]=0x0;},'_append':function(_0x557abe){var _0x3bdcbd=_0x2c0094;typeof _0x557abe==_0x3bdcbd(0x16a)&&(_0x557abe=_0x44af34[_0x3bdcbd(0x274)](_0x557abe)),this[_0x3bdcbd(0x3e7)][_0x3bdcbd(0x187)](_0x557abe),this[_0x3bdcbd(0x1bf)]+=_0x557abe[_0x3bdcbd(0x2f8)];},'_process':function(_0x853f47){var _0x4a588e=_0x2c0094,_0x5c42d4,_0x46c788=this['_data'],_0x475c9f=_0x46c788[_0x4a588e(0x3c9)],_0x2d0b91=_0x46c788[_0x4a588e(0x2f8)],_0x294500=this['blockSize'],_0x30fd3a=_0x294500*0x4,_0x3af542=_0x2d0b91/_0x30fd3a;_0x853f47?_0x3af542=_0x5cc7f1['ceil'](_0x3af542):_0x3af542=_0x5cc7f1['max']((_0x3af542|0x0)-this[_0x4a588e(0x154)],0x0);var _0x44eae3=_0x3af542*_0x294500,_0x5684c3=_0x5cc7f1['min'](_0x44eae3*0x4,_0x2d0b91);if(_0x44eae3){for(var _0x5b8892=0x0;_0x5b8892<_0x44eae3;_0x5b8892+=_0x294500)this['_doProcessBlock'](_0x475c9f,_0x5b8892);_0x5c42d4=_0x475c9f[_0x4a588e(0x16e)](0x0,_0x44eae3),_0x46c788[_0x4a588e(0x2f8)]-=_0x5684c3;}return new _0x444739[(_0x4a588e(0x3a9))](_0x5c42d4,_0x5684c3);},'clone':function(){var _0x38aca8=_0x2c0094,_0x6398c7=_0x57a3d5[_0x38aca8(0x16c)][_0x38aca8(0x2b8)](this);return _0x6398c7[_0x38aca8(0x3e7)]=this[_0x38aca8(0x3e7)]['clone'](),_0x6398c7;},'_minBufferSize':0x0});_0x46c022[_0x2c0094(0x2eb)]=_0xe0efec[_0x2c0094(0x2c5)]({'cfg':_0x57a3d5[_0x2c0094(0x2c5)](),'init':function(_0x3ec291){var _0x126b38=_0x2c0094;this[_0x126b38(0x346)]=this[_0x126b38(0x346)][_0x126b38(0x2c5)](_0x3ec291),this[_0x126b38(0x2b4)]();},'reset':function(){var _0x4f3103=_0x2c0094;_0xe0efec[_0x4f3103(0x2b4)][_0x4f3103(0x2b8)](this),this[_0x4f3103(0x188)]();},'update':function(_0x3d131c){var _0x2caa86=_0x2c0094;return this[_0x2caa86(0x2a2)](_0x3d131c),this[_0x2caa86(0x155)](),this;},'finalize':function(_0x104ae5){var _0x4db6ee=_0x2c0094;_0x104ae5&&this[_0x4db6ee(0x2a2)](_0x104ae5);var _0x36b9f4=this[_0x4db6ee(0xe3)]();return _0x36b9f4;},'blockSize':0x10,'_createHelper':function(_0xebbecf){return function(_0x34654f,_0x23fb06){var _0x21c743=_0x192f;return new _0xebbecf[(_0x21c743(0x3a9))](_0x23fb06)[_0x21c743(0x336)](_0x34654f);};},'_createHmacHelper':function(_0x850ed2){return function(_0xccc1c8,_0x15376c){var _0x5a5a40=_0x192f;return new _0x3f3964['HMAC']['init'](_0x850ed2,_0x15376c)[_0x5a5a40(0x336)](_0xccc1c8);};}});var _0x3f3964=_0x3f4a39[_0x2c0094(0x2e5)]={};return _0x3f4a39;}(Math);return _0x49c81c;}));}(Ge)),Ge[_0x699664(0xfe)];}var We={'exports':{}},xr=We['exports'],Qt;function wi(){var _0x2a44d3=_0x40530a;return Qt||(Qt=0x1,function(_0x189ce0,_0x2d7ece){(function(_0x348eb3,_0x1f1729){var _0x464b1f=_0x192f;_0x189ce0[_0x464b1f(0xfe)]=_0x1f1729(ne());}(xr,function(_0x2e6f94){return(function(){var _0x16400e=_0x192f,_0x1c12e4=_0x2e6f94,_0x3eec43=_0x1c12e4[_0x16400e(0x18b)],_0x1cf51f=_0x3eec43[_0x16400e(0x1ad)],_0x172bff=_0x1c12e4[_0x16400e(0x1b0)];_0x172bff['Base64']={'stringify':function(_0x2fe8de){var _0x5af478=_0x16400e,_0x2d2e77=_0x2fe8de[_0x5af478(0x3c9)],_0x29d109=_0x2fe8de['sigBytes'],_0x198333=this[_0x5af478(0x20b)];_0x2fe8de[_0x5af478(0x3b4)]();for(var _0x33d07f=[],_0x2cfe6c=0x0;_0x2cfe6c<_0x29d109;_0x2cfe6c+=0x3)for(var _0x3db3cd=_0x2d2e77[_0x2cfe6c>>>0x2]>>>0x18-_0x2cfe6c%0x4*0x8&0xff,_0x2b0229=_0x2d2e77[_0x2cfe6c+0x1>>>0x2]>>>0x18-(_0x2cfe6c+0x1)%0x4*0x8&0xff,_0x4672d4=_0x2d2e77[_0x2cfe6c+0x2>>>0x2]>>>0x18-(_0x2cfe6c+0x2)%0x4*0x8&0xff,_0xd0cf8d=_0x3db3cd<<0x10|_0x2b0229<<0x8|_0x4672d4,_0x5e1f4e=0x0;_0x5e1f4e<0x4&&_0x2cfe6c+_0x5e1f4e*0.75<_0x29d109;_0x5e1f4e++)_0x33d07f[_0x5af478(0x20a)](_0x198333['charAt'](_0xd0cf8d>>>0x6*(0x3-_0x5e1f4e)&0x3f));var _0xa96e8d=_0x198333[_0x5af478(0x10c)](0x40);if(_0xa96e8d){for(;_0x33d07f[_0x5af478(0x37d)]%0x4;)_0x33d07f[_0x5af478(0x20a)](_0xa96e8d);}return _0x33d07f[_0x5af478(0x34b)]('');},'parse':function(_0x1e35a3){var _0x59a0e8=_0x16400e,_0x356b94=_0x1e35a3[_0x59a0e8(0x37d)],_0x4f0655=this['_map'],_0x2d086a=this['_reverseMap'];if(!_0x2d086a){_0x2d086a=this[_0x59a0e8(0x2ae)]=[];for(var _0x502c6b=0x0;_0x502c6b<_0x4f0655[_0x59a0e8(0x37d)];_0x502c6b++)_0x2d086a[_0x4f0655[_0x59a0e8(0x390)](_0x502c6b)]=_0x502c6b;}var _0x38da69=_0x4f0655[_0x59a0e8(0x10c)](0x40);if(_0x38da69){var _0xa48c4=_0x1e35a3[_0x59a0e8(0x283)](_0x38da69);_0xa48c4!==-0x1&&(_0x356b94=_0xa48c4);}return _0x355624(_0x1e35a3,_0x356b94,_0x2d086a);},'_map':_0x16400e(0x182)};function _0x355624(_0x283dc4,_0x2dff30,_0x19676f){var _0x38d818=_0x16400e;for(var _0x3e1be8=[],_0x1ce751=0x0,_0x3d01e3=0x0;_0x3d01e3<_0x2dff30;_0x3d01e3++)if(_0x3d01e3%0x4){var _0x26293c=_0x19676f[_0x283dc4[_0x38d818(0x390)](_0x3d01e3-0x1)]<<_0x3d01e3%0x4*0x2,_0x5636b7=_0x19676f[_0x283dc4[_0x38d818(0x390)](_0x3d01e3)]>>>0x6-_0x3d01e3%0x4*0x2,_0x1d866c=_0x26293c|_0x5636b7;_0x3e1be8[_0x1ce751>>>0x2]|=_0x1d866c<<0x18-_0x1ce751%0x4*0x8,_0x1ce751++;}return _0x1cf51f[_0x38d818(0x264)](_0x3e1be8,_0x1ce751);}}()),_0x2e6f94['enc']['Base64'];}));}(We)),We[_0x2a44d3(0xfe)];}var Ke={'exports':{}},Lr=Ke[_0x40530a(0xfe)],ei;function Mr(){return ei||(ei=0x1,function(_0x808641,_0x3e2c03){(function(_0x5a9e46,_0x1c7e67){_0x808641['exports']=_0x1c7e67(ne());}(Lr,function(_0x5c0787){var _0x49da4b=_0x192f;return function(_0x28dc3a){var _0x2b5cd2=_0x192f,_0x577ff8=_0x5c0787,_0x362b07=_0x577ff8[_0x2b5cd2(0x18b)],_0x399b64=_0x362b07['WordArray'],_0x40b6c8=_0x362b07[_0x2b5cd2(0x2eb)],_0x359fcb=_0x577ff8['algo'],_0x5cd078=[];(function(){var _0x4bd37b=_0x2b5cd2;for(var _0x3a3a02=0x0;_0x3a3a02<0x40;_0x3a3a02++)_0x5cd078[_0x3a3a02]=_0x28dc3a[_0x4bd37b(0x1b7)](_0x28dc3a[_0x4bd37b(0x31d)](_0x3a3a02+0x1))*0x100000000|0x0;}());var _0x564b37=_0x359fcb[_0x2b5cd2(0x2ce)]=_0x40b6c8[_0x2b5cd2(0x2c5)]({'_doReset':function(){var _0x461162=_0x2b5cd2;this[_0x461162(0x3c8)]=new _0x399b64['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1f171c,_0x1a3286){var _0x10e02b=_0x2b5cd2;for(var _0x43e7e0=0x0;_0x43e7e0<0x10;_0x43e7e0++){var _0x161bf5=_0x1a3286+_0x43e7e0,_0x56fdfb=_0x1f171c[_0x161bf5];_0x1f171c[_0x161bf5]=(_0x56fdfb<<0x8|_0x56fdfb>>>0x18)&0xff00ff|(_0x56fdfb<<0x18|_0x56fdfb>>>0x8)&0xff00ff00;}var _0xe2d150=this[_0x10e02b(0x3c8)][_0x10e02b(0x3c9)],_0x4a53e3=_0x1f171c[_0x1a3286+0x0],_0x53a8c5=_0x1f171c[_0x1a3286+0x1],_0x2d4aee=_0x1f171c[_0x1a3286+0x2],_0x55aba3=_0x1f171c[_0x1a3286+0x3],_0x5562f6=_0x1f171c[_0x1a3286+0x4],_0x1b4291=_0x1f171c[_0x1a3286+0x5],_0x37ce98=_0x1f171c[_0x1a3286+0x6],_0xac562d=_0x1f171c[_0x1a3286+0x7],_0x547516=_0x1f171c[_0x1a3286+0x8],_0x5cc950=_0x1f171c[_0x1a3286+0x9],_0x326877=_0x1f171c[_0x1a3286+0xa],_0xf30cbf=_0x1f171c[_0x1a3286+0xb],_0x569a13=_0x1f171c[_0x1a3286+0xc],_0x596045=_0x1f171c[_0x1a3286+0xd],_0xb0c558=_0x1f171c[_0x1a3286+0xe],_0x1302a0=_0x1f171c[_0x1a3286+0xf],_0x5b5a38=_0xe2d150[0x0],_0x2518c9=_0xe2d150[0x1],_0x3418ed=_0xe2d150[0x2],_0x40d99c=_0xe2d150[0x3];_0x5b5a38=_0x301807(_0x5b5a38,_0x2518c9,_0x3418ed,_0x40d99c,_0x4a53e3,0x7,_0x5cd078[0x0]),_0x40d99c=_0x301807(_0x40d99c,_0x5b5a38,_0x2518c9,_0x3418ed,_0x53a8c5,0xc,_0x5cd078[0x1]),_0x3418ed=_0x301807(_0x3418ed,_0x40d99c,_0x5b5a38,_0x2518c9,_0x2d4aee,0x11,_0x5cd078[0x2]),_0x2518c9=_0x301807(_0x2518c9,_0x3418ed,_0x40d99c,_0x5b5a38,_0x55aba3,0x16,_0x5cd078[0x3]),_0x5b5a38=_0x301807(_0x5b5a38,_0x2518c9,_0x3418ed,_0x40d99c,_0x5562f6,0x7,_0x5cd078[0x4]),_0x40d99c=_0x301807(_0x40d99c,_0x5b5a38,_0x2518c9,_0x3418ed,_0x1b4291,0xc,_0x5cd078[0x5]),_0x3418ed=_0x301807(_0x3418ed,_0x40d99c,_0x5b5a38,_0x2518c9,_0x37ce98,0x11,_0x5cd078[0x6]),_0x2518c9=_0x301807(_0x2518c9,_0x3418ed,_0x40d99c,_0x5b5a38,_0xac562d,0x16,_0x5cd078[0x7]),_0x5b5a38=_0x301807(_0x5b5a38,_0x2518c9,_0x3418ed,_0x40d99c,_0x547516,0x7,_0x5cd078[0x8]),_0x40d99c=_0x301807(_0x40d99c,_0x5b5a38,_0x2518c9,_0x3418ed,_0x5cc950,0xc,_0x5cd078[0x9]),_0x3418ed=_0x301807(_0x3418ed,_0x40d99c,_0x5b5a38,_0x2518c9,_0x326877,0x11,_0x5cd078[0xa]),_0x2518c9=_0x301807(_0x2518c9,_0x3418ed,_0x40d99c,_0x5b5a38,_0xf30cbf,0x16,_0x5cd078[0xb]),_0x5b5a38=_0x301807(_0x5b5a38,_0x2518c9,_0x3418ed,_0x40d99c,_0x569a13,0x7,_0x5cd078[0xc]),_0x40d99c=_0x301807(_0x40d99c,_0x5b5a38,_0x2518c9,_0x3418ed,_0x596045,0xc,_0x5cd078[0xd]),_0x3418ed=_0x301807(_0x3418ed,_0x40d99c,_0x5b5a38,_0x2518c9,_0xb0c558,0x11,_0x5cd078[0xe]),_0x2518c9=_0x301807(_0x2518c9,_0x3418ed,_0x40d99c,_0x5b5a38,_0x1302a0,0x16,_0x5cd078[0xf]),_0x5b5a38=_0x5c3d8f(_0x5b5a38,_0x2518c9,_0x3418ed,_0x40d99c,_0x53a8c5,0x5,_0x5cd078[0x10]),_0x40d99c=_0x5c3d8f(_0x40d99c,_0x5b5a38,_0x2518c9,_0x3418ed,_0x37ce98,0x9,_0x5cd078[0x11]),_0x3418ed=_0x5c3d8f(_0x3418ed,_0x40d99c,_0x5b5a38,_0x2518c9,_0xf30cbf,0xe,_0x5cd078[0x12]),_0x2518c9=_0x5c3d8f(_0x2518c9,_0x3418ed,_0x40d99c,_0x5b5a38,_0x4a53e3,0x14,_0x5cd078[0x13]),_0x5b5a38=_0x5c3d8f(_0x5b5a38,_0x2518c9,_0x3418ed,_0x40d99c,_0x1b4291,0x5,_0x5cd078[0x14]),_0x40d99c=_0x5c3d8f(_0x40d99c,_0x5b5a38,_0x2518c9,_0x3418ed,_0x326877,0x9,_0x5cd078[0x15]),_0x3418ed=_0x5c3d8f(_0x3418ed,_0x40d99c,_0x5b5a38,_0x2518c9,_0x1302a0,0xe,_0x5cd078[0x16]),_0x2518c9=_0x5c3d8f(_0x2518c9,_0x3418ed,_0x40d99c,_0x5b5a38,_0x5562f6,0x14,_0x5cd078[0x17]),_0x5b5a38=_0x5c3d8f(_0x5b5a38,_0x2518c9,_0x3418ed,_0x40d99c,_0x5cc950,0x5,_0x5cd078[0x18]),_0x40d99c=_0x5c3d8f(_0x40d99c,_0x5b5a38,_0x2518c9,_0x3418ed,_0xb0c558,0x9,_0x5cd078[0x19]),_0x3418ed=_0x5c3d8f(_0x3418ed,_0x40d99c,_0x5b5a38,_0x2518c9,_0x55aba3,0xe,_0x5cd078[0x1a]),_0x2518c9=_0x5c3d8f(_0x2518c9,_0x3418ed,_0x40d99c,_0x5b5a38,_0x547516,0x14,_0x5cd078[0x1b]),_0x5b5a38=_0x5c3d8f(_0x5b5a38,_0x2518c9,_0x3418ed,_0x40d99c,_0x596045,0x5,_0x5cd078[0x1c]),_0x40d99c=_0x5c3d8f(_0x40d99c,_0x5b5a38,_0x2518c9,_0x3418ed,_0x2d4aee,0x9,_0x5cd078[0x1d]),_0x3418ed=_0x5c3d8f(_0x3418ed,_0x40d99c,_0x5b5a38,_0x2518c9,_0xac562d,0xe,_0x5cd078[0x1e]),_0x2518c9=_0x5c3d8f(_0x2518c9,_0x3418ed,_0x40d99c,_0x5b5a38,_0x569a13,0x14,_0x5cd078[0x1f]),_0x5b5a38=_0x33cdf7(_0x5b5a38,_0x2518c9,_0x3418ed,_0x40d99c,_0x1b4291,0x4,_0x5cd078[0x20]),_0x40d99c=_0x33cdf7(_0x40d99c,_0x5b5a38,_0x2518c9,_0x3418ed,_0x547516,0xb,_0x5cd078[0x21]),_0x3418ed=_0x33cdf7(_0x3418ed,_0x40d99c,_0x5b5a38,_0x2518c9,_0xf30cbf,0x10,_0x5cd078[0x22]),_0x2518c9=_0x33cdf7(_0x2518c9,_0x3418ed,_0x40d99c,_0x5b5a38,_0xb0c558,0x17,_0x5cd078[0x23]),_0x5b5a38=_0x33cdf7(_0x5b5a38,_0x2518c9,_0x3418ed,_0x40d99c,_0x53a8c5,0x4,_0x5cd078[0x24]),_0x40d99c=_0x33cdf7(_0x40d99c,_0x5b5a38,_0x2518c9,_0x3418ed,_0x5562f6,0xb,_0x5cd078[0x25]),_0x3418ed=_0x33cdf7(_0x3418ed,_0x40d99c,_0x5b5a38,_0x2518c9,_0xac562d,0x10,_0x5cd078[0x26]),_0x2518c9=_0x33cdf7(_0x2518c9,_0x3418ed,_0x40d99c,_0x5b5a38,_0x326877,0x17,_0x5cd078[0x27]),_0x5b5a38=_0x33cdf7(_0x5b5a38,_0x2518c9,_0x3418ed,_0x40d99c,_0x596045,0x4,_0x5cd078[0x28]),_0x40d99c=_0x33cdf7(_0x40d99c,_0x5b5a38,_0x2518c9,_0x3418ed,_0x4a53e3,0xb,_0x5cd078[0x29]),_0x3418ed=_0x33cdf7(_0x3418ed,_0x40d99c,_0x5b5a38,_0x2518c9,_0x55aba3,0x10,_0x5cd078[0x2a]),_0x2518c9=_0x33cdf7(_0x2518c9,_0x3418ed,_0x40d99c,_0x5b5a38,_0x37ce98,0x17,_0x5cd078[0x2b]),_0x5b5a38=_0x33cdf7(_0x5b5a38,_0x2518c9,_0x3418ed,_0x40d99c,_0x5cc950,0x4,_0x5cd078[0x2c]),_0x40d99c=_0x33cdf7(_0x40d99c,_0x5b5a38,_0x2518c9,_0x3418ed,_0x569a13,0xb,_0x5cd078[0x2d]),_0x3418ed=_0x33cdf7(_0x3418ed,_0x40d99c,_0x5b5a38,_0x2518c9,_0x1302a0,0x10,_0x5cd078[0x2e]),_0x2518c9=_0x33cdf7(_0x2518c9,_0x3418ed,_0x40d99c,_0x5b5a38,_0x2d4aee,0x17,_0x5cd078[0x2f]),_0x5b5a38=_0x36c3b2(_0x5b5a38,_0x2518c9,_0x3418ed,_0x40d99c,_0x4a53e3,0x6,_0x5cd078[0x30]),_0x40d99c=_0x36c3b2(_0x40d99c,_0x5b5a38,_0x2518c9,_0x3418ed,_0xac562d,0xa,_0x5cd078[0x31]),_0x3418ed=_0x36c3b2(_0x3418ed,_0x40d99c,_0x5b5a38,_0x2518c9,_0xb0c558,0xf,_0x5cd078[0x32]),_0x2518c9=_0x36c3b2(_0x2518c9,_0x3418ed,_0x40d99c,_0x5b5a38,_0x1b4291,0x15,_0x5cd078[0x33]),_0x5b5a38=_0x36c3b2(_0x5b5a38,_0x2518c9,_0x3418ed,_0x40d99c,_0x569a13,0x6,_0x5cd078[0x34]),_0x40d99c=_0x36c3b2(_0x40d99c,_0x5b5a38,_0x2518c9,_0x3418ed,_0x55aba3,0xa,_0x5cd078[0x35]),_0x3418ed=_0x36c3b2(_0x3418ed,_0x40d99c,_0x5b5a38,_0x2518c9,_0x326877,0xf,_0x5cd078[0x36]),_0x2518c9=_0x36c3b2(_0x2518c9,_0x3418ed,_0x40d99c,_0x5b5a38,_0x53a8c5,0x15,_0x5cd078[0x37]),_0x5b5a38=_0x36c3b2(_0x5b5a38,_0x2518c9,_0x3418ed,_0x40d99c,_0x547516,0x6,_0x5cd078[0x38]),_0x40d99c=_0x36c3b2(_0x40d99c,_0x5b5a38,_0x2518c9,_0x3418ed,_0x1302a0,0xa,_0x5cd078[0x39]),_0x3418ed=_0x36c3b2(_0x3418ed,_0x40d99c,_0x5b5a38,_0x2518c9,_0x37ce98,0xf,_0x5cd078[0x3a]),_0x2518c9=_0x36c3b2(_0x2518c9,_0x3418ed,_0x40d99c,_0x5b5a38,_0x596045,0x15,_0x5cd078[0x3b]),_0x5b5a38=_0x36c3b2(_0x5b5a38,_0x2518c9,_0x3418ed,_0x40d99c,_0x5562f6,0x6,_0x5cd078[0x3c]),_0x40d99c=_0x36c3b2(_0x40d99c,_0x5b5a38,_0x2518c9,_0x3418ed,_0xf30cbf,0xa,_0x5cd078[0x3d]),_0x3418ed=_0x36c3b2(_0x3418ed,_0x40d99c,_0x5b5a38,_0x2518c9,_0x2d4aee,0xf,_0x5cd078[0x3e]),_0x2518c9=_0x36c3b2(_0x2518c9,_0x3418ed,_0x40d99c,_0x5b5a38,_0x5cc950,0x15,_0x5cd078[0x3f]),_0xe2d150[0x0]=_0xe2d150[0x0]+_0x5b5a38|0x0,_0xe2d150[0x1]=_0xe2d150[0x1]+_0x2518c9|0x0,_0xe2d150[0x2]=_0xe2d150[0x2]+_0x3418ed|0x0,_0xe2d150[0x3]=_0xe2d150[0x3]+_0x40d99c|0x0;},'_doFinalize':function(){var _0x6e4347=_0x2b5cd2,_0x3ca77d=this[_0x6e4347(0x3e7)],_0x345d28=_0x3ca77d[_0x6e4347(0x3c9)],_0x7f3f4e=this[_0x6e4347(0x1bf)]*0x8,_0x3c84fd=_0x3ca77d['sigBytes']*0x8;_0x345d28[_0x3c84fd>>>0x5]|=0x80<<0x18-_0x3c84fd%0x20;var _0x456820=_0x28dc3a[_0x6e4347(0x1cd)](_0x7f3f4e/0x100000000),_0xe2d8dc=_0x7f3f4e;_0x345d28[(_0x3c84fd+0x40>>>0x9<<0x4)+0xf]=(_0x456820<<0x8|_0x456820>>>0x18)&0xff00ff|(_0x456820<<0x18|_0x456820>>>0x8)&0xff00ff00,_0x345d28[(_0x3c84fd+0x40>>>0x9<<0x4)+0xe]=(_0xe2d8dc<<0x8|_0xe2d8dc>>>0x18)&0xff00ff|(_0xe2d8dc<<0x18|_0xe2d8dc>>>0x8)&0xff00ff00,_0x3ca77d['sigBytes']=(_0x345d28[_0x6e4347(0x37d)]+0x1)*0x4,this['_process']();for(var _0x4e097d=this[_0x6e4347(0x3c8)],_0x40ac57=_0x4e097d[_0x6e4347(0x3c9)],_0x2e2741=0x0;_0x2e2741<0x4;_0x2e2741++){var _0x4ac9b6=_0x40ac57[_0x2e2741];_0x40ac57[_0x2e2741]=(_0x4ac9b6<<0x8|_0x4ac9b6>>>0x18)&0xff00ff|(_0x4ac9b6<<0x18|_0x4ac9b6>>>0x8)&0xff00ff00;}return _0x4e097d;},'clone':function(){var _0xf366a7=_0x2b5cd2,_0xbdfa42=_0x40b6c8[_0xf366a7(0x16c)][_0xf366a7(0x2b8)](this);return _0xbdfa42[_0xf366a7(0x3c8)]=this['_hash']['clone'](),_0xbdfa42;}});function _0x301807(_0x4b5d14,_0x1ae032,_0x348bcd,_0x1157a9,_0x330a45,_0x93ef20,_0x5e5b5f){var _0x2a0a63=_0x4b5d14+(_0x1ae032&_0x348bcd|~_0x1ae032&_0x1157a9)+_0x330a45+_0x5e5b5f;return(_0x2a0a63<<_0x93ef20|_0x2a0a63>>>0x20-_0x93ef20)+_0x1ae032;}function _0x5c3d8f(_0x4192c5,_0x19980a,_0x904387,_0x138647,_0x1c05db,_0x2efc95,_0x5c844a){var _0x39d3b9=_0x4192c5+(_0x19980a&_0x138647|_0x904387&~_0x138647)+_0x1c05db+_0x5c844a;return(_0x39d3b9<<_0x2efc95|_0x39d3b9>>>0x20-_0x2efc95)+_0x19980a;}function _0x33cdf7(_0x118bb3,_0x3badd1,_0x503190,_0x3b7495,_0x35fa16,_0x937a13,_0x5d88cd){var _0x539524=_0x118bb3+(_0x3badd1^_0x503190^_0x3b7495)+_0x35fa16+_0x5d88cd;return(_0x539524<<_0x937a13|_0x539524>>>0x20-_0x937a13)+_0x3badd1;}function _0x36c3b2(_0x320563,_0x168f22,_0x3cc8e3,_0x4c9850,_0x23f1a8,_0x5e64a1,_0x1dc3d6){var _0x51e4b0=_0x320563+(_0x3cc8e3^(_0x168f22|~_0x4c9850))+_0x23f1a8+_0x1dc3d6;return(_0x51e4b0<<_0x5e64a1|_0x51e4b0>>>0x20-_0x5e64a1)+_0x168f22;}_0x577ff8[_0x2b5cd2(0x2ce)]=_0x40b6c8[_0x2b5cd2(0x167)](_0x564b37),_0x577ff8['HmacMD5']=_0x40b6c8[_0x2b5cd2(0x272)](_0x564b37);}(Math),_0x5c0787[_0x49da4b(0x2ce)];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x40530a(0xfe)],ti;function Hr(){var _0x40b7b7=_0x40530a;return ti||(ti=0x1,function(_0x1b8073,_0x1a2178){(function(_0x2f912b,_0xabcf72){var _0x4c40b1=_0x192f;_0x1b8073[_0x4c40b1(0xfe)]=_0xabcf72(ne());}($r,function(_0x58e8c5){var _0x2089b8=_0x192f;return(function(){var _0x24bc65=_0x192f,_0x546899=_0x58e8c5,_0xfc1325=_0x546899[_0x24bc65(0x18b)],_0x1e5ab1=_0xfc1325[_0x24bc65(0x1ad)],_0x1bd817=_0xfc1325[_0x24bc65(0x2eb)],_0x229918=_0x546899[_0x24bc65(0x2e5)],_0x4ccbdc=[],_0x294286=_0x229918[_0x24bc65(0x103)]=_0x1bd817[_0x24bc65(0x2c5)]({'_doReset':function(){var _0x51c288=_0x24bc65;this[_0x51c288(0x3c8)]=new _0x1e5ab1[(_0x51c288(0x3a9))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4513c2,_0x3e501c){var _0x2deadf=_0x24bc65;for(var _0x10fb56=this[_0x2deadf(0x3c8)][_0x2deadf(0x3c9)],_0x57503e=_0x10fb56[0x0],_0x274e78=_0x10fb56[0x1],_0x3615da=_0x10fb56[0x2],_0x52e69d=_0x10fb56[0x3],_0x31efd0=_0x10fb56[0x4],_0x1014a7=0x0;_0x1014a7<0x50;_0x1014a7++){if(_0x1014a7<0x10)_0x4ccbdc[_0x1014a7]=_0x4513c2[_0x3e501c+_0x1014a7]|0x0;else{var _0xc1e40f=_0x4ccbdc[_0x1014a7-0x3]^_0x4ccbdc[_0x1014a7-0x8]^_0x4ccbdc[_0x1014a7-0xe]^_0x4ccbdc[_0x1014a7-0x10];_0x4ccbdc[_0x1014a7]=_0xc1e40f<<0x1|_0xc1e40f>>>0x1f;}var _0xbd4d00=(_0x57503e<<0x5|_0x57503e>>>0x1b)+_0x31efd0+_0x4ccbdc[_0x1014a7];_0x1014a7<0x14?_0xbd4d00+=(_0x274e78&_0x3615da|~_0x274e78&_0x52e69d)+0x5a827999:_0x1014a7<0x28?_0xbd4d00+=(_0x274e78^_0x3615da^_0x52e69d)+0x6ed9eba1:_0x1014a7<0x3c?_0xbd4d00+=(_0x274e78&_0x3615da|_0x274e78&_0x52e69d|_0x3615da&_0x52e69d)-0x70e44324:_0xbd4d00+=(_0x274e78^_0x3615da^_0x52e69d)-0x359d3e2a,_0x31efd0=_0x52e69d,_0x52e69d=_0x3615da,_0x3615da=_0x274e78<<0x1e|_0x274e78>>>0x2,_0x274e78=_0x57503e,_0x57503e=_0xbd4d00;}_0x10fb56[0x0]=_0x10fb56[0x0]+_0x57503e|0x0,_0x10fb56[0x1]=_0x10fb56[0x1]+_0x274e78|0x0,_0x10fb56[0x2]=_0x10fb56[0x2]+_0x3615da|0x0,_0x10fb56[0x3]=_0x10fb56[0x3]+_0x52e69d|0x0,_0x10fb56[0x4]=_0x10fb56[0x4]+_0x31efd0|0x0;},'_doFinalize':function(){var _0x474204=_0x24bc65,_0x191c59=this[_0x474204(0x3e7)],_0x125fe2=_0x191c59[_0x474204(0x3c9)],_0x4e62ef=this[_0x474204(0x1bf)]*0x8,_0x2b4d56=_0x191c59[_0x474204(0x2f8)]*0x8;return _0x125fe2[_0x2b4d56>>>0x5]|=0x80<<0x18-_0x2b4d56%0x20,_0x125fe2[(_0x2b4d56+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x4e62ef/0x100000000),_0x125fe2[(_0x2b4d56+0x40>>>0x9<<0x4)+0xf]=_0x4e62ef,_0x191c59[_0x474204(0x2f8)]=_0x125fe2[_0x474204(0x37d)]*0x4,this[_0x474204(0x155)](),this[_0x474204(0x3c8)];},'clone':function(){var _0x240cb3=_0x24bc65,_0x53f15b=_0x1bd817[_0x240cb3(0x16c)][_0x240cb3(0x2b8)](this);return _0x53f15b[_0x240cb3(0x3c8)]=this[_0x240cb3(0x3c8)]['clone'](),_0x53f15b;}});_0x546899['SHA1']=_0x1bd817[_0x24bc65(0x167)](_0x294286),_0x546899[_0x24bc65(0x1dd)]=_0x1bd817['_createHmacHelper'](_0x294286);}()),_0x58e8c5[_0x2089b8(0x103)];}));}(qe)),qe[_0x40b7b7(0xfe)];}var ze={'exports':{}},kr=ze[_0x40530a(0xfe)],ii;function jr(){var _0x46027d=_0x40530a;return ii||(ii=0x1,function(_0x44f9bc,_0x1aaf4f){(function(_0xcde62,_0x573faa){var _0x523974=_0x192f;_0x44f9bc[_0x523974(0xfe)]=_0x573faa(ne());}(kr,function(_0x121acb){(function(){var _0x2a2bf8=_0x192f,_0xe11455=_0x121acb,_0x32e3ce=_0xe11455[_0x2a2bf8(0x18b)],_0x824567=_0x32e3ce[_0x2a2bf8(0x218)],_0x11fb8f=_0xe11455[_0x2a2bf8(0x1b0)],_0x2c0d8f=_0x11fb8f['Utf8'],_0x706d1a=_0xe11455['algo'];_0x706d1a[_0x2a2bf8(0x165)]=_0x824567[_0x2a2bf8(0x2c5)]({'init':function(_0x66f636,_0x1c92de){var _0x856fee=_0x2a2bf8;_0x66f636=this[_0x856fee(0x312)]=new _0x66f636[(_0x856fee(0x3a9))](),typeof _0x1c92de==_0x856fee(0x16a)&&(_0x1c92de=_0x2c0d8f[_0x856fee(0x274)](_0x1c92de));var _0x492d64=_0x66f636[_0x856fee(0x2c3)],_0x48f320=_0x492d64*0x4;_0x1c92de[_0x856fee(0x2f8)]>_0x48f320&&(_0x1c92de=_0x66f636[_0x856fee(0x336)](_0x1c92de)),_0x1c92de[_0x856fee(0x3b4)]();for(var _0x58c806=this[_0x856fee(0x19b)]=_0x1c92de[_0x856fee(0x16c)](),_0x4bab91=this['_iKey']=_0x1c92de[_0x856fee(0x16c)](),_0x55d8f8=_0x58c806['words'],_0x4775ef=_0x4bab91[_0x856fee(0x3c9)],_0x11156d=0x0;_0x11156d<_0x492d64;_0x11156d++)_0x55d8f8[_0x11156d]^=0x5c5c5c5c,_0x4775ef[_0x11156d]^=0x36363636;_0x58c806['sigBytes']=_0x4bab91[_0x856fee(0x2f8)]=_0x48f320,this['reset']();},'reset':function(){var _0x4c82e5=_0x2a2bf8,_0x56497b=this[_0x4c82e5(0x312)];_0x56497b[_0x4c82e5(0x2b4)](),_0x56497b['update'](this[_0x4c82e5(0x2ee)]);},'update':function(_0x574926){var _0x366f3f=_0x2a2bf8;return this[_0x366f3f(0x312)][_0x366f3f(0x23e)](_0x574926),this;},'finalize':function(_0x1fe71e){var _0x5d5075=_0x2a2bf8,_0xe44c93=this['_hasher'],_0x1d09d0=_0xe44c93['finalize'](_0x1fe71e);_0xe44c93['reset']();var _0x4bc607=_0xe44c93[_0x5d5075(0x336)](this[_0x5d5075(0x19b)][_0x5d5075(0x16c)]()['concat'](_0x1d09d0));return _0x4bc607;}});}());}));}(ze)),ze[_0x46027d(0xfe)];}var Br=Ye[_0x40530a(0xfe)],ni;function Ui(){return ni||(ni=0x1,function(_0x4011aa,_0x3dab98){(function(_0x584afb,_0x5264db,_0x32381e){var _0x15859f=_0x192f;_0x4011aa[_0x15859f(0xfe)]=_0x5264db(ne(),Hr(),jr());}(Br,function(_0x1bcc48){var _0x281da1=_0x192f;return(function(){var _0x1300ad=_0x192f,_0x2eee81=_0x1bcc48,_0x20934d=_0x2eee81['lib'],_0x29e127=_0x20934d[_0x1300ad(0x218)],_0x5b4825=_0x20934d[_0x1300ad(0x1ad)],_0x452dd8=_0x2eee81[_0x1300ad(0x2e5)],_0x597d29=_0x452dd8[_0x1300ad(0x2ce)],_0x2ccf31=_0x452dd8[_0x1300ad(0x374)]=_0x29e127[_0x1300ad(0x2c5)]({'cfg':_0x29e127[_0x1300ad(0x2c5)]({'keySize':0x80/0x20,'hasher':_0x597d29,'iterations':0x1}),'init':function(_0x5700a9){var _0x2dc9c6=_0x1300ad;this[_0x2dc9c6(0x346)]=this['cfg'][_0x2dc9c6(0x2c5)](_0x5700a9);},'compute':function(_0x2bcf63,_0x364586){var _0xc116da=_0x1300ad;for(var _0x2c922d,_0x441f41=this[_0xc116da(0x346)],_0x2117a1=_0x441f41[_0xc116da(0x3b8)][_0xc116da(0x264)](),_0x50d072=_0x5b4825[_0xc116da(0x264)](),_0x3f2fe2=_0x50d072[_0xc116da(0x3c9)],_0x583975=_0x441f41[_0xc116da(0x10f)],_0x51d0db=_0x441f41[_0xc116da(0x235)];_0x3f2fe2[_0xc116da(0x37d)]<_0x583975;){_0x2c922d&&_0x2117a1[_0xc116da(0x23e)](_0x2c922d),_0x2c922d=_0x2117a1['update'](_0x2bcf63)['finalize'](_0x364586),_0x2117a1[_0xc116da(0x2b4)]();for(var _0x1b0901=0x1;_0x1b0901<_0x51d0db;_0x1b0901++)_0x2c922d=_0x2117a1['finalize'](_0x2c922d),_0x2117a1[_0xc116da(0x2b4)]();_0x50d072[_0xc116da(0x187)](_0x2c922d);}return _0x50d072[_0xc116da(0x2f8)]=_0x583975*0x4,_0x50d072;}});_0x2eee81[_0x1300ad(0x374)]=function(_0x9c2a10,_0x2857ec,_0x2f2b45){var _0x421822=_0x1300ad;return _0x2ccf31[_0x421822(0x264)](_0x2f2b45)[_0x421822(0x39b)](_0x9c2a10,_0x2857ec);};}()),_0x1bcc48[_0x281da1(0x374)];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Fr=Je['exports'],ri;function Ai(){var _0x2cca48=_0x40530a;return ri||(ri=0x1,function(_0x2e8bea,_0x1f90c1){(function(_0x32e694,_0xb12b14,_0x264a0){var _0x1b261f=_0x192f;_0x2e8bea[_0x1b261f(0xfe)]=_0xb12b14(ne(),Ui());}(Fr,function(_0x3369a6){var _0x4a5b24=_0x192f;_0x3369a6[_0x4a5b24(0x18b)][_0x4a5b24(0x1e5)]||function(_0x2068ad){var _0x2f49af=_0x4a5b24,_0x5d337c=_0x3369a6,_0xa1d1eb=_0x5d337c[_0x2f49af(0x18b)],_0x3c7362=_0xa1d1eb[_0x2f49af(0x218)],_0x36c236=_0xa1d1eb[_0x2f49af(0x1ad)],_0x45264f=_0xa1d1eb['BufferedBlockAlgorithm'],_0x5d110b=_0x5d337c[_0x2f49af(0x1b0)];_0x5d110b[_0x2f49af(0x34c)];var _0x23bdd5=_0x5d110b[_0x2f49af(0x15b)],_0x2bde15=_0x5d337c['algo'],_0x50e2a7=_0x2bde15[_0x2f49af(0x374)],_0x4467e0=_0xa1d1eb[_0x2f49af(0x1e5)]=_0x45264f['extend']({'cfg':_0x3c7362[_0x2f49af(0x2c5)](),'createEncryptor':function(_0x322aad,_0x58e6d0){var _0x37c256=_0x2f49af;return this[_0x37c256(0x264)](this['_ENC_XFORM_MODE'],_0x322aad,_0x58e6d0);},'createDecryptor':function(_0x3507f9,_0x70bbba){return this['create'](this['_DEC_XFORM_MODE'],_0x3507f9,_0x70bbba);},'init':function(_0x8017ed,_0x5cafe3,_0x27a4b5){var _0x3e94f3=_0x2f49af;this[_0x3e94f3(0x346)]=this[_0x3e94f3(0x346)][_0x3e94f3(0x2c5)](_0x27a4b5),this[_0x3e94f3(0x2b2)]=_0x8017ed,this[_0x3e94f3(0x1bd)]=_0x5cafe3,this[_0x3e94f3(0x2b4)]();},'reset':function(){var _0xc3a0b9=_0x2f49af;_0x45264f[_0xc3a0b9(0x2b4)]['call'](this),this[_0xc3a0b9(0x188)]();},'process':function(_0x2f563b){return this['_append'](_0x2f563b),this['_process']();},'finalize':function(_0x460e93){var _0x3760e1=_0x2f49af;_0x460e93&&this[_0x3760e1(0x2a2)](_0x460e93);var _0x31e4d6=this['_doFinalize']();return _0x31e4d6;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2210c0(_0x1e4c69){var _0x1be5b3=_0x192f;return typeof _0x1e4c69==_0x1be5b3(0x16a)?_0x5ea58b:_0x1ea639;}return function(_0x510415){return{'encrypt':function(_0x1427b5,_0x4b50b1,_0x2a98d6){var _0x4caf89=_0x192f;return _0x2210c0(_0x4b50b1)[_0x4caf89(0x1bc)](_0x510415,_0x1427b5,_0x4b50b1,_0x2a98d6);},'decrypt':function(_0x19d11b,_0x3a2831,_0x5f3a84){var _0x144194=_0x192f;return _0x2210c0(_0x3a2831)[_0x144194(0x368)](_0x510415,_0x19d11b,_0x3a2831,_0x5f3a84);}};};}())});_0xa1d1eb[_0x2f49af(0x1ab)]=_0x4467e0[_0x2f49af(0x2c5)]({'_doFinalize':function(){var _0x607c9f=_0x2f49af,_0x257978=this[_0x607c9f(0x155)](!0x0);return _0x257978;},'blockSize':0x1});var _0x55d4f6=_0x5d337c[_0x2f49af(0x204)]={},_0x37b8a2=_0xa1d1eb[_0x2f49af(0x3b3)]=_0x3c7362['extend']({'createEncryptor':function(_0x148656,_0x3a7add){return this['Encryptor']['create'](_0x148656,_0x3a7add);},'createDecryptor':function(_0x26354,_0x283c8d){var _0x50122a=_0x2f49af;return this[_0x50122a(0x373)][_0x50122a(0x264)](_0x26354,_0x283c8d);},'init':function(_0x297e2b,_0x1a0abf){var _0x1abf6b=_0x2f49af;this[_0x1abf6b(0x1f5)]=_0x297e2b,this[_0x1abf6b(0x2d2)]=_0x1a0abf;}}),_0x5e7eef=_0x55d4f6[_0x2f49af(0x24f)]=(function(){var _0xb773=_0x2f49af,_0x342485=_0x37b8a2[_0xb773(0x2c5)]();_0x342485[_0xb773(0x12d)]=_0x342485[_0xb773(0x2c5)]({'processBlock':function(_0x576010,_0x21dd6e){var _0x146620=_0xb773,_0x364d73=this[_0x146620(0x1f5)],_0x1da848=_0x364d73['blockSize'];_0x4e824a[_0x146620(0x2b8)](this,_0x576010,_0x21dd6e,_0x1da848),_0x364d73[_0x146620(0x3c5)](_0x576010,_0x21dd6e),this['_prevBlock']=_0x576010[_0x146620(0x186)](_0x21dd6e,_0x21dd6e+_0x1da848);}}),_0x342485[_0xb773(0x373)]=_0x342485[_0xb773(0x2c5)]({'processBlock':function(_0x5827bb,_0x469a82){var _0x1df9c5=_0xb773,_0x11f9d2=this[_0x1df9c5(0x1f5)],_0x47f744=_0x11f9d2[_0x1df9c5(0x2c3)],_0x3ca1da=_0x5827bb[_0x1df9c5(0x186)](_0x469a82,_0x469a82+_0x47f744);_0x11f9d2[_0x1df9c5(0x1fa)](_0x5827bb,_0x469a82),_0x4e824a[_0x1df9c5(0x2b8)](this,_0x5827bb,_0x469a82,_0x47f744),this[_0x1df9c5(0x23c)]=_0x3ca1da;}});function _0x4e824a(_0x17b2c5,_0x65b2a5,_0xa7c1e4){var _0x4f7c2a=_0xb773,_0x59d4fd,_0x948b0e=this['_iv'];_0x948b0e?(_0x59d4fd=_0x948b0e,this[_0x4f7c2a(0x2d2)]=_0x2068ad):_0x59d4fd=this['_prevBlock'];for(var _0x399096=0x0;_0x399096<_0xa7c1e4;_0x399096++)_0x17b2c5[_0x65b2a5+_0x399096]^=_0x59d4fd[_0x399096];}return _0x342485;}()),_0x4b29d0=_0x5d337c['pad']={},_0x30a594=_0x4b29d0[_0x2f49af(0x123)]={'pad':function(_0x4b356c,_0x4a795c){var _0x1e3e3c=_0x2f49af;for(var _0xc5a6ac=_0x4a795c*0x4,_0x2e81a8=_0xc5a6ac-_0x4b356c[_0x1e3e3c(0x2f8)]%_0xc5a6ac,_0x397cd6=_0x2e81a8<<0x18|_0x2e81a8<<0x10|_0x2e81a8<<0x8|_0x2e81a8,_0x4bc91e=[],_0x3ef394=0x0;_0x3ef394<_0x2e81a8;_0x3ef394+=0x4)_0x4bc91e[_0x1e3e3c(0x20a)](_0x397cd6);var _0xb8f63a=_0x36c236[_0x1e3e3c(0x264)](_0x4bc91e,_0x2e81a8);_0x4b356c[_0x1e3e3c(0x187)](_0xb8f63a);},'unpad':function(_0x2345d0){var _0x1bc8b5=_0x2f49af,_0x2fa35d=_0x2345d0[_0x1bc8b5(0x3c9)][_0x2345d0[_0x1bc8b5(0x2f8)]-0x1>>>0x2]&0xff;_0x2345d0[_0x1bc8b5(0x2f8)]-=_0x2fa35d;}};_0xa1d1eb[_0x2f49af(0x213)]=_0x4467e0[_0x2f49af(0x2c5)]({'cfg':_0x4467e0['cfg'][_0x2f49af(0x2c5)]({'mode':_0x5e7eef,'padding':_0x30a594}),'reset':function(){var _0x3b6448=_0x2f49af,_0x35fc16;_0x4467e0[_0x3b6448(0x2b4)][_0x3b6448(0x2b8)](this);var _0x11a88a=this[_0x3b6448(0x346)],_0x3e96f9=_0x11a88a['iv'],_0x2d2ae6=_0x11a88a[_0x3b6448(0x204)];this[_0x3b6448(0x2b2)]==this['_ENC_XFORM_MODE']?_0x35fc16=_0x2d2ae6[_0x3b6448(0x1a9)]:(_0x35fc16=_0x2d2ae6[_0x3b6448(0x350)],this[_0x3b6448(0x154)]=0x1),this[_0x3b6448(0x320)]&&this[_0x3b6448(0x320)]['__creator']==_0x35fc16?this[_0x3b6448(0x320)][_0x3b6448(0x3a9)](this,_0x3e96f9&&_0x3e96f9['words']):(this[_0x3b6448(0x320)]=_0x35fc16[_0x3b6448(0x2b8)](_0x2d2ae6,this,_0x3e96f9&&_0x3e96f9['words']),this['_mode'][_0x3b6448(0x3dc)]=_0x35fc16);},'_doProcessBlock':function(_0x2507c4,_0x40dc7b){var _0xb2ab89=_0x2f49af;this[_0xb2ab89(0x320)][_0xb2ab89(0x3a6)](_0x2507c4,_0x40dc7b);},'_doFinalize':function(){var _0x53d315=_0x2f49af,_0x5a91dc,_0x27cf08=this[_0x53d315(0x346)][_0x53d315(0x242)];return this[_0x53d315(0x2b2)]==this[_0x53d315(0x209)]?(_0x27cf08['pad'](this[_0x53d315(0x3e7)],this[_0x53d315(0x2c3)]),_0x5a91dc=this[_0x53d315(0x155)](!0x0)):(_0x5a91dc=this[_0x53d315(0x155)](!0x0),_0x27cf08[_0x53d315(0x34d)](_0x5a91dc)),_0x5a91dc;},'blockSize':0x80/0x20});var _0x9d00b4=_0xa1d1eb[_0x2f49af(0x22b)]=_0x3c7362['extend']({'init':function(_0x4a2caa){this['mixIn'](_0x4a2caa);},'toString':function(_0x6459f3){var _0x257ee3=_0x2f49af;return(_0x6459f3||this[_0x257ee3(0x1c5)])['stringify'](this);}}),_0x472fca=_0x5d337c['format']={},_0x4982d8=_0x472fca[_0x2f49af(0x13a)]={'stringify':function(_0x4f5341){var _0x16b518=_0x2f49af,_0xaf9797,_0x482fc8=_0x4f5341['ciphertext'],_0x2964e9=_0x4f5341[_0x16b518(0x3b1)];return _0x2964e9?_0xaf9797=_0x36c236[_0x16b518(0x264)]([0x53616c74,0x65645f5f])[_0x16b518(0x187)](_0x2964e9)['concat'](_0x482fc8):_0xaf9797=_0x482fc8,_0xaf9797[_0x16b518(0x1f3)](_0x23bdd5);},'parse':function(_0xe1394){var _0x38a1df=_0x2f49af,_0x13fd88,_0x253ba4=_0x23bdd5[_0x38a1df(0x274)](_0xe1394),_0x496f22=_0x253ba4[_0x38a1df(0x3c9)];return _0x496f22[0x0]==0x53616c74&&_0x496f22[0x1]==0x65645f5f&&(_0x13fd88=_0x36c236[_0x38a1df(0x264)](_0x496f22['slice'](0x2,0x4)),_0x496f22[_0x38a1df(0x16e)](0x0,0x4),_0x253ba4[_0x38a1df(0x2f8)]-=0x10),_0x9d00b4[_0x38a1df(0x264)]({'ciphertext':_0x253ba4,'salt':_0x13fd88});}},_0x1ea639=_0xa1d1eb[_0x2f49af(0x344)]=_0x3c7362[_0x2f49af(0x2c5)]({'cfg':_0x3c7362[_0x2f49af(0x2c5)]({'format':_0x4982d8}),'encrypt':function(_0x4db84b,_0x4d2190,_0x387e47,_0x2fae4f){var _0x23e3cf=_0x2f49af;_0x2fae4f=this[_0x23e3cf(0x346)]['extend'](_0x2fae4f);var _0x583f82=_0x4db84b[_0x23e3cf(0x1a9)](_0x387e47,_0x2fae4f),_0x4d8111=_0x583f82[_0x23e3cf(0x336)](_0x4d2190),_0x4db614=_0x583f82[_0x23e3cf(0x346)];return _0x9d00b4['create']({'ciphertext':_0x4d8111,'key':_0x387e47,'iv':_0x4db614['iv'],'algorithm':_0x4db84b,'mode':_0x4db614[_0x23e3cf(0x204)],'padding':_0x4db614[_0x23e3cf(0x242)],'blockSize':_0x4db84b[_0x23e3cf(0x2c3)],'formatter':_0x2fae4f['format']});},'decrypt':function(_0x47b0f1,_0x2a916a,_0xb103e7,_0x3abf21){var _0xec6343=_0x2f49af;_0x3abf21=this[_0xec6343(0x346)][_0xec6343(0x2c5)](_0x3abf21),_0x2a916a=this['_parse'](_0x2a916a,_0x3abf21[_0xec6343(0x2f4)]);var _0x15fe84=_0x47b0f1['createDecryptor'](_0xb103e7,_0x3abf21)[_0xec6343(0x336)](_0x2a916a['ciphertext']);return _0x15fe84;},'_parse':function(_0x29f149,_0x2a075e){var _0x1964e6=_0x2f49af;return typeof _0x29f149==_0x1964e6(0x16a)?_0x2a075e[_0x1964e6(0x274)](_0x29f149,this):_0x29f149;}}),_0x2d8c0a=_0x5d337c[_0x2f49af(0xe2)]={},_0x14f857=_0x2d8c0a[_0x2f49af(0x13a)]={'execute':function(_0x48330b,_0x2907d0,_0x413769,_0x53e3d7,_0x3e6d69){var _0x52a908=_0x2f49af;if(_0x53e3d7||(_0x53e3d7=_0x36c236[_0x52a908(0x2c6)](0x40/0x8)),_0x3e6d69)var _0x5a17f4=_0x50e2a7[_0x52a908(0x264)]({'keySize':_0x2907d0+_0x413769,'hasher':_0x3e6d69})[_0x52a908(0x39b)](_0x48330b,_0x53e3d7);else var _0x5a17f4=_0x50e2a7[_0x52a908(0x264)]({'keySize':_0x2907d0+_0x413769})[_0x52a908(0x39b)](_0x48330b,_0x53e3d7);var _0x1df60c=_0x36c236['create'](_0x5a17f4[_0x52a908(0x3c9)]['slice'](_0x2907d0),_0x413769*0x4);return _0x5a17f4[_0x52a908(0x2f8)]=_0x2907d0*0x4,_0x9d00b4[_0x52a908(0x264)]({'key':_0x5a17f4,'iv':_0x1df60c,'salt':_0x53e3d7});}},_0x5ea58b=_0xa1d1eb[_0x2f49af(0x397)]=_0x1ea639[_0x2f49af(0x2c5)]({'cfg':_0x1ea639['cfg'][_0x2f49af(0x2c5)]({'kdf':_0x14f857}),'encrypt':function(_0x31107c,_0x33e4b3,_0x16efeb,_0x282941){var _0x594705=_0x2f49af;_0x282941=this[_0x594705(0x346)]['extend'](_0x282941);var _0x413153=_0x282941[_0x594705(0xe2)]['execute'](_0x16efeb,_0x31107c[_0x594705(0x10f)],_0x31107c[_0x594705(0x266)],_0x282941[_0x594705(0x3b1)],_0x282941[_0x594705(0x3b8)]);_0x282941['iv']=_0x413153['iv'];var _0x1a0189=_0x1ea639[_0x594705(0x1bc)][_0x594705(0x2b8)](this,_0x31107c,_0x33e4b3,_0x413153[_0x594705(0x15a)],_0x282941);return _0x1a0189[_0x594705(0x3b2)](_0x413153),_0x1a0189;},'decrypt':function(_0x3614a4,_0x3cf331,_0x207775,_0x1f4d37){var _0xa88919=_0x2f49af;_0x1f4d37=this[_0xa88919(0x346)]['extend'](_0x1f4d37),_0x3cf331=this[_0xa88919(0x38e)](_0x3cf331,_0x1f4d37['format']);var _0xf4f323=_0x1f4d37[_0xa88919(0xe2)][_0xa88919(0x3ac)](_0x207775,_0x3614a4[_0xa88919(0x10f)],_0x3614a4[_0xa88919(0x266)],_0x3cf331[_0xa88919(0x3b1)],_0x1f4d37[_0xa88919(0x3b8)]);_0x1f4d37['iv']=_0xf4f323['iv'];var _0x50b768=_0x1ea639[_0xa88919(0x368)][_0xa88919(0x2b8)](this,_0x3614a4,_0x3cf331,_0xf4f323[_0xa88919(0x15a)],_0x1f4d37);return _0x50b768;}});}();}));}(Je)),Je[_0x2cca48(0xfe)];}var Vr=Ve[_0x40530a(0xfe)],si;function Gr(){var _0x143957=_0x40530a;return si||(si=0x1,function(_0x73911e,_0x115077){(function(_0x199591,_0x445753,_0xabc448){var _0x4f81c8=_0x192f;_0x73911e[_0x4f81c8(0xfe)]=_0x445753(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x47f8cc){var _0x8653b1=_0x192f;return(function(){var _0x268e87=_0x192f,_0x4db3c3=_0x47f8cc,_0x11cd56=_0x4db3c3[_0x268e87(0x18b)],_0x13f8a9=_0x11cd56[_0x268e87(0x213)],_0x37044d=_0x4db3c3['algo'],_0x1f14cc=[],_0x99cb38=[],_0x1c9142=[],_0x10e3ea=[],_0x43183e=[],_0x32f456=[],_0x4fe85c=[],_0x3914e3=[],_0x4385ec=[],_0x45b164=[];(function(){for(var _0x566125=[],_0x17970d=0x0;_0x17970d<0x100;_0x17970d++)_0x17970d<0x80?_0x566125[_0x17970d]=_0x17970d<<0x1:_0x566125[_0x17970d]=_0x17970d<<0x1^0x11b;for(var _0x301a71=0x0,_0x597ac1=0x0,_0x17970d=0x0;_0x17970d<0x100;_0x17970d++){var _0x3dfc4b=_0x597ac1^_0x597ac1<<0x1^_0x597ac1<<0x2^_0x597ac1<<0x3^_0x597ac1<<0x4;_0x3dfc4b=_0x3dfc4b>>>0x8^_0x3dfc4b&0xff^0x63,_0x1f14cc[_0x301a71]=_0x3dfc4b,_0x99cb38[_0x3dfc4b]=_0x301a71;var _0x50d582=_0x566125[_0x301a71],_0x1dd8d9=_0x566125[_0x50d582],_0x179324=_0x566125[_0x1dd8d9],_0x145b59=_0x566125[_0x3dfc4b]*0x101^_0x3dfc4b*0x1010100;_0x1c9142[_0x301a71]=_0x145b59<<0x18|_0x145b59>>>0x8,_0x10e3ea[_0x301a71]=_0x145b59<<0x10|_0x145b59>>>0x10,_0x43183e[_0x301a71]=_0x145b59<<0x8|_0x145b59>>>0x18,_0x32f456[_0x301a71]=_0x145b59;var _0x145b59=_0x179324*0x1010101^_0x1dd8d9*0x10001^_0x50d582*0x101^_0x301a71*0x1010100;_0x4fe85c[_0x3dfc4b]=_0x145b59<<0x18|_0x145b59>>>0x8,_0x3914e3[_0x3dfc4b]=_0x145b59<<0x10|_0x145b59>>>0x10,_0x4385ec[_0x3dfc4b]=_0x145b59<<0x8|_0x145b59>>>0x18,_0x45b164[_0x3dfc4b]=_0x145b59,_0x301a71?(_0x301a71=_0x50d582^_0x566125[_0x566125[_0x566125[_0x179324^_0x50d582]]],_0x597ac1^=_0x566125[_0x566125[_0x597ac1]]):_0x301a71=_0x597ac1=0x1;}}());var _0x1e76af=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4c7d3f=_0x37044d[_0x268e87(0x33c)]=_0x13f8a9[_0x268e87(0x2c5)]({'_doReset':function(){var _0xed4b2f=_0x268e87,_0x12f25b;if(!(this[_0xed4b2f(0x1fd)]&&this[_0xed4b2f(0x178)]===this[_0xed4b2f(0x1bd)])){for(var _0x3bf024=this[_0xed4b2f(0x178)]=this[_0xed4b2f(0x1bd)],_0x45f525=_0x3bf024[_0xed4b2f(0x3c9)],_0x75ca58=_0x3bf024[_0xed4b2f(0x2f8)]/0x4,_0x2b3e4a=this[_0xed4b2f(0x1fd)]=_0x75ca58+0x6,_0x3a6e8e=(_0x2b3e4a+0x1)*0x4,_0x2c8fc4=this[_0xed4b2f(0x317)]=[],_0x35e673=0x0;_0x35e673<_0x3a6e8e;_0x35e673++)_0x35e673<_0x75ca58?_0x2c8fc4[_0x35e673]=_0x45f525[_0x35e673]:(_0x12f25b=_0x2c8fc4[_0x35e673-0x1],_0x35e673%_0x75ca58?_0x75ca58>0x6&&_0x35e673%_0x75ca58==0x4&&(_0x12f25b=_0x1f14cc[_0x12f25b>>>0x18]<<0x18|_0x1f14cc[_0x12f25b>>>0x10&0xff]<<0x10|_0x1f14cc[_0x12f25b>>>0x8&0xff]<<0x8|_0x1f14cc[_0x12f25b&0xff]):(_0x12f25b=_0x12f25b<<0x8|_0x12f25b>>>0x18,_0x12f25b=_0x1f14cc[_0x12f25b>>>0x18]<<0x18|_0x1f14cc[_0x12f25b>>>0x10&0xff]<<0x10|_0x1f14cc[_0x12f25b>>>0x8&0xff]<<0x8|_0x1f14cc[_0x12f25b&0xff],_0x12f25b^=_0x1e76af[_0x35e673/_0x75ca58|0x0]<<0x18),_0x2c8fc4[_0x35e673]=_0x2c8fc4[_0x35e673-_0x75ca58]^_0x12f25b);for(var _0xf898ec=this[_0xed4b2f(0x360)]=[],_0x4ce610=0x0;_0x4ce610<_0x3a6e8e;_0x4ce610++){var _0x35e673=_0x3a6e8e-_0x4ce610;if(_0x4ce610%0x4)var _0x12f25b=_0x2c8fc4[_0x35e673];else var _0x12f25b=_0x2c8fc4[_0x35e673-0x4];_0x4ce610<0x4||_0x35e673<=0x4?_0xf898ec[_0x4ce610]=_0x12f25b:_0xf898ec[_0x4ce610]=_0x4fe85c[_0x1f14cc[_0x12f25b>>>0x18]]^_0x3914e3[_0x1f14cc[_0x12f25b>>>0x10&0xff]]^_0x4385ec[_0x1f14cc[_0x12f25b>>>0x8&0xff]]^_0x45b164[_0x1f14cc[_0x12f25b&0xff]];}}},'encryptBlock':function(_0x41cb04,_0x2316b4){var _0x2a68ee=_0x268e87;this[_0x2a68ee(0x196)](_0x41cb04,_0x2316b4,this[_0x2a68ee(0x317)],_0x1c9142,_0x10e3ea,_0x43183e,_0x32f456,_0x1f14cc);},'decryptBlock':function(_0x4bbe54,_0x2d4a86){var _0x2baab8=_0x268e87,_0x51e87b=_0x4bbe54[_0x2d4a86+0x1];_0x4bbe54[_0x2d4a86+0x1]=_0x4bbe54[_0x2d4a86+0x3],_0x4bbe54[_0x2d4a86+0x3]=_0x51e87b,this[_0x2baab8(0x196)](_0x4bbe54,_0x2d4a86,this[_0x2baab8(0x360)],_0x4fe85c,_0x3914e3,_0x4385ec,_0x45b164,_0x99cb38);var _0x51e87b=_0x4bbe54[_0x2d4a86+0x1];_0x4bbe54[_0x2d4a86+0x1]=_0x4bbe54[_0x2d4a86+0x3],_0x4bbe54[_0x2d4a86+0x3]=_0x51e87b;},'_doCryptBlock':function(_0x1e0c14,_0x332167,_0x4ebf7d,_0x3a0977,_0x2ec9b7,_0xa301b2,_0x319a27,_0x41feac){for(var _0x3b0600=this['_nRounds'],_0x297270=_0x1e0c14[_0x332167]^_0x4ebf7d[0x0],_0x492450=_0x1e0c14[_0x332167+0x1]^_0x4ebf7d[0x1],_0x360440=_0x1e0c14[_0x332167+0x2]^_0x4ebf7d[0x2],_0x23db4d=_0x1e0c14[_0x332167+0x3]^_0x4ebf7d[0x3],_0x4704fa=0x4,_0x29fa87=0x1;_0x29fa87<_0x3b0600;_0x29fa87++){var _0x27b68a=_0x3a0977[_0x297270>>>0x18]^_0x2ec9b7[_0x492450>>>0x10&0xff]^_0xa301b2[_0x360440>>>0x8&0xff]^_0x319a27[_0x23db4d&0xff]^_0x4ebf7d[_0x4704fa++],_0x3c2c02=_0x3a0977[_0x492450>>>0x18]^_0x2ec9b7[_0x360440>>>0x10&0xff]^_0xa301b2[_0x23db4d>>>0x8&0xff]^_0x319a27[_0x297270&0xff]^_0x4ebf7d[_0x4704fa++],_0x43bad1=_0x3a0977[_0x360440>>>0x18]^_0x2ec9b7[_0x23db4d>>>0x10&0xff]^_0xa301b2[_0x297270>>>0x8&0xff]^_0x319a27[_0x492450&0xff]^_0x4ebf7d[_0x4704fa++],_0x1be616=_0x3a0977[_0x23db4d>>>0x18]^_0x2ec9b7[_0x297270>>>0x10&0xff]^_0xa301b2[_0x492450>>>0x8&0xff]^_0x319a27[_0x360440&0xff]^_0x4ebf7d[_0x4704fa++];_0x297270=_0x27b68a,_0x492450=_0x3c2c02,_0x360440=_0x43bad1,_0x23db4d=_0x1be616;}var _0x27b68a=(_0x41feac[_0x297270>>>0x18]<<0x18|_0x41feac[_0x492450>>>0x10&0xff]<<0x10|_0x41feac[_0x360440>>>0x8&0xff]<<0x8|_0x41feac[_0x23db4d&0xff])^_0x4ebf7d[_0x4704fa++],_0x3c2c02=(_0x41feac[_0x492450>>>0x18]<<0x18|_0x41feac[_0x360440>>>0x10&0xff]<<0x10|_0x41feac[_0x23db4d>>>0x8&0xff]<<0x8|_0x41feac[_0x297270&0xff])^_0x4ebf7d[_0x4704fa++],_0x43bad1=(_0x41feac[_0x360440>>>0x18]<<0x18|_0x41feac[_0x23db4d>>>0x10&0xff]<<0x10|_0x41feac[_0x297270>>>0x8&0xff]<<0x8|_0x41feac[_0x492450&0xff])^_0x4ebf7d[_0x4704fa++],_0x1be616=(_0x41feac[_0x23db4d>>>0x18]<<0x18|_0x41feac[_0x297270>>>0x10&0xff]<<0x10|_0x41feac[_0x492450>>>0x8&0xff]<<0x8|_0x41feac[_0x360440&0xff])^_0x4ebf7d[_0x4704fa++];_0x1e0c14[_0x332167]=_0x27b68a,_0x1e0c14[_0x332167+0x1]=_0x3c2c02,_0x1e0c14[_0x332167+0x2]=_0x43bad1,_0x1e0c14[_0x332167+0x3]=_0x1be616;},'keySize':0x100/0x20});_0x4db3c3[_0x268e87(0x33c)]=_0x13f8a9[_0x268e87(0x167)](_0x4c7d3f);}()),_0x47f8cc[_0x8653b1(0x33c)];}));}(Ve)),Ve[_0x143957(0xfe)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe['exports'],ai;function zr(){var _0x3f774a=_0x40530a;return ai||(ai=0x1,function(_0x3e5b73,_0x2adb0d){(function(_0x302c6f,_0x76cd2f){var _0x742bb7=_0x192f;_0x3e5b73[_0x742bb7(0xfe)]=_0x76cd2f(ne());}(qr,function(_0x4f1f22){var _0x57f94b=_0x192f;return _0x4f1f22[_0x57f94b(0x1b0)][_0x57f94b(0x34c)];}));}(Xe)),Xe[_0x3f774a(0xfe)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze['exports'],ci;function Qr(){var _0x17ea82=_0x40530a;return ci||(ci=0x1,function(_0x334e33,_0xd4f4d5){(function(_0x456024,_0x260753){var _0x43956b=_0x192f;_0x334e33[_0x43956b(0xfe)]=_0x260753(ne());}(Zr,function(_0x41ad52){var _0x2b83c5=_0x192f;return(function(){var _0x2600d8=_0x192f;if(typeof ArrayBuffer==_0x2600d8(0x1ec)){var _0x15fc43=_0x41ad52,_0xee8e26=_0x15fc43['lib'],_0x5d8050=_0xee8e26[_0x2600d8(0x1ad)],_0xffb500=_0x5d8050[_0x2600d8(0x3a9)],_0x35182a=_0x5d8050[_0x2600d8(0x3a9)]=function(_0xcd7ce4){var _0x3dc55b=_0x2600d8;if(_0xcd7ce4 instanceof ArrayBuffer&&(_0xcd7ce4=new Uint8Array(_0xcd7ce4)),(_0xcd7ce4 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xcd7ce4 instanceof Uint8ClampedArray||_0xcd7ce4 instanceof Int16Array||_0xcd7ce4 instanceof Uint16Array||_0xcd7ce4 instanceof Int32Array||_0xcd7ce4 instanceof Uint32Array||_0xcd7ce4 instanceof Float32Array||_0xcd7ce4 instanceof Float64Array)&&(_0xcd7ce4=new Uint8Array(_0xcd7ce4[_0x3dc55b(0x337)],_0xcd7ce4[_0x3dc55b(0x3c1)],_0xcd7ce4[_0x3dc55b(0x3c3)])),_0xcd7ce4 instanceof Uint8Array){for(var _0x230cf9=_0xcd7ce4[_0x3dc55b(0x3c3)],_0x350fe6=[],_0x340f62=0x0;_0x340f62<_0x230cf9;_0x340f62++)_0x350fe6[_0x340f62>>>0x2]|=_0xcd7ce4[_0x340f62]<<0x18-_0x340f62%0x4*0x8;_0xffb500[_0x3dc55b(0x2b8)](this,_0x350fe6,_0x230cf9);}else _0xffb500[_0x3dc55b(0x2ef)](this,arguments);};_0x35182a['prototype']=_0x5d8050;}}()),_0x41ad52[_0x2b83c5(0x18b)]['WordArray'];}));}(Ze)),Ze[_0x17ea82(0xfe)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x40530a(0xfe)],hi;function ns(){var _0x4d863d=_0x40530a;return hi||(hi=0x1,function(_0x50411c,_0x1a9bb7){(function(_0x340cd0,_0x3c1ce2,_0x418bb6){var _0x2b1d0b=_0x192f;_0x50411c[_0x2b1d0b(0xfe)]=_0x3c1ce2(ne(),Ai());}(is,function(_0x28ca69){var _0x1e9b8f=_0x192f;return _0x28ca69[_0x1e9b8f(0x240)][_0x1e9b8f(0x138)]={'pad':function(){},'unpad':function(){}},_0x28ca69['pad']['NoPadding'];}));}(Qe)),Qe[_0x4d863d(0xfe)];}var rs=ns();const ss=ke(rs);function os(_0x40a550,_0x9a03ff){var _0x18b130=_0x40530a;const _0x34dc7e=_0x9a03ff-_0x40a550[_0x18b130(0x37d)]%_0x9a03ff,_0x5dbc6f=String['fromCharCode'](_0x34dc7e)[_0x18b130(0x1fe)](_0x34dc7e);return _0x40a550+_0x5dbc6f;}function as(_0x223381,_0x16f62c){var _0x3dfb12=_0x40530a;const _0xf2af42=ts[_0x3dfb12(0x2c6)](0x10),_0x106dce=os(_0x223381,0x10),_0x467e96=Kr[_0x3dfb12(0x1bc)](Xr[_0x3dfb12(0x274)](_0x106dce),oi['parse'](_0x16f62c),{'iv':_0xf2af42,'padding':ss});return _0xf2af42[_0x3dfb12(0x187)](_0x467e96[_0x3dfb12(0x130)])['toString'](oi);}function cs(){var _0x421c68=_0x40530a;const _0x2ee118=_0x25f0f0()[_0x421c68(0x108)];if(_0x2ee118){const _0x578195={'time':Math['floor'](Date[_0x421c68(0x385)]()/0x3e8),'domain':location[_0x421c68(0x2ab)]};return as(JSON['stringify'](_0x578195),_0x2ee118);}}var hs=Object[_0x40530a(0x27d)],_s=Object['getOwnPropertyDescriptor'],ls=(_0xd40562,_0x371d4d,_0x2eeb46,_0x154b7d)=>{var _0x166e4e=_0x40530a;for(var _0x1592d5=_0x154b7d>0x1?void 0x0:_0x154b7d?_s(_0x371d4d,_0x2eeb46):_0x371d4d,_0x36e5ae=_0xd40562[_0x166e4e(0x37d)]-0x1,_0x2611e3;_0x36e5ae>=0x0;_0x36e5ae--)(_0x2611e3=_0xd40562[_0x36e5ae])&&(_0x1592d5=(_0x154b7d?_0x2611e3(_0x371d4d,_0x2eeb46,_0x1592d5):_0x2611e3(_0x1592d5))||_0x1592d5);return _0x154b7d&&_0x1592d5&&hs(_0x371d4d,_0x2eeb46,_0x1592d5),_0x1592d5;},us=(_0x4af407,_0x5afdfa)=>(_0x580495,_0x549dcb)=>_0x5afdfa(_0x580495,_0x549dcb,_0x4af407);let ot=class{constructor(_0x161098){var _0x39a0fc=_0x40530a;this[_0x39a0fc(0x24d)]=_0x161098,this['_initRequestHeader']();}[_0x40530a(0x14f)](){var _0x527295=_0x40530a;this['_httpService'][_0x527295(0x141)]({'interceptor':(_0x258319,_0x31c0c2)=>{var _0x271c1b=_0x527295;const _0x472124=_0x258319[_0x271c1b(0x321)],_0x4a0b1e=cs();return _0x4a0b1e&&_0x472124['set']('x-univer-host',_0x4a0b1e),_0x31c0c2(_0x258319);}});}};ot=ls([us(0x0,_0x48db98(_0x3ce2dc))],ot);var ds=Object[_0x40530a(0x27d)],fs=Object[_0x40530a(0x338)],vs=(_0x2bb614,_0x236f74,_0xb27d3a,_0x54a1e3)=>{for(var _0x19d600=_0x54a1e3>0x1?void 0x0:_0x54a1e3?fs(_0x236f74,_0xb27d3a):_0x236f74,_0x392fed=_0x2bb614['length']-0x1,_0x11b5cd;_0x392fed>=0x0;_0x392fed--)(_0x11b5cd=_0x2bb614[_0x392fed])&&(_0x19d600=(_0x54a1e3?_0x11b5cd(_0x236f74,_0xb27d3a,_0x19d600):_0x11b5cd(_0x19d600))||_0x19d600);return _0x54a1e3&&_0x19d600&&ds(_0x236f74,_0xb27d3a,_0x19d600),_0x19d600;},mt=(_0x2179c5,_0x521cbc)=>(_0x4fad20,_0x529e06)=>_0x521cbc(_0x4fad20,_0x529e06,_0x2179c5);let Ot=class extends _0x18f063{constructor(_0x85f8d4,_0x5068d2,_0x41a146){var _0x431e52=_0x40530a;super(),N(this,'_unitInfo$',new _0x1379a3(null)),N(this,_0x431e52(0x32d),this[_0x431e52(0x3b5)][_0x431e52(0x303)]()),(this['_logService']=_0x85f8d4,this[_0x431e52(0x1db)]=_0x5068d2,this[_0x431e52(0x2ca)]=_0x41a146);}async[_0x40530a(0x151)](_0x229e2d,_0x39b5a1,_0x5f44d2){var _0x1b3bb8=_0x40530a;this[_0x1b3bb8(0x3b5)][_0x1b3bb8(0x362)]({'unitId':_0x229e2d,'type':_0x39b5a1,'subUnitId':_0x5f44d2});let _0x132926=null;switch(_0x39b5a1){case Q[_0x1b3bb8(0x39e)]:{_0x132926=await this[_0x1b3bb8(0x257)](_0x229e2d);break;}case Q[_0x1b3bb8(0x284)]:{_0x132926=await this['_loadDoc'](_0x229e2d);break;}default:{this[_0x1b3bb8(0x278)][_0x1b3bb8(0xf4)](_0x1b3bb8(0x268),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x132926;}async[_0x40530a(0x257)](_0x58c816){var _0x39d904=_0x40530a,_0x1919e8;let _0x49f92c=0x0;const _0x5cb3e4=await((_0x1919e8=this[_0x39d904(0x2ca)])==null?void 0x0:_0x1919e8[_0x39d904(0x2bb)](_0x58c816));return _0x5cb3e4&&(_0x5cb3e4['awaitingChangeset']||_0x5cb3e4[_0x39d904(0x1b5)][_0x39d904(0x37d)]!==0x0)&&(_0x49f92c=_0x5cb3e4[_0x39d904(0x39f)]),_0x49f92c===0x0&&this[_0x39d904(0x278)][_0x39d904(0x2d8)](_0x39d904(0x268),_0x39d904(0x129)),this['_snapshotService'][_0x39d904(0x2e7)](_0x58c816,_0x49f92c);}async['_loadDoc'](_0x57ed18){var _0xa79347=_0x40530a,_0x3be98e;let _0x308cb6=0x0;const _0x582b43=await((_0x3be98e=this[_0xa79347(0x2ca)])==null?void 0x0:_0x3be98e[_0xa79347(0x2bb)](_0x57ed18));return _0x582b43&&(_0x582b43[_0xa79347(0x1d8)]||_0x582b43[_0xa79347(0x1b5)]['length']!==0x0)&&(_0x308cb6=_0x582b43[_0xa79347(0x39f)]),_0x308cb6===0x0&&this['_logService'][_0xa79347(0x2d8)](_0xa79347(0x268),_0xa79347(0x129)),this[_0xa79347(0x1db)][_0xa79347(0x27b)](_0x57ed18,_0x308cb6);}};Ot=vs([mt(0x0,_0x6e98f),mt(0x1,_0x48db98(_0x4e4c12)),mt(0x2,_0x5b33db(J))],Ot);var ps=Object[_0x40530a(0x27d)],ms=Object[_0x40530a(0x338)],gs=(_0x4ecd2b,_0xb26a97,_0x3cb35f,_0x656c8c)=>{var _0x1435cc=_0x40530a;for(var _0x162487=_0x656c8c>0x1?void 0x0:_0x656c8c?ms(_0xb26a97,_0x3cb35f):_0xb26a97,_0xc270dc=_0x4ecd2b[_0x1435cc(0x37d)]-0x1,_0x442421;_0xc270dc>=0x0;_0xc270dc--)(_0x442421=_0x4ecd2b[_0xc270dc])&&(_0x162487=(_0x656c8c?_0x442421(_0xb26a97,_0x3cb35f,_0x162487):_0x442421(_0x162487))||_0x162487);return _0x656c8c&&_0x162487&&ps(_0xb26a97,_0x3cb35f,_0x162487),_0x162487;},gt=(_0x3871d1,_0x17a63a)=>(_0x5e6ad9,_0x5226eb)=>_0x17a63a(_0x5e6ad9,_0x5226eb,_0x3871d1);const Ss=[_0x40530a(0x219),'image/jpeg',_0x40530a(0x2a4),_0x40530a(0x1c8),'image/bmp'],Es=0x5*0x400*0x400,Is=_0x40530a(0x15c),Ts=_0x40530a(0x251),Cs='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Rs=_0x40530a(0x2e1);function _0x192f(_0xb21a9e,_0x4a226f){var _0x5db002=_0x5db0();return _0x192f=function(_0x192f5d,_0x7f5404){_0x192f5d=_0x192f5d-0xdf;var _0x799787=_0x5db002[_0x192f5d];return _0x799787;},_0x192f(_0xb21a9e,_0x4a226f);}let yt=class{constructor(_0x16157c,_0x54dbc3,_0x4e34c4){var _0x524316=_0x40530a;N(this,'_waitCount',0x0),N(this,_0x524316(0x31c),new _0x3da80f()),N(this,'change$',this[_0x524316(0x31c)]),N(this,_0x524316(0x26a),new Map()),(this[_0x524316(0x24d)]=_0x16157c,this[_0x524316(0xf8)]=_0x54dbc3,this[_0x524316(0x305)]=_0x4e34c4);}[_0x40530a(0x2cb)](_0x14dd2a){var _0x5ba2e1=_0x40530a;this['_waitCount']=_0x14dd2a,this[_0x5ba2e1(0x31c)][_0x5ba2e1(0x362)](_0x14dd2a);}['getImageSourceCache'](_0x537d84,_0x54562d){var _0x943f1c=_0x40530a;if(_0x54562d===_0x595b24[_0x943f1c(0x3b6)]){const _0x427e02=new Image();return _0x427e02[_0x943f1c(0x301)]=_0x537d84,_0x427e02;}return this['_imageSourceCache']['get'](_0x537d84);}['addImageSourceCache'](_0x1ccd0c,_0x4fe258,_0x4fda1a){var _0x39a5ce=_0x40530a;_0x4fe258===_0x595b24[_0x39a5ce(0x3b6)]||_0x4fda1a==null||this[_0x39a5ce(0x26a)][_0x39a5ce(0x2da)](_0x1ccd0c,_0x4fda1a);}async[_0x40530a(0x34a)](_0x45cfde){var _0x326f5b=_0x40530a;try{const _0x13b319=this[_0x326f5b(0xee)](this['_getSignURL'](),''+_0x45cfde),_0x255d98=(await this['_httpService'][_0x326f5b(0x27f)](_0x13b319))[_0x326f5b(0x37f)];if(_0x255d98[_0x326f5b(0xf4)]&&_0x255d98['error'][_0x326f5b(0x1fb)]===Ii['OK']){const _0x444390=new URL(_0x255d98[_0x326f5b(0x2cc)],this[_0x326f5b(0x1a3)]())['toString']();return Promise[_0x326f5b(0x198)](_0x444390);}return Promise['reject'](_0x255d98[_0x326f5b(0xf4)]);}catch(_0x20eba2){return Promise['reject'](_0x20eba2);}}async[_0x40530a(0x3c6)](_0x560d27){var _0x17430e=_0x40530a;let _0x10cced='';if(!Ss['includes'](_0x560d27[_0x17430e(0x247)]))return this[_0x17430e(0x392)](),Promise[_0x17430e(0x12a)](new Error(_0x3fbe7b['ERROR_IMAGE_TYPE']));if(_0x560d27['size']>Es)return this[_0x17430e(0x392)](),Promise['reject'](new Error(_0x3fbe7b[_0x17430e(0x231)]));try{const _0x214d83=new FormData();_0x214d83['append'](_0x17430e(0x1dc),_0x560d27);const _0x17d8d5=this[_0x17430e(0x305)][_0x17430e(0x13b)](),_0x2a9af6=_0x17d8d5==null?void 0x0:_0x17d8d5['getUnitId']();if(!_0x2a9af6)throw new Error(_0x17430e(0x28c));const _0x18b967=this['_getUploadFileURL']()+_0x17430e(0x156)+_0x560d27[_0x17430e(0x3a7)][_0x17430e(0x1f3)]()+_0x17430e(0x1c2)+Ti['UnitEmbedded']+_0x17430e(0x281)+encodeURIComponent(_0x2a9af6),_0x31b357=await(await fetch(_0x18b967,{'method':_0x17430e(0x1b6),'body':_0x214d83}))[_0x17430e(0x299)]();if(typeof _0x31b357[_0x17430e(0x267)]!=_0x17430e(0x16a))return this[_0x17430e(0x392)](),Promise[_0x17430e(0x12a)](new Error(_0x3fbe7b[_0x17430e(0x369)]));_0x10cced=_0x31b357['FileId'];}catch{return this[_0x17430e(0x392)](),Promise[_0x17430e(0x12a)](new Error(_0x3fbe7b[_0x17430e(0x369)]));}return new Promise((_0x4fe5dc,_0x496356)=>{var _0x2d11e5=_0x17430e;const _0x2a14f2=new FileReader();_0x2a14f2[_0x2d11e5(0x260)](_0x560d27),_0x2a14f2[_0x2d11e5(0x1d9)]=_0x4f83db=>{var _0x452d56=_0x2d11e5,_0x4c6ae3;const _0x424b4a=(_0x4c6ae3=_0x4f83db[_0x452d56(0x26d)])==null?void 0x0:_0x4c6ae3[_0x452d56(0x227)];if(_0x424b4a==null){this[_0x452d56(0x392)](),_0x496356(new Error(_0x3fbe7b['ERROR_IMAGE']));return;}const _0x22d973=_0x544210[_0x452d56(0x347)](0x6);_0x4fe5dc({'imageId':_0x22d973,'imageSourceType':_0x595b24[_0x452d56(0x3cf)],'source':_0x10cced,'base64Cache':_0x424b4a,'status':_0x3fbe7b[_0x452d56(0x38d)]}),this[_0x452d56(0x392)]();};});}[_0x40530a(0x289)](){var _0x5b95b8=_0x40530a,_0x2f7e84,_0x5a4d37;const _0x8c4932=this[_0x5b95b8(0xf8)][_0x5b95b8(0x21f)](Is),_0x5a5582=this['_configService'][_0x5b95b8(0x21f)](q);return(_0x5a4d37=(_0x2f7e84=_0x5a5582==null?void 0x0:_0x5a5582[_0x5b95b8(0x1a5)])!=null?_0x2f7e84:_0x8c4932)!=null?_0x5a4d37:Ts;}['_getSignURL'](){var _0x1b7c96=_0x40530a,_0x176435,_0xd320bd;const _0x5d6077=this[_0x1b7c96(0xf8)][_0x1b7c96(0x21f)](Cs),_0x4eac84=this[_0x1b7c96(0xf8)]['getConfig'](q);return(_0xd320bd=(_0x176435=_0x4eac84==null?void 0x0:_0x4eac84[_0x1b7c96(0x39a)])!=null?_0x176435:_0x5d6077)!=null?_0xd320bd:Rs;}[_0x40530a(0x1a3)](){var _0x253810=_0x40530a,_0x51d2d3;const _0x1a0147=this[_0x253810(0xf8)][_0x253810(0x21f)](q);return(_0x51d2d3=_0x1a0147==null?void 0x0:_0x1a0147[_0x253810(0x3ce)])!=null?_0x51d2d3:location[_0x253810(0x2ea)];}[_0x40530a(0xee)](_0x1fe262,_0x52de53){var _0x48377d=_0x40530a;return _0x1fe262['replace'](_0x48377d(0x22c),_0x52de53);}[_0x40530a(0x392)](){var _0xb5e2f3=_0x40530a;this[_0xb5e2f3(0x371)]-=0x1,this['_change$'][_0xb5e2f3(0x362)](this[_0xb5e2f3(0x371)]);}};yt=gs([gt(0x0,_0x48db98(_0x3ce2dc)),gt(0x1,_0x5b62c8),gt(0x2,_0x48db98(_0x5609db))],yt);var bs=Object['defineProperty'],Os=Object['getOwnPropertyDescriptor'],ys=(_0x36bb92,_0x53f8f2,_0x5132f0,_0x20e154)=>{var _0x29a4f5=_0x40530a;for(var _0x2cbaa5=_0x20e154>0x1?void 0x0:_0x20e154?Os(_0x53f8f2,_0x5132f0):_0x53f8f2,_0x4bb968=_0x36bb92[_0x29a4f5(0x37d)]-0x1,_0x3268b1;_0x4bb968>=0x0;_0x4bb968--)(_0x3268b1=_0x36bb92[_0x4bb968])&&(_0x2cbaa5=(_0x20e154?_0x3268b1(_0x53f8f2,_0x5132f0,_0x2cbaa5):_0x3268b1(_0x2cbaa5))||_0x2cbaa5);return _0x20e154&&_0x2cbaa5&&bs(_0x53f8f2,_0x5132f0,_0x2cbaa5),_0x2cbaa5;},_i=(_0x3a7dd9,_0x4c6328)=>(_0x5b4648,_0x42db19)=>_0x4c6328(_0x5b4648,_0x42db19,_0x3a7dd9);const Ns=_0x40530a(0x2ac);let Nt=class{constructor(_0x254027,_0x2cddd9){var _0x563c5f=_0x40530a;this['_configService']=_0x254027,this[_0x563c5f(0x174)]=_0x2cddd9;}['_getAPIPrefixPath'](){var _0x2d36f=_0x40530a,_0x3b59a8,_0x16b8c4;const _0x19143e=this[_0x2d36f(0xf8)][_0x2d36f(0x21f)](Pi),_0x1afff4=this[_0x2d36f(0xf8)][_0x2d36f(0x21f)](q);return(_0x16b8c4=(_0x3b59a8=_0x1afff4==null?void 0x0:_0x1afff4['authzUrl'])!=null?_0x3b59a8:_0x19143e)!=null?_0x16b8c4:Ns;}async[_0x40530a(0x395)](_0x10dada){var _0x423bbf=_0x40530a;const _0x655a4=this[_0x423bbf(0x19d)]()+_0x423bbf(0x1e6);return{'list':[{'title':_0x423bbf(0x3aa),'mentions':(await this['_HTTPService'][_0x423bbf(0x27f)](_0x655a4,{'params':{'objectID':_0x10dada['unitId'],'unitID':_0x10dada[_0x423bbf(0x307)]}}))[_0x423bbf(0x37f)][_0x423bbf(0x184)][_0x423bbf(0x20f)](_0x2d4bed=>({'objectId':_0x2d4bed['id'],'name':_0x2d4bed[_0x423bbf(0x25a)][_0x423bbf(0x300)],'metadata':{'icon':_0x2d4bed[_0x423bbf(0x25a)][_0x423bbf(0x236)]},'label':_0x2d4bed[_0x423bbf(0x25a)][_0x423bbf(0x300)],'objectType':_0x791ab[_0x423bbf(0x391)]})),'metadata':{},'type':_0x791ab[_0x423bbf(0x391)]}]};}};Nt=ys([_i(0x0,_0x48db98(_0x5b62c8)),_i(0x1,_0x48db98(_0x3ce2dc))],Nt);var Ds=Object['defineProperty'],Ps=Object[_0x40530a(0x338)],ws=(_0x3d3e9d,_0x3831b3,_0x53d4dd,_0x1417c0)=>{var _0x22b1ee=_0x40530a;for(var _0x235c92=_0x1417c0>0x1?void 0x0:_0x1417c0?Ps(_0x3831b3,_0x53d4dd):_0x3831b3,_0x318f24=_0x3d3e9d[_0x22b1ee(0x37d)]-0x1,_0x5d3851;_0x318f24>=0x0;_0x318f24--)(_0x5d3851=_0x3d3e9d[_0x318f24])&&(_0x235c92=(_0x1417c0?_0x5d3851(_0x3831b3,_0x53d4dd,_0x235c92):_0x5d3851(_0x235c92))||_0x235c92);return _0x1417c0&&_0x235c92&&Ds(_0x3831b3,_0x53d4dd,_0x235c92),_0x235c92;},Se=(_0x21a0df,_0x31592a)=>(_0x411c79,_0x94a20)=>_0x31592a(_0x411c79,_0x94a20,_0x21a0df);let at=class extends _0x18f063{constructor(_0xdb1e9f,_0x5a4ddd,_0x4730aa,_0x1e0359,_0x2b46d0,_0x307122,_0x1c7dbc){var _0x3baf90=_0x40530a;super(),this['_injector']=_0xdb1e9f,this[_0x3baf90(0x305)]=_0x5a4ddd,this['_permissionService']=_0x4730aa,this[_0x3baf90(0x2c4)]=_0x1e0359,this[_0x3baf90(0x26c)]=_0x2b46d0,this[_0x3baf90(0x37c)]=_0x307122,this[_0x3baf90(0x293)]=_0x1c7dbc,this[_0x3baf90(0xe0)](),this[_0x3baf90(0x136)]();}['_initCloseConn'](){var _0x595ae7=_0x40530a;const _0xdaddb=async _0x364a8f=>{var _0x59994e=_0x192f;(await this[_0x59994e(0x2c4)][_0x59994e(0x3e8)](_0x364a8f))[_0x59994e(0x3e5)][_0x59994e(0x330)](_0x55f065(_0x4437bb=>_0x4437bb['eventID']===_0x4b8a98['SHOULD_CLOSE_CONN']),_0x14b72c(this[_0x59994e(0x1ce)]))['subscribe'](_0x4233dc=>{var _0x2cfde9=_0x59994e;const _0x3633dd=_0x4233dc,{reason:_0x20bdc0}=_0x3633dd[_0x2cfde9(0x311)];this['_collaborationUIEventService']['emitEvent']({'id':se['CLOSE_ROOM'],'data':_0x20bdc0}),this['_permissionService'][_0x2cfde9(0x2f9)](new _0x57f5ad(_0x364a8f)['id'],!0x1),this[_0x2cfde9(0x2c4)]['closeSession'](_0x364a8f);});};_0x583ffc(this[_0x595ae7(0x305)][_0x595ae7(0x250)](_0x4d2a26[_0x595ae7(0x39e)]),this[_0x595ae7(0x305)][_0x595ae7(0x250)](_0x4d2a26[_0x595ae7(0x284)]))[_0x595ae7(0x330)](_0x130e36(_0x5361cf=>_0x5361cf['getUnitId']()),_0x55f065(_0x1b62f3=>!_0x3b8065(_0x1b62f3)),_0x14b72c(this[_0x595ae7(0x1ce)]))['subscribe'](_0x2b9a74=>{_0xdaddb(_0x2b9a74);});}[_0x40530a(0xe0)](){var _0x40390f=_0x40530a;const _0x3ac35b=async _0x5f3d1b=>{var _0x427a58=_0x192f;const _0x5e9724=await this['_collaborationSessionService'][_0x427a58(0x3e8)](_0x5f3d1b),_0x31414b=this['_injector'][_0x427a58(0x27f)](_0x146966);_0x5e9724['event$']['pipe'](_0x55f065(_0x3ffcc4=>_0x3ffcc4['eventID']===_0x4b8a98[_0x427a58(0x1ae)]),_0x14b72c(this[_0x427a58(0x1ce)]))[_0x427a58(0x1af)](_0x3ab65b=>{var _0x388f8d=_0x427a58;const _0x51c6c6=_0x3ab65b,{objectId:_0xa302eb}=_0x51c6c6['data'];_0xa302eb===_0x5f3d1b?_0x31414b[_0x388f8d(0x271)](_0x5f3d1b):_0x31414b[_0x388f8d(0x127)](_0x5f3d1b,_0xa302eb);});};_0x583ffc(this[_0x40390f(0x305)]['getTypeOfUnitAdded$'](_0x4d2a26[_0x40390f(0x39e)]),this['_univerInstanceService'][_0x40390f(0x250)](_0x4d2a26[_0x40390f(0x284)]))[_0x40390f(0x330)](_0x130e36(_0x35443e=>_0x35443e['getUnitId']()),_0x55f065(_0x759776=>!_0x3b8065(_0x759776)),_0x14b72c(this[_0x40390f(0x1ce)]))[_0x40390f(0x1af)](_0x30facf=>{_0x3ac35b(_0x30facf);});}};at=ws([Se(0x0,_0x48db98(_0x19dc6b)),Se(0x1,_0x5609db),Se(0x2,_0x2912cc),Se(0x3,_0x48db98(Le)),Se(0x4,_0x48db98(pe)),Se(0x5,_0x544837),Se(0x6,_0x84d590)],at);var Us=Object[_0x40530a(0x27d)],As=Object[_0x40530a(0x338)],xs=(_0x37a4e2,_0x1c974f,_0x47e798,_0x485140)=>{var _0xde9efb=_0x40530a;for(var _0x49ca69=_0x485140>0x1?void 0x0:_0x485140?As(_0x1c974f,_0x47e798):_0x1c974f,_0x130b85=_0x37a4e2[_0xde9efb(0x37d)]-0x1,_0x3b5284;_0x130b85>=0x0;_0x130b85--)(_0x3b5284=_0x37a4e2[_0x130b85])&&(_0x49ca69=(_0x485140?_0x3b5284(_0x1c974f,_0x47e798,_0x49ca69):_0x3b5284(_0x49ca69))||_0x49ca69);return _0x485140&&_0x49ca69&&Us(_0x1c974f,_0x47e798,_0x49ca69),_0x49ca69;},li=(_0x4b44fa,_0x548218)=>(_0x1d15b7,_0x2bdd18)=>_0x548218(_0x1d15b7,_0x2bdd18,_0x4b44fa);let Dt=class{constructor(_0x272fa5,_0x36e65a){var _0x8b3c51=_0x40530a;this[_0x8b3c51(0xf8)]=_0x272fa5,this[_0x8b3c51(0x24d)]=_0x36e65a;}async['getUnitOnRev'](_0x1194b4,_0x53e993){var _0x36a3e1=_0x40530a,_0x2b79f0;const {unitID:_0x54e3d0,type:_0x515749,revision:_0x5cec67=0x0}=_0x53e993,_0x511c93=this['getSnapshotAPIPath']()+'/'+_0x515749+_0x36a3e1(0x329)+_0x54e3d0+'/rev/'+_0x5cec67,_0x513182=(await this[_0x36a3e1(0x24d)][_0x36a3e1(0x27f)](_0x511c93))[_0x36a3e1(0x37f)],_0x581df1=(_0x2b79f0=_0x513182['snapshot'])==null?void 0x0:_0x2b79f0[_0x36a3e1(0x1be)];if(_0x581df1){const _0x4f840e=_0x581df1==null?void 0x0:_0x581df1[_0x36a3e1(0x20d)],_0xb7c52f=_0x35e2bc[_0x36a3e1(0x3dd)](_0xcf2ac2(_0x4f840e));_0x581df1[_0x36a3e1(0x20d)]=_0xb7c52f,Object[_0x36a3e1(0x102)](_0x581df1[_0x36a3e1(0x1a1)])['forEach'](([,_0x256bce])=>{var _0x15bbd1=_0x36a3e1;const _0x271b9e=_0x256bce[_0x15bbd1(0x20d)],_0x213c7c=_0x35e2bc[_0x15bbd1(0x3dd)](_0xcf2ac2(_0x271b9e));_0x256bce[_0x15bbd1(0x20d)]=_0x213c7c;});}return _0x513182;}async[_0x40530a(0x13c)](_0x440848,_0xd5d14){var _0x9cb5d3=_0x40530a;const {unitID:_0x592822,type:_0x34fbfe,blockID:_0x30259a}=_0xd5d14,_0x3099ec=this[_0x9cb5d3(0x135)]()+'/'+_0x34fbfe+'/unit/'+_0x592822+_0x9cb5d3(0xec)+_0x30259a;return(await this[_0x9cb5d3(0x24d)][_0x9cb5d3(0x27f)](_0x3099ec))[_0x9cb5d3(0x37f)];}async[_0x40530a(0x383)](_0x174fa0,_0xaca63){var _0x40f179=_0x40530a;const {unitID:_0x5722d9,type:_0x41acbe,blockID:_0x126510}=_0xaca63,_0x4d2085=this[_0x40f179(0x135)]()+_0x40f179(0xec)+_0x41acbe+_0x40f179(0x329)+_0x5722d9+_0x40f179(0xec)+_0x126510;return(await this[_0x40f179(0x24d)]['get'](_0x4d2085))[_0x40f179(0x37f)];}async[_0x40530a(0x233)](_0x40e2b7,_0x44489b){var _0x1d6e24=_0x40530a;const {unitID:_0x51dc3e,type:_0x295bfa,from:_0x215aab,to:_0x2faaaf}=_0x44489b,_0x4af6e3=this[_0x1d6e24(0x135)]()+'/'+_0x295bfa+_0x1d6e24(0x329)+_0x51dc3e+_0x1d6e24(0x25d)+_0x215aab+_0x1d6e24(0x216)+_0x2faaaf;return(await this['_httpService'][_0x1d6e24(0x27f)](_0x4af6e3))[_0x1d6e24(0x37f)];}[_0x40530a(0x217)](){var _0x14dcc1=_0x40530a,_0x4e42ac;return(_0x4e42ac=this[_0x14dcc1(0xf8)][_0x14dcc1(0x21f)](Tn))!=null?_0x4e42ac:this[_0x14dcc1(0x135)]();}['_getAPIPrefix'](){var _0x1fd722=_0x40530a,_0x3a1bdb,_0x492793;const _0x80b447=this[_0x1fd722(0xf8)][_0x1fd722(0x21f)](En),_0x120093=this[_0x1fd722(0xf8)]['getConfig'](q);return(_0x492793=(_0x3a1bdb=_0x120093==null?void 0x0:_0x120093['snapshotServerUrl'])!=null?_0x3a1bdb:_0x80b447)!=null?_0x492793:In;}async[_0x40530a(0x35b)](_0x4268f5,_0x37aa4c){var _0x1c8104=_0x40530a;const _0x948e42=_0x1c8104(0x158)+_0x37aa4c['type']+_0x1c8104(0x329)+_0x37aa4c[_0x1c8104(0x2f7)]+'/resources';return(await this['_httpService'][_0x1c8104(0x27f)](_0x948e42,{'params':{'resourceId':JSON['stringify'](_0x37aa4c[_0x1c8104(0x2a1)])}}))['body'];}[_0x40530a(0x2e2)](){var _0x1779d5=_0x40530a;throw new Error(_0x1779d5(0x3b0));}['saveSheetBlock'](){var _0x2b4519=_0x40530a;throw new Error(_0x2b4519(0x3b0));}[_0x40530a(0x2bc)](){var _0x1d2c7b=_0x40530a;throw new Error(_0x1d2c7b(0x3b0));}[_0x40530a(0x2ad)](){var _0x167a30=_0x40530a;throw new Error(_0x167a30(0x3b0));}[_0x40530a(0x145)](){var _0x5661f8=_0x40530a;throw new Error(_0x5661f8(0x3b0));}};Dt=xs([li(0x0,_0x5b62c8),li(0x1,_0x48db98(_0x3ce2dc))],Dt);var Ls=Object[_0x40530a(0x27d)],Ms=Object['getOwnPropertyDescriptor'],$s=(_0x1915fd,_0x4a5d34,_0x449511,_0x309058)=>{var _0x591784=_0x40530a;for(var _0x45b274=_0x309058>0x1?void 0x0:_0x309058?Ms(_0x4a5d34,_0x449511):_0x4a5d34,_0x169c74=_0x1915fd[_0x591784(0x37d)]-0x1,_0x314160;_0x169c74>=0x0;_0x169c74--)(_0x314160=_0x1915fd[_0x169c74])&&(_0x45b274=(_0x309058?_0x314160(_0x4a5d34,_0x449511,_0x45b274):_0x314160(_0x45b274))||_0x45b274);return _0x309058&&_0x45b274&&Ls(_0x4a5d34,_0x449511,_0x45b274),_0x45b274;},Ae=(_0x794a65,_0x27dd01)=>(_0x19bdff,_0x4a733c)=>_0x27dd01(_0x19bdff,_0x4a733c,_0x794a65);let Pt=class extends _0x543e42{constructor(_0x30db00,_0x1d70a4,_0x57d8bf,_0x4ca199,_0x12a8a1){var _0x33bf03=_0x40530a;super(_0x30db00,_0x1d70a4,_0x57d8bf),this[_0x33bf03(0x2cd)]=_0x4ca199,this[_0x33bf03(0x278)]=_0x12a8a1;}[_0x40530a(0x168)](_0x521068,_0x581263){var _0x5b3dd3=_0x40530a;const _0x15cb82=this[_0x5b3dd3(0x19f)](_0x521068);if(_0x15cb82)try{const _0x594e28=this[_0x5b3dd3(0x2a3)](_0x15cb82,_0x581263);this[_0x5b3dd3(0x2e6)](_0x521068,_0x594e28);}catch(_0x52ff55){this['_logService'][_0x5b3dd3(0xf4)]('[CollaborationUndoRedoService]',_0x52ff55),this[_0x5b3dd3(0x2b3)](_0x521068);}const _0x5edee8=this[_0x5b3dd3(0xf7)](_0x521068);if(_0x5edee8)try{const _0x5a5593=this[_0x5b3dd3(0x2a3)](_0x5edee8,_0x581263);this['_substituteRedoStack'](_0x521068,_0x5a5593);}catch(_0x58edb8){this[_0x5b3dd3(0x278)][_0x5b3dd3(0xf4)](_0x58edb8),this[_0x5b3dd3(0x2fc)](_0x521068);}}[_0x40530a(0x2b3)](_0x13ac9b){var _0x272097=_0x40530a;const _0x57f21d=this[_0x272097(0x19f)](_0x13ac9b);_0x57f21d&&(_0x57f21d[_0x272097(0x37d)]=0x0,this[_0x272097(0x22d)]());}[_0x40530a(0x2fc)](_0x4fbfb8){var _0x3527f1=_0x40530a;const _0x1a0bc6=this[_0x3527f1(0xf7)](_0x4fbfb8);_0x1a0bc6&&(_0x1a0bc6['length']=0x0,this['_updateStatus']());}[_0x40530a(0x2e6)](_0x49a165,_0x372c84){var _0x3820be=_0x40530a;this['_undoStacks'][_0x3820be(0x2da)](_0x49a165,_0x372c84),this['_updateStatus']();}['_substituteRedoStack'](_0x1b5664,_0x58a3ff){var _0x7e76ab=_0x40530a;this[_0x7e76ab(0x142)][_0x7e76ab(0x2da)](_0x1b5664,_0x58a3ff),this[_0x7e76ab(0x22d)]();}[_0x40530a(0x2a3)](_0x138f5b,_0x16bfb8){var _0x5a5c52=_0x40530a;const _0x439f7a=[];let _0x212f3f=_0x16bfb8,_0x1614d1=_0x16bfb8;for(let _0x32ccf1=_0x138f5b[_0x5a5c52(0x37d)]-0x1;_0x32ccf1>=0x0;_0x32ccf1--){const {unitID:_0x54ce71,undoMutations:_0x3e7ff8,redoMutations:_0x45cb5d}=_0x138f5b[_0x32ccf1],_0x3e5a59=this['_transformService'][_0x5a5c52(0x225)](_0x212f3f,_0x3e7ff8),_0x46ef8b=this[_0x5a5c52(0x2cd)][_0x5a5c52(0x225)](_0x1614d1,_0x45cb5d);if(_0x578157(_0x3e5a59)||_0x578157(_0x46ef8b)){this['_logService'][_0x5a5c52(0xf4)](_0x5a5c52(0x24c),_0x5a5c52(0x11f),_0x3e5a59,_0x46ef8b);break;}_0x212f3f=_0x3e5a59['c1Prime'],_0x1614d1=_0x46ef8b['c1Prime'],_0x439f7a[_0x5a5c52(0x20a)]({'unitID':_0x54ce71,'undoMutations':_0x3e5a59[_0x5a5c52(0xf0)],'redoMutations':_0x46ef8b[_0x5a5c52(0xf0)]});}return _0x439f7a[_0x5a5c52(0x140)]();}};Pt=$s([Ae(0x0,_0x5609db),Ae(0x1,_0xc6fb7a),Ae(0x2,_0x353605),Ae(0x3,_0x3b018c),Ae(0x4,_0x6e98f)],Pt);var xi=Object[_0x40530a(0x27d)],Hs=Object[_0x40530a(0x338)],ks=(_0x2cd91b,_0x520101,_0x4e23e3)=>_0x520101 in _0x2cd91b?xi(_0x2cd91b,_0x520101,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e23e3}):_0x2cd91b[_0x520101]=_0x4e23e3,js=(_0x1cfce5,_0x404868,_0x359115,_0x4ee7b2)=>{var _0x28087d=_0x40530a;for(var _0x39b47f=_0x4ee7b2>0x1?void 0x0:_0x4ee7b2?Hs(_0x404868,_0x359115):_0x404868,_0x2a3cc1=_0x1cfce5[_0x28087d(0x37d)]-0x1,_0x51cd0f;_0x2a3cc1>=0x0;_0x2a3cc1--)(_0x51cd0f=_0x1cfce5[_0x2a3cc1])&&(_0x39b47f=(_0x4ee7b2?_0x51cd0f(_0x404868,_0x359115,_0x39b47f):_0x51cd0f(_0x39b47f))||_0x39b47f);return _0x4ee7b2&&_0x39b47f&&xi(_0x404868,_0x359115,_0x39b47f),_0x39b47f;},St=(_0x1dcb26,_0x3bebc7)=>(_0x3c0e2a,_0xe72980)=>_0x3bebc7(_0x3c0e2a,_0xe72980,_0x1dcb26),Bs=(_0x337716,_0x28f915,_0x3f290f)=>ks(_0x337716,_0x28f915+'',_0x3f290f);const Fs=_0x40530a(0x125);let wt=class extends _0x3596ec{constructor(_0x9fc2e2=Wt,_0x3126d0,_0x14d9f5,_0x3a7ae6){var _0x564127=_0x40530a;super(),this[_0x564127(0x104)]=_0x9fc2e2,this[_0x564127(0x278)]=_0x3126d0,this['_injector']=_0x14d9f5,this[_0x564127(0xf8)]=_0x3a7ae6;const {..._0x1899a7}=_0x4e300f({},Wt,this[_0x564127(0x104)]);this[_0x564127(0xf8)]['setConfig'](q,_0x1899a7);}[_0x40530a(0x249)](){var _0x5cc447=_0x40530a;this[_0x5cc447(0x2dc)](),this[_0x5cc447(0x29d)]();}[_0x40530a(0x2dc)](){var _0x59d70e=_0x40530a,_0x3215d7,_0x131384,_0x409b97,_0x1cc046;this[_0x59d70e(0x3e0)][_0x59d70e(0x2e9)](_0x84d590)&&this[_0x59d70e(0x278)][_0x59d70e(0xf4)]('[UniverCollaborationClientPlugin]',_0x59d70e(0x133));const _0x5eb18e=_0x520889([[_0x84d590,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x131384=(_0x3215d7=this[_0x59d70e(0x104)])==null?void 0x0:_0x3215d7[_0x59d70e(0x365)])!=null?_0x131384:Et}],[_0x513fd2,{'useClass':Dt}],[_0x544837,{'useClass':bt}],[_0x27a32c,{'useClass':yt}],[_0x13150e,{'useClass':Nt}],[rt],[Rt]],(_0x409b97=this['_config'])==null?void 0x0:_0x409b97[_0x59d70e(0x296)]);if(!((_0x1cc046=this[_0x59d70e(0x104)])!=null&&_0x1cc046[_0x59d70e(0x39c)])){const _0x3a8927=_0x5eb18e[_0x59d70e(0x34e)](([_0x52586f])=>_0x52586f===ht);_0x3a8927!==-0x1&&_0x5eb18e['splice'](_0x3a8927,0x1);}_0xd035a1(this[_0x59d70e(0x3e0)],_0x5eb18e);}[_0x40530a(0x29d)](){var _0x22bb7c=_0x40530a,_0x3db6ff,_0x38878d,_0x496b1d;this[_0x22bb7c(0x3e0)]['get'](_0x3ce2dc)[_0x22bb7c(0x141)]({'priority':0x14,'interceptor':_0x2399ec({'maxParallel':0x6})}),(_0x3db6ff=this['_config'])!=null&&_0x3db6ff['enableOfflineEditing']||(_0x38878d=this['_injector'][_0x22bb7c(0x27f)](J,_0x44fa0b[_0x22bb7c(0x3d9)]))==null||_0x38878d[_0x22bb7c(0x3ca)](),(_0x496b1d=this[_0x22bb7c(0x104)])!=null&&_0x496b1d['enableAuthServer']&&_0x12b182(this[_0x22bb7c(0x3e0)],[[st]]),_0x12b182(this[_0x22bb7c(0x3e0)],[[ot],[rt],[at]]);}};Bs(wt,'pluginName',Fs),wt=js([_0x3e377d(_0x505413,_0x2ed35b,_0x13bd6f),St(0x1,_0x6e98f),St(0x2,_0x48db98(_0x19dc6b)),St(0x3,_0x5b62c8)],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 _0x3fc0d2=_0x3335;(function(_0x15b1e9,_0x12b61b){var _0x50c7c9=_0x3335,_0x3aa6b9=_0x15b1e9();while(!![]){try{var _0x56943c=parseInt(_0x50c7c9(0x316))/0x1+-parseInt(_0x50c7c9(0x152))/0x2+parseInt(_0x50c7c9(0x3ed))/0x3*(-parseInt(_0x50c7c9(0x197))/0x4)+parseInt(_0x50c7c9(0x19f))/0x5+-parseInt(_0x50c7c9(0x26e))/0x6+parseInt(_0x50c7c9(0x3ad))/0x7+-parseInt(_0x50c7c9(0x2c4))/0x8*(-parseInt(_0x50c7c9(0x3b8))/0x9);if(_0x56943c===_0x12b61b)break;else _0x3aa6b9['push'](_0x3aa6b9['shift']());}catch(_0xc17536){_0x3aa6b9['push'](_0x3aa6b9['shift']());}}}(_0x3d56,0x2c8d6));var Li=Object[_0x3fc0d2(0x272)],Mi=(_0x4cebe7,_0x2a32b1,_0x4682a9)=>_0x2a32b1 in _0x4cebe7?Li(_0x4cebe7,_0x2a32b1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4682a9}):_0x4cebe7[_0x2a32b1]=_0x4682a9,N=(_0x2388f6,_0x139d9c,_0x79d513)=>Mi(_0x2388f6,typeof _0x139d9c!='symbol'?_0x139d9c+'':_0x139d9c,_0x79d513);import{createIdentifier as _0xa76c5b,Inject as _0x4a0d65,Injector as _0x3e5f47,Disposable as _0x1b3b68,DisposableCollection as _0x3b3f04,toDisposable as _0x5af85c,IConfigService as _0x10186,ILogService as _0x5c7efb,UserManagerService as _0x4b012e,UniverInstanceType as _0x56b6a1,IUniverInstanceService as _0x2e5298,LocaleService as _0x5d25bf,Optional as _0x469180,RxDisposable as _0x2ac02b,Tools as _0x3f72fc,Rectangle as _0xce2ba7,ICommandService as _0x478928,JSONX as _0x32e67d,CommandType as _0x439428,IPermissionService as _0x8735be,IUndoRedoService as _0x3a051e,sequenceExecute as _0x25b24d,Workbook as _0x18a076,MentionType as _0x1fc710,IAuthzIoService as _0x3f2e29,isInternalEditorID as _0xe5a37f,LocalUndoRedoService as _0x183421,IContextService as _0x302f51,DependentOn as _0x13352f,Plugin as _0x18aed0,merge as _0x3cb396,mergeOverrideWithDependencies as _0x4b73c5,IMentionIOService as _0x1514c0,registerDependencies as _0x15c41e,Quantity as _0x3c737a,touchDependencies as _0x105bc9}from'@univerjs/core';import{Subject as _0x6e5a01,merge as _0x5a2e3b,of as _0x48236b,BehaviorSubject as _0x257515,takeUntil as _0x4c8071,ReplaySubject as _0x2c102a,take as _0x5e2b45,map as _0x264ca7,shareReplay as _0x3c2e07,firstValueFrom as _0x4c8811,concatMap as _0x386ba3}from'rxjs';import{map as _0x1c1a45,take as _0x47cd1c,filter as _0x59d3b8,delay as _0xadc1ce,takeUntil as _0x28efe9}from'rxjs/operators';import{HTTPService as _0x242e5e,ISocketService as _0xa878a7,MergeInterceptorFactory as _0x473dc8,HTTPRequest as _0x147814,UniverNetworkPlugin as _0x4e6422,ThresholdInterceptorFactory as _0x4e4e5c}from'@univerjs/network';import{CollaborationEvent as _0x5e0126,parseChangesetToProtocol as _0x265390,ISnapshotServerService as _0x5e56ee,isTransformMutationsWithChangesetSuccess as _0x4911e8,ITransformService as _0x44918b,mapDocumentTypeToUniverType as _0x559457,RevisionService as _0x306d90,isTransformChangesetsSuccess as _0x156ed7,CompressMutationService as _0xcd8f34,parseProtocolChangeset as _0x3b69de,SnapshotService as _0x4ae372,textEncoder as _0x35f0c4,b64DecodeUnicode as _0x50f9c6,isTransformMutationsWithChangesetFailure as _0x170ef7,UniverCollaborationPlugin as _0x52de3d}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x33d4a5}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x2b8d0b}from'@univerjs/docs';import{SheetsSelectionsService as _0x4ee23c,SetSelectionsOperation as _0xbebf4c,InsertSheetMutation as _0x10e451,EmptyMutation as _0x312b5b,WorkbookEditablePermission as _0x54a994,SheetPermissionInitController as _0x5dab13,UniverSheetsPlugin as _0x14e1d4}from'@univerjs/sheets';import{ImageSourceType as _0x10409a,ImageUploadStatusType as _0x20e925,IImageIoService as _0x4aad99}from'@univerjs/drawing';import{getGlobalObject as _0x1c7d86}from'@univerjs-pro/license';const En=_0x3fc0d2(0x2c8),In=_0x3fc0d2(0x3bc),Tn=_0x3fc0d2(0x32c),eo=_0x3fc0d2(0x3b6),Cn=0x7d0,Rn='COLLAB_WEB_SOCKET_URL',bn=_0x3fc0d2(0x2a7),On=_0x3fc0d2(0x265),yn='HEARTBEAT_INTERVAL',Nn=0x7530,Si=_0x3fc0d2(0x2f3),Ei=0x4e20,Dn=0x4e20,Pn=_0x3fc0d2(0x1a5),wn=0x3,to=_0x3fc0d2(0x233),io=0x3e8,Un='COLLAB_SUBMIT_CHANGESET_URL',An=_0x3fc0d2(0x3b2),xn=_0x3fc0d2(0x12d),Ln=_0x3fc0d2(0x3a1),no=_0x3fc0d2(0x1b8),ro=_0x3fc0d2(0x2c7);var Ii=(_0x38fc33=>(_0x38fc33[_0x38fc33[_0x3fc0d2(0x20a)]=0x0]='UNDEFINED',_0x38fc33[_0x38fc33['OK']=0x1]='OK',_0x38fc33[_0x38fc33[_0x3fc0d2(0x37e)]=0x2]=_0x3fc0d2(0x37e),_0x38fc33[_0x38fc33[_0x3fc0d2(0x19c)]=0x3]=_0x3fc0d2(0x19c),_0x38fc33[_0x38fc33[_0x3fc0d2(0x3da)]=0x4]=_0x3fc0d2(0x3da),_0x38fc33[_0x38fc33[_0x3fc0d2(0x383)]=0x5]='UNAUTHENTICATED',_0x38fc33[_0x38fc33['ALREADY_EXISTS']=0x6]=_0x3fc0d2(0x223),_0x38fc33[_0x38fc33['INVALID_ARGUMENT']=0x7]=_0x3fc0d2(0x162),_0x38fc33[_0x38fc33[_0x3fc0d2(0x242)]=0x8]=_0x3fc0d2(0x242),_0x38fc33[_0x38fc33[_0x3fc0d2(0x3d6)]=0x9]=_0x3fc0d2(0x3d6),_0x38fc33[_0x38fc33['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x38fc33[_0x38fc33['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x38fc33[_0x38fc33['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x38fc33[_0x38fc33[_0x3fc0d2(0x2cd)]=0x1773]=_0x3fc0d2(0x2cd),_0x38fc33[_0x38fc33['APPLY_REJECT']=0x1b59]=_0x3fc0d2(0x29b),_0x38fc33[_0x38fc33[_0x3fc0d2(0x238)]=0x1b5a]=_0x3fc0d2(0x238),_0x38fc33[_0x38fc33[_0x3fc0d2(0x133)]=0x1b5b]=_0x3fc0d2(0x133),_0x38fc33[_0x38fc33[_0x3fc0d2(0x2ca)]=0x1b5c]=_0x3fc0d2(0x2ca),_0x38fc33[_0x38fc33[_0x3fc0d2(0x3d1)]=0x1b5d]=_0x3fc0d2(0x3d1),_0x38fc33[_0x38fc33['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3fc0d2(0x10e),_0x38fc33[_0x38fc33[_0x3fc0d2(0x10c)]=0x2329]=_0x3fc0d2(0x10c),_0x38fc33[_0x38fc33['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x3fc0d2(0x1dc),_0x38fc33[_0x38fc33[_0x3fc0d2(0x18b)]=0x232b]=_0x3fc0d2(0x18b),_0x38fc33[_0x38fc33[_0x3fc0d2(0x3fc)]=0x232c]=_0x3fc0d2(0x3fc),_0x38fc33[_0x38fc33[_0x3fc0d2(0x11d)]=0x232d]=_0x3fc0d2(0x11d),_0x38fc33[_0x38fc33[_0x3fc0d2(0x34f)]=0x2711]=_0x3fc0d2(0x34f),_0x38fc33[_0x38fc33[_0x3fc0d2(0x128)]=0x2712]=_0x3fc0d2(0x128),_0x38fc33[_0x38fc33['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3fc0d2(0x295),_0x38fc33[_0x38fc33['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3fc0d2(0x299),_0x38fc33[_0x38fc33[_0x3fc0d2(0x171)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x38fc33[_0x38fc33[_0x3fc0d2(0x16c)]=-0x1]=_0x3fc0d2(0x16c),_0x38fc33))(Ii||{}),Q=(_0x596aef=>(_0x596aef[_0x596aef['UNIVER_UNKNOWN']=0x0]=_0x3fc0d2(0x2a1),_0x596aef[_0x596aef['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x596aef[_0x596aef[_0x3fc0d2(0x252)]=0x2]=_0x3fc0d2(0x252),_0x596aef[_0x596aef['UNIVER_SLIDE']=0x3]=_0x3fc0d2(0x169),_0x596aef[_0x596aef[_0x3fc0d2(0x263)]=0x4]='UNIVER_PROJECT',_0x596aef[_0x596aef[_0x3fc0d2(0x16c)]=-0x1]=_0x3fc0d2(0x16c),_0x596aef))(Q||{}),F=(_0x241bab=>(_0x241bab[_0x241bab[_0x3fc0d2(0x163)]=0x0]=_0x3fc0d2(0x163),_0x241bab[_0x241bab[_0x3fc0d2(0x1a8)]=0x1]=_0x3fc0d2(0x1a8),_0x241bab[_0x241bab[_0x3fc0d2(0x1bf)]=0x2]='JOIN',_0x241bab[_0x241bab[_0x3fc0d2(0x12b)]=0x3]='LEAVE',_0x241bab[_0x241bab[_0x3fc0d2(0x30f)]=0x4]='INGEST',_0x241bab[_0x241bab[_0x3fc0d2(0x375)]=0x5]=_0x3fc0d2(0x375),_0x241bab[_0x241bab['RECV']=0x6]='RECV',_0x241bab[_0x241bab[_0x3fc0d2(0x16c)]=-0x1]='UNRECOGNIZED',_0x241bab))(F||{}),Ee=(_0x2fec0b=>(_0x2fec0b[_0x2fec0b[_0x3fc0d2(0x21c)]=0x0]=_0x3fc0d2(0x21c),_0x2fec0b[_0x2fec0b['OK']=0x1]='OK',_0x2fec0b[_0x2fec0b[_0x3fc0d2(0x1ab)]=0x2]=_0x3fc0d2(0x1ab),_0x2fec0b[_0x2fec0b[_0x3fc0d2(0x287)]=0x3e9]=_0x3fc0d2(0x287),_0x2fec0b[_0x2fec0b[_0x3fc0d2(0x2b8)]=0x3ea]=_0x3fc0d2(0x2b8),_0x2fec0b[_0x2fec0b[_0x3fc0d2(0x401)]=0x3eb]=_0x3fc0d2(0x401),_0x2fec0b[_0x2fec0b['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x3fc0d2(0x1c8),_0x2fec0b[_0x2fec0b[_0x3fc0d2(0x16c)]=-0x1]='UNRECOGNIZED',_0x2fec0b))(Ee||{}),Ti=(_0x233b63=>(_0x233b63[_0x233b63[_0x3fc0d2(0x2d7)]=0x0]=_0x3fc0d2(0x2d7),_0x233b63[_0x233b63[_0x3fc0d2(0x3a2)]=0x1]=_0x3fc0d2(0x3a2),_0x233b63[_0x233b63[_0x3fc0d2(0x33f)]=0x2]=_0x3fc0d2(0x33f),_0x233b63[_0x233b63[_0x3fc0d2(0x2b4)]=0x3]='UnitEmbedded',_0x233b63[_0x233b63[_0x3fc0d2(0x173)]=0x4]=_0x3fc0d2(0x173),_0x233b63[_0x233b63['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x233b63))(Ti||{});const q='collaboration-client.config',Wt={};var se=(_0x3f3ec6=>(_0x3f3ec6[_0x3fc0d2(0x404)]=_0x3fc0d2(0x404),_0x3f3ec6[_0x3fc0d2(0x19c)]=_0x3fc0d2(0x19c),_0x3f3ec6[_0x3fc0d2(0x1b4)]=_0x3fc0d2(0x1b4),_0x3f3ec6['CLOSE_ROOM']=_0x3fc0d2(0x1e0),_0x3f3ec6[_0x3fc0d2(0x11b)]='JOIN_ROOM_FAILED',_0x3f3ec6['SOCKET_FAILED_RETRY']=_0x3fc0d2(0x184),_0x3f3ec6[_0x3fc0d2(0x3bd)]=_0x3fc0d2(0x3bd),_0x3f3ec6[_0x3fc0d2(0x28d)]='SUBMIT_CHANGESET_TIMEOUT',_0x3f3ec6))(se||{});class pe{constructor(){var _0x1ece05=_0x3fc0d2;N(this,'_event$',new _0x6e5a01()),N(this,_0x1ece05(0x2c1),this['_event$'][_0x1ece05(0x357)]());}['emitEvent'](_0x16b2b6){var _0x500776=_0x3fc0d2;this[_0x500776(0x1c2)]['next'](_0x16b2b6);}}const Mn=_0xa76c5b(_0x3fc0d2(0x222));function $n(_0x2dfe9f){var _0x4310e6=_0x3fc0d2,_0x540f93,_0x58a946,_0x56dc8d,_0x10fa3a,_0x3c0785;const _0x1f8ccd=_0x2dfe9f[_0x4310e6(0x144)],_0x5b4eee=JSON['parse'](_0x1f8ccd);switch(_0x5b4eee['cmd']){case F[_0x4310e6(0x375)]:case F[_0x4310e6(0x1a8)]:{const _0x2d852b=_0x5b4eee[_0x4310e6(0x247)];return{..._0x5b4eee,'data':_0x2d852b,'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};}case F[_0x4310e6(0x1bf)]:{const _0x5e09a5=_0x5b4eee[_0x4310e6(0x1f6)];return{..._0x5b4eee,'data':_0x5e09a5,'cmd':_0x5b4eee['cmd']};}case F[_0x4310e6(0x3f9)]:{const _0x35b842=_0x5b4eee[_0x4310e6(0x3cc)];switch(_0x35b842[_0x4310e6(0x1b0)]){case _0x5e0126['PERMISSION_REJ']:return{..._0x5b4eee,'data':{..._0x35b842,'data':(_0x540f93=_0x35b842[_0x4310e6(0x333)])==null?void 0x0:_0x540f93['cs']},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x376)]:return{..._0x5b4eee,'data':{..._0x35b842,'data':(_0x58a946=_0x35b842[_0x4310e6(0x3c3)])==null?void 0x0:_0x58a946['cs']},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x3c4)]:return{..._0x5b4eee,'data':{..._0x35b842,'data':(_0x56dc8d=_0x35b842[_0x4310e6(0x1c5)])==null?void 0x0:_0x56dc8d['cs']},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126['CHANGESET_REJ']:return{..._0x5b4eee,'data':{..._0x35b842,'data':(_0x10fa3a=_0x35b842[_0x4310e6(0x218)])==null?void 0x0:_0x10fa3a['cs']},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126['CHANGESET_SHOULD_RETRY']:return{..._0x5b4eee,'data':{..._0x35b842,'data':(_0x3c0785=_0x35b842[_0x4310e6(0x13c)])==null?void 0x0:_0x3c0785['cs']},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x151)]:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842[_0x4310e6(0x1cf)]},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x279)]:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842['joinEvent']},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x36d)]:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842[_0x4310e6(0x338)]},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x2c3)]:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842[_0x4310e6(0x320)]},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x361)]:case _0x5e0126['LIVESHARE_OPERATION']:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842[_0x4310e6(0x117)]},'cmd':_0x5b4eee['cmd']};case _0x5e0126[_0x4310e6(0x239)]:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842[_0x4310e6(0x320)]},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x16d)]:return{..._0x5b4eee,'data':_0x35b842,'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126[_0x4310e6(0x3f4)]:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842[_0x4310e6(0x195)]},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126['UPDATE_PERMISSION_OBJ']:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842[_0x4310e6(0x38c)]},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126['SHOULD_CLOSE_CONN']:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842[_0x4310e6(0x3f1)]},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};case _0x5e0126['UNISCRIPT_RUN']:return{..._0x5b4eee,'data':{..._0x35b842,'data':_0x35b842['uniscriptRunEvent']},'cmd':_0x5b4eee[_0x4310e6(0x1e3)]};default:return _0x5b4eee;}}default:return _0x5b4eee;}}function Hn(_0x165b9e){var _0x3fca80=_0x3fc0d2;switch(_0x165b9e[_0x3fca80(0x1e3)]){case F[_0x3fca80(0x375)]:case F[_0x3fca80(0x1a8)]:return JSON[_0x3fca80(0x277)]({'cmd':_0x165b9e[_0x3fca80(0x1e3)],'routeKey':_0x165b9e[_0x3fca80(0x185)]});case F[_0x3fca80(0x30f)]:{let _0x50d178;switch(_0x165b9e[_0x3fca80(0x144)][_0x3fca80(0x1b0)]){case _0x5e0126[_0x3fca80(0x151)]:{_0x50d178={'eventID':_0x5e0126[_0x3fca80(0x151)],'updateCursorEvent':_0x165b9e[_0x3fca80(0x144)][_0x3fca80(0x144)]};break;}case _0x5e0126['USERS_LEAVE']:{_0x50d178={'eventID':_0x5e0126[_0x3fca80(0x36d)],'leaveEvent':_0x165b9e[_0x3fca80(0x144)][_0x3fca80(0x144)]};break;}case _0x5e0126[_0x3fca80(0x279)]:{_0x50d178={'eventID':_0x5e0126['USERS_ENTER'],'joinEvent':_0x165b9e['data'][_0x3fca80(0x144)]};break;}case _0x5e0126[_0x3fca80(0x2c3)]:{_0x50d178={'eventID':_0x5e0126[_0x3fca80(0x2c3)],'liveShareNewHost':_0x165b9e['data'][_0x3fca80(0x144)]};break;}case _0x5e0126[_0x3fca80(0x19a)]:{_0x50d178={'eventID':_0x5e0126[_0x3fca80(0x19a)],'liveShareOperation':_0x165b9e[_0x3fca80(0x144)][_0x3fca80(0x144)]};break;}case _0x5e0126[_0x3fca80(0x239)]:{_0x50d178={'eventID':_0x5e0126[_0x3fca80(0x239)],'liveShareTerminate':_0x165b9e[_0x3fca80(0x144)][_0x3fca80(0x144)]};break;}case _0x5e0126[_0x3fca80(0x35f)]:{_0x50d178={'eventID':_0x5e0126['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x165b9e[_0x3fca80(0x144)][_0x3fca80(0x144)]};break;}case _0x5e0126[_0x3fca80(0x361)]:{_0x50d178={'eventID':_0x5e0126[_0x3fca80(0x361)]};break;}default:_0x50d178={'eventID':_0x165b9e[_0x3fca80(0x144)]['eventID']};}return JSON[_0x3fca80(0x277)]({'cmd':_0x165b9e[_0x3fca80(0x1e3)],'routeKey':_0x165b9e[_0x3fca80(0x185)],'collaMsg':_0x50d178});}case F[_0x3fca80(0x1bf)]:return JSON[_0x3fca80(0x277)]({'cmd':_0x165b9e['cmd'],'routeKey':_0x165b9e[_0x3fca80(0x185)],'joinReq':_0x165b9e[_0x3fca80(0x144)]});case F[_0x3fca80(0x12b)]:return JSON[_0x3fca80(0x277)]({'cmd':_0x165b9e[_0x3fca80(0x1e3)],'routeKey':_0x165b9e[_0x3fca80(0x185)],'leaveReq':_0x165b9e['data']});default:throw new Error(_0x3fca80(0x2e7));}}var kn=Object['defineProperty'],jn=Object[_0x3fc0d2(0x314)],Bn=(_0xf0bc22,_0x508144,_0xb0650,_0x26ba3a)=>{var _0xee7350=_0x3fc0d2;for(var _0x183690=_0x26ba3a>0x1?void 0x0:_0x26ba3a?jn(_0x508144,_0xb0650):_0x508144,_0x443506=_0xf0bc22[_0xee7350(0x2ee)]-0x1,_0x558a63;_0x443506>=0x0;_0x443506--)(_0x558a63=_0xf0bc22[_0x443506])&&(_0x183690=(_0x26ba3a?_0x558a63(_0x508144,_0xb0650,_0x183690):_0x558a63(_0x183690))||_0x183690);return _0x26ba3a&&_0x183690&&kn(_0x508144,_0xb0650,_0x183690),_0x183690;},Ue=(_0x3f74b6,_0x1edb70)=>(_0x42b8ba,_0x872621)=>_0x1edb70(_0x42b8ba,_0x872621,_0x3f74b6);const Ci=_0xa76c5b('univer-pro.collaboration-client-socket-service');function Fn(_0x46eb19,_0x564194,_0x225a44){var _0x3c60a6=_0x3fc0d2;return _0x46eb19+'/'+_0x564194+_0x3c60a6(0x2bb)+_0x225a44+_0x3c60a6(0x214);}let Et=class extends _0x1b3b68{constructor(_0x5177a7,_0x4f6da1,_0x2ff336,_0x20c4c7,_0x10da27){var _0x4b0660=_0x3fc0d2;super(),this[_0x4b0660(0x3eb)]=_0x5177a7,this[_0x4b0660(0x237)]=_0x4f6da1,this[_0x4b0660(0x281)]=_0x2ff336,this[_0x4b0660(0x3dd)]=_0x20c4c7,this['_snapshotServerService']=_0x10da27;}['createSocket'](_0x4fb8bf){var _0x104e50=_0x3fc0d2;const _0x50d6cd=this[_0x104e50(0x3eb)]['get'](_0xa878a7);if(!_0x50d6cd)throw new Error(_0x104e50(0x2af));const _0x24bcc0=_0x50d6cd['createSocket'](_0x4fb8bf);if(!_0x24bcc0)throw new Error(_0x104e50(0x399));const _0x2ab9a3=new _0x3b3f04(),_0x1058e0=new _0x6e5a01();_0x2ab9a3[_0x104e50(0x204)](_0x24bcc0[_0x104e50(0x11c)]['subscribe'](_0x2f6113=>_0x1058e0[_0x104e50(0x400)](_0x2f6113))),_0x2ab9a3['add'](_0x5af85c(()=>_0x1058e0[_0x104e50(0x11a)]()));const _0x1689f8=new _0x6e5a01();_0x2ab9a3[_0x104e50(0x204)](_0x24bcc0[_0x104e50(0x2fa)][_0x104e50(0x206)](_0xdab133=>_0x1689f8['next'](_0xdab133))),_0x2ab9a3[_0x104e50(0x204)](_0x5af85c(()=>_0x1689f8['complete']()));const _0x2ebff8=new _0x6e5a01();_0x2ab9a3[_0x104e50(0x204)](_0x24bcc0[_0x104e50(0x1a2)][_0x104e50(0x206)](_0x124215=>{var _0xaae340=_0x104e50;const _0xd1b86a=$n(_0x124215);_0x2ebff8[_0xaae340(0x400)](_0xd1b86a);})),_0x2ab9a3['add'](_0x5af85c(()=>_0x2ebff8[_0x104e50(0x11a)]()));let _0xe33cc8;const _0x5dfdcb=()=>{var _0x36a4c5=_0x104e50;_0x1689f8[_0x36a4c5(0x400)](new Event(_0x36a4c5(0x17e))),_0x1058e0['next'](new CloseEvent(_0x36a4c5(0x17e))),_0xe33cc8[_0x36a4c5(0x158)]();};return _0xe33cc8={'memberID':'','close$':_0x1058e0[_0x104e50(0x357)](),'error$':_0x1689f8[_0x104e50(0x357)](),'open$':_0x24bcc0[_0x104e50(0x321)],'message$':_0x2ebff8[_0x104e50(0x357)](),'send':_0x12471d=>{var _0x3dfeeb=_0x104e50;if(_0x12471d[_0x3dfeeb(0x1e3)]===F['INGEST']){if(_0x12471d[_0x3dfeeb(0x144)][_0x3dfeeb(0x1b0)]===_0x5e0126['SUBMIT_CHANGESET']){this[_0x3dfeeb(0x1b9)](_0xe33cc8,_0x12471d[_0x3dfeeb(0x144)])[_0x3dfeeb(0x180)](_0x4dcc56=>{var _0x5a08e8=_0x3dfeeb;this[_0x5a08e8(0x3dd)]['error'](_0x4dcc56),_0x5dfdcb();});return;}if(_0x12471d[_0x3dfeeb(0x144)][_0x3dfeeb(0x1b0)]===_0x5e0126[_0x3dfeeb(0x393)]){const _0x4e8c73=_0x12471d[_0x3dfeeb(0x144)];this['_fetchMissChangesets'](_0x4e8c73)[_0x3dfeeb(0x18a)](_0x31afeb=>{var _0x4bfaf8=_0x3dfeeb;_0x2ebff8[_0x4bfaf8(0x400)]({'cmd':F[_0x4bfaf8(0x3f9)],'code':Ee['OK'],'routeKey':_0x4e8c73[_0x4bfaf8(0x144)][_0x4bfaf8(0x134)],'routeType':'','data':{'eventID':_0x5e0126[_0x4bfaf8(0x160)],'data':{'changesets':_0x31afeb}}});})['catch'](_0x22997c=>{var _0x57303c=_0x3dfeeb;this[_0x57303c(0x3dd)][_0x57303c(0x24c)](_0x22997c),_0x5dfdcb();});return;}}_0x24bcc0[_0x3dfeeb(0x306)](Hn(_0x12471d));},'close':()=>{var _0xcb8f38=_0x104e50;_0x24bcc0[_0xcb8f38(0x158)](),_0x2ab9a3[_0xcb8f38(0x232)]();}},_0xe33cc8;}async['_submitChangeset'](_0x345b64,_0x428b05){var _0xcbf392=_0x3fc0d2,_0x250359,_0x14b4bb;const {unitType:_0x40a439,unitID:_0x825fac,changeset:_0x183d41}=_0x428b05[_0xcbf392(0x144)],_0x412d9e={'unitID':_0x825fac,'memberID':_0x345b64[_0xcbf392(0x1aa)],'type':_0x40a439,'changeset':_0x265390(_0x183d41)},_0x278547=this[_0xcbf392(0x281)]['getConfig'](Un),_0x40e50b=this[_0xcbf392(0x281)][_0xcbf392(0x3fe)](q),_0x28eaef=Fn((_0x14b4bb=(_0x250359=_0x40e50b==null?void 0x0:_0x40e50b[_0xcbf392(0x1e9)])!=null?_0x250359:_0x278547)!=null?_0x14b4bb:An,_0x40a439,_0x825fac);try{await this['_http'][_0xcbf392(0x203)](_0x28eaef,{'body':_0x412d9e});}catch(_0xab724a){throw this[_0xcbf392(0x3dd)]['error'](_0xcbf392(0x115),'submit\x20changeset\x20error!'),_0xab724a;}}async[_0x3fc0d2(0x359)](_0x58d91a){var _0x33b48c=_0x3fc0d2;const {unitID:_0x4857e8,from:_0x477221,to:_0x28da0c,unitType:_0x3b5d09}=_0x58d91a['data'];return(await this[_0x33b48c(0x1cb)][_0x33b48c(0x21d)]({'metadata':void 0x0},{'unitID':_0x4857e8,'type':_0x3b5d09,'from':_0x477221,'to':_0x28da0c}))[_0x33b48c(0x2e1)];}};Et=Bn([Ue(0x0,_0x4a0d65(_0x3e5f47)),Ue(0x1,_0x4a0d65(_0x242e5e)),Ue(0x2,_0x10186),Ue(0x3,_0x5c7efb),Ue(0x4,_0x5e56ee)],Et);const Vn=_0x3fc0d2(0x18c);function Gn(_0x52f150){var _0x52205b=_0x3fc0d2;return JSON[_0x52205b(0x277)](_0x52f150)[_0x52205b(0x2ee)];}class Ri{constructor(){var _0x5a2a91=_0x3fc0d2;N(this,'_commentUpdate$',new _0x6e5a01()),N(this,_0x5a2a91(0x18e),this[_0x5a2a91(0x3f6)]['asObservable']());}[_0x3fc0d2(0x268)](_0x3dd838){var _0x5acd23=_0x3fc0d2;this[_0x5acd23(0x3f6)][_0x5acd23(0x400)](_0x3dd838);}}var Wn=Object[_0x3fc0d2(0x272)],Kn=Object[_0x3fc0d2(0x314)],Yn=(_0x320704,_0x5da96d,_0x286d07,_0x5b7e3d)=>{for(var _0x52229d=_0x5b7e3d>0x1?void 0x0:_0x5b7e3d?Kn(_0x5da96d,_0x286d07):_0x5da96d,_0x345334=_0x320704['length']-0x1,_0x32b9cd;_0x345334>=0x0;_0x345334--)(_0x32b9cd=_0x320704[_0x345334])&&(_0x52229d=(_0x5b7e3d?_0x32b9cd(_0x5da96d,_0x286d07,_0x52229d):_0x32b9cd(_0x52229d))||_0x52229d);return _0x5b7e3d&&_0x52229d&&Wn(_0x5da96d,_0x286d07,_0x52229d),_0x52229d;},Kt=(_0x10080d,_0x426f85)=>(_0x558347,_0x13bd8d)=>_0x426f85(_0x558347,_0x13bd8d,_0x10080d);let xe=class extends _0x1b3b68{constructor(_0x48baa8,_0xf97729){var _0x54c738=_0x3fc0d2;super(),N(this,_0x54c738(0x29e),new Map()),N(this,_0x54c738(0x3a0),new _0x6e5a01()),(this[_0x54c738(0x230)]=_0x48baa8,this[_0x54c738(0x10b)]=_0xf97729,this[_0x54c738(0x301)](_0x5a2e3b(this[_0x54c738(0x230)][_0x54c738(0x140)](_0x56b6a1['UNIVER_SHEET'])['pipe'](_0x1c1a45(_0x1eebac=>_0x1eebac[_0x54c738(0x1da)]())),this[_0x54c738(0x230)][_0x54c738(0x140)](_0x56b6a1['UNIVER_DOC'])['pipe'](_0x1c1a45(_0x25fc6c=>_0x25fc6c[_0x54c738(0x1da)]())),this[_0x54c738(0x230)][_0x54c738(0x140)](_0x56b6a1['UNIVER_SLIDE'])[_0x54c738(0x348)](_0x1c1a45(_0x5f09c9=>_0x5f09c9[_0x54c738(0x1da)]())))[_0x54c738(0x206)](_0x577a03=>this[_0x54c738(0x297)](_0x577a03))));}[_0x3fc0d2(0x275)](_0x2e4e53){var _0x3d2ab8=_0x3fc0d2;return this[_0x3d2ab8(0x29e)][_0x3d2ab8(0x2a9)](_0x2e4e53)?_0x48236b(this[_0x3d2ab8(0x29e)][_0x3d2ab8(0x2db)](_0x2e4e53)):this['_roomCreated$'][_0x3d2ab8(0x348)](_0x1c1a45(_0xbff685=>{var _0x1bb6e8=_0x3d2ab8;if(_0xbff685===_0x2e4e53)return this[_0x1bb6e8(0x29e)][_0x1bb6e8(0x2db)](_0xbff685);}));}[_0x3fc0d2(0x1c0)](_0x4d6eb2){var _0x392cc8=_0x3fc0d2;this[_0x392cc8(0x10b)]['setCurrentUser'](_0x4d6eb2);}['getCurrentUser'](){var _0x298b0a=_0x3fc0d2;return this[_0x298b0a(0x10b)][_0x298b0a(0x353)]();}[_0x3fc0d2(0x35e)](_0x1959a7,_0x330a6d){var _0x47a53c=_0x3fc0d2;let _0x4974a2=this[_0x47a53c(0x29e)][_0x47a53c(0x2db)](_0x1959a7);_0x4974a2||(_0x4974a2=new qn(),this[_0x47a53c(0x29e)]['set'](_0x1959a7,_0x4974a2),this[_0x47a53c(0x3a0)][_0x47a53c(0x400)](_0x1959a7)),_0x4974a2[_0x47a53c(0x35e)](_0x330a6d);}[_0x3fc0d2(0x250)](_0x375d07,_0x23e407){var _0x3daf9d=_0x3fc0d2;const _0x52da7f=this[_0x3daf9d(0x29e)]['get'](_0x375d07);_0x52da7f&&_0x52da7f['removeMember'](_0x23e407);}[_0x3fc0d2(0x25d)](_0x22860b){var _0x46d0c6=_0x3fc0d2;return this[_0x46d0c6(0x29e)][_0x46d0c6(0x2db)](_0x22860b);}[_0x3fc0d2(0x17b)](_0x2fc550,_0x5e33b9){var _0x2d4009=_0x3fc0d2;const _0x2d1167=this['_roomMembers'][_0x2d4009(0x2db)](_0x2fc550);if(_0x2d1167)return _0x2d1167[_0x2d4009(0x17b)](_0x5e33b9);}[_0x3fc0d2(0x297)](_0x560e26){var _0xca818f=_0x3fc0d2;const _0x24dcba=this[_0xca818f(0x29e)][_0xca818f(0x2db)](_0x560e26);_0x24dcba&&(_0x24dcba['dispose'](),this['_roomMembers']['delete'](_0x560e26));}['dispose'](){var _0x4ba0dc=_0x3fc0d2;this[_0x4ba0dc(0x29e)][_0x4ba0dc(0x25f)](_0xc0b038=>_0xc0b038[_0x4ba0dc(0x232)]()),this['_roomMembers'][_0x4ba0dc(0x21e)](),this[_0x4ba0dc(0x3a0)]['complete']();}};xe=Yn([Kt(0x0,_0x2e5298),Kt(0x1,_0x4a0d65(_0x4b012e))],xe);class qn extends _0x1b3b68{constructor(){var _0x4b00b3=_0x3fc0d2;super(...arguments),N(this,_0x4b00b3(0x350),new Map()),N(this,_0x4b00b3(0x36e),new _0x257515(this[_0x4b00b3(0x350)])),N(this,_0x4b00b3(0x38f),this[_0x4b00b3(0x36e)]['asObservable']());}[_0x3fc0d2(0x232)](){var _0x495a40=_0x3fc0d2;this[_0x495a40(0x350)][_0x495a40(0x21e)]();}['updateMember'](_0x42f65f){var _0x2218a6=_0x3fc0d2;this[_0x2218a6(0x350)][_0x2218a6(0x30a)](_0x42f65f[_0x2218a6(0x1aa)],_0x42f65f),this[_0x2218a6(0x149)]();}[_0x3fc0d2(0x250)](_0x359f86){var _0x464a26=_0x3fc0d2;this['_members'][_0x464a26(0x3aa)](_0x359f86);}[_0x3fc0d2(0x17b)](_0x4756e7){var _0x453d18=_0x3fc0d2;return this['_members'][_0x453d18(0x2db)](_0x4756e7);}[_0x3fc0d2(0x2ec)](){var _0x243815=_0x3fc0d2;return Array['from'](this[_0x243815(0x350)][_0x243815(0x12a)]());}[_0x3fc0d2(0x149)](){var _0x298963=_0x3fc0d2;this['_members$'][_0x298963(0x400)](this[_0x298963(0x350)]);}}var zn=Object[_0x3fc0d2(0x272)],Jn=Object[_0x3fc0d2(0x314)],Xn=(_0x52e0c2,_0xb26730,_0xdce1d,_0x55bc12)=>{for(var _0x14a4dd=_0x55bc12>0x1?void 0x0:_0x55bc12?Jn(_0xb26730,_0xdce1d):_0xb26730,_0x563252=_0x52e0c2['length']-0x1,_0x308121;_0x563252>=0x0;_0x563252--)(_0x308121=_0x52e0c2[_0x563252])&&(_0x14a4dd=(_0x55bc12?_0x308121(_0xb26730,_0xdce1d,_0x14a4dd):_0x308121(_0x14a4dd))||_0x14a4dd);return _0x55bc12&&_0x14a4dd&&zn(_0xb26730,_0xdce1d,_0x14a4dd),_0x14a4dd;},me=(_0x2b9afa,_0x5a7bfd)=>(_0x35537a,_0x9d71e4)=>_0x5a7bfd(_0x35537a,_0x9d71e4,_0x2b9afa),Te=(_0x43228f=>(_0x43228f[_0x43228f[_0x3fc0d2(0x406)]=0x0]=_0x3fc0d2(0x406),_0x43228f[_0x43228f[_0x3fc0d2(0x33b)]=0x1]='JOINING',_0x43228f[_0x43228f[_0x3fc0d2(0x10f)]=0x2]=_0x3fc0d2(0x10f),_0x43228f[_0x43228f[_0x3fc0d2(0x121)]=0x3]='ONLINE',_0x43228f))(Te||{});const Yt={[Ee['FAIL']]:'session.join-failed',[Ee[_0x3fc0d2(0x287)]]:_0x3fc0d2(0x3f3),[Ee[_0x3fc0d2(0x2b8)]]:_0x3fc0d2(0x3f2),[Ee[_0x3fc0d2(0x401)]]:_0x3fc0d2(0x192),[Ee[_0x3fc0d2(0x1c8)]]:_0x3fc0d2(0x341)};let It=class extends _0x2ac02b{constructor(_0xfad558,_0x3283bc,_0x41f3f8,_0x27d028,_0x5b91c9,_0x34bf40,_0x578e70,_0x35585f,_0x40c05f){var _0x2eb94b=_0x3fc0d2;super(),N(this,_0x2eb94b(0x1a6),new _0x257515(0x0)),N(this,_0x2eb94b(0x3e1),this['_sessionStatus$']['asObservable']()),N(this,_0x2eb94b(0x1c2),new _0x6e5a01()),N(this,_0x2eb94b(0x2c1),this[_0x2eb94b(0x1c2)][_0x2eb94b(0x357)]()),N(this,_0x2eb94b(0x3bb)),N(this,_0x2eb94b(0x1eb)),N(this,_0x2eb94b(0x1e1)),N(this,_0x2eb94b(0x367),!0x1),N(this,_0x2eb94b(0x1ff),null),(this['_unitID']=_0xfad558,this['_logService']=_0x41f3f8,this[_0x2eb94b(0x281)]=_0x27d028,this[_0x2eb94b(0x1a0)]=_0x5b91c9,this[_0x2eb94b(0x16a)]=_0x34bf40,this[_0x2eb94b(0x1f9)]=_0x578e70,this[_0x2eb94b(0x123)]=_0x35585f,this[_0x2eb94b(0x327)]=_0x40c05f,this[_0x2eb94b(0x367)]=!!this[_0x2eb94b(0x327)],_0x3283bc[_0x2eb94b(0x348)](_0x4c8071(this[_0x2eb94b(0x1e7)]))[_0x2eb94b(0x206)](_0x10521c=>{var _0x278498=_0x2eb94b,_0xc70ec9;typeof _0x10521c>'u'||(this['_socket']=_0x10521c,_0x10521c?(this[_0x278498(0x174)](_0x10521c),this[_0x278498(0x1eb)]=_0x10521c['message$'][_0x278498(0x206)](_0x4839d9=>{var _0x1db790=_0x278498;_0x4839d9[_0x1db790(0x185)]===this[_0x1db790(0x28b)]&&this[_0x1db790(0x344)](_0x4839d9);})):(this[_0x278498(0x3df)](),this['_sessionStatus$'][_0x278498(0x400)](0x2),(_0xc70ec9=this[_0x278498(0x1eb)])==null||_0xc70ec9[_0x278498(0x2ea)](),this[_0x278498(0x1eb)]=null));}));}get[_0x3fc0d2(0x1e8)](){var _0x2866cf=_0x3fc0d2;return this[_0x2866cf(0x1a6)]['getValue']();}[_0x3fc0d2(0x1b6)](){var _0x25e809=_0x3fc0d2,_0x4af352,_0x2205d1;return(_0x2205d1=(_0x4af352=this[_0x25e809(0x3bb)])==null?void 0x0:_0x4af352[_0x25e809(0x1aa)])!=null?_0x2205d1:null;}[_0x3fc0d2(0x232)](){var _0x38db16=_0x3fc0d2;super[_0x38db16(0x232)](),this[_0x38db16(0x1e7)][_0x38db16(0x400)](),this['dispose$'][_0x38db16(0x11a)]();}[_0x3fc0d2(0x158)](){var _0x32e593=_0x3fc0d2,_0x544d20,_0x3a6f8f;this['_throwTelemetryCollaborationNewChangeset'](),(_0x544d20=this[_0x32e593(0x3bb)])==null||_0x544d20[_0x32e593(0x306)]({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x3a6f8f=this['_socket'])==null||_0x3a6f8f[_0x32e593(0x158)](),this[_0x32e593(0x1c2)]['complete'](),this[_0x32e593(0x1a6)][_0x32e593(0x11a)](),this[_0x32e593(0x232)]();}[_0x3fc0d2(0x344)](_0x99689e){var _0x19ac8b=_0x3fc0d2;_0x99689e[_0x19ac8b(0x1e3)]===F[_0x19ac8b(0x1bf)]?this['_onJoinRoomEvent'](_0x99689e):_0x99689e['cmd']===F[_0x19ac8b(0x3f9)]&&this[_0x19ac8b(0x32a)](_0x99689e);}[_0x3fc0d2(0x174)](_0x43a159){var _0x4bbfc3=_0x3fc0d2;this[_0x4bbfc3(0x1a6)][_0x4bbfc3(0x400)](0x1),_0x43a159[_0x4bbfc3(0x306)]({'cmd':F[_0x4bbfc3(0x1bf)],'routeKey':this[_0x4bbfc3(0x28b)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4bbfc3(0x28b)]}]}});}[_0x3fc0d2(0x310)](_0x11946a){var _0x23a020=_0x3fc0d2,_0x38ff65;if(_0x11946a[_0x23a020(0x336)]in Yt){this[_0x23a020(0x123)][_0x23a020(0x3e6)]({'id':se[_0x23a020(0x11b)],'data':Yt[_0x11946a[_0x23a020(0x336)]]}),this[_0x23a020(0x1a6)][_0x23a020(0x400)](0x2);return;}this['_sessionStatus$'][_0x23a020(0x400)](0x3);const _0x1a26e1=(_0x38ff65=_0x11946a[_0x23a020(0x144)][_0x23a020(0x13d)][this[_0x23a020(0x28b)]])==null?void 0x0:_0x38ff65[_0x23a020(0x137)];_0x1a26e1&&_0x1a26e1['forEach'](_0x49f428=>this[_0x23a020(0x16a)][_0x23a020(0x35e)](this[_0x23a020(0x28b)],_0x49f428));}[_0x3fc0d2(0x32a)](_0x143322){var _0x234bc9=_0x3fc0d2;try{const _0x12acce=_0x143322[_0x234bc9(0x144)];switch(_0x12acce[_0x234bc9(0x1b0)]){case _0x5e0126[_0x234bc9(0x279)]:this[_0x234bc9(0x390)](_0x12acce),this[_0x234bc9(0x1c2)][_0x234bc9(0x400)](_0x12acce);break;case _0x5e0126['USERS_LEAVE']:this[_0x234bc9(0x3e4)](_0x12acce),this['_event$'][_0x234bc9(0x400)](_0x12acce);break;case _0x5e0126[_0x234bc9(0x376)]:case _0x5e0126[_0x234bc9(0x2d1)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x234bc9(0x1a7)](),this[_0x234bc9(0x1c2)][_0x234bc9(0x400)](_0x12acce);break;case _0x5e0126['MSG_FOR_ERROR']:this[_0x234bc9(0x3dd)][_0x234bc9(0x24c)](_0x234bc9(0x362)+JSON[_0x234bc9(0x277)](_0x12acce)),this['_event$'][_0x234bc9(0x400)](_0x12acce);break;case _0x5e0126[_0x234bc9(0x3f4)]:this[_0x234bc9(0x1f9)][_0x234bc9(0x268)](_0x12acce[_0x234bc9(0x144)]),this['_event$'][_0x234bc9(0x400)](_0x12acce);break;default:this[_0x234bc9(0x1c2)][_0x234bc9(0x400)](_0x12acce);}}catch(_0x1d55eb){this[_0x234bc9(0x3dd)][_0x234bc9(0x24c)](_0x1d55eb,_0x143322);}}[_0x3fc0d2(0x390)](_0x245703){var _0x2c9c52=_0x3fc0d2;this[_0x2c9c52(0x16a)][_0x2c9c52(0x35e)](this['_unitID'],_0x245703[_0x2c9c52(0x144)]);}['_onUserLeave'](_0x4f9277){var _0x175e04=_0x3fc0d2;this[_0x175e04(0x16a)][_0x175e04(0x250)](this[_0x175e04(0x28b)],_0x4f9277['data'][_0x175e04(0x1aa)]);}async[_0x3fc0d2(0x306)](_0x261ba2,_0x3465f6){var _0x1d57a1=_0x3fc0d2;if(this[_0x1d57a1(0x1e8)]!==0x3||!this[_0x1d57a1(0x3bb)])throw new Error(_0x1d57a1(0x405));try{_0x261ba2[_0x1d57a1(0x1b0)]===_0x5e0126[_0x1d57a1(0x2b0)]&&(this[_0x1d57a1(0x2c2)](),this[_0x1d57a1(0x3a6)](_0x261ba2)),this['_socket'][_0x1d57a1(0x306)]({'cmd':F['INGEST'],'routeKey':_0x3465f6,'routeType':'','data':_0x261ba2});}catch(_0x1d58ea){this['_logService'][_0x1d57a1(0x24c)](_0x1d58ea);}}[_0x3fc0d2(0x2c2)](){var _0x3d67f8=_0x3fc0d2,_0x16cb7e;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x3ae6cf=_0x3335;this[_0x3ae6cf(0x1e1)]=null,this[_0x3ae6cf(0x123)][_0x3ae6cf(0x3e6)]({'id':se[_0x3ae6cf(0x28d)]});},(_0x16cb7e=this[_0x3d67f8(0x281)][_0x3d67f8(0x3fe)](Si))!=null?_0x16cb7e:Ei);}[_0x3fc0d2(0x1a7)](){var _0x99053=_0x3fc0d2;this[_0x99053(0x1e1)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x99053(0x1e1)]=null);}[_0x3fc0d2(0x3a6)](_0x2153f6){var _0x315221=_0x3fc0d2;if(!this[_0x315221(0x367)])return;const {data:_0x1d3cdf}=_0x2153f6,{unitID:_0x574d85,changeset:_0x1f864d}=_0x1d3cdf,{mutations:_0x29167e,type:_0x28b800}=_0x1f864d;this[_0x315221(0x1ff)]={'unitId':_0x574d85,'type':_0x28b800,'startTime':performance[_0x315221(0x384)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x29167e)};}[_0x3fc0d2(0x16f)](){var _0x3fe119=_0x3fc0d2;if(this['_shouldReportTelemetry']){if(!this[_0x3fe119(0x1ff)]){this['_logService']['error'](_0x3fe119(0x115),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x3fe119(0x2ce)]=performance[_0x3fe119(0x384)](),this[_0x3fe119(0x1ff)][_0x3fe119(0x14b)]=this[_0x3fe119(0x1ff)]['stopTime']-this[_0x3fe119(0x1ff)][_0x3fe119(0x17f)],this['_telemetryService']['capture'](Vn,this['_telemetryInfo']),this[_0x3fe119(0x1ff)]=null;}}[_0x3fc0d2(0x3df)](){this['_telemetryInfo']=null;}};It=Xn([me(0x2,_0x5c7efb),me(0x3,_0x10186),me(0x4,_0x4a0d65(_0x5d25bf)),me(0x5,_0x4a0d65(xe)),me(0x6,_0x4a0d65(Ri)),me(0x7,_0x4a0d65(pe)),me(0x8,_0x469180(_0x33d4a5))],It);var Zn=Object[_0x3fc0d2(0x272)],Qn=Object[_0x3fc0d2(0x314)],er=(_0x366a83,_0x294f4a,_0x2c75d5,_0x6d7ba8)=>{var _0x349da8=_0x3fc0d2;for(var _0x524cac=_0x6d7ba8>0x1?void 0x0:_0x6d7ba8?Qn(_0x294f4a,_0x2c75d5):_0x294f4a,_0x410284=_0x366a83[_0x349da8(0x2ee)]-0x1,_0x5b7a20;_0x410284>=0x0;_0x410284--)(_0x5b7a20=_0x366a83[_0x410284])&&(_0x524cac=(_0x6d7ba8?_0x5b7a20(_0x294f4a,_0x2c75d5,_0x524cac):_0x5b7a20(_0x524cac))||_0x524cac);return _0x6d7ba8&&_0x524cac&&Zn(_0x294f4a,_0x2c75d5,_0x524cac),_0x524cac;},ge=(_0x45626c,_0xbe25bc)=>(_0x5f1367,_0x161128)=>_0xbe25bc(_0x5f1367,_0x161128,_0x45626c);let Le=class extends _0x1b3b68{constructor(_0x58ab19,_0x1ac367,_0x3a905e,_0x44a5f9,_0xa6961,_0x457a4b,_0x1ad8f5){var _0x2565c3=_0x3fc0d2;super(),N(this,'_socket$',new _0x257515(void 0x0)),N(this,_0x2565c3(0x208),this[_0x2565c3(0x2f7)][_0x2565c3(0x357)]()),N(this,_0x2565c3(0x3b7),null),N(this,_0x2565c3(0x3ec),new Map()),N(this,_0x2565c3(0x1c4),new _0x257515(Te[_0x2565c3(0x406)])),N(this,'status$',this[_0x2565c3(0x1c4)][_0x2565c3(0x357)]()),N(this,_0x2565c3(0x27f),!0x1),N(this,'_retryConnectingTimer'),N(this,'_retryCount',0x0),N(this,_0x2565c3(0x286)),N(this,'_timeoutTimer'),(this['_injector']=_0x58ab19,this['_logService']=_0x1ac367,this['_configService']=_0x3a905e,this[_0x2565c3(0x176)]=_0x44a5f9,this['_httpService']=_0xa6961,this[_0x2565c3(0x123)]=_0x457a4b,this[_0x2565c3(0x23b)]=_0x1ad8f5,this[_0x2565c3(0x381)]());}get[_0x3fc0d2(0x3bb)](){var _0x5ce565=_0x3fc0d2;return this['_socket$'][_0x5ce565(0x31d)]();}[_0x3fc0d2(0x381)](){var _0xd6b64=_0x3fc0d2;this[_0xd6b64(0x23b)]&&this[_0xd6b64(0x301)](this[_0xd6b64(0x23b)][_0xd6b64(0x3ee)][_0xd6b64(0x206)](_0x8d9548=>{var _0x1454fa=_0xd6b64;_0x8d9548&&!this[_0x1454fa(0x3bb)]&&this[_0x1454fa(0x1f1)](),_0x8d9548||this[_0x1454fa(0x2d4)]();}));}['dispose'](){var _0xa6921a=_0x3fc0d2;super[_0xa6921a(0x232)](),this[_0xa6921a(0x3ec)]['forEach'](_0x237666=>_0x237666[_0xa6921a(0x232)]()),this[_0xa6921a(0x3ec)][_0xa6921a(0x21e)](),this[_0xa6921a(0x1c4)]['complete']();}async[_0x3fc0d2(0x114)](_0x5b8822){var _0x12ea80=_0x3fc0d2;if(this[_0x12ea80(0x3ec)][_0x12ea80(0x2a9)](_0x5b8822))return this['_sessions'][_0x12ea80(0x2db)](_0x5b8822);this[_0x12ea80(0x1d3)]();const _0x15382c=this[_0x12ea80(0x3eb)][_0x12ea80(0x354)](It,_0x5b8822,this[_0x12ea80(0x2f7)]['asObservable']());return this['_sessions'][_0x12ea80(0x30a)](_0x5b8822,_0x15382c),_0x15382c;}[_0x3fc0d2(0x1df)](_0x22255d){var _0xd27e61=_0x3fc0d2,_0x46fe2e;const _0x199a37=this[_0xd27e61(0x3ec)]['get'](_0x22255d);_0x199a37&&(this['_sessions'][_0xd27e61(0x3aa)](_0x22255d),_0x199a37[_0xd27e61(0x158)]()),this[_0xd27e61(0x3ec)][_0xd27e61(0x2d2)]||(_0x46fe2e=this[_0xd27e61(0x3bb)])==null||_0x46fe2e[_0xd27e61(0x158)]();}[_0x3fc0d2(0x1f1)](){var _0x321ba4=_0x3fc0d2;this['_retryCount']=0x0,this[_0x321ba4(0x229)]!=null&&(clearTimeout(this[_0x321ba4(0x229)]),this[_0x321ba4(0x229)]=null),this[_0x321ba4(0x132)]();}async[_0x3fc0d2(0x17a)](){var _0x14971c=_0x3fc0d2,_0xe7541f,_0x25f4a8,_0x569c7d;const _0x5de5ae=this[_0x14971c(0x281)][_0x14971c(0x3fe)](q),_0x18382b=(_0xe7541f=_0x5de5ae==null?void 0x0:_0x5de5ae[_0x14971c(0x331)])!=null?_0xe7541f:On;return(_0x569c7d=(_0x25f4a8=(await this[_0x14971c(0x21a)][_0x14971c(0x2db)](_0x18382b,{'headers':{'Content-Type':_0x14971c(0x261)}}))[_0x14971c(0x1b3)])==null?void 0x0:_0x25f4a8[_0x14971c(0x1b2)])!=null?_0x569c7d:'';}[_0x3fc0d2(0x39e)](_0x4e9008){var _0x870f17=_0x3fc0d2,_0x5b2207,_0x1fe780;const _0x3136f3=this[_0x870f17(0x281)][_0x870f17(0x3fe)](Rn),_0x15746a=this['_configService'][_0x870f17(0x3fe)](q),_0x1ab1da=(_0x1fe780=(_0x5b2207=_0x15746a==null?void 0x0:_0x15746a[_0x870f17(0x3ca)])!=null?_0x5b2207:_0x3136f3)!=null?_0x1fe780:bn,_0x36e151=typeof window>'u'?new URL(_0x1ab1da):new URL(_0x1ab1da,window[_0x870f17(0x39b)][_0x870f17(0x22c)]);_0x36e151[_0x870f17(0x1b5)][_0x870f17(0x30a)]('sessionTicket',_0x4e9008);const _0x1cfb36=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x1cfb36[_0x870f17(0x2db)]('runId')&&_0x36e151[_0x870f17(0x1b5)]['set'](_0x870f17(0x34c),_0x1cfb36['get']('runId')),_0x36e151[_0x870f17(0x2f5)]();}async[_0x3fc0d2(0x12e)](){var _0x2ec9a7=_0x3fc0d2;const _0x3f0309=await this[_0x2ec9a7(0x17a)](),_0x26e4d3=this[_0x2ec9a7(0x39e)](_0x3f0309),_0x54b4bb=this[_0x2ec9a7(0x176)][_0x2ec9a7(0x309)](_0x26e4d3);return this[_0x2ec9a7(0x3b7)]=_0x54b4bb,_0x54b4bb;}async['_tryEnsureSocket'](){var _0x5509f2=_0x3fc0d2,_0x5a4c0e,_0x457bf1;try{const _0x4077f0=(_0x457bf1=(_0x5a4c0e=this[_0x5509f2(0x3bb)])!=null?_0x5a4c0e:this[_0x5509f2(0x3b7)])!=null?_0x457bf1:await this[_0x5509f2(0x12e)]();if(_0x4077f0){const _0xc87c12=_0x4077f0[_0x5509f2(0x306)];_0x4077f0[_0x5509f2(0x306)]=_0x4cfeb4=>(this[_0x5509f2(0x33c)](),_0xc87c12['apply'](_0x4077f0,[_0x4cfeb4])),_0x4077f0[_0x5509f2(0x1a2)][_0x5509f2(0x206)](_0x285cd3=>this[_0x5509f2(0x12f)](_0x4077f0,_0x285cd3)),_0x4077f0['error$']['pipe'](_0x47cd1c(0x1))[_0x5509f2(0x206)](_0x4073db=>this[_0x5509f2(0x3dd)][_0x5509f2(0x24c)](_0x5509f2(0x2f4),_0x4073db)),_0x4077f0[_0x5509f2(0x321)][_0x5509f2(0x348)](_0x47cd1c(0x1))['subscribe'](()=>{var _0x528502=_0x5509f2;this[_0x528502(0x131)](_0x4077f0);}),_0x4077f0['close$']['pipe'](_0x47cd1c(0x1))[_0x5509f2(0x206)](_0x5a9860=>{var _0x1016a9=_0x5509f2;this[_0x1016a9(0x3dd)][_0x1016a9(0x3fa)](_0x1016a9(0x31a),_0x1016a9(0x377),_0x5a9860),this[_0x1016a9(0x37c)]();});}}catch(_0x40b649){this['_logService']['error'](_0x40b649),this['_onConnectionFailed']();}}[_0x3fc0d2(0x131)](_0x119d2a){var _0x30d15d=_0x3fc0d2;this[_0x30d15d(0x3dd)][_0x30d15d(0x3fa)](_0x30d15d(0x31a),_0x30d15d(0x11f)),_0x119d2a[_0x30d15d(0x306)]({'cmd':F[_0x30d15d(0x1a8)]}),this[_0x30d15d(0x33c)]();}['_onOffline'](){var _0x5ab06a=_0x3fc0d2;this['_socketReady']=!0x1,this['_candidateSocket']=null,this['_status$'][_0x5ab06a(0x400)](Te['OFFLINE']),this[_0x5ab06a(0x2f7)][_0x5ab06a(0x400)](null),this[_0x5ab06a(0x15b)](),this[_0x5ab06a(0x3bf)]();}[_0x3fc0d2(0x37c)](){var _0x1b1976=_0x3fc0d2,_0x147a8b;this['_onOffline'](),this[_0x1b1976(0x21b)]<((_0x147a8b=this[_0x1b1976(0x281)][_0x1b1976(0x3fe)](Pn))!=null?_0x147a8b:wn)?(this['_collaborationUIEventService'][_0x1b1976(0x3e6)]({'id':se['SOCKET_FAILED_RETRY']}),this[_0x1b1976(0x132)]()):this[_0x1b1976(0x123)]['emitEvent']({'id':se[_0x1b1976(0x3bd)]});}[_0x3fc0d2(0x132)](){var _0x474074=_0x3fc0d2,_0x15d3b4;const _0x7787bf=this[_0x474074(0x21b)],_0x3d9f79=this[_0x474074(0x281)][_0x474074(0x3fe)](q),_0x5d5b89=_0x7787bf===0x0?0x0:((_0x15d3b4=_0x3d9f79==null?void 0x0:_0x3d9f79[_0x474074(0x10d)])!=null?_0x15d3b4:Dn)*0x2**_0x7787bf;this[_0x474074(0x229)]=setTimeout(()=>{var _0x5b36b8=_0x474074;clearTimeout(this['_retryConnectingTimer']),this[_0x5b36b8(0x229)]=null,this['_tryEnsureSocket']();},_0x5d5b89),this[_0x474074(0x21b)]+=0x1;}[_0x3fc0d2(0x12f)](_0x18c836,_0x4b32f8){var _0x425067=_0x3fc0d2;const {cmd:_0x3d51c9}=_0x4b32f8;_0x3d51c9===F[_0x425067(0x1a8)]&&!this[_0x425067(0x27f)]&&(_0x18c836[_0x425067(0x1aa)]=_0x4b32f8[_0x425067(0x144)][_0x425067(0x1aa)],this['_socket$'][_0x425067(0x400)](_0x18c836),this['_status$']['next'](Te[_0x425067(0x121)]),this[_0x425067(0x27f)]=!0x0,this[_0x425067(0x3b7)]=null),_0x3d51c9===F[_0x425067(0x375)]&&this[_0x425067(0x15b)](),this[_0x425067(0x33c)]();}[_0x3fc0d2(0x33c)](){var _0x176290=_0x3fc0d2,_0x11ccee;this[_0x176290(0x3bf)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x176290(0x294)](),(_0x11ccee=this[_0x176290(0x281)]['getConfig'](yn))!=null?_0x11ccee:Nn);}[_0x3fc0d2(0x294)](){var _0x89b537=_0x3fc0d2;this['_socket']['send']({'cmd':F['HEARTBEAT']}),this[_0x89b537(0x280)]();}['_waitForHeartbeatResponse'](){var _0x279e73=_0x3fc0d2,_0x3c70f8;this['_timeoutTimer']=setTimeout(()=>this[_0x279e73(0x37c)](),(_0x3c70f8=this['_configService'][_0x279e73(0x3fe)](Si))!=null?_0x3c70f8:Ei);}[_0x3fc0d2(0x3bf)](){this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x3fc0d2(0x15b)](){var _0xa233f7=_0x3fc0d2;this[_0xa233f7(0x26d)]!=null&&(clearTimeout(this[_0xa233f7(0x26d)]),this[_0xa233f7(0x26d)]=null);}};Le=er([ge(0x0,_0x4a0d65(_0x3e5f47)),ge(0x1,_0x5c7efb),ge(0x2,_0x10186),ge(0x3,Ci),ge(0x4,_0x4a0d65(_0x242e5e)),ge(0x5,_0x4a0d65(pe)),ge(0x6,_0x469180(Mn))],Le);function _0x3335(_0x559d2a,_0x5262fc){var _0x3d561f=_0x3d56();return _0x3335=function(_0x3335b7,_0x587274){_0x3335b7=_0x3335b7-0x10b;var _0x479c4e=_0x3d561f[_0x3335b7];return _0x479c4e;},_0x3335(_0x559d2a,_0x5262fc);}const V=[];for(let n=0x0;n<0x100;++n)V[_0x3fc0d2(0x1ba)]((n+0x100)[_0x3fc0d2(0x2f5)](0x10)[_0x3fc0d2(0x38e)](0x1));function tr(_0x4bc7d5,_0x29740a=0x0){var _0x59e41d=_0x3fc0d2;return(V[_0x4bc7d5[_0x29740a+0x0]]+V[_0x4bc7d5[_0x29740a+0x1]]+V[_0x4bc7d5[_0x29740a+0x2]]+V[_0x4bc7d5[_0x29740a+0x3]]+'-'+V[_0x4bc7d5[_0x29740a+0x4]]+V[_0x4bc7d5[_0x29740a+0x5]]+'-'+V[_0x4bc7d5[_0x29740a+0x6]]+V[_0x4bc7d5[_0x29740a+0x7]]+'-'+V[_0x4bc7d5[_0x29740a+0x8]]+V[_0x4bc7d5[_0x29740a+0x9]]+'-'+V[_0x4bc7d5[_0x29740a+0xa]]+V[_0x4bc7d5[_0x29740a+0xb]]+V[_0x4bc7d5[_0x29740a+0xc]]+V[_0x4bc7d5[_0x29740a+0xd]]+V[_0x4bc7d5[_0x29740a+0xe]]+V[_0x4bc7d5[_0x29740a+0xf]])[_0x59e41d(0x343)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x47d9c6=_0x3fc0d2;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto['getRandomValues'][_0x47d9c6(0x211)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x3fc0d2(0x36c)][_0x3fc0d2(0x211)](crypto),qt={'randomUUID':rr};function sr(_0x26d758,_0x1addb7,_0x2e9018){var _0x202d61=_0x3fc0d2,_0x5e24d5,_0xe8eeee,_0x27a196;if(qt[_0x202d61(0x36c)]&&!_0x26d758)return qt[_0x202d61(0x36c)]();_0x26d758=_0x26d758||{};const _0x5941dc=(_0x27a196=(_0xe8eeee=_0x26d758[_0x202d61(0x2cf)])!=null?_0xe8eeee:(_0x5e24d5=_0x26d758[_0x202d61(0x220)])==null?void 0x0:_0x5e24d5[_0x202d61(0x130)](_0x26d758))!=null?_0x27a196:nr();if(_0x5941dc[_0x202d61(0x2ee)]<0x10)throw new Error(_0x202d61(0x3be));return _0x5941dc[0x6]=_0x5941dc[0x6]&0xf|0x40,_0x5941dc[0x8]=_0x5941dc[0x8]&0x3f|0x80,tr(_0x5941dc);}const J=_0xa76c5b('collaboration-client.local-cache-service');function so(_0x4359df){var _0x206095=_0x3fc0d2;return _0x206095(0x1a4)+_0x4359df;}var or=Object['defineProperty'],ar=Object[_0x3fc0d2(0x314)],cr=(_0x3d8625,_0xb76b18,_0x59baaa,_0x53e7b7)=>{var _0xb1144d=_0x3fc0d2;for(var _0x3489b1=_0x53e7b7>0x1?void 0x0:_0x53e7b7?ar(_0xb76b18,_0x59baaa):_0xb76b18,_0xa46e17=_0x3d8625[_0xb1144d(0x2ee)]-0x1,_0x3db703;_0xa46e17>=0x0;_0xa46e17--)(_0x3db703=_0x3d8625[_0xa46e17])&&(_0x3489b1=(_0x53e7b7?_0x3db703(_0xb76b18,_0x59baaa,_0x3489b1):_0x3db703(_0x3489b1))||_0x3489b1);return _0x53e7b7&&_0x3489b1&&or(_0xb76b18,_0x59baaa,_0x3489b1),_0x3489b1;},dt=(_0x32232f,_0x10e193)=>(_0xa7551,_0x44a95b)=>_0x10e193(_0xa7551,_0x44a95b,_0x32232f);function hr(_0x5173b3){var _0x4dcd64=_0x3fc0d2;const {unitID:_0x426a7b,mutations:_0x42d78c}=_0x5173b3;return{'unitId':_0x426a7b,'subUnitId':_0x42d78c[0x0][_0x4dcd64(0x3dc)][_0x4dcd64(0x14c)]};}let it=class{constructor(_0x3901b6,_0x444c9b,_0x202669){var _0x3c3945=_0x3fc0d2;this[_0x3c3945(0x3eb)]=_0x3901b6,this[_0x3c3945(0x330)]=_0x444c9b,this['_instanceService']=_0x202669;}['transformSelections'](_0x298edf){var _0x5524a9=_0x3fc0d2,_0x40e102,_0x5158b6,_0x3fffda,_0x37171f;const _0xa49d34=this[_0x5524a9(0x3eb)]['get'](_0x4ee23c),{unitId:_0x5e93f0,subUnitId:_0xf028a6}=hr(_0x298edf),_0x422301=_0xa49d34==null?void 0x0:_0xa49d34[_0x5524a9(0x150)](_0x5e93f0)[_0x5524a9(0x2fd)](),_0x2735a4=(_0x5158b6=(_0x40e102=this['_instanceService']['getUnit'](_0x5e93f0))==null?void 0x0:_0x40e102[_0x5524a9(0x27c)]())==null?void 0x0:_0x5158b6[_0x5524a9(0x1f7)]();if(_0x422301['length']===0x0||!_0x5e93f0||!_0xf028a6)return;const _0x54fb26=[{'id':_0xbebf4c['id'],'params':{'unitId':_0x5e93f0,'subUnitId':_0x2735a4,'selections':_0x3f72fc[_0x5524a9(0x193)](_0x422301)}}],_0xbf617e=this['_transformService'][_0x5524a9(0x37b)](_0x298edf,_0x54fb26);if(!_0x4911e8(_0xbf617e))throw _0xbf617e[_0x5524a9(0x24c)];const _0xaa2244=(_0x37171f=(_0x3fffda=_0xbf617e[_0x5524a9(0x1fc)][0x0])==null?void 0x0:_0x3fffda[_0x5524a9(0x3dc)])==null?void 0x0:_0x37171f[_0x5524a9(0x3db)];if(Array[_0x5524a9(0x126)](_0xaa2244)&&_0xaa2244[_0x5524a9(0x2ee)]){if(_0xaa2244[_0x5524a9(0x2ee)]===_0x54fb26[0x0][_0x5524a9(0x3dc)]['selections'][_0x5524a9(0x2ee)]&&_0xaa2244['every']((_0x517448,_0x2af69b)=>_0xce2ba7[_0x5524a9(0x2f9)](_0x517448['range'],_0x54fb26[0x0][_0x5524a9(0x3dc)][_0x5524a9(0x3db)][_0x2af69b][_0x5524a9(0x1fd)])))return;this['_injector'][_0x5524a9(0x2db)](_0x478928)[_0x5524a9(0x1d4)](_0xbebf4c['id'],{'unitId':_0x5e93f0,'subUnitId':_0x2735a4,'selections':_0xaa2244});}}};it=cr([dt(0x0,_0x4a0d65(_0x3e5f47)),dt(0x1,_0x44918b),dt(0x2,_0x2e5298)],it);const ht=_0xa76c5b(_0x3fc0d2(0x37d));var bi=(_0x4b7a55=>(_0x4b7a55[_0x4b7a55[_0x3fc0d2(0x274)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4b7a55[_0x4b7a55[_0x3fc0d2(0x396)]=0x1]=_0x3fc0d2(0x396),_0x4b7a55))(bi||{});const _r=new Set([_0x10e451['id']]);function zt(_0x7aa376,_0x4e9d5e,_0x54bb9f,_0x2c0fec,_0x1cbcbf){var _0x51a35d=_0x3fc0d2,_0x12e948,_0x4e98d3,_0x523330,_0x43103d;const _0x5ead56=[];for(const _0x542a17 of _0x7aa376)if(_r[_0x51a35d(0x2a9)](_0x542a17['id'])){if(_0x5ead56[_0x51a35d(0x2ee)]>0x0)break;_0x5ead56['push'](_0x542a17);break;}else _0x5ead56[_0x51a35d(0x1ba)](_0x542a17);const _0x522a68=(_0x4e98d3=(_0x12e948=_0x1cbcbf[_0x51a35d(0x353)]())==null?void 0x0:_0x12e948[_0x51a35d(0x1ee)])!=null?_0x4e98d3:'unknown',_0x1b31ac=(_0x43103d=(_0x523330=_0x1cbcbf[_0x51a35d(0x353)]())==null?void 0x0:_0x523330['memberID'])!=null?_0x43103d:_0x51a35d(0x146);return{'changeset':{'unitID':_0x4e9d5e,'type':_0x559457(_0x54bb9f[_0x51a35d(0x18f)](_0x4e9d5e)),'baseRev':_0x2c0fec['getCurrentRevOfUnit'](_0x4e9d5e),'revision':0x0,'userID':_0x522a68,'memberID':_0x1b31ac,'mutations':_0x5ead56},'pendingMutations':_0x7aa376['slice'](_0x5ead56[_0x51a35d(0x2ee)])};}function lr(_0x1aa234,_0xb38c57,_0x226b3f,_0x4e0a2f,_0x1f59b8){var _0x1d1c7e=_0x3fc0d2,_0x4f5136,_0x4b56a1,_0x1c9e78,_0x3d9a21;const _0x24fb19=[_0x1aa234[_0x1d1c7e(0x374)]((_0x29c4f7,_0x1d69da)=>{var _0x3118ed=_0x1d1c7e,_0x470e7c;const {id:_0x286d8f}=_0x29c4f7,{id:_0x23163c,type:_0x1d8bb8}=_0x1d69da,_0x12af51=(_0x470e7c=_0x29c4f7['params'])!=null?_0x470e7c:{'actions':null},_0x16b74=_0x1d69da[_0x3118ed(0x3dc)];if(_0x286d8f&&_0x286d8f!==_0x23163c)throw new Error(_0x3118ed(0x23f)+_0x286d8f+_0x3118ed(0x285)+_0x23163c+'.');return{..._0x29c4f7,'id':_0x23163c,'type':_0x1d8bb8,'params':{'unitId':_0x16b74[_0x3118ed(0x200)],'textRanges':_0x16b74[_0x3118ed(0x194)],'actions':_0x32e67d[_0x3118ed(0x188)](_0x12af51[_0x3118ed(0x3f0)],_0x16b74[_0x3118ed(0x3f0)])}};},{})],_0x423683=(_0x4b56a1=(_0x4f5136=_0x1f59b8[_0x1d1c7e(0x353)]())==null?void 0x0:_0x4f5136[_0x1d1c7e(0x1ee)])!=null?_0x4b56a1:_0x1d1c7e(0x146),_0x48a33b=(_0x3d9a21=(_0x1c9e78=_0x1f59b8[_0x1d1c7e(0x353)]())==null?void 0x0:_0x1c9e78['memberID'])!=null?_0x3d9a21:_0x1d1c7e(0x146);return{'changeset':{'unitID':_0xb38c57,'type':_0x559457(_0x226b3f[_0x1d1c7e(0x18f)](_0xb38c57)),'baseRev':_0x4e0a2f[_0x1d1c7e(0x356)](_0xb38c57),'revision':0x0,'userID':_0x423683,'memberID':_0x48a33b,'mutations':_0x24fb19},'pendingMutations':[]};}function Oi(_0x21a044,_0x59a8fb){var _0x52c982=_0x3fc0d2;const _0x254184=new _0x2c102a(0x1);return setTimeout(()=>_0x254184[_0x52c982(0x400)](_0x59a8fb),_0x21a044),_0x254184[_0x52c982(0x357)]()['pipe'](_0x5e2b45(0x1));}const ur={'id':_0x312b5b['id'],'type':_0x439428[_0x3fc0d2(0x28c)],'params':{}};var dr=Object['defineProperty'],fr=Object[_0x3fc0d2(0x314)],Re=(_0x5968e2,_0x168bcd,_0x570b18,_0x3a32cf)=>{for(var _0x20bb7b=_0x3a32cf>0x1?void 0x0:_0x3a32cf?fr(_0x168bcd,_0x570b18):_0x168bcd,_0x3761c4=_0x5968e2['length']-0x1,_0x5e7c23;_0x3761c4>=0x0;_0x3761c4--)(_0x5e7c23=_0x5968e2[_0x3761c4])&&(_0x20bb7b=(_0x3a32cf?_0x5e7c23(_0x168bcd,_0x570b18,_0x20bb7b):_0x5e7c23(_0x20bb7b))||_0x20bb7b);return _0x3a32cf&&_0x20bb7b&&dr(_0x168bcd,_0x570b18,_0x20bb7b),_0x20bb7b;},A=(_0x25eac0,_0x47aa1f)=>(_0x3a0cc5,_0x4b0c41)=>_0x47aa1f(_0x3a0cc5,_0x4b0c41,_0x25eac0),yi=(_0x3d1375=>(_0x3d1375[_0x3fc0d2(0x20c)]='not_collab',_0x3d1375['SYNCED']=_0x3fc0d2(0x1b1),_0x3d1375[_0x3fc0d2(0x2cb)]=_0x3fc0d2(0x207),_0x3d1375[_0x3fc0d2(0x221)]='awaiting',_0x3d1375[_0x3fc0d2(0x2de)]='awaiting_with_pending',_0x3d1375['FETCH_MISS']=_0x3fc0d2(0x2dc),_0x3d1375[_0x3fc0d2(0x1b4)]=_0x3fc0d2(0x1ec),_0x3d1375['OFFLINE']=_0x3fc0d2(0x181),_0x3d1375))(yi||{});const Ni=0xea60;class be{constructor(_0x2cdda6,_0x15b4da,_0x59c0b4,_0x1e8c7b,_0x13e130,_0x9b218,_0x2b6190,_0xb26e21,_0x309b6e){var _0x5d573a=_0x3fc0d2;N(this,_0x5d573a(0x14d),null),N(this,_0x5d573a(0x318),[]),(this[_0x5d573a(0x134)]=_0x2cdda6,this[_0x5d573a(0x293)]=_0x15b4da,this[_0x5d573a(0x2a0)]=_0x13e130,this[_0x5d573a(0x1f3)]=_0x9b218,this[_0x5d573a(0x1ae)]=_0x2b6190,this[_0x5d573a(0x1c6)]=_0xb26e21,this[_0x5d573a(0x346)]=_0x309b6e,this[_0x5d573a(0x14d)]=_0x59c0b4,this[_0x5d573a(0x318)]=_0x1e8c7b);}['_checkMissing'](_0x492d83){var _0x891fb=_0x3fc0d2;const _0x33fc96=this[_0x891fb(0x1c6)][_0x891fb(0x356)](this[_0x891fb(0x134)]);return _0x492d83['revision']>_0x33fc96+0x1?(this['_handler'][_0x891fb(0x2be)]({'from':_0x33fc96,'to':_0x492d83[_0x891fb(0x27e)]-0x1}),!0x0):!0x1;}[_0x3fc0d2(0x33d)](_0x1bd76f){var _0x2248dc=_0x3fc0d2;this[_0x2248dc(0x1ae)][_0x2248dc(0x1ea)](this[_0x2248dc(0x134)],_0x1bd76f);}[_0x3fc0d2(0x26b)](_0x355a65){var _0x5b6e5b,_0x1a0017;(_0x1a0017=(_0x5b6e5b=this['_handler'])['onTransformSelections'])==null||_0x1a0017['call'](_0x5b6e5b,_0x355a65);}[_0x3fc0d2(0x366)](_0x22faaf){var _0x2bb42c=_0x3fc0d2,_0x369995,_0x4258b3;return(_0x4258b3=(_0x369995=this[_0x2bb42c(0x2a0)])[_0x2bb42c(0x254)])==null?void 0x0:_0x4258b3[_0x2bb42c(0x130)](_0x369995,_0x22faaf);}[_0x3fc0d2(0x328)](_0x4d7539){var _0x5b27f2=_0x3fc0d2,_0x32e8de,_0x4c77eb;return(_0x4c77eb=(_0x32e8de=this[_0x5b27f2(0x2a0)])[_0x5b27f2(0x363)])==null?void 0x0:_0x4c77eb[_0x5b27f2(0x130)](_0x32e8de,_0x4d7539);}[_0x3fc0d2(0x20d)](_0x3f434c){var _0x3bc3b7=_0x3fc0d2,_0x543248,_0x1a0670,_0x5554c1;return(_0x5554c1=(_0x1a0670=(_0x543248=this['_handler'])[_0x3bc3b7(0x3a8)])==null?void 0x0:_0x1a0670[_0x3bc3b7(0x130)](_0x543248,_0x3f434c))!=null?_0x5554c1:_0x3f434c;}[_0x3fc0d2(0x2c6)](_0x204edf){var _0xbcdcbc=_0x3fc0d2,_0x19378e,_0x1ea731,_0x59afd8;return(_0x59afd8=(_0x1ea731=(_0x19378e=this['_handler'])[_0xbcdcbc(0x38b)])==null?void 0x0:_0x1ea731[_0xbcdcbc(0x130)](_0x19378e,_0x204edf))!=null?_0x59afd8:_0x204edf;}[_0x3fc0d2(0x365)](_0x3858b1){var _0x4899dd=_0x3fc0d2,_0x534663,_0x2919dc;if(this[_0x4899dd(0x293)]===Q[_0x4899dd(0x161)]){const {unitID:_0x50362a,mutations:_0xc26d75,memberID:_0x41229b}=_0x3858b1,_0x3dfdd0=_0xc26d75[0x0][_0x4899dd(0x3dc)]['textRanges'];Array['isArray'](_0x3dfdd0)&&_0x3dfdd0[_0x4899dd(0x2ee)]>0x0&&((_0x2919dc=(_0x534663=this[_0x4899dd(0x2a0)])['onSyncEditingCollabCursor'])==null||_0x2919dc[_0x4899dd(0x130)](_0x534663,{'unitID':_0x50362a,'memberID':_0x41229b,'textRanges':_0x3dfdd0}));}}[_0x3fc0d2(0x13f)](){var _0x4902e9=_0x3fc0d2,_0x3757fa;(_0x3757fa=this[_0x4902e9(0x346)])==null||_0x3757fa['updateOfflineData'](this['unitID'],this[_0x4902e9(0x293)],this[_0x4902e9(0x14d)],this[_0x4902e9(0x318)]);}['_getCurrentRevision'](){var _0x321c6f=_0x3fc0d2;return this[_0x321c6f(0x1c6)]['getCurrentRevOfUnit'](this[_0x321c6f(0x134)]);}[_0x3fc0d2(0x26f)](){var _0x16d631=_0x3fc0d2;this[_0x16d631(0x1c6)][_0x16d631(0x29d)](this['unitID']);}[_0x3fc0d2(0x18d)](_0x22a998){var _0x210085=_0x3fc0d2,_0x2a34de;let _0x2b1d2f=this[_0x210085(0x20d)](_0x22a998);_0x2b1d2f=this[_0x210085(0x2c6)](_0x2b1d2f);const _0x5ba01e=_0x25b24d(_0x2b1d2f[_0x210085(0x402)],this[_0x210085(0x1f3)],{'fromCollab':!0x0});if(!_0x5ba01e[_0x210085(0x138)])throw _0x5ba01e[_0x210085(0x24c)]instanceof Error?_0x5ba01e[_0x210085(0x24c)]:new Error((_0x2a34de=_0x5ba01e['error'])!=null?_0x2a34de:_0x210085(0x1e2));this[_0x210085(0x366)](_0x2b1d2f),this['_transformStateCache'](_0x2b1d2f),this[_0x210085(0x33d)](_0x22a998),this[_0x210085(0x26b)](_0x2b1d2f),this[_0x210085(0x365)](_0x2b1d2f),this[_0x210085(0x26f)]();}}let De=class extends be{constructor(_0xdcc121,_0x21b185,_0x28babf,_0xef907,_0x254237,_0x1c21e2,_0x14cc56,_0x746f52,_0x439c9a,_0x171429){var _0x3beae0=_0x3fc0d2;super(_0xdcc121,_0x21b185,null,[],_0x28babf,_0x14cc56,_0x1c21e2,_0xef907,_0x171429),N(this,'status',_0x3beae0(0x1b1)),(this[_0x3beae0(0x3eb)]=_0x254237,this[_0x3beae0(0x3dd)]=_0x746f52,this['_transformService']=_0x439c9a,this[_0x3beae0(0x278)]=_0x171429);}['appendMutation'](_0x30341b){var _0x294b5d=_0x3fc0d2;const _0x27eb0b=this['_injector'][_0x294b5d(0x354)](oe,this[_0x294b5d(0x134)],this[_0x294b5d(0x293)],[_0x30341b],this[_0x294b5d(0x2a0)]);return _0x27eb0b[_0x294b5d(0x292)](),_0x27eb0b[_0x294b5d(0x13f)](),_0x27eb0b;}[_0x3fc0d2(0x2f1)](_0x56ef0c){var _0x14b494=_0x3fc0d2;if(this[_0x14b494(0x2d3)](_0x56ef0c))return this[_0x14b494(0x3eb)][_0x14b494(0x354)](te,this[_0x14b494(0x134)],this[_0x14b494(0x293)],null,[],null,[_0x56ef0c],this[_0x14b494(0x2a0)]);try{const _0x594698=this[_0x14b494(0x330)][_0x14b494(0x37b)](_0x56ef0c,[ur]);if(_0x4911e8(_0x594698)){const {c1Prime:_0x4f1d8e}=_0x594698;return this[_0x14b494(0x18d)](_0x4f1d8e),this;}throw _0x594698['error'];}catch(_0x5834cd){return this[_0x14b494(0x3dd)][_0x14b494(0x24c)](_0x5834cd),this['_onConflict'](!0x1);}}[_0x3fc0d2(0x30e)](_0x145d1a){var _0xde504a=_0x3fc0d2;return this[_0xde504a(0x3eb)]['createInstance'](de,this[_0xde504a(0x134)],this[_0xde504a(0x293)],null,[],this[_0xde504a(0x2a0)],_0x145d1a);}[_0x3fc0d2(0x3d5)](){var _0x15f6c7=_0x3fc0d2;throw new Error(_0x15f6c7(0x33e));}[_0x3fc0d2(0x3d8)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x3fc0d2(0x190)](){return this;}[_0x3fc0d2(0x270)](){var _0x2889a3=_0x3fc0d2;return this[_0x2889a3(0x3eb)][_0x2889a3(0x354)](fe,this[_0x2889a3(0x134)],this['type'],null,[],this['_handler']);}[_0x3fc0d2(0x2d5)](){return this;}['resend'](){var _0x3f69db=_0x3fc0d2;throw new Error(_0x3f69db(0x1e5));}[_0x3fc0d2(0x351)](){var _0x8f1477=_0x3fc0d2;const _0x499f69=this[_0x8f1477(0x1c6)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x8f1477(0x2a0)][_0x8f1477(0x2be)]({'from':_0x499f69,'to':0x0}),this[_0x8f1477(0x3eb)][_0x8f1477(0x354)](te,this['unitID'],this[_0x8f1477(0x293)],null,[],null,[],this[_0x8f1477(0x2a0)]);}};De=Re([A(0x3,_0x4a0d65(_0x306d90)),A(0x4,_0x4a0d65(_0x3e5f47)),A(0x5,_0x3a051e),A(0x6,_0x478928),A(0x7,_0x5c7efb),A(0x8,_0x44918b),A(0x9,_0x469180(J))],De);let oe=class extends be{constructor(_0xffc3c7,_0x29e27c,_0x313218,_0x28fa67,_0x43bcb1,_0x2a2d12,_0x524959,_0x153165,_0x19923b,_0x426179,_0x1acab5,_0x37e41c,_0x4ae8a0,_0x181c1f){var _0x50ca50=_0x3fc0d2;super(_0xffc3c7,_0x29e27c,null,_0x313218,_0x28fa67,_0x19923b,_0x4ae8a0,_0x2a2d12,_0x181c1f),N(this,_0x50ca50(0x1e6),_0x50ca50(0x207)),N(this,_0x50ca50(0x283),null),N(this,_0x50ca50(0x15d),null),(this[_0x50ca50(0x3eb)]=_0x43bcb1,this[_0x50ca50(0x16a)]=_0x524959,this['_logService']=_0x153165,this[_0x50ca50(0x281)]=_0x426179,this[_0x50ca50(0x330)]=_0x1acab5,this[_0x50ca50(0x230)]=_0x37e41c);}[_0x3fc0d2(0x240)](_0x325607){return this['_pendingMutations']['push'](_0x325607),this['_updateLocalCache'](),this;}[_0x3fc0d2(0x2f1)](_0x15cbba){var _0x1122f0=_0x3fc0d2;if(this[_0x1122f0(0x2d3)](_0x15cbba))return this[_0x1122f0(0x266)](),this[_0x1122f0(0x3eb)][_0x1122f0(0x354)](te,this[_0x1122f0(0x134)],this[_0x1122f0(0x293)],null,this[_0x1122f0(0x318)],null,[_0x15cbba],this[_0x1122f0(0x2a0)]);try{const _0x293be3=this['_transformService'][_0x1122f0(0x37b)](_0x15cbba,this[_0x1122f0(0x318)]);if(_0x4911e8(_0x293be3)){const {c1Prime:_0x4d76e6,m2Prime:_0x135724}=_0x293be3;this[_0x1122f0(0x18d)](_0x4d76e6);const _0xd8f5cb=this['_injector'][_0x1122f0(0x354)](oe,this[_0x1122f0(0x134)],this[_0x1122f0(0x293)],_0x135724,this[_0x1122f0(0x2a0)]);this[_0x1122f0(0x266)]();const _0x1aa8bf=new Date()[_0x1122f0(0x175)](),_0x54c94d=this[_0x1122f0(0x283)]?Math[_0x1122f0(0x13b)](this[_0x1122f0(0x283)]-_0x1aa8bf,0x0):this[_0x1122f0(0x209)]();return _0xd8f5cb[_0x1122f0(0x292)](_0x54c94d),_0xd8f5cb;}throw _0x293be3[_0x1122f0(0x24c)];}catch(_0xa470d1){return this[_0x1122f0(0x3dd)]['error'](_0xa470d1),this[_0x1122f0(0x30e)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x3fc0d2(0x3d8)](){var _0x7682cb=_0x3fc0d2;throw new Error(_0x7682cb(0x27a));}[_0x3fc0d2(0x190)](){return this;}[_0x3fc0d2(0x270)](){var _0x2497da=_0x3fc0d2;return this['_clearScheduledTask'](),this['_injector'][_0x2497da(0x354)](fe,this['unitID'],this[_0x2497da(0x293)],null,this['_pendingMutations'],this[_0x2497da(0x2a0)]);}[_0x3fc0d2(0x2d5)](){return this;}['_schedule'](_0x177bc5){var _0x40291c=_0x3fc0d2;const _0x2ffb94=_0x177bc5!=null?_0x177bc5:this[_0x40291c(0x209)]();this[_0x40291c(0x283)]=new Date()[_0x40291c(0x175)]()+_0x2ffb94,this[_0x40291c(0x15d)]=setTimeout(()=>{var _0x13e942=_0x40291c;this[_0x13e942(0x266)]();let _0x190566=null;switch(this[_0x13e942(0x293)]){case Q['UNIVER_SHEET']:{_0x190566=zt(this[_0x13e942(0x318)],this[_0x13e942(0x134)],this[_0x13e942(0x230)],this[_0x13e942(0x1c6)],this[_0x13e942(0x16a)]);break;}case Q[_0x13e942(0x161)]:{this[_0x13e942(0x318)]['every'](_0x2e87d8=>_0x2e87d8['id']===_0x2b8d0b['id'])?_0x190566=lr(this['_pendingMutations'],this[_0x13e942(0x134)],this['_univerInstanceService'],this[_0x13e942(0x1c6)],this[_0x13e942(0x16a)]):_0x190566=zt(this['_pendingMutations'],this[_0x13e942(0x134)],this[_0x13e942(0x230)],this[_0x13e942(0x1c6)],this[_0x13e942(0x16a)]);break;}default:throw new Error(_0x13e942(0x122)+this['type']+_0x13e942(0x248));}const {changeset:_0x24c866,pendingMutations:_0x436213}=_0x190566;this['_handler'][_0x13e942(0x284)](_0x24c866);const _0x18f91e=_0x436213['length']?this[_0x13e942(0x3eb)][_0x13e942(0x354)](ae,this[_0x13e942(0x134)],this[_0x13e942(0x293)],_0x24c866,_0x436213,this[_0x13e942(0x2a0)],void 0x0):this[_0x13e942(0x3eb)][_0x13e942(0x354)](ue,this[_0x13e942(0x134)],this[_0x13e942(0x293)],_0x24c866,this[_0x13e942(0x2a0)]);_0x18f91e[_0x13e942(0x13f)](),this['_handler'][_0x13e942(0x2a6)](this,_0x18f91e);},_0x2ffb94);}[_0x3fc0d2(0x209)](){var _0x34c8ce=_0x3fc0d2,_0x10ba17;const _0x12183=this[_0x34c8ce(0x281)][_0x34c8ce(0x3fe)](q);return(_0x10ba17=_0x12183==null?void 0x0:_0x12183['sendChangesetTimeout'])!=null?_0x10ba17:Cn;}[_0x3fc0d2(0x2bf)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x247212=_0x3fc0d2;this[_0x247212(0x15d)]!=null&&(clearTimeout(this[_0x247212(0x15d)]),this[_0x247212(0x15d)]=null);}[_0x3fc0d2(0x30e)](_0x48ad6c){var _0x11eb50=_0x3fc0d2;return this[_0x11eb50(0x266)](),this[_0x11eb50(0x3eb)][_0x11eb50(0x354)](de,this[_0x11eb50(0x134)],this[_0x11eb50(0x293)],null,this[_0x11eb50(0x318)],this[_0x11eb50(0x2a0)],_0x48ad6c);}};oe=Re([A(0x4,_0x4a0d65(_0x3e5f47)),A(0x5,_0x4a0d65(_0x306d90)),A(0x6,_0x4a0d65(xe)),A(0x7,_0x5c7efb),A(0x8,_0x478928),A(0x9,_0x10186),A(0xa,_0x44918b),A(0xb,_0x2e5298),A(0xc,_0x3a051e),A(0xd,_0x469180(J))],oe);let ue=class extends be{constructor(_0x4ae7c3,_0x47cf52,_0x265651,_0x57961b,_0x314c59,_0x5d2076,_0x57f87b,_0x5e08bf,_0x2353c1,_0xc6fd0f,_0x18ac80){var _0x445ec6=_0x3fc0d2;super(_0x4ae7c3,_0x47cf52,_0x265651,[],_0x57961b,_0x57f87b,_0xc6fd0f,_0x5d2076,_0x18ac80),N(this,_0x445ec6(0x1e6),_0x445ec6(0x1f5)),N(this,_0x445ec6(0x394),0x0),N(this,_0x445ec6(0x205)),N(this,_0x445ec6(0x22d)),(this[_0x445ec6(0x3eb)]=_0x314c59,this[_0x445ec6(0x3dd)]=_0x5e08bf,this[_0x445ec6(0x330)]=_0x2353c1);}['appendMutation'](_0x508002){var _0x383109=_0x3fc0d2;this[_0x383109(0x266)]();const _0x267f63=this[_0x383109(0x3eb)][_0x383109(0x354)](ae,this[_0x383109(0x134)],this['type'],this['_awaitingChangeset'],[_0x508002],this[_0x383109(0x2a0)],this[_0x383109(0x205)]);return _0x267f63['_updateLocalCache'](),_0x267f63;}[_0x3fc0d2(0x2f1)](_0x45703c){var _0xf955aa=_0x3fc0d2;if(this['_checkMissing'](_0x45703c))return this[_0xf955aa(0x266)](),this[_0xf955aa(0x3eb)][_0xf955aa(0x354)](te,this[_0xf955aa(0x134)],this[_0xf955aa(0x293)],this['_awaitingChangeset'],[],null,[_0x45703c],this['_handler']);try{const _0x4cf478=this[_0xf955aa(0x330)][_0xf955aa(0x385)]([_0x45703c],[this[_0xf955aa(0x14d)]],!0x1);if(_0x156ed7(_0x4cf478)){const {c1Prime:_0x5c3eb0,c2Prime:_0x3f3c01}=_0x4cf478;this[_0xf955aa(0x18d)](_0x5c3eb0[0x0]),_0x3f3c01[0x0]['baseRev']=this[_0xf955aa(0x16b)](),this[_0xf955aa(0x266)]();const _0x1e974d=this[_0xf955aa(0x3eb)]['createInstance'](ue,this[_0xf955aa(0x134)],this['type'],_0x3f3c01[0x0],this[_0xf955aa(0x2a0)]);return _0x1e974d['_updateLocalCache'](),_0x1e974d;}return this['_onConflict'](!0x1);}catch(_0x1cd90b){return this['_logService'][_0xf955aa(0x24c)](_0x1cd90b),this[_0xf955aa(0x30e)](!0x1);}}[_0x3fc0d2(0x3d5)](_0x4cf113){var _0xe7d8a2=_0x3fc0d2;this[_0xe7d8a2(0x266)]();const _0x368992=this[_0xe7d8a2(0x1c6)]['getCurrentRevOfUnit'](this[_0xe7d8a2(0x134)]);if(_0x4cf113[_0xe7d8a2(0x27e)]<_0x368992-0x1)return this;if(this[_0xe7d8a2(0x2d3)](_0x4cf113))return this[_0xe7d8a2(0x3eb)][_0xe7d8a2(0x354)](te,this[_0xe7d8a2(0x134)],this[_0xe7d8a2(0x293)],null,[],this[_0xe7d8a2(0x14d)],[],this[_0xe7d8a2(0x2a0)]);this[_0xe7d8a2(0x26f)]();const _0x49fe3e=this[_0xe7d8a2(0x3eb)][_0xe7d8a2(0x354)](De,this[_0xe7d8a2(0x134)],this[_0xe7d8a2(0x293)],this[_0xe7d8a2(0x2a0)]);return _0x49fe3e[_0xe7d8a2(0x13f)](),_0x49fe3e;}[_0x3fc0d2(0x3d8)](_0x1b7b5b){var _0x4bb8a3=_0x3fc0d2;return this[_0x4bb8a3(0x30e)](!!(_0x1b7b5b!=null&&_0x1b7b5b[_0x4bb8a3(0x339)]));}[_0x3fc0d2(0x190)](_0x2f94bf){var _0xcb46c3=_0x3fc0d2;return this[_0xcb46c3(0x394)]>Ni?this[_0xcb46c3(0x270)]():(this['_resendTimer']=Oi(this[_0xcb46c3(0x394)],{'timeout':this[_0xcb46c3(0x394)],'reqId':_0x2f94bf['reqId']}),this['_sender']=this[_0xcb46c3(0x205)][_0xcb46c3(0x206)](({reqId:_0x162f05,timeout:_0x26e8bd})=>{var _0xfa21ec=_0xcb46c3;this[_0xfa21ec(0x23c)](_0x162f05,_0x26e8bd);}),this);}[_0x3fc0d2(0x270)](){var _0x3e8f49=_0x3fc0d2;return this[_0x3e8f49(0x266)](),this[_0x3e8f49(0x3eb)][_0x3e8f49(0x354)](fe,this['unitID'],this[_0x3e8f49(0x293)],this['_awaitingChangeset'],[],this[_0x3e8f49(0x2a0)]);}[_0x3fc0d2(0x2d5)](){return this;}[_0x3fc0d2(0x2bf)](){var _0x4eb285=_0x3fc0d2;this[_0x4eb285(0x2a0)][_0x4eb285(0x284)](this['_awaitingChangeset']);}[_0x3fc0d2(0x30e)](_0x4c51ac){var _0x48e630=_0x3fc0d2;return this['_clearScheduledTask'](),this[_0x48e630(0x3eb)][_0x48e630(0x354)](de,this[_0x48e630(0x134)],this[_0x48e630(0x293)],this['_awaitingChangeset'],[],this[_0x48e630(0x2a0)],_0x4c51ac);}['_resendWithTimeout'](_0x4e9d84,_0x2d1b62){var _0x3611a0=_0x3fc0d2,_0x1f8c2e;_0x4e9d84===((_0x1f8c2e=this[_0x3611a0(0x14d)])==null?void 0x0:_0x1f8c2e[_0x3611a0(0x2e8)])&&(this[_0x3611a0(0x2bf)](),this['_resendTimeout']=_0x2d1b62===0x0?0x3e8:_0x2d1b62*0x2);}[_0x3fc0d2(0x266)](){var _0x3ffa37=_0x3fc0d2,_0x1a4076;(_0x1a4076=this[_0x3ffa37(0x22d)])==null||_0x1a4076['unsubscribe'](),this['_resendTimeout']=0x0;}};ue=Re([A(0x4,_0x4a0d65(_0x3e5f47)),A(0x5,_0x4a0d65(_0x306d90)),A(0x6,_0x478928),A(0x7,_0x5c7efb),A(0x8,_0x44918b),A(0x9,_0x3a051e),A(0xa,_0x469180(J))],ue);let ae=class extends be{constructor(_0x5d686c,_0x427529,_0x4dd236,_0x28b8f2,_0x11e2bb,_0x3c827c,_0x7aa5eb,_0xa4d51c,_0xe35e6d,_0xa0ad5c,_0x2ecbd0,_0x50a353,_0x404847){var _0x352431=_0x3fc0d2;super(_0x5d686c,_0x427529,_0x4dd236,_0x28b8f2,_0x11e2bb,_0xe35e6d,_0x50a353,_0xa4d51c,_0x404847),N(this,_0x352431(0x1e6),'awaiting_with_pending'),N(this,_0x352431(0x394),0x0),N(this,_0x352431(0x205)),N(this,_0x352431(0x22d)),(this[_0x352431(0x3eb)]=_0x7aa5eb,this['_logService']=_0xa0ad5c,this[_0x352431(0x330)]=_0x2ecbd0,this[_0x352431(0x278)]=_0x404847,_0x3c827c&&(this[_0x352431(0x205)]=_0x3c827c,this[_0x352431(0x22d)]=this['_resendTimer'][_0x352431(0x206)](({reqId:_0x1576a8,timeout:_0x1362c8})=>{var _0x71853a=_0x352431;this[_0x71853a(0x23c)](_0x1576a8,_0x1362c8);})));}['appendMutation'](_0x1607ce){var _0xb18c09=_0x3fc0d2;return this[_0xb18c09(0x318)]['push'](_0x1607ce),this;}[_0x3fc0d2(0x2f1)](_0x1a69e4){var _0x371dbb=_0x3fc0d2;if(this[_0x371dbb(0x2d3)](_0x1a69e4))return this[_0x371dbb(0x266)](),this[_0x371dbb(0x3eb)][_0x371dbb(0x354)](te,this[_0x371dbb(0x134)],this['type'],this[_0x371dbb(0x14d)],this[_0x371dbb(0x318)],null,[_0x1a69e4],this[_0x371dbb(0x2a0)]);try{const _0x5d24bf=this[_0x371dbb(0x330)][_0x371dbb(0x385)]([_0x1a69e4],[this[_0x371dbb(0x14d)]],!0x1);if(_0x156ed7(_0x5d24bf)){const {c1Prime:_0x52bbf2,c2Prime:_0x4d7ce6}=_0x5d24bf,_0x5b987f=this[_0x371dbb(0x330)]['transformMutationsWithChangeset'](_0x52bbf2[0x0],this['_pendingMutations']);if(_0x4911e8(_0x5b987f)){const {c1Prime:_0x41a939,m2Prime:_0x2b61e1}=_0x5b987f;return this['_executeRemoteChangeset'](_0x41a939),_0x4d7ce6[0x0][_0x371dbb(0x391)]=this[_0x371dbb(0x16b)](),this[_0x371dbb(0x266)](),this[_0x371dbb(0x3eb)][_0x371dbb(0x354)](ae,this[_0x371dbb(0x134)],this['type'],_0x4d7ce6[0x0],_0x2b61e1,this[_0x371dbb(0x2a0)],void 0x0);}throw _0x5b987f[_0x371dbb(0x24c)];}throw _0x5d24bf[_0x371dbb(0x24c)];}catch(_0x564718){return this[_0x371dbb(0x3dd)]['error'](_0x564718),this[_0x371dbb(0x30e)](!0x1);}}['onRemoteAck'](_0x5cdefb){var _0x47bc3b=_0x3fc0d2;if(this[_0x47bc3b(0x266)](),this[_0x47bc3b(0x2d3)](_0x5cdefb))return this[_0x47bc3b(0x3eb)][_0x47bc3b(0x354)](te,this[_0x47bc3b(0x134)],this[_0x47bc3b(0x293)],null,this[_0x47bc3b(0x318)],this[_0x47bc3b(0x14d)],[],this[_0x47bc3b(0x2a0)]);this[_0x47bc3b(0x26f)]();const _0xda55e=this['_injector'][_0x47bc3b(0x354)](oe,this[_0x47bc3b(0x134)],this['type'],this[_0x47bc3b(0x318)],this['_handler']);return _0xda55e[_0x47bc3b(0x292)](),_0xda55e[_0x47bc3b(0x13f)](),_0xda55e;}[_0x3fc0d2(0x3d8)](_0x2792a9){var _0x377dd2=_0x3fc0d2;return this[_0x377dd2(0x30e)](!!(_0x2792a9!=null&&_0x2792a9['isPermissionRej']));}[_0x3fc0d2(0x190)](_0x486386){var _0x4ebc9b=_0x3fc0d2;return this[_0x4ebc9b(0x394)]>Ni?this[_0x4ebc9b(0x270)]():(this[_0x4ebc9b(0x205)]=Oi(this['_resendTimeout'],{'timeout':this[_0x4ebc9b(0x394)],'reqId':_0x486386['reqId']}),this['_sender']=this[_0x4ebc9b(0x205)]['subscribe'](({reqId:_0x3a80ae,timeout:_0x3d0c59})=>{var _0x4cadf7=_0x4ebc9b;this[_0x4cadf7(0x23c)](_0x3a80ae,_0x3d0c59);}),this);}[_0x3fc0d2(0x270)](){var _0x1350dd=_0x3fc0d2;return this[_0x1350dd(0x266)](),this[_0x1350dd(0x3eb)]['createInstance'](fe,this[_0x1350dd(0x134)],this[_0x1350dd(0x293)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1350dd(0x2a0)]);}[_0x3fc0d2(0x2d5)](){return this;}[_0x3fc0d2(0x2bf)](){var _0x1c79ef=_0x3fc0d2;this[_0x1c79ef(0x2a0)]['onSendChangeset'](this[_0x1c79ef(0x14d)]);}[_0x3fc0d2(0x30e)](_0x136239){var _0x266194=_0x3fc0d2;return this[_0x266194(0x266)](),this[_0x266194(0x3eb)][_0x266194(0x354)](de,this[_0x266194(0x134)],this[_0x266194(0x293)],null,this['_pendingMutations'],this[_0x266194(0x2a0)],_0x136239);}[_0x3fc0d2(0x23c)](_0x4ed9c3,_0x428f8e){var _0x208ee5=_0x3fc0d2,_0x435494;_0x4ed9c3===((_0x435494=this['_awaitingChangeset'])==null?void 0x0:_0x435494[_0x208ee5(0x2e8)])&&(this['resend'](),this[_0x208ee5(0x394)]=_0x428f8e===0x0?0x3e8:_0x428f8e*0x2);}[_0x3fc0d2(0x266)](){var _0x467ec=_0x3fc0d2,_0x27fa0c;(_0x27fa0c=this[_0x467ec(0x22d)])==null||_0x27fa0c[_0x467ec(0x2ea)](),this[_0x467ec(0x394)]=0x0;}};ae=Re([A(0x6,_0x4a0d65(_0x3e5f47)),A(0x7,_0x4a0d65(_0x306d90)),A(0x8,_0x478928),A(0x9,_0x5c7efb),A(0xa,_0x44918b),A(0xb,_0x3a051e),A(0xc,_0x469180(J))],ae);let de=class extends be{constructor(_0x2bf4e5,_0x7f7a10,_0x48cf4a,_0x1645dd,_0x3bd1fa,_0x5688d4=!0x1,_0x4018cd,_0x238806,_0x3484c3,_0x2d5b68,_0x30394d,_0xedeaf6,_0xbd3b47){var _0x8230d1=_0x3fc0d2;super(_0x2bf4e5,_0x7f7a10,_0x48cf4a,_0x1645dd,_0x3bd1fa,_0x238806,_0x3484c3,_0x2d5b68,_0xbd3b47),N(this,_0x8230d1(0x1e6),_0x8230d1(0x1ec)),(this[_0x8230d1(0x369)]=_0x5688d4,this['_permissionService']=_0x4018cd,this[_0x8230d1(0x1a0)]=_0x30394d,this['_collaborationUIEventService']=_0xedeaf6,this['localCacheService']=_0xbd3b47,this['_showConflictNotification'](),this[_0x8230d1(0x3f8)](),this[_0x8230d1(0x219)]());}[_0x3fc0d2(0x240)](){return this;}[_0x3fc0d2(0x2f1)](){return this;}[_0x3fc0d2(0x3d5)](){return this;}[_0x3fc0d2(0x3d8)](){return this;}[_0x3fc0d2(0x190)](){return this;}[_0x3fc0d2(0x270)](){return this;}[_0x3fc0d2(0x2d5)](){return this;}[_0x3fc0d2(0x2bf)](){var _0x285ae1=_0x3fc0d2;throw new Error(_0x285ae1(0x234));}[_0x3fc0d2(0x3f8)](){var _0x4cdbce=_0x3fc0d2,_0x29e043;(_0x29e043=this['_localCacheService'])==null||_0x29e043[_0x4cdbce(0x334)](this['unitID'],this['type'],null,[]);}[_0x3fc0d2(0x24d)](){var _0x5225bb=_0x3fc0d2;this[_0x5225bb(0x369)]?this[_0x5225bb(0x123)][_0x5225bb(0x3e6)]({'id':se[_0x5225bb(0x19c)]}):this['_collaborationUIEventService']['emitEvent']({'id':se[_0x5225bb(0x1b4)]});}[_0x3fc0d2(0x219)](){var _0x2830e5=_0x3fc0d2;this[_0x2830e5(0x1cd)][_0x2830e5(0x38a)](new _0x54a994(this[_0x2830e5(0x134)])['id'],!0x1);}};de=Re([A(0x6,_0x4a0d65(_0x8735be)),A(0x7,_0x478928),A(0x8,_0x3a051e),A(0x9,_0x4a0d65(_0x306d90)),A(0xa,_0x4a0d65(_0x5d25bf)),A(0xb,_0x4a0d65(pe)),A(0xc,_0x469180(J))],de);let fe=class extends be{constructor(_0x2f8edc,_0x5cf7db,_0x32a095,_0x2dda84,_0x4f00ac,_0x1a1f97,_0x1b1528,_0x47d72c,_0x27d5e5,_0x47a555){var _0x23ee99=_0x3fc0d2;super(_0x2f8edc,_0x5cf7db,_0x32a095,_0x2dda84,_0x4f00ac,_0x47d72c,_0x27d5e5,_0x1b1528,_0x47a555),N(this,_0x23ee99(0x1e6),_0x23ee99(0x181)),this[_0x23ee99(0x3eb)]=_0x1a1f97;}[_0x3fc0d2(0x240)](_0x25979b){var _0x33b158=_0x3fc0d2;return this[_0x33b158(0x318)][_0x33b158(0x1ba)](_0x25979b),this[_0x33b158(0x13f)](),this;}['onRemoteChangeset'](_0x19d178){var _0x43b2db=_0x3fc0d2;throw new Error(_0x43b2db(0x213));}[_0x3fc0d2(0x3d5)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x4bb757=_0x3fc0d2;throw new Error(_0x4bb757(0x1a1));}[_0x3fc0d2(0x190)](){return this;}['toggleOffline'](){return this;}[_0x3fc0d2(0x2d5)](){var _0x5db7bd=_0x3fc0d2;const {_injector:_0x15a674,_pendingMutations:_0x2a6b8a,_awaitingChangeset:_0x379c0a,unitID:_0x2cef52,_handler:_0x38372f,type:_0x1964a4}=this,_0x5d020d=Di(_0x15a674,_0x2cef52,_0x1964a4,_0x379c0a,_0x2a6b8a,_0x38372f);return _0x5d020d instanceof oe?_0x5d020d[_0x5db7bd(0x292)]():(_0x5d020d instanceof ae||_0x5d020d instanceof ue)&&_0x5d020d[_0x5db7bd(0x2bf)](),_0x5d020d;}['resend'](){var _0x23149d=_0x3fc0d2;throw new Error(_0x23149d(0x1af));}};fe=Re([A(0x5,_0x4a0d65(_0x3e5f47)),A(0x6,_0x4a0d65(_0x306d90)),A(0x7,_0x478928),A(0x8,_0x3a051e),A(0x9,_0x469180(J))],fe);let te=class extends be{constructor(_0x33143c,_0x29683a,_0x24ee56,_0x557e7a,_0x40d775,_0x2d021a,_0x3c09ef,_0x5d28fb,_0x5db6df,_0x26bb16,_0x644a44,_0xad6811,_0x4c9ac8,_0x3622c0){var _0x599831=_0x3fc0d2;super(_0x33143c,_0x29683a,_0x24ee56,_0x557e7a,_0x3c09ef,_0x644a44,_0xad6811,_0x5db6df,_0x3622c0),N(this,'status',_0x599831(0x2dc)),(this['_acknowledgedAwaitingChangeset']=_0x40d775,this[_0x599831(0x30c)]=_0x2d021a,this[_0x599831(0x3eb)]=_0x5d28fb,this[_0x599831(0x3dd)]=_0x26bb16,this[_0x599831(0x330)]=_0x4c9ac8,this[_0x599831(0x278)]=_0x3622c0);}[_0x3fc0d2(0x2f6)](_0x37c26d){var _0x1207d4=_0x3fc0d2;try{const _0x550d67=[..._0x37c26d,...this[_0x1207d4(0x30c)]],_0x1910f1=[this[_0x1207d4(0x14d)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x14423a=>!!_0x14423a);let _0x258852,_0x3ff985;if(_0x1910f1[_0x1207d4(0x2ee)]){const _0x4a0ca9=this['_transformService'][_0x1207d4(0x385)](_0x550d67,_0x1910f1,!0x1);if(!_0x156ed7(_0x4a0ca9))throw _0x4a0ca9[_0x1207d4(0x24c)];_0x258852=_0x4a0ca9[_0x1207d4(0x3b3)],_0x3ff985=_0x4a0ca9[_0x1207d4(0x1d2)];}else _0x258852=_0x550d67,_0x3ff985=[];let _0x562090=this[_0x1207d4(0x318)];_0x258852['forEach'](_0x559df6=>{var _0x2f425c=_0x1207d4;let _0x3f28c9;if(_0x562090[_0x2f425c(0x2ee)]){const _0x2f91bf=this[_0x2f425c(0x330)][_0x2f425c(0x37b)](_0x559df6,_0x562090);if(!_0x4911e8(_0x2f91bf))throw _0x2f91bf[_0x2f425c(0x24c)];_0x3f28c9=_0x2f91bf[_0x2f425c(0x3b3)],_0x562090=_0x2f91bf[_0x2f425c(0x1fc)];}else _0x3f28c9=_0x559df6;this[_0x2f425c(0x18d)](_0x3f28c9);}),this[_0x1207d4(0x34a)]&&this[_0x1207d4(0x26f)](),this[_0x1207d4(0x14d)]&&_0x3ff985[_0x1207d4(0x2ee)]&&(_0x3ff985[0x0][_0x1207d4(0x391)]=this[_0x1207d4(0x16b)]());let _0x4d02dd;if(this[_0x1207d4(0x14d)]&&_0x562090[_0x1207d4(0x2ee)]!==0x0)_0x4d02dd=this['_injector'][_0x1207d4(0x354)](ae,this[_0x1207d4(0x134)],this['type'],_0x3ff985[0x0],_0x562090,this[_0x1207d4(0x2a0)],void 0x0);else{if(this['_awaitingChangeset']&&_0x562090[_0x1207d4(0x2ee)]===0x0)_0x3ff985[0x0][_0x1207d4(0x391)]=this[_0x1207d4(0x16b)](),_0x4d02dd=this[_0x1207d4(0x3eb)]['createInstance'](ue,this[_0x1207d4(0x134)],this[_0x1207d4(0x293)],_0x3ff985[0x0],this[_0x1207d4(0x2a0)]);else{if(_0x562090[_0x1207d4(0x2ee)]!==0x0){const _0x680e6=this[_0x1207d4(0x3eb)][_0x1207d4(0x354)](oe,this[_0x1207d4(0x134)],this['type'],_0x562090,this[_0x1207d4(0x2a0)]);_0x680e6[_0x1207d4(0x292)](),_0x4d02dd=_0x680e6;}else _0x4d02dd=this[_0x1207d4(0x3eb)][_0x1207d4(0x354)](De,this[_0x1207d4(0x134)],this[_0x1207d4(0x293)],this[_0x1207d4(0x2a0)]);}}return _0x4d02dd[_0x1207d4(0x13f)](),_0x4d02dd;}catch(_0x46d6a2){return this[_0x1207d4(0x3dd)][_0x1207d4(0x24c)](_0x1207d4(0x315),_0x1207d4(0x340),_0x46d6a2),this[_0x1207d4(0x3eb)][_0x1207d4(0x354)](de,this[_0x1207d4(0x134)],this[_0x1207d4(0x293)],this[_0x1207d4(0x14d)],this['_pendingMutations'],this[_0x1207d4(0x2a0)],!0x1);}}[_0x3fc0d2(0x2bf)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3fc0d2(0x240)](_0x35e75d){var _0x1c066b=_0x3fc0d2;return this[_0x1c066b(0x318)]['push'](_0x35e75d),this;}['onRemoteChangeset'](_0x368639){var _0x5edfcc=_0x3fc0d2;return this[_0x5edfcc(0x30c)][_0x5edfcc(0x1ba)](_0x368639),this;}[_0x3fc0d2(0x3d5)](_0x1dcd56){var _0x3a2fab=_0x3fc0d2;if(this[_0x3a2fab(0x14d)])return this['_acknowledgedAwaitingChangeset']=this[_0x3a2fab(0x14d)],this[_0x3a2fab(0x14d)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x3fc0d2(0x3d8)](_0xb14f32){var _0x32ba98=_0x3fc0d2;return this[_0x32ba98(0x30e)](!!(_0xb14f32!=null&&_0xb14f32[_0x32ba98(0x339)]));}['onRemoteRetry'](){return this;}[_0x3fc0d2(0x270)](){var _0x2b4245=_0x3fc0d2;return this[_0x2b4245(0x3eb)]['createInstance'](fe,this[_0x2b4245(0x134)],this[_0x2b4245(0x293)],this[_0x2b4245(0x14d)],this['_pendingMutations'],this['_handler']);}[_0x3fc0d2(0x2d5)](){return this;}[_0x3fc0d2(0x30e)](_0x2df1ad){var _0x5e558b=_0x3fc0d2;return this[_0x5e558b(0x3eb)][_0x5e558b(0x354)](de,this[_0x5e558b(0x134)],this[_0x5e558b(0x293)],this[_0x5e558b(0x14d)],this[_0x5e558b(0x318)],this['_handler'],_0x2df1ad);}};te=Re([A(0x7,_0x4a0d65(_0x3e5f47)),A(0x8,_0x4a0d65(_0x306d90)),A(0x9,_0x5c7efb),A(0xa,_0x478928),A(0xb,_0x3a051e),A(0xc,_0x44918b),A(0xd,_0x469180(J))],te);function Di(_0x581cdd,_0x149506,_0x116a07,_0x3a1089,_0x44b7aa,_0x3fd2eb){var _0xcdebe3=_0x3fc0d2;return _0x3a1089&&_0x44b7aa[_0xcdebe3(0x2ee)]?_0x581cdd[_0xcdebe3(0x354)](ae,_0x149506,_0x116a07,_0x3a1089,_0x44b7aa,_0x3fd2eb,void 0x0):_0x3a1089?_0x581cdd['createInstance'](ue,_0x149506,_0x116a07,_0x3a1089,_0x3fd2eb):_0x44b7aa[_0xcdebe3(0x2ee)]?_0x581cdd[_0xcdebe3(0x354)](oe,_0x149506,_0x116a07,_0x44b7aa,_0x3fd2eb):_0x581cdd[_0xcdebe3(0x354)](De,_0x149506,_0x116a07,_0x3fd2eb);}var vr=Object['defineProperty'],pr=Object['getOwnPropertyDescriptor'],Lt=(_0x1f9852,_0x4f27a4,_0x51432d,_0xf8b6cf)=>{var _0x3ef0d9=_0x3fc0d2;for(var _0x4c633e=_0xf8b6cf>0x1?void 0x0:_0xf8b6cf?pr(_0x4f27a4,_0x51432d):_0x4f27a4,_0x54822c=_0x1f9852[_0x3ef0d9(0x2ee)]-0x1,_0x366aea;_0x54822c>=0x0;_0x54822c--)(_0x366aea=_0x1f9852[_0x54822c])&&(_0x4c633e=(_0xf8b6cf?_0x366aea(_0x4f27a4,_0x51432d,_0x4c633e):_0x366aea(_0x4c633e))||_0x4c633e);return _0xf8b6cf&&_0x4c633e&&vr(_0x4f27a4,_0x51432d,_0x4c633e),_0x4c633e;},k=(_0x5e4925,_0x283e79)=>(_0x75c76,_0x358c39)=>_0x283e79(_0x75c76,_0x358c39,_0x5e4925);let nt=class extends _0x2ac02b{constructor(_0x3f14dd,_0x56b465,_0x5b6073,_0x573da2,_0x45b3e2,_0x1469c2,_0x101d28,_0x3e37f5,_0x4510a9,_0x3ae33c,_0x32ce97,_0x3cd3f3,_0x469762){var _0x421c34=_0x3fc0d2;super(),N(this,_0x421c34(0x245),new _0x257515(null)),N(this,_0x421c34(0x157),this[_0x421c34(0x245)][_0x421c34(0x357)]()),N(this,_0x421c34(0x21f)),N(this,_0x421c34(0x34b),!0x1),N(this,_0x421c34(0x2b5),''),N(this,_0x421c34(0x14e),0x0),N(this,_0x421c34(0x3b1),this['state$'][_0x421c34(0x348)](_0x264ca7(_0x47e842=>_0x47e842?_0x47e842[_0x421c34(0x1e6)]:yi[_0x421c34(0x10f)]),_0x3c2e07(0x1))),N(this,_0x421c34(0x342),!0x1),N(this,_0x421c34(0x110),[]),(this[_0x421c34(0x134)]=_0x3f14dd,this[_0x421c34(0x1bc)]=_0x56b465,this[_0x421c34(0x148)]=_0x5b6073,this['_injector']=_0x573da2,this[_0x421c34(0x28e)]=_0x45b3e2,this['_localeService']=_0x1469c2,this[_0x421c34(0x1c6)]=_0x101d28,this[_0x421c34(0x3c2)]=_0x3e37f5,this[_0x421c34(0x3dd)]=_0x4510a9,this[_0x421c34(0x1f3)]=_0x3ae33c,this[_0x421c34(0x1cd)]=_0x32ce97,this['_singleActiveUnitService']=_0x3cd3f3,this[_0x421c34(0x346)]=_0x469762);}get[_0x3fc0d2(0x13e)](){return this['_state'];}async[_0x3fc0d2(0x236)](){var _0x525035=_0x3fc0d2;if(this['state'])throw new Error(_0x525035(0x378));await this[_0x525035(0x1ca)]();}[_0x3fc0d2(0x2ad)](){var _0x237ff7=_0x3fc0d2;return this[_0x237ff7(0x34b)]=!0x0,_0x5af85c(()=>{var _0x416062=_0x237ff7;this['_collaborationPaused']=!0x1,this[_0x416062(0x259)]();});}[_0x3fc0d2(0x198)](_0xbcaf4){var _0x517280=_0x3fc0d2;this[_0x517280(0x1be)](_0xbcaf4);}[_0x3fc0d2(0x2fb)](_0x5632ce){var _0x486073=_0x3fc0d2;this[_0x486073(0x21f)]=_0x5632ce,this[_0x486073(0x245)][_0x486073(0x400)](_0x5632ce);}async[_0x3fc0d2(0x1ca)](){var _0x14f237=_0x3fc0d2,_0x34a8fc;this[_0x14f237(0x2fb)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x34a8fc=this[_0x14f237(0x156)])==null||_0x34a8fc[_0x14f237(0x332)](this['unitID']),this[_0x14f237(0x301)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x14f237(0x134)])[_0x14f237(0x206)](_0x2d793e=>{var _0xfaefa5=_0x14f237;this[_0xfaefa5(0x3dd)]['debug'](_0xfaefa5(0x2da),'editing\x20status\x20changed\x20to',_0x2d793e),_0x2d793e===bi[_0xfaefa5(0x396)]?(this[_0xfaefa5(0x3c2)][_0xfaefa5(0x3e6)]({'id':se[_0xfaefa5(0x404)]}),this[_0xfaefa5(0x1cd)][_0xfaefa5(0x38a)](new _0x54a994(this['unitID'])['id'],!0x1),this[_0xfaefa5(0x1cd)][_0xfaefa5(0x2b1)](!0x1)):(this['_permissionService'][_0xfaefa5(0x38a)](new _0x54a994(this[_0xfaefa5(0x134)])['id'],!0x0),this[_0xfaefa5(0x1cd)][_0xfaefa5(0x2b1)](!0x0));})));let _0x29bd11=!0x1;return this[_0x14f237(0x301)](this[_0x14f237(0x1bc)]['sessionStatus$']['subscribe'](_0x397bf5=>{var _0x4c41e7=_0x14f237;_0x397bf5===Te['ONLINE']?this[_0x4c41e7(0x2a5)](_0x29bd11):_0x397bf5===Te[_0x4c41e7(0x10f)]&&(_0x29bd11=!0x0,this[_0x4c41e7(0x191)]());})),this[_0x14f237(0x301)](this['session'][_0x14f237(0x2c1)]['subscribe'](_0x14aa55=>{var _0xa9ac7=_0x14f237;try{switch(_0x14aa55['eventID']){case _0x5e0126[_0xa9ac7(0x3c4)]:{this['_onRemoteChangeset'](_0x3b69de(_0x14aa55[_0xa9ac7(0x144)]));break;}case _0x5e0126[_0xa9ac7(0x376)]:{this[_0xa9ac7(0x17c)](_0x14aa55[_0xa9ac7(0x144)]);break;}case _0x5e0126[_0xa9ac7(0x3ea)]:{this[_0xa9ac7(0x255)]();break;}case _0x5e0126[_0xa9ac7(0x2d1)]:{this[_0xa9ac7(0x167)](_0x14aa55[_0xa9ac7(0x144)]);break;}case _0x5e0126['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x14aa55[_0xa9ac7(0x144)][_0xa9ac7(0x2e1)][_0xa9ac7(0x2e9)](_0x3c450c=>_0x3b69de(_0x3c450c)));break;}case _0x5e0126[_0xa9ac7(0x3ab)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x5e0126[_0xa9ac7(0x1c1)]:break;}}catch(_0xcce13b){throw console[_0xa9ac7(0x24c)](_0xa9ac7(0x3cd),_0xcce13b),_0xcce13b;}})),this[_0x14f237(0x21f)];}[_0x3fc0d2(0x3ce)](){var _0x2fec72=_0x3fc0d2;this[_0x2fec72(0x342)]=!0x1;}['_lockTransition'](){var _0x18e345=_0x3fc0d2;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x18e345(0x342)]=!0x0;}[_0x3fc0d2(0x1be)](_0x37aac2){var _0x79382f=_0x3fc0d2;this['_lockTransition'](),this[_0x79382f(0x2fb)](this[_0x79382f(0x21f)][_0x79382f(0x240)](_0x37aac2)),this[_0x79382f(0x3ce)]();}[_0x3fc0d2(0x1db)](_0x30c6fb){var _0x53f5fa=_0x3fc0d2;if(!(_0x30c6fb[_0x53f5fa(0x27e)]<=this[_0x53f5fa(0x1c6)][_0x53f5fa(0x356)](this[_0x53f5fa(0x134)]))){if(this[_0x53f5fa(0x34b)]){this[_0x53f5fa(0x110)][_0x53f5fa(0x1ba)](_0x30c6fb);return;}this['_applyRemoteChangeset'](_0x30c6fb);}}[_0x3fc0d2(0x259)](){var _0x38704a=_0x3fc0d2;this[_0x38704a(0x110)][_0x38704a(0x25f)](_0x3bdbd8=>this['_applyRemoteChangeset'](_0x3bdbd8)),this[_0x38704a(0x110)]=[];}[_0x3fc0d2(0x3af)](_0x622001){var _0x28c211=_0x3fc0d2;const _0x19a52e=this[_0x28c211(0x28e)][_0x28c211(0x349)][_0x28c211(0x241)](this[_0x28c211(0x28e)]['interceptor'][_0x28c211(0x244)]()[_0x28c211(0x352)])(_0x622001[_0x28c211(0x402)],null)||_0x622001[_0x28c211(0x402)],_0x31dabe={..._0x622001,'mutations':_0x19a52e};this[_0x28c211(0x317)](),this['_updateState'](this[_0x28c211(0x21f)]['onRemoteChangeset'](_0x31dabe)),this[_0x28c211(0x3ce)]();}['_onRemoteACK'](_0x1830fd){var _0x55daa5=_0x3fc0d2;this[_0x55daa5(0x317)](),this[_0x55daa5(0x2fb)](this[_0x55daa5(0x21f)][_0x55daa5(0x3d5)](_0x1830fd)),this[_0x55daa5(0x3ce)]();}['_onRemoteRejected'](_0x3ec5ea){var _0x1603a9=_0x3fc0d2;this['_lockTransition'](),this[_0x1603a9(0x2fb)](this[_0x1603a9(0x21f)]['onRemoteRej'](_0x3ec5ea)),this[_0x1603a9(0x3ce)]();}[_0x3fc0d2(0x167)](_0x1ff1e7){var _0x4deeaa=_0x3fc0d2;this[_0x4deeaa(0x317)](),this[_0x4deeaa(0x2fb)](this[_0x4deeaa(0x21f)][_0x4deeaa(0x190)](_0x1ff1e7)),this[_0x4deeaa(0x3ce)]();}['_onFetchMissResult'](_0xb77090){var _0x15fe86=_0x3fc0d2;if(!(this['_state']instanceof te))throw new TypeError(_0x15fe86(0x2ab));const _0x533e02=_0xb77090[_0x15fe86(0x2e9)](_0x5ad63a=>{var _0x5861f4=_0x15fe86;const _0x5acbcd=this[_0x5861f4(0x28e)][_0x5861f4(0x349)][_0x5861f4(0x241)](this['_compressMutationService'][_0x5861f4(0x349)][_0x5861f4(0x244)]()[_0x5861f4(0x352)])(_0x5ad63a[_0x5861f4(0x402)],null)||_0x5ad63a['mutations'];return{..._0x5ad63a,'mutations':_0x5acbcd};});this['_lockTransition'](),this[_0x15fe86(0x2fb)](this[_0x15fe86(0x21f)][_0x15fe86(0x2f6)](_0x533e02)),this['_unlockTransition']();}[_0x3fc0d2(0x191)](){var _0x1d02ee=_0x3fc0d2;this[_0x1d02ee(0x317)](),this[_0x1d02ee(0x2fb)](this['_state'][_0x1d02ee(0x270)]()),this[_0x1d02ee(0x3ce)]();}['_toggleOnline'](_0xa522a5=!0x1){var _0x5e42d7=_0x3fc0d2;this[_0x5e42d7(0x317)](),this[_0x5e42d7(0x2fb)](this[_0x5e42d7(0x21f)][_0x5e42d7(0x2d5)]()),this[_0x5e42d7(0x3ce)]();const _0x445cff=this['_state'];_0xa522a5&&_0x445cff instanceof De&&(this[_0x5e42d7(0x317)](),this[_0x5e42d7(0x2fb)](_0x445cff[_0x5e42d7(0x351)]()),this[_0x5e42d7(0x3ce)]());}async[_0x3fc0d2(0x31b)](){return new Promise(_0x425c48=>{var _0x2c15c0=_0x3335;this[_0x2c15c0(0x1bc)][_0x2c15c0(0x3e1)][_0x2c15c0(0x348)](_0x5e2b45(0x1))[_0x2c15c0(0x206)](async _0xd76f81=>{_0x425c48(await this['_createInitialStateImpl'](_0xd76f81===Te['ONLINE']));});});}[_0x3fc0d2(0x386)](){var _0x20e2fe=_0x3fc0d2;const _0x249e39=this[_0x20e2fe(0x134)];return{'onStateChange':(_0x324242,_0x4e901e)=>{var _0x31aaaa=_0x20e2fe;if(_0x324242!==this[_0x31aaaa(0x21f)])throw new Error(_0x31aaaa(0x2b3)+_0x324242[_0x31aaaa(0x1e6)]+'\x0aAfter:\x20'+_0x4e901e['status']+_0x31aaaa(0x29a)+this[_0x31aaaa(0x21f)]['status']);this[_0x31aaaa(0x2fb)](_0x4e901e);},'onSendChangeset':_0x569ed6=>{var _0x366eec=_0x20e2fe;_0x569ed6[_0x366eec(0x1d6)]||(_0x569ed6[_0x366eec(0x1d6)]=this[_0x366eec(0x2b5)],_0x569ed6[_0x366eec(0x2e8)]=++this['_changesetReqId']);const _0xa324c9={'eventID':_0x5e0126[_0x366eec(0x2b0)],'data':{'unitID':_0x569ed6[_0x366eec(0x134)],'unitType':this[_0x366eec(0x148)],'changeset':_0x569ed6,'memberID':this[_0x366eec(0x1bc)][_0x366eec(0x1b6)]()}};this[_0x366eec(0x1bc)][_0x366eec(0x306)](_0xa324c9,this[_0x366eec(0x134)]);},'onMissingChangesets':({from:_0x789e18,to:_0x116a6a})=>{var _0x367d51=_0x20e2fe;this[_0x367d51(0x3dd)][_0x367d51(0x3fa)](_0x367d51(0x2da),'fetching\x20missing\x20changesets\x20from\x20'+_0x789e18+_0x367d51(0x172)+_0x116a6a);const _0x10b845={'eventID':_0x5e0126[_0x367d51(0x393)],'data':{'unitID':_0x249e39,'unitType':this[_0x367d51(0x148)],'from':_0x789e18,'to':_0x116a6a}};this[_0x367d51(0x1bc)]['send'](_0x10b845,this[_0x367d51(0x134)]);}};}async[_0x3fc0d2(0x217)](_0x3d5b7f){var _0x1f0107=_0x3fc0d2,_0x56f504,_0xc8f093,_0x1ae1d6;const _0x4e797c=await((_0x56f504=this[_0x1f0107(0x346)])==null?void 0x0:_0x56f504['loadOfflineData'](this[_0x1f0107(0x134)])),_0x4c89d3=(_0xc8f093=_0x4e797c==null?void 0x0:_0x4e797c[_0x1f0107(0x402)])!=null?_0xc8f093:[],_0x3c5966=(_0x1ae1d6=_0x4e797c==null?void 0x0:_0x4e797c[_0x1f0107(0x1d9)])!=null?_0x1ae1d6:null,_0x39c5d5=!!(_0x3c5966!=null&&_0x3c5966[_0x1f0107(0x1d6)])&&!!(_0x3c5966!=null&&_0x3c5966['reqId']);this[_0x1f0107(0x2b5)]=_0x39c5d5?_0x3c5966['sid']:sr(),this[_0x1f0107(0x14e)]=_0x39c5d5?_0x3c5966[_0x1f0107(0x2e8)]:0x0;const _0x528f55=this[_0x1f0107(0x134)];try{this[_0x1f0107(0x2cc)](_0x3c5966,_0x4c89d3);}catch(_0xc16698){this[_0x1f0107(0x3dd)][_0x1f0107(0x24c)](_0xc16698);}const _0x339362=this[_0x1f0107(0x386)]();if(_0x3d5b7f){const _0x29de11=Di(this[_0x1f0107(0x3eb)],_0x528f55,this[_0x1f0107(0x148)],_0x3c5966,_0x4c89d3,_0x339362);return _0x29de11 instanceof oe?_0x29de11['_schedule']():(_0x29de11 instanceof ae||_0x29de11 instanceof ue)&&_0x29de11[_0x1f0107(0x2bf)](),_0x29de11;}return this[_0x1f0107(0x3eb)][_0x1f0107(0x354)](fe,_0x528f55,this[_0x1f0107(0x148)],_0x3c5966,_0x4c89d3,_0x339362);}[_0x3fc0d2(0x2cc)](_0x4ce39b,_0x54f584){var _0x3ad8ab=_0x3fc0d2,_0x56e7e8,_0x38d11a;const _0xd45c1d=this[_0x3ad8ab(0x28e)][_0x3ad8ab(0x349)][_0x3ad8ab(0x241)](this['_compressMutationService']['interceptor'][_0x3ad8ab(0x244)]()[_0x3ad8ab(0x352)]);(_0x56e7e8=_0xd45c1d((_0x4ce39b==null?void 0x0:_0x4ce39b[_0x3ad8ab(0x402)])||[],null))==null||_0x56e7e8[_0x3ad8ab(0x25f)](_0x549b3a=>this[_0x3ad8ab(0x1f3)]['executeCommand'](_0x549b3a['id'],_0x549b3a[_0x3ad8ab(0x3dc)])),(_0x38d11a=_0xd45c1d(_0x54f584||[],null))==null||_0x38d11a[_0x3ad8ab(0x25f)](_0x5e05d1=>this[_0x3ad8ab(0x1f3)][_0x3ad8ab(0x1d4)](_0x5e05d1['id'],_0x5e05d1[_0x3ad8ab(0x3dc)]));}};nt=Lt([k(0x3,_0x4a0d65(_0x3e5f47)),k(0x4,_0x4a0d65(_0xcd8f34)),k(0x5,_0x4a0d65(_0x5d25bf)),k(0x6,_0x4a0d65(_0x306d90)),k(0x7,_0x4a0d65(pe)),k(0x8,_0x5c7efb),k(0x9,_0x478928),k(0xa,_0x8735be),k(0xb,_0x469180(ht)),k(0xc,_0x469180(J))],nt);let Tt=class extends nt{constructor(_0x1e38bb,_0x25c97c,_0xd8a02e,_0x33bba1,_0x22a8e6,_0x1fb113,_0x36cff8,_0x5a28f5,_0x528e66,_0x34a6b1,_0x59beeb,_0x2fa820,_0x5e4dd6){var _0x5d5bca=_0x3fc0d2;super(_0x1e38bb,_0xd8a02e,_0x25c97c,_0x33bba1,_0x22a8e6,_0x1fb113,_0x36cff8,_0x5a28f5,_0x528e66,_0x34a6b1,_0x59beeb,_0x2fa820,_0x5e4dd6),N(this,_0x5d5bca(0x22f),null),(this['unitID']=_0x1e38bb,this['type']=_0x25c97c);}[_0x3fc0d2(0x397)](_0x52754d){this['_handlerCallback']=_0x52754d;}['dispose'](){var _0x116cba=_0x3fc0d2;this[_0x116cba(0x22f)]=null,super[_0x116cba(0x232)]();}[_0x3fc0d2(0x386)](){var _0x44a87e=_0x3fc0d2;const _0x3e6c6d=super[_0x44a87e(0x386)]();return _0x3e6c6d[_0x44a87e(0x254)]=_0x216d0b=>{var _0x1308ca=_0x44a87e,_0x546caf,_0x2c456f;return(_0x2c456f=(_0x546caf=this['_handlerCallback'])==null?void 0x0:_0x546caf[_0x1308ca(0x254)])==null?void 0x0:_0x2c456f[_0x1308ca(0x130)](_0x546caf,_0x216d0b);},_0x3e6c6d['onTransformState']=_0x4d5ace=>{var _0x870ae5=_0x44a87e,_0x57edd6,_0x4aedc2;return(_0x4aedc2=(_0x57edd6=this['_handlerCallback'])==null?void 0x0:_0x57edd6['onTransformState'])==null?void 0x0:_0x4aedc2[_0x870ae5(0x130)](_0x57edd6,_0x4d5ace);},_0x3e6c6d[_0x44a87e(0x3e2)]=_0x1c835b=>{var _0x5d4af5=_0x44a87e,_0x51817c,_0x1cd852;return(_0x1cd852=(_0x51817c=this['_handlerCallback'])==null?void 0x0:_0x51817c[_0x5d4af5(0x3e2)])==null?void 0x0:_0x1cd852[_0x5d4af5(0x130)](_0x51817c,_0x1c835b);},_0x3e6c6d['onSyncEditingCollabCursor']=_0x3449a2=>{var _0x23987d=_0x44a87e,_0x3d7222,_0x3ca5db;return(_0x3ca5db=(_0x3d7222=this[_0x23987d(0x22f)])==null?void 0x0:_0x3d7222[_0x23987d(0x2d8)])==null?void 0x0:_0x3ca5db[_0x23987d(0x130)](_0x3d7222,_0x3449a2);},_0x3e6c6d[_0x44a87e(0x3a8)]=_0x9f1189=>{var _0x320591=_0x44a87e,_0x28e6fa,_0xd206c1,_0x521d29;if(!((_0x28e6fa=this['_handlerCallback'])!=null&&_0x28e6fa[_0x320591(0x3a8)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x521d29=(_0xd206c1=this[_0x320591(0x22f)])==null?void 0x0:_0xd206c1['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x521d29['call'](_0xd206c1,_0x9f1189);},_0x3e6c6d[_0x44a87e(0x38b)]=_0x1a5438=>{var _0x5ee00c=_0x44a87e,_0x4ddc61,_0x1d911e,_0x296640;if(!((_0x4ddc61=this[_0x5ee00c(0x22f)])!=null&&_0x4ddc61[_0x5ee00c(0x38b)]))throw new Error(_0x5ee00c(0x288));return(_0x296640=(_0x1d911e=this['_handlerCallback'])==null?void 0x0:_0x1d911e[_0x5ee00c(0x38b)])==null?void 0x0:_0x296640['call'](_0x1d911e,_0x1a5438);},_0x3e6c6d;}async[_0x3fc0d2(0x1ca)](){var _0x2e0283=_0x3fc0d2;const _0x132771=await super['_init']();return this[_0x2e0283(0x301)](this[_0x2e0283(0x1f3)][_0x2e0283(0x124)]((_0x45e51a,_0x4540e5)=>{var _0x255c80=_0x2e0283;if(_0x45e51a['type']!==_0x439428[_0x255c80(0x28c)]||_0x4540e5!=null&&_0x4540e5[_0x255c80(0x14a)]||_0x4540e5!=null&&_0x4540e5[_0x255c80(0x273)]||_0x45e51a['id']===_0x2b8d0b['id'])return;const _0x3f36d7=_0x45e51a[_0x255c80(0x3dc)];if((_0x3f36d7==null?void 0x0:_0x3f36d7['unitId'])!==this['unitID'])return;const _0x4ab34d=_0x45e51a,_0x1a0784=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x255c80(0x349)][_0x255c80(0x244)]()[_0x255c80(0x3ff)])([_0x4ab34d],null)||[_0x4ab34d];this[_0x255c80(0x1be)](_0x1a0784[0x0]);})),_0x132771;}};Tt=Lt([k(0x3,_0x4a0d65(_0x3e5f47)),k(0x4,_0x4a0d65(_0xcd8f34)),k(0x5,_0x4a0d65(_0x5d25bf)),k(0x6,_0x4a0d65(_0x306d90)),k(0x7,_0x4a0d65(pe)),k(0x8,_0x5c7efb),k(0x9,_0x478928),k(0xa,_0x8735be),k(0xb,_0x469180(ht)),k(0xc,_0x469180(J))],Tt);let Ct=class extends nt{constructor(_0x1471cb,_0x40570c,_0x4819f6,_0x233d4c,_0x4e45da,_0x9ed968,_0x375a30,_0x4a4358,_0x23c776,_0x5338a5,_0x2a1ba8,_0x45e327,_0x5efd49,_0x34295a){var _0x8f5f9e=_0x3fc0d2;super(_0x1471cb,_0x4819f6,_0x40570c,_0x233d4c,_0x4e45da,_0x9ed968,_0x375a30,_0x23c776,_0x5338a5,_0x2a1ba8,_0x45e327,_0x5efd49,_0x34295a),this['unitID']=_0x1471cb,this[_0x8f5f9e(0x293)]=_0x40570c,this[_0x8f5f9e(0x15f)]=_0x4a4358;}['_createHandler'](){var _0x2fba76=_0x3fc0d2;const _0x498915=super['_createHandler']();return _0x498915[_0x2fba76(0x3e2)]=_0x254f6d=>this[_0x2fba76(0x15f)]['transformSelections'](_0x254f6d),_0x498915;}async[_0x3fc0d2(0x1ca)](){var _0x4ae557=_0x3fc0d2;const _0x4445fc=await super[_0x4ae557(0x1ca)]();return this['disposeWithMe'](this[_0x4ae557(0x1f3)]['onCommandExecuted']((_0x4cd2fc,_0x16ccc1)=>{var _0x1b98e9=_0x4ae557;if(_0x4cd2fc['type']!==_0x439428[_0x1b98e9(0x28c)]||_0x16ccc1!=null&&_0x16ccc1[_0x1b98e9(0x14a)]||_0x16ccc1!=null&&_0x16ccc1[_0x1b98e9(0x273)])return;const _0x1b45d4=_0x4cd2fc[_0x1b98e9(0x3dc)];if((_0x1b45d4==null?void 0x0:_0x1b45d4[_0x1b98e9(0x200)])!==this['unitID'])return;const _0x2bbe4c=_0x4cd2fc,_0x3ee002=this[_0x1b98e9(0x28e)]['interceptor'][_0x1b98e9(0x241)](this['_compressMutationService'][_0x1b98e9(0x349)][_0x1b98e9(0x244)]()['COMPRESS_MUTATION_SEND'])([_0x2bbe4c],null)||[_0x2bbe4c];this[_0x1b98e9(0x1be)](_0x3ee002[0x0]);})),_0x4445fc;}};Ct=Lt([k(0x3,_0x4a0d65(_0x3e5f47)),k(0x4,_0x4a0d65(_0xcd8f34)),k(0x5,_0x4a0d65(_0x5d25bf)),k(0x6,_0x4a0d65(_0x306d90)),k(0x7,_0x4a0d65(it)),k(0x8,_0x4a0d65(pe)),k(0x9,_0x5c7efb),k(0xa,_0x478928),k(0xb,_0x8735be),k(0xc,_0x469180(ht)),k(0xd,_0x469180(J))],Ct);var mr=Object[_0x3fc0d2(0x272)],gr=Object[_0x3fc0d2(0x314)],Sr=(_0x305ed9,_0x5b1a0e,_0x4964ac,_0x24e53c)=>{var _0x909173=_0x3fc0d2;for(var _0x4fb4c4=_0x24e53c>0x1?void 0x0:_0x24e53c?gr(_0x5b1a0e,_0x4964ac):_0x5b1a0e,_0x26a5bb=_0x305ed9[_0x909173(0x2ee)]-0x1,_0x15fdaa;_0x26a5bb>=0x0;_0x26a5bb--)(_0x15fdaa=_0x305ed9[_0x26a5bb])&&(_0x4fb4c4=(_0x24e53c?_0x15fdaa(_0x5b1a0e,_0x4964ac,_0x4fb4c4):_0x15fdaa(_0x4fb4c4))||_0x4fb4c4);return _0x24e53c&&_0x4fb4c4&&mr(_0x5b1a0e,_0x4964ac,_0x4fb4c4),_0x4fb4c4;},ft=(_0x284a04,_0xb7a502)=>(_0x2310b9,_0x110069)=>_0xb7a502(_0x2310b9,_0x110069,_0x284a04);let rt=class extends _0x2ac02b{constructor(_0x3f70c3,_0x5988db,_0x34647b){var _0x29a463=_0x3fc0d2;super(),N(this,_0x29a463(0x3f5),new Map()),N(this,'_entityInit$',new _0x6e5a01()),N(this,_0x29a463(0x2b7),this[_0x29a463(0x113)][_0x29a463(0x357)]()),(this['_injector']=_0x3f70c3,this[_0x29a463(0x360)]=_0x5988db,this[_0x29a463(0x230)]=_0x34647b,this[_0x29a463(0x1ca)]());}['dispose'](){var _0x5323e9=_0x3fc0d2;super['dispose'](),this[_0x5323e9(0x3f5)][_0x5323e9(0x25f)](_0x2f2826=>_0x2f2826[_0x5323e9(0x232)]()),this[_0x5323e9(0x3f5)][_0x5323e9(0x21e)]();}[_0x3fc0d2(0x2ae)](_0x59c5cc){var _0x46a140=_0x3fc0d2,_0x784f7f;return(_0x784f7f=this['_entities'][_0x46a140(0x2db)](_0x59c5cc))!=null?_0x784f7f:null;}[_0x3fc0d2(0x3c9)](_0x458684){var _0x479020=_0x3fc0d2;const _0x26211e=this[_0x479020(0x2ae)](_0x458684);return _0x26211e?_0x48236b(_0x26211e):this['_entityInit$'][_0x479020(0x348)](_0x59d3b8(_0xd26c29=>_0xd26c29[_0x479020(0x134)]===_0x458684));}['readyForCollab'](_0xfd1b5){var _0x382c32=_0x3fc0d2;return _0x4c8811(this[_0x382c32(0x3c9)](_0xfd1b5)['pipe'](_0x1c1a45(()=>{})));}[_0x3fc0d2(0x1ca)](){var _0x231351=_0x3fc0d2;this[_0x231351(0x230)][_0x231351(0x2e6)](_0x56b6a1[_0x231351(0x252)])[_0x231351(0x348)](_0x4c8071(this[_0x231351(0x1e7)]),_0xadc1ce(0x10))[_0x231351(0x206)](async _0x32750c=>{var _0x2c10a0=_0x231351;const _0x5031d6=_0x32750c[_0x2c10a0(0x1da)](),_0x1b8ce4=await this['_startCollaboration'](_0x5031d6,Q[_0x2c10a0(0x252)]);this[_0x2c10a0(0x3f5)][_0x2c10a0(0x30a)](_0x5031d6,_0x1b8ce4);}),this[_0x231351(0x230)]['getTypeOfUnitAdded$'](_0x56b6a1['UNIVER_DOC'])[_0x231351(0x348)](_0x4c8071(this[_0x231351(0x1e7)]),_0xadc1ce(0x10))[_0x231351(0x348)](_0x59d3b8(_0x327112=>!_0x327112[_0x231351(0x1da)]()[_0x231351(0x1a9)]('__')))[_0x231351(0x206)](async _0x102353=>{var _0x39f8e7=_0x231351;const _0x341833=_0x102353['getUnitId'](),_0x10a2e9=await this[_0x39f8e7(0x1ce)](_0x341833,Q[_0x39f8e7(0x161)]);this[_0x39f8e7(0x3f5)][_0x39f8e7(0x30a)](_0x341833,_0x10a2e9);}),_0x5a2e3b(this[_0x231351(0x230)][_0x231351(0x140)](_0x56b6a1[_0x231351(0x252)]),this['_univerInstanceService'][_0x231351(0x140)](_0x56b6a1['UNIVER_DOC']))[_0x231351(0x348)](_0x4c8071(this['dispose$']))[_0x231351(0x206)](_0x12a07d=>{var _0x57d373=_0x231351;const _0x2c3e10=_0x12a07d[_0x57d373(0x1da)](),_0x19297c=this['_entities'][_0x57d373(0x2db)](_0x2c3e10);_0x19297c&&(_0x19297c['dispose'](),this[_0x57d373(0x3f5)]['delete'](_0x2c3e10));});}async[_0x3fc0d2(0x1ce)](_0x2702d2,_0xc0848d){var _0x776780=_0x3fc0d2;const _0x23e18a=await this[_0x776780(0x360)][_0x776780(0x114)](_0x2702d2),_0x7dd21b=this[_0x776780(0x3eb)]['createInstance'](this['_getCtorByUniverType'](_0xc0848d),_0x2702d2,_0xc0848d,_0x23e18a);return await _0x7dd21b['init'](),this[_0x776780(0x113)][_0x776780(0x400)](_0x7dd21b),_0x7dd21b;}['_getCtorByUniverType'](_0x138360){var _0x3f5ef2=_0x3fc0d2;switch(_0x138360){case Q[_0x3f5ef2(0x161)]:return Tt;case Q[_0x3f5ef2(0x252)]:return Ct;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x138360);}}};rt=Sr([ft(0x0,_0x4a0d65(_0x3e5f47)),ft(0x1,_0x4a0d65(Le)),ft(0x2,_0x2e5298)],rt);var Er=Object['defineProperty'],Ir=Object[_0x3fc0d2(0x314)],Tr=(_0x216d69,_0x670b5f,_0x4ecd7f,_0x5204ff)=>{var _0x48bb40=_0x3fc0d2;for(var _0x20ec6f=_0x5204ff>0x1?void 0x0:_0x5204ff?Ir(_0x670b5f,_0x4ecd7f):_0x670b5f,_0x19c841=_0x216d69[_0x48bb40(0x2ee)]-0x1,_0x32b728;_0x19c841>=0x0;_0x19c841--)(_0x32b728=_0x216d69[_0x19c841])&&(_0x20ec6f=(_0x5204ff?_0x32b728(_0x670b5f,_0x4ecd7f,_0x20ec6f):_0x32b728(_0x20ec6f))||_0x20ec6f);return _0x5204ff&&_0x20ec6f&&Er(_0x670b5f,_0x4ecd7f,_0x20ec6f),_0x20ec6f;},Jt=(_0x329202,_0x5ae0ba)=>(_0x13071c,_0x5651a3)=>_0x5ae0ba(_0x13071c,_0x5651a3,_0x329202);const Cr=_0x3fc0d2(0x25e),Rr=_0x3fc0d2(0x290);let Rt=class extends _0x1b3b68{constructor(_0x535b29,_0x41ba3d){var _0x1b8d49=_0x3fc0d2;super(),this[_0x1b8d49(0x230)]=_0x535b29,this[_0x1b8d49(0x281)]=_0x41ba3d,this[_0x1b8d49(0x1ca)]();}['_init'](){var _0x177bdf=_0x3fc0d2;this['disposeWithMe'](this['_univerInstanceService'][_0x177bdf(0x3d9)][_0x177bdf(0x206)](()=>{var _0xb5d4ce=_0x177bdf,_0x5ca3af;const _0x3ceb83=this[_0xb5d4ce(0x230)][_0xb5d4ce(0x302)]();let _0x316716=(_0x5ca3af=this[_0xb5d4ce(0x281)][_0xb5d4ce(0x3fe)](Cr))!=null?_0x5ca3af:Rr;_0x3ceb83 instanceof _0x18a076&&(_0x316716=_0x3ceb83[_0xb5d4ce(0x39c)]),document['title']=_0x316716;}));}};Rt=Tr([Jt(0x0,_0x2e5298),Jt(0x1,_0x10186)],Rt);var br=Object[_0x3fc0d2(0x272)],Or=Object[_0x3fc0d2(0x314)],yr=(_0x4e1af1,_0x5090f1,_0x4e6d91,_0x16b120)=>{for(var _0x53013e=_0x16b120>0x1?void 0x0:_0x16b120?Or(_0x5090f1,_0x4e6d91):_0x5090f1,_0x5a7091=_0x4e1af1['length']-0x1,_0x155db5;_0x5a7091>=0x0;_0x5a7091--)(_0x155db5=_0x4e1af1[_0x5a7091])&&(_0x53013e=(_0x16b120?_0x155db5(_0x5090f1,_0x4e6d91,_0x53013e):_0x155db5(_0x53013e))||_0x53013e);return _0x16b120&&_0x53013e&&br(_0x5090f1,_0x4e6d91,_0x53013e),_0x53013e;},vt=(_0x959bee,_0x227687)=>(_0x33c6eb,_0xc3fe2a)=>_0x227687(_0x33c6eb,_0xc3fe2a,_0x959bee);let st=class{constructor(_0x1b1e18,_0x44ac8f,_0x1a2aaa){var _0x559a2b=_0x3fc0d2;this[_0x559a2b(0x281)]=_0x1b1e18,this['_httpService']=_0x44ac8f,this[_0x559a2b(0x345)]=_0x1a2aaa,this[_0x559a2b(0x236)]();}[_0x3fc0d2(0x236)](){var _0x2d3796=_0x3fc0d2;this['_httpService'][_0x2d3796(0x358)]({'priority':0x1,'interceptor':(_0x219909,_0x3ebda8)=>_0x3ebda8(_0x219909)[_0x2d3796(0x348)](_0x386ba3(async _0x26ee5d=>{var _0x5b6753=_0x2d3796;const _0x1e9fa4=_0x26ee5d;if(_0x1e9fa4[_0x5b6753(0x1e6)]===0x191){if(typeof window>'u')throw new Error(_0x5b6753(0x347));if(window['confirm'](this['localeService']['t'](_0x5b6753(0x325)))){const _0x4e06ad=window[_0x5b6753(0x3ef)](window['location'][_0x5b6753(0x26a)]);window[_0x5b6753(0x39b)][_0x5b6753(0x26a)]=this[_0x5b6753(0x2f8)]()+_0x5b6753(0x227)+_0x4e06ad;}}return _0x1e9fa4;}))});}[_0x3fc0d2(0x2f8)](){var _0x4fd725=_0x3fc0d2,_0x4b4778,_0x22f6fe;const _0x5fb94e=this[_0x4fd725(0x281)][_0x4fd725(0x3fe)](xn),_0x575beb=this[_0x4fd725(0x281)]['getConfig'](q);return(_0x22f6fe=(_0x4b4778=_0x575beb==null?void 0x0:_0x575beb[_0x4fd725(0x1cc)])!=null?_0x4b4778:_0x5fb94e)!=null?_0x22f6fe:Ln;}};st=yr([vt(0x0,_0x10186),vt(0x1,_0x4a0d65(_0x242e5e)),vt(0x2,_0x4a0d65(_0x5d25bf))],st);var Nr=Object[_0x3fc0d2(0x272)],Dr=Object[_0x3fc0d2(0x314)],Pr=(_0x35b41b,_0x1a665a,_0x31fed4,_0x34ee92)=>{var _0x56cb4b=_0x3fc0d2;for(var _0x2186bf=_0x34ee92>0x1?void 0x0:_0x34ee92?Dr(_0x1a665a,_0x31fed4):_0x1a665a,_0x4e4b32=_0x35b41b[_0x56cb4b(0x2ee)]-0x1,_0x5b770e;_0x4e4b32>=0x0;_0x4e4b32--)(_0x5b770e=_0x35b41b[_0x4e4b32])&&(_0x2186bf=(_0x34ee92?_0x5b770e(_0x1a665a,_0x31fed4,_0x2186bf):_0x5b770e(_0x2186bf))||_0x2186bf);return _0x34ee92&&_0x2186bf&&Nr(_0x1a665a,_0x31fed4,_0x2186bf),_0x2186bf;},Xt=(_0x3c468a,_0x1ea401)=>(_0x30bcc5,_0x41a922)=>_0x1ea401(_0x30bcc5,_0x41a922,_0x3c468a);const Pi='AUTHZ_URL_KEY',wr=_0x3fc0d2(0x3e3);let bt=class extends _0x1b3b68{constructor(_0x26f47b,_0x1b98ec){var _0x2aab3c=_0x3fc0d2;super(),this[_0x2aab3c(0x1d5)]=_0x26f47b,this[_0x2aab3c(0x281)]=_0x1b98ec,this[_0x2aab3c(0x231)]();}['_initMergeInterceptor'](){var _0x2f136a=_0x3fc0d2;const _0x4e22ac=this;this[_0x2f136a(0x301)](this[_0x2f136a(0x1d5)][_0x2f136a(0x358)]({'priority':0x3e7,'interceptor':_0x473dc8({'isMatch'(_0x557d7a){var _0x264e74=_0x2f136a,_0x51f757;if(_0x557d7a['method']===_0x264e74(0x22e)&&((_0x51f757=_0x557d7a[_0x264e74(0x2a8)])!=null&&_0x51f757[_0x264e74(0x1b3)])){const {objectID:_0x4ca8ca,objectType:_0x59d59f}=_0x557d7a[_0x264e74(0x2a8)][_0x264e74(0x1b3)]||{};if(!_0x4ca8ca||_0x59d59f===void 0x0)return!0x1;const _0x2814d2=_0x4e22ac['_getAPIPrefixPath']()+'/'+_0x59d59f+_0x264e74(0x2ba)+_0x4ca8ca+_0x264e74(0x1d8);if(_0x557d7a[_0x264e74(0x1dd)]===_0x2814d2)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x25f4b0){var _0x959f44=_0x2f136a,_0x49da3d;return(_0x49da3d=_0x25f4b0[_0x959f44(0x2a8)])==null?void 0x0:_0x49da3d['body'];},'mergeParamsToRequest'(_0xaabc61,_0x5ac552){var _0x6780a9=_0x2f136a;const _0x45470c=_0x4e22ac[_0x6780a9(0x258)]()+_0x6780a9(0x19d),_0x103416=_0xaabc61[_0x6780a9(0x374)]((_0x35f795,_0x44d89f)=>{var _0x11e88b=_0x6780a9;const {unitID:_0x4bb40d,objectID:_0x550524,objectType:_0x8c5c9c,actions:_0x3845d4}=_0x44d89f;return _0x35f795[_0x4bb40d]||(_0x35f795[_0x4bb40d]={}),_0x35f795[_0x4bb40d][_0x550524]||(_0x35f795[_0x4bb40d][_0x550524]={'objectID':_0x550524,'objectType':_0x8c5c9c,'actions':[]}),_0x35f795[_0x4bb40d][_0x550524][_0x11e88b(0x3f0)]['push'](..._0x3845d4),_0x35f795;},{}),_0x1d2ab4=[];for(const _0x400fea in _0x103416)for(const _0x5da478 in _0x103416[_0x400fea]){const {actions:_0x57a9ac,objectType:_0x5ec74d}=_0x103416[_0x400fea][_0x5da478],_0x5e155e=[...new Set(_0x57a9ac)];_0x1d2ab4[_0x6780a9(0x1ba)]({'unitID':_0x400fea,'objectID':_0x5da478,'objectType':_0x5ec74d,'actions':_0x5e155e});}return new _0x147814(_0x6780a9(0x22e),_0x45470c,{'headers':_0x5ac552[_0x6780a9(0x139)],'withCredentials':_0x5ac552[_0x6780a9(0x289)],'responseType':_0x5ac552[_0x6780a9(0x1e4)],'body':{'requests':_0x1d2ab4}});}},{'distributeResult'(_0x35fb71,_0x6754fa){var _0x569fe4=_0x2f136a;const {objectActions:_0xfeae9a}=_0x35fb71;return _0x6754fa[_0x569fe4(0x2e9)](_0x54c154=>{var _0x3633df=_0x569fe4;const {unitID:_0x5291af,objectID:_0x25a3be,actions:_0x2af87f}=_0x54c154,_0x55493b=_0xfeae9a[_0x3633df(0x1fb)](_0x40c14f=>_0x40c14f['unitID']===_0x5291af&&_0x40c14f[_0x3633df(0x35d)]===_0x25a3be),_0xfdf632=_0x2af87f[_0x3633df(0x2e9)](_0x5f4fb8=>_0x55493b==null?void 0x0:_0x55493b[_0x3633df(0x3f0)][_0x3633df(0x1fb)](_0x49ce9f=>_0x49ce9f['action']===_0x5f4fb8))[_0x3633df(0x256)](_0x9b19b0=>!!_0x9b19b0);return{'config':_0x54c154,'result':{'actions':_0xfdf632,'error':_0x35fb71[_0x3633df(0x24c)]}};});}})}));}[_0x3fc0d2(0x258)](){var _0x2ec8e2=_0x3fc0d2,_0x1bbd7b,_0x1f0bf0;const _0x22e9c7=this[_0x2ec8e2(0x281)][_0x2ec8e2(0x3fe)](Pi),_0x14f90f=this[_0x2ec8e2(0x281)][_0x2ec8e2(0x3fe)](q);return(_0x1f0bf0=(_0x1bbd7b=_0x14f90f==null?void 0x0:_0x14f90f[_0x2ec8e2(0x201)])!=null?_0x1bbd7b:_0x22e9c7)!=null?_0x1f0bf0:wr;}async[_0x3fc0d2(0x307)](_0x51059e){var _0x15ae8a=_0x3fc0d2;const _0x24fe8d=this[_0x15ae8a(0x258)]()+'/'+_0x51059e[_0x15ae8a(0x355)]+_0x15ae8a(0x3a4);return(await this[_0x15ae8a(0x1d5)]['post'](_0x24fe8d,{'body':_0x51059e}))[_0x15ae8a(0x1b3)][_0x15ae8a(0x35d)]||'';}async['list'](_0x4fd62c){var _0x217781=_0x3fc0d2;const _0x556d48=this[_0x217781(0x258)]()+_0x217781(0x323);return(await this[_0x217781(0x1d5)][_0x217781(0x203)](_0x556d48,{'body':_0x4fd62c}))[_0x217781(0x1b3)][_0x217781(0x379)];}async[_0x3fc0d2(0x1d0)](_0x216ece){var _0x559d2c=_0x3fc0d2;const _0x530234=this['_getAPIPrefixPath']()+'/'+_0x216ece[_0x559d2c(0x355)]+_0x559d2c(0x2ba)+_0x216ece[_0x559d2c(0x35d)];await this[_0x559d2c(0x1d5)][_0x559d2c(0x34d)](_0x530234,{'body':_0x216ece});}async['allowed'](_0x21dcb9){var _0x26c68e=_0x3fc0d2;const _0x524cb3=this[_0x26c68e(0x258)]()+'/'+_0x21dcb9[_0x26c68e(0x355)]+_0x26c68e(0x2ba)+_0x21dcb9['objectID']+_0x26c68e(0x1d8);return(await this[_0x26c68e(0x1d5)][_0x26c68e(0x203)](_0x524cb3,{'body':_0x21dcb9}))[_0x26c68e(0x1b3)][_0x26c68e(0x3f0)];}async['batchAllowed'](_0x56d10a){var _0x1a2072=_0x3fc0d2;const _0x2028e7=this[_0x1a2072(0x258)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x1a2072(0x203)](_0x2028e7,{'body':{'requests':_0x56d10a}}))[_0x1a2072(0x1b3)][_0x1a2072(0x32f)];}async[_0x3fc0d2(0x3e7)](_0x3f03b6){var _0x4d8b9a=_0x3fc0d2;const _0x42f536=this[_0x4d8b9a(0x258)]()+'/'+_0x3f03b6[_0x4d8b9a(0x355)]+'/role',_0x5653f7=await this[_0x4d8b9a(0x1d5)]['post'](_0x42f536,{'body':_0x3f03b6});return{'roles':_0x5653f7['body'][_0x4d8b9a(0x3fb)],'actions':_0x5653f7[_0x4d8b9a(0x1b3)]['actions']};}async['deleteCollaborator'](_0x296784){var _0x50fd4f=_0x3fc0d2;const _0x6d0ebc=this[_0x50fd4f(0x258)]()+_0x50fd4f(0x2e5);await this[_0x50fd4f(0x1d5)][_0x50fd4f(0x3aa)](_0x6d0ebc,{'params':{'collaboratorID':_0x296784[_0x50fd4f(0x373)],'objectID':_0x296784['objectID'],'unitID':_0x296784[_0x50fd4f(0x134)]}});}async[_0x3fc0d2(0x15a)](_0x54be7e){var _0x3d1a89=_0x3fc0d2;const _0x5c2768=this[_0x3d1a89(0x258)]()+'/collaborator';await this[_0x3d1a89(0x1d5)]['patch'](_0x5c2768,{'body':_0x54be7e});}async['createCollaborator'](_0x28a1aa){var _0x5d3804=_0x3fc0d2;const _0x2b90cf=this[_0x5d3804(0x258)]()+_0x5d3804(0x2e5);await this[_0x5d3804(0x1d5)]['post'](_0x2b90cf,{'body':_0x28a1aa});}async[_0x3fc0d2(0x2e3)](_0x42d2f7){var _0x2c9c5d=_0x3fc0d2;const _0x36a7b9=this[_0x2c9c5d(0x258)]()+_0x2c9c5d(0x2e5);return(await this[_0x2c9c5d(0x1d5)][_0x2c9c5d(0x2db)](_0x36a7b9,{'params':{'objectID':_0x42d2f7['objectID'],'unitID':_0x42d2f7['unitID']}}))[_0x2c9c5d(0x1b3)][_0x2c9c5d(0x33a)];}async[_0x3fc0d2(0x246)](_0x56694d){var _0x506b6a=_0x3fc0d2;const _0x36de72=this['_getAPIPrefixPath']()+_0x506b6a(0x2e5);await this[_0x506b6a(0x1d5)][_0x506b6a(0x34d)](_0x36de72,{'body':_0x56694d});}};bt=Pr([Xt(0x0,_0x4a0d65(_0x242e5e)),Xt(0x1,_0x4a0d65(_0x10186))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x27a184){var _0x4e7f53=_0x3fc0d2;return _0x27a184&&_0x27a184['__esModule']&&Object[_0x4e7f53(0x24f)]['hasOwnProperty'][_0x4e7f53(0x130)](_0x27a184,_0x4e7f53(0x187))?_0x27a184['default']:_0x27a184;}var Ve={'exports':{}};function Ur(_0x1f9509){var _0x3c17a1=_0x3fc0d2;throw new Error(_0x3c17a1(0x3e8)+_0x1f9509+_0x3c17a1(0x335));}var Ge={'exports':{}},Ar=Ge['exports'],Zt;function ne(){return Zt||(Zt=0x1,function(_0x2d2ac4,_0x2c82d4){(function(_0x428338,_0x466069){var _0x5e17ed=_0x3335;_0x2d2ac4[_0x5e17ed(0x1c9)]=_0x466069();}(Ar,function(){var _0x458529=_0x458529||function(_0x2d6bce,_0x592855){var _0x6e4bcf=_0x3335,_0xb7bb55;if(typeof window<'u'&&window[_0x6e4bcf(0x2b9)]&&(_0xb7bb55=window[_0x6e4bcf(0x2b9)]),typeof self<'u'&&self['crypto']&&(_0xb7bb55=self['crypto']),typeof globalThis<'u'&&globalThis[_0x6e4bcf(0x2b9)]&&(_0xb7bb55=globalThis[_0x6e4bcf(0x2b9)]),!_0xb7bb55&&typeof window<'u'&&window[_0x6e4bcf(0x308)]&&(_0xb7bb55=window[_0x6e4bcf(0x308)]),!_0xb7bb55&&typeof pt<'u'&&pt[_0x6e4bcf(0x2b9)]&&(_0xb7bb55=pt[_0x6e4bcf(0x2b9)]),!_0xb7bb55&&typeof Ur=='function')try{_0xb7bb55=require(_0x6e4bcf(0x2b9));}catch{}var _0x47652d=function(){var _0x563b25=_0x6e4bcf;if(_0xb7bb55){if(typeof _0xb7bb55[_0x563b25(0x3b9)]==_0x563b25(0x392))try{return _0xb7bb55[_0x563b25(0x3b9)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xb7bb55['randomBytes']==_0x563b25(0x392))try{return _0xb7bb55[_0x563b25(0x3c7)](0x4)[_0x563b25(0x127)]();}catch{}}throw new Error(_0x563b25(0x129));},_0x18e0b3=Object[_0x6e4bcf(0x307)]||(function(){function _0x5c85ad(){}return function(_0x453504){var _0x1b5010=_0x3335,_0x31a524;return _0x5c85ad[_0x1b5010(0x24f)]=_0x453504,_0x31a524=new _0x5c85ad(),_0x5c85ad[_0x1b5010(0x24f)]=null,_0x31a524;};}()),_0x10e73b={},_0x42eae6=_0x10e73b['lib']={},_0x5e4fb8=_0x42eae6[_0x6e4bcf(0x322)]=(function(){return{'extend':function(_0xf04cc9){var _0x57d23a=_0x3335,_0x58c72c=_0x18e0b3(this);return _0xf04cc9&&_0x58c72c[_0x57d23a(0x311)](_0xf04cc9),(!_0x58c72c[_0x57d23a(0x1f8)](_0x57d23a(0x236))||this[_0x57d23a(0x236)]===_0x58c72c[_0x57d23a(0x236)])&&(_0x58c72c[_0x57d23a(0x236)]=function(){var _0x1fc1ea=_0x57d23a;_0x58c72c['$super'][_0x1fc1ea(0x236)][_0x1fc1ea(0x324)](this,arguments);}),_0x58c72c[_0x57d23a(0x236)]['prototype']=_0x58c72c,_0x58c72c[_0x57d23a(0x1c7)]=this,_0x58c72c;},'create':function(){var _0x5e6a81=_0x3335,_0xff49f2=this[_0x5e6a81(0x20b)]();return _0xff49f2[_0x5e6a81(0x236)][_0x5e6a81(0x324)](_0xff49f2,arguments),_0xff49f2;},'init':function(){},'mixIn':function(_0x8cc673){var _0x49b2cd=_0x3335;for(var _0xb423c3 in _0x8cc673)_0x8cc673['hasOwnProperty'](_0xb423c3)&&(this[_0xb423c3]=_0x8cc673[_0xb423c3]);_0x8cc673[_0x49b2cd(0x1f8)](_0x49b2cd(0x2f5))&&(this[_0x49b2cd(0x2f5)]=_0x8cc673['toString']);},'clone':function(){var _0x526a69=_0x3335;return this[_0x526a69(0x236)][_0x526a69(0x24f)][_0x526a69(0x20b)](this);}};}()),_0x55b285=_0x42eae6['WordArray']=_0x5e4fb8[_0x6e4bcf(0x20b)]({'init':function(_0x1b1fc2,_0x2fe454){var _0x2e44df=_0x6e4bcf;_0x1b1fc2=this[_0x2e44df(0x142)]=_0x1b1fc2||[],_0x2fe454!=_0x592855?this[_0x2e44df(0x186)]=_0x2fe454:this['sigBytes']=_0x1b1fc2[_0x2e44df(0x2ee)]*0x4;},'toString':function(_0x11b1ef){var _0x470c98=_0x6e4bcf;return(_0x11b1ef||_0x421c05)[_0x470c98(0x277)](this);},'concat':function(_0x25636a){var _0x3c73be=_0x6e4bcf,_0x1df3f=this[_0x3c73be(0x142)],_0x13468a=_0x25636a[_0x3c73be(0x142)],_0x22a764=this[_0x3c73be(0x186)],_0x1bc6b7=_0x25636a['sigBytes'];if(this[_0x3c73be(0x271)](),_0x22a764%0x4)for(var _0x5543ba=0x0;_0x5543ba<_0x1bc6b7;_0x5543ba++){var _0x46cc70=_0x13468a[_0x5543ba>>>0x2]>>>0x18-_0x5543ba%0x4*0x8&0xff;_0x1df3f[_0x22a764+_0x5543ba>>>0x2]|=_0x46cc70<<0x18-(_0x22a764+_0x5543ba)%0x4*0x8;}else{for(var _0x303af5=0x0;_0x303af5<_0x1bc6b7;_0x303af5+=0x4)_0x1df3f[_0x22a764+_0x303af5>>>0x2]=_0x13468a[_0x303af5>>>0x2];}return this[_0x3c73be(0x186)]+=_0x1bc6b7,this;},'clamp':function(){var _0x3bbe66=_0x6e4bcf,_0x212b3d=this[_0x3bbe66(0x142)],_0x3ce700=this[_0x3bbe66(0x186)];_0x212b3d[_0x3ce700>>>0x2]&=0xffffffff<<0x20-_0x3ce700%0x4*0x8,_0x212b3d[_0x3bbe66(0x2ee)]=_0x2d6bce[_0x3bbe66(0x3c5)](_0x3ce700/0x4);},'clone':function(){var _0x2ea232=_0x6e4bcf,_0x29db5a=_0x5e4fb8[_0x2ea232(0x168)][_0x2ea232(0x130)](this);return _0x29db5a['words']=this[_0x2ea232(0x142)]['slice'](0x0),_0x29db5a;},'random':function(_0x49a0e0){var _0x37b5e7=_0x6e4bcf;for(var _0x54072c=[],_0x52f6c6=0x0;_0x52f6c6<_0x49a0e0;_0x52f6c6+=0x4)_0x54072c[_0x37b5e7(0x1ba)](_0x47652d());return new _0x55b285[(_0x37b5e7(0x236))](_0x54072c,_0x49a0e0);}}),_0x289598=_0x10e73b['enc']={},_0x421c05=_0x289598[_0x6e4bcf(0x368)]={'stringify':function(_0x1a146f){var _0x48849e=_0x6e4bcf;for(var _0x268e04=_0x1a146f['words'],_0xe76e6a=_0x1a146f[_0x48849e(0x186)],_0x5c5f6b=[],_0x34fcb4=0x0;_0x34fcb4<_0xe76e6a;_0x34fcb4++){var _0x1a0a3c=_0x268e04[_0x34fcb4>>>0x2]>>>0x18-_0x34fcb4%0x4*0x8&0xff;_0x5c5f6b[_0x48849e(0x1ba)]((_0x1a0a3c>>>0x4)[_0x48849e(0x2f5)](0x10)),_0x5c5f6b[_0x48849e(0x1ba)]((_0x1a0a3c&0xf)[_0x48849e(0x2f5)](0x10));}return _0x5c5f6b[_0x48849e(0x183)]('');},'parse':function(_0x14f038){var _0x5346ca=_0x6e4bcf;for(var _0x17b403=_0x14f038[_0x5346ca(0x2ee)],_0x360945=[],_0x50dcbc=0x0;_0x50dcbc<_0x17b403;_0x50dcbc+=0x2)_0x360945[_0x50dcbc>>>0x3]|=parseInt(_0x14f038[_0x5346ca(0x2dd)](_0x50dcbc,0x2),0x10)<<0x18-_0x50dcbc%0x8*0x4;return new _0x55b285[(_0x5346ca(0x236))](_0x360945,_0x17b403/0x2);}},_0x41d50a=_0x289598[_0x6e4bcf(0x125)]={'stringify':function(_0x168326){var _0x3f926b=_0x6e4bcf;for(var _0x48f1ba=_0x168326[_0x3f926b(0x142)],_0x310d3b=_0x168326['sigBytes'],_0x1a81d1=[],_0x5224f7=0x0;_0x5224f7<_0x310d3b;_0x5224f7++){var _0x253ff1=_0x48f1ba[_0x5224f7>>>0x2]>>>0x18-_0x5224f7%0x4*0x8&0xff;_0x1a81d1[_0x3f926b(0x1ba)](String[_0x3f926b(0x31e)](_0x253ff1));}return _0x1a81d1[_0x3f926b(0x183)]('');},'parse':function(_0x217350){var _0x3149da=_0x6e4bcf;for(var _0x4254c5=_0x217350['length'],_0x5ab9ae=[],_0x451656=0x0;_0x451656<_0x4254c5;_0x451656++)_0x5ab9ae[_0x451656>>>0x2]|=(_0x217350[_0x3149da(0x32e)](_0x451656)&0xff)<<0x18-_0x451656%0x4*0x8;return new _0x55b285[(_0x3149da(0x236))](_0x5ab9ae,_0x4254c5);}},_0x535c51=_0x289598[_0x6e4bcf(0x264)]={'stringify':function(_0x4927ef){var _0x2edf35=_0x6e4bcf;try{return decodeURIComponent(escape(_0x41d50a[_0x2edf35(0x277)](_0x4927ef)));}catch{throw new Error(_0x2edf35(0x2bd));}},'parse':function(_0x57b833){return _0x41d50a['parse'](unescape(encodeURIComponent(_0x57b833)));}},_0xf9d4b5=_0x42eae6[_0x6e4bcf(0x32b)]=_0x5e4fb8[_0x6e4bcf(0x20b)]({'reset':function(){var _0xe24b46=_0x6e4bcf;this[_0xe24b46(0x141)]=new _0x55b285[(_0xe24b46(0x236))](),this['_nDataBytes']=0x0;},'_append':function(_0x1d2673){var _0x166e24=_0x6e4bcf;typeof _0x1d2673==_0x166e24(0x28f)&&(_0x1d2673=_0x535c51[_0x166e24(0x147)](_0x1d2673)),this[_0x166e24(0x141)][_0x166e24(0x235)](_0x1d2673),this['_nDataBytes']+=_0x1d2673['sigBytes'];},'_process':function(_0x8e576b){var _0x4f6ae2=_0x6e4bcf,_0x4d67ed,_0x1b83c2=this[_0x4f6ae2(0x141)],_0x2a27e7=_0x1b83c2[_0x4f6ae2(0x142)],_0x314435=_0x1b83c2[_0x4f6ae2(0x186)],_0xf4c93c=this[_0x4f6ae2(0x3a5)],_0x3d101d=_0xf4c93c*0x4,_0x299396=_0x314435/_0x3d101d;_0x8e576b?_0x299396=_0x2d6bce['ceil'](_0x299396):_0x299396=_0x2d6bce[_0x4f6ae2(0x13b)]((_0x299396|0x0)-this[_0x4f6ae2(0x23e)],0x0);var _0x4f6388=_0x299396*_0xf4c93c,_0x31a550=_0x2d6bce[_0x4f6ae2(0x30d)](_0x4f6388*0x4,_0x314435);if(_0x4f6388){for(var _0x533f56=0x0;_0x533f56<_0x4f6388;_0x533f56+=_0xf4c93c)this[_0x4f6ae2(0x225)](_0x2a27e7,_0x533f56);_0x4d67ed=_0x2a27e7['splice'](0x0,_0x4f6388),_0x1b83c2[_0x4f6ae2(0x186)]-=_0x31a550;}return new _0x55b285[(_0x4f6ae2(0x236))](_0x4d67ed,_0x31a550);},'clone':function(){var _0x28333b=_0x6e4bcf,_0x2c4851=_0x5e4fb8[_0x28333b(0x168)]['call'](this);return _0x2c4851['_data']=this[_0x28333b(0x141)][_0x28333b(0x168)](),_0x2c4851;},'_minBufferSize':0x0});_0x42eae6[_0x6e4bcf(0x145)]=_0xf9d4b5[_0x6e4bcf(0x20b)]({'cfg':_0x5e4fb8[_0x6e4bcf(0x20b)](),'init':function(_0x2b977a){var _0x223e6e=_0x6e4bcf;this[_0x223e6e(0x313)]=this[_0x223e6e(0x313)][_0x223e6e(0x20b)](_0x2b977a),this[_0x223e6e(0x15e)]();},'reset':function(){var _0x361400=_0x6e4bcf;_0xf9d4b5[_0x361400(0x15e)][_0x361400(0x130)](this),this[_0x361400(0x136)]();},'update':function(_0x271745){var _0x15cfc4=_0x6e4bcf;return this[_0x15cfc4(0x20f)](_0x271745),this['_process'](),this;},'finalize':function(_0x38a22d){var _0x26efc3=_0x6e4bcf;_0x38a22d&&this[_0x26efc3(0x20f)](_0x38a22d);var _0x40858a=this['_doFinalize']();return _0x40858a;},'blockSize':0x10,'_createHelper':function(_0x1d1b96){return function(_0x50c17b,_0x588c4d){var _0xc64d8d=_0x3335;return new _0x1d1b96[(_0xc64d8d(0x236))](_0x588c4d)['finalize'](_0x50c17b);};},'_createHmacHelper':function(_0x202299){return function(_0x6818df,_0x4e9aee){var _0x219d6c=_0x3335;return new _0x116e1c[(_0x219d6c(0x1a3))]['init'](_0x202299,_0x4e9aee)[_0x219d6c(0x3c1)](_0x6818df);};}});var _0x116e1c=_0x10e73b['algo']={};return _0x10e73b;}(Math);return _0x458529;}));}(Ge)),Ge['exports'];}var We={'exports':{}},xr=We[_0x3fc0d2(0x1c9)],Qt;function wi(){var _0xfaf7c5=_0x3fc0d2;return Qt||(Qt=0x1,function(_0x4b88ed,_0x413c05){(function(_0x69875b,_0x17338c){var _0x345d51=_0x3335;_0x4b88ed[_0x345d51(0x1c9)]=_0x17338c(ne());}(xr,function(_0x2f9434){var _0x4eb34d=_0x3335;return(function(){var _0x1b4e5b=_0x3335,_0x2c8387=_0x2f9434,_0x2f4217=_0x2c8387[_0x1b4e5b(0x2b6)],_0x54d95d=_0x2f4217['WordArray'],_0x53a12d=_0x2c8387[_0x1b4e5b(0x372)];_0x53a12d[_0x1b4e5b(0x1ed)]={'stringify':function(_0x28c2ee){var _0x456fac=_0x1b4e5b,_0x311d8d=_0x28c2ee[_0x456fac(0x142)],_0x2bfce9=_0x28c2ee[_0x456fac(0x186)],_0x500338=this['_map'];_0x28c2ee[_0x456fac(0x271)]();for(var _0x420bf9=[],_0x5e32a1=0x0;_0x5e32a1<_0x2bfce9;_0x5e32a1+=0x3)for(var _0x2fa948=_0x311d8d[_0x5e32a1>>>0x2]>>>0x18-_0x5e32a1%0x4*0x8&0xff,_0x214bb2=_0x311d8d[_0x5e32a1+0x1>>>0x2]>>>0x18-(_0x5e32a1+0x1)%0x4*0x8&0xff,_0x5c9bbc=_0x311d8d[_0x5e32a1+0x2>>>0x2]>>>0x18-(_0x5e32a1+0x2)%0x4*0x8&0xff,_0x4deaec=_0x2fa948<<0x10|_0x214bb2<<0x8|_0x5c9bbc,_0x25c3d4=0x0;_0x25c3d4<0x4&&_0x5e32a1+_0x25c3d4*0.75<_0x2bfce9;_0x25c3d4++)_0x420bf9[_0x456fac(0x1ba)](_0x500338[_0x456fac(0x2f0)](_0x4deaec>>>0x6*(0x3-_0x25c3d4)&0x3f));var _0x5a1942=_0x500338[_0x456fac(0x2f0)](0x40);if(_0x5a1942){for(;_0x420bf9[_0x456fac(0x2ee)]%0x4;)_0x420bf9[_0x456fac(0x1ba)](_0x5a1942);}return _0x420bf9['join']('');},'parse':function(_0x3d9e92){var _0x41b9e5=_0x1b4e5b,_0x38c7a7=_0x3d9e92[_0x41b9e5(0x2ee)],_0x50eeef=this[_0x41b9e5(0x2ef)],_0x345a1b=this[_0x41b9e5(0x2d9)];if(!_0x345a1b){_0x345a1b=this[_0x41b9e5(0x2d9)]=[];for(var _0x19df69=0x0;_0x19df69<_0x50eeef[_0x41b9e5(0x2ee)];_0x19df69++)_0x345a1b[_0x50eeef[_0x41b9e5(0x32e)](_0x19df69)]=_0x19df69;}var _0x547e52=_0x50eeef[_0x41b9e5(0x2f0)](0x40);if(_0x547e52){var _0x1b778c=_0x3d9e92[_0x41b9e5(0x31f)](_0x547e52);_0x1b778c!==-0x1&&(_0x38c7a7=_0x1b778c);}return _0x2a00ed(_0x3d9e92,_0x38c7a7,_0x345a1b);},'_map':_0x1b4e5b(0x388)};function _0x2a00ed(_0x107ed1,_0x1f9033,_0xf81628){var _0x415c8c=_0x1b4e5b;for(var _0x2e33e1=[],_0x2850f8=0x0,_0x299eda=0x0;_0x299eda<_0x1f9033;_0x299eda++)if(_0x299eda%0x4){var _0x51db31=_0xf81628[_0x107ed1[_0x415c8c(0x32e)](_0x299eda-0x1)]<<_0x299eda%0x4*0x2,_0xec43b2=_0xf81628[_0x107ed1[_0x415c8c(0x32e)](_0x299eda)]>>>0x6-_0x299eda%0x4*0x2,_0x2d6d2e=_0x51db31|_0xec43b2;_0x2e33e1[_0x2850f8>>>0x2]|=_0x2d6d2e<<0x18-_0x2850f8%0x4*0x8,_0x2850f8++;}return _0x54d95d[_0x415c8c(0x307)](_0x2e33e1,_0x2850f8);}}()),_0x2f9434['enc'][_0x4eb34d(0x1ed)];}));}(We)),We[_0xfaf7c5(0x1c9)];}var Ke={'exports':{}},Lr=Ke[_0x3fc0d2(0x1c9)],ei;function Mr(){var _0x45404f=_0x3fc0d2;return ei||(ei=0x1,function(_0x7f4c44,_0x426409){(function(_0x51e511,_0x12f1d9){var _0x3ddd8c=_0x3335;_0x7f4c44[_0x3ddd8c(0x1c9)]=_0x12f1d9(ne());}(Lr,function(_0x931b40){return function(_0x1e84cf){var _0x1bdc49=_0x3335,_0x590090=_0x931b40,_0x2b8adc=_0x590090[_0x1bdc49(0x2b6)],_0x391698=_0x2b8adc[_0x1bdc49(0x3b4)],_0xec01c=_0x2b8adc[_0x1bdc49(0x145)],_0x1c5396=_0x590090[_0x1bdc49(0x120)],_0x2f9d8e=[];(function(){var _0x4af407=_0x1bdc49;for(var _0x1d2f5e=0x0;_0x1d2f5e<0x40;_0x1d2f5e++)_0x2f9d8e[_0x1d2f5e]=_0x1e84cf[_0x4af407(0x35c)](_0x1e84cf[_0x4af407(0x216)](_0x1d2f5e+0x1))*0x100000000|0x0;}());var _0x44ae3c=_0x1c5396['MD5']=_0xec01c[_0x1bdc49(0x20b)]({'_doReset':function(){var _0x119da2=_0x1bdc49;this['_hash']=new _0x391698[(_0x119da2(0x236))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5a7c36,_0x6861cb){var _0x53e8fd=_0x1bdc49;for(var _0x1f4047=0x0;_0x1f4047<0x10;_0x1f4047++){var _0x228f73=_0x6861cb+_0x1f4047,_0x1e3391=_0x5a7c36[_0x228f73];_0x5a7c36[_0x228f73]=(_0x1e3391<<0x8|_0x1e3391>>>0x18)&0xff00ff|(_0x1e3391<<0x18|_0x1e3391>>>0x8)&0xff00ff00;}var _0x20136f=this[_0x53e8fd(0x14f)]['words'],_0x21a042=_0x5a7c36[_0x6861cb+0x0],_0x1e0214=_0x5a7c36[_0x6861cb+0x1],_0x41646f=_0x5a7c36[_0x6861cb+0x2],_0x2fb0f6=_0x5a7c36[_0x6861cb+0x3],_0x35998c=_0x5a7c36[_0x6861cb+0x4],_0x4581c3=_0x5a7c36[_0x6861cb+0x5],_0x190d75=_0x5a7c36[_0x6861cb+0x6],_0x1bea0d=_0x5a7c36[_0x6861cb+0x7],_0x2d7c82=_0x5a7c36[_0x6861cb+0x8],_0x5b2348=_0x5a7c36[_0x6861cb+0x9],_0x1b3df5=_0x5a7c36[_0x6861cb+0xa],_0x517dfa=_0x5a7c36[_0x6861cb+0xb],_0x3bb5f7=_0x5a7c36[_0x6861cb+0xc],_0x5e6c20=_0x5a7c36[_0x6861cb+0xd],_0x4887e9=_0x5a7c36[_0x6861cb+0xe],_0xd1417a=_0x5a7c36[_0x6861cb+0xf],_0x552d6d=_0x20136f[0x0],_0x1a548e=_0x20136f[0x1],_0xd32c7c=_0x20136f[0x2],_0x92c016=_0x20136f[0x3];_0x552d6d=_0x22566d(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x21a042,0x7,_0x2f9d8e[0x0]),_0x92c016=_0x22566d(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x1e0214,0xc,_0x2f9d8e[0x1]),_0xd32c7c=_0x22566d(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x41646f,0x11,_0x2f9d8e[0x2]),_0x1a548e=_0x22566d(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x2fb0f6,0x16,_0x2f9d8e[0x3]),_0x552d6d=_0x22566d(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x35998c,0x7,_0x2f9d8e[0x4]),_0x92c016=_0x22566d(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x4581c3,0xc,_0x2f9d8e[0x5]),_0xd32c7c=_0x22566d(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x190d75,0x11,_0x2f9d8e[0x6]),_0x1a548e=_0x22566d(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x1bea0d,0x16,_0x2f9d8e[0x7]),_0x552d6d=_0x22566d(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x2d7c82,0x7,_0x2f9d8e[0x8]),_0x92c016=_0x22566d(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x5b2348,0xc,_0x2f9d8e[0x9]),_0xd32c7c=_0x22566d(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x1b3df5,0x11,_0x2f9d8e[0xa]),_0x1a548e=_0x22566d(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x517dfa,0x16,_0x2f9d8e[0xb]),_0x552d6d=_0x22566d(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x3bb5f7,0x7,_0x2f9d8e[0xc]),_0x92c016=_0x22566d(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x5e6c20,0xc,_0x2f9d8e[0xd]),_0xd32c7c=_0x22566d(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x4887e9,0x11,_0x2f9d8e[0xe]),_0x1a548e=_0x22566d(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0xd1417a,0x16,_0x2f9d8e[0xf]),_0x552d6d=_0x4f39a9(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x1e0214,0x5,_0x2f9d8e[0x10]),_0x92c016=_0x4f39a9(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x190d75,0x9,_0x2f9d8e[0x11]),_0xd32c7c=_0x4f39a9(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x517dfa,0xe,_0x2f9d8e[0x12]),_0x1a548e=_0x4f39a9(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x21a042,0x14,_0x2f9d8e[0x13]),_0x552d6d=_0x4f39a9(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x4581c3,0x5,_0x2f9d8e[0x14]),_0x92c016=_0x4f39a9(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x1b3df5,0x9,_0x2f9d8e[0x15]),_0xd32c7c=_0x4f39a9(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0xd1417a,0xe,_0x2f9d8e[0x16]),_0x1a548e=_0x4f39a9(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x35998c,0x14,_0x2f9d8e[0x17]),_0x552d6d=_0x4f39a9(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x5b2348,0x5,_0x2f9d8e[0x18]),_0x92c016=_0x4f39a9(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x4887e9,0x9,_0x2f9d8e[0x19]),_0xd32c7c=_0x4f39a9(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x2fb0f6,0xe,_0x2f9d8e[0x1a]),_0x1a548e=_0x4f39a9(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x2d7c82,0x14,_0x2f9d8e[0x1b]),_0x552d6d=_0x4f39a9(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x5e6c20,0x5,_0x2f9d8e[0x1c]),_0x92c016=_0x4f39a9(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x41646f,0x9,_0x2f9d8e[0x1d]),_0xd32c7c=_0x4f39a9(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x1bea0d,0xe,_0x2f9d8e[0x1e]),_0x1a548e=_0x4f39a9(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x3bb5f7,0x14,_0x2f9d8e[0x1f]),_0x552d6d=_0x351172(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x4581c3,0x4,_0x2f9d8e[0x20]),_0x92c016=_0x351172(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x2d7c82,0xb,_0x2f9d8e[0x21]),_0xd32c7c=_0x351172(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x517dfa,0x10,_0x2f9d8e[0x22]),_0x1a548e=_0x351172(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x4887e9,0x17,_0x2f9d8e[0x23]),_0x552d6d=_0x351172(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x1e0214,0x4,_0x2f9d8e[0x24]),_0x92c016=_0x351172(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x35998c,0xb,_0x2f9d8e[0x25]),_0xd32c7c=_0x351172(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x1bea0d,0x10,_0x2f9d8e[0x26]),_0x1a548e=_0x351172(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x1b3df5,0x17,_0x2f9d8e[0x27]),_0x552d6d=_0x351172(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x5e6c20,0x4,_0x2f9d8e[0x28]),_0x92c016=_0x351172(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x21a042,0xb,_0x2f9d8e[0x29]),_0xd32c7c=_0x351172(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x2fb0f6,0x10,_0x2f9d8e[0x2a]),_0x1a548e=_0x351172(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x190d75,0x17,_0x2f9d8e[0x2b]),_0x552d6d=_0x351172(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x5b2348,0x4,_0x2f9d8e[0x2c]),_0x92c016=_0x351172(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x3bb5f7,0xb,_0x2f9d8e[0x2d]),_0xd32c7c=_0x351172(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0xd1417a,0x10,_0x2f9d8e[0x2e]),_0x1a548e=_0x351172(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x41646f,0x17,_0x2f9d8e[0x2f]),_0x552d6d=_0x2fd3e6(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x21a042,0x6,_0x2f9d8e[0x30]),_0x92c016=_0x2fd3e6(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x1bea0d,0xa,_0x2f9d8e[0x31]),_0xd32c7c=_0x2fd3e6(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x4887e9,0xf,_0x2f9d8e[0x32]),_0x1a548e=_0x2fd3e6(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x4581c3,0x15,_0x2f9d8e[0x33]),_0x552d6d=_0x2fd3e6(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x3bb5f7,0x6,_0x2f9d8e[0x34]),_0x92c016=_0x2fd3e6(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x2fb0f6,0xa,_0x2f9d8e[0x35]),_0xd32c7c=_0x2fd3e6(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x1b3df5,0xf,_0x2f9d8e[0x36]),_0x1a548e=_0x2fd3e6(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x1e0214,0x15,_0x2f9d8e[0x37]),_0x552d6d=_0x2fd3e6(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x2d7c82,0x6,_0x2f9d8e[0x38]),_0x92c016=_0x2fd3e6(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0xd1417a,0xa,_0x2f9d8e[0x39]),_0xd32c7c=_0x2fd3e6(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x190d75,0xf,_0x2f9d8e[0x3a]),_0x1a548e=_0x2fd3e6(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x5e6c20,0x15,_0x2f9d8e[0x3b]),_0x552d6d=_0x2fd3e6(_0x552d6d,_0x1a548e,_0xd32c7c,_0x92c016,_0x35998c,0x6,_0x2f9d8e[0x3c]),_0x92c016=_0x2fd3e6(_0x92c016,_0x552d6d,_0x1a548e,_0xd32c7c,_0x517dfa,0xa,_0x2f9d8e[0x3d]),_0xd32c7c=_0x2fd3e6(_0xd32c7c,_0x92c016,_0x552d6d,_0x1a548e,_0x41646f,0xf,_0x2f9d8e[0x3e]),_0x1a548e=_0x2fd3e6(_0x1a548e,_0xd32c7c,_0x92c016,_0x552d6d,_0x5b2348,0x15,_0x2f9d8e[0x3f]),_0x20136f[0x0]=_0x20136f[0x0]+_0x552d6d|0x0,_0x20136f[0x1]=_0x20136f[0x1]+_0x1a548e|0x0,_0x20136f[0x2]=_0x20136f[0x2]+_0xd32c7c|0x0,_0x20136f[0x3]=_0x20136f[0x3]+_0x92c016|0x0;},'_doFinalize':function(){var _0x3c97da=_0x1bdc49,_0x217181=this['_data'],_0x1506b4=_0x217181[_0x3c97da(0x142)],_0x334942=this['_nDataBytes']*0x8,_0xf0e2f8=_0x217181[_0x3c97da(0x186)]*0x8;_0x1506b4[_0xf0e2f8>>>0x5]|=0x80<<0x18-_0xf0e2f8%0x20;var _0x437471=_0x1e84cf[_0x3c97da(0x177)](_0x334942/0x100000000),_0x7b378=_0x334942;_0x1506b4[(_0xf0e2f8+0x40>>>0x9<<0x4)+0xf]=(_0x437471<<0x8|_0x437471>>>0x18)&0xff00ff|(_0x437471<<0x18|_0x437471>>>0x8)&0xff00ff00,_0x1506b4[(_0xf0e2f8+0x40>>>0x9<<0x4)+0xe]=(_0x7b378<<0x8|_0x7b378>>>0x18)&0xff00ff|(_0x7b378<<0x18|_0x7b378>>>0x8)&0xff00ff00,_0x217181[_0x3c97da(0x186)]=(_0x1506b4['length']+0x1)*0x4,this[_0x3c97da(0x12c)]();for(var _0x4fa99e=this[_0x3c97da(0x14f)],_0x3cffa6=_0x4fa99e[_0x3c97da(0x142)],_0x98c5ab=0x0;_0x98c5ab<0x4;_0x98c5ab++){var _0x249a7=_0x3cffa6[_0x98c5ab];_0x3cffa6[_0x98c5ab]=(_0x249a7<<0x8|_0x249a7>>>0x18)&0xff00ff|(_0x249a7<<0x18|_0x249a7>>>0x8)&0xff00ff00;}return _0x4fa99e;},'clone':function(){var _0x828425=_0x1bdc49,_0x2aa234=_0xec01c[_0x828425(0x168)][_0x828425(0x130)](this);return _0x2aa234[_0x828425(0x14f)]=this['_hash'][_0x828425(0x168)](),_0x2aa234;}});function _0x22566d(_0x2c4d70,_0x400671,_0x472a15,_0x25d46c,_0xd2ea33,_0x9c9318,_0x4a5f0d){var _0x2ab9b1=_0x2c4d70+(_0x400671&_0x472a15|~_0x400671&_0x25d46c)+_0xd2ea33+_0x4a5f0d;return(_0x2ab9b1<<_0x9c9318|_0x2ab9b1>>>0x20-_0x9c9318)+_0x400671;}function _0x4f39a9(_0x709275,_0x5cd524,_0x15e7a4,_0x35032a,_0x2c8127,_0x40efea,_0x338397){var _0x4a9da6=_0x709275+(_0x5cd524&_0x35032a|_0x15e7a4&~_0x35032a)+_0x2c8127+_0x338397;return(_0x4a9da6<<_0x40efea|_0x4a9da6>>>0x20-_0x40efea)+_0x5cd524;}function _0x351172(_0x1ed2ac,_0x8e0a93,_0x2216e4,_0x47db2a,_0xe8baca,_0x3d4212,_0x84d16d){var _0x17d853=_0x1ed2ac+(_0x8e0a93^_0x2216e4^_0x47db2a)+_0xe8baca+_0x84d16d;return(_0x17d853<<_0x3d4212|_0x17d853>>>0x20-_0x3d4212)+_0x8e0a93;}function _0x2fd3e6(_0x6b8043,_0xc761cf,_0xc920c3,_0x42affe,_0x53d9d5,_0xa72402,_0x2db144){var _0x4692a6=_0x6b8043+(_0xc920c3^(_0xc761cf|~_0x42affe))+_0x53d9d5+_0x2db144;return(_0x4692a6<<_0xa72402|_0x4692a6>>>0x20-_0xa72402)+_0xc761cf;}_0x590090[_0x1bdc49(0x303)]=_0xec01c[_0x1bdc49(0x3a9)](_0x44ae3c),_0x590090[_0x1bdc49(0x3c6)]=_0xec01c[_0x1bdc49(0x30b)](_0x44ae3c);}(Math),_0x931b40['MD5'];}));}(Ke)),Ke[_0x45404f(0x1c9)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x3fc0d2(0x1c9)],ti;function Hr(){var _0x4ee1a2=_0x3fc0d2;return ti||(ti=0x1,function(_0xae1376,_0x418b2c){(function(_0x5ac5e4,_0x2a73f2){var _0x2f4592=_0x3335;_0xae1376[_0x2f4592(0x1c9)]=_0x2a73f2(ne());}($r,function(_0x4b0271){return(function(){var _0x4cc964=_0x3335,_0x223e45=_0x4b0271,_0x2d183d=_0x223e45[_0x4cc964(0x2b6)],_0x27d541=_0x2d183d[_0x4cc964(0x3b4)],_0xd2a5fd=_0x2d183d['Hasher'],_0x14b0a9=_0x223e45[_0x4cc964(0x120)],_0x2d580e=[],_0x1983fd=_0x14b0a9['SHA1']=_0xd2a5fd[_0x4cc964(0x20b)]({'_doReset':function(){var _0x4013e4=_0x4cc964;this[_0x4013e4(0x14f)]=new _0x27d541[(_0x4013e4(0x236))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4b8ba8,_0x5121f0){var _0x274f29=_0x4cc964;for(var _0x555011=this[_0x274f29(0x14f)][_0x274f29(0x142)],_0xcf4067=_0x555011[0x0],_0x1255d1=_0x555011[0x1],_0x2f42a4=_0x555011[0x2],_0x52860a=_0x555011[0x3],_0x2b153a=_0x555011[0x4],_0x38e441=0x0;_0x38e441<0x50;_0x38e441++){if(_0x38e441<0x10)_0x2d580e[_0x38e441]=_0x4b8ba8[_0x5121f0+_0x38e441]|0x0;else{var _0x2f67e6=_0x2d580e[_0x38e441-0x3]^_0x2d580e[_0x38e441-0x8]^_0x2d580e[_0x38e441-0xe]^_0x2d580e[_0x38e441-0x10];_0x2d580e[_0x38e441]=_0x2f67e6<<0x1|_0x2f67e6>>>0x1f;}var _0x3c573e=(_0xcf4067<<0x5|_0xcf4067>>>0x1b)+_0x2b153a+_0x2d580e[_0x38e441];_0x38e441<0x14?_0x3c573e+=(_0x1255d1&_0x2f42a4|~_0x1255d1&_0x52860a)+0x5a827999:_0x38e441<0x28?_0x3c573e+=(_0x1255d1^_0x2f42a4^_0x52860a)+0x6ed9eba1:_0x38e441<0x3c?_0x3c573e+=(_0x1255d1&_0x2f42a4|_0x1255d1&_0x52860a|_0x2f42a4&_0x52860a)-0x70e44324:_0x3c573e+=(_0x1255d1^_0x2f42a4^_0x52860a)-0x359d3e2a,_0x2b153a=_0x52860a,_0x52860a=_0x2f42a4,_0x2f42a4=_0x1255d1<<0x1e|_0x1255d1>>>0x2,_0x1255d1=_0xcf4067,_0xcf4067=_0x3c573e;}_0x555011[0x0]=_0x555011[0x0]+_0xcf4067|0x0,_0x555011[0x1]=_0x555011[0x1]+_0x1255d1|0x0,_0x555011[0x2]=_0x555011[0x2]+_0x2f42a4|0x0,_0x555011[0x3]=_0x555011[0x3]+_0x52860a|0x0,_0x555011[0x4]=_0x555011[0x4]+_0x2b153a|0x0;},'_doFinalize':function(){var _0x360209=_0x4cc964,_0x57c3e3=this[_0x360209(0x141)],_0xe612c9=_0x57c3e3[_0x360209(0x142)],_0x5512d8=this[_0x360209(0x202)]*0x8,_0x552791=_0x57c3e3[_0x360209(0x186)]*0x8;return _0xe612c9[_0x552791>>>0x5]|=0x80<<0x18-_0x552791%0x20,_0xe612c9[(_0x552791+0x40>>>0x9<<0x4)+0xe]=Math[_0x360209(0x177)](_0x5512d8/0x100000000),_0xe612c9[(_0x552791+0x40>>>0x9<<0x4)+0xf]=_0x5512d8,_0x57c3e3['sigBytes']=_0xe612c9['length']*0x4,this[_0x360209(0x12c)](),this[_0x360209(0x14f)];},'clone':function(){var _0x5419ba=_0x4cc964,_0x1377f4=_0xd2a5fd['clone']['call'](this);return _0x1377f4[_0x5419ba(0x14f)]=this[_0x5419ba(0x14f)][_0x5419ba(0x168)](),_0x1377f4;}});_0x223e45[_0x4cc964(0x27d)]=_0xd2a5fd[_0x4cc964(0x3a9)](_0x1983fd),_0x223e45[_0x4cc964(0x16e)]=_0xd2a5fd['_createHmacHelper'](_0x1983fd);}()),_0x4b0271['SHA1'];}));}(qe)),qe[_0x4ee1a2(0x1c9)];}var ze={'exports':{}},kr=ze[_0x3fc0d2(0x1c9)],ii;function jr(){return ii||(ii=0x1,function(_0x27595b,_0x413b82){(function(_0x9f1db3,_0x10764f){_0x27595b['exports']=_0x10764f(ne());}(kr,function(_0x319132){(function(){var _0x58980d=_0x3335,_0x763379=_0x319132,_0x5d856b=_0x763379['lib'],_0x42bb24=_0x5d856b['Base'],_0x39ee40=_0x763379[_0x58980d(0x372)],_0x51d6fd=_0x39ee40[_0x58980d(0x264)],_0x25baec=_0x763379[_0x58980d(0x120)];_0x25baec[_0x58980d(0x1a3)]=_0x42bb24['extend']({'init':function(_0x15a942,_0x4c30a9){var _0x3c7356=_0x58980d;_0x15a942=this[_0x3c7356(0x23a)]=new _0x15a942['init'](),typeof _0x4c30a9==_0x3c7356(0x28f)&&(_0x4c30a9=_0x51d6fd[_0x3c7356(0x147)](_0x4c30a9));var _0x332402=_0x15a942[_0x3c7356(0x3a5)],_0x4d14bf=_0x332402*0x4;_0x4c30a9['sigBytes']>_0x4d14bf&&(_0x4c30a9=_0x15a942['finalize'](_0x4c30a9)),_0x4c30a9[_0x3c7356(0x271)]();for(var _0x343fa1=this['_oKey']=_0x4c30a9[_0x3c7356(0x168)](),_0x1564bf=this['_iKey']=_0x4c30a9['clone'](),_0x167829=_0x343fa1[_0x3c7356(0x142)],_0x14c454=_0x1564bf[_0x3c7356(0x142)],_0x45ceb9=0x0;_0x45ceb9<_0x332402;_0x45ceb9++)_0x167829[_0x45ceb9]^=0x5c5c5c5c,_0x14c454[_0x45ceb9]^=0x36363636;_0x343fa1[_0x3c7356(0x186)]=_0x1564bf[_0x3c7356(0x186)]=_0x4d14bf,this[_0x3c7356(0x15e)]();},'reset':function(){var _0x149054=_0x58980d,_0x4e398b=this[_0x149054(0x23a)];_0x4e398b[_0x149054(0x15e)](),_0x4e398b[_0x149054(0x1d0)](this[_0x149054(0x29c)]);},'update':function(_0x160942){var _0x26f7f0=_0x58980d;return this[_0x26f7f0(0x23a)][_0x26f7f0(0x1d0)](_0x160942),this;},'finalize':function(_0x1cf466){var _0xc72c9b=_0x58980d,_0x30b032=this[_0xc72c9b(0x23a)],_0x18c5d5=_0x30b032[_0xc72c9b(0x3c1)](_0x1cf466);_0x30b032[_0xc72c9b(0x15e)]();var _0x36822b=_0x30b032[_0xc72c9b(0x3c1)](this[_0xc72c9b(0x282)][_0xc72c9b(0x168)]()[_0xc72c9b(0x235)](_0x18c5d5));return _0x36822b;}});}());}));}(ze)),ze['exports'];}var Br=Ye[_0x3fc0d2(0x1c9)],ni;function Ui(){var _0x5af109=_0x3fc0d2;return ni||(ni=0x1,function(_0x432222,_0xc35a01){(function(_0x4df22e,_0x351b56,_0x33627c){var _0x4380f1=_0x3335;_0x432222[_0x4380f1(0x1c9)]=_0x351b56(ne(),Hr(),jr());}(Br,function(_0x4f9ad9){return(function(){var _0x397fbc=_0x3335,_0x5829ac=_0x4f9ad9,_0x42310e=_0x5829ac[_0x397fbc(0x2b6)],_0xd3d97e=_0x42310e['Base'],_0x42f914=_0x42310e['WordArray'],_0x2279d5=_0x5829ac[_0x397fbc(0x120)],_0x307aa7=_0x2279d5[_0x397fbc(0x303)],_0x129a68=_0x2279d5[_0x397fbc(0x178)]=_0xd3d97e[_0x397fbc(0x20b)]({'cfg':_0xd3d97e[_0x397fbc(0x20b)]({'keySize':0x80/0x20,'hasher':_0x307aa7,'iterations':0x1}),'init':function(_0x436ac5){var _0x3958c2=_0x397fbc;this[_0x3958c2(0x313)]=this['cfg'][_0x3958c2(0x20b)](_0x436ac5);},'compute':function(_0x1ca617,_0x5d5157){var _0x11da2d=_0x397fbc;for(var _0x54cd19,_0x466e7c=this['cfg'],_0x57313b=_0x466e7c[_0x11da2d(0x2e4)]['create'](),_0x336909=_0x42f914['create'](),_0x22886f=_0x336909['words'],_0x8e4719=_0x466e7c[_0x11da2d(0x25c)],_0x1ae4e6=_0x466e7c[_0x11da2d(0x2a2)];_0x22886f[_0x11da2d(0x2ee)]<_0x8e4719;){_0x54cd19&&_0x57313b['update'](_0x54cd19),_0x54cd19=_0x57313b[_0x11da2d(0x1d0)](_0x1ca617)['finalize'](_0x5d5157),_0x57313b[_0x11da2d(0x15e)]();for(var _0x5ac10b=0x1;_0x5ac10b<_0x1ae4e6;_0x5ac10b++)_0x54cd19=_0x57313b[_0x11da2d(0x3c1)](_0x54cd19),_0x57313b['reset']();_0x336909[_0x11da2d(0x235)](_0x54cd19);}return _0x336909[_0x11da2d(0x186)]=_0x8e4719*0x4,_0x336909;}});_0x5829ac[_0x397fbc(0x178)]=function(_0x647e40,_0x5d3093,_0x3a28ab){var _0x32e700=_0x397fbc;return _0x129a68[_0x32e700(0x307)](_0x3a28ab)[_0x32e700(0x305)](_0x647e40,_0x5d3093);};}()),_0x4f9ad9['EvpKDF'];}));}(Ye)),Ye[_0x5af109(0x1c9)];}var Je={'exports':{}},Fr=Je[_0x3fc0d2(0x1c9)],ri;function Ai(){return ri||(ri=0x1,function(_0x5200ea,_0x112459){(function(_0x330172,_0x450f94,_0xa76c4a){var _0x45876c=_0x3335;_0x5200ea[_0x45876c(0x1c9)]=_0x450f94(ne(),Ui());}(Fr,function(_0x41b05e){var _0x47bd3f=_0x3335;_0x41b05e[_0x47bd3f(0x2b6)][_0x47bd3f(0x112)]||function(_0x166335){var _0x99100b=_0x47bd3f,_0x447353=_0x41b05e,_0x121ae4=_0x447353[_0x99100b(0x2b6)],_0x99ed82=_0x121ae4['Base'],_0x298ce2=_0x121ae4['WordArray'],_0x17b8f0=_0x121ae4['BufferedBlockAlgorithm'],_0x5b49d6=_0x447353[_0x99100b(0x372)];_0x5b49d6['Utf8'];var _0x254bcd=_0x5b49d6[_0x99100b(0x1ed)],_0x1a888f=_0x447353['algo'],_0x584d05=_0x1a888f[_0x99100b(0x178)],_0xac7295=_0x121ae4[_0x99100b(0x112)]=_0x17b8f0['extend']({'cfg':_0x99ed82[_0x99100b(0x20b)](),'createEncryptor':function(_0x1c350c,_0x303f42){var _0x3ebed0=_0x99100b;return this[_0x3ebed0(0x307)](this['_ENC_XFORM_MODE'],_0x1c350c,_0x303f42);},'createDecryptor':function(_0x1e0133,_0x51906c){var _0x169d81=_0x99100b;return this[_0x169d81(0x307)](this['_DEC_XFORM_MODE'],_0x1e0133,_0x51906c);},'init':function(_0x185469,_0x309e6e,_0x226d7f){var _0xb92627=_0x99100b;this[_0xb92627(0x313)]=this['cfg'][_0xb92627(0x20b)](_0x226d7f),this[_0xb92627(0x387)]=_0x185469,this[_0xb92627(0x164)]=_0x309e6e,this[_0xb92627(0x15e)]();},'reset':function(){var _0x4168b3=_0x99100b;_0x17b8f0['reset'][_0x4168b3(0x130)](this),this[_0x4168b3(0x136)]();},'process':function(_0x2d08a8){var _0x36f2d5=_0x99100b;return this[_0x36f2d5(0x20f)](_0x2d08a8),this[_0x36f2d5(0x12c)]();},'finalize':function(_0x3b00c7){var _0x537da1=_0x99100b;_0x3b00c7&&this['_append'](_0x3b00c7);var _0x391228=this[_0x537da1(0x3c8)]();return _0x391228;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x47da41(_0x44a6b0){var _0xcd40d7=_0x3335;return typeof _0x44a6b0==_0xcd40d7(0x28f)?_0x371c34:_0x532ca5;}return function(_0x1db053){return{'encrypt':function(_0x24892d,_0x3efaa6,_0x506b50){return _0x47da41(_0x3efaa6)['encrypt'](_0x1db053,_0x24892d,_0x3efaa6,_0x506b50);},'decrypt':function(_0x515473,_0x23fe75,_0x5ce817){var _0x2b82cb=_0x3335;return _0x47da41(_0x23fe75)[_0x2b82cb(0x253)](_0x1db053,_0x515473,_0x23fe75,_0x5ce817);}};};}())});_0x121ae4[_0x99100b(0x3e5)]=_0xac7295[_0x99100b(0x20b)]({'_doFinalize':function(){var _0x4e3edd=_0x99100b,_0x9ffe80=this[_0x4e3edd(0x12c)](!0x0);return _0x9ffe80;},'blockSize':0x1});var _0x2b7bf7=_0x447353[_0x99100b(0x13a)]={},_0x5753a6=_0x121ae4[_0x99100b(0x189)]=_0x99ed82['extend']({'createEncryptor':function(_0x4ddd4d,_0x53fa92){var _0x3b395a=_0x99100b;return this[_0x3b395a(0x35a)][_0x3b395a(0x307)](_0x4ddd4d,_0x53fa92);},'createDecryptor':function(_0x2f2ecf,_0xbcd4e5){var _0x19d9fb=_0x99100b;return this[_0x19d9fb(0x17d)][_0x19d9fb(0x307)](_0x2f2ecf,_0xbcd4e5);},'init':function(_0x1a904b,_0x5ec428){var _0x484ca7=_0x99100b;this['_cipher']=_0x1a904b,this[_0x484ca7(0x1b7)]=_0x5ec428;}}),_0x2a3835=_0x2b7bf7[_0x99100b(0x3de)]=(function(){var _0x2a3702=_0x99100b,_0x4d9747=_0x5753a6[_0x2a3702(0x20b)]();_0x4d9747[_0x2a3702(0x35a)]=_0x4d9747['extend']({'processBlock':function(_0x3e2983,_0x105539){var _0x39a936=_0x2a3702,_0x287f2e=this[_0x39a936(0x371)],_0x187a47=_0x287f2e[_0x39a936(0x3a5)];_0x1e8e97[_0x39a936(0x130)](this,_0x3e2983,_0x105539,_0x187a47),_0x287f2e[_0x39a936(0x1fa)](_0x3e2983,_0x105539),this[_0x39a936(0x34e)]=_0x3e2983['slice'](_0x105539,_0x105539+_0x187a47);}}),_0x4d9747[_0x2a3702(0x17d)]=_0x4d9747[_0x2a3702(0x20b)]({'processBlock':function(_0x4bea3d,_0x3217db){var _0x562c7c=_0x2a3702,_0x1e084a=this[_0x562c7c(0x371)],_0x4d68fb=_0x1e084a[_0x562c7c(0x3a5)],_0x37be91=_0x4bea3d[_0x562c7c(0x38e)](_0x3217db,_0x3217db+_0x4d68fb);_0x1e084a['decryptBlock'](_0x4bea3d,_0x3217db),_0x1e8e97[_0x562c7c(0x130)](this,_0x4bea3d,_0x3217db,_0x4d68fb),this[_0x562c7c(0x34e)]=_0x37be91;}});function _0x1e8e97(_0x540c78,_0x320030,_0xa9ce01){var _0x151361=_0x2a3702,_0x498d02,_0x1f007c=this['_iv'];_0x1f007c?(_0x498d02=_0x1f007c,this[_0x151361(0x1b7)]=_0x166335):_0x498d02=this[_0x151361(0x34e)];for(var _0x9c4f93=0x0;_0x9c4f93<_0xa9ce01;_0x9c4f93++)_0x540c78[_0x320030+_0x9c4f93]^=_0x498d02[_0x9c4f93];}return _0x4d9747;}()),_0x26a8a5=_0x447353['pad']={},_0x1f4fdb=_0x26a8a5[_0x99100b(0x3f7)]={'pad':function(_0x4d2263,_0x3bc44c){var _0x5d8849=_0x99100b;for(var _0x3f527b=_0x3bc44c*0x4,_0x414d7b=_0x3f527b-_0x4d2263['sigBytes']%_0x3f527b,_0x155baf=_0x414d7b<<0x18|_0x414d7b<<0x10|_0x414d7b<<0x8|_0x414d7b,_0x7182a4=[],_0x210573=0x0;_0x210573<_0x414d7b;_0x210573+=0x4)_0x7182a4[_0x5d8849(0x1ba)](_0x155baf);var _0x4efb15=_0x298ce2[_0x5d8849(0x307)](_0x7182a4,_0x414d7b);_0x4d2263[_0x5d8849(0x235)](_0x4efb15);},'unpad':function(_0x1455ba){var _0x473caf=_0x99100b,_0x57b3b0=_0x1455ba[_0x473caf(0x142)][_0x1455ba[_0x473caf(0x186)]-0x1>>>0x2]&0xff;_0x1455ba[_0x473caf(0x186)]-=_0x57b3b0;}};_0x121ae4['BlockCipher']=_0xac7295[_0x99100b(0x20b)]({'cfg':_0xac7295['cfg'][_0x99100b(0x20b)]({'mode':_0x2a3835,'padding':_0x1f4fdb}),'reset':function(){var _0x34ab4e=_0x99100b,_0x59a26a;_0xac7295[_0x34ab4e(0x15e)][_0x34ab4e(0x130)](this);var _0xf753b0=this[_0x34ab4e(0x313)],_0x447494=_0xf753b0['iv'],_0x58e816=_0xf753b0['mode'];this[_0x34ab4e(0x387)]==this[_0x34ab4e(0x2d0)]?_0x59a26a=_0x58e816[_0x34ab4e(0x210)]:(_0x59a26a=_0x58e816[_0x34ab4e(0x276)],this['_minBufferSize']=0x1),this[_0x34ab4e(0x199)]&&this['_mode'][_0x34ab4e(0x3fd)]==_0x59a26a?this['_mode'][_0x34ab4e(0x236)](this,_0x447494&&_0x447494[_0x34ab4e(0x142)]):(this[_0x34ab4e(0x199)]=_0x59a26a[_0x34ab4e(0x130)](_0x58e816,this,_0x447494&&_0x447494[_0x34ab4e(0x142)]),this[_0x34ab4e(0x199)][_0x34ab4e(0x3fd)]=_0x59a26a);},'_doProcessBlock':function(_0x26481f,_0x312c06){var _0x7fcbad=_0x99100b;this[_0x7fcbad(0x199)][_0x7fcbad(0x24b)](_0x26481f,_0x312c06);},'_doFinalize':function(){var _0x181496=_0x99100b,_0x5045aa,_0x1f20b2=this[_0x181496(0x313)]['padding'];return this['_xformMode']==this[_0x181496(0x2d0)]?(_0x1f20b2[_0x181496(0x36b)](this[_0x181496(0x141)],this['blockSize']),_0x5045aa=this['_process'](!0x0)):(_0x5045aa=this[_0x181496(0x12c)](!0x0),_0x1f20b2[_0x181496(0x1bb)](_0x5045aa)),_0x5045aa;},'blockSize':0x80/0x20});var _0x1d9a6a=_0x121ae4['CipherParams']=_0x99ed82[_0x99100b(0x20b)]({'init':function(_0x2e3f1d){this['mixIn'](_0x2e3f1d);},'toString':function(_0xc87fd7){return(_0xc87fd7||this['formatter'])['stringify'](this);}}),_0x4a6171=_0x447353[_0x99100b(0x39d)]={},_0x38e81c=_0x4a6171[_0x99100b(0x143)]={'stringify':function(_0x47f507){var _0x40d382=_0x99100b,_0x4d68f9,_0x1172fd=_0x47f507[_0x40d382(0x251)],_0x30a6ae=_0x47f507[_0x40d382(0x300)];return _0x30a6ae?_0x4d68f9=_0x298ce2['create']([0x53616c74,0x65645f5f])['concat'](_0x30a6ae)['concat'](_0x1172fd):_0x4d68f9=_0x1172fd,_0x4d68f9[_0x40d382(0x2f5)](_0x254bcd);},'parse':function(_0x9d4b72){var _0x4299d2=_0x99100b,_0x11ecca,_0x3e7098=_0x254bcd[_0x4299d2(0x147)](_0x9d4b72),_0x24d090=_0x3e7098['words'];return _0x24d090[0x0]==0x53616c74&&_0x24d090[0x1]==0x65645f5f&&(_0x11ecca=_0x298ce2[_0x4299d2(0x307)](_0x24d090['slice'](0x2,0x4)),_0x24d090['splice'](0x0,0x4),_0x3e7098[_0x4299d2(0x186)]-=0x10),_0x1d9a6a['create']({'ciphertext':_0x3e7098,'salt':_0x11ecca});}},_0x532ca5=_0x121ae4[_0x99100b(0x135)]=_0x99ed82['extend']({'cfg':_0x99ed82[_0x99100b(0x20b)]({'format':_0x38e81c}),'encrypt':function(_0x26ed37,_0x3a0763,_0x1fb5f7,_0x8aea14){var _0x190fa6=_0x99100b;_0x8aea14=this[_0x190fa6(0x313)][_0x190fa6(0x20b)](_0x8aea14);var _0x47b445=_0x26ed37['createEncryptor'](_0x1fb5f7,_0x8aea14),_0x21c923=_0x47b445['finalize'](_0x3a0763),_0x273bf9=_0x47b445[_0x190fa6(0x313)];return _0x1d9a6a[_0x190fa6(0x307)]({'ciphertext':_0x21c923,'key':_0x1fb5f7,'iv':_0x273bf9['iv'],'algorithm':_0x26ed37,'mode':_0x273bf9['mode'],'padding':_0x273bf9[_0x190fa6(0x155)],'blockSize':_0x26ed37[_0x190fa6(0x3a5)],'formatter':_0x8aea14['format']});},'decrypt':function(_0x3ab0a2,_0x38a8f6,_0x527e57,_0x4e963f){var _0x22d52e=_0x99100b;_0x4e963f=this['cfg'][_0x22d52e(0x20b)](_0x4e963f),_0x38a8f6=this['_parse'](_0x38a8f6,_0x4e963f[_0x22d52e(0x39d)]);var _0x4b5769=_0x3ab0a2[_0x22d52e(0x276)](_0x527e57,_0x4e963f)[_0x22d52e(0x3c1)](_0x38a8f6[_0x22d52e(0x251)]);return _0x4b5769;},'_parse':function(_0x4e3462,_0x2895cd){var _0x78efc9=_0x99100b;return typeof _0x4e3462==_0x78efc9(0x28f)?_0x2895cd[_0x78efc9(0x147)](_0x4e3462,this):_0x4e3462;}}),_0x15b4f2=_0x447353['kdf']={},_0x9f7ed2=_0x15b4f2[_0x99100b(0x143)]={'execute':function(_0x3f98fc,_0x43499c,_0x366a86,_0x33e2ab,_0x569e13){var _0x1c646b=_0x99100b;if(_0x33e2ab||(_0x33e2ab=_0x298ce2[_0x1c646b(0x2cf)](0x40/0x8)),_0x569e13)var _0x5f1c15=_0x584d05[_0x1c646b(0x307)]({'keySize':_0x43499c+_0x366a86,'hasher':_0x569e13})[_0x1c646b(0x305)](_0x3f98fc,_0x33e2ab);else var _0x5f1c15=_0x584d05['create']({'keySize':_0x43499c+_0x366a86})['compute'](_0x3f98fc,_0x33e2ab);var _0x18d6c0=_0x298ce2[_0x1c646b(0x307)](_0x5f1c15[_0x1c646b(0x142)][_0x1c646b(0x38e)](_0x43499c),_0x366a86*0x4);return _0x5f1c15[_0x1c646b(0x186)]=_0x43499c*0x4,_0x1d9a6a['create']({'key':_0x5f1c15,'iv':_0x18d6c0,'salt':_0x33e2ab});}},_0x371c34=_0x121ae4[_0x99100b(0x3d2)]=_0x532ca5['extend']({'cfg':_0x532ca5[_0x99100b(0x313)][_0x99100b(0x20b)]({'kdf':_0x9f7ed2}),'encrypt':function(_0x4d235a,_0x37b301,_0x507878,_0x3c87ee){var _0x27c74=_0x99100b;_0x3c87ee=this[_0x27c74(0x313)][_0x27c74(0x20b)](_0x3c87ee);var _0x2cef6b=_0x3c87ee[_0x27c74(0x36f)][_0x27c74(0x25b)](_0x507878,_0x4d235a[_0x27c74(0x25c)],_0x4d235a[_0x27c74(0x22a)],_0x3c87ee[_0x27c74(0x300)],_0x3c87ee[_0x27c74(0x2e4)]);_0x3c87ee['iv']=_0x2cef6b['iv'];var _0x512aa9=_0x532ca5['encrypt'][_0x27c74(0x130)](this,_0x4d235a,_0x37b301,_0x2cef6b['key'],_0x3c87ee);return _0x512aa9['mixIn'](_0x2cef6b),_0x512aa9;},'decrypt':function(_0x32fa66,_0x285636,_0x3f3ca1,_0x336410){var _0x2e4ab9=_0x99100b;_0x336410=this[_0x2e4ab9(0x313)]['extend'](_0x336410),_0x285636=this['_parse'](_0x285636,_0x336410[_0x2e4ab9(0x39d)]);var _0x38c559=_0x336410[_0x2e4ab9(0x36f)]['execute'](_0x3f3ca1,_0x32fa66['keySize'],_0x32fa66[_0x2e4ab9(0x22a)],_0x285636[_0x2e4ab9(0x300)],_0x336410[_0x2e4ab9(0x2e4)]);_0x336410['iv']=_0x38c559['iv'];var _0x261125=_0x532ca5['decrypt'][_0x2e4ab9(0x130)](this,_0x32fa66,_0x285636,_0x38c559['key'],_0x336410);return _0x261125;}});}();}));}(Je)),Je['exports'];}var Vr=Ve[_0x3fc0d2(0x1c9)],si;function Gr(){var _0x3168c6=_0x3fc0d2;return si||(si=0x1,function(_0x544b2e,_0x821351){(function(_0x2ffed2,_0x4b7d0b,_0x29b30c){var _0x28b658=_0x3335;_0x544b2e[_0x28b658(0x1c9)]=_0x4b7d0b(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0xa0a295){var _0x46fa03=_0x3335;return(function(){var _0x29142f=_0x3335,_0x152922=_0xa0a295,_0x56ad84=_0x152922['lib'],_0x3b9c26=_0x56ad84[_0x29142f(0x3ba)],_0x3003c6=_0x152922[_0x29142f(0x120)],_0x59e017=[],_0x148d39=[],_0x581e64=[],_0x577834=[],_0x53282e=[],_0x678958=[],_0xe244ed=[],_0x35b90f=[],_0x3ab42a=[],_0x4cd78d=[];(function(){for(var _0x1c0c0a=[],_0x5f31a5=0x0;_0x5f31a5<0x100;_0x5f31a5++)_0x5f31a5<0x80?_0x1c0c0a[_0x5f31a5]=_0x5f31a5<<0x1:_0x1c0c0a[_0x5f31a5]=_0x5f31a5<<0x1^0x11b;for(var _0xe83a80=0x0,_0x1cee49=0x0,_0x5f31a5=0x0;_0x5f31a5<0x100;_0x5f31a5++){var _0x5a396c=_0x1cee49^_0x1cee49<<0x1^_0x1cee49<<0x2^_0x1cee49<<0x3^_0x1cee49<<0x4;_0x5a396c=_0x5a396c>>>0x8^_0x5a396c&0xff^0x63,_0x59e017[_0xe83a80]=_0x5a396c,_0x148d39[_0x5a396c]=_0xe83a80;var _0x3d5efa=_0x1c0c0a[_0xe83a80],_0x50af66=_0x1c0c0a[_0x3d5efa],_0x25191b=_0x1c0c0a[_0x50af66],_0x3c2134=_0x1c0c0a[_0x5a396c]*0x101^_0x5a396c*0x1010100;_0x581e64[_0xe83a80]=_0x3c2134<<0x18|_0x3c2134>>>0x8,_0x577834[_0xe83a80]=_0x3c2134<<0x10|_0x3c2134>>>0x10,_0x53282e[_0xe83a80]=_0x3c2134<<0x8|_0x3c2134>>>0x18,_0x678958[_0xe83a80]=_0x3c2134;var _0x3c2134=_0x25191b*0x1010101^_0x50af66*0x10001^_0x3d5efa*0x101^_0xe83a80*0x1010100;_0xe244ed[_0x5a396c]=_0x3c2134<<0x18|_0x3c2134>>>0x8,_0x35b90f[_0x5a396c]=_0x3c2134<<0x10|_0x3c2134>>>0x10,_0x3ab42a[_0x5a396c]=_0x3c2134<<0x8|_0x3c2134>>>0x18,_0x4cd78d[_0x5a396c]=_0x3c2134,_0xe83a80?(_0xe83a80=_0x3d5efa^_0x1c0c0a[_0x1c0c0a[_0x1c0c0a[_0x25191b^_0x3d5efa]]],_0x1cee49^=_0x1c0c0a[_0x1c0c0a[_0x1cee49]]):_0xe83a80=_0x1cee49=0x1;}}());var _0x56d7f3=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x136d46=_0x3003c6[_0x29142f(0x24a)]=_0x3b9c26['extend']({'_doReset':function(){var _0x338345=_0x29142f,_0x2d70c3;if(!(this[_0x338345(0x1d7)]&&this[_0x338345(0x20e)]===this[_0x338345(0x164)])){for(var _0x5ed048=this[_0x338345(0x20e)]=this['_key'],_0x303243=_0x5ed048[_0x338345(0x142)],_0x2c7b0c=_0x5ed048[_0x338345(0x186)]/0x4,_0x57db6f=this[_0x338345(0x1d7)]=_0x2c7b0c+0x6,_0x682598=(_0x57db6f+0x1)*0x4,_0x5f37da=this[_0x338345(0x1de)]=[],_0x575099=0x0;_0x575099<_0x682598;_0x575099++)_0x575099<_0x2c7b0c?_0x5f37da[_0x575099]=_0x303243[_0x575099]:(_0x2d70c3=_0x5f37da[_0x575099-0x1],_0x575099%_0x2c7b0c?_0x2c7b0c>0x6&&_0x575099%_0x2c7b0c==0x4&&(_0x2d70c3=_0x59e017[_0x2d70c3>>>0x18]<<0x18|_0x59e017[_0x2d70c3>>>0x10&0xff]<<0x10|_0x59e017[_0x2d70c3>>>0x8&0xff]<<0x8|_0x59e017[_0x2d70c3&0xff]):(_0x2d70c3=_0x2d70c3<<0x8|_0x2d70c3>>>0x18,_0x2d70c3=_0x59e017[_0x2d70c3>>>0x18]<<0x18|_0x59e017[_0x2d70c3>>>0x10&0xff]<<0x10|_0x59e017[_0x2d70c3>>>0x8&0xff]<<0x8|_0x59e017[_0x2d70c3&0xff],_0x2d70c3^=_0x56d7f3[_0x575099/_0x2c7b0c|0x0]<<0x18),_0x5f37da[_0x575099]=_0x5f37da[_0x575099-_0x2c7b0c]^_0x2d70c3);for(var _0x6c5ef7=this[_0x338345(0x312)]=[],_0xabe77a=0x0;_0xabe77a<_0x682598;_0xabe77a++){var _0x575099=_0x682598-_0xabe77a;if(_0xabe77a%0x4)var _0x2d70c3=_0x5f37da[_0x575099];else var _0x2d70c3=_0x5f37da[_0x575099-0x4];_0xabe77a<0x4||_0x575099<=0x4?_0x6c5ef7[_0xabe77a]=_0x2d70c3:_0x6c5ef7[_0xabe77a]=_0xe244ed[_0x59e017[_0x2d70c3>>>0x18]]^_0x35b90f[_0x59e017[_0x2d70c3>>>0x10&0xff]]^_0x3ab42a[_0x59e017[_0x2d70c3>>>0x8&0xff]]^_0x4cd78d[_0x59e017[_0x2d70c3&0xff]];}}},'encryptBlock':function(_0x10ede5,_0x338324){this['_doCryptBlock'](_0x10ede5,_0x338324,this['_keySchedule'],_0x581e64,_0x577834,_0x53282e,_0x678958,_0x59e017);},'decryptBlock':function(_0x4b9389,_0x370aeb){var _0x3f7cb8=_0x29142f,_0x1835b8=_0x4b9389[_0x370aeb+0x1];_0x4b9389[_0x370aeb+0x1]=_0x4b9389[_0x370aeb+0x3],_0x4b9389[_0x370aeb+0x3]=_0x1835b8,this[_0x3f7cb8(0x398)](_0x4b9389,_0x370aeb,this[_0x3f7cb8(0x312)],_0xe244ed,_0x35b90f,_0x3ab42a,_0x4cd78d,_0x148d39);var _0x1835b8=_0x4b9389[_0x370aeb+0x1];_0x4b9389[_0x370aeb+0x1]=_0x4b9389[_0x370aeb+0x3],_0x4b9389[_0x370aeb+0x3]=_0x1835b8;},'_doCryptBlock':function(_0x3c1836,_0x20f331,_0x30631c,_0x569237,_0x5af26e,_0x39a18d,_0x240d3f,_0x33937a){var _0x1de4c3=_0x29142f;for(var _0x160a6f=this[_0x1de4c3(0x1d7)],_0x3a2a1e=_0x3c1836[_0x20f331]^_0x30631c[0x0],_0x56eaac=_0x3c1836[_0x20f331+0x1]^_0x30631c[0x1],_0x45205f=_0x3c1836[_0x20f331+0x2]^_0x30631c[0x2],_0x3dda1b=_0x3c1836[_0x20f331+0x3]^_0x30631c[0x3],_0x537bc4=0x4,_0x2938ae=0x1;_0x2938ae<_0x160a6f;_0x2938ae++){var _0x5ec0d6=_0x569237[_0x3a2a1e>>>0x18]^_0x5af26e[_0x56eaac>>>0x10&0xff]^_0x39a18d[_0x45205f>>>0x8&0xff]^_0x240d3f[_0x3dda1b&0xff]^_0x30631c[_0x537bc4++],_0x304d28=_0x569237[_0x56eaac>>>0x18]^_0x5af26e[_0x45205f>>>0x10&0xff]^_0x39a18d[_0x3dda1b>>>0x8&0xff]^_0x240d3f[_0x3a2a1e&0xff]^_0x30631c[_0x537bc4++],_0x2238f6=_0x569237[_0x45205f>>>0x18]^_0x5af26e[_0x3dda1b>>>0x10&0xff]^_0x39a18d[_0x3a2a1e>>>0x8&0xff]^_0x240d3f[_0x56eaac&0xff]^_0x30631c[_0x537bc4++],_0x21facd=_0x569237[_0x3dda1b>>>0x18]^_0x5af26e[_0x3a2a1e>>>0x10&0xff]^_0x39a18d[_0x56eaac>>>0x8&0xff]^_0x240d3f[_0x45205f&0xff]^_0x30631c[_0x537bc4++];_0x3a2a1e=_0x5ec0d6,_0x56eaac=_0x304d28,_0x45205f=_0x2238f6,_0x3dda1b=_0x21facd;}var _0x5ec0d6=(_0x33937a[_0x3a2a1e>>>0x18]<<0x18|_0x33937a[_0x56eaac>>>0x10&0xff]<<0x10|_0x33937a[_0x45205f>>>0x8&0xff]<<0x8|_0x33937a[_0x3dda1b&0xff])^_0x30631c[_0x537bc4++],_0x304d28=(_0x33937a[_0x56eaac>>>0x18]<<0x18|_0x33937a[_0x45205f>>>0x10&0xff]<<0x10|_0x33937a[_0x3dda1b>>>0x8&0xff]<<0x8|_0x33937a[_0x3a2a1e&0xff])^_0x30631c[_0x537bc4++],_0x2238f6=(_0x33937a[_0x45205f>>>0x18]<<0x18|_0x33937a[_0x3dda1b>>>0x10&0xff]<<0x10|_0x33937a[_0x3a2a1e>>>0x8&0xff]<<0x8|_0x33937a[_0x56eaac&0xff])^_0x30631c[_0x537bc4++],_0x21facd=(_0x33937a[_0x3dda1b>>>0x18]<<0x18|_0x33937a[_0x3a2a1e>>>0x10&0xff]<<0x10|_0x33937a[_0x56eaac>>>0x8&0xff]<<0x8|_0x33937a[_0x45205f&0xff])^_0x30631c[_0x537bc4++];_0x3c1836[_0x20f331]=_0x5ec0d6,_0x3c1836[_0x20f331+0x1]=_0x304d28,_0x3c1836[_0x20f331+0x2]=_0x2238f6,_0x3c1836[_0x20f331+0x3]=_0x21facd;},'keySize':0x100/0x20});_0x152922[_0x29142f(0x24a)]=_0x3b9c26[_0x29142f(0x3a9)](_0x136d46);}()),_0xa0a295[_0x46fa03(0x24a)];}));}(Ve)),Ve[_0x3168c6(0x1c9)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x3fc0d2(0x1c9)],ai;function zr(){var _0x13e8b7=_0x3fc0d2;return ai||(ai=0x1,function(_0x51e404,_0x4cb62a){(function(_0x23e3e9,_0x14c88f){var _0x15d516=_0x3335;_0x51e404[_0x15d516(0x1c9)]=_0x14c88f(ne());}(qr,function(_0x467df4){var _0x547f8f=_0x3335;return _0x467df4[_0x547f8f(0x372)]['Utf8'];}));}(Xe)),Xe[_0x13e8b7(0x1c9)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze['exports'],ci;function Qr(){var _0x186360=_0x3fc0d2;return ci||(ci=0x1,function(_0x226d06,_0x59a47){(function(_0x2224cb,_0x57061d){var _0x5cd531=_0x3335;_0x226d06[_0x5cd531(0x1c9)]=_0x57061d(ne());}(Zr,function(_0x4cc9ca){var _0x2cbfbc=_0x3335;return(function(){var _0x52751d=_0x3335;if(typeof ArrayBuffer=='function'){var _0x382b3e=_0x4cc9ca,_0x41c7a8=_0x382b3e[_0x52751d(0x2b6)],_0x20c1a3=_0x41c7a8[_0x52751d(0x3b4)],_0x5a88e9=_0x20c1a3[_0x52751d(0x236)],_0x50331a=_0x20c1a3[_0x52751d(0x236)]=function(_0x26222f){var _0x508df6=_0x52751d;if(_0x26222f instanceof ArrayBuffer&&(_0x26222f=new Uint8Array(_0x26222f)),(_0x26222f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x26222f instanceof Uint8ClampedArray||_0x26222f instanceof Int16Array||_0x26222f instanceof Uint16Array||_0x26222f instanceof Int32Array||_0x26222f instanceof Uint32Array||_0x26222f instanceof Float32Array||_0x26222f instanceof Float64Array)&&(_0x26222f=new Uint8Array(_0x26222f['buffer'],_0x26222f['byteOffset'],_0x26222f['byteLength'])),_0x26222f instanceof Uint8Array){for(var _0x5cd87c=_0x26222f[_0x508df6(0x19b)],_0x4e1b83=[],_0x56c19d=0x0;_0x56c19d<_0x5cd87c;_0x56c19d++)_0x4e1b83[_0x56c19d>>>0x2]|=_0x26222f[_0x56c19d]<<0x18-_0x56c19d%0x4*0x8;_0x5a88e9['call'](this,_0x4e1b83,_0x5cd87c);}else _0x5a88e9[_0x508df6(0x324)](this,arguments);};_0x50331a[_0x52751d(0x24f)]=_0x20c1a3;}}()),_0x4cc9ca[_0x2cbfbc(0x2b6)][_0x2cbfbc(0x3b4)];}));}(Ze)),Ze[_0x186360(0x1c9)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x3fc0d2(0x1c9)],hi;function ns(){var _0x246c73=_0x3fc0d2;return hi||(hi=0x1,function(_0x2ddc5e,_0x24d88e){(function(_0x42ec8e,_0x3a0902,_0xbc4fdd){var _0x3a5404=_0x3335;_0x2ddc5e[_0x3a5404(0x1c9)]=_0x3a0902(ne(),Ai());}(is,function(_0x4bc214){var _0x5c79c0=_0x3335;return _0x4bc214[_0x5c79c0(0x36b)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x4bc214[_0x5c79c0(0x36b)]['NoPadding'];}));}(Qe)),Qe[_0x246c73(0x1c9)];}var rs=ns();const ss=ke(rs);function os(_0x190831,_0x2bd6f5){var _0x6f02a2=_0x3fc0d2;const _0x54ac16=_0x2bd6f5-_0x190831['length']%_0x2bd6f5,_0x1463f9=String[_0x6f02a2(0x31e)](_0x54ac16)[_0x6f02a2(0x364)](_0x54ac16);return _0x190831+_0x1463f9;}function _0x3d56(){var _0xbdb131=['APPLY_REJECT','_iKey','incrementRevOfUnit','_roomMembers','append','_handler','UNIVER_UNKNOWN','iterations','_getRedoStack','enableOfflineEditing','_toggleOnline','onStateChange','ws://127.0.0.1:8000/universer-api/comb/connect','requestParams','has','/universer-api/snapshot/','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','getDeserializedSheetBlock','pauseCollaboration','getCollabEntity','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','SUBMIT_CHANGESET','setShowComponents','uploadFileServerUrl','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','UnitEmbedded','_changesetSessionId','lib','entityInit$','JOIN_ROOM_NOT_EXISTS','crypto','/object/','/unit/','image/gif','Malformed\x20UTF-8\x20data','onMissingChangesets','resend','_undoStacks','event$','_scheduleCollaborationTimeoutTimer','LIVESHARE_NEW_HOST','16eJVIqv','_decreaseWaiting','_transformRemoteChangesetByStateCache','/universer-api/uniscript','SNAPSHOT_SERVER_URL_KEY','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','APPLY_PERMISSION_DENIED','PENDING','_replayCachedMutations','ENSURE_SNAPSHOT_EXECUTION','stopTime','random','_ENC_XFORM_MODE','CHANGESET_SHOULD_RETRY','size','_checkMissing','_onOffline','toggleOnline','_initUnitPermissionChange','Undefined','onSyncEditingCollabCursor','_reverseMap','[CollaborationEntity]','get','fetch_missing','substr','AWAITING_WITH_PENDING','_loadDoc','&source=','changesets','workbook','listCollaborators','hasher','/collaborator','getTypeOfUnitAdded$','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','reqId','map','unsubscribe','setWaitCount','getAllMembers','image/bmp','length','_map','charAt','onRemoteChangeset','enableSingleActiveInstanceLock','HEARTBEAT_TIMEOUT','[CollaborationSessionService]:\x20socket\x20error','toString','onMissedChangesetFetched','_socket$','_getLoginPath','equals','error$','_updateState','_substituteRedoStack','getCurrentSelections','_substituteUndoStack','downloadEndpointUrl','salt','disposeWithMe','getFocusedUnit','MD5','/universer-api/stream/file/upload','compute','send','create','msCrypto','createSocket','set','_createHmacHelper','_queuedRemoteChangesets','min','_onConflict','INGEST','_onJoinRoomEvent','mixIn','_invKeySchedule','cfg','getOwnPropertyDescriptor','[FetchMissState]','237208HIXgEC','_lockTransition','_pendingMutations','_config','[CollaborationSessionService]','_createInitialState','ERROR_EXCEED_SIZE','getValue','fromCharCode','indexOf','liveShareNewHost','open$','Base','/-/object/list','apply','auth.needGotoLoginAlert','resolve','_telemetryService','_transformStateCache','/universer-api/file/{fileID}/sign-url','_onRecvEvent','BufferedBlockAlgorithm','SNAPSHOT_URL_KEY','_getAPIPrefix','charCodeAt','objectActions','_transformService','wsSessionTicketUrl','editingUnit','permissionRejEvent','updateOfflineData','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','code','[DataLoaderService]','leaveEvent','isPermissionRej','collaborators','JOINING','_rescheduleHeartbeat','_transformUndoredo','[SyncedState]:\x20received\x20acknowledgement.','HttpExport','failed\x20to\x20apply\x20missed\x20changesets!','session.room-cnt-exceeds','_transitionLocked','toLowerCase','_onCombEvent','localeService','_localCacheService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','pipe','interceptor','_acknowledgedAwaitingChangeset','_collaborationPaused','runId','put','_prevBlock','YUUMI_UNABLE_LOAD_URL','_members','fetchMiss','COMPRESS_MUTATION_APPLY','getCurrentUser','createInstance','objectType','getCurrentRevOfUnit','asObservable','registerHTTPInterceptor','_fetchMissChangesets','Encryptor','_snapshotService','abs','objectID','updateMember','LIVESHARE_REQUEST_HOST','_collabSessionService','LIVESHARE_FETCH_OPERATIONS','save\x20fail\x20reason\x20is\x20','onTransformState','repeat','_syncEditingCollabCursor','_transformIMECache','_shouldReportTelemetry','Hex','_isPermissionRej','_initDependencies','pad','randomUUID','USERS_LEAVE','_members$','kdf','rev','_cipher','enc','collaboratorID','reduce','HEARTBEAT','CHANGESET_ACK','socket\x20close','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','objects','&assign=','transformMutationsWithChangeset','_onConnectionFailed','univer-pro.collaboration-client.single-active-unit-service','INTERNAL_ERROR','_collaborationSessionService','copyFileMeta','_listenToNetworkCondition','[CollaborationUndoRedoService]','UNAUTHENTICATED','now','transformChangesets','_createHandler','_xformMode','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','list','updatePermissionPoint','onTransformRemoteChangesetByStateCache','updatePermissionObjEvent','{fileID}','slice','members$','_onUserJoin','baseRev','function','FETCH_MISSING','_resendTimeout','ERROR_IMAGE_TYPE','OTHER_CLIENTS_EDITING','addHandlerCallback','_doCryptBlock','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','location','name','format','_createSocketURL','image/png','_roomCreated$','/universer-api/oidc/authpage','HttpImport','snapshotServerUrl','/object','blockSize','_startTelemetryCollaborationNewChangeset','ERROR_IMAGE','onTransformRemoteChangesetByIMECache','_createHelper','delete','PERMISSION_REJ','saveSheetBlock','1811971VtIcHU','FileId','_applyRemoteChangeset','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','status$','/universer-api/comb','c1Prime','WordArray','_getUploadFileURL','SEND_CHANGESET_TIMEOUT','_candidateSocket','1328013hKYhBH','getRandomValues','BlockCipher','_socket','/universer-api/snapshot','SOCKET_FAILED','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_clearHeartbeatTimer','_clearRedo','finalize','_eventService','csAckEvent','NEW_CHANGESETS','ceil','HmacMD5','randomBytes','_doFinalize','getCollabEntity$','collabWebSocketUrl','subject','collaMsg','Error\x20on\x20receiving\x20event','_unlockTransition','_loadSheet','_waitCount','APPLY_DUPLICATED','PasswordBasedCipher','refreshPermission','originalMeta','onRemoteAck','COMPLETION_FINISHED','__Key__','onRemoteRej','focused$','NOT_FOUND','selections','params','_logService','CBC','_throwTelemetryCollaborationNewChangeset','getImageSourceCache','sessionStatus$','onTransformSelections','/universer-api/authz','_onUserLeave','StreamCipher','emitEvent','listRoles','Could\x20not\x20dynamically\x20require\x20\x22','_imageSourceCache','CHANGESET_REJ','_injector','_sessions','60825OehIip','online$','encodeURIComponent','actions','shouldCloseConn','session.room-not-exists','session.room-full','COMMENT_UPDATE','_entities','_commentUpdate$','Pkcs7','_clearLocalCache','RECV','debug','roles','LICENSE_EXPORT_SIZE_EXCEEDED','__creator','getConfig','COMPRESS_MUTATION_SEND','next','JOIN_ROOM_PERMISSION_DENIED','mutations','saveImage','OTHER_CLIENT_EDITING','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','IDLE','_userManagerService','LICENSE_MAX_UNITS_EXCEEDED','retryConnectingInterval','CONNECTOR_DATA_TOO_LARGE','OFFLINE','_remoteChangesetQueue','_updateStatus','Cipher','_entityInit$','requireSession','[CollaborationSession]','snapshot','liveShareOperation','_redoStacks','json','complete','JOIN_ROOM_FAILED','close$','LICENSE_DISTRO_REJECTED','UNIVER_COLLABORATION_CLIENT_PLUGIN','socket\x20open.','algo','ONLINE','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_collaborationUIEventService','onCommandExecuted','Latin1','isArray','readInt32LE','YUUMI_URL_COL_OUT_OF_RANGE','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','values','LEAVE','_process','LOGIN_URL_KEY','_createSocket','_onMessage','call','_onConnectionOpen','_tryReconnect','APPLY_REVISION_CONFILICT','unitID','SerializableCipher','_doReset','members','result','headers','mode','max','csShouldRetryEvent','roomInfos','state','_updateLocalCache','getTypeOfUnitDisposed$','_data','words','OpenSSL','data','Hasher','unknown','parse','_type','_emitMembers','fromCollab','duration','subUnitId','_awaitingChangeset','_changesetReqId','_hash','getWorkbookSelections','UPDATE_CURSOR','568692ogvprs','UPDATE_PERMISSION_OBJ','findIndex','padding','_singleActiveUnitService','state$','close','getSheetBlock','updateCollaborator','_clearTimeoutTimer','onStarting','_sendingTimer','reset','_sheetTransformSelectionsService','PSEUDO_FETCH_MISSING_RESULT','UNIVER_DOC','INVALID_ARGUMENT','UNKNOWN_CMD','_key','_replaceFileID','signUrlServerUrl','_onRemoteRetry','clone','UNIVER_SLIDE','_memberService','_getCurrentRevision','UNRECOGNIZED','MSG_FOR_ERROR','HmacSHA1','_stopTelemetryCollaborationNewChangeset','_registerDependencies','PY_RUNTIME_SCRIPT_ERROR','\x20to\x20','UnitSnapshot','_joinRoom','getTime','_socketService','floor','EvpKDF','replace','_getSessionTicket','getMember','_onRemoteACK','Decryptor','connection\x20error','startTime','catch','offline','reverse','join','SOCKET_FAILED_RETRY','routeKey','sigBytes','default','compose','BlockCipherMode','then','LICENSE_IMPORT_SIZE_EXCEEDED','collaboration_new_changeset','_executeRemoteChangeset','commentUpdate$','getUnitType','onRemoteRetry','_toggleOffline','session.room-permission-denied','deepClone','textRanges','commentUpdateEvent','loadUnit','68AeVxaC','onLocalMutation','_mode','LIVESHARE_OPERATION','byteLength','PERMISSION_DENIED','/-/object/-/batch_allowed','encode','1060540PVImdK','_localeService','[OfflineState]:\x20received\x20rejection.','message$','HMAC','unit-cache-','RETRY_CONNECTING_MAX_COUNT','_sessionStatus$','_clearCollaborationTimeoutTimer','HELLO','startsWith','memberID','FAIL','getSnapshotAPIPath','pluginName','_undoRedoService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','eventID','synced','ticket','body','CONFLICT','searchParams','getMemberID','_iv','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_submitChangeset','push','unpad','session','change$','_onLocalMutation','JOIN','setCurrentUser','UNISCRIPT_RUN','_event$','/block/','_status$','newCsEvent','_revisionService','$super','GLOBAL_ROOMS_CNT_EXCEEDS','exports','_init','_snapshotServerService','loginUrlKey','_permissionService','_startCollaboration','updateCursorEvent','update','encrypt','c2Prime','_tryEnsureSocket','executeCommand','_HTTPService','sid','_nRounds','/allowed','awaitingChangeset','getUnitId','_onRemoteChangeset','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','url','_keySchedule','closeSession','CLOSE_ROOM','_collaborationTimeoutTimer','[CollaborationState]:\x20apply\x20error!','cmd','responseType','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','status','dispose$','sessionStatus','collabSubmitChangesetUrl','transformUndoRedo','_socketMessageSubscription','conflict','Base64','userID','reject','People','reconnect','_authzIoService','_commandService','initWorkbookPermissionChange','awaiting','joinRsp','getSheetId','hasOwnProperty','_commentService','encryptBlock','find','m2Prime','range','resourceIDs','_telemetryInfo','unitId','authzUrl','_nDataBytes','post','add','_resendTimer','subscribe','pending','socket$','_getSendChangesetTimeout','UNDEFINED','extend','NOT_COLLAB','_transformRemoteChangesetByIMECache','_keyPriorReset','_append','createEncryptor','bind','x-univer-host','[OfflineState]:\x20received\x20changeset.','/new_changes','BASE64','sin','_createInitialStateImpl','csRejEvent','_disableEditing','_httpService','_retryCount','UNKNOWN_CODE','fetchMissingChangesets','clear','_state','rng','AWAITING','univer-pro.collaboration-client.network-condition.service','ALREADY_EXISTS','sheets','_doProcessBlock','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','?url=','_unitInfo$','_retryConnectingTimer','ivSize','getUnitOnRev','origin','_sender','POST','_handlerCallback','_univerInstanceService','_initMergeInterceptor','dispose','LOCAL_CACHE_INTERVAL','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','concat','init','_http','APPLY_NON_SEQUENTIAL_REVISION','LIVESHARE_TERMINATE','_hasher','_networkConditionService','_resendWithTimeout','SHOULD_CLOSE_CONN','_minBufferSize','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','appendMutation','fetchThroughInterceptors','TOO_MANY_REQUESTS','_initRequestHeader','getInterceptPoints','_state$','putCollaborators','infoRsp','\x20in\x20_schedule.','includes','AES','processBlock','error','_showConflictNotification','socketService','prototype','removeMember','ciphertext','UNIVER_SHEET','decrypt','onTransformIME','_onRemoteRejected','filter','onload','_getAPIPrefixPath','_exhaustRemoteChangesetQueue','_change$','execute','keySize','getRoom','DEFAULT_FILE_NAME','forEach','_getUndoStack','application/json','target','UNIVER_PROJECT','Utf8','/universer-api/user/session-ticket','_clearScheduledTask','_getSignURL','onCommentUpdate','OPTIONAL','href','_transformSelections','loadOfflineData','_timeoutTimer','1150656pAailE','_incrementRevisionNumber','toggleOffline','clamp','defineProperty','onlyLocal','NO_OTHER_CLIENTS_EDITING','waitForRoom$','createDecryptor','stringify','localCacheService','USERS_ENTER','[PendingState]:\x20received\x20rejection.','_getDownloadEndpointURL','getActiveSheet','SHA1','revision','_socketReady','_waitForHeartbeatResponse','_configService','_oKey','_scheduleCompleteTimestamp','onSendChangeset','\x20-\x20','_sendHeartbeatTimer','JOIN_ROOM_FULL','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','withCredentials','image/jpg','_unitID','MUTATION','SUBMIT_CHANGESET_TIMEOUT','_compressMutationService','string','Univer','enableAuthServer','_schedule','type','_sendHeartbeat','YUUMI_RATE_OVER_LIMIT','generateRandomId','_removeRoom','_initCloseConn','YUUMI_SUBSCRIPTION_NOT_FOUND','\x0aCurrent:\x20'];_0x3d56=function(){return _0xbdb131;};return _0x3d56();}function as(_0x342460,_0x24b0b7){var _0x185750=_0x3fc0d2;const _0x37d146=ts['random'](0x10),_0x189d92=os(_0x342460,0x10),_0x548a85=Kr[_0x185750(0x1d1)](Xr[_0x185750(0x147)](_0x189d92),oi[_0x185750(0x147)](_0x24b0b7),{'iv':_0x37d146,'padding':ss});return _0x37d146['concat'](_0x548a85[_0x185750(0x251)])['toString'](oi);}function cs(){var _0x5a58fc=_0x3fc0d2;const _0x395525=_0x1c7d86()[_0x5a58fc(0x3d7)];if(_0x395525){const _0x488ff4={'time':Math[_0x5a58fc(0x177)](Date[_0x5a58fc(0x384)]()/0x3e8),'domain':location['hostname']};return as(JSON['stringify'](_0x488ff4),_0x395525);}}var hs=Object['defineProperty'],_s=Object[_0x3fc0d2(0x314)],ls=(_0x7345c7,_0x2e4e5a,_0x2acb1d,_0x5cd1da)=>{var _0x120eea=_0x3fc0d2;for(var _0x58d2dc=_0x5cd1da>0x1?void 0x0:_0x5cd1da?_s(_0x2e4e5a,_0x2acb1d):_0x2e4e5a,_0x1b90ca=_0x7345c7[_0x120eea(0x2ee)]-0x1,_0x18683a;_0x1b90ca>=0x0;_0x1b90ca--)(_0x18683a=_0x7345c7[_0x1b90ca])&&(_0x58d2dc=(_0x5cd1da?_0x18683a(_0x2e4e5a,_0x2acb1d,_0x58d2dc):_0x18683a(_0x58d2dc))||_0x58d2dc);return _0x5cd1da&&_0x58d2dc&&hs(_0x2e4e5a,_0x2acb1d,_0x58d2dc),_0x58d2dc;},us=(_0x4614ab,_0x552841)=>(_0x58c294,_0x59f582)=>_0x552841(_0x58c294,_0x59f582,_0x4614ab);let ot=class{constructor(_0x5dce46){var _0x17a10b=_0x3fc0d2;this[_0x17a10b(0x21a)]=_0x5dce46,this[_0x17a10b(0x243)]();}[_0x3fc0d2(0x243)](){var _0x1e5fc9=_0x3fc0d2;this[_0x1e5fc9(0x21a)][_0x1e5fc9(0x358)]({'interceptor':(_0x488f47,_0x47910e)=>{var _0x1f2686=_0x1e5fc9;const _0x59ac27=_0x488f47[_0x1f2686(0x139)],_0x37a0c1=cs();return _0x37a0c1&&_0x59ac27['set'](_0x1f2686(0x212),_0x37a0c1),_0x47910e(_0x488f47);}});}};ot=ls([us(0x0,_0x4a0d65(_0x242e5e))],ot);var ds=Object[_0x3fc0d2(0x272)],fs=Object['getOwnPropertyDescriptor'],vs=(_0xc28ed6,_0xcd7c78,_0x3f242f,_0x2ac1e0)=>{var _0x33862e=_0x3fc0d2;for(var _0x42565d=_0x2ac1e0>0x1?void 0x0:_0x2ac1e0?fs(_0xcd7c78,_0x3f242f):_0xcd7c78,_0x3ccb28=_0xc28ed6[_0x33862e(0x2ee)]-0x1,_0x394b25;_0x3ccb28>=0x0;_0x3ccb28--)(_0x394b25=_0xc28ed6[_0x3ccb28])&&(_0x42565d=(_0x2ac1e0?_0x394b25(_0xcd7c78,_0x3f242f,_0x42565d):_0x394b25(_0x42565d))||_0x42565d);return _0x2ac1e0&&_0x42565d&&ds(_0xcd7c78,_0x3f242f,_0x42565d),_0x42565d;},mt=(_0x254c60,_0x980327)=>(_0x48f97c,_0x3c7cde)=>_0x980327(_0x48f97c,_0x3c7cde,_0x254c60);let Ot=class extends _0x2ac02b{constructor(_0x403007,_0x162974,_0x544f51){var _0x1f5b59=_0x3fc0d2;super(),N(this,_0x1f5b59(0x228),new _0x257515(null)),N(this,'unitInfo$',this[_0x1f5b59(0x228)][_0x1f5b59(0x357)]()),(this['_logService']=_0x403007,this[_0x1f5b59(0x35b)]=_0x162974,this[_0x1f5b59(0x346)]=_0x544f51);}async[_0x3fc0d2(0x196)](_0x1d45cf,_0x301c66,_0x550ec2){var _0x150e5e=_0x3fc0d2;this['_unitInfo$']['next']({'unitId':_0x1d45cf,'type':_0x301c66,'subUnitId':_0x550ec2});let _0xcc94a5=null;switch(_0x301c66){case Q[_0x150e5e(0x252)]:{_0xcc94a5=await this[_0x150e5e(0x3cf)](_0x1d45cf);break;}case Q[_0x150e5e(0x161)]:{_0xcc94a5=await this[_0x150e5e(0x2df)](_0x1d45cf);break;}default:{this[_0x150e5e(0x3dd)][_0x150e5e(0x24c)](_0x150e5e(0x337),_0x150e5e(0x3b0));break;}}return _0xcc94a5;}async['_loadSheet'](_0x5bc72e){var _0x2f9e4d=_0x3fc0d2,_0x3401c3;let _0x2f88f5=0x0;const _0x35bddb=await((_0x3401c3=this[_0x2f9e4d(0x346)])==null?void 0x0:_0x3401c3[_0x2f9e4d(0x26c)](_0x5bc72e));return _0x35bddb&&(_0x35bddb[_0x2f9e4d(0x1d9)]||_0x35bddb[_0x2f9e4d(0x402)][_0x2f9e4d(0x2ee)]!==0x0)&&(_0x2f88f5=_0x35bddb[_0x2f9e4d(0x370)]),_0x2f88f5===0x0&&this[_0x2f9e4d(0x3dd)][_0x2f9e4d(0x3fa)](_0x2f9e4d(0x337),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2f9e4d(0x35b)]['loadSheet'](_0x5bc72e,_0x2f88f5);}async[_0x3fc0d2(0x2df)](_0x28f068){var _0x3f723d=_0x3fc0d2,_0x89d31e;let _0x3be95c=0x0;const _0x69a0d9=await((_0x89d31e=this[_0x3f723d(0x346)])==null?void 0x0:_0x89d31e['loadOfflineData'](_0x28f068));return _0x69a0d9&&(_0x69a0d9['awaitingChangeset']||_0x69a0d9[_0x3f723d(0x402)][_0x3f723d(0x2ee)]!==0x0)&&(_0x3be95c=_0x69a0d9[_0x3f723d(0x370)]),_0x3be95c===0x0&&this[_0x3f723d(0x3dd)]['debug'](_0x3f723d(0x337),_0x3f723d(0x39a)),this['_snapshotService']['loadDoc'](_0x28f068,_0x3be95c);}};Ot=vs([mt(0x0,_0x5c7efb),mt(0x1,_0x4a0d65(_0x4ae372)),mt(0x2,_0x469180(J))],Ot);var ps=Object['defineProperty'],ms=Object[_0x3fc0d2(0x314)],gs=(_0x2ddc39,_0x4b4d92,_0x150c31,_0x80cfe4)=>{var _0x3dd993=_0x3fc0d2;for(var _0x1fbc80=_0x80cfe4>0x1?void 0x0:_0x80cfe4?ms(_0x4b4d92,_0x150c31):_0x4b4d92,_0x2f74e3=_0x2ddc39[_0x3dd993(0x2ee)]-0x1,_0x135cc7;_0x2f74e3>=0x0;_0x2f74e3--)(_0x135cc7=_0x2ddc39[_0x2f74e3])&&(_0x1fbc80=(_0x80cfe4?_0x135cc7(_0x4b4d92,_0x150c31,_0x1fbc80):_0x135cc7(_0x1fbc80))||_0x1fbc80);return _0x80cfe4&&_0x1fbc80&&ps(_0x4b4d92,_0x150c31,_0x1fbc80),_0x1fbc80;},gt=(_0x3524b7,_0x54a189)=>(_0x4f30ff,_0x129353)=>_0x54a189(_0x4f30ff,_0x129353,_0x3524b7);const Ss=[_0x3fc0d2(0x39f),'image/jpeg',_0x3fc0d2(0x28a),_0x3fc0d2(0x2bc),_0x3fc0d2(0x2ed)],Es=0x5*0x400*0x400,Is=_0x3fc0d2(0x2c9),Ts=_0x3fc0d2(0x304),Cs='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Rs=_0x3fc0d2(0x329);let yt=class{constructor(_0x3c7eae,_0x11af18,_0x415406){var _0x1191e5=_0x3fc0d2;N(this,_0x1191e5(0x3d0),0x0),N(this,_0x1191e5(0x25a),new _0x6e5a01()),N(this,_0x1191e5(0x1bd),this['_change$']),N(this,_0x1191e5(0x3e9),new Map()),(this[_0x1191e5(0x21a)]=_0x3c7eae,this[_0x1191e5(0x281)]=_0x11af18,this[_0x1191e5(0x230)]=_0x415406);}[_0x3fc0d2(0x2eb)](_0x336f12){var _0x31172e=_0x3fc0d2;this['_waitCount']=_0x336f12,this[_0x31172e(0x25a)][_0x31172e(0x400)](_0x336f12);}[_0x3fc0d2(0x3e0)](_0x14a89e,_0x2ea176){var _0x45c706=_0x3fc0d2;if(_0x2ea176===_0x10409a[_0x45c706(0x215)]){const _0x397e34=new Image();return _0x397e34['src']=_0x14a89e,_0x397e34;}return this[_0x45c706(0x3e9)][_0x45c706(0x2db)](_0x14a89e);}['addImageSourceCache'](_0x5ec7b7,_0x4e38d3,_0x9393bb){var _0x153dd1=_0x3fc0d2;_0x4e38d3===_0x10409a[_0x153dd1(0x215)]||_0x9393bb==null||this[_0x153dd1(0x3e9)][_0x153dd1(0x30a)](_0x5ec7b7,_0x9393bb);}async['getImage'](_0x22242d){var _0x107e35=_0x3fc0d2;try{const _0x2828cd=this[_0x107e35(0x165)](this[_0x107e35(0x267)](),''+_0x22242d),_0x11d088=(await this[_0x107e35(0x21a)]['get'](_0x2828cd))[_0x107e35(0x1b3)];if(_0x11d088[_0x107e35(0x24c)]&&_0x11d088[_0x107e35(0x24c)][_0x107e35(0x336)]===Ii['OK']){const _0x2b0263=new URL(_0x11d088[_0x107e35(0x1dd)],this[_0x107e35(0x27b)]())[_0x107e35(0x2f5)]();return Promise[_0x107e35(0x326)](_0x2b0263);}return Promise['reject'](_0x11d088[_0x107e35(0x24c)]);}catch(_0x5aed31){return Promise['reject'](_0x5aed31);}}async[_0x3fc0d2(0x403)](_0x38bcdf){var _0x535252=_0x3fc0d2;let _0x1966de='';if(!Ss[_0x535252(0x249)](_0x38bcdf[_0x535252(0x293)]))return this[_0x535252(0x2c5)](),Promise[_0x535252(0x1ef)](new Error(_0x20e925[_0x535252(0x395)]));if(_0x38bcdf[_0x535252(0x2d2)]>Es)return this[_0x535252(0x2c5)](),Promise['reject'](new Error(_0x20e925[_0x535252(0x31c)]));try{const _0x40cba4=new FormData();_0x40cba4[_0x535252(0x29f)]('file',_0x38bcdf);const _0x1b132a=this['_univerInstanceService'][_0x535252(0x302)](),_0x566902=_0x1b132a==null?void 0x0:_0x1b132a['getUnitId']();if(!_0x566902)throw new Error('unitId\x20is\x20not\x20found');const _0x288d9d=this[_0x535252(0x3b5)]()+'?size='+_0x38bcdf['size'][_0x535252(0x2f5)]()+_0x535252(0x2e0)+Ti[_0x535252(0x2b4)]+_0x535252(0x37a)+encodeURIComponent(_0x566902),_0x269160=await(await fetch(_0x288d9d,{'method':_0x535252(0x22e),'body':_0x40cba4}))[_0x535252(0x119)]();if(typeof _0x269160[_0x535252(0x3ae)]!='string')return this[_0x535252(0x2c5)](),Promise[_0x535252(0x1ef)](new Error(_0x20e925[_0x535252(0x3a7)]));_0x1966de=_0x269160[_0x535252(0x3ae)];}catch{return this[_0x535252(0x2c5)](),Promise['reject'](new Error(_0x20e925[_0x535252(0x3a7)]));}return new Promise((_0x4648cc,_0x5bbd02)=>{var _0x397744=_0x535252;const _0x103246=new FileReader();_0x103246['readAsDataURL'](_0x38bcdf),_0x103246[_0x397744(0x257)]=_0x2c1d18=>{var _0x2547a9=_0x397744,_0x42f620;const _0x23ba1d=(_0x42f620=_0x2c1d18[_0x2547a9(0x262)])==null?void 0x0:_0x42f620[_0x2547a9(0x138)];if(_0x23ba1d==null){this[_0x2547a9(0x2c5)](),_0x5bbd02(new Error(_0x20e925[_0x2547a9(0x3a7)]));return;}const _0x474c8e=_0x3f72fc[_0x2547a9(0x296)](0x6);_0x4648cc({'imageId':_0x474c8e,'imageSourceType':_0x10409a['UUID'],'source':_0x1966de,'base64Cache':_0x23ba1d,'status':_0x20e925['SUCCUSS']}),this[_0x2547a9(0x2c5)]();};});}[_0x3fc0d2(0x3b5)](){var _0x543383=_0x3fc0d2,_0x1e00e1,_0x210f90;const _0x57ba11=this[_0x543383(0x281)]['getConfig'](Is),_0x5b4519=this[_0x543383(0x281)][_0x543383(0x3fe)](q);return(_0x210f90=(_0x1e00e1=_0x5b4519==null?void 0x0:_0x5b4519[_0x543383(0x2b2)])!=null?_0x1e00e1:_0x57ba11)!=null?_0x210f90:Ts;}[_0x3fc0d2(0x267)](){var _0x401354=_0x3fc0d2,_0xfa0ee3,_0xb34f48;const _0xd8a9e8=this[_0x401354(0x281)][_0x401354(0x3fe)](Cs),_0x417c05=this[_0x401354(0x281)][_0x401354(0x3fe)](q);return(_0xb34f48=(_0xfa0ee3=_0x417c05==null?void 0x0:_0x417c05[_0x401354(0x166)])!=null?_0xfa0ee3:_0xd8a9e8)!=null?_0xb34f48:Rs;}[_0x3fc0d2(0x27b)](){var _0x108eea=_0x3fc0d2,_0x3d040e;const _0x23c782=this['_configService'][_0x108eea(0x3fe)](q);return(_0x3d040e=_0x23c782==null?void 0x0:_0x23c782[_0x108eea(0x2ff)])!=null?_0x3d040e:location['origin'];}[_0x3fc0d2(0x165)](_0x143b48,_0x4134ed){var _0x27e2e5=_0x3fc0d2;return _0x143b48[_0x27e2e5(0x179)](_0x27e2e5(0x38d),_0x4134ed);}[_0x3fc0d2(0x2c5)](){var _0x1912c3=_0x3fc0d2;this[_0x1912c3(0x3d0)]-=0x1,this[_0x1912c3(0x25a)]['next'](this['_waitCount']);}};yt=gs([gt(0x0,_0x4a0d65(_0x242e5e)),gt(0x1,_0x10186),gt(0x2,_0x4a0d65(_0x2e5298))],yt);var bs=Object[_0x3fc0d2(0x272)],Os=Object[_0x3fc0d2(0x314)],ys=(_0x10eb06,_0x22bb16,_0x333e27,_0xc0e7bb)=>{var _0x3f3fc4=_0x3fc0d2;for(var _0x431feb=_0xc0e7bb>0x1?void 0x0:_0xc0e7bb?Os(_0x22bb16,_0x333e27):_0x22bb16,_0x9ea306=_0x10eb06[_0x3f3fc4(0x2ee)]-0x1,_0x220030;_0x9ea306>=0x0;_0x9ea306--)(_0x220030=_0x10eb06[_0x9ea306])&&(_0x431feb=(_0xc0e7bb?_0x220030(_0x22bb16,_0x333e27,_0x431feb):_0x220030(_0x431feb))||_0x431feb);return _0xc0e7bb&&_0x431feb&&bs(_0x22bb16,_0x333e27,_0x431feb),_0x431feb;},_i=(_0x3f621f,_0x55d52e)=>(_0x432fe1,_0x2012c5)=>_0x55d52e(_0x432fe1,_0x2012c5,_0x3f621f);const Ns=_0x3fc0d2(0x3e3);let Nt=class{constructor(_0x533f4e,_0x93ac6a){var _0x1f5b40=_0x3fc0d2;this[_0x1f5b40(0x281)]=_0x533f4e,this[_0x1f5b40(0x1d5)]=_0x93ac6a;}[_0x3fc0d2(0x258)](){var _0x478a97=_0x3fc0d2,_0x55ab8d,_0x54ed83;const _0x13ff92=this['_configService'][_0x478a97(0x3fe)](Pi),_0x3b1ba3=this['_configService'][_0x478a97(0x3fe)](q);return(_0x54ed83=(_0x55ab8d=_0x3b1ba3==null?void 0x0:_0x3b1ba3[_0x478a97(0x201)])!=null?_0x55ab8d:_0x13ff92)!=null?_0x54ed83:Ns;}async[_0x3fc0d2(0x389)](_0x166961){var _0x42a730=_0x3fc0d2;const _0x23e9e7=this[_0x42a730(0x258)]()+_0x42a730(0x2e5);return{'list':[{'title':_0x42a730(0x1f0),'mentions':(await this['_HTTPService'][_0x42a730(0x2db)](_0x23e9e7,{'params':{'objectID':_0x166961['unitId'],'unitID':_0x166961['unitId']}}))['body'][_0x42a730(0x33a)][_0x42a730(0x2e9)](_0x365408=>({'objectId':_0x365408['id'],'name':_0x365408['subject'][_0x42a730(0x39c)],'metadata':{'icon':_0x365408[_0x42a730(0x3cb)]['avatar']},'label':_0x365408[_0x42a730(0x3cb)]['name'],'objectType':_0x1fc710['PERSON']})),'metadata':{},'type':_0x1fc710['PERSON']}]};}};Nt=ys([_i(0x0,_0x4a0d65(_0x10186)),_i(0x1,_0x4a0d65(_0x242e5e))],Nt);var Ds=Object[_0x3fc0d2(0x272)],Ps=Object[_0x3fc0d2(0x314)],ws=(_0x4d1901,_0x278071,_0xb856b,_0x289e69)=>{for(var _0x15d149=_0x289e69>0x1?void 0x0:_0x289e69?Ps(_0x278071,_0xb856b):_0x278071,_0xf712be=_0x4d1901['length']-0x1,_0x3aacb4;_0xf712be>=0x0;_0xf712be--)(_0x3aacb4=_0x4d1901[_0xf712be])&&(_0x15d149=(_0x289e69?_0x3aacb4(_0x278071,_0xb856b,_0x15d149):_0x3aacb4(_0x15d149))||_0x15d149);return _0x289e69&&_0x15d149&&Ds(_0x278071,_0xb856b,_0x15d149),_0x15d149;},Se=(_0x37a63c,_0x28cbcf)=>(_0x4ca237,_0x5d3741)=>_0x28cbcf(_0x4ca237,_0x5d3741,_0x37a63c);let at=class extends _0x2ac02b{constructor(_0x4d87ab,_0xa3c02b,_0x15ff59,_0x168ca4,_0x20b570,_0x3ade67,_0x32846b){var _0x4bef11=_0x3fc0d2;super(),this['_injector']=_0x4d87ab,this['_univerInstanceService']=_0xa3c02b,this[_0x4bef11(0x1cd)]=_0x15ff59,this[_0x4bef11(0x37f)]=_0x168ca4,this['_collaborationUIEventService']=_0x20b570,this[_0x4bef11(0x1f2)]=_0x3ade67,this[_0x4bef11(0x1ae)]=_0x32846b,this[_0x4bef11(0x2d6)](),this['_initCloseConn']();}[_0x3fc0d2(0x298)](){var _0x12aed3=_0x3fc0d2;const _0x153917=async _0x53107a=>{var _0x1e3471=_0x3335;(await this[_0x1e3471(0x37f)][_0x1e3471(0x114)](_0x53107a))[_0x1e3471(0x2c1)][_0x1e3471(0x348)](_0x59d3b8(_0x11b924=>_0x11b924[_0x1e3471(0x1b0)]===_0x5e0126[_0x1e3471(0x23d)]),_0x28efe9(this[_0x1e3471(0x1e7)]))['subscribe'](_0x5e84e5=>{var _0x1c3532=_0x1e3471;const _0x1898c5=_0x5e84e5,{reason:_0x38d14e}=_0x1898c5[_0x1c3532(0x144)];this[_0x1c3532(0x123)][_0x1c3532(0x3e6)]({'id':se['CLOSE_ROOM'],'data':_0x38d14e}),this[_0x1c3532(0x1cd)][_0x1c3532(0x38a)](new _0x54a994(_0x53107a)['id'],!0x1),this['_collaborationSessionService'][_0x1c3532(0x1df)](_0x53107a);});};_0x5a2e3b(this[_0x12aed3(0x230)][_0x12aed3(0x2e6)](_0x56b6a1['UNIVER_SHEET']),this[_0x12aed3(0x230)]['getTypeOfUnitAdded$'](_0x56b6a1[_0x12aed3(0x161)]))[_0x12aed3(0x348)](_0x1c1a45(_0x48bf22=>_0x48bf22[_0x12aed3(0x1da)]()),_0x59d3b8(_0x10eec3=>!_0xe5a37f(_0x10eec3)),_0x28efe9(this['dispose$']))[_0x12aed3(0x206)](_0x28e8fa=>{_0x153917(_0x28e8fa);});}[_0x3fc0d2(0x2d6)](){var _0x29941d=_0x3fc0d2;const _0x57bf6b=async _0x3318d0=>{var _0x5a280d=_0x3335;const _0x584be4=await this[_0x5a280d(0x37f)][_0x5a280d(0x114)](_0x3318d0),_0x1d7daf=this[_0x5a280d(0x3eb)][_0x5a280d(0x2db)](_0x5dab13);_0x584be4['event$']['pipe'](_0x59d3b8(_0x180aaa=>_0x180aaa['eventID']===_0x5e0126[_0x5a280d(0x153)]),_0x28efe9(this['dispose$']))['subscribe'](_0x537085=>{var _0x1c1d3d=_0x5a280d;const _0x824f4c=_0x537085,{objectId:_0x174ad7}=_0x824f4c[_0x1c1d3d(0x144)];_0x174ad7===_0x3318d0?_0x1d7daf[_0x1c1d3d(0x1f4)](_0x3318d0):_0x1d7daf[_0x1c1d3d(0x3d3)](_0x3318d0,_0x174ad7);});};_0x5a2e3b(this[_0x29941d(0x230)][_0x29941d(0x2e6)](_0x56b6a1[_0x29941d(0x252)]),this['_univerInstanceService'][_0x29941d(0x2e6)](_0x56b6a1[_0x29941d(0x161)]))[_0x29941d(0x348)](_0x1c1a45(_0x3f51c5=>_0x3f51c5['getUnitId']()),_0x59d3b8(_0x364ab2=>!_0xe5a37f(_0x364ab2)),_0x28efe9(this[_0x29941d(0x1e7)]))['subscribe'](_0x461c1a=>{_0x57bf6b(_0x461c1a);});}};at=ws([Se(0x0,_0x4a0d65(_0x3e5f47)),Se(0x1,_0x2e5298),Se(0x2,_0x8735be),Se(0x3,_0x4a0d65(Le)),Se(0x4,_0x4a0d65(pe)),Se(0x5,_0x3f2e29),Se(0x6,_0x3a051e)],at);var Us=Object[_0x3fc0d2(0x272)],As=Object[_0x3fc0d2(0x314)],xs=(_0x4d3340,_0x43a17d,_0x3db2ac,_0x82e577)=>{var _0x3d47b1=_0x3fc0d2;for(var _0x4d0052=_0x82e577>0x1?void 0x0:_0x82e577?As(_0x43a17d,_0x3db2ac):_0x43a17d,_0x32834a=_0x4d3340[_0x3d47b1(0x2ee)]-0x1,_0x54dc42;_0x32834a>=0x0;_0x32834a--)(_0x54dc42=_0x4d3340[_0x32834a])&&(_0x4d0052=(_0x82e577?_0x54dc42(_0x43a17d,_0x3db2ac,_0x4d0052):_0x54dc42(_0x4d0052))||_0x4d0052);return _0x82e577&&_0x4d0052&&Us(_0x43a17d,_0x3db2ac,_0x4d0052),_0x4d0052;},li=(_0x49b005,_0x369a53)=>(_0x1c6b72,_0x1be0b7)=>_0x369a53(_0x1c6b72,_0x1be0b7,_0x49b005);let Dt=class{constructor(_0xad0b1f,_0x1ff7df){var _0xaf224c=_0x3fc0d2;this[_0xaf224c(0x281)]=_0xad0b1f,this[_0xaf224c(0x21a)]=_0x1ff7df;}async[_0x3fc0d2(0x22b)](_0x3394e4,_0x136257){var _0x437379=_0x3fc0d2,_0x1f185;const {unitID:_0xa4288a,type:_0xbf95f7,revision:_0x1ccf61=0x0}=_0x136257,_0x43b0e0=this[_0x437379(0x1ac)]()+'/'+_0xbf95f7+_0x437379(0x2bb)+_0xa4288a+'/rev/'+_0x1ccf61,_0x5e5245=(await this[_0x437379(0x21a)][_0x437379(0x2db)](_0x43b0e0))[_0x437379(0x1b3)],_0x362396=(_0x1f185=_0x5e5245[_0x437379(0x116)])==null?void 0x0:_0x1f185[_0x437379(0x2e2)];if(_0x362396){const _0x5dc695=_0x362396==null?void 0x0:_0x362396[_0x437379(0x3d4)],_0xeb25b9=_0x35f0c4['encode'](_0x50f9c6(_0x5dc695));_0x362396[_0x437379(0x3d4)]=_0xeb25b9,Object['entries'](_0x362396[_0x437379(0x224)])['forEach'](([,_0x1f0059])=>{var _0x41b48d=_0x437379;const _0x13faca=_0x1f0059['originalMeta'],_0xac67a=_0x35f0c4[_0x41b48d(0x19e)](_0x50f9c6(_0x13faca));_0x1f0059['originalMeta']=_0xac67a;});}return _0x5e5245;}async[_0x3fc0d2(0x159)](_0x2b60e3,_0x6e493){var _0x213722=_0x3fc0d2;const {unitID:_0x4e7a30,type:_0x582425,blockID:_0x4f0fd7}=_0x6e493,_0x576bd9=this[_0x213722(0x32d)]()+'/'+_0x582425+'/unit/'+_0x4e7a30+_0x213722(0x1c3)+_0x4f0fd7;return(await this['_httpService'][_0x213722(0x2db)](_0x576bd9))[_0x213722(0x1b3)];}async[_0x3fc0d2(0x2ac)](_0x1137ba,_0x46ff62){var _0x1cd5cf=_0x3fc0d2;const {unitID:_0x41e231,type:_0x4a14ae,blockID:_0x2b6a6a}=_0x46ff62,_0x505758=this[_0x1cd5cf(0x32d)]()+'/block/'+_0x4a14ae+'/unit/'+_0x41e231+_0x1cd5cf(0x1c3)+_0x2b6a6a;return(await this[_0x1cd5cf(0x21a)]['get'](_0x505758))[_0x1cd5cf(0x1b3)];}async[_0x3fc0d2(0x21d)](_0x210cb6,_0x2142fe){var _0xb5cc21=_0x3fc0d2;const {unitID:_0xcacbc4,type:_0x46f4f1,from:_0x2ab659,to:_0x5cd461}=_0x2142fe,_0x5b0db2=this[_0xb5cc21(0x32d)]()+'/'+_0x46f4f1+_0xb5cc21(0x2bb)+_0xcacbc4+'/fetchmissing?from='+_0x2ab659+'&to='+_0x5cd461;return(await this['_httpService']['get'](_0x5b0db2))[_0xb5cc21(0x1b3)];}[_0x3fc0d2(0x1ac)](){var _0x84959=_0x3fc0d2,_0xb803c;return(_0xb803c=this['_configService'][_0x84959(0x3fe)](Tn))!=null?_0xb803c:this['_getAPIPrefix']();}[_0x3fc0d2(0x32d)](){var _0x40ab5f=_0x3fc0d2,_0x2dd5ef,_0x2c7d5b;const _0x14509a=this['_configService']['getConfig'](En),_0xc5f0d9=this['_configService'][_0x40ab5f(0x3fe)](q);return(_0x2c7d5b=(_0x2dd5ef=_0xc5f0d9==null?void 0x0:_0xc5f0d9[_0x40ab5f(0x3a3)])!=null?_0x2dd5ef:_0x14509a)!=null?_0x2c7d5b:In;}async['getResourcesRequest'](_0x2d5fc4,_0x30d447){var _0x4ca082=_0x3fc0d2;const _0x2c8b0d=_0x4ca082(0x2aa)+_0x30d447['type']+_0x4ca082(0x2bb)+_0x30d447[_0x4ca082(0x134)]+'/resources';return(await this[_0x4ca082(0x21a)][_0x4ca082(0x2db)](_0x2c8b0d,{'params':{'resourceId':JSON[_0x4ca082(0x277)](_0x30d447[_0x4ca082(0x1fe)])}}))[_0x4ca082(0x1b3)];}['saveSnapshot'](){var _0x5494c6=_0x3fc0d2;throw new Error(_0x5494c6(0x226));}[_0x3fc0d2(0x3ac)](){var _0x390d96=_0x3fc0d2;throw new Error(_0x390d96(0x226));}['saveChangeset'](){var _0x515db0=_0x3fc0d2;throw new Error(_0x515db0(0x226));}[_0x3fc0d2(0x380)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){var _0x253e46=_0x3fc0d2;throw new Error(_0x253e46(0x226));}};Dt=xs([li(0x0,_0x10186),li(0x1,_0x4a0d65(_0x242e5e))],Dt);var Ls=Object[_0x3fc0d2(0x272)],Ms=Object[_0x3fc0d2(0x314)],$s=(_0x31f78c,_0x58a164,_0x56620f,_0x480227)=>{var _0x4911be=_0x3fc0d2;for(var _0x3ba4cc=_0x480227>0x1?void 0x0:_0x480227?Ms(_0x58a164,_0x56620f):_0x58a164,_0x2452ad=_0x31f78c[_0x4911be(0x2ee)]-0x1,_0x3bd284;_0x2452ad>=0x0;_0x2452ad--)(_0x3bd284=_0x31f78c[_0x2452ad])&&(_0x3ba4cc=(_0x480227?_0x3bd284(_0x58a164,_0x56620f,_0x3ba4cc):_0x3bd284(_0x3ba4cc))||_0x3ba4cc);return _0x480227&&_0x3ba4cc&&Ls(_0x58a164,_0x56620f,_0x3ba4cc),_0x3ba4cc;},Ae=(_0x2a1ef1,_0x53e4cd)=>(_0x3cba1f,_0x8f1a24)=>_0x53e4cd(_0x3cba1f,_0x8f1a24,_0x2a1ef1);let Pt=class extends _0x183421{constructor(_0x3eec3d,_0x3b0faa,_0x54e020,_0x31faf1,_0x159ba3){var _0x2e33eb=_0x3fc0d2;super(_0x3eec3d,_0x3b0faa,_0x54e020),this[_0x2e33eb(0x330)]=_0x31faf1,this[_0x2e33eb(0x3dd)]=_0x159ba3;}[_0x3fc0d2(0x1ea)](_0x43929e,_0x2977e8){var _0x18b3c7=_0x3fc0d2;const _0x2ba9a9=this['_getUndoStack'](_0x43929e);if(_0x2ba9a9)try{const _0x15025e=this['_transformStack'](_0x2ba9a9,_0x2977e8);this[_0x18b3c7(0x2fe)](_0x43929e,_0x15025e);}catch(_0x22cb2d){this[_0x18b3c7(0x3dd)][_0x18b3c7(0x24c)](_0x18b3c7(0x382),_0x22cb2d),this['_clearUndo'](_0x43929e);}const _0x40d5a3=this[_0x18b3c7(0x2a3)](_0x43929e);if(_0x40d5a3)try{const _0x433f8a=this['_transformStack'](_0x40d5a3,_0x2977e8);this['_substituteRedoStack'](_0x43929e,_0x433f8a);}catch(_0x44d0fe){this[_0x18b3c7(0x3dd)]['error'](_0x44d0fe),this['_clearRedo'](_0x43929e);}}['_clearUndo'](_0xb15d49){var _0x48faf2=_0x3fc0d2;const _0x39467b=this[_0x48faf2(0x260)](_0xb15d49);_0x39467b&&(_0x39467b[_0x48faf2(0x2ee)]=0x0,this[_0x48faf2(0x111)]());}[_0x3fc0d2(0x3c0)](_0x4f3066){var _0xff67ed=_0x3fc0d2;const _0x42c574=this['_getRedoStack'](_0x4f3066);_0x42c574&&(_0x42c574[_0xff67ed(0x2ee)]=0x0,this[_0xff67ed(0x111)]());}[_0x3fc0d2(0x2fe)](_0x13f34f,_0x1915f6){var _0x2da303=_0x3fc0d2;this[_0x2da303(0x2c0)][_0x2da303(0x30a)](_0x13f34f,_0x1915f6),this[_0x2da303(0x111)]();}[_0x3fc0d2(0x2fc)](_0x531eb7,_0x405477){var _0x3a078b=_0x3fc0d2;this[_0x3a078b(0x118)][_0x3a078b(0x30a)](_0x531eb7,_0x405477),this[_0x3a078b(0x111)]();}['_transformStack'](_0x968633,_0x4da085){var _0x43b711=_0x3fc0d2;const _0x147aca=[];let _0x123e21=_0x4da085,_0x54f20e=_0x4da085;for(let _0xe83ec3=_0x968633[_0x43b711(0x2ee)]-0x1;_0xe83ec3>=0x0;_0xe83ec3--){const {unitID:_0x582adc,undoMutations:_0x4c7540,redoMutations:_0x87f14a}=_0x968633[_0xe83ec3],_0x40ef67=this[_0x43b711(0x330)]['transformMutationsWithChangeset'](_0x123e21,_0x4c7540),_0x34ba0c=this[_0x43b711(0x330)]['transformMutationsWithChangeset'](_0x54f20e,_0x87f14a);if(_0x170ef7(_0x40ef67)||_0x170ef7(_0x34ba0c)){this['_logService'][_0x43b711(0x24c)](_0x43b711(0x382),'transformStack\x20failed!',_0x40ef67,_0x34ba0c);break;}_0x123e21=_0x40ef67[_0x43b711(0x3b3)],_0x54f20e=_0x34ba0c[_0x43b711(0x3b3)],_0x147aca[_0x43b711(0x1ba)]({'unitID':_0x582adc,'undoMutations':_0x40ef67[_0x43b711(0x1fc)],'redoMutations':_0x34ba0c['m2Prime']});}return _0x147aca[_0x43b711(0x182)]();}};Pt=$s([Ae(0x0,_0x2e5298),Ae(0x1,_0x478928),Ae(0x2,_0x302f51),Ae(0x3,_0x44918b),Ae(0x4,_0x5c7efb)],Pt);var xi=Object[_0x3fc0d2(0x272)],Hs=Object['getOwnPropertyDescriptor'],ks=(_0x8fb29f,_0x565b6b,_0x49c957)=>_0x565b6b in _0x8fb29f?xi(_0x8fb29f,_0x565b6b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x49c957}):_0x8fb29f[_0x565b6b]=_0x49c957,js=(_0x362bc0,_0x47abeb,_0x140089,_0x3f9054)=>{var _0x3a92d8=_0x3fc0d2;for(var _0x4fb215=_0x3f9054>0x1?void 0x0:_0x3f9054?Hs(_0x47abeb,_0x140089):_0x47abeb,_0x421887=_0x362bc0[_0x3a92d8(0x2ee)]-0x1,_0x468700;_0x421887>=0x0;_0x421887--)(_0x468700=_0x362bc0[_0x421887])&&(_0x4fb215=(_0x3f9054?_0x468700(_0x47abeb,_0x140089,_0x4fb215):_0x468700(_0x4fb215))||_0x4fb215);return _0x3f9054&&_0x4fb215&&xi(_0x47abeb,_0x140089,_0x4fb215),_0x4fb215;},St=(_0x48ccb1,_0x1bd857)=>(_0x7a03b2,_0x52ea96)=>_0x1bd857(_0x7a03b2,_0x52ea96,_0x48ccb1),Bs=(_0x5f0ddb,_0x35c863,_0x54be79)=>ks(_0x5f0ddb,_0x35c863+'',_0x54be79);const Fs=_0x3fc0d2(0x11e);let wt=class extends _0x18aed0{constructor(_0x2cadf7=Wt,_0x3c4aaa,_0xfdbe82,_0x4690ba){var _0xc3fdb8=_0x3fc0d2;super(),this[_0xc3fdb8(0x319)]=_0x2cadf7,this['_logService']=_0x3c4aaa,this[_0xc3fdb8(0x3eb)]=_0xfdbe82,this['_configService']=_0x4690ba;const {..._0x14306a}=_0x3cb396({},Wt,this[_0xc3fdb8(0x319)]);this[_0xc3fdb8(0x281)]['setConfig'](q,_0x14306a);}[_0x3fc0d2(0x15c)](){var _0x43a6a0=_0x3fc0d2;this[_0x43a6a0(0x170)](),this['_initDependencies']();}[_0x3fc0d2(0x170)](){var _0x2eec02=_0x3fc0d2,_0x361135,_0x126d98,_0xea0816,_0x78bd14;this['_injector'][_0x2eec02(0x2a9)](_0x3a051e)&&this[_0x2eec02(0x3dd)][_0x2eec02(0x24c)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x4fa274=_0x4b73c5([[_0x3a051e,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x126d98=(_0x361135=this[_0x2eec02(0x319)])==null?void 0x0:_0x361135[_0x2eec02(0x24e)])!=null?_0x126d98:Et}],[_0x5e56ee,{'useClass':Dt}],[_0x3f2e29,{'useClass':bt}],[_0x4aad99,{'useClass':yt}],[_0x1514c0,{'useClass':Nt}],[rt],[Rt]],(_0xea0816=this[_0x2eec02(0x319)])==null?void 0x0:_0xea0816['override']);if(!((_0x78bd14=this['_config'])!=null&&_0x78bd14[_0x2eec02(0x2f2)])){const _0x179233=_0x4fa274[_0x2eec02(0x154)](([_0x4caef5])=>_0x4caef5===ht);_0x179233!==-0x1&&_0x4fa274['splice'](_0x179233,0x1);}_0x15c41e(this['_injector'],_0x4fa274);}[_0x3fc0d2(0x36a)](){var _0x35cf67=_0x3fc0d2,_0x3598d8,_0x1c9c98,_0x3de4b1;this[_0x35cf67(0x3eb)][_0x35cf67(0x2db)](_0x242e5e)[_0x35cf67(0x358)]({'priority':0x14,'interceptor':_0x4e4e5c({'maxParallel':0x6})}),(_0x3598d8=this['_config'])!=null&&_0x3598d8[_0x35cf67(0x2a4)]||(_0x1c9c98=this[_0x35cf67(0x3eb)][_0x35cf67(0x2db)](J,_0x3c737a[_0x35cf67(0x269)]))==null||_0x1c9c98['disableLocalCache'](),(_0x3de4b1=this[_0x35cf67(0x319)])!=null&&_0x3de4b1[_0x35cf67(0x291)]&&_0x105bc9(this['_injector'],[[st]]),_0x105bc9(this[_0x35cf67(0x3eb)],[[ot],[rt],[at]]);}};Bs(wt,_0x3fc0d2(0x1ad),Fs),wt=js([_0x13352f(_0x52de3d,_0x14e1d4,_0x4e6422),St(0x1,_0x5c7efb),St(0x2,_0x4a0d65(_0x3e5f47)),St(0x3,_0x10186)],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};