@univerjs-pro/collaboration-client 0.6.0-nightly.202501301606 → 0.6.0-nightly.202502011605

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 _0x1a3a6b=_0x2c36;(function(_0x1982be,_0x53b90e){var _0x19f8db=_0x2c36,_0x52c0fc=_0x1982be();while(!![]){try{var _0x390a18=-parseInt(_0x19f8db(0x261))/0x1+parseInt(_0x19f8db(0x98))/0x2+-parseInt(_0x19f8db(0x278))/0x3*(parseInt(_0x19f8db(0x342))/0x4)+-parseInt(_0x19f8db(0xc9))/0x5*(parseInt(_0x19f8db(0x1d2))/0x6)+parseInt(_0x19f8db(0x271))/0x7+-parseInt(_0x19f8db(0x160))/0x8+parseInt(_0x19f8db(0x26d))/0x9;if(_0x390a18===_0x53b90e)break;else _0x52c0fc['push'](_0x52c0fc['shift']());}catch(_0x2953b0){_0x52c0fc['push'](_0x52c0fc['shift']());}}}(_0x45ac,0x2cd79));var Li=Object[_0x1a3a6b(0x1fd)],Mi=(_0x926a91,_0xd8e19a,_0x39d6f5)=>_0xd8e19a in _0x926a91?Li(_0x926a91,_0xd8e19a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x39d6f5}):_0x926a91[_0xd8e19a]=_0x39d6f5,N=(_0x221101,_0x13e59c,_0x2a2a42)=>Mi(_0x221101,typeof _0x13e59c!=_0x1a3a6b(0x38a)?_0x13e59c+'':_0x13e59c,_0x2a2a42);import{createIdentifier as _0x9ba8fb,Inject as _0x5eebc2,Injector as _0x54e9ab,Disposable as _0x15bf0d,DisposableCollection as _0x3a4736,toDisposable as _0x19a661,IConfigService as _0x4107ea,ILogService as _0x1ca28b,UserManagerService as _0x268a30,UniverInstanceType as _0x520b34,IUniverInstanceService as _0x42a1e9,LocaleService as _0x3c43d2,Optional as _0x27b19f,RxDisposable as _0x20578d,Tools as _0x282cb2,Rectangle as _0x57aa7b,ICommandService as _0x572fdd,JSONX as _0x55f872,CommandType as _0x1d7b02,IPermissionService as _0x4ebb7c,IUndoRedoService as _0x1ca1a7,sequenceExecute as _0x2ca4cb,Workbook as _0x35a766,MentionType as _0x446bf5,IAuthzIoService as _0x1226d2,isInternalEditorID as _0x4aa697,LocalUndoRedoService as _0x97a08e,IContextService as _0x27bf1f,DependentOn as _0x12a217,Plugin as _0x154cbd,merge as _0x3b3b7a,mergeOverrideWithDependencies as _0x347440,IMentionIOService as _0x145c7f,registerDependencies as _0x2cd418,Quantity as _0x29c645,touchDependencies as _0x324e2e}from'@univerjs/core';import{Subject as _0x1b9930,merge as _0x56378f,of as _0x3a6100,BehaviorSubject as _0x5c1b2c,takeUntil as _0x1131f9,ReplaySubject as _0xd72070,take as _0x4ef5b4,map as _0x2ee0d8,shareReplay as _0x4d0233,firstValueFrom as _0x530861,concatMap as _0x44cc5d}from'rxjs';import{map as _0x15b0db,take as _0x67184a,filter as _0x5cfa46,delay as _0x1309f4,takeUntil as _0x2f89f8}from'rxjs/operators';import{HTTPService as _0x5b5c45,ISocketService as _0x3391fb,MergeInterceptorFactory as _0x28dfed,HTTPRequest as _0x59d13e,UniverNetworkPlugin as _0x1c49eb,ThresholdInterceptorFactory as _0x5294b3}from'@univerjs/network';import{CollaborationEvent as _0x12854d,parseChangesetToProtocol as _0x3f1cee,ISnapshotServerService as _0x394c8c,isTransformMutationsWithChangesetSuccess as _0x52e85a,ITransformService as _0x2b6404,mapDocumentTypeToUniverType as _0x374c9f,RevisionService as _0x5b78cb,isTransformChangesetsSuccess as _0x1abdb2,CompressMutationService as _0x55750e,parseProtocolChangeset as _0x4651b7,SnapshotService as _0x59c463,textEncoder as _0x302778,b64DecodeUnicode as _0x23859b,isTransformMutationsWithChangesetFailure as _0x1278d5,UniverCollaborationPlugin as _0x1d7fdc}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x5787a1}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x39055c}from'@univerjs/docs';import{SheetsSelectionsService as _0x299d1f,SetSelectionsOperation as _0x1ac112,InsertSheetMutation as _0x4ae0ea,EmptyMutation as _0x4c85f6,WorkbookEditablePermission as _0x56b9cd,SheetPermissionInitController as _0x18a768,UniverSheetsPlugin as _0x29ba89}from'@univerjs/sheets';import{ImageSourceType as _0x15d1ee,ImageUploadStatusType as _0x113468,IImageIoService as _0xb7d4df}from'@univerjs/drawing';import{getGlobalObject as _0x23ae21}from'@univerjs-pro/license';const En='SNAPSHOT_SERVER_URL_KEY',In=_0x1a3a6b(0x11f),Tn=_0x1a3a6b(0x227),eo='SEND_CHANGESET_TIMEOUT',Cn=0x7d0,Rn=_0x1a3a6b(0x2c1),bn='ws://127.0.0.1:8000/universer-api/comb/connect',On='/universer-api/user/session-ticket',yn='HEARTBEAT_INTERVAL',Nn=0x7530,Si=_0x1a3a6b(0x33a),Ei=0x4e20,Dn=0x4e20,Pn=_0x1a3a6b(0x33b),wn=0x3,to=_0x1a3a6b(0xfd),io=0x3e8,Un=_0x1a3a6b(0xe0),An='/universer-api/comb',xn=_0x1a3a6b(0x355),Ln=_0x1a3a6b(0x1a1),no='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',ro=_0x1a3a6b(0x10d);var Ii=(_0x31fcd1=>(_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x273)]=0x0]=_0x1a3a6b(0x273),_0x31fcd1[_0x31fcd1['OK']=0x1]='OK',_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x134)]=0x2]=_0x1a3a6b(0x134),_0x31fcd1[_0x31fcd1['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x31fcd1[_0x31fcd1['NOT_FOUND']=0x4]='NOT_FOUND',_0x31fcd1[_0x31fcd1['UNAUTHENTICATED']=0x5]=_0x1a3a6b(0x2eb),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0xab)]=0x6]=_0x1a3a6b(0xab),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x1ee)]=0x7]=_0x1a3a6b(0x1ee),_0x31fcd1[_0x31fcd1['TOO_MANY_REQUESTS']=0x8]=_0x1a3a6b(0x363),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x145)]=0x9]=_0x1a3a6b(0x145),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0xc0)]=0x1389]=_0x1a3a6b(0xc0),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x23d)]=0x1771]=_0x1a3a6b(0x23d),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x38d)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x143)]=0x1773]=_0x1a3a6b(0x143),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x279)]=0x1b59]=_0x1a3a6b(0x279),_0x31fcd1[_0x31fcd1['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x31fcd1[_0x31fcd1['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1a3a6b(0x1bf),_0x31fcd1[_0x31fcd1['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x230)]=0x1b5d]=_0x1a3a6b(0x230),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x13c)]=0x1f41]=_0x1a3a6b(0x13c),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x1e6)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x31fcd1[_0x31fcd1['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1a3a6b(0x12c),_0x31fcd1[_0x31fcd1['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1a3a6b(0x2be),_0x31fcd1[_0x31fcd1['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1a3a6b(0x9e),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x17e)]=0x232d]=_0x1a3a6b(0x17e),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0xd7)]=0x2711]=_0x1a3a6b(0xd7),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x213)]=0x2712]=_0x1a3a6b(0x213),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x376)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x31fcd1[_0x31fcd1['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1a3a6b(0x210),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x29d)]=0x2af9]=_0x1a3a6b(0x29d),_0x31fcd1[_0x31fcd1['UNRECOGNIZED']=-0x1]=_0x1a3a6b(0x123),_0x31fcd1))(Ii||{}),Q=(_0x1126b9=>(_0x1126b9[_0x1126b9['UNIVER_UNKNOWN']=0x0]=_0x1a3a6b(0x245),_0x1126b9[_0x1126b9['UNIVER_DOC']=0x1]=_0x1a3a6b(0xef),_0x1126b9[_0x1126b9[_0x1a3a6b(0x2c4)]=0x2]=_0x1a3a6b(0x2c4),_0x1126b9[_0x1126b9[_0x1a3a6b(0x34f)]=0x3]=_0x1a3a6b(0x34f),_0x1126b9[_0x1126b9[_0x1a3a6b(0xc6)]=0x4]=_0x1a3a6b(0xc6),_0x1126b9[_0x1126b9[_0x1a3a6b(0x123)]=-0x1]=_0x1a3a6b(0x123),_0x1126b9))(Q||{}),F=(_0xc48f0=>(_0xc48f0[_0xc48f0[_0x1a3a6b(0x1bc)]=0x0]=_0x1a3a6b(0x1bc),_0xc48f0[_0xc48f0[_0x1a3a6b(0x26f)]=0x1]=_0x1a3a6b(0x26f),_0xc48f0[_0xc48f0[_0x1a3a6b(0x1a5)]=0x2]='JOIN',_0xc48f0[_0xc48f0[_0x1a3a6b(0xcd)]=0x3]=_0x1a3a6b(0xcd),_0xc48f0[_0xc48f0['INGEST']=0x4]=_0x1a3a6b(0x180),_0xc48f0[_0xc48f0[_0x1a3a6b(0x392)]=0x5]=_0x1a3a6b(0x392),_0xc48f0[_0xc48f0[_0x1a3a6b(0xd9)]=0x6]=_0x1a3a6b(0xd9),_0xc48f0[_0xc48f0['UNRECOGNIZED']=-0x1]=_0x1a3a6b(0x123),_0xc48f0))(F||{}),Ee=(_0x33768b=>(_0x33768b[_0x33768b[_0x1a3a6b(0x2d1)]=0x0]=_0x1a3a6b(0x2d1),_0x33768b[_0x33768b['OK']=0x1]='OK',_0x33768b[_0x33768b['FAIL']=0x2]=_0x1a3a6b(0x2fc),_0x33768b[_0x33768b[_0x1a3a6b(0x178)]=0x3e9]='JOIN_ROOM_FULL',_0x33768b[_0x33768b[_0x1a3a6b(0x275)]=0x3ea]=_0x1a3a6b(0x275),_0x33768b[_0x33768b['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x1a3a6b(0x204),_0x33768b[_0x33768b[_0x1a3a6b(0x18c)]=0x3ec]=_0x1a3a6b(0x18c),_0x33768b[_0x33768b[_0x1a3a6b(0x123)]=-0x1]=_0x1a3a6b(0x123),_0x33768b))(Ee||{}),Ti=(_0x489df0=>(_0x489df0[_0x489df0[_0x1a3a6b(0x29a)]=0x0]=_0x1a3a6b(0x29a),_0x489df0[_0x489df0[_0x1a3a6b(0x17c)]=0x1]=_0x1a3a6b(0x17c),_0x489df0[_0x489df0[_0x1a3a6b(0x15f)]=0x2]=_0x1a3a6b(0x15f),_0x489df0[_0x489df0[_0x1a3a6b(0x1cb)]=0x3]=_0x1a3a6b(0x1cb),_0x489df0[_0x489df0[_0x1a3a6b(0x2cd)]=0x4]=_0x1a3a6b(0x2cd),_0x489df0[_0x489df0[_0x1a3a6b(0x123)]=-0x1]=_0x1a3a6b(0x123),_0x489df0))(Ti||{});const q=_0x1a3a6b(0x2a7),Wt={};var se=(_0x5df597=>(_0x5df597[_0x1a3a6b(0x15b)]='OTHER_CLIENT_EDITING',_0x5df597['PERMISSION_DENIED']='PERMISSION_DENIED',_0x5df597[_0x1a3a6b(0x34d)]=_0x1a3a6b(0x34d),_0x5df597[_0x1a3a6b(0x2a1)]=_0x1a3a6b(0x2a1),_0x5df597[_0x1a3a6b(0x1f3)]='JOIN_ROOM_FAILED',_0x5df597['SOCKET_FAILED_RETRY']=_0x1a3a6b(0x2aa),_0x5df597[_0x1a3a6b(0xd3)]=_0x1a3a6b(0xd3),_0x5df597['SUBMIT_CHANGESET_TIMEOUT']=_0x1a3a6b(0x359),_0x5df597))(se||{});class pe{constructor(){var _0x46df52=_0x1a3a6b;N(this,_0x46df52(0x2b0),new _0x1b9930()),N(this,_0x46df52(0x1c9),this[_0x46df52(0x2b0)][_0x46df52(0x9d)]());}[_0x1a3a6b(0x2fe)](_0xb7e173){var _0xdfa54b=_0x1a3a6b;this[_0xdfa54b(0x2b0)][_0xdfa54b(0x182)](_0xb7e173);}}const Mn=_0x9ba8fb(_0x1a3a6b(0x22d));function $n(_0x490221){var _0x311e3b=_0x1a3a6b,_0x28f026,_0x34f2bb,_0x5ae6ef,_0x63304,_0x5b9f07;const _0x3b5ac9=_0x490221['data'],_0x52f5b8=JSON[_0x311e3b(0x119)](_0x3b5ac9);switch(_0x52f5b8[_0x311e3b(0x33d)]){case F[_0x311e3b(0x392)]:case F['HELLO']:{const _0x25ac0a=_0x52f5b8[_0x311e3b(0x25c)];return{..._0x52f5b8,'data':_0x25ac0a,'cmd':_0x52f5b8['cmd']};}case F[_0x311e3b(0x1a5)]:{const _0x28cbf9=_0x52f5b8[_0x311e3b(0x1ff)];return{..._0x52f5b8,'data':_0x28cbf9,'cmd':_0x52f5b8[_0x311e3b(0x33d)]};}case F[_0x311e3b(0xd9)]:{const _0x17742e=_0x52f5b8['collaMsg'];switch(_0x17742e[_0x311e3b(0xb3)]){case _0x12854d[_0x311e3b(0x280)]:return{..._0x52f5b8,'data':{..._0x17742e,'data':(_0x28f026=_0x17742e[_0x311e3b(0xc3)])==null?void 0x0:_0x28f026['cs']},'cmd':_0x52f5b8[_0x311e3b(0x33d)]};case _0x12854d[_0x311e3b(0x162)]:return{..._0x52f5b8,'data':{..._0x17742e,'data':(_0x34f2bb=_0x17742e[_0x311e3b(0x262)])==null?void 0x0:_0x34f2bb['cs']},'cmd':_0x52f5b8[_0x311e3b(0x33d)]};case _0x12854d[_0x311e3b(0x1c8)]:return{..._0x52f5b8,'data':{..._0x17742e,'data':(_0x5ae6ef=_0x17742e[_0x311e3b(0x298)])==null?void 0x0:_0x5ae6ef['cs']},'cmd':_0x52f5b8[_0x311e3b(0x33d)]};case _0x12854d['CHANGESET_REJ']:return{..._0x52f5b8,'data':{..._0x17742e,'data':(_0x63304=_0x17742e[_0x311e3b(0x25a)])==null?void 0x0:_0x63304['cs']},'cmd':_0x52f5b8[_0x311e3b(0x33d)]};case _0x12854d[_0x311e3b(0xa1)]:return{..._0x52f5b8,'data':{..._0x17742e,'data':(_0x5b9f07=_0x17742e[_0x311e3b(0x15d)])==null?void 0x0:_0x5b9f07['cs']},'cmd':_0x52f5b8[_0x311e3b(0x33d)]};case _0x12854d[_0x311e3b(0x116)]:return{..._0x52f5b8,'data':{..._0x17742e,'data':_0x17742e['updateCursorEvent']},'cmd':_0x52f5b8[_0x311e3b(0x33d)]};case _0x12854d[_0x311e3b(0x17a)]:return{..._0x52f5b8,'data':{..._0x17742e,'data':_0x17742e[_0x311e3b(0x21a)]},'cmd':_0x52f5b8['cmd']};case _0x12854d[_0x311e3b(0x26b)]:return{..._0x52f5b8,'data':{..._0x17742e,'data':_0x17742e[_0x311e3b(0x327)]},'cmd':_0x52f5b8['cmd']};case _0x12854d[_0x311e3b(0x394)]:return{..._0x52f5b8,'data':{..._0x17742e,'data':_0x17742e[_0x311e3b(0x16f)]},'cmd':_0x52f5b8[_0x311e3b(0x33d)]};case _0x12854d[_0x311e3b(0x96)]:case _0x12854d[_0x311e3b(0x159)]:return{..._0x52f5b8,'data':{..._0x17742e,'data':_0x17742e[_0x311e3b(0x331)]},'cmd':_0x52f5b8[_0x311e3b(0x33d)]};case _0x12854d[_0x311e3b(0x276)]:return{..._0x52f5b8,'data':{..._0x17742e,'data':_0x17742e[_0x311e3b(0x16f)]},'cmd':_0x52f5b8[_0x311e3b(0x33d)]};case _0x12854d[_0x311e3b(0x120)]:return{..._0x52f5b8,'data':_0x17742e,'cmd':_0x52f5b8['cmd']};case _0x12854d['COMMENT_UPDATE']:return{..._0x52f5b8,'data':{..._0x17742e,'data':_0x17742e[_0x311e3b(0x2fb)]},'cmd':_0x52f5b8['cmd']};case _0x12854d[_0x311e3b(0x343)]:return{..._0x52f5b8,'data':{..._0x17742e,'data':_0x17742e[_0x311e3b(0x2ad)]},'cmd':_0x52f5b8[_0x311e3b(0x33d)]};case _0x12854d['SHOULD_CLOSE_CONN']:return{..._0x52f5b8,'data':{..._0x17742e,'data':_0x17742e[_0x311e3b(0x26c)]},'cmd':_0x52f5b8['cmd']};case _0x12854d[_0x311e3b(0x367)]:return{..._0x52f5b8,'data':{..._0x17742e,'data':_0x17742e[_0x311e3b(0x328)]},'cmd':_0x52f5b8['cmd']};default:return _0x52f5b8;}}default:return _0x52f5b8;}}function Hn(_0x82dcbd){var _0xa5f407=_0x1a3a6b;switch(_0x82dcbd[_0xa5f407(0x33d)]){case F[_0xa5f407(0x392)]:case F[_0xa5f407(0x26f)]:return JSON[_0xa5f407(0x1d1)]({'cmd':_0x82dcbd[_0xa5f407(0x33d)],'routeKey':_0x82dcbd[_0xa5f407(0x22f)]});case F[_0xa5f407(0x180)]:{let _0x44ee5d;switch(_0x82dcbd[_0xa5f407(0x22a)][_0xa5f407(0xb3)]){case _0x12854d[_0xa5f407(0x116)]:{_0x44ee5d={'eventID':_0x12854d[_0xa5f407(0x116)],'updateCursorEvent':_0x82dcbd[_0xa5f407(0x22a)][_0xa5f407(0x22a)]};break;}case _0x12854d[_0xa5f407(0x26b)]:{_0x44ee5d={'eventID':_0x12854d['USERS_LEAVE'],'leaveEvent':_0x82dcbd['data']['data']};break;}case _0x12854d[_0xa5f407(0x17a)]:{_0x44ee5d={'eventID':_0x12854d['USERS_ENTER'],'joinEvent':_0x82dcbd[_0xa5f407(0x22a)]['data']};break;}case _0x12854d['LIVESHARE_NEW_HOST']:{_0x44ee5d={'eventID':_0x12854d[_0xa5f407(0x394)],'liveShareNewHost':_0x82dcbd[_0xa5f407(0x22a)][_0xa5f407(0x22a)]};break;}case _0x12854d['LIVESHARE_OPERATION']:{_0x44ee5d={'eventID':_0x12854d[_0xa5f407(0x159)],'liveShareOperation':_0x82dcbd['data']['data']};break;}case _0x12854d['LIVESHARE_TERMINATE']:{_0x44ee5d={'eventID':_0x12854d[_0xa5f407(0x276)],'liveShareTerminate':_0x82dcbd[_0xa5f407(0x22a)][_0xa5f407(0x22a)]};break;}case _0x12854d[_0xa5f407(0x1ad)]:{_0x44ee5d={'eventID':_0x12854d[_0xa5f407(0x1ad)],'liveShareRequestHost':_0x82dcbd[_0xa5f407(0x22a)][_0xa5f407(0x22a)]};break;}case _0x12854d[_0xa5f407(0x96)]:{_0x44ee5d={'eventID':_0x12854d[_0xa5f407(0x96)]};break;}default:_0x44ee5d={'eventID':_0x82dcbd[_0xa5f407(0x22a)][_0xa5f407(0xb3)]};}return JSON[_0xa5f407(0x1d1)]({'cmd':_0x82dcbd['cmd'],'routeKey':_0x82dcbd[_0xa5f407(0x22f)],'collaMsg':_0x44ee5d});}case F[_0xa5f407(0x1a5)]:return JSON['stringify']({'cmd':_0x82dcbd['cmd'],'routeKey':_0x82dcbd['routeKey'],'joinReq':_0x82dcbd[_0xa5f407(0x22a)]});case F['LEAVE']:return JSON[_0xa5f407(0x1d1)]({'cmd':_0x82dcbd['cmd'],'routeKey':_0x82dcbd[_0xa5f407(0x22f)],'leaveReq':_0x82dcbd[_0xa5f407(0x22a)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var kn=Object[_0x1a3a6b(0x1fd)],jn=Object[_0x1a3a6b(0xf3)],Bn=(_0x5073a5,_0x5b29ff,_0x2ded08,_0x32696a)=>{for(var _0x3a1cb7=_0x32696a>0x1?void 0x0:_0x32696a?jn(_0x5b29ff,_0x2ded08):_0x5b29ff,_0x358e1c=_0x5073a5['length']-0x1,_0x2193fb;_0x358e1c>=0x0;_0x358e1c--)(_0x2193fb=_0x5073a5[_0x358e1c])&&(_0x3a1cb7=(_0x32696a?_0x2193fb(_0x5b29ff,_0x2ded08,_0x3a1cb7):_0x2193fb(_0x3a1cb7))||_0x3a1cb7);return _0x32696a&&_0x3a1cb7&&kn(_0x5b29ff,_0x2ded08,_0x3a1cb7),_0x3a1cb7;},Ue=(_0x4a7578,_0x343ecd)=>(_0x1cc721,_0x2a104a)=>_0x343ecd(_0x1cc721,_0x2a104a,_0x4a7578);const Ci=_0x9ba8fb(_0x1a3a6b(0x188));function Fn(_0x2cb8d6,_0x2fe5c5,_0x135605){var _0x16da35=_0x1a3a6b;return _0x2cb8d6+'/'+_0x2fe5c5+_0x16da35(0x17d)+_0x135605+_0x16da35(0x18b);}let Et=class extends _0x15bf0d{constructor(_0x3eda1f,_0x3ca304,_0x2f5ca5,_0xd88ab4,_0x5b4da7){var _0x55f0af=_0x1a3a6b;super(),this[_0x55f0af(0x353)]=_0x3eda1f,this['_http']=_0x3ca304,this['_configService']=_0x2f5ca5,this['_logService']=_0xd88ab4,this[_0x55f0af(0x2df)]=_0x5b4da7;}[_0x1a3a6b(0x369)](_0x425003){var _0x2bec32=_0x1a3a6b;const _0x41c903=this['_injector'][_0x2bec32(0x2f9)](_0x3391fb);if(!_0x41c903)throw new Error(_0x2bec32(0x2d7));const _0x2af3b2=_0x41c903['createSocket'](_0x425003);if(!_0x2af3b2)throw new Error(_0x2bec32(0x32f));const _0x2becd4=new _0x3a4736(),_0x4e4cfb=new _0x1b9930();_0x2becd4['add'](_0x2af3b2[_0x2bec32(0x179)][_0x2bec32(0x175)](_0x2e0895=>_0x4e4cfb['next'](_0x2e0895))),_0x2becd4['add'](_0x19a661(()=>_0x4e4cfb[_0x2bec32(0x37a)]()));const _0x2c6841=new _0x1b9930();_0x2becd4[_0x2bec32(0x360)](_0x2af3b2[_0x2bec32(0x30b)][_0x2bec32(0x175)](_0x1c238e=>_0x2c6841[_0x2bec32(0x182)](_0x1c238e))),_0x2becd4[_0x2bec32(0x360)](_0x19a661(()=>_0x2c6841[_0x2bec32(0x37a)]()));const _0x56e10b=new _0x1b9930();_0x2becd4['add'](_0x2af3b2['message$'][_0x2bec32(0x175)](_0x4c99da=>{var _0x2febb3=_0x2bec32;const _0xda293d=$n(_0x4c99da);_0x56e10b[_0x2febb3(0x182)](_0xda293d);})),_0x2becd4[_0x2bec32(0x360)](_0x19a661(()=>_0x56e10b[_0x2bec32(0x37a)]()));let _0x4e4f7a;const _0x2dabc6=()=>{var _0x181396=_0x2bec32;_0x2c6841[_0x181396(0x182)](new Event('connection\x20error')),_0x4e4cfb[_0x181396(0x182)](new CloseEvent('connection\x20error')),_0x4e4f7a[_0x181396(0x12a)]();};return _0x4e4f7a={'memberID':'','close$':_0x4e4cfb['asObservable'](),'error$':_0x2c6841['asObservable'](),'open$':_0x2af3b2[_0x2bec32(0x308)],'message$':_0x56e10b['asObservable'](),'send':_0x51fe30=>{var _0x238a49=_0x2bec32;if(_0x51fe30['cmd']===F[_0x238a49(0x180)]){if(_0x51fe30[_0x238a49(0x22a)][_0x238a49(0xb3)]===_0x12854d[_0x238a49(0x35c)]){this[_0x238a49(0x109)](_0x4e4f7a,_0x51fe30['data'])[_0x238a49(0x265)](_0x514248=>{var _0x5106a7=_0x238a49;this[_0x5106a7(0x2d8)]['error'](_0x514248),_0x2dabc6();});return;}if(_0x51fe30[_0x238a49(0x22a)][_0x238a49(0xb3)]===_0x12854d[_0x238a49(0x2b7)]){const _0x56e32e=_0x51fe30[_0x238a49(0x22a)];this['_fetchMissChangesets'](_0x56e32e)[_0x238a49(0x20a)](_0xdd3c5e=>{var _0x15ece2=_0x238a49;_0x56e10b[_0x15ece2(0x182)]({'cmd':F[_0x15ece2(0xd9)],'code':Ee['OK'],'routeKey':_0x56e32e['data']['unitID'],'routeType':'','data':{'eventID':_0x12854d['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0xdd3c5e}}});})['catch'](_0x2bbea7=>{this['_logService']['error'](_0x2bbea7),_0x2dabc6();});return;}}_0x2af3b2[_0x238a49(0x174)](Hn(_0x51fe30));},'close':()=>{var _0xd22841=_0x2bec32;_0x2af3b2[_0xd22841(0x12a)](),_0x2becd4[_0xd22841(0xf0)]();}},_0x4e4f7a;}async[_0x1a3a6b(0x109)](_0x29ffa5,_0x4dc596){var _0x59dc7b=_0x1a3a6b,_0xed7c2a,_0x52c3b0;const {unitType:_0x565f21,unitID:_0x51978a,changeset:_0x2332ed}=_0x4dc596[_0x59dc7b(0x22a)],_0x2d89f5={'unitID':_0x51978a,'memberID':_0x29ffa5[_0x59dc7b(0x1b9)],'type':_0x565f21,'changeset':_0x3f1cee(_0x2332ed)},_0x1caff1=this[_0x59dc7b(0x2a4)][_0x59dc7b(0x268)](Un),_0xb1628=this[_0x59dc7b(0x2a4)][_0x59dc7b(0x268)](q),_0xf1a423=Fn((_0x52c3b0=(_0xed7c2a=_0xb1628==null?void 0x0:_0xb1628['collabSubmitChangesetUrl'])!=null?_0xed7c2a:_0x1caff1)!=null?_0x52c3b0:An,_0x565f21,_0x51978a);try{await this[_0x59dc7b(0x283)][_0x59dc7b(0x2a5)](_0xf1a423,{'body':_0x2d89f5});}catch(_0x287f35){throw this[_0x59dc7b(0x2d8)][_0x59dc7b(0x362)](_0x59dc7b(0xc7),'submit\x20changeset\x20error!'),_0x287f35;}}async[_0x1a3a6b(0x17b)](_0x1e3aba){var _0x21fc0a=_0x1a3a6b;const {unitID:_0xbcddd6,from:_0x43b589,to:_0x2f47d9,unitType:_0x46dd6d}=_0x1e3aba[_0x21fc0a(0x22a)];return(await this[_0x21fc0a(0x2df)][_0x21fc0a(0x32d)]({'metadata':void 0x0},{'unitID':_0xbcddd6,'type':_0x46dd6d,'from':_0x43b589,'to':_0x2f47d9}))[_0x21fc0a(0x257)];}};Et=Bn([Ue(0x0,_0x5eebc2(_0x54e9ab)),Ue(0x1,_0x5eebc2(_0x5b5c45)),Ue(0x2,_0x4107ea),Ue(0x3,_0x1ca28b),Ue(0x4,_0x394c8c)],Et);const Vn=_0x1a3a6b(0x2b5);function Gn(_0x4f78b7){var _0x36b160=_0x1a3a6b;return JSON['stringify'](_0x4f78b7)[_0x36b160(0x23f)];}class Ri{constructor(){var _0x1478c7=_0x1a3a6b;N(this,_0x1478c7(0x2b1),new _0x1b9930()),N(this,_0x1478c7(0xd5),this[_0x1478c7(0x2b1)][_0x1478c7(0x9d)]());}[_0x1a3a6b(0x1aa)](_0x5212fd){var _0x2cbfc1=_0x1a3a6b;this[_0x2cbfc1(0x2b1)][_0x2cbfc1(0x182)](_0x5212fd);}}var Wn=Object[_0x1a3a6b(0x1fd)],Kn=Object[_0x1a3a6b(0xf3)],Yn=(_0x1f1398,_0x390b01,_0x83a68,_0x1134fa)=>{for(var _0x43d7c2=_0x1134fa>0x1?void 0x0:_0x1134fa?Kn(_0x390b01,_0x83a68):_0x390b01,_0x1bfd4a=_0x1f1398['length']-0x1,_0x45d48d;_0x1bfd4a>=0x0;_0x1bfd4a--)(_0x45d48d=_0x1f1398[_0x1bfd4a])&&(_0x43d7c2=(_0x1134fa?_0x45d48d(_0x390b01,_0x83a68,_0x43d7c2):_0x45d48d(_0x43d7c2))||_0x43d7c2);return _0x1134fa&&_0x43d7c2&&Wn(_0x390b01,_0x83a68,_0x43d7c2),_0x43d7c2;},Kt=(_0x169974,_0x3130b4)=>(_0x1616b5,_0x2ea57e)=>_0x3130b4(_0x1616b5,_0x2ea57e,_0x169974);let xe=class extends _0x15bf0d{constructor(_0x56f883,_0x446982){var _0x46ce20=_0x1a3a6b;super(),N(this,'_roomMembers',new Map()),N(this,'_roomCreated$',new _0x1b9930()),(this[_0x46ce20(0x1d5)]=_0x56f883,this['_userManagerService']=_0x446982,this['disposeWithMe'](_0x56378f(this[_0x46ce20(0x1d5)][_0x46ce20(0x2c3)](_0x520b34[_0x46ce20(0x2c4)])[_0x46ce20(0x114)](_0x15b0db(_0x5508f2=>_0x5508f2[_0x46ce20(0x31c)]())),this['_univerInstanceService'][_0x46ce20(0x2c3)](_0x520b34[_0x46ce20(0xef)])[_0x46ce20(0x114)](_0x15b0db(_0x224c30=>_0x224c30[_0x46ce20(0x31c)]())),this[_0x46ce20(0x1d5)][_0x46ce20(0x2c3)](_0x520b34[_0x46ce20(0x34f)])[_0x46ce20(0x114)](_0x15b0db(_0x35f0ff=>_0x35f0ff[_0x46ce20(0x31c)]())))[_0x46ce20(0x175)](_0x5cd1f2=>this[_0x46ce20(0x28a)](_0x5cd1f2))));}['waitForRoom$'](_0x68d0cf){var _0x5878f5=_0x1a3a6b;return this[_0x5878f5(0x326)][_0x5878f5(0x239)](_0x68d0cf)?_0x3a6100(this[_0x5878f5(0x326)][_0x5878f5(0x2f9)](_0x68d0cf)):this[_0x5878f5(0x176)]['pipe'](_0x15b0db(_0x5d660a=>{var _0x37aa36=_0x5878f5;if(_0x5d660a===_0x68d0cf)return this[_0x37aa36(0x326)]['get'](_0x5d660a);}));}['setCurrentUser'](_0x4396c5){var _0x86c287=_0x1a3a6b;this[_0x86c287(0x2c8)]['setCurrentUser'](_0x4396c5);}[_0x1a3a6b(0x240)](){var _0x163850=_0x1a3a6b;return this[_0x163850(0x2c8)]['getCurrentUser']();}[_0x1a3a6b(0xae)](_0x2ac332,_0x3e86b1){var _0x2c9a02=_0x1a3a6b;let _0x3ab938=this[_0x2c9a02(0x326)][_0x2c9a02(0x2f9)](_0x2ac332);_0x3ab938||(_0x3ab938=new qn(),this[_0x2c9a02(0x326)][_0x2c9a02(0x389)](_0x2ac332,_0x3ab938),this['_roomCreated$'][_0x2c9a02(0x182)](_0x2ac332)),_0x3ab938[_0x2c9a02(0xae)](_0x3e86b1);}[_0x1a3a6b(0x341)](_0x58c442,_0x13676d){var _0x5f2cc9=_0x1a3a6b;const _0x1e844d=this[_0x5f2cc9(0x326)][_0x5f2cc9(0x2f9)](_0x58c442);_0x1e844d&&_0x1e844d['removeMember'](_0x13676d);}[_0x1a3a6b(0x34a)](_0x541b0c){var _0x10fed9=_0x1a3a6b;return this['_roomMembers'][_0x10fed9(0x2f9)](_0x541b0c);}[_0x1a3a6b(0x13a)](_0x474552,_0x19342f){var _0x196b15=_0x1a3a6b;const _0x19f57f=this[_0x196b15(0x326)][_0x196b15(0x2f9)](_0x474552);if(_0x19f57f)return _0x19f57f['getMember'](_0x19342f);}[_0x1a3a6b(0x28a)](_0x202acc){var _0x4cccf0=_0x1a3a6b;const _0xb01d8c=this[_0x4cccf0(0x326)][_0x4cccf0(0x2f9)](_0x202acc);_0xb01d8c&&(_0xb01d8c[_0x4cccf0(0xf0)](),this[_0x4cccf0(0x326)][_0x4cccf0(0xf4)](_0x202acc));}['dispose'](){var _0xeed98d=_0x1a3a6b;this[_0xeed98d(0x326)]['forEach'](_0x5c3bee=>_0x5c3bee[_0xeed98d(0xf0)]()),this['_roomMembers'][_0xeed98d(0x30d)](),this[_0xeed98d(0x176)]['complete']();}};xe=Yn([Kt(0x0,_0x42a1e9),Kt(0x1,_0x5eebc2(_0x268a30))],xe);class qn extends _0x15bf0d{constructor(){var _0x2d34d0=_0x1a3a6b;super(...arguments),N(this,'_members',new Map()),N(this,_0x2d34d0(0x16b),new _0x5c1b2c(this['_members'])),N(this,_0x2d34d0(0x14a),this[_0x2d34d0(0x16b)][_0x2d34d0(0x9d)]());}['dispose'](){var _0x21c6c8=_0x1a3a6b;this[_0x21c6c8(0x2b3)]['clear']();}[_0x1a3a6b(0xae)](_0x14a5f5){var _0x272eac=_0x1a3a6b;this[_0x272eac(0x2b3)][_0x272eac(0x389)](_0x14a5f5['memberID'],_0x14a5f5),this[_0x272eac(0x2c6)]();}[_0x1a3a6b(0x341)](_0x4cff99){var _0x35716e=_0x1a3a6b;this['_members'][_0x35716e(0xf4)](_0x4cff99);}['getMember'](_0x261d6d){var _0xab8558=_0x1a3a6b;return this['_members'][_0xab8558(0x2f9)](_0x261d6d);}[_0x1a3a6b(0x256)](){var _0x30da07=_0x1a3a6b;return Array[_0x30da07(0x1c5)](this[_0x30da07(0x2b3)][_0x30da07(0xbb)]());}[_0x1a3a6b(0x2c6)](){var _0x427fec=_0x1a3a6b;this['_members$'][_0x427fec(0x182)](this['_members']);}}var zn=Object[_0x1a3a6b(0x1fd)],Jn=Object['getOwnPropertyDescriptor'],Xn=(_0x489317,_0x1ff525,_0x2594e5,_0x582602)=>{var _0x4ac33e=_0x1a3a6b;for(var _0xd5de5b=_0x582602>0x1?void 0x0:_0x582602?Jn(_0x1ff525,_0x2594e5):_0x1ff525,_0x8fe2a=_0x489317[_0x4ac33e(0x23f)]-0x1,_0x3c2500;_0x8fe2a>=0x0;_0x8fe2a--)(_0x3c2500=_0x489317[_0x8fe2a])&&(_0xd5de5b=(_0x582602?_0x3c2500(_0x1ff525,_0x2594e5,_0xd5de5b):_0x3c2500(_0xd5de5b))||_0xd5de5b);return _0x582602&&_0xd5de5b&&zn(_0x1ff525,_0x2594e5,_0xd5de5b),_0xd5de5b;},me=(_0x495189,_0x5a4a6d)=>(_0xb1d35e,_0x346d1d)=>_0x5a4a6d(_0xb1d35e,_0x346d1d,_0x495189),Te=(_0x3bac8a=>(_0x3bac8a[_0x3bac8a[_0x1a3a6b(0x318)]=0x0]=_0x1a3a6b(0x318),_0x3bac8a[_0x3bac8a[_0x1a3a6b(0x136)]=0x1]=_0x1a3a6b(0x136),_0x3bac8a[_0x3bac8a[_0x1a3a6b(0x1dc)]=0x2]=_0x1a3a6b(0x1dc),_0x3bac8a[_0x3bac8a[_0x1a3a6b(0xe1)]=0x3]=_0x1a3a6b(0xe1),_0x3bac8a))(Te||{});const Yt={[Ee[_0x1a3a6b(0x2fc)]]:_0x1a3a6b(0x11a),[Ee[_0x1a3a6b(0x178)]]:_0x1a3a6b(0xa5),[Ee[_0x1a3a6b(0x275)]]:_0x1a3a6b(0x2d3),[Ee[_0x1a3a6b(0x204)]]:_0x1a3a6b(0x215),[Ee[_0x1a3a6b(0x18c)]]:_0x1a3a6b(0x39b)};let It=class extends _0x20578d{constructor(_0x3d4cf4,_0x1e883b,_0x4b0eb6,_0xd86e0a,_0x3d04ad,_0x4e1fa9,_0x3a54d4,_0x4a0456,_0xf81041){var _0x221047=_0x1a3a6b;super(),N(this,_0x221047(0x345),new _0x5c1b2c(0x0)),N(this,_0x221047(0x28e),this[_0x221047(0x345)][_0x221047(0x9d)]()),N(this,_0x221047(0x2b0),new _0x1b9930()),N(this,'event$',this[_0x221047(0x2b0)]['asObservable']()),N(this,_0x221047(0x137)),N(this,_0x221047(0x2ff)),N(this,'_collaborationTimeoutTimer'),N(this,_0x221047(0x2e5),!0x1),N(this,_0x221047(0x9f),null),(this[_0x221047(0x339)]=_0x3d4cf4,this['_logService']=_0x4b0eb6,this['_configService']=_0xd86e0a,this[_0x221047(0x16c)]=_0x3d04ad,this['_memberService']=_0x4e1fa9,this['_commentService']=_0x3a54d4,this[_0x221047(0x354)]=_0x4a0456,this[_0x221047(0x189)]=_0xf81041,this[_0x221047(0x2e5)]=!!this[_0x221047(0x189)],_0x1e883b['pipe'](_0x1131f9(this['dispose$']))['subscribe'](_0x4a1351=>{var _0x5c872e=_0x221047,_0x4168b7;typeof _0x4a1351>'u'||(this['_socket']=_0x4a1351,_0x4a1351?(this[_0x5c872e(0x251)](_0x4a1351),this['_socketMessageSubscription']=_0x4a1351[_0x5c872e(0x1ab)][_0x5c872e(0x175)](_0xb99ed4=>{var _0x3862c7=_0x5c872e;_0xb99ed4['routeKey']===this[_0x3862c7(0x339)]&&this[_0x3862c7(0x247)](_0xb99ed4);})):(this[_0x5c872e(0x253)](),this[_0x5c872e(0x345)][_0x5c872e(0x182)](0x2),(_0x4168b7=this['_socketMessageSubscription'])==null||_0x4168b7[_0x5c872e(0xfc)](),this[_0x5c872e(0x2ff)]=null));}));}get[_0x1a3a6b(0x167)](){var _0x37b5bf=_0x1a3a6b;return this[_0x37b5bf(0x345)][_0x37b5bf(0x19e)]();}[_0x1a3a6b(0xa9)](){var _0x652c99=_0x1a3a6b,_0x3e0ec0,_0x11a5bb;return(_0x11a5bb=(_0x3e0ec0=this[_0x652c99(0x137)])==null?void 0x0:_0x3e0ec0[_0x652c99(0x1b9)])!=null?_0x11a5bb:null;}[_0x1a3a6b(0xf0)](){var _0x48552a=_0x1a3a6b;super['dispose'](),this[_0x48552a(0x15a)][_0x48552a(0x182)](),this[_0x48552a(0x15a)][_0x48552a(0x37a)]();}[_0x1a3a6b(0x12a)](){var _0x4acfe4=_0x1a3a6b,_0x3bba24,_0x1b6feb;this[_0x4acfe4(0x253)](),(_0x3bba24=this[_0x4acfe4(0x137)])==null||_0x3bba24['send']({'cmd':F[_0x4acfe4(0xcd)],'data':{'roomID':this[_0x4acfe4(0x339)]}}),(_0x1b6feb=this['_socket'])==null||_0x1b6feb[_0x4acfe4(0x12a)](),this[_0x4acfe4(0x2b0)][_0x4acfe4(0x37a)](),this[_0x4acfe4(0x345)][_0x4acfe4(0x37a)](),this[_0x4acfe4(0xf0)]();}[_0x1a3a6b(0x247)](_0x2a64bf){var _0x2e9d88=_0x1a3a6b;_0x2a64bf['cmd']===F['JOIN']?this[_0x2e9d88(0x2f3)](_0x2a64bf):_0x2a64bf[_0x2e9d88(0x33d)]===F['RECV']&&this[_0x2e9d88(0x153)](_0x2a64bf);}[_0x1a3a6b(0x251)](_0x415583){var _0x5bbfb1=_0x1a3a6b;this['_sessionStatus$'][_0x5bbfb1(0x182)](0x1),_0x415583[_0x5bbfb1(0x174)]({'cmd':F[_0x5bbfb1(0x1a5)],'routeKey':this[_0x5bbfb1(0x339)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5bbfb1(0x339)]}]}});}[_0x1a3a6b(0x2f3)](_0x3b942d){var _0x4b9ba6=_0x1a3a6b,_0x1bfe15;if(_0x3b942d['code']in Yt){this[_0x4b9ba6(0x354)]['emitEvent']({'id':se[_0x4b9ba6(0x1f3)],'data':Yt[_0x3b942d[_0x4b9ba6(0x242)]]}),this['_sessionStatus$'][_0x4b9ba6(0x182)](0x2);return;}this['_sessionStatus$'][_0x4b9ba6(0x182)](0x3);const _0x11bbf4=(_0x1bfe15=_0x3b942d['data'][_0x4b9ba6(0x2bc)][this[_0x4b9ba6(0x339)]])==null?void 0x0:_0x1bfe15[_0x4b9ba6(0x217)];_0x11bbf4&&_0x11bbf4[_0x4b9ba6(0x33c)](_0x294fc2=>this[_0x4b9ba6(0xb9)][_0x4b9ba6(0xae)](this[_0x4b9ba6(0x339)],_0x294fc2));}['_onRecvEvent'](_0x1672e6){var _0x48723a=_0x1a3a6b;try{const _0x46b9cd=_0x1672e6[_0x48723a(0x22a)];switch(_0x46b9cd['eventID']){case _0x12854d[_0x48723a(0x17a)]:this['_onUserJoin'](_0x46b9cd),this[_0x48723a(0x2b0)][_0x48723a(0x182)](_0x46b9cd);break;case _0x12854d[_0x48723a(0x26b)]:this[_0x48723a(0x22c)](_0x46b9cd),this[_0x48723a(0x2b0)][_0x48723a(0x182)](_0x46b9cd);break;case _0x12854d[_0x48723a(0x162)]:case _0x12854d[_0x48723a(0xa1)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x48723a(0x336)](),this[_0x48723a(0x2b0)][_0x48723a(0x182)](_0x46b9cd);break;case _0x12854d[_0x48723a(0x120)]:this[_0x48723a(0x2d8)]['error'](_0x48723a(0xb6)+JSON[_0x48723a(0x1d1)](_0x46b9cd)),this[_0x48723a(0x2b0)][_0x48723a(0x182)](_0x46b9cd);break;case _0x12854d[_0x48723a(0xa0)]:this[_0x48723a(0x222)]['onCommentUpdate'](_0x46b9cd['data']),this[_0x48723a(0x2b0)][_0x48723a(0x182)](_0x46b9cd);break;default:this['_event$'][_0x48723a(0x182)](_0x46b9cd);}}catch(_0x19e5a9){this[_0x48723a(0x2d8)][_0x48723a(0x362)](_0x19e5a9,_0x1672e6);}}[_0x1a3a6b(0x133)](_0x454130){var _0x3ef302=_0x1a3a6b;this[_0x3ef302(0xb9)][_0x3ef302(0xae)](this['_unitID'],_0x454130['data']);}[_0x1a3a6b(0x22c)](_0x113e9a){var _0x25b61c=_0x1a3a6b;this[_0x25b61c(0xb9)]['removeMember'](this[_0x25b61c(0x339)],_0x113e9a[_0x25b61c(0x22a)]['memberID']);}async[_0x1a3a6b(0x174)](_0x2b702b,_0x4fac1a){var _0x424052=_0x1a3a6b;if(this[_0x424052(0x167)]!==0x3||!this[_0x424052(0x137)])throw new Error(_0x424052(0x25f));try{_0x2b702b[_0x424052(0xb3)]===_0x12854d[_0x424052(0x35c)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x424052(0x16d)](_0x2b702b)),this[_0x424052(0x137)][_0x424052(0x174)]({'cmd':F[_0x424052(0x180)],'routeKey':_0x4fac1a,'routeType':'','data':_0x2b702b});}catch(_0x4ac8e4){this[_0x424052(0x2d8)]['error'](_0x4ac8e4);}}[_0x1a3a6b(0x1d3)](){var _0x57bd7f=_0x1a3a6b,_0x597d31;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x3ee4a6=_0x2c36;this[_0x3ee4a6(0x27f)]=null,this['_collaborationUIEventService'][_0x3ee4a6(0x2fe)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x597d31=this[_0x57bd7f(0x2a4)][_0x57bd7f(0x268)](Si))!=null?_0x597d31:Ei);}[_0x1a3a6b(0x336)](){var _0x1888e9=_0x1a3a6b;this[_0x1888e9(0x27f)]&&(clearTimeout(this[_0x1888e9(0x27f)]),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x1d7762){var _0x1d6cf9=_0x1a3a6b;if(!this[_0x1d6cf9(0x2e5)])return;const {data:_0x466260}=_0x1d7762,{unitID:_0x45e651,changeset:_0x40810b}=_0x466260,{mutations:_0x1e7c58,type:_0x43bc21}=_0x40810b;this[_0x1d6cf9(0x9f)]={'unitId':_0x45e651,'type':_0x43bc21,'startTime':performance[_0x1d6cf9(0xe4)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x1e7c58)};}[_0x1a3a6b(0x34e)](){var _0xa148dd=_0x1a3a6b;if(this[_0xa148dd(0x2e5)]){if(!this[_0xa148dd(0x9f)]){this['_logService']['error']('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0xa148dd(0x9f)][_0xa148dd(0x1ce)]=performance[_0xa148dd(0xe4)](),this[_0xa148dd(0x9f)][_0xa148dd(0xf1)]=this[_0xa148dd(0x9f)]['stopTime']-this[_0xa148dd(0x9f)][_0xa148dd(0x193)],this[_0xa148dd(0x189)][_0xa148dd(0x31b)](Vn,this['_telemetryInfo']),this[_0xa148dd(0x9f)]=null;}}[_0x1a3a6b(0x253)](){var _0x58da05=_0x1a3a6b;this[_0x58da05(0x9f)]=null;}};It=Xn([me(0x2,_0x1ca28b),me(0x3,_0x4107ea),me(0x4,_0x5eebc2(_0x3c43d2)),me(0x5,_0x5eebc2(xe)),me(0x6,_0x5eebc2(Ri)),me(0x7,_0x5eebc2(pe)),me(0x8,_0x27b19f(_0x5787a1))],It);var Zn=Object['defineProperty'],Qn=Object[_0x1a3a6b(0xf3)],er=(_0x1a258e,_0x473fff,_0x48dd6f,_0x2960b4)=>{var _0x1fd433=_0x1a3a6b;for(var _0x4fe3d5=_0x2960b4>0x1?void 0x0:_0x2960b4?Qn(_0x473fff,_0x48dd6f):_0x473fff,_0x45278f=_0x1a258e[_0x1fd433(0x23f)]-0x1,_0x91ef7c;_0x45278f>=0x0;_0x45278f--)(_0x91ef7c=_0x1a258e[_0x45278f])&&(_0x4fe3d5=(_0x2960b4?_0x91ef7c(_0x473fff,_0x48dd6f,_0x4fe3d5):_0x91ef7c(_0x4fe3d5))||_0x4fe3d5);return _0x2960b4&&_0x4fe3d5&&Zn(_0x473fff,_0x48dd6f,_0x4fe3d5),_0x4fe3d5;},ge=(_0x3fc69c,_0x11ab50)=>(_0x4c4545,_0x4a2238)=>_0x11ab50(_0x4c4545,_0x4a2238,_0x3fc69c);let Le=class extends _0x15bf0d{constructor(_0x2dcbe0,_0x28bc26,_0x465b66,_0x24efd4,_0x484825,_0x38b3db,_0x43aac6){var _0x1632e3=_0x1a3a6b;super(),N(this,_0x1632e3(0x291),new _0x5c1b2c(void 0x0)),N(this,_0x1632e3(0x2a6),this[_0x1632e3(0x291)][_0x1632e3(0x9d)]()),N(this,_0x1632e3(0x32b),null),N(this,_0x1632e3(0x1a4),new Map()),N(this,'_status$',new _0x5c1b2c(Te[_0x1632e3(0x318)])),N(this,'status$',this[_0x1632e3(0x135)]['asObservable']()),N(this,_0x1632e3(0xee),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x1632e3(0xf6),0x0),N(this,_0x1632e3(0x33f)),N(this,_0x1632e3(0xb0)),(this[_0x1632e3(0x353)]=_0x2dcbe0,this[_0x1632e3(0x2d8)]=_0x28bc26,this[_0x1632e3(0x2a4)]=_0x465b66,this['_socketService']=_0x24efd4,this[_0x1632e3(0xd8)]=_0x484825,this[_0x1632e3(0x354)]=_0x38b3db,this[_0x1632e3(0x1d7)]=_0x43aac6,this['_listenToNetworkCondition']());}get[_0x1a3a6b(0x137)](){var _0x91c91a=_0x1a3a6b;return this['_socket$'][_0x91c91a(0x19e)]();}[_0x1a3a6b(0x2c9)](){var _0x12f270=_0x1a3a6b;this['_networkConditionService']&&this[_0x12f270(0x375)](this[_0x12f270(0x1d7)][_0x12f270(0xbd)][_0x12f270(0x175)](_0x427d44=>{var _0x4cc642=_0x12f270;_0x427d44&&!this['_socket']&&this[_0x4cc642(0x24a)](),_0x427d44||this[_0x4cc642(0x1df)]();}));}[_0x1a3a6b(0xf0)](){var _0x5528a2=_0x1a3a6b;super[_0x5528a2(0xf0)](),this[_0x5528a2(0x1a4)][_0x5528a2(0x33c)](_0x3efed8=>_0x3efed8[_0x5528a2(0xf0)]()),this['_sessions']['clear'](),this[_0x5528a2(0x135)][_0x5528a2(0x37a)]();}async['requireSession'](_0xe243f){var _0x410d0d=_0x1a3a6b;if(this[_0x410d0d(0x1a4)][_0x410d0d(0x239)](_0xe243f))return this['_sessions'][_0x410d0d(0x2f9)](_0xe243f);this['_tryEnsureSocket']();const _0x66117c=this[_0x410d0d(0x353)]['createInstance'](It,_0xe243f,this['_socket$'][_0x410d0d(0x9d)]());return this['_sessions'][_0x410d0d(0x389)](_0xe243f,_0x66117c),_0x66117c;}[_0x1a3a6b(0x35b)](_0x598413){var _0x37fa77=_0x1a3a6b,_0xabdf3c;const _0x1478b7=this['_sessions'][_0x37fa77(0x2f9)](_0x598413);_0x1478b7&&(this[_0x37fa77(0x1a4)][_0x37fa77(0xf4)](_0x598413),_0x1478b7[_0x37fa77(0x12a)]()),this['_sessions'][_0x37fa77(0x225)]||(_0xabdf3c=this['_socket'])==null||_0xabdf3c['close']();}[_0x1a3a6b(0x24a)](){var _0x13ec57=_0x1a3a6b;this['_retryCount']=0x0,this[_0x13ec57(0x38e)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x13ec57(0x38e)]=null),this['_tryReconnect']();}async[_0x1a3a6b(0x2b4)](){var _0x4405b4=_0x1a3a6b,_0x3b4161,_0x5a0579,_0x4a8b5d;const _0xaccf1f=this[_0x4405b4(0x2a4)][_0x4405b4(0x268)](q),_0x23a7b2=(_0x3b4161=_0xaccf1f==null?void 0x0:_0xaccf1f[_0x4405b4(0x1c7)])!=null?_0x3b4161:On;return(_0x4a8b5d=(_0x5a0579=(await this['_httpService']['get'](_0x23a7b2,{'headers':{'Content-Type':_0x4405b4(0x216)}}))[_0x4405b4(0x186)])==null?void 0x0:_0x5a0579[_0x4405b4(0x260)])!=null?_0x4a8b5d:'';}[_0x1a3a6b(0x1ae)](_0x65e444){var _0x24d7bb=_0x1a3a6b,_0x42789f,_0x41c61c;const _0x27cb46=this['_configService'][_0x24d7bb(0x268)](Rn),_0xf944cb=this['_configService'][_0x24d7bb(0x268)](q),_0x125a11=(_0x41c61c=(_0x42789f=_0xf944cb==null?void 0x0:_0xf944cb[_0x24d7bb(0xd0)])!=null?_0x42789f:_0x27cb46)!=null?_0x41c61c:bn,_0x3453c2=typeof window>'u'?new URL(_0x125a11):new URL(_0x125a11,window['location']['origin']);_0x3453c2[_0x24d7bb(0x194)][_0x24d7bb(0x389)](_0x24d7bb(0x1d8),_0x65e444);const _0x3c422c=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x24d7bb(0x11e)][_0x24d7bb(0x161)]);return _0x3c422c[_0x24d7bb(0x2f9)](_0x24d7bb(0x181))&&_0x3453c2[_0x24d7bb(0x194)][_0x24d7bb(0x389)](_0x24d7bb(0x181),_0x3c422c[_0x24d7bb(0x2f9)](_0x24d7bb(0x181))),_0x3453c2[_0x24d7bb(0x377)]();}async[_0x1a3a6b(0x1e9)](){var _0x37747d=_0x1a3a6b;const _0x92c77b=await this['_getSessionTicket'](),_0x43f01e=this[_0x37747d(0x1ae)](_0x92c77b),_0x8e2769=this[_0x37747d(0x18d)][_0x37747d(0x369)](_0x43f01e);return this[_0x37747d(0x32b)]=_0x8e2769,_0x8e2769;}async['_tryEnsureSocket'](){var _0x430ea9=_0x1a3a6b,_0xeaf8cb,_0x52ac25;try{const _0x1ff605=(_0x52ac25=(_0xeaf8cb=this[_0x430ea9(0x137)])!=null?_0xeaf8cb:this[_0x430ea9(0x32b)])!=null?_0x52ac25:await this[_0x430ea9(0x1e9)]();if(_0x1ff605){const _0x65a82d=_0x1ff605['send'];_0x1ff605[_0x430ea9(0x174)]=_0x6e6404=>(this[_0x430ea9(0xa3)](),_0x65a82d[_0x430ea9(0x12e)](_0x1ff605,[_0x6e6404])),_0x1ff605[_0x430ea9(0x1ab)]['subscribe'](_0x4f2080=>this[_0x430ea9(0x201)](_0x1ff605,_0x4f2080)),_0x1ff605[_0x430ea9(0x30b)][_0x430ea9(0x114)](_0x67184a(0x1))[_0x430ea9(0x175)](_0x17f0c6=>this[_0x430ea9(0x2d8)][_0x430ea9(0x362)](_0x430ea9(0x10b),_0x17f0c6)),_0x1ff605[_0x430ea9(0x308)][_0x430ea9(0x114)](_0x67184a(0x1))[_0x430ea9(0x175)](()=>{var _0x5350c7=_0x430ea9;this[_0x5350c7(0x2c5)](_0x1ff605);}),_0x1ff605[_0x430ea9(0x179)][_0x430ea9(0x114)](_0x67184a(0x1))[_0x430ea9(0x175)](_0x5ae4ab=>{var _0x4713e0=_0x430ea9;this[_0x4713e0(0x2d8)]['debug'](_0x4713e0(0x1a8),_0x4713e0(0x397),_0x5ae4ab),this[_0x4713e0(0x1bd)]();});}}catch(_0xbdab1){this[_0x430ea9(0x2d8)][_0x430ea9(0x362)](_0xbdab1),this[_0x430ea9(0x1bd)]();}}[_0x1a3a6b(0x2c5)](_0x523c1b){var _0x1864db=_0x1a3a6b;this['_logService']['debug']('[CollaborationSessionService]','socket\x20open.'),_0x523c1b[_0x1864db(0x174)]({'cmd':F[_0x1864db(0x26f)]}),this[_0x1864db(0xa3)]();}[_0x1a3a6b(0x1df)](){var _0x4c40c1=_0x1a3a6b;this[_0x4c40c1(0xee)]=!0x1,this[_0x4c40c1(0x32b)]=null,this['_status$'][_0x4c40c1(0x182)](Te[_0x4c40c1(0x1dc)]),this[_0x4c40c1(0x291)][_0x4c40c1(0x182)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x1a3a6b(0x1bd)](){var _0x53c1aa=_0x1a3a6b,_0x22fa86;this[_0x53c1aa(0x1df)](),this['_retryCount']<((_0x22fa86=this['_configService'][_0x53c1aa(0x268)](Pn))!=null?_0x22fa86:wn)?(this['_collaborationUIEventService']['emitEvent']({'id':se[_0x53c1aa(0x2aa)]}),this[_0x53c1aa(0x390)]()):this[_0x53c1aa(0x354)][_0x53c1aa(0x2fe)]({'id':se[_0x53c1aa(0xd3)]});}['_tryReconnect'](){var _0x1bd781=_0x1a3a6b,_0x426762;const _0x15a8cf=this[_0x1bd781(0xf6)],_0x443815=this[_0x1bd781(0x2a4)][_0x1bd781(0x268)](q),_0xfb447d=_0x15a8cf===0x0?0x0:((_0x426762=_0x443815==null?void 0x0:_0x443815[_0x1bd781(0x149)])!=null?_0x426762:Dn)*0x2**_0x15a8cf;this['_retryConnectingTimer']=setTimeout(()=>{var _0x387bb1=_0x1bd781;clearTimeout(this[_0x387bb1(0x38e)]),this['_retryConnectingTimer']=null,this[_0x387bb1(0x2c7)]();},_0xfb447d),this['_retryCount']+=0x1;}[_0x1a3a6b(0x201)](_0x275555,_0x25abb1){var _0x1c77fd=_0x1a3a6b;const {cmd:_0x57aa95}=_0x25abb1;_0x57aa95===F[_0x1c77fd(0x26f)]&&!this[_0x1c77fd(0xee)]&&(_0x275555[_0x1c77fd(0x1b9)]=_0x25abb1[_0x1c77fd(0x22a)][_0x1c77fd(0x1b9)],this['_socket$'][_0x1c77fd(0x182)](_0x275555),this[_0x1c77fd(0x135)][_0x1c77fd(0x182)](Te['ONLINE']),this['_socketReady']=!0x0,this[_0x1c77fd(0x32b)]=null),_0x57aa95===F[_0x1c77fd(0x392)]&&this['_clearTimeoutTimer'](),this[_0x1c77fd(0xa3)]();}[_0x1a3a6b(0xa3)](){var _0x250444=_0x1a3a6b,_0x42d9e9;this[_0x250444(0x1b5)](),this[_0x250444(0x33f)]=setTimeout(()=>this[_0x250444(0x34b)](),(_0x42d9e9=this['_configService'][_0x250444(0x268)](yn))!=null?_0x42d9e9:Nn);}['_sendHeartbeat'](){var _0x5687dd=_0x1a3a6b;this[_0x5687dd(0x137)][_0x5687dd(0x174)]({'cmd':F[_0x5687dd(0x392)]}),this[_0x5687dd(0x310)]();}['_waitForHeartbeatResponse'](){var _0x3ac78d=_0x1a3a6b,_0x10dcaf;this[_0x3ac78d(0xb0)]=setTimeout(()=>this[_0x3ac78d(0x1bd)](),(_0x10dcaf=this['_configService'][_0x3ac78d(0x268)](Si))!=null?_0x10dcaf:Ei);}[_0x1a3a6b(0x1b5)](){var _0x54bb50=_0x1a3a6b;this[_0x54bb50(0x33f)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x54bb50(0x33f)]=null);}[_0x1a3a6b(0x139)](){var _0x2ca514=_0x1a3a6b;this[_0x2ca514(0xb0)]!=null&&(clearTimeout(this[_0x2ca514(0xb0)]),this[_0x2ca514(0xb0)]=null);}};Le=er([ge(0x0,_0x5eebc2(_0x54e9ab)),ge(0x1,_0x1ca28b),ge(0x2,_0x4107ea),ge(0x3,Ci),ge(0x4,_0x5eebc2(_0x5b5c45)),ge(0x5,_0x5eebc2(pe)),ge(0x6,_0x27b19f(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x1a3a6b(0x126)]((n+0x100)[_0x1a3a6b(0x377)](0x10)[_0x1a3a6b(0x337)](0x1));function tr(_0x4aaf4f,_0xe8426=0x0){var _0x11f26e=_0x1a3a6b;return(V[_0x4aaf4f[_0xe8426+0x0]]+V[_0x4aaf4f[_0xe8426+0x1]]+V[_0x4aaf4f[_0xe8426+0x2]]+V[_0x4aaf4f[_0xe8426+0x3]]+'-'+V[_0x4aaf4f[_0xe8426+0x4]]+V[_0x4aaf4f[_0xe8426+0x5]]+'-'+V[_0x4aaf4f[_0xe8426+0x6]]+V[_0x4aaf4f[_0xe8426+0x7]]+'-'+V[_0x4aaf4f[_0xe8426+0x8]]+V[_0x4aaf4f[_0xe8426+0x9]]+'-'+V[_0x4aaf4f[_0xe8426+0xa]]+V[_0x4aaf4f[_0xe8426+0xb]]+V[_0x4aaf4f[_0xe8426+0xc]]+V[_0x4aaf4f[_0xe8426+0xd]]+V[_0x4aaf4f[_0xe8426+0xe]]+V[_0x4aaf4f[_0xe8426+0xf]])[_0x11f26e(0x2bd)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x30539e=_0x1a3a6b;if(!ut){if(typeof crypto>'u'||!crypto[_0x30539e(0x311)])throw new Error(_0x30539e(0x18e));ut=crypto[_0x30539e(0x311)][_0x30539e(0x31e)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x1a3a6b(0x31e)](crypto),qt={'randomUUID':rr};function sr(_0x2965d2,_0x1be1ee,_0x4cb4a1){var _0x4b9552=_0x1a3a6b,_0x517c8b,_0x596841,_0x400d4e;if(qt[_0x4b9552(0x2cc)]&&!_0x2965d2)return qt[_0x4b9552(0x2cc)]();_0x2965d2=_0x2965d2||{};const _0x1a426b=(_0x400d4e=(_0x596841=_0x2965d2['random'])!=null?_0x596841:(_0x517c8b=_0x2965d2[_0x4b9552(0x285)])==null?void 0x0:_0x517c8b[_0x4b9552(0x106)](_0x2965d2))!=null?_0x400d4e:nr();if(_0x1a426b[_0x4b9552(0x23f)]<0x10)throw new Error(_0x4b9552(0x2fd));return _0x1a426b[0x6]=_0x1a426b[0x6]&0xf|0x40,_0x1a426b[0x8]=_0x1a426b[0x8]&0x3f|0x80,tr(_0x1a426b);}const J=_0x9ba8fb(_0x1a3a6b(0xfb));function so(_0x4247b5){var _0x40d2ec=_0x1a3a6b;return _0x40d2ec(0x307)+_0x4247b5;}var or=Object[_0x1a3a6b(0x1fd)],ar=Object[_0x1a3a6b(0xf3)],cr=(_0x3753a2,_0x4740eb,_0x297f71,_0x5e587b)=>{for(var _0x318976=_0x5e587b>0x1?void 0x0:_0x5e587b?ar(_0x4740eb,_0x297f71):_0x4740eb,_0x29d0f9=_0x3753a2['length']-0x1,_0x8a94be;_0x29d0f9>=0x0;_0x29d0f9--)(_0x8a94be=_0x3753a2[_0x29d0f9])&&(_0x318976=(_0x5e587b?_0x8a94be(_0x4740eb,_0x297f71,_0x318976):_0x8a94be(_0x318976))||_0x318976);return _0x5e587b&&_0x318976&&or(_0x4740eb,_0x297f71,_0x318976),_0x318976;},dt=(_0x56da1a,_0x1a2240)=>(_0x34d75b,_0x40cb2b)=>_0x1a2240(_0x34d75b,_0x40cb2b,_0x56da1a);function hr(_0x3476f6){var _0x1565e0=_0x1a3a6b;const {unitID:_0x7b198b,mutations:_0x55ff57}=_0x3476f6;return{'unitId':_0x7b198b,'subUnitId':_0x55ff57[0x0][_0x1565e0(0x1ed)]['subUnitId']};}let it=class{constructor(_0x4d0f25,_0x3d94f7,_0x26658e){var _0x3a0a73=_0x1a3a6b;this[_0x3a0a73(0x353)]=_0x4d0f25,this[_0x3a0a73(0x286)]=_0x3d94f7,this[_0x3a0a73(0x36c)]=_0x26658e;}[_0x1a3a6b(0x197)](_0x183f04){var _0x5c7c60=_0x1a3a6b,_0x162bf7,_0x27efba,_0x2074d3,_0x54d7c2;const _0x45cb21=this[_0x5c7c60(0x353)][_0x5c7c60(0x2f9)](_0x299d1f),{unitId:_0x12a77d,subUnitId:_0x43b09d}=hr(_0x183f04),_0x374296=_0x45cb21==null?void 0x0:_0x45cb21[_0x5c7c60(0x191)](_0x12a77d)[_0x5c7c60(0xaa)](),_0x27d1a2=(_0x27efba=(_0x162bf7=this[_0x5c7c60(0x36c)][_0x5c7c60(0x317)](_0x12a77d))==null?void 0x0:_0x162bf7[_0x5c7c60(0x158)]())==null?void 0x0:_0x27efba[_0x5c7c60(0x1d9)]();if(_0x374296[_0x5c7c60(0x23f)]===0x0||!_0x12a77d||!_0x43b09d)return;const _0x9884f9=[{'id':_0x1ac112['id'],'params':{'unitId':_0x12a77d,'subUnitId':_0x27d1a2,'selections':_0x282cb2['deepClone'](_0x374296)}}],_0x2b68e6=this[_0x5c7c60(0x286)]['transformMutationsWithChangeset'](_0x183f04,_0x9884f9);if(!_0x52e85a(_0x2b68e6))throw _0x2b68e6[_0x5c7c60(0x362)];const _0x4f380e=(_0x54d7c2=(_0x2074d3=_0x2b68e6[_0x5c7c60(0x2dd)][0x0])==null?void 0x0:_0x2074d3[_0x5c7c60(0x1ed)])==null?void 0x0:_0x54d7c2['selections'];if(Array[_0x5c7c60(0x28d)](_0x4f380e)&&_0x4f380e[_0x5c7c60(0x23f)]){if(_0x4f380e[_0x5c7c60(0x23f)]===_0x9884f9[0x0]['params'][_0x5c7c60(0x130)][_0x5c7c60(0x23f)]&&_0x4f380e[_0x5c7c60(0x1b0)]((_0x2a395a,_0x2cd64d)=>_0x57aa7b[_0x5c7c60(0x264)](_0x2a395a['range'],_0x9884f9[0x0][_0x5c7c60(0x1ed)]['selections'][_0x2cd64d][_0x5c7c60(0x36a)])))return;this[_0x5c7c60(0x353)]['get'](_0x572fdd)['executeCommand'](_0x1ac112['id'],{'unitId':_0x12a77d,'subUnitId':_0x27d1a2,'selections':_0x4f380e});}}};it=cr([dt(0x0,_0x5eebc2(_0x54e9ab)),dt(0x1,_0x2b6404),dt(0x2,_0x42a1e9)],it);const ht=_0x9ba8fb(_0x1a3a6b(0x2e4));var bi=(_0x459ab3=>(_0x459ab3[_0x459ab3[_0x1a3a6b(0x2a2)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x459ab3[_0x459ab3[_0x1a3a6b(0x266)]=0x1]='OTHER_CLIENTS_EDITING',_0x459ab3))(bi||{});const _r=new Set([_0x4ae0ea['id']]);function zt(_0x4f2474,_0x41fae3,_0x525d8b,_0x44bb61,_0x5ee705){var _0x17e79=_0x1a3a6b,_0x5b0d01,_0x1e5b12,_0x39881e,_0x59e763;const _0x8776d=[];for(const _0x4eabf0 of _0x4f2474)if(_r[_0x17e79(0x239)](_0x4eabf0['id'])){if(_0x8776d['length']>0x0)break;_0x8776d[_0x17e79(0x126)](_0x4eabf0);break;}else _0x8776d['push'](_0x4eabf0);const _0x862880=(_0x1e5b12=(_0x5b0d01=_0x5ee705[_0x17e79(0x240)]())==null?void 0x0:_0x5b0d01[_0x17e79(0x2b2)])!=null?_0x1e5b12:_0x17e79(0x370),_0x353356=(_0x59e763=(_0x39881e=_0x5ee705[_0x17e79(0x240)]())==null?void 0x0:_0x39881e[_0x17e79(0x1b9)])!=null?_0x59e763:'unknown';return{'changeset':{'unitID':_0x41fae3,'type':_0x374c9f(_0x525d8b[_0x17e79(0x37d)](_0x41fae3)),'baseRev':_0x44bb61[_0x17e79(0x166)](_0x41fae3),'revision':0x0,'userID':_0x862880,'memberID':_0x353356,'mutations':_0x8776d},'pendingMutations':_0x4f2474[_0x17e79(0x337)](_0x8776d['length'])};}function lr(_0x4aafaf,_0x273e25,_0x187a66,_0x40b942,_0x344584){var _0x2ce3fc=_0x1a3a6b,_0x3a9993,_0xe65eb,_0x408e5b,_0x5d0047;const _0x552fb4=[_0x4aafaf[_0x2ce3fc(0x321)]((_0x55cdb0,_0x3c387d)=>{var _0x513e96=_0x2ce3fc,_0x5cab22;const {id:_0x5ad902}=_0x55cdb0,{id:_0x44eba0,type:_0x133b4f}=_0x3c387d,_0x253af2=(_0x5cab22=_0x55cdb0[_0x513e96(0x1ed)])!=null?_0x5cab22:{'actions':null},_0x35c486=_0x3c387d['params'];if(_0x5ad902&&_0x5ad902!==_0x44eba0)throw new Error(_0x513e96(0xec)+_0x5ad902+_0x513e96(0x218)+_0x44eba0+'.');return{..._0x55cdb0,'id':_0x44eba0,'type':_0x133b4f,'params':{'unitId':_0x35c486[_0x513e96(0x1fc)],'textRanges':_0x35c486[_0x513e96(0x2ef)],'actions':_0x55f872['compose'](_0x253af2[_0x513e96(0x2ce)],_0x35c486[_0x513e96(0x2ce)])}};},{})],_0x4dc6f8=(_0xe65eb=(_0x3a9993=_0x344584[_0x2ce3fc(0x240)]())==null?void 0x0:_0x3a9993[_0x2ce3fc(0x2b2)])!=null?_0xe65eb:_0x2ce3fc(0x370),_0xb46dd8=(_0x5d0047=(_0x408e5b=_0x344584[_0x2ce3fc(0x240)]())==null?void 0x0:_0x408e5b[_0x2ce3fc(0x1b9)])!=null?_0x5d0047:_0x2ce3fc(0x370);return{'changeset':{'unitID':_0x273e25,'type':_0x374c9f(_0x187a66[_0x2ce3fc(0x37d)](_0x273e25)),'baseRev':_0x40b942[_0x2ce3fc(0x166)](_0x273e25),'revision':0x0,'userID':_0x4dc6f8,'memberID':_0xb46dd8,'mutations':_0x552fb4},'pendingMutations':[]};}function Oi(_0x5ac98e,_0x3a224a){var _0x4429d5=_0x1a3a6b;const _0x3dece4=new _0xd72070(0x1);return setTimeout(()=>_0x3dece4[_0x4429d5(0x182)](_0x3a224a),_0x5ac98e),_0x3dece4['asObservable']()[_0x4429d5(0x114)](_0x4ef5b4(0x1));}const ur={'id':_0x4c85f6['id'],'type':_0x1d7b02[_0x1a3a6b(0x141)],'params':{}};var dr=Object[_0x1a3a6b(0x1fd)],fr=Object[_0x1a3a6b(0xf3)],Re=(_0x30587c,_0x3c2dca,_0x1e10c5,_0x1d27bc)=>{var _0x207f6e=_0x1a3a6b;for(var _0x3f09ae=_0x1d27bc>0x1?void 0x0:_0x1d27bc?fr(_0x3c2dca,_0x1e10c5):_0x3c2dca,_0x2dad3c=_0x30587c[_0x207f6e(0x23f)]-0x1,_0x4ffce9;_0x2dad3c>=0x0;_0x2dad3c--)(_0x4ffce9=_0x30587c[_0x2dad3c])&&(_0x3f09ae=(_0x1d27bc?_0x4ffce9(_0x3c2dca,_0x1e10c5,_0x3f09ae):_0x4ffce9(_0x3f09ae))||_0x3f09ae);return _0x1d27bc&&_0x3f09ae&&dr(_0x3c2dca,_0x1e10c5,_0x3f09ae),_0x3f09ae;},A=(_0x309712,_0x4648a2)=>(_0x46152b,_0x5d7a5f)=>_0x4648a2(_0x46152b,_0x5d7a5f,_0x309712),yi=(_0x3d3cf1=>(_0x3d3cf1[_0x1a3a6b(0x205)]=_0x1a3a6b(0x243),_0x3d3cf1['SYNCED']=_0x1a3a6b(0x30a),_0x3d3cf1['PENDING']='pending',_0x3d3cf1[_0x1a3a6b(0x206)]=_0x1a3a6b(0x2b6),_0x3d3cf1[_0x1a3a6b(0x1f7)]=_0x1a3a6b(0x147),_0x3d3cf1[_0x1a3a6b(0x23b)]=_0x1a3a6b(0x104),_0x3d3cf1[_0x1a3a6b(0x34d)]=_0x1a3a6b(0x349),_0x3d3cf1[_0x1a3a6b(0x1dc)]='offline',_0x3d3cf1))(yi||{});const Ni=0xea60;class be{constructor(_0x381fb9,_0x35e97a,_0x496f08,_0x3bda4e,_0x7dd66a,_0x1df2fa,_0x1062ee,_0x4bf924,_0x1b50de){var _0x36cf9d=_0x1a3a6b;N(this,'_awaitingChangeset',null),N(this,_0x36cf9d(0xa6),[]),(this['unitID']=_0x381fb9,this[_0x36cf9d(0x284)]=_0x35e97a,this[_0x36cf9d(0xe9)]=_0x7dd66a,this['_commandService']=_0x1df2fa,this[_0x36cf9d(0x231)]=_0x1062ee,this[_0x36cf9d(0x323)]=_0x4bf924,this[_0x36cf9d(0x324)]=_0x1b50de,this[_0x36cf9d(0x2d6)]=_0x496f08,this['_pendingMutations']=_0x3bda4e);}[_0x1a3a6b(0x177)](_0x3b33fb){var _0x21c9b6=_0x1a3a6b;const _0x45d078=this['_revisionService'][_0x21c9b6(0x166)](this[_0x21c9b6(0x19d)]);return _0x3b33fb['revision']>_0x45d078+0x1?(this[_0x21c9b6(0xe9)][_0x21c9b6(0x1c0)]({'from':_0x45d078,'to':_0x3b33fb[_0x21c9b6(0x1ec)]-0x1}),!0x0):!0x1;}[_0x1a3a6b(0x1e4)](_0x1dcc20){var _0x2e3e51=_0x1a3a6b;this['_undoRedoService'][_0x2e3e51(0x2ed)](this['unitID'],_0x1dcc20);}['_transformSelections'](_0x4c2754){var _0x140d9c=_0x1a3a6b,_0x3616a5,_0x5018d0;(_0x5018d0=(_0x3616a5=this['_handler'])[_0x140d9c(0x28b)])==null||_0x5018d0[_0x140d9c(0x106)](_0x3616a5,_0x4c2754);}[_0x1a3a6b(0x1d6)](_0x5628b0){var _0x101049=_0x1a3a6b,_0x51f07a,_0x2ad58a;return(_0x2ad58a=(_0x51f07a=this[_0x101049(0xe9)])[_0x101049(0xc1)])==null?void 0x0:_0x2ad58a['call'](_0x51f07a,_0x5628b0);}[_0x1a3a6b(0x37f)](_0x591491){var _0xee8e84=_0x1a3a6b,_0x18fe80,_0x17ada5;return(_0x17ada5=(_0x18fe80=this[_0xee8e84(0xe9)])[_0xee8e84(0x274)])==null?void 0x0:_0x17ada5[_0xee8e84(0x106)](_0x18fe80,_0x591491);}[_0x1a3a6b(0x313)](_0x100b79){var _0x2a9a73=_0x1a3a6b,_0x5450b5,_0x137a65,_0x530e76;return(_0x530e76=(_0x137a65=(_0x5450b5=this[_0x2a9a73(0xe9)])[_0x2a9a73(0x121)])==null?void 0x0:_0x137a65[_0x2a9a73(0x106)](_0x5450b5,_0x100b79))!=null?_0x530e76:_0x100b79;}[_0x1a3a6b(0x348)](_0x4e306e){var _0x2ff708=_0x1a3a6b,_0x2030f0,_0x56e2f3,_0x13f2d8;return(_0x13f2d8=(_0x56e2f3=(_0x2030f0=this[_0x2ff708(0xe9)])[_0x2ff708(0xd2)])==null?void 0x0:_0x56e2f3[_0x2ff708(0x106)](_0x2030f0,_0x4e306e))!=null?_0x13f2d8:_0x4e306e;}[_0x1a3a6b(0x301)](_0xdbf28b){var _0x59fe86=_0x1a3a6b,_0x8c5415,_0xe23ad3;if(this[_0x59fe86(0x284)]===Q[_0x59fe86(0xef)]){const {unitID:_0x5c0f24,mutations:_0x2a58fc,memberID:_0xefa80d}=_0xdbf28b,_0x1507db=_0x2a58fc[0x0][_0x59fe86(0x1ed)]['textRanges'];Array[_0x59fe86(0x28d)](_0x1507db)&&_0x1507db[_0x59fe86(0x23f)]>0x0&&((_0xe23ad3=(_0x8c5415=this[_0x59fe86(0xe9)])[_0x59fe86(0x32a)])==null||_0xe23ad3[_0x59fe86(0x106)](_0x8c5415,{'unitID':_0x5c0f24,'memberID':_0xefa80d,'textRanges':_0x1507db}));}}[_0x1a3a6b(0x248)](){var _0x497e6f=_0x1a3a6b,_0x3d84ef;(_0x3d84ef=this[_0x497e6f(0x324)])==null||_0x3d84ef['updateOfflineData'](this[_0x497e6f(0x19d)],this[_0x497e6f(0x284)],this[_0x497e6f(0x2d6)],this['_pendingMutations']);}[_0x1a3a6b(0x11c)](){var _0x45202c=_0x1a3a6b;return this[_0x45202c(0x323)][_0x45202c(0x166)](this[_0x45202c(0x19d)]);}['_incrementRevisionNumber'](){var _0x2d206c=_0x1a3a6b;this['_revisionService'][_0x2d206c(0x2cb)](this[_0x2d206c(0x19d)]);}[_0x1a3a6b(0x1e0)](_0x594fe0){var _0x3e4d2a=_0x1a3a6b,_0x5e83b5;let _0x39fa23=this['_transformRemoteChangesetByIMECache'](_0x594fe0);_0x39fa23=this['_transformRemoteChangesetByStateCache'](_0x39fa23);const _0x4a3951=_0x2ca4cb(_0x39fa23[_0x3e4d2a(0x142)],this[_0x3e4d2a(0x16e)],{'fromCollab':!0x0});if(!_0x4a3951[_0x3e4d2a(0x21c)])throw _0x4a3951[_0x3e4d2a(0x362)]instanceof Error?_0x4a3951[_0x3e4d2a(0x362)]:new Error((_0x5e83b5=_0x4a3951[_0x3e4d2a(0x362)])!=null?_0x5e83b5:_0x3e4d2a(0x2ba));this['_transformIMECache'](_0x39fa23),this[_0x3e4d2a(0x37f)](_0x39fa23),this[_0x3e4d2a(0x1e4)](_0x594fe0),this[_0x3e4d2a(0x234)](_0x39fa23),this[_0x3e4d2a(0x301)](_0x39fa23),this[_0x3e4d2a(0x2bb)]();}}let De=class extends be{constructor(_0x4d1e2f,_0x5a563f,_0x1e7f7d,_0x103c0a,_0x4bdda8,_0x436e46,_0x34a1f4,_0x5de24d,_0xcdbdd4,_0x2ae061){var _0x427005=_0x1a3a6b;super(_0x4d1e2f,_0x5a563f,null,[],_0x1e7f7d,_0x34a1f4,_0x436e46,_0x103c0a,_0x2ae061),N(this,_0x427005(0x39a),_0x427005(0x30a)),(this[_0x427005(0x353)]=_0x4bdda8,this[_0x427005(0x2d8)]=_0x5de24d,this[_0x427005(0x286)]=_0xcdbdd4,this[_0x427005(0x196)]=_0x2ae061);}[_0x1a3a6b(0x10c)](_0x5767ea){var _0x142993=_0x1a3a6b;const _0x47633b=this[_0x142993(0x353)]['createInstance'](oe,this[_0x142993(0x19d)],this['type'],[_0x5767ea],this[_0x142993(0xe9)]);return _0x47633b[_0x142993(0x20c)](),_0x47633b['_updateLocalCache'](),_0x47633b;}[_0x1a3a6b(0x2e7)](_0x5ccef0){var _0x443e84=_0x1a3a6b;if(this['_checkMissing'](_0x5ccef0))return this[_0x443e84(0x353)][_0x443e84(0x2e6)](te,this['unitID'],this[_0x443e84(0x284)],null,[],null,[_0x5ccef0],this[_0x443e84(0xe9)]);try{const _0xd511c4=this[_0x443e84(0x286)][_0x443e84(0x1de)](_0x5ccef0,[ur]);if(_0x52e85a(_0xd511c4)){const {c1Prime:_0x5ac019}=_0xd511c4;return this[_0x443e84(0x1e0)](_0x5ac019),this;}throw _0xd511c4['error'];}catch(_0x28f6d4){return this[_0x443e84(0x2d8)][_0x443e84(0x362)](_0x28f6d4),this[_0x443e84(0x10a)](!0x1);}}[_0x1a3a6b(0x10a)](_0x55c1d1){var _0x46e9f6=_0x1a3a6b;return this['_injector'][_0x46e9f6(0x2e6)](de,this[_0x46e9f6(0x19d)],this[_0x46e9f6(0x284)],null,[],this['_handler'],_0x55c1d1);}[_0x1a3a6b(0xd4)](){var _0x95d0c4=_0x1a3a6b;throw new Error(_0x95d0c4(0x1e1));}[_0x1a3a6b(0x192)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x1a3a6b(0x25d)](){return this;}[_0x1a3a6b(0x281)](){var _0x16ec9e=_0x1a3a6b;return this[_0x16ec9e(0x353)][_0x16ec9e(0x2e6)](fe,this[_0x16ec9e(0x19d)],this[_0x16ec9e(0x284)],null,[],this[_0x16ec9e(0xe9)]);}[_0x1a3a6b(0x250)](){return this;}[_0x1a3a6b(0x36f)](){var _0x2d5028=_0x1a3a6b;throw new Error(_0x2d5028(0x332));}['fetchMiss'](){var _0x4f8e13=_0x1a3a6b;const _0x7e982d=this[_0x4f8e13(0x323)][_0x4f8e13(0x166)](this[_0x4f8e13(0x19d)]);return this[_0x4f8e13(0xe9)]['onMissingChangesets']({'from':_0x7e982d,'to':0x0}),this['_injector'][_0x4f8e13(0x2e6)](te,this[_0x4f8e13(0x19d)],this[_0x4f8e13(0x284)],null,[],null,[],this[_0x4f8e13(0xe9)]);}};De=Re([A(0x3,_0x5eebc2(_0x5b78cb)),A(0x4,_0x5eebc2(_0x54e9ab)),A(0x5,_0x1ca1a7),A(0x6,_0x572fdd),A(0x7,_0x1ca28b),A(0x8,_0x2b6404),A(0x9,_0x27b19f(J))],De);let oe=class extends be{constructor(_0x59d30e,_0x311619,_0x2d7580,_0x4a1133,_0x3ad5cc,_0x32d03f,_0x50ff1e,_0x130ce4,_0x447fef,_0x213f86,_0x2cdf22,_0x43def3,_0x46d96a,_0x509cf2){var _0x15fbe2=_0x1a3a6b;super(_0x59d30e,_0x311619,null,_0x2d7580,_0x4a1133,_0x447fef,_0x46d96a,_0x32d03f,_0x509cf2),N(this,_0x15fbe2(0x39a),_0x15fbe2(0x13b)),N(this,_0x15fbe2(0x27a),null),N(this,_0x15fbe2(0x277),null),(this['_injector']=_0x3ad5cc,this[_0x15fbe2(0xb9)]=_0x50ff1e,this['_logService']=_0x130ce4,this[_0x15fbe2(0x2a4)]=_0x213f86,this[_0x15fbe2(0x286)]=_0x2cdf22,this[_0x15fbe2(0x1d5)]=_0x43def3);}[_0x1a3a6b(0x10c)](_0x5c3239){var _0x562e78=_0x1a3a6b;return this[_0x562e78(0xa6)][_0x562e78(0x126)](_0x5c3239),this['_updateLocalCache'](),this;}[_0x1a3a6b(0x2e7)](_0x371a5a){var _0x28ca7a=_0x1a3a6b;if(this['_checkMissing'](_0x371a5a))return this[_0x28ca7a(0x1ac)](),this[_0x28ca7a(0x353)][_0x28ca7a(0x2e6)](te,this[_0x28ca7a(0x19d)],this[_0x28ca7a(0x284)],null,this[_0x28ca7a(0xa6)],null,[_0x371a5a],this['_handler']);try{const _0x45d922=this['_transformService'][_0x28ca7a(0x1de)](_0x371a5a,this[_0x28ca7a(0xa6)]);if(_0x52e85a(_0x45d922)){const {c1Prime:_0x4afe4b,m2Prime:_0x52a4a7}=_0x45d922;this['_executeRemoteChangeset'](_0x4afe4b);const _0x26a705=this['_injector']['createInstance'](oe,this[_0x28ca7a(0x19d)],this['type'],_0x52a4a7,this[_0x28ca7a(0xe9)]);this[_0x28ca7a(0x1ac)]();const _0x23a6da=new Date()[_0x28ca7a(0x1cd)](),_0x56d2d6=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x28ca7a(0x27a)]-_0x23a6da,0x0):this[_0x28ca7a(0x20b)]();return _0x26a705[_0x28ca7a(0x20c)](_0x56d2d6),_0x26a705;}throw _0x45d922['error'];}catch(_0x523ac0){return this[_0x28ca7a(0x2d8)]['error'](_0x523ac0),this[_0x28ca7a(0x10a)](!0x1);}}[_0x1a3a6b(0xd4)](){var _0x18c593=_0x1a3a6b;throw new Error(_0x18c593(0xc4));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x1a3a6b(0x25d)](){return this;}[_0x1a3a6b(0x281)](){var _0xc07c5f=_0x1a3a6b;return this[_0xc07c5f(0x1ac)](),this[_0xc07c5f(0x353)][_0xc07c5f(0x2e6)](fe,this[_0xc07c5f(0x19d)],this['type'],null,this[_0xc07c5f(0xa6)],this[_0xc07c5f(0xe9)]);}[_0x1a3a6b(0x250)](){return this;}[_0x1a3a6b(0x20c)](_0x1ce00a){var _0x288773=_0x1a3a6b;const _0x41dd19=_0x1ce00a!=null?_0x1ce00a:this[_0x288773(0x20b)]();this[_0x288773(0x27a)]=new Date()[_0x288773(0x1cd)]()+_0x41dd19,this[_0x288773(0x277)]=setTimeout(()=>{var _0x3634ce=_0x288773;this['_clearScheduledTask']();let _0x311689=null;switch(this[_0x3634ce(0x284)]){case Q[_0x3634ce(0x2c4)]:{_0x311689=zt(this[_0x3634ce(0xa6)],this[_0x3634ce(0x19d)],this[_0x3634ce(0x1d5)],this[_0x3634ce(0x323)],this[_0x3634ce(0xb9)]);break;}case Q[_0x3634ce(0xef)]:{this[_0x3634ce(0xa6)][_0x3634ce(0x1b0)](_0x3afc22=>_0x3afc22['id']===_0x39055c['id'])?_0x311689=lr(this[_0x3634ce(0xa6)],this[_0x3634ce(0x19d)],this[_0x3634ce(0x1d5)],this[_0x3634ce(0x323)],this['_memberService']):_0x311689=zt(this[_0x3634ce(0xa6)],this[_0x3634ce(0x19d)],this[_0x3634ce(0x1d5)],this[_0x3634ce(0x323)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x3634ce(0x284)]+_0x3634ce(0x14b));}const {changeset:_0x9373da,pendingMutations:_0x241876}=_0x311689;this[_0x3634ce(0xe9)][_0x3634ce(0x38c)](_0x9373da);const _0x318d25=_0x241876[_0x3634ce(0x23f)]?this[_0x3634ce(0x353)]['createInstance'](ae,this[_0x3634ce(0x19d)],this['type'],_0x9373da,_0x241876,this[_0x3634ce(0xe9)],void 0x0):this[_0x3634ce(0x353)][_0x3634ce(0x2e6)](ue,this[_0x3634ce(0x19d)],this[_0x3634ce(0x284)],_0x9373da,this[_0x3634ce(0xe9)]);_0x318d25[_0x3634ce(0x248)](),this[_0x3634ce(0xe9)][_0x3634ce(0x202)](this,_0x318d25);},_0x41dd19);}['_getSendChangesetTimeout'](){var _0x2c4f05=_0x1a3a6b,_0x909156;const _0x96153b=this[_0x2c4f05(0x2a4)][_0x2c4f05(0x268)](q);return(_0x909156=_0x96153b==null?void 0x0:_0x96153b[_0x2c4f05(0x1f8)])!=null?_0x909156:Cn;}['resend'](){var _0x23cd64=_0x1a3a6b;throw new Error(_0x23cd64(0x23a));}[_0x1a3a6b(0x1ac)](){var _0x26d6e2=_0x1a3a6b;this[_0x26d6e2(0x277)]!=null&&(clearTimeout(this[_0x26d6e2(0x277)]),this[_0x26d6e2(0x277)]=null);}['_onConflict'](_0x50744b){var _0x57631f=_0x1a3a6b;return this[_0x57631f(0x1ac)](),this[_0x57631f(0x353)]['createInstance'](de,this[_0x57631f(0x19d)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x50744b);}};oe=Re([A(0x4,_0x5eebc2(_0x54e9ab)),A(0x5,_0x5eebc2(_0x5b78cb)),A(0x6,_0x5eebc2(xe)),A(0x7,_0x1ca28b),A(0x8,_0x572fdd),A(0x9,_0x4107ea),A(0xa,_0x2b6404),A(0xb,_0x42a1e9),A(0xc,_0x1ca1a7),A(0xd,_0x27b19f(J))],oe);let ue=class extends be{constructor(_0x18cf5a,_0x8a38f2,_0xad9955,_0x4ebc95,_0x299653,_0x5aee23,_0x50a1da,_0xcb0fa9,_0x17d5eb,_0x4095d2,_0x564a82){var _0x497ef9=_0x1a3a6b;super(_0x18cf5a,_0x8a38f2,_0xad9955,[],_0x4ebc95,_0x50a1da,_0x4095d2,_0x5aee23,_0x564a82),N(this,'status',_0x497ef9(0x2b6)),N(this,'_resendTimeout',0x0),N(this,_0x497ef9(0x1b2)),N(this,_0x497ef9(0x122)),(this[_0x497ef9(0x353)]=_0x299653,this[_0x497ef9(0x2d8)]=_0xcb0fa9,this[_0x497ef9(0x286)]=_0x17d5eb);}[_0x1a3a6b(0x10c)](_0xd03d80){var _0x52ba79=_0x1a3a6b;this['_clearScheduledTask']();const _0x27475d=this[_0x52ba79(0x353)][_0x52ba79(0x2e6)](ae,this[_0x52ba79(0x19d)],this['type'],this[_0x52ba79(0x2d6)],[_0xd03d80],this['_handler'],this[_0x52ba79(0x1b2)]);return _0x27475d[_0x52ba79(0x248)](),_0x27475d;}[_0x1a3a6b(0x2e7)](_0x315de0){var _0x29b388=_0x1a3a6b;if(this[_0x29b388(0x177)](_0x315de0))return this['_clearScheduledTask'](),this[_0x29b388(0x353)]['createInstance'](te,this['unitID'],this[_0x29b388(0x284)],this['_awaitingChangeset'],[],null,[_0x315de0],this[_0x29b388(0xe9)]);try{const _0x22bc4a=this[_0x29b388(0x286)][_0x29b388(0x203)]([_0x315de0],[this['_awaitingChangeset']],!0x1);if(_0x1abdb2(_0x22bc4a)){const {c1Prime:_0xfd21dc,c2Prime:_0x5364c9}=_0x22bc4a;this[_0x29b388(0x1e0)](_0xfd21dc[0x0]),_0x5364c9[0x0][_0x29b388(0x14d)]=this[_0x29b388(0x11c)](),this['_clearScheduledTask']();const _0x47a69d=this['_injector']['createInstance'](ue,this[_0x29b388(0x19d)],this[_0x29b388(0x284)],_0x5364c9[0x0],this[_0x29b388(0xe9)]);return _0x47a69d[_0x29b388(0x248)](),_0x47a69d;}return this[_0x29b388(0x10a)](!0x1);}catch(_0x1d683d){return this[_0x29b388(0x2d8)][_0x29b388(0x362)](_0x1d683d),this[_0x29b388(0x10a)](!0x1);}}[_0x1a3a6b(0xd4)](_0x27dfcd){var _0x1f9e2f=_0x1a3a6b;this[_0x1f9e2f(0x1ac)]();const _0x5d2b21=this[_0x1f9e2f(0x323)][_0x1f9e2f(0x166)](this[_0x1f9e2f(0x19d)]);if(_0x27dfcd[_0x1f9e2f(0x1ec)]<_0x5d2b21-0x1)return this;if(this['_checkMissing'](_0x27dfcd))return this[_0x1f9e2f(0x353)][_0x1f9e2f(0x2e6)](te,this[_0x1f9e2f(0x19d)],this[_0x1f9e2f(0x284)],null,[],this[_0x1f9e2f(0x2d6)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x3bd93b=this['_injector']['createInstance'](De,this['unitID'],this[_0x1f9e2f(0x284)],this[_0x1f9e2f(0xe9)]);return _0x3bd93b[_0x1f9e2f(0x248)](),_0x3bd93b;}[_0x1a3a6b(0x192)](_0x50e2b6){var _0x12db2b=_0x1a3a6b;return this[_0x12db2b(0x10a)](!!(_0x50e2b6!=null&&_0x50e2b6[_0x12db2b(0x131)]));}['onRemoteRetry'](_0x342436){var _0x5de602=_0x1a3a6b;return this[_0x5de602(0x373)]>Ni?this['toggleOffline']():(this[_0x5de602(0x1b2)]=Oi(this['_resendTimeout'],{'timeout':this[_0x5de602(0x373)],'reqId':_0x342436[_0x5de602(0x27c)]}),this['_sender']=this['_resendTimer'][_0x5de602(0x175)](({reqId:_0x3619a4,timeout:_0x5ca451})=>{var _0x1d5872=_0x5de602;this[_0x1d5872(0x23e)](_0x3619a4,_0x5ca451);}),this);}[_0x1a3a6b(0x281)](){var _0x528578=_0x1a3a6b;return this['_clearScheduledTask'](),this[_0x528578(0x353)][_0x528578(0x2e6)](fe,this[_0x528578(0x19d)],this['type'],this[_0x528578(0x2d6)],[],this[_0x528578(0xe9)]);}['toggleOnline'](){return this;}[_0x1a3a6b(0x36f)](){var _0x14d52c=_0x1a3a6b;this['_handler']['onSendChangeset'](this[_0x14d52c(0x2d6)]);}['_onConflict'](_0x205ede){var _0x586d33=_0x1a3a6b;return this['_clearScheduledTask'](),this[_0x586d33(0x353)][_0x586d33(0x2e6)](de,this[_0x586d33(0x19d)],this['type'],this['_awaitingChangeset'],[],this[_0x586d33(0xe9)],_0x205ede);}['_resendWithTimeout'](_0x25eed9,_0x77ce27){var _0x5aa7a4=_0x1a3a6b,_0xad1d6;_0x25eed9===((_0xad1d6=this[_0x5aa7a4(0x2d6)])==null?void 0x0:_0xad1d6[_0x5aa7a4(0x27c)])&&(this[_0x5aa7a4(0x36f)](),this[_0x5aa7a4(0x373)]=_0x77ce27===0x0?0x3e8:_0x77ce27*0x2);}[_0x1a3a6b(0x1ac)](){var _0x536703=_0x1a3a6b,_0x1c9614;(_0x1c9614=this[_0x536703(0x122)])==null||_0x1c9614[_0x536703(0xfc)](),this['_resendTimeout']=0x0;}};ue=Re([A(0x4,_0x5eebc2(_0x54e9ab)),A(0x5,_0x5eebc2(_0x5b78cb)),A(0x6,_0x572fdd),A(0x7,_0x1ca28b),A(0x8,_0x2b6404),A(0x9,_0x1ca1a7),A(0xa,_0x27b19f(J))],ue);let ae=class extends be{constructor(_0x4136d7,_0x190abb,_0x40e5b7,_0x45e7f5,_0x59c61c,_0x52d81a,_0x2b7862,_0x4e9979,_0xf7df32,_0x5ce09d,_0x54b34a,_0x1fce39,_0x790065){var _0x42c550=_0x1a3a6b;super(_0x4136d7,_0x190abb,_0x40e5b7,_0x45e7f5,_0x59c61c,_0xf7df32,_0x1fce39,_0x4e9979,_0x790065),N(this,_0x42c550(0x39a),_0x42c550(0x147)),N(this,_0x42c550(0x373),0x0),N(this,_0x42c550(0x1b2)),N(this,_0x42c550(0x122)),(this[_0x42c550(0x353)]=_0x2b7862,this[_0x42c550(0x2d8)]=_0x5ce09d,this[_0x42c550(0x286)]=_0x54b34a,this[_0x42c550(0x196)]=_0x790065,_0x52d81a&&(this[_0x42c550(0x1b2)]=_0x52d81a,this[_0x42c550(0x122)]=this[_0x42c550(0x1b2)][_0x42c550(0x175)](({reqId:_0x3cf32b,timeout:_0x438614})=>{var _0x1afec4=_0x42c550;this[_0x1afec4(0x23e)](_0x3cf32b,_0x438614);})));}[_0x1a3a6b(0x10c)](_0x5c87d2){var _0x4cb278=_0x1a3a6b;return this[_0x4cb278(0xa6)][_0x4cb278(0x126)](_0x5c87d2),this;}['onRemoteChangeset'](_0x40be38){var _0x2dae90=_0x1a3a6b;if(this[_0x2dae90(0x177)](_0x40be38))return this[_0x2dae90(0x1ac)](),this['_injector'][_0x2dae90(0x2e6)](te,this[_0x2dae90(0x19d)],this[_0x2dae90(0x284)],this[_0x2dae90(0x2d6)],this[_0x2dae90(0xa6)],null,[_0x40be38],this[_0x2dae90(0xe9)]);try{const _0x117774=this[_0x2dae90(0x286)][_0x2dae90(0x203)]([_0x40be38],[this['_awaitingChangeset']],!0x1);if(_0x1abdb2(_0x117774)){const {c1Prime:_0x20af96,c2Prime:_0x27d0c4}=_0x117774,_0x3ac717=this[_0x2dae90(0x286)][_0x2dae90(0x1de)](_0x20af96[0x0],this['_pendingMutations']);if(_0x52e85a(_0x3ac717)){const {c1Prime:_0x4b9d44,m2Prime:_0x4bf5af}=_0x3ac717;return this['_executeRemoteChangeset'](_0x4b9d44),_0x27d0c4[0x0][_0x2dae90(0x14d)]=this[_0x2dae90(0x11c)](),this[_0x2dae90(0x1ac)](),this[_0x2dae90(0x353)][_0x2dae90(0x2e6)](ae,this[_0x2dae90(0x19d)],this[_0x2dae90(0x284)],_0x27d0c4[0x0],_0x4bf5af,this['_handler'],void 0x0);}throw _0x3ac717[_0x2dae90(0x362)];}throw _0x117774[_0x2dae90(0x362)];}catch(_0x24a1bf){return this[_0x2dae90(0x2d8)][_0x2dae90(0x362)](_0x24a1bf),this[_0x2dae90(0x10a)](!0x1);}}[_0x1a3a6b(0xd4)](_0xb326b7){var _0x570bb6=_0x1a3a6b;if(this['_clearScheduledTask'](),this['_checkMissing'](_0xb326b7))return this[_0x570bb6(0x353)][_0x570bb6(0x2e6)](te,this['unitID'],this[_0x570bb6(0x284)],null,this['_pendingMutations'],this[_0x570bb6(0x2d6)],[],this[_0x570bb6(0xe9)]);this[_0x570bb6(0x2bb)]();const _0xbdff88=this['_injector'][_0x570bb6(0x2e6)](oe,this['unitID'],this[_0x570bb6(0x284)],this[_0x570bb6(0xa6)],this[_0x570bb6(0xe9)]);return _0xbdff88[_0x570bb6(0x20c)](),_0xbdff88[_0x570bb6(0x248)](),_0xbdff88;}[_0x1a3a6b(0x192)](_0x5c2281){var _0x44aa69=_0x1a3a6b;return this['_onConflict'](!!(_0x5c2281!=null&&_0x5c2281[_0x44aa69(0x131)]));}['onRemoteRetry'](_0xfaeea){var _0x373209=_0x1a3a6b;return this[_0x373209(0x373)]>Ni?this['toggleOffline']():(this['_resendTimer']=Oi(this[_0x373209(0x373)],{'timeout':this[_0x373209(0x373)],'reqId':_0xfaeea[_0x373209(0x27c)]}),this[_0x373209(0x122)]=this[_0x373209(0x1b2)][_0x373209(0x175)](({reqId:_0x17edff,timeout:_0xc30edd})=>{this['_resendWithTimeout'](_0x17edff,_0xc30edd);}),this);}[_0x1a3a6b(0x281)](){var _0x5c68df=_0x1a3a6b;return this[_0x5c68df(0x1ac)](),this['_injector'][_0x5c68df(0x2e6)](fe,this[_0x5c68df(0x19d)],this[_0x5c68df(0x284)],this[_0x5c68df(0x2d6)],this[_0x5c68df(0xa6)],this['_handler']);}[_0x1a3a6b(0x250)](){return this;}[_0x1a3a6b(0x36f)](){var _0x5a6397=_0x1a3a6b;this[_0x5a6397(0xe9)][_0x5a6397(0x38c)](this[_0x5a6397(0x2d6)]);}[_0x1a3a6b(0x10a)](_0x78258d){var _0xe60b7a=_0x1a3a6b;return this[_0xe60b7a(0x1ac)](),this[_0xe60b7a(0x353)][_0xe60b7a(0x2e6)](de,this[_0xe60b7a(0x19d)],this[_0xe60b7a(0x284)],null,this['_pendingMutations'],this[_0xe60b7a(0xe9)],_0x78258d);}[_0x1a3a6b(0x23e)](_0x577fa7,_0x25b9d2){var _0x547a2a=_0x1a3a6b,_0x184584;_0x577fa7===((_0x184584=this[_0x547a2a(0x2d6)])==null?void 0x0:_0x184584['reqId'])&&(this[_0x547a2a(0x36f)](),this[_0x547a2a(0x373)]=_0x25b9d2===0x0?0x3e8:_0x25b9d2*0x2);}[_0x1a3a6b(0x1ac)](){var _0x12a746=_0x1a3a6b,_0x5d60f4;(_0x5d60f4=this[_0x12a746(0x122)])==null||_0x5d60f4['unsubscribe'](),this['_resendTimeout']=0x0;}};ae=Re([A(0x6,_0x5eebc2(_0x54e9ab)),A(0x7,_0x5eebc2(_0x5b78cb)),A(0x8,_0x572fdd),A(0x9,_0x1ca28b),A(0xa,_0x2b6404),A(0xb,_0x1ca1a7),A(0xc,_0x27b19f(J))],ae);let de=class extends be{constructor(_0x17aa6e,_0xb38b69,_0x5a015a,_0x5c5ae9,_0x25c128,_0x376846=!0x1,_0x1829e8,_0x17492d,_0x973248,_0x56b57f,_0x3ce9c9,_0x1bb0f8,_0xabdcc8){var _0x37b74b=_0x1a3a6b;super(_0x17aa6e,_0xb38b69,_0x5a015a,_0x5c5ae9,_0x25c128,_0x17492d,_0x973248,_0x56b57f,_0xabdcc8),N(this,_0x37b74b(0x39a),_0x37b74b(0x349)),(this[_0x37b74b(0xda)]=_0x376846,this[_0x37b74b(0x9b)]=_0x1829e8,this[_0x37b74b(0x16c)]=_0x3ce9c9,this['_collaborationUIEventService']=_0x1bb0f8,this[_0x37b74b(0x196)]=_0xabdcc8,this[_0x37b74b(0x115)](),this['_clearLocalCache'](),this[_0x37b74b(0x150)]());}[_0x1a3a6b(0x10c)](){return this;}[_0x1a3a6b(0x2e7)](){return this;}[_0x1a3a6b(0xd4)](){return this;}[_0x1a3a6b(0x192)](){return this;}[_0x1a3a6b(0x25d)](){return this;}[_0x1a3a6b(0x281)](){return this;}[_0x1a3a6b(0x250)](){return this;}[_0x1a3a6b(0x36f)](){var _0x38d981=_0x1a3a6b;throw new Error(_0x38d981(0x1b3));}[_0x1a3a6b(0x184)](){var _0x511765=_0x1a3a6b,_0x4edecf;(_0x4edecf=this[_0x511765(0x324)])==null||_0x4edecf[_0x511765(0x100)](this['unitID'],this['type'],null,[]);}[_0x1a3a6b(0x115)](){var _0x3daa45=_0x1a3a6b;this['_isPermissionRej']?this['_collaborationUIEventService']['emitEvent']({'id':se[_0x3daa45(0xe2)]}):this[_0x3daa45(0x354)]['emitEvent']({'id':se['CONFLICT']});}[_0x1a3a6b(0x150)](){var _0x4ed65c=_0x1a3a6b;this[_0x4ed65c(0x9b)][_0x4ed65c(0xdd)](new _0x56b9cd(this[_0x4ed65c(0x19d)])['id'],!0x1);}};de=Re([A(0x6,_0x5eebc2(_0x4ebb7c)),A(0x7,_0x572fdd),A(0x8,_0x1ca1a7),A(0x9,_0x5eebc2(_0x5b78cb)),A(0xa,_0x5eebc2(_0x3c43d2)),A(0xb,_0x5eebc2(pe)),A(0xc,_0x27b19f(J))],de);let fe=class extends be{constructor(_0x50f876,_0x2ad7f6,_0x22c770,_0x5049d2,_0x17b1ea,_0xbef8c2,_0xa899b7,_0x3addb6,_0x2c0694,_0x277d92){var _0x544c1a=_0x1a3a6b;super(_0x50f876,_0x2ad7f6,_0x22c770,_0x5049d2,_0x17b1ea,_0x3addb6,_0x2c0694,_0xa899b7,_0x277d92),N(this,'status',_0x544c1a(0x1cc)),this[_0x544c1a(0x353)]=_0xbef8c2;}[_0x1a3a6b(0x10c)](_0x2aeacb){var _0x383991=_0x1a3a6b;return this['_pendingMutations'][_0x383991(0x126)](_0x2aeacb),this[_0x383991(0x248)](),this;}['onRemoteChangeset'](_0x4ab7fa){var _0x1f58a3=_0x1a3a6b;throw new Error(_0x1f58a3(0x108));}[_0x1a3a6b(0xd4)](){var _0x77c4e7=_0x1a3a6b;throw new Error(_0x77c4e7(0xff));}['onRemoteRej'](){var _0x4a5310=_0x1a3a6b;throw new Error(_0x4a5310(0x1a3));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x1a3a6b(0x250)](){var _0x562cb2=_0x1a3a6b;const {_injector:_0x4ffc65,_pendingMutations:_0x86c977,_awaitingChangeset:_0x27a50a,unitID:_0x42bb80,_handler:_0x1ea473,type:_0x21cfb6}=this,_0x54be5a=Di(_0x4ffc65,_0x42bb80,_0x21cfb6,_0x27a50a,_0x86c977,_0x1ea473);return _0x54be5a instanceof oe?_0x54be5a[_0x562cb2(0x20c)]():(_0x54be5a instanceof ae||_0x54be5a instanceof ue)&&_0x54be5a[_0x562cb2(0x36f)](),_0x54be5a;}[_0x1a3a6b(0x36f)](){var _0x1bd73d=_0x1a3a6b;throw new Error(_0x1bd73d(0x25e));}};fe=Re([A(0x5,_0x5eebc2(_0x54e9ab)),A(0x6,_0x5eebc2(_0x5b78cb)),A(0x7,_0x572fdd),A(0x8,_0x1ca1a7),A(0x9,_0x27b19f(J))],fe);function _0x2c36(_0x5d115d,_0x4183c6){var _0x45ac91=_0x45ac();return _0x2c36=function(_0x2c36a6,_0x473ef4){_0x2c36a6=_0x2c36a6-0x95;var _0x4b129c=_0x45ac91[_0x2c36a6];return _0x4b129c;},_0x2c36(_0x5d115d,_0x4183c6);}let te=class extends be{constructor(_0x3bd790,_0x22af51,_0x2609ee,_0x570fd3,_0x2b6777,_0x13ef37,_0x6ec0d0,_0x4b7c72,_0x53eff7,_0x42982a,_0x1dafe7,_0x4c5eaf,_0x564843,_0x3de319){var _0xbb0e5e=_0x1a3a6b;super(_0x3bd790,_0x22af51,_0x2609ee,_0x570fd3,_0x6ec0d0,_0x1dafe7,_0x4c5eaf,_0x53eff7,_0x3de319),N(this,_0xbb0e5e(0x39a),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x2b6777,this[_0xbb0e5e(0x2d5)]=_0x13ef37,this[_0xbb0e5e(0x353)]=_0x4b7c72,this[_0xbb0e5e(0x2d8)]=_0x42982a,this[_0xbb0e5e(0x286)]=_0x564843,this[_0xbb0e5e(0x196)]=_0x3de319);}[_0x1a3a6b(0x1f4)](_0x14e426){var _0x2f078f=_0x1a3a6b;try{const _0x2195d1=[..._0x14e426,...this['_queuedRemoteChangesets']],_0x3ff0f7=[this[_0x2f078f(0x2d6)]||this[_0x2f078f(0x110)]][_0x2f078f(0x1eb)](_0x3c9b59=>!!_0x3c9b59);let _0x27f28e,_0x61d021;if(_0x3ff0f7[_0x2f078f(0x23f)]){const _0x582f70=this['_transformService'][_0x2f078f(0x203)](_0x2195d1,_0x3ff0f7,!0x1);if(!_0x1abdb2(_0x582f70))throw _0x582f70[_0x2f078f(0x362)];_0x27f28e=_0x582f70[_0x2f078f(0x1af)],_0x61d021=_0x582f70[_0x2f078f(0x29b)];}else _0x27f28e=_0x2195d1,_0x61d021=[];let _0x5f166f=this[_0x2f078f(0xa6)];_0x27f28e[_0x2f078f(0x33c)](_0x156a52=>{var _0x1871fc=_0x2f078f;let _0x3c4545;if(_0x5f166f[_0x1871fc(0x23f)]){const _0x2b3a9e=this[_0x1871fc(0x286)][_0x1871fc(0x1de)](_0x156a52,_0x5f166f);if(!_0x52e85a(_0x2b3a9e))throw _0x2b3a9e['error'];_0x3c4545=_0x2b3a9e[_0x1871fc(0x1af)],_0x5f166f=_0x2b3a9e['m2Prime'];}else _0x3c4545=_0x156a52;this['_executeRemoteChangeset'](_0x3c4545);}),this[_0x2f078f(0x110)]&&this['_incrementRevisionNumber'](),this[_0x2f078f(0x2d6)]&&_0x61d021[_0x2f078f(0x23f)]&&(_0x61d021[0x0][_0x2f078f(0x14d)]=this[_0x2f078f(0x11c)]());let _0x211083;if(this[_0x2f078f(0x2d6)]&&_0x5f166f[_0x2f078f(0x23f)]!==0x0)_0x211083=this[_0x2f078f(0x353)][_0x2f078f(0x2e6)](ae,this[_0x2f078f(0x19d)],this[_0x2f078f(0x284)],_0x61d021[0x0],_0x5f166f,this[_0x2f078f(0xe9)],void 0x0);else{if(this['_awaitingChangeset']&&_0x5f166f[_0x2f078f(0x23f)]===0x0)_0x61d021[0x0][_0x2f078f(0x14d)]=this[_0x2f078f(0x11c)](),_0x211083=this['_injector'][_0x2f078f(0x2e6)](ue,this[_0x2f078f(0x19d)],this[_0x2f078f(0x284)],_0x61d021[0x0],this[_0x2f078f(0xe9)]);else{if(_0x5f166f[_0x2f078f(0x23f)]!==0x0){const _0x1a34ed=this[_0x2f078f(0x353)][_0x2f078f(0x2e6)](oe,this['unitID'],this[_0x2f078f(0x284)],_0x5f166f,this[_0x2f078f(0xe9)]);_0x1a34ed['_schedule'](),_0x211083=_0x1a34ed;}else _0x211083=this[_0x2f078f(0x353)][_0x2f078f(0x2e6)](De,this[_0x2f078f(0x19d)],this[_0x2f078f(0x284)],this[_0x2f078f(0xe9)]);}}return _0x211083['_updateLocalCache'](),_0x211083;}catch(_0x529148){return this[_0x2f078f(0x2d8)][_0x2f078f(0x362)](_0x2f078f(0x374),_0x2f078f(0x24b),_0x529148),this['_injector'][_0x2f078f(0x2e6)](de,this[_0x2f078f(0x19d)],this[_0x2f078f(0x284)],this['_awaitingChangeset'],this[_0x2f078f(0xa6)],this['_handler'],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1a3a6b(0x10c)](_0xc9124e){var _0xbbef9b=_0x1a3a6b;return this[_0xbbef9b(0xa6)][_0xbbef9b(0x126)](_0xc9124e),this;}[_0x1a3a6b(0x2e7)](_0x1b0d35){var _0x381776=_0x1a3a6b;return this[_0x381776(0x2d5)][_0x381776(0x126)](_0x1b0d35),this;}[_0x1a3a6b(0xd4)](_0x2d1530){var _0x40bcc0=_0x1a3a6b;if(this[_0x40bcc0(0x2d6)])return this[_0x40bcc0(0x110)]=this[_0x40bcc0(0x2d6)],this[_0x40bcc0(0x2d6)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x185dbc){var _0x4713df=_0x1a3a6b;return this[_0x4713df(0x10a)](!!(_0x185dbc!=null&&_0x185dbc[_0x4713df(0x131)]));}['onRemoteRetry'](){return this;}[_0x1a3a6b(0x281)](){var _0x5cc417=_0x1a3a6b;return this[_0x5cc417(0x353)][_0x5cc417(0x2e6)](fe,this[_0x5cc417(0x19d)],this[_0x5cc417(0x284)],this[_0x5cc417(0x2d6)],this['_pendingMutations'],this['_handler']);}[_0x1a3a6b(0x250)](){return this;}[_0x1a3a6b(0x10a)](_0x47a9ae){var _0x5760d0=_0x1a3a6b;return this['_injector'][_0x5760d0(0x2e6)](de,this[_0x5760d0(0x19d)],this[_0x5760d0(0x284)],this[_0x5760d0(0x2d6)],this[_0x5760d0(0xa6)],this[_0x5760d0(0xe9)],_0x47a9ae);}};te=Re([A(0x7,_0x5eebc2(_0x54e9ab)),A(0x8,_0x5eebc2(_0x5b78cb)),A(0x9,_0x1ca28b),A(0xa,_0x572fdd),A(0xb,_0x1ca1a7),A(0xc,_0x2b6404),A(0xd,_0x27b19f(J))],te);function Di(_0x41f73c,_0x161e19,_0x1252c0,_0x580900,_0x4adbe8,_0xffd045){var _0x257d3b=_0x1a3a6b;return _0x580900&&_0x4adbe8[_0x257d3b(0x23f)]?_0x41f73c[_0x257d3b(0x2e6)](ae,_0x161e19,_0x1252c0,_0x580900,_0x4adbe8,_0xffd045,void 0x0):_0x580900?_0x41f73c['createInstance'](ue,_0x161e19,_0x1252c0,_0x580900,_0xffd045):_0x4adbe8[_0x257d3b(0x23f)]?_0x41f73c[_0x257d3b(0x2e6)](oe,_0x161e19,_0x1252c0,_0x4adbe8,_0xffd045):_0x41f73c['createInstance'](De,_0x161e19,_0x1252c0,_0xffd045);}var vr=Object[_0x1a3a6b(0x1fd)],pr=Object[_0x1a3a6b(0xf3)],Lt=(_0x106427,_0x1b5ba5,_0x1ba40c,_0x385afe)=>{var _0x4457c9=_0x1a3a6b;for(var _0xdbe501=_0x385afe>0x1?void 0x0:_0x385afe?pr(_0x1b5ba5,_0x1ba40c):_0x1b5ba5,_0x4f7c04=_0x106427[_0x4457c9(0x23f)]-0x1,_0x2392af;_0x4f7c04>=0x0;_0x4f7c04--)(_0x2392af=_0x106427[_0x4f7c04])&&(_0xdbe501=(_0x385afe?_0x2392af(_0x1b5ba5,_0x1ba40c,_0xdbe501):_0x2392af(_0xdbe501))||_0xdbe501);return _0x385afe&&_0xdbe501&&vr(_0x1b5ba5,_0x1ba40c,_0xdbe501),_0xdbe501;},k=(_0x1f464a,_0x5e61c2)=>(_0x236d31,_0x41b13c)=>_0x5e61c2(_0x236d31,_0x41b13c,_0x1f464a);let nt=class extends _0x20578d{constructor(_0x18a87b,_0x552faa,_0x235845,_0x40f2ee,_0x17ba71,_0x43a217,_0x5519b5,_0x142fd9,_0x4abbf8,_0xae7bbb,_0x393e57,_0x4455d6,_0x371b0e){var _0x1080e0=_0x1a3a6b;super(),N(this,'_state$',new _0x5c1b2c(null)),N(this,_0x1080e0(0x221),this[_0x1080e0(0x20e)]['asObservable']()),N(this,'_state'),N(this,_0x1080e0(0x352),!0x1),N(this,_0x1080e0(0x385),''),N(this,'_changesetReqId',0x0),N(this,'status$',this[_0x1080e0(0x221)]['pipe'](_0x2ee0d8(_0x1d9626=>_0x1d9626?_0x1d9626[_0x1080e0(0x39a)]:yi[_0x1080e0(0x1dc)]),_0x4d0233(0x1))),N(this,_0x1080e0(0x200),!0x1),N(this,_0x1080e0(0x1e8),[]),(this[_0x1080e0(0x19d)]=_0x18a87b,this['session']=_0x552faa,this[_0x1080e0(0x195)]=_0x235845,this[_0x1080e0(0x353)]=_0x40f2ee,this[_0x1080e0(0xad)]=_0x17ba71,this[_0x1080e0(0x16c)]=_0x43a217,this['_revisionService']=_0x5519b5,this[_0x1080e0(0x229)]=_0x142fd9,this[_0x1080e0(0x2d8)]=_0x4abbf8,this[_0x1080e0(0x16e)]=_0xae7bbb,this[_0x1080e0(0x9b)]=_0x393e57,this[_0x1080e0(0xcc)]=_0x4455d6,this[_0x1080e0(0x324)]=_0x371b0e);}get[_0x1a3a6b(0x12f)](){var _0x3e563d=_0x1a3a6b;return this[_0x3e563d(0xb5)];}async[_0x1a3a6b(0xce)](){var _0x464c7b=_0x1a3a6b;if(this[_0x464c7b(0x12f)])throw new Error(_0x464c7b(0x27e));await this[_0x464c7b(0x1c3)]();}[_0x1a3a6b(0x35e)](){return this['_collaborationPaused']=!0x0,_0x19a661(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x3b8bbc){var _0x4e4989=_0x1a3a6b;this[_0x4e4989(0x2d2)](_0x3b8bbc);}['_updateState'](_0x2b7aaf){var _0x15c9f6=_0x1a3a6b;this[_0x15c9f6(0xb5)]=_0x2b7aaf,this[_0x15c9f6(0x20e)]['next'](_0x2b7aaf);}async[_0x1a3a6b(0x1c3)](){var _0x524594=_0x1a3a6b,_0x3db72d;this[_0x524594(0x124)](await this['_createInitialState']()),this[_0x524594(0xcc)]&&((_0x3db72d=this['_singleActiveUnitService'])==null||_0x3db72d[_0x524594(0x2ee)](this[_0x524594(0x19d)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x524594(0x172)](this[_0x524594(0x19d)])[_0x524594(0x175)](_0x50a967=>{var _0x4ae21e=_0x524594;this[_0x4ae21e(0x2d8)][_0x4ae21e(0x154)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x50a967),_0x50a967===bi['OTHER_CLIENTS_EDITING']?(this['_eventService'][_0x4ae21e(0x2fe)]({'id':se[_0x4ae21e(0x15b)]}),this[_0x4ae21e(0x9b)][_0x4ae21e(0xdd)](new _0x56b9cd(this[_0x4ae21e(0x19d)])['id'],!0x1),this[_0x4ae21e(0x9b)][_0x4ae21e(0xed)](!0x1)):(this[_0x4ae21e(0x9b)]['updatePermissionPoint'](new _0x56b9cd(this[_0x4ae21e(0x19d)])['id'],!0x0),this[_0x4ae21e(0x9b)][_0x4ae21e(0xed)](!0x0));})));let _0x574785=!0x1;return this[_0x524594(0x375)](this[_0x524594(0x259)][_0x524594(0x28e)]['subscribe'](_0xb411ab=>{var _0x4bbf96=_0x524594;_0xb411ab===Te[_0x4bbf96(0xe1)]?this[_0x4bbf96(0x155)](_0x574785):_0xb411ab===Te['OFFLINE']&&(_0x574785=!0x0,this['_toggleOffline']());})),this[_0x524594(0x375)](this[_0x524594(0x259)]['event$'][_0x524594(0x175)](_0x55cb8e=>{var _0x4f1e38=_0x524594;try{switch(_0x55cb8e[_0x4f1e38(0xb3)]){case _0x12854d['NEW_CHANGESETS']:{this[_0x4f1e38(0x2b9)](_0x4651b7(_0x55cb8e['data']));break;}case _0x12854d[_0x4f1e38(0x162)]:{this[_0x4f1e38(0x24c)](_0x55cb8e[_0x4f1e38(0x22a)]);break;}case _0x12854d['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x12854d['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x55cb8e[_0x4f1e38(0x22a)]);break;}case _0x12854d['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x55cb8e[_0x4f1e38(0x22a)]['changesets']['map'](_0x98829b=>_0x4651b7(_0x98829b)));break;}case _0x12854d[_0x4f1e38(0x280)]:{this[_0x4f1e38(0x31d)]({'isPermissionRej':!0x0});break;}case _0x12854d[_0x4f1e38(0x367)]:break;}}catch(_0x869fdd){throw console['error'](_0x4f1e38(0x306),_0x869fdd),_0x869fdd;}})),this[_0x524594(0xb5)];}['_unlockTransition'](){var _0x1f709d=_0x1a3a6b;this[_0x1f709d(0x200)]=!0x1;}['_lockTransition'](){var _0x5c46a9=_0x1a3a6b;if(this[_0x5c46a9(0x200)])throw new Error(_0x5c46a9(0x330));this[_0x5c46a9(0x200)]=!0x0;}[_0x1a3a6b(0x2d2)](_0x44f2d0){var _0x4ffa2b=_0x1a3a6b;this['_lockTransition'](),this[_0x4ffa2b(0x124)](this[_0x4ffa2b(0xb5)]['appendMutation'](_0x44f2d0)),this[_0x4ffa2b(0x335)]();}[_0x1a3a6b(0x2b9)](_0x2dae7e){var _0x168db5=_0x1a3a6b;if(!(_0x2dae7e['revision']<=this['_revisionService'][_0x168db5(0x166)](this['unitID']))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x168db5(0x126)](_0x2dae7e);return;}this[_0x168db5(0x1fb)](_0x2dae7e);}}['_exhaustRemoteChangesetQueue'](){var _0x3cce74=_0x1a3a6b;this['_remoteChangesetQueue'][_0x3cce74(0x33c)](_0x103109=>this[_0x3cce74(0x1fb)](_0x103109)),this['_remoteChangesetQueue']=[];}[_0x1a3a6b(0x1fb)](_0x182844){var _0x26091c=_0x1a3a6b;const _0x344ed2=this['_compressMutationService']['interceptor'][_0x26091c(0x384)](this[_0x26091c(0xad)][_0x26091c(0x2a0)][_0x26091c(0x2ae)]()[_0x26091c(0x1b8)])(_0x182844['mutations'],null)||_0x182844['mutations'],_0x423702={..._0x182844,'mutations':_0x344ed2};this[_0x26091c(0x165)](),this[_0x26091c(0x124)](this[_0x26091c(0xb5)][_0x26091c(0x2e7)](_0x423702)),this[_0x26091c(0x335)]();}[_0x1a3a6b(0x24c)](_0x2cafab){var _0x426ba0=_0x1a3a6b;this[_0x426ba0(0x165)](),this[_0x426ba0(0x124)](this['_state']['onRemoteAck'](_0x2cafab)),this[_0x426ba0(0x335)]();}[_0x1a3a6b(0x31d)](_0x11d909){var _0x530ce5=_0x1a3a6b;this[_0x530ce5(0x165)](),this[_0x530ce5(0x124)](this[_0x530ce5(0xb5)]['onRemoteRej'](_0x11d909)),this[_0x530ce5(0x335)]();}['_onRemoteRetry'](_0xd11182){var _0x2ecf65=_0x1a3a6b;this[_0x2ecf65(0x165)](),this[_0x2ecf65(0x124)](this[_0x2ecf65(0xb5)]['onRemoteRetry'](_0xd11182)),this['_unlockTransition']();}['_onFetchMissResult'](_0x3b8e36){var _0x1b0838=_0x1a3a6b;if(!(this[_0x1b0838(0xb5)]instanceof te))throw new TypeError(_0x1b0838(0x2f0));const _0x4649f2=_0x3b8e36[_0x1b0838(0x302)](_0xe5a83b=>{var _0x1117d4=_0x1b0838;const _0x1125f5=this[_0x1117d4(0xad)][_0x1117d4(0x2a0)][_0x1117d4(0x384)](this[_0x1117d4(0xad)][_0x1117d4(0x2a0)][_0x1117d4(0x2ae)]()[_0x1117d4(0x1b8)])(_0xe5a83b['mutations'],null)||_0xe5a83b[_0x1117d4(0x142)];return{..._0xe5a83b,'mutations':_0x1125f5};});this[_0x1b0838(0x165)](),this[_0x1b0838(0x124)](this[_0x1b0838(0xb5)][_0x1b0838(0x1f4)](_0x4649f2)),this[_0x1b0838(0x335)]();}['_toggleOffline'](){var _0x25d210=_0x1a3a6b;this[_0x25d210(0x165)](),this['_updateState'](this[_0x25d210(0xb5)][_0x25d210(0x281)]()),this[_0x25d210(0x335)]();}[_0x1a3a6b(0x155)](_0x2b889b=!0x1){var _0x4b0064=_0x1a3a6b;this[_0x4b0064(0x165)](),this[_0x4b0064(0x124)](this[_0x4b0064(0xb5)][_0x4b0064(0x250)]()),this[_0x4b0064(0x335)]();const _0x49fcb9=this[_0x4b0064(0xb5)];_0x2b889b&&_0x49fcb9 instanceof De&&(this['_lockTransition'](),this[_0x4b0064(0x124)](_0x49fcb9[_0x4b0064(0x1c4)]()),this[_0x4b0064(0x335)]());}async[_0x1a3a6b(0x2dc)](){return new Promise(_0xc66418=>{var _0x11c651=_0x2c36;this['session']['sessionStatus$'][_0x11c651(0x114)](_0x4ef5b4(0x1))[_0x11c651(0x175)](async _0x470de8=>{var _0x3f6f20=_0x11c651;_0xc66418(await this[_0x3f6f20(0x2bf)](_0x470de8===Te[_0x3f6f20(0xe1)]));});});}[_0x1a3a6b(0x1a2)](){var _0xdfcb4=_0x1a3a6b;const _0x2a303b=this[_0xdfcb4(0x19d)];return{'onStateChange':(_0x590717,_0x541ec8)=>{var _0x426084=_0xdfcb4;if(_0x590717!==this[_0x426084(0xb5)])throw new Error(_0x426084(0x30e)+_0x590717[_0x426084(0x39a)]+_0x426084(0x29e)+_0x541ec8['status']+_0x426084(0xf8)+this[_0x426084(0xb5)][_0x426084(0x39a)]);this[_0x426084(0x124)](_0x541ec8);},'onSendChangeset':_0x3a5c5a=>{var _0x518455=_0xdfcb4;_0x3a5c5a[_0x518455(0x299)]||(_0x3a5c5a[_0x518455(0x299)]=this[_0x518455(0x385)],_0x3a5c5a[_0x518455(0x27c)]=++this[_0x518455(0x1a6)]);const _0x2520db={'eventID':_0x12854d['SUBMIT_CHANGESET'],'data':{'unitID':_0x3a5c5a['unitID'],'unitType':this[_0x518455(0x195)],'changeset':_0x3a5c5a,'memberID':this[_0x518455(0x259)][_0x518455(0xa9)]()}};this[_0x518455(0x259)][_0x518455(0x174)](_0x2520db,this[_0x518455(0x19d)]);},'onMissingChangesets':({from:_0x184d77,to:_0x37b752})=>{var _0x2e8122=_0xdfcb4;this[_0x2e8122(0x2d8)][_0x2e8122(0x154)](_0x2e8122(0x368),'fetching\x20missing\x20changesets\x20from\x20'+_0x184d77+_0x2e8122(0x314)+_0x37b752);const _0x39eb2a={'eventID':_0x12854d[_0x2e8122(0x2b7)],'data':{'unitID':_0x2a303b,'unitType':this['_type'],'from':_0x184d77,'to':_0x37b752}};this[_0x2e8122(0x259)][_0x2e8122(0x174)](_0x39eb2a,this['unitID']);}};}async[_0x1a3a6b(0x2bf)](_0xd004f2){var _0x50d15e=_0x1a3a6b,_0x47aa1f,_0x13688b,_0x278ad9;const _0x3a2511=await((_0x47aa1f=this[_0x50d15e(0x324)])==null?void 0x0:_0x47aa1f['loadOfflineData'](this[_0x50d15e(0x19d)])),_0x18d5f2=(_0x13688b=_0x3a2511==null?void 0x0:_0x3a2511[_0x50d15e(0x142)])!=null?_0x13688b:[],_0x2871f4=(_0x278ad9=_0x3a2511==null?void 0x0:_0x3a2511[_0x50d15e(0x1c1)])!=null?_0x278ad9:null,_0x58cde1=!!(_0x2871f4!=null&&_0x2871f4[_0x50d15e(0x299)])&&!!(_0x2871f4!=null&&_0x2871f4[_0x50d15e(0x27c)]);this[_0x50d15e(0x385)]=_0x58cde1?_0x2871f4[_0x50d15e(0x299)]:sr(),this[_0x50d15e(0x1a6)]=_0x58cde1?_0x2871f4['reqId']:0x0;const _0x323643=this[_0x50d15e(0x19d)];try{this[_0x50d15e(0xf7)](_0x2871f4,_0x18d5f2);}catch(_0x3bd28f){this['_logService'][_0x50d15e(0x362)](_0x3bd28f);}const _0x22396a=this[_0x50d15e(0x1a2)]();if(_0xd004f2){const _0x2c2ad0=Di(this[_0x50d15e(0x353)],_0x323643,this[_0x50d15e(0x195)],_0x2871f4,_0x18d5f2,_0x22396a);return _0x2c2ad0 instanceof oe?_0x2c2ad0[_0x50d15e(0x20c)]():(_0x2c2ad0 instanceof ae||_0x2c2ad0 instanceof ue)&&_0x2c2ad0[_0x50d15e(0x36f)](),_0x2c2ad0;}return this[_0x50d15e(0x353)][_0x50d15e(0x2e6)](fe,_0x323643,this[_0x50d15e(0x195)],_0x2871f4,_0x18d5f2,_0x22396a);}[_0x1a3a6b(0xf7)](_0x14e929,_0x13e0f8){var _0x31f298=_0x1a3a6b,_0x47e4fc,_0x1cee10;const _0x2cef3a=this[_0x31f298(0xad)][_0x31f298(0x2a0)][_0x31f298(0x384)](this[_0x31f298(0xad)][_0x31f298(0x2a0)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x47e4fc=_0x2cef3a((_0x14e929==null?void 0x0:_0x14e929[_0x31f298(0x142)])||[],null))==null||_0x47e4fc['forEach'](_0x2365b9=>this[_0x31f298(0x16e)][_0x31f298(0x2d9)](_0x2365b9['id'],_0x2365b9[_0x31f298(0x1ed)])),(_0x1cee10=_0x2cef3a(_0x13e0f8||[],null))==null||_0x1cee10[_0x31f298(0x33c)](_0x35083b=>this[_0x31f298(0x16e)][_0x31f298(0x2d9)](_0x35083b['id'],_0x35083b[_0x31f298(0x1ed)]));}};nt=Lt([k(0x3,_0x5eebc2(_0x54e9ab)),k(0x4,_0x5eebc2(_0x55750e)),k(0x5,_0x5eebc2(_0x3c43d2)),k(0x6,_0x5eebc2(_0x5b78cb)),k(0x7,_0x5eebc2(pe)),k(0x8,_0x1ca28b),k(0x9,_0x572fdd),k(0xa,_0x4ebb7c),k(0xb,_0x27b19f(ht)),k(0xc,_0x27b19f(J))],nt);let Tt=class extends nt{constructor(_0x28e11f,_0x281a28,_0x592fc2,_0x2a8ad7,_0x33986c,_0xb5066,_0x21046a,_0x1c75c3,_0x57fa94,_0x4e2d71,_0x4630d3,_0x4f8a9b,_0x4f0ebb){var _0x5048b6=_0x1a3a6b;super(_0x28e11f,_0x592fc2,_0x281a28,_0x2a8ad7,_0x33986c,_0xb5066,_0x21046a,_0x1c75c3,_0x57fa94,_0x4e2d71,_0x4630d3,_0x4f8a9b,_0x4f0ebb),N(this,_0x5048b6(0x212),null),(this['unitID']=_0x28e11f,this[_0x5048b6(0x284)]=_0x281a28);}['addHandlerCallback'](_0x4656dc){this['_handlerCallback']=_0x4656dc;}[_0x1a3a6b(0xf0)](){var _0x5cd9a6=_0x1a3a6b;this['_handlerCallback']=null,super[_0x5cd9a6(0xf0)]();}[_0x1a3a6b(0x1a2)](){var _0x8bc3c2=_0x1a3a6b;const _0xb2146b=super[_0x8bc3c2(0x1a2)]();return _0xb2146b[_0x8bc3c2(0xc1)]=_0x3f7638=>{var _0x1cf90a=_0x8bc3c2,_0x49029b,_0x55fb0;return(_0x55fb0=(_0x49029b=this['_handlerCallback'])==null?void 0x0:_0x49029b[_0x1cf90a(0xc1)])==null?void 0x0:_0x55fb0[_0x1cf90a(0x106)](_0x49029b,_0x3f7638);},_0xb2146b['onTransformState']=_0x1a1e35=>{var _0x3804c2=_0x8bc3c2,_0x165585,_0x2e9a34;return(_0x2e9a34=(_0x165585=this['_handlerCallback'])==null?void 0x0:_0x165585[_0x3804c2(0x274)])==null?void 0x0:_0x2e9a34['call'](_0x165585,_0x1a1e35);},_0xb2146b[_0x8bc3c2(0x28b)]=_0x504da4=>{var _0x48edba=_0x8bc3c2,_0x549ee9,_0x2e91a5;return(_0x2e91a5=(_0x549ee9=this[_0x48edba(0x212)])==null?void 0x0:_0x549ee9['onTransformSelections'])==null?void 0x0:_0x2e91a5[_0x48edba(0x106)](_0x549ee9,_0x504da4);},_0xb2146b['onSyncEditingCollabCursor']=_0x34e76b=>{var _0x40ce78=_0x8bc3c2,_0x196d93,_0x453f82;return(_0x453f82=(_0x196d93=this[_0x40ce78(0x212)])==null?void 0x0:_0x196d93['onSyncEditingCollabCursor'])==null?void 0x0:_0x453f82[_0x40ce78(0x106)](_0x196d93,_0x34e76b);},_0xb2146b[_0x8bc3c2(0x121)]=_0x121486=>{var _0x4efc47=_0x8bc3c2,_0x5a5cd7,_0x14428f,_0x254705;if(!((_0x5a5cd7=this[_0x4efc47(0x212)])!=null&&_0x5a5cd7['onTransformRemoteChangesetByIMECache']))throw new Error(_0x4efc47(0x207));return(_0x254705=(_0x14428f=this[_0x4efc47(0x212)])==null?void 0x0:_0x14428f[_0x4efc47(0x121)])==null?void 0x0:_0x254705['call'](_0x14428f,_0x121486);},_0xb2146b['onTransformRemoteChangesetByStateCache']=_0x5f4688=>{var _0x2f6b41=_0x8bc3c2,_0x4b5552,_0x28d7c2,_0x122d86;if(!((_0x4b5552=this[_0x2f6b41(0x212)])!=null&&_0x4b5552[_0x2f6b41(0xd2)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x122d86=(_0x28d7c2=this[_0x2f6b41(0x212)])==null?void 0x0:_0x28d7c2[_0x2f6b41(0xd2)])==null?void 0x0:_0x122d86[_0x2f6b41(0x106)](_0x28d7c2,_0x5f4688);},_0xb2146b;}async[_0x1a3a6b(0x1c3)](){var _0xf67ca5=_0x1a3a6b;const _0x10b050=await super[_0xf67ca5(0x1c3)]();return this['disposeWithMe'](this[_0xf67ca5(0x16e)][_0xf67ca5(0x214)]((_0x286fe2,_0x1f96a7)=>{var _0x3cb28c=_0xf67ca5;if(_0x286fe2[_0x3cb28c(0x284)]!==_0x1d7b02[_0x3cb28c(0x141)]||_0x1f96a7!=null&&_0x1f96a7[_0x3cb28c(0x21b)]||_0x1f96a7!=null&&_0x1f96a7[_0x3cb28c(0x2e1)]||_0x286fe2['id']===_0x39055c['id'])return;const _0x1a29da=_0x286fe2['params'];if((_0x1a29da==null?void 0x0:_0x1a29da['unitId'])!==this[_0x3cb28c(0x19d)])return;const _0x5ac4d6=_0x286fe2,_0x40ee46=this[_0x3cb28c(0xad)][_0x3cb28c(0x2a0)]['fetchThroughInterceptors'](this[_0x3cb28c(0xad)]['interceptor'][_0x3cb28c(0x2ae)]()[_0x3cb28c(0x10f)])([_0x5ac4d6],null)||[_0x5ac4d6];this['_onLocalMutation'](_0x40ee46[0x0]);})),_0x10b050;}};Tt=Lt([k(0x3,_0x5eebc2(_0x54e9ab)),k(0x4,_0x5eebc2(_0x55750e)),k(0x5,_0x5eebc2(_0x3c43d2)),k(0x6,_0x5eebc2(_0x5b78cb)),k(0x7,_0x5eebc2(pe)),k(0x8,_0x1ca28b),k(0x9,_0x572fdd),k(0xa,_0x4ebb7c),k(0xb,_0x27b19f(ht)),k(0xc,_0x27b19f(J))],Tt);let Ct=class extends nt{constructor(_0x458474,_0x5acd81,_0x2b8e2e,_0x352899,_0x2e32f5,_0xc069d3,_0x4f6d90,_0x1470ad,_0x6b61b9,_0x1240f0,_0x5270ec,_0x1923f3,_0x530fd6,_0xb8ae30){var _0x4e3927=_0x1a3a6b;super(_0x458474,_0x2b8e2e,_0x5acd81,_0x352899,_0x2e32f5,_0xc069d3,_0x4f6d90,_0x6b61b9,_0x1240f0,_0x5270ec,_0x1923f3,_0x530fd6,_0xb8ae30),this[_0x4e3927(0x19d)]=_0x458474,this[_0x4e3927(0x284)]=_0x5acd81,this[_0x4e3927(0xc5)]=_0x1470ad;}['_createHandler'](){var _0x2dc4bd=_0x1a3a6b;const _0x29bff4=super[_0x2dc4bd(0x1a2)]();return _0x29bff4['onTransformSelections']=_0x39dab5=>this[_0x2dc4bd(0xc5)][_0x2dc4bd(0x197)](_0x39dab5),_0x29bff4;}async['_init'](){var _0x5ab50d=_0x1a3a6b;const _0x448dc1=await super[_0x5ab50d(0x1c3)]();return this[_0x5ab50d(0x375)](this[_0x5ab50d(0x16e)][_0x5ab50d(0x214)]((_0x4ae467,_0x1aacdf)=>{var _0x2b7fdc=_0x5ab50d;if(_0x4ae467['type']!==_0x1d7b02[_0x2b7fdc(0x141)]||_0x1aacdf!=null&&_0x1aacdf['fromCollab']||_0x1aacdf!=null&&_0x1aacdf[_0x2b7fdc(0x2e1)])return;const _0x5183f1=_0x4ae467[_0x2b7fdc(0x1ed)];if((_0x5183f1==null?void 0x0:_0x5183f1[_0x2b7fdc(0x1fc)])!==this[_0x2b7fdc(0x19d)])return;const _0x364702=_0x4ae467,_0x521d8a=this[_0x2b7fdc(0xad)][_0x2b7fdc(0x2a0)]['fetchThroughInterceptors'](this[_0x2b7fdc(0xad)]['interceptor'][_0x2b7fdc(0x2ae)]()['COMPRESS_MUTATION_SEND'])([_0x364702],null)||[_0x364702];this[_0x2b7fdc(0x2d2)](_0x521d8a[0x0]);})),_0x448dc1;}};Ct=Lt([k(0x3,_0x5eebc2(_0x54e9ab)),k(0x4,_0x5eebc2(_0x55750e)),k(0x5,_0x5eebc2(_0x3c43d2)),k(0x6,_0x5eebc2(_0x5b78cb)),k(0x7,_0x5eebc2(it)),k(0x8,_0x5eebc2(pe)),k(0x9,_0x1ca28b),k(0xa,_0x572fdd),k(0xb,_0x4ebb7c),k(0xc,_0x27b19f(ht)),k(0xd,_0x27b19f(J))],Ct);var mr=Object[_0x1a3a6b(0x1fd)],gr=Object[_0x1a3a6b(0xf3)],Sr=(_0x54234c,_0x14b6de,_0x3ad212,_0x17ea98)=>{for(var _0x51c9bf=_0x17ea98>0x1?void 0x0:_0x17ea98?gr(_0x14b6de,_0x3ad212):_0x14b6de,_0xcfe6c3=_0x54234c['length']-0x1,_0x23b843;_0xcfe6c3>=0x0;_0xcfe6c3--)(_0x23b843=_0x54234c[_0xcfe6c3])&&(_0x51c9bf=(_0x17ea98?_0x23b843(_0x14b6de,_0x3ad212,_0x51c9bf):_0x23b843(_0x51c9bf))||_0x51c9bf);return _0x17ea98&&_0x51c9bf&&mr(_0x14b6de,_0x3ad212,_0x51c9bf),_0x51c9bf;},ft=(_0x55d8f8,_0x11abd6)=>(_0x33e824,_0x31d1df)=>_0x11abd6(_0x33e824,_0x31d1df,_0x55d8f8);let rt=class extends _0x20578d{constructor(_0x58d773,_0x4b6a8e,_0x297861){var _0xf66fca=_0x1a3a6b;super(),N(this,_0xf66fca(0x364),new Map()),N(this,_0xf66fca(0xde),new _0x1b9930()),N(this,_0xf66fca(0x223),this[_0xf66fca(0xde)][_0xf66fca(0x9d)]()),(this[_0xf66fca(0x353)]=_0x58d773,this['_collabSessionService']=_0x4b6a8e,this[_0xf66fca(0x1d5)]=_0x297861,this[_0xf66fca(0x1c3)]());}[_0x1a3a6b(0xf0)](){var _0x4cd9a8=_0x1a3a6b;super[_0x4cd9a8(0xf0)](),this['_entities'][_0x4cd9a8(0x33c)](_0xa4c07e=>_0xa4c07e[_0x4cd9a8(0xf0)]()),this['_entities']['clear']();}['getCollabEntity'](_0x3454fb){var _0x3e377a=_0x1a3a6b,_0x4f1a05;return(_0x4f1a05=this[_0x3e377a(0x364)]['get'](_0x3454fb))!=null?_0x4f1a05:null;}[_0x1a3a6b(0x2d0)](_0x245720){var _0x25742d=_0x1a3a6b;const _0x5cd529=this[_0x25742d(0x2e2)](_0x245720);return _0x5cd529?_0x3a6100(_0x5cd529):this[_0x25742d(0xde)][_0x25742d(0x114)](_0x5cfa46(_0x7a1ad9=>_0x7a1ad9['unitID']===_0x245720));}['readyForCollab'](_0x5012ac){var _0x507b0f=_0x1a3a6b;return _0x530861(this[_0x507b0f(0x2d0)](_0x5012ac)['pipe'](_0x15b0db(()=>{})));}['_init'](){var _0x2926cb=_0x1a3a6b;this[_0x2926cb(0x1d5)][_0x2926cb(0x102)](_0x520b34[_0x2926cb(0x2c4)])[_0x2926cb(0x114)](_0x1131f9(this[_0x2926cb(0x15a)]),_0x1309f4(0x10))['subscribe'](async _0xec1654=>{var _0x1806a2=_0x2926cb;const _0x3483bf=_0xec1654[_0x1806a2(0x31c)](),_0x255651=await this[_0x1806a2(0x113)](_0x3483bf,Q['UNIVER_SHEET']);this[_0x1806a2(0x364)][_0x1806a2(0x389)](_0x3483bf,_0x255651);}),this[_0x2926cb(0x1d5)][_0x2926cb(0x102)](_0x520b34[_0x2926cb(0xef)])[_0x2926cb(0x114)](_0x1131f9(this['dispose$']),_0x1309f4(0x10))[_0x2926cb(0x114)](_0x5cfa46(_0x497ce9=>!_0x497ce9[_0x2926cb(0x31c)]()['startsWith']('__')))[_0x2926cb(0x175)](async _0x159a30=>{var _0x59d12e=_0x2926cb;const _0x244a3b=_0x159a30[_0x59d12e(0x31c)](),_0x3cef1b=await this[_0x59d12e(0x113)](_0x244a3b,Q[_0x59d12e(0xef)]);this[_0x59d12e(0x364)]['set'](_0x244a3b,_0x3cef1b);}),_0x56378f(this[_0x2926cb(0x1d5)][_0x2926cb(0x2c3)](_0x520b34['UNIVER_SHEET']),this[_0x2926cb(0x1d5)]['getTypeOfUnitDisposed$'](_0x520b34[_0x2926cb(0xef)]))[_0x2926cb(0x114)](_0x1131f9(this['dispose$']))[_0x2926cb(0x175)](_0x5d3adf=>{var _0x5b5e1c=_0x2926cb;const _0x1afac4=_0x5d3adf[_0x5b5e1c(0x31c)](),_0x266be1=this[_0x5b5e1c(0x364)][_0x5b5e1c(0x2f9)](_0x1afac4);_0x266be1&&(_0x266be1['dispose'](),this[_0x5b5e1c(0x364)][_0x5b5e1c(0xf4)](_0x1afac4));});}async[_0x1a3a6b(0x113)](_0x41f96e,_0x2f5815){var _0x2ca2da=_0x1a3a6b;const _0x24a739=await this[_0x2ca2da(0x38b)][_0x2ca2da(0x22b)](_0x41f96e),_0x59d169=this['_injector'][_0x2ca2da(0x2e6)](this[_0x2ca2da(0x157)](_0x2f5815),_0x41f96e,_0x2f5815,_0x24a739);return await _0x59d169[_0x2ca2da(0xce)](),this[_0x2ca2da(0xde)][_0x2ca2da(0x182)](_0x59d169),_0x59d169;}[_0x1a3a6b(0x157)](_0x4865b0){var _0x2b1593=_0x1a3a6b;switch(_0x4865b0){case Q[_0x2b1593(0xef)]:return Tt;case Q[_0x2b1593(0x2c4)]:return Ct;default:throw new Error(_0x2b1593(0x15c)+_0x4865b0);}}};rt=Sr([ft(0x0,_0x5eebc2(_0x54e9ab)),ft(0x1,_0x5eebc2(Le)),ft(0x2,_0x42a1e9)],rt);var Er=Object[_0x1a3a6b(0x1fd)],Ir=Object[_0x1a3a6b(0xf3)],Tr=(_0x2ddb84,_0x306988,_0xda1130,_0x39132c)=>{var _0x3c6044=_0x1a3a6b;for(var _0x51c7af=_0x39132c>0x1?void 0x0:_0x39132c?Ir(_0x306988,_0xda1130):_0x306988,_0x4c5c22=_0x2ddb84[_0x3c6044(0x23f)]-0x1,_0x23f2c4;_0x4c5c22>=0x0;_0x4c5c22--)(_0x23f2c4=_0x2ddb84[_0x4c5c22])&&(_0x51c7af=(_0x39132c?_0x23f2c4(_0x306988,_0xda1130,_0x51c7af):_0x23f2c4(_0x51c7af))||_0x51c7af);return _0x39132c&&_0x51c7af&&Er(_0x306988,_0xda1130,_0x51c7af),_0x51c7af;},Jt=(_0x38ce28,_0x54d2cc)=>(_0x30e58d,_0x49629d)=>_0x54d2cc(_0x30e58d,_0x49629d,_0x38ce28);const Cr=_0x1a3a6b(0xb1),Rr=_0x1a3a6b(0x258);let Rt=class extends _0x15bf0d{constructor(_0x5e8e0c,_0x5101cf){var _0x4ea7b4=_0x1a3a6b;super(),this[_0x4ea7b4(0x1d5)]=_0x5e8e0c,this[_0x4ea7b4(0x2a4)]=_0x5101cf,this['_init']();}[_0x1a3a6b(0x1c3)](){var _0x462f68=_0x1a3a6b;this[_0x462f68(0x375)](this[_0x462f68(0x1d5)][_0x462f68(0x127)]['subscribe'](()=>{var _0x54634a=_0x462f68,_0x4c3f7a;const _0x2eff04=this['_univerInstanceService'][_0x54634a(0x1f5)]();let _0x4c608e=(_0x4c3f7a=this[_0x54634a(0x2a4)][_0x54634a(0x268)](Cr))!=null?_0x4c3f7a:Rr;_0x2eff04 instanceof _0x35a766&&(_0x4c608e=_0x2eff04[_0x54634a(0x236)]),document['title']=_0x4c608e;}));}};Rt=Tr([Jt(0x0,_0x42a1e9),Jt(0x1,_0x4107ea)],Rt);var br=Object['defineProperty'],Or=Object['getOwnPropertyDescriptor'],yr=(_0x40b51f,_0x3f0764,_0x5514f1,_0x4a32bd)=>{var _0x1e0d2d=_0x1a3a6b;for(var _0x5bd20c=_0x4a32bd>0x1?void 0x0:_0x4a32bd?Or(_0x3f0764,_0x5514f1):_0x3f0764,_0x3c8989=_0x40b51f[_0x1e0d2d(0x23f)]-0x1,_0x3207c7;_0x3c8989>=0x0;_0x3c8989--)(_0x3207c7=_0x40b51f[_0x3c8989])&&(_0x5bd20c=(_0x4a32bd?_0x3207c7(_0x3f0764,_0x5514f1,_0x5bd20c):_0x3207c7(_0x5bd20c))||_0x5bd20c);return _0x4a32bd&&_0x5bd20c&&br(_0x3f0764,_0x5514f1,_0x5bd20c),_0x5bd20c;},vt=(_0x561d6f,_0x10cd4e)=>(_0x535525,_0x4d46ce)=>_0x10cd4e(_0x535525,_0x4d46ce,_0x561d6f);let st=class{constructor(_0xc4448f,_0x3f008f,_0x3b25cd){var _0x1bf798=_0x1a3a6b;this[_0x1bf798(0x2a4)]=_0xc4448f,this[_0x1bf798(0xd8)]=_0x3f008f,this[_0x1bf798(0x9c)]=_0x3b25cd,this[_0x1bf798(0xce)]();}[_0x1a3a6b(0xce)](){var _0xafbc5e=_0x1a3a6b;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x4faf99,_0x45e6ad)=>_0x45e6ad(_0x4faf99)[_0xafbc5e(0x114)](_0x44cc5d(async _0x23480f=>{var _0x21b0ae=_0xafbc5e;const _0x745f07=_0x23480f;if(_0x745f07[_0x21b0ae(0x39a)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x21b0ae(0x118)](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x92177a=window[_0x21b0ae(0xdc)](window['location']['href']);window[_0x21b0ae(0x11e)][_0x21b0ae(0xb2)]=this[_0x21b0ae(0xfa)]()+'?url='+_0x92177a;}}return _0x745f07;}))});}[_0x1a3a6b(0xfa)](){var _0x559a50=_0x1a3a6b,_0x4df5ff,_0x3d1f4f;const _0x22b3cd=this[_0x559a50(0x2a4)][_0x559a50(0x268)](xn),_0x232fba=this['_configService']['getConfig'](q);return(_0x3d1f4f=(_0x4df5ff=_0x232fba==null?void 0x0:_0x232fba[_0x559a50(0x322)])!=null?_0x4df5ff:_0x22b3cd)!=null?_0x3d1f4f:Ln;}};st=yr([vt(0x0,_0x4107ea),vt(0x1,_0x5eebc2(_0x5b5c45)),vt(0x2,_0x5eebc2(_0x3c43d2))],st);var Nr=Object['defineProperty'],Dr=Object[_0x1a3a6b(0xf3)],Pr=(_0x589a16,_0x4e3b57,_0x4b4f7e,_0x38852d)=>{var _0xe08c08=_0x1a3a6b;for(var _0x221dda=_0x38852d>0x1?void 0x0:_0x38852d?Dr(_0x4e3b57,_0x4b4f7e):_0x4e3b57,_0x1bfcf7=_0x589a16[_0xe08c08(0x23f)]-0x1,_0x9ac8e2;_0x1bfcf7>=0x0;_0x1bfcf7--)(_0x9ac8e2=_0x589a16[_0x1bfcf7])&&(_0x221dda=(_0x38852d?_0x9ac8e2(_0x4e3b57,_0x4b4f7e,_0x221dda):_0x9ac8e2(_0x221dda))||_0x221dda);return _0x38852d&&_0x221dda&&Nr(_0x4e3b57,_0x4b4f7e,_0x221dda),_0x221dda;},Xt=(_0x10b7b7,_0x4a4ad4)=>(_0x30cad7,_0x2c1be8)=>_0x4a4ad4(_0x30cad7,_0x2c1be8,_0x10b7b7);const Pi=_0x1a3a6b(0x28f),wr=_0x1a3a6b(0xe7);let bt=class extends _0x15bf0d{constructor(_0x47fd82,_0x22286e){var _0x2241e3=_0x1a3a6b;super(),this[_0x2241e3(0x1b1)]=_0x47fd82,this[_0x2241e3(0x2a4)]=_0x22286e,this[_0x2241e3(0x103)]();}[_0x1a3a6b(0x103)](){var _0x52a0ea=_0x1a3a6b;const _0x467c71=this;this[_0x52a0ea(0x375)](this[_0x52a0ea(0x1b1)][_0x52a0ea(0x2ac)]({'priority':0x3e7,'interceptor':_0x28dfed({'isMatch'(_0xa229ec){var _0x1e219a=_0x52a0ea,_0x599c9a;if(_0xa229ec[_0x1e219a(0x226)]==='POST'&&((_0x599c9a=_0xa229ec[_0x1e219a(0x146)])!=null&&_0x599c9a[_0x1e219a(0x186)])){const {objectID:_0x3b918e,objectType:_0x145943}=_0xa229ec[_0x1e219a(0x146)][_0x1e219a(0x186)]||{};if(!_0x3b918e||_0x145943===void 0x0)return!0x1;const _0x135648=_0x467c71['_getAPIPrefixPath']()+'/'+_0x145943+_0x1e219a(0x378)+_0x3b918e+_0x1e219a(0x2ec);if(_0xa229ec[_0x1e219a(0x1dd)]===_0x135648)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x200d48){var _0x438b26=_0x52a0ea,_0x1d1595;return(_0x1d1595=_0x200d48[_0x438b26(0x146)])==null?void 0x0:_0x1d1595[_0x438b26(0x186)];},'mergeParamsToRequest'(_0x990564,_0x3506e0){var _0x51e57d=_0x52a0ea;const _0x48c97d=_0x467c71[_0x51e57d(0x233)]()+'/-/object/-/batch_allowed',_0x4b4961=_0x990564[_0x51e57d(0x321)]((_0x220b17,_0x2f3f7e)=>{var _0x5cb19d=_0x51e57d;const {unitID:_0x10cbd4,objectID:_0x159620,objectType:_0xc165d8,actions:_0x4fdb38}=_0x2f3f7e;return _0x220b17[_0x10cbd4]||(_0x220b17[_0x10cbd4]={}),_0x220b17[_0x10cbd4][_0x159620]||(_0x220b17[_0x10cbd4][_0x159620]={'objectID':_0x159620,'objectType':_0xc165d8,'actions':[]}),_0x220b17[_0x10cbd4][_0x159620]['actions'][_0x5cb19d(0x126)](..._0x4fdb38),_0x220b17;},{}),_0x4e4279=[];for(const _0x2b5a1c in _0x4b4961)for(const _0x576928 in _0x4b4961[_0x2b5a1c]){const {actions:_0x39b5e4,objectType:_0x18b3f4}=_0x4b4961[_0x2b5a1c][_0x576928],_0x559be2=[...new Set(_0x39b5e4)];_0x4e4279[_0x51e57d(0x126)]({'unitID':_0x2b5a1c,'objectID':_0x576928,'objectType':_0x18b3f4,'actions':_0x559be2});}return new _0x59d13e('POST',_0x48c97d,{'headers':_0x3506e0[_0x51e57d(0x1db)],'withCredentials':_0x3506e0[_0x51e57d(0x30c)],'responseType':_0x3506e0[_0x51e57d(0x350)],'body':{'requests':_0x4e4279}});}},{'distributeResult'(_0x196c9d,_0x3ae869){var _0x4f1f3a=_0x52a0ea;const {objectActions:_0x1a007e}=_0x196c9d;return _0x3ae869[_0x4f1f3a(0x302)](_0xd5ae3d=>{var _0x503e36=_0x4f1f3a;const {unitID:_0x44d23f,objectID:_0x17c698,actions:_0x5f1b69}=_0xd5ae3d,_0x458d2e=_0x1a007e[_0x503e36(0x14c)](_0x25e05b=>_0x25e05b[_0x503e36(0x19d)]===_0x44d23f&&_0x25e05b[_0x503e36(0x1a9)]===_0x17c698),_0x3e0274=_0x5f1b69[_0x503e36(0x302)](_0x387a9f=>_0x458d2e==null?void 0x0:_0x458d2e['actions'][_0x503e36(0x14c)](_0x5efec6=>_0x5efec6['action']===_0x387a9f))[_0x503e36(0x1eb)](_0xf38151=>!!_0xf38151);return{'config':_0xd5ae3d,'result':{'actions':_0x3e0274,'error':_0x196c9d[_0x503e36(0x362)]}};});}})}));}[_0x1a3a6b(0x233)](){var _0x31269f=_0x1a3a6b,_0x2957de,_0x12e5a1;const _0x47c802=this[_0x31269f(0x2a4)][_0x31269f(0x268)](Pi),_0x4bd683=this[_0x31269f(0x2a4)]['getConfig'](q);return(_0x12e5a1=(_0x2957de=_0x4bd683==null?void 0x0:_0x4bd683[_0x31269f(0x128)])!=null?_0x2957de:_0x47c802)!=null?_0x12e5a1:wr;}async[_0x1a3a6b(0x107)](_0x57f9d3){var _0x17fe59=_0x1a3a6b;const _0x24d1eb=this['_getAPIPrefixPath']()+'/'+_0x57f9d3[_0x17fe59(0xeb)]+'/object';return(await this[_0x17fe59(0x1b1)][_0x17fe59(0x2a5)](_0x24d1eb,{'body':_0x57f9d3}))[_0x17fe59(0x186)][_0x17fe59(0x1a9)]||'';}async[_0x1a3a6b(0x398)](_0x21c5c5){var _0x47f3fa=_0x1a3a6b;const _0x25e430=this['_getAPIPrefixPath']()+_0x47f3fa(0x297);return(await this[_0x47f3fa(0x1b1)][_0x47f3fa(0x2a5)](_0x25e430,{'body':_0x21c5c5}))[_0x47f3fa(0x186)]['objects'];}async[_0x1a3a6b(0x97)](_0xfd6afc){var _0xe9c540=_0x1a3a6b;const _0x23c816=this[_0xe9c540(0x233)]()+'/'+_0xfd6afc[_0xe9c540(0xeb)]+_0xe9c540(0x378)+_0xfd6afc[_0xe9c540(0x1a9)];await this[_0xe9c540(0x1b1)][_0xe9c540(0x19b)](_0x23c816,{'body':_0xfd6afc});}async[_0x1a3a6b(0x34c)](_0xec8ac3){var _0x27dc6a=_0x1a3a6b;const _0x476afa=this['_getAPIPrefixPath']()+'/'+_0xec8ac3[_0x27dc6a(0xeb)]+_0x27dc6a(0x378)+_0xec8ac3['objectID']+_0x27dc6a(0x2ec);return(await this[_0x27dc6a(0x1b1)][_0x27dc6a(0x2a5)](_0x476afa,{'body':_0xec8ac3}))[_0x27dc6a(0x186)]['actions'];}async[_0x1a3a6b(0x293)](_0x38b8a3){var _0x52db7d=_0x1a3a6b;const _0x32baa7=this[_0x52db7d(0x233)]()+'/-/object/-/batch_allowed';return(await this[_0x52db7d(0x1b1)][_0x52db7d(0x2a5)](_0x32baa7,{'body':{'requests':_0x38b8a3}}))[_0x52db7d(0x186)][_0x52db7d(0x36d)];}async[_0x1a3a6b(0x37b)](_0xb9a4ad){var _0x314e2b=_0x1a3a6b;const _0x2c239a=this[_0x314e2b(0x233)]()+'/'+_0xb9a4ad[_0x314e2b(0xeb)]+_0x314e2b(0xdb),_0x418b90=await this[_0x314e2b(0x1b1)]['post'](_0x2c239a,{'body':_0xb9a4ad});return{'roles':_0x418b90[_0x314e2b(0x186)]['roles'],'actions':_0x418b90[_0x314e2b(0x186)][_0x314e2b(0x2ce)]};}async[_0x1a3a6b(0x393)](_0x3fe3fe){var _0xf7f224=_0x1a3a6b;const _0x30b4f8=this[_0xf7f224(0x233)]()+_0xf7f224(0x30f);await this[_0xf7f224(0x1b1)][_0xf7f224(0xf4)](_0x30b4f8,{'params':{'collaboratorID':_0x3fe3fe[_0xf7f224(0x2f2)],'objectID':_0x3fe3fe[_0xf7f224(0x1a9)],'unitID':_0x3fe3fe[_0xf7f224(0x19d)]}});}async[_0x1a3a6b(0x249)](_0x38aa54){var _0x50dbcf=_0x1a3a6b;const _0x9b1522=this[_0x50dbcf(0x233)]()+_0x50dbcf(0x30f);await this['_HTTPService'][_0x50dbcf(0x383)](_0x9b1522,{'body':_0x38aa54});}async['createCollaborator'](_0x57358a){var _0x31f87d=_0x1a3a6b;const _0x2f7fab=this[_0x31f87d(0x233)]()+_0x31f87d(0x30f);await this[_0x31f87d(0x1b1)][_0x31f87d(0x2a5)](_0x2f7fab,{'body':_0x57358a});}async['listCollaborators'](_0x1885bd){var _0xbbfe20=_0x1a3a6b;const _0x37dfdd=this[_0xbbfe20(0x233)]()+_0xbbfe20(0x30f);return(await this[_0xbbfe20(0x1b1)][_0xbbfe20(0x2f9)](_0x37dfdd,{'params':{'objectID':_0x1885bd['objectID'],'unitID':_0x1885bd[_0xbbfe20(0x19d)]}}))[_0xbbfe20(0x186)][_0xbbfe20(0x26e)];}async[_0x1a3a6b(0xa4)](_0xb5a2ea){var _0x34ae2f=_0x1a3a6b;const _0x4f0de4=this['_getAPIPrefixPath']()+_0x34ae2f(0x30f);await this[_0x34ae2f(0x1b1)]['put'](_0x4f0de4,{'body':_0xb5a2ea});}};bt=Pr([Xt(0x0,_0x5eebc2(_0x5b5c45)),Xt(0x1,_0x5eebc2(_0x4107ea))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x46dbca){var _0x3f4e8b=_0x1a3a6b;return _0x46dbca&&_0x46dbca[_0x3f4e8b(0x2cf)]&&Object['prototype'][_0x3f4e8b(0x1fe)][_0x3f4e8b(0x106)](_0x46dbca,'default')?_0x46dbca[_0x3f4e8b(0x294)]:_0x46dbca;}var Ve={'exports':{}};function Ur(_0x23446c){var _0x4ffd38=_0x1a3a6b;throw new Error(_0x4ffd38(0xac)+_0x23446c+_0x4ffd38(0x35d));}var Ge={'exports':{}},Ar=Ge[_0x1a3a6b(0x333)],Zt;function ne(){return Zt||(Zt=0x1,function(_0x916eff,_0x46ec57){(function(_0x52061c,_0x468914){var _0x2db503=_0x2c36;_0x916eff[_0x2db503(0x333)]=_0x468914();}(Ar,function(){var _0x1cfae4=_0x1cfae4||function(_0x4ba442,_0x406689){var _0x2ccb21=_0x2c36,_0x83bc9c;if(typeof window<'u'&&window[_0x2ccb21(0xea)]&&(_0x83bc9c=window[_0x2ccb21(0xea)]),typeof self<'u'&&self['crypto']&&(_0x83bc9c=self['crypto']),typeof globalThis<'u'&&globalThis[_0x2ccb21(0xea)]&&(_0x83bc9c=globalThis[_0x2ccb21(0xea)]),!_0x83bc9c&&typeof window<'u'&&window[_0x2ccb21(0x16a)]&&(_0x83bc9c=window['msCrypto']),!_0x83bc9c&&typeof pt<'u'&&pt['crypto']&&(_0x83bc9c=pt[_0x2ccb21(0xea)]),!_0x83bc9c&&typeof Ur=='function')try{_0x83bc9c=require(_0x2ccb21(0xea));}catch{}var _0x34838b=function(){var _0x2d8dce=_0x2ccb21;if(_0x83bc9c){if(typeof _0x83bc9c[_0x2d8dce(0x311)]=='function')try{return _0x83bc9c[_0x2d8dce(0x311)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x83bc9c['randomBytes']=='function')try{return _0x83bc9c[_0x2d8dce(0x357)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x2d8dce(0x2db));},_0x45f04e=Object[_0x2ccb21(0x107)]||(function(){function _0x5c9e8e(){}return function(_0xbbb6aa){var _0x1480fc=_0x2c36,_0x3e383e;return _0x5c9e8e[_0x1480fc(0x366)]=_0xbbb6aa,_0x3e383e=new _0x5c9e8e(),_0x5c9e8e[_0x1480fc(0x366)]=null,_0x3e383e;};}()),_0x519ef8={},_0x4d3365=_0x519ef8['lib']={},_0x46fa82=_0x4d3365[_0x2ccb21(0xca)]=(function(){return{'extend':function(_0x4dedaa){var _0x1d8ebf=_0x2c36,_0x1af602=_0x45f04e(this);return _0x4dedaa&&_0x1af602['mixIn'](_0x4dedaa),(!_0x1af602['hasOwnProperty'](_0x1d8ebf(0xce))||this[_0x1d8ebf(0xce)]===_0x1af602[_0x1d8ebf(0xce)])&&(_0x1af602[_0x1d8ebf(0xce)]=function(){var _0x5a5454=_0x1d8ebf;_0x1af602['$super'][_0x5a5454(0xce)][_0x5a5454(0x12e)](this,arguments);}),_0x1af602['init'][_0x1d8ebf(0x366)]=_0x1af602,_0x1af602[_0x1d8ebf(0x38f)]=this,_0x1af602;},'create':function(){var _0x43589d=_0x2c36,_0x505acd=this[_0x43589d(0x2c2)]();return _0x505acd[_0x43589d(0xce)][_0x43589d(0x12e)](_0x505acd,arguments),_0x505acd;},'init':function(){},'mixIn':function(_0x59d94e){var _0x3026f7=_0x2c36;for(var _0x4849ab in _0x59d94e)_0x59d94e[_0x3026f7(0x1fe)](_0x4849ab)&&(this[_0x4849ab]=_0x59d94e[_0x4849ab]);_0x59d94e[_0x3026f7(0x1fe)]('toString')&&(this[_0x3026f7(0x377)]=_0x59d94e['toString']);},'clone':function(){var _0x2e6e2a=_0x2c36;return this[_0x2e6e2a(0xce)][_0x2e6e2a(0x366)][_0x2e6e2a(0x2c2)](this);}};}()),_0x4af3e5=_0x4d3365[_0x2ccb21(0x32c)]=_0x46fa82[_0x2ccb21(0x2c2)]({'init':function(_0x4e83eb,_0x71e548){var _0x55499c=_0x2ccb21;_0x4e83eb=this[_0x55499c(0x11d)]=_0x4e83eb||[],_0x71e548!=_0x406689?this['sigBytes']=_0x71e548:this['sigBytes']=_0x4e83eb[_0x55499c(0x23f)]*0x4;},'toString':function(_0x2b1631){var _0x398212=_0x2ccb21;return(_0x2b1631||_0x261d1b)[_0x398212(0x1d1)](this);},'concat':function(_0x523310){var _0x4d94c9=_0x2ccb21,_0x1f1500=this[_0x4d94c9(0x11d)],_0x39722f=_0x523310[_0x4d94c9(0x11d)],_0x4ad419=this[_0x4d94c9(0x29f)],_0x38c0be=_0x523310['sigBytes'];if(this[_0x4d94c9(0x269)](),_0x4ad419%0x4)for(var _0x599df2=0x0;_0x599df2<_0x38c0be;_0x599df2++){var _0x547e64=_0x39722f[_0x599df2>>>0x2]>>>0x18-_0x599df2%0x4*0x8&0xff;_0x1f1500[_0x4ad419+_0x599df2>>>0x2]|=_0x547e64<<0x18-(_0x4ad419+_0x599df2)%0x4*0x8;}else{for(var _0xa746f7=0x0;_0xa746f7<_0x38c0be;_0xa746f7+=0x4)_0x1f1500[_0x4ad419+_0xa746f7>>>0x2]=_0x39722f[_0xa746f7>>>0x2];}return this[_0x4d94c9(0x29f)]+=_0x38c0be,this;},'clamp':function(){var _0x5cc78b=_0x2ccb21,_0x5ed02f=this[_0x5cc78b(0x11d)],_0x4e3d3d=this[_0x5cc78b(0x29f)];_0x5ed02f[_0x4e3d3d>>>0x2]&=0xffffffff<<0x20-_0x4e3d3d%0x4*0x8,_0x5ed02f[_0x5cc78b(0x23f)]=_0x4ba442[_0x5cc78b(0x125)](_0x4e3d3d/0x4);},'clone':function(){var _0x2daeb3=_0x2ccb21,_0x2b7eb8=_0x46fa82['clone'][_0x2daeb3(0x106)](this);return _0x2b7eb8[_0x2daeb3(0x11d)]=this[_0x2daeb3(0x11d)][_0x2daeb3(0x337)](0x0),_0x2b7eb8;},'random':function(_0x4efbce){var _0x4c5c10=_0x2ccb21;for(var _0x2da1d0=[],_0x1c897f=0x0;_0x1c897f<_0x4efbce;_0x1c897f+=0x4)_0x2da1d0[_0x4c5c10(0x126)](_0x34838b());return new _0x4af3e5[(_0x4c5c10(0xce))](_0x2da1d0,_0x4efbce);}}),_0x2dabf4=_0x519ef8[_0x2ccb21(0x111)]={},_0x261d1b=_0x2dabf4['Hex']={'stringify':function(_0x1c4843){var _0x2774ea=_0x2ccb21;for(var _0x347108=_0x1c4843[_0x2774ea(0x11d)],_0x159422=_0x1c4843[_0x2774ea(0x29f)],_0x283a18=[],_0x4925f0=0x0;_0x4925f0<_0x159422;_0x4925f0++){var _0x23e188=_0x347108[_0x4925f0>>>0x2]>>>0x18-_0x4925f0%0x4*0x8&0xff;_0x283a18['push']((_0x23e188>>>0x4)[_0x2774ea(0x377)](0x10)),_0x283a18['push']((_0x23e188&0xf)['toString'](0x10));}return _0x283a18[_0x2774ea(0x224)]('');},'parse':function(_0x25c5bc){var _0x1b5cf2=_0x2ccb21;for(var _0x265a05=_0x25c5bc[_0x1b5cf2(0x23f)],_0x429282=[],_0x59fcd=0x0;_0x59fcd<_0x265a05;_0x59fcd+=0x2)_0x429282[_0x59fcd>>>0x3]|=parseInt(_0x25c5bc[_0x1b5cf2(0x105)](_0x59fcd,0x2),0x10)<<0x18-_0x59fcd%0x8*0x4;return new _0x4af3e5[(_0x1b5cf2(0xce))](_0x429282,_0x265a05/0x2);}},_0x45c1f0=_0x2dabf4[_0x2ccb21(0x13e)]={'stringify':function(_0x12a355){var _0x275ae6=_0x2ccb21;for(var _0x25df2d=_0x12a355[_0x275ae6(0x11d)],_0x3d6e5d=_0x12a355[_0x275ae6(0x29f)],_0x39af59=[],_0x1bd10b=0x0;_0x1bd10b<_0x3d6e5d;_0x1bd10b++){var _0x5bae96=_0x25df2d[_0x1bd10b>>>0x2]>>>0x18-_0x1bd10b%0x4*0x8&0xff;_0x39af59[_0x275ae6(0x126)](String[_0x275ae6(0x2f7)](_0x5bae96));}return _0x39af59['join']('');},'parse':function(_0x36ddd4){for(var _0x20163f=_0x36ddd4['length'],_0x3b93a9=[],_0x1ea617=0x0;_0x1ea617<_0x20163f;_0x1ea617++)_0x3b93a9[_0x1ea617>>>0x2]|=(_0x36ddd4['charCodeAt'](_0x1ea617)&0xff)<<0x18-_0x1ea617%0x4*0x8;return new _0x4af3e5['init'](_0x3b93a9,_0x20163f);}},_0x42a06f=_0x2dabf4[_0x2ccb21(0x232)]={'stringify':function(_0x4d6cbb){var _0x149cfe=_0x2ccb21;try{return decodeURIComponent(escape(_0x45c1f0[_0x149cfe(0x1d1)](_0x4d6cbb)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x82561f){return _0x45c1f0['parse'](unescape(encodeURIComponent(_0x82561f)));}},_0x3296c9=_0x4d3365[_0x2ccb21(0x33e)]=_0x46fa82[_0x2ccb21(0x2c2)]({'reset':function(){var _0x37e46c=_0x2ccb21;this[_0x37e46c(0x1f6)]=new _0x4af3e5[(_0x37e46c(0xce))](),this[_0x37e46c(0x320)]=0x0;},'_append':function(_0x52b58f){var _0xe5e851=_0x2ccb21;typeof _0x52b58f==_0xe5e851(0x35a)&&(_0x52b58f=_0x42a06f[_0xe5e851(0x119)](_0x52b58f)),this['_data'][_0xe5e851(0x9a)](_0x52b58f),this['_nDataBytes']+=_0x52b58f['sigBytes'];},'_process':function(_0x375e46){var _0x2a1d80=_0x2ccb21,_0x166be7,_0x1b02d6=this[_0x2a1d80(0x1f6)],_0x4e12bb=_0x1b02d6[_0x2a1d80(0x11d)],_0x350ce6=_0x1b02d6[_0x2a1d80(0x29f)],_0x42fe18=this[_0x2a1d80(0x241)],_0xea3a8d=_0x42fe18*0x4,_0x515579=_0x350ce6/_0xea3a8d;_0x375e46?_0x515579=_0x4ba442[_0x2a1d80(0x125)](_0x515579):_0x515579=_0x4ba442[_0x2a1d80(0x344)]((_0x515579|0x0)-this[_0x2a1d80(0x138)],0x0);var _0x46dd29=_0x515579*_0x42fe18,_0x41b2c0=_0x4ba442[_0x2a1d80(0x2ca)](_0x46dd29*0x4,_0x350ce6);if(_0x46dd29){for(var _0x163bc0=0x0;_0x163bc0<_0x46dd29;_0x163bc0+=_0x42fe18)this[_0x2a1d80(0x129)](_0x4e12bb,_0x163bc0);_0x166be7=_0x4e12bb['splice'](0x0,_0x46dd29),_0x1b02d6['sigBytes']-=_0x41b2c0;}return new _0x4af3e5['init'](_0x166be7,_0x41b2c0);},'clone':function(){var _0x21914e=_0x2ccb21,_0x4ca004=_0x46fa82['clone']['call'](this);return _0x4ca004[_0x21914e(0x1f6)]=this[_0x21914e(0x1f6)]['clone'](),_0x4ca004;},'_minBufferSize':0x0});_0x4d3365['Hasher']=_0x3296c9[_0x2ccb21(0x2c2)]({'cfg':_0x46fa82[_0x2ccb21(0x2c2)](),'init':function(_0x77d991){var _0xc776c7=_0x2ccb21;this[_0xc776c7(0x173)]=this[_0xc776c7(0x173)][_0xc776c7(0x2c2)](_0x77d991),this[_0xc776c7(0x2c0)]();},'reset':function(){var _0x317da4=_0x2ccb21;_0x3296c9[_0x317da4(0x2c0)][_0x317da4(0x106)](this),this['_doReset']();},'update':function(_0x39702d){var _0x14ddaa=_0x2ccb21;return this['_append'](_0x39702d),this[_0x14ddaa(0x21f)](),this;},'finalize':function(_0x2d7655){var _0x28919a=_0x2ccb21;_0x2d7655&&this[_0x28919a(0x28c)](_0x2d7655);var _0x52f52c=this[_0x28919a(0x272)]();return _0x52f52c;},'blockSize':0x10,'_createHelper':function(_0x131979){return function(_0x3c294e,_0x2e9c71){var _0x23a49a=_0x2c36;return new _0x131979['init'](_0x2e9c71)[_0x23a49a(0x2da)](_0x3c294e);};},'_createHmacHelper':function(_0x20de7e){return function(_0xd8a5ad,_0x55ab37){var _0x5096eb=_0x2c36;return new _0x430c36[(_0x5096eb(0xba))][(_0x5096eb(0xce))](_0x20de7e,_0x55ab37)[_0x5096eb(0x2da)](_0xd8a5ad);};}});var _0x430c36=_0x519ef8[_0x2ccb21(0x19a)]={};return _0x519ef8;}(Math);return _0x1cfae4;}));}(Ge)),Ge['exports'];}var We={'exports':{}},xr=We[_0x1a3a6b(0x333)],Qt;function wi(){var _0x1459c0=_0x1a3a6b;return Qt||(Qt=0x1,function(_0x1b5c48,_0x22f48b){(function(_0x3f5d79,_0x1a50c5){var _0x823c17=_0x2c36;_0x1b5c48[_0x823c17(0x333)]=_0x1a50c5(ne());}(xr,function(_0x2cde99){var _0x5010ce=_0x2c36;return(function(){var _0x186754=_0x2c36,_0x59eb5e=_0x2cde99,_0x20ce30=_0x59eb5e[_0x186754(0xe3)],_0x1dd519=_0x20ce30['WordArray'],_0x578257=_0x59eb5e['enc'];_0x578257[_0x186754(0x1fa)]={'stringify':function(_0x37d300){var _0x226327=_0x186754,_0x227b19=_0x37d300['words'],_0x188709=_0x37d300[_0x226327(0x29f)],_0xa15340=this[_0x226327(0x1c2)];_0x37d300[_0x226327(0x269)]();for(var _0x557e86=[],_0x5ef2cd=0x0;_0x5ef2cd<_0x188709;_0x5ef2cd+=0x3)for(var _0x5acc91=_0x227b19[_0x5ef2cd>>>0x2]>>>0x18-_0x5ef2cd%0x4*0x8&0xff,_0x4d5cef=_0x227b19[_0x5ef2cd+0x1>>>0x2]>>>0x18-(_0x5ef2cd+0x1)%0x4*0x8&0xff,_0x1141fb=_0x227b19[_0x5ef2cd+0x2>>>0x2]>>>0x18-(_0x5ef2cd+0x2)%0x4*0x8&0xff,_0x4aec92=_0x5acc91<<0x10|_0x4d5cef<<0x8|_0x1141fb,_0xc5a957=0x0;_0xc5a957<0x4&&_0x5ef2cd+_0xc5a957*0.75<_0x188709;_0xc5a957++)_0x557e86[_0x226327(0x126)](_0xa15340[_0x226327(0x289)](_0x4aec92>>>0x6*(0x3-_0xc5a957)&0x3f));var _0xcebad9=_0xa15340[_0x226327(0x289)](0x40);if(_0xcebad9){for(;_0x557e86[_0x226327(0x23f)]%0x4;)_0x557e86['push'](_0xcebad9);}return _0x557e86[_0x226327(0x224)]('');},'parse':function(_0x2bfff4){var _0x3c3255=_0x186754,_0x55b096=_0x2bfff4[_0x3c3255(0x23f)],_0x487a0e=this[_0x3c3255(0x1c2)],_0x4042d7=this[_0x3c3255(0xaf)];if(!_0x4042d7){_0x4042d7=this[_0x3c3255(0xaf)]=[];for(var _0x3f2c21=0x0;_0x3f2c21<_0x487a0e[_0x3c3255(0x23f)];_0x3f2c21++)_0x4042d7[_0x487a0e[_0x3c3255(0xe5)](_0x3f2c21)]=_0x3f2c21;}var _0xe4906a=_0x487a0e['charAt'](0x40);if(_0xe4906a){var _0xeea9b=_0x2bfff4[_0x3c3255(0x37c)](_0xe4906a);_0xeea9b!==-0x1&&(_0x55b096=_0xeea9b);}return _0xacc33b(_0x2bfff4,_0x55b096,_0x4042d7);},'_map':_0x186754(0x1e5)};function _0xacc33b(_0x32164c,_0x4846a9,_0x43e556){var _0x4df91e=_0x186754;for(var _0x513e10=[],_0x3ab1a2=0x0,_0x206855=0x0;_0x206855<_0x4846a9;_0x206855++)if(_0x206855%0x4){var _0x688646=_0x43e556[_0x32164c[_0x4df91e(0xe5)](_0x206855-0x1)]<<_0x206855%0x4*0x2,_0x55edce=_0x43e556[_0x32164c[_0x4df91e(0xe5)](_0x206855)]>>>0x6-_0x206855%0x4*0x2,_0x3b2253=_0x688646|_0x55edce;_0x513e10[_0x3ab1a2>>>0x2]|=_0x3b2253<<0x18-_0x3ab1a2%0x4*0x8,_0x3ab1a2++;}return _0x1dd519[_0x4df91e(0x107)](_0x513e10,_0x3ab1a2);}}()),_0x2cde99[_0x5010ce(0x111)]['Base64'];}));}(We)),We[_0x1459c0(0x333)];}var Ke={'exports':{}},Lr=Ke[_0x1a3a6b(0x333)],ei;function Mr(){var _0xb37cd7=_0x1a3a6b;return ei||(ei=0x1,function(_0x443f57,_0x2c57f7){(function(_0x19f099,_0x13060f){var _0x354c8d=_0x2c36;_0x443f57[_0x354c8d(0x333)]=_0x13060f(ne());}(Lr,function(_0x12327b){var _0x552a2f=_0x2c36;return function(_0x2b49cb){var _0x2c2700=_0x2c36,_0x113f03=_0x12327b,_0x4ab90d=_0x113f03[_0x2c2700(0xe3)],_0x2918a1=_0x4ab90d['WordArray'],_0x3acf4c=_0x4ab90d[_0x2c2700(0x2b8)],_0x14810a=_0x113f03['algo'],_0x283c48=[];(function(){var _0x1a0ddd=_0x2c2700;for(var _0x3b1c00=0x0;_0x3b1c00<0x40;_0x3b1c00++)_0x283c48[_0x3b1c00]=_0x2b49cb[_0x1a0ddd(0x20f)](_0x2b49cb[_0x1a0ddd(0x26a)](_0x3b1c00+0x1))*0x100000000|0x0;}());var _0x24e24b=_0x14810a[_0x2c2700(0xcb)]=_0x3acf4c[_0x2c2700(0x2c2)]({'_doReset':function(){var _0x3e6bc3=_0x2c2700;this[_0x3e6bc3(0xfe)]=new _0x2918a1[(_0x3e6bc3(0xce))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2c81b3,_0x205949){var _0x5ca531=_0x2c2700;for(var _0x430c9e=0x0;_0x430c9e<0x10;_0x430c9e++){var _0x340127=_0x205949+_0x430c9e,_0x5d9c18=_0x2c81b3[_0x340127];_0x2c81b3[_0x340127]=(_0x5d9c18<<0x8|_0x5d9c18>>>0x18)&0xff00ff|(_0x5d9c18<<0x18|_0x5d9c18>>>0x8)&0xff00ff00;}var _0x33b2c5=this[_0x5ca531(0xfe)][_0x5ca531(0x11d)],_0x4a53c6=_0x2c81b3[_0x205949+0x0],_0x119254=_0x2c81b3[_0x205949+0x1],_0x4fba5e=_0x2c81b3[_0x205949+0x2],_0x573dbe=_0x2c81b3[_0x205949+0x3],_0x4efd13=_0x2c81b3[_0x205949+0x4],_0x475bdc=_0x2c81b3[_0x205949+0x5],_0x1e5ccc=_0x2c81b3[_0x205949+0x6],_0x3709ca=_0x2c81b3[_0x205949+0x7],_0x49e92c=_0x2c81b3[_0x205949+0x8],_0x355073=_0x2c81b3[_0x205949+0x9],_0x3b50ee=_0x2c81b3[_0x205949+0xa],_0x55818e=_0x2c81b3[_0x205949+0xb],_0x1c6995=_0x2c81b3[_0x205949+0xc],_0x337979=_0x2c81b3[_0x205949+0xd],_0x10a6e4=_0x2c81b3[_0x205949+0xe],_0x52e20a=_0x2c81b3[_0x205949+0xf],_0x4be8de=_0x33b2c5[0x0],_0x2bf6cd=_0x33b2c5[0x1],_0x3f80af=_0x33b2c5[0x2],_0x17e0b7=_0x33b2c5[0x3];_0x4be8de=_0x40e89d(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4a53c6,0x7,_0x283c48[0x0]),_0x17e0b7=_0x40e89d(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x119254,0xc,_0x283c48[0x1]),_0x3f80af=_0x40e89d(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x4fba5e,0x11,_0x283c48[0x2]),_0x2bf6cd=_0x40e89d(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x573dbe,0x16,_0x283c48[0x3]),_0x4be8de=_0x40e89d(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4efd13,0x7,_0x283c48[0x4]),_0x17e0b7=_0x40e89d(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x475bdc,0xc,_0x283c48[0x5]),_0x3f80af=_0x40e89d(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x1e5ccc,0x11,_0x283c48[0x6]),_0x2bf6cd=_0x40e89d(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x3709ca,0x16,_0x283c48[0x7]),_0x4be8de=_0x40e89d(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x49e92c,0x7,_0x283c48[0x8]),_0x17e0b7=_0x40e89d(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x355073,0xc,_0x283c48[0x9]),_0x3f80af=_0x40e89d(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3b50ee,0x11,_0x283c48[0xa]),_0x2bf6cd=_0x40e89d(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x55818e,0x16,_0x283c48[0xb]),_0x4be8de=_0x40e89d(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x1c6995,0x7,_0x283c48[0xc]),_0x17e0b7=_0x40e89d(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x337979,0xc,_0x283c48[0xd]),_0x3f80af=_0x40e89d(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x10a6e4,0x11,_0x283c48[0xe]),_0x2bf6cd=_0x40e89d(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x52e20a,0x16,_0x283c48[0xf]),_0x4be8de=_0x2d7d9b(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x119254,0x5,_0x283c48[0x10]),_0x17e0b7=_0x2d7d9b(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x1e5ccc,0x9,_0x283c48[0x11]),_0x3f80af=_0x2d7d9b(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x55818e,0xe,_0x283c48[0x12]),_0x2bf6cd=_0x2d7d9b(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x4a53c6,0x14,_0x283c48[0x13]),_0x4be8de=_0x2d7d9b(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x475bdc,0x5,_0x283c48[0x14]),_0x17e0b7=_0x2d7d9b(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x3b50ee,0x9,_0x283c48[0x15]),_0x3f80af=_0x2d7d9b(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x52e20a,0xe,_0x283c48[0x16]),_0x2bf6cd=_0x2d7d9b(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x4efd13,0x14,_0x283c48[0x17]),_0x4be8de=_0x2d7d9b(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x355073,0x5,_0x283c48[0x18]),_0x17e0b7=_0x2d7d9b(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x10a6e4,0x9,_0x283c48[0x19]),_0x3f80af=_0x2d7d9b(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x573dbe,0xe,_0x283c48[0x1a]),_0x2bf6cd=_0x2d7d9b(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x49e92c,0x14,_0x283c48[0x1b]),_0x4be8de=_0x2d7d9b(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x337979,0x5,_0x283c48[0x1c]),_0x17e0b7=_0x2d7d9b(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x4fba5e,0x9,_0x283c48[0x1d]),_0x3f80af=_0x2d7d9b(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3709ca,0xe,_0x283c48[0x1e]),_0x2bf6cd=_0x2d7d9b(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x1c6995,0x14,_0x283c48[0x1f]),_0x4be8de=_0xfa3c14(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x475bdc,0x4,_0x283c48[0x20]),_0x17e0b7=_0xfa3c14(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x49e92c,0xb,_0x283c48[0x21]),_0x3f80af=_0xfa3c14(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x55818e,0x10,_0x283c48[0x22]),_0x2bf6cd=_0xfa3c14(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x10a6e4,0x17,_0x283c48[0x23]),_0x4be8de=_0xfa3c14(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x119254,0x4,_0x283c48[0x24]),_0x17e0b7=_0xfa3c14(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x4efd13,0xb,_0x283c48[0x25]),_0x3f80af=_0xfa3c14(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3709ca,0x10,_0x283c48[0x26]),_0x2bf6cd=_0xfa3c14(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x3b50ee,0x17,_0x283c48[0x27]),_0x4be8de=_0xfa3c14(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x337979,0x4,_0x283c48[0x28]),_0x17e0b7=_0xfa3c14(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x4a53c6,0xb,_0x283c48[0x29]),_0x3f80af=_0xfa3c14(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x573dbe,0x10,_0x283c48[0x2a]),_0x2bf6cd=_0xfa3c14(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x1e5ccc,0x17,_0x283c48[0x2b]),_0x4be8de=_0xfa3c14(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x355073,0x4,_0x283c48[0x2c]),_0x17e0b7=_0xfa3c14(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x1c6995,0xb,_0x283c48[0x2d]),_0x3f80af=_0xfa3c14(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x52e20a,0x10,_0x283c48[0x2e]),_0x2bf6cd=_0xfa3c14(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x4fba5e,0x17,_0x283c48[0x2f]),_0x4be8de=_0x3c31ed(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4a53c6,0x6,_0x283c48[0x30]),_0x17e0b7=_0x3c31ed(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x3709ca,0xa,_0x283c48[0x31]),_0x3f80af=_0x3c31ed(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x10a6e4,0xf,_0x283c48[0x32]),_0x2bf6cd=_0x3c31ed(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x475bdc,0x15,_0x283c48[0x33]),_0x4be8de=_0x3c31ed(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x1c6995,0x6,_0x283c48[0x34]),_0x17e0b7=_0x3c31ed(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x573dbe,0xa,_0x283c48[0x35]),_0x3f80af=_0x3c31ed(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3b50ee,0xf,_0x283c48[0x36]),_0x2bf6cd=_0x3c31ed(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x119254,0x15,_0x283c48[0x37]),_0x4be8de=_0x3c31ed(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x49e92c,0x6,_0x283c48[0x38]),_0x17e0b7=_0x3c31ed(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x52e20a,0xa,_0x283c48[0x39]),_0x3f80af=_0x3c31ed(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x1e5ccc,0xf,_0x283c48[0x3a]),_0x2bf6cd=_0x3c31ed(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x337979,0x15,_0x283c48[0x3b]),_0x4be8de=_0x3c31ed(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4efd13,0x6,_0x283c48[0x3c]),_0x17e0b7=_0x3c31ed(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x55818e,0xa,_0x283c48[0x3d]),_0x3f80af=_0x3c31ed(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x4fba5e,0xf,_0x283c48[0x3e]),_0x2bf6cd=_0x3c31ed(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x355073,0x15,_0x283c48[0x3f]),_0x33b2c5[0x0]=_0x33b2c5[0x0]+_0x4be8de|0x0,_0x33b2c5[0x1]=_0x33b2c5[0x1]+_0x2bf6cd|0x0,_0x33b2c5[0x2]=_0x33b2c5[0x2]+_0x3f80af|0x0,_0x33b2c5[0x3]=_0x33b2c5[0x3]+_0x17e0b7|0x0;},'_doFinalize':function(){var _0x42dedd=_0x2c2700,_0x297043=this[_0x42dedd(0x1f6)],_0x2ec140=_0x297043['words'],_0x9b58c1=this[_0x42dedd(0x320)]*0x8,_0x4883fc=_0x297043[_0x42dedd(0x29f)]*0x8;_0x2ec140[_0x4883fc>>>0x5]|=0x80<<0x18-_0x4883fc%0x20;var _0x37b92c=_0x2b49cb[_0x42dedd(0x151)](_0x9b58c1/0x100000000),_0x43200f=_0x9b58c1;_0x2ec140[(_0x4883fc+0x40>>>0x9<<0x4)+0xf]=(_0x37b92c<<0x8|_0x37b92c>>>0x18)&0xff00ff|(_0x37b92c<<0x18|_0x37b92c>>>0x8)&0xff00ff00,_0x2ec140[(_0x4883fc+0x40>>>0x9<<0x4)+0xe]=(_0x43200f<<0x8|_0x43200f>>>0x18)&0xff00ff|(_0x43200f<<0x18|_0x43200f>>>0x8)&0xff00ff00,_0x297043[_0x42dedd(0x29f)]=(_0x2ec140['length']+0x1)*0x4,this[_0x42dedd(0x21f)]();for(var _0x4b66c9=this[_0x42dedd(0xfe)],_0x5e648a=_0x4b66c9[_0x42dedd(0x11d)],_0x4012a4=0x0;_0x4012a4<0x4;_0x4012a4++){var _0x2979ac=_0x5e648a[_0x4012a4];_0x5e648a[_0x4012a4]=(_0x2979ac<<0x8|_0x2979ac>>>0x18)&0xff00ff|(_0x2979ac<<0x18|_0x2979ac>>>0x8)&0xff00ff00;}return _0x4b66c9;},'clone':function(){var _0x4b5f01=_0x2c2700,_0x4f25f5=_0x3acf4c['clone'][_0x4b5f01(0x106)](this);return _0x4f25f5[_0x4b5f01(0xfe)]=this[_0x4b5f01(0xfe)][_0x4b5f01(0x168)](),_0x4f25f5;}});function _0x40e89d(_0x5aec72,_0x345d29,_0x3d50f4,_0x170155,_0x175279,_0x35f915,_0x2f0205){var _0x372afa=_0x5aec72+(_0x345d29&_0x3d50f4|~_0x345d29&_0x170155)+_0x175279+_0x2f0205;return(_0x372afa<<_0x35f915|_0x372afa>>>0x20-_0x35f915)+_0x345d29;}function _0x2d7d9b(_0x46f6c4,_0xda4233,_0x4881df,_0x373f00,_0x4a91b1,_0x3923db,_0x14ac3f){var _0x58d1d3=_0x46f6c4+(_0xda4233&_0x373f00|_0x4881df&~_0x373f00)+_0x4a91b1+_0x14ac3f;return(_0x58d1d3<<_0x3923db|_0x58d1d3>>>0x20-_0x3923db)+_0xda4233;}function _0xfa3c14(_0x1adac9,_0x3fe8d0,_0x4649c4,_0x4b288b,_0xabbeb3,_0xbad51,_0x1c0401){var _0x171653=_0x1adac9+(_0x3fe8d0^_0x4649c4^_0x4b288b)+_0xabbeb3+_0x1c0401;return(_0x171653<<_0xbad51|_0x171653>>>0x20-_0xbad51)+_0x3fe8d0;}function _0x3c31ed(_0x1a5ead,_0x313edb,_0x3363f2,_0x167b64,_0x5a9933,_0x24ce3e,_0x1e906f){var _0x44e084=_0x1a5ead+(_0x3363f2^(_0x313edb|~_0x167b64))+_0x5a9933+_0x1e906f;return(_0x44e084<<_0x24ce3e|_0x44e084>>>0x20-_0x24ce3e)+_0x313edb;}_0x113f03['MD5']=_0x3acf4c[_0x2c2700(0x2a9)](_0x24e24b),_0x113f03[_0x2c2700(0x18f)]=_0x3acf4c['_createHmacHelper'](_0x24e24b);}(Math),_0x12327b[_0x552a2f(0xcb)];}));}(Ke)),Ke[_0xb37cd7(0x333)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x1a3a6b(0x333)],ti;function Hr(){var _0x551c62=_0x1a3a6b;return ti||(ti=0x1,function(_0x1afd23,_0x11e99a){(function(_0xb65f8c,_0x284aae){var _0x2e3aef=_0x2c36;_0x1afd23[_0x2e3aef(0x333)]=_0x284aae(ne());}($r,function(_0x146b48){var _0x20c2ff=_0x2c36;return(function(){var _0x2a2f6a=_0x2c36,_0x588d56=_0x146b48,_0x2bfff8=_0x588d56['lib'],_0x2bea76=_0x2bfff8['WordArray'],_0x1db608=_0x2bfff8['Hasher'],_0x2b37b8=_0x588d56['algo'],_0x38dac3=[],_0x549ea5=_0x2b37b8['SHA1']=_0x1db608['extend']({'_doReset':function(){var _0x135082=_0x2c36;this[_0x135082(0xfe)]=new _0x2bea76[(_0x135082(0xce))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x14e485,_0x29e089){var _0x4fbb42=_0x2c36;for(var _0x4970f9=this[_0x4fbb42(0xfe)]['words'],_0x25e78f=_0x4970f9[0x0],_0x524e28=_0x4970f9[0x1],_0x2c67c5=_0x4970f9[0x2],_0x4ff038=_0x4970f9[0x3],_0x12c8da=_0x4970f9[0x4],_0x3ce39f=0x0;_0x3ce39f<0x50;_0x3ce39f++){if(_0x3ce39f<0x10)_0x38dac3[_0x3ce39f]=_0x14e485[_0x29e089+_0x3ce39f]|0x0;else{var _0x11f614=_0x38dac3[_0x3ce39f-0x3]^_0x38dac3[_0x3ce39f-0x8]^_0x38dac3[_0x3ce39f-0xe]^_0x38dac3[_0x3ce39f-0x10];_0x38dac3[_0x3ce39f]=_0x11f614<<0x1|_0x11f614>>>0x1f;}var _0x40282a=(_0x25e78f<<0x5|_0x25e78f>>>0x1b)+_0x12c8da+_0x38dac3[_0x3ce39f];_0x3ce39f<0x14?_0x40282a+=(_0x524e28&_0x2c67c5|~_0x524e28&_0x4ff038)+0x5a827999:_0x3ce39f<0x28?_0x40282a+=(_0x524e28^_0x2c67c5^_0x4ff038)+0x6ed9eba1:_0x3ce39f<0x3c?_0x40282a+=(_0x524e28&_0x2c67c5|_0x524e28&_0x4ff038|_0x2c67c5&_0x4ff038)-0x70e44324:_0x40282a+=(_0x524e28^_0x2c67c5^_0x4ff038)-0x359d3e2a,_0x12c8da=_0x4ff038,_0x4ff038=_0x2c67c5,_0x2c67c5=_0x524e28<<0x1e|_0x524e28>>>0x2,_0x524e28=_0x25e78f,_0x25e78f=_0x40282a;}_0x4970f9[0x0]=_0x4970f9[0x0]+_0x25e78f|0x0,_0x4970f9[0x1]=_0x4970f9[0x1]+_0x524e28|0x0,_0x4970f9[0x2]=_0x4970f9[0x2]+_0x2c67c5|0x0,_0x4970f9[0x3]=_0x4970f9[0x3]+_0x4ff038|0x0,_0x4970f9[0x4]=_0x4970f9[0x4]+_0x12c8da|0x0;},'_doFinalize':function(){var _0xaec7a0=_0x2c36,_0x1a82c8=this[_0xaec7a0(0x1f6)],_0x3efbbc=_0x1a82c8[_0xaec7a0(0x11d)],_0x56cdfc=this['_nDataBytes']*0x8,_0x34d11a=_0x1a82c8[_0xaec7a0(0x29f)]*0x8;return _0x3efbbc[_0x34d11a>>>0x5]|=0x80<<0x18-_0x34d11a%0x20,_0x3efbbc[(_0x34d11a+0x40>>>0x9<<0x4)+0xe]=Math[_0xaec7a0(0x151)](_0x56cdfc/0x100000000),_0x3efbbc[(_0x34d11a+0x40>>>0x9<<0x4)+0xf]=_0x56cdfc,_0x1a82c8[_0xaec7a0(0x29f)]=_0x3efbbc[_0xaec7a0(0x23f)]*0x4,this['_process'](),this[_0xaec7a0(0xfe)];},'clone':function(){var _0x55a731=_0x2c36,_0x6d1f1b=_0x1db608[_0x55a731(0x168)][_0x55a731(0x106)](this);return _0x6d1f1b[_0x55a731(0xfe)]=this[_0x55a731(0xfe)]['clone'](),_0x6d1f1b;}});_0x588d56[_0x2a2f6a(0x35f)]=_0x1db608['_createHelper'](_0x549ea5),_0x588d56[_0x2a2f6a(0x183)]=_0x1db608['_createHmacHelper'](_0x549ea5);}()),_0x146b48[_0x20c2ff(0x35f)];}));}(qe)),qe[_0x551c62(0x333)];}var ze={'exports':{}},kr=ze['exports'],ii;function jr(){return ii||(ii=0x1,function(_0xeb1056,_0x2a7b77){(function(_0x482587,_0x1c6f9f){var _0x3004db=_0x2c36;_0xeb1056[_0x3004db(0x333)]=_0x1c6f9f(ne());}(kr,function(_0x12c896){(function(){var _0x353695=_0x2c36,_0x39a0b9=_0x12c896,_0x3fb59a=_0x39a0b9[_0x353695(0xe3)],_0x306ae6=_0x3fb59a[_0x353695(0xca)],_0x353979=_0x39a0b9['enc'],_0x504cea=_0x353979['Utf8'],_0x4a899a=_0x39a0b9['algo'];_0x4a899a[_0x353695(0xba)]=_0x306ae6[_0x353695(0x2c2)]({'init':function(_0x32bcbf,_0x3f5b16){var _0x4adcee=_0x353695;_0x32bcbf=this[_0x4adcee(0x208)]=new _0x32bcbf['init'](),typeof _0x3f5b16==_0x4adcee(0x35a)&&(_0x3f5b16=_0x504cea[_0x4adcee(0x119)](_0x3f5b16));var _0xb228b5=_0x32bcbf[_0x4adcee(0x241)],_0x418c6a=_0xb228b5*0x4;_0x3f5b16[_0x4adcee(0x29f)]>_0x418c6a&&(_0x3f5b16=_0x32bcbf[_0x4adcee(0x2da)](_0x3f5b16)),_0x3f5b16[_0x4adcee(0x269)]();for(var _0x147005=this[_0x4adcee(0x21e)]=_0x3f5b16[_0x4adcee(0x168)](),_0x5edd41=this[_0x4adcee(0x2af)]=_0x3f5b16['clone'](),_0x472edd=_0x147005[_0x4adcee(0x11d)],_0x3279c2=_0x5edd41[_0x4adcee(0x11d)],_0x17cd1a=0x0;_0x17cd1a<_0xb228b5;_0x17cd1a++)_0x472edd[_0x17cd1a]^=0x5c5c5c5c,_0x3279c2[_0x17cd1a]^=0x36363636;_0x147005[_0x4adcee(0x29f)]=_0x5edd41[_0x4adcee(0x29f)]=_0x418c6a,this[_0x4adcee(0x2c0)]();},'reset':function(){var _0x4595f9=_0x353695,_0x1e2eeb=this[_0x4595f9(0x208)];_0x1e2eeb['reset'](),_0x1e2eeb[_0x4595f9(0x97)](this[_0x4595f9(0x2af)]);},'update':function(_0x1658a4){var _0x3c578c=_0x353695;return this[_0x3c578c(0x208)]['update'](_0x1658a4),this;},'finalize':function(_0x39d979){var _0x5fc7a6=_0x353695,_0x283710=this[_0x5fc7a6(0x208)],_0x183e03=_0x283710[_0x5fc7a6(0x2da)](_0x39d979);_0x283710['reset']();var _0x50dd30=_0x283710['finalize'](this['_oKey'][_0x5fc7a6(0x168)]()[_0x5fc7a6(0x9a)](_0x183e03));return _0x50dd30;}});}());}));}(ze)),ze['exports'];}var Br=Ye[_0x1a3a6b(0x333)],ni;function Ui(){return ni||(ni=0x1,function(_0x59196a,_0x4c3092){(function(_0x12eecc,_0x439df2,_0x953b1){_0x59196a['exports']=_0x439df2(ne(),Hr(),jr());}(Br,function(_0x54f965){return(function(){var _0x8122d5=_0x2c36,_0x1167eb=_0x54f965,_0x25bacf=_0x1167eb['lib'],_0x498205=_0x25bacf[_0x8122d5(0xca)],_0x4d74c8=_0x25bacf[_0x8122d5(0x32c)],_0x13ceca=_0x1167eb['algo'],_0x9bbf1d=_0x13ceca[_0x8122d5(0xcb)],_0x140983=_0x13ceca[_0x8122d5(0x209)]=_0x498205[_0x8122d5(0x2c2)]({'cfg':_0x498205[_0x8122d5(0x2c2)]({'keySize':0x80/0x20,'hasher':_0x9bbf1d,'iterations':0x1}),'init':function(_0x69c2f7){var _0x312c05=_0x8122d5;this[_0x312c05(0x173)]=this['cfg'][_0x312c05(0x2c2)](_0x69c2f7);},'compute':function(_0x124ff,_0x5162cd){var _0x4e135f=_0x8122d5;for(var _0x4561d6,_0x3f34b4=this[_0x4e135f(0x173)],_0x4a2b37=_0x3f34b4['hasher'][_0x4e135f(0x107)](),_0x5c7fa1=_0x4d74c8['create'](),_0x4aaea1=_0x5c7fa1[_0x4e135f(0x11d)],_0x26289c=_0x3f34b4['keySize'],_0x9fdaba=_0x3f34b4[_0x4e135f(0x169)];_0x4aaea1[_0x4e135f(0x23f)]<_0x26289c;){_0x4561d6&&_0x4a2b37[_0x4e135f(0x97)](_0x4561d6),_0x4561d6=_0x4a2b37[_0x4e135f(0x97)](_0x124ff)['finalize'](_0x5162cd),_0x4a2b37[_0x4e135f(0x2c0)]();for(var _0x521fe1=0x1;_0x521fe1<_0x9fdaba;_0x521fe1++)_0x4561d6=_0x4a2b37['finalize'](_0x4561d6),_0x4a2b37[_0x4e135f(0x2c0)]();_0x5c7fa1[_0x4e135f(0x9a)](_0x4561d6);}return _0x5c7fa1[_0x4e135f(0x29f)]=_0x26289c*0x4,_0x5c7fa1;}});_0x1167eb[_0x8122d5(0x209)]=function(_0x15e31a,_0x11619b,_0x2d4927){var _0x1284f3=_0x8122d5;return _0x140983[_0x1284f3(0x107)](_0x2d4927)[_0x1284f3(0x2ab)](_0x15e31a,_0x11619b);};}()),_0x54f965['EvpKDF'];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Fr=Je[_0x1a3a6b(0x333)],ri;function Ai(){return ri||(ri=0x1,function(_0x2d4776,_0x4711a0){(function(_0x39e1ce,_0x170fd9,_0x1a7776){var _0x1953ea=_0x2c36;_0x2d4776[_0x1953ea(0x333)]=_0x170fd9(ne(),Ui());}(Fr,function(_0x3562e4){var _0x413ac2=_0x2c36;_0x3562e4[_0x413ac2(0xe3)]['Cipher']||function(_0x3cc5e4){var _0x5735ac=_0x413ac2,_0x3125f5=_0x3562e4,_0x5459f4=_0x3125f5[_0x5735ac(0xe3)],_0xd3878d=_0x5459f4[_0x5735ac(0xca)],_0x4236bd=_0x5459f4[_0x5735ac(0x32c)],_0x440056=_0x5459f4['BufferedBlockAlgorithm'],_0x1910c0=_0x3125f5[_0x5735ac(0x111)];_0x1910c0['Utf8'];var _0x290cca=_0x1910c0[_0x5735ac(0x1fa)],_0x503e07=_0x3125f5['algo'],_0x2e241a=_0x503e07[_0x5735ac(0x209)],_0x49363e=_0x5459f4['Cipher']=_0x440056[_0x5735ac(0x2c2)]({'cfg':_0xd3878d['extend'](),'createEncryptor':function(_0x2fe28a,_0x5ab103){return this['create'](this['_ENC_XFORM_MODE'],_0x2fe28a,_0x5ab103);},'createDecryptor':function(_0x111b8a,_0x48fcaa){var _0x1ba0a2=_0x5735ac;return this[_0x1ba0a2(0x107)](this[_0x1ba0a2(0xbf)],_0x111b8a,_0x48fcaa);},'init':function(_0x36a3ad,_0x307e14,_0x4f96c0){var _0x3eb448=_0x5735ac;this[_0x3eb448(0x173)]=this[_0x3eb448(0x173)][_0x3eb448(0x2c2)](_0x4f96c0),this[_0x3eb448(0x1a0)]=_0x36a3ad,this[_0x3eb448(0xa2)]=_0x307e14,this['reset']();},'reset':function(){var _0x3e47db=_0x5735ac;_0x440056[_0x3e47db(0x2c0)][_0x3e47db(0x106)](this),this[_0x3e47db(0x1b7)]();},'process':function(_0x33915b){var _0x267483=_0x5735ac;return this[_0x267483(0x28c)](_0x33915b),this[_0x267483(0x21f)]();},'finalize':function(_0x434105){var _0x3d1136=_0x5735ac;_0x434105&&this[_0x3d1136(0x28c)](_0x434105);var _0x31e865=this[_0x3d1136(0x272)]();return _0x31e865;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4931e8(_0x6747d9){var _0x108cb3=_0x2c36;return typeof _0x6747d9==_0x108cb3(0x35a)?_0x328244:_0x53144b;}return function(_0x4b0478){return{'encrypt':function(_0x2b85cd,_0x44c852,_0x1165c4){return _0x4931e8(_0x44c852)['encrypt'](_0x4b0478,_0x2b85cd,_0x44c852,_0x1165c4);},'decrypt':function(_0x25bc7a,_0x533aef,_0x155af8){var _0x25930b=_0x2c36;return _0x4931e8(_0x533aef)[_0x25930b(0xf2)](_0x4b0478,_0x25bc7a,_0x533aef,_0x155af8);}};};}())});_0x5459f4['StreamCipher']=_0x49363e[_0x5735ac(0x2c2)]({'_doFinalize':function(){var _0x152e35=this['_process'](!0x0);return _0x152e35;},'blockSize':0x1});var _0x302a86=_0x3125f5['mode']={},_0x3d708e=_0x5459f4[_0x5735ac(0x290)]=_0xd3878d[_0x5735ac(0x2c2)]({'createEncryptor':function(_0x1e936b,_0xf10af9){var _0x24870a=_0x5735ac;return this[_0x24870a(0x164)]['create'](_0x1e936b,_0xf10af9);},'createDecryptor':function(_0xdaafd6,_0x52abf9){var _0x1c5711=_0x5735ac;return this[_0x1c5711(0x346)][_0x1c5711(0x107)](_0xdaafd6,_0x52abf9);},'init':function(_0x11d267,_0x52483d){var _0xa80921=_0x5735ac;this[_0xa80921(0x190)]=_0x11d267,this[_0xa80921(0x356)]=_0x52483d;}}),_0x48f543=_0x302a86[_0x5735ac(0x37e)]=(function(){var _0x3bc6c6=_0x5735ac,_0x5420da=_0x3d708e[_0x3bc6c6(0x2c2)]();_0x5420da[_0x3bc6c6(0x164)]=_0x5420da[_0x3bc6c6(0x2c2)]({'processBlock':function(_0x337e98,_0x2343b2){var _0x449ef1=_0x3bc6c6,_0x36a99f=this[_0x449ef1(0x190)],_0x5763ca=_0x36a99f[_0x449ef1(0x241)];_0x3af1ff[_0x449ef1(0x106)](this,_0x337e98,_0x2343b2,_0x5763ca),_0x36a99f['encryptBlock'](_0x337e98,_0x2343b2),this[_0x449ef1(0xe8)]=_0x337e98[_0x449ef1(0x337)](_0x2343b2,_0x2343b2+_0x5763ca);}}),_0x5420da['Decryptor']=_0x5420da[_0x3bc6c6(0x2c2)]({'processBlock':function(_0x3ff9aa,_0x5bc170){var _0x9ae540=_0x3bc6c6,_0x429e16=this[_0x9ae540(0x190)],_0x1778f0=_0x429e16[_0x9ae540(0x241)],_0x108704=_0x3ff9aa[_0x9ae540(0x337)](_0x5bc170,_0x5bc170+_0x1778f0);_0x429e16[_0x9ae540(0x31f)](_0x3ff9aa,_0x5bc170),_0x3af1ff[_0x9ae540(0x106)](this,_0x3ff9aa,_0x5bc170,_0x1778f0),this[_0x9ae540(0xe8)]=_0x108704;}});function _0x3af1ff(_0x527ff1,_0x2003aa,_0x4fba6a){var _0x260a3f=_0x3bc6c6,_0x2ac92c,_0x108e3f=this[_0x260a3f(0x356)];_0x108e3f?(_0x2ac92c=_0x108e3f,this[_0x260a3f(0x356)]=_0x3cc5e4):_0x2ac92c=this['_prevBlock'];for(var _0x57cdeb=0x0;_0x57cdeb<_0x4fba6a;_0x57cdeb++)_0x527ff1[_0x2003aa+_0x57cdeb]^=_0x2ac92c[_0x57cdeb];}return _0x5420da;}()),_0x517175=_0x3125f5[_0x5735ac(0x17f)]={},_0x5c051f=_0x517175[_0x5735ac(0x237)]={'pad':function(_0x58272b,_0x4fb052){var _0xe47263=_0x5735ac;for(var _0xecffc2=_0x4fb052*0x4,_0x88f2ea=_0xecffc2-_0x58272b[_0xe47263(0x29f)]%_0xecffc2,_0x90fecc=_0x88f2ea<<0x18|_0x88f2ea<<0x10|_0x88f2ea<<0x8|_0x88f2ea,_0x3fa9ec=[],_0x4aea49=0x0;_0x4aea49<_0x88f2ea;_0x4aea49+=0x4)_0x3fa9ec[_0xe47263(0x126)](_0x90fecc);var _0xc86eb1=_0x4236bd[_0xe47263(0x107)](_0x3fa9ec,_0x88f2ea);_0x58272b[_0xe47263(0x9a)](_0xc86eb1);},'unpad':function(_0x2a17c7){var _0x464a73=_0x5735ac,_0x358265=_0x2a17c7[_0x464a73(0x11d)][_0x2a17c7[_0x464a73(0x29f)]-0x1>>>0x2]&0xff;_0x2a17c7['sigBytes']-=_0x358265;}};_0x5459f4['BlockCipher']=_0x49363e['extend']({'cfg':_0x49363e[_0x5735ac(0x173)][_0x5735ac(0x2c2)]({'mode':_0x48f543,'padding':_0x5c051f}),'reset':function(){var _0x5bc451=_0x5735ac,_0x18b151;_0x49363e[_0x5bc451(0x2c0)][_0x5bc451(0x106)](this);var _0x1a782e=this[_0x5bc451(0x173)],_0x4442fb=_0x1a782e['iv'],_0x4a23b6=_0x1a782e[_0x5bc451(0x399)];this[_0x5bc451(0x1a0)]==this[_0x5bc451(0x24f)]?_0x18b151=_0x4a23b6[_0x5bc451(0x20d)]:(_0x18b151=_0x4a23b6[_0x5bc451(0x2fa)],this[_0x5bc451(0x138)]=0x1),this[_0x5bc451(0x1f0)]&&this[_0x5bc451(0x1f0)]['__creator']==_0x18b151?this['_mode'][_0x5bc451(0xce)](this,_0x4442fb&&_0x4442fb[_0x5bc451(0x11d)]):(this[_0x5bc451(0x1f0)]=_0x18b151[_0x5bc451(0x106)](_0x4a23b6,this,_0x4442fb&&_0x4442fb[_0x5bc451(0x11d)]),this['_mode']['__creator']=_0x18b151);},'_doProcessBlock':function(_0x114951,_0x546c19){var _0x24f481=_0x5735ac;this[_0x24f481(0x1f0)][_0x24f481(0x2e3)](_0x114951,_0x546c19);},'_doFinalize':function(){var _0x2b3583=_0x5735ac,_0x139de6,_0x395dfd=this[_0x2b3583(0x173)]['padding'];return this[_0x2b3583(0x1a0)]==this[_0x2b3583(0x24f)]?(_0x395dfd[_0x2b3583(0x17f)](this[_0x2b3583(0x1f6)],this[_0x2b3583(0x241)]),_0x139de6=this['_process'](!0x0)):(_0x139de6=this[_0x2b3583(0x21f)](!0x0),_0x395dfd[_0x2b3583(0x36e)](_0x139de6)),_0x139de6;},'blockSize':0x80/0x20});var _0x2ac8bf=_0x5459f4['CipherParams']=_0xd3878d['extend']({'init':function(_0x2b01eb){var _0x1200e1=_0x5735ac;this[_0x1200e1(0x347)](_0x2b01eb);},'toString':function(_0x57a2e7){var _0x32f663=_0x5735ac;return(_0x57a2e7||this[_0x32f663(0x1f1)])['stringify'](this);}}),_0x309fe7=_0x3125f5[_0x5735ac(0x295)]={},_0x765e36=_0x309fe7['OpenSSL']={'stringify':function(_0xd4916a){var _0x446134=_0x5735ac,_0xb8c9d4,_0x379fb8=_0xd4916a[_0x446134(0x24d)],_0xb12486=_0xd4916a[_0x446134(0xb7)];return _0xb12486?_0xb8c9d4=_0x4236bd[_0x446134(0x107)]([0x53616c74,0x65645f5f])[_0x446134(0x9a)](_0xb12486)['concat'](_0x379fb8):_0xb8c9d4=_0x379fb8,_0xb8c9d4[_0x446134(0x377)](_0x290cca);},'parse':function(_0x2036e1){var _0x2392bb=_0x5735ac,_0xaefd6c,_0x52ede2=_0x290cca[_0x2392bb(0x119)](_0x2036e1),_0x5f407e=_0x52ede2['words'];return _0x5f407e[0x0]==0x53616c74&&_0x5f407e[0x1]==0x65645f5f&&(_0xaefd6c=_0x4236bd['create'](_0x5f407e[_0x2392bb(0x337)](0x2,0x4)),_0x5f407e['splice'](0x0,0x4),_0x52ede2[_0x2392bb(0x29f)]-=0x10),_0x2ac8bf[_0x2392bb(0x107)]({'ciphertext':_0x52ede2,'salt':_0xaefd6c});}},_0x53144b=_0x5459f4[_0x5735ac(0x36b)]=_0xd3878d[_0x5735ac(0x2c2)]({'cfg':_0xd3878d['extend']({'format':_0x765e36}),'encrypt':function(_0xe30f14,_0x123666,_0x50e654,_0x2b5853){var _0x463621=_0x5735ac;_0x2b5853=this['cfg'][_0x463621(0x2c2)](_0x2b5853);var _0x14b901=_0xe30f14[_0x463621(0x20d)](_0x50e654,_0x2b5853),_0x358d9e=_0x14b901[_0x463621(0x2da)](_0x123666),_0x4d743f=_0x14b901[_0x463621(0x173)];return _0x2ac8bf['create']({'ciphertext':_0x358d9e,'key':_0x50e654,'iv':_0x4d743f['iv'],'algorithm':_0xe30f14,'mode':_0x4d743f[_0x463621(0x399)],'padding':_0x4d743f[_0x463621(0x395)],'blockSize':_0xe30f14[_0x463621(0x241)],'formatter':_0x2b5853[_0x463621(0x295)]});},'decrypt':function(_0x4355b8,_0x7d3443,_0x11c786,_0x42b450){var _0x47a19e=_0x5735ac;_0x42b450=this[_0x47a19e(0x173)][_0x47a19e(0x2c2)](_0x42b450),_0x7d3443=this['_parse'](_0x7d3443,_0x42b450[_0x47a19e(0x295)]);var _0x9f48ee=_0x4355b8[_0x47a19e(0x2fa)](_0x11c786,_0x42b450)[_0x47a19e(0x2da)](_0x7d3443[_0x47a19e(0x24d)]);return _0x9f48ee;},'_parse':function(_0x405d9f,_0x1c7ac1){var _0x6dba3e=_0x5735ac;return typeof _0x405d9f==_0x6dba3e(0x35a)?_0x1c7ac1['parse'](_0x405d9f,this):_0x405d9f;}}),_0x3b71b0=_0x3125f5[_0x5735ac(0x24e)]={},_0x3714d3=_0x3b71b0['OpenSSL']={'execute':function(_0x1fef1e,_0x4b86f5,_0x3b63c2,_0x493381,_0x32eea1){var _0x4339f2=_0x5735ac;if(_0x493381||(_0x493381=_0x4236bd[_0x4339f2(0x163)](0x40/0x8)),_0x32eea1)var _0xac6381=_0x2e241a[_0x4339f2(0x107)]({'keySize':_0x4b86f5+_0x3b63c2,'hasher':_0x32eea1})[_0x4339f2(0x2ab)](_0x1fef1e,_0x493381);else var _0xac6381=_0x2e241a[_0x4339f2(0x107)]({'keySize':_0x4b86f5+_0x3b63c2})['compute'](_0x1fef1e,_0x493381);var _0x29da31=_0x4236bd['create'](_0xac6381[_0x4339f2(0x11d)][_0x4339f2(0x337)](_0x4b86f5),_0x3b63c2*0x4);return _0xac6381['sigBytes']=_0x4b86f5*0x4,_0x2ac8bf['create']({'key':_0xac6381,'iv':_0x29da31,'salt':_0x493381});}},_0x328244=_0x5459f4['PasswordBasedCipher']=_0x53144b[_0x5735ac(0x2c2)]({'cfg':_0x53144b['cfg'][_0x5735ac(0x2c2)]({'kdf':_0x3714d3}),'encrypt':function(_0x4fabb6,_0x194256,_0x2ed937,_0x11fbb0){var _0x2afec1=_0x5735ac;_0x11fbb0=this[_0x2afec1(0x173)][_0x2afec1(0x2c2)](_0x11fbb0);var _0xbff927=_0x11fbb0[_0x2afec1(0x24e)][_0x2afec1(0x309)](_0x2ed937,_0x4fabb6[_0x2afec1(0x12d)],_0x4fabb6[_0x2afec1(0xe6)],_0x11fbb0[_0x2afec1(0xb7)],_0x11fbb0[_0x2afec1(0x282)]);_0x11fbb0['iv']=_0xbff927['iv'];var _0x42c183=_0x53144b[_0x2afec1(0x1b6)][_0x2afec1(0x106)](this,_0x4fabb6,_0x194256,_0xbff927[_0x2afec1(0x325)],_0x11fbb0);return _0x42c183[_0x2afec1(0x347)](_0xbff927),_0x42c183;},'decrypt':function(_0x59d92e,_0x3f359b,_0xf6451f,_0x24bd05){var _0x5cc57a=_0x5735ac;_0x24bd05=this['cfg'][_0x5cc57a(0x2c2)](_0x24bd05),_0x3f359b=this[_0x5cc57a(0x198)](_0x3f359b,_0x24bd05['format']);var _0x179985=_0x24bd05['kdf'][_0x5cc57a(0x309)](_0xf6451f,_0x59d92e[_0x5cc57a(0x12d)],_0x59d92e[_0x5cc57a(0xe6)],_0x3f359b[_0x5cc57a(0xb7)],_0x24bd05[_0x5cc57a(0x282)]);_0x24bd05['iv']=_0x179985['iv'];var _0x498069=_0x53144b['decrypt'][_0x5cc57a(0x106)](this,_0x59d92e,_0x3f359b,_0x179985[_0x5cc57a(0x325)],_0x24bd05);return _0x498069;}});}();}));}(Je)),Je['exports'];}var Vr=Ve[_0x1a3a6b(0x333)],si;function Gr(){var _0x2b8ba8=_0x1a3a6b;return si||(si=0x1,function(_0x1eee51,_0x41e594){(function(_0x4a4157,_0x249afa,_0x382d69){var _0x568530=_0x2c36;_0x1eee51[_0x568530(0x333)]=_0x249afa(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x115da2){var _0x7d7ace=_0x2c36;return(function(){var _0x4d8702=_0x2c36,_0x38c47d=_0x115da2,_0x131b50=_0x38c47d[_0x4d8702(0xe3)],_0x325c4d=_0x131b50[_0x4d8702(0x99)],_0xe48f6f=_0x38c47d[_0x4d8702(0x19a)],_0x35bbd1=[],_0x42cfc1=[],_0x29bab2=[],_0x539cb1=[],_0x2d38fc=[],_0x5bad2b=[],_0x41b39c=[],_0x466e40=[],_0x46aa15=[],_0x1a96f5=[];(function(){for(var _0x2f0e6f=[],_0x75cfc4=0x0;_0x75cfc4<0x100;_0x75cfc4++)_0x75cfc4<0x80?_0x2f0e6f[_0x75cfc4]=_0x75cfc4<<0x1:_0x2f0e6f[_0x75cfc4]=_0x75cfc4<<0x1^0x11b;for(var _0x149701=0x0,_0x2aeed1=0x0,_0x75cfc4=0x0;_0x75cfc4<0x100;_0x75cfc4++){var _0x55e0fa=_0x2aeed1^_0x2aeed1<<0x1^_0x2aeed1<<0x2^_0x2aeed1<<0x3^_0x2aeed1<<0x4;_0x55e0fa=_0x55e0fa>>>0x8^_0x55e0fa&0xff^0x63,_0x35bbd1[_0x149701]=_0x55e0fa,_0x42cfc1[_0x55e0fa]=_0x149701;var _0x3cb72a=_0x2f0e6f[_0x149701],_0x4dbadd=_0x2f0e6f[_0x3cb72a],_0xd6af47=_0x2f0e6f[_0x4dbadd],_0x4a9824=_0x2f0e6f[_0x55e0fa]*0x101^_0x55e0fa*0x1010100;_0x29bab2[_0x149701]=_0x4a9824<<0x18|_0x4a9824>>>0x8,_0x539cb1[_0x149701]=_0x4a9824<<0x10|_0x4a9824>>>0x10,_0x2d38fc[_0x149701]=_0x4a9824<<0x8|_0x4a9824>>>0x18,_0x5bad2b[_0x149701]=_0x4a9824;var _0x4a9824=_0xd6af47*0x1010101^_0x4dbadd*0x10001^_0x3cb72a*0x101^_0x149701*0x1010100;_0x41b39c[_0x55e0fa]=_0x4a9824<<0x18|_0x4a9824>>>0x8,_0x466e40[_0x55e0fa]=_0x4a9824<<0x10|_0x4a9824>>>0x10,_0x46aa15[_0x55e0fa]=_0x4a9824<<0x8|_0x4a9824>>>0x18,_0x1a96f5[_0x55e0fa]=_0x4a9824,_0x149701?(_0x149701=_0x3cb72a^_0x2f0e6f[_0x2f0e6f[_0x2f0e6f[_0xd6af47^_0x3cb72a]]],_0x2aeed1^=_0x2f0e6f[_0x2f0e6f[_0x2aeed1]]):_0x149701=_0x2aeed1=0x1;}}());var _0x3d74a1=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x133731=_0xe48f6f[_0x4d8702(0x387)]=_0x325c4d[_0x4d8702(0x2c2)]({'_doReset':function(){var _0x7c6b40=_0x4d8702,_0x3e86c6;if(!(this[_0x7c6b40(0x244)]&&this[_0x7c6b40(0x21d)]===this[_0x7c6b40(0xa2)])){for(var _0x35af83=this[_0x7c6b40(0x21d)]=this[_0x7c6b40(0xa2)],_0x51cc2c=_0x35af83[_0x7c6b40(0x11d)],_0x399d1c=_0x35af83[_0x7c6b40(0x29f)]/0x4,_0x1625d3=this[_0x7c6b40(0x244)]=_0x399d1c+0x6,_0x560873=(_0x1625d3+0x1)*0x4,_0x1eb9f2=this[_0x7c6b40(0xb8)]=[],_0x1258c9=0x0;_0x1258c9<_0x560873;_0x1258c9++)_0x1258c9<_0x399d1c?_0x1eb9f2[_0x1258c9]=_0x51cc2c[_0x1258c9]:(_0x3e86c6=_0x1eb9f2[_0x1258c9-0x1],_0x1258c9%_0x399d1c?_0x399d1c>0x6&&_0x1258c9%_0x399d1c==0x4&&(_0x3e86c6=_0x35bbd1[_0x3e86c6>>>0x18]<<0x18|_0x35bbd1[_0x3e86c6>>>0x10&0xff]<<0x10|_0x35bbd1[_0x3e86c6>>>0x8&0xff]<<0x8|_0x35bbd1[_0x3e86c6&0xff]):(_0x3e86c6=_0x3e86c6<<0x8|_0x3e86c6>>>0x18,_0x3e86c6=_0x35bbd1[_0x3e86c6>>>0x18]<<0x18|_0x35bbd1[_0x3e86c6>>>0x10&0xff]<<0x10|_0x35bbd1[_0x3e86c6>>>0x8&0xff]<<0x8|_0x35bbd1[_0x3e86c6&0xff],_0x3e86c6^=_0x3d74a1[_0x1258c9/_0x399d1c|0x0]<<0x18),_0x1eb9f2[_0x1258c9]=_0x1eb9f2[_0x1258c9-_0x399d1c]^_0x3e86c6);for(var _0x374b5d=this[_0x7c6b40(0x1e3)]=[],_0x4f045e=0x0;_0x4f045e<_0x560873;_0x4f045e++){var _0x1258c9=_0x560873-_0x4f045e;if(_0x4f045e%0x4)var _0x3e86c6=_0x1eb9f2[_0x1258c9];else var _0x3e86c6=_0x1eb9f2[_0x1258c9-0x4];_0x4f045e<0x4||_0x1258c9<=0x4?_0x374b5d[_0x4f045e]=_0x3e86c6:_0x374b5d[_0x4f045e]=_0x41b39c[_0x35bbd1[_0x3e86c6>>>0x18]]^_0x466e40[_0x35bbd1[_0x3e86c6>>>0x10&0xff]]^_0x46aa15[_0x35bbd1[_0x3e86c6>>>0x8&0xff]]^_0x1a96f5[_0x35bbd1[_0x3e86c6&0xff]];}}},'encryptBlock':function(_0x4190ea,_0x2da799){var _0x1b7323=_0x4d8702;this[_0x1b7323(0xa7)](_0x4190ea,_0x2da799,this['_keySchedule'],_0x29bab2,_0x539cb1,_0x2d38fc,_0x5bad2b,_0x35bbd1);},'decryptBlock':function(_0x23e32e,_0x95475f){var _0x125105=_0x4d8702,_0x43d1a1=_0x23e32e[_0x95475f+0x1];_0x23e32e[_0x95475f+0x1]=_0x23e32e[_0x95475f+0x3],_0x23e32e[_0x95475f+0x3]=_0x43d1a1,this['_doCryptBlock'](_0x23e32e,_0x95475f,this[_0x125105(0x1e3)],_0x41b39c,_0x466e40,_0x46aa15,_0x1a96f5,_0x42cfc1);var _0x43d1a1=_0x23e32e[_0x95475f+0x1];_0x23e32e[_0x95475f+0x1]=_0x23e32e[_0x95475f+0x3],_0x23e32e[_0x95475f+0x3]=_0x43d1a1;},'_doCryptBlock':function(_0x5c9816,_0x555112,_0x27f236,_0x569956,_0x5ce47b,_0x4346bb,_0x4db626,_0xf368d8){var _0x17502b=_0x4d8702;for(var _0x4a2e69=this[_0x17502b(0x244)],_0x5d4f6f=_0x5c9816[_0x555112]^_0x27f236[0x0],_0x4e4da9=_0x5c9816[_0x555112+0x1]^_0x27f236[0x1],_0x1a8387=_0x5c9816[_0x555112+0x2]^_0x27f236[0x2],_0x4302af=_0x5c9816[_0x555112+0x3]^_0x27f236[0x3],_0x217cff=0x4,_0x2c586d=0x1;_0x2c586d<_0x4a2e69;_0x2c586d++){var _0x40f80a=_0x569956[_0x5d4f6f>>>0x18]^_0x5ce47b[_0x4e4da9>>>0x10&0xff]^_0x4346bb[_0x1a8387>>>0x8&0xff]^_0x4db626[_0x4302af&0xff]^_0x27f236[_0x217cff++],_0x5f0026=_0x569956[_0x4e4da9>>>0x18]^_0x5ce47b[_0x1a8387>>>0x10&0xff]^_0x4346bb[_0x4302af>>>0x8&0xff]^_0x4db626[_0x5d4f6f&0xff]^_0x27f236[_0x217cff++],_0x45daca=_0x569956[_0x1a8387>>>0x18]^_0x5ce47b[_0x4302af>>>0x10&0xff]^_0x4346bb[_0x5d4f6f>>>0x8&0xff]^_0x4db626[_0x4e4da9&0xff]^_0x27f236[_0x217cff++],_0x116bbd=_0x569956[_0x4302af>>>0x18]^_0x5ce47b[_0x5d4f6f>>>0x10&0xff]^_0x4346bb[_0x4e4da9>>>0x8&0xff]^_0x4db626[_0x1a8387&0xff]^_0x27f236[_0x217cff++];_0x5d4f6f=_0x40f80a,_0x4e4da9=_0x5f0026,_0x1a8387=_0x45daca,_0x4302af=_0x116bbd;}var _0x40f80a=(_0xf368d8[_0x5d4f6f>>>0x18]<<0x18|_0xf368d8[_0x4e4da9>>>0x10&0xff]<<0x10|_0xf368d8[_0x1a8387>>>0x8&0xff]<<0x8|_0xf368d8[_0x4302af&0xff])^_0x27f236[_0x217cff++],_0x5f0026=(_0xf368d8[_0x4e4da9>>>0x18]<<0x18|_0xf368d8[_0x1a8387>>>0x10&0xff]<<0x10|_0xf368d8[_0x4302af>>>0x8&0xff]<<0x8|_0xf368d8[_0x5d4f6f&0xff])^_0x27f236[_0x217cff++],_0x45daca=(_0xf368d8[_0x1a8387>>>0x18]<<0x18|_0xf368d8[_0x4302af>>>0x10&0xff]<<0x10|_0xf368d8[_0x5d4f6f>>>0x8&0xff]<<0x8|_0xf368d8[_0x4e4da9&0xff])^_0x27f236[_0x217cff++],_0x116bbd=(_0xf368d8[_0x4302af>>>0x18]<<0x18|_0xf368d8[_0x5d4f6f>>>0x10&0xff]<<0x10|_0xf368d8[_0x4e4da9>>>0x8&0xff]<<0x8|_0xf368d8[_0x1a8387&0xff])^_0x27f236[_0x217cff++];_0x5c9816[_0x555112]=_0x40f80a,_0x5c9816[_0x555112+0x1]=_0x5f0026,_0x5c9816[_0x555112+0x2]=_0x45daca,_0x5c9816[_0x555112+0x3]=_0x116bbd;},'keySize':0x100/0x20});_0x38c47d[_0x4d8702(0x387)]=_0x325c4d[_0x4d8702(0x2a9)](_0x133731);}()),_0x115da2[_0x7d7ace(0x387)];}));}(Ve)),Ve[_0x2b8ba8(0x333)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x1a3a6b(0x333)],ai;function zr(){var _0x15a2c3=_0x1a3a6b;return ai||(ai=0x1,function(_0x7b9d22,_0x195b4f){(function(_0x10c9db,_0x5ef739){var _0x20e2cf=_0x2c36;_0x7b9d22[_0x20e2cf(0x333)]=_0x5ef739(ne());}(qr,function(_0x3829b0){var _0x54d42e=_0x2c36;return _0x3829b0[_0x54d42e(0x111)][_0x54d42e(0x232)];}));}(Xe)),Xe[_0x15a2c3(0x333)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x1a3a6b(0x333)],ci;function Qr(){var _0x51a161=_0x1a3a6b;return ci||(ci=0x1,function(_0x5b07d8,_0x33682f){(function(_0x179e6a,_0x31d118){_0x5b07d8['exports']=_0x31d118(ne());}(Zr,function(_0x40ffc2){var _0x13da53=_0x2c36;return(function(){var _0x5a42cc=_0x2c36;if(typeof ArrayBuffer=='function'){var _0x29a3a2=_0x40ffc2,_0x54bfd9=_0x29a3a2[_0x5a42cc(0xe3)],_0x242517=_0x54bfd9[_0x5a42cc(0x32c)],_0x2b14ce=_0x242517[_0x5a42cc(0xce)],_0x4afecd=_0x242517[_0x5a42cc(0xce)]=function(_0x4c05bd){var _0x174619=_0x5a42cc;if(_0x4c05bd instanceof ArrayBuffer&&(_0x4c05bd=new Uint8Array(_0x4c05bd)),(_0x4c05bd instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4c05bd instanceof Uint8ClampedArray||_0x4c05bd instanceof Int16Array||_0x4c05bd instanceof Uint16Array||_0x4c05bd instanceof Int32Array||_0x4c05bd instanceof Uint32Array||_0x4c05bd instanceof Float32Array||_0x4c05bd instanceof Float64Array)&&(_0x4c05bd=new Uint8Array(_0x4c05bd[_0x174619(0x386)],_0x4c05bd[_0x174619(0x338)],_0x4c05bd[_0x174619(0x13f)])),_0x4c05bd instanceof Uint8Array){for(var _0x192b79=_0x4c05bd[_0x174619(0x13f)],_0x4377e9=[],_0x232727=0x0;_0x232727<_0x192b79;_0x232727++)_0x4377e9[_0x232727>>>0x2]|=_0x4c05bd[_0x232727]<<0x18-_0x232727%0x4*0x8;_0x2b14ce['call'](this,_0x4377e9,_0x192b79);}else _0x2b14ce[_0x174619(0x12e)](this,arguments);};_0x4afecd[_0x5a42cc(0x366)]=_0x242517;}}()),_0x40ffc2[_0x13da53(0xe3)][_0x13da53(0x32c)];}));}(Ze)),Ze[_0x51a161(0x333)];}var es=Qr();const ts=ke(es);function _0x45ac(){var _0x3a76c8=['collaboration-client.config','generateRandomId','_createHelper','SOCKET_FAILED_RETRY','compute','registerHTTPInterceptor','updatePermissionObjEvent','getInterceptPoints','_iKey','_event$','_commentUpdate$','userID','_members','_getSessionTicket','collaboration_new_changeset','awaiting','FETCH_MISSING','Hasher','_onRemoteChangeset','[CollaborationState]:\x20apply\x20error!','_incrementRevisionNumber','roomInfos','toLowerCase','LICENSE_IMPORT_SIZE_EXCEEDED','_createInitialStateImpl','reset','COLLAB_WEB_SOCKET_URL','extend','getTypeOfUnitDisposed$','UNIVER_SHEET','_onConnectionOpen','_emitMembers','_tryEnsureSocket','_userManagerService','_listenToNetworkCondition','min','incrementRevOfUnit','randomUUID','UnitSnapshot','actions','__esModule','getCollabEntity$','UNKNOWN_CODE','_onLocalMutation','session.room-not-exists','?size=','_queuedRemoteChangesets','_awaitingChangeset','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_logService','executeCommand','finalize','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_createInitialState','m2Prime','_substituteRedoStack','_snapshotServerService','_getDownloadEndpointURL','onlyLocal','getCollabEntity','processBlock','univer-pro.collaboration-client.single-active-unit-service','_shouldReportTelemetry','createInstance','onRemoteChangeset','sheets','initWorkbookPermissionChange','snapshotServerUrl','UNAUTHENTICATED','/allowed','transformUndoRedo','editingUnit','textRanges','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','__Key__','collaboratorID','_onJoinRoomEvent','setConfig','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getUnitOnRev','fromCharCode','EXCHANGE_SIGN_URL_SERVER_URL_KEY','get','createDecryptor','commentUpdateEvent','FAIL','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','emitEvent','_socketMessageSubscription','/fetchmissing?from=','_syncEditingCollabCursor','map','enableSingleActiveInstanceLock','_clearUndo','_collaborationSessionService','Error\x20on\x20receiving\x20event','unit-cache-','open$','execute','synced','error$','withCredentials','clear','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','/collaborator','_waitForHeartbeatResponse','getRandomValues','json','_transformRemoteChangesetByIMECache','\x20to\x20','_waitCount','&assign=','getUnit','IDLE','BASE64','{fileID}','capture','getUnitId','_onRemoteRejected','bind','decryptBlock','_nDataBytes','reduce','loginUrlKey','_revisionService','_localCacheService','key','_roomMembers','leaveEvent','uniscriptRunEvent','&source=','onSyncEditingCollabCursor','_candidateSocket','WordArray','fetchMissingChangesets','_transformStack','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','[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.','liveShareOperation','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','exports','/rev/','_unlockTransition','_clearCollaborationTimeoutTimer','slice','byteOffset','_unitID','HEARTBEAT_TIMEOUT','RETRY_CONNECTING_MAX_COUNT','forEach','cmd','BufferedBlockAlgorithm','_sendHeartbeatTimer','OPTIONAL','removeMember','1309352sAiGHs','UPDATE_PERMISSION_OBJ','max','_sessionStatus$','Decryptor','mixIn','_transformRemoteChangesetByStateCache','conflict','getRoom','_sendHeartbeat','allowed','CONFLICT','_stopTelemetryCollaborationNewChangeset','UNIVER_SLIDE','responseType','getImage','_collaborationPaused','_injector','_collaborationUIEventService','LOGIN_URL_KEY','_iv','randomBytes','SUCCUSS','SUBMIT_CHANGESET_TIMEOUT','string','closeSession','SUBMIT_CHANGESET','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','pauseCollaboration','SHA1','add','target','error','TOO_MANY_REQUESTS','_entities','unitInfo$','prototype','UNISCRIPT_RUN','[CollaborationEntity]','createSocket','range','SerializableCipher','_instanceService','objectActions','unpad','resend','unknown','/universer-api/file/{fileID}/sign-url','reject','_resendTimeout','[FetchMissState]','disposeWithMe','YUUMI_RATE_OVER_LIMIT','toString','/object/','_decreaseWaiting','complete','listRoles','indexOf','getUnitType','CBC','_transformStateCache','_getAPIPrefix','_initRequestHeader','_change$','patch','fetchThroughInterceptors','_changesetSessionId','buffer','AES','[DataLoaderService]','set','symbol','_collabSessionService','onSendChangeset','SNAPSHOT_HAS_BEEN_REMOVED','_retryConnectingTimer','$super','_tryReconnect','onStarting','HEARTBEAT','deleteCollaborator','LIVESHARE_NEW_HOST','padding','image/bmp','socket\x20close','list','mode','status','session.room-cnt-exceeds','subject','LIVESHARE_FETCH_OPERATIONS','update','17684WZabtv','BlockCipher','concat','_permissionService','localeService','asObservable','LICENSE_EXPORT_SIZE_EXCEEDED','_telemetryInfo','COMMENT_UPDATE','CHANGESET_SHOULD_RETRY','_key','_rescheduleHeartbeat','putCollaborators','session.room-full','_pendingMutations','_doCryptBlock','hostname','getMemberID','getCurrentSelections','ALREADY_EXISTS','Could\x20not\x20dynamically\x20require\x20\x22','_compressMutationService','updateMember','_reverseMap','_timeoutTimer','DEFAULT_FILE_NAME','href','eventID','pluginName','_state','save\x20fail\x20reason\x20is\x20','salt','_keySchedule','_memberService','HMAC','values','&to=','online$','uploadFileServerUrl','_DEC_XFORM_MODE','CHANGESET_REVISION_CONFILICT','onTransformIME','_getUploadFileURL','permissionRejEvent','[PendingState]:\x20received\x20acknowledgement.','_sheetTransformSelectionsService','UNIVER_PROJECT','[CollaborationSession]','origin','80ZbENnk','Base','MD5','_singleActiveUnitService','LEAVE','init','_snapshotService','collabWebSocketUrl','_initDependencies','onTransformRemoteChangesetByStateCache','SOCKET_FAILED','onRemoteAck','commentUpdate$','enableAuthServer','YUUMI_UNABLE_LOAD_URL','_httpService','RECV','_isPermissionRej','/role','encodeURIComponent','updatePermissionPoint','_entityInit$','UUID','COLLAB_SUBMIT_CHANGESET_URL','ONLINE','PERMISSION_DENIED','lib','now','charCodeAt','ivSize','/universer-api/authz','_prevBlock','_handler','crypto','objectType','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','setShowComponents','_socketReady','UNIVER_DOC','dispose','duration','decrypt','getOwnPropertyDescriptor','delete','/resources','_retryCount','_replayCachedMutations','\x0aCurrent:\x20','x-univer-host','_getLoginPath','collaboration-client.local-cache-service','unsubscribe','LOCAL_CACHE_INTERVAL','_hash','[OfflineState]:\x20received\x20acknowledgement.','updateOfflineData','loadSheet','getTypeOfUnitAdded$','_initMergeInterceptor','fetch_missing','substr','call','create','[OfflineState]:\x20received\x20changeset.','_submitChangeset','_onConflict','[CollaborationSessionService]:\x20socket\x20error','appendMutation','/universer-api/uniscript','_loadDoc','COMPRESS_MUTATION_SEND','_acknowledgedAwaitingChangeset','enc','file','_startCollaboration','pipe','_showConflictNotification','UPDATE_CURSOR','change$','confirm','parse','session.join-failed','loadOfflineData','_getCurrentRevision','words','location','/universer-api/snapshot','MSG_FOR_ERROR','onTransformRemoteChangesetByIMECache','_sender','UNRECOGNIZED','_updateState','ceil','push','focused$','authzUrl','_doProcessBlock','close','getDeserializedSheetBlock','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','keySize','apply','state','selections','isPermissionRej','[UniverCollaborationClientPlugin]','_onUserJoin','INTERNAL_ERROR','_status$','JOINING','_socket','_minBufferSize','_clearTimeoutTimer','getMember','pending','CONNECTOR_DATA_TOO_LARGE','_authzIoService','Latin1','byteLength','/universer-api/snapshot/','MUTATION','mutations','ENSURE_SNAPSHOT_EXECUTION','_imageSourceCache','COMPLETION_FINISHED','requestParams','awaiting_with_pending','onload','retryConnectingInterval','members$','\x20in\x20_schedule.','find','baseRev','loadUnit','_config','_disableEditing','floor','originalMeta','_onRecvEvent','debug','_toggleOnline','_clearRedo','_getCtorByUniverType','getActiveSheet','LIVESHARE_OPERATION','dispose$','OTHER_CLIENT_EDITING','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','csShouldRetryEvent','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','HttpExport','83736Uvacap','search','CHANGESET_ACK','random','Encryptor','_lockTransition','getCurrentRevOfUnit','sessionStatus','clone','iterations','msCrypto','_members$','_localeService','_startTelemetryCollaborationNewChangeset','_commandService','liveShareNewHost','getSnapshotAPIPath','enableOfflineEditing','getUnitStatus$','cfg','send','subscribe','_roomCreated$','_checkMissing','JOIN_ROOM_FULL','close$','USERS_ENTER','_fetchMissChangesets','HttpImport','/unit/','LICENSE_DISTRO_REJECTED','pad','INGEST','runId','next','HmacSHA1','_clearLocalCache','_loadSheet','body','/universer-api/stream/file/upload','univer-pro.collaboration-client-socket-service','_telemetryService','_updateStatus','/new_changes','GLOBAL_ROOMS_CNT_EXCEEDS','_socketService','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','HmacMD5','_cipher','getWorkbookSelections','onRemoteRej','startTime','searchParams','_type','localCacheService','transformSelections','_parse','NoPadding','algo','put','_undoStacks','unitID','getValue','_registerDependencies','_xformMode','/universer-api/oidc/authpage','_createHandler','[OfflineState]:\x20received\x20rejection.','_sessions','JOIN','_changesetReqId','rev','[CollaborationSessionService]','objectID','onCommentUpdate','message$','_clearScheduledTask','LIVESHARE_REQUEST_HOST','_createSocketURL','c1Prime','every','_HTTPService','_resendTimer','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_substituteUndoStack','_clearHeartbeatTimer','encrypt','_doReset','COMPRESS_MUTATION_APPLY','memberID','PERSON','[CollaborationUndoRedoService]','UNKNOWN_CMD','_onConnectionFailed','resourceIDs','APPLY_REVISION_CONFILICT','onMissingChangesets','awaitingChangeset','_map','_init','fetchMiss','from','saveImage','wsSessionTicketUrl','NEW_CHANGESETS','event$','append','UnitEmbedded','offline','getTime','stopTime','refreshPermission','loadDoc','stringify','64266eMHeGh','_scheduleCollaborationTimeoutTimer','src','_univerInstanceService','_transformIMECache','_networkConditionService','sessionTicket','getSheetId','_getSignURL','headers','OFFLINE','url','transformMutationsWithChangeset','_onOffline','_executeRemoteChangeset','[SyncedState]:\x20received\x20acknowledgement.','setWaitCount','_invKeySchedule','_transformUndoredo','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','LICENSE_MAX_UNITS_EXCEEDED','/block/','_remoteChangesetQueue','_createSocket','image/gif','filter','revision','params','INVALID_ARGUMENT','_redoStacks','_mode','formatter','_getUndoStack','JOIN_ROOM_FAILED','onMissedChangesetFetched','getFocusedUnit','_data','AWAITING_WITH_PENDING','sendChangesetTimeout','transformStack\x20failed!','Base64','_applyRemoteChangeset','unitId','defineProperty','hasOwnProperty','joinRsp','_transitionLocked','_onMessage','onStateChange','transformChangesets','JOIN_ROOM_PERMISSION_DENIED','NOT_COLLAB','AWAITING','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_hasher','EvpKDF','then','_getSendChangesetTimeout','_schedule','createEncryptor','_state$','abs','YUUMI_SUBSCRIPTION_NOT_FOUND','_initCloseConn','_handlerCallback','YUUMI_URL_COL_OUT_OF_RANGE','onCommandExecuted','session.room-permission-denied','application/json','members','\x20-\x20','SHOULD_CLOSE_CONN','joinEvent','fromCollab','result','_keyPriorReset','_oKey','_process','snapshot','state$','_commentService','entityInit$','join','size','method','SNAPSHOT_URL_KEY','image/jpeg','_eventService','data','requireSession','_onUserLeave','univer-pro.collaboration-client.network-condition.service','repeat','routeKey','APPLY_DUPLICATED','_undoRedoService','Utf8','_getAPIPrefixPath','_transformSelections','entries','name','Pkcs7','saveChangeset','has','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','FETCH_MISS','_replaceFileID','SNAPSHOT_INVALID_SNAPSHOT','_resendWithTimeout','length','getCurrentUser','blockSize','code','not_collab','_nRounds','UNIVER_UNKNOWN','_unitInfo$','_onCombEvent','_updateLocalCache','updateCollaborator','reconnect','failed\x20to\x20apply\x20missed\x20changesets!','_onRemoteACK','ciphertext','kdf','_ENC_XFORM_MODE','toggleOnline','_joinRoom','ERROR_IMAGE','_throwTelemetryCollaborationNewChangeset','copyFileMeta','replace','getAllMembers','changesets','Univer','session','csRejEvent','unitId\x20is\x20not\x20found','infoRsp','onRemoteRetry','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','ticket','54964UJuvvD','csAckEvent','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','equals','catch','OTHER_CLIENTS_EDITING','image/jpg','getConfig','clamp','sin','USERS_LEAVE','shouldCloseConn','4858002RchLlH','collaborators','HELLO','ERROR_IMAGE_TYPE','1394386aAqGGA','_doFinalize','UNDEFINED','onTransformState','JOIN_ROOM_NOT_EXISTS','LIVESHARE_TERMINATE','_sendingTimer','3lylLeP','APPLY_REJECT','_scheduleCompleteTimestamp','getResourcesRequest','reqId','reverse','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_collaborationTimeoutTimer','PERMISSION_REJ','toggleOffline','hasher','_http','type','rng','_transformService','UNIVER_COLLABORATION_CLIENT_PLUGIN','ERROR_EXCEED_SIZE','charAt','_removeRoom','onTransformSelections','_append','isArray','sessionStatus$','AUTHZ_URL_KEY','BlockCipherMode','_socket$','saveSheetBlock','batchAllowed','default','format','_getRedoStack','/-/object/list','newCsEvent','sid','Undefined','c2Prime','encode','PY_RUNTIME_SCRIPT_ERROR','\x0aAfter:\x20','sigBytes','interceptor','CLOSE_ROOM','NO_OTHER_CLIENTS_EDITING','signUrlServerUrl','_configService','post','socket$'];_0x45ac=function(){return _0x3a76c8;};return _0x45ac();}var Qe={'exports':{}},is=Qe[_0x1a3a6b(0x333)],hi;function ns(){var _0x3f4bcb=_0x1a3a6b;return hi||(hi=0x1,function(_0x45ad7e,_0xb0b97d){(function(_0x183c29,_0x29fc94,_0x3749da){var _0x26227e=_0x2c36;_0x45ad7e[_0x26227e(0x333)]=_0x29fc94(ne(),Ai());}(is,function(_0x49361f){var _0x1e589c=_0x2c36;return _0x49361f['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x49361f[_0x1e589c(0x17f)][_0x1e589c(0x199)];}));}(Qe)),Qe[_0x3f4bcb(0x333)];}var rs=ns();const ss=ke(rs);function os(_0x12e44f,_0x2a82c9){var _0x982a41=_0x1a3a6b;const _0x5a30f6=_0x2a82c9-_0x12e44f[_0x982a41(0x23f)]%_0x2a82c9,_0x39694e=String['fromCharCode'](_0x5a30f6)[_0x982a41(0x22e)](_0x5a30f6);return _0x12e44f+_0x39694e;}function as(_0x5bbd0a,_0x4afe35){var _0x2a07bf=_0x1a3a6b;const _0x1841c4=ts['random'](0x10),_0x32b433=os(_0x5bbd0a,0x10),_0x854b70=Kr[_0x2a07bf(0x1b6)](Xr['parse'](_0x32b433),oi['parse'](_0x4afe35),{'iv':_0x1841c4,'padding':ss});return _0x1841c4[_0x2a07bf(0x9a)](_0x854b70[_0x2a07bf(0x24d)])[_0x2a07bf(0x377)](oi);}function cs(){var _0x504b06=_0x1a3a6b;const _0x21368b=_0x23ae21()[_0x504b06(0x2f1)];if(_0x21368b){const _0x2b3a52={'time':Math[_0x504b06(0x151)](Date[_0x504b06(0xe4)]()/0x3e8),'domain':location[_0x504b06(0xa8)]};return as(JSON['stringify'](_0x2b3a52),_0x21368b);}}var hs=Object[_0x1a3a6b(0x1fd)],_s=Object['getOwnPropertyDescriptor'],ls=(_0x250abc,_0x465002,_0x382164,_0x5618c5)=>{var _0x13d003=_0x1a3a6b;for(var _0xc54a40=_0x5618c5>0x1?void 0x0:_0x5618c5?_s(_0x465002,_0x382164):_0x465002,_0x4ceccc=_0x250abc[_0x13d003(0x23f)]-0x1,_0x5b3dcf;_0x4ceccc>=0x0;_0x4ceccc--)(_0x5b3dcf=_0x250abc[_0x4ceccc])&&(_0xc54a40=(_0x5618c5?_0x5b3dcf(_0x465002,_0x382164,_0xc54a40):_0x5b3dcf(_0xc54a40))||_0xc54a40);return _0x5618c5&&_0xc54a40&&hs(_0x465002,_0x382164,_0xc54a40),_0xc54a40;},us=(_0x3bdfec,_0x441c85)=>(_0x50510d,_0x4fd852)=>_0x441c85(_0x50510d,_0x4fd852,_0x3bdfec);let ot=class{constructor(_0x5c8f53){var _0x33792f=_0x1a3a6b;this[_0x33792f(0xd8)]=_0x5c8f53,this[_0x33792f(0x381)]();}[_0x1a3a6b(0x381)](){var _0x1d2d0f=_0x1a3a6b;this[_0x1d2d0f(0xd8)][_0x1d2d0f(0x2ac)]({'interceptor':(_0x3ec4ae,_0x567a82)=>{var _0x671e5e=_0x1d2d0f;const _0x54c5cd=_0x3ec4ae[_0x671e5e(0x1db)],_0x290ac1=cs();return _0x290ac1&&_0x54c5cd[_0x671e5e(0x389)](_0x671e5e(0xf9),_0x290ac1),_0x567a82(_0x3ec4ae);}});}};ot=ls([us(0x0,_0x5eebc2(_0x5b5c45))],ot);var ds=Object[_0x1a3a6b(0x1fd)],fs=Object[_0x1a3a6b(0xf3)],vs=(_0x45abba,_0x4981c9,_0xab2adb,_0x320675)=>{for(var _0x1d9903=_0x320675>0x1?void 0x0:_0x320675?fs(_0x4981c9,_0xab2adb):_0x4981c9,_0x2c5356=_0x45abba['length']-0x1,_0x450e75;_0x2c5356>=0x0;_0x2c5356--)(_0x450e75=_0x45abba[_0x2c5356])&&(_0x1d9903=(_0x320675?_0x450e75(_0x4981c9,_0xab2adb,_0x1d9903):_0x450e75(_0x1d9903))||_0x1d9903);return _0x320675&&_0x1d9903&&ds(_0x4981c9,_0xab2adb,_0x1d9903),_0x1d9903;},mt=(_0xe32d5a,_0x374a2d)=>(_0x36f5d3,_0x58ffba)=>_0x374a2d(_0x36f5d3,_0x58ffba,_0xe32d5a);let Ot=class extends _0x20578d{constructor(_0x29617b,_0x2f3383,_0x5f015b){var _0x1c68f5=_0x1a3a6b;super(),N(this,_0x1c68f5(0x246),new _0x5c1b2c(null)),N(this,_0x1c68f5(0x365),this[_0x1c68f5(0x246)][_0x1c68f5(0x9d)]()),(this[_0x1c68f5(0x2d8)]=_0x29617b,this['_snapshotService']=_0x2f3383,this[_0x1c68f5(0x324)]=_0x5f015b);}async[_0x1a3a6b(0x14e)](_0x444f1c,_0x2e4ab3,_0x4a7650){var _0xb77f8f=_0x1a3a6b;this[_0xb77f8f(0x246)][_0xb77f8f(0x182)]({'unitId':_0x444f1c,'type':_0x2e4ab3,'subUnitId':_0x4a7650});let _0x1bedc3=null;switch(_0x2e4ab3){case Q['UNIVER_SHEET']:{_0x1bedc3=await this[_0xb77f8f(0x185)](_0x444f1c);break;}case Q[_0xb77f8f(0xef)]:{_0x1bedc3=await this[_0xb77f8f(0x10e)](_0x444f1c);break;}default:{this[_0xb77f8f(0x2d8)]['error'](_0xb77f8f(0x388),_0xb77f8f(0x15e));break;}}return _0x1bedc3;}async['_loadSheet'](_0x5116ed){var _0x377ffa=_0x1a3a6b,_0x5e1e65;let _0x527538=0x0;const _0x23c8e7=await((_0x5e1e65=this[_0x377ffa(0x324)])==null?void 0x0:_0x5e1e65['loadOfflineData'](_0x5116ed));return _0x23c8e7&&(_0x23c8e7[_0x377ffa(0x1c1)]||_0x23c8e7[_0x377ffa(0x142)][_0x377ffa(0x23f)]!==0x0)&&(_0x527538=_0x23c8e7[_0x377ffa(0x1a7)]),_0x527538===0x0&&this[_0x377ffa(0x2d8)][_0x377ffa(0x154)](_0x377ffa(0x388),_0x377ffa(0x263)),this[_0x377ffa(0xcf)][_0x377ffa(0x101)](_0x5116ed,_0x527538);}async['_loadDoc'](_0x466e0c){var _0x1bdc6e=_0x1a3a6b,_0x1fda36;let _0x228809=0x0;const _0x2aaff1=await((_0x1fda36=this['_localCacheService'])==null?void 0x0:_0x1fda36[_0x1bdc6e(0x11b)](_0x466e0c));return _0x2aaff1&&(_0x2aaff1[_0x1bdc6e(0x1c1)]||_0x2aaff1['mutations'][_0x1bdc6e(0x23f)]!==0x0)&&(_0x228809=_0x2aaff1['rev']),_0x228809===0x0&&this[_0x1bdc6e(0x2d8)][_0x1bdc6e(0x154)](_0x1bdc6e(0x388),_0x1bdc6e(0x263)),this[_0x1bdc6e(0xcf)][_0x1bdc6e(0x1d0)](_0x466e0c,_0x228809);}};Ot=vs([mt(0x0,_0x1ca28b),mt(0x1,_0x5eebc2(_0x59c463)),mt(0x2,_0x27b19f(J))],Ot);var ps=Object['defineProperty'],ms=Object[_0x1a3a6b(0xf3)],gs=(_0x2d3735,_0x4a16aa,_0x1a7fc7,_0x1233fc)=>{var _0x4a2b14=_0x1a3a6b;for(var _0x5b5cc1=_0x1233fc>0x1?void 0x0:_0x1233fc?ms(_0x4a16aa,_0x1a7fc7):_0x4a16aa,_0x598276=_0x2d3735[_0x4a2b14(0x23f)]-0x1,_0x3f0dcd;_0x598276>=0x0;_0x598276--)(_0x3f0dcd=_0x2d3735[_0x598276])&&(_0x5b5cc1=(_0x1233fc?_0x3f0dcd(_0x4a16aa,_0x1a7fc7,_0x5b5cc1):_0x3f0dcd(_0x5b5cc1))||_0x5b5cc1);return _0x1233fc&&_0x5b5cc1&&ps(_0x4a16aa,_0x1a7fc7,_0x5b5cc1),_0x5b5cc1;},gt=(_0x3cd439,_0x5f0dd8)=>(_0x1bb3ca,_0x142149)=>_0x5f0dd8(_0x1bb3ca,_0x142149,_0x3cd439);const Ss=['image/png',_0x1a3a6b(0x228),_0x1a3a6b(0x267),_0x1a3a6b(0x1ea),_0x1a3a6b(0x396)],Es=0x5*0x400*0x400,Is='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Ts=_0x1a3a6b(0x187),Cs=_0x1a3a6b(0x2f8),Rs=_0x1a3a6b(0x371);let yt=class{constructor(_0x49e664,_0x513696,_0x2e8e7e){var _0x355f4b=_0x1a3a6b;N(this,'_waitCount',0x0),N(this,_0x355f4b(0x382),new _0x1b9930()),N(this,_0x355f4b(0x117),this['_change$']),N(this,_0x355f4b(0x144),new Map()),(this[_0x355f4b(0xd8)]=_0x49e664,this['_configService']=_0x513696,this[_0x355f4b(0x1d5)]=_0x2e8e7e);}[_0x1a3a6b(0x1e2)](_0x2864ed){var _0x241410=_0x1a3a6b;this[_0x241410(0x315)]=_0x2864ed,this[_0x241410(0x382)][_0x241410(0x182)](_0x2864ed);}['getImageSourceCache'](_0x232d5b,_0x2299be){var _0x28ef29=_0x1a3a6b;if(_0x2299be===_0x15d1ee['BASE64']){const _0x3b5c09=new Image();return _0x3b5c09[_0x28ef29(0x1d4)]=_0x232d5b,_0x3b5c09;}return this[_0x28ef29(0x144)][_0x28ef29(0x2f9)](_0x232d5b);}['addImageSourceCache'](_0x1c92e1,_0x3682c3,_0x485fc5){var _0x182dd2=_0x1a3a6b;_0x3682c3===_0x15d1ee[_0x182dd2(0x319)]||_0x485fc5==null||this[_0x182dd2(0x144)][_0x182dd2(0x389)](_0x1c92e1,_0x485fc5);}async[_0x1a3a6b(0x351)](_0x743f61){var _0x40f6d5=_0x1a3a6b;try{const _0x172c74=this[_0x40f6d5(0x23c)](this['_getSignURL'](),''+_0x743f61),_0x53f032=(await this[_0x40f6d5(0xd8)][_0x40f6d5(0x2f9)](_0x172c74))[_0x40f6d5(0x186)];if(_0x53f032[_0x40f6d5(0x362)]&&_0x53f032[_0x40f6d5(0x362)][_0x40f6d5(0x242)]===Ii['OK']){const _0x10c14a=new URL(_0x53f032[_0x40f6d5(0x1dd)],this[_0x40f6d5(0x2e0)]())[_0x40f6d5(0x377)]();return Promise['resolve'](_0x10c14a);}return Promise['reject'](_0x53f032['error']);}catch(_0x1a536c){return Promise[_0x40f6d5(0x372)](_0x1a536c);}}async[_0x1a3a6b(0x1c6)](_0x1d11e0){var _0x3643e7=_0x1a3a6b;let _0x596121='';if(!Ss['includes'](_0x1d11e0[_0x3643e7(0x284)]))return this[_0x3643e7(0x379)](),Promise[_0x3643e7(0x372)](new Error(_0x113468[_0x3643e7(0x270)]));if(_0x1d11e0[_0x3643e7(0x225)]>Es)return this[_0x3643e7(0x379)](),Promise[_0x3643e7(0x372)](new Error(_0x113468[_0x3643e7(0x288)]));try{const _0x51e65c=new FormData();_0x51e65c[_0x3643e7(0x1ca)](_0x3643e7(0x112),_0x1d11e0);const _0x34d590=this[_0x3643e7(0x1d5)]['getFocusedUnit'](),_0xbe86ff=_0x34d590==null?void 0x0:_0x34d590['getUnitId']();if(!_0xbe86ff)throw new Error(_0x3643e7(0x25b));const _0x17e0b0=this[_0x3643e7(0xc2)]()+_0x3643e7(0x2d4)+_0x1d11e0['size']['toString']()+_0x3643e7(0x329)+Ti['UnitEmbedded']+_0x3643e7(0x316)+encodeURIComponent(_0xbe86ff),_0x3d5a1a=await(await fetch(_0x17e0b0,{'method':'POST','body':_0x51e65c}))[_0x3643e7(0x312)]();if(typeof _0x3d5a1a['FileId']!='string')return this[_0x3643e7(0x379)](),Promise[_0x3643e7(0x372)](new Error(_0x113468[_0x3643e7(0x252)]));_0x596121=_0x3d5a1a['FileId'];}catch{return this['_decreaseWaiting'](),Promise[_0x3643e7(0x372)](new Error(_0x113468['ERROR_IMAGE']));}return new Promise((_0x353392,_0x10516e)=>{var _0x39202b=_0x3643e7;const _0xb31f92=new FileReader();_0xb31f92['readAsDataURL'](_0x1d11e0),_0xb31f92[_0x39202b(0x148)]=_0x2fdcaa=>{var _0x8159a=_0x39202b,_0x231e28;const _0x18b72b=(_0x231e28=_0x2fdcaa[_0x8159a(0x361)])==null?void 0x0:_0x231e28['result'];if(_0x18b72b==null){this['_decreaseWaiting'](),_0x10516e(new Error(_0x113468[_0x8159a(0x252)]));return;}const _0x1a92b7=_0x282cb2[_0x8159a(0x2a8)](0x6);_0x353392({'imageId':_0x1a92b7,'imageSourceType':_0x15d1ee[_0x8159a(0xdf)],'source':_0x596121,'base64Cache':_0x18b72b,'status':_0x113468[_0x8159a(0x358)]}),this[_0x8159a(0x379)]();};});}[_0x1a3a6b(0xc2)](){var _0x567ccd=_0x1a3a6b,_0x4c6234,_0x42067c;const _0x5efac0=this['_configService'][_0x567ccd(0x268)](Is),_0x2adcda=this['_configService'][_0x567ccd(0x268)](q);return(_0x42067c=(_0x4c6234=_0x2adcda==null?void 0x0:_0x2adcda[_0x567ccd(0xbe)])!=null?_0x4c6234:_0x5efac0)!=null?_0x42067c:Ts;}[_0x1a3a6b(0x1da)](){var _0x162272=_0x1a3a6b,_0x249d9c,_0x466a8a;const _0x229eb6=this[_0x162272(0x2a4)][_0x162272(0x268)](Cs),_0x2f7762=this[_0x162272(0x2a4)][_0x162272(0x268)](q);return(_0x466a8a=(_0x249d9c=_0x2f7762==null?void 0x0:_0x2f7762[_0x162272(0x2a3)])!=null?_0x249d9c:_0x229eb6)!=null?_0x466a8a:Rs;}['_getDownloadEndpointURL'](){var _0x45f84a=_0x1a3a6b,_0x3c014b;const _0xbb3e5b=this[_0x45f84a(0x2a4)][_0x45f84a(0x268)](q);return(_0x3c014b=_0xbb3e5b==null?void 0x0:_0xbb3e5b['downloadEndpointUrl'])!=null?_0x3c014b:location[_0x45f84a(0xc8)];}[_0x1a3a6b(0x23c)](_0x2fc0a8,_0x45ead4){var _0x2f5a5f=_0x1a3a6b;return _0x2fc0a8[_0x2f5a5f(0x255)](_0x2f5a5f(0x31a),_0x45ead4);}[_0x1a3a6b(0x379)](){var _0x5cedda=_0x1a3a6b;this[_0x5cedda(0x315)]-=0x1,this[_0x5cedda(0x382)][_0x5cedda(0x182)](this['_waitCount']);}};yt=gs([gt(0x0,_0x5eebc2(_0x5b5c45)),gt(0x1,_0x4107ea),gt(0x2,_0x5eebc2(_0x42a1e9))],yt);var bs=Object[_0x1a3a6b(0x1fd)],Os=Object['getOwnPropertyDescriptor'],ys=(_0x287cd9,_0x3648f8,_0x54d966,_0x4f7a10)=>{var _0x2c6a00=_0x1a3a6b;for(var _0x495b30=_0x4f7a10>0x1?void 0x0:_0x4f7a10?Os(_0x3648f8,_0x54d966):_0x3648f8,_0x1f3fb3=_0x287cd9[_0x2c6a00(0x23f)]-0x1,_0x4b0a51;_0x1f3fb3>=0x0;_0x1f3fb3--)(_0x4b0a51=_0x287cd9[_0x1f3fb3])&&(_0x495b30=(_0x4f7a10?_0x4b0a51(_0x3648f8,_0x54d966,_0x495b30):_0x4b0a51(_0x495b30))||_0x495b30);return _0x4f7a10&&_0x495b30&&bs(_0x3648f8,_0x54d966,_0x495b30),_0x495b30;},_i=(_0x46c60a,_0x1a3c79)=>(_0xff2a1f,_0x49c51c)=>_0x1a3c79(_0xff2a1f,_0x49c51c,_0x46c60a);const Ns=_0x1a3a6b(0xe7);let Nt=class{constructor(_0x4ce1db,_0x476ecb){var _0x466cfe=_0x1a3a6b;this[_0x466cfe(0x2a4)]=_0x4ce1db,this[_0x466cfe(0x1b1)]=_0x476ecb;}[_0x1a3a6b(0x233)](){var _0x3cb50c=_0x1a3a6b,_0x191450,_0x34bd61;const _0x3b06d8=this[_0x3cb50c(0x2a4)][_0x3cb50c(0x268)](Pi),_0x480370=this[_0x3cb50c(0x2a4)][_0x3cb50c(0x268)](q);return(_0x34bd61=(_0x191450=_0x480370==null?void 0x0:_0x480370['authzUrl'])!=null?_0x191450:_0x3b06d8)!=null?_0x34bd61:Ns;}async[_0x1a3a6b(0x398)](_0xb04206){var _0x317b19=_0x1a3a6b;const _0x371be8=this[_0x317b19(0x233)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this[_0x317b19(0x1b1)][_0x317b19(0x2f9)](_0x371be8,{'params':{'objectID':_0xb04206[_0x317b19(0x1fc)],'unitID':_0xb04206[_0x317b19(0x1fc)]}}))[_0x317b19(0x186)][_0x317b19(0x26e)][_0x317b19(0x302)](_0x1815f3=>({'objectId':_0x1815f3['id'],'name':_0x1815f3['subject'][_0x317b19(0x236)],'metadata':{'icon':_0x1815f3[_0x317b19(0x95)]['avatar']},'label':_0x1815f3[_0x317b19(0x95)][_0x317b19(0x236)],'objectType':_0x446bf5[_0x317b19(0x1ba)]})),'metadata':{},'type':_0x446bf5['PERSON']}]};}};Nt=ys([_i(0x0,_0x5eebc2(_0x4107ea)),_i(0x1,_0x5eebc2(_0x5b5c45))],Nt);var Ds=Object[_0x1a3a6b(0x1fd)],Ps=Object['getOwnPropertyDescriptor'],ws=(_0x42203b,_0x35201c,_0x13a2d0,_0x518b03)=>{var _0x3a29be=_0x1a3a6b;for(var _0x28bd49=_0x518b03>0x1?void 0x0:_0x518b03?Ps(_0x35201c,_0x13a2d0):_0x35201c,_0x5a6011=_0x42203b[_0x3a29be(0x23f)]-0x1,_0x5e405f;_0x5a6011>=0x0;_0x5a6011--)(_0x5e405f=_0x42203b[_0x5a6011])&&(_0x28bd49=(_0x518b03?_0x5e405f(_0x35201c,_0x13a2d0,_0x28bd49):_0x5e405f(_0x28bd49))||_0x28bd49);return _0x518b03&&_0x28bd49&&Ds(_0x35201c,_0x13a2d0,_0x28bd49),_0x28bd49;},Se=(_0x186fed,_0x584bbd)=>(_0x1f8789,_0xf852f5)=>_0x584bbd(_0x1f8789,_0xf852f5,_0x186fed);let at=class extends _0x20578d{constructor(_0x8213f7,_0xdc77df,_0x1ab845,_0x2d764a,_0x317726,_0x50a6c4,_0x17b927){var _0x129c32=_0x1a3a6b;super(),this[_0x129c32(0x353)]=_0x8213f7,this[_0x129c32(0x1d5)]=_0xdc77df,this[_0x129c32(0x9b)]=_0x1ab845,this[_0x129c32(0x305)]=_0x2d764a,this['_collaborationUIEventService']=_0x317726,this[_0x129c32(0x13d)]=_0x50a6c4,this[_0x129c32(0x231)]=_0x17b927,this['_initUnitPermissionChange'](),this[_0x129c32(0x211)]();}[_0x1a3a6b(0x211)](){var _0x59f72f=_0x1a3a6b;const _0x559db0=async _0x56c68a=>{var _0x2facf7=_0x2c36;(await this['_collaborationSessionService']['requireSession'](_0x56c68a))[_0x2facf7(0x1c9)]['pipe'](_0x5cfa46(_0x4b97b4=>_0x4b97b4[_0x2facf7(0xb3)]===_0x12854d[_0x2facf7(0x219)]),_0x2f89f8(this[_0x2facf7(0x15a)]))['subscribe'](_0x3773b6=>{var _0x555b1a=_0x2facf7;const _0x290a24=_0x3773b6,{reason:_0x4b1577}=_0x290a24['data'];this[_0x555b1a(0x354)][_0x555b1a(0x2fe)]({'id':se[_0x555b1a(0x2a1)],'data':_0x4b1577}),this['_permissionService'][_0x555b1a(0xdd)](new _0x56b9cd(_0x56c68a)['id'],!0x1),this[_0x555b1a(0x305)][_0x555b1a(0x35b)](_0x56c68a);});};_0x56378f(this['_univerInstanceService'][_0x59f72f(0x102)](_0x520b34[_0x59f72f(0x2c4)]),this['_univerInstanceService'][_0x59f72f(0x102)](_0x520b34[_0x59f72f(0xef)]))[_0x59f72f(0x114)](_0x15b0db(_0x58794f=>_0x58794f[_0x59f72f(0x31c)]()),_0x5cfa46(_0x141e17=>!_0x4aa697(_0x141e17)),_0x2f89f8(this[_0x59f72f(0x15a)]))[_0x59f72f(0x175)](_0x6fe882=>{_0x559db0(_0x6fe882);});}['_initUnitPermissionChange'](){var _0x9547c9=_0x1a3a6b;const _0x3c0693=async _0x1e4d66=>{var _0x3d7ee8=_0x2c36;const _0x2b8374=await this[_0x3d7ee8(0x305)]['requireSession'](_0x1e4d66),_0x44e004=this[_0x3d7ee8(0x353)][_0x3d7ee8(0x2f9)](_0x18a768);_0x2b8374[_0x3d7ee8(0x1c9)][_0x3d7ee8(0x114)](_0x5cfa46(_0x449a48=>_0x449a48['eventID']===_0x12854d['UPDATE_PERMISSION_OBJ']),_0x2f89f8(this[_0x3d7ee8(0x15a)]))[_0x3d7ee8(0x175)](_0xdc294e=>{var _0x135ebe=_0x3d7ee8;const _0x5a8940=_0xdc294e,{objectId:_0x232e0c}=_0x5a8940['data'];_0x232e0c===_0x1e4d66?_0x44e004[_0x135ebe(0x2e9)](_0x1e4d66):_0x44e004[_0x135ebe(0x1cf)](_0x1e4d66,_0x232e0c);});};_0x56378f(this[_0x9547c9(0x1d5)][_0x9547c9(0x102)](_0x520b34['UNIVER_SHEET']),this['_univerInstanceService'][_0x9547c9(0x102)](_0x520b34[_0x9547c9(0xef)]))[_0x9547c9(0x114)](_0x15b0db(_0x61da7=>_0x61da7[_0x9547c9(0x31c)]()),_0x5cfa46(_0x50c6ef=>!_0x4aa697(_0x50c6ef)),_0x2f89f8(this[_0x9547c9(0x15a)]))[_0x9547c9(0x175)](_0x273035=>{_0x3c0693(_0x273035);});}};at=ws([Se(0x0,_0x5eebc2(_0x54e9ab)),Se(0x1,_0x42a1e9),Se(0x2,_0x4ebb7c),Se(0x3,_0x5eebc2(Le)),Se(0x4,_0x5eebc2(pe)),Se(0x5,_0x1226d2),Se(0x6,_0x1ca1a7)],at);var Us=Object[_0x1a3a6b(0x1fd)],As=Object['getOwnPropertyDescriptor'],xs=(_0x255a62,_0xb5e45,_0x2b26dc,_0x22e3cb)=>{var _0x1b7e21=_0x1a3a6b;for(var _0x3b77e9=_0x22e3cb>0x1?void 0x0:_0x22e3cb?As(_0xb5e45,_0x2b26dc):_0xb5e45,_0x5d8c4d=_0x255a62[_0x1b7e21(0x23f)]-0x1,_0x4efbd3;_0x5d8c4d>=0x0;_0x5d8c4d--)(_0x4efbd3=_0x255a62[_0x5d8c4d])&&(_0x3b77e9=(_0x22e3cb?_0x4efbd3(_0xb5e45,_0x2b26dc,_0x3b77e9):_0x4efbd3(_0x3b77e9))||_0x3b77e9);return _0x22e3cb&&_0x3b77e9&&Us(_0xb5e45,_0x2b26dc,_0x3b77e9),_0x3b77e9;},li=(_0x5d2ef2,_0x4602ad)=>(_0x474740,_0x508b75)=>_0x4602ad(_0x474740,_0x508b75,_0x5d2ef2);let Dt=class{constructor(_0x43433d,_0x38b6e6){var _0x5f1877=_0x1a3a6b;this[_0x5f1877(0x2a4)]=_0x43433d,this['_httpService']=_0x38b6e6;}async[_0x1a3a6b(0x2f6)](_0x12db59,_0x114894){var _0x416aad=_0x1a3a6b,_0x17b341;const {unitID:_0x1c0c9c,type:_0x12865d,revision:_0x4fd914=0x0}=_0x114894,_0x584ea2=this[_0x416aad(0x170)]()+'/'+_0x12865d+'/unit/'+_0x1c0c9c+_0x416aad(0x334)+_0x4fd914,_0xd62d5b=(await this['_httpService'][_0x416aad(0x2f9)](_0x584ea2))[_0x416aad(0x186)],_0x5b60a8=(_0x17b341=_0xd62d5b[_0x416aad(0x220)])==null?void 0x0:_0x17b341['workbook'];if(_0x5b60a8){const _0x3ab65e=_0x5b60a8==null?void 0x0:_0x5b60a8[_0x416aad(0x152)],_0x44537d=_0x302778['encode'](_0x23859b(_0x3ab65e));_0x5b60a8[_0x416aad(0x152)]=_0x44537d,Object[_0x416aad(0x235)](_0x5b60a8[_0x416aad(0x2e8)])[_0x416aad(0x33c)](([,_0xe34ff0])=>{var _0x165bfc=_0x416aad;const _0x50e0c3=_0xe34ff0[_0x165bfc(0x152)],_0x2c89fd=_0x302778[_0x165bfc(0x29c)](_0x23859b(_0x50e0c3));_0xe34ff0[_0x165bfc(0x152)]=_0x2c89fd;});}return _0xd62d5b;}async['getSheetBlock'](_0x3a8960,_0x71419e){var _0x3618e8=_0x1a3a6b;const {unitID:_0x51593d,type:_0x301112,blockID:_0x10c4b7}=_0x71419e,_0x537eab=this[_0x3618e8(0x380)]()+'/'+_0x301112+_0x3618e8(0x17d)+_0x51593d+_0x3618e8(0x1e7)+_0x10c4b7;return(await this[_0x3618e8(0xd8)][_0x3618e8(0x2f9)](_0x537eab))[_0x3618e8(0x186)];}async[_0x1a3a6b(0x12b)](_0x25299e,_0x36122f){var _0xfefcd7=_0x1a3a6b;const {unitID:_0x1258d8,type:_0x133a9e,blockID:_0x54ac2f}=_0x36122f,_0xfcc4e=this[_0xfefcd7(0x380)]()+_0xfefcd7(0x1e7)+_0x133a9e+'/unit/'+_0x1258d8+'/block/'+_0x54ac2f;return(await this[_0xfefcd7(0xd8)][_0xfefcd7(0x2f9)](_0xfcc4e))['body'];}async[_0x1a3a6b(0x32d)](_0x1dffa1,_0x125354){var _0x5647b2=_0x1a3a6b;const {unitID:_0x57d405,type:_0x43a8ce,from:_0x3dc155,to:_0x5d2dd3}=_0x125354,_0x413241=this[_0x5647b2(0x380)]()+'/'+_0x43a8ce+_0x5647b2(0x17d)+_0x57d405+_0x5647b2(0x300)+_0x3dc155+_0x5647b2(0xbc)+_0x5d2dd3;return(await this[_0x5647b2(0xd8)][_0x5647b2(0x2f9)](_0x413241))[_0x5647b2(0x186)];}[_0x1a3a6b(0x170)](){var _0x34e9f9=_0x1a3a6b,_0x101483;return(_0x101483=this['_configService'][_0x34e9f9(0x268)](Tn))!=null?_0x101483:this[_0x34e9f9(0x380)]();}[_0x1a3a6b(0x380)](){var _0x152ebb=_0x1a3a6b,_0x51572a,_0x2301c0;const _0x31b1df=this[_0x152ebb(0x2a4)][_0x152ebb(0x268)](En),_0x474229=this[_0x152ebb(0x2a4)][_0x152ebb(0x268)](q);return(_0x2301c0=(_0x51572a=_0x474229==null?void 0x0:_0x474229[_0x152ebb(0x2ea)])!=null?_0x51572a:_0x31b1df)!=null?_0x2301c0:In;}async[_0x1a3a6b(0x27b)](_0x1aa639,_0xf7e902){var _0x9851c4=_0x1a3a6b;const _0x936942=_0x9851c4(0x140)+_0xf7e902[_0x9851c4(0x284)]+_0x9851c4(0x17d)+_0xf7e902[_0x9851c4(0x19d)]+_0x9851c4(0xf5);return(await this['_httpService'][_0x9851c4(0x2f9)](_0x936942,{'params':{'resourceId':JSON[_0x9851c4(0x1d1)](_0xf7e902[_0x9851c4(0x1be)])}}))['body'];}['saveSnapshot'](){var _0x34ca49=_0x1a3a6b;throw new Error(_0x34ca49(0x2f5));}[_0x1a3a6b(0x292)](){var _0x328905=_0x1a3a6b;throw new Error(_0x328905(0x2f5));}[_0x1a3a6b(0x238)](){var _0x371c0e=_0x1a3a6b;throw new Error(_0x371c0e(0x2f5));}[_0x1a3a6b(0x254)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){var _0x301c8b=_0x1a3a6b;throw new Error(_0x301c8b(0x2f5));}};Dt=xs([li(0x0,_0x4107ea),li(0x1,_0x5eebc2(_0x5b5c45))],Dt);var Ls=Object[_0x1a3a6b(0x1fd)],Ms=Object['getOwnPropertyDescriptor'],$s=(_0x2630a9,_0x50fa1c,_0x9db50a,_0x47154e)=>{for(var _0x20c615=_0x47154e>0x1?void 0x0:_0x47154e?Ms(_0x50fa1c,_0x9db50a):_0x50fa1c,_0x23340f=_0x2630a9['length']-0x1,_0x2010f5;_0x23340f>=0x0;_0x23340f--)(_0x2010f5=_0x2630a9[_0x23340f])&&(_0x20c615=(_0x47154e?_0x2010f5(_0x50fa1c,_0x9db50a,_0x20c615):_0x2010f5(_0x20c615))||_0x20c615);return _0x47154e&&_0x20c615&&Ls(_0x50fa1c,_0x9db50a,_0x20c615),_0x20c615;},Ae=(_0xe3d98d,_0x2a054d)=>(_0x477127,_0x3d9378)=>_0x2a054d(_0x477127,_0x3d9378,_0xe3d98d);let Pt=class extends _0x97a08e{constructor(_0x2e8fce,_0x1604cf,_0x339db3,_0xdd9877,_0x296ad6){var _0x91c55a=_0x1a3a6b;super(_0x2e8fce,_0x1604cf,_0x339db3),this[_0x91c55a(0x286)]=_0xdd9877,this[_0x91c55a(0x2d8)]=_0x296ad6;}['transformUndoRedo'](_0x584381,_0x53e000){var _0x3d251b=_0x1a3a6b;const _0x259184=this[_0x3d251b(0x1f2)](_0x584381);if(_0x259184)try{const _0x41af5d=this[_0x3d251b(0x32e)](_0x259184,_0x53e000);this['_substituteUndoStack'](_0x584381,_0x41af5d);}catch(_0x20af44){this['_logService'][_0x3d251b(0x362)](_0x3d251b(0x1bb),_0x20af44),this[_0x3d251b(0x304)](_0x584381);}const _0x5b90aa=this['_getRedoStack'](_0x584381);if(_0x5b90aa)try{const _0x12dfa1=this[_0x3d251b(0x32e)](_0x5b90aa,_0x53e000);this[_0x3d251b(0x2de)](_0x584381,_0x12dfa1);}catch(_0x11e3ee){this[_0x3d251b(0x2d8)][_0x3d251b(0x362)](_0x11e3ee),this['_clearRedo'](_0x584381);}}[_0x1a3a6b(0x304)](_0x3114b8){const _0x13d641=this['_getUndoStack'](_0x3114b8);_0x13d641&&(_0x13d641['length']=0x0,this['_updateStatus']());}[_0x1a3a6b(0x156)](_0x3a795f){var _0x68fdb7=_0x1a3a6b;const _0x36b099=this[_0x68fdb7(0x296)](_0x3a795f);_0x36b099&&(_0x36b099[_0x68fdb7(0x23f)]=0x0,this[_0x68fdb7(0x18a)]());}[_0x1a3a6b(0x1b4)](_0x5847fc,_0x560197){var _0x1f2aa0=_0x1a3a6b;this[_0x1f2aa0(0x19c)][_0x1f2aa0(0x389)](_0x5847fc,_0x560197),this['_updateStatus']();}[_0x1a3a6b(0x2de)](_0x3235c8,_0x3abcf7){var _0x53be26=_0x1a3a6b;this[_0x53be26(0x1ef)][_0x53be26(0x389)](_0x3235c8,_0x3abcf7),this[_0x53be26(0x18a)]();}['_transformStack'](_0x156b43,_0x5e5eba){var _0x57c23f=_0x1a3a6b;const _0x1b78a4=[];let _0x15c0be=_0x5e5eba,_0x46ceca=_0x5e5eba;for(let _0x51d383=_0x156b43[_0x57c23f(0x23f)]-0x1;_0x51d383>=0x0;_0x51d383--){const {unitID:_0x2d7f4a,undoMutations:_0x1b0c36,redoMutations:_0x2fece3}=_0x156b43[_0x51d383],_0x4cdda1=this[_0x57c23f(0x286)][_0x57c23f(0x1de)](_0x15c0be,_0x1b0c36),_0x5332a9=this[_0x57c23f(0x286)][_0x57c23f(0x1de)](_0x46ceca,_0x2fece3);if(_0x1278d5(_0x4cdda1)||_0x1278d5(_0x5332a9)){this[_0x57c23f(0x2d8)]['error'](_0x57c23f(0x1bb),_0x57c23f(0x1f9),_0x4cdda1,_0x5332a9);break;}_0x15c0be=_0x4cdda1[_0x57c23f(0x1af)],_0x46ceca=_0x5332a9[_0x57c23f(0x1af)],_0x1b78a4['push']({'unitID':_0x2d7f4a,'undoMutations':_0x4cdda1[_0x57c23f(0x2dd)],'redoMutations':_0x5332a9[_0x57c23f(0x2dd)]});}return _0x1b78a4[_0x57c23f(0x27d)]();}};Pt=$s([Ae(0x0,_0x42a1e9),Ae(0x1,_0x572fdd),Ae(0x2,_0x27bf1f),Ae(0x3,_0x2b6404),Ae(0x4,_0x1ca28b)],Pt);var xi=Object['defineProperty'],Hs=Object[_0x1a3a6b(0xf3)],ks=(_0x3f8438,_0x4547fa,_0x15c1f7)=>_0x4547fa in _0x3f8438?xi(_0x3f8438,_0x4547fa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15c1f7}):_0x3f8438[_0x4547fa]=_0x15c1f7,js=(_0x1d649f,_0x41af3c,_0x52fb03,_0x45e276)=>{var _0x2ba309=_0x1a3a6b;for(var _0x44732d=_0x45e276>0x1?void 0x0:_0x45e276?Hs(_0x41af3c,_0x52fb03):_0x41af3c,_0x16f14f=_0x1d649f[_0x2ba309(0x23f)]-0x1,_0x3fe44b;_0x16f14f>=0x0;_0x16f14f--)(_0x3fe44b=_0x1d649f[_0x16f14f])&&(_0x44732d=(_0x45e276?_0x3fe44b(_0x41af3c,_0x52fb03,_0x44732d):_0x3fe44b(_0x44732d))||_0x44732d);return _0x45e276&&_0x44732d&&xi(_0x41af3c,_0x52fb03,_0x44732d),_0x44732d;},St=(_0x14ee65,_0x5750c0)=>(_0x484e71,_0x595a0e)=>_0x5750c0(_0x484e71,_0x595a0e,_0x14ee65),Bs=(_0x4cedf9,_0x1c8202,_0x5b0e59)=>ks(_0x4cedf9,_0x1c8202+'',_0x5b0e59);const Fs=_0x1a3a6b(0x287);let wt=class extends _0x154cbd{constructor(_0x564bef=Wt,_0x330b1c,_0x27d010,_0x46e313){var _0xc6d94d=_0x1a3a6b;super(),this['_config']=_0x564bef,this['_logService']=_0x330b1c,this[_0xc6d94d(0x353)]=_0x27d010,this[_0xc6d94d(0x2a4)]=_0x46e313;const {..._0x346107}=_0x3b3b7a({},Wt,this[_0xc6d94d(0x14f)]);this[_0xc6d94d(0x2a4)][_0xc6d94d(0x2f4)](q,_0x346107);}[_0x1a3a6b(0x391)](){var _0x11626b=_0x1a3a6b;this[_0x11626b(0x19f)](),this['_initDependencies']();}[_0x1a3a6b(0x19f)](){var _0x2cdfbf=_0x1a3a6b,_0x42abe3,_0x2d188a,_0x70ab4c,_0x9bddb6;this[_0x2cdfbf(0x353)][_0x2cdfbf(0x239)](_0x1ca1a7)&&this[_0x2cdfbf(0x2d8)][_0x2cdfbf(0x362)](_0x2cdfbf(0x132),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x5c3f37=_0x347440([[_0x1ca1a7,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x2d188a=(_0x42abe3=this[_0x2cdfbf(0x14f)])==null?void 0x0:_0x42abe3['socketService'])!=null?_0x2d188a:Et}],[_0x394c8c,{'useClass':Dt}],[_0x1226d2,{'useClass':bt}],[_0xb7d4df,{'useClass':yt}],[_0x145c7f,{'useClass':Nt}],[rt],[Rt]],(_0x70ab4c=this[_0x2cdfbf(0x14f)])==null?void 0x0:_0x70ab4c['override']);if(!((_0x9bddb6=this[_0x2cdfbf(0x14f)])!=null&&_0x9bddb6[_0x2cdfbf(0x303)])){const _0x282d5c=_0x5c3f37['findIndex'](([_0x3ba20a])=>_0x3ba20a===ht);_0x282d5c!==-0x1&&_0x5c3f37['splice'](_0x282d5c,0x1);}_0x2cd418(this[_0x2cdfbf(0x353)],_0x5c3f37);}[_0x1a3a6b(0xd1)](){var _0x21d9fa=_0x1a3a6b,_0x3e809f,_0x28ac4b,_0x13c3a5;this[_0x21d9fa(0x353)]['get'](_0x5b5c45)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x5294b3({'maxParallel':0x6})}),(_0x3e809f=this[_0x21d9fa(0x14f)])!=null&&_0x3e809f[_0x21d9fa(0x171)]||(_0x28ac4b=this[_0x21d9fa(0x353)][_0x21d9fa(0x2f9)](J,_0x29c645[_0x21d9fa(0x340)]))==null||_0x28ac4b['disableLocalCache'](),(_0x13c3a5=this[_0x21d9fa(0x14f)])!=null&&_0x13c3a5[_0x21d9fa(0xd6)]&&_0x324e2e(this[_0x21d9fa(0x353)],[[st]]),_0x324e2e(this[_0x21d9fa(0x353)],[[ot],[rt],[at]]);}};Bs(wt,_0x1a3a6b(0xb4),Fs),wt=js([_0x12a217(_0x1d7fdc,_0x29ba89,_0x1c49eb),St(0x1,_0x1ca28b),St(0x2,_0x5eebc2(_0x54e9ab)),St(0x3,_0x4107ea)],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 _0x49793d=_0x4bee;(function(_0x3daf98,_0x2dd885){var _0x3b05c7=_0x4bee,_0x126c85=_0x3daf98();while(!![]){try{var _0x28f9cb=parseInt(_0x3b05c7(0x228))/0x1*(-parseInt(_0x3b05c7(0x215))/0x2)+parseInt(_0x3b05c7(0x183))/0x3*(parseInt(_0x3b05c7(0x185))/0x4)+parseInt(_0x3b05c7(0x276))/0x5*(-parseInt(_0x3b05c7(0x265))/0x6)+parseInt(_0x3b05c7(0x407))/0x7*(-parseInt(_0x3b05c7(0x231))/0x8)+-parseInt(_0x3b05c7(0x140))/0x9+-parseInt(_0x3b05c7(0x14c))/0xa+parseInt(_0x3b05c7(0x2a4))/0xb;if(_0x28f9cb===_0x2dd885)break;else _0x126c85['push'](_0x126c85['shift']());}catch(_0x580290){_0x126c85['push'](_0x126c85['shift']());}}}(_0x429d,0xd84f2));var Li=Object['defineProperty'],Mi=(_0x3fe534,_0x744d75,_0x1b0e22)=>_0x744d75 in _0x3fe534?Li(_0x3fe534,_0x744d75,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b0e22}):_0x3fe534[_0x744d75]=_0x1b0e22,N=(_0x2f8dc8,_0x4b9704,_0x478bef)=>Mi(_0x2f8dc8,typeof _0x4b9704!=_0x49793d(0x3d8)?_0x4b9704+'':_0x4b9704,_0x478bef);import{createIdentifier as _0x2350c4,Inject as _0x385788,Injector as _0x5bf262,Disposable as _0x59e757,DisposableCollection as _0x1deeaf,toDisposable as _0x6eb0c8,IConfigService as _0x59c83a,ILogService as _0x1b7927,UserManagerService as _0x4937ef,UniverInstanceType as _0x3c00f5,IUniverInstanceService as _0x5d0af3,LocaleService as _0x3b0bbb,Optional as _0xd81374,RxDisposable as _0x366443,Tools as _0x335a02,Rectangle as _0x24778b,ICommandService as _0x2f1659,JSONX as _0x24175c,CommandType as _0x382451,IPermissionService as _0x45b29e,IUndoRedoService as _0x5583fc,sequenceExecute as _0xb7f461,Workbook as _0x265a32,MentionType as _0x2cc76c,IAuthzIoService as _0xffe8de,isInternalEditorID as _0x2276d0,LocalUndoRedoService as _0x244888,IContextService as _0x5477ff,DependentOn as _0x2aa712,Plugin as _0x1f104c,merge as _0x1ece26,mergeOverrideWithDependencies as _0x17a839,IMentionIOService as _0x5dc5e0,registerDependencies as _0xed180e,Quantity as _0xe9384,touchDependencies as _0x27b24c}from'@univerjs/core';import{Subject as _0x2e441e,merge as _0x504d97,of as _0x816256,BehaviorSubject as _0x2c2109,takeUntil as _0x102d9c,ReplaySubject as _0x41cacf,take as _0x11ee62,map as _0x3c8f3c,shareReplay as _0x5f474d,firstValueFrom as _0x3a12b2,concatMap as _0x356c71}from'rxjs';import{map as _0x5c5618,take as _0xf039c5,filter as _0x21e0ae,delay as _0x4bdc25,takeUntil as _0x14de08}from'rxjs/operators';import{HTTPService as _0x140e67,ISocketService as _0x51fd13,MergeInterceptorFactory as _0x1d936c,HTTPRequest as _0x13d768,UniverNetworkPlugin as _0x4065f4,ThresholdInterceptorFactory as _0x60dc94}from'@univerjs/network';import{CollaborationEvent as _0x4e3835,parseChangesetToProtocol as _0x22ee42,ISnapshotServerService as _0x3bef3d,isTransformMutationsWithChangesetSuccess as _0x455619,ITransformService as _0x36f829,mapDocumentTypeToUniverType as _0x43649d,RevisionService as _0x152bc0,isTransformChangesetsSuccess as _0x1af738,CompressMutationService as _0x5631f9,parseProtocolChangeset as _0x2f89bd,SnapshotService as _0x41462f,textEncoder as _0x27fb90,b64DecodeUnicode as _0x15a9fd,isTransformMutationsWithChangesetFailure as _0x52d160,UniverCollaborationPlugin as _0x2d2bbe}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x180871}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x5521ba}from'@univerjs/docs';import{SheetsSelectionsService as _0x1f79cd,SetSelectionsOperation as _0x9a15cb,InsertSheetMutation as _0x58e021,EmptyMutation as _0xcf1ae9,WorkbookEditablePermission as _0xd4a4bb,SheetPermissionInitController as _0x3a52e1,UniverSheetsPlugin as _0x2f5c70}from'@univerjs/sheets';import{ImageSourceType as _0x1b2324,ImageUploadStatusType as _0x172a02,IImageIoService as _0x4a8339}from'@univerjs/drawing';import{getGlobalObject as _0x3c65aa}from'@univerjs-pro/license';const En=_0x49793d(0x251),In=_0x49793d(0x1c0),Tn=_0x49793d(0x38c),eo='SEND_CHANGESET_TIMEOUT',Cn=0x7d0,Rn='COLLAB_WEB_SOCKET_URL',bn=_0x49793d(0x3d9),On=_0x49793d(0x363),yn='HEARTBEAT_INTERVAL',Nn=0x7530,Si=_0x49793d(0x2e2),Ei=0x4e20,Dn=0x4e20,Pn=_0x49793d(0x311),wn=0x3,to=_0x49793d(0x3ac),io=0x3e8,Un='COLLAB_SUBMIT_CHANGESET_URL',An=_0x49793d(0x1aa),xn='LOGIN_URL_KEY',Ln=_0x49793d(0x22c),no=_0x49793d(0x249),ro=_0x49793d(0x264);var Ii=(_0x4b7d8c=>(_0x4b7d8c[_0x4b7d8c[_0x49793d(0x2bf)]=0x0]=_0x49793d(0x2bf),_0x4b7d8c[_0x4b7d8c['OK']=0x1]='OK',_0x4b7d8c[_0x4b7d8c['INTERNAL_ERROR']=0x2]=_0x49793d(0x2ee),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x336)]=0x3]=_0x49793d(0x336),_0x4b7d8c[_0x4b7d8c['NOT_FOUND']=0x4]=_0x49793d(0x34f),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x375)]=0x5]=_0x49793d(0x375),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x16d)]=0x6]=_0x49793d(0x16d),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x12c)]=0x7]=_0x49793d(0x12c),_0x4b7d8c[_0x4b7d8c['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x4b7d8c[_0x4b7d8c[_0x49793d(0x1c2)]=0x9]=_0x49793d(0x1c2),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x2a2)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4b7d8c[_0x4b7d8c['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x49793d(0x159),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x379)]=0x1772]=_0x49793d(0x379),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x266)]=0x1773]=_0x49793d(0x266),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x295)]=0x1b59]=_0x49793d(0x295),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x1a0)]=0x1b5a]=_0x49793d(0x1a0),_0x4b7d8c[_0x4b7d8c['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x49793d(0x208),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x2e0)]=0x1b5c]=_0x49793d(0x2e0),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x415)]=0x1b5d]='APPLY_DUPLICATED',_0x4b7d8c[_0x4b7d8c[_0x49793d(0x376)]=0x1f41]=_0x49793d(0x376),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x346)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4b7d8c[_0x4b7d8c['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x49793d(0x2df),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x35d)]=0x232b]=_0x49793d(0x35d),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x3e8)]=0x232c]=_0x49793d(0x3e8),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x309)]=0x232d]=_0x49793d(0x309),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x361)]=0x2711]=_0x49793d(0x361),_0x4b7d8c[_0x4b7d8c['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x49793d(0x1de),_0x4b7d8c[_0x4b7d8c['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x49793d(0x339),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x191)]=0x2714]=_0x49793d(0x191),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x254)]=0x2af9]=_0x49793d(0x254),_0x4b7d8c[_0x4b7d8c[_0x49793d(0x2be)]=-0x1]=_0x49793d(0x2be),_0x4b7d8c))(Ii||{}),Q=(_0x3e4479=>(_0x3e4479[_0x3e4479[_0x49793d(0x36c)]=0x0]=_0x49793d(0x36c),_0x3e4479[_0x3e4479[_0x49793d(0x281)]=0x1]=_0x49793d(0x281),_0x3e4479[_0x3e4479[_0x49793d(0x305)]=0x2]=_0x49793d(0x305),_0x3e4479[_0x3e4479[_0x49793d(0x2f9)]=0x3]=_0x49793d(0x2f9),_0x3e4479[_0x3e4479['UNIVER_PROJECT']=0x4]=_0x49793d(0x28a),_0x3e4479[_0x3e4479[_0x49793d(0x2be)]=-0x1]=_0x49793d(0x2be),_0x3e4479))(Q||{}),F=(_0x2052f1=>(_0x2052f1[_0x2052f1[_0x49793d(0x19b)]=0x0]=_0x49793d(0x19b),_0x2052f1[_0x2052f1[_0x49793d(0x1d1)]=0x1]=_0x49793d(0x1d1),_0x2052f1[_0x2052f1[_0x49793d(0x280)]=0x2]='JOIN',_0x2052f1[_0x2052f1[_0x49793d(0x2b1)]=0x3]=_0x49793d(0x2b1),_0x2052f1[_0x2052f1[_0x49793d(0x366)]=0x4]=_0x49793d(0x366),_0x2052f1[_0x2052f1[_0x49793d(0x224)]=0x5]='HEARTBEAT',_0x2052f1[_0x2052f1[_0x49793d(0x1ac)]=0x6]=_0x49793d(0x1ac),_0x2052f1[_0x2052f1['UNRECOGNIZED']=-0x1]=_0x49793d(0x2be),_0x2052f1))(F||{}),Ee=(_0x64bb8e=>(_0x64bb8e[_0x64bb8e['UNKNOWN_CODE']=0x0]=_0x49793d(0x17f),_0x64bb8e[_0x64bb8e['OK']=0x1]='OK',_0x64bb8e[_0x64bb8e[_0x49793d(0x417)]=0x2]='FAIL',_0x64bb8e[_0x64bb8e[_0x49793d(0x35f)]=0x3e9]='JOIN_ROOM_FULL',_0x64bb8e[_0x64bb8e[_0x49793d(0x250)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x64bb8e[_0x64bb8e[_0x49793d(0x22e)]=0x3eb]=_0x49793d(0x22e),_0x64bb8e[_0x64bb8e[_0x49793d(0x24d)]=0x3ec]=_0x49793d(0x24d),_0x64bb8e[_0x64bb8e['UNRECOGNIZED']=-0x1]=_0x49793d(0x2be),_0x64bb8e))(Ee||{}),Ti=(_0x5b7eeb=>(_0x5b7eeb[_0x5b7eeb['Undefined']=0x0]=_0x49793d(0x245),_0x5b7eeb[_0x5b7eeb['HttpImport']=0x1]=_0x49793d(0x331),_0x5b7eeb[_0x5b7eeb['HttpExport']=0x2]='HttpExport',_0x5b7eeb[_0x5b7eeb['UnitEmbedded']=0x3]='UnitEmbedded',_0x5b7eeb[_0x5b7eeb[_0x49793d(0x40f)]=0x4]=_0x49793d(0x40f),_0x5b7eeb[_0x5b7eeb[_0x49793d(0x2be)]=-0x1]=_0x49793d(0x2be),_0x5b7eeb))(Ti||{});const q=_0x49793d(0x1a2),Wt={};var se=(_0x367584=>(_0x367584[_0x49793d(0x3c6)]='OTHER_CLIENT_EDITING',_0x367584[_0x49793d(0x336)]=_0x49793d(0x336),_0x367584[_0x49793d(0x294)]='CONFLICT',_0x367584[_0x49793d(0x2cc)]=_0x49793d(0x2cc),_0x367584['JOIN_ROOM_FAILED']=_0x49793d(0x221),_0x367584[_0x49793d(0x29a)]=_0x49793d(0x29a),_0x367584['SOCKET_FAILED']=_0x49793d(0x246),_0x367584[_0x49793d(0x124)]='SUBMIT_CHANGESET_TIMEOUT',_0x367584))(se||{});class pe{constructor(){var _0x1b5c4b=_0x49793d;N(this,_0x1b5c4b(0x3f0),new _0x2e441e()),N(this,_0x1b5c4b(0x2aa),this[_0x1b5c4b(0x3f0)]['asObservable']());}['emitEvent'](_0x77845e){var _0x382815=_0x49793d;this[_0x382815(0x3f0)]['next'](_0x77845e);}}const Mn=_0x2350c4(_0x49793d(0x355));function $n(_0x4a7cba){var _0xb00945=_0x49793d,_0x4a3d49,_0x280374,_0x3ccab8,_0x21dff4,_0x49d8d4;const _0x31e06b=_0x4a7cba[_0xb00945(0x31b)],_0x2ec465=JSON[_0xb00945(0x188)](_0x31e06b);switch(_0x2ec465[_0xb00945(0x3ed)]){case F['HEARTBEAT']:case F['HELLO']:{const _0x2f8df2=_0x2ec465[_0xb00945(0x1a1)];return{..._0x2ec465,'data':_0x2f8df2,'cmd':_0x2ec465['cmd']};}case F['JOIN']:{const _0x182191=_0x2ec465[_0xb00945(0x227)];return{..._0x2ec465,'data':_0x182191,'cmd':_0x2ec465[_0xb00945(0x3ed)]};}case F[_0xb00945(0x1ac)]:{const _0xc529ad=_0x2ec465[_0xb00945(0x144)];switch(_0xc529ad[_0xb00945(0x289)]){case _0x4e3835[_0xb00945(0x389)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':(_0x4a3d49=_0xc529ad['permissionRejEvent'])==null?void 0x0:_0x4a3d49['cs']},'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835[_0xb00945(0x378)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':(_0x280374=_0xc529ad['csAckEvent'])==null?void 0x0:_0x280374['cs']},'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835['NEW_CHANGESETS']:return{..._0x2ec465,'data':{..._0xc529ad,'data':(_0x3ccab8=_0xc529ad[_0xb00945(0x26c)])==null?void 0x0:_0x3ccab8['cs']},'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835[_0xb00945(0x252)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':(_0x21dff4=_0xc529ad[_0xb00945(0x2d2)])==null?void 0x0:_0x21dff4['cs']},'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835[_0xb00945(0x2ed)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':(_0x49d8d4=_0xc529ad[_0xb00945(0x150)])==null?void 0x0:_0x49d8d4['cs']},'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835[_0xb00945(0x3d6)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':_0xc529ad[_0xb00945(0x33b)]},'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835[_0xb00945(0x1a5)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':_0xc529ad[_0xb00945(0x1bf)]},'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835[_0xb00945(0x11a)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':_0xc529ad[_0xb00945(0x416)]},'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835[_0xb00945(0x418)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':_0xc529ad[_0xb00945(0x2b3)]},'cmd':_0x2ec465['cmd']};case _0x4e3835[_0xb00945(0x30d)]:case _0x4e3835[_0xb00945(0x1f8)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':_0xc529ad[_0xb00945(0x219)]},'cmd':_0x2ec465['cmd']};case _0x4e3835[_0xb00945(0x20d)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':_0xc529ad[_0xb00945(0x2b3)]},'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835[_0xb00945(0x38e)]:return{..._0x2ec465,'data':_0xc529ad,'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835[_0xb00945(0x1c9)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':_0xc529ad[_0xb00945(0x130)]},'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835[_0xb00945(0x402)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':_0xc529ad[_0xb00945(0x2b5)]},'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835['SHOULD_CLOSE_CONN']:return{..._0x2ec465,'data':{..._0xc529ad,'data':_0xc529ad[_0xb00945(0x335)]},'cmd':_0x2ec465[_0xb00945(0x3ed)]};case _0x4e3835[_0xb00945(0x344)]:return{..._0x2ec465,'data':{..._0xc529ad,'data':_0xc529ad['uniscriptRunEvent']},'cmd':_0x2ec465[_0xb00945(0x3ed)]};default:return _0x2ec465;}}default:return _0x2ec465;}}function Hn(_0x25791e){var _0x3594aa=_0x49793d;switch(_0x25791e['cmd']){case F[_0x3594aa(0x224)]:case F[_0x3594aa(0x1d1)]:return JSON[_0x3594aa(0x142)]({'cmd':_0x25791e[_0x3594aa(0x3ed)],'routeKey':_0x25791e[_0x3594aa(0x119)]});case F[_0x3594aa(0x366)]:{let _0x4690d6;switch(_0x25791e[_0x3594aa(0x31b)][_0x3594aa(0x289)]){case _0x4e3835[_0x3594aa(0x3d6)]:{_0x4690d6={'eventID':_0x4e3835['UPDATE_CURSOR'],'updateCursorEvent':_0x25791e[_0x3594aa(0x31b)][_0x3594aa(0x31b)]};break;}case _0x4e3835[_0x3594aa(0x11a)]:{_0x4690d6={'eventID':_0x4e3835[_0x3594aa(0x11a)],'leaveEvent':_0x25791e[_0x3594aa(0x31b)][_0x3594aa(0x31b)]};break;}case _0x4e3835[_0x3594aa(0x1a5)]:{_0x4690d6={'eventID':_0x4e3835[_0x3594aa(0x1a5)],'joinEvent':_0x25791e[_0x3594aa(0x31b)][_0x3594aa(0x31b)]};break;}case _0x4e3835[_0x3594aa(0x418)]:{_0x4690d6={'eventID':_0x4e3835[_0x3594aa(0x418)],'liveShareNewHost':_0x25791e[_0x3594aa(0x31b)]['data']};break;}case _0x4e3835[_0x3594aa(0x1f8)]:{_0x4690d6={'eventID':_0x4e3835[_0x3594aa(0x1f8)],'liveShareOperation':_0x25791e[_0x3594aa(0x31b)][_0x3594aa(0x31b)]};break;}case _0x4e3835[_0x3594aa(0x20d)]:{_0x4690d6={'eventID':_0x4e3835[_0x3594aa(0x20d)],'liveShareTerminate':_0x25791e[_0x3594aa(0x31b)]['data']};break;}case _0x4e3835['LIVESHARE_REQUEST_HOST']:{_0x4690d6={'eventID':_0x4e3835[_0x3594aa(0x24f)],'liveShareRequestHost':_0x25791e[_0x3594aa(0x31b)][_0x3594aa(0x31b)]};break;}case _0x4e3835[_0x3594aa(0x30d)]:{_0x4690d6={'eventID':_0x4e3835[_0x3594aa(0x30d)]};break;}default:_0x4690d6={'eventID':_0x25791e[_0x3594aa(0x31b)]['eventID']};}return JSON[_0x3594aa(0x142)]({'cmd':_0x25791e['cmd'],'routeKey':_0x25791e['routeKey'],'collaMsg':_0x4690d6});}case F['JOIN']:return JSON[_0x3594aa(0x142)]({'cmd':_0x25791e['cmd'],'routeKey':_0x25791e[_0x3594aa(0x119)],'joinReq':_0x25791e[_0x3594aa(0x31b)]});case F[_0x3594aa(0x2b1)]:return JSON[_0x3594aa(0x142)]({'cmd':_0x25791e[_0x3594aa(0x3ed)],'routeKey':_0x25791e[_0x3594aa(0x119)],'leaveReq':_0x25791e[_0x3594aa(0x31b)]});default:throw new Error(_0x3594aa(0x413));}}var kn=Object[_0x49793d(0x2b7)],jn=Object['getOwnPropertyDescriptor'],Bn=(_0x222842,_0x4710a1,_0x1f4fe8,_0x32b0e5)=>{for(var _0x34ecb8=_0x32b0e5>0x1?void 0x0:_0x32b0e5?jn(_0x4710a1,_0x1f4fe8):_0x4710a1,_0x280b8a=_0x222842['length']-0x1,_0xc8e2db;_0x280b8a>=0x0;_0x280b8a--)(_0xc8e2db=_0x222842[_0x280b8a])&&(_0x34ecb8=(_0x32b0e5?_0xc8e2db(_0x4710a1,_0x1f4fe8,_0x34ecb8):_0xc8e2db(_0x34ecb8))||_0x34ecb8);return _0x32b0e5&&_0x34ecb8&&kn(_0x4710a1,_0x1f4fe8,_0x34ecb8),_0x34ecb8;},Ue=(_0x5f261b,_0x2d599f)=>(_0x431208,_0x3050bd)=>_0x2d599f(_0x431208,_0x3050bd,_0x5f261b);const Ci=_0x2350c4(_0x49793d(0x3e4));function Fn(_0x5aab9f,_0x1bb11d,_0xec05fa){var _0x12c566=_0x49793d;return _0x5aab9f+'/'+_0x1bb11d+_0x12c566(0x337)+_0xec05fa+_0x12c566(0x2dd);}let Et=class extends _0x59e757{constructor(_0xf223a2,_0x29c186,_0x1de5a7,_0x3a69e1,_0x6099bc){var _0x59ff82=_0x49793d;super(),this[_0x59ff82(0x20f)]=_0xf223a2,this[_0x59ff82(0x181)]=_0x29c186,this['_configService']=_0x1de5a7,this[_0x59ff82(0x172)]=_0x3a69e1,this[_0x59ff82(0x128)]=_0x6099bc;}[_0x49793d(0x352)](_0x340900){var _0x2a6be9=_0x49793d;const _0x2a91d3=this[_0x2a6be9(0x20f)][_0x2a6be9(0x2c8)](_0x51fd13);if(!_0x2a91d3)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x214779=_0x2a91d3['createSocket'](_0x340900);if(!_0x214779)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x12abbf=new _0x1deeaf(),_0x2c1291=new _0x2e441e();_0x12abbf['add'](_0x214779[_0x2a6be9(0x146)][_0x2a6be9(0x405)](_0x176502=>_0x2c1291[_0x2a6be9(0x33d)](_0x176502))),_0x12abbf['add'](_0x6eb0c8(()=>_0x2c1291[_0x2a6be9(0x1bb)]()));const _0x15d8e3=new _0x2e441e();_0x12abbf[_0x2a6be9(0x243)](_0x214779[_0x2a6be9(0x38b)][_0x2a6be9(0x405)](_0x2909ae=>_0x15d8e3[_0x2a6be9(0x33d)](_0x2909ae))),_0x12abbf[_0x2a6be9(0x243)](_0x6eb0c8(()=>_0x15d8e3[_0x2a6be9(0x1bb)]()));const _0x1cd7f3=new _0x2e441e();_0x12abbf[_0x2a6be9(0x243)](_0x214779['message$'][_0x2a6be9(0x405)](_0x1bf5b2=>{var _0x2b9e46=_0x2a6be9;const _0x45e220=$n(_0x1bf5b2);_0x1cd7f3[_0x2b9e46(0x33d)](_0x45e220);})),_0x12abbf['add'](_0x6eb0c8(()=>_0x1cd7f3[_0x2a6be9(0x1bb)]()));let _0x3b40f5;const _0x151fb2=()=>{var _0x55e065=_0x2a6be9;_0x15d8e3['next'](new Event(_0x55e065(0x2f1))),_0x2c1291['next'](new CloseEvent(_0x55e065(0x2f1))),_0x3b40f5[_0x55e065(0x387)]();};return _0x3b40f5={'memberID':'','close$':_0x2c1291[_0x2a6be9(0x1c6)](),'error$':_0x15d8e3[_0x2a6be9(0x1c6)](),'open$':_0x214779[_0x2a6be9(0x380)],'message$':_0x1cd7f3[_0x2a6be9(0x1c6)](),'send':_0x4e92af=>{var _0xc94380=_0x2a6be9;if(_0x4e92af[_0xc94380(0x3ed)]===F[_0xc94380(0x366)]){if(_0x4e92af[_0xc94380(0x31b)][_0xc94380(0x289)]===_0x4e3835[_0xc94380(0x1ea)]){this[_0xc94380(0x2eb)](_0x3b40f5,_0x4e92af['data'])['catch'](_0x114dbd=>{var _0x48635d=_0xc94380;this[_0x48635d(0x172)][_0x48635d(0x2a6)](_0x114dbd),_0x151fb2();});return;}if(_0x4e92af[_0xc94380(0x31b)][_0xc94380(0x289)]===_0x4e3835[_0xc94380(0x153)]){const _0x3c8120=_0x4e92af[_0xc94380(0x31b)];this[_0xc94380(0x2f0)](_0x3c8120)[_0xc94380(0x1b0)](_0x56c830=>{var _0x43fcb3=_0xc94380;_0x1cd7f3[_0x43fcb3(0x33d)]({'cmd':F['RECV'],'code':Ee['OK'],'routeKey':_0x3c8120['data'][_0x43fcb3(0x13e)],'routeType':'','data':{'eventID':_0x4e3835[_0x43fcb3(0x37b)],'data':{'changesets':_0x56c830}}});})[_0xc94380(0x1ae)](_0x21fc80=>{var _0x359a06=_0xc94380;this[_0x359a06(0x172)][_0x359a06(0x2a6)](_0x21fc80),_0x151fb2();});return;}}_0x214779['send'](Hn(_0x4e92af));},'close':()=>{var _0x4fb842=_0x2a6be9;_0x214779[_0x4fb842(0x387)](),_0x12abbf[_0x4fb842(0x28c)]();}},_0x3b40f5;}async[_0x49793d(0x2eb)](_0x103ba4,_0x48aec9){var _0x49d57f=_0x49793d,_0x3b57c5,_0x258a6b;const {unitType:_0x499141,unitID:_0x1af25e,changeset:_0x425deb}=_0x48aec9[_0x49d57f(0x31b)],_0x23cb82={'unitID':_0x1af25e,'memberID':_0x103ba4['memberID'],'type':_0x499141,'changeset':_0x22ee42(_0x425deb)},_0xac7e7f=this[_0x49d57f(0x3dd)][_0x49d57f(0x27a)](Un),_0x339043=this[_0x49d57f(0x3dd)][_0x49d57f(0x27a)](q),_0x258749=Fn((_0x258a6b=(_0x3b57c5=_0x339043==null?void 0x0:_0x339043[_0x49d57f(0x3a9)])!=null?_0x3b57c5:_0xac7e7f)!=null?_0x258a6b:An,_0x499141,_0x1af25e);try{await this[_0x49d57f(0x181)][_0x49d57f(0x1a7)](_0x258749,{'body':_0x23cb82});}catch(_0x224244){throw this[_0x49d57f(0x172)][_0x49d57f(0x2a6)]('[CollaborationSession]',_0x49d57f(0x255)),_0x224244;}}async[_0x49793d(0x2f0)](_0x1e23cc){var _0x4674c8=_0x49793d;const {unitID:_0x21df56,from:_0x4372e9,to:_0x2fbdab,unitType:_0x590fd2}=_0x1e23cc[_0x4674c8(0x31b)];return(await this[_0x4674c8(0x128)][_0x4674c8(0x152)]({'metadata':void 0x0},{'unitID':_0x21df56,'type':_0x590fd2,'from':_0x4372e9,'to':_0x2fbdab}))[_0x4674c8(0x360)];}};Et=Bn([Ue(0x0,_0x385788(_0x5bf262)),Ue(0x1,_0x385788(_0x140e67)),Ue(0x2,_0x59c83a),Ue(0x3,_0x1b7927),Ue(0x4,_0x3bef3d)],Et);const Vn=_0x49793d(0x213);function Gn(_0x421ad1){var _0xce7a3a=_0x49793d;return JSON[_0xce7a3a(0x142)](_0x421ad1)['length'];}class Ri{constructor(){var _0x161a5f=_0x49793d;N(this,_0x161a5f(0x3c1),new _0x2e441e()),N(this,_0x161a5f(0x1db),this[_0x161a5f(0x3c1)][_0x161a5f(0x1c6)]());}['onCommentUpdate'](_0x588779){var _0x3ced36=_0x49793d;this['_commentUpdate$'][_0x3ced36(0x33d)](_0x588779);}}var Wn=Object[_0x49793d(0x2b7)],Kn=Object[_0x49793d(0x2fc)],Yn=(_0x347284,_0x5ac4c2,_0x26dee1,_0x3f7b81)=>{var _0x409164=_0x49793d;for(var _0x1a12b7=_0x3f7b81>0x1?void 0x0:_0x3f7b81?Kn(_0x5ac4c2,_0x26dee1):_0x5ac4c2,_0x4f96e1=_0x347284[_0x409164(0x12f)]-0x1,_0x14a4b4;_0x4f96e1>=0x0;_0x4f96e1--)(_0x14a4b4=_0x347284[_0x4f96e1])&&(_0x1a12b7=(_0x3f7b81?_0x14a4b4(_0x5ac4c2,_0x26dee1,_0x1a12b7):_0x14a4b4(_0x1a12b7))||_0x1a12b7);return _0x3f7b81&&_0x1a12b7&&Wn(_0x5ac4c2,_0x26dee1,_0x1a12b7),_0x1a12b7;},Kt=(_0x1d250e,_0x501929)=>(_0x192d00,_0x1e1f9c)=>_0x501929(_0x192d00,_0x1e1f9c,_0x1d250e);let xe=class extends _0x59e757{constructor(_0x493bdf,_0x496c5f){var _0x41d9dd=_0x49793d;super(),N(this,_0x41d9dd(0x3d0),new Map()),N(this,_0x41d9dd(0x3c5),new _0x2e441e()),(this['_univerInstanceService']=_0x493bdf,this['_userManagerService']=_0x496c5f,this['disposeWithMe'](_0x504d97(this[_0x41d9dd(0x3fa)][_0x41d9dd(0x15a)](_0x3c00f5[_0x41d9dd(0x305)])[_0x41d9dd(0x357)](_0x5c5618(_0x2e89b7=>_0x2e89b7[_0x41d9dd(0x25c)]())),this[_0x41d9dd(0x3fa)]['getTypeOfUnitDisposed$'](_0x3c00f5['UNIVER_DOC'])['pipe'](_0x5c5618(_0x1e2b92=>_0x1e2b92[_0x41d9dd(0x25c)]())),this[_0x41d9dd(0x3fa)][_0x41d9dd(0x15a)](_0x3c00f5[_0x41d9dd(0x2f9)])['pipe'](_0x5c5618(_0x29c2e9=>_0x29c2e9['getUnitId']())))['subscribe'](_0x28e347=>this[_0x41d9dd(0x2de)](_0x28e347))));}[_0x49793d(0x2bd)](_0x40526){var _0x1c1e63=_0x49793d;return this[_0x1c1e63(0x3d0)][_0x1c1e63(0x408)](_0x40526)?_0x816256(this['_roomMembers'][_0x1c1e63(0x2c8)](_0x40526)):this['_roomCreated$'][_0x1c1e63(0x357)](_0x5c5618(_0x1c9425=>{var _0x3f5dfa=_0x1c1e63;if(_0x1c9425===_0x40526)return this[_0x3f5dfa(0x3d0)]['get'](_0x1c9425);}));}[_0x49793d(0x13c)](_0x20550c){var _0x11c07e=_0x49793d;this[_0x11c07e(0x262)][_0x11c07e(0x13c)](_0x20550c);}[_0x49793d(0x3fc)](){var _0x1098f9=_0x49793d;return this['_userManagerService'][_0x1098f9(0x3fc)]();}[_0x49793d(0x1eb)](_0x466eed,_0x3503f7){var _0x4313f2=_0x49793d;let _0x55caea=this[_0x4313f2(0x3d0)][_0x4313f2(0x2c8)](_0x466eed);_0x55caea||(_0x55caea=new qn(),this[_0x4313f2(0x3d0)][_0x4313f2(0x12e)](_0x466eed,_0x55caea),this[_0x4313f2(0x3c5)]['next'](_0x466eed)),_0x55caea[_0x4313f2(0x1eb)](_0x3503f7);}[_0x49793d(0x15d)](_0x48172e,_0x240662){var _0x3a0e17=_0x49793d;const _0x18f9e0=this[_0x3a0e17(0x3d0)][_0x3a0e17(0x2c8)](_0x48172e);_0x18f9e0&&_0x18f9e0[_0x3a0e17(0x15d)](_0x240662);}[_0x49793d(0x291)](_0x9bfa55){var _0x2117e7=_0x49793d;return this[_0x2117e7(0x3d0)][_0x2117e7(0x2c8)](_0x9bfa55);}[_0x49793d(0x141)](_0x2cb80d,_0x2bdd82){var _0x473cb7=_0x49793d;const _0x1c4cd9=this['_roomMembers'][_0x473cb7(0x2c8)](_0x2cb80d);if(_0x1c4cd9)return _0x1c4cd9[_0x473cb7(0x141)](_0x2bdd82);}[_0x49793d(0x2de)](_0x1a7754){var _0x2dc576=_0x49793d;const _0x95ce22=this[_0x2dc576(0x3d0)][_0x2dc576(0x2c8)](_0x1a7754);_0x95ce22&&(_0x95ce22[_0x2dc576(0x28c)](),this[_0x2dc576(0x3d0)]['delete'](_0x1a7754));}[_0x49793d(0x28c)](){var _0x532204=_0x49793d;this[_0x532204(0x3d0)][_0x532204(0x193)](_0x36cff2=>_0x36cff2[_0x532204(0x28c)]()),this[_0x532204(0x3d0)]['clear'](),this[_0x532204(0x3c5)][_0x532204(0x1bb)]();}};xe=Yn([Kt(0x0,_0x5d0af3),Kt(0x1,_0x385788(_0x4937ef))],xe);class qn extends _0x59e757{constructor(){var _0x2e09f2=_0x49793d;super(...arguments),N(this,_0x2e09f2(0x143),new Map()),N(this,'_members$',new _0x2c2109(this[_0x2e09f2(0x143)])),N(this,_0x2e09f2(0x320),this['_members$']['asObservable']());}['dispose'](){var _0xf32ec8=_0x49793d;this['_members'][_0xf32ec8(0x406)]();}['updateMember'](_0x28a48e){var _0x2d10ff=_0x49793d;this[_0x2d10ff(0x143)][_0x2d10ff(0x12e)](_0x28a48e[_0x2d10ff(0x3a2)],_0x28a48e),this[_0x2d10ff(0x2ec)]();}[_0x49793d(0x15d)](_0x8a9e32){var _0x526c94=_0x49793d;this[_0x526c94(0x143)]['delete'](_0x8a9e32);}['getMember'](_0x18b13a){var _0x98e4cb=_0x49793d;return this[_0x98e4cb(0x143)][_0x98e4cb(0x2c8)](_0x18b13a);}[_0x49793d(0x1ba)](){var _0xf45531=_0x49793d;return Array['from'](this[_0xf45531(0x143)]['values']());}['_emitMembers'](){var _0x575e16=_0x49793d;this[_0x575e16(0x310)][_0x575e16(0x33d)](this[_0x575e16(0x143)]);}}var zn=Object[_0x49793d(0x2b7)],Jn=Object[_0x49793d(0x2fc)],Xn=(_0x4e19c7,_0x485871,_0x55ded5,_0x1680a5)=>{for(var _0x5560ce=_0x1680a5>0x1?void 0x0:_0x1680a5?Jn(_0x485871,_0x55ded5):_0x485871,_0xa32346=_0x4e19c7['length']-0x1,_0x869606;_0xa32346>=0x0;_0xa32346--)(_0x869606=_0x4e19c7[_0xa32346])&&(_0x5560ce=(_0x1680a5?_0x869606(_0x485871,_0x55ded5,_0x5560ce):_0x869606(_0x5560ce))||_0x5560ce);return _0x1680a5&&_0x5560ce&&zn(_0x485871,_0x55ded5,_0x5560ce),_0x5560ce;},me=(_0x493a8f,_0x1ffa3d)=>(_0x448ab1,_0x5e8853)=>_0x1ffa3d(_0x448ab1,_0x5e8853,_0x493a8f),Te=(_0x2d01d8=>(_0x2d01d8[_0x2d01d8[_0x49793d(0x384)]=0x0]=_0x49793d(0x384),_0x2d01d8[_0x2d01d8[_0x49793d(0x158)]=0x1]='JOINING',_0x2d01d8[_0x2d01d8['OFFLINE']=0x2]=_0x49793d(0x3fd),_0x2d01d8[_0x2d01d8[_0x49793d(0x17d)]=0x3]=_0x49793d(0x17d),_0x2d01d8))(Te||{});const Yt={[Ee['FAIL']]:_0x49793d(0x3cc),[Ee['JOIN_ROOM_FULL']]:_0x49793d(0x1ca),[Ee[_0x49793d(0x250)]]:_0x49793d(0x259),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[Ee[_0x49793d(0x24d)]]:_0x49793d(0x1a6)};let It=class extends _0x366443{constructor(_0x473f03,_0x40ace6,_0xee1c93,_0x12964d,_0x5f1b79,_0xe2d580,_0x10ffec,_0x380a1d,_0x18153a){var _0x16e728=_0x49793d;super(),N(this,_0x16e728(0x223),new _0x2c2109(0x0)),N(this,_0x16e728(0x148),this[_0x16e728(0x223)][_0x16e728(0x1c6)]()),N(this,'_event$',new _0x2e441e()),N(this,'event$',this[_0x16e728(0x3f0)]['asObservable']()),N(this,_0x16e728(0x308)),N(this,_0x16e728(0x3fb)),N(this,_0x16e728(0x1af)),N(this,_0x16e728(0x2c2),!0x1),N(this,_0x16e728(0x32e),null),(this[_0x16e728(0x241)]=_0x473f03,this[_0x16e728(0x172)]=_0xee1c93,this['_configService']=_0x12964d,this[_0x16e728(0x1f1)]=_0x5f1b79,this[_0x16e728(0x202)]=_0xe2d580,this[_0x16e728(0x395)]=_0x10ffec,this[_0x16e728(0x26e)]=_0x380a1d,this['_telemetryService']=_0x18153a,this['_shouldReportTelemetry']=!!this[_0x16e728(0x282)],_0x40ace6[_0x16e728(0x357)](_0x102d9c(this[_0x16e728(0x200)]))[_0x16e728(0x405)](_0x4558b5=>{var _0xb5d50f=_0x16e728,_0x1ff47f;typeof _0x4558b5>'u'||(this['_socket']=_0x4558b5,_0x4558b5?(this[_0xb5d50f(0x205)](_0x4558b5),this[_0xb5d50f(0x3fb)]=_0x4558b5[_0xb5d50f(0x3ec)]['subscribe'](_0x263515=>{var _0x12c66d=_0xb5d50f;_0x263515['routeKey']===this[_0x12c66d(0x241)]&&this[_0x12c66d(0x35e)](_0x263515);})):(this[_0xb5d50f(0x1ee)](),this['_sessionStatus$'][_0xb5d50f(0x33d)](0x2),(_0x1ff47f=this['_socketMessageSubscription'])==null||_0x1ff47f[_0xb5d50f(0x201)](),this['_socketMessageSubscription']=null));}));}get[_0x49793d(0x298)](){var _0x4156e9=_0x49793d;return this['_sessionStatus$'][_0x4156e9(0x394)]();}['getMemberID'](){var _0x22f4af=_0x49793d,_0x350eed,_0x4ec324;return(_0x4ec324=(_0x350eed=this[_0x22f4af(0x308)])==null?void 0x0:_0x350eed[_0x22f4af(0x3a2)])!=null?_0x4ec324:null;}['dispose'](){super['dispose'](),this['dispose$']['next'](),this['dispose$']['complete']();}[_0x49793d(0x387)](){var _0x334a38=_0x49793d,_0x333fcf,_0x22fa3c;this[_0x334a38(0x1ee)](),(_0x333fcf=this['_socket'])==null||_0x333fcf['send']({'cmd':F[_0x334a38(0x2b1)],'data':{'roomID':this['_unitID']}}),(_0x22fa3c=this[_0x334a38(0x308)])==null||_0x22fa3c[_0x334a38(0x387)](),this[_0x334a38(0x3f0)][_0x334a38(0x1bb)](),this[_0x334a38(0x223)][_0x334a38(0x1bb)](),this[_0x334a38(0x28c)]();}[_0x49793d(0x35e)](_0x5165b8){var _0x11345b=_0x49793d;_0x5165b8[_0x11345b(0x3ed)]===F[_0x11345b(0x280)]?this[_0x11345b(0x317)](_0x5165b8):_0x5165b8[_0x11345b(0x3ed)]===F[_0x11345b(0x1ac)]&&this[_0x11345b(0x2da)](_0x5165b8);}[_0x49793d(0x205)](_0x5da421){var _0x46c353=_0x49793d;this[_0x46c353(0x223)][_0x46c353(0x33d)](0x1),_0x5da421[_0x46c353(0x2b9)]({'cmd':F['JOIN'],'routeKey':this[_0x46c353(0x241)],'routeType':'','data':{'rooms':[{'roomID':this[_0x46c353(0x241)]}]}});}[_0x49793d(0x317)](_0x2002e8){var _0x2419ed=_0x49793d,_0x89019c;if(_0x2002e8['code']in Yt){this[_0x2419ed(0x26e)][_0x2419ed(0x3cf)]({'id':se[_0x2419ed(0x221)],'data':Yt[_0x2002e8[_0x2419ed(0x284)]]}),this[_0x2419ed(0x223)]['next'](0x2);return;}this[_0x2419ed(0x223)][_0x2419ed(0x33d)](0x3);const _0x3f85a9=(_0x89019c=_0x2002e8[_0x2419ed(0x31b)][_0x2419ed(0x1f0)][this[_0x2419ed(0x241)]])==null?void 0x0:_0x89019c[_0x2419ed(0x301)];_0x3f85a9&&_0x3f85a9[_0x2419ed(0x193)](_0x787c60=>this['_memberService'][_0x2419ed(0x1eb)](this[_0x2419ed(0x241)],_0x787c60));}['_onRecvEvent'](_0x21a1d1){var _0x551f8f=_0x49793d;try{const _0x3e246e=_0x21a1d1[_0x551f8f(0x31b)];switch(_0x3e246e['eventID']){case _0x4e3835[_0x551f8f(0x1a5)]:this[_0x551f8f(0x1a9)](_0x3e246e),this[_0x551f8f(0x3f0)][_0x551f8f(0x33d)](_0x3e246e);break;case _0x4e3835[_0x551f8f(0x11a)]:this[_0x551f8f(0x35a)](_0x3e246e),this[_0x551f8f(0x3f0)][_0x551f8f(0x33d)](_0x3e246e);break;case _0x4e3835[_0x551f8f(0x378)]:case _0x4e3835[_0x551f8f(0x2ed)]:this[_0x551f8f(0x2b8)](),this[_0x551f8f(0x155)](),this[_0x551f8f(0x3f0)][_0x551f8f(0x33d)](_0x3e246e);break;case _0x4e3835[_0x551f8f(0x38e)]:this[_0x551f8f(0x172)][_0x551f8f(0x2a6)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x551f8f(0x142)](_0x3e246e)),this['_event$'][_0x551f8f(0x33d)](_0x3e246e);break;case _0x4e3835['COMMENT_UPDATE']:this[_0x551f8f(0x395)]['onCommentUpdate'](_0x3e246e[_0x551f8f(0x31b)]),this[_0x551f8f(0x3f0)][_0x551f8f(0x33d)](_0x3e246e);break;default:this[_0x551f8f(0x3f0)][_0x551f8f(0x33d)](_0x3e246e);}}catch(_0x4f4546){this[_0x551f8f(0x172)][_0x551f8f(0x2a6)](_0x4f4546,_0x21a1d1);}}[_0x49793d(0x1a9)](_0x5f1cce){var _0x37d923=_0x49793d;this['_memberService']['updateMember'](this[_0x37d923(0x241)],_0x5f1cce[_0x37d923(0x31b)]);}[_0x49793d(0x35a)](_0x2edff3){var _0xafcffe=_0x49793d;this['_memberService'][_0xafcffe(0x15d)](this[_0xafcffe(0x241)],_0x2edff3[_0xafcffe(0x31b)]['memberID']);}async['send'](_0xf28c9c,_0x14b5fc){var _0x509e9e=_0x49793d;if(this[_0x509e9e(0x298)]!==0x3||!this['_socket'])throw new Error(_0x509e9e(0x2bb));try{_0xf28c9c[_0x509e9e(0x289)]===_0x4e3835[_0x509e9e(0x1ea)]&&(this[_0x509e9e(0x2ea)](),this[_0x509e9e(0x321)](_0xf28c9c)),this[_0x509e9e(0x308)][_0x509e9e(0x2b9)]({'cmd':F[_0x509e9e(0x366)],'routeKey':_0x14b5fc,'routeType':'','data':_0xf28c9c});}catch(_0x9a8d00){this['_logService'][_0x509e9e(0x2a6)](_0x9a8d00);}}[_0x49793d(0x2ea)](){var _0x2cb021=_0x49793d,_0x2a8ef3;this[_0x2cb021(0x1af)]=setTimeout(()=>{var _0x511405=_0x2cb021;this['_collaborationTimeoutTimer']=null,this[_0x511405(0x26e)][_0x511405(0x3cf)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x2a8ef3=this[_0x2cb021(0x3dd)][_0x2cb021(0x27a)](Si))!=null?_0x2a8ef3:Ei);}[_0x49793d(0x155)](){this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x49793d(0x321)](_0x4342ea){var _0x210765=_0x49793d;if(!this[_0x210765(0x2c2)])return;const {data:_0x18bedc}=_0x4342ea,{unitID:_0x433e84,changeset:_0x402544}=_0x18bedc,{mutations:_0x3ce4a9,type:_0x1d9fe1}=_0x402544;this[_0x210765(0x32e)]={'unitId':_0x433e84,'type':_0x1d9fe1,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x3ce4a9)};}[_0x49793d(0x2b8)](){var _0x112caa=_0x49793d;if(this['_shouldReportTelemetry']){if(!this[_0x112caa(0x32e)]){this['_logService'][_0x112caa(0x2a6)]('[CollaborationSession]',_0x112caa(0x21c));return;}this['_telemetryInfo']['stopTime']=performance[_0x112caa(0x1b8)](),this[_0x112caa(0x32e)]['duration']=this[_0x112caa(0x32e)][_0x112caa(0x13f)]-this['_telemetryInfo']['startTime'],this[_0x112caa(0x282)][_0x112caa(0x236)](Vn,this[_0x112caa(0x32e)]),this[_0x112caa(0x32e)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x2fdbc4=_0x49793d;this[_0x2fdbc4(0x32e)]=null;}};It=Xn([me(0x2,_0x1b7927),me(0x3,_0x59c83a),me(0x4,_0x385788(_0x3b0bbb)),me(0x5,_0x385788(xe)),me(0x6,_0x385788(Ri)),me(0x7,_0x385788(pe)),me(0x8,_0xd81374(_0x180871))],It);var Zn=Object[_0x49793d(0x2b7)],Qn=Object[_0x49793d(0x2fc)],er=(_0x14a4af,_0x5a8109,_0x802cdd,_0x576207)=>{var _0x1c0d86=_0x49793d;for(var _0x2e10d5=_0x576207>0x1?void 0x0:_0x576207?Qn(_0x5a8109,_0x802cdd):_0x5a8109,_0x128d9e=_0x14a4af[_0x1c0d86(0x12f)]-0x1,_0xb9658c;_0x128d9e>=0x0;_0x128d9e--)(_0xb9658c=_0x14a4af[_0x128d9e])&&(_0x2e10d5=(_0x576207?_0xb9658c(_0x5a8109,_0x802cdd,_0x2e10d5):_0xb9658c(_0x2e10d5))||_0x2e10d5);return _0x576207&&_0x2e10d5&&Zn(_0x5a8109,_0x802cdd,_0x2e10d5),_0x2e10d5;},ge=(_0x2b5ef0,_0x53ccfa)=>(_0x10ede5,_0x55ae98)=>_0x53ccfa(_0x10ede5,_0x55ae98,_0x2b5ef0);let Le=class extends _0x59e757{constructor(_0x5792fc,_0x59c685,_0x1e7ab9,_0x555859,_0x5dc263,_0xf0531b,_0x30b4c3){var _0xc93cca=_0x49793d;super(),N(this,_0xc93cca(0x3d3),new _0x2c2109(void 0x0)),N(this,'socket$',this[_0xc93cca(0x3d3)][_0xc93cca(0x1c6)]()),N(this,'_candidateSocket',null),N(this,'_sessions',new Map()),N(this,'_status$',new _0x2c2109(Te[_0xc93cca(0x384)])),N(this,_0xc93cca(0x296),this[_0xc93cca(0x21a)][_0xc93cca(0x1c6)]()),N(this,_0xc93cca(0x2c4),!0x1),N(this,_0xc93cca(0x1b4)),N(this,'_retryCount',0x0),N(this,_0xc93cca(0x23b)),N(this,'_timeoutTimer'),(this[_0xc93cca(0x20f)]=_0x5792fc,this[_0xc93cca(0x172)]=_0x59c685,this['_configService']=_0x1e7ab9,this[_0xc93cca(0x2d9)]=_0x555859,this[_0xc93cca(0x206)]=_0x5dc263,this[_0xc93cca(0x26e)]=_0xf0531b,this[_0xc93cca(0x304)]=_0x30b4c3,this['_listenToNetworkCondition']());}get['_socket'](){var _0x54ee2b=_0x49793d;return this[_0x54ee2b(0x3d3)]['getValue']();}[_0x49793d(0x17a)](){var _0xd78f27=_0x49793d;this[_0xd78f27(0x304)]&&this['disposeWithMe'](this['_networkConditionService'][_0xd78f27(0x1e8)][_0xd78f27(0x405)](_0x2a6111=>{var _0x1e52fa=_0xd78f27;_0x2a6111&&!this['_socket']&&this[_0x1e52fa(0x39c)](),_0x2a6111||this['_onOffline']();}));}[_0x49793d(0x28c)](){var _0x2d79b8=_0x49793d;super['dispose'](),this[_0x2d79b8(0x2e8)][_0x2d79b8(0x193)](_0x1cf057=>_0x1cf057[_0x2d79b8(0x28c)]()),this[_0x2d79b8(0x2e8)][_0x2d79b8(0x406)](),this['_status$']['complete']();}async['requireSession'](_0x433a97){var _0x13071b=_0x49793d;if(this[_0x13071b(0x2e8)][_0x13071b(0x408)](_0x433a97))return this[_0x13071b(0x2e8)][_0x13071b(0x2c8)](_0x433a97);this[_0x13071b(0x3aa)]();const _0x2c7fd8=this[_0x13071b(0x20f)][_0x13071b(0x3a6)](It,_0x433a97,this['_socket$'][_0x13071b(0x1c6)]());return this[_0x13071b(0x2e8)]['set'](_0x433a97,_0x2c7fd8),_0x2c7fd8;}[_0x49793d(0x176)](_0x4bd86f){var _0x3e7787=_0x49793d,_0x311696;const _0x26104c=this[_0x3e7787(0x2e8)][_0x3e7787(0x2c8)](_0x4bd86f);_0x26104c&&(this[_0x3e7787(0x2e8)][_0x3e7787(0x385)](_0x4bd86f),_0x26104c[_0x3e7787(0x387)]()),this['_sessions'][_0x3e7787(0x117)]||(_0x311696=this['_socket'])==null||_0x311696[_0x3e7787(0x387)]();}['reconnect'](){var _0x40c222=_0x49793d;this[_0x40c222(0x26a)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x40c222(0x1b4)]),this[_0x40c222(0x1b4)]=null),this['_tryReconnect']();}async[_0x49793d(0x1d2)](){var _0x10b604=_0x49793d,_0x3bcbad,_0x28e0f9,_0x1aaa28;const _0x4e21d0=this[_0x10b604(0x3dd)][_0x10b604(0x27a)](q),_0x1bef9d=(_0x3bcbad=_0x4e21d0==null?void 0x0:_0x4e21d0[_0x10b604(0x2a9)])!=null?_0x3bcbad:On;return(_0x1aaa28=(_0x28e0f9=(await this['_httpService'][_0x10b604(0x2c8)](_0x1bef9d,{'headers':{'Content-Type':_0x10b604(0x392)}}))[_0x10b604(0x3f1)])==null?void 0x0:_0x28e0f9[_0x10b604(0x37a)])!=null?_0x1aaa28:'';}[_0x49793d(0x1fe)](_0x223f28){var _0x238af7=_0x49793d,_0x53675f,_0x33f33d;const _0x296396=this[_0x238af7(0x3dd)][_0x238af7(0x27a)](Rn),_0x2261b4=this['_configService']['getConfig'](q),_0x39d529=(_0x33f33d=(_0x53675f=_0x2261b4==null?void 0x0:_0x2261b4[_0x238af7(0x383)])!=null?_0x53675f:_0x296396)!=null?_0x33f33d:bn,_0x3ce5ba=typeof window>'u'?new URL(_0x39d529):new URL(_0x39d529,window[_0x238af7(0x196)][_0x238af7(0x19a)]);_0x3ce5ba[_0x238af7(0x14b)][_0x238af7(0x12e)](_0x238af7(0x13a),_0x223f28);const _0x11cfd1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x238af7(0x196)]['search']);return _0x11cfd1[_0x238af7(0x2c8)](_0x238af7(0x2c6))&&_0x3ce5ba['searchParams']['set']('runId',_0x11cfd1[_0x238af7(0x2c8)](_0x238af7(0x2c6))),_0x3ce5ba[_0x238af7(0x3c4)]();}async[_0x49793d(0x1d5)](){var _0x4e851a=_0x49793d;const _0xe6c6de=await this['_getSessionTicket'](),_0x1b4f7e=this[_0x4e851a(0x1fe)](_0xe6c6de),_0x14950b=this['_socketService'][_0x4e851a(0x352)](_0x1b4f7e);return this[_0x4e851a(0x2db)]=_0x14950b,_0x14950b;}async[_0x49793d(0x3aa)](){var _0x11ecb1=_0x49793d,_0x5e81db,_0x4793bf;try{const _0x46d2fe=(_0x4793bf=(_0x5e81db=this[_0x11ecb1(0x308)])!=null?_0x5e81db:this['_candidateSocket'])!=null?_0x4793bf:await this[_0x11ecb1(0x1d5)]();if(_0x46d2fe){const _0x374cf9=_0x46d2fe[_0x11ecb1(0x2b9)];_0x46d2fe[_0x11ecb1(0x2b9)]=_0xebf9b=>(this[_0x11ecb1(0x397)](),_0x374cf9[_0x11ecb1(0x220)](_0x46d2fe,[_0xebf9b])),_0x46d2fe['message$'][_0x11ecb1(0x405)](_0x2e2898=>this[_0x11ecb1(0x1e9)](_0x46d2fe,_0x2e2898)),_0x46d2fe[_0x11ecb1(0x38b)][_0x11ecb1(0x357)](_0xf039c5(0x1))[_0x11ecb1(0x405)](_0x4b1b3b=>this['_logService']['error'](_0x11ecb1(0x2a8),_0x4b1b3b)),_0x46d2fe[_0x11ecb1(0x380)][_0x11ecb1(0x357)](_0xf039c5(0x1))[_0x11ecb1(0x405)](()=>{var _0xb9ab0f=_0x11ecb1;this[_0xb9ab0f(0x27e)](_0x46d2fe);}),_0x46d2fe['close$'][_0x11ecb1(0x357)](_0xf039c5(0x1))[_0x11ecb1(0x405)](_0x3b896b=>{var _0x52b5cd=_0x11ecb1;this[_0x52b5cd(0x172)][_0x52b5cd(0x31d)]('[CollaborationSessionService]','socket\x20close',_0x3b896b),this[_0x52b5cd(0x1cd)]();});}}catch(_0x568696){this[_0x11ecb1(0x172)][_0x11ecb1(0x2a6)](_0x568696),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x43d4a4){var _0x400191=_0x49793d;this['_logService'][_0x400191(0x31d)](_0x400191(0x139),'socket\x20open.'),_0x43d4a4[_0x400191(0x2b9)]({'cmd':F[_0x400191(0x1d1)]}),this[_0x400191(0x397)]();}[_0x49793d(0x218)](){var _0x9ec650=_0x49793d;this[_0x9ec650(0x2c4)]=!0x1,this[_0x9ec650(0x2db)]=null,this[_0x9ec650(0x21a)][_0x9ec650(0x33d)](Te[_0x9ec650(0x3fd)]),this[_0x9ec650(0x3d3)][_0x9ec650(0x33d)](null),this[_0x9ec650(0x277)](),this[_0x9ec650(0x30b)]();}[_0x49793d(0x1cd)](){var _0x520e64=_0x49793d,_0x26f683;this[_0x520e64(0x218)](),this[_0x520e64(0x26a)]<((_0x26f683=this[_0x520e64(0x3dd)][_0x520e64(0x27a)](Pn))!=null?_0x26f683:wn)?(this['_collaborationUIEventService'][_0x520e64(0x3cf)]({'id':se[_0x520e64(0x29a)]}),this[_0x520e64(0x229)]()):this[_0x520e64(0x26e)]['emitEvent']({'id':se[_0x520e64(0x246)]});}[_0x49793d(0x229)](){var _0x587a4d=_0x49793d,_0x5e2fe9;const _0x45c9ba=this[_0x587a4d(0x26a)],_0x10cbbd=this[_0x587a4d(0x3dd)][_0x587a4d(0x27a)](q),_0x2b0a25=_0x45c9ba===0x0?0x0:((_0x5e2fe9=_0x10cbbd==null?void 0x0:_0x10cbbd[_0x587a4d(0x39d)])!=null?_0x5e2fe9:Dn)*0x2**_0x45c9ba;this[_0x587a4d(0x1b4)]=setTimeout(()=>{var _0xb0ba71=_0x587a4d;clearTimeout(this['_retryConnectingTimer']),this[_0xb0ba71(0x1b4)]=null,this[_0xb0ba71(0x3aa)]();},_0x2b0a25),this[_0x587a4d(0x26a)]+=0x1;}[_0x49793d(0x1e9)](_0x330e8c,_0x3acb36){var _0x31fc5b=_0x49793d;const {cmd:_0x193510}=_0x3acb36;_0x193510===F['HELLO']&&!this[_0x31fc5b(0x2c4)]&&(_0x330e8c[_0x31fc5b(0x3a2)]=_0x3acb36[_0x31fc5b(0x31b)][_0x31fc5b(0x3a2)],this[_0x31fc5b(0x3d3)][_0x31fc5b(0x33d)](_0x330e8c),this[_0x31fc5b(0x21a)][_0x31fc5b(0x33d)](Te[_0x31fc5b(0x17d)]),this[_0x31fc5b(0x2c4)]=!0x0,this[_0x31fc5b(0x2db)]=null),_0x193510===F[_0x31fc5b(0x224)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x49793d(0x397)](){var _0x47c548=_0x49793d,_0x5d309c;this[_0x47c548(0x30b)](),this[_0x47c548(0x23b)]=setTimeout(()=>this[_0x47c548(0x293)](),(_0x5d309c=this['_configService'][_0x47c548(0x27a)](yn))!=null?_0x5d309c:Nn);}['_sendHeartbeat'](){var _0x5d4046=_0x49793d;this[_0x5d4046(0x308)][_0x5d4046(0x2b9)]({'cmd':F['HEARTBEAT']}),this[_0x5d4046(0x3ba)]();}[_0x49793d(0x3ba)](){var _0x4da436;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x4da436=this['_configService']['getConfig'](Si))!=null?_0x4da436:Ei);}['_clearHeartbeatTimer'](){var _0x4bef2a=_0x49793d;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x4bef2a(0x23b)]=null);}[_0x49793d(0x277)](){var _0x118e43=_0x49793d;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x118e43(0x332)]),this[_0x118e43(0x332)]=null);}};Le=er([ge(0x0,_0x385788(_0x5bf262)),ge(0x1,_0x1b7927),ge(0x2,_0x59c83a),ge(0x3,Ci),ge(0x4,_0x385788(_0x140e67)),ge(0x5,_0x385788(pe)),ge(0x6,_0xd81374(Mn))],Le);function _0x4bee(_0x3939f9,_0x55e8ef){var _0x429df5=_0x429d();return _0x4bee=function(_0x4bee0e,_0x2c8ffd){_0x4bee0e=_0x4bee0e-0x113;var _0x341c38=_0x429df5[_0x4bee0e];return _0x341c38;},_0x4bee(_0x3939f9,_0x55e8ef);}const V=[];for(let n=0x0;n<0x100;++n)V[_0x49793d(0x3bf)]((n+0x100)[_0x49793d(0x3c4)](0x10)['slice'](0x1));function tr(_0x269bfb,_0x63babf=0x0){var _0x395d1f=_0x49793d;return(V[_0x269bfb[_0x63babf+0x0]]+V[_0x269bfb[_0x63babf+0x1]]+V[_0x269bfb[_0x63babf+0x2]]+V[_0x269bfb[_0x63babf+0x3]]+'-'+V[_0x269bfb[_0x63babf+0x4]]+V[_0x269bfb[_0x63babf+0x5]]+'-'+V[_0x269bfb[_0x63babf+0x6]]+V[_0x269bfb[_0x63babf+0x7]]+'-'+V[_0x269bfb[_0x63babf+0x8]]+V[_0x269bfb[_0x63babf+0x9]]+'-'+V[_0x269bfb[_0x63babf+0xa]]+V[_0x269bfb[_0x63babf+0xb]]+V[_0x269bfb[_0x63babf+0xc]]+V[_0x269bfb[_0x63babf+0xd]]+V[_0x269bfb[_0x63babf+0xe]]+V[_0x269bfb[_0x63babf+0xf]])[_0x395d1f(0x3f6)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x484f14=_0x49793d;if(!ut){if(typeof crypto>'u'||!crypto[_0x484f14(0x362)])throw new Error(_0x484f14(0x3b6));ut=crypto[_0x484f14(0x362)][_0x484f14(0x19c)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x49793d(0x399)]&&crypto[_0x49793d(0x399)][_0x49793d(0x19c)](crypto),qt={'randomUUID':rr};function sr(_0x162388,_0x218bbe,_0x1fc0e1){var _0x68c291=_0x49793d,_0x4a4de3,_0x484484,_0x49fd28;if(qt[_0x68c291(0x399)]&&!_0x162388)return qt['randomUUID']();_0x162388=_0x162388||{};const _0x21cf26=(_0x49fd28=(_0x484484=_0x162388[_0x68c291(0x3e6)])!=null?_0x484484:(_0x4a4de3=_0x162388[_0x68c291(0x1f4)])==null?void 0x0:_0x4a4de3['call'](_0x162388))!=null?_0x49fd28:nr();if(_0x21cf26['length']<0x10)throw new Error(_0x68c291(0x381));return _0x21cf26[0x6]=_0x21cf26[0x6]&0xf|0x40,_0x21cf26[0x8]=_0x21cf26[0x8]&0x3f|0x80,tr(_0x21cf26);}const J=_0x2350c4('collaboration-client.local-cache-service');function so(_0x778f08){return'unit-cache-'+_0x778f08;}var or=Object[_0x49793d(0x2b7)],ar=Object[_0x49793d(0x2fc)],cr=(_0xe642b,_0x469dfa,_0xf28309,_0xd187b1)=>{var _0x2cd8b8=_0x49793d;for(var _0x4fdbee=_0xd187b1>0x1?void 0x0:_0xd187b1?ar(_0x469dfa,_0xf28309):_0x469dfa,_0x3dc539=_0xe642b[_0x2cd8b8(0x12f)]-0x1,_0x519963;_0x3dc539>=0x0;_0x3dc539--)(_0x519963=_0xe642b[_0x3dc539])&&(_0x4fdbee=(_0xd187b1?_0x519963(_0x469dfa,_0xf28309,_0x4fdbee):_0x519963(_0x4fdbee))||_0x4fdbee);return _0xd187b1&&_0x4fdbee&&or(_0x469dfa,_0xf28309,_0x4fdbee),_0x4fdbee;},dt=(_0x11ae3c,_0xea54c7)=>(_0x2ff9f6,_0x5d5376)=>_0xea54c7(_0x2ff9f6,_0x5d5376,_0x11ae3c);function hr(_0x4901ef){var _0x4f31b9=_0x49793d;const {unitID:_0x57a92e,mutations:_0x1ece4c}=_0x4901ef;return{'unitId':_0x57a92e,'subUnitId':_0x1ece4c[0x0]['params'][_0x4f31b9(0x313)]};}let it=class{constructor(_0x1a5b1c,_0x10362a,_0x2804a3){var _0x36411d=_0x49793d;this[_0x36411d(0x20f)]=_0x1a5b1c,this[_0x36411d(0x3b4)]=_0x10362a,this['_instanceService']=_0x2804a3;}[_0x49793d(0x2f8)](_0x11a164){var _0x1c175b=_0x49793d,_0x378765,_0x13532c,_0xecc3d5,_0x17b4e3;const _0x1a6060=this['_injector'][_0x1c175b(0x2c8)](_0x1f79cd),{unitId:_0x12c150,subUnitId:_0x2b4acd}=hr(_0x11a164),_0x138da4=_0x1a6060==null?void 0x0:_0x1a6060[_0x1c175b(0x1ed)](_0x12c150)[_0x1c175b(0x358)](),_0x531c65=(_0x13532c=(_0x378765=this[_0x1c175b(0x23e)][_0x1c175b(0x371)](_0x12c150))==null?void 0x0:_0x378765['getActiveSheet']())==null?void 0x0:_0x13532c[_0x1c175b(0x2d4)]();if(_0x138da4[_0x1c175b(0x12f)]===0x0||!_0x12c150||!_0x2b4acd)return;const _0x3e49d8=[{'id':_0x9a15cb['id'],'params':{'unitId':_0x12c150,'subUnitId':_0x531c65,'selections':_0x335a02[_0x1c175b(0x1c8)](_0x138da4)}}],_0x1d0172=this['_transformService'][_0x1c175b(0x1c5)](_0x11a164,_0x3e49d8);if(!_0x455619(_0x1d0172))throw _0x1d0172[_0x1c175b(0x2a6)];const _0x5dd221=(_0x17b4e3=(_0xecc3d5=_0x1d0172[_0x1c175b(0x34a)][0x0])==null?void 0x0:_0xecc3d5[_0x1c175b(0x3b7)])==null?void 0x0:_0x17b4e3[_0x1c175b(0x1e3)];if(Array[_0x1c175b(0x23d)](_0x5dd221)&&_0x5dd221[_0x1c175b(0x12f)]){if(_0x5dd221[_0x1c175b(0x12f)]===_0x3e49d8[0x0][_0x1c175b(0x3b7)][_0x1c175b(0x1e3)]['length']&&_0x5dd221[_0x1c175b(0x28f)]((_0x51546d,_0x500e01)=>_0x24778b[_0x1c175b(0x177)](_0x51546d[_0x1c175b(0x234)],_0x3e49d8[0x0]['params'][_0x1c175b(0x1e3)][_0x500e01][_0x1c175b(0x234)])))return;this[_0x1c175b(0x20f)][_0x1c175b(0x2c8)](_0x2f1659)[_0x1c175b(0x247)](_0x9a15cb['id'],{'unitId':_0x12c150,'subUnitId':_0x531c65,'selections':_0x5dd221});}}};it=cr([dt(0x0,_0x385788(_0x5bf262)),dt(0x1,_0x36f829),dt(0x2,_0x5d0af3)],it);const ht=_0x2350c4(_0x49793d(0x303));var bi=(_0x9b78c5=>(_0x9b78c5[_0x9b78c5[_0x49793d(0x39f)]=0x0]=_0x49793d(0x39f),_0x9b78c5[_0x9b78c5['OTHER_CLIENTS_EDITING']=0x1]=_0x49793d(0x170),_0x9b78c5))(bi||{});const _r=new Set([_0x58e021['id']]);function zt(_0x1042bf,_0x56fda2,_0x291646,_0x56058a,_0x16b450){var _0x6899df=_0x49793d,_0x244e2a,_0x41fef6,_0x2153f5,_0x3655c1;const _0xc2ead1=[];for(const _0x342c2a of _0x1042bf)if(_r[_0x6899df(0x408)](_0x342c2a['id'])){if(_0xc2ead1['length']>0x0)break;_0xc2ead1[_0x6899df(0x3bf)](_0x342c2a);break;}else _0xc2ead1[_0x6899df(0x3bf)](_0x342c2a);const _0x1af0e1=(_0x41fef6=(_0x244e2a=_0x16b450[_0x6899df(0x3fc)]())==null?void 0x0:_0x244e2a[_0x6899df(0x211)])!=null?_0x41fef6:'unknown',_0x1a55aa=(_0x3655c1=(_0x2153f5=_0x16b450[_0x6899df(0x3fc)]())==null?void 0x0:_0x2153f5['memberID'])!=null?_0x3655c1:_0x6899df(0x283);return{'changeset':{'unitID':_0x56fda2,'type':_0x43649d(_0x291646[_0x6899df(0x2c3)](_0x56fda2)),'baseRev':_0x56058a[_0x6899df(0x115)](_0x56fda2),'revision':0x0,'userID':_0x1af0e1,'memberID':_0x1a55aa,'mutations':_0xc2ead1},'pendingMutations':_0x1042bf['slice'](_0xc2ead1[_0x6899df(0x12f)])};}function lr(_0xc4390b,_0x24c4af,_0x4fa2f2,_0x423a1f,_0xb9c7b7){var _0x17f396=_0x49793d,_0x5ce91f,_0x1a17bb,_0x24ef4b,_0x2d4164;const _0x5a4928=[_0xc4390b[_0x17f396(0x27b)]((_0x2bbd7a,_0x119cb8)=>{var _0x23b4cd=_0x17f396,_0x3613b0;const {id:_0x303d96}=_0x2bbd7a,{id:_0x2c3671,type:_0x1a0077}=_0x119cb8,_0x31a469=(_0x3613b0=_0x2bbd7a[_0x23b4cd(0x3b7)])!=null?_0x3613b0:{'actions':null},_0x34e815=_0x119cb8['params'];if(_0x303d96&&_0x303d96!==_0x2c3671)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x303d96+_0x23b4cd(0x3b0)+_0x2c3671+'.');return{..._0x2bbd7a,'id':_0x2c3671,'type':_0x1a0077,'params':{'unitId':_0x34e815['unitId'],'textRanges':_0x34e815[_0x23b4cd(0x1bc)],'actions':_0x24175c[_0x23b4cd(0x27c)](_0x31a469[_0x23b4cd(0x386)],_0x34e815[_0x23b4cd(0x386)])}};},{})],_0x3f0677=(_0x1a17bb=(_0x5ce91f=_0xb9c7b7[_0x17f396(0x3fc)]())==null?void 0x0:_0x5ce91f[_0x17f396(0x211)])!=null?_0x1a17bb:'unknown',_0x3c8ed1=(_0x2d4164=(_0x24ef4b=_0xb9c7b7[_0x17f396(0x3fc)]())==null?void 0x0:_0x24ef4b[_0x17f396(0x3a2)])!=null?_0x2d4164:_0x17f396(0x283);return{'changeset':{'unitID':_0x24c4af,'type':_0x43649d(_0x4fa2f2['getUnitType'](_0x24c4af)),'baseRev':_0x423a1f[_0x17f396(0x115)](_0x24c4af),'revision':0x0,'userID':_0x3f0677,'memberID':_0x3c8ed1,'mutations':_0x5a4928},'pendingMutations':[]};}function Oi(_0x471c38,_0x5be9e5){var _0x24a0f0=_0x49793d;const _0x78f0=new _0x41cacf(0x1);return setTimeout(()=>_0x78f0[_0x24a0f0(0x33d)](_0x5be9e5),_0x471c38),_0x78f0[_0x24a0f0(0x1c6)]()[_0x24a0f0(0x357)](_0x11ee62(0x1));}const ur={'id':_0xcf1ae9['id'],'type':_0x382451['MUTATION'],'params':{}};var dr=Object[_0x49793d(0x2b7)],fr=Object[_0x49793d(0x2fc)],Re=(_0x2a0de4,_0x31719a,_0x4f902b,_0x1bb1e5)=>{var _0x202134=_0x49793d;for(var _0x1e3b74=_0x1bb1e5>0x1?void 0x0:_0x1bb1e5?fr(_0x31719a,_0x4f902b):_0x31719a,_0x6ff581=_0x2a0de4[_0x202134(0x12f)]-0x1,_0x50fc2f;_0x6ff581>=0x0;_0x6ff581--)(_0x50fc2f=_0x2a0de4[_0x6ff581])&&(_0x1e3b74=(_0x1bb1e5?_0x50fc2f(_0x31719a,_0x4f902b,_0x1e3b74):_0x50fc2f(_0x1e3b74))||_0x1e3b74);return _0x1bb1e5&&_0x1e3b74&&dr(_0x31719a,_0x4f902b,_0x1e3b74),_0x1e3b74;},A=(_0x380535,_0x18242a)=>(_0x5de825,_0x4c9ec3)=>_0x18242a(_0x5de825,_0x4c9ec3,_0x380535),yi=(_0x67f4ae=>(_0x67f4ae[_0x49793d(0x18a)]=_0x49793d(0x41b),_0x67f4ae[_0x49793d(0x16f)]='synced',_0x67f4ae[_0x49793d(0x126)]=_0x49793d(0x300),_0x67f4ae[_0x49793d(0x3d5)]=_0x49793d(0x3d7),_0x67f4ae[_0x49793d(0x40c)]='awaiting_with_pending',_0x67f4ae[_0x49793d(0x1c3)]='fetch_missing',_0x67f4ae[_0x49793d(0x294)]='conflict',_0x67f4ae[_0x49793d(0x3fd)]=_0x49793d(0x149),_0x67f4ae))(yi||{});const Ni=0xea60;class be{constructor(_0x44e5b5,_0x13fb55,_0x55033a,_0xa5c1f8,_0x5447f0,_0x16b46c,_0x41f02f,_0x205705,_0x42af38){var _0x28f111=_0x49793d;N(this,_0x28f111(0x222),null),N(this,_0x28f111(0x1da),[]),(this[_0x28f111(0x13e)]=_0x44e5b5,this[_0x28f111(0x1a8)]=_0x13fb55,this[_0x28f111(0x327)]=_0x5447f0,this[_0x28f111(0x15b)]=_0x16b46c,this[_0x28f111(0x160)]=_0x41f02f,this['_revisionService']=_0x205705,this[_0x28f111(0x38a)]=_0x42af38,this['_awaitingChangeset']=_0x55033a,this[_0x28f111(0x1da)]=_0xa5c1f8);}[_0x49793d(0x3da)](_0x1413de){var _0x468cae=_0x49793d;const _0x1790ff=this[_0x468cae(0x306)][_0x468cae(0x115)](this[_0x468cae(0x13e)]);return _0x1413de['revision']>_0x1790ff+0x1?(this['_handler'][_0x468cae(0x171)]({'from':_0x1790ff,'to':_0x1413de['revision']-0x1}),!0x0):!0x1;}[_0x49793d(0x38f)](_0x4f7acd){var _0x580a78=_0x49793d;this[_0x580a78(0x160)][_0x580a78(0x22b)](this[_0x580a78(0x13e)],_0x4f7acd);}[_0x49793d(0x388)](_0x524417){var _0x1702d5=_0x49793d,_0x4daa5d,_0x1c7619;(_0x1c7619=(_0x4daa5d=this['_handler'])[_0x1702d5(0x29e)])==null||_0x1c7619['call'](_0x4daa5d,_0x524417);}[_0x49793d(0x1cf)](_0x3b6a19){var _0x3e6cd5=_0x49793d,_0x139fac,_0x17e6cd;return(_0x17e6cd=(_0x139fac=this[_0x3e6cd5(0x327)])[_0x3e6cd5(0x15f)])==null?void 0x0:_0x17e6cd[_0x3e6cd5(0x1bd)](_0x139fac,_0x3b6a19);}[_0x49793d(0x179)](_0x182be5){var _0x27e6fc=_0x49793d,_0x2b506c,_0x21113e;return(_0x21113e=(_0x2b506c=this[_0x27e6fc(0x327)])[_0x27e6fc(0x2cb)])==null?void 0x0:_0x21113e[_0x27e6fc(0x1bd)](_0x2b506c,_0x182be5);}[_0x49793d(0x1f2)](_0x4bf720){var _0x41ef44=_0x49793d,_0x3811bd,_0xb3656c,_0x3bdc88;return(_0x3bdc88=(_0xb3656c=(_0x3811bd=this[_0x41ef44(0x327)])[_0x41ef44(0x120)])==null?void 0x0:_0xb3656c[_0x41ef44(0x1bd)](_0x3811bd,_0x4bf720))!=null?_0x3bdc88:_0x4bf720;}[_0x49793d(0x3ce)](_0x399783){var _0x1013b3=_0x49793d,_0x539245,_0x58a9d8,_0xae97d8;return(_0xae97d8=(_0x58a9d8=(_0x539245=this[_0x1013b3(0x327)])[_0x1013b3(0x3c9)])==null?void 0x0:_0x58a9d8[_0x1013b3(0x1bd)](_0x539245,_0x399783))!=null?_0xae97d8:_0x399783;}[_0x49793d(0x1d8)](_0x521cbf){var _0x788cab=_0x49793d,_0x32a8ad,_0x452baf;if(this[_0x788cab(0x1a8)]===Q[_0x788cab(0x281)]){const {unitID:_0x1e7ed8,mutations:_0x5e0015,memberID:_0x4bcc47}=_0x521cbf,_0x53d32e=_0x5e0015[0x0]['params'][_0x788cab(0x1bc)];Array[_0x788cab(0x23d)](_0x53d32e)&&_0x53d32e[_0x788cab(0x12f)]>0x0&&((_0x452baf=(_0x32a8ad=this[_0x788cab(0x327)])[_0x788cab(0x3e9)])==null||_0x452baf[_0x788cab(0x1bd)](_0x32a8ad,{'unitID':_0x1e7ed8,'memberID':_0x4bcc47,'textRanges':_0x53d32e}));}}['_updateLocalCache'](){var _0x446a76=_0x49793d,_0x5031fa;(_0x5031fa=this[_0x446a76(0x38a)])==null||_0x5031fa[_0x446a76(0x137)](this[_0x446a76(0x13e)],this[_0x446a76(0x1a8)],this['_awaitingChangeset'],this[_0x446a76(0x1da)]);}['_getCurrentRevision'](){var _0x5ec1af=_0x49793d;return this[_0x5ec1af(0x306)][_0x5ec1af(0x115)](this['unitID']);}[_0x49793d(0x129)](){var _0x50e5e3=_0x49793d;this[_0x50e5e3(0x306)][_0x50e5e3(0x338)](this['unitID']);}[_0x49793d(0x353)](_0xa5fe67){var _0x5e99d7=_0x49793d,_0x862788;let _0x2395f2=this[_0x5e99d7(0x1f2)](_0xa5fe67);_0x2395f2=this[_0x5e99d7(0x3ce)](_0x2395f2);const _0x301c32=_0xb7f461(_0x2395f2[_0x5e99d7(0x261)],this[_0x5e99d7(0x15b)],{'fromCollab':!0x0});if(!_0x301c32[_0x5e99d7(0x34d)])throw _0x301c32[_0x5e99d7(0x2a6)]instanceof Error?_0x301c32[_0x5e99d7(0x2a6)]:new Error((_0x862788=_0x301c32['error'])!=null?_0x862788:_0x5e99d7(0x28b));this['_transformIMECache'](_0x2395f2),this['_transformStateCache'](_0x2395f2),this['_transformUndoredo'](_0xa5fe67),this[_0x5e99d7(0x388)](_0x2395f2),this[_0x5e99d7(0x1d8)](_0x2395f2),this['_incrementRevisionNumber']();}}let De=class extends be{constructor(_0x25f495,_0x3ac75d,_0x48bff5,_0x1db201,_0x2e2dfb,_0x35f509,_0x601273,_0x4e9d1f,_0x1285ca,_0x7d153f){var _0x39e6eb=_0x49793d;super(_0x25f495,_0x3ac75d,null,[],_0x48bff5,_0x601273,_0x35f509,_0x1db201,_0x7d153f),N(this,_0x39e6eb(0x32c),_0x39e6eb(0x186)),(this['_injector']=_0x2e2dfb,this[_0x39e6eb(0x172)]=_0x4e9d1f,this[_0x39e6eb(0x3b4)]=_0x1285ca,this['localCacheService']=_0x7d153f);}['appendMutation'](_0x5d4d17){var _0x10fe69=_0x49793d;const _0x17fe19=this[_0x10fe69(0x20f)]['createInstance'](oe,this['unitID'],this[_0x10fe69(0x1a8)],[_0x5d4d17],this[_0x10fe69(0x327)]);return _0x17fe19['_schedule'](),_0x17fe19[_0x10fe69(0x232)](),_0x17fe19;}[_0x49793d(0x18f)](_0x520094){var _0x2b42ae=_0x49793d;if(this[_0x2b42ae(0x3da)](_0x520094))return this[_0x2b42ae(0x20f)][_0x2b42ae(0x3a6)](te,this[_0x2b42ae(0x13e)],this[_0x2b42ae(0x1a8)],null,[],null,[_0x520094],this[_0x2b42ae(0x327)]);try{const _0x14a246=this[_0x2b42ae(0x3b4)]['transformMutationsWithChangeset'](_0x520094,[ur]);if(_0x455619(_0x14a246)){const {c1Prime:_0xaf256d}=_0x14a246;return this[_0x2b42ae(0x353)](_0xaf256d),this;}throw _0x14a246['error'];}catch(_0x388af6){return this['_logService'][_0x2b42ae(0x2a6)](_0x388af6),this['_onConflict'](!0x1);}}[_0x49793d(0x127)](_0x1ef976){var _0x107c36=_0x49793d;return this['_injector']['createInstance'](de,this['unitID'],this[_0x107c36(0x1a8)],null,[],this['_handler'],_0x1ef976);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x49793d(0x20c)](){var _0x2d74ee=_0x49793d;throw new Error(_0x2d74ee(0x226));}[_0x49793d(0x14d)](){return this;}[_0x49793d(0x3de)](){var _0x55f59c=_0x49793d;return this[_0x55f59c(0x20f)]['createInstance'](fe,this[_0x55f59c(0x13e)],this[_0x55f59c(0x1a8)],null,[],this[_0x55f59c(0x327)]);}[_0x49793d(0x345)](){return this;}[_0x49793d(0x2e6)](){var _0x4bf8fc=_0x49793d;throw new Error(_0x4bf8fc(0x114));}[_0x49793d(0x19f)](){var _0x233d8e=_0x49793d;const _0x55281a=this[_0x233d8e(0x306)]['getCurrentRevOfUnit'](this[_0x233d8e(0x13e)]);return this[_0x233d8e(0x327)][_0x233d8e(0x171)]({'from':_0x55281a,'to':0x0}),this[_0x233d8e(0x20f)]['createInstance'](te,this[_0x233d8e(0x13e)],this[_0x233d8e(0x1a8)],null,[],null,[],this[_0x233d8e(0x327)]);}};De=Re([A(0x3,_0x385788(_0x152bc0)),A(0x4,_0x385788(_0x5bf262)),A(0x5,_0x5583fc),A(0x6,_0x2f1659),A(0x7,_0x1b7927),A(0x8,_0x36f829),A(0x9,_0xd81374(J))],De);let oe=class extends be{constructor(_0x48d87c,_0x47c642,_0xd94943,_0x1b050c,_0xb8c290,_0x2a1621,_0x1e186d,_0x43b7b9,_0x53852a,_0x2aa14a,_0x117847,_0x234d3f,_0x27d803,_0x2f9f19){var _0x1354e5=_0x49793d;super(_0x48d87c,_0x47c642,null,_0xd94943,_0x1b050c,_0x53852a,_0x27d803,_0x2a1621,_0x2f9f19),N(this,_0x1354e5(0x32c),_0x1354e5(0x300)),N(this,_0x1354e5(0x275),null),N(this,_0x1354e5(0x324),null),(this[_0x1354e5(0x20f)]=_0xb8c290,this[_0x1354e5(0x202)]=_0x1e186d,this[_0x1354e5(0x172)]=_0x43b7b9,this['_configService']=_0x2aa14a,this[_0x1354e5(0x3b4)]=_0x117847,this[_0x1354e5(0x3fa)]=_0x234d3f);}[_0x49793d(0x3df)](_0x407252){var _0x37db47=_0x49793d;return this[_0x37db47(0x1da)][_0x37db47(0x3bf)](_0x407252),this[_0x37db47(0x232)](),this;}[_0x49793d(0x18f)](_0x13c9cf){var _0x862c94=_0x49793d;if(this[_0x862c94(0x3da)](_0x13c9cf))return this[_0x862c94(0x372)](),this[_0x862c94(0x20f)][_0x862c94(0x3a6)](te,this[_0x862c94(0x13e)],this[_0x862c94(0x1a8)],null,this[_0x862c94(0x1da)],null,[_0x13c9cf],this['_handler']);try{const _0x1935b2=this['_transformService'][_0x862c94(0x1c5)](_0x13c9cf,this['_pendingMutations']);if(_0x455619(_0x1935b2)){const {c1Prime:_0x394f5a,m2Prime:_0x2215c4}=_0x1935b2;this[_0x862c94(0x353)](_0x394f5a);const _0x334f12=this['_injector'][_0x862c94(0x3a6)](oe,this['unitID'],this[_0x862c94(0x1a8)],_0x2215c4,this[_0x862c94(0x327)]);this[_0x862c94(0x372)]();const _0x4497c3=new Date()[_0x862c94(0x1e2)](),_0x1ce42b=this['_scheduleCompleteTimestamp']?Math[_0x862c94(0x351)](this['_scheduleCompleteTimestamp']-_0x4497c3,0x0):this['_getSendChangesetTimeout']();return _0x334f12[_0x862c94(0x3d2)](_0x1ce42b),_0x334f12;}throw _0x1935b2[_0x862c94(0x2a6)];}catch(_0x4333cb){return this[_0x862c94(0x172)][_0x862c94(0x2a6)](_0x4333cb),this[_0x862c94(0x127)](!0x1);}}[_0x49793d(0x3ea)](){var _0xddf4c9=_0x49793d;throw new Error(_0xddf4c9(0x3ad));}[_0x49793d(0x20c)](){var _0x5d69cd=_0x49793d;throw new Error(_0x5d69cd(0x3b9));}[_0x49793d(0x14d)](){return this;}['toggleOffline'](){var _0x45a71b=_0x49793d;return this[_0x45a71b(0x372)](),this[_0x45a71b(0x20f)]['createInstance'](fe,this[_0x45a71b(0x13e)],this['type'],null,this[_0x45a71b(0x1da)],this[_0x45a71b(0x327)]);}[_0x49793d(0x345)](){return this;}[_0x49793d(0x3d2)](_0x3281ee){var _0x546283=_0x49793d;const _0x5f54cf=_0x3281ee!=null?_0x3281ee:this[_0x546283(0x3b8)]();this[_0x546283(0x275)]=new Date()['getTime']()+_0x5f54cf,this['_sendingTimer']=setTimeout(()=>{var _0x4792f0=_0x546283;this[_0x4792f0(0x372)]();let _0x49fdb0=null;switch(this['type']){case Q[_0x4792f0(0x305)]:{_0x49fdb0=zt(this[_0x4792f0(0x1da)],this[_0x4792f0(0x13e)],this[_0x4792f0(0x3fa)],this['_revisionService'],this[_0x4792f0(0x202)]);break;}case Q['UNIVER_DOC']:{this[_0x4792f0(0x1da)][_0x4792f0(0x28f)](_0x293a10=>_0x293a10['id']===_0x5521ba['id'])?_0x49fdb0=lr(this[_0x4792f0(0x1da)],this[_0x4792f0(0x13e)],this[_0x4792f0(0x3fa)],this[_0x4792f0(0x306)],this[_0x4792f0(0x202)]):_0x49fdb0=zt(this[_0x4792f0(0x1da)],this[_0x4792f0(0x13e)],this[_0x4792f0(0x3fa)],this[_0x4792f0(0x306)],this[_0x4792f0(0x202)]);break;}default:throw new Error(_0x4792f0(0x414)+this['type']+_0x4792f0(0x2d3));}const {changeset:_0x4a4f8b,pendingMutations:_0x3c55f1}=_0x49fdb0;this[_0x4792f0(0x327)][_0x4792f0(0x27f)](_0x4a4f8b);const _0x10db51=_0x3c55f1[_0x4792f0(0x12f)]?this[_0x4792f0(0x20f)][_0x4792f0(0x3a6)](ae,this['unitID'],this[_0x4792f0(0x1a8)],_0x4a4f8b,_0x3c55f1,this[_0x4792f0(0x327)],void 0x0):this['_injector']['createInstance'](ue,this['unitID'],this[_0x4792f0(0x1a8)],_0x4a4f8b,this[_0x4792f0(0x327)]);_0x10db51['_updateLocalCache'](),this[_0x4792f0(0x327)]['onStateChange'](this,_0x10db51);},_0x5f54cf);}[_0x49793d(0x3b8)](){var _0x46e3c9=_0x49793d,_0x4bc4a4;const _0x40921e=this[_0x46e3c9(0x3dd)][_0x46e3c9(0x27a)](q);return(_0x4bc4a4=_0x40921e==null?void 0x0:_0x40921e['sendChangesetTimeout'])!=null?_0x4bc4a4:Cn;}[_0x49793d(0x2e6)](){var _0x11478f=_0x49793d;throw new Error(_0x11478f(0x23c));}[_0x49793d(0x372)](){var _0x3c591f=_0x49793d;this[_0x3c591f(0x324)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x3c591f(0x324)]=null);}[_0x49793d(0x127)](_0x1fec5d){var _0xc156b7=_0x49793d;return this['_clearScheduledTask'](),this[_0xc156b7(0x20f)][_0xc156b7(0x3a6)](de,this['unitID'],this['type'],null,this[_0xc156b7(0x1da)],this[_0xc156b7(0x327)],_0x1fec5d);}};oe=Re([A(0x4,_0x385788(_0x5bf262)),A(0x5,_0x385788(_0x152bc0)),A(0x6,_0x385788(xe)),A(0x7,_0x1b7927),A(0x8,_0x2f1659),A(0x9,_0x59c83a),A(0xa,_0x36f829),A(0xb,_0x5d0af3),A(0xc,_0x5583fc),A(0xd,_0xd81374(J))],oe);let ue=class extends be{constructor(_0x599595,_0x410f6c,_0x55a6d5,_0x3f328c,_0x5502ba,_0x35a645,_0x34b728,_0x351b35,_0x2498cf,_0x3d9368,_0x149133){var _0x206970=_0x49793d;super(_0x599595,_0x410f6c,_0x55a6d5,[],_0x3f328c,_0x34b728,_0x3d9368,_0x35a645,_0x149133),N(this,_0x206970(0x32c),_0x206970(0x3d7)),N(this,'_resendTimeout',0x0),N(this,_0x206970(0x25a)),N(this,_0x206970(0x3c0)),(this[_0x206970(0x20f)]=_0x5502ba,this['_logService']=_0x351b35,this['_transformService']=_0x2498cf);}['appendMutation'](_0x4f8385){var _0x3ef6ff=_0x49793d;this[_0x3ef6ff(0x372)]();const _0x3053e1=this[_0x3ef6ff(0x20f)]['createInstance'](ae,this[_0x3ef6ff(0x13e)],this[_0x3ef6ff(0x1a8)],this[_0x3ef6ff(0x222)],[_0x4f8385],this[_0x3ef6ff(0x327)],this[_0x3ef6ff(0x25a)]);return _0x3053e1[_0x3ef6ff(0x232)](),_0x3053e1;}[_0x49793d(0x18f)](_0x1880e4){var _0x2bb8c4=_0x49793d;if(this['_checkMissing'](_0x1880e4))return this[_0x2bb8c4(0x372)](),this[_0x2bb8c4(0x20f)][_0x2bb8c4(0x3a6)](te,this[_0x2bb8c4(0x13e)],this['type'],this[_0x2bb8c4(0x222)],[],null,[_0x1880e4],this[_0x2bb8c4(0x327)]);try{const _0x46ded2=this[_0x2bb8c4(0x3b4)][_0x2bb8c4(0x192)]([_0x1880e4],[this['_awaitingChangeset']],!0x1);if(_0x1af738(_0x46ded2)){const {c1Prime:_0xf0118b,c2Prime:_0x47a8e4}=_0x46ded2;this['_executeRemoteChangeset'](_0xf0118b[0x0]),_0x47a8e4[0x0][_0x2bb8c4(0x242)]=this[_0x2bb8c4(0x3f5)](),this[_0x2bb8c4(0x372)]();const _0x1cdc32=this[_0x2bb8c4(0x20f)][_0x2bb8c4(0x3a6)](ue,this[_0x2bb8c4(0x13e)],this[_0x2bb8c4(0x1a8)],_0x47a8e4[0x0],this[_0x2bb8c4(0x327)]);return _0x1cdc32[_0x2bb8c4(0x232)](),_0x1cdc32;}return this[_0x2bb8c4(0x127)](!0x1);}catch(_0x4e7ee5){return this[_0x2bb8c4(0x172)][_0x2bb8c4(0x2a6)](_0x4e7ee5),this[_0x2bb8c4(0x127)](!0x1);}}[_0x49793d(0x3ea)](_0x34fe1a){var _0x26f8c0=_0x49793d;this[_0x26f8c0(0x372)]();const _0x563c46=this[_0x26f8c0(0x306)][_0x26f8c0(0x115)](this['unitID']);if(_0x34fe1a['revision']<_0x563c46-0x1)return this;if(this['_checkMissing'](_0x34fe1a))return this[_0x26f8c0(0x20f)][_0x26f8c0(0x3a6)](te,this['unitID'],this[_0x26f8c0(0x1a8)],null,[],this[_0x26f8c0(0x222)],[],this[_0x26f8c0(0x327)]);this[_0x26f8c0(0x129)]();const _0x130a95=this[_0x26f8c0(0x20f)]['createInstance'](De,this[_0x26f8c0(0x13e)],this['type'],this[_0x26f8c0(0x327)]);return _0x130a95['_updateLocalCache'](),_0x130a95;}['onRemoteRej'](_0xa5ce8a){var _0x38ed74=_0x49793d;return this[_0x38ed74(0x127)](!!(_0xa5ce8a!=null&&_0xa5ce8a[_0x38ed74(0x401)]));}[_0x49793d(0x14d)](_0x327f39){var _0x500779=_0x49793d;return this[_0x500779(0x28d)]>Ni?this['toggleOffline']():(this[_0x500779(0x25a)]=Oi(this[_0x500779(0x28d)],{'timeout':this[_0x500779(0x28d)],'reqId':_0x327f39['reqId']}),this[_0x500779(0x3c0)]=this[_0x500779(0x25a)]['subscribe'](({reqId:_0x2b20bc,timeout:_0x305948})=>{var _0x27f961=_0x500779;this[_0x27f961(0x22f)](_0x2b20bc,_0x305948);}),this);}[_0x49793d(0x3de)](){var _0x1afe1f=_0x49793d;return this['_clearScheduledTask'](),this['_injector'][_0x1afe1f(0x3a6)](fe,this[_0x1afe1f(0x13e)],this[_0x1afe1f(0x1a8)],this[_0x1afe1f(0x222)],[],this[_0x1afe1f(0x327)]);}['toggleOnline'](){return this;}[_0x49793d(0x2e6)](){var _0x5e42f7=_0x49793d;this[_0x5e42f7(0x327)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x49793d(0x127)](_0x3c7ab0){var _0x48e858=_0x49793d;return this['_clearScheduledTask'](),this[_0x48e858(0x20f)]['createInstance'](de,this[_0x48e858(0x13e)],this['type'],this[_0x48e858(0x222)],[],this[_0x48e858(0x327)],_0x3c7ab0);}[_0x49793d(0x22f)](_0xf8e5af,_0x2169bb){var _0x2c0ac2=_0x49793d,_0xbbcc29;_0xf8e5af===((_0xbbcc29=this['_awaitingChangeset'])==null?void 0x0:_0xbbcc29[_0x2c0ac2(0x285)])&&(this['resend'](),this[_0x2c0ac2(0x28d)]=_0x2169bb===0x0?0x3e8:_0x2169bb*0x2);}['_clearScheduledTask'](){var _0x3e5591=_0x49793d,_0x1e1508;(_0x1e1508=this[_0x3e5591(0x3c0)])==null||_0x1e1508[_0x3e5591(0x201)](),this[_0x3e5591(0x28d)]=0x0;}};ue=Re([A(0x4,_0x385788(_0x5bf262)),A(0x5,_0x385788(_0x152bc0)),A(0x6,_0x2f1659),A(0x7,_0x1b7927),A(0x8,_0x36f829),A(0x9,_0x5583fc),A(0xa,_0xd81374(J))],ue);let ae=class extends be{constructor(_0x54ade6,_0x42e6d9,_0x1b4f35,_0x283d28,_0x12a57f,_0x4435f6,_0x37e39d,_0x438d08,_0x4920c8,_0x48be05,_0x288e9f,_0x4fbc4b,_0x195044){var _0x441363=_0x49793d;super(_0x54ade6,_0x42e6d9,_0x1b4f35,_0x283d28,_0x12a57f,_0x4920c8,_0x4fbc4b,_0x438d08,_0x195044),N(this,_0x441363(0x32c),_0x441363(0x25f)),N(this,_0x441363(0x28d),0x0),N(this,_0x441363(0x25a)),N(this,_0x441363(0x3c0)),(this[_0x441363(0x20f)]=_0x37e39d,this[_0x441363(0x172)]=_0x48be05,this['_transformService']=_0x288e9f,this[_0x441363(0x419)]=_0x195044,_0x4435f6&&(this[_0x441363(0x25a)]=_0x4435f6,this[_0x441363(0x3c0)]=this[_0x441363(0x25a)][_0x441363(0x405)](({reqId:_0x1cb949,timeout:_0x1d6ba7})=>{var _0x469552=_0x441363;this[_0x469552(0x22f)](_0x1cb949,_0x1d6ba7);})));}[_0x49793d(0x3df)](_0x2133c3){var _0xce7f62=_0x49793d;return this[_0xce7f62(0x1da)][_0xce7f62(0x3bf)](_0x2133c3),this;}[_0x49793d(0x18f)](_0x50a75d){var _0x959e99=_0x49793d;if(this[_0x959e99(0x3da)](_0x50a75d))return this[_0x959e99(0x372)](),this['_injector']['createInstance'](te,this[_0x959e99(0x13e)],this[_0x959e99(0x1a8)],this[_0x959e99(0x222)],this[_0x959e99(0x1da)],null,[_0x50a75d],this[_0x959e99(0x327)]);try{const _0x3c4d78=this[_0x959e99(0x3b4)][_0x959e99(0x192)]([_0x50a75d],[this[_0x959e99(0x222)]],!0x1);if(_0x1af738(_0x3c4d78)){const {c1Prime:_0x513ee9,c2Prime:_0x461195}=_0x3c4d78,_0x4a1364=this[_0x959e99(0x3b4)][_0x959e99(0x1c5)](_0x513ee9[0x0],this['_pendingMutations']);if(_0x455619(_0x4a1364)){const {c1Prime:_0x1b6d40,m2Prime:_0x22b106}=_0x4a1364;return this[_0x959e99(0x353)](_0x1b6d40),_0x461195[0x0][_0x959e99(0x242)]=this[_0x959e99(0x3f5)](),this[_0x959e99(0x372)](),this[_0x959e99(0x20f)][_0x959e99(0x3a6)](ae,this[_0x959e99(0x13e)],this[_0x959e99(0x1a8)],_0x461195[0x0],_0x22b106,this[_0x959e99(0x327)],void 0x0);}throw _0x4a1364[_0x959e99(0x2a6)];}throw _0x3c4d78['error'];}catch(_0x27bc97){return this[_0x959e99(0x172)][_0x959e99(0x2a6)](_0x27bc97),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x4643bf){var _0x2bc661=_0x49793d;if(this[_0x2bc661(0x372)](),this['_checkMissing'](_0x4643bf))return this[_0x2bc661(0x20f)][_0x2bc661(0x3a6)](te,this[_0x2bc661(0x13e)],this['type'],null,this['_pendingMutations'],this[_0x2bc661(0x222)],[],this[_0x2bc661(0x327)]);this['_incrementRevisionNumber']();const _0x4166d9=this['_injector'][_0x2bc661(0x3a6)](oe,this[_0x2bc661(0x13e)],this[_0x2bc661(0x1a8)],this[_0x2bc661(0x1da)],this['_handler']);return _0x4166d9[_0x2bc661(0x3d2)](),_0x4166d9[_0x2bc661(0x232)](),_0x4166d9;}[_0x49793d(0x20c)](_0x4af5b6){var _0x521fe7=_0x49793d;return this['_onConflict'](!!(_0x4af5b6!=null&&_0x4af5b6[_0x521fe7(0x401)]));}['onRemoteRetry'](_0x4854a9){var _0x44928a=_0x49793d;return this['_resendTimeout']>Ni?this[_0x44928a(0x3de)]():(this['_resendTimer']=Oi(this[_0x44928a(0x28d)],{'timeout':this['_resendTimeout'],'reqId':_0x4854a9[_0x44928a(0x285)]}),this[_0x44928a(0x3c0)]=this[_0x44928a(0x25a)][_0x44928a(0x405)](({reqId:_0x101953,timeout:_0x53c43b})=>{var _0x442ea0=_0x44928a;this[_0x442ea0(0x22f)](_0x101953,_0x53c43b);}),this);}[_0x49793d(0x3de)](){var _0x3289ca=_0x49793d;return this[_0x3289ca(0x372)](),this[_0x3289ca(0x20f)][_0x3289ca(0x3a6)](fe,this['unitID'],this[_0x3289ca(0x1a8)],this[_0x3289ca(0x222)],this['_pendingMutations'],this[_0x3289ca(0x327)]);}[_0x49793d(0x345)](){return this;}['resend'](){var _0x59452e=_0x49793d;this['_handler'][_0x59452e(0x27f)](this[_0x59452e(0x222)]);}['_onConflict'](_0x120639){var _0x47d95d=_0x49793d;return this['_clearScheduledTask'](),this['_injector'][_0x47d95d(0x3a6)](de,this[_0x47d95d(0x13e)],this[_0x47d95d(0x1a8)],null,this[_0x47d95d(0x1da)],this['_handler'],_0x120639);}[_0x49793d(0x22f)](_0x193331,_0x5a74f3){var _0xe42edc=_0x49793d,_0x44b5b5;_0x193331===((_0x44b5b5=this[_0xe42edc(0x222)])==null?void 0x0:_0x44b5b5['reqId'])&&(this['resend'](),this[_0xe42edc(0x28d)]=_0x5a74f3===0x0?0x3e8:_0x5a74f3*0x2);}[_0x49793d(0x372)](){var _0x12b5dc=_0x49793d,_0x1586f1;(_0x1586f1=this[_0x12b5dc(0x3c0)])==null||_0x1586f1[_0x12b5dc(0x201)](),this[_0x12b5dc(0x28d)]=0x0;}};ae=Re([A(0x6,_0x385788(_0x5bf262)),A(0x7,_0x385788(_0x152bc0)),A(0x8,_0x2f1659),A(0x9,_0x1b7927),A(0xa,_0x36f829),A(0xb,_0x5583fc),A(0xc,_0xd81374(J))],ae);let de=class extends be{constructor(_0x4343bd,_0x370e76,_0x7bb5f4,_0xc4a244,_0x36b22f,_0x247eec=!0x1,_0x275dc1,_0x1e9a55,_0x302047,_0x100fd6,_0x40953a,_0x5cae14,_0x1e8cd1){var _0x495dbe=_0x49793d;super(_0x4343bd,_0x370e76,_0x7bb5f4,_0xc4a244,_0x36b22f,_0x1e9a55,_0x302047,_0x100fd6,_0x1e8cd1),N(this,_0x495dbe(0x32c),_0x495dbe(0x24a)),(this['_isPermissionRej']=_0x247eec,this[_0x495dbe(0x39a)]=_0x275dc1,this[_0x495dbe(0x1f1)]=_0x40953a,this['_collaborationUIEventService']=_0x5cae14,this[_0x495dbe(0x419)]=_0x1e8cd1,this[_0x495dbe(0x258)](),this[_0x495dbe(0x318)](),this[_0x495dbe(0x3e5)]());}[_0x49793d(0x3df)](){return this;}['onRemoteChangeset'](){return this;}[_0x49793d(0x3ea)](){return this;}[_0x49793d(0x20c)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x49793d(0x345)](){return this;}[_0x49793d(0x2e6)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x49793d(0x318)](){var _0x14ec8b=_0x49793d,_0x214a68;(_0x214a68=this[_0x14ec8b(0x38a)])==null||_0x214a68[_0x14ec8b(0x137)](this[_0x14ec8b(0x13e)],this[_0x14ec8b(0x1a8)],null,[]);}['_showConflictNotification'](){var _0x50ed72=_0x49793d;this[_0x50ed72(0x263)]?this[_0x50ed72(0x26e)][_0x50ed72(0x3cf)]({'id':se[_0x50ed72(0x336)]}):this['_collaborationUIEventService'][_0x50ed72(0x3cf)]({'id':se[_0x50ed72(0x294)]});}[_0x49793d(0x3e5)](){var _0x47db16=_0x49793d;this[_0x47db16(0x39a)][_0x47db16(0x34b)](new _0xd4a4bb(this[_0x47db16(0x13e)])['id'],!0x1);}};de=Re([A(0x6,_0x385788(_0x45b29e)),A(0x7,_0x2f1659),A(0x8,_0x5583fc),A(0x9,_0x385788(_0x152bc0)),A(0xa,_0x385788(_0x3b0bbb)),A(0xb,_0x385788(pe)),A(0xc,_0xd81374(J))],de);let fe=class extends be{constructor(_0x55fd30,_0x192ba7,_0x2aa172,_0x131619,_0xd64e48,_0x2aca76,_0x8d1ae0,_0x3fa378,_0x4b640d,_0x1d6973){var _0x2440d0=_0x49793d;super(_0x55fd30,_0x192ba7,_0x2aa172,_0x131619,_0xd64e48,_0x3fa378,_0x4b640d,_0x8d1ae0,_0x1d6973),N(this,_0x2440d0(0x32c),_0x2440d0(0x149)),this[_0x2440d0(0x20f)]=_0x2aca76;}[_0x49793d(0x3df)](_0x1fdebd){var _0x1325a9=_0x49793d;return this[_0x1325a9(0x1da)]['push'](_0x1fdebd),this[_0x1325a9(0x232)](),this;}['onRemoteChangeset'](_0x4cb34f){var _0x208fc4=_0x49793d;throw new Error(_0x208fc4(0x3c7));}['onRemoteAck'](){var _0x41120a=_0x49793d;throw new Error(_0x41120a(0x125));}[_0x49793d(0x20c)](){var _0xaac7de=_0x49793d;throw new Error(_0xaac7de(0x274));}[_0x49793d(0x14d)](){return this;}[_0x49793d(0x3de)](){return this;}[_0x49793d(0x345)](){var _0x2b5ca3=_0x49793d;const {_injector:_0x2f0395,_pendingMutations:_0x4a6011,_awaitingChangeset:_0x3331a2,unitID:_0x3768f1,_handler:_0x85879d,type:_0x46f57d}=this,_0x274083=Di(_0x2f0395,_0x3768f1,_0x46f57d,_0x3331a2,_0x4a6011,_0x85879d);return _0x274083 instanceof oe?_0x274083[_0x2b5ca3(0x3d2)]():(_0x274083 instanceof ae||_0x274083 instanceof ue)&&_0x274083[_0x2b5ca3(0x2e6)](),_0x274083;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=Re([A(0x5,_0x385788(_0x5bf262)),A(0x6,_0x385788(_0x152bc0)),A(0x7,_0x2f1659),A(0x8,_0x5583fc),A(0x9,_0xd81374(J))],fe);let te=class extends be{constructor(_0x27735b,_0x4c7f88,_0xea1658,_0x1d7f2a,_0x3c6975,_0x49c80f,_0x56283d,_0x2ac7d3,_0x4da84e,_0x255f01,_0x2ce48a,_0x54b7f3,_0x385015,_0x20f706){var _0x1544d8=_0x49793d;super(_0x27735b,_0x4c7f88,_0xea1658,_0x1d7f2a,_0x56283d,_0x2ce48a,_0x54b7f3,_0x4da84e,_0x20f706),N(this,_0x1544d8(0x32c),_0x1544d8(0x33e)),(this[_0x1544d8(0x315)]=_0x3c6975,this['_queuedRemoteChangesets']=_0x49c80f,this['_injector']=_0x2ac7d3,this[_0x1544d8(0x172)]=_0x255f01,this['_transformService']=_0x385015,this[_0x1544d8(0x419)]=_0x20f706);}['onMissedChangesetFetched'](_0x254623){var _0x4f81d7=_0x49793d;try{const _0x6b780a=[..._0x254623,...this['_queuedRemoteChangesets']],_0xc53440=[this[_0x4f81d7(0x222)]||this[_0x4f81d7(0x315)]]['filter'](_0x3035d0=>!!_0x3035d0);let _0x5d800e,_0x2727fc;if(_0xc53440[_0x4f81d7(0x12f)]){const _0x26d755=this[_0x4f81d7(0x3b4)][_0x4f81d7(0x192)](_0x6b780a,_0xc53440,!0x1);if(!_0x1af738(_0x26d755))throw _0x26d755[_0x4f81d7(0x2a6)];_0x5d800e=_0x26d755['c1Prime'],_0x2727fc=_0x26d755[_0x4f81d7(0x2ca)];}else _0x5d800e=_0x6b780a,_0x2727fc=[];let _0xb1cb16=this[_0x4f81d7(0x1da)];_0x5d800e[_0x4f81d7(0x193)](_0x2699be=>{var _0x3e6c6c=_0x4f81d7;let _0x291b90;if(_0xb1cb16[_0x3e6c6c(0x12f)]){const _0xfc66c4=this['_transformService']['transformMutationsWithChangeset'](_0x2699be,_0xb1cb16);if(!_0x455619(_0xfc66c4))throw _0xfc66c4[_0x3e6c6c(0x2a6)];_0x291b90=_0xfc66c4[_0x3e6c6c(0x3c2)],_0xb1cb16=_0xfc66c4[_0x3e6c6c(0x34a)];}else _0x291b90=_0x2699be;this[_0x3e6c6c(0x353)](_0x291b90);}),this[_0x4f81d7(0x315)]&&this[_0x4f81d7(0x129)](),this[_0x4f81d7(0x222)]&&_0x2727fc[_0x4f81d7(0x12f)]&&(_0x2727fc[0x0][_0x4f81d7(0x242)]=this[_0x4f81d7(0x3f5)]());let _0x5a1563;if(this[_0x4f81d7(0x222)]&&_0xb1cb16[_0x4f81d7(0x12f)]!==0x0)_0x5a1563=this['_injector'][_0x4f81d7(0x3a6)](ae,this['unitID'],this[_0x4f81d7(0x1a8)],_0x2727fc[0x0],_0xb1cb16,this[_0x4f81d7(0x327)],void 0x0);else{if(this[_0x4f81d7(0x222)]&&_0xb1cb16[_0x4f81d7(0x12f)]===0x0)_0x2727fc[0x0]['baseRev']=this[_0x4f81d7(0x3f5)](),_0x5a1563=this[_0x4f81d7(0x20f)][_0x4f81d7(0x3a6)](ue,this[_0x4f81d7(0x13e)],this['type'],_0x2727fc[0x0],this[_0x4f81d7(0x327)]);else{if(_0xb1cb16[_0x4f81d7(0x12f)]!==0x0){const _0x15d8e1=this[_0x4f81d7(0x20f)][_0x4f81d7(0x3a6)](oe,this[_0x4f81d7(0x13e)],this[_0x4f81d7(0x1a8)],_0xb1cb16,this[_0x4f81d7(0x327)]);_0x15d8e1['_schedule'](),_0x5a1563=_0x15d8e1;}else _0x5a1563=this[_0x4f81d7(0x20f)][_0x4f81d7(0x3a6)](De,this[_0x4f81d7(0x13e)],this[_0x4f81d7(0x1a8)],this[_0x4f81d7(0x327)]);}}return _0x5a1563['_updateLocalCache'](),_0x5a1563;}catch(_0x33eef4){return this[_0x4f81d7(0x172)][_0x4f81d7(0x2a6)](_0x4f81d7(0x2c5),'failed\x20to\x20apply\x20missed\x20changesets!',_0x33eef4),this[_0x4f81d7(0x20f)][_0x4f81d7(0x3a6)](de,this[_0x4f81d7(0x13e)],this[_0x4f81d7(0x1a8)],this[_0x4f81d7(0x222)],this[_0x4f81d7(0x1da)],this[_0x4f81d7(0x327)],!0x1);}}['resend'](){var _0x6eaf5a=_0x49793d;throw new Error(_0x6eaf5a(0x147));}[_0x49793d(0x3df)](_0x1bd7c6){var _0x45edd7=_0x49793d;return this[_0x45edd7(0x1da)]['push'](_0x1bd7c6),this;}[_0x49793d(0x18f)](_0x33194b){var _0x537258=_0x49793d;return this['_queuedRemoteChangesets'][_0x537258(0x3bf)](_0x33194b),this;}[_0x49793d(0x3ea)](_0x363dd7){var _0xe2ada8=_0x49793d;if(this[_0xe2ada8(0x222)])return this[_0xe2ada8(0x315)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0xe2ada8(0x1d0));}[_0x49793d(0x20c)](_0x595552){var _0x438436=_0x49793d;return this['_onConflict'](!!(_0x595552!=null&&_0x595552[_0x438436(0x401)]));}[_0x49793d(0x14d)](){return this;}['toggleOffline'](){var _0x81d4cc=_0x49793d;return this['_injector'][_0x81d4cc(0x3a6)](fe,this[_0x81d4cc(0x13e)],this[_0x81d4cc(0x1a8)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler']);}[_0x49793d(0x345)](){return this;}[_0x49793d(0x127)](_0x135fd3){var _0xe5ad64=_0x49793d;return this[_0xe5ad64(0x20f)][_0xe5ad64(0x3a6)](de,this[_0xe5ad64(0x13e)],this[_0xe5ad64(0x1a8)],this[_0xe5ad64(0x222)],this[_0xe5ad64(0x1da)],this[_0xe5ad64(0x327)],_0x135fd3);}};te=Re([A(0x7,_0x385788(_0x5bf262)),A(0x8,_0x385788(_0x152bc0)),A(0x9,_0x1b7927),A(0xa,_0x2f1659),A(0xb,_0x5583fc),A(0xc,_0x36f829),A(0xd,_0xd81374(J))],te);function Di(_0x397122,_0x3fad1b,_0x579070,_0x1d77ef,_0x1cd256,_0x299625){var _0x3e313f=_0x49793d;return _0x1d77ef&&_0x1cd256[_0x3e313f(0x12f)]?_0x397122[_0x3e313f(0x3a6)](ae,_0x3fad1b,_0x579070,_0x1d77ef,_0x1cd256,_0x299625,void 0x0):_0x1d77ef?_0x397122[_0x3e313f(0x3a6)](ue,_0x3fad1b,_0x579070,_0x1d77ef,_0x299625):_0x1cd256[_0x3e313f(0x12f)]?_0x397122[_0x3e313f(0x3a6)](oe,_0x3fad1b,_0x579070,_0x1cd256,_0x299625):_0x397122[_0x3e313f(0x3a6)](De,_0x3fad1b,_0x579070,_0x299625);}var vr=Object[_0x49793d(0x2b7)],pr=Object['getOwnPropertyDescriptor'],Lt=(_0x5a3d20,_0x28b1aa,_0x596f88,_0x2035c5)=>{var _0x1a0d81=_0x49793d;for(var _0x4fa416=_0x2035c5>0x1?void 0x0:_0x2035c5?pr(_0x28b1aa,_0x596f88):_0x28b1aa,_0x19eead=_0x5a3d20[_0x1a0d81(0x12f)]-0x1,_0x1dcd93;_0x19eead>=0x0;_0x19eead--)(_0x1dcd93=_0x5a3d20[_0x19eead])&&(_0x4fa416=(_0x2035c5?_0x1dcd93(_0x28b1aa,_0x596f88,_0x4fa416):_0x1dcd93(_0x4fa416))||_0x4fa416);return _0x2035c5&&_0x4fa416&&vr(_0x28b1aa,_0x596f88,_0x4fa416),_0x4fa416;},k=(_0x10fa93,_0x12fe10)=>(_0x7b2a4d,_0x12e729)=>_0x12fe10(_0x7b2a4d,_0x12e729,_0x10fa93);let nt=class extends _0x366443{constructor(_0x53f7ec,_0x38fe32,_0x2ffdc0,_0x413828,_0x2b3b4d,_0x535065,_0x4e266e,_0x5bf429,_0x5407d9,_0x3436ac,_0x446b4c,_0x1f1e1d,_0x269b31){var _0x57063a=_0x49793d;super(),N(this,_0x57063a(0x21e),new _0x2c2109(null)),N(this,_0x57063a(0x118),this[_0x57063a(0x21e)][_0x57063a(0x1c6)]()),N(this,_0x57063a(0x268)),N(this,_0x57063a(0x347),!0x1),N(this,_0x57063a(0x3db),''),N(this,_0x57063a(0x329),0x0),N(this,_0x57063a(0x296),this[_0x57063a(0x118)][_0x57063a(0x357)](_0x3c8f3c(_0x311c60=>_0x311c60?_0x311c60['status']:yi[_0x57063a(0x3fd)]),_0x5f474d(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x57063a(0x194),[]),(this[_0x57063a(0x13e)]=_0x53f7ec,this[_0x57063a(0x1ce)]=_0x38fe32,this[_0x57063a(0x210)]=_0x2ffdc0,this[_0x57063a(0x20f)]=_0x413828,this[_0x57063a(0x203)]=_0x2b3b4d,this[_0x57063a(0x1f1)]=_0x535065,this[_0x57063a(0x306)]=_0x4e266e,this[_0x57063a(0x1e4)]=_0x5bf429,this[_0x57063a(0x172)]=_0x5407d9,this['_commandService']=_0x3436ac,this[_0x57063a(0x39a)]=_0x446b4c,this[_0x57063a(0x209)]=_0x1f1e1d,this['_localCacheService']=_0x269b31);}get[_0x49793d(0x2b0)](){var _0xc6cc74=_0x49793d;return this[_0xc6cc74(0x268)];}async[_0x49793d(0x25d)](){var _0x38efc0=_0x49793d;if(this[_0x38efc0(0x2b0)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x38efc0(0x3eb)]();}[_0x49793d(0x13d)](){var _0x5acc41=_0x49793d;return this[_0x5acc41(0x347)]=!0x0,_0x6eb0c8(()=>{var _0x4a14c2=_0x5acc41;this[_0x4a14c2(0x347)]=!0x1,this[_0x4a14c2(0x1b2)]();});}[_0x49793d(0x2ad)](_0x1b2534){var _0x3d80bc=_0x49793d;this[_0x3d80bc(0x16b)](_0x1b2534);}['_updateState'](_0x302f86){var _0x3f200d=_0x49793d;this['_state']=_0x302f86,this[_0x3f200d(0x21e)][_0x3f200d(0x33d)](_0x302f86);}async[_0x49793d(0x3eb)](){var _0x15d659=_0x49793d,_0x1e42ae;this[_0x15d659(0x2fa)](await this[_0x15d659(0x3bb)]()),this[_0x15d659(0x209)]&&((_0x1e42ae=this[_0x15d659(0x209)])==null||_0x1e42ae[_0x15d659(0x3b3)](this[_0x15d659(0x13e)]),this['disposeWithMe'](this[_0x15d659(0x209)]['getUnitStatus$'](this['unitID'])[_0x15d659(0x405)](_0x5792d4=>{var _0x196cc3=_0x15d659;this[_0x196cc3(0x172)]['debug'](_0x196cc3(0x2ac),_0x196cc3(0x3c3),_0x5792d4),_0x5792d4===bi[_0x196cc3(0x170)]?(this[_0x196cc3(0x1e4)][_0x196cc3(0x3cf)]({'id':se[_0x196cc3(0x3c6)]}),this[_0x196cc3(0x39a)][_0x196cc3(0x34b)](new _0xd4a4bb(this[_0x196cc3(0x13e)])['id'],!0x1),this['_permissionService'][_0x196cc3(0x20e)](!0x1)):(this[_0x196cc3(0x39a)]['updatePermissionPoint'](new _0xd4a4bb(this[_0x196cc3(0x13e)])['id'],!0x0),this[_0x196cc3(0x39a)][_0x196cc3(0x20e)](!0x0));})));let _0x1780b0=!0x1;return this[_0x15d659(0x307)](this['session']['sessionStatus$'][_0x15d659(0x405)](_0x27863a=>{var _0x2209c0=_0x15d659;_0x27863a===Te[_0x2209c0(0x17d)]?this[_0x2209c0(0x175)](_0x1780b0):_0x27863a===Te['OFFLINE']&&(_0x1780b0=!0x0,this[_0x2209c0(0x2d5)]());})),this[_0x15d659(0x307)](this[_0x15d659(0x1ce)]['event$']['subscribe'](_0x3fcceb=>{var _0x3f6a59=_0x15d659;try{switch(_0x3fcceb['eventID']){case _0x4e3835[_0x3f6a59(0x29f)]:{this['_onRemoteChangeset'](_0x2f89bd(_0x3fcceb[_0x3f6a59(0x31b)]));break;}case _0x4e3835[_0x3f6a59(0x378)]:{this[_0x3f6a59(0x3ca)](_0x3fcceb[_0x3f6a59(0x31b)]);break;}case _0x4e3835[_0x3f6a59(0x252)]:{this[_0x3f6a59(0x1cc)]();break;}case _0x4e3835[_0x3f6a59(0x2ed)]:{this['_onRemoteRetry'](_0x3fcceb[_0x3f6a59(0x31b)]);break;}case _0x4e3835[_0x3f6a59(0x37b)]:{this[_0x3f6a59(0x323)](_0x3fcceb['data'][_0x3f6a59(0x360)][_0x3f6a59(0x238)](_0x165765=>_0x2f89bd(_0x165765)));break;}case _0x4e3835[_0x3f6a59(0x389)]:{this[_0x3f6a59(0x1cc)]({'isPermissionRej':!0x0});break;}case _0x4e3835[_0x3f6a59(0x344)]:break;}}catch(_0x5bed4f){throw console[_0x3f6a59(0x2a6)](_0x3f6a59(0x134),_0x5bed4f),_0x5bed4f;}})),this[_0x15d659(0x268)];}[_0x49793d(0x3ff)](){var _0x354614=_0x49793d;this[_0x354614(0x364)]=!0x1;}['_lockTransition'](){var _0x1b1ee6=_0x49793d;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[_0x1b1ee6(0x364)]=!0x0;}[_0x49793d(0x16b)](_0x1a1655){var _0x4eeef2=_0x49793d;this[_0x4eeef2(0x279)](),this[_0x4eeef2(0x2fa)](this['_state'][_0x4eeef2(0x3df)](_0x1a1655)),this[_0x4eeef2(0x3ff)]();}['_onRemoteChangeset'](_0x1a0df8){var _0x5a679f=_0x49793d;if(!(_0x1a0df8['revision']<=this['_revisionService'][_0x5a679f(0x115)](this[_0x5a679f(0x13e)]))){if(this[_0x5a679f(0x347)]){this[_0x5a679f(0x194)][_0x5a679f(0x3bf)](_0x1a0df8);return;}this[_0x5a679f(0x136)](_0x1a0df8);}}[_0x49793d(0x1b2)](){var _0x327b16=_0x49793d;this[_0x327b16(0x194)][_0x327b16(0x193)](_0x1c635d=>this['_applyRemoteChangeset'](_0x1c635d)),this[_0x327b16(0x194)]=[];}[_0x49793d(0x136)](_0x1e0518){var _0x3f518c=_0x49793d;const _0xc65dc2=this[_0x3f518c(0x203)]['interceptor'][_0x3f518c(0x1f7)](this[_0x3f518c(0x203)]['interceptor']['getInterceptPoints']()[_0x3f518c(0x2e4)])(_0x1e0518['mutations'],null)||_0x1e0518[_0x3f518c(0x261)],_0x3c7145={..._0x1e0518,'mutations':_0xc65dc2};this[_0x3f518c(0x279)](),this['_updateState'](this['_state'][_0x3f518c(0x18f)](_0x3c7145)),this[_0x3f518c(0x3ff)]();}['_onRemoteACK'](_0x13e110){var _0x2e7acb=_0x49793d;this['_lockTransition'](),this[_0x2e7acb(0x2fa)](this[_0x2e7acb(0x268)][_0x2e7acb(0x3ea)](_0x13e110)),this[_0x2e7acb(0x3ff)]();}['_onRemoteRejected'](_0x582d4d){var _0x2c8843=_0x49793d;this['_lockTransition'](),this[_0x2c8843(0x2fa)](this[_0x2c8843(0x268)][_0x2c8843(0x20c)](_0x582d4d)),this[_0x2c8843(0x3ff)]();}[_0x49793d(0x237)](_0x57af5f){var _0x15a0f1=_0x49793d;this['_lockTransition'](),this[_0x15a0f1(0x2fa)](this['_state'][_0x15a0f1(0x14d)](_0x57af5f)),this[_0x15a0f1(0x3ff)]();}[_0x49793d(0x323)](_0x35569d){var _0x289c77=_0x49793d;if(!(this['_state']instanceof te))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3b691d=_0x35569d[_0x289c77(0x238)](_0x7838f7=>{var _0x4de129=_0x289c77;const _0x36dcd8=this['_compressMutationService'][_0x4de129(0x166)][_0x4de129(0x1f7)](this[_0x4de129(0x203)][_0x4de129(0x166)]['getInterceptPoints']()[_0x4de129(0x2e4)])(_0x7838f7[_0x4de129(0x261)],null)||_0x7838f7['mutations'];return{..._0x7838f7,'mutations':_0x36dcd8};});this[_0x289c77(0x279)](),this[_0x289c77(0x2fa)](this['_state'][_0x289c77(0x174)](_0x3b691d)),this[_0x289c77(0x3ff)]();}[_0x49793d(0x2d5)](){var _0x513f09=_0x49793d;this[_0x513f09(0x279)](),this[_0x513f09(0x2fa)](this[_0x513f09(0x268)][_0x513f09(0x3de)]()),this[_0x513f09(0x3ff)]();}[_0x49793d(0x175)](_0x435863=!0x1){var _0x30c713=_0x49793d;this['_lockTransition'](),this[_0x30c713(0x2fa)](this['_state'][_0x30c713(0x345)]()),this[_0x30c713(0x3ff)]();const _0x467d24=this[_0x30c713(0x268)];_0x435863&&_0x467d24 instanceof De&&(this['_lockTransition'](),this['_updateState'](_0x467d24['fetchMiss']()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x1e1bbe=>{var _0x3da859=_0x4bee;this[_0x3da859(0x1ce)][_0x3da859(0x148)][_0x3da859(0x357)](_0x11ee62(0x1))[_0x3da859(0x405)](async _0x3e7f4a=>{var _0x1b64ef=_0x3da859;_0x1e1bbe(await this['_createInitialStateImpl'](_0x3e7f4a===Te[_0x1b64ef(0x17d)]));});});}[_0x49793d(0x199)](){var _0x1ebb81=_0x49793d;const _0x933df6=this[_0x1ebb81(0x13e)];return{'onStateChange':(_0x47daab,_0x3915eb)=>{var _0x457d64=_0x1ebb81;if(_0x47daab!==this[_0x457d64(0x268)])throw new Error(_0x457d64(0x225)+_0x47daab[_0x457d64(0x32c)]+_0x457d64(0x1dd)+_0x3915eb[_0x457d64(0x32c)]+_0x457d64(0x2d6)+this[_0x457d64(0x268)][_0x457d64(0x32c)]);this['_updateState'](_0x3915eb);},'onSendChangeset':_0x520d59=>{var _0x969e8a=_0x1ebb81;_0x520d59[_0x969e8a(0x326)]||(_0x520d59[_0x969e8a(0x326)]=this['_changesetSessionId'],_0x520d59[_0x969e8a(0x285)]=++this[_0x969e8a(0x329)]);const _0x10a9a7={'eventID':_0x4e3835[_0x969e8a(0x1ea)],'data':{'unitID':_0x520d59[_0x969e8a(0x13e)],'unitType':this[_0x969e8a(0x210)],'changeset':_0x520d59,'memberID':this[_0x969e8a(0x1ce)]['getMemberID']()}};this[_0x969e8a(0x1ce)][_0x969e8a(0x2b9)](_0x10a9a7,this[_0x969e8a(0x13e)]);},'onMissingChangesets':({from:_0x47945f,to:_0x4261d4})=>{var _0x534aaf=_0x1ebb81;this[_0x534aaf(0x172)][_0x534aaf(0x31d)](_0x534aaf(0x2ac),_0x534aaf(0x24b)+_0x47945f+_0x534aaf(0x2b6)+_0x4261d4);const _0x4bc048={'eventID':_0x4e3835[_0x534aaf(0x153)],'data':{'unitID':_0x933df6,'unitType':this['_type'],'from':_0x47945f,'to':_0x4261d4}};this[_0x534aaf(0x1ce)][_0x534aaf(0x2b9)](_0x4bc048,this[_0x534aaf(0x13e)]);}};}async[_0x49793d(0x1b1)](_0x4bc305){var _0xccae4d=_0x49793d,_0x4b448d,_0x1ea714,_0x5ef469;const _0x1e3768=await((_0x4b448d=this[_0xccae4d(0x38a)])==null?void 0x0:_0x4b448d[_0xccae4d(0x12b)](this[_0xccae4d(0x13e)])),_0xbb0b7=(_0x1ea714=_0x1e3768==null?void 0x0:_0x1e3768[_0xccae4d(0x261)])!=null?_0x1ea714:[],_0x498cec=(_0x5ef469=_0x1e3768==null?void 0x0:_0x1e3768[_0xccae4d(0x240)])!=null?_0x5ef469:null,_0x11d30a=!!(_0x498cec!=null&&_0x498cec[_0xccae4d(0x326)])&&!!(_0x498cec!=null&&_0x498cec[_0xccae4d(0x285)]);this[_0xccae4d(0x3db)]=_0x11d30a?_0x498cec[_0xccae4d(0x326)]:sr(),this[_0xccae4d(0x329)]=_0x11d30a?_0x498cec[_0xccae4d(0x285)]:0x0;const _0x15de50=this[_0xccae4d(0x13e)];try{this[_0xccae4d(0x11c)](_0x498cec,_0xbb0b7);}catch(_0x40e21f){this[_0xccae4d(0x172)][_0xccae4d(0x2a6)](_0x40e21f);}const _0x2878a5=this['_createHandler']();if(_0x4bc305){const _0x4bf166=Di(this['_injector'],_0x15de50,this[_0xccae4d(0x210)],_0x498cec,_0xbb0b7,_0x2878a5);return _0x4bf166 instanceof oe?_0x4bf166[_0xccae4d(0x3d2)]():(_0x4bf166 instanceof ae||_0x4bf166 instanceof ue)&&_0x4bf166[_0xccae4d(0x2e6)](),_0x4bf166;}return this[_0xccae4d(0x20f)]['createInstance'](fe,_0x15de50,this['_type'],_0x498cec,_0xbb0b7,_0x2878a5);}[_0x49793d(0x11c)](_0x35752e,_0x2ba1f5){var _0xfdebba=_0x49793d,_0x72250a,_0x3bbcbf;const _0x2fa59c=this['_compressMutationService'][_0xfdebba(0x166)][_0xfdebba(0x1f7)](this[_0xfdebba(0x203)]['interceptor'][_0xfdebba(0x145)]()['COMPRESS_MUTATION_APPLY']);(_0x72250a=_0x2fa59c((_0x35752e==null?void 0x0:_0x35752e[_0xfdebba(0x261)])||[],null))==null||_0x72250a[_0xfdebba(0x193)](_0x316890=>this[_0xfdebba(0x15b)][_0xfdebba(0x247)](_0x316890['id'],_0x316890[_0xfdebba(0x3b7)])),(_0x3bbcbf=_0x2fa59c(_0x2ba1f5||[],null))==null||_0x3bbcbf[_0xfdebba(0x193)](_0x448947=>this['_commandService'][_0xfdebba(0x247)](_0x448947['id'],_0x448947['params']));}};nt=Lt([k(0x3,_0x385788(_0x5bf262)),k(0x4,_0x385788(_0x5631f9)),k(0x5,_0x385788(_0x3b0bbb)),k(0x6,_0x385788(_0x152bc0)),k(0x7,_0x385788(pe)),k(0x8,_0x1b7927),k(0x9,_0x2f1659),k(0xa,_0x45b29e),k(0xb,_0xd81374(ht)),k(0xc,_0xd81374(J))],nt);let Tt=class extends nt{constructor(_0x47c60d,_0x29477a,_0x98fe32,_0x5078c7,_0x5497d2,_0x37e698,_0x3894b3,_0x45df13,_0x3a6cc5,_0x5d4401,_0x928f62,_0x374438,_0x44ed47){var _0x45722c=_0x49793d;super(_0x47c60d,_0x98fe32,_0x29477a,_0x5078c7,_0x5497d2,_0x37e698,_0x3894b3,_0x45df13,_0x3a6cc5,_0x5d4401,_0x928f62,_0x374438,_0x44ed47),N(this,_0x45722c(0x26b),null),(this[_0x45722c(0x13e)]=_0x47c60d,this[_0x45722c(0x1a8)]=_0x29477a);}[_0x49793d(0x1f6)](_0x4bfc84){var _0x57d9db=_0x49793d;this[_0x57d9db(0x26b)]=_0x4bfc84;}[_0x49793d(0x28c)](){var _0x32c23d=_0x49793d;this[_0x32c23d(0x26b)]=null,super['dispose']();}[_0x49793d(0x199)](){var _0x8f8249=_0x49793d;const _0x5d14fe=super[_0x8f8249(0x199)]();return _0x5d14fe[_0x8f8249(0x15f)]=_0x48b216=>{var _0x237156=_0x8f8249,_0x5674cc,_0x3fba0a;return(_0x3fba0a=(_0x5674cc=this[_0x237156(0x26b)])==null?void 0x0:_0x5674cc['onTransformIME'])==null?void 0x0:_0x3fba0a[_0x237156(0x1bd)](_0x5674cc,_0x48b216);},_0x5d14fe['onTransformState']=_0x28a141=>{var _0x55d9be=_0x8f8249,_0x11ff38,_0x32fb6e;return(_0x32fb6e=(_0x11ff38=this[_0x55d9be(0x26b)])==null?void 0x0:_0x11ff38[_0x55d9be(0x2cb)])==null?void 0x0:_0x32fb6e[_0x55d9be(0x1bd)](_0x11ff38,_0x28a141);},_0x5d14fe['onTransformSelections']=_0x1410a2=>{var _0x395b37=_0x8f8249,_0x47a05d,_0x29676b;return(_0x29676b=(_0x47a05d=this[_0x395b37(0x26b)])==null?void 0x0:_0x47a05d[_0x395b37(0x29e)])==null?void 0x0:_0x29676b['call'](_0x47a05d,_0x1410a2);},_0x5d14fe['onSyncEditingCollabCursor']=_0x1f2d9c=>{var _0x80ba24=_0x8f8249,_0x448048,_0x30b882;return(_0x30b882=(_0x448048=this[_0x80ba24(0x26b)])==null?void 0x0:_0x448048['onSyncEditingCollabCursor'])==null?void 0x0:_0x30b882[_0x80ba24(0x1bd)](_0x448048,_0x1f2d9c);},_0x5d14fe[_0x8f8249(0x120)]=_0x24b81a=>{var _0x2c01ce=_0x8f8249,_0x15a0cb,_0x2cd22c,_0x4acf41;if(!((_0x15a0cb=this[_0x2c01ce(0x26b)])!=null&&_0x15a0cb[_0x2c01ce(0x120)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x4acf41=(_0x2cd22c=this[_0x2c01ce(0x26b)])==null?void 0x0:_0x2cd22c[_0x2c01ce(0x120)])==null?void 0x0:_0x4acf41['call'](_0x2cd22c,_0x24b81a);},_0x5d14fe[_0x8f8249(0x3c9)]=_0x2e11af=>{var _0x40e704=_0x8f8249,_0x2bb374,_0x123aeb,_0x2f918a;if(!((_0x2bb374=this[_0x40e704(0x26b)])!=null&&_0x2bb374[_0x40e704(0x3c9)]))throw new Error(_0x40e704(0x29c));return(_0x2f918a=(_0x123aeb=this[_0x40e704(0x26b)])==null?void 0x0:_0x123aeb['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2f918a[_0x40e704(0x1bd)](_0x123aeb,_0x2e11af);},_0x5d14fe;}async['_init'](){var _0xe4915f=_0x49793d;const _0x253efe=await super[_0xe4915f(0x3eb)]();return this[_0xe4915f(0x307)](this[_0xe4915f(0x15b)][_0xe4915f(0x2ef)]((_0x534e93,_0x394d97)=>{var _0x30c4d5=_0xe4915f;if(_0x534e93['type']!==_0x382451['MUTATION']||_0x394d97!=null&&_0x394d97[_0x30c4d5(0x233)]||_0x394d97!=null&&_0x394d97[_0x30c4d5(0x212)]||_0x534e93['id']===_0x5521ba['id'])return;const _0x2d1b7c=_0x534e93[_0x30c4d5(0x3b7)];if((_0x2d1b7c==null?void 0x0:_0x2d1b7c['unitId'])!==this['unitID'])return;const _0x50eb75=_0x534e93,_0x4197a6=this['_compressMutationService'][_0x30c4d5(0x166)][_0x30c4d5(0x1f7)](this[_0x30c4d5(0x203)][_0x30c4d5(0x166)][_0x30c4d5(0x145)]()[_0x30c4d5(0x316)])([_0x50eb75],null)||[_0x50eb75];this[_0x30c4d5(0x16b)](_0x4197a6[0x0]);})),_0x253efe;}};Tt=Lt([k(0x3,_0x385788(_0x5bf262)),k(0x4,_0x385788(_0x5631f9)),k(0x5,_0x385788(_0x3b0bbb)),k(0x6,_0x385788(_0x152bc0)),k(0x7,_0x385788(pe)),k(0x8,_0x1b7927),k(0x9,_0x2f1659),k(0xa,_0x45b29e),k(0xb,_0xd81374(ht)),k(0xc,_0xd81374(J))],Tt);let Ct=class extends nt{constructor(_0x176d69,_0xa2a962,_0x3f9a1a,_0x21158d,_0x336526,_0xd8e206,_0x382988,_0x103db3,_0x36107c,_0x5c86a6,_0x5526aa,_0x157360,_0x2f7d8d,_0x55b4b6){var _0x2aafa4=_0x49793d;super(_0x176d69,_0x3f9a1a,_0xa2a962,_0x21158d,_0x336526,_0xd8e206,_0x382988,_0x36107c,_0x5c86a6,_0x5526aa,_0x157360,_0x2f7d8d,_0x55b4b6),this[_0x2aafa4(0x13e)]=_0x176d69,this['type']=_0xa2a962,this[_0x2aafa4(0x2a0)]=_0x103db3;}[_0x49793d(0x199)](){var _0x2807d5=_0x49793d;const _0x4282e7=super[_0x2807d5(0x199)]();return _0x4282e7['onTransformSelections']=_0x19dba0=>this['_sheetTransformSelectionsService']['transformSelections'](_0x19dba0),_0x4282e7;}async['_init'](){var _0x58d20b=_0x49793d;const _0x4ad8b7=await super['_init']();return this['disposeWithMe'](this[_0x58d20b(0x15b)]['onCommandExecuted']((_0x3e8c1c,_0x62af4a)=>{var _0x157c62=_0x58d20b;if(_0x3e8c1c['type']!==_0x382451[_0x157c62(0x167)]||_0x62af4a!=null&&_0x62af4a[_0x157c62(0x233)]||_0x62af4a!=null&&_0x62af4a[_0x157c62(0x212)])return;const _0x121f5c=_0x3e8c1c[_0x157c62(0x3b7)];if((_0x121f5c==null?void 0x0:_0x121f5c[_0x157c62(0x2ab)])!==this[_0x157c62(0x13e)])return;const _0x15fb06=_0x3e8c1c,_0x354ca3=this[_0x157c62(0x203)][_0x157c62(0x166)][_0x157c62(0x1f7)](this[_0x157c62(0x203)][_0x157c62(0x166)][_0x157c62(0x145)]()[_0x157c62(0x316)])([_0x15fb06],null)||[_0x15fb06];this[_0x157c62(0x16b)](_0x354ca3[0x0]);})),_0x4ad8b7;}};Ct=Lt([k(0x3,_0x385788(_0x5bf262)),k(0x4,_0x385788(_0x5631f9)),k(0x5,_0x385788(_0x3b0bbb)),k(0x6,_0x385788(_0x152bc0)),k(0x7,_0x385788(it)),k(0x8,_0x385788(pe)),k(0x9,_0x1b7927),k(0xa,_0x2f1659),k(0xb,_0x45b29e),k(0xc,_0xd81374(ht)),k(0xd,_0xd81374(J))],Ct);var mr=Object[_0x49793d(0x2b7)],gr=Object[_0x49793d(0x2fc)],Sr=(_0x49192e,_0x52abb3,_0x23ee72,_0x3e3c4f)=>{var _0x358b69=_0x49793d;for(var _0x5220a8=_0x3e3c4f>0x1?void 0x0:_0x3e3c4f?gr(_0x52abb3,_0x23ee72):_0x52abb3,_0x34df12=_0x49192e[_0x358b69(0x12f)]-0x1,_0x28c80d;_0x34df12>=0x0;_0x34df12--)(_0x28c80d=_0x49192e[_0x34df12])&&(_0x5220a8=(_0x3e3c4f?_0x28c80d(_0x52abb3,_0x23ee72,_0x5220a8):_0x28c80d(_0x5220a8))||_0x5220a8);return _0x3e3c4f&&_0x5220a8&&mr(_0x52abb3,_0x23ee72,_0x5220a8),_0x5220a8;},ft=(_0x3b91d5,_0x35e4f2)=>(_0x2878d4,_0xc9ece7)=>_0x35e4f2(_0x2878d4,_0xc9ece7,_0x3b91d5);let rt=class extends _0x366443{constructor(_0x2fae6f,_0x51e3f0,_0xb044ac){var _0x311d76=_0x49793d;super(),N(this,_0x311d76(0x3a0),new Map()),N(this,'_entityInit$',new _0x2e441e()),N(this,_0x311d76(0x377),this[_0x311d76(0x14f)][_0x311d76(0x1c6)]()),(this[_0x311d76(0x20f)]=_0x2fae6f,this[_0x311d76(0x2e1)]=_0x51e3f0,this['_univerInstanceService']=_0xb044ac,this[_0x311d76(0x3eb)]());}[_0x49793d(0x28c)](){var _0x16d0a6=_0x49793d;super[_0x16d0a6(0x28c)](),this[_0x16d0a6(0x3a0)]['forEach'](_0x1309ba=>_0x1309ba[_0x16d0a6(0x28c)]()),this[_0x16d0a6(0x3a0)][_0x16d0a6(0x406)]();}['getCollabEntity'](_0x5536f2){var _0x12a5a3=_0x49793d,_0x264c7e;return(_0x264c7e=this[_0x12a5a3(0x3a0)][_0x12a5a3(0x2c8)](_0x5536f2))!=null?_0x264c7e:null;}[_0x49793d(0x278)](_0x1a902e){var _0xfdec9a=_0x49793d;const _0x5f41f5=this[_0xfdec9a(0x18b)](_0x1a902e);return _0x5f41f5?_0x816256(_0x5f41f5):this[_0xfdec9a(0x14f)][_0xfdec9a(0x357)](_0x21e0ae(_0x4a1800=>_0x4a1800[_0xfdec9a(0x13e)]===_0x1a902e));}['readyForCollab'](_0x4fc758){var _0x4e610b=_0x49793d;return _0x3a12b2(this[_0x4e610b(0x278)](_0x4fc758)[_0x4e610b(0x357)](_0x5c5618(()=>{})));}[_0x49793d(0x3eb)](){var _0x4779bb=_0x49793d;this[_0x4779bb(0x3fa)][_0x4779bb(0x412)](_0x3c00f5[_0x4779bb(0x305)])[_0x4779bb(0x357)](_0x102d9c(this[_0x4779bb(0x200)]),_0x4bdc25(0x10))[_0x4779bb(0x405)](async _0x4e0dc4=>{var _0x5883c=_0x4779bb;const _0x1c7e9c=_0x4e0dc4[_0x5883c(0x25c)](),_0x3c79d1=await this[_0x5883c(0x325)](_0x1c7e9c,Q[_0x5883c(0x305)]);this[_0x5883c(0x3a0)]['set'](_0x1c7e9c,_0x3c79d1);}),this[_0x4779bb(0x3fa)]['getTypeOfUnitAdded$'](_0x3c00f5[_0x4779bb(0x281)])[_0x4779bb(0x357)](_0x102d9c(this[_0x4779bb(0x200)]),_0x4bdc25(0x10))['pipe'](_0x21e0ae(_0x312cc6=>!_0x312cc6[_0x4779bb(0x25c)]()[_0x4779bb(0x1b9)]('__')))[_0x4779bb(0x405)](async _0x3f5fa3=>{var _0x3ced64=_0x4779bb;const _0x25229f=_0x3f5fa3[_0x3ced64(0x25c)](),_0x36f0ab=await this[_0x3ced64(0x325)](_0x25229f,Q[_0x3ced64(0x281)]);this[_0x3ced64(0x3a0)]['set'](_0x25229f,_0x36f0ab);}),_0x504d97(this[_0x4779bb(0x3fa)]['getTypeOfUnitDisposed$'](_0x3c00f5[_0x4779bb(0x305)]),this[_0x4779bb(0x3fa)]['getTypeOfUnitDisposed$'](_0x3c00f5[_0x4779bb(0x281)]))['pipe'](_0x102d9c(this['dispose$']))[_0x4779bb(0x405)](_0x4b8e47=>{var _0x813602=_0x4779bb;const _0x17e233=_0x4b8e47[_0x813602(0x25c)](),_0x3a9029=this[_0x813602(0x3a0)][_0x813602(0x2c8)](_0x17e233);_0x3a9029&&(_0x3a9029[_0x813602(0x28c)](),this[_0x813602(0x3a0)]['delete'](_0x17e233));});}async[_0x49793d(0x325)](_0x2615b3,_0x556355){var _0x4d8193=_0x49793d;const _0x24b80e=await this[_0x4d8193(0x2e1)][_0x4d8193(0x1d7)](_0x2615b3),_0x1a1ed7=this['_injector'][_0x4d8193(0x3a6)](this['_getCtorByUniverType'](_0x556355),_0x2615b3,_0x556355,_0x24b80e);return await _0x1a1ed7[_0x4d8193(0x25d)](),this[_0x4d8193(0x14f)][_0x4d8193(0x33d)](_0x1a1ed7),_0x1a1ed7;}[_0x49793d(0x319)](_0x3176cd){var _0x2cbf32=_0x49793d;switch(_0x3176cd){case Q[_0x2cbf32(0x281)]:return Tt;case Q[_0x2cbf32(0x305)]:return Ct;default:throw new Error(_0x2cbf32(0x40e)+_0x3176cd);}}};rt=Sr([ft(0x0,_0x385788(_0x5bf262)),ft(0x1,_0x385788(Le)),ft(0x2,_0x5d0af3)],rt);var Er=Object[_0x49793d(0x2b7)],Ir=Object[_0x49793d(0x2fc)],Tr=(_0x2a3f26,_0x5625f1,_0x1aa81b,_0x3ccb08)=>{var _0x2e9594=_0x49793d;for(var _0x21c32b=_0x3ccb08>0x1?void 0x0:_0x3ccb08?Ir(_0x5625f1,_0x1aa81b):_0x5625f1,_0x171fb7=_0x2a3f26[_0x2e9594(0x12f)]-0x1,_0x57077f;_0x171fb7>=0x0;_0x171fb7--)(_0x57077f=_0x2a3f26[_0x171fb7])&&(_0x21c32b=(_0x3ccb08?_0x57077f(_0x5625f1,_0x1aa81b,_0x21c32b):_0x57077f(_0x21c32b))||_0x21c32b);return _0x3ccb08&&_0x21c32b&&Er(_0x5625f1,_0x1aa81b,_0x21c32b),_0x21c32b;},Jt=(_0x255f7b,_0x18309d)=>(_0x61748c,_0x2bee67)=>_0x18309d(_0x61748c,_0x2bee67,_0x255f7b);const Cr='DEFAULT_FILE_NAME',Rr=_0x49793d(0x17b);let Rt=class extends _0x59e757{constructor(_0x410eb3,_0x594bb1){var _0x1cb970=_0x49793d;super(),this[_0x1cb970(0x3fa)]=_0x410eb3,this[_0x1cb970(0x3dd)]=_0x594bb1,this[_0x1cb970(0x3eb)]();}['_init'](){var _0x1a8279=_0x49793d;this[_0x1a8279(0x307)](this[_0x1a8279(0x3fa)][_0x1a8279(0x34e)][_0x1a8279(0x405)](()=>{var _0x3bcb31=_0x1a8279,_0x5c8312;const _0x20e3c5=this[_0x3bcb31(0x3fa)]['getFocusedUnit']();let _0x1d90ab=(_0x5c8312=this[_0x3bcb31(0x3dd)][_0x3bcb31(0x27a)](Cr))!=null?_0x5c8312:Rr;_0x20e3c5 instanceof _0x265a32&&(_0x1d90ab=_0x20e3c5[_0x3bcb31(0x3c8)]),document['title']=_0x1d90ab;}));}};Rt=Tr([Jt(0x0,_0x5d0af3),Jt(0x1,_0x59c83a)],Rt);var br=Object[_0x49793d(0x2b7)],Or=Object[_0x49793d(0x2fc)],yr=(_0x3ca117,_0x46ad63,_0x47f9d8,_0x2b46d7)=>{var _0x28f58d=_0x49793d;for(var _0x2dd15d=_0x2b46d7>0x1?void 0x0:_0x2b46d7?Or(_0x46ad63,_0x47f9d8):_0x46ad63,_0x18b3bf=_0x3ca117[_0x28f58d(0x12f)]-0x1,_0x513c77;_0x18b3bf>=0x0;_0x18b3bf--)(_0x513c77=_0x3ca117[_0x18b3bf])&&(_0x2dd15d=(_0x2b46d7?_0x513c77(_0x46ad63,_0x47f9d8,_0x2dd15d):_0x513c77(_0x2dd15d))||_0x2dd15d);return _0x2b46d7&&_0x2dd15d&&br(_0x46ad63,_0x47f9d8,_0x2dd15d),_0x2dd15d;},vt=(_0xcabffa,_0x13b457)=>(_0x1a21ee,_0x12c029)=>_0x13b457(_0x1a21ee,_0x12c029,_0xcabffa);let st=class{constructor(_0x38771b,_0xb8fc12,_0xc1eeb9){var _0x2c84d0=_0x49793d;this[_0x2c84d0(0x3dd)]=_0x38771b,this[_0x2c84d0(0x206)]=_0xb8fc12,this['localeService']=_0xc1eeb9,this[_0x2c84d0(0x25d)]();}[_0x49793d(0x25d)](){var _0x29d2c8=_0x49793d;this[_0x29d2c8(0x206)][_0x29d2c8(0x1e7)]({'priority':0x1,'interceptor':(_0x4eab5b,_0x4f08e8)=>_0x4f08e8(_0x4eab5b)[_0x29d2c8(0x357)](_0x356c71(async _0x170c2d=>{var _0x5a62b4=_0x29d2c8;const _0x424512=_0x170c2d;if(_0x424512[_0x5a62b4(0x32c)]===0x191){if(typeof window>'u')throw new Error(_0x5a62b4(0x3a8));if(window[_0x5a62b4(0x2c9)](this[_0x5a62b4(0x1cb)]['t'](_0x5a62b4(0x1f9)))){const _0x3e6f1c=window[_0x5a62b4(0x32b)](window['location'][_0x5a62b4(0x3e1)]);window[_0x5a62b4(0x196)]['href']=this[_0x5a62b4(0x302)]()+'?url='+_0x3e6f1c;}}return _0x424512;}))});}['_getLoginPath'](){var _0x3cbcdb=_0x49793d,_0x338aa4,_0x33f297;const _0x2a76ed=this[_0x3cbcdb(0x3dd)][_0x3cbcdb(0x27a)](xn),_0x4f5e9e=this[_0x3cbcdb(0x3dd)][_0x3cbcdb(0x27a)](q);return(_0x33f297=(_0x338aa4=_0x4f5e9e==null?void 0x0:_0x4f5e9e[_0x3cbcdb(0x3a5)])!=null?_0x338aa4:_0x2a76ed)!=null?_0x33f297:Ln;}};st=yr([vt(0x0,_0x59c83a),vt(0x1,_0x385788(_0x140e67)),vt(0x2,_0x385788(_0x3b0bbb))],st);var Nr=Object[_0x49793d(0x2b7)],Dr=Object[_0x49793d(0x2fc)],Pr=(_0x4501d4,_0x2697a9,_0x1751dd,_0x79e2a8)=>{var _0x4eceff=_0x49793d;for(var _0x5ef08f=_0x79e2a8>0x1?void 0x0:_0x79e2a8?Dr(_0x2697a9,_0x1751dd):_0x2697a9,_0x1132d8=_0x4501d4[_0x4eceff(0x12f)]-0x1,_0x3735ad;_0x1132d8>=0x0;_0x1132d8--)(_0x3735ad=_0x4501d4[_0x1132d8])&&(_0x5ef08f=(_0x79e2a8?_0x3735ad(_0x2697a9,_0x1751dd,_0x5ef08f):_0x3735ad(_0x5ef08f))||_0x5ef08f);return _0x79e2a8&&_0x5ef08f&&Nr(_0x2697a9,_0x1751dd,_0x5ef08f),_0x5ef08f;},Xt=(_0x5e0a3d,_0x16fe03)=>(_0x1743cd,_0x4d56e5)=>_0x16fe03(_0x1743cd,_0x4d56e5,_0x5e0a3d);const Pi='AUTHZ_URL_KEY',wr=_0x49793d(0x3d1);let bt=class extends _0x59e757{constructor(_0x22f751,_0x9f69c2){var _0x2af8d2=_0x49793d;super(),this['_HTTPService']=_0x22f751,this[_0x2af8d2(0x3dd)]=_0x9f69c2,this[_0x2af8d2(0x3b1)]();}['_initMergeInterceptor'](){var _0x2b5c2d=_0x49793d;const _0x436454=this;this[_0x2b5c2d(0x307)](this[_0x2b5c2d(0x396)][_0x2b5c2d(0x1e7)]({'priority':0x3e7,'interceptor':_0x1d936c({'isMatch'(_0x5e6a0f){var _0x18a6d5=_0x2b5c2d,_0xa24ea1;if(_0x5e6a0f[_0x18a6d5(0x271)]==='POST'&&((_0xa24ea1=_0x5e6a0f[_0x18a6d5(0x16c)])!=null&&_0xa24ea1[_0x18a6d5(0x3f1)])){const {objectID:_0x1a8c3f,objectType:_0x28c682}=_0x5e6a0f[_0x18a6d5(0x16c)][_0x18a6d5(0x3f1)]||{};if(!_0x1a8c3f||_0x28c682===void 0x0)return!0x1;const _0x4a1772=_0x436454[_0x18a6d5(0x3be)]()+'/'+_0x28c682+_0x18a6d5(0x133)+_0x1a8c3f+_0x18a6d5(0x32f);if(_0x5e6a0f[_0x18a6d5(0x169)]===_0x4a1772)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xe242c9){var _0x240c32=_0x2b5c2d,_0x2ae267;return(_0x2ae267=_0xe242c9[_0x240c32(0x16c)])==null?void 0x0:_0x2ae267['body'];},'mergeParamsToRequest'(_0x4efd12,_0x3e540e){var _0x409a2c=_0x2b5c2d;const _0x73aef3=_0x436454['_getAPIPrefixPath']()+_0x409a2c(0x32d),_0x5a3273=_0x4efd12['reduce']((_0x13c8c4,_0x5b8281)=>{var _0x44c502=_0x409a2c;const {unitID:_0x4ad7c7,objectID:_0xe6b00c,objectType:_0x5bf0ed,actions:_0x3c1901}=_0x5b8281;return _0x13c8c4[_0x4ad7c7]||(_0x13c8c4[_0x4ad7c7]={}),_0x13c8c4[_0x4ad7c7][_0xe6b00c]||(_0x13c8c4[_0x4ad7c7][_0xe6b00c]={'objectID':_0xe6b00c,'objectType':_0x5bf0ed,'actions':[]}),_0x13c8c4[_0x4ad7c7][_0xe6b00c][_0x44c502(0x386)]['push'](..._0x3c1901),_0x13c8c4;},{}),_0x5b1ed0=[];for(const _0x1d017e in _0x5a3273)for(const _0x45640f in _0x5a3273[_0x1d017e]){const {actions:_0x413c27,objectType:_0x501cc0}=_0x5a3273[_0x1d017e][_0x45640f],_0x17da45=[...new Set(_0x413c27)];_0x5b1ed0[_0x409a2c(0x3bf)]({'unitID':_0x1d017e,'objectID':_0x45640f,'objectType':_0x501cc0,'actions':_0x17da45});}return new _0x13d768(_0x409a2c(0x257),_0x73aef3,{'headers':_0x3e540e[_0x409a2c(0x398)],'withCredentials':_0x3e540e[_0x409a2c(0x25e)],'responseType':_0x3e540e[_0x409a2c(0x20b)],'body':{'requests':_0x5b1ed0}});}},{'distributeResult'(_0xcd1cbc,_0x546703){const {objectActions:_0x370295}=_0xcd1cbc;return _0x546703['map'](_0xdb45ed=>{var _0x572daf=_0x4bee;const {unitID:_0x2fcd0d,objectID:_0x3cd7fe,actions:_0x233a5e}=_0xdb45ed,_0x18d439=_0x370295[_0x572daf(0x2f3)](_0x3e6c43=>_0x3e6c43['unitID']===_0x2fcd0d&&_0x3e6c43[_0x572daf(0x37f)]===_0x3cd7fe),_0x4f2f05=_0x233a5e[_0x572daf(0x238)](_0x2f865d=>_0x18d439==null?void 0x0:_0x18d439[_0x572daf(0x386)][_0x572daf(0x2f3)](_0x3f669c=>_0x3f669c[_0x572daf(0x1c7)]===_0x2f865d))[_0x572daf(0x31f)](_0xfcd114=>!!_0xfcd114);return{'config':_0xdb45ed,'result':{'actions':_0x4f2f05,'error':_0xcd1cbc[_0x572daf(0x2a6)]}};});}})}));}[_0x49793d(0x3be)](){var _0x118995=_0x49793d,_0x41fd2a,_0x289ebb;const _0x3fa714=this[_0x118995(0x3dd)][_0x118995(0x27a)](Pi),_0x292006=this[_0x118995(0x3dd)][_0x118995(0x27a)](q);return(_0x289ebb=(_0x41fd2a=_0x292006==null?void 0x0:_0x292006[_0x118995(0x239)])!=null?_0x41fd2a:_0x3fa714)!=null?_0x289ebb:wr;}async[_0x49793d(0x367)](_0x56a31f){var _0x15a375=_0x49793d;const _0x865bd=this[_0x15a375(0x3be)]()+'/'+_0x56a31f[_0x15a375(0x1a3)]+_0x15a375(0x207);return(await this[_0x15a375(0x396)][_0x15a375(0x1a7)](_0x865bd,{'body':_0x56a31f}))[_0x15a375(0x3f1)]['objectID']||'';}async['list'](_0x26da39){var _0x1c5145=_0x49793d;const _0x5219c0=this[_0x1c5145(0x3be)]()+_0x1c5145(0x404);return(await this[_0x1c5145(0x396)][_0x1c5145(0x1a7)](_0x5219c0,{'body':_0x26da39}))[_0x1c5145(0x3f1)]['objects'];}async[_0x49793d(0x3af)](_0x272434){var _0x2bd0e7=_0x49793d;const _0x3b0f82=this[_0x2bd0e7(0x3be)]()+'/'+_0x272434[_0x2bd0e7(0x1a3)]+'/object/'+_0x272434[_0x2bd0e7(0x37f)];await this[_0x2bd0e7(0x396)]['put'](_0x3b0f82,{'body':_0x272434});}async[_0x49793d(0x2f2)](_0x84cbde){var _0x2b4dfd=_0x49793d;const _0x456b8c=this[_0x2b4dfd(0x3be)]()+'/'+_0x84cbde[_0x2b4dfd(0x1a3)]+_0x2b4dfd(0x133)+_0x84cbde['objectID']+_0x2b4dfd(0x32f);return(await this[_0x2b4dfd(0x396)][_0x2b4dfd(0x1a7)](_0x456b8c,{'body':_0x84cbde}))[_0x2b4dfd(0x3f1)][_0x2b4dfd(0x386)];}async['batchAllowed'](_0x43bb01){var _0x4153b0=_0x49793d;const _0xf8dbfd=this[_0x4153b0(0x3be)]()+_0x4153b0(0x32d);return(await this[_0x4153b0(0x396)][_0x4153b0(0x1a7)](_0xf8dbfd,{'body':{'requests':_0x43bb01}}))[_0x4153b0(0x3f1)][_0x4153b0(0x1b5)];}async['listRoles'](_0x51be32){var _0x4a915d=_0x49793d;const _0x1769bd=this[_0x4a915d(0x3be)]()+'/'+_0x51be32[_0x4a915d(0x1a3)]+_0x4a915d(0x2cf),_0x24fd56=await this[_0x4a915d(0x396)][_0x4a915d(0x1a7)](_0x1769bd,{'body':_0x51be32});return{'roles':_0x24fd56[_0x4a915d(0x3f1)]['roles'],'actions':_0x24fd56[_0x4a915d(0x3f1)][_0x4a915d(0x386)]};}async['deleteCollaborator'](_0x371e49){var _0x2b6467=_0x49793d;const _0x3985a3=this[_0x2b6467(0x3be)]()+_0x2b6467(0x25b);await this['_HTTPService']['delete'](_0x3985a3,{'params':{'collaboratorID':_0x371e49[_0x2b6467(0x349)],'objectID':_0x371e49[_0x2b6467(0x37f)],'unitID':_0x371e49['unitID']}});}async['updateCollaborator'](_0x29a06d){var _0x4ffa88=_0x49793d;const _0x480e12=this[_0x4ffa88(0x3be)]()+_0x4ffa88(0x25b);await this[_0x4ffa88(0x396)][_0x4ffa88(0x400)](_0x480e12,{'body':_0x29a06d});}async[_0x49793d(0x1d4)](_0x3a588){var _0x5447f1=_0x49793d;const _0x4d2e2e=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x5447f1(0x396)][_0x5447f1(0x1a7)](_0x4d2e2e,{'body':_0x3a588});}async[_0x49793d(0x288)](_0x260c65){var _0x57c3a8=_0x49793d;const _0x1c68ee=this[_0x57c3a8(0x3be)]()+_0x57c3a8(0x25b);return(await this[_0x57c3a8(0x396)][_0x57c3a8(0x2c8)](_0x1c68ee,{'params':{'objectID':_0x260c65[_0x57c3a8(0x37f)],'unitID':_0x260c65[_0x57c3a8(0x13e)]}}))[_0x57c3a8(0x3f1)][_0x57c3a8(0x180)];}async[_0x49793d(0x163)](_0x378f63){var _0x14d138=_0x49793d;const _0x58ad6d=this[_0x14d138(0x3be)]()+_0x14d138(0x25b);await this[_0x14d138(0x396)][_0x14d138(0x2a5)](_0x58ad6d,{'body':_0x378f63});}};bt=Pr([Xt(0x0,_0x385788(_0x140e67)),Xt(0x1,_0x385788(_0x59c83a))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0xd2904e){var _0x27034a=_0x49793d;return _0xd2904e&&_0xd2904e['__esModule']&&Object[_0x27034a(0x330)][_0x27034a(0x3cb)]['call'](_0xd2904e,_0x27034a(0x1fc))?_0xd2904e[_0x27034a(0x1fc)]:_0xd2904e;}var Ve={'exports':{}};function Ur(_0x5a06bd){var _0x4fd70d=_0x49793d;throw new Error(_0x4fd70d(0x135)+_0x5a06bd+_0x4fd70d(0x260));}var Ge={'exports':{}},Ar=Ge[_0x49793d(0x16a)],Zt;function ne(){var _0x513e76=_0x49793d;return Zt||(Zt=0x1,function(_0xc07cda,_0x3ceca0){(function(_0x151b53,_0x11ba76){var _0x10f369=_0x4bee;_0xc07cda[_0x10f369(0x16a)]=_0x11ba76();}(Ar,function(){var _0x3ebd3d=_0x3ebd3d||function(_0x2d8b11,_0x251006){var _0x399541=_0x4bee,_0x10d35a;if(typeof window<'u'&&window[_0x399541(0x350)]&&(_0x10d35a=window[_0x399541(0x350)]),typeof self<'u'&&self[_0x399541(0x350)]&&(_0x10d35a=self['crypto']),typeof globalThis<'u'&&globalThis[_0x399541(0x350)]&&(_0x10d35a=globalThis[_0x399541(0x350)]),!_0x10d35a&&typeof window<'u'&&window[_0x399541(0x1e5)]&&(_0x10d35a=window[_0x399541(0x1e5)]),!_0x10d35a&&typeof pt<'u'&&pt[_0x399541(0x350)]&&(_0x10d35a=pt['crypto']),!_0x10d35a&&typeof Ur==_0x399541(0x230))try{_0x10d35a=require(_0x399541(0x350));}catch{}var _0x5649b3=function(){var _0x4e9acb=_0x399541;if(_0x10d35a){if(typeof _0x10d35a[_0x4e9acb(0x362)]==_0x4e9acb(0x230))try{return _0x10d35a[_0x4e9acb(0x362)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x10d35a[_0x4e9acb(0x122)]==_0x4e9acb(0x230))try{return _0x10d35a['randomBytes'](0x4)[_0x4e9acb(0x270)]();}catch{}}throw new Error(_0x4e9acb(0x132));},_0x299795=Object['create']||(function(){function _0xefd08a(){}return function(_0x241c57){var _0x156145=_0x4bee,_0x204968;return _0xefd08a[_0x156145(0x330)]=_0x241c57,_0x204968=new _0xefd08a(),_0xefd08a[_0x156145(0x330)]=null,_0x204968;};}()),_0x10b344={},_0x493e32=_0x10b344[_0x399541(0x22d)]={},_0x25052b=_0x493e32[_0x399541(0x3f4)]=(function(){return{'extend':function(_0x5a1793){var _0x43109b=_0x4bee,_0x1aeaaf=_0x299795(this);return _0x5a1793&&_0x1aeaaf[_0x43109b(0x11d)](_0x5a1793),(!_0x1aeaaf['hasOwnProperty'](_0x43109b(0x25d))||this[_0x43109b(0x25d)]===_0x1aeaaf[_0x43109b(0x25d)])&&(_0x1aeaaf['init']=function(){var _0x4eb584=_0x43109b;_0x1aeaaf['$super'][_0x4eb584(0x25d)][_0x4eb584(0x220)](this,arguments);}),_0x1aeaaf[_0x43109b(0x25d)][_0x43109b(0x330)]=_0x1aeaaf,_0x1aeaaf['$super']=this,_0x1aeaaf;},'create':function(){var _0x31548e=_0x4bee,_0x2843a6=this[_0x31548e(0x1d6)]();return _0x2843a6['init']['apply'](_0x2843a6,arguments),_0x2843a6;},'init':function(){},'mixIn':function(_0x163104){var _0x2c3c69=_0x4bee;for(var _0x40c1b4 in _0x163104)_0x163104[_0x2c3c69(0x3cb)](_0x40c1b4)&&(this[_0x40c1b4]=_0x163104[_0x40c1b4]);_0x163104[_0x2c3c69(0x3cb)]('toString')&&(this[_0x2c3c69(0x3c4)]=_0x163104[_0x2c3c69(0x3c4)]);},'clone':function(){var _0x493999=_0x4bee;return this['init'][_0x493999(0x330)]['extend'](this);}};}()),_0x31b12c=_0x493e32[_0x399541(0x328)]=_0x25052b[_0x399541(0x1d6)]({'init':function(_0x20ed57,_0x4f0737){var _0x2401d2=_0x399541;_0x20ed57=this['words']=_0x20ed57||[],_0x4f0737!=_0x251006?this[_0x2401d2(0x244)]=_0x4f0737:this[_0x2401d2(0x244)]=_0x20ed57[_0x2401d2(0x12f)]*0x4;},'toString':function(_0x1172d7){var _0x3d5250=_0x399541;return(_0x1172d7||_0x79f454)[_0x3d5250(0x142)](this);},'concat':function(_0x372d20){var _0x300ec7=_0x399541,_0x30a651=this[_0x300ec7(0x314)],_0x25919=_0x372d20[_0x300ec7(0x314)],_0x5cf5bd=this[_0x300ec7(0x244)],_0x529493=_0x372d20[_0x300ec7(0x244)];if(this['clamp'](),_0x5cf5bd%0x4)for(var _0x3a04f6=0x0;_0x3a04f6<_0x529493;_0x3a04f6++){var _0x4e3822=_0x25919[_0x3a04f6>>>0x2]>>>0x18-_0x3a04f6%0x4*0x8&0xff;_0x30a651[_0x5cf5bd+_0x3a04f6>>>0x2]|=_0x4e3822<<0x18-(_0x5cf5bd+_0x3a04f6)%0x4*0x8;}else{for(var _0x457a36=0x0;_0x457a36<_0x529493;_0x457a36+=0x4)_0x30a651[_0x5cf5bd+_0x457a36>>>0x2]=_0x25919[_0x457a36>>>0x2];}return this[_0x300ec7(0x244)]+=_0x529493,this;},'clamp':function(){var _0x5c4317=_0x399541,_0x10760d=this[_0x5c4317(0x314)],_0x437886=this[_0x5c4317(0x244)];_0x10760d[_0x437886>>>0x2]&=0xffffffff<<0x20-_0x437886%0x4*0x8,_0x10760d[_0x5c4317(0x12f)]=_0x2d8b11[_0x5c4317(0x2e9)](_0x437886/0x4);},'clone':function(){var _0x510b65=_0x399541,_0x527b69=_0x25052b['clone'][_0x510b65(0x1bd)](this);return _0x527b69[_0x510b65(0x314)]=this['words'][_0x510b65(0x3f2)](0x0),_0x527b69;},'random':function(_0x324b14){var _0x2e52c8=_0x399541;for(var _0x6d7b7c=[],_0x1993db=0x0;_0x1993db<_0x324b14;_0x1993db+=0x4)_0x6d7b7c[_0x2e52c8(0x3bf)](_0x5649b3());return new _0x31b12c[(_0x2e52c8(0x25d))](_0x6d7b7c,_0x324b14);}}),_0x334b7d=_0x10b344[_0x399541(0x157)]={},_0x79f454=_0x334b7d['Hex']={'stringify':function(_0x2465af){var _0xcd2a29=_0x399541;for(var _0x5e79e8=_0x2465af[_0xcd2a29(0x314)],_0x1cbcf0=_0x2465af['sigBytes'],_0x19c4b2=[],_0xb5a59b=0x0;_0xb5a59b<_0x1cbcf0;_0xb5a59b++){var _0x2c3891=_0x5e79e8[_0xb5a59b>>>0x2]>>>0x18-_0xb5a59b%0x4*0x8&0xff;_0x19c4b2['push']((_0x2c3891>>>0x4)[_0xcd2a29(0x3c4)](0x10)),_0x19c4b2[_0xcd2a29(0x3bf)]((_0x2c3891&0xf)[_0xcd2a29(0x3c4)](0x10));}return _0x19c4b2['join']('');},'parse':function(_0x1d3961){var _0x50ad1b=_0x399541;for(var _0x1c4532=_0x1d3961[_0x50ad1b(0x12f)],_0x22fa6f=[],_0x1a8fad=0x0;_0x1a8fad<_0x1c4532;_0x1a8fad+=0x2)_0x22fa6f[_0x1a8fad>>>0x3]|=parseInt(_0x1d3961[_0x50ad1b(0x18d)](_0x1a8fad,0x2),0x10)<<0x18-_0x1a8fad%0x8*0x4;return new _0x31b12c[(_0x50ad1b(0x25d))](_0x22fa6f,_0x1c4532/0x2);}},_0x388d21=_0x334b7d['Latin1']={'stringify':function(_0x4e2dca){var _0x584170=_0x399541;for(var _0x4a558d=_0x4e2dca[_0x584170(0x314)],_0x3b8d45=_0x4e2dca['sigBytes'],_0x53db00=[],_0x8bfad4=0x0;_0x8bfad4<_0x3b8d45;_0x8bfad4++){var _0x27ec86=_0x4a558d[_0x8bfad4>>>0x2]>>>0x18-_0x8bfad4%0x4*0x8&0xff;_0x53db00[_0x584170(0x3bf)](String['fromCharCode'](_0x27ec86));}return _0x53db00['join']('');},'parse':function(_0x3b2c25){var _0x2e48ea=_0x399541;for(var _0x2b39c1=_0x3b2c25['length'],_0x4c3211=[],_0x3b765b=0x0;_0x3b765b<_0x2b39c1;_0x3b765b++)_0x4c3211[_0x3b765b>>>0x2]|=(_0x3b2c25['charCodeAt'](_0x3b765b)&0xff)<<0x18-_0x3b765b%0x4*0x8;return new _0x31b12c[(_0x2e48ea(0x25d))](_0x4c3211,_0x2b39c1);}},_0x5cb289=_0x334b7d[_0x399541(0x189)]={'stringify':function(_0x5d72b0){var _0x520f39=_0x399541;try{return decodeURIComponent(escape(_0x388d21['stringify'](_0x5d72b0)));}catch{throw new Error(_0x520f39(0x36d));}},'parse':function(_0x547d2b){var _0x48e0fd=_0x399541;return _0x388d21[_0x48e0fd(0x188)](unescape(encodeURIComponent(_0x547d2b)));}},_0x4a521a=_0x493e32['BufferedBlockAlgorithm']=_0x25052b['extend']({'reset':function(){var _0x39006f=_0x399541;this[_0x39006f(0x151)]=new _0x31b12c[(_0x39006f(0x25d))](),this[_0x39006f(0x2dc)]=0x0;},'_append':function(_0x4d7137){var _0x57fbae=_0x399541;typeof _0x4d7137=='string'&&(_0x4d7137=_0x5cb289[_0x57fbae(0x188)](_0x4d7137)),this[_0x57fbae(0x151)][_0x57fbae(0x299)](_0x4d7137),this[_0x57fbae(0x2dc)]+=_0x4d7137['sigBytes'];},'_process':function(_0x4439f7){var _0xd34b53=_0x399541,_0x465ef1,_0x12ec85=this['_data'],_0x1bd071=_0x12ec85[_0xd34b53(0x314)],_0x5e218c=_0x12ec85[_0xd34b53(0x244)],_0x4e04d1=this[_0xd34b53(0x292)],_0x19e8f5=_0x4e04d1*0x4,_0x55d37b=_0x5e218c/_0x19e8f5;_0x4439f7?_0x55d37b=_0x2d8b11[_0xd34b53(0x2e9)](_0x55d37b):_0x55d37b=_0x2d8b11['max']((_0x55d37b|0x0)-this['_minBufferSize'],0x0);var _0x178159=_0x55d37b*_0x4e04d1,_0x3db24c=_0x2d8b11[_0xd34b53(0x14a)](_0x178159*0x4,_0x5e218c);if(_0x178159){for(var _0x8399ab=0x0;_0x8399ab<_0x178159;_0x8399ab+=_0x4e04d1)this[_0xd34b53(0x2d0)](_0x1bd071,_0x8399ab);_0x465ef1=_0x1bd071['splice'](0x0,_0x178159),_0x12ec85[_0xd34b53(0x244)]-=_0x3db24c;}return new _0x31b12c[(_0xd34b53(0x25d))](_0x465ef1,_0x3db24c);},'clone':function(){var _0x721628=_0x399541,_0x24d3f1=_0x25052b[_0x721628(0x15c)][_0x721628(0x1bd)](this);return _0x24d3f1[_0x721628(0x151)]=this[_0x721628(0x151)][_0x721628(0x15c)](),_0x24d3f1;},'_minBufferSize':0x0});_0x493e32[_0x399541(0x3e3)]=_0x4a521a[_0x399541(0x1d6)]({'cfg':_0x25052b['extend'](),'init':function(_0x4a5b80){var _0xefe11d=_0x399541;this[_0xefe11d(0x2e5)]=this[_0xefe11d(0x2e5)][_0xefe11d(0x1d6)](_0x4a5b80),this[_0xefe11d(0x3a4)]();},'reset':function(){var _0x4b375a=_0x399541;_0x4a521a[_0x4b375a(0x3a4)]['call'](this),this[_0x4b375a(0x1fb)]();},'update':function(_0x375638){var _0x5e8f6f=_0x399541;return this[_0x5e8f6f(0x1b3)](_0x375638),this[_0x5e8f6f(0x40a)](),this;},'finalize':function(_0x47bb23){var _0x469033=_0x399541;_0x47bb23&&this[_0x469033(0x1b3)](_0x47bb23);var _0x400de4=this['_doFinalize']();return _0x400de4;},'blockSize':0x10,'_createHelper':function(_0x17f857){return function(_0x1d5b69,_0x530576){var _0x24e8d5=_0x4bee;return new _0x17f857[(_0x24e8d5(0x25d))](_0x530576)['finalize'](_0x1d5b69);};},'_createHmacHelper':function(_0xc29030){return function(_0x11d3ab,_0x30319a){var _0x4339da=_0x4bee;return new _0xe11a57[(_0x4339da(0x26d))][(_0x4339da(0x25d))](_0xc29030,_0x30319a)[_0x4339da(0x390)](_0x11d3ab);};}});var _0xe11a57=_0x10b344[_0x399541(0x24e)]={};return _0x10b344;}(Math);return _0x3ebd3d;}));}(Ge)),Ge[_0x513e76(0x16a)];}var We={'exports':{}},xr=We[_0x49793d(0x16a)],Qt;function wi(){return Qt||(Qt=0x1,function(_0x12efac,_0x2d55ba){(function(_0x3a7c7f,_0x44915b){var _0x384614=_0x4bee;_0x12efac[_0x384614(0x16a)]=_0x44915b(ne());}(xr,function(_0x217957){var _0x165d07=_0x4bee;return(function(){var _0x4594f2=_0x4bee,_0x318799=_0x217957,_0x12814b=_0x318799[_0x4594f2(0x22d)],_0x39bf6f=_0x12814b[_0x4594f2(0x328)],_0x384b66=_0x318799[_0x4594f2(0x157)];_0x384b66[_0x4594f2(0x31a)]={'stringify':function(_0x454581){var _0x109356=_0x4594f2,_0x2750f4=_0x454581[_0x109356(0x314)],_0x32a84d=_0x454581[_0x109356(0x244)],_0x5e0cfd=this[_0x109356(0x2a3)];_0x454581[_0x109356(0x168)]();for(var _0x407e2e=[],_0xce0802=0x0;_0xce0802<_0x32a84d;_0xce0802+=0x3)for(var _0x191b86=_0x2750f4[_0xce0802>>>0x2]>>>0x18-_0xce0802%0x4*0x8&0xff,_0x393a53=_0x2750f4[_0xce0802+0x1>>>0x2]>>>0x18-(_0xce0802+0x1)%0x4*0x8&0xff,_0x3c26f7=_0x2750f4[_0xce0802+0x2>>>0x2]>>>0x18-(_0xce0802+0x2)%0x4*0x8&0xff,_0x506efb=_0x191b86<<0x10|_0x393a53<<0x8|_0x3c26f7,_0x2031ca=0x0;_0x2031ca<0x4&&_0xce0802+_0x2031ca*0.75<_0x32a84d;_0x2031ca++)_0x407e2e[_0x109356(0x3bf)](_0x5e0cfd['charAt'](_0x506efb>>>0x6*(0x3-_0x2031ca)&0x3f));var _0x101236=_0x5e0cfd['charAt'](0x40);if(_0x101236){for(;_0x407e2e[_0x109356(0x12f)]%0x4;)_0x407e2e[_0x109356(0x3bf)](_0x101236);}return _0x407e2e[_0x109356(0x1e6)]('');},'parse':function(_0x45cdad){var _0x3f1e1c=_0x4594f2,_0x17886b=_0x45cdad['length'],_0x8cd855=this[_0x3f1e1c(0x2a3)],_0x21ef27=this['_reverseMap'];if(!_0x21ef27){_0x21ef27=this[_0x3f1e1c(0x341)]=[];for(var _0x55f971=0x0;_0x55f971<_0x8cd855[_0x3f1e1c(0x12f)];_0x55f971++)_0x21ef27[_0x8cd855[_0x3f1e1c(0x1fd)](_0x55f971)]=_0x55f971;}var _0x369365=_0x8cd855[_0x3f1e1c(0x273)](0x40);if(_0x369365){var _0x7d5b14=_0x45cdad[_0x3f1e1c(0x1e0)](_0x369365);_0x7d5b14!==-0x1&&(_0x17886b=_0x7d5b14);}return _0x1486d1(_0x45cdad,_0x17886b,_0x21ef27);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x1486d1(_0x2947bc,_0x434e80,_0x3325f9){var _0x1f28e3=_0x4594f2;for(var _0x337647=[],_0x2de6a5=0x0,_0x3a64a5=0x0;_0x3a64a5<_0x434e80;_0x3a64a5++)if(_0x3a64a5%0x4){var _0x921008=_0x3325f9[_0x2947bc['charCodeAt'](_0x3a64a5-0x1)]<<_0x3a64a5%0x4*0x2,_0x843002=_0x3325f9[_0x2947bc[_0x1f28e3(0x1fd)](_0x3a64a5)]>>>0x6-_0x3a64a5%0x4*0x2,_0x58c3ca=_0x921008|_0x843002;_0x337647[_0x2de6a5>>>0x2]|=_0x58c3ca<<0x18-_0x2de6a5%0x4*0x8,_0x2de6a5++;}return _0x39bf6f[_0x1f28e3(0x367)](_0x337647,_0x2de6a5);}}()),_0x217957['enc'][_0x165d07(0x31a)];}));}(We)),We['exports'];}var Ke={'exports':{}},Lr=Ke[_0x49793d(0x16a)],ei;function Mr(){var _0x24171b=_0x49793d;return ei||(ei=0x1,function(_0x38b773,_0x5a0387){(function(_0xec632b,_0x170273){var _0x48232d=_0x4bee;_0x38b773[_0x48232d(0x16a)]=_0x170273(ne());}(Lr,function(_0x3210c0){var _0x4979f2=_0x4bee;return function(_0x27f53b){var _0xf988ec=_0x4bee,_0x4fbf50=_0x3210c0,_0x398aab=_0x4fbf50[_0xf988ec(0x22d)],_0x18c05f=_0x398aab[_0xf988ec(0x328)],_0x107772=_0x398aab['Hasher'],_0x17b58e=_0x4fbf50[_0xf988ec(0x24e)],_0x23e971=[];(function(){var _0x4f9aef=_0xf988ec;for(var _0x4e1f2e=0x0;_0x4e1f2e<0x40;_0x4e1f2e++)_0x23e971[_0x4e1f2e]=_0x27f53b[_0x4f9aef(0x35b)](_0x27f53b['sin'](_0x4e1f2e+0x1))*0x100000000|0x0;}());var _0x16d2c3=_0x17b58e[_0xf988ec(0x322)]=_0x107772[_0xf988ec(0x1d6)]({'_doReset':function(){var _0x145d17=_0xf988ec;this[_0x145d17(0x13b)]=new _0x18c05f[(_0x145d17(0x25d))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x19aace,_0x42b496){var _0x3c85ec=_0xf988ec;for(var _0xade797=0x0;_0xade797<0x10;_0xade797++){var _0x34d550=_0x42b496+_0xade797,_0x16ed27=_0x19aace[_0x34d550];_0x19aace[_0x34d550]=(_0x16ed27<<0x8|_0x16ed27>>>0x18)&0xff00ff|(_0x16ed27<<0x18|_0x16ed27>>>0x8)&0xff00ff00;}var _0x54b297=this[_0x3c85ec(0x13b)]['words'],_0x3ba608=_0x19aace[_0x42b496+0x0],_0xa73016=_0x19aace[_0x42b496+0x1],_0x2272fd=_0x19aace[_0x42b496+0x2],_0x3e2992=_0x19aace[_0x42b496+0x3],_0x2395d7=_0x19aace[_0x42b496+0x4],_0x5f375d=_0x19aace[_0x42b496+0x5],_0x8a731d=_0x19aace[_0x42b496+0x6],_0x1ae8c8=_0x19aace[_0x42b496+0x7],_0x47ea46=_0x19aace[_0x42b496+0x8],_0xcc1ed=_0x19aace[_0x42b496+0x9],_0xf5547b=_0x19aace[_0x42b496+0xa],_0x4335bf=_0x19aace[_0x42b496+0xb],_0x47557a=_0x19aace[_0x42b496+0xc],_0x5a4c10=_0x19aace[_0x42b496+0xd],_0x569af9=_0x19aace[_0x42b496+0xe],_0x3f9ea6=_0x19aace[_0x42b496+0xf],_0xb44825=_0x54b297[0x0],_0x1ae697=_0x54b297[0x1],_0x2dc488=_0x54b297[0x2],_0x45aade=_0x54b297[0x3];_0xb44825=_0x2d4173(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0x3ba608,0x7,_0x23e971[0x0]),_0x45aade=_0x2d4173(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0xa73016,0xc,_0x23e971[0x1]),_0x2dc488=_0x2d4173(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x2272fd,0x11,_0x23e971[0x2]),_0x1ae697=_0x2d4173(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x3e2992,0x16,_0x23e971[0x3]),_0xb44825=_0x2d4173(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0x2395d7,0x7,_0x23e971[0x4]),_0x45aade=_0x2d4173(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x5f375d,0xc,_0x23e971[0x5]),_0x2dc488=_0x2d4173(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x8a731d,0x11,_0x23e971[0x6]),_0x1ae697=_0x2d4173(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x1ae8c8,0x16,_0x23e971[0x7]),_0xb44825=_0x2d4173(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0x47ea46,0x7,_0x23e971[0x8]),_0x45aade=_0x2d4173(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0xcc1ed,0xc,_0x23e971[0x9]),_0x2dc488=_0x2d4173(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0xf5547b,0x11,_0x23e971[0xa]),_0x1ae697=_0x2d4173(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x4335bf,0x16,_0x23e971[0xb]),_0xb44825=_0x2d4173(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0x47557a,0x7,_0x23e971[0xc]),_0x45aade=_0x2d4173(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x5a4c10,0xc,_0x23e971[0xd]),_0x2dc488=_0x2d4173(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x569af9,0x11,_0x23e971[0xe]),_0x1ae697=_0x2d4173(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x3f9ea6,0x16,_0x23e971[0xf]),_0xb44825=_0x5e6bdc(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0xa73016,0x5,_0x23e971[0x10]),_0x45aade=_0x5e6bdc(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x8a731d,0x9,_0x23e971[0x11]),_0x2dc488=_0x5e6bdc(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x4335bf,0xe,_0x23e971[0x12]),_0x1ae697=_0x5e6bdc(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x3ba608,0x14,_0x23e971[0x13]),_0xb44825=_0x5e6bdc(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0x5f375d,0x5,_0x23e971[0x14]),_0x45aade=_0x5e6bdc(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0xf5547b,0x9,_0x23e971[0x15]),_0x2dc488=_0x5e6bdc(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x3f9ea6,0xe,_0x23e971[0x16]),_0x1ae697=_0x5e6bdc(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x2395d7,0x14,_0x23e971[0x17]),_0xb44825=_0x5e6bdc(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0xcc1ed,0x5,_0x23e971[0x18]),_0x45aade=_0x5e6bdc(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x569af9,0x9,_0x23e971[0x19]),_0x2dc488=_0x5e6bdc(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x3e2992,0xe,_0x23e971[0x1a]),_0x1ae697=_0x5e6bdc(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x47ea46,0x14,_0x23e971[0x1b]),_0xb44825=_0x5e6bdc(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0x5a4c10,0x5,_0x23e971[0x1c]),_0x45aade=_0x5e6bdc(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x2272fd,0x9,_0x23e971[0x1d]),_0x2dc488=_0x5e6bdc(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x1ae8c8,0xe,_0x23e971[0x1e]),_0x1ae697=_0x5e6bdc(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x47557a,0x14,_0x23e971[0x1f]),_0xb44825=_0x4a62f6(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0x5f375d,0x4,_0x23e971[0x20]),_0x45aade=_0x4a62f6(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x47ea46,0xb,_0x23e971[0x21]),_0x2dc488=_0x4a62f6(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x4335bf,0x10,_0x23e971[0x22]),_0x1ae697=_0x4a62f6(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x569af9,0x17,_0x23e971[0x23]),_0xb44825=_0x4a62f6(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0xa73016,0x4,_0x23e971[0x24]),_0x45aade=_0x4a62f6(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x2395d7,0xb,_0x23e971[0x25]),_0x2dc488=_0x4a62f6(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x1ae8c8,0x10,_0x23e971[0x26]),_0x1ae697=_0x4a62f6(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0xf5547b,0x17,_0x23e971[0x27]),_0xb44825=_0x4a62f6(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0x5a4c10,0x4,_0x23e971[0x28]),_0x45aade=_0x4a62f6(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x3ba608,0xb,_0x23e971[0x29]),_0x2dc488=_0x4a62f6(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x3e2992,0x10,_0x23e971[0x2a]),_0x1ae697=_0x4a62f6(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x8a731d,0x17,_0x23e971[0x2b]),_0xb44825=_0x4a62f6(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0xcc1ed,0x4,_0x23e971[0x2c]),_0x45aade=_0x4a62f6(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x47557a,0xb,_0x23e971[0x2d]),_0x2dc488=_0x4a62f6(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x3f9ea6,0x10,_0x23e971[0x2e]),_0x1ae697=_0x4a62f6(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x2272fd,0x17,_0x23e971[0x2f]),_0xb44825=_0x2c2f33(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0x3ba608,0x6,_0x23e971[0x30]),_0x45aade=_0x2c2f33(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x1ae8c8,0xa,_0x23e971[0x31]),_0x2dc488=_0x2c2f33(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x569af9,0xf,_0x23e971[0x32]),_0x1ae697=_0x2c2f33(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x5f375d,0x15,_0x23e971[0x33]),_0xb44825=_0x2c2f33(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0x47557a,0x6,_0x23e971[0x34]),_0x45aade=_0x2c2f33(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x3e2992,0xa,_0x23e971[0x35]),_0x2dc488=_0x2c2f33(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0xf5547b,0xf,_0x23e971[0x36]),_0x1ae697=_0x2c2f33(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0xa73016,0x15,_0x23e971[0x37]),_0xb44825=_0x2c2f33(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0x47ea46,0x6,_0x23e971[0x38]),_0x45aade=_0x2c2f33(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x3f9ea6,0xa,_0x23e971[0x39]),_0x2dc488=_0x2c2f33(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x8a731d,0xf,_0x23e971[0x3a]),_0x1ae697=_0x2c2f33(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0x5a4c10,0x15,_0x23e971[0x3b]),_0xb44825=_0x2c2f33(_0xb44825,_0x1ae697,_0x2dc488,_0x45aade,_0x2395d7,0x6,_0x23e971[0x3c]),_0x45aade=_0x2c2f33(_0x45aade,_0xb44825,_0x1ae697,_0x2dc488,_0x4335bf,0xa,_0x23e971[0x3d]),_0x2dc488=_0x2c2f33(_0x2dc488,_0x45aade,_0xb44825,_0x1ae697,_0x2272fd,0xf,_0x23e971[0x3e]),_0x1ae697=_0x2c2f33(_0x1ae697,_0x2dc488,_0x45aade,_0xb44825,_0xcc1ed,0x15,_0x23e971[0x3f]),_0x54b297[0x0]=_0x54b297[0x0]+_0xb44825|0x0,_0x54b297[0x1]=_0x54b297[0x1]+_0x1ae697|0x0,_0x54b297[0x2]=_0x54b297[0x2]+_0x2dc488|0x0,_0x54b297[0x3]=_0x54b297[0x3]+_0x45aade|0x0;},'_doFinalize':function(){var _0x3ef3c8=_0xf988ec,_0x48d127=this['_data'],_0x51211e=_0x48d127[_0x3ef3c8(0x314)],_0x35be60=this[_0x3ef3c8(0x2dc)]*0x8,_0x384a1d=_0x48d127[_0x3ef3c8(0x244)]*0x8;_0x51211e[_0x384a1d>>>0x5]|=0x80<<0x18-_0x384a1d%0x20;var _0xae8154=_0x27f53b[_0x3ef3c8(0x173)](_0x35be60/0x100000000),_0x199b46=_0x35be60;_0x51211e[(_0x384a1d+0x40>>>0x9<<0x4)+0xf]=(_0xae8154<<0x8|_0xae8154>>>0x18)&0xff00ff|(_0xae8154<<0x18|_0xae8154>>>0x8)&0xff00ff00,_0x51211e[(_0x384a1d+0x40>>>0x9<<0x4)+0xe]=(_0x199b46<<0x8|_0x199b46>>>0x18)&0xff00ff|(_0x199b46<<0x18|_0x199b46>>>0x8)&0xff00ff00,_0x48d127[_0x3ef3c8(0x244)]=(_0x51211e[_0x3ef3c8(0x12f)]+0x1)*0x4,this[_0x3ef3c8(0x40a)]();for(var _0x40678f=this['_hash'],_0x582c11=_0x40678f['words'],_0x3fef3b=0x0;_0x3fef3b<0x4;_0x3fef3b++){var _0x31e628=_0x582c11[_0x3fef3b];_0x582c11[_0x3fef3b]=(_0x31e628<<0x8|_0x31e628>>>0x18)&0xff00ff|(_0x31e628<<0x18|_0x31e628>>>0x8)&0xff00ff00;}return _0x40678f;},'clone':function(){var _0x1a96bf=_0xf988ec,_0x35e6b3=_0x107772['clone'][_0x1a96bf(0x1bd)](this);return _0x35e6b3[_0x1a96bf(0x13b)]=this[_0x1a96bf(0x13b)][_0x1a96bf(0x15c)](),_0x35e6b3;}});function _0x2d4173(_0x30de7f,_0x1cdd30,_0x3a3dce,_0x34ab3e,_0x46e8fc,_0x5739eb,_0x44f0fe){var _0x3a8b41=_0x30de7f+(_0x1cdd30&_0x3a3dce|~_0x1cdd30&_0x34ab3e)+_0x46e8fc+_0x44f0fe;return(_0x3a8b41<<_0x5739eb|_0x3a8b41>>>0x20-_0x5739eb)+_0x1cdd30;}function _0x5e6bdc(_0x1e9a24,_0x5c895c,_0x164375,_0x1b0a90,_0x56313f,_0x205d45,_0x5e3630){var _0x5caa77=_0x1e9a24+(_0x5c895c&_0x1b0a90|_0x164375&~_0x1b0a90)+_0x56313f+_0x5e3630;return(_0x5caa77<<_0x205d45|_0x5caa77>>>0x20-_0x205d45)+_0x5c895c;}function _0x4a62f6(_0x54d66a,_0x55b985,_0x51d299,_0x4ea7ca,_0x560a03,_0x10e486,_0x1fd3b3){var _0x28a3ac=_0x54d66a+(_0x55b985^_0x51d299^_0x4ea7ca)+_0x560a03+_0x1fd3b3;return(_0x28a3ac<<_0x10e486|_0x28a3ac>>>0x20-_0x10e486)+_0x55b985;}function _0x2c2f33(_0x4f2ed8,_0x336039,_0x2a9045,_0x525f0f,_0x36673f,_0xf5f2c9,_0x3756e5){var _0x3512a3=_0x4f2ed8+(_0x2a9045^(_0x336039|~_0x525f0f))+_0x36673f+_0x3756e5;return(_0x3512a3<<_0xf5f2c9|_0x3512a3>>>0x20-_0xf5f2c9)+_0x336039;}_0x4fbf50['MD5']=_0x107772[_0xf988ec(0x1ad)](_0x16d2c3),_0x4fbf50['HmacMD5']=_0x107772[_0xf988ec(0x156)](_0x16d2c3);}(Math),_0x3210c0[_0x4979f2(0x322)];}));}(Ke)),Ke[_0x24171b(0x16a)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x49793d(0x16a)],ti;function Hr(){var _0x597de9=_0x49793d;return ti||(ti=0x1,function(_0x122d27,_0x3e4828){(function(_0x78d87,_0x547842){var _0x397047=_0x4bee;_0x122d27[_0x397047(0x16a)]=_0x547842(ne());}($r,function(_0x99ea53){var _0xdacb5a=_0x4bee;return(function(){var _0x2ebe49=_0x4bee,_0x1d047d=_0x99ea53,_0x45178a=_0x1d047d[_0x2ebe49(0x22d)],_0x1c2798=_0x45178a[_0x2ebe49(0x328)],_0x31f40b=_0x45178a[_0x2ebe49(0x3e3)],_0x488f72=_0x1d047d[_0x2ebe49(0x24e)],_0x428881=[],_0x4941d5=_0x488f72['SHA1']=_0x31f40b[_0x2ebe49(0x1d6)]({'_doReset':function(){var _0x5a5895=_0x2ebe49;this[_0x5a5895(0x13b)]=new _0x1c2798[(_0x5a5895(0x25d))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2d01d2,_0x41f625){var _0x5a3adc=_0x2ebe49;for(var _0x71226a=this[_0x5a3adc(0x13b)]['words'],_0x25ac70=_0x71226a[0x0],_0x508053=_0x71226a[0x1],_0x596991=_0x71226a[0x2],_0x196272=_0x71226a[0x3],_0x8c30c2=_0x71226a[0x4],_0x10aede=0x0;_0x10aede<0x50;_0x10aede++){if(_0x10aede<0x10)_0x428881[_0x10aede]=_0x2d01d2[_0x41f625+_0x10aede]|0x0;else{var _0x580223=_0x428881[_0x10aede-0x3]^_0x428881[_0x10aede-0x8]^_0x428881[_0x10aede-0xe]^_0x428881[_0x10aede-0x10];_0x428881[_0x10aede]=_0x580223<<0x1|_0x580223>>>0x1f;}var _0x48eca5=(_0x25ac70<<0x5|_0x25ac70>>>0x1b)+_0x8c30c2+_0x428881[_0x10aede];_0x10aede<0x14?_0x48eca5+=(_0x508053&_0x596991|~_0x508053&_0x196272)+0x5a827999:_0x10aede<0x28?_0x48eca5+=(_0x508053^_0x596991^_0x196272)+0x6ed9eba1:_0x10aede<0x3c?_0x48eca5+=(_0x508053&_0x596991|_0x508053&_0x196272|_0x596991&_0x196272)-0x70e44324:_0x48eca5+=(_0x508053^_0x596991^_0x196272)-0x359d3e2a,_0x8c30c2=_0x196272,_0x196272=_0x596991,_0x596991=_0x508053<<0x1e|_0x508053>>>0x2,_0x508053=_0x25ac70,_0x25ac70=_0x48eca5;}_0x71226a[0x0]=_0x71226a[0x0]+_0x25ac70|0x0,_0x71226a[0x1]=_0x71226a[0x1]+_0x508053|0x0,_0x71226a[0x2]=_0x71226a[0x2]+_0x596991|0x0,_0x71226a[0x3]=_0x71226a[0x3]+_0x196272|0x0,_0x71226a[0x4]=_0x71226a[0x4]+_0x8c30c2|0x0;},'_doFinalize':function(){var _0x5f019e=_0x2ebe49,_0x4ce5c6=this[_0x5f019e(0x151)],_0x185371=_0x4ce5c6['words'],_0x58feb7=this[_0x5f019e(0x2dc)]*0x8,_0x25f00d=_0x4ce5c6[_0x5f019e(0x244)]*0x8;return _0x185371[_0x25f00d>>>0x5]|=0x80<<0x18-_0x25f00d%0x20,_0x185371[(_0x25f00d+0x40>>>0x9<<0x4)+0xe]=Math[_0x5f019e(0x173)](_0x58feb7/0x100000000),_0x185371[(_0x25f00d+0x40>>>0x9<<0x4)+0xf]=_0x58feb7,_0x4ce5c6[_0x5f019e(0x244)]=_0x185371[_0x5f019e(0x12f)]*0x4,this[_0x5f019e(0x40a)](),this[_0x5f019e(0x13b)];},'clone':function(){var _0x4b36f2=_0x2ebe49,_0x79e864=_0x31f40b[_0x4b36f2(0x15c)][_0x4b36f2(0x1bd)](this);return _0x79e864[_0x4b36f2(0x13b)]=this[_0x4b36f2(0x13b)]['clone'](),_0x79e864;}});_0x1d047d[_0x2ebe49(0x2ff)]=_0x31f40b['_createHelper'](_0x4941d5),_0x1d047d['HmacSHA1']=_0x31f40b['_createHmacHelper'](_0x4941d5);}()),_0x99ea53[_0xdacb5a(0x2ff)];}));}(qe)),qe[_0x597de9(0x16a)];}var ze={'exports':{}},kr=ze['exports'],ii;function jr(){return ii||(ii=0x1,function(_0x305871,_0x596365){(function(_0x4de659,_0x480f84){var _0x3f9378=_0x4bee;_0x305871[_0x3f9378(0x16a)]=_0x480f84(ne());}(kr,function(_0x2daa1b){(function(){var _0x394cdb=_0x4bee,_0xa281f9=_0x2daa1b,_0x42d6c1=_0xa281f9[_0x394cdb(0x22d)],_0x53922a=_0x42d6c1['Base'],_0x4cf24c=_0xa281f9[_0x394cdb(0x157)],_0x52ff86=_0x4cf24c[_0x394cdb(0x189)],_0x465414=_0xa281f9[_0x394cdb(0x24e)];_0x465414[_0x394cdb(0x26d)]=_0x53922a[_0x394cdb(0x1d6)]({'init':function(_0x4f3ca3,_0x51a55e){var _0x25c80f=_0x394cdb;_0x4f3ca3=this[_0x25c80f(0x2f4)]=new _0x4f3ca3[(_0x25c80f(0x25d))](),typeof _0x51a55e==_0x25c80f(0x198)&&(_0x51a55e=_0x52ff86[_0x25c80f(0x188)](_0x51a55e));var _0x42446a=_0x4f3ca3[_0x25c80f(0x292)],_0x4aac33=_0x42446a*0x4;_0x51a55e['sigBytes']>_0x4aac33&&(_0x51a55e=_0x4f3ca3[_0x25c80f(0x390)](_0x51a55e)),_0x51a55e['clamp']();for(var _0x25953e=this['_oKey']=_0x51a55e[_0x25c80f(0x15c)](),_0x3b6094=this[_0x25c80f(0x19d)]=_0x51a55e['clone'](),_0x3d0125=_0x25953e[_0x25c80f(0x314)],_0x2ac299=_0x3b6094['words'],_0x68c0d7=0x0;_0x68c0d7<_0x42446a;_0x68c0d7++)_0x3d0125[_0x68c0d7]^=0x5c5c5c5c,_0x2ac299[_0x68c0d7]^=0x36363636;_0x25953e[_0x25c80f(0x244)]=_0x3b6094['sigBytes']=_0x4aac33,this[_0x25c80f(0x3a4)]();},'reset':function(){var _0x4596cc=_0x394cdb,_0x486594=this[_0x4596cc(0x2f4)];_0x486594[_0x4596cc(0x3a4)](),_0x486594[_0x4596cc(0x3af)](this[_0x4596cc(0x19d)]);},'update':function(_0x43d950){var _0x13a938=_0x394cdb;return this[_0x13a938(0x2f4)][_0x13a938(0x3af)](_0x43d950),this;},'finalize':function(_0x2564f2){var _0x1b3863=_0x394cdb,_0x5b1890=this['_hasher'],_0x1e1d87=_0x5b1890[_0x1b3863(0x390)](_0x2564f2);_0x5b1890[_0x1b3863(0x3a4)]();var _0xafb6eb=_0x5b1890[_0x1b3863(0x390)](this['_oKey'][_0x1b3863(0x15c)]()[_0x1b3863(0x299)](_0x1e1d87));return _0xafb6eb;}});}());}));}(ze)),ze['exports'];}var Br=Ye['exports'],ni;function Ui(){var _0x472d11=_0x49793d;return ni||(ni=0x1,function(_0x138311,_0x538edd){(function(_0x9f7dbf,_0x3e983c,_0x5ddf87){_0x138311['exports']=_0x3e983c(ne(),Hr(),jr());}(Br,function(_0x266963){var _0x53441f=_0x4bee;return(function(){var _0x5a0e34=_0x4bee,_0x4d931e=_0x266963,_0x4f7833=_0x4d931e[_0x5a0e34(0x22d)],_0x41c717=_0x4f7833['Base'],_0x406791=_0x4f7833[_0x5a0e34(0x328)],_0x4fedd8=_0x4d931e['algo'],_0x6ba1e7=_0x4fedd8[_0x5a0e34(0x322)],_0x8dce4b=_0x4fedd8['EvpKDF']=_0x41c717[_0x5a0e34(0x1d6)]({'cfg':_0x41c717[_0x5a0e34(0x1d6)]({'keySize':0x80/0x20,'hasher':_0x6ba1e7,'iterations':0x1}),'init':function(_0x4dafcc){var _0xdfcc3a=_0x5a0e34;this[_0xdfcc3a(0x2e5)]=this[_0xdfcc3a(0x2e5)][_0xdfcc3a(0x1d6)](_0x4dafcc);},'compute':function(_0x46a2ed,_0x4d6f37){var _0x93c1e6=_0x5a0e34;for(var _0xf4649a,_0x30b20f=this['cfg'],_0xe803ef=_0x30b20f[_0x93c1e6(0x138)][_0x93c1e6(0x367)](),_0x4db380=_0x406791[_0x93c1e6(0x367)](),_0x287504=_0x4db380['words'],_0x251149=_0x30b20f[_0x93c1e6(0x116)],_0x5ce863=_0x30b20f['iterations'];_0x287504[_0x93c1e6(0x12f)]<_0x251149;){_0xf4649a&&_0xe803ef[_0x93c1e6(0x3af)](_0xf4649a),_0xf4649a=_0xe803ef[_0x93c1e6(0x3af)](_0x46a2ed)[_0x93c1e6(0x390)](_0x4d6f37),_0xe803ef['reset']();for(var _0x2cdd54=0x1;_0x2cdd54<_0x5ce863;_0x2cdd54++)_0xf4649a=_0xe803ef[_0x93c1e6(0x390)](_0xf4649a),_0xe803ef[_0x93c1e6(0x3a4)]();_0x4db380[_0x93c1e6(0x299)](_0xf4649a);}return _0x4db380[_0x93c1e6(0x244)]=_0x251149*0x4,_0x4db380;}});_0x4d931e['EvpKDF']=function(_0x50985f,_0x254237,_0x3211a4){var _0x47d116=_0x5a0e34;return _0x8dce4b['create'](_0x3211a4)[_0x47d116(0x15e)](_0x50985f,_0x254237);};}()),_0x266963[_0x53441f(0x14e)];}));}(Ye)),Ye[_0x472d11(0x16a)];}var Je={'exports':{}},Fr=Je[_0x49793d(0x16a)],ri;function Ai(){var _0x50608b=_0x49793d;return ri||(ri=0x1,function(_0x4acd51,_0x10f76){(function(_0x389bf4,_0x2a724c,_0x10b83c){var _0x2a5829=_0x4bee;_0x4acd51[_0x2a5829(0x16a)]=_0x2a724c(ne(),Ui());}(Fr,function(_0x3b9ba0){var _0x1a3c8e=_0x4bee;_0x3b9ba0['lib'][_0x1a3c8e(0x23a)]||function(_0x5d7dea){var _0x5df8c8=_0x1a3c8e,_0x42c056=_0x3b9ba0,_0x54acc2=_0x42c056[_0x5df8c8(0x22d)],_0x5141db=_0x54acc2[_0x5df8c8(0x3f4)],_0x513599=_0x54acc2[_0x5df8c8(0x328)],_0x4adf2e=_0x54acc2[_0x5df8c8(0x3e2)],_0x431754=_0x42c056[_0x5df8c8(0x157)];_0x431754['Utf8'];var _0x10bd79=_0x431754[_0x5df8c8(0x31a)],_0x5c6c4b=_0x42c056['algo'],_0x54d8e0=_0x5c6c4b[_0x5df8c8(0x14e)],_0x19b2ca=_0x54acc2[_0x5df8c8(0x23a)]=_0x4adf2e[_0x5df8c8(0x1d6)]({'cfg':_0x5141db['extend'](),'createEncryptor':function(_0x43f079,_0x2e3549){var _0x460dc9=_0x5df8c8;return this['create'](this[_0x460dc9(0x190)],_0x43f079,_0x2e3549);},'createDecryptor':function(_0x123e9f,_0x46ef65){var _0x17808e=_0x5df8c8;return this[_0x17808e(0x367)](this[_0x17808e(0x11f)],_0x123e9f,_0x46ef65);},'init':function(_0x5782d1,_0x15389f,_0x256650){var _0x2cb218=_0x5df8c8;this[_0x2cb218(0x2e5)]=this[_0x2cb218(0x2e5)][_0x2cb218(0x1d6)](_0x256650),this[_0x2cb218(0x3a1)]=_0x5782d1,this[_0x2cb218(0x3ae)]=_0x15389f,this[_0x2cb218(0x3a4)]();},'reset':function(){var _0x3c273d=_0x5df8c8;_0x4adf2e[_0x3c273d(0x3a4)]['call'](this),this[_0x3c273d(0x1fb)]();},'process':function(_0x3e68be){return this['_append'](_0x3e68be),this['_process']();},'finalize':function(_0x95350c){_0x95350c&&this['_append'](_0x95350c);var _0x159423=this['_doFinalize']();return _0x159423;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x116e6f(_0x576d47){return typeof _0x576d47=='string'?_0x4fce5a:_0x269372;}return function(_0x573bb2){return{'encrypt':function(_0x1ce654,_0x1968e4,_0x4464c3){return _0x116e6f(_0x1968e4)['encrypt'](_0x573bb2,_0x1ce654,_0x1968e4,_0x4464c3);},'decrypt':function(_0x2a8f1b,_0x1211b8,_0x248d4a){var _0x50a925=_0x4bee;return _0x116e6f(_0x1211b8)[_0x50a925(0x30a)](_0x573bb2,_0x2a8f1b,_0x1211b8,_0x248d4a);}};};}())});_0x54acc2[_0x5df8c8(0x3f9)]=_0x19b2ca['extend']({'_doFinalize':function(){var _0x931392=_0x5df8c8,_0x109a0f=this[_0x931392(0x40a)](!0x0);return _0x109a0f;},'blockSize':0x1});var _0x1acc10=_0x42c056['mode']={},_0x6fafd5=_0x54acc2[_0x5df8c8(0x11e)]=_0x5141db['extend']({'createEncryptor':function(_0xbccf78,_0x17c864){var _0x4e4565=_0x5df8c8;return this[_0x4e4565(0x410)][_0x4e4565(0x367)](_0xbccf78,_0x17c864);},'createDecryptor':function(_0x19c12f,_0x43cba1){var _0x333efa=_0x5df8c8;return this[_0x333efa(0x36e)][_0x333efa(0x367)](_0x19c12f,_0x43cba1);},'init':function(_0x28e874,_0x33785b){var _0x3de0f4=_0x5df8c8;this[_0x3de0f4(0x204)]=_0x28e874,this['_iv']=_0x33785b;}}),_0x2031e4=_0x1acc10[_0x5df8c8(0x1df)]=(function(){var _0x395359=_0x5df8c8,_0x1be6fe=_0x6fafd5['extend']();_0x1be6fe['Encryptor']=_0x1be6fe[_0x395359(0x1d6)]({'processBlock':function(_0x458f4c,_0x2cc2d0){var _0x3001f4=_0x395359,_0x569479=this[_0x3001f4(0x204)],_0x49566e=_0x569479[_0x3001f4(0x292)];_0x2cdffa[_0x3001f4(0x1bd)](this,_0x458f4c,_0x2cc2d0,_0x49566e),_0x569479[_0x3001f4(0x41a)](_0x458f4c,_0x2cc2d0),this[_0x3001f4(0x1e1)]=_0x458f4c[_0x3001f4(0x3f2)](_0x2cc2d0,_0x2cc2d0+_0x49566e);}}),_0x1be6fe['Decryptor']=_0x1be6fe[_0x395359(0x1d6)]({'processBlock':function(_0x4a9d03,_0x376f3a){var _0x18771e=_0x395359,_0x5e4a5a=this['_cipher'],_0x1ca523=_0x5e4a5a[_0x18771e(0x292)],_0x22bac7=_0x4a9d03['slice'](_0x376f3a,_0x376f3a+_0x1ca523);_0x5e4a5a[_0x18771e(0x123)](_0x4a9d03,_0x376f3a),_0x2cdffa[_0x18771e(0x1bd)](this,_0x4a9d03,_0x376f3a,_0x1ca523),this[_0x18771e(0x1e1)]=_0x22bac7;}});function _0x2cdffa(_0x4cb7c0,_0x57d625,_0x28ea97){var _0x28f650=_0x395359,_0x37b478,_0x3d35f2=this[_0x28f650(0x356)];_0x3d35f2?(_0x37b478=_0x3d35f2,this[_0x28f650(0x356)]=_0x5d7dea):_0x37b478=this[_0x28f650(0x1e1)];for(var _0x21dff6=0x0;_0x21dff6<_0x28ea97;_0x21dff6++)_0x4cb7c0[_0x57d625+_0x21dff6]^=_0x37b478[_0x21dff6];}return _0x1be6fe;}()),_0x267acb=_0x42c056[_0x5df8c8(0x369)]={},_0x59d3ae=_0x267acb[_0x5df8c8(0x2fb)]={'pad':function(_0x166ac6,_0x3bcfab){var _0x4f1bec=_0x5df8c8;for(var _0x4d1ddb=_0x3bcfab*0x4,_0x4f708e=_0x4d1ddb-_0x166ac6[_0x4f1bec(0x244)]%_0x4d1ddb,_0x185418=_0x4f708e<<0x18|_0x4f708e<<0x10|_0x4f708e<<0x8|_0x4f708e,_0x6519c4=[],_0x5029c5=0x0;_0x5029c5<_0x4f708e;_0x5029c5+=0x4)_0x6519c4[_0x4f1bec(0x3bf)](_0x185418);var _0x46fe22=_0x513599[_0x4f1bec(0x367)](_0x6519c4,_0x4f708e);_0x166ac6[_0x4f1bec(0x299)](_0x46fe22);},'unpad':function(_0x479329){var _0x47c032=_0x5df8c8,_0x351f29=_0x479329[_0x47c032(0x314)][_0x479329[_0x47c032(0x244)]-0x1>>>0x2]&0xff;_0x479329[_0x47c032(0x244)]-=_0x351f29;}};_0x54acc2[_0x5df8c8(0x21d)]=_0x19b2ca['extend']({'cfg':_0x19b2ca[_0x5df8c8(0x2e5)][_0x5df8c8(0x1d6)]({'mode':_0x2031e4,'padding':_0x59d3ae}),'reset':function(){var _0x4759b7=_0x5df8c8,_0xa8f61f;_0x19b2ca[_0x4759b7(0x3a4)][_0x4759b7(0x1bd)](this);var _0x179781=this[_0x4759b7(0x2e5)],_0x544029=_0x179781['iv'],_0x2a1676=_0x179781[_0x4759b7(0x18c)];this[_0x4759b7(0x3a1)]==this['_ENC_XFORM_MODE']?_0xa8f61f=_0x2a1676[_0x4759b7(0x2bc)]:(_0xa8f61f=_0x2a1676[_0x4759b7(0x2d7)],this[_0x4759b7(0x1b7)]=0x1),this[_0x4759b7(0x1ff)]&&this[_0x4759b7(0x1ff)]['__creator']==_0xa8f61f?this[_0x4759b7(0x1ff)][_0x4759b7(0x25d)](this,_0x544029&&_0x544029[_0x4759b7(0x314)]):(this[_0x4759b7(0x1ff)]=_0xa8f61f[_0x4759b7(0x1bd)](_0x2a1676,this,_0x544029&&_0x544029[_0x4759b7(0x314)]),this[_0x4759b7(0x1ff)]['__creator']=_0xa8f61f);},'_doProcessBlock':function(_0x1d023d,_0x3d8f79){var _0x1a6929=_0x5df8c8;this[_0x1a6929(0x1ff)][_0x1a6929(0x216)](_0x1d023d,_0x3d8f79);},'_doFinalize':function(){var _0x9ca393=_0x5df8c8,_0x54962f,_0x4fda47=this[_0x9ca393(0x2e5)][_0x9ca393(0x2f6)];return this[_0x9ca393(0x3a1)]==this[_0x9ca393(0x190)]?(_0x4fda47[_0x9ca393(0x369)](this[_0x9ca393(0x151)],this[_0x9ca393(0x292)]),_0x54962f=this[_0x9ca393(0x40a)](!0x0)):(_0x54962f=this[_0x9ca393(0x40a)](!0x0),_0x4fda47[_0x9ca393(0x1dc)](_0x54962f)),_0x54962f;},'blockSize':0x80/0x20});var _0x172158=_0x54acc2[_0x5df8c8(0x113)]=_0x5141db[_0x5df8c8(0x1d6)]({'init':function(_0x51bc5b){var _0x13c290=_0x5df8c8;this[_0x13c290(0x11d)](_0x51bc5b);},'toString':function(_0x2aafee){var _0x1ba603=_0x5df8c8;return(_0x2aafee||this[_0x1ba603(0x3ef)])[_0x1ba603(0x142)](this);}}),_0x190099=_0x42c056[_0x5df8c8(0x195)]={},_0x26d3d6=_0x190099[_0x5df8c8(0x2e7)]={'stringify':function(_0x1cd9d7){var _0x46d2d4=_0x5df8c8,_0x194ec7,_0x44b264=_0x1cd9d7[_0x46d2d4(0x2a7)],_0x3daa51=_0x1cd9d7[_0x46d2d4(0x2af)];return _0x3daa51?_0x194ec7=_0x513599['create']([0x53616c74,0x65645f5f])[_0x46d2d4(0x299)](_0x3daa51)[_0x46d2d4(0x299)](_0x44b264):_0x194ec7=_0x44b264,_0x194ec7[_0x46d2d4(0x3c4)](_0x10bd79);},'parse':function(_0x5a67e5){var _0x311189=_0x5df8c8,_0x25794d,_0x3c516a=_0x10bd79[_0x311189(0x188)](_0x5a67e5),_0x499fa3=_0x3c516a[_0x311189(0x314)];return _0x499fa3[0x0]==0x53616c74&&_0x499fa3[0x1]==0x65645f5f&&(_0x25794d=_0x513599[_0x311189(0x367)](_0x499fa3[_0x311189(0x3f2)](0x2,0x4)),_0x499fa3['splice'](0x0,0x4),_0x3c516a[_0x311189(0x244)]-=0x10),_0x172158[_0x311189(0x367)]({'ciphertext':_0x3c516a,'salt':_0x25794d});}},_0x269372=_0x54acc2[_0x5df8c8(0x2c1)]=_0x5141db[_0x5df8c8(0x1d6)]({'cfg':_0x5141db[_0x5df8c8(0x1d6)]({'format':_0x26d3d6}),'encrypt':function(_0x585e68,_0x2a2f77,_0x12b2cb,_0xbe0ba4){var _0x534d9d=_0x5df8c8;_0xbe0ba4=this[_0x534d9d(0x2e5)][_0x534d9d(0x1d6)](_0xbe0ba4);var _0x2a1883=_0x585e68[_0x534d9d(0x2bc)](_0x12b2cb,_0xbe0ba4),_0x275740=_0x2a1883[_0x534d9d(0x390)](_0x2a2f77),_0x5072d6=_0x2a1883[_0x534d9d(0x2e5)];return _0x172158['create']({'ciphertext':_0x275740,'key':_0x12b2cb,'iv':_0x5072d6['iv'],'algorithm':_0x585e68,'mode':_0x5072d6['mode'],'padding':_0x5072d6['padding'],'blockSize':_0x585e68[_0x534d9d(0x292)],'formatter':_0xbe0ba4[_0x534d9d(0x195)]});},'decrypt':function(_0x4e3b65,_0x5dc3a7,_0x5aed44,_0x3d83ca){var _0x36d660=_0x5df8c8;_0x3d83ca=this[_0x36d660(0x2e5)]['extend'](_0x3d83ca),_0x5dc3a7=this[_0x36d660(0x35c)](_0x5dc3a7,_0x3d83ca['format']);var _0x3afecb=_0x4e3b65[_0x36d660(0x2d7)](_0x5aed44,_0x3d83ca)[_0x36d660(0x390)](_0x5dc3a7['ciphertext']);return _0x3afecb;},'_parse':function(_0x4c5a40,_0x126fe4){var _0x59ec4c=_0x5df8c8;return typeof _0x4c5a40==_0x59ec4c(0x198)?_0x126fe4[_0x59ec4c(0x188)](_0x4c5a40,this):_0x4c5a40;}}),_0x492e46=_0x42c056[_0x5df8c8(0x403)]={},_0x23a242=_0x492e46[_0x5df8c8(0x2e7)]={'execute':function(_0x5603d1,_0x16dc65,_0x271c61,_0x5d9af0,_0x9ba3c2){var _0xf6d93f=_0x5df8c8;if(_0x5d9af0||(_0x5d9af0=_0x513599['random'](0x40/0x8)),_0x9ba3c2)var _0xe2200b=_0x54d8e0['create']({'keySize':_0x16dc65+_0x271c61,'hasher':_0x9ba3c2})['compute'](_0x5603d1,_0x5d9af0);else var _0xe2200b=_0x54d8e0[_0xf6d93f(0x367)]({'keySize':_0x16dc65+_0x271c61})[_0xf6d93f(0x15e)](_0x5603d1,_0x5d9af0);var _0x2a92a2=_0x513599[_0xf6d93f(0x367)](_0xe2200b[_0xf6d93f(0x314)][_0xf6d93f(0x3f2)](_0x16dc65),_0x271c61*0x4);return _0xe2200b[_0xf6d93f(0x244)]=_0x16dc65*0x4,_0x172158[_0xf6d93f(0x367)]({'key':_0xe2200b,'iv':_0x2a92a2,'salt':_0x5d9af0});}},_0x4fce5a=_0x54acc2['PasswordBasedCipher']=_0x269372['extend']({'cfg':_0x269372[_0x5df8c8(0x2e5)]['extend']({'kdf':_0x23a242}),'encrypt':function(_0x3123f2,_0x39bcc3,_0x416c3f,_0x4a4000){var _0x29bd40=_0x5df8c8;_0x4a4000=this[_0x29bd40(0x2e5)][_0x29bd40(0x1d6)](_0x4a4000);var _0x26b879=_0x4a4000[_0x29bd40(0x403)][_0x29bd40(0x3f3)](_0x416c3f,_0x3123f2[_0x29bd40(0x116)],_0x3123f2[_0x29bd40(0x11b)],_0x4a4000[_0x29bd40(0x2af)],_0x4a4000[_0x29bd40(0x138)]);_0x4a4000['iv']=_0x26b879['iv'];var _0x256df1=_0x269372['encrypt'][_0x29bd40(0x1bd)](this,_0x3123f2,_0x39bcc3,_0x26b879[_0x29bd40(0x3b2)],_0x4a4000);return _0x256df1['mixIn'](_0x26b879),_0x256df1;},'decrypt':function(_0x2618cb,_0x57b28e,_0x4354dc,_0x271b11){var _0x3ab83e=_0x5df8c8;_0x271b11=this['cfg']['extend'](_0x271b11),_0x57b28e=this[_0x3ab83e(0x35c)](_0x57b28e,_0x271b11['format']);var _0x498290=_0x271b11['kdf'][_0x3ab83e(0x3f3)](_0x4354dc,_0x2618cb[_0x3ab83e(0x116)],_0x2618cb[_0x3ab83e(0x11b)],_0x57b28e[_0x3ab83e(0x2af)],_0x271b11[_0x3ab83e(0x138)]);_0x271b11['iv']=_0x498290['iv'];var _0xbe4a6f=_0x269372[_0x3ab83e(0x30a)][_0x3ab83e(0x1bd)](this,_0x2618cb,_0x57b28e,_0x498290[_0x3ab83e(0x3b2)],_0x271b11);return _0xbe4a6f;}});}();}));}(Je)),Je[_0x50608b(0x16a)];}var Vr=Ve[_0x49793d(0x16a)],si;function Gr(){return si||(si=0x1,function(_0x34c9a1,_0x2c4ab7){(function(_0x35794e,_0x27f358,_0x100146){var _0x5b222b=_0x4bee;_0x34c9a1[_0x5b222b(0x16a)]=_0x27f358(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x2f970b){return(function(){var _0x5d83fb=_0x4bee,_0x265d31=_0x2f970b,_0x584e3a=_0x265d31[_0x5d83fb(0x22d)],_0x279bc9=_0x584e3a['BlockCipher'],_0x474b47=_0x265d31['algo'],_0x58051f=[],_0x2ed79a=[],_0x4b1110=[],_0x15bb6a=[],_0x1a26b1=[],_0x272546=[],_0x1fc516=[],_0x3739e5=[],_0x496e10=[],_0x2d0035=[];(function(){for(var _0x544974=[],_0xe6dcc5=0x0;_0xe6dcc5<0x100;_0xe6dcc5++)_0xe6dcc5<0x80?_0x544974[_0xe6dcc5]=_0xe6dcc5<<0x1:_0x544974[_0xe6dcc5]=_0xe6dcc5<<0x1^0x11b;for(var _0x5d3fcc=0x0,_0x4cbb89=0x0,_0xe6dcc5=0x0;_0xe6dcc5<0x100;_0xe6dcc5++){var _0x3f701a=_0x4cbb89^_0x4cbb89<<0x1^_0x4cbb89<<0x2^_0x4cbb89<<0x3^_0x4cbb89<<0x4;_0x3f701a=_0x3f701a>>>0x8^_0x3f701a&0xff^0x63,_0x58051f[_0x5d3fcc]=_0x3f701a,_0x2ed79a[_0x3f701a]=_0x5d3fcc;var _0x9384dc=_0x544974[_0x5d3fcc],_0x458944=_0x544974[_0x9384dc],_0x198430=_0x544974[_0x458944],_0x29c955=_0x544974[_0x3f701a]*0x101^_0x3f701a*0x1010100;_0x4b1110[_0x5d3fcc]=_0x29c955<<0x18|_0x29c955>>>0x8,_0x15bb6a[_0x5d3fcc]=_0x29c955<<0x10|_0x29c955>>>0x10,_0x1a26b1[_0x5d3fcc]=_0x29c955<<0x8|_0x29c955>>>0x18,_0x272546[_0x5d3fcc]=_0x29c955;var _0x29c955=_0x198430*0x1010101^_0x458944*0x10001^_0x9384dc*0x101^_0x5d3fcc*0x1010100;_0x1fc516[_0x3f701a]=_0x29c955<<0x18|_0x29c955>>>0x8,_0x3739e5[_0x3f701a]=_0x29c955<<0x10|_0x29c955>>>0x10,_0x496e10[_0x3f701a]=_0x29c955<<0x8|_0x29c955>>>0x18,_0x2d0035[_0x3f701a]=_0x29c955,_0x5d3fcc?(_0x5d3fcc=_0x9384dc^_0x544974[_0x544974[_0x544974[_0x198430^_0x9384dc]]],_0x4cbb89^=_0x544974[_0x544974[_0x4cbb89]]):_0x5d3fcc=_0x4cbb89=0x1;}}());var _0x19d504=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x27c5ed=_0x474b47[_0x5d83fb(0x1d3)]=_0x279bc9[_0x5d83fb(0x1d6)]({'_doReset':function(){var _0x37b043=_0x5d83fb,_0x9032cd;if(!(this[_0x37b043(0x3d4)]&&this[_0x37b043(0x2a1)]===this['_key'])){for(var _0x5eb2d7=this[_0x37b043(0x2a1)]=this[_0x37b043(0x3ae)],_0x359298=_0x5eb2d7[_0x37b043(0x314)],_0x2ca011=_0x5eb2d7[_0x37b043(0x244)]/0x4,_0x585b36=this['_nRounds']=_0x2ca011+0x6,_0x4847dd=(_0x585b36+0x1)*0x4,_0x482c4e=this['_keySchedule']=[],_0x865978=0x0;_0x865978<_0x4847dd;_0x865978++)_0x865978<_0x2ca011?_0x482c4e[_0x865978]=_0x359298[_0x865978]:(_0x9032cd=_0x482c4e[_0x865978-0x1],_0x865978%_0x2ca011?_0x2ca011>0x6&&_0x865978%_0x2ca011==0x4&&(_0x9032cd=_0x58051f[_0x9032cd>>>0x18]<<0x18|_0x58051f[_0x9032cd>>>0x10&0xff]<<0x10|_0x58051f[_0x9032cd>>>0x8&0xff]<<0x8|_0x58051f[_0x9032cd&0xff]):(_0x9032cd=_0x9032cd<<0x8|_0x9032cd>>>0x18,_0x9032cd=_0x58051f[_0x9032cd>>>0x18]<<0x18|_0x58051f[_0x9032cd>>>0x10&0xff]<<0x10|_0x58051f[_0x9032cd>>>0x8&0xff]<<0x8|_0x58051f[_0x9032cd&0xff],_0x9032cd^=_0x19d504[_0x865978/_0x2ca011|0x0]<<0x18),_0x482c4e[_0x865978]=_0x482c4e[_0x865978-_0x2ca011]^_0x9032cd);for(var _0x2179de=this[_0x37b043(0x33c)]=[],_0x2ec05a=0x0;_0x2ec05a<_0x4847dd;_0x2ec05a++){var _0x865978=_0x4847dd-_0x2ec05a;if(_0x2ec05a%0x4)var _0x9032cd=_0x482c4e[_0x865978];else var _0x9032cd=_0x482c4e[_0x865978-0x4];_0x2ec05a<0x4||_0x865978<=0x4?_0x2179de[_0x2ec05a]=_0x9032cd:_0x2179de[_0x2ec05a]=_0x1fc516[_0x58051f[_0x9032cd>>>0x18]]^_0x3739e5[_0x58051f[_0x9032cd>>>0x10&0xff]]^_0x496e10[_0x58051f[_0x9032cd>>>0x8&0xff]]^_0x2d0035[_0x58051f[_0x9032cd&0xff]];}}},'encryptBlock':function(_0x4eda9d,_0x1526fa){var _0x5c006e=_0x5d83fb;this['_doCryptBlock'](_0x4eda9d,_0x1526fa,this[_0x5c006e(0x40b)],_0x4b1110,_0x15bb6a,_0x1a26b1,_0x272546,_0x58051f);},'decryptBlock':function(_0x2c410a,_0x5ab158){var _0x1e20f4=_0x5d83fb,_0x33d4bf=_0x2c410a[_0x5ab158+0x1];_0x2c410a[_0x5ab158+0x1]=_0x2c410a[_0x5ab158+0x3],_0x2c410a[_0x5ab158+0x3]=_0x33d4bf,this['_doCryptBlock'](_0x2c410a,_0x5ab158,this[_0x1e20f4(0x33c)],_0x1fc516,_0x3739e5,_0x496e10,_0x2d0035,_0x2ed79a);var _0x33d4bf=_0x2c410a[_0x5ab158+0x1];_0x2c410a[_0x5ab158+0x1]=_0x2c410a[_0x5ab158+0x3],_0x2c410a[_0x5ab158+0x3]=_0x33d4bf;},'_doCryptBlock':function(_0x35d053,_0xf3e04,_0x4ee8c8,_0x2404c4,_0x124044,_0x520eba,_0x36ceb0,_0x11361d){var _0x375a48=_0x5d83fb;for(var _0x59f18f=this[_0x375a48(0x3d4)],_0x56d36e=_0x35d053[_0xf3e04]^_0x4ee8c8[0x0],_0x1364bf=_0x35d053[_0xf3e04+0x1]^_0x4ee8c8[0x1],_0x3ff7a5=_0x35d053[_0xf3e04+0x2]^_0x4ee8c8[0x2],_0x480a99=_0x35d053[_0xf3e04+0x3]^_0x4ee8c8[0x3],_0x14adbf=0x4,_0x5630d1=0x1;_0x5630d1<_0x59f18f;_0x5630d1++){var _0x46a771=_0x2404c4[_0x56d36e>>>0x18]^_0x124044[_0x1364bf>>>0x10&0xff]^_0x520eba[_0x3ff7a5>>>0x8&0xff]^_0x36ceb0[_0x480a99&0xff]^_0x4ee8c8[_0x14adbf++],_0x50ffff=_0x2404c4[_0x1364bf>>>0x18]^_0x124044[_0x3ff7a5>>>0x10&0xff]^_0x520eba[_0x480a99>>>0x8&0xff]^_0x36ceb0[_0x56d36e&0xff]^_0x4ee8c8[_0x14adbf++],_0x233c03=_0x2404c4[_0x3ff7a5>>>0x18]^_0x124044[_0x480a99>>>0x10&0xff]^_0x520eba[_0x56d36e>>>0x8&0xff]^_0x36ceb0[_0x1364bf&0xff]^_0x4ee8c8[_0x14adbf++],_0x287bbd=_0x2404c4[_0x480a99>>>0x18]^_0x124044[_0x56d36e>>>0x10&0xff]^_0x520eba[_0x1364bf>>>0x8&0xff]^_0x36ceb0[_0x3ff7a5&0xff]^_0x4ee8c8[_0x14adbf++];_0x56d36e=_0x46a771,_0x1364bf=_0x50ffff,_0x3ff7a5=_0x233c03,_0x480a99=_0x287bbd;}var _0x46a771=(_0x11361d[_0x56d36e>>>0x18]<<0x18|_0x11361d[_0x1364bf>>>0x10&0xff]<<0x10|_0x11361d[_0x3ff7a5>>>0x8&0xff]<<0x8|_0x11361d[_0x480a99&0xff])^_0x4ee8c8[_0x14adbf++],_0x50ffff=(_0x11361d[_0x1364bf>>>0x18]<<0x18|_0x11361d[_0x3ff7a5>>>0x10&0xff]<<0x10|_0x11361d[_0x480a99>>>0x8&0xff]<<0x8|_0x11361d[_0x56d36e&0xff])^_0x4ee8c8[_0x14adbf++],_0x233c03=(_0x11361d[_0x3ff7a5>>>0x18]<<0x18|_0x11361d[_0x480a99>>>0x10&0xff]<<0x10|_0x11361d[_0x56d36e>>>0x8&0xff]<<0x8|_0x11361d[_0x1364bf&0xff])^_0x4ee8c8[_0x14adbf++],_0x287bbd=(_0x11361d[_0x480a99>>>0x18]<<0x18|_0x11361d[_0x56d36e>>>0x10&0xff]<<0x10|_0x11361d[_0x1364bf>>>0x8&0xff]<<0x8|_0x11361d[_0x3ff7a5&0xff])^_0x4ee8c8[_0x14adbf++];_0x35d053[_0xf3e04]=_0x46a771,_0x35d053[_0xf3e04+0x1]=_0x50ffff,_0x35d053[_0xf3e04+0x2]=_0x233c03,_0x35d053[_0xf3e04+0x3]=_0x287bbd;},'keySize':0x100/0x20});_0x265d31[_0x5d83fb(0x1d3)]=_0x279bc9['_createHelper'](_0x27c5ed);}()),_0x2f970b['AES'];}));}(Ve)),Ve['exports'];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x49793d(0x16a)],ai;function zr(){var _0x22915b=_0x49793d;return ai||(ai=0x1,function(_0x3429cd,_0x53fca5){(function(_0x41b02b,_0x544b40){var _0x2bdb1c=_0x4bee;_0x3429cd[_0x2bdb1c(0x16a)]=_0x544b40(ne());}(qr,function(_0x1775a8){var _0x8e762e=_0x4bee;return _0x1775a8['enc'][_0x8e762e(0x189)];}));}(Xe)),Xe[_0x22915b(0x16a)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze['exports'],ci;function Qr(){return ci||(ci=0x1,function(_0x387535,_0x25aabf){(function(_0x45372a,_0x33a55e){var _0x39b885=_0x4bee;_0x387535[_0x39b885(0x16a)]=_0x33a55e(ne());}(Zr,function(_0x9359a9){var _0x55935b=_0x4bee;return(function(){var _0x57484d=_0x4bee;if(typeof ArrayBuffer==_0x57484d(0x230)){var _0x693400=_0x9359a9,_0x353e58=_0x693400[_0x57484d(0x22d)],_0x592fee=_0x353e58[_0x57484d(0x328)],_0x43c883=_0x592fee[_0x57484d(0x25d)],_0x3cb42b=_0x592fee[_0x57484d(0x25d)]=function(_0x12b886){var _0x134aa9=_0x57484d;if(_0x12b886 instanceof ArrayBuffer&&(_0x12b886=new Uint8Array(_0x12b886)),(_0x12b886 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x12b886 instanceof Uint8ClampedArray||_0x12b886 instanceof Int16Array||_0x12b886 instanceof Uint16Array||_0x12b886 instanceof Int32Array||_0x12b886 instanceof Uint32Array||_0x12b886 instanceof Float32Array||_0x12b886 instanceof Float64Array)&&(_0x12b886=new Uint8Array(_0x12b886[_0x134aa9(0x365)],_0x12b886['byteOffset'],_0x12b886['byteLength'])),_0x12b886 instanceof Uint8Array){for(var _0x506282=_0x12b886['byteLength'],_0x4ad5f5=[],_0x466536=0x0;_0x466536<_0x506282;_0x466536++)_0x4ad5f5[_0x466536>>>0x2]|=_0x12b886[_0x466536]<<0x18-_0x466536%0x4*0x8;_0x43c883[_0x134aa9(0x1bd)](this,_0x4ad5f5,_0x506282);}else _0x43c883['apply'](this,arguments);};_0x3cb42b[_0x57484d(0x330)]=_0x592fee;}}()),_0x9359a9['lib'][_0x55935b(0x328)];}));}(Ze)),Ze['exports'];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){var _0x2fb776=_0x49793d;return hi||(hi=0x1,function(_0x5ad713,_0x27bf3a){(function(_0x445e63,_0x45e0e1,_0x19ad16){var _0x260db7=_0x4bee;_0x5ad713[_0x260db7(0x16a)]=_0x45e0e1(ne(),Ai());}(is,function(_0x458cdc){var _0x1f25fd=_0x4bee;return _0x458cdc['pad'][_0x1f25fd(0x256)]={'pad':function(){},'unpad':function(){}},_0x458cdc['pad'][_0x1f25fd(0x256)];}));}(Qe)),Qe[_0x2fb776(0x16a)];}var rs=ns();const ss=ke(rs);function os(_0x5da380,_0x198b04){var _0x3edad1=_0x49793d;const _0x2ec1e8=_0x198b04-_0x5da380[_0x3edad1(0x12f)]%_0x198b04,_0x43ef29=String[_0x3edad1(0x235)](_0x2ec1e8)[_0x3edad1(0x165)](_0x2ec1e8);return _0x5da380+_0x43ef29;}function as(_0x3841ea,_0x4e5d1a){var _0x1ebc75=_0x49793d;const _0x4d8a2c=ts[_0x1ebc75(0x3e6)](0x10),_0x38316a=os(_0x3841ea,0x10),_0x2631d2=Kr[_0x1ebc75(0x382)](Xr[_0x1ebc75(0x188)](_0x38316a),oi[_0x1ebc75(0x188)](_0x4e5d1a),{'iv':_0x4d8a2c,'padding':ss});return _0x4d8a2c['concat'](_0x2631d2[_0x1ebc75(0x2a7)])[_0x1ebc75(0x3c4)](oi);}function cs(){var _0x1bfd01=_0x49793d;const _0x27378a=_0x3c65aa()[_0x1bfd01(0x34c)];if(_0x27378a){const _0x2b1a88={'time':Math[_0x1bfd01(0x173)](Date[_0x1bfd01(0x1b8)]()/0x3e8),'domain':location['hostname']};return as(JSON['stringify'](_0x2b1a88),_0x27378a);}}var hs=Object[_0x49793d(0x2b7)],_s=Object[_0x49793d(0x2fc)],ls=(_0x2cf3b6,_0x7906c7,_0x23a21f,_0x20b701)=>{var _0x2931cd=_0x49793d;for(var _0x3d7da1=_0x20b701>0x1?void 0x0:_0x20b701?_s(_0x7906c7,_0x23a21f):_0x7906c7,_0x356296=_0x2cf3b6[_0x2931cd(0x12f)]-0x1,_0x10d3f0;_0x356296>=0x0;_0x356296--)(_0x10d3f0=_0x2cf3b6[_0x356296])&&(_0x3d7da1=(_0x20b701?_0x10d3f0(_0x7906c7,_0x23a21f,_0x3d7da1):_0x10d3f0(_0x3d7da1))||_0x3d7da1);return _0x20b701&&_0x3d7da1&&hs(_0x7906c7,_0x23a21f,_0x3d7da1),_0x3d7da1;},us=(_0x109fd6,_0x4bd426)=>(_0x5367d9,_0x3a9310)=>_0x4bd426(_0x5367d9,_0x3a9310,_0x109fd6);let ot=class{constructor(_0x42fc87){var _0x7928d3=_0x49793d;this[_0x7928d3(0x206)]=_0x42fc87,this['_initRequestHeader']();}[_0x49793d(0x2e3)](){var _0x3a05ce=_0x49793d;this[_0x3a05ce(0x206)][_0x3a05ce(0x1e7)]({'interceptor':(_0x21b437,_0x16eab1)=>{var _0x38325f=_0x3a05ce;const _0x219f31=_0x21b437[_0x38325f(0x398)],_0x5a5ddf=cs();return _0x5a5ddf&&_0x219f31[_0x38325f(0x12e)](_0x38325f(0x40d),_0x5a5ddf),_0x16eab1(_0x21b437);}});}};ot=ls([us(0x0,_0x385788(_0x140e67))],ot);var ds=Object[_0x49793d(0x2b7)],fs=Object[_0x49793d(0x2fc)],vs=(_0x164cc6,_0x430ab6,_0x218713,_0x59cc8f)=>{var _0x179c26=_0x49793d;for(var _0x135564=_0x59cc8f>0x1?void 0x0:_0x59cc8f?fs(_0x430ab6,_0x218713):_0x430ab6,_0x224a0c=_0x164cc6[_0x179c26(0x12f)]-0x1,_0x4a19a4;_0x224a0c>=0x0;_0x224a0c--)(_0x4a19a4=_0x164cc6[_0x224a0c])&&(_0x135564=(_0x59cc8f?_0x4a19a4(_0x430ab6,_0x218713,_0x135564):_0x4a19a4(_0x135564))||_0x135564);return _0x59cc8f&&_0x135564&&ds(_0x430ab6,_0x218713,_0x135564),_0x135564;},mt=(_0x7ff17f,_0x2cd5a9)=>(_0x598a45,_0x2c7fe0)=>_0x2cd5a9(_0x598a45,_0x2c7fe0,_0x7ff17f);let Ot=class extends _0x366443{constructor(_0xc28220,_0xf0ff73,_0x56d1c5){var _0x1c0fed=_0x49793d;super(),N(this,'_unitInfo$',new _0x2c2109(null)),N(this,_0x1c0fed(0x162),this[_0x1c0fed(0x253)][_0x1c0fed(0x1c6)]()),(this[_0x1c0fed(0x172)]=_0xc28220,this['_snapshotService']=_0xf0ff73,this['_localCacheService']=_0x56d1c5);}async[_0x49793d(0x334)](_0x30fcb3,_0x25772d,_0x158315){var _0x3f0731=_0x49793d;this[_0x3f0731(0x253)]['next']({'unitId':_0x30fcb3,'type':_0x25772d,'subUnitId':_0x158315});let _0x5c89ca=null;switch(_0x25772d){case Q[_0x3f0731(0x305)]:{_0x5c89ca=await this[_0x3f0731(0x36a)](_0x30fcb3);break;}case Q[_0x3f0731(0x281)]:{_0x5c89ca=await this[_0x3f0731(0x24c)](_0x30fcb3);break;}default:{this['_logService'][_0x3f0731(0x2a6)](_0x3f0731(0x3b5),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x5c89ca;}async[_0x49793d(0x36a)](_0x3c09f2){var _0x5b15f0=_0x49793d,_0x3bee71;let _0x10e057=0x0;const _0x17989b=await((_0x3bee71=this[_0x5b15f0(0x38a)])==null?void 0x0:_0x3bee71['loadOfflineData'](_0x3c09f2));return _0x17989b&&(_0x17989b['awaitingChangeset']||_0x17989b[_0x5b15f0(0x261)]['length']!==0x0)&&(_0x10e057=_0x17989b[_0x5b15f0(0x3a7)]),_0x10e057===0x0&&this['_logService']['debug'](_0x5b15f0(0x3b5),_0x5b15f0(0x267)),this[_0x5b15f0(0x164)][_0x5b15f0(0x18e)](_0x3c09f2,_0x10e057);}async[_0x49793d(0x24c)](_0x1e4e92){var _0x52f40c=_0x49793d,_0x56d868;let _0x55a90a=0x0;const _0x21c6ac=await((_0x56d868=this[_0x52f40c(0x38a)])==null?void 0x0:_0x56d868[_0x52f40c(0x12b)](_0x1e4e92));return _0x21c6ac&&(_0x21c6ac[_0x52f40c(0x240)]||_0x21c6ac[_0x52f40c(0x261)][_0x52f40c(0x12f)]!==0x0)&&(_0x55a90a=_0x21c6ac[_0x52f40c(0x3a7)]),_0x55a90a===0x0&&this[_0x52f40c(0x172)][_0x52f40c(0x31d)]('[DataLoaderService]',_0x52f40c(0x267)),this[_0x52f40c(0x164)]['loadDoc'](_0x1e4e92,_0x55a90a);}};Ot=vs([mt(0x0,_0x1b7927),mt(0x1,_0x385788(_0x41462f)),mt(0x2,_0xd81374(J))],Ot);var ps=Object[_0x49793d(0x2b7)],ms=Object[_0x49793d(0x2fc)],gs=(_0x326aa2,_0x41aa80,_0x2637f9,_0x166883)=>{var _0x1b464f=_0x49793d;for(var _0x32a13e=_0x166883>0x1?void 0x0:_0x166883?ms(_0x41aa80,_0x2637f9):_0x41aa80,_0x72119e=_0x326aa2[_0x1b464f(0x12f)]-0x1,_0x2c9870;_0x72119e>=0x0;_0x72119e--)(_0x2c9870=_0x326aa2[_0x72119e])&&(_0x32a13e=(_0x166883?_0x2c9870(_0x41aa80,_0x2637f9,_0x32a13e):_0x2c9870(_0x32a13e))||_0x32a13e);return _0x166883&&_0x32a13e&&ps(_0x41aa80,_0x2637f9,_0x32a13e),_0x32a13e;},gt=(_0x29c367,_0x12e832)=>(_0x35cba8,_0x4037af)=>_0x12e832(_0x35cba8,_0x4037af,_0x29c367);const Ss=[_0x49793d(0x20a),_0x49793d(0x31e),'image/jpg',_0x49793d(0x1ab),_0x49793d(0x1a4)],Es=0x5*0x400*0x400,Is=_0x49793d(0x287),Ts=_0x49793d(0x30f),Cs='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Rs=_0x49793d(0x2fd);let yt=class{constructor(_0x262d19,_0x5b89eb,_0xe9676){var _0x492db8=_0x49793d;N(this,_0x492db8(0x391),0x0),N(this,_0x492db8(0x22a),new _0x2e441e()),N(this,'change$',this[_0x492db8(0x22a)]),N(this,_0x492db8(0x393),new Map()),(this['_httpService']=_0x262d19,this['_configService']=_0x5b89eb,this[_0x492db8(0x3fa)]=_0xe9676);}[_0x49793d(0x182)](_0x30386d){var _0x145797=_0x49793d;this[_0x145797(0x391)]=_0x30386d,this[_0x145797(0x22a)][_0x145797(0x33d)](_0x30386d);}[_0x49793d(0x2ce)](_0x56de3a,_0x524ca9){var _0x869398=_0x49793d;if(_0x524ca9===_0x1b2324[_0x869398(0x3bc)]){const _0x9b6c7c=new Image();return _0x9b6c7c[_0x869398(0x37e)]=_0x56de3a,_0x9b6c7c;}return this['_imageSourceCache'][_0x869398(0x2c8)](_0x56de3a);}[_0x49793d(0x2f7)](_0x47b58f,_0x40a528,_0x5b22d8){var _0x56cb80=_0x49793d;_0x40a528===_0x1b2324[_0x56cb80(0x3bc)]||_0x5b22d8==null||this[_0x56cb80(0x393)][_0x56cb80(0x12e)](_0x47b58f,_0x5b22d8);}async[_0x49793d(0x411)](_0x19e536){var _0x249b8b=_0x49793d;try{const _0x3e0584=this[_0x249b8b(0x2d8)](this[_0x249b8b(0x21b)](),''+_0x19e536),_0x18e60e=(await this[_0x249b8b(0x206)][_0x249b8b(0x2c8)](_0x3e0584))['body'];if(_0x18e60e['error']&&_0x18e60e['error'][_0x249b8b(0x284)]===Ii['OK']){const _0x53b42a=new URL(_0x18e60e[_0x249b8b(0x169)],this[_0x249b8b(0x373)]())[_0x249b8b(0x3c4)]();return Promise[_0x249b8b(0x33f)](_0x53b42a);}return Promise[_0x249b8b(0x340)](_0x18e60e['error']);}catch(_0x87550d){return Promise[_0x249b8b(0x340)](_0x87550d);}}async[_0x49793d(0x1d9)](_0x36cbb5){var _0x11b385=_0x49793d;let _0x40eb37='';if(!Ss[_0x11b385(0x33a)](_0x36cbb5[_0x11b385(0x1a8)]))return this[_0x11b385(0x17c)](),Promise[_0x11b385(0x340)](new Error(_0x172a02[_0x11b385(0x30e)]));if(_0x36cbb5[_0x11b385(0x117)]>Es)return this['_decreaseWaiting'](),Promise[_0x11b385(0x340)](new Error(_0x172a02[_0x11b385(0x178)]));try{const _0x51b582=new FormData();_0x51b582[_0x11b385(0x12a)](_0x11b385(0x161),_0x36cbb5);const _0x50b28c=this[_0x11b385(0x3fa)][_0x11b385(0x1b6)](),_0x249cb5=_0x50b28c==null?void 0x0:_0x50b28c['getUnitId']();if(!_0x249cb5)throw new Error('unitId\x20is\x20not\x20found');const _0x4b8ad9=this[_0x11b385(0x3a3)]()+_0x11b385(0x121)+_0x36cbb5[_0x11b385(0x117)]['toString']()+_0x11b385(0x39e)+Ti[_0x11b385(0x3ee)]+'&assign='+encodeURIComponent(_0x249cb5),_0x6b6d52=await(await fetch(_0x4b8ad9,{'method':_0x11b385(0x257),'body':_0x51b582}))[_0x11b385(0x3cd)]();if(typeof _0x6b6d52[_0x11b385(0x312)]!=_0x11b385(0x198))return this[_0x11b385(0x17c)](),Promise['reject'](new Error(_0x172a02[_0x11b385(0x343)]));_0x40eb37=_0x6b6d52[_0x11b385(0x312)];}catch{return this[_0x11b385(0x17c)](),Promise[_0x11b385(0x340)](new Error(_0x172a02['ERROR_IMAGE']));}return new Promise((_0x57728e,_0x4921bd)=>{var _0x4fe16f=_0x11b385;const _0x2ecd0b=new FileReader();_0x2ecd0b[_0x4fe16f(0x248)](_0x36cbb5),_0x2ecd0b[_0x4fe16f(0x3f7)]=_0xe5f645=>{var _0x288e67=_0x4fe16f,_0x36420d;const _0x36ac7b=(_0x36420d=_0xe5f645['target'])==null?void 0x0:_0x36420d[_0x288e67(0x34d)];if(_0x36ac7b==null){this['_decreaseWaiting'](),_0x4921bd(new Error(_0x172a02[_0x288e67(0x343)]));return;}const _0x1d0059=_0x335a02[_0x288e67(0x32a)](0x6);_0x57728e({'imageId':_0x1d0059,'imageSourceType':_0x1b2324[_0x288e67(0x1c1)],'source':_0x40eb37,'base64Cache':_0x36ac7b,'status':_0x172a02['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x49793d(0x3a3)](){var _0x35b38d=_0x49793d,_0x2be362,_0x3bb30f;const _0x3e211b=this[_0x35b38d(0x3dd)][_0x35b38d(0x27a)](Is),_0x4189ec=this['_configService']['getConfig'](q);return(_0x3bb30f=(_0x2be362=_0x4189ec==null?void 0x0:_0x4189ec[_0x35b38d(0x19e)])!=null?_0x2be362:_0x3e211b)!=null?_0x3bb30f:Ts;}[_0x49793d(0x21b)](){var _0x462eec=_0x49793d,_0xee5373,_0x502575;const _0x44c917=this['_configService']['getConfig'](Cs),_0x39862a=this['_configService']['getConfig'](q);return(_0x502575=(_0xee5373=_0x39862a==null?void 0x0:_0x39862a[_0x462eec(0x187)])!=null?_0xee5373:_0x44c917)!=null?_0x502575:Rs;}[_0x49793d(0x373)](){var _0x59061c=_0x49793d,_0x3279e8;const _0xc2eecb=this['_configService']['getConfig'](q);return(_0x3279e8=_0xc2eecb==null?void 0x0:_0xc2eecb['downloadEndpointUrl'])!=null?_0x3279e8:location[_0x59061c(0x19a)];}['_replaceFileID'](_0xe9db97,_0x3957be){var _0x3f332b=_0x49793d;return _0xe9db97[_0x3f332b(0x36f)](_0x3f332b(0x2fe),_0x3957be);}[_0x49793d(0x17c)](){var _0x29eee6=_0x49793d;this['_waitCount']-=0x1,this[_0x29eee6(0x22a)][_0x29eee6(0x33d)](this[_0x29eee6(0x391)]);}};yt=gs([gt(0x0,_0x385788(_0x140e67)),gt(0x1,_0x59c83a),gt(0x2,_0x385788(_0x5d0af3))],yt);var bs=Object[_0x49793d(0x2b7)],Os=Object[_0x49793d(0x2fc)],ys=(_0x3df85b,_0x485b42,_0x102bb9,_0x43cbc7)=>{var _0x40a552=_0x49793d;for(var _0x1307bc=_0x43cbc7>0x1?void 0x0:_0x43cbc7?Os(_0x485b42,_0x102bb9):_0x485b42,_0x1a6636=_0x3df85b[_0x40a552(0x12f)]-0x1,_0x5f08f5;_0x1a6636>=0x0;_0x1a6636--)(_0x5f08f5=_0x3df85b[_0x1a6636])&&(_0x1307bc=(_0x43cbc7?_0x5f08f5(_0x485b42,_0x102bb9,_0x1307bc):_0x5f08f5(_0x1307bc))||_0x1307bc);return _0x43cbc7&&_0x1307bc&&bs(_0x485b42,_0x102bb9,_0x1307bc),_0x1307bc;},_i=(_0x320ece,_0x2959fb)=>(_0x43e252,_0x1481d2)=>_0x2959fb(_0x43e252,_0x1481d2,_0x320ece);const Ns=_0x49793d(0x3d1);let Nt=class{constructor(_0x47ae70,_0x5356ca){var _0x37ba6f=_0x49793d;this[_0x37ba6f(0x3dd)]=_0x47ae70,this[_0x37ba6f(0x396)]=_0x5356ca;}[_0x49793d(0x3be)](){var _0x807c35=_0x49793d,_0x2060a3,_0x1d1a5e;const _0x3d9163=this[_0x807c35(0x3dd)][_0x807c35(0x27a)](Pi),_0x19f22c=this[_0x807c35(0x3dd)][_0x807c35(0x27a)](q);return(_0x1d1a5e=(_0x2060a3=_0x19f22c==null?void 0x0:_0x19f22c['authzUrl'])!=null?_0x2060a3:_0x3d9163)!=null?_0x1d1a5e:Ns;}async[_0x49793d(0x409)](_0x35a4ba){var _0x488c81=_0x49793d;const _0xcc4b2b=this[_0x488c81(0x3be)]()+'/collaborator';return{'list':[{'title':_0x488c81(0x3e7),'mentions':(await this[_0x488c81(0x396)][_0x488c81(0x2c8)](_0xcc4b2b,{'params':{'objectID':_0x35a4ba[_0x488c81(0x2ab)],'unitID':_0x35a4ba[_0x488c81(0x2ab)]}}))['body']['collaborators'][_0x488c81(0x238)](_0x6426c5=>({'objectId':_0x6426c5['id'],'name':_0x6426c5[_0x488c81(0x2cd)][_0x488c81(0x3c8)],'metadata':{'icon':_0x6426c5[_0x488c81(0x2cd)][_0x488c81(0x37d)]},'label':_0x6426c5[_0x488c81(0x2cd)][_0x488c81(0x3c8)],'objectType':_0x2cc76c[_0x488c81(0x131)]})),'metadata':{},'type':_0x2cc76c[_0x488c81(0x131)]}]};}};Nt=ys([_i(0x0,_0x385788(_0x59c83a)),_i(0x1,_0x385788(_0x140e67))],Nt);var Ds=Object[_0x49793d(0x2b7)],Ps=Object['getOwnPropertyDescriptor'],ws=(_0x5de0b0,_0x2a0c61,_0x27ae35,_0x582049)=>{var _0x141771=_0x49793d;for(var _0x219716=_0x582049>0x1?void 0x0:_0x582049?Ps(_0x2a0c61,_0x27ae35):_0x2a0c61,_0x2e2c46=_0x5de0b0[_0x141771(0x12f)]-0x1,_0x253fd2;_0x2e2c46>=0x0;_0x2e2c46--)(_0x253fd2=_0x5de0b0[_0x2e2c46])&&(_0x219716=(_0x582049?_0x253fd2(_0x2a0c61,_0x27ae35,_0x219716):_0x253fd2(_0x219716))||_0x219716);return _0x582049&&_0x219716&&Ds(_0x2a0c61,_0x27ae35,_0x219716),_0x219716;},Se=(_0x273ccb,_0x479888)=>(_0x45c78a,_0x14dd98)=>_0x479888(_0x45c78a,_0x14dd98,_0x273ccb);let at=class extends _0x366443{constructor(_0x22e02f,_0x1dc5ac,_0x809af0,_0x33db80,_0x17fc49,_0x253421,_0xde9489){var _0x574f05=_0x49793d;super(),this['_injector']=_0x22e02f,this[_0x574f05(0x3fa)]=_0x1dc5ac,this['_permissionService']=_0x809af0,this[_0x574f05(0x368)]=_0x33db80,this['_collaborationUIEventService']=_0x17fc49,this[_0x574f05(0x3dc)]=_0x253421,this[_0x574f05(0x160)]=_0xde9489,this[_0x574f05(0x333)](),this[_0x574f05(0x184)]();}['_initCloseConn'](){var _0x504eba=_0x49793d;const _0x372cfd=async _0x149064=>{var _0x1d338f=_0x4bee;(await this[_0x1d338f(0x368)]['requireSession'](_0x149064))[_0x1d338f(0x2aa)]['pipe'](_0x21e0ae(_0x1645ca=>_0x1645ca['eventID']===_0x4e3835[_0x1d338f(0x197)]),_0x14de08(this['dispose$']))[_0x1d338f(0x405)](_0x5cb05e=>{var _0x3c7ce4=_0x1d338f;const _0xfa4c9b=_0x5cb05e,{reason:_0x4103d5}=_0xfa4c9b[_0x3c7ce4(0x31b)];this[_0x3c7ce4(0x26e)]['emitEvent']({'id':se[_0x3c7ce4(0x2cc)],'data':_0x4103d5}),this['_permissionService']['updatePermissionPoint'](new _0xd4a4bb(_0x149064)['id'],!0x1),this[_0x3c7ce4(0x368)]['closeSession'](_0x149064);});};_0x504d97(this[_0x504eba(0x3fa)][_0x504eba(0x412)](_0x3c00f5['UNIVER_SHEET']),this[_0x504eba(0x3fa)]['getTypeOfUnitAdded$'](_0x3c00f5['UNIVER_DOC']))['pipe'](_0x5c5618(_0x3cb9e0=>_0x3cb9e0[_0x504eba(0x25c)]()),_0x21e0ae(_0xf1b398=>!_0x2276d0(_0xf1b398)),_0x14de08(this['dispose$']))[_0x504eba(0x405)](_0x538b66=>{_0x372cfd(_0x538b66);});}[_0x49793d(0x333)](){var _0x7e5d78=_0x49793d;const _0x34a520=async _0x2acbfc=>{var _0x1eef30=_0x4bee;const _0x331f83=await this[_0x1eef30(0x368)]['requireSession'](_0x2acbfc),_0x222b9a=this['_injector'][_0x1eef30(0x2c8)](_0x3a52e1);_0x331f83[_0x1eef30(0x2aa)]['pipe'](_0x21e0ae(_0x2c5420=>_0x2c5420['eventID']===_0x4e3835[_0x1eef30(0x402)]),_0x14de08(this['dispose$']))[_0x1eef30(0x405)](_0x3db5c6=>{var _0x40fa02=_0x1eef30;const _0x1af512=_0x3db5c6,{objectId:_0x6e1ec2}=_0x1af512[_0x40fa02(0x31b)];_0x6e1ec2===_0x2acbfc?_0x222b9a[_0x40fa02(0x272)](_0x2acbfc):_0x222b9a[_0x40fa02(0x30c)](_0x2acbfc,_0x6e1ec2);});};_0x504d97(this['_univerInstanceService'][_0x7e5d78(0x412)](_0x3c00f5[_0x7e5d78(0x305)]),this['_univerInstanceService'][_0x7e5d78(0x412)](_0x3c00f5['UNIVER_DOC']))[_0x7e5d78(0x357)](_0x5c5618(_0x473bdc=>_0x473bdc[_0x7e5d78(0x25c)]()),_0x21e0ae(_0x42f14e=>!_0x2276d0(_0x42f14e)),_0x14de08(this[_0x7e5d78(0x200)]))['subscribe'](_0x71237e=>{_0x34a520(_0x71237e);});}};at=ws([Se(0x0,_0x385788(_0x5bf262)),Se(0x1,_0x5d0af3),Se(0x2,_0x45b29e),Se(0x3,_0x385788(Le)),Se(0x4,_0x385788(pe)),Se(0x5,_0xffe8de),Se(0x6,_0x5583fc)],at);function _0x429d(){var _0x39fb69=['\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','mutations','_userManagerService','_isPermissionRej','/universer-api/uniscript','825588kJwJgT','ENSURE_SNAPSHOT_EXECUTION','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_state','/rev/','_retryCount','_handlerCallback','newCsEvent','HMAC','_collaborationUIEventService','/fetchmissing?from=','readInt32LE','method','initWorkbookPermissionChange','charAt','[OfflineState]:\x20received\x20rejection.','_scheduleCompleteTimestamp','45bFVZME','_clearTimeoutTimer','getCollabEntity$','_lockTransition','getConfig','reduce','compose','/block/','_onConnectionOpen','onSendChangeset','JOIN','UNIVER_DOC','_telemetryService','unknown','code','reqId','_transformStack','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','listCollaborators','eventID','UNIVER_PROJECT','[CollaborationState]:\x20apply\x20error!','dispose','_resendTimeout','disableLocalCache','every','_getRedoStack','getRoom','blockSize','_sendHeartbeat','CONFLICT','APPLY_REJECT','status$','workbook','sessionStatus','concat','SOCKET_FAILED_RETRY','_clearUndo','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','enableOfflineEditing','onTransformSelections','NEW_CHANGESETS','_sheetTransformSelectionsService','_keyPriorReset','CHANGESET_REVISION_CONFILICT','_map','57056076RjWfiH','put','error','ciphertext','[CollaborationSessionService]:\x20socket\x20error','wsSessionTicketUrl','event$','unitId','[CollaborationEntity]','onLocalMutation','_redoStacks','salt','state','LEAVE','&to=','liveShareNewHost','sheets','updatePermissionObjEvent','\x20to\x20','defineProperty','_stopTelemetryCollaborationNewChangeset','send','_registerDependencies','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','createEncryptor','waitForRoom$','UNRECOGNIZED','UNDEFINED','pluginName','SerializableCipher','_shouldReportTelemetry','getUnitType','_socketReady','[FetchMissState]','runId','_substituteRedoStack','get','confirm','c2Prime','onTransformState','CLOSE_ROOM','subject','getImageSourceCache','/role','_doProcessBlock','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','csRejEvent','\x20in\x20_schedule.','getSheetId','_toggleOffline','\x0aCurrent:\x20','createDecryptor','_replaceFileID','_socketService','_onRecvEvent','_candidateSocket','_nDataBytes','/new_changes','_removeRoom','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','APPLY_PERMISSION_DENIED','_collabSessionService','HEARTBEAT_TIMEOUT','_initRequestHeader','COMPRESS_MUTATION_APPLY','cfg','resend','OpenSSL','_sessions','ceil','_scheduleCollaborationTimeoutTimer','_submitChangeset','_emitMembers','CHANGESET_SHOULD_RETRY','INTERNAL_ERROR','onCommandExecuted','_fetchMissChangesets','connection\x20error','allowed','find','_hasher','saveChangeset','padding','addImageSourceCache','transformSelections','UNIVER_SLIDE','_updateState','Pkcs7','getOwnPropertyDescriptor','/universer-api/file/{fileID}/sign-url','{fileID}','SHA1','pending','members','_getLoginPath','univer-pro.collaboration-client.single-active-unit-service','_networkConditionService','UNIVER_SHEET','_revisionService','disposeWithMe','_socket','LICENSE_DISTRO_REJECTED','decrypt','_clearHeartbeatTimer','refreshPermission','LIVESHARE_FETCH_OPERATIONS','ERROR_IMAGE_TYPE','/universer-api/stream/file/upload','_members$','RETRY_CONNECTING_MAX_COUNT','FileId','subUnitId','words','_acknowledgedAwaitingChangeset','COMPRESS_MUTATION_SEND','_onJoinRoomEvent','_clearLocalCache','_getCtorByUniverType','Base64','data','/universer-api/snapshot/','debug','image/jpeg','filter','members$','_startTelemetryCollaborationNewChangeset','MD5','_onFetchMissResult','_sendingTimer','_startCollaboration','sid','_handler','WordArray','_changesetReqId','generateRandomId','encodeURIComponent','status','/-/object/-/batch_allowed','_telemetryInfo','/allowed','prototype','HttpImport','_timeoutTimer','_initUnitPermissionChange','loadUnit','shouldCloseConn','PERMISSION_DENIED','/unit/','incrementRevOfUnit','YUUMI_RATE_OVER_LIMIT','includes','updateCursorEvent','_invKeySchedule','next','fetch_missing','resolve','reject','_reverseMap','_initDependencies','ERROR_IMAGE','UNISCRIPT_RUN','toggleOnline','LICENSE_MAX_UNITS_EXCEEDED','_collaborationPaused','originalMeta','collaboratorID','m2Prime','updatePermissionPoint','__Key__','result','focused$','NOT_FOUND','crypto','max','createSocket','_executeRemoteChangeset','getSnapshotAPIPath','univer-pro.collaboration-client.network-condition.service','_iv','pipe','getCurrentSelections','_getAPIPrefix','_onUserLeave','abs','_parse','LICENSE_IMPORT_SIZE_EXCEEDED','_onCombEvent','JOIN_ROOM_FULL','changesets','YUUMI_UNABLE_LOAD_URL','getRandomValues','/universer-api/user/session-ticket','_transitionLocked','buffer','INGEST','create','_collaborationSessionService','pad','_loadSheet','transformStack\x20failed!','UNIVER_UNKNOWN','Malformed\x20UTF-8\x20data','Decryptor','replace','_clearRedo','getUnit','_clearScheduledTask','_getDownloadEndpointURL','socketService','UNAUTHENTICATED','CONNECTOR_DATA_TOO_LARGE','entityInit$','CHANGESET_ACK','SNAPSHOT_HAS_BEEN_REMOVED','ticket','PSEUDO_FETCH_MISSING_RESULT','getDeserializedSheetBlock','avatar','src','objectID','open$','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','encrypt','collabWebSocketUrl','IDLE','delete','actions','close','_transformSelections','PERMISSION_REJ','_localCacheService','error$','SNAPSHOT_URL_KEY','override','MSG_FOR_ERROR','_transformUndoredo','finalize','_waitCount','application/json','_imageSourceCache','getValue','_commentService','_HTTPService','_rescheduleHeartbeat','headers','randomUUID','_permissionService','_substituteUndoStack','reconnect','retryConnectingInterval','&source=','NO_OTHER_CLIENTS_EDITING','_entities','_xformMode','memberID','_getUploadFileURL','reset','loginUrlKey','createInstance','rev','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','collabSubmitChangesetUrl','_tryEnsureSocket','[CollaborationUndoRedoService]','LOCAL_CACHE_INTERVAL','[PendingState]:\x20received\x20acknowledgement.','_key','update','\x20-\x20','_initMergeInterceptor','key','editingUnit','_transformService','[DataLoaderService]','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','params','_getSendChangesetTimeout','[PendingState]:\x20received\x20rejection.','_waitForHeartbeatResponse','_createInitialState','BASE64','copyFileMeta','_getAPIPrefixPath','push','_sender','_commentUpdate$','c1Prime','editing\x20status\x20changed\x20to','toString','_roomCreated$','OTHER_CLIENT_EDITING','[OfflineState]:\x20received\x20changeset.','name','onTransformRemoteChangesetByStateCache','_onRemoteACK','hasOwnProperty','session.join-failed','json','_transformRemoteChangesetByStateCache','emitEvent','_roomMembers','/universer-api/authz','_schedule','_socket$','_nRounds','AWAITING','UPDATE_CURSOR','awaiting','symbol','ws://127.0.0.1:8000/universer-api/comb/connect','_checkMissing','_changesetSessionId','_authzIoService','_configService','toggleOffline','appendMutation','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','href','BufferedBlockAlgorithm','Hasher','univer-pro.collaboration-client-socket-service','_disableEditing','random','People','LICENSE_EXPORT_SIZE_EXCEEDED','onSyncEditingCollabCursor','onRemoteAck','_init','message$','cmd','UnitEmbedded','formatter','_event$','body','slice','execute','Base','_getCurrentRevision','toLowerCase','onload','saveSnapshot','StreamCipher','_univerInstanceService','_socketMessageSubscription','getCurrentUser','OFFLINE','_getUndoStack','_unlockTransition','patch','isPermissionRej','UPDATE_PERMISSION_OBJ','kdf','/-/object/list','subscribe','clear','3268993JJhOcI','has','list','_process','_keySchedule','AWAITING_WITH_PENDING','x-univer-host','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','UnitSnapshot','Encryptor','getImage','getTypeOfUnitAdded$','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','[PendingState]:\x20unhandled\x20univer\x20type:\x20','APPLY_DUPLICATED','leaveEvent','FAIL','LIVESHARE_NEW_HOST','localCacheService','encryptBlock','not_collab','CipherParams','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getCurrentRevOfUnit','keySize','size','state$','routeKey','USERS_LEAVE','ivSize','_replayCachedMutations','mixIn','BlockCipherMode','_DEC_XFORM_MODE','onTransformRemoteChangesetByIMECache','?size=','randomBytes','decryptBlock','SUBMIT_CHANGESET_TIMEOUT','[OfflineState]:\x20received\x20acknowledgement.','PENDING','_onConflict','_snapshotServerService','_incrementRevisionNumber','append','loadOfflineData','INVALID_ARGUMENT','_config','set','length','commentUpdateEvent','PERSON','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','/object/','Error\x20on\x20receiving\x20event','Could\x20not\x20dynamically\x20require\x20\x22','_applyRemoteChangeset','updateOfflineData','hasher','[CollaborationSessionService]','sessionTicket','_hash','setCurrentUser','pauseCollaboration','unitID','stopTime','4994910TYiJBW','getMember','stringify','_members','collaMsg','getInterceptPoints','close$','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','sessionStatus$','offline','min','searchParams','4558100CRbwXX','onRemoteRetry','EvpKDF','_entityInit$','csShouldRetryEvent','_data','fetchMissingChangesets','FETCH_MISSING','resourceIDs','_clearCollaborationTimeoutTimer','_createHmacHelper','enc','JOINING','SNAPSHOT_INVALID_SNAPSHOT','getTypeOfUnitDisposed$','_commandService','clone','removeMember','compute','onTransformIME','_undoRedoService','file','unitInfo$','putCollaborators','_snapshotService','repeat','interceptor','MUTATION','clamp','url','exports','_onLocalMutation','requestParams','ALREADY_EXISTS','OPTIONAL','SYNCED','OTHER_CLIENTS_EDITING','onMissingChangesets','_logService','floor','onMissedChangesetFetched','_toggleOnline','closeSession','equals','ERROR_EXCEED_SIZE','_transformStateCache','_listenToNetworkCondition','Univer','_decreaseWaiting','ONLINE','getUnitOnRev','UNKNOWN_CODE','collaborators','_http','setWaitCount','249123uYIKNh','_initCloseConn','12RaeuFi','synced','signUrlServerUrl','parse','Utf8','NOT_COLLAB','getCollabEntity','mode','substr','loadSheet','onRemoteChangeset','_ENC_XFORM_MODE','YUUMI_SUBSCRIPTION_NOT_FOUND','transformChangesets','forEach','_remoteChangesetQueue','format','location','SHOULD_CLOSE_CONN','string','_createHandler','origin','UNKNOWN_CMD','bind','_iKey','uploadFileServerUrl','fetchMiss','APPLY_NON_SEQUENTIAL_REVISION','infoRsp','collaboration-client.config','objectType','image/bmp','USERS_ENTER','session.room-cnt-exceeds','post','type','_onUserJoin','/universer-api/comb','image/gif','RECV','_createHelper','catch','_collaborationTimeoutTimer','then','_createInitialStateImpl','_exhaustRemoteChangesetQueue','_append','_retryConnectingTimer','objectActions','getFocusedUnit','_minBufferSize','now','startsWith','getAllMembers','complete','textRanges','call','onStarting','joinEvent','/universer-api/snapshot','UUID','COMPLETION_FINISHED','FETCH_MISS','snapshot','transformMutationsWithChangeset','asObservable','action','deepClone','COMMENT_UPDATE','session.room-full','localeService','_onRemoteRejected','_onConnectionFailed','session','_transformIMECache','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','HELLO','_getSessionTicket','AES','createCollaborator','_createSocket','extend','requireSession','_syncEditingCollabCursor','saveImage','_pendingMutations','commentUpdate$','unpad','\x0aAfter:\x20','YUUMI_URL_COL_OUT_OF_RANGE','CBC','indexOf','_prevBlock','getTime','selections','_eventService','msCrypto','join','registerHTTPInterceptor','online$','_onMessage','SUBMIT_CHANGESET','updateMember','encode','getWorkbookSelections','_throwTelemetryCollaborationNewChangeset','reverse','roomInfos','_localeService','_transformRemoteChangesetByIMECache','[UniverCollaborationClientPlugin]','rng','snapshotServerUrl','addHandlerCallback','fetchThroughInterceptors','LIVESHARE_OPERATION','auth.needGotoLoginAlert','UNIVER_COLLABORATION_CLIENT_PLUGIN','_doReset','default','charCodeAt','_createSocketURL','_mode','dispose$','unsubscribe','_memberService','_compressMutationService','_cipher','_joinRoom','_httpService','/object','APPLY_REVISION_CONFILICT','_singleActiveUnitService','image/png','responseType','onRemoteRej','LIVESHARE_TERMINATE','setShowComponents','_injector','_type','userID','onlyLocal','collaboration_new_changeset','getSheetBlock','303746ekwMNx','processBlock','_updateStatus','_onOffline','liveShareOperation','_status$','_getSignURL','telemetry\x20info\x20is\x20not\x20initialized','BlockCipher','_state$','enableAuthServer','apply','JOIN_ROOM_FAILED','_awaitingChangeset','_sessionStatus$','HEARTBEAT','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','[SyncedState]:\x20received\x20rejection.','joinRsp','9roGrJO','_tryReconnect','_change$','transformUndoRedo','/universer-api/oidc/authpage','lib','JOIN_ROOM_PERMISSION_DENIED','_resendWithTimeout','function','16MgVUwz','_updateLocalCache','fromCollab','range','fromCharCode','capture','_onRemoteRetry','map','authzUrl','Cipher','_sendHeartbeatTimer','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','isArray','_instanceService','/resources','awaitingChangeset','_unitID','baseRev','add','sigBytes','Undefined','SOCKET_FAILED','executeCommand','readAsDataURL','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','conflict','fetching\x20missing\x20changesets\x20from\x20','_loadDoc','GLOBAL_ROOMS_CNT_EXCEEDS','algo','LIVESHARE_REQUEST_HOST','JOIN_ROOM_NOT_EXISTS','SNAPSHOT_SERVER_URL_KEY','CHANGESET_REJ','_unitInfo$','PY_RUNTIME_SCRIPT_ERROR','submit\x20changeset\x20error!','NoPadding','POST','_showConflictNotification','session.room-not-exists','_resendTimer','/collaborator','getUnitId','init','withCredentials','awaiting_with_pending'];_0x429d=function(){return _0x39fb69;};return _0x429d();}var Us=Object[_0x49793d(0x2b7)],As=Object['getOwnPropertyDescriptor'],xs=(_0x44d882,_0x54bcda,_0x258574,_0x584696)=>{for(var _0x55c334=_0x584696>0x1?void 0x0:_0x584696?As(_0x54bcda,_0x258574):_0x54bcda,_0x279516=_0x44d882['length']-0x1,_0x2b7f6b;_0x279516>=0x0;_0x279516--)(_0x2b7f6b=_0x44d882[_0x279516])&&(_0x55c334=(_0x584696?_0x2b7f6b(_0x54bcda,_0x258574,_0x55c334):_0x2b7f6b(_0x55c334))||_0x55c334);return _0x584696&&_0x55c334&&Us(_0x54bcda,_0x258574,_0x55c334),_0x55c334;},li=(_0x1d9343,_0x53635e)=>(_0x19f587,_0x5e36fb)=>_0x53635e(_0x19f587,_0x5e36fb,_0x1d9343);let Dt=class{constructor(_0x47c575,_0x6a1108){var _0x5e4c45=_0x49793d;this[_0x5e4c45(0x3dd)]=_0x47c575,this['_httpService']=_0x6a1108;}async[_0x49793d(0x17e)](_0x37bf69,_0x366134){var _0xf754d2=_0x49793d,_0x71527e;const {unitID:_0xedaa0c,type:_0x2cae7c,revision:_0x40cdbf=0x0}=_0x366134,_0x5191be=this[_0xf754d2(0x354)]()+'/'+_0x2cae7c+_0xf754d2(0x337)+_0xedaa0c+_0xf754d2(0x269)+_0x40cdbf,_0x127c79=(await this[_0xf754d2(0x206)][_0xf754d2(0x2c8)](_0x5191be))['body'],_0x425517=(_0x71527e=_0x127c79[_0xf754d2(0x1c4)])==null?void 0x0:_0x71527e[_0xf754d2(0x297)];if(_0x425517){const _0x1c9cdb=_0x425517==null?void 0x0:_0x425517[_0xf754d2(0x348)],_0x2667cb=_0x27fb90[_0xf754d2(0x1ec)](_0x15a9fd(_0x1c9cdb));_0x425517[_0xf754d2(0x348)]=_0x2667cb,Object['entries'](_0x425517[_0xf754d2(0x2b4)])[_0xf754d2(0x193)](([,_0x213103])=>{var _0x1b8a86=_0xf754d2;const _0x3b0b1b=_0x213103[_0x1b8a86(0x348)],_0x1b34c9=_0x27fb90[_0x1b8a86(0x1ec)](_0x15a9fd(_0x3b0b1b));_0x213103[_0x1b8a86(0x348)]=_0x1b34c9;});}return _0x127c79;}async[_0x49793d(0x214)](_0x4c692c,_0x309f24){var _0xa20c08=_0x49793d;const {unitID:_0x73a4f7,type:_0x293bc9,blockID:_0x50b766}=_0x309f24,_0x31c384=this[_0xa20c08(0x359)]()+'/'+_0x293bc9+_0xa20c08(0x337)+_0x73a4f7+_0xa20c08(0x27d)+_0x50b766;return(await this[_0xa20c08(0x206)][_0xa20c08(0x2c8)](_0x31c384))[_0xa20c08(0x3f1)];}async[_0x49793d(0x37c)](_0x1349e6,_0xca600e){var _0x324d35=_0x49793d;const {unitID:_0x359311,type:_0x1c1f1f,blockID:_0x1ebca3}=_0xca600e,_0x4e588a=this[_0x324d35(0x359)]()+_0x324d35(0x27d)+_0x1c1f1f+'/unit/'+_0x359311+_0x324d35(0x27d)+_0x1ebca3;return(await this[_0x324d35(0x206)][_0x324d35(0x2c8)](_0x4e588a))[_0x324d35(0x3f1)];}async[_0x49793d(0x152)](_0x1a49e9,_0x2f3b9b){var _0x269bc2=_0x49793d;const {unitID:_0x32bd3b,type:_0x3a882e,from:_0x4360c7,to:_0x2de69d}=_0x2f3b9b,_0x308d0f=this['_getAPIPrefix']()+'/'+_0x3a882e+_0x269bc2(0x337)+_0x32bd3b+_0x269bc2(0x26f)+_0x4360c7+_0x269bc2(0x2b2)+_0x2de69d;return(await this[_0x269bc2(0x206)][_0x269bc2(0x2c8)](_0x308d0f))[_0x269bc2(0x3f1)];}[_0x49793d(0x354)](){var _0x46185d=_0x49793d,_0x2df26f;return(_0x2df26f=this['_configService'][_0x46185d(0x27a)](Tn))!=null?_0x2df26f:this[_0x46185d(0x359)]();}['_getAPIPrefix'](){var _0x1fc162=_0x49793d,_0x2c8607,_0x50407b;const _0x5dec29=this['_configService'][_0x1fc162(0x27a)](En),_0x52634c=this[_0x1fc162(0x3dd)][_0x1fc162(0x27a)](q);return(_0x50407b=(_0x2c8607=_0x52634c==null?void 0x0:_0x52634c[_0x1fc162(0x1f5)])!=null?_0x2c8607:_0x5dec29)!=null?_0x50407b:In;}async['getResourcesRequest'](_0x2f5ca1,_0x2d963f){var _0x1a3812=_0x49793d;const _0x52d527=_0x1a3812(0x31c)+_0x2d963f['type']+_0x1a3812(0x337)+_0x2d963f['unitID']+_0x1a3812(0x23f);return(await this[_0x1a3812(0x206)][_0x1a3812(0x2c8)](_0x52d527,{'params':{'resourceId':JSON[_0x1a3812(0x142)](_0x2d963f[_0x1a3812(0x154)])}}))['body'];}[_0x49793d(0x3f8)](){var _0x22116f=_0x49793d;throw new Error(_0x22116f(0x2d1));}['saveSheetBlock'](){var _0x36e4f9=_0x49793d;throw new Error(_0x36e4f9(0x2d1));}[_0x49793d(0x2f5)](){var _0x3c90a0=_0x49793d;throw new Error(_0x3c90a0(0x2d1));}[_0x49793d(0x3bd)](){var _0x3f914e=_0x49793d;throw new Error(_0x3f914e(0x2d1));}['getLatestCsReqIdBySid'](){var _0x2f71d2=_0x49793d;throw new Error(_0x2f71d2(0x2d1));}};Dt=xs([li(0x0,_0x59c83a),li(0x1,_0x385788(_0x140e67))],Dt);var Ls=Object[_0x49793d(0x2b7)],Ms=Object[_0x49793d(0x2fc)],$s=(_0x2fee76,_0x9b5d08,_0x3f77ab,_0xf391b9)=>{var _0x3569b7=_0x49793d;for(var _0xe52d46=_0xf391b9>0x1?void 0x0:_0xf391b9?Ms(_0x9b5d08,_0x3f77ab):_0x9b5d08,_0x194020=_0x2fee76[_0x3569b7(0x12f)]-0x1,_0x2f7f66;_0x194020>=0x0;_0x194020--)(_0x2f7f66=_0x2fee76[_0x194020])&&(_0xe52d46=(_0xf391b9?_0x2f7f66(_0x9b5d08,_0x3f77ab,_0xe52d46):_0x2f7f66(_0xe52d46))||_0xe52d46);return _0xf391b9&&_0xe52d46&&Ls(_0x9b5d08,_0x3f77ab,_0xe52d46),_0xe52d46;},Ae=(_0x48306a,_0x29973f)=>(_0x2f81df,_0x8d178)=>_0x29973f(_0x2f81df,_0x8d178,_0x48306a);let Pt=class extends _0x244888{constructor(_0x18e78f,_0x126811,_0x4431d0,_0x32544c,_0x3811d6){var _0xd0c0d8=_0x49793d;super(_0x18e78f,_0x126811,_0x4431d0),this[_0xd0c0d8(0x3b4)]=_0x32544c,this[_0xd0c0d8(0x172)]=_0x3811d6;}[_0x49793d(0x22b)](_0x281296,_0x531637){var _0x4bcfea=_0x49793d;const _0x4321d4=this[_0x4bcfea(0x3fe)](_0x281296);if(_0x4321d4)try{const _0x1bb4dd=this[_0x4bcfea(0x286)](_0x4321d4,_0x531637);this['_substituteUndoStack'](_0x281296,_0x1bb4dd);}catch(_0x42518e){this['_logService'][_0x4bcfea(0x2a6)](_0x4bcfea(0x3ab),_0x42518e),this[_0x4bcfea(0x29b)](_0x281296);}const _0x3242e8=this['_getRedoStack'](_0x281296);if(_0x3242e8)try{const _0x10f12e=this[_0x4bcfea(0x286)](_0x3242e8,_0x531637);this[_0x4bcfea(0x2c7)](_0x281296,_0x10f12e);}catch(_0x3ec074){this[_0x4bcfea(0x172)]['error'](_0x3ec074),this[_0x4bcfea(0x370)](_0x281296);}}['_clearUndo'](_0x28edfa){var _0x4beec1=_0x49793d;const _0x303c1f=this['_getUndoStack'](_0x28edfa);_0x303c1f&&(_0x303c1f['length']=0x0,this[_0x4beec1(0x217)]());}[_0x49793d(0x370)](_0x54b8c4){var _0xd242d3=_0x49793d;const _0x5b5bc3=this[_0xd242d3(0x290)](_0x54b8c4);_0x5b5bc3&&(_0x5b5bc3[_0xd242d3(0x12f)]=0x0,this[_0xd242d3(0x217)]());}[_0x49793d(0x39b)](_0x18cc02,_0x43c3dc){var _0x377d6a=_0x49793d;this['_undoStacks'][_0x377d6a(0x12e)](_0x18cc02,_0x43c3dc),this[_0x377d6a(0x217)]();}['_substituteRedoStack'](_0x17ea7d,_0x1d54f5){var _0x4fcb93=_0x49793d;this[_0x4fcb93(0x2ae)][_0x4fcb93(0x12e)](_0x17ea7d,_0x1d54f5),this[_0x4fcb93(0x217)]();}[_0x49793d(0x286)](_0x172a4f,_0x33a37b){var _0x595984=_0x49793d;const _0x3495d9=[];let _0x1582a9=_0x33a37b,_0x36d484=_0x33a37b;for(let _0x1c4990=_0x172a4f[_0x595984(0x12f)]-0x1;_0x1c4990>=0x0;_0x1c4990--){const {unitID:_0x3126c6,undoMutations:_0x3cc0a2,redoMutations:_0x557e70}=_0x172a4f[_0x1c4990],_0x19e54a=this['_transformService'][_0x595984(0x1c5)](_0x1582a9,_0x3cc0a2),_0x484502=this['_transformService'][_0x595984(0x1c5)](_0x36d484,_0x557e70);if(_0x52d160(_0x19e54a)||_0x52d160(_0x484502)){this[_0x595984(0x172)][_0x595984(0x2a6)](_0x595984(0x3ab),_0x595984(0x36b),_0x19e54a,_0x484502);break;}_0x1582a9=_0x19e54a[_0x595984(0x3c2)],_0x36d484=_0x484502[_0x595984(0x3c2)],_0x3495d9[_0x595984(0x3bf)]({'unitID':_0x3126c6,'undoMutations':_0x19e54a['m2Prime'],'redoMutations':_0x484502[_0x595984(0x34a)]});}return _0x3495d9[_0x595984(0x1ef)]();}};Pt=$s([Ae(0x0,_0x5d0af3),Ae(0x1,_0x2f1659),Ae(0x2,_0x5477ff),Ae(0x3,_0x36f829),Ae(0x4,_0x1b7927)],Pt);var xi=Object['defineProperty'],Hs=Object[_0x49793d(0x2fc)],ks=(_0x159a7c,_0x24e1ca,_0x44a788)=>_0x24e1ca in _0x159a7c?xi(_0x159a7c,_0x24e1ca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x44a788}):_0x159a7c[_0x24e1ca]=_0x44a788,js=(_0x5d08dc,_0x1e2281,_0x465ae1,_0x24bac9)=>{var _0xdc5916=_0x49793d;for(var _0x56270=_0x24bac9>0x1?void 0x0:_0x24bac9?Hs(_0x1e2281,_0x465ae1):_0x1e2281,_0x53ded4=_0x5d08dc[_0xdc5916(0x12f)]-0x1,_0x340ad5;_0x53ded4>=0x0;_0x53ded4--)(_0x340ad5=_0x5d08dc[_0x53ded4])&&(_0x56270=(_0x24bac9?_0x340ad5(_0x1e2281,_0x465ae1,_0x56270):_0x340ad5(_0x56270))||_0x56270);return _0x24bac9&&_0x56270&&xi(_0x1e2281,_0x465ae1,_0x56270),_0x56270;},St=(_0x37c362,_0x3785e0)=>(_0x348116,_0x3132f8)=>_0x3785e0(_0x348116,_0x3132f8,_0x37c362),Bs=(_0x497ccd,_0x336722,_0x1d5662)=>ks(_0x497ccd,_0x336722+'',_0x1d5662);const Fs=_0x49793d(0x1fa);let wt=class extends _0x1f104c{constructor(_0x421ea9=Wt,_0x570173,_0x54ca29,_0x5256c4){var _0x6dad06=_0x49793d;super(),this[_0x6dad06(0x12d)]=_0x421ea9,this['_logService']=_0x570173,this[_0x6dad06(0x20f)]=_0x54ca29,this[_0x6dad06(0x3dd)]=_0x5256c4;const {..._0x4cfa60}=_0x1ece26({},Wt,this[_0x6dad06(0x12d)]);this[_0x6dad06(0x3dd)]['setConfig'](q,_0x4cfa60);}[_0x49793d(0x1be)](){var _0x20663d=_0x49793d;this[_0x20663d(0x2ba)](),this[_0x20663d(0x342)]();}[_0x49793d(0x2ba)](){var _0x3b64ba=_0x49793d,_0x33f3c9,_0x3fd64a,_0x245396,_0x3dfdc0;this[_0x3b64ba(0x20f)][_0x3b64ba(0x408)](_0x5583fc)&&this[_0x3b64ba(0x172)][_0x3b64ba(0x2a6)](_0x3b64ba(0x1f3),_0x3b64ba(0x3e0));const _0x2afa85=_0x17a839([[_0x5583fc,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x3fd64a=(_0x33f3c9=this['_config'])==null?void 0x0:_0x33f3c9[_0x3b64ba(0x374)])!=null?_0x3fd64a:Et}],[_0x3bef3d,{'useClass':Dt}],[_0xffe8de,{'useClass':bt}],[_0x4a8339,{'useClass':yt}],[_0x5dc5e0,{'useClass':Nt}],[rt],[Rt]],(_0x245396=this['_config'])==null?void 0x0:_0x245396[_0x3b64ba(0x38d)]);if(!((_0x3dfdc0=this['_config'])!=null&&_0x3dfdc0['enableSingleActiveInstanceLock'])){const _0x240145=_0x2afa85['findIndex'](([_0x5b7126])=>_0x5b7126===ht);_0x240145!==-0x1&&_0x2afa85['splice'](_0x240145,0x1);}_0xed180e(this[_0x3b64ba(0x20f)],_0x2afa85);}[_0x49793d(0x342)](){var _0x488030=_0x49793d,_0x10ffd8,_0xe85b67,_0x29f50c;this[_0x488030(0x20f)][_0x488030(0x2c8)](_0x140e67)[_0x488030(0x1e7)]({'priority':0x14,'interceptor':_0x60dc94({'maxParallel':0x6})}),(_0x10ffd8=this[_0x488030(0x12d)])!=null&&_0x10ffd8[_0x488030(0x29d)]||(_0xe85b67=this[_0x488030(0x20f)]['get'](J,_0xe9384[_0x488030(0x16e)]))==null||_0xe85b67[_0x488030(0x28e)](),(_0x29f50c=this[_0x488030(0x12d)])!=null&&_0x29f50c[_0x488030(0x21f)]&&_0x27b24c(this[_0x488030(0x20f)],[[st]]),_0x27b24c(this[_0x488030(0x20f)],[[ot],[rt],[at]]);}};Bs(wt,_0x49793d(0x2c0),Fs),wt=js([_0x2aa712(_0x2d2bbe,_0x2f5c70,_0x4065f4),St(0x1,_0x1b7927),St(0x2,_0x385788(_0x5bf262)),St(0x3,_0x59c83a)],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};