@univerjs-pro/collaboration-client 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x3f33cb=_0x2cdc;(function(_0x38716a,_0x2dee65){var _0x55b5c5=_0x2cdc,_0x5924e2=_0x38716a();while(!![]){try{var _0x5e5e9e=parseInt(_0x55b5c5(0x271))/0x1*(parseInt(_0x55b5c5(0x326))/0x2)+parseInt(_0x55b5c5(0x1bc))/0x3+parseInt(_0x55b5c5(0x277))/0x4*(-parseInt(_0x55b5c5(0x15e))/0x5)+parseInt(_0x55b5c5(0xd3))/0x6*(parseInt(_0x55b5c5(0x139))/0x7)+-parseInt(_0x55b5c5(0xfb))/0x8+parseInt(_0x55b5c5(0x3a3))/0x9+-parseInt(_0x55b5c5(0x231))/0xa;if(_0x5e5e9e===_0x2dee65)break;else _0x5924e2['push'](_0x5924e2['shift']());}catch(_0x3b4bd6){_0x5924e2['push'](_0x5924e2['shift']());}}}(_0x3cb4,0xb8d40));var yi=Object['defineProperty'],Ni=(_0x1ac931,_0x2a5895,_0x4e8586)=>_0x2a5895 in _0x1ac931?yi(_0x1ac931,_0x2a5895,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e8586}):_0x1ac931[_0x2a5895]=_0x4e8586,N=(_0x2d9d76,_0x4bfaa7,_0x65c21a)=>Ni(_0x2d9d76,typeof _0x4bfaa7!=_0x3f33cb(0xfc)?_0x4bfaa7+'':_0x4bfaa7,_0x65c21a);import{createIdentifier as _0x43bfb9,Inject as _0x289be2,Injector as _0x20dc98,IConfigService as _0x3594ab,ILogService as _0x575f9c,Disposable as _0x15e2a7,DisposableCollection as _0x24e867,toDisposable as _0xe5545b,IUniverInstanceService as _0x2366c1,UserManagerService as _0x292397,UniverInstanceType as _0x26aafa,Optional as _0x3d442c,RxDisposable as _0x4447d4,Tools as _0x31c009,Rectangle as _0x2a7e38,ICommandService as _0x587c6c,JSONX as _0x489e09,CommandType as _0x11cd3f,IUndoRedoService as _0x1f5600,IPermissionService as _0x1a3b09,LocaleService as _0x4c9010,sequenceExecute as _0x23dea5,Workbook as _0x5de3cd,generateRandomId as _0x39a79d,MentionType as _0xdc7560,isInternalEditorID as _0x5ad6a7,LocalUndoRedoService as _0x4a4674,IContextService as _0x3a1521,DependentOn as _0x1cf966,Plugin as _0xa33e9b,merge as _0x1cbe41,mergeOverrideWithDependencies as _0x3e21f6,IAuthzIoService as _0x4ecd2c,IMentionIOService as _0x1196e0,registerDependencies as _0x1086a2,Quantity as _0x2a7a98,touchDependencies as _0xcecd63}from'@univerjs/core';import{Subject as _0x11e6d4,merge as _0x3f4b1e,of as _0x4833a9,BehaviorSubject as _0x124502,takeUntil as _0x45a280,ReplaySubject as _0x281ac7,take as _0x344dee,map as _0x2b38ff,shareReplay as _0x1a4724,firstValueFrom as _0x2a469a,concatMap as _0x3db289}from'rxjs';import{map as _0x55fc2c,take as _0x288121,filter as _0x27f22b,delay as _0x55be58,takeUntil as _0x314b69}from'rxjs/operators';import{CollaborationEvent as _0x7f38ce,ISnapshotServerService as _0x56f565,parseChangesetToProtocol as _0x2270a8,ITransformService as _0x206be0,isTransformMutationsWithChangesetSuccess as _0x12b764,mapDocumentTypeToUniverType as _0x153148,RevisionService as _0x1b45af,isTransformChangesetsSuccess as _0x3e130b,CompressMutationService as _0x21a1eb,parseProtocolChangeset as _0x4a4f2e,uuidv4 as _0x2de936,SnapshotService as _0x19cd48,textEncoder as _0x4925e3,b64DecodeUnicode as _0x5d4d0d,isTransformMutationsWithChangesetFailure as _0x18adc8,UniverCollaborationPlugin as _0x30f392}from'@univerjs-pro/collaboration';import{HTTPService as _0x202828,ISocketService as _0x507d43,MergeInterceptorFactory as _0x1a594e,HTTPRequest as _0xe13e0d,UniverNetworkPlugin as _0x17a102,ThresholdInterceptorFactory as _0x31cf31}from'@univerjs/network';import{ITelemetryService as _0x213ec8}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x29a1a4}from'@univerjs/docs';import{SheetsSelectionsService as _0x4f48b0,SetSelectionsOperation as _0x120755,InsertSheetMutation as _0x45793f,EmptyMutation as _0x41cd1d,WorkbookEditablePermission as _0x158a74,SheetPermissionInitController as _0x4c96f0}from'@univerjs/sheets';import{ImageSourceType as _0x4efb65,ImageUploadStatusType as _0x578d57,IImageIoService as _0x5c02e2}from'@univerjs/drawing';import{getGlobalObject as _0xc4a606}from'@univerjs-pro/license';const fs='/universer-api/snapshot',vs=_0x3f33cb(0x114),ps=0x7d0,ms=_0x3f33cb(0x24f),Ir=_0x3f33cb(0x2f9),gs=_0x3f33cb(0xf8),Ss=0x7530,di='HEARTBEAT_TIMEOUT',fi=0x4e20,Es=0x4e20,Is=_0x3f33cb(0x295),Ts=0x3,Tr=_0x3f33cb(0x317),Cr=0x3e8,Cs=_0x3f33cb(0x22f),Rs=_0x3f33cb(0x1f0),Rr='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Or=_0x3f33cb(0x33f);var vi=(_0x5bdacc=>(_0x5bdacc[_0x5bdacc[_0x3f33cb(0x273)]=0x0]=_0x3f33cb(0x273),_0x5bdacc[_0x5bdacc['OK']=0x1]='OK',_0x5bdacc[_0x5bdacc[_0x3f33cb(0x353)]=0x2]=_0x3f33cb(0x353),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x22e)]=0x3]=_0x3f33cb(0x22e),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x2fd)]=0x4]=_0x3f33cb(0x2fd),_0x5bdacc[_0x5bdacc[_0x3f33cb(0xe0)]=0x5]=_0x3f33cb(0xe0),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x1ec)]=0x6]=_0x3f33cb(0x1ec),_0x5bdacc[_0x5bdacc[_0x3f33cb(0xc0)]=0x7]=_0x3f33cb(0xc0),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x31e)]=0x8]=_0x3f33cb(0x31e),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x24c)]=0x9]='COMPLETION_FINISHED',_0x5bdacc[_0x5bdacc[_0x3f33cb(0xf0)]=0xa]=_0x3f33cb(0xf0),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x2f1)]=0xb]=_0x3f33cb(0x2f1),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x267)]=0xc]=_0x3f33cb(0x267),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x147)]=0xd]=_0x3f33cb(0x147),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x240)]=0xe]=_0x3f33cb(0x240),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x29d)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5bdacc[_0x5bdacc['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5bdacc[_0x5bdacc[_0x3f33cb(0x2aa)]=0x1772]=_0x3f33cb(0x2aa),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x1a7)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5bdacc[_0x5bdacc[_0x3f33cb(0x258)]=0x1b59]=_0x3f33cb(0x258),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x34d)]=0x1b5a]=_0x3f33cb(0x34d),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x1ae)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5bdacc[_0x5bdacc[_0x3f33cb(0x229)]=0x1b5c]=_0x3f33cb(0x229),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x111)]=0x1b5d]=_0x3f33cb(0x111),_0x5bdacc[_0x5bdacc['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5bdacc[_0x5bdacc[_0x3f33cb(0x250)]=0x2329]=_0x3f33cb(0x250),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x39c)]=0x232a]=_0x3f33cb(0x39c),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x127)]=0x232b]=_0x3f33cb(0x127),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x2a9)]=0x232c]=_0x3f33cb(0x2a9),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x2d4)]=0x232d]=_0x3f33cb(0x2d4),_0x5bdacc[_0x5bdacc['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x3f33cb(0x146),_0x5bdacc[_0x5bdacc['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3f33cb(0x191),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x1e6)]=0x2713]=_0x3f33cb(0x1e6),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x2ba)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5bdacc[_0x5bdacc[_0x3f33cb(0xea)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5bdacc[_0x5bdacc[_0x3f33cb(0xeb)]=0x271b]=_0x3f33cb(0xeb),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x32b)]=0x271c]=_0x3f33cb(0x32b),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x1ff)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5bdacc[_0x5bdacc[_0x3f33cb(0x245)]=0x271e]=_0x3f33cb(0x245),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x13a)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5bdacc[_0x5bdacc[_0x3f33cb(0xa8)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x5bdacc[_0x5bdacc[_0x3f33cb(0x150)]=0x2af9]=_0x3f33cb(0x150),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x25f)]=0x2ee1]=_0x3f33cb(0x25f),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x2c7)]=0x2ee2]=_0x3f33cb(0x2c7),_0x5bdacc[_0x5bdacc['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x5bdacc[_0x5bdacc[_0x3f33cb(0xf2)]=0x2ee4]=_0x3f33cb(0xf2),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x138)]=0x2ee5]=_0x3f33cb(0x138),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x1e2)]=0x32c9]=_0x3f33cb(0x1e2),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x1d8)]=0x32ca]=_0x3f33cb(0x1d8),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x30b)]=0x32cb]=_0x3f33cb(0x30b),_0x5bdacc[_0x5bdacc[_0x3f33cb(0x1b9)]=-0x1]=_0x3f33cb(0x1b9),_0x5bdacc))(vi||{}),Z=(_0x50ceb3=>(_0x50ceb3[_0x50ceb3['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x50ceb3[_0x50ceb3['UNIVER_DOC']=0x1]=_0x3f33cb(0x387),_0x50ceb3[_0x50ceb3[_0x3f33cb(0xce)]=0x2]=_0x3f33cb(0xce),_0x50ceb3[_0x50ceb3['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x50ceb3[_0x50ceb3['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x50ceb3[_0x50ceb3[_0x3f33cb(0x1b9)]=-0x1]=_0x3f33cb(0x1b9),_0x50ceb3))(Z||{}),F=(_0x5f1797=>(_0x5f1797[_0x5f1797[_0x3f33cb(0x35d)]=0x0]='UNKNOWN_CMD',_0x5f1797[_0x5f1797[_0x3f33cb(0x265)]=0x1]=_0x3f33cb(0x265),_0x5f1797[_0x5f1797[_0x3f33cb(0x389)]=0x2]=_0x3f33cb(0x389),_0x5f1797[_0x5f1797['LEAVE']=0x3]=_0x3f33cb(0xb4),_0x5f1797[_0x5f1797[_0x3f33cb(0x1cf)]=0x4]='INGEST',_0x5f1797[_0x5f1797[_0x3f33cb(0x256)]=0x5]='HEARTBEAT',_0x5f1797[_0x5f1797[_0x3f33cb(0x1b0)]=0x6]=_0x3f33cb(0x1b0),_0x5f1797[_0x5f1797[_0x3f33cb(0x1b9)]=-0x1]=_0x3f33cb(0x1b9),_0x5f1797))(F||{}),pe=(_0x39c53b=>(_0x39c53b[_0x39c53b[_0x3f33cb(0x11d)]=0x0]=_0x3f33cb(0x11d),_0x39c53b[_0x39c53b['OK']=0x1]='OK',_0x39c53b[_0x39c53b['FAIL']=0x2]=_0x3f33cb(0xde),_0x39c53b[_0x39c53b[_0x3f33cb(0x10d)]=0x3e9]='JOIN_ROOM_FULL',_0x39c53b[_0x39c53b[_0x3f33cb(0x29f)]=0x3ea]=_0x3f33cb(0x29f),_0x39c53b[_0x39c53b['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x3f33cb(0x1a9),_0x39c53b[_0x39c53b[_0x3f33cb(0x9e)]=0x3ec]=_0x3f33cb(0x9e),_0x39c53b[_0x39c53b[_0x3f33cb(0x1b9)]=-0x1]='UNRECOGNIZED',_0x39c53b))(pe||{}),pi=(_0x543ce2=>(_0x543ce2[_0x543ce2[_0x3f33cb(0x18b)]=0x0]='Undefined',_0x543ce2[_0x543ce2['HttpImport']=0x1]=_0x3f33cb(0x193),_0x543ce2[_0x543ce2[_0x3f33cb(0xf5)]=0x2]=_0x3f33cb(0xf5),_0x543ce2[_0x543ce2[_0x3f33cb(0x244)]=0x3]=_0x3f33cb(0x244),_0x543ce2[_0x543ce2[_0x3f33cb(0x190)]=0x4]=_0x3f33cb(0x190),_0x543ce2[_0x543ce2[_0x3f33cb(0x2d2)]=0x5]=_0x3f33cb(0x2d2),_0x543ce2[_0x543ce2['UNRECOGNIZED']=-0x1]=_0x3f33cb(0x1b9),_0x543ce2))(pi||{});const K=_0x3f33cb(0x2fb),Os={};var ne=(_0x35336c=>(_0x35336c[_0x3f33cb(0x1b7)]='OTHER_CLIENT_EDITING',_0x35336c[_0x3f33cb(0x22e)]=_0x3f33cb(0x22e),_0x35336c[_0x3f33cb(0x99)]='CONFLICT',_0x35336c['CLOSE_ROOM']=_0x3f33cb(0x2ac),_0x35336c['JOIN_ROOM_FAILED']=_0x3f33cb(0x101),_0x35336c[_0x3f33cb(0x9c)]=_0x3f33cb(0x9c),_0x35336c[_0x3f33cb(0x2ec)]=_0x3f33cb(0x2ec),_0x35336c['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x35336c))(ne||{});class ve{constructor(){var _0x180b80=_0x3f33cb;N(this,_0x180b80(0xb6),new _0x11e6d4()),N(this,_0x180b80(0x173),this['_event$'][_0x180b80(0x350)]());}['emitEvent'](_0x5ee01e){var _0x71f260=_0x3f33cb;this[_0x71f260(0xb6)][_0x71f260(0x38f)](_0x5ee01e);}}const bs=_0x43bfb9(_0x3f33cb(0x346));function ys(_0x191c36){var _0x55fc98=_0x3f33cb,_0x12f3bc,_0x116ea7,_0x405aa7,_0x4717c6,_0xb9b057;const _0x2d1b05=_0x191c36[_0x55fc98(0x38e)],_0x360eda=JSON[_0x55fc98(0x2cc)](_0x2d1b05);switch(_0x360eda[_0x55fc98(0x343)]){case F['HEARTBEAT']:case F[_0x55fc98(0x265)]:{const _0xd15590=_0x360eda[_0x55fc98(0x25c)];return{..._0x360eda,'data':_0xd15590,'cmd':_0x360eda['cmd']};}case F['JOIN']:{const _0x235c0b=_0x360eda['joinRsp'];return{..._0x360eda,'data':_0x235c0b,'cmd':_0x360eda[_0x55fc98(0x343)]};}case F[_0x55fc98(0x1b0)]:{const _0x3b08ef=_0x360eda[_0x55fc98(0x156)];switch(_0x3b08ef[_0x55fc98(0x2d6)]){case _0x7f38ce[_0x55fc98(0x123)]:return{..._0x360eda,'data':{..._0x3b08ef,'data':(_0x12f3bc=_0x3b08ef[_0x55fc98(0x2a6)])==null?void 0x0:_0x12f3bc['cs']},'cmd':_0x360eda[_0x55fc98(0x343)]};case _0x7f38ce[_0x55fc98(0xef)]:return{..._0x360eda,'data':{..._0x3b08ef,'data':(_0x116ea7=_0x3b08ef[_0x55fc98(0x1ea)])==null?void 0x0:_0x116ea7['cs']},'cmd':_0x360eda[_0x55fc98(0x343)]};case _0x7f38ce[_0x55fc98(0x1fc)]:return{..._0x360eda,'data':{..._0x3b08ef,'data':(_0x405aa7=_0x3b08ef[_0x55fc98(0x2f5)])==null?void 0x0:_0x405aa7['cs']},'cmd':_0x360eda['cmd']};case _0x7f38ce[_0x55fc98(0x2ee)]:return{..._0x360eda,'data':{..._0x3b08ef,'data':(_0x4717c6=_0x3b08ef['csRejEvent'])==null?void 0x0:_0x4717c6['cs']},'cmd':_0x360eda[_0x55fc98(0x343)]};case _0x7f38ce[_0x55fc98(0x321)]:return{..._0x360eda,'data':{..._0x3b08ef,'data':(_0xb9b057=_0x3b08ef[_0x55fc98(0x22b)])==null?void 0x0:_0xb9b057['cs']},'cmd':_0x360eda[_0x55fc98(0x343)]};case _0x7f38ce['UPDATE_CURSOR']:return{..._0x360eda,'data':{..._0x3b08ef,'data':_0x3b08ef[_0x55fc98(0xcd)]},'cmd':_0x360eda[_0x55fc98(0x343)]};case _0x7f38ce[_0x55fc98(0x32c)]:return{..._0x360eda,'data':{..._0x3b08ef,'data':_0x3b08ef[_0x55fc98(0x262)]},'cmd':_0x360eda[_0x55fc98(0x343)]};case _0x7f38ce['USERS_LEAVE']:return{..._0x360eda,'data':{..._0x3b08ef,'data':_0x3b08ef['leaveEvent']},'cmd':_0x360eda[_0x55fc98(0x343)]};case _0x7f38ce[_0x55fc98(0x311)]:return{..._0x360eda,'data':{..._0x3b08ef,'data':_0x3b08ef[_0x55fc98(0x125)]},'cmd':_0x360eda[_0x55fc98(0x343)]};case _0x7f38ce[_0x55fc98(0x23c)]:case _0x7f38ce['LIVESHARE_OPERATION']:return{..._0x360eda,'data':{..._0x3b08ef,'data':_0x3b08ef[_0x55fc98(0x1f3)]},'cmd':_0x360eda['cmd']};case _0x7f38ce[_0x55fc98(0x26a)]:return{..._0x360eda,'data':{..._0x3b08ef,'data':_0x3b08ef[_0x55fc98(0x125)]},'cmd':_0x360eda[_0x55fc98(0x343)]};case _0x7f38ce['MSG_FOR_ERROR']:return{..._0x360eda,'data':_0x3b08ef,'cmd':_0x360eda[_0x55fc98(0x343)]};case _0x7f38ce[_0x55fc98(0x388)]:return{..._0x360eda,'data':{..._0x3b08ef,'data':_0x3b08ef[_0x55fc98(0x1b1)]},'cmd':_0x360eda[_0x55fc98(0x343)]};case _0x7f38ce[_0x55fc98(0x332)]:return{..._0x360eda,'data':{..._0x3b08ef,'data':_0x3b08ef[_0x55fc98(0x38a)]},'cmd':_0x360eda['cmd']};case _0x7f38ce[_0x55fc98(0xd5)]:return{..._0x360eda,'data':{..._0x3b08ef,'data':_0x3b08ef[_0x55fc98(0x174)]},'cmd':_0x360eda[_0x55fc98(0x343)]};case _0x7f38ce[_0x55fc98(0x2f0)]:return{..._0x360eda,'data':{..._0x3b08ef,'data':_0x3b08ef[_0x55fc98(0xed)]},'cmd':_0x360eda[_0x55fc98(0x343)]};default:return _0x360eda;}}default:return _0x360eda;}}function Ns(_0x573cab){var _0xac4482=_0x3f33cb;switch(_0x573cab[_0xac4482(0x343)]){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0xac4482(0x1df)]({'cmd':_0x573cab[_0xac4482(0x343)],'routeKey':_0x573cab[_0xac4482(0xcb)]});case F[_0xac4482(0x1cf)]:{let _0x4d61ab;switch(_0x573cab[_0xac4482(0x38e)][_0xac4482(0x2d6)]){case _0x7f38ce[_0xac4482(0x2f8)]:{_0x4d61ab={'eventID':_0x7f38ce[_0xac4482(0x2f8)],'updateCursorEvent':_0x573cab['data'][_0xac4482(0x38e)]};break;}case _0x7f38ce[_0xac4482(0x289)]:{_0x4d61ab={'eventID':_0x7f38ce[_0xac4482(0x289)],'leaveEvent':_0x573cab['data']['data']};break;}case _0x7f38ce[_0xac4482(0x32c)]:{_0x4d61ab={'eventID':_0x7f38ce[_0xac4482(0x32c)],'joinEvent':_0x573cab[_0xac4482(0x38e)][_0xac4482(0x38e)]};break;}case _0x7f38ce[_0xac4482(0x311)]:{_0x4d61ab={'eventID':_0x7f38ce[_0xac4482(0x311)],'liveShareNewHost':_0x573cab[_0xac4482(0x38e)]['data']};break;}case _0x7f38ce['LIVESHARE_OPERATION']:{_0x4d61ab={'eventID':_0x7f38ce[_0xac4482(0x19e)],'liveShareOperation':_0x573cab[_0xac4482(0x38e)][_0xac4482(0x38e)]};break;}case _0x7f38ce[_0xac4482(0x26a)]:{_0x4d61ab={'eventID':_0x7f38ce[_0xac4482(0x26a)],'liveShareTerminate':_0x573cab['data'][_0xac4482(0x38e)]};break;}case _0x7f38ce[_0xac4482(0x1f4)]:{_0x4d61ab={'eventID':_0x7f38ce[_0xac4482(0x1f4)],'liveShareRequestHost':_0x573cab['data'][_0xac4482(0x38e)]};break;}case _0x7f38ce['LIVESHARE_FETCH_OPERATIONS']:{_0x4d61ab={'eventID':_0x7f38ce[_0xac4482(0x23c)]};break;}default:_0x4d61ab={'eventID':_0x573cab[_0xac4482(0x38e)][_0xac4482(0x2d6)]};}return JSON[_0xac4482(0x1df)]({'cmd':_0x573cab[_0xac4482(0x343)],'routeKey':_0x573cab[_0xac4482(0xcb)],'collaMsg':_0x4d61ab});}case F[_0xac4482(0x389)]:return JSON['stringify']({'cmd':_0x573cab[_0xac4482(0x343)],'routeKey':_0x573cab[_0xac4482(0xcb)],'joinReq':_0x573cab[_0xac4482(0x38e)]});case F[_0xac4482(0xb4)]:return JSON[_0xac4482(0x1df)]({'cmd':_0x573cab[_0xac4482(0x343)],'routeKey':_0x573cab[_0xac4482(0xcb)],'leaveReq':_0x573cab[_0xac4482(0x38e)]});default:throw new Error(_0xac4482(0x2f3));}}var Ds=Object['getOwnPropertyDescriptor'],Us=(_0x1c023c,_0x24369c,_0x4033d5,_0x5235a0)=>{for(var _0x4d173b=_0x5235a0>0x1?void 0x0:_0x5235a0?Ds(_0x24369c,_0x4033d5):_0x24369c,_0x2e3414=_0x1c023c['length']-0x1,_0x147029;_0x2e3414>=0x0;_0x2e3414--)(_0x147029=_0x1c023c[_0x2e3414])&&(_0x4d173b=_0x147029(_0x4d173b)||_0x4d173b);return _0x4d173b;},De=(_0x1eef5e,_0x36ae25)=>(_0x4a5b0d,_0x103b44)=>_0x36ae25(_0x4a5b0d,_0x103b44,_0x1eef5e);const mi=_0x43bfb9(_0x3f33cb(0x120));function As(_0x1a0145,_0x34c73d,_0x2bc097){var _0x595628=_0x3f33cb;return _0x1a0145+'/'+_0x34c73d+_0x595628(0x144)+_0x2bc097+_0x595628(0x308);}let Ft=class extends _0x15e2a7{constructor(_0x257121,_0x477f7d,_0x54648f,_0x5bda9a,_0x288e5c){var _0x5595fd=_0x3f33cb;super(),this[_0x5595fd(0xee)]=_0x257121,this[_0x5595fd(0x141)]=_0x477f7d,this['_configService']=_0x54648f,this[_0x5595fd(0x259)]=_0x5bda9a,this[_0x5595fd(0x19a)]=_0x288e5c;}[_0x3f33cb(0x358)](_0x2fa536){var _0x47cecd=_0x3f33cb;const _0x3a5db6=this[_0x47cecd(0xee)][_0x47cecd(0x34f)](_0x507d43);if(!_0x3a5db6)throw new Error(_0x47cecd(0x100));const _0x10c568=_0x3a5db6[_0x47cecd(0x348)](_0x2fa536);if(!_0x10c568)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x318dd6=new _0x24e867(),_0x3215d5=new _0x11e6d4();_0x318dd6[_0x47cecd(0x130)](_0x10c568[_0x47cecd(0x105)][_0x47cecd(0xd2)](_0x4c7574=>_0x3215d5[_0x47cecd(0x38f)](_0x4c7574))),_0x318dd6[_0x47cecd(0x130)](_0xe5545b(()=>_0x3215d5[_0x47cecd(0x2a0)]()));const _0x207356=new _0x11e6d4();_0x318dd6[_0x47cecd(0x130)](_0x10c568[_0x47cecd(0x34e)][_0x47cecd(0xd2)](_0x2f6fa4=>_0x207356[_0x47cecd(0x38f)](_0x2f6fa4))),_0x318dd6[_0x47cecd(0x130)](_0xe5545b(()=>_0x207356[_0x47cecd(0x2a0)]()));const _0x188cab=new _0x11e6d4();_0x318dd6[_0x47cecd(0x130)](_0x10c568[_0x47cecd(0x39a)][_0x47cecd(0xd2)](_0xc31660=>{var _0x2a73c5=_0x47cecd;const _0x191509=ys(_0xc31660);_0x188cab[_0x2a73c5(0x38f)](_0x191509);})),_0x318dd6[_0x47cecd(0x130)](_0xe5545b(()=>_0x188cab['complete']()));let _0x462f15;const _0x2d1c1f=()=>{var _0x2f890d=_0x47cecd;_0x207356[_0x2f890d(0x38f)](new Event(_0x2f890d(0xc4))),_0x3215d5[_0x2f890d(0x38f)](new Event(_0x2f890d(0xc4))),_0x462f15[_0x2f890d(0x15c)]();};return _0x462f15={'memberID':'','close$':_0x3215d5[_0x47cecd(0x350)](),'error$':_0x207356[_0x47cecd(0x350)](),'open$':_0x10c568[_0x47cecd(0x322)],'message$':_0x188cab['asObservable'](),'send':_0x148b69=>{var _0x21a964=_0x47cecd;if(_0x148b69[_0x21a964(0x343)]===F[_0x21a964(0x1cf)]){if(_0x148b69[_0x21a964(0x38e)][_0x21a964(0x2d6)]===_0x7f38ce[_0x21a964(0x1f9)]){this[_0x21a964(0x154)](_0x462f15,_0x148b69[_0x21a964(0x38e)])['catch'](_0xbd49c=>{this['_logService']['error'](_0xbd49c),_0x2d1c1f();});return;}if(_0x148b69['data'][_0x21a964(0x2d6)]===_0x7f38ce[_0x21a964(0xd9)]){const _0x3aa488=_0x148b69[_0x21a964(0x38e)];this[_0x21a964(0x203)](_0x3aa488)[_0x21a964(0x278)](_0xf85b59=>{var _0x357d0a=_0x21a964;_0x188cab[_0x357d0a(0x38f)]({'cmd':F[_0x357d0a(0x1b0)],'code':pe['OK'],'routeKey':_0x3aa488[_0x357d0a(0x38e)]['unitID'],'routeType':'','data':{'eventID':_0x7f38ce[_0x357d0a(0x1bb)],'data':{'changesets':_0xf85b59}}});})[_0x21a964(0xd4)](_0xe329e5=>{this['_logService']['error'](_0xe329e5),_0x2d1c1f();});return;}}_0x10c568[_0x21a964(0x337)](Ns(_0x148b69));},'close':()=>{var _0x1d8cc2=_0x47cecd;_0x10c568[_0x1d8cc2(0x15c)](),_0x318dd6[_0x1d8cc2(0x16d)]();}},_0x462f15;}async['_submitChangeset'](_0x1910d3,_0x2068fc){var _0x5c77ee=_0x3f33cb,_0x343d18;const {unitType:_0x276940,unitID:_0xc9e683,changeset:_0x58bf8a}=_0x2068fc[_0x5c77ee(0x38e)],_0x21ba3c={'unitID':_0xc9e683,'memberID':_0x1910d3[_0x5c77ee(0x1bd)],'type':_0x276940,'changeset':_0x2270a8(_0x58bf8a)},_0x3eb8a9=this[_0x5c77ee(0x27e)]['getConfig'](K),_0x1fdcae=As((_0x343d18=_0x3eb8a9==null?void 0x0:_0x3eb8a9[_0x5c77ee(0x180)])!=null?_0x343d18:Cs,_0x276940,_0xc9e683);try{await this[_0x5c77ee(0x141)][_0x5c77ee(0x10c)](_0x1fdcae,{'body':_0x21ba3c});}catch(_0x4ba434){throw this[_0x5c77ee(0x259)]['error'](_0x5c77ee(0xbc),_0x5c77ee(0x21d)),_0x4ba434;}}async['_fetchMissChangesets'](_0x3cb509){var _0x239175=_0x3f33cb;const {unitID:_0x2d1cca,from:_0x47359d,to:_0x534703,unitType:_0xf6e7ca}=_0x3cb509['data'];return(await this[_0x239175(0x19a)][_0x239175(0x264)]({'metadata':void 0x0},{'unitID':_0x2d1cca,'type':_0xf6e7ca,'from':_0x47359d,'to':_0x534703}))[_0x239175(0x10a)];}};Ft=Us([De(0x0,_0x289be2(_0x20dc98)),De(0x1,_0x289be2(_0x202828)),De(0x2,_0x3594ab),De(0x3,_0x575f9c),De(0x4,_0x56f565)],Ft);const ws=_0x3f33cb(0x275);function Ps(_0x1c8ff0){var _0x4bd7eb=_0x3f33cb;return JSON[_0x4bd7eb(0x1df)](_0x1c8ff0)[_0x4bd7eb(0x2f6)];}class gi{constructor(){var _0x3db6e3=_0x3f33cb;N(this,_0x3db6e3(0x34a),new _0x11e6d4()),N(this,_0x3db6e3(0x24d),this[_0x3db6e3(0x34a)][_0x3db6e3(0x350)]());}[_0x3f33cb(0x33b)](_0x561c4f){var _0x2cf80f=_0x3f33cb;this[_0x2cf80f(0x34a)][_0x2cf80f(0x38f)](_0x561c4f);}}var Ms=Object['getOwnPropertyDescriptor'],Ls=(_0x3ecabe,_0x591e9a,_0x5ba18a,_0x448777)=>{for(var _0x3a9d5b=_0x448777>0x1?void 0x0:_0x448777?Ms(_0x591e9a,_0x5ba18a):_0x591e9a,_0x324645=_0x3ecabe['length']-0x1,_0x369905;_0x324645>=0x0;_0x324645--)(_0x369905=_0x3ecabe[_0x324645])&&(_0x3a9d5b=_0x369905(_0x3a9d5b)||_0x3a9d5b);return _0x3a9d5b;},Vt=(_0x2a02a8,_0x2e50d0)=>(_0x32b16f,_0x3bcb6e)=>_0x2e50d0(_0x32b16f,_0x3bcb6e,_0x2a02a8);let we=class extends _0x15e2a7{constructor(_0x3b5df5,_0x5dab90){var _0x3b098e=_0x3f33cb;super(),N(this,'_roomMembers',new Map()),N(this,_0x3b098e(0xc6),new _0x11e6d4()),(this['_univerInstanceService']=_0x3b5df5,this[_0x3b098e(0xdc)]=_0x5dab90,this[_0x3b098e(0x303)](_0x3f4b1e(this[_0x3b098e(0x198)]['getTypeOfUnitDisposed$'](_0x26aafa[_0x3b098e(0xce)])[_0x3b098e(0x2b6)](_0x55fc2c(_0x5b131d=>_0x5b131d[_0x3b098e(0x324)]())),this[_0x3b098e(0x198)][_0x3b098e(0x15b)](_0x26aafa['UNIVER_DOC'])[_0x3b098e(0x2b6)](_0x55fc2c(_0x463dd5=>_0x463dd5[_0x3b098e(0x324)]())),this[_0x3b098e(0x198)][_0x3b098e(0x15b)](_0x26aafa[_0x3b098e(0x212)])['pipe'](_0x55fc2c(_0x2fbbd4=>_0x2fbbd4['getUnitId']())))[_0x3b098e(0xd2)](_0x4dd039=>this[_0x3b098e(0x149)](_0x4dd039))));}[_0x3f33cb(0x1a8)](_0x2fe11a){var _0x5660b8=_0x3f33cb;return this[_0x5660b8(0x1cc)][_0x5660b8(0x2d5)](_0x2fe11a)?_0x4833a9(this[_0x5660b8(0x1cc)]['get'](_0x2fe11a)):this[_0x5660b8(0xc6)][_0x5660b8(0x2b6)](_0x55fc2c(_0x17a6b6=>{var _0x2b5e5b=_0x5660b8;if(_0x17a6b6===_0x2fe11a)return this[_0x2b5e5b(0x1cc)][_0x2b5e5b(0x34f)](_0x17a6b6);}));}[_0x3f33cb(0xe8)](_0x4a8a12){var _0x436926=_0x3f33cb;this[_0x436926(0xdc)][_0x436926(0xe8)](_0x4a8a12);}[_0x3f33cb(0x13e)](){var _0x55ebb4=_0x3f33cb;return this[_0x55ebb4(0xdc)][_0x55ebb4(0x13e)]();}[_0x3f33cb(0x287)](_0xf65523,_0x2bd3c2){var _0x3d9614=_0x3f33cb;let _0x21a2a6=this['_roomMembers'][_0x3d9614(0x34f)](_0xf65523);_0x21a2a6||(_0x21a2a6=new xs(),this[_0x3d9614(0x1cc)]['set'](_0xf65523,_0x21a2a6),this[_0x3d9614(0xc6)]['next'](_0xf65523)),_0x21a2a6[_0x3d9614(0x287)](_0x2bd3c2);}[_0x3f33cb(0x175)](_0x5e72f5,_0x452944){var _0x553d84=_0x3f33cb;const _0x354be2=this['_roomMembers'][_0x553d84(0x34f)](_0x5e72f5);_0x354be2&&_0x354be2[_0x553d84(0x175)](_0x452944);}[_0x3f33cb(0x2a1)](_0x426535){var _0x1bdcdf=_0x3f33cb;return this[_0x1bdcdf(0x1cc)][_0x1bdcdf(0x34f)](_0x426535);}[_0x3f33cb(0x28c)](_0xb8bd13,_0x76642f){var _0x4ad9d3=_0x3f33cb;const _0x5bbd93=this[_0x4ad9d3(0x1cc)][_0x4ad9d3(0x34f)](_0xb8bd13);if(_0x5bbd93)return _0x5bbd93['getMember'](_0x76642f);}[_0x3f33cb(0x149)](_0x97387c){var _0x547214=_0x3f33cb;const _0x53d531=this[_0x547214(0x1cc)][_0x547214(0x34f)](_0x97387c);_0x53d531&&(_0x53d531['dispose'](),this[_0x547214(0x1cc)][_0x547214(0x108)](_0x97387c));}[_0x3f33cb(0x16d)](){var _0x2ad1cd=_0x3f33cb;this['_roomMembers'][_0x2ad1cd(0x386)](_0x526b99=>_0x526b99['dispose']()),this[_0x2ad1cd(0x1cc)]['clear'](),this['_roomCreated$']['complete']();}};we=Ls([Vt(0x0,_0x2366c1),Vt(0x1,_0x289be2(_0x292397))],we);function _0x3cb4(){var _0x5572d8=['ALREADY_EXISTS','_executeRemoteChangeset','editingUnit','_memberService','/universer-api/oidc/authpage','EvpKDF','Univer','liveShareOperation','LIVESHARE_REQUEST_HOST','hasOwnProperty','c2Prime','ONLINE','_sessions','SUBMIT_CHANGESET','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','[FetchMissState]','NEW_CHANGESETS','getAllMembers','Base','YUUMI_ALL_TABLES_IS_INVALID','kdf','session.join-failed','[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.','_fetchMissChangesets','SYNCED','_onRemoteRetry','fetchThroughInterceptors','/universer-api/snapshot/','getMemberID','unitInfo$','slice','collaboratorID','_updateLocalCache','_startTelemetryCollaborationNewChangeset','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','SerializableCipher','getUnitType','MD5','UNIVER_SLIDE','setConfig','_collaborationTimeoutTimer','requireSession','save\x20fail\x20reason\x20is\x20','_change$','_getAPIPrefixPath','_initDependencies','readAsDataURL','headers','pending','submit\x20changeset\x20error!','_transformService','executeCommand','_xformMode','reduce','_onFetchMissResult','method','_eventService','_minBufferSize','_updateStatus','onTransformRemoteChangesetByStateCache','ivSize','APPLY_PERMISSION_DENIED','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','csShouldRetryEvent','transformSelections','createInstance','PERMISSION_DENIED','/universer-api/comb','_telemetryService','8181210bbopXm','setShowComponents','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_transformSelections','onStarting','url','body','find','_commandService','salt','?url=','LIVESHARE_FETCH_OPERATIONS','onTransformState','_localeService','socket\x20close','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','AWAITING','_oKey','getUnit','UnitEmbedded','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_onRecvEvent','_onRemoteChangeset','OTHER_CLIENTS_EDITING','_doFinalize','_replayCachedMutations','_createInitialState','COMPLETION_FINISHED','commentUpdate$','selections','ws://127.0.0.1:8000/universer-api/comb/connect','LICENSE_MAX_UNITS_EXCEEDED','_getAPIPrefix','subject','__esModule','_sendingTimer','saveSnapshot','HEARTBEAT','_stopTelemetryCollaborationNewChangeset','APPLY_REJECT','_logService','encode','/block/','infoRsp','[CollaborationSessionService]','People','INVITE_CODE_HAS_BEEN_UES','ceil','_clearRetryConnectingTimer','joinEvent','_sendHeartbeatTimer','fetchMissingChangesets','HELLO','[SyncedState]:\x20received\x20acknowledgement.','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','init','_applyRemoteChangeset','LIVESHARE_TERMINATE','not_collab','enableAuthServer','_shouldReportTelemetry','PERSON','online$','downloadEndpointUrl','26429WTKTKt','revision','UNDEFINED','BASE64','collaboration_new_changeset','loadDoc','4JNDXnr','then','Base64','_mode','_onRemoteRejected','extend','startsWith','_configService','unitID','&assign=','COMPRESS_MUTATION_APPLY','origin','[PendingState]:\x20received\x20acknowledgement.','_data','OFFLINE','byteLength','updateMember','error','USERS_LEAVE','onRemoteRej','equals','getMember','_queuedRemoteChangesets','_collaborationUIEventService','from','objects','saveSheetBlock','AWAITING_WITH_PENDING','_socketService','_members$','RETRY_CONNECTING_MAX_COUNT','getOwnPropertyDescriptor','transformChangesets','CBC','enableCollaboration','_changesetReqId','_doReset','_createSocket','CHANGESET_REVISION_CONFILICT','_showConflictNotification','JOIN_ROOM_NOT_EXISTS','complete','getRoom','getImage','userID','AES','size','permissionRejEvent','_clearHeartbeatTimer','ERROR_IMAGE_TYPE','LICENSE_EXPORT_SIZE_EXCEEDED','SNAPSHOT_HAS_BEEN_REMOVED','onStateChange','CLOSE_ROOM','_clearRedo','_toggleOnline','\x20-\x20','onRemoteAck','MSG_FOR_ERROR','snapshotServerUrl','_onOffline','_exhaustRemoteChangesetQueue','&source=','pipe','ERROR_IMAGE','entityInit$','_process','YUUMI_SUBSCRIPTION_NOT_FOUND','pluginName','resend','result','formatter','unit-cache-','dispose$','conflict','baseRev','_resendTimer','create','_undoRedoService','_state$','INVALID_INVITE_CODE','file','UNIVER_COLLABORATION_CLIENT_PLUGIN','getWorkbookSelections','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','parse','socket\x20open.','session.room-cnt-exceeds','socketService','DEFAULT_FILE_NAME','Pkcs7','UserProfileImg','crypto','LICENSE_DISTRO_REJECTED','has','eventID','_transitionLocked','change$','status','pauseCollaboration','interceptor','unpad','_revisionService','min','POST','getTypeOfUnitAdded$','_nRounds','setWaitCount','onTransformSelections','onSendChangeset','unknown','_resendTimeout','_scheduleCompleteTimestamp','Utf8','call','resolve','_clearCollaborationTimeoutTimer','SOCKET_FAILED','/-/object/list','CHANGESET_REJ','PENDING','UNISCRIPT_RUN','MOBILE_VERIFY_CODE_MISMATCH','_ENC_XFORM_MODE','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_onLocalMutation','newCsEvent','length','_members','UPDATE_CURSOR','/universer-api/user/session-ticket','_getSignURL','collaboration-client.config','getCollabEntity','NOT_FOUND','_transformRemoteChangesetByStateCache','sheets','_getUndoStack','charAt','isArray','disposeWithMe','WordArray','NoPadding','image/gif','_sender','/new_changes','collaborators','_imageSourceCache','EMAIL_HAS_BEEN_BOUND','fetchMiss','algo','updateSnapshot','byteOffset','StreamCipher','LIVESHARE_NEW_HOST','objectType','filter','capture','fetch_missing','_localCacheService','LOCAL_CACHE_INTERVAL','_getDownloadEndpointURL','range','string','getImageSourceCache','getSnapshotAPIPath','_replaceFileID','TOO_MANY_REQUESTS','FileId','_retryConnectingTimer','CHANGESET_SHOULD_RETRY','open$','_sessionStatus$','getUnitId','awaiting','76tVApUg','indexOf','members','[PendingState]:\x20received\x20rejection.','_key','YUUMI_TABLE_NOT_FOUND_IN_UNIT','USERS_ENTER','createDecryptor','buffer','_createHelper','awaitingChangeset','updateOfflineData','UPDATE_PERMISSION_OBJ','putCollaborators','SUCCUSS','prototype','createEncryptor','send','getDeserializedSheetBlock','_getLoginPath','rev','onCommentUpdate','/-/object/-/batch_allowed','stopTime','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','/universer-api/uniscript','m2Prime','BlockCipher','_status$','cmd','image/jpg','_iKey','univer-pro.collaboration-client.network-condition.service','updatePermissionPoint','createSocket','_getRedoStack','_commentUpdate$','roomInfos','focused$','APPLY_NON_SEQUENTIAL_REVISION','error$','get','asObservable','MUTATION','onSyncEditingCollabCursor','INTERNAL_ERROR','sigBytes','_permissionService','_timeoutTimer','getSheetBlock','_doCreateSocket','_isPermissionRej','objectActions','_onUserLeave','_initMergeInterceptor','UNKNOWN_CMD','_unitInfo$','params','splice','c1Prime','_sendHeartbeat','_cipher','subUnitId','/resources','_tryReconnect','/universer-api/file/{fileID}/sign-url','_onRemoteACK','_getUploadFileURL','decryptBlock','_listenToNetworkCondition','localeService','originalMeta','code','session.room-permission-denied','deleteCollaborator','encryptBlock','textRanges','/role','getUnitStatus$','reqId','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','$super','closeSession','allowed','_doCryptBlock','createCollaborator','onTransformRemoteChangesetByIMECache','title','toggleOffline','_parse','_createInitialStateImpl','registerHTTPInterceptor','NO_OTHER_CLIENTS_EDITING','format','_entityInit$','cfg','forEach','UNIVER_DOC','COMMENT_UPDATE','JOIN','updatePermissionObjEvent','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','encrypt','_entities','data','next','toggleOnline','_socket','_handlerCallback','_collabSessionService','_onJoinRoomEvent','requestParams','getActiveSheet','_commentService','_iv','session','message$','loadUnit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','apply','_lockTransition','ciphertext','src','status$','exports','7430409TSrZut','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','repeat','pad','CONFLICT','/rev/','processBlock','SOCKET_FAILED_RETRY','getFocusedUnit','GLOBAL_ROOMS_CNT_EXCEEDS','_substituteUndoStack','emitEvent','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_DEC_XFORM_MODE','every','loadSheet','_getCurrentRevision','[OfflineState]:\x20received\x20rejection.','_retryCount','YUUMI_CONNECTOR_URL_NOT_FOUND','transformUndoRedo','lib','getCurrentSelections','enc','_schedule','loginUrlKey','_prevBlock','_joinRoom','__creator','_compressMutationService','signUrlServerUrl','LEAVE','ERROR_EXCEED_SIZE','_event$','onRemoteChangeset','reverse','_sheetTransformSelectionsService','_waitForHeartbeatResponse','_telemetryInfo','[CollaborationSession]','_waitCount','offline','_invKeySchedule','INVALID_ARGUMENT','_substituteRedoStack','appendMutation','_collaborationPaused','connection\x20error','sessionStatus','_roomCreated$','fromCharCode','BufferedBlockAlgorithm','copyFileMeta','onRemoteRetry','routeKey','values','updateCursorEvent','UNIVER_SHEET','_initUnitPermissionChange','getInterceptPoints','override','subscribe','84qyzaZL','catch','SHOULD_CLOSE_CONN','_initCloseConn','onCommandExecuted','put','FETCH_MISSING','_socket$','_scheduleCollaborationTimeoutTimer','_userManagerService','_keySchedule','FAIL','duration','UNAUTHENTICATED','/object','join','&to=','_map','_remoteChangesetQueue','batchAllowed','max','setCurrentUser','_updateState','YUUMI_NO_CUBOID_FOR_QUESTION','YUUMI_ASYNCIO_CANCELLED','loadOfflineData','uniscriptRunEvent','_injector','CHANGESET_ACK','LOGIN_FAILED','addHandlerCallback','USER_NOT_INVITED_CODE','Decryptor','updateCollaborator','HttpExport','getTime','getValue','HEARTBEAT_INTERVAL','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','unitId\x20is\x20not\x20found','3534496HSBgnw','symbol','_clearLocalCache','_onConnectionFailed','hasher','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','JOIN_ROOM_FAILED','localCacheService','awaiting_with_pending','onlyLocal','close$','list','padding','delete','random','changesets','floor','post','JOIN_ROOM_FULL','finalize','_reverseMap','_type','APPLY_DUPLICATED','getCollabEntity$','COMPRESS_MUTATION_SEND','SNAPSHOT_URL_KEY','_onConnectionOpen','_throwTelemetryCollaborationNewChangeset','_changesetSessionId','_createHmacHelper','clone','_onUserJoin','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_socketMessageSubscription','UNKNOWN_CODE','encodeURIComponent','SHA1','univer-pro.collaboration-client-socket-service','_tryEnsureSocket','NOT_COLLAB','PERMISSION_REJ','_collaborationSessionService','liveShareNewHost','update','LICENSE_IMPORT_SIZE_EXCEEDED','image/bmp','function','_transformStack','_disableEditing','getCurrentRevOfUnit','mutations','msCrypto','Error\x20on\x20receiving\x20event','add','Hex','_nDataBytes','_onMessage','responseType','_instanceService','unitId','_snapshotService','INVITE_CODE_ALREADY_BOUND','164136Kezuin','YUUMI_AI_RUN_FAILED','_candidateSocket','sessionStatus$','members$','getCurrentUser','sid','initWorkbookPermissionChange','_httpService','charCodeAt','randomBytes','/unit/','concat','YUUMI_UNABLE_LOAD_URL','EMAIL_VERIFY_CODE_MISMATCH','_config','_removeRoom','/universer-api/authz','location','enableSingleActiveInstanceLock','_transformStateCache','collaboration-client.local-cache-service','_incrementRevisionNumber','PY_RUNTIME_SCRIPT_ERROR','mixIn','key','blockSize','_submitChangeset','FETCH_MISS','collaMsg','[DataLoaderService]','JOINING','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','/universer-api/stream/file/upload','getTypeOfUnitDisposed$','close','reject','7234855lWDQkf','snapshot','_socketReady','_registerDependencies','default','saveChangeset','actions','objectID','onMissingChangesets','_startCollaboration','_syncEditingCollabCursor','reconnect','_HTTPService','transformStack\x20failed!','debug','dispose','[CollaborationUndoRedoService]','patch','_transformIMECache','_handler','execute','event$','shouldCloseConn','removeMember','onLocalMutation','OPTIONAL','toString','_clearScheduledTask','_doProcessBlock','avatar','fetching\x20missing\x20changesets\x20from\x20','_state','uploadFileServerUrl','HmacSHA1','collabSubmitChangesetUrl','_onConflict','_createHandler','BlockCipherMode','clear','map','_emitMembers','[SyncedState]:\x20received\x20rejection.','session.room-full','_pendingMutations','loadUnitOfRevision','Undefined','fromCollab','[CollaborationEntity]','_getSendChangesetTimeout','image/jpeg','UnitSnapshot','YUUMI_URL_COL_OUT_OF_RANGE','state','HttpImport','HMAC','push','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','/allowed','_univerInstanceService','_checkMissing','_snapshotServerService','OpenSSL','confirm','state$','LIVESHARE_OPERATION','decrypt','_keyPriorReset','_unlockTransition','saveImage','href','getConfig','mode','socket$','ENSURE_SNAPSHOT_EXECUTION','waitForRoom$','JOIN_ROOM_PERMISSION_DENIED','getSheetId','resourceIDs','univer-pro.collaboration-client.single-active-unit-service','words','APPLY_REVISION_CONFILICT','_clearTimeoutTimer','RECV','commentUpdateEvent','isPermissionRej','_unitID','defineProperty','transformMutationsWithChangeset','_hash','OTHER_CLIENT_EDITING','name','UNRECOGNIZED','?size=','PSEUDO_FETCH_MISSING_RESULT','3917355QLwZKL','memberID','includes','Failed\x20to\x20update\x20permission\x20point','/fetchmissing?from=','getLatestCsReqIdBySid','keySize','_resendWithTimeout','type','_append','_clearUndo','substr','[CollaborationState]:\x20apply\x20error!','_singleActiveUnitService','_onCombEvent','authzUrl','_roomMembers','__Key__','_getCtorByUniverType','INGEST','telemetry\x20info\x20is\x20not\x20initialized','/collaborator','reset','_hasher','_networkConditionService','addImageSourceCache','_awaitingChangeset','now','MOBILE_HAS_BEEN_BOUND','compute','target','Hasher','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_toggleOffline','{fileID}','stringify','_init','_decreaseWaiting','WECHAT_HAS_BEEN_BOUND','clamp','/object/','_redoStacks','YUUMI_RATE_OVER_LIMIT','_acknowledgedAwaitingChangeset','_rescheduleHeartbeat','set','csAckEvent','_transformUndoredo'];_0x3cb4=function(){return _0x5572d8;};return _0x3cb4();}class xs extends _0x15e2a7{constructor(){var _0x2e4490=_0x3f33cb;super(...arguments),N(this,_0x2e4490(0x2f7),new Map()),N(this,_0x2e4490(0x294),new _0x124502(this['_members'])),N(this,_0x2e4490(0x13d),this[_0x2e4490(0x294)][_0x2e4490(0x350)]());}[_0x3f33cb(0x16d)](){var _0x1cd222=_0x3f33cb;this['_members'][_0x1cd222(0x184)]();}[_0x3f33cb(0x287)](_0x1568f1){var _0x3335b7=_0x3f33cb;this[_0x3335b7(0x2f7)]['set'](_0x1568f1[_0x3335b7(0x1bd)],_0x1568f1),this[_0x3335b7(0x186)]();}[_0x3f33cb(0x175)](_0x1e6794){var _0x2ec028=_0x3f33cb;this[_0x2ec028(0x2f7)][_0x2ec028(0x108)](_0x1e6794);}[_0x3f33cb(0x28c)](_0x267866){var _0x47d661=_0x3f33cb;return this[_0x47d661(0x2f7)][_0x47d661(0x34f)](_0x267866);}[_0x3f33cb(0x1fd)](){var _0x1f7166=_0x3f33cb;return Array[_0x1f7166(0x28f)](this[_0x1f7166(0x2f7)][_0x1f7166(0xcc)]());}[_0x3f33cb(0x186)](){var _0x290fd0=_0x3f33cb;this[_0x290fd0(0x294)]['next'](this[_0x290fd0(0x2f7)]);}}var ks=Object[_0x3f33cb(0x296)],$s=(_0x1cfe8e,_0x55f492,_0x1af208,_0x394e11)=>{var _0x1f4965=_0x3f33cb;for(var _0x532016=_0x394e11>0x1?void 0x0:_0x394e11?ks(_0x55f492,_0x1af208):_0x55f492,_0xefd576=_0x1cfe8e[_0x1f4965(0x2f6)]-0x1,_0x127926;_0xefd576>=0x0;_0xefd576--)(_0x127926=_0x1cfe8e[_0xefd576])&&(_0x532016=_0x127926(_0x532016)||_0x532016);return _0x532016;},Ce=(_0x56f17f,_0x4ba20a)=>(_0x221d0c,_0x5acdf3)=>_0x4ba20a(_0x221d0c,_0x5acdf3,_0x56f17f),ge=(_0x2d5bf9=>(_0x2d5bf9[_0x2d5bf9['IDLE']=0x0]='IDLE',_0x2d5bf9[_0x2d5bf9[_0x3f33cb(0x158)]=0x1]=_0x3f33cb(0x158),_0x2d5bf9[_0x2d5bf9['OFFLINE']=0x2]='OFFLINE',_0x2d5bf9[_0x2d5bf9[_0x3f33cb(0x1f7)]=0x3]=_0x3f33cb(0x1f7),_0x2d5bf9))(ge||{});const Wt={[pe[_0x3f33cb(0xde)]]:_0x3f33cb(0x201),[pe[_0x3f33cb(0x10d)]]:_0x3f33cb(0x188),[pe[_0x3f33cb(0x29f)]]:'session.room-not-exists',[pe[_0x3f33cb(0x1a9)]]:_0x3f33cb(0x36f),[pe[_0x3f33cb(0x9e)]]:_0x3f33cb(0x2ce)};let gt=class extends _0x4447d4{constructor(_0x5071b8,_0x442eae,_0x1a5af1,_0xcba218,_0x7b50bf,_0x7e5cc5,_0x25fb85,_0x1cc3e1){var _0x3802cb=_0x3f33cb;super(),N(this,_0x3802cb(0x323),new _0x124502(0x0)),N(this,_0x3802cb(0x13c),this[_0x3802cb(0x323)][_0x3802cb(0x350)]()),N(this,_0x3802cb(0xb6),new _0x11e6d4()),N(this,_0x3802cb(0x173),this[_0x3802cb(0xb6)]['asObservable']()),N(this,_0x3802cb(0x391)),N(this,'_socketMessageSubscription'),N(this,_0x3802cb(0x214)),N(this,_0x3802cb(0x26d),!0x1),N(this,_0x3802cb(0xbb),null),(this['_unitID']=_0x5071b8,this[_0x3802cb(0x259)]=_0x1a5af1,this['_configService']=_0xcba218,this['_memberService']=_0x7b50bf,this['_commentService']=_0x7e5cc5,this[_0x3802cb(0x28e)]=_0x25fb85,this[_0x3802cb(0x230)]=_0x1cc3e1,this[_0x3802cb(0x26d)]=!!this[_0x3802cb(0x230)],_0x442eae[_0x3802cb(0x2b6)](_0x45a280(this[_0x3802cb(0x2c0)]))[_0x3802cb(0xd2)](_0x403cda=>{var _0x439b08=_0x3802cb,_0x1b6118;typeof _0x403cda>'u'||(this[_0x439b08(0x391)]=_0x403cda,_0x403cda?(this[_0x439b08(0xb0)](_0x403cda),this[_0x439b08(0x11c)]=_0x403cda[_0x439b08(0x39a)][_0x439b08(0xd2)](_0x304d04=>{var _0x2c6a40=_0x439b08;_0x304d04[_0x2c6a40(0xcb)]===this[_0x2c6a40(0x1b3)]&&this[_0x2c6a40(0x1ca)](_0x304d04);})):(this[_0x439b08(0x116)](),this['_sessionStatus$'][_0x439b08(0x38f)](0x2),(_0x1b6118=this[_0x439b08(0x11c)])==null||_0x1b6118['unsubscribe'](),this[_0x439b08(0x11c)]=null));}));}get[_0x3f33cb(0xc5)](){var _0xb7584b=_0x3f33cb;return this[_0xb7584b(0x323)][_0xb7584b(0xf7)]();}[_0x3f33cb(0x208)](){var _0x190691=_0x3f33cb,_0x10e428,_0x12ffe2;return(_0x12ffe2=(_0x10e428=this['_socket'])==null?void 0x0:_0x10e428[_0x190691(0x1bd)])!=null?_0x12ffe2:null;}['dispose'](){var _0x117da3=_0x3f33cb;super[_0x117da3(0x16d)](),this[_0x117da3(0x2c0)][_0x117da3(0x38f)](),this['dispose$'][_0x117da3(0x2a0)]();}[_0x3f33cb(0x15c)](){var _0xb314af=_0x3f33cb,_0x155ad1,_0x292375;this[_0xb314af(0x116)](),(_0x155ad1=this['_socket'])==null||_0x155ad1[_0xb314af(0x337)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0xb314af(0x1b3)]}}),(_0x292375=this[_0xb314af(0x391)])==null||_0x292375['close'](),this[_0xb314af(0xb6)][_0xb314af(0x2a0)](),this[_0xb314af(0x323)][_0xb314af(0x2a0)](),this['dispose']();}[_0x3f33cb(0x1ca)](_0x193b9f){var _0x448040=_0x3f33cb;_0x193b9f[_0x448040(0x343)]===F[_0x448040(0x389)]?this[_0x448040(0x394)](_0x193b9f):_0x193b9f['cmd']===F['RECV']&&this[_0x448040(0x246)](_0x193b9f);}[_0x3f33cb(0xb0)](_0x213180){var _0x2af3d0=_0x3f33cb;this['_sessionStatus$'][_0x2af3d0(0x38f)](0x1),_0x213180[_0x2af3d0(0x337)]({'cmd':F['JOIN'],'routeKey':this[_0x2af3d0(0x1b3)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2af3d0(0x1b3)]}]}});}[_0x3f33cb(0x394)](_0x561b3a){var _0x4f797e=_0x3f33cb,_0x743fc9;if(_0x561b3a['code']in Wt){this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x4f797e(0x101)],'data':Wt[_0x561b3a[_0x4f797e(0x36e)]]}),this[_0x4f797e(0x323)]['next'](0x2);return;}this[_0x4f797e(0x323)][_0x4f797e(0x38f)](0x3);const _0x431bfe=(_0x743fc9=_0x561b3a['data'][_0x4f797e(0x34b)][this[_0x4f797e(0x1b3)]])==null?void 0x0:_0x743fc9[_0x4f797e(0x328)];_0x431bfe&&_0x431bfe[_0x4f797e(0x386)](_0x16936b=>this['_memberService'][_0x4f797e(0x287)](this[_0x4f797e(0x1b3)],_0x16936b));}[_0x3f33cb(0x246)](_0x52c694){var _0x307648=_0x3f33cb;try{const _0x59f2d8=_0x52c694[_0x307648(0x38e)];switch(_0x59f2d8[_0x307648(0x2d6)]){case _0x7f38ce[_0x307648(0x32c)]:this[_0x307648(0x11a)](_0x59f2d8),this['_event$']['next'](_0x59f2d8);break;case _0x7f38ce[_0x307648(0x289)]:this[_0x307648(0x35b)](_0x59f2d8),this[_0x307648(0xb6)]['next'](_0x59f2d8);break;case _0x7f38ce[_0x307648(0xef)]:case _0x7f38ce[_0x307648(0x321)]:this[_0x307648(0x257)](),this[_0x307648(0x2eb)](),this[_0x307648(0xb6)][_0x307648(0x38f)](_0x59f2d8);break;case _0x7f38ce[_0x307648(0x2b1)]:this[_0x307648(0x259)]['error'](_0x307648(0x216)+JSON[_0x307648(0x1df)](_0x59f2d8)),this[_0x307648(0xb6)][_0x307648(0x38f)](_0x59f2d8);break;case _0x7f38ce['COMMENT_UPDATE']:this[_0x307648(0x397)][_0x307648(0x33b)](_0x59f2d8[_0x307648(0x38e)]),this[_0x307648(0xb6)][_0x307648(0x38f)](_0x59f2d8);break;default:this[_0x307648(0xb6)][_0x307648(0x38f)](_0x59f2d8);}}catch(_0x5ea0cb){this['_logService'][_0x307648(0x288)](_0x5ea0cb,_0x52c694);}}['_onUserJoin'](_0xee88a4){var _0x485a71=_0x3f33cb;this[_0x485a71(0x1ef)][_0x485a71(0x287)](this[_0x485a71(0x1b3)],_0xee88a4[_0x485a71(0x38e)]);}[_0x3f33cb(0x35b)](_0x2ef1d8){var _0x36bfe2=_0x3f33cb;this[_0x36bfe2(0x1ef)][_0x36bfe2(0x175)](this[_0x36bfe2(0x1b3)],_0x2ef1d8[_0x36bfe2(0x38e)][_0x36bfe2(0x1bd)]);}async[_0x3f33cb(0x337)](_0x41e6e6,_0x11e625){var _0x13e9dd=_0x3f33cb;if(this[_0x13e9dd(0xc5)]!==0x3||!this[_0x13e9dd(0x391)])throw new Error(_0x13e9dd(0x11b));try{_0x41e6e6[_0x13e9dd(0x2d6)]===_0x7f38ce[_0x13e9dd(0x1f9)]&&(this[_0x13e9dd(0xdb)](),this[_0x13e9dd(0x20d)](_0x41e6e6)),this[_0x13e9dd(0x391)]['send']({'cmd':F[_0x13e9dd(0x1cf)],'routeKey':_0x11e625,'routeType':'','data':_0x41e6e6});}catch(_0x3dbded){this['_logService']['error'](_0x3dbded);}}[_0x3f33cb(0xdb)](){var _0x407a91=_0x3f33cb,_0x4756b1;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x962aad=_0x2cdc;this[_0x962aad(0x214)]=null,this[_0x962aad(0x28e)][_0x962aad(0xa0)]({'id':ne['SUBMIT_CHANGESET_TIMEOUT']});},(_0x4756b1=this[_0x407a91(0x27e)]['getConfig'](di))!=null?_0x4756b1:fi);}[_0x3f33cb(0x2eb)](){var _0x327ba8=_0x3f33cb;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x327ba8(0x214)]),this[_0x327ba8(0x214)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x39125c){var _0x57a2e9=_0x3f33cb;if(!this['_shouldReportTelemetry'])return;const {data:_0x19156f}=_0x39125c,{unitID:_0x3bb784,changeset:_0x2c9ad7}=_0x19156f,{mutations:_0x1fae34,type:_0xb1217a}=_0x2c9ad7;this[_0x57a2e9(0xbb)]={'unitId':_0x3bb784,'type':_0xb1217a,'startTime':performance[_0x57a2e9(0x1d7)](),'stopTime':0x0,'duration':0x0,'size':Ps(_0x1fae34)};}[_0x3f33cb(0x257)](){var _0x34a08b=_0x3f33cb;if(this['_shouldReportTelemetry']){if(!this[_0x34a08b(0xbb)]){this[_0x34a08b(0x259)][_0x34a08b(0x288)](_0x34a08b(0xbc),_0x34a08b(0x1d0));return;}this[_0x34a08b(0xbb)]['stopTime']=performance['now'](),this[_0x34a08b(0xbb)][_0x34a08b(0xdf)]=this['_telemetryInfo'][_0x34a08b(0x33d)]-this[_0x34a08b(0xbb)]['startTime'],this[_0x34a08b(0x230)][_0x34a08b(0x314)](ws,this[_0x34a08b(0xbb)]),this[_0x34a08b(0xbb)]=null;}}[_0x3f33cb(0x116)](){this['_telemetryInfo']=null;}};gt=$s([Ce(0x2,_0x575f9c),Ce(0x3,_0x3594ab),Ce(0x4,_0x289be2(we)),Ce(0x5,_0x289be2(gi)),Ce(0x6,_0x289be2(ve)),Ce(0x7,_0x3d442c(_0x213ec8))],gt);var Hs=Object[_0x3f33cb(0x296)],Bs=(_0x29cb0a,_0x2772fb,_0x359614,_0x3a869f)=>{var _0x4fa6ba=_0x3f33cb;for(var _0x5113ab=_0x3a869f>0x1?void 0x0:_0x3a869f?Hs(_0x2772fb,_0x359614):_0x2772fb,_0x3c5cb0=_0x29cb0a[_0x4fa6ba(0x2f6)]-0x1,_0x30cd0a;_0x3c5cb0>=0x0;_0x3c5cb0--)(_0x30cd0a=_0x29cb0a[_0x3c5cb0])&&(_0x5113ab=_0x30cd0a(_0x5113ab)||_0x5113ab);return _0x5113ab;},Re=(_0x6a3843,_0x32f273)=>(_0x2d14ed,_0x5950d3)=>_0x32f273(_0x2d14ed,_0x5950d3,_0x6a3843);let Pe=class extends _0x15e2a7{constructor(_0x1b3a3a,_0x53a635,_0x5564e9,_0x219665,_0x8b3580,_0x128ef9){var _0x168fd9=_0x3f33cb;super(),N(this,'_socket$',new _0x124502(void 0x0)),N(this,_0x168fd9(0x1a6),this[_0x168fd9(0xda)][_0x168fd9(0x350)]()),N(this,_0x168fd9(0x13b),null),N(this,_0x168fd9(0x1f8),new Map()),N(this,_0x168fd9(0x342),new _0x124502(ge['IDLE'])),N(this,_0x168fd9(0x3a1),this[_0x168fd9(0x342)][_0x168fd9(0x350)]()),N(this,_0x168fd9(0x160),!0x1),N(this,_0x168fd9(0x320)),N(this,_0x168fd9(0xa7),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x168fd9(0x356)),(this[_0x168fd9(0xee)]=_0x1b3a3a,this[_0x168fd9(0x259)]=_0x53a635,this[_0x168fd9(0x27e)]=_0x5564e9,this[_0x168fd9(0x293)]=_0x219665,this['_collaborationUIEventService']=_0x8b3580,this[_0x168fd9(0x1d4)]=_0x128ef9,this[_0x168fd9(0x36b)]());}get[_0x3f33cb(0x391)](){var _0x3ae3a0=_0x3f33cb;return this['_socket$'][_0x3ae3a0(0xf7)]();}[_0x3f33cb(0x36b)](){var _0x869e63=_0x3f33cb;this[_0x869e63(0x1d4)]&&this[_0x869e63(0x303)](this[_0x869e63(0x1d4)][_0x869e63(0x26f)][_0x869e63(0xd2)](_0x49ac79=>{var _0x27bef0=_0x869e63;_0x49ac79&&!this[_0x27bef0(0x391)]&&this[_0x27bef0(0x169)](),_0x49ac79||this[_0x27bef0(0x2b3)]();}));}[_0x3f33cb(0x16d)](){var _0x5b37a5=_0x3f33cb;super['dispose'](),this[_0x5b37a5(0x261)](),this['_clearTimeoutTimer'](),this[_0x5b37a5(0x2a7)](),this['_sessions']['forEach'](_0x1c8ed1=>_0x1c8ed1[_0x5b37a5(0x16d)]()),this['_sessions'][_0x5b37a5(0x184)](),this[_0x5b37a5(0x342)][_0x5b37a5(0x2a0)]();}async[_0x3f33cb(0x215)](_0x40f307){var _0x2bf5d0=_0x3f33cb;if(this[_0x2bf5d0(0x1f8)][_0x2bf5d0(0x2d5)](_0x40f307))return this[_0x2bf5d0(0x1f8)][_0x2bf5d0(0x34f)](_0x40f307);this[_0x2bf5d0(0x121)]();const _0x344573=this[_0x2bf5d0(0xee)]['createInstance'](gt,_0x40f307,this[_0x2bf5d0(0xda)][_0x2bf5d0(0x350)]());return this[_0x2bf5d0(0x1f8)][_0x2bf5d0(0x1e9)](_0x40f307,_0x344573),_0x344573;}[_0x3f33cb(0x378)](_0x3bab64){var _0x3142d5=_0x3f33cb,_0x1cec15;const _0x7cc1c=this[_0x3142d5(0x1f8)][_0x3142d5(0x34f)](_0x3bab64);_0x7cc1c&&(this[_0x3142d5(0x1f8)][_0x3142d5(0x108)](_0x3bab64),_0x7cc1c[_0x3142d5(0x15c)]()),this[_0x3142d5(0x1f8)][_0x3142d5(0x2a5)]||(_0x1cec15=this[_0x3142d5(0x391)])==null||_0x1cec15[_0x3142d5(0x15c)]();}['reconnect'](){var _0x3e572c=_0x3f33cb;this[_0x3e572c(0xa7)]=0x0,this[_0x3e572c(0x261)](),this[_0x3e572c(0x366)]();}[_0x3f33cb(0x261)](){var _0x5d82b1=_0x3f33cb;this[_0x5d82b1(0x320)]!=null&&(clearTimeout(this[_0x5d82b1(0x320)]),this[_0x5d82b1(0x320)]=null);}async['_createSocket'](){var _0x8ba0a5=_0x3f33cb,_0x5939fb;const _0x2ee843=this['_configService'][_0x8ba0a5(0x1a4)](K),_0x14ce38=(_0x5939fb=_0x2ee843==null?void 0x0:_0x2ee843['collabWebSocketUrl'])!=null?_0x5939fb:ms,_0x185ef5=await this['_socketService'][_0x8ba0a5(0x348)](_0x14ce38);return this[_0x8ba0a5(0x13b)]=_0x185ef5,_0x185ef5;}async[_0x3f33cb(0x121)](){var _0x343b79=_0x3f33cb,_0x94fec8,_0x10c050;try{const _0xe07d34=(_0x10c050=(_0x94fec8=this[_0x343b79(0x391)])!=null?_0x94fec8:this[_0x343b79(0x13b)])!=null?_0x10c050:await this[_0x343b79(0x29c)]();if(_0xe07d34){const _0x51f5aa=_0xe07d34['send'];_0xe07d34[_0x343b79(0x337)]=_0x57cc46=>(this[_0x343b79(0x1e8)](),_0x51f5aa[_0x343b79(0x39d)](_0xe07d34,[_0x57cc46])),_0xe07d34['message$'][_0x343b79(0xd2)](_0xe2edf6=>this[_0x343b79(0x133)](_0xe07d34,_0xe2edf6)),_0xe07d34['error$'][_0x343b79(0x2b6)](_0x288121(0x1))['subscribe'](_0x21f63e=>this['_logService'][_0x343b79(0x288)]('[CollaborationSessionService]:\x20socket\x20error',_0x21f63e)),_0xe07d34[_0x343b79(0x322)][_0x343b79(0x2b6)](_0x288121(0x1))['subscribe'](()=>{var _0x216933=_0x343b79;this[_0x216933(0x115)](_0xe07d34);}),_0xe07d34[_0x343b79(0x105)]['pipe'](_0x288121(0x1))['subscribe'](_0x3a1e54=>{var _0x82b0ea=_0x343b79;this[_0x82b0ea(0x259)][_0x82b0ea(0x16c)](_0x82b0ea(0x25d),_0x82b0ea(0x23f),_0x3a1e54),this[_0x82b0ea(0xfe)]();});}}catch(_0x80202){this['_logService'][_0x343b79(0x288)](_0x80202),this[_0x343b79(0xfe)]();}}['_onConnectionOpen'](_0x2d6ddc){var _0x12d77a=_0x3f33cb;this[_0x12d77a(0x259)][_0x12d77a(0x16c)](_0x12d77a(0x25d),_0x12d77a(0x2cd)),_0x2d6ddc['send']({'cmd':F[_0x12d77a(0x265)]}),this[_0x12d77a(0x1e8)]();}[_0x3f33cb(0x2b3)](){var _0x1dc485=_0x3f33cb;this[_0x1dc485(0x160)]=!0x1,this[_0x1dc485(0x13b)]=null,this[_0x1dc485(0x342)][_0x1dc485(0x38f)](ge[_0x1dc485(0x285)]),this[_0x1dc485(0xda)]['next'](null),this[_0x1dc485(0x1af)](),this[_0x1dc485(0x2a7)]();}['_onConnectionFailed'](){var _0xd54b83=_0x3f33cb,_0x5917fa;this[_0xd54b83(0x2b3)](),this[_0xd54b83(0xa7)]<((_0x5917fa=this[_0xd54b83(0x27e)][_0xd54b83(0x1a4)](Is))!=null?_0x5917fa:Ts)?(this[_0xd54b83(0x28e)][_0xd54b83(0xa0)]({'id':ne[_0xd54b83(0x9c)]}),this[_0xd54b83(0x366)]()):this['_collaborationUIEventService'][_0xd54b83(0xa0)]({'id':ne[_0xd54b83(0x2ec)]});}[_0x3f33cb(0x366)](){var _0x4336a0=_0x3f33cb,_0x1414d3;const _0x3b1e6c=this[_0x4336a0(0xa7)],_0x33e886=this[_0x4336a0(0x27e)][_0x4336a0(0x1a4)](K),_0x16a06a=_0x3b1e6c===0x0?0x0:((_0x1414d3=_0x33e886==null?void 0x0:_0x33e886['retryConnectingInterval'])!=null?_0x1414d3:Es)*0x2**_0x3b1e6c;this[_0x4336a0(0x320)]=setTimeout(()=>{var _0x47f453=_0x4336a0;clearTimeout(this[_0x47f453(0x320)]),this['_retryConnectingTimer']=null,this[_0x47f453(0x121)]();},_0x16a06a),this[_0x4336a0(0xa7)]+=0x1;}['_onMessage'](_0x383d61,_0xc52c47){var _0xeac5e0=_0x3f33cb;const {cmd:_0x34be7e}=_0xc52c47;_0x34be7e===F['HELLO']&&!this[_0xeac5e0(0x160)]&&(_0x383d61['memberID']=_0xc52c47[_0xeac5e0(0x38e)][_0xeac5e0(0x1bd)],this['_socket$']['next'](_0x383d61),this[_0xeac5e0(0x342)][_0xeac5e0(0x38f)](ge['ONLINE']),this[_0xeac5e0(0x160)]=!0x0,this[_0xeac5e0(0x13b)]=null),_0x34be7e===F[_0xeac5e0(0x256)]&&this['_clearTimeoutTimer'](),this[_0xeac5e0(0x1e8)]();}['_rescheduleHeartbeat'](){var _0xbafa71=_0x3f33cb,_0x508205;this[_0xbafa71(0x2a7)](),this[_0xbafa71(0x263)]=setTimeout(()=>this[_0xbafa71(0x362)](),(_0x508205=this['_configService'][_0xbafa71(0x1a4)](gs))!=null?_0x508205:Ss);}[_0x3f33cb(0x362)](){var _0xd46e0d=_0x3f33cb;this[_0xd46e0d(0x391)][_0xd46e0d(0x337)]({'cmd':F['HEARTBEAT']}),this[_0xd46e0d(0xba)]();}['_waitForHeartbeatResponse'](){var _0x3ab78f=_0x3f33cb,_0xb4445;this[_0x3ab78f(0x356)]=setTimeout(()=>this['_onConnectionFailed'](),(_0xb4445=this[_0x3ab78f(0x27e)][_0x3ab78f(0x1a4)](di))!=null?_0xb4445:fi);}['_clearHeartbeatTimer'](){var _0xf6d968=_0x3f33cb;this[_0xf6d968(0x263)]!=null&&(clearTimeout(this[_0xf6d968(0x263)]),this[_0xf6d968(0x263)]=null);}['_clearTimeoutTimer'](){var _0x386b31=_0x3f33cb;this[_0x386b31(0x356)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x386b31(0x356)]=null);}};Pe=Bs([Re(0x0,_0x289be2(_0x20dc98)),Re(0x1,_0x575f9c),Re(0x2,_0x3594ab),Re(0x3,mi),Re(0x4,_0x289be2(ve)),Re(0x5,_0x3d442c(bs))],Pe);const J=_0x43bfb9(_0x3f33cb(0x14e));function br(_0x44db6e){var _0x420c12=_0x3f33cb;return _0x420c12(0x2bf)+_0x44db6e;}var js=Object[_0x3f33cb(0x296)],Fs=(_0x12dd30,_0x4d5c4c,_0x75e7a9,_0x30acef)=>{var _0x447309=_0x3f33cb;for(var _0x1a5ff5=_0x30acef>0x1?void 0x0:_0x30acef?js(_0x4d5c4c,_0x75e7a9):_0x4d5c4c,_0x20dd69=_0x12dd30[_0x447309(0x2f6)]-0x1,_0x1cc9ea;_0x20dd69>=0x0;_0x20dd69--)(_0x1cc9ea=_0x12dd30[_0x20dd69])&&(_0x1a5ff5=_0x1cc9ea(_0x1a5ff5)||_0x1a5ff5);return _0x1a5ff5;},ut=(_0x21b3eb,_0x4005bd)=>(_0x5bc73c,_0x22ea29)=>_0x4005bd(_0x5bc73c,_0x22ea29,_0x21b3eb);function Vs(_0xa9f1f5){var _0x5b08a3=_0x3f33cb;const {unitID:_0x28daec,mutations:_0x212b44}=_0xa9f1f5;return{'unitId':_0x28daec,'subUnitId':_0x212b44[0x0][_0x5b08a3(0x35f)][_0x5b08a3(0x364)]};}let it=class{constructor(_0x2c3531,_0x52c844,_0xfe348){var _0x2e2447=_0x3f33cb;this[_0x2e2447(0xee)]=_0x2c3531,this['_transformService']=_0x52c844,this[_0x2e2447(0x135)]=_0xfe348;}[_0x3f33cb(0x22c)](_0x309b66){var _0x4613ce=_0x3f33cb,_0x103224,_0x1fc5c4,_0x5878e6,_0x32a343;const _0x136fe5=this['_injector'][_0x4613ce(0x34f)](_0x4f48b0),{unitId:_0x4d78a8,subUnitId:_0x43272b}=Vs(_0x309b66),_0xbbd68f=_0x136fe5==null?void 0x0:_0x136fe5[_0x4613ce(0x2ca)](_0x4d78a8)[_0x4613ce(0xab)](),_0x1746d5=(_0x1fc5c4=(_0x103224=this[_0x4613ce(0x135)][_0x4613ce(0x243)](_0x4d78a8))==null?void 0x0:_0x103224[_0x4613ce(0x396)]())==null?void 0x0:_0x1fc5c4[_0x4613ce(0x1aa)]();if(_0xbbd68f[_0x4613ce(0x2f6)]===0x0||!_0x4d78a8||!_0x43272b)return;const _0x270b2d=[{'id':_0x120755['id'],'params':{'unitId':_0x4d78a8,'subUnitId':_0x1746d5,'selections':_0x31c009['deepClone'](_0xbbd68f)}}],_0x4be66b=this[_0x4613ce(0x21e)]['transformMutationsWithChangeset'](_0x309b66,_0x270b2d);if(!_0x12b764(_0x4be66b))throw _0x4be66b[_0x4613ce(0x288)];const _0x51f7dc=(_0x32a343=(_0x5878e6=_0x4be66b[_0x4613ce(0x340)][0x0])==null?void 0x0:_0x5878e6[_0x4613ce(0x35f)])==null?void 0x0:_0x32a343[_0x4613ce(0x24e)];if(Array[_0x4613ce(0x302)](_0x51f7dc)&&_0x51f7dc[_0x4613ce(0x2f6)]){if(_0x51f7dc[_0x4613ce(0x2f6)]===_0x270b2d[0x0][_0x4613ce(0x35f)]['selections'][_0x4613ce(0x2f6)]&&_0x51f7dc['every']((_0x560abb,_0x588d30)=>_0x2a7e38[_0x4613ce(0x28b)](_0x560abb[_0x4613ce(0x319)],_0x270b2d[0x0][_0x4613ce(0x35f)][_0x4613ce(0x24e)][_0x588d30][_0x4613ce(0x319)])))return;this[_0x4613ce(0xee)][_0x4613ce(0x34f)](_0x587c6c)[_0x4613ce(0x21f)](_0x120755['id'],{'unitId':_0x4d78a8,'subUnitId':_0x1746d5,'selections':_0x51f7dc});}}};it=Fs([ut(0x0,_0x289be2(_0x20dc98)),ut(0x1,_0x206be0),ut(0x2,_0x2366c1)],it);const ht=_0x43bfb9(_0x3f33cb(0x1ac));var Si=(_0x59ff3e=>(_0x59ff3e[_0x59ff3e['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x3f33cb(0x382),_0x59ff3e[_0x59ff3e[_0x3f33cb(0x248)]=0x1]=_0x3f33cb(0x248),_0x59ff3e))(Si||{});const Ws=new Set([_0x45793f['id']]);function Gt(_0x1c5b05,_0x20a5b8,_0x4b7527,_0x1147d9,_0x588672){var _0x2e1c07=_0x3f33cb,_0x1d9879,_0x47f5dd,_0x257506,_0x142b98;const _0x59d31a=[];for(const _0x36bc7d of _0x1c5b05)if(Ws[_0x2e1c07(0x2d5)](_0x36bc7d['id'])){if(_0x59d31a[_0x2e1c07(0x2f6)]>0x0)break;_0x59d31a[_0x2e1c07(0x195)](_0x36bc7d);break;}else _0x59d31a[_0x2e1c07(0x195)](_0x36bc7d);const _0x2aad64=(_0x47f5dd=(_0x1d9879=_0x588672[_0x2e1c07(0x13e)]())==null?void 0x0:_0x1d9879[_0x2e1c07(0x2a3)])!=null?_0x47f5dd:_0x2e1c07(0x2e5),_0x423f5f=(_0x142b98=(_0x257506=_0x588672[_0x2e1c07(0x13e)]())==null?void 0x0:_0x257506['memberID'])!=null?_0x142b98:'unknown';return{'changeset':{'unitID':_0x20a5b8,'type':_0x153148(_0x4b7527[_0x2e1c07(0x210)](_0x20a5b8)),'baseRev':_0x1147d9[_0x2e1c07(0x12c)](_0x20a5b8),'revision':0x0,'userID':_0x2aad64,'memberID':_0x423f5f,'mutations':_0x59d31a},'pendingMutations':_0x1c5b05['slice'](_0x59d31a[_0x2e1c07(0x2f6)])};}function Gs(_0x432ca4,_0x2712b1,_0x1c3f9f,_0x51daa1,_0x460f7e){var _0x4bd325=_0x3f33cb,_0x1aafb7,_0x3d6f75,_0x525c64,_0x5b5ae5;const _0x23484d=[_0x432ca4[_0x4bd325(0x221)]((_0x140d91,_0x2b6091)=>{var _0x23c51d=_0x4bd325,_0x2e2b80;const {id:_0x3f3166}=_0x140d91,{id:_0x3077f0,type:_0x7eaf1}=_0x2b6091,_0x2a79bc=(_0x2e2b80=_0x140d91['params'])!=null?_0x2e2b80:{'actions':null},_0x362e29=_0x2b6091['params'];if(_0x3f3166&&_0x3f3166!==_0x3077f0)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x3f3166+_0x23c51d(0x2af)+_0x3077f0+'.');return{..._0x140d91,'id':_0x3077f0,'type':_0x7eaf1,'params':{'unitId':_0x362e29[_0x23c51d(0x136)],'textRanges':_0x362e29[_0x23c51d(0x372)],'actions':_0x489e09['compose'](_0x2a79bc[_0x23c51d(0x164)],_0x362e29[_0x23c51d(0x164)])}};},{})],_0x224619=(_0x3d6f75=(_0x1aafb7=_0x460f7e[_0x4bd325(0x13e)]())==null?void 0x0:_0x1aafb7[_0x4bd325(0x2a3)])!=null?_0x3d6f75:'unknown',_0x2a792f=(_0x5b5ae5=(_0x525c64=_0x460f7e['getCurrentUser']())==null?void 0x0:_0x525c64['memberID'])!=null?_0x5b5ae5:_0x4bd325(0x2e5);return{'changeset':{'unitID':_0x2712b1,'type':_0x153148(_0x1c3f9f[_0x4bd325(0x210)](_0x2712b1)),'baseRev':_0x51daa1[_0x4bd325(0x12c)](_0x2712b1),'revision':0x0,'userID':_0x224619,'memberID':_0x2a792f,'mutations':_0x23484d},'pendingMutations':[]};}function Ei(_0x465f3d,_0x2ad9d7){var _0x38422c=_0x3f33cb;const _0x332d88=new _0x281ac7(0x1);return setTimeout(()=>_0x332d88['next'](_0x2ad9d7),_0x465f3d),_0x332d88[_0x38422c(0x350)]()[_0x38422c(0x2b6)](_0x344dee(0x1));}const Ys={'id':_0x41cd1d['id'],'type':_0x11cd3f['MUTATION'],'params':{}};var Ks=Object[_0x3f33cb(0x296)],Ee=(_0x4ceca5,_0x1a55ca,_0x17433c,_0xca97ca)=>{var _0x23b128=_0x3f33cb;for(var _0x3a6e44=_0xca97ca>0x1?void 0x0:_0xca97ca?Ks(_0x1a55ca,_0x17433c):_0x1a55ca,_0xef3c5a=_0x4ceca5[_0x23b128(0x2f6)]-0x1,_0x1c1d1f;_0xef3c5a>=0x0;_0xef3c5a--)(_0x1c1d1f=_0x4ceca5[_0xef3c5a])&&(_0x3a6e44=_0x1c1d1f(_0x3a6e44)||_0x3a6e44);return _0x3a6e44;},P=(_0x5baeb0,_0x2cd92e)=>(_0x378983,_0xa5c924)=>_0x2cd92e(_0x378983,_0xa5c924,_0x5baeb0),Ii=(_0x119e96=>(_0x119e96[_0x3f33cb(0x122)]=_0x3f33cb(0x26b),_0x119e96[_0x3f33cb(0x204)]='synced',_0x119e96[_0x3f33cb(0x2ef)]=_0x3f33cb(0x21c),_0x119e96[_0x3f33cb(0x241)]=_0x3f33cb(0x325),_0x119e96[_0x3f33cb(0x292)]=_0x3f33cb(0x103),_0x119e96[_0x3f33cb(0x155)]=_0x3f33cb(0x315),_0x119e96[_0x3f33cb(0x99)]=_0x3f33cb(0x2c1),_0x119e96[_0x3f33cb(0x285)]=_0x3f33cb(0xbe),_0x119e96))(Ii||{});const Ti=0xea60;class Ie{constructor(_0x2532c8,_0x374116,_0x1e4a27,_0x2531ed,_0x5dbe4a,_0x2bb80d,_0x2f3062,_0x48efa0,_0x3b528a){var _0x4419ff=_0x3f33cb;N(this,'_awaitingChangeset',null),N(this,_0x4419ff(0x189),[]),(this[_0x4419ff(0x27f)]=_0x2532c8,this[_0x4419ff(0x1c4)]=_0x374116,this[_0x4419ff(0x171)]=_0x5dbe4a,this[_0x4419ff(0x239)]=_0x2bb80d,this[_0x4419ff(0x2c5)]=_0x2f3062,this['_revisionService']=_0x48efa0,this[_0x4419ff(0x316)]=_0x3b528a,this['_awaitingChangeset']=_0x1e4a27,this['_pendingMutations']=_0x2531ed);}['_checkMissing'](_0x354109){var _0x4325b3=_0x3f33cb;const _0x1a087b=this[_0x4325b3(0x2dd)]['getCurrentRevOfUnit'](this[_0x4325b3(0x27f)]);return _0x354109[_0x4325b3(0x272)]>_0x1a087b+0x1?(this[_0x4325b3(0x171)]['onMissingChangesets']({'from':_0x1a087b,'to':_0x354109[_0x4325b3(0x272)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x16346c){var _0x31aa3f=_0x3f33cb;this[_0x31aa3f(0x2c5)][_0x31aa3f(0xa9)](this[_0x31aa3f(0x27f)],_0x16346c);}[_0x3f33cb(0x234)](_0x3351b9){var _0x257a62=_0x3f33cb,_0x54b6e0,_0x4db649;(_0x4db649=(_0x54b6e0=this[_0x257a62(0x171)])['onTransformSelections'])==null||_0x4db649[_0x257a62(0x2e9)](_0x54b6e0,_0x3351b9);}[_0x3f33cb(0x170)](_0x55a2fc){var _0x2e8b17=_0x3f33cb,_0x2dbfaf,_0x169829;return(_0x169829=(_0x2dbfaf=this['_handler'])['onTransformIME'])==null?void 0x0:_0x169829[_0x2e8b17(0x2e9)](_0x2dbfaf,_0x55a2fc);}['_transformStateCache'](_0x4eccf3){var _0x24d24f=_0x3f33cb,_0x5615b3,_0x2c13d7;return(_0x2c13d7=(_0x5615b3=this[_0x24d24f(0x171)])[_0x24d24f(0x23d)])==null?void 0x0:_0x2c13d7[_0x24d24f(0x2e9)](_0x5615b3,_0x4eccf3);}['_transformRemoteChangesetByIMECache'](_0x374804){var _0x538a48=_0x3f33cb,_0xdfb7f4,_0x4e2287,_0x33f781;return(_0x33f781=(_0x4e2287=(_0xdfb7f4=this[_0x538a48(0x171)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4e2287[_0x538a48(0x2e9)](_0xdfb7f4,_0x374804))!=null?_0x33f781:_0x374804;}[_0x3f33cb(0x2fe)](_0x8f699a){var _0xd83fe4=_0x3f33cb,_0x5582cc,_0x25f1d7,_0x4d127b;return(_0x4d127b=(_0x25f1d7=(_0x5582cc=this[_0xd83fe4(0x171)])[_0xd83fe4(0x227)])==null?void 0x0:_0x25f1d7['call'](_0x5582cc,_0x8f699a))!=null?_0x4d127b:_0x8f699a;}[_0x3f33cb(0x168)](_0x541e09){var _0xd31b3b=_0x3f33cb,_0x2d3b24,_0x320e09;if(this[_0xd31b3b(0x1c4)]===Z[_0xd31b3b(0x387)]){const {unitID:_0x438f1f,mutations:_0x55dfdc,memberID:_0x179af1}=_0x541e09,_0x5eac86=_0x55dfdc[0x0][_0xd31b3b(0x35f)]['textRanges'];Array[_0xd31b3b(0x302)](_0x5eac86)&&_0x5eac86['length']>0x0&&((_0x320e09=(_0x2d3b24=this['_handler'])[_0xd31b3b(0x352)])==null||_0x320e09[_0xd31b3b(0x2e9)](_0x2d3b24,{'unitID':_0x438f1f,'memberID':_0x179af1,'textRanges':_0x5eac86}));}}[_0x3f33cb(0x20c)](){var _0x194a03=_0x3f33cb,_0x2523c5;(_0x2523c5=this[_0x194a03(0x316)])==null||_0x2523c5[_0x194a03(0x331)](this[_0x194a03(0x27f)],this[_0x194a03(0x1c4)],this[_0x194a03(0x1d6)],this[_0x194a03(0x189)]);}['_getCurrentRevision'](){var _0x2ec4eb=_0x3f33cb;return this['_revisionService'][_0x2ec4eb(0x12c)](this['unitID']);}[_0x3f33cb(0x14f)](){var _0x50aebd=_0x3f33cb;this[_0x50aebd(0x2dd)]['incrementRevOfUnit'](this['unitID']);}[_0x3f33cb(0x1ed)](_0x4c77cd){var _0x1a120a=_0x3f33cb,_0x5d943b;let _0x27dc61=this['_transformRemoteChangesetByIMECache'](_0x4c77cd);_0x27dc61=this[_0x1a120a(0x2fe)](_0x27dc61);const _0x683e78=_0x23dea5(_0x27dc61['mutations'],this[_0x1a120a(0x239)],{'fromCollab':!0x0});if(!_0x683e78[_0x1a120a(0x2bd)])throw _0x683e78[_0x1a120a(0x288)]instanceof Error?_0x683e78[_0x1a120a(0x288)]:new Error((_0x5d943b=_0x683e78['error'])!=null?_0x5d943b:_0x1a120a(0x1c8));this[_0x1a120a(0x170)](_0x27dc61),this[_0x1a120a(0x14d)](_0x27dc61),this[_0x1a120a(0x1eb)](_0x4c77cd),this[_0x1a120a(0x234)](_0x27dc61),this[_0x1a120a(0x168)](_0x27dc61),this[_0x1a120a(0x14f)]();}}let ye=class extends Ie{constructor(_0x355c5d,_0x4a8b2b,_0x57dac8,_0x22b7e4,_0xfa29dc,_0x164628,_0x533b0b,_0x1b1994,_0x57f4a0,_0x34a541){var _0xad4f8a=_0x3f33cb;super(_0x355c5d,_0x4a8b2b,null,[],_0x57dac8,_0x533b0b,_0x164628,_0x22b7e4,_0x34a541),N(this,_0xad4f8a(0x2d9),'synced'),(this['_injector']=_0xfa29dc,this[_0xad4f8a(0x259)]=_0x1b1994,this[_0xad4f8a(0x21e)]=_0x57f4a0,this[_0xad4f8a(0x102)]=_0x34a541);}[_0x3f33cb(0xc2)](_0x42b017){var _0x1be1b6=_0x3f33cb;const _0x1e8362=this[_0x1be1b6(0xee)]['createInstance'](re,this[_0x1be1b6(0x27f)],this[_0x1be1b6(0x1c4)],[_0x42b017],this[_0x1be1b6(0x171)]);return _0x1e8362[_0x1be1b6(0xad)](),_0x1e8362['_updateLocalCache'](),_0x1e8362;}[_0x3f33cb(0xb7)](_0x31a6f1){var _0x4e6edd=_0x3f33cb;if(this[_0x4e6edd(0x199)](_0x31a6f1))return this[_0x4e6edd(0xee)][_0x4e6edd(0x22d)](Q,this[_0x4e6edd(0x27f)],this[_0x4e6edd(0x1c4)],null,[],null,[_0x31a6f1],this[_0x4e6edd(0x171)]);try{const _0x523e23=this[_0x4e6edd(0x21e)]['transformMutationsWithChangeset'](_0x31a6f1,[Ys]);if(_0x12b764(_0x523e23)){const {c1Prime:_0x172087}=_0x523e23;return this[_0x4e6edd(0x1ed)](_0x172087),this;}throw _0x523e23[_0x4e6edd(0x288)];}catch(_0x1a0fd6){return this['_logService']['error'](_0x1a0fd6),this[_0x4e6edd(0x181)](!0x1);}}[_0x3f33cb(0x181)](_0x3b2a85){var _0x450f8f=_0x3f33cb;return this[_0x450f8f(0xee)][_0x450f8f(0x22d)](le,this[_0x450f8f(0x27f)],this[_0x450f8f(0x1c4)],null,[],this[_0x450f8f(0x171)],_0x3b2a85);}[_0x3f33cb(0x2b0)](){var _0x78d7fb=_0x3f33cb;throw new Error(_0x78d7fb(0x266));}[_0x3f33cb(0x28a)](){var _0x9c19a9=_0x3f33cb;throw new Error(_0x9c19a9(0x187));}[_0x3f33cb(0xca)](){return this;}[_0x3f33cb(0x37e)](){var _0x533a82=_0x3f33cb;return this[_0x533a82(0xee)]['createInstance'](ue,this[_0x533a82(0x27f)],this[_0x533a82(0x1c4)],null,[],this[_0x533a82(0x171)]);}[_0x3f33cb(0x390)](){return this;}[_0x3f33cb(0x2bc)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3f33cb(0x30c)](){var _0xe6ca7f=_0x3f33cb;const _0x5a87d6=this['_revisionService'][_0xe6ca7f(0x12c)](this[_0xe6ca7f(0x27f)]);return this[_0xe6ca7f(0x171)][_0xe6ca7f(0x166)]({'from':_0x5a87d6,'to':0x0}),this[_0xe6ca7f(0xee)][_0xe6ca7f(0x22d)](Q,this[_0xe6ca7f(0x27f)],this[_0xe6ca7f(0x1c4)],null,[],null,[],this[_0xe6ca7f(0x171)]);}};ye=Ee([P(0x3,_0x289be2(_0x1b45af)),P(0x4,_0x289be2(_0x20dc98)),P(0x5,_0x1f5600),P(0x6,_0x587c6c),P(0x7,_0x575f9c),P(0x8,_0x206be0),P(0x9,_0x3d442c(J))],ye);let re=class extends Ie{constructor(_0x5b5675,_0x40db13,_0x16780d,_0x234966,_0x48317c,_0x2927f8,_0x14f3a5,_0x3f023a,_0x479f04,_0x5a0869,_0x462bda,_0x104126,_0x4ea873,_0x3e793c){var _0x5c2d02=_0x3f33cb;super(_0x5b5675,_0x40db13,null,_0x16780d,_0x234966,_0x479f04,_0x4ea873,_0x2927f8,_0x3e793c),N(this,'status',_0x5c2d02(0x21c)),N(this,_0x5c2d02(0x2e7),null),N(this,'_sendingTimer',null),(this['_injector']=_0x48317c,this[_0x5c2d02(0x1ef)]=_0x14f3a5,this[_0x5c2d02(0x259)]=_0x3f023a,this[_0x5c2d02(0x27e)]=_0x5a0869,this[_0x5c2d02(0x21e)]=_0x462bda,this[_0x5c2d02(0x198)]=_0x104126);}['appendMutation'](_0x32b1d0){var _0x43134d=_0x3f33cb;return this[_0x43134d(0x189)][_0x43134d(0x195)](_0x32b1d0),this[_0x43134d(0x20c)](),this;}[_0x3f33cb(0xb7)](_0x3f8992){var _0x4b9f44=_0x3f33cb;if(this[_0x4b9f44(0x199)](_0x3f8992))return this['_clearScheduledTask'](),this[_0x4b9f44(0xee)]['createInstance'](Q,this[_0x4b9f44(0x27f)],this[_0x4b9f44(0x1c4)],null,this['_pendingMutations'],null,[_0x3f8992],this[_0x4b9f44(0x171)]);try{const _0x222a6c=this[_0x4b9f44(0x21e)][_0x4b9f44(0x1b5)](_0x3f8992,this[_0x4b9f44(0x189)]);if(_0x12b764(_0x222a6c)){const {c1Prime:_0x572dfd,m2Prime:_0x5939ab}=_0x222a6c;this[_0x4b9f44(0x1ed)](_0x572dfd);const _0x1eaae3=this[_0x4b9f44(0xee)][_0x4b9f44(0x22d)](re,this['unitID'],this[_0x4b9f44(0x1c4)],_0x5939ab,this[_0x4b9f44(0x171)]);this[_0x4b9f44(0x179)]();const _0x307cb9=new Date()[_0x4b9f44(0xf6)](),_0x28ce8e=this['_scheduleCompleteTimestamp']?Math[_0x4b9f44(0xe7)](this['_scheduleCompleteTimestamp']-_0x307cb9,0x0):this[_0x4b9f44(0x18e)]();return _0x1eaae3[_0x4b9f44(0xad)](_0x28ce8e),_0x1eaae3;}throw _0x222a6c[_0x4b9f44(0x288)];}catch(_0x5ac4c1){return this['_logService'][_0x4b9f44(0x288)](_0x5ac4c1),this[_0x4b9f44(0x181)](!0x1);}}[_0x3f33cb(0x2b0)](){var _0x2dfc45=_0x3f33cb;throw new Error(_0x2dfc45(0x283));}[_0x3f33cb(0x28a)](){var _0x26a60d=_0x3f33cb;throw new Error(_0x26a60d(0x329));}[_0x3f33cb(0xca)](){return this;}[_0x3f33cb(0x37e)](){var _0x2518f1=_0x3f33cb;return this['_clearScheduledTask'](),this[_0x2518f1(0xee)]['createInstance'](ue,this['unitID'],this[_0x2518f1(0x1c4)],null,this['_pendingMutations'],this[_0x2518f1(0x171)]);}[_0x3f33cb(0x390)](){return this;}[_0x3f33cb(0xad)](_0x2c9f0e){var _0x9e7624=_0x3f33cb;const _0x69fec4=_0x2c9f0e!=null?_0x2c9f0e:this['_getSendChangesetTimeout']();this[_0x9e7624(0x2e7)]=new Date()[_0x9e7624(0xf6)]()+_0x69fec4,this['_sendingTimer']=setTimeout(()=>{var _0x40c2b8=_0x9e7624;this[_0x40c2b8(0x179)]();let _0x47a844=null;switch(this[_0x40c2b8(0x1c4)]){case Z[_0x40c2b8(0xce)]:{_0x47a844=Gt(this['_pendingMutations'],this['unitID'],this[_0x40c2b8(0x198)],this[_0x40c2b8(0x2dd)],this[_0x40c2b8(0x1ef)]);break;}case Z[_0x40c2b8(0x387)]:{this['_pendingMutations'][_0x40c2b8(0xa3)](_0x173890=>_0x173890['id']===_0x29a1a4['id'])?_0x47a844=Gs(this['_pendingMutations'],this[_0x40c2b8(0x27f)],this['_univerInstanceService'],this[_0x40c2b8(0x2dd)],this[_0x40c2b8(0x1ef)]):_0x47a844=Gt(this[_0x40c2b8(0x189)],this[_0x40c2b8(0x27f)],this['_univerInstanceService'],this[_0x40c2b8(0x2dd)],this[_0x40c2b8(0x1ef)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x40c2b8(0x1c4)]+'\x20in\x20_schedule.');}const {changeset:_0x5195ab,pendingMutations:_0x561a9c}=_0x47a844;this['_handler']['onSendChangeset'](_0x5195ab);const _0x15a622=_0x561a9c[_0x40c2b8(0x2f6)]?this['_injector'][_0x40c2b8(0x22d)](ae,this[_0x40c2b8(0x27f)],this[_0x40c2b8(0x1c4)],_0x5195ab,_0x561a9c,this[_0x40c2b8(0x171)],void 0x0):this[_0x40c2b8(0xee)][_0x40c2b8(0x22d)](_e,this['unitID'],this[_0x40c2b8(0x1c4)],_0x5195ab,this[_0x40c2b8(0x171)]);_0x15a622['_updateLocalCache'](),this[_0x40c2b8(0x171)][_0x40c2b8(0x2ab)](this,_0x15a622);},_0x69fec4);}['_getSendChangesetTimeout'](){var _0x58da2d=_0x3f33cb,_0x26fb07;const _0x5b72ba=this[_0x58da2d(0x27e)][_0x58da2d(0x1a4)](K);return(_0x26fb07=_0x5b72ba==null?void 0x0:_0x5b72ba['sendChangesetTimeout'])!=null?_0x26fb07:ps;}[_0x3f33cb(0x2bc)](){var _0x5444d2=_0x3f33cb;throw new Error(_0x5444d2(0x33e));}[_0x3f33cb(0x179)](){var _0x38ec89=_0x3f33cb;this[_0x38ec89(0x254)]!=null&&(clearTimeout(this[_0x38ec89(0x254)]),this[_0x38ec89(0x254)]=null);}[_0x3f33cb(0x181)](_0x42cbac){var _0x254925=_0x3f33cb;return this['_clearScheduledTask'](),this[_0x254925(0xee)]['createInstance'](le,this[_0x254925(0x27f)],this[_0x254925(0x1c4)],null,this[_0x254925(0x189)],this[_0x254925(0x171)],_0x42cbac);}};re=Ee([P(0x4,_0x289be2(_0x20dc98)),P(0x5,_0x289be2(_0x1b45af)),P(0x6,_0x289be2(we)),P(0x7,_0x575f9c),P(0x8,_0x587c6c),P(0x9,_0x3594ab),P(0xa,_0x206be0),P(0xb,_0x2366c1),P(0xc,_0x1f5600),P(0xd,_0x3d442c(J))],re);let _e=class extends Ie{constructor(_0x3002df,_0x18e798,_0x31c129,_0x47034c,_0x280647,_0x4ba89b,_0x1f7bee,_0x35f157,_0x9149ec,_0x22514a,_0x3ceec5){var _0xb6faf1=_0x3f33cb;super(_0x3002df,_0x18e798,_0x31c129,[],_0x47034c,_0x1f7bee,_0x22514a,_0x4ba89b,_0x3ceec5),N(this,_0xb6faf1(0x2d9),'awaiting'),N(this,'_resendTimeout',0x0),N(this,_0xb6faf1(0x2c3)),N(this,_0xb6faf1(0x307)),(this['_injector']=_0x280647,this[_0xb6faf1(0x259)]=_0x35f157,this[_0xb6faf1(0x21e)]=_0x9149ec);}[_0x3f33cb(0xc2)](_0x452b5a){var _0x5c0ada=_0x3f33cb;this[_0x5c0ada(0x179)]();const _0xf4bfc5=this[_0x5c0ada(0xee)][_0x5c0ada(0x22d)](ae,this[_0x5c0ada(0x27f)],this[_0x5c0ada(0x1c4)],this['_awaitingChangeset'],[_0x452b5a],this['_handler'],this[_0x5c0ada(0x2c3)]);return _0xf4bfc5[_0x5c0ada(0x20c)](),_0xf4bfc5;}['onRemoteChangeset'](_0x289ad2){var _0x1f716a=_0x3f33cb;if(this[_0x1f716a(0x199)](_0x289ad2))return this[_0x1f716a(0x179)](),this['_injector']['createInstance'](Q,this[_0x1f716a(0x27f)],this[_0x1f716a(0x1c4)],this[_0x1f716a(0x1d6)],[],null,[_0x289ad2],this['_handler']);try{const _0x5506c7=this[_0x1f716a(0x21e)][_0x1f716a(0x297)]([_0x289ad2],[this['_awaitingChangeset']],!0x1);if(_0x3e130b(_0x5506c7)){const {c1Prime:_0x220eb4,c2Prime:_0x7fd748}=_0x5506c7;this[_0x1f716a(0x1ed)](_0x220eb4[0x0]),_0x7fd748[0x0][_0x1f716a(0x2c2)]=this[_0x1f716a(0xa5)](),this[_0x1f716a(0x179)]();const _0x4eb2e7=this[_0x1f716a(0xee)][_0x1f716a(0x22d)](_e,this[_0x1f716a(0x27f)],this[_0x1f716a(0x1c4)],_0x7fd748[0x0],this[_0x1f716a(0x171)]);return _0x4eb2e7[_0x1f716a(0x20c)](),_0x4eb2e7;}return this[_0x1f716a(0x181)](!0x1);}catch(_0x297ca3){return this[_0x1f716a(0x259)][_0x1f716a(0x288)](_0x297ca3),this[_0x1f716a(0x181)](!0x1);}}[_0x3f33cb(0x2b0)](_0x5621bb){var _0x2db8dd=_0x3f33cb;this['_clearScheduledTask']();const _0x2286f7=this[_0x2db8dd(0x2dd)][_0x2db8dd(0x12c)](this[_0x2db8dd(0x27f)]);if(_0x5621bb['revision']<_0x2286f7-0x1)return this;if(this[_0x2db8dd(0x199)](_0x5621bb))return this['_injector'][_0x2db8dd(0x22d)](Q,this[_0x2db8dd(0x27f)],this[_0x2db8dd(0x1c4)],null,[],this[_0x2db8dd(0x1d6)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x5e2bdc=this[_0x2db8dd(0xee)]['createInstance'](ye,this[_0x2db8dd(0x27f)],this[_0x2db8dd(0x1c4)],this[_0x2db8dd(0x171)]);return _0x5e2bdc[_0x2db8dd(0x20c)](),_0x5e2bdc;}[_0x3f33cb(0x28a)](_0x2a7d02){var _0x59a6a3=_0x3f33cb;return this[_0x59a6a3(0x181)](!!(_0x2a7d02!=null&&_0x2a7d02[_0x59a6a3(0x1b2)]));}[_0x3f33cb(0xca)](_0x4abeba){var _0x53f6cc=_0x3f33cb;return this[_0x53f6cc(0x2e6)]>Ti?this[_0x53f6cc(0x37e)]():(this[_0x53f6cc(0x2c3)]=Ei(this[_0x53f6cc(0x2e6)],{'timeout':this[_0x53f6cc(0x2e6)],'reqId':_0x4abeba[_0x53f6cc(0x375)]}),this[_0x53f6cc(0x307)]=this[_0x53f6cc(0x2c3)][_0x53f6cc(0xd2)](({reqId:_0x1c1c9f,timeout:_0x389148})=>{this['_resendWithTimeout'](_0x1c1c9f,_0x389148);}),this);}[_0x3f33cb(0x37e)](){var _0x414bbf=_0x3f33cb;return this[_0x414bbf(0x179)](),this[_0x414bbf(0xee)][_0x414bbf(0x22d)](ue,this[_0x414bbf(0x27f)],this['type'],this[_0x414bbf(0x1d6)],[],this[_0x414bbf(0x171)]);}['toggleOnline'](){return this;}['resend'](){var _0x2b1b8e=_0x3f33cb;this[_0x2b1b8e(0x171)]['onSendChangeset'](this[_0x2b1b8e(0x1d6)]);}[_0x3f33cb(0x181)](_0x404d18){var _0x5cc4bc=_0x3f33cb;return this['_clearScheduledTask'](),this['_injector'][_0x5cc4bc(0x22d)](le,this[_0x5cc4bc(0x27f)],this[_0x5cc4bc(0x1c4)],this[_0x5cc4bc(0x1d6)],[],this[_0x5cc4bc(0x171)],_0x404d18);}[_0x3f33cb(0x1c3)](_0x394d61,_0x2e1633){var _0x498dd1=_0x3f33cb,_0x38a0b1;_0x394d61===((_0x38a0b1=this[_0x498dd1(0x1d6)])==null?void 0x0:_0x38a0b1[_0x498dd1(0x375)])&&(this['resend'](),this[_0x498dd1(0x2e6)]=_0x2e1633===0x0?0x3e8:_0x2e1633*0x2);}['_clearScheduledTask'](){var _0x59e061=_0x3f33cb,_0x387d07;(_0x387d07=this[_0x59e061(0x307)])==null||_0x387d07['unsubscribe'](),this[_0x59e061(0x2e6)]=0x0;}};_e=Ee([P(0x4,_0x289be2(_0x20dc98)),P(0x5,_0x289be2(_0x1b45af)),P(0x6,_0x587c6c),P(0x7,_0x575f9c),P(0x8,_0x206be0),P(0x9,_0x1f5600),P(0xa,_0x3d442c(J))],_e);let ae=class extends Ie{constructor(_0x2af573,_0x3e3d7f,_0x28b453,_0x27f1a1,_0x4da431,_0x271750,_0x3a73d2,_0x1ddb37,_0x1f8bb1,_0x4bb050,_0xe4b13d,_0x23df6f,_0x2e4990){var _0x1ac26d=_0x3f33cb;super(_0x2af573,_0x3e3d7f,_0x28b453,_0x27f1a1,_0x4da431,_0x1f8bb1,_0x23df6f,_0x1ddb37,_0x2e4990),N(this,'status',_0x1ac26d(0x103)),N(this,'_resendTimeout',0x0),N(this,_0x1ac26d(0x2c3)),N(this,_0x1ac26d(0x307)),(this['_injector']=_0x3a73d2,this['_logService']=_0x4bb050,this[_0x1ac26d(0x21e)]=_0xe4b13d,this[_0x1ac26d(0x102)]=_0x2e4990,_0x271750&&(this[_0x1ac26d(0x2c3)]=_0x271750,this[_0x1ac26d(0x307)]=this[_0x1ac26d(0x2c3)][_0x1ac26d(0xd2)](({reqId:_0x1a8193,timeout:_0x2f3dfb})=>{var _0x30a8e8=_0x1ac26d;this[_0x30a8e8(0x1c3)](_0x1a8193,_0x2f3dfb);})));}[_0x3f33cb(0xc2)](_0x3158f5){var _0x2d871c=_0x3f33cb;return this['_pendingMutations'][_0x2d871c(0x195)](_0x3158f5),this;}[_0x3f33cb(0xb7)](_0x17da7b){var _0x7f290e=_0x3f33cb;if(this[_0x7f290e(0x199)](_0x17da7b))return this[_0x7f290e(0x179)](),this[_0x7f290e(0xee)][_0x7f290e(0x22d)](Q,this['unitID'],this[_0x7f290e(0x1c4)],this[_0x7f290e(0x1d6)],this[_0x7f290e(0x189)],null,[_0x17da7b],this['_handler']);try{const _0x4800e2=this[_0x7f290e(0x21e)][_0x7f290e(0x297)]([_0x17da7b],[this['_awaitingChangeset']],!0x1);if(_0x3e130b(_0x4800e2)){const {c1Prime:_0x7512ae,c2Prime:_0x36a5a3}=_0x4800e2,_0x463995=this[_0x7f290e(0x21e)]['transformMutationsWithChangeset'](_0x7512ae[0x0],this[_0x7f290e(0x189)]);if(_0x12b764(_0x463995)){const {c1Prime:_0x183d04,m2Prime:_0x4e2555}=_0x463995;return this['_executeRemoteChangeset'](_0x183d04),_0x36a5a3[0x0][_0x7f290e(0x2c2)]=this['_getCurrentRevision'](),this[_0x7f290e(0x179)](),this[_0x7f290e(0xee)][_0x7f290e(0x22d)](ae,this['unitID'],this[_0x7f290e(0x1c4)],_0x36a5a3[0x0],_0x4e2555,this[_0x7f290e(0x171)],void 0x0);}throw _0x463995[_0x7f290e(0x288)];}throw _0x4800e2[_0x7f290e(0x288)];}catch(_0x150ce4){return this[_0x7f290e(0x259)][_0x7f290e(0x288)](_0x150ce4),this[_0x7f290e(0x181)](!0x1);}}['onRemoteAck'](_0x2fbe7e){var _0xb909f4=_0x3f33cb;if(this[_0xb909f4(0x179)](),this[_0xb909f4(0x199)](_0x2fbe7e))return this[_0xb909f4(0xee)][_0xb909f4(0x22d)](Q,this['unitID'],this[_0xb909f4(0x1c4)],null,this[_0xb909f4(0x189)],this[_0xb909f4(0x1d6)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x17ab61=this[_0xb909f4(0xee)][_0xb909f4(0x22d)](re,this['unitID'],this['type'],this[_0xb909f4(0x189)],this[_0xb909f4(0x171)]);return _0x17ab61[_0xb909f4(0xad)](),_0x17ab61['_updateLocalCache'](),_0x17ab61;}[_0x3f33cb(0x28a)](_0x4859f2){var _0xbe555f=_0x3f33cb;return this[_0xbe555f(0x181)](!!(_0x4859f2!=null&&_0x4859f2[_0xbe555f(0x1b2)]));}[_0x3f33cb(0xca)](_0x5736ff){var _0x543e5c=_0x3f33cb;return this['_resendTimeout']>Ti?this['toggleOffline']():(this[_0x543e5c(0x2c3)]=Ei(this[_0x543e5c(0x2e6)],{'timeout':this['_resendTimeout'],'reqId':_0x5736ff[_0x543e5c(0x375)]}),this[_0x543e5c(0x307)]=this[_0x543e5c(0x2c3)][_0x543e5c(0xd2)](({reqId:_0x5a3e21,timeout:_0x160ad1})=>{this['_resendWithTimeout'](_0x5a3e21,_0x160ad1);}),this);}[_0x3f33cb(0x37e)](){var _0x288014=_0x3f33cb;return this[_0x288014(0x179)](),this[_0x288014(0xee)][_0x288014(0x22d)](ue,this['unitID'],this[_0x288014(0x1c4)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x288014(0x171)]);}['toggleOnline'](){return this;}[_0x3f33cb(0x2bc)](){var _0x930b9a=_0x3f33cb;this[_0x930b9a(0x171)][_0x930b9a(0x2e4)](this[_0x930b9a(0x1d6)]);}[_0x3f33cb(0x181)](_0x485db0){var _0x4463d8=_0x3f33cb;return this['_clearScheduledTask'](),this['_injector']['createInstance'](le,this[_0x4463d8(0x27f)],this[_0x4463d8(0x1c4)],null,this[_0x4463d8(0x189)],this['_handler'],_0x485db0);}[_0x3f33cb(0x1c3)](_0x2e4d11,_0x1c3819){var _0x469751=_0x3f33cb,_0x29b268;_0x2e4d11===((_0x29b268=this[_0x469751(0x1d6)])==null?void 0x0:_0x29b268[_0x469751(0x375)])&&(this[_0x469751(0x2bc)](),this[_0x469751(0x2e6)]=_0x1c3819===0x0?0x3e8:_0x1c3819*0x2);}['_clearScheduledTask'](){var _0x2608ba=_0x3f33cb,_0x598018;(_0x598018=this[_0x2608ba(0x307)])==null||_0x598018['unsubscribe'](),this[_0x2608ba(0x2e6)]=0x0;}};ae=Ee([P(0x6,_0x289be2(_0x20dc98)),P(0x7,_0x289be2(_0x1b45af)),P(0x8,_0x587c6c),P(0x9,_0x575f9c),P(0xa,_0x206be0),P(0xb,_0x1f5600),P(0xc,_0x3d442c(J))],ae);let le=class extends Ie{constructor(_0x4fc1fb,_0x286d91,_0x314bf4,_0x174cae,_0x2466eb,_0x10406b=!0x1,_0x3758c4,_0x364450,_0xd62845,_0x1f525e,_0x52586d,_0x726c9b,_0x3cef43){var _0x5014c1=_0x3f33cb;super(_0x4fc1fb,_0x286d91,_0x314bf4,_0x174cae,_0x2466eb,_0x364450,_0xd62845,_0x1f525e,_0x3cef43),N(this,_0x5014c1(0x2d9),_0x5014c1(0x2c1)),(this[_0x5014c1(0x359)]=_0x10406b,this[_0x5014c1(0x355)]=_0x3758c4,this[_0x5014c1(0x23e)]=_0x52586d,this[_0x5014c1(0x28e)]=_0x726c9b,this[_0x5014c1(0x102)]=_0x3cef43,this[_0x5014c1(0x29e)](),this[_0x5014c1(0xfd)](),this[_0x5014c1(0x12b)]());}[_0x3f33cb(0xc2)](){return this;}[_0x3f33cb(0xb7)](){return this;}[_0x3f33cb(0x2b0)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x3f33cb(0x2bc)](){var _0x2d1ea7=_0x3f33cb;throw new Error(_0x2d1ea7(0x2cb));}[_0x3f33cb(0xfd)](){var _0xfa9c44=_0x3f33cb,_0x281bce;(_0x281bce=this['_localCacheService'])==null||_0x281bce[_0xfa9c44(0x331)](this['unitID'],this[_0xfa9c44(0x1c4)],null,[]);}[_0x3f33cb(0x29e)](){var _0x4854b2=_0x3f33cb;this[_0x4854b2(0x359)]?this[_0x4854b2(0x28e)]['emitEvent']({'id':ne[_0x4854b2(0x22e)]}):this['_collaborationUIEventService'][_0x4854b2(0xa0)]({'id':ne[_0x4854b2(0x99)]});}['_disableEditing'](){var _0x1f32a9=_0x3f33cb;this[_0x1f32a9(0x355)][_0x1f32a9(0x347)](new _0x158a74(this[_0x1f32a9(0x27f)])['id'],!0x1);}};le=Ee([P(0x6,_0x289be2(_0x1a3b09)),P(0x7,_0x587c6c),P(0x8,_0x1f5600),P(0x9,_0x289be2(_0x1b45af)),P(0xa,_0x289be2(_0x4c9010)),P(0xb,_0x289be2(ve)),P(0xc,_0x3d442c(J))],le);let ue=class extends Ie{constructor(_0x1081f9,_0x54ecbf,_0x34bca2,_0x31780e,_0x1555b9,_0x206920,_0xdc4a23,_0x69a3ff,_0xc88fbf,_0x3d42c9){var _0xbb0dae=_0x3f33cb;super(_0x1081f9,_0x54ecbf,_0x34bca2,_0x31780e,_0x1555b9,_0x69a3ff,_0xc88fbf,_0xdc4a23,_0x3d42c9),N(this,_0xbb0dae(0x2d9),'offline'),this[_0xbb0dae(0xee)]=_0x206920;}[_0x3f33cb(0xc2)](_0x24a63f){var _0x551864=_0x3f33cb;return this[_0x551864(0x189)]['push'](_0x24a63f),this[_0x551864(0x20c)](),this;}[_0x3f33cb(0xb7)](_0x49ae48){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x3f33cb(0x2b0)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x305feb=_0x3f33cb;throw new Error(_0x305feb(0xa6));}['onRemoteRetry'](){return this;}[_0x3f33cb(0x37e)](){return this;}[_0x3f33cb(0x390)](){var _0x4b113f=_0x3f33cb;const {_injector:_0x16659d,_pendingMutations:_0xc9e547,_awaitingChangeset:_0x58c6e2,unitID:_0x42f6d6,_handler:_0x35e8c2,type:_0x3868e8}=this,_0x85e434=Ci(_0x16659d,_0x42f6d6,_0x3868e8,_0x58c6e2,_0xc9e547,_0x35e8c2);return _0x85e434 instanceof re?_0x85e434['_schedule']():(_0x85e434 instanceof ae||_0x85e434 instanceof _e)&&_0x85e434[_0x4b113f(0x2bc)](),_0x85e434;}[_0x3f33cb(0x2bc)](){var _0x260abb=_0x3f33cb;throw new Error(_0x260abb(0x1fa));}};ue=Ee([P(0x5,_0x289be2(_0x20dc98)),P(0x6,_0x289be2(_0x1b45af)),P(0x7,_0x587c6c),P(0x8,_0x1f5600),P(0x9,_0x3d442c(J))],ue);let Q=class extends Ie{constructor(_0x167661,_0x4c37f6,_0x49c6d7,_0x2147ae,_0x537b39,_0x27365c,_0x4e3206,_0x3257a8,_0x1f8fb4,_0x22421e,_0x4118dc,_0x4296ff,_0x231a83,_0x1af232){var _0x1b8b0e=_0x3f33cb;super(_0x167661,_0x4c37f6,_0x49c6d7,_0x2147ae,_0x4e3206,_0x4118dc,_0x4296ff,_0x1f8fb4,_0x1af232),N(this,_0x1b8b0e(0x2d9),_0x1b8b0e(0x315)),(this[_0x1b8b0e(0x1e7)]=_0x537b39,this['_queuedRemoteChangesets']=_0x27365c,this[_0x1b8b0e(0xee)]=_0x3257a8,this[_0x1b8b0e(0x259)]=_0x22421e,this[_0x1b8b0e(0x21e)]=_0x231a83,this['localCacheService']=_0x1af232);}['onMissedChangesetFetched'](_0x39493b){var _0x153f81=_0x3f33cb;try{const _0x5a32c4=[..._0x39493b,...this[_0x153f81(0x28d)]],_0x5756ea=[this[_0x153f81(0x1d6)]||this[_0x153f81(0x1e7)]][_0x153f81(0x313)](_0x46ffe8=>!!_0x46ffe8);let _0x8aab5c,_0x457d51;if(_0x5756ea[_0x153f81(0x2f6)]){const _0x3c1656=this[_0x153f81(0x21e)]['transformChangesets'](_0x5a32c4,_0x5756ea,!0x1);if(!_0x3e130b(_0x3c1656))throw _0x3c1656[_0x153f81(0x288)];_0x8aab5c=_0x3c1656[_0x153f81(0x361)],_0x457d51=_0x3c1656[_0x153f81(0x1f6)];}else _0x8aab5c=_0x5a32c4,_0x457d51=[];let _0x4e82ba=this[_0x153f81(0x189)];_0x8aab5c['forEach'](_0x1e6923=>{var _0x25cb96=_0x153f81;let _0x1a5061;if(_0x4e82ba[_0x25cb96(0x2f6)]){const _0x4d47d7=this[_0x25cb96(0x21e)][_0x25cb96(0x1b5)](_0x1e6923,_0x4e82ba);if(!_0x12b764(_0x4d47d7))throw _0x4d47d7['error'];_0x1a5061=_0x4d47d7[_0x25cb96(0x361)],_0x4e82ba=_0x4d47d7['m2Prime'];}else _0x1a5061=_0x1e6923;this[_0x25cb96(0x1ed)](_0x1a5061);}),this[_0x153f81(0x1e7)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x457d51[_0x153f81(0x2f6)]&&(_0x457d51[0x0][_0x153f81(0x2c2)]=this[_0x153f81(0xa5)]());let _0x117dec;if(this[_0x153f81(0x1d6)]&&_0x4e82ba[_0x153f81(0x2f6)]!==0x0)_0x117dec=this[_0x153f81(0xee)][_0x153f81(0x22d)](ae,this[_0x153f81(0x27f)],this['type'],_0x457d51[0x0],_0x4e82ba,this[_0x153f81(0x171)],void 0x0);else{if(this[_0x153f81(0x1d6)]&&_0x4e82ba[_0x153f81(0x2f6)]===0x0)_0x457d51[0x0][_0x153f81(0x2c2)]=this[_0x153f81(0xa5)](),_0x117dec=this[_0x153f81(0xee)][_0x153f81(0x22d)](_e,this['unitID'],this[_0x153f81(0x1c4)],_0x457d51[0x0],this[_0x153f81(0x171)]);else{if(_0x4e82ba['length']!==0x0){const _0xfb16dc=this[_0x153f81(0xee)]['createInstance'](re,this[_0x153f81(0x27f)],this[_0x153f81(0x1c4)],_0x4e82ba,this[_0x153f81(0x171)]);_0xfb16dc[_0x153f81(0xad)](),_0x117dec=_0xfb16dc;}else _0x117dec=this[_0x153f81(0xee)][_0x153f81(0x22d)](ye,this['unitID'],this[_0x153f81(0x1c4)],this[_0x153f81(0x171)]);}}return _0x117dec['_updateLocalCache'](),_0x117dec;}catch(_0x42c1f0){return this[_0x153f81(0x259)][_0x153f81(0x288)](_0x153f81(0x1fb),'failed\x20to\x20apply\x20missed\x20changesets!',_0x42c1f0),this['_injector'][_0x153f81(0x22d)](le,this[_0x153f81(0x27f)],this[_0x153f81(0x1c4)],this[_0x153f81(0x1d6)],this['_pendingMutations'],this['_handler'],!0x1);}}['resend'](){var _0x221faa=_0x3f33cb;throw new Error(_0x221faa(0x38b));}[_0x3f33cb(0xc2)](_0x982ebf){var _0x36f518=_0x3f33cb;return this['_pendingMutations'][_0x36f518(0x195)](_0x982ebf),this;}['onRemoteChangeset'](_0x59e274){var _0x4a34eb=_0x3f33cb;return this[_0x4a34eb(0x28d)][_0x4a34eb(0x195)](_0x59e274),this;}[_0x3f33cb(0x2b0)](_0x319b61){var _0x4b6b2e=_0x3f33cb;if(this[_0x4b6b2e(0x1d6)])return this[_0x4b6b2e(0x1e7)]=this['_awaitingChangeset'],this[_0x4b6b2e(0x1d6)]=null,this;throw new Error(_0x4b6b2e(0x96));}[_0x3f33cb(0x28a)](_0x1f2312){var _0xc9f944=_0x3f33cb;return this[_0xc9f944(0x181)](!!(_0x1f2312!=null&&_0x1f2312[_0xc9f944(0x1b2)]));}[_0x3f33cb(0xca)](){return this;}[_0x3f33cb(0x37e)](){var _0x13ab5c=_0x3f33cb;return this['_injector'][_0x13ab5c(0x22d)](ue,this[_0x13ab5c(0x27f)],this['type'],this[_0x13ab5c(0x1d6)],this[_0x13ab5c(0x189)],this[_0x13ab5c(0x171)]);}[_0x3f33cb(0x390)](){return this;}[_0x3f33cb(0x181)](_0xa0bcd2){var _0x818660=_0x3f33cb;return this[_0x818660(0xee)][_0x818660(0x22d)](le,this['unitID'],this[_0x818660(0x1c4)],this[_0x818660(0x1d6)],this[_0x818660(0x189)],this['_handler'],_0xa0bcd2);}};Q=Ee([P(0x7,_0x289be2(_0x20dc98)),P(0x8,_0x289be2(_0x1b45af)),P(0x9,_0x575f9c),P(0xa,_0x587c6c),P(0xb,_0x1f5600),P(0xc,_0x206be0),P(0xd,_0x3d442c(J))],Q);function Ci(_0x1e55b7,_0x30beb5,_0x4d2ec5,_0x953931,_0x280616,_0x45fc17){var _0x252e11=_0x3f33cb;return _0x953931&&_0x280616[_0x252e11(0x2f6)]?_0x1e55b7[_0x252e11(0x22d)](ae,_0x30beb5,_0x4d2ec5,_0x953931,_0x280616,_0x45fc17,void 0x0):_0x953931?_0x1e55b7[_0x252e11(0x22d)](_e,_0x30beb5,_0x4d2ec5,_0x953931,_0x45fc17):_0x280616[_0x252e11(0x2f6)]?_0x1e55b7[_0x252e11(0x22d)](re,_0x30beb5,_0x4d2ec5,_0x280616,_0x45fc17):_0x1e55b7[_0x252e11(0x22d)](ye,_0x30beb5,_0x4d2ec5,_0x45fc17);}var qs=Object[_0x3f33cb(0x296)],wt=(_0x37f399,_0x55500d,_0x46f1c6,_0x8711ce)=>{var _0x552a8f=_0x3f33cb;for(var _0x17d3fc=_0x8711ce>0x1?void 0x0:_0x8711ce?qs(_0x55500d,_0x46f1c6):_0x55500d,_0x3844c5=_0x37f399[_0x552a8f(0x2f6)]-0x1,_0x23ce6c;_0x3844c5>=0x0;_0x3844c5--)(_0x23ce6c=_0x37f399[_0x3844c5])&&(_0x17d3fc=_0x23ce6c(_0x17d3fc)||_0x17d3fc);return _0x17d3fc;},H=(_0x35eb37,_0x32a692)=>(_0x478079,_0x2ab10d)=>_0x32a692(_0x478079,_0x2ab10d,_0x35eb37);let st=class extends _0x4447d4{constructor(_0x23a5a3,_0x1e0b2b,_0x3180e9,_0x5d5b72,_0x25e805,_0x22ba00,_0x10ccfe,_0x5c6c92,_0x4c19dc,_0x5e9279,_0x3a7ebc,_0xdbef5f,_0x5681eb){var _0x1a3a05=_0x3f33cb;super(),N(this,_0x1a3a05(0x2c6),new _0x124502(null)),N(this,'state$',this['_state$']['asObservable']()),N(this,_0x1a3a05(0x17d)),N(this,_0x1a3a05(0xc3),!0x1),N(this,_0x1a3a05(0x117),''),N(this,_0x1a3a05(0x29a),0x0),N(this,_0x1a3a05(0x3a1),this[_0x1a3a05(0x19d)]['pipe'](_0x2b38ff(_0x4496d7=>_0x4496d7?_0x4496d7[_0x1a3a05(0x2d9)]:Ii[_0x1a3a05(0x285)]),_0x1a4724(0x1))),N(this,_0x1a3a05(0x2d7),!0x1),N(this,_0x1a3a05(0xe5),[]),(this[_0x1a3a05(0x27f)]=_0x23a5a3,this[_0x1a3a05(0x399)]=_0x1e0b2b,this[_0x1a3a05(0x110)]=_0x3180e9,this[_0x1a3a05(0xee)]=_0x5d5b72,this[_0x1a3a05(0xb2)]=_0x25e805,this['_localeService']=_0x22ba00,this['_revisionService']=_0x10ccfe,this[_0x1a3a05(0x224)]=_0x5c6c92,this[_0x1a3a05(0x259)]=_0x4c19dc,this['_commandService']=_0x5e9279,this[_0x1a3a05(0x355)]=_0x3a7ebc,this[_0x1a3a05(0x1c9)]=_0xdbef5f,this[_0x1a3a05(0x316)]=_0x5681eb);}get[_0x3f33cb(0x192)](){return this['_state'];}async[_0x3f33cb(0x268)](){var _0x316643=_0x3f33cb;if(this[_0x316643(0x192)])throw new Error(_0x316643(0x376));await this[_0x316643(0x1e0)]();}[_0x3f33cb(0x2da)](){var _0x464198=_0x3f33cb;return this[_0x464198(0xc3)]=!0x0,_0xe5545b(()=>{var _0x4fa14f=_0x464198;this[_0x4fa14f(0xc3)]=!0x1,this[_0x4fa14f(0x2b4)]();});}[_0x3f33cb(0x176)](_0x5c83ca){var _0xddd524=_0x3f33cb;this[_0xddd524(0x2f4)](_0x5c83ca);}['_updateState'](_0x13be8a){var _0x22abca=_0x3f33cb;this['_state']=_0x13be8a,this[_0x22abca(0x2c6)][_0x22abca(0x38f)](_0x13be8a);}async[_0x3f33cb(0x1e0)](){var _0x355598=_0x3f33cb,_0x2f1a2a;this['_updateState'](await this[_0x355598(0x24b)]()),this[_0x355598(0x1c9)]&&((_0x2f1a2a=this[_0x355598(0x1c9)])==null||_0x2f1a2a[_0x355598(0x1ee)](this['unitID']),this[_0x355598(0x303)](this[_0x355598(0x1c9)][_0x355598(0x374)](this[_0x355598(0x27f)])['subscribe'](_0xd71ee5=>{var _0x4920bd=_0x355598;this[_0x4920bd(0x259)]['debug']('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0xd71ee5),_0xd71ee5===Si[_0x4920bd(0x248)]?(this[_0x4920bd(0x224)][_0x4920bd(0xa0)]({'id':ne['OTHER_CLIENT_EDITING']}),this[_0x4920bd(0x355)][_0x4920bd(0x347)](new _0x158a74(this[_0x4920bd(0x27f)])['id'],!0x1),this[_0x4920bd(0x355)][_0x4920bd(0x232)](!0x1)):(this[_0x4920bd(0x355)][_0x4920bd(0x347)](new _0x158a74(this['unitID'])['id'],!0x0),this[_0x4920bd(0x355)]['setShowComponents'](!0x0));})));let _0x3f9d8a=!0x1;return this['disposeWithMe'](this['session'][_0x355598(0x13c)][_0x355598(0xd2)](_0x42606e=>{var _0x392559=_0x355598;_0x42606e===ge[_0x392559(0x1f7)]?this[_0x392559(0x2ae)](_0x3f9d8a):_0x42606e===ge[_0x392559(0x285)]&&(_0x3f9d8a=!0x0,this[_0x392559(0x1dd)]());})),this[_0x355598(0x303)](this[_0x355598(0x399)][_0x355598(0x173)][_0x355598(0xd2)](_0x328eda=>{var _0x492249=_0x355598;try{switch(_0x328eda['eventID']){case _0x7f38ce[_0x492249(0x1fc)]:{this[_0x492249(0x247)](_0x4a4f2e(_0x328eda[_0x492249(0x38e)]));break;}case _0x7f38ce[_0x492249(0xef)]:{this[_0x492249(0x368)](_0x328eda[_0x492249(0x38e)]);break;}case _0x7f38ce['CHANGESET_REJ']:{this[_0x492249(0x27b)]();break;}case _0x7f38ce[_0x492249(0x321)]:{this[_0x492249(0x205)](_0x328eda[_0x492249(0x38e)]);break;}case _0x7f38ce[_0x492249(0x1bb)]:{this[_0x492249(0x222)](_0x328eda[_0x492249(0x38e)][_0x492249(0x10a)]['map'](_0x4bb2ac=>_0x4a4f2e(_0x4bb2ac)));break;}case _0x7f38ce['PERMISSION_REJ']:{this[_0x492249(0x27b)]({'isPermissionRej':!0x0});break;}case _0x7f38ce[_0x492249(0x2f0)]:break;}}catch(_0x355609){throw console[_0x492249(0x288)](_0x492249(0x12f),_0x355609),_0x355609;}})),this[_0x355598(0x17d)];}[_0x3f33cb(0x1a1)](){var _0x516e05=_0x3f33cb;this[_0x516e05(0x2d7)]=!0x1;}[_0x3f33cb(0x39e)](){var _0x5042c3=_0x3f33cb;if(this[_0x5042c3(0x2d7)])throw new Error(_0x5042c3(0x202));this[_0x5042c3(0x2d7)]=!0x0;}[_0x3f33cb(0x2f4)](_0x4692fc){var _0x47910c=_0x3f33cb;this['_lockTransition'](),this[_0x47910c(0xe9)](this[_0x47910c(0x17d)]['appendMutation'](_0x4692fc)),this['_unlockTransition']();}[_0x3f33cb(0x247)](_0x4e8058){var _0x4e1fe0=_0x3f33cb;if(!(_0x4e8058[_0x4e1fe0(0x272)]<=this[_0x4e1fe0(0x2dd)][_0x4e1fe0(0x12c)](this[_0x4e1fe0(0x27f)]))){if(this[_0x4e1fe0(0xc3)]){this[_0x4e1fe0(0xe5)][_0x4e1fe0(0x195)](_0x4e8058);return;}this[_0x4e1fe0(0x269)](_0x4e8058);}}[_0x3f33cb(0x2b4)](){var _0x570b8f=_0x3f33cb;this['_remoteChangesetQueue'][_0x570b8f(0x386)](_0x5449e2=>this[_0x570b8f(0x269)](_0x5449e2)),this[_0x570b8f(0xe5)]=[];}['_applyRemoteChangeset'](_0x2dd15f){var _0x1a9979=_0x3f33cb;const _0x475654=this[_0x1a9979(0xb2)]['interceptor'][_0x1a9979(0x206)](this[_0x1a9979(0xb2)][_0x1a9979(0x2db)]['getInterceptPoints']()[_0x1a9979(0x281)])(_0x2dd15f[_0x1a9979(0x12d)],null)||_0x2dd15f[_0x1a9979(0x12d)],_0x5b549f={..._0x2dd15f,'mutations':_0x475654};this['_lockTransition'](),this[_0x1a9979(0xe9)](this['_state'][_0x1a9979(0xb7)](_0x5b549f)),this[_0x1a9979(0x1a1)]();}[_0x3f33cb(0x368)](_0x49e0a7){var _0x2aa9b8=_0x3f33cb;this['_lockTransition'](),this[_0x2aa9b8(0xe9)](this['_state'][_0x2aa9b8(0x2b0)](_0x49e0a7)),this[_0x2aa9b8(0x1a1)]();}[_0x3f33cb(0x27b)](_0x2737be){var _0x3a4a62=_0x3f33cb;this[_0x3a4a62(0x39e)](),this[_0x3a4a62(0xe9)](this['_state'][_0x3a4a62(0x28a)](_0x2737be)),this[_0x3a4a62(0x1a1)]();}['_onRemoteRetry'](_0x4794d6){var _0x2f0a66=_0x3f33cb;this['_lockTransition'](),this['_updateState'](this[_0x2f0a66(0x17d)][_0x2f0a66(0xca)](_0x4794d6)),this[_0x2f0a66(0x1a1)]();}[_0x3f33cb(0x222)](_0x4c7fc7){var _0x2a98b2=_0x3f33cb;if(!(this[_0x2a98b2(0x17d)]instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0xbeaa37=_0x4c7fc7[_0x2a98b2(0x185)](_0x38cba4=>{var _0x37892d=_0x2a98b2;const _0x2ef8=this[_0x37892d(0xb2)][_0x37892d(0x2db)][_0x37892d(0x206)](this[_0x37892d(0xb2)][_0x37892d(0x2db)][_0x37892d(0xd0)]()['COMPRESS_MUTATION_APPLY'])(_0x38cba4[_0x37892d(0x12d)],null)||_0x38cba4[_0x37892d(0x12d)];return{..._0x38cba4,'mutations':_0x2ef8};});this['_lockTransition'](),this[_0x2a98b2(0xe9)](this['_state']['onMissedChangesetFetched'](_0xbeaa37)),this[_0x2a98b2(0x1a1)]();}[_0x3f33cb(0x1dd)](){var _0x35935f=_0x3f33cb;this[_0x35935f(0x39e)](),this[_0x35935f(0xe9)](this[_0x35935f(0x17d)][_0x35935f(0x37e)]()),this[_0x35935f(0x1a1)]();}['_toggleOnline'](_0x487221=!0x1){var _0x3cf26b=_0x3f33cb;this[_0x3cf26b(0x39e)](),this['_updateState'](this[_0x3cf26b(0x17d)]['toggleOnline']()),this[_0x3cf26b(0x1a1)]();const _0x4cccab=this[_0x3cf26b(0x17d)];_0x487221&&_0x4cccab instanceof ye&&(this[_0x3cf26b(0x39e)](),this['_updateState'](_0x4cccab[_0x3cf26b(0x30c)]()),this[_0x3cf26b(0x1a1)]());}async['_createInitialState'](){return new Promise(_0x3a7538=>{var _0x232907=_0x2cdc;this[_0x232907(0x399)]['sessionStatus$'][_0x232907(0x2b6)](_0x344dee(0x1))['subscribe'](async _0x10b5cb=>{var _0x1feada=_0x232907;_0x3a7538(await this[_0x1feada(0x380)](_0x10b5cb===ge[_0x1feada(0x1f7)]));});});}[_0x3f33cb(0x182)](){const _0x598ded=this['unitID'];return{'onStateChange':(_0x3b254e,_0xccd03c)=>{var _0x310b66=_0x2cdc;if(_0x3b254e!==this[_0x310b66(0x17d)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x3b254e['status']+'\x0aAfter:\x20'+_0xccd03c['status']+'\x0aCurrent:\x20'+this['_state'][_0x310b66(0x2d9)]);this[_0x310b66(0xe9)](_0xccd03c);},'onSendChangeset':_0x4df8ef=>{var _0x170e0c=_0x2cdc;_0x4df8ef['sid']||(_0x4df8ef[_0x170e0c(0x13f)]=this[_0x170e0c(0x117)],_0x4df8ef[_0x170e0c(0x375)]=++this[_0x170e0c(0x29a)]);const _0x1bd1ee={'eventID':_0x7f38ce[_0x170e0c(0x1f9)],'data':{'unitID':_0x4df8ef[_0x170e0c(0x27f)],'unitType':this[_0x170e0c(0x110)],'changeset':_0x4df8ef,'memberID':this[_0x170e0c(0x399)][_0x170e0c(0x208)]()}};this[_0x170e0c(0x399)]['send'](_0x1bd1ee,this[_0x170e0c(0x27f)]);},'onMissingChangesets':({from:_0x1b39ab,to:_0xb88c30})=>{var _0xa301f4=_0x2cdc;this[_0xa301f4(0x259)][_0xa301f4(0x16c)](_0xa301f4(0x18d),_0xa301f4(0x17c)+_0x1b39ab+'\x20to\x20'+_0xb88c30);const _0x3b35da={'eventID':_0x7f38ce[_0xa301f4(0xd9)],'data':{'unitID':_0x598ded,'unitType':this[_0xa301f4(0x110)],'from':_0x1b39ab,'to':_0xb88c30}};this[_0xa301f4(0x399)]['send'](_0x3b35da,this[_0xa301f4(0x27f)]);}};}async[_0x3f33cb(0x380)](_0x3fbe30){var _0x560a7b=_0x3f33cb,_0x58fcb5,_0x35a58c,_0x161bd6;const _0x325364=await((_0x58fcb5=this[_0x560a7b(0x316)])==null?void 0x0:_0x58fcb5[_0x560a7b(0xec)](this[_0x560a7b(0x27f)])),_0x17b871=(_0x35a58c=_0x325364==null?void 0x0:_0x325364[_0x560a7b(0x12d)])!=null?_0x35a58c:[],_0x464b7c=(_0x161bd6=_0x325364==null?void 0x0:_0x325364[_0x560a7b(0x330)])!=null?_0x161bd6:null,_0x16ce44=!!(_0x464b7c!=null&&_0x464b7c['sid'])&&!!(_0x464b7c!=null&&_0x464b7c['reqId']);this[_0x560a7b(0x117)]=_0x16ce44?_0x464b7c[_0x560a7b(0x13f)]:_0x2de936(),this[_0x560a7b(0x29a)]=_0x16ce44?_0x464b7c['reqId']:0x0;const _0x26e117=this['unitID'];try{this[_0x560a7b(0x24a)](_0x464b7c,_0x17b871);}catch(_0x2357cc){this[_0x560a7b(0x259)][_0x560a7b(0x288)](_0x2357cc);}const _0x949f77=this[_0x560a7b(0x182)]();if(_0x3fbe30){const _0x5644c1=Ci(this['_injector'],_0x26e117,this[_0x560a7b(0x110)],_0x464b7c,_0x17b871,_0x949f77);return _0x5644c1 instanceof re?_0x5644c1[_0x560a7b(0xad)]():(_0x5644c1 instanceof ae||_0x5644c1 instanceof _e)&&_0x5644c1[_0x560a7b(0x2bc)](),_0x5644c1;}return this['_injector'][_0x560a7b(0x22d)](ue,_0x26e117,this[_0x560a7b(0x110)],_0x464b7c,_0x17b871,_0x949f77);}[_0x3f33cb(0x24a)](_0x5a26fa,_0x10b0a1){var _0x37c5e2=_0x3f33cb,_0x58f31a,_0x473810;const _0x15a9ca=this[_0x37c5e2(0xb2)][_0x37c5e2(0x2db)][_0x37c5e2(0x206)](this[_0x37c5e2(0xb2)]['interceptor'][_0x37c5e2(0xd0)]()['COMPRESS_MUTATION_APPLY']);(_0x58f31a=_0x15a9ca((_0x5a26fa==null?void 0x0:_0x5a26fa[_0x37c5e2(0x12d)])||[],null))==null||_0x58f31a[_0x37c5e2(0x386)](_0x4ffd9b=>this[_0x37c5e2(0x239)][_0x37c5e2(0x21f)](_0x4ffd9b['id'],_0x4ffd9b[_0x37c5e2(0x35f)])),(_0x473810=_0x15a9ca(_0x10b0a1||[],null))==null||_0x473810[_0x37c5e2(0x386)](_0x455a3b=>this[_0x37c5e2(0x239)]['executeCommand'](_0x455a3b['id'],_0x455a3b[_0x37c5e2(0x35f)]));}};st=wt([H(0x3,_0x289be2(_0x20dc98)),H(0x4,_0x289be2(_0x21a1eb)),H(0x5,_0x289be2(_0x4c9010)),H(0x6,_0x289be2(_0x1b45af)),H(0x7,_0x289be2(ve)),H(0x8,_0x575f9c),H(0x9,_0x587c6c),H(0xa,_0x1a3b09),H(0xb,_0x3d442c(ht)),H(0xc,_0x3d442c(J))],st);let St=class extends st{constructor(_0x32251b,_0x58b3d7,_0x4ac133,_0x573ffb,_0x5ad8e9,_0x3be4ed,_0x118f18,_0x3ee9a2,_0x4c7283,_0x3c9f3d,_0x48ef0a,_0x3703e5,_0x29d97c){var _0x10065f=_0x3f33cb;super(_0x32251b,_0x4ac133,_0x58b3d7,_0x573ffb,_0x5ad8e9,_0x3be4ed,_0x118f18,_0x3ee9a2,_0x4c7283,_0x3c9f3d,_0x48ef0a,_0x3703e5,_0x29d97c),N(this,_0x10065f(0x392),null),(this[_0x10065f(0x27f)]=_0x32251b,this[_0x10065f(0x1c4)]=_0x58b3d7);}[_0x3f33cb(0xf1)](_0x5cd7d0){var _0x38cf32=_0x3f33cb;this[_0x38cf32(0x392)]=_0x5cd7d0;}[_0x3f33cb(0x16d)](){var _0x4a78ba=_0x3f33cb;this[_0x4a78ba(0x392)]=null,super['dispose']();}[_0x3f33cb(0x182)](){var _0x2396bb=_0x3f33cb;const _0x4c34d1=super[_0x2396bb(0x182)]();return _0x4c34d1['onTransformIME']=_0x302e1c=>{var _0x1a8b87=_0x2396bb,_0x2cb509,_0x4bd604;return(_0x4bd604=(_0x2cb509=this['_handlerCallback'])==null?void 0x0:_0x2cb509['onTransformIME'])==null?void 0x0:_0x4bd604[_0x1a8b87(0x2e9)](_0x2cb509,_0x302e1c);},_0x4c34d1[_0x2396bb(0x23d)]=_0x2f5f22=>{var _0x561243=_0x2396bb,_0x2b74b6,_0x4c50a8;return(_0x4c50a8=(_0x2b74b6=this[_0x561243(0x392)])==null?void 0x0:_0x2b74b6[_0x561243(0x23d)])==null?void 0x0:_0x4c50a8[_0x561243(0x2e9)](_0x2b74b6,_0x2f5f22);},_0x4c34d1[_0x2396bb(0x2e3)]=_0x54f163=>{var _0x25b748=_0x2396bb,_0x13ef1f,_0x55dfd8;return(_0x55dfd8=(_0x13ef1f=this[_0x25b748(0x392)])==null?void 0x0:_0x13ef1f[_0x25b748(0x2e3)])==null?void 0x0:_0x55dfd8['call'](_0x13ef1f,_0x54f163);},_0x4c34d1[_0x2396bb(0x352)]=_0x5394f1=>{var _0x51ce31=_0x2396bb,_0x2e94c7,_0x5604a2;return(_0x5604a2=(_0x2e94c7=this[_0x51ce31(0x392)])==null?void 0x0:_0x2e94c7[_0x51ce31(0x352)])==null?void 0x0:_0x5604a2[_0x51ce31(0x2e9)](_0x2e94c7,_0x5394f1);},_0x4c34d1[_0x2396bb(0x37c)]=_0x498bd9=>{var _0x4981b3=_0x2396bb,_0x2c3ebb,_0x5915ee,_0x2da59e;if(!((_0x2c3ebb=this[_0x4981b3(0x392)])!=null&&_0x2c3ebb[_0x4981b3(0x37c)]))throw new Error(_0x4981b3(0x159));return(_0x2da59e=(_0x5915ee=this[_0x4981b3(0x392)])==null?void 0x0:_0x5915ee[_0x4981b3(0x37c)])==null?void 0x0:_0x2da59e['call'](_0x5915ee,_0x498bd9);},_0x4c34d1[_0x2396bb(0x227)]=_0x1284cd=>{var _0x2bae65=_0x2396bb,_0x2ee6ad,_0x1754cc,_0x57aadd;if(!((_0x2ee6ad=this[_0x2bae65(0x392)])!=null&&_0x2ee6ad[_0x2bae65(0x227)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x57aadd=(_0x1754cc=this[_0x2bae65(0x392)])==null?void 0x0:_0x1754cc[_0x2bae65(0x227)])==null?void 0x0:_0x57aadd[_0x2bae65(0x2e9)](_0x1754cc,_0x1284cd);},_0x4c34d1;}async[_0x3f33cb(0x1e0)](){var _0x45aaed=_0x3f33cb;const _0x23cdc0=await super['_init']();return this[_0x45aaed(0x303)](this[_0x45aaed(0x239)][_0x45aaed(0xd7)]((_0x3d4f0d,_0x3b58d1)=>{var _0x4ee4a2=_0x45aaed;if(_0x3d4f0d[_0x4ee4a2(0x1c4)]!==_0x11cd3f[_0x4ee4a2(0x351)]||_0x3b58d1!=null&&_0x3b58d1[_0x4ee4a2(0x18c)]||_0x3b58d1!=null&&_0x3b58d1[_0x4ee4a2(0x104)]||_0x3d4f0d['id']===_0x29a1a4['id'])return;const _0xf6e58f=_0x3d4f0d[_0x4ee4a2(0x35f)];if((_0xf6e58f==null?void 0x0:_0xf6e58f[_0x4ee4a2(0x136)])!==this[_0x4ee4a2(0x27f)])return;const _0x3dabb4=_0x3d4f0d,_0x38abdc=this[_0x4ee4a2(0xb2)][_0x4ee4a2(0x2db)][_0x4ee4a2(0x206)](this['_compressMutationService'][_0x4ee4a2(0x2db)]['getInterceptPoints']()[_0x4ee4a2(0x113)])([_0x3dabb4],null)||[_0x3dabb4];this[_0x4ee4a2(0x2f4)](_0x38abdc[0x0]);})),_0x23cdc0;}};St=wt([H(0x3,_0x289be2(_0x20dc98)),H(0x4,_0x289be2(_0x21a1eb)),H(0x5,_0x289be2(_0x4c9010)),H(0x6,_0x289be2(_0x1b45af)),H(0x7,_0x289be2(ve)),H(0x8,_0x575f9c),H(0x9,_0x587c6c),H(0xa,_0x1a3b09),H(0xb,_0x3d442c(ht)),H(0xc,_0x3d442c(J))],St);let Et=class extends st{constructor(_0x51c670,_0xebb473,_0x1676e1,_0x1f1f16,_0x4a171a,_0x12c902,_0x201a4f,_0x5596d5,_0xdc6231,_0x350898,_0x5b3405,_0x41ed2d,_0x271a52,_0x4df617){var _0x24ff07=_0x3f33cb;super(_0x51c670,_0x1676e1,_0xebb473,_0x1f1f16,_0x4a171a,_0x12c902,_0x201a4f,_0xdc6231,_0x350898,_0x5b3405,_0x41ed2d,_0x271a52,_0x4df617),this[_0x24ff07(0x27f)]=_0x51c670,this[_0x24ff07(0x1c4)]=_0xebb473,this['_sheetTransformSelectionsService']=_0x5596d5;}[_0x3f33cb(0x182)](){var _0x18d601=_0x3f33cb;const _0x1873a6=super[_0x18d601(0x182)]();return _0x1873a6[_0x18d601(0x2e3)]=_0x450e67=>this[_0x18d601(0xb9)][_0x18d601(0x22c)](_0x450e67),_0x1873a6;}async[_0x3f33cb(0x1e0)](){var _0x189040=_0x3f33cb;const _0x503bb5=await super[_0x189040(0x1e0)]();return this[_0x189040(0x303)](this['_commandService'][_0x189040(0xd7)]((_0x3f5bc3,_0x3ac245)=>{var _0xade5de=_0x189040;if(_0x3f5bc3[_0xade5de(0x1c4)]!==_0x11cd3f[_0xade5de(0x351)]||_0x3ac245!=null&&_0x3ac245[_0xade5de(0x18c)]||_0x3ac245!=null&&_0x3ac245[_0xade5de(0x104)])return;const _0xe9ad04=_0x3f5bc3['params'];if((_0xe9ad04==null?void 0x0:_0xe9ad04['unitId'])!==this[_0xade5de(0x27f)])return;const _0x2e014e=_0x3f5bc3,_0x38315e=this['_compressMutationService'][_0xade5de(0x2db)][_0xade5de(0x206)](this['_compressMutationService'][_0xade5de(0x2db)][_0xade5de(0xd0)]()['COMPRESS_MUTATION_SEND'])([_0x2e014e],null)||[_0x2e014e];this[_0xade5de(0x2f4)](_0x38315e[0x0]);})),_0x503bb5;}};Et=wt([H(0x3,_0x289be2(_0x20dc98)),H(0x4,_0x289be2(_0x21a1eb)),H(0x5,_0x289be2(_0x4c9010)),H(0x6,_0x289be2(_0x1b45af)),H(0x7,_0x289be2(it)),H(0x8,_0x289be2(ve)),H(0x9,_0x575f9c),H(0xa,_0x587c6c),H(0xb,_0x1a3b09),H(0xc,_0x3d442c(ht)),H(0xd,_0x3d442c(J))],Et);var zs=Object[_0x3f33cb(0x296)],Js=(_0x59ee3b,_0x572c71,_0x54f3ef,_0x24bc67)=>{for(var _0x418ed5=_0x24bc67>0x1?void 0x0:_0x24bc67?zs(_0x572c71,_0x54f3ef):_0x572c71,_0x5244ec=_0x59ee3b['length']-0x1,_0x12f0c1;_0x5244ec>=0x0;_0x5244ec--)(_0x12f0c1=_0x59ee3b[_0x5244ec])&&(_0x418ed5=_0x12f0c1(_0x418ed5)||_0x418ed5);return _0x418ed5;},Be=(_0x1c9da4,_0x2f4640)=>(_0x297290,_0x354c21)=>_0x2f4640(_0x297290,_0x354c21,_0x1c9da4);let nt=class extends _0x4447d4{constructor(_0x19c412,_0x4af483,_0x55309b,_0x221819){var _0x199a2f=_0x3f33cb,_0x56c71d;super(),N(this,_0x199a2f(0x38d),new Map()),N(this,_0x199a2f(0x384),new _0x11e6d4()),N(this,_0x199a2f(0x2b8),this['_entityInit$'][_0x199a2f(0x350)]()),(this[_0x199a2f(0xee)]=_0x19c412,this[_0x199a2f(0x393)]=_0x4af483,this['_configService']=_0x55309b,this[_0x199a2f(0x198)]=_0x221819,((_0x56c71d=this[_0x199a2f(0x27e)]['getConfig'](K))==null?void 0x0:_0x56c71d[_0x199a2f(0x299)])!==!0x1&&this['_init']());}['dispose'](){var _0x49e4c3=_0x3f33cb;super[_0x49e4c3(0x16d)](),this[_0x49e4c3(0x38d)][_0x49e4c3(0x386)](_0x26a66d=>_0x26a66d[_0x49e4c3(0x16d)]()),this[_0x49e4c3(0x38d)]['clear']();}[_0x3f33cb(0x2fc)](_0x1a6f70){var _0x4f23c3;return(_0x4f23c3=this['_entities']['get'](_0x1a6f70))!=null?_0x4f23c3:null;}[_0x3f33cb(0x112)](_0x29f41b){var _0x22913c=_0x3f33cb;const _0xc0e4c1=this[_0x22913c(0x2fc)](_0x29f41b);return _0xc0e4c1?_0x4833a9(_0xc0e4c1):this[_0x22913c(0x384)][_0x22913c(0x2b6)](_0x27f22b(_0x647810=>_0x647810[_0x22913c(0x27f)]===_0x29f41b));}['readyForCollab'](_0x54ed8d){var _0x4fdb42=_0x3f33cb;return _0x2a469a(this['getCollabEntity$'](_0x54ed8d)[_0x4fdb42(0x2b6)](_0x55fc2c(()=>{})));}[_0x3f33cb(0x1e0)](){var _0x5cd948=_0x3f33cb;this['_univerInstanceService'][_0x5cd948(0x2e0)](_0x26aafa[_0x5cd948(0xce)])['pipe'](_0x45a280(this[_0x5cd948(0x2c0)]),_0x55be58(0x10))[_0x5cd948(0xd2)](async _0x2954ef=>{var _0x5eccd1=_0x5cd948;const _0xc5e519=_0x2954ef[_0x5eccd1(0x324)](),_0x402e40=await this[_0x5eccd1(0x167)](_0xc5e519,Z[_0x5eccd1(0xce)]);this[_0x5eccd1(0x38d)]['set'](_0xc5e519,_0x402e40);}),this[_0x5cd948(0x198)]['getTypeOfUnitAdded$'](_0x26aafa[_0x5cd948(0x387)])['pipe'](_0x45a280(this[_0x5cd948(0x2c0)]),_0x55be58(0x10))['pipe'](_0x27f22b(_0x379bb4=>!_0x379bb4[_0x5cd948(0x324)]()[_0x5cd948(0x27d)]('__')))[_0x5cd948(0xd2)](async _0x3fd437=>{var _0x7346a3=_0x5cd948;const _0x4af2b3=_0x3fd437[_0x7346a3(0x324)](),_0x48fac2=await this[_0x7346a3(0x167)](_0x4af2b3,Z[_0x7346a3(0x387)]);this[_0x7346a3(0x38d)]['set'](_0x4af2b3,_0x48fac2);}),_0x3f4b1e(this[_0x5cd948(0x198)][_0x5cd948(0x15b)](_0x26aafa[_0x5cd948(0xce)]),this['_univerInstanceService'][_0x5cd948(0x15b)](_0x26aafa['UNIVER_DOC']))[_0x5cd948(0x2b6)](_0x45a280(this[_0x5cd948(0x2c0)]))['subscribe'](_0x371fd8=>{var _0x416b97=_0x5cd948;const _0x3bb87c=_0x371fd8[_0x416b97(0x324)](),_0x32ae31=this['_entities'][_0x416b97(0x34f)](_0x3bb87c);_0x32ae31&&(_0x32ae31[_0x416b97(0x16d)](),this[_0x416b97(0x38d)][_0x416b97(0x108)](_0x3bb87c));});}async['_startCollaboration'](_0x8f9993,_0xdc5d23){var _0x39aa08=_0x3f33cb;const _0x3eec8d=await this[_0x39aa08(0x393)][_0x39aa08(0x215)](_0x8f9993),_0x49f3e0=this[_0x39aa08(0xee)][_0x39aa08(0x22d)](this[_0x39aa08(0x1ce)](_0xdc5d23),_0x8f9993,_0xdc5d23,_0x3eec8d);return await _0x49f3e0[_0x39aa08(0x268)](),this[_0x39aa08(0x384)][_0x39aa08(0x38f)](_0x49f3e0),_0x49f3e0;}['_getCtorByUniverType'](_0x2f402b){var _0x177e78=_0x3f33cb;switch(_0x2f402b){case Z[_0x177e78(0x387)]:return St;case Z[_0x177e78(0xce)]:return Et;default:throw new Error(_0x177e78(0xf9)+_0x2f402b);}}};nt=Js([Be(0x0,_0x289be2(_0x20dc98)),Be(0x1,_0x289be2(Pe)),Be(0x2,_0x3594ab),Be(0x3,_0x2366c1)],nt);var Xs=Object[_0x3f33cb(0x296)],Zs=(_0x1282ee,_0x4167fb,_0x3a86d8,_0xecfd58)=>{for(var _0x480409=_0xecfd58>0x1?void 0x0:_0xecfd58?Xs(_0x4167fb,_0x3a86d8):_0x4167fb,_0xe450ce=_0x1282ee['length']-0x1,_0xdc58d5;_0xe450ce>=0x0;_0xe450ce--)(_0xdc58d5=_0x1282ee[_0xe450ce])&&(_0x480409=_0xdc58d5(_0x480409)||_0x480409);return _0x480409;},Yt=(_0x54a9af,_0x4e2b9c)=>(_0x4d9ecb,_0x1766f3)=>_0x4e2b9c(_0x4d9ecb,_0x1766f3,_0x54a9af);const Qs=_0x3f33cb(0x2d0),en=_0x3f33cb(0x1f2);let It=class extends _0x15e2a7{constructor(_0x1585f7,_0x44de5d){var _0x25f51c=_0x3f33cb;super(),this[_0x25f51c(0x198)]=_0x1585f7,this[_0x25f51c(0x27e)]=_0x44de5d,this[_0x25f51c(0x1e0)]();}[_0x3f33cb(0x1e0)](){var _0x12bfdf=_0x3f33cb;this[_0x12bfdf(0x303)](this[_0x12bfdf(0x198)][_0x12bfdf(0x34c)][_0x12bfdf(0xd2)](()=>{var _0x1ba237=_0x12bfdf,_0x50ebe0;const _0x2c187a=this[_0x1ba237(0x198)][_0x1ba237(0x9d)]();let _0x2398fa=(_0x50ebe0=this['_configService'][_0x1ba237(0x1a4)](Qs))!=null?_0x50ebe0:en;_0x2c187a instanceof _0x5de3cd&&(_0x2398fa=_0x2c187a['name']),document[_0x1ba237(0x37d)]=_0x2398fa;}));}};It=Zs([Yt(0x0,_0x2366c1),Yt(0x1,_0x3594ab)],It);var tn=Object[_0x3f33cb(0x296)],sn=(_0x4bc00b,_0x3958b2,_0x53c7fd,_0x1b6075)=>{var _0x423f03=_0x3f33cb;for(var _0x418119=_0x1b6075>0x1?void 0x0:_0x1b6075?tn(_0x3958b2,_0x53c7fd):_0x3958b2,_0x435917=_0x4bc00b[_0x423f03(0x2f6)]-0x1,_0x418e96;_0x435917>=0x0;_0x435917--)(_0x418e96=_0x4bc00b[_0x435917])&&(_0x418119=_0x418e96(_0x418119)||_0x418119);return _0x418119;},dt=(_0x54df73,_0x37d148)=>(_0x1f5d24,_0x26c052)=>_0x37d148(_0x1f5d24,_0x26c052,_0x54df73);let rt=class{constructor(_0x12e33f,_0x24f8ff,_0x1638ba){var _0x5fb07d=_0x3f33cb;this[_0x5fb07d(0x27e)]=_0x12e33f,this[_0x5fb07d(0x141)]=_0x24f8ff,this[_0x5fb07d(0x36c)]=_0x1638ba,this[_0x5fb07d(0x268)]();}[_0x3f33cb(0x268)](){var _0x193e53=_0x3f33cb;this['_httpService'][_0x193e53(0x381)]({'priority':0x1,'interceptor':(_0x5252f6,_0x55dedc)=>_0x55dedc(_0x5252f6)[_0x193e53(0x2b6)](_0x3db289(async _0x45c436=>{var _0x305bdd=_0x193e53;const _0x4662c9=_0x45c436;if(_0x4662c9[_0x305bdd(0x2d9)]===0x191){if(typeof window>'u')throw new Error(_0x305bdd(0x1dc));if(window[_0x305bdd(0x19c)](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x15b84d=window[_0x305bdd(0x11e)](window[_0x305bdd(0x14b)][_0x305bdd(0x1a3)]);window[_0x305bdd(0x14b)][_0x305bdd(0x1a3)]=this['_getLoginPath']()+_0x305bdd(0x23b)+_0x15b84d;}}return _0x4662c9;}))});}[_0x3f33cb(0x339)](){var _0x40b1f3=_0x3f33cb,_0x11396e;const _0x28cc96=this[_0x40b1f3(0x27e)][_0x40b1f3(0x1a4)](K);return(_0x11396e=_0x28cc96==null?void 0x0:_0x28cc96[_0x40b1f3(0xae)])!=null?_0x11396e:Rs;}};rt=sn([dt(0x0,_0x3594ab),dt(0x1,_0x289be2(_0x202828)),dt(0x2,_0x289be2(_0x4c9010))],rt);var nn=Object[_0x3f33cb(0x296)],rn=(_0x432c98,_0x3574ce,_0x1baf05,_0x16c3f5)=>{for(var _0x49de43=_0x16c3f5>0x1?void 0x0:_0x16c3f5?nn(_0x3574ce,_0x1baf05):_0x3574ce,_0x3e7017=_0x432c98['length']-0x1,_0x2f5416;_0x3e7017>=0x0;_0x3e7017--)(_0x2f5416=_0x432c98[_0x3e7017])&&(_0x49de43=_0x2f5416(_0x49de43)||_0x49de43);return _0x49de43;},Kt=(_0x35d48c,_0x52df43)=>(_0x19e82b,_0x26ce17)=>_0x52df43(_0x19e82b,_0x26ce17,_0x35d48c);const an=_0x3f33cb(0x14a);let Tt=class extends _0x15e2a7{constructor(_0x4da6be,_0x3baaba){var _0x2324e4=_0x3f33cb;super(),this['_HTTPService']=_0x4da6be,this[_0x2324e4(0x27e)]=_0x3baaba,this[_0x2324e4(0x35c)]();}[_0x3f33cb(0x35c)](){var _0x11a88b=_0x3f33cb;const _0x413285=this;this[_0x11a88b(0x303)](this[_0x11a88b(0x16a)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x1a594e({'isMatch'(_0x575100){var _0x4ccb95=_0x11a88b,_0x3d8d95;if(_0x575100[_0x4ccb95(0x223)]===_0x4ccb95(0x2df)&&((_0x3d8d95=_0x575100[_0x4ccb95(0x395)])!=null&&_0x3d8d95[_0x4ccb95(0x237)])){const {objectID:_0x47a84a,objectType:_0x3e6d98}=_0x575100[_0x4ccb95(0x395)]['body']||{};if(!_0x47a84a||_0x3e6d98===void 0x0)return!0x1;const _0x1e19bd=_0x413285['_getAPIPrefixPath']()+'/'+_0x3e6d98+_0x4ccb95(0x1e4)+_0x47a84a+'/allowed';if(_0x575100[_0x4ccb95(0x236)]===_0x1e19bd)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5a762f){var _0x58b2f4=_0x11a88b,_0x3db2b7;return(_0x3db2b7=_0x5a762f[_0x58b2f4(0x395)])==null?void 0x0:_0x3db2b7[_0x58b2f4(0x237)];},'mergeParamsToRequest'(_0x4baf51,_0x5b9826){var _0x16121c=_0x11a88b;const _0x21568d=_0x413285[_0x16121c(0x218)]()+_0x16121c(0x33c),_0x398096=_0x4baf51[_0x16121c(0x221)]((_0x4e8b29,_0x45b930)=>{var _0x4f2c14=_0x16121c;const {unitID:_0x1c66fb,objectID:_0x32bdbf,objectType:_0x2f927a,actions:_0x40a654}=_0x45b930;return _0x4e8b29[_0x1c66fb]||(_0x4e8b29[_0x1c66fb]={}),_0x4e8b29[_0x1c66fb][_0x32bdbf]||(_0x4e8b29[_0x1c66fb][_0x32bdbf]={'objectID':_0x32bdbf,'objectType':_0x2f927a,'actions':[]}),_0x4e8b29[_0x1c66fb][_0x32bdbf][_0x4f2c14(0x164)][_0x4f2c14(0x195)](..._0x40a654),_0x4e8b29;},{}),_0x5408f6=[];for(const _0x6c574c in _0x398096)for(const _0x2c3a1a in _0x398096[_0x6c574c]){const {actions:_0x2149f5,objectType:_0x18bcd0}=_0x398096[_0x6c574c][_0x2c3a1a],_0x4e12d7=[...new Set(_0x2149f5)];_0x5408f6[_0x16121c(0x195)]({'unitID':_0x6c574c,'objectID':_0x2c3a1a,'objectType':_0x18bcd0,'actions':_0x4e12d7});}return new _0xe13e0d('POST',_0x21568d,{'headers':_0x5b9826[_0x16121c(0x21b)],'withCredentials':_0x5b9826['withCredentials'],'responseType':_0x5b9826[_0x16121c(0x134)],'body':{'requests':_0x5408f6}});}},{'distributeResult'(_0x175e8d,_0x7fe8ad){var _0x38f72f=_0x11a88b;const {objectActions:_0x16f506}=_0x175e8d;return _0x7fe8ad[_0x38f72f(0x185)](_0x3cb5d4=>{var _0x4f8d4a=_0x38f72f;const {unitID:_0x470695,objectID:_0x2e2a67,actions:_0x4129d3}=_0x3cb5d4,_0x3172bc=_0x16f506[_0x4f8d4a(0x238)](_0x52a13b=>_0x52a13b[_0x4f8d4a(0x27f)]===_0x470695&&_0x52a13b[_0x4f8d4a(0x165)]===_0x2e2a67),_0x4c3800=_0x4129d3[_0x4f8d4a(0x185)](_0x412d45=>_0x3172bc==null?void 0x0:_0x3172bc[_0x4f8d4a(0x164)][_0x4f8d4a(0x238)](_0x2100d6=>_0x2100d6['action']===_0x412d45))['filter'](_0x4db6af=>!!_0x4db6af);return{'config':_0x3cb5d4,'result':{'actions':_0x4c3800,'error':_0x175e8d[_0x4f8d4a(0x288)]}};});}})}));}[_0x3f33cb(0x218)](){var _0x4ce28c=_0x3f33cb,_0x344eb0;const _0x1df2d1=this[_0x4ce28c(0x27e)]['getConfig'](K);return(_0x344eb0=_0x1df2d1==null?void 0x0:_0x1df2d1['authzUrl'])!=null?_0x344eb0:an;}async[_0x3f33cb(0x2c4)](_0x1c14cd){var _0x3114d4=_0x3f33cb;const _0x5b1dac=this['_getAPIPrefixPath']()+'/'+_0x1c14cd[_0x3114d4(0x312)]+_0x3114d4(0xe1);return(await this[_0x3114d4(0x16a)]['post'](_0x5b1dac,{'body':_0x1c14cd}))[_0x3114d4(0x237)][_0x3114d4(0x165)]||'';}async[_0x3f33cb(0x106)](_0x4df76f){var _0x5e7b5e=_0x3f33cb;const _0x180bb1=this[_0x5e7b5e(0x218)]()+_0x5e7b5e(0x2ed);return(await this['_HTTPService'][_0x5e7b5e(0x10c)](_0x180bb1,{'body':_0x4df76f}))['body'][_0x5e7b5e(0x290)];}async['update'](_0x50b449){var _0x3e4734=_0x3f33cb,_0x3bdfe8,_0x58c327;const _0x242170=this[_0x3e4734(0x218)]()+'/'+_0x50b449[_0x3e4734(0x312)]+_0x3e4734(0x1e4)+_0x50b449[_0x3e4734(0x165)],_0x275e1b=await this[_0x3e4734(0x16a)][_0x3e4734(0xd8)](_0x242170,{'body':_0x50b449});if(((_0x58c327=(_0x3bdfe8=_0x275e1b==null?void 0x0:_0x275e1b[_0x3e4734(0x237)])==null?void 0x0:_0x3bdfe8[_0x3e4734(0x288)])==null?void 0x0:_0x58c327[_0x3e4734(0x36e)])!==0x1)throw new Error(_0x3e4734(0x1bf));}async[_0x3f33cb(0x379)](_0x536f9b){var _0x1a7e62=_0x3f33cb;const _0x37c9ee=this[_0x1a7e62(0x218)]()+'/'+_0x536f9b[_0x1a7e62(0x312)]+'/object/'+_0x536f9b[_0x1a7e62(0x165)]+_0x1a7e62(0x197);return(await this['_HTTPService'][_0x1a7e62(0x10c)](_0x37c9ee,{'body':_0x536f9b}))[_0x1a7e62(0x237)][_0x1a7e62(0x164)];}async[_0x3f33cb(0xe6)](_0x295171){var _0x5d3b07=_0x3f33cb;const _0xf6ec86=this[_0x5d3b07(0x218)]()+_0x5d3b07(0x33c);return(await this[_0x5d3b07(0x16a)][_0x5d3b07(0x10c)](_0xf6ec86,{'body':{'requests':_0x295171}}))[_0x5d3b07(0x237)][_0x5d3b07(0x35a)];}async['listRoles'](_0x6353d3){var _0x256ed9=_0x3f33cb;const _0x45e157=this['_getAPIPrefixPath']()+'/'+_0x6353d3[_0x256ed9(0x312)]+_0x256ed9(0x373),_0x470726=await this[_0x256ed9(0x16a)][_0x256ed9(0x10c)](_0x45e157,{'body':_0x6353d3});return{'roles':_0x470726[_0x256ed9(0x237)]['roles'],'actions':_0x470726['body']['actions']};}async[_0x3f33cb(0x370)](_0x231e72){var _0x450c7d=_0x3f33cb;const _0x18a113=this[_0x450c7d(0x218)]()+_0x450c7d(0x1d1);await this[_0x450c7d(0x16a)]['delete'](_0x18a113,{'params':{'collaboratorID':_0x231e72[_0x450c7d(0x20b)],'objectID':_0x231e72[_0x450c7d(0x165)],'unitID':_0x231e72[_0x450c7d(0x27f)]}});}async[_0x3f33cb(0xf4)](_0x45b7d6){var _0x5e9710=_0x3f33cb;const _0xacc716=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x5e9710(0x16a)][_0x5e9710(0x16f)](_0xacc716,{'body':_0x45b7d6});}async[_0x3f33cb(0x37b)](_0x56bb81){var _0x5e77eb=_0x3f33cb;const _0x40d629=this['_getAPIPrefixPath']()+_0x5e77eb(0x1d1);await this['_HTTPService'][_0x5e77eb(0x10c)](_0x40d629,{'body':_0x56bb81});}async['listCollaborators'](_0x4b54fc){var _0x50b0b0=_0x3f33cb;const _0x2f27f8=this['_getAPIPrefixPath']()+_0x50b0b0(0x1d1);return(await this['_HTTPService'][_0x50b0b0(0x34f)](_0x2f27f8,{'params':{'objectID':_0x4b54fc[_0x50b0b0(0x165)],'unitID':_0x4b54fc[_0x50b0b0(0x27f)]}}))['body'][_0x50b0b0(0x309)];}async[_0x3f33cb(0x333)](_0x3d379d){var _0x4cf6d0=_0x3f33cb;const _0x3053a3=this['_getAPIPrefixPath']()+_0x4cf6d0(0x1d1);await this['_HTTPService'][_0x4cf6d0(0xd8)](_0x3053a3,{'body':_0x3d379d});}};Tt=rn([Kt(0x0,_0x289be2(_0x202828)),Kt(0x1,_0x289be2(_0x3594ab))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x10567c){var _0x597827=_0x3f33cb;return _0x10567c&&_0x10567c[_0x597827(0x253)]&&Object['prototype'][_0x597827(0x1f5)][_0x597827(0x2e9)](_0x10567c,_0x597827(0x162))?_0x10567c[_0x597827(0x162)]:_0x10567c;}var Ve={'exports':{}};function on(_0x276f21){var _0x2bf081=_0x3f33cb;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x276f21+_0x2bf081(0x20e));}var We={'exports':{}},cn=We[_0x3f33cb(0x3a2)],qt;function te(){var _0x4a3e8b=_0x3f33cb;return qt||(qt=0x1,function(_0x4ddf16,_0x10bda1){(function(_0x115ba5,_0x388702){var _0x2a5825=_0x2cdc;_0x4ddf16[_0x2a5825(0x3a2)]=_0x388702();}(cn,function(){var _0x4fed22=_0x4fed22||function(_0x33f705,_0x200efc){var _0x47f052=_0x2cdc,_0x220af9;if(typeof window<'u'&&window[_0x47f052(0x2d3)]&&(_0x220af9=window[_0x47f052(0x2d3)]),typeof self<'u'&&self['crypto']&&(_0x220af9=self[_0x47f052(0x2d3)]),typeof globalThis<'u'&&globalThis[_0x47f052(0x2d3)]&&(_0x220af9=globalThis[_0x47f052(0x2d3)]),!_0x220af9&&typeof window<'u'&&window[_0x47f052(0x12e)]&&(_0x220af9=window[_0x47f052(0x12e)]),!_0x220af9&&typeof ft<'u'&&ft[_0x47f052(0x2d3)]&&(_0x220af9=ft[_0x47f052(0x2d3)]),!_0x220af9&&typeof on=='function')try{_0x220af9=require('crypto');}catch{}var _0x5b2bc8=function(){var _0x4bb188=_0x47f052;if(_0x220af9){if(typeof _0x220af9['getRandomValues']=='function')try{return _0x220af9['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x220af9[_0x4bb188(0x143)]==_0x4bb188(0x129))try{return _0x220af9[_0x4bb188(0x143)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x4bb188(0x233));},_0xd57a51=Object[_0x47f052(0x2c4)]||(function(){function _0x4779d5(){}return function(_0x1c3124){var _0x5d261d=_0x2cdc,_0x51cf8c;return _0x4779d5[_0x5d261d(0x335)]=_0x1c3124,_0x51cf8c=new _0x4779d5(),_0x4779d5[_0x5d261d(0x335)]=null,_0x51cf8c;};}()),_0x25abb8={},_0x817f44=_0x25abb8['lib']={},_0xda7987=_0x817f44[_0x47f052(0x1fe)]=(function(){return{'extend':function(_0x43d8bc){var _0x4b9b18=_0x2cdc,_0x1e25f0=_0xd57a51(this);return _0x43d8bc&&_0x1e25f0[_0x4b9b18(0x151)](_0x43d8bc),(!_0x1e25f0[_0x4b9b18(0x1f5)]('init')||this[_0x4b9b18(0x268)]===_0x1e25f0[_0x4b9b18(0x268)])&&(_0x1e25f0['init']=function(){var _0x4078dc=_0x4b9b18;_0x1e25f0[_0x4078dc(0x377)]['init']['apply'](this,arguments);}),_0x1e25f0[_0x4b9b18(0x268)][_0x4b9b18(0x335)]=_0x1e25f0,_0x1e25f0['$super']=this,_0x1e25f0;},'create':function(){var _0xf400aa=_0x2cdc,_0x3049f5=this[_0xf400aa(0x27c)]();return _0x3049f5[_0xf400aa(0x268)][_0xf400aa(0x39d)](_0x3049f5,arguments),_0x3049f5;},'init':function(){},'mixIn':function(_0x4d606e){var _0x5b2c70=_0x2cdc;for(var _0x23d751 in _0x4d606e)_0x4d606e[_0x5b2c70(0x1f5)](_0x23d751)&&(this[_0x23d751]=_0x4d606e[_0x23d751]);_0x4d606e['hasOwnProperty'](_0x5b2c70(0x178))&&(this['toString']=_0x4d606e[_0x5b2c70(0x178)]);},'clone':function(){var _0x5754f6=_0x2cdc;return this[_0x5754f6(0x268)]['prototype'][_0x5754f6(0x27c)](this);}};}()),_0x2ac79c=_0x817f44[_0x47f052(0x304)]=_0xda7987[_0x47f052(0x27c)]({'init':function(_0x399f91,_0x47d7c3){var _0x5eeea7=_0x47f052;_0x399f91=this[_0x5eeea7(0x1ad)]=_0x399f91||[],_0x47d7c3!=_0x200efc?this[_0x5eeea7(0x354)]=_0x47d7c3:this[_0x5eeea7(0x354)]=_0x399f91[_0x5eeea7(0x2f6)]*0x4;},'toString':function(_0xaa1bba){var _0x1dadb3=_0x47f052;return(_0xaa1bba||_0x5e12d1)[_0x1dadb3(0x1df)](this);},'concat':function(_0x295ed2){var _0x33caba=_0x47f052,_0x644862=this['words'],_0x1f69d5=_0x295ed2[_0x33caba(0x1ad)],_0x4f0b16=this['sigBytes'],_0x364d31=_0x295ed2['sigBytes'];if(this[_0x33caba(0x1e3)](),_0x4f0b16%0x4)for(var _0x5f5a8b=0x0;_0x5f5a8b<_0x364d31;_0x5f5a8b++){var _0x544c5f=_0x1f69d5[_0x5f5a8b>>>0x2]>>>0x18-_0x5f5a8b%0x4*0x8&0xff;_0x644862[_0x4f0b16+_0x5f5a8b>>>0x2]|=_0x544c5f<<0x18-(_0x4f0b16+_0x5f5a8b)%0x4*0x8;}else{for(var _0x1eab2f=0x0;_0x1eab2f<_0x364d31;_0x1eab2f+=0x4)_0x644862[_0x4f0b16+_0x1eab2f>>>0x2]=_0x1f69d5[_0x1eab2f>>>0x2];}return this[_0x33caba(0x354)]+=_0x364d31,this;},'clamp':function(){var _0x2cf01a=_0x47f052,_0x6cae01=this[_0x2cf01a(0x1ad)],_0x1d591a=this[_0x2cf01a(0x354)];_0x6cae01[_0x1d591a>>>0x2]&=0xffffffff<<0x20-_0x1d591a%0x4*0x8,_0x6cae01[_0x2cf01a(0x2f6)]=_0x33f705['ceil'](_0x1d591a/0x4);},'clone':function(){var _0x381d00=_0x47f052,_0x22bd8a=_0xda7987[_0x381d00(0x119)][_0x381d00(0x2e9)](this);return _0x22bd8a[_0x381d00(0x1ad)]=this[_0x381d00(0x1ad)]['slice'](0x0),_0x22bd8a;},'random':function(_0x1cc57e){var _0x58dab6=_0x47f052;for(var _0x466a63=[],_0x2bf7a9=0x0;_0x2bf7a9<_0x1cc57e;_0x2bf7a9+=0x4)_0x466a63[_0x58dab6(0x195)](_0x5b2bc8());return new _0x2ac79c['init'](_0x466a63,_0x1cc57e);}}),_0x278419=_0x25abb8[_0x47f052(0xac)]={},_0x5e12d1=_0x278419[_0x47f052(0x131)]={'stringify':function(_0xc4c1a1){var _0x33cc56=_0x47f052;for(var _0x50748a=_0xc4c1a1[_0x33cc56(0x1ad)],_0x3ae54b=_0xc4c1a1[_0x33cc56(0x354)],_0x4d87a2=[],_0x71eaf=0x0;_0x71eaf<_0x3ae54b;_0x71eaf++){var _0xe0f8b3=_0x50748a[_0x71eaf>>>0x2]>>>0x18-_0x71eaf%0x4*0x8&0xff;_0x4d87a2[_0x33cc56(0x195)]((_0xe0f8b3>>>0x4)[_0x33cc56(0x178)](0x10)),_0x4d87a2[_0x33cc56(0x195)]((_0xe0f8b3&0xf)[_0x33cc56(0x178)](0x10));}return _0x4d87a2['join']('');},'parse':function(_0x2e8215){var _0x5db554=_0x47f052;for(var _0x1c3999=_0x2e8215[_0x5db554(0x2f6)],_0x343985=[],_0x1dc5f7=0x0;_0x1dc5f7<_0x1c3999;_0x1dc5f7+=0x2)_0x343985[_0x1dc5f7>>>0x3]|=parseInt(_0x2e8215[_0x5db554(0x1c7)](_0x1dc5f7,0x2),0x10)<<0x18-_0x1dc5f7%0x8*0x4;return new _0x2ac79c[(_0x5db554(0x268))](_0x343985,_0x1c3999/0x2);}},_0x102fd7=_0x278419['Latin1']={'stringify':function(_0x1c1c5c){var _0x2abfb3=_0x47f052;for(var _0x4d1e4f=_0x1c1c5c[_0x2abfb3(0x1ad)],_0x11304f=_0x1c1c5c['sigBytes'],_0xf64873=[],_0x3910c8=0x0;_0x3910c8<_0x11304f;_0x3910c8++){var _0x448a91=_0x4d1e4f[_0x3910c8>>>0x2]>>>0x18-_0x3910c8%0x4*0x8&0xff;_0xf64873['push'](String['fromCharCode'](_0x448a91));}return _0xf64873['join']('');},'parse':function(_0x1c2876){var _0x15065a=_0x47f052;for(var _0x364ed9=_0x1c2876[_0x15065a(0x2f6)],_0x38fbd4=[],_0x1c32e9=0x0;_0x1c32e9<_0x364ed9;_0x1c32e9++)_0x38fbd4[_0x1c32e9>>>0x2]|=(_0x1c2876['charCodeAt'](_0x1c32e9)&0xff)<<0x18-_0x1c32e9%0x4*0x8;return new _0x2ac79c[(_0x15065a(0x268))](_0x38fbd4,_0x364ed9);}},_0x2d18e8=_0x278419[_0x47f052(0x2e8)]={'stringify':function(_0xf9af16){var _0x4d89ea=_0x47f052;try{return decodeURIComponent(escape(_0x102fd7[_0x4d89ea(0x1df)](_0xf9af16)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x1f7c4a){var _0xbd3998=_0x47f052;return _0x102fd7[_0xbd3998(0x2cc)](unescape(encodeURIComponent(_0x1f7c4a)));}},_0x188507=_0x817f44[_0x47f052(0xc8)]=_0xda7987[_0x47f052(0x27c)]({'reset':function(){var _0x419678=_0x47f052;this[_0x419678(0x284)]=new _0x2ac79c['init'](),this[_0x419678(0x132)]=0x0;},'_append':function(_0x31a85d){var _0x4862a3=_0x47f052;typeof _0x31a85d==_0x4862a3(0x31a)&&(_0x31a85d=_0x2d18e8['parse'](_0x31a85d)),this[_0x4862a3(0x284)]['concat'](_0x31a85d),this[_0x4862a3(0x132)]+=_0x31a85d[_0x4862a3(0x354)];},'_process':function(_0x12d01a){var _0x18fb1f=_0x47f052,_0xd626a9,_0x247bad=this[_0x18fb1f(0x284)],_0x2c474b=_0x247bad[_0x18fb1f(0x1ad)],_0x554f2a=_0x247bad[_0x18fb1f(0x354)],_0x107bcc=this['blockSize'],_0x2048bb=_0x107bcc*0x4,_0x225440=_0x554f2a/_0x2048bb;_0x12d01a?_0x225440=_0x33f705[_0x18fb1f(0x260)](_0x225440):_0x225440=_0x33f705[_0x18fb1f(0xe7)]((_0x225440|0x0)-this[_0x18fb1f(0x225)],0x0);var _0x16b425=_0x225440*_0x107bcc,_0x4a09a2=_0x33f705[_0x18fb1f(0x2de)](_0x16b425*0x4,_0x554f2a);if(_0x16b425){for(var _0x2e6ae4=0x0;_0x2e6ae4<_0x16b425;_0x2e6ae4+=_0x107bcc)this[_0x18fb1f(0x17a)](_0x2c474b,_0x2e6ae4);_0xd626a9=_0x2c474b['splice'](0x0,_0x16b425),_0x247bad[_0x18fb1f(0x354)]-=_0x4a09a2;}return new _0x2ac79c[(_0x18fb1f(0x268))](_0xd626a9,_0x4a09a2);},'clone':function(){var _0x4e92af=_0x47f052,_0x2f0c8b=_0xda7987[_0x4e92af(0x119)][_0x4e92af(0x2e9)](this);return _0x2f0c8b[_0x4e92af(0x284)]=this[_0x4e92af(0x284)][_0x4e92af(0x119)](),_0x2f0c8b;},'_minBufferSize':0x0});_0x817f44[_0x47f052(0x1db)]=_0x188507[_0x47f052(0x27c)]({'cfg':_0xda7987[_0x47f052(0x27c)](),'init':function(_0xc5b723){var _0x3e186d=_0x47f052;this[_0x3e186d(0x385)]=this[_0x3e186d(0x385)][_0x3e186d(0x27c)](_0xc5b723),this[_0x3e186d(0x1d2)]();},'reset':function(){var _0x2e438f=_0x47f052;_0x188507[_0x2e438f(0x1d2)][_0x2e438f(0x2e9)](this),this[_0x2e438f(0x29b)]();},'update':function(_0x1f44cc){var _0x43c9a3=_0x47f052;return this[_0x43c9a3(0x1c5)](_0x1f44cc),this[_0x43c9a3(0x2b9)](),this;},'finalize':function(_0x4aa56c){var _0x5da12f=_0x47f052;_0x4aa56c&&this['_append'](_0x4aa56c);var _0x4a4c3a=this[_0x5da12f(0x249)]();return _0x4a4c3a;},'blockSize':0x10,'_createHelper':function(_0x2749ef){return function(_0x3915b4,_0x3af750){var _0x1bff4f=_0x2cdc;return new _0x2749ef[(_0x1bff4f(0x268))](_0x3af750)['finalize'](_0x3915b4);};},'_createHmacHelper':function(_0x1154f6){return function(_0x54fa88,_0x1cfeb3){var _0x4e3ca7=_0x2cdc;return new _0x395cc4[(_0x4e3ca7(0x194))][(_0x4e3ca7(0x268))](_0x1154f6,_0x1cfeb3)['finalize'](_0x54fa88);};}});var _0x395cc4=_0x25abb8[_0x47f052(0x30d)]={};return _0x25abb8;}(Math);return _0x4fed22;}));}(We)),We[_0x4a3e8b(0x3a2)];}var Ge={'exports':{}},hn=Ge['exports'],zt;function Ri(){return zt||(zt=0x1,function(_0x1a8039,_0x49e457){(function(_0x6fbf40,_0x3bc2f8){var _0x2edee8=_0x2cdc;_0x1a8039[_0x2edee8(0x3a2)]=_0x3bc2f8(te());}(hn,function(_0x66711c){var _0x2dfaaf=_0x2cdc;return(function(){var _0x3f5f50=_0x2cdc,_0x3c0aeb=_0x66711c,_0x3e64e2=_0x3c0aeb[_0x3f5f50(0xaa)],_0x45974d=_0x3e64e2[_0x3f5f50(0x304)],_0x3762cb=_0x3c0aeb[_0x3f5f50(0xac)];_0x3762cb['Base64']={'stringify':function(_0x1bc263){var _0x1467fe=_0x3f5f50,_0x9b7e4e=_0x1bc263[_0x1467fe(0x1ad)],_0x47c427=_0x1bc263[_0x1467fe(0x354)],_0xef1d84=this[_0x1467fe(0xe4)];_0x1bc263[_0x1467fe(0x1e3)]();for(var _0x1da4ba=[],_0x4fea2f=0x0;_0x4fea2f<_0x47c427;_0x4fea2f+=0x3)for(var _0x5e6b80=_0x9b7e4e[_0x4fea2f>>>0x2]>>>0x18-_0x4fea2f%0x4*0x8&0xff,_0x3fe2e7=_0x9b7e4e[_0x4fea2f+0x1>>>0x2]>>>0x18-(_0x4fea2f+0x1)%0x4*0x8&0xff,_0x42929b=_0x9b7e4e[_0x4fea2f+0x2>>>0x2]>>>0x18-(_0x4fea2f+0x2)%0x4*0x8&0xff,_0x114919=_0x5e6b80<<0x10|_0x3fe2e7<<0x8|_0x42929b,_0x26d3e5=0x0;_0x26d3e5<0x4&&_0x4fea2f+_0x26d3e5*0.75<_0x47c427;_0x26d3e5++)_0x1da4ba[_0x1467fe(0x195)](_0xef1d84['charAt'](_0x114919>>>0x6*(0x3-_0x26d3e5)&0x3f));var _0x460a73=_0xef1d84['charAt'](0x40);if(_0x460a73){for(;_0x1da4ba[_0x1467fe(0x2f6)]%0x4;)_0x1da4ba[_0x1467fe(0x195)](_0x460a73);}return _0x1da4ba[_0x1467fe(0xe2)]('');},'parse':function(_0xd517d9){var _0x1e8431=_0x3f5f50,_0x56cc4a=_0xd517d9[_0x1e8431(0x2f6)],_0x2330cb=this['_map'],_0x1e9fe9=this[_0x1e8431(0x10f)];if(!_0x1e9fe9){_0x1e9fe9=this['_reverseMap']=[];for(var _0x3d2893=0x0;_0x3d2893<_0x2330cb[_0x1e8431(0x2f6)];_0x3d2893++)_0x1e9fe9[_0x2330cb['charCodeAt'](_0x3d2893)]=_0x3d2893;}var _0x16f766=_0x2330cb[_0x1e8431(0x301)](0x40);if(_0x16f766){var _0x29afa9=_0xd517d9[_0x1e8431(0x327)](_0x16f766);_0x29afa9!==-0x1&&(_0x56cc4a=_0x29afa9);}return _0x39c183(_0xd517d9,_0x56cc4a,_0x1e9fe9);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x39c183(_0x28f5fd,_0x31e97a,_0x1a6cce){var _0x5d8fdb=_0x3f5f50;for(var _0x35ffb0=[],_0x1bab7b=0x0,_0x518aa2=0x0;_0x518aa2<_0x31e97a;_0x518aa2++)if(_0x518aa2%0x4){var _0x506263=_0x1a6cce[_0x28f5fd[_0x5d8fdb(0x142)](_0x518aa2-0x1)]<<_0x518aa2%0x4*0x2,_0x1ade45=_0x1a6cce[_0x28f5fd[_0x5d8fdb(0x142)](_0x518aa2)]>>>0x6-_0x518aa2%0x4*0x2,_0x1e7f6b=_0x506263|_0x1ade45;_0x35ffb0[_0x1bab7b>>>0x2]|=_0x1e7f6b<<0x18-_0x1bab7b%0x4*0x8,_0x1bab7b++;}return _0x45974d['create'](_0x35ffb0,_0x1bab7b);}}()),_0x66711c[_0x2dfaaf(0xac)][_0x2dfaaf(0x279)];}));}(Ge)),Ge['exports'];}var Ye={'exports':{}},_n=Ye[_0x3f33cb(0x3a2)],Jt;function ln(){var _0x277537=_0x3f33cb;return Jt||(Jt=0x1,function(_0x4d24b3,_0x49b8b3){(function(_0x4569c9,_0x3c09b9){_0x4d24b3['exports']=_0x3c09b9(te());}(_n,function(_0x1fc822){var _0xfdd684=_0x2cdc;return function(_0x421b1f){var _0x59634b=_0x2cdc,_0x4d566c=_0x1fc822,_0x5a6d42=_0x4d566c[_0x59634b(0xaa)],_0x38efed=_0x5a6d42[_0x59634b(0x304)],_0x8e93e3=_0x5a6d42['Hasher'],_0x20968c=_0x4d566c[_0x59634b(0x30d)],_0xff7703=[];(function(){for(var _0x59627a=0x0;_0x59627a<0x40;_0x59627a++)_0xff7703[_0x59627a]=_0x421b1f['abs'](_0x421b1f['sin'](_0x59627a+0x1))*0x100000000|0x0;}());var _0x3f4d20=_0x20968c[_0x59634b(0x211)]=_0x8e93e3[_0x59634b(0x27c)]({'_doReset':function(){var _0x224d4e=_0x59634b;this[_0x224d4e(0x1b6)]=new _0x38efed[(_0x224d4e(0x268))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x19ea1d,_0xa334a6){var _0x51ee32=_0x59634b;for(var _0x2aa345=0x0;_0x2aa345<0x10;_0x2aa345++){var _0x50d9f1=_0xa334a6+_0x2aa345,_0x17d54=_0x19ea1d[_0x50d9f1];_0x19ea1d[_0x50d9f1]=(_0x17d54<<0x8|_0x17d54>>>0x18)&0xff00ff|(_0x17d54<<0x18|_0x17d54>>>0x8)&0xff00ff00;}var _0x502181=this[_0x51ee32(0x1b6)][_0x51ee32(0x1ad)],_0x3c11f2=_0x19ea1d[_0xa334a6+0x0],_0x1751f4=_0x19ea1d[_0xa334a6+0x1],_0x3db824=_0x19ea1d[_0xa334a6+0x2],_0x3c70ab=_0x19ea1d[_0xa334a6+0x3],_0x18ce2e=_0x19ea1d[_0xa334a6+0x4],_0x3cc524=_0x19ea1d[_0xa334a6+0x5],_0xf1d474=_0x19ea1d[_0xa334a6+0x6],_0x2f7366=_0x19ea1d[_0xa334a6+0x7],_0x33df7a=_0x19ea1d[_0xa334a6+0x8],_0x3b2275=_0x19ea1d[_0xa334a6+0x9],_0x5cafb5=_0x19ea1d[_0xa334a6+0xa],_0x215af3=_0x19ea1d[_0xa334a6+0xb],_0xb37978=_0x19ea1d[_0xa334a6+0xc],_0x204d1d=_0x19ea1d[_0xa334a6+0xd],_0x44237d=_0x19ea1d[_0xa334a6+0xe],_0x1b3823=_0x19ea1d[_0xa334a6+0xf],_0x73b247=_0x502181[0x0],_0x3f86e3=_0x502181[0x1],_0x466724=_0x502181[0x2],_0x4bceea=_0x502181[0x3];_0x73b247=_0x56fa2f(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x3c11f2,0x7,_0xff7703[0x0]),_0x4bceea=_0x56fa2f(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x1751f4,0xc,_0xff7703[0x1]),_0x466724=_0x56fa2f(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x3db824,0x11,_0xff7703[0x2]),_0x3f86e3=_0x56fa2f(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x3c70ab,0x16,_0xff7703[0x3]),_0x73b247=_0x56fa2f(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x18ce2e,0x7,_0xff7703[0x4]),_0x4bceea=_0x56fa2f(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x3cc524,0xc,_0xff7703[0x5]),_0x466724=_0x56fa2f(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0xf1d474,0x11,_0xff7703[0x6]),_0x3f86e3=_0x56fa2f(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x2f7366,0x16,_0xff7703[0x7]),_0x73b247=_0x56fa2f(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x33df7a,0x7,_0xff7703[0x8]),_0x4bceea=_0x56fa2f(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x3b2275,0xc,_0xff7703[0x9]),_0x466724=_0x56fa2f(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x5cafb5,0x11,_0xff7703[0xa]),_0x3f86e3=_0x56fa2f(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x215af3,0x16,_0xff7703[0xb]),_0x73b247=_0x56fa2f(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0xb37978,0x7,_0xff7703[0xc]),_0x4bceea=_0x56fa2f(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x204d1d,0xc,_0xff7703[0xd]),_0x466724=_0x56fa2f(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x44237d,0x11,_0xff7703[0xe]),_0x3f86e3=_0x56fa2f(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x1b3823,0x16,_0xff7703[0xf]),_0x73b247=_0x4fec05(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x1751f4,0x5,_0xff7703[0x10]),_0x4bceea=_0x4fec05(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0xf1d474,0x9,_0xff7703[0x11]),_0x466724=_0x4fec05(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x215af3,0xe,_0xff7703[0x12]),_0x3f86e3=_0x4fec05(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x3c11f2,0x14,_0xff7703[0x13]),_0x73b247=_0x4fec05(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x3cc524,0x5,_0xff7703[0x14]),_0x4bceea=_0x4fec05(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x5cafb5,0x9,_0xff7703[0x15]),_0x466724=_0x4fec05(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x1b3823,0xe,_0xff7703[0x16]),_0x3f86e3=_0x4fec05(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x18ce2e,0x14,_0xff7703[0x17]),_0x73b247=_0x4fec05(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x3b2275,0x5,_0xff7703[0x18]),_0x4bceea=_0x4fec05(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x44237d,0x9,_0xff7703[0x19]),_0x466724=_0x4fec05(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x3c70ab,0xe,_0xff7703[0x1a]),_0x3f86e3=_0x4fec05(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x33df7a,0x14,_0xff7703[0x1b]),_0x73b247=_0x4fec05(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x204d1d,0x5,_0xff7703[0x1c]),_0x4bceea=_0x4fec05(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x3db824,0x9,_0xff7703[0x1d]),_0x466724=_0x4fec05(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x2f7366,0xe,_0xff7703[0x1e]),_0x3f86e3=_0x4fec05(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0xb37978,0x14,_0xff7703[0x1f]),_0x73b247=_0x21d5fd(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x3cc524,0x4,_0xff7703[0x20]),_0x4bceea=_0x21d5fd(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x33df7a,0xb,_0xff7703[0x21]),_0x466724=_0x21d5fd(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x215af3,0x10,_0xff7703[0x22]),_0x3f86e3=_0x21d5fd(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x44237d,0x17,_0xff7703[0x23]),_0x73b247=_0x21d5fd(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x1751f4,0x4,_0xff7703[0x24]),_0x4bceea=_0x21d5fd(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x18ce2e,0xb,_0xff7703[0x25]),_0x466724=_0x21d5fd(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x2f7366,0x10,_0xff7703[0x26]),_0x3f86e3=_0x21d5fd(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x5cafb5,0x17,_0xff7703[0x27]),_0x73b247=_0x21d5fd(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x204d1d,0x4,_0xff7703[0x28]),_0x4bceea=_0x21d5fd(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x3c11f2,0xb,_0xff7703[0x29]),_0x466724=_0x21d5fd(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x3c70ab,0x10,_0xff7703[0x2a]),_0x3f86e3=_0x21d5fd(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0xf1d474,0x17,_0xff7703[0x2b]),_0x73b247=_0x21d5fd(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x3b2275,0x4,_0xff7703[0x2c]),_0x4bceea=_0x21d5fd(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0xb37978,0xb,_0xff7703[0x2d]),_0x466724=_0x21d5fd(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x1b3823,0x10,_0xff7703[0x2e]),_0x3f86e3=_0x21d5fd(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x3db824,0x17,_0xff7703[0x2f]),_0x73b247=_0x5be136(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x3c11f2,0x6,_0xff7703[0x30]),_0x4bceea=_0x5be136(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x2f7366,0xa,_0xff7703[0x31]),_0x466724=_0x5be136(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x44237d,0xf,_0xff7703[0x32]),_0x3f86e3=_0x5be136(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x3cc524,0x15,_0xff7703[0x33]),_0x73b247=_0x5be136(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0xb37978,0x6,_0xff7703[0x34]),_0x4bceea=_0x5be136(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x3c70ab,0xa,_0xff7703[0x35]),_0x466724=_0x5be136(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x5cafb5,0xf,_0xff7703[0x36]),_0x3f86e3=_0x5be136(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x1751f4,0x15,_0xff7703[0x37]),_0x73b247=_0x5be136(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x33df7a,0x6,_0xff7703[0x38]),_0x4bceea=_0x5be136(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x1b3823,0xa,_0xff7703[0x39]),_0x466724=_0x5be136(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0xf1d474,0xf,_0xff7703[0x3a]),_0x3f86e3=_0x5be136(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x204d1d,0x15,_0xff7703[0x3b]),_0x73b247=_0x5be136(_0x73b247,_0x3f86e3,_0x466724,_0x4bceea,_0x18ce2e,0x6,_0xff7703[0x3c]),_0x4bceea=_0x5be136(_0x4bceea,_0x73b247,_0x3f86e3,_0x466724,_0x215af3,0xa,_0xff7703[0x3d]),_0x466724=_0x5be136(_0x466724,_0x4bceea,_0x73b247,_0x3f86e3,_0x3db824,0xf,_0xff7703[0x3e]),_0x3f86e3=_0x5be136(_0x3f86e3,_0x466724,_0x4bceea,_0x73b247,_0x3b2275,0x15,_0xff7703[0x3f]),_0x502181[0x0]=_0x502181[0x0]+_0x73b247|0x0,_0x502181[0x1]=_0x502181[0x1]+_0x3f86e3|0x0,_0x502181[0x2]=_0x502181[0x2]+_0x466724|0x0,_0x502181[0x3]=_0x502181[0x3]+_0x4bceea|0x0;},'_doFinalize':function(){var _0x15684c=_0x59634b,_0xec724e=this['_data'],_0x431a8c=_0xec724e[_0x15684c(0x1ad)],_0x6e3cbd=this[_0x15684c(0x132)]*0x8,_0xf42406=_0xec724e[_0x15684c(0x354)]*0x8;_0x431a8c[_0xf42406>>>0x5]|=0x80<<0x18-_0xf42406%0x20;var _0x415695=_0x421b1f[_0x15684c(0x10b)](_0x6e3cbd/0x100000000),_0x28e887=_0x6e3cbd;_0x431a8c[(_0xf42406+0x40>>>0x9<<0x4)+0xf]=(_0x415695<<0x8|_0x415695>>>0x18)&0xff00ff|(_0x415695<<0x18|_0x415695>>>0x8)&0xff00ff00,_0x431a8c[(_0xf42406+0x40>>>0x9<<0x4)+0xe]=(_0x28e887<<0x8|_0x28e887>>>0x18)&0xff00ff|(_0x28e887<<0x18|_0x28e887>>>0x8)&0xff00ff00,_0xec724e[_0x15684c(0x354)]=(_0x431a8c[_0x15684c(0x2f6)]+0x1)*0x4,this[_0x15684c(0x2b9)]();for(var _0x237da2=this['_hash'],_0x554af4=_0x237da2[_0x15684c(0x1ad)],_0x1ccdf8=0x0;_0x1ccdf8<0x4;_0x1ccdf8++){var _0x2854ec=_0x554af4[_0x1ccdf8];_0x554af4[_0x1ccdf8]=(_0x2854ec<<0x8|_0x2854ec>>>0x18)&0xff00ff|(_0x2854ec<<0x18|_0x2854ec>>>0x8)&0xff00ff00;}return _0x237da2;},'clone':function(){var _0x27b410=_0x59634b,_0x561e11=_0x8e93e3[_0x27b410(0x119)][_0x27b410(0x2e9)](this);return _0x561e11[_0x27b410(0x1b6)]=this[_0x27b410(0x1b6)][_0x27b410(0x119)](),_0x561e11;}});function _0x56fa2f(_0xf94cc8,_0x264e13,_0x55421e,_0x1e430d,_0x4a9b49,_0x5f1d1a,_0x57badf){var _0x542357=_0xf94cc8+(_0x264e13&_0x55421e|~_0x264e13&_0x1e430d)+_0x4a9b49+_0x57badf;return(_0x542357<<_0x5f1d1a|_0x542357>>>0x20-_0x5f1d1a)+_0x264e13;}function _0x4fec05(_0x568fda,_0x426ad8,_0x3bbef9,_0x367c66,_0x4d6c8e,_0x1db5f0,_0x31cd42){var _0x1407d1=_0x568fda+(_0x426ad8&_0x367c66|_0x3bbef9&~_0x367c66)+_0x4d6c8e+_0x31cd42;return(_0x1407d1<<_0x1db5f0|_0x1407d1>>>0x20-_0x1db5f0)+_0x426ad8;}function _0x21d5fd(_0x1688f6,_0x51b47f,_0x37242d,_0x56eaa0,_0x3b524e,_0x4d5e43,_0x488afb){var _0x441a0f=_0x1688f6+(_0x51b47f^_0x37242d^_0x56eaa0)+_0x3b524e+_0x488afb;return(_0x441a0f<<_0x4d5e43|_0x441a0f>>>0x20-_0x4d5e43)+_0x51b47f;}function _0x5be136(_0x315bb,_0x449874,_0x565e7d,_0x4f01f7,_0x21a224,_0x20b947,_0xfa15a1){var _0x50b3c0=_0x315bb+(_0x565e7d^(_0x449874|~_0x4f01f7))+_0x21a224+_0xfa15a1;return(_0x50b3c0<<_0x20b947|_0x50b3c0>>>0x20-_0x20b947)+_0x449874;}_0x4d566c[_0x59634b(0x211)]=_0x8e93e3[_0x59634b(0x32f)](_0x3f4d20),_0x4d566c['HmacMD5']=_0x8e93e3[_0x59634b(0x118)](_0x3f4d20);}(Math),_0x1fc822[_0xfdd684(0x211)];}));}(Ye)),Ye[_0x277537(0x3a2)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x3f33cb(0x3a2)],Xt;function dn(){var _0x8731ba=_0x3f33cb;return Xt||(Xt=0x1,function(_0x9bb14,_0xa20f01){(function(_0xda1dcc,_0x902275){_0x9bb14['exports']=_0x902275(te());}(un,function(_0xd231bd){var _0x52caf3=_0x2cdc;return(function(){var _0x37c14f=_0x2cdc,_0x721ee9=_0xd231bd,_0x4bcfa8=_0x721ee9['lib'],_0x3bb998=_0x4bcfa8[_0x37c14f(0x304)],_0x2d37a8=_0x4bcfa8[_0x37c14f(0x1db)],_0x15a54d=_0x721ee9[_0x37c14f(0x30d)],_0x380e2f=[],_0x27d2db=_0x15a54d[_0x37c14f(0x11f)]=_0x2d37a8['extend']({'_doReset':function(){this['_hash']=new _0x3bb998['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5d557a,_0x4b82bf){var _0x54a2ba=_0x37c14f;for(var _0x1a1469=this[_0x54a2ba(0x1b6)][_0x54a2ba(0x1ad)],_0x51ff56=_0x1a1469[0x0],_0xc126c5=_0x1a1469[0x1],_0x21d104=_0x1a1469[0x2],_0x1d42f0=_0x1a1469[0x3],_0x5d497f=_0x1a1469[0x4],_0x4c9274=0x0;_0x4c9274<0x50;_0x4c9274++){if(_0x4c9274<0x10)_0x380e2f[_0x4c9274]=_0x5d557a[_0x4b82bf+_0x4c9274]|0x0;else{var _0x473d05=_0x380e2f[_0x4c9274-0x3]^_0x380e2f[_0x4c9274-0x8]^_0x380e2f[_0x4c9274-0xe]^_0x380e2f[_0x4c9274-0x10];_0x380e2f[_0x4c9274]=_0x473d05<<0x1|_0x473d05>>>0x1f;}var _0x4c57a5=(_0x51ff56<<0x5|_0x51ff56>>>0x1b)+_0x5d497f+_0x380e2f[_0x4c9274];_0x4c9274<0x14?_0x4c57a5+=(_0xc126c5&_0x21d104|~_0xc126c5&_0x1d42f0)+0x5a827999:_0x4c9274<0x28?_0x4c57a5+=(_0xc126c5^_0x21d104^_0x1d42f0)+0x6ed9eba1:_0x4c9274<0x3c?_0x4c57a5+=(_0xc126c5&_0x21d104|_0xc126c5&_0x1d42f0|_0x21d104&_0x1d42f0)-0x70e44324:_0x4c57a5+=(_0xc126c5^_0x21d104^_0x1d42f0)-0x359d3e2a,_0x5d497f=_0x1d42f0,_0x1d42f0=_0x21d104,_0x21d104=_0xc126c5<<0x1e|_0xc126c5>>>0x2,_0xc126c5=_0x51ff56,_0x51ff56=_0x4c57a5;}_0x1a1469[0x0]=_0x1a1469[0x0]+_0x51ff56|0x0,_0x1a1469[0x1]=_0x1a1469[0x1]+_0xc126c5|0x0,_0x1a1469[0x2]=_0x1a1469[0x2]+_0x21d104|0x0,_0x1a1469[0x3]=_0x1a1469[0x3]+_0x1d42f0|0x0,_0x1a1469[0x4]=_0x1a1469[0x4]+_0x5d497f|0x0;},'_doFinalize':function(){var _0x49df81=_0x37c14f,_0x14665d=this['_data'],_0x19799f=_0x14665d['words'],_0x26c17f=this[_0x49df81(0x132)]*0x8,_0x37c160=_0x14665d[_0x49df81(0x354)]*0x8;return _0x19799f[_0x37c160>>>0x5]|=0x80<<0x18-_0x37c160%0x20,_0x19799f[(_0x37c160+0x40>>>0x9<<0x4)+0xe]=Math[_0x49df81(0x10b)](_0x26c17f/0x100000000),_0x19799f[(_0x37c160+0x40>>>0x9<<0x4)+0xf]=_0x26c17f,_0x14665d[_0x49df81(0x354)]=_0x19799f[_0x49df81(0x2f6)]*0x4,this[_0x49df81(0x2b9)](),this['_hash'];},'clone':function(){var _0x203e3f=_0x37c14f,_0x24cb35=_0x2d37a8[_0x203e3f(0x119)][_0x203e3f(0x2e9)](this);return _0x24cb35[_0x203e3f(0x1b6)]=this['_hash']['clone'](),_0x24cb35;}});_0x721ee9[_0x37c14f(0x11f)]=_0x2d37a8[_0x37c14f(0x32f)](_0x27d2db),_0x721ee9[_0x37c14f(0x17f)]=_0x2d37a8['_createHmacHelper'](_0x27d2db);}()),_0xd231bd[_0x52caf3(0x11f)];}));}(qe)),qe[_0x8731ba(0x3a2)];}function _0x2cdc(_0x2c3815,_0x261ac8){var _0x3cb414=_0x3cb4();return _0x2cdc=function(_0x2cdc21,_0x5ce875){_0x2cdc21=_0x2cdc21-0x96;var _0x4116d3=_0x3cb414[_0x2cdc21];return _0x4116d3;},_0x2cdc(_0x2c3815,_0x261ac8);}var ze={'exports':{}},fn=ze[_0x3f33cb(0x3a2)],Zt;function vn(){return Zt||(Zt=0x1,function(_0x2e9bfe,_0x3fb9b6){(function(_0x2aa293,_0x30840f){var _0x2e180b=_0x2cdc;_0x2e9bfe[_0x2e180b(0x3a2)]=_0x30840f(te());}(fn,function(_0x10f770){(function(){var _0x23545a=_0x2cdc,_0x5c2739=_0x10f770,_0x5678b2=_0x5c2739['lib'],_0x944acf=_0x5678b2[_0x23545a(0x1fe)],_0x5a6fdf=_0x5c2739[_0x23545a(0xac)],_0x4217b9=_0x5a6fdf['Utf8'],_0xe4e96c=_0x5c2739[_0x23545a(0x30d)];_0xe4e96c[_0x23545a(0x194)]=_0x944acf['extend']({'init':function(_0x437644,_0x22431b){var _0x219ee1=_0x23545a;_0x437644=this[_0x219ee1(0x1d3)]=new _0x437644[(_0x219ee1(0x268))](),typeof _0x22431b==_0x219ee1(0x31a)&&(_0x22431b=_0x4217b9[_0x219ee1(0x2cc)](_0x22431b));var _0x1eab46=_0x437644[_0x219ee1(0x153)],_0x220420=_0x1eab46*0x4;_0x22431b[_0x219ee1(0x354)]>_0x220420&&(_0x22431b=_0x437644['finalize'](_0x22431b)),_0x22431b[_0x219ee1(0x1e3)]();for(var _0x2ad6bc=this[_0x219ee1(0x242)]=_0x22431b['clone'](),_0x4730b6=this[_0x219ee1(0x345)]=_0x22431b[_0x219ee1(0x119)](),_0x3725f0=_0x2ad6bc[_0x219ee1(0x1ad)],_0x5194f1=_0x4730b6[_0x219ee1(0x1ad)],_0x4ad26a=0x0;_0x4ad26a<_0x1eab46;_0x4ad26a++)_0x3725f0[_0x4ad26a]^=0x5c5c5c5c,_0x5194f1[_0x4ad26a]^=0x36363636;_0x2ad6bc[_0x219ee1(0x354)]=_0x4730b6[_0x219ee1(0x354)]=_0x220420,this['reset']();},'reset':function(){var _0xdb4c29=_0x23545a,_0x51a4d3=this[_0xdb4c29(0x1d3)];_0x51a4d3[_0xdb4c29(0x1d2)](),_0x51a4d3[_0xdb4c29(0x126)](this[_0xdb4c29(0x345)]);},'update':function(_0x2ab0c2){var _0x125a60=_0x23545a;return this[_0x125a60(0x1d3)][_0x125a60(0x126)](_0x2ab0c2),this;},'finalize':function(_0x144ddf){var _0x110249=_0x23545a,_0x97bbd0=this[_0x110249(0x1d3)],_0xefe208=_0x97bbd0[_0x110249(0x10e)](_0x144ddf);_0x97bbd0['reset']();var _0x31f74f=_0x97bbd0['finalize'](this[_0x110249(0x242)][_0x110249(0x119)]()[_0x110249(0x145)](_0xefe208));return _0x31f74f;}});}());}));}(ze)),ze['exports'];}var pn=Ke[_0x3f33cb(0x3a2)],Qt;function Oi(){var _0x4ffdfb=_0x3f33cb;return Qt||(Qt=0x1,function(_0x3c492f,_0x3bd85b){(function(_0x16d8a0,_0x368ee5,_0x139e55){var _0x67b938=_0x2cdc;_0x3c492f[_0x67b938(0x3a2)]=_0x368ee5(te(),dn(),vn());}(pn,function(_0x10d738){return(function(){var _0x301b02=_0x2cdc,_0x3e6ffc=_0x10d738,_0x284ff2=_0x3e6ffc[_0x301b02(0xaa)],_0x4ebdca=_0x284ff2[_0x301b02(0x1fe)],_0x430153=_0x284ff2[_0x301b02(0x304)],_0x280e19=_0x3e6ffc[_0x301b02(0x30d)],_0xb1d26f=_0x280e19[_0x301b02(0x211)],_0x24d71a=_0x280e19[_0x301b02(0x1f1)]=_0x4ebdca[_0x301b02(0x27c)]({'cfg':_0x4ebdca[_0x301b02(0x27c)]({'keySize':0x80/0x20,'hasher':_0xb1d26f,'iterations':0x1}),'init':function(_0x1bf644){var _0x545d73=_0x301b02;this[_0x545d73(0x385)]=this[_0x545d73(0x385)][_0x545d73(0x27c)](_0x1bf644);},'compute':function(_0x486bbe,_0x107d33){var _0x4e1071=_0x301b02;for(var _0x137247,_0x443441=this[_0x4e1071(0x385)],_0x17f598=_0x443441[_0x4e1071(0xff)][_0x4e1071(0x2c4)](),_0x58cfde=_0x430153[_0x4e1071(0x2c4)](),_0xbf3c1b=_0x58cfde['words'],_0xfa76e8=_0x443441[_0x4e1071(0x1c2)],_0x2821d8=_0x443441['iterations'];_0xbf3c1b[_0x4e1071(0x2f6)]<_0xfa76e8;){_0x137247&&_0x17f598[_0x4e1071(0x126)](_0x137247),_0x137247=_0x17f598[_0x4e1071(0x126)](_0x486bbe)[_0x4e1071(0x10e)](_0x107d33),_0x17f598[_0x4e1071(0x1d2)]();for(var _0x4c6d74=0x1;_0x4c6d74<_0x2821d8;_0x4c6d74++)_0x137247=_0x17f598[_0x4e1071(0x10e)](_0x137247),_0x17f598[_0x4e1071(0x1d2)]();_0x58cfde[_0x4e1071(0x145)](_0x137247);}return _0x58cfde[_0x4e1071(0x354)]=_0xfa76e8*0x4,_0x58cfde;}});_0x3e6ffc[_0x301b02(0x1f1)]=function(_0x1af6d5,_0x2fa746,_0x238c5c){var _0x155499=_0x301b02;return _0x24d71a[_0x155499(0x2c4)](_0x238c5c)[_0x155499(0x1d9)](_0x1af6d5,_0x2fa746);};}()),_0x10d738['EvpKDF'];}));}(Ke)),Ke[_0x4ffdfb(0x3a2)];}var Je={'exports':{}},mn=Je[_0x3f33cb(0x3a2)],ei;function bi(){var _0x5e3da4=_0x3f33cb;return ei||(ei=0x1,function(_0x3c6f1e,_0x51dba1){(function(_0x562a0c,_0x433de5,_0x411100){var _0xfac7d1=_0x2cdc;_0x3c6f1e[_0xfac7d1(0x3a2)]=_0x433de5(te(),Oi());}(mn,function(_0x6e6736){var _0x51e9c6=_0x2cdc;_0x6e6736[_0x51e9c6(0xaa)]['Cipher']||function(_0x565be6){var _0x263a59=_0x51e9c6,_0x1e622c=_0x6e6736,_0x44d3d5=_0x1e622c[_0x263a59(0xaa)],_0x1bfefa=_0x44d3d5[_0x263a59(0x1fe)],_0x5257d1=_0x44d3d5[_0x263a59(0x304)],_0x30700b=_0x44d3d5[_0x263a59(0xc8)],_0x424e97=_0x1e622c[_0x263a59(0xac)];_0x424e97[_0x263a59(0x2e8)];var _0x5f0f64=_0x424e97[_0x263a59(0x279)],_0x20e7f8=_0x1e622c[_0x263a59(0x30d)],_0x2fd47e=_0x20e7f8[_0x263a59(0x1f1)],_0x5f050a=_0x44d3d5['Cipher']=_0x30700b[_0x263a59(0x27c)]({'cfg':_0x1bfefa[_0x263a59(0x27c)](),'createEncryptor':function(_0x3fd1b9,_0x758db9){var _0x5f442d=_0x263a59;return this[_0x5f442d(0x2c4)](this[_0x5f442d(0x2f2)],_0x3fd1b9,_0x758db9);},'createDecryptor':function(_0x24264d,_0x31f650){var _0x43bd0d=_0x263a59;return this['create'](this[_0x43bd0d(0xa2)],_0x24264d,_0x31f650);},'init':function(_0x5b766c,_0x54a30d,_0x7464b9){var _0x5c22b4=_0x263a59;this[_0x5c22b4(0x385)]=this[_0x5c22b4(0x385)][_0x5c22b4(0x27c)](_0x7464b9),this[_0x5c22b4(0x220)]=_0x5b766c,this[_0x5c22b4(0x32a)]=_0x54a30d,this[_0x5c22b4(0x1d2)]();},'reset':function(){var _0x1b4282=_0x263a59;_0x30700b[_0x1b4282(0x1d2)][_0x1b4282(0x2e9)](this),this['_doReset']();},'process':function(_0x3c28d4){var _0x31a2d7=_0x263a59;return this['_append'](_0x3c28d4),this[_0x31a2d7(0x2b9)]();},'finalize':function(_0x115f50){_0x115f50&&this['_append'](_0x115f50);var _0x1be5a9=this['_doFinalize']();return _0x1be5a9;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xbb0927(_0x1f61e6){var _0x238e4f=_0x2cdc;return typeof _0x1f61e6==_0x238e4f(0x31a)?_0x418f5a:_0x56af08;}return function(_0x4b3c03){return{'encrypt':function(_0x3ea28d,_0x1fb20e,_0x3d33a2){var _0x311de9=_0x2cdc;return _0xbb0927(_0x1fb20e)[_0x311de9(0x38c)](_0x4b3c03,_0x3ea28d,_0x1fb20e,_0x3d33a2);},'decrypt':function(_0x5d08ce,_0x2d3fd6,_0x37e6c8){var _0x54f93=_0x2cdc;return _0xbb0927(_0x2d3fd6)[_0x54f93(0x19f)](_0x4b3c03,_0x5d08ce,_0x2d3fd6,_0x37e6c8);}};};}())});_0x44d3d5[_0x263a59(0x310)]=_0x5f050a[_0x263a59(0x27c)]({'_doFinalize':function(){var _0x24387f=_0x263a59,_0x3619f0=this[_0x24387f(0x2b9)](!0x0);return _0x3619f0;},'blockSize':0x1});var _0x26978c=_0x1e622c['mode']={},_0x10811d=_0x44d3d5[_0x263a59(0x183)]=_0x1bfefa[_0x263a59(0x27c)]({'createEncryptor':function(_0x10e5de,_0x458cdc){var _0x2e9064=_0x263a59;return this['Encryptor'][_0x2e9064(0x2c4)](_0x10e5de,_0x458cdc);},'createDecryptor':function(_0x46bf2d,_0x1caec5){var _0x1dc009=_0x263a59;return this[_0x1dc009(0xf3)][_0x1dc009(0x2c4)](_0x46bf2d,_0x1caec5);},'init':function(_0x38f715,_0x22970c){var _0x1d6ca9=_0x263a59;this['_cipher']=_0x38f715,this[_0x1d6ca9(0x398)]=_0x22970c;}}),_0x5fefad=_0x26978c[_0x263a59(0x298)]=(function(){var _0x3d72b3=_0x263a59,_0x23257c=_0x10811d[_0x3d72b3(0x27c)]();_0x23257c['Encryptor']=_0x23257c[_0x3d72b3(0x27c)]({'processBlock':function(_0x4d360c,_0x255261){var _0x57345d=_0x3d72b3,_0x46d3ec=this[_0x57345d(0x363)],_0x1be749=_0x46d3ec[_0x57345d(0x153)];_0x351c7a[_0x57345d(0x2e9)](this,_0x4d360c,_0x255261,_0x1be749),_0x46d3ec[_0x57345d(0x371)](_0x4d360c,_0x255261),this[_0x57345d(0xaf)]=_0x4d360c[_0x57345d(0x20a)](_0x255261,_0x255261+_0x1be749);}}),_0x23257c['Decryptor']=_0x23257c[_0x3d72b3(0x27c)]({'processBlock':function(_0x81f185,_0x58e0e9){var _0x19f19c=_0x3d72b3,_0x484985=this[_0x19f19c(0x363)],_0x2789c0=_0x484985[_0x19f19c(0x153)],_0x4669db=_0x81f185[_0x19f19c(0x20a)](_0x58e0e9,_0x58e0e9+_0x2789c0);_0x484985[_0x19f19c(0x36a)](_0x81f185,_0x58e0e9),_0x351c7a[_0x19f19c(0x2e9)](this,_0x81f185,_0x58e0e9,_0x2789c0),this[_0x19f19c(0xaf)]=_0x4669db;}});function _0x351c7a(_0x16956f,_0x232699,_0x5a345c){var _0x3595e1=_0x3d72b3,_0x2ebb65,_0x2172f7=this[_0x3595e1(0x398)];_0x2172f7?(_0x2ebb65=_0x2172f7,this[_0x3595e1(0x398)]=_0x565be6):_0x2ebb65=this[_0x3595e1(0xaf)];for(var _0x2fad86=0x0;_0x2fad86<_0x5a345c;_0x2fad86++)_0x16956f[_0x232699+_0x2fad86]^=_0x2ebb65[_0x2fad86];}return _0x23257c;}()),_0x2de5de=_0x1e622c[_0x263a59(0x98)]={},_0x509232=_0x2de5de[_0x263a59(0x2d1)]={'pad':function(_0x6110ba,_0x39facc){var _0x1657d5=_0x263a59;for(var _0x17b1a9=_0x39facc*0x4,_0x4ed149=_0x17b1a9-_0x6110ba[_0x1657d5(0x354)]%_0x17b1a9,_0x5f1692=_0x4ed149<<0x18|_0x4ed149<<0x10|_0x4ed149<<0x8|_0x4ed149,_0x53cfd5=[],_0x2111c7=0x0;_0x2111c7<_0x4ed149;_0x2111c7+=0x4)_0x53cfd5[_0x1657d5(0x195)](_0x5f1692);var _0x275376=_0x5257d1[_0x1657d5(0x2c4)](_0x53cfd5,_0x4ed149);_0x6110ba[_0x1657d5(0x145)](_0x275376);},'unpad':function(_0x17dcbe){var _0xe80a7c=_0x263a59,_0x4dff1b=_0x17dcbe['words'][_0x17dcbe[_0xe80a7c(0x354)]-0x1>>>0x2]&0xff;_0x17dcbe['sigBytes']-=_0x4dff1b;}};_0x44d3d5[_0x263a59(0x341)]=_0x5f050a['extend']({'cfg':_0x5f050a[_0x263a59(0x385)][_0x263a59(0x27c)]({'mode':_0x5fefad,'padding':_0x509232}),'reset':function(){var _0x1636da=_0x263a59,_0x255dd0;_0x5f050a[_0x1636da(0x1d2)]['call'](this);var _0x2543a4=this[_0x1636da(0x385)],_0x3b73de=_0x2543a4['iv'],_0x155c0e=_0x2543a4[_0x1636da(0x1a5)];this['_xformMode']==this[_0x1636da(0x2f2)]?_0x255dd0=_0x155c0e[_0x1636da(0x336)]:(_0x255dd0=_0x155c0e[_0x1636da(0x32d)],this[_0x1636da(0x225)]=0x1),this['_mode']&&this[_0x1636da(0x27a)][_0x1636da(0xb1)]==_0x255dd0?this[_0x1636da(0x27a)][_0x1636da(0x268)](this,_0x3b73de&&_0x3b73de[_0x1636da(0x1ad)]):(this[_0x1636da(0x27a)]=_0x255dd0[_0x1636da(0x2e9)](_0x155c0e,this,_0x3b73de&&_0x3b73de[_0x1636da(0x1ad)]),this[_0x1636da(0x27a)][_0x1636da(0xb1)]=_0x255dd0);},'_doProcessBlock':function(_0x13d91c,_0xad4b8a){var _0x38d53c=_0x263a59;this[_0x38d53c(0x27a)][_0x38d53c(0x9b)](_0x13d91c,_0xad4b8a);},'_doFinalize':function(){var _0x1f558b=_0x263a59,_0x3d44fb,_0x18be57=this['cfg'][_0x1f558b(0x107)];return this['_xformMode']==this[_0x1f558b(0x2f2)]?(_0x18be57[_0x1f558b(0x98)](this['_data'],this[_0x1f558b(0x153)]),_0x3d44fb=this[_0x1f558b(0x2b9)](!0x0)):(_0x3d44fb=this['_process'](!0x0),_0x18be57[_0x1f558b(0x2dc)](_0x3d44fb)),_0x3d44fb;},'blockSize':0x80/0x20});var _0x3de5f9=_0x44d3d5['CipherParams']=_0x1bfefa[_0x263a59(0x27c)]({'init':function(_0x36104a){var _0x297db1=_0x263a59;this[_0x297db1(0x151)](_0x36104a);},'toString':function(_0x41c565){var _0x379c8e=_0x263a59;return(_0x41c565||this[_0x379c8e(0x2be)])[_0x379c8e(0x1df)](this);}}),_0x33ccb2=_0x1e622c[_0x263a59(0x383)]={},_0x5765f3=_0x33ccb2[_0x263a59(0x19b)]={'stringify':function(_0x19ced1){var _0xa68570=_0x263a59,_0x310038,_0xadf3a2=_0x19ced1[_0xa68570(0x39f)],_0x167543=_0x19ced1[_0xa68570(0x23a)];return _0x167543?_0x310038=_0x5257d1['create']([0x53616c74,0x65645f5f])[_0xa68570(0x145)](_0x167543)['concat'](_0xadf3a2):_0x310038=_0xadf3a2,_0x310038[_0xa68570(0x178)](_0x5f0f64);},'parse':function(_0x2690b4){var _0x23eca9=_0x263a59,_0x35f2f0,_0x3d74d4=_0x5f0f64[_0x23eca9(0x2cc)](_0x2690b4),_0x25b901=_0x3d74d4[_0x23eca9(0x1ad)];return _0x25b901[0x0]==0x53616c74&&_0x25b901[0x1]==0x65645f5f&&(_0x35f2f0=_0x5257d1[_0x23eca9(0x2c4)](_0x25b901[_0x23eca9(0x20a)](0x2,0x4)),_0x25b901[_0x23eca9(0x360)](0x0,0x4),_0x3d74d4['sigBytes']-=0x10),_0x3de5f9[_0x23eca9(0x2c4)]({'ciphertext':_0x3d74d4,'salt':_0x35f2f0});}},_0x56af08=_0x44d3d5[_0x263a59(0x20f)]=_0x1bfefa[_0x263a59(0x27c)]({'cfg':_0x1bfefa[_0x263a59(0x27c)]({'format':_0x5765f3}),'encrypt':function(_0x1981e2,_0x4ad1f2,_0x3005c1,_0x122ebd){var _0x2c7656=_0x263a59;_0x122ebd=this[_0x2c7656(0x385)][_0x2c7656(0x27c)](_0x122ebd);var _0x26f3d2=_0x1981e2['createEncryptor'](_0x3005c1,_0x122ebd),_0x5deff8=_0x26f3d2['finalize'](_0x4ad1f2),_0x40d859=_0x26f3d2[_0x2c7656(0x385)];return _0x3de5f9['create']({'ciphertext':_0x5deff8,'key':_0x3005c1,'iv':_0x40d859['iv'],'algorithm':_0x1981e2,'mode':_0x40d859['mode'],'padding':_0x40d859[_0x2c7656(0x107)],'blockSize':_0x1981e2[_0x2c7656(0x153)],'formatter':_0x122ebd[_0x2c7656(0x383)]});},'decrypt':function(_0x31d6fd,_0x2ff05f,_0x292978,_0x1be1e8){var _0x4a396c=_0x263a59;_0x1be1e8=this[_0x4a396c(0x385)][_0x4a396c(0x27c)](_0x1be1e8),_0x2ff05f=this['_parse'](_0x2ff05f,_0x1be1e8[_0x4a396c(0x383)]);var _0x20cdd2=_0x31d6fd[_0x4a396c(0x32d)](_0x292978,_0x1be1e8)['finalize'](_0x2ff05f[_0x4a396c(0x39f)]);return _0x20cdd2;},'_parse':function(_0x38b3a0,_0x2a4010){var _0x723ac0=_0x263a59;return typeof _0x38b3a0=='string'?_0x2a4010[_0x723ac0(0x2cc)](_0x38b3a0,this):_0x38b3a0;}}),_0x3c5516=_0x1e622c[_0x263a59(0x200)]={},_0x4bb8e8=_0x3c5516[_0x263a59(0x19b)]={'execute':function(_0x1dc515,_0x7f738d,_0x2cdcd1,_0x2b95e8,_0x25b72b){var _0x539553=_0x263a59;if(_0x2b95e8||(_0x2b95e8=_0x5257d1[_0x539553(0x109)](0x40/0x8)),_0x25b72b)var _0x5ac579=_0x2fd47e['create']({'keySize':_0x7f738d+_0x2cdcd1,'hasher':_0x25b72b})[_0x539553(0x1d9)](_0x1dc515,_0x2b95e8);else var _0x5ac579=_0x2fd47e['create']({'keySize':_0x7f738d+_0x2cdcd1})[_0x539553(0x1d9)](_0x1dc515,_0x2b95e8);var _0x5a01d0=_0x5257d1[_0x539553(0x2c4)](_0x5ac579['words'][_0x539553(0x20a)](_0x7f738d),_0x2cdcd1*0x4);return _0x5ac579[_0x539553(0x354)]=_0x7f738d*0x4,_0x3de5f9[_0x539553(0x2c4)]({'key':_0x5ac579,'iv':_0x5a01d0,'salt':_0x2b95e8});}},_0x418f5a=_0x44d3d5['PasswordBasedCipher']=_0x56af08[_0x263a59(0x27c)]({'cfg':_0x56af08['cfg']['extend']({'kdf':_0x4bb8e8}),'encrypt':function(_0x500f98,_0x2f88fb,_0x2591c1,_0x1b625e){var _0x3ab1e0=_0x263a59;_0x1b625e=this['cfg'][_0x3ab1e0(0x27c)](_0x1b625e);var _0x46c0a9=_0x1b625e['kdf']['execute'](_0x2591c1,_0x500f98[_0x3ab1e0(0x1c2)],_0x500f98['ivSize'],_0x1b625e[_0x3ab1e0(0x23a)],_0x1b625e[_0x3ab1e0(0xff)]);_0x1b625e['iv']=_0x46c0a9['iv'];var _0x483fcc=_0x56af08['encrypt'][_0x3ab1e0(0x2e9)](this,_0x500f98,_0x2f88fb,_0x46c0a9[_0x3ab1e0(0x152)],_0x1b625e);return _0x483fcc[_0x3ab1e0(0x151)](_0x46c0a9),_0x483fcc;},'decrypt':function(_0x3c4688,_0x2d8946,_0x188f90,_0x1c432f){var _0x3749b6=_0x263a59;_0x1c432f=this[_0x3749b6(0x385)][_0x3749b6(0x27c)](_0x1c432f),_0x2d8946=this[_0x3749b6(0x37f)](_0x2d8946,_0x1c432f[_0x3749b6(0x383)]);var _0x5a70a5=_0x1c432f['kdf'][_0x3749b6(0x172)](_0x188f90,_0x3c4688[_0x3749b6(0x1c2)],_0x3c4688[_0x3749b6(0x228)],_0x2d8946['salt'],_0x1c432f[_0x3749b6(0xff)]);_0x1c432f['iv']=_0x5a70a5['iv'];var _0xcf6595=_0x56af08['decrypt'][_0x3749b6(0x2e9)](this,_0x3c4688,_0x2d8946,_0x5a70a5[_0x3749b6(0x152)],_0x1c432f);return _0xcf6595;}});}();}));}(Je)),Je[_0x5e3da4(0x3a2)];}var gn=Ve[_0x3f33cb(0x3a2)],ti;function Sn(){var _0x1664f1=_0x3f33cb;return ti||(ti=0x1,function(_0x1f8ec4,_0x46c900){(function(_0x3fe638,_0x5a3334,_0x8a72f7){var _0x48678e=_0x2cdc;_0x1f8ec4[_0x48678e(0x3a2)]=_0x5a3334(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x4a6166){var _0x291df9=_0x2cdc;return(function(){var _0x5d1337=_0x2cdc,_0x579ebe=_0x4a6166,_0x15d821=_0x579ebe['lib'],_0x53e338=_0x15d821['BlockCipher'],_0x23e1e9=_0x579ebe['algo'],_0x16277e=[],_0x294936=[],_0x12a528=[],_0x2433d1=[],_0x27fdfc=[],_0x2cfd0d=[],_0x15a26a=[],_0x2e5f3d=[],_0xa6be1c=[],_0x4f9af0=[];(function(){for(var _0x311be7=[],_0x29d686=0x0;_0x29d686<0x100;_0x29d686++)_0x29d686<0x80?_0x311be7[_0x29d686]=_0x29d686<<0x1:_0x311be7[_0x29d686]=_0x29d686<<0x1^0x11b;for(var _0x53e42a=0x0,_0xcceb22=0x0,_0x29d686=0x0;_0x29d686<0x100;_0x29d686++){var _0x22d5e3=_0xcceb22^_0xcceb22<<0x1^_0xcceb22<<0x2^_0xcceb22<<0x3^_0xcceb22<<0x4;_0x22d5e3=_0x22d5e3>>>0x8^_0x22d5e3&0xff^0x63,_0x16277e[_0x53e42a]=_0x22d5e3,_0x294936[_0x22d5e3]=_0x53e42a;var _0xb80587=_0x311be7[_0x53e42a],_0x13d1c1=_0x311be7[_0xb80587],_0x20fe59=_0x311be7[_0x13d1c1],_0x49678c=_0x311be7[_0x22d5e3]*0x101^_0x22d5e3*0x1010100;_0x12a528[_0x53e42a]=_0x49678c<<0x18|_0x49678c>>>0x8,_0x2433d1[_0x53e42a]=_0x49678c<<0x10|_0x49678c>>>0x10,_0x27fdfc[_0x53e42a]=_0x49678c<<0x8|_0x49678c>>>0x18,_0x2cfd0d[_0x53e42a]=_0x49678c;var _0x49678c=_0x20fe59*0x1010101^_0x13d1c1*0x10001^_0xb80587*0x101^_0x53e42a*0x1010100;_0x15a26a[_0x22d5e3]=_0x49678c<<0x18|_0x49678c>>>0x8,_0x2e5f3d[_0x22d5e3]=_0x49678c<<0x10|_0x49678c>>>0x10,_0xa6be1c[_0x22d5e3]=_0x49678c<<0x8|_0x49678c>>>0x18,_0x4f9af0[_0x22d5e3]=_0x49678c,_0x53e42a?(_0x53e42a=_0xb80587^_0x311be7[_0x311be7[_0x311be7[_0x20fe59^_0xb80587]]],_0xcceb22^=_0x311be7[_0x311be7[_0xcceb22]]):_0x53e42a=_0xcceb22=0x1;}}());var _0x2101be=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3f34a8=_0x23e1e9['AES']=_0x53e338[_0x5d1337(0x27c)]({'_doReset':function(){var _0x3689c4=_0x5d1337,_0xb94857;if(!(this[_0x3689c4(0x2e1)]&&this[_0x3689c4(0x1a0)]===this[_0x3689c4(0x32a)])){for(var _0x544001=this[_0x3689c4(0x1a0)]=this['_key'],_0x1fc65b=_0x544001['words'],_0x579268=_0x544001[_0x3689c4(0x354)]/0x4,_0x34667d=this[_0x3689c4(0x2e1)]=_0x579268+0x6,_0x42d5fc=(_0x34667d+0x1)*0x4,_0x4b2930=this['_keySchedule']=[],_0x561a3a=0x0;_0x561a3a<_0x42d5fc;_0x561a3a++)_0x561a3a<_0x579268?_0x4b2930[_0x561a3a]=_0x1fc65b[_0x561a3a]:(_0xb94857=_0x4b2930[_0x561a3a-0x1],_0x561a3a%_0x579268?_0x579268>0x6&&_0x561a3a%_0x579268==0x4&&(_0xb94857=_0x16277e[_0xb94857>>>0x18]<<0x18|_0x16277e[_0xb94857>>>0x10&0xff]<<0x10|_0x16277e[_0xb94857>>>0x8&0xff]<<0x8|_0x16277e[_0xb94857&0xff]):(_0xb94857=_0xb94857<<0x8|_0xb94857>>>0x18,_0xb94857=_0x16277e[_0xb94857>>>0x18]<<0x18|_0x16277e[_0xb94857>>>0x10&0xff]<<0x10|_0x16277e[_0xb94857>>>0x8&0xff]<<0x8|_0x16277e[_0xb94857&0xff],_0xb94857^=_0x2101be[_0x561a3a/_0x579268|0x0]<<0x18),_0x4b2930[_0x561a3a]=_0x4b2930[_0x561a3a-_0x579268]^_0xb94857);for(var _0x4fbce2=this[_0x3689c4(0xbf)]=[],_0x16b400=0x0;_0x16b400<_0x42d5fc;_0x16b400++){var _0x561a3a=_0x42d5fc-_0x16b400;if(_0x16b400%0x4)var _0xb94857=_0x4b2930[_0x561a3a];else var _0xb94857=_0x4b2930[_0x561a3a-0x4];_0x16b400<0x4||_0x561a3a<=0x4?_0x4fbce2[_0x16b400]=_0xb94857:_0x4fbce2[_0x16b400]=_0x15a26a[_0x16277e[_0xb94857>>>0x18]]^_0x2e5f3d[_0x16277e[_0xb94857>>>0x10&0xff]]^_0xa6be1c[_0x16277e[_0xb94857>>>0x8&0xff]]^_0x4f9af0[_0x16277e[_0xb94857&0xff]];}}},'encryptBlock':function(_0x4b9aae,_0x5b6d93){var _0x23a0f7=_0x5d1337;this['_doCryptBlock'](_0x4b9aae,_0x5b6d93,this[_0x23a0f7(0xdd)],_0x12a528,_0x2433d1,_0x27fdfc,_0x2cfd0d,_0x16277e);},'decryptBlock':function(_0x41a21a,_0x281da3){var _0x243b11=_0x5d1337,_0x6a3a48=_0x41a21a[_0x281da3+0x1];_0x41a21a[_0x281da3+0x1]=_0x41a21a[_0x281da3+0x3],_0x41a21a[_0x281da3+0x3]=_0x6a3a48,this[_0x243b11(0x37a)](_0x41a21a,_0x281da3,this[_0x243b11(0xbf)],_0x15a26a,_0x2e5f3d,_0xa6be1c,_0x4f9af0,_0x294936);var _0x6a3a48=_0x41a21a[_0x281da3+0x1];_0x41a21a[_0x281da3+0x1]=_0x41a21a[_0x281da3+0x3],_0x41a21a[_0x281da3+0x3]=_0x6a3a48;},'_doCryptBlock':function(_0x20c900,_0x437333,_0xe6328d,_0x2d3c1c,_0x471609,_0x3913cd,_0x19fef6,_0x41b94d){var _0x2265a7=_0x5d1337;for(var _0x378a9f=this[_0x2265a7(0x2e1)],_0x33b0fe=_0x20c900[_0x437333]^_0xe6328d[0x0],_0x1ea2a2=_0x20c900[_0x437333+0x1]^_0xe6328d[0x1],_0x54a268=_0x20c900[_0x437333+0x2]^_0xe6328d[0x2],_0x9aec=_0x20c900[_0x437333+0x3]^_0xe6328d[0x3],_0x82edec=0x4,_0x70cc36=0x1;_0x70cc36<_0x378a9f;_0x70cc36++){var _0x481643=_0x2d3c1c[_0x33b0fe>>>0x18]^_0x471609[_0x1ea2a2>>>0x10&0xff]^_0x3913cd[_0x54a268>>>0x8&0xff]^_0x19fef6[_0x9aec&0xff]^_0xe6328d[_0x82edec++],_0x3b5d50=_0x2d3c1c[_0x1ea2a2>>>0x18]^_0x471609[_0x54a268>>>0x10&0xff]^_0x3913cd[_0x9aec>>>0x8&0xff]^_0x19fef6[_0x33b0fe&0xff]^_0xe6328d[_0x82edec++],_0x297698=_0x2d3c1c[_0x54a268>>>0x18]^_0x471609[_0x9aec>>>0x10&0xff]^_0x3913cd[_0x33b0fe>>>0x8&0xff]^_0x19fef6[_0x1ea2a2&0xff]^_0xe6328d[_0x82edec++],_0x4a6bb9=_0x2d3c1c[_0x9aec>>>0x18]^_0x471609[_0x33b0fe>>>0x10&0xff]^_0x3913cd[_0x1ea2a2>>>0x8&0xff]^_0x19fef6[_0x54a268&0xff]^_0xe6328d[_0x82edec++];_0x33b0fe=_0x481643,_0x1ea2a2=_0x3b5d50,_0x54a268=_0x297698,_0x9aec=_0x4a6bb9;}var _0x481643=(_0x41b94d[_0x33b0fe>>>0x18]<<0x18|_0x41b94d[_0x1ea2a2>>>0x10&0xff]<<0x10|_0x41b94d[_0x54a268>>>0x8&0xff]<<0x8|_0x41b94d[_0x9aec&0xff])^_0xe6328d[_0x82edec++],_0x3b5d50=(_0x41b94d[_0x1ea2a2>>>0x18]<<0x18|_0x41b94d[_0x54a268>>>0x10&0xff]<<0x10|_0x41b94d[_0x9aec>>>0x8&0xff]<<0x8|_0x41b94d[_0x33b0fe&0xff])^_0xe6328d[_0x82edec++],_0x297698=(_0x41b94d[_0x54a268>>>0x18]<<0x18|_0x41b94d[_0x9aec>>>0x10&0xff]<<0x10|_0x41b94d[_0x33b0fe>>>0x8&0xff]<<0x8|_0x41b94d[_0x1ea2a2&0xff])^_0xe6328d[_0x82edec++],_0x4a6bb9=(_0x41b94d[_0x9aec>>>0x18]<<0x18|_0x41b94d[_0x33b0fe>>>0x10&0xff]<<0x10|_0x41b94d[_0x1ea2a2>>>0x8&0xff]<<0x8|_0x41b94d[_0x54a268&0xff])^_0xe6328d[_0x82edec++];_0x20c900[_0x437333]=_0x481643,_0x20c900[_0x437333+0x1]=_0x3b5d50,_0x20c900[_0x437333+0x2]=_0x297698,_0x20c900[_0x437333+0x3]=_0x4a6bb9;},'keySize':0x100/0x20});_0x579ebe['AES']=_0x53e338[_0x5d1337(0x32f)](_0x3f34a8);}()),_0x4a6166[_0x291df9(0x2a4)];}));}(Ve)),Ve[_0x1664f1(0x3a2)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0x3f33cb(0x3a2)],si;function Rn(){var _0x45e4e7=_0x3f33cb;return si||(si=0x1,function(_0x2991d3,_0x4ecf90){(function(_0x27ee5f,_0x309206){_0x2991d3['exports']=_0x309206(te());}(Cn,function(_0x560f2d){var _0x2801c9=_0x2cdc;return _0x560f2d[_0x2801c9(0xac)]['Utf8'];}));}(Xe)),Xe[_0x45e4e7(0x3a2)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0x3f33cb(0x3a2)],ni;function Nn(){return ni||(ni=0x1,function(_0x59b21e,_0xb07508){(function(_0x38ae28,_0x540c57){var _0x164de7=_0x2cdc;_0x59b21e[_0x164de7(0x3a2)]=_0x540c57(te());}(yn,function(_0xd7db50){var _0xb20abc=_0x2cdc;return(function(){var _0x37a4d4=_0x2cdc;if(typeof ArrayBuffer==_0x37a4d4(0x129)){var _0x15d8ff=_0xd7db50,_0x4b805a=_0x15d8ff[_0x37a4d4(0xaa)],_0x5c0c42=_0x4b805a['WordArray'],_0x11001a=_0x5c0c42[_0x37a4d4(0x268)],_0x101208=_0x5c0c42['init']=function(_0x467725){var _0x36a276=_0x37a4d4;if(_0x467725 instanceof ArrayBuffer&&(_0x467725=new Uint8Array(_0x467725)),(_0x467725 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x467725 instanceof Uint8ClampedArray||_0x467725 instanceof Int16Array||_0x467725 instanceof Uint16Array||_0x467725 instanceof Int32Array||_0x467725 instanceof Uint32Array||_0x467725 instanceof Float32Array||_0x467725 instanceof Float64Array)&&(_0x467725=new Uint8Array(_0x467725[_0x36a276(0x32e)],_0x467725[_0x36a276(0x30f)],_0x467725['byteLength'])),_0x467725 instanceof Uint8Array){for(var _0x3ed43c=_0x467725[_0x36a276(0x286)],_0x366d9e=[],_0x32abc2=0x0;_0x32abc2<_0x3ed43c;_0x32abc2++)_0x366d9e[_0x32abc2>>>0x2]|=_0x467725[_0x32abc2]<<0x18-_0x32abc2%0x4*0x8;_0x11001a[_0x36a276(0x2e9)](this,_0x366d9e,_0x3ed43c);}else _0x11001a[_0x36a276(0x39d)](this,arguments);};_0x101208[_0x37a4d4(0x335)]=_0x5c0c42;}}()),_0xd7db50[_0xb20abc(0xaa)][_0xb20abc(0x304)];}));}(Ze)),Ze['exports'];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0x3f33cb(0x3a2)],ri;function wn(){var _0x5bcab2=_0x3f33cb;return ri||(ri=0x1,function(_0xa212d,_0x21f249){(function(_0x3e187a,_0xebf2dd,_0x461192){_0xa212d['exports']=_0xebf2dd(te(),bi());}(An,function(_0x62d507){var _0x2067b9=_0x2cdc;return _0x62d507['pad'][_0x2067b9(0x305)]={'pad':function(){},'unpad':function(){}},_0x62d507['pad'][_0x2067b9(0x305)];}));}(Qe)),Qe[_0x5bcab2(0x3a2)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x512d17,_0x1bf3ec){var _0x5f5aa6=_0x3f33cb;const _0xb7768=_0x1bf3ec-_0x512d17[_0x5f5aa6(0x2f6)]%_0x1bf3ec,_0x57172b=String[_0x5f5aa6(0xc7)](_0xb7768)[_0x5f5aa6(0x97)](_0xb7768);return _0x512d17+_0x57172b;}function xn(_0x23c058,_0x493060){var _0x2880ff=_0x3f33cb;const _0x5d0f95=Un[_0x2880ff(0x109)](0x10),_0xae6c11=Ln(_0x23c058,0x10),_0x2d3b50=In[_0x2880ff(0x38c)](bn['parse'](_0xae6c11),ii[_0x2880ff(0x2cc)](_0x493060),{'iv':_0x5d0f95,'padding':Mn});return _0x5d0f95[_0x2880ff(0x145)](_0x2d3b50['ciphertext'])[_0x2880ff(0x178)](ii);}function kn(){var _0x22990e=_0x3f33cb;const _0x4e92f3=_0xc4a606()[_0x22990e(0x1cd)];if(_0x4e92f3){const _0x2288ab={'time':Math[_0x22990e(0x10b)](Date[_0x22990e(0x1d7)]()/0x3e8),'domain':location['hostname']};return xn(JSON[_0x22990e(0x1df)](_0x2288ab),_0x4e92f3);}}var $n=Object[_0x3f33cb(0x296)],Hn=(_0x2e68dc,_0x413f55,_0x1c8fed,_0x53b465)=>{var _0x5b5e6c=_0x3f33cb;for(var _0x1d54c7=_0x53b465>0x1?void 0x0:_0x53b465?$n(_0x413f55,_0x1c8fed):_0x413f55,_0x1dad19=_0x2e68dc[_0x5b5e6c(0x2f6)]-0x1,_0x5d89d1;_0x1dad19>=0x0;_0x1dad19--)(_0x5d89d1=_0x2e68dc[_0x1dad19])&&(_0x1d54c7=_0x5d89d1(_0x1d54c7)||_0x1d54c7);return _0x1d54c7;},Bn=(_0x4c0235,_0xa4b818)=>(_0x31567e,_0x4570fb)=>_0xa4b818(_0x31567e,_0x4570fb,_0x4c0235);let at=class{constructor(_0x461bb4){var _0x3fbf36=_0x3f33cb;this[_0x3fbf36(0x141)]=_0x461bb4,this['_initRequestHeader']();}['_initRequestHeader'](){var _0x263bd1=_0x3f33cb;this[_0x263bd1(0x141)][_0x263bd1(0x381)]({'interceptor':(_0x54dfa2,_0x5c97fc)=>{const _0x23095c=_0x54dfa2['headers'],_0x4dfdbe=kn();return _0x4dfdbe&&_0x23095c['set']('x-univer-host',_0x4dfdbe),_0x5c97fc(_0x54dfa2);}});}};at=Hn([Bn(0x0,_0x289be2(_0x202828))],at);var jn=Object[_0x3f33cb(0x296)],Fn=(_0x4cfd97,_0x18ae36,_0x50d027,_0xfcdbe2)=>{for(var _0x4d71e9=_0xfcdbe2>0x1?void 0x0:_0xfcdbe2?jn(_0x18ae36,_0x50d027):_0x18ae36,_0x1ce3dc=_0x4cfd97['length']-0x1,_0x796c04;_0x1ce3dc>=0x0;_0x1ce3dc--)(_0x796c04=_0x4cfd97[_0x1ce3dc])&&(_0x4d71e9=_0x796c04(_0x4d71e9)||_0x4d71e9);return _0x4d71e9;},vt=(_0x43a301,_0x50e0bf)=>(_0x35e662,_0x1c4d39)=>_0x50e0bf(_0x35e662,_0x1c4d39,_0x43a301);let Ct=class extends _0x4447d4{constructor(_0xd985f7,_0x3c2832,_0x153af9){var _0x2bf6be=_0x3f33cb;super(),N(this,_0x2bf6be(0x35e),new _0x124502(null)),N(this,_0x2bf6be(0x209),this['_unitInfo$'][_0x2bf6be(0x350)]()),(this[_0x2bf6be(0x259)]=_0xd985f7,this[_0x2bf6be(0x137)]=_0x3c2832,this['_localCacheService']=_0x153af9);}async[_0x3f33cb(0x18a)](_0x38eaca,_0x423a4a,_0x54b6c9){var _0x12008e=_0x3f33cb;this[_0x12008e(0x35e)][_0x12008e(0x38f)]({'unitId':_0x38eaca,'type':_0x423a4a});let _0x22aa0c=null;switch(_0x423a4a){case Z[_0x12008e(0xce)]:{_0x22aa0c=await this[_0x12008e(0x137)][_0x12008e(0xa4)](_0x38eaca,_0x54b6c9);break;}case Z[_0x12008e(0x387)]:{_0x22aa0c=await this[_0x12008e(0x137)][_0x12008e(0x276)](_0x38eaca,_0x54b6c9);break;}default:{this[_0x12008e(0x259)]['error'](_0x12008e(0x157),_0x12008e(0xa1));break;}}return _0x22aa0c;}async[_0x3f33cb(0x39b)](_0x4ef4a5,_0x1b69ff,_0x4914cf){var _0xb2ee7a=_0x3f33cb,_0x21a203;this['_unitInfo$'][_0xb2ee7a(0x38f)]({'unitId':_0x4ef4a5,'type':_0x1b69ff,'subUnitId':_0x4914cf});let _0x52b732=0x0;const _0xac5021=await((_0x21a203=this[_0xb2ee7a(0x316)])==null?void 0x0:_0x21a203[_0xb2ee7a(0xec)](_0x4ef4a5));return _0xac5021&&(_0xac5021[_0xb2ee7a(0x330)]||_0xac5021[_0xb2ee7a(0x12d)]['length']!==0x0)&&(_0x52b732=_0xac5021[_0xb2ee7a(0x33a)]),_0x52b732===0x0&&this[_0xb2ee7a(0x259)][_0xb2ee7a(0x16c)](_0xb2ee7a(0x157),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['loadUnitOfRevision'](_0x4ef4a5,_0x1b69ff,_0x52b732);}};Ct=Fn([vt(0x0,_0x575f9c),vt(0x1,_0x289be2(_0x19cd48)),vt(0x2,_0x3d442c(J))],Ct);var Vn=Object['getOwnPropertyDescriptor'],Wn=(_0x681011,_0x1eaa54,_0x205c0c,_0x3ce774)=>{var _0x58f1ae=_0x3f33cb;for(var _0x2aec06=_0x3ce774>0x1?void 0x0:_0x3ce774?Vn(_0x1eaa54,_0x205c0c):_0x1eaa54,_0x15a49b=_0x681011[_0x58f1ae(0x2f6)]-0x1,_0x3e8b70;_0x15a49b>=0x0;_0x15a49b--)(_0x3e8b70=_0x681011[_0x15a49b])&&(_0x2aec06=_0x3e8b70(_0x2aec06)||_0x2aec06);return _0x2aec06;},pt=(_0x8116ca,_0x1aa746)=>(_0x5f2f5c,_0x299042)=>_0x1aa746(_0x5f2f5c,_0x299042,_0x8116ca);const Gn=['image/png',_0x3f33cb(0x18f),_0x3f33cb(0x344),_0x3f33cb(0x306),_0x3f33cb(0x128)],Yn=0x5*0x400*0x400,Kn=_0x3f33cb(0x15a),qn=_0x3f33cb(0x367);let Rt=class{constructor(_0x25faa1,_0x813b1,_0x2cea80){var _0x2ab5f4=_0x3f33cb;N(this,_0x2ab5f4(0xbd),0x0),N(this,_0x2ab5f4(0x217),new _0x11e6d4()),N(this,_0x2ab5f4(0x2d8),this[_0x2ab5f4(0x217)]),N(this,'_imageSourceCache',new Map()),(this[_0x2ab5f4(0x141)]=_0x25faa1,this[_0x2ab5f4(0x27e)]=_0x813b1,this[_0x2ab5f4(0x198)]=_0x2cea80);}[_0x3f33cb(0x2e2)](_0x46bb9c){var _0x3b96df=_0x3f33cb;this[_0x3b96df(0xbd)]=_0x46bb9c,this[_0x3b96df(0x217)][_0x3b96df(0x38f)](_0x46bb9c);}[_0x3f33cb(0x31b)](_0x33c3c5,_0x2b96de){var _0x363f7a=_0x3f33cb;if(_0x2b96de===_0x4efb65[_0x363f7a(0x274)]){const _0x28b39c=new Image();return _0x28b39c[_0x363f7a(0x3a0)]=_0x33c3c5,_0x28b39c;}return this['_imageSourceCache'][_0x363f7a(0x34f)](_0x33c3c5);}[_0x3f33cb(0x1d5)](_0x46f2ee,_0x1a2a9c,_0x448745){var _0x14dac1=_0x3f33cb;_0x1a2a9c===_0x4efb65[_0x14dac1(0x274)]||_0x448745==null||this[_0x14dac1(0x30a)][_0x14dac1(0x1e9)](_0x46f2ee,_0x448745);}async[_0x3f33cb(0x2a2)](_0x3dd2c2){var _0x47526b=_0x3f33cb;try{const _0x3c4c13=this[_0x47526b(0x31d)](this[_0x47526b(0x2fa)](),''+_0x3dd2c2),_0x29b49e=(await this[_0x47526b(0x141)][_0x47526b(0x34f)](_0x3c4c13))[_0x47526b(0x237)];if(_0x29b49e[_0x47526b(0x288)]&&_0x29b49e[_0x47526b(0x288)][_0x47526b(0x36e)]===vi['OK']){const _0xee77a7=new URL(_0x29b49e[_0x47526b(0x236)],this[_0x47526b(0x318)]())[_0x47526b(0x178)]();return Promise[_0x47526b(0x2ea)](_0xee77a7);}return Promise[_0x47526b(0x15d)](_0x29b49e['error']);}catch(_0x397c01){return Promise[_0x47526b(0x15d)](_0x397c01);}}async[_0x3f33cb(0x1a2)](_0x1c2d8f){var _0x1f0f21=_0x3f33cb;let _0x2e2935='';if(!Gn[_0x1f0f21(0x1be)](_0x1c2d8f[_0x1f0f21(0x1c4)]))return this[_0x1f0f21(0x1e1)](),Promise[_0x1f0f21(0x15d)](new Error(_0x578d57[_0x1f0f21(0x2a8)]));if(_0x1c2d8f[_0x1f0f21(0x2a5)]>Yn)return this[_0x1f0f21(0x1e1)](),Promise[_0x1f0f21(0x15d)](new Error(_0x578d57[_0x1f0f21(0xb5)]));try{const _0x3e4527=new FormData();_0x3e4527['append'](_0x1f0f21(0x2c8),_0x1c2d8f);const _0x3c33b3=this[_0x1f0f21(0x198)][_0x1f0f21(0x9d)](),_0x533bb6=_0x3c33b3==null?void 0x0:_0x3c33b3[_0x1f0f21(0x324)]();if(!_0x533bb6)throw new Error(_0x1f0f21(0xfa));const _0x41790e=this['_getUploadFileURL']()+_0x1f0f21(0x1ba)+_0x1c2d8f[_0x1f0f21(0x2a5)][_0x1f0f21(0x178)]()+_0x1f0f21(0x2b5)+pi[_0x1f0f21(0x244)]+_0x1f0f21(0x280)+encodeURIComponent(_0x533bb6),_0x5217d3={'body':_0x3e4527},_0x4abcbf=(await this[_0x1f0f21(0x141)]['post'](_0x41790e,_0x5217d3))[_0x1f0f21(0x237)];if(typeof _0x4abcbf[_0x1f0f21(0x31f)]!=_0x1f0f21(0x31a))return this[_0x1f0f21(0x1e1)](),Promise[_0x1f0f21(0x15d)](new Error(_0x578d57['ERROR_IMAGE']));_0x2e2935=_0x4abcbf[_0x1f0f21(0x31f)];}catch{return this[_0x1f0f21(0x1e1)](),Promise[_0x1f0f21(0x15d)](new Error(_0x578d57[_0x1f0f21(0x2b7)]));}return new Promise((_0x9334a9,_0x233ab8)=>{var _0x19b4b4=_0x1f0f21;const _0x4f987f=new FileReader();_0x4f987f[_0x19b4b4(0x21a)](_0x1c2d8f),_0x4f987f['onload']=_0x5582ff=>{var _0x4712ce=_0x19b4b4,_0x3ff7fd;const _0x519c11=(_0x3ff7fd=_0x5582ff[_0x4712ce(0x1da)])==null?void 0x0:_0x3ff7fd[_0x4712ce(0x2bd)];if(_0x519c11==null){this['_decreaseWaiting'](),_0x233ab8(new Error(_0x578d57['ERROR_IMAGE']));return;}const _0x4cf343=_0x39a79d(0x6);_0x9334a9({'imageId':_0x4cf343,'imageSourceType':_0x4efb65['UUID'],'source':_0x2e2935,'base64Cache':_0x519c11,'status':_0x578d57[_0x4712ce(0x334)]}),this[_0x4712ce(0x1e1)]();};});}[_0x3f33cb(0x369)](){var _0x30b236=_0x3f33cb,_0xdcc69;const _0x97003c=this[_0x30b236(0x27e)][_0x30b236(0x1a4)](K);return(_0xdcc69=_0x97003c==null?void 0x0:_0x97003c[_0x30b236(0x17e)])!=null?_0xdcc69:Kn;}['_getSignURL'](){var _0x1b112b=_0x3f33cb,_0x557537;const _0x133ef6=this['_configService'][_0x1b112b(0x1a4)](K);return(_0x557537=_0x133ef6==null?void 0x0:_0x133ef6[_0x1b112b(0xb3)])!=null?_0x557537:qn;}['_getDownloadEndpointURL'](){var _0x3adb85=_0x3f33cb,_0x67f98b;const _0x5057db=this['_configService'][_0x3adb85(0x1a4)](K);return(_0x67f98b=_0x5057db==null?void 0x0:_0x5057db[_0x3adb85(0x270)])!=null?_0x67f98b:location[_0x3adb85(0x282)];}[_0x3f33cb(0x31d)](_0x2095ac,_0x15010f){var _0x306c11=_0x3f33cb;return _0x2095ac['replace'](_0x306c11(0x1de),_0x15010f);}[_0x3f33cb(0x1e1)](){var _0x547642=_0x3f33cb;this[_0x547642(0xbd)]-=0x1,this[_0x547642(0x217)]['next'](this['_waitCount']);}};Rt=Wn([pt(0x0,_0x289be2(_0x202828)),pt(0x1,_0x3594ab),pt(0x2,_0x289be2(_0x2366c1))],Rt);var zn=Object['getOwnPropertyDescriptor'],Jn=(_0x478fff,_0x158fb,_0x5db416,_0x3e7959)=>{var _0x5d8142=_0x3f33cb;for(var _0x57949d=_0x3e7959>0x1?void 0x0:_0x3e7959?zn(_0x158fb,_0x5db416):_0x158fb,_0x7850ea=_0x478fff[_0x5d8142(0x2f6)]-0x1,_0x21f65c;_0x7850ea>=0x0;_0x7850ea--)(_0x21f65c=_0x478fff[_0x7850ea])&&(_0x57949d=_0x21f65c(_0x57949d)||_0x57949d);return _0x57949d;},ai=(_0x5680a2,_0x5d7510)=>(_0x166ec4,_0x2530e5)=>_0x5d7510(_0x166ec4,_0x2530e5,_0x5680a2);const Xn=_0x3f33cb(0x14a);let Ot=class{constructor(_0x4e5025,_0x5ad879){var _0x51aaea=_0x3f33cb;this[_0x51aaea(0x27e)]=_0x4e5025,this[_0x51aaea(0x16a)]=_0x5ad879;}[_0x3f33cb(0x218)](){var _0x467ed6=_0x3f33cb,_0x181894;const _0x4149fd=this[_0x467ed6(0x27e)][_0x467ed6(0x1a4)](K);return(_0x181894=_0x4149fd==null?void 0x0:_0x4149fd[_0x467ed6(0x1cb)])!=null?_0x181894:Xn;}async[_0x3f33cb(0x106)](_0x2e3c1f){var _0x1c4624=_0x3f33cb;const _0x412531=this[_0x1c4624(0x218)]()+_0x1c4624(0x1d1);return{'list':[{'title':_0x1c4624(0x25e),'mentions':(await this['_HTTPService']['get'](_0x412531,{'params':{'objectID':_0x2e3c1f[_0x1c4624(0x136)],'unitID':_0x2e3c1f[_0x1c4624(0x136)]}}))[_0x1c4624(0x237)][_0x1c4624(0x309)]['map'](_0x4bcaa0=>({'objectId':_0x4bcaa0['id'],'name':_0x4bcaa0[_0x1c4624(0x252)][_0x1c4624(0x1b8)],'metadata':{'icon':_0x4bcaa0[_0x1c4624(0x252)][_0x1c4624(0x17b)]},'label':_0x4bcaa0['subject'][_0x1c4624(0x1b8)],'objectType':_0xdc7560['PERSON']})),'metadata':{},'type':_0xdc7560[_0x1c4624(0x26e)]}]};}};Ot=Jn([ai(0x0,_0x289be2(_0x3594ab)),ai(0x1,_0x289be2(_0x202828))],Ot);var Zn=Object['getOwnPropertyDescriptor'],Qn=(_0x493144,_0x41a597,_0x24f45b,_0x86f12b)=>{for(var _0x34c6b9=_0x86f12b>0x1?void 0x0:_0x86f12b?Zn(_0x41a597,_0x24f45b):_0x41a597,_0x147492=_0x493144['length']-0x1,_0x7e335e;_0x147492>=0x0;_0x147492--)(_0x7e335e=_0x493144[_0x147492])&&(_0x34c6b9=_0x7e335e(_0x34c6b9)||_0x34c6b9);return _0x34c6b9;},Ue=(_0x570140,_0x51e401)=>(_0x31bf16,_0x28d499)=>_0x51e401(_0x31bf16,_0x28d499,_0x570140);let ot=class extends _0x4447d4{constructor(_0x20edbc,_0x30988e,_0x5198bb,_0x36be33,_0x5e984f){var _0x5a74b4=_0x3f33cb;super(),this[_0x5a74b4(0xee)]=_0x20edbc,this[_0x5a74b4(0x198)]=_0x30988e,this[_0x5a74b4(0x355)]=_0x5198bb,this[_0x5a74b4(0x124)]=_0x36be33,this[_0x5a74b4(0x28e)]=_0x5e984f,this[_0x5a74b4(0xcf)](),this[_0x5a74b4(0xd6)]();}[_0x3f33cb(0xd6)](){var _0x129313=_0x3f33cb;const _0x4ba744=async _0xb8df9=>{var _0x4cc698=_0x2cdc;(await this['_collaborationSessionService'][_0x4cc698(0x215)](_0xb8df9))['event$'][_0x4cc698(0x2b6)](_0x27f22b(_0x46c43d=>_0x46c43d['eventID']===_0x7f38ce['SHOULD_CLOSE_CONN']),_0x314b69(this[_0x4cc698(0x2c0)]))[_0x4cc698(0xd2)](_0x2c9d33=>{var _0x3201ae=_0x4cc698;const _0x19eefb=_0x2c9d33,{reason:_0x48051b}=_0x19eefb[_0x3201ae(0x38e)];this[_0x3201ae(0x28e)][_0x3201ae(0xa0)]({'id':ne[_0x3201ae(0x2ac)],'data':_0x48051b}),this[_0x3201ae(0x355)][_0x3201ae(0x347)](new _0x158a74(_0xb8df9)['id'],!0x1),this[_0x3201ae(0x124)][_0x3201ae(0x378)](_0xb8df9);});};_0x3f4b1e(this['_univerInstanceService'][_0x129313(0x2e0)](_0x26aafa[_0x129313(0xce)]),this[_0x129313(0x198)][_0x129313(0x2e0)](_0x26aafa[_0x129313(0x387)]))[_0x129313(0x2b6)](_0x55fc2c(_0xc52b6a=>_0xc52b6a[_0x129313(0x324)]()),_0x27f22b(_0x61c05d=>!_0x5ad6a7(_0x61c05d)),_0x314b69(this[_0x129313(0x2c0)]))['subscribe'](_0x50d713=>{_0x4ba744(_0x50d713);});}[_0x3f33cb(0xcf)](){var _0x453dbe=_0x3f33cb;const _0x2b100f=async _0x1451d5=>{var _0x35bf60=_0x2cdc;const _0x15731d=await this[_0x35bf60(0x124)]['requireSession'](_0x1451d5),_0x28e3bc=this[_0x35bf60(0xee)][_0x35bf60(0x34f)](_0x4c96f0);_0x15731d[_0x35bf60(0x173)][_0x35bf60(0x2b6)](_0x27f22b(_0x6224a=>_0x6224a['eventID']===_0x7f38ce[_0x35bf60(0x332)]),_0x314b69(this[_0x35bf60(0x2c0)]))[_0x35bf60(0xd2)](_0x4d9251=>{var _0x521386=_0x35bf60;const _0x3ca150=_0x4d9251,{objectId:_0x3509ce}=_0x3ca150[_0x521386(0x38e)];_0x3509ce===_0x1451d5?_0x28e3bc[_0x521386(0x140)](_0x1451d5):_0x28e3bc['refreshPermission'](_0x1451d5,_0x3509ce);});};_0x3f4b1e(this[_0x453dbe(0x198)][_0x453dbe(0x2e0)](_0x26aafa[_0x453dbe(0xce)]))[_0x453dbe(0x2b6)](_0x55fc2c(_0x5e0a5d=>_0x5e0a5d[_0x453dbe(0x324)]()),_0x27f22b(_0x13f1c2=>!_0x5ad6a7(_0x13f1c2)),_0x314b69(this[_0x453dbe(0x2c0)]))[_0x453dbe(0xd2)](_0x57ca37=>{_0x2b100f(_0x57ca37);});}};ot=Qn([Ue(0x0,_0x289be2(_0x20dc98)),Ue(0x1,_0x2366c1),Ue(0x2,_0x1a3b09),Ue(0x3,_0x289be2(Pe)),Ue(0x4,_0x289be2(ve))],ot);var er=Object[_0x3f33cb(0x296)],tr=(_0x43c174,_0x261a13,_0x4c3eb2,_0x4fade7)=>{var _0x169eed=_0x3f33cb;for(var _0x4dc68b=_0x4fade7>0x1?void 0x0:_0x4fade7?er(_0x261a13,_0x4c3eb2):_0x261a13,_0x47c557=_0x43c174[_0x169eed(0x2f6)]-0x1,_0x3662b0;_0x47c557>=0x0;_0x47c557--)(_0x3662b0=_0x43c174[_0x47c557])&&(_0x4dc68b=_0x3662b0(_0x4dc68b)||_0x4dc68b);return _0x4dc68b;},oi=(_0x57e96e,_0x1e0d45)=>(_0x1c4a7a,_0x364ed3)=>_0x1e0d45(_0x1c4a7a,_0x364ed3,_0x57e96e);let bt=class{constructor(_0x38cc4c,_0x2fbadf){var _0x57eb56=_0x3f33cb;this['_configService']=_0x38cc4c,this[_0x57eb56(0x141)]=_0x2fbadf;}async['getUnitOnRev'](_0x512cbf,_0x3f0378){var _0x5139d8=_0x3f33cb,_0x56f23f;const {unitID:_0x5472c7,type:_0x3bd798,revision:_0x39514b=0x0}=_0x3f0378,_0x43fd3a=this['getSnapshotAPIPath']()+'/'+_0x3bd798+_0x5139d8(0x144)+_0x5472c7+_0x5139d8(0x9a)+_0x39514b,_0x5544e0=(await this[_0x5139d8(0x141)][_0x5139d8(0x34f)](_0x43fd3a))[_0x5139d8(0x237)],_0x11ec7d=(_0x56f23f=_0x5544e0[_0x5139d8(0x15f)])==null?void 0x0:_0x56f23f['workbook'];if(_0x11ec7d){const _0x1a6a44=_0x11ec7d==null?void 0x0:_0x11ec7d[_0x5139d8(0x36d)],_0x28ac33=_0x4925e3[_0x5139d8(0x25a)](_0x5d4d0d(_0x1a6a44));_0x11ec7d['originalMeta']=_0x28ac33,Object['entries'](_0x11ec7d[_0x5139d8(0x2ff)])[_0x5139d8(0x386)](([,_0x405410])=>{var _0x598bf2=_0x5139d8;const _0x4be670=_0x405410[_0x598bf2(0x36d)],_0x3e0587=_0x4925e3['encode'](_0x5d4d0d(_0x4be670));_0x405410[_0x598bf2(0x36d)]=_0x3e0587;});}return _0x5544e0;}async[_0x3f33cb(0x357)](_0x59635d,_0x5b4cfd){var _0x36bf30=_0x3f33cb;const {unitID:_0xc87145,type:_0x43c0e9,blockID:_0x1bb54a}=_0x5b4cfd,_0x4d5093=this[_0x36bf30(0x251)]()+'/'+_0x43c0e9+'/unit/'+_0xc87145+'/block/'+_0x1bb54a;return(await this[_0x36bf30(0x141)][_0x36bf30(0x34f)](_0x4d5093))[_0x36bf30(0x237)];}async[_0x3f33cb(0x338)](_0x54a728,_0x7189cd){var _0x528adb=_0x3f33cb;const {unitID:_0x33103b,type:_0x1a53c3,blockID:_0x4111c3}=_0x7189cd,_0xb9703a=this[_0x528adb(0x251)]()+_0x528adb(0x25b)+_0x1a53c3+'/unit/'+_0x33103b+_0x528adb(0x25b)+_0x4111c3;return(await this[_0x528adb(0x141)][_0x528adb(0x34f)](_0xb9703a))[_0x528adb(0x237)];}async[_0x3f33cb(0x264)](_0x5614e7,_0x30ccef){var _0x6c1965=_0x3f33cb;const {unitID:_0x13b93c,type:_0x1b33b1,from:_0x4de5c9,to:_0x577426}=_0x30ccef,_0x87ae69=this[_0x6c1965(0x251)]()+'/'+_0x1b33b1+_0x6c1965(0x144)+_0x13b93c+_0x6c1965(0x1c0)+_0x4de5c9+_0x6c1965(0xe3)+_0x577426;return(await this[_0x6c1965(0x141)]['get'](_0x87ae69))[_0x6c1965(0x237)];}[_0x3f33cb(0x31c)](){var _0x304350=_0x3f33cb,_0x31835b;return(_0x31835b=this[_0x304350(0x27e)]['getConfig'](vs))!=null?_0x31835b:this[_0x304350(0x251)]();}[_0x3f33cb(0x251)](){var _0x3ad8f3=_0x3f33cb,_0x460770;const _0x50ae3a=this['_configService']['getConfig'](K);return(_0x460770=_0x50ae3a==null?void 0x0:_0x50ae3a[_0x3ad8f3(0x2b2)])!=null?_0x460770:fs;}async['getResourcesRequest'](_0x1b50f8,_0x396203){var _0x2a329c=_0x3f33cb;const _0x481c84=_0x2a329c(0x207)+_0x396203[_0x2a329c(0x1c4)]+_0x2a329c(0x144)+_0x396203[_0x2a329c(0x27f)]+_0x2a329c(0x365);return(await this['_httpService'][_0x2a329c(0x34f)](_0x481c84,{'params':{'resourceId':JSON[_0x2a329c(0x1df)](_0x396203[_0x2a329c(0x1ab)])}}))[_0x2a329c(0x237)];}[_0x3f33cb(0x255)](){var _0x3f04bb=_0x3f33cb;throw new Error(_0x3f04bb(0x196));}[_0x3f33cb(0x30e)](){var _0x2e7941=_0x3f33cb;throw new Error(_0x2e7941(0x196));}[_0x3f33cb(0x291)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3f33cb(0x163)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3f33cb(0xc9)](){var _0x34dc6f=_0x3f33cb;throw new Error(_0x34dc6f(0x196));}[_0x3f33cb(0x1c1)](){var _0x2f4114=_0x3f33cb;throw new Error(_0x2f4114(0x196));}};bt=tr([oi(0x0,_0x3594ab),oi(0x1,_0x289be2(_0x202828))],bt);var ir=Object['getOwnPropertyDescriptor'],sr=(_0x4f71be,_0x2a29c1,_0x5a9e61,_0x188a6a)=>{var _0x29ee2d=_0x3f33cb;for(var _0x4a5c8c=_0x188a6a>0x1?void 0x0:_0x188a6a?ir(_0x2a29c1,_0x5a9e61):_0x2a29c1,_0x258cd5=_0x4f71be[_0x29ee2d(0x2f6)]-0x1,_0x22023a;_0x258cd5>=0x0;_0x258cd5--)(_0x22023a=_0x4f71be[_0x258cd5])&&(_0x4a5c8c=_0x22023a(_0x4a5c8c)||_0x4a5c8c);return _0x4a5c8c;},Ae=(_0x218c9b,_0x491cef)=>(_0x367704,_0x24ed78)=>_0x491cef(_0x367704,_0x24ed78,_0x218c9b);let yt=class extends _0x4a4674{constructor(_0x264dfa,_0x4264d6,_0x53071a,_0xdd4796,_0x7544c3){var _0x3c0917=_0x3f33cb;super(_0x264dfa,_0x4264d6,_0x53071a),this[_0x3c0917(0x21e)]=_0xdd4796,this[_0x3c0917(0x259)]=_0x7544c3;}[_0x3f33cb(0xa9)](_0x3eda85,_0x51b844){var _0x521e0d=_0x3f33cb;const _0x489e6d=this['_getUndoStack'](_0x3eda85);if(_0x489e6d)try{const _0x3a247d=this['_transformStack'](_0x489e6d,_0x51b844);this['_substituteUndoStack'](_0x3eda85,_0x3a247d);}catch(_0x27f577){this[_0x521e0d(0x259)]['error'](_0x521e0d(0x16e),_0x27f577),this[_0x521e0d(0x1c6)](_0x3eda85);}const _0x4d019=this[_0x521e0d(0x349)](_0x3eda85);if(_0x4d019)try{const _0x31ab24=this[_0x521e0d(0x12a)](_0x4d019,_0x51b844);this['_substituteRedoStack'](_0x3eda85,_0x31ab24);}catch(_0x170f58){this[_0x521e0d(0x259)][_0x521e0d(0x288)](_0x170f58),this[_0x521e0d(0x2ad)](_0x3eda85);}}[_0x3f33cb(0x1c6)](_0x131006){var _0x12212c=_0x3f33cb;const _0x53f708=this[_0x12212c(0x300)](_0x131006);_0x53f708&&(_0x53f708[_0x12212c(0x2f6)]=0x0,this['_updateStatus']());}[_0x3f33cb(0x2ad)](_0x15a65e){var _0xee5243=_0x3f33cb;const _0x2afacc=this[_0xee5243(0x349)](_0x15a65e);_0x2afacc&&(_0x2afacc[_0xee5243(0x2f6)]=0x0,this[_0xee5243(0x226)]());}[_0x3f33cb(0x9f)](_0x294d9e,_0x565264){this['_undoStacks']['set'](_0x294d9e,_0x565264),this['_updateStatus']();}[_0x3f33cb(0xc1)](_0x499465,_0x539536){var _0x1b6d6a=_0x3f33cb;this[_0x1b6d6a(0x1e5)][_0x1b6d6a(0x1e9)](_0x499465,_0x539536),this[_0x1b6d6a(0x226)]();}['_transformStack'](_0x5b8f42,_0x83668e){var _0x42c436=_0x3f33cb;const _0x2c7069=[];let _0x27e2bf=_0x83668e,_0x2ae962=_0x83668e;for(let _0x12aade=_0x5b8f42[_0x42c436(0x2f6)]-0x1;_0x12aade>=0x0;_0x12aade--){const {unitID:_0x221f8d,undoMutations:_0xce9f07,redoMutations:_0x238a0e}=_0x5b8f42[_0x12aade],_0x428b8e=this[_0x42c436(0x21e)][_0x42c436(0x1b5)](_0x27e2bf,_0xce9f07),_0x17e06c=this[_0x42c436(0x21e)]['transformMutationsWithChangeset'](_0x2ae962,_0x238a0e);if(_0x18adc8(_0x428b8e)||_0x18adc8(_0x17e06c)){this[_0x42c436(0x259)]['error'](_0x42c436(0x16e),_0x42c436(0x16b),_0x428b8e,_0x17e06c);break;}_0x27e2bf=_0x428b8e[_0x42c436(0x361)],_0x2ae962=_0x17e06c['c1Prime'],_0x2c7069['push']({'unitID':_0x221f8d,'undoMutations':_0x428b8e[_0x42c436(0x340)],'redoMutations':_0x17e06c[_0x42c436(0x340)]});}return _0x2c7069[_0x42c436(0xb8)]();}};yt=sr([Ae(0x0,_0x2366c1),Ae(0x1,_0x587c6c),Ae(0x2,_0x3a1521),Ae(0x3,_0x206be0),Ae(0x4,_0x575f9c)],yt);var nr=Object[_0x3f33cb(0x1b4)],rr=Object['getOwnPropertyDescriptor'],ar=(_0x3e0e4f,_0x484861,_0x41dd90)=>_0x484861 in _0x3e0e4f?nr(_0x3e0e4f,_0x484861,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x41dd90}):_0x3e0e4f[_0x484861]=_0x41dd90,or=(_0x217448,_0x5662e7,_0xe1866b,_0x57ce17)=>{var _0x141fe4=_0x3f33cb;for(var _0x409094=_0x57ce17>0x1?void 0x0:_0x57ce17?rr(_0x5662e7,_0xe1866b):_0x5662e7,_0x2bdc5e=_0x217448[_0x141fe4(0x2f6)]-0x1,_0x3b3cd6;_0x2bdc5e>=0x0;_0x2bdc5e--)(_0x3b3cd6=_0x217448[_0x2bdc5e])&&(_0x409094=_0x3b3cd6(_0x409094)||_0x409094);return _0x409094;},mt=(_0x3d540a,_0x5d4e7d)=>(_0x4c07bb,_0xfabebd)=>_0x5d4e7d(_0x4c07bb,_0xfabebd,_0x3d540a),cr=(_0x4ce4b7,_0x468c80,_0x230573)=>ar(_0x4ce4b7,_0x468c80+'',_0x230573);const hr=_0x3f33cb(0x2c9);let Nt=class extends _0xa33e9b{constructor(_0x5f1a35,_0x3fa6e4,_0x4f8d9d,_0x5df08f){var _0xa001bb=_0x3f33cb;super(),N(this,_0xa001bb(0x148)),(this[_0xa001bb(0x259)]=_0x3fa6e4,this['_injector']=_0x4f8d9d,this[_0xa001bb(0x27e)]=_0x5df08f);const {..._0x175293}=_0x1cbe41({},Os,_0x5f1a35);if(!_0x175293[_0xa001bb(0x2cf)])throw new Error(_0xa001bb(0x22a));this['_config']=_0x175293,this[_0xa001bb(0x27e)][_0xa001bb(0x213)](K,_0x175293);}[_0x3f33cb(0x235)](){var _0x132af5=_0x3f33cb;this[_0x132af5(0x161)](),this[_0x132af5(0x219)]();}[_0x3f33cb(0x161)](){var _0xe3fbe9=_0x3f33cb,_0x165a5f,_0x16deec;this[_0xe3fbe9(0xee)][_0xe3fbe9(0x2d5)](_0x1f5600)&&this['_logService'][_0xe3fbe9(0x288)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x3acbba=_0x3e21f6([[_0x1f5600,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[gi],[ot],[ve],[Ct],[mi,{'useClass':this[_0xe3fbe9(0x148)][_0xe3fbe9(0x2cf)]}],[_0x56f565,{'useClass':bt}],[_0x4ecd2c,{'useClass':Tt}],[_0x5c02e2,{'useClass':Rt}],[_0x1196e0,{'useClass':Ot}],[nt],[It]],(_0x165a5f=this[_0xe3fbe9(0x148)])==null?void 0x0:_0x165a5f[_0xe3fbe9(0xd1)]);if(!((_0x16deec=this[_0xe3fbe9(0x148)])!=null&&_0x16deec[_0xe3fbe9(0x14c)])){const _0x13de9a=_0x3acbba['findIndex'](([_0x3ea420])=>_0x3ea420===ht);_0x13de9a!==-0x1&&_0x3acbba['splice'](_0x13de9a,0x1);}_0x1086a2(this[_0xe3fbe9(0xee)],_0x3acbba);}[_0x3f33cb(0x219)](){var _0x352df0=_0x3f33cb,_0x15f83c,_0x1dc3d9,_0x2f2f4c;this[_0x352df0(0xee)][_0x352df0(0x34f)](_0x202828)[_0x352df0(0x381)]({'priority':0x14,'interceptor':_0x31cf31({'maxParallel':0x6})}),(_0x15f83c=this[_0x352df0(0x148)])!=null&&_0x15f83c['enableOfflineEditing']||(_0x1dc3d9=this[_0x352df0(0xee)][_0x352df0(0x34f)](J,_0x2a7a98[_0x352df0(0x177)]))==null||_0x1dc3d9['disableLocalCache'](),(_0x2f2f4c=this[_0x352df0(0x148)])!=null&&_0x2f2f4c[_0x352df0(0x26c)]&&_0xcecd63(this[_0x352df0(0xee)],[[rt]]),_0xcecd63(this['_injector'],[[at],[nt],[ot]]);}};cr(Nt,_0x3f33cb(0x2bb),hr),Nt=or([_0x1cf966(_0x30f392,_0x17a102),mt(0x1,_0x575f9c),mt(0x2,_0x289be2(_0x20dc98)),mt(0x3,_0x3594ab)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Ft as CollaborationSocketService,Ii as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,gi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,mi as ICollaborationSocketService,J as ILocalCacheService,bs as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Si as UnitStatus,Nt as UniverCollaborationClientPlugin,ys as deserializeToCombResponse,br as getLocalCacheKey,Ns as serializeCombRequest};
|
1
|
+
var _0x46936e=_0x1209;(function(_0x4bae5e,_0x3b5f35){var _0x1c74ec=_0x1209,_0xa970be=_0x4bae5e();while(!![]){try{var _0x35abad=parseInt(_0x1c74ec(0x46e))/0x1*(-parseInt(_0x1c74ec(0x32a))/0x2)+parseInt(_0x1c74ec(0x219))/0x3*(-parseInt(_0x1c74ec(0x335))/0x4)+parseInt(_0x1c74ec(0x2b9))/0x5*(parseInt(_0x1c74ec(0x413))/0x6)+-parseInt(_0x1c74ec(0x341))/0x7+parseInt(_0x1c74ec(0x39e))/0x8*(parseInt(_0x1c74ec(0x2ff))/0x9)+-parseInt(_0x1c74ec(0x3d3))/0xa+parseInt(_0x1c74ec(0x368))/0xb;if(_0x35abad===_0x3b5f35)break;else _0xa970be['push'](_0xa970be['shift']());}catch(_0x2934a5){_0xa970be['push'](_0xa970be['shift']());}}}(_0x1d40,0xc24ed));var yi=Object['defineProperty'],Ni=(_0x3f79e8,_0x941809,_0x3be6e4)=>_0x941809 in _0x3f79e8?yi(_0x3f79e8,_0x941809,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3be6e4}):_0x3f79e8[_0x941809]=_0x3be6e4,N=(_0x183025,_0x4b42be,_0x253fcc)=>Ni(_0x183025,typeof _0x4b42be!='symbol'?_0x4b42be+'':_0x4b42be,_0x253fcc);import{createIdentifier as _0x4876b4,Inject as _0x27e9d5,Injector as _0x494ce2,IConfigService as _0x446d9d,ILogService as _0xf70a07,Disposable as _0x5ef422,DisposableCollection as _0x1b6f00,toDisposable as _0x37ea53,IUniverInstanceService as _0x3b6ba3,UserManagerService as _0x42e41b,UniverInstanceType as _0x4c148b,Optional as _0x4eeaca,RxDisposable as _0x15d826,Tools as _0x293f71,Rectangle as _0x4258d9,ICommandService as _0x4e232a,JSONX as _0x121e67,CommandType as _0x2bd96a,IUndoRedoService as _0x578288,IPermissionService as _0x4e46fc,LocaleService as _0x4c8329,sequenceExecute as _0x5b69f1,Workbook as _0x1a45fd,generateRandomId as _0x3d565d,MentionType as _0x404abb,isInternalEditorID as _0x283877,LocalUndoRedoService as _0xdc545d,IContextService as _0x2753c9,DependentOn as _0x2b92a6,Plugin as _0x1fbe76,merge as _0x56514b,mergeOverrideWithDependencies as _0x13c688,IAuthzIoService as _0xeb52a3,IMentionIOService as _0x605439,registerDependencies as _0x71606d,Quantity as _0x46563a,touchDependencies as _0x1ae9ad}from'@univerjs/core';import{Subject as _0x525fb2,merge as _0x48987d,of as _0x35e492,BehaviorSubject as _0x149e59,takeUntil as _0x2cbdae,ReplaySubject as _0x242cc4,take as _0x161f89,map as _0x107eaa,shareReplay as _0x5df6ff,firstValueFrom as _0x472943,concatMap as _0x193738}from'rxjs';import{map as _0x20f9ca,take as _0x23a78c,filter as _0xd13671,delay as _0x5f5949,takeUntil as _0x3b92c3}from'rxjs/operators';import{CollaborationEvent as _0x5d6c64,ISnapshotServerService as _0x29cd15,parseChangesetToProtocol as _0x59c998,ITransformService as _0x50166a,isTransformMutationsWithChangesetSuccess as _0x2d2658,mapDocumentTypeToUniverType as _0x5a9713,RevisionService as _0x52c859,isTransformChangesetsSuccess as _0x485575,CompressMutationService as _0x310443,parseProtocolChangeset as _0x3487bb,uuidv4 as _0x437dfe,SnapshotService as _0x3a7a8e,textEncoder as _0x241deb,b64DecodeUnicode as _0x270b1b,isTransformMutationsWithChangesetFailure as _0x18bfe9,UniverCollaborationPlugin as _0x4ffd7a}from'@univerjs-pro/collaboration';import{HTTPService as _0x421754,ISocketService as _0x4c4480,MergeInterceptorFactory as _0xcda7b6,HTTPRequest as _0x5a6173,UniverNetworkPlugin as _0x2b6269,ThresholdInterceptorFactory as _0x22088c}from'@univerjs/network';import{ITelemetryService as _0x4f814b}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3f8c1b}from'@univerjs/docs';import{SheetsSelectionsService as _0x1ad722,SetSelectionsOperation as _0x2a9678,InsertSheetMutation as _0x4e9abd,EmptyMutation as _0x537289,WorkbookEditablePermission as _0x2434c5,SheetPermissionInitController as _0x408722}from'@univerjs/sheets';import{ImageSourceType as _0x2935a1,ImageUploadStatusType as _0xb2d43d,IImageIoService as _0x136255}from'@univerjs/drawing';import{getGlobalObject as _0x3c8b05}from'@univerjs-pro/license';const fs='/universer-api/snapshot',vs=_0x46936e(0x405),ps=0x7d0,ms=_0x46936e(0x2bd),Ir='/universer-api/user/session-ticket',gs='HEARTBEAT_INTERVAL',Ss=0x7530,di=_0x46936e(0x214),fi=0x4e20,Es=0x4e20,Is='RETRY_CONNECTING_MAX_COUNT',Ts=0x3,Tr=_0x46936e(0x2b7),Cr=0x3e8,Cs=_0x46936e(0x441),Rs=_0x46936e(0x3f9),Rr=_0x46936e(0x1fe),Or=_0x46936e(0x3a7);var vi=(_0x3329bb=>(_0x3329bb[_0x3329bb[_0x46936e(0x2bb)]=0x0]=_0x46936e(0x2bb),_0x3329bb[_0x3329bb['OK']=0x1]='OK',_0x3329bb[_0x3329bb[_0x46936e(0x46b)]=0x2]=_0x46936e(0x46b),_0x3329bb[_0x3329bb[_0x46936e(0x3cd)]=0x3]=_0x46936e(0x3cd),_0x3329bb[_0x3329bb[_0x46936e(0x2b6)]=0x4]='NOT_FOUND',_0x3329bb[_0x3329bb[_0x46936e(0x35f)]=0x5]='UNAUTHENTICATED',_0x3329bb[_0x3329bb[_0x46936e(0x38a)]=0x6]=_0x46936e(0x38a),_0x3329bb[_0x3329bb[_0x46936e(0x212)]=0x7]=_0x46936e(0x212),_0x3329bb[_0x3329bb['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x3329bb[_0x3329bb[_0x46936e(0x23b)]=0x9]=_0x46936e(0x23b),_0x3329bb[_0x3329bb[_0x46936e(0x469)]=0xa]=_0x46936e(0x469),_0x3329bb[_0x3329bb[_0x46936e(0x29c)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3329bb[_0x3329bb[_0x46936e(0x22e)]=0xc]=_0x46936e(0x22e),_0x3329bb[_0x3329bb[_0x46936e(0x2a8)]=0xd]=_0x46936e(0x2a8),_0x3329bb[_0x3329bb[_0x46936e(0x33a)]=0xe]=_0x46936e(0x33a),_0x3329bb[_0x3329bb['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x46936e(0x322),_0x3329bb[_0x3329bb[_0x46936e(0x25b)]=0x1771]=_0x46936e(0x25b),_0x3329bb[_0x3329bb[_0x46936e(0x1bd)]=0x1772]=_0x46936e(0x1bd),_0x3329bb[_0x3329bb[_0x46936e(0x1b4)]=0x1773]=_0x46936e(0x1b4),_0x3329bb[_0x3329bb[_0x46936e(0x350)]=0x1b59]=_0x46936e(0x350),_0x3329bb[_0x3329bb['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x46936e(0x359),_0x3329bb[_0x3329bb[_0x46936e(0x3d7)]=0x1b5b]=_0x46936e(0x3d7),_0x3329bb[_0x3329bb[_0x46936e(0x2f1)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3329bb[_0x3329bb[_0x46936e(0x19a)]=0x1b5d]=_0x46936e(0x19a),_0x3329bb[_0x3329bb[_0x46936e(0x372)]=0x1f41]=_0x46936e(0x372),_0x3329bb[_0x3329bb[_0x46936e(0x278)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3329bb[_0x3329bb['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x46936e(0x355),_0x3329bb[_0x3329bb['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3329bb[_0x3329bb[_0x46936e(0x42d)]=0x232c]=_0x46936e(0x42d),_0x3329bb[_0x3329bb[_0x46936e(0x2ee)]=0x232d]=_0x46936e(0x2ee),_0x3329bb[_0x3329bb['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x46936e(0x2fe),_0x3329bb[_0x3329bb[_0x46936e(0x3c9)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3329bb[_0x3329bb[_0x46936e(0x459)]=0x2713]=_0x46936e(0x459),_0x3329bb[_0x3329bb[_0x46936e(0x204)]=0x2714]=_0x46936e(0x204),_0x3329bb[_0x3329bb[_0x46936e(0x1cc)]=0x271a]=_0x46936e(0x1cc),_0x3329bb[_0x3329bb[_0x46936e(0x284)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x3329bb[_0x3329bb['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x46936e(0x481),_0x3329bb[_0x3329bb[_0x46936e(0x2da)]=0x271d]=_0x46936e(0x2da),_0x3329bb[_0x3329bb[_0x46936e(0x33e)]=0x271e]=_0x46936e(0x33e),_0x3329bb[_0x3329bb['YUUMI_AI_RUN_FAILED']=0x271f]=_0x46936e(0x48e),_0x3329bb[_0x3329bb[_0x46936e(0x35c)]=0x2720]=_0x46936e(0x35c),_0x3329bb[_0x3329bb[_0x46936e(0x22b)]=0x2af9]=_0x46936e(0x22b),_0x3329bb[_0x3329bb[_0x46936e(0x2c4)]=0x2ee1]=_0x46936e(0x2c4),_0x3329bb[_0x3329bb['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x3329bb[_0x3329bb[_0x46936e(0x306)]=0x2ee3]=_0x46936e(0x306),_0x3329bb[_0x3329bb[_0x46936e(0x40d)]=0x2ee4]=_0x46936e(0x40d),_0x3329bb[_0x3329bb[_0x46936e(0x45a)]=0x2ee5]=_0x46936e(0x45a),_0x3329bb[_0x3329bb[_0x46936e(0x21d)]=0x32c9]=_0x46936e(0x21d),_0x3329bb[_0x3329bb[_0x46936e(0x314)]=0x32ca]=_0x46936e(0x314),_0x3329bb[_0x3329bb[_0x46936e(0x1af)]=0x32cb]=_0x46936e(0x1af),_0x3329bb[_0x3329bb[_0x46936e(0x2d6)]=-0x1]=_0x46936e(0x2d6),_0x3329bb))(vi||{}),Z=(_0x41af3b=>(_0x41af3b[_0x41af3b[_0x46936e(0x425)]=0x0]=_0x46936e(0x425),_0x41af3b[_0x41af3b[_0x46936e(0x34a)]=0x1]='UNIVER_DOC',_0x41af3b[_0x41af3b[_0x46936e(0x307)]=0x2]=_0x46936e(0x307),_0x41af3b[_0x41af3b['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x41af3b[_0x41af3b['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x41af3b[_0x41af3b[_0x46936e(0x2d6)]=-0x1]=_0x46936e(0x2d6),_0x41af3b))(Z||{}),F=(_0x53c0ce=>(_0x53c0ce[_0x53c0ce[_0x46936e(0x3ce)]=0x0]=_0x46936e(0x3ce),_0x53c0ce[_0x53c0ce[_0x46936e(0x1de)]=0x1]=_0x46936e(0x1de),_0x53c0ce[_0x53c0ce[_0x46936e(0x417)]=0x2]=_0x46936e(0x417),_0x53c0ce[_0x53c0ce[_0x46936e(0x3a9)]=0x3]='LEAVE',_0x53c0ce[_0x53c0ce['INGEST']=0x4]=_0x46936e(0x215),_0x53c0ce[_0x53c0ce[_0x46936e(0x3d2)]=0x5]=_0x46936e(0x3d2),_0x53c0ce[_0x53c0ce['RECV']=0x6]=_0x46936e(0x2f9),_0x53c0ce[_0x53c0ce[_0x46936e(0x2d6)]=-0x1]=_0x46936e(0x2d6),_0x53c0ce))(F||{}),pe=(_0x94d91b=>(_0x94d91b[_0x94d91b[_0x46936e(0x299)]=0x0]=_0x46936e(0x299),_0x94d91b[_0x94d91b['OK']=0x1]='OK',_0x94d91b[_0x94d91b[_0x46936e(0x281)]=0x2]=_0x46936e(0x281),_0x94d91b[_0x94d91b[_0x46936e(0x1db)]=0x3e9]=_0x46936e(0x1db),_0x94d91b[_0x94d91b[_0x46936e(0x2ab)]=0x3ea]=_0x46936e(0x2ab),_0x94d91b[_0x94d91b[_0x46936e(0x2d0)]=0x3eb]=_0x46936e(0x2d0),_0x94d91b[_0x94d91b[_0x46936e(0x22d)]=0x3ec]=_0x46936e(0x22d),_0x94d91b[_0x94d91b[_0x46936e(0x2d6)]=-0x1]=_0x46936e(0x2d6),_0x94d91b))(pe||{}),pi=(_0x1ecbe1=>(_0x1ecbe1[_0x1ecbe1[_0x46936e(0x347)]=0x0]=_0x46936e(0x347),_0x1ecbe1[_0x1ecbe1[_0x46936e(0x2ea)]=0x1]='HttpImport',_0x1ecbe1[_0x1ecbe1[_0x46936e(0x318)]=0x2]=_0x46936e(0x318),_0x1ecbe1[_0x1ecbe1['UnitEmbedded']=0x3]=_0x46936e(0x394),_0x1ecbe1[_0x1ecbe1[_0x46936e(0x2cb)]=0x4]='UnitSnapshot',_0x1ecbe1[_0x1ecbe1['UserProfileImg']=0x5]='UserProfileImg',_0x1ecbe1[_0x1ecbe1[_0x46936e(0x2d6)]=-0x1]=_0x46936e(0x2d6),_0x1ecbe1))(pi||{});const K=_0x46936e(0x346),Os={};var ne=(_0x57d5f5=>(_0x57d5f5['OTHER_CLIENT_EDITING']=_0x46936e(0x31a),_0x57d5f5[_0x46936e(0x3cd)]=_0x46936e(0x3cd),_0x57d5f5[_0x46936e(0x374)]=_0x46936e(0x374),_0x57d5f5['CLOSE_ROOM']='CLOSE_ROOM',_0x57d5f5[_0x46936e(0x297)]=_0x46936e(0x297),_0x57d5f5[_0x46936e(0x2a9)]=_0x46936e(0x2a9),_0x57d5f5[_0x46936e(0x29f)]=_0x46936e(0x29f),_0x57d5f5[_0x46936e(0x24b)]='SUBMIT_CHANGESET_TIMEOUT',_0x57d5f5))(ne||{});class ve{constructor(){var _0x5de246=_0x46936e;N(this,_0x5de246(0x1e3),new _0x525fb2()),N(this,_0x5de246(0x40b),this['_event$']['asObservable']());}[_0x46936e(0x283)](_0xca4bf8){var _0x12db86=_0x46936e;this[_0x12db86(0x1e3)][_0x12db86(0x1d5)](_0xca4bf8);}}const bs=_0x4876b4('univer-pro.collaboration-client.network-condition.service');function ys(_0x15e46e){var _0x18f3ce=_0x46936e,_0x8c61c,_0xc23160,_0x1997b2,_0x56e484,_0x4c470d;const _0x311413=_0x15e46e[_0x18f3ce(0x32e)],_0x17de54=JSON['parse'](_0x311413);switch(_0x17de54[_0x18f3ce(0x31d)]){case F[_0x18f3ce(0x3d2)]:case F[_0x18f3ce(0x1de)]:{const _0x55a61b=_0x17de54[_0x18f3ce(0x490)];return{..._0x17de54,'data':_0x55a61b,'cmd':_0x17de54['cmd']};}case F[_0x18f3ce(0x417)]:{const _0x165685=_0x17de54[_0x18f3ce(0x265)];return{..._0x17de54,'data':_0x165685,'cmd':_0x17de54[_0x18f3ce(0x31d)]};}case F[_0x18f3ce(0x2f9)]:{const _0x3139ee=_0x17de54['collaMsg'];switch(_0x3139ee['eventID']){case _0x5d6c64[_0x18f3ce(0x230)]:return{..._0x17de54,'data':{..._0x3139ee,'data':(_0x8c61c=_0x3139ee['permissionRejEvent'])==null?void 0x0:_0x8c61c['cs']},'cmd':_0x17de54['cmd']};case _0x5d6c64['CHANGESET_ACK']:return{..._0x17de54,'data':{..._0x3139ee,'data':(_0xc23160=_0x3139ee['csAckEvent'])==null?void 0x0:_0xc23160['cs']},'cmd':_0x17de54[_0x18f3ce(0x31d)]};case _0x5d6c64['NEW_CHANGESETS']:return{..._0x17de54,'data':{..._0x3139ee,'data':(_0x1997b2=_0x3139ee[_0x18f3ce(0x36c)])==null?void 0x0:_0x1997b2['cs']},'cmd':_0x17de54[_0x18f3ce(0x31d)]};case _0x5d6c64['CHANGESET_REJ']:return{..._0x17de54,'data':{..._0x3139ee,'data':(_0x56e484=_0x3139ee[_0x18f3ce(0x3b9)])==null?void 0x0:_0x56e484['cs']},'cmd':_0x17de54[_0x18f3ce(0x31d)]};case _0x5d6c64[_0x18f3ce(0x3c3)]:return{..._0x17de54,'data':{..._0x3139ee,'data':(_0x4c470d=_0x3139ee[_0x18f3ce(0x348)])==null?void 0x0:_0x4c470d['cs']},'cmd':_0x17de54[_0x18f3ce(0x31d)]};case _0x5d6c64[_0x18f3ce(0x342)]:return{..._0x17de54,'data':{..._0x3139ee,'data':_0x3139ee[_0x18f3ce(0x2e6)]},'cmd':_0x17de54[_0x18f3ce(0x31d)]};case _0x5d6c64['USERS_ENTER']:return{..._0x17de54,'data':{..._0x3139ee,'data':_0x3139ee[_0x18f3ce(0x20c)]},'cmd':_0x17de54['cmd']};case _0x5d6c64[_0x18f3ce(0x387)]:return{..._0x17de54,'data':{..._0x3139ee,'data':_0x3139ee[_0x18f3ce(0x3ab)]},'cmd':_0x17de54['cmd']};case _0x5d6c64[_0x18f3ce(0x2de)]:return{..._0x17de54,'data':{..._0x3139ee,'data':_0x3139ee['liveShareNewHost']},'cmd':_0x17de54[_0x18f3ce(0x31d)]};case _0x5d6c64['LIVESHARE_FETCH_OPERATIONS']:case _0x5d6c64[_0x18f3ce(0x456)]:return{..._0x17de54,'data':{..._0x3139ee,'data':_0x3139ee[_0x18f3ce(0x25c)]},'cmd':_0x17de54[_0x18f3ce(0x31d)]};case _0x5d6c64[_0x18f3ce(0x2f8)]:return{..._0x17de54,'data':{..._0x3139ee,'data':_0x3139ee[_0x18f3ce(0x27c)]},'cmd':_0x17de54['cmd']};case _0x5d6c64[_0x18f3ce(0x1d7)]:return{..._0x17de54,'data':_0x3139ee,'cmd':_0x17de54[_0x18f3ce(0x31d)]};case _0x5d6c64[_0x18f3ce(0x3d5)]:return{..._0x17de54,'data':{..._0x3139ee,'data':_0x3139ee[_0x18f3ce(0x482)]},'cmd':_0x17de54[_0x18f3ce(0x31d)]};case _0x5d6c64[_0x18f3ce(0x311)]:return{..._0x17de54,'data':{..._0x3139ee,'data':_0x3139ee['updatePermissionObjEvent']},'cmd':_0x17de54[_0x18f3ce(0x31d)]};case _0x5d6c64[_0x18f3ce(0x3fb)]:return{..._0x17de54,'data':{..._0x3139ee,'data':_0x3139ee[_0x18f3ce(0x241)]},'cmd':_0x17de54['cmd']};case _0x5d6c64['UNISCRIPT_RUN']:return{..._0x17de54,'data':{..._0x3139ee,'data':_0x3139ee[_0x18f3ce(0x28f)]},'cmd':_0x17de54[_0x18f3ce(0x31d)]};default:return _0x17de54;}}default:return _0x17de54;}}function Ns(_0x1ba97b){var _0x9833a6=_0x46936e;switch(_0x1ba97b[_0x9833a6(0x31d)]){case F[_0x9833a6(0x3d2)]:case F[_0x9833a6(0x1de)]:return JSON[_0x9833a6(0x27f)]({'cmd':_0x1ba97b[_0x9833a6(0x31d)],'routeKey':_0x1ba97b[_0x9833a6(0x23f)]});case F[_0x9833a6(0x215)]:{let _0x37510f;switch(_0x1ba97b[_0x9833a6(0x32e)]['eventID']){case _0x5d6c64[_0x9833a6(0x342)]:{_0x37510f={'eventID':_0x5d6c64[_0x9833a6(0x342)],'updateCursorEvent':_0x1ba97b[_0x9833a6(0x32e)][_0x9833a6(0x32e)]};break;}case _0x5d6c64['USERS_LEAVE']:{_0x37510f={'eventID':_0x5d6c64[_0x9833a6(0x387)],'leaveEvent':_0x1ba97b['data'][_0x9833a6(0x32e)]};break;}case _0x5d6c64[_0x9833a6(0x282)]:{_0x37510f={'eventID':_0x5d6c64['USERS_ENTER'],'joinEvent':_0x1ba97b[_0x9833a6(0x32e)][_0x9833a6(0x32e)]};break;}case _0x5d6c64[_0x9833a6(0x2de)]:{_0x37510f={'eventID':_0x5d6c64['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x1ba97b[_0x9833a6(0x32e)][_0x9833a6(0x32e)]};break;}case _0x5d6c64[_0x9833a6(0x456)]:{_0x37510f={'eventID':_0x5d6c64[_0x9833a6(0x456)],'liveShareOperation':_0x1ba97b[_0x9833a6(0x32e)][_0x9833a6(0x32e)]};break;}case _0x5d6c64[_0x9833a6(0x2f8)]:{_0x37510f={'eventID':_0x5d6c64['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x1ba97b[_0x9833a6(0x32e)][_0x9833a6(0x32e)]};break;}case _0x5d6c64[_0x9833a6(0x37d)]:{_0x37510f={'eventID':_0x5d6c64[_0x9833a6(0x37d)],'liveShareRequestHost':_0x1ba97b[_0x9833a6(0x32e)][_0x9833a6(0x32e)]};break;}case _0x5d6c64[_0x9833a6(0x45b)]:{_0x37510f={'eventID':_0x5d6c64[_0x9833a6(0x45b)]};break;}default:_0x37510f={'eventID':_0x1ba97b['data'][_0x9833a6(0x2b4)]};}return JSON[_0x9833a6(0x27f)]({'cmd':_0x1ba97b[_0x9833a6(0x31d)],'routeKey':_0x1ba97b['routeKey'],'collaMsg':_0x37510f});}case F[_0x9833a6(0x417)]:return JSON[_0x9833a6(0x27f)]({'cmd':_0x1ba97b[_0x9833a6(0x31d)],'routeKey':_0x1ba97b[_0x9833a6(0x23f)],'joinReq':_0x1ba97b[_0x9833a6(0x32e)]});case F['LEAVE']:return JSON[_0x9833a6(0x27f)]({'cmd':_0x1ba97b[_0x9833a6(0x31d)],'routeKey':_0x1ba97b['routeKey'],'leaveReq':_0x1ba97b[_0x9833a6(0x32e)]});default:throw new Error(_0x9833a6(0x2ad));}}var Ds=Object[_0x46936e(0x2c3)],Us=(_0x77088d,_0x54d369,_0x3788b0,_0x12be75)=>{for(var _0x19c13c=_0x12be75>0x1?void 0x0:_0x12be75?Ds(_0x54d369,_0x3788b0):_0x54d369,_0x56ab73=_0x77088d['length']-0x1,_0xf379dc;_0x56ab73>=0x0;_0x56ab73--)(_0xf379dc=_0x77088d[_0x56ab73])&&(_0x19c13c=_0xf379dc(_0x19c13c)||_0x19c13c);return _0x19c13c;},De=(_0xa054e1,_0x31c698)=>(_0x4ad19d,_0x1bc4cc)=>_0x31c698(_0x4ad19d,_0x1bc4cc,_0xa054e1);const mi=_0x4876b4(_0x46936e(0x1a5));function As(_0x1fb5ad,_0x2d1c3f,_0x5b43d5){var _0x34d439=_0x46936e;return _0x1fb5ad+'/'+_0x2d1c3f+_0x34d439(0x2a4)+_0x5b43d5+_0x34d439(0x1cf);}let Ft=class extends _0x5ef422{constructor(_0x1abc18,_0x4f95fa,_0x4855e1,_0x2ec208,_0x11a278){var _0x26be62=_0x46936e;super(),this[_0x26be62(0x448)]=_0x1abc18,this['_httpService']=_0x4f95fa,this[_0x26be62(0x2bf)]=_0x4855e1,this[_0x26be62(0x1ce)]=_0x2ec208,this['_snapshotServerService']=_0x11a278;}[_0x46936e(0x452)](_0x545cb6){var _0x4dd3dd=_0x46936e;const _0x61d3b3=this[_0x4dd3dd(0x448)][_0x4dd3dd(0x2c6)](_0x4c4480);if(!_0x61d3b3)throw new Error(_0x4dd3dd(0x446));const _0x4f5823=_0x61d3b3[_0x4dd3dd(0x3f4)](_0x545cb6);if(!_0x4f5823)throw new Error(_0x4dd3dd(0x485));const _0x5d782d=new _0x1b6f00(),_0x4ddab1=new _0x525fb2();_0x5d782d[_0x4dd3dd(0x1a1)](_0x4f5823[_0x4dd3dd(0x436)]['subscribe'](_0x54e073=>_0x4ddab1[_0x4dd3dd(0x1d5)](_0x54e073))),_0x5d782d[_0x4dd3dd(0x1a1)](_0x37ea53(()=>_0x4ddab1[_0x4dd3dd(0x300)]()));const _0x570c5b=new _0x525fb2();_0x5d782d[_0x4dd3dd(0x1a1)](_0x4f5823[_0x4dd3dd(0x320)][_0x4dd3dd(0x2e5)](_0x2ff257=>_0x570c5b[_0x4dd3dd(0x1d5)](_0x2ff257))),_0x5d782d[_0x4dd3dd(0x1a1)](_0x37ea53(()=>_0x570c5b[_0x4dd3dd(0x300)]()));const _0x52d281=new _0x525fb2();_0x5d782d[_0x4dd3dd(0x1a1)](_0x4f5823[_0x4dd3dd(0x367)]['subscribe'](_0x56c333=>{var _0x575532=_0x4dd3dd;const _0x5500b6=ys(_0x56c333);_0x52d281[_0x575532(0x1d5)](_0x5500b6);})),_0x5d782d[_0x4dd3dd(0x1a1)](_0x37ea53(()=>_0x52d281[_0x4dd3dd(0x300)]()));let _0xde7f87;const _0x6a6aa8=()=>{var _0x1bdc13=_0x4dd3dd;_0x570c5b['next'](new Event('connection\x20error')),_0x4ddab1['next'](new Event('connection\x20error')),_0xde7f87[_0x1bdc13(0x227)]();};return _0xde7f87={'memberID':'','close$':_0x4ddab1[_0x4dd3dd(0x19d)](),'error$':_0x570c5b[_0x4dd3dd(0x19d)](),'open$':_0x4f5823[_0x4dd3dd(0x351)],'message$':_0x52d281[_0x4dd3dd(0x19d)](),'send':_0xbc144d=>{var _0x19e8bd=_0x4dd3dd;if(_0xbc144d[_0x19e8bd(0x31d)]===F[_0x19e8bd(0x215)]){if(_0xbc144d[_0x19e8bd(0x32e)][_0x19e8bd(0x2b4)]===_0x5d6c64[_0x19e8bd(0x1e1)]){this[_0x19e8bd(0x27a)](_0xde7f87,_0xbc144d[_0x19e8bd(0x32e)])[_0x19e8bd(0x2dc)](_0x4d2336=>{var _0x4c9ba4=_0x19e8bd;this[_0x4c9ba4(0x1ce)][_0x4c9ba4(0x337)](_0x4d2336),_0x6a6aa8();});return;}if(_0xbc144d[_0x19e8bd(0x32e)][_0x19e8bd(0x2b4)]===_0x5d6c64[_0x19e8bd(0x3d8)]){const _0x4b9491=_0xbc144d[_0x19e8bd(0x32e)];this['_fetchMissChangesets'](_0x4b9491)[_0x19e8bd(0x326)](_0x511068=>{var _0x4ccae8=_0x19e8bd;_0x52d281[_0x4ccae8(0x1d5)]({'cmd':F[_0x4ccae8(0x2f9)],'code':pe['OK'],'routeKey':_0x4b9491[_0x4ccae8(0x32e)][_0x4ccae8(0x40e)],'routeType':'','data':{'eventID':_0x5d6c64['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x511068}}});})[_0x19e8bd(0x2dc)](_0x402439=>{this['_logService']['error'](_0x402439),_0x6a6aa8();});return;}}_0x4f5823[_0x19e8bd(0x1a0)](Ns(_0xbc144d));},'close':()=>{var _0xa46da0=_0x4dd3dd;_0x4f5823[_0xa46da0(0x227)](),_0x5d782d['dispose']();}},_0xde7f87;}async[_0x46936e(0x27a)](_0x48de96,_0x1d1e4a){var _0x59f820=_0x46936e,_0x1fc255;const {unitType:_0x45698c,unitID:_0x3328f8,changeset:_0x5803d4}=_0x1d1e4a[_0x59f820(0x32e)],_0x43a7a1={'unitID':_0x3328f8,'memberID':_0x48de96['memberID'],'type':_0x45698c,'changeset':_0x59c998(_0x5803d4)},_0x209d11=this[_0x59f820(0x2bf)]['getConfig'](K),_0x5e688a=As((_0x1fc255=_0x209d11==null?void 0x0:_0x209d11['collabSubmitChangesetUrl'])!=null?_0x1fc255:Cs,_0x45698c,_0x3328f8);try{await this['_httpService'][_0x59f820(0x3e5)](_0x5e688a,{'body':_0x43a7a1});}catch(_0x2d1724){throw this[_0x59f820(0x1ce)][_0x59f820(0x337)](_0x59f820(0x2d9),'submit\x20changeset\x20error!'),_0x2d1724;}}async[_0x46936e(0x1d6)](_0x101695){var _0x49a7ad=_0x46936e;const {unitID:_0x5a4559,from:_0x5beae8,to:_0x3ab8ba,unitType:_0x5a410a}=_0x101695[_0x49a7ad(0x32e)];return(await this[_0x49a7ad(0x1ab)][_0x49a7ad(0x1f9)]({'metadata':void 0x0},{'unitID':_0x5a4559,'type':_0x5a410a,'from':_0x5beae8,'to':_0x3ab8ba}))['changesets'];}};Ft=Us([De(0x0,_0x27e9d5(_0x494ce2)),De(0x1,_0x27e9d5(_0x421754)),De(0x2,_0x446d9d),De(0x3,_0xf70a07),De(0x4,_0x29cd15)],Ft);const ws='collaboration_new_changeset';function Ps(_0x536fdf){var _0x3097f0=_0x46936e;return JSON[_0x3097f0(0x27f)](_0x536fdf)[_0x3097f0(0x303)];}class gi{constructor(){var _0x3df156=_0x46936e;N(this,_0x3df156(0x3f3),new _0x525fb2()),N(this,'commentUpdate$',this[_0x3df156(0x3f3)][_0x3df156(0x19d)]());}[_0x46936e(0x3e9)](_0x4c170c){this['_commentUpdate$']['next'](_0x4c170c);}}var Ms=Object[_0x46936e(0x2c3)],Ls=(_0x578ae2,_0x3ef7e2,_0x5edc5c,_0x43d166)=>{var _0x1bffaa=_0x46936e;for(var _0x42401c=_0x43d166>0x1?void 0x0:_0x43d166?Ms(_0x3ef7e2,_0x5edc5c):_0x3ef7e2,_0x4bd0f9=_0x578ae2[_0x1bffaa(0x303)]-0x1,_0x73e9c4;_0x4bd0f9>=0x0;_0x4bd0f9--)(_0x73e9c4=_0x578ae2[_0x4bd0f9])&&(_0x42401c=_0x73e9c4(_0x42401c)||_0x42401c);return _0x42401c;},Vt=(_0x24384f,_0x55ea7c)=>(_0x492537,_0x4f0944)=>_0x55ea7c(_0x492537,_0x4f0944,_0x24384f);let we=class extends _0x5ef422{constructor(_0x3fd05d,_0x22d9ba){var _0x1c4a36=_0x46936e;super(),N(this,_0x1c4a36(0x433),new Map()),N(this,_0x1c4a36(0x1be),new _0x525fb2()),(this['_univerInstanceService']=_0x3fd05d,this[_0x1c4a36(0x44f)]=_0x22d9ba,this[_0x1c4a36(0x2bc)](_0x48987d(this['_univerInstanceService'][_0x1c4a36(0x317)](_0x4c148b[_0x1c4a36(0x307)])[_0x1c4a36(0x2b1)](_0x20f9ca(_0x14d6cd=>_0x14d6cd[_0x1c4a36(0x28b)]())),this[_0x1c4a36(0x43b)][_0x1c4a36(0x317)](_0x4c148b['UNIVER_DOC'])[_0x1c4a36(0x2b1)](_0x20f9ca(_0x46664e=>_0x46664e[_0x1c4a36(0x28b)]())),this[_0x1c4a36(0x43b)][_0x1c4a36(0x317)](_0x4c148b['UNIVER_SLIDE'])['pipe'](_0x20f9ca(_0x797c9e=>_0x797c9e[_0x1c4a36(0x28b)]())))[_0x1c4a36(0x2e5)](_0x36f49d=>this[_0x1c4a36(0x235)](_0x36f49d))));}[_0x46936e(0x2d4)](_0x30d815){var _0x3f4152=_0x46936e;return this[_0x3f4152(0x433)][_0x3f4152(0x24c)](_0x30d815)?_0x35e492(this[_0x3f4152(0x433)]['get'](_0x30d815)):this[_0x3f4152(0x1be)]['pipe'](_0x20f9ca(_0x48af22=>{var _0x14ee1d=_0x3f4152;if(_0x48af22===_0x30d815)return this[_0x14ee1d(0x433)][_0x14ee1d(0x2c6)](_0x48af22);}));}[_0x46936e(0x397)](_0x32d87c){var _0x4fbebf=_0x46936e;this[_0x4fbebf(0x44f)][_0x4fbebf(0x397)](_0x32d87c);}[_0x46936e(0x200)](){var _0x5a7a68=_0x46936e;return this['_userManagerService'][_0x5a7a68(0x200)]();}['updateMember'](_0x5d9568,_0x35422c){var _0x1b119f=_0x46936e;let _0x444d63=this['_roomMembers']['get'](_0x5d9568);_0x444d63||(_0x444d63=new xs(),this[_0x1b119f(0x433)][_0x1b119f(0x21c)](_0x5d9568,_0x444d63),this[_0x1b119f(0x1be)][_0x1b119f(0x1d5)](_0x5d9568)),_0x444d63[_0x1b119f(0x28e)](_0x35422c);}['removeMember'](_0x418ba1,_0x4bc07a){var _0x50a6b0=_0x46936e;const _0x289a7d=this[_0x50a6b0(0x433)][_0x50a6b0(0x2c6)](_0x418ba1);_0x289a7d&&_0x289a7d[_0x50a6b0(0x36b)](_0x4bc07a);}['getRoom'](_0xb2f463){var _0x3dc59c=_0x46936e;return this[_0x3dc59c(0x433)][_0x3dc59c(0x2c6)](_0xb2f463);}[_0x46936e(0x2fd)](_0x4772de,_0x29e639){var _0x4c9644=_0x46936e;const _0x5a756e=this[_0x4c9644(0x433)][_0x4c9644(0x2c6)](_0x4772de);if(_0x5a756e)return _0x5a756e[_0x4c9644(0x2fd)](_0x29e639);}[_0x46936e(0x235)](_0x3fccb0){var _0x7b15ac=_0x46936e;const _0x10b137=this[_0x7b15ac(0x433)]['get'](_0x3fccb0);_0x10b137&&(_0x10b137[_0x7b15ac(0x291)](),this['_roomMembers'][_0x7b15ac(0x323)](_0x3fccb0));}[_0x46936e(0x291)](){var _0x4cbad8=_0x46936e;this['_roomMembers'][_0x4cbad8(0x3cc)](_0x2b0b61=>_0x2b0b61[_0x4cbad8(0x291)]()),this['_roomMembers'][_0x4cbad8(0x2cd)](),this[_0x4cbad8(0x1be)][_0x4cbad8(0x300)]();}};we=Ls([Vt(0x0,_0x3b6ba3),Vt(0x1,_0x27e9d5(_0x42e41b))],we);class xs extends _0x5ef422{constructor(){var _0x1c0d57=_0x46936e;super(...arguments),N(this,_0x1c0d57(0x414),new Map()),N(this,_0x1c0d57(0x19e),new _0x149e59(this['_members'])),N(this,'members$',this['_members$'][_0x1c0d57(0x19d)]());}['dispose'](){var _0x36aac1=_0x46936e;this[_0x36aac1(0x414)][_0x36aac1(0x2cd)]();}[_0x46936e(0x28e)](_0x650fef){var _0x1eb1ea=_0x46936e;this[_0x1eb1ea(0x414)]['set'](_0x650fef['memberID'],_0x650fef),this[_0x1eb1ea(0x223)]();}[_0x46936e(0x36b)](_0x1829f2){var _0x138ca6=_0x46936e;this[_0x138ca6(0x414)]['delete'](_0x1829f2);}[_0x46936e(0x2fd)](_0xb6444d){var _0x2f766e=_0x46936e;return this[_0x2f766e(0x414)][_0x2f766e(0x2c6)](_0xb6444d);}[_0x46936e(0x3e1)](){var _0x6012f8=_0x46936e;return Array[_0x6012f8(0x343)](this[_0x6012f8(0x414)]['values']());}[_0x46936e(0x223)](){var _0x31ff50=_0x46936e;this['_members$']['next'](this[_0x31ff50(0x414)]);}}var ks=Object['getOwnPropertyDescriptor'],$s=(_0x495780,_0x33d437,_0xe94010,_0x287ec8)=>{for(var _0x1a3920=_0x287ec8>0x1?void 0x0:_0x287ec8?ks(_0x33d437,_0xe94010):_0x33d437,_0x2d8554=_0x495780['length']-0x1,_0x1ca384;_0x2d8554>=0x0;_0x2d8554--)(_0x1ca384=_0x495780[_0x2d8554])&&(_0x1a3920=_0x1ca384(_0x1a3920)||_0x1a3920);return _0x1a3920;},Ce=(_0x39b4b3,_0x44dd49)=>(_0x51312e,_0x5188dc)=>_0x44dd49(_0x51312e,_0x5188dc,_0x39b4b3),ge=(_0x28fba7=>(_0x28fba7[_0x28fba7[_0x46936e(0x429)]=0x0]=_0x46936e(0x429),_0x28fba7[_0x28fba7[_0x46936e(0x434)]=0x1]=_0x46936e(0x434),_0x28fba7[_0x28fba7[_0x46936e(0x36d)]=0x2]=_0x46936e(0x36d),_0x28fba7[_0x28fba7[_0x46936e(0x3ac)]=0x3]=_0x46936e(0x3ac),_0x28fba7))(ge||{});const Wt={[pe['FAIL']]:_0x46936e(0x224),[pe[_0x46936e(0x1db)]]:_0x46936e(0x2e1),[pe[_0x46936e(0x2ab)]]:_0x46936e(0x30a),[pe[_0x46936e(0x2d0)]]:_0x46936e(0x36f),[pe['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};let gt=class extends _0x15d826{constructor(_0x22dc35,_0x24d817,_0x2fb65e,_0x54a1a2,_0x57a4c5,_0x1fc3be,_0x2b29c7,_0x46d9c4){var _0x31d1a5=_0x46936e;super(),N(this,'_sessionStatus$',new _0x149e59(0x0)),N(this,'sessionStatus$',this[_0x31d1a5(0x308)][_0x31d1a5(0x19d)]()),N(this,_0x31d1a5(0x1e3),new _0x525fb2()),N(this,_0x31d1a5(0x40b),this['_event$'][_0x31d1a5(0x19d)]()),N(this,_0x31d1a5(0x3e7)),N(this,_0x31d1a5(0x26a)),N(this,'_collaborationTimeoutTimer'),N(this,_0x31d1a5(0x2e0),!0x1),N(this,_0x31d1a5(0x1a2),null),(this[_0x31d1a5(0x216)]=_0x22dc35,this[_0x31d1a5(0x1ce)]=_0x2fb65e,this[_0x31d1a5(0x2bf)]=_0x54a1a2,this['_memberService']=_0x57a4c5,this[_0x31d1a5(0x3bb)]=_0x1fc3be,this[_0x31d1a5(0x479)]=_0x2b29c7,this[_0x31d1a5(0x353)]=_0x46d9c4,this[_0x31d1a5(0x2e0)]=!!this['_telemetryService'],_0x24d817[_0x31d1a5(0x2b1)](_0x2cbdae(this['dispose$']))[_0x31d1a5(0x2e5)](_0x52d20b=>{var _0xff2d3c=_0x31d1a5,_0x406b24;typeof _0x52d20b>'u'||(this[_0xff2d3c(0x3e7)]=_0x52d20b,_0x52d20b?(this[_0xff2d3c(0x3cf)](_0x52d20b),this['_socketMessageSubscription']=_0x52d20b[_0xff2d3c(0x367)][_0xff2d3c(0x2e5)](_0x4be27a=>{_0x4be27a['routeKey']===this['_unitID']&&this['_onCombEvent'](_0x4be27a);})):(this[_0xff2d3c(0x3d9)](),this[_0xff2d3c(0x308)]['next'](0x2),(_0x406b24=this[_0xff2d3c(0x26a)])==null||_0x406b24[_0xff2d3c(0x43d)](),this['_socketMessageSubscription']=null));}));}get[_0x46936e(0x247)](){var _0x846d40=_0x46936e;return this[_0x846d40(0x308)][_0x846d40(0x403)]();}[_0x46936e(0x29e)](){var _0x20b92e=_0x46936e,_0x5a6059,_0x1c8d77;return(_0x1c8d77=(_0x5a6059=this[_0x20b92e(0x3e7)])==null?void 0x0:_0x5a6059[_0x20b92e(0x3a3)])!=null?_0x1c8d77:null;}['dispose'](){var _0x345a6e=_0x46936e;super[_0x345a6e(0x291)](),this[_0x345a6e(0x361)][_0x345a6e(0x1d5)](),this[_0x345a6e(0x361)][_0x345a6e(0x300)]();}[_0x46936e(0x227)](){var _0x598b0a=_0x46936e,_0x3845b1,_0x47484b;this[_0x598b0a(0x3d9)](),(_0x3845b1=this['_socket'])==null||_0x3845b1[_0x598b0a(0x1a0)]({'cmd':F[_0x598b0a(0x3a9)],'data':{'roomID':this[_0x598b0a(0x216)]}}),(_0x47484b=this[_0x598b0a(0x3e7)])==null||_0x47484b[_0x598b0a(0x227)](),this[_0x598b0a(0x1e3)][_0x598b0a(0x300)](),this['_sessionStatus$'][_0x598b0a(0x300)](),this['dispose']();}[_0x46936e(0x371)](_0x21e679){var _0x5a6b93=_0x46936e;_0x21e679[_0x5a6b93(0x31d)]===F[_0x5a6b93(0x417)]?this['_onJoinRoomEvent'](_0x21e679):_0x21e679[_0x5a6b93(0x31d)]===F[_0x5a6b93(0x2f9)]&&this[_0x5a6b93(0x228)](_0x21e679);}[_0x46936e(0x3cf)](_0x2b0ddb){var _0x2877be=_0x46936e;this[_0x2877be(0x308)][_0x2877be(0x1d5)](0x1),_0x2b0ddb[_0x2877be(0x1a0)]({'cmd':F[_0x2877be(0x417)],'routeKey':this[_0x2877be(0x216)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x268130){var _0x10f27e=_0x46936e,_0x424a28;if(_0x268130[_0x10f27e(0x1d9)]in Wt){this[_0x10f27e(0x479)][_0x10f27e(0x283)]({'id':ne[_0x10f27e(0x297)],'data':Wt[_0x268130[_0x10f27e(0x1d9)]]}),this[_0x10f27e(0x308)][_0x10f27e(0x1d5)](0x2);return;}this[_0x10f27e(0x308)][_0x10f27e(0x1d5)](0x3);const _0x19733b=(_0x424a28=_0x268130['data'][_0x10f27e(0x2e9)][this[_0x10f27e(0x216)]])==null?void 0x0:_0x424a28[_0x10f27e(0x25d)];_0x19733b&&_0x19733b[_0x10f27e(0x3cc)](_0x478364=>this[_0x10f27e(0x471)][_0x10f27e(0x28e)](this['_unitID'],_0x478364));}['_onRecvEvent'](_0xf49d7f){var _0x45eb78=_0x46936e;try{const _0x297978=_0xf49d7f[_0x45eb78(0x32e)];switch(_0x297978[_0x45eb78(0x2b4)]){case _0x5d6c64[_0x45eb78(0x282)]:this['_onUserJoin'](_0x297978),this[_0x45eb78(0x1e3)][_0x45eb78(0x1d5)](_0x297978);break;case _0x5d6c64[_0x45eb78(0x387)]:this[_0x45eb78(0x2d8)](_0x297978),this['_event$'][_0x45eb78(0x1d5)](_0x297978);break;case _0x5d6c64[_0x45eb78(0x252)]:case _0x5d6c64[_0x45eb78(0x3c3)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x45eb78(0x27b)](),this[_0x45eb78(0x1e3)][_0x45eb78(0x1d5)](_0x297978);break;case _0x5d6c64[_0x45eb78(0x1d7)]:this['_logService'][_0x45eb78(0x337)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x297978)),this[_0x45eb78(0x1e3)][_0x45eb78(0x1d5)](_0x297978);break;case _0x5d6c64[_0x45eb78(0x3d5)]:this['_commentService']['onCommentUpdate'](_0x297978[_0x45eb78(0x32e)]),this[_0x45eb78(0x1e3)][_0x45eb78(0x1d5)](_0x297978);break;default:this[_0x45eb78(0x1e3)]['next'](_0x297978);}}catch(_0x37d746){this[_0x45eb78(0x1ce)]['error'](_0x37d746,_0xf49d7f);}}['_onUserJoin'](_0xfa1781){var _0x1d72aa=_0x46936e;this['_memberService'][_0x1d72aa(0x28e)](this[_0x1d72aa(0x216)],_0xfa1781[_0x1d72aa(0x32e)]);}[_0x46936e(0x2d8)](_0x2cc83d){var _0x3798f1=_0x46936e;this[_0x3798f1(0x471)][_0x3798f1(0x36b)](this[_0x3798f1(0x216)],_0x2cc83d[_0x3798f1(0x32e)][_0x3798f1(0x3a3)]);}async['send'](_0x58c000,_0x267b6c){var _0xa36812=_0x46936e;if(this['sessionStatus']!==0x3||!this[_0xa36812(0x3e7)])throw new Error(_0xa36812(0x233));try{_0x58c000[_0xa36812(0x2b4)]===_0x5d6c64[_0xa36812(0x1e1)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x58c000)),this[_0xa36812(0x3e7)][_0xa36812(0x1a0)]({'cmd':F[_0xa36812(0x215)],'routeKey':_0x267b6c,'routeType':'','data':_0x58c000});}catch(_0x2d2a96){this[_0xa36812(0x1ce)][_0xa36812(0x337)](_0x2d2a96);}}[_0x46936e(0x2cc)](){var _0x59e1b9=_0x46936e,_0x183137;this[_0x59e1b9(0x1e6)]=setTimeout(()=>{var _0x1a1323=_0x59e1b9;this[_0x1a1323(0x1e6)]=null,this[_0x1a1323(0x479)][_0x1a1323(0x283)]({'id':ne[_0x1a1323(0x24b)]});},(_0x183137=this[_0x59e1b9(0x2bf)]['getConfig'](di))!=null?_0x183137:fi);}[_0x46936e(0x27b)](){var _0x3a70c3=_0x46936e;this[_0x3a70c3(0x1e6)]&&(clearTimeout(this[_0x3a70c3(0x1e6)]),this[_0x3a70c3(0x1e6)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x3258bc){var _0x5822cd=_0x46936e;if(!this[_0x5822cd(0x2e0)])return;const {data:_0x2f08e8}=_0x3258bc,{unitID:_0x316407,changeset:_0x4ab853}=_0x2f08e8,{mutations:_0x2bbc39,type:_0x54f23f}=_0x4ab853;this[_0x5822cd(0x1a2)]={'unitId':_0x316407,'type':_0x54f23f,'startTime':performance[_0x5822cd(0x42c)](),'stopTime':0x0,'duration':0x0,'size':Ps(_0x2bbc39)};}[_0x46936e(0x2aa)](){var _0xf98b36=_0x46936e;if(this[_0xf98b36(0x2e0)]){if(!this[_0xf98b36(0x1a2)]){this[_0xf98b36(0x1ce)]['error'](_0xf98b36(0x2d9),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0xf98b36(0x32f)]=performance['now'](),this[_0xf98b36(0x1a2)][_0xf98b36(0x1df)]=this[_0xf98b36(0x1a2)][_0xf98b36(0x32f)]-this[_0xf98b36(0x1a2)]['startTime'],this['_telemetryService']['capture'](ws,this[_0xf98b36(0x1a2)]),this[_0xf98b36(0x1a2)]=null;}}[_0x46936e(0x3d9)](){var _0x45411f=_0x46936e;this[_0x45411f(0x1a2)]=null;}};gt=$s([Ce(0x2,_0xf70a07),Ce(0x3,_0x446d9d),Ce(0x4,_0x27e9d5(we)),Ce(0x5,_0x27e9d5(gi)),Ce(0x6,_0x27e9d5(ve)),Ce(0x7,_0x4eeaca(_0x4f814b))],gt);var Hs=Object[_0x46936e(0x2c3)],Bs=(_0x49fd78,_0x578ab6,_0x218775,_0x296709)=>{var _0x2cc346=_0x46936e;for(var _0x4e6345=_0x296709>0x1?void 0x0:_0x296709?Hs(_0x578ab6,_0x218775):_0x578ab6,_0x235b83=_0x49fd78[_0x2cc346(0x303)]-0x1,_0x33ee01;_0x235b83>=0x0;_0x235b83--)(_0x33ee01=_0x49fd78[_0x235b83])&&(_0x4e6345=_0x33ee01(_0x4e6345)||_0x4e6345);return _0x4e6345;},Re=(_0x142487,_0x51e233)=>(_0x5eaf7a,_0x41aca1)=>_0x51e233(_0x5eaf7a,_0x41aca1,_0x142487);let Pe=class extends _0x5ef422{constructor(_0x1bd8cc,_0x52dabb,_0x36801a,_0x4c3ff7,_0x14e6f3,_0x35b0b3){var _0x3a65e3=_0x46936e;super(),N(this,_0x3a65e3(0x2f4),new _0x149e59(void 0x0)),N(this,_0x3a65e3(0x35e),this[_0x3a65e3(0x2f4)][_0x3a65e3(0x19d)]()),N(this,_0x3a65e3(0x34f),null),N(this,_0x3a65e3(0x1ee),new Map()),N(this,_0x3a65e3(0x298),new _0x149e59(ge[_0x3a65e3(0x429)])),N(this,'status$',this[_0x3a65e3(0x298)][_0x3a65e3(0x19d)]()),N(this,_0x3a65e3(0x238),!0x1),N(this,_0x3a65e3(0x412)),N(this,'_retryCount',0x0),N(this,_0x3a65e3(0x331)),N(this,_0x3a65e3(0x3ad)),(this[_0x3a65e3(0x448)]=_0x1bd8cc,this[_0x3a65e3(0x1ce)]=_0x52dabb,this['_configService']=_0x36801a,this[_0x3a65e3(0x1ca)]=_0x4c3ff7,this[_0x3a65e3(0x479)]=_0x14e6f3,this[_0x3a65e3(0x264)]=_0x35b0b3,this[_0x3a65e3(0x483)]());}get[_0x46936e(0x3e7)](){var _0x1999e0=_0x46936e;return this['_socket$'][_0x1999e0(0x403)]();}['_listenToNetworkCondition'](){var _0xf7fc9f=_0x46936e;this[_0xf7fc9f(0x264)]&&this[_0xf7fc9f(0x2bc)](this[_0xf7fc9f(0x264)][_0xf7fc9f(0x3f5)]['subscribe'](_0x41232d=>{var _0x33abf4=_0xf7fc9f;_0x41232d&&!this[_0x33abf4(0x3e7)]&&this[_0x33abf4(0x3dd)](),_0x41232d||this[_0x33abf4(0x294)]();}));}[_0x46936e(0x291)](){var _0x1a9f83=_0x46936e;super[_0x1a9f83(0x291)](),this[_0x1a9f83(0x301)](),this[_0x1a9f83(0x37e)](),this[_0x1a9f83(0x20a)](),this['_sessions'][_0x1a9f83(0x3cc)](_0x5376a8=>_0x5376a8['dispose']()),this['_sessions']['clear'](),this['_status$'][_0x1a9f83(0x300)]();}async[_0x46936e(0x46c)](_0xbe8741){var _0x305956=_0x46936e;if(this['_sessions'][_0x305956(0x24c)](_0xbe8741))return this[_0x305956(0x1ee)][_0x305956(0x2c6)](_0xbe8741);this[_0x305956(0x19b)]();const _0x350820=this[_0x305956(0x448)][_0x305956(0x30d)](gt,_0xbe8741,this[_0x305956(0x2f4)][_0x305956(0x19d)]());return this[_0x305956(0x1ee)][_0x305956(0x21c)](_0xbe8741,_0x350820),_0x350820;}[_0x46936e(0x424)](_0x215285){var _0xfb0cdb=_0x46936e,_0x28459f;const _0x5796b3=this[_0xfb0cdb(0x1ee)][_0xfb0cdb(0x2c6)](_0x215285);_0x5796b3&&(this[_0xfb0cdb(0x1ee)][_0xfb0cdb(0x323)](_0x215285),_0x5796b3[_0xfb0cdb(0x227)]()),this[_0xfb0cdb(0x1ee)][_0xfb0cdb(0x407)]||(_0x28459f=this['_socket'])==null||_0x28459f['close']();}[_0x46936e(0x3dd)](){var _0x4f004b=_0x46936e;this[_0x4f004b(0x34b)]=0x0,this[_0x4f004b(0x301)](),this['_tryReconnect']();}[_0x46936e(0x301)](){var _0x2a8ee7=_0x46936e;this[_0x2a8ee7(0x412)]!=null&&(clearTimeout(this[_0x2a8ee7(0x412)]),this[_0x2a8ee7(0x412)]=null);}async[_0x46936e(0x202)](){var _0x552f54=_0x46936e,_0x30d1d9;const _0x1ac8ca=this[_0x552f54(0x2bf)][_0x552f54(0x3f6)](K),_0x1ece17=(_0x30d1d9=_0x1ac8ca==null?void 0x0:_0x1ac8ca[_0x552f54(0x408)])!=null?_0x30d1d9:ms,_0x1f31f5=await this[_0x552f54(0x1ca)][_0x552f54(0x3f4)](_0x1ece17);return this[_0x552f54(0x34f)]=_0x1f31f5,_0x1f31f5;}async[_0x46936e(0x19b)](){var _0x57bbc0=_0x46936e,_0x56f7cc,_0x1b9d0e;try{const _0x201b47=(_0x1b9d0e=(_0x56f7cc=this[_0x57bbc0(0x3e7)])!=null?_0x56f7cc:this[_0x57bbc0(0x34f)])!=null?_0x1b9d0e:await this[_0x57bbc0(0x202)]();if(_0x201b47){const _0x562fa0=_0x201b47['send'];_0x201b47[_0x57bbc0(0x1a0)]=_0x576ed3=>(this['_rescheduleHeartbeat'](),_0x562fa0['apply'](_0x201b47,[_0x576ed3])),_0x201b47['message$'][_0x57bbc0(0x2e5)](_0x53c833=>this[_0x57bbc0(0x47c)](_0x201b47,_0x53c833)),_0x201b47['error$'][_0x57bbc0(0x2b1)](_0x23a78c(0x1))[_0x57bbc0(0x2e5)](_0xf933db=>this[_0x57bbc0(0x1ce)][_0x57bbc0(0x337)](_0x57bbc0(0x38d),_0xf933db)),_0x201b47[_0x57bbc0(0x351)][_0x57bbc0(0x2b1)](_0x23a78c(0x1))[_0x57bbc0(0x2e5)](()=>{var _0x3276cd=_0x57bbc0;this[_0x3276cd(0x325)](_0x201b47);}),_0x201b47[_0x57bbc0(0x436)][_0x57bbc0(0x2b1)](_0x23a78c(0x1))['subscribe'](_0x1be54f=>{var _0x4584d3=_0x57bbc0;this['_logService'][_0x4584d3(0x3d4)](_0x4584d3(0x1d3),_0x4584d3(0x1c2),_0x1be54f),this[_0x4584d3(0x274)]();});}}catch(_0x18d2dc){this[_0x57bbc0(0x1ce)]['error'](_0x18d2dc),this['_onConnectionFailed']();}}[_0x46936e(0x325)](_0x83cbee){var _0x26586e=_0x46936e;this[_0x26586e(0x1ce)][_0x26586e(0x3d4)](_0x26586e(0x1d3),_0x26586e(0x30f)),_0x83cbee[_0x26586e(0x1a0)]({'cmd':F[_0x26586e(0x1de)]}),this[_0x26586e(0x19c)]();}['_onOffline'](){var _0x393a97=_0x46936e;this[_0x393a97(0x238)]=!0x1,this['_candidateSocket']=null,this['_status$'][_0x393a97(0x1d5)](ge[_0x393a97(0x36d)]),this[_0x393a97(0x2f4)]['next'](null),this['_clearTimeoutTimer'](),this[_0x393a97(0x20a)]();}['_onConnectionFailed'](){var _0x19ead0=_0x46936e,_0x2c3114;this['_onOffline'](),this[_0x19ead0(0x34b)]<((_0x2c3114=this['_configService'][_0x19ead0(0x3f6)](Is))!=null?_0x2c3114:Ts)?(this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x19ead0(0x2a9)]}),this[_0x19ead0(0x472)]()):this[_0x19ead0(0x479)][_0x19ead0(0x283)]({'id':ne[_0x19ead0(0x29f)]});}[_0x46936e(0x472)](){var _0x5519ad=_0x46936e,_0xacd02;const _0x2849d3=this['_retryCount'],_0x42bd2c=this[_0x5519ad(0x2bf)]['getConfig'](K),_0x5e1dd8=_0x2849d3===0x0?0x0:((_0xacd02=_0x42bd2c==null?void 0x0:_0x42bd2c['retryConnectingInterval'])!=null?_0xacd02:Es)*0x2**_0x2849d3;this[_0x5519ad(0x412)]=setTimeout(()=>{var _0x1079a3=_0x5519ad;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x1079a3(0x19b)]();},_0x5e1dd8),this[_0x5519ad(0x34b)]+=0x1;}['_onMessage'](_0x2a1286,_0x429cc8){var _0x30f022=_0x46936e;const {cmd:_0x46d7b0}=_0x429cc8;_0x46d7b0===F[_0x30f022(0x1de)]&&!this[_0x30f022(0x238)]&&(_0x2a1286['memberID']=_0x429cc8['data'][_0x30f022(0x3a3)],this[_0x30f022(0x2f4)][_0x30f022(0x1d5)](_0x2a1286),this[_0x30f022(0x298)]['next'](ge[_0x30f022(0x3ac)]),this[_0x30f022(0x238)]=!0x0,this['_candidateSocket']=null),_0x46d7b0===F[_0x30f022(0x3d2)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x46936e(0x19c)](){var _0xcff22f=_0x46936e,_0x174c29;this[_0xcff22f(0x20a)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x174c29=this[_0xcff22f(0x2bf)][_0xcff22f(0x3f6)](gs))!=null?_0x174c29:Ss);}[_0x46936e(0x2e4)](){var _0x336648=_0x46936e;this[_0x336648(0x3e7)][_0x336648(0x1a0)]({'cmd':F[_0x336648(0x3d2)]}),this[_0x336648(0x33d)]();}[_0x46936e(0x33d)](){var _0x56572d=_0x46936e,_0x171218;this[_0x56572d(0x3ad)]=setTimeout(()=>this[_0x56572d(0x274)](),(_0x171218=this[_0x56572d(0x2bf)][_0x56572d(0x3f6)](di))!=null?_0x171218:fi);}[_0x46936e(0x20a)](){var _0x52281f=_0x46936e;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x52281f(0x331)]),this[_0x52281f(0x331)]=null);}[_0x46936e(0x37e)](){var _0x4e9604=_0x46936e;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x4e9604(0x3ad)]=null);}};Pe=Bs([Re(0x0,_0x27e9d5(_0x494ce2)),Re(0x1,_0xf70a07),Re(0x2,_0x446d9d),Re(0x3,mi),Re(0x4,_0x27e9d5(ve)),Re(0x5,_0x4eeaca(bs))],Pe);const J=_0x4876b4(_0x46936e(0x2a6));function br(_0x2f9132){var _0x14bc91=_0x46936e;return _0x14bc91(0x3d6)+_0x2f9132;}var js=Object['getOwnPropertyDescriptor'],Fs=(_0xb51e8d,_0x5bb652,_0x4d513d,_0x122116)=>{var _0x4aa2ed=_0x46936e;for(var _0x2f3c9f=_0x122116>0x1?void 0x0:_0x122116?js(_0x5bb652,_0x4d513d):_0x5bb652,_0xe024b2=_0xb51e8d[_0x4aa2ed(0x303)]-0x1,_0x114d5c;_0xe024b2>=0x0;_0xe024b2--)(_0x114d5c=_0xb51e8d[_0xe024b2])&&(_0x2f3c9f=_0x114d5c(_0x2f3c9f)||_0x2f3c9f);return _0x2f3c9f;},ut=(_0x1c0e0d,_0x586d4f)=>(_0x210a9c,_0x5cb8f5)=>_0x586d4f(_0x210a9c,_0x5cb8f5,_0x1c0e0d);function Vs(_0x16f296){const {unitID:_0x481438,mutations:_0x23bbe9}=_0x16f296;return{'unitId':_0x481438,'subUnitId':_0x23bbe9[0x0]['params']['subUnitId']};}let it=class{constructor(_0x639915,_0x337f65,_0x538b9e){var _0x281683=_0x46936e;this['_injector']=_0x639915,this[_0x281683(0x20f)]=_0x337f65,this[_0x281683(0x3a2)]=_0x538b9e;}[_0x46936e(0x273)](_0x2b2797){var _0x3ca2a8=_0x46936e,_0x190369,_0x47d6b4,_0x385d67,_0x274727;const _0x453a63=this['_injector'][_0x3ca2a8(0x2c6)](_0x1ad722),{unitId:_0x5360de,subUnitId:_0x13cc78}=Vs(_0x2b2797),_0x80d2ed=_0x453a63==null?void 0x0:_0x453a63[_0x3ca2a8(0x41b)](_0x5360de)[_0x3ca2a8(0x463)](),_0x5bc414=(_0x47d6b4=(_0x190369=this[_0x3ca2a8(0x3a2)]['getUnit'](_0x5360de))==null?void 0x0:_0x190369[_0x3ca2a8(0x3da)]())==null?void 0x0:_0x47d6b4[_0x3ca2a8(0x270)]();if(_0x80d2ed[_0x3ca2a8(0x303)]===0x0||!_0x5360de||!_0x13cc78)return;const _0x3a623d=[{'id':_0x2a9678['id'],'params':{'unitId':_0x5360de,'subUnitId':_0x5bc414,'selections':_0x293f71[_0x3ca2a8(0x356)](_0x80d2ed)}}],_0x425d04=this['_transformService'][_0x3ca2a8(0x1c5)](_0x2b2797,_0x3a623d);if(!_0x2d2658(_0x425d04))throw _0x425d04['error'];const _0x543756=(_0x274727=(_0x385d67=_0x425d04['m2Prime'][0x0])==null?void 0x0:_0x385d67[_0x3ca2a8(0x1c3)])==null?void 0x0:_0x274727[_0x3ca2a8(0x391)];if(Array[_0x3ca2a8(0x45e)](_0x543756)&&_0x543756[_0x3ca2a8(0x303)]){if(_0x543756[_0x3ca2a8(0x303)]===_0x3a623d[0x0][_0x3ca2a8(0x1c3)][_0x3ca2a8(0x391)][_0x3ca2a8(0x303)]&&_0x543756[_0x3ca2a8(0x1c8)]((_0x23cbea,_0x113f7b)=>_0x4258d9[_0x3ca2a8(0x1f3)](_0x23cbea['range'],_0x3a623d[0x0][_0x3ca2a8(0x1c3)][_0x3ca2a8(0x391)][_0x113f7b]['range'])))return;this[_0x3ca2a8(0x448)][_0x3ca2a8(0x2c6)](_0x4e232a)['executeCommand'](_0x2a9678['id'],{'unitId':_0x5360de,'subUnitId':_0x5bc414,'selections':_0x543756});}}};it=Fs([ut(0x0,_0x27e9d5(_0x494ce2)),ut(0x1,_0x50166a),ut(0x2,_0x3b6ba3)],it);const ht=_0x4876b4(_0x46936e(0x384));var Si=(_0x421857=>(_0x421857[_0x421857[_0x46936e(0x3cb)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x421857[_0x421857['OTHER_CLIENTS_EDITING']=0x1]=_0x46936e(0x2ef),_0x421857))(Si||{});const Ws=new Set([_0x4e9abd['id']]);function Gt(_0x3b62a8,_0x210731,_0x2eae26,_0x46eaf8,_0x32f43f){var _0x39dd3e=_0x46936e,_0x1cf19b,_0x45232d,_0x2c2124,_0x4d39ab;const _0x499792=[];for(const _0x212041 of _0x3b62a8)if(Ws['has'](_0x212041['id'])){if(_0x499792[_0x39dd3e(0x303)]>0x0)break;_0x499792['push'](_0x212041);break;}else _0x499792[_0x39dd3e(0x1f7)](_0x212041);const _0x1301a1=(_0x45232d=(_0x1cf19b=_0x32f43f[_0x39dd3e(0x200)]())==null?void 0x0:_0x1cf19b[_0x39dd3e(0x2ae)])!=null?_0x45232d:_0x39dd3e(0x1cd),_0x3e5af1=(_0x4d39ab=(_0x2c2124=_0x32f43f[_0x39dd3e(0x200)]())==null?void 0x0:_0x2c2124[_0x39dd3e(0x3a3)])!=null?_0x4d39ab:_0x39dd3e(0x1cd);return{'changeset':{'unitID':_0x210731,'type':_0x5a9713(_0x2eae26[_0x39dd3e(0x329)](_0x210731)),'baseRev':_0x46eaf8[_0x39dd3e(0x29d)](_0x210731),'revision':0x0,'userID':_0x1301a1,'memberID':_0x3e5af1,'mutations':_0x499792},'pendingMutations':_0x3b62a8[_0x39dd3e(0x1a7)](_0x499792[_0x39dd3e(0x303)])};}function Gs(_0x1755b2,_0x19ad7c,_0x5d2a83,_0x2246f0,_0x4e985a){var _0xd4fb33=_0x46936e,_0x23aaa3,_0x24ba78,_0x5a0b4f,_0x53ab6c;const _0x2509ad=[_0x1755b2[_0xd4fb33(0x2ac)]((_0xf35d64,_0x8bca20)=>{var _0x367a56=_0xd4fb33,_0x2fb57e;const {id:_0x104600}=_0xf35d64,{id:_0x1566cc,type:_0x1b521a}=_0x8bca20,_0x11f992=(_0x2fb57e=_0xf35d64[_0x367a56(0x1c3)])!=null?_0x2fb57e:{'actions':null},_0x127917=_0x8bca20[_0x367a56(0x1c3)];if(_0x104600&&_0x104600!==_0x1566cc)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x104600+_0x367a56(0x1bf)+_0x1566cc+'.');return{..._0xf35d64,'id':_0x1566cc,'type':_0x1b521a,'params':{'unitId':_0x127917[_0x367a56(0x423)],'textRanges':_0x127917[_0x367a56(0x2b8)],'actions':_0x121e67['compose'](_0x11f992['actions'],_0x127917['actions'])}};},{})],_0x2ac75c=(_0x24ba78=(_0x23aaa3=_0x4e985a['getCurrentUser']())==null?void 0x0:_0x23aaa3[_0xd4fb33(0x2ae)])!=null?_0x24ba78:_0xd4fb33(0x1cd),_0x22e3f3=(_0x53ab6c=(_0x5a0b4f=_0x4e985a[_0xd4fb33(0x200)]())==null?void 0x0:_0x5a0b4f[_0xd4fb33(0x3a3)])!=null?_0x53ab6c:_0xd4fb33(0x1cd);return{'changeset':{'unitID':_0x19ad7c,'type':_0x5a9713(_0x5d2a83['getUnitType'](_0x19ad7c)),'baseRev':_0x2246f0[_0xd4fb33(0x29d)](_0x19ad7c),'revision':0x0,'userID':_0x2ac75c,'memberID':_0x22e3f3,'mutations':_0x2509ad},'pendingMutations':[]};}function Ei(_0x819d57,_0x38c38a){var _0x40abf5=_0x46936e;const _0x16c9d1=new _0x242cc4(0x1);return setTimeout(()=>_0x16c9d1[_0x40abf5(0x1d5)](_0x38c38a),_0x819d57),_0x16c9d1[_0x40abf5(0x19d)]()[_0x40abf5(0x2b1)](_0x161f89(0x1));}const Ys={'id':_0x537289['id'],'type':_0x2bd96a[_0x46936e(0x2b0)],'params':{}};var Ks=Object[_0x46936e(0x2c3)],Ee=(_0x51b0cd,_0x3c96c6,_0x47dea8,_0x1cbb77)=>{var _0x413f21=_0x46936e;for(var _0x37510c=_0x1cbb77>0x1?void 0x0:_0x1cbb77?Ks(_0x3c96c6,_0x47dea8):_0x3c96c6,_0x350653=_0x51b0cd[_0x413f21(0x303)]-0x1,_0x2a6a35;_0x350653>=0x0;_0x350653--)(_0x2a6a35=_0x51b0cd[_0x350653])&&(_0x37510c=_0x2a6a35(_0x37510c)||_0x37510c);return _0x37510c;},P=(_0xa8ab7c,_0x57a1dc)=>(_0x202dcf,_0x2878f5)=>_0x57a1dc(_0x202dcf,_0x2878f5,_0xa8ab7c),Ii=(_0x2bef69=>(_0x2bef69[_0x46936e(0x3be)]='not_collab',_0x2bef69[_0x46936e(0x475)]='synced',_0x2bef69['PENDING']='pending',_0x2bef69[_0x46936e(0x363)]=_0x46936e(0x1e8),_0x2bef69['AWAITING_WITH_PENDING']=_0x46936e(0x489),_0x2bef69[_0x46936e(0x1f2)]=_0x46936e(0x25f),_0x2bef69[_0x46936e(0x374)]=_0x46936e(0x357),_0x2bef69[_0x46936e(0x36d)]=_0x46936e(0x203),_0x2bef69))(Ii||{});const Ti=0xea60;class Ie{constructor(_0x10edfe,_0x16ebae,_0x8ab530,_0x4b59bb,_0x3dda18,_0x23a696,_0x23570b,_0x4fdd01,_0x21bd2b){var _0xc34d12=_0x46936e;N(this,_0xc34d12(0x386),null),N(this,_0xc34d12(0x330),[]),(this[_0xc34d12(0x40e)]=_0x10edfe,this[_0xc34d12(0x32d)]=_0x16ebae,this[_0xc34d12(0x22c)]=_0x3dda18,this[_0xc34d12(0x1da)]=_0x23a696,this[_0xc34d12(0x370)]=_0x23570b,this[_0xc34d12(0x378)]=_0x4fdd01,this[_0xc34d12(0x338)]=_0x21bd2b,this[_0xc34d12(0x386)]=_0x8ab530,this[_0xc34d12(0x330)]=_0x4b59bb);}['_checkMissing'](_0x407cf3){var _0x54ad68=_0x46936e;const _0x32a8b7=this[_0x54ad68(0x378)][_0x54ad68(0x29d)](this[_0x54ad68(0x40e)]);return _0x407cf3[_0x54ad68(0x1d2)]>_0x32a8b7+0x1?(this[_0x54ad68(0x22c)][_0x54ad68(0x2af)]({'from':_0x32a8b7,'to':_0x407cf3[_0x54ad68(0x1d2)]-0x1}),!0x0):!0x1;}[_0x46936e(0x401)](_0x12e986){var _0x290438=_0x46936e;this[_0x290438(0x370)][_0x290438(0x1bc)](this[_0x290438(0x40e)],_0x12e986);}[_0x46936e(0x43c)](_0x21fd3e){var _0x412f4a=_0x46936e,_0x58f393,_0x618daa;(_0x618daa=(_0x58f393=this['_handler'])[_0x412f4a(0x239)])==null||_0x618daa[_0x412f4a(0x30e)](_0x58f393,_0x21fd3e);}[_0x46936e(0x1d4)](_0x2d30f1){var _0x415a1a=_0x46936e,_0x1851a8,_0x24a3ad;return(_0x24a3ad=(_0x1851a8=this['_handler'])[_0x415a1a(0x340)])==null?void 0x0:_0x24a3ad['call'](_0x1851a8,_0x2d30f1);}[_0x46936e(0x295)](_0x45a0b6){var _0x4b2769=_0x46936e,_0x42ff7f,_0x75a3e4;return(_0x75a3e4=(_0x42ff7f=this[_0x4b2769(0x22c)])[_0x4b2769(0x1ba)])==null?void 0x0:_0x75a3e4[_0x4b2769(0x30e)](_0x42ff7f,_0x45a0b6);}[_0x46936e(0x470)](_0x3b1827){var _0xe4d6a=_0x46936e,_0x2591a3,_0x4c602c,_0x2aaba5;return(_0x2aaba5=(_0x4c602c=(_0x2591a3=this[_0xe4d6a(0x22c)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4c602c['call'](_0x2591a3,_0x3b1827))!=null?_0x2aaba5:_0x3b1827;}['_transformRemoteChangesetByStateCache'](_0x28c7f8){var _0x553d97=_0x46936e,_0x18d595,_0x47b103,_0x179346;return(_0x179346=(_0x47b103=(_0x18d595=this['_handler'])[_0x553d97(0x46d)])==null?void 0x0:_0x47b103[_0x553d97(0x30e)](_0x18d595,_0x28c7f8))!=null?_0x179346:_0x28c7f8;}[_0x46936e(0x3bf)](_0x3ba2ce){var _0x22629d=_0x46936e,_0x3f6f32,_0x474c80;if(this['type']===Z[_0x22629d(0x34a)]){const {unitID:_0x28bf49,mutations:_0x234f34,memberID:_0xbbcf10}=_0x3ba2ce,_0x562142=_0x234f34[0x0][_0x22629d(0x1c3)][_0x22629d(0x2b8)];Array['isArray'](_0x562142)&&_0x562142['length']>0x0&&((_0x474c80=(_0x3f6f32=this['_handler'])[_0x22629d(0x23c)])==null||_0x474c80[_0x22629d(0x30e)](_0x3f6f32,{'unitID':_0x28bf49,'memberID':_0xbbcf10,'textRanges':_0x562142}));}}['_updateLocalCache'](){var _0x1009ce=_0x46936e,_0x2e3fe5;(_0x2e3fe5=this[_0x1009ce(0x338)])==null||_0x2e3fe5['updateOfflineData'](this[_0x1009ce(0x40e)],this[_0x1009ce(0x32d)],this[_0x1009ce(0x386)],this[_0x1009ce(0x330)]);}[_0x46936e(0x474)](){var _0x3bc15c=_0x46936e;return this['_revisionService'][_0x3bc15c(0x29d)](this[_0x3bc15c(0x40e)]);}[_0x46936e(0x206)](){var _0x5e6a84=_0x46936e;this[_0x5e6a84(0x378)][_0x5e6a84(0x272)](this['unitID']);}[_0x46936e(0x43a)](_0x315230){var _0x42bf88=_0x46936e,_0x892e90;let _0x382e27=this[_0x42bf88(0x470)](_0x315230);_0x382e27=this[_0x42bf88(0x263)](_0x382e27);const _0x38d5e3=_0x5b69f1(_0x382e27[_0x42bf88(0x1ef)],this[_0x42bf88(0x1da)],{'fromCollab':!0x0});if(!_0x38d5e3['result'])throw _0x38d5e3[_0x42bf88(0x337)]instanceof Error?_0x38d5e3[_0x42bf88(0x337)]:new Error((_0x892e90=_0x38d5e3[_0x42bf88(0x337)])!=null?_0x892e90:_0x42bf88(0x2f5));this[_0x42bf88(0x1d4)](_0x382e27),this[_0x42bf88(0x295)](_0x382e27),this[_0x42bf88(0x401)](_0x315230),this[_0x42bf88(0x43c)](_0x382e27),this[_0x42bf88(0x3bf)](_0x382e27),this[_0x42bf88(0x206)]();}}let ye=class extends Ie{constructor(_0x495247,_0x208718,_0x1e77d8,_0x119829,_0x134504,_0x239829,_0x119375,_0x584fc9,_0x550dac,_0x263beb){var _0x53ea75=_0x46936e;super(_0x495247,_0x208718,null,[],_0x1e77d8,_0x119375,_0x239829,_0x119829,_0x263beb),N(this,_0x53ea75(0x41e),_0x53ea75(0x3a8)),(this['_injector']=_0x134504,this[_0x53ea75(0x1ce)]=_0x584fc9,this[_0x53ea75(0x20f)]=_0x550dac,this[_0x53ea75(0x404)]=_0x263beb);}['appendMutation'](_0x3d681d){var _0x3defae=_0x46936e;const _0x1b3980=this[_0x3defae(0x448)][_0x3defae(0x30d)](re,this[_0x3defae(0x40e)],this[_0x3defae(0x32d)],[_0x3d681d],this[_0x3defae(0x22c)]);return _0x1b3980[_0x3defae(0x26c)](),_0x1b3980[_0x3defae(0x316)](),_0x1b3980;}[_0x46936e(0x1e5)](_0x3d4408){var _0x2ea61d=_0x46936e;if(this[_0x2ea61d(0x1b1)](_0x3d4408))return this[_0x2ea61d(0x448)][_0x2ea61d(0x30d)](Q,this[_0x2ea61d(0x40e)],this[_0x2ea61d(0x32d)],null,[],null,[_0x3d4408],this[_0x2ea61d(0x22c)]);try{const _0x4bb2fc=this[_0x2ea61d(0x20f)][_0x2ea61d(0x1c5)](_0x3d4408,[Ys]);if(_0x2d2658(_0x4bb2fc)){const {c1Prime:_0x398396}=_0x4bb2fc;return this[_0x2ea61d(0x43a)](_0x398396),this;}throw _0x4bb2fc[_0x2ea61d(0x337)];}catch(_0xddfb52){return this[_0x2ea61d(0x1ce)]['error'](_0xddfb52),this[_0x2ea61d(0x457)](!0x1);}}['_onConflict'](_0x419392){var _0x39c16a=_0x46936e;return this[_0x39c16a(0x448)]['createInstance'](le,this[_0x39c16a(0x40e)],this[_0x39c16a(0x32d)],null,[],this[_0x39c16a(0x22c)],_0x419392);}[_0x46936e(0x1ad)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x46936e(0x2dd)](){var _0xafde16=_0x46936e;throw new Error(_0xafde16(0x462));}['onRemoteRetry'](){return this;}[_0x46936e(0x2c0)](){var _0x515247=_0x46936e;return this[_0x515247(0x448)][_0x515247(0x30d)](ue,this[_0x515247(0x40e)],this[_0x515247(0x32d)],null,[],this[_0x515247(0x22c)]);}[_0x46936e(0x377)](){return this;}[_0x46936e(0x3fa)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x46936e(0x1b6)](){var _0x52af8b=_0x46936e;const _0x506b12=this['_revisionService'][_0x52af8b(0x29d)](this[_0x52af8b(0x40e)]);return this[_0x52af8b(0x22c)][_0x52af8b(0x2af)]({'from':_0x506b12,'to':0x0}),this[_0x52af8b(0x448)][_0x52af8b(0x30d)](Q,this[_0x52af8b(0x40e)],this[_0x52af8b(0x32d)],null,[],null,[],this[_0x52af8b(0x22c)]);}};ye=Ee([P(0x3,_0x27e9d5(_0x52c859)),P(0x4,_0x27e9d5(_0x494ce2)),P(0x5,_0x578288),P(0x6,_0x4e232a),P(0x7,_0xf70a07),P(0x8,_0x50166a),P(0x9,_0x4eeaca(J))],ye);let re=class extends Ie{constructor(_0x59d5ef,_0x418e73,_0x5c08bd,_0x5ee4fa,_0x313e8d,_0x17b476,_0x21ede1,_0x41ef9a,_0x3c02bf,_0x3f5a8f,_0x458307,_0x563de8,_0x319e98,_0x1f7d77){var _0x376fb7=_0x46936e;super(_0x59d5ef,_0x418e73,null,_0x5c08bd,_0x5ee4fa,_0x3c02bf,_0x319e98,_0x17b476,_0x1f7d77),N(this,_0x376fb7(0x41e),_0x376fb7(0x373)),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x376fb7(0x410),null),(this[_0x376fb7(0x448)]=_0x313e8d,this[_0x376fb7(0x471)]=_0x21ede1,this[_0x376fb7(0x1ce)]=_0x41ef9a,this[_0x376fb7(0x2bf)]=_0x3f5a8f,this[_0x376fb7(0x20f)]=_0x458307,this[_0x376fb7(0x43b)]=_0x563de8);}[_0x46936e(0x35b)](_0x15f3cb){var _0xdb4a9e=_0x46936e;return this['_pendingMutations'][_0xdb4a9e(0x1f7)](_0x15f3cb),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x3a8d7b){var _0x28b0cf=_0x46936e;if(this[_0x28b0cf(0x1b1)](_0x3a8d7b))return this[_0x28b0cf(0x35a)](),this[_0x28b0cf(0x448)][_0x28b0cf(0x30d)](Q,this[_0x28b0cf(0x40e)],this['type'],null,this[_0x28b0cf(0x330)],null,[_0x3a8d7b],this[_0x28b0cf(0x22c)]);try{const _0x15a78d=this[_0x28b0cf(0x20f)]['transformMutationsWithChangeset'](_0x3a8d7b,this[_0x28b0cf(0x330)]);if(_0x2d2658(_0x15a78d)){const {c1Prime:_0x31b130,m2Prime:_0xbf521f}=_0x15a78d;this[_0x28b0cf(0x43a)](_0x31b130);const _0x690dc0=this[_0x28b0cf(0x448)][_0x28b0cf(0x30d)](re,this[_0x28b0cf(0x40e)],this[_0x28b0cf(0x32d)],_0xbf521f,this[_0x28b0cf(0x22c)]);this['_clearScheduledTask']();const _0x34bdfb=new Date()['getTime'](),_0x47d699=this[_0x28b0cf(0x40c)]?Math['max'](this[_0x28b0cf(0x40c)]-_0x34bdfb,0x0):this['_getSendChangesetTimeout']();return _0x690dc0[_0x28b0cf(0x26c)](_0x47d699),_0x690dc0;}throw _0x15a78d['error'];}catch(_0x35bf43){return this[_0x28b0cf(0x1ce)]['error'](_0x35bf43),this[_0x28b0cf(0x457)](!0x1);}}[_0x46936e(0x1ad)](){var _0x2f1a39=_0x46936e;throw new Error(_0x2f1a39(0x333));}[_0x46936e(0x2dd)](){var _0x432cf3=_0x46936e;throw new Error(_0x432cf3(0x39d));}[_0x46936e(0x427)](){return this;}['toggleOffline'](){var _0x561dc3=_0x46936e;return this[_0x561dc3(0x35a)](),this[_0x561dc3(0x448)][_0x561dc3(0x30d)](ue,this[_0x561dc3(0x40e)],this[_0x561dc3(0x32d)],null,this[_0x561dc3(0x330)],this['_handler']);}[_0x46936e(0x377)](){return this;}[_0x46936e(0x26c)](_0x3772c8){var _0x4e5df8=_0x46936e;const _0x5542a5=_0x3772c8!=null?_0x3772c8:this[_0x4e5df8(0x2ec)]();this[_0x4e5df8(0x40c)]=new Date()[_0x4e5df8(0x332)]()+_0x5542a5,this[_0x4e5df8(0x410)]=setTimeout(()=>{var _0x934bd2=_0x4e5df8;this[_0x934bd2(0x35a)]();let _0x408523=null;switch(this[_0x934bd2(0x32d)]){case Z[_0x934bd2(0x307)]:{_0x408523=Gt(this['_pendingMutations'],this[_0x934bd2(0x40e)],this[_0x934bd2(0x43b)],this[_0x934bd2(0x378)],this[_0x934bd2(0x471)]);break;}case Z[_0x934bd2(0x34a)]:{this[_0x934bd2(0x330)][_0x934bd2(0x1c8)](_0x1a72ca=>_0x1a72ca['id']===_0x3f8c1b['id'])?_0x408523=Gs(this[_0x934bd2(0x330)],this[_0x934bd2(0x40e)],this['_univerInstanceService'],this[_0x934bd2(0x378)],this[_0x934bd2(0x471)]):_0x408523=Gt(this[_0x934bd2(0x330)],this[_0x934bd2(0x40e)],this['_univerInstanceService'],this[_0x934bd2(0x378)],this[_0x934bd2(0x471)]);break;}default:throw new Error(_0x934bd2(0x1eb)+this[_0x934bd2(0x32d)]+_0x934bd2(0x3b1));}const {changeset:_0x41bdf4,pendingMutations:_0x204389}=_0x408523;this['_handler'][_0x934bd2(0x36a)](_0x41bdf4);const _0x1cc9df=_0x204389[_0x934bd2(0x303)]?this['_injector'][_0x934bd2(0x30d)](ae,this['unitID'],this[_0x934bd2(0x32d)],_0x41bdf4,_0x204389,this['_handler'],void 0x0):this[_0x934bd2(0x448)][_0x934bd2(0x30d)](_e,this[_0x934bd2(0x40e)],this[_0x934bd2(0x32d)],_0x41bdf4,this[_0x934bd2(0x22c)]);_0x1cc9df[_0x934bd2(0x316)](),this[_0x934bd2(0x22c)][_0x934bd2(0x47e)](this,_0x1cc9df);},_0x5542a5);}[_0x46936e(0x2ec)](){var _0x39e658=_0x46936e,_0x2b208f;const _0x1a3a1d=this['_configService']['getConfig'](K);return(_0x2b208f=_0x1a3a1d==null?void 0x0:_0x1a3a1d[_0x39e658(0x1e0)])!=null?_0x2b208f:ps;}['resend'](){var _0x58743f=_0x46936e;throw new Error(_0x58743f(0x1c4));}[_0x46936e(0x35a)](){var _0x491690=_0x46936e;this[_0x491690(0x410)]!=null&&(clearTimeout(this[_0x491690(0x410)]),this['_sendingTimer']=null);}[_0x46936e(0x457)](_0x528bf4){var _0x11dd41=_0x46936e;return this[_0x11dd41(0x35a)](),this['_injector'][_0x11dd41(0x30d)](le,this[_0x11dd41(0x40e)],this[_0x11dd41(0x32d)],null,this[_0x11dd41(0x330)],this[_0x11dd41(0x22c)],_0x528bf4);}};re=Ee([P(0x4,_0x27e9d5(_0x494ce2)),P(0x5,_0x27e9d5(_0x52c859)),P(0x6,_0x27e9d5(we)),P(0x7,_0xf70a07),P(0x8,_0x4e232a),P(0x9,_0x446d9d),P(0xa,_0x50166a),P(0xb,_0x3b6ba3),P(0xc,_0x578288),P(0xd,_0x4eeaca(J))],re);let _e=class extends Ie{constructor(_0x534756,_0x307251,_0x4bbce5,_0x135d77,_0x10dd1a,_0x1eaf6b,_0xec11ad,_0xf43059,_0x5ac86f,_0x1e7422,_0x48e6db){var _0x37c241=_0x46936e;super(_0x534756,_0x307251,_0x4bbce5,[],_0x135d77,_0xec11ad,_0x1e7422,_0x1eaf6b,_0x48e6db),N(this,_0x37c241(0x41e),'awaiting'),N(this,_0x37c241(0x3ae),0x0),N(this,_0x37c241(0x39a)),N(this,_0x37c241(0x261)),(this[_0x37c241(0x448)]=_0x10dd1a,this[_0x37c241(0x1ce)]=_0xf43059,this[_0x37c241(0x20f)]=_0x5ac86f);}[_0x46936e(0x35b)](_0x281dba){var _0x2fd5cd=_0x46936e;this[_0x2fd5cd(0x35a)]();const _0x530636=this[_0x2fd5cd(0x448)][_0x2fd5cd(0x30d)](ae,this[_0x2fd5cd(0x40e)],this['type'],this[_0x2fd5cd(0x386)],[_0x281dba],this[_0x2fd5cd(0x22c)],this['_resendTimer']);return _0x530636[_0x2fd5cd(0x316)](),_0x530636;}[_0x46936e(0x1e5)](_0x254c67){var _0xd9e9a8=_0x46936e;if(this[_0xd9e9a8(0x1b1)](_0x254c67))return this['_clearScheduledTask'](),this[_0xd9e9a8(0x448)][_0xd9e9a8(0x30d)](Q,this[_0xd9e9a8(0x40e)],this[_0xd9e9a8(0x32d)],this[_0xd9e9a8(0x386)],[],null,[_0x254c67],this[_0xd9e9a8(0x22c)]);try{const _0x49dc4a=this[_0xd9e9a8(0x20f)][_0xd9e9a8(0x3ef)]([_0x254c67],[this[_0xd9e9a8(0x386)]],!0x1);if(_0x485575(_0x49dc4a)){const {c1Prime:_0x18ed80,c2Prime:_0x45325a}=_0x49dc4a;this[_0xd9e9a8(0x43a)](_0x18ed80[0x0]),_0x45325a[0x0][_0xd9e9a8(0x1b3)]=this[_0xd9e9a8(0x474)](),this[_0xd9e9a8(0x35a)]();const _0x535fc4=this[_0xd9e9a8(0x448)][_0xd9e9a8(0x30d)](_e,this['unitID'],this[_0xd9e9a8(0x32d)],_0x45325a[0x0],this['_handler']);return _0x535fc4[_0xd9e9a8(0x316)](),_0x535fc4;}return this[_0xd9e9a8(0x457)](!0x1);}catch(_0x55a56f){return this[_0xd9e9a8(0x1ce)]['error'](_0x55a56f),this[_0xd9e9a8(0x457)](!0x1);}}[_0x46936e(0x1ad)](_0x2e98fa){var _0x221ab5=_0x46936e;this[_0x221ab5(0x35a)]();const _0x45a379=this[_0x221ab5(0x378)]['getCurrentRevOfUnit'](this[_0x221ab5(0x40e)]);if(_0x2e98fa['revision']<_0x45a379-0x1)return this;if(this['_checkMissing'](_0x2e98fa))return this[_0x221ab5(0x448)][_0x221ab5(0x30d)](Q,this['unitID'],this[_0x221ab5(0x32d)],null,[],this[_0x221ab5(0x386)],[],this['_handler']);this[_0x221ab5(0x206)]();const _0x46306d=this[_0x221ab5(0x448)]['createInstance'](ye,this[_0x221ab5(0x40e)],this[_0x221ab5(0x32d)],this['_handler']);return _0x46306d[_0x221ab5(0x316)](),_0x46306d;}['onRemoteRej'](_0x4a5670){var _0x46d894=_0x46936e;return this[_0x46d894(0x457)](!!(_0x4a5670!=null&&_0x4a5670[_0x46d894(0x409)]));}[_0x46936e(0x427)](_0x32bc73){var _0x5a0383=_0x46936e;return this[_0x5a0383(0x3ae)]>Ti?this['toggleOffline']():(this[_0x5a0383(0x39a)]=Ei(this[_0x5a0383(0x3ae)],{'timeout':this[_0x5a0383(0x3ae)],'reqId':_0x32bc73[_0x5a0383(0x28c)]}),this[_0x5a0383(0x261)]=this[_0x5a0383(0x39a)][_0x5a0383(0x2e5)](({reqId:_0x52dbd7,timeout:_0x220938})=>{this['_resendWithTimeout'](_0x52dbd7,_0x220938);}),this);}[_0x46936e(0x2c0)](){var _0x588d79=_0x46936e;return this['_clearScheduledTask'](),this[_0x588d79(0x448)][_0x588d79(0x30d)](ue,this['unitID'],this['type'],this[_0x588d79(0x386)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x46936e(0x3fa)](){var _0x2d8424=_0x46936e;this[_0x2d8424(0x22c)][_0x2d8424(0x36a)](this[_0x2d8424(0x386)]);}[_0x46936e(0x457)](_0x11e3c4){var _0x25d92d=_0x46936e;return this[_0x25d92d(0x35a)](),this[_0x25d92d(0x448)][_0x25d92d(0x30d)](le,this[_0x25d92d(0x40e)],this[_0x25d92d(0x32d)],this['_awaitingChangeset'],[],this[_0x25d92d(0x22c)],_0x11e3c4);}['_resendWithTimeout'](_0xd0ff38,_0x5946f2){var _0x35a871=_0x46936e,_0x1a5b6f;_0xd0ff38===((_0x1a5b6f=this[_0x35a871(0x386)])==null?void 0x0:_0x1a5b6f['reqId'])&&(this[_0x35a871(0x3fa)](),this['_resendTimeout']=_0x5946f2===0x0?0x3e8:_0x5946f2*0x2);}[_0x46936e(0x35a)](){var _0x3facff=_0x46936e,_0x32c77b;(_0x32c77b=this['_sender'])==null||_0x32c77b[_0x3facff(0x43d)](),this[_0x3facff(0x3ae)]=0x0;}};_e=Ee([P(0x4,_0x27e9d5(_0x494ce2)),P(0x5,_0x27e9d5(_0x52c859)),P(0x6,_0x4e232a),P(0x7,_0xf70a07),P(0x8,_0x50166a),P(0x9,_0x578288),P(0xa,_0x4eeaca(J))],_e);let ae=class extends Ie{constructor(_0x3a3e2f,_0x40351d,_0xb795d2,_0x13c7da,_0x2520ce,_0x4918a2,_0x25fae0,_0x2d15b4,_0x4db5e6,_0x50cb42,_0x1360cd,_0x19856a,_0xaf2b06){var _0x1f3e30=_0x46936e;super(_0x3a3e2f,_0x40351d,_0xb795d2,_0x13c7da,_0x2520ce,_0x4db5e6,_0x19856a,_0x2d15b4,_0xaf2b06),N(this,_0x1f3e30(0x41e),_0x1f3e30(0x489)),N(this,_0x1f3e30(0x3ae),0x0),N(this,_0x1f3e30(0x39a)),N(this,_0x1f3e30(0x261)),(this[_0x1f3e30(0x448)]=_0x25fae0,this[_0x1f3e30(0x1ce)]=_0x50cb42,this[_0x1f3e30(0x20f)]=_0x1360cd,this['localCacheService']=_0xaf2b06,_0x4918a2&&(this[_0x1f3e30(0x39a)]=_0x4918a2,this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x6a98f,timeout:_0x30058e})=>{var _0x5a4119=_0x1f3e30;this[_0x5a4119(0x3c1)](_0x6a98f,_0x30058e);})));}[_0x46936e(0x35b)](_0x170b1c){var _0x53dd7f=_0x46936e;return this[_0x53dd7f(0x330)][_0x53dd7f(0x1f7)](_0x170b1c),this;}['onRemoteChangeset'](_0xf61247){var _0x163376=_0x46936e;if(this[_0x163376(0x1b1)](_0xf61247))return this[_0x163376(0x35a)](),this['_injector']['createInstance'](Q,this[_0x163376(0x40e)],this[_0x163376(0x32d)],this['_awaitingChangeset'],this[_0x163376(0x330)],null,[_0xf61247],this[_0x163376(0x22c)]);try{const _0x4b9221=this[_0x163376(0x20f)]['transformChangesets']([_0xf61247],[this[_0x163376(0x386)]],!0x1);if(_0x485575(_0x4b9221)){const {c1Prime:_0x55d2b4,c2Prime:_0x2a7453}=_0x4b9221,_0x59e12e=this[_0x163376(0x20f)]['transformMutationsWithChangeset'](_0x55d2b4[0x0],this[_0x163376(0x330)]);if(_0x2d2658(_0x59e12e)){const {c1Prime:_0x335cb7,m2Prime:_0x2efab3}=_0x59e12e;return this['_executeRemoteChangeset'](_0x335cb7),_0x2a7453[0x0][_0x163376(0x1b3)]=this[_0x163376(0x474)](),this[_0x163376(0x35a)](),this[_0x163376(0x448)]['createInstance'](ae,this['unitID'],this['type'],_0x2a7453[0x0],_0x2efab3,this[_0x163376(0x22c)],void 0x0);}throw _0x59e12e[_0x163376(0x337)];}throw _0x4b9221[_0x163376(0x337)];}catch(_0x5b60da){return this[_0x163376(0x1ce)][_0x163376(0x337)](_0x5b60da),this[_0x163376(0x457)](!0x1);}}[_0x46936e(0x1ad)](_0x6737e2){var _0x244423=_0x46936e;if(this[_0x244423(0x35a)](),this[_0x244423(0x1b1)](_0x6737e2))return this['_injector'][_0x244423(0x30d)](Q,this['unitID'],this[_0x244423(0x32d)],null,this['_pendingMutations'],this[_0x244423(0x386)],[],this['_handler']);this[_0x244423(0x206)]();const _0x3d17cc=this[_0x244423(0x448)][_0x244423(0x30d)](re,this[_0x244423(0x40e)],this[_0x244423(0x32d)],this[_0x244423(0x330)],this[_0x244423(0x22c)]);return _0x3d17cc[_0x244423(0x26c)](),_0x3d17cc[_0x244423(0x316)](),_0x3d17cc;}[_0x46936e(0x2dd)](_0x8be92e){var _0x56e6c2=_0x46936e;return this[_0x56e6c2(0x457)](!!(_0x8be92e!=null&&_0x8be92e[_0x56e6c2(0x409)]));}[_0x46936e(0x427)](_0xed0d34){var _0x5ac8a2=_0x46936e;return this['_resendTimeout']>Ti?this['toggleOffline']():(this[_0x5ac8a2(0x39a)]=Ei(this[_0x5ac8a2(0x3ae)],{'timeout':this[_0x5ac8a2(0x3ae)],'reqId':_0xed0d34[_0x5ac8a2(0x28c)]}),this[_0x5ac8a2(0x261)]=this[_0x5ac8a2(0x39a)][_0x5ac8a2(0x2e5)](({reqId:_0x334b7e,timeout:_0x218689})=>{var _0x242a5d=_0x5ac8a2;this[_0x242a5d(0x3c1)](_0x334b7e,_0x218689);}),this);}[_0x46936e(0x2c0)](){var _0x236f05=_0x46936e;return this[_0x236f05(0x35a)](),this[_0x236f05(0x448)]['createInstance'](ue,this[_0x236f05(0x40e)],this[_0x236f05(0x32d)],this[_0x236f05(0x386)],this['_pendingMutations'],this[_0x236f05(0x22c)]);}[_0x46936e(0x377)](){return this;}['resend'](){var _0x37e841=_0x46936e;this[_0x37e841(0x22c)]['onSendChangeset'](this[_0x37e841(0x386)]);}['_onConflict'](_0x11d73){var _0x3007d8=_0x46936e;return this[_0x3007d8(0x35a)](),this[_0x3007d8(0x448)][_0x3007d8(0x30d)](le,this[_0x3007d8(0x40e)],this['type'],null,this[_0x3007d8(0x330)],this[_0x3007d8(0x22c)],_0x11d73);}[_0x46936e(0x3c1)](_0x3d7189,_0x4a6e88){var _0x3c2f9e=_0x46936e,_0x664b3e;_0x3d7189===((_0x664b3e=this[_0x3c2f9e(0x386)])==null?void 0x0:_0x664b3e[_0x3c2f9e(0x28c)])&&(this[_0x3c2f9e(0x3fa)](),this[_0x3c2f9e(0x3ae)]=_0x4a6e88===0x0?0x3e8:_0x4a6e88*0x2);}[_0x46936e(0x35a)](){var _0x51612b=_0x46936e,_0xee768b;(_0xee768b=this[_0x51612b(0x261)])==null||_0xee768b[_0x51612b(0x43d)](),this[_0x51612b(0x3ae)]=0x0;}};ae=Ee([P(0x6,_0x27e9d5(_0x494ce2)),P(0x7,_0x27e9d5(_0x52c859)),P(0x8,_0x4e232a),P(0x9,_0xf70a07),P(0xa,_0x50166a),P(0xb,_0x578288),P(0xc,_0x4eeaca(J))],ae);let le=class extends Ie{constructor(_0x194155,_0x419446,_0x4ba8bc,_0x278442,_0xeaffb,_0x5171d7=!0x1,_0x542580,_0x46c203,_0xbbfef1,_0x22d539,_0x29de63,_0x86a02e,_0x597ed6){var _0x3187ad=_0x46936e;super(_0x194155,_0x419446,_0x4ba8bc,_0x278442,_0xeaffb,_0x46c203,_0xbbfef1,_0x22d539,_0x597ed6),N(this,'status',_0x3187ad(0x357)),(this['_isPermissionRej']=_0x5171d7,this['_permissionService']=_0x542580,this['_localeService']=_0x29de63,this[_0x3187ad(0x479)]=_0x86a02e,this[_0x3187ad(0x404)]=_0x597ed6,this[_0x3187ad(0x275)](),this[_0x3187ad(0x45c)](),this[_0x3187ad(0x45d)]());}[_0x46936e(0x35b)](){return this;}[_0x46936e(0x1e5)](){return this;}[_0x46936e(0x1ad)](){return this;}[_0x46936e(0x2dd)](){return this;}[_0x46936e(0x427)](){return this;}[_0x46936e(0x2c0)](){return this;}[_0x46936e(0x377)](){return this;}[_0x46936e(0x3fa)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x46936e(0x45c)](){var _0x1d3f7e=_0x46936e,_0x40077b;(_0x40077b=this[_0x1d3f7e(0x338)])==null||_0x40077b[_0x1d3f7e(0x39b)](this[_0x1d3f7e(0x40e)],this[_0x1d3f7e(0x32d)],null,[]);}[_0x46936e(0x275)](){var _0x137bb1=_0x46936e;this[_0x137bb1(0x1fd)]?this[_0x137bb1(0x479)][_0x137bb1(0x283)]({'id':ne[_0x137bb1(0x3cd)]}):this[_0x137bb1(0x479)][_0x137bb1(0x283)]({'id':ne[_0x137bb1(0x374)]});}[_0x46936e(0x45d)](){var _0x24899e=_0x46936e;this[_0x24899e(0x426)][_0x24899e(0x44d)](new _0x2434c5(this['unitID'])['id'],!0x1);}};le=Ee([P(0x6,_0x27e9d5(_0x4e46fc)),P(0x7,_0x4e232a),P(0x8,_0x578288),P(0x9,_0x27e9d5(_0x52c859)),P(0xa,_0x27e9d5(_0x4c8329)),P(0xb,_0x27e9d5(ve)),P(0xc,_0x4eeaca(J))],le);let ue=class extends Ie{constructor(_0x1ba392,_0x3eea8a,_0x240325,_0x5946c8,_0x58c7ac,_0x21d729,_0x168fdb,_0x428713,_0x34a7e3,_0x3198b2){var _0x484201=_0x46936e;super(_0x1ba392,_0x3eea8a,_0x240325,_0x5946c8,_0x58c7ac,_0x428713,_0x34a7e3,_0x168fdb,_0x3198b2),N(this,_0x484201(0x41e),_0x484201(0x203)),this['_injector']=_0x21d729;}[_0x46936e(0x35b)](_0x18498c){var _0x36aad7=_0x46936e;return this[_0x36aad7(0x330)]['push'](_0x18498c),this[_0x36aad7(0x316)](),this;}[_0x46936e(0x1e5)](_0x4f4bd7){var _0x5b1697=_0x46936e;throw new Error(_0x5b1697(0x2e2));}['onRemoteAck'](){var _0x2521ff=_0x46936e;throw new Error(_0x2521ff(0x245));}[_0x46936e(0x2dd)](){var _0x15d2ab=_0x46936e;throw new Error(_0x15d2ab(0x1fb));}[_0x46936e(0x427)](){return this;}['toggleOffline'](){return this;}[_0x46936e(0x377)](){const {_injector:_0x51bd25,_pendingMutations:_0x4c001c,_awaitingChangeset:_0x5cc33d,unitID:_0x1ac0bc,_handler:_0x49374d,type:_0x285bba}=this,_0x259311=Ci(_0x51bd25,_0x1ac0bc,_0x285bba,_0x5cc33d,_0x4c001c,_0x49374d);return _0x259311 instanceof re?_0x259311['_schedule']():(_0x259311 instanceof ae||_0x259311 instanceof _e)&&_0x259311['resend'](),_0x259311;}['resend'](){var _0x260b60=_0x46936e;throw new Error(_0x260b60(0x468));}};ue=Ee([P(0x5,_0x27e9d5(_0x494ce2)),P(0x6,_0x27e9d5(_0x52c859)),P(0x7,_0x4e232a),P(0x8,_0x578288),P(0x9,_0x4eeaca(J))],ue);let Q=class extends Ie{constructor(_0x5e2ffa,_0x1b3dd,_0x5e43b6,_0x476527,_0x34bbab,_0x1f6bfc,_0x55f93d,_0x1bfd79,_0x565e23,_0x22e9de,_0x2aa8da,_0x5d70e7,_0x1b4c83,_0x275071){var _0x53be5a=_0x46936e;super(_0x5e2ffa,_0x1b3dd,_0x5e43b6,_0x476527,_0x55f93d,_0x2aa8da,_0x5d70e7,_0x565e23,_0x275071),N(this,_0x53be5a(0x41e),_0x53be5a(0x25f)),(this[_0x53be5a(0x431)]=_0x34bbab,this[_0x53be5a(0x365)]=_0x1f6bfc,this['_injector']=_0x1bfd79,this[_0x53be5a(0x1ce)]=_0x22e9de,this[_0x53be5a(0x20f)]=_0x1b4c83,this[_0x53be5a(0x404)]=_0x275071);}[_0x46936e(0x40f)](_0x24180b){var _0x303cc2=_0x46936e;try{const _0x16fd8b=[..._0x24180b,...this[_0x303cc2(0x365)]],_0x23e1f3=[this[_0x303cc2(0x386)]||this[_0x303cc2(0x431)]][_0x303cc2(0x383)](_0x4a3e4e=>!!_0x4a3e4e);let _0x1638de,_0x4fdddb;if(_0x23e1f3[_0x303cc2(0x303)]){const _0x15fca9=this[_0x303cc2(0x20f)]['transformChangesets'](_0x16fd8b,_0x23e1f3,!0x1);if(!_0x485575(_0x15fca9))throw _0x15fca9[_0x303cc2(0x337)];_0x1638de=_0x15fca9[_0x303cc2(0x3f0)],_0x4fdddb=_0x15fca9['c2Prime'];}else _0x1638de=_0x16fd8b,_0x4fdddb=[];let _0x5ee944=this[_0x303cc2(0x330)];_0x1638de['forEach'](_0x30d08a=>{var _0x5f253c=_0x303cc2;let _0x45334e;if(_0x5ee944[_0x5f253c(0x303)]){const _0x5a1a40=this['_transformService'][_0x5f253c(0x1c5)](_0x30d08a,_0x5ee944);if(!_0x2d2658(_0x5a1a40))throw _0x5a1a40[_0x5f253c(0x337)];_0x45334e=_0x5a1a40['c1Prime'],_0x5ee944=_0x5a1a40[_0x5f253c(0x30b)];}else _0x45334e=_0x30d08a;this[_0x5f253c(0x43a)](_0x45334e);}),this[_0x303cc2(0x431)]&&this[_0x303cc2(0x206)](),this[_0x303cc2(0x386)]&&_0x4fdddb[_0x303cc2(0x303)]&&(_0x4fdddb[0x0]['baseRev']=this[_0x303cc2(0x474)]());let _0x3bf916;if(this['_awaitingChangeset']&&_0x5ee944[_0x303cc2(0x303)]!==0x0)_0x3bf916=this[_0x303cc2(0x448)][_0x303cc2(0x30d)](ae,this[_0x303cc2(0x40e)],this[_0x303cc2(0x32d)],_0x4fdddb[0x0],_0x5ee944,this['_handler'],void 0x0);else{if(this[_0x303cc2(0x386)]&&_0x5ee944[_0x303cc2(0x303)]===0x0)_0x4fdddb[0x0][_0x303cc2(0x1b3)]=this[_0x303cc2(0x474)](),_0x3bf916=this[_0x303cc2(0x448)]['createInstance'](_e,this[_0x303cc2(0x40e)],this[_0x303cc2(0x32d)],_0x4fdddb[0x0],this[_0x303cc2(0x22c)]);else{if(_0x5ee944['length']!==0x0){const _0x411ce9=this[_0x303cc2(0x448)][_0x303cc2(0x30d)](re,this[_0x303cc2(0x40e)],this['type'],_0x5ee944,this['_handler']);_0x411ce9[_0x303cc2(0x26c)](),_0x3bf916=_0x411ce9;}else _0x3bf916=this[_0x303cc2(0x448)][_0x303cc2(0x30d)](ye,this[_0x303cc2(0x40e)],this[_0x303cc2(0x32d)],this[_0x303cc2(0x22c)]);}}return _0x3bf916[_0x303cc2(0x316)](),_0x3bf916;}catch(_0x6d40c7){return this[_0x303cc2(0x1ce)][_0x303cc2(0x337)](_0x303cc2(0x26d),'failed\x20to\x20apply\x20missed\x20changesets!',_0x6d40c7),this[_0x303cc2(0x448)]['createInstance'](le,this['unitID'],this[_0x303cc2(0x32d)],this[_0x303cc2(0x386)],this[_0x303cc2(0x330)],this[_0x303cc2(0x22c)],!0x1);}}[_0x46936e(0x3fa)](){var _0x13a9a8=_0x46936e;throw new Error(_0x13a9a8(0x3b4));}[_0x46936e(0x35b)](_0x460289){var _0x204b28=_0x46936e;return this[_0x204b28(0x330)][_0x204b28(0x1f7)](_0x460289),this;}['onRemoteChangeset'](_0x3631d8){var _0x3b8801=_0x46936e;return this[_0x3b8801(0x365)][_0x3b8801(0x1f7)](_0x3631d8),this;}[_0x46936e(0x1ad)](_0x2dc7c0){var _0x3b481f=_0x46936e;if(this[_0x3b481f(0x386)])return this[_0x3b481f(0x431)]=this['_awaitingChangeset'],this[_0x3b481f(0x386)]=null,this;throw new Error(_0x3b481f(0x37f));}[_0x46936e(0x2dd)](_0x2e0037){var _0x44a392=_0x46936e;return this[_0x44a392(0x457)](!!(_0x2e0037!=null&&_0x2e0037[_0x44a392(0x409)]));}[_0x46936e(0x427)](){return this;}[_0x46936e(0x2c0)](){var _0x3254fb=_0x46936e;return this[_0x3254fb(0x448)][_0x3254fb(0x30d)](ue,this[_0x3254fb(0x40e)],this[_0x3254fb(0x32d)],this[_0x3254fb(0x386)],this[_0x3254fb(0x330)],this['_handler']);}[_0x46936e(0x377)](){return this;}[_0x46936e(0x457)](_0x46d835){var _0x3715ca=_0x46936e;return this[_0x3715ca(0x448)]['createInstance'](le,this['unitID'],this[_0x3715ca(0x32d)],this[_0x3715ca(0x386)],this[_0x3715ca(0x330)],this[_0x3715ca(0x22c)],_0x46d835);}};Q=Ee([P(0x7,_0x27e9d5(_0x494ce2)),P(0x8,_0x27e9d5(_0x52c859)),P(0x9,_0xf70a07),P(0xa,_0x4e232a),P(0xb,_0x578288),P(0xc,_0x50166a),P(0xd,_0x4eeaca(J))],Q);function Ci(_0x243064,_0x2a32d1,_0x1f8ac3,_0x2dca35,_0x5e6be3,_0x48039f){var _0x4cde7f=_0x46936e;return _0x2dca35&&_0x5e6be3[_0x4cde7f(0x303)]?_0x243064[_0x4cde7f(0x30d)](ae,_0x2a32d1,_0x1f8ac3,_0x2dca35,_0x5e6be3,_0x48039f,void 0x0):_0x2dca35?_0x243064[_0x4cde7f(0x30d)](_e,_0x2a32d1,_0x1f8ac3,_0x2dca35,_0x48039f):_0x5e6be3[_0x4cde7f(0x303)]?_0x243064[_0x4cde7f(0x30d)](re,_0x2a32d1,_0x1f8ac3,_0x5e6be3,_0x48039f):_0x243064[_0x4cde7f(0x30d)](ye,_0x2a32d1,_0x1f8ac3,_0x48039f);}var qs=Object[_0x46936e(0x2c3)],wt=(_0x54e05c,_0x32f1b0,_0x5a08e4,_0x50b2f2)=>{var _0x625c33=_0x46936e;for(var _0x4aa9ca=_0x50b2f2>0x1?void 0x0:_0x50b2f2?qs(_0x32f1b0,_0x5a08e4):_0x32f1b0,_0x2e0020=_0x54e05c[_0x625c33(0x303)]-0x1,_0x3a2ec2;_0x2e0020>=0x0;_0x2e0020--)(_0x3a2ec2=_0x54e05c[_0x2e0020])&&(_0x4aa9ca=_0x3a2ec2(_0x4aa9ca)||_0x4aa9ca);return _0x4aa9ca;},H=(_0x3396cf,_0xd189bd)=>(_0x5e3d08,_0x3aa327)=>_0xd189bd(_0x5e3d08,_0x3aa327,_0x3396cf);let st=class extends _0x15d826{constructor(_0x6a39f7,_0x405794,_0x3bc28b,_0x26a908,_0x154ca8,_0x56d547,_0x5534ed,_0x294880,_0x4e6b06,_0x559e6f,_0x127d38,_0x3c9bba,_0x264e1f){var _0xfc43ea=_0x46936e;super(),N(this,_0xfc43ea(0x24f),new _0x149e59(null)),N(this,_0xfc43ea(0x3b6),this['_state$'][_0xfc43ea(0x19d)]()),N(this,_0xfc43ea(0x249)),N(this,'_collaborationPaused',!0x1),N(this,_0xfc43ea(0x21f),''),N(this,_0xfc43ea(0x1cb),0x0),N(this,'status$',this[_0xfc43ea(0x3b6)][_0xfc43ea(0x2b1)](_0x107eaa(_0x45f958=>_0x45f958?_0x45f958[_0xfc43ea(0x41e)]:Ii[_0xfc43ea(0x36d)]),_0x5df6ff(0x1))),N(this,_0xfc43ea(0x1a3),!0x1),N(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x6a39f7,this[_0xfc43ea(0x454)]=_0x405794,this['_type']=_0x3bc28b,this['_injector']=_0x26a908,this[_0xfc43ea(0x277)]=_0x154ca8,this[_0xfc43ea(0x3e0)]=_0x56d547,this[_0xfc43ea(0x378)]=_0x5534ed,this[_0xfc43ea(0x248)]=_0x294880,this[_0xfc43ea(0x1ce)]=_0x4e6b06,this[_0xfc43ea(0x1da)]=_0x559e6f,this[_0xfc43ea(0x426)]=_0x127d38,this['_singleActiveUnitService']=_0x3c9bba,this[_0xfc43ea(0x338)]=_0x264e1f);}get[_0x46936e(0x48c)](){var _0x90b7f0=_0x46936e;return this[_0x90b7f0(0x249)];}async['init'](){var _0x5ed944=_0x46936e;if(this['state'])throw new Error(_0x5ed944(0x466));await this[_0x5ed944(0x3c6)]();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0x37ea53(()=>{var _0xa642f5=_0x1209;this[_0xa642f5(0x2d7)]=!0x1,this[_0xa642f5(0x315)]();});}[_0x46936e(0x396)](_0x1fc416){var _0x47ea94=_0x46936e;this[_0x47ea94(0x2b2)](_0x1fc416);}['_updateState'](_0x2bf7e1){var _0xc66535=_0x46936e;this[_0xc66535(0x249)]=_0x2bf7e1,this[_0xc66535(0x24f)]['next'](_0x2bf7e1);}async[_0x46936e(0x3c6)](){var _0x3454c1=_0x46936e,_0x4362cc;this[_0x3454c1(0x210)](await this['_createInitialState']()),this[_0x3454c1(0x218)]&&((_0x4362cc=this[_0x3454c1(0x218)])==null||_0x4362cc[_0x3454c1(0x305)](this[_0x3454c1(0x40e)]),this[_0x3454c1(0x2bc)](this[_0x3454c1(0x218)][_0x3454c1(0x345)](this[_0x3454c1(0x40e)])['subscribe'](_0x194190=>{var _0x488e82=_0x3454c1;this[_0x488e82(0x1ce)]['debug'](_0x488e82(0x225),_0x488e82(0x3c8),_0x194190),_0x194190===Si['OTHER_CLIENTS_EDITING']?(this[_0x488e82(0x248)][_0x488e82(0x283)]({'id':ne[_0x488e82(0x31a)]}),this[_0x488e82(0x426)]['updatePermissionPoint'](new _0x2434c5(this['unitID'])['id'],!0x1),this[_0x488e82(0x426)][_0x488e82(0x1b8)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x2434c5(this[_0x488e82(0x40e)])['id'],!0x0),this[_0x488e82(0x426)]['setShowComponents'](!0x0));})));let _0x5f3b9f=!0x1;return this['disposeWithMe'](this[_0x3454c1(0x454)]['sessionStatus$'][_0x3454c1(0x2e5)](_0x52479a=>{var _0x475d34=_0x3454c1;_0x52479a===ge[_0x475d34(0x3ac)]?this[_0x475d34(0x360)](_0x5f3b9f):_0x52479a===ge['OFFLINE']&&(_0x5f3b9f=!0x0,this[_0x475d34(0x1ac)]());})),this[_0x3454c1(0x2bc)](this['session'][_0x3454c1(0x40b)][_0x3454c1(0x2e5)](_0x45facb=>{var _0x58c41b=_0x3454c1;try{switch(_0x45facb['eventID']){case _0x5d6c64[_0x58c41b(0x3b0)]:{this['_onRemoteChangeset'](_0x3487bb(_0x45facb[_0x58c41b(0x32e)]));break;}case _0x5d6c64['CHANGESET_ACK']:{this['_onRemoteACK'](_0x45facb[_0x58c41b(0x32e)]);break;}case _0x5d6c64['CHANGESET_REJ']:{this[_0x58c41b(0x488)]();break;}case _0x5d6c64[_0x58c41b(0x3c3)]:{this[_0x58c41b(0x287)](_0x45facb[_0x58c41b(0x32e)]);break;}case _0x5d6c64[_0x58c41b(0x449)]:{this[_0x58c41b(0x327)](_0x45facb[_0x58c41b(0x32e)][_0x58c41b(0x242)][_0x58c41b(0x1f1)](_0x2c4d64=>_0x3487bb(_0x2c4d64)));break;}case _0x5d6c64[_0x58c41b(0x230)]:{this[_0x58c41b(0x488)]({'isPermissionRej':!0x0});break;}case _0x5d6c64[_0x58c41b(0x3bd)]:break;}}catch(_0x2b2edb){throw console[_0x58c41b(0x337)](_0x58c41b(0x217),_0x2b2edb),_0x2b2edb;}})),this[_0x3454c1(0x249)];}[_0x46936e(0x369)](){var _0x558730=_0x46936e;this[_0x558730(0x1a3)]=!0x1;}[_0x46936e(0x395)](){var _0x325a34=_0x46936e;if(this[_0x325a34(0x1a3)])throw new Error(_0x325a34(0x336));this[_0x325a34(0x1a3)]=!0x0;}['_onLocalMutation'](_0x3637b8){var _0x27f66a=_0x46936e;this[_0x27f66a(0x395)](),this[_0x27f66a(0x210)](this['_state'][_0x27f66a(0x35b)](_0x3637b8)),this[_0x27f66a(0x369)]();}['_onRemoteChangeset'](_0x307ec9){var _0x428a7c=_0x46936e;if(!(_0x307ec9[_0x428a7c(0x1d2)]<=this[_0x428a7c(0x378)][_0x428a7c(0x29d)](this[_0x428a7c(0x40e)]))){if(this[_0x428a7c(0x2d7)]){this['_remoteChangesetQueue']['push'](_0x307ec9);return;}this[_0x428a7c(0x3b3)](_0x307ec9);}}['_exhaustRemoteChangesetQueue'](){var _0xea9a5a=_0x46936e;this[_0xea9a5a(0x3db)]['forEach'](_0x5d80f1=>this['_applyRemoteChangeset'](_0x5d80f1)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x12c3a0){var _0x391c97=_0x46936e;const _0x414391=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x391c97(0x277)][_0x391c97(0x1b7)][_0x391c97(0x48d)]()[_0x391c97(0x416)])(_0x12c3a0[_0x391c97(0x1ef)],null)||_0x12c3a0[_0x391c97(0x1ef)],_0x4ad5d7={..._0x12c3a0,'mutations':_0x414391};this['_lockTransition'](),this[_0x391c97(0x210)](this[_0x391c97(0x249)][_0x391c97(0x1e5)](_0x4ad5d7)),this[_0x391c97(0x369)]();}[_0x46936e(0x262)](_0x8fdbdd){var _0x2f1d72=_0x46936e;this[_0x2f1d72(0x395)](),this['_updateState'](this[_0x2f1d72(0x249)][_0x2f1d72(0x1ad)](_0x8fdbdd)),this['_unlockTransition']();}[_0x46936e(0x488)](_0x11c2d1){var _0x2d1657=_0x46936e;this['_lockTransition'](),this['_updateState'](this[_0x2d1657(0x249)][_0x2d1657(0x2dd)](_0x11c2d1)),this[_0x2d1657(0x369)]();}[_0x46936e(0x287)](_0x30b389){var _0x52ec40=_0x46936e;this[_0x52ec40(0x395)](),this[_0x52ec40(0x210)](this[_0x52ec40(0x249)][_0x52ec40(0x427)](_0x30b389)),this['_unlockTransition']();}[_0x46936e(0x327)](_0x2ef5d1){var _0x5e0567=_0x46936e;if(!(this[_0x5e0567(0x249)]instanceof Q))throw new TypeError(_0x5e0567(0x3d1));const _0x52a7af=_0x2ef5d1['map'](_0x17ba32=>{var _0x141e9d=_0x5e0567;const _0x2ec775=this['_compressMutationService']['interceptor'][_0x141e9d(0x2f6)](this[_0x141e9d(0x277)][_0x141e9d(0x1b7)][_0x141e9d(0x48d)]()[_0x141e9d(0x416)])(_0x17ba32['mutations'],null)||_0x17ba32[_0x141e9d(0x1ef)];return{..._0x17ba32,'mutations':_0x2ec775};});this['_lockTransition'](),this['_updateState'](this[_0x5e0567(0x249)]['onMissedChangesetFetched'](_0x52a7af)),this[_0x5e0567(0x369)]();}['_toggleOffline'](){var _0x26bfca=_0x46936e;this[_0x26bfca(0x395)](),this[_0x26bfca(0x210)](this[_0x26bfca(0x249)]['toggleOffline']()),this[_0x26bfca(0x369)]();}[_0x46936e(0x360)](_0x113447=!0x1){var _0x33a5be=_0x46936e;this[_0x33a5be(0x395)](),this['_updateState'](this[_0x33a5be(0x249)]['toggleOnline']()),this['_unlockTransition']();const _0x37b5b5=this[_0x33a5be(0x249)];_0x113447&&_0x37b5b5 instanceof ye&&(this['_lockTransition'](),this[_0x33a5be(0x210)](_0x37b5b5['fetchMiss']()),this[_0x33a5be(0x369)]());}async[_0x46936e(0x1e4)](){return new Promise(_0x4c74bd=>{var _0x38a8a7=_0x1209;this['session'][_0x38a8a7(0x1f4)][_0x38a8a7(0x2b1)](_0x161f89(0x1))[_0x38a8a7(0x2e5)](async _0x177b5f=>{var _0x44aecb=_0x38a8a7;_0x4c74bd(await this[_0x44aecb(0x450)](_0x177b5f===ge[_0x44aecb(0x3ac)]));});});}['_createHandler'](){var _0x576d06=_0x46936e;const _0x51f4db=this[_0x576d06(0x40e)];return{'onStateChange':(_0x2a1779,_0x518885)=>{var _0x1fad8d=_0x576d06;if(_0x2a1779!==this[_0x1fad8d(0x249)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x2a1779[_0x1fad8d(0x41e)]+_0x1fad8d(0x3a4)+_0x518885[_0x1fad8d(0x41e)]+_0x1fad8d(0x3b8)+this['_state'][_0x1fad8d(0x41e)]);this[_0x1fad8d(0x210)](_0x518885);},'onSendChangeset':_0x465186=>{var _0x35b63c=_0x576d06;_0x465186[_0x35b63c(0x324)]||(_0x465186[_0x35b63c(0x324)]=this[_0x35b63c(0x21f)],_0x465186[_0x35b63c(0x28c)]=++this[_0x35b63c(0x1cb)]);const _0x39f113={'eventID':_0x5d6c64[_0x35b63c(0x1e1)],'data':{'unitID':_0x465186[_0x35b63c(0x40e)],'unitType':this[_0x35b63c(0x402)],'changeset':_0x465186,'memberID':this[_0x35b63c(0x454)][_0x35b63c(0x29e)]()}};this[_0x35b63c(0x454)][_0x35b63c(0x1a0)](_0x39f113,this[_0x35b63c(0x40e)]);},'onMissingChangesets':({from:_0x1bea25,to:_0x370183})=>{var _0x1d620b=_0x576d06;this[_0x1d620b(0x1ce)][_0x1d620b(0x3d4)](_0x1d620b(0x225),_0x1d620b(0x2c7)+_0x1bea25+_0x1d620b(0x3aa)+_0x370183);const _0x18c5fb={'eventID':_0x5d6c64[_0x1d620b(0x3d8)],'data':{'unitID':_0x51f4db,'unitType':this[_0x1d620b(0x402)],'from':_0x1bea25,'to':_0x370183}};this[_0x1d620b(0x454)]['send'](_0x18c5fb,this[_0x1d620b(0x40e)]);}};}async['_createInitialStateImpl'](_0x2c81d5){var _0x96edc0=_0x46936e,_0x4288b6,_0x1a6c33,_0x2c1aec;const _0x18f316=await((_0x4288b6=this[_0x96edc0(0x338)])==null?void 0x0:_0x4288b6[_0x96edc0(0x1f5)](this[_0x96edc0(0x40e)])),_0x26235c=(_0x1a6c33=_0x18f316==null?void 0x0:_0x18f316[_0x96edc0(0x1ef)])!=null?_0x1a6c33:[],_0x4b46da=(_0x2c1aec=_0x18f316==null?void 0x0:_0x18f316[_0x96edc0(0x43f)])!=null?_0x2c1aec:null,_0x180c3c=!!(_0x4b46da!=null&&_0x4b46da[_0x96edc0(0x324)])&&!!(_0x4b46da!=null&&_0x4b46da[_0x96edc0(0x28c)]);this[_0x96edc0(0x21f)]=_0x180c3c?_0x4b46da[_0x96edc0(0x324)]:_0x437dfe(),this[_0x96edc0(0x1cb)]=_0x180c3c?_0x4b46da['reqId']:0x0;const _0x194609=this['unitID'];try{this[_0x96edc0(0x2f0)](_0x4b46da,_0x26235c);}catch(_0x2b7325){this['_logService'][_0x96edc0(0x337)](_0x2b7325);}const _0x28e544=this['_createHandler']();if(_0x2c81d5){const _0x7ddb27=Ci(this['_injector'],_0x194609,this[_0x96edc0(0x402)],_0x4b46da,_0x26235c,_0x28e544);return _0x7ddb27 instanceof re?_0x7ddb27[_0x96edc0(0x26c)]():(_0x7ddb27 instanceof ae||_0x7ddb27 instanceof _e)&&_0x7ddb27[_0x96edc0(0x3fa)](),_0x7ddb27;}return this['_injector'][_0x96edc0(0x30d)](ue,_0x194609,this['_type'],_0x4b46da,_0x26235c,_0x28e544);}[_0x46936e(0x2f0)](_0x360cda,_0x43733e){var _0x24b636=_0x46936e,_0x33ab26,_0x2f2d6e;const _0x28805c=this[_0x24b636(0x277)][_0x24b636(0x1b7)][_0x24b636(0x2f6)](this[_0x24b636(0x277)][_0x24b636(0x1b7)][_0x24b636(0x48d)]()['COMPRESS_MUTATION_APPLY']);(_0x33ab26=_0x28805c((_0x360cda==null?void 0x0:_0x360cda[_0x24b636(0x1ef)])||[],null))==null||_0x33ab26[_0x24b636(0x3cc)](_0x5b39f2=>this['_commandService'][_0x24b636(0x3af)](_0x5b39f2['id'],_0x5b39f2[_0x24b636(0x1c3)])),(_0x2f2d6e=_0x28805c(_0x43733e||[],null))==null||_0x2f2d6e['forEach'](_0x3256d6=>this[_0x24b636(0x1da)][_0x24b636(0x3af)](_0x3256d6['id'],_0x3256d6['params']));}};st=wt([H(0x3,_0x27e9d5(_0x494ce2)),H(0x4,_0x27e9d5(_0x310443)),H(0x5,_0x27e9d5(_0x4c8329)),H(0x6,_0x27e9d5(_0x52c859)),H(0x7,_0x27e9d5(ve)),H(0x8,_0xf70a07),H(0x9,_0x4e232a),H(0xa,_0x4e46fc),H(0xb,_0x4eeaca(ht)),H(0xc,_0x4eeaca(J))],st);let St=class extends st{constructor(_0x43e161,_0x20d408,_0x549c65,_0x1322e3,_0x301d05,_0x41c678,_0x2730be,_0x2bebff,_0x512d1b,_0x1818e6,_0x41cb08,_0x46a9c6,_0x44f2e8){var _0x244313=_0x46936e;super(_0x43e161,_0x549c65,_0x20d408,_0x1322e3,_0x301d05,_0x41c678,_0x2730be,_0x2bebff,_0x512d1b,_0x1818e6,_0x41cb08,_0x46a9c6,_0x44f2e8),N(this,_0x244313(0x258),null),(this[_0x244313(0x40e)]=_0x43e161,this[_0x244313(0x32d)]=_0x20d408);}[_0x46936e(0x1f0)](_0xe8a4b6){this['_handlerCallback']=_0xe8a4b6;}['dispose'](){var _0x389cf9=_0x46936e;this[_0x389cf9(0x258)]=null,super[_0x389cf9(0x291)]();}[_0x46936e(0x399)](){var _0x486017=_0x46936e;const _0x46642c=super[_0x486017(0x399)]();return _0x46642c[_0x486017(0x340)]=_0x560538=>{var _0x54a41c=_0x486017,_0x39f1db,_0x319f5c;return(_0x319f5c=(_0x39f1db=this[_0x54a41c(0x258)])==null?void 0x0:_0x39f1db['onTransformIME'])==null?void 0x0:_0x319f5c['call'](_0x39f1db,_0x560538);},_0x46642c['onTransformState']=_0x361a2f=>{var _0x4b9734=_0x486017,_0x9dfdc2,_0x3ac5b6;return(_0x3ac5b6=(_0x9dfdc2=this['_handlerCallback'])==null?void 0x0:_0x9dfdc2[_0x4b9734(0x1ba)])==null?void 0x0:_0x3ac5b6[_0x4b9734(0x30e)](_0x9dfdc2,_0x361a2f);},_0x46642c[_0x486017(0x239)]=_0x333550=>{var _0x4a4e7d=_0x486017,_0x2afc90,_0x3023f1;return(_0x3023f1=(_0x2afc90=this[_0x4a4e7d(0x258)])==null?void 0x0:_0x2afc90[_0x4a4e7d(0x239)])==null?void 0x0:_0x3023f1[_0x4a4e7d(0x30e)](_0x2afc90,_0x333550);},_0x46642c[_0x486017(0x23c)]=_0x430069=>{var _0x2abce=_0x486017,_0x34c341,_0x20ae5f;return(_0x20ae5f=(_0x34c341=this[_0x2abce(0x258)])==null?void 0x0:_0x34c341['onSyncEditingCollabCursor'])==null?void 0x0:_0x20ae5f[_0x2abce(0x30e)](_0x34c341,_0x430069);},_0x46642c['onTransformRemoteChangesetByIMECache']=_0x5490d7=>{var _0x1be806=_0x486017,_0x10b1cf,_0x1ce2ea,_0x56e5e8;if(!((_0x10b1cf=this[_0x1be806(0x258)])!=null&&_0x10b1cf[_0x1be806(0x2a3)]))throw new Error(_0x1be806(0x46f));return(_0x56e5e8=(_0x1ce2ea=this[_0x1be806(0x258)])==null?void 0x0:_0x1ce2ea[_0x1be806(0x2a3)])==null?void 0x0:_0x56e5e8[_0x1be806(0x30e)](_0x1ce2ea,_0x5490d7);},_0x46642c[_0x486017(0x46d)]=_0x4c2bdc=>{var _0x426ad1=_0x486017,_0x4a753a,_0x58d5b1,_0x45a782;if(!((_0x4a753a=this['_handlerCallback'])!=null&&_0x4a753a[_0x426ad1(0x46d)]))throw new Error(_0x426ad1(0x34e));return(_0x45a782=(_0x58d5b1=this['_handlerCallback'])==null?void 0x0:_0x58d5b1['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x45a782['call'](_0x58d5b1,_0x4c2bdc);},_0x46642c;}async['_init'](){var _0x5c1786=_0x46936e;const _0x5ab7dc=await super['_init']();return this[_0x5c1786(0x2bc)](this[_0x5c1786(0x1da)]['onCommandExecuted']((_0x2db1f4,_0x1072c1)=>{var _0x56aa7e=_0x5c1786;if(_0x2db1f4[_0x56aa7e(0x32d)]!==_0x2bd96a[_0x56aa7e(0x2b0)]||_0x1072c1!=null&&_0x1072c1[_0x56aa7e(0x1a6)]||_0x1072c1!=null&&_0x1072c1[_0x56aa7e(0x289)]||_0x2db1f4['id']===_0x3f8c1b['id'])return;const _0x3c16b6=_0x2db1f4['params'];if((_0x3c16b6==null?void 0x0:_0x3c16b6['unitId'])!==this['unitID'])return;const _0x5bc93c=_0x2db1f4,_0x3c0d92=this['_compressMutationService'][_0x56aa7e(0x1b7)][_0x56aa7e(0x2f6)](this[_0x56aa7e(0x277)][_0x56aa7e(0x1b7)][_0x56aa7e(0x48d)]()['COMPRESS_MUTATION_SEND'])([_0x5bc93c],null)||[_0x5bc93c];this[_0x56aa7e(0x2b2)](_0x3c0d92[0x0]);})),_0x5ab7dc;}};function _0x1d40(){var _0x5c501e=['error$','hasher','CHANGESET_REVISION_CONFILICT','delete','sid','_onConnectionOpen','then','_onFetchMissResult','_redoStacks','getUnitType','246zTjIoF','HmacMD5','MD5','type','data','stopTime','_pendingMutations','_sendHeartbeatTimer','getTime','[PendingState]:\x20received\x20acknowledgement.','format','1440mpZkOM','[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.','error','_localCacheService','ERROR_IMAGE_TYPE','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','indexOf','AES','_waitForHeartbeatResponse','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_nRounds','onTransformIME','10745945yJqtxm','UPDATE_CURSOR','from','_xformMode','getUnitStatus$','collaboration-client.config','Undefined','csShouldRetryEvent','_ENC_XFORM_MODE','UNIVER_DOC','_retryCount','Decryptor','_getLoginPath','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_candidateSocket','APPLY_REJECT','open$','DEFAULT_FILE_NAME','_telemetryService','readInt32LE','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','deepClone','conflict','/universer-api/stream/file/upload','APPLY_NON_SEQUENTIAL_REVISION','_clearScheduledTask','appendMutation','YUUMI_CONNECTOR_URL_NOT_FOUND','_getRedoStack','socket$','UNAUTHENTICATED','_toggleOnline','dispose$','_DEC_XFORM_MODE','AWAITING','_createHelper','_queuedRemoteChangesets','__Key__','message$','48913887jGzBHU','_unlockTransition','onSendChangeset','removeMember','newCsEvent','OFFLINE','image/png','session.room-permission-denied','_undoRedoService','_onCombEvent','CONNECTOR_DATA_TOO_LARGE','pending','CONFLICT','registerHTTPInterceptor','COMPRESS_MUTATION_SEND','toggleOnline','_revisionService','function','[CollaborationUndoRedoService]','enableSingleActiveInstanceLock','Encryptor','LIVESHARE_REQUEST_HOST','_clearTimeoutTimer','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','finalize','saveImage','BufferedBlockAlgorithm','filter','univer-pro.collaboration-client.single-active-unit-service','concat','_awaitingChangeset','USERS_LEAVE','decrypt','objectType','ALREADY_EXISTS','words','objectID','[CollaborationSessionService]:\x20socket\x20error','resolve','compute','&to=','selections','find','collaboratorID','UnitEmbedded','_lockTransition','onLocalMutation','setCurrentUser','repeat','_createHandler','_resendTimer','updateOfflineData','ERROR_IMAGE','[PendingState]:\x20received\x20rejection.','16uQMoHe','findIndex','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','Pkcs7','_instanceService','memberID','\x0aAfter:\x20','buffer','list','/universer-api/uniscript','synced','LEAVE','\x20to\x20','leaveEvent','ONLINE','_timeoutTimer','_resendTimeout','executeCommand','NEW_CHANGESETS','\x20in\x20_schedule.','encryptBlock','_applyRemoteChangeset','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','WordArray','state$','prototype','\x0aCurrent:\x20','csRejEvent','execute','_commentService','Hasher','UNISCRIPT_RUN','NOT_COLLAB','_syncEditingCollabCursor','&source=','_resendWithTimeout','_cipher','CHANGESET_SHOULD_RETRY','sigBytes','__creator','_init','action','editing\x20status\x20changed\x20to','YUUMI_URL_COL_OUT_OF_RANGE','algo','NO_OTHER_CLIENTS_EDITING','forEach','PERMISSION_DENIED','UNKNOWN_CMD','_joinRoom','_keyPriorReset','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','HEARTBEAT','9956550tSzqbY','debug','COMMENT_UPDATE','unit-cache-','APPLY_REVISION_CONFILICT','FETCH_MISSING','_throwTelemetryCollaborationNewChangeset','getActiveSheet','_remoteChangesetQueue','file','reconnect','?size=','/resources','_localeService','getAllMembers','UNIVER_COLLABORATION_CLIENT_PLUGIN','byteOffset','_iv','post','subject','_socket','socketService','onCommentUpdate','default','padding','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','/block/','apply','transformChangesets','c1Prime','SerializableCipher','hasOwnProperty','_commentUpdate$','createSocket','online$','getConfig','avatar','unpad','/universer-api/oidc/authpage','resend','SHOULD_CLOSE_CONN','name','saveSheetBlock','image/jpg','_undoStacks','abs','_transformUndoredo','_type','getValue','localCacheService','SNAPSHOT_URL_KEY','CBC','size','collabWebSocketUrl','isPermissionRej','_collaborationSessionService','event$','_scheduleCompleteTimestamp','USER_NOT_INVITED_CODE','unitID','onMissedChangesetFetched','_sendingTimer','mode','_retryConnectingTimer','13998zzRqKh','_members','_collabSessionService','COMPRESS_MUTATION_APPLY','JOIN','saveSnapshot','href','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getWorkbookSelections','Could\x20not\x20dynamically\x20require\x20\x22','_append','status','uploadFileServerUrl','/universer-api/authz','HMAC','deleteCollaborator','unitId','closeSession','UNIVER_UNKNOWN','_permissionService','onRemoteRetry','?url=','IDLE','Base64','_keySchedule','now','LICENSE_EXPORT_SIZE_EXCEEDED','splice','originalMeta','PasswordBasedCipher','_acknowledgedAwaitingChangeset','salt','_roomMembers','JOINING','_sheetTransformSelectionsService','close$','_replaceFileID','_nDataBytes','_createHmacHelper','_executeRemoteChangeset','_univerInstanceService','_transformSelections','unsubscribe','ivSize','awaitingChangeset','ceil','/universer-api/comb','/rev/','_updateStatus','auth.needGotoLoginAlert','&assign=','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_invKeySchedule','_injector','PSEUDO_FETCH_MISSING_RESULT','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','enc','_unitInfo$','updatePermissionPoint','mixIn','_userManagerService','_createInitialStateImpl','getFocusedUnit','_doCreateSocket','floor','session','encrypt','LIVESHARE_OPERATION','_onConflict','reject','YUUMI_RATE_OVER_LIMIT','INVITE_CODE_ALREADY_BOUND','LIVESHARE_FETCH_OPERATIONS','_clearLocalCache','_disableEditing','isArray','defineProperty','getCollabEntity$','SUCCUSS','[SyncedState]:\x20received\x20rejection.','getCurrentSelections','loadUnit','cfg','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_getUndoStack','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','LOGIN_FAILED','disableLocalCache','INTERNAL_ERROR','requireSession','onTransformRemoteChangesetByStateCache','8059PFZYLf','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_transformRemoteChangesetByIMECache','_memberService','_tryReconnect','setWaitCount','_getCurrentRevision','SYNCED','toString','extend','CLOSE_ROOM','_collaborationUIEventService','Cipher','getSheetBlock','_onMessage','hostname','onStateChange','_doReset','ciphertext','YUUMI_TABLE_NOT_FOUND_IN_UNIT','commentUpdateEvent','_listenToNetworkCondition','_doProcessBlock','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','method','fromCharCode','_onRemoteRejected','awaiting_with_pending','getResourcesRequest','enableCollaboration','state','getInterceptPoints','YUUMI_AI_RUN_FAILED','snapshotServerUrl','infoRsp','lib','APPLY_DUPLICATED','_tryEnsureSocket','_rescheduleHeartbeat','asObservable','_members$','putCollaborators','send','add','_telemetryInfo','_transitionLocked','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','univer-pro.collaboration-client-socket-service','fromCollab','slice','PERSON','requestParams','_prevBlock','_snapshotServerService','_toggleOffline','onRemoteAck','_getAPIPrefix','EMAIL_HAS_BEEN_BOUND','authzUrl','_checkMissing','createDecryptor','baseRev','ENSURE_SNAPSHOT_EXECUTION','$super','fetchMiss','interceptor','setShowComponents','onload','onTransformState','loadUnitOfRevision','transformUndoRedo','SNAPSHOT_HAS_BEEN_REMOVED','_roomCreated$','\x20-\x20','location','_HTTPService','socket\x20close','params','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','transformMutationsWithChangeset','enableOfflineEditing','/object/','every','override','_socketService','_changesetReqId','YUUMI_NO_CUBOID_FOR_QUESTION','unknown','_logService','/new_changes','createEncryptor','clone','revision','[CollaborationSessionService]','_transformIMECache','next','_fetchMissChangesets','MSG_FOR_ERROR','formatter','code','_commandService','JOIN_ROOM_FULL','BlockCipher','exports','HELLO','duration','sendChangesetTimeout','SUBMIT_CHANGESET','Hex','_event$','_createInitialState','onRemoteChangeset','_collaborationTimeoutTimer','CipherParams','awaiting','kdf','_httpService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_doCryptBlock','Utf8','_sessions','mutations','addHandlerCallback','map','FETCH_MISS','equals','sessionStatus$','loadOfflineData','result','push','_mode','fetchMissingChangesets','OpenSSL','[OfflineState]:\x20received\x20rejection.','change$','_isPermissionRej','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_getDownloadEndpointURL','getCurrentUser','msCrypto','_createSocket','offline','YUUMI_SUBSCRIPTION_NOT_FOUND','pad','_incrementRevisionNumber','saveChangeset','unitInfo$','withCredentials','_clearHeartbeatTimer','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','joinEvent','_config','localeService','_transformService','_updateState','put','INVALID_ARGUMENT','/-/object/list','HEARTBEAT_TIMEOUT','INGEST','_unitID','Error\x20on\x20receiving\x20event','_singleActiveUnitService','9057PCUAVa','_imageSourceCache','focused$','set','WECHAT_HAS_BEEN_BOUND','encode','_changesetSessionId','byteLength','Malformed\x20UTF-8\x20data','image/gif','_emitMembers','session.join-failed','[CollaborationEntity]','_data','close','_onRecvEvent','_reverseMap','_getCtorByUniverType','PY_RUNTIME_SCRIPT_ERROR','_handler','GLOBAL_ROOMS_CNT_EXCEEDS','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','key','PERMISSION_REJ','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_entities','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','charCodeAt','_removeRoom','entityInit$','{fileID}','_socketReady','onTransformSelections','transformStack\x20failed!','COMPLETION_FINISHED','onSyncEditingCollabCursor','_map','_key','routeKey','charAt','shouldCloseConn','changesets','_getSignURL','createCollaborator','[OfflineState]:\x20received\x20acknowledgement.','EvpKDF','sessionStatus','_eventService','_state','startsWith','SUBMIT_CHANGESET_TIMEOUT','has','body','encodeURIComponent','_state$','_snapshotService','ERROR_EXCEED_SIZE','CHANGESET_ACK','actions','addImageSourceCache','_parse','patch','loadSheet','_handlerCallback','_entityInit$','setConfig','SNAPSHOT_INVALID_SNAPSHOT','liveShareOperation','members','/fetchmissing?from=','fetch_missing','_waitCount','_sender','_onRemoteACK','_transformRemoteChangesetByStateCache','_networkConditionService','joinRsp','getSnapshotAPIPath','/collaborator','substr','_transformStack','_socketMessageSubscription','update','_schedule','[FetchMissState]','url','_doFinalize','getSheetId','batchAllowed','incrementRevOfUnit','transformSelections','_onConnectionFailed','_showConflictNotification','[DataLoaderService]','_compressMutationService','LICENSE_MAX_UNITS_EXCEEDED','downloadEndpointUrl','_submitChangeset','_clearCollaborationTimeoutTimer','liveShareNewHost','collaborators','_substituteUndoStack','stringify','updateCollaborator','FAIL','USERS_ENTER','emitEvent','YUUMI_ASYNCIO_CANCELLED','onCommandExecuted','_hash','_onRemoteRetry','NoPadding','onlyLocal','listRoles','getUnitId','reqId','_oKey','updateMember','uniscriptRunEvent','POST','dispose','_registerDependencies','_startCollaboration','_onOffline','_transformStateCache','crypto','JOIN_ROOM_FAILED','_status$','UNKNOWN_CODE','_hasher','_initUnitPermissionChange','MOBILE_VERIFY_CODE_MISMATCH','getCurrentRevOfUnit','getMemberID','SOCKET_FAILED','getDeserializedSheetBlock','_process','refreshPermission','onTransformRemoteChangesetByIMECache','/unit/','min','collaboration-client.local-cache-service','getCollabEntity','EMAIL_VERIFY_CODE_MISMATCH','SOCKET_FAILED_RETRY','_stopTelemetryCollaborationNewChangeset','JOIN_ROOM_NOT_EXISTS','reduce','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','userID','onMissingChangesets','MUTATION','pipe','_onLocalMutation','blockSize','eventID','randomBytes','NOT_FOUND','LOCAL_CACHE_INTERVAL','textRanges','1645wqhKHC','join','UNDEFINED','disposeWithMe','ws://127.0.0.1:8000/universer-api/comb/connect','reverse','_configService','toggleOffline','image/jpeg','init','getOwnPropertyDescriptor','INVITE_CODE_HAS_BEEN_UES','Univer','get','fetching\x20missing\x20changesets\x20from\x20','_change$','getRandomValues','title','UnitSnapshot','_scheduleCollaborationTimeoutTimer','clear','readyForCollab','target','JOIN_ROOM_PERMISSION_DENIED','getLatestCsReqIdBySid','reset','_minBufferSize','waitForRoom$','SHA1','UNRECOGNIZED','_collaborationPaused','_onUserLeave','[CollaborationSession]','YUUMI_ALL_TABLES_IS_INVALID','create','catch','onRemoteRej','LIVESHARE_NEW_HOST','parse','_shouldReportTelemetry','session.room-full','[OfflineState]:\x20received\x20changeset.','_initDependencies','_sendHeartbeat','subscribe','updateCursorEvent','listCollaborators','enableAuthServer','roomInfos','HttpImport','keySize','_getSendChangesetTimeout','_clearRedo','LICENSE_DISTRO_REJECTED','OTHER_CLIENTS_EDITING','_replayCachedMutations','APPLY_PERMISSION_DENIED','allowed','signUrlServerUrl','_socket$','[CollaborationState]:\x20apply\x20error!','fetchThroughInterceptors','_decreaseWaiting','LIVESHARE_TERMINATE','RECV','string','/universer-api/file/{fileID}/sign-url','clamp','getMember','YUUMI_UNABLE_LOAD_URL','857241paaBNn','complete','_clearRetryConnectingTimer','unitId\x20is\x20not\x20found','length','Base','editingUnit','INVITE_CODE_REQUIRED','UNIVER_SHEET','_sessionStatus$','_substituteRedoStack','session.room-not-exists','m2Prime','UUID','createInstance','call','socket\x20open.','_initMergeInterceptor','UPDATE_PERMISSION_OBJ','getImage','decryptBlock','MOBILE_HAS_BEEN_BOUND','_exhaustRemoteChangesetQueue','_updateLocalCache','getTypeOfUnitDisposed$','HttpExport','getTypeOfUnitAdded$','OTHER_CLIENT_EDITING','getUnitOnRev','x-univer-host','cmd','roles','_getAPIPrefixPath'];_0x1d40=function(){return _0x5c501e;};return _0x1d40();}St=wt([H(0x3,_0x27e9d5(_0x494ce2)),H(0x4,_0x27e9d5(_0x310443)),H(0x5,_0x27e9d5(_0x4c8329)),H(0x6,_0x27e9d5(_0x52c859)),H(0x7,_0x27e9d5(ve)),H(0x8,_0xf70a07),H(0x9,_0x4e232a),H(0xa,_0x4e46fc),H(0xb,_0x4eeaca(ht)),H(0xc,_0x4eeaca(J))],St);let Et=class extends st{constructor(_0x40c0e5,_0x5111ad,_0x5e1317,_0x570941,_0x3413ef,_0x5c994a,_0x31c991,_0x550000,_0x129d6b,_0x573e5f,_0x4b45d8,_0x5b9196,_0x40f56d,_0x3fab11){var _0x50542c=_0x46936e;super(_0x40c0e5,_0x5e1317,_0x5111ad,_0x570941,_0x3413ef,_0x5c994a,_0x31c991,_0x129d6b,_0x573e5f,_0x4b45d8,_0x5b9196,_0x40f56d,_0x3fab11),this[_0x50542c(0x40e)]=_0x40c0e5,this['type']=_0x5111ad,this[_0x50542c(0x435)]=_0x550000;}[_0x46936e(0x399)](){var _0xc5b23=_0x46936e;const _0x36243f=super[_0xc5b23(0x399)]();return _0x36243f[_0xc5b23(0x239)]=_0x7175e0=>this[_0xc5b23(0x435)][_0xc5b23(0x273)](_0x7175e0),_0x36243f;}async[_0x46936e(0x3c6)](){var _0x3b27df=_0x46936e;const _0x445fe1=await super[_0x3b27df(0x3c6)]();return this['disposeWithMe'](this[_0x3b27df(0x1da)][_0x3b27df(0x285)]((_0x2f558a,_0x5209f2)=>{var _0x6b8ac2=_0x3b27df;if(_0x2f558a[_0x6b8ac2(0x32d)]!==_0x2bd96a[_0x6b8ac2(0x2b0)]||_0x5209f2!=null&&_0x5209f2[_0x6b8ac2(0x1a6)]||_0x5209f2!=null&&_0x5209f2[_0x6b8ac2(0x289)])return;const _0x315aad=_0x2f558a[_0x6b8ac2(0x1c3)];if((_0x315aad==null?void 0x0:_0x315aad[_0x6b8ac2(0x423)])!==this[_0x6b8ac2(0x40e)])return;const _0x2f641d=_0x2f558a,_0x5e2ce6=this[_0x6b8ac2(0x277)][_0x6b8ac2(0x1b7)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x6b8ac2(0x1b7)]['getInterceptPoints']()[_0x6b8ac2(0x376)])([_0x2f641d],null)||[_0x2f641d];this[_0x6b8ac2(0x2b2)](_0x5e2ce6[0x0]);})),_0x445fe1;}};Et=wt([H(0x3,_0x27e9d5(_0x494ce2)),H(0x4,_0x27e9d5(_0x310443)),H(0x5,_0x27e9d5(_0x4c8329)),H(0x6,_0x27e9d5(_0x52c859)),H(0x7,_0x27e9d5(it)),H(0x8,_0x27e9d5(ve)),H(0x9,_0xf70a07),H(0xa,_0x4e232a),H(0xb,_0x4e46fc),H(0xc,_0x4eeaca(ht)),H(0xd,_0x4eeaca(J))],Et);var zs=Object[_0x46936e(0x2c3)],Js=(_0x2b0cc3,_0x1d68df,_0x1be462,_0x20aeb3)=>{var _0x27eee3=_0x46936e;for(var _0x346cdc=_0x20aeb3>0x1?void 0x0:_0x20aeb3?zs(_0x1d68df,_0x1be462):_0x1d68df,_0x579b00=_0x2b0cc3[_0x27eee3(0x303)]-0x1,_0x5f55d1;_0x579b00>=0x0;_0x579b00--)(_0x5f55d1=_0x2b0cc3[_0x579b00])&&(_0x346cdc=_0x5f55d1(_0x346cdc)||_0x346cdc);return _0x346cdc;},Be=(_0x22c8ac,_0x4ead50)=>(_0x2e67d1,_0x4c7fe8)=>_0x4ead50(_0x2e67d1,_0x4c7fe8,_0x22c8ac);let nt=class extends _0x15d826{constructor(_0x47661a,_0xa51c1c,_0x1b3fdf,_0x384cb3){var _0x338d26=_0x46936e,_0x1212c1;super(),N(this,_0x338d26(0x232),new Map()),N(this,_0x338d26(0x259),new _0x525fb2()),N(this,_0x338d26(0x236),this[_0x338d26(0x259)][_0x338d26(0x19d)]()),(this[_0x338d26(0x448)]=_0x47661a,this['_collabSessionService']=_0xa51c1c,this[_0x338d26(0x2bf)]=_0x1b3fdf,this[_0x338d26(0x43b)]=_0x384cb3,((_0x1212c1=this['_configService'][_0x338d26(0x3f6)](K))==null?void 0x0:_0x1212c1[_0x338d26(0x48b)])!==!0x1&&this[_0x338d26(0x3c6)]());}[_0x46936e(0x291)](){var _0x191b79=_0x46936e;super['dispose'](),this[_0x191b79(0x232)][_0x191b79(0x3cc)](_0xaede50=>_0xaede50[_0x191b79(0x291)]()),this['_entities']['clear']();}[_0x46936e(0x2a7)](_0x2141fb){var _0x195a17=_0x46936e,_0x13fc2e;return(_0x13fc2e=this['_entities'][_0x195a17(0x2c6)](_0x2141fb))!=null?_0x13fc2e:null;}[_0x46936e(0x460)](_0x4aabac){var _0x2fc9c1=_0x46936e;const _0x25d003=this[_0x2fc9c1(0x2a7)](_0x4aabac);return _0x25d003?_0x35e492(_0x25d003):this[_0x2fc9c1(0x259)][_0x2fc9c1(0x2b1)](_0xd13671(_0x228ff9=>_0x228ff9[_0x2fc9c1(0x40e)]===_0x4aabac));}[_0x46936e(0x2ce)](_0x2e9afa){var _0x4836a2=_0x46936e;return _0x472943(this[_0x4836a2(0x460)](_0x2e9afa)['pipe'](_0x20f9ca(()=>{})));}[_0x46936e(0x3c6)](){var _0x50d064=_0x46936e;this[_0x50d064(0x43b)][_0x50d064(0x319)](_0x4c148b[_0x50d064(0x307)])[_0x50d064(0x2b1)](_0x2cbdae(this[_0x50d064(0x361)]),_0x5f5949(0x10))[_0x50d064(0x2e5)](async _0x7a0d20=>{var _0x31fc14=_0x50d064;const _0x3cddc9=_0x7a0d20[_0x31fc14(0x28b)](),_0x588111=await this['_startCollaboration'](_0x3cddc9,Z[_0x31fc14(0x307)]);this[_0x31fc14(0x232)]['set'](_0x3cddc9,_0x588111);}),this[_0x50d064(0x43b)]['getTypeOfUnitAdded$'](_0x4c148b[_0x50d064(0x34a)])[_0x50d064(0x2b1)](_0x2cbdae(this[_0x50d064(0x361)]),_0x5f5949(0x10))[_0x50d064(0x2b1)](_0xd13671(_0x5c37a1=>!_0x5c37a1[_0x50d064(0x28b)]()[_0x50d064(0x24a)]('__')))['subscribe'](async _0x38152d=>{var _0x207883=_0x50d064;const _0x7adb4e=_0x38152d[_0x207883(0x28b)](),_0xc23b=await this[_0x207883(0x293)](_0x7adb4e,Z[_0x207883(0x34a)]);this['_entities'][_0x207883(0x21c)](_0x7adb4e,_0xc23b);}),_0x48987d(this['_univerInstanceService'][_0x50d064(0x317)](_0x4c148b[_0x50d064(0x307)]),this[_0x50d064(0x43b)][_0x50d064(0x317)](_0x4c148b[_0x50d064(0x34a)]))[_0x50d064(0x2b1)](_0x2cbdae(this[_0x50d064(0x361)]))[_0x50d064(0x2e5)](_0x54139d=>{var _0x1c64e8=_0x50d064;const _0x58ad7d=_0x54139d[_0x1c64e8(0x28b)](),_0xd870da=this['_entities'][_0x1c64e8(0x2c6)](_0x58ad7d);_0xd870da&&(_0xd870da[_0x1c64e8(0x291)](),this['_entities'][_0x1c64e8(0x323)](_0x58ad7d));});}async[_0x46936e(0x293)](_0x2303ed,_0x43ae51){var _0x26c03f=_0x46936e;const _0x581050=await this[_0x26c03f(0x415)][_0x26c03f(0x46c)](_0x2303ed),_0x273f83=this[_0x26c03f(0x448)]['createInstance'](this[_0x26c03f(0x22a)](_0x43ae51),_0x2303ed,_0x43ae51,_0x581050);return await _0x273f83[_0x26c03f(0x2c2)](),this['_entityInit$'][_0x26c03f(0x1d5)](_0x273f83),_0x273f83;}[_0x46936e(0x22a)](_0x25bb0c){var _0x2e271b=_0x46936e;switch(_0x25bb0c){case Z[_0x2e271b(0x34a)]:return St;case Z['UNIVER_SHEET']:return Et;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x25bb0c);}}};nt=Js([Be(0x0,_0x27e9d5(_0x494ce2)),Be(0x1,_0x27e9d5(Pe)),Be(0x2,_0x446d9d),Be(0x3,_0x3b6ba3)],nt);var Xs=Object[_0x46936e(0x2c3)],Zs=(_0x6cf117,_0x39e08f,_0x13ea16,_0x2e9915)=>{var _0x118a41=_0x46936e;for(var _0x1ca143=_0x2e9915>0x1?void 0x0:_0x2e9915?Xs(_0x39e08f,_0x13ea16):_0x39e08f,_0x25335e=_0x6cf117[_0x118a41(0x303)]-0x1,_0x2591ed;_0x25335e>=0x0;_0x25335e--)(_0x2591ed=_0x6cf117[_0x25335e])&&(_0x1ca143=_0x2591ed(_0x1ca143)||_0x1ca143);return _0x1ca143;},Yt=(_0x307e48,_0x591f50)=>(_0x26b434,_0x2e2102)=>_0x591f50(_0x26b434,_0x2e2102,_0x307e48);const Qs=_0x46936e(0x352),en=_0x46936e(0x2c5);let It=class extends _0x5ef422{constructor(_0x32f3c2,_0x10a353){var _0x1f282d=_0x46936e;super(),this[_0x1f282d(0x43b)]=_0x32f3c2,this[_0x1f282d(0x2bf)]=_0x10a353,this[_0x1f282d(0x3c6)]();}[_0x46936e(0x3c6)](){var _0x5c1045=_0x46936e;this[_0x5c1045(0x2bc)](this[_0x5c1045(0x43b)][_0x5c1045(0x21b)][_0x5c1045(0x2e5)](()=>{var _0x5368a4=_0x5c1045,_0x5be016;const _0x20e870=this['_univerInstanceService'][_0x5368a4(0x451)]();let _0x4fa9b9=(_0x5be016=this[_0x5368a4(0x2bf)][_0x5368a4(0x3f6)](Qs))!=null?_0x5be016:en;_0x20e870 instanceof _0x1a45fd&&(_0x4fa9b9=_0x20e870['name']),document[_0x5368a4(0x2ca)]=_0x4fa9b9;}));}};It=Zs([Yt(0x0,_0x3b6ba3),Yt(0x1,_0x446d9d)],It);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x48f69f,_0x4a553a,_0x50a45c,_0x3d7860)=>{var _0x15128a=_0x46936e;for(var _0x88d0c7=_0x3d7860>0x1?void 0x0:_0x3d7860?tn(_0x4a553a,_0x50a45c):_0x4a553a,_0x524898=_0x48f69f[_0x15128a(0x303)]-0x1,_0x2957dc;_0x524898>=0x0;_0x524898--)(_0x2957dc=_0x48f69f[_0x524898])&&(_0x88d0c7=_0x2957dc(_0x88d0c7)||_0x88d0c7);return _0x88d0c7;},dt=(_0x1d68d4,_0x434c4d)=>(_0x49e92d,_0x203624)=>_0x434c4d(_0x49e92d,_0x203624,_0x1d68d4);let rt=class{constructor(_0xbcbb01,_0x1b155a,_0x55c4b9){var _0x50e723=_0x46936e;this[_0x50e723(0x2bf)]=_0xbcbb01,this['_httpService']=_0x1b155a,this[_0x50e723(0x20e)]=_0x55c4b9,this[_0x50e723(0x2c2)]();}[_0x46936e(0x2c2)](){var _0x12c27c=_0x46936e;this[_0x12c27c(0x1ea)][_0x12c27c(0x375)]({'priority':0x1,'interceptor':(_0x12c231,_0x1b4012)=>_0x1b4012(_0x12c231)[_0x12c27c(0x2b1)](_0x193738(async _0x108ef4=>{var _0x165a38=_0x12c27c;const _0x1310b8=_0x108ef4;if(_0x1310b8[_0x165a38(0x41e)]===0x191){if(typeof window>'u')throw new Error(_0x165a38(0x3ec));if(window['confirm'](this[_0x165a38(0x20e)]['t'](_0x165a38(0x444)))){const _0x309b34=window[_0x165a38(0x24e)](window[_0x165a38(0x1c0)][_0x165a38(0x419)]);window[_0x165a38(0x1c0)]['href']=this[_0x165a38(0x34d)]()+_0x165a38(0x428)+_0x309b34;}}return _0x1310b8;}))});}[_0x46936e(0x34d)](){var _0x2b2a7f=_0x46936e,_0x1a4b00;const _0x41faba=this[_0x2b2a7f(0x2bf)][_0x2b2a7f(0x3f6)](K);return(_0x1a4b00=_0x41faba==null?void 0x0:_0x41faba['loginUrlKey'])!=null?_0x1a4b00:Rs;}};rt=sn([dt(0x0,_0x446d9d),dt(0x1,_0x27e9d5(_0x421754)),dt(0x2,_0x27e9d5(_0x4c8329))],rt);var nn=Object['getOwnPropertyDescriptor'],rn=(_0x487fe0,_0x26328a,_0xe1585a,_0x32b4fa)=>{var _0x3090c6=_0x46936e;for(var _0x32ca5c=_0x32b4fa>0x1?void 0x0:_0x32b4fa?nn(_0x26328a,_0xe1585a):_0x26328a,_0x15cc10=_0x487fe0[_0x3090c6(0x303)]-0x1,_0x15796d;_0x15cc10>=0x0;_0x15cc10--)(_0x15796d=_0x487fe0[_0x15cc10])&&(_0x32ca5c=_0x15796d(_0x32ca5c)||_0x32ca5c);return _0x32ca5c;},Kt=(_0x4880a0,_0x26c820)=>(_0x312686,_0x5975ec)=>_0x26c820(_0x312686,_0x5975ec,_0x4880a0);const an=_0x46936e(0x420);let Tt=class extends _0x5ef422{constructor(_0x24eda8,_0x343390){var _0x319078=_0x46936e;super(),this['_HTTPService']=_0x24eda8,this['_configService']=_0x343390,this[_0x319078(0x310)]();}[_0x46936e(0x310)](){var _0x4d65cf=_0x46936e;const _0x2c0800=this;this[_0x4d65cf(0x2bc)](this[_0x4d65cf(0x1c1)][_0x4d65cf(0x375)]({'priority':0x3e7,'interceptor':_0xcda7b6({'isMatch'(_0x1e2a49){var _0x37138e=_0x4d65cf,_0x5310ef;if(_0x1e2a49[_0x37138e(0x486)]===_0x37138e(0x290)&&((_0x5310ef=_0x1e2a49[_0x37138e(0x1a9)])!=null&&_0x5310ef[_0x37138e(0x24d)])){const {objectID:_0x287360,objectType:_0x369003}=_0x1e2a49[_0x37138e(0x1a9)][_0x37138e(0x24d)]||{};if(!_0x287360||_0x369003===void 0x0)return!0x1;const _0x28e2c4=_0x2c0800[_0x37138e(0x31f)]()+'/'+_0x369003+'/object/'+_0x287360+'/allowed';if(_0x1e2a49[_0x37138e(0x26e)]===_0x28e2c4)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x126003){var _0x5d22c3=_0x4d65cf,_0x3b8de1;return(_0x3b8de1=_0x126003[_0x5d22c3(0x1a9)])==null?void 0x0:_0x3b8de1[_0x5d22c3(0x24d)];},'mergeParamsToRequest'(_0x560f72,_0x3e4509){var _0x1098a4=_0x4d65cf;const _0x3125bc=_0x2c0800[_0x1098a4(0x31f)]()+'/-/object/-/batch_allowed',_0x19bb99=_0x560f72['reduce']((_0x232481,_0x45c563)=>{var _0x2572f8=_0x1098a4;const {unitID:_0x2e89a3,objectID:_0x274003,objectType:_0x1bae9d,actions:_0x2e9879}=_0x45c563;return _0x232481[_0x2e89a3]||(_0x232481[_0x2e89a3]={}),_0x232481[_0x2e89a3][_0x274003]||(_0x232481[_0x2e89a3][_0x274003]={'objectID':_0x274003,'objectType':_0x1bae9d,'actions':[]}),_0x232481[_0x2e89a3][_0x274003][_0x2572f8(0x253)][_0x2572f8(0x1f7)](..._0x2e9879),_0x232481;},{}),_0x552ca6=[];for(const _0xb932a5 in _0x19bb99)for(const _0x5be070 in _0x19bb99[_0xb932a5]){const {actions:_0xd9b81c,objectType:_0x579e4f}=_0x19bb99[_0xb932a5][_0x5be070],_0x5b97a0=[...new Set(_0xd9b81c)];_0x552ca6['push']({'unitID':_0xb932a5,'objectID':_0x5be070,'objectType':_0x579e4f,'actions':_0x5b97a0});}return new _0x5a6173(_0x1098a4(0x290),_0x3125bc,{'headers':_0x3e4509['headers'],'withCredentials':_0x3e4509[_0x1098a4(0x209)],'responseType':_0x3e4509['responseType'],'body':{'requests':_0x552ca6}});}},{'distributeResult'(_0x2cc6fd,_0x6b0684){var _0x4a53cf=_0x4d65cf;const {objectActions:_0x500ccc}=_0x2cc6fd;return _0x6b0684[_0x4a53cf(0x1f1)](_0x2ca523=>{var _0xd153e5=_0x4a53cf;const {unitID:_0x5a56ae,objectID:_0x402342,actions:_0x1b2535}=_0x2ca523,_0x4aa9ce=_0x500ccc[_0xd153e5(0x392)](_0x2fa21f=>_0x2fa21f['unitID']===_0x5a56ae&&_0x2fa21f[_0xd153e5(0x38c)]===_0x402342),_0x448703=_0x1b2535[_0xd153e5(0x1f1)](_0x474ea7=>_0x4aa9ce==null?void 0x0:_0x4aa9ce['actions'][_0xd153e5(0x392)](_0x591ed8=>_0x591ed8[_0xd153e5(0x3c7)]===_0x474ea7))['filter'](_0x34dc4a=>!!_0x34dc4a);return{'config':_0x2ca523,'result':{'actions':_0x448703,'error':_0x2cc6fd[_0xd153e5(0x337)]}};});}})}));}['_getAPIPrefixPath'](){var _0x53bd5d=_0x46936e,_0x54bde0;const _0x2a7ffb=this[_0x53bd5d(0x2bf)][_0x53bd5d(0x3f6)](K);return(_0x54bde0=_0x2a7ffb==null?void 0x0:_0x2a7ffb['authzUrl'])!=null?_0x54bde0:an;}async['create'](_0x53a612){var _0x141069=_0x46936e;const _0x51e910=this['_getAPIPrefixPath']()+'/'+_0x53a612['objectType']+'/object';return(await this[_0x141069(0x1c1)]['post'](_0x51e910,{'body':_0x53a612}))[_0x141069(0x24d)]['objectID']||'';}async[_0x46936e(0x3a6)](_0x27fee5){var _0x46a3b1=_0x46936e;const _0x1c2872=this[_0x46a3b1(0x31f)]()+_0x46a3b1(0x213);return(await this[_0x46a3b1(0x1c1)][_0x46a3b1(0x3e5)](_0x1c2872,{'body':_0x27fee5}))[_0x46a3b1(0x24d)]['objects'];}async[_0x46936e(0x26b)](_0xc2c241){var _0x10a282=_0x46936e,_0x3d626c,_0x5d0776;const _0x20b0db=this['_getAPIPrefixPath']()+'/'+_0xc2c241[_0x10a282(0x389)]+_0x10a282(0x1c7)+_0xc2c241['objectID'],_0x1e0201=await this[_0x10a282(0x1c1)][_0x10a282(0x211)](_0x20b0db,{'body':_0xc2c241});if(((_0x5d0776=(_0x3d626c=_0x1e0201==null?void 0x0:_0x1e0201[_0x10a282(0x24d)])==null?void 0x0:_0x3d626c[_0x10a282(0x337)])==null?void 0x0:_0x5d0776[_0x10a282(0x1d9)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x46936e(0x2f2)](_0x53ac54){var _0x1b7183=_0x46936e;const _0x225dd9=this[_0x1b7183(0x31f)]()+'/'+_0x53ac54[_0x1b7183(0x389)]+'/object/'+_0x53ac54[_0x1b7183(0x38c)]+'/allowed';return(await this[_0x1b7183(0x1c1)]['post'](_0x225dd9,{'body':_0x53ac54}))[_0x1b7183(0x24d)]['actions'];}async[_0x46936e(0x271)](_0x167c21){var _0x523918=_0x46936e;const _0x3daee5=this[_0x523918(0x31f)]()+'/-/object/-/batch_allowed';return(await this[_0x523918(0x1c1)][_0x523918(0x3e5)](_0x3daee5,{'body':{'requests':_0x167c21}}))[_0x523918(0x24d)]['objectActions'];}async[_0x46936e(0x28a)](_0x439ba6){var _0xe843cb=_0x46936e;const _0x2da1a7=this[_0xe843cb(0x31f)]()+'/'+_0x439ba6['objectType']+'/role',_0xbdafa8=await this[_0xe843cb(0x1c1)][_0xe843cb(0x3e5)](_0x2da1a7,{'body':_0x439ba6});return{'roles':_0xbdafa8['body'][_0xe843cb(0x31e)],'actions':_0xbdafa8['body'][_0xe843cb(0x253)]};}async[_0x46936e(0x422)](_0x379836){var _0xb5929e=_0x46936e;const _0x3bb2a4=this[_0xb5929e(0x31f)]()+_0xb5929e(0x267);await this[_0xb5929e(0x1c1)][_0xb5929e(0x323)](_0x3bb2a4,{'params':{'collaboratorID':_0x379836[_0xb5929e(0x393)],'objectID':_0x379836[_0xb5929e(0x38c)],'unitID':_0x379836[_0xb5929e(0x40e)]}});}async[_0x46936e(0x280)](_0x5f2e34){var _0xa2f377=_0x46936e;const _0x3d10e0=this[_0xa2f377(0x31f)]()+'/collaborator';await this[_0xa2f377(0x1c1)][_0xa2f377(0x256)](_0x3d10e0,{'body':_0x5f2e34});}async[_0x46936e(0x244)](_0x5bb6e0){var _0x14a6c5=_0x46936e;const _0x122764=this[_0x14a6c5(0x31f)]()+_0x14a6c5(0x267);await this[_0x14a6c5(0x1c1)][_0x14a6c5(0x3e5)](_0x122764,{'body':_0x5bb6e0});}async[_0x46936e(0x2e7)](_0x578a51){var _0x510751=_0x46936e;const _0x150576=this['_getAPIPrefixPath']()+_0x510751(0x267);return(await this[_0x510751(0x1c1)][_0x510751(0x2c6)](_0x150576,{'params':{'objectID':_0x578a51[_0x510751(0x38c)],'unitID':_0x578a51['unitID']}}))[_0x510751(0x24d)]['collaborators'];}async[_0x46936e(0x19f)](_0x30a835){var _0x4096cc=_0x46936e;const _0x8096d2=this['_getAPIPrefixPath']()+_0x4096cc(0x267);await this[_0x4096cc(0x1c1)][_0x4096cc(0x211)](_0x8096d2,{'body':_0x30a835});}};Tt=rn([Kt(0x0,_0x27e9d5(_0x421754)),Kt(0x1,_0x27e9d5(_0x446d9d))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x5dfd43){var _0x5107f8=_0x46936e;return _0x5dfd43&&_0x5dfd43['__esModule']&&Object[_0x5107f8(0x3b7)][_0x5107f8(0x3f2)][_0x5107f8(0x30e)](_0x5dfd43,_0x5107f8(0x3ea))?_0x5dfd43[_0x5107f8(0x3ea)]:_0x5dfd43;}var Ve={'exports':{}};function on(_0x3ead03){var _0x59b079=_0x46936e;throw new Error(_0x59b079(0x41c)+_0x3ead03+_0x59b079(0x41a));}var We={'exports':{}},cn=We[_0x46936e(0x1dd)],qt;function te(){return qt||(qt=0x1,function(_0x4e19b8,_0x45349f){(function(_0x3f8eae,_0x4ca71e){var _0x1bf8f4=_0x1209;_0x4e19b8[_0x1bf8f4(0x1dd)]=_0x4ca71e();}(cn,function(){var _0x2f5575=_0x2f5575||function(_0x4f9bf0,_0x4f4ab2){var _0x29f358=_0x1209,_0x5b42ec;if(typeof window<'u'&&window[_0x29f358(0x296)]&&(_0x5b42ec=window[_0x29f358(0x296)]),typeof self<'u'&&self[_0x29f358(0x296)]&&(_0x5b42ec=self['crypto']),typeof globalThis<'u'&&globalThis[_0x29f358(0x296)]&&(_0x5b42ec=globalThis['crypto']),!_0x5b42ec&&typeof window<'u'&&window[_0x29f358(0x201)]&&(_0x5b42ec=window[_0x29f358(0x201)]),!_0x5b42ec&&typeof ft<'u'&&ft[_0x29f358(0x296)]&&(_0x5b42ec=ft['crypto']),!_0x5b42ec&&typeof on==_0x29f358(0x379))try{_0x5b42ec=require('crypto');}catch{}var _0x1b0bab=function(){var _0x41795f=_0x29f358;if(_0x5b42ec){if(typeof _0x5b42ec[_0x41795f(0x2c9)]=='function')try{return _0x5b42ec['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5b42ec[_0x41795f(0x2b5)]==_0x41795f(0x379))try{return _0x5b42ec[_0x41795f(0x2b5)](0x4)[_0x41795f(0x354)]();}catch{}}throw new Error(_0x41795f(0x3a0));},_0x3c1372=Object[_0x29f358(0x2db)]||(function(){function _0x16162a(){}return function(_0x2f1921){var _0x404ecd=_0x1209,_0x236bb4;return _0x16162a[_0x404ecd(0x3b7)]=_0x2f1921,_0x236bb4=new _0x16162a(),_0x16162a[_0x404ecd(0x3b7)]=null,_0x236bb4;};}()),_0x6226b3={},_0x62c149=_0x6226b3[_0x29f358(0x199)]={},_0x406ee2=_0x62c149[_0x29f358(0x304)]=(function(){return{'extend':function(_0x418da3){var _0x32fade=_0x1209,_0x33d97b=_0x3c1372(this);return _0x418da3&&_0x33d97b['mixIn'](_0x418da3),(!_0x33d97b[_0x32fade(0x3f2)](_0x32fade(0x2c2))||this[_0x32fade(0x2c2)]===_0x33d97b[_0x32fade(0x2c2)])&&(_0x33d97b[_0x32fade(0x2c2)]=function(){var _0x1f543e=_0x32fade;_0x33d97b[_0x1f543e(0x1b5)][_0x1f543e(0x2c2)][_0x1f543e(0x3ee)](this,arguments);}),_0x33d97b[_0x32fade(0x2c2)][_0x32fade(0x3b7)]=_0x33d97b,_0x33d97b[_0x32fade(0x1b5)]=this,_0x33d97b;},'create':function(){var _0x10bf69=_0x1209,_0x1b7e8b=this['extend']();return _0x1b7e8b[_0x10bf69(0x2c2)][_0x10bf69(0x3ee)](_0x1b7e8b,arguments),_0x1b7e8b;},'init':function(){},'mixIn':function(_0x2c1687){var _0x2d25b5=_0x1209;for(var _0x2a1da3 in _0x2c1687)_0x2c1687[_0x2d25b5(0x3f2)](_0x2a1da3)&&(this[_0x2a1da3]=_0x2c1687[_0x2a1da3]);_0x2c1687[_0x2d25b5(0x3f2)](_0x2d25b5(0x476))&&(this[_0x2d25b5(0x476)]=_0x2c1687[_0x2d25b5(0x476)]);},'clone':function(){var _0x2cdd7a=_0x1209;return this['init']['prototype'][_0x2cdd7a(0x477)](this);}};}()),_0x150c50=_0x62c149[_0x29f358(0x3b5)]=_0x406ee2[_0x29f358(0x477)]({'init':function(_0x1c64fd,_0x3be3f7){var _0x2239a4=_0x29f358;_0x1c64fd=this[_0x2239a4(0x38b)]=_0x1c64fd||[],_0x3be3f7!=_0x4f4ab2?this[_0x2239a4(0x3c4)]=_0x3be3f7:this[_0x2239a4(0x3c4)]=_0x1c64fd[_0x2239a4(0x303)]*0x4;},'toString':function(_0x2632c2){var _0x21675e=_0x29f358;return(_0x2632c2||_0x5e5071)[_0x21675e(0x27f)](this);},'concat':function(_0x977b13){var _0x3d283f=_0x29f358,_0x424a95=this[_0x3d283f(0x38b)],_0x2b4e6e=_0x977b13[_0x3d283f(0x38b)],_0x5003cb=this[_0x3d283f(0x3c4)],_0x3432fd=_0x977b13[_0x3d283f(0x3c4)];if(this[_0x3d283f(0x2fc)](),_0x5003cb%0x4)for(var _0x301eb4=0x0;_0x301eb4<_0x3432fd;_0x301eb4++){var _0x4d6677=_0x2b4e6e[_0x301eb4>>>0x2]>>>0x18-_0x301eb4%0x4*0x8&0xff;_0x424a95[_0x5003cb+_0x301eb4>>>0x2]|=_0x4d6677<<0x18-(_0x5003cb+_0x301eb4)%0x4*0x8;}else{for(var _0x24fa70=0x0;_0x24fa70<_0x3432fd;_0x24fa70+=0x4)_0x424a95[_0x5003cb+_0x24fa70>>>0x2]=_0x2b4e6e[_0x24fa70>>>0x2];}return this[_0x3d283f(0x3c4)]+=_0x3432fd,this;},'clamp':function(){var _0x446c36=_0x29f358,_0x799a51=this['words'],_0x56d4fe=this[_0x446c36(0x3c4)];_0x799a51[_0x56d4fe>>>0x2]&=0xffffffff<<0x20-_0x56d4fe%0x4*0x8,_0x799a51[_0x446c36(0x303)]=_0x4f9bf0[_0x446c36(0x440)](_0x56d4fe/0x4);},'clone':function(){var _0x4420e0=_0x29f358,_0x28c09d=_0x406ee2[_0x4420e0(0x1d1)]['call'](this);return _0x28c09d['words']=this['words'][_0x4420e0(0x1a7)](0x0),_0x28c09d;},'random':function(_0x4d551e){var _0x24b732=_0x29f358;for(var _0x5274a4=[],_0x3bb842=0x0;_0x3bb842<_0x4d551e;_0x3bb842+=0x4)_0x5274a4[_0x24b732(0x1f7)](_0x1b0bab());return new _0x150c50[(_0x24b732(0x2c2))](_0x5274a4,_0x4d551e);}}),_0x556d87=_0x6226b3[_0x29f358(0x44b)]={},_0x5e5071=_0x556d87[_0x29f358(0x1e2)]={'stringify':function(_0x2037c3){var _0x53b089=_0x29f358;for(var _0x35a9f0=_0x2037c3[_0x53b089(0x38b)],_0x2d0d84=_0x2037c3['sigBytes'],_0x17fe96=[],_0x4d5753=0x0;_0x4d5753<_0x2d0d84;_0x4d5753++){var _0x2961c8=_0x35a9f0[_0x4d5753>>>0x2]>>>0x18-_0x4d5753%0x4*0x8&0xff;_0x17fe96[_0x53b089(0x1f7)]((_0x2961c8>>>0x4)[_0x53b089(0x476)](0x10)),_0x17fe96[_0x53b089(0x1f7)]((_0x2961c8&0xf)[_0x53b089(0x476)](0x10));}return _0x17fe96[_0x53b089(0x2ba)]('');},'parse':function(_0x49e6ab){var _0x347fa8=_0x29f358;for(var _0x5a2c30=_0x49e6ab['length'],_0x791858=[],_0x256729=0x0;_0x256729<_0x5a2c30;_0x256729+=0x2)_0x791858[_0x256729>>>0x3]|=parseInt(_0x49e6ab[_0x347fa8(0x268)](_0x256729,0x2),0x10)<<0x18-_0x256729%0x8*0x4;return new _0x150c50[(_0x347fa8(0x2c2))](_0x791858,_0x5a2c30/0x2);}},_0x11ca15=_0x556d87['Latin1']={'stringify':function(_0x3e53b5){var _0x381376=_0x29f358;for(var _0xe877e1=_0x3e53b5[_0x381376(0x38b)],_0x104853=_0x3e53b5['sigBytes'],_0x4c6474=[],_0xaca5b1=0x0;_0xaca5b1<_0x104853;_0xaca5b1++){var _0x56dcee=_0xe877e1[_0xaca5b1>>>0x2]>>>0x18-_0xaca5b1%0x4*0x8&0xff;_0x4c6474['push'](String[_0x381376(0x487)](_0x56dcee));}return _0x4c6474[_0x381376(0x2ba)]('');},'parse':function(_0xd2ef4d){var _0x35e0f9=_0x29f358;for(var _0x45abd0=_0xd2ef4d[_0x35e0f9(0x303)],_0xe3a60=[],_0x31fd6a=0x0;_0x31fd6a<_0x45abd0;_0x31fd6a++)_0xe3a60[_0x31fd6a>>>0x2]|=(_0xd2ef4d['charCodeAt'](_0x31fd6a)&0xff)<<0x18-_0x31fd6a%0x4*0x8;return new _0x150c50[(_0x35e0f9(0x2c2))](_0xe3a60,_0x45abd0);}},_0x4ecd14=_0x556d87[_0x29f358(0x1ed)]={'stringify':function(_0x19c05b){var _0x12b7c9=_0x29f358;try{return decodeURIComponent(escape(_0x11ca15[_0x12b7c9(0x27f)](_0x19c05b)));}catch{throw new Error(_0x12b7c9(0x221));}},'parse':function(_0x4d8cd0){var _0x2c1988=_0x29f358;return _0x11ca15[_0x2c1988(0x2df)](unescape(encodeURIComponent(_0x4d8cd0)));}},_0x3efdeb=_0x62c149[_0x29f358(0x382)]=_0x406ee2['extend']({'reset':function(){var _0x5c2a84=_0x29f358;this[_0x5c2a84(0x226)]=new _0x150c50[(_0x5c2a84(0x2c2))](),this['_nDataBytes']=0x0;},'_append':function(_0x3eb241){var _0x527781=_0x29f358;typeof _0x3eb241==_0x527781(0x2fa)&&(_0x3eb241=_0x4ecd14['parse'](_0x3eb241)),this[_0x527781(0x226)]['concat'](_0x3eb241),this[_0x527781(0x438)]+=_0x3eb241[_0x527781(0x3c4)];},'_process':function(_0x4cafdc){var _0x4e4371=_0x29f358,_0x22bb91,_0x864db9=this[_0x4e4371(0x226)],_0xdc2ed1=_0x864db9[_0x4e4371(0x38b)],_0x19f80b=_0x864db9['sigBytes'],_0x5eb174=this[_0x4e4371(0x2b3)],_0x271145=_0x5eb174*0x4,_0x22785e=_0x19f80b/_0x271145;_0x4cafdc?_0x22785e=_0x4f9bf0[_0x4e4371(0x440)](_0x22785e):_0x22785e=_0x4f9bf0['max']((_0x22785e|0x0)-this[_0x4e4371(0x2d3)],0x0);var _0x4d9b35=_0x22785e*_0x5eb174,_0x3e9558=_0x4f9bf0[_0x4e4371(0x2a5)](_0x4d9b35*0x4,_0x19f80b);if(_0x4d9b35){for(var _0x119038=0x0;_0x119038<_0x4d9b35;_0x119038+=_0x5eb174)this[_0x4e4371(0x484)](_0xdc2ed1,_0x119038);_0x22bb91=_0xdc2ed1[_0x4e4371(0x42e)](0x0,_0x4d9b35),_0x864db9[_0x4e4371(0x3c4)]-=_0x3e9558;}return new _0x150c50['init'](_0x22bb91,_0x3e9558);},'clone':function(){var _0xf1e811=_0x29f358,_0x4b6ec2=_0x406ee2[_0xf1e811(0x1d1)][_0xf1e811(0x30e)](this);return _0x4b6ec2[_0xf1e811(0x226)]=this[_0xf1e811(0x226)][_0xf1e811(0x1d1)](),_0x4b6ec2;},'_minBufferSize':0x0});_0x62c149[_0x29f358(0x3bc)]=_0x3efdeb['extend']({'cfg':_0x406ee2[_0x29f358(0x477)](),'init':function(_0x2576af){var _0x26b1e6=_0x29f358;this['cfg']=this[_0x26b1e6(0x465)][_0x26b1e6(0x477)](_0x2576af),this[_0x26b1e6(0x2d2)]();},'reset':function(){var _0x1498ec=_0x29f358;_0x3efdeb[_0x1498ec(0x2d2)][_0x1498ec(0x30e)](this),this[_0x1498ec(0x47f)]();},'update':function(_0x2c0ecf){var _0x5db074=_0x29f358;return this[_0x5db074(0x41d)](_0x2c0ecf),this[_0x5db074(0x2a1)](),this;},'finalize':function(_0x458809){var _0x58127c=_0x29f358;_0x458809&&this[_0x58127c(0x41d)](_0x458809);var _0x2db5f5=this[_0x58127c(0x26f)]();return _0x2db5f5;},'blockSize':0x10,'_createHelper':function(_0x17b3d6){return function(_0x147519,_0x27b485){var _0x57abd2=_0x1209;return new _0x17b3d6['init'](_0x27b485)[_0x57abd2(0x380)](_0x147519);};},'_createHmacHelper':function(_0x11ea56){return function(_0x1c6a5d,_0x304369){var _0x35f6b6=_0x1209;return new _0x3d8d9d[(_0x35f6b6(0x421))][(_0x35f6b6(0x2c2))](_0x11ea56,_0x304369)['finalize'](_0x1c6a5d);};}});var _0x3d8d9d=_0x6226b3[_0x29f358(0x3ca)]={};return _0x6226b3;}(Math);return _0x2f5575;}));}(We)),We['exports'];}var Ge={'exports':{}},hn=Ge[_0x46936e(0x1dd)],zt;function Ri(){var _0x4772d0=_0x46936e;return zt||(zt=0x1,function(_0x2c565d,_0x46016e){(function(_0x34d49f,_0x3044a6){var _0x2cd7bc=_0x1209;_0x2c565d[_0x2cd7bc(0x1dd)]=_0x3044a6(te());}(hn,function(_0x37d6b7){var _0x12b0ee=_0x1209;return(function(){var _0x43c499=_0x1209,_0x2b4b1e=_0x37d6b7,_0xcee614=_0x2b4b1e['lib'],_0x364e8b=_0xcee614[_0x43c499(0x3b5)],_0x20c417=_0x2b4b1e[_0x43c499(0x44b)];_0x20c417['Base64']={'stringify':function(_0x7de6bf){var _0x29e745=_0x43c499,_0x5d52ce=_0x7de6bf[_0x29e745(0x38b)],_0x31eaaa=_0x7de6bf[_0x29e745(0x3c4)],_0x531dee=this[_0x29e745(0x23d)];_0x7de6bf['clamp']();for(var _0x31fd96=[],_0x57a23e=0x0;_0x57a23e<_0x31eaaa;_0x57a23e+=0x3)for(var _0x4046cc=_0x5d52ce[_0x57a23e>>>0x2]>>>0x18-_0x57a23e%0x4*0x8&0xff,_0x42aa88=_0x5d52ce[_0x57a23e+0x1>>>0x2]>>>0x18-(_0x57a23e+0x1)%0x4*0x8&0xff,_0xf261f5=_0x5d52ce[_0x57a23e+0x2>>>0x2]>>>0x18-(_0x57a23e+0x2)%0x4*0x8&0xff,_0x5132b8=_0x4046cc<<0x10|_0x42aa88<<0x8|_0xf261f5,_0x406e67=0x0;_0x406e67<0x4&&_0x57a23e+_0x406e67*0.75<_0x31eaaa;_0x406e67++)_0x31fd96[_0x29e745(0x1f7)](_0x531dee[_0x29e745(0x240)](_0x5132b8>>>0x6*(0x3-_0x406e67)&0x3f));var _0x579447=_0x531dee['charAt'](0x40);if(_0x579447){for(;_0x31fd96[_0x29e745(0x303)]%0x4;)_0x31fd96[_0x29e745(0x1f7)](_0x579447);}return _0x31fd96[_0x29e745(0x2ba)]('');},'parse':function(_0x42bbeb){var _0x3219a3=_0x43c499,_0x2a1099=_0x42bbeb[_0x3219a3(0x303)],_0x21b34d=this[_0x3219a3(0x23d)],_0x5a6b2f=this[_0x3219a3(0x229)];if(!_0x5a6b2f){_0x5a6b2f=this[_0x3219a3(0x229)]=[];for(var _0xd62fa3=0x0;_0xd62fa3<_0x21b34d['length'];_0xd62fa3++)_0x5a6b2f[_0x21b34d[_0x3219a3(0x234)](_0xd62fa3)]=_0xd62fa3;}var _0x449b48=_0x21b34d[_0x3219a3(0x240)](0x40);if(_0x449b48){var _0x2f692c=_0x42bbeb[_0x3219a3(0x33b)](_0x449b48);_0x2f692c!==-0x1&&(_0x2a1099=_0x2f692c);}return _0xdbe049(_0x42bbeb,_0x2a1099,_0x5a6b2f);},'_map':_0x43c499(0x1a4)};function _0xdbe049(_0x1b8675,_0x323670,_0x30668a){var _0x306443=_0x43c499;for(var _0x45f630=[],_0xe99372=0x0,_0x510e9e=0x0;_0x510e9e<_0x323670;_0x510e9e++)if(_0x510e9e%0x4){var _0x372762=_0x30668a[_0x1b8675['charCodeAt'](_0x510e9e-0x1)]<<_0x510e9e%0x4*0x2,_0x9a731c=_0x30668a[_0x1b8675['charCodeAt'](_0x510e9e)]>>>0x6-_0x510e9e%0x4*0x2,_0x1fc8e7=_0x372762|_0x9a731c;_0x45f630[_0xe99372>>>0x2]|=_0x1fc8e7<<0x18-_0xe99372%0x4*0x8,_0xe99372++;}return _0x364e8b[_0x306443(0x2db)](_0x45f630,_0xe99372);}}()),_0x37d6b7[_0x12b0ee(0x44b)][_0x12b0ee(0x42a)];}));}(Ge)),Ge[_0x4772d0(0x1dd)];}var Ye={'exports':{}},_n=Ye[_0x46936e(0x1dd)],Jt;function ln(){var _0x3522f1=_0x46936e;return Jt||(Jt=0x1,function(_0x31a081,_0x4cf41a){(function(_0x5c9c9e,_0x500bcd){var _0x4e2252=_0x1209;_0x31a081[_0x4e2252(0x1dd)]=_0x500bcd(te());}(_n,function(_0xdaa96f){var _0x5e7621=_0x1209;return function(_0x5cb4fc){var _0x441df3=_0x1209,_0x2aae9a=_0xdaa96f,_0x5a0e50=_0x2aae9a[_0x441df3(0x199)],_0x39d607=_0x5a0e50[_0x441df3(0x3b5)],_0x5cccbb=_0x5a0e50['Hasher'],_0x856bbc=_0x2aae9a[_0x441df3(0x3ca)],_0x56ec4f=[];(function(){var _0x4f1a97=_0x441df3;for(var _0x2d81a2=0x0;_0x2d81a2<0x40;_0x2d81a2++)_0x56ec4f[_0x2d81a2]=_0x5cb4fc[_0x4f1a97(0x400)](_0x5cb4fc['sin'](_0x2d81a2+0x1))*0x100000000|0x0;}());var _0x1e2106=_0x856bbc[_0x441df3(0x32c)]=_0x5cccbb[_0x441df3(0x477)]({'_doReset':function(){var _0x247249=_0x441df3;this[_0x247249(0x286)]=new _0x39d607[(_0x247249(0x2c2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x17623c,_0x319710){var _0x1f9f55=_0x441df3;for(var _0x5a7074=0x0;_0x5a7074<0x10;_0x5a7074++){var _0x39638e=_0x319710+_0x5a7074,_0x20e0c3=_0x17623c[_0x39638e];_0x17623c[_0x39638e]=(_0x20e0c3<<0x8|_0x20e0c3>>>0x18)&0xff00ff|(_0x20e0c3<<0x18|_0x20e0c3>>>0x8)&0xff00ff00;}var _0x41b3ea=this[_0x1f9f55(0x286)][_0x1f9f55(0x38b)],_0x102bea=_0x17623c[_0x319710+0x0],_0x5cc2db=_0x17623c[_0x319710+0x1],_0x4b4363=_0x17623c[_0x319710+0x2],_0x1a263b=_0x17623c[_0x319710+0x3],_0x141b46=_0x17623c[_0x319710+0x4],_0x2cd03b=_0x17623c[_0x319710+0x5],_0x139125=_0x17623c[_0x319710+0x6],_0xc1172b=_0x17623c[_0x319710+0x7],_0xb4dd52=_0x17623c[_0x319710+0x8],_0x591655=_0x17623c[_0x319710+0x9],_0x1280d6=_0x17623c[_0x319710+0xa],_0x1350f4=_0x17623c[_0x319710+0xb],_0x5ada07=_0x17623c[_0x319710+0xc],_0x47178b=_0x17623c[_0x319710+0xd],_0x33e1da=_0x17623c[_0x319710+0xe],_0x52219d=_0x17623c[_0x319710+0xf],_0x4f32eb=_0x41b3ea[0x0],_0x294cef=_0x41b3ea[0x1],_0x3a19fd=_0x41b3ea[0x2],_0x59854b=_0x41b3ea[0x3];_0x4f32eb=_0x229190(_0x4f32eb,_0x294cef,_0x3a19fd,_0x59854b,_0x102bea,0x7,_0x56ec4f[0x0]),_0x59854b=_0x229190(_0x59854b,_0x4f32eb,_0x294cef,_0x3a19fd,_0x5cc2db,0xc,_0x56ec4f[0x1]),_0x3a19fd=_0x229190(_0x3a19fd,_0x59854b,_0x4f32eb,_0x294cef,_0x4b4363,0x11,_0x56ec4f[0x2]),_0x294cef=_0x229190(_0x294cef,_0x3a19fd,_0x59854b,_0x4f32eb,_0x1a263b,0x16,_0x56ec4f[0x3]),_0x4f32eb=_0x229190(_0x4f32eb,_0x294cef,_0x3a19fd,_0x59854b,_0x141b46,0x7,_0x56ec4f[0x4]),_0x59854b=_0x229190(_0x59854b,_0x4f32eb,_0x294cef,_0x3a19fd,_0x2cd03b,0xc,_0x56ec4f[0x5]),_0x3a19fd=_0x229190(_0x3a19fd,_0x59854b,_0x4f32eb,_0x294cef,_0x139125,0x11,_0x56ec4f[0x6]),_0x294cef=_0x229190(_0x294cef,_0x3a19fd,_0x59854b,_0x4f32eb,_0xc1172b,0x16,_0x56ec4f[0x7]),_0x4f32eb=_0x229190(_0x4f32eb,_0x294cef,_0x3a19fd,_0x59854b,_0xb4dd52,0x7,_0x56ec4f[0x8]),_0x59854b=_0x229190(_0x59854b,_0x4f32eb,_0x294cef,_0x3a19fd,_0x591655,0xc,_0x56ec4f[0x9]),_0x3a19fd=_0x229190(_0x3a19fd,_0x59854b,_0x4f32eb,_0x294cef,_0x1280d6,0x11,_0x56ec4f[0xa]),_0x294cef=_0x229190(_0x294cef,_0x3a19fd,_0x59854b,_0x4f32eb,_0x1350f4,0x16,_0x56ec4f[0xb]),_0x4f32eb=_0x229190(_0x4f32eb,_0x294cef,_0x3a19fd,_0x59854b,_0x5ada07,0x7,_0x56ec4f[0xc]),_0x59854b=_0x229190(_0x59854b,_0x4f32eb,_0x294cef,_0x3a19fd,_0x47178b,0xc,_0x56ec4f[0xd]),_0x3a19fd=_0x229190(_0x3a19fd,_0x59854b,_0x4f32eb,_0x294cef,_0x33e1da,0x11,_0x56ec4f[0xe]),_0x294cef=_0x229190(_0x294cef,_0x3a19fd,_0x59854b,_0x4f32eb,_0x52219d,0x16,_0x56ec4f[0xf]),_0x4f32eb=_0x45bcda(_0x4f32eb,_0x294cef,_0x3a19fd,_0x59854b,_0x5cc2db,0x5,_0x56ec4f[0x10]),_0x59854b=_0x45bcda(_0x59854b,_0x4f32eb,_0x294cef,_0x3a19fd,_0x139125,0x9,_0x56ec4f[0x11]),_0x3a19fd=_0x45bcda(_0x3a19fd,_0x59854b,_0x4f32eb,_0x294cef,_0x1350f4,0xe,_0x56ec4f[0x12]),_0x294cef=_0x45bcda(_0x294cef,_0x3a19fd,_0x59854b,_0x4f32eb,_0x102bea,0x14,_0x56ec4f[0x13]),_0x4f32eb=_0x45bcda(_0x4f32eb,_0x294cef,_0x3a19fd,_0x59854b,_0x2cd03b,0x5,_0x56ec4f[0x14]),_0x59854b=_0x45bcda(_0x59854b,_0x4f32eb,_0x294cef,_0x3a19fd,_0x1280d6,0x9,_0x56ec4f[0x15]),_0x3a19fd=_0x45bcda(_0x3a19fd,_0x59854b,_0x4f32eb,_0x294cef,_0x52219d,0xe,_0x56ec4f[0x16]),_0x294cef=_0x45bcda(_0x294cef,_0x3a19fd,_0x59854b,_0x4f32eb,_0x141b46,0x14,_0x56ec4f[0x17]),_0x4f32eb=_0x45bcda(_0x4f32eb,_0x294cef,_0x3a19fd,_0x59854b,_0x591655,0x5,_0x56ec4f[0x18]),_0x59854b=_0x45bcda(_0x59854b,_0x4f32eb,_0x294cef,_0x3a19fd,_0x33e1da,0x9,_0x56ec4f[0x19]),_0x3a19fd=_0x45bcda(_0x3a19fd,_0x59854b,_0x4f32eb,_0x294cef,_0x1a263b,0xe,_0x56ec4f[0x1a]),_0x294cef=_0x45bcda(_0x294cef,_0x3a19fd,_0x59854b,_0x4f32eb,_0xb4dd52,0x14,_0x56ec4f[0x1b]),_0x4f32eb=_0x45bcda(_0x4f32eb,_0x294cef,_0x3a19fd,_0x59854b,_0x47178b,0x5,_0x56ec4f[0x1c]),_0x59854b=_0x45bcda(_0x59854b,_0x4f32eb,_0x294cef,_0x3a19fd,_0x4b4363,0x9,_0x56ec4f[0x1d]),_0x3a19fd=_0x45bcda(_0x3a19fd,_0x59854b,_0x4f32eb,_0x294cef,_0xc1172b,0xe,_0x56ec4f[0x1e]),_0x294cef=_0x45bcda(_0x294cef,_0x3a19fd,_0x59854b,_0x4f32eb,_0x5ada07,0x14,_0x56ec4f[0x1f]),_0x4f32eb=_0xc28d07(_0x4f32eb,_0x294cef,_0x3a19fd,_0x59854b,_0x2cd03b,0x4,_0x56ec4f[0x20]),_0x59854b=_0xc28d07(_0x59854b,_0x4f32eb,_0x294cef,_0x3a19fd,_0xb4dd52,0xb,_0x56ec4f[0x21]),_0x3a19fd=_0xc28d07(_0x3a19fd,_0x59854b,_0x4f32eb,_0x294cef,_0x1350f4,0x10,_0x56ec4f[0x22]),_0x294cef=_0xc28d07(_0x294cef,_0x3a19fd,_0x59854b,_0x4f32eb,_0x33e1da,0x17,_0x56ec4f[0x23]),_0x4f32eb=_0xc28d07(_0x4f32eb,_0x294cef,_0x3a19fd,_0x59854b,_0x5cc2db,0x4,_0x56ec4f[0x24]),_0x59854b=_0xc28d07(_0x59854b,_0x4f32eb,_0x294cef,_0x3a19fd,_0x141b46,0xb,_0x56ec4f[0x25]),_0x3a19fd=_0xc28d07(_0x3a19fd,_0x59854b,_0x4f32eb,_0x294cef,_0xc1172b,0x10,_0x56ec4f[0x26]),_0x294cef=_0xc28d07(_0x294cef,_0x3a19fd,_0x59854b,_0x4f32eb,_0x1280d6,0x17,_0x56ec4f[0x27]),_0x4f32eb=_0xc28d07(_0x4f32eb,_0x294cef,_0x3a19fd,_0x59854b,_0x47178b,0x4,_0x56ec4f[0x28]),_0x59854b=_0xc28d07(_0x59854b,_0x4f32eb,_0x294cef,_0x3a19fd,_0x102bea,0xb,_0x56ec4f[0x29]),_0x3a19fd=_0xc28d07(_0x3a19fd,_0x59854b,_0x4f32eb,_0x294cef,_0x1a263b,0x10,_0x56ec4f[0x2a]),_0x294cef=_0xc28d07(_0x294cef,_0x3a19fd,_0x59854b,_0x4f32eb,_0x139125,0x17,_0x56ec4f[0x2b]),_0x4f32eb=_0xc28d07(_0x4f32eb,_0x294cef,_0x3a19fd,_0x59854b,_0x591655,0x4,_0x56ec4f[0x2c]),_0x59854b=_0xc28d07(_0x59854b,_0x4f32eb,_0x294cef,_0x3a19fd,_0x5ada07,0xb,_0x56ec4f[0x2d]),_0x3a19fd=_0xc28d07(_0x3a19fd,_0x59854b,_0x4f32eb,_0x294cef,_0x52219d,0x10,_0x56ec4f[0x2e]),_0x294cef=_0xc28d07(_0x294cef,_0x3a19fd,_0x59854b,_0x4f32eb,_0x4b4363,0x17,_0x56ec4f[0x2f]),_0x4f32eb=_0x40e694(_0x4f32eb,_0x294cef,_0x3a19fd,_0x59854b,_0x102bea,0x6,_0x56ec4f[0x30]),_0x59854b=_0x40e694(_0x59854b,_0x4f32eb,_0x294cef,_0x3a19fd,_0xc1172b,0xa,_0x56ec4f[0x31]),_0x3a19fd=_0x40e694(_0x3a19fd,_0x59854b,_0x4f32eb,_0x294cef,_0x33e1da,0xf,_0x56ec4f[0x32]),_0x294cef=_0x40e694(_0x294cef,_0x3a19fd,_0x59854b,_0x4f32eb,_0x2cd03b,0x15,_0x56ec4f[0x33]),_0x4f32eb=_0x40e694(_0x4f32eb,_0x294cef,_0x3a19fd,_0x59854b,_0x5ada07,0x6,_0x56ec4f[0x34]),_0x59854b=_0x40e694(_0x59854b,_0x4f32eb,_0x294cef,_0x3a19fd,_0x1a263b,0xa,_0x56ec4f[0x35]),_0x3a19fd=_0x40e694(_0x3a19fd,_0x59854b,_0x4f32eb,_0x294cef,_0x1280d6,0xf,_0x56ec4f[0x36]),_0x294cef=_0x40e694(_0x294cef,_0x3a19fd,_0x59854b,_0x4f32eb,_0x5cc2db,0x15,_0x56ec4f[0x37]),_0x4f32eb=_0x40e694(_0x4f32eb,_0x294cef,_0x3a19fd,_0x59854b,_0xb4dd52,0x6,_0x56ec4f[0x38]),_0x59854b=_0x40e694(_0x59854b,_0x4f32eb,_0x294cef,_0x3a19fd,_0x52219d,0xa,_0x56ec4f[0x39]),_0x3a19fd=_0x40e694(_0x3a19fd,_0x59854b,_0x4f32eb,_0x294cef,_0x139125,0xf,_0x56ec4f[0x3a]),_0x294cef=_0x40e694(_0x294cef,_0x3a19fd,_0x59854b,_0x4f32eb,_0x47178b,0x15,_0x56ec4f[0x3b]),_0x4f32eb=_0x40e694(_0x4f32eb,_0x294cef,_0x3a19fd,_0x59854b,_0x141b46,0x6,_0x56ec4f[0x3c]),_0x59854b=_0x40e694(_0x59854b,_0x4f32eb,_0x294cef,_0x3a19fd,_0x1350f4,0xa,_0x56ec4f[0x3d]),_0x3a19fd=_0x40e694(_0x3a19fd,_0x59854b,_0x4f32eb,_0x294cef,_0x4b4363,0xf,_0x56ec4f[0x3e]),_0x294cef=_0x40e694(_0x294cef,_0x3a19fd,_0x59854b,_0x4f32eb,_0x591655,0x15,_0x56ec4f[0x3f]),_0x41b3ea[0x0]=_0x41b3ea[0x0]+_0x4f32eb|0x0,_0x41b3ea[0x1]=_0x41b3ea[0x1]+_0x294cef|0x0,_0x41b3ea[0x2]=_0x41b3ea[0x2]+_0x3a19fd|0x0,_0x41b3ea[0x3]=_0x41b3ea[0x3]+_0x59854b|0x0;},'_doFinalize':function(){var _0x159cbd=_0x441df3,_0x3d5c8e=this[_0x159cbd(0x226)],_0x4eab9f=_0x3d5c8e[_0x159cbd(0x38b)],_0x289981=this[_0x159cbd(0x438)]*0x8,_0x58e8ae=_0x3d5c8e[_0x159cbd(0x3c4)]*0x8;_0x4eab9f[_0x58e8ae>>>0x5]|=0x80<<0x18-_0x58e8ae%0x20;var _0x534fcf=_0x5cb4fc[_0x159cbd(0x453)](_0x289981/0x100000000),_0x110901=_0x289981;_0x4eab9f[(_0x58e8ae+0x40>>>0x9<<0x4)+0xf]=(_0x534fcf<<0x8|_0x534fcf>>>0x18)&0xff00ff|(_0x534fcf<<0x18|_0x534fcf>>>0x8)&0xff00ff00,_0x4eab9f[(_0x58e8ae+0x40>>>0x9<<0x4)+0xe]=(_0x110901<<0x8|_0x110901>>>0x18)&0xff00ff|(_0x110901<<0x18|_0x110901>>>0x8)&0xff00ff00,_0x3d5c8e['sigBytes']=(_0x4eab9f['length']+0x1)*0x4,this[_0x159cbd(0x2a1)]();for(var _0x4f6e21=this[_0x159cbd(0x286)],_0x48d1e9=_0x4f6e21[_0x159cbd(0x38b)],_0x2bd20a=0x0;_0x2bd20a<0x4;_0x2bd20a++){var _0x2417b2=_0x48d1e9[_0x2bd20a];_0x48d1e9[_0x2bd20a]=(_0x2417b2<<0x8|_0x2417b2>>>0x18)&0xff00ff|(_0x2417b2<<0x18|_0x2417b2>>>0x8)&0xff00ff00;}return _0x4f6e21;},'clone':function(){var _0xf974d8=_0x441df3,_0x4a194c=_0x5cccbb[_0xf974d8(0x1d1)]['call'](this);return _0x4a194c[_0xf974d8(0x286)]=this['_hash'][_0xf974d8(0x1d1)](),_0x4a194c;}});function _0x229190(_0x1dede6,_0x3816d8,_0x293b38,_0x2c4f4d,_0x442021,_0x5d86fb,_0x2bdb63){var _0x19810f=_0x1dede6+(_0x3816d8&_0x293b38|~_0x3816d8&_0x2c4f4d)+_0x442021+_0x2bdb63;return(_0x19810f<<_0x5d86fb|_0x19810f>>>0x20-_0x5d86fb)+_0x3816d8;}function _0x45bcda(_0x2ef294,_0x30a112,_0x2ab6e4,_0x212a93,_0x5bbbdd,_0x57f8ad,_0x476691){var _0x459e8f=_0x2ef294+(_0x30a112&_0x212a93|_0x2ab6e4&~_0x212a93)+_0x5bbbdd+_0x476691;return(_0x459e8f<<_0x57f8ad|_0x459e8f>>>0x20-_0x57f8ad)+_0x30a112;}function _0xc28d07(_0x3c5f06,_0x3fa415,_0x2da7bb,_0x24044b,_0x502125,_0x3830cd,_0x1bc93c){var _0xcdec63=_0x3c5f06+(_0x3fa415^_0x2da7bb^_0x24044b)+_0x502125+_0x1bc93c;return(_0xcdec63<<_0x3830cd|_0xcdec63>>>0x20-_0x3830cd)+_0x3fa415;}function _0x40e694(_0x48ca4a,_0x11bd11,_0x24c28b,_0x282dac,_0xd99a01,_0x45fb66,_0x54f101){var _0xf7b268=_0x48ca4a+(_0x24c28b^(_0x11bd11|~_0x282dac))+_0xd99a01+_0x54f101;return(_0xf7b268<<_0x45fb66|_0xf7b268>>>0x20-_0x45fb66)+_0x11bd11;}_0x2aae9a['MD5']=_0x5cccbb[_0x441df3(0x364)](_0x1e2106),_0x2aae9a[_0x441df3(0x32b)]=_0x5cccbb[_0x441df3(0x439)](_0x1e2106);}(Math),_0xdaa96f[_0x5e7621(0x32c)];}));}(Ye)),Ye[_0x3522f1(0x1dd)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x46936e(0x1dd)],Xt;function dn(){return Xt||(Xt=0x1,function(_0x528d95,_0x4d9a2f){(function(_0x2f7c67,_0x1c5d9b){var _0x5e625e=_0x1209;_0x528d95[_0x5e625e(0x1dd)]=_0x1c5d9b(te());}(un,function(_0x3acf65){return(function(){var _0x52357e=_0x1209,_0x100450=_0x3acf65,_0x1e316a=_0x100450[_0x52357e(0x199)],_0x5d0301=_0x1e316a[_0x52357e(0x3b5)],_0x540076=_0x1e316a[_0x52357e(0x3bc)],_0x337562=_0x100450['algo'],_0x1dec85=[],_0x26f214=_0x337562[_0x52357e(0x2d5)]=_0x540076[_0x52357e(0x477)]({'_doReset':function(){var _0x5172b5=_0x52357e;this[_0x5172b5(0x286)]=new _0x5d0301['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5814ea,_0x16a78d){var _0x41583f=_0x52357e;for(var _0x1f55ae=this[_0x41583f(0x286)][_0x41583f(0x38b)],_0x5931ad=_0x1f55ae[0x0],_0x120a35=_0x1f55ae[0x1],_0xcfe863=_0x1f55ae[0x2],_0x165ca1=_0x1f55ae[0x3],_0x346303=_0x1f55ae[0x4],_0x44b5a7=0x0;_0x44b5a7<0x50;_0x44b5a7++){if(_0x44b5a7<0x10)_0x1dec85[_0x44b5a7]=_0x5814ea[_0x16a78d+_0x44b5a7]|0x0;else{var _0x377a3e=_0x1dec85[_0x44b5a7-0x3]^_0x1dec85[_0x44b5a7-0x8]^_0x1dec85[_0x44b5a7-0xe]^_0x1dec85[_0x44b5a7-0x10];_0x1dec85[_0x44b5a7]=_0x377a3e<<0x1|_0x377a3e>>>0x1f;}var _0x4fa3a5=(_0x5931ad<<0x5|_0x5931ad>>>0x1b)+_0x346303+_0x1dec85[_0x44b5a7];_0x44b5a7<0x14?_0x4fa3a5+=(_0x120a35&_0xcfe863|~_0x120a35&_0x165ca1)+0x5a827999:_0x44b5a7<0x28?_0x4fa3a5+=(_0x120a35^_0xcfe863^_0x165ca1)+0x6ed9eba1:_0x44b5a7<0x3c?_0x4fa3a5+=(_0x120a35&_0xcfe863|_0x120a35&_0x165ca1|_0xcfe863&_0x165ca1)-0x70e44324:_0x4fa3a5+=(_0x120a35^_0xcfe863^_0x165ca1)-0x359d3e2a,_0x346303=_0x165ca1,_0x165ca1=_0xcfe863,_0xcfe863=_0x120a35<<0x1e|_0x120a35>>>0x2,_0x120a35=_0x5931ad,_0x5931ad=_0x4fa3a5;}_0x1f55ae[0x0]=_0x1f55ae[0x0]+_0x5931ad|0x0,_0x1f55ae[0x1]=_0x1f55ae[0x1]+_0x120a35|0x0,_0x1f55ae[0x2]=_0x1f55ae[0x2]+_0xcfe863|0x0,_0x1f55ae[0x3]=_0x1f55ae[0x3]+_0x165ca1|0x0,_0x1f55ae[0x4]=_0x1f55ae[0x4]+_0x346303|0x0;},'_doFinalize':function(){var _0x5a37ef=_0x52357e,_0x34cb7b=this[_0x5a37ef(0x226)],_0x4853a8=_0x34cb7b[_0x5a37ef(0x38b)],_0x303c22=this[_0x5a37ef(0x438)]*0x8,_0x569dbc=_0x34cb7b['sigBytes']*0x8;return _0x4853a8[_0x569dbc>>>0x5]|=0x80<<0x18-_0x569dbc%0x20,_0x4853a8[(_0x569dbc+0x40>>>0x9<<0x4)+0xe]=Math[_0x5a37ef(0x453)](_0x303c22/0x100000000),_0x4853a8[(_0x569dbc+0x40>>>0x9<<0x4)+0xf]=_0x303c22,_0x34cb7b[_0x5a37ef(0x3c4)]=_0x4853a8['length']*0x4,this[_0x5a37ef(0x2a1)](),this['_hash'];},'clone':function(){var _0x540dff=_0x52357e,_0x220f42=_0x540076['clone'][_0x540dff(0x30e)](this);return _0x220f42[_0x540dff(0x286)]=this['_hash']['clone'](),_0x220f42;}});_0x100450[_0x52357e(0x2d5)]=_0x540076[_0x52357e(0x364)](_0x26f214),_0x100450['HmacSHA1']=_0x540076[_0x52357e(0x439)](_0x26f214);}()),_0x3acf65['SHA1'];}));}(qe)),qe['exports'];}var ze={'exports':{}},fn=ze[_0x46936e(0x1dd)],Zt;function vn(){return Zt||(Zt=0x1,function(_0x22f9f6,_0x5dc1c7){(function(_0x7ba318,_0x19680b){_0x22f9f6['exports']=_0x19680b(te());}(fn,function(_0x1de168){(function(){var _0x3e4237=_0x1209,_0x1d5d02=_0x1de168,_0x59e724=_0x1d5d02[_0x3e4237(0x199)],_0x3fc795=_0x59e724['Base'],_0x44c89e=_0x1d5d02[_0x3e4237(0x44b)],_0x2de616=_0x44c89e[_0x3e4237(0x1ed)],_0x56d32c=_0x1d5d02[_0x3e4237(0x3ca)];_0x56d32c[_0x3e4237(0x421)]=_0x3fc795[_0x3e4237(0x477)]({'init':function(_0x31efb7,_0x2349dd){var _0x502671=_0x3e4237;_0x31efb7=this[_0x502671(0x29a)]=new _0x31efb7[(_0x502671(0x2c2))](),typeof _0x2349dd=='string'&&(_0x2349dd=_0x2de616[_0x502671(0x2df)](_0x2349dd));var _0x38d063=_0x31efb7[_0x502671(0x2b3)],_0x17b979=_0x38d063*0x4;_0x2349dd[_0x502671(0x3c4)]>_0x17b979&&(_0x2349dd=_0x31efb7[_0x502671(0x380)](_0x2349dd)),_0x2349dd[_0x502671(0x2fc)]();for(var _0x5d5d1e=this['_oKey']=_0x2349dd['clone'](),_0xbb4d40=this['_iKey']=_0x2349dd[_0x502671(0x1d1)](),_0x3d154e=_0x5d5d1e['words'],_0x49d1c6=_0xbb4d40[_0x502671(0x38b)],_0x49a5d2=0x0;_0x49a5d2<_0x38d063;_0x49a5d2++)_0x3d154e[_0x49a5d2]^=0x5c5c5c5c,_0x49d1c6[_0x49a5d2]^=0x36363636;_0x5d5d1e[_0x502671(0x3c4)]=_0xbb4d40[_0x502671(0x3c4)]=_0x17b979,this[_0x502671(0x2d2)]();},'reset':function(){var _0x443e93=_0x3e4237,_0x22a290=this[_0x443e93(0x29a)];_0x22a290['reset'](),_0x22a290[_0x443e93(0x26b)](this['_iKey']);},'update':function(_0x1bb586){var _0x207fd4=_0x3e4237;return this[_0x207fd4(0x29a)][_0x207fd4(0x26b)](_0x1bb586),this;},'finalize':function(_0x5d8a3a){var _0x2f1116=_0x3e4237,_0x59b21a=this[_0x2f1116(0x29a)],_0x1694ea=_0x59b21a['finalize'](_0x5d8a3a);_0x59b21a[_0x2f1116(0x2d2)]();var _0x5885a6=_0x59b21a[_0x2f1116(0x380)](this[_0x2f1116(0x28d)][_0x2f1116(0x1d1)]()['concat'](_0x1694ea));return _0x5885a6;}});}());}));}(ze)),ze['exports'];}var pn=Ke[_0x46936e(0x1dd)],Qt;function Oi(){return Qt||(Qt=0x1,function(_0x1ebec4,_0x5c1e9d){(function(_0x328171,_0xba2e22,_0x298955){var _0x63a5cc=_0x1209;_0x1ebec4[_0x63a5cc(0x1dd)]=_0xba2e22(te(),dn(),vn());}(pn,function(_0xa322f){return(function(){var _0x53e8ac=_0x1209,_0x1fdeab=_0xa322f,_0x52dbfa=_0x1fdeab[_0x53e8ac(0x199)],_0x5c1d11=_0x52dbfa[_0x53e8ac(0x304)],_0x22ebfa=_0x52dbfa[_0x53e8ac(0x3b5)],_0x353b39=_0x1fdeab[_0x53e8ac(0x3ca)],_0x21585f=_0x353b39[_0x53e8ac(0x32c)],_0xcdd9be=_0x353b39[_0x53e8ac(0x246)]=_0x5c1d11[_0x53e8ac(0x477)]({'cfg':_0x5c1d11['extend']({'keySize':0x80/0x20,'hasher':_0x21585f,'iterations':0x1}),'init':function(_0xfaef5f){var _0x335163=_0x53e8ac;this[_0x335163(0x465)]=this[_0x335163(0x465)][_0x335163(0x477)](_0xfaef5f);},'compute':function(_0xaf9977,_0x7b8526){var _0x4b027c=_0x53e8ac;for(var _0x10c6b5,_0x2f91fe=this[_0x4b027c(0x465)],_0x316a10=_0x2f91fe[_0x4b027c(0x321)][_0x4b027c(0x2db)](),_0x4ffea5=_0x22ebfa[_0x4b027c(0x2db)](),_0x3745dd=_0x4ffea5[_0x4b027c(0x38b)],_0x13e831=_0x2f91fe[_0x4b027c(0x2eb)],_0x87f8d4=_0x2f91fe['iterations'];_0x3745dd[_0x4b027c(0x303)]<_0x13e831;){_0x10c6b5&&_0x316a10['update'](_0x10c6b5),_0x10c6b5=_0x316a10[_0x4b027c(0x26b)](_0xaf9977)[_0x4b027c(0x380)](_0x7b8526),_0x316a10[_0x4b027c(0x2d2)]();for(var _0x4c21bb=0x1;_0x4c21bb<_0x87f8d4;_0x4c21bb++)_0x10c6b5=_0x316a10['finalize'](_0x10c6b5),_0x316a10[_0x4b027c(0x2d2)]();_0x4ffea5['concat'](_0x10c6b5);}return _0x4ffea5['sigBytes']=_0x13e831*0x4,_0x4ffea5;}});_0x1fdeab['EvpKDF']=function(_0x2af99c,_0x1b3ced,_0xd330ca){return _0xcdd9be['create'](_0xd330ca)['compute'](_0x2af99c,_0x1b3ced);};}()),_0xa322f['EvpKDF'];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},mn=Je[_0x46936e(0x1dd)],ei;function bi(){var _0x1b3d90=_0x46936e;return ei||(ei=0x1,function(_0xdf43ee,_0x2ca07a){(function(_0x22330e,_0xe367fa,_0x1199de){var _0x54e3b7=_0x1209;_0xdf43ee[_0x54e3b7(0x1dd)]=_0xe367fa(te(),Oi());}(mn,function(_0x543ab4){var _0x56978c=_0x1209;_0x543ab4['lib'][_0x56978c(0x47a)]||function(_0x176f77){var _0x5e733f=_0x56978c,_0x26aeb5=_0x543ab4,_0x27a755=_0x26aeb5['lib'],_0x53e0a7=_0x27a755['Base'],_0x44ee8f=_0x27a755[_0x5e733f(0x3b5)],_0x172fbd=_0x27a755[_0x5e733f(0x382)],_0x56ec87=_0x26aeb5[_0x5e733f(0x44b)];_0x56ec87[_0x5e733f(0x1ed)];var _0x30c0e0=_0x56ec87[_0x5e733f(0x42a)],_0x1dad95=_0x26aeb5[_0x5e733f(0x3ca)],_0x2f2f64=_0x1dad95['EvpKDF'],_0x4cb7bf=_0x27a755['Cipher']=_0x172fbd[_0x5e733f(0x477)]({'cfg':_0x53e0a7[_0x5e733f(0x477)](),'createEncryptor':function(_0x9487d5,_0x90ce11){var _0x363479=_0x5e733f;return this['create'](this[_0x363479(0x349)],_0x9487d5,_0x90ce11);},'createDecryptor':function(_0x355a8a,_0x4ea032){var _0x48013b=_0x5e733f;return this[_0x48013b(0x2db)](this[_0x48013b(0x362)],_0x355a8a,_0x4ea032);},'init':function(_0x55dec2,_0x1955dd,_0x37ab9b){var _0x125c3f=_0x5e733f;this['cfg']=this[_0x125c3f(0x465)][_0x125c3f(0x477)](_0x37ab9b),this[_0x125c3f(0x344)]=_0x55dec2,this[_0x125c3f(0x23e)]=_0x1955dd,this['reset']();},'reset':function(){var _0x54efc3=_0x5e733f;_0x172fbd[_0x54efc3(0x2d2)][_0x54efc3(0x30e)](this),this[_0x54efc3(0x47f)]();},'process':function(_0x363c59){var _0x334eae=_0x5e733f;return this['_append'](_0x363c59),this[_0x334eae(0x2a1)]();},'finalize':function(_0x532d56){var _0x43a965=_0x5e733f;_0x532d56&&this['_append'](_0x532d56);var _0x143942=this[_0x43a965(0x26f)]();return _0x143942;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2e043b(_0x33e28c){return typeof _0x33e28c=='string'?_0x4fb05b:_0x3f6619;}return function(_0x36d3f7){return{'encrypt':function(_0x1cb194,_0x500387,_0x51b393){var _0x440614=_0x1209;return _0x2e043b(_0x500387)[_0x440614(0x455)](_0x36d3f7,_0x1cb194,_0x500387,_0x51b393);},'decrypt':function(_0x30a257,_0x21796d,_0x504c80){var _0x313d9f=_0x1209;return _0x2e043b(_0x21796d)[_0x313d9f(0x388)](_0x36d3f7,_0x30a257,_0x21796d,_0x504c80);}};};}())});_0x27a755['StreamCipher']=_0x4cb7bf[_0x5e733f(0x477)]({'_doFinalize':function(){var _0x326e23=_0x5e733f,_0x5eddcb=this[_0x326e23(0x2a1)](!0x0);return _0x5eddcb;},'blockSize':0x1});var _0x195d40=_0x26aeb5[_0x5e733f(0x411)]={},_0x16654f=_0x27a755['BlockCipherMode']=_0x53e0a7[_0x5e733f(0x477)]({'createEncryptor':function(_0x3afdb3,_0x55fa8f){var _0x44f2e7=_0x5e733f;return this[_0x44f2e7(0x37c)][_0x44f2e7(0x2db)](_0x3afdb3,_0x55fa8f);},'createDecryptor':function(_0x3eada7,_0xa302cb){var _0x25907c=_0x5e733f;return this[_0x25907c(0x34c)][_0x25907c(0x2db)](_0x3eada7,_0xa302cb);},'init':function(_0x51b89,_0x4a0ed5){var _0x20b4c9=_0x5e733f;this[_0x20b4c9(0x3c2)]=_0x51b89,this[_0x20b4c9(0x3e4)]=_0x4a0ed5;}}),_0x377648=_0x195d40[_0x5e733f(0x406)]=(function(){var _0xd27782=_0x5e733f,_0x3c79d7=_0x16654f[_0xd27782(0x477)]();_0x3c79d7[_0xd27782(0x37c)]=_0x3c79d7[_0xd27782(0x477)]({'processBlock':function(_0x3e6091,_0x2af30f){var _0x17625d=_0xd27782,_0x28130a=this['_cipher'],_0x41456e=_0x28130a[_0x17625d(0x2b3)];_0x591769[_0x17625d(0x30e)](this,_0x3e6091,_0x2af30f,_0x41456e),_0x28130a[_0x17625d(0x3b2)](_0x3e6091,_0x2af30f),this[_0x17625d(0x1aa)]=_0x3e6091[_0x17625d(0x1a7)](_0x2af30f,_0x2af30f+_0x41456e);}}),_0x3c79d7['Decryptor']=_0x3c79d7[_0xd27782(0x477)]({'processBlock':function(_0x47bd0a,_0x5d8801){var _0x321db7=_0xd27782,_0x4d4b5a=this['_cipher'],_0x121598=_0x4d4b5a['blockSize'],_0x109542=_0x47bd0a[_0x321db7(0x1a7)](_0x5d8801,_0x5d8801+_0x121598);_0x4d4b5a[_0x321db7(0x313)](_0x47bd0a,_0x5d8801),_0x591769[_0x321db7(0x30e)](this,_0x47bd0a,_0x5d8801,_0x121598),this[_0x321db7(0x1aa)]=_0x109542;}});function _0x591769(_0x4d868d,_0x37274d,_0x3fbc15){var _0x57deab=_0xd27782,_0x490974,_0x195979=this[_0x57deab(0x3e4)];_0x195979?(_0x490974=_0x195979,this[_0x57deab(0x3e4)]=_0x176f77):_0x490974=this['_prevBlock'];for(var _0x8a339f=0x0;_0x8a339f<_0x3fbc15;_0x8a339f++)_0x4d868d[_0x37274d+_0x8a339f]^=_0x490974[_0x8a339f];}return _0x3c79d7;}()),_0x422a1e=_0x26aeb5['pad']={},_0x54aa8f=_0x422a1e[_0x5e733f(0x3a1)]={'pad':function(_0x5a84bc,_0x6e77ce){var _0x2813b5=_0x5e733f;for(var _0x47c0d1=_0x6e77ce*0x4,_0x3396d2=_0x47c0d1-_0x5a84bc[_0x2813b5(0x3c4)]%_0x47c0d1,_0x41cf5d=_0x3396d2<<0x18|_0x3396d2<<0x10|_0x3396d2<<0x8|_0x3396d2,_0x2e34cc=[],_0x3d935e=0x0;_0x3d935e<_0x3396d2;_0x3d935e+=0x4)_0x2e34cc[_0x2813b5(0x1f7)](_0x41cf5d);var _0x34f937=_0x44ee8f[_0x2813b5(0x2db)](_0x2e34cc,_0x3396d2);_0x5a84bc[_0x2813b5(0x385)](_0x34f937);},'unpad':function(_0x173d35){var _0x4c2dcd=_0x5e733f,_0x379183=_0x173d35['words'][_0x173d35[_0x4c2dcd(0x3c4)]-0x1>>>0x2]&0xff;_0x173d35['sigBytes']-=_0x379183;}};_0x27a755[_0x5e733f(0x1dc)]=_0x4cb7bf['extend']({'cfg':_0x4cb7bf[_0x5e733f(0x465)]['extend']({'mode':_0x377648,'padding':_0x54aa8f}),'reset':function(){var _0x1729a5=_0x5e733f,_0x56833b;_0x4cb7bf[_0x1729a5(0x2d2)]['call'](this);var _0x5072d6=this['cfg'],_0x381a7d=_0x5072d6['iv'],_0x1a7aa7=_0x5072d6[_0x1729a5(0x411)];this[_0x1729a5(0x344)]==this['_ENC_XFORM_MODE']?_0x56833b=_0x1a7aa7[_0x1729a5(0x1d0)]:(_0x56833b=_0x1a7aa7[_0x1729a5(0x1b2)],this['_minBufferSize']=0x1),this[_0x1729a5(0x1f8)]&&this['_mode'][_0x1729a5(0x3c5)]==_0x56833b?this['_mode']['init'](this,_0x381a7d&&_0x381a7d['words']):(this[_0x1729a5(0x1f8)]=_0x56833b[_0x1729a5(0x30e)](_0x1a7aa7,this,_0x381a7d&&_0x381a7d['words']),this['_mode'][_0x1729a5(0x3c5)]=_0x56833b);},'_doProcessBlock':function(_0x36db08,_0x41882b){var _0x5393e0=_0x5e733f;this[_0x5393e0(0x1f8)]['processBlock'](_0x36db08,_0x41882b);},'_doFinalize':function(){var _0x2251c9=_0x5e733f,_0x426786,_0x8e25ab=this[_0x2251c9(0x465)][_0x2251c9(0x3eb)];return this[_0x2251c9(0x344)]==this['_ENC_XFORM_MODE']?(_0x8e25ab[_0x2251c9(0x205)](this[_0x2251c9(0x226)],this[_0x2251c9(0x2b3)]),_0x426786=this[_0x2251c9(0x2a1)](!0x0)):(_0x426786=this['_process'](!0x0),_0x8e25ab[_0x2251c9(0x3f8)](_0x426786)),_0x426786;},'blockSize':0x80/0x20});var _0x52b7c9=_0x27a755[_0x5e733f(0x1e7)]=_0x53e0a7[_0x5e733f(0x477)]({'init':function(_0x36a31a){var _0x12e6e7=_0x5e733f;this[_0x12e6e7(0x44e)](_0x36a31a);},'toString':function(_0x4fb9db){var _0xba8917=_0x5e733f;return(_0x4fb9db||this[_0xba8917(0x1d8)])['stringify'](this);}}),_0x3849f3=_0x26aeb5[_0x5e733f(0x334)]={},_0x43c120=_0x3849f3['OpenSSL']={'stringify':function(_0x1ecf5c){var _0x2f314a=_0x5e733f,_0x1bfef4,_0x188985=_0x1ecf5c[_0x2f314a(0x480)],_0x24f910=_0x1ecf5c['salt'];return _0x24f910?_0x1bfef4=_0x44ee8f[_0x2f314a(0x2db)]([0x53616c74,0x65645f5f])['concat'](_0x24f910)[_0x2f314a(0x385)](_0x188985):_0x1bfef4=_0x188985,_0x1bfef4[_0x2f314a(0x476)](_0x30c0e0);},'parse':function(_0x43548a){var _0x4d0bba=_0x5e733f,_0x5a84e7,_0xac255=_0x30c0e0['parse'](_0x43548a),_0x352d02=_0xac255[_0x4d0bba(0x38b)];return _0x352d02[0x0]==0x53616c74&&_0x352d02[0x1]==0x65645f5f&&(_0x5a84e7=_0x44ee8f[_0x4d0bba(0x2db)](_0x352d02[_0x4d0bba(0x1a7)](0x2,0x4)),_0x352d02[_0x4d0bba(0x42e)](0x0,0x4),_0xac255['sigBytes']-=0x10),_0x52b7c9[_0x4d0bba(0x2db)]({'ciphertext':_0xac255,'salt':_0x5a84e7});}},_0x3f6619=_0x27a755[_0x5e733f(0x3f1)]=_0x53e0a7['extend']({'cfg':_0x53e0a7[_0x5e733f(0x477)]({'format':_0x43c120}),'encrypt':function(_0x3e7233,_0x336a0a,_0x473adc,_0x18a6a9){var _0x529e70=_0x5e733f;_0x18a6a9=this[_0x529e70(0x465)][_0x529e70(0x477)](_0x18a6a9);var _0x5da666=_0x3e7233['createEncryptor'](_0x473adc,_0x18a6a9),_0x418637=_0x5da666[_0x529e70(0x380)](_0x336a0a),_0x2b221c=_0x5da666['cfg'];return _0x52b7c9[_0x529e70(0x2db)]({'ciphertext':_0x418637,'key':_0x473adc,'iv':_0x2b221c['iv'],'algorithm':_0x3e7233,'mode':_0x2b221c[_0x529e70(0x411)],'padding':_0x2b221c['padding'],'blockSize':_0x3e7233[_0x529e70(0x2b3)],'formatter':_0x18a6a9['format']});},'decrypt':function(_0x4bd7dc,_0x3e782c,_0x3f01ec,_0x391014){var _0x47a818=_0x5e733f;_0x391014=this[_0x47a818(0x465)]['extend'](_0x391014),_0x3e782c=this['_parse'](_0x3e782c,_0x391014[_0x47a818(0x334)]);var _0x315155=_0x4bd7dc[_0x47a818(0x1b2)](_0x3f01ec,_0x391014)[_0x47a818(0x380)](_0x3e782c['ciphertext']);return _0x315155;},'_parse':function(_0x5f555f,_0x5c7be4){var _0xecc2d7=_0x5e733f;return typeof _0x5f555f=='string'?_0x5c7be4[_0xecc2d7(0x2df)](_0x5f555f,this):_0x5f555f;}}),_0x360a3f=_0x26aeb5['kdf']={},_0x59bf70=_0x360a3f[_0x5e733f(0x1fa)]={'execute':function(_0x15d5ad,_0x2619e4,_0x4350a5,_0xbaf52b,_0x1ab9eb){var _0x20c1ab=_0x5e733f;if(_0xbaf52b||(_0xbaf52b=_0x44ee8f['random'](0x40/0x8)),_0x1ab9eb)var _0x415252=_0x2f2f64[_0x20c1ab(0x2db)]({'keySize':_0x2619e4+_0x4350a5,'hasher':_0x1ab9eb})[_0x20c1ab(0x38f)](_0x15d5ad,_0xbaf52b);else var _0x415252=_0x2f2f64[_0x20c1ab(0x2db)]({'keySize':_0x2619e4+_0x4350a5})[_0x20c1ab(0x38f)](_0x15d5ad,_0xbaf52b);var _0x51c6e6=_0x44ee8f[_0x20c1ab(0x2db)](_0x415252[_0x20c1ab(0x38b)][_0x20c1ab(0x1a7)](_0x2619e4),_0x4350a5*0x4);return _0x415252[_0x20c1ab(0x3c4)]=_0x2619e4*0x4,_0x52b7c9[_0x20c1ab(0x2db)]({'key':_0x415252,'iv':_0x51c6e6,'salt':_0xbaf52b});}},_0x4fb05b=_0x27a755[_0x5e733f(0x430)]=_0x3f6619[_0x5e733f(0x477)]({'cfg':_0x3f6619['cfg'][_0x5e733f(0x477)]({'kdf':_0x59bf70}),'encrypt':function(_0x39c0ce,_0x21c985,_0x513732,_0x5ecdfe){var _0x3837a4=_0x5e733f;_0x5ecdfe=this[_0x3837a4(0x465)]['extend'](_0x5ecdfe);var _0x4faace=_0x5ecdfe[_0x3837a4(0x1e9)][_0x3837a4(0x3ba)](_0x513732,_0x39c0ce[_0x3837a4(0x2eb)],_0x39c0ce[_0x3837a4(0x43e)],_0x5ecdfe[_0x3837a4(0x432)],_0x5ecdfe['hasher']);_0x5ecdfe['iv']=_0x4faace['iv'];var _0x13a5ba=_0x3f6619[_0x3837a4(0x455)][_0x3837a4(0x30e)](this,_0x39c0ce,_0x21c985,_0x4faace[_0x3837a4(0x22f)],_0x5ecdfe);return _0x13a5ba['mixIn'](_0x4faace),_0x13a5ba;},'decrypt':function(_0x23f308,_0x2418fb,_0x402802,_0x1bae58){var _0x480d98=_0x5e733f;_0x1bae58=this[_0x480d98(0x465)][_0x480d98(0x477)](_0x1bae58),_0x2418fb=this[_0x480d98(0x255)](_0x2418fb,_0x1bae58[_0x480d98(0x334)]);var _0x58904d=_0x1bae58[_0x480d98(0x1e9)][_0x480d98(0x3ba)](_0x402802,_0x23f308[_0x480d98(0x2eb)],_0x23f308[_0x480d98(0x43e)],_0x2418fb[_0x480d98(0x432)],_0x1bae58[_0x480d98(0x321)]);_0x1bae58['iv']=_0x58904d['iv'];var _0x202eac=_0x3f6619[_0x480d98(0x388)]['call'](this,_0x23f308,_0x2418fb,_0x58904d[_0x480d98(0x22f)],_0x1bae58);return _0x202eac;}});}();}));}(Je)),Je[_0x1b3d90(0x1dd)];}var gn=Ve['exports'],ti;function Sn(){return ti||(ti=0x1,function(_0x59760b,_0x5c1461){(function(_0x359c18,_0x5191bc,_0x4fb928){var _0x27ec8a=_0x1209;_0x59760b[_0x27ec8a(0x1dd)]=_0x5191bc(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x4318f9){var _0x242f3c=_0x1209;return(function(){var _0x38db68=_0x1209,_0x21a232=_0x4318f9,_0x52bd08=_0x21a232[_0x38db68(0x199)],_0x286f3c=_0x52bd08[_0x38db68(0x1dc)],_0x3688b4=_0x21a232[_0x38db68(0x3ca)],_0x3acdb2=[],_0x1b163e=[],_0x2e995b=[],_0x5e6480=[],_0x419018=[],_0x52b2fe=[],_0x29ee2b=[],_0x1ad82a=[],_0x1e82d5=[],_0x52e608=[];(function(){for(var _0x12e03c=[],_0x23e1bc=0x0;_0x23e1bc<0x100;_0x23e1bc++)_0x23e1bc<0x80?_0x12e03c[_0x23e1bc]=_0x23e1bc<<0x1:_0x12e03c[_0x23e1bc]=_0x23e1bc<<0x1^0x11b;for(var _0x50dadc=0x0,_0x423c1f=0x0,_0x23e1bc=0x0;_0x23e1bc<0x100;_0x23e1bc++){var _0x4b4f84=_0x423c1f^_0x423c1f<<0x1^_0x423c1f<<0x2^_0x423c1f<<0x3^_0x423c1f<<0x4;_0x4b4f84=_0x4b4f84>>>0x8^_0x4b4f84&0xff^0x63,_0x3acdb2[_0x50dadc]=_0x4b4f84,_0x1b163e[_0x4b4f84]=_0x50dadc;var _0xe8ce0e=_0x12e03c[_0x50dadc],_0x4fe3f9=_0x12e03c[_0xe8ce0e],_0x3fffb4=_0x12e03c[_0x4fe3f9],_0x595ecc=_0x12e03c[_0x4b4f84]*0x101^_0x4b4f84*0x1010100;_0x2e995b[_0x50dadc]=_0x595ecc<<0x18|_0x595ecc>>>0x8,_0x5e6480[_0x50dadc]=_0x595ecc<<0x10|_0x595ecc>>>0x10,_0x419018[_0x50dadc]=_0x595ecc<<0x8|_0x595ecc>>>0x18,_0x52b2fe[_0x50dadc]=_0x595ecc;var _0x595ecc=_0x3fffb4*0x1010101^_0x4fe3f9*0x10001^_0xe8ce0e*0x101^_0x50dadc*0x1010100;_0x29ee2b[_0x4b4f84]=_0x595ecc<<0x18|_0x595ecc>>>0x8,_0x1ad82a[_0x4b4f84]=_0x595ecc<<0x10|_0x595ecc>>>0x10,_0x1e82d5[_0x4b4f84]=_0x595ecc<<0x8|_0x595ecc>>>0x18,_0x52e608[_0x4b4f84]=_0x595ecc,_0x50dadc?(_0x50dadc=_0xe8ce0e^_0x12e03c[_0x12e03c[_0x12e03c[_0x3fffb4^_0xe8ce0e]]],_0x423c1f^=_0x12e03c[_0x12e03c[_0x423c1f]]):_0x50dadc=_0x423c1f=0x1;}}());var _0xe31094=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x82f6d5=_0x3688b4[_0x38db68(0x33c)]=_0x286f3c['extend']({'_doReset':function(){var _0x3a9aef=_0x38db68,_0x8f878;if(!(this[_0x3a9aef(0x33f)]&&this[_0x3a9aef(0x3d0)]===this['_key'])){for(var _0x25f38e=this[_0x3a9aef(0x3d0)]=this['_key'],_0x30e016=_0x25f38e['words'],_0x91f1f4=_0x25f38e[_0x3a9aef(0x3c4)]/0x4,_0x1a4627=this[_0x3a9aef(0x33f)]=_0x91f1f4+0x6,_0x30b1ac=(_0x1a4627+0x1)*0x4,_0x4d114a=this[_0x3a9aef(0x42b)]=[],_0x4e1066=0x0;_0x4e1066<_0x30b1ac;_0x4e1066++)_0x4e1066<_0x91f1f4?_0x4d114a[_0x4e1066]=_0x30e016[_0x4e1066]:(_0x8f878=_0x4d114a[_0x4e1066-0x1],_0x4e1066%_0x91f1f4?_0x91f1f4>0x6&&_0x4e1066%_0x91f1f4==0x4&&(_0x8f878=_0x3acdb2[_0x8f878>>>0x18]<<0x18|_0x3acdb2[_0x8f878>>>0x10&0xff]<<0x10|_0x3acdb2[_0x8f878>>>0x8&0xff]<<0x8|_0x3acdb2[_0x8f878&0xff]):(_0x8f878=_0x8f878<<0x8|_0x8f878>>>0x18,_0x8f878=_0x3acdb2[_0x8f878>>>0x18]<<0x18|_0x3acdb2[_0x8f878>>>0x10&0xff]<<0x10|_0x3acdb2[_0x8f878>>>0x8&0xff]<<0x8|_0x3acdb2[_0x8f878&0xff],_0x8f878^=_0xe31094[_0x4e1066/_0x91f1f4|0x0]<<0x18),_0x4d114a[_0x4e1066]=_0x4d114a[_0x4e1066-_0x91f1f4]^_0x8f878);for(var _0x2e5038=this[_0x3a9aef(0x447)]=[],_0x31bd46=0x0;_0x31bd46<_0x30b1ac;_0x31bd46++){var _0x4e1066=_0x30b1ac-_0x31bd46;if(_0x31bd46%0x4)var _0x8f878=_0x4d114a[_0x4e1066];else var _0x8f878=_0x4d114a[_0x4e1066-0x4];_0x31bd46<0x4||_0x4e1066<=0x4?_0x2e5038[_0x31bd46]=_0x8f878:_0x2e5038[_0x31bd46]=_0x29ee2b[_0x3acdb2[_0x8f878>>>0x18]]^_0x1ad82a[_0x3acdb2[_0x8f878>>>0x10&0xff]]^_0x1e82d5[_0x3acdb2[_0x8f878>>>0x8&0xff]]^_0x52e608[_0x3acdb2[_0x8f878&0xff]];}}},'encryptBlock':function(_0x1b2afd,_0x2f0e10){var _0xbfbba5=_0x38db68;this[_0xbfbba5(0x1ec)](_0x1b2afd,_0x2f0e10,this[_0xbfbba5(0x42b)],_0x2e995b,_0x5e6480,_0x419018,_0x52b2fe,_0x3acdb2);},'decryptBlock':function(_0x4d6b02,_0x594a77){var _0x392051=_0x38db68,_0x4276b0=_0x4d6b02[_0x594a77+0x1];_0x4d6b02[_0x594a77+0x1]=_0x4d6b02[_0x594a77+0x3],_0x4d6b02[_0x594a77+0x3]=_0x4276b0,this[_0x392051(0x1ec)](_0x4d6b02,_0x594a77,this[_0x392051(0x447)],_0x29ee2b,_0x1ad82a,_0x1e82d5,_0x52e608,_0x1b163e);var _0x4276b0=_0x4d6b02[_0x594a77+0x1];_0x4d6b02[_0x594a77+0x1]=_0x4d6b02[_0x594a77+0x3],_0x4d6b02[_0x594a77+0x3]=_0x4276b0;},'_doCryptBlock':function(_0x32256c,_0x28d991,_0x8a37f3,_0x10703e,_0x566ed9,_0x266365,_0x1a3e4e,_0x426370){var _0x203876=_0x38db68;for(var _0xcc299e=this[_0x203876(0x33f)],_0x3d8652=_0x32256c[_0x28d991]^_0x8a37f3[0x0],_0x567a91=_0x32256c[_0x28d991+0x1]^_0x8a37f3[0x1],_0x250d68=_0x32256c[_0x28d991+0x2]^_0x8a37f3[0x2],_0x4d6738=_0x32256c[_0x28d991+0x3]^_0x8a37f3[0x3],_0x484276=0x4,_0x29d649=0x1;_0x29d649<_0xcc299e;_0x29d649++){var _0x3ca66c=_0x10703e[_0x3d8652>>>0x18]^_0x566ed9[_0x567a91>>>0x10&0xff]^_0x266365[_0x250d68>>>0x8&0xff]^_0x1a3e4e[_0x4d6738&0xff]^_0x8a37f3[_0x484276++],_0x16c7ce=_0x10703e[_0x567a91>>>0x18]^_0x566ed9[_0x250d68>>>0x10&0xff]^_0x266365[_0x4d6738>>>0x8&0xff]^_0x1a3e4e[_0x3d8652&0xff]^_0x8a37f3[_0x484276++],_0x1cb7f5=_0x10703e[_0x250d68>>>0x18]^_0x566ed9[_0x4d6738>>>0x10&0xff]^_0x266365[_0x3d8652>>>0x8&0xff]^_0x1a3e4e[_0x567a91&0xff]^_0x8a37f3[_0x484276++],_0x5816fa=_0x10703e[_0x4d6738>>>0x18]^_0x566ed9[_0x3d8652>>>0x10&0xff]^_0x266365[_0x567a91>>>0x8&0xff]^_0x1a3e4e[_0x250d68&0xff]^_0x8a37f3[_0x484276++];_0x3d8652=_0x3ca66c,_0x567a91=_0x16c7ce,_0x250d68=_0x1cb7f5,_0x4d6738=_0x5816fa;}var _0x3ca66c=(_0x426370[_0x3d8652>>>0x18]<<0x18|_0x426370[_0x567a91>>>0x10&0xff]<<0x10|_0x426370[_0x250d68>>>0x8&0xff]<<0x8|_0x426370[_0x4d6738&0xff])^_0x8a37f3[_0x484276++],_0x16c7ce=(_0x426370[_0x567a91>>>0x18]<<0x18|_0x426370[_0x250d68>>>0x10&0xff]<<0x10|_0x426370[_0x4d6738>>>0x8&0xff]<<0x8|_0x426370[_0x3d8652&0xff])^_0x8a37f3[_0x484276++],_0x1cb7f5=(_0x426370[_0x250d68>>>0x18]<<0x18|_0x426370[_0x4d6738>>>0x10&0xff]<<0x10|_0x426370[_0x3d8652>>>0x8&0xff]<<0x8|_0x426370[_0x567a91&0xff])^_0x8a37f3[_0x484276++],_0x5816fa=(_0x426370[_0x4d6738>>>0x18]<<0x18|_0x426370[_0x3d8652>>>0x10&0xff]<<0x10|_0x426370[_0x567a91>>>0x8&0xff]<<0x8|_0x426370[_0x250d68&0xff])^_0x8a37f3[_0x484276++];_0x32256c[_0x28d991]=_0x3ca66c,_0x32256c[_0x28d991+0x1]=_0x16c7ce,_0x32256c[_0x28d991+0x2]=_0x1cb7f5,_0x32256c[_0x28d991+0x3]=_0x5816fa;},'keySize':0x100/0x20});_0x21a232[_0x38db68(0x33c)]=_0x286f3c['_createHelper'](_0x82f6d5);}()),_0x4318f9[_0x242f3c(0x33c)];}));}(Ve)),Ve['exports'];}var En=Sn();function _0x1209(_0x2fa4ae,_0x88a26f){var _0x1d4038=_0x1d40();return _0x1209=function(_0x1209ee,_0x27822d){_0x1209ee=_0x1209ee-0x199;var _0x1490fa=_0x1d4038[_0x1209ee];return _0x1490fa;},_0x1209(_0x2fa4ae,_0x88a26f);}const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0x46936e(0x1dd)],si;function Rn(){return si||(si=0x1,function(_0x546244,_0x523433){(function(_0x1d447a,_0x1f3c5c){_0x546244['exports']=_0x1f3c5c(te());}(Cn,function(_0x4bc8da){var _0x4b56c6=_0x1209;return _0x4bc8da[_0x4b56c6(0x44b)][_0x4b56c6(0x1ed)];}));}(Xe)),Xe['exports'];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0x46936e(0x1dd)],ni;function Nn(){var _0x5e9181=_0x46936e;return ni||(ni=0x1,function(_0x21e5b2,_0x233656){(function(_0x7bfc55,_0x31a509){_0x21e5b2['exports']=_0x31a509(te());}(yn,function(_0x261988){var _0x424beb=_0x1209;return(function(){var _0x115f17=_0x1209;if(typeof ArrayBuffer==_0x115f17(0x379)){var _0x2d401d=_0x261988,_0x264779=_0x2d401d[_0x115f17(0x199)],_0x5bf5cf=_0x264779[_0x115f17(0x3b5)],_0x15400=_0x5bf5cf[_0x115f17(0x2c2)],_0x44b4da=_0x5bf5cf['init']=function(_0x1b3090){var _0x23b4b6=_0x115f17;if(_0x1b3090 instanceof ArrayBuffer&&(_0x1b3090=new Uint8Array(_0x1b3090)),(_0x1b3090 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1b3090 instanceof Uint8ClampedArray||_0x1b3090 instanceof Int16Array||_0x1b3090 instanceof Uint16Array||_0x1b3090 instanceof Int32Array||_0x1b3090 instanceof Uint32Array||_0x1b3090 instanceof Float32Array||_0x1b3090 instanceof Float64Array)&&(_0x1b3090=new Uint8Array(_0x1b3090[_0x23b4b6(0x3a5)],_0x1b3090[_0x23b4b6(0x3e3)],_0x1b3090[_0x23b4b6(0x220)])),_0x1b3090 instanceof Uint8Array){for(var _0x29a151=_0x1b3090[_0x23b4b6(0x220)],_0x1b44d1=[],_0x1f2ed4=0x0;_0x1f2ed4<_0x29a151;_0x1f2ed4++)_0x1b44d1[_0x1f2ed4>>>0x2]|=_0x1b3090[_0x1f2ed4]<<0x18-_0x1f2ed4%0x4*0x8;_0x15400[_0x23b4b6(0x30e)](this,_0x1b44d1,_0x29a151);}else _0x15400[_0x23b4b6(0x3ee)](this,arguments);};_0x44b4da[_0x115f17(0x3b7)]=_0x5bf5cf;}}()),_0x261988[_0x424beb(0x199)]['WordArray'];}));}(Ze)),Ze[_0x5e9181(0x1dd)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0x46936e(0x1dd)],ri;function wn(){var _0x1fe72a=_0x46936e;return ri||(ri=0x1,function(_0x338ef6,_0x57fdb5){(function(_0x24724e,_0x5198ab,_0x1cc370){var _0x1ed02b=_0x1209;_0x338ef6[_0x1ed02b(0x1dd)]=_0x5198ab(te(),bi());}(An,function(_0x3dfde1){var _0x1f4b9f=_0x1209;return _0x3dfde1[_0x1f4b9f(0x205)][_0x1f4b9f(0x288)]={'pad':function(){},'unpad':function(){}},_0x3dfde1['pad']['NoPadding'];}));}(Qe)),Qe[_0x1fe72a(0x1dd)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x2fad88,_0x420eaa){var _0x84f021=_0x46936e;const _0x32b002=_0x420eaa-_0x2fad88[_0x84f021(0x303)]%_0x420eaa,_0x1b7ac3=String[_0x84f021(0x487)](_0x32b002)[_0x84f021(0x398)](_0x32b002);return _0x2fad88+_0x1b7ac3;}function xn(_0x52de79,_0x170144){var _0x23deb8=_0x46936e;const _0x42cbcf=Un['random'](0x10),_0x3629aa=Ln(_0x52de79,0x10),_0x545964=In['encrypt'](bn['parse'](_0x3629aa),ii[_0x23deb8(0x2df)](_0x170144),{'iv':_0x42cbcf,'padding':Mn});return _0x42cbcf[_0x23deb8(0x385)](_0x545964[_0x23deb8(0x480)])['toString'](ii);}function kn(){var _0x2787fc=_0x46936e;const _0x126cd3=_0x3c8b05()[_0x2787fc(0x366)];if(_0x126cd3){const _0x762549={'time':Math[_0x2787fc(0x453)](Date[_0x2787fc(0x42c)]()/0x3e8),'domain':location[_0x2787fc(0x47d)]};return xn(JSON[_0x2787fc(0x27f)](_0x762549),_0x126cd3);}}var $n=Object[_0x46936e(0x2c3)],Hn=(_0x4cb5eb,_0x27e43d,_0x6efcb9,_0x7fd400)=>{var _0xaadb98=_0x46936e;for(var _0x2abd3b=_0x7fd400>0x1?void 0x0:_0x7fd400?$n(_0x27e43d,_0x6efcb9):_0x27e43d,_0x441ca1=_0x4cb5eb[_0xaadb98(0x303)]-0x1,_0x5880d0;_0x441ca1>=0x0;_0x441ca1--)(_0x5880d0=_0x4cb5eb[_0x441ca1])&&(_0x2abd3b=_0x5880d0(_0x2abd3b)||_0x2abd3b);return _0x2abd3b;},Bn=(_0x3dfb97,_0xfce366)=>(_0x4beedc,_0x13da0b)=>_0xfce366(_0x4beedc,_0x13da0b,_0x3dfb97);let at=class{constructor(_0x1811f2){var _0x5d7379=_0x46936e;this[_0x5d7379(0x1ea)]=_0x1811f2,this['_initRequestHeader']();}['_initRequestHeader'](){var _0x2a9ca2=_0x46936e;this[_0x2a9ca2(0x1ea)]['registerHTTPInterceptor']({'interceptor':(_0x32aa6c,_0x296301)=>{var _0x35df5a=_0x2a9ca2;const _0x20dc14=_0x32aa6c['headers'],_0x1fa110=kn();return _0x1fa110&&_0x20dc14['set'](_0x35df5a(0x31c),_0x1fa110),_0x296301(_0x32aa6c);}});}};at=Hn([Bn(0x0,_0x27e9d5(_0x421754))],at);var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x19e57f,_0x3e2a2b,_0x203ea7,_0x1a1cee)=>{var _0x1182e4=_0x46936e;for(var _0x27610c=_0x1a1cee>0x1?void 0x0:_0x1a1cee?jn(_0x3e2a2b,_0x203ea7):_0x3e2a2b,_0x4160e2=_0x19e57f[_0x1182e4(0x303)]-0x1,_0x52030c;_0x4160e2>=0x0;_0x4160e2--)(_0x52030c=_0x19e57f[_0x4160e2])&&(_0x27610c=_0x52030c(_0x27610c)||_0x27610c);return _0x27610c;},vt=(_0xe39b6a,_0x4e1fd6)=>(_0x5974d7,_0xf87993)=>_0x4e1fd6(_0x5974d7,_0xf87993,_0xe39b6a);let Ct=class extends _0x15d826{constructor(_0x383447,_0xc2fcf1,_0x2ee207){var _0x2aa3dd=_0x46936e;super(),N(this,'_unitInfo$',new _0x149e59(null)),N(this,_0x2aa3dd(0x208),this[_0x2aa3dd(0x44c)][_0x2aa3dd(0x19d)]()),(this[_0x2aa3dd(0x1ce)]=_0x383447,this['_snapshotService']=_0xc2fcf1,this[_0x2aa3dd(0x338)]=_0x2ee207);}async[_0x46936e(0x1bb)](_0x480f52,_0x1054de,_0x248a3c){var _0x3a28d3=_0x46936e;this[_0x3a28d3(0x44c)][_0x3a28d3(0x1d5)]({'unitId':_0x480f52,'type':_0x1054de});let _0x2b418a=null;switch(_0x1054de){case Z[_0x3a28d3(0x307)]:{_0x2b418a=await this['_snapshotService'][_0x3a28d3(0x257)](_0x480f52,_0x248a3c);break;}case Z[_0x3a28d3(0x34a)]:{_0x2b418a=await this[_0x3a28d3(0x250)]['loadDoc'](_0x480f52,_0x248a3c);break;}default:{this[_0x3a28d3(0x1ce)]['error'](_0x3a28d3(0x276),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x2b418a;}async[_0x46936e(0x464)](_0xa64000,_0xc0de2e,_0xaf022c){var _0x3368de=_0x46936e,_0x40b9d9;this['_unitInfo$'][_0x3368de(0x1d5)]({'unitId':_0xa64000,'type':_0xc0de2e,'subUnitId':_0xaf022c});let _0x3067aa=0x0;const _0x4e22d9=await((_0x40b9d9=this['_localCacheService'])==null?void 0x0:_0x40b9d9[_0x3368de(0x1f5)](_0xa64000));return _0x4e22d9&&(_0x4e22d9[_0x3368de(0x43f)]||_0x4e22d9['mutations'][_0x3368de(0x303)]!==0x0)&&(_0x3067aa=_0x4e22d9['rev']),_0x3067aa===0x0&&this[_0x3368de(0x1ce)][_0x3368de(0x3d4)](_0x3368de(0x276),_0x3368de(0x20b)),this['loadUnitOfRevision'](_0xa64000,_0xc0de2e,_0x3067aa);}};Ct=Fn([vt(0x0,_0xf70a07),vt(0x1,_0x27e9d5(_0x3a7a8e)),vt(0x2,_0x4eeaca(J))],Ct);var Vn=Object[_0x46936e(0x2c3)],Wn=(_0x2674ca,_0xaaaf63,_0x445c4d,_0x5a048d)=>{var _0x248760=_0x46936e;for(var _0x38a1a2=_0x5a048d>0x1?void 0x0:_0x5a048d?Vn(_0xaaaf63,_0x445c4d):_0xaaaf63,_0x328717=_0x2674ca[_0x248760(0x303)]-0x1,_0x5e8567;_0x328717>=0x0;_0x328717--)(_0x5e8567=_0x2674ca[_0x328717])&&(_0x38a1a2=_0x5e8567(_0x38a1a2)||_0x38a1a2);return _0x38a1a2;},pt=(_0x35967a,_0x562ef2)=>(_0x33fdbf,_0x3a6fa9)=>_0x562ef2(_0x33fdbf,_0x3a6fa9,_0x35967a);const Gn=[_0x46936e(0x36e),_0x46936e(0x2c1),_0x46936e(0x3fe),_0x46936e(0x222),'image/bmp'],Yn=0x5*0x400*0x400,Kn=_0x46936e(0x358),qn=_0x46936e(0x2fb);let Rt=class{constructor(_0x3150c4,_0x5ee331,_0x30eb30){var _0x49150a=_0x46936e;N(this,_0x49150a(0x260),0x0),N(this,_0x49150a(0x2c8),new _0x525fb2()),N(this,_0x49150a(0x1fc),this[_0x49150a(0x2c8)]),N(this,_0x49150a(0x21a),new Map()),(this[_0x49150a(0x1ea)]=_0x3150c4,this[_0x49150a(0x2bf)]=_0x5ee331,this[_0x49150a(0x43b)]=_0x30eb30);}[_0x46936e(0x473)](_0x506f69){var _0x244bcb=_0x46936e;this[_0x244bcb(0x260)]=_0x506f69,this[_0x244bcb(0x2c8)][_0x244bcb(0x1d5)](_0x506f69);}['getImageSourceCache'](_0x437d9d,_0x38009f){var _0x56f64a=_0x46936e;if(_0x38009f===_0x2935a1['BASE64']){const _0x13c3c5=new Image();return _0x13c3c5['src']=_0x437d9d,_0x13c3c5;}return this[_0x56f64a(0x21a)][_0x56f64a(0x2c6)](_0x437d9d);}[_0x46936e(0x254)](_0x3c8851,_0x4a8dd4,_0x4f9bd2){var _0x4accfe=_0x46936e;_0x4a8dd4===_0x2935a1['BASE64']||_0x4f9bd2==null||this[_0x4accfe(0x21a)][_0x4accfe(0x21c)](_0x3c8851,_0x4f9bd2);}async[_0x46936e(0x312)](_0x4b0438){var _0x1e075e=_0x46936e;try{const _0x4f3c9a=this[_0x1e075e(0x437)](this[_0x1e075e(0x243)](),''+_0x4b0438),_0x2d50ec=(await this[_0x1e075e(0x1ea)]['get'](_0x4f3c9a))[_0x1e075e(0x24d)];if(_0x2d50ec[_0x1e075e(0x337)]&&_0x2d50ec[_0x1e075e(0x337)]['code']===vi['OK']){const _0x34459a=new URL(_0x2d50ec[_0x1e075e(0x26e)],this[_0x1e075e(0x1ff)]())[_0x1e075e(0x476)]();return Promise[_0x1e075e(0x38e)](_0x34459a);}return Promise[_0x1e075e(0x458)](_0x2d50ec[_0x1e075e(0x337)]);}catch(_0x55c38b){return Promise[_0x1e075e(0x458)](_0x55c38b);}}async[_0x46936e(0x381)](_0x58003e){var _0x36f566=_0x46936e;let _0x43419b='';if(!Gn['includes'](_0x58003e[_0x36f566(0x32d)]))return this[_0x36f566(0x2f7)](),Promise[_0x36f566(0x458)](new Error(_0xb2d43d[_0x36f566(0x339)]));if(_0x58003e['size']>Yn)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0xb2d43d[_0x36f566(0x251)]));try{const _0x40642e=new FormData();_0x40642e['append'](_0x36f566(0x3dc),_0x58003e);const _0xa0becd=this[_0x36f566(0x43b)]['getFocusedUnit'](),_0x28b221=_0xa0becd==null?void 0x0:_0xa0becd[_0x36f566(0x28b)]();if(!_0x28b221)throw new Error(_0x36f566(0x302));const _0x4c5481=this['_getUploadFileURL']()+_0x36f566(0x3de)+_0x58003e['size']['toString']()+_0x36f566(0x3c0)+pi[_0x36f566(0x394)]+_0x36f566(0x445)+encodeURIComponent(_0x28b221),_0x5d208a={'body':_0x40642e},_0x39d0a0=(await this[_0x36f566(0x1ea)][_0x36f566(0x3e5)](_0x4c5481,_0x5d208a))['body'];if(typeof _0x39d0a0['FileId']!='string')return this[_0x36f566(0x2f7)](),Promise[_0x36f566(0x458)](new Error(_0xb2d43d[_0x36f566(0x39c)]));_0x43419b=_0x39d0a0['FileId'];}catch{return this[_0x36f566(0x2f7)](),Promise['reject'](new Error(_0xb2d43d['ERROR_IMAGE']));}return new Promise((_0x3bb8ef,_0x313076)=>{var _0xf9f69f=_0x36f566;const _0x38558a=new FileReader();_0x38558a['readAsDataURL'](_0x58003e),_0x38558a[_0xf9f69f(0x1b9)]=_0x1d4bc5=>{var _0x1e13af=_0xf9f69f,_0x418881;const _0x4d0cae=(_0x418881=_0x1d4bc5[_0x1e13af(0x2cf)])==null?void 0x0:_0x418881[_0x1e13af(0x1f6)];if(_0x4d0cae==null){this[_0x1e13af(0x2f7)](),_0x313076(new Error(_0xb2d43d[_0x1e13af(0x39c)]));return;}const _0x5e1e19=_0x3d565d(0x6);_0x3bb8ef({'imageId':_0x5e1e19,'imageSourceType':_0x2935a1[_0x1e13af(0x30c)],'source':_0x43419b,'base64Cache':_0x4d0cae,'status':_0xb2d43d[_0x1e13af(0x461)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x5e2b4e=_0x46936e,_0x5843f5;const _0x8921=this['_configService'][_0x5e2b4e(0x3f6)](K);return(_0x5843f5=_0x8921==null?void 0x0:_0x8921[_0x5e2b4e(0x41f)])!=null?_0x5843f5:Kn;}['_getSignURL'](){var _0x3c384b=_0x46936e,_0x39c699;const _0x5442ea=this[_0x3c384b(0x2bf)][_0x3c384b(0x3f6)](K);return(_0x39c699=_0x5442ea==null?void 0x0:_0x5442ea[_0x3c384b(0x2f3)])!=null?_0x39c699:qn;}[_0x46936e(0x1ff)](){var _0x11a7eb=_0x46936e,_0x278a5c;const _0x334f1e=this[_0x11a7eb(0x2bf)][_0x11a7eb(0x3f6)](K);return(_0x278a5c=_0x334f1e==null?void 0x0:_0x334f1e[_0x11a7eb(0x279)])!=null?_0x278a5c:location['origin'];}['_replaceFileID'](_0x2e6eaa,_0x284b2f){var _0x211550=_0x46936e;return _0x2e6eaa['replace'](_0x211550(0x237),_0x284b2f);}['_decreaseWaiting'](){var _0x840051=_0x46936e;this[_0x840051(0x260)]-=0x1,this[_0x840051(0x2c8)]['next'](this['_waitCount']);}};Rt=Wn([pt(0x0,_0x27e9d5(_0x421754)),pt(0x1,_0x446d9d),pt(0x2,_0x27e9d5(_0x3b6ba3))],Rt);var zn=Object['getOwnPropertyDescriptor'],Jn=(_0x1e187a,_0x17fca6,_0x5b0edd,_0x24ff8b)=>{var _0x52294c=_0x46936e;for(var _0x369a70=_0x24ff8b>0x1?void 0x0:_0x24ff8b?zn(_0x17fca6,_0x5b0edd):_0x17fca6,_0x2ae12d=_0x1e187a[_0x52294c(0x303)]-0x1,_0x19741e;_0x2ae12d>=0x0;_0x2ae12d--)(_0x19741e=_0x1e187a[_0x2ae12d])&&(_0x369a70=_0x19741e(_0x369a70)||_0x369a70);return _0x369a70;},ai=(_0xfcfc82,_0x1449e4)=>(_0x350ceb,_0x42b8c2)=>_0x1449e4(_0x350ceb,_0x42b8c2,_0xfcfc82);const Xn=_0x46936e(0x420);let Ot=class{constructor(_0x255bfe,_0x54d3dc){var _0x2354a6=_0x46936e;this[_0x2354a6(0x2bf)]=_0x255bfe,this['_HTTPService']=_0x54d3dc;}[_0x46936e(0x31f)](){var _0x466484=_0x46936e,_0x15543b;const _0x1ee58d=this[_0x466484(0x2bf)][_0x466484(0x3f6)](K);return(_0x15543b=_0x1ee58d==null?void 0x0:_0x1ee58d[_0x466484(0x1b0)])!=null?_0x15543b:Xn;}async['list'](_0x4178a5){var _0x4f21b3=_0x46936e;const _0x3fa72a=this[_0x4f21b3(0x31f)]()+_0x4f21b3(0x267);return{'list':[{'title':'People','mentions':(await this[_0x4f21b3(0x1c1)][_0x4f21b3(0x2c6)](_0x3fa72a,{'params':{'objectID':_0x4178a5[_0x4f21b3(0x423)],'unitID':_0x4178a5[_0x4f21b3(0x423)]}}))[_0x4f21b3(0x24d)][_0x4f21b3(0x27d)][_0x4f21b3(0x1f1)](_0x1e1534=>({'objectId':_0x1e1534['id'],'name':_0x1e1534[_0x4f21b3(0x3e6)][_0x4f21b3(0x3fc)],'metadata':{'icon':_0x1e1534[_0x4f21b3(0x3e6)][_0x4f21b3(0x3f7)]},'label':_0x1e1534[_0x4f21b3(0x3e6)]['name'],'objectType':_0x404abb[_0x4f21b3(0x1a8)]})),'metadata':{},'type':_0x404abb[_0x4f21b3(0x1a8)]}]};}};Ot=Jn([ai(0x0,_0x27e9d5(_0x446d9d)),ai(0x1,_0x27e9d5(_0x421754))],Ot);var Zn=Object[_0x46936e(0x2c3)],Qn=(_0x4225be,_0x490d4e,_0x3a746c,_0xee6d41)=>{var _0x233e7a=_0x46936e;for(var _0x1e8ba8=_0xee6d41>0x1?void 0x0:_0xee6d41?Zn(_0x490d4e,_0x3a746c):_0x490d4e,_0x16084a=_0x4225be[_0x233e7a(0x303)]-0x1,_0x4d6ec3;_0x16084a>=0x0;_0x16084a--)(_0x4d6ec3=_0x4225be[_0x16084a])&&(_0x1e8ba8=_0x4d6ec3(_0x1e8ba8)||_0x1e8ba8);return _0x1e8ba8;},Ue=(_0xafd8ec,_0xf73f)=>(_0x249550,_0xb6c003)=>_0xf73f(_0x249550,_0xb6c003,_0xafd8ec);let ot=class extends _0x15d826{constructor(_0x29e28f,_0xb95af7,_0x27d61b,_0x17376f,_0x856bb4){var _0x33d1ac=_0x46936e;super(),this['_injector']=_0x29e28f,this['_univerInstanceService']=_0xb95af7,this[_0x33d1ac(0x426)]=_0x27d61b,this[_0x33d1ac(0x40a)]=_0x17376f,this[_0x33d1ac(0x479)]=_0x856bb4,this[_0x33d1ac(0x29b)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x22f3b0=_0x46936e;const _0x4e4baa=async _0x226ae0=>{var _0x17f16e=_0x1209;(await this[_0x17f16e(0x40a)][_0x17f16e(0x46c)](_0x226ae0))[_0x17f16e(0x40b)][_0x17f16e(0x2b1)](_0xd13671(_0xd338e9=>_0xd338e9[_0x17f16e(0x2b4)]===_0x5d6c64['SHOULD_CLOSE_CONN']),_0x3b92c3(this[_0x17f16e(0x361)]))[_0x17f16e(0x2e5)](_0x4441fc=>{var _0x385af7=_0x17f16e;const _0xd78fe=_0x4441fc,{reason:_0x4962f3}=_0xd78fe[_0x385af7(0x32e)];this[_0x385af7(0x479)][_0x385af7(0x283)]({'id':ne[_0x385af7(0x478)],'data':_0x4962f3}),this[_0x385af7(0x426)][_0x385af7(0x44d)](new _0x2434c5(_0x226ae0)['id'],!0x1),this[_0x385af7(0x40a)][_0x385af7(0x424)](_0x226ae0);});};_0x48987d(this[_0x22f3b0(0x43b)]['getTypeOfUnitAdded$'](_0x4c148b['UNIVER_SHEET']),this[_0x22f3b0(0x43b)]['getTypeOfUnitAdded$'](_0x4c148b[_0x22f3b0(0x34a)]))[_0x22f3b0(0x2b1)](_0x20f9ca(_0x2a7e29=>_0x2a7e29[_0x22f3b0(0x28b)]()),_0xd13671(_0x223f48=>!_0x283877(_0x223f48)),_0x3b92c3(this['dispose$']))['subscribe'](_0x5c64a6=>{_0x4e4baa(_0x5c64a6);});}['_initUnitPermissionChange'](){var _0x1babcf=_0x46936e;const _0x26d33b=async _0x5e5c97=>{var _0xebe4a=_0x1209;const _0x219e59=await this[_0xebe4a(0x40a)]['requireSession'](_0x5e5c97),_0xb820cd=this[_0xebe4a(0x448)][_0xebe4a(0x2c6)](_0x408722);_0x219e59[_0xebe4a(0x40b)][_0xebe4a(0x2b1)](_0xd13671(_0x14c87f=>_0x14c87f[_0xebe4a(0x2b4)]===_0x5d6c64[_0xebe4a(0x311)]),_0x3b92c3(this[_0xebe4a(0x361)]))['subscribe'](_0x2ea339=>{var _0x24fbdb=_0xebe4a;const _0x2147de=_0x2ea339,{objectId:_0x2df906}=_0x2147de['data'];_0x2df906===_0x5e5c97?_0xb820cd['initWorkbookPermissionChange'](_0x5e5c97):_0xb820cd[_0x24fbdb(0x2a2)](_0x5e5c97,_0x2df906);});};_0x48987d(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4c148b['UNIVER_SHEET']))[_0x1babcf(0x2b1)](_0x20f9ca(_0x1449c7=>_0x1449c7[_0x1babcf(0x28b)]()),_0xd13671(_0xe2b5d=>!_0x283877(_0xe2b5d)),_0x3b92c3(this[_0x1babcf(0x361)]))[_0x1babcf(0x2e5)](_0x30333a=>{_0x26d33b(_0x30333a);});}};ot=Qn([Ue(0x0,_0x27e9d5(_0x494ce2)),Ue(0x1,_0x3b6ba3),Ue(0x2,_0x4e46fc),Ue(0x3,_0x27e9d5(Pe)),Ue(0x4,_0x27e9d5(ve))],ot);var er=Object[_0x46936e(0x2c3)],tr=(_0x19ba77,_0x595ebe,_0x23effe,_0x30e234)=>{var _0x2395f1=_0x46936e;for(var _0x1c1971=_0x30e234>0x1?void 0x0:_0x30e234?er(_0x595ebe,_0x23effe):_0x595ebe,_0x4de47c=_0x19ba77[_0x2395f1(0x303)]-0x1,_0x80463;_0x4de47c>=0x0;_0x4de47c--)(_0x80463=_0x19ba77[_0x4de47c])&&(_0x1c1971=_0x80463(_0x1c1971)||_0x1c1971);return _0x1c1971;},oi=(_0x549c10,_0x134c82)=>(_0x4deddb,_0x5335df)=>_0x134c82(_0x4deddb,_0x5335df,_0x549c10);let bt=class{constructor(_0x556e78,_0x5dca00){var _0xcffe1e=_0x46936e;this[_0xcffe1e(0x2bf)]=_0x556e78,this[_0xcffe1e(0x1ea)]=_0x5dca00;}async[_0x46936e(0x31b)](_0x44e3e7,_0x37fbfc){var _0x5493c5=_0x46936e,_0x5a7233;const {unitID:_0x3bd861,type:_0x13077c,revision:_0xa68d8f=0x0}=_0x37fbfc,_0xdaca=this[_0x5493c5(0x266)]()+'/'+_0x13077c+'/unit/'+_0x3bd861+_0x5493c5(0x442)+_0xa68d8f,_0x571812=(await this[_0x5493c5(0x1ea)][_0x5493c5(0x2c6)](_0xdaca))['body'],_0x364f7f=(_0x5a7233=_0x571812['snapshot'])==null?void 0x0:_0x5a7233['workbook'];if(_0x364f7f){const _0x8c8c39=_0x364f7f==null?void 0x0:_0x364f7f['originalMeta'],_0x54de3d=_0x241deb[_0x5493c5(0x21e)](_0x270b1b(_0x8c8c39));_0x364f7f[_0x5493c5(0x42f)]=_0x54de3d,Object['entries'](_0x364f7f['sheets'])[_0x5493c5(0x3cc)](([,_0x399274])=>{var _0x1740e8=_0x5493c5;const _0x3c517=_0x399274[_0x1740e8(0x42f)],_0x2e3ed0=_0x241deb[_0x1740e8(0x21e)](_0x270b1b(_0x3c517));_0x399274[_0x1740e8(0x42f)]=_0x2e3ed0;});}return _0x571812;}async[_0x46936e(0x47b)](_0x3dec88,_0x528f76){var _0x5eae78=_0x46936e;const {unitID:_0x21bbab,type:_0xd9312f,blockID:_0x575116}=_0x528f76,_0x576c4d=this[_0x5eae78(0x1ae)]()+'/'+_0xd9312f+_0x5eae78(0x2a4)+_0x21bbab+'/block/'+_0x575116;return(await this[_0x5eae78(0x1ea)][_0x5eae78(0x2c6)](_0x576c4d))[_0x5eae78(0x24d)];}async[_0x46936e(0x2a0)](_0x18805a,_0x303214){var _0x392832=_0x46936e;const {unitID:_0x58cc6f,type:_0x1b14fa,blockID:_0x2060ad}=_0x303214,_0x2826ec=this[_0x392832(0x1ae)]()+_0x392832(0x3ed)+_0x1b14fa+_0x392832(0x2a4)+_0x58cc6f+_0x392832(0x3ed)+_0x2060ad;return(await this[_0x392832(0x1ea)]['get'](_0x2826ec))[_0x392832(0x24d)];}async['fetchMissingChangesets'](_0x19a2f0,_0x144064){var _0x1499f1=_0x46936e;const {unitID:_0xc2af49,type:_0x214b9c,from:_0x478fa8,to:_0x828f43}=_0x144064,_0x3201e2=this['_getAPIPrefix']()+'/'+_0x214b9c+_0x1499f1(0x2a4)+_0xc2af49+_0x1499f1(0x25e)+_0x478fa8+_0x1499f1(0x390)+_0x828f43;return(await this[_0x1499f1(0x1ea)][_0x1499f1(0x2c6)](_0x3201e2))[_0x1499f1(0x24d)];}[_0x46936e(0x266)](){var _0x442f61=_0x46936e,_0x3c1a9a;return(_0x3c1a9a=this[_0x442f61(0x2bf)][_0x442f61(0x3f6)](vs))!=null?_0x3c1a9a:this[_0x442f61(0x1ae)]();}[_0x46936e(0x1ae)](){var _0x607010=_0x46936e,_0x30fbbd;const _0x22e875=this[_0x607010(0x2bf)]['getConfig'](K);return(_0x30fbbd=_0x22e875==null?void 0x0:_0x22e875[_0x607010(0x48f)])!=null?_0x30fbbd:fs;}async[_0x46936e(0x48a)](_0x24e7cf,_0x81dd5a){var _0x37a13f=_0x46936e;const _0x4f3e18='/universer-api/snapshot/'+_0x81dd5a[_0x37a13f(0x32d)]+_0x37a13f(0x2a4)+_0x81dd5a['unitID']+_0x37a13f(0x3df);return(await this[_0x37a13f(0x1ea)]['get'](_0x4f3e18,{'params':{'resourceId':JSON[_0x37a13f(0x27f)](_0x81dd5a['resourceIDs'])}}))[_0x37a13f(0x24d)];}[_0x46936e(0x418)](){var _0xcf650d=_0x46936e;throw new Error(_0xcf650d(0x44a));}['updateSnapshot'](){var _0x4719e6=_0x46936e;throw new Error(_0x4719e6(0x44a));}[_0x46936e(0x3fd)](){var _0x11d58c=_0x46936e;throw new Error(_0x11d58c(0x44a));}[_0x46936e(0x207)](){var _0x6914d7=_0x46936e;throw new Error(_0x6914d7(0x44a));}['copyFileMeta'](){var _0x3c3da3=_0x46936e;throw new Error(_0x3c3da3(0x44a));}[_0x46936e(0x2d1)](){var _0x57c02e=_0x46936e;throw new Error(_0x57c02e(0x44a));}};bt=tr([oi(0x0,_0x446d9d),oi(0x1,_0x27e9d5(_0x421754))],bt);var ir=Object['getOwnPropertyDescriptor'],sr=(_0x526655,_0x49b0d2,_0x593543,_0x4f8d50)=>{var _0x3daa77=_0x46936e;for(var _0x3a42f2=_0x4f8d50>0x1?void 0x0:_0x4f8d50?ir(_0x49b0d2,_0x593543):_0x49b0d2,_0x579af8=_0x526655[_0x3daa77(0x303)]-0x1,_0x52e6e1;_0x579af8>=0x0;_0x579af8--)(_0x52e6e1=_0x526655[_0x579af8])&&(_0x3a42f2=_0x52e6e1(_0x3a42f2)||_0x3a42f2);return _0x3a42f2;},Ae=(_0x33b22,_0x420a22)=>(_0x50bc5f,_0x2b5af4)=>_0x420a22(_0x50bc5f,_0x2b5af4,_0x33b22);let yt=class extends _0xdc545d{constructor(_0x41ff6c,_0x254cd6,_0xf75449,_0x3e2d41,_0x305196){var _0x5e9d84=_0x46936e;super(_0x41ff6c,_0x254cd6,_0xf75449),this[_0x5e9d84(0x20f)]=_0x3e2d41,this['_logService']=_0x305196;}[_0x46936e(0x1bc)](_0xae3a80,_0x1d6d56){var _0x39fd8c=_0x46936e;const _0x2175f1=this[_0x39fd8c(0x467)](_0xae3a80);if(_0x2175f1)try{const _0x1985ed=this[_0x39fd8c(0x269)](_0x2175f1,_0x1d6d56);this[_0x39fd8c(0x27e)](_0xae3a80,_0x1985ed);}catch(_0x2ad0a7){this['_logService']['error']('[CollaborationUndoRedoService]',_0x2ad0a7),this['_clearUndo'](_0xae3a80);}const _0x3410cb=this[_0x39fd8c(0x35d)](_0xae3a80);if(_0x3410cb)try{const _0x5ec75a=this[_0x39fd8c(0x269)](_0x3410cb,_0x1d6d56);this[_0x39fd8c(0x309)](_0xae3a80,_0x5ec75a);}catch(_0x2a4433){this['_logService']['error'](_0x2a4433),this[_0x39fd8c(0x2ed)](_0xae3a80);}}['_clearUndo'](_0x298b1e){const _0x1ac311=this['_getUndoStack'](_0x298b1e);_0x1ac311&&(_0x1ac311['length']=0x0,this['_updateStatus']());}[_0x46936e(0x2ed)](_0x504641){var _0x4cc546=_0x46936e;const _0x55d458=this[_0x4cc546(0x35d)](_0x504641);_0x55d458&&(_0x55d458['length']=0x0,this[_0x4cc546(0x443)]());}[_0x46936e(0x27e)](_0x28461c,_0x1d6a58){var _0x18adff=_0x46936e;this[_0x18adff(0x3ff)]['set'](_0x28461c,_0x1d6a58),this[_0x18adff(0x443)]();}[_0x46936e(0x309)](_0x2a9561,_0x264bdf){var _0x5c85a5=_0x46936e;this[_0x5c85a5(0x328)][_0x5c85a5(0x21c)](_0x2a9561,_0x264bdf),this['_updateStatus']();}['_transformStack'](_0xbcb18b,_0x317fe0){var _0x2e8b20=_0x46936e;const _0x3f76dd=[];let _0xf6c82f=_0x317fe0,_0x1cf335=_0x317fe0;for(let _0x4493cc=_0xbcb18b[_0x2e8b20(0x303)]-0x1;_0x4493cc>=0x0;_0x4493cc--){const {unitID:_0x14fbc4,undoMutations:_0x7f12c8,redoMutations:_0x761bb6}=_0xbcb18b[_0x4493cc],_0x36a8ce=this[_0x2e8b20(0x20f)][_0x2e8b20(0x1c5)](_0xf6c82f,_0x7f12c8),_0x1ae91c=this['_transformService'][_0x2e8b20(0x1c5)](_0x1cf335,_0x761bb6);if(_0x18bfe9(_0x36a8ce)||_0x18bfe9(_0x1ae91c)){this[_0x2e8b20(0x1ce)][_0x2e8b20(0x337)](_0x2e8b20(0x37a),_0x2e8b20(0x23a),_0x36a8ce,_0x1ae91c);break;}_0xf6c82f=_0x36a8ce[_0x2e8b20(0x3f0)],_0x1cf335=_0x1ae91c[_0x2e8b20(0x3f0)],_0x3f76dd['push']({'unitID':_0x14fbc4,'undoMutations':_0x36a8ce[_0x2e8b20(0x30b)],'redoMutations':_0x1ae91c[_0x2e8b20(0x30b)]});}return _0x3f76dd[_0x2e8b20(0x2be)]();}};yt=sr([Ae(0x0,_0x3b6ba3),Ae(0x1,_0x4e232a),Ae(0x2,_0x2753c9),Ae(0x3,_0x50166a),Ae(0x4,_0xf70a07)],yt);var nr=Object[_0x46936e(0x45f)],rr=Object[_0x46936e(0x2c3)],ar=(_0x2cb762,_0x19a0f3,_0x119dc3)=>_0x19a0f3 in _0x2cb762?nr(_0x2cb762,_0x19a0f3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x119dc3}):_0x2cb762[_0x19a0f3]=_0x119dc3,or=(_0x226c49,_0x2450f2,_0x3c506d,_0x55ff79)=>{var _0x53c6ef=_0x46936e;for(var _0x1c3076=_0x55ff79>0x1?void 0x0:_0x55ff79?rr(_0x2450f2,_0x3c506d):_0x2450f2,_0x2338b0=_0x226c49[_0x53c6ef(0x303)]-0x1,_0x3198a8;_0x2338b0>=0x0;_0x2338b0--)(_0x3198a8=_0x226c49[_0x2338b0])&&(_0x1c3076=_0x3198a8(_0x1c3076)||_0x1c3076);return _0x1c3076;},mt=(_0x340375,_0x87041)=>(_0x608f18,_0x3e1d07)=>_0x87041(_0x608f18,_0x3e1d07,_0x340375),cr=(_0x2c991c,_0xbc6aec,_0x1c7f54)=>ar(_0x2c991c,_0xbc6aec+'',_0x1c7f54);const hr=_0x46936e(0x3e2);let Nt=class extends _0x1fbe76{constructor(_0x9addbf,_0x34e5b8,_0x40dcd8,_0x31dd29){var _0x42eff3=_0x46936e;super(),N(this,_0x42eff3(0x20d)),(this[_0x42eff3(0x1ce)]=_0x34e5b8,this[_0x42eff3(0x448)]=_0x40dcd8,this[_0x42eff3(0x2bf)]=_0x31dd29);const {..._0xac2609}=_0x56514b({},Os,_0x9addbf);if(!_0xac2609[_0x42eff3(0x3e8)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x42eff3(0x20d)]=_0xac2609,this[_0x42eff3(0x2bf)][_0x42eff3(0x25a)](K,_0xac2609);}['onStarting'](){var _0x48e87a=_0x46936e;this[_0x48e87a(0x292)](),this[_0x48e87a(0x2e3)]();}['_registerDependencies'](){var _0x2f61bd=_0x46936e,_0x3787e4,_0x2c4fa4;this['_injector'][_0x2f61bd(0x24c)](_0x578288)&&this['_logService'][_0x2f61bd(0x337)]('[UniverCollaborationClientPlugin]',_0x2f61bd(0x231));const _0x128a0c=_0x13c688([[_0x578288,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[gi],[ot],[ve],[Ct],[mi,{'useClass':this[_0x2f61bd(0x20d)][_0x2f61bd(0x3e8)]}],[_0x29cd15,{'useClass':bt}],[_0xeb52a3,{'useClass':Tt}],[_0x136255,{'useClass':Rt}],[_0x605439,{'useClass':Ot}],[nt],[It]],(_0x3787e4=this['_config'])==null?void 0x0:_0x3787e4[_0x2f61bd(0x1c9)]);if(!((_0x2c4fa4=this[_0x2f61bd(0x20d)])!=null&&_0x2c4fa4[_0x2f61bd(0x37b)])){const _0x3a606f=_0x128a0c[_0x2f61bd(0x39f)](([_0x595f3d])=>_0x595f3d===ht);_0x3a606f!==-0x1&&_0x128a0c['splice'](_0x3a606f,0x1);}_0x71606d(this[_0x2f61bd(0x448)],_0x128a0c);}[_0x46936e(0x2e3)](){var _0x263e59=_0x46936e,_0x2cf4df,_0x478391,_0x1c2f18;this['_injector']['get'](_0x421754)[_0x263e59(0x375)]({'priority':0x14,'interceptor':_0x22088c({'maxParallel':0x6})}),(_0x2cf4df=this['_config'])!=null&&_0x2cf4df[_0x263e59(0x1c6)]||(_0x478391=this[_0x263e59(0x448)][_0x263e59(0x2c6)](J,_0x46563a['OPTIONAL']))==null||_0x478391[_0x263e59(0x46a)](),(_0x1c2f18=this[_0x263e59(0x20d)])!=null&&_0x1c2f18[_0x263e59(0x2e8)]&&_0x1ae9ad(this[_0x263e59(0x448)],[[rt]]),_0x1ae9ad(this[_0x263e59(0x448)],[[at],[nt],[ot]]);}};cr(Nt,'pluginName',hr),Nt=or([_0x2b92a6(_0x4ffd7a,_0x2b6269),mt(0x1,_0xf70a07),mt(0x2,_0x27e9d5(_0x494ce2)),mt(0x3,_0x446d9d)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Ft as CollaborationSocketService,Ii as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,gi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,mi as ICollaborationSocketService,J as ILocalCacheService,bs as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Si as UnitStatus,Nt as UniverCollaborationClientPlugin,ys as deserializeToCombResponse,br as getLocalCacheKey,Ns as serializeCombRequest};
|