@univerjs-pro/collaboration-client 0.5.1-nightly.202412180740 → 0.5.1-nightly.202412181606

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 _0xfea5bc=_0xce85;(function(_0x220c14,_0x13141e){var _0x2372f9=_0xce85,_0x4c022b=_0x220c14();while(!![]){try{var _0x345670=-parseInt(_0x2372f9(0x103))/0x1+parseInt(_0x2372f9(0x14b))/0x2+-parseInt(_0x2372f9(0xae))/0x3*(parseInt(_0x2372f9(0x344))/0x4)+-parseInt(_0x2372f9(0xaf))/0x5+-parseInt(_0x2372f9(0x74))/0x6*(-parseInt(_0x2372f9(0x2c1))/0x7)+parseInt(_0x2372f9(0x292))/0x8+parseInt(_0x2372f9(0x179))/0x9*(parseInt(_0x2372f9(0xd3))/0xa);if(_0x345670===_0x13141e)break;else _0x4c022b['push'](_0x4c022b['shift']());}catch(_0xd18a01){_0x4c022b['push'](_0x4c022b['shift']());}}}(_0x10d2,0x52488));var Mi=Object[_0xfea5bc(0x247)],$i=(_0x1ab8c8,_0x1a4c94,_0x2d8923)=>_0x1a4c94 in _0x1ab8c8?Mi(_0x1ab8c8,_0x1a4c94,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d8923}):_0x1ab8c8[_0x1a4c94]=_0x2d8923,P=(_0x54c428,_0x4b5a7e,_0x161fcb)=>$i(_0x54c428,typeof _0x4b5a7e!=_0xfea5bc(0x333)?_0x4b5a7e+'':_0x4b5a7e,_0x161fcb);import{createIdentifier as _0x3794ca,Inject as _0x5d1423,Injector as _0xd0e7e3,Disposable as _0x2d0e8b,DisposableCollection as _0x32acf3,toDisposable as _0x5891ad,IConfigService as _0x39bec4,ILogService as _0x43687c,UserManagerService as _0x9ba843,UniverInstanceType as _0x583f53,IUniverInstanceService as _0x248930,LocaleService as _0x477c62,Optional as _0x52513a,RxDisposable as _0x186de6,Tools as _0x8cc875,Rectangle as _0x3cd9d4,ICommandService as _0x185ede,JSONX as _0x46d4a5,CommandType as _0x1a1b3d,IPermissionService as _0x5cf24c,IUndoRedoService as _0x2b9d6a,sequenceExecute as _0x3191f9,Workbook as _0x27b63e,MentionType as _0x525d5e,IAuthzIoService as _0x4b1b13,isInternalEditorID as _0x5f1df2,LocalUndoRedoService as _0x80d44f,IContextService as _0x1fb165,DependentOn as _0x485a20,Plugin as _0x5dad89,mergeOverrideWithDependencies as _0x2ec949,IMentionIOService as _0x19c147,registerDependencies as _0x55e183,Quantity as _0x273632,touchDependencies as _0x41afa0}from'@univerjs/core';import{Subject as _0x259d5d,merge as _0x22f8bf,of as _0x5c379f,BehaviorSubject as _0x27ef72,takeUntil as _0x39790d,ReplaySubject as _0x4cc6ad,take as _0x3a3f11,map as _0x1e327d,shareReplay as _0x1e55d9,firstValueFrom as _0xe3b687,concatMap as _0x146834}from'rxjs';import{map as _0x4e6d97,take as _0xb8a411,filter as _0x57ea80,delay as _0x4c7295,takeUntil as _0x334fe5}from'rxjs/operators';import{HTTPService as _0x221528,ISocketService as _0x47bc8d,MergeInterceptorFactory as _0x3a4587,HTTPRequest as _0x230d9d,UniverNetworkPlugin as _0x4fa0fb,ThresholdInterceptorFactory as _0x22c927}from'@univerjs/network';import{CollaborationEvent as _0x41c4be,parseChangesetToProtocol as _0x11e850,ISnapshotServerService as _0x4adf9f,isTransformMutationsWithChangesetSuccess as _0x475b3b,ITransformService as _0x12a25b,mapDocumentTypeToUniverType as _0x55c8b8,RevisionService as _0x42e08a,isTransformChangesetsSuccess as _0x22f639,CompressMutationService as _0x78e898,parseProtocolChangeset as _0x3bfdc7,SnapshotService as _0x29e361,textEncoder as _0x3c6568,b64DecodeUnicode as _0x133354,isTransformMutationsWithChangesetFailure as _0x197898,UniverCollaborationPlugin as _0x4829a6}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x389476}from'@univerjs/telemetry';import{RichTextEditingMutation as _0xcd2ee}from'@univerjs/docs';import{SheetsSelectionsService as _0x52fea8,SetSelectionsOperation as _0x27a380,InsertSheetMutation as _0x231d98,EmptyMutation as _0x18b4f0,WorkbookEditablePermission as _0x3afaa1,UnitObject as _0x88a096,defaultWorkbookPermissionPoints as _0x31db20,getAllWorkbookPermissionPoint as _0x49d77f,WorksheetProtectionRuleModel as _0x48bd95,baseProtectionActions as _0x249c67,getAllWorksheetPermissionPoint as _0xd3dfbc,WorksheetProtectionPointModel as _0xb0a835,defaultWorksheetPermissionPoint as _0x4e4db2,getAllWorksheetPermissionPointByPointPanel as _0x5e58f7,RangeProtectionRuleModel as _0x291fc6,getAllRangePermissionPoint as _0x2a09e1,UniverSheetsPlugin as _0x3eb317}from'@univerjs/sheets';import{ImageSourceType as _0x2c16d2,ImageUploadStatusType as _0x556ec1,IImageIoService as _0x262929}from'@univerjs/drawing';import{getGlobalObject as _0x22d849}from'@univerjs-pro/license';const Nn=_0xfea5bc(0x33c),Pn='/universer-api/snapshot',Dn='SNAPSHOT_URL_KEY',ho=_0xfea5bc(0x163),wn=0x7d0,Un='COLLAB_WEB_SOCKET_URL',An='ws://127.0.0.1:8000/universer-api/comb/connect',xn=_0xfea5bc(0x2ed),Ln=_0xfea5bc(0x16a),Mn=0x7530,Ei='HEARTBEAT_TIMEOUT',Ii=0x4e20,$n=0x4e20,Hn='RETRY_CONNECTING_MAX_COUNT',kn=0x3,_o=_0xfea5bc(0x1f7),lo=0x3e8,jn=_0xfea5bc(0x15e),Bn=_0xfea5bc(0x293),Fn=_0xfea5bc(0x21d),Vn=_0xfea5bc(0x312),uo=_0xfea5bc(0x182),fo='/universer-api/uniscript';var Ti=(_0x2bfdc3=>(_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x337)]=0x0]=_0xfea5bc(0x337),_0x2bfdc3[_0x2bfdc3['OK']=0x1]='OK',_0x2bfdc3[_0x2bfdc3['INTERNAL_ERROR']=0x2]=_0xfea5bc(0x22c),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x329)]=0x3]=_0xfea5bc(0x329),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x2a9)]=0x4]=_0xfea5bc(0x2a9),_0x2bfdc3[_0x2bfdc3['UNAUTHENTICATED']=0x5]=_0xfea5bc(0x28b),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x14d)]=0x6]=_0xfea5bc(0x14d),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0xb8)]=0x7]='INVALID_ARGUMENT',_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x1c3)]=0x8]=_0xfea5bc(0x1c3),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x6a)]=0x9]=_0xfea5bc(0x6a),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x186)]=0x1389]=_0xfea5bc(0x186),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x218)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x266)]=0x1772]=_0xfea5bc(0x266),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x2ca)]=0x1773]=_0xfea5bc(0x2ca),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x100)]=0x1b59]='APPLY_REJECT',_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0xfc)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2bfdc3[_0x2bfdc3['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xfea5bc(0x143),_0x2bfdc3[_0x2bfdc3['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xfea5bc(0x105),_0x2bfdc3[_0x2bfdc3['APPLY_DUPLICATED']=0x1b5d]=_0xfea5bc(0x10a),_0x2bfdc3[_0x2bfdc3['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x194)]=0x2329]=_0xfea5bc(0x194),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x359)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2bfdc3[_0x2bfdc3['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0xfea5bc(0x373),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x211)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x2a4)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2bfdc3[_0x2bfdc3['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xfea5bc(0x1db),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x8c)]=0x2712]=_0xfea5bc(0x8c),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x262)]=0x2713]=_0xfea5bc(0x262),_0x2bfdc3[_0x2bfdc3['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2bfdc3[_0x2bfdc3['UNRECOGNIZED']=-0x1]=_0xfea5bc(0x2a6),_0x2bfdc3))(Ti||{}),Q=(_0x3bd9c6=>(_0x3bd9c6[_0x3bd9c6[_0xfea5bc(0x2a1)]=0x0]=_0xfea5bc(0x2a1),_0x3bd9c6[_0x3bd9c6[_0xfea5bc(0x11b)]=0x1]=_0xfea5bc(0x11b),_0x3bd9c6[_0x3bd9c6[_0xfea5bc(0x14f)]=0x2]=_0xfea5bc(0x14f),_0x3bd9c6[_0x3bd9c6[_0xfea5bc(0x1b2)]=0x3]=_0xfea5bc(0x1b2),_0x3bd9c6[_0x3bd9c6[_0xfea5bc(0x153)]=0x4]='UNIVER_PROJECT',_0x3bd9c6[_0x3bd9c6[_0xfea5bc(0x2a6)]=-0x1]=_0xfea5bc(0x2a6),_0x3bd9c6))(Q||{}),F=(_0x1a5155=>(_0x1a5155[_0x1a5155[_0xfea5bc(0x291)]=0x0]=_0xfea5bc(0x291),_0x1a5155[_0x1a5155[_0xfea5bc(0x144)]=0x1]=_0xfea5bc(0x144),_0x1a5155[_0x1a5155['JOIN']=0x2]='JOIN',_0x1a5155[_0x1a5155[_0xfea5bc(0x6f)]=0x3]='LEAVE',_0x1a5155[_0x1a5155[_0xfea5bc(0x225)]=0x4]=_0xfea5bc(0x225),_0x1a5155[_0x1a5155[_0xfea5bc(0x20d)]=0x5]=_0xfea5bc(0x20d),_0x1a5155[_0x1a5155['RECV']=0x6]=_0xfea5bc(0x366),_0x1a5155[_0x1a5155[_0xfea5bc(0x2a6)]=-0x1]=_0xfea5bc(0x2a6),_0x1a5155))(F||{}),Ee=(_0x5efcb9=>(_0x5efcb9[_0x5efcb9[_0xfea5bc(0x1be)]=0x0]=_0xfea5bc(0x1be),_0x5efcb9[_0x5efcb9['OK']=0x1]='OK',_0x5efcb9[_0x5efcb9['FAIL']=0x2]='FAIL',_0x5efcb9[_0x5efcb9[_0xfea5bc(0xed)]=0x3e9]=_0xfea5bc(0xed),_0x5efcb9[_0x5efcb9[_0xfea5bc(0x2aa)]=0x3ea]=_0xfea5bc(0x2aa),_0x5efcb9[_0x5efcb9[_0xfea5bc(0x73)]=0x3eb]=_0xfea5bc(0x73),_0x5efcb9[_0x5efcb9[_0xfea5bc(0x290)]=0x3ec]=_0xfea5bc(0x290),_0x5efcb9[_0x5efcb9['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x5efcb9))(Ee||{}),Ci=(_0x898cf2=>(_0x898cf2[_0x898cf2['Undefined']=0x0]='Undefined',_0x898cf2[_0x898cf2[_0xfea5bc(0x116)]=0x1]='HttpImport',_0x898cf2[_0x898cf2[_0xfea5bc(0x31a)]=0x2]=_0xfea5bc(0x31a),_0x898cf2[_0x898cf2[_0xfea5bc(0x14a)]=0x3]='UnitEmbedded',_0x898cf2[_0x898cf2[_0xfea5bc(0x15d)]=0x4]=_0xfea5bc(0x15d),_0x898cf2[_0x898cf2[_0xfea5bc(0x2a6)]=-0x1]='UNRECOGNIZED',_0x898cf2))(Ci||{});const Y=_0xfea5bc(0x28d),Wn={};var re=(_0x233806=>(_0x233806[_0xfea5bc(0xa6)]=_0xfea5bc(0xa6),_0x233806[_0xfea5bc(0x329)]=_0xfea5bc(0x329),_0x233806[_0xfea5bc(0xd5)]=_0xfea5bc(0xd5),_0x233806['CLOSE_ROOM']='CLOSE_ROOM',_0x233806[_0xfea5bc(0x9d)]=_0xfea5bc(0x9d),_0x233806[_0xfea5bc(0x89)]=_0xfea5bc(0x89),_0x233806['SOCKET_FAILED']='SOCKET_FAILED',_0x233806[_0xfea5bc(0x287)]='SUBMIT_CHANGESET_TIMEOUT',_0x233806))(re||{});class pe{constructor(){var _0x461a6b=_0xfea5bc;P(this,_0x461a6b(0xd2),new _0x259d5d()),P(this,_0x461a6b(0xf4),this[_0x461a6b(0xd2)][_0x461a6b(0xc4)]());}[_0xfea5bc(0x23d)](_0x38fe80){var _0x593c05=_0xfea5bc;this['_event$'][_0x593c05(0x2d5)](_0x38fe80);}}const Gn=_0x3794ca('univer-pro.collaboration-client.network-condition.service');function Kn(_0x4dad5d){var _0x5ede20=_0xfea5bc,_0x292507,_0x2a6ca7,_0x249dbd,_0xf97a72,_0xb23179;const _0x3b7169=_0x4dad5d[_0x5ede20(0x2e1)],_0x50b273=JSON['parse'](_0x3b7169);switch(_0x50b273[_0x5ede20(0x2e3)]){case F[_0x5ede20(0x20d)]:case F[_0x5ede20(0x144)]:{const _0x1b5496=_0x50b273['infoRsp'];return{..._0x50b273,'data':_0x1b5496,'cmd':_0x50b273['cmd']};}case F['JOIN']:{const _0x2f1c19=_0x50b273[_0x5ede20(0xdb)];return{..._0x50b273,'data':_0x2f1c19,'cmd':_0x50b273[_0x5ede20(0x2e3)]};}case F[_0x5ede20(0x366)]:{const _0x3b76b9=_0x50b273[_0x5ede20(0x2df)];switch(_0x3b76b9['eventID']){case _0x41c4be['PERMISSION_REJ']:return{..._0x50b273,'data':{..._0x3b76b9,'data':(_0x292507=_0x3b76b9[_0x5ede20(0x294)])==null?void 0x0:_0x292507['cs']},'cmd':_0x50b273['cmd']};case _0x41c4be['CHANGESET_ACK']:return{..._0x50b273,'data':{..._0x3b76b9,'data':(_0x2a6ca7=_0x3b76b9[_0x5ede20(0x157)])==null?void 0x0:_0x2a6ca7['cs']},'cmd':_0x50b273[_0x5ede20(0x2e3)]};case _0x41c4be[_0x5ede20(0x24e)]:return{..._0x50b273,'data':{..._0x3b76b9,'data':(_0x249dbd=_0x3b76b9['newCsEvent'])==null?void 0x0:_0x249dbd['cs']},'cmd':_0x50b273[_0x5ede20(0x2e3)]};case _0x41c4be[_0x5ede20(0x345)]:return{..._0x50b273,'data':{..._0x3b76b9,'data':(_0xf97a72=_0x3b76b9[_0x5ede20(0x125)])==null?void 0x0:_0xf97a72['cs']},'cmd':_0x50b273['cmd']};case _0x41c4be[_0x5ede20(0x209)]:return{..._0x50b273,'data':{..._0x3b76b9,'data':(_0xb23179=_0x3b76b9[_0x5ede20(0x83)])==null?void 0x0:_0xb23179['cs']},'cmd':_0x50b273[_0x5ede20(0x2e3)]};case _0x41c4be[_0x5ede20(0x2e7)]:return{..._0x50b273,'data':{..._0x3b76b9,'data':_0x3b76b9[_0x5ede20(0x2d1)]},'cmd':_0x50b273[_0x5ede20(0x2e3)]};case _0x41c4be[_0x5ede20(0x317)]:return{..._0x50b273,'data':{..._0x3b76b9,'data':_0x3b76b9['joinEvent']},'cmd':_0x50b273[_0x5ede20(0x2e3)]};case _0x41c4be[_0x5ede20(0x2ea)]:return{..._0x50b273,'data':{..._0x3b76b9,'data':_0x3b76b9['leaveEvent']},'cmd':_0x50b273['cmd']};case _0x41c4be[_0x5ede20(0x362)]:return{..._0x50b273,'data':{..._0x3b76b9,'data':_0x3b76b9['liveShareNewHost']},'cmd':_0x50b273[_0x5ede20(0x2e3)]};case _0x41c4be[_0x5ede20(0x30c)]:case _0x41c4be['LIVESHARE_OPERATION']:return{..._0x50b273,'data':{..._0x3b76b9,'data':_0x3b76b9[_0x5ede20(0x154)]},'cmd':_0x50b273[_0x5ede20(0x2e3)]};case _0x41c4be['LIVESHARE_TERMINATE']:return{..._0x50b273,'data':{..._0x3b76b9,'data':_0x3b76b9[_0x5ede20(0x2c7)]},'cmd':_0x50b273[_0x5ede20(0x2e3)]};case _0x41c4be[_0x5ede20(0x2fa)]:return{..._0x50b273,'data':_0x3b76b9,'cmd':_0x50b273['cmd']};case _0x41c4be[_0x5ede20(0x1ce)]:return{..._0x50b273,'data':{..._0x3b76b9,'data':_0x3b76b9['commentUpdateEvent']},'cmd':_0x50b273['cmd']};case _0x41c4be['UPDATE_PERMISSION_OBJ']:return{..._0x50b273,'data':{..._0x3b76b9,'data':_0x3b76b9[_0x5ede20(0x252)]},'cmd':_0x50b273[_0x5ede20(0x2e3)]};case _0x41c4be['SHOULD_CLOSE_CONN']:return{..._0x50b273,'data':{..._0x3b76b9,'data':_0x3b76b9[_0x5ede20(0x356)]},'cmd':_0x50b273['cmd']};case _0x41c4be[_0x5ede20(0x371)]:return{..._0x50b273,'data':{..._0x3b76b9,'data':_0x3b76b9[_0x5ede20(0x2fe)]},'cmd':_0x50b273[_0x5ede20(0x2e3)]};default:return _0x50b273;}}default:return _0x50b273;}}function zn(_0x5f8bb4){var _0x2ea609=_0xfea5bc;switch(_0x5f8bb4[_0x2ea609(0x2e3)]){case F[_0x2ea609(0x20d)]:case F[_0x2ea609(0x144)]:return JSON[_0x2ea609(0x305)]({'cmd':_0x5f8bb4['cmd'],'routeKey':_0x5f8bb4[_0x2ea609(0x9f)]});case F['INGEST']:{let _0xc7fef;switch(_0x5f8bb4[_0x2ea609(0x2e1)][_0x2ea609(0x145)]){case _0x41c4be[_0x2ea609(0x2e7)]:{_0xc7fef={'eventID':_0x41c4be[_0x2ea609(0x2e7)],'updateCursorEvent':_0x5f8bb4[_0x2ea609(0x2e1)][_0x2ea609(0x2e1)]};break;}case _0x41c4be[_0x2ea609(0x2ea)]:{_0xc7fef={'eventID':_0x41c4be[_0x2ea609(0x2ea)],'leaveEvent':_0x5f8bb4[_0x2ea609(0x2e1)]['data']};break;}case _0x41c4be[_0x2ea609(0x317)]:{_0xc7fef={'eventID':_0x41c4be['USERS_ENTER'],'joinEvent':_0x5f8bb4['data'][_0x2ea609(0x2e1)]};break;}case _0x41c4be[_0x2ea609(0x362)]:{_0xc7fef={'eventID':_0x41c4be[_0x2ea609(0x362)],'liveShareNewHost':_0x5f8bb4[_0x2ea609(0x2e1)][_0x2ea609(0x2e1)]};break;}case _0x41c4be['LIVESHARE_OPERATION']:{_0xc7fef={'eventID':_0x41c4be[_0x2ea609(0x27e)],'liveShareOperation':_0x5f8bb4['data'][_0x2ea609(0x2e1)]};break;}case _0x41c4be[_0x2ea609(0x19c)]:{_0xc7fef={'eventID':_0x41c4be['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x5f8bb4[_0x2ea609(0x2e1)][_0x2ea609(0x2e1)]};break;}case _0x41c4be['LIVESHARE_REQUEST_HOST']:{_0xc7fef={'eventID':_0x41c4be['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x5f8bb4['data']['data']};break;}case _0x41c4be[_0x2ea609(0x30c)]:{_0xc7fef={'eventID':_0x41c4be[_0x2ea609(0x30c)]};break;}default:_0xc7fef={'eventID':_0x5f8bb4[_0x2ea609(0x2e1)]['eventID']};}return JSON['stringify']({'cmd':_0x5f8bb4[_0x2ea609(0x2e3)],'routeKey':_0x5f8bb4[_0x2ea609(0x9f)],'collaMsg':_0xc7fef});}case F[_0x2ea609(0x88)]:return JSON[_0x2ea609(0x305)]({'cmd':_0x5f8bb4[_0x2ea609(0x2e3)],'routeKey':_0x5f8bb4[_0x2ea609(0x9f)],'joinReq':_0x5f8bb4[_0x2ea609(0x2e1)]});case F[_0x2ea609(0x6f)]:return JSON['stringify']({'cmd':_0x5f8bb4[_0x2ea609(0x2e3)],'routeKey':_0x5f8bb4[_0x2ea609(0x9f)],'leaveReq':_0x5f8bb4[_0x2ea609(0x2e1)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Yn=Object[_0xfea5bc(0x247)],qn=Object[_0xfea5bc(0x30f)],Jn=(_0x1e7826,_0x196ca2,_0x3d7a40,_0x564171)=>{var _0x34d1eb=_0xfea5bc;for(var _0x1bd666=_0x564171>0x1?void 0x0:_0x564171?qn(_0x196ca2,_0x3d7a40):_0x196ca2,_0x12654e=_0x1e7826[_0x34d1eb(0x28a)]-0x1,_0x1bbbcf;_0x12654e>=0x0;_0x12654e--)(_0x1bbbcf=_0x1e7826[_0x12654e])&&(_0x1bd666=(_0x564171?_0x1bbbcf(_0x196ca2,_0x3d7a40,_0x1bd666):_0x1bbbcf(_0x1bd666))||_0x1bd666);return _0x564171&&_0x1bd666&&Yn(_0x196ca2,_0x3d7a40,_0x1bd666),_0x1bd666;},Ue=(_0x4bdd76,_0x3e07da)=>(_0x19211e,_0x2aa047)=>_0x3e07da(_0x19211e,_0x2aa047,_0x4bdd76);const bi=_0x3794ca(_0xfea5bc(0x22b));function Xn(_0x3329ed,_0x37fc51,_0x381a06){var _0x157287=_0xfea5bc;return _0x3329ed+'/'+_0x37fc51+'/unit/'+_0x381a06+_0x157287(0xfe);}let It=class extends _0x2d0e8b{constructor(_0x257add,_0x3e8eac,_0x2eb5fa,_0x24ead5,_0x588be7){var _0x21a2d5=_0xfea5bc;super(),this[_0x21a2d5(0x239)]=_0x257add,this[_0x21a2d5(0x313)]=_0x3e8eac,this['_configService']=_0x2eb5fa,this[_0x21a2d5(0xa5)]=_0x24ead5,this['_snapshotServerService']=_0x588be7;}['createSocket'](_0x36d778){var _0x3b9cf2=_0xfea5bc;const _0x5af16d=this[_0x3b9cf2(0x239)][_0x3b9cf2(0x1da)](_0x47bc8d);if(!_0x5af16d)throw new Error(_0x3b9cf2(0x270));const _0x590f51=_0x5af16d[_0x3b9cf2(0x13b)](_0x36d778);if(!_0x590f51)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x324a09=new _0x32acf3(),_0x9ab6ba=new _0x259d5d();_0x324a09[_0x3b9cf2(0x2eb)](_0x590f51['close$'][_0x3b9cf2(0x2d7)](_0x534f93=>_0x9ab6ba[_0x3b9cf2(0x2d5)](_0x534f93))),_0x324a09['add'](_0x5891ad(()=>_0x9ab6ba[_0x3b9cf2(0x2f8)]()));const _0x336e61=new _0x259d5d();_0x324a09['add'](_0x590f51[_0x3b9cf2(0x29f)][_0x3b9cf2(0x2d7)](_0x243287=>_0x336e61[_0x3b9cf2(0x2d5)](_0x243287))),_0x324a09[_0x3b9cf2(0x2eb)](_0x5891ad(()=>_0x336e61[_0x3b9cf2(0x2f8)]()));const _0x256ac4=new _0x259d5d();_0x324a09[_0x3b9cf2(0x2eb)](_0x590f51[_0x3b9cf2(0x142)]['subscribe'](_0x4a7267=>{var _0x10a989=_0x3b9cf2;const _0x1be1ce=Kn(_0x4a7267);_0x256ac4[_0x10a989(0x2d5)](_0x1be1ce);})),_0x324a09[_0x3b9cf2(0x2eb)](_0x5891ad(()=>_0x256ac4[_0x3b9cf2(0x2f8)]()));let _0x1ef9c0;const _0x5ac4ea=()=>{var _0x25faeb=_0x3b9cf2;_0x336e61[_0x25faeb(0x2d5)](new Event(_0x25faeb(0x1f6))),_0x9ab6ba[_0x25faeb(0x2d5)](new CloseEvent(_0x25faeb(0x1f6))),_0x1ef9c0[_0x25faeb(0x93)]();};return _0x1ef9c0={'memberID':'','close$':_0x9ab6ba[_0x3b9cf2(0xc4)](),'error$':_0x336e61['asObservable'](),'open$':_0x590f51[_0x3b9cf2(0x282)],'message$':_0x256ac4[_0x3b9cf2(0xc4)](),'send':_0x5bdc14=>{var _0x22f39e=_0x3b9cf2;if(_0x5bdc14[_0x22f39e(0x2e3)]===F[_0x22f39e(0x225)]){if(_0x5bdc14[_0x22f39e(0x2e1)][_0x22f39e(0x145)]===_0x41c4be[_0x22f39e(0x296)]){this['_submitChangeset'](_0x1ef9c0,_0x5bdc14['data'])[_0x22f39e(0x11f)](_0x5c284e=>{var _0x4bee6a=_0x22f39e;this[_0x4bee6a(0xa5)]['error'](_0x5c284e),_0x5ac4ea();});return;}if(_0x5bdc14[_0x22f39e(0x2e1)][_0x22f39e(0x145)]===_0x41c4be[_0x22f39e(0xeb)]){const _0x13bc54=_0x5bdc14[_0x22f39e(0x2e1)];this['_fetchMissChangesets'](_0x13bc54)[_0x22f39e(0x82)](_0x1ac573=>{var _0x1dc382=_0x22f39e;_0x256ac4[_0x1dc382(0x2d5)]({'cmd':F[_0x1dc382(0x366)],'code':Ee['OK'],'routeKey':_0x13bc54[_0x1dc382(0x2e1)]['unitID'],'routeType':'','data':{'eventID':_0x41c4be[_0x1dc382(0xe7)],'data':{'changesets':_0x1ac573}}});})[_0x22f39e(0x11f)](_0x7bf159=>{var _0x52ce0c=_0x22f39e;this[_0x52ce0c(0xa5)]['error'](_0x7bf159),_0x5ac4ea();});return;}}_0x590f51['send'](zn(_0x5bdc14));},'close':()=>{var _0x3437cc=_0x3b9cf2;_0x590f51[_0x3437cc(0x93)](),_0x324a09[_0x3437cc(0x33e)]();}},_0x1ef9c0;}async['_submitChangeset'](_0x3e65fa,_0x3908f1){var _0x50f461=_0xfea5bc,_0xbbdeaa,_0x3ff7c8;const {unitType:_0x4f9229,unitID:_0xe2b8ea,changeset:_0x5deb3b}=_0x3908f1[_0x50f461(0x2e1)],_0x2433d4={'unitID':_0xe2b8ea,'memberID':_0x3e65fa['memberID'],'type':_0x4f9229,'changeset':_0x11e850(_0x5deb3b)},_0x53f308=this[_0x50f461(0x132)][_0x50f461(0x30a)](jn),_0x178dc7=this[_0x50f461(0x132)][_0x50f461(0x30a)](Y),_0x388a74=Xn((_0x3ff7c8=(_0xbbdeaa=_0x178dc7==null?void 0x0:_0x178dc7[_0x50f461(0x215)])!=null?_0xbbdeaa:_0x53f308)!=null?_0x3ff7c8:Bn,_0x4f9229,_0xe2b8ea);try{await this[_0x50f461(0x313)]['post'](_0x388a74,{'body':_0x2433d4});}catch(_0x35d180){throw this[_0x50f461(0xa5)][_0x50f461(0x36e)](_0x50f461(0x20b),_0x50f461(0xd8)),_0x35d180;}}async[_0xfea5bc(0xd6)](_0x5b2a8e){var _0x14cf56=_0xfea5bc;const {unitID:_0x12049f,from:_0x2da327,to:_0x4a82f1,unitType:_0x5a83f8}=_0x5b2a8e[_0x14cf56(0x2e1)];return(await this[_0x14cf56(0x124)][_0x14cf56(0x1e4)]({'metadata':void 0x0},{'unitID':_0x12049f,'type':_0x5a83f8,'from':_0x2da327,'to':_0x4a82f1}))[_0x14cf56(0x2a3)];}};It=Jn([Ue(0x0,_0x5d1423(_0xd0e7e3)),Ue(0x1,_0x5d1423(_0x221528)),Ue(0x2,_0x39bec4),Ue(0x3,_0x43687c),Ue(0x4,_0x4adf9f)],It);const Zn=_0xfea5bc(0xc6);function Qn(_0x28a7fe){return JSON['stringify'](_0x28a7fe)['length'];}class Ri{constructor(){var _0x58486b=_0xfea5bc;P(this,'_commentUpdate$',new _0x259d5d()),P(this,'commentUpdate$',this[_0x58486b(0x1c4)][_0x58486b(0xc4)]());}[_0xfea5bc(0x2e5)](_0x3ecf01){var _0x5f4fba=_0xfea5bc;this[_0x5f4fba(0x1c4)]['next'](_0x3ecf01);}}var es=Object[_0xfea5bc(0x247)],ts=Object['getOwnPropertyDescriptor'],is=(_0x157830,_0x477947,_0x23ef12,_0x341ec1)=>{var _0x4ec51d=_0xfea5bc;for(var _0x4517b9=_0x341ec1>0x1?void 0x0:_0x341ec1?ts(_0x477947,_0x23ef12):_0x477947,_0x1565a9=_0x157830[_0x4ec51d(0x28a)]-0x1,_0x24e3ee;_0x1565a9>=0x0;_0x1565a9--)(_0x24e3ee=_0x157830[_0x1565a9])&&(_0x4517b9=(_0x341ec1?_0x24e3ee(_0x477947,_0x23ef12,_0x4517b9):_0x24e3ee(_0x4517b9))||_0x4517b9);return _0x341ec1&&_0x4517b9&&es(_0x477947,_0x23ef12,_0x4517b9),_0x4517b9;},zt=(_0x59941b,_0x50c0c6)=>(_0x31d72e,_0x8ed933)=>_0x50c0c6(_0x31d72e,_0x8ed933,_0x59941b);let xe=class extends _0x2d0e8b{constructor(_0x2f756a,_0x14191d){var _0x45aeea=_0xfea5bc;super(),P(this,_0x45aeea(0xf6),new Map()),P(this,'_roomCreated$',new _0x259d5d()),(this[_0x45aeea(0x2fb)]=_0x2f756a,this[_0x45aeea(0x20f)]=_0x14191d,this[_0x45aeea(0x351)](_0x22f8bf(this[_0x45aeea(0x2fb)]['getTypeOfUnitDisposed$'](_0x583f53['UNIVER_SHEET'])[_0x45aeea(0x7f)](_0x4e6d97(_0x17e3fe=>_0x17e3fe[_0x45aeea(0x33d)]())),this[_0x45aeea(0x2fb)][_0x45aeea(0x1c2)](_0x583f53['UNIVER_DOC'])['pipe'](_0x4e6d97(_0x471173=>_0x471173[_0x45aeea(0x33d)]())),this[_0x45aeea(0x2fb)][_0x45aeea(0x1c2)](_0x583f53[_0x45aeea(0x1b2)])['pipe'](_0x4e6d97(_0x1b79c2=>_0x1b79c2[_0x45aeea(0x33d)]())))[_0x45aeea(0x2d7)](_0x5bc691=>this[_0x45aeea(0x141)](_0x5bc691))));}[_0xfea5bc(0x71)](_0x314440){var _0x248c05=_0xfea5bc;return this[_0x248c05(0xf6)][_0x248c05(0x178)](_0x314440)?_0x5c379f(this[_0x248c05(0xf6)][_0x248c05(0x1da)](_0x314440)):this[_0x248c05(0x119)]['pipe'](_0x4e6d97(_0x1920d0=>{var _0x133260=_0x248c05;if(_0x1920d0===_0x314440)return this[_0x133260(0xf6)][_0x133260(0x1da)](_0x1920d0);}));}[_0xfea5bc(0x2d8)](_0x228d7d){var _0x4a8673=_0xfea5bc;this[_0x4a8673(0x20f)]['setCurrentUser'](_0x228d7d);}[_0xfea5bc(0x1e5)](){var _0x21136d=_0xfea5bc;return this[_0x21136d(0x20f)]['getCurrentUser']();}[_0xfea5bc(0x1b4)](_0x50fafd,_0x175b02){var _0x768ced=_0xfea5bc;let _0x5aca85=this['_roomMembers'][_0x768ced(0x1da)](_0x50fafd);_0x5aca85||(_0x5aca85=new ns(),this['_roomMembers'][_0x768ced(0x1cc)](_0x50fafd,_0x5aca85),this['_roomCreated$']['next'](_0x50fafd)),_0x5aca85[_0x768ced(0x1b4)](_0x175b02);}[_0xfea5bc(0x21f)](_0x30ca57,_0x50680e){var _0x254cbd=_0xfea5bc;const _0x4eb1e6=this['_roomMembers'][_0x254cbd(0x1da)](_0x30ca57);_0x4eb1e6&&_0x4eb1e6['removeMember'](_0x50680e);}[_0xfea5bc(0x340)](_0x1a49d7){var _0x88e593=_0xfea5bc;return this['_roomMembers'][_0x88e593(0x1da)](_0x1a49d7);}['getMember'](_0x53326f,_0x35a75a){var _0x87329=_0xfea5bc;const _0xd450e3=this[_0x87329(0xf6)][_0x87329(0x1da)](_0x53326f);if(_0xd450e3)return _0xd450e3[_0x87329(0x1b8)](_0x35a75a);}[_0xfea5bc(0x141)](_0x34be59){var _0xa68547=_0xfea5bc;const _0x5db60b=this[_0xa68547(0xf6)][_0xa68547(0x1da)](_0x34be59);_0x5db60b&&(_0x5db60b[_0xa68547(0x33e)](),this[_0xa68547(0xf6)]['delete'](_0x34be59));}[_0xfea5bc(0x33e)](){var _0x475997=_0xfea5bc;this[_0x475997(0xf6)][_0x475997(0x19f)](_0x51173e=>_0x51173e[_0x475997(0x33e)]()),this[_0x475997(0xf6)][_0x475997(0x1bd)](),this[_0x475997(0x119)]['complete']();}};xe=is([zt(0x0,_0x248930),zt(0x1,_0x5d1423(_0x9ba843))],xe);class ns extends _0x2d0e8b{constructor(){var _0x30e86a=_0xfea5bc;super(...arguments),P(this,'_members',new Map()),P(this,'_members$',new _0x27ef72(this[_0x30e86a(0xee)])),P(this,'members$',this[_0x30e86a(0x1c1)]['asObservable']());}[_0xfea5bc(0x33e)](){var _0x507179=_0xfea5bc;this[_0x507179(0xee)][_0x507179(0x1bd)]();}[_0xfea5bc(0x1b4)](_0x143709){var _0x55760d=_0xfea5bc;this['_members'][_0x55760d(0x1cc)](_0x143709[_0x55760d(0xc7)],_0x143709),this[_0x55760d(0x120)]();}[_0xfea5bc(0x21f)](_0x18faae){var _0x2cc90a=_0xfea5bc;this[_0x2cc90a(0xee)]['delete'](_0x18faae);}[_0xfea5bc(0x1b8)](_0x51f35a){var _0x152251=_0xfea5bc;return this[_0x152251(0xee)]['get'](_0x51f35a);}['getAllMembers'](){var _0x4d2914=_0xfea5bc;return Array[_0x4d2914(0x25c)](this[_0x4d2914(0xee)][_0x4d2914(0x232)]());}['_emitMembers'](){var _0x5284a9=_0xfea5bc;this[_0x5284a9(0x1c1)]['next'](this[_0x5284a9(0xee)]);}}var ss=Object[_0xfea5bc(0x247)],rs=Object[_0xfea5bc(0x30f)],os=(_0x2a9213,_0x1b64db,_0x351466,_0x48a20b)=>{for(var _0x1b8c66=_0x48a20b>0x1?void 0x0:_0x48a20b?rs(_0x1b64db,_0x351466):_0x1b64db,_0x63f5af=_0x2a9213['length']-0x1,_0x15c3f2;_0x63f5af>=0x0;_0x63f5af--)(_0x15c3f2=_0x2a9213[_0x63f5af])&&(_0x1b8c66=(_0x48a20b?_0x15c3f2(_0x1b64db,_0x351466,_0x1b8c66):_0x15c3f2(_0x1b8c66))||_0x1b8c66);return _0x48a20b&&_0x1b8c66&&ss(_0x1b64db,_0x351466,_0x1b8c66),_0x1b8c66;},me=(_0x16b25a,_0x2f4be0)=>(_0x4ea89c,_0x4691de)=>_0x2f4be0(_0x4ea89c,_0x4691de,_0x16b25a),Te=(_0x49a391=>(_0x49a391[_0x49a391[_0xfea5bc(0x15c)]=0x0]=_0xfea5bc(0x15c),_0x49a391[_0x49a391['JOINING']=0x1]=_0xfea5bc(0xbc),_0x49a391[_0x49a391[_0xfea5bc(0x32c)]=0x2]=_0xfea5bc(0x32c),_0x49a391[_0x49a391['ONLINE']=0x3]=_0xfea5bc(0x254),_0x49a391))(Te||{});const Yt={[Ee['FAIL']]:_0xfea5bc(0xc3),[Ee['JOIN_ROOM_FULL']]:_0xfea5bc(0x201),[Ee[_0xfea5bc(0x2aa)]]:_0xfea5bc(0x35e),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[Ee[_0xfea5bc(0x290)]]:_0xfea5bc(0xe5)};let Tt=class extends _0x186de6{constructor(_0x3a6210,_0x4b6756,_0x454d33,_0x14428f,_0x12ef48,_0x14386e,_0x5cf278,_0x1348cd,_0x3d1952){var _0x5610e1=_0xfea5bc;super(),P(this,_0x5610e1(0x216),new _0x27ef72(0x0)),P(this,_0x5610e1(0xb3),this[_0x5610e1(0x216)]['asObservable']()),P(this,_0x5610e1(0xd2),new _0x259d5d()),P(this,_0x5610e1(0xf4),this['_event$']['asObservable']()),P(this,'_socket'),P(this,_0x5610e1(0x29a)),P(this,_0x5610e1(0xbe)),P(this,'_shouldReportTelemetry',!0x1),P(this,'_telemetryInfo',null),(this[_0x5610e1(0x1ee)]=_0x3a6210,this[_0x5610e1(0xa5)]=_0x454d33,this[_0x5610e1(0x132)]=_0x14428f,this['_localeService']=_0x12ef48,this['_memberService']=_0x14386e,this[_0x5610e1(0x36c)]=_0x5cf278,this[_0x5610e1(0x207)]=_0x1348cd,this[_0x5610e1(0x94)]=_0x3d1952,this[_0x5610e1(0x12e)]=!!this[_0x5610e1(0x94)],_0x4b6756[_0x5610e1(0x7f)](_0x39790d(this['dispose$']))[_0x5610e1(0x2d7)](_0x42c278=>{var _0x2a6a91=_0x5610e1,_0x4cdb23;typeof _0x42c278>'u'||(this[_0x2a6a91(0x16c)]=_0x42c278,_0x42c278?(this[_0x2a6a91(0x36d)](_0x42c278),this[_0x2a6a91(0x29a)]=_0x42c278['message$'][_0x2a6a91(0x2d7)](_0x25a341=>{var _0x39793e=_0x2a6a91;_0x25a341[_0x39793e(0x9f)]===this[_0x39793e(0x1ee)]&&this[_0x39793e(0x299)](_0x25a341);})):(this[_0x2a6a91(0x200)](),this[_0x2a6a91(0x216)]['next'](0x2),(_0x4cdb23=this['_socketMessageSubscription'])==null||_0x4cdb23[_0x2a6a91(0x1e3)](),this['_socketMessageSubscription']=null));}));}get[_0xfea5bc(0x33a)](){var _0x42c4f1=_0xfea5bc;return this[_0x42c4f1(0x216)][_0x42c4f1(0xac)]();}[_0xfea5bc(0x31c)](){var _0xda4e0f=_0xfea5bc,_0x3040c3,_0x56e834;return(_0x56e834=(_0x3040c3=this[_0xda4e0f(0x16c)])==null?void 0x0:_0x3040c3[_0xda4e0f(0xc7)])!=null?_0x56e834:null;}['dispose'](){var _0xe5e71b=_0xfea5bc;super['dispose'](),this['dispose$'][_0xe5e71b(0x2d5)](),this[_0xe5e71b(0x35d)]['complete']();}[_0xfea5bc(0x93)](){var _0x502550=_0xfea5bc,_0x174e22,_0x24175b;this['_throwTelemetryCollaborationNewChangeset'](),(_0x174e22=this[_0x502550(0x16c)])==null||_0x174e22['send']({'cmd':F['LEAVE'],'data':{'roomID':this[_0x502550(0x1ee)]}}),(_0x24175b=this['_socket'])==null||_0x24175b[_0x502550(0x93)](),this[_0x502550(0xd2)][_0x502550(0x2f8)](),this[_0x502550(0x216)][_0x502550(0x2f8)](),this[_0x502550(0x33e)]();}[_0xfea5bc(0x299)](_0xd92877){var _0x6069cd=_0xfea5bc;_0xd92877[_0x6069cd(0x2e3)]===F[_0x6069cd(0x88)]?this[_0x6069cd(0x34b)](_0xd92877):_0xd92877[_0x6069cd(0x2e3)]===F[_0x6069cd(0x366)]&&this[_0x6069cd(0x2d2)](_0xd92877);}['_joinRoom'](_0x56cf89){var _0x3bcf9d=_0xfea5bc;this[_0x3bcf9d(0x216)]['next'](0x1),_0x56cf89[_0x3bcf9d(0x22d)]({'cmd':F['JOIN'],'routeKey':this[_0x3bcf9d(0x1ee)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3bcf9d(0x1ee)]}]}});}[_0xfea5bc(0x34b)](_0x345930){var _0x2e6a44=_0xfea5bc,_0x3ae329;if(_0x345930[_0x2e6a44(0x17c)]in Yt){this[_0x2e6a44(0x207)]['emitEvent']({'id':re['JOIN_ROOM_FAILED'],'data':Yt[_0x345930[_0x2e6a44(0x17c)]]}),this[_0x2e6a44(0x216)]['next'](0x2);return;}this[_0x2e6a44(0x216)][_0x2e6a44(0x2d5)](0x3);const _0x1cf776=(_0x3ae329=_0x345930['data'][_0x2e6a44(0x8a)][this[_0x2e6a44(0x1ee)]])==null?void 0x0:_0x3ae329[_0x2e6a44(0x11c)];_0x1cf776&&_0x1cf776[_0x2e6a44(0x19f)](_0x338ef5=>this[_0x2e6a44(0x13d)][_0x2e6a44(0x1b4)](this[_0x2e6a44(0x1ee)],_0x338ef5));}['_onRecvEvent'](_0x2454f3){var _0x14064c=_0xfea5bc;try{const _0x571906=_0x2454f3[_0x14064c(0x2e1)];switch(_0x571906[_0x14064c(0x145)]){case _0x41c4be[_0x14064c(0x317)]:this[_0x14064c(0x35f)](_0x571906),this['_event$'][_0x14064c(0x2d5)](_0x571906);break;case _0x41c4be[_0x14064c(0x2ea)]:this[_0x14064c(0x2c4)](_0x571906),this[_0x14064c(0xd2)][_0x14064c(0x2d5)](_0x571906);break;case _0x41c4be['CHANGESET_ACK']:case _0x41c4be[_0x14064c(0x209)]:this[_0x14064c(0x368)](),this['_clearCollaborationTimeoutTimer'](),this[_0x14064c(0xd2)][_0x14064c(0x2d5)](_0x571906);break;case _0x41c4be[_0x14064c(0x2fa)]:this['_logService']['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x14064c(0x305)](_0x571906)),this['_event$'][_0x14064c(0x2d5)](_0x571906);break;case _0x41c4be[_0x14064c(0x1ce)]:this['_commentService'][_0x14064c(0x2e5)](_0x571906[_0x14064c(0x2e1)]),this[_0x14064c(0xd2)]['next'](_0x571906);break;default:this['_event$'][_0x14064c(0x2d5)](_0x571906);}}catch(_0x339e82){this[_0x14064c(0xa5)][_0x14064c(0x36e)](_0x339e82,_0x2454f3);}}['_onUserJoin'](_0x48a5ad){var _0x309296=_0xfea5bc;this[_0x309296(0x13d)]['updateMember'](this['_unitID'],_0x48a5ad[_0x309296(0x2e1)]);}['_onUserLeave'](_0x199311){var _0x197144=_0xfea5bc;this[_0x197144(0x13d)]['removeMember'](this[_0x197144(0x1ee)],_0x199311[_0x197144(0x2e1)][_0x197144(0xc7)]);}async[_0xfea5bc(0x22d)](_0x38cdba,_0x1a437){var _0x133148=_0xfea5bc;if(this[_0x133148(0x33a)]!==0x3||!this[_0x133148(0x16c)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x38cdba[_0x133148(0x145)]===_0x41c4be[_0x133148(0x296)]&&(this[_0x133148(0x165)](),this['_startTelemetryCollaborationNewChangeset'](_0x38cdba)),this[_0x133148(0x16c)][_0x133148(0x22d)]({'cmd':F[_0x133148(0x225)],'routeKey':_0x1a437,'routeType':'','data':_0x38cdba});}catch(_0x38d22f){this[_0x133148(0xa5)]['error'](_0x38d22f);}}[_0xfea5bc(0x165)](){var _0xc83579;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x2ef47d=_0xce85;this['_collaborationTimeoutTimer']=null,this[_0x2ef47d(0x207)][_0x2ef47d(0x23d)]({'id':re[_0x2ef47d(0x287)]});},(_0xc83579=this['_configService']['getConfig'](Ei))!=null?_0xc83579:Ii);}['_clearCollaborationTimeoutTimer'](){var _0x15d214=_0xfea5bc;this[_0x15d214(0xbe)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x15d214(0xbe)]=null);}[_0xfea5bc(0x104)](_0x2a4af2){var _0x35e804=_0xfea5bc;if(!this[_0x35e804(0x12e)])return;const {data:_0x1be0bc}=_0x2a4af2,{unitID:_0x51a9e7,changeset:_0x546850}=_0x1be0bc,{mutations:_0x2a68c3,type:_0x37f9ca}=_0x546850;this[_0x35e804(0x2f9)]={'unitId':_0x51a9e7,'type':_0x37f9ca,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Qn(_0x2a68c3)};}[_0xfea5bc(0x368)](){var _0x17ada7=_0xfea5bc;if(this[_0x17ada7(0x12e)]){if(!this[_0x17ada7(0x2f9)]){this[_0x17ada7(0xa5)]['error'](_0x17ada7(0x20b),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x17ada7(0x2f9)][_0x17ada7(0xb1)]=performance['now'](),this['_telemetryInfo'][_0x17ada7(0x181)]=this[_0x17ada7(0x2f9)][_0x17ada7(0xb1)]-this[_0x17ada7(0x2f9)][_0x17ada7(0x180)],this[_0x17ada7(0x94)]['capture'](Zn,this[_0x17ada7(0x2f9)]),this[_0x17ada7(0x2f9)]=null;}}[_0xfea5bc(0x200)](){var _0x91992=_0xfea5bc;this[_0x91992(0x2f9)]=null;}};Tt=os([me(0x2,_0x43687c),me(0x3,_0x39bec4),me(0x4,_0x5d1423(_0x477c62)),me(0x5,_0x5d1423(xe)),me(0x6,_0x5d1423(Ri)),me(0x7,_0x5d1423(pe)),me(0x8,_0x52513a(_0x389476))],Tt);var as=Object[_0xfea5bc(0x247)],cs=Object['getOwnPropertyDescriptor'],hs=(_0xf16735,_0x30ea8a,_0x184ca0,_0x4bb29a)=>{var _0x370a5d=_0xfea5bc;for(var _0x4335ed=_0x4bb29a>0x1?void 0x0:_0x4bb29a?cs(_0x30ea8a,_0x184ca0):_0x30ea8a,_0x25f68e=_0xf16735[_0x370a5d(0x28a)]-0x1,_0x29bd44;_0x25f68e>=0x0;_0x25f68e--)(_0x29bd44=_0xf16735[_0x25f68e])&&(_0x4335ed=(_0x4bb29a?_0x29bd44(_0x30ea8a,_0x184ca0,_0x4335ed):_0x29bd44(_0x4335ed))||_0x4335ed);return _0x4bb29a&&_0x4335ed&&as(_0x30ea8a,_0x184ca0,_0x4335ed),_0x4335ed;},ge=(_0x109715,_0x21abdd)=>(_0x3552d1,_0xfcd18a)=>_0x21abdd(_0x3552d1,_0xfcd18a,_0x109715);let Le=class extends _0x2d0e8b{constructor(_0x4939da,_0x4a690f,_0x2618e1,_0x46e6b4,_0x3d3194,_0x25ec27,_0x489836){var _0x4d3040=_0xfea5bc;super(),P(this,_0x4d3040(0x206),new _0x27ef72(void 0x0)),P(this,'socket$',this['_socket$']['asObservable']()),P(this,_0x4d3040(0x323),null),P(this,_0x4d3040(0xc9),new Map()),P(this,'_status$',new _0x27ef72(Te['IDLE'])),P(this,'status$',this[_0x4d3040(0x2e8)][_0x4d3040(0xc4)]()),P(this,_0x4d3040(0x2da),!0x1),P(this,_0x4d3040(0x35b)),P(this,_0x4d3040(0x251),0x0),P(this,_0x4d3040(0x1d7)),P(this,'_timeoutTimer'),(this[_0x4d3040(0x239)]=_0x4939da,this[_0x4d3040(0xa5)]=_0x4a690f,this[_0x4d3040(0x132)]=_0x2618e1,this[_0x4d3040(0x7c)]=_0x46e6b4,this[_0x4d3040(0x350)]=_0x3d3194,this[_0x4d3040(0x207)]=_0x25ec27,this[_0x4d3040(0x2fd)]=_0x489836,this[_0x4d3040(0x150)]());}get['_socket'](){var _0x488c1b=_0xfea5bc;return this[_0x488c1b(0x206)][_0x488c1b(0xac)]();}[_0xfea5bc(0x150)](){var _0xd0e81f=_0xfea5bc;this[_0xd0e81f(0x2fd)]&&this[_0xd0e81f(0x351)](this[_0xd0e81f(0x2fd)][_0xd0e81f(0x320)]['subscribe'](_0xdf0eea=>{var _0x58438a=_0xd0e81f;_0xdf0eea&&!this[_0x58438a(0x16c)]&&this[_0x58438a(0x234)](),_0xdf0eea||this['_onOffline']();}));}[_0xfea5bc(0x33e)](){var _0x13481c=_0xfea5bc;super[_0x13481c(0x33e)](),this[_0x13481c(0xc9)][_0x13481c(0x19f)](_0x35d0a0=>_0x35d0a0[_0x13481c(0x33e)]()),this['_sessions']['clear'](),this[_0x13481c(0x2e8)]['complete']();}async['requireSession'](_0x34d7e1){var _0x1ea485=_0xfea5bc;if(this[_0x1ea485(0xc9)][_0x1ea485(0x178)](_0x34d7e1))return this['_sessions'][_0x1ea485(0x1da)](_0x34d7e1);this[_0x1ea485(0x321)]();const _0x318de3=this['_injector']['createInstance'](Tt,_0x34d7e1,this[_0x1ea485(0x206)]['asObservable']());return this[_0x1ea485(0xc9)][_0x1ea485(0x1cc)](_0x34d7e1,_0x318de3),_0x318de3;}[_0xfea5bc(0x90)](_0x330b01){var _0x41f9d5=_0xfea5bc,_0x38031e;const _0x10dd58=this[_0x41f9d5(0xc9)][_0x41f9d5(0x1da)](_0x330b01);_0x10dd58&&(this['_sessions']['delete'](_0x330b01),_0x10dd58[_0x41f9d5(0x93)]()),this[_0x41f9d5(0xc9)][_0x41f9d5(0x23b)]||(_0x38031e=this[_0x41f9d5(0x16c)])==null||_0x38031e['close']();}[_0xfea5bc(0x234)](){var _0x509b4a=_0xfea5bc;this['_retryCount']=0x0,this[_0x509b4a(0x35b)]!=null&&(clearTimeout(this[_0x509b4a(0x35b)]),this['_retryConnectingTimer']=null),this[_0x509b4a(0x34a)]();}async[_0xfea5bc(0x2b1)](){var _0x2cc5f6=_0xfea5bc,_0x2aa77b,_0x41d055,_0x14d3ef;const _0x237590=this['_configService'][_0x2cc5f6(0x30a)](Y),_0x585fc3=(_0x2aa77b=_0x237590==null?void 0x0:_0x237590[_0x2cc5f6(0x243)])!=null?_0x2aa77b:xn;return(_0x14d3ef=(_0x41d055=(await this[_0x2cc5f6(0x350)]['get'](_0x585fc3,{'headers':{'Content-Type':'application/json'}}))[_0x2cc5f6(0x205)])==null?void 0x0:_0x41d055[_0x2cc5f6(0xf1)])!=null?_0x14d3ef:'';}[_0xfea5bc(0x1c8)](_0x2c4f17){var _0x37ead6=_0xfea5bc,_0x329bdc,_0x3a61f3;const _0x35b6aa=this[_0x37ead6(0x132)][_0x37ead6(0x30a)](Un),_0x27d72d=this[_0x37ead6(0x132)][_0x37ead6(0x30a)](Y),_0x36d9ba=(_0x3a61f3=(_0x329bdc=_0x27d72d==null?void 0x0:_0x27d72d[_0x37ead6(0x26d)])!=null?_0x329bdc:_0x35b6aa)!=null?_0x3a61f3:An,_0x45d5fe=typeof window>'u'?new URL(_0x36d9ba):new URL(_0x36d9ba,window['location'][_0x37ead6(0x2de)]);_0x45d5fe[_0x37ead6(0x219)][_0x37ead6(0x1cc)](_0x37ead6(0x87),_0x2c4f17);const _0x590536=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x37ead6(0x307)]);return _0x590536[_0x37ead6(0x1da)]('runId')&&_0x45d5fe[_0x37ead6(0x219)]['set'](_0x37ead6(0x18e),_0x590536[_0x37ead6(0x1da)](_0x37ead6(0x18e))),_0x45d5fe[_0x37ead6(0x214)]();}async[_0xfea5bc(0x97)](){var _0x523e37=_0xfea5bc;const _0x107c62=await this[_0x523e37(0x2b1)](),_0x26c191=this[_0x523e37(0x1c8)](_0x107c62),_0x43326d=this[_0x523e37(0x7c)][_0x523e37(0x13b)](_0x26c191);return this[_0x523e37(0x323)]=_0x43326d,_0x43326d;}async['_tryEnsureSocket'](){var _0x218e86=_0xfea5bc,_0x3ba176,_0x3f0ecc;try{const _0x35b29c=(_0x3f0ecc=(_0x3ba176=this[_0x218e86(0x16c)])!=null?_0x3ba176:this[_0x218e86(0x323)])!=null?_0x3f0ecc:await this[_0x218e86(0x97)]();if(_0x35b29c){const _0xa4d6a2=_0x35b29c[_0x218e86(0x22d)];_0x35b29c['send']=_0x263a0c=>(this[_0x218e86(0x16d)](),_0xa4d6a2[_0x218e86(0xe2)](_0x35b29c,[_0x263a0c])),_0x35b29c[_0x218e86(0x142)][_0x218e86(0x2d7)](_0x500a29=>this[_0x218e86(0x1d1)](_0x35b29c,_0x500a29)),_0x35b29c[_0x218e86(0x29f)][_0x218e86(0x7f)](_0xb8a411(0x1))[_0x218e86(0x2d7)](_0x6ea252=>this[_0x218e86(0xa5)]['error'](_0x218e86(0x192),_0x6ea252)),_0x35b29c[_0x218e86(0x282)]['pipe'](_0xb8a411(0x1))[_0x218e86(0x2d7)](()=>{this['_onConnectionOpen'](_0x35b29c);}),_0x35b29c[_0x218e86(0x1c5)]['pipe'](_0xb8a411(0x1))[_0x218e86(0x2d7)](_0x1e6f8b=>{var _0x587b46=_0x218e86;this[_0x587b46(0xa5)][_0x587b46(0x149)]('[CollaborationSessionService]',_0x587b46(0x342),_0x1e6f8b),this['_onConnectionFailed']();});}}catch(_0x4758b8){this[_0x218e86(0xa5)][_0x218e86(0x36e)](_0x4758b8),this[_0x218e86(0x284)]();}}[_0xfea5bc(0x353)](_0x703e2a){var _0x2c04dc=_0xfea5bc;this[_0x2c04dc(0xa5)]['debug'](_0x2c04dc(0x29c),_0x2c04dc(0x75)),_0x703e2a[_0x2c04dc(0x22d)]({'cmd':F[_0x2c04dc(0x144)]}),this[_0x2c04dc(0x16d)]();}['_onOffline'](){var _0xcfe423=_0xfea5bc;this['_socketReady']=!0x1,this[_0xcfe423(0x323)]=null,this[_0xcfe423(0x2e8)]['next'](Te[_0xcfe423(0x32c)]),this[_0xcfe423(0x206)]['next'](null),this[_0xcfe423(0x23f)](),this['_clearHeartbeatTimer']();}[_0xfea5bc(0x284)](){var _0x47e8d5=_0xfea5bc,_0x35f471;this[_0x47e8d5(0x23e)](),this[_0x47e8d5(0x251)]<((_0x35f471=this['_configService']['getConfig'](Hn))!=null?_0x35f471:kn)?(this[_0x47e8d5(0x207)][_0x47e8d5(0x23d)]({'id':re[_0x47e8d5(0x89)]}),this[_0x47e8d5(0x34a)]()):this[_0x47e8d5(0x207)][_0x47e8d5(0x23d)]({'id':re['SOCKET_FAILED']});}['_tryReconnect'](){var _0x215ead=_0xfea5bc,_0x516bcc;const _0x1afb41=this['_retryCount'],_0x354c25=this['_configService'][_0x215ead(0x30a)](Y),_0x53c2d4=_0x1afb41===0x0?0x0:((_0x516bcc=_0x354c25==null?void 0x0:_0x354c25[_0x215ead(0x12d)])!=null?_0x516bcc:$n)*0x2**_0x1afb41;this['_retryConnectingTimer']=setTimeout(()=>{var _0x2b0bc5=_0x215ead;clearTimeout(this[_0x2b0bc5(0x35b)]),this[_0x2b0bc5(0x35b)]=null,this[_0x2b0bc5(0x321)]();},_0x53c2d4),this['_retryCount']+=0x1;}['_onMessage'](_0x1bb0fc,_0xf4b232){var _0x4984f1=_0xfea5bc;const {cmd:_0x4699ed}=_0xf4b232;_0x4699ed===F[_0x4984f1(0x144)]&&!this[_0x4984f1(0x2da)]&&(_0x1bb0fc['memberID']=_0xf4b232['data']['memberID'],this[_0x4984f1(0x206)][_0x4984f1(0x2d5)](_0x1bb0fc),this[_0x4984f1(0x2e8)]['next'](Te[_0x4984f1(0x254)]),this['_socketReady']=!0x0,this[_0x4984f1(0x323)]=null),_0x4699ed===F[_0x4984f1(0x20d)]&&this[_0x4984f1(0x23f)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x4c7864=_0xfea5bc,_0x1ef0a6;this[_0x4c7864(0xdd)](),this[_0x4c7864(0x1d7)]=setTimeout(()=>this[_0x4c7864(0xe9)](),(_0x1ef0a6=this[_0x4c7864(0x132)][_0x4c7864(0x30a)](Ln))!=null?_0x1ef0a6:Mn);}[_0xfea5bc(0xe9)](){var _0x31558d=_0xfea5bc;this[_0x31558d(0x16c)][_0x31558d(0x22d)]({'cmd':F[_0x31558d(0x20d)]}),this[_0x31558d(0x1a7)]();}['_waitForHeartbeatResponse'](){var _0x2da870=_0xfea5bc,_0x5059a3;this[_0x2da870(0x166)]=setTimeout(()=>this[_0x2da870(0x284)](),(_0x5059a3=this[_0x2da870(0x132)]['getConfig'](Ei))!=null?_0x5059a3:Ii);}['_clearHeartbeatTimer'](){var _0x36a92f=_0xfea5bc;this[_0x36a92f(0x1d7)]!=null&&(clearTimeout(this[_0x36a92f(0x1d7)]),this[_0x36a92f(0x1d7)]=null);}[_0xfea5bc(0x23f)](){var _0x10b874=_0xfea5bc;this[_0x10b874(0x166)]!=null&&(clearTimeout(this[_0x10b874(0x166)]),this[_0x10b874(0x166)]=null);}};Le=hs([ge(0x0,_0x5d1423(_0xd0e7e3)),ge(0x1,_0x43687c),ge(0x2,_0x39bec4),ge(0x3,bi),ge(0x4,_0x5d1423(_0x221528)),ge(0x5,_0x5d1423(pe)),ge(0x6,_0x52513a(Gn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0xfea5bc(0x2d0)]((n+0x100)[_0xfea5bc(0x214)](0x10)['slice'](0x1));function _s(_0x1abf2c,_0x36f2ee=0x0){var _0x1ec876=_0xfea5bc;return(V[_0x1abf2c[_0x36f2ee+0x0]]+V[_0x1abf2c[_0x36f2ee+0x1]]+V[_0x1abf2c[_0x36f2ee+0x2]]+V[_0x1abf2c[_0x36f2ee+0x3]]+'-'+V[_0x1abf2c[_0x36f2ee+0x4]]+V[_0x1abf2c[_0x36f2ee+0x5]]+'-'+V[_0x1abf2c[_0x36f2ee+0x6]]+V[_0x1abf2c[_0x36f2ee+0x7]]+'-'+V[_0x1abf2c[_0x36f2ee+0x8]]+V[_0x1abf2c[_0x36f2ee+0x9]]+'-'+V[_0x1abf2c[_0x36f2ee+0xa]]+V[_0x1abf2c[_0x36f2ee+0xb]]+V[_0x1abf2c[_0x36f2ee+0xc]]+V[_0x1abf2c[_0x36f2ee+0xd]]+V[_0x1abf2c[_0x36f2ee+0xe]]+V[_0x1abf2c[_0x36f2ee+0xf]])[_0x1ec876(0x117)]();}let dt;const ls=new Uint8Array(0x10);function us(){var _0xeb1e5=_0xfea5bc;if(!dt){if(typeof crypto>'u'||!crypto[_0xeb1e5(0x324)])throw new Error(_0xeb1e5(0xc8));dt=crypto[_0xeb1e5(0x324)][_0xeb1e5(0x131)](crypto);}return dt(ls);}const ds=typeof crypto<'u'&&crypto[_0xfea5bc(0x2b7)]&&crypto[_0xfea5bc(0x2b7)]['bind'](crypto),qt={'randomUUID':ds};function fs(_0xf7e0bc,_0x9d27f2,_0xfac604){var _0x3c562f=_0xfea5bc;if(qt[_0x3c562f(0x2b7)]&&!_0x9d27f2&&!_0xf7e0bc)return qt['randomUUID']();_0xf7e0bc=_0xf7e0bc||{};const _0x5935fe=_0xf7e0bc['random']||(_0xf7e0bc[_0x3c562f(0x1ea)]||us)();return _0x5935fe[0x6]=_0x5935fe[0x6]&0xf|0x40,_0x5935fe[0x8]=_0x5935fe[0x8]&0x3f|0x80,_s(_0x5935fe);}const X=_0x3794ca(_0xfea5bc(0xe0));function vo(_0x42146e){var _0x9d0b4f=_0xfea5bc;return _0x9d0b4f(0x2c9)+_0x42146e;}var vs=Object[_0xfea5bc(0x247)],ps=Object[_0xfea5bc(0x30f)],ms=(_0x3051db,_0x47b372,_0x4c1961,_0x599356)=>{var _0x3eed00=_0xfea5bc;for(var _0x4b7085=_0x599356>0x1?void 0x0:_0x599356?ps(_0x47b372,_0x4c1961):_0x47b372,_0x2b05e6=_0x3051db[_0x3eed00(0x28a)]-0x1,_0x1d0382;_0x2b05e6>=0x0;_0x2b05e6--)(_0x1d0382=_0x3051db[_0x2b05e6])&&(_0x4b7085=(_0x599356?_0x1d0382(_0x47b372,_0x4c1961,_0x4b7085):_0x1d0382(_0x4b7085))||_0x4b7085);return _0x599356&&_0x4b7085&&vs(_0x47b372,_0x4c1961,_0x4b7085),_0x4b7085;},ft=(_0x3f2a8c,_0x141297)=>(_0x1eeb14,_0x560912)=>_0x141297(_0x1eeb14,_0x560912,_0x3f2a8c);function gs(_0x5b474b){const {unitID:_0xa54d4b,mutations:_0x1e1f68}=_0x5b474b;return{'unitId':_0xa54d4b,'subUnitId':_0x1e1f68[0x0]['params']['subUnitId']};}let nt=class{constructor(_0x50b141,_0x365dea,_0x51c2bc){var _0x1e922b=_0xfea5bc;this[_0x1e922b(0x239)]=_0x50b141,this[_0x1e922b(0x175)]=_0x365dea,this[_0x1e922b(0x9a)]=_0x51c2bc;}[_0xfea5bc(0x1b3)](_0x5d5e52){var _0x348402=_0xfea5bc,_0x598a8b,_0x2b7073,_0x3b7a30,_0x5c606c;const _0x101d76=this[_0x348402(0x239)][_0x348402(0x1da)](_0x52fea8),{unitId:_0x563f2d,subUnitId:_0x3e8d19}=gs(_0x5d5e52),_0x5c87e4=_0x101d76==null?void 0x0:_0x101d76[_0x348402(0x302)](_0x563f2d)[_0x348402(0x358)](),_0x29ce7c=(_0x2b7073=(_0x598a8b=this[_0x348402(0x9a)][_0x348402(0x191)](_0x563f2d))==null?void 0x0:_0x598a8b[_0x348402(0x21a)]())==null?void 0x0:_0x2b7073[_0x348402(0x193)]();if(_0x5c87e4[_0x348402(0x28a)]===0x0||!_0x563f2d||!_0x3e8d19)return;const _0x244432=[{'id':_0x27a380['id'],'params':{'unitId':_0x563f2d,'subUnitId':_0x29ce7c,'selections':_0x8cc875[_0x348402(0x9c)](_0x5c87e4)}}],_0x149a0e=this[_0x348402(0x175)]['transformMutationsWithChangeset'](_0x5d5e52,_0x244432);if(!_0x475b3b(_0x149a0e))throw _0x149a0e[_0x348402(0x36e)];const _0x2c89b0=(_0x5c606c=(_0x3b7a30=_0x149a0e['m2Prime'][0x0])==null?void 0x0:_0x3b7a30[_0x348402(0x1e6)])==null?void 0x0:_0x5c606c[_0x348402(0x26c)];if(Array['isArray'](_0x2c89b0)&&_0x2c89b0[_0x348402(0x28a)]){if(_0x2c89b0['length']===_0x244432[0x0][_0x348402(0x1e6)][_0x348402(0x26c)]['length']&&_0x2c89b0[_0x348402(0xb2)]((_0x45a78a,_0x57875f)=>_0x3cd9d4['equals'](_0x45a78a[_0x348402(0x18f)],_0x244432[0x0][_0x348402(0x1e6)][_0x348402(0x26c)][_0x57875f]['range'])))return;this[_0x348402(0x239)]['get'](_0x185ede)[_0x348402(0x12a)](_0x27a380['id'],{'unitId':_0x563f2d,'subUnitId':_0x29ce7c,'selections':_0x2c89b0});}}};nt=ms([ft(0x0,_0x5d1423(_0xd0e7e3)),ft(0x1,_0x12a25b),ft(0x2,_0x248930)],nt);const _t=_0x3794ca(_0xfea5bc(0x249));var yi=(_0x318ccc=>(_0x318ccc[_0x318ccc['NO_OTHER_CLIENTS_EDITING']=0x0]=_0xfea5bc(0x256),_0x318ccc[_0x318ccc['OTHER_CLIENTS_EDITING']=0x1]=_0xfea5bc(0x1ba),_0x318ccc))(yi||{});const Ss=new Set([_0x231d98['id']]);function Jt(_0x5315dd,_0x288b28,_0x2cc507,_0x275299,_0x237e22){var _0xef9102=_0xfea5bc,_0x2a171d,_0x10e3a3,_0x476562,_0x5c5746;const _0x57ca0d=[];for(const _0x479348 of _0x5315dd)if(Ss[_0xef9102(0x178)](_0x479348['id'])){if(_0x57ca0d[_0xef9102(0x28a)]>0x0)break;_0x57ca0d[_0xef9102(0x2d0)](_0x479348);break;}else _0x57ca0d['push'](_0x479348);const _0x5d70c7=(_0x10e3a3=(_0x2a171d=_0x237e22[_0xef9102(0x1e5)]())==null?void 0x0:_0x2a171d[_0xef9102(0xa2)])!=null?_0x10e3a3:_0xef9102(0x126),_0x58e4e6=(_0x5c5746=(_0x476562=_0x237e22[_0xef9102(0x1e5)]())==null?void 0x0:_0x476562['memberID'])!=null?_0x5c5746:'unknown';return{'changeset':{'unitID':_0x288b28,'type':_0x55c8b8(_0x2cc507[_0xef9102(0x78)](_0x288b28)),'baseRev':_0x275299[_0xef9102(0x2c8)](_0x288b28),'revision':0x0,'userID':_0x5d70c7,'memberID':_0x58e4e6,'mutations':_0x57ca0d},'pendingMutations':_0x5315dd[_0xef9102(0x7e)](_0x57ca0d[_0xef9102(0x28a)])};}function Es(_0x38c586,_0x39f724,_0x4f319c,_0x5cd55a,_0x2f88d8){var _0x3a0bad=_0xfea5bc,_0x197fec,_0x362754,_0x1fae97,_0x5911b8;const _0xb40022=[_0x38c586[_0x3a0bad(0x1a9)]((_0x2fcaef,_0x4d8f99)=>{var _0x17a856=_0x3a0bad,_0x310199;const {id:_0x5eb6b0}=_0x2fcaef,{id:_0x262206,type:_0x2eefa1}=_0x4d8f99,_0x4c33ee=(_0x310199=_0x2fcaef[_0x17a856(0x1e6)])!=null?_0x310199:{'actions':null},_0x536f84=_0x4d8f99[_0x17a856(0x1e6)];if(_0x5eb6b0&&_0x5eb6b0!==_0x262206)throw new Error(_0x17a856(0x1ad)+_0x5eb6b0+_0x17a856(0x341)+_0x262206+'.');return{..._0x2fcaef,'id':_0x262206,'type':_0x2eefa1,'params':{'unitId':_0x536f84[_0x17a856(0x283)],'textRanges':_0x536f84[_0x17a856(0x18c)],'actions':_0x46d4a5['compose'](_0x4c33ee['actions'],_0x536f84[_0x17a856(0xaa)])}};},{})],_0x3e9b23=(_0x362754=(_0x197fec=_0x2f88d8['getCurrentUser']())==null?void 0x0:_0x197fec[_0x3a0bad(0xa2)])!=null?_0x362754:_0x3a0bad(0x126),_0x12c813=(_0x5911b8=(_0x1fae97=_0x2f88d8['getCurrentUser']())==null?void 0x0:_0x1fae97[_0x3a0bad(0xc7)])!=null?_0x5911b8:'unknown';return{'changeset':{'unitID':_0x39f724,'type':_0x55c8b8(_0x4f319c['getUnitType'](_0x39f724)),'baseRev':_0x5cd55a[_0x3a0bad(0x2c8)](_0x39f724),'revision':0x0,'userID':_0x3e9b23,'memberID':_0x12c813,'mutations':_0xb40022},'pendingMutations':[]};}function Oi(_0x10a978,_0x553c56){var _0x3968e4=_0xfea5bc;const _0x1b412c=new _0x4cc6ad(0x1);return setTimeout(()=>_0x1b412c[_0x3968e4(0x2d5)](_0x553c56),_0x10a978),_0x1b412c[_0x3968e4(0xc4)]()['pipe'](_0x3a3f11(0x1));}const Is={'id':_0x18b4f0['id'],'type':_0x1a1b3d[_0xfea5bc(0x1df)],'params':{}};var Ts=Object[_0xfea5bc(0x247)],Cs=Object[_0xfea5bc(0x30f)],be=(_0x33d82f,_0xd6df16,_0x1cde9d,_0xc1d6a1)=>{for(var _0x22db28=_0xc1d6a1>0x1?void 0x0:_0xc1d6a1?Cs(_0xd6df16,_0x1cde9d):_0xd6df16,_0x3dfb08=_0x33d82f['length']-0x1,_0x50ec12;_0x3dfb08>=0x0;_0x3dfb08--)(_0x50ec12=_0x33d82f[_0x3dfb08])&&(_0x22db28=(_0xc1d6a1?_0x50ec12(_0xd6df16,_0x1cde9d,_0x22db28):_0x50ec12(_0x22db28))||_0x22db28);return _0xc1d6a1&&_0x22db28&&Ts(_0xd6df16,_0x1cde9d,_0x22db28),_0x22db28;},A=(_0x421eb5,_0x2b0c9e)=>(_0x59e40e,_0x237e47)=>_0x2b0c9e(_0x59e40e,_0x237e47,_0x421eb5),Ni=(_0x965a39=>(_0x965a39[_0xfea5bc(0x160)]=_0xfea5bc(0x1f5),_0x965a39[_0xfea5bc(0x1dd)]=_0xfea5bc(0x33b),_0x965a39[_0xfea5bc(0x183)]=_0xfea5bc(0x101),_0x965a39[_0xfea5bc(0x24b)]=_0xfea5bc(0xc1),_0x965a39[_0xfea5bc(0x1d0)]=_0xfea5bc(0x301),_0x965a39['FETCH_MISS']=_0xfea5bc(0x267),_0x965a39[_0xfea5bc(0xd5)]='conflict',_0x965a39[_0xfea5bc(0x32c)]=_0xfea5bc(0x25f),_0x965a39))(Ni||{});const Pi=0xea60;class Re{constructor(_0x46e98f,_0x4c9189,_0x313718,_0x2813dd,_0x43d7fb,_0x329665,_0x279108,_0x124085,_0x501f4a){var _0x4c5970=_0xfea5bc;P(this,_0x4c5970(0x22f),null),P(this,'_pendingMutations',[]),(this[_0x4c5970(0x241)]=_0x46e98f,this['type']=_0x4c9189,this[_0x4c5970(0x203)]=_0x43d7fb,this['_commandService']=_0x329665,this[_0x4c5970(0xce)]=_0x279108,this[_0x4c5970(0x265)]=_0x124085,this[_0x4c5970(0x2b0)]=_0x501f4a,this[_0x4c5970(0x22f)]=_0x313718,this[_0x4c5970(0x2d9)]=_0x2813dd);}[_0xfea5bc(0x349)](_0x4c8ee2){var _0xf7f754=_0xfea5bc;const _0x216bd9=this['_revisionService']['getCurrentRevOfUnit'](this[_0xf7f754(0x241)]);return _0x4c8ee2['revision']>_0x216bd9+0x1?(this[_0xf7f754(0x203)][_0xf7f754(0x6e)]({'from':_0x216bd9,'to':_0x4c8ee2[_0xf7f754(0x260)]-0x1}),!0x0):!0x1;}[_0xfea5bc(0x1ff)](_0x2f0821){var _0x129fd7=_0xfea5bc;this[_0x129fd7(0xce)][_0x129fd7(0x374)](this[_0x129fd7(0x241)],_0x2f0821);}[_0xfea5bc(0x81)](_0x4f188e){var _0x35ebfe=_0xfea5bc,_0x4fa93e,_0x2ef751;(_0x2ef751=(_0x4fa93e=this[_0x35ebfe(0x203)])[_0x35ebfe(0x6c)])==null||_0x2ef751[_0x35ebfe(0x18a)](_0x4fa93e,_0x4f188e);}[_0xfea5bc(0x336)](_0x4d090e){var _0x256695=_0xfea5bc,_0x38e48c,_0x39c9bc;return(_0x39c9bc=(_0x38e48c=this[_0x256695(0x203)])[_0x256695(0xdc)])==null?void 0x0:_0x39c9bc[_0x256695(0x18a)](_0x38e48c,_0x4d090e);}['_transformStateCache'](_0x55d46f){var _0xc39ac7=_0xfea5bc,_0x15fcbf,_0x3a8f88;return(_0x3a8f88=(_0x15fcbf=this[_0xc39ac7(0x203)])[_0xc39ac7(0x311)])==null?void 0x0:_0x3a8f88[_0xc39ac7(0x18a)](_0x15fcbf,_0x55d46f);}[_0xfea5bc(0xd7)](_0x334bb3){var _0x257297=_0xfea5bc,_0x19054b,_0x4ff7a3,_0x4c9aac;return(_0x4c9aac=(_0x4ff7a3=(_0x19054b=this['_handler'])[_0x257297(0x27f)])==null?void 0x0:_0x4ff7a3[_0x257297(0x18a)](_0x19054b,_0x334bb3))!=null?_0x4c9aac:_0x334bb3;}[_0xfea5bc(0x2dd)](_0x790fab){var _0x3988bc=_0xfea5bc,_0x122b0f,_0x483115,_0x2dc284;return(_0x2dc284=(_0x483115=(_0x122b0f=this[_0x3988bc(0x203)])[_0x3988bc(0x339)])==null?void 0x0:_0x483115[_0x3988bc(0x18a)](_0x122b0f,_0x790fab))!=null?_0x2dc284:_0x790fab;}['_syncEditingCollabCursor'](_0xf3cf0c){var _0x1db8f1=_0xfea5bc,_0x285f11,_0x4baa63;if(this[_0x1db8f1(0x32a)]===Q['UNIVER_DOC']){const {unitID:_0xbe9426,mutations:_0x59557b,memberID:_0x1183b7}=_0xf3cf0c,_0x4e2664=_0x59557b[0x0][_0x1db8f1(0x1e6)][_0x1db8f1(0x18c)];Array['isArray'](_0x4e2664)&&_0x4e2664['length']>0x0&&((_0x4baa63=(_0x285f11=this[_0x1db8f1(0x203)])[_0x1db8f1(0x2ec)])==null||_0x4baa63[_0x1db8f1(0x18a)](_0x285f11,{'unitID':_0xbe9426,'memberID':_0x1183b7,'textRanges':_0x4e2664}));}}[_0xfea5bc(0x12b)](){var _0x1f7cbf=_0xfea5bc,_0x3dcbd5;(_0x3dcbd5=this[_0x1f7cbf(0x2b0)])==null||_0x3dcbd5[_0x1f7cbf(0x8e)](this[_0x1f7cbf(0x241)],this[_0x1f7cbf(0x32a)],this[_0x1f7cbf(0x22f)],this[_0x1f7cbf(0x2d9)]);}[_0xfea5bc(0x1ef)](){var _0x336505=_0xfea5bc;return this['_revisionService'][_0x336505(0x2c8)](this['unitID']);}[_0xfea5bc(0x346)](){var _0x20a2a0=_0xfea5bc;this[_0x20a2a0(0x265)]['incrementRevOfUnit'](this['unitID']);}[_0xfea5bc(0xde)](_0xcc8093){var _0x492171=_0xfea5bc,_0x36d51b;let _0x306715=this['_transformRemoteChangesetByIMECache'](_0xcc8093);_0x306715=this[_0x492171(0x2dd)](_0x306715);const _0x13457b=_0x3191f9(_0x306715[_0x492171(0x199)],this[_0x492171(0x184)],{'fromCollab':!0x0});if(!_0x13457b[_0x492171(0x1e2)])throw _0x13457b['error']instanceof Error?_0x13457b[_0x492171(0x36e)]:new Error((_0x36d51b=_0x13457b[_0x492171(0x36e)])!=null?_0x36d51b:_0x492171(0x355));this['_transformIMECache'](_0x306715),this['_transformStateCache'](_0x306715),this[_0x492171(0x1ff)](_0xcc8093),this[_0x492171(0x81)](_0x306715),this[_0x492171(0x17a)](_0x306715),this['_incrementRevisionNumber']();}}let Pe=class extends Re{constructor(_0x1f0bdc,_0xbf0858,_0x336e2c,_0xbe3775,_0x2e0dd7,_0x3eeb3d,_0x2b1e30,_0x4bc496,_0x4563b1,_0x467c28){var _0x59797e=_0xfea5bc;super(_0x1f0bdc,_0xbf0858,null,[],_0x336e2c,_0x2b1e30,_0x3eeb3d,_0xbe3775,_0x467c28),P(this,_0x59797e(0x1d6),_0x59797e(0x33b)),(this['_injector']=_0x2e0dd7,this[_0x59797e(0xa5)]=_0x4bc496,this['_transformService']=_0x4563b1,this['localCacheService']=_0x467c28);}[_0xfea5bc(0x12c)](_0x1664c7){var _0x36829a=_0xfea5bc;const _0x2ec840=this[_0x36829a(0x239)][_0x36829a(0x306)](oe,this[_0x36829a(0x241)],this[_0x36829a(0x32a)],[_0x1664c7],this[_0x36829a(0x203)]);return _0x2ec840['_schedule'](),_0x2ec840[_0x36829a(0x12b)](),_0x2ec840;}[_0xfea5bc(0x156)](_0x4df002){var _0x2affb0=_0xfea5bc;if(this[_0x2affb0(0x349)](_0x4df002))return this[_0x2affb0(0x239)][_0x2affb0(0x306)](te,this[_0x2affb0(0x241)],this[_0x2affb0(0x32a)],null,[],null,[_0x4df002],this[_0x2affb0(0x203)]);try{const _0x333164=this[_0x2affb0(0x175)][_0x2affb0(0xa7)](_0x4df002,[Is]);if(_0x475b3b(_0x333164)){const {c1Prime:_0x493e3e}=_0x333164;return this[_0x2affb0(0xde)](_0x493e3e),this;}throw _0x333164['error'];}catch(_0x4a5aec){return this['_logService'][_0x2affb0(0x36e)](_0x4a5aec),this[_0x2affb0(0x334)](!0x1);}}[_0xfea5bc(0x334)](_0x2c9cd7){var _0x342b39=_0xfea5bc;return this['_injector']['createInstance'](de,this[_0x342b39(0x241)],this['type'],null,[],this[_0x342b39(0x203)],_0x2c9cd7);}[_0xfea5bc(0x86)](){var _0x352b93=_0xfea5bc;throw new Error(_0x352b93(0x10c));}[_0xfea5bc(0x26f)](){var _0x43f72c=_0xfea5bc;throw new Error(_0x43f72c(0x112));}[_0xfea5bc(0x27a)](){return this;}['toggleOffline'](){var _0xb5e40=_0xfea5bc;return this[_0xb5e40(0x239)][_0xb5e40(0x306)](fe,this[_0xb5e40(0x241)],this[_0xb5e40(0x32a)],null,[],this[_0xb5e40(0x203)]);}['toggleOnline'](){return this;}[_0xfea5bc(0xf3)](){var _0x41f8de=_0xfea5bc;throw new Error(_0x41f8de(0x1d9));}['fetchMiss'](){var _0x19d41d=_0xfea5bc;const _0x47c599=this[_0x19d41d(0x265)][_0x19d41d(0x2c8)](this[_0x19d41d(0x241)]);return this[_0x19d41d(0x203)][_0x19d41d(0x6e)]({'from':_0x47c599,'to':0x0}),this[_0x19d41d(0x239)][_0x19d41d(0x306)](te,this['unitID'],this[_0x19d41d(0x32a)],null,[],null,[],this['_handler']);}};Pe=be([A(0x3,_0x5d1423(_0x42e08a)),A(0x4,_0x5d1423(_0xd0e7e3)),A(0x5,_0x2b9d6a),A(0x6,_0x185ede),A(0x7,_0x43687c),A(0x8,_0x12a25b),A(0x9,_0x52513a(X))],Pe);let oe=class extends Re{constructor(_0x1804fb,_0x343e58,_0xb6a7,_0x58b4a0,_0x32a8e1,_0x2977e3,_0x534660,_0x471dac,_0x287e7b,_0x347d16,_0xfc2ea5,_0x3b7ff9,_0x127607,_0x583603){var _0x18da83=_0xfea5bc;super(_0x1804fb,_0x343e58,null,_0xb6a7,_0x58b4a0,_0x287e7b,_0x127607,_0x2977e3,_0x583603),P(this,_0x18da83(0x1d6),_0x18da83(0x101)),P(this,_0x18da83(0x298),null),P(this,'_sendingTimer',null),(this[_0x18da83(0x239)]=_0x32a8e1,this[_0x18da83(0x13d)]=_0x534660,this[_0x18da83(0xa5)]=_0x471dac,this['_configService']=_0x347d16,this[_0x18da83(0x175)]=_0xfc2ea5,this[_0x18da83(0x2fb)]=_0x3b7ff9);}['appendMutation'](_0x10f069){var _0x2239cc=_0xfea5bc;return this[_0x2239cc(0x2d9)]['push'](_0x10f069),this[_0x2239cc(0x12b)](),this;}[_0xfea5bc(0x156)](_0x514134){var _0x21da17=_0xfea5bc;if(this[_0x21da17(0x349)](_0x514134))return this[_0x21da17(0x26b)](),this[_0x21da17(0x239)][_0x21da17(0x306)](te,this[_0x21da17(0x241)],this[_0x21da17(0x32a)],null,this['_pendingMutations'],null,[_0x514134],this['_handler']);try{const _0x5ec389=this['_transformService'][_0x21da17(0xa7)](_0x514134,this[_0x21da17(0x2d9)]);if(_0x475b3b(_0x5ec389)){const {c1Prime:_0x3ec524,m2Prime:_0x20edac}=_0x5ec389;this[_0x21da17(0xde)](_0x3ec524);const _0x56ddc8=this[_0x21da17(0x239)][_0x21da17(0x306)](oe,this[_0x21da17(0x241)],this[_0x21da17(0x32a)],_0x20edac,this[_0x21da17(0x203)]);return this[_0x21da17(0x26b)](),_0x56ddc8[_0x21da17(0x1cb)](this[_0x21da17(0x298)]?Math[_0x21da17(0x364)](0x0,new Date()[_0x21da17(0xad)]()-this[_0x21da17(0x298)]):this[_0x21da17(0x2f4)]()),_0x56ddc8;}throw _0x5ec389[_0x21da17(0x36e)];}catch(_0x4f3783){return this['_logService']['error'](_0x4f3783),this['_onConflict'](!0x1);}}[_0xfea5bc(0x86)](){var _0x291cb3=_0xfea5bc;throw new Error(_0x291cb3(0x26a));}[_0xfea5bc(0x26f)](){var _0xcae37d=_0xfea5bc;throw new Error(_0xcae37d(0x2e9));}[_0xfea5bc(0x27a)](){return this;}[_0xfea5bc(0x2c5)](){var _0x166dd7=_0xfea5bc;return this['_clearScheduledTask'](),this['_injector'][_0x166dd7(0x306)](fe,this[_0x166dd7(0x241)],this[_0x166dd7(0x32a)],null,this[_0x166dd7(0x2d9)],this[_0x166dd7(0x203)]);}['toggleOnline'](){return this;}[_0xfea5bc(0x1cb)](_0x5b69cf){var _0xcf4b1e=_0xfea5bc;const _0x20f76f=_0x5b69cf!=null?_0x5b69cf:this['_getSendChangesetTimeout']();this[_0xcf4b1e(0x298)]=new Date()[_0xcf4b1e(0xad)](),this['_sendingTimer']=setTimeout(()=>{var _0x29f08f=_0xcf4b1e;this[_0x29f08f(0x26b)]();let _0x5e0aa0=null;switch(this[_0x29f08f(0x32a)]){case Q[_0x29f08f(0x14f)]:{_0x5e0aa0=Jt(this[_0x29f08f(0x2d9)],this[_0x29f08f(0x241)],this['_univerInstanceService'],this[_0x29f08f(0x265)],this[_0x29f08f(0x13d)]);break;}case Q[_0x29f08f(0x11b)]:{this[_0x29f08f(0x2d9)][_0x29f08f(0xb2)](_0x1df6d7=>_0x1df6d7['id']===_0xcd2ee['id'])?_0x5e0aa0=Es(this[_0x29f08f(0x2d9)],this[_0x29f08f(0x241)],this[_0x29f08f(0x2fb)],this[_0x29f08f(0x265)],this[_0x29f08f(0x13d)]):_0x5e0aa0=Jt(this[_0x29f08f(0x2d9)],this[_0x29f08f(0x241)],this['_univerInstanceService'],this[_0x29f08f(0x265)],this[_0x29f08f(0x13d)]);break;}default:throw new Error(_0x29f08f(0xa0)+this[_0x29f08f(0x32a)]+'\x20in\x20_schedule.');}const {changeset:_0x2d4ce2,pendingMutations:_0x239366}=_0x5e0aa0;this[_0x29f08f(0x203)][_0x29f08f(0x354)](_0x2d4ce2);const _0x3388c4=_0x239366[_0x29f08f(0x28a)]?this[_0x29f08f(0x239)][_0x29f08f(0x306)](ae,this['unitID'],this[_0x29f08f(0x32a)],_0x2d4ce2,_0x239366,this[_0x29f08f(0x203)],void 0x0):this['_injector'][_0x29f08f(0x306)](ue,this['unitID'],this['type'],_0x2d4ce2,this['_handler']);_0x3388c4[_0x29f08f(0x12b)](),this[_0x29f08f(0x203)]['onStateChange'](this,_0x3388c4);},_0x20f76f);}[_0xfea5bc(0x2f4)](){var _0x163fbf=_0xfea5bc,_0x58f351;const _0x82c42f=this[_0x163fbf(0x132)]['getConfig'](Y);return(_0x58f351=_0x82c42f==null?void 0x0:_0x82c42f[_0x163fbf(0x27d)])!=null?_0x58f351:wn;}[_0xfea5bc(0xf3)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xfea5bc(0x26b)](){var _0x331dc9=_0xfea5bc;this['_sendingTimer']!=null&&(clearTimeout(this[_0x331dc9(0x2ef)]),this[_0x331dc9(0x2ef)]=null);}[_0xfea5bc(0x334)](_0xec1a0c){var _0x3916d6=_0xfea5bc;return this[_0x3916d6(0x26b)](),this[_0x3916d6(0x239)][_0x3916d6(0x306)](de,this[_0x3916d6(0x241)],this[_0x3916d6(0x32a)],null,this[_0x3916d6(0x2d9)],this[_0x3916d6(0x203)],_0xec1a0c);}};oe=be([A(0x4,_0x5d1423(_0xd0e7e3)),A(0x5,_0x5d1423(_0x42e08a)),A(0x6,_0x5d1423(xe)),A(0x7,_0x43687c),A(0x8,_0x185ede),A(0x9,_0x39bec4),A(0xa,_0x12a25b),A(0xb,_0x248930),A(0xc,_0x2b9d6a),A(0xd,_0x52513a(X))],oe);let ue=class extends Re{constructor(_0x8705ad,_0x269a3b,_0x57e8e1,_0x36bd57,_0x1af813,_0x2eb02b,_0x3dc7c9,_0x7dde16,_0x39343a,_0x4c6841,_0x5eb94e){var _0x44491c=_0xfea5bc;super(_0x8705ad,_0x269a3b,_0x57e8e1,[],_0x36bd57,_0x3dc7c9,_0x4c6841,_0x2eb02b,_0x5eb94e),P(this,'status',_0x44491c(0xc1)),P(this,_0x44491c(0x2c2),0x0),P(this,_0x44491c(0x2d4)),P(this,_0x44491c(0x34d)),(this[_0x44491c(0x239)]=_0x1af813,this[_0x44491c(0xa5)]=_0x7dde16,this[_0x44491c(0x175)]=_0x39343a);}[_0xfea5bc(0x12c)](_0xe4a52){var _0x52d301=_0xfea5bc;this[_0x52d301(0x26b)]();const _0x234df4=this[_0x52d301(0x239)][_0x52d301(0x306)](ae,this[_0x52d301(0x241)],this[_0x52d301(0x32a)],this[_0x52d301(0x22f)],[_0xe4a52],this['_handler'],this[_0x52d301(0x2d4)]);return _0x234df4[_0x52d301(0x12b)](),_0x234df4;}[_0xfea5bc(0x156)](_0x4e1d6a){var _0x6ca0db=_0xfea5bc;if(this[_0x6ca0db(0x349)](_0x4e1d6a))return this[_0x6ca0db(0x26b)](),this[_0x6ca0db(0x239)]['createInstance'](te,this[_0x6ca0db(0x241)],this['type'],this['_awaitingChangeset'],[],null,[_0x4e1d6a],this[_0x6ca0db(0x203)]);try{const _0x3fef8a=this[_0x6ca0db(0x175)][_0x6ca0db(0xa1)]([_0x4e1d6a],[this[_0x6ca0db(0x22f)]],!0x1);if(_0x22f639(_0x3fef8a)){const {c1Prime:_0x55eefd,c2Prime:_0x48334d}=_0x3fef8a;this[_0x6ca0db(0xde)](_0x55eefd[0x0]),_0x48334d[0x0][_0x6ca0db(0x187)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x9d55c1=this[_0x6ca0db(0x239)][_0x6ca0db(0x306)](ue,this[_0x6ca0db(0x241)],this[_0x6ca0db(0x32a)],_0x48334d[0x0],this[_0x6ca0db(0x203)]);return _0x9d55c1[_0x6ca0db(0x12b)](),_0x9d55c1;}return this[_0x6ca0db(0x334)](!0x1);}catch(_0x15e9ad){return this[_0x6ca0db(0xa5)][_0x6ca0db(0x36e)](_0x15e9ad),this['_onConflict'](!0x1);}}[_0xfea5bc(0x86)](_0xd49854){var _0x29cc09=_0xfea5bc;this[_0x29cc09(0x26b)]();const _0x54d04d=this[_0x29cc09(0x265)][_0x29cc09(0x2c8)](this['unitID']);if(_0xd49854['revision']<_0x54d04d-0x1)return this;if(this['_checkMissing'](_0xd49854))return this[_0x29cc09(0x239)][_0x29cc09(0x306)](te,this[_0x29cc09(0x241)],this[_0x29cc09(0x32a)],null,[],this['_awaitingChangeset'],[],this[_0x29cc09(0x203)]);this[_0x29cc09(0x346)]();const _0x4d543f=this['_injector']['createInstance'](Pe,this[_0x29cc09(0x241)],this[_0x29cc09(0x32a)],this['_handler']);return _0x4d543f[_0x29cc09(0x12b)](),_0x4d543f;}[_0xfea5bc(0x26f)](_0x43f5a7){var _0x25ceb2=_0xfea5bc;return this[_0x25ceb2(0x334)](!!(_0x43f5a7!=null&&_0x43f5a7[_0x25ceb2(0x2a0)]));}[_0xfea5bc(0x27a)](_0x4738de){var _0x5b1136=_0xfea5bc;return this[_0x5b1136(0x2c2)]>Pi?this[_0x5b1136(0x2c5)]():(this['_resendTimer']=Oi(this[_0x5b1136(0x2c2)],{'timeout':this['_resendTimeout'],'reqId':_0x4738de[_0x5b1136(0x1d4)]}),this['_sender']=this[_0x5b1136(0x2d4)]['subscribe'](({reqId:_0xd83056,timeout:_0x5eeb4e})=>{var _0x3d7f70=_0x5b1136;this[_0x3d7f70(0x259)](_0xd83056,_0x5eeb4e);}),this);}[_0xfea5bc(0x2c5)](){var _0x319190=_0xfea5bc;return this[_0x319190(0x26b)](),this[_0x319190(0x239)][_0x319190(0x306)](fe,this[_0x319190(0x241)],this['type'],this[_0x319190(0x22f)],[],this['_handler']);}[_0xfea5bc(0x1b6)](){return this;}['resend'](){var _0x51290b=_0xfea5bc;this[_0x51290b(0x203)][_0x51290b(0x354)](this[_0x51290b(0x22f)]);}[_0xfea5bc(0x334)](_0x25281b){var _0x2ce961=_0xfea5bc;return this['_clearScheduledTask'](),this[_0x2ce961(0x239)]['createInstance'](de,this[_0x2ce961(0x241)],this[_0x2ce961(0x32a)],this[_0x2ce961(0x22f)],[],this[_0x2ce961(0x203)],_0x25281b);}[_0xfea5bc(0x259)](_0x2c5df1,_0xf1c91d){var _0x335dad=_0xfea5bc,_0x3b9eaf;_0x2c5df1===((_0x3b9eaf=this[_0x335dad(0x22f)])==null?void 0x0:_0x3b9eaf['reqId'])&&(this[_0x335dad(0xf3)](),this[_0x335dad(0x2c2)]=_0xf1c91d===0x0?0x3e8:_0xf1c91d*0x2);}[_0xfea5bc(0x26b)](){var _0x3ad316=_0xfea5bc,_0x61b221;(_0x61b221=this[_0x3ad316(0x34d)])==null||_0x61b221[_0x3ad316(0x1e3)](),this[_0x3ad316(0x2c2)]=0x0;}};ue=be([A(0x4,_0x5d1423(_0xd0e7e3)),A(0x5,_0x5d1423(_0x42e08a)),A(0x6,_0x185ede),A(0x7,_0x43687c),A(0x8,_0x12a25b),A(0x9,_0x2b9d6a),A(0xa,_0x52513a(X))],ue);let ae=class extends Re{constructor(_0x56f50d,_0x590427,_0x10dc5f,_0x5e0c5c,_0x270898,_0x5b4bef,_0x5d5a25,_0x7b273b,_0x37eafb,_0x172653,_0x185731,_0x3ba524,_0x381755){var _0x563655=_0xfea5bc;super(_0x56f50d,_0x590427,_0x10dc5f,_0x5e0c5c,_0x270898,_0x37eafb,_0x3ba524,_0x7b273b,_0x381755),P(this,'status',_0x563655(0x301)),P(this,_0x563655(0x2c2),0x0),P(this,_0x563655(0x2d4)),P(this,'_sender'),(this[_0x563655(0x239)]=_0x5d5a25,this['_logService']=_0x172653,this[_0x563655(0x175)]=_0x185731,this['localCacheService']=_0x381755,_0x5b4bef&&(this['_resendTimer']=_0x5b4bef,this[_0x563655(0x34d)]=this[_0x563655(0x2d4)]['subscribe'](({reqId:_0xd1a454,timeout:_0x3db8e6})=>{var _0x11166d=_0x563655;this[_0x11166d(0x259)](_0xd1a454,_0x3db8e6);})));}[_0xfea5bc(0x12c)](_0x3669b3){var _0x295021=_0xfea5bc;return this[_0x295021(0x2d9)][_0x295021(0x2d0)](_0x3669b3),this;}[_0xfea5bc(0x156)](_0x2c56df){var _0x1e5a86=_0xfea5bc;if(this[_0x1e5a86(0x349)](_0x2c56df))return this[_0x1e5a86(0x26b)](),this['_injector'][_0x1e5a86(0x306)](te,this['unitID'],this[_0x1e5a86(0x32a)],this[_0x1e5a86(0x22f)],this[_0x1e5a86(0x2d9)],null,[_0x2c56df],this[_0x1e5a86(0x203)]);try{const _0x5cccb9=this[_0x1e5a86(0x175)][_0x1e5a86(0xa1)]([_0x2c56df],[this[_0x1e5a86(0x22f)]],!0x1);if(_0x22f639(_0x5cccb9)){const {c1Prime:_0x5b54da,c2Prime:_0x30a281}=_0x5cccb9,_0x440531=this[_0x1e5a86(0x175)][_0x1e5a86(0xa7)](_0x5b54da[0x0],this['_pendingMutations']);if(_0x475b3b(_0x440531)){const {c1Prime:_0x18d19e,m2Prime:_0xf939e0}=_0x440531;return this['_executeRemoteChangeset'](_0x18d19e),_0x30a281[0x0][_0x1e5a86(0x187)]=this[_0x1e5a86(0x1ef)](),this['_clearScheduledTask'](),this[_0x1e5a86(0x239)][_0x1e5a86(0x306)](ae,this[_0x1e5a86(0x241)],this[_0x1e5a86(0x32a)],_0x30a281[0x0],_0xf939e0,this[_0x1e5a86(0x203)],void 0x0);}throw _0x440531[_0x1e5a86(0x36e)];}throw _0x5cccb9[_0x1e5a86(0x36e)];}catch(_0x3b6751){return this[_0x1e5a86(0xa5)]['error'](_0x3b6751),this['_onConflict'](!0x1);}}[_0xfea5bc(0x86)](_0x37e31d){var _0x4927ab=_0xfea5bc;if(this[_0x4927ab(0x26b)](),this[_0x4927ab(0x349)](_0x37e31d))return this[_0x4927ab(0x239)][_0x4927ab(0x306)](te,this[_0x4927ab(0x241)],this[_0x4927ab(0x32a)],null,this['_pendingMutations'],this[_0x4927ab(0x22f)],[],this['_handler']);this[_0x4927ab(0x346)]();const _0x1bf435=this[_0x4927ab(0x239)][_0x4927ab(0x306)](oe,this['unitID'],this[_0x4927ab(0x32a)],this[_0x4927ab(0x2d9)],this[_0x4927ab(0x203)]);return _0x1bf435[_0x4927ab(0x1cb)](),_0x1bf435[_0x4927ab(0x12b)](),_0x1bf435;}[_0xfea5bc(0x26f)](_0x3d2687){var _0x2ae6ff=_0xfea5bc;return this[_0x2ae6ff(0x334)](!!(_0x3d2687!=null&&_0x3d2687['isPermissionRej']));}['onRemoteRetry'](_0x1a6dad){var _0x4abf0c=_0xfea5bc;return this[_0x4abf0c(0x2c2)]>Pi?this[_0x4abf0c(0x2c5)]():(this[_0x4abf0c(0x2d4)]=Oi(this[_0x4abf0c(0x2c2)],{'timeout':this[_0x4abf0c(0x2c2)],'reqId':_0x1a6dad[_0x4abf0c(0x1d4)]}),this[_0x4abf0c(0x34d)]=this[_0x4abf0c(0x2d4)][_0x4abf0c(0x2d7)](({reqId:_0x32955a,timeout:_0xaf6933})=>{var _0x1c1ef3=_0x4abf0c;this[_0x1c1ef3(0x259)](_0x32955a,_0xaf6933);}),this);}['toggleOffline'](){var _0x35bb0b=_0xfea5bc;return this[_0x35bb0b(0x26b)](),this[_0x35bb0b(0x239)]['createInstance'](fe,this[_0x35bb0b(0x241)],this[_0x35bb0b(0x32a)],this[_0x35bb0b(0x22f)],this[_0x35bb0b(0x2d9)],this[_0x35bb0b(0x203)]);}[_0xfea5bc(0x1b6)](){return this;}[_0xfea5bc(0xf3)](){var _0x3312ed=_0xfea5bc;this[_0x3312ed(0x203)][_0x3312ed(0x354)](this['_awaitingChangeset']);}['_onConflict'](_0x1cfb42){var _0x894b64=_0xfea5bc;return this[_0x894b64(0x26b)](),this[_0x894b64(0x239)]['createInstance'](de,this['unitID'],this[_0x894b64(0x32a)],null,this['_pendingMutations'],this[_0x894b64(0x203)],_0x1cfb42);}['_resendWithTimeout'](_0x377f90,_0x5184f4){var _0x446d4a=_0xfea5bc,_0x5b65ef;_0x377f90===((_0x5b65ef=this[_0x446d4a(0x22f)])==null?void 0x0:_0x5b65ef[_0x446d4a(0x1d4)])&&(this[_0x446d4a(0xf3)](),this[_0x446d4a(0x2c2)]=_0x5184f4===0x0?0x3e8:_0x5184f4*0x2);}[_0xfea5bc(0x26b)](){var _0x5eed4d=_0xfea5bc,_0xb4657e;(_0xb4657e=this[_0x5eed4d(0x34d)])==null||_0xb4657e['unsubscribe'](),this['_resendTimeout']=0x0;}};ae=be([A(0x6,_0x5d1423(_0xd0e7e3)),A(0x7,_0x5d1423(_0x42e08a)),A(0x8,_0x185ede),A(0x9,_0x43687c),A(0xa,_0x12a25b),A(0xb,_0x2b9d6a),A(0xc,_0x52513a(X))],ae);let de=class extends Re{constructor(_0x5b8c67,_0xdc9323,_0x44aaaa,_0x26d403,_0x563045,_0x28a675=!0x1,_0x3da019,_0x568ea9,_0x181da0,_0x501507,_0x1f7922,_0x209f69,_0x134e5e){var _0x550f69=_0xfea5bc;super(_0x5b8c67,_0xdc9323,_0x44aaaa,_0x26d403,_0x563045,_0x568ea9,_0x181da0,_0x501507,_0x134e5e),P(this,'status',_0x550f69(0x173)),(this[_0x550f69(0x10b)]=_0x28a675,this[_0x550f69(0x130)]=_0x3da019,this[_0x550f69(0x139)]=_0x1f7922,this['_collaborationUIEventService']=_0x209f69,this[_0x550f69(0x2ae)]=_0x134e5e,this[_0x550f69(0x352)](),this[_0x550f69(0x1de)](),this[_0x550f69(0x338)]());}[_0xfea5bc(0x12c)](){return this;}[_0xfea5bc(0x156)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0xfea5bc(0x27a)](){return this;}[_0xfea5bc(0x2c5)](){return this;}[_0xfea5bc(0x1b6)](){return this;}['resend'](){var _0x34ae69=_0xfea5bc;throw new Error(_0x34ae69(0x322));}['_clearLocalCache'](){var _0x45bec6=_0xfea5bc,_0x13de8d;(_0x13de8d=this[_0x45bec6(0x2b0)])==null||_0x13de8d[_0x45bec6(0x8e)](this[_0x45bec6(0x241)],this[_0x45bec6(0x32a)],null,[]);}[_0xfea5bc(0x352)](){var _0xaa85c=_0xfea5bc;this[_0xaa85c(0x10b)]?this[_0xaa85c(0x207)][_0xaa85c(0x23d)]({'id':re[_0xaa85c(0x329)]}):this[_0xaa85c(0x207)]['emitEvent']({'id':re[_0xaa85c(0xd5)]});}[_0xfea5bc(0x338)](){var _0x1c090b=_0xfea5bc;this[_0x1c090b(0x130)][_0x1c090b(0x230)](new _0x3afaa1(this[_0x1c090b(0x241)])['id'],!0x1);}};de=be([A(0x6,_0x5d1423(_0x5cf24c)),A(0x7,_0x185ede),A(0x8,_0x2b9d6a),A(0x9,_0x5d1423(_0x42e08a)),A(0xa,_0x5d1423(_0x477c62)),A(0xb,_0x5d1423(pe)),A(0xc,_0x52513a(X))],de);let fe=class extends Re{constructor(_0x431f33,_0x276b1f,_0x5e6d34,_0xdbab70,_0x32aa7a,_0x443c8b,_0x585e8c,_0x40e9a7,_0xff54a0,_0x26a336){var _0x502475=_0xfea5bc;super(_0x431f33,_0x276b1f,_0x5e6d34,_0xdbab70,_0x32aa7a,_0x40e9a7,_0xff54a0,_0x585e8c,_0x26a336),P(this,'status','offline'),this[_0x502475(0x239)]=_0x443c8b;}[_0xfea5bc(0x12c)](_0x49c9c6){var _0x398f15=_0xfea5bc;return this[_0x398f15(0x2d9)][_0x398f15(0x2d0)](_0x49c9c6),this[_0x398f15(0x12b)](),this;}['onRemoteChangeset'](_0x1e258c){var _0x4993ab=_0xfea5bc;throw new Error(_0x4993ab(0x9e));}['onRemoteAck'](){var _0x1fb622=_0xfea5bc;throw new Error(_0x1fb622(0x109));}[_0xfea5bc(0x26f)](){var _0x451871=_0xfea5bc;throw new Error(_0x451871(0xb6));}['onRemoteRetry'](){return this;}[_0xfea5bc(0x2c5)](){return this;}[_0xfea5bc(0x1b6)](){const {_injector:_0x4ab603,_pendingMutations:_0x2bdb3f,_awaitingChangeset:_0x4c913b,unitID:_0x2af5a0,_handler:_0x55e5a7,type:_0x1070a2}=this,_0x100624=Di(_0x4ab603,_0x2af5a0,_0x1070a2,_0x4c913b,_0x2bdb3f,_0x55e5a7);return _0x100624 instanceof oe?_0x100624['_schedule']():(_0x100624 instanceof ae||_0x100624 instanceof ue)&&_0x100624['resend'](),_0x100624;}[_0xfea5bc(0xf3)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=be([A(0x5,_0x5d1423(_0xd0e7e3)),A(0x6,_0x5d1423(_0x42e08a)),A(0x7,_0x185ede),A(0x8,_0x2b9d6a),A(0x9,_0x52513a(X))],fe);let te=class extends Re{constructor(_0x84ac30,_0x3c2910,_0x2b8f8a,_0x1783d3,_0x2ca183,_0x2576dd,_0x3b4e2c,_0x22b381,_0x212abf,_0x3824dd,_0x23799e,_0x3adc3a,_0x244814,_0x548a80){var _0x4db043=_0xfea5bc;super(_0x84ac30,_0x3c2910,_0x2b8f8a,_0x1783d3,_0x3b4e2c,_0x23799e,_0x3adc3a,_0x212abf,_0x548a80),P(this,_0x4db043(0x1d6),'fetch_missing'),(this[_0x4db043(0x335)]=_0x2ca183,this[_0x4db043(0x35c)]=_0x2576dd,this[_0x4db043(0x239)]=_0x22b381,this['_logService']=_0x3824dd,this[_0x4db043(0x175)]=_0x244814,this[_0x4db043(0x2ae)]=_0x548a80);}['onMissedChangesetFetched'](_0x1f2d06){var _0x2074c=_0xfea5bc;try{const _0x2ea977=[..._0x1f2d06,...this[_0x2074c(0x35c)]],_0x3551d6=[this[_0x2074c(0x22f)]||this[_0x2074c(0x335)]]['filter'](_0x6adc1d=>!!_0x6adc1d);let _0x31669c,_0x44b237;if(_0x3551d6[_0x2074c(0x28a)]){const _0x15bb08=this[_0x2074c(0x175)][_0x2074c(0xa1)](_0x2ea977,_0x3551d6,!0x1);if(!_0x22f639(_0x15bb08))throw _0x15bb08[_0x2074c(0x36e)];_0x31669c=_0x15bb08[_0x2074c(0x1a6)],_0x44b237=_0x15bb08[_0x2074c(0x2cd)];}else _0x31669c=_0x2ea977,_0x44b237=[];let _0x55dca6=this['_pendingMutations'];_0x31669c[_0x2074c(0x19f)](_0x3eb907=>{var _0x29cea4=_0x2074c;let _0x117b05;if(_0x55dca6[_0x29cea4(0x28a)]){const _0x3c5b0b=this['_transformService'][_0x29cea4(0xa7)](_0x3eb907,_0x55dca6);if(!_0x475b3b(_0x3c5b0b))throw _0x3c5b0b[_0x29cea4(0x36e)];_0x117b05=_0x3c5b0b[_0x29cea4(0x1a6)],_0x55dca6=_0x3c5b0b[_0x29cea4(0x1e9)];}else _0x117b05=_0x3eb907;this[_0x29cea4(0xde)](_0x117b05);}),this[_0x2074c(0x335)]&&this[_0x2074c(0x346)](),this[_0x2074c(0x22f)]&&_0x44b237['length']&&(_0x44b237[0x0][_0x2074c(0x187)]=this[_0x2074c(0x1ef)]());let _0x1bf359;if(this['_awaitingChangeset']&&_0x55dca6[_0x2074c(0x28a)]!==0x0)_0x1bf359=this[_0x2074c(0x239)]['createInstance'](ae,this[_0x2074c(0x241)],this['type'],_0x44b237[0x0],_0x55dca6,this['_handler'],void 0x0);else{if(this[_0x2074c(0x22f)]&&_0x55dca6['length']===0x0)_0x44b237[0x0][_0x2074c(0x187)]=this[_0x2074c(0x1ef)](),_0x1bf359=this[_0x2074c(0x239)]['createInstance'](ue,this['unitID'],this['type'],_0x44b237[0x0],this[_0x2074c(0x203)]);else{if(_0x55dca6[_0x2074c(0x28a)]!==0x0){const _0x3568b9=this[_0x2074c(0x239)][_0x2074c(0x306)](oe,this[_0x2074c(0x241)],this[_0x2074c(0x32a)],_0x55dca6,this[_0x2074c(0x203)]);_0x3568b9[_0x2074c(0x1cb)](),_0x1bf359=_0x3568b9;}else _0x1bf359=this[_0x2074c(0x239)][_0x2074c(0x306)](Pe,this[_0x2074c(0x241)],this[_0x2074c(0x32a)],this[_0x2074c(0x203)]);}}return _0x1bf359[_0x2074c(0x12b)](),_0x1bf359;}catch(_0x33c0da){return this[_0x2074c(0xa5)][_0x2074c(0x36e)](_0x2074c(0x20a),_0x2074c(0x1fa),_0x33c0da),this[_0x2074c(0x239)][_0x2074c(0x306)](de,this[_0x2074c(0x241)],this[_0x2074c(0x32a)],this[_0x2074c(0x22f)],this[_0x2074c(0x2d9)],this[_0x2074c(0x203)],!0x1);}}[_0xfea5bc(0xf3)](){var _0x7c6ae5=_0xfea5bc;throw new Error(_0x7c6ae5(0xcf));}['appendMutation'](_0x1244bc){var _0x5fc79b=_0xfea5bc;return this[_0x5fc79b(0x2d9)][_0x5fc79b(0x2d0)](_0x1244bc),this;}[_0xfea5bc(0x156)](_0x51d3b6){var _0x33a997=_0xfea5bc;return this[_0x33a997(0x35c)][_0x33a997(0x2d0)](_0x51d3b6),this;}[_0xfea5bc(0x86)](_0x2aff13){var _0x562984=_0xfea5bc;if(this[_0x562984(0x22f)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x562984(0x22f)]=null,this;throw new Error(_0x562984(0x217));}[_0xfea5bc(0x26f)](_0x3df13c){var _0x57f78a=_0xfea5bc;return this['_onConflict'](!!(_0x3df13c!=null&&_0x3df13c[_0x57f78a(0x2a0)]));}[_0xfea5bc(0x27a)](){return this;}[_0xfea5bc(0x2c5)](){var _0x104f0c=_0xfea5bc;return this[_0x104f0c(0x239)][_0x104f0c(0x306)](fe,this[_0x104f0c(0x241)],this[_0x104f0c(0x32a)],this[_0x104f0c(0x22f)],this['_pendingMutations'],this[_0x104f0c(0x203)]);}[_0xfea5bc(0x1b6)](){return this;}[_0xfea5bc(0x334)](_0x23be3c){var _0x31d42e=_0xfea5bc;return this[_0x31d42e(0x239)]['createInstance'](de,this[_0x31d42e(0x241)],this['type'],this[_0x31d42e(0x22f)],this[_0x31d42e(0x2d9)],this[_0x31d42e(0x203)],_0x23be3c);}};te=be([A(0x7,_0x5d1423(_0xd0e7e3)),A(0x8,_0x5d1423(_0x42e08a)),A(0x9,_0x43687c),A(0xa,_0x185ede),A(0xb,_0x2b9d6a),A(0xc,_0x12a25b),A(0xd,_0x52513a(X))],te);function Di(_0x16ea9f,_0x41979e,_0x187f52,_0x49b293,_0x2d4eba,_0xa5d948){var _0x574863=_0xfea5bc;return _0x49b293&&_0x2d4eba[_0x574863(0x28a)]?_0x16ea9f[_0x574863(0x306)](ae,_0x41979e,_0x187f52,_0x49b293,_0x2d4eba,_0xa5d948,void 0x0):_0x49b293?_0x16ea9f[_0x574863(0x306)](ue,_0x41979e,_0x187f52,_0x49b293,_0xa5d948):_0x2d4eba[_0x574863(0x28a)]?_0x16ea9f[_0x574863(0x306)](oe,_0x41979e,_0x187f52,_0x2d4eba,_0xa5d948):_0x16ea9f[_0x574863(0x306)](Pe,_0x41979e,_0x187f52,_0xa5d948);}var bs=Object[_0xfea5bc(0x247)],Rs=Object[_0xfea5bc(0x30f)],Mt=(_0x6e270c,_0x1dbc4c,_0x28edb4,_0x165bba)=>{var _0x161c00=_0xfea5bc;for(var _0x901422=_0x165bba>0x1?void 0x0:_0x165bba?Rs(_0x1dbc4c,_0x28edb4):_0x1dbc4c,_0x3bdfe1=_0x6e270c[_0x161c00(0x28a)]-0x1,_0x5a92d1;_0x3bdfe1>=0x0;_0x3bdfe1--)(_0x5a92d1=_0x6e270c[_0x3bdfe1])&&(_0x901422=(_0x165bba?_0x5a92d1(_0x1dbc4c,_0x28edb4,_0x901422):_0x5a92d1(_0x901422))||_0x901422);return _0x165bba&&_0x901422&&bs(_0x1dbc4c,_0x28edb4,_0x901422),_0x901422;},k=(_0x4ca27e,_0x1732e)=>(_0x12712b,_0x5c8a66)=>_0x1732e(_0x12712b,_0x5c8a66,_0x4ca27e);let st=class extends _0x186de6{constructor(_0x45c9ce,_0x522f66,_0x28f8b4,_0x1275a0,_0x3d23f6,_0x5e2275,_0x5bcf7a,_0x2d2641,_0x16f49c,_0x2a5fc6,_0x1cace7,_0x3e01b9,_0x481a2f){var _0x33948d=_0xfea5bc;super(),P(this,_0x33948d(0x2ad),new _0x27ef72(null)),P(this,_0x33948d(0x29b),this['_state$']['asObservable']()),P(this,_0x33948d(0x1d8)),P(this,_0x33948d(0x138),!0x1),P(this,_0x33948d(0x2e0),''),P(this,_0x33948d(0x271),0x0),P(this,_0x33948d(0x36f),this[_0x33948d(0x29b)][_0x33948d(0x7f)](_0x1e327d(_0x5c9396=>_0x5c9396?_0x5c9396[_0x33948d(0x1d6)]:Ni[_0x33948d(0x32c)]),_0x1e55d9(0x1))),P(this,_0x33948d(0xec),!0x1),P(this,_0x33948d(0x2b8),[]),(this[_0x33948d(0x241)]=_0x45c9ce,this['session']=_0x522f66,this[_0x33948d(0x13e)]=_0x28f8b4,this[_0x33948d(0x239)]=_0x1275a0,this[_0x33948d(0x2f7)]=_0x3d23f6,this[_0x33948d(0x139)]=_0x5e2275,this[_0x33948d(0x265)]=_0x5bcf7a,this['_eventService']=_0x2d2641,this[_0x33948d(0xa5)]=_0x16f49c,this['_commandService']=_0x2a5fc6,this[_0x33948d(0x130)]=_0x1cace7,this[_0x33948d(0x140)]=_0x3e01b9,this['_localCacheService']=_0x481a2f);}get['state'](){var _0xdc1c3d=_0xfea5bc;return this[_0xdc1c3d(0x1d8)];}async[_0xfea5bc(0x228)](){var _0x51b3a9=_0xfea5bc;if(this[_0x51b3a9(0x127)])throw new Error(_0x51b3a9(0x231));await this[_0x51b3a9(0x185)]();}[_0xfea5bc(0x1c0)](){return this['_collaborationPaused']=!0x0,_0x5891ad(()=>{var _0x2f67c7=_0xce85;this[_0x2f67c7(0x138)]=!0x1,this[_0x2f67c7(0x118)]();});}[_0xfea5bc(0x10d)](_0x2af74b){this['_onLocalMutation'](_0x2af74b);}[_0xfea5bc(0x250)](_0x3a4ea6){var _0x549991=_0xfea5bc;this[_0x549991(0x1d8)]=_0x3a4ea6,this[_0x549991(0x2ad)][_0x549991(0x2d5)](_0x3a4ea6);}async[_0xfea5bc(0x185)](){var _0x316540=_0xfea5bc,_0x39dc7b;this[_0x316540(0x250)](await this[_0x316540(0x34e)]()),this[_0x316540(0x140)]&&((_0x39dc7b=this[_0x316540(0x140)])==null||_0x39dc7b[_0x316540(0x2bc)](this[_0x316540(0x241)]),this[_0x316540(0x351)](this['_singleActiveUnitService'][_0x316540(0x21e)](this[_0x316540(0x241)])[_0x316540(0x2d7)](_0x25b002=>{var _0xb9c96a=_0x316540;this['_logService'][_0xb9c96a(0x149)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x25b002),_0x25b002===yi[_0xb9c96a(0x1ba)]?(this[_0xb9c96a(0x269)][_0xb9c96a(0x23d)]({'id':re[_0xb9c96a(0xa6)]}),this[_0xb9c96a(0x130)]['updatePermissionPoint'](new _0x3afaa1(this[_0xb9c96a(0x241)])['id'],!0x1),this[_0xb9c96a(0x130)]['setShowComponents'](!0x1)):(this[_0xb9c96a(0x130)][_0xb9c96a(0x230)](new _0x3afaa1(this['unitID'])['id'],!0x0),this['_permissionService'][_0xb9c96a(0x31b)](!0x0));})));let _0x2ddb0c=!0x1;return this[_0x316540(0x351)](this[_0x316540(0x32f)][_0x316540(0xb3)][_0x316540(0x2d7)](_0x58d59b=>{var _0x3723be=_0x316540;_0x58d59b===Te[_0x3723be(0x254)]?this[_0x3723be(0x1bc)](_0x2ddb0c):_0x58d59b===Te[_0x3723be(0x32c)]&&(_0x2ddb0c=!0x0,this['_toggleOffline']());})),this[_0x316540(0x351)](this[_0x316540(0x32f)]['event$'][_0x316540(0x2d7)](_0x37164b=>{var _0x25594c=_0x316540;try{switch(_0x37164b['eventID']){case _0x41c4be[_0x25594c(0x24e)]:{this['_onRemoteChangeset'](_0x3bfdc7(_0x37164b[_0x25594c(0x2e1)]));break;}case _0x41c4be['CHANGESET_ACK']:{this[_0x25594c(0x19b)](_0x37164b['data']);break;}case _0x41c4be[_0x25594c(0x345)]:{this['_onRemoteRejected']();break;}case _0x41c4be[_0x25594c(0x209)]:{this['_onRemoteRetry'](_0x37164b['data']);break;}case _0x41c4be['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x25594c(0x169)](_0x37164b[_0x25594c(0x2e1)][_0x25594c(0x2a3)][_0x25594c(0x22e)](_0x4576e5=>_0x3bfdc7(_0x4576e5)));break;}case _0x41c4be['PERMISSION_REJ']:{this[_0x25594c(0x13c)]({'isPermissionRej':!0x0});break;}case _0x41c4be[_0x25594c(0x371)]:break;}}catch(_0x31d9fc){throw console[_0x25594c(0x36e)](_0x25594c(0x28c),_0x31d9fc),_0x31d9fc;}})),this[_0x316540(0x1d8)];}[_0xfea5bc(0x34f)](){var _0x3d3623=_0xfea5bc;this[_0x3d3623(0xec)]=!0x1;}[_0xfea5bc(0x1fb)](){var _0x522091=_0xfea5bc;if(this[_0x522091(0xec)])throw new Error(_0x522091(0x2a7));this[_0x522091(0xec)]=!0x0;}[_0xfea5bc(0x304)](_0x8abbf5){var _0x4d2eac=_0xfea5bc;this[_0x4d2eac(0x1fb)](),this['_updateState'](this[_0x4d2eac(0x1d8)][_0x4d2eac(0x12c)](_0x8abbf5)),this['_unlockTransition']();}[_0xfea5bc(0x11d)](_0x14ae35){var _0x41cfed=_0xfea5bc;if(!(_0x14ae35[_0x41cfed(0x260)]<=this[_0x41cfed(0x265)][_0x41cfed(0x2c8)](this['unitID']))){if(this[_0x41cfed(0x138)]){this[_0x41cfed(0x2b8)][_0x41cfed(0x2d0)](_0x14ae35);return;}this[_0x41cfed(0x2dc)](_0x14ae35);}}[_0xfea5bc(0x118)](){var _0x59fc9f=_0xfea5bc;this[_0x59fc9f(0x2b8)][_0x59fc9f(0x19f)](_0xc01087=>this[_0x59fc9f(0x2dc)](_0xc01087)),this[_0x59fc9f(0x2b8)]=[];}[_0xfea5bc(0x2dc)](_0x4473fc){var _0x4883cd=_0xfea5bc;const _0x19b865=this[_0x4883cd(0x2f7)][_0x4883cd(0x367)][_0x4883cd(0xe8)](this['_compressMutationService'][_0x4883cd(0x367)][_0x4883cd(0x24f)]()['COMPRESS_MUTATION_APPLY'])(_0x4473fc['mutations'],null)||_0x4473fc[_0x4883cd(0x199)],_0x5e6a46={..._0x4473fc,'mutations':_0x19b865};this[_0x4883cd(0x1fb)](),this[_0x4883cd(0x250)](this[_0x4883cd(0x1d8)]['onRemoteChangeset'](_0x5e6a46)),this[_0x4883cd(0x34f)]();}['_onRemoteACK'](_0x114bfa){var _0x2645f8=_0xfea5bc;this[_0x2645f8(0x1fb)](),this[_0x2645f8(0x250)](this[_0x2645f8(0x1d8)][_0x2645f8(0x86)](_0x114bfa)),this['_unlockTransition']();}[_0xfea5bc(0x13c)](_0xdd86aa){var _0x5479da=_0xfea5bc;this[_0x5479da(0x1fb)](),this[_0x5479da(0x250)](this[_0x5479da(0x1d8)][_0x5479da(0x26f)](_0xdd86aa)),this['_unlockTransition']();}['_onRemoteRetry'](_0x114050){var _0x22ac18=_0xfea5bc;this[_0x22ac18(0x1fb)](),this[_0x22ac18(0x250)](this[_0x22ac18(0x1d8)][_0x22ac18(0x27a)](_0x114050)),this['_unlockTransition']();}['_onFetchMissResult'](_0x3abb3e){var _0x350f3a=_0xfea5bc;if(!(this[_0x350f3a(0x1d8)]instanceof te))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x26f1c8=_0x3abb3e[_0x350f3a(0x22e)](_0x31bef7=>{var _0x476465=_0x350f3a;const _0x574157=this[_0x476465(0x2f7)][_0x476465(0x367)]['fetchThroughInterceptors'](this[_0x476465(0x2f7)][_0x476465(0x367)][_0x476465(0x24f)]()['COMPRESS_MUTATION_APPLY'])(_0x31bef7['mutations'],null)||_0x31bef7[_0x476465(0x199)];return{..._0x31bef7,'mutations':_0x574157};});this[_0x350f3a(0x1fb)](),this['_updateState'](this['_state']['onMissedChangesetFetched'](_0x26f1c8)),this['_unlockTransition']();}[_0xfea5bc(0x236)](){var _0x36e533=_0xfea5bc;this[_0x36e533(0x1fb)](),this[_0x36e533(0x250)](this[_0x36e533(0x1d8)]['toggleOffline']()),this['_unlockTransition']();}[_0xfea5bc(0x1bc)](_0x257a0a=!0x1){var _0xa6c592=_0xfea5bc;this['_lockTransition'](),this[_0xa6c592(0x250)](this['_state'][_0xa6c592(0x1b6)]()),this[_0xa6c592(0x34f)]();const _0x1ae947=this[_0xa6c592(0x1d8)];_0x257a0a&&_0x1ae947 instanceof Pe&&(this[_0xa6c592(0x1fb)](),this[_0xa6c592(0x250)](_0x1ae947[_0xa6c592(0x13a)]()),this[_0xa6c592(0x34f)]());}async['_createInitialState'](){return new Promise(_0x456d93=>{var _0xeeb3a2=_0xce85;this['session'][_0xeeb3a2(0xb3)][_0xeeb3a2(0x7f)](_0x3a3f11(0x1))[_0xeeb3a2(0x2d7)](async _0x877f4=>{var _0x8794a4=_0xeeb3a2;_0x456d93(await this[_0x8794a4(0x1f9)](_0x877f4===Te[_0x8794a4(0x254)]));});});}['_createHandler'](){var _0x1b763b=_0xfea5bc;const _0x115296=this[_0x1b763b(0x241)];return{'onStateChange':(_0x12cb98,_0xa987ae)=>{var _0x4d8705=_0x1b763b;if(_0x12cb98!==this['_state'])throw new Error(_0x4d8705(0x1bf)+_0x12cb98[_0x4d8705(0x1d6)]+_0x4d8705(0x347)+_0xa987ae['status']+_0x4d8705(0x244)+this[_0x4d8705(0x1d8)][_0x4d8705(0x1d6)]);this[_0x4d8705(0x250)](_0xa987ae);},'onSendChangeset':_0x418abf=>{var _0x151182=_0x1b763b;_0x418abf[_0x151182(0x2ab)]||(_0x418abf[_0x151182(0x2ab)]=this[_0x151182(0x2e0)],_0x418abf['reqId']=++this[_0x151182(0x271)]);const _0x905c4e={'eventID':_0x41c4be[_0x151182(0x296)],'data':{'unitID':_0x418abf['unitID'],'unitType':this['_type'],'changeset':_0x418abf,'memberID':this['session'][_0x151182(0x31c)]()}};this[_0x151182(0x32f)][_0x151182(0x22d)](_0x905c4e,this[_0x151182(0x241)]);},'onMissingChangesets':({from:_0x1034fe,to:_0x269818})=>{var _0x32fc06=_0x1b763b;this['_logService'][_0x32fc06(0x149)](_0x32fc06(0x1eb),'fetching\x20missing\x20changesets\x20from\x20'+_0x1034fe+_0x32fc06(0x257)+_0x269818);const _0x23c668={'eventID':_0x41c4be[_0x32fc06(0xeb)],'data':{'unitID':_0x115296,'unitType':this[_0x32fc06(0x13e)],'from':_0x1034fe,'to':_0x269818}};this[_0x32fc06(0x32f)][_0x32fc06(0x22d)](_0x23c668,this[_0x32fc06(0x241)]);}};}async[_0xfea5bc(0x1f9)](_0x39ec30){var _0x3a6e2e=_0xfea5bc,_0x515526,_0x16b5bc,_0x36eca3;const _0x9560ed=await((_0x515526=this[_0x3a6e2e(0x2b0)])==null?void 0x0:_0x515526['loadOfflineData'](this[_0x3a6e2e(0x241)])),_0x2726c0=(_0x16b5bc=_0x9560ed==null?void 0x0:_0x9560ed['mutations'])!=null?_0x16b5bc:[],_0x24a72c=(_0x36eca3=_0x9560ed==null?void 0x0:_0x9560ed[_0x3a6e2e(0x23a)])!=null?_0x36eca3:null,_0x59b176=!!(_0x24a72c!=null&&_0x24a72c['sid'])&&!!(_0x24a72c!=null&&_0x24a72c['reqId']);this[_0x3a6e2e(0x2e0)]=_0x59b176?_0x24a72c['sid']:fs(),this[_0x3a6e2e(0x271)]=_0x59b176?_0x24a72c[_0x3a6e2e(0x1d4)]:0x0;const _0x375bcf=this[_0x3a6e2e(0x241)];try{this[_0x3a6e2e(0x274)](_0x24a72c,_0x2726c0);}catch(_0x57650a){this['_logService'][_0x3a6e2e(0x36e)](_0x57650a);}const _0x39c779=this[_0x3a6e2e(0x8f)]();if(_0x39ec30){const _0x38015e=Di(this[_0x3a6e2e(0x239)],_0x375bcf,this[_0x3a6e2e(0x13e)],_0x24a72c,_0x2726c0,_0x39c779);return _0x38015e instanceof oe?_0x38015e[_0x3a6e2e(0x1cb)]():(_0x38015e instanceof ae||_0x38015e instanceof ue)&&_0x38015e[_0x3a6e2e(0xf3)](),_0x38015e;}return this[_0x3a6e2e(0x239)][_0x3a6e2e(0x306)](fe,_0x375bcf,this[_0x3a6e2e(0x13e)],_0x24a72c,_0x2726c0,_0x39c779);}[_0xfea5bc(0x274)](_0x30db18,_0x51b5f3){var _0x1a6566=_0xfea5bc,_0x410efe,_0x461aa7;const _0x5bddf7=this['_compressMutationService'][_0x1a6566(0x367)][_0x1a6566(0xe8)](this[_0x1a6566(0x2f7)][_0x1a6566(0x367)]['getInterceptPoints']()[_0x1a6566(0x2cf)]);(_0x410efe=_0x5bddf7((_0x30db18==null?void 0x0:_0x30db18[_0x1a6566(0x199)])||[],null))==null||_0x410efe[_0x1a6566(0x19f)](_0x1b1eeb=>this[_0x1a6566(0x184)][_0x1a6566(0x12a)](_0x1b1eeb['id'],_0x1b1eeb[_0x1a6566(0x1e6)])),(_0x461aa7=_0x5bddf7(_0x51b5f3||[],null))==null||_0x461aa7[_0x1a6566(0x19f)](_0x18811b=>this['_commandService'][_0x1a6566(0x12a)](_0x18811b['id'],_0x18811b[_0x1a6566(0x1e6)]));}};st=Mt([k(0x3,_0x5d1423(_0xd0e7e3)),k(0x4,_0x5d1423(_0x78e898)),k(0x5,_0x5d1423(_0x477c62)),k(0x6,_0x5d1423(_0x42e08a)),k(0x7,_0x5d1423(pe)),k(0x8,_0x43687c),k(0x9,_0x185ede),k(0xa,_0x5cf24c),k(0xb,_0x52513a(_t)),k(0xc,_0x52513a(X))],st);let Ct=class extends st{constructor(_0x55d2c5,_0x50be10,_0x43d225,_0x5723ba,_0x38aa35,_0x3699b5,_0x517f66,_0x4ececd,_0x49219e,_0x19f89f,_0x16acec,_0x4f71ca,_0x441fc5){var _0x37eb44=_0xfea5bc;super(_0x55d2c5,_0x43d225,_0x50be10,_0x5723ba,_0x38aa35,_0x3699b5,_0x517f66,_0x4ececd,_0x49219e,_0x19f89f,_0x16acec,_0x4f71ca,_0x441fc5),P(this,_0x37eb44(0x6b),null),(this[_0x37eb44(0x241)]=_0x55d2c5,this[_0x37eb44(0x32a)]=_0x50be10);}['addHandlerCallback'](_0xb9fff){var _0x2ca584=_0xfea5bc;this[_0x2ca584(0x6b)]=_0xb9fff;}['dispose'](){var _0x3c3d29=_0xfea5bc;this[_0x3c3d29(0x6b)]=null,super['dispose']();}['_createHandler'](){var _0x1b5640=_0xfea5bc;const _0x31f17c=super[_0x1b5640(0x8f)]();return _0x31f17c['onTransformIME']=_0x18d7f1=>{var _0x39605e=_0x1b5640,_0x202044,_0x394a0e;return(_0x394a0e=(_0x202044=this[_0x39605e(0x6b)])==null?void 0x0:_0x202044['onTransformIME'])==null?void 0x0:_0x394a0e[_0x39605e(0x18a)](_0x202044,_0x18d7f1);},_0x31f17c[_0x1b5640(0x311)]=_0x2be72f=>{var _0x42d2fc=_0x1b5640,_0x3b9116,_0x55ff06;return(_0x55ff06=(_0x3b9116=this[_0x42d2fc(0x6b)])==null?void 0x0:_0x3b9116['onTransformState'])==null?void 0x0:_0x55ff06[_0x42d2fc(0x18a)](_0x3b9116,_0x2be72f);},_0x31f17c[_0x1b5640(0x6c)]=_0x3679a7=>{var _0x38a62e=_0x1b5640,_0x28f526,_0x3a819e;return(_0x3a819e=(_0x28f526=this['_handlerCallback'])==null?void 0x0:_0x28f526['onTransformSelections'])==null?void 0x0:_0x3a819e[_0x38a62e(0x18a)](_0x28f526,_0x3679a7);},_0x31f17c[_0x1b5640(0x2ec)]=_0x55fa78=>{var _0x101a42=_0x1b5640,_0x5068aa,_0x227c1f;return(_0x227c1f=(_0x5068aa=this['_handlerCallback'])==null?void 0x0:_0x5068aa[_0x101a42(0x2ec)])==null?void 0x0:_0x227c1f[_0x101a42(0x18a)](_0x5068aa,_0x55fa78);},_0x31f17c[_0x1b5640(0x27f)]=_0x24c4df=>{var _0x5b107f=_0x1b5640,_0x5296a9,_0x1f909e,_0x595026;if(!((_0x5296a9=this[_0x5b107f(0x6b)])!=null&&_0x5296a9[_0x5b107f(0x27f)]))throw new Error(_0x5b107f(0x316));return(_0x595026=(_0x1f909e=this[_0x5b107f(0x6b)])==null?void 0x0:_0x1f909e[_0x5b107f(0x27f)])==null?void 0x0:_0x595026[_0x5b107f(0x18a)](_0x1f909e,_0x24c4df);},_0x31f17c[_0x1b5640(0x339)]=_0x4ca1f9=>{var _0x2b2a21=_0x1b5640,_0x2a259f,_0x4f3289,_0x1e577c;if(!((_0x2a259f=this[_0x2b2a21(0x6b)])!=null&&_0x2a259f['onTransformRemoteChangesetByStateCache']))throw new Error(_0x2b2a21(0x278));return(_0x1e577c=(_0x4f3289=this[_0x2b2a21(0x6b)])==null?void 0x0:_0x4f3289[_0x2b2a21(0x339)])==null?void 0x0:_0x1e577c[_0x2b2a21(0x18a)](_0x4f3289,_0x4ca1f9);},_0x31f17c;}async['_init'](){var _0x2ea9f2=_0xfea5bc;const _0x46f1b5=await super[_0x2ea9f2(0x185)]();return this['disposeWithMe'](this[_0x2ea9f2(0x184)][_0x2ea9f2(0x1f4)]((_0x1f24b1,_0x1a10ae)=>{var _0x37397e=_0x2ea9f2;if(_0x1f24b1[_0x37397e(0x32a)]!==_0x1a1b3d[_0x37397e(0x1df)]||_0x1a10ae!=null&&_0x1a10ae[_0x37397e(0x242)]||_0x1a10ae!=null&&_0x1a10ae[_0x37397e(0x176)]||_0x1f24b1['id']===_0xcd2ee['id'])return;const _0x17d493=_0x1f24b1[_0x37397e(0x1e6)];if((_0x17d493==null?void 0x0:_0x17d493[_0x37397e(0x283)])!==this[_0x37397e(0x241)])return;const _0x4b8dcb=_0x1f24b1,_0x4adf5f=this[_0x37397e(0x2f7)][_0x37397e(0x367)][_0x37397e(0xe8)](this[_0x37397e(0x2f7)][_0x37397e(0x367)][_0x37397e(0x24f)]()[_0x37397e(0x2ee)])([_0x4b8dcb],null)||[_0x4b8dcb];this[_0x37397e(0x304)](_0x4adf5f[0x0]);})),_0x46f1b5;}};Ct=Mt([k(0x3,_0x5d1423(_0xd0e7e3)),k(0x4,_0x5d1423(_0x78e898)),k(0x5,_0x5d1423(_0x477c62)),k(0x6,_0x5d1423(_0x42e08a)),k(0x7,_0x5d1423(pe)),k(0x8,_0x43687c),k(0x9,_0x185ede),k(0xa,_0x5cf24c),k(0xb,_0x52513a(_t)),k(0xc,_0x52513a(X))],Ct);let bt=class extends st{constructor(_0x92e4e3,_0x2ea980,_0x4324a4,_0x5a102a,_0x1b8a18,_0x3b1364,_0x2277b8,_0x189897,_0x172481,_0x34b3a1,_0x478544,_0x282f50,_0x18e095,_0x26880e){var _0xb6a877=_0xfea5bc;super(_0x92e4e3,_0x4324a4,_0x2ea980,_0x5a102a,_0x1b8a18,_0x3b1364,_0x2277b8,_0x172481,_0x34b3a1,_0x478544,_0x282f50,_0x18e095,_0x26880e),this[_0xb6a877(0x241)]=_0x92e4e3,this[_0xb6a877(0x32a)]=_0x2ea980,this['_sheetTransformSelectionsService']=_0x189897;}[_0xfea5bc(0x8f)](){var _0xad2134=_0xfea5bc;const _0x398828=super['_createHandler']();return _0x398828[_0xad2134(0x6c)]=_0x8ffb96=>this['_sheetTransformSelectionsService'][_0xad2134(0x1b3)](_0x8ffb96),_0x398828;}async[_0xfea5bc(0x185)](){var _0xf82b1a=_0xfea5bc;const _0x1946fe=await super[_0xf82b1a(0x185)]();return this[_0xf82b1a(0x351)](this['_commandService']['onCommandExecuted']((_0x48fe7e,_0x3b36e6)=>{var _0x4e89e3=_0xf82b1a;if(_0x48fe7e[_0x4e89e3(0x32a)]!==_0x1a1b3d[_0x4e89e3(0x1df)]||_0x3b36e6!=null&&_0x3b36e6[_0x4e89e3(0x242)]||_0x3b36e6!=null&&_0x3b36e6[_0x4e89e3(0x176)])return;const _0x36f767=_0x48fe7e['params'];if((_0x36f767==null?void 0x0:_0x36f767['unitId'])!==this['unitID'])return;const _0x37f064=_0x48fe7e,_0x4be5b4=this[_0x4e89e3(0x2f7)][_0x4e89e3(0x367)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x4e89e3(0x367)][_0x4e89e3(0x24f)]()['COMPRESS_MUTATION_SEND'])([_0x37f064],null)||[_0x37f064];this[_0x4e89e3(0x304)](_0x4be5b4[0x0]);})),_0x1946fe;}};bt=Mt([k(0x3,_0x5d1423(_0xd0e7e3)),k(0x4,_0x5d1423(_0x78e898)),k(0x5,_0x5d1423(_0x477c62)),k(0x6,_0x5d1423(_0x42e08a)),k(0x7,_0x5d1423(nt)),k(0x8,_0x5d1423(pe)),k(0x9,_0x43687c),k(0xa,_0x185ede),k(0xb,_0x5cf24c),k(0xc,_0x52513a(_t)),k(0xd,_0x52513a(X))],bt);var ys=Object[_0xfea5bc(0x247)],Os=Object['getOwnPropertyDescriptor'],Ns=(_0x3d8159,_0x87e4f1,_0x228c66,_0x3ce223)=>{var _0x550ced=_0xfea5bc;for(var _0x588caa=_0x3ce223>0x1?void 0x0:_0x3ce223?Os(_0x87e4f1,_0x228c66):_0x87e4f1,_0x4dc8b5=_0x3d8159[_0x550ced(0x28a)]-0x1,_0x3959db;_0x4dc8b5>=0x0;_0x4dc8b5--)(_0x3959db=_0x3d8159[_0x4dc8b5])&&(_0x588caa=(_0x3ce223?_0x3959db(_0x87e4f1,_0x228c66,_0x588caa):_0x3959db(_0x588caa))||_0x588caa);return _0x3ce223&&_0x588caa&&ys(_0x87e4f1,_0x228c66,_0x588caa),_0x588caa;},vt=(_0x331cfb,_0x4dd3a4)=>(_0x3a1cc2,_0x192d2a)=>_0x4dd3a4(_0x3a1cc2,_0x192d2a,_0x331cfb);let rt=class extends _0x186de6{constructor(_0x58ec5c,_0x2532ea,_0x4274c7){var _0x157705=_0xfea5bc;super(),P(this,'_entities',new Map()),P(this,'_entityInit$',new _0x259d5d()),P(this,'entityInit$',this[_0x157705(0x2a2)][_0x157705(0xc4)]()),(this[_0x157705(0x239)]=_0x58ec5c,this['_collabSessionService']=_0x2532ea,this[_0x157705(0x2fb)]=_0x4274c7,this[_0x157705(0x185)]());}['dispose'](){var _0x410c59=_0xfea5bc;super[_0x410c59(0x33e)](),this[_0x410c59(0x221)][_0x410c59(0x19f)](_0x3e5b32=>_0x3e5b32[_0x410c59(0x33e)]()),this[_0x410c59(0x221)][_0x410c59(0x1bd)]();}[_0xfea5bc(0x246)](_0x27e7c2){var _0x5ef2f1=_0xfea5bc,_0x3c87a8;return(_0x3c87a8=this[_0x5ef2f1(0x221)][_0x5ef2f1(0x1da)](_0x27e7c2))!=null?_0x3c87a8:null;}[_0xfea5bc(0x365)](_0x9728cd){var _0x3d2351=_0xfea5bc;const _0x4f7234=this['getCollabEntity'](_0x9728cd);return _0x4f7234?_0x5c379f(_0x4f7234):this[_0x3d2351(0x2a2)][_0x3d2351(0x7f)](_0x57ea80(_0x40f715=>_0x40f715[_0x3d2351(0x241)]===_0x9728cd));}[_0xfea5bc(0x331)](_0x54985a){var _0x3431e4=_0xfea5bc;return _0xe3b687(this[_0x3431e4(0x365)](_0x54985a)['pipe'](_0x4e6d97(()=>{})));}['_init'](){var _0x2ab29a=_0xfea5bc;this[_0x2ab29a(0x2fb)][_0x2ab29a(0x1f1)](_0x583f53[_0x2ab29a(0x14f)])[_0x2ab29a(0x7f)](_0x39790d(this[_0x2ab29a(0x35d)]),_0x4c7295(0x10))[_0x2ab29a(0x2d7)](async _0x4dc55f=>{var _0x241199=_0x2ab29a;const _0x3748d8=_0x4dc55f[_0x241199(0x33d)](),_0x531ab7=await this['_startCollaboration'](_0x3748d8,Q['UNIVER_SHEET']);this['_entities'][_0x241199(0x1cc)](_0x3748d8,_0x531ab7);}),this[_0x2ab29a(0x2fb)][_0x2ab29a(0x1f1)](_0x583f53[_0x2ab29a(0x11b)])[_0x2ab29a(0x7f)](_0x39790d(this[_0x2ab29a(0x35d)]),_0x4c7295(0x10))[_0x2ab29a(0x7f)](_0x57ea80(_0x2f880d=>!_0x2f880d[_0x2ab29a(0x33d)]()[_0x2ab29a(0x84)]('__')))[_0x2ab29a(0x2d7)](async _0x55c35b=>{var _0x2fcb17=_0x2ab29a;const _0x210d41=_0x55c35b[_0x2fcb17(0x33d)](),_0x5a897d=await this[_0x2fcb17(0x35a)](_0x210d41,Q['UNIVER_DOC']);this[_0x2fcb17(0x221)][_0x2fcb17(0x1cc)](_0x210d41,_0x5a897d);}),_0x22f8bf(this[_0x2ab29a(0x2fb)][_0x2ab29a(0x1c2)](_0x583f53['UNIVER_SHEET']),this['_univerInstanceService'][_0x2ab29a(0x1c2)](_0x583f53[_0x2ab29a(0x11b)]))[_0x2ab29a(0x7f)](_0x39790d(this[_0x2ab29a(0x35d)]))[_0x2ab29a(0x2d7)](_0x1e9ad0=>{var _0x1684f0=_0x2ab29a;const _0x58f652=_0x1e9ad0[_0x1684f0(0x33d)](),_0x239a25=this[_0x1684f0(0x221)]['get'](_0x58f652);_0x239a25&&(_0x239a25[_0x1684f0(0x33e)](),this[_0x1684f0(0x221)]['delete'](_0x58f652));});}async[_0xfea5bc(0x35a)](_0x1cb974,_0x50320d){var _0x49f58c=_0xfea5bc;const _0x240e58=await this['_collabSessionService']['requireSession'](_0x1cb974),_0x1b3c22=this[_0x49f58c(0x239)][_0x49f58c(0x306)](this['_getCtorByUniverType'](_0x50320d),_0x1cb974,_0x50320d,_0x240e58);return await _0x1b3c22[_0x49f58c(0x228)](),this[_0x49f58c(0x2a2)]['next'](_0x1b3c22),_0x1b3c22;}[_0xfea5bc(0xf7)](_0x40295a){var _0x179bd2=_0xfea5bc;switch(_0x40295a){case Q['UNIVER_DOC']:return Ct;case Q[_0x179bd2(0x14f)]:return bt;default:throw new Error(_0x179bd2(0x17b)+_0x40295a);}}};rt=Ns([vt(0x0,_0x5d1423(_0xd0e7e3)),vt(0x1,_0x5d1423(Le)),vt(0x2,_0x248930)],rt);var Ps=Object[_0xfea5bc(0x247)],Ds=Object['getOwnPropertyDescriptor'],ws=(_0x4c4320,_0x2a7ea1,_0x2d643a,_0x2312b4)=>{var _0x7f3334=_0xfea5bc;for(var _0x50cc06=_0x2312b4>0x1?void 0x0:_0x2312b4?Ds(_0x2a7ea1,_0x2d643a):_0x2a7ea1,_0xf40500=_0x4c4320[_0x7f3334(0x28a)]-0x1,_0x49423c;_0xf40500>=0x0;_0xf40500--)(_0x49423c=_0x4c4320[_0xf40500])&&(_0x50cc06=(_0x2312b4?_0x49423c(_0x2a7ea1,_0x2d643a,_0x50cc06):_0x49423c(_0x50cc06))||_0x50cc06);return _0x2312b4&&_0x50cc06&&Ps(_0x2a7ea1,_0x2d643a,_0x50cc06),_0x50cc06;},Xt=(_0x566711,_0x473be4)=>(_0x5f2710,_0xcf5451)=>_0x473be4(_0x5f2710,_0xcf5451,_0x566711);const Us='DEFAULT_FILE_NAME',As='Univer';let Rt=class extends _0x2d0e8b{constructor(_0x5245cb,_0x418509){var _0x289cc4=_0xfea5bc;super(),this[_0x289cc4(0x2fb)]=_0x5245cb,this[_0x289cc4(0x132)]=_0x418509,this[_0x289cc4(0x185)]();}['_init'](){var _0x31ca48=_0xfea5bc;this['disposeWithMe'](this[_0x31ca48(0x2fb)]['focused$']['subscribe'](()=>{var _0x36d8ec=_0x31ca48,_0x266389;const _0xeb1c47=this[_0x36d8ec(0x2fb)]['getFocusedUnit']();let _0x58c8d8=(_0x266389=this[_0x36d8ec(0x132)][_0x36d8ec(0x30a)](Us))!=null?_0x266389:As;_0xeb1c47 instanceof _0x27b63e&&(_0x58c8d8=_0xeb1c47[_0x36d8ec(0x1a8)]),document['title']=_0x58c8d8;}));}};Rt=ws([Xt(0x0,_0x248930),Xt(0x1,_0x39bec4)],Rt);var xs=Object[_0xfea5bc(0x247)],Ls=Object['getOwnPropertyDescriptor'],Ms=(_0x3e42ce,_0x931b9b,_0x49d885,_0x49fe66)=>{var _0x31bb3a=_0xfea5bc;for(var _0xf168e6=_0x49fe66>0x1?void 0x0:_0x49fe66?Ls(_0x931b9b,_0x49d885):_0x931b9b,_0x10a3b0=_0x3e42ce[_0x31bb3a(0x28a)]-0x1,_0x2085c2;_0x10a3b0>=0x0;_0x10a3b0--)(_0x2085c2=_0x3e42ce[_0x10a3b0])&&(_0xf168e6=(_0x49fe66?_0x2085c2(_0x931b9b,_0x49d885,_0xf168e6):_0x2085c2(_0xf168e6))||_0xf168e6);return _0x49fe66&&_0xf168e6&&xs(_0x931b9b,_0x49d885,_0xf168e6),_0xf168e6;},pt=(_0x36613f,_0x14014e)=>(_0x2c87a2,_0x2ffb9f)=>_0x14014e(_0x2c87a2,_0x2ffb9f,_0x36613f);let ot=class{constructor(_0x546bba,_0x508d2a,_0x2c04ff){var _0x50d3d2=_0xfea5bc;this[_0x50d3d2(0x132)]=_0x546bba,this[_0x50d3d2(0x350)]=_0x508d2a,this['localeService']=_0x2c04ff,this[_0x50d3d2(0x228)]();}[_0xfea5bc(0x228)](){var _0x5da851=_0xfea5bc;this['_httpService'][_0x5da851(0x92)]({'priority':0x1,'interceptor':(_0x50682f,_0x19be3d)=>_0x19be3d(_0x50682f)[_0x5da851(0x7f)](_0x146834(async _0x481051=>{var _0x83da46=_0x5da851;const _0x1fe765=_0x481051;if(_0x1fe765[_0x83da46(0x1d6)]===0x191){if(typeof window>'u')throw new Error(_0x83da46(0x1ae));if(window[_0x83da46(0x229)](this[_0x83da46(0x2e6)]['t'](_0x83da46(0x14c)))){const _0x3f0aec=window[_0x83da46(0x370)](window[_0x83da46(0x16f)][_0x83da46(0x148)]);window[_0x83da46(0x16f)][_0x83da46(0x148)]=this[_0x83da46(0x1b1)]()+_0x83da46(0xe6)+_0x3f0aec;}}return _0x1fe765;}))});}[_0xfea5bc(0x1b1)](){var _0x1d284f=_0xfea5bc,_0x1add4e,_0x220527;const _0x338872=this[_0x1d284f(0x132)][_0x1d284f(0x30a)](Fn),_0x4fd7d4=this[_0x1d284f(0x132)][_0x1d284f(0x30a)](Y);return(_0x220527=(_0x1add4e=_0x4fd7d4==null?void 0x0:_0x4fd7d4[_0x1d284f(0x2f0)])!=null?_0x1add4e:_0x338872)!=null?_0x220527:Vn;}};ot=Ms([pt(0x0,_0x39bec4),pt(0x1,_0x5d1423(_0x221528)),pt(0x2,_0x5d1423(_0x477c62))],ot);var $s=Object[_0xfea5bc(0x247)],Hs=Object['getOwnPropertyDescriptor'],ks=(_0x5129d9,_0x33d724,_0x444705,_0x2a28a1)=>{var _0x3f23fa=_0xfea5bc;for(var _0xbf3f34=_0x2a28a1>0x1?void 0x0:_0x2a28a1?Hs(_0x33d724,_0x444705):_0x33d724,_0x2d5f57=_0x5129d9[_0x3f23fa(0x28a)]-0x1,_0x2c0e11;_0x2d5f57>=0x0;_0x2d5f57--)(_0x2c0e11=_0x5129d9[_0x2d5f57])&&(_0xbf3f34=(_0x2a28a1?_0x2c0e11(_0x33d724,_0x444705,_0xbf3f34):_0x2c0e11(_0xbf3f34))||_0xbf3f34);return _0x2a28a1&&_0xbf3f34&&$s(_0x33d724,_0x444705,_0xbf3f34),_0xbf3f34;},Zt=(_0x2b41f0,_0x4b6f58)=>(_0x5a26c3,_0x3bcd05)=>_0x4b6f58(_0x5a26c3,_0x3bcd05,_0x2b41f0);const wi=_0xfea5bc(0xba),js='/universer-api/authz';let yt=class extends _0x2d0e8b{constructor(_0x1b53fd,_0x5e4e27){super(),this['_HTTPService']=_0x1b53fd,this['_configService']=_0x5e4e27,this['_initMergeInterceptor']();}[_0xfea5bc(0x27c)](){var _0x488710=_0xfea5bc;const _0x4ce172=this;this['disposeWithMe'](this[_0x488710(0x357)][_0x488710(0x92)]({'priority':0x3e7,'interceptor':_0x3a4587({'isMatch'(_0x266db8){var _0x539b89=_0x488710,_0x5ba329;if(_0x266db8[_0x539b89(0xca)]==='POST'&&((_0x5ba329=_0x266db8[_0x539b89(0x123)])!=null&&_0x5ba329['body'])){const {objectID:_0x55e703,objectType:_0x9b3dfd}=_0x266db8[_0x539b89(0x123)][_0x539b89(0x205)]||{};if(!_0x55e703||_0x9b3dfd===void 0x0)return!0x1;const _0x54c745=_0x4ce172[_0x539b89(0x79)]()+'/'+_0x9b3dfd+_0x539b89(0x360)+_0x55e703+'/allowed';if(_0x266db8['url']===_0x54c745)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2f09ee){var _0x363d39=_0x488710,_0x5c4991;return(_0x5c4991=_0x2f09ee[_0x363d39(0x123)])==null?void 0x0:_0x5c4991[_0x363d39(0x205)];},'mergeParamsToRequest'(_0x26368d,_0x521b2d){var _0x471949=_0x488710;const _0x1c55a6=_0x4ce172['_getAPIPrefixPath']()+_0x471949(0xcd),_0x2b2b58=_0x26368d[_0x471949(0x1a9)]((_0x43c537,_0x14f23c)=>{var _0x10c2e3=_0x471949;const {unitID:_0x1e6e2b,objectID:_0x152a6f,objectType:_0x245afa,actions:_0xcd04d6}=_0x14f23c;return _0x43c537[_0x1e6e2b]||(_0x43c537[_0x1e6e2b]={}),_0x43c537[_0x1e6e2b][_0x152a6f]||(_0x43c537[_0x1e6e2b][_0x152a6f]={'objectID':_0x152a6f,'objectType':_0x245afa,'actions':[]}),_0x43c537[_0x1e6e2b][_0x152a6f]['actions'][_0x10c2e3(0x2d0)](..._0xcd04d6),_0x43c537;},{}),_0x24c032=[];for(const _0x3ff165 in _0x2b2b58)for(const _0xac59a6 in _0x2b2b58[_0x3ff165]){const {actions:_0x1fe5e6,objectType:_0x11f262}=_0x2b2b58[_0x3ff165][_0xac59a6],_0x58b8e3=[...new Set(_0x1fe5e6)];_0x24c032[_0x471949(0x2d0)]({'unitID':_0x3ff165,'objectID':_0xac59a6,'objectType':_0x11f262,'actions':_0x58b8e3});}return new _0x230d9d(_0x471949(0xea),_0x1c55a6,{'headers':_0x521b2d['headers'],'withCredentials':_0x521b2d[_0x471949(0x95)],'responseType':_0x521b2d['responseType'],'body':{'requests':_0x24c032}});}},{'distributeResult'(_0x1e233a,_0x3c6b63){var _0x6f1cd5=_0x488710;const {objectActions:_0x5302ff}=_0x1e233a;return _0x3c6b63[_0x6f1cd5(0x22e)](_0x4eca04=>{var _0x5cb2df=_0x6f1cd5;const {unitID:_0x373605,objectID:_0x4aca6d,actions:_0x3209c7}=_0x4eca04,_0x5452ca=_0x5302ff[_0x5cb2df(0x1a5)](_0x16f091=>_0x16f091['unitID']===_0x373605&&_0x16f091[_0x5cb2df(0x32b)]===_0x4aca6d),_0x1f0fea=_0x3209c7[_0x5cb2df(0x22e)](_0x41b1aa=>_0x5452ca==null?void 0x0:_0x5452ca[_0x5cb2df(0xaa)]['find'](_0x3889f1=>_0x3889f1[_0x5cb2df(0xf5)]===_0x41b1aa))[_0x5cb2df(0x281)](_0x48a694=>!!_0x48a694);return{'config':_0x4eca04,'result':{'actions':_0x1f0fea,'error':_0x1e233a[_0x5cb2df(0x36e)]}};});}})}));}[_0xfea5bc(0x79)](){var _0x24e1c1=_0xfea5bc,_0x17e81a,_0x27fc3b;const _0x537ed0=this['_configService'][_0x24e1c1(0x30a)](wi),_0x3fa524=this[_0x24e1c1(0x132)]['getConfig'](Y);return(_0x27fc3b=(_0x17e81a=_0x3fa524==null?void 0x0:_0x3fa524['authzUrl'])!=null?_0x17e81a:_0x537ed0)!=null?_0x27fc3b:js;}async[_0xfea5bc(0xa9)](_0x4fef48){var _0x5c923f=_0xfea5bc;const _0x1d4570=this[_0x5c923f(0x79)]()+'/'+_0x4fef48['objectType']+_0x5c923f(0x204);return(await this[_0x5c923f(0x357)][_0x5c923f(0x18d)](_0x1d4570,{'body':_0x4fef48}))['body']['objectID']||'';}async[_0xfea5bc(0x31d)](_0x25e14c){var _0x3c52bb=_0xfea5bc;const _0x4f7af9=this[_0x3c52bb(0x79)]()+_0x3c52bb(0x10f);return(await this['_HTTPService'][_0x3c52bb(0x18d)](_0x4f7af9,{'body':_0x25e14c}))[_0x3c52bb(0x205)][_0x3c52bb(0x115)];}async[_0xfea5bc(0xc2)](_0xb0530d){var _0x24ac6a=_0xfea5bc;const _0x5a501c=this[_0x24ac6a(0x79)]()+'/'+_0xb0530d['objectType']+'/object/'+_0xb0530d[_0x24ac6a(0x32b)];await this[_0x24ac6a(0x357)][_0x24ac6a(0x1b7)](_0x5a501c,{'body':_0xb0530d});}async[_0xfea5bc(0x2f6)](_0x3469e5){var _0x46bd05=_0xfea5bc;const _0xd1a1da=this[_0x46bd05(0x79)]()+'/'+_0x3469e5[_0x46bd05(0x2a5)]+'/object/'+_0x3469e5[_0x46bd05(0x32b)]+'/allowed';return(await this[_0x46bd05(0x357)]['post'](_0xd1a1da,{'body':_0x3469e5}))[_0x46bd05(0x205)][_0x46bd05(0xaa)];}async[_0xfea5bc(0x343)](_0x4c460b){var _0x5e209e=_0xfea5bc;const _0xe94c93=this[_0x5e209e(0x79)]()+_0x5e209e(0xcd);return(await this[_0x5e209e(0x357)]['post'](_0xe94c93,{'body':{'requests':_0x4c460b}}))[_0x5e209e(0x205)][_0x5e209e(0x151)];}async[_0xfea5bc(0x114)](_0x1efe49){var _0x4eb678=_0xfea5bc;const _0x5d71a5=this[_0x4eb678(0x79)]()+'/'+_0x1efe49[_0x4eb678(0x2a5)]+'/role',_0x401493=await this['_HTTPService'][_0x4eb678(0x18d)](_0x5d71a5,{'body':_0x1efe49});return{'roles':_0x401493[_0x4eb678(0x205)][_0x4eb678(0x6d)],'actions':_0x401493[_0x4eb678(0x205)][_0x4eb678(0xaa)]};}async[_0xfea5bc(0x310)](_0x3b7c4a){var _0x1616f2=_0xfea5bc;const _0x2ff705=this[_0x1616f2(0x79)]()+_0x1616f2(0x2ff);await this[_0x1616f2(0x357)][_0x1616f2(0x237)](_0x2ff705,{'params':{'collaboratorID':_0x3b7c4a[_0x1616f2(0x24c)],'objectID':_0x3b7c4a['objectID'],'unitID':_0x3b7c4a[_0x1616f2(0x241)]}});}async[_0xfea5bc(0x15a)](_0x35e8b7){var _0x238606=_0xfea5bc;const _0xe626fa=this['_getAPIPrefixPath']()+_0x238606(0x2ff);await this[_0x238606(0x357)][_0x238606(0xd4)](_0xe626fa,{'body':_0x35e8b7});}async[_0xfea5bc(0x210)](_0x20a5c0){var _0x115995=_0xfea5bc;const _0x537bae=this['_getAPIPrefixPath']()+_0x115995(0x2ff);await this['_HTTPService'][_0x115995(0x18d)](_0x537bae,{'body':_0x20a5c0});}async[_0xfea5bc(0x7a)](_0x2a67bb){var _0x4e6c99=_0xfea5bc;const _0x42c4af=this[_0x4e6c99(0x79)]()+'/collaborator';return(await this[_0x4e6c99(0x357)][_0x4e6c99(0x1da)](_0x42c4af,{'params':{'objectID':_0x2a67bb[_0x4e6c99(0x32b)],'unitID':_0x2a67bb[_0x4e6c99(0x241)]}}))[_0x4e6c99(0x205)][_0x4e6c99(0x133)];}async[_0xfea5bc(0x15f)](_0x1043c5){var _0x1d8714=_0xfea5bc;const _0x45575f=this['_getAPIPrefixPath']()+_0x1d8714(0x2ff);await this[_0x1d8714(0x357)][_0x1d8714(0x1b7)](_0x45575f,{'body':_0x1043c5});}};yt=ks([Zt(0x0,_0x5d1423(_0x221528)),Zt(0x1,_0x5d1423(_0x39bec4))],yt);var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x2417af){var _0x1927ad=_0xfea5bc;return _0x2417af&&_0x2417af['__esModule']&&Object[_0x1927ad(0x1fe)]['hasOwnProperty'][_0x1927ad(0x18a)](_0x2417af,_0x1927ad(0x1af))?_0x2417af['default']:_0x2417af;}var We={'exports':{}};function Bs(_0x3caf0d){var _0x53c26f=_0xfea5bc;throw new Error(_0x53c26f(0x91)+_0x3caf0d+_0x53c26f(0x2ac));}var Ge={'exports':{}},Fs=Ge['exports'],Qt;function ne(){return Qt||(Qt=0x1,function(_0x118990,_0x46725f){(function(_0x3643ca,_0x39a8c2){var _0x4b6c06=_0xce85;_0x118990[_0x4b6c06(0x19a)]=_0x39a8c2();}(Fs,function(){var _0x571499=_0x571499||function(_0xd71550,_0x30962f){var _0xf6335d=_0xce85,_0xf0ebb9;if(typeof window<'u'&&window[_0xf6335d(0x31e)]&&(_0xf0ebb9=window[_0xf6335d(0x31e)]),typeof self<'u'&&self[_0xf6335d(0x31e)]&&(_0xf0ebb9=self[_0xf6335d(0x31e)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0xf0ebb9=globalThis[_0xf6335d(0x31e)]),!_0xf0ebb9&&typeof window<'u'&&window[_0xf6335d(0xb9)]&&(_0xf0ebb9=window['msCrypto']),!_0xf0ebb9&&typeof mt<'u'&&mt[_0xf6335d(0x31e)]&&(_0xf0ebb9=mt[_0xf6335d(0x31e)]),!_0xf0ebb9&&typeof Bs==_0xf6335d(0x129))try{_0xf0ebb9=require(_0xf6335d(0x31e));}catch{}var _0x43e747=function(){var _0x255d76=_0xf6335d;if(_0xf0ebb9){if(typeof _0xf0ebb9['getRandomValues']==_0x255d76(0x129))try{return _0xf0ebb9[_0x255d76(0x324)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xf0ebb9[_0x255d76(0x285)]==_0x255d76(0x129))try{return _0xf0ebb9['randomBytes'](0x4)[_0x255d76(0x9b)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x40145e=Object['create']||(function(){function _0x65ccec(){}return function(_0x28e4f1){var _0x4f54da=_0xce85,_0x55873b;return _0x65ccec[_0x4f54da(0x1fe)]=_0x28e4f1,_0x55873b=new _0x65ccec(),_0x65ccec[_0x4f54da(0x1fe)]=null,_0x55873b;};}()),_0x530820={},_0x1866c2=_0x530820[_0xf6335d(0x2d3)]={},_0x4b492c=_0x1866c2[_0xf6335d(0x8b)]=(function(){return{'extend':function(_0x3fc94d){var _0x27f604=_0xce85,_0x29bbee=_0x40145e(this);return _0x3fc94d&&_0x29bbee[_0x27f604(0x1c7)](_0x3fc94d),(!_0x29bbee[_0x27f604(0x198)]('init')||this['init']===_0x29bbee[_0x27f604(0x228)])&&(_0x29bbee[_0x27f604(0x228)]=function(){var _0x14495d=_0x27f604;_0x29bbee[_0x14495d(0x224)]['init'][_0x14495d(0xe2)](this,arguments);}),_0x29bbee['init'][_0x27f604(0x1fe)]=_0x29bbee,_0x29bbee[_0x27f604(0x224)]=this,_0x29bbee;},'create':function(){var _0x16ee35=_0xce85,_0x1709f2=this['extend']();return _0x1709f2[_0x16ee35(0x228)][_0x16ee35(0xe2)](_0x1709f2,arguments),_0x1709f2;},'init':function(){},'mixIn':function(_0x27b486){var _0x5d0894=_0xce85;for(var _0x34804b in _0x27b486)_0x27b486['hasOwnProperty'](_0x34804b)&&(this[_0x34804b]=_0x27b486[_0x34804b]);_0x27b486['hasOwnProperty']('toString')&&(this['toString']=_0x27b486[_0x5d0894(0x214)]);},'clone':function(){var _0x1a934b=_0xce85;return this[_0x1a934b(0x228)][_0x1a934b(0x1fe)][_0x1a934b(0x255)](this);}};}()),_0x8e9829=_0x1866c2[_0xf6335d(0xe4)]=_0x4b492c['extend']({'init':function(_0xfd0a9,_0x194bd2){var _0x598f1b=_0xf6335d;_0xfd0a9=this[_0x598f1b(0x134)]=_0xfd0a9||[],_0x194bd2!=_0x30962f?this[_0x598f1b(0x2f5)]=_0x194bd2:this[_0x598f1b(0x2f5)]=_0xfd0a9[_0x598f1b(0x28a)]*0x4;},'toString':function(_0x3fe5ae){return(_0x3fe5ae||_0x1b5f05)['stringify'](this);},'concat':function(_0x6030af){var _0x524688=_0xf6335d,_0x5d8fa7=this[_0x524688(0x134)],_0x54608=_0x6030af[_0x524688(0x134)],_0x35d7a1=this['sigBytes'],_0x3858d2=_0x6030af[_0x524688(0x2f5)];if(this[_0x524688(0x220)](),_0x35d7a1%0x4)for(var _0x1a7d05=0x0;_0x1a7d05<_0x3858d2;_0x1a7d05++){var _0x1e43dd=_0x54608[_0x1a7d05>>>0x2]>>>0x18-_0x1a7d05%0x4*0x8&0xff;_0x5d8fa7[_0x35d7a1+_0x1a7d05>>>0x2]|=_0x1e43dd<<0x18-(_0x35d7a1+_0x1a7d05)%0x4*0x8;}else{for(var _0x3fbd91=0x0;_0x3fbd91<_0x3858d2;_0x3fbd91+=0x4)_0x5d8fa7[_0x35d7a1+_0x3fbd91>>>0x2]=_0x54608[_0x3fbd91>>>0x2];}return this[_0x524688(0x2f5)]+=_0x3858d2,this;},'clamp':function(){var _0x5d8f4a=_0xf6335d,_0x3bcd24=this[_0x5d8f4a(0x134)],_0xd42372=this[_0x5d8f4a(0x2f5)];_0x3bcd24[_0xd42372>>>0x2]&=0xffffffff<<0x20-_0xd42372%0x4*0x8,_0x3bcd24[_0x5d8f4a(0x28a)]=_0xd71550['ceil'](_0xd42372/0x4);},'clone':function(){var _0x3eff03=_0xf6335d,_0x1acaba=_0x4b492c['clone'][_0x3eff03(0x18a)](this);return _0x1acaba['words']=this[_0x3eff03(0x134)][_0x3eff03(0x7e)](0x0),_0x1acaba;},'random':function(_0x5246b4){var _0x4328a1=_0xf6335d;for(var _0x465253=[],_0x1feddb=0x0;_0x1feddb<_0x5246b4;_0x1feddb+=0x4)_0x465253[_0x4328a1(0x2d0)](_0x43e747());return new _0x8e9829[(_0x4328a1(0x228))](_0x465253,_0x5246b4);}}),_0x2c0f74=_0x530820['enc']={},_0x1b5f05=_0x2c0f74[_0xf6335d(0x159)]={'stringify':function(_0x3875d4){var _0x138d13=_0xf6335d;for(var _0x15821e=_0x3875d4[_0x138d13(0x134)],_0x5deadc=_0x3875d4[_0x138d13(0x2f5)],_0x21cf9a=[],_0x2f6f13=0x0;_0x2f6f13<_0x5deadc;_0x2f6f13++){var _0x1de80b=_0x15821e[_0x2f6f13>>>0x2]>>>0x18-_0x2f6f13%0x4*0x8&0xff;_0x21cf9a[_0x138d13(0x2d0)]((_0x1de80b>>>0x4)[_0x138d13(0x214)](0x10)),_0x21cf9a[_0x138d13(0x2d0)]((_0x1de80b&0xf)[_0x138d13(0x214)](0x10));}return _0x21cf9a[_0x138d13(0x111)]('');},'parse':function(_0x35f678){var _0x207712=_0xf6335d;for(var _0x6e514a=_0x35f678[_0x207712(0x28a)],_0x30ec62=[],_0x1f44d0=0x0;_0x1f44d0<_0x6e514a;_0x1f44d0+=0x2)_0x30ec62[_0x1f44d0>>>0x3]|=parseInt(_0x35f678[_0x207712(0x18b)](_0x1f44d0,0x2),0x10)<<0x18-_0x1f44d0%0x8*0x4;return new _0x8e9829['init'](_0x30ec62,_0x6e514a/0x2);}},_0x54dcb5=_0x2c0f74[_0xf6335d(0xd0)]={'stringify':function(_0x5ecefa){var _0x48d279=_0xf6335d;for(var _0x4540ab=_0x5ecefa[_0x48d279(0x134)],_0x53d1d9=_0x5ecefa[_0x48d279(0x2f5)],_0x2e1d01=[],_0x8dde7e=0x0;_0x8dde7e<_0x53d1d9;_0x8dde7e++){var _0x242022=_0x4540ab[_0x8dde7e>>>0x2]>>>0x18-_0x8dde7e%0x4*0x8&0xff;_0x2e1d01[_0x48d279(0x2d0)](String[_0x48d279(0x25b)](_0x242022));}return _0x2e1d01[_0x48d279(0x111)]('');},'parse':function(_0x3c9c48){var _0x14977f=_0xf6335d;for(var _0x268544=_0x3c9c48[_0x14977f(0x28a)],_0x3461d8=[],_0x44b1ce=0x0;_0x44b1ce<_0x268544;_0x44b1ce++)_0x3461d8[_0x44b1ce>>>0x2]|=(_0x3c9c48['charCodeAt'](_0x44b1ce)&0xff)<<0x18-_0x44b1ce%0x4*0x8;return new _0x8e9829[(_0x14977f(0x228))](_0x3461d8,_0x268544);}},_0x26bd67=_0x2c0f74[_0xf6335d(0xbf)]={'stringify':function(_0x4ab695){var _0x4cf03e=_0xf6335d;try{return decodeURIComponent(escape(_0x54dcb5[_0x4cf03e(0x305)](_0x4ab695)));}catch{throw new Error(_0x4cf03e(0x202));}},'parse':function(_0x10c384){var _0x3e9e2c=_0xf6335d;return _0x54dcb5[_0x3e9e2c(0x2cb)](unescape(encodeURIComponent(_0x10c384)));}},_0x412e56=_0x1866c2[_0xf6335d(0x2f3)]=_0x4b492c[_0xf6335d(0x255)]({'reset':function(){var _0x3a481e=_0xf6335d;this[_0x3a481e(0x2bf)]=new _0x8e9829[(_0x3a481e(0x228))](),this[_0x3a481e(0x248)]=0x0;},'_append':function(_0x531fb3){var _0x5aa79e=_0xf6335d;typeof _0x531fb3==_0x5aa79e(0xd9)&&(_0x531fb3=_0x26bd67[_0x5aa79e(0x2cb)](_0x531fb3)),this['_data'][_0x5aa79e(0x70)](_0x531fb3),this[_0x5aa79e(0x248)]+=_0x531fb3['sigBytes'];},'_process':function(_0x588c70){var _0xaec2e8=_0xf6335d,_0x1efedd,_0xdc9b38=this[_0xaec2e8(0x2bf)],_0x5aa407=_0xdc9b38[_0xaec2e8(0x134)],_0x13db2a=_0xdc9b38['sigBytes'],_0xe20fba=this[_0xaec2e8(0x2e4)],_0x1aefae=_0xe20fba*0x4,_0x40ac69=_0x13db2a/_0x1aefae;_0x588c70?_0x40ac69=_0xd71550[_0xaec2e8(0x11a)](_0x40ac69):_0x40ac69=_0xd71550[_0xaec2e8(0x364)]((_0x40ac69|0x0)-this['_minBufferSize'],0x0);var _0x327f2d=_0x40ac69*_0xe20fba,_0x390f75=_0xd71550[_0xaec2e8(0x2b2)](_0x327f2d*0x4,_0x13db2a);if(_0x327f2d){for(var _0x2beb90=0x0;_0x2beb90<_0x327f2d;_0x2beb90+=_0xe20fba)this[_0xaec2e8(0xb0)](_0x5aa407,_0x2beb90);_0x1efedd=_0x5aa407['splice'](0x0,_0x327f2d),_0xdc9b38[_0xaec2e8(0x2f5)]-=_0x390f75;}return new _0x8e9829['init'](_0x1efedd,_0x390f75);},'clone':function(){var _0x110af9=_0xf6335d,_0x535753=_0x4b492c[_0x110af9(0x28e)][_0x110af9(0x18a)](this);return _0x535753[_0x110af9(0x2bf)]=this['_data'][_0x110af9(0x28e)](),_0x535753;},'_minBufferSize':0x0});_0x1866c2[_0xf6335d(0x276)]=_0x412e56['extend']({'cfg':_0x4b492c['extend'](),'init':function(_0x461809){var _0x52c55d=_0xf6335d;this['cfg']=this[_0x52c55d(0x369)][_0x52c55d(0x255)](_0x461809),this['reset']();},'reset':function(){var _0x3169dd=_0xf6335d;_0x412e56[_0x3169dd(0x279)][_0x3169dd(0x18a)](this),this[_0x3169dd(0xfb)]();},'update':function(_0x15aa4b){var _0x8d5b9d=_0xf6335d;return this[_0x8d5b9d(0x327)](_0x15aa4b),this['_process'](),this;},'finalize':function(_0x57346f){var _0x13fbd9=_0xf6335d;_0x57346f&&this['_append'](_0x57346f);var _0x4c0c1d=this[_0x13fbd9(0x20e)]();return _0x4c0c1d;},'blockSize':0x10,'_createHelper':function(_0x5c60c7){return function(_0x5153b0,_0xb88d29){var _0x3a9fe1=_0xce85;return new _0x5c60c7['init'](_0xb88d29)[_0x3a9fe1(0x77)](_0x5153b0);};},'_createHmacHelper':function(_0x3bd2ae){return function(_0x1e060e,_0x4d4eeb){var _0x2bc742=_0xce85;return new _0x5e5b77[(_0x2bc742(0x2e2))][(_0x2bc742(0x228))](_0x3bd2ae,_0x4d4eeb)[_0x2bc742(0x77)](_0x1e060e);};}});var _0x5e5b77=_0x530820[_0xf6335d(0x2cc)]={};return _0x530820;}(Math);return _0x571499;}));}(Ge)),Ge['exports'];}var Ke={'exports':{}},Vs=Ke[_0xfea5bc(0x19a)],ei;function Ui(){return ei||(ei=0x1,function(_0x5d4690,_0x332e1d){(function(_0x239e09,_0x8d10ba){var _0x7b0f55=_0xce85;_0x5d4690[_0x7b0f55(0x19a)]=_0x8d10ba(ne());}(Vs,function(_0x57acee){var _0x47e08c=_0xce85;return(function(){var _0x46f693=_0xce85,_0x566505=_0x57acee,_0x39048d=_0x566505[_0x46f693(0x2d3)],_0xee6dee=_0x39048d[_0x46f693(0xe4)],_0x37b0f6=_0x566505['enc'];_0x37b0f6[_0x46f693(0x213)]={'stringify':function(_0x57707e){var _0x350470=_0x46f693,_0x478605=_0x57707e[_0x350470(0x134)],_0x1064df=_0x57707e[_0x350470(0x2f5)],_0x220ad2=this[_0x350470(0x2c0)];_0x57707e[_0x350470(0x220)]();for(var _0x592284=[],_0x36aa48=0x0;_0x36aa48<_0x1064df;_0x36aa48+=0x3)for(var _0x5d60af=_0x478605[_0x36aa48>>>0x2]>>>0x18-_0x36aa48%0x4*0x8&0xff,_0x1b4f5b=_0x478605[_0x36aa48+0x1>>>0x2]>>>0x18-(_0x36aa48+0x1)%0x4*0x8&0xff,_0x1622a9=_0x478605[_0x36aa48+0x2>>>0x2]>>>0x18-(_0x36aa48+0x2)%0x4*0x8&0xff,_0x56991f=_0x5d60af<<0x10|_0x1b4f5b<<0x8|_0x1622a9,_0x394d83=0x0;_0x394d83<0x4&&_0x36aa48+_0x394d83*0.75<_0x1064df;_0x394d83++)_0x592284['push'](_0x220ad2['charAt'](_0x56991f>>>0x6*(0x3-_0x394d83)&0x3f));var _0x415443=_0x220ad2[_0x350470(0x96)](0x40);if(_0x415443){for(;_0x592284[_0x350470(0x28a)]%0x4;)_0x592284[_0x350470(0x2d0)](_0x415443);}return _0x592284['join']('');},'parse':function(_0x3b8e1e){var _0x5dc3c8=_0x46f693,_0x290a99=_0x3b8e1e[_0x5dc3c8(0x28a)],_0x3011b1=this[_0x5dc3c8(0x2c0)],_0x41340f=this[_0x5dc3c8(0x372)];if(!_0x41340f){_0x41340f=this['_reverseMap']=[];for(var _0x93e068=0x0;_0x93e068<_0x3011b1['length'];_0x93e068++)_0x41340f[_0x3011b1[_0x5dc3c8(0x2f1)](_0x93e068)]=_0x93e068;}var _0x50cfae=_0x3011b1[_0x5dc3c8(0x96)](0x40);if(_0x50cfae){var _0x485b04=_0x3b8e1e[_0x5dc3c8(0x1fd)](_0x50cfae);_0x485b04!==-0x1&&(_0x290a99=_0x485b04);}return _0x1ec748(_0x3b8e1e,_0x290a99,_0x41340f);},'_map':_0x46f693(0x113)};function _0x1ec748(_0x484b2,_0x28b104,_0x485b79){var _0x2e5e39=_0x46f693;for(var _0x5f2444=[],_0x19839c=0x0,_0x4def08=0x0;_0x4def08<_0x28b104;_0x4def08++)if(_0x4def08%0x4){var _0x4ab642=_0x485b79[_0x484b2['charCodeAt'](_0x4def08-0x1)]<<_0x4def08%0x4*0x2,_0x45048a=_0x485b79[_0x484b2[_0x2e5e39(0x2f1)](_0x4def08)]>>>0x6-_0x4def08%0x4*0x2,_0x570e3e=_0x4ab642|_0x45048a;_0x5f2444[_0x19839c>>>0x2]|=_0x570e3e<<0x18-_0x19839c%0x4*0x8,_0x19839c++;}return _0xee6dee['create'](_0x5f2444,_0x19839c);}}()),_0x57acee[_0x47e08c(0x110)][_0x47e08c(0x213)];}));}(Ke)),Ke['exports'];}var ze={'exports':{}},Ws=ze['exports'],ti;function Gs(){var _0x1687a3=_0xfea5bc;return ti||(ti=0x1,function(_0x5e1a1a,_0x3fe7fe){(function(_0x4bbac6,_0x1b1430){_0x5e1a1a['exports']=_0x1b1430(ne());}(Ws,function(_0x1f75af){var _0x300c8c=_0xce85;return function(_0x3686a7){var _0x3ce4c0=_0xce85,_0x31b37b=_0x1f75af,_0x529835=_0x31b37b['lib'],_0x2c103c=_0x529835[_0x3ce4c0(0xe4)],_0x23b4dd=_0x529835[_0x3ce4c0(0x276)],_0x1d2556=_0x31b37b['algo'],_0x57c854=[];(function(){var _0x323279=_0x3ce4c0;for(var _0x388ddb=0x0;_0x388ddb<0x40;_0x388ddb++)_0x57c854[_0x388ddb]=_0x3686a7[_0x323279(0xcc)](_0x3686a7['sin'](_0x388ddb+0x1))*0x100000000|0x0;}());var _0x59073b=_0x1d2556[_0x3ce4c0(0x2b5)]=_0x23b4dd[_0x3ce4c0(0x255)]({'_doReset':function(){var _0x18e8c2=_0x3ce4c0;this[_0x18e8c2(0x22a)]=new _0x2c103c[(_0x18e8c2(0x228))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x42a980,_0x2833f1){var _0x34a8dd=_0x3ce4c0;for(var _0x3a24d4=0x0;_0x3a24d4<0x10;_0x3a24d4++){var _0x488b44=_0x2833f1+_0x3a24d4,_0x4f2dd3=_0x42a980[_0x488b44];_0x42a980[_0x488b44]=(_0x4f2dd3<<0x8|_0x4f2dd3>>>0x18)&0xff00ff|(_0x4f2dd3<<0x18|_0x4f2dd3>>>0x8)&0xff00ff00;}var _0x31ac3b=this[_0x34a8dd(0x22a)][_0x34a8dd(0x134)],_0x3d9178=_0x42a980[_0x2833f1+0x0],_0x5c5d41=_0x42a980[_0x2833f1+0x1],_0xfeb3cb=_0x42a980[_0x2833f1+0x2],_0x1dc953=_0x42a980[_0x2833f1+0x3],_0x592e6b=_0x42a980[_0x2833f1+0x4],_0x902e89=_0x42a980[_0x2833f1+0x5],_0x40d063=_0x42a980[_0x2833f1+0x6],_0x1b316e=_0x42a980[_0x2833f1+0x7],_0x74e2d4=_0x42a980[_0x2833f1+0x8],_0x41a942=_0x42a980[_0x2833f1+0x9],_0x278b59=_0x42a980[_0x2833f1+0xa],_0x550363=_0x42a980[_0x2833f1+0xb],_0x26f517=_0x42a980[_0x2833f1+0xc],_0x3f3a25=_0x42a980[_0x2833f1+0xd],_0x10cf0a=_0x42a980[_0x2833f1+0xe],_0x1f781a=_0x42a980[_0x2833f1+0xf],_0x641ca9=_0x31ac3b[0x0],_0x5d04f3=_0x31ac3b[0x1],_0x38673a=_0x31ac3b[0x2],_0x50a8b6=_0x31ac3b[0x3];_0x641ca9=_0x47615f(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x3d9178,0x7,_0x57c854[0x0]),_0x50a8b6=_0x47615f(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x5c5d41,0xc,_0x57c854[0x1]),_0x38673a=_0x47615f(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0xfeb3cb,0x11,_0x57c854[0x2]),_0x5d04f3=_0x47615f(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x1dc953,0x16,_0x57c854[0x3]),_0x641ca9=_0x47615f(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x592e6b,0x7,_0x57c854[0x4]),_0x50a8b6=_0x47615f(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x902e89,0xc,_0x57c854[0x5]),_0x38673a=_0x47615f(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x40d063,0x11,_0x57c854[0x6]),_0x5d04f3=_0x47615f(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x1b316e,0x16,_0x57c854[0x7]),_0x641ca9=_0x47615f(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x74e2d4,0x7,_0x57c854[0x8]),_0x50a8b6=_0x47615f(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x41a942,0xc,_0x57c854[0x9]),_0x38673a=_0x47615f(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x278b59,0x11,_0x57c854[0xa]),_0x5d04f3=_0x47615f(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x550363,0x16,_0x57c854[0xb]),_0x641ca9=_0x47615f(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x26f517,0x7,_0x57c854[0xc]),_0x50a8b6=_0x47615f(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x3f3a25,0xc,_0x57c854[0xd]),_0x38673a=_0x47615f(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x10cf0a,0x11,_0x57c854[0xe]),_0x5d04f3=_0x47615f(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x1f781a,0x16,_0x57c854[0xf]),_0x641ca9=_0x32a68d(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x5c5d41,0x5,_0x57c854[0x10]),_0x50a8b6=_0x32a68d(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x40d063,0x9,_0x57c854[0x11]),_0x38673a=_0x32a68d(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x550363,0xe,_0x57c854[0x12]),_0x5d04f3=_0x32a68d(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x3d9178,0x14,_0x57c854[0x13]),_0x641ca9=_0x32a68d(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x902e89,0x5,_0x57c854[0x14]),_0x50a8b6=_0x32a68d(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x278b59,0x9,_0x57c854[0x15]),_0x38673a=_0x32a68d(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x1f781a,0xe,_0x57c854[0x16]),_0x5d04f3=_0x32a68d(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x592e6b,0x14,_0x57c854[0x17]),_0x641ca9=_0x32a68d(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x41a942,0x5,_0x57c854[0x18]),_0x50a8b6=_0x32a68d(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x10cf0a,0x9,_0x57c854[0x19]),_0x38673a=_0x32a68d(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x1dc953,0xe,_0x57c854[0x1a]),_0x5d04f3=_0x32a68d(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x74e2d4,0x14,_0x57c854[0x1b]),_0x641ca9=_0x32a68d(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x3f3a25,0x5,_0x57c854[0x1c]),_0x50a8b6=_0x32a68d(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0xfeb3cb,0x9,_0x57c854[0x1d]),_0x38673a=_0x32a68d(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x1b316e,0xe,_0x57c854[0x1e]),_0x5d04f3=_0x32a68d(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x26f517,0x14,_0x57c854[0x1f]),_0x641ca9=_0x2dc9fc(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x902e89,0x4,_0x57c854[0x20]),_0x50a8b6=_0x2dc9fc(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x74e2d4,0xb,_0x57c854[0x21]),_0x38673a=_0x2dc9fc(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x550363,0x10,_0x57c854[0x22]),_0x5d04f3=_0x2dc9fc(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x10cf0a,0x17,_0x57c854[0x23]),_0x641ca9=_0x2dc9fc(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x5c5d41,0x4,_0x57c854[0x24]),_0x50a8b6=_0x2dc9fc(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x592e6b,0xb,_0x57c854[0x25]),_0x38673a=_0x2dc9fc(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x1b316e,0x10,_0x57c854[0x26]),_0x5d04f3=_0x2dc9fc(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x278b59,0x17,_0x57c854[0x27]),_0x641ca9=_0x2dc9fc(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x3f3a25,0x4,_0x57c854[0x28]),_0x50a8b6=_0x2dc9fc(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x3d9178,0xb,_0x57c854[0x29]),_0x38673a=_0x2dc9fc(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x1dc953,0x10,_0x57c854[0x2a]),_0x5d04f3=_0x2dc9fc(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x40d063,0x17,_0x57c854[0x2b]),_0x641ca9=_0x2dc9fc(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x41a942,0x4,_0x57c854[0x2c]),_0x50a8b6=_0x2dc9fc(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x26f517,0xb,_0x57c854[0x2d]),_0x38673a=_0x2dc9fc(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x1f781a,0x10,_0x57c854[0x2e]),_0x5d04f3=_0x2dc9fc(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0xfeb3cb,0x17,_0x57c854[0x2f]),_0x641ca9=_0x2fea27(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x3d9178,0x6,_0x57c854[0x30]),_0x50a8b6=_0x2fea27(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x1b316e,0xa,_0x57c854[0x31]),_0x38673a=_0x2fea27(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x10cf0a,0xf,_0x57c854[0x32]),_0x5d04f3=_0x2fea27(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x902e89,0x15,_0x57c854[0x33]),_0x641ca9=_0x2fea27(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x26f517,0x6,_0x57c854[0x34]),_0x50a8b6=_0x2fea27(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x1dc953,0xa,_0x57c854[0x35]),_0x38673a=_0x2fea27(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x278b59,0xf,_0x57c854[0x36]),_0x5d04f3=_0x2fea27(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x5c5d41,0x15,_0x57c854[0x37]),_0x641ca9=_0x2fea27(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x74e2d4,0x6,_0x57c854[0x38]),_0x50a8b6=_0x2fea27(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x1f781a,0xa,_0x57c854[0x39]),_0x38673a=_0x2fea27(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x40d063,0xf,_0x57c854[0x3a]),_0x5d04f3=_0x2fea27(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x3f3a25,0x15,_0x57c854[0x3b]),_0x641ca9=_0x2fea27(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x592e6b,0x6,_0x57c854[0x3c]),_0x50a8b6=_0x2fea27(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x550363,0xa,_0x57c854[0x3d]),_0x38673a=_0x2fea27(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0xfeb3cb,0xf,_0x57c854[0x3e]),_0x5d04f3=_0x2fea27(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x41a942,0x15,_0x57c854[0x3f]),_0x31ac3b[0x0]=_0x31ac3b[0x0]+_0x641ca9|0x0,_0x31ac3b[0x1]=_0x31ac3b[0x1]+_0x5d04f3|0x0,_0x31ac3b[0x2]=_0x31ac3b[0x2]+_0x38673a|0x0,_0x31ac3b[0x3]=_0x31ac3b[0x3]+_0x50a8b6|0x0;},'_doFinalize':function(){var _0x1bf80c=_0x3ce4c0,_0x3dd3f7=this[_0x1bf80c(0x2bf)],_0x2cf89c=_0x3dd3f7[_0x1bf80c(0x134)],_0x996db0=this[_0x1bf80c(0x248)]*0x8,_0xe75b5=_0x3dd3f7[_0x1bf80c(0x2f5)]*0x8;_0x2cf89c[_0xe75b5>>>0x5]|=0x80<<0x18-_0xe75b5%0x20;var _0x1936a2=_0x3686a7['floor'](_0x996db0/0x100000000),_0x4dbcd9=_0x996db0;_0x2cf89c[(_0xe75b5+0x40>>>0x9<<0x4)+0xf]=(_0x1936a2<<0x8|_0x1936a2>>>0x18)&0xff00ff|(_0x1936a2<<0x18|_0x1936a2>>>0x8)&0xff00ff00,_0x2cf89c[(_0xe75b5+0x40>>>0x9<<0x4)+0xe]=(_0x4dbcd9<<0x8|_0x4dbcd9>>>0x18)&0xff00ff|(_0x4dbcd9<<0x18|_0x4dbcd9>>>0x8)&0xff00ff00,_0x3dd3f7[_0x1bf80c(0x2f5)]=(_0x2cf89c['length']+0x1)*0x4,this[_0x1bf80c(0xa3)]();for(var _0x146db0=this[_0x1bf80c(0x22a)],_0x3269a2=_0x146db0[_0x1bf80c(0x134)],_0x5a1f3d=0x0;_0x5a1f3d<0x4;_0x5a1f3d++){var _0x437c3b=_0x3269a2[_0x5a1f3d];_0x3269a2[_0x5a1f3d]=(_0x437c3b<<0x8|_0x437c3b>>>0x18)&0xff00ff|(_0x437c3b<<0x18|_0x437c3b>>>0x8)&0xff00ff00;}return _0x146db0;},'clone':function(){var _0x10b470=_0x3ce4c0,_0x18948a=_0x23b4dd[_0x10b470(0x28e)][_0x10b470(0x18a)](this);return _0x18948a['_hash']=this[_0x10b470(0x22a)]['clone'](),_0x18948a;}});function _0x47615f(_0x463f60,_0x5a9204,_0x10cb31,_0x51e519,_0x1d9c8d,_0xd3d5a9,_0x3e054a){var _0x2359df=_0x463f60+(_0x5a9204&_0x10cb31|~_0x5a9204&_0x51e519)+_0x1d9c8d+_0x3e054a;return(_0x2359df<<_0xd3d5a9|_0x2359df>>>0x20-_0xd3d5a9)+_0x5a9204;}function _0x32a68d(_0x46ecf0,_0x31e207,_0x9ae0a9,_0x23e9ff,_0x16700a,_0x310899,_0x574eda){var _0x2e0a70=_0x46ecf0+(_0x31e207&_0x23e9ff|_0x9ae0a9&~_0x23e9ff)+_0x16700a+_0x574eda;return(_0x2e0a70<<_0x310899|_0x2e0a70>>>0x20-_0x310899)+_0x31e207;}function _0x2dc9fc(_0x2666e0,_0xc7189e,_0x4c119b,_0x10012d,_0x14239e,_0x717b92,_0x25157f){var _0x15ec4e=_0x2666e0+(_0xc7189e^_0x4c119b^_0x10012d)+_0x14239e+_0x25157f;return(_0x15ec4e<<_0x717b92|_0x15ec4e>>>0x20-_0x717b92)+_0xc7189e;}function _0x2fea27(_0x443bf5,_0x4ee179,_0x2f590a,_0x2d7169,_0x17b351,_0x33f841,_0x4ac0b1){var _0x212b98=_0x443bf5+(_0x2f590a^(_0x4ee179|~_0x2d7169))+_0x17b351+_0x4ac0b1;return(_0x212b98<<_0x33f841|_0x212b98>>>0x20-_0x33f841)+_0x4ee179;}_0x31b37b[_0x3ce4c0(0x2b5)]=_0x23b4dd['_createHelper'](_0x59073b),_0x31b37b[_0x3ce4c0(0x2a8)]=_0x23b4dd[_0x3ce4c0(0x300)](_0x59073b);}(Math),_0x1f75af[_0x300c8c(0x2b5)];}));}(ze)),ze[_0x1687a3(0x19a)];}function _0x10d2(){var _0x46a4de=['allowed','_compressMutationService','complete','_telemetryInfo','MSG_FOR_ERROR','_univerInstanceService','_xformMode','_networkConditionService','uniscriptRunEvent','/collaborator','_createHmacHelper','awaiting_with_pending','getWorkbookSelections','unitId\x20is\x20not\x20found','_onLocalMutation','stringify','createInstance','search','createDecryptor','createEncryptor','getConfig','_unitInfo$','LIVESHARE_FETCH_OPERATIONS','_getSignURL','saveSheetBlock','getOwnPropertyDescriptor','deleteCollaborator','onTransformState','/universer-api/oidc/authpage','_http','SUCCUSS','findIndex','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','USERS_ENTER','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','CipherParams','HttpExport','setShowComponents','getMemberID','list','crypto','/universer-api/file/{fileID}/sign-url','online$','_tryEnsureSocket','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_candidateSocket','getRandomValues','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','enableAuthServer','_append','mode','PERMISSION_DENIED','type','objectID','OFFLINE','_iv','_authzIoService','session','override','readyForCollab','url','symbol','_onConflict','_acknowledgedAwaitingChangeset','_transformIMECache','UNDEFINED','_disableEditing','onTransformRemoteChangesetByStateCache','sessionStatus','synced','SNAPSHOT_SERVER_URL_KEY','getUnitId','dispose','_oKey','getRoom','\x20-\x20','socket\x20close','batchAllowed','410588ERWPHn','CHANGESET_REJ','_incrementRevisionNumber','\x0aAfter:\x20','now','_checkMissing','_tryReconnect','_onJoinRoomEvent','clearUndoRedo','_sender','_createInitialState','_unlockTransition','_httpService','disposeWithMe','_showConflictNotification','_onConnectionOpen','onSendChangeset','[CollaborationState]:\x20apply\x20error!','shouldCloseConn','_HTTPService','getCurrentSelections','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_startCollaboration','_retryConnectingTimer','_queuedRemoteChangesets','dispose$','session.room-not-exists','_onUserJoin','/object/','workbook','LIVESHARE_NEW_HOST','copyFileMeta','max','getCollabEntity$','RECV','interceptor','_stopTelemetryCollaborationNewChangeset','cfg','image/bmp','getPermissionPoint','_commentService','_joinRoom','error','status$','encodeURIComponent','UNISCRIPT_RUN','_reverseMap','LICENSE_IMPORT_SIZE_EXCEEDED','transformUndoRedo','COMPLETION_FINISHED','_handlerCallback','onTransformSelections','roles','onMissingChangesets','LEAVE','concat','waitForRoom$','setWaitCount','JOIN_ROOM_PERMISSION_DENIED','121800PwjoQQ','socket\x20open.','getTargetByPermissionId','finalize','getUnitType','_getAPIPrefixPath','listCollaborators','authzUrl','_socketService','Pkcs7','slice','pipe','subject','_transformSelections','then','csShouldRetryEvent','startsWith','_updateStatus','onRemoteAck','sessionTicket','JOIN','SOCKET_FAILED_RETRY','roomInfos','Base','YUUMI_URL_COL_OUT_OF_RANGE','_getAPIPrefix','updateOfflineData','_createHandler','closeSession','Could\x20not\x20dynamically\x20require\x20\x22','registerHTTPInterceptor','close','_telemetryService','withCredentials','charAt','_createSocket','compute','floor','_instanceService','readInt32LE','deepClone','JOIN_ROOM_FAILED','[OfflineState]:\x20received\x20changeset.','routeKey','[PendingState]:\x20unhandled\x20univer\x20type:\x20','transformChangesets','userID','_process','_decreaseWaiting','_logService','OTHER_CLIENT_EDITING','transformMutationsWithChangeset','getSheetBlock','create','actions','pad','getValue','getTime','15WCgpFO','1307250fHTvXm','_doProcessBlock','stopTime','every','sessionStatus$','key','rev','[OfflineState]:\x20received\x20rejection.','_createHelper','INVALID_ARGUMENT','msCrypto','AUTHZ_URL_KEY','/universer-api/stream/file/upload','JOINING','disableLocalCache','_collaborationTimeoutTimer','Utf8','_change$','awaiting','update','session.join-failed','asObservable','HmacSHA1','collaboration_new_changeset','memberID','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_sessions','method','byteOffset','abs','/-/object/-/batch_allowed','_undoRedoService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','Latin1','salt','_event$','150LIbkUk','patch','CONFLICT','_fetchMissChangesets','_transformRemoteChangesetByIMECache','submit\x20changeset\x20error!','string','getSnapshotAPIPath','joinRsp','onTransformIME','_clearHeartbeatTimer','_executeRemoteChangeset','_initDependencies','collaboration-client.local-cache-service','splice','apply','_minBufferSize','WordArray','session.room-cnt-exceeds','?url=','PSEUDO_FETCH_MISSING_RESULT','fetchThroughInterceptors','_sendHeartbeat','POST','FETCH_MISSING','_transitionLocked','JOIN_ROOM_FULL','_members','_imageSourceCache','getImage','ticket','signUrlServerUrl','resend','event$','action','_roomMembers','_getCtorByUniverType','_initUnitPermissionChange','_config','ruleRefresh','_doReset','APPLY_NON_SEQUENTIAL_REVISION','BlockCipher','/new_changes','/rev/','APPLY_REJECT','pending','SHOULD_CLOSE_CONN','11600vGhrUJ','_startTelemetryCollaborationNewChangeset','APPLY_PERMISSION_DENIED','saveImage','resolve','_clearUndo','[OfflineState]:\x20received\x20acknowledgement.','APPLY_DUPLICATED','_isPermissionRej','[SyncedState]:\x20received\x20acknowledgement.','onLocalMutation','_substituteRedoStack','/-/object/list','enc','join','[SyncedState]:\x20received\x20rejection.','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','listRoles','objects','HttpImport','toLowerCase','_exhaustRemoteChangesetQueue','_roomCreated$','ceil','UNIVER_DOC','members','_onRemoteChangeset','_ENC_XFORM_MODE','catch','_emitMembers','_getUndoStack','saveSnapshot','requestParams','_snapshotServerService','csRejEvent','unknown','state','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','function','executeCommand','_updateLocalCache','appendMutation','retryConnectingInterval','_shouldReportTelemetry','hasher','_permissionService','bind','_configService','collaborators','words','requireSession','/resources','image/gif','_collaborationPaused','_localeService','fetchMiss','createSocket','_onRemoteRejected','_memberService','_type','_loadDoc','_singleActiveUnitService','_removeRoom','message$','APPLY_REVISION_CONFILICT','HELLO','eventID','ivSize','_cipher','href','debug','UnitEmbedded','788034cUxGxG','auth.needGotoLoginAlert','ALREADY_EXISTS','getUnitOnRev','UNIVER_SHEET','_listenToNetworkCondition','objectActions','OpenSSL','UNIVER_PROJECT','liveShareOperation','append','onRemoteChangeset','csAckEvent','_getUploadFileURL','Hex','updateCollaborator','readAsDataURL','IDLE','UnitSnapshot','COLLAB_SUBMIT_CHANGESET_URL','putCollaborators','NOT_COLLAB','keySize','loadOfflineData','SEND_CHANGESET_TIMEOUT','_nRounds','_scheduleCollaborationTimeoutTimer','_timeoutTimer','replace','_parse','_onFetchMissResult','HEARTBEAT_INTERVAL','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_socket','_rescheduleHeartbeat','/block/','location','x-univer-host','unitInfo$','reject','conflict','_clearRedo','_transformService','onlyLocal','_replaceFileID','has','260505YkXHgx','_syncEditingCollabCursor','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','code','refreshPermission','sheets','image/png','startTime','duration','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','PENDING','_commandService','_init','CHANGESET_REVISION_CONFILICT','baseRev','EvpKDF','subType','call','substr','textRanges','post','runId','range','getDeserializedSheetBlock','getUnit','[CollaborationSessionService]:\x20socket\x20error','getSheetId','LICENSE_MAX_UNITS_EXCEEDED','decrypt','json','saveChangeset','hasOwnProperty','mutations','exports','_onRemoteACK','LIVESHARE_TERMINATE','reverse','_initCloseConn','forEach','Worksheet','UNIVER_COLLABORATION_CLIENT_PLUGIN','/fetchmissing?from=','ciphertext','BlockCipherMode','find','c1Prime','_waitForHeartbeatResponse','name','reduce','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getCurrentUnitForType','hostname','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','default','uploadFileServerUrl','_getLoginPath','UNIVER_SLIDE','transformSelections','updateMember','getFocusedUnit','toggleOnline','put','getMember','StreamCipher','OTHER_CLIENTS_EDITING','/universer-api/snapshot/','_toggleOnline','clear','UNKNOWN_CODE','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','pauseCollaboration','_members$','getTypeOfUnitDisposed$','TOO_MANY_REQUESTS','_commentUpdate$','close$','snapshotServerUrl','mixIn','_createSocketURL','transformStack\x20failed!','SHA1','_schedule','set','SerializableCipher','COMMENT_UPDATE','formatter','AWAITING_WITH_PENDING','_onMessage','setConfig','_iKey','reqId','_getRedoStack','status','_sendHeartbeatTimer','_state','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','get','YUUMI_UNABLE_LOAD_URL','_snapshotService','SYNCED','_clearLocalCache','MUTATION','OPTIONAL','_transformStack','result','unsubscribe','fetchMissingChangesets','getCurrentUser','params','headers','SelectRange','m2Prime','rng','[CollaborationEntity]','_keySchedule','AES','_unitID','_getCurrentRevision','__creator','getTypeOfUnitAdded$','ERROR_IMAGE','CLOSE_ROOM','onCommandExecuted','not_collab','connection\x20error','LOCAL_CACHE_INTERVAL','kdf','_createInitialStateImpl','failed\x20to\x20apply\x20missed\x20changesets!','_lockTransition','avatar','indexOf','prototype','_transformUndoredo','_throwTelemetryCollaborationNewChangeset','session.room-full','Malformed\x20UTF-8\x20data','_handler','/object','body','_socket$','_collaborationUIEventService','Decryptor','CHANGESET_SHOULD_RETRY','[FetchMissState]','[CollaborationSession]','[UniverCollaborationClientPlugin]','HEARTBEAT','_doFinalize','_userManagerService','createCollaborator','LICENSE_EXPORT_SIZE_EXCEEDED','encrypt','Base64','toString','collabSubmitChangesetUrl','_sessionStatus$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','SNAPSHOT_INVALID_SNAPSHOT','searchParams','getActiveSheet','image/jpg','initWorkbookPermissionChange','LOGIN_URL_KEY','getUnitStatus$','removeMember','clamp','_entities','_registerDependencies','_substituteUndoStack','$super','INGEST','_key','[DataLoaderService]','init','confirm','_hash','univer-pro.collaboration-client-socket-service','INTERNAL_ERROR','send','map','_awaitingChangeset','updatePermissionPoint','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','values','_loadSheet','reconnect','_initRequestHeader','_toggleOffline','delete','unpad','_injector','awaitingChangeset','size','iterations','emitEvent','_onOffline','_clearTimeoutTimer','onload','unitID','fromCollab','wsSessionTicketUrl','\x0aCurrent:\x20','{fileID}','getCollabEntity','defineProperty','_nDataBytes','univer-pro.collaboration-client.single-active-unit-service','random','AWAITING','collaboratorID','_mode','NEW_CHANGESETS','getInterceptPoints','_updateState','_retryCount','updatePermissionObjEvent','_invKeySchedule','ONLINE','extend','NO_OTHER_CLIENTS_EDITING','\x20to\x20','_prevBlock','_resendWithTimeout','resourceIDs','fromCharCode','from','BASE64','PERSON','offline','revision','originalMeta','YUUMI_RATE_OVER_LIMIT','execute','processBlock','_revisionService','SNAPSHOT_HAS_BEEN_REMOVED','fetch_missing','value','_eventService','[PendingState]:\x20received\x20acknowledgement.','_clearScheduledTask','selections','collabWebSocketUrl','_hasher','onRemoteRej','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_changesetReqId','encryptBlock','UUID','_replayCachedMutations','&assign=','Hasher','pluginName','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','reset','onRemoteRetry','Cipher','_initMergeInterceptor','sendChangesetTimeout','LIVESHARE_OPERATION','onTransformRemoteChangesetByIMECache','padding','filter','open$','unitId','_onConnectionFailed','randomBytes','EXCHANGE_SIGN_URL_SERVER_URL_KEY','SUBMIT_CHANGESET_TIMEOUT','NoPadding','loadUnit','length','UNAUTHENTICATED','Error\x20on\x20receiving\x20event','collaboration-client.config','clone','ERROR_EXCEED_SIZE','GLOBAL_ROOMS_CNT_EXCEEDS','UNKNOWN_CMD','1549000VWQQVk','/universer-api/comb','permissionRejEvent','UPDATE_PERMISSION_OBJ','SUBMIT_CHANGESET','FileId','_scheduleTimestamp','_onCombEvent','_socketMessageSubscription','state$','[CollaborationSessionService]','downloadEndpointUrl','encode','error$','isPermissionRej','UNIVER_UNKNOWN','_entityInit$','changesets','LICENSE_DISTRO_REJECTED','objectType','UNRECOGNIZED','[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.','HmacMD5','NOT_FOUND','JOIN_ROOM_NOT_EXISTS','sid','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_state$','localCacheService','_keyPriorReset','_localCacheService','_getSessionTicket','min','_getDownloadEndpointURL','?size=','MD5','__Key__','randomUUID','_remoteChangesetQueue','&to=','repeat','byteLength','editingUnit','loadSheet','buffer','_data','_map','35RGUYei','_resendTimeout','_waitCount','_onUserLeave','toggleOffline','format','liveShareNewHost','getCurrentRevOfUnit','unit-cache-','ENSURE_SNAPSHOT_EXECUTION','parse','algo','c2Prime','/unit/','COMPRESS_MUTATION_APPLY','push','updateCursorEvent','_onRecvEvent','lib','_resendTimer','next','snapshot','subscribe','setCurrentUser','_pendingMutations','_socketReady','_collaborationSessionService','_applyRemoteChangeset','_transformRemoteChangesetByStateCache','origin','collaMsg','_changesetSessionId','data','HMAC','cmd','blockSize','onCommentUpdate','localeService','UPDATE_CURSOR','_status$','[PendingState]:\x20received\x20rejection.','USERS_LEAVE','add','onSyncEditingCollabCursor','/universer-api/user/session-ticket','COMPRESS_MUTATION_SEND','_sendingTimer','loginUrlKey','charCodeAt','_doCryptBlock','BufferedBlockAlgorithm','_getSendChangesetTimeout','sigBytes'];_0x10d2=function(){return _0x46a4de;};return _0x10d2();}var Ye={'exports':{}},qe={'exports':{}},Ks=qe['exports'],ii;function zs(){var _0xdfb6de=_0xfea5bc;return ii||(ii=0x1,function(_0x1222e7,_0x1d7754){(function(_0x3107d3,_0x4fb623){var _0x26108c=_0xce85;_0x1222e7[_0x26108c(0x19a)]=_0x4fb623(ne());}(Ks,function(_0x3f556b){var _0x58aa50=_0xce85;return(function(){var _0x44c267=_0xce85,_0xb1b958=_0x3f556b,_0x3b79d7=_0xb1b958[_0x44c267(0x2d3)],_0xe90bcc=_0x3b79d7[_0x44c267(0xe4)],_0x1dbf05=_0x3b79d7['Hasher'],_0x50fcef=_0xb1b958['algo'],_0x2efcbf=[],_0x25a166=_0x50fcef[_0x44c267(0x1ca)]=_0x1dbf05[_0x44c267(0x255)]({'_doReset':function(){var _0x418d2c=_0x44c267;this[_0x418d2c(0x22a)]=new _0xe90bcc[(_0x418d2c(0x228))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x297693,_0x17577b){var _0x173dac=_0x44c267;for(var _0x52de0f=this[_0x173dac(0x22a)]['words'],_0x395801=_0x52de0f[0x0],_0x55b6ff=_0x52de0f[0x1],_0x1bfcaa=_0x52de0f[0x2],_0x482a5b=_0x52de0f[0x3],_0x44e999=_0x52de0f[0x4],_0x2e2e91=0x0;_0x2e2e91<0x50;_0x2e2e91++){if(_0x2e2e91<0x10)_0x2efcbf[_0x2e2e91]=_0x297693[_0x17577b+_0x2e2e91]|0x0;else{var _0x238275=_0x2efcbf[_0x2e2e91-0x3]^_0x2efcbf[_0x2e2e91-0x8]^_0x2efcbf[_0x2e2e91-0xe]^_0x2efcbf[_0x2e2e91-0x10];_0x2efcbf[_0x2e2e91]=_0x238275<<0x1|_0x238275>>>0x1f;}var _0x470417=(_0x395801<<0x5|_0x395801>>>0x1b)+_0x44e999+_0x2efcbf[_0x2e2e91];_0x2e2e91<0x14?_0x470417+=(_0x55b6ff&_0x1bfcaa|~_0x55b6ff&_0x482a5b)+0x5a827999:_0x2e2e91<0x28?_0x470417+=(_0x55b6ff^_0x1bfcaa^_0x482a5b)+0x6ed9eba1:_0x2e2e91<0x3c?_0x470417+=(_0x55b6ff&_0x1bfcaa|_0x55b6ff&_0x482a5b|_0x1bfcaa&_0x482a5b)-0x70e44324:_0x470417+=(_0x55b6ff^_0x1bfcaa^_0x482a5b)-0x359d3e2a,_0x44e999=_0x482a5b,_0x482a5b=_0x1bfcaa,_0x1bfcaa=_0x55b6ff<<0x1e|_0x55b6ff>>>0x2,_0x55b6ff=_0x395801,_0x395801=_0x470417;}_0x52de0f[0x0]=_0x52de0f[0x0]+_0x395801|0x0,_0x52de0f[0x1]=_0x52de0f[0x1]+_0x55b6ff|0x0,_0x52de0f[0x2]=_0x52de0f[0x2]+_0x1bfcaa|0x0,_0x52de0f[0x3]=_0x52de0f[0x3]+_0x482a5b|0x0,_0x52de0f[0x4]=_0x52de0f[0x4]+_0x44e999|0x0;},'_doFinalize':function(){var _0x1bbad8=_0x44c267,_0x35f9b4=this[_0x1bbad8(0x2bf)],_0x38fb25=_0x35f9b4[_0x1bbad8(0x134)],_0x27c9d4=this[_0x1bbad8(0x248)]*0x8,_0x24d551=_0x35f9b4['sigBytes']*0x8;return _0x38fb25[_0x24d551>>>0x5]|=0x80<<0x18-_0x24d551%0x20,_0x38fb25[(_0x24d551+0x40>>>0x9<<0x4)+0xe]=Math[_0x1bbad8(0x99)](_0x27c9d4/0x100000000),_0x38fb25[(_0x24d551+0x40>>>0x9<<0x4)+0xf]=_0x27c9d4,_0x35f9b4[_0x1bbad8(0x2f5)]=_0x38fb25[_0x1bbad8(0x28a)]*0x4,this[_0x1bbad8(0xa3)](),this[_0x1bbad8(0x22a)];},'clone':function(){var _0x5f4edf=_0x44c267,_0x1466d5=_0x1dbf05[_0x5f4edf(0x28e)][_0x5f4edf(0x18a)](this);return _0x1466d5['_hash']=this[_0x5f4edf(0x22a)][_0x5f4edf(0x28e)](),_0x1466d5;}});_0xb1b958[_0x44c267(0x1ca)]=_0x1dbf05[_0x44c267(0xb7)](_0x25a166),_0xb1b958[_0x44c267(0xc5)]=_0x1dbf05[_0x44c267(0x300)](_0x25a166);}()),_0x3f556b[_0x58aa50(0x1ca)];}));}(qe)),qe[_0xdfb6de(0x19a)];}var Je={'exports':{}},Ys=Je[_0xfea5bc(0x19a)],ni;function qs(){var _0x39498f=_0xfea5bc;return ni||(ni=0x1,function(_0x53f791,_0x77bd3d){(function(_0x48423e,_0x401294){var _0x53295a=_0xce85;_0x53f791[_0x53295a(0x19a)]=_0x401294(ne());}(Ys,function(_0x3a61a0){(function(){var _0x51007f=_0xce85,_0x2b13a5=_0x3a61a0,_0x65b6d1=_0x2b13a5['lib'],_0x2c7cbb=_0x65b6d1['Base'],_0x26bce1=_0x2b13a5[_0x51007f(0x110)],_0x2f81b9=_0x26bce1[_0x51007f(0xbf)],_0x328612=_0x2b13a5['algo'];_0x328612[_0x51007f(0x2e2)]=_0x2c7cbb['extend']({'init':function(_0xefa173,_0x488075){var _0x4f7d1b=_0x51007f;_0xefa173=this['_hasher']=new _0xefa173[(_0x4f7d1b(0x228))](),typeof _0x488075==_0x4f7d1b(0xd9)&&(_0x488075=_0x2f81b9[_0x4f7d1b(0x2cb)](_0x488075));var _0x4cfe5d=_0xefa173[_0x4f7d1b(0x2e4)],_0x127b10=_0x4cfe5d*0x4;_0x488075[_0x4f7d1b(0x2f5)]>_0x127b10&&(_0x488075=_0xefa173[_0x4f7d1b(0x77)](_0x488075)),_0x488075[_0x4f7d1b(0x220)]();for(var _0x373bf7=this[_0x4f7d1b(0x33f)]=_0x488075['clone'](),_0x115383=this[_0x4f7d1b(0x1d3)]=_0x488075['clone'](),_0x3bb371=_0x373bf7[_0x4f7d1b(0x134)],_0xbb0c93=_0x115383[_0x4f7d1b(0x134)],_0x23b3d8=0x0;_0x23b3d8<_0x4cfe5d;_0x23b3d8++)_0x3bb371[_0x23b3d8]^=0x5c5c5c5c,_0xbb0c93[_0x23b3d8]^=0x36363636;_0x373bf7[_0x4f7d1b(0x2f5)]=_0x115383[_0x4f7d1b(0x2f5)]=_0x127b10,this[_0x4f7d1b(0x279)]();},'reset':function(){var _0x54a02d=_0x51007f,_0x4b4fb7=this[_0x54a02d(0x26e)];_0x4b4fb7[_0x54a02d(0x279)](),_0x4b4fb7['update'](this[_0x54a02d(0x1d3)]);},'update':function(_0x4bae5e){var _0x11fa43=_0x51007f;return this[_0x11fa43(0x26e)]['update'](_0x4bae5e),this;},'finalize':function(_0x2ad6b1){var _0x36f74c=_0x51007f,_0x16730a=this[_0x36f74c(0x26e)],_0x55a7e1=_0x16730a[_0x36f74c(0x77)](_0x2ad6b1);_0x16730a[_0x36f74c(0x279)]();var _0xea1405=_0x16730a[_0x36f74c(0x77)](this[_0x36f74c(0x33f)]['clone']()['concat'](_0x55a7e1));return _0xea1405;}});}());}));}(Je)),Je[_0x39498f(0x19a)];}var Js=Ye[_0xfea5bc(0x19a)],si;function Ai(){var _0x252781=_0xfea5bc;return si||(si=0x1,function(_0x140f79,_0x361218){(function(_0x13f93e,_0x96b152,_0x30b553){var _0x311179=_0xce85;_0x140f79[_0x311179(0x19a)]=_0x96b152(ne(),zs(),qs());}(Js,function(_0x5d9880){var _0x11630b=_0xce85;return(function(){var _0x1e02ab=_0xce85,_0x27cb98=_0x5d9880,_0x56e9c5=_0x27cb98['lib'],_0x6bcd42=_0x56e9c5[_0x1e02ab(0x8b)],_0x3bb1f4=_0x56e9c5[_0x1e02ab(0xe4)],_0x3c1697=_0x27cb98[_0x1e02ab(0x2cc)],_0x1923d8=_0x3c1697['MD5'],_0x11fda1=_0x3c1697[_0x1e02ab(0x188)]=_0x6bcd42[_0x1e02ab(0x255)]({'cfg':_0x6bcd42[_0x1e02ab(0x255)]({'keySize':0x80/0x20,'hasher':_0x1923d8,'iterations':0x1}),'init':function(_0x4010cf){var _0x1b9820=_0x1e02ab;this[_0x1b9820(0x369)]=this[_0x1b9820(0x369)][_0x1b9820(0x255)](_0x4010cf);},'compute':function(_0x206f9d,_0x19829b){var _0x49b892=_0x1e02ab;for(var _0x2be370,_0x4ccf2a=this[_0x49b892(0x369)],_0x5e2471=_0x4ccf2a[_0x49b892(0x12f)][_0x49b892(0xa9)](),_0x18b201=_0x3bb1f4['create'](),_0x37905b=_0x18b201[_0x49b892(0x134)],_0x36c523=_0x4ccf2a[_0x49b892(0x161)],_0x3a9016=_0x4ccf2a[_0x49b892(0x23c)];_0x37905b[_0x49b892(0x28a)]<_0x36c523;){_0x2be370&&_0x5e2471[_0x49b892(0xc2)](_0x2be370),_0x2be370=_0x5e2471[_0x49b892(0xc2)](_0x206f9d)['finalize'](_0x19829b),_0x5e2471[_0x49b892(0x279)]();for(var _0x3477f6=0x1;_0x3477f6<_0x3a9016;_0x3477f6++)_0x2be370=_0x5e2471[_0x49b892(0x77)](_0x2be370),_0x5e2471[_0x49b892(0x279)]();_0x18b201[_0x49b892(0x70)](_0x2be370);}return _0x18b201[_0x49b892(0x2f5)]=_0x36c523*0x4,_0x18b201;}});_0x27cb98['EvpKDF']=function(_0x230e52,_0x25fff5,_0x44f549){var _0x52852e=_0x1e02ab;return _0x11fda1[_0x52852e(0xa9)](_0x44f549)[_0x52852e(0x98)](_0x230e52,_0x25fff5);};}()),_0x5d9880[_0x11630b(0x188)];}));}(Ye)),Ye[_0x252781(0x19a)];}var Xe={'exports':{}},Xs=Xe['exports'],ri;function xi(){return ri||(ri=0x1,function(_0x435130,_0x24fbf5){(function(_0x1f3941,_0x1619e0,_0x5014e7){var _0x3776af=_0xce85;_0x435130[_0x3776af(0x19a)]=_0x1619e0(ne(),Ai());}(Xs,function(_0x55f3c1){var _0x150752=_0xce85;_0x55f3c1['lib'][_0x150752(0x27b)]||function(_0x242d70){var _0x542816=_0x150752,_0x35bc20=_0x55f3c1,_0x38d167=_0x35bc20[_0x542816(0x2d3)],_0x53fdc2=_0x38d167[_0x542816(0x8b)],_0x513858=_0x38d167[_0x542816(0xe4)],_0x1dcf26=_0x38d167[_0x542816(0x2f3)],_0x552812=_0x35bc20[_0x542816(0x110)];_0x552812[_0x542816(0xbf)];var _0x1fe5f5=_0x552812[_0x542816(0x213)],_0x49bbd8=_0x35bc20[_0x542816(0x2cc)],_0xae6aca=_0x49bbd8[_0x542816(0x188)],_0x287197=_0x38d167[_0x542816(0x27b)]=_0x1dcf26['extend']({'cfg':_0x53fdc2['extend'](),'createEncryptor':function(_0x17861e,_0x598b8f){var _0x5c13ba=_0x542816;return this[_0x5c13ba(0xa9)](this[_0x5c13ba(0x11e)],_0x17861e,_0x598b8f);},'createDecryptor':function(_0x22f1a7,_0x1dc208){var _0xc8e00e=_0x542816;return this[_0xc8e00e(0xa9)](this['_DEC_XFORM_MODE'],_0x22f1a7,_0x1dc208);},'init':function(_0x3eb7aa,_0x456698,_0x53937f){var _0x397ffd=_0x542816;this[_0x397ffd(0x369)]=this['cfg']['extend'](_0x53937f),this[_0x397ffd(0x2fc)]=_0x3eb7aa,this[_0x397ffd(0x226)]=_0x456698,this[_0x397ffd(0x279)]();},'reset':function(){var _0x1be473=_0x542816;_0x1dcf26['reset'][_0x1be473(0x18a)](this),this[_0x1be473(0xfb)]();},'process':function(_0x1044b0){var _0x3037a2=_0x542816;return this['_append'](_0x1044b0),this[_0x3037a2(0xa3)]();},'finalize':function(_0x5061e5){_0x5061e5&&this['_append'](_0x5061e5);var _0x4a38f3=this['_doFinalize']();return _0x4a38f3;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x22bb48(_0x38ff4d){var _0x5aa097=_0xce85;return typeof _0x38ff4d==_0x5aa097(0xd9)?_0x44192a:_0x56b700;}return function(_0xc539ea){return{'encrypt':function(_0x595a03,_0x28a9c8,_0x3c062c){return _0x22bb48(_0x28a9c8)['encrypt'](_0xc539ea,_0x595a03,_0x28a9c8,_0x3c062c);},'decrypt':function(_0xe22f39,_0x5b40ab,_0xb9a36c){var _0x2f8730=_0xce85;return _0x22bb48(_0x5b40ab)[_0x2f8730(0x195)](_0xc539ea,_0xe22f39,_0x5b40ab,_0xb9a36c);}};};}())});_0x38d167[_0x542816(0x1b9)]=_0x287197[_0x542816(0x255)]({'_doFinalize':function(){var _0x22421b=_0x542816,_0x432f98=this[_0x22421b(0xa3)](!0x0);return _0x432f98;},'blockSize':0x1});var _0x25322b=_0x35bc20[_0x542816(0x328)]={},_0x35c5e7=_0x38d167[_0x542816(0x1a4)]=_0x53fdc2['extend']({'createEncryptor':function(_0x445fb1,_0x53e478){var _0x7b6e6b=_0x542816;return this['Encryptor'][_0x7b6e6b(0xa9)](_0x445fb1,_0x53e478);},'createDecryptor':function(_0x4c6ac0,_0x21cc62){var _0xc967f3=_0x542816;return this[_0xc967f3(0x208)][_0xc967f3(0xa9)](_0x4c6ac0,_0x21cc62);},'init':function(_0x105c61,_0x1158f2){var _0x425b05=_0x542816;this[_0x425b05(0x147)]=_0x105c61,this[_0x425b05(0x32d)]=_0x1158f2;}}),_0x3a03a1=_0x25322b['CBC']=(function(){var _0x493710=_0x542816,_0xdb6ec7=_0x35c5e7[_0x493710(0x255)]();_0xdb6ec7['Encryptor']=_0xdb6ec7[_0x493710(0x255)]({'processBlock':function(_0x1865b2,_0x27ae9c){var _0x5ebb78=_0x493710,_0x41d64b=this['_cipher'],_0x363029=_0x41d64b['blockSize'];_0x336e53[_0x5ebb78(0x18a)](this,_0x1865b2,_0x27ae9c,_0x363029),_0x41d64b[_0x5ebb78(0x272)](_0x1865b2,_0x27ae9c),this[_0x5ebb78(0x258)]=_0x1865b2[_0x5ebb78(0x7e)](_0x27ae9c,_0x27ae9c+_0x363029);}}),_0xdb6ec7['Decryptor']=_0xdb6ec7[_0x493710(0x255)]({'processBlock':function(_0x12ea56,_0x293de6){var _0xd2c835=_0x493710,_0x360bd0=this['_cipher'],_0x5a80b5=_0x360bd0[_0xd2c835(0x2e4)],_0x46f409=_0x12ea56[_0xd2c835(0x7e)](_0x293de6,_0x293de6+_0x5a80b5);_0x360bd0['decryptBlock'](_0x12ea56,_0x293de6),_0x336e53['call'](this,_0x12ea56,_0x293de6,_0x5a80b5),this[_0xd2c835(0x258)]=_0x46f409;}});function _0x336e53(_0x31551e,_0x1da3a5,_0xddc8de){var _0x31a1f6=_0x493710,_0x1fa092,_0x105d5f=this[_0x31a1f6(0x32d)];_0x105d5f?(_0x1fa092=_0x105d5f,this[_0x31a1f6(0x32d)]=_0x242d70):_0x1fa092=this[_0x31a1f6(0x258)];for(var _0x5cb969=0x0;_0x5cb969<_0xddc8de;_0x5cb969++)_0x31551e[_0x1da3a5+_0x5cb969]^=_0x1fa092[_0x5cb969];}return _0xdb6ec7;}()),_0x5b94db=_0x35bc20[_0x542816(0xab)]={},_0x396272=_0x5b94db[_0x542816(0x7d)]={'pad':function(_0x2b1dcc,_0x50c779){var _0x4d03d0=_0x542816;for(var _0x109a77=_0x50c779*0x4,_0x5adb5e=_0x109a77-_0x2b1dcc[_0x4d03d0(0x2f5)]%_0x109a77,_0x3d86c2=_0x5adb5e<<0x18|_0x5adb5e<<0x10|_0x5adb5e<<0x8|_0x5adb5e,_0x3c0d79=[],_0x5c1ddd=0x0;_0x5c1ddd<_0x5adb5e;_0x5c1ddd+=0x4)_0x3c0d79[_0x4d03d0(0x2d0)](_0x3d86c2);var _0x41a544=_0x513858[_0x4d03d0(0xa9)](_0x3c0d79,_0x5adb5e);_0x2b1dcc['concat'](_0x41a544);},'unpad':function(_0x273092){var _0x329592=_0x542816,_0x36c805=_0x273092[_0x329592(0x134)][_0x273092[_0x329592(0x2f5)]-0x1>>>0x2]&0xff;_0x273092[_0x329592(0x2f5)]-=_0x36c805;}};_0x38d167[_0x542816(0xfd)]=_0x287197[_0x542816(0x255)]({'cfg':_0x287197[_0x542816(0x369)][_0x542816(0x255)]({'mode':_0x3a03a1,'padding':_0x396272}),'reset':function(){var _0x3fcdaa=_0x542816,_0x3c2a5c;_0x287197[_0x3fcdaa(0x279)][_0x3fcdaa(0x18a)](this);var _0x45304f=this['cfg'],_0x4492ca=_0x45304f['iv'],_0x9c9420=_0x45304f['mode'];this[_0x3fcdaa(0x2fc)]==this[_0x3fcdaa(0x11e)]?_0x3c2a5c=_0x9c9420[_0x3fcdaa(0x309)]:(_0x3c2a5c=_0x9c9420['createDecryptor'],this[_0x3fcdaa(0xe3)]=0x1),this['_mode']&&this['_mode'][_0x3fcdaa(0x1f0)]==_0x3c2a5c?this['_mode'][_0x3fcdaa(0x228)](this,_0x4492ca&&_0x4492ca['words']):(this['_mode']=_0x3c2a5c[_0x3fcdaa(0x18a)](_0x9c9420,this,_0x4492ca&&_0x4492ca[_0x3fcdaa(0x134)]),this[_0x3fcdaa(0x24d)][_0x3fcdaa(0x1f0)]=_0x3c2a5c);},'_doProcessBlock':function(_0xd42b61,_0x4488cf){var _0x2d89c1=_0x542816;this[_0x2d89c1(0x24d)][_0x2d89c1(0x264)](_0xd42b61,_0x4488cf);},'_doFinalize':function(){var _0x21405a=_0x542816,_0x2b598b,_0x201ea4=this[_0x21405a(0x369)][_0x21405a(0x280)];return this['_xformMode']==this[_0x21405a(0x11e)]?(_0x201ea4['pad'](this[_0x21405a(0x2bf)],this[_0x21405a(0x2e4)]),_0x2b598b=this[_0x21405a(0xa3)](!0x0)):(_0x2b598b=this[_0x21405a(0xa3)](!0x0),_0x201ea4[_0x21405a(0x238)](_0x2b598b)),_0x2b598b;},'blockSize':0x80/0x20});var _0x4e4ad4=_0x38d167[_0x542816(0x319)]=_0x53fdc2[_0x542816(0x255)]({'init':function(_0x178c39){var _0x4adf72=_0x542816;this[_0x4adf72(0x1c7)](_0x178c39);},'toString':function(_0x1a0d68){var _0x5eb4ef=_0x542816;return(_0x1a0d68||this[_0x5eb4ef(0x1cf)])['stringify'](this);}}),_0x558e14=_0x35bc20[_0x542816(0x2c6)]={},_0x45a44a=_0x558e14[_0x542816(0x152)]={'stringify':function(_0x176c0c){var _0x15dec5=_0x542816,_0x399756,_0x3d520d=_0x176c0c['ciphertext'],_0x30223f=_0x176c0c[_0x15dec5(0xd1)];return _0x30223f?_0x399756=_0x513858[_0x15dec5(0xa9)]([0x53616c74,0x65645f5f])['concat'](_0x30223f)[_0x15dec5(0x70)](_0x3d520d):_0x399756=_0x3d520d,_0x399756['toString'](_0x1fe5f5);},'parse':function(_0x196b74){var _0x481096=_0x542816,_0xf100b5,_0x3ed804=_0x1fe5f5[_0x481096(0x2cb)](_0x196b74),_0x23dfc5=_0x3ed804['words'];return _0x23dfc5[0x0]==0x53616c74&&_0x23dfc5[0x1]==0x65645f5f&&(_0xf100b5=_0x513858['create'](_0x23dfc5[_0x481096(0x7e)](0x2,0x4)),_0x23dfc5[_0x481096(0xe1)](0x0,0x4),_0x3ed804[_0x481096(0x2f5)]-=0x10),_0x4e4ad4[_0x481096(0xa9)]({'ciphertext':_0x3ed804,'salt':_0xf100b5});}},_0x56b700=_0x38d167[_0x542816(0x1cd)]=_0x53fdc2['extend']({'cfg':_0x53fdc2[_0x542816(0x255)]({'format':_0x45a44a}),'encrypt':function(_0x1c6c45,_0x1428b8,_0x6c06fb,_0x1cf9fc){var _0x5ae9ba=_0x542816;_0x1cf9fc=this['cfg']['extend'](_0x1cf9fc);var _0x6e2620=_0x1c6c45['createEncryptor'](_0x6c06fb,_0x1cf9fc),_0xa80bb0=_0x6e2620['finalize'](_0x1428b8),_0x4353b9=_0x6e2620[_0x5ae9ba(0x369)];return _0x4e4ad4['create']({'ciphertext':_0xa80bb0,'key':_0x6c06fb,'iv':_0x4353b9['iv'],'algorithm':_0x1c6c45,'mode':_0x4353b9[_0x5ae9ba(0x328)],'padding':_0x4353b9[_0x5ae9ba(0x280)],'blockSize':_0x1c6c45[_0x5ae9ba(0x2e4)],'formatter':_0x1cf9fc[_0x5ae9ba(0x2c6)]});},'decrypt':function(_0x276b67,_0x10c3a9,_0x5a7ebc,_0x4b756a){var _0x22421a=_0x542816;_0x4b756a=this[_0x22421a(0x369)][_0x22421a(0x255)](_0x4b756a),_0x10c3a9=this[_0x22421a(0x168)](_0x10c3a9,_0x4b756a[_0x22421a(0x2c6)]);var _0x30ed72=_0x276b67[_0x22421a(0x308)](_0x5a7ebc,_0x4b756a)[_0x22421a(0x77)](_0x10c3a9[_0x22421a(0x1a3)]);return _0x30ed72;},'_parse':function(_0x2f1a04,_0x88b4ec){var _0x2d48a1=_0x542816;return typeof _0x2f1a04==_0x2d48a1(0xd9)?_0x88b4ec[_0x2d48a1(0x2cb)](_0x2f1a04,this):_0x2f1a04;}}),_0x7ee5d6=_0x35bc20['kdf']={},_0x375f7e=_0x7ee5d6[_0x542816(0x152)]={'execute':function(_0x1ec89f,_0x53fc83,_0x5b88d1,_0xca72cd,_0x58f66c){var _0x40b5b5=_0x542816;if(_0xca72cd||(_0xca72cd=_0x513858[_0x40b5b5(0x24a)](0x40/0x8)),_0x58f66c)var _0x3bf7b1=_0xae6aca[_0x40b5b5(0xa9)]({'keySize':_0x53fc83+_0x5b88d1,'hasher':_0x58f66c})[_0x40b5b5(0x98)](_0x1ec89f,_0xca72cd);else var _0x3bf7b1=_0xae6aca[_0x40b5b5(0xa9)]({'keySize':_0x53fc83+_0x5b88d1})[_0x40b5b5(0x98)](_0x1ec89f,_0xca72cd);var _0x17d7d6=_0x513858[_0x40b5b5(0xa9)](_0x3bf7b1['words']['slice'](_0x53fc83),_0x5b88d1*0x4);return _0x3bf7b1[_0x40b5b5(0x2f5)]=_0x53fc83*0x4,_0x4e4ad4[_0x40b5b5(0xa9)]({'key':_0x3bf7b1,'iv':_0x17d7d6,'salt':_0xca72cd});}},_0x44192a=_0x38d167['PasswordBasedCipher']=_0x56b700[_0x542816(0x255)]({'cfg':_0x56b700[_0x542816(0x369)][_0x542816(0x255)]({'kdf':_0x375f7e}),'encrypt':function(_0x390fda,_0x4ac718,_0xf0cfa0,_0x433b07){var _0x37f8d1=_0x542816;_0x433b07=this['cfg'][_0x37f8d1(0x255)](_0x433b07);var _0x4bcc54=_0x433b07[_0x37f8d1(0x1f8)][_0x37f8d1(0x263)](_0xf0cfa0,_0x390fda[_0x37f8d1(0x161)],_0x390fda[_0x37f8d1(0x146)],_0x433b07[_0x37f8d1(0xd1)],_0x433b07[_0x37f8d1(0x12f)]);_0x433b07['iv']=_0x4bcc54['iv'];var _0x3701cf=_0x56b700[_0x37f8d1(0x212)]['call'](this,_0x390fda,_0x4ac718,_0x4bcc54[_0x37f8d1(0xb4)],_0x433b07);return _0x3701cf[_0x37f8d1(0x1c7)](_0x4bcc54),_0x3701cf;},'decrypt':function(_0x31e755,_0x20809c,_0x15f82b,_0x5af3cd){var _0x307c4d=_0x542816;_0x5af3cd=this[_0x307c4d(0x369)][_0x307c4d(0x255)](_0x5af3cd),_0x20809c=this[_0x307c4d(0x168)](_0x20809c,_0x5af3cd[_0x307c4d(0x2c6)]);var _0x120783=_0x5af3cd[_0x307c4d(0x1f8)][_0x307c4d(0x263)](_0x15f82b,_0x31e755[_0x307c4d(0x161)],_0x31e755[_0x307c4d(0x146)],_0x20809c[_0x307c4d(0xd1)],_0x5af3cd['hasher']);_0x5af3cd['iv']=_0x120783['iv'];var _0x423916=_0x56b700['decrypt'][_0x307c4d(0x18a)](this,_0x31e755,_0x20809c,_0x120783['key'],_0x5af3cd);return _0x423916;}});}();}));}(Xe)),Xe['exports'];}var Zs=We[_0xfea5bc(0x19a)],oi;function Qs(){var _0x39745b=_0xfea5bc;return oi||(oi=0x1,function(_0x5dc674,_0x4f9298){(function(_0x1d0d55,_0x3b4ca3,_0x390258){var _0x5c6658=_0xce85;_0x5dc674[_0x5c6658(0x19a)]=_0x3b4ca3(ne(),Ui(),Gs(),Ai(),xi());}(Zs,function(_0x536567){var _0x2dfaa6=_0xce85;return(function(){var _0xddfd65=_0xce85,_0x59ed57=_0x536567,_0x5ad83a=_0x59ed57[_0xddfd65(0x2d3)],_0x10dce7=_0x5ad83a[_0xddfd65(0xfd)],_0x310fd9=_0x59ed57[_0xddfd65(0x2cc)],_0x23b438=[],_0x5b09ca=[],_0x5b6448=[],_0x3712f3=[],_0xde92a9=[],_0x2eba0b=[],_0x44b02c=[],_0xcb7522=[],_0x29bc47=[],_0x564dea=[];(function(){for(var _0x5a5c38=[],_0x2cdbf6=0x0;_0x2cdbf6<0x100;_0x2cdbf6++)_0x2cdbf6<0x80?_0x5a5c38[_0x2cdbf6]=_0x2cdbf6<<0x1:_0x5a5c38[_0x2cdbf6]=_0x2cdbf6<<0x1^0x11b;for(var _0x18a39c=0x0,_0x5ac5a4=0x0,_0x2cdbf6=0x0;_0x2cdbf6<0x100;_0x2cdbf6++){var _0x3364f2=_0x5ac5a4^_0x5ac5a4<<0x1^_0x5ac5a4<<0x2^_0x5ac5a4<<0x3^_0x5ac5a4<<0x4;_0x3364f2=_0x3364f2>>>0x8^_0x3364f2&0xff^0x63,_0x23b438[_0x18a39c]=_0x3364f2,_0x5b09ca[_0x3364f2]=_0x18a39c;var _0x596213=_0x5a5c38[_0x18a39c],_0x23ccad=_0x5a5c38[_0x596213],_0x3a9d83=_0x5a5c38[_0x23ccad],_0x4050f9=_0x5a5c38[_0x3364f2]*0x101^_0x3364f2*0x1010100;_0x5b6448[_0x18a39c]=_0x4050f9<<0x18|_0x4050f9>>>0x8,_0x3712f3[_0x18a39c]=_0x4050f9<<0x10|_0x4050f9>>>0x10,_0xde92a9[_0x18a39c]=_0x4050f9<<0x8|_0x4050f9>>>0x18,_0x2eba0b[_0x18a39c]=_0x4050f9;var _0x4050f9=_0x3a9d83*0x1010101^_0x23ccad*0x10001^_0x596213*0x101^_0x18a39c*0x1010100;_0x44b02c[_0x3364f2]=_0x4050f9<<0x18|_0x4050f9>>>0x8,_0xcb7522[_0x3364f2]=_0x4050f9<<0x10|_0x4050f9>>>0x10,_0x29bc47[_0x3364f2]=_0x4050f9<<0x8|_0x4050f9>>>0x18,_0x564dea[_0x3364f2]=_0x4050f9,_0x18a39c?(_0x18a39c=_0x596213^_0x5a5c38[_0x5a5c38[_0x5a5c38[_0x3a9d83^_0x596213]]],_0x5ac5a4^=_0x5a5c38[_0x5a5c38[_0x5ac5a4]]):_0x18a39c=_0x5ac5a4=0x1;}}());var _0x2e3a56=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x440b4e=_0x310fd9[_0xddfd65(0x1ed)]=_0x10dce7[_0xddfd65(0x255)]({'_doReset':function(){var _0x5847b3=_0xddfd65,_0x3404da;if(!(this[_0x5847b3(0x164)]&&this[_0x5847b3(0x2af)]===this[_0x5847b3(0x226)])){for(var _0x30fa59=this[_0x5847b3(0x2af)]=this['_key'],_0x16ec24=_0x30fa59['words'],_0x418ca1=_0x30fa59[_0x5847b3(0x2f5)]/0x4,_0x41707a=this[_0x5847b3(0x164)]=_0x418ca1+0x6,_0x10c47e=(_0x41707a+0x1)*0x4,_0x193a2b=this[_0x5847b3(0x1ec)]=[],_0x6b46e6=0x0;_0x6b46e6<_0x10c47e;_0x6b46e6++)_0x6b46e6<_0x418ca1?_0x193a2b[_0x6b46e6]=_0x16ec24[_0x6b46e6]:(_0x3404da=_0x193a2b[_0x6b46e6-0x1],_0x6b46e6%_0x418ca1?_0x418ca1>0x6&&_0x6b46e6%_0x418ca1==0x4&&(_0x3404da=_0x23b438[_0x3404da>>>0x18]<<0x18|_0x23b438[_0x3404da>>>0x10&0xff]<<0x10|_0x23b438[_0x3404da>>>0x8&0xff]<<0x8|_0x23b438[_0x3404da&0xff]):(_0x3404da=_0x3404da<<0x8|_0x3404da>>>0x18,_0x3404da=_0x23b438[_0x3404da>>>0x18]<<0x18|_0x23b438[_0x3404da>>>0x10&0xff]<<0x10|_0x23b438[_0x3404da>>>0x8&0xff]<<0x8|_0x23b438[_0x3404da&0xff],_0x3404da^=_0x2e3a56[_0x6b46e6/_0x418ca1|0x0]<<0x18),_0x193a2b[_0x6b46e6]=_0x193a2b[_0x6b46e6-_0x418ca1]^_0x3404da);for(var _0x587763=this[_0x5847b3(0x253)]=[],_0x138e5c=0x0;_0x138e5c<_0x10c47e;_0x138e5c++){var _0x6b46e6=_0x10c47e-_0x138e5c;if(_0x138e5c%0x4)var _0x3404da=_0x193a2b[_0x6b46e6];else var _0x3404da=_0x193a2b[_0x6b46e6-0x4];_0x138e5c<0x4||_0x6b46e6<=0x4?_0x587763[_0x138e5c]=_0x3404da:_0x587763[_0x138e5c]=_0x44b02c[_0x23b438[_0x3404da>>>0x18]]^_0xcb7522[_0x23b438[_0x3404da>>>0x10&0xff]]^_0x29bc47[_0x23b438[_0x3404da>>>0x8&0xff]]^_0x564dea[_0x23b438[_0x3404da&0xff]];}}},'encryptBlock':function(_0x35b0f3,_0x8cc3fe){var _0xdbf098=_0xddfd65;this[_0xdbf098(0x2f2)](_0x35b0f3,_0x8cc3fe,this[_0xdbf098(0x1ec)],_0x5b6448,_0x3712f3,_0xde92a9,_0x2eba0b,_0x23b438);},'decryptBlock':function(_0x4ed981,_0x5449d7){var _0x409743=_0xddfd65,_0x43e8db=_0x4ed981[_0x5449d7+0x1];_0x4ed981[_0x5449d7+0x1]=_0x4ed981[_0x5449d7+0x3],_0x4ed981[_0x5449d7+0x3]=_0x43e8db,this['_doCryptBlock'](_0x4ed981,_0x5449d7,this[_0x409743(0x253)],_0x44b02c,_0xcb7522,_0x29bc47,_0x564dea,_0x5b09ca);var _0x43e8db=_0x4ed981[_0x5449d7+0x1];_0x4ed981[_0x5449d7+0x1]=_0x4ed981[_0x5449d7+0x3],_0x4ed981[_0x5449d7+0x3]=_0x43e8db;},'_doCryptBlock':function(_0x2fa1d4,_0x333440,_0x1c6caa,_0x25a162,_0x3b2958,_0xdda046,_0x13fc93,_0x35489c){for(var _0x5dbf69=this['_nRounds'],_0x2826a2=_0x2fa1d4[_0x333440]^_0x1c6caa[0x0],_0x3f6673=_0x2fa1d4[_0x333440+0x1]^_0x1c6caa[0x1],_0x184170=_0x2fa1d4[_0x333440+0x2]^_0x1c6caa[0x2],_0x23c79f=_0x2fa1d4[_0x333440+0x3]^_0x1c6caa[0x3],_0x58355d=0x4,_0x438866=0x1;_0x438866<_0x5dbf69;_0x438866++){var _0x564211=_0x25a162[_0x2826a2>>>0x18]^_0x3b2958[_0x3f6673>>>0x10&0xff]^_0xdda046[_0x184170>>>0x8&0xff]^_0x13fc93[_0x23c79f&0xff]^_0x1c6caa[_0x58355d++],_0x16b939=_0x25a162[_0x3f6673>>>0x18]^_0x3b2958[_0x184170>>>0x10&0xff]^_0xdda046[_0x23c79f>>>0x8&0xff]^_0x13fc93[_0x2826a2&0xff]^_0x1c6caa[_0x58355d++],_0x75f66e=_0x25a162[_0x184170>>>0x18]^_0x3b2958[_0x23c79f>>>0x10&0xff]^_0xdda046[_0x2826a2>>>0x8&0xff]^_0x13fc93[_0x3f6673&0xff]^_0x1c6caa[_0x58355d++],_0x172a33=_0x25a162[_0x23c79f>>>0x18]^_0x3b2958[_0x2826a2>>>0x10&0xff]^_0xdda046[_0x3f6673>>>0x8&0xff]^_0x13fc93[_0x184170&0xff]^_0x1c6caa[_0x58355d++];_0x2826a2=_0x564211,_0x3f6673=_0x16b939,_0x184170=_0x75f66e,_0x23c79f=_0x172a33;}var _0x564211=(_0x35489c[_0x2826a2>>>0x18]<<0x18|_0x35489c[_0x3f6673>>>0x10&0xff]<<0x10|_0x35489c[_0x184170>>>0x8&0xff]<<0x8|_0x35489c[_0x23c79f&0xff])^_0x1c6caa[_0x58355d++],_0x16b939=(_0x35489c[_0x3f6673>>>0x18]<<0x18|_0x35489c[_0x184170>>>0x10&0xff]<<0x10|_0x35489c[_0x23c79f>>>0x8&0xff]<<0x8|_0x35489c[_0x2826a2&0xff])^_0x1c6caa[_0x58355d++],_0x75f66e=(_0x35489c[_0x184170>>>0x18]<<0x18|_0x35489c[_0x23c79f>>>0x10&0xff]<<0x10|_0x35489c[_0x2826a2>>>0x8&0xff]<<0x8|_0x35489c[_0x3f6673&0xff])^_0x1c6caa[_0x58355d++],_0x172a33=(_0x35489c[_0x23c79f>>>0x18]<<0x18|_0x35489c[_0x2826a2>>>0x10&0xff]<<0x10|_0x35489c[_0x3f6673>>>0x8&0xff]<<0x8|_0x35489c[_0x184170&0xff])^_0x1c6caa[_0x58355d++];_0x2fa1d4[_0x333440]=_0x564211,_0x2fa1d4[_0x333440+0x1]=_0x16b939,_0x2fa1d4[_0x333440+0x2]=_0x75f66e,_0x2fa1d4[_0x333440+0x3]=_0x172a33;},'keySize':0x100/0x20});_0x59ed57[_0xddfd65(0x1ed)]=_0x10dce7[_0xddfd65(0xb7)](_0x440b4e);}()),_0x536567[_0x2dfaa6(0x1ed)];}));}(We)),We[_0x39745b(0x19a)];}var er=Qs();const tr=ke(er);var ir=Ui();const ai=ke(ir);var Ze={'exports':{}},nr=Ze['exports'],ci;function sr(){var _0x1e5ca9=_0xfea5bc;return ci||(ci=0x1,function(_0xe5b42,_0x57b3cd){(function(_0x120295,_0xc011de){var _0x275a54=_0xce85;_0xe5b42[_0x275a54(0x19a)]=_0xc011de(ne());}(nr,function(_0x2fc270){var _0x3c3db9=_0xce85;return _0x2fc270['enc'][_0x3c3db9(0xbf)];}));}(Ze)),Ze[_0x1e5ca9(0x19a)];}var rr=sr();const or=ke(rr);var Qe={'exports':{}},ar=Qe[_0xfea5bc(0x19a)],hi;function cr(){var _0x57a336=_0xfea5bc;return hi||(hi=0x1,function(_0x59757a,_0x4c3aa1){(function(_0x49f2e2,_0x3a2465){_0x59757a['exports']=_0x3a2465(ne());}(ar,function(_0x2cbacb){var _0x26dfe6=_0xce85;return(function(){var _0x527910=_0xce85;if(typeof ArrayBuffer=='function'){var _0x33a565=_0x2cbacb,_0x358883=_0x33a565[_0x527910(0x2d3)],_0x69ea62=_0x358883['WordArray'],_0xadbc5f=_0x69ea62['init'],_0x4eda8b=_0x69ea62[_0x527910(0x228)]=function(_0x538e3a){var _0x3bcb60=_0x527910;if(_0x538e3a instanceof ArrayBuffer&&(_0x538e3a=new Uint8Array(_0x538e3a)),(_0x538e3a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x538e3a instanceof Uint8ClampedArray||_0x538e3a instanceof Int16Array||_0x538e3a instanceof Uint16Array||_0x538e3a instanceof Int32Array||_0x538e3a instanceof Uint32Array||_0x538e3a instanceof Float32Array||_0x538e3a instanceof Float64Array)&&(_0x538e3a=new Uint8Array(_0x538e3a[_0x3bcb60(0x2be)],_0x538e3a[_0x3bcb60(0xcb)],_0x538e3a['byteLength'])),_0x538e3a instanceof Uint8Array){for(var _0x552033=_0x538e3a[_0x3bcb60(0x2bb)],_0x136d0d=[],_0x378dc5=0x0;_0x378dc5<_0x552033;_0x378dc5++)_0x136d0d[_0x378dc5>>>0x2]|=_0x538e3a[_0x378dc5]<<0x18-_0x378dc5%0x4*0x8;_0xadbc5f[_0x3bcb60(0x18a)](this,_0x136d0d,_0x552033);}else _0xadbc5f[_0x3bcb60(0xe2)](this,arguments);};_0x4eda8b[_0x527910(0x1fe)]=_0x69ea62;}}()),_0x2cbacb[_0x26dfe6(0x2d3)][_0x26dfe6(0xe4)];}));}(Qe)),Qe[_0x57a336(0x19a)];}var hr=cr();const _r=ke(hr);var et={'exports':{}},lr=et[_0xfea5bc(0x19a)],_i;function ur(){var _0x4d6952=_0xfea5bc;return _i||(_i=0x1,function(_0x432d18,_0x38d5fb){(function(_0x2d3d49,_0x2852d8,_0x3ad9b5){_0x432d18['exports']=_0x2852d8(ne(),xi());}(lr,function(_0x280853){var _0x18c7cb=_0xce85;return _0x280853[_0x18c7cb(0xab)][_0x18c7cb(0x288)]={'pad':function(){},'unpad':function(){}},_0x280853[_0x18c7cb(0xab)][_0x18c7cb(0x288)];}));}(et)),et[_0x4d6952(0x19a)];}var dr=ur();const fr=ke(dr);function vr(_0x117bac,_0xac89d8){var _0x38293d=_0xfea5bc;const _0x4a0c4b=_0xac89d8-_0x117bac[_0x38293d(0x28a)]%_0xac89d8,_0x3ed5ac=String[_0x38293d(0x25b)](_0x4a0c4b)[_0x38293d(0x2ba)](_0x4a0c4b);return _0x117bac+_0x3ed5ac;}function _0xce85(_0x266e08,_0x472daa){var _0x10d27a=_0x10d2();return _0xce85=function(_0xce851d,_0x465177){_0xce851d=_0xce851d-0x6a;var _0x5c1328=_0x10d27a[_0xce851d];return _0x5c1328;},_0xce85(_0x266e08,_0x472daa);}function pr(_0x3afb15,_0x235273){var _0x36bdc1=_0xfea5bc;const _0x5b6a21=_r[_0x36bdc1(0x24a)](0x10),_0x58a97b=vr(_0x3afb15,0x10),_0x3073a3=tr[_0x36bdc1(0x212)](or[_0x36bdc1(0x2cb)](_0x58a97b),ai[_0x36bdc1(0x2cb)](_0x235273),{'iv':_0x5b6a21,'padding':fr});return _0x5b6a21[_0x36bdc1(0x70)](_0x3073a3[_0x36bdc1(0x1a3)])['toString'](ai);}function mr(){var _0x23b349=_0xfea5bc;const _0x4dfe2e=_0x22d849()[_0x23b349(0x2b6)];if(_0x4dfe2e){const _0xd9b797={'time':Math[_0x23b349(0x99)](Date[_0x23b349(0x348)]()/0x3e8),'domain':location[_0x23b349(0x1ac)]};return pr(JSON[_0x23b349(0x305)](_0xd9b797),_0x4dfe2e);}}var gr=Object[_0xfea5bc(0x247)],Sr=Object[_0xfea5bc(0x30f)],Er=(_0x450045,_0xdce720,_0x418700,_0xae4458)=>{var _0x212df6=_0xfea5bc;for(var _0x4521ac=_0xae4458>0x1?void 0x0:_0xae4458?Sr(_0xdce720,_0x418700):_0xdce720,_0x44f351=_0x450045[_0x212df6(0x28a)]-0x1,_0x3e6c4d;_0x44f351>=0x0;_0x44f351--)(_0x3e6c4d=_0x450045[_0x44f351])&&(_0x4521ac=(_0xae4458?_0x3e6c4d(_0xdce720,_0x418700,_0x4521ac):_0x3e6c4d(_0x4521ac))||_0x4521ac);return _0xae4458&&_0x4521ac&&gr(_0xdce720,_0x418700,_0x4521ac),_0x4521ac;},Ir=(_0x656d59,_0x1789e1)=>(_0x3c4f60,_0x3112ce)=>_0x1789e1(_0x3c4f60,_0x3112ce,_0x656d59);let at=class{constructor(_0x232784){var _0x2f56f4=_0xfea5bc;this[_0x2f56f4(0x350)]=_0x232784,this[_0x2f56f4(0x235)]();}[_0xfea5bc(0x235)](){var _0x3aa871=_0xfea5bc;this[_0x3aa871(0x350)][_0x3aa871(0x92)]({'interceptor':(_0x371001,_0x39f905)=>{var _0x554eac=_0x3aa871;const _0x511de5=_0x371001[_0x554eac(0x1e7)],_0x43cb0=mr();return _0x43cb0&&_0x511de5['set'](_0x554eac(0x170),_0x43cb0),_0x39f905(_0x371001);}});}};at=Er([Ir(0x0,_0x5d1423(_0x221528))],at);var Tr=Object[_0xfea5bc(0x247)],Cr=Object[_0xfea5bc(0x30f)],br=(_0x499be7,_0x188c4b,_0x2368aa,_0x271ea9)=>{var _0x41dc6d=_0xfea5bc;for(var _0x670997=_0x271ea9>0x1?void 0x0:_0x271ea9?Cr(_0x188c4b,_0x2368aa):_0x188c4b,_0x2d88f6=_0x499be7[_0x41dc6d(0x28a)]-0x1,_0x1ff6f3;_0x2d88f6>=0x0;_0x2d88f6--)(_0x1ff6f3=_0x499be7[_0x2d88f6])&&(_0x670997=(_0x271ea9?_0x1ff6f3(_0x188c4b,_0x2368aa,_0x670997):_0x1ff6f3(_0x670997))||_0x670997);return _0x271ea9&&_0x670997&&Tr(_0x188c4b,_0x2368aa,_0x670997),_0x670997;},gt=(_0x4c7507,_0x27eb4f)=>(_0x4b0706,_0x46d022)=>_0x27eb4f(_0x4b0706,_0x46d022,_0x4c7507);let Ot=class extends _0x186de6{constructor(_0x1c2077,_0x51c9db,_0x5318de){var _0x455525=_0xfea5bc;super(),P(this,_0x455525(0x30b),new _0x27ef72(null)),P(this,_0x455525(0x171),this[_0x455525(0x30b)][_0x455525(0xc4)]()),(this[_0x455525(0xa5)]=_0x1c2077,this['_snapshotService']=_0x51c9db,this[_0x455525(0x2b0)]=_0x5318de);}async[_0xfea5bc(0x289)](_0x1cd377,_0x54efa0,_0x2ac87e){var _0x3a279f=_0xfea5bc;this['_unitInfo$'][_0x3a279f(0x2d5)]({'unitId':_0x1cd377,'type':_0x54efa0,'subUnitId':_0x2ac87e});let _0x16b5bf=null;switch(_0x54efa0){case Q[_0x3a279f(0x14f)]:{_0x16b5bf=await this['_loadSheet'](_0x1cd377);break;}case Q[_0x3a279f(0x11b)]:{_0x16b5bf=await this['_loadDoc'](_0x1cd377);break;}default:{this['_logService'][_0x3a279f(0x36e)](_0x3a279f(0x227),_0x3a279f(0x16b));break;}}return _0x16b5bf;}async[_0xfea5bc(0x233)](_0x2c520d){var _0x21738b=_0xfea5bc,_0x3ce150;let _0x423b82=0x0;const _0x415bed=await((_0x3ce150=this[_0x21738b(0x2b0)])==null?void 0x0:_0x3ce150[_0x21738b(0x162)](_0x2c520d));return _0x415bed&&(_0x415bed[_0x21738b(0x23a)]||_0x415bed[_0x21738b(0x199)][_0x21738b(0x28a)]!==0x0)&&(_0x423b82=_0x415bed[_0x21738b(0xb5)]),_0x423b82===0x0&&this[_0x21738b(0xa5)]['debug']('[DataLoaderService]',_0x21738b(0x1aa)),this[_0x21738b(0x1dc)][_0x21738b(0x2bd)](_0x2c520d,_0x423b82);}async[_0xfea5bc(0x13f)](_0x1b4234){var _0x230cd5=_0xfea5bc,_0x795026;let _0x4ed307=0x0;const _0x3b7596=await((_0x795026=this[_0x230cd5(0x2b0)])==null?void 0x0:_0x795026[_0x230cd5(0x162)](_0x1b4234));return _0x3b7596&&(_0x3b7596[_0x230cd5(0x23a)]||_0x3b7596[_0x230cd5(0x199)]['length']!==0x0)&&(_0x4ed307=_0x3b7596['rev']),_0x4ed307===0x0&&this[_0x230cd5(0xa5)]['debug'](_0x230cd5(0x227),_0x230cd5(0x1aa)),this[_0x230cd5(0x1dc)]['loadDoc'](_0x1b4234,_0x4ed307);}};Ot=br([gt(0x0,_0x43687c),gt(0x1,_0x5d1423(_0x29e361)),gt(0x2,_0x52513a(X))],Ot);var Rr=Object[_0xfea5bc(0x247)],yr=Object[_0xfea5bc(0x30f)],Or=(_0x495d95,_0xf7d2d0,_0x26fefe,_0x508ffc)=>{var _0x158a01=_0xfea5bc;for(var _0x546757=_0x508ffc>0x1?void 0x0:_0x508ffc?yr(_0xf7d2d0,_0x26fefe):_0xf7d2d0,_0x3efa1f=_0x495d95[_0x158a01(0x28a)]-0x1,_0xd53a11;_0x3efa1f>=0x0;_0x3efa1f--)(_0xd53a11=_0x495d95[_0x3efa1f])&&(_0x546757=(_0x508ffc?_0xd53a11(_0xf7d2d0,_0x26fefe,_0x546757):_0xd53a11(_0x546757))||_0x546757);return _0x508ffc&&_0x546757&&Rr(_0xf7d2d0,_0x26fefe,_0x546757),_0x546757;},St=(_0x3234a7,_0x36f2ec)=>(_0x275316,_0x4e9b4b)=>_0x36f2ec(_0x275316,_0x4e9b4b,_0x3234a7);const Nr=[_0xfea5bc(0x17f),'image/jpeg',_0xfea5bc(0x21b),_0xfea5bc(0x137),_0xfea5bc(0x36a)],Pr=0x5*0x400*0x400,Dr=_0xfea5bc(0x318),wr=_0xfea5bc(0xbb),Ur=_0xfea5bc(0x286),Ar=_0xfea5bc(0x31f);let Nt=class{constructor(_0x17712c,_0x359858,_0x3032c1){var _0x53e869=_0xfea5bc;P(this,_0x53e869(0x2c3),0x0),P(this,_0x53e869(0xc0),new _0x259d5d()),P(this,'change$',this[_0x53e869(0xc0)]),P(this,'_imageSourceCache',new Map()),(this[_0x53e869(0x350)]=_0x17712c,this[_0x53e869(0x132)]=_0x359858,this[_0x53e869(0x2fb)]=_0x3032c1);}[_0xfea5bc(0x72)](_0x33e0dd){var _0x22a074=_0xfea5bc;this[_0x22a074(0x2c3)]=_0x33e0dd,this[_0x22a074(0xc0)][_0x22a074(0x2d5)](_0x33e0dd);}['getImageSourceCache'](_0x48668d,_0x1b420b){var _0x3306d9=_0xfea5bc;if(_0x1b420b===_0x2c16d2[_0x3306d9(0x25d)]){const _0x28e9b7=new Image();return _0x28e9b7['src']=_0x48668d,_0x28e9b7;}return this[_0x3306d9(0xef)]['get'](_0x48668d);}['addImageSourceCache'](_0xcca7e7,_0x532658,_0x2201c4){var _0x22df73=_0xfea5bc;_0x532658===_0x2c16d2[_0x22df73(0x25d)]||_0x2201c4==null||this[_0x22df73(0xef)]['set'](_0xcca7e7,_0x2201c4);}async[_0xfea5bc(0xf0)](_0x50cced){var _0x474c5a=_0xfea5bc;try{const _0x428d6b=this[_0x474c5a(0x177)](this[_0x474c5a(0x30d)](),''+_0x50cced),_0x404f24=(await this[_0x474c5a(0x350)]['get'](_0x428d6b))[_0x474c5a(0x205)];if(_0x404f24[_0x474c5a(0x36e)]&&_0x404f24[_0x474c5a(0x36e)][_0x474c5a(0x17c)]===Ti['OK']){const _0x27ae35=new URL(_0x404f24[_0x474c5a(0x332)],this[_0x474c5a(0x2b3)]())[_0x474c5a(0x214)]();return Promise[_0x474c5a(0x107)](_0x27ae35);}return Promise[_0x474c5a(0x172)](_0x404f24[_0x474c5a(0x36e)]);}catch(_0x2badd6){return Promise[_0x474c5a(0x172)](_0x2badd6);}}async[_0xfea5bc(0x106)](_0x3e8e37){var _0x5b1565=_0xfea5bc;let _0x29bb96='';if(!Nr['includes'](_0x3e8e37[_0x5b1565(0x32a)]))return this[_0x5b1565(0xa4)](),Promise[_0x5b1565(0x172)](new Error(_0x556ec1['ERROR_IMAGE_TYPE']));if(_0x3e8e37[_0x5b1565(0x23b)]>Pr)return this['_decreaseWaiting'](),Promise[_0x5b1565(0x172)](new Error(_0x556ec1[_0x5b1565(0x28f)]));try{const _0x352713=new FormData();_0x352713[_0x5b1565(0x155)]('file',_0x3e8e37);const _0x36827b=this[_0x5b1565(0x2fb)][_0x5b1565(0x1b5)](),_0x1fa2fb=_0x36827b==null?void 0x0:_0x36827b['getUnitId']();if(!_0x1fa2fb)throw new Error(_0x5b1565(0x303));const _0x12a3bf=this[_0x5b1565(0x158)]()+_0x5b1565(0x2b4)+_0x3e8e37[_0x5b1565(0x23b)][_0x5b1565(0x214)]()+'&source='+Ci[_0x5b1565(0x14a)]+_0x5b1565(0x275)+encodeURIComponent(_0x1fa2fb),_0x4048ef=await(await fetch(_0x12a3bf,{'method':'POST','body':_0x352713}))[_0x5b1565(0x196)]();if(typeof _0x4048ef[_0x5b1565(0x297)]!='string')return this[_0x5b1565(0xa4)](),Promise[_0x5b1565(0x172)](new Error(_0x556ec1['ERROR_IMAGE']));_0x29bb96=_0x4048ef[_0x5b1565(0x297)];}catch{return this['_decreaseWaiting'](),Promise[_0x5b1565(0x172)](new Error(_0x556ec1[_0x5b1565(0x1f2)]));}return new Promise((_0x2616c2,_0x8a2f67)=>{var _0x2d8434=_0x5b1565;const _0x524b32=new FileReader();_0x524b32[_0x2d8434(0x15b)](_0x3e8e37),_0x524b32[_0x2d8434(0x240)]=_0x54abef=>{var _0x60bbc5=_0x2d8434,_0x5381c9;const _0x2d3760=(_0x5381c9=_0x54abef['target'])==null?void 0x0:_0x5381c9['result'];if(_0x2d3760==null){this[_0x60bbc5(0xa4)](),_0x8a2f67(new Error(_0x556ec1[_0x60bbc5(0x1f2)]));return;}const _0x4db528=_0x8cc875['generateRandomId'](0x6);_0x2616c2({'imageId':_0x4db528,'imageSourceType':_0x2c16d2[_0x60bbc5(0x273)],'source':_0x29bb96,'base64Cache':_0x2d3760,'status':_0x556ec1[_0x60bbc5(0x314)]}),this[_0x60bbc5(0xa4)]();};});}[_0xfea5bc(0x158)](){var _0x1986b7=_0xfea5bc,_0x418ac9,_0x34c2d2;const _0x315f5b=this['_configService'][_0x1986b7(0x30a)](Dr),_0x38da8c=this['_configService'][_0x1986b7(0x30a)](Y);return(_0x34c2d2=(_0x418ac9=_0x38da8c==null?void 0x0:_0x38da8c[_0x1986b7(0x1b0)])!=null?_0x418ac9:_0x315f5b)!=null?_0x34c2d2:wr;}['_getSignURL'](){var _0x2e4693=_0xfea5bc,_0x3087f8,_0x1c2f26;const _0x293b11=this[_0x2e4693(0x132)]['getConfig'](Ur),_0x409c4c=this['_configService'][_0x2e4693(0x30a)](Y);return(_0x1c2f26=(_0x3087f8=_0x409c4c==null?void 0x0:_0x409c4c[_0x2e4693(0xf2)])!=null?_0x3087f8:_0x293b11)!=null?_0x1c2f26:Ar;}[_0xfea5bc(0x2b3)](){var _0x422f1c=_0xfea5bc,_0x27c0cc;const _0x5d177d=this[_0x422f1c(0x132)][_0x422f1c(0x30a)](Y);return(_0x27c0cc=_0x5d177d==null?void 0x0:_0x5d177d[_0x422f1c(0x29d)])!=null?_0x27c0cc:location['origin'];}['_replaceFileID'](_0x5d3873,_0x103776){var _0x2c23a6=_0xfea5bc;return _0x5d3873[_0x2c23a6(0x167)](_0x2c23a6(0x245),_0x103776);}[_0xfea5bc(0xa4)](){var _0x38d5b8=_0xfea5bc;this['_waitCount']-=0x1,this[_0x38d5b8(0xc0)][_0x38d5b8(0x2d5)](this[_0x38d5b8(0x2c3)]);}};Nt=Or([St(0x0,_0x5d1423(_0x221528)),St(0x1,_0x39bec4),St(0x2,_0x5d1423(_0x248930))],Nt);var xr=Object['defineProperty'],Lr=Object[_0xfea5bc(0x30f)],Mr=(_0x3d344a,_0x305415,_0x19d642,_0x24950f)=>{var _0x13440b=_0xfea5bc;for(var _0xa56d23=_0x24950f>0x1?void 0x0:_0x24950f?Lr(_0x305415,_0x19d642):_0x305415,_0xee6a45=_0x3d344a[_0x13440b(0x28a)]-0x1,_0x249e13;_0xee6a45>=0x0;_0xee6a45--)(_0x249e13=_0x3d344a[_0xee6a45])&&(_0xa56d23=(_0x24950f?_0x249e13(_0x305415,_0x19d642,_0xa56d23):_0x249e13(_0xa56d23))||_0xa56d23);return _0x24950f&&_0xa56d23&&xr(_0x305415,_0x19d642,_0xa56d23),_0xa56d23;},li=(_0x59886b,_0xbad9c7)=>(_0x393437,_0x2792fa)=>_0xbad9c7(_0x393437,_0x2792fa,_0x59886b);const $r='/universer-api/authz';let Pt=class{constructor(_0x43f63f,_0x2fb7ba){var _0x369d3d=_0xfea5bc;this[_0x369d3d(0x132)]=_0x43f63f,this[_0x369d3d(0x357)]=_0x2fb7ba;}['_getAPIPrefixPath'](){var _0x49ee61=_0xfea5bc,_0x263b0f,_0x30be6c;const _0x1499e8=this[_0x49ee61(0x132)][_0x49ee61(0x30a)](wi),_0x1a7ebf=this[_0x49ee61(0x132)]['getConfig'](Y);return(_0x30be6c=(_0x263b0f=_0x1a7ebf==null?void 0x0:_0x1a7ebf[_0x49ee61(0x7b)])!=null?_0x263b0f:_0x1499e8)!=null?_0x30be6c:$r;}async[_0xfea5bc(0x31d)](_0x4321fd){var _0x83a629=_0xfea5bc;const _0x3612c1=this[_0x83a629(0x79)]()+_0x83a629(0x2ff);return{'list':[{'title':'People','mentions':(await this['_HTTPService']['get'](_0x3612c1,{'params':{'objectID':_0x4321fd[_0x83a629(0x283)],'unitID':_0x4321fd[_0x83a629(0x283)]}}))[_0x83a629(0x205)][_0x83a629(0x133)][_0x83a629(0x22e)](_0x4c6ac1=>({'objectId':_0x4c6ac1['id'],'name':_0x4c6ac1['subject'][_0x83a629(0x1a8)],'metadata':{'icon':_0x4c6ac1['subject'][_0x83a629(0x1fc)]},'label':_0x4c6ac1[_0x83a629(0x80)][_0x83a629(0x1a8)],'objectType':_0x525d5e[_0x83a629(0x25e)]})),'metadata':{},'type':_0x525d5e[_0x83a629(0x25e)]}]};}};Pt=Mr([li(0x0,_0x5d1423(_0x39bec4)),li(0x1,_0x5d1423(_0x221528))],Pt);var Hr=Object[_0xfea5bc(0x247)],kr=Object[_0xfea5bc(0x30f)],jr=(_0x3ba474,_0x219c57,_0x14830a,_0x578b8f)=>{var _0x427233=_0xfea5bc;for(var _0x5d384a=_0x578b8f>0x1?void 0x0:_0x578b8f?kr(_0x219c57,_0x14830a):_0x219c57,_0x482112=_0x3ba474[_0x427233(0x28a)]-0x1,_0x64f627;_0x482112>=0x0;_0x482112--)(_0x64f627=_0x3ba474[_0x482112])&&(_0x5d384a=(_0x578b8f?_0x64f627(_0x219c57,_0x14830a,_0x5d384a):_0x64f627(_0x5d384a))||_0x5d384a);return _0x578b8f&&_0x5d384a&&Hr(_0x219c57,_0x14830a,_0x5d384a),_0x5d384a;},Se=(_0x27db66,_0x4f49d4)=>(_0x2bc007,_0x2b619b)=>_0x4f49d4(_0x2bc007,_0x2b619b,_0x27db66);let ct=class extends _0x186de6{constructor(_0x2e6bde,_0x237938,_0x4723bc,_0xe3854c,_0x525818,_0x44e26c,_0x478436){var _0x281e9d=_0xfea5bc;super(),this[_0x281e9d(0x239)]=_0x2e6bde,this[_0x281e9d(0x2fb)]=_0x237938,this[_0x281e9d(0x130)]=_0x4723bc,this[_0x281e9d(0x2db)]=_0xe3854c,this[_0x281e9d(0x207)]=_0x525818,this['_authzIoService']=_0x44e26c,this[_0x281e9d(0xce)]=_0x478436,this[_0x281e9d(0xf8)](),this[_0x281e9d(0x19e)]();}['_initCloseConn'](){var _0x41b20a=_0xfea5bc;const _0xa98064=async _0x4565f1=>{var _0x2d6369=_0xce85;(await this[_0x2d6369(0x2db)][_0x2d6369(0x135)](_0x4565f1))[_0x2d6369(0xf4)][_0x2d6369(0x7f)](_0x57ea80(_0x461b16=>_0x461b16[_0x2d6369(0x145)]===_0x41c4be[_0x2d6369(0x102)]),_0x334fe5(this['dispose$']))[_0x2d6369(0x2d7)](_0x38499f=>{var _0x25999a=_0x2d6369;const _0xb9adb2=_0x38499f,{reason:_0x25ea62}=_0xb9adb2[_0x25999a(0x2e1)];this[_0x25999a(0x207)][_0x25999a(0x23d)]({'id':re[_0x25999a(0x1f3)],'data':_0x25ea62}),this[_0x25999a(0x130)][_0x25999a(0x230)](new _0x3afaa1(_0x4565f1)['id'],!0x1),this[_0x25999a(0x2db)]['closeSession'](_0x4565f1);});};_0x22f8bf(this['_univerInstanceService'][_0x41b20a(0x1f1)](_0x583f53[_0x41b20a(0x14f)]),this['_univerInstanceService'][_0x41b20a(0x1f1)](_0x583f53['UNIVER_DOC']))[_0x41b20a(0x7f)](_0x4e6d97(_0x99783a=>_0x99783a[_0x41b20a(0x33d)]()),_0x57ea80(_0xc0c836=>!_0x5f1df2(_0xc0c836)),_0x334fe5(this[_0x41b20a(0x35d)]))[_0x41b20a(0x2d7)](_0xdf506d=>{_0xa98064(_0xdf506d);});}[_0xfea5bc(0xf8)](){var _0x445547=_0xfea5bc;const _0x10ad72=async _0xf8a406=>{var _0x56cdbc=_0xce85;(await this[_0x56cdbc(0x2db)][_0x56cdbc(0x135)](_0xf8a406))[_0x56cdbc(0xf4)][_0x56cdbc(0x7f)](_0x57ea80(_0x1ca1d9=>_0x1ca1d9['eventID']===_0x41c4be[_0x56cdbc(0x295)]),_0x334fe5(this[_0x56cdbc(0x35d)]))['subscribe'](_0x53ac5c=>{var _0x2d2e44=_0x56cdbc;const _0x43f0e1=_0x53ac5c,{objectId:_0x180970}=_0x43f0e1['data'];_0x180970===_0xf8a406?this[_0x2d2e44(0x21c)](_0xf8a406):this[_0x2d2e44(0x17d)](_0xf8a406,_0x180970);});};_0x22f8bf(this[_0x445547(0x2fb)][_0x445547(0x1f1)](_0x583f53['UNIVER_SHEET']),this[_0x445547(0x2fb)][_0x445547(0x1f1)](_0x583f53['UNIVER_DOC']))[_0x445547(0x7f)](_0x4e6d97(_0x5d3185=>_0x5d3185[_0x445547(0x33d)]()),_0x57ea80(_0xea3ea9=>!_0x5f1df2(_0xea3ea9)),_0x334fe5(this[_0x445547(0x35d)]))[_0x445547(0x2d7)](_0x3d334a=>{_0x10ad72(_0x3d334a);});}async[_0xfea5bc(0x21c)](_0x5d427f){var _0x40d7e8=_0xfea5bc,_0x29a0af;const _0x2b3b86=_0x5d427f||((_0x29a0af=this['_univerInstanceService'][_0x40d7e8(0x1ab)](_0x583f53[_0x40d7e8(0x14f)]))==null?void 0x0:_0x29a0af[_0x40d7e8(0x33d)]());_0x2b3b86&&this[_0x40d7e8(0x32e)][_0x40d7e8(0x2f6)]({'objectID':_0x2b3b86,'objectType':_0x88a096['Workbook'],'unitID':_0x2b3b86,'actions':_0x31db20})[_0x40d7e8(0x82)](_0x5b80e2=>{var _0xb769fb=_0x40d7e8;_0x49d77f()[_0xb769fb(0x19f)](_0x4c4c14=>{var _0x3c1d97=_0xb769fb;const _0x1354ff=new _0x4c4c14(_0x2b3b86),_0x4a7d39=_0x1354ff['subType'],_0x1a1c8f=_0x5b80e2[_0x3c1d97(0x1a5)](_0xf56d5=>_0xf56d5[_0x3c1d97(0xf5)]===_0x4a7d39);_0x1a1c8f&&this[_0x3c1d97(0x130)][_0x3c1d97(0x230)](_0x1354ff['id'],_0x1a1c8f[_0x3c1d97(0x2f6)]);});});}['refreshPermission'](_0x20a7ec,_0x349fef){var _0x2eaeab=_0xfea5bc;const _0x5e9cfe=this[_0x2eaeab(0x239)][_0x2eaeab(0x1da)](_0x48bd95),_0x151cf8=_0x5e9cfe['getTargetByPermissionId'](_0x20a7ec,_0x349fef);let _0x1e5477=!0x1;if(_0x151cf8){const [_0x304ae5,_0x155506]=_0x151cf8;this['_authzIoService'][_0x2eaeab(0x2f6)]({'objectID':_0x349fef,'unitID':_0x20a7ec,'objectType':_0x88a096[_0x2eaeab(0x1a0)],'actions':_0x249c67})['then'](_0x15fa30=>{var _0x5a3f93=_0x2eaeab;let _0x159a14='';_0xd3dfbc()[_0x5a3f93(0x19f)](_0x1eb49d=>{var _0x293ac7=_0x5a3f93,_0x1e7d13;const _0x2b3068=new _0x1eb49d(_0x20a7ec,_0x155506),_0x3b4b7c=_0x2b3068[_0x293ac7(0x189)],_0x13ada5=_0x15fa30[_0x293ac7(0x1a5)](_0x447d88=>_0x447d88[_0x293ac7(0xf5)]===_0x3b4b7c);_0x13ada5&&(((_0x1e7d13=this[_0x293ac7(0x130)][_0x293ac7(0x36b)](_0x2b3068['id']))==null?void 0x0:_0x1e7d13[_0x293ac7(0x268)])!==_0x13ada5['allowed']&&(_0x1e5477=!0x0),this[_0x293ac7(0x130)][_0x293ac7(0x230)](_0x2b3068['id'],_0x13ada5['allowed']),_0x159a14+=_0x13ada5[_0x293ac7(0xf5)]+'_'+_0x13ada5['allowed']);}),_0x5e9cfe[_0x5a3f93(0xfa)](_0x349fef+'_'+_0x159a14),_0x1e5477&&this[_0x5a3f93(0xce)]['clearUndoRedo'](_0x20a7ec);});}const _0x2bb7bd=this[_0x2eaeab(0x239)][_0x2eaeab(0x1da)](_0xb0a835)['getTargetByPermissionId'](_0x20a7ec,_0x349fef);if(_0x2bb7bd){const [_0x625602,_0xf8a07b]=_0x2bb7bd;this[_0x2eaeab(0x32e)][_0x2eaeab(0x2f6)]({'objectID':_0x349fef,'unitID':_0x20a7ec,'objectType':_0x88a096[_0x2eaeab(0x1a0)],'actions':_0x4e4db2})['then'](_0x5e246b=>{var _0x2bcf00=_0x2eaeab;_0x5e58f7()[_0x2bcf00(0x19f)](_0x247a74=>{var _0x596e9f=_0x2bcf00,_0x261756;const _0x198ec8=new _0x247a74(_0x20a7ec,_0xf8a07b),_0x4c7383=_0x198ec8['subType'],_0x2e3aca=_0x5e246b[_0x596e9f(0x1a5)](_0x6f3a01=>_0x6f3a01[_0x596e9f(0xf5)]===_0x4c7383);_0x2e3aca&&(((_0x261756=this[_0x596e9f(0x130)][_0x596e9f(0x36b)](_0x198ec8['id']))==null?void 0x0:_0x261756[_0x596e9f(0x268)])!==_0x2e3aca['allowed']&&(_0x1e5477=!0x0),this['_permissionService'][_0x596e9f(0x230)](_0x198ec8['id'],_0x2e3aca['allowed']));}),_0x1e5477&&this[_0x2bcf00(0xce)][_0x2bcf00(0x34c)](_0x20a7ec);});}const _0x353e7c=this[_0x2eaeab(0x239)][_0x2eaeab(0x1da)](_0x291fc6),_0x3aaa0c=_0x353e7c[_0x2eaeab(0x76)](_0x20a7ec,_0x349fef);if(_0x3aaa0c){const [_0x447608,_0x19f7bd]=_0x3aaa0c;this[_0x2eaeab(0x32e)][_0x2eaeab(0x2f6)]({'objectID':_0x349fef,'unitID':_0x20a7ec,'objectType':_0x88a096[_0x2eaeab(0x1e8)],'actions':_0x249c67})[_0x2eaeab(0x82)](_0x1db417=>{var _0x4f1da6=_0x2eaeab;let _0x34d36d='';_0x2a09e1()[_0x4f1da6(0x19f)](_0x5bc700=>{var _0x1073af=_0x4f1da6,_0x79a4eb;const _0x3822f5=new _0x5bc700(_0x20a7ec,_0x19f7bd,_0x349fef),_0x3e55ea=_0x3822f5[_0x1073af(0x189)],_0x350430=_0x1db417[_0x1073af(0x1a5)](_0x3dd524=>_0x3dd524[_0x1073af(0xf5)]===_0x3e55ea);_0x350430&&(((_0x79a4eb=this[_0x1073af(0x130)][_0x1073af(0x36b)](_0x3822f5['id']))==null?void 0x0:_0x79a4eb[_0x1073af(0x268)])!==_0x350430[_0x1073af(0x2f6)]&&(_0x1e5477=!0x0),this[_0x1073af(0x130)][_0x1073af(0x230)](_0x3822f5['id'],_0x350430[_0x1073af(0x2f6)]),_0x34d36d+=_0x350430[_0x1073af(0xf5)]+'_'+_0x350430[_0x1073af(0x2f6)]);}),_0x353e7c[_0x4f1da6(0xfa)](_0x349fef+'_'+_0x34d36d),_0x1e5477&&this['_undoRedoService'][_0x4f1da6(0x34c)](_0x20a7ec);});}}};ct=jr([Se(0x0,_0x5d1423(_0xd0e7e3)),Se(0x1,_0x248930),Se(0x2,_0x5cf24c),Se(0x3,_0x5d1423(Le)),Se(0x4,_0x5d1423(pe)),Se(0x5,_0x4b1b13),Se(0x6,_0x2b9d6a)],ct);var Br=Object[_0xfea5bc(0x247)],Fr=Object[_0xfea5bc(0x30f)],Vr=(_0x3806c9,_0x431f71,_0x524417,_0x3a012f)=>{for(var _0x123066=_0x3a012f>0x1?void 0x0:_0x3a012f?Fr(_0x431f71,_0x524417):_0x431f71,_0x146007=_0x3806c9['length']-0x1,_0x327a97;_0x146007>=0x0;_0x146007--)(_0x327a97=_0x3806c9[_0x146007])&&(_0x123066=(_0x3a012f?_0x327a97(_0x431f71,_0x524417,_0x123066):_0x327a97(_0x123066))||_0x123066);return _0x3a012f&&_0x123066&&Br(_0x431f71,_0x524417,_0x123066),_0x123066;},ui=(_0x572771,_0xe72be8)=>(_0x43b8cf,_0x141839)=>_0xe72be8(_0x43b8cf,_0x141839,_0x572771);let Dt=class{constructor(_0x4f17a9,_0xb85f08){var _0x1fa9f1=_0xfea5bc;this[_0x1fa9f1(0x132)]=_0x4f17a9,this[_0x1fa9f1(0x350)]=_0xb85f08;}async[_0xfea5bc(0x14e)](_0x172fa2,_0x47fba6){var _0x353101=_0xfea5bc,_0x15d2d0;const {unitID:_0x3c9c0c,type:_0xf4f6b4,revision:_0x42f046=0x0}=_0x47fba6,_0x4722b9=this[_0x353101(0xda)]()+'/'+_0xf4f6b4+_0x353101(0x2ce)+_0x3c9c0c+_0x353101(0xff)+_0x42f046,_0x4482d8=(await this['_httpService'][_0x353101(0x1da)](_0x4722b9))[_0x353101(0x205)],_0x2b6117=(_0x15d2d0=_0x4482d8[_0x353101(0x2d6)])==null?void 0x0:_0x15d2d0[_0x353101(0x361)];if(_0x2b6117){const _0x30e110=_0x2b6117==null?void 0x0:_0x2b6117['originalMeta'],_0x485c92=_0x3c6568[_0x353101(0x29e)](_0x133354(_0x30e110));_0x2b6117['originalMeta']=_0x485c92,Object['entries'](_0x2b6117[_0x353101(0x17e)])[_0x353101(0x19f)](([,_0x3a59e4])=>{var _0x5d38d7=_0x353101;const _0x55da58=_0x3a59e4[_0x5d38d7(0x261)],_0x559553=_0x3c6568['encode'](_0x133354(_0x55da58));_0x3a59e4[_0x5d38d7(0x261)]=_0x559553;});}return _0x4482d8;}async[_0xfea5bc(0xa8)](_0x5a1e26,_0x56f19e){var _0x4f1fc1=_0xfea5bc;const {unitID:_0x3f028e,type:_0x989dec,blockID:_0x33fae9}=_0x56f19e,_0xb9c15b=this[_0x4f1fc1(0x8d)]()+'/'+_0x989dec+'/unit/'+_0x3f028e+_0x4f1fc1(0x16e)+_0x33fae9;return(await this[_0x4f1fc1(0x350)][_0x4f1fc1(0x1da)](_0xb9c15b))[_0x4f1fc1(0x205)];}async[_0xfea5bc(0x190)](_0x4ea7fd,_0x5801f5){var _0x2c5385=_0xfea5bc;const {unitID:_0x347614,type:_0x3bc79b,blockID:_0x1d6a51}=_0x5801f5,_0x29709d=this[_0x2c5385(0x8d)]()+_0x2c5385(0x16e)+_0x3bc79b+_0x2c5385(0x2ce)+_0x347614+_0x2c5385(0x16e)+_0x1d6a51;return(await this['_httpService'][_0x2c5385(0x1da)](_0x29709d))[_0x2c5385(0x205)];}async[_0xfea5bc(0x1e4)](_0x145798,_0x57f8d5){var _0x313a76=_0xfea5bc;const {unitID:_0x27d68d,type:_0x5b812a,from:_0x228f18,to:_0x25f99f}=_0x57f8d5,_0x221800=this[_0x313a76(0x8d)]()+'/'+_0x5b812a+_0x313a76(0x2ce)+_0x27d68d+_0x313a76(0x1a2)+_0x228f18+_0x313a76(0x2b9)+_0x25f99f;return(await this[_0x313a76(0x350)][_0x313a76(0x1da)](_0x221800))[_0x313a76(0x205)];}['getSnapshotAPIPath'](){var _0x56ddad=_0xfea5bc,_0x26bf93;return(_0x26bf93=this[_0x56ddad(0x132)][_0x56ddad(0x30a)](Dn))!=null?_0x26bf93:this[_0x56ddad(0x8d)]();}['_getAPIPrefix'](){var _0x37a9ab=_0xfea5bc,_0x4487ad,_0x1f2a1c;const _0x2540bc=this[_0x37a9ab(0x132)]['getConfig'](Nn),_0x118ff7=this[_0x37a9ab(0x132)][_0x37a9ab(0x30a)](Y);return(_0x1f2a1c=(_0x4487ad=_0x118ff7==null?void 0x0:_0x118ff7[_0x37a9ab(0x1c6)])!=null?_0x4487ad:_0x2540bc)!=null?_0x1f2a1c:Pn;}async['getResourcesRequest'](_0x42bc19,_0x2f1fe5){var _0x28c80f=_0xfea5bc;const _0x25108f=_0x28c80f(0x1bb)+_0x2f1fe5[_0x28c80f(0x32a)]+_0x28c80f(0x2ce)+_0x2f1fe5[_0x28c80f(0x241)]+_0x28c80f(0x136);return(await this[_0x28c80f(0x350)][_0x28c80f(0x1da)](_0x25108f,{'params':{'resourceId':JSON['stringify'](_0x2f1fe5[_0x28c80f(0x25a)])}}))[_0x28c80f(0x205)];}[_0xfea5bc(0x122)](){var _0x529bcd=_0xfea5bc;throw new Error(_0x529bcd(0x325));}[_0xfea5bc(0x30e)](){var _0x979311=_0xfea5bc;throw new Error(_0x979311(0x325));}[_0xfea5bc(0x197)](){var _0x404ead=_0xfea5bc;throw new Error(_0x404ead(0x325));}[_0xfea5bc(0x363)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){var _0xdb53e8=_0xfea5bc;throw new Error(_0xdb53e8(0x325));}};Dt=Vr([ui(0x0,_0x39bec4),ui(0x1,_0x5d1423(_0x221528))],Dt);var Wr=Object[_0xfea5bc(0x247)],Gr=Object[_0xfea5bc(0x30f)],Kr=(_0x5e1bd3,_0x27541f,_0x419176,_0x88d734)=>{var _0x6ab63b=_0xfea5bc;for(var _0x17bb5a=_0x88d734>0x1?void 0x0:_0x88d734?Gr(_0x27541f,_0x419176):_0x27541f,_0x39ed5a=_0x5e1bd3[_0x6ab63b(0x28a)]-0x1,_0x6c2189;_0x39ed5a>=0x0;_0x39ed5a--)(_0x6c2189=_0x5e1bd3[_0x39ed5a])&&(_0x17bb5a=(_0x88d734?_0x6c2189(_0x27541f,_0x419176,_0x17bb5a):_0x6c2189(_0x17bb5a))||_0x17bb5a);return _0x88d734&&_0x17bb5a&&Wr(_0x27541f,_0x419176,_0x17bb5a),_0x17bb5a;},Ae=(_0x2c6176,_0x420ee6)=>(_0x11724d,_0x3848f4)=>_0x420ee6(_0x11724d,_0x3848f4,_0x2c6176);let wt=class extends _0x80d44f{constructor(_0x451c45,_0x2babe6,_0x43247c,_0x36c6cb,_0x691769){var _0xd12e6e=_0xfea5bc;super(_0x451c45,_0x2babe6,_0x43247c),this[_0xd12e6e(0x175)]=_0x36c6cb,this[_0xd12e6e(0xa5)]=_0x691769;}[_0xfea5bc(0x374)](_0x3c8e7f,_0x387679){var _0x782d04=_0xfea5bc;const _0x437f3e=this[_0x782d04(0x121)](_0x3c8e7f);if(_0x437f3e)try{const _0x115757=this[_0x782d04(0x1e1)](_0x437f3e,_0x387679);this[_0x782d04(0x223)](_0x3c8e7f,_0x115757);}catch(_0x4dd285){this[_0x782d04(0xa5)]['error']('[CollaborationUndoRedoService]',_0x4dd285),this[_0x782d04(0x108)](_0x3c8e7f);}const _0x258468=this[_0x782d04(0x1d5)](_0x3c8e7f);if(_0x258468)try{const _0x20b294=this[_0x782d04(0x1e1)](_0x258468,_0x387679);this[_0x782d04(0x10e)](_0x3c8e7f,_0x20b294);}catch(_0x64f39e){this[_0x782d04(0xa5)][_0x782d04(0x36e)](_0x64f39e),this[_0x782d04(0x174)](_0x3c8e7f);}}['_clearUndo'](_0x55a076){var _0x4e4286=_0xfea5bc;const _0xca86fc=this[_0x4e4286(0x121)](_0x55a076);_0xca86fc&&(_0xca86fc[_0x4e4286(0x28a)]=0x0,this['_updateStatus']());}[_0xfea5bc(0x174)](_0x8c4036){var _0x5cb36f=_0xfea5bc;const _0x1d2bff=this[_0x5cb36f(0x1d5)](_0x8c4036);_0x1d2bff&&(_0x1d2bff[_0x5cb36f(0x28a)]=0x0,this[_0x5cb36f(0x85)]());}[_0xfea5bc(0x223)](_0x584fc4,_0x4715be){var _0x40876b=_0xfea5bc;this['_undoStacks'][_0x40876b(0x1cc)](_0x584fc4,_0x4715be),this[_0x40876b(0x85)]();}[_0xfea5bc(0x10e)](_0x1e4733,_0x35d7c7){var _0x238b6e=_0xfea5bc;this['_redoStacks'][_0x238b6e(0x1cc)](_0x1e4733,_0x35d7c7),this[_0x238b6e(0x85)]();}[_0xfea5bc(0x1e1)](_0x3ad41e,_0xf1b855){var _0x582dd6=_0xfea5bc;const _0x5ee003=[];let _0x146e36=_0xf1b855,_0x57a0c6=_0xf1b855;for(let _0x4cfd0d=_0x3ad41e[_0x582dd6(0x28a)]-0x1;_0x4cfd0d>=0x0;_0x4cfd0d--){const {unitID:_0x36b379,undoMutations:_0x187399,redoMutations:_0xa7985}=_0x3ad41e[_0x4cfd0d],_0xc249ef=this[_0x582dd6(0x175)][_0x582dd6(0xa7)](_0x146e36,_0x187399),_0x22cae4=this[_0x582dd6(0x175)][_0x582dd6(0xa7)](_0x57a0c6,_0xa7985);if(_0x197898(_0xc249ef)||_0x197898(_0x22cae4)){this['_logService'][_0x582dd6(0x36e)]('[CollaborationUndoRedoService]',_0x582dd6(0x1c9),_0xc249ef,_0x22cae4);break;}_0x146e36=_0xc249ef['c1Prime'],_0x57a0c6=_0x22cae4['c1Prime'],_0x5ee003['push']({'unitID':_0x36b379,'undoMutations':_0xc249ef[_0x582dd6(0x1e9)],'redoMutations':_0x22cae4[_0x582dd6(0x1e9)]});}return _0x5ee003[_0x582dd6(0x19d)]();}};wt=Kr([Ae(0x0,_0x248930),Ae(0x1,_0x185ede),Ae(0x2,_0x1fb165),Ae(0x3,_0x12a25b),Ae(0x4,_0x43687c)],wt);var Li=Object[_0xfea5bc(0x247)],zr=Object[_0xfea5bc(0x30f)],Yr=(_0x37be0f,_0x142b6e,_0x3372d)=>_0x142b6e in _0x37be0f?Li(_0x37be0f,_0x142b6e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3372d}):_0x37be0f[_0x142b6e]=_0x3372d,qr=(_0x5c5029,_0x5991d8,_0x3faac5,_0x13ca6e)=>{var _0x12b416=_0xfea5bc;for(var _0x25ace8=_0x13ca6e>0x1?void 0x0:_0x13ca6e?zr(_0x5991d8,_0x3faac5):_0x5991d8,_0xc3cfff=_0x5c5029[_0x12b416(0x28a)]-0x1,_0x3d8569;_0xc3cfff>=0x0;_0xc3cfff--)(_0x3d8569=_0x5c5029[_0xc3cfff])&&(_0x25ace8=(_0x13ca6e?_0x3d8569(_0x5991d8,_0x3faac5,_0x25ace8):_0x3d8569(_0x25ace8))||_0x25ace8);return _0x13ca6e&&_0x25ace8&&Li(_0x5991d8,_0x3faac5,_0x25ace8),_0x25ace8;},Et=(_0x3ef93f,_0xe6732f)=>(_0x2ef674,_0x30b6ec)=>_0xe6732f(_0x2ef674,_0x30b6ec,_0x3ef93f),Jr=(_0x4b749d,_0x5a4487,_0x2d4cf1)=>Yr(_0x4b749d,_0x5a4487+'',_0x2d4cf1);const Xr=_0xfea5bc(0x1a1);let Ut=class extends _0x5dad89{constructor(_0x36778a=Wn,_0x4ed0da,_0x223281,_0x559774){var _0x5cd985=_0xfea5bc;super(),this[_0x5cd985(0xf9)]=_0x36778a,this[_0x5cd985(0xa5)]=_0x4ed0da,this[_0x5cd985(0x239)]=_0x223281,this[_0x5cd985(0x132)]=_0x559774;const {..._0x21e469}=this[_0x5cd985(0xf9)];this['_configService'][_0x5cd985(0x1d2)](Y,_0x21e469);}['onStarting'](){var _0x27bc5b=_0xfea5bc;this[_0x27bc5b(0x222)](),this[_0x27bc5b(0xdf)]();}['_registerDependencies'](){var _0xfadeb2=_0xfea5bc,_0x28f6ac,_0xa2d62,_0x2a0534,_0x5ae997;this[_0xfadeb2(0x239)][_0xfadeb2(0x178)](_0x2b9d6a)&&this[_0xfadeb2(0xa5)][_0xfadeb2(0x36e)](_0xfadeb2(0x20c),_0xfadeb2(0x128));const _0x278ed8=_0x2ec949([[_0x2b9d6a,{'useClass':wt}],[Le],[xe],[nt],[ot],[at],[Ri],[ct],[pe],[Ot],[bi,{'useClass':(_0xa2d62=(_0x28f6ac=this['_config'])==null?void 0x0:_0x28f6ac['socketService'])!=null?_0xa2d62:It}],[_0x4adf9f,{'useClass':Dt}],[_0x4b1b13,{'useClass':yt}],[_0x262929,{'useClass':Nt}],[_0x19c147,{'useClass':Pt}],[rt],[Rt]],(_0x2a0534=this['_config'])==null?void 0x0:_0x2a0534[_0xfadeb2(0x330)]);if(!((_0x5ae997=this[_0xfadeb2(0xf9)])!=null&&_0x5ae997['enableSingleActiveInstanceLock'])){const _0x4a244a=_0x278ed8[_0xfadeb2(0x315)](([_0x396388])=>_0x396388===_t);_0x4a244a!==-0x1&&_0x278ed8[_0xfadeb2(0xe1)](_0x4a244a,0x1);}_0x55e183(this[_0xfadeb2(0x239)],_0x278ed8);}['_initDependencies'](){var _0x4cce0a=_0xfea5bc,_0x3e0668,_0xe3b14e,_0x1cc2bd;this['_injector'][_0x4cce0a(0x1da)](_0x221528)[_0x4cce0a(0x92)]({'priority':0x14,'interceptor':_0x22c927({'maxParallel':0x6})}),(_0x3e0668=this[_0x4cce0a(0xf9)])!=null&&_0x3e0668['enableOfflineEditing']||(_0xe3b14e=this[_0x4cce0a(0x239)]['get'](X,_0x273632[_0x4cce0a(0x1e0)]))==null||_0xe3b14e[_0x4cce0a(0xbd)](),(_0x1cc2bd=this[_0x4cce0a(0xf9)])!=null&&_0x1cc2bd[_0x4cce0a(0x326)]&&_0x41afa0(this[_0x4cce0a(0x239)],[[ot]]),_0x41afa0(this['_injector'],[[at],[rt],[ct]]);}};Jr(Ut,_0xfea5bc(0x277),Xr),Ut=qr([_0x485a20(_0x4829a6,_0x3eb317,_0x4fa0fb),Et(0x1,_0x43687c),Et(0x2,_0x5d1423(_0xd0e7e3)),Et(0x3,_0x39bec4)],Ut);export{wi as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,jn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Un as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Nt as CollaborationImageIoService,Tt as CollaborationSession,Le as CollaborationSessionService,It as CollaborationSocketService,Ni as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,An as DEFAULT_COLLAB_WEB_SOCKET_URL,fo as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,Ln as HEARTBEAT_INTERVAL_KEY,Ei as HEARTBEAT_TIMEOUT_KEY,bi as ICollaborationSocketService,X as ILocalCacheService,Gn as INetworkConditionService,_t as ISingleActiveUnitService,lo as LOCAL_CACHE_INTERVAL,_o as LOCAL_CACHE_INTERVAL_KEY,Fn as LOGIN_URL_KEY,xe as MemberService,Pt as MentionIoHttpService,fe as OfflineState,oe as PendingState,uo as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Hn as RETRY_CONNECTING_MAX_COUNT_KEY,ho as SEND_CHANGESET_TIMEOUT_KEY,Nn as SNAPSHOT_SERVER_URL_KEY,Dn as SNAPSHOT_URL_KEY,Te as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,yi as UnitStatus,Ut as UniverCollaborationClientPlugin,Kn as deserializeToCombResponse,vo as getLocalCacheKey,zn as serializeCombRequest};
1
+ var _0x3421ce=_0x188c;(function(_0xa8ddbe,_0x26a28e){var _0x379d1f=_0x188c,_0x3bc901=_0xa8ddbe();while(!![]){try{var _0x195ceb=-parseInt(_0x379d1f(0x418))/0x1*(-parseInt(_0x379d1f(0x16d))/0x2)+parseInt(_0x379d1f(0x328))/0x3*(-parseInt(_0x379d1f(0x35f))/0x4)+parseInt(_0x379d1f(0x250))/0x5*(parseInt(_0x379d1f(0x20a))/0x6)+parseInt(_0x379d1f(0x173))/0x7+parseInt(_0x379d1f(0x152))/0x8+parseInt(_0x379d1f(0x3e9))/0x9+parseInt(_0x379d1f(0x3f3))/0xa*(-parseInt(_0x379d1f(0x3b9))/0xb);if(_0x195ceb===_0x26a28e)break;else _0x3bc901['push'](_0x3bc901['shift']());}catch(_0x4f3f70){_0x3bc901['push'](_0x3bc901['shift']());}}}(_0x5d66,0x6fef9));var Mi=Object[_0x3421ce(0x2ed)],$i=(_0x4250f6,_0x283336,_0x306208)=>_0x283336 in _0x4250f6?Mi(_0x4250f6,_0x283336,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x306208}):_0x4250f6[_0x283336]=_0x306208,P=(_0x4cc7dd,_0x2b0d19,_0x4323b0)=>$i(_0x4cc7dd,typeof _0x2b0d19!=_0x3421ce(0x3fc)?_0x2b0d19+'':_0x2b0d19,_0x4323b0);import{createIdentifier as _0xb8f76,Inject as _0x5e9963,Injector as _0x212d21,Disposable as _0x1b298c,DisposableCollection as _0x98df08,toDisposable as _0x4b61d8,IConfigService as _0x48fe9a,ILogService as _0x8ba9be,UserManagerService as _0x12b23b,UniverInstanceType as _0x5be3e2,IUniverInstanceService as _0x10799f,LocaleService as _0x443431,Optional as _0x21ca56,RxDisposable as _0x5d40b1,Tools as _0xc1e9f6,Rectangle as _0xdf49a5,ICommandService as _0x72dd1e,JSONX as _0x3ab9c5,CommandType as _0x15c22c,IPermissionService as _0x1e28b2,IUndoRedoService as _0x3f6f94,sequenceExecute as _0x1abb2e,Workbook as _0x325846,MentionType as _0x456e45,IAuthzIoService as _0x13a2ae,isInternalEditorID as _0x2704cb,LocalUndoRedoService as _0x2cc165,IContextService as _0x24aac3,DependentOn as _0xf43b49,Plugin as _0x50e38f,mergeOverrideWithDependencies as _0x1d3664,IMentionIOService as _0x18fa49,registerDependencies as _0xd65c17,Quantity as _0x4c7b23,touchDependencies as _0x4fcda2}from'@univerjs/core';import{Subject as _0x5ad00b,merge as _0x3f7318,of as _0x5b0438,BehaviorSubject as _0x2f7771,takeUntil as _0x5b5509,ReplaySubject as _0x5ef1f1,take as _0x437b95,map as _0x309aba,shareReplay as _0x1e525f,firstValueFrom as _0x4abc5a,concatMap as _0x4db311}from'rxjs';import{map as _0x20ed66,take as _0x200ef5,filter as _0x25adde,delay as _0x5987b1,takeUntil as _0x3124cd}from'rxjs/operators';import{HTTPService as _0x490c71,ISocketService as _0x166eee,MergeInterceptorFactory as _0x32072b,HTTPRequest as _0x298c22,UniverNetworkPlugin as _0x108606,ThresholdInterceptorFactory as _0xd62cef}from'@univerjs/network';import{CollaborationEvent as _0x61a7f0,parseChangesetToProtocol as _0x1f6cbc,ISnapshotServerService as _0x1df47c,isTransformMutationsWithChangesetSuccess as _0x529389,ITransformService as _0x51268a,mapDocumentTypeToUniverType as _0x1e9494,RevisionService as _0x52bdc1,isTransformChangesetsSuccess as _0x1130b7,CompressMutationService as _0xe9c967,parseProtocolChangeset as _0x13605a,SnapshotService as _0x22c9e1,textEncoder as _0x308aa2,b64DecodeUnicode as _0x362495,isTransformMutationsWithChangesetFailure as _0x15258e,UniverCollaborationPlugin as _0x204ecb}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x33c610}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x1c4461}from'@univerjs/docs';import{SheetsSelectionsService as _0x4252fc,SetSelectionsOperation as _0x1a7800,InsertSheetMutation as _0x516de5,EmptyMutation as _0x24d48f,WorkbookEditablePermission as _0x4001c9,UnitObject as _0x1f5c7e,defaultWorkbookPermissionPoints as _0x3f56ed,getAllWorkbookPermissionPoint as _0x5f4661,WorksheetProtectionRuleModel as _0x1e84c0,baseProtectionActions as _0x5b6de6,getAllWorksheetPermissionPoint as _0x56685a,WorksheetProtectionPointModel as _0x100036,defaultWorksheetPermissionPoint as _0x37101f,getAllWorksheetPermissionPointByPointPanel as _0x191e2e,RangeProtectionRuleModel as _0x58e54c,getAllRangePermissionPoint as _0x57afa7,UniverSheetsPlugin as _0x21e713}from'@univerjs/sheets';import{ImageSourceType as _0x47880c,ImageUploadStatusType as _0x4701fc,IImageIoService as _0x3c3208}from'@univerjs/drawing';import{getGlobalObject as _0x51651c}from'@univerjs-pro/license';const Nn=_0x3421ce(0x2be),Pn=_0x3421ce(0x2e5),Dn=_0x3421ce(0x253),ho=_0x3421ce(0x24a),wn=0x7d0,Un='COLLAB_WEB_SOCKET_URL',An=_0x3421ce(0x358),xn='/universer-api/user/session-ticket',Ln=_0x3421ce(0x187),Mn=0x7530,Ei='HEARTBEAT_TIMEOUT',Ii=0x4e20,$n=0x4e20,Hn=_0x3421ce(0x446),kn=0x3,_o='LOCAL_CACHE_INTERVAL',lo=0x3e8,jn=_0x3421ce(0x1ed),Bn=_0x3421ce(0x24e),Fn=_0x3421ce(0x409),Vn=_0x3421ce(0x167),uo=_0x3421ce(0x444),fo='/universer-api/uniscript';var Ti=(_0x1e3f7f=>(_0x1e3f7f[_0x1e3f7f['UNDEFINED']=0x0]=_0x3421ce(0x238),_0x1e3f7f[_0x1e3f7f['OK']=0x1]='OK',_0x1e3f7f[_0x1e3f7f[_0x3421ce(0x2ce)]=0x2]=_0x3421ce(0x2ce),_0x1e3f7f[_0x1e3f7f[_0x3421ce(0x3e8)]=0x3]=_0x3421ce(0x3e8),_0x1e3f7f[_0x1e3f7f[_0x3421ce(0x450)]=0x4]=_0x3421ce(0x450),_0x1e3f7f[_0x1e3f7f[_0x3421ce(0x31f)]=0x5]=_0x3421ce(0x31f),_0x1e3f7f[_0x1e3f7f[_0x3421ce(0x377)]=0x6]=_0x3421ce(0x377),_0x1e3f7f[_0x1e3f7f[_0x3421ce(0x43c)]=0x7]=_0x3421ce(0x43c),_0x1e3f7f[_0x1e3f7f['TOO_MANY_REQUESTS']=0x8]=_0x3421ce(0x2b8),_0x1e3f7f[_0x1e3f7f[_0x3421ce(0x368)]=0x9]=_0x3421ce(0x368),_0x1e3f7f[_0x1e3f7f[_0x3421ce(0x16f)]=0x1389]=_0x3421ce(0x16f),_0x1e3f7f[_0x1e3f7f[_0x3421ce(0x44f)]=0x1771]=_0x3421ce(0x44f),_0x1e3f7f[_0x1e3f7f[_0x3421ce(0x3f7)]=0x1772]=_0x3421ce(0x3f7),_0x1e3f7f[_0x1e3f7f['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x3421ce(0x43a),_0x1e3f7f[_0x1e3f7f['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x1e3f7f[_0x1e3f7f[_0x3421ce(0x353)]=0x1b5a]=_0x3421ce(0x353),_0x1e3f7f[_0x1e3f7f[_0x3421ce(0x252)]=0x1b5b]=_0x3421ce(0x252),_0x1e3f7f[_0x1e3f7f[_0x3421ce(0x308)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1e3f7f[_0x1e3f7f[_0x3421ce(0x2a2)]=0x1b5d]=_0x3421ce(0x2a2),_0x1e3f7f[_0x1e3f7f[_0x3421ce(0x171)]=0x1f41]=_0x3421ce(0x171),_0x1e3f7f[_0x1e3f7f[_0x3421ce(0x27e)]=0x2329]=_0x3421ce(0x27e),_0x1e3f7f[_0x1e3f7f[_0x3421ce(0x2f8)]=0x232a]=_0x3421ce(0x2f8),_0x1e3f7f[_0x1e3f7f[_0x3421ce(0x1dd)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1e3f7f[_0x1e3f7f[_0x3421ce(0x1ae)]=0x232c]=_0x3421ce(0x1ae),_0x1e3f7f[_0x1e3f7f[_0x3421ce(0x379)]=0x232d]=_0x3421ce(0x379),_0x1e3f7f[_0x1e3f7f['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x3421ce(0x2fd),_0x1e3f7f[_0x1e3f7f[_0x3421ce(0x2a6)]=0x2712]=_0x3421ce(0x2a6),_0x1e3f7f[_0x1e3f7f['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1e3f7f[_0x1e3f7f[_0x3421ce(0x36d)]=0x2714]=_0x3421ce(0x36d),_0x1e3f7f[_0x1e3f7f['UNRECOGNIZED']=-0x1]=_0x3421ce(0x2db),_0x1e3f7f))(Ti||{}),Q=(_0x2eb96e=>(_0x2eb96e[_0x2eb96e[_0x3421ce(0x17e)]=0x0]=_0x3421ce(0x17e),_0x2eb96e[_0x2eb96e['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x2eb96e[_0x2eb96e['UNIVER_SHEET']=0x2]=_0x3421ce(0x19e),_0x2eb96e[_0x2eb96e['UNIVER_SLIDE']=0x3]=_0x3421ce(0x3b5),_0x2eb96e[_0x2eb96e[_0x3421ce(0x2fc)]=0x4]=_0x3421ce(0x2fc),_0x2eb96e[_0x2eb96e[_0x3421ce(0x2db)]=-0x1]=_0x3421ce(0x2db),_0x2eb96e))(Q||{}),F=(_0x11ecf6=>(_0x11ecf6[_0x11ecf6[_0x3421ce(0x217)]=0x0]=_0x3421ce(0x217),_0x11ecf6[_0x11ecf6[_0x3421ce(0x365)]=0x1]=_0x3421ce(0x365),_0x11ecf6[_0x11ecf6[_0x3421ce(0x3b1)]=0x2]=_0x3421ce(0x3b1),_0x11ecf6[_0x11ecf6[_0x3421ce(0x230)]=0x3]=_0x3421ce(0x230),_0x11ecf6[_0x11ecf6[_0x3421ce(0x1a7)]=0x4]=_0x3421ce(0x1a7),_0x11ecf6[_0x11ecf6[_0x3421ce(0x1b8)]=0x5]=_0x3421ce(0x1b8),_0x11ecf6[_0x11ecf6[_0x3421ce(0x23d)]=0x6]=_0x3421ce(0x23d),_0x11ecf6[_0x11ecf6[_0x3421ce(0x2db)]=-0x1]=_0x3421ce(0x2db),_0x11ecf6))(F||{}),Ee=(_0x33e18d=>(_0x33e18d[_0x33e18d[_0x3421ce(0x34a)]=0x0]='UNKNOWN_CODE',_0x33e18d[_0x33e18d['OK']=0x1]='OK',_0x33e18d[_0x33e18d['FAIL']=0x2]='FAIL',_0x33e18d[_0x33e18d[_0x3421ce(0x321)]=0x3e9]=_0x3421ce(0x321),_0x33e18d[_0x33e18d[_0x3421ce(0x1b6)]=0x3ea]=_0x3421ce(0x1b6),_0x33e18d[_0x33e18d[_0x3421ce(0x30c)]=0x3eb]=_0x3421ce(0x30c),_0x33e18d[_0x33e18d[_0x3421ce(0x239)]=0x3ec]=_0x3421ce(0x239),_0x33e18d[_0x33e18d[_0x3421ce(0x2db)]=-0x1]=_0x3421ce(0x2db),_0x33e18d))(Ee||{}),Ci=(_0x497ec7=>(_0x497ec7[_0x497ec7[_0x3421ce(0x1af)]=0x0]=_0x3421ce(0x1af),_0x497ec7[_0x497ec7[_0x3421ce(0x317)]=0x1]=_0x3421ce(0x317),_0x497ec7[_0x497ec7['HttpExport']=0x2]='HttpExport',_0x497ec7[_0x497ec7[_0x3421ce(0x1ec)]=0x3]='UnitEmbedded',_0x497ec7[_0x497ec7[_0x3421ce(0x223)]=0x4]=_0x3421ce(0x223),_0x497ec7[_0x497ec7[_0x3421ce(0x2db)]=-0x1]=_0x3421ce(0x2db),_0x497ec7))(Ci||{});const Y=_0x3421ce(0x237),Wn={};var re=(_0x1322cd=>(_0x1322cd[_0x3421ce(0x27f)]=_0x3421ce(0x27f),_0x1322cd['PERMISSION_DENIED']=_0x3421ce(0x3e8),_0x1322cd['CONFLICT']=_0x3421ce(0x3f4),_0x1322cd[_0x3421ce(0x416)]='CLOSE_ROOM',_0x1322cd[_0x3421ce(0x398)]=_0x3421ce(0x398),_0x1322cd[_0x3421ce(0x256)]=_0x3421ce(0x256),_0x1322cd[_0x3421ce(0x193)]=_0x3421ce(0x193),_0x1322cd[_0x3421ce(0x3c7)]='SUBMIT_CHANGESET_TIMEOUT',_0x1322cd))(re||{});class pe{constructor(){var _0xed90ef=_0x3421ce;P(this,'_event$',new _0x5ad00b()),P(this,_0xed90ef(0x186),this[_0xed90ef(0x1d5)][_0xed90ef(0x154)]());}['emitEvent'](_0x3686d4){var _0x26e78c=_0x3421ce;this[_0x26e78c(0x1d5)][_0x26e78c(0x373)](_0x3686d4);}}const Gn=_0xb8f76(_0x3421ce(0x1d4));function Kn(_0x53ae75){var _0x102438=_0x3421ce,_0x345946,_0x440840,_0x3461c9,_0x5ac838,_0x3e49ac;const _0x3eebe4=_0x53ae75[_0x102438(0x20e)],_0x5fa63=JSON['parse'](_0x3eebe4);switch(_0x5fa63[_0x102438(0x417)]){case F[_0x102438(0x1b8)]:case F['HELLO']:{const _0x5d40e8=_0x5fa63[_0x102438(0x2c9)];return{..._0x5fa63,'data':_0x5d40e8,'cmd':_0x5fa63[_0x102438(0x417)]};}case F[_0x102438(0x3b1)]:{const _0x5276cd=_0x5fa63[_0x102438(0x40a)];return{..._0x5fa63,'data':_0x5276cd,'cmd':_0x5fa63[_0x102438(0x417)]};}case F[_0x102438(0x23d)]:{const _0x27bb17=_0x5fa63[_0x102438(0x3d5)];switch(_0x27bb17['eventID']){case _0x61a7f0[_0x102438(0x3e1)]:return{..._0x5fa63,'data':{..._0x27bb17,'data':(_0x345946=_0x27bb17[_0x102438(0x438)])==null?void 0x0:_0x345946['cs']},'cmd':_0x5fa63[_0x102438(0x417)]};case _0x61a7f0[_0x102438(0x1b1)]:return{..._0x5fa63,'data':{..._0x27bb17,'data':(_0x440840=_0x27bb17[_0x102438(0x172)])==null?void 0x0:_0x440840['cs']},'cmd':_0x5fa63[_0x102438(0x417)]};case _0x61a7f0[_0x102438(0x388)]:return{..._0x5fa63,'data':{..._0x27bb17,'data':(_0x3461c9=_0x27bb17[_0x102438(0x3b4)])==null?void 0x0:_0x3461c9['cs']},'cmd':_0x5fa63[_0x102438(0x417)]};case _0x61a7f0['CHANGESET_REJ']:return{..._0x5fa63,'data':{..._0x27bb17,'data':(_0x5ac838=_0x27bb17[_0x102438(0x400)])==null?void 0x0:_0x5ac838['cs']},'cmd':_0x5fa63[_0x102438(0x417)]};case _0x61a7f0[_0x102438(0x419)]:return{..._0x5fa63,'data':{..._0x27bb17,'data':(_0x3e49ac=_0x27bb17[_0x102438(0x1d6)])==null?void 0x0:_0x3e49ac['cs']},'cmd':_0x5fa63[_0x102438(0x417)]};case _0x61a7f0[_0x102438(0x401)]:return{..._0x5fa63,'data':{..._0x27bb17,'data':_0x27bb17[_0x102438(0x34e)]},'cmd':_0x5fa63['cmd']};case _0x61a7f0[_0x102438(0x30d)]:return{..._0x5fa63,'data':{..._0x27bb17,'data':_0x27bb17[_0x102438(0x3ce)]},'cmd':_0x5fa63['cmd']};case _0x61a7f0[_0x102438(0x3ab)]:return{..._0x5fa63,'data':{..._0x27bb17,'data':_0x27bb17[_0x102438(0x3d7)]},'cmd':_0x5fa63[_0x102438(0x417)]};case _0x61a7f0[_0x102438(0x44a)]:return{..._0x5fa63,'data':{..._0x27bb17,'data':_0x27bb17['liveShareNewHost']},'cmd':_0x5fa63[_0x102438(0x417)]};case _0x61a7f0[_0x102438(0x2e2)]:case _0x61a7f0[_0x102438(0x2dc)]:return{..._0x5fa63,'data':{..._0x27bb17,'data':_0x27bb17[_0x102438(0x380)]},'cmd':_0x5fa63['cmd']};case _0x61a7f0[_0x102438(0x1eb)]:return{..._0x5fa63,'data':{..._0x27bb17,'data':_0x27bb17[_0x102438(0x35d)]},'cmd':_0x5fa63['cmd']};case _0x61a7f0['MSG_FOR_ERROR']:return{..._0x5fa63,'data':_0x27bb17,'cmd':_0x5fa63[_0x102438(0x417)]};case _0x61a7f0[_0x102438(0x2bd)]:return{..._0x5fa63,'data':{..._0x27bb17,'data':_0x27bb17['commentUpdateEvent']},'cmd':_0x5fa63['cmd']};case _0x61a7f0['UPDATE_PERMISSION_OBJ']:return{..._0x5fa63,'data':{..._0x27bb17,'data':_0x27bb17[_0x102438(0x183)]},'cmd':_0x5fa63[_0x102438(0x417)]};case _0x61a7f0[_0x102438(0x280)]:return{..._0x5fa63,'data':{..._0x27bb17,'data':_0x27bb17['shouldCloseConn']},'cmd':_0x5fa63[_0x102438(0x417)]};case _0x61a7f0[_0x102438(0x2bb)]:return{..._0x5fa63,'data':{..._0x27bb17,'data':_0x27bb17[_0x102438(0x23f)]},'cmd':_0x5fa63['cmd']};default:return _0x5fa63;}}default:return _0x5fa63;}}function zn(_0x930e8){var _0x458666=_0x3421ce;switch(_0x930e8[_0x458666(0x417)]){case F[_0x458666(0x1b8)]:case F['HELLO']:return JSON[_0x458666(0x22b)]({'cmd':_0x930e8[_0x458666(0x417)],'routeKey':_0x930e8[_0x458666(0x1c9)]});case F[_0x458666(0x1a7)]:{let _0x3c49b1;switch(_0x930e8['data'][_0x458666(0x406)]){case _0x61a7f0[_0x458666(0x401)]:{_0x3c49b1={'eventID':_0x61a7f0[_0x458666(0x401)],'updateCursorEvent':_0x930e8[_0x458666(0x20e)][_0x458666(0x20e)]};break;}case _0x61a7f0[_0x458666(0x3ab)]:{_0x3c49b1={'eventID':_0x61a7f0[_0x458666(0x3ab)],'leaveEvent':_0x930e8[_0x458666(0x20e)]['data']};break;}case _0x61a7f0[_0x458666(0x30d)]:{_0x3c49b1={'eventID':_0x61a7f0[_0x458666(0x30d)],'joinEvent':_0x930e8[_0x458666(0x20e)]['data']};break;}case _0x61a7f0[_0x458666(0x44a)]:{_0x3c49b1={'eventID':_0x61a7f0['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x930e8[_0x458666(0x20e)][_0x458666(0x20e)]};break;}case _0x61a7f0['LIVESHARE_OPERATION']:{_0x3c49b1={'eventID':_0x61a7f0['LIVESHARE_OPERATION'],'liveShareOperation':_0x930e8[_0x458666(0x20e)][_0x458666(0x20e)]};break;}case _0x61a7f0[_0x458666(0x1eb)]:{_0x3c49b1={'eventID':_0x61a7f0[_0x458666(0x1eb)],'liveShareTerminate':_0x930e8[_0x458666(0x20e)][_0x458666(0x20e)]};break;}case _0x61a7f0[_0x458666(0x403)]:{_0x3c49b1={'eventID':_0x61a7f0[_0x458666(0x403)],'liveShareRequestHost':_0x930e8[_0x458666(0x20e)][_0x458666(0x20e)]};break;}case _0x61a7f0['LIVESHARE_FETCH_OPERATIONS']:{_0x3c49b1={'eventID':_0x61a7f0[_0x458666(0x2e2)]};break;}default:_0x3c49b1={'eventID':_0x930e8['data']['eventID']};}return JSON[_0x458666(0x22b)]({'cmd':_0x930e8[_0x458666(0x417)],'routeKey':_0x930e8['routeKey'],'collaMsg':_0x3c49b1});}case F['JOIN']:return JSON['stringify']({'cmd':_0x930e8[_0x458666(0x417)],'routeKey':_0x930e8[_0x458666(0x1c9)],'joinReq':_0x930e8['data']});case F[_0x458666(0x230)]:return JSON[_0x458666(0x22b)]({'cmd':_0x930e8[_0x458666(0x417)],'routeKey':_0x930e8[_0x458666(0x1c9)],'leaveReq':_0x930e8[_0x458666(0x20e)]});default:throw new Error(_0x458666(0x20d));}}var Yn=Object[_0x3421ce(0x2ed)],qn=Object[_0x3421ce(0x281)],Jn=(_0x4d58a2,_0x572fed,_0x419b58,_0x38cb11)=>{var _0xfafabb=_0x3421ce;for(var _0x12ce3d=_0x38cb11>0x1?void 0x0:_0x38cb11?qn(_0x572fed,_0x419b58):_0x572fed,_0x42015c=_0x4d58a2[_0xfafabb(0x225)]-0x1,_0x2f1699;_0x42015c>=0x0;_0x42015c--)(_0x2f1699=_0x4d58a2[_0x42015c])&&(_0x12ce3d=(_0x38cb11?_0x2f1699(_0x572fed,_0x419b58,_0x12ce3d):_0x2f1699(_0x12ce3d))||_0x12ce3d);return _0x38cb11&&_0x12ce3d&&Yn(_0x572fed,_0x419b58,_0x12ce3d),_0x12ce3d;},Ue=(_0x34fe26,_0x1a1d62)=>(_0x3a587c,_0x53c0e6)=>_0x1a1d62(_0x3a587c,_0x53c0e6,_0x34fe26);const bi=_0xb8f76(_0x3421ce(0x415));function Xn(_0x8c9ba2,_0x1709ae,_0x3607a3){var _0x29bfa7=_0x3421ce;return _0x8c9ba2+'/'+_0x1709ae+_0x29bfa7(0x456)+_0x3607a3+_0x29bfa7(0x15a);}let It=class extends _0x1b298c{constructor(_0x389c50,_0x37cfb3,_0x736e44,_0x31c581,_0x4d7ab2){var _0x30e6b6=_0x3421ce;super(),this[_0x30e6b6(0x31a)]=_0x389c50,this[_0x30e6b6(0x242)]=_0x37cfb3,this[_0x30e6b6(0x412)]=_0x736e44,this[_0x30e6b6(0x155)]=_0x31c581,this[_0x30e6b6(0x287)]=_0x4d7ab2;}['createSocket'](_0x54901b){var _0x1aa66f=_0x3421ce;const _0x1b42b9=this['_injector']['get'](_0x166eee);if(!_0x1b42b9)throw new Error(_0x1aa66f(0x2ef));const _0xf7a224=_0x1b42b9['createSocket'](_0x54901b);if(!_0xf7a224)throw new Error(_0x1aa66f(0x315));const _0x56563d=new _0x98df08(),_0xf11fae=new _0x5ad00b();_0x56563d[_0x1aa66f(0x349)](_0xf7a224[_0x1aa66f(0x3ee)][_0x1aa66f(0x3fe)](_0x49361d=>_0xf11fae[_0x1aa66f(0x373)](_0x49361d))),_0x56563d[_0x1aa66f(0x349)](_0x4b61d8(()=>_0xf11fae['complete']()));const _0x584c68=new _0x5ad00b();_0x56563d[_0x1aa66f(0x349)](_0xf7a224[_0x1aa66f(0x1d3)]['subscribe'](_0x11bf84=>_0x584c68[_0x1aa66f(0x373)](_0x11bf84))),_0x56563d[_0x1aa66f(0x349)](_0x4b61d8(()=>_0x584c68[_0x1aa66f(0x34d)]()));const _0x2464e7=new _0x5ad00b();_0x56563d[_0x1aa66f(0x349)](_0xf7a224[_0x1aa66f(0x226)][_0x1aa66f(0x3fe)](_0x4f43fc=>{const _0x57701c=Kn(_0x4f43fc);_0x2464e7['next'](_0x57701c);})),_0x56563d[_0x1aa66f(0x349)](_0x4b61d8(()=>_0x2464e7[_0x1aa66f(0x34d)]()));let _0x19c8f3;const _0x5703c4=()=>{var _0x1eb010=_0x1aa66f;_0x584c68[_0x1eb010(0x373)](new Event(_0x1eb010(0x203))),_0xf11fae[_0x1eb010(0x373)](new CloseEvent(_0x1eb010(0x203))),_0x19c8f3['close']();};return _0x19c8f3={'memberID':'','close$':_0xf11fae[_0x1aa66f(0x154)](),'error$':_0x584c68['asObservable'](),'open$':_0xf7a224[_0x1aa66f(0x164)],'message$':_0x2464e7[_0x1aa66f(0x154)](),'send':_0x1b9e1e=>{var _0xf5ba2b=_0x1aa66f;if(_0x1b9e1e[_0xf5ba2b(0x417)]===F['INGEST']){if(_0x1b9e1e[_0xf5ba2b(0x20e)][_0xf5ba2b(0x406)]===_0x61a7f0[_0xf5ba2b(0x2a4)]){this['_submitChangeset'](_0x19c8f3,_0x1b9e1e[_0xf5ba2b(0x20e)])[_0xf5ba2b(0x279)](_0x488043=>{var _0xdb4a90=_0xf5ba2b;this['_logService'][_0xdb4a90(0x422)](_0x488043),_0x5703c4();});return;}if(_0x1b9e1e[_0xf5ba2b(0x20e)][_0xf5ba2b(0x406)]===_0x61a7f0[_0xf5ba2b(0x3c0)]){const _0x244887=_0x1b9e1e[_0xf5ba2b(0x20e)];this[_0xf5ba2b(0x38c)](_0x244887)[_0xf5ba2b(0x36a)](_0x11c551=>{var _0x792377=_0xf5ba2b;_0x2464e7['next']({'cmd':F[_0x792377(0x23d)],'code':Ee['OK'],'routeKey':_0x244887[_0x792377(0x20e)][_0x792377(0x3e0)],'routeType':'','data':{'eventID':_0x61a7f0[_0x792377(0x1c5)],'data':{'changesets':_0x11c551}}});})[_0xf5ba2b(0x279)](_0x498b17=>{var _0x33fa97=_0xf5ba2b;this[_0x33fa97(0x155)][_0x33fa97(0x422)](_0x498b17),_0x5703c4();});return;}}_0xf7a224[_0xf5ba2b(0x194)](zn(_0x1b9e1e));},'close':()=>{var _0x2eff6d=_0x1aa66f;_0xf7a224[_0x2eff6d(0x425)](),_0x56563d[_0x2eff6d(0x2b5)]();}},_0x19c8f3;}async[_0x3421ce(0x3f5)](_0x2720cd,_0x9cd310){var _0x152d3b=_0x3421ce,_0x298132,_0x590e94;const {unitType:_0x17a2fc,unitID:_0xc44642,changeset:_0x16e000}=_0x9cd310[_0x152d3b(0x20e)],_0x330cf5={'unitID':_0xc44642,'memberID':_0x2720cd[_0x152d3b(0x291)],'type':_0x17a2fc,'changeset':_0x1f6cbc(_0x16e000)},_0x25f653=this[_0x152d3b(0x412)]['getConfig'](jn),_0x3d595d=this[_0x152d3b(0x412)][_0x152d3b(0x3a9)](Y),_0xdd87ea=Xn((_0x590e94=(_0x298132=_0x3d595d==null?void 0x0:_0x3d595d['collabSubmitChangesetUrl'])!=null?_0x298132:_0x25f653)!=null?_0x590e94:Bn,_0x17a2fc,_0xc44642);try{await this['_http'][_0x152d3b(0x265)](_0xdd87ea,{'body':_0x330cf5});}catch(_0x31be20){throw this[_0x152d3b(0x155)]['error'](_0x152d3b(0x3bb),_0x152d3b(0x371)),_0x31be20;}}async[_0x3421ce(0x38c)](_0x31c9ed){var _0x1f531a=_0x3421ce;const {unitID:_0x144c50,from:_0x457575,to:_0x331433,unitType:_0x1fa6ee}=_0x31c9ed[_0x1f531a(0x20e)];return(await this[_0x1f531a(0x287)][_0x1f531a(0x260)]({'metadata':void 0x0},{'unitID':_0x144c50,'type':_0x1fa6ee,'from':_0x457575,'to':_0x331433}))[_0x1f531a(0x212)];}};It=Jn([Ue(0x0,_0x5e9963(_0x212d21)),Ue(0x1,_0x5e9963(_0x490c71)),Ue(0x2,_0x48fe9a),Ue(0x3,_0x8ba9be),Ue(0x4,_0x1df47c)],It);const Zn='collaboration_new_changeset';function Qn(_0x4a7f27){var _0x3f3f01=_0x3421ce;return JSON[_0x3f3f01(0x22b)](_0x4a7f27)[_0x3f3f01(0x225)];}class Ri{constructor(){var _0x465407=_0x3421ce;P(this,_0x465407(0x175),new _0x5ad00b()),P(this,_0x465407(0x434),this['_commentUpdate$'][_0x465407(0x154)]());}['onCommentUpdate'](_0x1a3d49){var _0x7383e6=_0x3421ce;this[_0x7383e6(0x175)]['next'](_0x1a3d49);}}var es=Object[_0x3421ce(0x2ed)],ts=Object[_0x3421ce(0x281)],is=(_0x586ebe,_0x465733,_0x436b4e,_0x45015b)=>{var _0x36d7bc=_0x3421ce;for(var _0x26948d=_0x45015b>0x1?void 0x0:_0x45015b?ts(_0x465733,_0x436b4e):_0x465733,_0x1d3a71=_0x586ebe[_0x36d7bc(0x225)]-0x1,_0x3c4cec;_0x1d3a71>=0x0;_0x1d3a71--)(_0x3c4cec=_0x586ebe[_0x1d3a71])&&(_0x26948d=(_0x45015b?_0x3c4cec(_0x465733,_0x436b4e,_0x26948d):_0x3c4cec(_0x26948d))||_0x26948d);return _0x45015b&&_0x26948d&&es(_0x465733,_0x436b4e,_0x26948d),_0x26948d;},zt=(_0x31defd,_0x5d752c)=>(_0x113e0f,_0x484967)=>_0x5d752c(_0x113e0f,_0x484967,_0x31defd);let xe=class extends _0x1b298c{constructor(_0x124483,_0x510f5c){var _0x1db11b=_0x3421ce;super(),P(this,_0x1db11b(0x211),new Map()),P(this,_0x1db11b(0x267),new _0x5ad00b()),(this[_0x1db11b(0x305)]=_0x124483,this['_userManagerService']=_0x510f5c,this[_0x1db11b(0x290)](_0x3f7318(this[_0x1db11b(0x305)][_0x1db11b(0x395)](_0x5be3e2[_0x1db11b(0x19e)])[_0x1db11b(0x2d7)](_0x20ed66(_0x1b063d=>_0x1b063d['getUnitId']())),this[_0x1db11b(0x305)][_0x1db11b(0x395)](_0x5be3e2[_0x1db11b(0x25c)])['pipe'](_0x20ed66(_0x22186f=>_0x22186f['getUnitId']())),this[_0x1db11b(0x305)][_0x1db11b(0x395)](_0x5be3e2['UNIVER_SLIDE'])[_0x1db11b(0x2d7)](_0x20ed66(_0xf9329b=>_0xf9329b[_0x1db11b(0x39b)]())))[_0x1db11b(0x3fe)](_0x3183d9=>this['_removeRoom'](_0x3183d9))));}[_0x3421ce(0x2ee)](_0x2cc315){var _0x170bad=_0x3421ce;return this[_0x170bad(0x211)][_0x170bad(0x410)](_0x2cc315)?_0x5b0438(this['_roomMembers']['get'](_0x2cc315)):this['_roomCreated$'][_0x170bad(0x2d7)](_0x20ed66(_0x2dee37=>{var _0x3d641e=_0x170bad;if(_0x2dee37===_0x2cc315)return this[_0x3d641e(0x211)][_0x3d641e(0x3e3)](_0x2dee37);}));}[_0x3421ce(0x3a7)](_0x44bbf3){var _0x49182d=_0x3421ce;this[_0x49182d(0x3a5)][_0x49182d(0x3a7)](_0x44bbf3);}[_0x3421ce(0x222)](){var _0x12f9b7=_0x3421ce;return this[_0x12f9b7(0x3a5)][_0x12f9b7(0x222)]();}['updateMember'](_0x1db585,_0x16bb3a){var _0x1ed6ca=_0x3421ce;let _0x44750d=this[_0x1ed6ca(0x211)][_0x1ed6ca(0x3e3)](_0x1db585);_0x44750d||(_0x44750d=new ns(),this[_0x1ed6ca(0x211)][_0x1ed6ca(0x1ca)](_0x1db585,_0x44750d),this[_0x1ed6ca(0x267)][_0x1ed6ca(0x373)](_0x1db585)),_0x44750d[_0x1ed6ca(0x2d0)](_0x16bb3a);}[_0x3421ce(0x312)](_0x3b024c,_0x2c4fe7){var _0xbdf434=_0x3421ce;const _0x45bb00=this[_0xbdf434(0x211)]['get'](_0x3b024c);_0x45bb00&&_0x45bb00[_0xbdf434(0x312)](_0x2c4fe7);}['getRoom'](_0x3e798e){var _0x13f10c=_0x3421ce;return this['_roomMembers'][_0x13f10c(0x3e3)](_0x3e798e);}['getMember'](_0x496b03,_0x58afd0){var _0x549a40=_0x3421ce;const _0x2a351f=this[_0x549a40(0x211)]['get'](_0x496b03);if(_0x2a351f)return _0x2a351f[_0x549a40(0x1ce)](_0x58afd0);}[_0x3421ce(0x40d)](_0x4b91fc){var _0x3d9233=_0x3421ce;const _0x33153e=this[_0x3d9233(0x211)][_0x3d9233(0x3e3)](_0x4b91fc);_0x33153e&&(_0x33153e[_0x3d9233(0x2b5)](),this['_roomMembers'][_0x3d9233(0x2ba)](_0x4b91fc));}['dispose'](){var _0x4f4656=_0x3421ce;this[_0x4f4656(0x211)]['forEach'](_0x33697b=>_0x33697b[_0x4f4656(0x2b5)]()),this['_roomMembers'][_0x4f4656(0x3ac)](),this['_roomCreated$'][_0x4f4656(0x34d)]();}};xe=is([zt(0x0,_0x10799f),zt(0x1,_0x5e9963(_0x12b23b))],xe);class ns extends _0x1b298c{constructor(){var _0x30bfae=_0x3421ce;super(...arguments),P(this,'_members',new Map()),P(this,_0x30bfae(0x25a),new _0x2f7771(this['_members'])),P(this,'members$',this['_members$'][_0x30bfae(0x154)]());}[_0x3421ce(0x2b5)](){var _0x55b381=_0x3421ce;this['_members'][_0x55b381(0x3ac)]();}[_0x3421ce(0x2d0)](_0x426ed5){var _0x44f97e=_0x3421ce;this[_0x44f97e(0x37f)]['set'](_0x426ed5[_0x44f97e(0x291)],_0x426ed5),this[_0x44f97e(0x2f4)]();}['removeMember'](_0x2fef2c){var _0x93be74=_0x3421ce;this[_0x93be74(0x37f)][_0x93be74(0x2ba)](_0x2fef2c);}[_0x3421ce(0x1ce)](_0x5d4bf5){var _0x50362f=_0x3421ce;return this[_0x50362f(0x37f)][_0x50362f(0x3e3)](_0x5d4bf5);}[_0x3421ce(0x41a)](){var _0x7a93f3=_0x3421ce;return Array[_0x7a93f3(0x3d3)](this['_members']['values']());}['_emitMembers'](){var _0xde63c0=_0x3421ce;this[_0xde63c0(0x25a)][_0xde63c0(0x373)](this['_members']);}}var ss=Object[_0x3421ce(0x2ed)],rs=Object['getOwnPropertyDescriptor'],os=(_0x4d2d51,_0x2e7e38,_0x4380f4,_0x159236)=>{for(var _0xa465a0=_0x159236>0x1?void 0x0:_0x159236?rs(_0x2e7e38,_0x4380f4):_0x2e7e38,_0x155ca4=_0x4d2d51['length']-0x1,_0x371e25;_0x155ca4>=0x0;_0x155ca4--)(_0x371e25=_0x4d2d51[_0x155ca4])&&(_0xa465a0=(_0x159236?_0x371e25(_0x2e7e38,_0x4380f4,_0xa465a0):_0x371e25(_0xa465a0))||_0xa465a0);return _0x159236&&_0xa465a0&&ss(_0x2e7e38,_0x4380f4,_0xa465a0),_0xa465a0;},me=(_0x4ba393,_0xd6444)=>(_0x459506,_0x304be6)=>_0xd6444(_0x459506,_0x304be6,_0x4ba393),Te=(_0xa99481=>(_0xa99481[_0xa99481[_0x3421ce(0x448)]=0x0]=_0x3421ce(0x448),_0xa99481[_0xa99481['JOINING']=0x1]='JOINING',_0xa99481[_0xa99481[_0x3421ce(0x324)]=0x2]=_0x3421ce(0x324),_0xa99481[_0xa99481[_0x3421ce(0x1e4)]=0x3]=_0x3421ce(0x1e4),_0xa99481))(Te||{});const Yt={[Ee[_0x3421ce(0x42d)]]:_0x3421ce(0x234),[Ee[_0x3421ce(0x321)]]:_0x3421ce(0x304),[Ee[_0x3421ce(0x1b6)]]:_0x3421ce(0x1fd),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x3421ce(0x165),[Ee[_0x3421ce(0x239)]]:_0x3421ce(0x392)};let Tt=class extends _0x5d40b1{constructor(_0x1cd32b,_0x526b45,_0x582968,_0x565945,_0x26fb1f,_0x43aa6b,_0x288097,_0x30d1c3,_0xbeec58){var _0x1c3fd2=_0x3421ce;super(),P(this,_0x1c3fd2(0x2e6),new _0x2f7771(0x0)),P(this,'sessionStatus$',this[_0x1c3fd2(0x2e6)][_0x1c3fd2(0x154)]()),P(this,_0x1c3fd2(0x1d5),new _0x5ad00b()),P(this,'event$',this[_0x1c3fd2(0x1d5)][_0x1c3fd2(0x154)]()),P(this,_0x1c3fd2(0x303)),P(this,_0x1c3fd2(0x43f)),P(this,_0x1c3fd2(0x30e)),P(this,_0x1c3fd2(0x2f3),!0x1),P(this,'_telemetryInfo',null),(this[_0x1c3fd2(0x331)]=_0x1cd32b,this[_0x1c3fd2(0x155)]=_0x582968,this[_0x1c3fd2(0x412)]=_0x565945,this[_0x1c3fd2(0x207)]=_0x26fb1f,this['_memberService']=_0x43aa6b,this[_0x1c3fd2(0x453)]=_0x288097,this[_0x1c3fd2(0x1f9)]=_0x30d1c3,this[_0x1c3fd2(0x2d8)]=_0xbeec58,this[_0x1c3fd2(0x2f3)]=!!this[_0x1c3fd2(0x2d8)],_0x526b45[_0x1c3fd2(0x2d7)](_0x5b5509(this[_0x1c3fd2(0x202)]))[_0x1c3fd2(0x3fe)](_0x29f868=>{var _0x37c2fb=_0x1c3fd2,_0x99b692;typeof _0x29f868>'u'||(this[_0x37c2fb(0x303)]=_0x29f868,_0x29f868?(this[_0x37c2fb(0x1c4)](_0x29f868),this[_0x37c2fb(0x43f)]=_0x29f868[_0x37c2fb(0x226)][_0x37c2fb(0x3fe)](_0x320ef8=>{var _0x255f36=_0x37c2fb;_0x320ef8[_0x255f36(0x1c9)]===this['_unitID']&&this['_onCombEvent'](_0x320ef8);})):(this[_0x37c2fb(0x26f)](),this['_sessionStatus$']['next'](0x2),(_0x99b692=this[_0x37c2fb(0x43f)])==null||_0x99b692[_0x37c2fb(0x26b)](),this['_socketMessageSubscription']=null));}));}get[_0x3421ce(0x1bc)](){var _0x40a6bd=_0x3421ce;return this[_0x40a6bd(0x2e6)][_0x40a6bd(0x36f)]();}[_0x3421ce(0x16a)](){var _0x555b6c=_0x3421ce,_0x318167,_0x4198b6;return(_0x4198b6=(_0x318167=this[_0x555b6c(0x303)])==null?void 0x0:_0x318167[_0x555b6c(0x291)])!=null?_0x4198b6:null;}[_0x3421ce(0x2b5)](){var _0x342bd7=_0x3421ce;super[_0x342bd7(0x2b5)](),this[_0x342bd7(0x202)][_0x342bd7(0x373)](),this[_0x342bd7(0x202)][_0x342bd7(0x34d)]();}[_0x3421ce(0x425)](){var _0x53b25f=_0x3421ce,_0x3158f8,_0x209a1a;this[_0x53b25f(0x26f)](),(_0x3158f8=this['_socket'])==null||_0x3158f8[_0x53b25f(0x194)]({'cmd':F[_0x53b25f(0x230)],'data':{'roomID':this[_0x53b25f(0x331)]}}),(_0x209a1a=this[_0x53b25f(0x303)])==null||_0x209a1a['close'](),this['_event$'][_0x53b25f(0x34d)](),this[_0x53b25f(0x2e6)][_0x53b25f(0x34d)](),this[_0x53b25f(0x2b5)]();}['_onCombEvent'](_0x385299){var _0x35bd09=_0x3421ce;_0x385299['cmd']===F[_0x35bd09(0x3b1)]?this[_0x35bd09(0x2fb)](_0x385299):_0x385299[_0x35bd09(0x417)]===F[_0x35bd09(0x23d)]&&this['_onRecvEvent'](_0x385299);}[_0x3421ce(0x1c4)](_0x46457e){var _0xa4daa2=_0x3421ce;this['_sessionStatus$']['next'](0x1),_0x46457e['send']({'cmd':F[_0xa4daa2(0x3b1)],'routeKey':this[_0xa4daa2(0x331)],'routeType':'','data':{'rooms':[{'roomID':this[_0xa4daa2(0x331)]}]}});}[_0x3421ce(0x2fb)](_0xf21a7b){var _0xa85df6=_0x3421ce,_0x1a12ff;if(_0xf21a7b[_0xa85df6(0x22d)]in Yt){this[_0xa85df6(0x1f9)][_0xa85df6(0x1f1)]({'id':re[_0xa85df6(0x398)],'data':Yt[_0xf21a7b['code']]}),this['_sessionStatus$']['next'](0x2);return;}this['_sessionStatus$'][_0xa85df6(0x373)](0x3);const _0x57067a=(_0x1a12ff=_0xf21a7b[_0xa85df6(0x20e)][_0xa85df6(0x1ba)][this[_0xa85df6(0x331)]])==null?void 0x0:_0x1a12ff[_0xa85df6(0x255)];_0x57067a&&_0x57067a[_0xa85df6(0x1fb)](_0x227058=>this['_memberService'][_0xa85df6(0x2d0)](this[_0xa85df6(0x331)],_0x227058));}['_onRecvEvent'](_0x4266b8){var _0x2ffe9b=_0x3421ce;try{const _0x18ec65=_0x4266b8[_0x2ffe9b(0x20e)];switch(_0x18ec65[_0x2ffe9b(0x406)]){case _0x61a7f0[_0x2ffe9b(0x30d)]:this[_0x2ffe9b(0x1c6)](_0x18ec65),this[_0x2ffe9b(0x1d5)][_0x2ffe9b(0x373)](_0x18ec65);break;case _0x61a7f0[_0x2ffe9b(0x3ab)]:this['_onUserLeave'](_0x18ec65),this[_0x2ffe9b(0x1d5)][_0x2ffe9b(0x373)](_0x18ec65);break;case _0x61a7f0['CHANGESET_ACK']:case _0x61a7f0['CHANGESET_SHOULD_RETRY']:this[_0x2ffe9b(0x286)](),this[_0x2ffe9b(0x385)](),this[_0x2ffe9b(0x1d5)][_0x2ffe9b(0x373)](_0x18ec65);break;case _0x61a7f0['MSG_FOR_ERROR']:this['_logService'][_0x2ffe9b(0x422)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x2ffe9b(0x22b)](_0x18ec65)),this[_0x2ffe9b(0x1d5)][_0x2ffe9b(0x373)](_0x18ec65);break;case _0x61a7f0[_0x2ffe9b(0x2bd)]:this[_0x2ffe9b(0x453)][_0x2ffe9b(0x196)](_0x18ec65[_0x2ffe9b(0x20e)]),this[_0x2ffe9b(0x1d5)]['next'](_0x18ec65);break;default:this['_event$'][_0x2ffe9b(0x373)](_0x18ec65);}}catch(_0x3f3e3f){this['_logService'][_0x2ffe9b(0x422)](_0x3f3e3f,_0x4266b8);}}[_0x3421ce(0x1c6)](_0x5acf38){var _0x4de262=_0x3421ce;this[_0x4de262(0x408)][_0x4de262(0x2d0)](this[_0x4de262(0x331)],_0x5acf38[_0x4de262(0x20e)]);}[_0x3421ce(0x42a)](_0x351b4a){var _0x3516e7=_0x3421ce;this[_0x3516e7(0x408)]['removeMember'](this[_0x3516e7(0x331)],_0x351b4a[_0x3516e7(0x20e)][_0x3516e7(0x291)]);}async[_0x3421ce(0x194)](_0x201744,_0x11b572){var _0x305fe3=_0x3421ce;if(this[_0x305fe3(0x1bc)]!==0x3||!this[_0x305fe3(0x303)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x201744[_0x305fe3(0x406)]===_0x61a7f0[_0x305fe3(0x2a4)]&&(this[_0x305fe3(0x22c)](),this[_0x305fe3(0x367)](_0x201744)),this[_0x305fe3(0x303)][_0x305fe3(0x194)]({'cmd':F['INGEST'],'routeKey':_0x11b572,'routeType':'','data':_0x201744});}catch(_0x2fd299){this[_0x305fe3(0x155)][_0x305fe3(0x422)](_0x2fd299);}}[_0x3421ce(0x22c)](){var _0x2b4d69=_0x3421ce,_0x20b882;this[_0x2b4d69(0x30e)]=setTimeout(()=>{var _0x1b84b8=_0x2b4d69;this[_0x1b84b8(0x30e)]=null,this[_0x1b84b8(0x1f9)][_0x1b84b8(0x1f1)]({'id':re[_0x1b84b8(0x3c7)]});},(_0x20b882=this[_0x2b4d69(0x412)][_0x2b4d69(0x3a9)](Ei))!=null?_0x20b882:Ii);}['_clearCollaborationTimeoutTimer'](){var _0x1185bc=_0x3421ce;this[_0x1185bc(0x30e)]&&(clearTimeout(this[_0x1185bc(0x30e)]),this[_0x1185bc(0x30e)]=null);}[_0x3421ce(0x367)](_0x168871){var _0x11807b=_0x3421ce;if(!this['_shouldReportTelemetry'])return;const {data:_0x258e94}=_0x168871,{unitID:_0xafcffe,changeset:_0x237f39}=_0x258e94,{mutations:_0x31aae0,type:_0x373789}=_0x237f39;this[_0x11807b(0x2bc)]={'unitId':_0xafcffe,'type':_0x373789,'startTime':performance[_0x11807b(0x3da)](),'stopTime':0x0,'duration':0x0,'size':Qn(_0x31aae0)};}[_0x3421ce(0x286)](){var _0x285cea=_0x3421ce;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x285cea(0x155)][_0x285cea(0x422)](_0x285cea(0x3bb),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x285cea(0x251)]=performance[_0x285cea(0x3da)](),this[_0x285cea(0x2bc)][_0x285cea(0x295)]=this['_telemetryInfo'][_0x285cea(0x251)]-this['_telemetryInfo'][_0x285cea(0x17c)],this['_telemetryService'][_0x285cea(0x2ea)](Zn,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x3421ce(0x26f)](){var _0x341a7f=_0x3421ce;this[_0x341a7f(0x2bc)]=null;}};Tt=os([me(0x2,_0x8ba9be),me(0x3,_0x48fe9a),me(0x4,_0x5e9963(_0x443431)),me(0x5,_0x5e9963(xe)),me(0x6,_0x5e9963(Ri)),me(0x7,_0x5e9963(pe)),me(0x8,_0x21ca56(_0x33c610))],Tt);var as=Object[_0x3421ce(0x2ed)],cs=Object[_0x3421ce(0x281)],hs=(_0x1f1daf,_0x3446c7,_0xc801b3,_0x498f9e)=>{var _0x1c2e51=_0x3421ce;for(var _0x42ca71=_0x498f9e>0x1?void 0x0:_0x498f9e?cs(_0x3446c7,_0xc801b3):_0x3446c7,_0x17ea01=_0x1f1daf[_0x1c2e51(0x225)]-0x1,_0x3cb5c7;_0x17ea01>=0x0;_0x17ea01--)(_0x3cb5c7=_0x1f1daf[_0x17ea01])&&(_0x42ca71=(_0x498f9e?_0x3cb5c7(_0x3446c7,_0xc801b3,_0x42ca71):_0x3cb5c7(_0x42ca71))||_0x42ca71);return _0x498f9e&&_0x42ca71&&as(_0x3446c7,_0xc801b3,_0x42ca71),_0x42ca71;},ge=(_0x4cfe3a,_0x308d34)=>(_0x480f10,_0x5555ab)=>_0x308d34(_0x480f10,_0x5555ab,_0x4cfe3a);let Le=class extends _0x1b298c{constructor(_0x2afe81,_0x1cb2f2,_0x56d864,_0x5a7be5,_0x49c6f4,_0xd7d061,_0x2f6ab7){var _0x3b744e=_0x3421ce;super(),P(this,_0x3b744e(0x2c3),new _0x2f7771(void 0x0)),P(this,_0x3b744e(0x41f),this[_0x3b744e(0x2c3)][_0x3b744e(0x154)]()),P(this,_0x3b744e(0x24f),null),P(this,'_sessions',new Map()),P(this,_0x3b744e(0x2bf),new _0x2f7771(Te[_0x3b744e(0x448)])),P(this,_0x3b744e(0x2b2),this[_0x3b744e(0x2bf)]['asObservable']()),P(this,_0x3b744e(0x236),!0x1),P(this,_0x3b744e(0x2c6)),P(this,_0x3b744e(0x219),0x0),P(this,_0x3b744e(0x299)),P(this,_0x3b744e(0x1a0)),(this['_injector']=_0x2afe81,this[_0x3b744e(0x155)]=_0x1cb2f2,this['_configService']=_0x56d864,this[_0x3b744e(0x413)]=_0x5a7be5,this[_0x3b744e(0x198)]=_0x49c6f4,this[_0x3b744e(0x1f9)]=_0xd7d061,this['_networkConditionService']=_0x2f6ab7,this[_0x3b744e(0x228)]());}get[_0x3421ce(0x303)](){var _0x4b9013=_0x3421ce;return this[_0x4b9013(0x2c3)][_0x4b9013(0x36f)]();}[_0x3421ce(0x228)](){var _0x4e9760=_0x3421ce;this[_0x4e9760(0x302)]&&this[_0x4e9760(0x290)](this[_0x4e9760(0x302)][_0x4e9760(0x16c)][_0x4e9760(0x3fe)](_0x350993=>{var _0x8ee9bb=_0x4e9760;_0x350993&&!this[_0x8ee9bb(0x303)]&&this[_0x8ee9bb(0x423)](),_0x350993||this['_onOffline']();}));}[_0x3421ce(0x2b5)](){var _0x3ca72a=_0x3421ce;super[_0x3ca72a(0x2b5)](),this['_sessions'][_0x3ca72a(0x1fb)](_0x5690df=>_0x5690df[_0x3ca72a(0x2b5)]()),this[_0x3ca72a(0x1d0)][_0x3ca72a(0x3ac)](),this[_0x3ca72a(0x2bf)]['complete']();}async[_0x3421ce(0x188)](_0x5385a3){var _0x3efd38=_0x3421ce;if(this[_0x3efd38(0x1d0)][_0x3efd38(0x410)](_0x5385a3))return this['_sessions'][_0x3efd38(0x3e3)](_0x5385a3);this[_0x3efd38(0x405)]();const _0x79b4a5=this['_injector'][_0x3efd38(0x38b)](Tt,_0x5385a3,this['_socket$'][_0x3efd38(0x154)]());return this[_0x3efd38(0x1d0)][_0x3efd38(0x1ca)](_0x5385a3,_0x79b4a5),_0x79b4a5;}[_0x3421ce(0x23c)](_0x4cf13d){var _0x21eec3=_0x3421ce,_0x56405e;const _0x25e3d0=this[_0x21eec3(0x1d0)]['get'](_0x4cf13d);_0x25e3d0&&(this[_0x21eec3(0x1d0)][_0x21eec3(0x2ba)](_0x4cf13d),_0x25e3d0['close']()),this[_0x21eec3(0x1d0)]['size']||(_0x56405e=this[_0x21eec3(0x303)])==null||_0x56405e[_0x21eec3(0x425)]();}[_0x3421ce(0x423)](){var _0x590195=_0x3421ce;this['_retryCount']=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x590195(0x2c6)]),this[_0x590195(0x2c6)]=null),this[_0x590195(0x3fb)]();}async['_getSessionTicket'](){var _0x5d5fe0=_0x3421ce,_0x279378,_0x2951fa,_0x595d24;const _0x58d310=this['_configService'][_0x5d5fe0(0x3a9)](Y),_0x394099=(_0x279378=_0x58d310==null?void 0x0:_0x58d310['wsSessionTicketUrl'])!=null?_0x279378:xn;return(_0x595d24=(_0x2951fa=(await this[_0x5d5fe0(0x198)][_0x5d5fe0(0x3e3)](_0x394099,{'headers':{'Content-Type':_0x5d5fe0(0x259)}}))[_0x5d5fe0(0x3e6)])==null?void 0x0:_0x2951fa[_0x5d5fe0(0x311)])!=null?_0x595d24:'';}[_0x3421ce(0x1b3)](_0x11bdbd){var _0x354174=_0x3421ce,_0x1c22b6,_0x29d2f6;const _0x55a790=this['_configService'][_0x354174(0x3a9)](Un),_0x1e0b21=this[_0x354174(0x412)][_0x354174(0x3a9)](Y),_0x25ddf0=(_0x29d2f6=(_0x1c22b6=_0x1e0b21==null?void 0x0:_0x1e0b21[_0x354174(0x1e3)])!=null?_0x1c22b6:_0x55a790)!=null?_0x29d2f6:An,_0x46ffe3=typeof window>'u'?new URL(_0x25ddf0):new URL(_0x25ddf0,window['location']['origin']);_0x46ffe3[_0x354174(0x26d)][_0x354174(0x1ca)](_0x354174(0x45a),_0x11bdbd);const _0x2eff31=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x354174(0x2f6)][_0x354174(0x2ad)]);return _0x2eff31[_0x354174(0x3e3)](_0x354174(0x3f9))&&_0x46ffe3[_0x354174(0x26d)][_0x354174(0x1ca)](_0x354174(0x3f9),_0x2eff31[_0x354174(0x3e3)]('runId')),_0x46ffe3[_0x354174(0x42e)]();}async['_createSocket'](){var _0x35326a=_0x3421ce;const _0x472e6e=await this[_0x35326a(0x2ca)](),_0x54166b=this[_0x35326a(0x1b3)](_0x472e6e),_0x2f5bb5=this[_0x35326a(0x413)][_0x35326a(0x414)](_0x54166b);return this[_0x35326a(0x24f)]=_0x2f5bb5,_0x2f5bb5;}async[_0x3421ce(0x405)](){var _0x211797=_0x3421ce,_0x23cc6f,_0x5e6f86;try{const _0x38dae2=(_0x5e6f86=(_0x23cc6f=this['_socket'])!=null?_0x23cc6f:this[_0x211797(0x24f)])!=null?_0x5e6f86:await this[_0x211797(0x32e)]();if(_0x38dae2){const _0x13519b=_0x38dae2['send'];_0x38dae2[_0x211797(0x194)]=_0x1263e8=>(this['_rescheduleHeartbeat'](),_0x13519b['apply'](_0x38dae2,[_0x1263e8])),_0x38dae2[_0x211797(0x226)]['subscribe'](_0x1486cd=>this[_0x211797(0x177)](_0x38dae2,_0x1486cd)),_0x38dae2[_0x211797(0x1d3)][_0x211797(0x2d7)](_0x200ef5(0x1))[_0x211797(0x3fe)](_0xab7be6=>this[_0x211797(0x155)][_0x211797(0x422)]('[CollaborationSessionService]:\x20socket\x20error',_0xab7be6)),_0x38dae2[_0x211797(0x164)][_0x211797(0x2d7)](_0x200ef5(0x1))[_0x211797(0x3fe)](()=>{this['_onConnectionOpen'](_0x38dae2);}),_0x38dae2['close$']['pipe'](_0x200ef5(0x1))[_0x211797(0x3fe)](_0x1a4c26=>{var _0x43759c=_0x211797;this['_logService'][_0x43759c(0x38a)](_0x43759c(0x1d7),_0x43759c(0x38e),_0x1a4c26),this['_onConnectionFailed']();});}}catch(_0x5b02d7){this[_0x211797(0x155)][_0x211797(0x422)](_0x5b02d7),this[_0x211797(0x34b)]();}}[_0x3421ce(0x1c7)](_0x1e84d3){var _0x21635f=_0x3421ce;this[_0x21635f(0x155)][_0x21635f(0x38a)]('[CollaborationSessionService]',_0x21635f(0x43d)),_0x1e84d3[_0x21635f(0x194)]({'cmd':F['HELLO']}),this['_rescheduleHeartbeat']();}[_0x3421ce(0x397)](){var _0x5bbf84=_0x3421ce;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x5bbf84(0x2bf)][_0x5bbf84(0x373)](Te[_0x5bbf84(0x324)]),this[_0x5bbf84(0x2c3)][_0x5bbf84(0x373)](null),this[_0x5bbf84(0x27d)](),this[_0x5bbf84(0x163)]();}[_0x3421ce(0x34b)](){var _0x577182=_0x3421ce,_0x1cb15c;this[_0x577182(0x397)](),this[_0x577182(0x219)]<((_0x1cb15c=this['_configService'][_0x577182(0x3a9)](Hn))!=null?_0x1cb15c:kn)?(this[_0x577182(0x1f9)][_0x577182(0x1f1)]({'id':re[_0x577182(0x256)]}),this[_0x577182(0x3fb)]()):this[_0x577182(0x1f9)][_0x577182(0x1f1)]({'id':re[_0x577182(0x193)]});}[_0x3421ce(0x3fb)](){var _0x24ef1f=_0x3421ce,_0x3531a7;const _0x321d24=this[_0x24ef1f(0x219)],_0xa42a2=this['_configService'][_0x24ef1f(0x3a9)](Y),_0x44b11b=_0x321d24===0x0?0x0:((_0x3531a7=_0xa42a2==null?void 0x0:_0xa42a2[_0x24ef1f(0x1cf)])!=null?_0x3531a7:$n)*0x2**_0x321d24;this[_0x24ef1f(0x2c6)]=setTimeout(()=>{var _0x3fef26=_0x24ef1f;clearTimeout(this[_0x3fef26(0x2c6)]),this['_retryConnectingTimer']=null,this[_0x3fef26(0x405)]();},_0x44b11b),this[_0x24ef1f(0x219)]+=0x1;}[_0x3421ce(0x177)](_0x324e01,_0xf2c4e5){var _0x1e4395=_0x3421ce;const {cmd:_0x4335c3}=_0xf2c4e5;_0x4335c3===F[_0x1e4395(0x365)]&&!this[_0x1e4395(0x236)]&&(_0x324e01['memberID']=_0xf2c4e5['data']['memberID'],this[_0x1e4395(0x2c3)]['next'](_0x324e01),this[_0x1e4395(0x2bf)][_0x1e4395(0x373)](Te['ONLINE']),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x4335c3===F['HEARTBEAT']&&this[_0x1e4395(0x27d)](),this[_0x1e4395(0x44b)]();}['_rescheduleHeartbeat'](){var _0x433e88=_0x3421ce,_0x3693e1;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x3693e1=this[_0x433e88(0x412)][_0x433e88(0x3a9)](Ln))!=null?_0x3693e1:Mn);}[_0x3421ce(0x445)](){var _0x486dae=_0x3421ce;this[_0x486dae(0x303)]['send']({'cmd':F[_0x486dae(0x1b8)]}),this[_0x486dae(0x3aa)]();}[_0x3421ce(0x3aa)](){var _0x3280c1=_0x3421ce,_0x409a58;this[_0x3280c1(0x1a0)]=setTimeout(()=>this[_0x3280c1(0x34b)](),(_0x409a58=this[_0x3280c1(0x412)][_0x3280c1(0x3a9)](Ei))!=null?_0x409a58:Ii);}[_0x3421ce(0x163)](){var _0x385a6f=_0x3421ce;this[_0x385a6f(0x299)]!=null&&(clearTimeout(this[_0x385a6f(0x299)]),this[_0x385a6f(0x299)]=null);}[_0x3421ce(0x27d)](){var _0x41bfc4=_0x3421ce;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x41bfc4(0x1a0)]),this[_0x41bfc4(0x1a0)]=null);}};Le=hs([ge(0x0,_0x5e9963(_0x212d21)),ge(0x1,_0x8ba9be),ge(0x2,_0x48fe9a),ge(0x3,bi),ge(0x4,_0x5e9963(_0x490c71)),ge(0x5,_0x5e9963(pe)),ge(0x6,_0x21ca56(Gn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x3421ce(0x3d2)]((n+0x100)[_0x3421ce(0x42e)](0x10)[_0x3421ce(0x1bd)](0x1));function _s(_0x3f67aa,_0x4c2c9a=0x0){return(V[_0x3f67aa[_0x4c2c9a+0x0]]+V[_0x3f67aa[_0x4c2c9a+0x1]]+V[_0x3f67aa[_0x4c2c9a+0x2]]+V[_0x3f67aa[_0x4c2c9a+0x3]]+'-'+V[_0x3f67aa[_0x4c2c9a+0x4]]+V[_0x3f67aa[_0x4c2c9a+0x5]]+'-'+V[_0x3f67aa[_0x4c2c9a+0x6]]+V[_0x3f67aa[_0x4c2c9a+0x7]]+'-'+V[_0x3f67aa[_0x4c2c9a+0x8]]+V[_0x3f67aa[_0x4c2c9a+0x9]]+'-'+V[_0x3f67aa[_0x4c2c9a+0xa]]+V[_0x3f67aa[_0x4c2c9a+0xb]]+V[_0x3f67aa[_0x4c2c9a+0xc]]+V[_0x3f67aa[_0x4c2c9a+0xd]]+V[_0x3f67aa[_0x4c2c9a+0xe]]+V[_0x3f67aa[_0x4c2c9a+0xf]])['toLowerCase']();}let dt;const ls=new Uint8Array(0x10);function us(){var _0x4b1d10=_0x3421ce;if(!dt){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');dt=crypto[_0x4b1d10(0x396)][_0x4b1d10(0x2a7)](crypto);}return dt(ls);}const ds=typeof crypto<'u'&&crypto[_0x3421ce(0x1a9)]&&crypto[_0x3421ce(0x1a9)][_0x3421ce(0x2a7)](crypto),qt={'randomUUID':ds};function fs(_0x751a13,_0x15d785,_0xcc066e){var _0x551b56=_0x3421ce;if(qt[_0x551b56(0x1a9)]&&!_0x15d785&&!_0x751a13)return qt['randomUUID']();_0x751a13=_0x751a13||{};const _0x1bae66=_0x751a13[_0x551b56(0x273)]||(_0x751a13['rng']||us)();return _0x1bae66[0x6]=_0x1bae66[0x6]&0xf|0x40,_0x1bae66[0x8]=_0x1bae66[0x8]&0x3f|0x80,_s(_0x1bae66);}const X=_0xb8f76(_0x3421ce(0x28e));function vo(_0x8d5fba){var _0x20f46d=_0x3421ce;return _0x20f46d(0x384)+_0x8d5fba;}var vs=Object['defineProperty'],ps=Object[_0x3421ce(0x281)],ms=(_0xfc78d0,_0x22e7b0,_0x5aad4e,_0x4626ff)=>{for(var _0x59d619=_0x4626ff>0x1?void 0x0:_0x4626ff?ps(_0x22e7b0,_0x5aad4e):_0x22e7b0,_0x8e2004=_0xfc78d0['length']-0x1,_0xa15f84;_0x8e2004>=0x0;_0x8e2004--)(_0xa15f84=_0xfc78d0[_0x8e2004])&&(_0x59d619=(_0x4626ff?_0xa15f84(_0x22e7b0,_0x5aad4e,_0x59d619):_0xa15f84(_0x59d619))||_0x59d619);return _0x4626ff&&_0x59d619&&vs(_0x22e7b0,_0x5aad4e,_0x59d619),_0x59d619;},ft=(_0x2a62a8,_0x4b5bc6)=>(_0x42c767,_0x443fd)=>_0x4b5bc6(_0x42c767,_0x443fd,_0x2a62a8);function gs(_0xdd57e4){var _0x5050df=_0x3421ce;const {unitID:_0x4c72ba,mutations:_0x56fabe}=_0xdd57e4;return{'unitId':_0x4c72ba,'subUnitId':_0x56fabe[0x0][_0x5050df(0x1dc)][_0x5050df(0x20b)]};}let nt=class{constructor(_0x55b61d,_0x232ede,_0x45037b){var _0x5a407d=_0x3421ce;this[_0x5a407d(0x31a)]=_0x55b61d,this['_transformService']=_0x232ede,this[_0x5a407d(0x2e0)]=_0x45037b;}['transformSelections'](_0x3773aa){var _0x354f2b=_0x3421ce,_0x5ce790,_0x1ada90,_0x402e6b,_0x272dbc;const _0x43c694=this[_0x354f2b(0x31a)][_0x354f2b(0x3e3)](_0x4252fc),{unitId:_0xb8ff16,subUnitId:_0x37df25}=gs(_0x3773aa),_0x258b54=_0x43c694==null?void 0x0:_0x43c694[_0x354f2b(0x1fe)](_0xb8ff16)['getCurrentSelections'](),_0x54fa0f=(_0x1ada90=(_0x5ce790=this[_0x354f2b(0x2e0)][_0x354f2b(0x359)](_0xb8ff16))==null?void 0x0:_0x5ce790['getActiveSheet']())==null?void 0x0:_0x1ada90[_0x354f2b(0x366)]();if(_0x258b54[_0x354f2b(0x225)]===0x0||!_0xb8ff16||!_0x37df25)return;const _0x4c6a64=[{'id':_0x1a7800['id'],'params':{'unitId':_0xb8ff16,'subUnitId':_0x54fa0f,'selections':_0xc1e9f6[_0x354f2b(0x221)](_0x258b54)}}],_0x3d7799=this[_0x354f2b(0x33a)][_0x354f2b(0x247)](_0x3773aa,_0x4c6a64);if(!_0x529389(_0x3d7799))throw _0x3d7799[_0x354f2b(0x422)];const _0x393046=(_0x272dbc=(_0x402e6b=_0x3d7799[_0x354f2b(0x347)][0x0])==null?void 0x0:_0x402e6b[_0x354f2b(0x1dc)])==null?void 0x0:_0x272dbc[_0x354f2b(0x3f6)];if(Array[_0x354f2b(0x1b9)](_0x393046)&&_0x393046['length']){if(_0x393046[_0x354f2b(0x225)]===_0x4c6a64[0x0][_0x354f2b(0x1dc)][_0x354f2b(0x3f6)]['length']&&_0x393046[_0x354f2b(0x2ff)]((_0x5df228,_0x3cb8e2)=>_0xdf49a5[_0x354f2b(0x338)](_0x5df228['range'],_0x4c6a64[0x0]['params'][_0x354f2b(0x3f6)][_0x3cb8e2][_0x354f2b(0x283)])))return;this['_injector'][_0x354f2b(0x3e3)](_0x72dd1e)['executeCommand'](_0x1a7800['id'],{'unitId':_0xb8ff16,'subUnitId':_0x54fa0f,'selections':_0x393046});}}};nt=ms([ft(0x0,_0x5e9963(_0x212d21)),ft(0x1,_0x51268a),ft(0x2,_0x10799f)],nt);const _t=_0xb8f76('univer-pro.collaboration-client.single-active-unit-service');var yi=(_0x790831=>(_0x790831[_0x790831['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x790831[_0x790831['OTHER_CLIENTS_EDITING']=0x1]=_0x3421ce(0x3ea),_0x790831))(yi||{});const Ss=new Set([_0x516de5['id']]);function Jt(_0x39c06e,_0x876915,_0x28b9e9,_0x1fbcfb,_0x82a344){var _0x19af2b=_0x3421ce,_0x50cedd,_0x3fe669,_0x58ffd5,_0x355580;const _0x32534e=[];for(const _0xb028d of _0x39c06e)if(Ss[_0x19af2b(0x410)](_0xb028d['id'])){if(_0x32534e[_0x19af2b(0x225)]>0x0)break;_0x32534e[_0x19af2b(0x3d2)](_0xb028d);break;}else _0x32534e[_0x19af2b(0x3d2)](_0xb028d);const _0x28a647=(_0x3fe669=(_0x50cedd=_0x82a344[_0x19af2b(0x222)]())==null?void 0x0:_0x50cedd['userID'])!=null?_0x3fe669:_0x19af2b(0x322),_0x1b934f=(_0x355580=(_0x58ffd5=_0x82a344[_0x19af2b(0x222)]())==null?void 0x0:_0x58ffd5['memberID'])!=null?_0x355580:_0x19af2b(0x322);return{'changeset':{'unitID':_0x876915,'type':_0x1e9494(_0x28b9e9[_0x19af2b(0x17b)](_0x876915)),'baseRev':_0x1fbcfb['getCurrentRevOfUnit'](_0x876915),'revision':0x0,'userID':_0x28a647,'memberID':_0x1b934f,'mutations':_0x32534e},'pendingMutations':_0x39c06e[_0x19af2b(0x1bd)](_0x32534e[_0x19af2b(0x225)])};}function Es(_0x44460d,_0x7994d4,_0xb2f81f,_0x5e2318,_0x5b4e4f){var _0x4afdc8=_0x3421ce,_0x3ca740,_0x276168,_0x54c91b,_0x22cb38;const _0x471fbb=[_0x44460d[_0x4afdc8(0x3a8)]((_0x40c84b,_0x386a58)=>{var _0x58e08e=_0x4afdc8,_0x54122d;const {id:_0x73b552}=_0x40c84b,{id:_0x40bb59,type:_0xb12b4d}=_0x386a58,_0x15d5c6=(_0x54122d=_0x40c84b[_0x58e08e(0x1dc)])!=null?_0x54122d:{'actions':null},_0x3cd360=_0x386a58[_0x58e08e(0x1dc)];if(_0x73b552&&_0x73b552!==_0x40bb59)throw new Error(_0x58e08e(0x1e2)+_0x73b552+_0x58e08e(0x244)+_0x40bb59+'.');return{..._0x40c84b,'id':_0x40bb59,'type':_0xb12b4d,'params':{'unitId':_0x3cd360[_0x58e08e(0x3cc)],'textRanges':_0x3cd360[_0x58e08e(0x23b)],'actions':_0x3ab9c5[_0x58e08e(0x34c)](_0x15d5c6[_0x58e08e(0x269)],_0x3cd360[_0x58e08e(0x269)])}};},{})],_0x35e63e=(_0x276168=(_0x3ca740=_0x5b4e4f[_0x4afdc8(0x222)]())==null?void 0x0:_0x3ca740[_0x4afdc8(0x28d)])!=null?_0x276168:'unknown',_0x31f346=(_0x22cb38=(_0x54c91b=_0x5b4e4f[_0x4afdc8(0x222)]())==null?void 0x0:_0x54c91b[_0x4afdc8(0x291)])!=null?_0x22cb38:'unknown';return{'changeset':{'unitID':_0x7994d4,'type':_0x1e9494(_0xb2f81f[_0x4afdc8(0x17b)](_0x7994d4)),'baseRev':_0x5e2318[_0x4afdc8(0x179)](_0x7994d4),'revision':0x0,'userID':_0x35e63e,'memberID':_0x31f346,'mutations':_0x471fbb},'pendingMutations':[]};}function Oi(_0x5d4224,_0xf38d2f){var _0x36861d=_0x3421ce;const _0x1af5d5=new _0x5ef1f1(0x1);return setTimeout(()=>_0x1af5d5[_0x36861d(0x373)](_0xf38d2f),_0x5d4224),_0x1af5d5[_0x36861d(0x154)]()['pipe'](_0x437b95(0x1));}const Is={'id':_0x24d48f['id'],'type':_0x15c22c[_0x3421ce(0x17d)],'params':{}};var Ts=Object[_0x3421ce(0x2ed)],Cs=Object[_0x3421ce(0x281)],be=(_0x165fae,_0x43b1e0,_0x59bf79,_0x1dfc9f)=>{var _0x49c3b5=_0x3421ce;for(var _0x584a30=_0x1dfc9f>0x1?void 0x0:_0x1dfc9f?Cs(_0x43b1e0,_0x59bf79):_0x43b1e0,_0x2fe40c=_0x165fae[_0x49c3b5(0x225)]-0x1,_0xc854b1;_0x2fe40c>=0x0;_0x2fe40c--)(_0xc854b1=_0x165fae[_0x2fe40c])&&(_0x584a30=(_0x1dfc9f?_0xc854b1(_0x43b1e0,_0x59bf79,_0x584a30):_0xc854b1(_0x584a30))||_0x584a30);return _0x1dfc9f&&_0x584a30&&Ts(_0x43b1e0,_0x59bf79,_0x584a30),_0x584a30;},A=(_0x32085d,_0x3a5af7)=>(_0x96d14e,_0x22ce6c)=>_0x3a5af7(_0x96d14e,_0x22ce6c,_0x32085d),Ni=(_0xdaa6fd=>(_0xdaa6fd['NOT_COLLAB']=_0x3421ce(0x158),_0xdaa6fd[_0x3421ce(0x3c1)]=_0x3421ce(0x3ae),_0xdaa6fd[_0x3421ce(0x19d)]=_0x3421ce(0x25d),_0xdaa6fd['AWAITING']='awaiting',_0xdaa6fd[_0x3421ce(0x245)]=_0x3421ce(0x2d5),_0xdaa6fd['FETCH_MISS']=_0x3421ce(0x3f1),_0xdaa6fd[_0x3421ce(0x3f4)]='conflict',_0xdaa6fd['OFFLINE']=_0x3421ce(0x229),_0xdaa6fd))(Ni||{});const Pi=0xea60;class Re{constructor(_0x54c979,_0x3ff32d,_0x353868,_0x26044a,_0x3f9d60,_0x50fe46,_0x1ff557,_0x5c5e51,_0x4da433){var _0x210321=_0x3421ce;P(this,_0x210321(0x31c),null),P(this,_0x210321(0x2ec),[]),(this[_0x210321(0x3e0)]=_0x54c979,this['type']=_0x3ff32d,this[_0x210321(0x352)]=_0x3f9d60,this[_0x210321(0x310)]=_0x50fe46,this['_undoRedoService']=_0x1ff557,this['_revisionService']=_0x5c5e51,this[_0x210321(0x192)]=_0x4da433,this['_awaitingChangeset']=_0x353868,this['_pendingMutations']=_0x26044a);}[_0x3421ce(0x378)](_0x5f57fa){var _0x2692d0=_0x3421ce;const _0x5426ba=this['_revisionService'][_0x2692d0(0x179)](this[_0x2692d0(0x3e0)]);return _0x5f57fa[_0x2692d0(0x374)]>_0x5426ba+0x1?(this[_0x2692d0(0x352)][_0x2692d0(0x326)]({'from':_0x5426ba,'to':_0x5f57fa[_0x2692d0(0x374)]-0x1}),!0x0):!0x1;}[_0x3421ce(0x387)](_0x2cb065){var _0x3d15b5=_0x3421ce;this[_0x3d15b5(0x227)][_0x3d15b5(0x3f2)](this[_0x3d15b5(0x3e0)],_0x2cb065);}['_transformSelections'](_0x3642b3){var _0x36269d=_0x3421ce,_0x3b6fd7,_0x267dee;(_0x267dee=(_0x3b6fd7=this['_handler'])[_0x36269d(0x333)])==null||_0x267dee[_0x36269d(0x29c)](_0x3b6fd7,_0x3642b3);}[_0x3421ce(0x16b)](_0x2220cc){var _0x1a7226=_0x3421ce,_0x20f0b6,_0x31910c;return(_0x31910c=(_0x20f0b6=this[_0x1a7226(0x352)])[_0x1a7226(0x232)])==null?void 0x0:_0x31910c[_0x1a7226(0x29c)](_0x20f0b6,_0x2220cc);}[_0x3421ce(0x160)](_0x25f795){var _0x2da60=_0x3421ce,_0x182db9,_0x15cc9e;return(_0x15cc9e=(_0x182db9=this['_handler'])['onTransformState'])==null?void 0x0:_0x15cc9e[_0x2da60(0x29c)](_0x182db9,_0x25f795);}[_0x3421ce(0x411)](_0x3cb505){var _0x22a503=_0x3421ce,_0x3ca5ad,_0x150d15,_0x31e5ba;return(_0x31e5ba=(_0x150d15=(_0x3ca5ad=this[_0x22a503(0x352)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x150d15[_0x22a503(0x29c)](_0x3ca5ad,_0x3cb505))!=null?_0x31e5ba:_0x3cb505;}[_0x3421ce(0x1e9)](_0x395b2){var _0x239e8c=_0x3421ce,_0x928d0a,_0x61d980,_0x557908;return(_0x557908=(_0x61d980=(_0x928d0a=this[_0x239e8c(0x352)])[_0x239e8c(0x342)])==null?void 0x0:_0x61d980[_0x239e8c(0x29c)](_0x928d0a,_0x395b2))!=null?_0x557908:_0x395b2;}[_0x3421ce(0x3c9)](_0x5ce954){var _0xe9a0b8=_0x3421ce,_0x356cd4,_0x424d1b;if(this[_0xe9a0b8(0x363)]===Q['UNIVER_DOC']){const {unitID:_0x594a8c,mutations:_0x46158e,memberID:_0x635a07}=_0x5ce954,_0x1afdce=_0x46158e[0x0]['params'][_0xe9a0b8(0x23b)];Array[_0xe9a0b8(0x1b9)](_0x1afdce)&&_0x1afdce[_0xe9a0b8(0x225)]>0x0&&((_0x424d1b=(_0x356cd4=this[_0xe9a0b8(0x352)])['onSyncEditingCollabCursor'])==null||_0x424d1b[_0xe9a0b8(0x29c)](_0x356cd4,{'unitID':_0x594a8c,'memberID':_0x635a07,'textRanges':_0x1afdce}));}}['_updateLocalCache'](){var _0x1f92af=_0x3421ce,_0x50dd1b;(_0x50dd1b=this[_0x1f92af(0x192)])==null||_0x50dd1b[_0x1f92af(0x2b4)](this['unitID'],this[_0x1f92af(0x363)],this[_0x1f92af(0x31c)],this[_0x1f92af(0x2ec)]);}[_0x3421ce(0x29a)](){var _0x58cae1=_0x3421ce;return this[_0x58cae1(0x1df)][_0x58cae1(0x179)](this[_0x58cae1(0x3e0)]);}[_0x3421ce(0x3b0)](){var _0x138514=_0x3421ce;this['_revisionService'][_0x138514(0x2f9)](this[_0x138514(0x3e0)]);}[_0x3421ce(0x2b0)](_0xa3c77a){var _0x129da7=_0x3421ce,_0x358035;let _0x4d72e1=this[_0x129da7(0x411)](_0xa3c77a);_0x4d72e1=this['_transformRemoteChangesetByStateCache'](_0x4d72e1);const _0x1a8d95=_0x1abb2e(_0x4d72e1[_0x129da7(0x292)],this[_0x129da7(0x310)],{'fromCollab':!0x0});if(!_0x1a8d95[_0x129da7(0x1a2)])throw _0x1a8d95[_0x129da7(0x422)]instanceof Error?_0x1a8d95['error']:new Error((_0x358035=_0x1a8d95['error'])!=null?_0x358035:_0x129da7(0x176));this['_transformIMECache'](_0x4d72e1),this[_0x129da7(0x160)](_0x4d72e1),this[_0x129da7(0x387)](_0xa3c77a),this[_0x129da7(0x2a0)](_0x4d72e1),this[_0x129da7(0x3c9)](_0x4d72e1),this[_0x129da7(0x3b0)]();}}let Pe=class extends Re{constructor(_0x22760e,_0x20cc2d,_0x25fa87,_0x502ebc,_0x41f25c,_0x3d8d23,_0x2e8b43,_0x45fb74,_0x18f44d,_0x3fb8d6){var _0x10497e=_0x3421ce;super(_0x22760e,_0x20cc2d,null,[],_0x25fa87,_0x2e8b43,_0x3d8d23,_0x502ebc,_0x3fb8d6),P(this,_0x10497e(0x1de),'synced'),(this[_0x10497e(0x31a)]=_0x41f25c,this[_0x10497e(0x155)]=_0x45fb74,this['_transformService']=_0x18f44d,this[_0x10497e(0x330)]=_0x3fb8d6);}[_0x3421ce(0x2ae)](_0x2c7094){var _0x4cacc2=_0x3421ce;const _0x3eb260=this[_0x4cacc2(0x31a)][_0x4cacc2(0x38b)](oe,this['unitID'],this[_0x4cacc2(0x363)],[_0x2c7094],this['_handler']);return _0x3eb260[_0x4cacc2(0x369)](),_0x3eb260['_updateLocalCache'](),_0x3eb260;}['onRemoteChangeset'](_0x3c39f1){var _0x119bbc=_0x3421ce;if(this[_0x119bbc(0x378)](_0x3c39f1))return this[_0x119bbc(0x31a)]['createInstance'](te,this[_0x119bbc(0x3e0)],this[_0x119bbc(0x363)],null,[],null,[_0x3c39f1],this['_handler']);try{const _0xe0c6d5=this['_transformService'][_0x119bbc(0x247)](_0x3c39f1,[Is]);if(_0x529389(_0xe0c6d5)){const {c1Prime:_0x5c1652}=_0xe0c6d5;return this['_executeRemoteChangeset'](_0x5c1652),this;}throw _0xe0c6d5[_0x119bbc(0x422)];}catch(_0x155ec0){return this['_logService']['error'](_0x155ec0),this[_0x119bbc(0x41e)](!0x1);}}[_0x3421ce(0x41e)](_0x17b380){var _0x16f406=_0x3421ce;return this[_0x16f406(0x31a)][_0x16f406(0x38b)](de,this['unitID'],this[_0x16f406(0x363)],null,[],this[_0x16f406(0x352)],_0x17b380);}[_0x3421ce(0x298)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x3421ce(0x2c8)](){var _0x132ef2=_0x3421ce;throw new Error(_0x132ef2(0x3ca));}[_0x3421ce(0x1e1)](){return this;}['toggleOffline'](){var _0x34392d=_0x3421ce;return this[_0x34392d(0x31a)]['createInstance'](fe,this['unitID'],this[_0x34392d(0x363)],null,[],this['_handler']);}[_0x3421ce(0x313)](){return this;}[_0x3421ce(0x2cd)](){var _0x1d5a8c=_0x3421ce;throw new Error(_0x1d5a8c(0x340));}[_0x3421ce(0x17a)](){var _0x27f94d=_0x3421ce;const _0x3928d0=this['_revisionService'][_0x27f94d(0x179)](this['unitID']);return this[_0x27f94d(0x352)][_0x27f94d(0x326)]({'from':_0x3928d0,'to':0x0}),this[_0x27f94d(0x31a)][_0x27f94d(0x38b)](te,this[_0x27f94d(0x3e0)],this[_0x27f94d(0x363)],null,[],null,[],this['_handler']);}};Pe=be([A(0x3,_0x5e9963(_0x52bdc1)),A(0x4,_0x5e9963(_0x212d21)),A(0x5,_0x3f6f94),A(0x6,_0x72dd1e),A(0x7,_0x8ba9be),A(0x8,_0x51268a),A(0x9,_0x21ca56(X))],Pe);let oe=class extends Re{constructor(_0x4de169,_0xf8e38a,_0x3882c6,_0x3b3470,_0x9fdda8,_0x11785d,_0x264338,_0x5c3bdd,_0x5653bf,_0x318539,_0x4a944b,_0xb03b07,_0x3f4075,_0x592ddd){var _0x262abe=_0x3421ce;super(_0x4de169,_0xf8e38a,null,_0x3882c6,_0x3b3470,_0x5653bf,_0x3f4075,_0x11785d,_0x592ddd),P(this,'status','pending'),P(this,_0x262abe(0x1b0),null),P(this,_0x262abe(0x297),null),(this[_0x262abe(0x31a)]=_0x9fdda8,this[_0x262abe(0x408)]=_0x264338,this[_0x262abe(0x155)]=_0x5c3bdd,this[_0x262abe(0x412)]=_0x318539,this['_transformService']=_0x4a944b,this[_0x262abe(0x305)]=_0xb03b07);}[_0x3421ce(0x2ae)](_0x185053){var _0x5800b9=_0x3421ce;return this[_0x5800b9(0x2ec)][_0x5800b9(0x3d2)](_0x185053),this[_0x5800b9(0x32b)](),this;}[_0x3421ce(0x402)](_0x49d258){var _0x539b5e=_0x3421ce;if(this[_0x539b5e(0x378)](_0x49d258))return this['_clearScheduledTask'](),this[_0x539b5e(0x31a)]['createInstance'](te,this[_0x539b5e(0x3e0)],this[_0x539b5e(0x363)],null,this['_pendingMutations'],null,[_0x49d258],this['_handler']);try{const _0x488d49=this[_0x539b5e(0x33a)][_0x539b5e(0x247)](_0x49d258,this[_0x539b5e(0x2ec)]);if(_0x529389(_0x488d49)){const {c1Prime:_0x11e401,m2Prime:_0x123ebb}=_0x488d49;this[_0x539b5e(0x2b0)](_0x11e401);const _0x14d5b0=this[_0x539b5e(0x31a)]['createInstance'](oe,this['unitID'],this[_0x539b5e(0x363)],_0x123ebb,this['_handler']);return this[_0x539b5e(0x216)](),_0x14d5b0['_schedule'](this['_scheduleTimestamp']?Math[_0x539b5e(0x2e4)](0x0,new Date()[_0x539b5e(0x37d)]()-this[_0x539b5e(0x1b0)]):this[_0x539b5e(0x440)]()),_0x14d5b0;}throw _0x488d49[_0x539b5e(0x422)];}catch(_0x4a7a6e){return this[_0x539b5e(0x155)][_0x539b5e(0x422)](_0x4a7a6e),this['_onConflict'](!0x1);}}[_0x3421ce(0x298)](){var _0x2c2daf=_0x3421ce;throw new Error(_0x2c2daf(0x386));}[_0x3421ce(0x2c8)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x3421ce(0x21d)](){var _0x5e2559=_0x3421ce;return this[_0x5e2559(0x216)](),this[_0x5e2559(0x31a)][_0x5e2559(0x38b)](fe,this[_0x5e2559(0x3e0)],this['type'],null,this[_0x5e2559(0x2ec)],this[_0x5e2559(0x352)]);}[_0x3421ce(0x313)](){return this;}[_0x3421ce(0x369)](_0x352cd5){var _0x1d128a=_0x3421ce;const _0xf303a7=_0x352cd5!=null?_0x352cd5:this[_0x1d128a(0x440)]();this[_0x1d128a(0x1b0)]=new Date()['getTime'](),this[_0x1d128a(0x297)]=setTimeout(()=>{var _0x481587=_0x1d128a;this[_0x481587(0x216)]();let _0x2de1bb=null;switch(this['type']){case Q[_0x481587(0x19e)]:{_0x2de1bb=Jt(this['_pendingMutations'],this[_0x481587(0x3e0)],this[_0x481587(0x305)],this[_0x481587(0x1df)],this[_0x481587(0x408)]);break;}case Q[_0x481587(0x25c)]:{this['_pendingMutations'][_0x481587(0x2ff)](_0x28bb13=>_0x28bb13['id']===_0x1c4461['id'])?_0x2de1bb=Es(this['_pendingMutations'],this[_0x481587(0x3e0)],this['_univerInstanceService'],this[_0x481587(0x1df)],this[_0x481587(0x408)]):_0x2de1bb=Jt(this[_0x481587(0x2ec)],this[_0x481587(0x3e0)],this['_univerInstanceService'],this['_revisionService'],this[_0x481587(0x408)]);break;}default:throw new Error(_0x481587(0x2a3)+this[_0x481587(0x363)]+_0x481587(0x2cb));}const {changeset:_0x3dda75,pendingMutations:_0x38ae0b}=_0x2de1bb;this[_0x481587(0x352)][_0x481587(0x20c)](_0x3dda75);const _0x172bf1=_0x38ae0b['length']?this['_injector']['createInstance'](ae,this[_0x481587(0x3e0)],this[_0x481587(0x363)],_0x3dda75,_0x38ae0b,this[_0x481587(0x352)],void 0x0):this['_injector'][_0x481587(0x38b)](ue,this[_0x481587(0x3e0)],this[_0x481587(0x363)],_0x3dda75,this[_0x481587(0x352)]);_0x172bf1['_updateLocalCache'](),this[_0x481587(0x352)][_0x481587(0x1f4)](this,_0x172bf1);},_0xf303a7);}[_0x3421ce(0x440)](){var _0x2d03f6=_0x3421ce,_0x575de5;const _0x30dd56=this[_0x2d03f6(0x412)][_0x2d03f6(0x3a9)](Y);return(_0x575de5=_0x30dd56==null?void 0x0:_0x30dd56[_0x2d03f6(0x243)])!=null?_0x575de5:wn;}[_0x3421ce(0x2cd)](){var _0x109212=_0x3421ce;throw new Error(_0x109212(0x35a));}[_0x3421ce(0x216)](){var _0x1e6741=_0x3421ce;this['_sendingTimer']!=null&&(clearTimeout(this[_0x1e6741(0x297)]),this[_0x1e6741(0x297)]=null);}[_0x3421ce(0x41e)](_0x2172dd){var _0x6325c9=_0x3421ce;return this[_0x6325c9(0x216)](),this[_0x6325c9(0x31a)][_0x6325c9(0x38b)](de,this[_0x6325c9(0x3e0)],this[_0x6325c9(0x363)],null,this[_0x6325c9(0x2ec)],this[_0x6325c9(0x352)],_0x2172dd);}};oe=be([A(0x4,_0x5e9963(_0x212d21)),A(0x5,_0x5e9963(_0x52bdc1)),A(0x6,_0x5e9963(xe)),A(0x7,_0x8ba9be),A(0x8,_0x72dd1e),A(0x9,_0x48fe9a),A(0xa,_0x51268a),A(0xb,_0x10799f),A(0xc,_0x3f6f94),A(0xd,_0x21ca56(X))],oe);function _0x5d66(){var _0x4d2441=['disposeWithMe','memberID','mutations','_createHelper','charCodeAt','duration','exports','_sendingTimer','onRemoteAck','_sendHeartbeatTimer','_getCurrentRevision','onTransformState','call','_oKey','decryptBlock','getUnitOnRev','_transformSelections','[FetchMissState]','APPLY_DUPLICATED','[PendingState]:\x20unhandled\x20univer\x20type:\x20','SUBMIT_CHANGESET','floor','YUUMI_URL_COL_OUT_OF_RANGE','bind','originalMeta','kdf','_getCtorByUniverType','update','_getRedoStack','search','appendMutation','_substituteUndoStack','_executeRemoteChangeset','_type','status$','method','updateOfflineData','dispose','UNIVER_COLLABORATION_CLIENT_PLUGIN','fetching\x20missing\x20changesets\x20from\x20','TOO_MANY_REQUESTS','format','delete','UNISCRIPT_RUN','_telemetryInfo','COMMENT_UPDATE','SNAPSHOT_SERVER_URL_KEY','_status$','_config','ERROR_IMAGE','ivSize','_socket$','editingUnit','_HTTPService','_retryConnectingTimer','addImageSourceCache','onRemoteRej','infoRsp','_getSessionTicket','\x20in\x20_schedule.','sid','resend','INTERNAL_ERROR','fetchThroughInterceptors','updateMember','origin','_createHandler','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','resourceIDs','awaiting_with_pending','_initDependencies','pipe','_telemetryService','disableLocalCache','_entities','UNRECOGNIZED','LIVESHARE_OPERATION','create','[OfflineState]:\x20received\x20rejection.','Univer','_instanceService','socketService','LIVESHARE_FETCH_OPERATIONS','value','max','/universer-api/snapshot','_sessionStatus$','[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.','_unlockTransition','hostname','capture','getCollabEntity$','_pendingMutations','defineProperty','waitForRoom$','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_xformMode','charAt','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_shouldReportTelemetry','_emitMembers','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','location','ERROR_EXCEED_SIZE','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','incrementRevOfUnit','buffer','_onJoinRoomEvent','UNIVER_PROJECT','YUUMI_UNABLE_LOAD_URL','_iv','every','objectID','patch','_networkConditionService','_socket','session.room-full','_univerInstanceService','_loadSheet','snapshotServerUrl','APPLY_PERMISSION_DENIED','_data','DEFAULT_FILE_NAME','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','JOIN_ROOM_PERMISSION_DENIED','USERS_ENTER','_collaborationTimeoutTimer','transformChangesets','_commandService','ticket','removeMember','toggleOnline','ciphertext','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','loadUnit','HttpImport','PERSON','SHA1','_injector','getSnapshotAPIPath','_awaitingChangeset','_DEC_XFORM_MODE','_decreaseWaiting','UNAUTHENTICATED','/collaborator','JOIN_ROOM_FULL','unknown','createDecryptor','OFFLINE','mode','onMissingChangesets','conflict','96IBjyBS','MD5','_exhaustRemoteChangesetQueue','_updateLocalCache','_onRemoteACK','_getUndoStack','_createSocket','BlockCipherMode','localCacheService','_unitID','change$','onTransformSelections','Malformed\x20UTF-8\x20data','AUTHZ_URL_KEY','Workbook','Error\x20on\x20receiving\x20event','equals','_keyPriorReset','_transformService','_ENC_XFORM_MODE','Worksheet','[OfflineState]:\x20received\x20acknowledgement.','clearUndoRedo','headers','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_compressMutationService','onTransformRemoteChangesetByStateCache','_snapshotService','COMPRESS_MUTATION_SEND','_createHmacHelper','_transitionLocked','m2Prime','Base64','add','UNKNOWN_CODE','_onConnectionFailed','compose','complete','updateCursorEvent','COMPRESS_MUTATION_APPLY','_toggleOffline','padding','_handler','APPLY_NON_SEQUENTIAL_REVISION','_updateStatus','getCurrentUnitForType','_queuedRemoteChangesets','salt','ws://127.0.0.1:8000/universer-api/comb/connect','getUnit','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','HMAC','entries','liveShareNewHost','getTypeOfUnitAdded$','49388iAVhSi','enableOfflineEditing','Base','objectType','type','_changesetSessionId','HELLO','getSheetId','_startTelemetryCollaborationNewChangeset','COMPLETION_FINISHED','_schedule','then','_getDownloadEndpointURL','_append','YUUMI_SUBSCRIPTION_NOT_FOUND','putCollaborators','getValue','Encryptor','submit\x20changeset\x20error!','__creator','next','revision','_acknowledgedAwaitingChangeset','_reverseMap','ALREADY_EXISTS','_checkMissing','LICENSE_DISTRO_REJECTED','/block/','keySize','getInterceptPoints','getTime','concat','_members','liveShareOperation','image/gif','clamp','baseRev','unit-cache-','_clearCollaborationTimeoutTimer','[PendingState]:\x20received\x20acknowledgement.','_transformUndoredo','NEW_CHANGESETS','/object/','debug','createInstance','_fetchMissChangesets','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','socket\x20close','[DataLoaderService]','repeat','_init','session.room-cnt-exceeds','execute','&source=','getTypeOfUnitDisposed$','getRandomValues','_onOffline','JOIN_ROOM_FAILED','POST','failed\x20to\x20apply\x20missed\x20changesets!','getUnitId','_change$','blockSize','_initMergeInterceptor','[OfflineState]:\x20received\x20changeset.','ruleRefresh','_process','$super','indexOf','encrypt','_userManagerService','Utf8','setCurrentUser','reduce','getConfig','_waitForHeartbeatResponse','USERS_LEAVE','clear','image/bmp','synced','loginUrlKey','_incrementRevisionNumber','JOIN','pauseCollaboration','refreshPermission','newCsEvent','UNIVER_SLIDE','FileId','isPermissionRej','_resendTimer','44kYOgHG','_mode','[CollaborationSession]','readAsDataURL','interceptor','byteOffset','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','FETCH_MISSING','SYNCED','_state','subject','initWorkbookPermissionChange','image/png','enc','SUBMIT_CHANGESET_TIMEOUT','HmacSHA1','_syncEditingCollabCursor','[SyncedState]:\x20received\x20rejection.','updateCollaborator','unitId','decrypt','joinEvent','_getLoginPath','includes','cfg','push','from','join','collaMsg','fromCollab','leaveEvent','algo','copyFileMeta','now','_remoteChangesetQueue','_onRemoteRejected','awaitingChangeset','_createInitialStateImpl','min','unitID','PERMISSION_REJ','BlockCipher','get','sigBytes','_transformStack','body','resolve','PERMISSION_DENIED','6166206MfmgLD','OTHER_CLIENTS_EDITING','downloadEndpointUrl','_createInitialState','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','close$','StreamCipher','allowed','fetch_missing','transformUndoRedo','6665350oJskqJ','CONFLICT','_submitChangeset','selections','SNAPSHOT_HAS_BEEN_REMOVED','EXCHANGE_SIGN_URL_SERVER_URL_KEY','runId','_singleActiveUnitService','_tryReconnect','symbol','onSyncEditingCollabCursor','subscribe','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','csRejEvent','UPDATE_CURSOR','onRemoteChangeset','LIVESHARE_REQUEST_HOST','_prevBlock','_tryEnsureSocket','eventID','Hasher','_memberService','LOGIN_URL_KEY','joinRsp','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_minBufferSize','_removeRoom','_clearLocalCache','loadOfflineData','has','_transformRemoteChangesetByIMECache','_configService','_socketService','createSocket','univer-pro.collaboration-client-socket-service','CLOSE_ROOM','cmd','820187rJfNLZ','CHANGESET_SHOULD_RETRY','getAllMembers','_hash','_state$','executeCommand','_onConflict','socket$','/rev/','&to=','error','reconnect','__esModule','close','/-/object/-/batch_allowed','getFocusedUnit','crypto','name','_onUserLeave','WordArray','/universer-api/snapshot/','FAIL','toString','createCollaborator','fromCharCode','sessionStatus$','updatePermissionPoint','_doCryptBlock','commentUpdate$','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','/allowed','_invKeySchedule','permissionRejEvent','OpenSSL','ENSURE_SNAPSHOT_EXECUTION','mixIn','INVALID_ARGUMENT','socket\x20open.','action','_socketMessageSubscription','_getSendChangesetTimeout','HmacMD5','unpad','replace','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_sendHeartbeat','RETRY_CONNECTING_MAX_COUNT','onStarting','IDLE','UUID','LIVESHARE_NEW_HOST','_rescheduleHeartbeat','splice','withCredentials','createEncryptor','SNAPSHOT_INVALID_SNAPSHOT','NOT_FOUND','_startCollaboration','focused$','_commentService','/-/object/list','avatar','/unit/','size','_clearRedo','parse','sessionTicket','/universer-api/stream/file/upload','4199832gxfFuh','snapshot','asObservable','_logService','BufferedBlockAlgorithm','map','not_collab','loadDoc','/new_changes','string','_initUnitPermissionChange','BASE64','_map','_hasher','_transformStateCache','encodeURIComponent','put','_clearHeartbeatTimer','open$','session.room-permission-denied','onlyLocal','/universer-api/oidc/authpage','_changesetReqId','sheets','getMemberID','_transformIMECache','online$','2pgbPQd','saveSheetBlock','CHANGESET_REVISION_CONFILICT','_updateState','CONNECTOR_DATA_TOO_LARGE','csAckEvent','5258043wwjnqv','title','_commentUpdate$','[CollaborationState]:\x20apply\x20error!','_onMessage','_clearUndo','getCurrentRevOfUnit','fetchMiss','getUnitType','startTime','MUTATION','UNIVER_UNKNOWN','_onRemoteRetry','onMissedChangesetFetched','list','c1Prime','updatePermissionObjEvent','src','_waitCount','event$','HEARTBEAT_INTERVAL','requireSession','default','workbook','_unitInfo$','_imageSourceCache','clone','_getUploadFileURL','/role','EvpKDF','rev','_localCacheService','SOCKET_FAILED','send','CBC','onCommentUpdate','_onRemoteChangeset','_httpService','listCollaborators','getDeserializedSheetBlock','CHANGESET_REJ','reject','PENDING','UNIVER_SHEET','_isPermissionRej','_timeoutTimer','/resources','result','_doFinalize','_lockTransition','[CollaborationEntity]','Decryptor','INGEST','getSheetBlock','randomUUID','reset','_entityInit$','editing\x20status\x20changed\x20to','authzUrl','LICENSE_EXPORT_SIZE_EXCEEDED','Undefined','_scheduleTimestamp','CHANGESET_ACK','signUrlServerUrl','_createSocketURL','localeService','_cipher','JOIN_ROOM_NOT_EXISTS','_undoStacks','HEARTBEAT','isArray','roomInfos','_registerDependencies','sessionStatus','slice','_iKey','append','pluginName','SelectRange','reqId','generateRandomId','_joinRoom','PSEUDO_FETCH_MISSING_RESULT','_onUserJoin','_onConnectionOpen','_collabSessionService','routeKey','set','x-univer-host','url','requestParams','getMember','retryConnectingInterval','_sessions','startsWith','file','error$','univer-pro.collaboration-client.network-condition.service','_event$','csShouldRetryEvent','[CollaborationSessionService]','getLatestCsReqIdBySid','words','{fileID}','Could\x20not\x20dynamically\x20require\x20\x22','params','LICENSE_IMPORT_SIZE_EXCEEDED','status','_revisionService','href','onRemoteRetry','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','collabWebSocketUrl','ONLINE','state$','abs','_onLocalMutation','pad','_transformRemoteChangesetByStateCache','_getAPIPrefix','LIVESHARE_TERMINATE','UnitEmbedded','COLLAB_SUBMIT_CHANGESET_URL','byteLength','prototype','key','emitEvent','NoPadding','compute','onStateChange','_getSignURL','getPermissionPoint','lib','function','_collaborationUIEventService','sin','forEach','/universer-api/authz','session.room-not-exists','getWorkbookSelections','_redoStacks','roles','_resendWithTimeout','dispose$','connection\x20error','loadSheet','onTransformRemoteChangesetByIMECache','find','_localeService','_substituteRedoStack','_sender','1107426AaUHyh','subUnitId','onSendChangeset','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','data','_doProcessBlock','_keySchedule','_roomMembers','changesets','_resendTimeout','_nDataBytes','_nRounds','_clearScheduledTask','UNKNOWN_CMD','apply','_retryCount','image/jpg','listRoles','_getAPIPrefixPath','toggleOffline','c2Prime','_onFetchMissResult','getTargetByPermissionId','deepClone','getCurrentUser','UnitSnapshot','enableSingleActiveInstanceLock','length','message$','_undoRedoService','_listenToNetworkCondition','offline','_permissionService','stringify','_scheduleCollaborationTimeoutTimer','code','hasOwnProperty','registerHTTPInterceptor','LEAVE','batchAllowed','onTransformIME','onCommandExecuted','session.join-failed','init','_socketReady','collaboration-client.config','UNDEFINED','GLOBAL_ROOMS_CNT_EXCEEDS','/universer-api/file/{fileID}/sign-url','textRanges','closeSession','RECV','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','uniscriptRunEvent','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_key','_http','sendChangesetTimeout','\x20-\x20','AWAITING_WITH_PENDING','UPDATE_PERMISSION_OBJ','transformMutationsWithChangeset','[UniverCollaborationClientPlugin]','subType','SEND_CHANGESET_TIMEOUT','session','\x0aCurrent:\x20','getCollabEntity','/universer-api/comb','_candidateSocket','20oPHuBy','stopTime','APPLY_REVISION_CONFILICT','SNAPSHOT_URL_KEY','saveChangeset','members','SOCKET_FAILED_RETRY','_initRequestHeader','Cipher','application/json','_members$','extend','UNIVER_DOC','pending','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_authzIoService','fetchMissingChangesets','collaboratorID','_toggleOnline','unitId\x20is\x20not\x20found','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','post','_eventService','_roomCreated$','finalize','actions','enableAuthServer','unsubscribe','responseType','searchParams','getImage','_throwTelemetryCollaborationNewChangeset','collaborators','_collaborationSessionService','_replayCachedMutations','random','_doReset','filter','__Key__','_disableEditing','randomBytes','catch','onLocalMutation','encode','readInt32LE','_clearTimeoutTimer','LICENSE_MAX_UNITS_EXCEEDED','OTHER_CLIENT_EDITING','SHOULD_CLOSE_CONN','getOwnPropertyDescriptor','hasher','range','/object','override','_stopTelemetryCollaborationNewChangeset','_snapshotServerService','_applyRemoteChangeset','_handlerCallback','AES','msCrypto','auth.needGotoLoginAlert','userID','collaboration-client.local-cache-service','_parse'];_0x5d66=function(){return _0x4d2441;};return _0x5d66();}let ue=class extends Re{constructor(_0x16f239,_0x373a33,_0x44fef9,_0x143992,_0x55bb59,_0x187edd,_0x4386d,_0x33e995,_0x2bedb,_0x33559a,_0x4d434f){var _0x25a6ec=_0x3421ce;super(_0x16f239,_0x373a33,_0x44fef9,[],_0x143992,_0x4386d,_0x33559a,_0x187edd,_0x4d434f),P(this,_0x25a6ec(0x1de),'awaiting'),P(this,_0x25a6ec(0x213),0x0),P(this,_0x25a6ec(0x3b8)),P(this,_0x25a6ec(0x209)),(this[_0x25a6ec(0x31a)]=_0x55bb59,this[_0x25a6ec(0x155)]=_0x33e995,this[_0x25a6ec(0x33a)]=_0x2bedb);}[_0x3421ce(0x2ae)](_0x1dc240){var _0x3971f4=_0x3421ce;this['_clearScheduledTask']();const _0x13be7f=this['_injector']['createInstance'](ae,this['unitID'],this['type'],this[_0x3971f4(0x31c)],[_0x1dc240],this[_0x3971f4(0x352)],this[_0x3971f4(0x3b8)]);return _0x13be7f[_0x3971f4(0x32b)](),_0x13be7f;}[_0x3421ce(0x402)](_0x337b4c){var _0x1148f5=_0x3421ce;if(this[_0x1148f5(0x378)](_0x337b4c))return this[_0x1148f5(0x216)](),this[_0x1148f5(0x31a)]['createInstance'](te,this[_0x1148f5(0x3e0)],this[_0x1148f5(0x363)],this[_0x1148f5(0x31c)],[],null,[_0x337b4c],this[_0x1148f5(0x352)]);try{const _0x577971=this['_transformService'][_0x1148f5(0x30f)]([_0x337b4c],[this[_0x1148f5(0x31c)]],!0x1);if(_0x1130b7(_0x577971)){const {c1Prime:_0x57f888,c2Prime:_0x1e27e7}=_0x577971;this[_0x1148f5(0x2b0)](_0x57f888[0x0]),_0x1e27e7[0x0][_0x1148f5(0x383)]=this[_0x1148f5(0x29a)](),this[_0x1148f5(0x216)]();const _0x1f6d14=this[_0x1148f5(0x31a)][_0x1148f5(0x38b)](ue,this['unitID'],this['type'],_0x1e27e7[0x0],this[_0x1148f5(0x352)]);return _0x1f6d14[_0x1148f5(0x32b)](),_0x1f6d14;}return this[_0x1148f5(0x41e)](!0x1);}catch(_0x4c3148){return this['_logService'][_0x1148f5(0x422)](_0x4c3148),this[_0x1148f5(0x41e)](!0x1);}}['onRemoteAck'](_0x29e5bc){var _0x565528=_0x3421ce;this[_0x565528(0x216)]();const _0x1e13ac=this[_0x565528(0x1df)][_0x565528(0x179)](this[_0x565528(0x3e0)]);if(_0x29e5bc[_0x565528(0x374)]<_0x1e13ac-0x1)return this;if(this[_0x565528(0x378)](_0x29e5bc))return this['_injector'][_0x565528(0x38b)](te,this[_0x565528(0x3e0)],this[_0x565528(0x363)],null,[],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0x222721=this[_0x565528(0x31a)][_0x565528(0x38b)](Pe,this[_0x565528(0x3e0)],this[_0x565528(0x363)],this[_0x565528(0x352)]);return _0x222721[_0x565528(0x32b)](),_0x222721;}[_0x3421ce(0x2c8)](_0x1fe66a){var _0x448142=_0x3421ce;return this[_0x448142(0x41e)](!!(_0x1fe66a!=null&&_0x1fe66a[_0x448142(0x3b7)]));}[_0x3421ce(0x1e1)](_0x32d588){var _0x3dcc50=_0x3421ce;return this['_resendTimeout']>Pi?this[_0x3dcc50(0x21d)]():(this[_0x3dcc50(0x3b8)]=Oi(this[_0x3dcc50(0x213)],{'timeout':this[_0x3dcc50(0x213)],'reqId':_0x32d588['reqId']}),this[_0x3dcc50(0x209)]=this[_0x3dcc50(0x3b8)][_0x3dcc50(0x3fe)](({reqId:_0x429698,timeout:_0x26a3a7})=>{var _0x5c1b7b=_0x3dcc50;this[_0x5c1b7b(0x201)](_0x429698,_0x26a3a7);}),this);}[_0x3421ce(0x21d)](){var _0x39a23f=_0x3421ce;return this[_0x39a23f(0x216)](),this[_0x39a23f(0x31a)]['createInstance'](fe,this[_0x39a23f(0x3e0)],this[_0x39a23f(0x363)],this[_0x39a23f(0x31c)],[],this[_0x39a23f(0x352)]);}['toggleOnline'](){return this;}['resend'](){var _0x20bd76=_0x3421ce;this[_0x20bd76(0x352)][_0x20bd76(0x20c)](this[_0x20bd76(0x31c)]);}[_0x3421ce(0x41e)](_0x448f31){var _0x149610=_0x3421ce;return this[_0x149610(0x216)](),this[_0x149610(0x31a)][_0x149610(0x38b)](de,this[_0x149610(0x3e0)],this['type'],this['_awaitingChangeset'],[],this[_0x149610(0x352)],_0x448f31);}[_0x3421ce(0x201)](_0xaaea06,_0x323795){var _0xde189b=_0x3421ce,_0xc9bfaa;_0xaaea06===((_0xc9bfaa=this[_0xde189b(0x31c)])==null?void 0x0:_0xc9bfaa['reqId'])&&(this['resend'](),this[_0xde189b(0x213)]=_0x323795===0x0?0x3e8:_0x323795*0x2);}[_0x3421ce(0x216)](){var _0x1d3b8a=_0x3421ce,_0x4f626d;(_0x4f626d=this[_0x1d3b8a(0x209)])==null||_0x4f626d[_0x1d3b8a(0x26b)](),this[_0x1d3b8a(0x213)]=0x0;}};ue=be([A(0x4,_0x5e9963(_0x212d21)),A(0x5,_0x5e9963(_0x52bdc1)),A(0x6,_0x72dd1e),A(0x7,_0x8ba9be),A(0x8,_0x51268a),A(0x9,_0x3f6f94),A(0xa,_0x21ca56(X))],ue);let ae=class extends Re{constructor(_0x44e19d,_0x14e7ab,_0x39ee21,_0x4c2fce,_0x1d01c3,_0x30cbeb,_0x4ac45f,_0xba05c8,_0x14a945,_0x2225b3,_0x296b0c,_0xd0862f,_0x50ad89){var _0x33a77f=_0x3421ce;super(_0x44e19d,_0x14e7ab,_0x39ee21,_0x4c2fce,_0x1d01c3,_0x14a945,_0xd0862f,_0xba05c8,_0x50ad89),P(this,_0x33a77f(0x1de),_0x33a77f(0x2d5)),P(this,_0x33a77f(0x213),0x0),P(this,_0x33a77f(0x3b8)),P(this,_0x33a77f(0x209)),(this[_0x33a77f(0x31a)]=_0x4ac45f,this[_0x33a77f(0x155)]=_0x2225b3,this[_0x33a77f(0x33a)]=_0x296b0c,this[_0x33a77f(0x330)]=_0x50ad89,_0x30cbeb&&(this[_0x33a77f(0x3b8)]=_0x30cbeb,this[_0x33a77f(0x209)]=this[_0x33a77f(0x3b8)]['subscribe'](({reqId:_0x96bcee,timeout:_0x5b8969})=>{this['_resendWithTimeout'](_0x96bcee,_0x5b8969);})));}[_0x3421ce(0x2ae)](_0x3dc35d){var _0x104dbf=_0x3421ce;return this[_0x104dbf(0x2ec)][_0x104dbf(0x3d2)](_0x3dc35d),this;}[_0x3421ce(0x402)](_0x3a46a4){var _0x144855=_0x3421ce;if(this[_0x144855(0x378)](_0x3a46a4))return this[_0x144855(0x216)](),this[_0x144855(0x31a)][_0x144855(0x38b)](te,this['unitID'],this[_0x144855(0x363)],this[_0x144855(0x31c)],this['_pendingMutations'],null,[_0x3a46a4],this[_0x144855(0x352)]);try{const _0x331888=this[_0x144855(0x33a)]['transformChangesets']([_0x3a46a4],[this[_0x144855(0x31c)]],!0x1);if(_0x1130b7(_0x331888)){const {c1Prime:_0x49a58a,c2Prime:_0xd3945e}=_0x331888,_0x3e86ff=this[_0x144855(0x33a)][_0x144855(0x247)](_0x49a58a[0x0],this[_0x144855(0x2ec)]);if(_0x529389(_0x3e86ff)){const {c1Prime:_0x11e01e,m2Prime:_0x1c721c}=_0x3e86ff;return this[_0x144855(0x2b0)](_0x11e01e),_0xd3945e[0x0][_0x144855(0x383)]=this[_0x144855(0x29a)](),this[_0x144855(0x216)](),this[_0x144855(0x31a)][_0x144855(0x38b)](ae,this['unitID'],this[_0x144855(0x363)],_0xd3945e[0x0],_0x1c721c,this[_0x144855(0x352)],void 0x0);}throw _0x3e86ff[_0x144855(0x422)];}throw _0x331888[_0x144855(0x422)];}catch(_0x3990fe){return this['_logService']['error'](_0x3990fe),this[_0x144855(0x41e)](!0x1);}}[_0x3421ce(0x298)](_0x450863){var _0x1a2e7b=_0x3421ce;if(this['_clearScheduledTask'](),this[_0x1a2e7b(0x378)](_0x450863))return this[_0x1a2e7b(0x31a)][_0x1a2e7b(0x38b)](te,this['unitID'],this[_0x1a2e7b(0x363)],null,this['_pendingMutations'],this[_0x1a2e7b(0x31c)],[],this[_0x1a2e7b(0x352)]);this[_0x1a2e7b(0x3b0)]();const _0x2e4c75=this[_0x1a2e7b(0x31a)][_0x1a2e7b(0x38b)](oe,this[_0x1a2e7b(0x3e0)],this[_0x1a2e7b(0x363)],this[_0x1a2e7b(0x2ec)],this[_0x1a2e7b(0x352)]);return _0x2e4c75['_schedule'](),_0x2e4c75['_updateLocalCache'](),_0x2e4c75;}[_0x3421ce(0x2c8)](_0x2f4329){var _0xd04b63=_0x3421ce;return this[_0xd04b63(0x41e)](!!(_0x2f4329!=null&&_0x2f4329[_0xd04b63(0x3b7)]));}[_0x3421ce(0x1e1)](_0x53ec07){var _0x31a1e1=_0x3421ce;return this[_0x31a1e1(0x213)]>Pi?this[_0x31a1e1(0x21d)]():(this[_0x31a1e1(0x3b8)]=Oi(this[_0x31a1e1(0x213)],{'timeout':this[_0x31a1e1(0x213)],'reqId':_0x53ec07['reqId']}),this['_sender']=this[_0x31a1e1(0x3b8)][_0x31a1e1(0x3fe)](({reqId:_0x153ad8,timeout:_0x519601})=>{var _0x22d669=_0x31a1e1;this[_0x22d669(0x201)](_0x153ad8,_0x519601);}),this);}[_0x3421ce(0x21d)](){var _0x134bff=_0x3421ce;return this[_0x134bff(0x216)](),this['_injector']['createInstance'](fe,this['unitID'],this[_0x134bff(0x363)],this[_0x134bff(0x31c)],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x3421ce(0x2cd)](){var _0x1c4664=_0x3421ce;this[_0x1c4664(0x352)][_0x1c4664(0x20c)](this[_0x1c4664(0x31c)]);}['_onConflict'](_0x2ec255){var _0x63f17b=_0x3421ce;return this['_clearScheduledTask'](),this[_0x63f17b(0x31a)]['createInstance'](de,this['unitID'],this[_0x63f17b(0x363)],null,this[_0x63f17b(0x2ec)],this['_handler'],_0x2ec255);}[_0x3421ce(0x201)](_0x2fe206,_0x3b8dae){var _0x402a6e=_0x3421ce,_0x512903;_0x2fe206===((_0x512903=this[_0x402a6e(0x31c)])==null?void 0x0:_0x512903[_0x402a6e(0x1c2)])&&(this[_0x402a6e(0x2cd)](),this[_0x402a6e(0x213)]=_0x3b8dae===0x0?0x3e8:_0x3b8dae*0x2);}[_0x3421ce(0x216)](){var _0x2888c4=_0x3421ce,_0x2057c3;(_0x2057c3=this[_0x2888c4(0x209)])==null||_0x2057c3[_0x2888c4(0x26b)](),this[_0x2888c4(0x213)]=0x0;}};ae=be([A(0x6,_0x5e9963(_0x212d21)),A(0x7,_0x5e9963(_0x52bdc1)),A(0x8,_0x72dd1e),A(0x9,_0x8ba9be),A(0xa,_0x51268a),A(0xb,_0x3f6f94),A(0xc,_0x21ca56(X))],ae);let de=class extends Re{constructor(_0x3d556f,_0x1e8c1d,_0x6a987b,_0x588c75,_0x5a017b,_0x5d56ed=!0x1,_0x3f3718,_0x5b038a,_0x2e08a0,_0x357d25,_0x555c42,_0xc3a785,_0x4539ec){var _0x249cdd=_0x3421ce;super(_0x3d556f,_0x1e8c1d,_0x6a987b,_0x588c75,_0x5a017b,_0x5b038a,_0x2e08a0,_0x357d25,_0x4539ec),P(this,_0x249cdd(0x1de),_0x249cdd(0x327)),(this[_0x249cdd(0x19f)]=_0x5d56ed,this[_0x249cdd(0x22a)]=_0x3f3718,this['_localeService']=_0x555c42,this['_collaborationUIEventService']=_0xc3a785,this[_0x249cdd(0x330)]=_0x4539ec,this['_showConflictNotification'](),this[_0x249cdd(0x40e)](),this[_0x249cdd(0x277)]());}[_0x3421ce(0x2ae)](){return this;}[_0x3421ce(0x402)](){return this;}[_0x3421ce(0x298)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x3421ce(0x21d)](){return this;}[_0x3421ce(0x313)](){return this;}[_0x3421ce(0x2cd)](){var _0x16de34=_0x3421ce;throw new Error(_0x16de34(0x23e));}[_0x3421ce(0x40e)](){var _0x23ff9b=_0x3421ce,_0x5318a4;(_0x5318a4=this['_localCacheService'])==null||_0x5318a4[_0x23ff9b(0x2b4)](this[_0x23ff9b(0x3e0)],this[_0x23ff9b(0x363)],null,[]);}['_showConflictNotification'](){var _0x793682=_0x3421ce;this['_isPermissionRej']?this[_0x793682(0x1f9)]['emitEvent']({'id':re[_0x793682(0x3e8)]}):this[_0x793682(0x1f9)][_0x793682(0x1f1)]({'id':re[_0x793682(0x3f4)]});}[_0x3421ce(0x277)](){var _0x2e2f01=_0x3421ce;this['_permissionService'][_0x2e2f01(0x432)](new _0x4001c9(this[_0x2e2f01(0x3e0)])['id'],!0x1);}};de=be([A(0x6,_0x5e9963(_0x1e28b2)),A(0x7,_0x72dd1e),A(0x8,_0x3f6f94),A(0x9,_0x5e9963(_0x52bdc1)),A(0xa,_0x5e9963(_0x443431)),A(0xb,_0x5e9963(pe)),A(0xc,_0x21ca56(X))],de);let fe=class extends Re{constructor(_0x21d13b,_0x570b2c,_0x130687,_0x2c3e6c,_0x2a4813,_0x4d2d50,_0x5fc15c,_0x201a67,_0x236b9c,_0x53078e){var _0x1b6788=_0x3421ce;super(_0x21d13b,_0x570b2c,_0x130687,_0x2c3e6c,_0x2a4813,_0x201a67,_0x236b9c,_0x5fc15c,_0x53078e),P(this,_0x1b6788(0x1de),_0x1b6788(0x229)),this['_injector']=_0x4d2d50;}[_0x3421ce(0x2ae)](_0x56b4a5){var _0x245db1=_0x3421ce;return this[_0x245db1(0x2ec)][_0x245db1(0x3d2)](_0x56b4a5),this['_updateLocalCache'](),this;}[_0x3421ce(0x402)](_0x5c92c2){var _0x50731f=_0x3421ce;throw new Error(_0x50731f(0x39f));}[_0x3421ce(0x298)](){var _0x27404c=_0x3421ce;throw new Error(_0x27404c(0x33d));}[_0x3421ce(0x2c8)](){var _0x3f40c1=_0x3421ce;throw new Error(_0x3f40c1(0x2de));}[_0x3421ce(0x1e1)](){return this;}[_0x3421ce(0x21d)](){return this;}[_0x3421ce(0x313)](){var _0x7a714d=_0x3421ce;const {_injector:_0x5bf922,_pendingMutations:_0x521224,_awaitingChangeset:_0x2e39e0,unitID:_0x1c94de,_handler:_0x1aeaef,type:_0x4dd045}=this,_0x309db8=Di(_0x5bf922,_0x1c94de,_0x4dd045,_0x2e39e0,_0x521224,_0x1aeaef);return _0x309db8 instanceof oe?_0x309db8['_schedule']():(_0x309db8 instanceof ae||_0x309db8 instanceof ue)&&_0x309db8[_0x7a714d(0x2cd)](),_0x309db8;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=be([A(0x5,_0x5e9963(_0x212d21)),A(0x6,_0x5e9963(_0x52bdc1)),A(0x7,_0x72dd1e),A(0x8,_0x3f6f94),A(0x9,_0x21ca56(X))],fe);let te=class extends Re{constructor(_0x548bfa,_0x27f15c,_0x2bc228,_0x96d4fb,_0x4ca705,_0x3a3c6e,_0x5b47d1,_0x48f5f2,_0x2bc332,_0x4549f3,_0x42fcf0,_0x509db1,_0x43b6e7,_0x5cb007){var _0x26eca6=_0x3421ce;super(_0x548bfa,_0x27f15c,_0x2bc228,_0x96d4fb,_0x5b47d1,_0x42fcf0,_0x509db1,_0x2bc332,_0x5cb007),P(this,'status',_0x26eca6(0x3f1)),(this[_0x26eca6(0x375)]=_0x4ca705,this[_0x26eca6(0x356)]=_0x3a3c6e,this[_0x26eca6(0x31a)]=_0x48f5f2,this['_logService']=_0x4549f3,this[_0x26eca6(0x33a)]=_0x43b6e7,this[_0x26eca6(0x330)]=_0x5cb007);}[_0x3421ce(0x180)](_0xd8b9df){var _0x5f59e9=_0x3421ce;try{const _0x2ae6ca=[..._0xd8b9df,...this[_0x5f59e9(0x356)]],_0x48c71a=[this[_0x5f59e9(0x31c)]||this[_0x5f59e9(0x375)]][_0x5f59e9(0x275)](_0x47cef7=>!!_0x47cef7);let _0x1b0edd,_0x57cd1b;if(_0x48c71a['length']){const _0x633592=this[_0x5f59e9(0x33a)]['transformChangesets'](_0x2ae6ca,_0x48c71a,!0x1);if(!_0x1130b7(_0x633592))throw _0x633592[_0x5f59e9(0x422)];_0x1b0edd=_0x633592[_0x5f59e9(0x182)],_0x57cd1b=_0x633592[_0x5f59e9(0x21e)];}else _0x1b0edd=_0x2ae6ca,_0x57cd1b=[];let _0x44afb1=this['_pendingMutations'];_0x1b0edd[_0x5f59e9(0x1fb)](_0x2cc122=>{var _0x37b91f=_0x5f59e9;let _0x57fa03;if(_0x44afb1[_0x37b91f(0x225)]){const _0xe789f6=this[_0x37b91f(0x33a)][_0x37b91f(0x247)](_0x2cc122,_0x44afb1);if(!_0x529389(_0xe789f6))throw _0xe789f6[_0x37b91f(0x422)];_0x57fa03=_0xe789f6['c1Prime'],_0x44afb1=_0xe789f6['m2Prime'];}else _0x57fa03=_0x2cc122;this[_0x37b91f(0x2b0)](_0x57fa03);}),this[_0x5f59e9(0x375)]&&this['_incrementRevisionNumber'](),this[_0x5f59e9(0x31c)]&&_0x57cd1b[_0x5f59e9(0x225)]&&(_0x57cd1b[0x0][_0x5f59e9(0x383)]=this[_0x5f59e9(0x29a)]());let _0x618633;if(this[_0x5f59e9(0x31c)]&&_0x44afb1[_0x5f59e9(0x225)]!==0x0)_0x618633=this['_injector'][_0x5f59e9(0x38b)](ae,this[_0x5f59e9(0x3e0)],this[_0x5f59e9(0x363)],_0x57cd1b[0x0],_0x44afb1,this[_0x5f59e9(0x352)],void 0x0);else{if(this[_0x5f59e9(0x31c)]&&_0x44afb1[_0x5f59e9(0x225)]===0x0)_0x57cd1b[0x0][_0x5f59e9(0x383)]=this[_0x5f59e9(0x29a)](),_0x618633=this[_0x5f59e9(0x31a)][_0x5f59e9(0x38b)](ue,this['unitID'],this[_0x5f59e9(0x363)],_0x57cd1b[0x0],this[_0x5f59e9(0x352)]);else{if(_0x44afb1['length']!==0x0){const _0x343bcd=this[_0x5f59e9(0x31a)][_0x5f59e9(0x38b)](oe,this[_0x5f59e9(0x3e0)],this[_0x5f59e9(0x363)],_0x44afb1,this['_handler']);_0x343bcd[_0x5f59e9(0x369)](),_0x618633=_0x343bcd;}else _0x618633=this[_0x5f59e9(0x31a)][_0x5f59e9(0x38b)](Pe,this[_0x5f59e9(0x3e0)],this['type'],this[_0x5f59e9(0x352)]);}}return _0x618633[_0x5f59e9(0x32b)](),_0x618633;}catch(_0x493f23){return this[_0x5f59e9(0x155)][_0x5f59e9(0x422)](_0x5f59e9(0x2a1),_0x5f59e9(0x39a),_0x493f23),this[_0x5f59e9(0x31a)][_0x5f59e9(0x38b)](de,this['unitID'],this[_0x5f59e9(0x363)],this[_0x5f59e9(0x31c)],this[_0x5f59e9(0x2ec)],this[_0x5f59e9(0x352)],!0x1);}}['resend'](){var _0x4b387a=_0x3421ce;throw new Error(_0x4b387a(0x3ed));}[_0x3421ce(0x2ae)](_0x4e1812){return this['_pendingMutations']['push'](_0x4e1812),this;}[_0x3421ce(0x402)](_0x2407da){var _0x2bc439=_0x3421ce;return this[_0x2bc439(0x356)][_0x2bc439(0x3d2)](_0x2407da),this;}[_0x3421ce(0x298)](_0x3e42a8){var _0x4d4f6c=_0x3421ce;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x4d4f6c(0x25e));}['onRemoteRej'](_0x291f46){var _0x5466b7=_0x3421ce;return this['_onConflict'](!!(_0x291f46!=null&&_0x291f46[_0x5466b7(0x3b7)]));}[_0x3421ce(0x1e1)](){return this;}[_0x3421ce(0x21d)](){var _0x1b70ea=_0x3421ce;return this['_injector']['createInstance'](fe,this['unitID'],this[_0x1b70ea(0x363)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1b70ea(0x352)]);}[_0x3421ce(0x313)](){return this;}['_onConflict'](_0x1a676d){var _0x1f0c96=_0x3421ce;return this['_injector'][_0x1f0c96(0x38b)](de,this[_0x1f0c96(0x3e0)],this['type'],this[_0x1f0c96(0x31c)],this[_0x1f0c96(0x2ec)],this[_0x1f0c96(0x352)],_0x1a676d);}};te=be([A(0x7,_0x5e9963(_0x212d21)),A(0x8,_0x5e9963(_0x52bdc1)),A(0x9,_0x8ba9be),A(0xa,_0x72dd1e),A(0xb,_0x3f6f94),A(0xc,_0x51268a),A(0xd,_0x21ca56(X))],te);function Di(_0x186574,_0x41d3c2,_0x5144be,_0x16ef02,_0x5a59fa,_0x226a8a){var _0x329301=_0x3421ce;return _0x16ef02&&_0x5a59fa[_0x329301(0x225)]?_0x186574[_0x329301(0x38b)](ae,_0x41d3c2,_0x5144be,_0x16ef02,_0x5a59fa,_0x226a8a,void 0x0):_0x16ef02?_0x186574[_0x329301(0x38b)](ue,_0x41d3c2,_0x5144be,_0x16ef02,_0x226a8a):_0x5a59fa[_0x329301(0x225)]?_0x186574[_0x329301(0x38b)](oe,_0x41d3c2,_0x5144be,_0x5a59fa,_0x226a8a):_0x186574[_0x329301(0x38b)](Pe,_0x41d3c2,_0x5144be,_0x226a8a);}var bs=Object['defineProperty'],Rs=Object['getOwnPropertyDescriptor'],Mt=(_0x15e002,_0x4b101c,_0xc7dcda,_0xde87d3)=>{var _0xc66487=_0x3421ce;for(var _0x115234=_0xde87d3>0x1?void 0x0:_0xde87d3?Rs(_0x4b101c,_0xc7dcda):_0x4b101c,_0x5e83cc=_0x15e002[_0xc66487(0x225)]-0x1,_0x5d2cc0;_0x5e83cc>=0x0;_0x5e83cc--)(_0x5d2cc0=_0x15e002[_0x5e83cc])&&(_0x115234=(_0xde87d3?_0x5d2cc0(_0x4b101c,_0xc7dcda,_0x115234):_0x5d2cc0(_0x115234))||_0x115234);return _0xde87d3&&_0x115234&&bs(_0x4b101c,_0xc7dcda,_0x115234),_0x115234;},k=(_0x1f0e17,_0x29ef4d)=>(_0xd614ec,_0x11c5bf)=>_0x29ef4d(_0xd614ec,_0x11c5bf,_0x1f0e17);let st=class extends _0x5d40b1{constructor(_0x3f2e9a,_0x453f3a,_0xa83b97,_0x1de6f6,_0xb0bda9,_0x3a6b2f,_0x399b4a,_0x4fdeca,_0x47f520,_0x2d3b68,_0x144bd0,_0x41ffaa,_0x3e3f5d){var _0x4aff56=_0x3421ce;super(),P(this,_0x4aff56(0x41c),new _0x2f7771(null)),P(this,'state$',this[_0x4aff56(0x41c)][_0x4aff56(0x154)]()),P(this,_0x4aff56(0x3c2)),P(this,'_collaborationPaused',!0x1),P(this,'_changesetSessionId',''),P(this,_0x4aff56(0x168),0x0),P(this,_0x4aff56(0x2b2),this[_0x4aff56(0x1e5)]['pipe'](_0x309aba(_0xa8ab18=>_0xa8ab18?_0xa8ab18[_0x4aff56(0x1de)]:Ni[_0x4aff56(0x324)]),_0x1e525f(0x1))),P(this,_0x4aff56(0x346),!0x1),P(this,_0x4aff56(0x3db),[]),(this[_0x4aff56(0x3e0)]=_0x3f2e9a,this[_0x4aff56(0x24b)]=_0x453f3a,this[_0x4aff56(0x2b1)]=_0xa83b97,this['_injector']=_0x1de6f6,this['_compressMutationService']=_0xb0bda9,this[_0x4aff56(0x207)]=_0x3a6b2f,this['_revisionService']=_0x399b4a,this[_0x4aff56(0x266)]=_0x4fdeca,this[_0x4aff56(0x155)]=_0x47f520,this[_0x4aff56(0x310)]=_0x2d3b68,this[_0x4aff56(0x22a)]=_0x144bd0,this[_0x4aff56(0x3fa)]=_0x41ffaa,this[_0x4aff56(0x192)]=_0x3e3f5d);}get['state'](){var _0x490f95=_0x3421ce;return this[_0x490f95(0x3c2)];}async[_0x3421ce(0x235)](){var _0x168707=_0x3421ce;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x168707(0x391)]();}[_0x3421ce(0x3b2)](){return this['_collaborationPaused']=!0x0,_0x4b61d8(()=>{var _0x2e5618=_0x188c;this['_collaborationPaused']=!0x1,this[_0x2e5618(0x32a)]();});}[_0x3421ce(0x27a)](_0x50db9f){var _0x13805b=_0x3421ce;this[_0x13805b(0x1e7)](_0x50db9f);}[_0x3421ce(0x170)](_0x5ae603){var _0x556c75=_0x3421ce;this[_0x556c75(0x3c2)]=_0x5ae603,this['_state$']['next'](_0x5ae603);}async[_0x3421ce(0x391)](){var _0x4b2b2f=_0x3421ce,_0x37c093;this[_0x4b2b2f(0x170)](await this[_0x4b2b2f(0x3ec)]()),this[_0x4b2b2f(0x3fa)]&&((_0x37c093=this[_0x4b2b2f(0x3fa)])==null||_0x37c093[_0x4b2b2f(0x2c4)](this[_0x4b2b2f(0x3e0)]),this['disposeWithMe'](this[_0x4b2b2f(0x3fa)]['getUnitStatus$'](this['unitID'])[_0x4b2b2f(0x3fe)](_0x11c7ee=>{var _0x41acc2=_0x4b2b2f;this['_logService'][_0x41acc2(0x38a)](_0x41acc2(0x1a5),_0x41acc2(0x1ac),_0x11c7ee),_0x11c7ee===yi[_0x41acc2(0x3ea)]?(this[_0x41acc2(0x266)]['emitEvent']({'id':re['OTHER_CLIENT_EDITING']}),this[_0x41acc2(0x22a)][_0x41acc2(0x432)](new _0x4001c9(this['unitID'])['id'],!0x1),this[_0x41acc2(0x22a)]['setShowComponents'](!0x1)):(this[_0x41acc2(0x22a)][_0x41acc2(0x432)](new _0x4001c9(this[_0x41acc2(0x3e0)])['id'],!0x0),this[_0x41acc2(0x22a)]['setShowComponents'](!0x0));})));let _0xd7f1c2=!0x1;return this[_0x4b2b2f(0x290)](this[_0x4b2b2f(0x24b)][_0x4b2b2f(0x431)][_0x4b2b2f(0x3fe)](_0x63df3e=>{var _0x2d131a=_0x4b2b2f;_0x63df3e===Te[_0x2d131a(0x1e4)]?this['_toggleOnline'](_0xd7f1c2):_0x63df3e===Te['OFFLINE']&&(_0xd7f1c2=!0x0,this[_0x2d131a(0x350)]());})),this[_0x4b2b2f(0x290)](this['session']['event$'][_0x4b2b2f(0x3fe)](_0x27580=>{var _0x2d3179=_0x4b2b2f;try{switch(_0x27580[_0x2d3179(0x406)]){case _0x61a7f0[_0x2d3179(0x388)]:{this[_0x2d3179(0x197)](_0x13605a(_0x27580['data']));break;}case _0x61a7f0['CHANGESET_ACK']:{this[_0x2d3179(0x32c)](_0x27580[_0x2d3179(0x20e)]);break;}case _0x61a7f0[_0x2d3179(0x19b)]:{this[_0x2d3179(0x3dc)]();break;}case _0x61a7f0[_0x2d3179(0x419)]:{this[_0x2d3179(0x17f)](_0x27580['data']);break;}case _0x61a7f0['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x27580[_0x2d3179(0x20e)][_0x2d3179(0x212)][_0x2d3179(0x157)](_0x29a668=>_0x13605a(_0x29a668)));break;}case _0x61a7f0[_0x2d3179(0x3e1)]:{this[_0x2d3179(0x3dc)]({'isPermissionRej':!0x0});break;}case _0x61a7f0[_0x2d3179(0x2bb)]:break;}}catch(_0x596cd6){throw console[_0x2d3179(0x422)](_0x2d3179(0x337),_0x596cd6),_0x596cd6;}})),this[_0x4b2b2f(0x3c2)];}[_0x3421ce(0x2e8)](){var _0x50dc16=_0x3421ce;this[_0x50dc16(0x346)]=!0x1;}['_lockTransition'](){var _0x3e9188=_0x3421ce;if(this['_transitionLocked'])throw new Error(_0x3e9188(0x2e7));this[_0x3e9188(0x346)]=!0x0;}[_0x3421ce(0x1e7)](_0x2a2d9a){var _0x1e174b=_0x3421ce;this['_lockTransition'](),this[_0x1e174b(0x170)](this[_0x1e174b(0x3c2)][_0x1e174b(0x2ae)](_0x2a2d9a)),this[_0x1e174b(0x2e8)]();}[_0x3421ce(0x197)](_0x558873){var _0x40324b=_0x3421ce;if(!(_0x558873[_0x40324b(0x374)]<=this[_0x40324b(0x1df)][_0x40324b(0x179)](this['unitID']))){if(this['_collaborationPaused']){this[_0x40324b(0x3db)][_0x40324b(0x3d2)](_0x558873);return;}this['_applyRemoteChangeset'](_0x558873);}}[_0x3421ce(0x32a)](){var _0x5bea3a=_0x3421ce;this[_0x5bea3a(0x3db)][_0x5bea3a(0x1fb)](_0x93c66f=>this[_0x5bea3a(0x288)](_0x93c66f)),this['_remoteChangesetQueue']=[];}[_0x3421ce(0x288)](_0x111e19){var _0x101cf5=_0x3421ce;const _0x1632e0=this[_0x101cf5(0x341)][_0x101cf5(0x3bd)][_0x101cf5(0x2cf)](this[_0x101cf5(0x341)]['interceptor']['getInterceptPoints']()[_0x101cf5(0x34f)])(_0x111e19[_0x101cf5(0x292)],null)||_0x111e19['mutations'],_0x13b077={..._0x111e19,'mutations':_0x1632e0};this[_0x101cf5(0x1a4)](),this[_0x101cf5(0x170)](this[_0x101cf5(0x3c2)][_0x101cf5(0x402)](_0x13b077)),this[_0x101cf5(0x2e8)]();}[_0x3421ce(0x32c)](_0x181a71){var _0x25e780=_0x3421ce;this[_0x25e780(0x1a4)](),this[_0x25e780(0x170)](this[_0x25e780(0x3c2)][_0x25e780(0x298)](_0x181a71)),this['_unlockTransition']();}[_0x3421ce(0x3dc)](_0x3e6ba9){var _0x25b4f3=_0x3421ce;this[_0x25b4f3(0x1a4)](),this[_0x25b4f3(0x170)](this[_0x25b4f3(0x3c2)][_0x25b4f3(0x2c8)](_0x3e6ba9)),this[_0x25b4f3(0x2e8)]();}[_0x3421ce(0x17f)](_0x1f98f2){var _0x3b1d62=_0x3421ce;this['_lockTransition'](),this[_0x3b1d62(0x170)](this[_0x3b1d62(0x3c2)][_0x3b1d62(0x1e1)](_0x1f98f2)),this[_0x3b1d62(0x2e8)]();}[_0x3421ce(0x21f)](_0x992232){var _0x155d79=_0x3421ce;if(!(this[_0x155d79(0x3c2)]instanceof te))throw new TypeError(_0x155d79(0x40b));const _0x30ca76=_0x992232[_0x155d79(0x157)](_0x4a5035=>{var _0x3365bd=_0x155d79;const _0xa24086=this[_0x3365bd(0x341)]['interceptor']['fetchThroughInterceptors'](this[_0x3365bd(0x341)]['interceptor'][_0x3365bd(0x37c)]()[_0x3365bd(0x34f)])(_0x4a5035[_0x3365bd(0x292)],null)||_0x4a5035['mutations'];return{..._0x4a5035,'mutations':_0xa24086};});this[_0x155d79(0x1a4)](),this[_0x155d79(0x170)](this['_state'][_0x155d79(0x180)](_0x30ca76)),this[_0x155d79(0x2e8)]();}['_toggleOffline'](){var _0x214f1c=_0x3421ce;this[_0x214f1c(0x1a4)](),this[_0x214f1c(0x170)](this[_0x214f1c(0x3c2)][_0x214f1c(0x21d)]()),this['_unlockTransition']();}[_0x3421ce(0x262)](_0x5eb431=!0x1){var _0x59625d=_0x3421ce;this['_lockTransition'](),this[_0x59625d(0x170)](this['_state'][_0x59625d(0x313)]()),this[_0x59625d(0x2e8)]();const _0xc271c7=this['_state'];_0x5eb431&&_0xc271c7 instanceof Pe&&(this[_0x59625d(0x1a4)](),this[_0x59625d(0x170)](_0xc271c7[_0x59625d(0x17a)]()),this['_unlockTransition']());}async[_0x3421ce(0x3ec)](){return new Promise(_0x4ee350=>{var _0x401e86=_0x188c;this[_0x401e86(0x24b)][_0x401e86(0x431)][_0x401e86(0x2d7)](_0x437b95(0x1))[_0x401e86(0x3fe)](async _0x5f4c23=>{var _0x1054fc=_0x401e86;_0x4ee350(await this[_0x1054fc(0x3de)](_0x5f4c23===Te['ONLINE']));});});}[_0x3421ce(0x2d2)](){var _0x18e745=_0x3421ce;const _0x3a0020=this[_0x18e745(0x3e0)];return{'onStateChange':(_0x1000a3,_0x31abbb)=>{var _0x4d4cb2=_0x18e745;if(_0x1000a3!==this[_0x4d4cb2(0x3c2)])throw new Error(_0x4d4cb2(0x264)+_0x1000a3[_0x4d4cb2(0x1de)]+'\x0aAfter:\x20'+_0x31abbb[_0x4d4cb2(0x1de)]+_0x4d4cb2(0x24c)+this[_0x4d4cb2(0x3c2)][_0x4d4cb2(0x1de)]);this[_0x4d4cb2(0x170)](_0x31abbb);},'onSendChangeset':_0x3d5daa=>{var _0x5745d1=_0x18e745;_0x3d5daa[_0x5745d1(0x2cc)]||(_0x3d5daa['sid']=this[_0x5745d1(0x364)],_0x3d5daa[_0x5745d1(0x1c2)]=++this['_changesetReqId']);const _0x22cacf={'eventID':_0x61a7f0['SUBMIT_CHANGESET'],'data':{'unitID':_0x3d5daa[_0x5745d1(0x3e0)],'unitType':this['_type'],'changeset':_0x3d5daa,'memberID':this[_0x5745d1(0x24b)][_0x5745d1(0x16a)]()}};this[_0x5745d1(0x24b)]['send'](_0x22cacf,this['unitID']);},'onMissingChangesets':({from:_0x3a8a93,to:_0x5bcbd5})=>{var _0x19dfd6=_0x18e745;this[_0x19dfd6(0x155)][_0x19dfd6(0x38a)](_0x19dfd6(0x1a5),_0x19dfd6(0x2b7)+_0x3a8a93+'\x20to\x20'+_0x5bcbd5);const _0x1218fd={'eventID':_0x61a7f0[_0x19dfd6(0x3c0)],'data':{'unitID':_0x3a0020,'unitType':this[_0x19dfd6(0x2b1)],'from':_0x3a8a93,'to':_0x5bcbd5}};this[_0x19dfd6(0x24b)][_0x19dfd6(0x194)](_0x1218fd,this['unitID']);}};}async[_0x3421ce(0x3de)](_0x4cdaf5){var _0x1513ef=_0x3421ce,_0x569d01,_0x4bd33f,_0x317db1;const _0x1f5353=await((_0x569d01=this['_localCacheService'])==null?void 0x0:_0x569d01[_0x1513ef(0x40f)](this['unitID'])),_0x36eb30=(_0x4bd33f=_0x1f5353==null?void 0x0:_0x1f5353[_0x1513ef(0x292)])!=null?_0x4bd33f:[],_0x3a3ff6=(_0x317db1=_0x1f5353==null?void 0x0:_0x1f5353['awaitingChangeset'])!=null?_0x317db1:null,_0x158874=!!(_0x3a3ff6!=null&&_0x3a3ff6[_0x1513ef(0x2cc)])&&!!(_0x3a3ff6!=null&&_0x3a3ff6[_0x1513ef(0x1c2)]);this['_changesetSessionId']=_0x158874?_0x3a3ff6[_0x1513ef(0x2cc)]:fs(),this['_changesetReqId']=_0x158874?_0x3a3ff6[_0x1513ef(0x1c2)]:0x0;const _0x57193b=this[_0x1513ef(0x3e0)];try{this[_0x1513ef(0x272)](_0x3a3ff6,_0x36eb30);}catch(_0x47f3bd){this[_0x1513ef(0x155)][_0x1513ef(0x422)](_0x47f3bd);}const _0x26998d=this['_createHandler']();if(_0x4cdaf5){const _0x110274=Di(this['_injector'],_0x57193b,this[_0x1513ef(0x2b1)],_0x3a3ff6,_0x36eb30,_0x26998d);return _0x110274 instanceof oe?_0x110274[_0x1513ef(0x369)]():(_0x110274 instanceof ae||_0x110274 instanceof ue)&&_0x110274[_0x1513ef(0x2cd)](),_0x110274;}return this[_0x1513ef(0x31a)]['createInstance'](fe,_0x57193b,this[_0x1513ef(0x2b1)],_0x3a3ff6,_0x36eb30,_0x26998d);}[_0x3421ce(0x272)](_0x3999a6,_0x24a346){var _0x596f09=_0x3421ce,_0x237f18,_0x3ac187;const _0x59c358=this['_compressMutationService']['interceptor'][_0x596f09(0x2cf)](this['_compressMutationService'][_0x596f09(0x3bd)]['getInterceptPoints']()[_0x596f09(0x34f)]);(_0x237f18=_0x59c358((_0x3999a6==null?void 0x0:_0x3999a6['mutations'])||[],null))==null||_0x237f18[_0x596f09(0x1fb)](_0x11797e=>this['_commandService'][_0x596f09(0x41d)](_0x11797e['id'],_0x11797e['params'])),(_0x3ac187=_0x59c358(_0x24a346||[],null))==null||_0x3ac187['forEach'](_0xd7d455=>this[_0x596f09(0x310)]['executeCommand'](_0xd7d455['id'],_0xd7d455[_0x596f09(0x1dc)]));}};st=Mt([k(0x3,_0x5e9963(_0x212d21)),k(0x4,_0x5e9963(_0xe9c967)),k(0x5,_0x5e9963(_0x443431)),k(0x6,_0x5e9963(_0x52bdc1)),k(0x7,_0x5e9963(pe)),k(0x8,_0x8ba9be),k(0x9,_0x72dd1e),k(0xa,_0x1e28b2),k(0xb,_0x21ca56(_t)),k(0xc,_0x21ca56(X))],st);let Ct=class extends st{constructor(_0x10100a,_0x277521,_0x5bfc3f,_0x36979b,_0x3f0bf3,_0x4ded4d,_0x50bfa2,_0x4d5ec9,_0xde6df3,_0x5a54bb,_0x266731,_0x298590,_0x42e4d0){var _0x105daa=_0x3421ce;super(_0x10100a,_0x5bfc3f,_0x277521,_0x36979b,_0x3f0bf3,_0x4ded4d,_0x50bfa2,_0x4d5ec9,_0xde6df3,_0x5a54bb,_0x266731,_0x298590,_0x42e4d0),P(this,_0x105daa(0x289),null),(this[_0x105daa(0x3e0)]=_0x10100a,this['type']=_0x277521);}['addHandlerCallback'](_0x58d3ef){var _0x3ebb0a=_0x3421ce;this[_0x3ebb0a(0x289)]=_0x58d3ef;}[_0x3421ce(0x2b5)](){var _0x3ee5d9=_0x3421ce;this[_0x3ee5d9(0x289)]=null,super[_0x3ee5d9(0x2b5)]();}[_0x3421ce(0x2d2)](){var _0x48dcbc=_0x3421ce;const _0x10d90c=super[_0x48dcbc(0x2d2)]();return _0x10d90c[_0x48dcbc(0x232)]=_0xc5585a=>{var _0x11d655=_0x48dcbc,_0x233900,_0x41699f;return(_0x41699f=(_0x233900=this['_handlerCallback'])==null?void 0x0:_0x233900[_0x11d655(0x232)])==null?void 0x0:_0x41699f[_0x11d655(0x29c)](_0x233900,_0xc5585a);},_0x10d90c[_0x48dcbc(0x29b)]=_0x1558b5=>{var _0x1d7ab2=_0x48dcbc,_0x322d14,_0x35f3e0;return(_0x35f3e0=(_0x322d14=this[_0x1d7ab2(0x289)])==null?void 0x0:_0x322d14[_0x1d7ab2(0x29b)])==null?void 0x0:_0x35f3e0[_0x1d7ab2(0x29c)](_0x322d14,_0x1558b5);},_0x10d90c[_0x48dcbc(0x333)]=_0x3acddf=>{var _0x1f8416=_0x48dcbc,_0x51b5fe,_0xb6dd66;return(_0xb6dd66=(_0x51b5fe=this[_0x1f8416(0x289)])==null?void 0x0:_0x51b5fe[_0x1f8416(0x333)])==null?void 0x0:_0xb6dd66[_0x1f8416(0x29c)](_0x51b5fe,_0x3acddf);},_0x10d90c[_0x48dcbc(0x3fd)]=_0x4e5512=>{var _0x25584b=_0x48dcbc,_0x2a47dd,_0xda8a11;return(_0xda8a11=(_0x2a47dd=this[_0x25584b(0x289)])==null?void 0x0:_0x2a47dd[_0x25584b(0x3fd)])==null?void 0x0:_0xda8a11[_0x25584b(0x29c)](_0x2a47dd,_0x4e5512);},_0x10d90c['onTransformRemoteChangesetByIMECache']=_0xa0e97=>{var _0x2a9863=_0x48dcbc,_0x4bf32b,_0x45f4a5,_0x16675b;if(!((_0x4bf32b=this[_0x2a9863(0x289)])!=null&&_0x4bf32b[_0x2a9863(0x205)]))throw new Error(_0x2a9863(0x435));return(_0x16675b=(_0x45f4a5=this[_0x2a9863(0x289)])==null?void 0x0:_0x45f4a5['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x16675b[_0x2a9863(0x29c)](_0x45f4a5,_0xa0e97);},_0x10d90c[_0x48dcbc(0x342)]=_0x594702=>{var _0x242d23=_0x48dcbc,_0x2418e0,_0x852023,_0x12f4e0;if(!((_0x2418e0=this[_0x242d23(0x289)])!=null&&_0x2418e0[_0x242d23(0x342)]))throw new Error(_0x242d23(0x2f5));return(_0x12f4e0=(_0x852023=this['_handlerCallback'])==null?void 0x0:_0x852023[_0x242d23(0x342)])==null?void 0x0:_0x12f4e0[_0x242d23(0x29c)](_0x852023,_0x594702);},_0x10d90c;}async['_init'](){var _0x24c549=_0x3421ce;const _0x1881fb=await super[_0x24c549(0x391)]();return this[_0x24c549(0x290)](this['_commandService']['onCommandExecuted']((_0x128128,_0x519570)=>{var _0x4524cb=_0x24c549;if(_0x128128[_0x4524cb(0x363)]!==_0x15c22c[_0x4524cb(0x17d)]||_0x519570!=null&&_0x519570['fromCollab']||_0x519570!=null&&_0x519570[_0x4524cb(0x166)]||_0x128128['id']===_0x1c4461['id'])return;const _0x5cb616=_0x128128[_0x4524cb(0x1dc)];if((_0x5cb616==null?void 0x0:_0x5cb616[_0x4524cb(0x3cc)])!==this[_0x4524cb(0x3e0)])return;const _0x1a8f51=_0x128128,_0x419341=this[_0x4524cb(0x341)][_0x4524cb(0x3bd)][_0x4524cb(0x2cf)](this[_0x4524cb(0x341)][_0x4524cb(0x3bd)][_0x4524cb(0x37c)]()[_0x4524cb(0x344)])([_0x1a8f51],null)||[_0x1a8f51];this[_0x4524cb(0x1e7)](_0x419341[0x0]);})),_0x1881fb;}};Ct=Mt([k(0x3,_0x5e9963(_0x212d21)),k(0x4,_0x5e9963(_0xe9c967)),k(0x5,_0x5e9963(_0x443431)),k(0x6,_0x5e9963(_0x52bdc1)),k(0x7,_0x5e9963(pe)),k(0x8,_0x8ba9be),k(0x9,_0x72dd1e),k(0xa,_0x1e28b2),k(0xb,_0x21ca56(_t)),k(0xc,_0x21ca56(X))],Ct);let bt=class extends st{constructor(_0x15f774,_0x3efb7e,_0x3aa6b2,_0x251c87,_0x6f30f5,_0x3b6cf8,_0x4e27ed,_0x115078,_0x19df79,_0x2348c6,_0x1f2a1d,_0x349c03,_0x436386,_0x2c26b7){var _0x1901e9=_0x3421ce;super(_0x15f774,_0x3aa6b2,_0x3efb7e,_0x251c87,_0x6f30f5,_0x3b6cf8,_0x4e27ed,_0x19df79,_0x2348c6,_0x1f2a1d,_0x349c03,_0x436386,_0x2c26b7),this[_0x1901e9(0x3e0)]=_0x15f774,this[_0x1901e9(0x363)]=_0x3efb7e,this['_sheetTransformSelectionsService']=_0x115078;}['_createHandler'](){var _0x494ea9=_0x3421ce;const _0x404021=super[_0x494ea9(0x2d2)]();return _0x404021[_0x494ea9(0x333)]=_0x5e507b=>this['_sheetTransformSelectionsService']['transformSelections'](_0x5e507b),_0x404021;}async[_0x3421ce(0x391)](){var _0xe71029=_0x3421ce;const _0x1737ab=await super['_init']();return this[_0xe71029(0x290)](this[_0xe71029(0x310)][_0xe71029(0x233)]((_0x3eaafa,_0x29042b)=>{var _0x4396b5=_0xe71029;if(_0x3eaafa[_0x4396b5(0x363)]!==_0x15c22c[_0x4396b5(0x17d)]||_0x29042b!=null&&_0x29042b[_0x4396b5(0x3d6)]||_0x29042b!=null&&_0x29042b[_0x4396b5(0x166)])return;const _0x134d0b=_0x3eaafa['params'];if((_0x134d0b==null?void 0x0:_0x134d0b[_0x4396b5(0x3cc)])!==this[_0x4396b5(0x3e0)])return;const _0x1a69dd=_0x3eaafa,_0xa07120=this['_compressMutationService'][_0x4396b5(0x3bd)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x4396b5(0x3bd)]['getInterceptPoints']()[_0x4396b5(0x344)])([_0x1a69dd],null)||[_0x1a69dd];this[_0x4396b5(0x1e7)](_0xa07120[0x0]);})),_0x1737ab;}};bt=Mt([k(0x3,_0x5e9963(_0x212d21)),k(0x4,_0x5e9963(_0xe9c967)),k(0x5,_0x5e9963(_0x443431)),k(0x6,_0x5e9963(_0x52bdc1)),k(0x7,_0x5e9963(nt)),k(0x8,_0x5e9963(pe)),k(0x9,_0x8ba9be),k(0xa,_0x72dd1e),k(0xb,_0x1e28b2),k(0xc,_0x21ca56(_t)),k(0xd,_0x21ca56(X))],bt);var ys=Object[_0x3421ce(0x2ed)],Os=Object[_0x3421ce(0x281)],Ns=(_0x489697,_0x2bbc8d,_0xdfca44,_0x5dbccd)=>{var _0x242163=_0x3421ce;for(var _0x2337fd=_0x5dbccd>0x1?void 0x0:_0x5dbccd?Os(_0x2bbc8d,_0xdfca44):_0x2bbc8d,_0x406663=_0x489697[_0x242163(0x225)]-0x1,_0xe58234;_0x406663>=0x0;_0x406663--)(_0xe58234=_0x489697[_0x406663])&&(_0x2337fd=(_0x5dbccd?_0xe58234(_0x2bbc8d,_0xdfca44,_0x2337fd):_0xe58234(_0x2337fd))||_0x2337fd);return _0x5dbccd&&_0x2337fd&&ys(_0x2bbc8d,_0xdfca44,_0x2337fd),_0x2337fd;},vt=(_0x2b7bf4,_0x53cef1)=>(_0x4f8fad,_0x4987b9)=>_0x53cef1(_0x4f8fad,_0x4987b9,_0x2b7bf4);function _0x188c(_0x28f323,_0xdc3bab){var _0x5d6602=_0x5d66();return _0x188c=function(_0x188cf4,_0x574c28){_0x188cf4=_0x188cf4-0x151;var _0x4664d4=_0x5d6602[_0x188cf4];return _0x4664d4;},_0x188c(_0x28f323,_0xdc3bab);}let rt=class extends _0x5d40b1{constructor(_0x260adb,_0xf9e589,_0x165330){var _0x1dcb94=_0x3421ce;super(),P(this,_0x1dcb94(0x2da),new Map()),P(this,_0x1dcb94(0x1ab),new _0x5ad00b()),P(this,'entityInit$',this[_0x1dcb94(0x1ab)][_0x1dcb94(0x154)]()),(this['_injector']=_0x260adb,this[_0x1dcb94(0x1c8)]=_0xf9e589,this['_univerInstanceService']=_0x165330,this['_init']());}[_0x3421ce(0x2b5)](){var _0x2f13d7=_0x3421ce;super[_0x2f13d7(0x2b5)](),this[_0x2f13d7(0x2da)][_0x2f13d7(0x1fb)](_0x1bc022=>_0x1bc022[_0x2f13d7(0x2b5)]()),this[_0x2f13d7(0x2da)][_0x2f13d7(0x3ac)]();}[_0x3421ce(0x24d)](_0x324646){var _0x415602=_0x3421ce,_0x5f25bd;return(_0x5f25bd=this[_0x415602(0x2da)][_0x415602(0x3e3)](_0x324646))!=null?_0x5f25bd:null;}[_0x3421ce(0x2eb)](_0x4c0eaf){var _0x150f44=_0x3421ce;const _0x486410=this[_0x150f44(0x24d)](_0x4c0eaf);return _0x486410?_0x5b0438(_0x486410):this[_0x150f44(0x1ab)][_0x150f44(0x2d7)](_0x25adde(_0x253103=>_0x253103['unitID']===_0x4c0eaf));}['readyForCollab'](_0x2271da){var _0x2b390e=_0x3421ce;return _0x4abc5a(this['getCollabEntity$'](_0x2271da)[_0x2b390e(0x2d7)](_0x20ed66(()=>{})));}[_0x3421ce(0x391)](){var _0x397dd5=_0x3421ce;this[_0x397dd5(0x305)][_0x397dd5(0x35e)](_0x5be3e2[_0x397dd5(0x19e)])[_0x397dd5(0x2d7)](_0x5b5509(this['dispose$']),_0x5987b1(0x10))[_0x397dd5(0x3fe)](async _0x1bdd88=>{var _0x8b2699=_0x397dd5;const _0x1d20e7=_0x1bdd88[_0x8b2699(0x39b)](),_0x2bfc85=await this['_startCollaboration'](_0x1d20e7,Q[_0x8b2699(0x19e)]);this[_0x8b2699(0x2da)]['set'](_0x1d20e7,_0x2bfc85);}),this[_0x397dd5(0x305)][_0x397dd5(0x35e)](_0x5be3e2[_0x397dd5(0x25c)])[_0x397dd5(0x2d7)](_0x5b5509(this[_0x397dd5(0x202)]),_0x5987b1(0x10))['pipe'](_0x25adde(_0x266067=>!_0x266067[_0x397dd5(0x39b)]()[_0x397dd5(0x1d1)]('__')))[_0x397dd5(0x3fe)](async _0x1f2cce=>{var _0x319946=_0x397dd5;const _0x5b5e3a=_0x1f2cce['getUnitId'](),_0x4867be=await this[_0x319946(0x451)](_0x5b5e3a,Q[_0x319946(0x25c)]);this[_0x319946(0x2da)]['set'](_0x5b5e3a,_0x4867be);}),_0x3f7318(this[_0x397dd5(0x305)]['getTypeOfUnitDisposed$'](_0x5be3e2[_0x397dd5(0x19e)]),this[_0x397dd5(0x305)][_0x397dd5(0x395)](_0x5be3e2['UNIVER_DOC']))[_0x397dd5(0x2d7)](_0x5b5509(this[_0x397dd5(0x202)]))['subscribe'](_0xc51a88=>{var _0x4442b1=_0x397dd5;const _0x3d307f=_0xc51a88[_0x4442b1(0x39b)](),_0x2bcccb=this[_0x4442b1(0x2da)]['get'](_0x3d307f);_0x2bcccb&&(_0x2bcccb['dispose'](),this[_0x4442b1(0x2da)]['delete'](_0x3d307f));});}async[_0x3421ce(0x451)](_0x1128e5,_0x7a1c16){var _0x1ef799=_0x3421ce;const _0x40b2af=await this[_0x1ef799(0x1c8)][_0x1ef799(0x188)](_0x1128e5),_0xd568a0=this[_0x1ef799(0x31a)][_0x1ef799(0x38b)](this['_getCtorByUniverType'](_0x7a1c16),_0x1128e5,_0x7a1c16,_0x40b2af);return await _0xd568a0[_0x1ef799(0x235)](),this[_0x1ef799(0x1ab)][_0x1ef799(0x373)](_0xd568a0),_0xd568a0;}[_0x3421ce(0x2aa)](_0x2a557d){var _0x564b81=_0x3421ce;switch(_0x2a557d){case Q['UNIVER_DOC']:return Ct;case Q[_0x564b81(0x19e)]:return bt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x2a557d);}}};rt=Ns([vt(0x0,_0x5e9963(_0x212d21)),vt(0x1,_0x5e9963(Le)),vt(0x2,_0x10799f)],rt);var Ps=Object['defineProperty'],Ds=Object[_0x3421ce(0x281)],ws=(_0xea07,_0x181b2a,_0x5313bd,_0x44b657)=>{for(var _0x67feba=_0x44b657>0x1?void 0x0:_0x44b657?Ds(_0x181b2a,_0x5313bd):_0x181b2a,_0x44c985=_0xea07['length']-0x1,_0x22913b;_0x44c985>=0x0;_0x44c985--)(_0x22913b=_0xea07[_0x44c985])&&(_0x67feba=(_0x44b657?_0x22913b(_0x181b2a,_0x5313bd,_0x67feba):_0x22913b(_0x67feba))||_0x67feba);return _0x44b657&&_0x67feba&&Ps(_0x181b2a,_0x5313bd,_0x67feba),_0x67feba;},Xt=(_0x25e03e,_0x1509ca)=>(_0x47acfc,_0x5558a5)=>_0x1509ca(_0x47acfc,_0x5558a5,_0x25e03e);const Us=_0x3421ce(0x30a),As=_0x3421ce(0x2df);let Rt=class extends _0x1b298c{constructor(_0x14ae59,_0xb106f5){var _0xbf8931=_0x3421ce;super(),this[_0xbf8931(0x305)]=_0x14ae59,this[_0xbf8931(0x412)]=_0xb106f5,this[_0xbf8931(0x391)]();}[_0x3421ce(0x391)](){var _0x3b2e9e=_0x3421ce;this[_0x3b2e9e(0x290)](this['_univerInstanceService'][_0x3b2e9e(0x452)][_0x3b2e9e(0x3fe)](()=>{var _0x4778ae=_0x3b2e9e,_0x2da1b4;const _0x4f88db=this[_0x4778ae(0x305)][_0x4778ae(0x427)]();let _0x187512=(_0x2da1b4=this[_0x4778ae(0x412)][_0x4778ae(0x3a9)](Us))!=null?_0x2da1b4:As;_0x4f88db instanceof _0x325846&&(_0x187512=_0x4f88db[_0x4778ae(0x429)]),document[_0x4778ae(0x174)]=_0x187512;}));}};Rt=ws([Xt(0x0,_0x10799f),Xt(0x1,_0x48fe9a)],Rt);var xs=Object[_0x3421ce(0x2ed)],Ls=Object[_0x3421ce(0x281)],Ms=(_0x47fac3,_0x22224d,_0x34ac2a,_0x367011)=>{for(var _0x289b21=_0x367011>0x1?void 0x0:_0x367011?Ls(_0x22224d,_0x34ac2a):_0x22224d,_0x3abcac=_0x47fac3['length']-0x1,_0x16a45;_0x3abcac>=0x0;_0x3abcac--)(_0x16a45=_0x47fac3[_0x3abcac])&&(_0x289b21=(_0x367011?_0x16a45(_0x22224d,_0x34ac2a,_0x289b21):_0x16a45(_0x289b21))||_0x289b21);return _0x367011&&_0x289b21&&xs(_0x22224d,_0x34ac2a,_0x289b21),_0x289b21;},pt=(_0x2d035d,_0x21547c)=>(_0x46962c,_0x20cb14)=>_0x21547c(_0x46962c,_0x20cb14,_0x2d035d);let ot=class{constructor(_0x2d8b91,_0x39e6e1,_0x13a705){var _0x46368a=_0x3421ce;this['_configService']=_0x2d8b91,this['_httpService']=_0x39e6e1,this[_0x46368a(0x1b4)]=_0x13a705,this[_0x46368a(0x235)]();}[_0x3421ce(0x235)](){var _0x192d98=_0x3421ce;this[_0x192d98(0x198)][_0x192d98(0x22f)]({'priority':0x1,'interceptor':(_0x225888,_0x3d1467)=>_0x3d1467(_0x225888)[_0x192d98(0x2d7)](_0x4db311(async _0x3f6b6a=>{var _0x3c7cbe=_0x192d98;const _0x5c4a2a=_0x3f6b6a;if(_0x5c4a2a[_0x3c7cbe(0x1de)]===0x191){if(typeof window>'u')throw new Error(_0x3c7cbe(0x30b));if(window['confirm'](this['localeService']['t'](_0x3c7cbe(0x28c)))){const _0x3b5e9d=window[_0x3c7cbe(0x161)](window[_0x3c7cbe(0x2f6)]['href']);window[_0x3c7cbe(0x2f6)][_0x3c7cbe(0x1e0)]=this['_getLoginPath']()+'?url='+_0x3b5e9d;}}return _0x5c4a2a;}))});}[_0x3421ce(0x3cf)](){var _0x1906cc=_0x3421ce,_0x4c90e1,_0x2c7aa1;const _0x287c71=this[_0x1906cc(0x412)][_0x1906cc(0x3a9)](Fn),_0x209582=this['_configService'][_0x1906cc(0x3a9)](Y);return(_0x2c7aa1=(_0x4c90e1=_0x209582==null?void 0x0:_0x209582[_0x1906cc(0x3af)])!=null?_0x4c90e1:_0x287c71)!=null?_0x2c7aa1:Vn;}};ot=Ms([pt(0x0,_0x48fe9a),pt(0x1,_0x5e9963(_0x490c71)),pt(0x2,_0x5e9963(_0x443431))],ot);var $s=Object[_0x3421ce(0x2ed)],Hs=Object['getOwnPropertyDescriptor'],ks=(_0x35f892,_0x4971d7,_0x23b1d9,_0x4e2207)=>{var _0x1921ab=_0x3421ce;for(var _0x47cfaf=_0x4e2207>0x1?void 0x0:_0x4e2207?Hs(_0x4971d7,_0x23b1d9):_0x4971d7,_0x5e1f1b=_0x35f892[_0x1921ab(0x225)]-0x1,_0x7e9504;_0x5e1f1b>=0x0;_0x5e1f1b--)(_0x7e9504=_0x35f892[_0x5e1f1b])&&(_0x47cfaf=(_0x4e2207?_0x7e9504(_0x4971d7,_0x23b1d9,_0x47cfaf):_0x7e9504(_0x47cfaf))||_0x47cfaf);return _0x4e2207&&_0x47cfaf&&$s(_0x4971d7,_0x23b1d9,_0x47cfaf),_0x47cfaf;},Zt=(_0x1e7b81,_0x36a355)=>(_0x4e7beb,_0x376d28)=>_0x36a355(_0x4e7beb,_0x376d28,_0x1e7b81);const wi=_0x3421ce(0x335),js=_0x3421ce(0x1fc);let yt=class extends _0x1b298c{constructor(_0x3d44ec,_0x2ef124){var _0x402442=_0x3421ce;super(),this['_HTTPService']=_0x3d44ec,this[_0x402442(0x412)]=_0x2ef124,this[_0x402442(0x39e)]();}[_0x3421ce(0x39e)](){var _0x50ef60=_0x3421ce;const _0x23e0b2=this;this[_0x50ef60(0x290)](this['_HTTPService'][_0x50ef60(0x22f)]({'priority':0x3e7,'interceptor':_0x32072b({'isMatch'(_0x32773b){var _0xa86d7d=_0x50ef60,_0x30b682;if(_0x32773b[_0xa86d7d(0x2b3)]===_0xa86d7d(0x399)&&((_0x30b682=_0x32773b[_0xa86d7d(0x1cd)])!=null&&_0x30b682[_0xa86d7d(0x3e6)])){const {objectID:_0x15f7b4,objectType:_0x5345dc}=_0x32773b[_0xa86d7d(0x1cd)]['body']||{};if(!_0x15f7b4||_0x5345dc===void 0x0)return!0x1;const _0x505c9e=_0x23e0b2[_0xa86d7d(0x21c)]()+'/'+_0x5345dc+_0xa86d7d(0x389)+_0x15f7b4+_0xa86d7d(0x436);if(_0x32773b[_0xa86d7d(0x1cc)]===_0x505c9e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x195f5b){var _0x4b98eb;return(_0x4b98eb=_0x195f5b['requestParams'])==null?void 0x0:_0x4b98eb['body'];},'mergeParamsToRequest'(_0x590e2d,_0x361de6){var _0x5552e2=_0x50ef60;const _0x43976d=_0x23e0b2['_getAPIPrefixPath']()+_0x5552e2(0x426),_0x47308d=_0x590e2d[_0x5552e2(0x3a8)]((_0x2e4d2e,_0x29fe6c)=>{var _0x1d066=_0x5552e2;const {unitID:_0x134cc4,objectID:_0x5a1b33,objectType:_0xc45b3f,actions:_0x891c2f}=_0x29fe6c;return _0x2e4d2e[_0x134cc4]||(_0x2e4d2e[_0x134cc4]={}),_0x2e4d2e[_0x134cc4][_0x5a1b33]||(_0x2e4d2e[_0x134cc4][_0x5a1b33]={'objectID':_0x5a1b33,'objectType':_0xc45b3f,'actions':[]}),_0x2e4d2e[_0x134cc4][_0x5a1b33][_0x1d066(0x269)][_0x1d066(0x3d2)](..._0x891c2f),_0x2e4d2e;},{}),_0x4f4396=[];for(const _0x553c2b in _0x47308d)for(const _0x16049e in _0x47308d[_0x553c2b]){const {actions:_0x559ccd,objectType:_0x33c0ea}=_0x47308d[_0x553c2b][_0x16049e],_0xbcc697=[...new Set(_0x559ccd)];_0x4f4396[_0x5552e2(0x3d2)]({'unitID':_0x553c2b,'objectID':_0x16049e,'objectType':_0x33c0ea,'actions':_0xbcc697});}return new _0x298c22(_0x5552e2(0x399),_0x43976d,{'headers':_0x361de6[_0x5552e2(0x33f)],'withCredentials':_0x361de6[_0x5552e2(0x44d)],'responseType':_0x361de6[_0x5552e2(0x26c)],'body':{'requests':_0x4f4396}});}},{'distributeResult'(_0x551162,_0x76a898){const {objectActions:_0x2846fd}=_0x551162;return _0x76a898['map'](_0x4fbf4f=>{var _0x41d7e7=_0x188c;const {unitID:_0x40e5f0,objectID:_0x3dfa31,actions:_0x87e9e0}=_0x4fbf4f,_0x19b2fe=_0x2846fd[_0x41d7e7(0x206)](_0x420654=>_0x420654[_0x41d7e7(0x3e0)]===_0x40e5f0&&_0x420654[_0x41d7e7(0x300)]===_0x3dfa31),_0x465790=_0x87e9e0[_0x41d7e7(0x157)](_0x3e0e8f=>_0x19b2fe==null?void 0x0:_0x19b2fe[_0x41d7e7(0x269)][_0x41d7e7(0x206)](_0x41265e=>_0x41265e['action']===_0x3e0e8f))[_0x41d7e7(0x275)](_0x1db0ca=>!!_0x1db0ca);return{'config':_0x4fbf4f,'result':{'actions':_0x465790,'error':_0x551162[_0x41d7e7(0x422)]}};});}})}));}[_0x3421ce(0x21c)](){var _0x3a64ff=_0x3421ce,_0x528123,_0x3b6ecd;const _0x172550=this[_0x3a64ff(0x412)]['getConfig'](wi),_0x3c3373=this[_0x3a64ff(0x412)][_0x3a64ff(0x3a9)](Y);return(_0x3b6ecd=(_0x528123=_0x3c3373==null?void 0x0:_0x3c3373[_0x3a64ff(0x1ad)])!=null?_0x528123:_0x172550)!=null?_0x3b6ecd:js;}async['create'](_0xbe3e56){var _0x3189b5=_0x3421ce;const _0x5b2715=this[_0x3189b5(0x21c)]()+'/'+_0xbe3e56['objectType']+_0x3189b5(0x284);return(await this['_HTTPService'][_0x3189b5(0x265)](_0x5b2715,{'body':_0xbe3e56}))['body'][_0x3189b5(0x300)]||'';}async[_0x3421ce(0x181)](_0x4db501){var _0x385022=_0x3421ce;const _0x210197=this['_getAPIPrefixPath']()+_0x385022(0x454);return(await this[_0x385022(0x2c5)][_0x385022(0x265)](_0x210197,{'body':_0x4db501}))[_0x385022(0x3e6)]['objects'];}async['update'](_0x35e162){var _0x3c1fef=_0x3421ce;const _0x2e60fa=this['_getAPIPrefixPath']()+'/'+_0x35e162['objectType']+_0x3c1fef(0x389)+_0x35e162[_0x3c1fef(0x300)];await this['_HTTPService']['put'](_0x2e60fa,{'body':_0x35e162});}async['allowed'](_0xca7ce3){var _0x900ac1=_0x3421ce;const _0x36e7ea=this[_0x900ac1(0x21c)]()+'/'+_0xca7ce3[_0x900ac1(0x362)]+_0x900ac1(0x389)+_0xca7ce3['objectID']+_0x900ac1(0x436);return(await this[_0x900ac1(0x2c5)][_0x900ac1(0x265)](_0x36e7ea,{'body':_0xca7ce3}))[_0x900ac1(0x3e6)][_0x900ac1(0x269)];}async[_0x3421ce(0x231)](_0x21aaf8){var _0x1eb56c=_0x3421ce;const _0x200ccd=this[_0x1eb56c(0x21c)]()+_0x1eb56c(0x426);return(await this[_0x1eb56c(0x2c5)]['post'](_0x200ccd,{'body':{'requests':_0x21aaf8}}))['body']['objectActions'];}async[_0x3421ce(0x21b)](_0x3c58bc){var _0x1e1a1f=_0x3421ce;const _0x2ffe68=this[_0x1e1a1f(0x21c)]()+'/'+_0x3c58bc[_0x1e1a1f(0x362)]+_0x1e1a1f(0x18f),_0x2b1056=await this[_0x1e1a1f(0x2c5)][_0x1e1a1f(0x265)](_0x2ffe68,{'body':_0x3c58bc});return{'roles':_0x2b1056[_0x1e1a1f(0x3e6)][_0x1e1a1f(0x200)],'actions':_0x2b1056[_0x1e1a1f(0x3e6)][_0x1e1a1f(0x269)]};}async['deleteCollaborator'](_0x42438c){var _0x351c7f=_0x3421ce;const _0x24693d=this[_0x351c7f(0x21c)]()+_0x351c7f(0x320);await this[_0x351c7f(0x2c5)][_0x351c7f(0x2ba)](_0x24693d,{'params':{'collaboratorID':_0x42438c[_0x351c7f(0x261)],'objectID':_0x42438c[_0x351c7f(0x300)],'unitID':_0x42438c['unitID']}});}async[_0x3421ce(0x3cb)](_0x31e057){var _0x360c50=_0x3421ce;const _0x3614af=this[_0x360c50(0x21c)]()+'/collaborator';await this['_HTTPService'][_0x360c50(0x301)](_0x3614af,{'body':_0x31e057});}async[_0x3421ce(0x42f)](_0x52cd33){var _0x1ce1e1=_0x3421ce;const _0x423237=this[_0x1ce1e1(0x21c)]()+_0x1ce1e1(0x320);await this[_0x1ce1e1(0x2c5)][_0x1ce1e1(0x265)](_0x423237,{'body':_0x52cd33});}async[_0x3421ce(0x199)](_0x295c08){var _0x287a6e=_0x3421ce;const _0x56ddb6=this[_0x287a6e(0x21c)]()+_0x287a6e(0x320);return(await this[_0x287a6e(0x2c5)][_0x287a6e(0x3e3)](_0x56ddb6,{'params':{'objectID':_0x295c08[_0x287a6e(0x300)],'unitID':_0x295c08['unitID']}}))[_0x287a6e(0x3e6)][_0x287a6e(0x270)];}async[_0x3421ce(0x36e)](_0x56f8b5){var _0x11f116=_0x3421ce;const _0x1ab0a0=this[_0x11f116(0x21c)]()+_0x11f116(0x320);await this[_0x11f116(0x2c5)][_0x11f116(0x162)](_0x1ab0a0,{'body':_0x56f8b5});}};yt=ks([Zt(0x0,_0x5e9963(_0x490c71)),Zt(0x1,_0x5e9963(_0x48fe9a))],yt);var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0xeaa788){var _0x4842a9=_0x3421ce;return _0xeaa788&&_0xeaa788[_0x4842a9(0x424)]&&Object[_0x4842a9(0x1ef)][_0x4842a9(0x22e)][_0x4842a9(0x29c)](_0xeaa788,_0x4842a9(0x189))?_0xeaa788[_0x4842a9(0x189)]:_0xeaa788;}var We={'exports':{}};function Bs(_0x1aa147){var _0x5588d9=_0x3421ce;throw new Error(_0x5588d9(0x1db)+_0x1aa147+_0x5588d9(0x38d));}var Ge={'exports':{}},Fs=Ge['exports'],Qt;function ne(){return Qt||(Qt=0x1,function(_0x102efd,_0x2bc56a){(function(_0x2141d1,_0x3f3778){var _0x4d51aa=_0x188c;_0x102efd[_0x4d51aa(0x296)]=_0x3f3778();}(Fs,function(){var _0x16dcab=_0x16dcab||function(_0x1afa90,_0x20955e){var _0x372513=_0x188c,_0x567f48;if(typeof window<'u'&&window[_0x372513(0x428)]&&(_0x567f48=window[_0x372513(0x428)]),typeof self<'u'&&self[_0x372513(0x428)]&&(_0x567f48=self[_0x372513(0x428)]),typeof globalThis<'u'&&globalThis[_0x372513(0x428)]&&(_0x567f48=globalThis['crypto']),!_0x567f48&&typeof window<'u'&&window[_0x372513(0x28b)]&&(_0x567f48=window[_0x372513(0x28b)]),!_0x567f48&&typeof mt<'u'&&mt[_0x372513(0x428)]&&(_0x567f48=mt[_0x372513(0x428)]),!_0x567f48&&typeof Bs==_0x372513(0x1f8))try{_0x567f48=require(_0x372513(0x428));}catch{}var _0x279f34=function(){var _0x3977ae=_0x372513;if(_0x567f48){if(typeof _0x567f48['getRandomValues']=='function')try{return _0x567f48[_0x3977ae(0x396)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x567f48['randomBytes']=='function')try{return _0x567f48[_0x3977ae(0x278)](0x4)[_0x3977ae(0x27c)]();}catch{}}throw new Error(_0x3977ae(0x2f2));},_0x5a8845=Object[_0x372513(0x2dd)]||(function(){function _0x131db4(){}return function(_0x129cbb){var _0x387d73=_0x188c,_0x2026db;return _0x131db4[_0x387d73(0x1ef)]=_0x129cbb,_0x2026db=new _0x131db4(),_0x131db4['prototype']=null,_0x2026db;};}()),_0x4ad72a={},_0x3318b5=_0x4ad72a[_0x372513(0x1f7)]={},_0x343644=_0x3318b5[_0x372513(0x361)]=(function(){return{'extend':function(_0xac5e22){var _0x260802=_0x188c,_0x976f26=_0x5a8845(this);return _0xac5e22&&_0x976f26[_0x260802(0x43b)](_0xac5e22),(!_0x976f26[_0x260802(0x22e)]('init')||this[_0x260802(0x235)]===_0x976f26[_0x260802(0x235)])&&(_0x976f26[_0x260802(0x235)]=function(){var _0x2c2615=_0x260802;_0x976f26[_0x2c2615(0x3a2)][_0x2c2615(0x235)][_0x2c2615(0x218)](this,arguments);}),_0x976f26[_0x260802(0x235)]['prototype']=_0x976f26,_0x976f26[_0x260802(0x3a2)]=this,_0x976f26;},'create':function(){var _0x3386b=this['extend']();return _0x3386b['init']['apply'](_0x3386b,arguments),_0x3386b;},'init':function(){},'mixIn':function(_0x8591aa){var _0xbd64ae=_0x188c;for(var _0x1a7a5d in _0x8591aa)_0x8591aa[_0xbd64ae(0x22e)](_0x1a7a5d)&&(this[_0x1a7a5d]=_0x8591aa[_0x1a7a5d]);_0x8591aa[_0xbd64ae(0x22e)](_0xbd64ae(0x42e))&&(this[_0xbd64ae(0x42e)]=_0x8591aa['toString']);},'clone':function(){var _0x5d24c4=_0x188c;return this[_0x5d24c4(0x235)][_0x5d24c4(0x1ef)]['extend'](this);}};}()),_0x4a6288=_0x3318b5['WordArray']=_0x343644[_0x372513(0x25b)]({'init':function(_0x3c4bf2,_0x225f4e){var _0x4dff17=_0x372513;_0x3c4bf2=this[_0x4dff17(0x1d9)]=_0x3c4bf2||[],_0x225f4e!=_0x20955e?this[_0x4dff17(0x3e4)]=_0x225f4e:this['sigBytes']=_0x3c4bf2[_0x4dff17(0x225)]*0x4;},'toString':function(_0x5b75b7){var _0x1ce823=_0x372513;return(_0x5b75b7||_0x174629)[_0x1ce823(0x22b)](this);},'concat':function(_0xf247f1){var _0x2fa4a1=_0x372513,_0x4fdb83=this[_0x2fa4a1(0x1d9)],_0x1a9b79=_0xf247f1[_0x2fa4a1(0x1d9)],_0x484674=this[_0x2fa4a1(0x3e4)],_0x419c80=_0xf247f1['sigBytes'];if(this[_0x2fa4a1(0x382)](),_0x484674%0x4)for(var _0x2e1e35=0x0;_0x2e1e35<_0x419c80;_0x2e1e35++){var _0x43bc60=_0x1a9b79[_0x2e1e35>>>0x2]>>>0x18-_0x2e1e35%0x4*0x8&0xff;_0x4fdb83[_0x484674+_0x2e1e35>>>0x2]|=_0x43bc60<<0x18-(_0x484674+_0x2e1e35)%0x4*0x8;}else{for(var _0x4193ae=0x0;_0x4193ae<_0x419c80;_0x4193ae+=0x4)_0x4fdb83[_0x484674+_0x4193ae>>>0x2]=_0x1a9b79[_0x4193ae>>>0x2];}return this[_0x2fa4a1(0x3e4)]+=_0x419c80,this;},'clamp':function(){var _0xd60cae=this['words'],_0x583bef=this['sigBytes'];_0xd60cae[_0x583bef>>>0x2]&=0xffffffff<<0x20-_0x583bef%0x4*0x8,_0xd60cae['length']=_0x1afa90['ceil'](_0x583bef/0x4);},'clone':function(){var _0x2808d3=_0x372513,_0xac1957=_0x343644[_0x2808d3(0x18d)][_0x2808d3(0x29c)](this);return _0xac1957[_0x2808d3(0x1d9)]=this[_0x2808d3(0x1d9)][_0x2808d3(0x1bd)](0x0),_0xac1957;},'random':function(_0x262152){var _0x4d85b3=_0x372513;for(var _0x3b7063=[],_0x1e90c8=0x0;_0x1e90c8<_0x262152;_0x1e90c8+=0x4)_0x3b7063[_0x4d85b3(0x3d2)](_0x279f34());return new _0x4a6288[(_0x4d85b3(0x235))](_0x3b7063,_0x262152);}}),_0x1cd035=_0x4ad72a[_0x372513(0x3c6)]={},_0x174629=_0x1cd035['Hex']={'stringify':function(_0x54c4ff){var _0x2c3323=_0x372513;for(var _0x296865=_0x54c4ff['words'],_0x31f84=_0x54c4ff[_0x2c3323(0x3e4)],_0x5e471a=[],_0xace845=0x0;_0xace845<_0x31f84;_0xace845++){var _0x103b35=_0x296865[_0xace845>>>0x2]>>>0x18-_0xace845%0x4*0x8&0xff;_0x5e471a[_0x2c3323(0x3d2)]((_0x103b35>>>0x4)[_0x2c3323(0x42e)](0x10)),_0x5e471a[_0x2c3323(0x3d2)]((_0x103b35&0xf)[_0x2c3323(0x42e)](0x10));}return _0x5e471a[_0x2c3323(0x3d4)]('');},'parse':function(_0x20b936){var _0x28c73e=_0x372513;for(var _0x33d759=_0x20b936[_0x28c73e(0x225)],_0x283c6d=[],_0x7adfa5=0x0;_0x7adfa5<_0x33d759;_0x7adfa5+=0x2)_0x283c6d[_0x7adfa5>>>0x3]|=parseInt(_0x20b936['substr'](_0x7adfa5,0x2),0x10)<<0x18-_0x7adfa5%0x8*0x4;return new _0x4a6288[(_0x28c73e(0x235))](_0x283c6d,_0x33d759/0x2);}},_0x3dfffc=_0x1cd035['Latin1']={'stringify':function(_0xde3cf5){var _0x3a8b24=_0x372513;for(var _0x4a8bbc=_0xde3cf5[_0x3a8b24(0x1d9)],_0x5786ae=_0xde3cf5['sigBytes'],_0x4ccb20=[],_0x25fac0=0x0;_0x25fac0<_0x5786ae;_0x25fac0++){var _0x387a2a=_0x4a8bbc[_0x25fac0>>>0x2]>>>0x18-_0x25fac0%0x4*0x8&0xff;_0x4ccb20[_0x3a8b24(0x3d2)](String[_0x3a8b24(0x430)](_0x387a2a));}return _0x4ccb20['join']('');},'parse':function(_0x46e695){var _0x20c2b2=_0x372513;for(var _0x1985ee=_0x46e695[_0x20c2b2(0x225)],_0x1b0c02=[],_0x5e9d71=0x0;_0x5e9d71<_0x1985ee;_0x5e9d71++)_0x1b0c02[_0x5e9d71>>>0x2]|=(_0x46e695[_0x20c2b2(0x294)](_0x5e9d71)&0xff)<<0x18-_0x5e9d71%0x4*0x8;return new _0x4a6288[(_0x20c2b2(0x235))](_0x1b0c02,_0x1985ee);}},_0x2427a9=_0x1cd035[_0x372513(0x3a6)]={'stringify':function(_0xfe03dc){var _0x12effd=_0x372513;try{return decodeURIComponent(escape(_0x3dfffc[_0x12effd(0x22b)](_0xfe03dc)));}catch{throw new Error(_0x12effd(0x334));}},'parse':function(_0x2b7b31){var _0x4a1680=_0x372513;return _0x3dfffc[_0x4a1680(0x459)](unescape(encodeURIComponent(_0x2b7b31)));}},_0x314fe7=_0x3318b5[_0x372513(0x156)]=_0x343644[_0x372513(0x25b)]({'reset':function(){var _0x27a690=_0x372513;this[_0x27a690(0x309)]=new _0x4a6288[(_0x27a690(0x235))](),this['_nDataBytes']=0x0;},'_append':function(_0x4ea141){var _0x4b8c14=_0x372513;typeof _0x4ea141==_0x4b8c14(0x15b)&&(_0x4ea141=_0x2427a9[_0x4b8c14(0x459)](_0x4ea141)),this['_data'][_0x4b8c14(0x37e)](_0x4ea141),this[_0x4b8c14(0x214)]+=_0x4ea141['sigBytes'];},'_process':function(_0xf6ad46){var _0x4d3d2a=_0x372513,_0x1aa0a7,_0x355ac6=this[_0x4d3d2a(0x309)],_0x144256=_0x355ac6[_0x4d3d2a(0x1d9)],_0x57326f=_0x355ac6['sigBytes'],_0x2ff271=this['blockSize'],_0x4d8acb=_0x2ff271*0x4,_0x2b858e=_0x57326f/_0x4d8acb;_0xf6ad46?_0x2b858e=_0x1afa90['ceil'](_0x2b858e):_0x2b858e=_0x1afa90['max']((_0x2b858e|0x0)-this[_0x4d3d2a(0x40c)],0x0);var _0x45977a=_0x2b858e*_0x2ff271,_0x4d635e=_0x1afa90[_0x4d3d2a(0x3df)](_0x45977a*0x4,_0x57326f);if(_0x45977a){for(var _0x41fb24=0x0;_0x41fb24<_0x45977a;_0x41fb24+=_0x2ff271)this[_0x4d3d2a(0x20f)](_0x144256,_0x41fb24);_0x1aa0a7=_0x144256['splice'](0x0,_0x45977a),_0x355ac6['sigBytes']-=_0x4d635e;}return new _0x4a6288[(_0x4d3d2a(0x235))](_0x1aa0a7,_0x4d635e);},'clone':function(){var _0x1432d0=_0x372513,_0x312a71=_0x343644[_0x1432d0(0x18d)]['call'](this);return _0x312a71['_data']=this[_0x1432d0(0x309)][_0x1432d0(0x18d)](),_0x312a71;},'_minBufferSize':0x0});_0x3318b5['Hasher']=_0x314fe7[_0x372513(0x25b)]({'cfg':_0x343644[_0x372513(0x25b)](),'init':function(_0xac33b5){var _0x274443=_0x372513;this[_0x274443(0x3d1)]=this[_0x274443(0x3d1)]['extend'](_0xac33b5),this[_0x274443(0x1aa)]();},'reset':function(){var _0x391983=_0x372513;_0x314fe7[_0x391983(0x1aa)]['call'](this),this[_0x391983(0x274)]();},'update':function(_0x3d61c0){var _0x599f79=_0x372513;return this[_0x599f79(0x36c)](_0x3d61c0),this[_0x599f79(0x3a1)](),this;},'finalize':function(_0x18a7f5){_0x18a7f5&&this['_append'](_0x18a7f5);var _0x17d287=this['_doFinalize']();return _0x17d287;},'blockSize':0x10,'_createHelper':function(_0x2b3933){return function(_0x3adf9d,_0x315978){var _0xb79c57=_0x188c;return new _0x2b3933[(_0xb79c57(0x235))](_0x315978)[_0xb79c57(0x268)](_0x3adf9d);};},'_createHmacHelper':function(_0x2cd44d){return function(_0x1279f2,_0x167639){var _0x220f7b=_0x188c;return new _0x509c6a[(_0x220f7b(0x35b))][(_0x220f7b(0x235))](_0x2cd44d,_0x167639)[_0x220f7b(0x268)](_0x1279f2);};}});var _0x509c6a=_0x4ad72a['algo']={};return _0x4ad72a;}(Math);return _0x16dcab;}));}(Ge)),Ge['exports'];}var Ke={'exports':{}},Vs=Ke[_0x3421ce(0x296)],ei;function Ui(){var _0x3f958d=_0x3421ce;return ei||(ei=0x1,function(_0x1d31a4,_0x249f4a){(function(_0xaac50c,_0x3ae0ca){var _0x27ec53=_0x188c;_0x1d31a4[_0x27ec53(0x296)]=_0x3ae0ca(ne());}(Vs,function(_0x4e3e84){var _0x1393e8=_0x188c;return(function(){var _0x1d46b3=_0x188c,_0xa5f47b=_0x4e3e84,_0x162372=_0xa5f47b[_0x1d46b3(0x1f7)],_0x24b462=_0x162372['WordArray'],_0x381759=_0xa5f47b[_0x1d46b3(0x3c6)];_0x381759[_0x1d46b3(0x348)]={'stringify':function(_0x3ac3ea){var _0x1e2f18=_0x1d46b3,_0xa52ff8=_0x3ac3ea[_0x1e2f18(0x1d9)],_0x437037=_0x3ac3ea[_0x1e2f18(0x3e4)],_0x1720a0=this[_0x1e2f18(0x15e)];_0x3ac3ea[_0x1e2f18(0x382)]();for(var _0x280c53=[],_0x18cb33=0x0;_0x18cb33<_0x437037;_0x18cb33+=0x3)for(var _0x2f2389=_0xa52ff8[_0x18cb33>>>0x2]>>>0x18-_0x18cb33%0x4*0x8&0xff,_0x183972=_0xa52ff8[_0x18cb33+0x1>>>0x2]>>>0x18-(_0x18cb33+0x1)%0x4*0x8&0xff,_0x3d1607=_0xa52ff8[_0x18cb33+0x2>>>0x2]>>>0x18-(_0x18cb33+0x2)%0x4*0x8&0xff,_0x2a12cb=_0x2f2389<<0x10|_0x183972<<0x8|_0x3d1607,_0x24ea4d=0x0;_0x24ea4d<0x4&&_0x18cb33+_0x24ea4d*0.75<_0x437037;_0x24ea4d++)_0x280c53[_0x1e2f18(0x3d2)](_0x1720a0[_0x1e2f18(0x2f1)](_0x2a12cb>>>0x6*(0x3-_0x24ea4d)&0x3f));var _0x4271b5=_0x1720a0[_0x1e2f18(0x2f1)](0x40);if(_0x4271b5){for(;_0x280c53[_0x1e2f18(0x225)]%0x4;)_0x280c53[_0x1e2f18(0x3d2)](_0x4271b5);}return _0x280c53[_0x1e2f18(0x3d4)]('');},'parse':function(_0x4e152f){var _0x2ef940=_0x1d46b3,_0x433dd8=_0x4e152f[_0x2ef940(0x225)],_0x5b450e=this[_0x2ef940(0x15e)],_0x301952=this[_0x2ef940(0x376)];if(!_0x301952){_0x301952=this[_0x2ef940(0x376)]=[];for(var _0xc70362=0x0;_0xc70362<_0x5b450e[_0x2ef940(0x225)];_0xc70362++)_0x301952[_0x5b450e[_0x2ef940(0x294)](_0xc70362)]=_0xc70362;}var _0x5ee841=_0x5b450e[_0x2ef940(0x2f1)](0x40);if(_0x5ee841){var _0x2be9bd=_0x4e152f[_0x2ef940(0x3a3)](_0x5ee841);_0x2be9bd!==-0x1&&(_0x433dd8=_0x2be9bd);}return _0x519b3f(_0x4e152f,_0x433dd8,_0x301952);},'_map':_0x1d46b3(0x2d3)};function _0x519b3f(_0x1cab3e,_0x36457e,_0x59e1ac){var _0x139763=_0x1d46b3;for(var _0xc0aebf=[],_0x3ee702=0x0,_0x516243=0x0;_0x516243<_0x36457e;_0x516243++)if(_0x516243%0x4){var _0x2cbc1d=_0x59e1ac[_0x1cab3e['charCodeAt'](_0x516243-0x1)]<<_0x516243%0x4*0x2,_0x2b2dee=_0x59e1ac[_0x1cab3e[_0x139763(0x294)](_0x516243)]>>>0x6-_0x516243%0x4*0x2,_0x3004c1=_0x2cbc1d|_0x2b2dee;_0xc0aebf[_0x3ee702>>>0x2]|=_0x3004c1<<0x18-_0x3ee702%0x4*0x8,_0x3ee702++;}return _0x24b462[_0x139763(0x2dd)](_0xc0aebf,_0x3ee702);}}()),_0x4e3e84['enc'][_0x1393e8(0x348)];}));}(Ke)),Ke[_0x3f958d(0x296)];}var ze={'exports':{}},Ws=ze['exports'],ti;function Gs(){var _0x6f55dc=_0x3421ce;return ti||(ti=0x1,function(_0x532ac4,_0x1ca6dd){(function(_0x221bcf,_0x498632){var _0x11d002=_0x188c;_0x532ac4[_0x11d002(0x296)]=_0x498632(ne());}(Ws,function(_0x52e976){var _0x5ef1bc=_0x188c;return function(_0x32aac2){var _0x33b15e=_0x188c,_0x5eabbb=_0x52e976,_0x461325=_0x5eabbb[_0x33b15e(0x1f7)],_0x44e5a4=_0x461325['WordArray'],_0x2a4d52=_0x461325[_0x33b15e(0x407)],_0x31edaf=_0x5eabbb[_0x33b15e(0x3d8)],_0x4243ca=[];(function(){var _0x180cab=_0x33b15e;for(var _0x4ec12b=0x0;_0x4ec12b<0x40;_0x4ec12b++)_0x4243ca[_0x4ec12b]=_0x32aac2[_0x180cab(0x1e6)](_0x32aac2[_0x180cab(0x1fa)](_0x4ec12b+0x1))*0x100000000|0x0;}());var _0x15fa67=_0x31edaf[_0x33b15e(0x329)]=_0x2a4d52[_0x33b15e(0x25b)]({'_doReset':function(){var _0x10b707=_0x33b15e;this[_0x10b707(0x41b)]=new _0x44e5a4['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x960a6c,_0x2aa044){var _0x1c9451=_0x33b15e;for(var _0x5aca10=0x0;_0x5aca10<0x10;_0x5aca10++){var _0x3c7fb6=_0x2aa044+_0x5aca10,_0x17b02c=_0x960a6c[_0x3c7fb6];_0x960a6c[_0x3c7fb6]=(_0x17b02c<<0x8|_0x17b02c>>>0x18)&0xff00ff|(_0x17b02c<<0x18|_0x17b02c>>>0x8)&0xff00ff00;}var _0x3d06e1=this[_0x1c9451(0x41b)][_0x1c9451(0x1d9)],_0x514318=_0x960a6c[_0x2aa044+0x0],_0x381dcb=_0x960a6c[_0x2aa044+0x1],_0x103592=_0x960a6c[_0x2aa044+0x2],_0x509930=_0x960a6c[_0x2aa044+0x3],_0x10dd7e=_0x960a6c[_0x2aa044+0x4],_0xf0cb38=_0x960a6c[_0x2aa044+0x5],_0x31b868=_0x960a6c[_0x2aa044+0x6],_0x1ab4a5=_0x960a6c[_0x2aa044+0x7],_0x326022=_0x960a6c[_0x2aa044+0x8],_0x1c4171=_0x960a6c[_0x2aa044+0x9],_0x170482=_0x960a6c[_0x2aa044+0xa],_0x36eb07=_0x960a6c[_0x2aa044+0xb],_0x436243=_0x960a6c[_0x2aa044+0xc],_0x11fbbb=_0x960a6c[_0x2aa044+0xd],_0x58d682=_0x960a6c[_0x2aa044+0xe],_0x473016=_0x960a6c[_0x2aa044+0xf],_0x1b8086=_0x3d06e1[0x0],_0x1974ae=_0x3d06e1[0x1],_0x13a749=_0x3d06e1[0x2],_0x2de4a1=_0x3d06e1[0x3];_0x1b8086=_0x5d9ca8(_0x1b8086,_0x1974ae,_0x13a749,_0x2de4a1,_0x514318,0x7,_0x4243ca[0x0]),_0x2de4a1=_0x5d9ca8(_0x2de4a1,_0x1b8086,_0x1974ae,_0x13a749,_0x381dcb,0xc,_0x4243ca[0x1]),_0x13a749=_0x5d9ca8(_0x13a749,_0x2de4a1,_0x1b8086,_0x1974ae,_0x103592,0x11,_0x4243ca[0x2]),_0x1974ae=_0x5d9ca8(_0x1974ae,_0x13a749,_0x2de4a1,_0x1b8086,_0x509930,0x16,_0x4243ca[0x3]),_0x1b8086=_0x5d9ca8(_0x1b8086,_0x1974ae,_0x13a749,_0x2de4a1,_0x10dd7e,0x7,_0x4243ca[0x4]),_0x2de4a1=_0x5d9ca8(_0x2de4a1,_0x1b8086,_0x1974ae,_0x13a749,_0xf0cb38,0xc,_0x4243ca[0x5]),_0x13a749=_0x5d9ca8(_0x13a749,_0x2de4a1,_0x1b8086,_0x1974ae,_0x31b868,0x11,_0x4243ca[0x6]),_0x1974ae=_0x5d9ca8(_0x1974ae,_0x13a749,_0x2de4a1,_0x1b8086,_0x1ab4a5,0x16,_0x4243ca[0x7]),_0x1b8086=_0x5d9ca8(_0x1b8086,_0x1974ae,_0x13a749,_0x2de4a1,_0x326022,0x7,_0x4243ca[0x8]),_0x2de4a1=_0x5d9ca8(_0x2de4a1,_0x1b8086,_0x1974ae,_0x13a749,_0x1c4171,0xc,_0x4243ca[0x9]),_0x13a749=_0x5d9ca8(_0x13a749,_0x2de4a1,_0x1b8086,_0x1974ae,_0x170482,0x11,_0x4243ca[0xa]),_0x1974ae=_0x5d9ca8(_0x1974ae,_0x13a749,_0x2de4a1,_0x1b8086,_0x36eb07,0x16,_0x4243ca[0xb]),_0x1b8086=_0x5d9ca8(_0x1b8086,_0x1974ae,_0x13a749,_0x2de4a1,_0x436243,0x7,_0x4243ca[0xc]),_0x2de4a1=_0x5d9ca8(_0x2de4a1,_0x1b8086,_0x1974ae,_0x13a749,_0x11fbbb,0xc,_0x4243ca[0xd]),_0x13a749=_0x5d9ca8(_0x13a749,_0x2de4a1,_0x1b8086,_0x1974ae,_0x58d682,0x11,_0x4243ca[0xe]),_0x1974ae=_0x5d9ca8(_0x1974ae,_0x13a749,_0x2de4a1,_0x1b8086,_0x473016,0x16,_0x4243ca[0xf]),_0x1b8086=_0x14aa34(_0x1b8086,_0x1974ae,_0x13a749,_0x2de4a1,_0x381dcb,0x5,_0x4243ca[0x10]),_0x2de4a1=_0x14aa34(_0x2de4a1,_0x1b8086,_0x1974ae,_0x13a749,_0x31b868,0x9,_0x4243ca[0x11]),_0x13a749=_0x14aa34(_0x13a749,_0x2de4a1,_0x1b8086,_0x1974ae,_0x36eb07,0xe,_0x4243ca[0x12]),_0x1974ae=_0x14aa34(_0x1974ae,_0x13a749,_0x2de4a1,_0x1b8086,_0x514318,0x14,_0x4243ca[0x13]),_0x1b8086=_0x14aa34(_0x1b8086,_0x1974ae,_0x13a749,_0x2de4a1,_0xf0cb38,0x5,_0x4243ca[0x14]),_0x2de4a1=_0x14aa34(_0x2de4a1,_0x1b8086,_0x1974ae,_0x13a749,_0x170482,0x9,_0x4243ca[0x15]),_0x13a749=_0x14aa34(_0x13a749,_0x2de4a1,_0x1b8086,_0x1974ae,_0x473016,0xe,_0x4243ca[0x16]),_0x1974ae=_0x14aa34(_0x1974ae,_0x13a749,_0x2de4a1,_0x1b8086,_0x10dd7e,0x14,_0x4243ca[0x17]),_0x1b8086=_0x14aa34(_0x1b8086,_0x1974ae,_0x13a749,_0x2de4a1,_0x1c4171,0x5,_0x4243ca[0x18]),_0x2de4a1=_0x14aa34(_0x2de4a1,_0x1b8086,_0x1974ae,_0x13a749,_0x58d682,0x9,_0x4243ca[0x19]),_0x13a749=_0x14aa34(_0x13a749,_0x2de4a1,_0x1b8086,_0x1974ae,_0x509930,0xe,_0x4243ca[0x1a]),_0x1974ae=_0x14aa34(_0x1974ae,_0x13a749,_0x2de4a1,_0x1b8086,_0x326022,0x14,_0x4243ca[0x1b]),_0x1b8086=_0x14aa34(_0x1b8086,_0x1974ae,_0x13a749,_0x2de4a1,_0x11fbbb,0x5,_0x4243ca[0x1c]),_0x2de4a1=_0x14aa34(_0x2de4a1,_0x1b8086,_0x1974ae,_0x13a749,_0x103592,0x9,_0x4243ca[0x1d]),_0x13a749=_0x14aa34(_0x13a749,_0x2de4a1,_0x1b8086,_0x1974ae,_0x1ab4a5,0xe,_0x4243ca[0x1e]),_0x1974ae=_0x14aa34(_0x1974ae,_0x13a749,_0x2de4a1,_0x1b8086,_0x436243,0x14,_0x4243ca[0x1f]),_0x1b8086=_0x319881(_0x1b8086,_0x1974ae,_0x13a749,_0x2de4a1,_0xf0cb38,0x4,_0x4243ca[0x20]),_0x2de4a1=_0x319881(_0x2de4a1,_0x1b8086,_0x1974ae,_0x13a749,_0x326022,0xb,_0x4243ca[0x21]),_0x13a749=_0x319881(_0x13a749,_0x2de4a1,_0x1b8086,_0x1974ae,_0x36eb07,0x10,_0x4243ca[0x22]),_0x1974ae=_0x319881(_0x1974ae,_0x13a749,_0x2de4a1,_0x1b8086,_0x58d682,0x17,_0x4243ca[0x23]),_0x1b8086=_0x319881(_0x1b8086,_0x1974ae,_0x13a749,_0x2de4a1,_0x381dcb,0x4,_0x4243ca[0x24]),_0x2de4a1=_0x319881(_0x2de4a1,_0x1b8086,_0x1974ae,_0x13a749,_0x10dd7e,0xb,_0x4243ca[0x25]),_0x13a749=_0x319881(_0x13a749,_0x2de4a1,_0x1b8086,_0x1974ae,_0x1ab4a5,0x10,_0x4243ca[0x26]),_0x1974ae=_0x319881(_0x1974ae,_0x13a749,_0x2de4a1,_0x1b8086,_0x170482,0x17,_0x4243ca[0x27]),_0x1b8086=_0x319881(_0x1b8086,_0x1974ae,_0x13a749,_0x2de4a1,_0x11fbbb,0x4,_0x4243ca[0x28]),_0x2de4a1=_0x319881(_0x2de4a1,_0x1b8086,_0x1974ae,_0x13a749,_0x514318,0xb,_0x4243ca[0x29]),_0x13a749=_0x319881(_0x13a749,_0x2de4a1,_0x1b8086,_0x1974ae,_0x509930,0x10,_0x4243ca[0x2a]),_0x1974ae=_0x319881(_0x1974ae,_0x13a749,_0x2de4a1,_0x1b8086,_0x31b868,0x17,_0x4243ca[0x2b]),_0x1b8086=_0x319881(_0x1b8086,_0x1974ae,_0x13a749,_0x2de4a1,_0x1c4171,0x4,_0x4243ca[0x2c]),_0x2de4a1=_0x319881(_0x2de4a1,_0x1b8086,_0x1974ae,_0x13a749,_0x436243,0xb,_0x4243ca[0x2d]),_0x13a749=_0x319881(_0x13a749,_0x2de4a1,_0x1b8086,_0x1974ae,_0x473016,0x10,_0x4243ca[0x2e]),_0x1974ae=_0x319881(_0x1974ae,_0x13a749,_0x2de4a1,_0x1b8086,_0x103592,0x17,_0x4243ca[0x2f]),_0x1b8086=_0x441ece(_0x1b8086,_0x1974ae,_0x13a749,_0x2de4a1,_0x514318,0x6,_0x4243ca[0x30]),_0x2de4a1=_0x441ece(_0x2de4a1,_0x1b8086,_0x1974ae,_0x13a749,_0x1ab4a5,0xa,_0x4243ca[0x31]),_0x13a749=_0x441ece(_0x13a749,_0x2de4a1,_0x1b8086,_0x1974ae,_0x58d682,0xf,_0x4243ca[0x32]),_0x1974ae=_0x441ece(_0x1974ae,_0x13a749,_0x2de4a1,_0x1b8086,_0xf0cb38,0x15,_0x4243ca[0x33]),_0x1b8086=_0x441ece(_0x1b8086,_0x1974ae,_0x13a749,_0x2de4a1,_0x436243,0x6,_0x4243ca[0x34]),_0x2de4a1=_0x441ece(_0x2de4a1,_0x1b8086,_0x1974ae,_0x13a749,_0x509930,0xa,_0x4243ca[0x35]),_0x13a749=_0x441ece(_0x13a749,_0x2de4a1,_0x1b8086,_0x1974ae,_0x170482,0xf,_0x4243ca[0x36]),_0x1974ae=_0x441ece(_0x1974ae,_0x13a749,_0x2de4a1,_0x1b8086,_0x381dcb,0x15,_0x4243ca[0x37]),_0x1b8086=_0x441ece(_0x1b8086,_0x1974ae,_0x13a749,_0x2de4a1,_0x326022,0x6,_0x4243ca[0x38]),_0x2de4a1=_0x441ece(_0x2de4a1,_0x1b8086,_0x1974ae,_0x13a749,_0x473016,0xa,_0x4243ca[0x39]),_0x13a749=_0x441ece(_0x13a749,_0x2de4a1,_0x1b8086,_0x1974ae,_0x31b868,0xf,_0x4243ca[0x3a]),_0x1974ae=_0x441ece(_0x1974ae,_0x13a749,_0x2de4a1,_0x1b8086,_0x11fbbb,0x15,_0x4243ca[0x3b]),_0x1b8086=_0x441ece(_0x1b8086,_0x1974ae,_0x13a749,_0x2de4a1,_0x10dd7e,0x6,_0x4243ca[0x3c]),_0x2de4a1=_0x441ece(_0x2de4a1,_0x1b8086,_0x1974ae,_0x13a749,_0x36eb07,0xa,_0x4243ca[0x3d]),_0x13a749=_0x441ece(_0x13a749,_0x2de4a1,_0x1b8086,_0x1974ae,_0x103592,0xf,_0x4243ca[0x3e]),_0x1974ae=_0x441ece(_0x1974ae,_0x13a749,_0x2de4a1,_0x1b8086,_0x1c4171,0x15,_0x4243ca[0x3f]),_0x3d06e1[0x0]=_0x3d06e1[0x0]+_0x1b8086|0x0,_0x3d06e1[0x1]=_0x3d06e1[0x1]+_0x1974ae|0x0,_0x3d06e1[0x2]=_0x3d06e1[0x2]+_0x13a749|0x0,_0x3d06e1[0x3]=_0x3d06e1[0x3]+_0x2de4a1|0x0;},'_doFinalize':function(){var _0x4682de=_0x33b15e,_0x67e55e=this[_0x4682de(0x309)],_0x155e1f=_0x67e55e[_0x4682de(0x1d9)],_0x396e06=this['_nDataBytes']*0x8,_0x4e43fe=_0x67e55e[_0x4682de(0x3e4)]*0x8;_0x155e1f[_0x4e43fe>>>0x5]|=0x80<<0x18-_0x4e43fe%0x20;var _0x44eff0=_0x32aac2[_0x4682de(0x2a5)](_0x396e06/0x100000000),_0x108a44=_0x396e06;_0x155e1f[(_0x4e43fe+0x40>>>0x9<<0x4)+0xf]=(_0x44eff0<<0x8|_0x44eff0>>>0x18)&0xff00ff|(_0x44eff0<<0x18|_0x44eff0>>>0x8)&0xff00ff00,_0x155e1f[(_0x4e43fe+0x40>>>0x9<<0x4)+0xe]=(_0x108a44<<0x8|_0x108a44>>>0x18)&0xff00ff|(_0x108a44<<0x18|_0x108a44>>>0x8)&0xff00ff00,_0x67e55e[_0x4682de(0x3e4)]=(_0x155e1f['length']+0x1)*0x4,this[_0x4682de(0x3a1)]();for(var _0x58b7a4=this[_0x4682de(0x41b)],_0x29d174=_0x58b7a4[_0x4682de(0x1d9)],_0x35b504=0x0;_0x35b504<0x4;_0x35b504++){var _0x2b5911=_0x29d174[_0x35b504];_0x29d174[_0x35b504]=(_0x2b5911<<0x8|_0x2b5911>>>0x18)&0xff00ff|(_0x2b5911<<0x18|_0x2b5911>>>0x8)&0xff00ff00;}return _0x58b7a4;},'clone':function(){var _0x1a7fec=_0x33b15e,_0x3ce9b3=_0x2a4d52[_0x1a7fec(0x18d)]['call'](this);return _0x3ce9b3['_hash']=this[_0x1a7fec(0x41b)]['clone'](),_0x3ce9b3;}});function _0x5d9ca8(_0x2c2f73,_0x25aef5,_0x3573d2,_0x1235f6,_0x2de697,_0x231759,_0x96722){var _0x4341ae=_0x2c2f73+(_0x25aef5&_0x3573d2|~_0x25aef5&_0x1235f6)+_0x2de697+_0x96722;return(_0x4341ae<<_0x231759|_0x4341ae>>>0x20-_0x231759)+_0x25aef5;}function _0x14aa34(_0x50883e,_0x1a860b,_0x148f12,_0x3fc88a,_0x76d273,_0x30ab55,_0x1ab94d){var _0x2eb886=_0x50883e+(_0x1a860b&_0x3fc88a|_0x148f12&~_0x3fc88a)+_0x76d273+_0x1ab94d;return(_0x2eb886<<_0x30ab55|_0x2eb886>>>0x20-_0x30ab55)+_0x1a860b;}function _0x319881(_0x529c7a,_0x4aa909,_0x28e9ab,_0x130187,_0x2656e1,_0x4c91d2,_0x1d9193){var _0x363b36=_0x529c7a+(_0x4aa909^_0x28e9ab^_0x130187)+_0x2656e1+_0x1d9193;return(_0x363b36<<_0x4c91d2|_0x363b36>>>0x20-_0x4c91d2)+_0x4aa909;}function _0x441ece(_0x524329,_0x49d849,_0x5824ff,_0x3e6d09,_0x4a6d7e,_0x5704b8,_0x4025d7){var _0x4ab13c=_0x524329+(_0x5824ff^(_0x49d849|~_0x3e6d09))+_0x4a6d7e+_0x4025d7;return(_0x4ab13c<<_0x5704b8|_0x4ab13c>>>0x20-_0x5704b8)+_0x49d849;}_0x5eabbb[_0x33b15e(0x329)]=_0x2a4d52[_0x33b15e(0x293)](_0x15fa67),_0x5eabbb[_0x33b15e(0x441)]=_0x2a4d52[_0x33b15e(0x345)](_0x15fa67);}(Math),_0x52e976[_0x5ef1bc(0x329)];}));}(ze)),ze[_0x6f55dc(0x296)];}var Ye={'exports':{}},qe={'exports':{}},Ks=qe[_0x3421ce(0x296)],ii;function zs(){var _0x12074c=_0x3421ce;return ii||(ii=0x1,function(_0x3e9e0a,_0x67dd4a){(function(_0x36d93a,_0x2a0459){var _0x236e89=_0x188c;_0x3e9e0a[_0x236e89(0x296)]=_0x2a0459(ne());}(Ks,function(_0x4b50ec){var _0x2ab8e2=_0x188c;return(function(){var _0x4456ef=_0x188c,_0x248851=_0x4b50ec,_0x108d4a=_0x248851[_0x4456ef(0x1f7)],_0x382344=_0x108d4a[_0x4456ef(0x42b)],_0x41044f=_0x108d4a[_0x4456ef(0x407)],_0xb7646e=_0x248851[_0x4456ef(0x3d8)],_0x46a8f2=[],_0x188cef=_0xb7646e[_0x4456ef(0x319)]=_0x41044f[_0x4456ef(0x25b)]({'_doReset':function(){var _0x1a9879=_0x4456ef;this[_0x1a9879(0x41b)]=new _0x382344[(_0x1a9879(0x235))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x12d949,_0x306fde){var _0x50215c=_0x4456ef;for(var _0x4c9a2d=this[_0x50215c(0x41b)][_0x50215c(0x1d9)],_0xd6195b=_0x4c9a2d[0x0],_0x410a37=_0x4c9a2d[0x1],_0x24e4c8=_0x4c9a2d[0x2],_0x54994c=_0x4c9a2d[0x3],_0x4ac070=_0x4c9a2d[0x4],_0x1f38c3=0x0;_0x1f38c3<0x50;_0x1f38c3++){if(_0x1f38c3<0x10)_0x46a8f2[_0x1f38c3]=_0x12d949[_0x306fde+_0x1f38c3]|0x0;else{var _0x276b8b=_0x46a8f2[_0x1f38c3-0x3]^_0x46a8f2[_0x1f38c3-0x8]^_0x46a8f2[_0x1f38c3-0xe]^_0x46a8f2[_0x1f38c3-0x10];_0x46a8f2[_0x1f38c3]=_0x276b8b<<0x1|_0x276b8b>>>0x1f;}var _0x4cd4f0=(_0xd6195b<<0x5|_0xd6195b>>>0x1b)+_0x4ac070+_0x46a8f2[_0x1f38c3];_0x1f38c3<0x14?_0x4cd4f0+=(_0x410a37&_0x24e4c8|~_0x410a37&_0x54994c)+0x5a827999:_0x1f38c3<0x28?_0x4cd4f0+=(_0x410a37^_0x24e4c8^_0x54994c)+0x6ed9eba1:_0x1f38c3<0x3c?_0x4cd4f0+=(_0x410a37&_0x24e4c8|_0x410a37&_0x54994c|_0x24e4c8&_0x54994c)-0x70e44324:_0x4cd4f0+=(_0x410a37^_0x24e4c8^_0x54994c)-0x359d3e2a,_0x4ac070=_0x54994c,_0x54994c=_0x24e4c8,_0x24e4c8=_0x410a37<<0x1e|_0x410a37>>>0x2,_0x410a37=_0xd6195b,_0xd6195b=_0x4cd4f0;}_0x4c9a2d[0x0]=_0x4c9a2d[0x0]+_0xd6195b|0x0,_0x4c9a2d[0x1]=_0x4c9a2d[0x1]+_0x410a37|0x0,_0x4c9a2d[0x2]=_0x4c9a2d[0x2]+_0x24e4c8|0x0,_0x4c9a2d[0x3]=_0x4c9a2d[0x3]+_0x54994c|0x0,_0x4c9a2d[0x4]=_0x4c9a2d[0x4]+_0x4ac070|0x0;},'_doFinalize':function(){var _0x218d69=_0x4456ef,_0xc0b531=this[_0x218d69(0x309)],_0x2c7a53=_0xc0b531[_0x218d69(0x1d9)],_0x4260bb=this[_0x218d69(0x214)]*0x8,_0x3103d1=_0xc0b531[_0x218d69(0x3e4)]*0x8;return _0x2c7a53[_0x3103d1>>>0x5]|=0x80<<0x18-_0x3103d1%0x20,_0x2c7a53[(_0x3103d1+0x40>>>0x9<<0x4)+0xe]=Math[_0x218d69(0x2a5)](_0x4260bb/0x100000000),_0x2c7a53[(_0x3103d1+0x40>>>0x9<<0x4)+0xf]=_0x4260bb,_0xc0b531[_0x218d69(0x3e4)]=_0x2c7a53[_0x218d69(0x225)]*0x4,this[_0x218d69(0x3a1)](),this[_0x218d69(0x41b)];},'clone':function(){var _0x342ab4=_0x4456ef,_0x626534=_0x41044f[_0x342ab4(0x18d)][_0x342ab4(0x29c)](this);return _0x626534[_0x342ab4(0x41b)]=this[_0x342ab4(0x41b)][_0x342ab4(0x18d)](),_0x626534;}});_0x248851['SHA1']=_0x41044f[_0x4456ef(0x293)](_0x188cef),_0x248851[_0x4456ef(0x3c8)]=_0x41044f[_0x4456ef(0x345)](_0x188cef);}()),_0x4b50ec[_0x2ab8e2(0x319)];}));}(qe)),qe[_0x12074c(0x296)];}var Je={'exports':{}},Ys=Je[_0x3421ce(0x296)],ni;function qs(){return ni||(ni=0x1,function(_0x3b9f5f,_0x98e3e){(function(_0x5e377,_0x371dc9){var _0x4c2665=_0x188c;_0x3b9f5f[_0x4c2665(0x296)]=_0x371dc9(ne());}(Ys,function(_0x108e2c){(function(){var _0x424bd9=_0x188c,_0x1d2127=_0x108e2c,_0x3de42e=_0x1d2127[_0x424bd9(0x1f7)],_0x547c7e=_0x3de42e['Base'],_0x38fcd3=_0x1d2127[_0x424bd9(0x3c6)],_0x170b27=_0x38fcd3['Utf8'],_0x1aafcc=_0x1d2127[_0x424bd9(0x3d8)];_0x1aafcc[_0x424bd9(0x35b)]=_0x547c7e[_0x424bd9(0x25b)]({'init':function(_0x128abb,_0x49085e){var _0x4047e3=_0x424bd9;_0x128abb=this[_0x4047e3(0x15f)]=new _0x128abb[(_0x4047e3(0x235))](),typeof _0x49085e==_0x4047e3(0x15b)&&(_0x49085e=_0x170b27[_0x4047e3(0x459)](_0x49085e));var _0x41bc99=_0x128abb[_0x4047e3(0x39d)],_0x58ba8e=_0x41bc99*0x4;_0x49085e['sigBytes']>_0x58ba8e&&(_0x49085e=_0x128abb[_0x4047e3(0x268)](_0x49085e)),_0x49085e['clamp']();for(var _0xc5ffad=this[_0x4047e3(0x29d)]=_0x49085e[_0x4047e3(0x18d)](),_0x4f0e46=this[_0x4047e3(0x1be)]=_0x49085e[_0x4047e3(0x18d)](),_0x4e8bf9=_0xc5ffad[_0x4047e3(0x1d9)],_0x159303=_0x4f0e46[_0x4047e3(0x1d9)],_0x22f3e7=0x0;_0x22f3e7<_0x41bc99;_0x22f3e7++)_0x4e8bf9[_0x22f3e7]^=0x5c5c5c5c,_0x159303[_0x22f3e7]^=0x36363636;_0xc5ffad[_0x4047e3(0x3e4)]=_0x4f0e46[_0x4047e3(0x3e4)]=_0x58ba8e,this['reset']();},'reset':function(){var _0x1b9949=_0x424bd9,_0xcaeeff=this[_0x1b9949(0x15f)];_0xcaeeff[_0x1b9949(0x1aa)](),_0xcaeeff[_0x1b9949(0x2ab)](this[_0x1b9949(0x1be)]);},'update':function(_0x3df62d){var _0x227317=_0x424bd9;return this[_0x227317(0x15f)][_0x227317(0x2ab)](_0x3df62d),this;},'finalize':function(_0x5cb2ba){var _0x33116e=_0x424bd9,_0x52e44e=this['_hasher'],_0x76fb4c=_0x52e44e['finalize'](_0x5cb2ba);_0x52e44e['reset']();var _0xd9990e=_0x52e44e[_0x33116e(0x268)](this[_0x33116e(0x29d)][_0x33116e(0x18d)]()[_0x33116e(0x37e)](_0x76fb4c));return _0xd9990e;}});}());}));}(Je)),Je['exports'];}var Js=Ye['exports'],si;function Ai(){var _0x4c1ed9=_0x3421ce;return si||(si=0x1,function(_0x177411,_0x1d6197){(function(_0x349659,_0x263d61,_0x3ee75f){var _0xda9043=_0x188c;_0x177411[_0xda9043(0x296)]=_0x263d61(ne(),zs(),qs());}(Js,function(_0x3e4501){var _0x4aabc4=_0x188c;return(function(){var _0x271a2a=_0x188c,_0x2059af=_0x3e4501,_0x52bd88=_0x2059af[_0x271a2a(0x1f7)],_0x5e9403=_0x52bd88['Base'],_0x38f2fc=_0x52bd88[_0x271a2a(0x42b)],_0x46dbed=_0x2059af[_0x271a2a(0x3d8)],_0x3b7558=_0x46dbed['MD5'],_0x570347=_0x46dbed[_0x271a2a(0x190)]=_0x5e9403['extend']({'cfg':_0x5e9403[_0x271a2a(0x25b)]({'keySize':0x80/0x20,'hasher':_0x3b7558,'iterations':0x1}),'init':function(_0x39bfcb){var _0x253fc3=_0x271a2a;this[_0x253fc3(0x3d1)]=this[_0x253fc3(0x3d1)][_0x253fc3(0x25b)](_0x39bfcb);},'compute':function(_0x5ae0fa,_0x2041ac){var _0x40c454=_0x271a2a;for(var _0x57283e,_0x1d6a6b=this['cfg'],_0x5d4a38=_0x1d6a6b[_0x40c454(0x282)][_0x40c454(0x2dd)](),_0x11c139=_0x38f2fc[_0x40c454(0x2dd)](),_0x1dc580=_0x11c139['words'],_0xb77411=_0x1d6a6b[_0x40c454(0x37b)],_0x3524dd=_0x1d6a6b['iterations'];_0x1dc580[_0x40c454(0x225)]<_0xb77411;){_0x57283e&&_0x5d4a38[_0x40c454(0x2ab)](_0x57283e),_0x57283e=_0x5d4a38['update'](_0x5ae0fa)[_0x40c454(0x268)](_0x2041ac),_0x5d4a38[_0x40c454(0x1aa)]();for(var _0x13de5e=0x1;_0x13de5e<_0x3524dd;_0x13de5e++)_0x57283e=_0x5d4a38['finalize'](_0x57283e),_0x5d4a38[_0x40c454(0x1aa)]();_0x11c139[_0x40c454(0x37e)](_0x57283e);}return _0x11c139[_0x40c454(0x3e4)]=_0xb77411*0x4,_0x11c139;}});_0x2059af[_0x271a2a(0x190)]=function(_0x18b5a5,_0x773cc,_0x2b1bc0){var _0x2841c6=_0x271a2a;return _0x570347[_0x2841c6(0x2dd)](_0x2b1bc0)[_0x2841c6(0x1f3)](_0x18b5a5,_0x773cc);};}()),_0x3e4501[_0x4aabc4(0x190)];}));}(Ye)),Ye[_0x4c1ed9(0x296)];}var Xe={'exports':{}},Xs=Xe[_0x3421ce(0x296)],ri;function xi(){var _0x5d3bdd=_0x3421ce;return ri||(ri=0x1,function(_0x41ac07,_0x1710e9){(function(_0x4ec898,_0x9d7455,_0x21fad7){var _0x2cb4c7=_0x188c;_0x41ac07[_0x2cb4c7(0x296)]=_0x9d7455(ne(),Ai());}(Xs,function(_0x2bd34a){var _0x4843fc=_0x188c;_0x2bd34a[_0x4843fc(0x1f7)][_0x4843fc(0x258)]||function(_0x297f64){var _0x255dcd=_0x4843fc,_0x1ae34b=_0x2bd34a,_0x3bcee5=_0x1ae34b[_0x255dcd(0x1f7)],_0x4df638=_0x3bcee5[_0x255dcd(0x361)],_0x16d2b8=_0x3bcee5[_0x255dcd(0x42b)],_0x418c70=_0x3bcee5[_0x255dcd(0x156)],_0x410cd1=_0x1ae34b[_0x255dcd(0x3c6)];_0x410cd1[_0x255dcd(0x3a6)];var _0x11d5c5=_0x410cd1['Base64'],_0x11ff31=_0x1ae34b['algo'],_0x5b7b23=_0x11ff31[_0x255dcd(0x190)],_0x211688=_0x3bcee5['Cipher']=_0x418c70[_0x255dcd(0x25b)]({'cfg':_0x4df638[_0x255dcd(0x25b)](),'createEncryptor':function(_0x1e4772,_0x447430){var _0x3326ae=_0x255dcd;return this[_0x3326ae(0x2dd)](this[_0x3326ae(0x33b)],_0x1e4772,_0x447430);},'createDecryptor':function(_0x22a685,_0x16e800){var _0xfbcaa=_0x255dcd;return this['create'](this[_0xfbcaa(0x31d)],_0x22a685,_0x16e800);},'init':function(_0x492e77,_0x319fd1,_0x1e1e11){var _0x506910=_0x255dcd;this['cfg']=this[_0x506910(0x3d1)][_0x506910(0x25b)](_0x1e1e11),this[_0x506910(0x2f0)]=_0x492e77,this[_0x506910(0x241)]=_0x319fd1,this[_0x506910(0x1aa)]();},'reset':function(){var _0x263294=_0x255dcd;_0x418c70['reset'][_0x263294(0x29c)](this),this[_0x263294(0x274)]();},'process':function(_0x264da3){var _0xb8bc87=_0x255dcd;return this[_0xb8bc87(0x36c)](_0x264da3),this['_process']();},'finalize':function(_0x2fc61b){var _0x12d341=_0x255dcd;_0x2fc61b&&this[_0x12d341(0x36c)](_0x2fc61b);var _0x4c8d71=this[_0x12d341(0x1a3)]();return _0x4c8d71;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x24dd12(_0xf78b02){var _0x28bcc5=_0x188c;return typeof _0xf78b02==_0x28bcc5(0x15b)?_0x1c6931:_0x44397a;}return function(_0x3b178b){return{'encrypt':function(_0x578aef,_0x5bf741,_0x1c16c8){var _0x3214be=_0x188c;return _0x24dd12(_0x5bf741)[_0x3214be(0x3a4)](_0x3b178b,_0x578aef,_0x5bf741,_0x1c16c8);},'decrypt':function(_0x5717f4,_0xa35bf9,_0x3f0d01){return _0x24dd12(_0xa35bf9)['decrypt'](_0x3b178b,_0x5717f4,_0xa35bf9,_0x3f0d01);}};};}())});_0x3bcee5[_0x255dcd(0x3ef)]=_0x211688[_0x255dcd(0x25b)]({'_doFinalize':function(){var _0x137106=_0x255dcd,_0x564fc1=this[_0x137106(0x3a1)](!0x0);return _0x564fc1;},'blockSize':0x1});var _0x42e379=_0x1ae34b[_0x255dcd(0x325)]={},_0x37035b=_0x3bcee5[_0x255dcd(0x32f)]=_0x4df638[_0x255dcd(0x25b)]({'createEncryptor':function(_0x561c33,_0x253541){var _0x5b4ba1=_0x255dcd;return this['Encryptor'][_0x5b4ba1(0x2dd)](_0x561c33,_0x253541);},'createDecryptor':function(_0x7558f5,_0x40c2e8){var _0x39b607=_0x255dcd;return this[_0x39b607(0x1a6)][_0x39b607(0x2dd)](_0x7558f5,_0x40c2e8);},'init':function(_0x5924d8,_0x2581f2){var _0x5da8ab=_0x255dcd;this[_0x5da8ab(0x1b5)]=_0x5924d8,this[_0x5da8ab(0x2fe)]=_0x2581f2;}}),_0xf268bb=_0x42e379[_0x255dcd(0x195)]=(function(){var _0x380064=_0x255dcd,_0x252778=_0x37035b[_0x380064(0x25b)]();_0x252778[_0x380064(0x370)]=_0x252778[_0x380064(0x25b)]({'processBlock':function(_0xa38996,_0x406a41){var _0x563abe=_0x380064,_0x520f01=this[_0x563abe(0x1b5)],_0x52f951=_0x520f01[_0x563abe(0x39d)];_0x4d9987[_0x563abe(0x29c)](this,_0xa38996,_0x406a41,_0x52f951),_0x520f01['encryptBlock'](_0xa38996,_0x406a41),this[_0x563abe(0x404)]=_0xa38996[_0x563abe(0x1bd)](_0x406a41,_0x406a41+_0x52f951);}}),_0x252778[_0x380064(0x1a6)]=_0x252778['extend']({'processBlock':function(_0x43cd3d,_0x1dc3a8){var _0x5912e4=_0x380064,_0x2a79ff=this[_0x5912e4(0x1b5)],_0x42e8a4=_0x2a79ff['blockSize'],_0x36b65d=_0x43cd3d[_0x5912e4(0x1bd)](_0x1dc3a8,_0x1dc3a8+_0x42e8a4);_0x2a79ff[_0x5912e4(0x29e)](_0x43cd3d,_0x1dc3a8),_0x4d9987[_0x5912e4(0x29c)](this,_0x43cd3d,_0x1dc3a8,_0x42e8a4),this['_prevBlock']=_0x36b65d;}});function _0x4d9987(_0x333237,_0x1942ee,_0x5187b5){var _0x16f4af=_0x380064,_0x1772e1,_0x2b6a90=this[_0x16f4af(0x2fe)];_0x2b6a90?(_0x1772e1=_0x2b6a90,this[_0x16f4af(0x2fe)]=_0x297f64):_0x1772e1=this[_0x16f4af(0x404)];for(var _0x299e1e=0x0;_0x299e1e<_0x5187b5;_0x299e1e++)_0x333237[_0x1942ee+_0x299e1e]^=_0x1772e1[_0x299e1e];}return _0x252778;}()),_0x372ea8=_0x1ae34b[_0x255dcd(0x1e8)]={},_0x51bf72=_0x372ea8['Pkcs7']={'pad':function(_0x4c6fbb,_0x1f879e){var _0x523cd8=_0x255dcd;for(var _0x5a5944=_0x1f879e*0x4,_0x2d10b0=_0x5a5944-_0x4c6fbb[_0x523cd8(0x3e4)]%_0x5a5944,_0x14462d=_0x2d10b0<<0x18|_0x2d10b0<<0x10|_0x2d10b0<<0x8|_0x2d10b0,_0x24fa10=[],_0x99f403=0x0;_0x99f403<_0x2d10b0;_0x99f403+=0x4)_0x24fa10[_0x523cd8(0x3d2)](_0x14462d);var _0xb27a79=_0x16d2b8[_0x523cd8(0x2dd)](_0x24fa10,_0x2d10b0);_0x4c6fbb[_0x523cd8(0x37e)](_0xb27a79);},'unpad':function(_0x2692b2){var _0x2dbb48=_0x255dcd,_0x286826=_0x2692b2[_0x2dbb48(0x1d9)][_0x2692b2[_0x2dbb48(0x3e4)]-0x1>>>0x2]&0xff;_0x2692b2[_0x2dbb48(0x3e4)]-=_0x286826;}};_0x3bcee5['BlockCipher']=_0x211688[_0x255dcd(0x25b)]({'cfg':_0x211688['cfg']['extend']({'mode':_0xf268bb,'padding':_0x51bf72}),'reset':function(){var _0x208550=_0x255dcd,_0xa03673;_0x211688[_0x208550(0x1aa)][_0x208550(0x29c)](this);var _0x1cd2a5=this['cfg'],_0x12d07a=_0x1cd2a5['iv'],_0x4a81eb=_0x1cd2a5[_0x208550(0x325)];this[_0x208550(0x2f0)]==this[_0x208550(0x33b)]?_0xa03673=_0x4a81eb[_0x208550(0x44e)]:(_0xa03673=_0x4a81eb[_0x208550(0x323)],this[_0x208550(0x40c)]=0x1),this[_0x208550(0x3ba)]&&this['_mode'][_0x208550(0x372)]==_0xa03673?this[_0x208550(0x3ba)]['init'](this,_0x12d07a&&_0x12d07a[_0x208550(0x1d9)]):(this['_mode']=_0xa03673[_0x208550(0x29c)](_0x4a81eb,this,_0x12d07a&&_0x12d07a['words']),this['_mode'][_0x208550(0x372)]=_0xa03673);},'_doProcessBlock':function(_0x6b5f77,_0x1a80fc){var _0x227d8e=_0x255dcd;this[_0x227d8e(0x3ba)]['processBlock'](_0x6b5f77,_0x1a80fc);},'_doFinalize':function(){var _0x34cd0a=_0x255dcd,_0x2631ff,_0x3ba8a0=this[_0x34cd0a(0x3d1)][_0x34cd0a(0x351)];return this[_0x34cd0a(0x2f0)]==this[_0x34cd0a(0x33b)]?(_0x3ba8a0[_0x34cd0a(0x1e8)](this[_0x34cd0a(0x309)],this[_0x34cd0a(0x39d)]),_0x2631ff=this[_0x34cd0a(0x3a1)](!0x0)):(_0x2631ff=this['_process'](!0x0),_0x3ba8a0[_0x34cd0a(0x442)](_0x2631ff)),_0x2631ff;},'blockSize':0x80/0x20});var _0x1bc772=_0x3bcee5['CipherParams']=_0x4df638[_0x255dcd(0x25b)]({'init':function(_0x177944){var _0x266e75=_0x255dcd;this[_0x266e75(0x43b)](_0x177944);},'toString':function(_0x3bfdb6){var _0x2eb850=_0x255dcd;return(_0x3bfdb6||this['formatter'])[_0x2eb850(0x22b)](this);}}),_0x40bd4c=_0x1ae34b['format']={},_0x2262b5=_0x40bd4c[_0x255dcd(0x439)]={'stringify':function(_0x1b32a7){var _0x609d9=_0x255dcd,_0x3ea122,_0x48db30=_0x1b32a7[_0x609d9(0x314)],_0x19adae=_0x1b32a7['salt'];return _0x19adae?_0x3ea122=_0x16d2b8[_0x609d9(0x2dd)]([0x53616c74,0x65645f5f])[_0x609d9(0x37e)](_0x19adae)['concat'](_0x48db30):_0x3ea122=_0x48db30,_0x3ea122[_0x609d9(0x42e)](_0x11d5c5);},'parse':function(_0x1fb8e2){var _0x137439=_0x255dcd,_0x468b07,_0xc0dd9a=_0x11d5c5[_0x137439(0x459)](_0x1fb8e2),_0x456857=_0xc0dd9a[_0x137439(0x1d9)];return _0x456857[0x0]==0x53616c74&&_0x456857[0x1]==0x65645f5f&&(_0x468b07=_0x16d2b8[_0x137439(0x2dd)](_0x456857['slice'](0x2,0x4)),_0x456857['splice'](0x0,0x4),_0xc0dd9a[_0x137439(0x3e4)]-=0x10),_0x1bc772[_0x137439(0x2dd)]({'ciphertext':_0xc0dd9a,'salt':_0x468b07});}},_0x44397a=_0x3bcee5['SerializableCipher']=_0x4df638[_0x255dcd(0x25b)]({'cfg':_0x4df638[_0x255dcd(0x25b)]({'format':_0x2262b5}),'encrypt':function(_0x16b9fa,_0x2bdb51,_0xe45962,_0x34fb81){var _0x2d3e43=_0x255dcd;_0x34fb81=this['cfg'][_0x2d3e43(0x25b)](_0x34fb81);var _0x43647c=_0x16b9fa[_0x2d3e43(0x44e)](_0xe45962,_0x34fb81),_0xf5d0a3=_0x43647c[_0x2d3e43(0x268)](_0x2bdb51),_0x498382=_0x43647c[_0x2d3e43(0x3d1)];return _0x1bc772[_0x2d3e43(0x2dd)]({'ciphertext':_0xf5d0a3,'key':_0xe45962,'iv':_0x498382['iv'],'algorithm':_0x16b9fa,'mode':_0x498382[_0x2d3e43(0x325)],'padding':_0x498382['padding'],'blockSize':_0x16b9fa[_0x2d3e43(0x39d)],'formatter':_0x34fb81[_0x2d3e43(0x2b9)]});},'decrypt':function(_0x191337,_0x5469bc,_0x2a8d34,_0x540ccb){var _0x4aeb0c=_0x255dcd;_0x540ccb=this[_0x4aeb0c(0x3d1)][_0x4aeb0c(0x25b)](_0x540ccb),_0x5469bc=this[_0x4aeb0c(0x28f)](_0x5469bc,_0x540ccb['format']);var _0x4c6d9a=_0x191337['createDecryptor'](_0x2a8d34,_0x540ccb)[_0x4aeb0c(0x268)](_0x5469bc['ciphertext']);return _0x4c6d9a;},'_parse':function(_0x29e735,_0x5dcdb9){var _0x2afd15=_0x255dcd;return typeof _0x29e735==_0x2afd15(0x15b)?_0x5dcdb9['parse'](_0x29e735,this):_0x29e735;}}),_0x1d9e83=_0x1ae34b[_0x255dcd(0x2a9)]={},_0x56e96b=_0x1d9e83['OpenSSL']={'execute':function(_0x2c609a,_0x283cdd,_0x1dec3d,_0x32c967,_0x158561){var _0x370293=_0x255dcd;if(_0x32c967||(_0x32c967=_0x16d2b8[_0x370293(0x273)](0x40/0x8)),_0x158561)var _0x4273b9=_0x5b7b23['create']({'keySize':_0x283cdd+_0x1dec3d,'hasher':_0x158561})[_0x370293(0x1f3)](_0x2c609a,_0x32c967);else var _0x4273b9=_0x5b7b23[_0x370293(0x2dd)]({'keySize':_0x283cdd+_0x1dec3d})[_0x370293(0x1f3)](_0x2c609a,_0x32c967);var _0x5e81af=_0x16d2b8[_0x370293(0x2dd)](_0x4273b9[_0x370293(0x1d9)][_0x370293(0x1bd)](_0x283cdd),_0x1dec3d*0x4);return _0x4273b9[_0x370293(0x3e4)]=_0x283cdd*0x4,_0x1bc772[_0x370293(0x2dd)]({'key':_0x4273b9,'iv':_0x5e81af,'salt':_0x32c967});}},_0x1c6931=_0x3bcee5['PasswordBasedCipher']=_0x44397a[_0x255dcd(0x25b)]({'cfg':_0x44397a['cfg']['extend']({'kdf':_0x56e96b}),'encrypt':function(_0x3faa24,_0x46a51e,_0x465d43,_0xfdbf3c){var _0x26c343=_0x255dcd;_0xfdbf3c=this[_0x26c343(0x3d1)]['extend'](_0xfdbf3c);var _0x158adc=_0xfdbf3c['kdf']['execute'](_0x465d43,_0x3faa24[_0x26c343(0x37b)],_0x3faa24[_0x26c343(0x2c2)],_0xfdbf3c[_0x26c343(0x357)],_0xfdbf3c[_0x26c343(0x282)]);_0xfdbf3c['iv']=_0x158adc['iv'];var _0x14b22a=_0x44397a[_0x26c343(0x3a4)]['call'](this,_0x3faa24,_0x46a51e,_0x158adc['key'],_0xfdbf3c);return _0x14b22a['mixIn'](_0x158adc),_0x14b22a;},'decrypt':function(_0xbf4e1d,_0x1af3cc,_0x59702e,_0x14ad0f){var _0x33fed5=_0x255dcd;_0x14ad0f=this[_0x33fed5(0x3d1)]['extend'](_0x14ad0f),_0x1af3cc=this[_0x33fed5(0x28f)](_0x1af3cc,_0x14ad0f[_0x33fed5(0x2b9)]);var _0x2f634b=_0x14ad0f['kdf'][_0x33fed5(0x393)](_0x59702e,_0xbf4e1d['keySize'],_0xbf4e1d[_0x33fed5(0x2c2)],_0x1af3cc['salt'],_0x14ad0f[_0x33fed5(0x282)]);_0x14ad0f['iv']=_0x2f634b['iv'];var _0x75fc02=_0x44397a[_0x33fed5(0x3cd)][_0x33fed5(0x29c)](this,_0xbf4e1d,_0x1af3cc,_0x2f634b[_0x33fed5(0x1f0)],_0x14ad0f);return _0x75fc02;}});}();}));}(Xe)),Xe[_0x5d3bdd(0x296)];}var Zs=We[_0x3421ce(0x296)],oi;function Qs(){var _0x2ad505=_0x3421ce;return oi||(oi=0x1,function(_0x28cd16,_0x4b4dda){(function(_0x3331d7,_0x2c4452,_0x3aaf65){var _0x4f972a=_0x188c;_0x28cd16[_0x4f972a(0x296)]=_0x2c4452(ne(),Ui(),Gs(),Ai(),xi());}(Zs,function(_0x2b2b40){var _0x15d9ef=_0x188c;return(function(){var _0x59d264=_0x188c,_0x4c1fc5=_0x2b2b40,_0x3c15b2=_0x4c1fc5['lib'],_0x5de756=_0x3c15b2[_0x59d264(0x3e2)],_0x31bbe8=_0x4c1fc5['algo'],_0x4e94a0=[],_0xf94bdd=[],_0x442ae9=[],_0x303ea0=[],_0x3d0713=[],_0x491bdc=[],_0x578e3c=[],_0x59268c=[],_0x275857=[],_0x21f742=[];(function(){for(var _0xe6c260=[],_0x515570=0x0;_0x515570<0x100;_0x515570++)_0x515570<0x80?_0xe6c260[_0x515570]=_0x515570<<0x1:_0xe6c260[_0x515570]=_0x515570<<0x1^0x11b;for(var _0x1865a9=0x0,_0x43b7a8=0x0,_0x515570=0x0;_0x515570<0x100;_0x515570++){var _0xd88d02=_0x43b7a8^_0x43b7a8<<0x1^_0x43b7a8<<0x2^_0x43b7a8<<0x3^_0x43b7a8<<0x4;_0xd88d02=_0xd88d02>>>0x8^_0xd88d02&0xff^0x63,_0x4e94a0[_0x1865a9]=_0xd88d02,_0xf94bdd[_0xd88d02]=_0x1865a9;var _0x9dbb88=_0xe6c260[_0x1865a9],_0x5a20d6=_0xe6c260[_0x9dbb88],_0x453887=_0xe6c260[_0x5a20d6],_0x2c16c0=_0xe6c260[_0xd88d02]*0x101^_0xd88d02*0x1010100;_0x442ae9[_0x1865a9]=_0x2c16c0<<0x18|_0x2c16c0>>>0x8,_0x303ea0[_0x1865a9]=_0x2c16c0<<0x10|_0x2c16c0>>>0x10,_0x3d0713[_0x1865a9]=_0x2c16c0<<0x8|_0x2c16c0>>>0x18,_0x491bdc[_0x1865a9]=_0x2c16c0;var _0x2c16c0=_0x453887*0x1010101^_0x5a20d6*0x10001^_0x9dbb88*0x101^_0x1865a9*0x1010100;_0x578e3c[_0xd88d02]=_0x2c16c0<<0x18|_0x2c16c0>>>0x8,_0x59268c[_0xd88d02]=_0x2c16c0<<0x10|_0x2c16c0>>>0x10,_0x275857[_0xd88d02]=_0x2c16c0<<0x8|_0x2c16c0>>>0x18,_0x21f742[_0xd88d02]=_0x2c16c0,_0x1865a9?(_0x1865a9=_0x9dbb88^_0xe6c260[_0xe6c260[_0xe6c260[_0x453887^_0x9dbb88]]],_0x43b7a8^=_0xe6c260[_0xe6c260[_0x43b7a8]]):_0x1865a9=_0x43b7a8=0x1;}}());var _0x4dd8d8=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4d2496=_0x31bbe8['AES']=_0x5de756['extend']({'_doReset':function(){var _0x2e10c7=_0x59d264,_0x2b1468;if(!(this[_0x2e10c7(0x215)]&&this[_0x2e10c7(0x339)]===this[_0x2e10c7(0x241)])){for(var _0x3e729c=this['_keyPriorReset']=this['_key'],_0x521078=_0x3e729c[_0x2e10c7(0x1d9)],_0x596774=_0x3e729c[_0x2e10c7(0x3e4)]/0x4,_0x4d0e59=this[_0x2e10c7(0x215)]=_0x596774+0x6,_0x2dcb60=(_0x4d0e59+0x1)*0x4,_0x239971=this[_0x2e10c7(0x210)]=[],_0x26dc7d=0x0;_0x26dc7d<_0x2dcb60;_0x26dc7d++)_0x26dc7d<_0x596774?_0x239971[_0x26dc7d]=_0x521078[_0x26dc7d]:(_0x2b1468=_0x239971[_0x26dc7d-0x1],_0x26dc7d%_0x596774?_0x596774>0x6&&_0x26dc7d%_0x596774==0x4&&(_0x2b1468=_0x4e94a0[_0x2b1468>>>0x18]<<0x18|_0x4e94a0[_0x2b1468>>>0x10&0xff]<<0x10|_0x4e94a0[_0x2b1468>>>0x8&0xff]<<0x8|_0x4e94a0[_0x2b1468&0xff]):(_0x2b1468=_0x2b1468<<0x8|_0x2b1468>>>0x18,_0x2b1468=_0x4e94a0[_0x2b1468>>>0x18]<<0x18|_0x4e94a0[_0x2b1468>>>0x10&0xff]<<0x10|_0x4e94a0[_0x2b1468>>>0x8&0xff]<<0x8|_0x4e94a0[_0x2b1468&0xff],_0x2b1468^=_0x4dd8d8[_0x26dc7d/_0x596774|0x0]<<0x18),_0x239971[_0x26dc7d]=_0x239971[_0x26dc7d-_0x596774]^_0x2b1468);for(var _0x481af7=this[_0x2e10c7(0x437)]=[],_0x1305a0=0x0;_0x1305a0<_0x2dcb60;_0x1305a0++){var _0x26dc7d=_0x2dcb60-_0x1305a0;if(_0x1305a0%0x4)var _0x2b1468=_0x239971[_0x26dc7d];else var _0x2b1468=_0x239971[_0x26dc7d-0x4];_0x1305a0<0x4||_0x26dc7d<=0x4?_0x481af7[_0x1305a0]=_0x2b1468:_0x481af7[_0x1305a0]=_0x578e3c[_0x4e94a0[_0x2b1468>>>0x18]]^_0x59268c[_0x4e94a0[_0x2b1468>>>0x10&0xff]]^_0x275857[_0x4e94a0[_0x2b1468>>>0x8&0xff]]^_0x21f742[_0x4e94a0[_0x2b1468&0xff]];}}},'encryptBlock':function(_0x3e4aae,_0x34f002){var _0x21f254=_0x59d264;this[_0x21f254(0x433)](_0x3e4aae,_0x34f002,this[_0x21f254(0x210)],_0x442ae9,_0x303ea0,_0x3d0713,_0x491bdc,_0x4e94a0);},'decryptBlock':function(_0x3b7f4d,_0x10b70a){var _0x2eda87=_0x59d264,_0x31f5ea=_0x3b7f4d[_0x10b70a+0x1];_0x3b7f4d[_0x10b70a+0x1]=_0x3b7f4d[_0x10b70a+0x3],_0x3b7f4d[_0x10b70a+0x3]=_0x31f5ea,this[_0x2eda87(0x433)](_0x3b7f4d,_0x10b70a,this[_0x2eda87(0x437)],_0x578e3c,_0x59268c,_0x275857,_0x21f742,_0xf94bdd);var _0x31f5ea=_0x3b7f4d[_0x10b70a+0x1];_0x3b7f4d[_0x10b70a+0x1]=_0x3b7f4d[_0x10b70a+0x3],_0x3b7f4d[_0x10b70a+0x3]=_0x31f5ea;},'_doCryptBlock':function(_0x3dc457,_0x7fe16,_0x59536a,_0x4d18d1,_0x3b955e,_0x37970b,_0x5393e3,_0x14d8e6){var _0x5e2ad0=_0x59d264;for(var _0x5da271=this[_0x5e2ad0(0x215)],_0x178a55=_0x3dc457[_0x7fe16]^_0x59536a[0x0],_0x2d8c4d=_0x3dc457[_0x7fe16+0x1]^_0x59536a[0x1],_0x36daa3=_0x3dc457[_0x7fe16+0x2]^_0x59536a[0x2],_0xbc7390=_0x3dc457[_0x7fe16+0x3]^_0x59536a[0x3],_0x44a6c3=0x4,_0xf15eab=0x1;_0xf15eab<_0x5da271;_0xf15eab++){var _0x402903=_0x4d18d1[_0x178a55>>>0x18]^_0x3b955e[_0x2d8c4d>>>0x10&0xff]^_0x37970b[_0x36daa3>>>0x8&0xff]^_0x5393e3[_0xbc7390&0xff]^_0x59536a[_0x44a6c3++],_0xd59543=_0x4d18d1[_0x2d8c4d>>>0x18]^_0x3b955e[_0x36daa3>>>0x10&0xff]^_0x37970b[_0xbc7390>>>0x8&0xff]^_0x5393e3[_0x178a55&0xff]^_0x59536a[_0x44a6c3++],_0x1699fe=_0x4d18d1[_0x36daa3>>>0x18]^_0x3b955e[_0xbc7390>>>0x10&0xff]^_0x37970b[_0x178a55>>>0x8&0xff]^_0x5393e3[_0x2d8c4d&0xff]^_0x59536a[_0x44a6c3++],_0x157c91=_0x4d18d1[_0xbc7390>>>0x18]^_0x3b955e[_0x178a55>>>0x10&0xff]^_0x37970b[_0x2d8c4d>>>0x8&0xff]^_0x5393e3[_0x36daa3&0xff]^_0x59536a[_0x44a6c3++];_0x178a55=_0x402903,_0x2d8c4d=_0xd59543,_0x36daa3=_0x1699fe,_0xbc7390=_0x157c91;}var _0x402903=(_0x14d8e6[_0x178a55>>>0x18]<<0x18|_0x14d8e6[_0x2d8c4d>>>0x10&0xff]<<0x10|_0x14d8e6[_0x36daa3>>>0x8&0xff]<<0x8|_0x14d8e6[_0xbc7390&0xff])^_0x59536a[_0x44a6c3++],_0xd59543=(_0x14d8e6[_0x2d8c4d>>>0x18]<<0x18|_0x14d8e6[_0x36daa3>>>0x10&0xff]<<0x10|_0x14d8e6[_0xbc7390>>>0x8&0xff]<<0x8|_0x14d8e6[_0x178a55&0xff])^_0x59536a[_0x44a6c3++],_0x1699fe=(_0x14d8e6[_0x36daa3>>>0x18]<<0x18|_0x14d8e6[_0xbc7390>>>0x10&0xff]<<0x10|_0x14d8e6[_0x178a55>>>0x8&0xff]<<0x8|_0x14d8e6[_0x2d8c4d&0xff])^_0x59536a[_0x44a6c3++],_0x157c91=(_0x14d8e6[_0xbc7390>>>0x18]<<0x18|_0x14d8e6[_0x178a55>>>0x10&0xff]<<0x10|_0x14d8e6[_0x2d8c4d>>>0x8&0xff]<<0x8|_0x14d8e6[_0x36daa3&0xff])^_0x59536a[_0x44a6c3++];_0x3dc457[_0x7fe16]=_0x402903,_0x3dc457[_0x7fe16+0x1]=_0xd59543,_0x3dc457[_0x7fe16+0x2]=_0x1699fe,_0x3dc457[_0x7fe16+0x3]=_0x157c91;},'keySize':0x100/0x20});_0x4c1fc5['AES']=_0x5de756[_0x59d264(0x293)](_0x4d2496);}()),_0x2b2b40[_0x15d9ef(0x28a)];}));}(We)),We[_0x2ad505(0x296)];}var er=Qs();const tr=ke(er);var ir=Ui();const ai=ke(ir);var Ze={'exports':{}},nr=Ze[_0x3421ce(0x296)],ci;function sr(){var _0x20d727=_0x3421ce;return ci||(ci=0x1,function(_0x2877b2,_0x57d62d){(function(_0x51a5ee,_0x41a70f){var _0x4afba9=_0x188c;_0x2877b2[_0x4afba9(0x296)]=_0x41a70f(ne());}(nr,function(_0x45d017){var _0xa0809c=_0x188c;return _0x45d017[_0xa0809c(0x3c6)][_0xa0809c(0x3a6)];}));}(Ze)),Ze[_0x20d727(0x296)];}var rr=sr();const or=ke(rr);var Qe={'exports':{}},ar=Qe['exports'],hi;function cr(){return hi||(hi=0x1,function(_0x342820,_0x510562){(function(_0x2fc79b,_0x4cd133){var _0x23f3a2=_0x188c;_0x342820[_0x23f3a2(0x296)]=_0x4cd133(ne());}(ar,function(_0x1d48e5){var _0x2fef67=_0x188c;return(function(){var _0x23b63a=_0x188c;if(typeof ArrayBuffer==_0x23b63a(0x1f8)){var _0x47ac4d=_0x1d48e5,_0x5d3f6b=_0x47ac4d[_0x23b63a(0x1f7)],_0xeba7d8=_0x5d3f6b[_0x23b63a(0x42b)],_0x1f859c=_0xeba7d8[_0x23b63a(0x235)],_0x578796=_0xeba7d8[_0x23b63a(0x235)]=function(_0x577a12){var _0x50b521=_0x23b63a;if(_0x577a12 instanceof ArrayBuffer&&(_0x577a12=new Uint8Array(_0x577a12)),(_0x577a12 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x577a12 instanceof Uint8ClampedArray||_0x577a12 instanceof Int16Array||_0x577a12 instanceof Uint16Array||_0x577a12 instanceof Int32Array||_0x577a12 instanceof Uint32Array||_0x577a12 instanceof Float32Array||_0x577a12 instanceof Float64Array)&&(_0x577a12=new Uint8Array(_0x577a12[_0x50b521(0x2fa)],_0x577a12[_0x50b521(0x3be)],_0x577a12[_0x50b521(0x1ee)])),_0x577a12 instanceof Uint8Array){for(var _0x58de92=_0x577a12['byteLength'],_0x51684f=[],_0xe34272=0x0;_0xe34272<_0x58de92;_0xe34272++)_0x51684f[_0xe34272>>>0x2]|=_0x577a12[_0xe34272]<<0x18-_0xe34272%0x4*0x8;_0x1f859c['call'](this,_0x51684f,_0x58de92);}else _0x1f859c[_0x50b521(0x218)](this,arguments);};_0x578796['prototype']=_0xeba7d8;}}()),_0x1d48e5[_0x2fef67(0x1f7)][_0x2fef67(0x42b)];}));}(Qe)),Qe['exports'];}var hr=cr();const _r=ke(hr);var et={'exports':{}},lr=et['exports'],_i;function ur(){var _0xb97ca6=_0x3421ce;return _i||(_i=0x1,function(_0x3c3d35,_0x2abd15){(function(_0x5d0f5c,_0x4da07a,_0x2edea1){var _0x28ad5d=_0x188c;_0x3c3d35[_0x28ad5d(0x296)]=_0x4da07a(ne(),xi());}(lr,function(_0x18049a){var _0x200c25=_0x188c;return _0x18049a[_0x200c25(0x1e8)][_0x200c25(0x1f2)]={'pad':function(){},'unpad':function(){}},_0x18049a['pad'][_0x200c25(0x1f2)];}));}(et)),et[_0xb97ca6(0x296)];}var dr=ur();const fr=ke(dr);function vr(_0x1a158a,_0x11c3ed){var _0x4ccc2a=_0x3421ce;const _0x101f45=_0x11c3ed-_0x1a158a[_0x4ccc2a(0x225)]%_0x11c3ed,_0x5c4ad5=String[_0x4ccc2a(0x430)](_0x101f45)[_0x4ccc2a(0x390)](_0x101f45);return _0x1a158a+_0x5c4ad5;}function pr(_0x56a0c9,_0x3e612c){var _0x5038c7=_0x3421ce;const _0x4f5616=_r['random'](0x10),_0xae014d=vr(_0x56a0c9,0x10),_0x2bdcf5=tr[_0x5038c7(0x3a4)](or['parse'](_0xae014d),ai[_0x5038c7(0x459)](_0x3e612c),{'iv':_0x4f5616,'padding':fr});return _0x4f5616[_0x5038c7(0x37e)](_0x2bdcf5[_0x5038c7(0x314)])['toString'](ai);}function mr(){var _0x1027c6=_0x3421ce;const _0x36840b=_0x51651c()[_0x1027c6(0x276)];if(_0x36840b){const _0x43ed6f={'time':Math[_0x1027c6(0x2a5)](Date[_0x1027c6(0x3da)]()/0x3e8),'domain':location[_0x1027c6(0x2e9)]};return pr(JSON[_0x1027c6(0x22b)](_0x43ed6f),_0x36840b);}}var gr=Object[_0x3421ce(0x2ed)],Sr=Object['getOwnPropertyDescriptor'],Er=(_0x2cce0a,_0x2aaa15,_0x51ebb4,_0x539df7)=>{var _0x149e47=_0x3421ce;for(var _0x1de335=_0x539df7>0x1?void 0x0:_0x539df7?Sr(_0x2aaa15,_0x51ebb4):_0x2aaa15,_0x3183dd=_0x2cce0a[_0x149e47(0x225)]-0x1,_0x4e337b;_0x3183dd>=0x0;_0x3183dd--)(_0x4e337b=_0x2cce0a[_0x3183dd])&&(_0x1de335=(_0x539df7?_0x4e337b(_0x2aaa15,_0x51ebb4,_0x1de335):_0x4e337b(_0x1de335))||_0x1de335);return _0x539df7&&_0x1de335&&gr(_0x2aaa15,_0x51ebb4,_0x1de335),_0x1de335;},Ir=(_0x1008b8,_0x5e0ffc)=>(_0x5e18f3,_0x228cd8)=>_0x5e0ffc(_0x5e18f3,_0x228cd8,_0x1008b8);let at=class{constructor(_0x102ab5){var _0x3a3bc7=_0x3421ce;this[_0x3a3bc7(0x198)]=_0x102ab5,this[_0x3a3bc7(0x257)]();}['_initRequestHeader'](){var _0x4d6511=_0x3421ce;this['_httpService'][_0x4d6511(0x22f)]({'interceptor':(_0x24054d,_0x2657cf)=>{var _0x3ee7e9=_0x4d6511;const _0x2ace77=_0x24054d[_0x3ee7e9(0x33f)],_0xbfff60=mr();return _0xbfff60&&_0x2ace77[_0x3ee7e9(0x1ca)](_0x3ee7e9(0x1cb),_0xbfff60),_0x2657cf(_0x24054d);}});}};at=Er([Ir(0x0,_0x5e9963(_0x490c71))],at);var Tr=Object[_0x3421ce(0x2ed)],Cr=Object[_0x3421ce(0x281)],br=(_0x16971b,_0x4241cd,_0x344744,_0x5c3936)=>{var _0xcdbd3e=_0x3421ce;for(var _0x2e8e1f=_0x5c3936>0x1?void 0x0:_0x5c3936?Cr(_0x4241cd,_0x344744):_0x4241cd,_0xebde42=_0x16971b[_0xcdbd3e(0x225)]-0x1,_0x5b3ebf;_0xebde42>=0x0;_0xebde42--)(_0x5b3ebf=_0x16971b[_0xebde42])&&(_0x2e8e1f=(_0x5c3936?_0x5b3ebf(_0x4241cd,_0x344744,_0x2e8e1f):_0x5b3ebf(_0x2e8e1f))||_0x2e8e1f);return _0x5c3936&&_0x2e8e1f&&Tr(_0x4241cd,_0x344744,_0x2e8e1f),_0x2e8e1f;},gt=(_0x1233d2,_0x4cf231)=>(_0x59fd83,_0x1cb71b)=>_0x4cf231(_0x59fd83,_0x1cb71b,_0x1233d2);let Ot=class extends _0x5d40b1{constructor(_0x104e6e,_0x36d8a2,_0xd3b11a){var _0x16778c=_0x3421ce;super(),P(this,_0x16778c(0x18b),new _0x2f7771(null)),P(this,'unitInfo$',this[_0x16778c(0x18b)][_0x16778c(0x154)]()),(this[_0x16778c(0x155)]=_0x104e6e,this[_0x16778c(0x343)]=_0x36d8a2,this[_0x16778c(0x192)]=_0xd3b11a);}async[_0x3421ce(0x316)](_0x177a6c,_0x54234d,_0x5245f9){var _0x5671bd=_0x3421ce;this[_0x5671bd(0x18b)][_0x5671bd(0x373)]({'unitId':_0x177a6c,'type':_0x54234d,'subUnitId':_0x5245f9});let _0x350801=null;switch(_0x54234d){case Q[_0x5671bd(0x19e)]:{_0x350801=await this[_0x5671bd(0x306)](_0x177a6c);break;}case Q['UNIVER_DOC']:{_0x350801=await this['_loadDoc'](_0x177a6c);break;}default:{this[_0x5671bd(0x155)][_0x5671bd(0x422)]('[DataLoaderService]',_0x5671bd(0x240));break;}}return _0x350801;}async['_loadSheet'](_0x509cbe){var _0x7b60d6=_0x3421ce,_0x5f14a2;let _0x42ad06=0x0;const _0x3a20c6=await((_0x5f14a2=this['_localCacheService'])==null?void 0x0:_0x5f14a2[_0x7b60d6(0x40f)](_0x509cbe));return _0x3a20c6&&(_0x3a20c6[_0x7b60d6(0x3dd)]||_0x3a20c6[_0x7b60d6(0x292)][_0x7b60d6(0x225)]!==0x0)&&(_0x42ad06=_0x3a20c6[_0x7b60d6(0x191)]),_0x42ad06===0x0&&this[_0x7b60d6(0x155)][_0x7b60d6(0x38a)](_0x7b60d6(0x38f),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x7b60d6(0x343)][_0x7b60d6(0x204)](_0x509cbe,_0x42ad06);}async['_loadDoc'](_0x5698aa){var _0xaac765=_0x3421ce,_0x3b1539;let _0x2e4d08=0x0;const _0x4f9bd6=await((_0x3b1539=this['_localCacheService'])==null?void 0x0:_0x3b1539[_0xaac765(0x40f)](_0x5698aa));return _0x4f9bd6&&(_0x4f9bd6[_0xaac765(0x3dd)]||_0x4f9bd6[_0xaac765(0x292)][_0xaac765(0x225)]!==0x0)&&(_0x2e4d08=_0x4f9bd6[_0xaac765(0x191)]),_0x2e4d08===0x0&&this[_0xaac765(0x155)][_0xaac765(0x38a)](_0xaac765(0x38f),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0xaac765(0x343)][_0xaac765(0x159)](_0x5698aa,_0x2e4d08);}};Ot=br([gt(0x0,_0x8ba9be),gt(0x1,_0x5e9963(_0x22c9e1)),gt(0x2,_0x21ca56(X))],Ot);var Rr=Object[_0x3421ce(0x2ed)],yr=Object[_0x3421ce(0x281)],Or=(_0xc48d39,_0x21907b,_0xd86a75,_0x3a4d72)=>{var _0x121e2e=_0x3421ce;for(var _0x207f89=_0x3a4d72>0x1?void 0x0:_0x3a4d72?yr(_0x21907b,_0xd86a75):_0x21907b,_0x588368=_0xc48d39[_0x121e2e(0x225)]-0x1,_0x388716;_0x588368>=0x0;_0x588368--)(_0x388716=_0xc48d39[_0x588368])&&(_0x207f89=(_0x3a4d72?_0x388716(_0x21907b,_0xd86a75,_0x207f89):_0x388716(_0x207f89))||_0x207f89);return _0x3a4d72&&_0x207f89&&Rr(_0x21907b,_0xd86a75,_0x207f89),_0x207f89;},St=(_0x18bf9a,_0x4d7137)=>(_0x17dc41,_0xe43035)=>_0x4d7137(_0x17dc41,_0xe43035,_0x18bf9a);const Nr=[_0x3421ce(0x3c5),'image/jpeg',_0x3421ce(0x21a),_0x3421ce(0x381),_0x3421ce(0x3ad)],Pr=0x5*0x400*0x400,Dr='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',wr=_0x3421ce(0x151),Ur=_0x3421ce(0x3f8),Ar=_0x3421ce(0x23a);let Nt=class{constructor(_0x31a29d,_0x59c918,_0x476a97){var _0x31e41a=_0x3421ce;P(this,_0x31e41a(0x185),0x0),P(this,_0x31e41a(0x39c),new _0x5ad00b()),P(this,_0x31e41a(0x332),this[_0x31e41a(0x39c)]),P(this,_0x31e41a(0x18c),new Map()),(this['_httpService']=_0x31a29d,this['_configService']=_0x59c918,this[_0x31e41a(0x305)]=_0x476a97);}['setWaitCount'](_0x1d4fa8){var _0x26b383=_0x3421ce;this['_waitCount']=_0x1d4fa8,this[_0x26b383(0x39c)][_0x26b383(0x373)](_0x1d4fa8);}['getImageSourceCache'](_0x3bfd3e,_0x4e2868){var _0x2c2b67=_0x3421ce;if(_0x4e2868===_0x47880c[_0x2c2b67(0x15d)]){const _0x5e77f4=new Image();return _0x5e77f4[_0x2c2b67(0x184)]=_0x3bfd3e,_0x5e77f4;}return this[_0x2c2b67(0x18c)][_0x2c2b67(0x3e3)](_0x3bfd3e);}[_0x3421ce(0x2c7)](_0x331fd1,_0x533c67,_0x2d358d){var _0x38a24c=_0x3421ce;_0x533c67===_0x47880c[_0x38a24c(0x15d)]||_0x2d358d==null||this[_0x38a24c(0x18c)][_0x38a24c(0x1ca)](_0x331fd1,_0x2d358d);}async[_0x3421ce(0x26e)](_0x52c046){var _0x1765a8=_0x3421ce;try{const _0x270b56=this['_replaceFileID'](this[_0x1765a8(0x1f5)](),''+_0x52c046),_0x2a5203=(await this[_0x1765a8(0x198)][_0x1765a8(0x3e3)](_0x270b56))[_0x1765a8(0x3e6)];if(_0x2a5203[_0x1765a8(0x422)]&&_0x2a5203[_0x1765a8(0x422)]['code']===Ti['OK']){const _0x423ffa=new URL(_0x2a5203[_0x1765a8(0x1cc)],this['_getDownloadEndpointURL']())[_0x1765a8(0x42e)]();return Promise[_0x1765a8(0x3e7)](_0x423ffa);}return Promise[_0x1765a8(0x19c)](_0x2a5203['error']);}catch(_0x4da0e2){return Promise[_0x1765a8(0x19c)](_0x4da0e2);}}async['saveImage'](_0x1a7a00){var _0x44abb5=_0x3421ce;let _0x128ef4='';if(!Nr[_0x44abb5(0x3d0)](_0x1a7a00['type']))return this[_0x44abb5(0x31e)](),Promise['reject'](new Error(_0x4701fc['ERROR_IMAGE_TYPE']));if(_0x1a7a00[_0x44abb5(0x457)]>Pr)return this[_0x44abb5(0x31e)](),Promise[_0x44abb5(0x19c)](new Error(_0x4701fc[_0x44abb5(0x2f7)]));try{const _0x2b9afa=new FormData();_0x2b9afa[_0x44abb5(0x1bf)](_0x44abb5(0x1d2),_0x1a7a00);const _0x44a5ba=this[_0x44abb5(0x305)][_0x44abb5(0x427)](),_0x113612=_0x44a5ba==null?void 0x0:_0x44a5ba['getUnitId']();if(!_0x113612)throw new Error(_0x44abb5(0x263));const _0x3b43b0=this['_getUploadFileURL']()+'?size='+_0x1a7a00[_0x44abb5(0x457)]['toString']()+_0x44abb5(0x394)+Ci['UnitEmbedded']+'&assign='+encodeURIComponent(_0x113612),_0xc55e65=await(await fetch(_0x3b43b0,{'method':_0x44abb5(0x399),'body':_0x2b9afa}))['json']();if(typeof _0xc55e65['FileId']!=_0x44abb5(0x15b))return this[_0x44abb5(0x31e)](),Promise['reject'](new Error(_0x4701fc[_0x44abb5(0x2c1)]));_0x128ef4=_0xc55e65[_0x44abb5(0x3b6)];}catch{return this['_decreaseWaiting'](),Promise[_0x44abb5(0x19c)](new Error(_0x4701fc[_0x44abb5(0x2c1)]));}return new Promise((_0x3e307d,_0xd2f12)=>{var _0x5f040c=_0x44abb5;const _0x290145=new FileReader();_0x290145[_0x5f040c(0x3bc)](_0x1a7a00),_0x290145['onload']=_0x2ae4e4=>{var _0x42eddc=_0x5f040c,_0x44384f;const _0x4e6948=(_0x44384f=_0x2ae4e4['target'])==null?void 0x0:_0x44384f[_0x42eddc(0x1a2)];if(_0x4e6948==null){this[_0x42eddc(0x31e)](),_0xd2f12(new Error(_0x4701fc[_0x42eddc(0x2c1)]));return;}const _0x358e05=_0xc1e9f6[_0x42eddc(0x1c3)](0x6);_0x3e307d({'imageId':_0x358e05,'imageSourceType':_0x47880c[_0x42eddc(0x449)],'source':_0x128ef4,'base64Cache':_0x4e6948,'status':_0x4701fc['SUCCUSS']}),this[_0x42eddc(0x31e)]();};});}[_0x3421ce(0x18e)](){var _0x29bfba=_0x3421ce,_0x40dd11,_0x359aa9;const _0x2866d2=this[_0x29bfba(0x412)][_0x29bfba(0x3a9)](Dr),_0x318097=this[_0x29bfba(0x412)][_0x29bfba(0x3a9)](Y);return(_0x359aa9=(_0x40dd11=_0x318097==null?void 0x0:_0x318097['uploadFileServerUrl'])!=null?_0x40dd11:_0x2866d2)!=null?_0x359aa9:wr;}['_getSignURL'](){var _0x359b20=_0x3421ce,_0x27c59a,_0x341c7a;const _0x2830f8=this[_0x359b20(0x412)][_0x359b20(0x3a9)](Ur),_0x199880=this['_configService']['getConfig'](Y);return(_0x341c7a=(_0x27c59a=_0x199880==null?void 0x0:_0x199880[_0x359b20(0x1b2)])!=null?_0x27c59a:_0x2830f8)!=null?_0x341c7a:Ar;}[_0x3421ce(0x36b)](){var _0x4bf623=_0x3421ce,_0x562ae7;const _0x101096=this[_0x4bf623(0x412)][_0x4bf623(0x3a9)](Y);return(_0x562ae7=_0x101096==null?void 0x0:_0x101096[_0x4bf623(0x3eb)])!=null?_0x562ae7:location[_0x4bf623(0x2d1)];}['_replaceFileID'](_0x52dbf7,_0x9dd85a){var _0x4a0a28=_0x3421ce;return _0x52dbf7[_0x4a0a28(0x443)](_0x4a0a28(0x1da),_0x9dd85a);}[_0x3421ce(0x31e)](){var _0x5e3a20=_0x3421ce;this[_0x5e3a20(0x185)]-=0x1,this[_0x5e3a20(0x39c)]['next'](this[_0x5e3a20(0x185)]);}};Nt=Or([St(0x0,_0x5e9963(_0x490c71)),St(0x1,_0x48fe9a),St(0x2,_0x5e9963(_0x10799f))],Nt);var xr=Object[_0x3421ce(0x2ed)],Lr=Object[_0x3421ce(0x281)],Mr=(_0x19f839,_0x5e3729,_0x370efd,_0x3b6ab4)=>{var _0x1f4635=_0x3421ce;for(var _0x471237=_0x3b6ab4>0x1?void 0x0:_0x3b6ab4?Lr(_0x5e3729,_0x370efd):_0x5e3729,_0x3c47f2=_0x19f839[_0x1f4635(0x225)]-0x1,_0x1c84bc;_0x3c47f2>=0x0;_0x3c47f2--)(_0x1c84bc=_0x19f839[_0x3c47f2])&&(_0x471237=(_0x3b6ab4?_0x1c84bc(_0x5e3729,_0x370efd,_0x471237):_0x1c84bc(_0x471237))||_0x471237);return _0x3b6ab4&&_0x471237&&xr(_0x5e3729,_0x370efd,_0x471237),_0x471237;},li=(_0xf2ab82,_0x1269a8)=>(_0x2c2dc6,_0x404433)=>_0x1269a8(_0x2c2dc6,_0x404433,_0xf2ab82);const $r=_0x3421ce(0x1fc);let Pt=class{constructor(_0x15744b,_0x570617){var _0x5d2b67=_0x3421ce;this[_0x5d2b67(0x412)]=_0x15744b,this[_0x5d2b67(0x2c5)]=_0x570617;}[_0x3421ce(0x21c)](){var _0x92ce88=_0x3421ce,_0x395584,_0x1d352f;const _0x5709da=this[_0x92ce88(0x412)][_0x92ce88(0x3a9)](wi),_0x4f98e2=this['_configService'][_0x92ce88(0x3a9)](Y);return(_0x1d352f=(_0x395584=_0x4f98e2==null?void 0x0:_0x4f98e2[_0x92ce88(0x1ad)])!=null?_0x395584:_0x5709da)!=null?_0x1d352f:$r;}async['list'](_0x94e4b0){var _0x5602aa=_0x3421ce;const _0x5ba79f=this['_getAPIPrefixPath']()+_0x5602aa(0x320);return{'list':[{'title':'People','mentions':(await this[_0x5602aa(0x2c5)]['get'](_0x5ba79f,{'params':{'objectID':_0x94e4b0[_0x5602aa(0x3cc)],'unitID':_0x94e4b0[_0x5602aa(0x3cc)]}}))[_0x5602aa(0x3e6)][_0x5602aa(0x270)][_0x5602aa(0x157)](_0x56d768=>({'objectId':_0x56d768['id'],'name':_0x56d768['subject'][_0x5602aa(0x429)],'metadata':{'icon':_0x56d768[_0x5602aa(0x3c3)][_0x5602aa(0x455)]},'label':_0x56d768[_0x5602aa(0x3c3)][_0x5602aa(0x429)],'objectType':_0x456e45[_0x5602aa(0x318)]})),'metadata':{},'type':_0x456e45[_0x5602aa(0x318)]}]};}};Pt=Mr([li(0x0,_0x5e9963(_0x48fe9a)),li(0x1,_0x5e9963(_0x490c71))],Pt);var Hr=Object[_0x3421ce(0x2ed)],kr=Object[_0x3421ce(0x281)],jr=(_0x4e0ca2,_0x45fc4f,_0x5a5150,_0x4fadc0)=>{for(var _0x22e8f6=_0x4fadc0>0x1?void 0x0:_0x4fadc0?kr(_0x45fc4f,_0x5a5150):_0x45fc4f,_0x443788=_0x4e0ca2['length']-0x1,_0x156d15;_0x443788>=0x0;_0x443788--)(_0x156d15=_0x4e0ca2[_0x443788])&&(_0x22e8f6=(_0x4fadc0?_0x156d15(_0x45fc4f,_0x5a5150,_0x22e8f6):_0x156d15(_0x22e8f6))||_0x22e8f6);return _0x4fadc0&&_0x22e8f6&&Hr(_0x45fc4f,_0x5a5150,_0x22e8f6),_0x22e8f6;},Se=(_0x4d6472,_0x5b20fa)=>(_0x10e65a,_0x9fe539)=>_0x5b20fa(_0x10e65a,_0x9fe539,_0x4d6472);let ct=class extends _0x5d40b1{constructor(_0x219241,_0x199761,_0x21fbe7,_0x1e8291,_0x1885af,_0x97d559,_0x3a32f9){var _0x551c06=_0x3421ce;super(),this[_0x551c06(0x31a)]=_0x219241,this[_0x551c06(0x305)]=_0x199761,this['_permissionService']=_0x21fbe7,this['_collaborationSessionService']=_0x1e8291,this[_0x551c06(0x1f9)]=_0x1885af,this['_authzIoService']=_0x97d559,this['_undoRedoService']=_0x3a32f9,this[_0x551c06(0x15c)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x6c902c=_0x3421ce;const _0x18b822=async _0x37bd87=>{var _0x13caf4=_0x188c;(await this[_0x13caf4(0x271)][_0x13caf4(0x188)](_0x37bd87))[_0x13caf4(0x186)][_0x13caf4(0x2d7)](_0x25adde(_0x26d305=>_0x26d305[_0x13caf4(0x406)]===_0x61a7f0['SHOULD_CLOSE_CONN']),_0x3124cd(this[_0x13caf4(0x202)]))[_0x13caf4(0x3fe)](_0x16574f=>{var _0x1d8ab5=_0x13caf4;const _0x47dba9=_0x16574f,{reason:_0x1176c3}=_0x47dba9['data'];this[_0x1d8ab5(0x1f9)][_0x1d8ab5(0x1f1)]({'id':re[_0x1d8ab5(0x416)],'data':_0x1176c3}),this[_0x1d8ab5(0x22a)]['updatePermissionPoint'](new _0x4001c9(_0x37bd87)['id'],!0x1),this['_collaborationSessionService'][_0x1d8ab5(0x23c)](_0x37bd87);});};_0x3f7318(this[_0x6c902c(0x305)][_0x6c902c(0x35e)](_0x5be3e2[_0x6c902c(0x19e)]),this[_0x6c902c(0x305)][_0x6c902c(0x35e)](_0x5be3e2[_0x6c902c(0x25c)]))[_0x6c902c(0x2d7)](_0x20ed66(_0x241e51=>_0x241e51['getUnitId']()),_0x25adde(_0x3909b7=>!_0x2704cb(_0x3909b7)),_0x3124cd(this[_0x6c902c(0x202)]))['subscribe'](_0x3ccce3=>{_0x18b822(_0x3ccce3);});}['_initUnitPermissionChange'](){var _0x18c0be=_0x3421ce;const _0x317121=async _0x5152c9=>{var _0x39c592=_0x188c;(await this[_0x39c592(0x271)][_0x39c592(0x188)](_0x5152c9))[_0x39c592(0x186)][_0x39c592(0x2d7)](_0x25adde(_0x3cc705=>_0x3cc705[_0x39c592(0x406)]===_0x61a7f0[_0x39c592(0x246)]),_0x3124cd(this[_0x39c592(0x202)]))['subscribe'](_0x2dceb0=>{var _0x3aa6d7=_0x39c592;const _0x3de33b=_0x2dceb0,{objectId:_0x125733}=_0x3de33b[_0x3aa6d7(0x20e)];_0x125733===_0x5152c9?this['initWorkbookPermissionChange'](_0x5152c9):this[_0x3aa6d7(0x3b3)](_0x5152c9,_0x125733);});};_0x3f7318(this[_0x18c0be(0x305)]['getTypeOfUnitAdded$'](_0x5be3e2[_0x18c0be(0x19e)]),this[_0x18c0be(0x305)][_0x18c0be(0x35e)](_0x5be3e2[_0x18c0be(0x25c)]))[_0x18c0be(0x2d7)](_0x20ed66(_0x594eaf=>_0x594eaf[_0x18c0be(0x39b)]()),_0x25adde(_0x23dccc=>!_0x2704cb(_0x23dccc)),_0x3124cd(this[_0x18c0be(0x202)]))[_0x18c0be(0x3fe)](_0x44ea7b=>{_0x317121(_0x44ea7b);});}async[_0x3421ce(0x3c4)](_0x2704f5){var _0x579d08=_0x3421ce,_0xfddc0b;const _0x14d06e=_0x2704f5||((_0xfddc0b=this[_0x579d08(0x305)][_0x579d08(0x355)](_0x5be3e2['UNIVER_SHEET']))==null?void 0x0:_0xfddc0b[_0x579d08(0x39b)]());_0x14d06e&&this[_0x579d08(0x25f)][_0x579d08(0x3f0)]({'objectID':_0x14d06e,'objectType':_0x1f5c7e[_0x579d08(0x336)],'unitID':_0x14d06e,'actions':_0x3f56ed})[_0x579d08(0x36a)](_0x94e8ac=>{_0x5f4661()['forEach'](_0x49dff5=>{var _0x33cbe8=_0x188c;const _0x46179e=new _0x49dff5(_0x14d06e),_0x5ca640=_0x46179e['subType'],_0x2d3888=_0x94e8ac[_0x33cbe8(0x206)](_0x5215d0=>_0x5215d0['action']===_0x5ca640);_0x2d3888&&this[_0x33cbe8(0x22a)]['updatePermissionPoint'](_0x46179e['id'],_0x2d3888[_0x33cbe8(0x3f0)]);});});}[_0x3421ce(0x3b3)](_0x20bf75,_0x3cd006){var _0x1e6a46=_0x3421ce;const _0x2bf23b=this['_injector'][_0x1e6a46(0x3e3)](_0x1e84c0),_0x397978=_0x2bf23b['getTargetByPermissionId'](_0x20bf75,_0x3cd006);let _0x4b3a9d=!0x1;if(_0x397978){const [_0x41dd1f,_0x4c9ceb]=_0x397978;this[_0x1e6a46(0x25f)][_0x1e6a46(0x3f0)]({'objectID':_0x3cd006,'unitID':_0x20bf75,'objectType':_0x1f5c7e['Worksheet'],'actions':_0x5b6de6})[_0x1e6a46(0x36a)](_0x430ac4=>{var _0x48e6d0=_0x1e6a46;let _0x4e0e66='';_0x56685a()[_0x48e6d0(0x1fb)](_0x33fce4=>{var _0x588598=_0x48e6d0,_0x342db0;const _0x1a395a=new _0x33fce4(_0x20bf75,_0x4c9ceb),_0x1d13ec=_0x1a395a[_0x588598(0x249)],_0x1b77b9=_0x430ac4['find'](_0x4fd02d=>_0x4fd02d[_0x588598(0x43e)]===_0x1d13ec);_0x1b77b9&&(((_0x342db0=this[_0x588598(0x22a)][_0x588598(0x1f6)](_0x1a395a['id']))==null?void 0x0:_0x342db0[_0x588598(0x2e3)])!==_0x1b77b9[_0x588598(0x3f0)]&&(_0x4b3a9d=!0x0),this[_0x588598(0x22a)]['updatePermissionPoint'](_0x1a395a['id'],_0x1b77b9['allowed']),_0x4e0e66+=_0x1b77b9['action']+'_'+_0x1b77b9[_0x588598(0x3f0)]);}),_0x2bf23b['ruleRefresh'](_0x3cd006+'_'+_0x4e0e66),_0x4b3a9d&&this[_0x48e6d0(0x227)][_0x48e6d0(0x33e)](_0x20bf75);});}const _0x2d2d66=this[_0x1e6a46(0x31a)][_0x1e6a46(0x3e3)](_0x100036)[_0x1e6a46(0x220)](_0x20bf75,_0x3cd006);if(_0x2d2d66){const [_0x2134e8,_0x2eadf8]=_0x2d2d66;this['_authzIoService'][_0x1e6a46(0x3f0)]({'objectID':_0x3cd006,'unitID':_0x20bf75,'objectType':_0x1f5c7e[_0x1e6a46(0x33c)],'actions':_0x37101f})['then'](_0x29785f=>{var _0x41b02d=_0x1e6a46;_0x191e2e()[_0x41b02d(0x1fb)](_0x3e4a7a=>{var _0x57994f=_0x41b02d,_0x342f0b;const _0x234dcb=new _0x3e4a7a(_0x20bf75,_0x2eadf8),_0x168517=_0x234dcb[_0x57994f(0x249)],_0x437983=_0x29785f[_0x57994f(0x206)](_0x4d61ef=>_0x4d61ef['action']===_0x168517);_0x437983&&(((_0x342f0b=this['_permissionService'][_0x57994f(0x1f6)](_0x234dcb['id']))==null?void 0x0:_0x342f0b[_0x57994f(0x2e3)])!==_0x437983[_0x57994f(0x3f0)]&&(_0x4b3a9d=!0x0),this[_0x57994f(0x22a)][_0x57994f(0x432)](_0x234dcb['id'],_0x437983[_0x57994f(0x3f0)]));}),_0x4b3a9d&&this[_0x41b02d(0x227)]['clearUndoRedo'](_0x20bf75);});}const _0x47f12e=this[_0x1e6a46(0x31a)][_0x1e6a46(0x3e3)](_0x58e54c),_0x5ab287=_0x47f12e[_0x1e6a46(0x220)](_0x20bf75,_0x3cd006);if(_0x5ab287){const [_0x7c4bbd,_0x334a61]=_0x5ab287;this[_0x1e6a46(0x25f)][_0x1e6a46(0x3f0)]({'objectID':_0x3cd006,'unitID':_0x20bf75,'objectType':_0x1f5c7e[_0x1e6a46(0x1c1)],'actions':_0x5b6de6})['then'](_0x1e44cd=>{var _0x347a6c=_0x1e6a46;let _0x4d8da0='';_0x57afa7()[_0x347a6c(0x1fb)](_0x29ff7c=>{var _0x219bc2=_0x347a6c,_0x174c03;const _0x8c4854=new _0x29ff7c(_0x20bf75,_0x334a61,_0x3cd006),_0x4b7165=_0x8c4854[_0x219bc2(0x249)],_0x1a9d7b=_0x1e44cd[_0x219bc2(0x206)](_0x2b37e8=>_0x2b37e8[_0x219bc2(0x43e)]===_0x4b7165);_0x1a9d7b&&(((_0x174c03=this[_0x219bc2(0x22a)][_0x219bc2(0x1f6)](_0x8c4854['id']))==null?void 0x0:_0x174c03[_0x219bc2(0x2e3)])!==_0x1a9d7b[_0x219bc2(0x3f0)]&&(_0x4b3a9d=!0x0),this[_0x219bc2(0x22a)][_0x219bc2(0x432)](_0x8c4854['id'],_0x1a9d7b[_0x219bc2(0x3f0)]),_0x4d8da0+=_0x1a9d7b['action']+'_'+_0x1a9d7b[_0x219bc2(0x3f0)]);}),_0x47f12e[_0x347a6c(0x3a0)](_0x3cd006+'_'+_0x4d8da0),_0x4b3a9d&&this[_0x347a6c(0x227)][_0x347a6c(0x33e)](_0x20bf75);});}}};ct=jr([Se(0x0,_0x5e9963(_0x212d21)),Se(0x1,_0x10799f),Se(0x2,_0x1e28b2),Se(0x3,_0x5e9963(Le)),Se(0x4,_0x5e9963(pe)),Se(0x5,_0x13a2ae),Se(0x6,_0x3f6f94)],ct);var Br=Object[_0x3421ce(0x2ed)],Fr=Object[_0x3421ce(0x281)],Vr=(_0xd5ac47,_0x5311ef,_0x34cc5b,_0x3223a4)=>{var _0x3e034a=_0x3421ce;for(var _0x1ab903=_0x3223a4>0x1?void 0x0:_0x3223a4?Fr(_0x5311ef,_0x34cc5b):_0x5311ef,_0x53e68a=_0xd5ac47[_0x3e034a(0x225)]-0x1,_0x242a83;_0x53e68a>=0x0;_0x53e68a--)(_0x242a83=_0xd5ac47[_0x53e68a])&&(_0x1ab903=(_0x3223a4?_0x242a83(_0x5311ef,_0x34cc5b,_0x1ab903):_0x242a83(_0x1ab903))||_0x1ab903);return _0x3223a4&&_0x1ab903&&Br(_0x5311ef,_0x34cc5b,_0x1ab903),_0x1ab903;},ui=(_0x4abe0e,_0x4bab6a)=>(_0x527671,_0x4680f2)=>_0x4bab6a(_0x527671,_0x4680f2,_0x4abe0e);let Dt=class{constructor(_0x2eecc5,_0x44d5de){var _0x3d1e62=_0x3421ce;this['_configService']=_0x2eecc5,this[_0x3d1e62(0x198)]=_0x44d5de;}async[_0x3421ce(0x29f)](_0x1b3f23,_0x424887){var _0x90d90d=_0x3421ce,_0x2728ad;const {unitID:_0x216da5,type:_0x10c51a,revision:_0x3a7ac8=0x0}=_0x424887,_0x279efc=this[_0x90d90d(0x31b)]()+'/'+_0x10c51a+_0x90d90d(0x456)+_0x216da5+_0x90d90d(0x420)+_0x3a7ac8,_0x1b9bab=(await this[_0x90d90d(0x198)][_0x90d90d(0x3e3)](_0x279efc))[_0x90d90d(0x3e6)],_0x19210a=(_0x2728ad=_0x1b9bab[_0x90d90d(0x153)])==null?void 0x0:_0x2728ad[_0x90d90d(0x18a)];if(_0x19210a){const _0x2da5f3=_0x19210a==null?void 0x0:_0x19210a[_0x90d90d(0x2a8)],_0x23bc13=_0x308aa2[_0x90d90d(0x27b)](_0x362495(_0x2da5f3));_0x19210a[_0x90d90d(0x2a8)]=_0x23bc13,Object[_0x90d90d(0x35c)](_0x19210a[_0x90d90d(0x169)])['forEach'](([,_0x17ddc3])=>{const _0x3d9eab=_0x17ddc3['originalMeta'],_0x321af0=_0x308aa2['encode'](_0x362495(_0x3d9eab));_0x17ddc3['originalMeta']=_0x321af0;});}return _0x1b9bab;}async[_0x3421ce(0x1a8)](_0x1b6fd3,_0x35ed20){var _0x4c3493=_0x3421ce;const {unitID:_0x1b5049,type:_0x553d09,blockID:_0x47bf74}=_0x35ed20,_0xba0963=this['_getAPIPrefix']()+'/'+_0x553d09+_0x4c3493(0x456)+_0x1b5049+_0x4c3493(0x37a)+_0x47bf74;return(await this[_0x4c3493(0x198)][_0x4c3493(0x3e3)](_0xba0963))[_0x4c3493(0x3e6)];}async[_0x3421ce(0x19a)](_0x5a5c60,_0x1634b4){var _0x3561e6=_0x3421ce;const {unitID:_0x4f6782,type:_0x336b19,blockID:_0x11503a}=_0x1634b4,_0x1fe7c5=this[_0x3561e6(0x1ea)]()+'/block/'+_0x336b19+'/unit/'+_0x4f6782+_0x3561e6(0x37a)+_0x11503a;return(await this[_0x3561e6(0x198)][_0x3561e6(0x3e3)](_0x1fe7c5))[_0x3561e6(0x3e6)];}async[_0x3421ce(0x260)](_0x33024c,_0x56270b){var _0x74544a=_0x3421ce;const {unitID:_0x4c469c,type:_0x517e42,from:_0x153975,to:_0x460a4d}=_0x56270b,_0x2845c2=this['_getAPIPrefix']()+'/'+_0x517e42+_0x74544a(0x456)+_0x4c469c+'/fetchmissing?from='+_0x153975+_0x74544a(0x421)+_0x460a4d;return(await this[_0x74544a(0x198)]['get'](_0x2845c2))[_0x74544a(0x3e6)];}[_0x3421ce(0x31b)](){var _0x1f8666=_0x3421ce,_0x23e817;return(_0x23e817=this[_0x1f8666(0x412)]['getConfig'](Dn))!=null?_0x23e817:this['_getAPIPrefix']();}['_getAPIPrefix'](){var _0x5ec0cb=_0x3421ce,_0x179ccf,_0x32a56d;const _0x28933a=this[_0x5ec0cb(0x412)]['getConfig'](Nn),_0x4f8405=this[_0x5ec0cb(0x412)][_0x5ec0cb(0x3a9)](Y);return(_0x32a56d=(_0x179ccf=_0x4f8405==null?void 0x0:_0x4f8405[_0x5ec0cb(0x307)])!=null?_0x179ccf:_0x28933a)!=null?_0x32a56d:Pn;}async['getResourcesRequest'](_0x5a736a,_0x4eb014){var _0x477d8f=_0x3421ce;const _0x9bf0db=_0x477d8f(0x42c)+_0x4eb014[_0x477d8f(0x363)]+_0x477d8f(0x456)+_0x4eb014[_0x477d8f(0x3e0)]+_0x477d8f(0x1a1);return(await this[_0x477d8f(0x198)][_0x477d8f(0x3e3)](_0x9bf0db,{'params':{'resourceId':JSON['stringify'](_0x4eb014[_0x477d8f(0x2d4)])}}))[_0x477d8f(0x3e6)];}['saveSnapshot'](){var _0x34fa5a=_0x3421ce;throw new Error(_0x34fa5a(0x3ff));}[_0x3421ce(0x16e)](){var _0x29f7ae=_0x3421ce;throw new Error(_0x29f7ae(0x3ff));}[_0x3421ce(0x254)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3421ce(0x3d9)](){var _0x30532a=_0x3421ce;throw new Error(_0x30532a(0x3ff));}[_0x3421ce(0x1d8)](){var _0x353781=_0x3421ce;throw new Error(_0x353781(0x3ff));}};Dt=Vr([ui(0x0,_0x48fe9a),ui(0x1,_0x5e9963(_0x490c71))],Dt);var Wr=Object[_0x3421ce(0x2ed)],Gr=Object[_0x3421ce(0x281)],Kr=(_0x29e19c,_0x5aa3c4,_0x594346,_0x446c3a)=>{var _0x59400f=_0x3421ce;for(var _0x1382f5=_0x446c3a>0x1?void 0x0:_0x446c3a?Gr(_0x5aa3c4,_0x594346):_0x5aa3c4,_0x20e2cc=_0x29e19c[_0x59400f(0x225)]-0x1,_0x1b6217;_0x20e2cc>=0x0;_0x20e2cc--)(_0x1b6217=_0x29e19c[_0x20e2cc])&&(_0x1382f5=(_0x446c3a?_0x1b6217(_0x5aa3c4,_0x594346,_0x1382f5):_0x1b6217(_0x1382f5))||_0x1382f5);return _0x446c3a&&_0x1382f5&&Wr(_0x5aa3c4,_0x594346,_0x1382f5),_0x1382f5;},Ae=(_0x4ad437,_0x4291fe)=>(_0xe4667d,_0x178e51)=>_0x4291fe(_0xe4667d,_0x178e51,_0x4ad437);let wt=class extends _0x2cc165{constructor(_0x4281d8,_0x31c210,_0x10edfe,_0xbf1e21,_0x51c412){var _0x55731f=_0x3421ce;super(_0x4281d8,_0x31c210,_0x10edfe),this[_0x55731f(0x33a)]=_0xbf1e21,this[_0x55731f(0x155)]=_0x51c412;}[_0x3421ce(0x3f2)](_0x47ff5e,_0x594d32){var _0x377866=_0x3421ce;const _0xfb6b8f=this[_0x377866(0x32d)](_0x47ff5e);if(_0xfb6b8f)try{const _0x67ebe2=this['_transformStack'](_0xfb6b8f,_0x594d32);this[_0x377866(0x2af)](_0x47ff5e,_0x67ebe2);}catch(_0x58c4c1){this[_0x377866(0x155)][_0x377866(0x422)]('[CollaborationUndoRedoService]',_0x58c4c1),this[_0x377866(0x178)](_0x47ff5e);}const _0x5db1ff=this['_getRedoStack'](_0x47ff5e);if(_0x5db1ff)try{const _0x19737e=this[_0x377866(0x3e5)](_0x5db1ff,_0x594d32);this[_0x377866(0x208)](_0x47ff5e,_0x19737e);}catch(_0x536bd4){this['_logService'][_0x377866(0x422)](_0x536bd4),this['_clearRedo'](_0x47ff5e);}}[_0x3421ce(0x178)](_0x27d439){var _0x1f711c=_0x3421ce;const _0x4a8c4b=this[_0x1f711c(0x32d)](_0x27d439);_0x4a8c4b&&(_0x4a8c4b[_0x1f711c(0x225)]=0x0,this[_0x1f711c(0x354)]());}[_0x3421ce(0x458)](_0x2c9b35){var _0x4a71db=_0x3421ce;const _0x5bea52=this[_0x4a71db(0x2ac)](_0x2c9b35);_0x5bea52&&(_0x5bea52[_0x4a71db(0x225)]=0x0,this[_0x4a71db(0x354)]());}[_0x3421ce(0x2af)](_0x4dc961,_0x1c80cf){var _0x40a4e8=_0x3421ce;this[_0x40a4e8(0x1b7)]['set'](_0x4dc961,_0x1c80cf),this[_0x40a4e8(0x354)]();}[_0x3421ce(0x208)](_0x4a9a1f,_0x5c46ba){var _0xf77537=_0x3421ce;this[_0xf77537(0x1ff)]['set'](_0x4a9a1f,_0x5c46ba),this[_0xf77537(0x354)]();}[_0x3421ce(0x3e5)](_0x3a5d9c,_0x1a3611){var _0x104186=_0x3421ce;const _0x2cb390=[];let _0x1ff204=_0x1a3611,_0x489076=_0x1a3611;for(let _0x4302d5=_0x3a5d9c['length']-0x1;_0x4302d5>=0x0;_0x4302d5--){const {unitID:_0x238fac,undoMutations:_0x5c312a,redoMutations:_0x161eaf}=_0x3a5d9c[_0x4302d5],_0x4f2333=this[_0x104186(0x33a)][_0x104186(0x247)](_0x1ff204,_0x5c312a),_0x517247=this[_0x104186(0x33a)][_0x104186(0x247)](_0x489076,_0x161eaf);if(_0x15258e(_0x4f2333)||_0x15258e(_0x517247)){this[_0x104186(0x155)][_0x104186(0x422)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x4f2333,_0x517247);break;}_0x1ff204=_0x4f2333[_0x104186(0x182)],_0x489076=_0x517247[_0x104186(0x182)],_0x2cb390[_0x104186(0x3d2)]({'unitID':_0x238fac,'undoMutations':_0x4f2333['m2Prime'],'redoMutations':_0x517247[_0x104186(0x347)]});}return _0x2cb390['reverse']();}};wt=Kr([Ae(0x0,_0x10799f),Ae(0x1,_0x72dd1e),Ae(0x2,_0x24aac3),Ae(0x3,_0x51268a),Ae(0x4,_0x8ba9be)],wt);var Li=Object[_0x3421ce(0x2ed)],zr=Object[_0x3421ce(0x281)],Yr=(_0xa09407,_0x59903d,_0x39b421)=>_0x59903d in _0xa09407?Li(_0xa09407,_0x59903d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x39b421}):_0xa09407[_0x59903d]=_0x39b421,qr=(_0x107928,_0x4e134c,_0x19c578,_0x452b7f)=>{var _0x360290=_0x3421ce;for(var _0x4a02f8=_0x452b7f>0x1?void 0x0:_0x452b7f?zr(_0x4e134c,_0x19c578):_0x4e134c,_0x1bbd5f=_0x107928[_0x360290(0x225)]-0x1,_0x927cc8;_0x1bbd5f>=0x0;_0x1bbd5f--)(_0x927cc8=_0x107928[_0x1bbd5f])&&(_0x4a02f8=(_0x452b7f?_0x927cc8(_0x4e134c,_0x19c578,_0x4a02f8):_0x927cc8(_0x4a02f8))||_0x4a02f8);return _0x452b7f&&_0x4a02f8&&Li(_0x4e134c,_0x19c578,_0x4a02f8),_0x4a02f8;},Et=(_0x28227e,_0x5ea0e2)=>(_0x4c55d8,_0x39b71f)=>_0x5ea0e2(_0x4c55d8,_0x39b71f,_0x28227e),Jr=(_0x33b316,_0x5f1759,_0x3aa38f)=>Yr(_0x33b316,_0x5f1759+'',_0x3aa38f);const Xr=_0x3421ce(0x2b6);let Ut=class extends _0x50e38f{constructor(_0x2e39cb=Wn,_0x197c36,_0x53854a,_0x3968df){var _0xb49180=_0x3421ce;super(),this['_config']=_0x2e39cb,this['_logService']=_0x197c36,this[_0xb49180(0x31a)]=_0x53854a,this[_0xb49180(0x412)]=_0x3968df;const {..._0x439f39}=this[_0xb49180(0x2c0)];this[_0xb49180(0x412)]['setConfig'](Y,_0x439f39);}[_0x3421ce(0x447)](){var _0x4d4005=_0x3421ce;this['_registerDependencies'](),this[_0x4d4005(0x2d6)]();}[_0x3421ce(0x1bb)](){var _0x35706d=_0x3421ce,_0x810869,_0x41e6fc,_0x2d56b9,_0x22b6fb;this[_0x35706d(0x31a)]['has'](_0x3f6f94)&&this['_logService'][_0x35706d(0x422)](_0x35706d(0x248),_0x35706d(0x3bf));const _0x2be063=_0x1d3664([[_0x3f6f94,{'useClass':wt}],[Le],[xe],[nt],[ot],[at],[Ri],[ct],[pe],[Ot],[bi,{'useClass':(_0x41e6fc=(_0x810869=this[_0x35706d(0x2c0)])==null?void 0x0:_0x810869[_0x35706d(0x2e1)])!=null?_0x41e6fc:It}],[_0x1df47c,{'useClass':Dt}],[_0x13a2ae,{'useClass':yt}],[_0x3c3208,{'useClass':Nt}],[_0x18fa49,{'useClass':Pt}],[rt],[Rt]],(_0x2d56b9=this[_0x35706d(0x2c0)])==null?void 0x0:_0x2d56b9[_0x35706d(0x285)]);if(!((_0x22b6fb=this[_0x35706d(0x2c0)])!=null&&_0x22b6fb[_0x35706d(0x224)])){const _0x539b7a=_0x2be063['findIndex'](([_0x36db47])=>_0x36db47===_t);_0x539b7a!==-0x1&&_0x2be063[_0x35706d(0x44c)](_0x539b7a,0x1);}_0xd65c17(this[_0x35706d(0x31a)],_0x2be063);}[_0x3421ce(0x2d6)](){var _0x1806c2=_0x3421ce,_0x1ea035,_0x291de5,_0x333cec;this[_0x1806c2(0x31a)]['get'](_0x490c71)[_0x1806c2(0x22f)]({'priority':0x14,'interceptor':_0xd62cef({'maxParallel':0x6})}),(_0x1ea035=this[_0x1806c2(0x2c0)])!=null&&_0x1ea035[_0x1806c2(0x360)]||(_0x291de5=this[_0x1806c2(0x31a)][_0x1806c2(0x3e3)](X,_0x4c7b23['OPTIONAL']))==null||_0x291de5[_0x1806c2(0x2d9)](),(_0x333cec=this[_0x1806c2(0x2c0)])!=null&&_0x333cec[_0x1806c2(0x26a)]&&_0x4fcda2(this['_injector'],[[ot]]),_0x4fcda2(this['_injector'],[[at],[rt],[ct]]);}};Jr(Ut,_0x3421ce(0x1c0),Xr),Ut=qr([_0xf43b49(_0x204ecb,_0x21e713,_0x108606),Et(0x1,_0x8ba9be),Et(0x2,_0x5e9963(_0x212d21)),Et(0x3,_0x48fe9a)],Ut);export{wi as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,jn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Un as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Nt as CollaborationImageIoService,Tt as CollaborationSession,Le as CollaborationSessionService,It as CollaborationSocketService,Ni as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,An as DEFAULT_COLLAB_WEB_SOCKET_URL,fo as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,Ln as HEARTBEAT_INTERVAL_KEY,Ei as HEARTBEAT_TIMEOUT_KEY,bi as ICollaborationSocketService,X as ILocalCacheService,Gn as INetworkConditionService,_t as ISingleActiveUnitService,lo as LOCAL_CACHE_INTERVAL,_o as LOCAL_CACHE_INTERVAL_KEY,Fn as LOGIN_URL_KEY,xe as MemberService,Pt as MentionIoHttpService,fe as OfflineState,oe as PendingState,uo as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Hn as RETRY_CONNECTING_MAX_COUNT_KEY,ho as SEND_CHANGESET_TIMEOUT_KEY,Nn as SNAPSHOT_SERVER_URL_KEY,Dn as SNAPSHOT_URL_KEY,Te as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,yi as UnitStatus,Ut as UniverCollaborationClientPlugin,Kn as deserializeToCombResponse,vo as getLocalCacheKey,zn as serializeCombRequest};